vue-data-ui 2.3.1 → 2.3.3

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.
@@ -232,7 +232,7 @@ endobj\r
232
232
  * http://opensource.org/licenses/mit-license
233
233
  */function oa(t,o){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!o,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function rf(t){function o(b){if(!b)throw Error("assert :P")}function a(b,T,Y){for(var $=0;4>$;$++)if(b[T+$]!=Y.charCodeAt($))return!0;return!1}function n(b,T,Y,$,S){for(var W=0;W<S;W++)b[T+W]=Y[$+W]}function r(b,T,Y,$){for(var S=0;S<$;S++)b[T+S]=Y}function l(b){return new Int32Array(b)}function s(b,T){for(var Y=[],$=0;$<b;$++)Y.push(new T);return Y}function u(b,T){var Y=[];return function $(S,W,oe){for(var te=oe[W],he=0;he<te&&(S.push(oe.length>W+1?[]:new T),!(oe.length<W+1));he++)$(S[he],W+1,oe)}(Y,0,b),Y}var h=function(){var b=this;function T(p,k){for(var L=1<<k-1>>>0;p&L;)L>>>=1;return L?(p&L-1)+L:p}function Y(p,k,L,R,ue){o(!(R%L));do p[k+(R-=L)]=ue;while(0<R)}function $(p,k,L,R,ue){if(o(2328>=ue),512>=ue)var pe=l(512);else if((pe=l(ue))==null)return 0;return function(ye,me,be,we,Ne,Ie){var $e,Le,He=me,Qe=1<<be,_e=l(16),Se=l(16);for(o(Ne!=0),o(we!=null),o(ye!=null),o(0<be),Le=0;Le<Ne;++Le){if(15<we[Le])return 0;++_e[we[Le]]}if(_e[0]==Ne)return 0;for(Se[1]=0,$e=1;15>$e;++$e){if(_e[$e]>1<<$e)return 0;Se[$e+1]=Se[$e]+_e[$e]}for(Le=0;Le<Ne;++Le)$e=we[Le],0<we[Le]&&(Ie[Se[$e]++]=Le);if(Se[15]==1)return(we=new S).g=0,we.value=Ie[0],Y(ye,He,1,Qe,we),Qe;var De,Re=-1,Pe=Qe-1,lt=0,Ze=1,gt=1,et=1<<be;for(Le=0,$e=1,Ne=2;$e<=be;++$e,Ne<<=1){if(Ze+=gt<<=1,0>(gt-=_e[$e]))return 0;for(;0<_e[$e];--_e[$e])(we=new S).g=$e,we.value=Ie[Le++],Y(ye,He+lt,Ne,et,we),lt=T(lt,$e)}for($e=be+1,Ne=2;15>=$e;++$e,Ne<<=1){if(Ze+=gt<<=1,0>(gt-=_e[$e]))return 0;for(;0<_e[$e];--_e[$e]){if(we=new S,(lt&Pe)!=Re){for(He+=et,De=1<<(Re=$e)-be;15>Re&&!(0>=(De-=_e[Re]));)++Re,De<<=1;Qe+=et=1<<(De=Re-be),ye[me+(Re=lt&Pe)].g=De+be,ye[me+Re].value=He-me-Re}we.g=$e-be,we.value=Ie[Le++],Y(ye,He+(lt>>be),Ne,et,we),lt=T(lt,$e)}}return Ze!=2*Se[15]-1?0:Qe}(p,k,L,R,ue,pe)}function S(){this.value=this.g=0}function W(){this.value=this.g=0}function oe(){this.G=s(5,S),this.H=l(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(vl,W)}function te(p,k,L,R){o(p!=null),o(k!=null),o(2147483648>R),p.Ca=254,p.I=0,p.b=-8,p.Ka=0,p.oa=k,p.pa=L,p.Jd=k,p.Yc=L+R,p.Zc=4<=R?L+R-4+1:L,ke(p)}function he(p,k){for(var L=0;0<k--;)L|=ge(p,128)<<k;return L}function le(p,k){var L=he(p,k);return ae(p)?-L:L}function H(p,k,L,R){var ue,pe=0;for(o(p!=null),o(k!=null),o(4294967288>R),p.Sb=R,p.Ra=0,p.u=0,p.h=0,4<R&&(R=4),ue=0;ue<R;++ue)pe+=k[L+ue]<<8*ue;p.Ra=pe,p.bb=R,p.oa=k,p.pa=L}function P(p){for(;8<=p.u&&p.bb<p.Sb;)p.Ra>>>=8,p.Ra+=p.oa[p.pa+p.bb]<<an-8>>>0,++p.bb,p.u-=8;x(p)&&(p.h=1,p.u=0)}function X(p,k){if(o(0<=k),!p.h&&k<=ln){var L=_(p)&on[k];return p.u+=k,P(p),L}return p.h=1,p.u=0}function q(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function m(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function _(p){return p.Ra>>>(p.u&an-1)>>>0}function x(p){return o(p.bb<=p.Sb),p.h||p.bb==p.Sb&&p.u>an}function V(p,k){p.u=k,p.h=x(p)}function J(p){p.u>=os&&(o(p.u>=os),P(p))}function ke(p){o(p!=null&&p.oa!=null),p.pa<p.Zc?(p.I=(p.oa[p.pa++]|p.I<<8)>>>0,p.b+=8):(o(p!=null&&p.oa!=null),p.pa<p.Yc?(p.b+=8,p.I=p.oa[p.pa++]|p.I<<8):p.Ka?p.b=0:(p.I<<=8,p.b+=8,p.Ka=1))}function ae(p){return he(p,1)}function ge(p,k){var L=p.Ca;0>p.b&&ke(p);var R=p.b,ue=L*k>>>8,pe=(p.I>>>R>ue)+0;for(pe?(L-=ue,p.I-=ue+1<<R>>>0):L=ue+1,R=L,ue=0;256<=R;)ue+=8,R>>=8;return R=7^ue+gl[R],p.b-=R,p.Ca=(L<<R)-1,pe}function Z(p,k,L){p[k+0]=L>>24&255,p[k+1]=L>>16&255,p[k+2]=L>>8&255,p[k+3]=L>>0&255}function ee(p,k){return p[k+0]<<0|p[k+1]<<8}function z(p,k){return ee(p,k)|p[k+2]<<16}function D(p,k){return ee(p,k)|ee(p,k+2)<<16}function fe(p,k){var L=1<<k;return o(p!=null),o(0<k),p.X=l(L),p.X==null?0:(p.Mb=32-k,p.Xa=k,1)}function M(p,k){o(p!=null),o(k!=null),o(p.Xa==k.Xa),n(k.X,0,p.X,0,1<<k.Xa)}function N(){this.X=[],this.Xa=this.Mb=0}function j(p,k,L,R){o(L!=null),o(R!=null);var ue=L[0],pe=R[0];return ue==0&&(ue=(p*pe+k/2)/k),pe==0&&(pe=(k*ue+p/2)/p),0>=ue||0>=pe?0:(L[0]=ue,R[0]=pe,1)}function O(p,k){return p+(1<<k)-1>>>k}function ce(p,k){return((4278255360&p)+(4278255360&k)>>>0&4278255360)+((16711935&p)+(16711935&k)>>>0&16711935)>>>0}function re(p,k){b[k]=function(L,R,ue,pe,ye,me,be){var we;for(we=0;we<ye;++we){var Ne=b[p](me[be+we-1],ue,pe+we);me[be+we]=ce(L[R+we],Ne)}}}function ie(){this.ud=this.hd=this.jd=0}function G(p,k){return((4278124286&(p^k))>>>1)+(p&k)>>>0}function ne(p){return 0<=p&&256>p?p:0>p?0:255<p?255:void 0}function Ae(p,k){return ne(p+(p-k+.5>>1))}function se(p,k,L){return Math.abs(k-L)-Math.abs(p-L)}function ve(p,k,L,R,ue,pe,ye){for(R=pe[ye-1],L=0;L<ue;++L)pe[ye+L]=R=ce(p[k+L],R)}function Ce(p,k,L,R,ue){var pe;for(pe=0;pe<L;++pe){var ye=p[k+pe],me=ye>>8&255,be=16711935&(be=(be=16711935&ye)+((me<<16)+me));R[ue+pe]=(4278255360&ye)+be>>>0}}function Ue(p,k){k.jd=p>>0&255,k.hd=p>>8&255,k.ud=p>>16&255}function Ve(p,k,L,R,ue,pe){var ye;for(ye=0;ye<R;++ye){var me=k[L+ye],be=me>>>8,we=me,Ne=255&(Ne=(Ne=me>>>16)+((p.jd<<24>>24)*(be<<24>>24)>>>5));we=255&(we=(we=we+((p.hd<<24>>24)*(be<<24>>24)>>>5))+((p.ud<<24>>24)*(Ne<<24>>24)>>>5)),ue[pe+ye]=(4278255360&me)+(Ne<<16)+we}}function Ye(p,k,L,R,ue){b[k]=function(pe,ye,me,be,we,Ne,Ie,$e,Le){for(be=Ie;be<$e;++be)for(Ie=0;Ie<Le;++Ie)we[Ne++]=ue(me[R(pe[ye++])])},b[p]=function(pe,ye,me,be,we,Ne,Ie){var $e=8>>pe.b,Le=pe.Ea,He=pe.K[0],Qe=pe.w;if(8>$e)for(pe=(1<<pe.b)-1,Qe=(1<<$e)-1;ye<me;++ye){var _e,Se=0;for(_e=0;_e<Le;++_e)_e&pe||(Se=R(be[we++])),Ne[Ie++]=ue(He[Se&Qe]),Se>>=$e}else b["VP8LMapColor"+L](be,we,He,Qe,Ne,Ie,ye,me,Le)}}function ze(p,k,L,R,ue){for(L=k+L;k<L;){var pe=p[k++];R[ue++]=pe>>16&255,R[ue++]=pe>>8&255,R[ue++]=pe>>0&255}}function It(p,k,L,R,ue){for(L=k+L;k<L;){var pe=p[k++];R[ue++]=pe>>16&255,R[ue++]=pe>>8&255,R[ue++]=pe>>0&255,R[ue++]=pe>>24&255}}function kt(p,k,L,R,ue){for(L=k+L;k<L;){var pe=(ye=p[k++])>>16&240|ye>>12&15,ye=ye>>0&240|ye>>28&15;R[ue++]=pe,R[ue++]=ye}}function jo(p,k,L,R,ue){for(L=k+L;k<L;){var pe=(ye=p[k++])>>16&248|ye>>13&7,ye=ye>>5&224|ye>>3&31;R[ue++]=pe,R[ue++]=ye}}function St(p,k,L,R,ue){for(L=k+L;k<L;){var pe=p[k++];R[ue++]=pe>>0&255,R[ue++]=pe>>8&255,R[ue++]=pe>>16&255}}function Dt(p,k,L,R,ue,pe){if(pe==0)for(L=k+L;k<L;)Z(R,((pe=p[k++])[0]>>24|pe[1]>>8&65280|pe[2]<<8&16711680|pe[3]<<24)>>>0),ue+=32;else n(R,ue,p,k,L)}function Al(p,k){b[k][0]=b[p+"0"],b[k][1]=b[p+"1"],b[k][2]=b[p+"2"],b[k][3]=b[p+"3"],b[k][4]=b[p+"4"],b[k][5]=b[p+"5"],b[k][6]=b[p+"6"],b[k][7]=b[p+"7"],b[k][8]=b[p+"8"],b[k][9]=b[p+"9"],b[k][10]=b[p+"10"],b[k][11]=b[p+"11"],b[k][12]=b[p+"12"],b[k][13]=b[p+"13"],b[k][14]=b[p+"0"],b[k][15]=b[p+"0"]}function Ut(p){return p==vA||p==gA||p==pi||p==pA}function xe(){this.eb=[],this.size=this.A=this.fb=0}function Oe(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function qe(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new xe,this.f.kb=new Oe,this.sd=null}function mt(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function dt(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function nt(p){return alert("todo:WebPSamplerProcessPlane"),p.T}function rt(p,k){var L=p.T,R=k.ba.f.RGBA,ue=R.eb,pe=R.fb+p.ka*R.A,ye=Vl[k.ba.S],me=p.y,be=p.O,we=p.f,Ne=p.N,Ie=p.ea,$e=p.W,Le=k.cc,He=k.dc,Qe=k.Mc,_e=k.Nc,Se=p.ka,De=p.ka+p.T,Re=p.U,Pe=Re+1>>1;for(Se==0?ye(me,be,null,null,we,Ne,Ie,$e,we,Ne,Ie,$e,ue,pe,null,null,Re):(ye(k.ec,k.fc,me,be,Le,He,Qe,_e,we,Ne,Ie,$e,ue,pe-R.A,ue,pe,Re),++L);Se+2<De;Se+=2)Le=we,He=Ne,Qe=Ie,_e=$e,Ne+=p.Rc,$e+=p.Rc,pe+=2*R.A,ye(me,(be+=2*p.fa)-p.fa,me,be,Le,He,Qe,_e,we,Ne,Ie,$e,ue,pe-R.A,ue,pe,Re);return be+=p.fa,p.j+De<p.o?(n(k.ec,k.fc,me,be,Re),n(k.cc,k.dc,we,Ne,Pe),n(k.Mc,k.Nc,Ie,$e,Pe),L--):1&De||ye(me,be,null,null,we,Ne,Ie,$e,we,Ne,Ie,$e,ue,pe+R.A,null,null,Re),L}function qt(p,k,L){var R=p.F,ue=[p.J];if(R!=null){var pe=p.U,ye=k.ba.S,me=ye==gi||ye==pi;k=k.ba.f.RGBA;var be=[0],we=p.ka;be[0]=p.T,p.Kb&&(we==0?--be[0]:(--we,ue[0]-=p.width),p.j+p.ka+p.T==p.o&&(be[0]=p.o-p.j-we));var Ne=k.eb;we=k.fb+we*k.A,p=ci(R,ue[0],p.width,pe,be,Ne,we+(me?0:3),k.A),o(L==be),p&&Ut(ye)&&qa(Ne,we,me,pe,be,k.A)}return 0}function Vt(p){var k=p.ma,L=k.ba.S,R=11>L,ue=L==fi||L==vi||L==gi||L==fA||L==12||Ut(L);if(k.memory=null,k.Ib=null,k.Jb=null,k.Nd=null,!es(k.Oa,p,ue?11:12))return 0;if(ue&&Ut(L)&&je(),p.da)alert("todo:use_scaling");else{if(R){if(k.Ib=nt,p.Kb){if(L=p.U+1>>1,k.memory=l(p.U+2*L),k.memory==null)return 0;k.ec=k.memory,k.fc=0,k.cc=k.ec,k.dc=k.fc+p.U,k.Mc=k.cc,k.Nc=k.dc+L,k.Ib=rt,je()}}else alert("todo:EmitYUV");ue&&(k.Jb=qt,R&&Ee())}if(R&&!Bd){for(p=0;256>p;++p)u1[p]=89858*(p-128)+mi>>yi,d1[p]=-22014*(p-128)+mi,c1[p]=-45773*(p-128),A1[p]=113618*(p-128)+mi>>yi;for(p=is;p<bA;++p)k=76283*(p-16)+mi>>yi,h1[p-is]=Bl(k,255),f1[p-is]=Bl(k+8>>4,15);Bd=1}return 1}function Xo(p){var k=p.ma,L=p.U,R=p.T;return o(!(1&p.ka)),0>=L||0>=R?0:(L=k.Ib(p,k),k.Jb!=null&&k.Jb(p,k,L),k.Dc+=L,1)}function go(p){p.ma.memory=null}function ut(p,k,L,R){return X(p,8)!=47?0:(k[0]=X(p,14)+1,L[0]=X(p,14)+1,R[0]=X(p,1),X(p,3)!=0?0:!p.h)}function Ht(p,k){if(4>p)return p+1;var L=p-2>>1;return(2+(1&p)<<L)+X(k,L)+1}function el(p,k){return 120<k?k-120:1<=(L=((L=Xg[k-1])>>4)*p+(8-(15&L)))?L:1;var L}function $o(p,k,L){var R=_(L),ue=p[k+=255&R].g-8;return 0<ue&&(V(L,L.u+8),R=_(L),k+=p[k].value,k+=R&(1<<ue)-1),V(L,L.u+p[k].g),p[k].value}function ho(p,k,L){return L.g+=p.g,L.value+=p.value<<k>>>0,o(8>=L.g),p.g}function mo(p,k,L){var R=p.xc;return o((k=R==0?0:p.vc[p.md*(L>>R)+(k>>R)])<p.Wb),p.Ya[k]}function wl(p,k,L,R){var ue=p.ab,pe=p.c*k,ye=p.C;k=ye+k;var me=L,be=R;for(R=p.Ta,L=p.Ua;0<ue--;){var we=p.gc[ue],Ne=ye,Ie=k,$e=me,Le=be,He=(be=R,me=L,we.Ea);switch(o(Ne<Ie),o(Ie<=we.nc),we.hc){case 2:Ai($e,Le,(Ie-Ne)*He,be,me);break;case 0:var Qe=Ne,_e=Ie,Se=be,De=me,Re=(et=we).Ea;Qe==0&&(AA($e,Le,null,null,1,Se,De),ve($e,Le+1,0,0,Re-1,Se,De+1),Le+=Re,De+=Re,++Qe);for(var Pe=1<<et.b,lt=Pe-1,Ze=O(Re,et.b),gt=et.K,et=et.w+(Qe>>et.b)*Ze;Qe<_e;){var Rt=gt,Yt=et,Ot=1;for(ls($e,Le,Se,De-Re,1,Se,De);Ot<Re;){var $t=(Ot&~lt)+Pe;$t>Re&&($t=Re),(0,Wa[Rt[Yt++]>>8&15])($e,Le+ +Ot,Se,De+Ot-Re,$t-Ot,Se,De+Ot),Ot=$t}Le+=Re,De+=Re,++Qe&lt||(et+=Ze)}Ie!=we.nc&&n(be,me-He,be,me+(Ie-Ne-1)*He,He);break;case 1:for(He=$e,_e=Le,Re=($e=we.Ea)-(De=$e&~(Se=(Le=1<<we.b)-1)),Qe=O($e,we.b),Pe=we.K,we=we.w+(Ne>>we.b)*Qe;Ne<Ie;){for(lt=Pe,Ze=we,gt=new ie,et=_e+De,Rt=_e+$e;_e<et;)Ue(lt[Ze++],gt),$l(gt,He,_e,Le,be,me),_e+=Le,me+=Le;_e<Rt&&(Ue(lt[Ze++],gt),$l(gt,He,_e,Re,be,me),_e+=Re,me+=Re),++Ne&Se||(we+=Qe)}break;case 3:if($e==be&&Le==me&&0<we.b){for(_e=be,$e=He=me+(Ie-Ne)*He-(De=(Ie-Ne)*O(we.Ea,we.b)),Le=be,Se=me,Qe=[],De=(Re=De)-1;0<=De;--De)Qe[De]=Le[Se+De];for(De=Re-1;0<=De;--De)_e[$e+De]=Qe[De];Xl(we,Ne,Ie,be,He,be,me)}else Xl(we,Ne,Ie,$e,Le,be,me)}me=R,be=L}be!=L&&n(R,L,me,be,pe)}function Or(p,k){var L=p.V,R=p.Ba+p.c*p.C,ue=k-p.C;if(o(k<=p.l.o),o(16>=ue),0<ue){var pe=p.l,ye=p.Ta,me=p.Ua,be=pe.width;if(wl(p,ue,L,R),ue=me=[me],o((L=p.C)<(R=k)),o(pe.v<pe.va),R>pe.o&&(R=pe.o),L<pe.j){var we=pe.j-L;L=pe.j,ue[0]+=we*be}if(L>=R?L=0:(ue[0]+=4*pe.v,pe.ka=L-pe.j,pe.U=pe.va-pe.v,pe.T=R-L,L=1),L){if(me=me[0],11>(L=p.ca).S){var Ne=L.f.RGBA,Ie=(R=L.S,ue=pe.U,pe=pe.T,we=Ne.eb,Ne.A),$e=pe;for(Ne=Ne.fb+p.Ma*Ne.A;0<$e--;){var Le=ye,He=me,Qe=ue,_e=we,Se=Ne;switch(R){case hi:ql(Le,He,Qe,_e,Se);break;case fi:Ka(Le,He,Qe,_e,Se);break;case vA:Ka(Le,He,Qe,_e,Se),qa(_e,Se,0,Qe,1,0);break;case fd:rn(Le,He,Qe,_e,Se);break;case vi:Dt(Le,He,Qe,_e,Se,1);break;case gA:Dt(Le,He,Qe,_e,Se,1),qa(_e,Se,0,Qe,1,0);break;case gi:Dt(Le,He,Qe,_e,Se,0);break;case pi:Dt(Le,He,Qe,_e,Se,0),qa(_e,Se,1,Qe,1,0);break;case fA:fa(Le,He,Qe,_e,Se);break;case pA:fa(Le,He,Qe,_e,Se),un(_e,Se,Qe,1,0);break;case vd:_a(Le,He,Qe,_e,Se);break;default:o(0)}me+=be,Ne+=Ie}p.Ma+=pe}else alert("todo:EmitRescaledRowsYUVA");o(p.Ma<=L.height)}}p.C=k,o(p.C<=p.i)}function Ba(p){var k;if(0<p.ua)return 0;for(k=0;k<p.Wb;++k){var L=p.Ya[k].G,R=p.Ya[k].H;if(0<L[1][R[1]+0].g||0<L[2][R[2]+0].g||0<L[3][R[3]+0].g)return 0}return 1}function Hl(p,k,L,R,ue,pe){if(p.Z!=0){var ye=p.qd,me=p.rd;for(o(Ja[p.Z]!=null);k<L;++k)Ja[p.Z](ye,me,R,ue,R,ue,pe),ye=R,me=ue,ue+=pe;p.qd=ye,p.rd=me}}function Rl(p,k){var L=p.l.ma,R=L.Z==0||L.Z==1?p.l.j:p.C;if(R=p.C<R?R:p.C,o(k<=p.l.o),k>R){var ue=p.l.width,pe=L.ca,ye=L.tb+ue*R,me=p.V,be=p.Ba+p.c*R,we=p.gc;o(p.ab==1),o(we[0].hc==3),cA(we[0],R,k,me,be,pe,ye),Hl(L,R,k,pe,ye,ue)}p.C=p.Ma=k}function Gl(p,k,L,R,ue,pe,ye){var me=p.$/R,be=p.$%R,we=p.m,Ne=p.s,Ie=L+p.$,$e=Ie;ue=L+R*ue;var Le=L+R*pe,He=280+Ne.ua,Qe=p.Pb?me:16777216,_e=0<Ne.ua?Ne.Wa:null,Se=Ne.wc,De=Ie<Le?mo(Ne,be,me):null;o(p.C<pe),o(Le<=ue);var Re=!1;e:for(;;){for(;Re||Ie<Le;){var Pe=0;if(me>=Qe){var lt=Ie-L;o((Qe=p).Pb),Qe.wd=Qe.m,Qe.xd=lt,0<Qe.s.ua&&M(Qe.s.Wa,Qe.s.vb),Qe=me+Yg}if(be&Se||(De=mo(Ne,be,me)),o(De!=null),De.Qb&&(k[Ie]=De.qb,Re=!0),!Re)if(J(we),De.jc){Pe=we,lt=k;var Ze=Ie,gt=De.pd[_(Pe)&vl-1];o(De.jc),256>gt.g?(V(Pe,Pe.u+gt.g),lt[Ze]=gt.value,Pe=0):(V(Pe,Pe.u+gt.g-256),o(256<=gt.value),Pe=gt.value),Pe==0&&(Re=!0)}else Pe=$o(De.G[0],De.H[0],we);if(we.h)break;if(Re||256>Pe){if(!Re)if(De.nd)k[Ie]=(De.qb|Pe<<8)>>>0;else{if(J(we),Re=$o(De.G[1],De.H[1],we),J(we),lt=$o(De.G[2],De.H[2],we),Ze=$o(De.G[3],De.H[3],we),we.h)break;k[Ie]=(Ze<<24|Re<<16|Pe<<8|lt)>>>0}if(Re=!1,++Ie,++be>=R&&(be=0,++me,ye!=null&&me<=pe&&!(me%16)&&ye(p,me),_e!=null))for(;$e<Ie;)Pe=k[$e++],_e.X[(506832829*Pe&4294967295)>>>_e.Mb]=Pe}else if(280>Pe){if(Pe=Ht(Pe-256,we),lt=$o(De.G[4],De.H[4],we),J(we),lt=el(R,lt=Ht(lt,we)),we.h)break;if(Ie-L<lt||ue-Ie<Pe)break e;for(Ze=0;Ze<Pe;++Ze)k[Ie+Ze]=k[Ie+Ze-lt];for(Ie+=Pe,be+=Pe;be>=R;)be-=R,++me,ye!=null&&me<=pe&&!(me%16)&&ye(p,me);if(o(Ie<=ue),be&Se&&(De=mo(Ne,be,me)),_e!=null)for(;$e<Ie;)Pe=k[$e++],_e.X[(506832829*Pe&4294967295)>>>_e.Mb]=Pe}else{if(!(Pe<He))break e;for(Re=Pe-280,o(_e!=null);$e<Ie;)Pe=k[$e++],_e.X[(506832829*Pe&4294967295)>>>_e.Mb]=Pe;Pe=Ie,o(!(Re>>>(lt=_e).Xa)),k[Pe]=lt.X[Re],Re=!0}Re||o(we.h==x(we))}if(p.Pb&&we.h&&Ie<ue)o(p.m.h),p.a=5,p.m=p.wd,p.$=p.xd,0<p.s.ua&&M(p.s.vb,p.s.Wa);else{if(we.h)break e;ye!=null&&ye(p,me>pe?pe:me),p.a=0,p.$=Ie-L}return 1}return p.a=3,0}function ca(p){o(p!=null),p.vc=null,p.yc=null,p.Ya=null;var k=p.Wa;k!=null&&(k.X=null),p.vb=null,o(p!=null)}function Il(){var p=new uA;return p==null?null:(p.a=0,p.xb=yd,Al("Predictor","VP8LPredictors"),Al("Predictor","VP8LPredictors_C"),Al("PredictorAdd","VP8LPredictorsAdd"),Al("PredictorAdd","VP8LPredictorsAdd_C"),Ai=Ce,$l=Ve,ql=ze,Ka=It,fa=kt,_a=jo,rn=St,b.VP8LMapColor32b=as,b.VP8LMapColor8b=dA,p)}function da(p,k,L,R,ue){var pe=1,ye=[p],me=[k],be=R.m,we=R.s,Ne=null,Ie=0;e:for(;;){if(L)for(;pe&&X(be,1);){var $e=ye,Le=me,He=R,Qe=1,_e=He.m,Se=He.gc[He.ab],De=X(_e,2);if(He.Oc&1<<De)pe=0;else{switch(He.Oc|=1<<De,Se.hc=De,Se.Ea=$e[0],Se.nc=Le[0],Se.K=[null],++He.ab,o(4>=He.ab),De){case 0:case 1:Se.b=X(_e,3)+2,Qe=da(O(Se.Ea,Se.b),O(Se.nc,Se.b),0,He,Se.K),Se.K=Se.K[0];break;case 3:var Re,Pe=X(_e,8)+1,lt=16<Pe?0:4<Pe?1:2<Pe?2:3;if($e[0]=O(Se.Ea,lt),Se.b=lt,Re=Qe=da(Pe,1,0,He,Se.K)){var Ze,gt=Pe,et=Se,Rt=1<<(8>>et.b),Yt=l(Rt);if(Yt==null)Re=0;else{var Ot=et.K[0],$t=et.w;for(Yt[0]=et.K[0][0],Ze=1;Ze<1*gt;++Ze)Yt[Ze]=ce(Ot[$t+Ze],Yt[Ze-1]);for(;Ze<4*Rt;++Ze)Yt[Ze]=0;et.K[0]=null,et.K[0]=Yt,Re=1}}Qe=Re;break;case 2:break;default:o(0)}pe=Qe}}if(ye=ye[0],me=me[0],pe&&X(be,1)&&!(pe=1<=(Ie=X(be,4))&&11>=Ie)){R.a=3;break e}var ao;if(ao=pe)t:{var to,Ft,Uo,pl=R,Vo=ye,yl=me,Jt=Ie,Fl=L,Nl=pl.m,Ho=pl.s,qo=[null],cl=1,Ql=0,va=qg[Jt];o:for(;;){if(Fl&&X(Nl,1)){var Ro=X(Nl,3)+2,$a=O(Vo,Ro),Fr=O(yl,Ro),An=$a*Fr;if(!da($a,Fr,0,pl,qo))break o;for(qo=qo[0],Ho.xc=Ro,to=0;to<An;++to){var Za=qo[to]>>8&65535;qo[to]=Za,Za>=cl&&(cl=Za+1)}}if(Nl.h)break o;for(Ft=0;5>Ft;++Ft){var ko=gd[Ft];!Ft&&0<Jt&&(ko+=1<<Jt),Ql<ko&&(Ql=ko)}var kA=s(cl*va,S),Nd=cl,_d=s(Nd,oe);if(_d==null)var ki=null;else o(65536>=Nd),ki=_d;var us=l(Ql);if(ki==null||us==null||kA==null){pl.a=1;break o}var Ci=kA;for(to=Uo=0;to<cl;++to){var ea=ki[to],cn=ea.G,dn=ea.H,Sd=0,wi=1,Ld=0;for(Ft=0;5>Ft;++Ft){ko=gd[Ft],cn[Ft]=Ci,dn[Ft]=Uo,!Ft&&0<Jt&&(ko+=1<<Jt);a:{var Bi,CA=ko,xi=pl,As=us,p1=Ci,y1=Uo,wA=0,er=xi.m,m1=X(er,1);if(r(As,0,0,CA),m1){var b1=X(er,1)+1,k1=X(er,1),Ed=X(er,k1==0?1:8);As[Ed]=1,b1==2&&(As[Ed=X(er,8)]=1);var Fi=1}else{var Id=l(19),$d=X(er,4)+4;if(19<$d){xi.a=3;var Ni=0;break a}for(Bi=0;Bi<$d;++Bi)Id[jg[Bi]]=X(er,3);var BA=void 0,cs=void 0,Md=xi,C1=Id,_i=CA,Ud=As,xA=0,tr=Md.m,Vd=8,Qd=s(128,S);l:for(;$(Qd,0,7,C1,19);){if(X(tr,1)){var w1=2+2*X(tr,3);if((BA=2+X(tr,w1))>_i)break l}else BA=_i;for(cs=0;cs<_i&&BA--;){J(tr);var Td=Qd[0+(127&_(tr))];V(tr,tr.u+Td.g);var hn=Td.value;if(16>hn)Ud[cs++]=hn,hn!=0&&(Vd=hn);else{var B1=hn==16,Od=hn-16,x1=Wg[Od],zd=X(tr,Gg[Od])+x1;if(cs+zd>_i)break l;for(var F1=B1?Vd:0;0<zd--;)Ud[cs++]=F1}}xA=1;break l}xA||(Md.a=3),Fi=xA}(Fi=Fi&&!er.h)&&(wA=$(p1,y1,8,As,CA)),Fi&&wA!=0?Ni=wA:(xi.a=3,Ni=0)}if(Ni==0)break o;if(wi&&Kg[Ft]==1&&(wi=Ci[Uo].g==0),Sd+=Ci[Uo].g,Uo+=Ni,3>=Ft){var ds,FA=us[0];for(ds=1;ds<ko;++ds)us[ds]>FA&&(FA=us[ds]);Ld+=FA}}if(ea.nd=wi,ea.Qb=0,wi&&(ea.qb=(cn[3][dn[3]+0].value<<24|cn[1][dn[1]+0].value<<16|cn[2][dn[2]+0].value)>>>0,Sd==0&&256>cn[0][dn[0]+0].value&&(ea.Qb=1,ea.qb+=cn[0][dn[0]+0].value<<8)),ea.jc=!ea.Qb&&6>Ld,ea.jc){var Si,Ma=ea;for(Si=0;Si<vl;++Si){var or=Si,lr=Ma.pd[or],Li=Ma.G[0][Ma.H[0]+or];256<=Li.value?(lr.g=Li.g+256,lr.value=Li.value):(lr.g=0,lr.value=0,or>>=ho(Li,8,lr),or>>=ho(Ma.G[1][Ma.H[1]+or],16,lr),or>>=ho(Ma.G[2][Ma.H[2]+or],0,lr),ho(Ma.G[3][Ma.H[3]+or],24,lr))}}}Ho.vc=qo,Ho.Wb=cl,Ho.Ya=ki,Ho.yc=kA,ao=1;break t}ao=0}if(!(pe=ao)){R.a=3;break e}if(0<Ie){if(we.ua=1<<Ie,!fe(we.Wa,Ie)){R.a=1,pe=0;break e}}else we.ua=0;var NA=R,Dd=ye,N1=me,_A=NA.s,SA=_A.xc;if(NA.c=Dd,NA.i=N1,_A.md=O(Dd,SA),_A.wc=SA==0?-1:(1<<SA)-1,L){R.xb=a1;break e}if((Ne=l(ye*me))==null){R.a=1,pe=0;break e}pe=(pe=Gl(R,Ne,0,ye,me,me,null))&&!be.h;break e}return pe?(ue!=null?ue[0]=Ne:(o(Ne==null),o(L)),R.$=0,L||ca(we)):ca(we),pe}function mr(p,k){var L=p.c*p.i,R=L+k+16*k;return o(p.c<=k),p.V=l(R),p.V==null?(p.Ta=null,p.Ua=0,p.a=1,0):(p.Ta=p.V,p.Ua=p.Ba+L+k,1)}function zr(p,k){var L=p.C,R=k-L,ue=p.V,pe=p.Ba+p.c*L;for(o(k<=p.l.o);0<R;){var ye=16<R?16:R,me=p.l.ma,be=p.l.width,we=be*ye,Ne=me.ca,Ie=me.tb+be*L,$e=p.Ta,Le=p.Ua;wl(p,ye,ue,pe),id($e,Le,Ne,Ie,we),Hl(me,L,L+ye,Ne,Ie,be),R-=ye,ue+=ye*p.c,L+=ye}o(L==k),p.C=p.Ma=k}function Dr(){this.ub=this.yd=this.td=this.Rb=0}function Pr(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Hr(){this.Fb=this.Bb=this.Cb=0,this.Zb=l(4),this.Lb=l(4)}function Rs(){this.Yb=function(){var p=[];return function k(L,R,ue){for(var pe=ue[R],ye=0;ye<pe&&(L.push(ue.length>R+1?[]:0),!(ue.length<R+1));ye++)k(L[ye],R+1,ue)}(p,0,[3,11]),p}()}function zu(){this.jb=l(3),this.Wc=u([4,8],Rs),this.Xc=u([4,17],Rs)}function Du(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new l(4),this.od=new l(4)}function Rr(){this.ld=this.La=this.dd=this.tc=0}function Gs(){this.Na=this.la=0}function Pu(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Tn(){this.ad=l(384),this.Za=0,this.Ob=l(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Hu(){this.uc=this.M=this.Nb=0,this.wa=Array(new Rr),this.Y=0,this.ya=Array(new Tn),this.aa=0,this.l=new Gr}function Ws(){this.y=l(16),this.f=l(8),this.ea=l(8)}function Ru(){this.cb=this.a=0,this.sc="",this.m=new q,this.Od=new Dr,this.Kc=new Pr,this.ed=new Du,this.Qa=new Hr,this.Ic=this.$c=this.Aa=0,this.D=new Hu,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=s(8,q),this.ia=0,this.pb=s(4,Pu),this.Pa=new zu,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ws),this.Hd=0,this.rb=Array(new Gs),this.sb=0,this.wa=Array(new Rr),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Tn),this.L=this.aa=0,this.gd=u([4,2],Rr),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Gr(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Gu(){var p=new Ru;return p!=null&&(p.a=0,p.sc="OK",p.cb=0,p.Xb=0,ss||(ss=Xs)),p}function Fo(p,k,L){return p.a==0&&(p.a=k,p.sc=L,p.cb=0),0}function Ks(p,k,L){return 3<=L&&p[k+0]==157&&p[k+1]==1&&p[k+2]==42}function js(p,k){if(p==null)return 0;if(p.a=0,p.sc="OK",k==null)return Fo(p,2,"null VP8Io passed to VP8GetHeaders()");var L=k.data,R=k.w,ue=k.ha;if(4>ue)return Fo(p,7,"Truncated header.");var pe=L[R+0]|L[R+1]<<8|L[R+2]<<16,ye=p.Od;if(ye.Rb=!(1&pe),ye.td=pe>>1&7,ye.yd=pe>>4&1,ye.ub=pe>>5,3<ye.td)return Fo(p,3,"Incorrect keyframe parameters.");if(!ye.yd)return Fo(p,4,"Frame not displayable.");R+=3,ue-=3;var me=p.Kc;if(ye.Rb){if(7>ue)return Fo(p,7,"cannot parse picture header");if(!Ks(L,R,ue))return Fo(p,3,"Bad code word");me.c=16383&(L[R+4]<<8|L[R+3]),me.Td=L[R+4]>>6,me.i=16383&(L[R+6]<<8|L[R+5]),me.Ud=L[R+6]>>6,R+=7,ue-=7,p.za=me.c+15>>4,p.Ub=me.i+15>>4,k.width=me.c,k.height=me.i,k.Da=0,k.j=0,k.v=0,k.va=k.width,k.o=k.height,k.da=0,k.ib=k.width,k.hb=k.height,k.U=k.width,k.T=k.height,r((pe=p.Pa).jb,0,255,pe.jb.length),o((pe=p.Qa)!=null),pe.Cb=0,pe.Bb=0,pe.Fb=1,r(pe.Zb,0,0,pe.Zb.length),r(pe.Lb,0,0,pe.Lb)}if(ye.ub>ue)return Fo(p,7,"bad partition length");te(pe=p.m,L,R,ye.ub),R+=ye.ub,ue-=ye.ub,ye.Rb&&(me.Ld=ae(pe),me.Kd=ae(pe)),me=p.Qa;var be,we=p.Pa;if(o(pe!=null),o(me!=null),me.Cb=ae(pe),me.Cb){if(me.Bb=ae(pe),ae(pe)){for(me.Fb=ae(pe),be=0;4>be;++be)me.Zb[be]=ae(pe)?le(pe,7):0;for(be=0;4>be;++be)me.Lb[be]=ae(pe)?le(pe,6):0}if(me.Bb)for(be=0;3>be;++be)we.jb[be]=ae(pe)?he(pe,8):255}else me.Bb=0;if(pe.Ka)return Fo(p,3,"cannot parse segment header");if((me=p.ed).zd=ae(pe),me.Tb=he(pe,6),me.wb=he(pe,3),me.Pc=ae(pe),me.Pc&&ae(pe)){for(we=0;4>we;++we)ae(pe)&&(me.vd[we]=le(pe,6));for(we=0;4>we;++we)ae(pe)&&(me.od[we]=le(pe,6))}if(p.L=me.Tb==0?0:me.zd?1:2,pe.Ka)return Fo(p,3,"cannot parse filter header");var Ne=ue;if(ue=be=R,R=be+Ne,me=Ne,p.Xb=(1<<he(p.m,2))-1,Ne<3*(we=p.Xb))L=7;else{for(be+=3*we,me-=3*we,Ne=0;Ne<we;++Ne){var Ie=L[ue+0]|L[ue+1]<<8|L[ue+2]<<16;Ie>me&&(Ie=me),te(p.Jc[+Ne],L,be,Ie),be+=Ie,me-=Ie,ue+=3}te(p.Jc[+we],L,be,me),L=be<R?0:5}if(L!=0)return Fo(p,L,"cannot parse partitions");for(L=he(be=p.m,7),ue=ae(be)?le(be,4):0,R=ae(be)?le(be,4):0,me=ae(be)?le(be,4):0,we=ae(be)?le(be,4):0,be=ae(be)?le(be,4):0,Ne=p.Qa,Ie=0;4>Ie;++Ie){if(Ne.Cb){var $e=Ne.Zb[Ie];Ne.Fb||($e+=L)}else{if(0<Ie){p.pb[Ie]=p.pb[0];continue}$e=L}var Le=p.pb[Ie];Le.Sc[0]=yA[Bl($e+ue,127)],Le.Sc[1]=mA[Bl($e+0,127)],Le.Eb[0]=2*yA[Bl($e+R,127)],Le.Eb[1]=101581*mA[Bl($e+me,127)]>>16,8>Le.Eb[1]&&(Le.Eb[1]=8),Le.Qc[0]=yA[Bl($e+we,117)],Le.Qc[1]=mA[Bl($e+be,127)],Le.lc=$e+be}if(!ye.Rb)return Fo(p,4,"Not a key frame.");for(ae(pe),ye=p.Pa,L=0;4>L;++L){for(ue=0;8>ue;++ue)for(R=0;3>R;++R)for(me=0;11>me;++me)we=ge(pe,o1[L][ue][R][me])?he(pe,8):e1[L][ue][R][me],ye.Wc[L][ue].Yb[R][me]=we;for(ue=0;17>ue;++ue)ye.Xc[L][ue]=ye.Wc[L][l1[ue]]}return p.kc=ae(pe),p.kc&&(p.Bd=he(pe,8)),p.cb=1}function Xs(p,k,L,R,ue,pe,ye){var me=k[ue].Yb[L];for(L=0;16>ue;++ue){if(!ge(p,me[L+0]))return ue;for(;!ge(p,me[L+1]);)if(me=k[++ue].Yb[0],L=0,ue==16)return 16;var be=k[ue+1].Yb;if(ge(p,me[L+2])){var we=p,Ne=0;if(ge(we,($e=me)[(Ie=L)+3]))if(ge(we,$e[Ie+6])){for(me=0,Ie=2*(Ne=ge(we,$e[Ie+8]))+($e=ge(we,$e[Ie+9+Ne])),Ne=0,$e=Jg[Ie];$e[me];++me)Ne+=Ne+ge(we,$e[me]);Ne+=3+(8<<Ie)}else ge(we,$e[Ie+7])?(Ne=7+2*ge(we,165),Ne+=ge(we,145)):Ne=5+ge(we,159);else Ne=ge(we,$e[Ie+4])?3+ge(we,$e[Ie+5]):2;me=be[2]}else Ne=1,me=be[1];be=ye+Zg[ue],0>(we=p).b&&ke(we);var Ie,$e=we.b,Le=(Ie=we.Ca>>1)-(we.I>>$e)>>31;--we.b,we.Ca+=Le,we.Ca|=1,we.I-=(Ie+1&Le)<<$e,pe[be]=((Ne^Le)-Le)*R[(0<ue)+0]}return 16}function On(p){var k=p.rb[p.sb-1];k.la=0,k.Na=0,r(p.zc,0,0,p.zc.length),p.ja=0}function Wu(p,k){if(p==null)return 0;if(k==null)return Fo(p,2,"NULL VP8Io parameter in VP8Decode().");if(!p.cb&&!js(p,k))return 0;if(o(p.cb),k.ac==null||k.ac(k)){k.ob&&(p.L=0);var L=bi[p.L];if(p.L==2?(p.yb=0,p.zb=0):(p.yb=k.v-L>>4,p.zb=k.j-L>>4,0>p.yb&&(p.yb=0),0>p.zb&&(p.zb=0)),p.Va=k.o+15+L>>4,p.Hb=k.va+15+L>>4,p.Hb>p.za&&(p.Hb=p.za),p.Va>p.Ub&&(p.Va=p.Ub),0<p.L){var R=p.ed;for(L=0;4>L;++L){var ue;if(p.Qa.Cb){var pe=p.Qa.Lb[L];p.Qa.Fb||(pe+=R.Tb)}else pe=R.Tb;for(ue=0;1>=ue;++ue){var ye=p.gd[L][ue],me=pe;if(R.Pc&&(me+=R.vd[0],ue&&(me+=R.od[0])),0<(me=0>me?0:63<me?63:me)){var be=me;0<R.wb&&(be=4<R.wb?be>>2:be>>1)>9-R.wb&&(be=9-R.wb),1>be&&(be=1),ye.dd=be,ye.tc=2*me+be,ye.ld=40<=me?2:15<=me?1:0}else ye.tc=0;ye.La=ue}}}L=0}else Fo(p,6,"Frame setup failed"),L=p.a;if(L=L==0){if(L){p.$c=0,0<p.Aa||(p.Ic=g1);e:{L=p.Ic,R=4*(be=p.za);var we=32*be,Ne=be+1,Ie=0<p.L?be*(0<p.Aa?2:1):0,$e=(p.Aa==2?2:1)*be;if((ye=R+832+(ue=3*(16*L+bi[p.L])/2*we)+(pe=p.Fa!=null&&0<p.Fa.length?p.Kc.c*p.Kc.i:0))!=ye)L=0;else{if(ye>p.Vb){if(p.Vb=0,p.Ec=l(ye),p.Fc=0,p.Ec==null){L=Fo(p,1,"no memory during frame initialization.");break e}p.Vb=ye}ye=p.Ec,me=p.Fc,p.Ac=ye,p.Bc=me,me+=R,p.Gd=s(we,Ws),p.Hd=0,p.rb=s(Ne+1,Gs),p.sb=1,p.wa=Ie?s(Ie,Rr):null,p.Y=0,p.D.Nb=0,p.D.wa=p.wa,p.D.Y=p.Y,0<p.Aa&&(p.D.Y+=be),o(!0),p.oc=ye,p.pc=me,me+=832,p.ya=s($e,Tn),p.aa=0,p.D.ya=p.ya,p.D.aa=p.aa,p.Aa==2&&(p.D.aa+=be),p.R=16*be,p.B=8*be,be=(we=bi[p.L])*p.R,we=we/2*p.B,p.sa=ye,p.ta=me+be,p.qa=p.sa,p.ra=p.ta+16*L*p.R+we,p.Ha=p.qa,p.Ia=p.ra+8*L*p.B+we,p.$c=0,me+=ue,p.mb=pe?ye:null,p.nb=pe?me:null,o(me+pe<=p.Fc+p.Vb),On(p),r(p.Ac,p.Bc,0,R),L=1}}if(L){if(k.ka=0,k.y=p.sa,k.O=p.ta,k.f=p.qa,k.N=p.ra,k.ea=p.Ha,k.Vd=p.Ia,k.fa=p.R,k.Rc=p.B,k.F=null,k.J=0,!hd){for(L=-255;255>=L;++L)ud[255+L]=0>L?-L:L;for(L=-1020;1020>=L;++L)Ad[1020+L]=-128>L?-128:127<L?127:L;for(L=-112;112>=L;++L)cd[112+L]=-16>L?-16:15<L?15:L;for(L=-255;510>=L;++L)dd[255+L]=0>L?0:255<L?255:L;hd=1}Yl=Xu,nn=Ku,ja=Ys,Jl=ju,Sa=Js,rs=qs,Br=Gn,sn=Cr,xr=iA,Xa=Wn,ns=sA,Ml=Yr,La=Kn,io=si,uo=ni,No=Fa,zo=Ha,Ea=nA,Zl[0]=ha,Zl[1]=qu,Zl[2]=eA,Zl[3]=tA,Zl[4]=ti,Zl[5]=Xr,Zl[6]=oi,Zl[7]=Pn,Zl[8]=lA,Zl[9]=oA,Ya[0]=Zs,Ya[1]=Ju,Ya[2]=xa,Ya[3]=Kr,Ya[4]=tl,Ya[5]=Zu,Ya[6]=ei,Ia[0]=Pa,Ia[1]=Yu,Ia[2]=aA,Ia[3]=Hn,Ia[4]=kr,Ia[5]=rA,Ia[6]=Rn,L=1}else L=0}L&&(L=function(Le,He){for(Le.M=0;Le.M<Le.Va;++Le.M){var Qe,_e=Le.Jc[Le.M&Le.Xb],Se=Le.m,De=Le;for(Qe=0;Qe<De.za;++Qe){var Re=Se,Pe=De,lt=Pe.Ac,Ze=Pe.Bc+4*Qe,gt=Pe.zc,et=Pe.ya[Pe.aa+Qe];if(Pe.Qa.Bb?et.$b=ge(Re,Pe.Pa.jb[0])?2+ge(Re,Pe.Pa.jb[2]):ge(Re,Pe.Pa.jb[1]):et.$b=0,Pe.kc&&(et.Ad=ge(Re,Pe.Bd)),et.Za=!ge(Re,145)+0,et.Za){var Rt=et.Ob,Yt=0;for(Pe=0;4>Pe;++Pe){var Ot,$t=gt[0+Pe];for(Ot=0;4>Ot;++Ot){$t=t1[lt[Ze+Ot]][$t];for(var ao=pd[ge(Re,$t[0])];0<ao;)ao=pd[2*ao+ge(Re,$t[ao])];$t=-ao,lt[Ze+Ot]=$t}n(Rt,Yt,lt,Ze,4),Yt+=4,gt[0+Pe]=$t}}else $t=ge(Re,156)?ge(Re,128)?1:3:ge(Re,163)?2:0,et.Ob[0]=$t,r(lt,Ze,$t,4),r(gt,0,$t,4);et.Dd=ge(Re,142)?ge(Re,114)?ge(Re,183)?1:3:2:0}if(De.m.Ka)return Fo(Le,7,"Premature end-of-partition0 encountered.");for(;Le.ja<Le.za;++Le.ja){if(De=_e,Re=(Se=Le).rb[Se.sb-1],lt=Se.rb[Se.sb+Se.ja],Qe=Se.ya[Se.aa+Se.ja],Ze=Se.kc?Qe.Ad:0)Re.la=lt.la=0,Qe.Za||(Re.Na=lt.Na=0),Qe.Hc=0,Qe.Gc=0,Qe.ia=0;else{var to,Ft;if(Re=lt,lt=De,Ze=Se.Pa.Xc,gt=Se.ya[Se.aa+Se.ja],et=Se.pb[gt.$b],Pe=gt.ad,Rt=0,Yt=Se.rb[Se.sb-1],$t=Ot=0,r(Pe,Rt,0,384),gt.Za)var Uo=0,pl=Ze[3];else{ao=l(16);var Vo=Re.Na+Yt.Na;if(Vo=ss(lt,Ze[1],Vo,et.Eb,0,ao,0),Re.Na=Yt.Na=(0<Vo)+0,1<Vo)Yl(ao,0,Pe,Rt);else{var yl=ao[0]+3>>3;for(ao=0;256>ao;ao+=16)Pe[Rt+ao]=yl}Uo=1,pl=Ze[0]}var Jt=15&Re.la,Fl=15&Yt.la;for(ao=0;4>ao;++ao){var Nl=1&Fl;for(yl=Ft=0;4>yl;++yl)Jt=Jt>>1|(Nl=(Vo=ss(lt,pl,Vo=Nl+(1&Jt),et.Sc,Uo,Pe,Rt))>Uo)<<7,Ft=Ft<<2|(3<Vo?3:1<Vo?2:Pe[Rt+0]!=0),Rt+=16;Jt>>=4,Fl=Fl>>1|Nl<<7,Ot=(Ot<<8|Ft)>>>0}for(pl=Jt,Uo=Fl>>4,to=0;4>to;to+=2){for(Ft=0,Jt=Re.la>>4+to,Fl=Yt.la>>4+to,ao=0;2>ao;++ao){for(Nl=1&Fl,yl=0;2>yl;++yl)Vo=Nl+(1&Jt),Jt=Jt>>1|(Nl=0<(Vo=ss(lt,Ze[2],Vo,et.Qc,0,Pe,Rt)))<<3,Ft=Ft<<2|(3<Vo?3:1<Vo?2:Pe[Rt+0]!=0),Rt+=16;Jt>>=2,Fl=Fl>>1|Nl<<5}$t|=Ft<<4*to,pl|=Jt<<4<<to,Uo|=(240&Fl)<<to}Re.la=pl,Yt.la=Uo,gt.Hc=Ot,gt.Gc=$t,gt.ia=43690&$t?0:et.ia,Ze=!(Ot|$t)}if(0<Se.L&&(Se.wa[Se.Y+Se.ja]=Se.gd[Qe.$b][Qe.Za],Se.wa[Se.Y+Se.ja].La|=!Ze),De.Ka)return Fo(Le,7,"Premature end-of-file encountered.")}if(On(Le),Se=He,De=1,Qe=(_e=Le).D,Re=0<_e.L&&_e.M>=_e.zb&&_e.M<=_e.Va,_e.Aa==0)e:{if(Qe.M=_e.M,Qe.uc=Re,Zn(_e,Qe),De=1,Qe=(Ft=_e.D).Nb,Re=($t=bi[_e.L])*_e.R,lt=$t/2*_e.B,ao=16*Qe*_e.R,yl=8*Qe*_e.B,Ze=_e.sa,gt=_e.ta-Re+ao,et=_e.qa,Pe=_e.ra-lt+yl,Rt=_e.Ha,Yt=_e.Ia-lt+yl,Fl=(Jt=Ft.M)==0,Ot=Jt>=_e.Va-1,_e.Aa==2&&Zn(_e,Ft),Ft.uc)for(Nl=(Vo=_e).D.M,o(Vo.D.uc),Ft=Vo.yb;Ft<Vo.Hb;++Ft){Uo=Ft,pl=Nl;var Ho=(qo=(ko=Vo).D).Nb;to=ko.R;var qo=qo.wa[qo.Y+Uo],cl=ko.sa,Ql=ko.ta+16*Ho*to+16*Uo,va=qo.dd,Ro=qo.tc;if(Ro!=0)if(o(3<=Ro),ko.L==1)0<Uo&&No(cl,Ql,to,Ro+4),qo.La&&Ea(cl,Ql,to,Ro),0<pl&&uo(cl,Ql,to,Ro+4),qo.La&&zo(cl,Ql,to,Ro);else{var $a=ko.B,Fr=ko.qa,An=ko.ra+8*Ho*$a+8*Uo,Za=ko.Ha,ko=ko.Ia+8*Ho*$a+8*Uo;Ho=qo.ld,0<Uo&&(sn(cl,Ql,to,Ro+4,va,Ho),Xa(Fr,An,Za,ko,$a,Ro+4,va,Ho)),qo.La&&(Ml(cl,Ql,to,Ro,va,Ho),io(Fr,An,Za,ko,$a,Ro,va,Ho)),0<pl&&(Br(cl,Ql,to,Ro+4,va,Ho),xr(Fr,An,Za,ko,$a,Ro+4,va,Ho)),qo.La&&(ns(cl,Ql,to,Ro,va,Ho),La(Fr,An,Za,ko,$a,Ro,va,Ho))}}if(_e.ia&&alert("todo:DitherRow"),Se.put!=null){if(Ft=16*Jt,Jt=16*(Jt+1),Fl?(Se.y=_e.sa,Se.O=_e.ta+ao,Se.f=_e.qa,Se.N=_e.ra+yl,Se.ea=_e.Ha,Se.W=_e.Ia+yl):(Ft-=$t,Se.y=Ze,Se.O=gt,Se.f=et,Se.N=Pe,Se.ea=Rt,Se.W=Yt),Ot||(Jt-=$t),Jt>Se.o&&(Jt=Se.o),Se.F=null,Se.J=null,_e.Fa!=null&&0<_e.Fa.length&&Ft<Jt&&(Se.J=Yn(_e,Se,Ft,Jt-Ft),Se.F=_e.mb,Se.F==null&&Se.F.length==0)){De=Fo(_e,3,"Could not decode alpha data.");break e}Ft<Se.j&&($t=Se.j-Ft,Ft=Se.j,o(!(1&$t)),Se.O+=_e.R*$t,Se.N+=_e.B*($t>>1),Se.W+=_e.B*($t>>1),Se.F!=null&&(Se.J+=Se.width*$t)),Ft<Jt&&(Se.O+=Se.v,Se.N+=Se.v>>1,Se.W+=Se.v>>1,Se.F!=null&&(Se.J+=Se.v),Se.ka=Ft-Se.j,Se.U=Se.va-Se.v,Se.T=Jt-Ft,De=Se.put(Se))}Qe+1!=_e.Ic||Ot||(n(_e.sa,_e.ta-Re,Ze,gt+16*_e.R,Re),n(_e.qa,_e.ra-lt,et,Pe+8*_e.B,lt),n(_e.Ha,_e.Ia-lt,Rt,Yt+8*_e.B,lt))}if(!De)return Fo(Le,6,"Output aborted.")}return 1}(p,k)),k.bc!=null&&k.bc(k),L&=1}return L?(p.cb=0,L):0}function Wl(p,k,L,R,ue){ue=p[k+L+32*R]+(ue>>3),p[k+L+32*R]=-256&ue?0>ue?0:255:ue}function Wr(p,k,L,R,ue,pe){Wl(p,k,0,L,R+ue),Wl(p,k,1,L,R+pe),Wl(p,k,2,L,R-pe),Wl(p,k,3,L,R-ue)}function fl(p){return(20091*p>>16)+p}function zn(p,k,L,R){var ue,pe=0,ye=l(16);for(ue=0;4>ue;++ue){var me=p[k+0]+p[k+8],be=p[k+0]-p[k+8],we=(35468*p[k+4]>>16)-fl(p[k+12]),Ne=fl(p[k+4])+(35468*p[k+12]>>16);ye[pe+0]=me+Ne,ye[pe+1]=be+we,ye[pe+2]=be-we,ye[pe+3]=me-Ne,pe+=4,k++}for(ue=pe=0;4>ue;++ue)me=(p=ye[pe+0]+4)+ye[pe+8],be=p-ye[pe+8],we=(35468*ye[pe+4]>>16)-fl(ye[pe+12]),Wl(L,R,0,0,me+(Ne=fl(ye[pe+4])+(35468*ye[pe+12]>>16))),Wl(L,R,1,0,be+we),Wl(L,R,2,0,be-we),Wl(L,R,3,0,me-Ne),pe++,R+=32}function qs(p,k,L,R){var ue=p[k+0]+4,pe=35468*p[k+4]>>16,ye=fl(p[k+4]),me=35468*p[k+1]>>16;Wr(L,R,0,ue+ye,p=fl(p[k+1]),me),Wr(L,R,1,ue+pe,p,me),Wr(L,R,2,ue-pe,p,me),Wr(L,R,3,ue-ye,p,me)}function Ku(p,k,L,R,ue){zn(p,k,L,R),ue&&zn(p,k+16,L,R+4)}function Ys(p,k,L,R){nn(p,k+0,L,R,1),nn(p,k+32,L,R+128,1)}function ju(p,k,L,R){var ue;for(p=p[k+0]+4,ue=0;4>ue;++ue)for(k=0;4>k;++k)Wl(L,R,k,ue,p)}function Js(p,k,L,R){p[k+0]&&Jl(p,k+0,L,R),p[k+16]&&Jl(p,k+16,L,R+4),p[k+32]&&Jl(p,k+32,L,R+128),p[k+48]&&Jl(p,k+48,L,R+128+4)}function Xu(p,k,L,R){var ue,pe=l(16);for(ue=0;4>ue;++ue){var ye=p[k+0+ue]+p[k+12+ue],me=p[k+4+ue]+p[k+8+ue],be=p[k+4+ue]-p[k+8+ue],we=p[k+0+ue]-p[k+12+ue];pe[0+ue]=ye+me,pe[8+ue]=ye-me,pe[4+ue]=we+be,pe[12+ue]=we-be}for(ue=0;4>ue;++ue)ye=(p=pe[0+4*ue]+3)+pe[3+4*ue],me=pe[1+4*ue]+pe[2+4*ue],be=pe[1+4*ue]-pe[2+4*ue],we=p-pe[3+4*ue],L[R+0]=ye+me>>3,L[R+16]=we+be>>3,L[R+32]=ye-me>>3,L[R+48]=we-be>>3,R+=64}function Dn(p,k,L){var R,ue=k-32,pe=xl,ye=255-p[ue-1];for(R=0;R<L;++R){var me,be=pe,we=ye+p[k-1];for(me=0;me<L;++me)p[k+me]=be[we+p[ue+me]];k+=32}}function qu(p,k){Dn(p,k,4)}function Yu(p,k){Dn(p,k,8)}function Ju(p,k){Dn(p,k,16)}function xa(p,k){var L;for(L=0;16>L;++L)n(p,k+32*L,p,k-32,16)}function Kr(p,k){var L;for(L=16;0<L;--L)r(p,k,p[k-1],16),k+=32}function jr(p,k,L){var R;for(R=0;16>R;++R)r(k,L+32*R,p,16)}function Zs(p,k){var L,R=16;for(L=0;16>L;++L)R+=p[k-1+32*L]+p[k+L-32];jr(R>>5,p,k)}function tl(p,k){var L,R=8;for(L=0;16>L;++L)R+=p[k-1+32*L];jr(R>>4,p,k)}function Zu(p,k){var L,R=8;for(L=0;16>L;++L)R+=p[k+L-32];jr(R>>4,p,k)}function ei(p,k){jr(128,p,k)}function Ct(p,k,L){return p+2*k+L+2>>2}function eA(p,k){var L,R=k-32;for(R=new Uint8Array([Ct(p[R-1],p[R+0],p[R+1]),Ct(p[R+0],p[R+1],p[R+2]),Ct(p[R+1],p[R+2],p[R+3]),Ct(p[R+2],p[R+3],p[R+4])]),L=0;4>L;++L)n(p,k+32*L,R,0,R.length)}function tA(p,k){var L=p[k-1],R=p[k-1+32],ue=p[k-1+64],pe=p[k-1+96];Z(p,k+0,16843009*Ct(p[k-1-32],L,R)),Z(p,k+32,16843009*Ct(L,R,ue)),Z(p,k+64,16843009*Ct(R,ue,pe)),Z(p,k+96,16843009*Ct(ue,pe,pe))}function ha(p,k){var L,R=4;for(L=0;4>L;++L)R+=p[k+L-32]+p[k-1+32*L];for(R>>=3,L=0;4>L;++L)r(p,k+32*L,R,4)}function ti(p,k){var L=p[k-1+0],R=p[k-1+32],ue=p[k-1+64],pe=p[k-1-32],ye=p[k+0-32],me=p[k+1-32],be=p[k+2-32],we=p[k+3-32];p[k+0+96]=Ct(R,ue,p[k-1+96]),p[k+1+96]=p[k+0+64]=Ct(L,R,ue),p[k+2+96]=p[k+1+64]=p[k+0+32]=Ct(pe,L,R),p[k+3+96]=p[k+2+64]=p[k+1+32]=p[k+0+0]=Ct(ye,pe,L),p[k+3+64]=p[k+2+32]=p[k+1+0]=Ct(me,ye,pe),p[k+3+32]=p[k+2+0]=Ct(be,me,ye),p[k+3+0]=Ct(we,be,me)}function oi(p,k){var L=p[k+1-32],R=p[k+2-32],ue=p[k+3-32],pe=p[k+4-32],ye=p[k+5-32],me=p[k+6-32],be=p[k+7-32];p[k+0+0]=Ct(p[k+0-32],L,R),p[k+1+0]=p[k+0+32]=Ct(L,R,ue),p[k+2+0]=p[k+1+32]=p[k+0+64]=Ct(R,ue,pe),p[k+3+0]=p[k+2+32]=p[k+1+64]=p[k+0+96]=Ct(ue,pe,ye),p[k+3+32]=p[k+2+64]=p[k+1+96]=Ct(pe,ye,me),p[k+3+64]=p[k+2+96]=Ct(ye,me,be),p[k+3+96]=Ct(me,be,be)}function Xr(p,k){var L=p[k-1+0],R=p[k-1+32],ue=p[k-1+64],pe=p[k-1-32],ye=p[k+0-32],me=p[k+1-32],be=p[k+2-32],we=p[k+3-32];p[k+0+0]=p[k+1+64]=pe+ye+1>>1,p[k+1+0]=p[k+2+64]=ye+me+1>>1,p[k+2+0]=p[k+3+64]=me+be+1>>1,p[k+3+0]=be+we+1>>1,p[k+0+96]=Ct(ue,R,L),p[k+0+64]=Ct(R,L,pe),p[k+0+32]=p[k+1+96]=Ct(L,pe,ye),p[k+1+32]=p[k+2+96]=Ct(pe,ye,me),p[k+2+32]=p[k+3+96]=Ct(ye,me,be),p[k+3+32]=Ct(me,be,we)}function Pn(p,k){var L=p[k+0-32],R=p[k+1-32],ue=p[k+2-32],pe=p[k+3-32],ye=p[k+4-32],me=p[k+5-32],be=p[k+6-32],we=p[k+7-32];p[k+0+0]=L+R+1>>1,p[k+1+0]=p[k+0+64]=R+ue+1>>1,p[k+2+0]=p[k+1+64]=ue+pe+1>>1,p[k+3+0]=p[k+2+64]=pe+ye+1>>1,p[k+0+32]=Ct(L,R,ue),p[k+1+32]=p[k+0+96]=Ct(R,ue,pe),p[k+2+32]=p[k+1+96]=Ct(ue,pe,ye),p[k+3+32]=p[k+2+96]=Ct(pe,ye,me),p[k+3+64]=Ct(ye,me,be),p[k+3+96]=Ct(me,be,we)}function oA(p,k){var L=p[k-1+0],R=p[k-1+32],ue=p[k-1+64],pe=p[k-1+96];p[k+0+0]=L+R+1>>1,p[k+2+0]=p[k+0+32]=R+ue+1>>1,p[k+2+32]=p[k+0+64]=ue+pe+1>>1,p[k+1+0]=Ct(L,R,ue),p[k+3+0]=p[k+1+32]=Ct(R,ue,pe),p[k+3+32]=p[k+1+64]=Ct(ue,pe,pe),p[k+3+64]=p[k+2+64]=p[k+0+96]=p[k+1+96]=p[k+2+96]=p[k+3+96]=pe}function lA(p,k){var L=p[k-1+0],R=p[k-1+32],ue=p[k-1+64],pe=p[k-1+96],ye=p[k-1-32],me=p[k+0-32],be=p[k+1-32],we=p[k+2-32];p[k+0+0]=p[k+2+32]=L+ye+1>>1,p[k+0+32]=p[k+2+64]=R+L+1>>1,p[k+0+64]=p[k+2+96]=ue+R+1>>1,p[k+0+96]=pe+ue+1>>1,p[k+3+0]=Ct(me,be,we),p[k+2+0]=Ct(ye,me,be),p[k+1+0]=p[k+3+32]=Ct(L,ye,me),p[k+1+32]=p[k+3+64]=Ct(R,L,ye),p[k+1+64]=p[k+3+96]=Ct(ue,R,L),p[k+1+96]=Ct(pe,ue,R)}function aA(p,k){var L;for(L=0;8>L;++L)n(p,k+32*L,p,k-32,8)}function Hn(p,k){var L;for(L=0;8>L;++L)r(p,k,p[k-1],8),k+=32}function br(p,k,L){var R;for(R=0;8>R;++R)r(k,L+32*R,p,8)}function Pa(p,k){var L,R=8;for(L=0;8>L;++L)R+=p[k+L-32]+p[k-1+32*L];br(R>>4,p,k)}function rA(p,k){var L,R=4;for(L=0;8>L;++L)R+=p[k+L-32];br(R>>3,p,k)}function kr(p,k){var L,R=4;for(L=0;8>L;++L)R+=p[k-1+32*L];br(R>>3,p,k)}function Rn(p,k){br(128,p,k)}function qr(p,k,L){var R=p[k-L],ue=p[k+0],pe=3*(ue-R)+hA[1020+p[k-2*L]-p[k+L]],ye=di[112+(pe+4>>3)];p[k-L]=xl[255+R+di[112+(pe+3>>3)]],p[k+0]=xl[255+ue-ye]}function li(p,k,L,R){var ue=p[k+0],pe=p[k+L];return Ul[255+p[k-2*L]-p[k-L]]>R||Ul[255+pe-ue]>R}function ai(p,k,L,R){return 4*Ul[255+p[k-L]-p[k+0]]+Ul[255+p[k-2*L]-p[k+L]]<=R}function ri(p,k,L,R,ue){var pe=p[k-3*L],ye=p[k-2*L],me=p[k-L],be=p[k+0],we=p[k+L],Ne=p[k+2*L],Ie=p[k+3*L];return 4*Ul[255+me-be]+Ul[255+ye-we]>R?0:Ul[255+p[k-4*L]-pe]<=ue&&Ul[255+pe-ye]<=ue&&Ul[255+ye-me]<=ue&&Ul[255+Ie-Ne]<=ue&&Ul[255+Ne-we]<=ue&&Ul[255+we-be]<=ue}function ni(p,k,L,R){var ue=2*R+1;for(R=0;16>R;++R)ai(p,k+R,L,ue)&&qr(p,k+R,L)}function Fa(p,k,L,R){var ue=2*R+1;for(R=0;16>R;++R)ai(p,k+R*L,1,ue)&&qr(p,k+R*L,1)}function Ha(p,k,L,R){var ue;for(ue=3;0<ue;--ue)ni(p,k+=4*L,L,R)}function nA(p,k,L,R){var ue;for(ue=3;0<ue;--ue)Fa(p,k+=4,L,R)}function Ra(p,k,L,R,ue,pe,ye,me){for(pe=2*pe+1;0<ue--;){if(ri(p,k,L,pe,ye))if(li(p,k,L,me))qr(p,k,L);else{var be=p,we=k,Ne=L,Ie=be[we-2*Ne],$e=be[we-Ne],Le=be[we+0],He=be[we+Ne],Qe=be[we+2*Ne],_e=27*(De=hA[1020+3*(Le-$e)+hA[1020+Ie-He]])+63>>7,Se=18*De+63>>7,De=9*De+63>>7;be[we-3*Ne]=xl[255+be[we-3*Ne]+De],be[we-2*Ne]=xl[255+Ie+Se],be[we-Ne]=xl[255+$e+_e],be[we+0]=xl[255+Le-_e],be[we+Ne]=xl[255+He-Se],be[we+2*Ne]=xl[255+Qe-De]}k+=R}}function Kl(p,k,L,R,ue,pe,ye,me){for(pe=2*pe+1;0<ue--;){if(ri(p,k,L,pe,ye))if(li(p,k,L,me))qr(p,k,L);else{var be=p,we=k,Ne=L,Ie=be[we-Ne],$e=be[we+0],Le=be[we+Ne],He=di[112+((Qe=3*($e-Ie))+4>>3)],Qe=di[112+(Qe+3>>3)],_e=He+1>>1;be[we-2*Ne]=xl[255+be[we-2*Ne]+_e],be[we-Ne]=xl[255+Ie+Qe],be[we+0]=xl[255+$e-He],be[we+Ne]=xl[255+Le-_e]}k+=R}}function Gn(p,k,L,R,ue,pe){Ra(p,k,L,1,16,R,ue,pe)}function Cr(p,k,L,R,ue,pe){Ra(p,k,1,L,16,R,ue,pe)}function sA(p,k,L,R,ue,pe){var ye;for(ye=3;0<ye;--ye)Kl(p,k+=4*L,L,1,16,R,ue,pe)}function Yr(p,k,L,R,ue,pe){var ye;for(ye=3;0<ye;--ye)Kl(p,k+=4,1,L,16,R,ue,pe)}function iA(p,k,L,R,ue,pe,ye,me){Ra(p,k,ue,1,8,pe,ye,me),Ra(L,R,ue,1,8,pe,ye,me)}function Wn(p,k,L,R,ue,pe,ye,me){Ra(p,k,1,ue,8,pe,ye,me),Ra(L,R,1,ue,8,pe,ye,me)}function Kn(p,k,L,R,ue,pe,ye,me){Kl(p,k+4*ue,ue,1,8,pe,ye,me),Kl(L,R+4*ue,ue,1,8,pe,ye,me)}function si(p,k,L,R,ue,pe,ye,me){Kl(p,k+4,1,ue,8,pe,ye,me),Kl(L,R+4,1,ue,8,pe,ye,me)}function Jr(){this.ba=new qe,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new dt,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function jn(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function Xn(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function ii(){this.ua=0,this.Wa=new N,this.vb=new N,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new oe,this.yc=new S}function uA(){this.xb=this.a=0,this.l=new Gr,this.ca=new qe,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new m,this.Pb=0,this.wd=new m,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new ii,this.ab=0,this.gc=s(4,Xn),this.Oc=0}function Zr(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Gr,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function wr(p,k,L,R,ue,pe,ye){for(p=p==null?0:p[k+0],k=0;k<ye;++k)ue[pe+k]=p+L[R+k]&255,p=ue[pe+k]}function qn(p,k,L,R,ue,pe,ye){var me;if(p==null)wr(null,null,L,R,ue,pe,ye);else for(me=0;me<ye;++me)ue[pe+me]=p[k+me]+L[R+me]&255}function Ga(p,k,L,R,ue,pe,ye){if(p==null)wr(null,null,L,R,ue,pe,ye);else{var me,be=p[k+0],we=be,Ne=be;for(me=0;me<ye;++me)we=Ne+(be=p[k+me])-we,Ne=L[R+me]+(-256&we?0>we?0:255:we)&255,we=be,ue[pe+me]=Ne}}function Yn(p,k,L,R){var ue=k.width,pe=k.o;if(o(p!=null&&k!=null),0>L||0>=R||L+R>pe)return null;if(!p.Cc){if(p.ga==null){var ye;if(p.ga=new Zr,(ye=p.ga==null)||(ye=k.width*k.o,o(p.Gb.length==0),p.Gb=l(ye),p.Uc=0,p.Gb==null?ye=0:(p.mb=p.Gb,p.nb=p.Uc,p.rc=null,ye=1),ye=!ye),!ye){ye=p.ga;var me=p.Fa,be=p.P,we=p.qc,Ne=p.mb,Ie=p.nb,$e=be+1,Le=we-1,He=ye.l;if(o(me!=null&&Ne!=null&&k!=null),Ja[0]=null,Ja[1]=wr,Ja[2]=qn,Ja[3]=Ga,ye.ca=Ne,ye.tb=Ie,ye.c=k.width,ye.i=k.height,o(0<ye.c&&0<ye.i),1>=we)k=0;else if(ye.$a=me[be+0]>>0&3,ye.Z=me[be+0]>>2&3,ye.Lc=me[be+0]>>4&3,be=me[be+0]>>6&3,0>ye.$a||1<ye.$a||4<=ye.Z||1<ye.Lc||be)k=0;else if(He.put=Xo,He.ac=Vt,He.bc=go,He.ma=ye,He.width=k.width,He.height=k.height,He.Da=k.Da,He.v=k.v,He.va=k.va,He.j=k.j,He.o=k.o,ye.$a)e:{o(ye.$a==1),k=Il();t:for(;;){if(k==null){k=0;break e}if(o(ye!=null),ye.mc=k,k.c=ye.c,k.i=ye.i,k.l=ye.l,k.l.ma=ye,k.l.width=ye.c,k.l.height=ye.i,k.a=0,H(k.m,me,$e,Le),!da(ye.c,ye.i,1,k,null)||(k.ab==1&&k.gc[0].hc==3&&Ba(k.s)?(ye.ic=1,me=k.c*k.i,k.Ta=null,k.Ua=0,k.V=l(me),k.Ba=0,k.V==null?(k.a=1,k=0):k=1):(ye.ic=0,k=mr(k,ye.c)),!k))break t;k=1;break e}ye.mc=null,k=0}else k=Le>=ye.c*ye.i;ye=!k}if(ye)return null;p.ga.Lc!=1?p.Ga=0:R=pe-L}o(p.ga!=null),o(L+R<=pe);e:{if(k=(me=p.ga).c,pe=me.l.o,me.$a==0){if($e=p.rc,Le=p.Vc,He=p.Fa,be=p.P+1+L*k,we=p.mb,Ne=p.nb+L*k,o(be<=p.P+p.qc),me.Z!=0)for(o(Ja[me.Z]!=null),ye=0;ye<R;++ye)Ja[me.Z]($e,Le,He,be,we,Ne,k),$e=we,Le=Ne,Ne+=k,be+=k;else for(ye=0;ye<R;++ye)n(we,Ne,He,be,k),$e=we,Le=Ne,Ne+=k,be+=k;p.rc=$e,p.Vc=Le}else{if(o(me.mc!=null),k=L+R,o((ye=me.mc)!=null),o(k<=ye.i),ye.C>=k)k=1;else if(me.ic||Ee(),me.ic){me=ye.V,$e=ye.Ba,Le=ye.c;var Qe=ye.i,_e=(He=1,be=ye.$/Le,we=ye.$%Le,Ne=ye.m,Ie=ye.s,ye.$),Se=Le*Qe,De=Le*k,Re=Ie.wc,Pe=_e<De?mo(Ie,we,be):null;o(_e<=Se),o(k<=Qe),o(Ba(Ie));t:for(;;){for(;!Ne.h&&_e<De;){if(we&Re||(Pe=mo(Ie,we,be)),o(Pe!=null),J(Ne),256>(Qe=$o(Pe.G[0],Pe.H[0],Ne)))me[$e+_e]=Qe,++_e,++we>=Le&&(we=0,++be<=k&&!(be%16)&&Rl(ye,be));else{if(!(280>Qe)){He=0;break t}Qe=Ht(Qe-256,Ne);var lt,Ze=$o(Pe.G[4],Pe.H[4],Ne);if(J(Ne),!(_e>=(Ze=el(Le,Ze=Ht(Ze,Ne)))&&Se-_e>=Qe)){He=0;break t}for(lt=0;lt<Qe;++lt)me[$e+_e+lt]=me[$e+_e+lt-Ze];for(_e+=Qe,we+=Qe;we>=Le;)we-=Le,++be<=k&&!(be%16)&&Rl(ye,be);_e<De&&we&Re&&(Pe=mo(Ie,we,be))}o(Ne.h==x(Ne))}Rl(ye,be>k?k:be);break t}!He||Ne.h&&_e<Se?(He=0,ye.a=Ne.h?5:3):ye.$=_e,k=He}else k=Gl(ye,ye.V,ye.Ba,ye.c,ye.i,k,zr);if(!k){R=0;break e}}L+R>=pe&&(p.Cc=1),R=1}if(!R)return null;if(p.Cc&&((R=p.ga)!=null&&(R.mc=null),p.ga=null,0<p.Ga))return alert("todo:WebPDequantizeLevels"),null}return p.nb+L*ue}function F(p,k,L,R,ue,pe){for(;0<ue--;){var ye,me=p,be=k+(L?1:0),we=p,Ne=k+(L?0:3);for(ye=0;ye<R;++ye){var Ie=we[Ne+4*ye];Ie!=255&&(Ie*=32897,me[be+4*ye+0]=me[be+4*ye+0]*Ie>>23,me[be+4*ye+1]=me[be+4*ye+1]*Ie>>23,me[be+4*ye+2]=me[be+4*ye+2]*Ie>>23)}k+=pe}}function de(p,k,L,R,ue){for(;0<R--;){var pe;for(pe=0;pe<L;++pe){var ye=p[k+2*pe+0],me=15&(we=p[k+2*pe+1]),be=4369*me,we=(240&we|we>>4)*be>>16;p[k+2*pe+0]=(240&ye|ye>>4)*be>>16&240|(15&ye|ye<<4)*be>>16>>4&15,p[k+2*pe+1]=240&we|me}k+=ue}}function Be(p,k,L,R,ue,pe,ye,me){var be,we,Ne=255;for(we=0;we<ue;++we){for(be=0;be<R;++be){var Ie=p[k+be];pe[ye+4*be]=Ie,Ne&=Ie}k+=L,ye+=me}return Ne!=255}function Fe(p,k,L,R,ue){var pe;for(pe=0;pe<ue;++pe)L[R+pe]=p[k+pe]>>8}function Ee(){qa=F,un=de,ci=Be,id=Fe}function Te(p,k,L){b[p]=function(R,ue,pe,ye,me,be,we,Ne,Ie,$e,Le,He,Qe,_e,Se,De,Re){var Pe,lt=Re-1>>1,Ze=me[be+0]|we[Ne+0]<<16,gt=Ie[$e+0]|Le[He+0]<<16;o(R!=null);var et=3*Ze+gt+131074>>2;for(k(R[ue+0],255&et,et>>16,Qe,_e),pe!=null&&(et=3*gt+Ze+131074>>2,k(pe[ye+0],255&et,et>>16,Se,De)),Pe=1;Pe<=lt;++Pe){var Rt=me[be+Pe]|we[Ne+Pe]<<16,Yt=Ie[$e+Pe]|Le[He+Pe]<<16,Ot=Ze+Rt+gt+Yt+524296,$t=Ot+2*(Rt+gt)>>3;et=$t+Ze>>1,Ze=(Ot=Ot+2*(Ze+Yt)>>3)+Rt>>1,k(R[ue+2*Pe-1],255&et,et>>16,Qe,_e+(2*Pe-1)*L),k(R[ue+2*Pe-0],255&Ze,Ze>>16,Qe,_e+(2*Pe-0)*L),pe!=null&&(et=Ot+gt>>1,Ze=$t+Yt>>1,k(pe[ye+2*Pe-1],255&et,et>>16,Se,De+(2*Pe-1)*L),k(pe[ye+2*Pe+0],255&Ze,Ze>>16,Se,De+(2*Pe+0)*L)),Ze=Rt,gt=Yt}1&Re||(et=3*Ze+gt+131074>>2,k(R[ue+Re-1],255&et,et>>16,Qe,_e+(Re-1)*L),pe!=null&&(et=3*gt+Ze+131074>>2,k(pe[ye+Re-1],255&et,et>>16,Se,De+(Re-1)*L)))}}function je(){Vl[hi]=r1,Vl[fi]=md,Vl[fd]=n1,Vl[vi]=bd,Vl[gi]=kd,Vl[fA]=Cd,Vl[vd]=s1,Vl[vA]=md,Vl[gA]=bd,Vl[pi]=kd,Vl[pA]=Cd}function ot(p){return p&~i1?0>p?0:255:p>>wd}function ht(p,k){return ot((19077*p>>8)+(26149*k>>8)-14234)}function Bt(p,k,L){return ot((19077*p>>8)-(6419*k>>8)-(13320*L>>8)+8708)}function _t(p,k){return ot((19077*p>>8)+(33050*k>>8)-17685)}function Qt(p,k,L,R,ue){R[ue+0]=ht(p,L),R[ue+1]=Bt(p,k,L),R[ue+2]=_t(p,k)}function po(p,k,L,R,ue){R[ue+0]=_t(p,k),R[ue+1]=Bt(p,k,L),R[ue+2]=ht(p,L)}function bo(p,k,L,R,ue){var pe=Bt(p,k,L);k=pe<<3&224|_t(p,k)>>3,R[ue+0]=248&ht(p,L)|pe>>5,R[ue+1]=k}function Mo(p,k,L,R,ue){var pe=240&_t(p,k)|15;R[ue+0]=240&ht(p,L)|Bt(p,k,L)>>4,R[ue+1]=pe}function ol(p,k,L,R,ue){R[ue+0]=255,Qt(p,k,L,R,ue+1)}function Po(p,k,L,R,ue){po(p,k,L,R,ue),R[ue+3]=255}function jl(p,k,L,R,ue){Qt(p,k,L,R,ue),R[ue+3]=255}function Bl(p,k){return 0>p?0:p>k?k:p}function Na(p,k,L){b[p]=function(R,ue,pe,ye,me,be,we,Ne,Ie){for(var $e=Ne+(-2&Ie)*L;Ne!=$e;)k(R[ue+0],pe[ye+0],me[be+0],we,Ne),k(R[ue+1],pe[ye+0],me[be+0],we,Ne+L),ue+=2,++ye,++be,Ne+=2*L;1&Ie&&k(R[ue+0],pe[ye+0],me[be+0],we,Ne)}}function ui(p,k,L){return L==0?p==0?k==0?6:5:k==0?4:0:L}function Jn(p,k,L,R,ue){switch(p>>>30){case 3:nn(k,L,R,ue,0);break;case 2:rs(k,L,R,ue);break;case 1:Jl(k,L,R,ue)}}function Zn(p,k){var L,R,ue=k.M,pe=k.Nb,ye=p.oc,me=p.pc+40,be=p.oc,we=p.pc+584,Ne=p.oc,Ie=p.pc+600;for(L=0;16>L;++L)ye[me+32*L-1]=129;for(L=0;8>L;++L)be[we+32*L-1]=129,Ne[Ie+32*L-1]=129;for(0<ue?ye[me-1-32]=be[we-1-32]=Ne[Ie-1-32]=129:(r(ye,me-32-1,127,21),r(be,we-32-1,127,9),r(Ne,Ie-32-1,127,9)),R=0;R<p.za;++R){var $e=k.ya[k.aa+R];if(0<R){for(L=-1;16>L;++L)n(ye,me+32*L-4,ye,me+32*L+12,4);for(L=-1;8>L;++L)n(be,we+32*L-4,be,we+32*L+4,4),n(Ne,Ie+32*L-4,Ne,Ie+32*L+4,4)}var Le=p.Gd,He=p.Hd+R,Qe=$e.ad,_e=$e.Hc;if(0<ue&&(n(ye,me-32,Le[He].y,0,16),n(be,we-32,Le[He].f,0,8),n(Ne,Ie-32,Le[He].ea,0,8)),$e.Za){var Se=ye,De=me-32+16;for(0<ue&&(R>=p.za-1?r(Se,De,Le[He].y[15],4):n(Se,De,Le[He+1].y,0,4)),L=0;4>L;L++)Se[De+128+L]=Se[De+256+L]=Se[De+384+L]=Se[De+0+L];for(L=0;16>L;++L,_e<<=2)Se=ye,De=me+xd[L],Zl[$e.Ob[L]](Se,De),Jn(_e,Qe,16*+L,Se,De)}else if(Se=ui(R,ue,$e.Ob[0]),Ya[Se](ye,me),_e!=0)for(L=0;16>L;++L,_e<<=2)Jn(_e,Qe,16*+L,ye,me+xd[L]);for(L=$e.Gc,Se=ui(R,ue,$e.Dd),Ia[Se](be,we),Ia[Se](Ne,Ie),_e=Qe,Se=be,De=we,255&($e=L>>0)&&(170&$e?ja(_e,256,Se,De):Sa(_e,256,Se,De)),$e=Ne,_e=Ie,255&(L>>=8)&&(170&L?ja(Qe,320,$e,_e):Sa(Qe,320,$e,_e)),ue<p.Ub-1&&(n(Le[He].y,0,ye,me+480,16),n(Le[He].f,0,be,we+224,8),n(Le[He].ea,0,Ne,Ie+224,8)),L=8*pe*p.B,Le=p.sa,He=p.ta+16*R+16*pe*p.R,Qe=p.qa,$e=p.ra+8*R+L,_e=p.Ha,Se=p.Ia+8*R+L,L=0;16>L;++L)n(Le,He+L*p.R,ye,me+32*L,16);for(L=0;8>L;++L)n(Qe,$e+L*p.B,be,we+32*L,8),n(_e,Se+L*p.B,Ne,Ie+32*L,8)}}function en(p,k,L,R,ue,pe,ye,me,be){var we=[0],Ne=[0],Ie=0,$e=be!=null?be.kd:0,Le=be??new jn;if(p==null||12>L)return 7;Le.data=p,Le.w=k,Le.ha=L,k=[k],L=[L],Le.gb=[Le.gb];e:{var He=k,Qe=L,_e=Le.gb;if(o(p!=null),o(Qe!=null),o(_e!=null),_e[0]=0,12<=Qe[0]&&!a(p,He[0],"RIFF")){if(a(p,He[0]+8,"WEBP")){_e=3;break e}var Se=D(p,He[0]+4);if(12>Se||4294967286<Se){_e=3;break e}if($e&&Se>Qe[0]-8){_e=7;break e}_e[0]=Se,He[0]+=12,Qe[0]-=12}_e=0}if(_e!=0)return _e;for(Se=0<Le.gb[0],L=L[0];;){e:{var De=p;Qe=k,_e=L;var Re=we,Pe=Ne,lt=He=[0];if((et=Ie=[Ie])[0]=0,8>_e[0])_e=7;else{if(!a(De,Qe[0],"VP8X")){if(D(De,Qe[0]+4)!=10){_e=3;break e}if(18>_e[0]){_e=7;break e}var Ze=D(De,Qe[0]+8),gt=1+z(De,Qe[0]+12);if(2147483648<=gt*(De=1+z(De,Qe[0]+15))){_e=3;break e}lt!=null&&(lt[0]=Ze),Re!=null&&(Re[0]=gt),Pe!=null&&(Pe[0]=De),Qe[0]+=18,_e[0]-=18,et[0]=1}_e=0}}if(Ie=Ie[0],He=He[0],_e!=0)return _e;if(Qe=!!(2&He),!Se&&Ie)return 3;if(pe!=null&&(pe[0]=!!(16&He)),ye!=null&&(ye[0]=Qe),me!=null&&(me[0]=0),ye=we[0],He=Ne[0],Ie&&Qe&&be==null){_e=0;break}if(4>L){_e=7;break}if(Se&&Ie||!Se&&!Ie&&!a(p,k[0],"ALPH")){L=[L],Le.na=[Le.na],Le.P=[Le.P],Le.Sa=[Le.Sa];e:{Ze=p,_e=k,Se=L;var et=Le.gb;Re=Le.na,Pe=Le.P,lt=Le.Sa,gt=22,o(Ze!=null),o(Se!=null),De=_e[0];var Rt=Se[0];for(o(Re!=null),o(lt!=null),Re[0]=null,Pe[0]=null,lt[0]=0;;){if(_e[0]=De,Se[0]=Rt,8>Rt){_e=7;break e}var Yt=D(Ze,De+4);if(4294967286<Yt){_e=3;break e}var Ot=8+Yt+1&-2;if(gt+=Ot,0<et&&gt>et){_e=3;break e}if(!a(Ze,De,"VP8 ")||!a(Ze,De,"VP8L")){_e=0;break e}if(Rt[0]<Ot){_e=7;break e}a(Ze,De,"ALPH")||(Re[0]=Ze,Pe[0]=De+8,lt[0]=Yt),De+=Ot,Rt-=Ot}}if(L=L[0],Le.na=Le.na[0],Le.P=Le.P[0],Le.Sa=Le.Sa[0],_e!=0)break}L=[L],Le.Ja=[Le.Ja],Le.xa=[Le.xa];e:if(et=p,_e=k,Se=L,Re=Le.gb[0],Pe=Le.Ja,lt=Le.xa,Ze=_e[0],De=!a(et,Ze,"VP8 "),gt=!a(et,Ze,"VP8L"),o(et!=null),o(Se!=null),o(Pe!=null),o(lt!=null),8>Se[0])_e=7;else{if(De||gt){if(et=D(et,Ze+4),12<=Re&&et>Re-12){_e=3;break e}if($e&&et>Se[0]-8){_e=7;break e}Pe[0]=et,_e[0]+=8,Se[0]-=8,lt[0]=gt}else lt[0]=5<=Se[0]&&et[Ze+0]==47&&!(et[Ze+4]>>5),Pe[0]=Se[0];_e=0}if(L=L[0],Le.Ja=Le.Ja[0],Le.xa=Le.xa[0],k=k[0],_e!=0)break;if(4294967286<Le.Ja)return 3;if(me==null||Qe||(me[0]=Le.xa?2:1),ye=[ye],He=[He],Le.xa){if(5>L){_e=7;break}me=ye,$e=He,Qe=pe,p==null||5>L?p=0:5<=L&&p[k+0]==47&&!(p[k+4]>>5)?(Se=[0],et=[0],Re=[0],H(Pe=new m,p,k,L),ut(Pe,Se,et,Re)?(me!=null&&(me[0]=Se[0]),$e!=null&&($e[0]=et[0]),Qe!=null&&(Qe[0]=Re[0]),p=1):p=0):p=0}else{if(10>L){_e=7;break}me=He,p==null||10>L||!Ks(p,k+3,L-3)?p=0:($e=p[k+0]|p[k+1]<<8|p[k+2]<<16,Qe=16383&(p[k+7]<<8|p[k+6]),p=16383&(p[k+9]<<8|p[k+8]),1&$e||3<($e>>1&7)||!($e>>4&1)||$e>>5>=Le.Ja||!Qe||!p?p=0:(ye&&(ye[0]=Qe),me&&(me[0]=p),p=1))}if(!p||(ye=ye[0],He=He[0],Ie&&(we[0]!=ye||Ne[0]!=He)))return 3;be!=null&&(be[0]=Le,be.offset=k-be.w,o(4294967286>k-be.w),o(be.offset==be.ha-L));break}return _e==0||_e==7&&Ie&&be==null?(pe!=null&&(pe[0]|=Le.na!=null&&0<Le.na.length),R!=null&&(R[0]=ye),ue!=null&&(ue[0]=He),0):_e}function es(p,k,L){var R=k.width,ue=k.height,pe=0,ye=0,me=R,be=ue;if(k.Da=p!=null&&0<p.Da,k.Da&&(me=p.cd,be=p.bd,pe=p.v,ye=p.j,11>L||(pe&=-2,ye&=-2),0>pe||0>ye||0>=me||0>=be||pe+me>R||ye+be>ue))return 0;if(k.v=pe,k.j=ye,k.va=pe+me,k.o=ye+be,k.U=me,k.T=be,k.da=p!=null&&0<p.da,k.da){if(!j(me,be,L=[p.ib],pe=[p.hb]))return 0;k.ib=L[0],k.hb=pe[0]}return k.ob=p!=null&&p.ob,k.Kb=p==null||!p.Sd,k.da&&(k.ob=k.ib<3*R/4&&k.hb<3*ue/4,k.Kb=0),1}function ts(p){if(p==null)return 2;if(11>p.S){var k=p.f.RGBA;k.fb+=(p.height-1)*k.A,k.A=-k.A}else k=p.f.kb,p=p.height,k.O+=(p-1)*k.fa,k.fa=-k.fa,k.N+=(p-1>>1)*k.Ab,k.Ab=-k.Ab,k.W+=(p-1>>1)*k.Db,k.Db=-k.Db,k.F!=null&&(k.J+=(p-1)*k.lb,k.lb=-k.lb);return 0}function tn(p,k,L,R){if(R==null||0>=p||0>=k)return 2;if(L!=null){if(L.Da){var ue=L.cd,pe=L.bd,ye=-2&L.v,me=-2&L.j;if(0>ye||0>me||0>=ue||0>=pe||ye+ue>p||me+pe>k)return 2;p=ue,k=pe}if(L.da){if(!j(p,k,ue=[L.ib],pe=[L.hb]))return 2;p=ue[0],k=pe[0]}}R.width=p,R.height=k;e:{var be=R.width,we=R.height;if(p=R.S,0>=be||0>=we||!(p>=hi&&13>p))p=2;else{if(0>=R.Rd&&R.sd==null){ye=pe=ue=k=0;var Ne=(me=be*Fd[p])*we;if(11>p||(pe=(we+1)/2*(k=(be+1)/2),p==12&&(ye=(ue=be)*we)),(we=l(Ne+2*pe+ye))==null){p=1;break e}R.sd=we,11>p?((be=R.f.RGBA).eb=we,be.fb=0,be.A=me,be.size=Ne):((be=R.f.kb).y=we,be.O=0,be.fa=me,be.Fd=Ne,be.f=we,be.N=0+Ne,be.Ab=k,be.Cd=pe,be.ea=we,be.W=0+Ne+pe,be.Db=k,be.Ed=pe,p==12&&(be.F=we,be.J=0+Ne+2*pe),be.Tc=ye,be.lb=ue)}if(k=1,ue=R.S,pe=R.width,ye=R.height,ue>=hi&&13>ue)if(11>ue)p=R.f.RGBA,k&=(me=Math.abs(p.A))*(ye-1)+pe<=p.size,k&=me>=pe*Fd[ue],k&=p.eb!=null;else{p=R.f.kb,me=(pe+1)/2,Ne=(ye+1)/2,be=Math.abs(p.fa),we=Math.abs(p.Ab);var Ie=Math.abs(p.Db),$e=Math.abs(p.lb),Le=$e*(ye-1)+pe;k&=be*(ye-1)+pe<=p.Fd,k&=we*(Ne-1)+me<=p.Cd,k=(k&=Ie*(Ne-1)+me<=p.Ed)&be>=pe&we>=me&Ie>=me,k&=p.y!=null,k&=p.f!=null,k&=p.ea!=null,ue==12&&(k&=$e>=pe,k&=Le<=p.Tc,k&=p.F!=null)}else k=0;p=k?0:2}}return p!=0||L!=null&&L.fd&&(p=ts(R)),p}var vl=64,on=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],ln=24,an=32,os=8,gl=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];re("Predictor0","PredictorAdd0"),b.Predictor0=function(){return 4278190080},b.Predictor1=function(p){return p},b.Predictor2=function(p,k,L){return k[L+0]},b.Predictor3=function(p,k,L){return k[L+1]},b.Predictor4=function(p,k,L){return k[L-1]},b.Predictor5=function(p,k,L){return G(G(p,k[L+1]),k[L+0])},b.Predictor6=function(p,k,L){return G(p,k[L-1])},b.Predictor7=function(p,k,L){return G(p,k[L+0])},b.Predictor8=function(p,k,L){return G(k[L-1],k[L+0])},b.Predictor9=function(p,k,L){return G(k[L+0],k[L+1])},b.Predictor10=function(p,k,L){return G(G(p,k[L-1]),G(k[L+0],k[L+1]))},b.Predictor11=function(p,k,L){var R=k[L+0];return 0>=se(R>>24&255,p>>24&255,(k=k[L-1])>>24&255)+se(R>>16&255,p>>16&255,k>>16&255)+se(R>>8&255,p>>8&255,k>>8&255)+se(255&R,255&p,255&k)?R:p},b.Predictor12=function(p,k,L){var R=k[L+0];return(ne((p>>24&255)+(R>>24&255)-((k=k[L-1])>>24&255))<<24|ne((p>>16&255)+(R>>16&255)-(k>>16&255))<<16|ne((p>>8&255)+(R>>8&255)-(k>>8&255))<<8|ne((255&p)+(255&R)-(255&k)))>>>0},b.Predictor13=function(p,k,L){var R=k[L-1];return(Ae((p=G(p,k[L+0]))>>24&255,R>>24&255)<<24|Ae(p>>16&255,R>>16&255)<<16|Ae(p>>8&255,R>>8&255)<<8|Ae(p>>0&255,R>>0&255))>>>0};var AA=b.PredictorAdd0;b.PredictorAdd1=ve,re("Predictor2","PredictorAdd2"),re("Predictor3","PredictorAdd3"),re("Predictor4","PredictorAdd4"),re("Predictor5","PredictorAdd5"),re("Predictor6","PredictorAdd6"),re("Predictor7","PredictorAdd7"),re("Predictor8","PredictorAdd8"),re("Predictor9","PredictorAdd9"),re("Predictor10","PredictorAdd10"),re("Predictor11","PredictorAdd11"),re("Predictor12","PredictorAdd12"),re("Predictor13","PredictorAdd13");var ls=b.PredictorAdd2;Ye("ColorIndexInverseTransform","MapARGB","32b",function(p){return p>>8&255},function(p){return p}),Ye("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(p){return p},function(p){return p>>8&255});var Ai,Xl=b.ColorIndexInverseTransform,as=b.MapARGB,cA=b.VP8LColorIndexInverseTransformAlpha,dA=b.MapAlpha,Wa=b.VP8LPredictorsAdd=[];Wa.length=16,(b.VP8LPredictors=[]).length=16,(b.VP8LPredictorsAdd_C=[]).length=16,(b.VP8LPredictors_C=[]).length=16;var $l,ql,Ka,fa,_a,rn,Yl,nn,rs,ja,Jl,Sa,Br,sn,xr,Xa,ns,Ml,La,io,uo,No,zo,Ea,qa,un,ci,id,ud=l(511),Ad=l(2041),cd=l(225),dd=l(767),hd=0,hA=Ad,di=cd,xl=dd,Ul=ud,hi=0,fi=1,fd=2,vi=3,gi=4,fA=5,vd=6,vA=7,gA=8,pi=9,pA=10,Gg=[2,3,7],Wg=[3,3,11],gd=[280,256,256,256,40],Kg=[0,1,1,1,0],jg=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Xg=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],qg=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Yg=8,yA=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],mA=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],ss=null,Jg=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Zg=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],pd=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],e1=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],t1=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],o1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],l1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ya=[],Zl=[],Ia=[],a1=1,yd=2,Ja=[],Vl=[];Te("UpsampleRgbLinePair",Qt,3),Te("UpsampleBgrLinePair",po,3),Te("UpsampleRgbaLinePair",jl,4),Te("UpsampleBgraLinePair",Po,4),Te("UpsampleArgbLinePair",ol,4),Te("UpsampleRgba4444LinePair",Mo,2),Te("UpsampleRgb565LinePair",bo,2);var r1=b.UpsampleRgbLinePair,n1=b.UpsampleBgrLinePair,md=b.UpsampleRgbaLinePair,bd=b.UpsampleBgraLinePair,kd=b.UpsampleArgbLinePair,Cd=b.UpsampleRgba4444LinePair,s1=b.UpsampleRgb565LinePair,yi=16,mi=1<<yi-1,is=-227,bA=482,wd=6,i1=(256<<wd)-1,Bd=0,u1=l(256),A1=l(256),c1=l(256),d1=l(256),h1=l(bA-is),f1=l(bA-is);Na("YuvToRgbRow",Qt,3),Na("YuvToBgrRow",po,3),Na("YuvToRgbaRow",jl,4),Na("YuvToBgraRow",Po,4),Na("YuvToArgbRow",ol,4),Na("YuvToRgba4444Row",Mo,2),Na("YuvToRgb565Row",bo,2);var xd=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],bi=[0,2,8],v1=[8,7,6,4,4,2,2,2,1,1,1,1],g1=1;this.WebPDecodeRGBA=function(p,k,L,R,ue){var pe=fi,ye=new Jr,me=new qe;ye.ba=me,me.S=pe,me.width=[me.width],me.height=[me.height];var be=me.width,we=me.height,Ne=new mt;if(Ne==null||p==null)var Ie=2;else o(Ne!=null),Ie=en(p,k,L,Ne.width,Ne.height,Ne.Pd,Ne.Qd,Ne.format,null);if(Ie!=0?be=0:(be!=null&&(be[0]=Ne.width[0]),we!=null&&(we[0]=Ne.height[0]),be=1),be){me.width=me.width[0],me.height=me.height[0],R!=null&&(R[0]=me.width),ue!=null&&(ue[0]=me.height);e:{if(R=new Gr,(ue=new jn).data=p,ue.w=k,ue.ha=L,ue.kd=1,k=[0],o(ue!=null),((p=en(ue.data,ue.w,ue.ha,null,null,null,k,null,ue))==0||p==7)&&k[0]&&(p=4),(k=p)==0){if(o(ye!=null),R.data=ue.data,R.w=ue.w+ue.offset,R.ha=ue.ha-ue.offset,R.put=Xo,R.ac=Vt,R.bc=go,R.ma=ye,ue.xa){if((p=Il())==null){ye=1;break e}if(function($e,Le){var He=[0],Qe=[0],_e=[0];t:for(;;){if($e==null)return 0;if(Le==null)return $e.a=2,0;if($e.l=Le,$e.a=0,H($e.m,Le.data,Le.w,Le.ha),!ut($e.m,He,Qe,_e)){$e.a=3;break t}if($e.xb=yd,Le.width=He[0],Le.height=Qe[0],!da(He[0],Qe[0],1,$e,null))break t;return 1}return o($e.a!=0),0}(p,R)){if(R=(k=tn(R.width,R.height,ye.Oa,ye.ba))==0){t:{R=p;o:for(;;){if(R==null){R=0;break t}if(o(R.s.yc!=null),o(R.s.Ya!=null),o(0<R.s.Wb),o((L=R.l)!=null),o((ue=L.ma)!=null),R.xb!=0){if(R.ca=ue.ba,R.tb=ue.tb,o(R.ca!=null),!es(ue.Oa,L,vi)){R.a=2;break o}if(!mr(R,L.width)||L.da)break o;if((L.da||Ut(R.ca.S))&&Ee(),11>R.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),R.ca.f.kb.F!=null&&Ee()),R.Pb&&0<R.s.ua&&R.s.vb.X==null&&!fe(R.s.vb,R.s.Wa.Xa)){R.a=1;break o}R.xb=0}if(!Gl(R,R.V,R.Ba,R.c,R.i,L.o,Or))break o;ue.Dc=R.Ma,R=1;break t}o(R.a!=0),R=0}R=!R}R&&(k=p.a)}else k=p.a}else{if((p=new Gu)==null){ye=1;break e}if(p.Fa=ue.na,p.P=ue.P,p.qc=ue.Sa,js(p,R)){if((k=tn(R.width,R.height,ye.Oa,ye.ba))==0){if(p.Aa=0,L=ye.Oa,o((ue=p)!=null),L!=null){if(0<(be=0>(be=L.Md)?0:100<be?255:255*be/100)){for(we=Ne=0;4>we;++we)12>(Ie=ue.pb[we]).lc&&(Ie.ia=be*v1[0>Ie.lc?0:Ie.lc]>>3),Ne|=Ie.ia;Ne&&(alert("todo:VP8InitRandom"),ue.ia=1)}ue.Ga=L.Id,100<ue.Ga?ue.Ga=100:0>ue.Ga&&(ue.Ga=0)}Wu(p,R)||(k=p.a)}}else k=p.a}k==0&&ye.Oa!=null&&ye.Oa.fd&&(k=ts(ye.ba))}ye=k}pe=ye!=0?null:11>pe?me.f.RGBA.eb:me.f.kb.y}else pe=null;return pe};var Fd=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function f(b,T){for(var Y="",$=0;$<4;$++)Y+=String.fromCharCode(b[T++]);return Y}function c(b,T){return(b[T+0]<<0|b[T+1]<<8|b[T+2]<<16)>>>0}function y(b,T){return(b[T+0]<<0|b[T+1]<<8|b[T+2]<<16|b[T+3]<<24)>>>0}new h;var C=[0],A=[0],B=[],v=new h,i=t,g=function(b,T){var Y={},$=0,S=!1,W=0,oe=0;if(Y.frames=[],!function(_,x,V,J){for(var ke=0;ke<J;ke++)if(_[x+ke]!=V.charCodeAt(ke))return!0;return!1}(b,T,"RIFF",4)){var te,he;for(y(b,T+=4),T+=8;T<b.length;){var le=f(b,T),H=y(b,T+=4);T+=4;var P=H+(1&H);switch(le){case"VP8 ":case"VP8L":Y.frames[$]===void 0&&(Y.frames[$]={}),(m=Y.frames[$]).src_off=S?oe:T-8,m.src_size=W+H+8,$++,S&&(S=!1,W=0,oe=0);break;case"VP8X":(m=Y.header={}).feature_flags=b[T];var X=T+4;m.canvas_width=1+c(b,X),X+=3,m.canvas_height=1+c(b,X),X+=3;break;case"ALPH":S=!0,W=P+8,oe=T-8;break;case"ANIM":(m=Y.header).bgcolor=y(b,T),X=T+4,m.loop_count=(te=b)[(he=X)+0]<<0|te[he+1]<<8,X+=2;break;case"ANMF":var q,m;(m=Y.frames[$]={}).offset_x=2*c(b,T),T+=3,m.offset_y=2*c(b,T),T+=3,m.width=1+c(b,T),T+=3,m.height=1+c(b,T),T+=3,m.duration=c(b,T),T+=3,q=b[T++],m.dispose=1&q,m.blend=q>>1&1}le!="ANMF"&&(T+=P)}return Y}}(i,0);g.response=i,g.rgbaoutput=!0,g.dataurl=!1;var w=g.header?g.header:null,U=g.frames?g.frames:null;if(w){w.loop_counter=w.loop_count,C=[w.canvas_height],A=[w.canvas_width];for(var I=0;I<U.length&&U[I].blend!=0;I++);}var Q=U[0],K=v.WebPDecodeRGBA(i,Q.src_off,Q.src_size,A,C);Q.rgba=K,Q.imgwidth=A[0],Q.imgheight=C[0];for(var E=0;E<A[0]*C[0]*4;E++)B[E]=K[E];return this.width=A,this.height=C,this.data=B,this}(function(t){var o=function(){return typeof Vc=="function"},a=function(C,A,B,v){var i=4,g=s;switch(v){case t.image_compression.FAST:i=1,g=l;break;case t.image_compression.MEDIUM:i=6,g=u;break;case t.image_compression.SLOW:i=9,g=h}C=n(C,A,B,g);var w=Vc(C,{level:i});return t.__addimage__.arrayBufferToBinaryString(w)},n=function(C,A,B,v){for(var i,g,w,U=C.length/A,I=new Uint8Array(C.length+U),Q=c(),K=0;K<U;K+=1){if(w=K*A,i=C.subarray(w,w+A),v)I.set(v(i,B,g),w+K);else{for(var E,b=Q.length,T=[];E<b;E+=1)T[E]=Q[E](i,B,g);var Y=y(T.concat());I.set(T[Y],w+K)}g=i}return I},r=function(C){var A=Array.apply([],C);return A.unshift(0),A},l=function(C,A){var B,v=[],i=C.length;v[0]=1;for(var g=0;g<i;g+=1)B=C[g-A]||0,v[g+1]=C[g]-B+256&255;return v},s=function(C,A,B){var v,i=[],g=C.length;i[0]=2;for(var w=0;w<g;w+=1)v=B&&B[w]||0,i[w+1]=C[w]-v+256&255;return i},u=function(C,A,B){var v,i,g=[],w=C.length;g[0]=3;for(var U=0;U<w;U+=1)v=C[U-A]||0,i=B&&B[U]||0,g[U+1]=C[U]+256-(v+i>>>1)&255;return g},h=function(C,A,B){var v,i,g,w,U=[],I=C.length;U[0]=4;for(var Q=0;Q<I;Q+=1)v=C[Q-A]||0,i=B&&B[Q]||0,g=B&&B[Q-A]||0,w=f(v,i,g),U[Q+1]=C[Q]-w+256&255;return U},f=function(C,A,B){if(C===A&&A===B)return C;var v=Math.abs(A-B),i=Math.abs(C-B),g=Math.abs(C+A-B-B);return v<=i&&v<=g?C:i<=g?A:B},c=function(){return[r,l,s,u,h]},y=function(C){var A=C.map(function(B){return B.reduce(function(v,i){return v+Math.abs(i)},0)});return A.indexOf(Math.min.apply(null,A))};t.processPNG=function(C,A,B,v){var i,g,w,U,I,Q,K,E,b,T,Y,$,S,W,oe,te=this.decode.FLATE_DECODE,he="";if(this.__addimage__.isArrayBuffer(C)&&(C=new Uint8Array(C)),this.__addimage__.isArrayBufferView(C)){if(C=(w=new Ik(C)).imgData,g=w.bits,i=w.colorSpace,I=w.colors,[4,6].indexOf(w.colorType)!==-1){if(w.bits===8){b=(E=w.pixelBitlength==32?new Uint32Array(w.decodePixels().buffer):w.pixelBitlength==16?new Uint16Array(w.decodePixels().buffer):new Uint8Array(w.decodePixels().buffer)).length,Y=new Uint8Array(b*w.colors),T=new Uint8Array(b);var le,H=w.pixelBitlength-w.bits;for(W=0,oe=0;W<b;W++){for(S=E[W],le=0;le<H;)Y[oe++]=S>>>le&255,le+=w.bits;T[W]=S>>>le&255}}if(w.bits===16){b=(E=new Uint32Array(w.decodePixels().buffer)).length,Y=new Uint8Array(b*(32/w.pixelBitlength)*w.colors),T=new Uint8Array(b*(32/w.pixelBitlength)),$=w.colors>1,W=0,oe=0;for(var P=0;W<b;)S=E[W++],Y[oe++]=S>>>0&255,$&&(Y[oe++]=S>>>16&255,S=E[W++],Y[oe++]=S>>>0&255),T[P++]=S>>>16&255;g=8}v!==t.image_compression.NONE&&o()?(C=a(Y,w.width*w.colors,w.colors,v),K=a(T,w.width,1,v)):(C=Y,K=T,te=void 0)}if(w.colorType===3&&(i=this.color_spaces.INDEXED,Q=w.palette,w.transparency.indexed)){var X=w.transparency.indexed,q=0;for(W=0,b=X.length;W<b;++W)q+=X[W];if((q/=255)===b-1&&X.indexOf(0)!==-1)U=[X.indexOf(0)];else if(q!==b){for(E=w.decodePixels(),T=new Uint8Array(E.length),W=0,b=E.length;W<b;W++)T[W]=X[E[W]];K=a(T,w.width,1)}}var m=function(_){var x;switch(_){case t.image_compression.FAST:x=11;break;case t.image_compression.MEDIUM:x=13;break;case t.image_compression.SLOW:x=14;break;default:x=12}return x}(v);return te===this.decode.FLATE_DECODE&&(he="/Predictor "+m+" "),he+="/Colors "+I+" /BitsPerComponent "+g+" /Columns "+w.width,(this.__addimage__.isArrayBuffer(C)||this.__addimage__.isArrayBufferView(C))&&(C=this.__addimage__.arrayBufferToBinaryString(C)),(K&&this.__addimage__.isArrayBuffer(K)||this.__addimage__.isArrayBufferView(K))&&(K=this.__addimage__.arrayBufferToBinaryString(K)),{alias:B,data:C,index:A,filter:te,decodeParameters:he,transparency:U,palette:Q,sMask:K,predictor:m,width:w.width,height:w.height,bitsPerComponent:g,colorSpace:i}}}})(pt.API),function(t){t.processGIF89A=function(o,a,n,r){var l=new $k(o),s=l.width,u=l.height,h=[];l.decodeAndBlitFrameRGBA(0,h);var f={data:h,width:s,height:u},c=new rc(100).encode(f,100);return t.processJPEG.call(this,c,a,n,r)},t.processGIF87A=t.processGIF89A}(pt.API),oa.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var o=0;o<t;o++){var a=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),l=this.datav.getUint8(this.pos++,!0);this.palette[o]={red:r,green:n,blue:a,quad:l}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},oa.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP,o=this.width*this.height*4;this.data=new Uint8Array(o),this[t]()}catch(a){no.log("bit decode error:"+a)}},oa.prototype.bit1=function(){var t,o=Math.ceil(this.width/8),a=o%4;for(t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<o;r++)for(var l=this.datav.getUint8(this.pos++,!0),s=n*this.width*4+8*r*4,u=0;u<8&&8*r+u<this.width;u++){var h=this.palette[l>>7-u&1];this.data[s+4*u]=h.blue,this.data[s+4*u+1]=h.green,this.data[s+4*u+2]=h.red,this.data[s+4*u+3]=255}a!==0&&(this.pos+=4-a)}},oa.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),o=t%4,a=this.height-1;a>=0;a--){for(var n=this.bottom_up?a:this.height-1-a,r=0;r<t;r++){var l=this.datav.getUint8(this.pos++,!0),s=n*this.width*4+2*r*4,u=l>>4,h=15&l,f=this.palette[u];if(this.data[s]=f.blue,this.data[s+1]=f.green,this.data[s+2]=f.red,this.data[s+3]=255,2*r+1>=this.width)break;f=this.palette[h],this.data[s+4]=f.blue,this.data[s+4+1]=f.green,this.data[s+4+2]=f.red,this.data[s+4+3]=255}o!==0&&(this.pos+=4-o)}},oa.prototype.bit8=function(){for(var t=this.width%4,o=this.height-1;o>=0;o--){for(var a=this.bottom_up?o:this.height-1-o,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),l=a*this.width*4+4*n;if(r<this.palette.length){var s=this.palette[r];this.data[l]=s.red,this.data[l+1]=s.green,this.data[l+2]=s.blue,this.data[l+3]=255}else this.data[l]=255,this.data[l+1]=255,this.data[l+2]=255,this.data[l+3]=255}t!==0&&(this.pos+=4-t)}},oa.prototype.bit15=function(){for(var t=this.width%3,o=parseInt("11111",2),a=this.height-1;a>=0;a--){for(var n=this.bottom_up?a:this.height-1-a,r=0;r<this.width;r++){var l=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(l&o)/o*255|0,u=(l>>5&o)/o*255|0,h=(l>>10&o)/o*255|0,f=l>>15?255:0,c=n*this.width*4+4*r;this.data[c]=h,this.data[c+1]=u,this.data[c+2]=s,this.data[c+3]=f}this.pos+=t}},oa.prototype.bit16=function(){for(var t=this.width%3,o=parseInt("11111",2),a=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,l=0;l<this.width;l++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var u=(s&o)/o*255|0,h=(s>>5&a)/a*255|0,f=(s>>11)/o*255|0,c=r*this.width*4+4*l;this.data[c]=f,this.data[c+1]=h,this.data[c+2]=u,this.data[c+3]=255}this.pos+=t}},oa.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var o=this.bottom_up?t:this.height-1-t,a=0;a<this.width;a++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),l=this.datav.getUint8(this.pos++,!0),s=o*this.width*4+4*a;this.data[s]=l,this.data[s+1]=r,this.data[s+2]=n,this.data[s+3]=255}this.pos+=this.width%4}},oa.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var o=this.bottom_up?t:this.height-1-t,a=0;a<this.width;a++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),l=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),u=o*this.width*4+4*a;this.data[u]=l,this.data[u+1]=r,this.data[u+2]=n,this.data[u+3]=s}},oa.prototype.getData=function(){return this.data},function(t){t.processBMP=function(o,a,n,r){var l=new oa(o,!1),s=l.width,u=l.height,h={data:l.getData(),width:s,height:u},f=new rc(100).encode(h,100);return t.processJPEG.call(this,f,a,n,r)}}(pt.API),rf.prototype.getData=function(){return this.data},function(t){t.processWEBP=function(o,a,n,r){var l=new rf(o),s=l.width,u=l.height,h={data:l.getData(),width:s,height:u},f=new rc(100).encode(h,100);return t.processJPEG.call(this,f,a,n,r)}}(pt.API),pt.API.processRGBA=function(t,o,a){for(var n=t.data,r=n.length,l=new Uint8Array(r/4*3),s=new Uint8Array(r/4),u=0,h=0,f=0;f<r;f+=4){var c=n[f],y=n[f+1],C=n[f+2],A=n[f+3];l[u++]=c,l[u++]=y,l[u++]=C,s[h++]=A}var B=this.__addimage__.arrayBufferToBinaryString(l);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:B,index:o,alias:a,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},pt.API.setLanguage=function(t){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]!==void 0&&(this.internal.languageSettings.languageCode=t,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},kn=pt.API,lu=kn.getCharWidthsArray=function(t,o){var a,n,r=(o=o||{}).font||this.internal.getFont(),l=o.fontSize||this.internal.getFontSize(),s=o.charSpace||this.internal.getCharSpace(),u=o.widths?o.widths:r.metadata.Unicode.widths,h=u.fof?u.fof:1,f=o.kerning?o.kerning:r.metadata.Unicode.kerning,c=f.fof?f.fof:1,y=o.doKerning!==!1,C=0,A=t.length,B=0,v=u[0]||h,i=[];for(a=0;a<A;a++)n=t.charCodeAt(a),typeof r.metadata.widthOfString=="function"?i.push((r.metadata.widthOfGlyph(r.metadata.characterToGlyph(n))+s*(1e3/l)||0)/1e3):(C=y&&jt(f[n])==="object"&&!isNaN(parseInt(f[n][B],10))?f[n][B]/c:0,i.push((u[n]||v)/h+C)),B=n;return i},tf=kn.getStringUnitWidth=function(t,o){var a=(o=o||{}).fontSize||this.internal.getFontSize(),n=o.font||this.internal.getFont(),r=o.charSpace||this.internal.getCharSpace();return kn.processArabic&&(t=kn.processArabic(t)),typeof n.metadata.widthOfString=="function"?n.metadata.widthOfString(t,a,r)/a:lu.apply(this,arguments).reduce(function(l,s){return l+s},0)},of=function(t,o,a,n){for(var r=[],l=0,s=t.length,u=0;l!==s&&u+o[l]<a;)u+=o[l],l++;r.push(t.slice(0,l));var h=l;for(u=0;l!==s;)u+o[l]>n&&(r.push(t.slice(h,l)),u=0,h=l),u+=o[l],l++;return h!==l&&r.push(t.slice(h,l)),r},lf=function(t,o,a){a||(a={});var n,r,l,s,u,h,f,c=[],y=[c],C=a.textIndent||0,A=0,B=0,v=t.split(" "),i=lu.apply(this,[" ",a])[0];if(h=a.lineIndent===-1?v[0].length+2:a.lineIndent||0){var g=Array(h).join(" "),w=[];v.map(function(I){(I=I.split(/\s*\n/)).length>1?w=w.concat(I.map(function(Q,K){return(K&&Q.length?`
234
234
  `:"")+Q})):w.push(I[0])}),v=w,h=tf.apply(this,[g,a])}for(l=0,s=v.length;l<s;l++){var U=0;if(n=v[l],h&&n[0]==`
235
- `&&(n=n.substr(1),U=1),C+A+(B=(r=lu.apply(this,[n,a])).reduce(function(I,Q){return I+Q},0))>o||U){if(B>o){for(u=of.apply(this,[n,r,o-(C+A),o]),c.push(u.shift()),c=[u.pop()];u.length;)y.push([u.shift()]);B=r.slice(n.length-(c[0]?c[0].length:0)).reduce(function(I,Q){return I+Q},0)}else c=[n];y.push(c),C=B+h,A=i}else c.push(n),C+=A+B,A=i}return f=h?function(I,Q){return(Q?g:"")+I.join(" ")}:function(I){return I.join(" ")},y.map(f)},kn.splitTextToSize=function(t,o,a){var n,r=(a=a||{}).fontSize||this.internal.getFontSize(),l=(function(c){if(c.widths&&c.kerning)return{widths:c.widths,kerning:c.kerning};var y=this.internal.getFont(c.fontName,c.fontStyle);return y.metadata.Unicode?{widths:y.metadata.Unicode.widths||{0:1},kerning:y.metadata.Unicode.kerning||{}}:{font:y.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,a);n=Array.isArray(t)?t:String(t).split(/\r?\n/);var s=1*this.internal.scaleFactor*o/r;l.textIndent=a.textIndent?1*a.textIndent*this.internal.scaleFactor/r:0,l.lineIndent=a.lineIndent;var u,h,f=[];for(u=0,h=n.length;u<h;u++)f=f.concat(lf.apply(this,[n[u],s,l]));return f},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var o="klmnopqrstuvwxyz",a={},n={},r=0;r<o.length;r++)a[o[r]]="0123456789abcdef"[r],n["0123456789abcdef"[r]]=o[r];var l=function(y){return"0x"+parseInt(y,10).toString(16)},s=t.__fontmetrics__.compress=function(y){var C,A,B,v,i=["{"];for(var g in y){if(C=y[g],isNaN(parseInt(g,10))?A="'"+g+"'":(g=parseInt(g,10),A=(A=l(g).slice(2)).slice(0,-1)+n[A.slice(-1)]),typeof C=="number")C<0?(B=l(C).slice(3),v="-"):(B=l(C).slice(2),v=""),B=v+B.slice(0,-1)+n[B.slice(-1)];else{if(jt(C)!=="object")throw new Error("Don't know what to do with value type "+jt(C)+".");B=s(C)}i.push(A+B)}return i.push("}"),i.join("")},u=t.__fontmetrics__.uncompress=function(y){if(typeof y!="string")throw new Error("Invalid argument passed to uncompress.");for(var C,A,B,v,i={},g=1,w=i,U=[],I="",Q="",K=y.length-1,E=1;E<K;E+=1)(v=y[E])=="'"?C?(B=C.join(""),C=void 0):C=[]:C?C.push(v):v=="{"?(U.push([w,B]),w={},B=void 0):v=="}"?((A=U.pop())[0][A[1]]=w,B=void 0,w=A[0]):v=="-"?g=-1:B===void 0?a.hasOwnProperty(v)?(I+=a[v],B=parseInt(I,16)*g,g=1,I=""):I+=v:a.hasOwnProperty(v)?(Q+=a[v],w[B]=parseInt(Q,16)*g,g=1,B=void 0,Q=""):Q+=v;return i},h={codePages:["WinAnsiEncoding"],WinAnsiEncoding:u("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},f={Unicode:{Courier:h,"Courier-Bold":h,"Courier-BoldOblique":h,"Courier-Oblique":h,Helvetica:h,"Helvetica-Bold":h,"Helvetica-BoldOblique":h,"Helvetica-Oblique":h,"Times-Roman":h,"Times-Bold":h,"Times-BoldItalic":h,"Times-Italic":h}},c={Unicode:{"Courier-Oblique":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":u("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":u("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":u("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:u("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:u("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":u("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:u("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":u("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":u("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":u("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(y){var C=y.font,A=c.Unicode[C.postScriptName];A&&(C.metadata.Unicode={},C.metadata.Unicode.widths=A.widths,C.metadata.Unicode.kerning=A.kerning);var B=f.Unicode[C.postScriptName];B&&(C.metadata.Unicode.encoding=B,C.encoding=B.codePages[0])}])}(pt.API),function(t){var o=function(a){for(var n=a.length,r=new Uint8Array(n),l=0;l<n;l++)r[l]=a.charCodeAt(l);return r};t.API.events.push(["addFont",function(a){var n=void 0,r=a.font,l=a.instance;if(!r.isStandardFont){if(l===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");if(typeof(n=l.existsFileInVFS(r.postScriptName)===!1?l.loadFile(r.postScriptName):l.getFileFromVFS(r.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");(function(s,u){u=/^\x00\x01\x00\x00/.test(u)?o(u):o(Is(u)),s.metadata=t.API.TTFFont.open(u),s.metadata.Unicode=s.metadata.Unicode||{encoding:{},kerning:{},widths:[]},s.metadata.glyIdsUsed=[0]})(r,n)}}])}(pt),function(t){function o(){return(yt.canvg?Promise.resolve(yt.canvg):Promise.resolve().then(()=>require("./index.es-QZA3uBzC.cjs"))).catch(function(a){return Promise.reject(new Error("Could not load canvg: "+a))}).then(function(a){return a.default?a.default:a})}pt.API.addSvgAsImage=function(a,n,r,l,s,u,h,f){if(isNaN(n)||isNaN(r))throw no.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(l)||isNaN(s))throw no.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var c=document.createElement("canvas");c.width=l,c.height=s;var y=c.getContext("2d");y.fillStyle="#fff",y.fillRect(0,0,c.width,c.height);var C={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},A=this;return o().then(function(B){return B.fromString(y,a,C)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(B){return B.render(C)}).then(function(){A.addImage(c.toDataURL("image/jpeg",1),n,r,l,s,h,f)})}}(),pt.API.putTotalPages=function(t){var o,a=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(o=new RegExp(t,"g"),a=this.internal.getNumberOfPages()):(o=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),a=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var r=0;r<this.internal.pages[n].length;r++)this.internal.pages[n][r]=this.internal.pages[n][r].replace(o,a);return this},pt.API.viewerPreferences=function(t,o){var a;t=t||{},o=o||!1;var n,r,l,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},u=Object.keys(s),h=[],f=0,c=0,y=0;function C(B,v){var i,g=!1;for(i=0;i<B.length;i+=1)B[i]===v&&(g=!0);return g}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),a=this.internal.viewerpreferences.configuration,t==="reset"||o===!0){var A=u.length;for(y=0;y<A;y+=1)a[u[y]].value=a[u[y]].defaultValue,a[u[y]].explicitSet=!1}if(jt(t)==="object"){for(r in t)if(l=t[r],C(u,r)&&l!==void 0){if(a[r].type==="boolean"&&typeof l=="boolean")a[r].value=l;else if(a[r].type==="name"&&C(a[r].valueSet,l))a[r].value=l;else if(a[r].type==="integer"&&Number.isInteger(l))a[r].value=l;else if(a[r].type==="array"){for(f=0;f<l.length;f+=1)if(n=!0,l[f].length===1&&typeof l[f][0]=="number")h.push(String(l[f]-1));else if(l[f].length>1){for(c=0;c<l[f].length;c+=1)typeof l[f][c]!="number"&&(n=!1);n===!0&&h.push([l[f][0]-1,l[f][1]-1].join(" "))}a[r].value="["+h.join(" ")+"]"}else a[r].value=a[r].defaultValue;a[r].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var B,v=[];for(B in a)a[B].explicitSet===!0&&(a[B].type==="name"?v.push("/"+B+" /"+a[B].value):v.push("/"+B+" "+a[B].value));v.length!==0&&this.internal.write(`/ViewerPreferences
235
+ `&&(n=n.substr(1),U=1),C+A+(B=(r=lu.apply(this,[n,a])).reduce(function(I,Q){return I+Q},0))>o||U){if(B>o){for(u=of.apply(this,[n,r,o-(C+A),o]),c.push(u.shift()),c=[u.pop()];u.length;)y.push([u.shift()]);B=r.slice(n.length-(c[0]?c[0].length:0)).reduce(function(I,Q){return I+Q},0)}else c=[n];y.push(c),C=B+h,A=i}else c.push(n),C+=A+B,A=i}return f=h?function(I,Q){return(Q?g:"")+I.join(" ")}:function(I){return I.join(" ")},y.map(f)},kn.splitTextToSize=function(t,o,a){var n,r=(a=a||{}).fontSize||this.internal.getFontSize(),l=(function(c){if(c.widths&&c.kerning)return{widths:c.widths,kerning:c.kerning};var y=this.internal.getFont(c.fontName,c.fontStyle);return y.metadata.Unicode?{widths:y.metadata.Unicode.widths||{0:1},kerning:y.metadata.Unicode.kerning||{}}:{font:y.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,a);n=Array.isArray(t)?t:String(t).split(/\r?\n/);var s=1*this.internal.scaleFactor*o/r;l.textIndent=a.textIndent?1*a.textIndent*this.internal.scaleFactor/r:0,l.lineIndent=a.lineIndent;var u,h,f=[];for(u=0,h=n.length;u<h;u++)f=f.concat(lf.apply(this,[n[u],s,l]));return f},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var o="klmnopqrstuvwxyz",a={},n={},r=0;r<o.length;r++)a[o[r]]="0123456789abcdef"[r],n["0123456789abcdef"[r]]=o[r];var l=function(y){return"0x"+parseInt(y,10).toString(16)},s=t.__fontmetrics__.compress=function(y){var C,A,B,v,i=["{"];for(var g in y){if(C=y[g],isNaN(parseInt(g,10))?A="'"+g+"'":(g=parseInt(g,10),A=(A=l(g).slice(2)).slice(0,-1)+n[A.slice(-1)]),typeof C=="number")C<0?(B=l(C).slice(3),v="-"):(B=l(C).slice(2),v=""),B=v+B.slice(0,-1)+n[B.slice(-1)];else{if(jt(C)!=="object")throw new Error("Don't know what to do with value type "+jt(C)+".");B=s(C)}i.push(A+B)}return i.push("}"),i.join("")},u=t.__fontmetrics__.uncompress=function(y){if(typeof y!="string")throw new Error("Invalid argument passed to uncompress.");for(var C,A,B,v,i={},g=1,w=i,U=[],I="",Q="",K=y.length-1,E=1;E<K;E+=1)(v=y[E])=="'"?C?(B=C.join(""),C=void 0):C=[]:C?C.push(v):v=="{"?(U.push([w,B]),w={},B=void 0):v=="}"?((A=U.pop())[0][A[1]]=w,B=void 0,w=A[0]):v=="-"?g=-1:B===void 0?a.hasOwnProperty(v)?(I+=a[v],B=parseInt(I,16)*g,g=1,I=""):I+=v:a.hasOwnProperty(v)?(Q+=a[v],w[B]=parseInt(Q,16)*g,g=1,B=void 0,Q=""):Q+=v;return i},h={codePages:["WinAnsiEncoding"],WinAnsiEncoding:u("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},f={Unicode:{Courier:h,"Courier-Bold":h,"Courier-BoldOblique":h,"Courier-Oblique":h,Helvetica:h,"Helvetica-Bold":h,"Helvetica-BoldOblique":h,"Helvetica-Oblique":h,"Times-Roman":h,"Times-Bold":h,"Times-BoldItalic":h,"Times-Italic":h}},c={Unicode:{"Courier-Oblique":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":u("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":u("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":u("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:u("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:u("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":u("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:u("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":u("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":u("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":u("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(y){var C=y.font,A=c.Unicode[C.postScriptName];A&&(C.metadata.Unicode={},C.metadata.Unicode.widths=A.widths,C.metadata.Unicode.kerning=A.kerning);var B=f.Unicode[C.postScriptName];B&&(C.metadata.Unicode.encoding=B,C.encoding=B.codePages[0])}])}(pt.API),function(t){var o=function(a){for(var n=a.length,r=new Uint8Array(n),l=0;l<n;l++)r[l]=a.charCodeAt(l);return r};t.API.events.push(["addFont",function(a){var n=void 0,r=a.font,l=a.instance;if(!r.isStandardFont){if(l===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");if(typeof(n=l.existsFileInVFS(r.postScriptName)===!1?l.loadFile(r.postScriptName):l.getFileFromVFS(r.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");(function(s,u){u=/^\x00\x01\x00\x00/.test(u)?o(u):o(Is(u)),s.metadata=t.API.TTFFont.open(u),s.metadata.Unicode=s.metadata.Unicode||{encoding:{},kerning:{},widths:[]},s.metadata.glyIdsUsed=[0]})(r,n)}}])}(pt),function(t){function o(){return(yt.canvg?Promise.resolve(yt.canvg):Promise.resolve().then(()=>require("./index.es-Dnua3tHc.cjs"))).catch(function(a){return Promise.reject(new Error("Could not load canvg: "+a))}).then(function(a){return a.default?a.default:a})}pt.API.addSvgAsImage=function(a,n,r,l,s,u,h,f){if(isNaN(n)||isNaN(r))throw no.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(l)||isNaN(s))throw no.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var c=document.createElement("canvas");c.width=l,c.height=s;var y=c.getContext("2d");y.fillStyle="#fff",y.fillRect(0,0,c.width,c.height);var C={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},A=this;return o().then(function(B){return B.fromString(y,a,C)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(B){return B.render(C)}).then(function(){A.addImage(c.toDataURL("image/jpeg",1),n,r,l,s,h,f)})}}(),pt.API.putTotalPages=function(t){var o,a=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(o=new RegExp(t,"g"),a=this.internal.getNumberOfPages()):(o=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),a=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var r=0;r<this.internal.pages[n].length;r++)this.internal.pages[n][r]=this.internal.pages[n][r].replace(o,a);return this},pt.API.viewerPreferences=function(t,o){var a;t=t||{},o=o||!1;var n,r,l,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},u=Object.keys(s),h=[],f=0,c=0,y=0;function C(B,v){var i,g=!1;for(i=0;i<B.length;i+=1)B[i]===v&&(g=!0);return g}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),a=this.internal.viewerpreferences.configuration,t==="reset"||o===!0){var A=u.length;for(y=0;y<A;y+=1)a[u[y]].value=a[u[y]].defaultValue,a[u[y]].explicitSet=!1}if(jt(t)==="object"){for(r in t)if(l=t[r],C(u,r)&&l!==void 0){if(a[r].type==="boolean"&&typeof l=="boolean")a[r].value=l;else if(a[r].type==="name"&&C(a[r].valueSet,l))a[r].value=l;else if(a[r].type==="integer"&&Number.isInteger(l))a[r].value=l;else if(a[r].type==="array"){for(f=0;f<l.length;f+=1)if(n=!0,l[f].length===1&&typeof l[f][0]=="number")h.push(String(l[f]-1));else if(l[f].length>1){for(c=0;c<l[f].length;c+=1)typeof l[f][c]!="number"&&(n=!1);n===!0&&h.push([l[f][0]-1,l[f][1]-1].join(" "))}a[r].value="["+h.join(" ")+"]"}else a[r].value=a[r].defaultValue;a[r].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var B,v=[];for(B in a)a[B].explicitSet===!0&&(a[B].type==="name"?v.push("/"+B+" /"+a[B].value):v.push("/"+B+" "+a[B].value));v.length!==0&&this.internal.write(`/ViewerPreferences
236
236
  <<
237
237
  `+v.join(`
238
238
  `)+`
@@ -264,7 +264,7 @@ end`};o.events.push(["putFont",function(l){(function(s){var u=s.font,h=s.out,f=s
264
264
  `)}return""+a},o}();function ed({domElement:t,fileName:o}){if(t){const a={height:851.89,width:595.28},n=new pt("","pt","a4");let r,l,s,u,h;return Ps(t).then(f=>{r=f.width,l=f.height;let c=l;const y=r/a.width*a.height;let C=0;if(s=a.width,u=582.28/r*l,h=f.toDataURL("image/png",1),c<y)n.addImage(h,"PNG",33,24,s*.9,u*.9,"","FAST");else for(;c>0;)n.addImage(h,"PNG",33,C,s*.9,u*.9,"","FAST"),c-=y,C-=a.height-24,c>0&&n.addPage();n.save(`${o}.pdf`)})}}function zv({domElement:t,fileName:o,format:a="png"}){if(t)return new Promise((n,r)=>{const l=document.createElement("a");Ps(t,{scale:2}).then(s=>{l.href=s.toDataURL(`image/${a}`),l.download=`${o}.${a}`,l.click(),l&&l.remove(),n()}).catch(s=>{console.error("Error generating image:",s),r(s)})})}const Xk="#COMP# dataset prop is either missing, undefined or empty.",qk="#COMP# dataset is missing the '#ATTR#' attribute.",Yk="#COMP# dataset '#ATTR#' attribute cannot be empty.",Jk="#COMP# dataset #KEY# item at index #INDX# is missing the '#ATTR#' attribute.",Zk={dataset:Xk,datasetAttribute:qk,datasetAttributeEmpty:Yk,datasetSerieAttribute:Jk};function kl(t,o,a,n,r,l=1.99999,s=2,u=1.45,h=360,f=105.25,c=0){let{series:y}=t;if(!y||t.base===0)return{...y,proportion:0,ratio:0,path:"",startX:0,startY:0,endX:0,center:{}};const C=[...y].map(v=>v.value).reduce((v,i)=>v+i,0),A=[];let B=0;for(let v=0;v<y.length;v+=1){let i=y[v].value/C;const g=i*(Math.PI*l),U=y[v].value/2/C*(Math.PI*s),{startX:I,startY:Q,endX:K,endY:E,path:b}=nc([o,a],[n,r],[B,g],f,h,s),T=nc([o,a],[n-c,r-c],[B,g],f,h,s,!0);A.push({arcSlice:`${b} L ${T.startX} ${T.startY} ${T.path} L ${I} ${Q}`,cx:o,cy:a,...y[v],proportion:i,ratio:g,path:b,startX:I,startY:Q,endX:K,endY:E,center:nc([o,a],[n*u,r*u],[B,U],f,h,s)}),B+=g}return A}function sf([t,o],[a,n]){return[t+a,o+n]}function uf([[t,o],[a,n]],[r,l]){return[t*r+o*l,a*r+n*l]}function e2(t){return[[Math.cos(t),-Math.sin(t)],[Math.sin(t),Math.cos(t)]]}function nc([t,o],[a,n],[r,l],s,u=360,h=2,f=!1){l=l%(h*Math.PI);const c=e2(s),[y,C]=sf(uf(c,[a*Math.cos(r),n*Math.sin(r)]),[t,o]),[A,B]=sf(uf(c,[a*Math.cos(r+l),n*Math.sin(r+l)]),[t,o]),v=l>Math.PI?1:0,i=l>0?f?0:1:f?1:0;return{startX:f?A:y,startY:f?B:C,endX:f?y:A,endY:f?C:B,path:`M${f?A:y} ${f?B:C} A ${[a,n,s/(h*Math.PI)*u,v,i,f?y:A,f?C:B].join(" ")}`}}function Vn({defaultConfig:t,userConfig:o}){const a={...t};return Object.keys(a).forEach(n=>{if(Object.hasOwn(o,n)){const r=o[n];["boolean","function"].includes(typeof r)?a[n]=r:["string","number"].includes(typeof r)?l2(r)&&(a[n]=r):Array.isArray(a[n])?t2({userConfig:o,key:n})&&(a[n]=r):o2({userConfig:o,key:n})&&(a[n]=Vn({defaultConfig:a[n],userConfig:r}))}}),a}function t2({userConfig:t,key:o}){return Object.hasOwn(t,o)&&Array.isArray(t[o])&&t[o].length>=0}function o2({userConfig:t,key:o}){return Object.hasOwn(t,o)&&!Array.isArray(t[o])&&typeof t[o]=="object"}function l2(t){return![null,void 0,NaN,1/0,-1/0].includes(t)}function a2(t){return![void 0,NaN,1/0,-1/0].includes(t)}function r2(t,o=0){return isNaN(t)?o:t}const Me=["#1f77b4","#aec7e8","#ff7f0e","#ffbb78","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5","#8c564b","#c49c94","#e377c2","#f7b6d2","#7f7f7f","#c7c7c7","#bcbd22","#dbdb8d","#17becf","#9edae5","#393b79","#5254a3","#6b6ecf","#9c9ede","#637939","#8ca252","#b5cf6b","#cedb9c","#8c6d31","#bd9e39","#e7ba52","#e7cb94","#843c39","#ad494a","#d6616b","#e7969c","#7b4173","#a55194","#ce6dbd","#de9ed6"];function n2(t="default"){switch(t){case"hack":return Pt.hack;case"zen":return Pt.zen;case"concrete":return Pt.concrete;default:return Pt.default}}const Pt={default:Me,concrete:["#4A6A75","#6C94A0","#7DA9B5","#8EBFCA","#9FD4E0","#B0E9F5","#C1FFFF","#5C6B5B","#6D7D6D","#7E8F7E","#8FA290","#A1B5A3","#B2C7B5","#C3DAC8","#D4ECDA","#E6FFF0","#8A9CA5","#9AA7B0","#ABB1BC","#BBCBC7","#CCD6D3","#DEE1DE","#EFECEC","#404C4D","#50605F","#617472","#718885","#829C98","#92B0AB","#A3C4BE","#B3D8D2","#C4EDE5","#D4F1E8","#404C5A","#50606C","#61747E","#718890","#829CA2","#92B0B5"],hack:["#004C00","#006600","#008000","#009900","#00B300","#00CC00","#00E600","#00FF00","#33FF33","#33E633","#33CC33","#33B333","#339933","#338033","#336633","#334C33","#333333","#00AF19","#19E619","#19CC19","#19B319","#199919","#198019","#196619","#194C19","#193319","#191919","#66FF66","#66E666","#66CC66","#66B366","#669966","#668066","#666666","#4CFF4C","#4CE64C","#4CCC4C","#4CB34C"],zen:["#B9B99D","#E0CFC3","#DFCA99","#DCB482","#C09E85","#8F837A","#858480","#B0B9A8","#606C5A","#5E5E5E","#4F5B75","#647393","#818EA9","#9FA9BE","#BBC4D3","#DCDFE7","#928A98","#8A9892","#B1A7AD","#C5B8A7","#EBD6CC","#D7E0D2","#E0D2D7","#E0DBD2","#D2E0DB","#DBD2E0","#C1B7A5","#A5AFC1","#E0DBD2","#D2D7E0","#F7EDE2","#97ACB7","#C4CBBC","#C3C5C5","#A0AC94"]},Xe=["00","03","05","08","0A","0D","0F","12","14","17","1A","1C","1F","21","24","26","29","2B","2E","30","33","36","38","3B","3D","40","42","45","47","4A","4D","4F","52","54","57","59","5C","5E","61","63","66","69","6B","6E","70","73","75","78","7A","7D","80","82","85","87","8A","8C","8F","91","94","96","99","9C","9E","A1","A3","A6","A8","AB","AD","B0","B3","B5","B8","BA","BD","BF","C2","C4","C7","C9","CC","CF","D1","D4","D6","D9","DB","DE","E0","E3","E6","E8","EB","ED","F0","F2","F5","F7","FA","FC","FF"];function At(t){const o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,a=/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*[\d.]+)?\)$/i,n=/^hsla?\((\d+),\s*([\d.]+)%,\s*([\d.]+)%(?:,\s*[\d.]+)?\)$/i;if([void 0,null,NaN].includes(t))return null;if(t=g2(t),t==="transparent")return"#FFFFFF00";let r;if(r=t.match(o)){const[,l,s,u]=r;return`#${l}${s}${u}`}else if(r=t.match(a)){const[,l,s,u]=r;return`#${Ta(l)}${Ta(s)}${Ta(u)}`}else if(r=t.match(n)){const[,l,s,u]=r,h=s2(Number(l),Number(s),Number(u));return`#${Ta(h[0])}${Ta(h[1])}${Ta(h[2])}`}return null}function Ta(t){const o=Number(t).toString(16);return o.length===1?"0"+o:o}function s2(t,o,a){t/=360,o/=100,a/=100;let n,r,l;if(o===0)n=r=l=a;else{const s=(f,c,y)=>(y<0&&(y+=1),y>1&&(y-=1),y<.16666666666666666?f+(c-f)*6*y:y<.5?c:y<.6666666666666666?f+(c-f)*(.6666666666666666-y)*6:f),u=a<.5?a*(1+o):a+o-a*o,h=2*a-u;n=s(h,u,t+1/3),r=s(h,u,t),l=s(h,u,t-1/3)}return[Math.round(n*255),Math.round(r*255),Math.round(l*255)]}function Lt(t,o){const a=f=>({r:parseInt(f.substring(1,3),16),g:parseInt(f.substring(3,5),16),b:parseInt(f.substring(5,7),16)}),n=({r:f,g:c,b:y})=>{f/=255,c/=255,y/=255;const C=Math.max(f,c,y),A=Math.min(f,c,y);let B,v,i=(C+A)/2;if(C===A)B=v=0;else{const g=C-A;switch(v=i>.5?g/(2-C-A):g/(C+A),C){case f:B=(c-y)/g+(c<y?6:0);break;case c:B=(y-f)/g+2;break;case y:B=(f-c)/g+4;break}B/=6}return{h:B,s:v,l:i}},r=({h:f,s:c,l:y})=>{let C,A,B;if(c===0)C=A=B=y;else{const v=(w,U,I)=>(I<0&&(I+=1),I>1&&(I-=1),I<.16666666666666666?w+(U-w)*6*I:I<.5?U:I<.6666666666666666?w+(U-w)*(.6666666666666666-I)*6:w),i=y<.5?y*(1+c):y+c-y*c,g=2*y-i;C=v(g,i,f+.3333333333333333),A=v(g,i,f),B=v(g,i,f-.3333333333333333)}return{r:Math.round(C*255),g:Math.round(A*255),b:Math.round(B*255)}},l=a(t||"#000000"),s=n(l);s.h+=o,s.h=(s.h+1)%1;const u=r(s);return`#${(u.r<<16|u.g<<8|u.b).toString(16).padStart(6,"0")}`}function i2({centerX:t,centerY:o,outerPoints:a,radius:n,rotation:r}){const l=Math.PI/a,s=r;let u="";const h=[];for(let f=0;f<a*2;f+=1){let c=t+Math.cos(f*l+s)*n,y=o+Math.sin(f*l+s)*n;u+=`${c},${y} `,h.push({x:c,y})}return{path:`M${u}Z`,coordinates:h}}function Qo({plot:t,radius:o,sides:a,rotation:n=0}){const r=t.x,l=t.y,s=a/2;return i2({centerX:r,centerY:l,outerPoints:s,radius:o+1,rotation:n})}function u2({centerX:t,centerY:o,innerCirclePoints:a,innerRadius:n,outerRadius:r}){const l=Math.PI/a,s=60,u=a*2;let h="";for(let f=0;f<u;f+=1){let y=f%2==0?r:n,C=t+Math.cos(f*l+s)*y,A=o+Math.sin(f*l+s)*y;h+=`${C},${A} `}return h}function Vr({plot:t,radius:o,apexes:a=5}){const n=t.x,r=t.y,l=a,s=o*3.5/l,h=s*2;return u2({centerX:n,centerY:r,innerCirclePoints:l,innerRadius:s,outerRadius:h})}function Dv({series:t}){t=t.sort((f,c)=>f.x-c.x);function o(f,c,y){const C=(f.x-c.x)*(y.x-c.x)+(f.y-c.y)*(y.y-c.y),A=(f.x-c.x)*(y.y-c.y)-(y.x-c.x)*(f.y-c.y);return Math.atan2(A,C)}const a=[];let n;n=t[0];for(const f of t)f.x<n.x&&(n=f);a[0]=n;let r,l,s,u;r=a[0],l={x:r.x,y:r.y+1};do{s=Math.PI;for(const f of t)n=o(l,r,f),n<=s&&(u=f,s=n);u!==a[0]&&(a.push(u),l=r,r=u)}while(u!==a[0]);let h;return a.forEach(f=>{f&&f.x&&f.y&&(h+=`${Math.round(f.x)},${Math.round(f.y)} `)}),h=h.replaceAll("undefined",""),h}function aa(t){if(t){let o=t;o.charAt(0)!=="#"&&(o=this.rgbToHex(t)),o=o.substring(1,7);let a=parseInt(o.substring(0,2),16),n=parseInt(o.substring(2,4),16),r=parseInt(o.substring(4,6),16),s=[a/255,n/255,r/255].map(h=>h<=.03928?h/12.92:Math.pow((h+.055)/1.055,2.4));return .2126*s[0]+.7152*s[1]+.0722*s[2]>.3?"#000000":"#FFFFFF"}return"#000000"}function Qn(t){for(const o in t)typeof t[o]=="object"&&!Array.isArray(t[o])&&t[o]!==null?Qn(t[o]):(o==="color"||o==="backgroundColor"||o==="stroke")&&(t[o]===""?t[o]="#000000":t[o]==="transparent"?t[o]="#FFFFFF00":t[o]=At(t[o]));return t}function td(t){let o,a,n,r;const l=t.length;if(!t||t.length===0)return{x1:0,y1:0,x2:0,y2:0,slope:0,trend:0};let s=0,u=0,h=0,f=0;for(const{x:A,y:B}of t)s+=A,u+=B,h+=A*B,f+=A*A;const c=(l*h-s*u)/(l*f-s*s),y=(u-c*s)/l;o=t[0].x,n=t[l-1].x,a=c*o+y,r=c*n+y;const C=A2(t.map(A=>A.value));return{x1:o,y1:a,x2:n,y2:r,slope:c,trend:C}}function A2(t){const o=t[0],n=t[t.length-1]-o;let r=0;for(let s=1;s<t.length;s++){const u=Math.abs(t[s]-t[s-1]);r+=u}const l=n/r;return isNaN(l)?0:l}function od(t){const o=Math.floor(t.length/2),a=[...t].sort((n,r)=>n-r);return t.length%2!==0?a[o]:(a[o-1]+a[o])/2}function c2(t){let o=[];for(let a=0;a<t.length;a+=1)o.push(`${t[a].x},${t[a].y} `);return o.join(" ").trim()}function ba(t,o=.2){function a(s,u){const h=u.x-s.x,f=u.y-s.y;return{length:Math.sqrt(Math.pow(h,2)+Math.pow(f,2)),angle:Math.atan2(f,h)}}function n(s,u,h,f){const C=a(u||s,h||s),A=C.angle+(f?Math.PI:0),B=C.length*o,v=s.x+Math.cos(A)*B,i=s.y+Math.sin(A)*B;return{x:v,y:i}}function r(s,u,h){const f=n(h[u-1],h[u-2],s),c=n(s,h[u-1],h[u+1],!0);return`C ${f.x},${f.y} ${c.x},${c.y} ${s.x},${s.y}`}return t.filter(s=>!!s).reduce((s,u,h,f)=>h===0?`${u.x},${u.y} `:`${s} ${r(u,h,f)} `,"")}function it(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const o=Math.random()*16|0;return(t=="x"?o:o&3|8).toString(16)})}function ct(t,o=!1,a=16,n=!1){let r=0,l=o?a:0,s=n?"center":"middle";return t.center.endX>t.cx?(r=t.center.endX+a+l,s=n?"left":"start"):t.center.endX<t.cx?(r=t.center.endX-a-l,s=n?"right":"end"):(r=t.centerX+l,s=n?"center":"middle"),{x:r,anchor:s}}function co(t,o=16,a=16){return t.center.endY>t.cy?t.center.endY+a:t.center.endY<t.cy?t.center.endY-o:t.center.endY}function Fs({initX:t,initY:o,offset:a,centerX:n,centerY:r}){const l=Math.atan2(o-r,t-n);return{x:t+a*Math.cos(l),y:o+a*Math.sin(l)}}function d2(t){const o=document.createElementNS("http://www.w3.org/2000/svg","path");o.setAttribute("d",t);const a=o.getTotalLength();let n=0,r=a,l=a/2;const s=.01;for(;r-n>s;){const f=(n+r)/2,y=o.getPointAtLength(f).x;if(Math.abs(y-l)<s){l=f;break}else y<l?n=f:r=f}const{x:u,y:h}=o.getPointAtLength(l);return{x:u,y:h}}function Qr(t,o=!1,a=16,n=16,r=!1,l=!1,s=0,u=12){const{x:h,y:f}=d2(t.path),{x:c,y}=Fs({initX:h,initY:f,offset:s,centerX:o?o.x:0,centerY:o?o.y:0}),C=`${ct(t).x},${co(t,a,n)-4} `,A=` ${o?o.x:c},${o?o.y:y}`;let B="";return h>t.cx?B=`${ct(t).x-u},${co(t,a,n)-4}`:h<t.cx?B=`${ct(t).x+u},${co(t,a,n)-4}`:B=`${ct(t).x+u},${co(t,a,n)-4}`,`M${l?"":C}${B}${A}${r?`,${r.x} ${r.y}`:""}`}function h2(t){if(t===0)return 0;const a=10**Math.floor(Math.log10(Math.abs(t)));let n;return t<0,n=Math.round(t/a)*a,n}function Pv(t){return![null,void 0,NaN].includes(t)}function Af(t,o){return[...t].map(a=>a[o]).reduce((a,n)=>a+n,0)}function Hc(t,o=!0,a=!1){let n="";return t.forEach(r=>{n+=`${r.x},${r.y} `}),a?n.trim():`M${n}${o?"Z":""}`}function Zt({csvContent:t,title:o="vue-data-ui"}){const a=encodeURI(t),n=document.createElement("a");n.setAttribute("href",a),n.setAttribute("download",`${o}.csv`),document.body.appendChild(n),n.click(),n.remove(),window.URL.revokeObjectURL(a)}function eo(t){return`data:text/csv;charset=utf-8,${t.map(o=>o.join(",")).join(`
265
265
  `)}`}function Ll(t,o){if(!/^#([0-9A-F]{3}){1,2}$/i.test(t))return console.warn("lightenHexColor : Invalid hex color format"),"#000000";let a=t.replace("#","");a.length===3&&(a=a.split("").map(c=>c+c).join(""));const n=parseInt(a.substring(0,2),16),r=parseInt(a.substring(2,4),16),l=parseInt(a.substring(4,6),16),s=Math.min(255,n+(255-n)*o),u=Math.min(255,r+(255-r)*o),h=Math.min(255,l+(255-l)*o);return`#${Math.round(s).toString(16).padStart(2,"0")}${Math.round(u).toString(16).padStart(2,"0")}${Math.round(h).toString(16).padStart(2,"0")}`}function Ir(t,o){if(!/^#([0-9A-F]{3}){1,2}$/i.test(t))return console.warn("darkenHexColor: Invalid hex color format"),"#000000";let a=t.replace("#","");a.length===3&&(a=a.split("").map(c=>c+c).join(""));const n=parseInt(a.substring(0,2),16),r=parseInt(a.substring(2,4),16),l=parseInt(a.substring(4,6),16),s=Math.max(0,n-n*o),u=Math.max(0,r-r*o),h=Math.max(0,l-l*o);return`#${Math.round(s).toString(16).padStart(2,"0")}${Math.round(u).toString(16).padStart(2,"0")}${Math.round(h).toString(16).padStart(2,"0")}`}function cf(t,o){const a=Math.floor(Math.log10(t)),n=t/Math.pow(10,a);let r;return o?n<1.5?r=1:n<3?r=2:n<7?r=5:r=10:n<=1?r=1:n<=2?r=2:n<=5?r=5:r=10,r*Math.pow(10,a)}function Pl(t,o,a,n=!1){const r=n?o-t:cf(o-t,!1),l=n?r/(a-1):cf(r/(a-1),!0),s=Math.floor(t/l)*l,u=Math.ceil(o/l)*l,h=[];for(let f=s;f<=u;f+=l)h.push(f);return{min:s,max:u,tickSize:l,ticks:h}}function $s(t,o,a,n,r){const l=i=>({r:parseInt(i.substring(1,3),16),g:parseInt(i.substring(3,5),16),b:parseInt(i.substring(5,7),16)}),s=({r:i,g,b:w})=>`#${Ta(i)}${Ta(g)}${Ta(w)}`,u=({r:i,g,b:w})=>{i/=255,g/=255,w/=255;const U=Math.max(i,g,w),I=Math.min(i,g,w);let Q,K,E=(U+I)/2;if(U===I)Q=K=0;else{const b=U-I;switch(K=E>.5?b/(2-U-I):b/(U+I),U){case i:Q=(g-w)/b+(g<w?6:0);break;case g:Q=(w-i)/b+2;break;case w:Q=(i-g)/b+4;break}Q/=6}return{h:Q,s:K,l:E}},h=({h:i,s:g,l:w})=>{let U,I,Q;if(g===0)U=I=Q=w;else{const K=(T,Y,$)=>($<0&&($+=1),$>1&&($-=1),$<.16666666666666666?T+(Y-T)*6*$:$<.5?Y:$<.6666666666666666?T+(Y-T)*(.6666666666666666-$)*6:T),E=w<.5?w*(1+g):w+g-w*g,b=2*w-E;U=K(b,E,i+.3333333333333333),I=K(b,E,i),Q=K(b,E,i-.3333333333333333)}return{r:Math.round(U*255),g:Math.round(I*255),b:Math.round(Q*255)}},f=l(t),c=l(o);r=Math.min(Math.max(r,a),n);const y=(r-a)/(n-a),C={r:Math.round(f.r+(c.r-f.r)*y),g:Math.round(f.g+(c.g-f.g)*y),b:Math.round(f.b+(c.b-f.b)*y)},A=u(C),B=h(A);return s(B)}function Ge({p:t="",v:o,s:a="",r:n=0,space:r=!1,isAnimating:l=!1,regex:s=/[^%]/g,replacement:u="-"}){const h=Number(Number(o).toFixed(n).toLocaleString()),f=h===1/0?"∞":h===-1/0?"-∞":h,c=`${t??""}${r?" ":""}${[void 0,null].includes(o)?"-":f}${r?" ":""}${a??""}`;return l?c.replace(s,u):c}function Tu({source:t,length:o=3}){if(!t&&t!==0)return"";t=String(t);const a=t.length>1?t.split(" "):[t];if(a.length===1&&a[0].length===1)return String(t).toUpperCase();if(a.length===1)return t.slice(0,o).toUpperCase();{const n=[];return a.forEach((r,l)=>{l<o&&n.push(r.slice(0,1))}),n.join().replaceAll(",","").toUpperCase()}}function Gt(t){return!!t&&typeof t=="function"}function wo(t){return typeof t.apply(null,arguments)=="string"}function xt(t){return Array.isArray(t)?t.length===0:Object.keys(t).length===0}function Ke({componentName:t,type:o,property:a="",index:n="",key:r="",warn:l=!0}){const s=`
266
266
  > ${Zk[o].replace("#COMP#",t).replace("#ATTR#",a).replace("#INDX#",n).replace("#KEY#",r)}
267
- `;if(l)console.warn(s);else throw new Error(s)}function f2({points:t,a:o,b:a,angleStep:n,startX:r,startY:l}){const s=[];for(let u=0;u<t;u++){const h=n*u,f=o+a*h,c=f*Math.cos(h)+r,y=f*Math.sin(h)+l;s.push({x:c,y})}return s}function v2({points:t,a:o,b:a,angleStep:n,startX:r,startY:l}){const s=f2({points:t,a:o||6,b:a||6,angleStep:n||.07,startX:r,startY:l});let u=`M${s[0].x} ${s[0].y}`;for(let h=1;h<s.length-2;h+=2){const f=s[h-1],c=s[h],y=s[h+1],C=s[h+2],A=(f.x+c.x)/2,B=(f.y+c.y)/2,v=(c.x+y.x)/2,i=(c.y+y.y)/2,g=(y.x+C.x)/2,w=(y.y+C.y)/2;u+=` C${A} ${B}, ${v} ${i}, ${g} ${w}`}return u}function Wt({datasetObject:t,requiredAttributes:o}){let a=[];return o.forEach(n=>{Object.hasOwn(t,n)||a.push(n)}),a}function g2(t){return{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",DARKGREY:"#A9A9A9",DARKGREEN:"#006400",DARKKHAKI:"#BDB76B",DARKMAGENTA:"#8B008B",DARKOLIVEGREEN:"#556B2F",DARKORANGE:"#FF8C00",DARKORCHID:"#9932CC",DARKRED:"#8B0000",DARKSALMON:"#E9967A",DARKSEAGREEN:"#8FBC8F",DARKSLATEBLUE:"#483D8B",DARKSLATEGREY:"#2F4F4F",DARKTURQUOISE:"#00CED1",DARKVIOLET:"#9400D3",DEEPPINK:"#FF1493",DEEPSKYBLUE:"#00BFFF",DIMGRAY:"#696969",DODGERBLUE:"#1E90FF",FIREBRICK:"#B22222",FLORALWHITE:"#FFFAF0",FORESTGREEN:"#228B22",FUCHSIA:"#FF00FF",GAINSBORO:"#DCDCDC",GHOSTWHITE:"#F8F8FF",GOLD:"#FFD700",GOLDENROD:"#DAA520",GREY:"#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",LIGHTSLATEGREY:"#778899",LIGHTSTEELBLUE:"#B0C4DE",LIGHTYELLOW:"#FFFFE0",LIME:"#00FF00",LIMEGREEN:"#32CD32",LINEN:"#FAF0E6",MAGENTA:"#FF00FF",MAROON:"#800000",MEDIUMAQUAMARINE:"#66CDAA",MEDIUMBLUE:"#0000CD",MEDIUMORCHID:"#BA55D3",MEDIUMPURPLE:"#9370D8",MEDIUMSEAGREEN:"#3CB371",MEDIUMSLATEBLUE:"#7B68EE",MEDIUMSPRINGGREEN:"#00FA9A",MEDIUMTURQUOISE:"#48D1CC",MEDIUMVIOLETRED:"#C71585",MIDNIGHTBLUE:"#191970",MINTCREAM:"#F5FFFA",MISTYROSE:"#FFE4E1",MOCCASIN:"#FFE4B5",NAVAJOWHITE:"#FFDEAD",NAVY:"#000080",OLDLACE:"#FDF5E6",OLIVE:"#808000",OLIVEDRAB:"#6B8E23",ORANGE:"#FFA500",ORANGERED:"#FF4500",ORCHID:"#DA70D6",PALEGOLDENROD:"#EEE8AA",PALEGREEN:"#98FB98",PALETURQUOISE:"#AFEEEE",PALEVIOLETRED:"#D87093",PAPAYAWHIP:"#FFEFD5",PEACHPUFF:"#FFDAB9",PERU:"#CD853F",PINK:"#FFC0CB",PLUM:"#DDA0DD",POWDERBLUE:"#B0E0E6",PURPLE:"#800080",RED:"#FF0000",ROSYBROWN:"#BC8F8F",ROYALBLUE:"#4169E1",SADDLEBROWN:"#8B4513",SALMON:"#FA8072",SANDYBROWN:"#F4A460",SEAGREEN:"#2E8B57",SEASHELL:"#FFF5EE",SIENNA:"#A0522D",SILVER:"#C0C0C0",SKYBLUE:"#87CEEB",SLATEBLUE:"#6A5ACD",SLATEGREY:"#708090",SNOW:"#FFFAFA",SPRINGGREEN:"#00FF7F",STEELBLUE:"#4682B4",TAN:"#D2B48C",TEAL:"#008080",THISTLE:"#D8BFD8",TOMATO:"#FF6347",TURQUOISE:"#40E0D0",VIOLET:"#EE82EE",WHEAT:"#F5DEB3",WHITE:"#FFFFFF",WHITESMOKE:"#F5F5F5",YELLOW:"#FFFF00",YELLOWGREEN:"#9ACD32"}[t.toUpperCase()]||t}const We="http://www.w3.org/2000/svg";function p2(t){if(t.length<2)return 0;let o=0,a=0;for(let r=1;r<t.length;r++){const l=t[r-1],s=t[r];if([null,void 0,0,1/0,-1/0].includes(l))continue;const u=(s-l)/Math.abs(l)*100;o+=u,a++}return a===0?0:o/a}function y2({content:t,fontSize:o,fill:a,maxWords:n,x:r,y:l}){function s(f,c){const y=f.split(" "),C=[];for(let A=0;A<y.length;A+=c)C.push(y.slice(A,A+c).join(" "));return C}let u="";return s(t,n).forEach((f,c)=>{const y=`<tspan x="${r}" y="${l+c*o}" fill="${a}">${f}</tspan>`;u+=y}),u}function so(t){return t.length?t.map(o=>At(o)):[]}function Hv(t,o=null){const a=t.replace(/[\p{P}\p{S}]+/gu," ").trim(),s=(/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Tibetan}\p{Script=Myanmar}\p{Script=Devanagari}]/u.test(t)?[...a]:a.split(/\s+/)).filter(u=>u.trim().length>0).reduce((u,h)=>(u[h]?u[h]+=1:u[h]=1,u),{});return Object.keys(s).map(u=>{let h=u;return typeof o=="function"&&typeof o(u)=="string"&&(h=o(u)),{name:h,value:s[u]}})}function Rv(t){let o=t.reduce((u,h)=>u+(h.stackRatio||0),0),a=t.filter(u=>u.stackRatio===void 0).length,n=1-o,r=a>0?n/a:0,l=t.map(u=>({...u,stackRatio:u.stackRatio!==void 0?u.stackRatio:r})),s=0;return l=l.map(u=>(s+=u.stackRatio,{...u,cumulatedStackRatio:s})),l}function m2(t){function o(f,c,y,C){const A=y-f,B=C-c;return Math.sqrt(A*A+B*B)}function a(f,c,y,C){let B=0,v=f.x,i=f.y;for(let g=1;g<=100;g+=1){const w=g/100,U=1-w,I=U*U,Q=w*w,K=I*U*f.x+3*I*w*c.x+3*U*Q*y.x+Q*w*C.x,E=I*U*f.y+3*I*w*c.y+3*U*Q*y.y+Q*w*C.y;B+=o(v,i,K,E),v=K,i=E}return B}const n=t.match(/[a-zA-Z][^a-zA-Z]*/g);let r=0,l=0,s=0,u=0,h=0;return n.forEach(f=>{const c=f[0],y=f.slice(1).trim().split(/[\s,]+/).map(Number);let C=0;switch(c){case"M":for(r=y[C++],l=y[C++],s=r,u=l;C<y.length;)h+=o(r,l,y[C],y[C+1]),r=y[C++],l=y[C++];break;case"L":for(;C<y.length;)h+=o(r,l,y[C],y[C+1]),r=y[C++],l=y[C++];break;case"H":for(;C<y.length;)h+=o(r,l,y[C],l),r=y[C++];break;case"V":for(;C<y.length;)h+=o(r,l,r,y[C]),l=y[C++];break;case"C":for(;C<y.length;)h+=a({x:r,y:l},{x:y[C],y:y[C+1]},{x:y[C+2],y:y[C+3]},{x:y[C+4],y:y[C+5]}),r=y[C+4],l=y[C+5],C+=6;break;case"Z":h+=o(r,l,s,u),r=s,l=u;break}}),h}function El({relator:t,adjuster:o,source:a,threshold:n=0,fallback:r,max:l=24}){const s=t/(o/a);return s>l?l:s<n?r:s}const b2={default:{},hack:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",zoom:{color:"#5F6A5F",highlightColor:"#66CC66"},highlighter:{color:"#66CC66"},timeTag:{backgroundColor:"#1A1A1A",color:"#66CC66",circleMarker:{color:"#66CC66"}},grid:{stroke:"#5F6A5F",showVerticalLines:!1,labels:{color:"#99AA99",xAxisLabels:{color:"#99AA99"},xAxis:{showBaseline:!1}}},legend:{color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}},bar:{borderRadius:0,border:{stroke:"#66CC66"},labels:{color:"#AACCAA"},serieName:{color:"#99CC99"}},line:{labels:{color:"#AACCAA"}},plot:{labels:{color:"#AACCAA"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",zoom:{color:"#E0CFC3",highlightColor:"#8F837A"},highlighter:{color:"#8F837A"},timeTag:{backgroundColor:"#fbfafa",color:"#8A9892",circleMarker:{color:"#8A9892"}},grid:{stroke:"transparent",labels:{show:!1,color:"#99AA99",xAxisLabels:{show:!1,color:"#99AA99"},zeroLine:{show:!1},yAxis:{showBaseline:!1}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},bar:{borderRadius:4,border:{stroke:"#D7E0D2"},labels:{color:"#8F837A"},serieName:{color:"#858480"}},line:{labels:{color:"#8F837A"}},plot:{labels:{color:"#8F837A"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",zoom:{color:"#92B0AB",highlightColor:"#50606C"},highlighter:{color:"#7DA9B5"},timeTag:{backgroundColor:"#f6f6fb",color:"#50606C",circleMarker:{color:"#50606C"}},grid:{stroke:"#829C98",showVerticalLines:!0,showHorizontalLines:!0,labels:{color:"#50606C",xAxisLabels:{color:"#50606C"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},bar:{borderRadius:2,border:{stroke:"#404C4D"},labels:{color:"#50606C"},serieName:{color:"#61747E"}},line:{labels:{color:"#50606C"}},plot:{labels:{color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},k2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66",borderRadius:0},yAxis:{stroke:"#3A3A3A",labels:{axisNamesColor:"#99AA99",ticks:{color:"#5A5A5A"}}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"},yAxis:{stroke:"#8F837A",labels:{axisNamesColor:"#8F837A",ticks:{color:"#8F837A"}}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"},yAxis:{stroke:"#50606C",labels:{axisNamesColor:"#50606C",ticks:{color:"#50606C"}}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},C2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",zoom:{color:"#5F6A5F",highlightColor:"#66CC66"},selector:{color:"#66CC66"},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66",borderRadius:0},grid:{y:{axisColor:"#5F6A5F",axisLabels:{color:"#99AA99"},verticalLines:{show:!1},timeLabels:{color:"#99AA99"}},x:{axisColor:"#5F6A5F",horizontalLines:{color:"#3A3A3A"}},zeroLine:{color:"#444444"}},dataLabels:{color:"#99AA99"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",zoom:{color:"#E0CFC3",highlightColor:"#8F837A"},selector:{color:"#8F837A"},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"},grid:{y:{axisColor:"#8F837A",axisLabels:{color:"#8F837A"},verticalLines:{show:!1},timeLabels:{color:"#8F837A"}},x:{axisColor:"#8F837A",horizontalLines:{show:!1,alternate:!1}},zeroLine:{color:"#444444"}},dataLabels:{color:"#8F837A"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",zoom:{color:"#92B0AB",highlightColor:"#50606C"},selector:{color:"#7DA9B5"},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"},grid:{y:{axisColor:"#829C98",axisLabels:{color:"#50606C"},verticalLines:{show:!1},timeLabels:{color:"#50606C"}},x:{axisColor:"#829C98"},zeroLine:{color:"#444444"}},dataLabels:{color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},w2={default:{},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{labels:{percentage:{color:"#61747E"},name:{color:"#8A9892"},hollow:{total:{color:"#8A9892",value:{color:"#61747E"}},average:{color:"#8A9892",value:{color:"#61747E"}}}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{labels:{percentage:{color:"#AACCAA"},name:{color:"#99CC99"},hollow:{total:{color:"#99CC99",value:{color:"#AACCAA"}},average:{color:"#99CC99",value:{color:"#AACCAA"}}}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{labels:{percentage:{color:"#A0AC94"},name:{color:"#8A9892"},hollow:{total:{color:"#8A9892",value:{color:"#A0AC94"}},average:{color:"#8A9892",value:{color:"#A0AC94"}}}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}}},B2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{rects:{stroke:"#1A1A1A",selected:{stroke:"#1A1A1A"}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{rects:{stroke:"#fbfafa",strokeWidth:2,borderRadius:12,selected:{stroke:"#fbfafa"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{rects:{stroke:"#1A1A1A",selected:{stroke:"#1A1A1A"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},x2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{rect:{rounded:!1,stroke:"#66CC66",useGradient:!1}},legend:{color:"#99AA99",backgroundColor:"#1A1A1A"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{rect:{rounding:4,stroke:"#fbfafa"}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{rect:{rounded:!1,stroke:"#404C5A",useGradient:!1}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},F2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{outerPolygon:{stroke:"#336633",strokeWidth:0},grid:{stroke:"#334C33",graduations:1},labels:{dataLabels:{color:"#99AA99"}}},legend:{color:"#99AA99",backgroundColor:"#1A1A1A"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#1A1A1A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{outerPolygon:{strokeWidth:0},grid:{show:!1},labels:{dataLabels:{color:"#99AA99"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{outerPolygon:{stroke:"#ABB1BC",strokeWidth:.5},grid:{stroke:"#C3DAC8"},labels:{dataLabels:{color:"#99AA99"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},N2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{labels:{quadrantLabels:{tl:{color:"#99AA99"},tr:{color:"#99AA99"},br:{color:"#99AA99"},bl:{color:"#99AA99"}},plotLabels:{color:"#99CC99"},axisLabels:{color:{positive:"#66CC66",negative:"#66CC66"}}},grid:{stroke:"#334C33",graduations:{stroke:"#333333",roundingForce:0,fill:!1}},plots:{outlineColor:"#1A1A1A"},areas:{opacity:20}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{labels:{quadrantLabels:{tl:{color:"#8A9892"},tr:{color:"#8A9892"},br:{color:"#8A9892"},bl:{color:"#8A9892"}},plotLabels:{color:"#8A9892"},axisLabels:{color:{positive:"#99AA99",negative:"#C09E85"}}},grid:{stroke:"#D2E0DB",graduations:{steps:2,color:"#D2E0DB",stroke:"#D2E0DB",roundingForce:256}},plots:{outlineColor:"#fbfafa"},areas:{opacity:40}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{labels:{quadrantLabels:{tl:{color:"#61747E"},tr:{color:"#61747E"},br:{color:"#61747E"},bl:{color:"#61747E"}},plotLabels:{color:"#50606C"},axisLabels:{color:{positive:"#4A6A75",negative:"#7E8F7E"}}},grid:{stroke:"#9AA7B0",graduations:{color:"#DEE1DE",stroke:"#DEE1DE",roundingForce:0}},plots:{outlineColor:"#fbfafa"},areas:{opacity:40}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},_2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{track:{useGradient:!1},markers:{color:"#99CC99",backgroundColor:"#1A1A1A",stroke:"#66CC66"},pointer:{type:"pointy",stroke:"#1A1A1A",circle:{stroke:"#66CC66",strokeWidth:1,color:"#1A1A1A"}}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{track:{useGradient:!1},markers:{color:"#A0AC94",backgroundColor:"#fbfafa",stroke:"#EBD6CC"},pointer:{type:"rounded",stroke:"#fbfafa",circle:{stroke:"#EBD6CC",strokeWidth:1,color:"#fbfafa"}}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{track:{useGradient:!1},markers:{color:"#4F5B75",backgroundColor:"#4F5B75",stroke:"#9FA9BE"},pointer:{type:"pointy",stroke:"#f6f6fb",circle:{stroke:"#f6f6fb",strokeWidth:1,color:"#4F5B75"}}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}}},S2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{wheel:{ticks:{rounded:!1,inactiveColor:"#333333",activeColor:"#66CC66",gradient:{shiftHueIntensity:15}}},innerCircle:{show:!1}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{wheel:{ticks:{inactiveColor:"#F7EDE2",activeColor:"#B1A7AD",gradient:{shiftHueIntensity:100}}},innerCircle:{show:!1}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{wheel:{ticks:{rounded:!1,inactiveColor:"#BBCBC7",activeColor:"#6C94A0",gradient:{shiftHueIntensity:10}}},innerCircle:{stroke:"#BBCBC7"}},title:{color:"#50606C",subtitle:{color:"#718890"}}}}}},L2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{crescendo:!1,inactiveColor:"#333333",activeColor:"#66CC66",ticks:{gradient:{shiftHueIntensity:15}}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{crescendo:!0,curved:!0,curveAngleX:5,curveAngleY:5,inactiveColor:"#F7EDE2",activeColor:"#B1A7AD",ticks:{gradient:{shiftHueIntensity:15}}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{crescendo:!1,inactiveColor:"#BBCBC7",activeColor:"#6C94A0",ticks:{gradient:{shiftHueIntensity:10}}},title:{color:"#50606C",subtitle:{color:"#718890"}}}}}},E2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{grandTotal:{color:"#99CC99"},roots:{stroke:"#1A1A1A",labels:{name:{color:"#AACCAA"}}},verticalSeparator:{stroke:"#1A1A1A"},branches:{borderRadius:0,labels:{color:"#AACCAA"}},nuts:{selected:{labels:{dataLabels:{color:"#AACCAA"},core:{total:{color:"#99CC99"},value:{color:"#AACCAA"}}}}},legend:{color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{grandTotal:{color:"#A0AC94"},roots:{stroke:"#fbfafa",labels:{name:{color:"#A0AC94"}}},verticalSeparator:{stroke:"#fbfafa"},branches:{borderRadius:12,labels:{color:"#A0AC94"}},nuts:{selected:{labels:{dataLabels:{color:"#A0AC94"},core:{total:{color:"#8A9892"},value:{color:"#A0AC94"}}}}},legend:{color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{grandTotal:{color:"#61747E"},roots:{stroke:"#f6f6fb",labels:{name:{color:"#8A9892"}}},verticalSeparator:{stroke:"#f6f6fb"},branches:{borderRadius:0,labels:{color:"#8A9892"}},nuts:{selected:{labels:{dataLabels:{color:"#8A9892"},core:{total:{color:"#8A9892"},value:{color:"#61747E"}}}}},legend:{color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#61747E"}}}}}}},I2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",useGradient:!1,color:"#99AA99",layout:{gutter:{color:"#2A2A2A"},labels:{color:"#99CC99"}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{useGradient:!1,backgroundColor:"#fbfafa",color:"#8A9892",layout:{gutter:{color:"#F7EDE2"},labels:{color:"#A0AC94"}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{useGradient:!1,backgroundColor:"#f6f6fb",color:"#50606C",layout:{gutter:{color:"#DDDDDB"},labels:{color:"#61747E"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},$2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{bars:{borderRadius:0,useGradient:!1,dataLabels:{color:"#AACCAA"},nameLabels:{color:"#99CC99"},parentLabels:{color:"#99CC99"}},highlighter:{color:"#66CC66"},separators:{show:!1}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{bars:{borderRadius:8,useGradient:!0,dataLabels:{color:"#A0AC94"},nameLabels:{color:"#8A9892"},parentLabels:{color:"#8A9892"}},highlighter:{color:"#8F837A"},separators:{show:!1}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{bars:{borderRadius:0,useGradient:!0,dataLabels:{color:"#61747E"},nameLabels:{color:"#8A9892"},parentLabels:{color:"#8A9892"}},highlighter:{color:"#50606C"},separators:{show:!0,color:"#DEE1DE"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},M2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{cells:{colors:{hot:"#008000",cold:"#333333"},spacing:.5,selected:{color:"#33FF33"}},dataLabels:{xAxis:{color:"#AACCAA"},yAxis:{color:"#AACCAA"}}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"},legend:{backgroundColor:"#2A2F2A",color:"#AACCAA"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{cells:{colors:{hot:"#DFCA99",cold:"#BBC4D3"},spacing:.5,selected:{color:"#4F5B75"}},dataLabels:{xAxis:{color:"#A0AC94"},yAxis:{color:"#A0AC94"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{cells:{colors:{hot:"#6D7D65",cold:"#6C94A5"},spacing:.5,selected:{color:"#404C4D"}},dataLabels:{xAxis:{color:"#61747E"},yAxis:{color:"#61747E"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},U2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{axis:{stroke:"#334C33"},marginalBars:{fill:"#66CC66"},plots:{stroke:"#1A1A1A",selectors:{stroke:"#66CC66",labels:{color:"#AACCAA"},markers:{stroke:"#66CC66",fill:"#1A1A1A"}}},correlation:{label:{color:"#AACCAA"}},dataLabels:{xAxis:{color:"#AACCAA"},yAxis:{color:"#AACCAA"}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{axis:{stroke:"transparent"},marginalBars:{fill:"#B0B9A8"},plots:{stroke:"#fbfafa",selectors:{stroke:"#4F5B75",labels:{color:"#928A98"},markers:{stroke:"#4F5B75",fill:"#fbfafa"}}},correlation:{label:{color:"#928A98"}},dataLabels:{xAxis:{color:"#928A98"},yAxis:{color:"#928A98"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{axis:{stroke:"#92B0B5"},marginalBars:{fill:"#ABB1BC"},plots:{stroke:"#fbfafa",selectors:{stroke:"#4F5B75",labels:{color:"#404C4D"},markers:{stroke:"#4F5B75",fill:"#f6f6fb"}}},correlation:{label:{color:"#61747E"}},dataLabels:{xAxis:{color:"#61747E"},yAxis:{color:"#61747E"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},V2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{selector:{color:"#7DA9B5"},grid:{stroke:"#334C33",xAxis:{dataLabels:{color:"#99CC99"}},yAxis:{dataLabels:{color:"#99CC99"}}},wick:{stroke:"#334C33",extremity:{color:"#334C33"}},candle:{stroke:"#1A1A1A",colors:{bullish:"#00FF00",bearish:"#334C33"},gradient:{show:!1}}},zoom:{color:"#5F6A5F",highlightColor:"#66CC66"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{selector:{color:"#8F837A"},grid:{stroke:"transparent",xAxis:{dataLabels:{color:"#8A9892"}},yAxis:{dataLabels:{color:"#8A9892"}}},wick:{stroke:"#D7E0D2",extremity:{shape:"circle",size:2,color:"#C5B8A7"}},candle:{stroke:"#fbfafa",colors:{bullish:"#A0AC94",bearish:"#C09E85"},gradient:{show:!0}}},zoom:{color:"#E0CFC3",highlightColor:"#8F837A"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{selector:{color:"#7DA9B5"},grid:{stroke:"#334C33",xAxis:{dataLabels:{color:"#61747E"}},yAxis:{dataLabels:{color:"#61747E"}}},wick:{stroke:"#61747E",extremity:{color:"#61747E"}},candle:{stroke:"#1A1A1A",colors:{bullish:"#92B0AB",bearish:"#EFECEC"},gradient:{show:!1}}},zoom:{color:"#92B0AB",highlightColor:"#50606C"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},Q2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{grid:{stroke:"#5F6A5F"},dataLabels:{sideTitles:{color:"#AACCAA"},xAxis:{color:"#5F6A5F"},yAxis:{color:"#5F6A5F"}},bars:{borderRadius:0,gap:1,left:{color:"#668066"},right:{color:"#66CC66"},gradient:{show:!1}}},highlighter:{color:"#66CC66"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{grid:{stroke:"#5F6A5F"},dataLabels:{sideTitles:{color:"#8A9892"},xAxis:{show:!1},yAxis:{show:!1}},bars:{borderRadius:6,gap:1,left:{color:"#DCB482"},right:{color:"#B9B99D"},gradient:{show:!0}}},highlighter:{color:"#8F837A"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{grid:{stroke:"#5F6A5F"},dataLabels:{sideTitles:{color:"#61747E"},xAxis:{color:"#61747E"},yAxis:{color:"#61747E"}},bars:{borderRadius:0,gap:1,left:{color:"#A1B5A3"},right:{color:"#7DA9B5"},gradient:{show:!0,intensity:10}}},highlighter:{color:"#7DA9B5"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},T2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",labels:{color:"#AACCAA"},circle:{stroke:"#333333"},plot:{color:"#66CC66"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",labels:{color:"#A0AC94"},circle:{stroke:"transparent"},plot:{color:"#C09E85"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",labels:{color:"#61747E"},circle:{stroke:"#D2D7E0"},plot:{color:"#97ACB7"},title:{color:"#50606C",subtitle:{color:"#718890"}}}}},O2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",graduations:{stroke:"#1A1A1A",strokeWidth:6,gradient:{show:!0}},label:{color:"#66CC66"}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",graduations:{show:!1,gradient:{show:!0}},label:{color:"#B9B99D"}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",graduations:{stroke:"#1A1A1A",gradient:{show:!0}},label:{color:"#61747E"}},title:{color:"#50606C",subtitle:{color:"#718890"}}}}},z2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{rings:{stroke:"#1A1A1A",strokeWidth:10}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{rings:{stroke:"#fbfafa",strokeWidth:10}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{rings:{stroke:"#fbfafa",strokeWidth:10}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},D2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",zoom:{color:"#5F6A5F",highlightColor:"#66CC66"},layout:{grid:{show:!1,stroke:"#5F6A5F",yAxis:{dataLabels:{color:"#AACCAA"}},xAxis:{dataLabels:{color:"#AACCAA"}}},line:{stroke:"#5F6A5F"},highlighter:{color:"#66CC66"},dataLabels:{color:"#AACCAA"}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",zoom:{color:"#E0CFC3",highlightColor:"#8F837A"},layout:{grid:{show:!1,yAxis:{dataLabels:{show:!1}},xAxis:{dataLabels:{show:!1}}},line:{stroke:"#DCDFE7"},highlighter:{color:"#8F837A"},dataLabels:{color:"#A0AC94"}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",zoom:{color:"#92B0AB",highlightColor:"#50606C"},layout:{grid:{stroke:"#BBC4D3",yAxis:{dataLabels:{color:"#61747E"}},xAxis:{dataLabels:{color:"#61747E"}}},line:{stroke:"#92B0AB"},highlighter:{color:"#50606C"},dataLabels:{color:"#61747E"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},P2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{grid:{stroke:"#333333"},outerPolygon:{stroke:"#334C33"},dataPolygon:{color:"#33B333",stroke:"#00FF00"},smileys:{colors:{1:"#336633",2:"#338033",3:"#339933",4:"#33E633",5:"#00FF00"}},dataLabel:{color:"#00FF00"}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{grid:{stroke:"#C5B8A7"},outerPolygon:{strokeWidth:0},dataPolygon:{color:"#858480",stroke:"#C09E85"},smileys:{colors:{1:"#C09E85",2:"#DCB482",3:"#DFCA99",4:"#E0CFC3",5:"#B9B99D"}},dataLabel:{color:"#606C5A"}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{grid:{stroke:"#61747E"},outerPolygon:{stroke:"#50606C"},dataPolygon:{color:"#A3C4BE",stroke:"#92B0B5"},smileys:{colors:{1:"#5C6B5B",2:"#4A6A75",3:"#6C94A0",4:"#7DA9B5",5:"#8EBFCA"}},dataLabel:{color:"#50606C"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},H2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",nodes:{stroke:"#1A1A1A",strokeHovered:"#00FF00"},links:{stroke:"#333333"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",nodes:{stroke:"#fbfafa",strokeHovered:"#5E5E5E"},links:{stroke:"#e8ede1"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",nodes:{stroke:"#61747E",strokeHovered:"#404C4D"},links:{stroke:"#BBCBC7"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},R2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{labels:{dataLabels:{color:"#AACCAA"}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{labels:{dataLabels:{color:"#A0AC94"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{labels:{dataLabels:{color:"#61747E"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},G2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{arcs:{gradient:{color:"#1A1A1A"}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{arcs:{gradient:{color:"#fbfafa"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{arcs:{gradient:{show:!1}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},W2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",grid:{stroke:"#5F6A5F",horizontalGrid:{show:!1},verticalGrid:{show:!1}},plots:{stroke:"#00FF00"},labels:{bestPlotLabel:{color:"#AACCAA"},axis:{color:"#99CC99"},xAxisLabels:{color:"#99CC99"},yAxisLabels:{color:"#99CC99"}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",grid:{show:!1,horizontalGrid:{show:!1},verticalGrid:{show:!1}},plots:{stroke:"#fbfafa"},labels:{bestPlotLabel:{color:"#A0AC94"},axis:{color:"#A0AC94"},xAxisLabels:{color:"#A0AC94"},yAxisLabels:{show:!1,color:"#A0AC94"}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",grid:{stroke:"#829C98",horizontalGrid:{stroke:"#829C98"},verticalGrid:{stroke:"#829C98"}},plots:{stroke:"#404C5A"},labels:{bestPlotLabel:{color:"#61747E"},axis:{color:"#61747E"},xAxisLabels:{color:"#61747E"},yAxisLabels:{color:"#61747E"}},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},K2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",plots:{startColor:"#008000",endColor:"#00FF00",stroke:"#1A1A1A"},grid:{horizontalGrid:{stroke:"#5F6A5F"},verticalGrid:{stroke:"#5F6A5F"}},labels:{yAxisLabels:{color:"#99CC99"},xAxisLabels:{color:"#99CC99"}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",plots:{startColor:"#DCB482",endColor:"#B9B99D",stroke:"#fbfafa"},grid:{horizontalGrid:{show:!1},verticalGrid:{show:!1}},labels:{yAxisLabels:{color:"#8A9892"},xAxisLabels:{show:!1}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",plots:{startColor:"#718885",endColor:"#7DA9B5",stroke:"#404C5A"},grid:{horizontalGrid:{stroke:"#829C98"},verticalGrid:{stroke:"#829C98"}},labels:{yAxisLabels:{color:"#61747E"},xAxisLabels:{color:"#61747E"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},j2={default:{},hack:{style:{backgroundColor:"#1A1A1A",line:{color:"#66CC66"},bar:{color:"#66CC66",borderRadius:0},zeroLine:{color:"#5F6A5F"},plot:{stroke:"#1A1A1A"},verticalIndicator:{color:"#66CC66"},dataLabel:{color:"#AACCAA"},title:{color:"#66CC66"},area:{color:"#66CC66"}}},zen:{style:{backgroundColor:"#fbfafa",line:{color:"#B9B99D",smooth:!0},bar:{color:"#B9B99D",borderRadius:3},zeroLine:{strokeWidth:0},plot:{stroke:"#fbfafa"},verticalIndicator:{color:"#B9B99D"},dataLabel:{color:"#A0AC94"},title:{color:"#8A9892"},area:{color:"#B9B99D"}}},concrete:{style:{backgroundColor:"#f6f6fb",line:{color:"#4A6A75"},bar:{color:"#4A6A75",borderRadius:0},zeroLine:{color:"#9FA9BE"},plot:{stroke:"#f6f6fb"},verticalIndicator:{color:"#4A6A75"},dataLabel:{color:"#61747E"},title:{color:"#50606C"},area:{color:"#4A6A75"}}}},X2={default:{},hack:{style:{backgroundColor:"#1A1A1A",gutter:{backgroundColor:"#333333"},bar:{gradient:{underlayerColor:"#1A1A1A"}},labels:{name:{color:"#99CC99"}},title:{color:"#66CC66"}}},zen:{style:{backgroundColor:"#fbfafa",gutter:{backgroundColor:"#f5f0eb"},bar:{gradient:{underlayerColor:"#fbfafa"}},labels:{name:{color:"#8A9892"}}}},concrete:{style:{backgroundColor:"#f6f6fb",bar:{gradient:{underlayerColor:"#f6f6fb"}},labels:{name:{color:"#50606C"}}}}},q2={default:{},hack:{style:{backgroundColor:"#1A1A1A",bar:{gradient:{underlayerColor:"#1A1A1A"}},legend:{name:{color:"#99AA99"},value:{color:"#AACCAA"},percentage:{color:"#99CC99"}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},zen:{style:{backgroundColor:"#fbfafa",bar:{gradient:{underlayerColor:"#fbfafa"}},legend:{name:{color:"#8A9892"},value:{color:"#A0AC94"},percentage:{color:"#8A9892"}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},concrete:{style:{backgroundColor:"#f6f6fb",bar:{gradient:{underlayerColor:"#f6f6fb"}},legend:{name:{color:"#50606C"},value:{color:"#8A9892"},percentage:{color:"#61747E"}},title:{color:"#50606C",subtitle:{color:"#718890"}}}}},Y2={default:{},hack:{style:{backgroundColor:"#1A1A1A",bars:{colors:{positive:"#66CC66"}},labels:{value:{color:"#AACCAA"},valueLabel:{color:"#99CC99"},timeLabel:{color:"#99AA99"}},selector:{stroke:"#00FF00"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},zen:{style:{backgroundColor:"#fbfafa",bars:{colors:{positive:"#B9B99D",negative:"#C09E85"}},labels:{value:{color:"#A0AC94"},valueLabel:{color:"#A0AC94"},timeLabel:{color:"#8A9892"}},selector:{stroke:"#BBC4D3"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},concrete:{style:{backgroundColor:"#f6f6fb",bars:{colors:{positive:"#4A6A75"}},labels:{value:{color:"#61747E"},valueLabel:{color:"#8A9892"},timeLabel:{color:"#50606C"}},selector:{stroke:"#404C4D"},title:{color:"#50606C",subtitle:{color:"#718890"}}}}},J2={default:{},hack:{style:{background:"#1A1A1A",title:{color:"#66CC66"},dataLabel:{color:"#AACCAA"},colors:{min:"#334C33",max:"#33CC33"},track:{color:"#33CC33"},gutter:{color:"#333333"}}},zen:{style:{background:"#fbfafa",title:{color:"#8A9892"},dataLabel:{color:"#A0AC94"},colors:{min:"#C09E85",max:"#B9B99D"},track:{color:"#B9B99D"},gutter:{color:"#f5f0eb"}}},concrete:{style:{background:"#f6f6fb",title:{color:"#50606C"},dataLabel:{color:"#61747E"},colors:{min:"#92B0AB",max:"#4A6A75"},track:{color:"#4A6A75"},gutter:{color:"#e1e5e8"}}}},Z2={default:{},hack:{style:{backgroundColor:"#1A1A1A",line:{stroke:"#00FF00",smooth:!1},dataLabel:{color:"#AACCAA"},trendLabel:{color:"#99CC99"},arrow:{colors:{positive:"#66CC66",negative:"#196619"}}}},zen:{style:{backgroundColor:"#fbfafa",line:{stroke:"#B9B99D"},dataLabel:{color:"#8A9892"},trendLabel:{color:"#99CC99"},arrow:{colors:{positive:"#B9B99D",negative:"#C09E85",neutral:"#A5AFC1"}}}},concrete:{style:{backgroundColor:"#f6f6fb",line:{stroke:"#4A6A75"},dataLabel:{color:"#61747E"},trendLabel:{color:"#8A9892"},arrow:{colors:{positive:"#4A6A75",negative:"#C09E85",neutral:"#ABB1BC"}}}}},eC={default:{},hack:{backgroundColor:"#1A1A1A",color:"#99AA99",xyAxisStroke:"#5F6A5F",xyGridStroke:"#333333",xyHighlighterColor:"#66CC66",zoomColor:"#5F6A5F",zoomHighlightColor:"#66CC66",tooltipBorderColor:"#66CC66"},zen:{backgroundColor:"#fbfafa",color:"#8A9892",xyAxisStroke:"transparent",xyGridStroke:"transparent",xyHighlighterColor:"#8F837A",zoomColor:"#E0CFC3",zoomHighlightColor:"#8F837A"},concrete:{backgroundColor:"#f6f6fb",color:"#50606C",xyAxisStroke:"#829C98",xyGridStroke:"#CCD6D3",xyHighlighterColor:"#7DA9B5",zoomColor:"#92B0AB",zoomHighlightColor:"#50606C"}},tC={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",bar:{color:"#66CC66"},box:{stroke:"#333333"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},legend:{color:"#99AA99"},dataLabel:{color:"#AACCAA"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",bar:{color:"#B9B99D"},box:{stroke:"#DCDFE7"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},legend:{color:"#99AA99"},dataLabel:{color:"#A0AC94"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",bar:{color:"#4A6A75"},box:{stroke:"#DEE1DE"},title:{color:"#50606C",subtitle:{color:"#718890"}},legend:{color:"#61747E"},dataLabel:{color:"#61747E"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},oC={default:{},hack:{title:{backgroundColor:"#1A1A1A",color:"#66CC66",subtitle:{color:"#99AA99"}},thead:{backgroundColor:"#1A1A1A",color:"#99AA99"},tbody:{backgroundColor:"#1A1A1A",color:"#99AA99"}},zen:{title:{backgroundColor:"#fbfafa",color:"#8A9892",subtitle:{color:"#99AA99"}},thead:{backgroundColor:"#fbfafa",color:"#8A9892"},tbody:{backgroundColor:"#fbfafa",color:"#A0AC94"}},concrete:{title:{backgroundColor:"#f6f6fb",color:"#50606C",subtitle:{color:"#718890"}},thead:{backgroundColor:"#f6f6fb",color:"#50606C"},tbody:{backgroundColor:"#f6f6fb",color:"#50606C"}}},lC={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",heatmapColors:{min:"#333333",max:"#66CC66"}},table:{head:{backgroundColor:"#1A1A1A",color:"#99AA99"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",heatmapColors:{max:"#C09E85",min:"#DCDFE7"}},table:{head:{backgroundColor:"#fbfafa",color:"#8A9892"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",heatmapColors:{max:"#4A6A75",min:"#EFECEC"}},table:{head:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},aC={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",title:{color:"#50606C",subtitle:{color:"#718890"}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},rC={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",title:{color:"#66CC66",subtitle:{color:"#99AA99"}},nodes:{stroke:"#1A1A1A"},links:{stroke:"#1A1A1A"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",title:{color:"#8A9892",subtitle:{color:"#99AA99"}},nodes:{stroke:"#fbfafa"},links:{stroke:"#fbfafa"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",title:{color:"#50606C",subtitle:{color:"#718890"}},nodes:{stroke:"#f6f6fb"},links:{stroke:"#f6f6fb"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},Nt={vue_ui_xy:b2,vue_ui_parallel_coordinate_plot:k2,vue_ui_xy_canvas:C2,vue_ui_donut:w2,vue_ui_treemap:B2,vue_ui_waffle:x2,vue_ui_radar:F2,vue_ui_quadrant:N2,vue_ui_gauge:_2,vue_ui_wheel:S2,vue_ui_tiremarks:L2,vue_ui_chestnut:E2,vue_ui_onion:I2,vue_ui_vertical_bar:$2,vue_ui_heatmap:M2,vue_ui_scatter:U2,vue_ui_candlestick:V2,vue_ui_age_pyramid:Q2,vue_ui_relation_circle:T2,vue_ui_thermometer:O2,vue_ui_rings:z2,vue_ui_donut_evolution:D2,vue_ui_mood_radar:P2,vue_ui_molecule:H2,vue_ui_nested_donuts:R2,vue_ui_galaxy:G2,vue_ui_strip_plot:W2,vue_ui_dumbbell:K2,vue_ui_sparkline:j2,vue_ui_sparkbar:X2,vue_ui_sparkstackbar:q2,vue_ui_sparkhistogram:Y2,vue_ui_sparkgauge:J2,vue_ui_spark_trend:Z2,vue_ui_quick_chart:eC,vue_ui_3d_bar:tC,vue_ui_table_sparkline:oC,vue_ui_table_heatmap:lC,vue_ui_word_cloud:aC,vue_ui_flow:rC},nC=["cx","cy","r","fill","stroke","stroke-width"],sC=["d","fill","stroke","stroke-width"],iC=["points","fill","stroke","stroke-width"],ra={__name:"Shape",props:{color:String,isSelected:{type:Boolean,default:!1},limit:{type:Number,default:3},plot:Object,radius:Number,shape:String,stroke:String,strokeWidth:Number,zoom:{type:Number,default:1.3}},emits:["mouseover","mouseout","click"],setup(t,{emit:o}){const a=t;function n(u){return{circle:{points:1,rotation:0},line:{points:2,rotation:0},triangle:{points:3,rotation:.52},square:{points:4,rotation:.783},diamond:{points:4,rotation:0},pentagon:{points:5,rotation:.95},hexagon:{points:6,rotation:0}}[u]}const r=e.computed(()=>n(a.shape)),l=e.computed(()=>a.shape!=="star"?null:Vr({plot:{x:a.plot.x,y:a.plot.y},radius:a.radius*(a.isSelected?a.zoom:1)})),s=e.computed(()=>Qo({plot:{x:a.plot.x,y:a.plot.y},radius:a.radius*(a.isSelected?a.zoom:1),sides:r.value.points,rotation:r.value.rotation}).path);return(u,h)=>(e.openBlock(),e.createElementBlock("g",null,[r.value&&r.value.points===1?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:t.plot.x,cy:t.plot.y,r:a.radius*(a.isSelected?a.zoom:1),fill:t.color,stroke:t.stroke,"stroke-width":t.strokeWidth,onMouseover:h[0]||(h[0]=f=>o("mouseover")),onMouseout:h[1]||(h[1]=f=>o("mouseout")),onClick:h[2]||(h[2]=f=>o("click"))},null,40,nC)):e.createCommentVNode("",!0),r.value&&r.value.points>=t.limit?(e.openBlock(),e.createElementBlock("path",{key:1,d:s.value,fill:t.color,stroke:t.stroke,"stroke-width":t.strokeWidth,onMouseover:h[3]||(h[3]=f=>o("mouseover")),onMouseout:h[4]||(h[4]=f=>o("mouseout")),onClick:h[5]||(h[5]=f=>o("click"))},null,40,sC)):e.createCommentVNode("",!0),l.value?(e.openBlock(),e.createElementBlock("polygon",{key:2,points:l.value,fill:t.color,stroke:t.stroke,"stroke-width":t.strokeWidth,onMouseover:h[6]||(h[6]=f=>o("mouseover")),onMouseout:h[7]||(h[7]=f=>o("mouseout")),onClick:h[8]||(h[8]=f=>o("click"))},null,40,iC)):e.createCommentVNode("",!0)]))}},vt=(t,o)=>{const a=t.__vccOpts||t;for(const[n,r]of o)a[n]=r;return a},uC=["xmlns","height","width","innerHTML"],AC={__name:"BaseIcon",props:{name:String,size:{type:Number,default:24},stroke:{type:String,default:"#CCCCCC"},strokeWidth:{type:Number,default:1.5},isSpin:{type:Boolean,default:!1}},setup(t){const o=t,a=e.computed(()=>({annotator:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M3 17 4 12C5 12 7 13 8 15L3 17M4 12 11 2C12 2 14 3 15 5L8 15M3 19C5 19 5 19 8 19 11 19 11 18 13 18 15 18 15 19 19 19M12 1C13 1 15 2 16 4" />`,chart3dBar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" d="M10 1 6 3 6 17 10 19 14 17 14 3 10 1M6 3 10 5 14 3M10 5 10 19" stroke-linecap="round" stroke-linejoin="round"/><path fill="${o.stroke}" stroke="none" style="opacity:0.3" d="M 6 10 L 10 12 L 14 10 L 14 17 L 10 19 L 6 17 L 6 10"/>`,chartAgePyramid:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 1 19 L 9 19 M 11 19 L 19 19 M 2 17 L 9 17 M 11 17 L 18 17 M 2 15 L 9 15 M 11 15 L 18 15 M 3 13 L 9 13 M 11 13 L 17 13 M 3 11 L 9 11 M 11 11 L 17 11 M 4 9 L 9 9 M 11 9 L 16 9 M 4 7 L 9 7 M 11 7 L 16 7 M 5 5 L 9 5 M 11 5 L 15 5 M 6 3 L 9 3 M 11 3 L 14 3 M 7 1 L 9 1 M 11 1 L 13 1" />`,chartBar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 12 2 18C2 19 2 19 3 19L5 19C6 19 6 19 6 18L6 12C6 11 6 11 5 11L3 11C2 11 2 11 2 12M8 7 8 18C8 19 8 19 9 19L11 19C12 19 12 19 12 18L12 7C12 6 12 6 11 6L9 6C8 6 8 6 8 7M14 2 14 18C14 19 14 19 15 19L17 19C18 19 18 19 18 18L18 2C18 1 18 1 17 1L15 1C14 1 14 1 14 2"/>`,chartCandlestick:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 9 2 11C2 12 3 12 3 12L5 12C6 12 6 11 6 11L6 9C6 8 5 8 5 8L3 8C2 8 2 9 2 9M8 8 8 12C8 12 8 13 9 13L11 13C12 13 12 12 12 12L12 8C12 7 11 7 11 7L9 7C8 7 8 8 8 8M14 9 14 14C14 15 15 15 15 15L17 15C18 15 18 14 18 14L18 9C18 9 18 8 17 8L15 8C14 8 14 9 14 9M4 8 4 5M3 5 5 5M10 13 10 16M9 16 11 16M16 8 16 2M15 2 17 2M10 7 10 4M9 4 11 4M4 12 4 18M3 18 5 18M16 15 16 18M15 18 17 18" />`,chartChestnut:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M4 3A1 1 0 004 9 1 1 0 004 3M4 12A1 1 0 004 17 1 1 0 004 12M9 4 19 4M9 7 17 7M9 10 15 10M9 13 13 13M9 16 11 16" />`,chartDonut:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M6 10A1 1 0 0014 10 1 1 0 006 10M1 10 6 10M10 14 10 19M14 10" /><path stroke="none" stroke-width="none" fill="${o.stroke}" stroke-linecap="round" d="M1 10 6 10C6 12 8 14 10 14L10 19C6 19 1 16 1 10" style="opacity:0.3" />`,chartNestedDonuts:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 4 10 A 1 1 0 0 0 16 10 A 1 1 0 0 0 4 10 M 1 10 L 4 10"/><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth/2}" stroke-linecap="round" d="M 10 16 L 10 19 M 7 10 A 1 1 0 0 0 13 10 A 1 1 0 0 0 7 10 "/><path style="opacity:0.3" fill="${o.stroke}" stroke-width="none" stroke-linecap="round" d="M 7 10 L 10 10 L 10 13 C 8 13 7 11 7 10"/><path style="opacity:0.3" fill="${o.stroke}" stroke-width="none" stroke-linecap="round" d="M 1 10 L 4 10 C 4 14 7 16 10 16 L 10 19 C 5 19 1 15 1 10"/>`,chartDonutEvolution:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 1 1 18C1 19 1 19 2 19L19 19M3 8A1 1 0 007 8 1 1 0 003 8M8 14A1 1 0 0012 14 1 1 0 008 14M14 4A1 1 0 0018 4 1 1 0 0014 4M7 10 9 12M11 12 15 6" />`,chartGauge:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 19 13 A 1 1 0 0 0 1 13" style="opacity:0.3" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 9 15 A 1 1 0 0 0 11 15 A 1 1 0 0 0 9 15 M 10 14 L 10 8 M 10 4 C 6 4 1 7 1 13" />`,chartHeatmap:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 3 2 17C2 18 2 18 3 18L17 18C18 18 18 18 18 17L18 3C18 2 18 2 17 2L3 2C2 2 2 2 2 3M10 2 10 18M2 10 18 10M6 2 6 18M14 2 14 18M2 6 18 6M2 14 18 14"/><rect fill="${o.stroke}" stroke="none" x="2" y="6" height="4" width="4" style="opacity:0.5" /><rect fill="${o.stroke}" stroke="none" x="6" y="10" height="4" width="4" style="opacity:0.5" /><rect fill="${o.stroke}" stroke="none" x="6" y="14" height="4" width="4" style="opacity:0.5" /><rect fill="${o.stroke}" stroke="none" x="14" y="2" height="4" width="4" style="opacity:0.5" />`,chartLine:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 1 1 18C1 19 1 19 2 19L19 19M3 17Q3 12 5 7 6 5 8 10 10 15 11 6 12 3 14 8 16 11 19 1" />`,chartMoodRadar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M10 4 4 9 6 16 14 16 16 9 10 4M9 2A1 1 0 0011 2 1 1 0 009 2M1 8A1 1 0 003 8 1 1 0 001 8M3 18A1 1 0 005 17 1 1 0 003 18M15 18A1 1 0 0017 17 1 1 0 0015 18M17 8A1 1 0 0019 8 1 1 0 0017 8" /><path stroke="none" stroke-width="none" fill="${o.stroke}" stroke-linecap="round" stroke-linejoin="round" d="M10 7 13 10 13 14 8 13 7 9 10 7" style="opacity:0.3" />`,chartOnion:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M10 1C15 1 19 5 19 10 19 15 15 19 10 19 6 19 1 15 1 10M10 4C13 4 16 6 16 10 16 14 13 16 10 16 7 16 4 14 4 10M10 7C11 7 13 8 13 10 13 12 11 13 10 13 9 13 7 12 7 10" style="opacity:0.3" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M10 1C15 1 19 5 19 10 19 15 15 19 10 19M10 4C13 4 16 6 16 10 16 14 13 16 10 16 7 16 4 14 4 10M10 7C11 7 13 8 13 10" />`,chartQuadrant:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M10 1 10 19M1 10 19 10" /><circle stroke="none" fill="${o.stroke}" cx="3" cy="14" r="1"/><circle stroke="none" fill="${o.stroke}" cx="5" cy="6" r="1"/><circle stroke="none" fill="${o.stroke}" cx="14" cy="17" r="1"/><circle stroke="none" fill="${o.stroke}" cx="17" cy="14" r="1"/><circle stroke="none" fill="${o.stroke}" cx="15" cy="4" r="1"/>`,chartRadar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 6 2 14 10 19 18 14 18 6 10 1 2 6" /><path style="opacity:0.3" fill="${o.stroke}" stroke="none" stroke-width="0" stroke-linecap="round" d="M4 7 10 5 18 6 12 11 10 16 6 11 4 7" />`,chartRelationCircle:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M1 10C7 11 9 13 10 19M10 19C10 11 8 7 6 2M10 19C10 11 12 7 14 2M10 19C11 13 12 11 19 10" />`,chartRings:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 14A1 1 0 0015 14 1 1 0 005 14M8 17A1 1 0 0012 17 1 1 0 008 17" />`,chartScatter:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 1 1 18C1 19 1 19 2 19L19 19" /><circle stroke="none" fill="${o.stroke}" cx="5" cy="15" r="1"/><circle stroke="none" fill="${o.stroke}" cx="6" cy="12" r="1" /><circle stroke="none" fill="${o.stroke}" cx="8" cy="15" r="1"/><circle stroke="none" fill="${o.stroke}" cx="10" cy="8" r="1"/><circle stroke="none" fill="${o.stroke}" cx="12" cy="10" r="1"/><circle stroke="none" fill="${o.stroke}" cx="14" cy="6" r="1"/><circle stroke="none" fill="${o.stroke}" cx="16" cy="4" r="1"/><circle stroke="none" fill="${o.stroke}" cx="11" cy="14" r="1"/>`,chartSparkHistogram:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 9 2 11C2 12 3 12 3 12L5 12C6 12 6 11 6 11L6 9C6 8 5 8 5 8L3 8C2 8 2 9 2 9M8 8 8 12C8 12 8 13 9 13L11 13C12 13 12 12 12 12L12 8C12 7 11 7 11 7L9 7C8 7 8 8 8 8M14 9 14 11C14 12 15 12 15 12L17 12C18 12 18 11 18 11L18 9C18 9 18 8 17 8L15 8C14 8 14 9 14 9" />`,chartSparkStackbar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 10 L 18 10" style="opacity:0.3" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 10 L 14 10" style="opacity:0.5" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 10 L 8 10" />`,chartTable:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 3 2 17C2 18 2 18 3 18L17 18C18 18 18 18 18 17L18 3C18 2 18 2 17 2L3 2C2 2 2 2 2 3M10 6 10 18M2 10 18 10M6 2M14 2M2 6 18 6M2 14 18 14M6 8 8 8M6 12 8 12M6 16 8 16M14 8 16 8M14 12 16 12M14 16 16 16" />`,chartThermometer:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 13 4 A 1 1 0 0 0 7 4 L 7 16 A 1 1 0 0 0 13 16 L 13 4 M 7 15 L 8 15 M 7 12 L 8 12 M 7 9 L 8 9 M 7 6 L 8 6 M 12 15 L 13 15 M 12 12 L 13 12 M 12 9 L 13 9 M 12 6 L 13 6 " /><path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" style="opacity: 0.6" d="M 10 17 L 10 12 " /><path stroke-linecap="round" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" opacity="M 10 17 L 10 9" /><path stroke-linecap="round" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" opacity="0.3" d="M 10 17 L 10 6" /><path stroke-linecap="round" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" style="opacity: 0.1" d="M 10 17 L 10 3" />`,chartTiremarks:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 8 1 12M3 8 3 12M5 8 5 12M7 8 7 12M9 8 9 12M11 8 11 12M13 8 13 12" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 8 1 12M3 8 3 12M5 8 5 12M7 8 7 12M9 8 9 12M11 8 11 12M13 8 13 12M15 8 15 12M17 8 17 12M19 8 19 12" style="opacity:0.4" />`,chartVerticalBar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 3 1 5C1 6 1 6 2 6L9 6C10 6 10 6 10 5L10 3C10 2 10 2 9 2L2 2C1 2 1 2 1 3M1 9 1 11C1 12 1 12 2 12L13 12C14 12 14 12 14 11L14 9C14 8 14 8 13 8L2 8C1 8 1 8 1 9M1 15 1 17C1 18 1 18 2 18L17 18C18 18 18 18 18 17L18 15C18 14 18 14 17 14L2 14C1 14 1 14 1 15" />`,chartWaffle:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 2 1 4C1 5 1 5 2 5L4 5C5 5 5 5 5 4L5 2C5 1 5 1 4 1L2 1C1 1 1 1 1 2M18 1 16 1C15 1 15 1 15 2L15 4C15 5 15 5 16 5L18 5C19 5 19 5 19 4L19 2C19 1 19 1 18 1M8 2 8 4C8 5 8 5 9 5L11 5C12 5 12 5 12 4L12 2C12 1 12 1 11 1L9 1C8 1 8 1 8 2M2 19 4 19C5 19 5 19 5 18L5 16C5 15 5 15 4 15L2 15C1 15 1 15 1 16L1 18C1 19 1 19 2 19M1 9 1 11C1 12 1 12 2 12L4 12C5 12 5 12 5 11L5 9C5 8 5 8 4 8L2 8C1 8 1 8 1 9M15 16 15 18C15 19 15 19 16 19L18 19C19 19 19 19 19 18L19 16C19 15 19 15 18 15L16 15C15 15 15 15 15 16M8 16 8 18C8 19 8 19 9 19L11 19C12 19 12 19 12 18L12 16C12 15 12 15 11 15L9 15C8 15 8 15 8 16M8 9 8 11C8 12 8 12 9 12L11 12C12 12 12 12 12 11L12 9C12 8 12 8 11 8L9 8C8 8 8 8 8 9M15 9 15 11C15 12 15 12 16 12L18 12C19 12 19 12 19 11L19 9C19 8 19 8 18 8L16 8C15 8 15 8 15 9" />`,chartWheel:`<circle cx="10" cy="10" r="7" fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-dasharray="16" stroke-linecap="round"/><circle cx="10" cy="10" r="9" fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-dasharray="2" stroke-linecap="round" style="opacity:0.7"/><circle cx="10" cy="10" r="1" fill="${o.stroke}" />`,close:`<path fill="none" stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M4 4 16 16M4 16 16 4" />`,dashboard:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 5A1 1 0 009 5 1 1 0 001 5M5 1 5 5 9 5M1 15 6 15M1 18 8 18M13 9C13 10 13 10 14 10 15 10 15 10 15 9L15 6C15 5 15 5 14 5 13 5 13 5 13 6 13 6 13 8 13 9M17 9C17 10 17 10 18 10 19 10 19 10 19 9L19 4C19 3 19 3 18 3 17 3 17 3 17 4L17 9M9 12 12 18 14 15 17 16 19 13M1 12 4 12" />`,digit0:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M7 10 8 9 12 9 13 10 12 11 8 11 7 10"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 3 7 4 7 8 6 9 5 8 5 4 6 3M6 11 7 12 7 16 6 17 5 16 5 12 6 11M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11" />`,digit1:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11" />`,digit2:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M14 11 15 12 15 16 14 17 13 16 13 12 14 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 3 13 4 13 8 14 9 15 8 15 4 14 3M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit3:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M6 11 7 12 7 16 6 17 5 16 5 12 6 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11M7 18 8 17 12 17 13 18 12 19 8 19 7 18M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit4:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit5:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M14 3 13 4 13 8 14 9 15 8 15 4 14 3M6 11 7 12 7 16 6 17 5 16 5 12 6 11"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 11 15 12 15 16 14 17 13 16 13 12 14 11M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit6:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M 14 3 L 13 4 L 13 8 L 14 9 L 15 8 L 15 4 L 14 3 "/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 11 15 12 15 16 14 17 13 16 13 12 14 11M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit7:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11" />`,digit8:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M7 10 8 9 12 9 13 10 12 11 8 11 7 10M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 3 7 4 7 8 6 9 5 8 5 4 6 3M6 11 7 12 7 16 6 17 5 16 5 12 6 11M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11" />`,digit9:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M6 11 7 12 7 16 6 17 5 16 5 12 6 11"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,excel:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linejoin="round" d="M4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L16 19C18 19 19 18 19 16L19 6C15 6 14 5 14 1ZM14 8C15 8 16 9 16 10L16 14C16 15 15 16 14 16L6 16C5 16 4 15 4 14L4 10C4 9 5 8 6 8Z"/><line stroke="${o.stroke}" stroke-width="${o.strokeWidth}" x1="9" x2="9" y1="8" y2="16" /><line stroke="${o.stroke}" stroke-width="${o.strokeWidth}" x1="4" x2="16" y1="12" y2="12" />`,image:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L16 19C18 19 19 18 19 16L19 6C15 6 14 5 14 1ZM1 16C3.3333 13.6667 3 10 8 12M7 14C8 13 9 5 19 11"/><circle r="1" cx="6" cy="5" stroke="none" fill="${o.stroke}"/>`,labelClose:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 8C1 9 1 11 2 12L5 16C6 17 6 17 7 17L17 17C19 17 19 15 19 15L19 5C19 5 19 3 17 3L12 3M7 10 15 10M7 13 16 13M9 6 4 1M4 6 9 1" />`,labelOpen:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 8C1 9 1 11 2 12L5 16C6 17 6 17 7 17L17 17C19 17 19 16 19 15L19 5C19 5 19 3 17 3L7 3C6 3 6 3 5 4L2 8M7 7 13 7M7 10 15 10M7 13 16 13" />`,menu:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M2 10 18 10M2 5 18 5M2 15 18 15" />`,moodFlat:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 13C8 11 12 11 15 13M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,moodHappy:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 11C6 18 14 18 15 11L5 11M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,moodNeutral:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 12C9 12 11 12 15 12M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,moodSad:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 14C6 9 14 9 15 14L5 14M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,pdf:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" stroke-linejoin="round" d="M4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L16 19C18 19 19 18 19 16L19 6C15 6 14 5 14 1ZM4 16 4 9 5 9Q7 9 7 11 7 13 5 13L4 13M9 16 9 9 9 9Q12 9 12 12L12 13Q12 16 9 16L9 16M14 16 14 9 16 9M14 12 16 12"/>`,csv:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 4 1 C 2 1 1 2 1 4 L 1 16 C 1 18 2 19 4 19 L 16 19 C 18 19 19 18 19 16 L 19 6 C 15 6 14 5 14 1 Z M 7 11 C 7 10 7 9 6 9 L 5 9 C 4 9 4 10 4 11 L 4 14 C 4 15 4 16 5 16 L 6 16 C 7 16 7 15 7 14 M 12 11 C 12 10 12 9 11 9 L 10 9 C 9 9 9 10 9 11 C 9 13 12 12 12 14 C 12 15 12 16 11 16 L 10 16 C 9 16 9 15 9 14 M 14 9 L 15 16 L 16 9" />`,screenshot:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 4 1 3C1 2 2 1 3 1L4 1M16 1 17 1C18 1 19 2 19 3L19 4M1 16 1 17C1 18 2 19 3 19L4 19M16 19 17 19C18 19 19 18 19 17L19 16M8 10A1 1 0 0012 10 1 1 0 008 10M5 13 5 8C5 7 5 7 6 7L14 7C15 7 15 7 15 8L15 13C15 14 15 14 14 14L6 14C5 14 5 14 5 13M7 6 13 6" />`,skeleton:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M3 14A1 1 0 003 18L7 18A1 1 0 007 14L3 14M3 8A1 1 0 003 12L7 12A1 1 0 007 8L3 8M3 2A1 1 0 003 6L4 6A1 1 0 004 2L3 2M12 10 12 16C12 17 13 18 14 18L17 18C18 18 19 17 19 16L19 10C19 9 18 8 17 8L14 8C13 8 12 9 12 10" stroke-dasharray="2" />`,smiley:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 12C8 14 12 14 15 12M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,sort:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M1 15 5 18 9 15M5 5 5 18M15 15 15 2M11 5 15 2 19 5" />`,sortReverse:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M 1 8 L 5 5 L 9 8 M 5 5 L 5 18 M 15 15 L 15 2 M 11 12 L 15 15 L 19 12" />`,spin:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 004 10 1 1 0 0016 10 1 1 0 007 10 1 1 0 0013 10 1 1 0 0010 10M1 10Q1 5 5 2" />`,star:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M3 19 10 15 17 19 14 12 19 8 13 8 10 2 7 8 1 8 6 12 3 19" />`,starFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M3 19 10 15 17 19 14 12 19 8 13 8 10 2 7 8 1 8 6 12 3 19" />`,tableClose:`<path stroke-width="${o.strokeWidth}" stroke-linecap="round" fill="none" stroke="${o.stroke}" d="M4 1 4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L7 19M4 1 16 1C18 1 19 2 19 4L19 14M18 19 14 16 10 19"/><line stroke-width="${o.strokeWidth}" stroke="${o.stroke}" x1="8" y1="1" x2="8" y2="19" stroke-linecap="round" /><line stroke-width="${o.strokeWidth}" stroke="${o.stroke}" x1="1" y1="8" x2="19" y2="8" />`,tableOpen:`<path stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke="${o.stroke}" d="M4 1 4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L7 19M4 1 16 1C18 1 19 2 19 4L19 14M18 16 14 19 10 16"/><line stroke-width="${o.strokeWidth}" stroke="${o.stroke}" x1="8" y1="1" x2="8" y2="19" stroke-linecap="round" /><line stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke="${o.stroke}" x1="1" y1="8" x2="19" y2="8" />`,chartCluster:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" d="M7 10A1 1 0 0013 10 1 1 0 007 10M10 7 10 4A1 1 0 0010 1 1 1 0 0010 4M7 10 4 10A1 1 0 001 10 1 1 0 004 10M10 13 10 16A1 1 0 0010 19 1 1 0 0010 16M13 10 16 10A1 1 0 0019 10 1 1 0 0016 10" />`,arrowRight:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M18 10 3 1C6 7 6 13 3 19L18 10" stroke-linejoin="round" />`,arrowTop:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M10 2 1 17C7 14 13 14 19 17L10 2" stroke-linejoin="round" />`,arrowLeft:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M2 10 17 1C14 7 14 13 17 19L2 10" stroke-linejoin="round" />`,arrowBottom:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M10 18 1 3C7 6 13 6 19 3L10 18" stroke-linejoin="round" />`,fullscreen:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M1 6 1 4C1 2 2 1 4 1L6 1M14 1 16 1C18 1 19 2 19 4L19 6M19 14 19 16C19 18 18 19 16 19L14 19M6 19 4 19C2 19 1 18 1 16L1 14M9 9 5 5M11 9 15 5M11 11 15 15M9 11 5 15M5 12 5 15 8 15M12 15 15 15 15 12M15 8 15 5 12 5M8 5 5 5 5 8" />`,exitFullscreen:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M1 6 1 4C1 2 2 1 4 1L6 1M14 1 16 1C18 1 19 2 19 4L19 6M19 14 19 16C19 18 18 19 16 19L14 19M6 19 4 19C2 19 1 18 1 16L1 14M8 8 4 4M12 8 16 4M12 12 16 16M8 12 4 16M5 12 8 12 8 15M12 15 12 12 15 12M15 8 12 8 12 5M8 5 8 8 5 8" />`,moodEmbarrassed:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 13 C 8 11 11 16 15 13 M 5 7 A 1 1 0 0 0 8 7 A 1 1 0 0 0 5 7 M 12 7 A 1 1 0 0 0 15 7 A 1 1 0 0 0 12 7" />`,moodSurprised:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 7 A 1 1 0 0 0 8 7 A 1 1 0 0 0 5 7 M 12 7 A 1 1 0 0 0 15 7 A 1 1 0 0 0 12 7 M 10 12 A 1 1 0 0 0 10 15 A 1 1 0 0 0 10 12" />`,moodWink:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 11 C 7 15 11 15 15 13 M 12 7 A 1 1 0 0 0 15 7 A 1 1 0 0 0 12 7 M 5 7 L 8 7" />`,moodLaughing:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 10 C 5 17 15 17 15 11 L 5 10 M 12 7 A 1 1 0 0 0 12 7 C 13 6 14 7 15 7 M 5 6 C 6 6 7 5 8 7" />`,circleCancel:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 6 6 L 14 14 M 14 6 L 6 14" />`,circleCheck:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 10 L 9 14 M 15 7 L 9 14" />`,circleExclamation:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 10 5 L 10 10 M 10 13 A 1 1 0 0 0 10 15 A 1 1 0 0 0 10 13" />`,circleQuestion:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 10 5 C 14 5 14 10 10 10 M 10 13 A 1 1 0 0 0 10 15 A 1 1 0 0 0 10 13 M 7 7 C 7 6 8 5 10 5" />`,refresh:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 2 10 A 1 1 0 0 0 17 10 C 17 5 12 2 7 4 L 10 1 M 7 4 L 10 7" />`,chartSparkbar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 5 L 18 5 M 2 10 L 18 10 M 2 15 L 18 15" style="opacity:0.3" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 5 L 15 5 M 2 10 L 11 10 M 2 15 L 7 15" />`,chartSparkline:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 1 10 C 1 8 2 8 2 8 C 4 8 4 12 6 13 C 8 12 6 7 8 6 C 10 6 10 11 11 11 C 13 12 12 6 14 4" />`,legend:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 3 2 L 5 2 C 5 2 6 2 6 3 L 6 5 C 6 6 5 6 5 6 L 3 6 C 3 6 2 6 2 5 L 2 3 C 2 2 3 2 3 2 M 8 4 C 8 3 9 3 9 3 L 17 3 C 17 3 18 3 18 4 C 18 5 17 5 17 5 L 9 5 C 9 5 8 5 8 4 M 3 8 L 5 8 C 5 8 6 8 6 9 L 6 11 C 6 12 5 12 5 12 L 3 12 C 3 12 2 12 2 11 L 2 9 C 2 8 3 8 3 8 M 8 10 C 8 9 9 9 9 9 L 17 9 C 17 9 18 9 18 10 C 18 11 17 11 17 11 L 9 11 C 9 11 8 11 8 10 M 3 14 L 5 14 C 5 14 6 14 6 15 L 6 17 C 6 18 5 18 5 18 L 3 18 C 3 18 2 18 2 17 L 2 15 C 2 14 3 14 3 14 M 8 16 C 8 15 9 15 9 15 L 17 15 C 17 15 18 15 18 16 C 18 17 17 17 17 17 L 9 17 C 9 17 8 17 8 16" />`,chartGalaxy:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 7 11 A 1 1 0 0 0 11 11 M 14 11 A 1 1 0 0 0 7 11 M 3 11 A 1 1 0 0 0 14 11 M 18 11 A 1 1 0 0 0 3 11 M 16.4 16 C 17 15 18 13 18 11" />`,zoomPlus:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 9 1 A 1 1 0 0 0 9 17 A 1 1 0 0 0 9 1 M 14.65 14.65 L 18 18 M 9 5 L 9 13 M 5 9 L 13 9"/>`,zoomMinus:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 9 1 A 1 1 0 0 0 9 17 A 1 1 0 0 0 9 1 M 14.65 14.65 L 18 18 M 5 9 L 13 9"/>`,chartTreemap:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 1 L 19 1 L 19 19 L 1 19 Z M 10 1 L 10 19 M 1 13 L 10 13 M 10 10 L 19 10 M 15 10 L 15 19" />`,kpi:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 2 5 L 2 15 M 6 5 L 2 10 L 6 15 M 8 15 L 8 5 L 10 5 M 10 10 A 1 1 0 0 0 10 5 M 10 10 L 8 10 M 18 5 L 14 5 M 14 15 L 18 15 M 16 5 L 16 15 M 1 3 L 1 2 C 1 1 2 1 2 1 L 18 1 C 18 1 19 1 19 2 L 19 3 M 1 17 L 1 18 C 1 19 2 19 2 19 L 18 19 C 19 19 19 18 19 18 L 19 17"/>`,kpiBox:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 3 C 1 2 2 1 3 1 L 17 1 C 18 1 19 2 19 3 L 19 17 C 19 18 18 19 17 19 L 3 19 C 2 19 1 18 1 17 L 1 3 M 4 13 L 9 13 M 16 13 L 11 13 M 4 16 L 16 16 M 4 4 L 4 10 M 7 4 L 4 7 L 7 10 M 9 10 L 9 4 L 11 4 M 11 7 A 1 1 0 0 0 11 4 M 11 7 L 9 7 M 16 10 L 14 10 M 14 4 L 16 4 M 15 4 L 15 10"/>`,tooltip:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 8 15 L 10 19 L 12 15 L 18 15 C 18 15 19 15 19 14 L 19 2 C 19 1 18 1 18 1 L 2 1 C 2 1 1 1 1 2 L 1 14 C 1 15 2 15 2 15 L 8 15 M 4 6 L 11 6 M 4 10 L 7 10 M 9 10 L 16 10"/>`,tooltipDisabled:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 8 15 L 10 19 L 12 15 L 18 15 C 18 15 19 15 19 14 L 19 2 C 19 1 18 1 18 1 L 2 1 C 2 1 1 1 1 2 L 1 14 C 1 15 2 15 2 15 L 8 15 M 7 5 L 13 11 M 7 11 L 13 5"/>`,vueDataUi:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 2 L 10.5 18 L 14.5 9 L 16 12 L 19 12 L 14.5 2 L 10.5 12 L 4.5 2 Z"/>`,ratio:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 10 L 18 10 M 8 1 L 12 7 M 12 1 L 8 7 M 8 13 L 10 16 M 12 13 L 8 19"/>`,func:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" d="M 17 7 L 13 13 M 13 7 L 17 13 M 12 5 C 12 5 11 5 11 6 L 11 14 C 11 15 12 15 12 15 M 18 5 C 19 5 19 6 19 6 L 19 14 C 19 15 18 15 18 15 M 1 19 C 2 19 3 19 4 17 L 6 3 C 6 2 7 1 8 1 L 10 1 M 5 10 L 7 10" />`,settings:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 8 7 A 1 1 0 0 0 8 17 A 1 1 0 0 0 8 7 M 8 6 L 8 7 M 2 12 L 3 12 M 13 12 L 14 12 M 8 17 L 8 18 M 3.6 7.6 L 4.4 8.4 M 3.6 16.4 L 4.4 15.5 M 12.4 7.6 L 11.5 8.4 M 11.6 15.5 L 12.4 16.4 M 8 11 A 1 1 0 0 0 8 13 A 1 1 0 0 0 8 11 M 16 2 A 1 1 0 0 0 16 6 A 1 1 0 0 0 16 2 M 13 4 L 14 4 M 16 6 L 16 7 M 18 4 L 19 4 M 16 1 L 16 2"/>`,trendUp:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" fill="none" d="M 6 3 L 6 7 M 4 5 L 8 5 M 11 7 L 16 3 M 12 2 A 1 1 0 0 0 12 4 A 1 1 0 0 0 12 2 M 15 6 A 1 1 0 0 0 15 8 A 1 1 0 0 0 15 6 M 10 18 L 10 10 M 7 13 L 10 10 L 13 13" />`,trendDown:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" fill="none" d="M 4 5 M 4 5 L 8 5 M 11 7 L 16 3 M 12 2 A 1 1 0 0 0 12 4 A 1 1 0 0 0 12 2 M 15 6 A 1 1 0 0 0 15 8 A 1 1 0 0 0 15 6 M 10 18 L 10 10 M 7 15 L 10 18 L 13 15" />`,clipBoard:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 5 7 L 9 7 M 5 11 L 9 11 M 11 11 L 15 11 M 5 15 L 15 15 M 11 7 L 15 7"/>`,clipboardLine:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 5 15 L 8 10 L 12 12 L 15 6"/>`,clipboardDonut:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 10 5 A 1 1 0 0 0 10 16 A 1 1 0 0 0 10 5 M 10 8 A 1 1 0 0 0 10 13 A 1 1 0 0 0 10 8 M 10 5 L 10 8 M 5.1 13 L 7.7 11.6"/>`,clipboardBar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 5 15 L 5 11 L 10 11 L 10 15 L 5 15 M 10 11 L 10 7 L 15 7 L 15 15 L 10 15"/>`,clipboardVariable:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 5 8 L 9 13 M 9 8 L 5 13 M 11 8 L 13.1 10.3 M 15 8 L 11 13"/>`,triangle:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 3 L 1 17 L 19 17 L 10 3"/>`,triangleFill:`<path stroke="${o.stroke}" fill="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 10 3 L 1 17 L 19 17 L 10 3"/>`,square:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 2 2 L 2 18 L 18 18 L 18 2 L 2 2"/>`,squareFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}"stroke-linecap="round" stroke-linejoin="round" d="M 2 2 L 2 18 L 18 18 L 18 2 L 2 2"/>`,diamond:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 1 10 L 10 19 L 19 10 L 10 1"/>`,diamondFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 1 10 L 10 19 L 19 10 L 10 1"/>`,pentagon:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 1 9 L 5 19 L 16 19 L 19 9 Z"/>`,pentagonFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 1 9 L 5 19 L 16 19 L 19 9 Z"/>`,hexagon:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 2 6 L 2 14 L 10 19 L 18 14 L 18 6 Z"/>`,hexagonFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 2 6 L 2 14 L 10 19 L 18 14 L 18 6 Z"/>`,circle:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 A 1 1 0 0 0 10 19 A 1 1 0 0 0 10 1"/>`,circleFill:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="${o.stroke}" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 A 1 1 0 0 0 10 19 A 1 1 0 0 0 10 1"/>`,numbers:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth/2}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 2 3 L 4 1 L 4 6 M 8 3 C 8 2 9 1 10 1 C 11 1 12 2 12 3 C 12 5 8 3 8 6 L 12 6 M 15 1 L 18 1 L 16 3 C 17 3 18 3 18 4 C 18 6 16 6 15 6 M 4 13 L 4 8 L 2 11 L 6 11 M 12 8 L 8 8 C 8 11 12 9 12 11 C 12 12 11 13 10 13 C 9 13 8 12 8 11 M 18 11 A 1 1 0 0 0 15 12 A 1 1 0 0 0 18 11 M 15 11 C 15 8 17 8 18 8 M 2 15 L 6 15 C 5 18 2 17 2 20 M 8 16 C 8 15 9 15 9 15 L 11 15 C 12 15 12 16 12 16 C 12 16 12 17 11 17 L 9 17 C 9 17 8 17 8 16 M 9 17 C 9 17 8 17 8 18 L 8 19 C 8 19 8 19 8 19 C 8 20 9 20 9 20 L 11 20 C 12 20 12 19 12 19 L 12 18 C 12 18 12 17 11 17 M 18 17 A 1 1 0 0 0 15 16 A 1 1 0 0 0 18 17 M 18 17 C 18 20 16 20 15 20"/>`,sigma:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 16 5 L 18 2 L 2 2 L 9 10 L 2 18 L 18 18 L 16 15" stroke-linecap="round" stroke-linejoin="round"/>`,mu:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 15 2 C 15 12 13 12 10 12 C 5 12 5 12 5 2 M 5 2 L 5 18 M 13.5 10.8 C 14 12 15 12 15 12" stroke-linecap="round" stroke-linejoin="round"/>`,lambda:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 2 5 C 2 2 4 2 4 2 C 10 2 10 18 18 18 M 10 10 L 2 18" stroke-linecap="round" stroke-linejoin="round"/>`,people:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth/2}" fill="none" d="M 5 1 A 1 1 0 0 0 5 9 A 1 1 0 0 0 5 1 M 15 1 A 1 1 0 0 0 15 9 A 1 1 0 0 0 15 1 M 5 11 A 1 1 0 0 0 5 19 A 1 1 0 0 0 5 11 M 15 11 A 1 1 0 0 0 15 19 A 1 1 0 0 0 15 11 M 3 4 L 3 4 M 7 4 L 7 4 M 3 6 C 4 7 6 7 7 6 M 13 4 L 13 4 M 17 4 L 17 4 M 13 6 C 14 7 16 7 17 6 M 3 14 L 3 14 M 7 14 L 7 14 M 3 16 C 4 17 6 17 7 16 M 13 14 L 13 14 M 17 14 L 17 14 M 13 16 C 14 17 16 17 17 16" stroke-linecap="round" stroke-linejoin="round"/>`,copy:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 18 16 C 18 17 17 18 16 18 L 8 18 C 7 18 6 17 6 16 L 6 8 C 6 7 7 6 8 6 L 16 6 C 17 6 18 7 18 8 L 18 16 M 6 14 L 4 14 C 3 14 2 13 2 12 L 2 4 C 2 3 3 2 4 2 L 12 2 C 13 2 14 3 14 4 L 14 6" stroke-linecap="round" stroke-linejoin="round"/>`,accordion:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 2 2 L 18 2 L 16 4 L 18 6 L 16 8 L 18 10 L 16 12 L 18 14 L 16 16 L 18 18 L 2 18 L 4 16 L 2 14 L 4 12 L 2 10 L 4 8 L 2 6 L 4 4 L 2 2"/><path stroke="none" fill="${o.stroke}" style="opacity:0.3" stroke-linecap="round" stroke-linejoin="round" d="M 2 2 L 18 2 L 16 4 L 4 4 Z" /><path stroke="none" fill="${o.stroke}" style="opacity:0.3" stroke-linecap="round" stroke-linejoin="round" d="M 2 6 L 18 6 L 16 8 L 4 8 Z" /><path stroke="none" fill="${o.stroke}" style="opacity:0.3" stroke-linecap="round" stroke-linejoin="round" d="M 2 10 L 18 10 L 16 12 L 4 12 Z" /><path stroke="none" fill="${o.stroke}" style="opacity:0.3" stroke-linecap="round" stroke-linejoin="round" d="M 2 14 L 18 14 L 16 16 L 4 16 Z" />`,cursor:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 10 A 1 1 0 0 0 14 10 A 1 1 0 0 0 6 10 M 1 10 L 6 10 M 14 10 L 19 10 M 10 1 L 10 6 M 10 14 L 10 19 M 10 8 L 10 12 M 8 10 L 12 10" />`,trend:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-kinejoin="round" d="M 1 6 L 4 4 L 7 6 M 4 4 L 4 13 M 7 16 C 7 16 7 18 9 18 C 12 18 10 9 12 9 C 14 9 14 13 15 13 C 18 14 17.6667 5.6667 19 2"/>`,chartStripPlot:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 4 16 A 1 1 0 0 0 4 18 A 1 1 0 0 0 4 16 M 4 13 A 1 1 0 0 0 4 15 A 1 1 0 0 0 4 13 M 4 9 A 1 1 0 0 0 4 11 A 1 1 0 0 0 4 9 M 8 11 A 1 1 0 0 0 8 13 A 1 1 0 0 0 8 11 M 8 8 A 1 1 0 0 0 8 10 A 1 1 0 0 0 8 8 M 4 2 A 1 1 0 0 0 4 4 A 1 1 0 0 0 4 2 M 12 15 A 1 1 0 0 0 12 17 A 1 1 0 0 0 12 15 M 12 10 A 1 1 0 0 0 12 12 A 1 1 0 0 0 12 10 M 12 7 A 1 1 0 0 0 12 9 A 1 1 0 0 0 12 7 M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 16 12 A 1 1 0 0 0 16 14 A 1 1 0 0 0 16 12 M 16 10 A 1 1 0 0 0 16 12 A 1 1 0 0 0 16 10 M 16 16 A 1 1 0 0 0 16 18 A 1 1 0 0 0 16 16" />`,chartDumbbell:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 3 2 A 1 1 0 0 0 3 4 A 1 1 0 0 0 3 2 M 10 2 A 1 1 0 0 0 10 4 A 1 1 0 0 0 10 2 M 4 3 L 9 3 M 5 9 A 1 1 0 0 0 5 11 A 1 1 0 0 0 5 9 M 17 9 A 1 1 0 0 0 17 11 A 1 1 0 0 0 17 9 M 6 10 L 16 10 M 8 16 A 1 1 0 0 0 8 18 A 1 1 0 0 0 8 16 M 15 16 A 1 1 0 0 0 15 18 A 1 1 0 0 0 15 16 M 9 17 L 14 17" />`,copyLeft:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" d="M 10 2 A 1 1 0 0 0 10 18 A 1 1 0 0 0 10 2 M 10 14 A 1 1 0 0 0 10 6 C 10 6 8 6 7 8 M 10 14 C 10 14 8 14 7 12" stroke-linecap="round" stroke-linejoin="round" fill="none"/>`,chartWordCloud:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 7 13 L 10 5 L 13 13 M 8 10 L 12 10 M 2 2 L 5 18 L 10 14 L 15 18 L 18 2"/>`,stack:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 10 3 L 2 6 L 10 9 L 18 6 L 10 3 M 7 8 L 2 10 L 10 13 L 18 10 L 13 8 M 7 12 L 2 14 L 10 17 L 18 14 L 13 12"/>`,unstack:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 10 3 L 2 6 L 10 9 L 18 6 L 10 3 M 7 8 L 2 10 L 10 13 L 18 10 L 13 8 M 7 12 L 2 14 L 10 17 L 18 14 L 13 12 M 2 2 L 18 18 M 18 2 L 2 18"/>`,window:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 2 4 L 2 16 C 2 17 3 18 4 18 L 16 18 C 17 18 18 17 18 16 L 18 4 C 18 3 17 2 16 2 L 4 2 C 3 2 2 3 2 4 M 4 5 L 4 8 C 4 9 5 9 5 9 L 8 9 C 9 9 9 8 9 8 L 9 5 C 9 4 8 4 8 4 L 5 4 C 4 4 4 5 4 5 M 16 5 L 16 8 C 16 9 15 9 15 9 L 12 9 C 12 9 11 9 11 8 L 11 5 C 11 4 12 4 12 4 L 15 4 C 15 4 16 4 16 5 M 5 11 C 5 11 4 11 4 12 L 4 15 C 4 16 5 16 5 16 L 8 16 C 8 16 9 16 9 15 L 9 12 C 9 11 8 11 8 11 L 5 11 M 12 11 C 11 11 11 12 11 12 L 11 15 C 11 15 11 16 12 16 L 15 16 C 15 16 16 16 16 15 L 16 12 C 16 11 15 11 15 11 L 12 11 M 6 6" />`,chartFlow:`<path stroke="transparent" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="${o.stroke}" d="M 2 2 L 4 2 L 4 9 L 2 9 L 2 2 M 9 2 L 11 2 L 11 6 L 9 6 L 9 2 M 16 2 L 18 2 L 18 4 L 16 4 L 16 2 M 2 11 L 4 11 L 4 18 L 2 18 L 2 11 M 9 8 L 11 8 L 11 11 L 9 11 L 9 8 M 9 14 L 11 14 L 11 16 L 9 16 L 9 14 M 16 6 L 18 6 L 18 8 L 16 8 L 16 6 M 16 10 L 18 10 L 18 12 L 16 12 L 16 10 M 16 14 L 18 14 L 18 16 L 16 16 L 16 14 M 4 2 L 9 2 L 9 6 L 4 6 L 4 6 L 4 2 M 4 6 L 9 8 L 9 11 L 4 9 L 4 6 M 11 2 L 16 2 L 16 4 L 11 4 L 11 2 M 11 4 L 16 6 L 16 8 L 11 6 L 11 4 M 4 11 L 9 14 L 9 16 L 4 13 L 4 11 M 11 8 L 16 10 L 16 12 L 11 10 L 11 8 M 11 14 L 16 14 L 16 16 L 11 16 L 11 14"/>`,chartParallelCoordinatePlot:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 2 2 L 2 18 M 10 2 L 10 18 M 18 2 L 18 18 M 2 4 L 10 3 L 18 3 M 2 10 L 10 6 L 18 8 M 2 16 L 10 16 L 18 12"/>`,pause:`<path fill="${o.stroke}" stroke="none" strole-linecap="round" stroke-linejoin="round" d="M 3 4 L 3 16 C 3 17 4 18 5 18 L 6 18 C 7 18 8 17 8 16 L 8 4 C 8 3 7 2 6 2 L 5 2 C 4 2 3 3 3 4 M 12 4 L 12 16 C 12 17 13 18 14 18 L 15 18 C 16 18 17 17 17 16 L 17 4 C 17 3 16 2 15 2 L 14 2 C 13 2 12 3 12 4"/>`,play:`<path fill="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 3 4 L 3 16 C 3 17 4 18 5 18 L 6 18 C 7 18 18 13 18 11 L 18 10 C 18 8 7 2 6 2 L 5 2 C 4 2 3 3 3 4"/>`,stop:`<path fill="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 10 8 L 4 2 L 3 2 L 2 3 L 2 4 L 8 10 L 2 16 L 2 17 L 3 18 L 4 18 L 10 12 L 16 18 L 17 18 L 18 17 L 18 16 L 12 10 L 18 4 L 18 3 L 17 2 L 16 2 L 10 8"/>`,restart:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 3 10 A 1 1 0 0 0 17 10 C 17 6 14 3 10 3 L 10 2 L 7 4 M 5 10 A 1 1 0 0 0 15 10 C 15 7 13 5 10 5 L 10 6 L 7 4 M 3 10 L 5 10"/>`,lap:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 3 10 A 1 1 0 0 0 17 10 A 1 1 0 0 0 3 10 M 8 2 L 12 2 M 5 3 L 6 4 M 15 3 L 14 4 M 10 7 L 10 10 L 13 13"/>`}));return(n,r)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(We),class:e.normalizeClass({"spin ":t.isSpin}),viewBox:"0 0 20 20",height:t.size,width:t.size,innerHTML:a.value[t.name],style:{background:"transparent"}},null,10,uC))}},bt=vt(AC,[["__scopeId","data-v-5872e7c4"]]),cC={class:"vue-ui-data-table"},dC={style:{display:"flex","align-items":"center","justify-content":"flex-end","padding-right":"3px",gap:"3px"}},hC={key:0,height:"12",width:"12",viewBox:"0 0 20 20",style:{background:"none"}},fC=["fill"],vC=["data-cell"],gC={style:{display:"flex","align-items":"center",gap:"5px","justify-content":"flex-end",width:"100%","padding-right":"3px"}},pC={key:0,height:"12",width:"12",viewBox:"0 0 20 20",style:{background:"none",overflow:"visible"}},yC={__name:"DataTable",props:{colNames:{type:Array,default(){return[]}},head:Array,body:Array,title:String,config:Object},emits:["close"],setup(t,{emit:o}){const a=t;e.useCssVars(C=>({"32d68130":e.unref(h)}));const{backgroundColor:n,color:r,outline:l}=a.config.th,{backgroundColor:s,color:u,outline:h}=a.config.td,f=e.computed(()=>a.config.breakpoint),c=e.ref(null),y=e.ref(!1);return e.onMounted(()=>{const C=new ResizeObserver(A=>{A.forEach(B=>{y.value=B.contentRect.width<f.value})});c.value&&C.observe(c.value)}),(C,A)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tableContainer",ref:c,style:{width:"100%","container-type":"inline-size",position:"relative","padding-top":"36px",overflow:"auto"},class:e.normalizeClass({"vue-ui-responsive":y.value})},[e.createElementVNode("div",{"data-html2canvas-ignore":"",role:"button",tabindex:"0",style:e.normalizeStyle(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.unref(n)};`),onClick:A[0]||(A[0]=B=>o("close")),onKeypress:A[1]||(A[1]=e.withKeys(B=>o("close"),["enter"]))},[e.createVNode(bt,{name:"close",stroke:e.unref(r),"stroke-width":2},null,8,["stroke"])],36),e.createElementVNode("table",cC,[e.createElementVNode("caption",{style:e.normalizeStyle({backgroundColor:e.unref(n),color:e.unref(r),outline:e.unref(l)}),class:"vue-ui-data-table__caption"},e.toDisplayString(t.title),5),e.createElementVNode("thead",null,[e.createElementVNode("tr",{role:"row",style:e.normalizeStyle([{"font-variant-numeric":"tabular-nums"},{backgroundColor:e.unref(n),color:e.unref(r)}]),class:"vue-ui-data-table__thead-row"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.head,(B,v)=>(e.openBlock(),e.createElementBlock("th",{role:"cell",style:e.normalizeStyle({outline:e.unref(l)}),key:`th_${v}`},[e.createElementVNode("div",dC,[B.color?(e.openBlock(),e.createElementBlock("svg",hC,[e.createElementVNode("circle",{cx:"10",cy:"10",r:"10",fill:B.color},null,8,fC)])):e.createCommentVNode("",!0),e.renderSlot(C.$slots,"th",{th:B},void 0,!0)])],4))),128))],4)]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.body,(B,v)=>(e.openBlock(),e.createElementBlock("tr",{role:"row",style:e.normalizeStyle([{"font-variant-numeric":"tabular-nums"},{backgroundColor:e.unref(s),color:e.unref(u)}]),class:e.normalizeClass({"vue-ui-data-table__tbody__row":!0,"vue-ui-data-table__tbody__row-even":v%2===0,"vue-ui-data-table__tbody__row-odd":v%2!==0})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B,(i,g)=>(e.openBlock(),e.createElementBlock("td",{role:"cell","data-cell":(t.colNames[g]&&t.colNames[g].name?t.colNames[g].name:"")||t.colNames[g]||"",style:e.normalizeStyle({outline:e.unref(h)}),class:"vue-ui-data-table__tbody__td"},[e.createElementVNode("div",gC,[i.color?(e.openBlock(),e.createElementBlock("svg",pC,[e.createVNode(ra,{plot:{x:10,y:10},color:i.color,radius:9,shape:t.config.shape||i.shape||"circle"},null,8,["color","shape"])])):e.createCommentVNode("",!0),e.renderSlot(C.$slots,"td",{td:i},void 0,!0)])],12,vC))),256))],6))),256))])])],2))}},yo=vt(yC,[["__scopeId","data-v-4f23609e"]]);function Je({defaultConfig:t,userConfig:o}){if(!Object.keys(o||{}).length)return t;const a=Vn({defaultConfig:t,userConfig:o});return Qn(a)}const Xt={__name:"Title",props:{config:{type:Object,default(){return{}}}},setup(t){const a=Je({userConfig:t.config,defaultConfig:{title:{cy:"",text:"",color:"",fontSize:20,bold:!0},subtitle:{cy:"",text:"",color:"",fontSize:14,bold:!1}}});return(n,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{style:e.normalizeStyle(`width: 100%; text-align:center;color:${e.unref(a).title.color};font-size:${e.unref(a).title.fontSize}px;font-weight:${e.unref(a).title.bold?"bold":""}`)},e.toDisplayString(e.unref(a).title.text),5),e.unref(a).subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width: 100%; text-align:center;color:${e.unref(a).subtitle.color};font-size:${e.unref(a).subtitle.fontSize}px;font-weight:${e.unref(a).subtitle.bold?"bold":""}`)},e.toDisplayString(e.unref(a).subtitle.text),5)):e.createCommentVNode("",!0)],64))}};function mC({tooltip:t,chart:o,clientPosition:a}){const n=e.ref(0),r=e.ref(48);if(t&&o){const{width:l,height:s}=t.getBoundingClientRect(),{right:u,left:h,bottom:f}=o.getBoundingClientRect();a.x+l/2>u?n.value=-l:a.x-l/2<h?n.value=0:n.value=-l/2,a.y+s>f&&(r.value=-s-48)}return{top:a.y+r.value,left:a.x+n.value}}function bC(t,o,a){e.onMounted(()=>t.addEventListener(o,a)),e.onUnmounted(()=>t.removeEventListener(o,a))}function Gv(){const t=e.ref(0),o=e.ref(0);return bC(window,"mousemove",a=>{t.value=a.clientX,o.value=a.clientY}),{x:t,y:o}}const kC=["innerHTML"],Oo={__name:"Tooltip",props:{backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#000000"},content:String,maxWidth:{type:String,default:"300px"},parent:{type:Object},show:{type:Boolean,default:!1},isCustom:{type:Boolean,default:!1},fontSize:{type:[Number,String],default:14},borderRadius:{type:Number,default:4},borderColor:{type:String,default:"#e1e5e8"},borderWidth:{type:Number,default:1},backgroundOpacity:{type:Number,default:100}},setup(t){const o=t,a=e.ref(null),n=e.ref(Gv()),r=e.computed(()=>mC({tooltip:a.value,chart:o.parent,clientPosition:n.value}));return(l,s)=>t.show?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"tooltip",ref:a,class:e.normalizeClass({"vue-data-ui-custom-tooltip":t.isCustom,"vue-data-ui-tooltip":!t.isCustom}),style:e.normalizeStyle(`top:${r.value.top}px;left:${r.value.left}px;${t.isCustom?"":`background:${t.backgroundColor}${e.unref(Xe)[t.backgroundOpacity]};color:${t.color};max-width:${t.maxWidth};font-size:${t.fontSize}px`};border-radius:${t.borderRadius}px;border:${t.borderWidth}px solid ${t.borderColor};`)},[e.renderSlot(l.$slots,"tooltip-before"),e.renderSlot(l.$slots,"default"),e.createElementVNode("div",{innerHTML:t.content},null,8,kC),e.renderSlot(l.$slots,"tooltip-after")],6)):e.createCommentVNode("",!0)}},CC={beforeMount(t,o){t.clickOutsideEvent=function(a){t===a.target||t.contains(a.target)||o.value(a)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},wC=["title","onClick","onKeypress"],BC=["data-open"],xC={__name:"UserOptions",props:{hasPdf:{type:Boolean,default:!0},hasXls:{type:Boolean,default:!0},hasImg:{type:Boolean,default:!1},hasLabel:{type:Boolean,default:!1},isLabelActive:{type:Boolean,default:!1},hasTable:{type:Boolean,default:!1},hasSort:{type:Boolean,default:!1},hasStack:{type:Boolean,default:!1},hasTooltip:{type:Boolean,default:!1},color:{type:String},backgroundColor:{type:String},isPrinting:{type:Boolean,default:!1},isImaging:{type:Boolean,default:!1},title:{type:String},uid:{type:String},hasFullscreen:{type:Boolean,default:!1},chartElement:{type:HTMLElement,default:null},isFullscreen:{type:Boolean,default:!1},isStacked:{type:Boolean,default:!1},isTooltip:{type:Boolean,default:!1},titles:{type:Object,default(){return{}}},showTooltips:{type:Boolean,default:!0}},emits:["generatePdf","generateCsv","generateImage","toggleTable","toggleLabels","toggleSort","toggleFullscreen","toggleStack","toggleTooltip"],setup(t,{emit:o}){const a=t;function n(){o("generatePdf")}function r(){o("generateCsv")}function l(){o("generateImage")}const s=e.ref(!1);function u(){s.value=!s.value,o("toggleTable")}const h=e.ref(!1),f=e.ref(!0);function c(){E.value=window.innerWidth>600,h.value=!h.value,h.value&&(f.value=!1)}function y(){a.isPrinting||a.isImaging||(h.value=!1)}function C(){h.value&&y()}const A=e.ref(a.isLabelActive);function B(){A.value=!A.value,o("toggleLabels")}function v(){o("toggleSort")}const i=e.ref(a.isStacked);function g(){i.value=!i.value,o("toggleStack")}const w=e.ref(a.isTooltip);function U(){w.value=!w.value,o("toggleTooltip")}const I=e.ref(!1);function Q(T){a.chartElement&&(T==="in"?(I.value=!0,a.chartElement.requestFullscreen(),o("toggleFullscreen",!0)):(I.value=!1,document&&document.exitFullscreen(),o("toggleFullscreen",!1)))}function K(T){document.fullscreenElement?I.value=!0:I.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",K)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",K)});const E=e.ref(window.innerWidth>600),b=e.ref({tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1});return(T,Y)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{"data-html2canvas-ignore":"",class:"vue-ui-user-options",style:e.normalizeStyle(`height: 34px; position: ${I.value?"fixed":"absolute"}; top: 0; right:${I.value?"12px":"0"}; padding: 4px; background:transparent; z-index: 1`)},[e.createElementVNode("div",{tabindex:"0",title:h.value?t.titles.close||"":t.titles.open||"",style:e.normalizeStyle(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:${t.backgroundColor};`),onClick:e.withModifiers(c,["stop"]),onKeypress:e.withKeys(c,["enter"])},[e.createVNode(bt,{name:h.value?"close":"menu",stroke:"#CCCCCC","stroke-width":2},null,8,["name"])],44,wC),e.createElementVNode("div",{"data-open":h.value,class:e.normalizeClass({"vue-ui-user-options-drawer":!0}),style:e.normalizeStyle(`background:${t.backgroundColor};`)},[t.hasTooltip?(e.openBlock(),e.createElementBlock("button",{key:0,tabindex:"0",class:"vue-ui-user-options-button",onClick:U,onMouseenter:Y[0]||(Y[0]=$=>b.value.tooltip=!0),onMouseout:Y[1]||(Y[1]=$=>b.value.tooltip=!1)},[T.$slots.optionTooltip?e.renderSlot(T.$slots,"optionTooltip",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[w.value?(e.openBlock(),e.createBlock(bt,{key:0,name:"tooltip",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(bt,{key:1,name:"tooltipDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),E.value&&t.titles.tooltip&&!T.$slots.optionTooltip?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.tooltip}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.tooltip),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasPdf?(e.openBlock(),e.createElementBlock("button",{key:1,tabindex:"0",class:"vue-ui-user-options-button",onClick:n,onMouseenter:Y[2]||(Y[2]=$=>b.value.pdf=!0),onMouseout:Y[3]||(Y[3]=$=>b.value.pdf=!1)},[T.$slots.optionPdf?e.renderSlot(T.$slots,"optionPdf",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isPrinting?(e.openBlock(),e.createBlock(bt,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(bt,{key:1,name:"pdf",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),E.value&&t.titles.pdf&&!T.$slots.optionPdf?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.pdf}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.pdf),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasXls?(e.openBlock(),e.createElementBlock("button",{key:2,tabindex:"0",class:"vue-ui-user-options-button",onClick:r,onMouseenter:Y[4]||(Y[4]=$=>b.value.csv=!0),onMouseout:Y[5]||(Y[5]=$=>b.value.csv=!1)},[T.$slots.optionCsv?e.renderSlot(T.$slots,"optionCsv",{key:0},void 0,!0):(e.openBlock(),e.createBlock(bt,{key:1,name:"excel",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),E.value&&t.titles.csv&&!T.$slots.optionCsv?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.csv}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.csv),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasImg?(e.openBlock(),e.createElementBlock("button",{key:3,tabindex:"0",class:"vue-ui-user-options-button",onClick:l,onMouseenter:Y[6]||(Y[6]=$=>b.value.img=!0),onMouseout:Y[7]||(Y[7]=$=>b.value.img=!1)},[T.$slots.optionImg?e.renderSlot(T.$slots,"optionImg",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isImaging?(e.openBlock(),e.createBlock(bt,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(bt,{key:1,name:"image",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),E.value&&t.titles.img&&!T.$slots.optionImg?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.img}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.img),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasTable?(e.openBlock(),e.createElementBlock("button",{key:4,tabindex:"0",class:"vue-ui-user-options-button",onClick:u,onMouseenter:Y[8]||(Y[8]=$=>b.value.table=!0),onMouseout:Y[9]||(Y[9]=$=>b.value.table=!1)},[T.$slots.optionTable?e.renderSlot(T.$slots,"optionTable",{key:0},void 0,!0):(e.openBlock(),e.createBlock(bt,{key:1,name:s.value?"tableClose":"tableOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),E.value&&t.titles.table&&!T.$slots.optionTable?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.table}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.table),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasLabel?(e.openBlock(),e.createElementBlock("button",{key:5,tabindex:"0",class:"vue-ui-user-options-button",onClick:B,onMouseenter:Y[10]||(Y[10]=$=>b.value.labels=!0),onMouseout:Y[11]||(Y[11]=$=>b.value.labels=!1)},[T.$slots.optionLabels?e.renderSlot(T.$slots,"optionLabels",{key:0},void 0,!0):(e.openBlock(),e.createBlock(bt,{key:1,name:A.value?"labelClose":"labelOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),E.value&&t.titles.labels&&!T.$slots.optionLabels?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.labels}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.labels),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasSort?(e.openBlock(),e.createElementBlock("button",{key:6,tabindex:"0",class:"vue-ui-user-options-button",onClick:v,onMouseenter:Y[12]||(Y[12]=$=>b.value.sort=!0),onMouseout:Y[13]||(Y[13]=$=>b.value.sort=!1)},[T.$slots.optionSort?e.renderSlot(T.$slots,"optionSort",{key:0},void 0,!0):(e.openBlock(),e.createBlock(bt,{key:1,name:"sort",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),E.value&&t.titles.sort&&!T.$slots.optionSort?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.sort}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.sort),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasStack?(e.openBlock(),e.createElementBlock("button",{key:7,tabindex:"0",class:"vue-ui-user-options-button",onClick:g,onMouseenter:Y[14]||(Y[14]=$=>b.value.stack=!0),onMouseout:Y[15]||(Y[15]=$=>b.value.stack=!1)},[T.$slots.optionStack?e.renderSlot(T.$slots,"optionStack",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[i.value?(e.openBlock(),e.createBlock(bt,{key:0,name:"unstack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(bt,{key:1,name:"stack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),E.value&&t.titles.stack&&!T.$slots.optionStack?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.stack}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.stack),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasFullscreen?(e.openBlock(),e.createElementBlock("button",{key:8,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:Y[16]||(Y[16]=$=>b.value.fullscreen=!0),onMouseout:Y[17]||(Y[17]=$=>b.value.fullscreen=!1),onClick:Y[18]||(Y[18]=$=>Q(I.value?"out":"in"))},[T.$slots.optionFullscreen?e.renderSlot(T.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:Q,isFullscreen:I.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[I.value?(e.openBlock(),e.createBlock(bt,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),I.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(bt,{key:1,name:"fullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),E.value&&t.titles.fullscreen&&!T.$slots.optionFullscreen?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.fullscreen}),style:e.normalizeStyle({background:t.backgroundColor})},e.toDisplayString(t.titles.fullscreen),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)],12,BC)],4)),[[e.unref(CC),C]])}},Tt=vt(xC,[["__scopeId","data-v-857d2388"]]);function ft(){const t="#2D353C",o="#A1A1A1",a="#e1e5e8",n="#CCCCCC",r="#4A4A4A",l="#FFFFFF",s="#fafafa",u="#5f8bee",h="#dc3912",f="#2ca02c",c="#42d392",y="#FFD055",C={_10:10,_12:12,_14:14,_16:16,_18:18,_20:20,_24:24,_32:32,_48:48},A={LINE:"line",SQUARE:"square",ROUND:"round",CIRCLE:"circle",CURVED:"curved",BAR:"bar",STAR:"star"},B={LEFT:"left",CENTER:"center",RIGHT:"right",BOTTOM:"bottom",TOP:"top"},v={ASC:"asc",DESC:"desc"},i={text:"",color:t,fontSize:C._20,bold:!0,subtitle:{color:o,text:"",fontSize:C._16,bold:!1}},g={show:!0,bold:!1,backgroundColor:l,color:t,fontSize:C._14},w={show:!0,color:t,backgroundColor:l,fontSize:C._14,customFormat:null,borderRadius:4,borderColor:a,borderWidth:1,backgroundOpacity:100},U=({tooltip:mt=!1,pdf:dt=!1,csv:nt=!1,img:rt=!1,table:qt=!1,labels:Vt=!1,fullscreen:Xo=!1,sort:go=!1,stack:ut=!1})=>{const Ht={open:"Open options",close:"Close options",tooltip:"Toggle tooltip",pdf:"Download PDF",csv:"Download CSV",img:"Download PNG",table:"Toggle table",labels:"Toggle labels",fullscreen:"Toggle fullscreen",sort:"Toggle sort",stack:"Toggle stack mode"};return mt||delete Ht.tooltip,dt||delete Ht.pdf,nt||delete Ht.csv,rt||delete Ht.img,qt||delete Ht.table,Vt||delete Ht.labels,Xo||delete Ht.fullscreen,go||delete Ht.sort,ut||delete Ht.stack,{show:!0,buttons:{tooltip:mt,pdf:dt,csv:nt,img:rt,table:qt,labels:Vt,fullscreen:Xo,sort:go,stack:ut},buttonTitles:Ht}},I=mt=>({top:mt[0],right:mt[1],bottom:mt[2],left:mt[3]}),Q={backgroundColor:s,color:t,outline:"none"},K={backgroundColor:l,color:t,outline:"none"},E={show:!1,responsiveBreakpoint:400},b={show:!0,color:n,highlightColor:r,fontSize:C._14,useResetSlot:!1},T={theme:"",responsive:!1,customPalette:[],useCssAnimation:!0,chart:{fontFamily:"inherit",backgroundColor:l,color:t,height:600,width:1e3,zoom:b,padding:I([36,24,24,48]),highlighter:{color:t,opacity:5,useLine:!1,lineDasharray:2,lineWidth:1},highlightArea:{show:!1,from:0,to:0,color:t,opacity:20,caption:{text:"",fontSize:C._10,color:t,bold:!1,offsetY:0,width:"auto",padding:3,textAlign:B.CENTER}},timeTag:{show:!1,backgroundColor:a,color:t,fontSize:C._12,circleMarker:{radius:3,color:t}},grid:{stroke:a,showVerticalLines:!1,showHorizontalLines:!1,labels:{show:!0,color:t,fontSize:C._12,axis:{yLabel:"",yLabelOffsetX:0,xLabel:"",xLabelOffsetY:0,fontSize:C._12},zeroLine:{show:!0},xAxis:{showBaseline:!1},yAxis:{showBaseline:!0,commonScaleSteps:10,useIndividualScale:!1,stacked:!1,gap:12,labelWidth:40},xAxisLabels:{color:t,show:!0,values:[],fontSize:C._10,showOnlyFirstAndLast:!1,showOnlyAtModulo:!1,modulo:12,yOffset:0,rotation:0}}},comments:{show:!0,showInTooltip:!0,width:200,offsetX:0,offsetY:0},labels:{fontSize:C._10,prefix:"",suffix:""},legend:{color:t,show:!0,fontSize:C._14},title:{...i,show:!0,offsetX:0,offsetY:0},tooltip:{...w,showValue:!0,showPercentage:!0,rondingValue:0,roundingPercentage:0},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0,stack:!0})},bar:{borderRadius:2,useGradient:!0,periodGap:.1,border:{useSerieColor:!1,strokeWidth:0,stroke:l},labels:{show:!1,offsetY:-6,rounding:0,color:t},serieName:{show:!1,offsetY:-6,useAbbreviation:!0,abbreviationSize:3,useSerieColor:!0,color:t,bold:!1}},line:{radius:3,useGradient:!0,strokeWidth:3,labels:{show:!1,offsetY:-6,rounding:0,color:t},area:{useGradient:!0,opacity:30}},plot:{radius:3,useGradient:!0,labels:{show:!1,offsetY:-6,rounding:0,color:t}},table:{responsiveBreakpoint:400,rounding:0,sparkline:!0,columnNames:{period:"Period",total:"Total"},th:Q,td:K},showTable:!1},Y={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,useBlurOnHover:!0,userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),translations:{total:"Total",average:"Average"},table:{...E,th:Q,td:{...K,roundingValue:0,roundingPercentage:0},columnNames:{serie:"Series",value:"Value",percentage:"Percentage"}},style:{fontFamily:"inherit",chart:{useGradient:!0,gradientIntensity:40,backgroundColor:l,color:t,layout:{labels:{dataLabels:{show:!0,useLabelSlots:!1,hideUnderValue:3,prefix:"",suffix:""},value:{rounding:0,show:!0},percentage:{color:t,bold:!0,fontSize:C._18},name:{color:t,bold:!1,fontSize:C._14},hollow:{show:!0,total:{show:!0,bold:!1,fontSize:C._18,color:o,text:"Total",offsetY:0,value:{color:t,fontSize:C._18,bold:!0,suffix:"",prefix:"",offsetY:0,rounding:0}},average:{show:!0,bold:!1,fontSize:C._18,color:o,text:"Average",offsetY:0,value:{color:t,fontSize:C._18,bold:!0,suffix:"",prefix:"",offsetY:0,rounding:0}}}},donut:{strokeWidth:55,borderWidth:1,useShadow:!1,shadowColor:t}},comments:{show:!0,showInTooltip:!0,width:100,offsetY:0,offsetX:0},legend:{...g,roundingValue:0,roundingPercentage:0},tooltip:{...w,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0},title:i}}},$={responsive:!1,theme:"",customPalette:[],userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:500,width:800,padding:I([0,6,12,6]),layout:{sorted:!0,rects:{stroke:a,strokeWidth:1,borderRadius:0,colorRatio:.3,gradient:{show:!0,intensity:30},selected:{stroke:a,strokeWidth:1,unselectedOpacity:.6}},labels:{showDefaultLabels:!0,fontSize:C._24,minFontSize:C._10,hideUnderProportion:.03,prefix:"Value: ",suffix:"",rounding:0}},legend:{...g,roundingValue:0,roundingPercentage:0},title:i,tooltip:{...w,roundingValue:1}}},table:{...E,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:Q,td:{...K,roundingValue:0,roundingPercentage:0}}},S={responsive:!1,theme:"",customPalette:[],useBlurOnHover:!0,useCustomCells:!1,useAnimation:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{labels:{dataLabels:{prefix:"",suffix:""},captions:{show:!1,showSerieName:!1,serieNameAbbreviation:!0,serieNameMaxAbbreviationSize:3,fontSize:C._12,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,offsetX:0,offsetY:0}},grid:{size:10,spaceBetween:2,vertical:!1},rect:{rounded:!0,ronding:2,stroke:t,strokeWidth:1,useGradient:!0,gradientIntensity:40}},title:i,tooltip:{...w,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0},legend:{...g,roundingValue:0,roundingPercentage:0}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:Q,td:{...K,roundingValue:0,roundingPercentage:0}}},W={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{plots:{show:!0,radius:2},outerPolygon:{stroke:n,strokeWidth:1},dataPolygon:{strokeWidth:1,transparent:!1,opacity:20,useGradient:!0},grid:{show:!0,stroke:a,strokeWidth:.5,graduations:5},labels:{dataLabels:{show:!0,fontSize:C._12,color:t}}},title:i,tooltip:{...w,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,animation:{show:!0,animationFrames:60}},legend:{...g,roundingPercentage:0}}},table:{...E,th:Q,td:{...K,roundingValue:0,roundingPercentage:0}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),translations:{target:"Target",value:"Value",datapoint:"Datapoint"}},oe={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,zoomAnimationFrames:20,style:{fontFamily:"inherit",chart:{height:512,width:512,backgroundColor:l,color:t,layout:{labels:{quadrantLabels:{show:!0,tl:{text:"",color:t,fontSize:C._16,bold:!0},tr:{text:"",color:t,fontSize:C._16,bold:!0},br:{text:"",color:t,fontSize:C._16,bold:!0},bl:{text:"",color:t,fontSize:C._16,bold:!0}},plotLabels:{showAsTag:!1,show:!0,fontSize:C._10,color:t,offsetY:8},axisLabels:{show:!0,fontSize:C._14,color:{positive:t,negative:t}}},grid:{stroke:a,strokeWidth:1.5,showArrows:!0,graduations:{stroke:a,strokeWidth:.5,show:!0,steps:5,fill:!0,color:a,roundingForce:10},xAxis:{min:-100,max:100,auto:!0,name:""},yAxis:{min:-100,max:100,auto:!0,name:""}},plots:{radius:6,outline:!0,outlineColor:l,outlineWidth:1},areas:{show:!0,opacity:40,useGradient:!0}},title:i,tooltip:{...w,roundingValue:0,showShape:!0},legend:g}},table:{...E,th:Q,td:{...K,roundingValue:0}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),translations:{category:"Category",item:"Item",side:"Side"}},te={responsive:!1,theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,animation:{use:!0,speed:1,acceleration:1},layout:{track:{size:1,useGradient:!0,gradientIntensity:20},markers:{color:t,bold:!0,fontSizeRatio:1,offsetY:0,roundingValue:0},pointer:{type:"pointy",size:1,stroke:l,strokeWidth:12,useRatingColor:!0,color:n,circle:{radius:10,stroke:t,strokeWidth:2,color:l}}},legend:{fontSize:C._48,prefix:"",suffix:"",roundingValue:1,showPlusSymbol:!0,useRatingColor:!0,color:t},title:i}},userOptions:U({pdf:!0,img:!0,fullscreen:!0}),translations:{base:"Base"}},he={responsive:!1,theme:"",style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,animation:{use:!0,speed:.5,acceleration:1},layout:{wheel:{ticks:{rounded:!0,inactiveColor:a,activeColor:u,gradient:{show:!0,shiftHueIntensity:100}}},innerCircle:{show:!0,stroke:a,strokeWidth:1},percentage:{show:!0,fontSize:C._48,rounding:1,bold:!0}},title:i}},userOptions:U({pdf:!0,img:!0,fullscreen:!0})},le={theme:"",style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,animation:{use:!0,speed:.5,acceleration:1},layout:{display:"horizontal",crescendo:!1,curved:!1,curveAngleX:10,curveAngleY:10,activeColor:u,inactiveColor:a,ticks:{gradient:{show:!0,shiftHueIntensity:100}}},percentage:{show:!0,useGradientColor:!0,color:u,fontSize:C._16,bold:!0,rounding:1,verticalPosition:B.BOTTOM,horizontalPosition:B.LEFT},title:i}},userOptions:U({pdf:!0,img:!0,fullscreen:!0})},H={theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{grandTotal:{show:!0,fontSize:C._20,bold:!0,prefix:"",suffix:"",roundingValue:0,color:t,text:"Grand total",offsetY:0},roots:{stroke:l,strokeWidth:5,useGradient:!0,gradientIntensity:20,underlayerColor:l,labels:{show:!0,fontSize:C._16,adaptColorToBackground:!0,color:l,bold:!0,roundingValue:0,prefix:"",suffix:"",name:{color:t,fontSize:C._16,bold:!0}}},verticalSeparator:{stroke:l,strokeWidth:5},links:{opacity:10},branches:{stroke:l,strokeWidth:0,borderRadius:6,useGradient:!0,gradientIntensity:20,underlayerColor:l,widthRatio:1.5,labels:{show:!0,fontSize:C._14,color:t,bold:!0,dataLabels:{show:!0,hideUnderValue:5,fontSize:C._14,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}}},nuts:{offsetX:20,useGradient:!0,gradientIntensity:30,selected:{useMotion:!0,useGradient:!0,gradientIntensity:40,roundingValue:0,roundingPercentage:0,labels:{dataLabels:{hideUnderValue:5,color:t,fontSize:C._12,bold:!0,prefix:"",suffix:""},core:{total:{color:t,fontSize:C._24,bold:!1},value:{color:t,fontSize:C._24,bold:!0,prefix:"",suffix:""}}}}},legend:{fontSize:C._16,color:t,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""},title:{...i,offsetY:0,subtitle:{...i.subtitle,offsetY:0}}}}},table:{...E,th:{...Q,translations:{rootName:"root name",rootValue:"root value",rootToTotal:"%/total",branchName:"branch name",branchValue:"branch value",branchToRoot:"%/root",branchToTotal:"%/total",nutName:"nut name",nutValue:"nut value",nutToBranch:"%/branch",nutToRoot:"%/root",nutToTotal:"%/total"}},td:{...K,roundingValue:0,roundingPercentage:0}},userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),translations:{total:"Total",proportionToTree:"of grand total",of:"of"}},P={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,useStartAnimation:!0,useBlurOnHover:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,useGradient:!0,gradientIntensity:20,layout:{maxThickness:64,gutter:{color:a,width:.62},track:{width:.62},labels:{show:!0,fontSize:C._14,color:t,roundingValue:0,roundingPercentage:0,bold:!0,offsetX:0,offsetY:0,value:{show:!0},percentage:{show:!0}}},title:i,legend:{...g,roundingValue:0,roundingPercentage:0},tooltip:{...w,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,th:Q,td:{...K,roundingValue:0,roundingPercentage:0},translations:{value:"Value",percentage:"Percentage",serie:"Serie"}}},X={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{bars:{sort:v.DESC,useStroke:!1,strokeWidth:2,height:32,gap:6,borderRadius:4,offsetX:64,paddingRight:0,useGradient:!0,gradientIntensity:20,fillOpacity:90,underlayerColor:l,dataLabels:{color:t,bold:!0,fontSize:C._12,value:{show:!0,roundingValue:0,prefix:"",suffix:""},percentage:{show:!0,roundingPercentage:0},offsetX:0},nameLabels:{show:!0,color:t,bold:!1,fontSize:C._10,offsetX:0},parentLabels:{show:!0,color:t,bold:!1,fontSize:C._10,offsetX:0}},highlighter:{color:t,opacity:5},separators:{show:!0,color:a,strokeWidth:1}},title:i,legend:{...g,position:B.TOP,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""},tooltip:{...w,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,sort:!0,fullscreen:!0}),table:{...E,th:Q,td:{...K,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}},translations:{parentName:"Serie",childName:"Child",value:"value",percentageToTotal:"%/total",percentageToSerie:"%/serie"}},q={theme:"",style:{fontFamily:"inherit",backgroundColor:l,color:t,layout:{padding:I([36,12,12,48]),cells:{height:36,value:{show:!1,fontSize:C._18,bold:!1,roundingValue:0,color:t},colors:{hot:h,cold:u,underlayer:l},spacing:2,selected:{border:4,color:t}},dataLabels:{prefix:"",suffix:"",xAxis:{show:!0,values:[],fontSize:C._10,color:t,bold:!1,offsetX:0,offsetY:0},yAxis:{show:!0,values:[],fontSize:C._10,color:t,bold:!1,offsetX:0,offsetY:0}}},title:i,legend:{...g,fontSize:C._12,roundingValue:0,position:B.RIGHT,scaleBorderRadius:18},tooltip:{...w,roundingValue:0}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,colNames:{xAxis:"X"},th:Q,td:{...K,roundingValue:0}}},m={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,style:{fontFamily:"inherit",backgroundColor:l,color:t,layout:{height:316,width:512,padding:I([36,48,36,48]),axis:{show:!0,stroke:a,strokeWidth:1},marginalBars:{show:!1,size:40,tranches:20,opacity:.6,fill:t,strokeWidth:1,offset:20,borderRadius:2,useGradient:!0,showLines:!1,linesStrokeWidth:1},plots:{radius:2,stroke:l,strokeWidth:.3,opacity:.6,significance:{show:!0,useDistanceOpacity:!1,deviationThreshold:10,opacity:.3},deviation:{translation:"deviation",roundingValue:1},giftWrap:{show:!1,strokeWidth:1,strokeDasharray:0,fillOpacity:.2},selectors:{show:!0,stroke:t,strokeWidth:.7,strokeDasharray:0,labels:{fontSize:C._12,color:t,rounding:2,bold:!1,showName:!0,prefix:"",suffix:""},markers:{radius:1.5,stroke:l,strokeWidth:.5,fill:t}}},correlation:{show:!0,strokeDasharray:2,strokeWidth:1,label:{show:!0,fontSize:C._12,color:t,bold:!0,roundingValue:2,useSerieColor:!0}},dataLabels:{xAxis:{name:"xAxis",show:!0,fontSize:C._10,color:t,bold:!1,offsetX:0,offsetY:0,roundingValue:0},yAxis:{name:"yAxis",show:!0,fontSize:C._10,color:t,bold:!1,offsetX:0,offsetY:0,roundingValue:0}}},title:i,legend:{...g,roundingValue:0},tooltip:{...w,roundingValue:2,showShape:!0,prefix:"",suffix:""}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,th:Q,td:{...K,roundingValue:2,roundingAverage:1},translations:{correlationCoefficient:"Correlation Coef.",nbrPlots:"Nbr plots",average:"Average",series:"Series"}}},_={responsive:!1,theme:"",useCssAnimation:!0,style:{fontFamily:"inherit",backgroundColor:l,color:t,height:316,width:512,layout:{padding:I([36,48,36,48]),selector:{color:a,opacity:10},grid:{show:!0,stroke:a,strokeWidth:.5,xAxis:{dataLabels:{show:!0,fontSize:C._10,color:t,offsetY:0,bold:!1,rotation:0}},yAxis:{dataLabels:{show:!0,fontSize:C._12,color:t,roundingValue:0,offsetX:0,bold:!1,steps:10,prefix:"",suffix:""}}},wick:{stroke:t,strokeWidth:.5,extremity:{shape:A.LINE,size:"auto",color:t}},candle:{borderRadius:1,stroke:t,strokeWidth:.5,colors:{bearish:h,bullish:f},gradient:{show:!0,underlayer:l},widthRatio:.5}},zoom:b,title:i,tooltip:{...w,roundingValue:0,prefix:"",suffix:""}},translations:{period:"Period",open:"Open",high:"High",low:"Low",last:"Last",volume:"Volume"},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,th:Q,td:{...K,roundingValue:2,prefix:"",suffix:""}}},x={theme:"",type:A.LINE,style:{chartWidth:290,animation:{show:!0,animationFrames:360},fontFamily:"inherit",backgroundColor:l,line:{color:u,strokeWidth:3,smooth:!1},bar:{borderRadius:3,color:u},zeroLine:{color:t,strokeWidth:1},plot:{show:!0,radius:4,stroke:l,strokeWidth:1},verticalIndicator:{show:!0,strokeWidth:1.5,color:u,strokeDasharray:3},dataLabel:{show:!0,position:B.LEFT,offsetX:0,offsetY:0,fontSize:C._20,bold:!0,color:t,roundingValue:0,valueType:"latest",prefix:"",suffix:""},title:{show:!0,textAlign:B.LEFT,color:t,fontSize:C._16,bold:!0,text:""},area:{show:!0,useGradient:!0,opacity:30,color:u}}},V={theme:"",customPalette:[],style:{fontFamily:"inherit",backgroundColor:l,animation:{show:!0,animationFrames:60},layout:{independant:!0,percentage:!0,target:0,showTargetValue:!1,targetValueText:""},gutter:{backgroundColor:a,opacity:100},bar:{gradient:{show:!0,intensity:40,underlayerColor:l}},labels:{fontSize:C._16,name:{position:B.TOP,width:"100%",color:t,bold:!1},value:{show:!0,bold:!0}},title:{...i,textAlign:B.LEFT,margin:"0 auto"},gap:4}},J={theme:"",customPalette:[],style:{fontFamily:"inherit",backgroundColor:l,animation:{show:!0,animationFrames:60},bar:{gradient:{show:!0,intensity:40,underlayerColor:l}},legend:{show:!0,textAlign:B.LEFT,fontSize:C._12,margin:"6px 0 0 0",name:{color:t,bold:!1},value:{show:!0,bold:!1,color:t,prefix:"",suffix:"",rounding:0},percentage:{show:!0,bold:!0,color:t,rounding:1}},title:{...i,textAlign:B.LEFT,margin:"0 0 6px 0"}}},ke={theme:"",style:{fontFamily:"inherit",backgroundColor:l,animation:{show:!0,speedMs:500},layout:{height:96,width:640,padding:I([24,0,36,0])},bars:{shape:A.SQUARE,strokeWidth:0,colors:{positive:u,negative:h,gradient:{show:!0}},borderRadius:24,gap:12},labels:{value:{fontSize:C._14,color:t,bold:!0,rounding:1,prefix:"",suffix:"",offsetY:0},valueLabel:{fontSize:C._14,color:t,bold:!1,rounding:0},timeLabel:{fontSize:C._12,color:t,bold:!1}},selector:{stroke:u,strokeWidth:2,strokeDasharray:0,borderRadius:2},title:{...i,textAlign:B.LEFT,margin:"0 0 6px 0"}}},ae={theme:"",style:{fontFamily:"inherit",background:l,height:84,basePosition:72,animation:{show:!0,speedMs:150},title:{show:!0,fontSize:C._12,position:B.TOP,textAlign:B.CENTER,bold:!1,color:t},dataLabel:{fontSize:C._20,autoColor:!0,color:t,offsetY:0,bold:!0,rounding:0,prefix:"",suffix:""},colors:{min:h,max:f,showGradient:!0},track:{autoColor:!0,color:u,strokeLinecap:A.ROUND},gutter:{color:a,strokeLinecap:A.ROUND}}},ge={theme:"",style:{fontFamily:"inherit",backgroundColor:l,animation:{show:!0,animationFrames:20},line:{stroke:t,strokeWidth:2,strokeLinecap:A.ROUND,strokeLinejoin:A.ROUND,smooth:!0,useColorTrend:!0},area:{show:!0,useGradient:!0,opacity:20},dataLabel:{show:!0,useColorTrend:!0,color:t,fontSize:C._14,bold:!1,prefix:"",suffix:"",rounding:0},trendLabel:{trendType:"global",useColorTrend:!0,color:t,fontSize:C._14,bold:!0,rounding:0},arrow:{colors:{positive:f,neutral:o,negative:h}},padding:I([12,12,12,82])}},Z={responsive:!1,theme:"",axisLabelsFontSize:C._12,backgroundColor:l,barGap:12,barAnimated:!0,barStrokeWidth:1,blurOnHover:!0,chartIsBarUnderDatasetLength:6,color:t,customPalette:[],dataLabelFontSize:C._14,dataLabelRoundingPercentage:1,dataLabelRoundingValue:0,donutHideLabelUnderPercentage:3,donutLabelMarkerStrokeWidth:1,donutRadiusRatio:.4,donutShowTotal:!0,donutStrokeWidth:2,donutThicknessRatio:.18,donutTotalLabelFontSize:24,donutTotalLabelOffsetY:0,donutTotalLabelText:"Total",donutUseShadow:!1,donutShadowColor:t,fontFamily:"inherit",height:338,legendFontSize:C._12,legendIcon:"circleFill",legendIconSize:C._12,lineAnimated:!0,lineSmooth:!0,lineStrokeWidth:2,paletteStartIndex:0,showDataLabels:!0,showLegend:!0,showTooltip:!0,showUserOptions:!0,userOptionsButtons:{tooltip:!0,pdf:!0,img:!0,fullscreen:!0},userOptionsButtonTitles:{open:"Open options",close:"Close options",tooltip:"Toggle tooltip",pdf:"Download PDF",img:"Download PNG",fullscreen:"Toggle fullscreen"},title:"",titleBold:!0,titleFontSize:16,titleTextAlign:"center",tooltipCustomFormat:null,tooltipBackgroundOpacity:100,tooltipBorderRadius:4,tooltipBorderColor:a,tooltipBorderWidth:1,tooltipFontSize:14,useCustomLegend:!1,valuePrefix:"",valueSuffix:"",width:512,xAxisLabel:"",xyAxisStroke:n,xyAxisStrokeWidth:1,xyGridStroke:a,xyGridStrokeWidth:.5,xyHighlighterColor:t,xyHighlighterOpacity:.05,xyLabelsXFontSize:C._10,xyLabelsYFontSize:C._12,xyPaddingBottom:48,xyPaddingLeft:48,xyPaddingRight:12,xyPaddingTop:24,xyPeriodLabelsRotation:0,xyPeriods:[],xyScaleSegments:15,xyShowAxis:!0,xyShowGrid:!0,xyShowScale:!0,yAxisLabel:"",zoomXy:!0,zoomColor:n,zoomHighlightColor:r,zoomFontSize:C._14,zoomUseResetSlot:!1},ee={responsive:!1,theme:"",style:{fontFamily:"inherit",backgroundColor:l,color:t,height:500,width:500,layout:{padding:I([36,12,48,12]),grid:{show:!0,stroke:a,strokeWidth:1},dataLabels:{sideTitles:{show:!0,fontSize:C._18,color:t,useSideColor:!0,bold:!1,offsetY:0},xAxis:{show:!0,fontSize:C._12,color:t,bold:!1,scale:1e3,translation:"in thousands"},yAxis:{show:!0,display:"age",fontSize:C._12,color:t,bold:!1,showEvery:5}},centerSlit:{width:20},bars:{gap:2,borderRadius:2,left:{color:h},right:{color:u},gradient:{show:!0,underlayer:l,intensity:60,shiftHue:.05}}},highlighter:{color:t,opacity:5},title:i,tooltip:{...w,roundingValue:0}},translations:{age:"age",male:"male",female:"female",total:"total",year:"year"},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,th:Q,td:K}},z={responsive:!1,theme:"",customPalette:[],style:{fontFamily:"inherit",backgroundColor:l,color:t,size:400,limit:50,animation:{show:!0,speedMs:300},labels:{color:t,fontSize:C._10},links:{curved:!0,maxWidth:3},circle:{radiusProportion:.2,stroke:n,strokeWidth:1,offsetY:0},plot:{radius:2,color:t},title:i},userOptions:U({pdf:!0,img:!0,fullscreen:!0})},D={theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:360,thermometer:{width:48},padding:I([12,64,12,64]),graduations:{show:!0,sides:"both",height:2,stroke:a,strokeWidth:1,showIntermediate:!0,gradient:{show:!0,intensity:20}},animation:{use:!0,speedMs:1e3},label:{fontSize:C._20,rounding:1,bold:!0,color:t,prefix:"",suffix:""}},title:i},userOptions:U({pdf:!0,img:!0,fullscreen:!0})},fe={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,useBlurOnHover:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{labels:{dataLabels:{prefix:"",suffix:""}},rings:{strokeWidth:2,stroke:a,gradient:{show:!0,intensity:40,underlayerColor:l},useShadow:!0}},legend:{...g,roundingValue:0,roundingPercentage:0},title:i,tooltip:{...w,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:Q,td:{...K,roundingValue:0,roundingPercentage:0}}},M={theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,zoom:b,layout:{height:316,width:512,padding:I([24,48,24,48]),grid:{show:!0,stroke:a,strokeWidth:.7,showVerticalLines:!0,yAxis:{dataLabels:{show:!0,fontSize:C._10,color:t,roundingValue:0,offsetX:0,bold:!1,steps:10}},xAxis:{dataLabels:{show:!0,values:[],fontSize:C._10,showOnlyFirstAndLast:!1,color:t,rotation:0,offsetY:0}}},line:{show:!0,stroke:n,strokeWidth:4},highlighter:{color:t,opacity:5},dataLabels:{show:!0,fontSize:C._10,color:t,bold:!1,rounding:0,prefix:"",suffix:"",offsetY:0}},title:i,legend:{...g,roundingValue:0,roundingPercentage:0}}},userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,columnNames:{period:"Period",total:"Total"},th:Q,td:{...K,roundingValue:0,roundingPercentage:0}}},N={theme:"",style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{grid:{show:!0,stroke:a,strokeWidth:.5},outerPolygon:{stroke:a,strokeWidth:1},dataPolygon:{color:u,opacity:60,gradient:{show:!0,intensity:1},stroke:u,strokeWidth:0},smileys:{strokeWidth:1,colors:{1:"#e20001",2:"#ff9f03",3:"#ffd004",4:"#9ac900",5:"#059f00"}},dataLabel:{color:t,roundingValue:0,roundingPercentage:0,bold:!0}},title:i,legend:{...g,roundingValue:0,roundingPercentage:0}}},userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:Q,td:{...K,roundingValue:0,roundingPercentage:0}}},j={theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,nodes:{stroke:l,strokeHovered:t},links:{stroke:n},title:i,tooltip:w,zoom:{speed:1}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),table:{...E,th:Q,td:K,translations:{nodeName:"Node name",details:"Details",ancestor:"Parent node"}}},O={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,useBlurOnHover:!0,userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,useGradient:!0,gradientIntensity:40,layout:{labels:{dataLabels:{show:!0,prefix:"",suffix:"",hideUnderValue:3,fontSize:C._14,offsetX:4,offsetY:12,useSerieColor:!1,color:t,showValue:!0,showPercentage:!0,boldValue:!1,boldPercentage:!0,roundingValue:0,roundingPercentage:0,showDonutName:!0,boldDonutName:!0,donutNameAbbreviation:!0,donutNameMaxAbbreviationSize:3,donutNameOffsetY:0}},donut:{strokeWidth:200,borderWidth:2,spacingRatio:.5,useShadow:!1,shadowColor:t}},legend:{...g,roundingValue:0,roundingPercentage:0},title:i,tooltip:{...w,showAllItemsAtIndex:!0,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},table:{...E,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:Q,td:{...K,roundingValue:0,roundingPercentage:0}}},ce={theme:"",customPalette:[],useCssAnimation:!0,useBlurOnHover:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{arcs:{strokeWidth:24,borderWidth:12,offsetX:0,offsetY:0,hoverEffect:{show:!0,multiplicator:1.1},gradient:{show:!0,intensity:30,color:l}},labels:{dataLabels:{prefix:"",suffix:""}}},legend:{...g,roundingValue:0,roundingPercentage:0},title:i,tooltip:{...w,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:Q,td:{...K,roundingValue:0,roundingPercentage:0}}},re={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:600,stripWidth:120,padding:I([24,24,64,64]),grid:{show:!0,stroke:n,strokeWidth:1,scaleSteps:10,horizontalGrid:{show:!0,stroke:n,strokeWidth:.5,strokeDasharray:4},verticalGrid:{show:!0,stroke:n,strokeWidth:.5,strokeDasharray:4}},plots:{opacity:.5,radius:20,stroke:l,strokeWidth:1,shape:A.CIRCLE,gradient:{show:!0,intensity:40}},labels:{prefix:"",suffix:"",bestPlotLabel:{show:!0,showValue:!0,fontSize:C._14,color:t,rounding:0,offsetY:0},axis:{xLabel:"",xLabelOffsetY:0,yLabel:"",yLabelOffsetX:0,fontSize:C._14,color:t},xAxisLabels:{show:!0,color:t,fontSize:C._14,offsetY:0},yAxisLabels:{show:!0,color:t,fontSize:C._14,rounding:0,offsetX:0}},title:i,tooltip:{...w,roundingValue:0}}},table:{...E,columnNames:{series:"Series",value:"Value"},th:Q,td:{...K,roundingValue:0}}},ie={responsive:!1,theme:"",useAnimation:!0,animationSpeed:2,userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,width:600,rowHeight:40,padding:I([12,24,12,100]),plots:{startColor:h,endColor:u,radius:6,stroke:l,strokeWidth:1,link:{strokeWidth:2,type:A.CURVED},gradient:{show:!0,intensity:40}},grid:{strokeWidth:1,scaleSteps:10,horizontalGrid:{show:!0,stroke:n,strokeWidth:.5,strokeDasharray:0},verticalGrid:{show:!0,stroke:n,strokeWidth:.5,strokeDasharray:0}},labels:{prefix:"",suffix:"",yAxisLabels:{show:!0,fontSize:C._14,color:t,offsetX:0,bold:!0,showProgression:!0,rounding:1},xAxisLabels:{show:!0,fontSize:C._14,color:t,offsetY:0,bold:!1,rounding:0},startLabels:{show:!0,fontSize:C._10,color:t,offsetY:0,rounding:0,useStartColor:!0},endLabels:{show:!0,fontSize:C._10,color:t,offsetY:0,rounding:0,useEndColor:!0}},legend:{...g,labelStart:"start",labelEnd:"end"},title:i}},table:{...E,columnNames:{series:"Series",start:"Start value",end:"End value",progression:"Progression"},th:Q,td:{...K,roundingValue:0,roundingPercentage:0}}},G={theme:"",customPalette:[],style:{fontFamily:"inherit",shape:A.BAR,chart:{animation:{use:!0,speed:1,acceleration:1},backgroundColor:l,color:t,bar:{color:u,stroke:u,strokeWidth:.7,shadeColor:t},box:{stroke:n,strokeWidth:.7,strokeDasharray:2,dimensions:{width:128,height:256,top:27,bottom:9,left:24,right:24,perspective:18}},title:i,legend:{showDefault:!0,fontSize:C._10,color:t,bold:!1,roundingValue:0,roundingPercentage:0,prefix:"",suffix:"",hideUnderPercentage:3},dataLabel:{show:!0,bold:!0,color:u,fontSize:C._12,rounding:1}}},userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:Q,td:{...K,roundingValue:0,roundingPercentage:0}}},ne={theme:"",customPalette:[],responsiveBreakpoint:500,showAverage:!0,showMedian:!0,showTotal:!0,roundingAverage:0,roundingMedian:0,roundingValues:0,roundingTotal:0,showSparklines:!0,fontFamily:"inherit",colNames:[],sparkline:{useGradient:!0,showArea:!0,strokeWidth:3,type:A.LINE,smooth:!0,animation:{show:!0,animationFrames:360}},translations:{serie:"Serie",total:"Total",average:"Average",median:"Median",chart:"Evolution"},title:{...i,textAlign:B.CENTER,backgroundColor:l},thead:{backgroundColor:l,color:t,fontSize:C._14,outline:"none",textAlign:B.LEFT,bold:!1},tbody:{backgroundColor:l,color:t,fontSize:C._14,outline:"none",textAlign:B.LEFT,bold:!1},userOptions:U({pdf:!0,csv:!0,img:!0,fullscreen:!0})},Ae={theme:"",style:{fontFamily:"inherit",backgroundColor:l,color:t,shapeSize:C._14,heatmapColors:{useIndividualScale:!1,min:l,max:u}},table:{responsiveBreakpoint:400,borderWidth:1,showSum:!1,showAverage:!1,showMedian:!1,head:{backgroundColor:l,color:t,values:[]}},userOptions:U({pdf:!0,csv:!0,img:!0,fullscreen:!0})},se={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,animationDelayMs:20,userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:300,width:512,words:{maxFontSize:100,minFontSize:C._10,bold:!1,proximity:10,packingWeight:1,color:t,usePalette:!0},title:i}},table:{...E,columnNames:{series:"Word",value:"Value"},th:Q,td:{...K,roundingValue:0,prefix:"",suffix:""}}},ve={responsive:!1,theme:"",customPalette:[],userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0,stack:!0}),style:{fontFamily:"Arial",chart:{backgroundColor:l,color:t,aspectRatio:"12 / 9",stacked:!1,stackGap:20,scale:{ticks:10},zoom:b,selector:{show:!0,color:t,dashed:!0},tooltip:w,legend:g,title:i,grid:{y:{showAxis:!0,axisColor:t,axisThickness:2,axisName:"",axisLabels:{show:!0,fontSizeRatio:1,color:t,offsetX:0,rounding:1,prefix:"",suffix:""},verticalLines:{show:!0,color:n,hideUnderXLength:20},timeLabels:{show:!0,fontSizeRatio:.8,values:[],rotation:0,offsetY:30,color:t,modulo:12}},x:{showAxis:!0,axisColor:t,axisThickness:2,axisName:"",horizontalLines:{show:!0,color:n,alternate:!0,opacity:20}},zeroLine:{show:!0,color:t,dashed:!0}},line:{plots:{show:!0,radiusRatio:1}},area:{opacity:60},dataLabels:{show:!0,fontSizeRatio:1,useSerieColor:!0,color:t,offsetY:-12},paddingProportions:{top:.1,right:.05,bottom:.1,left:.1}}},table:{...E,rounding:1,columnNames:{period:"Period",total:"Total"},th:Q,td:K}},Ce={theme:"",customPalette:[],userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,padding:I([0,24,0,24]),title:i,nodes:{gap:10,minHeight:20,width:40,labels:{fontSize:C._14,abbreviation:{use:!0,length:3},prefix:"",suffix:"",rounding:0},stroke:l,strokeWidth:1},links:{width:200,opacity:.8,stroke:l,strokeWidth:1}}},table:{...E,columnNames:{source:"Source",target:"Target",value:"Value"},th:Q,td:K}},Ue={responsive:!1,theme:"",useCssAnimation:!0,customPalette:[],userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:600,width:1e3,padding:I([24,24,36,36]),comments:{show:!0,showInTooltip:!0,width:200,offsetX:0,offsetY:0},lines:{smooth:!0,strokeWidth:2,opacity:.8},plots:{show:!0,radius:6,opacity:.8},yAxis:{scaleTicks:10,stroke:t,strokeWidth:1,labels:{showAxisNames:!0,axisNames:[],axisNamesColor:t,axisNamesFontSize:C._16,axisNamesBold:!0,roundings:[],prefixes:[],suffixes:[],ticks:{show:!0,fontSize:C._14,color:t,bold:!1,offsetX:0,offsetY:0},datapoints:{show:!0,fontSize:C._14,useSerieColor:!0,color:t,offsetX:0,offsetY:0,bold:!0}}},title:i,legend:g,tooltip:w}},table:{...E,columnNames:{series:"Series",item:"Item"},th:Q,td:K}},Ve={type:"stopwatch",responsive:!1,style:{fontFamily:"inherit",backgroundColor:l,height:300,width:300,title:i},stopwatch:{showHours:!1,showHundredth:!0,cycleSeconds:5,track:{radiusRatio:1,stroke:a,fill:l,strokeWidth:2},tracker:{radiusRatio:1,stroke:l,strokeWidth:1,fill:t,gradient:{show:!0,color:l},aura:{show:!0,radiusRatio:1,fill:t,stroke:l,strokeWidth:0}},cycleTrack:{show:!0,stroke:t,strokeWidth:3},label:{fontSize:C._24,color:t,bold:!1},legend:{backgroundColor:l,buttons:{start:!0,pause:!0,reset:!0,restart:!0,lap:!0,iconColor:t},buttonTitles:{start:"Start",pause:"Pause",resume:"Resume",reset:"Reset",restart:"Restart",lap:"Lap"}}}},Ye={bubbleEffect:!0,bubbleEffectColor:l,bubbleEffectOpacity:.1,centerCircleColor:l,centerCircleDasharray:0,centerCircleOpacity:0,centerCircleRadius:50,centerCircleStroke:n,centerCircleStrokeWidth:.5,coordinatesColor:n,coordinatesFontSize:C._10,coordinatesOffset:0,crosshairDasharray:0,crosshairStroke:n,crosshairStrokeWidth:.5,intersectCirclesFill:n,intersectCirclesRadius:2,isLoading:!1,parentId:"",showCenterCircle:!0,showCoordinates:!0,showCrosshair:!0,showIntersectCircles:!0,useWaveOnClick:!0},ze={open:!1,maxHeight:2e3,head:{useArrowSlot:!1,backgroundColor:l,color:t,iconColor:u,padding:"12px 6px"},body:{backgroundColor:l,color:t}},It={animationFrames:60,animationValueStart:0,backgroundColor:l,fontFamily:"inherit",layoutClass:"",layoutCss:"",prefix:"",suffix:"",title:"",titleBold:!0,titleColor:t,titleClass:"",titleCss:"",titleFontSize:C._16,useAnimation:!0,valueBold:!0,valueColor:u,valueClass:"",valueCss:"",valueFontSize:C._32,valueRounding:0},kt={type:"onion",onion:{gutterColor:n,gutterOpacity:.3,gutterBlur:0,trackHueRotate:20,trackBlur:1,trackColor:c},line:{gutterColor:n,gutterOpacity:.3,gutterBlur:0,trackHueRotate:20,trackBlur:1,trackColor:c},bar:{gutterColor:n,gutterOpacity:.3,gutterBlur:0,trackHueRotate:20,trackBlur:1,trackColor:c}},jo={readonly:!1,style:{fontFamily:"inherit",itemSize:32,backgroundColor:l,colors:{activeReadonly:["#e20001","#ff9f03","#ffd004","#61c900","#059f00"],active:["#e20001","#ff9f03","#ffd004","#61c900","#059f00"],inactive:[a,a,a,a,a]},icons:{filled:!1,useGradient:!0},title:{...i,textAlign:B.CENTER,offsetY:6,subtitle:{...i.subtitle,offsetY:12}},rating:{show:!0,fontSize:C._24,bold:!0,roundingValue:1,position:B.BOTTOM,offsetX:0,offsetY:0},tooltip:{show:!0,fontSize:C._14,offsetY:0,color:t,bold:!0,backgroundColor:l,borderColor:a,borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)"}}},St={type:A.STAR,readonly:!1,from:1,to:5,style:{fontFamily:"inherit",animated:!0,itemSize:32,backgroundColor:l,star:{activeColor:y,borderColor:y,borderWidth:3,apexes:5,inactiveColor:a,useGradient:!0},image:{src:"",inactiveOpacity:.3,alt:"rating image"},title:{textAlign:B.CENTER,fontSize:C._20,color:t,bold:!0,text:"",offsetY:6,subtitle:{fontSize:C._14,color:n,bold:!1,text:"",offsetY:12}},rating:{show:!0,fontSize:C._24,bold:!0,roundingValue:1,position:B.BOTTOM,offsetY:0,offsetX:0},tooltip:{show:!0,fontSize:C._14,offsetY:0,color:t,bold:!0,backgroundColor:l,borderColor:a,borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)"}}},Dt={style:{backgroundColor:l,color:t,fixedTools:!1,fontFamily:"inherit",hideWhenFolded:!1,showPrint:!0,showSave:!0,showTooltips:!0,buttons:{borderRadius:6,controls:{backgroundColor:l,color:t,border:"1px solid #262626",selected:{backgroundColor:t,color:s,border:`1px solid ${n}`}},shapes:{backgroundColor:l,color:t,border:"1px solid #262626",selected:{backgroundColor:t,color:s,border:`1px solid ${n}`}}},tooltips:{backgroundColor:s,color:t,border:`1px solid ${n}`,borderRadius:6,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)"}},translations:{colorAlpha:"Color alpha",dashedLines:"Dashed lines",filled:"Filled",fontSize:"Font size",thickness:"Thickness",title:"Annotations",tooltipGroup:"Select & group",tooltipDelete:"Delete",tooltipMove:"Move",tooltipResize:"Resize",tooltipBringToFront:"Bring to front",tooltipBringToBack:"Bring to back",tooltipDuplicate:"Duplicate",tooltipUndo:"Undo last shape",tooltipPdf:"Save pdf",tooltipSave:"Save annotations",tooltipShapeCircle:"Draw circle",tooltipShapeRect:"Draw rect",tooltipShapeArrow:"Draw arrow",tooltipShapeFreehand:"Freehand line",tooltipShapeText:"Text mode",tooltipShapeTextLeft:"Align left",tooltipShapeTextCenter:"Align center",tooltipShapeTextRight:"Align right",tooltipShapeTextBullet:"Bullet points",tooltipShapeTextBold:"Bold",tooltipShapeTextItalic:"Italic",tooltipShapeTextUnderline:"Underlined",tooltipShapeColor:"Color"}},Al={locked:!1,style:{board:{backgroundColor:l,color:t,aspectRatio:"1/1.4141",border:`1px solid ${a}`},item:{backgroundColor:l,borderColor:a},resizeHandles:{backgroundColor:t,border:"none"}},allowPrint:!0},Ut={type:A.LINE,style:{backgroundColor:l,color:t,maxHeight:500,animated:!0,flow:{color:a},parallelCoordinatePlot:{color:a},treemap:{color:a},dumbbell:{color:a},stripPlot:{color:a},galaxy:{color:a},bar3d:{color:a},sparkHistogram:{color:a},sparkStackbar:{color:a},sparkbar:{color:a},thermometer:{color:a},relationCircle:{color:a},molecule:{color:a},tiremarks:{color:a},chestnut:{color:a},sparkline:{color:a,strokeWidth:.7},donutEvolution:{axis:{show:!0,color:a,strokeWidth:.5},donuts:{strokeWidth:.5,color:a}},line:{axis:{show:!0,color:a,strokeWidth:.5},path:{color:a,strokeWidth:1,showPlots:!0}},bar:{axis:{show:!0,color:a,strokeWidth:.5},borderRadius:.5,color:a,barWidth:9},donut:{color:a,strokeWidth:64},onion:{color:a},gauge:{color:a},quadrant:{grid:{color:a,strokeWidth:.5},plots:{radius:1.5,color:a}},radar:{grid:{color:a,strokeWidth:.5},shapes:{color:a}},waffle:{color:a},table:{th:{color:a},td:{color:a,strokeWidth:.5}},rating:{useSmiley:!1,color:a,filled:!0,strokeWidth:1,maxWidth:200},verticalBar:{axis:{show:!0,color:a,strokeWidth:.5},borderRadius:.5,color:a},heatmap:{cellsX:26,cellsY:7,color:a},candlesticks:{axis:{show:!0,color:a,strokeWidth:.5},candle:{color:a,strokeWidth:1}},pyramid:{color:a},wheel:{color:a},rings:{color:a}}},xe={mode:"download",quality:1,style:{info:{background:l,bold:!0,border:"none",borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)",color:t,fontFamily:"inherit",fontSize:C._14,minWidth:300,padding:12,top:-100},captureButton:{background:a,bold:!0,border:"none",borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)",color:t,fontFamily:"inherit",fontSize:C._14,minHeight:40,padding:"8px 12px"},cancelButton:{background:"#F17171",border:"none",borderRadius:10,color:l,right:-14,size:28,top:-14},captureArea:{background:"radial-gradient(transparent, rgba(0,0,0,0.15))",border:`dashed 4px ${t}`,initialHeight:200,initialWidth:200},handles:{background:l,border:`4px solid ${t}`,borderRadius:4,size:40}},translations:{captureButton:"capture",info:"Resize or move and click to capture"}},Oe={fontFamily:"inherit",maxHeight:500,rowsPerPage:25,style:{th:{backgroundColor:a,color:t,outline:`1px solid ${l}`,selected:{backgroundColor:u,color:l}},rows:{even:{backgroundColor:"#f3f5f7",color:t,selectedCell:{backgroundColor:"#6375dd5b",color:t},selectedNeighbors:{backgroundColor:"#63dd821e",color:t}},odd:{backgroundColor:l,color:t,selectedCell:{backgroundColor:"#6375dd5b",color:t},selectedNeighbors:{backgroundColor:"#63dd821e",color:t}}},inputs:{backgroundColor:l,color:t,border:"1px solid #CCCCCC",accentColor:u},dropdowns:{backgroundColor:a,color:t,icons:{selected:{color:"#008000",unicode:"✔"},unselected:{color:"#ff0000",unicode:"✖"}}},infoBar:{backgroundColor:a,color:t},pagination:{buttons:{backgroundColor:a,color:t,opacityDisabled:.5},navigationIndicator:{backgroundColor:u}},exportMenu:{backgroundColor:a,color:t,buttons:{backgroundColor:"#FAFAFA",color:t}},closeButtons:{backgroundColor:"transparent",color:t,borderRadius:"50%"},chart:{modal:{backgroundColor:a,color:t,buttons:{selected:{backgroundColor:u,color:l},unselected:{backgroundColor:l,color:t}}},layout:{backgroundColor:l,axis:{stroke:"#ccd1d4",strokeWidth:2},bar:{fill:"",stroke:l},line:{stroke:"#6376DD75",strokeWidth:4,plot:{fill:"#22348f",stroke:l,strokeWidth:1,radius:{selected:6,unselected:4}},selector:{stroke:"#ccc",strokeWidth:1,strokeDasharray:5}},labels:{color:t},progression:{stroke:t,strokeWidth:2,strokeDasharray:4,arrowSize:7}}}},translations:{average:"Average",by:"by",chooseCategoryColumn:"Choose category column",exportAllButton:"CSV all",exportAllLabel:"Export all rows of your current filtered dataset",exportPageButton:"CSV page",exportPageLabel:"Export rows of the current page",from:"From",inputPlaceholder:"Search...",makeDonut:"Generate",nb:"Nb",page:"Page",paginatorLabel:"Rows per page",sizeWarning:"Displaying too many rows at a time can lead to slower performance",sum:"Somme",to:"To",total:"Total",totalRows:"Total rows"},useChart:!0};return{vue_ui_xy:T,vue_ui_donut:Y,vue_ui_treemap:$,vue_ui_waffle:S,vue_ui_radar:W,vue_ui_quadrant:oe,vue_ui_gauge:te,vue_ui_wheel:he,vue_ui_tiremarks:le,vue_ui_chestnut:H,vue_ui_onion:P,vue_ui_vertical_bar:X,vue_ui_heatmap:q,vue_ui_scatter:m,vue_ui_candlestick:_,vue_ui_sparkline:x,vue_ui_sparkbar:V,vue_ui_sparkstackbar:J,vue_ui_sparkhistogram:ke,vue_ui_sparkgauge:ae,vue_ui_spark_trend:ge,vue_ui_quick_chart:Z,vue_ui_age_pyramid:ee,vue_ui_relation_circle:z,vue_ui_thermometer:D,vue_ui_rings:fe,vue_ui_donut_evolution:M,vue_ui_mood_radar:N,vue_ui_molecule:j,vue_ui_nested_donuts:O,vue_ui_galaxy:ce,vue_ui_strip_plot:re,vue_ui_dumbbell:ie,vue_ui_3d_bar:G,vue_ui_table_sparkline:ne,vue_ui_table_heatmap:Ae,vue_ui_word_cloud:se,vue_ui_xy_canvas:ve,vue_ui_flow:Ce,vue_ui_parallel_coordinate_plot:Ue,vue_ui_timer:Ve,vue_ui_cursor:Ye,vue_ui_accordion:ze,vue_ui_kpi:It,vue_ui_mini_loader:kt,vue_ui_smiley:jo,vue_ui_rating:St,vue_ui_annotator:Dt,vue_ui_dashboard:Al,vue_ui_skeleton:Ut,vue_ui_screenshot:xe,vue_ui_table:Oe,vue_ui_digits:{height:"100%",width:null,backgroundColor:l,digits:{color:t,skeletonColor:a}}}}const Da=t=>(e.pushScopeId("data-v-73139463"),t=t(),e.popScopeId(),t),FC=["id"],NC=["xmlns"],_C=["stroke","fill"],SC=["xmlns"],LC=["stroke","fill"],EC=["xmlns"],IC=["stroke"],$C=["fill"],MC=["stroke","fill"],UC=["stroke","fill"],VC=["fill"],QC=["stroke","fill"],TC=["stroke","fill"],OC=["fill"],zC=["stroke","fill"],DC=["stroke","fill"],PC=["fill"],HC=["stroke","fill"],RC=["stroke","fill"],GC=["fill"],WC=["stroke","fill"],KC=["stroke","fill"],jC=["xmlns"],XC=["stroke"],qC=["stroke"],YC=["stroke","fill"],JC=["stroke","fill"],ZC=["stroke","fill"],ew=["stroke","fill"],tw=["stroke","fill"],ow=["stroke","fill"],lw=["stroke","fill"],aw=["stroke","fill"],rw=["stroke","fill"],nw=["stroke","fill"],sw=["stroke","fill"],iw=["stroke","fill"],uw=["stroke","fill"],Aw=["stroke","fill"],cw=["stroke","fill"],dw=["stroke","fill"],hw=["stroke","fill"],fw=["stroke","fill"],vw=["stroke","fill"],gw=["stroke","fill"],pw=["stroke","fill"],yw=["stroke","fill"],mw=["stroke","fill"],bw=["xmlns"],kw=["stroke"],Cw=["xmlns"],ww=["stroke"],Bw=["xmlns"],xw=["stroke"],Fw=["xmlns"],Nw=["fill"],_w=["fill"],Sw=["fill"],Lw=["fill"],Ew=["fill"],Iw=["fill"],$w=["fill"],Mw=["fill"],Uw=["fill"],Vw=["fill"],Qw=["fill"],Tw=["fill"],Ow=["xmlns"],zw=["stroke"],Dw=["stroke"],Pw=["stroke"],Hw=["stroke"],Rw=["stroke"],Gw=["stroke"],Ww=["xmlns"],Kw=["stroke"],jw=["stroke"],Xw=["stroke"],qw=["stroke"],Yw=["stroke"],Jw=["stroke"],Zw=["stroke"],eB=["stroke"],tB=["stroke"],oB=["xmlns"],lB=["stroke"],aB=["xmlns"],rB=["stroke"],nB=["stroke"],sB=["stroke"],iB=["stroke"],uB=["stroke"],AB=["stroke"],cB=["stroke"],dB=["stroke"],hB=["stroke"],fB=["xmlns"],vB=["x1","x2","stroke"],gB=["xmlns"],pB=["x","y","width","height","fill"],yB=["y","width","height","fill"],mB=["xmlns"],bB=["fill"],kB=["fill"],CB=["fill"],wB=["xmlns"],BB=["x1","x2","y1","y2","stroke"],xB=["stroke"],FB=["fill"],NB=["xmlns"],_B=["fill"],SB=["fill"],LB=["x1","y1","x2","y2","stroke-width","stroke"],EB=["xmlns"],IB={key:0},$B=["stroke","stroke-width"],MB=["stroke","stroke-width"],UB=["x1","x2","y1","y2","stroke","stroke-width"],VB=["x1","x2","y1","y2","stroke","stroke-width"],QB=["x1","x2","y1","y2","stroke","stroke-width"],TB=["x","y","height","width","fill"],OB=["xmlns","viewBox"],zB=["x","y","stroke","fill"],DB=["xmlns"],PB=["d","stroke"],HB=["cx","cy","r","fill","stroke"],RB=["cx","cy","r","fill","stroke"],GB=["x","y","width","fill"],WB=["cx","cy","fill"],KB=["cx","cy","fill"],jB=["stroke"],XB=["xmlns"],qB=["stroke","stroke-width"],YB=["stroke","stroke-width"],JB=["stroke","stroke-width"],ZB=["fill"],ex=["fill"],tx=["fill"],ox=["fill"],lx=["fill"],ax=["fill"],rx=["xmlns"],nx={key:0},sx=["stroke","stroke-width"],ix=["stroke","stroke-width"],ux=["stroke","stroke-width"],Ax={key:1},cx=["r","fill"],dx=["r","fill"],hx=["xmlns"],fx={key:0},vx=["stroke","stroke-width"],gx=["stroke","stroke-width"],px=["fill","rx","x","y","width","height"],yx=["xmlns"],mx=["stroke-width","stroke"],bx=["stroke-width","stroke"],kx=["stroke-width","stroke"],Cx=["xmlns"],wx=["stroke"],Bx=["stroke"],xx=["stroke"],Fx=["stroke"],Nx=["fill"],_x=["stroke"],Sx=["xmlns"],Lx=["stroke","stroke-width"],Ex=["stroke","stroke-width"],Ix=["fill","r"],$x=["fill","r"],Mx=["fill","r"],Ux=["fill","r"],Vx=["fill","r"],Qx=["fill","r"],Tx=["fill","r"],Ox=["fill","r"],zx=["fill","r"],Dx=["xmlns"],Px=["d","stroke","stroke-width"],Hx=["d","stroke","stroke-width"],Rx=["d","stroke","stroke-width"],Gx=["d","stroke","stroke-width"],Wx=["stroke","stroke-width"],Kx=["stroke","stroke-width"],jx=["stroke","stroke-width"],Xx=["fill"],qx=["fill"],Yx=["xmlns"],Jx=["x","y","fill"],Zx=["x","y","fill"],e5=["x","y","fill"],t5=["xmlns"],o5=["fill"],l5=["fill"],a5=["y1","y2","stroke","stroke-width"],r5=["x1","x2","stroke","stroke-width"],n5=["xmlns","stroke"],s5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),i5=["fill"],u5=["xmlns","stroke"],A5=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-73139463></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-73139463></path><path d="M9 10l.01 0" data-v-73139463></path><path d="M15 10l.01 0" data-v-73139463></path><path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" data-v-73139463></path>',5),c5=[A5],d5=["xmlns","stroke"],h5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),f5=["fill"],v5=["xmlns","stroke"],g5=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-73139463></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-73139463></path><path d="M9 10l.01 0" data-v-73139463></path><path d="M15 10l.01 0" data-v-73139463></path><path d="M9 15l6 0" data-v-73139463></path>',5),p5=[g5],y5=["xmlns","stroke"],m5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),b5=["fill"],k5=["xmlns","stroke"],C5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),w5=Da(()=>e.createElementVNode("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"},null,-1)),B5=Da(()=>e.createElementVNode("path",{d:"M9 10l.01 0"},null,-1)),x5=Da(()=>e.createElementVNode("path",{d:"M15 10l.01 0"},null,-1)),F5=[C5,w5,B5,x5],N5=["xmlns","stroke"],_5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),S5=["fill"],L5=["xmlns","stroke"],E5=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-73139463></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-73139463></path><path d="M9 10l.01 0" data-v-73139463></path><path d="M15 10l.01 0" data-v-73139463></path><path d="M9.5 15a3.5 3.5 0 0 0 5 0" data-v-73139463></path>',5),I5=[E5],$5=["xmlns","stroke"],M5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),U5=["fill"],V5=["xmlns","stroke"],Q5=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-73139463></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-73139463></path><path d="M9 9l.01 0" data-v-73139463></path><path d="M15 9l.01 0" data-v-73139463></path><path d="M8 13a4 4 0 1 0 8 0h-8" data-v-73139463></path>',5),T5=[Q5],O5=["xmlns"],z5=["points","fill","stroke","stroke-width"],D5=["xmlns"],P5={key:0},H5=["stroke","stroke-width"],R5=["y","width","fill","rx"],G5={__name:"vue-ui-skeleton",props:{config:{type:Object,default(){return{}}}},setup(t){const o=t,{vue_ui_skeleton:a}=ft(),n=e.ref(`vue-ui-skeleton-${Math.random()}`),r=e.computed(()=>Je({userConfig:o.config,defaultConfig:a})),l=e.computed(()=>r.value.style.animated),s=e.computed(()=>r.value.type),u=e.ref([60,50,55,36,40,25,26,12]),h=e.computed(()=>Qo({plot:{x:50,y:50},radius:40,sides:6}).path),f=e.computed(()=>Qo({plot:{x:50,y:50},radius:30,sides:6}).path),c=e.computed(()=>Qo({plot:{x:50,y:50},radius:20,sides:6}).path),y=e.computed(()=>Qo({plot:{x:50,y:50},radius:10,sides:6}).path),C=e.ref([{root:{x:70,y:77,r:44,opacity:100},bars:[{x:200,y:37,opacity:100,width:240},{x:200,y:118,opacity:100,width:180},{x:200,y:253,opacity:100,width:80}]},{root:{x:70,y:177,r:32,opacity:70},bars:[{x:200,y:145,opacity:70,width:160},{x:200,y:172,opacity:70,width:140},{x:200,y:199,opacity:70,width:120}]},{root:{x:70,y:257,r:24,opacity:40},bars:[{x:200,y:64,opacity:40,width:220},{x:200,y:91,opacity:40,width:200},{x:200,y:226,opacity:40,width:100}]}]),A=e.ref([{y:200,height:100,bar:50},{y:180,height:100,bar:40},{y:150,height:100,bar:30},{y:120,height:80,bar:50},{y:110,height:60,bar:30},{y:80,height:80,bar:10},{y:50,height:80,bar:40},{y:24,height:40,bar:24},{y:44,height:20,bar:13},{y:32,height:45,bar:19}]),B=e.ref([[3,2.5],[4,3.1],[8,6],[9.5,6.5],[12,11],[16,15],[18,18.2],[25,24],[24,26],[32,32],[33,32],[32,31],[38,37],[37,38],[42,41],[40,41],[44,45],[38,35],[31,32]]),v=e.ref([{x:40,y:30},{x:45,y:28},{x:50,y:25},{x:55,y:20},{x:60,y:27},{x:65,y:14},{x:70,y:23},{x:75,y:16},{x:80,y:25},{x:85,y:10},{x:90,y:18},{x:95,y:7},{x:100,y:12},{x:105,y:10},{x:110,y:20},{x:115,y:7},{x:120,y:14},{x:125,y:10},{x:130,y:19},{x:135,y:3},{x:140,y:10},{x:145,y:2},{x:150,y:1}]);function i(w,U=1){return{x:200+160*Math.cos(29.85+w*Math.PI/180)*U,y:200+160*Math.sin(29.85+w*Math.PI/180)*U}}const g=e.computed(()=>{const w=[];for(let I=0;I<100;I+=1)w.push({x1:i(360/100*I).x,y1:i(360/100*I).y,x2:i(360/100*I,.9).x,y2:i(360/100*I,.9).y,color:r.value.style.wheel.color});return w});return(w,U)=>(e.openBlock(),e.createElementBlock("div",{id:n.value,class:e.normalizeClass({"vue-ui-skeleton":!0,"vue-ui-skeleton-animated":l.value}),style:e.normalizeStyle(`background:${r.value.style.backgroundColor};color:${r.value.style.color};display:flex;align-items:center;justify-content:center;`)},[s.value==="flow"?(e.openBlock(),e.createElementBlock("svg",{key:0,xmlns:e.unref(We),width:"100%",viewBox:"0 0 80 60",style:e.normalizeStyle(`background:${r.value.style.backgroundColor}`)},[e.createElementVNode("path",{d:"M 5 5 L 5 55 M 75 5 L 75 55 M 28 5 L 28 55 M 52 5 L 52 55 M 5 8 L 28 12 L 52 9 L 75 8 L 75 12 L 52 12 L 28 21 L 5 29 Z M 5 34 L 28 35 L 52 24 L 75 21 L 75 27 L 52 30 L 28 44 L 52 39 L 75 41 L 75 47 L 52 45 L 28 52 L 5 52 Z",stroke:r.value.style.flow.color,"stroke-width":.8,"stroke-linecap":"round","stroke-linejoin":"round",fill:r.value.style.flow.color},null,8,_C)],12,NC)):e.createCommentVNode("",!0),s.value==="parallelCoordinatePlot"?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),width:"100%",viewBox:"0 0 80 60",style:e.normalizeStyle(`background:${r.value.style.backgroundColor}`)},[e.createElementVNode("path",{d:"M 5 5 L 5 55 M 75 5 L 75 55 M 28 5 L 28 55 M 52 5 L 52 55 M 5 10 A 1 1 0 0 0 5 12 A 1 1 0 0 0 5 10 M 28 15 A 1 1 0 0 0 28 17 A 1 1 0 0 0 28 15 M 52 8 A 1 1 0 0 0 52 10 A 1 1 0 0 0 52 8 M 75 11 A 1 1 0 0 0 75 13 A 1 1 0 0 0 75 11 M 6 11 L 27 16 M 29 16 L 51 9 M 53 9 L 74 12 M 5 50 A 1 1 0 0 0 5 48 A 1 1 0 0 0 5 50 M 28 39 A 1 1 0 0 0 28 41 A 1 1 0 0 0 28 39 M 52 45 A 1 1 0 0 0 52 47 A 1 1 0 0 0 52 45 M 75 45 A 1 1 0 0 0 75 47 A 1 1 0 0 0 75 45 M 6 49 L 27 40 M 29 40 L 51 46 M 53 46 L 74 46 M 5 25 A 1 1 0 0 0 5 27 A 1 1 0 0 0 5 25 M 28 31 A 1 1 0 0 0 28 33 A 1 1 0 0 0 28 31 M 52 23 A 1 1 0 0 0 52 25 A 1 1 0 0 0 52 23 M 75 21 A 1 1 0 0 0 75 23 A 1 1 0 0 0 75 21 M 6 26 L 27 32 M 29 32 L 51 24 M 53 24 L 74 22",stroke:r.value.style.parallelCoordinatePlot.color,"stroke-width":.8,"stroke-linecap":"round","stroke-linejoin":"round",fill:r.value.style.parallelCoordinatePlot.color},null,8,LC)],12,SC)):e.createCommentVNode("",!0),s.value==="dumbbell"?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),width:"100%",viewBox:"0 0 100 55",style:e.normalizeStyle(`background:${r.value.style.backgroundColor}`)},[e.createElementVNode("line",{x1:"3",x2:"3",y1:"3",y2:"67",stroke:r.value.style.dumbbell.color,"stroke-width":.5,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,IC),e.createElementVNode("path",{d:`
267
+ `;if(l)console.warn(s);else throw new Error(s)}function f2({points:t,a:o,b:a,angleStep:n,startX:r,startY:l}){const s=[];for(let u=0;u<t;u++){const h=n*u,f=o+a*h,c=f*Math.cos(h)+r,y=f*Math.sin(h)+l;s.push({x:c,y})}return s}function v2({points:t,a:o,b:a,angleStep:n,startX:r,startY:l}){const s=f2({points:t,a:o||6,b:a||6,angleStep:n||.07,startX:r,startY:l});let u=`M${s[0].x} ${s[0].y}`;for(let h=1;h<s.length-2;h+=2){const f=s[h-1],c=s[h],y=s[h+1],C=s[h+2],A=(f.x+c.x)/2,B=(f.y+c.y)/2,v=(c.x+y.x)/2,i=(c.y+y.y)/2,g=(y.x+C.x)/2,w=(y.y+C.y)/2;u+=` C${A} ${B}, ${v} ${i}, ${g} ${w}`}return u}function Wt({datasetObject:t,requiredAttributes:o}){let a=[];return o.forEach(n=>{Object.hasOwn(t,n)||a.push(n)}),a}function g2(t){return{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",DARKGREY:"#A9A9A9",DARKGREEN:"#006400",DARKKHAKI:"#BDB76B",DARKMAGENTA:"#8B008B",DARKOLIVEGREEN:"#556B2F",DARKORANGE:"#FF8C00",DARKORCHID:"#9932CC",DARKRED:"#8B0000",DARKSALMON:"#E9967A",DARKSEAGREEN:"#8FBC8F",DARKSLATEBLUE:"#483D8B",DARKSLATEGREY:"#2F4F4F",DARKTURQUOISE:"#00CED1",DARKVIOLET:"#9400D3",DEEPPINK:"#FF1493",DEEPSKYBLUE:"#00BFFF",DIMGRAY:"#696969",DODGERBLUE:"#1E90FF",FIREBRICK:"#B22222",FLORALWHITE:"#FFFAF0",FORESTGREEN:"#228B22",FUCHSIA:"#FF00FF",GAINSBORO:"#DCDCDC",GHOSTWHITE:"#F8F8FF",GOLD:"#FFD700",GOLDENROD:"#DAA520",GREY:"#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",LIGHTSLATEGREY:"#778899",LIGHTSTEELBLUE:"#B0C4DE",LIGHTYELLOW:"#FFFFE0",LIME:"#00FF00",LIMEGREEN:"#32CD32",LINEN:"#FAF0E6",MAGENTA:"#FF00FF",MAROON:"#800000",MEDIUMAQUAMARINE:"#66CDAA",MEDIUMBLUE:"#0000CD",MEDIUMORCHID:"#BA55D3",MEDIUMPURPLE:"#9370D8",MEDIUMSEAGREEN:"#3CB371",MEDIUMSLATEBLUE:"#7B68EE",MEDIUMSPRINGGREEN:"#00FA9A",MEDIUMTURQUOISE:"#48D1CC",MEDIUMVIOLETRED:"#C71585",MIDNIGHTBLUE:"#191970",MINTCREAM:"#F5FFFA",MISTYROSE:"#FFE4E1",MOCCASIN:"#FFE4B5",NAVAJOWHITE:"#FFDEAD",NAVY:"#000080",OLDLACE:"#FDF5E6",OLIVE:"#808000",OLIVEDRAB:"#6B8E23",ORANGE:"#FFA500",ORANGERED:"#FF4500",ORCHID:"#DA70D6",PALEGOLDENROD:"#EEE8AA",PALEGREEN:"#98FB98",PALETURQUOISE:"#AFEEEE",PALEVIOLETRED:"#D87093",PAPAYAWHIP:"#FFEFD5",PEACHPUFF:"#FFDAB9",PERU:"#CD853F",PINK:"#FFC0CB",PLUM:"#DDA0DD",POWDERBLUE:"#B0E0E6",PURPLE:"#800080",RED:"#FF0000",ROSYBROWN:"#BC8F8F",ROYALBLUE:"#4169E1",SADDLEBROWN:"#8B4513",SALMON:"#FA8072",SANDYBROWN:"#F4A460",SEAGREEN:"#2E8B57",SEASHELL:"#FFF5EE",SIENNA:"#A0522D",SILVER:"#C0C0C0",SKYBLUE:"#87CEEB",SLATEBLUE:"#6A5ACD",SLATEGREY:"#708090",SNOW:"#FFFAFA",SPRINGGREEN:"#00FF7F",STEELBLUE:"#4682B4",TAN:"#D2B48C",TEAL:"#008080",THISTLE:"#D8BFD8",TOMATO:"#FF6347",TURQUOISE:"#40E0D0",VIOLET:"#EE82EE",WHEAT:"#F5DEB3",WHITE:"#FFFFFF",WHITESMOKE:"#F5F5F5",YELLOW:"#FFFF00",YELLOWGREEN:"#9ACD32"}[t.toUpperCase()]||t}const We="http://www.w3.org/2000/svg";function p2(t){if(t.length<2)return 0;let o=0,a=0;for(let r=1;r<t.length;r++){const l=t[r-1],s=t[r];if([null,void 0,0,1/0,-1/0].includes(l))continue;const u=(s-l)/Math.abs(l)*100;o+=u,a++}return a===0?0:o/a}function y2({content:t,fontSize:o,fill:a,maxWords:n,x:r,y:l}){function s(f,c){const y=f.split(" "),C=[];for(let A=0;A<y.length;A+=c)C.push(y.slice(A,A+c).join(" "));return C}let u="";return s(t,n).forEach((f,c)=>{const y=`<tspan x="${r}" y="${l+c*o}" fill="${a}">${f}</tspan>`;u+=y}),u}function so(t){return t.length?t.map(o=>At(o)):[]}function Hv(t,o=null){const a=t.replace(/[\p{P}\p{S}]+/gu," ").trim(),s=(/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Tibetan}\p{Script=Myanmar}\p{Script=Devanagari}]/u.test(t)?[...a]:a.split(/\s+/)).filter(u=>u.trim().length>0).reduce((u,h)=>(u[h]?u[h]+=1:u[h]=1,u),{});return Object.keys(s).map(u=>{let h=u;return typeof o=="function"&&typeof o(u)=="string"&&(h=o(u)),{name:h,value:s[u]}})}function Rv(t){let o=t.reduce((u,h)=>u+(h.stackRatio||0),0),a=t.filter(u=>u.stackRatio===void 0).length,n=1-o,r=a>0?n/a:0,l=t.map(u=>({...u,stackRatio:u.stackRatio!==void 0?u.stackRatio:r})),s=0;return l=l.map(u=>(s+=u.stackRatio,{...u,cumulatedStackRatio:s})),l}function m2(t){function o(f,c,y,C){const A=y-f,B=C-c;return Math.sqrt(A*A+B*B)}function a(f,c,y,C){let B=0,v=f.x,i=f.y;for(let g=1;g<=100;g+=1){const w=g/100,U=1-w,I=U*U,Q=w*w,K=I*U*f.x+3*I*w*c.x+3*U*Q*y.x+Q*w*C.x,E=I*U*f.y+3*I*w*c.y+3*U*Q*y.y+Q*w*C.y;B+=o(v,i,K,E),v=K,i=E}return B}const n=t.match(/[a-zA-Z][^a-zA-Z]*/g);let r=0,l=0,s=0,u=0,h=0;return n.forEach(f=>{const c=f[0],y=f.slice(1).trim().split(/[\s,]+/).map(Number);let C=0;switch(c){case"M":for(r=y[C++],l=y[C++],s=r,u=l;C<y.length;)h+=o(r,l,y[C],y[C+1]),r=y[C++],l=y[C++];break;case"L":for(;C<y.length;)h+=o(r,l,y[C],y[C+1]),r=y[C++],l=y[C++];break;case"H":for(;C<y.length;)h+=o(r,l,y[C],l),r=y[C++];break;case"V":for(;C<y.length;)h+=o(r,l,r,y[C]),l=y[C++];break;case"C":for(;C<y.length;)h+=a({x:r,y:l},{x:y[C],y:y[C+1]},{x:y[C+2],y:y[C+3]},{x:y[C+4],y:y[C+5]}),r=y[C+4],l=y[C+5],C+=6;break;case"Z":h+=o(r,l,s,u),r=s,l=u;break}}),h}function El({relator:t,adjuster:o,source:a,threshold:n=0,fallback:r,max:l=24}){const s=t/(o/a);return s>l?l:s<n?r:s}const b2={default:{},hack:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",zoom:{color:"#5F6A5F",highlightColor:"#66CC66"},highlighter:{color:"#66CC66"},timeTag:{backgroundColor:"#1A1A1A",color:"#66CC66",circleMarker:{color:"#66CC66"}},grid:{stroke:"#5F6A5F",showVerticalLines:!1,labels:{color:"#99AA99",xAxisLabels:{color:"#99AA99"},xAxis:{showBaseline:!1}}},legend:{color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}},bar:{borderRadius:0,border:{stroke:"#66CC66"},labels:{color:"#AACCAA"},serieName:{color:"#99CC99"}},line:{labels:{color:"#AACCAA"}},plot:{labels:{color:"#AACCAA"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",zoom:{color:"#E0CFC3",highlightColor:"#8F837A"},highlighter:{color:"#8F837A"},timeTag:{backgroundColor:"#fbfafa",color:"#8A9892",circleMarker:{color:"#8A9892"}},grid:{stroke:"transparent",labels:{show:!1,color:"#99AA99",xAxisLabels:{show:!1,color:"#99AA99"},zeroLine:{show:!1},yAxis:{showBaseline:!1}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},bar:{borderRadius:4,border:{stroke:"#D7E0D2"},labels:{color:"#8F837A"},serieName:{color:"#858480"}},line:{labels:{color:"#8F837A"}},plot:{labels:{color:"#8F837A"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",zoom:{color:"#92B0AB",highlightColor:"#50606C"},highlighter:{color:"#7DA9B5"},timeTag:{backgroundColor:"#f6f6fb",color:"#50606C",circleMarker:{color:"#50606C"}},grid:{stroke:"#829C98",showVerticalLines:!0,showHorizontalLines:!0,labels:{color:"#50606C",xAxisLabels:{color:"#50606C"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},bar:{borderRadius:2,border:{stroke:"#404C4D"},labels:{color:"#50606C"},serieName:{color:"#61747E"}},line:{labels:{color:"#50606C"}},plot:{labels:{color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},k2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66",borderRadius:0},yAxis:{stroke:"#3A3A3A",labels:{axisNamesColor:"#99AA99",ticks:{color:"#5A5A5A"}}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"},yAxis:{stroke:"#8F837A",labels:{axisNamesColor:"#8F837A",ticks:{color:"#8F837A"}}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"},yAxis:{stroke:"#50606C",labels:{axisNamesColor:"#50606C",ticks:{color:"#50606C"}}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},C2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",zoom:{color:"#5F6A5F",highlightColor:"#66CC66"},selector:{color:"#66CC66"},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66",borderRadius:0},grid:{y:{axisColor:"#5F6A5F",axisLabels:{color:"#99AA99"},verticalLines:{show:!1},timeLabels:{color:"#99AA99"}},x:{axisColor:"#5F6A5F",horizontalLines:{color:"#3A3A3A"}},zeroLine:{color:"#444444"}},dataLabels:{color:"#99AA99"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",zoom:{color:"#E0CFC3",highlightColor:"#8F837A"},selector:{color:"#8F837A"},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"},grid:{y:{axisColor:"#8F837A",axisLabels:{color:"#8F837A"},verticalLines:{show:!1},timeLabels:{color:"#8F837A"}},x:{axisColor:"#8F837A",horizontalLines:{show:!1,alternate:!1}},zeroLine:{color:"#444444"}},dataLabels:{color:"#8F837A"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",zoom:{color:"#92B0AB",highlightColor:"#50606C"},selector:{color:"#7DA9B5"},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"},grid:{y:{axisColor:"#829C98",axisLabels:{color:"#50606C"},verticalLines:{show:!1},timeLabels:{color:"#50606C"}},x:{axisColor:"#829C98"},zeroLine:{color:"#444444"}},dataLabels:{color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},w2={default:{},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{labels:{percentage:{color:"#61747E"},name:{color:"#8A9892"},hollow:{total:{color:"#8A9892",value:{color:"#61747E"}},average:{color:"#8A9892",value:{color:"#61747E"}}}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{labels:{percentage:{color:"#AACCAA"},name:{color:"#99CC99"},hollow:{total:{color:"#99CC99",value:{color:"#AACCAA"}},average:{color:"#99CC99",value:{color:"#AACCAA"}}}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{labels:{percentage:{color:"#A0AC94"},name:{color:"#8A9892"},hollow:{total:{color:"#8A9892",value:{color:"#A0AC94"}},average:{color:"#8A9892",value:{color:"#A0AC94"}}}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}}},B2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{rects:{stroke:"#1A1A1A",selected:{stroke:"#1A1A1A"}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{rects:{stroke:"#fbfafa",strokeWidth:2,borderRadius:12,selected:{stroke:"#fbfafa"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{rects:{stroke:"#1A1A1A",selected:{stroke:"#1A1A1A"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},x2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{rect:{rounded:!1,stroke:"#66CC66",useGradient:!1}},legend:{color:"#99AA99",backgroundColor:"#1A1A1A"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{rect:{rounding:4,stroke:"#fbfafa"}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{rect:{rounded:!1,stroke:"#404C5A",useGradient:!1}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},F2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{outerPolygon:{stroke:"#336633",strokeWidth:0},grid:{stroke:"#334C33",graduations:1},labels:{dataLabels:{color:"#99AA99"}}},legend:{color:"#99AA99",backgroundColor:"#1A1A1A"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#1A1A1A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{outerPolygon:{strokeWidth:0},grid:{show:!1},labels:{dataLabels:{color:"#99AA99"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{outerPolygon:{stroke:"#ABB1BC",strokeWidth:.5},grid:{stroke:"#C3DAC8"},labels:{dataLabels:{color:"#99AA99"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},N2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{labels:{quadrantLabels:{tl:{color:"#99AA99"},tr:{color:"#99AA99"},br:{color:"#99AA99"},bl:{color:"#99AA99"}},plotLabels:{color:"#99CC99"},axisLabels:{color:{positive:"#66CC66",negative:"#66CC66"}}},grid:{stroke:"#334C33",graduations:{stroke:"#333333",roundingForce:0,fill:!1}},plots:{outlineColor:"#1A1A1A"},areas:{opacity:20}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{labels:{quadrantLabels:{tl:{color:"#8A9892"},tr:{color:"#8A9892"},br:{color:"#8A9892"},bl:{color:"#8A9892"}},plotLabels:{color:"#8A9892"},axisLabels:{color:{positive:"#99AA99",negative:"#C09E85"}}},grid:{stroke:"#D2E0DB",graduations:{steps:2,color:"#D2E0DB",stroke:"#D2E0DB",roundingForce:256}},plots:{outlineColor:"#fbfafa"},areas:{opacity:40}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{labels:{quadrantLabels:{tl:{color:"#61747E"},tr:{color:"#61747E"},br:{color:"#61747E"},bl:{color:"#61747E"}},plotLabels:{color:"#50606C"},axisLabels:{color:{positive:"#4A6A75",negative:"#7E8F7E"}}},grid:{stroke:"#9AA7B0",graduations:{color:"#DEE1DE",stroke:"#DEE1DE",roundingForce:0}},plots:{outlineColor:"#fbfafa"},areas:{opacity:40}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},_2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{track:{useGradient:!1},markers:{color:"#99CC99",backgroundColor:"#1A1A1A",stroke:"#66CC66"},pointer:{type:"pointy",stroke:"#1A1A1A",circle:{stroke:"#66CC66",strokeWidth:1,color:"#1A1A1A"}}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{track:{useGradient:!1},markers:{color:"#A0AC94",backgroundColor:"#fbfafa",stroke:"#EBD6CC"},pointer:{type:"rounded",stroke:"#fbfafa",circle:{stroke:"#EBD6CC",strokeWidth:1,color:"#fbfafa"}}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{track:{useGradient:!1},markers:{color:"#4F5B75",backgroundColor:"#4F5B75",stroke:"#9FA9BE"},pointer:{type:"pointy",stroke:"#f6f6fb",circle:{stroke:"#f6f6fb",strokeWidth:1,color:"#4F5B75"}}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}}},S2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{wheel:{ticks:{rounded:!1,inactiveColor:"#333333",activeColor:"#66CC66",gradient:{shiftHueIntensity:15}}},innerCircle:{show:!1}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{wheel:{ticks:{inactiveColor:"#F7EDE2",activeColor:"#B1A7AD",gradient:{shiftHueIntensity:100}}},innerCircle:{show:!1}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{wheel:{ticks:{rounded:!1,inactiveColor:"#BBCBC7",activeColor:"#6C94A0",gradient:{shiftHueIntensity:10}}},innerCircle:{stroke:"#BBCBC7"}},title:{color:"#50606C",subtitle:{color:"#718890"}}}}}},L2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{crescendo:!1,inactiveColor:"#333333",activeColor:"#66CC66",ticks:{gradient:{shiftHueIntensity:15}}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{crescendo:!0,curved:!0,curveAngleX:5,curveAngleY:5,inactiveColor:"#F7EDE2",activeColor:"#B1A7AD",ticks:{gradient:{shiftHueIntensity:15}}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{crescendo:!1,inactiveColor:"#BBCBC7",activeColor:"#6C94A0",ticks:{gradient:{shiftHueIntensity:10}}},title:{color:"#50606C",subtitle:{color:"#718890"}}}}}},E2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{grandTotal:{color:"#99CC99"},roots:{stroke:"#1A1A1A",labels:{name:{color:"#AACCAA"}}},verticalSeparator:{stroke:"#1A1A1A"},branches:{borderRadius:0,labels:{color:"#AACCAA"}},nuts:{selected:{labels:{dataLabels:{color:"#AACCAA"},core:{total:{color:"#99CC99"},value:{color:"#AACCAA"}}}}},legend:{color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{grandTotal:{color:"#A0AC94"},roots:{stroke:"#fbfafa",labels:{name:{color:"#A0AC94"}}},verticalSeparator:{stroke:"#fbfafa"},branches:{borderRadius:12,labels:{color:"#A0AC94"}},nuts:{selected:{labels:{dataLabels:{color:"#A0AC94"},core:{total:{color:"#8A9892"},value:{color:"#A0AC94"}}}}},legend:{color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{grandTotal:{color:"#61747E"},roots:{stroke:"#f6f6fb",labels:{name:{color:"#8A9892"}}},verticalSeparator:{stroke:"#f6f6fb"},branches:{borderRadius:0,labels:{color:"#8A9892"}},nuts:{selected:{labels:{dataLabels:{color:"#8A9892"},core:{total:{color:"#8A9892"},value:{color:"#61747E"}}}}},legend:{color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#61747E"}}}}}}},I2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",useGradient:!1,color:"#99AA99",layout:{gutter:{color:"#2A2A2A"},labels:{color:"#99CC99"}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{useGradient:!1,backgroundColor:"#fbfafa",color:"#8A9892",layout:{gutter:{color:"#F7EDE2"},labels:{color:"#A0AC94"}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{useGradient:!1,backgroundColor:"#f6f6fb",color:"#50606C",layout:{gutter:{color:"#DDDDDB"},labels:{color:"#61747E"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},$2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{bars:{borderRadius:0,useGradient:!1,dataLabels:{color:"#AACCAA"},nameLabels:{color:"#99CC99"},parentLabels:{color:"#99CC99"}},highlighter:{color:"#66CC66"},separators:{show:!1}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{bars:{borderRadius:8,useGradient:!0,dataLabels:{color:"#A0AC94"},nameLabels:{color:"#8A9892"},parentLabels:{color:"#8A9892"}},highlighter:{color:"#8F837A"},separators:{show:!1}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{bars:{borderRadius:0,useGradient:!0,dataLabels:{color:"#61747E"},nameLabels:{color:"#8A9892"},parentLabels:{color:"#8A9892"}},highlighter:{color:"#50606C"},separators:{show:!0,color:"#DEE1DE"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},M2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{cells:{colors:{hot:"#008000",cold:"#333333"},spacing:.5,selected:{color:"#33FF33"}},dataLabels:{xAxis:{color:"#AACCAA"},yAxis:{color:"#AACCAA"}}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"},legend:{backgroundColor:"#2A2F2A",color:"#AACCAA"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{cells:{colors:{hot:"#DFCA99",cold:"#BBC4D3"},spacing:.5,selected:{color:"#4F5B75"}},dataLabels:{xAxis:{color:"#A0AC94"},yAxis:{color:"#A0AC94"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{cells:{colors:{hot:"#6D7D65",cold:"#6C94A5"},spacing:.5,selected:{color:"#404C4D"}},dataLabels:{xAxis:{color:"#61747E"},yAxis:{color:"#61747E"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},U2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{axis:{stroke:"#334C33"},marginalBars:{fill:"#66CC66"},plots:{stroke:"#1A1A1A",selectors:{stroke:"#66CC66",labels:{color:"#AACCAA"},markers:{stroke:"#66CC66",fill:"#1A1A1A"}}},correlation:{label:{color:"#AACCAA"}},dataLabels:{xAxis:{color:"#AACCAA"},yAxis:{color:"#AACCAA"}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{axis:{stroke:"transparent"},marginalBars:{fill:"#B0B9A8"},plots:{stroke:"#fbfafa",selectors:{stroke:"#4F5B75",labels:{color:"#928A98"},markers:{stroke:"#4F5B75",fill:"#fbfafa"}}},correlation:{label:{color:"#928A98"}},dataLabels:{xAxis:{color:"#928A98"},yAxis:{color:"#928A98"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{axis:{stroke:"#92B0B5"},marginalBars:{fill:"#ABB1BC"},plots:{stroke:"#fbfafa",selectors:{stroke:"#4F5B75",labels:{color:"#404C4D"},markers:{stroke:"#4F5B75",fill:"#f6f6fb"}}},correlation:{label:{color:"#61747E"}},dataLabels:{xAxis:{color:"#61747E"},yAxis:{color:"#61747E"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},V2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{selector:{color:"#7DA9B5"},grid:{stroke:"#334C33",xAxis:{dataLabels:{color:"#99CC99"}},yAxis:{dataLabels:{color:"#99CC99"}}},wick:{stroke:"#334C33",extremity:{color:"#334C33"}},candle:{stroke:"#1A1A1A",colors:{bullish:"#00FF00",bearish:"#334C33"},gradient:{show:!1}}},zoom:{color:"#5F6A5F",highlightColor:"#66CC66"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{selector:{color:"#8F837A"},grid:{stroke:"transparent",xAxis:{dataLabels:{color:"#8A9892"}},yAxis:{dataLabels:{color:"#8A9892"}}},wick:{stroke:"#D7E0D2",extremity:{shape:"circle",size:2,color:"#C5B8A7"}},candle:{stroke:"#fbfafa",colors:{bullish:"#A0AC94",bearish:"#C09E85"},gradient:{show:!0}}},zoom:{color:"#E0CFC3",highlightColor:"#8F837A"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{selector:{color:"#7DA9B5"},grid:{stroke:"#334C33",xAxis:{dataLabels:{color:"#61747E"}},yAxis:{dataLabels:{color:"#61747E"}}},wick:{stroke:"#61747E",extremity:{color:"#61747E"}},candle:{stroke:"#1A1A1A",colors:{bullish:"#92B0AB",bearish:"#EFECEC"},gradient:{show:!1}}},zoom:{color:"#92B0AB",highlightColor:"#50606C"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},Q2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{grid:{stroke:"#5F6A5F"},dataLabels:{sideTitles:{color:"#AACCAA"},xAxis:{color:"#5F6A5F"},yAxis:{color:"#5F6A5F"}},bars:{borderRadius:0,gap:1,left:{color:"#668066"},right:{color:"#66CC66"},gradient:{show:!1}}},highlighter:{color:"#66CC66"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{grid:{stroke:"#5F6A5F"},dataLabels:{sideTitles:{color:"#8A9892"},xAxis:{show:!1},yAxis:{show:!1}},bars:{borderRadius:6,gap:1,left:{color:"#DCB482"},right:{color:"#B9B99D"},gradient:{show:!0}}},highlighter:{color:"#8F837A"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{grid:{stroke:"#5F6A5F"},dataLabels:{sideTitles:{color:"#61747E"},xAxis:{color:"#61747E"},yAxis:{color:"#61747E"}},bars:{borderRadius:0,gap:1,left:{color:"#A1B5A3"},right:{color:"#7DA9B5"},gradient:{show:!0,intensity:10}}},highlighter:{color:"#7DA9B5"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},T2={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",labels:{color:"#AACCAA"},circle:{stroke:"#333333"},plot:{color:"#66CC66"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",labels:{color:"#A0AC94"},circle:{stroke:"transparent"},plot:{color:"#C09E85"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",labels:{color:"#61747E"},circle:{stroke:"#D2D7E0"},plot:{color:"#97ACB7"},title:{color:"#50606C",subtitle:{color:"#718890"}}}}},O2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",graduations:{stroke:"#1A1A1A",strokeWidth:6,gradient:{show:!0}},label:{color:"#66CC66"}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",graduations:{show:!1,gradient:{show:!0}},label:{color:"#B9B99D"}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",graduations:{stroke:"#1A1A1A",gradient:{show:!0}},label:{color:"#61747E"}},title:{color:"#50606C",subtitle:{color:"#718890"}}}}},z2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{rings:{stroke:"#1A1A1A",strokeWidth:10}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{rings:{stroke:"#fbfafa",strokeWidth:10}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{rings:{stroke:"#fbfafa",strokeWidth:10}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},D2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",zoom:{color:"#5F6A5F",highlightColor:"#66CC66"},layout:{grid:{show:!1,stroke:"#5F6A5F",yAxis:{dataLabels:{color:"#AACCAA"}},xAxis:{dataLabels:{color:"#AACCAA"}}},line:{stroke:"#5F6A5F"},highlighter:{color:"#66CC66"},dataLabels:{color:"#AACCAA"}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",zoom:{color:"#E0CFC3",highlightColor:"#8F837A"},layout:{grid:{show:!1,yAxis:{dataLabels:{show:!1}},xAxis:{dataLabels:{show:!1}}},line:{stroke:"#DCDFE7"},highlighter:{color:"#8F837A"},dataLabels:{color:"#A0AC94"}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",zoom:{color:"#92B0AB",highlightColor:"#50606C"},layout:{grid:{stroke:"#BBC4D3",yAxis:{dataLabels:{color:"#61747E"}},xAxis:{dataLabels:{color:"#61747E"}}},line:{stroke:"#92B0AB"},highlighter:{color:"#50606C"},dataLabels:{color:"#61747E"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},P2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{grid:{stroke:"#333333"},outerPolygon:{stroke:"#334C33"},dataPolygon:{color:"#33B333",stroke:"#00FF00"},smileys:{colors:{1:"#336633",2:"#338033",3:"#339933",4:"#33E633",5:"#00FF00"}},dataLabel:{color:"#00FF00"}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{grid:{stroke:"#C5B8A7"},outerPolygon:{strokeWidth:0},dataPolygon:{color:"#858480",stroke:"#C09E85"},smileys:{colors:{1:"#C09E85",2:"#DCB482",3:"#DFCA99",4:"#E0CFC3",5:"#B9B99D"}},dataLabel:{color:"#606C5A"}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{grid:{stroke:"#61747E"},outerPolygon:{stroke:"#50606C"},dataPolygon:{color:"#A3C4BE",stroke:"#92B0B5"},smileys:{colors:{1:"#5C6B5B",2:"#4A6A75",3:"#6C94A0",4:"#7DA9B5",5:"#8EBFCA"}},dataLabel:{color:"#50606C"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},H2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",nodes:{stroke:"#1A1A1A",strokeHovered:"#00FF00"},links:{stroke:"#333333"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",nodes:{stroke:"#fbfafa",strokeHovered:"#5E5E5E"},links:{stroke:"#e8ede1"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",nodes:{stroke:"#61747E",strokeHovered:"#404C4D"},links:{stroke:"#BBCBC7"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},R2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{labels:{dataLabels:{color:"#AACCAA"}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{labels:{dataLabels:{color:"#A0AC94"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{labels:{dataLabels:{color:"#61747E"}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},G2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",layout:{arcs:{gradient:{color:"#1A1A1A"}}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",layout:{arcs:{gradient:{color:"#fbfafa"}}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",layout:{arcs:{gradient:{show:!1}}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},W2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",grid:{stroke:"#5F6A5F",horizontalGrid:{show:!1},verticalGrid:{show:!1}},plots:{stroke:"#00FF00"},labels:{bestPlotLabel:{color:"#AACCAA"},axis:{color:"#99CC99"},xAxisLabels:{color:"#99CC99"},yAxisLabels:{color:"#99CC99"}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#2A2F2A",color:"#AACCAA",borderColor:"#66CC66"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",grid:{show:!1,horizontalGrid:{show:!1},verticalGrid:{show:!1}},plots:{stroke:"#fbfafa"},labels:{bestPlotLabel:{color:"#A0AC94"},axis:{color:"#A0AC94"},xAxisLabels:{color:"#A0AC94"},yAxisLabels:{show:!1,color:"#A0AC94"}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},tooltip:{backgroundColor:"#fbfafa",color:"#8A9892"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",grid:{stroke:"#829C98",horizontalGrid:{stroke:"#829C98"},verticalGrid:{stroke:"#829C98"}},plots:{stroke:"#404C5A"},labels:{bestPlotLabel:{color:"#61747E"},axis:{color:"#61747E"},xAxisLabels:{color:"#61747E"},yAxisLabels:{color:"#61747E"}},title:{color:"#50606C",subtitle:{color:"#718890"}},tooltip:{backgroundColor:"#f6f6fb",color:"#50606C"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},K2={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",plots:{startColor:"#008000",endColor:"#00FF00",stroke:"#1A1A1A"},grid:{horizontalGrid:{stroke:"#5F6A5F"},verticalGrid:{stroke:"#5F6A5F"}},labels:{yAxisLabels:{color:"#99CC99"},xAxisLabels:{color:"#99CC99"}},legend:{backgroundColor:"#1A1A1A",color:"#99AA99"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",plots:{startColor:"#DCB482",endColor:"#B9B99D",stroke:"#fbfafa"},grid:{horizontalGrid:{show:!1},verticalGrid:{show:!1}},labels:{yAxisLabels:{color:"#8A9892"},xAxisLabels:{show:!1}},legend:{backgroundColor:"#fbfafa",color:"#99AA99"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",plots:{startColor:"#718885",endColor:"#7DA9B5",stroke:"#404C5A"},grid:{horizontalGrid:{stroke:"#829C98"},verticalGrid:{stroke:"#829C98"}},labels:{yAxisLabels:{color:"#61747E"},xAxisLabels:{color:"#61747E"}},legend:{backgroundColor:"#f6f6fb",color:"#61747E"},title:{color:"#50606C",subtitle:{color:"#718890"}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},j2={default:{},hack:{style:{backgroundColor:"#1A1A1A",line:{color:"#66CC66"},bar:{color:"#66CC66",borderRadius:0},zeroLine:{color:"#5F6A5F"},plot:{stroke:"#1A1A1A"},verticalIndicator:{color:"#66CC66"},dataLabel:{color:"#AACCAA"},title:{color:"#66CC66"},area:{color:"#66CC66"}}},zen:{style:{backgroundColor:"#fbfafa",line:{color:"#B9B99D",smooth:!0},bar:{color:"#B9B99D",borderRadius:3},zeroLine:{strokeWidth:0},plot:{stroke:"#fbfafa"},verticalIndicator:{color:"#B9B99D"},dataLabel:{color:"#A0AC94"},title:{color:"#8A9892"},area:{color:"#B9B99D"}}},concrete:{style:{backgroundColor:"#f6f6fb",line:{color:"#4A6A75"},bar:{color:"#4A6A75",borderRadius:0},zeroLine:{color:"#9FA9BE"},plot:{stroke:"#f6f6fb"},verticalIndicator:{color:"#4A6A75"},dataLabel:{color:"#61747E"},title:{color:"#50606C"},area:{color:"#4A6A75"}}}},X2={default:{},hack:{style:{backgroundColor:"#1A1A1A",gutter:{backgroundColor:"#333333"},bar:{gradient:{underlayerColor:"#1A1A1A"}},labels:{name:{color:"#99CC99"}},title:{color:"#66CC66"}}},zen:{style:{backgroundColor:"#fbfafa",gutter:{backgroundColor:"#f5f0eb"},bar:{gradient:{underlayerColor:"#fbfafa"}},labels:{name:{color:"#8A9892"}}}},concrete:{style:{backgroundColor:"#f6f6fb",bar:{gradient:{underlayerColor:"#f6f6fb"}},labels:{name:{color:"#50606C"}}}}},q2={default:{},hack:{style:{backgroundColor:"#1A1A1A",bar:{gradient:{underlayerColor:"#1A1A1A"}},legend:{name:{color:"#99AA99"},value:{color:"#AACCAA"},percentage:{color:"#99CC99"}},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},zen:{style:{backgroundColor:"#fbfafa",bar:{gradient:{underlayerColor:"#fbfafa"}},legend:{name:{color:"#8A9892"},value:{color:"#A0AC94"},percentage:{color:"#8A9892"}},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},concrete:{style:{backgroundColor:"#f6f6fb",bar:{gradient:{underlayerColor:"#f6f6fb"}},legend:{name:{color:"#50606C"},value:{color:"#8A9892"},percentage:{color:"#61747E"}},title:{color:"#50606C",subtitle:{color:"#718890"}}}}},Y2={default:{},hack:{style:{backgroundColor:"#1A1A1A",bars:{colors:{positive:"#66CC66"}},labels:{value:{color:"#AACCAA"},valueLabel:{color:"#99CC99"},timeLabel:{color:"#99AA99"}},selector:{stroke:"#00FF00"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},zen:{style:{backgroundColor:"#fbfafa",bars:{colors:{positive:"#B9B99D",negative:"#C09E85"}},labels:{value:{color:"#A0AC94"},valueLabel:{color:"#A0AC94"},timeLabel:{color:"#8A9892"}},selector:{stroke:"#BBC4D3"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},concrete:{style:{backgroundColor:"#f6f6fb",bars:{colors:{positive:"#4A6A75"}},labels:{value:{color:"#61747E"},valueLabel:{color:"#8A9892"},timeLabel:{color:"#50606C"}},selector:{stroke:"#404C4D"},title:{color:"#50606C",subtitle:{color:"#718890"}}}}},J2={default:{},hack:{style:{background:"#1A1A1A",title:{color:"#66CC66"},dataLabel:{color:"#AACCAA"},colors:{min:"#334C33",max:"#33CC33"},track:{color:"#33CC33"},gutter:{color:"#333333"}}},zen:{style:{background:"#fbfafa",title:{color:"#8A9892"},dataLabel:{color:"#A0AC94"},colors:{min:"#C09E85",max:"#B9B99D"},track:{color:"#B9B99D"},gutter:{color:"#f5f0eb"}}},concrete:{style:{background:"#f6f6fb",title:{color:"#50606C"},dataLabel:{color:"#61747E"},colors:{min:"#92B0AB",max:"#4A6A75"},track:{color:"#4A6A75"},gutter:{color:"#e1e5e8"}}}},Z2={default:{},hack:{style:{backgroundColor:"#1A1A1A",line:{stroke:"#00FF00",smooth:!1},dataLabel:{color:"#AACCAA"},trendLabel:{color:"#99CC99"},arrow:{colors:{positive:"#66CC66",negative:"#196619"}}}},zen:{style:{backgroundColor:"#fbfafa",line:{stroke:"#B9B99D"},dataLabel:{color:"#8A9892"},trendLabel:{color:"#99CC99"},arrow:{colors:{positive:"#B9B99D",negative:"#C09E85",neutral:"#A5AFC1"}}}},concrete:{style:{backgroundColor:"#f6f6fb",line:{stroke:"#4A6A75"},dataLabel:{color:"#61747E"},trendLabel:{color:"#8A9892"},arrow:{colors:{positive:"#4A6A75",negative:"#C09E85",neutral:"#ABB1BC"}}}}},eC={default:{},hack:{backgroundColor:"#1A1A1A",color:"#99AA99",xyAxisStroke:"#5F6A5F",xyGridStroke:"#333333",xyHighlighterColor:"#66CC66",zoomColor:"#5F6A5F",zoomHighlightColor:"#66CC66",tooltipBorderColor:"#66CC66"},zen:{backgroundColor:"#fbfafa",color:"#8A9892",xyAxisStroke:"transparent",xyGridStroke:"transparent",xyHighlighterColor:"#8F837A",zoomColor:"#E0CFC3",zoomHighlightColor:"#8F837A"},concrete:{backgroundColor:"#f6f6fb",color:"#50606C",xyAxisStroke:"#829C98",xyGridStroke:"#CCD6D3",xyHighlighterColor:"#7DA9B5",zoomColor:"#92B0AB",zoomHighlightColor:"#50606C"}},tC={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",bar:{color:"#66CC66"},box:{stroke:"#333333"},title:{color:"#66CC66",subtitle:{color:"#99AA99"}},legend:{color:"#99AA99"},dataLabel:{color:"#AACCAA"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",bar:{color:"#B9B99D"},box:{stroke:"#DCDFE7"},title:{color:"#8A9892",subtitle:{color:"#99AA99"}},legend:{color:"#99AA99"},dataLabel:{color:"#A0AC94"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",bar:{color:"#4A6A75"},box:{stroke:"#DEE1DE"},title:{color:"#50606C",subtitle:{color:"#718890"}},legend:{color:"#61747E"},dataLabel:{color:"#61747E"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},oC={default:{},hack:{title:{backgroundColor:"#1A1A1A",color:"#66CC66",subtitle:{color:"#99AA99"}},thead:{backgroundColor:"#1A1A1A",color:"#99AA99"},tbody:{backgroundColor:"#1A1A1A",color:"#99AA99"}},zen:{title:{backgroundColor:"#fbfafa",color:"#8A9892",subtitle:{color:"#99AA99"}},thead:{backgroundColor:"#fbfafa",color:"#8A9892"},tbody:{backgroundColor:"#fbfafa",color:"#A0AC94"}},concrete:{title:{backgroundColor:"#f6f6fb",color:"#50606C",subtitle:{color:"#718890"}},thead:{backgroundColor:"#f6f6fb",color:"#50606C"},tbody:{backgroundColor:"#f6f6fb",color:"#50606C"}}},lC={default:{},hack:{style:{backgroundColor:"#1A1A1A",color:"#99AA99",heatmapColors:{min:"#333333",max:"#66CC66"}},table:{head:{backgroundColor:"#1A1A1A",color:"#99AA99"}}},zen:{style:{backgroundColor:"#fbfafa",color:"#8A9892",heatmapColors:{max:"#C09E85",min:"#DCDFE7"}},table:{head:{backgroundColor:"#fbfafa",color:"#8A9892"}}},concrete:{style:{backgroundColor:"#f6f6fb",color:"#50606C",heatmapColors:{max:"#4A6A75",min:"#EFECEC"}},table:{head:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},aC={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",title:{color:"#66CC66",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",title:{color:"#8A9892",subtitle:{color:"#99AA99"}}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",title:{color:"#50606C",subtitle:{color:"#718890"}}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},rC={default:{},hack:{style:{chart:{backgroundColor:"#1A1A1A",color:"#99AA99",title:{color:"#66CC66",subtitle:{color:"#99AA99"}},nodes:{stroke:"#1A1A1A"},links:{stroke:"#1A1A1A"}}},table:{th:{backgroundColor:"#1A1A1A",color:"#99AA99"},td:{backgroundColor:"#1A1A1A",color:"#AACCAA"}}},zen:{style:{chart:{backgroundColor:"#fbfafa",color:"#8A9892",title:{color:"#8A9892",subtitle:{color:"#99AA99"}},nodes:{stroke:"#fbfafa"},links:{stroke:"#fbfafa"}}},table:{th:{backgroundColor:"#fbfafa",color:"#8F837A"},td:{backgroundColor:"#fbfafa",color:"#8F837A"}}},concrete:{style:{chart:{backgroundColor:"#f6f6fb",color:"#50606C",title:{color:"#50606C",subtitle:{color:"#718890"}},nodes:{stroke:"#f6f6fb"},links:{stroke:"#f6f6fb"}}},table:{th:{backgroundColor:"#f6f6fb",color:"#50606C"},td:{backgroundColor:"#f6f6fb",color:"#50606C"}}}},Nt={vue_ui_xy:b2,vue_ui_parallel_coordinate_plot:k2,vue_ui_xy_canvas:C2,vue_ui_donut:w2,vue_ui_treemap:B2,vue_ui_waffle:x2,vue_ui_radar:F2,vue_ui_quadrant:N2,vue_ui_gauge:_2,vue_ui_wheel:S2,vue_ui_tiremarks:L2,vue_ui_chestnut:E2,vue_ui_onion:I2,vue_ui_vertical_bar:$2,vue_ui_heatmap:M2,vue_ui_scatter:U2,vue_ui_candlestick:V2,vue_ui_age_pyramid:Q2,vue_ui_relation_circle:T2,vue_ui_thermometer:O2,vue_ui_rings:z2,vue_ui_donut_evolution:D2,vue_ui_mood_radar:P2,vue_ui_molecule:H2,vue_ui_nested_donuts:R2,vue_ui_galaxy:G2,vue_ui_strip_plot:W2,vue_ui_dumbbell:K2,vue_ui_sparkline:j2,vue_ui_sparkbar:X2,vue_ui_sparkstackbar:q2,vue_ui_sparkhistogram:Y2,vue_ui_sparkgauge:J2,vue_ui_spark_trend:Z2,vue_ui_quick_chart:eC,vue_ui_3d_bar:tC,vue_ui_table_sparkline:oC,vue_ui_table_heatmap:lC,vue_ui_word_cloud:aC,vue_ui_flow:rC},nC=["cx","cy","r","fill","stroke","stroke-width"],sC=["d","fill","stroke","stroke-width"],iC=["points","fill","stroke","stroke-width"],ra={__name:"Shape",props:{color:String,isSelected:{type:Boolean,default:!1},limit:{type:Number,default:3},plot:Object,radius:Number,shape:String,stroke:String,strokeWidth:Number,zoom:{type:Number,default:1.3}},emits:["mouseover","mouseout","click"],setup(t,{emit:o}){const a=t;function n(u){return{circle:{points:1,rotation:0},line:{points:2,rotation:0},triangle:{points:3,rotation:.52},square:{points:4,rotation:.783},diamond:{points:4,rotation:0},pentagon:{points:5,rotation:.95},hexagon:{points:6,rotation:0}}[u]}const r=e.computed(()=>n(a.shape)),l=e.computed(()=>a.shape!=="star"?null:Vr({plot:{x:a.plot.x,y:a.plot.y},radius:a.radius*(a.isSelected?a.zoom:1)})),s=e.computed(()=>Qo({plot:{x:a.plot.x,y:a.plot.y},radius:a.radius*(a.isSelected?a.zoom:1),sides:r.value.points,rotation:r.value.rotation}).path);return(u,h)=>(e.openBlock(),e.createElementBlock("g",null,[r.value&&r.value.points===1?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:t.plot.x,cy:t.plot.y,r:a.radius*(a.isSelected?a.zoom:1),fill:t.color,stroke:t.stroke,"stroke-width":t.strokeWidth,onMouseover:h[0]||(h[0]=f=>o("mouseover")),onMouseout:h[1]||(h[1]=f=>o("mouseout")),onClick:h[2]||(h[2]=f=>o("click"))},null,40,nC)):e.createCommentVNode("",!0),r.value&&r.value.points>=t.limit?(e.openBlock(),e.createElementBlock("path",{key:1,d:s.value,fill:t.color,stroke:t.stroke,"stroke-width":t.strokeWidth,onMouseover:h[3]||(h[3]=f=>o("mouseover")),onMouseout:h[4]||(h[4]=f=>o("mouseout")),onClick:h[5]||(h[5]=f=>o("click"))},null,40,sC)):e.createCommentVNode("",!0),l.value?(e.openBlock(),e.createElementBlock("polygon",{key:2,points:l.value,fill:t.color,stroke:t.stroke,"stroke-width":t.strokeWidth,onMouseover:h[6]||(h[6]=f=>o("mouseover")),onMouseout:h[7]||(h[7]=f=>o("mouseout")),onClick:h[8]||(h[8]=f=>o("click"))},null,40,iC)):e.createCommentVNode("",!0)]))}},vt=(t,o)=>{const a=t.__vccOpts||t;for(const[n,r]of o)a[n]=r;return a},uC=["xmlns","height","width","innerHTML"],AC={__name:"BaseIcon",props:{name:String,size:{type:Number,default:24},stroke:{type:String,default:"#CCCCCC"},strokeWidth:{type:Number,default:1.5},isSpin:{type:Boolean,default:!1}},setup(t){const o=t,a=e.computed(()=>({annotator:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M3 17 4 12C5 12 7 13 8 15L3 17M4 12 11 2C12 2 14 3 15 5L8 15M3 19C5 19 5 19 8 19 11 19 11 18 13 18 15 18 15 19 19 19M12 1C13 1 15 2 16 4" />`,chart3dBar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" d="M10 1 6 3 6 17 10 19 14 17 14 3 10 1M6 3 10 5 14 3M10 5 10 19" stroke-linecap="round" stroke-linejoin="round"/><path fill="${o.stroke}" stroke="none" style="opacity:0.3" d="M 6 10 L 10 12 L 14 10 L 14 17 L 10 19 L 6 17 L 6 10"/>`,chartAgePyramid:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 1 19 L 9 19 M 11 19 L 19 19 M 2 17 L 9 17 M 11 17 L 18 17 M 2 15 L 9 15 M 11 15 L 18 15 M 3 13 L 9 13 M 11 13 L 17 13 M 3 11 L 9 11 M 11 11 L 17 11 M 4 9 L 9 9 M 11 9 L 16 9 M 4 7 L 9 7 M 11 7 L 16 7 M 5 5 L 9 5 M 11 5 L 15 5 M 6 3 L 9 3 M 11 3 L 14 3 M 7 1 L 9 1 M 11 1 L 13 1" />`,chartBar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 12 2 18C2 19 2 19 3 19L5 19C6 19 6 19 6 18L6 12C6 11 6 11 5 11L3 11C2 11 2 11 2 12M8 7 8 18C8 19 8 19 9 19L11 19C12 19 12 19 12 18L12 7C12 6 12 6 11 6L9 6C8 6 8 6 8 7M14 2 14 18C14 19 14 19 15 19L17 19C18 19 18 19 18 18L18 2C18 1 18 1 17 1L15 1C14 1 14 1 14 2"/>`,chartCandlestick:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 9 2 11C2 12 3 12 3 12L5 12C6 12 6 11 6 11L6 9C6 8 5 8 5 8L3 8C2 8 2 9 2 9M8 8 8 12C8 12 8 13 9 13L11 13C12 13 12 12 12 12L12 8C12 7 11 7 11 7L9 7C8 7 8 8 8 8M14 9 14 14C14 15 15 15 15 15L17 15C18 15 18 14 18 14L18 9C18 9 18 8 17 8L15 8C14 8 14 9 14 9M4 8 4 5M3 5 5 5M10 13 10 16M9 16 11 16M16 8 16 2M15 2 17 2M10 7 10 4M9 4 11 4M4 12 4 18M3 18 5 18M16 15 16 18M15 18 17 18" />`,chartChestnut:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M4 3A1 1 0 004 9 1 1 0 004 3M4 12A1 1 0 004 17 1 1 0 004 12M9 4 19 4M9 7 17 7M9 10 15 10M9 13 13 13M9 16 11 16" />`,chartDonut:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M6 10A1 1 0 0014 10 1 1 0 006 10M1 10 6 10M10 14 10 19M14 10" /><path stroke="none" stroke-width="none" fill="${o.stroke}" stroke-linecap="round" d="M1 10 6 10C6 12 8 14 10 14L10 19C6 19 1 16 1 10" style="opacity:0.3" />`,chartNestedDonuts:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 4 10 A 1 1 0 0 0 16 10 A 1 1 0 0 0 4 10 M 1 10 L 4 10"/><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth/2}" stroke-linecap="round" d="M 10 16 L 10 19 M 7 10 A 1 1 0 0 0 13 10 A 1 1 0 0 0 7 10 "/><path style="opacity:0.3" fill="${o.stroke}" stroke-width="none" stroke-linecap="round" d="M 7 10 L 10 10 L 10 13 C 8 13 7 11 7 10"/><path style="opacity:0.3" fill="${o.stroke}" stroke-width="none" stroke-linecap="round" d="M 1 10 L 4 10 C 4 14 7 16 10 16 L 10 19 C 5 19 1 15 1 10"/>`,chartDonutEvolution:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 1 1 18C1 19 1 19 2 19L19 19M3 8A1 1 0 007 8 1 1 0 003 8M8 14A1 1 0 0012 14 1 1 0 008 14M14 4A1 1 0 0018 4 1 1 0 0014 4M7 10 9 12M11 12 15 6" />`,chartGauge:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 19 13 A 1 1 0 0 0 1 13" style="opacity:0.3" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 9 15 A 1 1 0 0 0 11 15 A 1 1 0 0 0 9 15 M 10 14 L 10 8 M 10 4 C 6 4 1 7 1 13" />`,chartHeatmap:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 3 2 17C2 18 2 18 3 18L17 18C18 18 18 18 18 17L18 3C18 2 18 2 17 2L3 2C2 2 2 2 2 3M10 2 10 18M2 10 18 10M6 2 6 18M14 2 14 18M2 6 18 6M2 14 18 14"/><rect fill="${o.stroke}" stroke="none" x="2" y="6" height="4" width="4" style="opacity:0.5" /><rect fill="${o.stroke}" stroke="none" x="6" y="10" height="4" width="4" style="opacity:0.5" /><rect fill="${o.stroke}" stroke="none" x="6" y="14" height="4" width="4" style="opacity:0.5" /><rect fill="${o.stroke}" stroke="none" x="14" y="2" height="4" width="4" style="opacity:0.5" />`,chartLine:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 1 1 18C1 19 1 19 2 19L19 19M3 17Q3 12 5 7 6 5 8 10 10 15 11 6 12 3 14 8 16 11 19 1" />`,chartMoodRadar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M10 4 4 9 6 16 14 16 16 9 10 4M9 2A1 1 0 0011 2 1 1 0 009 2M1 8A1 1 0 003 8 1 1 0 001 8M3 18A1 1 0 005 17 1 1 0 003 18M15 18A1 1 0 0017 17 1 1 0 0015 18M17 8A1 1 0 0019 8 1 1 0 0017 8" /><path stroke="none" stroke-width="none" fill="${o.stroke}" stroke-linecap="round" stroke-linejoin="round" d="M10 7 13 10 13 14 8 13 7 9 10 7" style="opacity:0.3" />`,chartOnion:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M10 1C15 1 19 5 19 10 19 15 15 19 10 19 6 19 1 15 1 10M10 4C13 4 16 6 16 10 16 14 13 16 10 16 7 16 4 14 4 10M10 7C11 7 13 8 13 10 13 12 11 13 10 13 9 13 7 12 7 10" style="opacity:0.3" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M10 1C15 1 19 5 19 10 19 15 15 19 10 19M10 4C13 4 16 6 16 10 16 14 13 16 10 16 7 16 4 14 4 10M10 7C11 7 13 8 13 10" />`,chartQuadrant:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M10 1 10 19M1 10 19 10" /><circle stroke="none" fill="${o.stroke}" cx="3" cy="14" r="1"/><circle stroke="none" fill="${o.stroke}" cx="5" cy="6" r="1"/><circle stroke="none" fill="${o.stroke}" cx="14" cy="17" r="1"/><circle stroke="none" fill="${o.stroke}" cx="17" cy="14" r="1"/><circle stroke="none" fill="${o.stroke}" cx="15" cy="4" r="1"/>`,chartRadar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 6 2 14 10 19 18 14 18 6 10 1 2 6" /><path style="opacity:0.3" fill="${o.stroke}" stroke="none" stroke-width="0" stroke-linecap="round" d="M4 7 10 5 18 6 12 11 10 16 6 11 4 7" />`,chartRelationCircle:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M1 10C7 11 9 13 10 19M10 19C10 11 8 7 6 2M10 19C10 11 12 7 14 2M10 19C11 13 12 11 19 10" />`,chartRings:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 14A1 1 0 0015 14 1 1 0 005 14M8 17A1 1 0 0012 17 1 1 0 008 17" />`,chartScatter:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 1 1 18C1 19 1 19 2 19L19 19" /><circle stroke="none" fill="${o.stroke}" cx="5" cy="15" r="1"/><circle stroke="none" fill="${o.stroke}" cx="6" cy="12" r="1" /><circle stroke="none" fill="${o.stroke}" cx="8" cy="15" r="1"/><circle stroke="none" fill="${o.stroke}" cx="10" cy="8" r="1"/><circle stroke="none" fill="${o.stroke}" cx="12" cy="10" r="1"/><circle stroke="none" fill="${o.stroke}" cx="14" cy="6" r="1"/><circle stroke="none" fill="${o.stroke}" cx="16" cy="4" r="1"/><circle stroke="none" fill="${o.stroke}" cx="11" cy="14" r="1"/>`,chartSparkHistogram:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 9 2 11C2 12 3 12 3 12L5 12C6 12 6 11 6 11L6 9C6 8 5 8 5 8L3 8C2 8 2 9 2 9M8 8 8 12C8 12 8 13 9 13L11 13C12 13 12 12 12 12L12 8C12 7 11 7 11 7L9 7C8 7 8 8 8 8M14 9 14 11C14 12 15 12 15 12L17 12C18 12 18 11 18 11L18 9C18 9 18 8 17 8L15 8C14 8 14 9 14 9" />`,chartSparkStackbar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 10 L 18 10" style="opacity:0.3" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 10 L 14 10" style="opacity:0.5" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 10 L 8 10" />`,chartTable:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 3 2 17C2 18 2 18 3 18L17 18C18 18 18 18 18 17L18 3C18 2 18 2 17 2L3 2C2 2 2 2 2 3M10 6 10 18M2 10 18 10M6 2M14 2M2 6 18 6M2 14 18 14M6 8 8 8M6 12 8 12M6 16 8 16M14 8 16 8M14 12 16 12M14 16 16 16" />`,chartThermometer:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 13 4 A 1 1 0 0 0 7 4 L 7 16 A 1 1 0 0 0 13 16 L 13 4 M 7 15 L 8 15 M 7 12 L 8 12 M 7 9 L 8 9 M 7 6 L 8 6 M 12 15 L 13 15 M 12 12 L 13 12 M 12 9 L 13 9 M 12 6 L 13 6 " /><path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" style="opacity: 0.6" d="M 10 17 L 10 12 " /><path stroke-linecap="round" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" opacity="M 10 17 L 10 9" /><path stroke-linecap="round" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" opacity="0.3" d="M 10 17 L 10 6" /><path stroke-linecap="round" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" style="opacity: 0.1" d="M 10 17 L 10 3" />`,chartTiremarks:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 8 1 12M3 8 3 12M5 8 5 12M7 8 7 12M9 8 9 12M11 8 11 12M13 8 13 12" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 8 1 12M3 8 3 12M5 8 5 12M7 8 7 12M9 8 9 12M11 8 11 12M13 8 13 12M15 8 15 12M17 8 17 12M19 8 19 12" style="opacity:0.4" />`,chartVerticalBar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 3 1 5C1 6 1 6 2 6L9 6C10 6 10 6 10 5L10 3C10 2 10 2 9 2L2 2C1 2 1 2 1 3M1 9 1 11C1 12 1 12 2 12L13 12C14 12 14 12 14 11L14 9C14 8 14 8 13 8L2 8C1 8 1 8 1 9M1 15 1 17C1 18 1 18 2 18L17 18C18 18 18 18 18 17L18 15C18 14 18 14 17 14L2 14C1 14 1 14 1 15" />`,chartWaffle:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 2 1 4C1 5 1 5 2 5L4 5C5 5 5 5 5 4L5 2C5 1 5 1 4 1L2 1C1 1 1 1 1 2M18 1 16 1C15 1 15 1 15 2L15 4C15 5 15 5 16 5L18 5C19 5 19 5 19 4L19 2C19 1 19 1 18 1M8 2 8 4C8 5 8 5 9 5L11 5C12 5 12 5 12 4L12 2C12 1 12 1 11 1L9 1C8 1 8 1 8 2M2 19 4 19C5 19 5 19 5 18L5 16C5 15 5 15 4 15L2 15C1 15 1 15 1 16L1 18C1 19 1 19 2 19M1 9 1 11C1 12 1 12 2 12L4 12C5 12 5 12 5 11L5 9C5 8 5 8 4 8L2 8C1 8 1 8 1 9M15 16 15 18C15 19 15 19 16 19L18 19C19 19 19 19 19 18L19 16C19 15 19 15 18 15L16 15C15 15 15 15 15 16M8 16 8 18C8 19 8 19 9 19L11 19C12 19 12 19 12 18L12 16C12 15 12 15 11 15L9 15C8 15 8 15 8 16M8 9 8 11C8 12 8 12 9 12L11 12C12 12 12 12 12 11L12 9C12 8 12 8 11 8L9 8C8 8 8 8 8 9M15 9 15 11C15 12 15 12 16 12L18 12C19 12 19 12 19 11L19 9C19 8 19 8 18 8L16 8C15 8 15 8 15 9" />`,chartWheel:`<circle cx="10" cy="10" r="7" fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-dasharray="16" stroke-linecap="round"/><circle cx="10" cy="10" r="9" fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-dasharray="2" stroke-linecap="round" style="opacity:0.7"/><circle cx="10" cy="10" r="1" fill="${o.stroke}" />`,close:`<path fill="none" stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M4 4 16 16M4 16 16 4" />`,dashboard:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 5A1 1 0 009 5 1 1 0 001 5M5 1 5 5 9 5M1 15 6 15M1 18 8 18M13 9C13 10 13 10 14 10 15 10 15 10 15 9L15 6C15 5 15 5 14 5 13 5 13 5 13 6 13 6 13 8 13 9M17 9C17 10 17 10 18 10 19 10 19 10 19 9L19 4C19 3 19 3 18 3 17 3 17 3 17 4L17 9M9 12 12 18 14 15 17 16 19 13M1 12 4 12" />`,digit0:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M7 10 8 9 12 9 13 10 12 11 8 11 7 10"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 3 7 4 7 8 6 9 5 8 5 4 6 3M6 11 7 12 7 16 6 17 5 16 5 12 6 11M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11" />`,digit1:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11" />`,digit2:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M14 11 15 12 15 16 14 17 13 16 13 12 14 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 3 13 4 13 8 14 9 15 8 15 4 14 3M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit3:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M6 11 7 12 7 16 6 17 5 16 5 12 6 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11M7 18 8 17 12 17 13 18 12 19 8 19 7 18M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit4:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit5:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M14 3 13 4 13 8 14 9 15 8 15 4 14 3M6 11 7 12 7 16 6 17 5 16 5 12 6 11"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 11 15 12 15 16 14 17 13 16 13 12 14 11M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit6:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M 14 3 L 13 4 L 13 8 L 14 9 L 15 8 L 15 4 L 14 3 "/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 11 15 12 15 16 14 17 13 16 13 12 14 11M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,digit7:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 11 7 12 7 16 6 17 5 16 5 12 6 11M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11" />`,digit8:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M7 10 8 9 12 9 13 10 12 11 8 11 7 10M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 3 7 4 7 8 6 9 5 8 5 4 6 3M6 11 7 12 7 16 6 17 5 16 5 12 6 11M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11" />`,digit9:`<path style="opacity: 0.3" fill="${o.stroke}" stroke="none" stroke-width="none" d="M6 11 7 12 7 16 6 17 5 16 5 12 6 11"/><path fill="${o.stroke}" stroke="none" stroke-width="none" d="M8 1 7 2 8 3 12 3 13 2 12 1 8 1M14 3 13 4 13 8 14 9 15 8 15 4 14 3M14 11 15 12 15 16 14 17 13 16 13 12 14 11M7 18 8 17 12 17 13 18 12 19 8 19 7 18M6 3 7 4 7 8 6 9 5 8 5 4 6 3M7 10 8 9 12 9 13 10 12 11 8 11 7 10" />`,excel:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linejoin="round" d="M4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L16 19C18 19 19 18 19 16L19 6C15 6 14 5 14 1ZM14 8C15 8 16 9 16 10L16 14C16 15 15 16 14 16L6 16C5 16 4 15 4 14L4 10C4 9 5 8 6 8Z"/><line stroke="${o.stroke}" stroke-width="${o.strokeWidth}" x1="9" x2="9" y1="8" y2="16" /><line stroke="${o.stroke}" stroke-width="${o.strokeWidth}" x1="4" x2="16" y1="12" y2="12" />`,image:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L16 19C18 19 19 18 19 16L19 6C15 6 14 5 14 1ZM1 16C3.3333 13.6667 3 10 8 12M7 14C8 13 9 5 19 11"/><circle r="1" cx="6" cy="5" stroke="none" fill="${o.stroke}"/>`,labelClose:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 8C1 9 1 11 2 12L5 16C6 17 6 17 7 17L17 17C19 17 19 15 19 15L19 5C19 5 19 3 17 3L12 3M7 10 15 10M7 13 16 13M9 6 4 1M4 6 9 1" />`,labelOpen:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M2 8C1 9 1 11 2 12L5 16C6 17 6 17 7 17L17 17C19 17 19 16 19 15L19 5C19 5 19 3 17 3L7 3C6 3 6 3 5 4L2 8M7 7 13 7M7 10 15 10M7 13 16 13" />`,menu:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M2 10 18 10M2 5 18 5M2 15 18 15" />`,moodFlat:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 13C8 11 12 11 15 13M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,moodHappy:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 11C6 18 14 18 15 11L5 11M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,moodNeutral:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 12C9 12 11 12 15 12M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,moodSad:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 14C6 9 14 9 15 14L5 14M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,pdf:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" stroke-linejoin="round" d="M4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L16 19C18 19 19 18 19 16L19 6C15 6 14 5 14 1ZM4 16 4 9 5 9Q7 9 7 11 7 13 5 13L4 13M9 16 9 9 9 9Q12 9 12 12L12 13Q12 16 9 16L9 16M14 16 14 9 16 9M14 12 16 12"/>`,csv:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 4 1 C 2 1 1 2 1 4 L 1 16 C 1 18 2 19 4 19 L 16 19 C 18 19 19 18 19 16 L 19 6 C 15 6 14 5 14 1 Z M 7 11 C 7 10 7 9 6 9 L 5 9 C 4 9 4 10 4 11 L 4 14 C 4 15 4 16 5 16 L 6 16 C 7 16 7 15 7 14 M 12 11 C 12 10 12 9 11 9 L 10 9 C 9 9 9 10 9 11 C 9 13 12 12 12 14 C 12 15 12 16 11 16 L 10 16 C 9 16 9 15 9 14 M 14 9 L 15 16 L 16 9" />`,screenshot:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 4 1 3C1 2 2 1 3 1L4 1M16 1 17 1C18 1 19 2 19 3L19 4M1 16 1 17C1 18 2 19 3 19L4 19M16 19 17 19C18 19 19 18 19 17L19 16M8 10A1 1 0 0012 10 1 1 0 008 10M5 13 5 8C5 7 5 7 6 7L14 7C15 7 15 7 15 8L15 13C15 14 15 14 14 14L6 14C5 14 5 14 5 13M7 6 13 6" />`,skeleton:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M3 14A1 1 0 003 18L7 18A1 1 0 007 14L3 14M3 8A1 1 0 003 12L7 12A1 1 0 007 8L3 8M3 2A1 1 0 003 6L4 6A1 1 0 004 2L3 2M12 10 12 16C12 17 13 18 14 18L17 18C18 18 19 17 19 16L19 10C19 9 18 8 17 8L14 8C13 8 12 9 12 10" stroke-dasharray="2" />`,smiley:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 001 10M5 12C8 14 12 14 15 12M5 7A1 1 0 008 7 1 1 0 005 7M12 7A1 1 0 0015 7 1 1 0 0012 7" />`,sort:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M1 15 5 18 9 15M5 5 5 18M15 15 15 2M11 5 15 2 19 5" />`,sortReverse:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M 1 8 L 5 5 L 9 8 M 5 5 L 5 18 M 15 15 L 15 2 M 11 12 L 15 15 L 19 12" />`,spin:`<path stroke-width="${o.strokeWidth}" fill="none" stroke="${o.stroke}" stroke-linecap="round" d="M1 10A1 1 0 0019 10 1 1 0 004 10 1 1 0 0016 10 1 1 0 007 10 1 1 0 0013 10 1 1 0 0010 10M1 10Q1 5 5 2" />`,star:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M3 19 10 15 17 19 14 12 19 8 13 8 10 2 7 8 1 8 6 12 3 19" />`,starFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M3 19 10 15 17 19 14 12 19 8 13 8 10 2 7 8 1 8 6 12 3 19" />`,tableClose:`<path stroke-width="${o.strokeWidth}" stroke-linecap="round" fill="none" stroke="${o.stroke}" d="M4 1 4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L7 19M4 1 16 1C18 1 19 2 19 4L19 14M18 19 14 16 10 19"/><line stroke-width="${o.strokeWidth}" stroke="${o.stroke}" x1="8" y1="1" x2="8" y2="19" stroke-linecap="round" /><line stroke-width="${o.strokeWidth}" stroke="${o.stroke}" x1="1" y1="8" x2="19" y2="8" />`,tableOpen:`<path stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke="${o.stroke}" d="M4 1 4 1C2 1 1 2 1 4L1 16C1 18 2 19 4 19L7 19M4 1 16 1C18 1 19 2 19 4L19 14M18 16 14 19 10 16"/><line stroke-width="${o.strokeWidth}" stroke="${o.stroke}" x1="8" y1="1" x2="8" y2="19" stroke-linecap="round" /><line stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke="${o.stroke}" x1="1" y1="8" x2="19" y2="8" />`,chartCluster:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" d="M7 10A1 1 0 0013 10 1 1 0 007 10M10 7 10 4A1 1 0 0010 1 1 1 0 0010 4M7 10 4 10A1 1 0 001 10 1 1 0 004 10M10 13 10 16A1 1 0 0010 19 1 1 0 0010 16M13 10 16 10A1 1 0 0019 10 1 1 0 0016 10" />`,arrowRight:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M18 10 3 1C6 7 6 13 3 19L18 10" stroke-linejoin="round" />`,arrowTop:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M10 2 1 17C7 14 13 14 19 17L10 2" stroke-linejoin="round" />`,arrowLeft:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M2 10 17 1C14 7 14 13 17 19L2 10" stroke-linejoin="round" />`,arrowBottom:`<path fill="${o.stroke}" stroke="none" stroke-width="none" d="M10 18 1 3C7 6 13 6 19 3L10 18" stroke-linejoin="round" />`,fullscreen:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M1 6 1 4C1 2 2 1 4 1L6 1M14 1 16 1C18 1 19 2 19 4L19 6M19 14 19 16C19 18 18 19 16 19L14 19M6 19 4 19C2 19 1 18 1 16L1 14M9 9 5 5M11 9 15 5M11 11 15 15M9 11 5 15M5 12 5 15 8 15M12 15 15 15 15 12M15 8 15 5 12 5M8 5 5 5 5 8" />`,exitFullscreen:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M1 6 1 4C1 2 2 1 4 1L6 1M14 1 16 1C18 1 19 2 19 4L19 6M19 14 19 16C19 18 18 19 16 19L14 19M6 19 4 19C2 19 1 18 1 16L1 14M8 8 4 4M12 8 16 4M12 12 16 16M8 12 4 16M5 12 8 12 8 15M12 15 12 12 15 12M15 8 12 8 12 5M8 5 8 8 5 8" />`,moodEmbarrassed:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 13 C 8 11 11 16 15 13 M 5 7 A 1 1 0 0 0 8 7 A 1 1 0 0 0 5 7 M 12 7 A 1 1 0 0 0 15 7 A 1 1 0 0 0 12 7" />`,moodSurprised:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 7 A 1 1 0 0 0 8 7 A 1 1 0 0 0 5 7 M 12 7 A 1 1 0 0 0 15 7 A 1 1 0 0 0 12 7 M 10 12 A 1 1 0 0 0 10 15 A 1 1 0 0 0 10 12" />`,moodWink:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 11 C 7 15 11 15 15 13 M 12 7 A 1 1 0 0 0 15 7 A 1 1 0 0 0 12 7 M 5 7 L 8 7" />`,moodLaughing:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 10 C 5 17 15 17 15 11 L 5 10 M 12 7 A 1 1 0 0 0 12 7 C 13 6 14 7 15 7 M 5 6 C 6 6 7 5 8 7" />`,circleCancel:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 6 6 L 14 14 M 14 6 L 6 14" />`,circleCheck:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 5 10 L 9 14 M 15 7 L 9 14" />`,circleExclamation:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 10 5 L 10 10 M 10 13 A 1 1 0 0 0 10 15 A 1 1 0 0 0 10 13" />`,circleQuestion:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 10 A 1 1 0 0 0 19 10 A 1 1 0 0 0 1 10 M 10 5 C 14 5 14 10 10 10 M 10 13 A 1 1 0 0 0 10 15 A 1 1 0 0 0 10 13 M 7 7 C 7 6 8 5 10 5" />`,refresh:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 2 10 A 1 1 0 0 0 17 10 C 17 5 12 2 7 4 L 10 1 M 7 4 L 10 7" />`,chartSparkbar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 5 L 18 5 M 2 10 L 18 10 M 2 15 L 18 15" style="opacity:0.3" /><path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 5 L 15 5 M 2 10 L 11 10 M 2 15 L 7 15" />`,chartSparkline:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 1 10 C 1 8 2 8 2 8 C 4 8 4 12 6 13 C 8 12 6 7 8 6 C 10 6 10 11 11 11 C 13 12 12 6 14 4" />`,legend:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 3 2 L 5 2 C 5 2 6 2 6 3 L 6 5 C 6 6 5 6 5 6 L 3 6 C 3 6 2 6 2 5 L 2 3 C 2 2 3 2 3 2 M 8 4 C 8 3 9 3 9 3 L 17 3 C 17 3 18 3 18 4 C 18 5 17 5 17 5 L 9 5 C 9 5 8 5 8 4 M 3 8 L 5 8 C 5 8 6 8 6 9 L 6 11 C 6 12 5 12 5 12 L 3 12 C 3 12 2 12 2 11 L 2 9 C 2 8 3 8 3 8 M 8 10 C 8 9 9 9 9 9 L 17 9 C 17 9 18 9 18 10 C 18 11 17 11 17 11 L 9 11 C 9 11 8 11 8 10 M 3 14 L 5 14 C 5 14 6 14 6 15 L 6 17 C 6 18 5 18 5 18 L 3 18 C 3 18 2 18 2 17 L 2 15 C 2 14 3 14 3 14 M 8 16 C 8 15 9 15 9 15 L 17 15 C 17 15 18 15 18 16 C 18 17 17 17 17 17 L 9 17 C 9 17 8 17 8 16" />`,chartGalaxy:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 7 11 A 1 1 0 0 0 11 11 M 14 11 A 1 1 0 0 0 7 11 M 3 11 A 1 1 0 0 0 14 11 M 18 11 A 1 1 0 0 0 3 11 M 16.4 16 C 17 15 18 13 18 11" />`,zoomPlus:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 9 1 A 1 1 0 0 0 9 17 A 1 1 0 0 0 9 1 M 14.65 14.65 L 18 18 M 9 5 L 9 13 M 5 9 L 13 9"/>`,zoomMinus:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 9 1 A 1 1 0 0 0 9 17 A 1 1 0 0 0 9 1 M 14.65 14.65 L 18 18 M 5 9 L 13 9"/>`,chartTreemap:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 1 L 19 1 L 19 19 L 1 19 Z M 10 1 L 10 19 M 1 13 L 10 13 M 10 10 L 19 10 M 15 10 L 15 19" />`,kpi:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 2 5 L 2 15 M 6 5 L 2 10 L 6 15 M 8 15 L 8 5 L 10 5 M 10 10 A 1 1 0 0 0 10 5 M 10 10 L 8 10 M 18 5 L 14 5 M 14 15 L 18 15 M 16 5 L 16 15 M 1 3 L 1 2 C 1 1 2 1 2 1 L 18 1 C 18 1 19 1 19 2 L 19 3 M 1 17 L 1 18 C 1 19 2 19 2 19 L 18 19 C 19 19 19 18 19 18 L 19 17"/>`,kpiBox:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 3 C 1 2 2 1 3 1 L 17 1 C 18 1 19 2 19 3 L 19 17 C 19 18 18 19 17 19 L 3 19 C 2 19 1 18 1 17 L 1 3 M 4 13 L 9 13 M 16 13 L 11 13 M 4 16 L 16 16 M 4 4 L 4 10 M 7 4 L 4 7 L 7 10 M 9 10 L 9 4 L 11 4 M 11 7 A 1 1 0 0 0 11 4 M 11 7 L 9 7 M 16 10 L 14 10 M 14 4 L 16 4 M 15 4 L 15 10"/>`,tooltip:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 8 15 L 10 19 L 12 15 L 18 15 C 18 15 19 15 19 14 L 19 2 C 19 1 18 1 18 1 L 2 1 C 2 1 1 1 1 2 L 1 14 C 1 15 2 15 2 15 L 8 15 M 4 6 L 11 6 M 4 10 L 7 10 M 9 10 L 16 10"/>`,tooltipDisabled:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 8 15 L 10 19 L 12 15 L 18 15 C 18 15 19 15 19 14 L 19 2 C 19 1 18 1 18 1 L 2 1 C 2 1 1 1 1 2 L 1 14 C 1 15 2 15 2 15 L 8 15 M 7 5 L 13 11 M 7 11 L 13 5"/>`,vueDataUi:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 1 2 L 10.5 18 L 14.5 9 L 16 12 L 19 12 L 14.5 2 L 10.5 12 L 4.5 2 Z"/>`,ratio:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 2 10 L 18 10 M 8 1 L 12 7 M 12 1 L 8 7 M 8 13 L 10 16 M 12 13 L 8 19"/>`,func:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" d="M 17 7 L 13 13 M 13 7 L 17 13 M 12 5 C 12 5 11 5 11 6 L 11 14 C 11 15 12 15 12 15 M 18 5 C 19 5 19 6 19 6 L 19 14 C 19 15 18 15 18 15 M 1 19 C 2 19 3 19 4 17 L 6 3 C 6 2 7 1 8 1 L 10 1 M 5 10 L 7 10" />`,settings:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 8 7 A 1 1 0 0 0 8 17 A 1 1 0 0 0 8 7 M 8 6 L 8 7 M 2 12 L 3 12 M 13 12 L 14 12 M 8 17 L 8 18 M 3.6 7.6 L 4.4 8.4 M 3.6 16.4 L 4.4 15.5 M 12.4 7.6 L 11.5 8.4 M 11.6 15.5 L 12.4 16.4 M 8 11 A 1 1 0 0 0 8 13 A 1 1 0 0 0 8 11 M 16 2 A 1 1 0 0 0 16 6 A 1 1 0 0 0 16 2 M 13 4 L 14 4 M 16 6 L 16 7 M 18 4 L 19 4 M 16 1 L 16 2"/>`,trendUp:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" fill="none" d="M 6 3 L 6 7 M 4 5 L 8 5 M 11 7 L 16 3 M 12 2 A 1 1 0 0 0 12 4 A 1 1 0 0 0 12 2 M 15 6 A 1 1 0 0 0 15 8 A 1 1 0 0 0 15 6 M 10 18 L 10 10 M 7 13 L 10 10 L 13 13" />`,trendDown:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" fill="none" d="M 4 5 M 4 5 L 8 5 M 11 7 L 16 3 M 12 2 A 1 1 0 0 0 12 4 A 1 1 0 0 0 12 2 M 15 6 A 1 1 0 0 0 15 8 A 1 1 0 0 0 15 6 M 10 18 L 10 10 M 7 15 L 10 18 L 13 15" />`,clipBoard:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 5 7 L 9 7 M 5 11 L 9 11 M 11 11 L 15 11 M 5 15 L 15 15 M 11 7 L 15 7"/>`,clipboardLine:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 5 15 L 8 10 L 12 12 L 15 6"/>`,clipboardDonut:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 10 5 A 1 1 0 0 0 10 16 A 1 1 0 0 0 10 5 M 10 8 A 1 1 0 0 0 10 13 A 1 1 0 0 0 10 8 M 10 5 L 10 8 M 5.1 13 L 7.7 11.6"/>`,clipboardBar:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 5 15 L 5 11 L 10 11 L 10 15 L 5 15 M 10 11 L 10 7 L 15 7 L 15 15 L 10 15"/>`,clipboardVariable:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 2 C 6 1 7 1 7 1 L 13 1 C 14 1 14 2 14 2 C 14 2 14 3 13 3 L 7 3 C 7 3 6 3 6 2 M 6 2 L 3 2 C 2 2 1 3 1 4 L 1 17 C 1 18 2 19 3 19 L 17 19 C 18 19 19 18 19 17 L 19 4 C 19 3 18 2 17 2 L 14 2 M 5 8 L 9 13 M 9 8 L 5 13 M 11 8 L 13.1 10.3 M 15 8 L 11 13"/>`,triangle:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 3 L 1 17 L 19 17 L 10 3"/>`,triangleFill:`<path stroke="${o.stroke}" fill="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 10 3 L 1 17 L 19 17 L 10 3"/>`,square:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 2 2 L 2 18 L 18 18 L 18 2 L 2 2"/>`,squareFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}"stroke-linecap="round" stroke-linejoin="round" d="M 2 2 L 2 18 L 18 18 L 18 2 L 2 2"/>`,diamond:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 1 10 L 10 19 L 19 10 L 10 1"/>`,diamondFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 1 10 L 10 19 L 19 10 L 10 1"/>`,pentagon:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 1 9 L 5 19 L 16 19 L 19 9 Z"/>`,pentagonFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 1 9 L 5 19 L 16 19 L 19 9 Z"/>`,hexagon:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 2 6 L 2 14 L 10 19 L 18 14 L 18 6 Z"/>`,hexagonFill:`<path fill="${o.stroke}" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 L 2 6 L 2 14 L 10 19 L 18 14 L 18 6 Z"/>`,circle:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 A 1 1 0 0 0 10 19 A 1 1 0 0 0 10 1"/>`,circleFill:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="${o.stroke}" stroke-linecap="round" stroke-linejoin="round" d="M 10 1 A 1 1 0 0 0 10 19 A 1 1 0 0 0 10 1"/>`,numbers:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth/2}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 2 3 L 4 1 L 4 6 M 8 3 C 8 2 9 1 10 1 C 11 1 12 2 12 3 C 12 5 8 3 8 6 L 12 6 M 15 1 L 18 1 L 16 3 C 17 3 18 3 18 4 C 18 6 16 6 15 6 M 4 13 L 4 8 L 2 11 L 6 11 M 12 8 L 8 8 C 8 11 12 9 12 11 C 12 12 11 13 10 13 C 9 13 8 12 8 11 M 18 11 A 1 1 0 0 0 15 12 A 1 1 0 0 0 18 11 M 15 11 C 15 8 17 8 18 8 M 2 15 L 6 15 C 5 18 2 17 2 20 M 8 16 C 8 15 9 15 9 15 L 11 15 C 12 15 12 16 12 16 C 12 16 12 17 11 17 L 9 17 C 9 17 8 17 8 16 M 9 17 C 9 17 8 17 8 18 L 8 19 C 8 19 8 19 8 19 C 8 20 9 20 9 20 L 11 20 C 12 20 12 19 12 19 L 12 18 C 12 18 12 17 11 17 M 18 17 A 1 1 0 0 0 15 16 A 1 1 0 0 0 18 17 M 18 17 C 18 20 16 20 15 20"/>`,sigma:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 16 5 L 18 2 L 2 2 L 9 10 L 2 18 L 18 18 L 16 15" stroke-linecap="round" stroke-linejoin="round"/>`,mu:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 15 2 C 15 12 13 12 10 12 C 5 12 5 12 5 2 M 5 2 L 5 18 M 13.5 10.8 C 14 12 15 12 15 12" stroke-linecap="round" stroke-linejoin="round"/>`,lambda:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 2 5 C 2 2 4 2 4 2 C 10 2 10 18 18 18 M 10 10 L 2 18" stroke-linecap="round" stroke-linejoin="round"/>`,people:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth/2}" fill="none" d="M 5 1 A 1 1 0 0 0 5 9 A 1 1 0 0 0 5 1 M 15 1 A 1 1 0 0 0 15 9 A 1 1 0 0 0 15 1 M 5 11 A 1 1 0 0 0 5 19 A 1 1 0 0 0 5 11 M 15 11 A 1 1 0 0 0 15 19 A 1 1 0 0 0 15 11 M 3 4 L 3 4 M 7 4 L 7 4 M 3 6 C 4 7 6 7 7 6 M 13 4 L 13 4 M 17 4 L 17 4 M 13 6 C 14 7 16 7 17 6 M 3 14 L 3 14 M 7 14 L 7 14 M 3 16 C 4 17 6 17 7 16 M 13 14 L 13 14 M 17 14 L 17 14 M 13 16 C 14 17 16 17 17 16" stroke-linecap="round" stroke-linejoin="round"/>`,copy:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 18 16 C 18 17 17 18 16 18 L 8 18 C 7 18 6 17 6 16 L 6 8 C 6 7 7 6 8 6 L 16 6 C 17 6 18 7 18 8 L 18 16 M 6 14 L 4 14 C 3 14 2 13 2 12 L 2 4 C 2 3 3 2 4 2 L 12 2 C 13 2 14 3 14 4 L 14 6" stroke-linecap="round" stroke-linejoin="round"/>`,accordion:`<path fill="none" stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" d="M 2 2 L 18 2 L 16 4 L 18 6 L 16 8 L 18 10 L 16 12 L 18 14 L 16 16 L 18 18 L 2 18 L 4 16 L 2 14 L 4 12 L 2 10 L 4 8 L 2 6 L 4 4 L 2 2"/><path stroke="none" fill="${o.stroke}" style="opacity:0.3" stroke-linecap="round" stroke-linejoin="round" d="M 2 2 L 18 2 L 16 4 L 4 4 Z" /><path stroke="none" fill="${o.stroke}" style="opacity:0.3" stroke-linecap="round" stroke-linejoin="round" d="M 2 6 L 18 6 L 16 8 L 4 8 Z" /><path stroke="none" fill="${o.stroke}" style="opacity:0.3" stroke-linecap="round" stroke-linejoin="round" d="M 2 10 L 18 10 L 16 12 L 4 12 Z" /><path stroke="none" fill="${o.stroke}" style="opacity:0.3" stroke-linecap="round" stroke-linejoin="round" d="M 2 14 L 18 14 L 16 16 L 4 16 Z" />`,cursor:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-linejoin="round" d="M 6 10 A 1 1 0 0 0 14 10 A 1 1 0 0 0 6 10 M 1 10 L 6 10 M 14 10 L 19 10 M 10 1 L 10 6 M 10 14 L 10 19 M 10 8 L 10 12 M 8 10 L 12 10" />`,trend:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" stroke-linecap="round" stroke-kinejoin="round" d="M 1 6 L 4 4 L 7 6 M 4 4 L 4 13 M 7 16 C 7 16 7 18 9 18 C 12 18 10 9 12 9 C 14 9 14 13 15 13 C 18 14 17.6667 5.6667 19 2"/>`,chartStripPlot:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" fill="none" d="M 4 16 A 1 1 0 0 0 4 18 A 1 1 0 0 0 4 16 M 4 13 A 1 1 0 0 0 4 15 A 1 1 0 0 0 4 13 M 4 9 A 1 1 0 0 0 4 11 A 1 1 0 0 0 4 9 M 8 11 A 1 1 0 0 0 8 13 A 1 1 0 0 0 8 11 M 8 8 A 1 1 0 0 0 8 10 A 1 1 0 0 0 8 8 M 4 2 A 1 1 0 0 0 4 4 A 1 1 0 0 0 4 2 M 12 15 A 1 1 0 0 0 12 17 A 1 1 0 0 0 12 15 M 12 10 A 1 1 0 0 0 12 12 A 1 1 0 0 0 12 10 M 12 7 A 1 1 0 0 0 12 9 A 1 1 0 0 0 12 7 M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 16 12 A 1 1 0 0 0 16 14 A 1 1 0 0 0 16 12 M 16 10 A 1 1 0 0 0 16 12 A 1 1 0 0 0 16 10 M 16 16 A 1 1 0 0 0 16 18 A 1 1 0 0 0 16 16" />`,chartDumbbell:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" d="M 3 2 A 1 1 0 0 0 3 4 A 1 1 0 0 0 3 2 M 10 2 A 1 1 0 0 0 10 4 A 1 1 0 0 0 10 2 M 4 3 L 9 3 M 5 9 A 1 1 0 0 0 5 11 A 1 1 0 0 0 5 9 M 17 9 A 1 1 0 0 0 17 11 A 1 1 0 0 0 17 9 M 6 10 L 16 10 M 8 16 A 1 1 0 0 0 8 18 A 1 1 0 0 0 8 16 M 15 16 A 1 1 0 0 0 15 18 A 1 1 0 0 0 15 16 M 9 17 L 14 17" />`,copyLeft:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" d="M 10 2 A 1 1 0 0 0 10 18 A 1 1 0 0 0 10 2 M 10 14 A 1 1 0 0 0 10 6 C 10 6 8 6 7 8 M 10 14 C 10 14 8 14 7 12" stroke-linecap="round" stroke-linejoin="round" fill="none"/>`,chartWordCloud:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 7 13 L 10 5 L 13 13 M 8 10 L 12 10 M 2 2 L 5 18 L 10 14 L 15 18 L 18 2"/>`,stack:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 10 3 L 2 6 L 10 9 L 18 6 L 10 3 M 7 8 L 2 10 L 10 13 L 18 10 L 13 8 M 7 12 L 2 14 L 10 17 L 18 14 L 13 12"/>`,unstack:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 10 3 L 2 6 L 10 9 L 18 6 L 10 3 M 7 8 L 2 10 L 10 13 L 18 10 L 13 8 M 7 12 L 2 14 L 10 17 L 18 14 L 13 12 M 2 2 L 18 18 M 18 2 L 2 18"/>`,window:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 2 4 L 2 16 C 2 17 3 18 4 18 L 16 18 C 17 18 18 17 18 16 L 18 4 C 18 3 17 2 16 2 L 4 2 C 3 2 2 3 2 4 M 4 5 L 4 8 C 4 9 5 9 5 9 L 8 9 C 9 9 9 8 9 8 L 9 5 C 9 4 8 4 8 4 L 5 4 C 4 4 4 5 4 5 M 16 5 L 16 8 C 16 9 15 9 15 9 L 12 9 C 12 9 11 9 11 8 L 11 5 C 11 4 12 4 12 4 L 15 4 C 15 4 16 4 16 5 M 5 11 C 5 11 4 11 4 12 L 4 15 C 4 16 5 16 5 16 L 8 16 C 8 16 9 16 9 15 L 9 12 C 9 11 8 11 8 11 L 5 11 M 12 11 C 11 11 11 12 11 12 L 11 15 C 11 15 11 16 12 16 L 15 16 C 15 16 16 16 16 15 L 16 12 C 16 11 15 11 15 11 L 12 11 M 6 6" />`,chartFlow:`<path stroke="transparent" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="${o.stroke}" d="M 2 2 L 4 2 L 4 9 L 2 9 L 2 2 M 9 2 L 11 2 L 11 6 L 9 6 L 9 2 M 16 2 L 18 2 L 18 4 L 16 4 L 16 2 M 2 11 L 4 11 L 4 18 L 2 18 L 2 11 M 9 8 L 11 8 L 11 11 L 9 11 L 9 8 M 9 14 L 11 14 L 11 16 L 9 16 L 9 14 M 16 6 L 18 6 L 18 8 L 16 8 L 16 6 M 16 10 L 18 10 L 18 12 L 16 12 L 16 10 M 16 14 L 18 14 L 18 16 L 16 16 L 16 14 M 4 2 L 9 2 L 9 6 L 4 6 L 4 6 L 4 2 M 4 6 L 9 8 L 9 11 L 4 9 L 4 6 M 11 2 L 16 2 L 16 4 L 11 4 L 11 2 M 11 4 L 16 6 L 16 8 L 11 6 L 11 4 M 4 11 L 9 14 L 9 16 L 4 13 L 4 11 M 11 8 L 16 10 L 16 12 L 11 10 L 11 8 M 11 14 L 16 14 L 16 16 L 11 16 L 11 14"/>`,chartParallelCoordinatePlot:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 2 2 L 2 18 M 10 2 L 10 18 M 18 2 L 18 18 M 2 4 L 10 3 L 18 3 M 2 10 L 10 6 L 18 8 M 2 16 L 10 16 L 18 12"/>`,pause:`<path fill="${o.stroke}" stroke="none" strole-linecap="round" stroke-linejoin="round" d="M 3 4 L 3 16 C 3 17 4 18 5 18 L 6 18 C 7 18 8 17 8 16 L 8 4 C 8 3 7 2 6 2 L 5 2 C 4 2 3 3 3 4 M 12 4 L 12 16 C 12 17 13 18 14 18 L 15 18 C 16 18 17 17 17 16 L 17 4 C 17 3 16 2 15 2 L 14 2 C 13 2 12 3 12 4"/>`,play:`<path fill="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 3 4 L 3 16 C 3 17 4 18 5 18 L 6 18 C 7 18 18 13 18 11 L 18 10 C 18 8 7 2 6 2 L 5 2 C 4 2 3 3 3 4"/>`,stop:`<path fill="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 10 8 L 4 2 L 3 2 L 2 3 L 2 4 L 8 10 L 2 16 L 2 17 L 3 18 L 4 18 L 10 12 L 16 18 L 17 18 L 18 17 L 18 16 L 12 10 L 18 4 L 18 3 L 17 2 L 16 2 L 10 8"/>`,restart:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 3 10 A 1 1 0 0 0 17 10 C 17 6 14 3 10 3 L 10 2 L 7 4 M 5 10 A 1 1 0 0 0 15 10 C 15 7 13 5 10 5 L 10 6 L 7 4 M 3 10 L 5 10"/>`,lap:`<path stroke="${o.stroke}" stroke-width="${o.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M 3 10 A 1 1 0 0 0 17 10 A 1 1 0 0 0 3 10 M 8 2 L 12 2 M 5 3 L 6 4 M 15 3 L 14 4 M 10 7 L 10 10 L 13 13"/>`}));return(n,r)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(We),class:e.normalizeClass({"spin ":t.isSpin}),viewBox:"0 0 20 20",height:t.size,width:t.size,innerHTML:a.value[t.name],style:{background:"transparent"}},null,10,uC))}},bt=vt(AC,[["__scopeId","data-v-5872e7c4"]]),cC={class:"vue-ui-data-table"},dC={style:{display:"flex","align-items":"center","justify-content":"flex-end","padding-right":"3px",gap:"3px"}},hC={key:0,height:"12",width:"12",viewBox:"0 0 20 20",style:{background:"none"}},fC=["fill"],vC=["data-cell"],gC={style:{display:"flex","align-items":"center",gap:"5px","justify-content":"flex-end",width:"100%","padding-right":"3px"}},pC={key:0,height:"12",width:"12",viewBox:"0 0 20 20",style:{background:"none",overflow:"visible"}},yC={__name:"DataTable",props:{colNames:{type:Array,default(){return[]}},head:Array,body:Array,title:String,config:Object},emits:["close"],setup(t,{emit:o}){const a=t;e.useCssVars(C=>({"32d68130":e.unref(h)}));const{backgroundColor:n,color:r,outline:l}=a.config.th,{backgroundColor:s,color:u,outline:h}=a.config.td,f=e.computed(()=>a.config.breakpoint),c=e.ref(null),y=e.ref(!1);return e.onMounted(()=>{const C=new ResizeObserver(A=>{A.forEach(B=>{y.value=B.contentRect.width<f.value})});c.value&&C.observe(c.value)}),(C,A)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tableContainer",ref:c,style:{width:"100%","container-type":"inline-size",position:"relative","padding-top":"36px",overflow:"auto"},class:e.normalizeClass({"vue-ui-responsive":y.value})},[e.createElementVNode("div",{"data-html2canvas-ignore":"",role:"button",tabindex:"0",style:e.normalizeStyle(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.unref(n)};`),onClick:A[0]||(A[0]=B=>o("close")),onKeypress:A[1]||(A[1]=e.withKeys(B=>o("close"),["enter"]))},[e.createVNode(bt,{name:"close",stroke:e.unref(r),"stroke-width":2},null,8,["stroke"])],36),e.createElementVNode("table",cC,[e.createElementVNode("caption",{style:e.normalizeStyle({backgroundColor:e.unref(n),color:e.unref(r),outline:e.unref(l)}),class:"vue-ui-data-table__caption"},e.toDisplayString(t.title),5),e.createElementVNode("thead",null,[e.createElementVNode("tr",{role:"row",style:e.normalizeStyle([{"font-variant-numeric":"tabular-nums"},{backgroundColor:e.unref(n),color:e.unref(r)}]),class:"vue-ui-data-table__thead-row"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.head,(B,v)=>(e.openBlock(),e.createElementBlock("th",{role:"cell",style:e.normalizeStyle({outline:e.unref(l)}),key:`th_${v}`},[e.createElementVNode("div",dC,[B.color?(e.openBlock(),e.createElementBlock("svg",hC,[e.createElementVNode("circle",{cx:"10",cy:"10",r:"10",fill:B.color},null,8,fC)])):e.createCommentVNode("",!0),e.renderSlot(C.$slots,"th",{th:B},void 0,!0)])],4))),128))],4)]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.body,(B,v)=>(e.openBlock(),e.createElementBlock("tr",{role:"row",style:e.normalizeStyle([{"font-variant-numeric":"tabular-nums"},{backgroundColor:e.unref(s),color:e.unref(u)}]),class:e.normalizeClass({"vue-ui-data-table__tbody__row":!0,"vue-ui-data-table__tbody__row-even":v%2===0,"vue-ui-data-table__tbody__row-odd":v%2!==0})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B,(i,g)=>(e.openBlock(),e.createElementBlock("td",{role:"cell","data-cell":(t.colNames[g]&&t.colNames[g].name?t.colNames[g].name:"")||t.colNames[g]||"",style:e.normalizeStyle({outline:e.unref(h)}),class:"vue-ui-data-table__tbody__td"},[e.createElementVNode("div",gC,[i.color?(e.openBlock(),e.createElementBlock("svg",pC,[e.createVNode(ra,{plot:{x:10,y:10},color:i.color,radius:9,shape:t.config.shape||i.shape||"circle"},null,8,["color","shape"])])):e.createCommentVNode("",!0),e.renderSlot(C.$slots,"td",{td:i},void 0,!0)])],12,vC))),256))],6))),256))])])],2))}},yo=vt(yC,[["__scopeId","data-v-4f23609e"]]);function Je({defaultConfig:t,userConfig:o}){if(!Object.keys(o||{}).length)return t;const a=Vn({defaultConfig:t,userConfig:o});return Qn(a)}const Xt={__name:"Title",props:{config:{type:Object,default(){return{}}}},setup(t){const a=Je({userConfig:t.config,defaultConfig:{title:{cy:"",text:"",color:"",fontSize:20,bold:!0},subtitle:{cy:"",text:"",color:"",fontSize:14,bold:!1}}});return(n,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{style:e.normalizeStyle(`width: 100%; text-align:center;color:${e.unref(a).title.color};font-size:${e.unref(a).title.fontSize}px;font-weight:${e.unref(a).title.bold?"bold":""}`)},e.toDisplayString(e.unref(a).title.text),5),e.unref(a).subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width: 100%; text-align:center;color:${e.unref(a).subtitle.color};font-size:${e.unref(a).subtitle.fontSize}px;font-weight:${e.unref(a).subtitle.bold?"bold":""}`)},e.toDisplayString(e.unref(a).subtitle.text),5)):e.createCommentVNode("",!0)],64))}};function mC({tooltip:t,chart:o,clientPosition:a}){const n=e.ref(0),r=e.ref(48);if(t&&o){const{width:l,height:s}=t.getBoundingClientRect(),{right:u,left:h,bottom:f}=o.getBoundingClientRect();a.x+l/2>u?n.value=-l:a.x-l/2<h?n.value=0:n.value=-l/2,a.y+s>f&&(r.value=-s-48)}return{top:a.y+r.value,left:a.x+n.value}}function bC(t,o,a){e.onMounted(()=>t.addEventListener(o,a)),e.onUnmounted(()=>t.removeEventListener(o,a))}function Gv(){const t=e.ref(0),o=e.ref(0);return bC(window,"mousemove",a=>{t.value=a.clientX,o.value=a.clientY}),{x:t,y:o}}const kC=["innerHTML"],Oo={__name:"Tooltip",props:{backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#000000"},content:String,maxWidth:{type:String,default:"300px"},parent:{type:Object},show:{type:Boolean,default:!1},isCustom:{type:Boolean,default:!1},fontSize:{type:[Number,String],default:14},borderRadius:{type:Number,default:4},borderColor:{type:String,default:"#e1e5e8"},borderWidth:{type:Number,default:1},backgroundOpacity:{type:Number,default:100}},setup(t){const o=t,a=e.ref(null),n=e.ref(Gv()),r=e.computed(()=>mC({tooltip:a.value,chart:o.parent,clientPosition:n.value}));return(l,s)=>t.show?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"tooltip",ref:a,class:e.normalizeClass({"vue-data-ui-custom-tooltip":t.isCustom,"vue-data-ui-tooltip":!t.isCustom}),style:e.normalizeStyle(`top:${r.value.top}px;left:${r.value.left}px;${t.isCustom?"":`background:${t.backgroundColor}${e.unref(Xe)[t.backgroundOpacity]};color:${t.color};max-width:${t.maxWidth};font-size:${t.fontSize}px`};border-radius:${t.borderRadius}px;border:${t.borderWidth}px solid ${t.borderColor};`)},[e.renderSlot(l.$slots,"tooltip-before"),e.renderSlot(l.$slots,"default"),e.createElementVNode("div",{innerHTML:t.content},null,8,kC),e.renderSlot(l.$slots,"tooltip-after")],6)):e.createCommentVNode("",!0)}},CC={beforeMount(t,o){t.clickOutsideEvent=function(a){t===a.target||t.contains(a.target)||o.value(a)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},wC=["title","onClick","onKeypress"],BC=["data-open"],xC={__name:"UserOptions",props:{hasPdf:{type:Boolean,default:!0},hasXls:{type:Boolean,default:!0},hasImg:{type:Boolean,default:!1},hasLabel:{type:Boolean,default:!1},isLabelActive:{type:Boolean,default:!1},hasTable:{type:Boolean,default:!1},hasSort:{type:Boolean,default:!1},hasStack:{type:Boolean,default:!1},hasTooltip:{type:Boolean,default:!1},color:{type:String},backgroundColor:{type:String},isPrinting:{type:Boolean,default:!1},isImaging:{type:Boolean,default:!1},title:{type:String},uid:{type:String},hasFullscreen:{type:Boolean,default:!1},chartElement:{type:HTMLElement,default:null},isFullscreen:{type:Boolean,default:!1},isStacked:{type:Boolean,default:!1},isTooltip:{type:Boolean,default:!1},titles:{type:Object,default(){return{}}},showTooltips:{type:Boolean,default:!0}},emits:["generatePdf","generateCsv","generateImage","toggleTable","toggleLabels","toggleSort","toggleFullscreen","toggleStack","toggleTooltip"],setup(t,{emit:o}){const a=t;function n(){o("generatePdf")}function r(){o("generateCsv")}function l(){o("generateImage")}const s=e.ref(!1);function u(){s.value=!s.value,o("toggleTable")}const h=e.ref(!1),f=e.ref(!0);function c(){E.value=window.innerWidth>600,h.value=!h.value,h.value&&(f.value=!1)}function y(){a.isPrinting||a.isImaging||(h.value=!1)}function C(){h.value&&y()}const A=e.ref(a.isLabelActive);function B(){A.value=!A.value,o("toggleLabels")}function v(){o("toggleSort")}const i=e.ref(a.isStacked);function g(){i.value=!i.value,o("toggleStack")}const w=e.ref(a.isTooltip);function U(){w.value=!w.value,o("toggleTooltip")}const I=e.ref(!1);function Q(T){a.chartElement&&(T==="in"?(I.value=!0,a.chartElement.requestFullscreen(),o("toggleFullscreen",!0)):(I.value=!1,document&&document.exitFullscreen(),o("toggleFullscreen",!1)))}function K(T){document.fullscreenElement?I.value=!0:I.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",K)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",K)});const E=e.ref(window.innerWidth>600),b=e.ref({tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1});return(T,Y)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{"data-html2canvas-ignore":"",class:"vue-ui-user-options",style:e.normalizeStyle(`height: 34px; position: ${I.value?"fixed":"absolute"}; top: 0; right:${I.value?"12px":"0"}; padding: 4px; background:transparent; z-index: 1`)},[e.createElementVNode("div",{tabindex:"0",title:h.value?t.titles.close||"":t.titles.open||"",style:e.normalizeStyle(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:${t.backgroundColor}`),onClick:e.withModifiers(c,["stop"]),onKeypress:e.withKeys(c,["enter"])},[e.createVNode(bt,{name:h.value?"close":"menu",stroke:"#CCCCCC","stroke-width":2},null,8,["name"])],44,wC),e.createElementVNode("div",{"data-open":h.value,class:e.normalizeClass({"vue-ui-user-options-drawer":!0}),style:e.normalizeStyle(`background:${t.backgroundColor};`)},[t.hasTooltip?(e.openBlock(),e.createElementBlock("button",{key:0,tabindex:"0",class:"vue-ui-user-options-button",onClick:U,onMouseenter:Y[0]||(Y[0]=$=>b.value.tooltip=!0),onMouseout:Y[1]||(Y[1]=$=>b.value.tooltip=!1)},[T.$slots.optionTooltip?e.renderSlot(T.$slots,"optionTooltip",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[w.value?(e.openBlock(),e.createBlock(bt,{key:0,name:"tooltip",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(bt,{key:1,name:"tooltipDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),E.value&&t.titles.tooltip&&!T.$slots.optionTooltip?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.tooltip}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.tooltip),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasPdf?(e.openBlock(),e.createElementBlock("button",{key:1,tabindex:"0",class:"vue-ui-user-options-button",onClick:n,onMouseenter:Y[2]||(Y[2]=$=>b.value.pdf=!0),onMouseout:Y[3]||(Y[3]=$=>b.value.pdf=!1)},[T.$slots.optionPdf?e.renderSlot(T.$slots,"optionPdf",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isPrinting?(e.openBlock(),e.createBlock(bt,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(bt,{key:1,name:"pdf",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),E.value&&t.titles.pdf&&!T.$slots.optionPdf?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.pdf}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.pdf),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasXls?(e.openBlock(),e.createElementBlock("button",{key:2,tabindex:"0",class:"vue-ui-user-options-button",onClick:r,onMouseenter:Y[4]||(Y[4]=$=>b.value.csv=!0),onMouseout:Y[5]||(Y[5]=$=>b.value.csv=!1)},[T.$slots.optionCsv?e.renderSlot(T.$slots,"optionCsv",{key:0},void 0,!0):(e.openBlock(),e.createBlock(bt,{key:1,name:"excel",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),E.value&&t.titles.csv&&!T.$slots.optionCsv?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.csv}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.csv),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasImg?(e.openBlock(),e.createElementBlock("button",{key:3,tabindex:"0",class:"vue-ui-user-options-button",onClick:l,onMouseenter:Y[6]||(Y[6]=$=>b.value.img=!0),onMouseout:Y[7]||(Y[7]=$=>b.value.img=!1)},[T.$slots.optionImg?e.renderSlot(T.$slots,"optionImg",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isImaging?(e.openBlock(),e.createBlock(bt,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(bt,{key:1,name:"image",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),E.value&&t.titles.img&&!T.$slots.optionImg?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.img}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.img),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasTable?(e.openBlock(),e.createElementBlock("button",{key:4,tabindex:"0",class:"vue-ui-user-options-button",onClick:u,onMouseenter:Y[8]||(Y[8]=$=>b.value.table=!0),onMouseout:Y[9]||(Y[9]=$=>b.value.table=!1)},[T.$slots.optionTable?e.renderSlot(T.$slots,"optionTable",{key:0},void 0,!0):(e.openBlock(),e.createBlock(bt,{key:1,name:s.value?"tableClose":"tableOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),E.value&&t.titles.table&&!T.$slots.optionTable?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.table}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.table),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasLabel?(e.openBlock(),e.createElementBlock("button",{key:5,tabindex:"0",class:"vue-ui-user-options-button",onClick:B,onMouseenter:Y[10]||(Y[10]=$=>b.value.labels=!0),onMouseout:Y[11]||(Y[11]=$=>b.value.labels=!1)},[T.$slots.optionLabels?e.renderSlot(T.$slots,"optionLabels",{key:0},void 0,!0):(e.openBlock(),e.createBlock(bt,{key:1,name:A.value?"labelClose":"labelOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),E.value&&t.titles.labels&&!T.$slots.optionLabels?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.labels}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.labels),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasSort?(e.openBlock(),e.createElementBlock("button",{key:6,tabindex:"0",class:"vue-ui-user-options-button",onClick:v,onMouseenter:Y[12]||(Y[12]=$=>b.value.sort=!0),onMouseout:Y[13]||(Y[13]=$=>b.value.sort=!1)},[T.$slots.optionSort?e.renderSlot(T.$slots,"optionSort",{key:0},void 0,!0):(e.openBlock(),e.createBlock(bt,{key:1,name:"sort",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),E.value&&t.titles.sort&&!T.$slots.optionSort?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.sort}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.sort),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasStack?(e.openBlock(),e.createElementBlock("button",{key:7,tabindex:"0",class:"vue-ui-user-options-button",onClick:g,onMouseenter:Y[14]||(Y[14]=$=>b.value.stack=!0),onMouseout:Y[15]||(Y[15]=$=>b.value.stack=!1)},[T.$slots.optionStack?e.renderSlot(T.$slots,"optionStack",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[i.value?(e.openBlock(),e.createBlock(bt,{key:0,name:"unstack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(bt,{key:1,name:"stack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),E.value&&t.titles.stack&&!T.$slots.optionStack?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.stack}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.stack),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasFullscreen?(e.openBlock(),e.createElementBlock("button",{key:8,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:Y[16]||(Y[16]=$=>b.value.fullscreen=!0),onMouseout:Y[17]||(Y[17]=$=>b.value.fullscreen=!1),onClick:Y[18]||(Y[18]=$=>Q(I.value?"out":"in"))},[T.$slots.optionFullscreen?e.renderSlot(T.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:Q,isFullscreen:I.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[I.value?(e.openBlock(),e.createBlock(bt,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),I.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(bt,{key:1,name:"fullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),E.value&&t.titles.fullscreen&&!T.$slots.optionFullscreen?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"button-info":!0,"button-info-visible":b.value.fullscreen}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.fullscreen),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)],12,BC)],4)),[[e.unref(CC),C]])}},Tt=vt(xC,[["__scopeId","data-v-693c5f9e"]]);function ft(){const t="#2D353C",o="#A1A1A1",a="#e1e5e8",n="#CCCCCC",r="#4A4A4A",l="#FFFFFF",s="#fafafa",u="#5f8bee",h="#dc3912",f="#2ca02c",c="#42d392",y="#FFD055",C={_10:10,_12:12,_14:14,_16:16,_18:18,_20:20,_24:24,_32:32,_48:48},A={LINE:"line",SQUARE:"square",ROUND:"round",CIRCLE:"circle",CURVED:"curved",BAR:"bar",STAR:"star"},B={LEFT:"left",CENTER:"center",RIGHT:"right",BOTTOM:"bottom",TOP:"top"},v={ASC:"asc",DESC:"desc"},i={text:"",color:t,fontSize:C._20,bold:!0,subtitle:{color:o,text:"",fontSize:C._16,bold:!1}},g={show:!0,bold:!1,backgroundColor:l,color:t,fontSize:C._14},w={show:!0,color:t,backgroundColor:l,fontSize:C._14,customFormat:null,borderRadius:4,borderColor:a,borderWidth:1,backgroundOpacity:100},U=({tooltip:mt=!1,pdf:dt=!1,csv:nt=!1,img:rt=!1,table:qt=!1,labels:Vt=!1,fullscreen:Xo=!1,sort:go=!1,stack:ut=!1})=>{const Ht={open:"Open options",close:"Close options",tooltip:"Toggle tooltip",pdf:"Download PDF",csv:"Download CSV",img:"Download PNG",table:"Toggle table",labels:"Toggle labels",fullscreen:"Toggle fullscreen",sort:"Toggle sort",stack:"Toggle stack mode"};return mt||delete Ht.tooltip,dt||delete Ht.pdf,nt||delete Ht.csv,rt||delete Ht.img,qt||delete Ht.table,Vt||delete Ht.labels,Xo||delete Ht.fullscreen,go||delete Ht.sort,ut||delete Ht.stack,{show:!0,buttons:{tooltip:mt,pdf:dt,csv:nt,img:rt,table:qt,labels:Vt,fullscreen:Xo,sort:go,stack:ut},buttonTitles:Ht}},I=mt=>({top:mt[0],right:mt[1],bottom:mt[2],left:mt[3]}),Q={backgroundColor:s,color:t,outline:"none"},K={backgroundColor:l,color:t,outline:"none"},E={show:!1,responsiveBreakpoint:400},b={show:!0,color:n,highlightColor:r,fontSize:C._14,useResetSlot:!1},T={theme:"",responsive:!1,customPalette:[],useCssAnimation:!0,chart:{fontFamily:"inherit",backgroundColor:l,color:t,height:600,width:1e3,zoom:b,padding:I([36,24,24,48]),highlighter:{color:t,opacity:5,useLine:!1,lineDasharray:2,lineWidth:1},highlightArea:{show:!1,from:0,to:0,color:t,opacity:20,caption:{text:"",fontSize:C._10,color:t,bold:!1,offsetY:0,width:"auto",padding:3,textAlign:B.CENTER}},timeTag:{show:!1,backgroundColor:a,color:t,fontSize:C._12,circleMarker:{radius:3,color:t}},grid:{stroke:a,showVerticalLines:!1,showHorizontalLines:!1,labels:{show:!0,color:t,fontSize:C._16,axis:{yLabel:"",yLabelOffsetX:0,xLabel:"",xLabelOffsetY:14,fontSize:C._14},zeroLine:{show:!0},xAxis:{showBaseline:!1},yAxis:{showBaseline:!0,commonScaleSteps:10,useIndividualScale:!1,stacked:!1,gap:12,labelWidth:40},xAxisLabels:{color:t,show:!0,values:[],fontSize:C._14,showOnlyFirstAndLast:!1,showOnlyAtModulo:!1,modulo:12,yOffset:0,rotation:0}}},comments:{show:!0,showInTooltip:!0,width:200,offsetX:0,offsetY:0},labels:{fontSize:C._10,prefix:"",suffix:""},legend:{color:t,show:!0,fontSize:C._14},title:{...i,show:!0,offsetX:0,offsetY:0},tooltip:{...w,showValue:!0,showPercentage:!0,rondingValue:0,roundingPercentage:0},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0,stack:!0})},bar:{borderRadius:2,useGradient:!0,periodGap:.1,border:{useSerieColor:!1,strokeWidth:0,stroke:l},labels:{show:!1,offsetY:-6,rounding:0,color:t},serieName:{show:!1,offsetY:-6,useAbbreviation:!0,abbreviationSize:3,useSerieColor:!0,color:t,bold:!1}},line:{radius:3,useGradient:!0,strokeWidth:3,labels:{show:!1,offsetY:-6,rounding:0,color:t},area:{useGradient:!0,opacity:30}},plot:{radius:3,useGradient:!0,labels:{show:!1,offsetY:-6,rounding:0,color:t}},table:{responsiveBreakpoint:400,rounding:0,sparkline:!0,columnNames:{period:"Period",total:"Total"},th:Q,td:K},showTable:!1},Y={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,useBlurOnHover:!0,userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),translations:{total:"Total",average:"Average"},table:{...E,th:Q,td:{...K,roundingValue:0,roundingPercentage:0},columnNames:{serie:"Series",value:"Value",percentage:"Percentage"}},style:{fontFamily:"inherit",chart:{useGradient:!0,gradientIntensity:40,backgroundColor:l,color:t,layout:{labels:{dataLabels:{show:!0,useLabelSlots:!1,hideUnderValue:3,prefix:"",suffix:""},value:{rounding:0,show:!0},percentage:{color:t,bold:!0,fontSize:C._18},name:{color:t,bold:!1,fontSize:C._14},hollow:{show:!0,total:{show:!0,bold:!1,fontSize:C._18,color:o,text:"Total",offsetY:0,value:{color:t,fontSize:C._18,bold:!0,suffix:"",prefix:"",offsetY:0,rounding:0}},average:{show:!0,bold:!1,fontSize:C._18,color:o,text:"Average",offsetY:0,value:{color:t,fontSize:C._18,bold:!0,suffix:"",prefix:"",offsetY:0,rounding:0}}}},donut:{strokeWidth:55,borderWidth:1,useShadow:!1,shadowColor:t}},comments:{show:!0,showInTooltip:!0,width:100,offsetY:0,offsetX:0},legend:{...g,roundingValue:0,roundingPercentage:0},tooltip:{...w,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0},title:i}}},$={responsive:!1,theme:"",customPalette:[],userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:500,width:800,padding:I([0,6,12,6]),layout:{sorted:!0,rects:{stroke:a,strokeWidth:1,borderRadius:0,colorRatio:.3,gradient:{show:!0,intensity:30},selected:{stroke:a,strokeWidth:1,unselectedOpacity:.6}},labels:{showDefaultLabels:!0,fontSize:C._24,minFontSize:C._10,hideUnderProportion:.03,prefix:"Value: ",suffix:"",rounding:0}},legend:{...g,roundingValue:0,roundingPercentage:0},title:i,tooltip:{...w,roundingValue:1}}},table:{...E,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:Q,td:{...K,roundingValue:0,roundingPercentage:0}}},S={responsive:!1,theme:"",customPalette:[],useBlurOnHover:!0,useCustomCells:!1,useAnimation:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{labels:{dataLabels:{prefix:"",suffix:""},captions:{show:!1,showSerieName:!1,serieNameAbbreviation:!0,serieNameMaxAbbreviationSize:3,fontSize:C._12,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,offsetX:0,offsetY:0}},grid:{size:10,spaceBetween:2,vertical:!1},rect:{rounded:!0,ronding:2,stroke:t,strokeWidth:1,useGradient:!0,gradientIntensity:40}},title:i,tooltip:{...w,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0},legend:{...g,roundingValue:0,roundingPercentage:0}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:Q,td:{...K,roundingValue:0,roundingPercentage:0}}},W={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{plots:{show:!0,radius:2},outerPolygon:{stroke:n,strokeWidth:1},dataPolygon:{strokeWidth:1,transparent:!1,opacity:20,useGradient:!0},grid:{show:!0,stroke:a,strokeWidth:.5,graduations:5},labels:{dataLabels:{show:!0,fontSize:C._12,color:t}}},title:i,tooltip:{...w,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,animation:{show:!0,animationFrames:60}},legend:{...g,roundingPercentage:0}}},table:{...E,th:Q,td:{...K,roundingValue:0,roundingPercentage:0}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),translations:{target:"Target",value:"Value",datapoint:"Datapoint"}},oe={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,zoomAnimationFrames:20,style:{fontFamily:"inherit",chart:{height:512,width:512,backgroundColor:l,color:t,layout:{labels:{quadrantLabels:{show:!0,tl:{text:"",color:t,fontSize:C._16,bold:!0},tr:{text:"",color:t,fontSize:C._16,bold:!0},br:{text:"",color:t,fontSize:C._16,bold:!0},bl:{text:"",color:t,fontSize:C._16,bold:!0}},plotLabels:{showAsTag:!1,show:!0,fontSize:C._10,color:t,offsetY:8},axisLabels:{show:!0,fontSize:C._14,color:{positive:t,negative:t}}},grid:{stroke:a,strokeWidth:1.5,showArrows:!0,graduations:{stroke:a,strokeWidth:.5,show:!0,steps:5,fill:!0,color:a,roundingForce:10},xAxis:{min:-100,max:100,auto:!0,name:""},yAxis:{min:-100,max:100,auto:!0,name:""}},plots:{radius:6,outline:!0,outlineColor:l,outlineWidth:1},areas:{show:!0,opacity:40,useGradient:!0}},title:i,tooltip:{...w,roundingValue:0,showShape:!0},legend:g}},table:{...E,th:Q,td:{...K,roundingValue:0}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),translations:{category:"Category",item:"Item",side:"Side"}},te={responsive:!1,theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,animation:{use:!0,speed:1,acceleration:1},layout:{track:{size:1,useGradient:!0,gradientIntensity:20},markers:{color:t,bold:!0,fontSizeRatio:1,offsetY:0,roundingValue:0},pointer:{type:"pointy",size:1,stroke:l,strokeWidth:12,useRatingColor:!0,color:n,circle:{radius:10,stroke:t,strokeWidth:2,color:l}}},legend:{fontSize:C._48,prefix:"",suffix:"",roundingValue:1,showPlusSymbol:!0,useRatingColor:!0,color:t},title:i}},userOptions:U({pdf:!0,img:!0,fullscreen:!0}),translations:{base:"Base"}},he={responsive:!1,theme:"",style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,animation:{use:!0,speed:.5,acceleration:1},layout:{wheel:{ticks:{rounded:!0,inactiveColor:a,activeColor:u,gradient:{show:!0,shiftHueIntensity:100}}},innerCircle:{show:!0,stroke:a,strokeWidth:1},percentage:{show:!0,fontSize:C._48,rounding:1,bold:!0}},title:i}},userOptions:U({pdf:!0,img:!0,fullscreen:!0})},le={theme:"",style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,animation:{use:!0,speed:.5,acceleration:1},layout:{display:"horizontal",crescendo:!1,curved:!1,curveAngleX:10,curveAngleY:10,activeColor:u,inactiveColor:a,ticks:{gradient:{show:!0,shiftHueIntensity:100}}},percentage:{show:!0,useGradientColor:!0,color:u,fontSize:C._16,bold:!0,rounding:1,verticalPosition:B.BOTTOM,horizontalPosition:B.LEFT},title:i}},userOptions:U({pdf:!0,img:!0,fullscreen:!0})},H={theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{grandTotal:{show:!0,fontSize:C._20,bold:!0,prefix:"",suffix:"",roundingValue:0,color:t,text:"Grand total",offsetY:0},roots:{stroke:l,strokeWidth:5,useGradient:!0,gradientIntensity:20,underlayerColor:l,labels:{show:!0,fontSize:C._16,adaptColorToBackground:!0,color:l,bold:!0,roundingValue:0,prefix:"",suffix:"",name:{color:t,fontSize:C._16,bold:!0}}},verticalSeparator:{stroke:l,strokeWidth:5},links:{opacity:10},branches:{stroke:l,strokeWidth:0,borderRadius:6,useGradient:!0,gradientIntensity:20,underlayerColor:l,widthRatio:1.5,labels:{show:!0,fontSize:C._14,color:t,bold:!0,dataLabels:{show:!0,hideUnderValue:5,fontSize:C._14,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}}},nuts:{offsetX:20,useGradient:!0,gradientIntensity:30,selected:{useMotion:!0,useGradient:!0,gradientIntensity:40,roundingValue:0,roundingPercentage:0,labels:{dataLabels:{hideUnderValue:5,color:t,fontSize:C._12,bold:!0,prefix:"",suffix:""},core:{total:{color:t,fontSize:C._24,bold:!1},value:{color:t,fontSize:C._24,bold:!0,prefix:"",suffix:""}}}}},legend:{fontSize:C._16,color:t,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""},title:{...i,offsetY:0,subtitle:{...i.subtitle,offsetY:0}}}}},table:{...E,th:{...Q,translations:{rootName:"root name",rootValue:"root value",rootToTotal:"%/total",branchName:"branch name",branchValue:"branch value",branchToRoot:"%/root",branchToTotal:"%/total",nutName:"nut name",nutValue:"nut value",nutToBranch:"%/branch",nutToRoot:"%/root",nutToTotal:"%/total"}},td:{...K,roundingValue:0,roundingPercentage:0}},userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),translations:{total:"Total",proportionToTree:"of grand total",of:"of"}},P={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,useStartAnimation:!0,useBlurOnHover:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,useGradient:!0,gradientIntensity:20,layout:{maxThickness:64,gutter:{color:a,width:.62},track:{width:.62},labels:{show:!0,fontSize:C._14,color:t,roundingValue:0,roundingPercentage:0,bold:!0,offsetX:0,offsetY:0,value:{show:!0},percentage:{show:!0}}},title:i,legend:{...g,roundingValue:0,roundingPercentage:0},tooltip:{...w,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,th:Q,td:{...K,roundingValue:0,roundingPercentage:0},translations:{value:"Value",percentage:"Percentage",serie:"Serie"}}},X={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{bars:{sort:v.DESC,useStroke:!1,strokeWidth:2,height:32,gap:6,borderRadius:4,offsetX:64,paddingRight:0,useGradient:!0,gradientIntensity:20,fillOpacity:90,underlayerColor:l,dataLabels:{color:t,bold:!0,fontSize:C._12,value:{show:!0,roundingValue:0,prefix:"",suffix:""},percentage:{show:!0,roundingPercentage:0},offsetX:0},nameLabels:{show:!0,color:t,bold:!1,fontSize:C._10,offsetX:0},parentLabels:{show:!0,color:t,bold:!1,fontSize:C._10,offsetX:0}},highlighter:{color:t,opacity:5},separators:{show:!0,color:a,strokeWidth:1}},title:i,legend:{...g,position:B.TOP,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""},tooltip:{...w,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,sort:!0,fullscreen:!0}),table:{...E,th:Q,td:{...K,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}},translations:{parentName:"Serie",childName:"Child",value:"value",percentageToTotal:"%/total",percentageToSerie:"%/serie"}},q={theme:"",style:{fontFamily:"inherit",backgroundColor:l,color:t,layout:{padding:I([36,12,12,48]),cells:{height:36,value:{show:!1,fontSize:C._18,bold:!1,roundingValue:0,color:t},colors:{hot:h,cold:u,underlayer:l},spacing:2,selected:{border:4,color:t}},dataLabels:{prefix:"",suffix:"",xAxis:{show:!0,values:[],fontSize:C._10,color:t,bold:!1,offsetX:0,offsetY:0},yAxis:{show:!0,values:[],fontSize:C._10,color:t,bold:!1,offsetX:0,offsetY:0}}},title:i,legend:{...g,fontSize:C._12,roundingValue:0,position:B.RIGHT,scaleBorderRadius:18},tooltip:{...w,roundingValue:0}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,colNames:{xAxis:"X"},th:Q,td:{...K,roundingValue:0}}},m={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,style:{fontFamily:"inherit",backgroundColor:l,color:t,layout:{height:316,width:512,padding:I([36,48,36,48]),axis:{show:!0,stroke:a,strokeWidth:1},marginalBars:{show:!1,size:40,tranches:20,opacity:.6,fill:t,strokeWidth:1,offset:20,borderRadius:2,useGradient:!0,showLines:!1,linesStrokeWidth:1},plots:{radius:2,stroke:l,strokeWidth:.3,opacity:.6,significance:{show:!0,useDistanceOpacity:!1,deviationThreshold:10,opacity:.3},deviation:{translation:"deviation",roundingValue:1},giftWrap:{show:!1,strokeWidth:1,strokeDasharray:0,fillOpacity:.2},selectors:{show:!0,stroke:t,strokeWidth:.7,strokeDasharray:0,labels:{fontSize:C._12,color:t,rounding:2,bold:!1,showName:!0,prefix:"",suffix:""},markers:{radius:1.5,stroke:l,strokeWidth:.5,fill:t}}},correlation:{show:!0,strokeDasharray:2,strokeWidth:1,label:{show:!0,fontSize:C._12,color:t,bold:!0,roundingValue:2,useSerieColor:!0}},dataLabels:{xAxis:{name:"xAxis",show:!0,fontSize:C._10,color:t,bold:!1,offsetX:0,offsetY:0,roundingValue:0},yAxis:{name:"yAxis",show:!0,fontSize:C._10,color:t,bold:!1,offsetX:0,offsetY:0,roundingValue:0}}},title:i,legend:{...g,roundingValue:0},tooltip:{...w,roundingValue:2,showShape:!0,prefix:"",suffix:""}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,th:Q,td:{...K,roundingValue:2,roundingAverage:1},translations:{correlationCoefficient:"Correlation Coef.",nbrPlots:"Nbr plots",average:"Average",series:"Series"}}},_={responsive:!1,theme:"",useCssAnimation:!0,style:{fontFamily:"inherit",backgroundColor:l,color:t,height:316,width:512,layout:{padding:I([36,48,36,48]),selector:{color:a,opacity:10},grid:{show:!0,stroke:a,strokeWidth:.5,xAxis:{dataLabels:{show:!0,fontSize:C._10,color:t,offsetY:0,bold:!1,rotation:0}},yAxis:{dataLabels:{show:!0,fontSize:C._12,color:t,roundingValue:0,offsetX:0,bold:!1,steps:10,prefix:"",suffix:""}}},wick:{stroke:t,strokeWidth:.5,extremity:{shape:A.LINE,size:"auto",color:t}},candle:{borderRadius:1,stroke:t,strokeWidth:.5,colors:{bearish:h,bullish:f},gradient:{show:!0,underlayer:l},widthRatio:.5}},zoom:b,title:i,tooltip:{...w,roundingValue:0,prefix:"",suffix:""}},translations:{period:"Period",open:"Open",high:"High",low:"Low",last:"Last",volume:"Volume"},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,th:Q,td:{...K,roundingValue:2,prefix:"",suffix:""}}},x={theme:"",type:A.LINE,style:{chartWidth:290,animation:{show:!0,animationFrames:360},fontFamily:"inherit",backgroundColor:l,line:{color:u,strokeWidth:3,smooth:!1},bar:{borderRadius:3,color:u},zeroLine:{color:t,strokeWidth:1},plot:{show:!0,radius:4,stroke:l,strokeWidth:1},verticalIndicator:{show:!0,strokeWidth:1.5,color:u,strokeDasharray:3},dataLabel:{show:!0,position:B.LEFT,offsetX:0,offsetY:0,fontSize:C._20,bold:!0,color:t,roundingValue:0,valueType:"latest",prefix:"",suffix:""},title:{show:!0,textAlign:B.LEFT,color:t,fontSize:C._16,bold:!0,text:""},area:{show:!0,useGradient:!0,opacity:30,color:u}}},V={theme:"",customPalette:[],style:{fontFamily:"inherit",backgroundColor:l,animation:{show:!0,animationFrames:60},layout:{independant:!0,percentage:!0,target:0,showTargetValue:!1,targetValueText:""},gutter:{backgroundColor:a,opacity:100},bar:{gradient:{show:!0,intensity:40,underlayerColor:l}},labels:{fontSize:C._16,name:{position:B.TOP,width:"100%",color:t,bold:!1},value:{show:!0,bold:!0}},title:{...i,textAlign:B.LEFT,margin:"0 auto"},gap:4}},J={theme:"",customPalette:[],style:{fontFamily:"inherit",backgroundColor:l,animation:{show:!0,animationFrames:60},bar:{gradient:{show:!0,intensity:40,underlayerColor:l}},legend:{show:!0,textAlign:B.LEFT,fontSize:C._12,margin:"6px 0 0 0",name:{color:t,bold:!1},value:{show:!0,bold:!1,color:t,prefix:"",suffix:"",rounding:0},percentage:{show:!0,bold:!0,color:t,rounding:1}},title:{...i,textAlign:B.LEFT,margin:"0 0 6px 0"}}},ke={theme:"",style:{fontFamily:"inherit",backgroundColor:l,animation:{show:!0,speedMs:500},layout:{height:96,width:640,padding:I([24,0,36,0])},bars:{shape:A.SQUARE,strokeWidth:0,colors:{positive:u,negative:h,gradient:{show:!0}},borderRadius:24,gap:12},labels:{value:{fontSize:C._14,color:t,bold:!0,rounding:1,prefix:"",suffix:"",offsetY:0},valueLabel:{fontSize:C._14,color:t,bold:!1,rounding:0},timeLabel:{fontSize:C._12,color:t,bold:!1}},selector:{stroke:u,strokeWidth:2,strokeDasharray:0,borderRadius:2},title:{...i,textAlign:B.LEFT,margin:"0 0 6px 0"}}},ae={theme:"",style:{fontFamily:"inherit",background:l,height:84,basePosition:72,animation:{show:!0,speedMs:150},title:{show:!0,fontSize:C._12,position:B.TOP,textAlign:B.CENTER,bold:!1,color:t},dataLabel:{fontSize:C._20,autoColor:!0,color:t,offsetY:0,bold:!0,rounding:0,prefix:"",suffix:""},colors:{min:h,max:f,showGradient:!0},track:{autoColor:!0,color:u,strokeLinecap:A.ROUND},gutter:{color:a,strokeLinecap:A.ROUND}}},ge={theme:"",style:{fontFamily:"inherit",backgroundColor:l,animation:{show:!0,animationFrames:20},line:{stroke:t,strokeWidth:2,strokeLinecap:A.ROUND,strokeLinejoin:A.ROUND,smooth:!0,useColorTrend:!0},area:{show:!0,useGradient:!0,opacity:20},dataLabel:{show:!0,useColorTrend:!0,color:t,fontSize:C._14,bold:!1,prefix:"",suffix:"",rounding:0},trendLabel:{trendType:"global",useColorTrend:!0,color:t,fontSize:C._14,bold:!0,rounding:0},arrow:{colors:{positive:f,neutral:o,negative:h}},padding:I([12,12,12,82])}},Z={responsive:!1,theme:"",axisLabelsFontSize:C._12,backgroundColor:l,barGap:12,barAnimated:!0,barStrokeWidth:1,blurOnHover:!0,chartIsBarUnderDatasetLength:6,color:t,customPalette:[],dataLabelFontSize:C._14,dataLabelRoundingPercentage:1,dataLabelRoundingValue:0,donutHideLabelUnderPercentage:3,donutLabelMarkerStrokeWidth:1,donutRadiusRatio:.4,donutShowTotal:!0,donutStrokeWidth:2,donutThicknessRatio:.18,donutTotalLabelFontSize:24,donutTotalLabelOffsetY:0,donutTotalLabelText:"Total",donutUseShadow:!1,donutShadowColor:t,fontFamily:"inherit",height:338,legendFontSize:C._12,legendIcon:"circleFill",legendIconSize:C._12,lineAnimated:!0,lineSmooth:!0,lineStrokeWidth:2,paletteStartIndex:0,showDataLabels:!0,showLegend:!0,showTooltip:!0,showUserOptions:!0,userOptionsButtons:{tooltip:!0,pdf:!0,img:!0,fullscreen:!0},userOptionsButtonTitles:{open:"Open options",close:"Close options",tooltip:"Toggle tooltip",pdf:"Download PDF",img:"Download PNG",fullscreen:"Toggle fullscreen"},title:"",titleBold:!0,titleFontSize:16,titleTextAlign:"center",tooltipCustomFormat:null,tooltipBackgroundOpacity:100,tooltipBorderRadius:4,tooltipBorderColor:a,tooltipBorderWidth:1,tooltipFontSize:14,useCustomLegend:!1,valuePrefix:"",valueSuffix:"",width:512,xAxisLabel:"",xyAxisStroke:n,xyAxisStrokeWidth:1,xyGridStroke:a,xyGridStrokeWidth:.5,xyHighlighterColor:t,xyHighlighterOpacity:.05,xyLabelsXFontSize:C._10,xyLabelsYFontSize:C._12,xyPaddingBottom:48,xyPaddingLeft:48,xyPaddingRight:12,xyPaddingTop:24,xyPeriodLabelsRotation:0,xyPeriods:[],xyScaleSegments:15,xyShowAxis:!0,xyShowGrid:!0,xyShowScale:!0,yAxisLabel:"",zoomXy:!0,zoomColor:n,zoomHighlightColor:r,zoomFontSize:C._14,zoomUseResetSlot:!1},ee={responsive:!1,theme:"",style:{fontFamily:"inherit",backgroundColor:l,color:t,height:500,width:500,layout:{padding:I([36,12,48,12]),grid:{show:!0,stroke:a,strokeWidth:1},dataLabels:{sideTitles:{show:!0,fontSize:C._18,color:t,useSideColor:!0,bold:!1,offsetY:0},xAxis:{show:!0,fontSize:C._12,color:t,bold:!1,scale:1e3,translation:"in thousands"},yAxis:{show:!0,display:"age",fontSize:C._12,color:t,bold:!1,showEvery:5}},centerSlit:{width:20},bars:{gap:2,borderRadius:2,left:{color:h},right:{color:u},gradient:{show:!0,underlayer:l,intensity:60,shiftHue:.05}}},highlighter:{color:t,opacity:5},title:i,tooltip:{...w,roundingValue:0}},translations:{age:"age",male:"male",female:"female",total:"total",year:"year"},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,th:Q,td:K}},z={responsive:!1,theme:"",customPalette:[],style:{fontFamily:"inherit",backgroundColor:l,color:t,size:400,limit:50,animation:{show:!0,speedMs:300},labels:{color:t,fontSize:C._10},links:{curved:!0,maxWidth:3},circle:{radiusProportion:.2,stroke:n,strokeWidth:1,offsetY:0},plot:{radius:2,color:t},title:i},userOptions:U({pdf:!0,img:!0,fullscreen:!0})},D={theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:360,thermometer:{width:48},padding:I([12,64,12,64]),graduations:{show:!0,sides:"both",height:2,stroke:a,strokeWidth:1,showIntermediate:!0,gradient:{show:!0,intensity:20}},animation:{use:!0,speedMs:1e3},label:{fontSize:C._20,rounding:1,bold:!0,color:t,prefix:"",suffix:""}},title:i},userOptions:U({pdf:!0,img:!0,fullscreen:!0})},fe={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,useBlurOnHover:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{labels:{dataLabels:{prefix:"",suffix:""}},rings:{strokeWidth:2,stroke:a,gradient:{show:!0,intensity:40,underlayerColor:l},useShadow:!0}},legend:{...g,roundingValue:0,roundingPercentage:0},title:i,tooltip:{...w,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:Q,td:{...K,roundingValue:0,roundingPercentage:0}}},M={theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,zoom:b,layout:{height:316,width:512,padding:I([24,48,24,48]),grid:{show:!0,stroke:a,strokeWidth:.7,showVerticalLines:!0,yAxis:{dataLabels:{show:!0,fontSize:C._10,color:t,roundingValue:0,offsetX:0,bold:!1,steps:10}},xAxis:{dataLabels:{show:!0,values:[],fontSize:C._10,showOnlyFirstAndLast:!1,color:t,rotation:0,offsetY:0}}},line:{show:!0,stroke:n,strokeWidth:4},highlighter:{color:t,opacity:5},dataLabels:{show:!0,fontSize:C._10,color:t,bold:!1,rounding:0,prefix:"",suffix:"",offsetY:0}},title:i,legend:{...g,roundingValue:0,roundingPercentage:0}}},userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,columnNames:{period:"Period",total:"Total"},th:Q,td:{...K,roundingValue:0,roundingPercentage:0}}},N={theme:"",style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{grid:{show:!0,stroke:a,strokeWidth:.5},outerPolygon:{stroke:a,strokeWidth:1},dataPolygon:{color:u,opacity:60,gradient:{show:!0,intensity:1},stroke:u,strokeWidth:0},smileys:{strokeWidth:1,colors:{1:"#e20001",2:"#ff9f03",3:"#ffd004",4:"#9ac900",5:"#059f00"}},dataLabel:{color:t,roundingValue:0,roundingPercentage:0,bold:!0}},title:i,legend:{...g,roundingValue:0,roundingPercentage:0}}},userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:Q,td:{...K,roundingValue:0,roundingPercentage:0}}},j={theme:"",customPalette:[],style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,nodes:{stroke:l,strokeHovered:t},links:{stroke:n},title:i,tooltip:w,zoom:{speed:1}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),table:{...E,th:Q,td:K,translations:{nodeName:"Node name",details:"Details",ancestor:"Parent node"}}},O={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,useBlurOnHover:!0,userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,useGradient:!0,gradientIntensity:40,layout:{labels:{dataLabels:{show:!0,prefix:"",suffix:"",hideUnderValue:3,fontSize:C._14,offsetX:4,offsetY:12,useSerieColor:!1,color:t,showValue:!0,showPercentage:!0,boldValue:!1,boldPercentage:!0,roundingValue:0,roundingPercentage:0,showDonutName:!0,boldDonutName:!0,donutNameAbbreviation:!0,donutNameMaxAbbreviationSize:3,donutNameOffsetY:0}},donut:{strokeWidth:200,borderWidth:2,spacingRatio:.5,useShadow:!1,shadowColor:t}},legend:{...g,roundingValue:0,roundingPercentage:0},title:i,tooltip:{...w,showAllItemsAtIndex:!0,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},table:{...E,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:Q,td:{...K,roundingValue:0,roundingPercentage:0}}},ce={theme:"",customPalette:[],useCssAnimation:!0,useBlurOnHover:!0,style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,layout:{arcs:{strokeWidth:24,borderWidth:12,offsetX:0,offsetY:0,hoverEffect:{show:!0,multiplicator:1.1},gradient:{show:!0,intensity:30,color:l}},labels:{dataLabels:{prefix:"",suffix:""}}},legend:{...g,roundingValue:0,roundingPercentage:0},title:i,tooltip:{...w,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:Q,td:{...K,roundingValue:0,roundingPercentage:0}}},re={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:600,stripWidth:120,padding:I([24,24,64,64]),grid:{show:!0,stroke:n,strokeWidth:1,scaleSteps:10,horizontalGrid:{show:!0,stroke:n,strokeWidth:.5,strokeDasharray:4},verticalGrid:{show:!0,stroke:n,strokeWidth:.5,strokeDasharray:4}},plots:{opacity:.5,radius:20,stroke:l,strokeWidth:1,shape:A.CIRCLE,gradient:{show:!0,intensity:40}},labels:{prefix:"",suffix:"",bestPlotLabel:{show:!0,showValue:!0,fontSize:C._14,color:t,rounding:0,offsetY:0},axis:{xLabel:"",xLabelOffsetY:0,yLabel:"",yLabelOffsetX:0,fontSize:C._14,color:t},xAxisLabels:{show:!0,color:t,fontSize:C._14,offsetY:0},yAxisLabels:{show:!0,color:t,fontSize:C._14,rounding:0,offsetX:0}},title:i,tooltip:{...w,roundingValue:0}}},table:{...E,columnNames:{series:"Series",value:"Value"},th:Q,td:{...K,roundingValue:0}}},ie={responsive:!1,theme:"",useAnimation:!0,animationSpeed:2,userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,width:600,rowHeight:40,padding:I([12,24,12,100]),plots:{startColor:h,endColor:u,radius:6,stroke:l,strokeWidth:1,link:{strokeWidth:2,type:A.CURVED},gradient:{show:!0,intensity:40}},grid:{strokeWidth:1,scaleSteps:10,horizontalGrid:{show:!0,stroke:n,strokeWidth:.5,strokeDasharray:0},verticalGrid:{show:!0,stroke:n,strokeWidth:.5,strokeDasharray:0}},labels:{prefix:"",suffix:"",yAxisLabels:{show:!0,fontSize:C._14,color:t,offsetX:0,bold:!0,showProgression:!0,rounding:1},xAxisLabels:{show:!0,fontSize:C._14,color:t,offsetY:0,bold:!1,rounding:0},startLabels:{show:!0,fontSize:C._10,color:t,offsetY:0,rounding:0,useStartColor:!0},endLabels:{show:!0,fontSize:C._10,color:t,offsetY:0,rounding:0,useEndColor:!0}},legend:{...g,labelStart:"start",labelEnd:"end"},title:i}},table:{...E,columnNames:{series:"Series",start:"Start value",end:"End value",progression:"Progression"},th:Q,td:{...K,roundingValue:0,roundingPercentage:0}}},G={theme:"",customPalette:[],style:{fontFamily:"inherit",shape:A.BAR,chart:{animation:{use:!0,speed:1,acceleration:1},backgroundColor:l,color:t,bar:{color:u,stroke:u,strokeWidth:.7,shadeColor:t},box:{stroke:n,strokeWidth:.7,strokeDasharray:2,dimensions:{width:128,height:256,top:27,bottom:9,left:24,right:24,perspective:18}},title:i,legend:{showDefault:!0,fontSize:C._10,color:t,bold:!1,roundingValue:0,roundingPercentage:0,prefix:"",suffix:"",hideUnderPercentage:3},dataLabel:{show:!0,bold:!0,color:u,fontSize:C._12,rounding:1}}},userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),table:{...E,columnNames:{series:"Series",value:"Value",percentage:"Percentage"},th:Q,td:{...K,roundingValue:0,roundingPercentage:0}}},ne={theme:"",customPalette:[],responsiveBreakpoint:500,showAverage:!0,showMedian:!0,showTotal:!0,roundingAverage:0,roundingMedian:0,roundingValues:0,roundingTotal:0,showSparklines:!0,fontFamily:"inherit",colNames:[],sparkline:{useGradient:!0,showArea:!0,strokeWidth:3,type:A.LINE,smooth:!0,animation:{show:!0,animationFrames:360}},translations:{serie:"Serie",total:"Total",average:"Average",median:"Median",chart:"Evolution"},title:{...i,textAlign:B.CENTER,backgroundColor:l},thead:{backgroundColor:l,color:t,fontSize:C._14,outline:"none",textAlign:B.LEFT,bold:!1},tbody:{backgroundColor:l,color:t,fontSize:C._14,outline:"none",textAlign:B.LEFT,bold:!1},userOptions:U({pdf:!0,csv:!0,img:!0,fullscreen:!0})},Ae={theme:"",style:{fontFamily:"inherit",backgroundColor:l,color:t,shapeSize:C._14,heatmapColors:{useIndividualScale:!1,min:l,max:u}},table:{responsiveBreakpoint:400,borderWidth:1,showSum:!1,showAverage:!1,showMedian:!1,head:{backgroundColor:l,color:t,values:[]}},userOptions:U({pdf:!0,csv:!0,img:!0,fullscreen:!0})},se={responsive:!1,theme:"",customPalette:[],useCssAnimation:!0,animationDelayMs:20,userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:300,width:512,words:{maxFontSize:100,minFontSize:C._10,bold:!1,proximity:10,packingWeight:1,color:t,usePalette:!0},title:i}},table:{...E,columnNames:{series:"Word",value:"Value"},th:Q,td:{...K,roundingValue:0,prefix:"",suffix:""}}},ve={responsive:!1,theme:"",customPalette:[],userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0,stack:!0}),style:{fontFamily:"Arial",chart:{backgroundColor:l,color:t,aspectRatio:"12 / 9",stacked:!1,stackGap:20,scale:{ticks:10},zoom:b,selector:{show:!0,color:t,dashed:!0},tooltip:w,legend:g,title:i,grid:{y:{showAxis:!0,axisColor:t,axisThickness:2,axisName:"",axisLabels:{show:!0,fontSizeRatio:1,color:t,offsetX:0,rounding:1,prefix:"",suffix:""},verticalLines:{show:!0,color:n,hideUnderXLength:20},timeLabels:{show:!0,fontSizeRatio:.8,values:[],rotation:0,offsetY:30,color:t,modulo:12}},x:{showAxis:!0,axisColor:t,axisThickness:2,axisName:"",horizontalLines:{show:!0,color:n,alternate:!0,opacity:20}},zeroLine:{show:!0,color:t,dashed:!0}},line:{plots:{show:!0,radiusRatio:1}},area:{opacity:60},dataLabels:{show:!0,fontSizeRatio:1,useSerieColor:!0,color:t,offsetY:-12},paddingProportions:{top:.1,right:.05,bottom:.1,left:.1}}},table:{...E,rounding:1,columnNames:{period:"Period",total:"Total"},th:Q,td:K}},Ce={theme:"",customPalette:[],userOptions:U({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,padding:I([0,24,0,24]),title:i,nodes:{gap:10,minHeight:20,width:40,labels:{fontSize:C._14,abbreviation:{use:!0,length:3},prefix:"",suffix:"",rounding:0},stroke:l,strokeWidth:1},links:{width:200,opacity:.8,stroke:l,strokeWidth:1}}},table:{...E,columnNames:{source:"Source",target:"Target",value:"Value"},th:Q,td:K}},Ue={responsive:!1,theme:"",useCssAnimation:!0,customPalette:[],userOptions:U({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0}),style:{fontFamily:"inherit",chart:{backgroundColor:l,color:t,height:600,width:1e3,padding:I([24,24,36,36]),comments:{show:!0,showInTooltip:!0,width:200,offsetX:0,offsetY:0},lines:{smooth:!0,strokeWidth:2,opacity:.8},plots:{show:!0,radius:6,opacity:.8},yAxis:{scaleTicks:10,stroke:t,strokeWidth:1,labels:{showAxisNames:!0,axisNames:[],axisNamesColor:t,axisNamesFontSize:C._16,axisNamesBold:!0,roundings:[],prefixes:[],suffixes:[],ticks:{show:!0,fontSize:C._14,color:t,bold:!1,offsetX:0,offsetY:0},datapoints:{show:!0,fontSize:C._14,useSerieColor:!0,color:t,offsetX:0,offsetY:0,bold:!0}}},title:i,legend:g,tooltip:w}},table:{...E,columnNames:{series:"Series",item:"Item"},th:Q,td:K}},Ve={type:"stopwatch",responsive:!1,style:{fontFamily:"inherit",backgroundColor:l,height:300,width:300,title:i},stopwatch:{showHours:!1,showHundredth:!0,cycleSeconds:5,track:{radiusRatio:1,stroke:a,fill:l,strokeWidth:2},tracker:{radiusRatio:1,stroke:l,strokeWidth:1,fill:t,gradient:{show:!0,color:l},aura:{show:!0,radiusRatio:1,fill:t,stroke:l,strokeWidth:0}},cycleTrack:{show:!0,stroke:t,strokeWidth:3},label:{fontSize:C._24,color:t,bold:!1},legend:{backgroundColor:l,buttons:{start:!0,pause:!0,reset:!0,restart:!0,lap:!0,iconColor:t},buttonTitles:{start:"Start",pause:"Pause",resume:"Resume",reset:"Reset",restart:"Restart",lap:"Lap"}}}},Ye={bubbleEffect:!0,bubbleEffectColor:l,bubbleEffectOpacity:.1,centerCircleColor:l,centerCircleDasharray:0,centerCircleOpacity:0,centerCircleRadius:50,centerCircleStroke:n,centerCircleStrokeWidth:.5,coordinatesColor:n,coordinatesFontSize:C._10,coordinatesOffset:0,crosshairDasharray:0,crosshairStroke:n,crosshairStrokeWidth:.5,intersectCirclesFill:n,intersectCirclesRadius:2,isLoading:!1,parentId:"",showCenterCircle:!0,showCoordinates:!0,showCrosshair:!0,showIntersectCircles:!0,useWaveOnClick:!0},ze={open:!1,maxHeight:2e3,head:{useArrowSlot:!1,backgroundColor:l,color:t,iconColor:u,padding:"12px 6px"},body:{backgroundColor:l,color:t}},It={animationFrames:60,animationValueStart:0,backgroundColor:l,fontFamily:"inherit",layoutClass:"",layoutCss:"",prefix:"",suffix:"",title:"",titleBold:!0,titleColor:t,titleClass:"",titleCss:"",titleFontSize:C._16,useAnimation:!0,valueBold:!0,valueColor:u,valueClass:"",valueCss:"",valueFontSize:C._32,valueRounding:0},kt={type:"onion",onion:{gutterColor:n,gutterOpacity:.3,gutterBlur:0,trackHueRotate:20,trackBlur:1,trackColor:c},line:{gutterColor:n,gutterOpacity:.3,gutterBlur:0,trackHueRotate:20,trackBlur:1,trackColor:c},bar:{gutterColor:n,gutterOpacity:.3,gutterBlur:0,trackHueRotate:20,trackBlur:1,trackColor:c}},jo={readonly:!1,style:{fontFamily:"inherit",itemSize:32,backgroundColor:l,colors:{activeReadonly:["#e20001","#ff9f03","#ffd004","#61c900","#059f00"],active:["#e20001","#ff9f03","#ffd004","#61c900","#059f00"],inactive:[a,a,a,a,a]},icons:{filled:!1,useGradient:!0},title:{...i,textAlign:B.CENTER,offsetY:6,subtitle:{...i.subtitle,offsetY:12}},rating:{show:!0,fontSize:C._24,bold:!0,roundingValue:1,position:B.BOTTOM,offsetX:0,offsetY:0},tooltip:{show:!0,fontSize:C._14,offsetY:0,color:t,bold:!0,backgroundColor:l,borderColor:a,borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)"}}},St={type:A.STAR,readonly:!1,from:1,to:5,style:{fontFamily:"inherit",animated:!0,itemSize:32,backgroundColor:l,star:{activeColor:y,borderColor:y,borderWidth:3,apexes:5,inactiveColor:a,useGradient:!0},image:{src:"",inactiveOpacity:.3,alt:"rating image"},title:{textAlign:B.CENTER,fontSize:C._20,color:t,bold:!0,text:"",offsetY:6,subtitle:{fontSize:C._14,color:n,bold:!1,text:"",offsetY:12}},rating:{show:!0,fontSize:C._24,bold:!0,roundingValue:1,position:B.BOTTOM,offsetY:0,offsetX:0},tooltip:{show:!0,fontSize:C._14,offsetY:0,color:t,bold:!0,backgroundColor:l,borderColor:a,borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)"}}},Dt={style:{backgroundColor:l,color:t,fixedTools:!1,fontFamily:"inherit",hideWhenFolded:!1,showPrint:!0,showSave:!0,showTooltips:!0,buttons:{borderRadius:6,controls:{backgroundColor:l,color:t,border:"1px solid #262626",selected:{backgroundColor:t,color:s,border:`1px solid ${n}`}},shapes:{backgroundColor:l,color:t,border:"1px solid #262626",selected:{backgroundColor:t,color:s,border:`1px solid ${n}`}}},tooltips:{backgroundColor:s,color:t,border:`1px solid ${n}`,borderRadius:6,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)"}},translations:{colorAlpha:"Color alpha",dashedLines:"Dashed lines",filled:"Filled",fontSize:"Font size",thickness:"Thickness",title:"Annotations",tooltipGroup:"Select & group",tooltipDelete:"Delete",tooltipMove:"Move",tooltipResize:"Resize",tooltipBringToFront:"Bring to front",tooltipBringToBack:"Bring to back",tooltipDuplicate:"Duplicate",tooltipUndo:"Undo last shape",tooltipPdf:"Save pdf",tooltipSave:"Save annotations",tooltipShapeCircle:"Draw circle",tooltipShapeRect:"Draw rect",tooltipShapeArrow:"Draw arrow",tooltipShapeFreehand:"Freehand line",tooltipShapeText:"Text mode",tooltipShapeTextLeft:"Align left",tooltipShapeTextCenter:"Align center",tooltipShapeTextRight:"Align right",tooltipShapeTextBullet:"Bullet points",tooltipShapeTextBold:"Bold",tooltipShapeTextItalic:"Italic",tooltipShapeTextUnderline:"Underlined",tooltipShapeColor:"Color"}},Al={locked:!1,style:{board:{backgroundColor:l,color:t,aspectRatio:"1/1.4141",border:`1px solid ${a}`},item:{backgroundColor:l,borderColor:a},resizeHandles:{backgroundColor:t,border:"none"}},allowPrint:!0},Ut={type:A.LINE,style:{backgroundColor:l,color:t,maxHeight:500,animated:!0,flow:{color:a},parallelCoordinatePlot:{color:a},treemap:{color:a},dumbbell:{color:a},stripPlot:{color:a},galaxy:{color:a},bar3d:{color:a},sparkHistogram:{color:a},sparkStackbar:{color:a},sparkbar:{color:a},thermometer:{color:a},relationCircle:{color:a},molecule:{color:a},tiremarks:{color:a},chestnut:{color:a},sparkline:{color:a,strokeWidth:.7},donutEvolution:{axis:{show:!0,color:a,strokeWidth:.5},donuts:{strokeWidth:.5,color:a}},line:{axis:{show:!0,color:a,strokeWidth:.5},path:{color:a,strokeWidth:1,showPlots:!0}},bar:{axis:{show:!0,color:a,strokeWidth:.5},borderRadius:.5,color:a,barWidth:9},donut:{color:a,strokeWidth:64},onion:{color:a},gauge:{color:a},quadrant:{grid:{color:a,strokeWidth:.5},plots:{radius:1.5,color:a}},radar:{grid:{color:a,strokeWidth:.5},shapes:{color:a}},waffle:{color:a},table:{th:{color:a},td:{color:a,strokeWidth:.5}},rating:{useSmiley:!1,color:a,filled:!0,strokeWidth:1,maxWidth:200},verticalBar:{axis:{show:!0,color:a,strokeWidth:.5},borderRadius:.5,color:a},heatmap:{cellsX:26,cellsY:7,color:a},candlesticks:{axis:{show:!0,color:a,strokeWidth:.5},candle:{color:a,strokeWidth:1}},pyramid:{color:a},wheel:{color:a},rings:{color:a}}},xe={mode:"download",quality:1,style:{info:{background:l,bold:!0,border:"none",borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)",color:t,fontFamily:"inherit",fontSize:C._14,minWidth:300,padding:12,top:-100},captureButton:{background:a,bold:!0,border:"none",borderRadius:4,boxShadow:"0 6px 12px -6px rgba(0,0,0,0.2)",color:t,fontFamily:"inherit",fontSize:C._14,minHeight:40,padding:"8px 12px"},cancelButton:{background:"#F17171",border:"none",borderRadius:10,color:l,right:-14,size:28,top:-14},captureArea:{background:"radial-gradient(transparent, rgba(0,0,0,0.15))",border:`dashed 4px ${t}`,initialHeight:200,initialWidth:200},handles:{background:l,border:`4px solid ${t}`,borderRadius:4,size:40}},translations:{captureButton:"capture",info:"Resize or move and click to capture"}},Oe={fontFamily:"inherit",maxHeight:500,rowsPerPage:25,style:{th:{backgroundColor:a,color:t,outline:`1px solid ${l}`,selected:{backgroundColor:u,color:l}},rows:{even:{backgroundColor:"#f3f5f7",color:t,selectedCell:{backgroundColor:"#6375dd5b",color:t},selectedNeighbors:{backgroundColor:"#63dd821e",color:t}},odd:{backgroundColor:l,color:t,selectedCell:{backgroundColor:"#6375dd5b",color:t},selectedNeighbors:{backgroundColor:"#63dd821e",color:t}}},inputs:{backgroundColor:l,color:t,border:"1px solid #CCCCCC",accentColor:u},dropdowns:{backgroundColor:a,color:t,icons:{selected:{color:"#008000",unicode:"✔"},unselected:{color:"#ff0000",unicode:"✖"}}},infoBar:{backgroundColor:a,color:t},pagination:{buttons:{backgroundColor:a,color:t,opacityDisabled:.5},navigationIndicator:{backgroundColor:u}},exportMenu:{backgroundColor:a,color:t,buttons:{backgroundColor:"#FAFAFA",color:t}},closeButtons:{backgroundColor:"transparent",color:t,borderRadius:"50%"},chart:{modal:{backgroundColor:a,color:t,buttons:{selected:{backgroundColor:u,color:l},unselected:{backgroundColor:l,color:t}}},layout:{backgroundColor:l,axis:{stroke:"#ccd1d4",strokeWidth:2},bar:{fill:"",stroke:l},line:{stroke:"#6376DD75",strokeWidth:4,plot:{fill:"#22348f",stroke:l,strokeWidth:1,radius:{selected:6,unselected:4}},selector:{stroke:"#ccc",strokeWidth:1,strokeDasharray:5}},labels:{color:t},progression:{stroke:t,strokeWidth:2,strokeDasharray:4,arrowSize:7}}}},translations:{average:"Average",by:"by",chooseCategoryColumn:"Choose category column",exportAllButton:"CSV all",exportAllLabel:"Export all rows of your current filtered dataset",exportPageButton:"CSV page",exportPageLabel:"Export rows of the current page",from:"From",inputPlaceholder:"Search...",makeDonut:"Generate",nb:"Nb",page:"Page",paginatorLabel:"Rows per page",sizeWarning:"Displaying too many rows at a time can lead to slower performance",sum:"Somme",to:"To",total:"Total",totalRows:"Total rows"},useChart:!0};return{vue_ui_xy:T,vue_ui_donut:Y,vue_ui_treemap:$,vue_ui_waffle:S,vue_ui_radar:W,vue_ui_quadrant:oe,vue_ui_gauge:te,vue_ui_wheel:he,vue_ui_tiremarks:le,vue_ui_chestnut:H,vue_ui_onion:P,vue_ui_vertical_bar:X,vue_ui_heatmap:q,vue_ui_scatter:m,vue_ui_candlestick:_,vue_ui_sparkline:x,vue_ui_sparkbar:V,vue_ui_sparkstackbar:J,vue_ui_sparkhistogram:ke,vue_ui_sparkgauge:ae,vue_ui_spark_trend:ge,vue_ui_quick_chart:Z,vue_ui_age_pyramid:ee,vue_ui_relation_circle:z,vue_ui_thermometer:D,vue_ui_rings:fe,vue_ui_donut_evolution:M,vue_ui_mood_radar:N,vue_ui_molecule:j,vue_ui_nested_donuts:O,vue_ui_galaxy:ce,vue_ui_strip_plot:re,vue_ui_dumbbell:ie,vue_ui_3d_bar:G,vue_ui_table_sparkline:ne,vue_ui_table_heatmap:Ae,vue_ui_word_cloud:se,vue_ui_xy_canvas:ve,vue_ui_flow:Ce,vue_ui_parallel_coordinate_plot:Ue,vue_ui_timer:Ve,vue_ui_cursor:Ye,vue_ui_accordion:ze,vue_ui_kpi:It,vue_ui_mini_loader:kt,vue_ui_smiley:jo,vue_ui_rating:St,vue_ui_annotator:Dt,vue_ui_dashboard:Al,vue_ui_skeleton:Ut,vue_ui_screenshot:xe,vue_ui_table:Oe,vue_ui_digits:{height:"100%",width:null,backgroundColor:l,digits:{color:t,skeletonColor:a}}}}const Da=t=>(e.pushScopeId("data-v-73139463"),t=t(),e.popScopeId(),t),FC=["id"],NC=["xmlns"],_C=["stroke","fill"],SC=["xmlns"],LC=["stroke","fill"],EC=["xmlns"],IC=["stroke"],$C=["fill"],MC=["stroke","fill"],UC=["stroke","fill"],VC=["fill"],QC=["stroke","fill"],TC=["stroke","fill"],OC=["fill"],zC=["stroke","fill"],DC=["stroke","fill"],PC=["fill"],HC=["stroke","fill"],RC=["stroke","fill"],GC=["fill"],WC=["stroke","fill"],KC=["stroke","fill"],jC=["xmlns"],XC=["stroke"],qC=["stroke"],YC=["stroke","fill"],JC=["stroke","fill"],ZC=["stroke","fill"],ew=["stroke","fill"],tw=["stroke","fill"],ow=["stroke","fill"],lw=["stroke","fill"],aw=["stroke","fill"],rw=["stroke","fill"],nw=["stroke","fill"],sw=["stroke","fill"],iw=["stroke","fill"],uw=["stroke","fill"],Aw=["stroke","fill"],cw=["stroke","fill"],dw=["stroke","fill"],hw=["stroke","fill"],fw=["stroke","fill"],vw=["stroke","fill"],gw=["stroke","fill"],pw=["stroke","fill"],yw=["stroke","fill"],mw=["stroke","fill"],bw=["xmlns"],kw=["stroke"],Cw=["xmlns"],ww=["stroke"],Bw=["xmlns"],xw=["stroke"],Fw=["xmlns"],Nw=["fill"],_w=["fill"],Sw=["fill"],Lw=["fill"],Ew=["fill"],Iw=["fill"],$w=["fill"],Mw=["fill"],Uw=["fill"],Vw=["fill"],Qw=["fill"],Tw=["fill"],Ow=["xmlns"],zw=["stroke"],Dw=["stroke"],Pw=["stroke"],Hw=["stroke"],Rw=["stroke"],Gw=["stroke"],Ww=["xmlns"],Kw=["stroke"],jw=["stroke"],Xw=["stroke"],qw=["stroke"],Yw=["stroke"],Jw=["stroke"],Zw=["stroke"],eB=["stroke"],tB=["stroke"],oB=["xmlns"],lB=["stroke"],aB=["xmlns"],rB=["stroke"],nB=["stroke"],sB=["stroke"],iB=["stroke"],uB=["stroke"],AB=["stroke"],cB=["stroke"],dB=["stroke"],hB=["stroke"],fB=["xmlns"],vB=["x1","x2","stroke"],gB=["xmlns"],pB=["x","y","width","height","fill"],yB=["y","width","height","fill"],mB=["xmlns"],bB=["fill"],kB=["fill"],CB=["fill"],wB=["xmlns"],BB=["x1","x2","y1","y2","stroke"],xB=["stroke"],FB=["fill"],NB=["xmlns"],_B=["fill"],SB=["fill"],LB=["x1","y1","x2","y2","stroke-width","stroke"],EB=["xmlns"],IB={key:0},$B=["stroke","stroke-width"],MB=["stroke","stroke-width"],UB=["x1","x2","y1","y2","stroke","stroke-width"],VB=["x1","x2","y1","y2","stroke","stroke-width"],QB=["x1","x2","y1","y2","stroke","stroke-width"],TB=["x","y","height","width","fill"],OB=["xmlns","viewBox"],zB=["x","y","stroke","fill"],DB=["xmlns"],PB=["d","stroke"],HB=["cx","cy","r","fill","stroke"],RB=["cx","cy","r","fill","stroke"],GB=["x","y","width","fill"],WB=["cx","cy","fill"],KB=["cx","cy","fill"],jB=["stroke"],XB=["xmlns"],qB=["stroke","stroke-width"],YB=["stroke","stroke-width"],JB=["stroke","stroke-width"],ZB=["fill"],ex=["fill"],tx=["fill"],ox=["fill"],lx=["fill"],ax=["fill"],rx=["xmlns"],nx={key:0},sx=["stroke","stroke-width"],ix=["stroke","stroke-width"],ux=["stroke","stroke-width"],Ax={key:1},cx=["r","fill"],dx=["r","fill"],hx=["xmlns"],fx={key:0},vx=["stroke","stroke-width"],gx=["stroke","stroke-width"],px=["fill","rx","x","y","width","height"],yx=["xmlns"],mx=["stroke-width","stroke"],bx=["stroke-width","stroke"],kx=["stroke-width","stroke"],Cx=["xmlns"],wx=["stroke"],Bx=["stroke"],xx=["stroke"],Fx=["stroke"],Nx=["fill"],_x=["stroke"],Sx=["xmlns"],Lx=["stroke","stroke-width"],Ex=["stroke","stroke-width"],Ix=["fill","r"],$x=["fill","r"],Mx=["fill","r"],Ux=["fill","r"],Vx=["fill","r"],Qx=["fill","r"],Tx=["fill","r"],Ox=["fill","r"],zx=["fill","r"],Dx=["xmlns"],Px=["d","stroke","stroke-width"],Hx=["d","stroke","stroke-width"],Rx=["d","stroke","stroke-width"],Gx=["d","stroke","stroke-width"],Wx=["stroke","stroke-width"],Kx=["stroke","stroke-width"],jx=["stroke","stroke-width"],Xx=["fill"],qx=["fill"],Yx=["xmlns"],Jx=["x","y","fill"],Zx=["x","y","fill"],e5=["x","y","fill"],t5=["xmlns"],o5=["fill"],l5=["fill"],a5=["y1","y2","stroke","stroke-width"],r5=["x1","x2","stroke","stroke-width"],n5=["xmlns","stroke"],s5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),i5=["fill"],u5=["xmlns","stroke"],A5=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-73139463></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-73139463></path><path d="M9 10l.01 0" data-v-73139463></path><path d="M15 10l.01 0" data-v-73139463></path><path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" data-v-73139463></path>',5),c5=[A5],d5=["xmlns","stroke"],h5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),f5=["fill"],v5=["xmlns","stroke"],g5=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-73139463></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-73139463></path><path d="M9 10l.01 0" data-v-73139463></path><path d="M15 10l.01 0" data-v-73139463></path><path d="M9 15l6 0" data-v-73139463></path>',5),p5=[g5],y5=["xmlns","stroke"],m5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),b5=["fill"],k5=["xmlns","stroke"],C5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),w5=Da(()=>e.createElementVNode("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"},null,-1)),B5=Da(()=>e.createElementVNode("path",{d:"M9 10l.01 0"},null,-1)),x5=Da(()=>e.createElementVNode("path",{d:"M15 10l.01 0"},null,-1)),F5=[C5,w5,B5,x5],N5=["xmlns","stroke"],_5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),S5=["fill"],L5=["xmlns","stroke"],E5=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-73139463></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-73139463></path><path d="M9 10l.01 0" data-v-73139463></path><path d="M15 10l.01 0" data-v-73139463></path><path d="M9.5 15a3.5 3.5 0 0 0 5 0" data-v-73139463></path>',5),I5=[E5],$5=["xmlns","stroke"],M5=Da(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),U5=["fill"],V5=["xmlns","stroke"],Q5=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-73139463></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-73139463></path><path d="M9 9l.01 0" data-v-73139463></path><path d="M15 9l.01 0" data-v-73139463></path><path d="M8 13a4 4 0 1 0 8 0h-8" data-v-73139463></path>',5),T5=[Q5],O5=["xmlns"],z5=["points","fill","stroke","stroke-width"],D5=["xmlns"],P5={key:0},H5=["stroke","stroke-width"],R5=["y","width","fill","rx"],G5={__name:"vue-ui-skeleton",props:{config:{type:Object,default(){return{}}}},setup(t){const o=t,{vue_ui_skeleton:a}=ft(),n=e.ref(`vue-ui-skeleton-${Math.random()}`),r=e.computed(()=>Je({userConfig:o.config,defaultConfig:a})),l=e.computed(()=>r.value.style.animated),s=e.computed(()=>r.value.type),u=e.ref([60,50,55,36,40,25,26,12]),h=e.computed(()=>Qo({plot:{x:50,y:50},radius:40,sides:6}).path),f=e.computed(()=>Qo({plot:{x:50,y:50},radius:30,sides:6}).path),c=e.computed(()=>Qo({plot:{x:50,y:50},radius:20,sides:6}).path),y=e.computed(()=>Qo({plot:{x:50,y:50},radius:10,sides:6}).path),C=e.ref([{root:{x:70,y:77,r:44,opacity:100},bars:[{x:200,y:37,opacity:100,width:240},{x:200,y:118,opacity:100,width:180},{x:200,y:253,opacity:100,width:80}]},{root:{x:70,y:177,r:32,opacity:70},bars:[{x:200,y:145,opacity:70,width:160},{x:200,y:172,opacity:70,width:140},{x:200,y:199,opacity:70,width:120}]},{root:{x:70,y:257,r:24,opacity:40},bars:[{x:200,y:64,opacity:40,width:220},{x:200,y:91,opacity:40,width:200},{x:200,y:226,opacity:40,width:100}]}]),A=e.ref([{y:200,height:100,bar:50},{y:180,height:100,bar:40},{y:150,height:100,bar:30},{y:120,height:80,bar:50},{y:110,height:60,bar:30},{y:80,height:80,bar:10},{y:50,height:80,bar:40},{y:24,height:40,bar:24},{y:44,height:20,bar:13},{y:32,height:45,bar:19}]),B=e.ref([[3,2.5],[4,3.1],[8,6],[9.5,6.5],[12,11],[16,15],[18,18.2],[25,24],[24,26],[32,32],[33,32],[32,31],[38,37],[37,38],[42,41],[40,41],[44,45],[38,35],[31,32]]),v=e.ref([{x:40,y:30},{x:45,y:28},{x:50,y:25},{x:55,y:20},{x:60,y:27},{x:65,y:14},{x:70,y:23},{x:75,y:16},{x:80,y:25},{x:85,y:10},{x:90,y:18},{x:95,y:7},{x:100,y:12},{x:105,y:10},{x:110,y:20},{x:115,y:7},{x:120,y:14},{x:125,y:10},{x:130,y:19},{x:135,y:3},{x:140,y:10},{x:145,y:2},{x:150,y:1}]);function i(w,U=1){return{x:200+160*Math.cos(29.85+w*Math.PI/180)*U,y:200+160*Math.sin(29.85+w*Math.PI/180)*U}}const g=e.computed(()=>{const w=[];for(let I=0;I<100;I+=1)w.push({x1:i(360/100*I).x,y1:i(360/100*I).y,x2:i(360/100*I,.9).x,y2:i(360/100*I,.9).y,color:r.value.style.wheel.color});return w});return(w,U)=>(e.openBlock(),e.createElementBlock("div",{id:n.value,class:e.normalizeClass({"vue-ui-skeleton":!0,"vue-ui-skeleton-animated":l.value}),style:e.normalizeStyle(`background:${r.value.style.backgroundColor};color:${r.value.style.color};display:flex;align-items:center;justify-content:center;`)},[s.value==="flow"?(e.openBlock(),e.createElementBlock("svg",{key:0,xmlns:e.unref(We),width:"100%",viewBox:"0 0 80 60",style:e.normalizeStyle(`background:${r.value.style.backgroundColor}`)},[e.createElementVNode("path",{d:"M 5 5 L 5 55 M 75 5 L 75 55 M 28 5 L 28 55 M 52 5 L 52 55 M 5 8 L 28 12 L 52 9 L 75 8 L 75 12 L 52 12 L 28 21 L 5 29 Z M 5 34 L 28 35 L 52 24 L 75 21 L 75 27 L 52 30 L 28 44 L 52 39 L 75 41 L 75 47 L 52 45 L 28 52 L 5 52 Z",stroke:r.value.style.flow.color,"stroke-width":.8,"stroke-linecap":"round","stroke-linejoin":"round",fill:r.value.style.flow.color},null,8,_C)],12,NC)):e.createCommentVNode("",!0),s.value==="parallelCoordinatePlot"?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),width:"100%",viewBox:"0 0 80 60",style:e.normalizeStyle(`background:${r.value.style.backgroundColor}`)},[e.createElementVNode("path",{d:"M 5 5 L 5 55 M 75 5 L 75 55 M 28 5 L 28 55 M 52 5 L 52 55 M 5 10 A 1 1 0 0 0 5 12 A 1 1 0 0 0 5 10 M 28 15 A 1 1 0 0 0 28 17 A 1 1 0 0 0 28 15 M 52 8 A 1 1 0 0 0 52 10 A 1 1 0 0 0 52 8 M 75 11 A 1 1 0 0 0 75 13 A 1 1 0 0 0 75 11 M 6 11 L 27 16 M 29 16 L 51 9 M 53 9 L 74 12 M 5 50 A 1 1 0 0 0 5 48 A 1 1 0 0 0 5 50 M 28 39 A 1 1 0 0 0 28 41 A 1 1 0 0 0 28 39 M 52 45 A 1 1 0 0 0 52 47 A 1 1 0 0 0 52 45 M 75 45 A 1 1 0 0 0 75 47 A 1 1 0 0 0 75 45 M 6 49 L 27 40 M 29 40 L 51 46 M 53 46 L 74 46 M 5 25 A 1 1 0 0 0 5 27 A 1 1 0 0 0 5 25 M 28 31 A 1 1 0 0 0 28 33 A 1 1 0 0 0 28 31 M 52 23 A 1 1 0 0 0 52 25 A 1 1 0 0 0 52 23 M 75 21 A 1 1 0 0 0 75 23 A 1 1 0 0 0 75 21 M 6 26 L 27 32 M 29 32 L 51 24 M 53 24 L 74 22",stroke:r.value.style.parallelCoordinatePlot.color,"stroke-width":.8,"stroke-linecap":"round","stroke-linejoin":"round",fill:r.value.style.parallelCoordinatePlot.color},null,8,LC)],12,SC)):e.createCommentVNode("",!0),s.value==="dumbbell"?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),width:"100%",viewBox:"0 0 100 55",style:e.normalizeStyle(`background:${r.value.style.backgroundColor}`)},[e.createElementVNode("line",{x1:"3",x2:"3",y1:"3",y2:"67",stroke:r.value.style.dumbbell.color,"stroke-width":.5,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,IC),e.createElementVNode("path",{d:`
268
268
  M 30,11
269
269
  C 39,10 39,10
270
270
  45,11
@@ -701,7 +701,7 @@ Provide an array of objects of type:
701
701
  ${this.includeDeleteButton(t)}
702
702
  </g>
703
703
  `;default:return""}},copy(t){return JSON.parse(JSON.stringify(t))},clickShape(t){const o=t.target.id;switch(!0){case this.isDeleteMode:this.shapes=[...this.shapes].filter(a=>a.id!==o),this.lastSelectedShape=void 0;break;default:this.lastSelectedShape=this.shapes.find(a=>a.id===o);break}},deleteEmptyTextElement(){!this.lastSelectedShape||!this.lastSelectedShape.id.includes("text")||this.lastSelectedShape.textContent===""&&(this.shapes=this.shapes.filter(t=>t.id!==this.lastSelectedShape.id),this.lastSelectedShape=this.shapes.at(-1))},drawUp(t=!1){if(!this.activeShape||!this.isDrawing)return;this.currentPointer.end={x:this.pointerPosition.x,y:this.pointerPosition.y};let o;this.shapes.length>0&&this.currentTarget&&(o=[...this.shapes].find(u=>u.id===this.currentTarget.id));let a,n,r;o&&(a=o.x-this.currentPointer.end.x,n=o.y-this.currentPointer.end.y,r=Math.sqrt(a*a+n*n));let l,s;t?(l=Math.max(this.currentPointer.end.x,o.x),s=Math.min(this.currentPointer.end.x,o.x),Math.max(this.currentPointer.end.y,o.y),Math.min(this.currentPointer.end.y,o.y)):(l=Math.max(this.currentPointer.end.x,this.currentPointer.start.x),s=Math.min(this.currentPointer.end.x,this.currentPointer.start.x),Math.max(this.currentPointer.end.y,this.currentPointer.start.y),Math.min(this.currentPointer.end.y,this.currentPointer.start.y)),this.$nextTick(()=>{switch(!0){case this.activeShape==="arrow":this.shapes.at(-1).endX=this.currentPointer.end.x,this.shapes.at(-1).endY=this.currentPointer.end.y;break;case this.activeShape==="circle":const u=20;this.shapes.at(-1).circleRadius=this.isDrawingNewShape?this.copy(l-s)+u:r+u;break;case this.activeShape==="line":this.shapes.at(-1).path+=` ${this.pointerPosition.x} ${this.pointerPosition.y} `;break;case["rect","group"].includes(this.activeShape):const h=20;this.shapes.at(-1).rectWidth=this.copy(this.currentPointer.end.x-this.shapes.at(-1).x)>0?this.copy(this.currentPointer.end.x-this.shapes.at(-1).x):h,this.shapes.at(-1).rectHeight=this.copy(this.currentPointer.end.y-this.shapes.at(-1).y)>0?this.copy(this.currentPointer.end.y-this.shapes.at(-1).y):h}})},drawDown(){if(this.isDrawing=!0,!this.activeShape&&!this.isSelectMode||!this.isDrawing)return;this.isDrawingNewShape=!0,this.currentPointer.start={x:this.pointerPosition.x,y:this.pointerPosition.y};let t=`${this.isSelectMode?"group":this.activeShape}_${Math.random()*1e4}_${Date.now()}`;switch(!0){case this.activeShape==="arrow":this.shapes.push({id:t,x:this.pointerPosition.x,y:this.pointerPosition.y,endX:this.pointerPosition.x,endY:this.pointerPosition.y,type:this.activeShape,color:this.copy(this.selectedColor),strokeWidth:this.copy(Math.abs(this.strokeSize)),isDash:this.copy(this.isDash)}),this.lastSelectedShape=this.shapes.at(-1);break;case this.activeShape==="circle":this.shapes.push({alpha:this.options.circle.filled?this.colorTransparency:"",id:t,color:this.copy(this.selectedColor),isFilled:this.copy(this.options.circle.filled),circleRadius:this.copy(this.options.circle.radius),circleStrokeWidth:this.copy(this.options.circle.strokeWidth),type:this.activeShape,x:this.pointerPosition.x,y:this.pointerPosition.y,strokeWidth:this.copy(Math.abs(this.strokeSize)),isDash:this.copy(this.isDash)}),this.lastSelectedShape=this.shapes.at(-1);break;case this.activeShape==="line":this.shapes.push({alpha:this.copy(this.colorTransparency),id:t,x:this.pointerPosition.x,y:this.pointerPosition.y,type:this.activeShape,color:this.copy(this.selectedColor),strokeWidth:this.copy(Math.abs(this.strokeSize)),isDash:this.copy(this.isDash),path:`${this.pointerPosition.x} ${this.pointerPosition.y}`}),this.lastSelectedShape=this.shapes.at(-1);break;case this.activeShape==="rect":this.shapes.push({alpha:this.options.rect.filled?this.colorTransparency:"",id:t,color:this.copy(this.selectedColor),isFilled:this.copy(this.options.rect.filled),rectStrokeWidth:this.copy(this.options.rect.strokeWidth),rectHeight:this.copy(this.options.rect.height),rectWidth:this.copy(this.options.rect.width),type:this.activeShape,x:this.pointerPosition.x,y:this.pointerPosition.y,strokeWidth:this.copy(Math.abs(this.strokeSize)),isDash:this.copy(this.isDash)}),this.lastSelectedShape=this.shapes.at(-1);break;case this.activeShape==="group":this.shapes.push({alpha:1,id:`group_${Math.random()*1e4}_${Date.now()}`,x:this.pointerPosition.x,y:this.pointerPosition.y,isFilled:!1,rectHeight:this.copy(this.options.rect.height),rectWidth:this.copy(this.options.rect.width),rectStrokeWidth:1,type:"group",color:"grey",strokeWidth:1,isDash:!0,content:""});break}if((this.pointerDownId!==-1||!this.isDrawing)&&(clearInterval(this.pointerDownId),this.pointerDownId=-1),this.pointerDownId===-1&&this.isDrawing){this.pointerDownId=setInterval(this.drawUp,1);return}},move(t){if(!(!t||!t.id||t.type==="line"))switch(this.lastSelectedShape=t,!0){case t.type==="arrow":t.x=this.copy(this.pointerPosition.x),t.y=this.copy(this.pointerPosition.y);break;case t.type==="circle":t.x=this.copy(this.pointerPosition.x),t.y=this.copy(this.pointerPosition.y);break;case t.type==="group":this.moveGroup(t);break;case t.type==="rect":t.x=this.copy(this.pointerPosition.x-t.rectWidth/2),t.y=this.copy(this.pointerPosition.y-t.rectHeight/2);break;case t.type==="text":const o=Array.from(document.getElementsByTagName("text")).find(s=>s.id===t.id);if(!o)return;const{x:a,y:n,width:r,height:l}=o.getBBox();t.textAlign==="start"&&(t.x=this.copy(this.pointerPosition.x-r/2)),t.textAlign==="middle"&&(t.x=this.copy(this.pointerPosition.x)),t.textAlign==="end"&&(t.x=this.copy(this.pointerPosition.x+r/2)),t.lines>1?t.y=this.copy(this.pointerPosition.y-l/3):t.y=this.copy(this.pointerPosition.y+t.fontSize/2);break}},moveDown(){if(!this.currentTarget||!this.currentTarget.id)return;const t=this.currentTarget.id,o=this.shapes.find(a=>a.id===t);this.shapes=this.shapes.filter(a=>a.id!==t),this.shapes.push(o),this.pointerDownId===-1&&t&&this.move(o)},print(){this.isPrinting=!0,this.isDeleteMode=!1,this.isMoveMode=!1,this.isResizeMode=!1,this.isTextMode=!1,this.isWriting=!1,this.isSelectMode=!1,this.activeShape=void 0,this.showCaret=!1,this.$nextTick(()=>{const t=this.$refs.drawSvgContainer,o={height:851.89,width:595.28};this.walkTheDOM(t,a=>{a&&a.nodeType===1&&(a.setAttribute("font-family","Helvetica"),a.style.fontFamily="Helvetica",a.replaceWith(a))}),Ps(t).then(a=>{const n=a.width,r=a.height,l=n/o.width*o.height;let s=r,u=0;const h=o.width,f=582.28/n*r,c=a.toDataURL("image/png",1),y=new pt("","pt","a4");if(s<l)y.addImage(c,"PNG",0,0,h,f,"","FAST");else for(;s>0;)y.addImage(c,"PNG",0,u,h,f,"","FAST"),s-=l,u-=o.height-24,s>0&&y.addPage();y.save(`${new Date().toLocaleDateString()}_annotations.pdf`)}).finally(()=>{this.isPrinting=!1,this.walkTheDOM(t,a=>{a&&a.nodeType===1&&(a.setAttribute("font-family",this.FINAL_CONFIG.style.fontFamily),a.style.fontFamily=this.FINAL_CONFIG.style.fontFamily,a.replaceWith(a))})})})},resetDraw(){this.isDrawing=!1,this.isMouseDown=!1,this.pointerDownId=-1,this.isSelectMode&&this.groupShapes(),clearInterval(this.pointerDownId)},resize(){this.isDrawingNewShape=!1;const t=this.currentTarget.id;if(!t)return;this.isDrawing=!0;const o=this.shapes.find(a=>a.id===t);this.activeShape=o.type,this.shapes=this.shapes.filter(a=>a.id!==t),this.shapes.push(o),this.drawUp(!0)},setFillOfSelectedRect(){!this.lastSelectedShape||!this.lastSelectedShape.id.includes("rect")||(this.lastSelectedShape.isFilled=!this.lastSelectedShape.isFilled)},setFillOfSelectedCircle(){!this.lastSelectedShape||!this.lastSelectedShape.id.includes("circle")||(this.lastSelectedShape.isFilled=!this.lastSelectedShape.isFilled)},setColorOfSelectedShape(){this.lastSelectedShape&&(this.lastSelectedShape.color=this.copy(this.selectedColor),!["arrow","text"].includes(this.lastSelectedShape.id)&&(this.lastSelectedShape.alpha=this.copy(this.colorTransparency)))},setSelectedShapeToDash(){!this.lastSelectedShape||this.lastSelectedShape.type==="text"||(this.lastSelectedShape.isDash=this.copy(this.isDash))},setTransparencyOfSelectedShape(){!this.lastSelectedShape||["arrow","text"].includes(this.lastSelectedShape.id)||(this.lastSelectedShape.alpha=this.copy(this.colorTransparency))},setStrokeWidthOfSelectedShape(){!this.lastSelectedShape||!["arrow","circle","rect","line"].includes(this.lastSelectedShape.type)||(this.lastSelectedShape.strokeWidth=this.copy(Math.abs(this.strokeSize)))},setCurrentStyleOfSelectedText(){!this.lastSelectedShape||this.lastSelectedShape.type!=="text"||(this.lastSelectedShape.isBold=this.copy(this.isBold),this.lastSelectedShape.isItalic=this.copy(this.isItalic),this.lastSelectedShape.isUnderline=this.copy(this.isUnderline),this.lastSelectedShape.fontSize=this.copy(this.textFont),this.lastSelectedShape.isBulletTextMode=this.copy(this.isBulletTextMode))},setPointer(t){t.preventDefault();const a=this.$refs.mainSvg.getBoundingClientRect();let n,r;t.touches&&t.touches.length>0?(n=t.touches[0].clientX,r=t.touches[0].clientY):(n=t.clientX,r=t.clientY),this.pointerPosition.x=(n-a.left)/a.width*this.svgWidth,this.pointerPosition.y=(r-a.top)/a.height*this.svgHeight},setShapeTo(t){if(this.showCaret=!1,this.deleteEmptyTextElement(),t===this.activeShape){this.activeShape=void 0,this.isDrawMode=!1;return}this.isDrawMode=!0,this.isDeleteMode=!1,this.isMoveMode=!1,this.isResizeMode=!1,this.isTextMode=!1,this.activeShape=t},toggleSummary(){this.isSummaryOpen=!this.isSummaryOpen,this.isSummaryOpen||(this.isMoveMode=!1,this.isResizeMode=!1,this.isTextMode=!1,this.isWriting=!1,this.activeShape=void 0,this.showCaret=!1,this.isDeleteMode=!1,this.isWriting=!1),this.$emit("toggleOpenState",{isOpen:this.isSummaryOpen})},walkTheDOM(t,o){for(o(t),t=t.firstChild;t;)this.walkTheDOM(t,o),t=t.nextSibling},save(){this.$emit("saveAnnotations",{shapes:this.shapes,lastSelectedShape:this.lastSelectedShape})}}},Aa=t=>(e.pushScopeId("data-v-3611298e"),t=t(),e.popScopeId(),t),l7={class:"vue-ui-annotator"},a7={"data-html2canvas-ignore":""},r7={class:"tool-selection",style:{"margin-top":"24px"}},n7=["disabled"],s7=e.createStaticVNode('<svg xmlns="http://www.w3.org/2000/svg" width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-3611298e><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3611298e></path><path d="M18 9l3 3l-3 3" data-v-3611298e></path><path d="M15 12h6" data-v-3611298e></path><path d="M6 9l-3 3l3 3" data-v-3611298e></path><path d="M3 12h6" data-v-3611298e></path><path d="M9 18l3 3l3 -3" data-v-3611298e></path><path d="M12 15v6" data-v-3611298e></path><path d="M15 6l-3 -3l-3 3" data-v-3611298e></path><path d="M12 3v6" data-v-3611298e></path></svg>',1),i7=["disabled"],u7=Aa(()=>e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"80%",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),e.createElementVNode("path",{d:"M4 11v8a1 1 0 0 0 1 1h8m-9 -14v-1a1 1 0 0 1 1 -1h1m5 0h2m5 0h1a1 1 0 0 1 1 1v1m0 5v2m0 5v1a1 1 0 0 1 -1 1h-1"}),e.createElementVNode("path",{d:"M4 12h7a1 1 0 0 1 1 1v7"})],-1)),A7=["disabled"],c7=e.createStaticVNode('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-3611298e><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3611298e></path><path d="M4 7l16 0" data-v-3611298e></path><path d="M10 11l0 6" data-v-3611298e></path><path d="M14 11l0 6" data-v-3611298e></path><path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12" data-v-3611298e></path><path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3" data-v-3611298e></path></svg>',1),d7=["disabled"],h7={style:{width:"80%"},viewBox:"0 0 24 24"},f7=Aa(()=>e.createElementVNode("path",{fill:"currentColor",d:"M1,1V5H2V19H1V23H5V22H19V23H23V19H22V5H23V1H19V2H5V1M5,4H19V5H20V19H19V20H5V19H4V5H5M6,6V14H9V18H18V9H14V6M8,8H12V12H8M14,11H16V16H11V14H14"},null,-1)),v7=[f7],g7=["disabled"],p7={style:{width:"80%"},viewBox:"0 0 24 24"},y7=Aa(()=>e.createElementVNode("path",{fill:"currentColor",d:"M2,2H11V6H9V4H4V9H6V11H2V2M22,13V22H13V18H15V20H20V15H18V13H22M8,8H16V16H8V8Z"},null,-1)),m7=[y7],b7=["disabled"],k7={style:{width:"80%"},viewBox:"0 0 24 24"},C7=Aa(()=>e.createElementVNode("path",{fill:"currentColor",d:"M2,2H11V11H2V2M9,4H4V9H9V4M22,13V22H13V13H22M15,20H20V15H15V20M16,8V11H13V8H16M11,16H8V13H11V16Z"},null,-1)),w7=[C7],B7=["disabled"],x7=Aa(()=>e.createElementVNode("svg",{width:"80%",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),e.createElementVNode("path",{d:"M7 3m0 2a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z"}),e.createElementVNode("path",{d:"M17 17v2a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h2"})],-1)),F7=["disabled"],N7=Aa(()=>e.createElementVNode("svg",{width:"80%",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),e.createElementVNode("path",{d:"M9 14l-4 -4l4 -4"}),e.createElementVNode("path",{d:"M5 10h11a4 4 0 1 1 0 8h-1"})],-1)),_7=e.createStaticVNode('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-3611298e><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3611298e></path><path d="M17 17h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-14a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h2" data-v-3611298e></path><path d="M17 9v-4a2 2 0 0 0 -2 -2h-6a2 2 0 0 0 -2 2v4" data-v-3611298e></path><path d="M7 13m0 2a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-6a2 2 0 0 1 -2 -2z" data-v-3611298e></path></svg>',1),S7=e.createStaticVNode('<svg width="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-3611298e><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3611298e></path><path d="M6 4h10l4 4v10a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2" data-v-3611298e></path><path d="M12 14m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" data-v-3611298e></path><path d="M14 4l0 4l-6 0l0 -4" data-v-3611298e></path></svg>',1),L7={class:"tool-selection",style:{"margin-top":"6px"}},E7={viewBox:"0 0 12 12",style:{width:"100%"}},I7=["fill"],$7={key:0,class:"tool-input"},M7={for:"circleFill"},U7=["checked"],V7={viewBox:"0 0 12 12",style:{width:"100%"}},Q7=["fill"],T7={key:1,class:"tool-input"},O7={for:"rectFill"},z7=["checked"],D7={viewBox:"0 0 24 24",style:{width:"100%"}},P7=["stroke"],H7=Aa(()=>e.createElementVNode("svg",{width:"80%",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),e.createElementVNode("path",{d:"M3 15c2 3 4 4 7 4s7 -3 7 -7s-3 -7 -6 -7s-5 1.5 -5 4s2 5 6 5s8.408 -2.453 10 -5"})],-1)),R7={key:2},G7={style:{display:"flex","flex-direction":"column","align-items":"center","justify-content":"center"}},W7={for:"textFont",style:{"font-size":"0.7em"}},K7={key:3},j7={style:{display:"flex","flex-direction":"column","align-items":"center","justify-content":"center"}},X7={for:"dashStyle",style:{"font-size":"0.7em"}},q7={viewBox:"0 0 24 24",height:"24",width:"24",style:{"margin-bottom":"-5px","margin-top":"-10px"}},Y7=Aa(()=>e.createElementVNode("line",{x1:"0",x2:"24",y1:"12",y2:"12","stroke-width":"2",stroke:"black","stroke-dasharray":"3"},null,-1)),J7=[Y7],Z7=["checked"],eV={style:{width:"80%"},viewBox:"0 0 24 24",fill:"currentColor"},tV=Aa(()=>e.createElementVNode("path",{d:"M18.5,4L19.66,8.35L18.7,8.61C18.25,7.74 17.79,6.87 17.26,6.43C16.73,6 16.11,6 15.5,6H13V16.5C13,17 13,17.5 13.33,17.75C13.67,18 14.33,18 15,18V19H9V18C9.67,18 10.33,18 10.67,17.75C11,17.5 11,17 11,16.5V6H8.5C7.89,6 7.27,6 6.74,6.43C6.21,6.87 5.75,7.74 5.3,8.61L4.34,8.35L5.5,4H18.5Z"},null,-1)),oV=[tV],lV={key:4},aV={style:{display:"flex","flex-direction":"column","align-items":"center","justify-content":"center"}},rV={for:"textFont",style:{"font-size":"0.7em"}},nV={key:5},sV=e.createStaticVNode('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-3611298e><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3611298e></path><path d="M4 6l16 0" data-v-3611298e></path><path d="M4 12l10 0" data-v-3611298e></path><path d="M4 18l14 0" data-v-3611298e></path></svg>',1),iV={key:6},uV=["disabled"],AV=e.createStaticVNode('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-3611298e><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3611298e></path><path d="M4 6l16 0" data-v-3611298e></path><path d="M8 12l8 0" data-v-3611298e></path><path d="M6 18l12 0" data-v-3611298e></path></svg>',1),cV={key:7},dV=["disabled"],hV=e.createStaticVNode('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-3611298e><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3611298e></path><path d="M4 6l16 0" data-v-3611298e></path><path d="M10 12l10 0" data-v-3611298e></path><path d="M6 18l14 0" data-v-3611298e></path></svg>',1),fV={key:8},vV=e.createStaticVNode('<svg width="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-3611298e><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3611298e></path><path d="M9 6l11 0" data-v-3611298e></path><path d="M9 12l11 0" data-v-3611298e></path><path d="M9 18l11 0" data-v-3611298e></path><path d="M5 6l0 .01" data-v-3611298e></path><path d="M5 12l0 .01" data-v-3611298e></path><path d="M5 18l0 .01" data-v-3611298e></path></svg>',1),gV={key:9},pV=Aa(()=>e.createElementVNode("svg",{width:"100%",viewBox:"0 0 24 24","stroke-width":"3",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),e.createElementVNode("path",{d:"M7 5h6a3.5 3.5 0 0 1 0 7h-6z"}),e.createElementVNode("path",{d:"M13 12h1a3.5 3.5 0 0 1 0 7h-7v-7"})],-1)),yV={key:10},mV=e.createStaticVNode('<svg width="100%" height="44" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-3611298e><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3611298e></path><path d="M11 5l6 0" data-v-3611298e></path><path d="M7 19l6 0" data-v-3611298e></path><path d="M14 5l-4 14" data-v-3611298e></path></svg>',1),bV={key:11},kV=Aa(()=>e.createElementVNode("svg",{width:"100%",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),e.createElementVNode("path",{d:"M7 5v5a5 5 0 0 0 10 0v-5"}),e.createElementVNode("path",{d:"M5 19h14"})],-1)),CV={style:{display:"flex","flex-direction":"column","align-items":"center","justify-content":"center"},class:"tooltip"},wV={style:{display:"flex","flex-direction":"column","align-items":"start","justify-content":"center"}},BV={for:"colorTransparency",style:{"font-size":"0.7em"}},xV={class:"annotator annotator__wrapper",ref:"drawSvgContainer",style:{position:"relative"}},FV=["viewBox","width","height"],NV=["id","innerHTML"],_V=["height","viewBox","width"],SV=["cx","cy"];function LV(t,o,a,n,r,l){return e.openBlock(),e.createElementBlock("div",l7,[e.createElementVNode("div",a7,[e.createElementVNode("details",{class:"vue-ui-annotator-summary",onToggle:o[36]||(o[36]=(...s)=>l.toggleSummary&&l.toggleSummary(...s)),style:e.normalizeStyle(`${r.isSummaryOpen?"padding-bottom: 12px":""}; background: ${l.FINAL_CONFIG.style.backgroundColor}; color:${l.FINAL_CONFIG.style.color}; ${l.FINAL_CONFIG.style.fixedTools&&r.isSummaryOpen?"position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 1;":""}`)},[e.createElementVNode("summary",null,e.toDisplayString(l.FINAL_CONFIG.translations.title),1),e.createElementVNode("div",r7,[e.createElementVNode("button",{disabled:r.shapes.length===0,style:e.normalizeStyle({background:r.isMoveMode?l.FINAL_CONFIG.style.buttons.controls.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:r.isMoveMode?l.FINAL_CONFIG.style.buttons.controls.selected.border:l.FINAL_CONFIG.style.buttons.controls.border,color:r.isMoveMode?l.FINAL_CONFIG.style.buttons.controls.selected.color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.isMoveMode,tooltip:!0}),onClick:o[0]||(o[0]=s=>{l.deleteEmptyTextElement(),r.isMoveMode=!r.isMoveMode,r.activeShape=void 0,r.isDeleteMode=!1,r.isDrawMode=!1,r.isResizeMode=!1,r.isSelectMode=!1,r.isTextMode=!1,r.isWriting=!1,r.showCaret=!1})},[s7,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipMove),5)):e.createCommentVNode("",!0)],14,n7),e.createElementVNode("button",{disabled:r.shapes.length===0||r.activeShape==="line",style:e.normalizeStyle({background:r.isResizeMode?l.FINAL_CONFIG.style.buttons.controls.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:r.isResizeMode?l.FINAL_CONFIG.style.buttons.controls.selected.border:l.FINAL_CONFIG.style.buttons.controls.border,color:r.isResizeMode?l.FINAL_CONFIG.style.buttons.controls.selected.color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.isResizeMode,tooltip:!0}),onClick:o[1]||(o[1]=s=>{l.deleteEmptyTextElement(),r.isResizeMode=!r.isResizeMode,r.isMoveMode=!1,r.isDeleteMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.isTextMode=!1,r.isWriting=!1,r.activeShape=void 0,r.showCaret=!1})},[u7,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipResize),5)):e.createCommentVNode("",!0)],14,i7),e.createElementVNode("button",{disabled:r.shapes.length===0,style:e.normalizeStyle({background:r.isDeleteMode?l.FINAL_CONFIG.style.buttons.controls.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:r.isDeleteMode?l.FINAL_CONFIG.style.buttons.controls.selected.border:l.FINAL_CONFIG.style.buttons.controls.border,color:r.isDeleteMode?l.FINAL_CONFIG.style.buttons.controls.selected.color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.isDeleteMode,tooltip:!0}),onClick:o[2]||(o[2]=s=>{l.deleteEmptyTextElement(),r.isDeleteMode=!r.isDeleteMode,r.isMoveMode=!1,r.isResizeMode=!1,r.isSelectMode=!1,r.isTextMode=!1,r.isWriting=!1,r.activeShape=void 0,r.showCaret=!1})},[c7,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipDelete),5)):e.createCommentVNode("",!0)],14,A7),e.createElementVNode("button",{disabled:!l.canSelect,style:e.normalizeStyle({background:r.isSelectMode?l.FINAL_CONFIG.style.buttons.controls.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:r.isSelectMode?l.FINAL_CONFIG.style.buttons.controls.selected.border:l.FINAL_CONFIG.style.buttons.controls.border,color:r.isSelectMode?l.FINAL_CONFIG.style.buttons.controls.selected.color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.isSelectMode,tooltip:!0}),onClick:o[3]||(o[3]=s=>{l.deleteEmptyTextElement(),l.setShapeTo("group"),r.isSelectMode=!r.isSelectMode,r.isDeleteMode=!1,r.isMoveMode=!1,r.isResizeMode=!1,r.isTextMode=!1,r.isWriting=!1,r.activeShape="group",r.showCaret=!1})},[(e.openBlock(),e.createElementBlock("svg",h7,v7)),l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipGroup),5)):e.createCommentVNode("",!0)],14,d7),e.createElementVNode("button",{disabled:r.shapes.length===0,style:e.normalizeStyle({background:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:l.FINAL_CONFIG.style.buttons.controls.border,color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,tooltip:!0}),onClick:o[4]||(o[4]=s=>{r.isResizeMode=!1,r.isMoveMode=!0,r.isDeleteMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.isTextMode=!1,r.isWriting=!1,r.showCaret=!1,l.bringShapeTo("front")})},[(e.openBlock(),e.createElementBlock("svg",p7,m7)),l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipBringToFront),5)):e.createCommentVNode("",!0)],12,g7),e.createElementVNode("button",{disabled:r.shapes.length===0,style:e.normalizeStyle({background:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:l.FINAL_CONFIG.style.buttons.controls.border,color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,tooltip:!0}),onClick:o[5]||(o[5]=s=>{r.isResizeMode=!1,r.isMoveMode=!0,r.isDeleteMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.isTextMode=!1,r.isWriting=!1,r.showCaret=!1,l.bringShapeTo("back")})},[(e.openBlock(),e.createElementBlock("svg",k7,w7)),l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipBringToBack),5)):e.createCommentVNode("",!0)],12,b7),e.createElementVNode("button",{disabled:r.shapes.length===0||r.activeShape==="line",style:e.normalizeStyle({background:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:l.FINAL_CONFIG.style.buttons.controls.border,color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,tooltip:!0}),onClick:o[6]||(o[6]=s=>{l.deleteEmptyTextElement(),r.isResizeMode=!1,r.isMoveMode=!0,r.isDeleteMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.isTextMode=!1,r.isWriting=!1,r.showCaret=!1,l.copyPaste()})},[x7,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipDuplicate),5)):e.createCommentVNode("",!0)],12,B7),e.createElementVNode("button",{disabled:r.shapes.length===0,style:e.normalizeStyle({background:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:l.FINAL_CONFIG.style.buttons.controls.border,color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,"button-tool--one-shot":!0,tooltip:!0}),onClick:o[7]||(o[7]=s=>{r.isResizeMode=!1,r.isMoveMode=!1,r.isDeleteMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.isTextMode=!1,r.isWriting=!1,r.activeShape=void 0,r.showCaret=!1,l.undoLastShape()})},[N7,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipUndo),5)):e.createCommentVNode("",!0)],12,F7),l.FINAL_CONFIG.style.showPrint?(e.openBlock(),e.createElementBlock("button",{key:0,style:e.normalizeStyle({background:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:l.FINAL_CONFIG.style.buttons.controls.border,color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,tooltip:!0}),onClick:o[8]||(o[8]=(...s)=>l.print&&l.print(...s))},[_7,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipPdf),5)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),l.FINAL_CONFIG.style.showSave?(e.openBlock(),e.createElementBlock("button",{key:1,style:e.normalizeStyle({background:l.FINAL_CONFIG.style.buttons.controls.backgroundColor,border:l.FINAL_CONFIG.style.buttons.controls.border,color:l.FINAL_CONFIG.style.buttons.controls.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),class:e.normalizeClass({"button-tool":!0,tooltip:!0}),onClick:o[9]||(o[9]=(...s)=>l.save&&l.save(...s))},[S7,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipSave),5)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)]),e.createElementVNode("div",L7,[e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.activeShape==="circle",tooltip:!0}),style:e.normalizeStyle({background:r.activeShape==="circle"?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.activeShape==="circle"?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.activeShape==="circle"?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[10]||(o[10]=s=>{l.setShapeTo("circle"),r.isSelectMode=!1})},[(e.openBlock(),e.createElementBlock("svg",E7,[e.createElementVNode("circle",{cx:6,cy:6,r:"4",fill:r.options.circle.filled?(r.activeShape==="circle",r.selectedColor+l.colorTransparency):"none",stroke:"currentColor"},null,8,I7)])),l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeCircle),5)):e.createCommentVNode("",!0)],6),r.activeShape==="circle"?(e.openBlock(),e.createElementBlock("div",$7,[e.createElementVNode("label",M7,e.toDisplayString(l.FINAL_CONFIG.translations.filled),1),e.withDirectives(e.createElementVNode("input",{type:"checkbox","onUpdate:modelValue":o[11]||(o[11]=s=>r.options.circle.filled=s),onChange:o[12]||(o[12]=(...s)=>l.setFillOfSelectedCircle&&l.setFillOfSelectedCircle(...s)),checked:r.options.circle.filled},null,40,U7),[[e.vModelCheckbox,r.options.circle.filled]])])):e.createCommentVNode("",!0),e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.activeShape==="rect",tooltip:!0}),style:e.normalizeStyle({background:r.activeShape==="rect"?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.activeShape==="rect"?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.activeShape==="rect"?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[13]||(o[13]=s=>{l.setShapeTo("rect"),r.isSelectMode=!1})},[(e.openBlock(),e.createElementBlock("svg",V7,[e.createElementVNode("rect",{x:"3",y:"3",style:{rx:"0 !important",ry:"0 !important"},height:"6",width:"6",fill:r.options.rect.filled?(r.activeShape==="rect",r.selectedColor+l.colorTransparency):"none",stroke:"currentColor"},null,8,Q7)])),l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeRect),5)):e.createCommentVNode("",!0)],6),r.activeShape==="rect"?(e.openBlock(),e.createElementBlock("div",T7,[e.createElementVNode("label",O7,e.toDisplayString(l.FINAL_CONFIG.translations.filled),1),e.withDirectives(e.createElementVNode("input",{id:"rectFill",type:"checkbox","onUpdate:modelValue":o[14]||(o[14]=s=>r.options.rect.filled=s),onChange:o[15]||(o[15]=(...s)=>l.setFillOfSelectedRect&&l.setFillOfSelectedRect(...s)),checked:r.options.rect.filled},null,40,z7),[[e.vModelCheckbox,r.options.rect.filled]])])):e.createCommentVNode("",!0),e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.activeShape==="arrow",tooltip:!0}),style:e.normalizeStyle({background:r.activeShape==="arrow"?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.activeShape==="arrow"?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.activeShape==="arrow"?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[16]||(o[16]=s=>{l.setShapeTo("arrow"),r.isSelectMode=!1})},[(e.openBlock(),e.createElementBlock("svg",D7,[e.createElementVNode("path",{stroke:r.options.arrow.filled?r.activeShape==="arrow"?"white":"grey":"none","stroke-width":"2",d:"M5,19 19,5 14,5 19,10.5 19,5",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},null,8,P7)])),l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeArrow),5)):e.createCommentVNode("",!0)],6),e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.activeShape==="line",tooltip:!0}),style:e.normalizeStyle({background:r.activeShape==="line"?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.activeShape==="line"?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.activeShape==="line"?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[17]||(o[17]=s=>{l.setShapeTo("line"),r.isSelectMode=!1})},[H7,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeFreehand),5)):e.createCommentVNode("",!0)],6),["arrow","circle","rect","line"].includes(r.activeShape)?(e.openBlock(),e.createElementBlock("div",R7,[e.createElementVNode("div",G7,[e.createElementVNode("label",W7,e.toDisplayString(l.FINAL_CONFIG.translations.thickness),1),e.withDirectives(e.createElementVNode("input",{id:"textFont",type:"number","onUpdate:modelValue":o[18]||(o[18]=s=>r.strokeSize=s),onInput:o[19]||(o[19]=(...s)=>l.setStrokeWidthOfSelectedShape&&l.setStrokeWidthOfSelectedShape(...s)),style:{padding:"0 4px",width:"40px",border:"1px solid #dadada","border-radius":"3px"}},null,544),[[e.vModelText,r.strokeSize]])])])):e.createCommentVNode("",!0),["arrow","circle","rect"].includes(r.activeShape)?(e.openBlock(),e.createElementBlock("div",K7,[e.createElementVNode("div",j7,[e.createElementVNode("label",X7,e.toDisplayString(l.FINAL_CONFIG.translations.dashedLines),1),(e.openBlock(),e.createElementBlock("svg",q7,J7)),e.withDirectives(e.createElementVNode("input",{id:"dashStyle",name:"dashStyle",type:"checkbox","onUpdate:modelValue":o[20]||(o[20]=s=>r.isDash=s),onChange:o[21]||(o[21]=(...s)=>l.setSelectedShapeToDash&&l.setSelectedShapeToDash(...s)),checked:r.isDash},null,40,Z7),[[e.vModelCheckbox,r.isDash]])])])):e.createCommentVNode("",!0),e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.isTextMode,tooltip:!0}),style:e.normalizeStyle({background:r.isTextMode?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.isTextMode?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.isTextMode?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[22]||(o[22]=s=>{l.deleteEmptyTextElement(),r.isTextMode=!r.isTextMode,r.isDeleteMode=!1,r.isMoveMode=!1,r.isResizeMode=!1,r.isSelectMode=!1,r.isDrawMode=!1,r.activeShape=void 0})},[(e.openBlock(),e.createElementBlock("svg",eV,oV)),l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeText),5)):e.createCommentVNode("",!0)],6),r.isTextMode?(e.openBlock(),e.createElementBlock("div",lV,[e.createElementVNode("div",aV,[e.createElementVNode("label",rV,e.toDisplayString(l.FINAL_CONFIG.translations.fontSize),1),e.withDirectives(e.createElementVNode("input",{id:"textFont",type:"number","onUpdate:modelValue":o[23]||(o[23]=s=>r.textFont=s),onInput:o[24]||(o[24]=(...s)=>l.setCurrentStyleOfSelectedText&&l.setCurrentStyleOfSelectedText(...s)),style:{padding:"0 4px",width:"40px",border:"1px solid #dadada","border-radius":"3px"}},null,544),[[e.vModelText,r.textFont]])])])):e.createCommentVNode("",!0),r.isTextMode?(e.openBlock(),e.createElementBlock("div",nV,[e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.textAlign==="start",tooltip:!0}),style:e.normalizeStyle({background:r.textAlign==="start"?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.textAlign==="start"?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.textAlign==="start"?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[25]||(o[25]=s=>{r.isDeleteMode=!1,r.isMoveMode=!1,r.isResizeMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.activeShape=void 0,r.textAlign="start",l.setSelectedTextAlignTo("start")})},[sV,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeTextLeft),5)):e.createCommentVNode("",!0)],6)])):e.createCommentVNode("",!0),r.isTextMode?(e.openBlock(),e.createElementBlock("div",iV,[e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.textAlign==="middle",tooltip:!0}),style:e.normalizeStyle({background:r.textAlign==="middle"?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.textAlign==="middle"?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.textAlign==="middle"?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),disabled:r.isBulletTextMode,onClick:o[26]||(o[26]=s=>{r.isDeleteMode=!1,r.isMoveMode=!1,r.isResizeMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.activeShape=void 0,r.textAlign="middle",l.setSelectedTextAlignTo("middle")})},[AV,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeTextCenter),5)):e.createCommentVNode("",!0)],14,uV)])):e.createCommentVNode("",!0),r.isTextMode?(e.openBlock(),e.createElementBlock("div",cV,[e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.textAlign==="end",tooltip:!0}),style:e.normalizeStyle({background:r.textAlign==="end"?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.textAlign==="end"?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.textAlign==="end"?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),disabled:r.isBulletTextMode,onClick:o[27]||(o[27]=s=>{r.isDeleteMode=!1,r.isMoveMode=!1,r.isResizeMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.activeShape=void 0,r.textAlign="end",l.setSelectedTextAlignTo("end")})},[hV,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeTextRight),5)):e.createCommentVNode("",!0)],14,dV)])):e.createCommentVNode("",!0),r.isTextMode?(e.openBlock(),e.createElementBlock("div",fV,[e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.isBulletTextMode,tooltip:!0}),style:e.normalizeStyle({background:r.isBulletTextMode?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.isBulletTextMode?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.isBulletTextMode?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[28]||(o[28]=s=>{r.isDeleteMode=!1,r.isMoveMode=!1,r.isResizeMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.activeShape=void 0,r.isBulletTextMode=!r.isBulletTextMode,r.textAlign="start",l.setSelectedTextAlignTo("start"),l.setCurrentStyleOfSelectedText()})},[vV,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeTextBullet),5)):e.createCommentVNode("",!0)],6)])):e.createCommentVNode("",!0),r.isTextMode?(e.openBlock(),e.createElementBlock("div",gV,[e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.isBold,tooltip:!0}),style:e.normalizeStyle({background:r.isBold?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.isBold?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.isBold?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[29]||(o[29]=s=>{r.isDeleteMode=!1,r.isMoveMode=!1,r.isResizeMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.activeShape=void 0,r.isBold=!r.isBold,l.setCurrentStyleOfSelectedText()})},[pV,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeTextBold),5)):e.createCommentVNode("",!0)],6)])):e.createCommentVNode("",!0),r.isTextMode?(e.openBlock(),e.createElementBlock("div",yV,[e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.isItalic,tooltip:!0}),style:e.normalizeStyle({background:r.isItalic?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.isItalic?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.isItalic?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[30]||(o[30]=s=>{r.isDeleteMode=!1,r.isMoveMode=!1,r.isResizeMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.activeShape=void 0,r.isItalic=!r.isItalic,l.setCurrentStyleOfSelectedText()})},[mV,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeTextItalic),5)):e.createCommentVNode("",!0)],6)])):e.createCommentVNode("",!0),r.isTextMode?(e.openBlock(),e.createElementBlock("div",bV,[e.createElementVNode("button",{class:e.normalizeClass({"button-tool":!0,"button-tool--selected":r.isUnderline,tooltip:!0}),style:e.normalizeStyle({background:r.isUnderline?l.FINAL_CONFIG.style.buttons.shapes.selected.backgroundColor:l.FINAL_CONFIG.style.buttons.shapes.backgroundColor,border:r.isUnderline?l.FINAL_CONFIG.style.buttons.shapes.selected.border:l.FINAL_CONFIG.style.buttons.shapes.border,color:r.isUnderline?l.FINAL_CONFIG.style.buttons.shapes.selected.color:l.FINAL_CONFIG.style.buttons.shapes.color,borderRadius:`${l.FINAL_CONFIG.style.buttons.borderRadius}px`}),onClick:o[31]||(o[31]=s=>{r.isDeleteMode=!1,r.isMoveMode=!1,r.isResizeMode=!1,r.isDrawMode=!1,r.isSelectMode=!1,r.activeShape=void 0,r.isUnderline=!r.isUnderline,l.setCurrentStyleOfSelectedText()})},[kV,l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeTextUnderline),5)):e.createCommentVNode("",!0)],6)])):e.createCommentVNode("",!0),e.createElementVNode("div",CV,[e.withDirectives(e.createElementVNode("input",{type:"color",id:"colorPicker",name:"colorPicker","onUpdate:modelValue":o[32]||(o[32]=s=>r.selectedColor=s),onInput:o[33]||(o[33]=(...s)=>l.setColorOfSelectedShape&&l.setColorOfSelectedShape(...s)),style:e.normalizeStyle(`height: 30px; width: 30px; border-radius: ${l.FINAL_CONFIG.style.buttons.borderRadius}px; cursor: pointer`)},null,36),[[e.vModelText,r.selectedColor]]),l.FINAL_CONFIG.style.showTooltips?(e.openBlock(),e.createElementBlock("span",{key:0,class:"tooltiptext",style:e.normalizeStyle({backgroundColor:l.FINAL_CONFIG.style.tooltips.backgroundColor,color:l.FINAL_CONFIG.style.tooltips.color,border:l.FINAL_CONFIG.style.tooltips.border,borderRadius:`${l.FINAL_CONFIG.style.tooltips.borderRadius}px`,boxShadow:l.FINAL_CONFIG.style.tooltips.boxShadow})},e.toDisplayString(l.FINAL_CONFIG.translations.tooltipShapeColor),5)):e.createCommentVNode("",!0)]),e.createElementVNode("div",wV,[e.createElementVNode("label",BV,e.toDisplayString(l.FINAL_CONFIG.translations.colorAlpha)+": "+e.toDisplayString(r.transparency>98?100:r.transparency)+" % ",1),e.withDirectives(e.createElementVNode("input",{id:"colorTransparency",name:"colorTransparency",type:"range","onUpdate:modelValue":o[34]||(o[34]=s=>r.transparency=s),onInput:o[35]||(o[35]=(...s)=>l.setTransparencyOfSelectedShape&&l.setTransparencyOfSelectedShape(...s)),min:0,max:100,style:{width:"100px"}},null,544),[[e.vModelText,r.transparency]])])])],36)]),e.createElementVNode("div",xV,[e.renderSlot(t.$slots,"default",{},void 0,!0),r.isSummaryOpen?(e.openBlock(),e.createElementBlock("svg",{id:"annotatorSvg",key:r.step,ref:"mainSvg",class:e.normalizeClass({draw:!0,"draw--free":r.activeShape==="line"}),style:e.normalizeStyle([`cursor:${l.cursorClass}; font-family: Helvetica; z-index: 100000000;`,{position:"absolute",top:"0",left:"0"}]),viewBox:`0 0 ${r.svgWidth} ${r.svgHeight}`,width:r.sourceWidth,height:r.sourceHeight,onPointerdown:o[38]||(o[38]=s=>l.chooseAction(s)),onPointerup:o[39]||(o[39]=(...s)=>l.resetDraw&&l.resetDraw(...s)),onTouchend:o[40]||(o[40]=(...s)=>l.resetDraw&&l.resetDraw(...s)),onTouchstart:o[41]||(o[41]=s=>{l.setPointer(s),l.clickSvg(s)}),onPointermove:o[42]||(o[42]=s=>{l.setPointer(s),l.chooseMove(s)}),onPointerout:o[43]||(o[43]=s=>{r.preventEdit=!0,r.hoveredShapeId=void 0}),onPointerover:o[44]||(o[44]=s=>l.allowEditAndHoverShapes(s)),onClick:o[45]||(o[45]=s=>l.clickSvg(s))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.userShapes,(s,u)=>(e.openBlock(),e.createElementBlock("g",{key:`shape_${u}`,id:s.id,innerHTML:s,onClick:o[37]||(o[37]=h=>{l.clickShape(h),r.isMoveMode=!1})},null,8,NV))),128))],46,FV)):e.createCommentVNode("",!0),r.isPrinting?(e.openBlock(),e.createElementBlock("svg",{key:1,style:{position:"absolute",top:"0",left:"0"},height:r.sourceHeight,viewBox:`0 0 ${r.svgWidth} ${r.svgHeight}`,width:r.sourceWidth},[e.createElementVNode("circle",{class:"animated-circle-print",cx:r.svgWidth/2,cy:r.svgHeight/2,r:"50",stroke:"#6376DD","stroke-width":"10",fill:"none"},null,8,SV)],8,_V)):e.createCommentVNode("",!0)],512)])}const Ag=vt(o7,[["render",LV],["__scopeId","data-v-3611298e"]]),EV=Object.freeze(Object.defineProperty({__proto__:null,default:Ag},Symbol.toStringTag,{value:"Module"})),Ko=t=>(e.pushScopeId("data-v-3e41118a"),t=t(),e.popScopeId(),t),IV={key:0,class:"vue-ui-rating-title",style:{width:"100%"}},$V=["xmlns","stroke"],MV={id:"vueUiSmiley0"},UV=["stop-color"],VV=["stop-color"],QV=Ko(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),TV=["fill"],OV=["stroke"],zV=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3e41118a></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-3e41118a></path><path d="M9 10l.01 0" data-v-3e41118a></path><path d="M15 10l.01 0" data-v-3e41118a></path><path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" data-v-3e41118a></path>',5),DV=[zV],PV=["xmlns","viewBox","stroke"],HV={id:"vueUiSmiley0"},RV=["stop-color"],GV=["stop-color"],WV=Ko(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),KV=["fill"],jV=["viewBox","stroke"],XV=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3e41118a></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-3e41118a></path><path d="M9 10l.01 0" data-v-3e41118a></path><path d="M15 10l.01 0" data-v-3e41118a></path><path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" data-v-3e41118a></path>',5),qV=[XV],YV=["xmlns","stroke"],JV={id:"vueUiSmiley1"},ZV=["stop-color"],eQ=["stop-color"],tQ=Ko(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),oQ=["fill"],lQ=["xmlns","stroke"],aQ=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3e41118a></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-3e41118a></path><path d="M9 10l.01 0" data-v-3e41118a></path><path d="M15 10l.01 0" data-v-3e41118a></path><path d="M9 15l6 0" data-v-3e41118a></path>',5),rQ=[aQ],nQ=["xmlns","viewBox","stroke"],sQ={id:"vueUiSmiley1"},iQ=["stop-color"],uQ=["stop-color"],AQ=Ko(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),cQ=["fill"],dQ=["viewBox","stroke"],hQ=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3e41118a></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-3e41118a></path><path d="M9 10l.01 0" data-v-3e41118a></path><path d="M15 10l.01 0" data-v-3e41118a></path><path d="M9 15l6 0" data-v-3e41118a></path>',5),fQ=[hQ],vQ=["xmlns","stroke"],gQ={id:"vueUiSmiley2"},pQ=["stop-color"],yQ=["stop-color"],mQ=Ko(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),bQ=["fill"],kQ=["xmlns","stroke"],CQ=Ko(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),wQ=Ko(()=>e.createElementVNode("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"},null,-1)),BQ=Ko(()=>e.createElementVNode("path",{d:"M9 10l.01 0"},null,-1)),xQ=Ko(()=>e.createElementVNode("path",{d:"M15 10l.01 0"},null,-1)),FQ=[CQ,wQ,BQ,xQ],NQ=["xmlns","viewBox","stroke"],_Q=Ko(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),SQ={id:"vueUiSmiley2"},LQ=["stop-color"],EQ=["stop-color"],IQ=["fill"],$Q=["xmlns","viewBox","stroke"],MQ=Ko(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),UQ=Ko(()=>e.createElementVNode("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"},null,-1)),VQ=Ko(()=>e.createElementVNode("path",{d:"M9 10l.01 0"},null,-1)),QQ=Ko(()=>e.createElementVNode("path",{d:"M15 10l.01 0"},null,-1)),TQ=[MQ,UQ,VQ,QQ],OQ=["xmlns","stroke"],zQ={id:"vueUiSmiley3"},DQ=["stop-color"],PQ=["stop-color"],HQ=Ko(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),RQ=["fill"],GQ=["xmlns","stroke"],WQ=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3e41118a></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-3e41118a></path><path d="M9 10l.01 0" data-v-3e41118a></path><path d="M15 10l.01 0" data-v-3e41118a></path><path d="M9.5 15a3.5 3.5 0 0 0 5 0" data-v-3e41118a></path>',5),KQ=[WQ],jQ=["xmlns","viewBox","stroke"],XQ=Ko(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),qQ={id:"vueUiSmiley3"},YQ=["stop-color"],JQ=["stop-color"],ZQ=["fill"],eT=["xmlns","viewBox","stroke"],tT=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3e41118a></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-3e41118a></path><path d="M9 10l.01 0" data-v-3e41118a></path><path d="M15 10l.01 0" data-v-3e41118a></path><path d="M9.5 15a3.5 3.5 0 0 0 5 0" data-v-3e41118a></path>',5),oT=[tT],lT=["xmlns","stroke"],aT={id:"vueUiSmiley4"},rT=["stop-color"],nT=["stop-color"],sT=Ko(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),iT=["fill"],uT=["xmlns","stroke"],AT=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3e41118a></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-3e41118a></path><path d="M9 9l.01 0" data-v-3e41118a></path><path d="M15 9l.01 0" data-v-3e41118a></path><path d="M8 13a4 4 0 1 0 8 0h-8" data-v-3e41118a></path>',5),cT=[AT],dT=["xmlns","viewBox","stroke"],hT=Ko(()=>e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),fT={id:"vueUiSmiley4"},vT=["stop-color"],gT=["stop-color"],pT=["fill"],yT=["xmlns","viewBox","stroke"],mT=e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-3e41118a></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-3e41118a></path><path d="M9 9l.01 0" data-v-3e41118a></path><path d="M15 9l.01 0" data-v-3e41118a></path><path d="M8 13a4 4 0 1 0 8 0h-8" data-v-3e41118a></path>',5),bT=[mT],kT={__name:"vue-ui-smiley",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["rate"],setup(t,{expose:o,emit:a}){const n=t,{vue_ui_smiley:r}=ft();e.onMounted(()=>{xt(n.dataset)&&Ke({componentName:"VueUiSmiley",type:"dataset"})});const l=e.ref(!1),s=e.ref(void 0),u=e.computed(()=>Je({userConfig:n.config,defaultConfig:r})),h=e.computed(()=>typeof n.dataset.rating=="object"&&!Array.isArray(n.dataset.rating)?C(n.dataset.rating):n.dataset.rating||null),f=e.computed(()=>typeof n.dataset.rating=="object"&&!Array.isArray(n.dataset.rating)),c=e.ref(h.value),y=e.ref(u.value.readonly);function C(w){if(w===null)return null;let U=0,I=0;for(const K in w){const E=parseInt(K),b=w[K];U+=E*b,I+=b}return I===0?0:U/I}function A(w){const U=c.value-w,I=24;switch(!0){case U<0:return 0;case U>1:return 1*I;default:return U*I}}function B(w){y.value||(c.value=w,a("rate",w))}function v(){return c.value}function i(w=!0){y.value=w}o({getData:v,toggleReadonly:i});function g(w){return u.value.readonly?u.value.style.colors.inactive[w]:c.value===w+1?u.value.style.icons.useGradient&&u.value.style.icons.filled?`url(#vueUiSmiley${w})`:u.value.style.colors.active[w]:s.value!==void 0&&s.value===w?u.value.style.icons.useGradient&&u.value.style.icons.filled?`url(#vueUiSmiley${w})`:u.value.style.colors.active[w]:u.value.style.colors.inactive[w]}return(w,U)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`background:${u.value.style.backgroundColor};font-family:${u.value.style.fontFamily};width:100%;`),onMouseover:U[20]||(U[20]=I=>l.value=!0),onMouseleave:U[21]||(U[21]=I=>{l.value=!1,s.value=void 0})},[u.value.style.title.text?(e.openBlock(),e.createElementBlock("div",IV,[e.createElementVNode("div",{style:e.normalizeStyle(`color:${u.value.style.title.color};font-weight:${u.value.style.title.bold?"bold":"normal"};text-align:${u.value.style.title.textAlign};margin-bottom:${u.value.style.title.offsetY}px;font-size:${u.value.style.title.fontSize}px`)},e.toDisplayString(u.value.style.title.text),5),u.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`color:${u.value.style.title.subtitle.color};font-size:${u.value.style.title.subtitle.fontSize}px;text-align:${u.value.style.title.textAlign};margin-bottom:${u.value.style.title.subtitle.offsetY}px;font-weight:${u.value.style.title.subtitle.bold?"bold":"normal"}`)},e.toDisplayString(u.value.style.title.subtitle.text),5)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),u.value.style.rating.show&&u.value.style.rating.position==="top"?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(`width:100%;text-align:center;margin-bottom:${u.value.style.rating.offsetY}px;font-size:${u.value.style.rating.fontSize}px;font-weight:${u.value.style.rating.bold?"bold":"normal"};margin-left:${u.value.style.rating.offsetX}px`)},e.toDisplayString(isNaN(c.value)?"":c.value.toFixed(u.value.style.rating.roundingValue)),5)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"vue-ui-smiley-wrapper",style:e.normalizeStyle(`overflow:visible;height:${u.value.style.itemSize}px;width:fit-content;margin:0 auto;display:flex;align-items:center;justify-content:center;`)},[u.value.style.rating.show&&u.value.style.rating.position==="left"?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:fit-content;text-align:center;margin-bottom:${u.value.style.rating.offsetY}px;font-size:${u.value.style.rating.fontSize}px;font-weight:${u.value.style.rating.bold?"bold":"normal"};padding-right:${u.value.style.rating.offsetX}px`)},e.toDisplayString(isNaN(c.value)?"":c.value.toFixed(u.value.style.rating.roundingValue)),5)):e.createCommentVNode("",!0),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!u.value.readonly&&c.value===1}),style:e.normalizeStyle(`cursor:${u.value.readonly?"default":"pointer"};height:${u.value.style.itemSize}px;aspect-ratio:1/1;
704
- position:relative`),onMouseenter:U[0]||(U[0]=I=>s.value=0),onMouseleave:U[1]||(U[1]=I=>s.value=void 0),onClick:U[2]||(U[2]=I=>B(1)),onKeyup:U[3]||(U[3]=e.withKeys(I=>B(1),["enter"]))},[u.value.style.tooltip.show&&f.value&&y.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===0?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"1",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[1]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{transition:"all 0.1s ease-in-out",position:"absolute",top:"0",left:"0"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(0),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",MV,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.active[0],.05)},null,8,UV),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.active[0]},null,8,VV)])]),QV,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 9.86a4.5 4.5 0 0 0 -3.214 1.35a1 1 0 1 0 1.428 1.4a2.5 2.5 0 0 1 3.572 0a1 1 0 0 0 1.428 -1.4a4.5 4.5 0 0 0 -3.214 -1.35zm-2.99 -4.2l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:g(0)},null,8,TV)],8,$V)):(e.openBlock(),e.createElementBlock("svg",{key:2,style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(0),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},DV,8,OV)),u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{transition:"all 0.1s ease-in-out",position:"absolute",top:"0",left:"0"},height:"100%",viewBox:`0 0 ${A(0)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[0],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",HV,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[0],.05)},null,8,RV),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[0]},null,8,GV)])]),WV,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 9.86a4.5 4.5 0 0 0 -3.214 1.35a1 1 0 1 0 1.428 1.4a2.5 2.5 0 0 1 3.572 0a1 1 0 0 0 1.428 -1.4a4.5 4.5 0 0 0 -3.214 -1.35zm-2.99 -4.2l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley0)":u.value.style.colors.activeReadonly[0]},null,8,KV)],8,PV)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:4,style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(0)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[0],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},qV,8,jV)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!u.value.readonly&&c.value===2}),style:e.normalizeStyle(`cursor:${u.value.readonly?"default":"pointer"};height:${u.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:U[4]||(U[4]=I=>s.value=1),onMouseleave:U[5]||(U[5]=I=>s.value=void 0),onClick:U[6]||(U[6]=I=>B(2)),onKeyup:U[7]||(U[7]=e.withKeys(I=>B(2),["enter"]))},[u.value.style.tooltip.show&&f.value&&y.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===1?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"2",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[2]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(1),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",JV,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.active[1],.05)},null,8,ZV),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.active[1]},null,8,eQ)])]),tQ,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 10.66h-6l-.117 .007a1 1 0 0 0 0 1.986l.117 .007h6l.117 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-5.99 -5l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:g(1)},null,8,oQ)],8,YV)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(1),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},rQ,8,lQ)),u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(1)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[1],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",sQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[1],.05)},null,8,iQ),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[1]},null,8,uQ)])]),AQ,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 10.66h-6l-.117 .007a1 1 0 0 0 0 1.986l.117 .007h6l.117 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-5.99 -5l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley1)":u.value.style.colors.activeReadonly[1]},null,8,cQ)],8,nQ)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:4,style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(1)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[1],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},fQ,8,dQ)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!u.value.readonly&&c.value===3}),style:e.normalizeStyle(`cursor:${u.value.readonly?"default":"pointer"};height:${u.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:U[8]||(U[8]=I=>s.value=2),onMouseleave:U[9]||(U[9]=I=>s.value=void 0),onClick:U[10]||(U[10]=I=>B(3)),onKeyup:U[11]||(U[11]=e.withKeys(I=>B(3),["enter"]))},[u.value.style.tooltip.show&&f.value&&y.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===2?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"3",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[3]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(2),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",gQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[2],.05)},null,8,pQ),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[2]},null,8,yQ)])]),mQ,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-7.99 5.66l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:g(2)},null,8,bQ)],8,vQ)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(2),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},FQ,8,kQ)),u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(2)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[2],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[_Q,e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",SQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[2],.05)},null,8,LQ),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[2]},null,8,EQ)])]),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-7.99 5.66l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley2)":u.value.style.colors.activeReadonly[2]},null,8,IQ)],8,NQ)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(2)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[2],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},TQ,8,$Q)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!u.value.readonly&&c.value===4}),style:e.normalizeStyle(`cursor:${u.value.readonly?"default":"pointer"};height:${u.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:U[12]||(U[12]=I=>s.value=3),onMouseleave:U[13]||(U[13]=I=>s.value=void 0),onClick:U[14]||(U[14]=I=>B(4)),onKeyup:U[15]||(U[15]=e.withKeys(I=>B(4),["enter"]))},[u.value.style.tooltip.show&&f.value&&y.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===3?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"4",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[4]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(3),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",zQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[3],.95)},null,8,DQ),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[3]},null,8,PQ)])]),HQ,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.8 10.946a1 1 0 0 0 -1.414 .014a2.5 2.5 0 0 1 -3.572 0a1 1 0 0 0 -1.428 1.4a4.5 4.5 0 0 0 6.428 0a1 1 0 0 0 -.014 -1.414zm-6.19 -5.286l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:g(3)},null,8,RQ)],8,OQ)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(3),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},KQ,8,GQ)),u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(3)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[3],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[XQ,e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",qQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[3],.95)},null,8,YQ),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[3]},null,8,JQ)])]),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.8 10.946a1 1 0 0 0 -1.414 .014a2.5 2.5 0 0 1 -3.572 0a1 1 0 0 0 -1.428 1.4a4.5 4.5 0 0 0 6.428 0a1 1 0 0 0 -.014 -1.414zm-6.19 -5.286l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley3)":u.value.style.colors.activeReadonly[3]},null,8,ZQ)],8,jQ)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(3)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[3],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},oT,8,eT)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!u.value.readonly&&c.value===5}),style:e.normalizeStyle(`cursor:${u.value.readonly?"default":"pointer"};height:${u.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:U[16]||(U[16]=I=>s.value=4),onMouseleave:U[17]||(U[17]=I=>s.value=void 0),onClick:U[18]||(U[18]=I=>B(5)),onKeyup:U[19]||(U[19]=e.withKeys(I=>B(5),["enter"]))},[u.value.style.tooltip.show&&f.value&&y.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===4?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"5",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[5]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(4),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",aT,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[4],.9)},null,8,rT),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[4]},null,8,nT)])]),sT,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 9.66h-6a1 1 0 0 0 -1 1v.05a3.975 3.975 0 0 0 3.777 3.97l.227 .005a4.026 4.026 0 0 0 3.99 -3.79l.006 -.206a1 1 0 0 0 -1 -1.029zm-5.99 -5l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:g(4)},null,8,iT)],8,lT)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(4),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},cT,8,uT)),u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(4)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[4],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[hT,e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",fT,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[4],.9)},null,8,vT),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[4]},null,8,gT)])]),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 9.66h-6a1 1 0 0 0 -1 1v.05a3.975 3.975 0 0 0 3.777 3.97l.227 .005a4.026 4.026 0 0 0 3.99 -3.79l.006 -.206a1 1 0 0 0 -1 -1.029zm-5.99 -5l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley4)":u.value.style.colors.activeReadonly[4]},null,8,pT)],8,dT)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(4)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[4],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},bT,8,yT)):e.createCommentVNode("",!0)],38),u.value.style.rating.show&&u.value.style.rating.position==="right"?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(`width:fit-content;text-align:center;margin-bottom:${u.value.style.rating.offsetY}px;font-size:${u.value.style.rating.fontSize}px;font-weight:${u.value.style.rating.bold?"bold":"normal"};padding-left:${u.value.style.rating.offsetX}px`)},e.toDisplayString(isNaN(c.value)?"":c.value.toFixed(u.value.style.rating.roundingValue)),5)):e.createCommentVNode("",!0)],4),u.value.style.rating.show&&u.value.style.rating.position==="bottom"?(e.openBlock(),e.createElementBlock("div",{key:2,style:e.normalizeStyle(`width:100%;text-align:center;margin-top:${u.value.style.rating.offsetY}px;font-size:${u.value.style.rating.fontSize}px;font-weight:${u.value.style.rating.bold?"bold":"normal"};margin-left:${u.value.style.rating.offsetX}px`)},e.toDisplayString(isNaN(c.value)?"":c.value.toFixed(u.value.style.rating.roundingValue)),5)):e.createCommentVNode("",!0)],36))}},cg=vt(kT,[["__scopeId","data-v-3e41118a"]]),CT=Object.freeze(Object.defineProperty({__proto__:null,default:cg},Symbol.toStringTag,{value:"Module"})),wT=["id"],BT=["xmlns","viewBox"],xT=["cx","cy","r","stroke","stroke-width"],FT={key:0},NT=["stroke","d","stroke-width"],_T={key:1},ST=["stroke","x1","x2","y1","y2"],LT=["text-anchor","transform","x","y","onClick","font-weight","font-size","fill"],ET=["cx","cy","fill","onClick","r"],IT={__name:"vue-ui-relation-circle",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t;e.useCssVars(ae=>({"69fb0529":Y.value,"3158da88":T.value,"2b571f2c":$.value}));const{vue_ui_relation_circle:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length),l=e.ref(it()),s=e.ref(0),u=e.ref(null),h=e.ref(null),f=e.computed(()=>{const ae=Je({userConfig:a.config,defaultConfig:n});return ae.theme?{...Je({userConfig:Nt.vue_ui_relation_circle[ae.theme]||a.config,defaultConfig:ae}),customPalette:Pt[ae.theme]||Me}:ae}),{isPrinting:c,isImaging:y,generatePdf:C,generateImage:A}=zt({elementId:`relation_circle_${l.value}`,fileName:f.value.style.title.text||"vue-ui-relation-circle"}),B=e.computed(()=>so(f.value.customPalette)),v=e.ref([]),i=e.ref([]),g=e.ref({}),w=e.ref([]),U=e.ref(0),I=e.computed(()=>a.dataset.slice(0,f.value.style.limit)),Q=e.ref(f.value.style.size),K=e.ref({height:f.value.style.size,width:f.value.style.size}),E=e.computed({get(){return Q.value*f.value.style.circle.radiusProportion},set(ae){return ae}}),b=e.computed(()=>f.value.style.links.curved),T=e.computed(()=>`${f.value.style.animation.speedMs}ms`),Y=e.computed(()=>E.value*2),$=e.computed(()=>E.value*4),S=e.ref(null);e.onMounted(()=>{if(xt(a.dataset)?Ke({componentName:"VueUiRelationCircle",type:"dataset"}):a.dataset.forEach((ge,Z)=>{Wt({datasetObject:ge,requiredAttributes:["id","label","relations","weights"]}).forEach(ee=>{Ke({componentName:"VueUiRelationCircle",type:"datasetSerieAttribute",property:ee,index:Z})})}),f.value.responsive){const ge=Bo(()=>{const{width:Z,height:ee}=xo({chart:u.value,title:f.value.style.title.text?h.value:null});Q.value=Math.min(Z,ee),K.value.width=Z,K.value.height=ee,E.value=Q.value*f.value.style.circle.radiusProportion,v.value=[],i.value=[],oe(),te()});S.value=new ResizeObserver(ge),S.value.observe(u.value.parentNode)}else oe(),te();document.getElementById(`relation_circle_${l.value}`).addEventListener("click",W)}),e.onBeforeUnmount(()=>{document.getElementById(`relation_circle_${l.value}`).removeEventListener("click",W),S.value&&S.value.disconnect()});function W(ae){const ge=ae.target;ge&&Array.from(ge.classList).includes("vue-ui-user-options")||ge&&Array.from(ge.classList).includes("vue-ui-user-options-summary")||ge&&Array.from(ge.classList).includes("vue-data-ui-button")||ge&&Array.from(ge.classList).includes("vue-ui-relation-circle-legend")||(g.value={},w.value=[])}function oe(){const ae=6.28319/I.value.length,ge=360/I.value.length;let Z=0,ee=0;I.value.forEach((z,D)=>{const fe=E.value*Math.cos(Z)+K.value.width/2,M=E.value*Math.sin(Z)+K.value.height/2+f.value.style.circle.offsetY;v.value.push({x:fe,y:M,...z,color:z.color?z.color:B.value[D]?B.value[D]:Me[D],regAngle:ee}),Z+=ae,ee+=ge})}function te(){v.value.forEach(ae=>{v.value.filter(Z=>Z.relations.includes(ae.id)).forEach((Z,ee)=>{i.value.push({weight:ae.weights&&ae.weights[ee]?ae.weights[ee]:1,relationId:`${ae.id}_${Z.id}`,x1:ae.x,y1:ae.y,x2:Z.x,y2:Z.y,colorSource:ae.color,colorTarget:Z.color,...ae})})})}const he=e.computed(()=>Math.max(...i.value.map(ae=>ae.weight)));function le(ae){return Object.hasOwn(g.value,"x")?w.value.includes(ae.id)?"opacity:1":"opacity:0.1":"opacity:1"}function H(ae){return Object.hasOwn(g.value,"x")?ae.colorTarget:ae.colorSource}function P(ae){return Object.hasOwn(g.value,"x")?w.value.includes(ae.id)&&ae.relationId===`${ae.id}_${g.value.id}`||ae.relationId===`${g.value.id}_${ae.id}`?`opacity:1;stroke-width:${V(ae)}`:"opacity: 0":"opacity: 1"}function X(ae){return ae.regAngle>90&&ae.regAngle<270?"end":"start"}function q(ae){return ae.regAngle>90&&ae.regAngle<270?ae.x-5:ae.x+5}function m(ae){return Object.hasOwn(g.value,"x")?g.value.id===ae.id||w.value.includes(ae.id)?"opacity:1":"opacity:0.2":"opacity:1"}function _(ae){return ae.regAngle>90&&ae.regAngle<270?`rotate(${ae.regAngle+180},${ae.x},${ae.y})`:`rotate(${ae.regAngle},${ae.x},${ae.y})`}function x(ae){U.value=360-ae.regAngle,g.value.id&&ae.id===g.value.id?(g.value={},w.value=[]):(g.value=ae,w.value=[...ae.relations])}function V(ae){return ae.weight/he.value*f.value.style.links.maxWidth}const J=e.ref(!1);function ke(ae){J.value=ae,s.value+=1}return o({generatePdf:C,generateImage:A}),(ae,ge)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"relationCircleChart",ref:u,class:"vue-ui-relation-circle",style:e.normalizeStyle(`width:100%;background:${f.value.style.backgroundColor};text-align:center;${f.value.responsive?"height: 100%":""}`),id:`relation_circle_${l.value}`},[f.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:h,style:e.normalizeStyle(`width:100%;background:${f.value.style.backgroundColor}`)},[e.createVNode(Xt,{config:{title:{cy:"relation-div-title",...f.value.style.title},subtitle:{cy:"relation-div-subtitle",...f.value.style.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),f.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_options_${s.value}`,backgroundColor:f.value.style.backgroundColor,color:f.value.style.color,isPrinting:e.unref(c),isImaging:e.unref(y),uid:l.value,hasPdf:f.value.userOptions.buttons.pdf,hasImg:f.value.userOptions.buttons.img,hasFullscreen:f.value.userOptions.buttons.img,hasXls:!1,isFullscreen:J.value,titles:{...f.value.userOptions.buttonTitles},chartElement:u.value,onToggleFullscreen:ke,onGeneratePdf:e.unref(C),onGenerateImage:e.unref(A)},e.createSlots({_:2},[ae.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(ae.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,ae.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(ae.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,ae.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:Z,isFullscreen:ee})=>[e.renderSlot(ae.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:Z,isFullscreen:ee})),void 0,!0)]),key:"2"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass([{"vue-data-ui-fullscreen--on":J.value,"vue-data-ui-fulscreen--off":!J.value},"relation-circle"]),viewBox:`0 0 ${K.value.width<=0?10:K.value.width} ${K.value.height<=0?10:K.value.height}`,width:"100%",style:e.normalizeStyle(`user-select:none; background:${f.value.style.backgroundColor}`)},[e.createElementVNode("circle",{cx:(K.value.width<=0?1e-4:K.value.width)/2,cy:(K.value.height<=0?1e-4:K.value.height)/2+f.value.style.circle.offsetY,r:E.value<=0?1e-4:E.value,stroke:f.value.style.circle.stroke,"stroke-width":f.value.style.circle.strokeWidth,fill:"transparent",class:"main-circle"},null,8,xT),b.value?(e.openBlock(),e.createElementBlock("g",FT,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(Z,ee)=>(e.openBlock(),e.createElementBlock("path",{key:`relation_${ee}`,style:e.normalizeStyle(P(Z)),stroke:H(Z),class:e.normalizeClass(["relation",{"vue-ui-relation-circle-selected":g.value.hasOwnProperty("id")&&w.value.includes(Z.id)}]),d:`M${Z.x1},${Z.y1} C${Z.x1},${Z.y1} ${K.value.width/2},${K.value.height/2+f.value.style.circle.offsetY} ${Z.x2},${Z.y2}`,fill:"none","stroke-width":V(Z),"stroke-linecap":"round"},null,14,NT))),128))])):(e.openBlock(),e.createElementBlock("g",_T,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(Z,ee)=>(e.openBlock(),e.createElementBlock("line",{key:`relation_${ee}`,stroke:H(Z),style:e.normalizeStyle(P(Z)),x1:Z.x1,x2:Z.x2,y1:Z.y1,y2:Z.y2,class:e.normalizeClass({"vue-ui-relation-circle-selected":g.value.hasOwnProperty("id")&&w.value.includes(Z.id)}),"stroke-linecap":"round"},null,14,ST))),128))])),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,(Z,ee)=>(e.openBlock(),e.createElementBlock("text",{key:`plot_text_${ee}`,"text-anchor":X(Z),transform:_(Z),x:q(Z),y:Z.y+5,onClick:z=>x(Z),class:"vue-ui-relation-circle-legend","transform-origin":"start","font-weight":g.value.id===Z.id?"900":"400",style:e.normalizeStyle(`font-family:${f.value.style.fontFamily};${m(Z)}`),"font-size":f.value.style.labels.fontSize,fill:f.value.style.labels.color},e.toDisplayString(Z.label),13,LT))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,(Z,ee)=>(e.openBlock(),e.createElementBlock("circle",{cx:Z.x,cy:Z.y,key:`plot_${ee}`,style:e.normalizeStyle(le(Z)),class:"vue-ui-relation-circle-plot",fill:f.value.style.plot.color,onClick:z=>x(Z),r:f.value.style.plot.radius},null,12,ET))),128)),e.renderSlot(ae.$slots,"svg",{svg:K.value},void 0,!0)],14,BT)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"relationCircle",style:{backgroundColor:f.value.style.backgroundColor,relationCircle:{color:"#CCCCCC"}}}},null,8,["config"]))],12,wT))}},dg=vt(IT,[["__scopeId","data-v-44982e30"]]),$T=Object.freeze(Object.defineProperty({__proto__:null,default:dg},Symbol.toStringTag,{value:"Module"})),MT=["id"],UT={key:0,style:"width:100%"},VT=["xmlns","viewBox"],QT={id:"vueUiPill",clipPathUnits:"objectBoundingBox"},TT=["fill"],OT=["id"],zT=["stop-color"],DT=["stop-color"],PT=["stop-color"],HT={"clip-path":"url(#vueUiPill)"},RT=["x","y","height","width"],GT=["x","y","height","width","fill"],WT=["x1","x2","y1","y2","stroke-width","stroke"],KT=["x1","x2","y1","y2","stroke-width","stroke"],jT=["x1","x2","y1","y2","stroke-width","stroke"],XT=["x1","x2","y1","y2","stroke-width","stroke"],qT=["x1","x2","y1","y2","stroke-width","stroke"],YT=["x1","x2","y1","y2","stroke-width","stroke"],JT=["x1","x2","y1","y2","stroke-width","stroke"],ZT=["x1","x2","y1","y2","stroke-width","stroke"],eO=["x","y","height","width"],tO=["y","x","fill","font-size","font-weight"],oO={__name:"vue-ui-thermometer",props:{dataset:{type:Object,default(){return{}}},config:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t;e.useCssVars(te=>({efcaaea8:Y.value,"67dbf562":T.value,bd690a62:b.value}));const{vue_ui_thermometer:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length);e.onMounted(()=>{xt(a.dataset)?Ke({componentName:"VueUiThermometer",type:"dataset"}):Wt({datasetObject:a.dataset,requiredAttributes:["value","from","to"]}).forEach(te=>{Ke({componentName:"VueUiThermometer",type:"datasetAttribute",property:te})})});const l=e.ref(it()),s=e.ref(null),u=e.ref(0),h=e.computed(()=>{const te=Je({userConfig:a.config,defaultConfig:n});return te.theme?{...Je({userConfig:Nt.vue_ui_thermometer[te.theme]||a.config,defaultConfig:te}),customPalette:Pt[te.theme]||Me}:te}),{isPrinting:f,isImaging:c,generatePdf:y,generateImage:C}=zt({elementId:`thermometer__${l.value}`,fileName:h.value.style.title.text||"vue-ui-thermometer"}),A=e.computed(()=>so(h.value.customPalette)),B=e.computed(()=>h.value.style.chart.thermometer.width),v=e.computed(()=>a.dataset.steps||10),i=e.ref({top:h.value.style.chart.padding.top,left:h.value.style.chart.padding.left,right:h.value.style.chart.padding.right,bottom:h.value.style.chart.padding.bottom});function g(te,he,le){const H=[],P=w(te),X=w(he);for(let q=0;q<le;q++){const m=U(P.red,X.red,q,le),_=U(P.green,X.green,q,le),x=U(P.blue,X.blue,q,le),V=`#${I(m)}${I(_)}${I(x)}`;H.push(V)}return H}function w(te){const he=te.slice(1);return{red:parseInt(he.slice(0,2),16),green:parseInt(he.slice(2,4),16),blue:parseInt(he.slice(4,6),16)}}function U(te,he,le,H){return Math.round(te+(he-te)*le/H)}function I(te){return te.toString(16).padStart(2,"0")}const Q=e.computed(()=>{const te=B.value+i.value.left+i.value.right,he=h.value.style.chart.height;return{width:te,left:i.value.left,right:te-i.value.right,top:i.value.top,bottom:he-i.value.bottom,height:he}}),K=e.computed(()=>Q.value),E=e.computed(()=>{const te=a.dataset.from<0?Math.abs(a.dataset.from):a.dataset.from,he=a.dataset.to<0?Math.abs(a.dataset.to):a.dataset.to;let le=0;return a.dataset.to>0?le=te+he:te>he?le=te-he:le=he-te,(1-(Math.abs(a.dataset.from)+a.dataset.value)/le)*(Q.value.height-i.value.top-i.value.bottom)}),b=e.computed(()=>`${E.value}px`),T=e.computed(()=>`${Q.value.height-h.value.style.chart.padding.bottom-i.value.top}px`),Y=e.computed(()=>`${h.value.style.chart.animation.speedMs}ms`),$=e.computed(()=>{if(a.dataset.colors){if(!a.dataset.colors.from)return g(A.value[0]||Me[0],At(a.dataset.colors.to),v.value||10);if(!a.dataset.colors.to)return g(At(a.dataset.colors.from),A.value[1]||Me[1],v.value||10)}else return g(A.value[1]||Me[1],A.value[0]||Me[0],v.value||10);return g(At(a.dataset.colors.from),At(a.dataset.colors.to),v.value||10)}),S=e.computed(()=>{const te=[];let he=0;const le=Q.value.height-i.value.top-i.value.bottom;for(let H=0;H<le-1;H+=le/v.value)te.push({x:Q.value.left,y:Q.value.top+H,qYLess:Q.value.top+H+le/v.value/4,halfY:Q.value.top+H+le/v.value/2,qYMore:Q.value.top+H+le/v.value/4*3,color:$.value[he],height:le/v.value}),he+=1;return te}),W=e.ref(!1);function oe(te){W.value=te,u.value+=1}return o({generatePdf:y,generateImage:C}),(te,he)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"thermoChart",ref:s,class:e.normalizeClass(`vue-ui-thermometer ${W.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`width:100%;background:${h.value.style.chart.backgroundColor};color:${h.value.style.chart.color};font-family:${h.value.style.fontFamily}`),id:`thermometer__${l.value}`},[h.value.style.title.text?(e.openBlock(),e.createElementBlock("div",UT,[e.createVNode(Xt,{config:{title:{cy:"thermometer-div-title",...h.value.style.title},subtitle:{cy:"thermometer-div-subtitle",...h.value.style.title.subtitle}}},null,8,["config"])])):e.createCommentVNode("",!0),h.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_options_${u.value}`,backgroundColor:h.value.style.chart.backgroundColor,color:h.value.style.chart.color,isImaging:e.unref(c),isPrinting:e.unref(f),uid:l.value,hasPdf:h.value.userOptions.buttons.pdf,hasImg:h.value.userOptions.buttons.img,hasFullscreen:h.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:W.value,titles:{...h.value.userOptions.buttonTitles},chartElement:s.value,onToggleFullscreen:oe,onGeneratePdf:e.unref(y),onGenerateImage:e.unref(C)},e.createSlots({_:2},[te.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(te.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,te.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(te.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,te.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:le,isFullscreen:H})=>[e.renderSlot(te.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:le,isFullscreen:H})),void 0,!0)]),key:"2"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":W.value,"vue-data-ui-fulscreen--off":!W.value}),width:"100%",viewBox:`0 0 ${Q.value.width} ${Q.value.height}`,style:e.normalizeStyle(`background:${h.value.style.chart.backgroundColor}`)},[e.createElementVNode("defs",null,[e.createElementVNode("clipPath",QT,[e.createElementVNode("rect",{x:"0",y:"0",width:"1",height:"1",rx:"0.5",ry:"0.07",fill:h.value.style.chart.backgroundColor},null,8,TT)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(le,H)=>(e.openBlock(),e.createElementBlock("linearGradient",{id:`vueUiThermometerGradient_${H}_${l.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":le.color},null,8,zT),e.createElementVNode("stop",{offset:"50%","stop-color":`${le.color}${e.unref(Xe)[100-h.value.style.chart.graduations.gradient.intensity]}`},null,8,DT),e.createElementVNode("stop",{offset:"100%","stop-color":le.color},null,8,PT)],8,OT))),256))]),e.createElementVNode("g",HT,[e.createElementVNode("rect",{x:Q.value.left,y:Q.value.top,height:Q.value.height-i.value.top-i.value.bottom,width:Q.value.width-i.value.left-i.value.right,fill:"#FFFFFF"},null,8,RT),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(le,H)=>(e.openBlock(),e.createElementBlock("g",{key:`graduation_${H}`},[e.createElementVNode("rect",{x:le.x,y:le.y,height:le.height,width:Q.value.width-h.value.style.chart.padding.left-h.value.style.chart.padding.right,fill:h.value.style.chart.graduations.gradient.show?`url(#vueUiThermometerGradient_${H}_${l.value})`:le.color,"shape-rendering":"crispEdges"},null,8,GT),h.value.style.chart.graduations.show&&["both","left"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:le.x,x2:le.x+10,y1:le.y,y2:le.y,"stroke-width":h.value.style.chart.graduations.strokeWidth,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,WT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.showIntermediate?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[h.value.style.chart.graduations.show&&["both","left"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:le.x,x2:le.x+5,y1:le.halfY,y2:le.halfY,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,KT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","left"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:1,x1:le.x,x2:le.x+2.5,y1:le.qYLess,y2:le.qYLess,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,jT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","left"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:le.x,x2:le.x+2.5,y1:le.qYMore,y2:le.qYMore,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,XT)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","right"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:Q.value.right,x2:Q.value.right-10,y1:le.y,y2:le.y,"stroke-width":h.value.style.chart.graduations.strokeWidth,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,qT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.showIntermediate?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[h.value.style.chart.graduations.show&&["both","right"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:Q.value.right,x2:Q.value.right-5,y1:le.halfY,y2:le.halfY,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,YT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","right"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:1,x1:Q.value.right,x2:Q.value.right-2.5,y1:le.qYLess,y2:le.qYLess,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,JT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","right"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:Q.value.right,x2:Q.value.right-2.5,y1:le.qYMore,y2:le.qYMore,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,ZT)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)]))),128)),e.createElementVNode("rect",{class:e.normalizeClass({"vue-ui-thermometer-temperature":h.value.style.chart.animation.use}),x:Q.value.left,y:Q.value.top,height:E.value,width:Q.value.width-h.value.style.chart.padding.left-h.value.style.chart.padding.right,fill:"#FFFFFF66"},null,10,eO)]),e.createElementVNode("text",{class:e.normalizeClass({"vue-ui-thermometer-temperature-value":h.value.style.chart.animation.use}),y:E.value+Q.value.top+h.value.style.chart.label.fontSize/3,x:Q.value.left-10,"text-anchor":"end",fill:h.value.style.chart.label.color,"font-size":h.value.style.chart.label.fontSize,"font-weight":h.value.style.chart.label.bold?"bold":"normal"},e.toDisplayString(e.unref(Ge)({p:h.value.style.chart.label.prefix,v:t.dataset.value,s:h.value.style.chart.label.suffix,r:h.value.style.chart.label.rounding})),11,tO),e.renderSlot(te.$slots,"svg",{svg:K.value},void 0,!0)],14,VT)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"thermometer",style:{backgroundColor:h.value.style.chart.backgroundColor,thermometer:{color:"#CCCCCC"}}}},null,8,["config"]))],14,MT))}},hg=vt(oO,[["__scopeId","data-v-eef95fe3"]]),lO=Object.freeze(Object.defineProperty({__proto__:null,default:hg},Symbol.toStringTag,{value:"Module"})),aO=["xmlns","viewBox"],rO=["id"],nO=["stop-color"],sO=["stop-color"],iO=["stop-color"],uO={id:"stackPill",clipPathUnits:"objectBoundingBox"},AO=["fill"],cO={"clip-path":"url(#stackPill)"},dO=["height","width","fill"],hO=["onClick","x","width","height","fill","stroke"],fO=["onClick"],vO={style:{display:"flex","flex-direction":"row","align-items":"center",gap:"4px","justify-content":"center"}},gO=["height","width"],pO=["fill"],yO={__name:"vue-ui-sparkstackbar",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectDatapoint"],setup(t,{emit:o}){const a=t,{vue_ui_sparkstackbar:n}=ft(),r=e.computed(()=>!!a.dataset&&a.dataset.length),l=e.ref(it()),s=e.computed(()=>{const w=Je({userConfig:a.config,defaultConfig:n});return w.theme?{...Je({userConfig:Nt.vue_ui_sparkstackbar[w.theme]||a.config,defaultConfig:w}),customPalette:Pt[w.theme]||Me}:w}),u=e.computed(()=>so(s.value.customPalette)),h=e.ref(a.dataset.map((w,U)=>({...w,value:s.value.style.animation.show?0:w.value||0,color:w.color?At(w.color):u.value[U]||Me[U]||Me[U%Me.length]}))),f=e.ref(!0);e.onMounted(()=>{if(xt(a.dataset)?Ke({componentName:"VueUiSparkStackbar",type:"dataset"}):a.dataset.forEach((w,U)=>{Wt({datasetObject:w,requiredAttributes:["name","value"]}).forEach(I=>{Ke({componentName:"VueUiSparkStackbar",type:"datasetSerieAttribute",property:I,index:U})})}),s.value.style.animation.show){let K=function(){Q+=I/w,Q<I?(h.value=h.value.map((E,b)=>({...E,value:E.value+=U[b],color:E.color?At(E.color):u.value[b]||Me[b]||Me[b%Me.length]})),requestAnimationFrame(K)):(f.value=!1,h.value=a.dataset.map((E,b)=>({...E,value:E.value||0,color:E.color?At(E.color):u.value[b]||Me[b]||Me[b%Me.length],id:it()})))};const w=s.value.style.animation.animationFrames,U=a.dataset.map((E,b)=>E.value/w),I=a.dataset.map(E=>E.value||0).reduce((E,b)=>E+b,0);let Q=0;f.value=!0,K()}});const c=e.ref({width:500,height:16}),y=e.ref([]),C=e.computed(()=>a.dataset.map(w=>w.value||0).filter((w,U)=>!y.value.includes(U)).reduce((w,U)=>w+U,0)),A=e.computed(()=>h.value.map((w,U)=>({...w,value:w.value||0,proportion:(w.value||0)/C.value,width:(w.value||0)/C.value*c.value.width,proportionLabel:Ge({v:(w.value||0)/C.value*100,s:"%",r:s.value.style.legend.percentage.rounding})}))),B=e.computed(()=>A.value.filter((w,U)=>!y.value.includes(U)));function v(w){y.value.includes(w)?y.value=y.value.filter(U=>U!==w):y.value.length<h.value.length-1&&y.value.push(w)}const i=e.computed(()=>{let w=0;const U=[];for(let I=0;I<B.value.length;I+=1)U.push({...B.value[I],start:w}),w+=B.value[I].width;return U});function g(w,U){o("selectDatapoint",{datapoint:w,index:U})}return(w,U)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`width:100%; background:${s.value.style.backgroundColor}`)},[s.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:calc(100% - 12px);background:${s.value.style.backgroundColor};margin:0 auto;margin:${s.value.style.title.margin};padding: 0 6px;text-align:${s.value.style.title.textAlign}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`font-size:${s.value.style.title.fontSize}px;color:${s.value.style.title.color};font-weight:${s.value.style.title.bold?"bold":"normal"}`)},e.toDisplayString(s.value.style.title.text),5),s.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`font-size:${s.value.style.title.subtitle.fontSize}px;color:${s.value.style.title.subtitle.color};font-weight:${s.value.style.title.subtitle.bold?"bold":"normal"}`)},e.toDisplayString(s.value.style.title.subtitle.text),5)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),width:"100%",viewBox:`0 0 ${c.value.width} ${c.value.height}`},[e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(I,Q)=>(e.openBlock(),e.createElementBlock("linearGradient",{key:`stack_gradient_${Q}`,gradientTransform:"rotate(90)",id:`stack_gradient_${Q}_${l.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":I.color},null,8,nO),e.createElementVNode("stop",{offset:"50%","stop-color":`${e.unref(Lt)(I.color,.05)}${e.unref(Xe)[100-s.value.style.bar.gradient.intensity]}`},null,8,sO),e.createElementVNode("stop",{offset:"100%","stop-color":I.color},null,8,iO)],8,rO))),128)),e.createElementVNode("clipPath",uO,[e.createElementVNode("rect",{x:"0.005",y:"-2",width:"0.99",height:"5",rx:"3",ry:"3",fill:s.value.style.backgroundColor},null,8,AO)])]),e.createElementVNode("g",cO,[e.createElementVNode("rect",{x:0,y:0,height:c.value.height,width:i.value.map(I=>I.width).reduce((I,Q)=>I+Q,0),fill:s.value.style.bar.gradient.underlayerColor,class:e.normalizeClass({animated:!f.value})},null,10,dO),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(I,Q)=>(e.openBlock(),e.createElementBlock("rect",{key:`stack_${Q}`,onClick:()=>g(I,Q),x:I.start,y:0,width:I.width,height:c.value.height,fill:s.value.style.bar.gradient.show?`url(#stack_gradient_${Q}_${l.value})`:I.color,stroke:s.value.style.backgroundColor,"stroke-linecap":"round",class:e.normalizeClass({animated:!f.value})},null,10,hO))),128))])],8,aO)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:2,config:{type:"sparkStackbar",style:{backgroundColor:s.value.style.backgroundColor,sparkStackbar:{color:"#CCCCCC"}}}},null,8,["config"])),s.value.style.legend.show?(e.openBlock(),e.createElementBlock("div",{key:3,style:e.normalizeStyle(`background:${s.value.style.backgroundColor};margin:0 auto;margin:${s.value.style.legend.margin};justify-content:${s.value.style.legend.textAlign==="left"?"flex-start":s.value.style.legend.textAlign==="right"?"flex-end":"center"}`),class:"vue-ui-sparkstackbar-legend"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value,(I,Q)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`font-size:${s.value.style.legend.fontSize}px;`),class:e.normalizeClass({"vue-ui-sparkstackbar-legend-item":!0,"vue-ui-sparkstackbar-legend-item-unselected":y.value.includes(Q)}),onClick:K=>{v(Q),g(I,Q)}},[e.createElementVNode("div",vO,[(e.openBlock(),e.createElementBlock("svg",{height:`${s.value.style.legend.fontSize}px`,width:`${s.value.style.legend.fontSize}px`,viewBox:"0 0 10 10"},[e.createElementVNode("circle",{cx:5,cy:5,r:5,fill:I.color},null,8,pO)],8,gO)),e.createElementVNode("span",{style:e.normalizeStyle(`color:${s.value.style.legend.name.color}; font-weight:${s.value.style.legend.name.bold?"bold":"normal"}`)},e.toDisplayString(I.name),5),s.value.style.legend.percentage.show?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle(`font-weight:${s.value.style.legend.percentage.bold?"bold":"normal"};color:${s.value.style.legend.percentage.color}`)},e.toDisplayString(y.value.includes(Q)?" - ":I.proportionLabel),5)):e.createCommentVNode("",!0),s.value.style.legend.value.show?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle(`font-weight:${s.value.style.legend.value.bold?"bold":"normal"};color:${s.value.style.legend.value.color}`)}," ("+e.toDisplayString(e.unref(Ge)({p:s.value.style.legend.value.prefix,v:I.value,s:s.value.style.legend.value.suffix,r:s.value.style.legend.value.rounding}))+") ",5)):e.createCommentVNode("",!0)])],14,fO))),256))],4)):e.createCommentVNode("",!0)],4))}},fg=vt(yO,[["__scopeId","data-v-2006741b"]]),mO=Object.freeze(Object.defineProperty({__proto__:null,default:fg},Symbol.toStringTag,{value:"Module"})),bO={key:0},kO={key:1},CO=["xmlns","viewBox"],wO=["id"],BO=["stop-color"],xO=["stop-color"],FO=["id"],NO=["stop-color"],_O=["stop-color"],SO={key:0},LO=["x","y","height","width","fill","stroke","stroke-width","rx"],EO={key:1},IO=["x","y","font-size","font-weight","fill"],$O=["x","y","font-size","fill"],MO=["x","y","font-size","fill"],UO=["height","width","x","onMouseover","stroke","stroke-width","rx","stroke-dasharray","onClick"],VO={__name:"vue-ui-sparkhistogram",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectDatapoint"],setup(t,{emit:o}){const a=t;e.useCssVars(B=>({"34a5ebe4":A.value}));const{vue_ui_sparkhistogram:n}=ft(),r=e.computed(()=>!!a.dataset&&a.dataset.length);e.onMounted(()=>{xt(a.dataset)?Ke({componentName:"VueUiSparkHistogram",type:"dataset"}):a.dataset.forEach((B,v)=>{Wt({datasetObject:B,requiredAttributes:["value"]}).forEach(i=>{Ke({componentName:"VueUiSparkHistogram",type:"datasetSerieAttribute",property:i,index:v})})})});const l=e.ref(it()),s=e.computed(()=>{const B=Je({userConfig:a.config,defaultConfig:n});return B.theme?{...Je({userConfig:Nt.vue_ui_sparkhistogram[B.theme]||a.config,defaultConfig:B})}:B}),u=e.computed(()=>{const B=s.value.style.layout.height,v=s.value.style.layout.width,i=s.value.style.layout.padding.top,g=B-s.value.style.layout.padding.bottom,w=s.value.style.layout.padding.left,U=v-s.value.style.layout.padding.right,I=i+(B-i-s.value.style.layout.padding.bottom)/2,Q=B-s.value.style.layout.padding.top-s.value.style.layout.padding.bottom,K=v-s.value.style.layout.padding.left-s.value.style.layout.padding.right;return{bottom:g,centerY:I,drawingHeight:Q,drawingWidth:K,height:B,left:w,right:U,top:i,width:v}}),h=e.computed(()=>Math.max(...a.dataset.map(B=>Math.abs(B.value||0))));function f(B){return Math.abs(B)/h.value}const c=e.computed(()=>a.dataset.map((B,v)=>{const i=f(B.value||0),g=u.value.drawingHeight*i,w=u.value.drawingWidth/a.dataset.length,U=w*(s.value.style.bars.gap/100),I=w-U,Q=u.value.centerY-g/2,K=u.value.left+(U/2+v*w),E=u.value.left+v*w,b=typeof B.intensity>"u"?100:Math.round(B.intensity*100),T=B.value>=0?`${s.value.style.bars.colors.positive}${Xe[b]}`:`${s.value.style.bars.colors.negative}${Xe[b]}`,Y=B.value>=0?s.value.style.bars.colors.positive:s.value.style.bars.colors.negative,$=B.value>=0?`url(#gradient_positive_${v}_${l.value})`:`url(#gradient_negative_${v}_${l.value})`,S=K+I/2;return{...B,color:T,gradient:$,height:g,intensity:b,proportion:i,stroke:Y,textAnchor:S,trapX:E,unitWidth:w,width:I,x:K,y:Q}})),y=e.ref(null);function C(B,v){o("selectDatapoint",{datapoint:B,index:v})}const A=e.computed(()=>`${s.value.style.animation.speedMs}ms`);return(B,v)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`width:100%;background:${s.value.style.backgroundColor};font-family:${s.value.style.fontFamily}`),onMouseleave:v[1]||(v[1]=i=>y.value=null)},[s.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:calc(100% - 12px);background:${s.value.style.backgroundColor};margin:0 auto;margin:${s.value.style.title.margin};padding: 0 6px;text-align:${s.value.style.title.textAlign}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`font-size:${s.value.style.title.fontSize}px;color:${s.value.style.title.color};font-weight:${s.value.style.title.bold?"bold":"normal"}`)},[e.createTextVNode(e.toDisplayString(s.value.style.title.text)+" ",1),y.value!==null?(e.openBlock(),e.createElementBlock("span",bO,"- "+e.toDisplayString(c.value[y.value].timeLabel||"")+" "+e.toDisplayString(s.value.style.labels.value.prefix)+e.toDisplayString(isNaN(c.value[y.value].value)?"":": "+Number(c.value[y.value].value.toFixed(s.value.style.labels.value.rounding)).toLocaleString())+e.toDisplayString(s.value.style.labels.value.suffix),1)):e.createCommentVNode("",!0),e.createTextVNode(),![void 0,null].includes(y.value)&&![null,void 0].includes(c.value[y.value].valueLabel)?(e.openBlock(),e.createElementBlock("span",kO,"("+e.toDisplayString(c.value[y.value].valueLabel||0)+")",1)):e.createCommentVNode("",!0)],4),s.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`font-size:${s.value.style.title.subtitle.fontSize}px;color:${s.value.style.title.subtitle.color};font-weight:${s.value.style.title.subtitle.bold?"bold":"normal"}`)},e.toDisplayString(s.value.style.title.subtitle.text),5)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),viewBox:`0 0 ${u.value.width} ${u.value.height}`,style:{overflow:"visible"}},[e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,g)=>(e.openBlock(),e.createElementBlock("radialGradient",{id:`gradient_positive_${g}_${l.value}`,cy:"50%",cx:"50%",r:"50%",fx:"50%",fy:"50%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${e.unref(Lt)(s.value.style.bars.colors.positive,.05)}${e.unref(Xe)[i.intensity]}`},null,8,BO),e.createElementVNode("stop",{offset:"100%","stop-color":`${s.value.style.bars.colors.positive}${e.unref(Xe)[i.intensity]}`},null,8,xO)],8,wO))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,g)=>(e.openBlock(),e.createElementBlock("radialGradient",{id:`gradient_negative_${g}_${l.value}`,cy:"50%",cx:"50%",r:"50%",fx:"50%",fy:"50%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${e.unref(Lt)(s.value.style.bars.colors.negative,.05)}${e.unref(Xe)[i.intensity]}`},null,8,NO),e.createElementVNode("stop",{offset:"100%","stop-color":`${s.value.style.bars.colors.negative}${e.unref(Xe)[i.intensity]}`},null,8,_O)],8,FO))),256))]),!s.value.style.bars.shape||s.value.style.bars.shape==="square"?(e.openBlock(),e.createElementBlock("g",SO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,g)=>(e.openBlock(),e.createElementBlock("rect",{x:i.x,y:i.y,height:i.height,width:i.width,fill:s.value.style.bars.colors.gradient.show?i.gradient:i.color,stroke:i.stroke,"stroke-width":s.value.style.bars.strokeWidth,rx:`${s.value.style.bars.borderRadius*i.proportion/12}%`,class:e.normalizeClass({"vue-ui-sparkhistogram-shape":s.value.style.animation.show})},null,10,LO))),256))])):(e.openBlock(),e.createElementBlock("g",EO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,g)=>(e.openBlock(),e.createBlock(ra,{plot:{x:i.x+i.width/2,y:i.y+i.height/2},color:s.value.style.bars.colors.gradient.show?i.gradient:i.color,shape:s.value.style.bars.shape,radius:i.height*.4,class:e.normalizeClass({"vue-ui-sparkhistogram-shape":s.value.style.animation.show})},null,8,["plot","color","shape","radius","class"]))),256))])),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,g)=>(e.openBlock(),e.createElementBlock("text",{"text-anchor":"middle",x:i.textAnchor,y:i.y-s.value.style.labels.value.fontSize/3+s.value.style.labels.value.offsetY,"font-size":s.value.style.labels.value.fontSize,"font-weight":s.value.style.labels.value.bold?"bold":"normal",fill:s.value.style.labels.value.color},e.toDisplayString(s.value.style.labels.value.prefix)+e.toDisplayString(isNaN(i.value)?"":Number(i.value.toFixed(s.value.style.labels.value.rounding)).toLocaleString())+e.toDisplayString(s.value.style.labels.value.suffix),9,IO))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,g)=>(e.openBlock(),e.createElementBlock("g",null,[i.valueLabel?(e.openBlock(),e.createElementBlock("text",{key:0,x:i.textAnchor,y:i.y+i.height+s.value.style.labels.valueLabel.fontSize,"font-size":s.value.style.labels.valueLabel.fontSize,"text-anchor":"middle",fill:s.value.style.labels.valueLabel.color},e.toDisplayString(i.valueLabel),9,$O)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,g)=>(e.openBlock(),e.createElementBlock("g",null,[i.timeLabel?(e.openBlock(),e.createElementBlock("text",{key:0,x:i.textAnchor,y:u.value.height-s.value.style.labels.timeLabel.fontSize/2,"font-size":s.value.style.labels.timeLabel.fontSize,fill:s.value.style.labels.timeLabel.color,"text-anchor":"middle"},e.toDisplayString(i.timeLabel),9,MO)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,g)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{height:u.value.height,width:i.unitWidth,fill:"transparent",x:i.trapX,y:0,onMouseover:w=>y.value=g,onMouseleave:v[0]||(v[0]=w=>y.value=null),stroke:y.value!==null&&y.value===g?s.value.style.selector.stroke:"","stroke-width":y.value!==null&&y.value===g?s.value.style.selector.strokeWidth:0,rx:s.value.style.selector.borderRadius,"stroke-dasharray":s.value.style.selector.strokeDasharray,onClick:()=>C(i,g)},null,40,UO)]))),256))],8,CO)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:2,config:{type:"sparkHistogram",style:{backgroundColor:s.value.style.backgroundColor,sparkHistogram:{color:"#CCCCCC"}}}},null,8,["config"]))],36))}},vg=vt(VO,[["__scopeId","data-v-7aed7086"]]),QO=Object.freeze(Object.defineProperty({__proto__:null,default:vg},Symbol.toStringTag,{value:"Module"})),TO=["id"],OO=["xmlns","viewBox"],zO=["id"],DO=["stop-color"],PO=["stop-color"],HO=["stroke","cx","cy","r","fill"],RO=["stroke-width","cx","cy","r","fill"],GO=["cx","cy","r","onMouseenter"],WO=["onClick"],KO={key:0},jO={key:1},XO=["innerHTML"],qO={__name:"vue-ui-rings",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend"],setup(t,{expose:o,emit:a}){const n=t,{vue_ui_rings:r}=ft(),l=e.ref(!1),s=e.computed(()=>!!n.dataset&&n.dataset.length),u=e.ref(it()),h=e.ref(null),f=e.ref(!1),c=e.ref(""),y=e.ref(null),C=e.ref(0),A=e.ref(null),B=e.ref(null),v=e.ref(null),i=e.computed(()=>{const Z=Je({userConfig:n.config,defaultConfig:r});return Z.theme?{...Je({userConfig:Nt.vue_ui_rings[Z.theme]||n.config,defaultConfig:Z}),customPalette:Pt[Z.theme]||Me}:Z}),g=e.ref(null);e.onMounted(()=>{if(xt(n.dataset)?Ke({componentName:"VueUiRings",type:"dataset"}):n.dataset.forEach((Z,ee)=>{Wt({datasetObject:Z,requiredAttributes:["name","values"]}).forEach(z=>{Ke({componentName:"VueUiRings",type:"datasetSerieAttribute",property:z,index:ee})})}),i.value.responsive){const Z=Bo(()=>{const{width:ee,height:z}=xo({chart:A.value,title:i.value.style.chart.title.text?B.value:null,legend:i.value.style.chart.legend.show?v.value:null});b.value.width=ee,b.value.height=z});g.value=new ResizeObserver(Z),g.value.observe(A.value.parentNode)}setTimeout(()=>{l.value=!0},600)}),e.onBeforeUnmount(()=>{g.value&&g.value.disconnect()});const{isPrinting:w,isImaging:U,generatePdf:I,generateImage:Q}=zt({elementId:`rings_${u.value}`,fileName:i.value.style.chart.title.text||"vue-ui-rings"}),K=e.computed(()=>so(i.value.customPalette)),E=e.ref({showTable:i.value.table.show,showTooltip:i.value.style.chart.tooltip.show}),b=e.ref({height:360,width:360}),T=e.computed(()=>Math.min(b.value.height,b.value.width)),Y=e.ref([]);function $(Z){Y.value.includes(Z)?Y.value=Y.value.filter(ee=>ee!==Z):Y.value.push(Z),a("selectLegend",H.value.map(ee=>({name:ee.name,color:ee.color,value:ee.value})))}const S=e.computed(()=>Math.max(...oe.value.filter(Z=>!Y.value.includes(Z.uid)).map(({value:Z})=>Z)));function W(Z){return Z/S.value}const oe=e.computed(()=>n.dataset.map(({values:Z,name:ee,color:z=null},D)=>{const fe=(Z||[]).reduce((M,N)=>M+N,0);return{name:ee,color:z||At(z)||K.value[D]||Me[D]||Me[D%Me.length],value:fe,proportion:fe/n.dataset.map(M=>(M.values||[]).reduce((N,j)=>N+j,0)).reduce((M,N)=>M+N,0),uid:it()}})),te=e.computed(()=>oe.value.map(Z=>({...Z,shape:"circle",opacity:Y.value.includes(Z.uid)?.5:1,segregate:()=>$(Z.uid),isSegregated:Y.value.includes(Z.uid)})).toSorted((Z,ee)=>ee.value-Z.value)),he=e.computed(()=>({cy:"rings-div-legend",backgroundColor:i.value.style.chart.legend.backgroundColor,color:i.value.style.chart.legend.color,fontSize:i.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:i.value.style.chart.legend.bold?"bold":""})),le=e.computed(()=>oe.value.filter(Z=>!Y.value.includes(Z.uid)).map(({value:Z})=>Z).reduce((Z,ee)=>Z+ee,0)),H=e.computed(()=>oe.value.filter(Z=>!Y.value.includes(Z.uid)).map(({name:Z,value:ee,color:z=null,uid:D},fe)=>({uid:D,name:Z,color:z||At(z)||K.value[fe]||Me[fe]||Me[fe%Me.length],value:ee,proportion:W(ee),percentage:ee/le.value*100,strokeWidth:i.value.style.chart.layout.rings.strokeWidth*W(ee)})).toSorted((Z,ee)=>ee.value-Z.value));function P(){return H.value.map(({name:Z,color:ee,value:z,absoluteValues:D,percentage:fe})=>({name:Z,color:ee,value:z,absoluteValues:D,percentage:fe}))}const X=e.computed(()=>T.value-i.value.style.chart.layout.rings.strokeWidth*2),q=e.ref(null);function m(Z,ee){if(Y.value.length===n.dataset.length)return;q.value={datapoint:ee,seriesIndex:Z,series:H.value,config:i.value},y.value=Z;const z=H.value[Z],D=i.value.style.chart.tooltip.customFormat;if(Gt(D)&&wo(()=>D({seriesIndex:Z,datapoint:ee,series:H.value,config:i.value})))c.value=D({seriesIndex:Z,datapoint:ee,series:H.value,config:i.value});else{let fe="";fe+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${i.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${z.name}</div>`,fe+=`<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${z.color}" /></svg>`,i.value.style.chart.tooltip.showValue&&(fe+=`<b>${Ge({p:i.value.style.chart.layout.labels.dataLabels.prefix,v:z.value,s:i.value.style.chart.layout.labels.dataLabels.suffix,r:i.value.style.chart.tooltip.roundingValue})}</b>`),i.value.style.chart.tooltip.showPercentage&&(i.value.style.chart.tooltip.showValue?fe+=`<span>(${(z.value/le.value*100).toFixed(i.value.style.chart.tooltip.roundingPercentage)}%)</span></div>`:fe+=`<b>${(z.value/le.value*100).toFixed(i.value.style.chart.tooltip.roundingPercentage)}%</b></div>`),c.value=fe}f.value=!0}const _=e.computed(()=>{const Z=H.value.map(z=>({name:z.name,color:z.color})),ee=H.value.map(z=>z.value);return{head:Z,body:ee}}),x=e.computed(()=>{const Z=[' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',Ge({p:i.value.style.chart.layout.labels.dataLabels.prefix,v:le.value,s:i.value.style.chart.layout.labels.dataLabels.suffix,r:i.value.table.td.roundingValue}),"100%"],ee=_.value.head.map((fe,M)=>[{color:fe.color,name:fe.name},Ge({p:i.value.style.chart.layout.labels.dataLabels.prefix,v:_.value.body[M],s:i.value.style.chart.layout.labels.dataLabels.suffix,r:i.value.table.td.roundingValue}),isNaN(_.value.body[M]/le.value)?"-":(_.value.body[M]/le.value*100).toFixed(i.value.table.td.roundingPercentage)+"%"]),z={th:{backgroundColor:i.value.table.th.backgroundColor,color:i.value.table.th.color,outline:i.value.table.th.outline},td:{backgroundColor:i.value.table.td.backgroundColor,color:i.value.table.td.color,outline:i.value.table.td.outline},breakpoint:i.value.table.responsiveBreakpoint},D=[i.value.table.columnNames.series,i.value.table.columnNames.value,i.value.table.columnNames.percentage];return{head:Z,body:ee,config:z,colNames:D}});function V(){e.nextTick(()=>{const Z=_.value.head.map((D,fe)=>[[D.name],[_.value.body[fe]],[isNaN(_.value.body[fe]/le.value)?"-":_.value.body[fe]/le.value*100]]),ee=[[i.value.style.chart.title.text],[i.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(Z),z=eo(ee);Zt({csvContent:z,title:i.value.style.chart.title.text||"vue-ui-rings"})})}const J=e.ref(!1);function ke(Z){J.value=Z,C.value+=1}function ae(){E.value.showTable=!E.value.showTable}function ge(){E.value.showTooltip=!E.value.showTooltip}return o({getData:P,generatePdf:I,generateCsv:V,generateImage:Q,toggleTable:ae,toggleTooltip:ge}),(Z,ee)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"ringsChart",ref:A,class:e.normalizeClass(`vue-ui-rings ${J.value?"vue-data-ui-wrapper-fullscreen":""} ${i.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${i.value.style.fontFamily};text-align:center;width:100%;background:${i.value.style.chart.backgroundColor};${i.value.responsive?"height: 100%":""}`),id:`rings_${u.value}`,onMouseleave:ee[3]||(ee[3]=z=>{y.value=null,f.value=!1})},[i.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:B,style:e.normalizeStyle(`width:100%;background:${i.value.style.chart.backgroundColor}`)},[e.createVNode(Xt,{config:{title:{cy:"rings-div-title",...i.value.style.chart.title},subtitle:{cy:"rings-div-subtitle",...i.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),i.value.userOptions.show&&s.value?(e.openBlock(),e.createBlock(Tt,{ref_key:"details",ref:h,key:`user_options_${C.value}`,backgroundColor:i.value.style.chart.backgroundColor,color:i.value.style.chart.color,isPrinting:e.unref(w),isImaging:e.unref(U),uid:u.value,hasTooltip:i.value.userOptions.buttons.tooltip&&i.value.style.chart.tooltip.show,hasPdf:i.value.userOptions.buttons.pdf,hasXls:i.value.userOptions.buttons.csv,hasImg:i.value.userOptions.buttons.img,hasTable:i.value.userOptions.buttons.table,hasFullscreen:i.value.userOptions.buttons.fullscreen,isTooltip:E.value.showTooltip,isFullscreen:J.value,titles:{...i.value.userOptions.buttonTitles},chartElement:A.value,onToggleFullscreen:ke,onGeneratePdf:e.unref(I),onGenerateCsv:V,onGenerateImage:e.unref(Q),onToggleTable:ae,onToggleTooltip:ge},e.createSlots({_:2},[Z.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,Z.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,Z.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,Z.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,Z.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,Z.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:z,isFullscreen:D})=>[e.renderSlot(Z.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:z,isFullscreen:D})),void 0,!0)]),key:"5"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isTooltip","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),s.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":J.value,"vue-data-ui-fulscreen--off":!J.value}),viewBox:`0 0 ${b.value.width<=0?10:b.value.width} ${b.value.height<=0?10:b.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:${i.value.style.chart.backgroundColor};color:${i.value.style.chart.color}`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(H.value,(z,D)=>(e.openBlock(),e.createElementBlock("radialGradient",{cx:"50%",cy:"30%",r:"50%",fx:"50%",fy:"50%",id:`gradient_${u.value}_${D}`},[e.createElementVNode("stop",{offset:"0%","stop-color":`${e.unref(Lt)(z.color,.05)}${e.unref(Xe)[100-i.value.style.chart.layout.rings.gradient.intensity]}`},null,8,DO),e.createElementVNode("stop",{offset:"100%","stop-color":z.color},null,8,PO)],8,zO))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(H.value,(z,D)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("circle",{class:e.normalizeClass({"vue-ui-rings-item":l.value&&i.value.useCssAnimation,"vue-rings-item-onload":!l.value&&i.value.useCssAnimation,"vue-ui-rings-opacity":y.value!==null&&y.value!==D}),style:e.normalizeStyle(`animation-delay:${D*100}ms`),stroke:i.value.style.chart.layout.rings.stroke,cx:b.value.width/2,cy:D===0?b.value.height/2:b.value.height/2+X.value*H.value[0].proportion/2-X.value*z.proportion/2-2*(D+1),r:X.value*z.proportion/2*.9<=0?1e-4:X.value*z.proportion/2*.9,fill:i.value.style.chart.layout.rings.gradient.underlayerColor},null,14,HO),e.createElementVNode("circle",{class:e.normalizeClass({"vue-ui-rings-item":l.value&&i.value.useCssAnimation,"vue-rings-item-onload":!l.value&&i.value.useCssAnimation,"vue-ui-rings-shadow":i.value.style.chart.layout.rings.useShadow,"vue-ui-rings-blur":y.value!==null&&y.value!==D}),style:e.normalizeStyle(`animation-delay:${D*100}ms`),stroke:"none","stroke-width":z.strokeWidth<.5?.5:z.strokeWidth,cx:b.value.width/2,cy:D===0?b.value.height/2:b.value.height/2+X.value*H.value[0].proportion/2-X.value*z.proportion/2-2*(D+1),r:X.value*z.proportion/2*.9<=0?1e-4:X.value*z.proportion/2*.9,fill:i.value.style.chart.layout.rings.gradient.show?`url(#gradient_${u.value}_${D})`:z.color},null,14,RO),e.createElementVNode("circle",{"data-cy-trap":"",stroke:"none",cx:b.value.width/2,cy:D===0?b.value.height/2:b.value.height/2+X.value*H.value[0].proportion/2-X.value*z.proportion/2-2*(D+1),r:X.value*z.proportion/2*.9<=0?1e-4:X.value*z.proportion/2*.9,fill:"transparent",onMouseenter:fe=>m(D,z),onMouseleave:ee[0]||(ee[0]=fe=>{y.value=null,f.value=!1})},null,40,GO)]))),256)),e.renderSlot(Z.$slots,"svg",{svg:b.value},void 0,!0)],14,OO)):e.createCommentVNode("",!0),s.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"rings",style:{backgroundColor:i.value.style.chart.backgroundColor,rings:{color:"#CCCCCC"}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:v},[i.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Zo,{key:0,legendSet:te.value,config:he.value,onClickMarker:ee[1]||(ee[1]=({legend:z})=>$(z.uid))},{item:e.withCtx(({legend:z})=>[e.createElementVNode("div",{"data-cy-legend-item":"",onClick:D=>$(z.uid),style:e.normalizeStyle(`opacity:${Y.value.includes(z.uid)?.5:1}`)},[e.createTextVNode(e.toDisplayString(z.name)+": "+e.toDisplayString(e.unref(Ge)({p:i.value.style.chart.layout.labels.dataLabels.prefix,v:z.value,s:i.value.style.chart.layout.labels.dataLabels.suffix,r:i.value.style.chart.legend.roundingValue}))+" ",1),Y.value.includes(z.uid)?(e.openBlock(),e.createElementBlock("span",jO," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",KO," ("+e.toDisplayString(isNaN(z.value/le.value)?"-":(z.value/le.value*100).toFixed(i.value.style.chart.legend.roundingPercentage))+"%) ",1))],12,WO)]),_:1},8,["legendSet","config"])):e.renderSlot(Z.$slots,"legend",{key:1,legend:te.value},void 0,!0)],512),e.createVNode(Oo,{show:E.value.showTooltip&&f.value&&Y.value.length<n.dataset.length,backgroundColor:i.value.style.chart.tooltip.backgroundColor,color:i.value.style.chart.tooltip.color,borderRadius:i.value.style.chart.tooltip.borderRadius,borderColor:i.value.style.chart.tooltip.borderColor,borderWidth:i.value.style.chart.tooltip.borderWidth,fontSize:i.value.style.chart.tooltip.fontSize,backgroundOpacity:i.value.style.chart.tooltip.backgroundOpacity,parent:A.value,content:c.value,isCustom:i.value.style.chart.tooltip.customFormat&&typeof i.value.style.chart.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(Z.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...q.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(Z.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...q.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","parent","content","isCustom"]),s.value?(e.openBlock(),e.createBlock(lo,{key:4,hideDetails:"",config:{open:E.value.showTable,maxHeight:1e4,body:{backgroundColor:i.value.style.chart.backgroundColor,color:i.value.style.chart.color},head:{backgroundColor:i.value.style.chart.backgroundColor,color:i.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(yo,{colNames:x.value.colNames,head:x.value.head,body:x.value.body,config:x.value.config,title:`${i.value.style.chart.title.text}${i.value.style.chart.title.subtitle.text?` : ${i.value.style.chart.title.subtitle.text}`:""}`,onClose:ee[2]||(ee[2]=z=>E.value.showTable=!1)},{th:e.withCtx(({th:z})=>[e.createElementVNode("div",{innerHTML:z,style:{display:"flex","align-items":"center"}},null,8,XO)]),td:e.withCtx(({td:z})=>[e.createTextVNode(e.toDisplayString(z.name||z),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,TO))}},gg=vt(qO,[["__scopeId","data-v-956d6194"]]),YO=Object.freeze(Object.defineProperty({__proto__:null,default:gg},Symbol.toStringTag,{value:"Module"})),JO=["id"],ZO=["xmlns","viewBox"],ez=["x1","x2","y1","y2","stroke","stroke-width","stroke-linecap"],tz=["cx","cy","r","stroke","stroke-width"],oz=["x","y","font-size","fill","font-weight"],lz={__name:"vue-ui-wheel",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t,{vue_ui_wheel:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length),l=e.ref(it()),s=e.ref(null),u=e.ref(0),h=e.ref(null),f=e.ref(null),c=e.computed(()=>{const T=Je({userConfig:a.config,defaultConfig:n});return T.theme?{...Je({userConfig:Nt.vue_ui_wheel[T.theme]||a.config,defaultConfig:T})}:T}),{isPrinting:y,isImaging:C,generatePdf:A,generateImage:B}=zt({elementId:l.value,fileName:c.value.style.chart.title.text||"vue-ui-wheel"}),v=e.ref({size:360,height:360,width:360}),i=e.ref(c.value.style.chart.layout.percentage.fontSize),g=e.computed(()=>({radius:Math.min(v.value.width,v.value.height)*.9/2,centerX:v.value.width/2,centerY:v.value.height/2}));function w(T,Y=1){return{x:g.value.centerX+g.value.radius*Math.cos(29.85+T*Math.PI/180)*Y,y:g.value.centerY+g.value.radius*Math.sin(29.85+T*Math.PI/180)*Y}}const U=e.ref(c.value.style.chart.animation.use?0:a.dataset.percentage||0);e.watch(()=>a.dataset.percentage,()=>{U.value=e.ref(c.value.style.chart.animation.use?0:a.dataset.percentage||0),Q()});const I=e.ref(null);e.onMounted(()=>{if(xt(a.dataset)&&Ke({componentName:"VueUiWheel",type:"dataset"}),Q(),c.value.responsive){const T=Bo(()=>{const{width:Y,height:$}=xo({chart:h.value,title:c.value.style.chart.title.text?f.value:null});v.value.width=Y,v.value.height=$,i.value=c.value.style.chart.layout.percentage.fontSize/360*Math.min(Y,$)});I.value=new ResizeObserver(T),I.value.observe(h.value.parentNode)}}),e.onBeforeUnmount(()=>{I.value&&I.value.disconnect()});function Q(){let T=0,Y=c.value.style.chart.animation.speed,$=.005*c.value.style.chart.animation.acceleration;function S(){U.value+=Y+T,T+=$,U.value<(a.dataset.percentage||0)?requestAnimationFrame(S):U.value=a.dataset.percentage||0}c.value.style.chart.animation.use&&(U.value=0,S())}const K=e.computed(()=>{const T=[];for(let $=0;$<100;$+=1){const S=U.value>$?c.value.style.chart.layout.wheel.ticks.activeColor:c.value.style.chart.layout.wheel.ticks.inactiveColor,{x:W,y:oe}=w(v.value.size/100*$),{x:te,y:he}=w(v.value.size/100*$,.9);T.push({x1:W,y1:oe,x2:te,y2:he,color:c.value.style.chart.layout.wheel.ticks.gradient.show?Lt(S,$/100*(c.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity/100)):S})}return T}),E=e.ref(!1);function b(T){E.value=T,u.value+=1}return o({generatePdf:A,generateImage:B}),(T,Y)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-wheel",ref_key:"wheelChart",ref:h,id:l.value,style:e.normalizeStyle(`font-family:${c.value.style.fontFamily};width:100%; text-align:center;background:${c.value.style.chart.backgroundColor};${c.value.responsive?"height:100%":""}`)},[c.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:f,style:e.normalizeStyle(`width:100%;background:${c.value.style.chart.backgroundColor};padding-bottom:12px`)},[e.createVNode(Xt,{config:{title:{cy:"wheel-title",...c.value.style.chart.title},subtitle:{cy:"wheel-subtitle",...c.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),c.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{ref_key:"details",ref:s,key:`user_options_${u.value}`,backgroundColor:c.value.style.chart.backgroundColor,color:c.value.style.chart.color,isPrinting:e.unref(y),isImaging:e.unref(C),uid:l.value,hasPdf:c.value.userOptions.buttons.pdf,hasImg:c.value.userOptions.buttons.img,hasFullscreen:c.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:E.value,titles:{...c.value.userOptions.buttonTitles},chartElement:h.value,onToggleFullscreen:b,onGeneratePdf:e.unref(A),onGenerateImage:e.unref(B)},e.createSlots({_:2},[T.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(T.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,T.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(T.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,T.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:$,isFullscreen:S})=>[e.renderSlot(T.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:$,isFullscreen:S})),void 0,!0)]),key:"2"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":E.value,"vue-data-ui-fulscreen--off":!E.value}),viewBox:`0 0 ${v.value.width<=0?10:v.value.width} ${v.value.height<=0?10:v.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(K.value,($,S)=>(e.openBlock(),e.createElementBlock("line",{x1:$.x1,x2:$.x2,y1:$.y1,y2:$.y2,stroke:$.color,"stroke-width":5/360*Math.min(v.value.width,v.value.height),"stroke-linecap":c.value.style.chart.layout.wheel.ticks.rounded?"round":"butt",class:e.normalizeClass({"vue-ui-tick-animated":c.value.style.chart.animation.use&&S<=U.value})},null,10,ez))),256)),c.value.style.chart.layout.innerCircle.show?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:g.value.centerX,cy:g.value.centerY,r:g.value.radius*.8<=0?1e-4:g.value.radius*.8,stroke:c.value.style.chart.layout.innerCircle.stroke,"stroke-width":c.value.style.chart.layout.innerCircle.strokeWidth,fill:"none"},null,8,tz)):e.createCommentVNode("",!0),c.value.style.chart.layout.percentage.show?(e.openBlock(),e.createElementBlock("text",{key:1,x:g.value.centerX,y:g.value.centerY+i.value/3,"font-size":i.value,fill:c.value.style.chart.layout.wheel.ticks.gradient.show?e.unref(Lt)(c.value.style.chart.layout.wheel.ticks.activeColor,U.value/100*(c.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity/100)):c.value.style.chart.layout.wheel.ticks.activeColor,"text-anchor":"middle","font-weight":c.value.style.chart.layout.percentage.bold?"bold":"normal",style:{"font-variant-numeric":"tabluar-nums"}},e.toDisplayString(Number(U.value.toFixed(c.value.style.chart.layout.percentage.rounding)).toLocaleString())+"% ",9,oz)):e.createCommentVNode("",!0),e.renderSlot(T.$slots,"svg",{svg:v.value},void 0,!0)],14,ZO)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"wheel",style:{backgroundColor:c.value.style.chart.backgroundColor,wheel:{color:"#CCCCCC"}}}},null,8,["config"]))],12,JO))}},pg=vt(lz,[["__scopeId","data-v-9e158d61"]]),az=Object.freeze(Object.defineProperty({__proto__:null,default:pg},Symbol.toStringTag,{value:"Module"})),rz=["id"],nz=["xmlns","viewBox"],sz={key:0},iz=["d","stroke-width","stroke"],uz={key:1},Az=["x1","y1","x2","y2","stroke-width","stroke"],cz=["x","y","font-size","fill","font-weight","text-anchor"],dz={__name:"vue-ui-tiremarks",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t,{vue_ui_tiremarks:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length),l=e.ref(it()),s=e.ref(null),u=e.ref(0),h=e.computed(()=>{const T=Je({userConfig:a.config,defaultConfig:n});return T.theme?{...Je({userConfig:Nt.vue_ui_tiremarks[T.theme]||a.config,defaultConfig:T})}:T}),{isPrinting:f,isImaging:c,generatePdf:y,generateImage:C}=zt({elementId:l.value,fileName:h.value.style.chart.title.text||"vue-ui-tiremarks"}),A=e.ref(h.value.style.chart.animation.use?0:a.dataset.percentage);e.watch(()=>a.dataset.percentage,()=>{A.value=e.ref(h.value.style.chart.animation.use?0:a.dataset.percentage),B()}),e.onMounted(()=>{xt(a.dataset)&&Ke({componentName:"VueUiTiremarks",type:"dataset"}),B()});function B(){let T=0,Y=h.value.style.chart.animation.speed,$=.005*h.value.style.chart.animation.acceleration;function S(){A.value+=Y+T,T+=$,A.value<a.dataset.percentage?requestAnimationFrame(S):A.value=a.dataset.percentage}h.value.style.chart.animation.use&&(A.value=0,S())}const v=e.computed(()=>h.value.style.chart.layout.display==="vertical"),i=e.computed(()=>{const T={top:48,left:64,right:64,bottom:48};return v.value?{top:h.value.style.chart.percentage.verticalPosition==="top"?T.top:3,left:3,right:3,bottom:h.value.style.chart.percentage.verticalPosition==="bottom"?T.bottom:3}:{top:0,bottom:0,left:h.value.style.chart.percentage.horizontalPosition==="left"?T.left:3,right:h.value.style.chart.percentage.horizontalPosition==="right"?T.right:10}}),g=e.computed(()=>Object.values(i.value).reduce((T,Y)=>T+Y,0)),w=e.computed(()=>({height:v.value?312:56,width:v.value?56:312})),U=e.ref(100);e.computed(()=>a.dataset.percentage/U.value);const I=e.computed(()=>v.value?{mark:(w.value.height-g.value)/100*.5,space:(w.value.height-g.value)/100*.5}:{mark:(w.value.width-g.value)/100*.5,space:(w.value.width-g.value)/100*.5}),Q=e.computed(()=>{const T=[];for(let $=0;$<100;$+=1){const S=h.value.style.chart.layout.ticks.gradient.show?Lt(h.value.style.chart.layout.activeColor,$/100*(h.value.style.chart.layout.ticks.gradient.shiftHueIntensity/100)):h.value.style.chart.layout.activeColor;if(v.value){const W=h.value.style.chart.layout.crescendo?(100-$)*(w.value.width-i.value.left-i.value.right)/100/3:0,oe=i.value.left+4+W,te=w.value.width-i.value.right-4-W,he=w.value.height-i.value.bottom-$*I.value.mark-$*I.value.space-I.value.mark,le=w.value.height-i.value.bottom-$*I.value.mark-$*I.value.space-I.value.mark,H=(te-oe)/h.value.style.chart.layout.curveAngleX,P=h.value.style.chart.layout.curveAngleY*((1+$)/100);T.push({x1:oe,x2:te,y1:he,y2:le,curve:`M ${oe} ${he} C ${oe+H} ${he-P}, ${te-H} ${le-P}, ${te} ${le}`,color:S})}else{const W=h.value.style.chart.layout.crescendo?(100-$)*(w.value.height-i.value.top-i.value.bottom)/100/3:0,oe=i.value.left+$*I.value.mark+$*I.value.space-I.value.mark,te=oe,he=i.value.top+4+W,le=w.value.height-i.value.bottom-4-W,H=h.value.style.chart.layout.curveAngleY*((1+$)/100),P=(le-he)/h.value.style.chart.layout.curveAngleX;T.push({x1:oe,x2:te,y1:he,y2:le,curve:`M ${oe} ${he} C ${oe+H} ${he+P}, ${te+H} ${le-P}, ${te} ${le}`,color:S})}}return T}),K=e.computed(()=>{let T,Y,$;const S=h.value.style.chart.percentage.fontSize/3;return v.value?h.value.style.chart.percentage.verticalPosition==="top"?(T=w.value.width/2,Y=i.value.top/2,$="middle"):h.value.style.chart.percentage.verticalPosition==="bottom"&&(T=w.value.width/2,Y=w.value.height-i.value.bottom/2+S,$="middle"):h.value.style.chart.percentage.horizontalPosition==="left"?(T=4,Y=w.value.height/2+S,$="start"):h.value.style.chart.percentage.horizontalPosition==="right"&&(T=w.value.width-i.value.right+8,Y=w.value.height/2+S,$="start"),{x:T,y:Y,textAnchor:$,bold:h.value.style.chart.percentage.bold,fontSize:h.value.style.chart.percentage.fontSize,fill:h.value.style.chart.percentage.color}}),E=e.ref(!1);function b(T){E.value=T,u.value+=1}return o({generatePdf:y,generateImage:C}),(T,Y)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tiremarksChart",ref:s,class:e.normalizeClass(`vue-ui-tiremarks ${h.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${h.value.style.fontFamily};width:100%; text-align:center;${h.value.style.chart.title.text?"":"padding-top:36px"};background:${h.value.style.chart.backgroundColor}`),id:l.value},[h.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:100%;background:${h.value.style.chart.backgroundColor};padding-bottom:12px`)},[e.createVNode(Xt,{config:{title:{cy:"wheel-title",...h.value.style.chart.title},subtitle:{cy:"wheel-subtitle",...h.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),h.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_options_${u.value}`,backgroundColor:h.value.style.chart.backgroundColor,color:h.value.style.chart.color,isPrinting:e.unref(f),isImaging:e.unref(c),uid:l.value,hasPdf:h.value.userOptions.buttons.pdf,hasImg:h.value.userOptions.buttons.img,hasFullscreen:h.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:E.value,titles:{...h.value.userOptions.buttonTitles},chartElement:s.value,onToggleFullscreen:b,onGeneratePdf:e.unref(y),onGenerateImage:e.unref(C)},e.createSlots({_:2},[T.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(T.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,T.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(T.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,T.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:$,isFullscreen:S})=>[e.renderSlot(T.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:$,isFullscreen:S})),void 0,!0)]),key:"2"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":E.value,"vue-data-ui-fulscreen--off":!E.value}),viewBox:`0 0 ${w.value.width} ${w.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:${h.value.style.chart.backgroundColor};color:${h.value.style.chart.color}`)},[h.value.style.chart.layout.curved?(e.openBlock(),e.createElementBlock("g",sz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Q.value,($,S)=>(e.openBlock(),e.createElementBlock("path",{d:$.curve,"stroke-width":I.value.mark,stroke:A.value>=S?$.color:h.value.style.chart.layout.inactiveColor,"stroke-linecap":"round",fill:"none",class:e.normalizeClass({"vue-ui-tick-animated":h.value.style.chart.animation.use&&S<=A.value})},null,10,iz))),256))])):(e.openBlock(),e.createElementBlock("g",uz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Q.value,($,S)=>(e.openBlock(),e.createElementBlock("line",{x1:$.x1,y1:$.y1,x2:$.x2,y2:$.y2,"stroke-width":I.value.mark,stroke:A.value>=S?$.color:h.value.style.chart.layout.inactiveColor,"stroke-linecap":"round"},null,8,Az))),256))])),h.value.style.chart.percentage.show?(e.openBlock(),e.createElementBlock("text",{key:2,x:K.value.x,y:K.value.y,"font-size":K.value.fontSize,fill:h.value.style.chart.layout.ticks.gradient.show&&h.value.style.chart.percentage.useGradientColor?e.unref(Lt)(h.value.style.chart.layout.activeColor,A.value/100*(h.value.style.chart.layout.ticks.gradient.shiftHueIntensity/100)):h.value.style.chart.percentage.color,"font-weight":K.value.bold?"bold":"normal","text-anchor":K.value.textAnchor},e.toDisplayString(A.value.toFixed(h.value.style.chart.percentage.rounding)+"%"),9,cz)):e.createCommentVNode("",!0),e.renderSlot(T.$slots,"svg",{svg:w.value},void 0,!0)],14,nz)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"tiremarks",style:{backgroundColor:h.value.style.chart.backgroundColor,tiremarks:{color:"#CCCCCC"}}}},null,8,["config"]))],14,rz))}},yg=vt(dz,[["__scopeId","data-v-1bbd1baf"]]),hz=Object.freeze(Object.defineProperty({__proto__:null,default:yg},Symbol.toStringTag,{value:"Module"})),fz=["id"],vz=["xmlns","viewBox"],gz=["id"],pz=["stop-color"],yz=["stop-color"],mz=["id"],bz=["stop-color"],kz=["stop-color"],Cz=["stop-color"],wz={key:0},Bz=["x1","x2","y1","y2","stroke","stroke-width"],xz=["x1","x2","y1","y2","stroke","stroke-width"],Fz={key:0},Nz=["x1","x2","y1","y2","stroke","stroke-width"],_z=["x1","x2","y1","y2","stroke","stroke-width"],Sz=["x","y","font-size","fill","font-weight"],Lz=["text-anchor","font-size","fill","transform"],Ez=["x1","y1","x2","y2","stroke","stroke-width"],Iz={key:1},$z=["cx","cy","r","fill"],Mz={key:0},Uz={key:0},Vz=["d","stroke"],Qz=["text-anchor","x","y","fill"],Tz=["cx","cy","r","fill"],Oz={key:0},zz=["cx","cy","fill"],Dz={key:1},Pz=["d","fill","stroke"],Hz={key:2},Rz=["d","fill","stroke"],Gz=["x","y","font-size","fill"],Wz=["x","y","width","fill","onClick"],Kz=["x","y","width","height","onMouseenter","onClick"],jz={key:3,"data-cy-zoom":"",class:"vue-ui-donut-evolution-dialog"},Xz=["x","y","width","height","fill"],qz=["x1","y1","x2","y2","stroke"],Yz=["x1","y2","x2","y1","stroke"],Jz=["onKeypress","cx","cy","r"],Zz=["d","stroke"],eD=["cx","cy","r","fill"],tD=["d","fill","stroke"],oD={class:"vue-ui-donut-evolution-focus"},lD=["text-anchor","x","y","fill"],aD=["cx","cy","r","fill"],rD=["cx","cy","r","fill"],nD=["x","y","fill"],sD=["x","y","font-size","fill"],iD=["onClick"],uD={key:0},AD={key:1},cD={key:0},dD={key:1},hD={__name:"vue-ui-donut-evolution",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend"],setup(t,{expose:o,emit:a}){const n=t,{vue_ui_donut_evolution:r}=ft(),l=e.computed(()=>!!n.dataset&&n.dataset.length),s=e.ref({start:0,end:Math.max(...n.dataset.map(N=>N.values.length))});function u(){s.value={start:0,end:S.value},i.value+=1}e.onMounted(()=>{xt(n.dataset)?Ke({componentName:"VueUiDonutEvolution",type:"dataset"}):n.dataset.length&&n.dataset.forEach((N,j)=>{Wt({datasetObject:N,requiredAttributes:["name","values"]}).forEach(O=>{Ke({componentName:"VueUiDonutEvolution",type:"datasetSerieAttribute",property:O,index:j})})})});const h=e.ref(it()),f=e.ref([]),c=e.ref(null),y=e.ref(null),C=e.ref(!1),A=e.ref(null),B=e.ref(null),v=e.ref(0),i=e.ref(0),g=e.computed(()=>{const N=Je({userConfig:n.config,defaultConfig:r});return N.theme?{...Je({userConfig:Nt.vue_ui_donut_evolution[N.theme]||n.config,defaultConfig:N}),customPalette:Pt[N.theme]||Me}:N}),{isPrinting:w,isImaging:U,generatePdf:I,generateImage:Q}=zt({elementId:h.value,fileName:g.value.style.chart.title.text||"vue-ui-donut-evolution"}),K=e.computed(()=>so(g.value.customPalette)),E=e.ref({showTable:g.value.table.show}),b=e.computed(()=>({top:g.value.style.chart.layout.padding.top,right:g.value.style.chart.layout.padding.right,bottom:g.value.style.chart.layout.padding.bottom,left:g.value.style.chart.layout.padding.left})),T=e.computed(()=>{const N=g.value.style.chart.layout.height,j=g.value.style.chart.layout.width,O=N-b.value.top-b.value.bottom,ce=j-b.value.left-b.value.right;return{absoluteHeight:N,absoluteWidth:j,centerX:b.value.left+ce/2,centerY:b.value.top+O/2,height:O,width:ce}}),Y=e.computed(()=>(n.dataset.forEach((N,j)=>{[null,void 0].includes(N.name)&&Ke({componentName:"VueUiDonutEvolution",type:"datasetSerieAttribute",property:"name",index:j}),[null,void 0].includes(N.values)&&Ke({componentName:"VueUiDonutEvolution",type:"datasetSerieAttribute",property:"values",index:j})}),n.dataset.map((N,j)=>({...N,values:N.values||[],color:At(N.color)||K.value[j]||Me[j]||Me[j%Me.length],length:(N.values||[]).length,uid:it()})))),$=e.computed(()=>Y.value.filter(N=>!f.value.includes(N.uid)).map(N=>({...N,values:N.values.filter((j,O)=>O>=s.value.start&&O<=s.value.end)}))),S=e.computed(()=>Math.max(...$.value.map(N=>N.length))),W=e.computed(()=>T.value.width/(s.value.end-s.value.start)),oe=e.computed(()=>{const N=[];for(let re=0;re<s.value.end-s.value.start;re+=1){const ie=$.value.map(ve=>ve.values[re]??null),G=ie.filter(ve=>[void 0,null].includes(ve)).length===ie.length,ne=ie.reduce((ve,Ce)=>ve+Ce,0),Ae=ie.map(ve=>ve/ne),se=b.value.left+W.value*re+W.value/2;N.push({index:re,percentages:Ae,subtotal:G||ne<0?null:ne,values:ie,x:se})}const j=0,O=Math.max(...N.map(re=>re.subtotal)),ce=N.length===1?O*2:O;return N.map((re,ie)=>{const G=W.value/2*.7,ne=G>T.value.width/16?T.value.width/16:G,Ae=c.value===re.index?T.value.width/16:ne,se=N.length>4?G*2:G*2>W.value/2*.7?W.value/2*.7:G*2,ve=T.value.absoluteHeight-b.value.bottom-T.value.height*re.subtotal/Pl(j,ce,g.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;return{...re,y:ve,radius:ne,activeRadius:Ae,hoverRadius:se,donut:kl({series:$.value.map((Ce,Ue)=>({color:Ce.color,name:Ce.name,value:Ce.values[ie]??0}))},re.x,ve,ne,ne,1.99999,2,1,360,105.25,ne/2),donutHover:kl({series:$.value.map((Ce,Ue)=>({color:Ce.color,name:Ce.name,value:Ce.values[ie]??0}))},re.x,ve,se,se,1.99999,2,1,360,105.25,se/2),donutFocus:kl({series:$.value.map((Ce,Ue)=>({color:Ce.color,name:Ce.name,value:Ce.values[ie]??0}))},T.value.centerX,T.value.centerY,T.value.height/3.6,T.value.height/3.6,1.99999,2,1,360,105.25,T.value.height/6)}})});function te(N){return`${g.value.style.chart.layout.dataLabels.prefix}${isNaN(N)?"-":Number(N.toFixed(g.value.style.chart.layout.dataLabels.rounding)).toLocaleString()}${g.value.style.chart.layout.dataLabels.suffix}`}const he=e.computed(()=>({max:Math.max(...oe.value.map(N=>N.subtotal)),min:0})),le=e.computed(()=>{const N=oe.value.length===1?he.value.max*2:he.value.max;return Pl(he.value.min,N,g.value.style.chart.layout.grid.yAxis.dataLabels.steps)});function H(N){return N/le.value.max}const P=e.computed(()=>le.value.ticks.map(N=>({y:T.value.absoluteHeight-b.value.bottom-T.value.height*H(N),value:N})));function X(N,j){return isNaN(N.value/Af(j,"value"))?0:(N.value/Af(j,"value")*100).toFixed(0)+"%"}function q(){C.value||(c.value=null,y.value=null)}function m(N){C.value||(c.value=N.index,y.value=N)}const _=e.ref(null);function x(N,j){N.subtotal&&(y.value=null,c.value=null,C.value=!0,A.value=N,[null,void 0].includes(j)||(_.value=j))}function V(){A.value=null,C.value=!1,_.value=null}const J=e.computed(()=>Y.value.map((N,j)=>({name:N.name,value:N.values.slice(s.value.start,s.value.end).reduce((O,ce)=>O+ce,0),shape:"circle",uid:N.uid,color:N.color})).sort((N,j)=>j.value-N.value).map(N=>({...N,opacity:f.value.includes(N.uid)?.5:1,segregate:()=>ge(N.uid),isSegregated:f.value.includes(N.uid)}))),ke=e.computed(()=>oe.value.map(N=>N.subtotal).reduce((N,j)=>N+j,0)),ae=e.computed(()=>({cy:"donut-div-legend",backgroundColor:g.value.style.chart.legend.backgroundColor,color:g.value.style.chart.legend.color,fontSize:g.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:g.value.style.chart.legend.bold?"bold":""}));function ge(N){if(f.value.includes(N))f.value=f.value.filter(j=>j!==N),a("selectLegend",null);else{if(f.value.length===Y.value.length-1)return;f.value.push(N),a("selectLegend",Y.value.find(j=>j.uid===N))}A.value&&x(oe.value.find((j,O)=>O===_.value))}const Z=e.computed(()=>{const N=[""].concat(Y.value.filter(re=>!f.value.includes(re.uid)).map(re=>({name:re.name,color:re.color}))).concat(["Σ"]);let j=[];for(let re=0;re<S.value;re+=1){const ie=Y.value.filter(G=>!f.value.includes(G.uid)).map(G=>G.values[re]??0).reduce((G,ne)=>G+ne,0);j.push([g.value.style.chart.layout.grid.xAxis.dataLabels.values[re]??"-"].concat(Y.value.filter(G=>!f.value.includes(G.uid)).map(G=>({value:G.values[re]??0,percentage:G.values[re]?G.values[re]/ie*100:0}))).concat([`${g.value.style.chart.layout.dataLabels.prefix}${Number(ie.toFixed(g.value.table.td.roundingValue))}${g.value.style.chart.layout.dataLabels.suffix}`]))}const O={th:{backgroundColor:g.value.table.th.backgroundColor,color:g.value.table.th.color,outline:g.value.table.th.outline},td:{backgroundColor:g.value.table.td.backgroundColor,color:g.value.table.td.color,outline:g.value.table.td.outline},breakpoint:g.value.table.responsiveBreakpoint},ce=[g.value.table.columnNames.period].concat(Y.value.filter(re=>!f.value.includes(re.uid)).map(re=>re.name)).concat(g.value.table.columnNames.total);return{head:N,body:j,config:O,colNames:ce}});function ee(){return Y.value}function z(){e.nextTick(()=>{const N=[[g.value.style.chart.title.text],[g.value.style.chart.title.subtitle.text],[""]],j=[...Z.value.head.map(ie=>ie.name??ie)],O=[...Z.value.body.map(ie=>ie.map(G=>G.value??G))],ce=N.concat([j]).concat(O),re=eo(ce);Zt({csvContent:re,title:g.value.style.chart.title.text||"vue-ui-donut-evolution"})})}const D=e.ref(!1);function fe(N){D.value=N,v.value+=1}function M(){E.value.showTable=!E.value.showTable}return o({getData:ee,generatePdf:I,generateCsv:z,generateImage:Q,toggleTable:M}),(N,j)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"donutEvolutionChart",ref:B,class:e.normalizeClass(`vue-ui-donut-evolution ${D.value?"vue-data-ui-wrapper-fullscreen":""} ${g.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${g.value.style.fontFamily};width:100%; text-align:center;${g.value.style.chart.title.text?"":"padding-top:36px"};background:${g.value.style.chart.backgroundColor}`),id:h.value},[g.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:100%;background:${g.value.style.chart.backgroundColor};padding-bottom:24px`),onMouseleave:q},[e.createVNode(Xt,{config:{title:{cy:"donut-evolution-div-title",...g.value.style.chart.title},subtitle:{cy:"donut-evolution-div-subtitle",...g.value.style.chart.title.subtitle}}},null,8,["config"])],36)):e.createCommentVNode("",!0),g.value.userOptions.show&&l.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_options_${v.value}`,backgroundColor:g.value.style.chart.backgroundColor,color:g.value.style.chart.color,isPrinting:e.unref(w),isImaging:e.unref(U),uid:h.value,hasPdf:g.value.userOptions.buttons.pdf,hasImg:g.value.userOptions.buttons.img,hasXls:g.value.userOptions.buttons.csv,hasTable:g.value.userOptions.buttons.table,hasFullscreen:g.value.userOptions.buttons.fullscreen,isFullscreen:D.value,titles:{...g.value.userOptions.buttonTitles},chartElement:B.value,onToggleFullscreen:fe,onGeneratePdf:e.unref(I),onGenerateCsv:z,onGenerateImage:e.unref(Q),onToggleTable:M},e.createSlots({_:2},[N.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(N.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,N.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(N.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,N.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(N.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,N.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(N.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,N.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:O,isFullscreen:ce})=>[e.renderSlot(N.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:O,isFullscreen:ce})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasXls","hasTable","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),l.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":D.value,"vue-data-ui-fulscreen--off":!D.value}),viewBox:`0 0 ${T.value.absoluteWidth} ${T.value.absoluteHeight}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:${g.value.style.chart.backgroundColor};color:${g.value.style.chart.color}`)},[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`hover_${h.value}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${g.value.style.chart.backgroundColor}${e.unref(Xe)[g.value.style.chart.layout.highlighter.opacity]}`},null,8,pz),e.createElementVNode("stop",{offset:"100%","stop-color":`${g.value.style.chart.layout.highlighter.color}${e.unref(Xe)[g.value.style.chart.layout.highlighter.opacity]}`},null,8,yz)],8,gz),e.createElementVNode("radialGradient",{id:`focus_${h.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":`${e.unref(At)(g.value.style.chart.backgroundColor)}00`},null,8,bz),e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF"+e.unref(Xe)[30]},null,8,kz),e.createElementVNode("stop",{offset:"100%","stop-color":`${e.unref(At)(g.value.style.chart.backgroundColor)}00`},null,8,Cz)],8,mz)]),g.value.style.chart.layout.grid.show?(e.openBlock(),e.createElementBlock("g",wz,[e.createElementVNode("line",{x1:b.value.left,x2:b.value.left,y1:b.value.top,y2:b.value.top+T.value.height,stroke:g.value.style.chart.layout.grid.stroke,"stroke-width":g.value.style.chart.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Bz),e.createElementVNode("line",{x1:b.value.left,x2:T.value.absoluteWidth-b.value.right,y1:T.value.absoluteHeight-b.value.bottom,y2:T.value.absoluteHeight-b.value.bottom,stroke:g.value.style.chart.layout.grid.stroke,"stroke-width":g.value.style.chart.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,xz),g.value.style.chart.layout.grid.showVerticalLines?(e.openBlock(),e.createElementBlock("g",Fz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.end-s.value.start,(O,ce)=>(e.openBlock(),e.createElementBlock("line",{x1:b.value.left+(ce+1)*W.value,x2:b.value.left+(ce+1)*W.value,y1:b.value.top,y2:T.value.absoluteHeight-b.value.bottom,stroke:g.value.style.chart.layout.grid.stroke,"stroke-width":g.value.style.chart.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Nz))),256))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),g.value.style.chart.layout.grid.yAxis.dataLabels.show?(e.openBlock(),e.createElementBlock("g",{key:1,class:e.normalizeClass({"donut-opacity":!0,"donut-behind":c.value!==null||C.value})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(P.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",null,[O.value>=le.value.min&&O.value<=le.value.max?(e.openBlock(),e.createElementBlock("line",{key:0,x1:b.value.left,x2:b.value.left-5,y1:O.y,y2:O.y,stroke:g.value.style.chart.layout.grid.stroke,"stroke-width":g.value.style.chart.layout.grid.strokeWidth},null,8,_z)):e.createCommentVNode("",!0),O.value>=le.value.min&&O.value<=le.value.max?(e.openBlock(),e.createElementBlock("text",{key:1,x:b.value.left-8+g.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,y:O.y+g.value.style.chart.layout.grid.yAxis.dataLabels.fontSize/3,"font-size":g.value.style.chart.layout.grid.yAxis.dataLabels.fontSize,"text-anchor":"end",fill:g.value.style.chart.layout.grid.yAxis.dataLabels.color,"font-weight":g.value.style.chart.layout.grid.yAxis.dataLabels.bold?"bold":"normal"},e.toDisplayString(g.value.style.chart.layout.dataLabels.prefix)+" "+e.toDisplayString(e.unref(Pv)(O.value)?O.value.toFixed(g.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue):"")+" "+e.toDisplayString(g.value.style.chart.layout.dataLabels.suffix),9,Sz)):e.createCommentVNode("",!0)]))),256))],2)):e.createCommentVNode("",!0),g.value.style.chart.layout.grid.xAxis.dataLabels.show?(e.openBlock(),e.createElementBlock("g",{key:2,class:e.normalizeClass({"donut-opacity":!0,"donut-behind":C.value})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.end-s.value.start,(O,ce)=>(e.openBlock(),e.createElementBlock("g",null,[g.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast&&(ce===0||ce===S.value-1)||!g.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":g.value.style.chart.layout.grid.xAxis.dataLabels.rotation>0?"start":g.value.style.chart.layout.grid.xAxis.dataLabels.rotation<0?"end":"middle","font-size":g.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,fill:g.value.style.chart.layout.grid.xAxis.dataLabels.color,transform:`translate(${b.value.left+W.value*ce+W.value/2}, ${g.value.style.chart.layout.grid.xAxis.dataLabels.offsetY+T.value.absoluteHeight-b.value.bottom+g.value.style.chart.layout.grid.xAxis.dataLabels.fontSize*2}), rotate(${g.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`},e.toDisplayString(g.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(ce)+Number(s.value.start)]??""),9,Lz)):e.createCommentVNode("",!0)]))),256))],2)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(oe.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",null,[g.value.style.chart.layout.line.show&&ce<oe.value.length-1&&![O.subtotal,oe.value[ce+1].subtotal].includes(null)?(e.openBlock(),e.createElementBlock("line",{key:0,class:e.normalizeClass({"donut-opacity":!0,"donut-behind":c.value!==null||C.value}),x1:O.x,y1:O.y,x2:oe.value[ce+1].x,y2:oe.value[ce+1].y,stroke:g.value.style.chart.layout.line.stroke,"stroke-width":g.value.style.chart.layout.line.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,10,Ez)):e.createCommentVNode("",!0),O.subtotal!==null?(e.openBlock(),e.createElementBlock("g",Iz,[O.subtotal?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:O.x,cy:O.y,r:O.activeRadius,fill:g.value.style.chart.backgroundColor},null,8,$z)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(oe.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",{class:e.normalizeClass({"donut-opacity":!0,"donut-behind":ce!==c.value&&c.value!==null||C.value})},[O.subtotal?(e.openBlock(),e.createElementBlock("g",Mz,[c.value!==null&&c.value===ce?(e.openBlock(),e.createElementBlock("g",Uz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.donutHover,re=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("path",{d:e.unref(Qr)(re,{x:re.center.endX,y:re.center.endY},12,12,{x:O.x,y:O.y},!0),stroke:re.color,"stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,Vz)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.donutHover,(re,ie)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("text",{"data-cy-hover-label":"","text-anchor":e.unref(ct)(re,!0,0).anchor,x:e.unref(ct)(re,!0,3).x,y:e.unref(co)(re),fill:g.value.style.chart.layout.grid.yAxis.dataLabels.color,"font-size":8,"font-weight":"bold"},e.toDisplayString(re.name)+": "+e.toDisplayString(X(re,O.donut))+" ("+e.toDisplayString(re.value===null?"-":te(re.value))+") ",9,Qz)]))),256)),e.createElementVNode("g",null,[e.createElementVNode("circle",{cx:O.x,cy:O.y,r:O.hoverRadius,fill:g.value.style.chart.backgroundColor},null,8,Tz)])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(oe.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",{class:e.normalizeClass({"donut-opacity":!0,"donut-behind":ce!==c.value&&c.value!==null||C.value})},[O.subtotal!==null?(e.openBlock(),e.createElementBlock("g",Oz,[O.subtotal===0?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:O.x,cy:O.y,r:3,fill:g.value.style.chart.color},null,8,zz)):c.value!==null&&c.value===ce?(e.openBlock(),e.createElementBlock("g",Dz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.donutHover,(re,ie)=>(e.openBlock(),e.createElementBlock("path",{d:re.arcSlice,fill:`${re.color}`,"stroke-width":1,stroke:g.value.style.chart.backgroundColor},null,8,Pz))),256))])):(e.openBlock(),e.createElementBlock("g",Hz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.donut,(re,ie)=>(e.openBlock(),e.createElementBlock("path",{d:re.arcSlice,fill:`${re.color}`,"stroke-width":.5,stroke:g.value.style.chart.backgroundColor},null,8,Rz))),256))]))])):e.createCommentVNode("",!0)],2))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(oe.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",{class:e.normalizeClass({"donut-opacity":!0,"donut-behind":ce!==c.value&&c.value!==null||C.value})},[O.subtotal!==null&&g.value.style.chart.layout.dataLabels.show?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":"middle",x:O.x,y:c.value===O.index&&O.subtotal?O.y+g.value.style.chart.layout.dataLabels.fontSize/3:O.y-O.radius-g.value.style.chart.layout.dataLabels.fontSize+g.value.style.chart.layout.dataLabels.offsetY,"font-size":g.value.style.chart.layout.dataLabels.fontSize,"font-weight":"bold",fill:g.value.style.chart.layout.dataLabels.color},e.toDisplayString(te(O.subtotal)),9,Gz)):e.createCommentVNode("",!0)],2))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(oe.value,(O,ce)=>(e.openBlock(),e.createElementBlock("rect",{x:b.value.left+ce*W.value,y:T.value.absoluteHeight-b.value.bottom-10,width:W.value,height:10,fill:c.value===O.index?`url(#hover_${h.value})`:"transparent",onClick:re=>x(O,ce),class:e.normalizeClass({"donut-hover":c.value===O.index&&O.subtotal})},null,10,Wz))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(oe.value,(O,ce)=>(e.openBlock(),e.createElementBlock("rect",{"data-cy-trap":"",x:b.value.left+ce*W.value,y:b.value.top,width:W.value,height:T.value.height,fill:"transparent",onMouseenter:re=>m(O),onMouseleave:q,onClick:re=>x(O,ce),class:e.normalizeClass({"donut-hover":c.value===O.index&&O.subtotal})},null,42,Kz))),256)),C.value?(e.openBlock(),e.createElementBlock("g",jz,[e.createElementVNode("rect",{rx:4,x:b.value.left,y:b.value.top,width:T.value.width,height:T.value.height,fill:g.value.style.chart.backgroundColor,style:{filter:"drop-shadow(0 12px 12px rgba(0,0,0,0.3))"}},null,8,Xz),e.createElementVNode("line",{"data-html2canvas-ignore":"",x1:T.value.absoluteWidth-b.value.right-15,y1:b.value.top+5,x2:T.value.absoluteWidth-b.value.right-4,y2:b.value.top+15.5,"stroke-linecap":"round",stroke:g.value.style.chart.color,"stroke-width":"1.5"},null,8,qz),e.createElementVNode("line",{"data-html2canvas-ignore":"",x1:T.value.absoluteWidth-b.value.right-15,y2:b.value.top+5,x2:T.value.absoluteWidth-b.value.right-4,y1:b.value.top+15.5,"stroke-linecap":"round",stroke:g.value.style.chart.color,"stroke-width":"1.5"},null,8,Yz),e.createElementVNode("circle",{"data-cy-close":"",onClick:V,onKeypress:e.withKeys(V,["enter"]),cx:T.value.absoluteWidth-b.value.right-T.value.width/40,cy:b.value.top+T.value.height/30,r:T.value.height/12,fill:"transparent",style:{cursor:"pointer"},tabindex:"0"},null,40,Jz),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value.donutFocus,O=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("path",{"data-cy-zoom-donut":"",d:e.unref(Qr)(O,{x:T.value.centerX,y:T.value.centerY},12,12,!1,!1,1),stroke:O.color,"stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",fill:"none",class:"vue-ui-donut-evolution-focus"},null,8,Zz)]))),256)),e.createElementVNode("circle",{cx:b.value.left+T.value.width/2,cy:b.value.top+T.value.height/2,r:T.value.height/7,fill:g.value.style.chart.backgroundColor},null,8,eD),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value.donutFocus,(O,ce)=>(e.openBlock(),e.createElementBlock("path",{d:O.arcSlice,fill:`${O.color}`,"stroke-width":1,stroke:g.value.style.chart.backgroundColor,class:"vue-ui-donut-evolution-focus"},null,8,tD))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value.donutFocus,(O,ce)=>(e.openBlock(),e.createElementBlock("g",oD,[e.createElementVNode("text",{"text-anchor":e.unref(ct)(O,!0,20).anchor,x:e.unref(ct)(O,!0,10).x,y:e.unref(co)(O),fill:g.value.style.chart.layout.grid.yAxis.dataLabels.color,"font-size":10,"font-weight":"bold"},e.toDisplayString(O.name)+": "+e.toDisplayString(X(O,A.value.donutFocus))+" ("+e.toDisplayString(O.value===null?"-":te(O.value))+") ",9,lD)]))),256)),e.createElementVNode("circle",{cx:b.value.left+T.value.width/2,cy:b.value.top+T.value.height/2,r:T.value.height/3.8,fill:`url(#focus_${h.value})`},null,8,aD),e.createElementVNode("circle",{cx:b.value.left+T.value.width/2,cy:b.value.top+T.value.height/2,r:T.value.height/7.7,fill:g.value.style.chart.backgroundColor},null,8,rD),e.createElementVNode("text",{"text-anchor":"middle",x:b.value.left+T.value.width/2,y:b.value.top+T.value.height/2+14/3,"font-size":14,"font-weight":"bold",fill:g.value.style.chart.layout.dataLabels.color,class:"vue-ui-donut-evolution-focus"},e.toDisplayString(te(A.value.subtotal)),9,nD),g.value.style.chart.layout.grid.xAxis.dataLabels.values[A.value.index]?(e.openBlock(),e.createElementBlock("text",{key:0,x:b.value.left+6,y:b.value.top+g.value.style.chart.layout.grid.xAxis.dataLabels.fontSize*2,"font-size":g.value.style.chart.layout.grid.xAxis.dataLabels.fontSize*1.6,fill:g.value.style.chart.layout.dataLabels.color},e.toDisplayString(g.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(A.value.index)+Number(s.value.start)]),9,sD)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(N.$slots,"svg",{svg:T.value},void 0,!0)],14,vz)):e.createCommentVNode("",!0),l.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"donutEvolution",style:{backgroundColor:g.value.style.chart.backgroundColor,donutEvolution:{axis:{color:"#CCCCCC"},donuts:{color:"#CCCCCC"}}}}},null,8,["config"])),S.value>1&&g.value.style.chart.zoom.show?(e.openBlock(),e.createBlock(Hs,{key:`slicer_${i.value}`,background:g.value.style.chart.zoom.color,borderColor:g.value.style.chart.backgroundColor,fontSize:g.value.style.chart.zoom.fontSize,useResetSlot:g.value.style.chart.zoom.useResetSlot,labelLeft:g.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(s.value.start)]||"",labelRight:g.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(s.value.end)-1]||"",textColor:g.value.style.chart.color,inputColor:g.value.style.chart.zoom.color,selectColor:g.value.style.chart.zoom.highlightColor,max:S.value,min:0,valueStart:s.value.start,valueEnd:s.value.end,start:s.value.start,"onUpdate:start":j[0]||(j[0]=O=>s.value.start=O),end:s.value.end,"onUpdate:end":j[1]||(j[1]=O=>s.value.end=O),onReset:u},{"reset-action":e.withCtx(({reset:O})=>[e.renderSlot(N.$slots,"reset-action",e.normalizeProps(e.guardReactiveProps({reset:O})),void 0,!0)]),_:3},8,["background","borderColor","fontSize","useResetSlot","labelLeft","labelRight","textColor","inputColor","selectColor","max","valueStart","valueEnd","start","end"])):e.createCommentVNode("",!0),g.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Zo,{key:5,legendSet:J.value,config:ae.value,onClickMarker:j[2]||(j[2]=({legend:O})=>ge(O.uid))},{item:e.withCtx(({legend:O,index:ce})=>[e.createElementVNode("div",{"data-cy-legend-item":"",onClick:re=>ge(O.uid),style:e.normalizeStyle(`opacity:${f.value.includes(O.uid)?.5:1}`)},[e.createTextVNode(e.toDisplayString(O.name)+": "+e.toDisplayString(Number(O.value.toFixed(g.value.style.chart.legend.roundingValue)).toLocaleString())+" ",1),f.value.includes(O.uid)?(e.openBlock(),e.createElementBlock("span",AD," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",uD," ("+e.toDisplayString(isNaN(O.value/ke.value)?"-":(O.value/ke.value*100).toFixed(g.value.style.chart.legend.roundingPercentage))+"%) ",1))],12,iD)]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(N.$slots,"legend",{legend:J.value},void 0,!0),l.value?(e.openBlock(),e.createBlock(lo,{key:6,hideDetails:"",config:{open:E.value.showTable,maxHeight:1e4,body:{backgroundColor:g.value.style.chart.backgroundColor,color:g.value.style.chart.color},head:{backgroundColor:g.value.style.chart.backgroundColor,color:g.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(yo,{colNames:Z.value.colNames,head:Z.value.head,body:Z.value.body,config:Z.value.config,title:`${g.value.style.chart.title.text}${g.value.style.chart.title.subtitle.text?` : ${g.value.style.chart.title.subtitle.text}`:""}`,onClose:j[3]||(j[3]=O=>E.value.showTable=!1)},{th:e.withCtx(({th:O})=>[e.createTextVNode(e.toDisplayString(O.name??O),1)]),td:e.withCtx(({td:O})=>[O.value===null?(e.openBlock(),e.createElementBlock("span",cD,"-")):(e.openBlock(),e.createElementBlock("b",dD,e.toDisplayString(isNaN(O.value)?"":g.value.style.chart.layout.dataLabels.prefix)+e.toDisplayString(!isNaN(O.value)&&O.value!==null?Number(O.value.toFixed(g.value.table.td.roundingValue)).toLocaleString():O)+e.toDisplayString(isNaN(O.value)?"":g.value.style.chart.layout.dataLabels.suffix),1)),e.createElementVNode("span",null,e.toDisplayString(O.percentage&&!isNaN(O.percentage)?`(${Number(O.percentage.toFixed(g.value.table.td.roundingPercentage)).toLocaleString()}%)`:""),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,fz))}},mg=vt(hD,[["__scopeId","data-v-d8dbd0c8"]]),fD=Object.freeze(Object.defineProperty({__proto__:null,default:mg},Symbol.toStringTag,{value:"Module"})),vD=["id"],gD=["xmlns","viewBox"],pD=["id"],yD=["stop-color"],mD=["stop-color"],bD=["x1","y1","x2","y2","stroke","stroke-width"],kD=["d","stroke","stroke-width"],CD=["stroke"],wD=["fill"],BD=["stroke"],xD=["fill"],FD=["stroke"],ND=["fill"],_D=["stroke"],SD=["fill"],LD=["stroke"],ED=["fill"],ID=["d","stroke","stroke-width","fill"],$D=["x1","y1","stroke"],MD=["cx","cy","fill","stroke"],UD=["fill","stroke"],VD=["y","fill","font-weight"],QD=["y","fill"],TD=["onClick"],OD={style:{"font-weight":"bold"}},zD=["innerHTML"],DD={__name:"vue-ui-mood-radar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t,{vue_ui_mood_radar:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length);e.onMounted(()=>{xt(a.dataset)&&Ke({componentName:"VueUiMoodRadar",type:"dataset"})});const l=e.ref(it()),s=e.ref(null),u=e.ref(null),h=e.ref(null),f=e.computed(()=>{const te=Je({userConfig:a.config,defaultConfig:n});return te.theme?{...Je({userConfig:Nt.vue_ui_mood_radar[te.theme]||a.config,defaultConfig:te})}:te}),{isPrinting:c,isImaging:y,generatePdf:C,generateImage:A}=zt({elementId:l.value,fileName:f.value.style.chart.title.text||"vue-ui-mood-radar"}),B=e.ref({showTable:f.value.table.show}),v=e.computed(()=>({height:256,width:256})),i=e.computed(()=>Qo({plot:{x:128,y:v.value.height/2},radius:90,sides:5,rotation:11}));function g({centerX:te,centerY:he,apexX:le,apexY:H,proportion:P,key:X,value:q}){return{x:te+(le-te)*P,y:he+(H-he)*P,key:X,value:q}}const w=e.computed(()=>Math.max(...Object.values(a.dataset).map(te=>isNaN(te)?0:te))),U=e.computed(()=>Object.values(a.dataset).reduce((te,he)=>(isNaN(te)?0:te)+(isNaN(he)?0:he),0)),I=e.computed(()=>Object.keys(a.dataset).map((te,he)=>{const le=typeof a.dataset[te]!="number"||isNaN(a.dataset[te])?0:a.dataset[te];return{index:he,key:te,value:le,proportion:le/U.value,color:f.value.style.chart.layout.smileys.colors[te]}}).sort((te,he)=>he.key-te.key)),Q=e.computed(()=>r.value?(["1","2","3","4","5"].forEach(te=>{[null,void 0].includes(a.dataset[te])&&Ke({componentName:"VueUiMoodRadar",type:"datasetAttribute",property:te})}),i.value.coordinates.map((te,he)=>{const le=g({centerX:v.value.width/2,centerY:v.value.height/2,apexX:te.x,apexY:te.y,proportion:I.value[he].value/w.value,key:I.value[he].key,value:I.value[he].value});return{...te,plots:le,key:I.value[he].key}})):[]),K=e.computed(()=>({cy:"mood-radar-legend",backgroundColor:f.value.style.chart.legend.backgroundColor,color:f.value.style.chart.legend.color,fontSize:f.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:f.value.style.chart.legend.bold?"bold":""}));function E(te){te===h.value?h.value=null:h.value=te}const b=e.computed(()=>{const te=I.value.map(le=>({name:le.key,color:le.color})),he=I.value.map(le=>isNaN(le.value)?0:le.value);return{head:te,body:he}});function T(){e.nextTick(()=>{const te=b.value.head.map((H,P)=>[[H.name],[b.value.body[P]],[isNaN(b.value.body[P]/U.value)?"-":b.value.body[P]/U.value*100]]),he=[[f.value.style.chart.title.text],[f.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(te),le=eo(he);Zt({csvContent:le,title:f.value.style.chart.title.text||"vue-ui-mood-radar"})})}const Y=e.computed(()=>{const te=[' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',Number(U.value.toFixed(f.value.table.td.roundingValue)).toLocaleString(),"100%"],he=b.value.head.map((P,X)=>[{color:P.color,name:P.name},b.value.body[X].toFixed(f.value.table.td.roundingValue),isNaN(b.value.body[X]/U.value)?"-":(b.value.body[X]/U.value*100).toFixed(f.value.table.td.roundingPercentage)+"%"]),le={th:{backgroundColor:f.value.table.th.backgroundColor,color:f.value.table.th.color,outline:f.value.table.th.outline},td:{backgroundColor:f.value.table.td.backgroundColor,color:f.value.table.td.color,outline:f.value.table.td.outline},breakpoint:f.value.table.responsiveBreakpoint},H=[f.value.table.columnNames.series,f.value.table.columnNames.value,f.value.table.columnNames.percentage];return{head:te,body:he,config:le,colNames:H}});function $(){return I.value}function S(){B.value.showTable=!B.value.showTable}const W=e.ref(!1);function oe(te){W.value=te}return o({getData:$,generatePdf:C,generateCsv:T,generateImage:A,toggleTable:S}),(te,he)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-mood-radar ${W.value?"vue-data-ui-wrapper-fullscreen":""} ${f.value.useCssAnimation?"":"vue-ui-dna"}`),ref_key:"moodRadarChart",ref:s,id:`${l.value}`,style:e.normalizeStyle(`font-family:${f.value.style.fontFamily};width:100%; text-align:center;${f.value.style.chart.title.text?"":"padding-top:36px"};background:${f.value.style.chart.backgroundColor}`)},[f.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:100%;background:${f.value.style.chart.backgroundColor}`)},[e.createVNode(Xt,{config:{title:{cy:"mood-radar-title",...f.value.style.chart.title},subtitle:{cy:"mood-radar-subtitle",...f.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),f.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{key:1,ref_key:"details",ref:u,backgroundColor:f.value.style.chart.backgroundColor,color:f.value.style.chart.color,isPrinting:e.unref(c),isImaging:e.unref(y),uid:l.value,hasPdf:f.value.userOptions.buttons.pdf,hasXls:f.value.userOptions.buttons.csv,hasImg:f.value.userOptions.buttons.img,hasTable:f.value.userOptions.buttons.table,hasFullscreen:f.value.userOptions.buttons.fullscreen,titles:{...f.value.userOptions.buttonTitles},chartElement:s.value,onToggleFullscreen:oe,onGeneratePdf:e.unref(C),onGenerateCsv:T,onGenerateImage:e.unref(A),onToggleTable:S},e.createSlots({_:2},[te.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(te.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,te.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(te.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,te.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(te.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,te.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(te.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,te.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:le,isFullscreen:H})=>[e.renderSlot(te.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:le,isFullscreen:H})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),viewBox:`0 0 ${v.value.width} ${v.value.height}`,class:e.normalizeClass({"vue-data-ui-fullscreen--on":W.value,"vue-data-ui-fulscreen--off":!W.value}),style:e.normalizeStyle(`overflow:visible;background:${f.value.style.chart.backgroundColor};color:${f.value.style.chart.color}`)},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%",id:`mood_radar_gradient_${l.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":f.value.style.chart.layout.dataPolygon.color+e.unref(Xe)[f.value.style.chart.layout.dataPolygon.opacity]},null,8,yD),e.createElementVNode("stop",{offset:"100%","stop-color":`${e.unref(Lt)(f.value.style.chart.layout.dataPolygon.color,f.value.style.chart.layout.dataPolygon.gradient.intensity/100)}${e.unref(Xe)[f.value.style.chart.layout.dataPolygon.opacity]}`},null,8,mD)],8,pD)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.coordinates,le=>(e.openBlock(),e.createElementBlock("line",{x1:v.value.width/2,y1:v.value.height/2,x2:le.x,y2:le.y,stroke:f.value.style.chart.layout.grid.stroke,"stroke-width":f.value.style.chart.layout.grid.strokeWidth},null,8,bD))),256)),e.createElementVNode("path",{d:i.value.path,fill:"none",stroke:f.value.style.chart.layout.outerPolygon.stroke,"stroke-width":f.value.style.chart.layout.outerPolygon.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round"},null,8,kD),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[5],"stroke-width":"1","stroke-linecap":"round",d:"M119 25A1 1 0 00137 25 1 1 0 00119 25M123 26C124 33 132 33 133 26L123 26M123 22A1 1 0 00126 22 1 1 0 00123 22M130 22A1 1 0 00133 22 1 1 0 00130 22"},null,8,CD),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[0]||(he[0]=le=>h.value=5),onMouseleave:he[1]||(he[1]=le=>h.value=null),cx:"128",cy:"25",r:"20",fill:h.value===5?f.value.style.chart.layout.smileys.colors[5]+"33":"transparent"},null,40,wD),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[4],"stroke-width":"1","stroke-linecap":"round",d:"M218 95A1 1 0 00236 95 1 1 0 00218 95M222 97C225 99 229 99 232 97M222 92A1 1 0 00225 92 1 1 0 00222 92M229 92A1 1 0 00232 92 1 1 0 00229 92"},null,8,BD),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[2]||(he[2]=le=>h.value=4),onMouseleave:he[3]||(he[3]=le=>h.value=null),cx:"227",cy:"95.5",r:"20",fill:h.value===4?f.value.style.chart.layout.smileys.colors[4]+"33":"transparent"},null,40,xD),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[3],"stroke-width":"1","stroke-linecap":"round",d:"M181 213A1 1 0 00199 213 1 1 0 00181 213M185 210A1 1 0 00188 210 1 1 0 00185 210M192 210A1 1 0 00195 210 1 1 0 00192 210M185 215 195 215"},null,8,FD),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[4]||(he[4]=le=>h.value=3),onMouseleave:he[5]||(he[5]=le=>h.value=null),cx:"190",cy:"213.5",r:"20",fill:h.value===3?f.value.style.chart.layout.smileys.colors[3]+"33":"transparent"},null,40,ND),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[2],"stroke-width":"1","stroke-linecap":"round",d:"M56 213A1 1 0 0074 213 1 1 0 0056 213M60 216C63 214 67 214 70 216M60 210A1 1 0 0063 210 1 1 0 0060 210M67 210A1 1 0 0070 210 1 1 0 0067 210"},null,8,_D),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[6]||(he[6]=le=>h.value=2),onMouseleave:he[7]||(he[7]=le=>h.value=null),cx:"65",cy:"213.5",r:"20",fill:h.value===2?f.value.style.chart.layout.smileys.colors[2]+"33":"transparent"},null,40,SD),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[1],"stroke-width":"1","stroke-linecap":"round",d:"M20 96A1 1 0 0038 96 1 1 0 0020 96M24 100C25 95 33 95 34 100L24 100M24 93A1 1 0 0027 93 1 1 0 0024 93M31 93A1 1 0 0034 93 1 1 0 0031 93"},null,8,LD),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[8]||(he[8]=le=>h.value=1),onMouseleave:he[9]||(he[9]=le=>h.value=null),cx:"29",cy:"95.5",r:"20",fill:h.value===1?f.value.style.chart.layout.smileys.colors[1]+"33":"transparent"},null,40,ED),e.createElementVNode("path",{d:e.unref(Hc)(Q.value.map(le=>le.plots)),stroke:f.value.style.chart.layout.dataPolygon.stroke,"stroke-width":f.value.style.chart.layout.dataPolygon.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round",fill:f.value.style.chart.layout.dataPolygon.gradient.show?`url(#mood_radar_gradient_${l.value})`:f.value.style.chart.layout.dataPolygon.color+e.unref(Xe)[f.value.style.chart.layout.dataPolygon.opacity]},null,8,ID),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Q.value.map(le=>le.plots),(le,H)=>(e.openBlock(),e.createElementBlock("g",{class:"vue-ui-mood-radar-trap",style:e.normalizeStyle(`opacity:${h.value==le.key?"1":"0"}`)},[e.createElementVNode("line",{x1:le.x,y1:le.y,x2:128,y2:128,stroke:f.value.style.chart.layout.smileys.colors[le.key]},null,8,$D),e.createElementVNode("circle",{cx:le.x,cy:le.y,fill:f.value.style.chart.layout.smileys.colors[le.key],r:"3",stroke:f.value.style.chart.backgroundColor,"stroke-width":.5},null,8,MD),e.createElementVNode("circle",{cx:128,cy:128,fill:f.value.style.chart.layout.smileys.colors[le.key],r:"3",stroke:f.value.style.chart.backgroundColor,"stroke-width":.5},null,8,UD),e.createElementVNode("text",{x:128,y:["5",5].includes(le.key)?145:120,fill:f.value.style.chart.layout.dataLabel.color,"font-size":"12","text-anchor":"middle","font-weight":f.value.style.chart.layout.dataLabel.bold?"bold":"normal"},e.toDisplayString(Number(le.value.toFixed(f.value.style.chart.layout.dataLabel.roundingValue)).toLocaleString()),9,VD),e.createElementVNode("text",{x:128,y:["5",5].includes(le.key)?163:102,fill:f.value.style.chart.layout.dataLabel.color,"font-size":"12","text-anchor":"middle"}," ("+e.toDisplayString(Number((le.value/U.value*100).toFixed(f.value.style.chart.layout.dataLabel.roundingPercentage)).toLocaleString())+"%) ",9,QD)],4))),256)),e.renderSlot(te.$slots,"svg",{svg:v.value},void 0,!0)],14,gD)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"radar",style:{backgroundColor:f.value.style.chart.backgroundColor,radar:{grid:{color:"#CCCCCC"},shapes:{color:"#CCCCCC"}}}}},null,8,["config"])),f.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Zo,{key:4,legendSet:I.value,config:K.value,style:{display:"flex","row-gap":"6px"}},{item:e.withCtx(({legend:le,index:H})=>[e.createElementVNode("div",{onClick:()=>E(le.key),style:{display:"flex","flex-direction":"row",gap:"3px","align-items":"center",margin:"3px 0"}},[le.key==1?(e.openBlock(),e.createBlock(bt,{key:0,strokeWidth:1,name:"moodSad",stroke:f.value.style.chart.layout.smileys.colors[le.key]},null,8,["stroke"])):e.createCommentVNode("",!0),le.key==2?(e.openBlock(),e.createBlock(bt,{key:1,strokeWidth:1,name:"moodFlat",stroke:f.value.style.chart.layout.smileys.colors[le.key]},null,8,["stroke"])):e.createCommentVNode("",!0),le.key==3?(e.openBlock(),e.createBlock(bt,{key:2,strokeWidth:1,name:"moodNeutral",stroke:f.value.style.chart.layout.smileys.colors[le.key]},null,8,["stroke"])):e.createCommentVNode("",!0),le.key==4?(e.openBlock(),e.createBlock(bt,{key:3,strokeWidth:1,name:"smiley",stroke:f.value.style.chart.layout.smileys.colors[le.key]},null,8,["stroke"])):e.createCommentVNode("",!0),le.key==5?(e.openBlock(),e.createBlock(bt,{key:4,strokeWidth:1,name:"moodHappy",stroke:f.value.style.chart.layout.smileys.colors[le.key]},null,8,["stroke"])):e.createCommentVNode("",!0),e.createElementVNode("span",OD,e.toDisplayString(le.value),1),e.createTextVNode(" ("+e.toDisplayString((isNaN(le.proportion)?0:le.proportion*100).toFixed(f.value.style.chart.legend.roundingPercentage))+"%) ",1)],8,TD)]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(te.$slots,"legend",{legend:I.value},void 0,!0),r.value?(e.openBlock(),e.createBlock(lo,{key:5,hideDetails:"",config:{open:B.value.showTable,maxHeight:1e4,body:{backgroundColor:f.value.style.chart.backgroundColor,color:f.value.style.chart.color},head:{backgroundColor:f.value.style.chart.backgroundColor,color:f.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(yo,{colNames:Y.value.colNames,head:Y.value.head,body:Y.value.body,config:Y.value.config,title:`${f.value.style.chart.title.text}${f.value.style.chart.title.subtitle.text?` : ${f.value.style.chart.title.subtitle.text}`:""}`,onClose:he[10]||(he[10]=le=>B.value.showTable=!1)},{th:e.withCtx(({th:le})=>[e.createElementVNode("div",{innerHTML:le,style:{display:"flex","align-items":"center"}},null,8,zD)]),td:e.withCtx(({td:le})=>[e.createTextVNode(e.toDisplayString(le.name||le),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,vD))}},bg=vt(DD,[["__scopeId","data-v-81cc3908"]]),PD=Object.freeze(Object.defineProperty({__proto__:null,default:bg},Symbol.toStringTag,{value:"Module"})),Ou=t=>(e.pushScopeId("data-v-30081550"),t=t(),e.popScopeId(),t),HD=["id"],RD=["xmlns","viewBox"],GD=["id"],WD=["stop-color"],KD=["stop-color"],jD=["id"],XD=["stop-color"],qD=["stop-color"],YD=["id"],JD=["stop-color"],ZD=["stop-color"],eP=["id"],tP=["stop-color"],oP=["stop-color"],lP=["stop-color"],aP={key:0},rP=["id"],nP=["stop-color"],sP=["stop-color"],iP=["id"],uP=["stop-color"],AP=["stop-color"],cP=["id"],dP=["stop-color"],hP=["stop-color"],fP=["id"],vP=Ou(()=>e.createElementVNode("stop",{offset:"0%","stop-color":"#FFFFFF"},null,-1)),gP=Ou(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"#FFFFFF33"},null,-1)),pP=[vP,gP],yP=["x","y","font-size","font-weight","fill"],mP=["x","y"],bP=["d","stroke"],kP=["d","stroke"],CP={key:3},wP={key:0},BP=["stroke-dasharray","d","stroke","stroke-width"],xP=["stroke-dasharray","d","stroke","stroke-width"],FP=["stroke-dasharray","d","stroke","stroke-width"],NP=["stroke-dasharray","d","stroke","stroke-width"],_P={key:1},SP=["d","stroke","stroke-width","fill"],LP=["d","stroke","stroke-width","fill"],EP=["d","stroke","stroke-width","fill"],IP={key:2},$P=["d","fill","onMouseenter","onClick"],MP=["d","fill","onMouseenter","onClick"],UP=["d","fill","onMouseenter","onClick"],VP=["d","onMouseenter","onClick"],QP=["d"],TP=["d","stroke"],OP=["onClick"],zP=["stroke","d"],DP=["cx","cy","fill","stroke"],PP=["x","y","width","height"],HP={key:1},RP=["d","stroke"],GP=["d","fill","stroke"],WP=["id"],KP=["stop-color"],jP=Ou(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),XP=["stop-color"],qP=["cx","cy","fill"],YP=["cx","cy","fill"],JP={key:0},ZP=["text-anchor","x","y","fill","font-size"],eH=["text-anchor","x","y","fill","font-size"],tH={key:2},oH=["d","fill","stroke"],lH={key:4},aH={key:0},rH=["stroke-dasharray","d","stroke","stroke-width"],nH=["stroke-dasharray","d","stroke","stroke-width"],sH=["stroke-dasharray","d","stroke","stroke-width"],iH=["stroke-dasharray","d","stroke","stroke-width"],uH=["d","stroke","stroke-width","fill"],AH=["d","stroke","stroke-width","fill"],cH={key:1},dH=["onClick"],hH=["id"],fH=["stop-color"],vH=["stop-color"],gH=["id"],pH=["stop-color"],yH=["stop-color"],mH=["stop-color"],bH=["stop-color"],kH=["stop-color"],CH=["onMouseenter","onClick","d","fill"],wH=["onMouseenter","onClick","d"],BH=["onMouseenter","onClick","d","fill"],xH=["onClick"],FH=["stroke","d"],NH=["cx","cy","fill","stroke"],_H=["x","y","width","height"],SH={key:1},LH=["d","stroke"],EH=["d","fill","stroke"],IH=["id"],$H=["stop-color"],MH=Ou(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),UH=["stop-color"],VH=["cx","cy","fill"],QH=["cx","cy","fill"],TH={key:0},OH=["text-anchor","x","y","fill","font-size"],zH=["text-anchor","x","y","fill","font-size"],DH={key:2},PH=["d","fill","stroke"],HH=["innerHTML"],RH={__name:"vue-ui-3d-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["selectDatapoint"],setup(t,{expose:o,emit:a}){const n=t,{vue_ui_3d_bar:r}=ft(),l=e.computed(()=>!!n.dataset&&Object.keys(n.dataset).length),s=e.ref(it()),u=e.ref(null),h=e.ref(null),f=e.ref(!1),c=e.computed(()=>{const X=Je({userConfig:n.config,defaultConfig:r});return X.theme?{...Je({userConfig:Nt.vue_ui_3d_bar[X.theme]||n.config,defaultConfig:X}),customPalette:Pt[X.theme]||Me}:X}),{isPrinting:y,isImaging:C,generatePdf:A,generateImage:B}=zt({elementId:`3d_bar_${s.value}`,fileName:c.value.style.chart.title.text||"vue-ui-3d-bar"}),v=e.computed(()=>so(c.value.customPalette)),i=e.ref({showTable:c.value.table.show}),g=e.computed(()=>n.dataset.series&&n.dataset.series.length),w=e.computed(()=>({height:c.value.style.chart.box.dimensions.height,width:c.value.style.chart.box.dimensions.width,absoluteWidth:c.value.style.chart.box.dimensions.width*(g.value?2:1),top:c.value.style.chart.box.dimensions.top,bottom:c.value.style.chart.box.dimensions.bottom,left:c.value.style.chart.box.dimensions.left,right:c.value.style.chart.box.dimensions.right,perspective:c.value.style.chart.box.dimensions.perspective})),U=e.computed(()=>{if(g.value){const X=n.dataset.series.map(x=>x.value||0).reduce((x,V)=>x+V,0),q=n.dataset.series.map((x,V)=>({...x,id:it(),proportion:(x.value||0)/X,color:At(x.color)||v.value[V]||Me[V]||Me[V%Me.length],breakdown:x.breakdown?x.breakdown.sort((J,ke)=>ke.value-J.value):null})).sort((x,V)=>V.value-x.value),m=[];let _=0;for(let x=0;x<q.length;x+=1)m.push({...q[x],fill:K(_,q[x].proportion,q[x].breakdown,q[x].color)}),_+=q[x].proportion;return m}return null}),I=e.computed(()=>({right:`M${w.value.width/2},${w.value.top} ${w.value.width-w.value.right}, ${w.value.top+w.value.perspective} ${w.value.width-w.value.right},${w.value.height-w.value.bottom-w.value.perspective} ${w.value.width/2},${w.value.height-w.value.bottom}`,left:`M${w.value.width/2},${w.value.top} ${w.value.left},${w.value.top+w.value.perspective} ${w.value.left},${w.value.height-w.value.bottom-w.value.perspective} ${w.value.width/2},${w.value.height-w.value.bottom}`,side:`M${w.value.width/2},${w.value.height-w.value.bottom} ${w.value.width/2},${w.value.top+w.value.perspective*2}`,topSides:`M${w.value.left},${w.value.top+w.value.perspective} ${w.value.width/2},${w.value.top+w.value.perspective*2} ${w.value.width-w.value.right},${w.value.top+w.value.perspective}`,tubeTop:`M${w.value.left},${w.value.top+w.value.perspective} C ${w.value.left},${w.value.top-w.value.perspective/3} ${w.value.width-w.value.right},${w.value.top-w.value.perspective/3} ${w.value.width-w.value.right},${w.value.top+w.value.perspective} C ${w.value.width-w.value.right},${w.value.top+w.value.perspective*2.3} ${w.value.left},${w.value.top+w.value.perspective*2.3} ${w.value.left},${w.value.top+w.value.perspective}`,tubeLeft:`M${w.value.left},${w.value.top+w.value.perspective} ${w.value.left},${w.value.height-w.value.bottom-w.value.perspective}`,tubeRight:`M${w.value.width-w.value.right},${w.value.top+w.value.perspective} ${w.value.width-w.value.right},${w.value.height-w.value.bottom-w.value.perspective}`,tubeBottom:`M${w.value.width-w.value.right},${w.value.height-w.value.bottom-w.value.perspective} C ${w.value.width-w.value.right},${w.value.height} ${w.value.left},${w.value.height} ${w.value.left},${w.value.height-w.value.bottom-w.value.perspective}`})),Q=e.ref(c.value.style.chart.animation.use?0:n.dataset.percentage);e.onMounted(()=>{xt(n.dataset)?Ke({componentName:"VueUi3dBar",type:"dataset"}):n.dataset.series?n.dataset.series.forEach((x,V)=>{Wt({datasetObject:x,requiredAttributes:["name","value"]}).forEach(J=>{Ke({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:J,index:V})}),x.breakdown&&x.breakdown.forEach((J,ke)=>{Wt({datasetObject:J,requiredAttributes:["name","value"]}).forEach(ae=>{Ke({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:ae,index:`${V} - ${ke}`})})})}):Wt({datasetObject:n.dataset,requiredAttributes:["percentage"]}).forEach(x=>{Ke({componentName:"VueUi3dBar",type:"datasetAttribute",property:x})});let X=0,q=c.value.style.chart.animation.speed,m=.005*c.value.style.chart.animation.acceleration;function _(){Q.value+=q+X,X+=m,Q.value<n.dataset.percentage?requestAnimationFrame(_):Q.value=n.dataset.percentage}c.value.style.chart.animation.use&&(Q.value=0,_())});function K(X,q,m,_){const x=w.value.height-w.value.bottom-w.value.top-w.value.perspective*2,{width:V,height:J,bottom:ke,right:ae,left:ge,perspective:Z}=w.value,ee=ke+x*X,z=J-ee-Z-x*q/2,D=z>w.value.height/2?"top":"bottom",fe=64,M=!!m;let N=null,j=null;return M&&(m=m.map((O,ce)=>({...O,value:O.value||0,color:Ll(_,ce/m.length)})),N=kl({series:m},V+w.value.absoluteWidth/4-14,D==="top"?z-fe:z+fe,28,28,1.99999,2,1,360,105.25,14),j=kl({series:m},V-ae+20,J-ee-Z-x*q/2,6,6,1.99999,2,1,360,105.25,6)),{donut:N,miniDonut:j,sidePointer:{x:V-ae,y:J-ee-Z-x*q/2,topY:J-ee-Z-x*q,height:x*q},apexBottom:{y:J-ee,x:V/2},apexTop:{y:J-ee-x*q,x:V/2},right:`M${V/2},${J-ee} ${V/2},${J-ee-x*q} ${V-ae},${J-ee-Z-x*q} ${V-ae},${J-ee-Z}Z`,left:`M${V/2},${J-ee} ${V/2},${J-ee-x*q} ${ge}, ${J-ee-Z-x*q} ${ge},${J-ee-Z}Z`,liningTop:`M${ge},${J-ee-Z-x*q} ${V/2},${J-ee-x*q} ${V-ae},${J-ee-Z-x*q}`,liningTopShade:`M${ge},${J-ee-Z-x*q-.5} ${V/2},${J-ee-x*q-.5} ${V-ae},${J-ee-Z-x*q-.5}`,top:`M${V/2},${J-ee-x*q} ${ge},${J-ee-Z-x*q} ${V/2},${J-ee-Z*2-x*q} ${V-ae},${J-ee-Z-x*q} Z`,tubeTop:`M${ge},${J-ee-x*q-Z} C ${ge},${J-ee-x*q-Z*2.5} ${V-ae},${J-ee-x*q-Z*2.5} ${V-ae},${J-ee-x*q-Z} C ${V-ae},${J-ee-x*q+Z/2} ${ge},${J-ee-x*q+Z/2} ${ge},${J-ee-x*q-Z}`,bottomTubeTop:`M ${V-ae-.5},${J-ee-Z} C ${V-ae-.5},${J-ee+Z/2} ${ge},${J-ee+Z/2} ${ge+.5},${J-ee-Z}`,tubeBody:`M
704
+ position:relative`),onMouseenter:U[0]||(U[0]=I=>s.value=0),onMouseleave:U[1]||(U[1]=I=>s.value=void 0),onClick:U[2]||(U[2]=I=>B(1)),onKeyup:U[3]||(U[3]=e.withKeys(I=>B(1),["enter"]))},[u.value.style.tooltip.show&&f.value&&y.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===0?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"1",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[1]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{transition:"all 0.1s ease-in-out",position:"absolute",top:"0",left:"0"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(0),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",MV,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.active[0],.05)},null,8,UV),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.active[0]},null,8,VV)])]),QV,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 9.86a4.5 4.5 0 0 0 -3.214 1.35a1 1 0 1 0 1.428 1.4a2.5 2.5 0 0 1 3.572 0a1 1 0 0 0 1.428 -1.4a4.5 4.5 0 0 0 -3.214 -1.35zm-2.99 -4.2l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:g(0)},null,8,TV)],8,$V)):(e.openBlock(),e.createElementBlock("svg",{key:2,style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(0),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},DV,8,OV)),u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{transition:"all 0.1s ease-in-out",position:"absolute",top:"0",left:"0"},height:"100%",viewBox:`0 0 ${A(0)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[0],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",HV,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[0],.05)},null,8,RV),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[0]},null,8,GV)])]),WV,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 9.86a4.5 4.5 0 0 0 -3.214 1.35a1 1 0 1 0 1.428 1.4a2.5 2.5 0 0 1 3.572 0a1 1 0 0 0 1.428 -1.4a4.5 4.5 0 0 0 -3.214 -1.35zm-2.99 -4.2l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley0)":u.value.style.colors.activeReadonly[0]},null,8,KV)],8,PV)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:4,style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(0)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[0],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},qV,8,jV)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!u.value.readonly&&c.value===2}),style:e.normalizeStyle(`cursor:${u.value.readonly?"default":"pointer"};height:${u.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:U[4]||(U[4]=I=>s.value=1),onMouseleave:U[5]||(U[5]=I=>s.value=void 0),onClick:U[6]||(U[6]=I=>B(2)),onKeyup:U[7]||(U[7]=e.withKeys(I=>B(2),["enter"]))},[u.value.style.tooltip.show&&f.value&&y.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===1?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"2",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[2]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(1),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",JV,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.active[1],.05)},null,8,ZV),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.active[1]},null,8,eQ)])]),tQ,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 10.66h-6l-.117 .007a1 1 0 0 0 0 1.986l.117 .007h6l.117 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-5.99 -5l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:g(1)},null,8,oQ)],8,YV)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(1),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},rQ,8,lQ)),u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(1)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[1],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",sQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[1],.05)},null,8,iQ),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[1]},null,8,uQ)])]),AQ,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 10.66h-6l-.117 .007a1 1 0 0 0 0 1.986l.117 .007h6l.117 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-5.99 -5l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley1)":u.value.style.colors.activeReadonly[1]},null,8,cQ)],8,nQ)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:4,style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(1)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[1],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},fQ,8,dQ)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!u.value.readonly&&c.value===3}),style:e.normalizeStyle(`cursor:${u.value.readonly?"default":"pointer"};height:${u.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:U[8]||(U[8]=I=>s.value=2),onMouseleave:U[9]||(U[9]=I=>s.value=void 0),onClick:U[10]||(U[10]=I=>B(3)),onKeyup:U[11]||(U[11]=e.withKeys(I=>B(3),["enter"]))},[u.value.style.tooltip.show&&f.value&&y.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===2?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"3",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[3]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(2),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",gQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[2],.05)},null,8,pQ),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[2]},null,8,yQ)])]),mQ,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-7.99 5.66l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:g(2)},null,8,bQ)],8,vQ)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(2),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},FQ,8,kQ)),u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(2)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[2],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[_Q,e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",SQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[2],.05)},null,8,LQ),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[2]},null,8,EQ)])]),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-7.99 5.66l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley2)":u.value.style.colors.activeReadonly[2]},null,8,IQ)],8,NQ)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(2)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[2],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},TQ,8,$Q)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!u.value.readonly&&c.value===4}),style:e.normalizeStyle(`cursor:${u.value.readonly?"default":"pointer"};height:${u.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:U[12]||(U[12]=I=>s.value=3),onMouseleave:U[13]||(U[13]=I=>s.value=void 0),onClick:U[14]||(U[14]=I=>B(4)),onKeyup:U[15]||(U[15]=e.withKeys(I=>B(4),["enter"]))},[u.value.style.tooltip.show&&f.value&&y.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===3?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"4",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[4]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(3),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",zQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[3],.95)},null,8,DQ),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[3]},null,8,PQ)])]),HQ,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.8 10.946a1 1 0 0 0 -1.414 .014a2.5 2.5 0 0 1 -3.572 0a1 1 0 0 0 -1.428 1.4a4.5 4.5 0 0 0 6.428 0a1 1 0 0 0 -.014 -1.414zm-6.19 -5.286l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:g(3)},null,8,RQ)],8,OQ)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(3),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},KQ,8,GQ)),u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(3)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[3],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[XQ,e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",qQ,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[3],.95)},null,8,YQ),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[3]},null,8,JQ)])]),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.8 10.946a1 1 0 0 0 -1.414 .014a2.5 2.5 0 0 1 -3.572 0a1 1 0 0 0 -1.428 1.4a4.5 4.5 0 0 0 6.428 0a1 1 0 0 0 -.014 -1.414zm-6.19 -5.286l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley3)":u.value.style.colors.activeReadonly[3]},null,8,ZQ)],8,jQ)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(3)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[3],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},oT,8,eT)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!u.value.readonly&&c.value===5}),style:e.normalizeStyle(`cursor:${u.value.readonly?"default":"pointer"};height:${u.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:U[16]||(U[16]=I=>s.value=4),onMouseleave:U[17]||(U[17]=I=>s.value=void 0),onClick:U[18]||(U[18]=I=>B(5)),onKeyup:U[19]||(U[19]=e.withKeys(I=>B(5),["enter"]))},[u.value.style.tooltip.show&&f.value&&y.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${u.value.style.tooltip.borderColor};position:absolute;top:${-48+u.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${u.value.style.tooltip.backgroundColor};display:${s.value===4?"block":"none"};padding:2px 12px;border-radius:${u.value.style.tooltip.borderRadius}px;box-shadow:${u.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${u.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${u.value.style.tooltip.fontSize}px`)},"5",4),e.createTextVNode(" : "),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${u.value.style.tooltip.bold?"bold":"normal"};font-size:${u.value.style.tooltip.fontSize}px`)},e.toDisplayString(n.dataset.rating[5]),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${u.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),u.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(4),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",aT,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[4],.9)},null,8,rT),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[4]},null,8,nT)])]),sT,e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 9.66h-6a1 1 0 0 0 -1 1v.05a3.975 3.975 0 0 0 3.777 3.97l.227 .005a4.026 4.026 0 0 0 3.99 -3.79l.006 -.206a1 1 0 0 0 -1 -1.029zm-5.99 -5l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:g(4)},null,8,iT)],8,lT)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:g(4),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},cT,8,uT)),u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(4)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[4],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[hT,e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",fT,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(Lt)(u.value.style.colors.activeReadonly[4],.9)},null,8,vT),e.createElementVNode("stop",{offset:"100%","stop-color":u.value.style.colors.activeReadonly[4]},null,8,gT)])]),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 9.66h-6a1 1 0 0 0 -1 1v.05a3.975 3.975 0 0 0 3.777 3.97l.227 .005a4.026 4.026 0 0 0 3.99 -3.79l.006 -.206a1 1 0 0 0 -1 -1.029zm-5.99 -5l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:u.value.style.icons.useGradient?"url(#vueUiSmiley4)":u.value.style.colors.activeReadonly[4]},null,8,pT)],8,dT)):e.createCommentVNode("",!0),!u.value.style.icons.filled&&y.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(We),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${A(4)} 24`,"stroke-width":"1.5",stroke:u.value.style.colors.activeReadonly[4],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},bT,8,yT)):e.createCommentVNode("",!0)],38),u.value.style.rating.show&&u.value.style.rating.position==="right"?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(`width:fit-content;text-align:center;margin-bottom:${u.value.style.rating.offsetY}px;font-size:${u.value.style.rating.fontSize}px;font-weight:${u.value.style.rating.bold?"bold":"normal"};padding-left:${u.value.style.rating.offsetX}px`)},e.toDisplayString(isNaN(c.value)?"":c.value.toFixed(u.value.style.rating.roundingValue)),5)):e.createCommentVNode("",!0)],4),u.value.style.rating.show&&u.value.style.rating.position==="bottom"?(e.openBlock(),e.createElementBlock("div",{key:2,style:e.normalizeStyle(`width:100%;text-align:center;margin-top:${u.value.style.rating.offsetY}px;font-size:${u.value.style.rating.fontSize}px;font-weight:${u.value.style.rating.bold?"bold":"normal"};margin-left:${u.value.style.rating.offsetX}px`)},e.toDisplayString(isNaN(c.value)?"":c.value.toFixed(u.value.style.rating.roundingValue)),5)):e.createCommentVNode("",!0)],36))}},cg=vt(kT,[["__scopeId","data-v-3e41118a"]]),CT=Object.freeze(Object.defineProperty({__proto__:null,default:cg},Symbol.toStringTag,{value:"Module"})),wT=["id"],BT=["xmlns","viewBox"],xT=["cx","cy","r","stroke","stroke-width"],FT={key:0},NT=["stroke","d","stroke-width"],_T={key:1},ST=["stroke","x1","x2","y1","y2"],LT=["text-anchor","transform","x","y","onClick","font-weight","font-size","fill"],ET=["cx","cy","fill","onClick","r"],IT={__name:"vue-ui-relation-circle",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t;e.useCssVars(ae=>({"69fb0529":Y.value,"3158da88":T.value,"2b571f2c":$.value}));const{vue_ui_relation_circle:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length),l=e.ref(it()),s=e.ref(0),u=e.ref(null),h=e.ref(null),f=e.computed(()=>{const ae=Je({userConfig:a.config,defaultConfig:n});return ae.theme?{...Je({userConfig:Nt.vue_ui_relation_circle[ae.theme]||a.config,defaultConfig:ae}),customPalette:Pt[ae.theme]||Me}:ae}),{isPrinting:c,isImaging:y,generatePdf:C,generateImage:A}=zt({elementId:`relation_circle_${l.value}`,fileName:f.value.style.title.text||"vue-ui-relation-circle"}),B=e.computed(()=>so(f.value.customPalette)),v=e.ref([]),i=e.ref([]),g=e.ref({}),w=e.ref([]),U=e.ref(0),I=e.computed(()=>a.dataset.slice(0,f.value.style.limit)),Q=e.ref(f.value.style.size),K=e.ref({height:f.value.style.size,width:f.value.style.size}),E=e.computed({get(){return Q.value*f.value.style.circle.radiusProportion},set(ae){return ae}}),b=e.computed(()=>f.value.style.links.curved),T=e.computed(()=>`${f.value.style.animation.speedMs}ms`),Y=e.computed(()=>E.value*2),$=e.computed(()=>E.value*4),S=e.ref(null);e.onMounted(()=>{if(xt(a.dataset)?Ke({componentName:"VueUiRelationCircle",type:"dataset"}):a.dataset.forEach((ge,Z)=>{Wt({datasetObject:ge,requiredAttributes:["id","label","relations","weights"]}).forEach(ee=>{Ke({componentName:"VueUiRelationCircle",type:"datasetSerieAttribute",property:ee,index:Z})})}),f.value.responsive){const ge=Bo(()=>{const{width:Z,height:ee}=xo({chart:u.value,title:f.value.style.title.text?h.value:null});Q.value=Math.min(Z,ee),K.value.width=Z,K.value.height=ee,E.value=Q.value*f.value.style.circle.radiusProportion,v.value=[],i.value=[],oe(),te()});S.value=new ResizeObserver(ge),S.value.observe(u.value.parentNode)}else oe(),te();document.getElementById(`relation_circle_${l.value}`).addEventListener("click",W)}),e.onBeforeUnmount(()=>{document.getElementById(`relation_circle_${l.value}`).removeEventListener("click",W),S.value&&S.value.disconnect()});function W(ae){const ge=ae.target;ge&&Array.from(ge.classList).includes("vue-ui-user-options")||ge&&Array.from(ge.classList).includes("vue-ui-user-options-summary")||ge&&Array.from(ge.classList).includes("vue-data-ui-button")||ge&&Array.from(ge.classList).includes("vue-ui-relation-circle-legend")||(g.value={},w.value=[])}function oe(){const ae=6.28319/I.value.length,ge=360/I.value.length;let Z=0,ee=0;I.value.forEach((z,D)=>{const fe=E.value*Math.cos(Z)+K.value.width/2,M=E.value*Math.sin(Z)+K.value.height/2+f.value.style.circle.offsetY;v.value.push({x:fe,y:M,...z,color:z.color?z.color:B.value[D]?B.value[D]:Me[D],regAngle:ee}),Z+=ae,ee+=ge})}function te(){v.value.forEach(ae=>{v.value.filter(Z=>Z.relations.includes(ae.id)).forEach((Z,ee)=>{i.value.push({weight:ae.weights&&ae.weights[ee]?ae.weights[ee]:1,relationId:`${ae.id}_${Z.id}`,x1:ae.x,y1:ae.y,x2:Z.x,y2:Z.y,colorSource:ae.color,colorTarget:Z.color,...ae})})})}const he=e.computed(()=>Math.max(...i.value.map(ae=>ae.weight)));function le(ae){return Object.hasOwn(g.value,"x")?w.value.includes(ae.id)?"opacity:1":"opacity:0.1":"opacity:1"}function H(ae){return Object.hasOwn(g.value,"x")?ae.colorTarget:ae.colorSource}function P(ae){return Object.hasOwn(g.value,"x")?w.value.includes(ae.id)&&ae.relationId===`${ae.id}_${g.value.id}`||ae.relationId===`${g.value.id}_${ae.id}`?`opacity:1;stroke-width:${V(ae)}`:"opacity: 0":"opacity: 1"}function X(ae){return ae.regAngle>90&&ae.regAngle<270?"end":"start"}function q(ae){return ae.regAngle>90&&ae.regAngle<270?ae.x-5:ae.x+5}function m(ae){return Object.hasOwn(g.value,"x")?g.value.id===ae.id||w.value.includes(ae.id)?"opacity:1":"opacity:0.2":"opacity:1"}function _(ae){return ae.regAngle>90&&ae.regAngle<270?`rotate(${ae.regAngle+180},${ae.x},${ae.y})`:`rotate(${ae.regAngle},${ae.x},${ae.y})`}function x(ae){U.value=360-ae.regAngle,g.value.id&&ae.id===g.value.id?(g.value={},w.value=[]):(g.value=ae,w.value=[...ae.relations])}function V(ae){return ae.weight/he.value*f.value.style.links.maxWidth}const J=e.ref(!1);function ke(ae){J.value=ae,s.value+=1}return o({generatePdf:C,generateImage:A}),(ae,ge)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"relationCircleChart",ref:u,class:"vue-ui-relation-circle",style:e.normalizeStyle(`width:100%;background:${f.value.style.backgroundColor};text-align:center;${f.value.responsive?"height: 100%":""}`),id:`relation_circle_${l.value}`},[f.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:h,style:e.normalizeStyle(`width:100%;background:${f.value.style.backgroundColor}`)},[e.createVNode(Xt,{config:{title:{cy:"relation-div-title",...f.value.style.title},subtitle:{cy:"relation-div-subtitle",...f.value.style.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),f.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_options_${s.value}`,backgroundColor:f.value.style.backgroundColor,color:f.value.style.color,isPrinting:e.unref(c),isImaging:e.unref(y),uid:l.value,hasPdf:f.value.userOptions.buttons.pdf,hasImg:f.value.userOptions.buttons.img,hasFullscreen:f.value.userOptions.buttons.img,hasXls:!1,isFullscreen:J.value,titles:{...f.value.userOptions.buttonTitles},chartElement:u.value,onToggleFullscreen:ke,onGeneratePdf:e.unref(C),onGenerateImage:e.unref(A)},e.createSlots({_:2},[ae.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(ae.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,ae.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(ae.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,ae.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:Z,isFullscreen:ee})=>[e.renderSlot(ae.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:Z,isFullscreen:ee})),void 0,!0)]),key:"2"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass([{"vue-data-ui-fullscreen--on":J.value,"vue-data-ui-fulscreen--off":!J.value},"relation-circle"]),viewBox:`0 0 ${K.value.width<=0?10:K.value.width} ${K.value.height<=0?10:K.value.height}`,width:"100%",style:e.normalizeStyle(`user-select:none; background:${f.value.style.backgroundColor}`)},[e.createElementVNode("circle",{cx:(K.value.width<=0?1e-4:K.value.width)/2,cy:(K.value.height<=0?1e-4:K.value.height)/2+f.value.style.circle.offsetY,r:E.value<=0?1e-4:E.value,stroke:f.value.style.circle.stroke,"stroke-width":f.value.style.circle.strokeWidth,fill:"transparent",class:"main-circle"},null,8,xT),b.value?(e.openBlock(),e.createElementBlock("g",FT,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(Z,ee)=>(e.openBlock(),e.createElementBlock("path",{key:`relation_${ee}`,style:e.normalizeStyle(P(Z)),stroke:H(Z),class:e.normalizeClass(["relation",{"vue-ui-relation-circle-selected":g.value.hasOwnProperty("id")&&w.value.includes(Z.id)}]),d:`M${Z.x1},${Z.y1} C${Z.x1},${Z.y1} ${K.value.width/2},${K.value.height/2+f.value.style.circle.offsetY} ${Z.x2},${Z.y2}`,fill:"none","stroke-width":V(Z),"stroke-linecap":"round"},null,14,NT))),128))])):(e.openBlock(),e.createElementBlock("g",_T,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(Z,ee)=>(e.openBlock(),e.createElementBlock("line",{key:`relation_${ee}`,stroke:H(Z),style:e.normalizeStyle(P(Z)),x1:Z.x1,x2:Z.x2,y1:Z.y1,y2:Z.y2,class:e.normalizeClass({"vue-ui-relation-circle-selected":g.value.hasOwnProperty("id")&&w.value.includes(Z.id)}),"stroke-linecap":"round"},null,14,ST))),128))])),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,(Z,ee)=>(e.openBlock(),e.createElementBlock("text",{key:`plot_text_${ee}`,"text-anchor":X(Z),transform:_(Z),x:q(Z),y:Z.y+5,onClick:z=>x(Z),class:"vue-ui-relation-circle-legend","transform-origin":"start","font-weight":g.value.id===Z.id?"900":"400",style:e.normalizeStyle(`font-family:${f.value.style.fontFamily};${m(Z)}`),"font-size":f.value.style.labels.fontSize,fill:f.value.style.labels.color},e.toDisplayString(Z.label),13,LT))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,(Z,ee)=>(e.openBlock(),e.createElementBlock("circle",{cx:Z.x,cy:Z.y,key:`plot_${ee}`,style:e.normalizeStyle(le(Z)),class:"vue-ui-relation-circle-plot",fill:f.value.style.plot.color,onClick:z=>x(Z),r:f.value.style.plot.radius},null,12,ET))),128)),e.renderSlot(ae.$slots,"svg",{svg:K.value},void 0,!0)],14,BT)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"relationCircle",style:{backgroundColor:f.value.style.backgroundColor,relationCircle:{color:"#CCCCCC"}}}},null,8,["config"]))],12,wT))}},dg=vt(IT,[["__scopeId","data-v-44982e30"]]),$T=Object.freeze(Object.defineProperty({__proto__:null,default:dg},Symbol.toStringTag,{value:"Module"})),MT=["id"],UT={key:0,style:"width:100%"},VT=["xmlns","viewBox"],QT={id:"vueUiPill",clipPathUnits:"objectBoundingBox"},TT=["fill"],OT=["id"],zT=["stop-color"],DT=["stop-color"],PT=["stop-color"],HT={"clip-path":"url(#vueUiPill)"},RT=["x","y","height","width"],GT=["x","y","height","width","fill"],WT=["x1","x2","y1","y2","stroke-width","stroke"],KT=["x1","x2","y1","y2","stroke-width","stroke"],jT=["x1","x2","y1","y2","stroke-width","stroke"],XT=["x1","x2","y1","y2","stroke-width","stroke"],qT=["x1","x2","y1","y2","stroke-width","stroke"],YT=["x1","x2","y1","y2","stroke-width","stroke"],JT=["x1","x2","y1","y2","stroke-width","stroke"],ZT=["x1","x2","y1","y2","stroke-width","stroke"],eO=["x","y","height","width"],tO=["y","x","fill","font-size","font-weight"],oO={__name:"vue-ui-thermometer",props:{dataset:{type:Object,default(){return{}}},config:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t;e.useCssVars(te=>({efcaaea8:Y.value,"67dbf562":T.value,bd690a62:b.value}));const{vue_ui_thermometer:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length);e.onMounted(()=>{xt(a.dataset)?Ke({componentName:"VueUiThermometer",type:"dataset"}):Wt({datasetObject:a.dataset,requiredAttributes:["value","from","to"]}).forEach(te=>{Ke({componentName:"VueUiThermometer",type:"datasetAttribute",property:te})})});const l=e.ref(it()),s=e.ref(null),u=e.ref(0),h=e.computed(()=>{const te=Je({userConfig:a.config,defaultConfig:n});return te.theme?{...Je({userConfig:Nt.vue_ui_thermometer[te.theme]||a.config,defaultConfig:te}),customPalette:Pt[te.theme]||Me}:te}),{isPrinting:f,isImaging:c,generatePdf:y,generateImage:C}=zt({elementId:`thermometer__${l.value}`,fileName:h.value.style.title.text||"vue-ui-thermometer"}),A=e.computed(()=>so(h.value.customPalette)),B=e.computed(()=>h.value.style.chart.thermometer.width),v=e.computed(()=>a.dataset.steps||10),i=e.ref({top:h.value.style.chart.padding.top,left:h.value.style.chart.padding.left,right:h.value.style.chart.padding.right,bottom:h.value.style.chart.padding.bottom});function g(te,he,le){const H=[],P=w(te),X=w(he);for(let q=0;q<le;q++){const m=U(P.red,X.red,q,le),_=U(P.green,X.green,q,le),x=U(P.blue,X.blue,q,le),V=`#${I(m)}${I(_)}${I(x)}`;H.push(V)}return H}function w(te){const he=te.slice(1);return{red:parseInt(he.slice(0,2),16),green:parseInt(he.slice(2,4),16),blue:parseInt(he.slice(4,6),16)}}function U(te,he,le,H){return Math.round(te+(he-te)*le/H)}function I(te){return te.toString(16).padStart(2,"0")}const Q=e.computed(()=>{const te=B.value+i.value.left+i.value.right,he=h.value.style.chart.height;return{width:te,left:i.value.left,right:te-i.value.right,top:i.value.top,bottom:he-i.value.bottom,height:he}}),K=e.computed(()=>Q.value),E=e.computed(()=>{const te=a.dataset.from<0?Math.abs(a.dataset.from):a.dataset.from,he=a.dataset.to<0?Math.abs(a.dataset.to):a.dataset.to;let le=0;return a.dataset.to>0?le=te+he:te>he?le=te-he:le=he-te,(1-(Math.abs(a.dataset.from)+a.dataset.value)/le)*(Q.value.height-i.value.top-i.value.bottom)}),b=e.computed(()=>`${E.value}px`),T=e.computed(()=>`${Q.value.height-h.value.style.chart.padding.bottom-i.value.top}px`),Y=e.computed(()=>`${h.value.style.chart.animation.speedMs}ms`),$=e.computed(()=>{if(a.dataset.colors){if(!a.dataset.colors.from)return g(A.value[0]||Me[0],At(a.dataset.colors.to),v.value||10);if(!a.dataset.colors.to)return g(At(a.dataset.colors.from),A.value[1]||Me[1],v.value||10)}else return g(A.value[1]||Me[1],A.value[0]||Me[0],v.value||10);return g(At(a.dataset.colors.from),At(a.dataset.colors.to),v.value||10)}),S=e.computed(()=>{const te=[];let he=0;const le=Q.value.height-i.value.top-i.value.bottom;for(let H=0;H<le-1;H+=le/v.value)te.push({x:Q.value.left,y:Q.value.top+H,qYLess:Q.value.top+H+le/v.value/4,halfY:Q.value.top+H+le/v.value/2,qYMore:Q.value.top+H+le/v.value/4*3,color:$.value[he],height:le/v.value}),he+=1;return te}),W=e.ref(!1);function oe(te){W.value=te,u.value+=1}return o({generatePdf:y,generateImage:C}),(te,he)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"thermoChart",ref:s,class:e.normalizeClass(`vue-ui-thermometer ${W.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`width:100%;background:${h.value.style.chart.backgroundColor};color:${h.value.style.chart.color};font-family:${h.value.style.fontFamily}`),id:`thermometer__${l.value}`},[h.value.style.title.text?(e.openBlock(),e.createElementBlock("div",UT,[e.createVNode(Xt,{config:{title:{cy:"thermometer-div-title",...h.value.style.title},subtitle:{cy:"thermometer-div-subtitle",...h.value.style.title.subtitle}}},null,8,["config"])])):e.createCommentVNode("",!0),h.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_options_${u.value}`,backgroundColor:h.value.style.chart.backgroundColor,color:h.value.style.chart.color,isImaging:e.unref(c),isPrinting:e.unref(f),uid:l.value,hasPdf:h.value.userOptions.buttons.pdf,hasImg:h.value.userOptions.buttons.img,hasFullscreen:h.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:W.value,titles:{...h.value.userOptions.buttonTitles},chartElement:s.value,onToggleFullscreen:oe,onGeneratePdf:e.unref(y),onGenerateImage:e.unref(C)},e.createSlots({_:2},[te.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(te.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,te.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(te.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,te.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:le,isFullscreen:H})=>[e.renderSlot(te.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:le,isFullscreen:H})),void 0,!0)]),key:"2"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":W.value,"vue-data-ui-fulscreen--off":!W.value}),width:"100%",viewBox:`0 0 ${Q.value.width} ${Q.value.height}`,style:e.normalizeStyle(`background:${h.value.style.chart.backgroundColor}`)},[e.createElementVNode("defs",null,[e.createElementVNode("clipPath",QT,[e.createElementVNode("rect",{x:"0",y:"0",width:"1",height:"1",rx:"0.5",ry:"0.07",fill:h.value.style.chart.backgroundColor},null,8,TT)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(le,H)=>(e.openBlock(),e.createElementBlock("linearGradient",{id:`vueUiThermometerGradient_${H}_${l.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":le.color},null,8,zT),e.createElementVNode("stop",{offset:"50%","stop-color":`${le.color}${e.unref(Xe)[100-h.value.style.chart.graduations.gradient.intensity]}`},null,8,DT),e.createElementVNode("stop",{offset:"100%","stop-color":le.color},null,8,PT)],8,OT))),256))]),e.createElementVNode("g",HT,[e.createElementVNode("rect",{x:Q.value.left,y:Q.value.top,height:Q.value.height-i.value.top-i.value.bottom,width:Q.value.width-i.value.left-i.value.right,fill:"#FFFFFF"},null,8,RT),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(le,H)=>(e.openBlock(),e.createElementBlock("g",{key:`graduation_${H}`},[e.createElementVNode("rect",{x:le.x,y:le.y,height:le.height,width:Q.value.width-h.value.style.chart.padding.left-h.value.style.chart.padding.right,fill:h.value.style.chart.graduations.gradient.show?`url(#vueUiThermometerGradient_${H}_${l.value})`:le.color,"shape-rendering":"crispEdges"},null,8,GT),h.value.style.chart.graduations.show&&["both","left"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:le.x,x2:le.x+10,y1:le.y,y2:le.y,"stroke-width":h.value.style.chart.graduations.strokeWidth,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,WT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.showIntermediate?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[h.value.style.chart.graduations.show&&["both","left"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:le.x,x2:le.x+5,y1:le.halfY,y2:le.halfY,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,KT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","left"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:1,x1:le.x,x2:le.x+2.5,y1:le.qYLess,y2:le.qYLess,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,jT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","left"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:le.x,x2:le.x+2.5,y1:le.qYMore,y2:le.qYMore,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,XT)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","right"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:Q.value.right,x2:Q.value.right-10,y1:le.y,y2:le.y,"stroke-width":h.value.style.chart.graduations.strokeWidth,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,qT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.showIntermediate?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[h.value.style.chart.graduations.show&&["both","right"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:Q.value.right,x2:Q.value.right-5,y1:le.halfY,y2:le.halfY,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,YT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","right"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:1,x1:Q.value.right,x2:Q.value.right-2.5,y1:le.qYLess,y2:le.qYLess,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,JT)):e.createCommentVNode("",!0),h.value.style.chart.graduations.show&&["both","right"].includes(h.value.style.chart.graduations.sides)?(e.openBlock(),e.createElementBlock("line",{key:2,x1:Q.value.right,x2:Q.value.right-2.5,y1:le.qYMore,y2:le.qYMore,"stroke-width":h.value.style.chart.graduations.strokeWidth/2,stroke:h.value.style.chart.graduations.stroke,"stroke-linecap":"round"},null,8,ZT)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)]))),128)),e.createElementVNode("rect",{class:e.normalizeClass({"vue-ui-thermometer-temperature":h.value.style.chart.animation.use}),x:Q.value.left,y:Q.value.top,height:E.value,width:Q.value.width-h.value.style.chart.padding.left-h.value.style.chart.padding.right,fill:"#FFFFFF66"},null,10,eO)]),e.createElementVNode("text",{class:e.normalizeClass({"vue-ui-thermometer-temperature-value":h.value.style.chart.animation.use}),y:E.value+Q.value.top+h.value.style.chart.label.fontSize/3,x:Q.value.left-10,"text-anchor":"end",fill:h.value.style.chart.label.color,"font-size":h.value.style.chart.label.fontSize,"font-weight":h.value.style.chart.label.bold?"bold":"normal"},e.toDisplayString(e.unref(Ge)({p:h.value.style.chart.label.prefix,v:t.dataset.value,s:h.value.style.chart.label.suffix,r:h.value.style.chart.label.rounding})),11,tO),e.renderSlot(te.$slots,"svg",{svg:K.value},void 0,!0)],14,VT)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"thermometer",style:{backgroundColor:h.value.style.chart.backgroundColor,thermometer:{color:"#CCCCCC"}}}},null,8,["config"]))],14,MT))}},hg=vt(oO,[["__scopeId","data-v-eef95fe3"]]),lO=Object.freeze(Object.defineProperty({__proto__:null,default:hg},Symbol.toStringTag,{value:"Module"})),aO=["xmlns","viewBox"],rO=["id"],nO=["stop-color"],sO=["stop-color"],iO=["stop-color"],uO={id:"stackPill",clipPathUnits:"objectBoundingBox"},AO=["fill"],cO={"clip-path":"url(#stackPill)"},dO=["height","width","fill"],hO=["onClick","x","width","height","fill","stroke"],fO=["onClick"],vO={style:{display:"flex","flex-direction":"row","align-items":"center",gap:"4px","justify-content":"center"}},gO=["height","width"],pO=["fill"],yO={__name:"vue-ui-sparkstackbar",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectDatapoint"],setup(t,{emit:o}){const a=t,{vue_ui_sparkstackbar:n}=ft(),r=e.computed(()=>!!a.dataset&&a.dataset.length),l=e.ref(it()),s=e.computed(()=>{const w=Je({userConfig:a.config,defaultConfig:n});return w.theme?{...Je({userConfig:Nt.vue_ui_sparkstackbar[w.theme]||a.config,defaultConfig:w}),customPalette:Pt[w.theme]||Me}:w}),u=e.computed(()=>so(s.value.customPalette)),h=e.ref(a.dataset.map((w,U)=>({...w,value:s.value.style.animation.show?0:w.value||0,color:w.color?At(w.color):u.value[U]||Me[U]||Me[U%Me.length]}))),f=e.ref(!0);e.onMounted(()=>{if(xt(a.dataset)?Ke({componentName:"VueUiSparkStackbar",type:"dataset"}):a.dataset.forEach((w,U)=>{Wt({datasetObject:w,requiredAttributes:["name","value"]}).forEach(I=>{Ke({componentName:"VueUiSparkStackbar",type:"datasetSerieAttribute",property:I,index:U})})}),s.value.style.animation.show){let K=function(){Q+=I/w,Q<I?(h.value=h.value.map((E,b)=>({...E,value:E.value+=U[b],color:E.color?At(E.color):u.value[b]||Me[b]||Me[b%Me.length]})),requestAnimationFrame(K)):(f.value=!1,h.value=a.dataset.map((E,b)=>({...E,value:E.value||0,color:E.color?At(E.color):u.value[b]||Me[b]||Me[b%Me.length],id:it()})))};const w=s.value.style.animation.animationFrames,U=a.dataset.map((E,b)=>E.value/w),I=a.dataset.map(E=>E.value||0).reduce((E,b)=>E+b,0);let Q=0;f.value=!0,K()}});const c=e.ref({width:500,height:16}),y=e.ref([]),C=e.computed(()=>a.dataset.map(w=>w.value||0).filter((w,U)=>!y.value.includes(U)).reduce((w,U)=>w+U,0)),A=e.computed(()=>h.value.map((w,U)=>({...w,value:w.value||0,proportion:(w.value||0)/C.value,width:(w.value||0)/C.value*c.value.width,proportionLabel:Ge({v:(w.value||0)/C.value*100,s:"%",r:s.value.style.legend.percentage.rounding})}))),B=e.computed(()=>A.value.filter((w,U)=>!y.value.includes(U)));function v(w){y.value.includes(w)?y.value=y.value.filter(U=>U!==w):y.value.length<h.value.length-1&&y.value.push(w)}const i=e.computed(()=>{let w=0;const U=[];for(let I=0;I<B.value.length;I+=1)U.push({...B.value[I],start:w}),w+=B.value[I].width;return U});function g(w,U){o("selectDatapoint",{datapoint:w,index:U})}return(w,U)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`width:100%; background:${s.value.style.backgroundColor}`)},[s.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:calc(100% - 12px);background:${s.value.style.backgroundColor};margin:0 auto;margin:${s.value.style.title.margin};padding: 0 6px;text-align:${s.value.style.title.textAlign}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`font-size:${s.value.style.title.fontSize}px;color:${s.value.style.title.color};font-weight:${s.value.style.title.bold?"bold":"normal"}`)},e.toDisplayString(s.value.style.title.text),5),s.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`font-size:${s.value.style.title.subtitle.fontSize}px;color:${s.value.style.title.subtitle.color};font-weight:${s.value.style.title.subtitle.bold?"bold":"normal"}`)},e.toDisplayString(s.value.style.title.subtitle.text),5)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),width:"100%",viewBox:`0 0 ${c.value.width} ${c.value.height}`},[e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(I,Q)=>(e.openBlock(),e.createElementBlock("linearGradient",{key:`stack_gradient_${Q}`,gradientTransform:"rotate(90)",id:`stack_gradient_${Q}_${l.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":I.color},null,8,nO),e.createElementVNode("stop",{offset:"50%","stop-color":`${e.unref(Lt)(I.color,.05)}${e.unref(Xe)[100-s.value.style.bar.gradient.intensity]}`},null,8,sO),e.createElementVNode("stop",{offset:"100%","stop-color":I.color},null,8,iO)],8,rO))),128)),e.createElementVNode("clipPath",uO,[e.createElementVNode("rect",{x:"0.005",y:"-2",width:"0.99",height:"5",rx:"3",ry:"3",fill:s.value.style.backgroundColor},null,8,AO)])]),e.createElementVNode("g",cO,[e.createElementVNode("rect",{x:0,y:0,height:c.value.height,width:i.value.map(I=>I.width).reduce((I,Q)=>I+Q,0),fill:s.value.style.bar.gradient.underlayerColor,class:e.normalizeClass({animated:!f.value})},null,10,dO),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(I,Q)=>(e.openBlock(),e.createElementBlock("rect",{key:`stack_${Q}`,onClick:()=>g(I,Q),x:I.start,y:0,width:I.width,height:c.value.height,fill:s.value.style.bar.gradient.show?`url(#stack_gradient_${Q}_${l.value})`:I.color,stroke:s.value.style.backgroundColor,"stroke-linecap":"round",class:e.normalizeClass({animated:!f.value})},null,10,hO))),128))])],8,aO)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:2,config:{type:"sparkStackbar",style:{backgroundColor:s.value.style.backgroundColor,sparkStackbar:{color:"#CCCCCC"}}}},null,8,["config"])),s.value.style.legend.show?(e.openBlock(),e.createElementBlock("div",{key:3,style:e.normalizeStyle(`background:${s.value.style.backgroundColor};margin:0 auto;margin:${s.value.style.legend.margin};justify-content:${s.value.style.legend.textAlign==="left"?"flex-start":s.value.style.legend.textAlign==="right"?"flex-end":"center"}`),class:"vue-ui-sparkstackbar-legend"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value,(I,Q)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`font-size:${s.value.style.legend.fontSize}px;`),class:e.normalizeClass({"vue-ui-sparkstackbar-legend-item":!0,"vue-ui-sparkstackbar-legend-item-unselected":y.value.includes(Q)}),onClick:K=>{v(Q),g(I,Q)}},[e.createElementVNode("div",vO,[(e.openBlock(),e.createElementBlock("svg",{height:`${s.value.style.legend.fontSize}px`,width:`${s.value.style.legend.fontSize}px`,viewBox:"0 0 10 10"},[e.createElementVNode("circle",{cx:5,cy:5,r:5,fill:I.color},null,8,pO)],8,gO)),e.createElementVNode("span",{style:e.normalizeStyle(`color:${s.value.style.legend.name.color}; font-weight:${s.value.style.legend.name.bold?"bold":"normal"}`)},e.toDisplayString(I.name),5),s.value.style.legend.percentage.show?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle(`font-weight:${s.value.style.legend.percentage.bold?"bold":"normal"};color:${s.value.style.legend.percentage.color}`)},e.toDisplayString(y.value.includes(Q)?" - ":I.proportionLabel),5)):e.createCommentVNode("",!0),s.value.style.legend.value.show?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle(`font-weight:${s.value.style.legend.value.bold?"bold":"normal"};color:${s.value.style.legend.value.color}`)}," ("+e.toDisplayString(e.unref(Ge)({p:s.value.style.legend.value.prefix,v:I.value,s:s.value.style.legend.value.suffix,r:s.value.style.legend.value.rounding}))+") ",5)):e.createCommentVNode("",!0)])],14,fO))),256))],4)):e.createCommentVNode("",!0)],4))}},fg=vt(yO,[["__scopeId","data-v-2006741b"]]),mO=Object.freeze(Object.defineProperty({__proto__:null,default:fg},Symbol.toStringTag,{value:"Module"})),bO={key:0},kO={key:1},CO=["xmlns","viewBox"],wO=["id"],BO=["stop-color"],xO=["stop-color"],FO=["id"],NO=["stop-color"],_O=["stop-color"],SO={key:0},LO=["x","y","height","width","fill","stroke","stroke-width","rx"],EO={key:1},IO=["x","y","font-size","font-weight","fill"],$O=["x","y","font-size","fill"],MO=["x","y","font-size","fill"],UO=["height","width","x","onMouseover","stroke","stroke-width","rx","stroke-dasharray","onClick"],VO={__name:"vue-ui-sparkhistogram",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectDatapoint"],setup(t,{emit:o}){const a=t;e.useCssVars(B=>({"34a5ebe4":A.value}));const{vue_ui_sparkhistogram:n}=ft(),r=e.computed(()=>!!a.dataset&&a.dataset.length);e.onMounted(()=>{xt(a.dataset)?Ke({componentName:"VueUiSparkHistogram",type:"dataset"}):a.dataset.forEach((B,v)=>{Wt({datasetObject:B,requiredAttributes:["value"]}).forEach(i=>{Ke({componentName:"VueUiSparkHistogram",type:"datasetSerieAttribute",property:i,index:v})})})});const l=e.ref(it()),s=e.computed(()=>{const B=Je({userConfig:a.config,defaultConfig:n});return B.theme?{...Je({userConfig:Nt.vue_ui_sparkhistogram[B.theme]||a.config,defaultConfig:B})}:B}),u=e.computed(()=>{const B=s.value.style.layout.height,v=s.value.style.layout.width,i=s.value.style.layout.padding.top,g=B-s.value.style.layout.padding.bottom,w=s.value.style.layout.padding.left,U=v-s.value.style.layout.padding.right,I=i+(B-i-s.value.style.layout.padding.bottom)/2,Q=B-s.value.style.layout.padding.top-s.value.style.layout.padding.bottom,K=v-s.value.style.layout.padding.left-s.value.style.layout.padding.right;return{bottom:g,centerY:I,drawingHeight:Q,drawingWidth:K,height:B,left:w,right:U,top:i,width:v}}),h=e.computed(()=>Math.max(...a.dataset.map(B=>Math.abs(B.value||0))));function f(B){return Math.abs(B)/h.value}const c=e.computed(()=>a.dataset.map((B,v)=>{const i=f(B.value||0),g=u.value.drawingHeight*i,w=u.value.drawingWidth/a.dataset.length,U=w*(s.value.style.bars.gap/100),I=w-U,Q=u.value.centerY-g/2,K=u.value.left+(U/2+v*w),E=u.value.left+v*w,b=typeof B.intensity>"u"?100:Math.round(B.intensity*100),T=B.value>=0?`${s.value.style.bars.colors.positive}${Xe[b]}`:`${s.value.style.bars.colors.negative}${Xe[b]}`,Y=B.value>=0?s.value.style.bars.colors.positive:s.value.style.bars.colors.negative,$=B.value>=0?`url(#gradient_positive_${v}_${l.value})`:`url(#gradient_negative_${v}_${l.value})`,S=K+I/2;return{...B,color:T,gradient:$,height:g,intensity:b,proportion:i,stroke:Y,textAnchor:S,trapX:E,unitWidth:w,width:I,x:K,y:Q}})),y=e.ref(null);function C(B,v){o("selectDatapoint",{datapoint:B,index:v})}const A=e.computed(()=>`${s.value.style.animation.speedMs}ms`);return(B,v)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(`width:100%;background:${s.value.style.backgroundColor};font-family:${s.value.style.fontFamily}`),onMouseleave:v[1]||(v[1]=i=>y.value=null)},[s.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:calc(100% - 12px);background:${s.value.style.backgroundColor};margin:0 auto;margin:${s.value.style.title.margin};padding: 0 6px;text-align:${s.value.style.title.textAlign}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`font-size:${s.value.style.title.fontSize}px;color:${s.value.style.title.color};font-weight:${s.value.style.title.bold?"bold":"normal"}`)},[e.createTextVNode(e.toDisplayString(s.value.style.title.text)+" ",1),y.value!==null?(e.openBlock(),e.createElementBlock("span",bO,"- "+e.toDisplayString(c.value[y.value].timeLabel||"")+" "+e.toDisplayString(s.value.style.labels.value.prefix)+e.toDisplayString(isNaN(c.value[y.value].value)?"":": "+Number(c.value[y.value].value.toFixed(s.value.style.labels.value.rounding)).toLocaleString())+e.toDisplayString(s.value.style.labels.value.suffix),1)):e.createCommentVNode("",!0),e.createTextVNode(),![void 0,null].includes(y.value)&&![null,void 0].includes(c.value[y.value].valueLabel)?(e.openBlock(),e.createElementBlock("span",kO,"("+e.toDisplayString(c.value[y.value].valueLabel||0)+")",1)):e.createCommentVNode("",!0)],4),s.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`font-size:${s.value.style.title.subtitle.fontSize}px;color:${s.value.style.title.subtitle.color};font-weight:${s.value.style.title.subtitle.bold?"bold":"normal"}`)},e.toDisplayString(s.value.style.title.subtitle.text),5)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(We),viewBox:`0 0 ${u.value.width} ${u.value.height}`,style:{overflow:"visible"}},[e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,g)=>(e.openBlock(),e.createElementBlock("radialGradient",{id:`gradient_positive_${g}_${l.value}`,cy:"50%",cx:"50%",r:"50%",fx:"50%",fy:"50%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${e.unref(Lt)(s.value.style.bars.colors.positive,.05)}${e.unref(Xe)[i.intensity]}`},null,8,BO),e.createElementVNode("stop",{offset:"100%","stop-color":`${s.value.style.bars.colors.positive}${e.unref(Xe)[i.intensity]}`},null,8,xO)],8,wO))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,g)=>(e.openBlock(),e.createElementBlock("radialGradient",{id:`gradient_negative_${g}_${l.value}`,cy:"50%",cx:"50%",r:"50%",fx:"50%",fy:"50%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${e.unref(Lt)(s.value.style.bars.colors.negative,.05)}${e.unref(Xe)[i.intensity]}`},null,8,NO),e.createElementVNode("stop",{offset:"100%","stop-color":`${s.value.style.bars.colors.negative}${e.unref(Xe)[i.intensity]}`},null,8,_O)],8,FO))),256))]),!s.value.style.bars.shape||s.value.style.bars.shape==="square"?(e.openBlock(),e.createElementBlock("g",SO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,g)=>(e.openBlock(),e.createElementBlock("rect",{x:i.x,y:i.y,height:i.height,width:i.width,fill:s.value.style.bars.colors.gradient.show?i.gradient:i.color,stroke:i.stroke,"stroke-width":s.value.style.bars.strokeWidth,rx:`${s.value.style.bars.borderRadius*i.proportion/12}%`,class:e.normalizeClass({"vue-ui-sparkhistogram-shape":s.value.style.animation.show})},null,10,LO))),256))])):(e.openBlock(),e.createElementBlock("g",EO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,g)=>(e.openBlock(),e.createBlock(ra,{plot:{x:i.x+i.width/2,y:i.y+i.height/2},color:s.value.style.bars.colors.gradient.show?i.gradient:i.color,shape:s.value.style.bars.shape,radius:i.height*.4,class:e.normalizeClass({"vue-ui-sparkhistogram-shape":s.value.style.animation.show})},null,8,["plot","color","shape","radius","class"]))),256))])),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,g)=>(e.openBlock(),e.createElementBlock("text",{"text-anchor":"middle",x:i.textAnchor,y:i.y-s.value.style.labels.value.fontSize/3+s.value.style.labels.value.offsetY,"font-size":s.value.style.labels.value.fontSize,"font-weight":s.value.style.labels.value.bold?"bold":"normal",fill:s.value.style.labels.value.color},e.toDisplayString(s.value.style.labels.value.prefix)+e.toDisplayString(isNaN(i.value)?"":Number(i.value.toFixed(s.value.style.labels.value.rounding)).toLocaleString())+e.toDisplayString(s.value.style.labels.value.suffix),9,IO))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,g)=>(e.openBlock(),e.createElementBlock("g",null,[i.valueLabel?(e.openBlock(),e.createElementBlock("text",{key:0,x:i.textAnchor,y:i.y+i.height+s.value.style.labels.valueLabel.fontSize,"font-size":s.value.style.labels.valueLabel.fontSize,"text-anchor":"middle",fill:s.value.style.labels.valueLabel.color},e.toDisplayString(i.valueLabel),9,$O)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,g)=>(e.openBlock(),e.createElementBlock("g",null,[i.timeLabel?(e.openBlock(),e.createElementBlock("text",{key:0,x:i.textAnchor,y:u.value.height-s.value.style.labels.timeLabel.fontSize/2,"font-size":s.value.style.labels.timeLabel.fontSize,fill:s.value.style.labels.timeLabel.color,"text-anchor":"middle"},e.toDisplayString(i.timeLabel),9,MO)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,g)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{height:u.value.height,width:i.unitWidth,fill:"transparent",x:i.trapX,y:0,onMouseover:w=>y.value=g,onMouseleave:v[0]||(v[0]=w=>y.value=null),stroke:y.value!==null&&y.value===g?s.value.style.selector.stroke:"","stroke-width":y.value!==null&&y.value===g?s.value.style.selector.strokeWidth:0,rx:s.value.style.selector.borderRadius,"stroke-dasharray":s.value.style.selector.strokeDasharray,onClick:()=>C(i,g)},null,40,UO)]))),256))],8,CO)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:2,config:{type:"sparkHistogram",style:{backgroundColor:s.value.style.backgroundColor,sparkHistogram:{color:"#CCCCCC"}}}},null,8,["config"]))],36))}},vg=vt(VO,[["__scopeId","data-v-7aed7086"]]),QO=Object.freeze(Object.defineProperty({__proto__:null,default:vg},Symbol.toStringTag,{value:"Module"})),TO=["id"],OO=["xmlns","viewBox"],zO=["id"],DO=["stop-color"],PO=["stop-color"],HO=["stroke","cx","cy","r","fill"],RO=["stroke","stroke-width","cx","cy","r","fill"],GO=["cx","cy","r","onMouseenter"],WO=["onClick"],KO={key:0},jO={key:1},XO=["innerHTML"],qO={__name:"vue-ui-rings",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend"],setup(t,{expose:o,emit:a}){const n=t,{vue_ui_rings:r}=ft(),l=e.ref(!1),s=e.computed(()=>!!n.dataset&&n.dataset.length),u=e.ref(it()),h=e.ref(null),f=e.ref(!1),c=e.ref(""),y=e.ref(null),C=e.ref(0),A=e.ref(null),B=e.ref(null),v=e.ref(null),i=e.computed(()=>{const Z=Je({userConfig:n.config,defaultConfig:r});return Z.theme?{...Je({userConfig:Nt.vue_ui_rings[Z.theme]||n.config,defaultConfig:Z}),customPalette:Pt[Z.theme]||Me}:Z}),g=e.ref(null);e.onMounted(()=>{if(xt(n.dataset)?Ke({componentName:"VueUiRings",type:"dataset"}):n.dataset.forEach((Z,ee)=>{Wt({datasetObject:Z,requiredAttributes:["name","values"]}).forEach(z=>{Ke({componentName:"VueUiRings",type:"datasetSerieAttribute",property:z,index:ee})})}),i.value.responsive){const Z=Bo(()=>{const{width:ee,height:z}=xo({chart:A.value,title:i.value.style.chart.title.text?B.value:null,legend:i.value.style.chart.legend.show?v.value:null});b.value.width=ee,b.value.height=z});g.value=new ResizeObserver(Z),g.value.observe(A.value.parentNode)}setTimeout(()=>{l.value=!0},600)}),e.onBeforeUnmount(()=>{g.value&&g.value.disconnect()});const{isPrinting:w,isImaging:U,generatePdf:I,generateImage:Q}=zt({elementId:`rings_${u.value}`,fileName:i.value.style.chart.title.text||"vue-ui-rings"}),K=e.computed(()=>so(i.value.customPalette)),E=e.ref({showTable:i.value.table.show,showTooltip:i.value.style.chart.tooltip.show}),b=e.ref({height:360,width:360}),T=e.computed(()=>Math.min(b.value.height,b.value.width)),Y=e.ref([]);function $(Z){Y.value.includes(Z)?Y.value=Y.value.filter(ee=>ee!==Z):Y.value.push(Z),a("selectLegend",H.value.map(ee=>({name:ee.name,color:ee.color,value:ee.value})))}const S=e.computed(()=>Math.max(...oe.value.filter(Z=>!Y.value.includes(Z.uid)).map(({value:Z})=>Z)));function W(Z){return Z/S.value}const oe=e.computed(()=>n.dataset.map(({values:Z,name:ee,color:z=null},D)=>{const fe=(Z||[]).reduce((M,N)=>M+N,0);return{name:ee,color:z||At(z)||K.value[D]||Me[D]||Me[D%Me.length],value:fe,proportion:fe/n.dataset.map(M=>(M.values||[]).reduce((N,j)=>N+j,0)).reduce((M,N)=>M+N,0),uid:it()}})),te=e.computed(()=>oe.value.map(Z=>({...Z,shape:"circle",opacity:Y.value.includes(Z.uid)?.5:1,segregate:()=>$(Z.uid),isSegregated:Y.value.includes(Z.uid)})).toSorted((Z,ee)=>ee.value-Z.value)),he=e.computed(()=>({cy:"rings-div-legend",backgroundColor:i.value.style.chart.legend.backgroundColor,color:i.value.style.chart.legend.color,fontSize:i.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:i.value.style.chart.legend.bold?"bold":""})),le=e.computed(()=>oe.value.filter(Z=>!Y.value.includes(Z.uid)).map(({value:Z})=>Z).reduce((Z,ee)=>Z+ee,0)),H=e.computed(()=>oe.value.filter(Z=>!Y.value.includes(Z.uid)).map(({name:Z,value:ee,color:z=null,uid:D},fe)=>({uid:D,name:Z,color:z||At(z)||K.value[fe]||Me[fe]||Me[fe%Me.length],value:ee,proportion:W(ee),percentage:ee/le.value*100,strokeWidth:i.value.style.chart.layout.rings.strokeWidth*W(ee)})).toSorted((Z,ee)=>ee.value-Z.value));function P(){return H.value.map(({name:Z,color:ee,value:z,absoluteValues:D,percentage:fe})=>({name:Z,color:ee,value:z,absoluteValues:D,percentage:fe}))}const X=e.computed(()=>T.value-i.value.style.chart.layout.rings.strokeWidth*2),q=e.ref(null);function m(Z,ee){if(Y.value.length===n.dataset.length)return;q.value={datapoint:ee,seriesIndex:Z,series:H.value,config:i.value},y.value=Z;const z=H.value[Z],D=i.value.style.chart.tooltip.customFormat;if(Gt(D)&&wo(()=>D({seriesIndex:Z,datapoint:ee,series:H.value,config:i.value})))c.value=D({seriesIndex:Z,datapoint:ee,series:H.value,config:i.value});else{let fe="";fe+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${i.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${z.name}</div>`,fe+=`<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${z.color}" /></svg>`,i.value.style.chart.tooltip.showValue&&(fe+=`<b>${Ge({p:i.value.style.chart.layout.labels.dataLabels.prefix,v:z.value,s:i.value.style.chart.layout.labels.dataLabels.suffix,r:i.value.style.chart.tooltip.roundingValue})}</b>`),i.value.style.chart.tooltip.showPercentage&&(i.value.style.chart.tooltip.showValue?fe+=`<span>(${(z.value/le.value*100).toFixed(i.value.style.chart.tooltip.roundingPercentage)}%)</span></div>`:fe+=`<b>${(z.value/le.value*100).toFixed(i.value.style.chart.tooltip.roundingPercentage)}%</b></div>`),c.value=fe}f.value=!0}const _=e.computed(()=>{const Z=H.value.map(z=>({name:z.name,color:z.color})),ee=H.value.map(z=>z.value);return{head:Z,body:ee}}),x=e.computed(()=>{const Z=[' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',Ge({p:i.value.style.chart.layout.labels.dataLabels.prefix,v:le.value,s:i.value.style.chart.layout.labels.dataLabels.suffix,r:i.value.table.td.roundingValue}),"100%"],ee=_.value.head.map((fe,M)=>[{color:fe.color,name:fe.name},Ge({p:i.value.style.chart.layout.labels.dataLabels.prefix,v:_.value.body[M],s:i.value.style.chart.layout.labels.dataLabels.suffix,r:i.value.table.td.roundingValue}),isNaN(_.value.body[M]/le.value)?"-":(_.value.body[M]/le.value*100).toFixed(i.value.table.td.roundingPercentage)+"%"]),z={th:{backgroundColor:i.value.table.th.backgroundColor,color:i.value.table.th.color,outline:i.value.table.th.outline},td:{backgroundColor:i.value.table.td.backgroundColor,color:i.value.table.td.color,outline:i.value.table.td.outline},breakpoint:i.value.table.responsiveBreakpoint},D=[i.value.table.columnNames.series,i.value.table.columnNames.value,i.value.table.columnNames.percentage];return{head:Z,body:ee,config:z,colNames:D}});function V(){e.nextTick(()=>{const Z=_.value.head.map((D,fe)=>[[D.name],[_.value.body[fe]],[isNaN(_.value.body[fe]/le.value)?"-":_.value.body[fe]/le.value*100]]),ee=[[i.value.style.chart.title.text],[i.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(Z),z=eo(ee);Zt({csvContent:z,title:i.value.style.chart.title.text||"vue-ui-rings"})})}const J=e.ref(!1);function ke(Z){J.value=Z,C.value+=1}function ae(){E.value.showTable=!E.value.showTable}function ge(){E.value.showTooltip=!E.value.showTooltip}return o({getData:P,generatePdf:I,generateCsv:V,generateImage:Q,toggleTable:ae,toggleTooltip:ge}),(Z,ee)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"ringsChart",ref:A,class:e.normalizeClass(`vue-ui-rings ${J.value?"vue-data-ui-wrapper-fullscreen":""} ${i.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${i.value.style.fontFamily};text-align:center;width:100%;background:${i.value.style.chart.backgroundColor};${i.value.responsive?"height: 100%":""}`),id:`rings_${u.value}`,onMouseleave:ee[3]||(ee[3]=z=>{y.value=null,f.value=!1})},[i.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:B,style:e.normalizeStyle(`width:100%;background:${i.value.style.chart.backgroundColor}`)},[e.createVNode(Xt,{config:{title:{cy:"rings-div-title",...i.value.style.chart.title},subtitle:{cy:"rings-div-subtitle",...i.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),i.value.userOptions.show&&s.value?(e.openBlock(),e.createBlock(Tt,{ref_key:"details",ref:h,key:`user_options_${C.value}`,backgroundColor:i.value.style.chart.backgroundColor,color:i.value.style.chart.color,isPrinting:e.unref(w),isImaging:e.unref(U),uid:u.value,hasTooltip:i.value.userOptions.buttons.tooltip&&i.value.style.chart.tooltip.show,hasPdf:i.value.userOptions.buttons.pdf,hasXls:i.value.userOptions.buttons.csv,hasImg:i.value.userOptions.buttons.img,hasTable:i.value.userOptions.buttons.table,hasFullscreen:i.value.userOptions.buttons.fullscreen,isTooltip:E.value.showTooltip,isFullscreen:J.value,titles:{...i.value.userOptions.buttonTitles},chartElement:A.value,onToggleFullscreen:ke,onGeneratePdf:e.unref(I),onGenerateCsv:V,onGenerateImage:e.unref(Q),onToggleTable:ae,onToggleTooltip:ge},e.createSlots({_:2},[Z.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,Z.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,Z.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,Z.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,Z.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(Z.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,Z.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:z,isFullscreen:D})=>[e.renderSlot(Z.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:z,isFullscreen:D})),void 0,!0)]),key:"5"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isTooltip","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),s.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":J.value,"vue-data-ui-fulscreen--off":!J.value}),viewBox:`0 0 ${b.value.width<=0?10:b.value.width} ${b.value.height<=0?10:b.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:${i.value.style.chart.backgroundColor};color:${i.value.style.chart.color}`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(H.value,(z,D)=>(e.openBlock(),e.createElementBlock("radialGradient",{cx:"50%",cy:"30%",r:"50%",fx:"50%",fy:"50%",id:`gradient_${u.value}_${D}`},[e.createElementVNode("stop",{offset:"0%","stop-color":`${e.unref(Lt)(z.color,.05)}${e.unref(Xe)[100-i.value.style.chart.layout.rings.gradient.intensity]}`},null,8,DO),e.createElementVNode("stop",{offset:"100%","stop-color":z.color},null,8,PO)],8,zO))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(H.value,(z,D)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("circle",{class:e.normalizeClass({"vue-ui-rings-item":l.value&&i.value.useCssAnimation,"vue-rings-item-onload":!l.value&&i.value.useCssAnimation,"vue-ui-rings-opacity":y.value!==null&&y.value!==D}),style:e.normalizeStyle(`animation-delay:${D*100}ms`),stroke:i.value.style.chart.layout.rings.stroke,cx:b.value.width/2,cy:D===0?b.value.height/2:b.value.height/2+X.value*H.value[0].proportion/2-X.value*z.proportion/2-2*(D+1),r:X.value*z.proportion/2*.9<=0?1e-4:X.value*z.proportion/2*.9,fill:i.value.style.chart.layout.rings.gradient.underlayerColor},null,14,HO),e.createElementVNode("circle",{class:e.normalizeClass({"vue-ui-rings-item":l.value&&i.value.useCssAnimation,"vue-rings-item-onload":!l.value&&i.value.useCssAnimation,"vue-ui-rings-shadow":i.value.style.chart.layout.rings.useShadow,"vue-ui-rings-blur":y.value!==null&&y.value!==D}),style:e.normalizeStyle(`animation-delay:${D*100}ms`),stroke:i.value.style.chart.layout.rings.stroke,"stroke-width":z.strokeWidth<.5?.5:z.strokeWidth,cx:b.value.width/2,cy:D===0?b.value.height/2:b.value.height/2+X.value*H.value[0].proportion/2-X.value*z.proportion/2-2*(D+1),r:X.value*z.proportion/2*.9<=0?1e-4:X.value*z.proportion/2*.9,fill:i.value.style.chart.layout.rings.gradient.show?`url(#gradient_${u.value}_${D})`:z.color},null,14,RO),e.createElementVNode("circle",{"data-cy-trap":"",stroke:"none",cx:b.value.width/2,cy:D===0?b.value.height/2:b.value.height/2+X.value*H.value[0].proportion/2-X.value*z.proportion/2-2*(D+1),r:X.value*z.proportion/2*.9<=0?1e-4:X.value*z.proportion/2*.9,fill:"transparent",onMouseenter:fe=>m(D,z),onMouseleave:ee[0]||(ee[0]=fe=>{y.value=null,f.value=!1})},null,40,GO)]))),256)),e.renderSlot(Z.$slots,"svg",{svg:b.value},void 0,!0)],14,OO)):e.createCommentVNode("",!0),s.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"rings",style:{backgroundColor:i.value.style.chart.backgroundColor,rings:{color:"#CCCCCC"}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:v},[i.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Zo,{key:0,legendSet:te.value,config:he.value,onClickMarker:ee[1]||(ee[1]=({legend:z})=>$(z.uid))},{item:e.withCtx(({legend:z})=>[e.createElementVNode("div",{"data-cy-legend-item":"",onClick:D=>$(z.uid),style:e.normalizeStyle(`opacity:${Y.value.includes(z.uid)?.5:1}`)},[e.createTextVNode(e.toDisplayString(z.name)+": "+e.toDisplayString(e.unref(Ge)({p:i.value.style.chart.layout.labels.dataLabels.prefix,v:z.value,s:i.value.style.chart.layout.labels.dataLabels.suffix,r:i.value.style.chart.legend.roundingValue}))+" ",1),Y.value.includes(z.uid)?(e.openBlock(),e.createElementBlock("span",jO," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",KO," ("+e.toDisplayString(isNaN(z.value/le.value)?"-":(z.value/le.value*100).toFixed(i.value.style.chart.legend.roundingPercentage))+"%) ",1))],12,WO)]),_:1},8,["legendSet","config"])):e.renderSlot(Z.$slots,"legend",{key:1,legend:te.value},void 0,!0)],512),e.createVNode(Oo,{show:E.value.showTooltip&&f.value&&Y.value.length<n.dataset.length,backgroundColor:i.value.style.chart.tooltip.backgroundColor,color:i.value.style.chart.tooltip.color,borderRadius:i.value.style.chart.tooltip.borderRadius,borderColor:i.value.style.chart.tooltip.borderColor,borderWidth:i.value.style.chart.tooltip.borderWidth,fontSize:i.value.style.chart.tooltip.fontSize,backgroundOpacity:i.value.style.chart.tooltip.backgroundOpacity,parent:A.value,content:c.value,isCustom:i.value.style.chart.tooltip.customFormat&&typeof i.value.style.chart.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(Z.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...q.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(Z.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...q.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","parent","content","isCustom"]),s.value?(e.openBlock(),e.createBlock(lo,{key:4,hideDetails:"",config:{open:E.value.showTable,maxHeight:1e4,body:{backgroundColor:i.value.style.chart.backgroundColor,color:i.value.style.chart.color},head:{backgroundColor:i.value.style.chart.backgroundColor,color:i.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(yo,{colNames:x.value.colNames,head:x.value.head,body:x.value.body,config:x.value.config,title:`${i.value.style.chart.title.text}${i.value.style.chart.title.subtitle.text?` : ${i.value.style.chart.title.subtitle.text}`:""}`,onClose:ee[2]||(ee[2]=z=>E.value.showTable=!1)},{th:e.withCtx(({th:z})=>[e.createElementVNode("div",{innerHTML:z,style:{display:"flex","align-items":"center"}},null,8,XO)]),td:e.withCtx(({td:z})=>[e.createTextVNode(e.toDisplayString(z.name||z),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,TO))}},gg=vt(qO,[["__scopeId","data-v-c7da9220"]]),YO=Object.freeze(Object.defineProperty({__proto__:null,default:gg},Symbol.toStringTag,{value:"Module"})),JO=["id"],ZO=["xmlns","viewBox"],ez=["x1","x2","y1","y2","stroke","stroke-width","stroke-linecap"],tz=["cx","cy","r","stroke","stroke-width"],oz=["x","y","font-size","fill","font-weight"],lz={__name:"vue-ui-wheel",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t,{vue_ui_wheel:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length),l=e.ref(it()),s=e.ref(null),u=e.ref(0),h=e.ref(null),f=e.ref(null),c=e.computed(()=>{const T=Je({userConfig:a.config,defaultConfig:n});return T.theme?{...Je({userConfig:Nt.vue_ui_wheel[T.theme]||a.config,defaultConfig:T})}:T}),{isPrinting:y,isImaging:C,generatePdf:A,generateImage:B}=zt({elementId:l.value,fileName:c.value.style.chart.title.text||"vue-ui-wheel"}),v=e.ref({size:360,height:360,width:360}),i=e.ref(c.value.style.chart.layout.percentage.fontSize),g=e.computed(()=>({radius:Math.min(v.value.width,v.value.height)*.9/2,centerX:v.value.width/2,centerY:v.value.height/2}));function w(T,Y=1){return{x:g.value.centerX+g.value.radius*Math.cos(29.85+T*Math.PI/180)*Y,y:g.value.centerY+g.value.radius*Math.sin(29.85+T*Math.PI/180)*Y}}const U=e.ref(c.value.style.chart.animation.use?0:a.dataset.percentage||0);e.watch(()=>a.dataset.percentage,()=>{U.value=e.ref(c.value.style.chart.animation.use?0:a.dataset.percentage||0),Q()});const I=e.ref(null);e.onMounted(()=>{if(xt(a.dataset)&&Ke({componentName:"VueUiWheel",type:"dataset"}),Q(),c.value.responsive){const T=Bo(()=>{const{width:Y,height:$}=xo({chart:h.value,title:c.value.style.chart.title.text?f.value:null});v.value.width=Y,v.value.height=$,i.value=c.value.style.chart.layout.percentage.fontSize/360*Math.min(Y,$)});I.value=new ResizeObserver(T),I.value.observe(h.value.parentNode)}}),e.onBeforeUnmount(()=>{I.value&&I.value.disconnect()});function Q(){let T=0,Y=c.value.style.chart.animation.speed,$=.005*c.value.style.chart.animation.acceleration;function S(){U.value+=Y+T,T+=$,U.value<(a.dataset.percentage||0)?requestAnimationFrame(S):U.value=a.dataset.percentage||0}c.value.style.chart.animation.use&&(U.value=0,S())}const K=e.computed(()=>{const T=[];for(let $=0;$<100;$+=1){const S=U.value>$?c.value.style.chart.layout.wheel.ticks.activeColor:c.value.style.chart.layout.wheel.ticks.inactiveColor,{x:W,y:oe}=w(v.value.size/100*$),{x:te,y:he}=w(v.value.size/100*$,.9);T.push({x1:W,y1:oe,x2:te,y2:he,color:c.value.style.chart.layout.wheel.ticks.gradient.show?Lt(S,$/100*(c.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity/100)):S})}return T}),E=e.ref(!1);function b(T){E.value=T,u.value+=1}return o({generatePdf:A,generateImage:B}),(T,Y)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-wheel",ref_key:"wheelChart",ref:h,id:l.value,style:e.normalizeStyle(`font-family:${c.value.style.fontFamily};width:100%; text-align:center;background:${c.value.style.chart.backgroundColor};${c.value.responsive?"height:100%":""}`)},[c.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:f,style:e.normalizeStyle(`width:100%;background:${c.value.style.chart.backgroundColor};padding-bottom:12px`)},[e.createVNode(Xt,{config:{title:{cy:"wheel-title",...c.value.style.chart.title},subtitle:{cy:"wheel-subtitle",...c.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),c.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{ref_key:"details",ref:s,key:`user_options_${u.value}`,backgroundColor:c.value.style.chart.backgroundColor,color:c.value.style.chart.color,isPrinting:e.unref(y),isImaging:e.unref(C),uid:l.value,hasPdf:c.value.userOptions.buttons.pdf,hasImg:c.value.userOptions.buttons.img,hasFullscreen:c.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:E.value,titles:{...c.value.userOptions.buttonTitles},chartElement:h.value,onToggleFullscreen:b,onGeneratePdf:e.unref(A),onGenerateImage:e.unref(B)},e.createSlots({_:2},[T.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(T.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,T.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(T.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,T.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:$,isFullscreen:S})=>[e.renderSlot(T.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:$,isFullscreen:S})),void 0,!0)]),key:"2"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":E.value,"vue-data-ui-fulscreen--off":!E.value}),viewBox:`0 0 ${v.value.width<=0?10:v.value.width} ${v.value.height<=0?10:v.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(K.value,($,S)=>(e.openBlock(),e.createElementBlock("line",{x1:$.x1,x2:$.x2,y1:$.y1,y2:$.y2,stroke:$.color,"stroke-width":5/360*Math.min(v.value.width,v.value.height),"stroke-linecap":c.value.style.chart.layout.wheel.ticks.rounded?"round":"butt",class:e.normalizeClass({"vue-ui-tick-animated":c.value.style.chart.animation.use&&S<=U.value})},null,10,ez))),256)),c.value.style.chart.layout.innerCircle.show?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:g.value.centerX,cy:g.value.centerY,r:g.value.radius*.8<=0?1e-4:g.value.radius*.8,stroke:c.value.style.chart.layout.innerCircle.stroke,"stroke-width":c.value.style.chart.layout.innerCircle.strokeWidth,fill:"none"},null,8,tz)):e.createCommentVNode("",!0),c.value.style.chart.layout.percentage.show?(e.openBlock(),e.createElementBlock("text",{key:1,x:g.value.centerX,y:g.value.centerY+i.value/3,"font-size":i.value,fill:c.value.style.chart.layout.wheel.ticks.gradient.show?e.unref(Lt)(c.value.style.chart.layout.wheel.ticks.activeColor,U.value/100*(c.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity/100)):c.value.style.chart.layout.wheel.ticks.activeColor,"text-anchor":"middle","font-weight":c.value.style.chart.layout.percentage.bold?"bold":"normal",style:{"font-variant-numeric":"tabluar-nums"}},e.toDisplayString(Number(U.value.toFixed(c.value.style.chart.layout.percentage.rounding)).toLocaleString())+"% ",9,oz)):e.createCommentVNode("",!0),e.renderSlot(T.$slots,"svg",{svg:v.value},void 0,!0)],14,ZO)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"wheel",style:{backgroundColor:c.value.style.chart.backgroundColor,wheel:{color:"#CCCCCC"}}}},null,8,["config"]))],12,JO))}},pg=vt(lz,[["__scopeId","data-v-9e158d61"]]),az=Object.freeze(Object.defineProperty({__proto__:null,default:pg},Symbol.toStringTag,{value:"Module"})),rz=["id"],nz=["xmlns","viewBox"],sz={key:0},iz=["d","stroke-width","stroke"],uz={key:1},Az=["x1","y1","x2","y2","stroke-width","stroke"],cz=["x","y","font-size","fill","font-weight","text-anchor"],dz={__name:"vue-ui-tiremarks",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t,{vue_ui_tiremarks:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length),l=e.ref(it()),s=e.ref(null),u=e.ref(0),h=e.computed(()=>{const T=Je({userConfig:a.config,defaultConfig:n});return T.theme?{...Je({userConfig:Nt.vue_ui_tiremarks[T.theme]||a.config,defaultConfig:T})}:T}),{isPrinting:f,isImaging:c,generatePdf:y,generateImage:C}=zt({elementId:l.value,fileName:h.value.style.chart.title.text||"vue-ui-tiremarks"}),A=e.ref(h.value.style.chart.animation.use?0:a.dataset.percentage);e.watch(()=>a.dataset.percentage,()=>{A.value=e.ref(h.value.style.chart.animation.use?0:a.dataset.percentage),B()}),e.onMounted(()=>{xt(a.dataset)&&Ke({componentName:"VueUiTiremarks",type:"dataset"}),B()});function B(){let T=0,Y=h.value.style.chart.animation.speed,$=.005*h.value.style.chart.animation.acceleration;function S(){A.value+=Y+T,T+=$,A.value<a.dataset.percentage?requestAnimationFrame(S):A.value=a.dataset.percentage}h.value.style.chart.animation.use&&(A.value=0,S())}const v=e.computed(()=>h.value.style.chart.layout.display==="vertical"),i=e.computed(()=>{const T={top:48,left:64,right:64,bottom:48};return v.value?{top:h.value.style.chart.percentage.verticalPosition==="top"?T.top:3,left:3,right:3,bottom:h.value.style.chart.percentage.verticalPosition==="bottom"?T.bottom:3}:{top:0,bottom:0,left:h.value.style.chart.percentage.horizontalPosition==="left"?T.left:3,right:h.value.style.chart.percentage.horizontalPosition==="right"?T.right:10}}),g=e.computed(()=>Object.values(i.value).reduce((T,Y)=>T+Y,0)),w=e.computed(()=>({height:v.value?312:56,width:v.value?56:312})),U=e.ref(100);e.computed(()=>a.dataset.percentage/U.value);const I=e.computed(()=>v.value?{mark:(w.value.height-g.value)/100*.5,space:(w.value.height-g.value)/100*.5}:{mark:(w.value.width-g.value)/100*.5,space:(w.value.width-g.value)/100*.5}),Q=e.computed(()=>{const T=[];for(let $=0;$<100;$+=1){const S=h.value.style.chart.layout.ticks.gradient.show?Lt(h.value.style.chart.layout.activeColor,$/100*(h.value.style.chart.layout.ticks.gradient.shiftHueIntensity/100)):h.value.style.chart.layout.activeColor;if(v.value){const W=h.value.style.chart.layout.crescendo?(100-$)*(w.value.width-i.value.left-i.value.right)/100/3:0,oe=i.value.left+4+W,te=w.value.width-i.value.right-4-W,he=w.value.height-i.value.bottom-$*I.value.mark-$*I.value.space-I.value.mark,le=w.value.height-i.value.bottom-$*I.value.mark-$*I.value.space-I.value.mark,H=(te-oe)/h.value.style.chart.layout.curveAngleX,P=h.value.style.chart.layout.curveAngleY*((1+$)/100);T.push({x1:oe,x2:te,y1:he,y2:le,curve:`M ${oe} ${he} C ${oe+H} ${he-P}, ${te-H} ${le-P}, ${te} ${le}`,color:S})}else{const W=h.value.style.chart.layout.crescendo?(100-$)*(w.value.height-i.value.top-i.value.bottom)/100/3:0,oe=i.value.left+$*I.value.mark+$*I.value.space-I.value.mark,te=oe,he=i.value.top+4+W,le=w.value.height-i.value.bottom-4-W,H=h.value.style.chart.layout.curveAngleY*((1+$)/100),P=(le-he)/h.value.style.chart.layout.curveAngleX;T.push({x1:oe,x2:te,y1:he,y2:le,curve:`M ${oe} ${he} C ${oe+H} ${he+P}, ${te+H} ${le-P}, ${te} ${le}`,color:S})}}return T}),K=e.computed(()=>{let T,Y,$;const S=h.value.style.chart.percentage.fontSize/3;return v.value?h.value.style.chart.percentage.verticalPosition==="top"?(T=w.value.width/2,Y=i.value.top/2,$="middle"):h.value.style.chart.percentage.verticalPosition==="bottom"&&(T=w.value.width/2,Y=w.value.height-i.value.bottom/2+S,$="middle"):h.value.style.chart.percentage.horizontalPosition==="left"?(T=4,Y=w.value.height/2+S,$="start"):h.value.style.chart.percentage.horizontalPosition==="right"&&(T=w.value.width-i.value.right+8,Y=w.value.height/2+S,$="start"),{x:T,y:Y,textAnchor:$,bold:h.value.style.chart.percentage.bold,fontSize:h.value.style.chart.percentage.fontSize,fill:h.value.style.chart.percentage.color}}),E=e.ref(!1);function b(T){E.value=T,u.value+=1}return o({generatePdf:y,generateImage:C}),(T,Y)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tiremarksChart",ref:s,class:e.normalizeClass(`vue-ui-tiremarks ${h.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${h.value.style.fontFamily};width:100%; text-align:center;${h.value.style.chart.title.text?"":"padding-top:36px"};background:${h.value.style.chart.backgroundColor}`),id:l.value},[h.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:100%;background:${h.value.style.chart.backgroundColor};padding-bottom:12px`)},[e.createVNode(Xt,{config:{title:{cy:"wheel-title",...h.value.style.chart.title},subtitle:{cy:"wheel-subtitle",...h.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),h.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_options_${u.value}`,backgroundColor:h.value.style.chart.backgroundColor,color:h.value.style.chart.color,isPrinting:e.unref(f),isImaging:e.unref(c),uid:l.value,hasPdf:h.value.userOptions.buttons.pdf,hasImg:h.value.userOptions.buttons.img,hasFullscreen:h.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:E.value,titles:{...h.value.userOptions.buttonTitles},chartElement:s.value,onToggleFullscreen:b,onGeneratePdf:e.unref(y),onGenerateImage:e.unref(C)},e.createSlots({_:2},[T.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(T.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,T.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(T.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,T.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:$,isFullscreen:S})=>[e.renderSlot(T.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:$,isFullscreen:S})),void 0,!0)]),key:"2"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":E.value,"vue-data-ui-fulscreen--off":!E.value}),viewBox:`0 0 ${w.value.width} ${w.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:${h.value.style.chart.backgroundColor};color:${h.value.style.chart.color}`)},[h.value.style.chart.layout.curved?(e.openBlock(),e.createElementBlock("g",sz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Q.value,($,S)=>(e.openBlock(),e.createElementBlock("path",{d:$.curve,"stroke-width":I.value.mark,stroke:A.value>=S?$.color:h.value.style.chart.layout.inactiveColor,"stroke-linecap":"round",fill:"none",class:e.normalizeClass({"vue-ui-tick-animated":h.value.style.chart.animation.use&&S<=A.value})},null,10,iz))),256))])):(e.openBlock(),e.createElementBlock("g",uz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Q.value,($,S)=>(e.openBlock(),e.createElementBlock("line",{x1:$.x1,y1:$.y1,x2:$.x2,y2:$.y2,"stroke-width":I.value.mark,stroke:A.value>=S?$.color:h.value.style.chart.layout.inactiveColor,"stroke-linecap":"round"},null,8,Az))),256))])),h.value.style.chart.percentage.show?(e.openBlock(),e.createElementBlock("text",{key:2,x:K.value.x,y:K.value.y,"font-size":K.value.fontSize,fill:h.value.style.chart.layout.ticks.gradient.show&&h.value.style.chart.percentage.useGradientColor?e.unref(Lt)(h.value.style.chart.layout.activeColor,A.value/100*(h.value.style.chart.layout.ticks.gradient.shiftHueIntensity/100)):h.value.style.chart.percentage.color,"font-weight":K.value.bold?"bold":"normal","text-anchor":K.value.textAnchor},e.toDisplayString(A.value.toFixed(h.value.style.chart.percentage.rounding)+"%"),9,cz)):e.createCommentVNode("",!0),e.renderSlot(T.$slots,"svg",{svg:w.value},void 0,!0)],14,nz)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"tiremarks",style:{backgroundColor:h.value.style.chart.backgroundColor,tiremarks:{color:"#CCCCCC"}}}},null,8,["config"]))],14,rz))}},yg=vt(dz,[["__scopeId","data-v-1bbd1baf"]]),hz=Object.freeze(Object.defineProperty({__proto__:null,default:yg},Symbol.toStringTag,{value:"Module"})),fz=["id"],vz=["xmlns","viewBox"],gz=["id"],pz=["stop-color"],yz=["stop-color"],mz=["id"],bz=["stop-color"],kz=["stop-color"],Cz=["stop-color"],wz={key:0},Bz=["x1","x2","y1","y2","stroke","stroke-width"],xz=["x1","x2","y1","y2","stroke","stroke-width"],Fz={key:0},Nz=["x1","x2","y1","y2","stroke","stroke-width"],_z=["x1","x2","y1","y2","stroke","stroke-width"],Sz=["x","y","font-size","fill","font-weight"],Lz=["text-anchor","font-size","fill","transform"],Ez=["x1","y1","x2","y2","stroke","stroke-width"],Iz={key:1},$z=["cx","cy","r","fill"],Mz={key:0},Uz={key:0},Vz=["d","stroke"],Qz=["text-anchor","x","y","fill"],Tz=["cx","cy","r","fill"],Oz={key:0},zz=["cx","cy","fill"],Dz={key:1},Pz=["d","fill","stroke"],Hz={key:2},Rz=["d","fill","stroke"],Gz=["x","y","font-size","fill"],Wz=["x","y","width","fill","onClick"],Kz=["x","y","width","height","onMouseenter","onClick"],jz={key:3,"data-cy-zoom":"",class:"vue-ui-donut-evolution-dialog"},Xz=["x","y","width","height","fill"],qz=["x1","y1","x2","y2","stroke"],Yz=["x1","y2","x2","y1","stroke"],Jz=["onKeypress","cx","cy","r"],Zz=["d","stroke"],eD=["cx","cy","r","fill"],tD=["d","fill","stroke"],oD={class:"vue-ui-donut-evolution-focus"},lD=["text-anchor","x","y","fill"],aD=["cx","cy","r","fill"],rD=["cx","cy","r","fill"],nD=["x","y","fill"],sD=["x","y","font-size","fill"],iD=["onClick"],uD={key:0},AD={key:1},cD={key:0},dD={key:1},hD={__name:"vue-ui-donut-evolution",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend"],setup(t,{expose:o,emit:a}){const n=t,{vue_ui_donut_evolution:r}=ft(),l=e.computed(()=>!!n.dataset&&n.dataset.length),s=e.ref({start:0,end:Math.max(...n.dataset.map(N=>N.values.length))});function u(){s.value={start:0,end:S.value},i.value+=1}e.onMounted(()=>{xt(n.dataset)?Ke({componentName:"VueUiDonutEvolution",type:"dataset"}):n.dataset.length&&n.dataset.forEach((N,j)=>{Wt({datasetObject:N,requiredAttributes:["name","values"]}).forEach(O=>{Ke({componentName:"VueUiDonutEvolution",type:"datasetSerieAttribute",property:O,index:j})})})});const h=e.ref(it()),f=e.ref([]),c=e.ref(null),y=e.ref(null),C=e.ref(!1),A=e.ref(null),B=e.ref(null),v=e.ref(0),i=e.ref(0),g=e.computed(()=>{const N=Je({userConfig:n.config,defaultConfig:r});return N.theme?{...Je({userConfig:Nt.vue_ui_donut_evolution[N.theme]||n.config,defaultConfig:N}),customPalette:Pt[N.theme]||Me}:N}),{isPrinting:w,isImaging:U,generatePdf:I,generateImage:Q}=zt({elementId:h.value,fileName:g.value.style.chart.title.text||"vue-ui-donut-evolution"}),K=e.computed(()=>so(g.value.customPalette)),E=e.ref({showTable:g.value.table.show}),b=e.computed(()=>({top:g.value.style.chart.layout.padding.top,right:g.value.style.chart.layout.padding.right,bottom:g.value.style.chart.layout.padding.bottom,left:g.value.style.chart.layout.padding.left})),T=e.computed(()=>{const N=g.value.style.chart.layout.height,j=g.value.style.chart.layout.width,O=N-b.value.top-b.value.bottom,ce=j-b.value.left-b.value.right;return{absoluteHeight:N,absoluteWidth:j,centerX:b.value.left+ce/2,centerY:b.value.top+O/2,height:O,width:ce}}),Y=e.computed(()=>(n.dataset.forEach((N,j)=>{[null,void 0].includes(N.name)&&Ke({componentName:"VueUiDonutEvolution",type:"datasetSerieAttribute",property:"name",index:j}),[null,void 0].includes(N.values)&&Ke({componentName:"VueUiDonutEvolution",type:"datasetSerieAttribute",property:"values",index:j})}),n.dataset.map((N,j)=>({...N,values:N.values||[],color:At(N.color)||K.value[j]||Me[j]||Me[j%Me.length],length:(N.values||[]).length,uid:it()})))),$=e.computed(()=>Y.value.filter(N=>!f.value.includes(N.uid)).map(N=>({...N,values:N.values.filter((j,O)=>O>=s.value.start&&O<=s.value.end)}))),S=e.computed(()=>Math.max(...$.value.map(N=>N.length))),W=e.computed(()=>T.value.width/(s.value.end-s.value.start)),oe=e.computed(()=>{const N=[];for(let re=0;re<s.value.end-s.value.start;re+=1){const ie=$.value.map(ve=>ve.values[re]??null),G=ie.filter(ve=>[void 0,null].includes(ve)).length===ie.length,ne=ie.reduce((ve,Ce)=>ve+Ce,0),Ae=ie.map(ve=>ve/ne),se=b.value.left+W.value*re+W.value/2;N.push({index:re,percentages:Ae,subtotal:G||ne<0?null:ne,values:ie,x:se})}const j=0,O=Math.max(...N.map(re=>re.subtotal)),ce=N.length===1?O*2:O;return N.map((re,ie)=>{const G=W.value/2*.7,ne=G>T.value.width/16?T.value.width/16:G,Ae=c.value===re.index?T.value.width/16:ne,se=N.length>4?G*2:G*2>W.value/2*.7?W.value/2*.7:G*2,ve=T.value.absoluteHeight-b.value.bottom-T.value.height*re.subtotal/Pl(j,ce,g.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;return{...re,y:ve,radius:ne,activeRadius:Ae,hoverRadius:se,donut:kl({series:$.value.map((Ce,Ue)=>({color:Ce.color,name:Ce.name,value:Ce.values[ie]??0}))},re.x,ve,ne,ne,1.99999,2,1,360,105.25,ne/2),donutHover:kl({series:$.value.map((Ce,Ue)=>({color:Ce.color,name:Ce.name,value:Ce.values[ie]??0}))},re.x,ve,se,se,1.99999,2,1,360,105.25,se/2),donutFocus:kl({series:$.value.map((Ce,Ue)=>({color:Ce.color,name:Ce.name,value:Ce.values[ie]??0}))},T.value.centerX,T.value.centerY,T.value.height/3.6,T.value.height/3.6,1.99999,2,1,360,105.25,T.value.height/6)}})});function te(N){return`${g.value.style.chart.layout.dataLabels.prefix}${isNaN(N)?"-":Number(N.toFixed(g.value.style.chart.layout.dataLabels.rounding)).toLocaleString()}${g.value.style.chart.layout.dataLabels.suffix}`}const he=e.computed(()=>({max:Math.max(...oe.value.map(N=>N.subtotal)),min:0})),le=e.computed(()=>{const N=oe.value.length===1?he.value.max*2:he.value.max;return Pl(he.value.min,N,g.value.style.chart.layout.grid.yAxis.dataLabels.steps)});function H(N){return N/le.value.max}const P=e.computed(()=>le.value.ticks.map(N=>({y:T.value.absoluteHeight-b.value.bottom-T.value.height*H(N),value:N})));function X(N,j){return isNaN(N.value/Af(j,"value"))?0:(N.value/Af(j,"value")*100).toFixed(0)+"%"}function q(){C.value||(c.value=null,y.value=null)}function m(N){C.value||(c.value=N.index,y.value=N)}const _=e.ref(null);function x(N,j){N.subtotal&&(y.value=null,c.value=null,C.value=!0,A.value=N,[null,void 0].includes(j)||(_.value=j))}function V(){A.value=null,C.value=!1,_.value=null}const J=e.computed(()=>Y.value.map((N,j)=>({name:N.name,value:N.values.slice(s.value.start,s.value.end).reduce((O,ce)=>O+ce,0),shape:"circle",uid:N.uid,color:N.color})).sort((N,j)=>j.value-N.value).map(N=>({...N,opacity:f.value.includes(N.uid)?.5:1,segregate:()=>ge(N.uid),isSegregated:f.value.includes(N.uid)}))),ke=e.computed(()=>oe.value.map(N=>N.subtotal).reduce((N,j)=>N+j,0)),ae=e.computed(()=>({cy:"donut-div-legend",backgroundColor:g.value.style.chart.legend.backgroundColor,color:g.value.style.chart.legend.color,fontSize:g.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:g.value.style.chart.legend.bold?"bold":""}));function ge(N){if(f.value.includes(N))f.value=f.value.filter(j=>j!==N),a("selectLegend",null);else{if(f.value.length===Y.value.length-1)return;f.value.push(N),a("selectLegend",Y.value.find(j=>j.uid===N))}A.value&&x(oe.value.find((j,O)=>O===_.value))}const Z=e.computed(()=>{const N=[""].concat(Y.value.filter(re=>!f.value.includes(re.uid)).map(re=>({name:re.name,color:re.color}))).concat(["Σ"]);let j=[];for(let re=0;re<S.value;re+=1){const ie=Y.value.filter(G=>!f.value.includes(G.uid)).map(G=>G.values[re]??0).reduce((G,ne)=>G+ne,0);j.push([g.value.style.chart.layout.grid.xAxis.dataLabels.values[re]??"-"].concat(Y.value.filter(G=>!f.value.includes(G.uid)).map(G=>({value:G.values[re]??0,percentage:G.values[re]?G.values[re]/ie*100:0}))).concat([`${g.value.style.chart.layout.dataLabels.prefix}${Number(ie.toFixed(g.value.table.td.roundingValue))}${g.value.style.chart.layout.dataLabels.suffix}`]))}const O={th:{backgroundColor:g.value.table.th.backgroundColor,color:g.value.table.th.color,outline:g.value.table.th.outline},td:{backgroundColor:g.value.table.td.backgroundColor,color:g.value.table.td.color,outline:g.value.table.td.outline},breakpoint:g.value.table.responsiveBreakpoint},ce=[g.value.table.columnNames.period].concat(Y.value.filter(re=>!f.value.includes(re.uid)).map(re=>re.name)).concat(g.value.table.columnNames.total);return{head:N,body:j,config:O,colNames:ce}});function ee(){return Y.value}function z(){e.nextTick(()=>{const N=[[g.value.style.chart.title.text],[g.value.style.chart.title.subtitle.text],[""]],j=[...Z.value.head.map(ie=>ie.name??ie)],O=[...Z.value.body.map(ie=>ie.map(G=>G.value??G))],ce=N.concat([j]).concat(O),re=eo(ce);Zt({csvContent:re,title:g.value.style.chart.title.text||"vue-ui-donut-evolution"})})}const D=e.ref(!1);function fe(N){D.value=N,v.value+=1}function M(){E.value.showTable=!E.value.showTable}return o({getData:ee,generatePdf:I,generateCsv:z,generateImage:Q,toggleTable:M}),(N,j)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"donutEvolutionChart",ref:B,class:e.normalizeClass(`vue-ui-donut-evolution ${D.value?"vue-data-ui-wrapper-fullscreen":""} ${g.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${g.value.style.fontFamily};width:100%; text-align:center;${g.value.style.chart.title.text?"":"padding-top:36px"};background:${g.value.style.chart.backgroundColor}`),id:h.value},[g.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:100%;background:${g.value.style.chart.backgroundColor};padding-bottom:24px`),onMouseleave:q},[e.createVNode(Xt,{config:{title:{cy:"donut-evolution-div-title",...g.value.style.chart.title},subtitle:{cy:"donut-evolution-div-subtitle",...g.value.style.chart.title.subtitle}}},null,8,["config"])],36)):e.createCommentVNode("",!0),g.value.userOptions.show&&l.value?(e.openBlock(),e.createBlock(Tt,{ref:"details",key:`user_options_${v.value}`,backgroundColor:g.value.style.chart.backgroundColor,color:g.value.style.chart.color,isPrinting:e.unref(w),isImaging:e.unref(U),uid:h.value,hasPdf:g.value.userOptions.buttons.pdf,hasImg:g.value.userOptions.buttons.img,hasXls:g.value.userOptions.buttons.csv,hasTable:g.value.userOptions.buttons.table,hasFullscreen:g.value.userOptions.buttons.fullscreen,isFullscreen:D.value,titles:{...g.value.userOptions.buttonTitles},chartElement:B.value,onToggleFullscreen:fe,onGeneratePdf:e.unref(I),onGenerateCsv:z,onGenerateImage:e.unref(Q),onToggleTable:M},e.createSlots({_:2},[N.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(N.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,N.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(N.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,N.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(N.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,N.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(N.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,N.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:O,isFullscreen:ce})=>[e.renderSlot(N.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:O,isFullscreen:ce})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasXls","hasTable","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),l.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),class:e.normalizeClass({"vue-data-ui-fullscreen--on":D.value,"vue-data-ui-fulscreen--off":!D.value}),viewBox:`0 0 ${T.value.absoluteWidth} ${T.value.absoluteHeight}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:${g.value.style.chart.backgroundColor};color:${g.value.style.chart.color}`)},[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`hover_${h.value}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${g.value.style.chart.backgroundColor}${e.unref(Xe)[g.value.style.chart.layout.highlighter.opacity]}`},null,8,pz),e.createElementVNode("stop",{offset:"100%","stop-color":`${g.value.style.chart.layout.highlighter.color}${e.unref(Xe)[g.value.style.chart.layout.highlighter.opacity]}`},null,8,yz)],8,gz),e.createElementVNode("radialGradient",{id:`focus_${h.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":`${e.unref(At)(g.value.style.chart.backgroundColor)}00`},null,8,bz),e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF"+e.unref(Xe)[30]},null,8,kz),e.createElementVNode("stop",{offset:"100%","stop-color":`${e.unref(At)(g.value.style.chart.backgroundColor)}00`},null,8,Cz)],8,mz)]),g.value.style.chart.layout.grid.show?(e.openBlock(),e.createElementBlock("g",wz,[e.createElementVNode("line",{x1:b.value.left,x2:b.value.left,y1:b.value.top,y2:b.value.top+T.value.height,stroke:g.value.style.chart.layout.grid.stroke,"stroke-width":g.value.style.chart.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Bz),e.createElementVNode("line",{x1:b.value.left,x2:T.value.absoluteWidth-b.value.right,y1:T.value.absoluteHeight-b.value.bottom,y2:T.value.absoluteHeight-b.value.bottom,stroke:g.value.style.chart.layout.grid.stroke,"stroke-width":g.value.style.chart.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,xz),g.value.style.chart.layout.grid.showVerticalLines?(e.openBlock(),e.createElementBlock("g",Fz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.end-s.value.start,(O,ce)=>(e.openBlock(),e.createElementBlock("line",{x1:b.value.left+(ce+1)*W.value,x2:b.value.left+(ce+1)*W.value,y1:b.value.top,y2:T.value.absoluteHeight-b.value.bottom,stroke:g.value.style.chart.layout.grid.stroke,"stroke-width":g.value.style.chart.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Nz))),256))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),g.value.style.chart.layout.grid.yAxis.dataLabels.show?(e.openBlock(),e.createElementBlock("g",{key:1,class:e.normalizeClass({"donut-opacity":!0,"donut-behind":c.value!==null||C.value})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(P.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",null,[O.value>=le.value.min&&O.value<=le.value.max?(e.openBlock(),e.createElementBlock("line",{key:0,x1:b.value.left,x2:b.value.left-5,y1:O.y,y2:O.y,stroke:g.value.style.chart.layout.grid.stroke,"stroke-width":g.value.style.chart.layout.grid.strokeWidth},null,8,_z)):e.createCommentVNode("",!0),O.value>=le.value.min&&O.value<=le.value.max?(e.openBlock(),e.createElementBlock("text",{key:1,x:b.value.left-8+g.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,y:O.y+g.value.style.chart.layout.grid.yAxis.dataLabels.fontSize/3,"font-size":g.value.style.chart.layout.grid.yAxis.dataLabels.fontSize,"text-anchor":"end",fill:g.value.style.chart.layout.grid.yAxis.dataLabels.color,"font-weight":g.value.style.chart.layout.grid.yAxis.dataLabels.bold?"bold":"normal"},e.toDisplayString(g.value.style.chart.layout.dataLabels.prefix)+" "+e.toDisplayString(e.unref(Pv)(O.value)?O.value.toFixed(g.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue):"")+" "+e.toDisplayString(g.value.style.chart.layout.dataLabels.suffix),9,Sz)):e.createCommentVNode("",!0)]))),256))],2)):e.createCommentVNode("",!0),g.value.style.chart.layout.grid.xAxis.dataLabels.show?(e.openBlock(),e.createElementBlock("g",{key:2,class:e.normalizeClass({"donut-opacity":!0,"donut-behind":C.value})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.end-s.value.start,(O,ce)=>(e.openBlock(),e.createElementBlock("g",null,[g.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast&&(ce===0||ce===S.value-1)||!g.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":g.value.style.chart.layout.grid.xAxis.dataLabels.rotation>0?"start":g.value.style.chart.layout.grid.xAxis.dataLabels.rotation<0?"end":"middle","font-size":g.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,fill:g.value.style.chart.layout.grid.xAxis.dataLabels.color,transform:`translate(${b.value.left+W.value*ce+W.value/2}, ${g.value.style.chart.layout.grid.xAxis.dataLabels.offsetY+T.value.absoluteHeight-b.value.bottom+g.value.style.chart.layout.grid.xAxis.dataLabels.fontSize*2}), rotate(${g.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`},e.toDisplayString(g.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(ce)+Number(s.value.start)]??""),9,Lz)):e.createCommentVNode("",!0)]))),256))],2)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(oe.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",null,[g.value.style.chart.layout.line.show&&ce<oe.value.length-1&&![O.subtotal,oe.value[ce+1].subtotal].includes(null)?(e.openBlock(),e.createElementBlock("line",{key:0,class:e.normalizeClass({"donut-opacity":!0,"donut-behind":c.value!==null||C.value}),x1:O.x,y1:O.y,x2:oe.value[ce+1].x,y2:oe.value[ce+1].y,stroke:g.value.style.chart.layout.line.stroke,"stroke-width":g.value.style.chart.layout.line.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,10,Ez)):e.createCommentVNode("",!0),O.subtotal!==null?(e.openBlock(),e.createElementBlock("g",Iz,[O.subtotal?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:O.x,cy:O.y,r:O.activeRadius,fill:g.value.style.chart.backgroundColor},null,8,$z)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(oe.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",{class:e.normalizeClass({"donut-opacity":!0,"donut-behind":ce!==c.value&&c.value!==null||C.value})},[O.subtotal?(e.openBlock(),e.createElementBlock("g",Mz,[c.value!==null&&c.value===ce?(e.openBlock(),e.createElementBlock("g",Uz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.donutHover,re=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("path",{d:e.unref(Qr)(re,{x:re.center.endX,y:re.center.endY},12,12,{x:O.x,y:O.y},!0),stroke:re.color,"stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,Vz)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.donutHover,(re,ie)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("text",{"data-cy-hover-label":"","text-anchor":e.unref(ct)(re,!0,0).anchor,x:e.unref(ct)(re,!0,3).x,y:e.unref(co)(re),fill:g.value.style.chart.layout.grid.yAxis.dataLabels.color,"font-size":8,"font-weight":"bold"},e.toDisplayString(re.name)+": "+e.toDisplayString(X(re,O.donut))+" ("+e.toDisplayString(re.value===null?"-":te(re.value))+") ",9,Qz)]))),256)),e.createElementVNode("g",null,[e.createElementVNode("circle",{cx:O.x,cy:O.y,r:O.hoverRadius,fill:g.value.style.chart.backgroundColor},null,8,Tz)])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(oe.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",{class:e.normalizeClass({"donut-opacity":!0,"donut-behind":ce!==c.value&&c.value!==null||C.value})},[O.subtotal!==null?(e.openBlock(),e.createElementBlock("g",Oz,[O.subtotal===0?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:O.x,cy:O.y,r:3,fill:g.value.style.chart.color},null,8,zz)):c.value!==null&&c.value===ce?(e.openBlock(),e.createElementBlock("g",Dz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.donutHover,(re,ie)=>(e.openBlock(),e.createElementBlock("path",{d:re.arcSlice,fill:`${re.color}`,"stroke-width":1,stroke:g.value.style.chart.backgroundColor},null,8,Pz))),256))])):(e.openBlock(),e.createElementBlock("g",Hz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.donut,(re,ie)=>(e.openBlock(),e.createElementBlock("path",{d:re.arcSlice,fill:`${re.color}`,"stroke-width":.5,stroke:g.value.style.chart.backgroundColor},null,8,Rz))),256))]))])):e.createCommentVNode("",!0)],2))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(oe.value,(O,ce)=>(e.openBlock(),e.createElementBlock("g",{class:e.normalizeClass({"donut-opacity":!0,"donut-behind":ce!==c.value&&c.value!==null||C.value})},[O.subtotal!==null&&g.value.style.chart.layout.dataLabels.show?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":"middle",x:O.x,y:c.value===O.index&&O.subtotal?O.y+g.value.style.chart.layout.dataLabels.fontSize/3:O.y-O.radius-g.value.style.chart.layout.dataLabels.fontSize+g.value.style.chart.layout.dataLabels.offsetY,"font-size":g.value.style.chart.layout.dataLabels.fontSize,"font-weight":"bold",fill:g.value.style.chart.layout.dataLabels.color},e.toDisplayString(te(O.subtotal)),9,Gz)):e.createCommentVNode("",!0)],2))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(oe.value,(O,ce)=>(e.openBlock(),e.createElementBlock("rect",{x:b.value.left+ce*W.value,y:T.value.absoluteHeight-b.value.bottom-10,width:W.value,height:10,fill:c.value===O.index?`url(#hover_${h.value})`:"transparent",onClick:re=>x(O,ce),class:e.normalizeClass({"donut-hover":c.value===O.index&&O.subtotal})},null,10,Wz))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(oe.value,(O,ce)=>(e.openBlock(),e.createElementBlock("rect",{"data-cy-trap":"",x:b.value.left+ce*W.value,y:b.value.top,width:W.value,height:T.value.height,fill:"transparent",onMouseenter:re=>m(O),onMouseleave:q,onClick:re=>x(O,ce),class:e.normalizeClass({"donut-hover":c.value===O.index&&O.subtotal})},null,42,Kz))),256)),C.value?(e.openBlock(),e.createElementBlock("g",jz,[e.createElementVNode("rect",{rx:4,x:b.value.left,y:b.value.top,width:T.value.width,height:T.value.height,fill:g.value.style.chart.backgroundColor,style:{filter:"drop-shadow(0 12px 12px rgba(0,0,0,0.3))"}},null,8,Xz),e.createElementVNode("line",{"data-html2canvas-ignore":"",x1:T.value.absoluteWidth-b.value.right-15,y1:b.value.top+5,x2:T.value.absoluteWidth-b.value.right-4,y2:b.value.top+15.5,"stroke-linecap":"round",stroke:g.value.style.chart.color,"stroke-width":"1.5"},null,8,qz),e.createElementVNode("line",{"data-html2canvas-ignore":"",x1:T.value.absoluteWidth-b.value.right-15,y2:b.value.top+5,x2:T.value.absoluteWidth-b.value.right-4,y1:b.value.top+15.5,"stroke-linecap":"round",stroke:g.value.style.chart.color,"stroke-width":"1.5"},null,8,Yz),e.createElementVNode("circle",{"data-cy-close":"",onClick:V,onKeypress:e.withKeys(V,["enter"]),cx:T.value.absoluteWidth-b.value.right-T.value.width/40,cy:b.value.top+T.value.height/30,r:T.value.height/12,fill:"transparent",style:{cursor:"pointer"},tabindex:"0"},null,40,Jz),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value.donutFocus,O=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("path",{"data-cy-zoom-donut":"",d:e.unref(Qr)(O,{x:T.value.centerX,y:T.value.centerY},12,12,!1,!1,1),stroke:O.color,"stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",fill:"none",class:"vue-ui-donut-evolution-focus"},null,8,Zz)]))),256)),e.createElementVNode("circle",{cx:b.value.left+T.value.width/2,cy:b.value.top+T.value.height/2,r:T.value.height/7,fill:g.value.style.chart.backgroundColor},null,8,eD),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value.donutFocus,(O,ce)=>(e.openBlock(),e.createElementBlock("path",{d:O.arcSlice,fill:`${O.color}`,"stroke-width":1,stroke:g.value.style.chart.backgroundColor,class:"vue-ui-donut-evolution-focus"},null,8,tD))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value.donutFocus,(O,ce)=>(e.openBlock(),e.createElementBlock("g",oD,[e.createElementVNode("text",{"text-anchor":e.unref(ct)(O,!0,20).anchor,x:e.unref(ct)(O,!0,10).x,y:e.unref(co)(O),fill:g.value.style.chart.layout.grid.yAxis.dataLabels.color,"font-size":10,"font-weight":"bold"},e.toDisplayString(O.name)+": "+e.toDisplayString(X(O,A.value.donutFocus))+" ("+e.toDisplayString(O.value===null?"-":te(O.value))+") ",9,lD)]))),256)),e.createElementVNode("circle",{cx:b.value.left+T.value.width/2,cy:b.value.top+T.value.height/2,r:T.value.height/3.8,fill:`url(#focus_${h.value})`},null,8,aD),e.createElementVNode("circle",{cx:b.value.left+T.value.width/2,cy:b.value.top+T.value.height/2,r:T.value.height/7.7,fill:g.value.style.chart.backgroundColor},null,8,rD),e.createElementVNode("text",{"text-anchor":"middle",x:b.value.left+T.value.width/2,y:b.value.top+T.value.height/2+14/3,"font-size":14,"font-weight":"bold",fill:g.value.style.chart.layout.dataLabels.color,class:"vue-ui-donut-evolution-focus"},e.toDisplayString(te(A.value.subtotal)),9,nD),g.value.style.chart.layout.grid.xAxis.dataLabels.values[A.value.index]?(e.openBlock(),e.createElementBlock("text",{key:0,x:b.value.left+6,y:b.value.top+g.value.style.chart.layout.grid.xAxis.dataLabels.fontSize*2,"font-size":g.value.style.chart.layout.grid.xAxis.dataLabels.fontSize*1.6,fill:g.value.style.chart.layout.dataLabels.color},e.toDisplayString(g.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(A.value.index)+Number(s.value.start)]),9,sD)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(N.$slots,"svg",{svg:T.value},void 0,!0)],14,vz)):e.createCommentVNode("",!0),l.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"donutEvolution",style:{backgroundColor:g.value.style.chart.backgroundColor,donutEvolution:{axis:{color:"#CCCCCC"},donuts:{color:"#CCCCCC"}}}}},null,8,["config"])),S.value>1&&g.value.style.chart.zoom.show?(e.openBlock(),e.createBlock(Hs,{key:`slicer_${i.value}`,background:g.value.style.chart.zoom.color,borderColor:g.value.style.chart.backgroundColor,fontSize:g.value.style.chart.zoom.fontSize,useResetSlot:g.value.style.chart.zoom.useResetSlot,labelLeft:g.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(s.value.start)]||"",labelRight:g.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(s.value.end)-1]||"",textColor:g.value.style.chart.color,inputColor:g.value.style.chart.zoom.color,selectColor:g.value.style.chart.zoom.highlightColor,max:S.value,min:0,valueStart:s.value.start,valueEnd:s.value.end,start:s.value.start,"onUpdate:start":j[0]||(j[0]=O=>s.value.start=O),end:s.value.end,"onUpdate:end":j[1]||(j[1]=O=>s.value.end=O),onReset:u},{"reset-action":e.withCtx(({reset:O})=>[e.renderSlot(N.$slots,"reset-action",e.normalizeProps(e.guardReactiveProps({reset:O})),void 0,!0)]),_:3},8,["background","borderColor","fontSize","useResetSlot","labelLeft","labelRight","textColor","inputColor","selectColor","max","valueStart","valueEnd","start","end"])):e.createCommentVNode("",!0),g.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Zo,{key:5,legendSet:J.value,config:ae.value,onClickMarker:j[2]||(j[2]=({legend:O})=>ge(O.uid))},{item:e.withCtx(({legend:O,index:ce})=>[e.createElementVNode("div",{"data-cy-legend-item":"",onClick:re=>ge(O.uid),style:e.normalizeStyle(`opacity:${f.value.includes(O.uid)?.5:1}`)},[e.createTextVNode(e.toDisplayString(O.name)+": "+e.toDisplayString(Number(O.value.toFixed(g.value.style.chart.legend.roundingValue)).toLocaleString())+" ",1),f.value.includes(O.uid)?(e.openBlock(),e.createElementBlock("span",AD," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",uD," ("+e.toDisplayString(isNaN(O.value/ke.value)?"-":(O.value/ke.value*100).toFixed(g.value.style.chart.legend.roundingPercentage))+"%) ",1))],12,iD)]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(N.$slots,"legend",{legend:J.value},void 0,!0),l.value?(e.openBlock(),e.createBlock(lo,{key:6,hideDetails:"",config:{open:E.value.showTable,maxHeight:1e4,body:{backgroundColor:g.value.style.chart.backgroundColor,color:g.value.style.chart.color},head:{backgroundColor:g.value.style.chart.backgroundColor,color:g.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(yo,{colNames:Z.value.colNames,head:Z.value.head,body:Z.value.body,config:Z.value.config,title:`${g.value.style.chart.title.text}${g.value.style.chart.title.subtitle.text?` : ${g.value.style.chart.title.subtitle.text}`:""}`,onClose:j[3]||(j[3]=O=>E.value.showTable=!1)},{th:e.withCtx(({th:O})=>[e.createTextVNode(e.toDisplayString(O.name??O),1)]),td:e.withCtx(({td:O})=>[O.value===null?(e.openBlock(),e.createElementBlock("span",cD,"-")):(e.openBlock(),e.createElementBlock("b",dD,e.toDisplayString(isNaN(O.value)?"":g.value.style.chart.layout.dataLabels.prefix)+e.toDisplayString(!isNaN(O.value)&&O.value!==null?Number(O.value.toFixed(g.value.table.td.roundingValue)).toLocaleString():O)+e.toDisplayString(isNaN(O.value)?"":g.value.style.chart.layout.dataLabels.suffix),1)),e.createElementVNode("span",null,e.toDisplayString(O.percentage&&!isNaN(O.percentage)?`(${Number(O.percentage.toFixed(g.value.table.td.roundingPercentage)).toLocaleString()}%)`:""),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,fz))}},mg=vt(hD,[["__scopeId","data-v-d8dbd0c8"]]),fD=Object.freeze(Object.defineProperty({__proto__:null,default:mg},Symbol.toStringTag,{value:"Module"})),vD=["id"],gD=["xmlns","viewBox"],pD=["id"],yD=["stop-color"],mD=["stop-color"],bD=["x1","y1","x2","y2","stroke","stroke-width"],kD=["d","stroke","stroke-width"],CD=["stroke"],wD=["fill"],BD=["stroke"],xD=["fill"],FD=["stroke"],ND=["fill"],_D=["stroke"],SD=["fill"],LD=["stroke"],ED=["fill"],ID=["d","stroke","stroke-width","fill"],$D=["x1","y1","stroke"],MD=["cx","cy","fill","stroke"],UD=["fill","stroke"],VD=["y","fill","font-weight"],QD=["y","fill"],TD=["onClick"],OD={style:{"font-weight":"bold"}},zD=["innerHTML"],DD={__name:"vue-ui-mood-radar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(t,{expose:o}){const a=t,{vue_ui_mood_radar:n}=ft(),r=e.computed(()=>!!a.dataset&&Object.keys(a.dataset).length);e.onMounted(()=>{xt(a.dataset)&&Ke({componentName:"VueUiMoodRadar",type:"dataset"})});const l=e.ref(it()),s=e.ref(null),u=e.ref(null),h=e.ref(null),f=e.computed(()=>{const te=Je({userConfig:a.config,defaultConfig:n});return te.theme?{...Je({userConfig:Nt.vue_ui_mood_radar[te.theme]||a.config,defaultConfig:te})}:te}),{isPrinting:c,isImaging:y,generatePdf:C,generateImage:A}=zt({elementId:l.value,fileName:f.value.style.chart.title.text||"vue-ui-mood-radar"}),B=e.ref({showTable:f.value.table.show}),v=e.computed(()=>({height:256,width:256})),i=e.computed(()=>Qo({plot:{x:128,y:v.value.height/2},radius:90,sides:5,rotation:11}));function g({centerX:te,centerY:he,apexX:le,apexY:H,proportion:P,key:X,value:q}){return{x:te+(le-te)*P,y:he+(H-he)*P,key:X,value:q}}const w=e.computed(()=>Math.max(...Object.values(a.dataset).map(te=>isNaN(te)?0:te))),U=e.computed(()=>Object.values(a.dataset).reduce((te,he)=>(isNaN(te)?0:te)+(isNaN(he)?0:he),0)),I=e.computed(()=>Object.keys(a.dataset).map((te,he)=>{const le=typeof a.dataset[te]!="number"||isNaN(a.dataset[te])?0:a.dataset[te];return{index:he,key:te,value:le,proportion:le/U.value,color:f.value.style.chart.layout.smileys.colors[te]}}).sort((te,he)=>he.key-te.key)),Q=e.computed(()=>r.value?(["1","2","3","4","5"].forEach(te=>{[null,void 0].includes(a.dataset[te])&&Ke({componentName:"VueUiMoodRadar",type:"datasetAttribute",property:te})}),i.value.coordinates.map((te,he)=>{const le=g({centerX:v.value.width/2,centerY:v.value.height/2,apexX:te.x,apexY:te.y,proportion:I.value[he].value/w.value,key:I.value[he].key,value:I.value[he].value});return{...te,plots:le,key:I.value[he].key}})):[]),K=e.computed(()=>({cy:"mood-radar-legend",backgroundColor:f.value.style.chart.legend.backgroundColor,color:f.value.style.chart.legend.color,fontSize:f.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:f.value.style.chart.legend.bold?"bold":""}));function E(te){te===h.value?h.value=null:h.value=te}const b=e.computed(()=>{const te=I.value.map(le=>({name:le.key,color:le.color})),he=I.value.map(le=>isNaN(le.value)?0:le.value);return{head:te,body:he}});function T(){e.nextTick(()=>{const te=b.value.head.map((H,P)=>[[H.name],[b.value.body[P]],[isNaN(b.value.body[P]/U.value)?"-":b.value.body[P]/U.value*100]]),he=[[f.value.style.chart.title.text],[f.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(te),le=eo(he);Zt({csvContent:le,title:f.value.style.chart.title.text||"vue-ui-mood-radar"})})}const Y=e.computed(()=>{const te=[' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',Number(U.value.toFixed(f.value.table.td.roundingValue)).toLocaleString(),"100%"],he=b.value.head.map((P,X)=>[{color:P.color,name:P.name},b.value.body[X].toFixed(f.value.table.td.roundingValue),isNaN(b.value.body[X]/U.value)?"-":(b.value.body[X]/U.value*100).toFixed(f.value.table.td.roundingPercentage)+"%"]),le={th:{backgroundColor:f.value.table.th.backgroundColor,color:f.value.table.th.color,outline:f.value.table.th.outline},td:{backgroundColor:f.value.table.td.backgroundColor,color:f.value.table.td.color,outline:f.value.table.td.outline},breakpoint:f.value.table.responsiveBreakpoint},H=[f.value.table.columnNames.series,f.value.table.columnNames.value,f.value.table.columnNames.percentage];return{head:te,body:he,config:le,colNames:H}});function $(){return I.value}function S(){B.value.showTable=!B.value.showTable}const W=e.ref(!1);function oe(te){W.value=te}return o({getData:$,generatePdf:C,generateCsv:T,generateImage:A,toggleTable:S}),(te,he)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-mood-radar ${W.value?"vue-data-ui-wrapper-fullscreen":""} ${f.value.useCssAnimation?"":"vue-ui-dna"}`),ref_key:"moodRadarChart",ref:s,id:`${l.value}`,style:e.normalizeStyle(`font-family:${f.value.style.fontFamily};width:100%; text-align:center;${f.value.style.chart.title.text?"":"padding-top:36px"};background:${f.value.style.chart.backgroundColor}`)},[f.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:100%;background:${f.value.style.chart.backgroundColor}`)},[e.createVNode(Xt,{config:{title:{cy:"mood-radar-title",...f.value.style.chart.title},subtitle:{cy:"mood-radar-subtitle",...f.value.style.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),f.value.userOptions.show&&r.value?(e.openBlock(),e.createBlock(Tt,{key:1,ref_key:"details",ref:u,backgroundColor:f.value.style.chart.backgroundColor,color:f.value.style.chart.color,isPrinting:e.unref(c),isImaging:e.unref(y),uid:l.value,hasPdf:f.value.userOptions.buttons.pdf,hasXls:f.value.userOptions.buttons.csv,hasImg:f.value.userOptions.buttons.img,hasTable:f.value.userOptions.buttons.table,hasFullscreen:f.value.userOptions.buttons.fullscreen,titles:{...f.value.userOptions.buttonTitles},chartElement:s.value,onToggleFullscreen:oe,onGeneratePdf:e.unref(C),onGenerateCsv:T,onGenerateImage:e.unref(A),onToggleTable:S},e.createSlots({_:2},[te.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(te.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,te.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(te.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,te.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(te.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,te.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(te.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,te.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:le,isFullscreen:H})=>[e.renderSlot(te.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:le,isFullscreen:H})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(We),viewBox:`0 0 ${v.value.width} ${v.value.height}`,class:e.normalizeClass({"vue-data-ui-fullscreen--on":W.value,"vue-data-ui-fulscreen--off":!W.value}),style:e.normalizeStyle(`overflow:visible;background:${f.value.style.chart.backgroundColor};color:${f.value.style.chart.color}`)},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%",id:`mood_radar_gradient_${l.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":f.value.style.chart.layout.dataPolygon.color+e.unref(Xe)[f.value.style.chart.layout.dataPolygon.opacity]},null,8,yD),e.createElementVNode("stop",{offset:"100%","stop-color":`${e.unref(Lt)(f.value.style.chart.layout.dataPolygon.color,f.value.style.chart.layout.dataPolygon.gradient.intensity/100)}${e.unref(Xe)[f.value.style.chart.layout.dataPolygon.opacity]}`},null,8,mD)],8,pD)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.coordinates,le=>(e.openBlock(),e.createElementBlock("line",{x1:v.value.width/2,y1:v.value.height/2,x2:le.x,y2:le.y,stroke:f.value.style.chart.layout.grid.stroke,"stroke-width":f.value.style.chart.layout.grid.strokeWidth},null,8,bD))),256)),e.createElementVNode("path",{d:i.value.path,fill:"none",stroke:f.value.style.chart.layout.outerPolygon.stroke,"stroke-width":f.value.style.chart.layout.outerPolygon.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round"},null,8,kD),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[5],"stroke-width":"1","stroke-linecap":"round",d:"M119 25A1 1 0 00137 25 1 1 0 00119 25M123 26C124 33 132 33 133 26L123 26M123 22A1 1 0 00126 22 1 1 0 00123 22M130 22A1 1 0 00133 22 1 1 0 00130 22"},null,8,CD),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[0]||(he[0]=le=>h.value=5),onMouseleave:he[1]||(he[1]=le=>h.value=null),cx:"128",cy:"25",r:"20",fill:h.value===5?f.value.style.chart.layout.smileys.colors[5]+"33":"transparent"},null,40,wD),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[4],"stroke-width":"1","stroke-linecap":"round",d:"M218 95A1 1 0 00236 95 1 1 0 00218 95M222 97C225 99 229 99 232 97M222 92A1 1 0 00225 92 1 1 0 00222 92M229 92A1 1 0 00232 92 1 1 0 00229 92"},null,8,BD),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[2]||(he[2]=le=>h.value=4),onMouseleave:he[3]||(he[3]=le=>h.value=null),cx:"227",cy:"95.5",r:"20",fill:h.value===4?f.value.style.chart.layout.smileys.colors[4]+"33":"transparent"},null,40,xD),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[3],"stroke-width":"1","stroke-linecap":"round",d:"M181 213A1 1 0 00199 213 1 1 0 00181 213M185 210A1 1 0 00188 210 1 1 0 00185 210M192 210A1 1 0 00195 210 1 1 0 00192 210M185 215 195 215"},null,8,FD),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[4]||(he[4]=le=>h.value=3),onMouseleave:he[5]||(he[5]=le=>h.value=null),cx:"190",cy:"213.5",r:"20",fill:h.value===3?f.value.style.chart.layout.smileys.colors[3]+"33":"transparent"},null,40,ND),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[2],"stroke-width":"1","stroke-linecap":"round",d:"M56 213A1 1 0 0074 213 1 1 0 0056 213M60 216C63 214 67 214 70 216M60 210A1 1 0 0063 210 1 1 0 0060 210M67 210A1 1 0 0070 210 1 1 0 0067 210"},null,8,_D),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[6]||(he[6]=le=>h.value=2),onMouseleave:he[7]||(he[7]=le=>h.value=null),cx:"65",cy:"213.5",r:"20",fill:h.value===2?f.value.style.chart.layout.smileys.colors[2]+"33":"transparent"},null,40,SD),e.createElementVNode("path",{fill:"none",stroke:f.value.style.chart.layout.smileys.colors[1],"stroke-width":"1","stroke-linecap":"round",d:"M20 96A1 1 0 0038 96 1 1 0 0020 96M24 100C25 95 33 95 34 100L24 100M24 93A1 1 0 0027 93 1 1 0 0024 93M31 93A1 1 0 0034 93 1 1 0 0031 93"},null,8,LD),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:he[8]||(he[8]=le=>h.value=1),onMouseleave:he[9]||(he[9]=le=>h.value=null),cx:"29",cy:"95.5",r:"20",fill:h.value===1?f.value.style.chart.layout.smileys.colors[1]+"33":"transparent"},null,40,ED),e.createElementVNode("path",{d:e.unref(Hc)(Q.value.map(le=>le.plots)),stroke:f.value.style.chart.layout.dataPolygon.stroke,"stroke-width":f.value.style.chart.layout.dataPolygon.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round",fill:f.value.style.chart.layout.dataPolygon.gradient.show?`url(#mood_radar_gradient_${l.value})`:f.value.style.chart.layout.dataPolygon.color+e.unref(Xe)[f.value.style.chart.layout.dataPolygon.opacity]},null,8,ID),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Q.value.map(le=>le.plots),(le,H)=>(e.openBlock(),e.createElementBlock("g",{class:"vue-ui-mood-radar-trap",style:e.normalizeStyle(`opacity:${h.value==le.key?"1":"0"}`)},[e.createElementVNode("line",{x1:le.x,y1:le.y,x2:128,y2:128,stroke:f.value.style.chart.layout.smileys.colors[le.key]},null,8,$D),e.createElementVNode("circle",{cx:le.x,cy:le.y,fill:f.value.style.chart.layout.smileys.colors[le.key],r:"3",stroke:f.value.style.chart.backgroundColor,"stroke-width":.5},null,8,MD),e.createElementVNode("circle",{cx:128,cy:128,fill:f.value.style.chart.layout.smileys.colors[le.key],r:"3",stroke:f.value.style.chart.backgroundColor,"stroke-width":.5},null,8,UD),e.createElementVNode("text",{x:128,y:["5",5].includes(le.key)?145:120,fill:f.value.style.chart.layout.dataLabel.color,"font-size":"12","text-anchor":"middle","font-weight":f.value.style.chart.layout.dataLabel.bold?"bold":"normal"},e.toDisplayString(Number(le.value.toFixed(f.value.style.chart.layout.dataLabel.roundingValue)).toLocaleString()),9,VD),e.createElementVNode("text",{x:128,y:["5",5].includes(le.key)?163:102,fill:f.value.style.chart.layout.dataLabel.color,"font-size":"12","text-anchor":"middle"}," ("+e.toDisplayString(Number((le.value/U.value*100).toFixed(f.value.style.chart.layout.dataLabel.roundingPercentage)).toLocaleString())+"%) ",9,QD)],4))),256)),e.renderSlot(te.$slots,"svg",{svg:v.value},void 0,!0)],14,gD)):e.createCommentVNode("",!0),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Et,{key:3,config:{type:"radar",style:{backgroundColor:f.value.style.chart.backgroundColor,radar:{grid:{color:"#CCCCCC"},shapes:{color:"#CCCCCC"}}}}},null,8,["config"])),f.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Zo,{key:4,legendSet:I.value,config:K.value,style:{display:"flex","row-gap":"6px"}},{item:e.withCtx(({legend:le,index:H})=>[e.createElementVNode("div",{onClick:()=>E(le.key),style:{display:"flex","flex-direction":"row",gap:"3px","align-items":"center",margin:"3px 0"}},[le.key==1?(e.openBlock(),e.createBlock(bt,{key:0,strokeWidth:1,name:"moodSad",stroke:f.value.style.chart.layout.smileys.colors[le.key]},null,8,["stroke"])):e.createCommentVNode("",!0),le.key==2?(e.openBlock(),e.createBlock(bt,{key:1,strokeWidth:1,name:"moodFlat",stroke:f.value.style.chart.layout.smileys.colors[le.key]},null,8,["stroke"])):e.createCommentVNode("",!0),le.key==3?(e.openBlock(),e.createBlock(bt,{key:2,strokeWidth:1,name:"moodNeutral",stroke:f.value.style.chart.layout.smileys.colors[le.key]},null,8,["stroke"])):e.createCommentVNode("",!0),le.key==4?(e.openBlock(),e.createBlock(bt,{key:3,strokeWidth:1,name:"smiley",stroke:f.value.style.chart.layout.smileys.colors[le.key]},null,8,["stroke"])):e.createCommentVNode("",!0),le.key==5?(e.openBlock(),e.createBlock(bt,{key:4,strokeWidth:1,name:"moodHappy",stroke:f.value.style.chart.layout.smileys.colors[le.key]},null,8,["stroke"])):e.createCommentVNode("",!0),e.createElementVNode("span",OD,e.toDisplayString(le.value),1),e.createTextVNode(" ("+e.toDisplayString((isNaN(le.proportion)?0:le.proportion*100).toFixed(f.value.style.chart.legend.roundingPercentage))+"%) ",1)],8,TD)]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(te.$slots,"legend",{legend:I.value},void 0,!0),r.value?(e.openBlock(),e.createBlock(lo,{key:5,hideDetails:"",config:{open:B.value.showTable,maxHeight:1e4,body:{backgroundColor:f.value.style.chart.backgroundColor,color:f.value.style.chart.color},head:{backgroundColor:f.value.style.chart.backgroundColor,color:f.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(yo,{colNames:Y.value.colNames,head:Y.value.head,body:Y.value.body,config:Y.value.config,title:`${f.value.style.chart.title.text}${f.value.style.chart.title.subtitle.text?` : ${f.value.style.chart.title.subtitle.text}`:""}`,onClose:he[10]||(he[10]=le=>B.value.showTable=!1)},{th:e.withCtx(({th:le})=>[e.createElementVNode("div",{innerHTML:le,style:{display:"flex","align-items":"center"}},null,8,zD)]),td:e.withCtx(({td:le})=>[e.createTextVNode(e.toDisplayString(le.name||le),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,vD))}},bg=vt(DD,[["__scopeId","data-v-81cc3908"]]),PD=Object.freeze(Object.defineProperty({__proto__:null,default:bg},Symbol.toStringTag,{value:"Module"})),Ou=t=>(e.pushScopeId("data-v-30081550"),t=t(),e.popScopeId(),t),HD=["id"],RD=["xmlns","viewBox"],GD=["id"],WD=["stop-color"],KD=["stop-color"],jD=["id"],XD=["stop-color"],qD=["stop-color"],YD=["id"],JD=["stop-color"],ZD=["stop-color"],eP=["id"],tP=["stop-color"],oP=["stop-color"],lP=["stop-color"],aP={key:0},rP=["id"],nP=["stop-color"],sP=["stop-color"],iP=["id"],uP=["stop-color"],AP=["stop-color"],cP=["id"],dP=["stop-color"],hP=["stop-color"],fP=["id"],vP=Ou(()=>e.createElementVNode("stop",{offset:"0%","stop-color":"#FFFFFF"},null,-1)),gP=Ou(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"#FFFFFF33"},null,-1)),pP=[vP,gP],yP=["x","y","font-size","font-weight","fill"],mP=["x","y"],bP=["d","stroke"],kP=["d","stroke"],CP={key:3},wP={key:0},BP=["stroke-dasharray","d","stroke","stroke-width"],xP=["stroke-dasharray","d","stroke","stroke-width"],FP=["stroke-dasharray","d","stroke","stroke-width"],NP=["stroke-dasharray","d","stroke","stroke-width"],_P={key:1},SP=["d","stroke","stroke-width","fill"],LP=["d","stroke","stroke-width","fill"],EP=["d","stroke","stroke-width","fill"],IP={key:2},$P=["d","fill","onMouseenter","onClick"],MP=["d","fill","onMouseenter","onClick"],UP=["d","fill","onMouseenter","onClick"],VP=["d","onMouseenter","onClick"],QP=["d"],TP=["d","stroke"],OP=["onClick"],zP=["stroke","d"],DP=["cx","cy","fill","stroke"],PP=["x","y","width","height"],HP={key:1},RP=["d","stroke"],GP=["d","fill","stroke"],WP=["id"],KP=["stop-color"],jP=Ou(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),XP=["stop-color"],qP=["cx","cy","fill"],YP=["cx","cy","fill"],JP={key:0},ZP=["text-anchor","x","y","fill","font-size"],eH=["text-anchor","x","y","fill","font-size"],tH={key:2},oH=["d","fill","stroke"],lH={key:4},aH={key:0},rH=["stroke-dasharray","d","stroke","stroke-width"],nH=["stroke-dasharray","d","stroke","stroke-width"],sH=["stroke-dasharray","d","stroke","stroke-width"],iH=["stroke-dasharray","d","stroke","stroke-width"],uH=["d","stroke","stroke-width","fill"],AH=["d","stroke","stroke-width","fill"],cH={key:1},dH=["onClick"],hH=["id"],fH=["stop-color"],vH=["stop-color"],gH=["id"],pH=["stop-color"],yH=["stop-color"],mH=["stop-color"],bH=["stop-color"],kH=["stop-color"],CH=["onMouseenter","onClick","d","fill"],wH=["onMouseenter","onClick","d"],BH=["onMouseenter","onClick","d","fill"],xH=["onClick"],FH=["stroke","d"],NH=["cx","cy","fill","stroke"],_H=["x","y","width","height"],SH={key:1},LH=["d","stroke"],EH=["d","fill","stroke"],IH=["id"],$H=["stop-color"],MH=Ou(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),UH=["stop-color"],VH=["cx","cy","fill"],QH=["cx","cy","fill"],TH={key:0},OH=["text-anchor","x","y","fill","font-size"],zH=["text-anchor","x","y","fill","font-size"],DH={key:2},PH=["d","fill","stroke"],HH=["innerHTML"],RH={__name:"vue-ui-3d-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["selectDatapoint"],setup(t,{expose:o,emit:a}){const n=t,{vue_ui_3d_bar:r}=ft(),l=e.computed(()=>!!n.dataset&&Object.keys(n.dataset).length),s=e.ref(it()),u=e.ref(null),h=e.ref(null),f=e.ref(!1),c=e.computed(()=>{const X=Je({userConfig:n.config,defaultConfig:r});return X.theme?{...Je({userConfig:Nt.vue_ui_3d_bar[X.theme]||n.config,defaultConfig:X}),customPalette:Pt[X.theme]||Me}:X}),{isPrinting:y,isImaging:C,generatePdf:A,generateImage:B}=zt({elementId:`3d_bar_${s.value}`,fileName:c.value.style.chart.title.text||"vue-ui-3d-bar"}),v=e.computed(()=>so(c.value.customPalette)),i=e.ref({showTable:c.value.table.show}),g=e.computed(()=>n.dataset.series&&n.dataset.series.length),w=e.computed(()=>({height:c.value.style.chart.box.dimensions.height,width:c.value.style.chart.box.dimensions.width,absoluteWidth:c.value.style.chart.box.dimensions.width*(g.value?2:1),top:c.value.style.chart.box.dimensions.top,bottom:c.value.style.chart.box.dimensions.bottom,left:c.value.style.chart.box.dimensions.left,right:c.value.style.chart.box.dimensions.right,perspective:c.value.style.chart.box.dimensions.perspective})),U=e.computed(()=>{if(g.value){const X=n.dataset.series.map(x=>x.value||0).reduce((x,V)=>x+V,0),q=n.dataset.series.map((x,V)=>({...x,id:it(),proportion:(x.value||0)/X,color:At(x.color)||v.value[V]||Me[V]||Me[V%Me.length],breakdown:x.breakdown?x.breakdown.sort((J,ke)=>ke.value-J.value):null})).sort((x,V)=>V.value-x.value),m=[];let _=0;for(let x=0;x<q.length;x+=1)m.push({...q[x],fill:K(_,q[x].proportion,q[x].breakdown,q[x].color)}),_+=q[x].proportion;return m}return null}),I=e.computed(()=>({right:`M${w.value.width/2},${w.value.top} ${w.value.width-w.value.right}, ${w.value.top+w.value.perspective} ${w.value.width-w.value.right},${w.value.height-w.value.bottom-w.value.perspective} ${w.value.width/2},${w.value.height-w.value.bottom}`,left:`M${w.value.width/2},${w.value.top} ${w.value.left},${w.value.top+w.value.perspective} ${w.value.left},${w.value.height-w.value.bottom-w.value.perspective} ${w.value.width/2},${w.value.height-w.value.bottom}`,side:`M${w.value.width/2},${w.value.height-w.value.bottom} ${w.value.width/2},${w.value.top+w.value.perspective*2}`,topSides:`M${w.value.left},${w.value.top+w.value.perspective} ${w.value.width/2},${w.value.top+w.value.perspective*2} ${w.value.width-w.value.right},${w.value.top+w.value.perspective}`,tubeTop:`M${w.value.left},${w.value.top+w.value.perspective} C ${w.value.left},${w.value.top-w.value.perspective/3} ${w.value.width-w.value.right},${w.value.top-w.value.perspective/3} ${w.value.width-w.value.right},${w.value.top+w.value.perspective} C ${w.value.width-w.value.right},${w.value.top+w.value.perspective*2.3} ${w.value.left},${w.value.top+w.value.perspective*2.3} ${w.value.left},${w.value.top+w.value.perspective}`,tubeLeft:`M${w.value.left},${w.value.top+w.value.perspective} ${w.value.left},${w.value.height-w.value.bottom-w.value.perspective}`,tubeRight:`M${w.value.width-w.value.right},${w.value.top+w.value.perspective} ${w.value.width-w.value.right},${w.value.height-w.value.bottom-w.value.perspective}`,tubeBottom:`M${w.value.width-w.value.right},${w.value.height-w.value.bottom-w.value.perspective} C ${w.value.width-w.value.right},${w.value.height} ${w.value.left},${w.value.height} ${w.value.left},${w.value.height-w.value.bottom-w.value.perspective}`})),Q=e.ref(c.value.style.chart.animation.use?0:n.dataset.percentage);e.onMounted(()=>{xt(n.dataset)?Ke({componentName:"VueUi3dBar",type:"dataset"}):n.dataset.series?n.dataset.series.forEach((x,V)=>{Wt({datasetObject:x,requiredAttributes:["name","value"]}).forEach(J=>{Ke({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:J,index:V})}),x.breakdown&&x.breakdown.forEach((J,ke)=>{Wt({datasetObject:J,requiredAttributes:["name","value"]}).forEach(ae=>{Ke({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:ae,index:`${V} - ${ke}`})})})}):Wt({datasetObject:n.dataset,requiredAttributes:["percentage"]}).forEach(x=>{Ke({componentName:"VueUi3dBar",type:"datasetAttribute",property:x})});let X=0,q=c.value.style.chart.animation.speed,m=.005*c.value.style.chart.animation.acceleration;function _(){Q.value+=q+X,X+=m,Q.value<n.dataset.percentage?requestAnimationFrame(_):Q.value=n.dataset.percentage}c.value.style.chart.animation.use&&(Q.value=0,_())});function K(X,q,m,_){const x=w.value.height-w.value.bottom-w.value.top-w.value.perspective*2,{width:V,height:J,bottom:ke,right:ae,left:ge,perspective:Z}=w.value,ee=ke+x*X,z=J-ee-Z-x*q/2,D=z>w.value.height/2?"top":"bottom",fe=64,M=!!m;let N=null,j=null;return M&&(m=m.map((O,ce)=>({...O,value:O.value||0,color:Ll(_,ce/m.length)})),N=kl({series:m},V+w.value.absoluteWidth/4-14,D==="top"?z-fe:z+fe,28,28,1.99999,2,1,360,105.25,14),j=kl({series:m},V-ae+20,J-ee-Z-x*q/2,6,6,1.99999,2,1,360,105.25,6)),{donut:N,miniDonut:j,sidePointer:{x:V-ae,y:J-ee-Z-x*q/2,topY:J-ee-Z-x*q,height:x*q},apexBottom:{y:J-ee,x:V/2},apexTop:{y:J-ee-x*q,x:V/2},right:`M${V/2},${J-ee} ${V/2},${J-ee-x*q} ${V-ae},${J-ee-Z-x*q} ${V-ae},${J-ee-Z}Z`,left:`M${V/2},${J-ee} ${V/2},${J-ee-x*q} ${ge}, ${J-ee-Z-x*q} ${ge},${J-ee-Z}Z`,liningTop:`M${ge},${J-ee-Z-x*q} ${V/2},${J-ee-x*q} ${V-ae},${J-ee-Z-x*q}`,liningTopShade:`M${ge},${J-ee-Z-x*q-.5} ${V/2},${J-ee-x*q-.5} ${V-ae},${J-ee-Z-x*q-.5}`,top:`M${V/2},${J-ee-x*q} ${ge},${J-ee-Z-x*q} ${V/2},${J-ee-Z*2-x*q} ${V-ae},${J-ee-Z-x*q} Z`,tubeTop:`M${ge},${J-ee-x*q-Z} C ${ge},${J-ee-x*q-Z*2.5} ${V-ae},${J-ee-x*q-Z*2.5} ${V-ae},${J-ee-x*q-Z} C ${V-ae},${J-ee-x*q+Z/2} ${ge},${J-ee-x*q+Z/2} ${ge},${J-ee-x*q-Z}`,bottomTubeTop:`M ${V-ae-.5},${J-ee-Z} C ${V-ae-.5},${J-ee+Z/2} ${ge},${J-ee+Z/2} ${ge+.5},${J-ee-Z}`,tubeBody:`M
705
705
  ${ge},${J-ee-x*q-Z}
706
706
  C ${ge},${J-ee-x*q+Z/2}
707
707
  ${V-ae},${J-ee-x*q+Z/2}