No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 

30 líneas
232 KiB

  1. (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[2668],{57817:function(ne,Pr,Xt){"use strict";Xt.d(Pr,{Z:function(){return dt}});function dt(F,$,j){if(F){if(typeof F.addEventListener=="function")return F.addEventListener($,j,!1),{remove:function(){F.removeEventListener($,j,!1)}};if(typeof F.attachEvent=="function")return F.attachEvent("on"+$,j),{remove:function(){F.detachEvent("on"+$,j)}}}}},6056:function(ne,Pr,Xt){"use strict";Xt.d(Pr,{Z:function(){return _t}});var dt,F,$,j;function gr(){dt=document.createElement("table"),F=document.createElement("tr"),$=/^\s*<(\w+|!)[^>]*>/,j={tr:document.createElement("tbody"),tbody:dt,thead:dt,tfoot:dt,td:F,th:F,"*":document.createElement("div")}}function _t(mr){dt||gr();var Kt=$.test(mr)&&RegExp.$1;(!Kt||!(Kt in j))&&(Kt="*");var Ar=j[Kt];mr=typeof mr=="string"?mr.replace(/(^\s*)|(\s*$)/g,""):mr,Ar.innerHTML=""+mr;var dr=Ar.childNodes[0];return dr&&Ar.contains(dr)&&Ar.removeChild(dr),dr}},45442:function(ne,Pr,Xt){"use strict";Xt.d(Pr,{Z:function(){return dt}});function dt(F,$){if(F)for(var j in $)$.hasOwnProperty(j)&&(F.style[j]=$[j]);return F}},90494:function(ne,Pr){"use strict";var Xt="*",dt=function(){function F(){this._events={}}return F.prototype.on=function($,j,gr){return this._events[$]||(this._events[$]=[]),this._events[$].push({callback:j,once:!!gr}),this},F.prototype.once=function($,j){return this.on($,j,!0)},F.prototype.emit=function($){for(var j=this,gr=[],_t=1;_t<arguments.length;_t++)gr[_t-1]=arguments[_t];var mr=this._events[$]||[],Kt=this._events[Xt]||[],Ar=function(dr){for(var fr=dr.length,At=0;At<fr;At++)if(!!dr[At]){var Jt=dr[At],$t=Jt.callback,ar=Jt.once;ar&&(dr.splice(At,1),dr.length===0&&delete j._events[$],fr--,At--),$t.apply(j,gr)}};Ar(mr),Ar(Kt)},F.prototype.off=function($,j){if(!$)this._events={};else if(!j)delete this._events[$];else{for(var gr=this._events[$]||[],_t=gr.length,mr=0;mr<_t;mr++)gr[mr].callback===j&&(gr.splice(mr,1),_t--,mr--);gr.length===0&&delete this._events[$]}return this},F.prototype.getEvents=function(){return this._events},F}();Pr.Z=dt},3232:function(ne,Pr,Xt){"use strict";Xt.d(Pr,{$Z:function(){return sa},pA:function(){return fa},zr:function(){return la},XY:function(){return s},ju:function(){return ur},Gk:function(){return dt},$O:function(){return Wn},bj:function(){return ha},LF:function(){return zn},FE:function(){return Gn},U_:function(){return ot},pP:function(){return y},rG:function(){return W},WZ:function(){return _e},CW:function(){return H}});var dt={};Xt.r(dt),Xt.d(dt,{catmullRomToBezier:function(){return Kt},fillPath:function(){return Pt},fillPathByDiff:function(){return mt},formatPath:function(){return Wt},intersection:function(){return ut},parsePathArray:function(){return yr},parsePathString:function(){return mr},pathToAbsolute:function(){return dr},pathToCurve:function(){return $t},rectPath:function(){return Cr}});var F={};Xt.r(F),Xt.d(F,{easeBack:function(){return cn},easeBackIn:function(){return Pn},easeBackInOut:function(){return cn},easeBackOut:function(){return Tn},easeBounce:function(){return ze},easeBounceIn:function(){return En},easeBounceInOut:function(){return Ze},easeBounceOut:function(){return ze},easeCircle:function(){return tn},easeCircleIn:function(){return yn},easeCircleInOut:function(){return tn},easeCircleOut:function(){return je},easeCubic:function(){return be},easeCubicIn:function(){return Ge},easeCubicInOut:function(){return be},easeCubicOut:function(){return Le},easeElastic:function(){return ln},easeElasticIn:function(){return In},easeElasticInOut:function(){return Dn},easeElasticOut:function(){return ln},easeExp:function(){return fn},easeExpIn:function(){return dn},easeExpInOut:function(){return fn},easeExpOut:function(){return mn},easeLinear:function(){return Qe},easePoly:function(){return on},easePolyIn:function(){return Ke},easePolyInOut:function(){return on},easePolyOut:function(){return an},easeQuad:function(){return qe},easeQuadIn:function(){return Ne},easeQuadInOut:function(){return qe},easeQuadOut:function(){return Ee},easeSin:function(){return un},easeSinIn:function(){return pn},easeSinInOut:function(){return un},easeSinOut:function(){return gn}});var $=Xt(49242),j=`
  2. \v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029`,gr=new RegExp("([a-z])["+j+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+j+"]*,?["+j+"]*)+)","ig"),_t=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+j+"]*,?["+j+"]*","ig"),mr=function(e){if(!e)return null;if((0,$.isArray)(e))return e;var t={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},r=[];return String(e).replace(gr,function(n,i,c){var w=[],S=i.toLowerCase();if(c.replace(_t,function(I,tt){tt&&w.push(+tt)}),S==="m"&&w.length>2&&(r.push([i].concat(w.splice(0,2))),S="l",i=i==="m"?"l":"L"),S==="o"&&w.length===1&&r.push([i,w[0]]),S==="r")r.push([i].concat(w));else for(;w.length>=t[S]&&(r.push([i].concat(w.splice(0,t[S]))),!!t[S]););return e}),r},Kt=function(e,t){for(var r=[],n=0,i=e.length;i-2*!t>n;n+=2){var c=[{x:+e[n-2],y:+e[n-1]},{x:+e[n],y:+e[n+1]},{x:+e[n+2],y:+e[n+3]},{x:+e[n+4],y:+e[n+5]}];t?n?i-4===n?c[3]={x:+e[0],y:+e[1]}:i-2===n&&(c[2]={x:+e[0],y:+e[1]},c[3]={x:+e[2],y:+e[3]}):c[0]={x:+e[i-2],y:+e[i-1]}:i-4===n?c[3]=c[2]:n||(c[0]={x:+e[n],y:+e[n+1]}),r.push(["C",(-c[0].x+6*c[1].x+c[2].x)/6,(-c[0].y+6*c[1].y+c[2].y)/6,(c[1].x+6*c[2].x-c[3].x)/6,(c[1].y+6*c[2].y-c[3].y)/6,c[2].x,c[2].y])}return r},Ar=function(e,t,r,n,i){var c=[];if(i===null&&n===null&&(n=r),e=+e,t=+t,r=+r,n=+n,i!==null){var w=Math.PI/180,S=e+r*Math.cos(-n*w),I=e+r*Math.cos(-i*w),tt=t+r*Math.sin(-n*w),J=t+r*Math.sin(-i*w);c=[["M",S,tt],["A",r,r,0,+(i-n>180),0,I,J]]}else c=[["M",e,t],["m",0,-n],["a",r,n,0,1,1,0,2*n],["a",r,n,0,1,1,0,-2*n],["z"]];return c},dr=function(e){if(e=mr(e),!e||!e.length)return[["M",0,0]];var t=[],r=0,n=0,i=0,c=0,w=0,S,I;e[0][0]==="M"&&(r=+e[0][1],n=+e[0][2],i=r,c=n,w++,t[0]=["M",r,n]);for(var tt=e.length===3&&e[0][0]==="M"&&e[1][0].toUpperCase()==="R"&&e[2][0].toUpperCase()==="Z",J=void 0,it=void 0,Ot=w,Tt=e.length;Ot<Tt;Ot++){if(t.push(J=[]),it=e[Ot],S=it[0],S!==S.toUpperCase())switch(J[0]=S.toUpperCase(),J[0]){case"A":J[1]=it[1],J[2]=it[2],J[3]=it[3],J[4]=it[4],J[5]=it[5],J[6]=+it[6]+r,J[7]=+it[7]+n;break;case"V":J[1]=+it[1]+n;break;case"H":J[1]=+it[1]+r;break;case"R":I=[r,n].concat(it.slice(1));for(var ht=2,or=I.length;ht<or;ht++)I[ht]=+I[ht]+r,I[++ht]=+I[ht]+n;t.pop(),t=t.concat(Kt(I,tt));break;case"O":t.pop(),I=Ar(r,n,it[1],it[2]),I.push(I[0]),t=t.concat(I);break;case"U":t.pop(),t=t.concat(Ar(r,n,it[1],it[2],it[3])),J=["U"].concat(t[t.length-1].slice(-2));break;case"M":i=+it[1]+r,c=+it[2]+n;break;default:for(var ht=1,or=it.length;ht<or;ht++)J[ht]=+it[ht]+(ht%2?r:n)}else if(S==="R")I=[r,n].concat(it.slice(1)),t.pop(),t=t.concat(Kt(I,tt)),J=["R"].concat(it.slice(-2));else if(S==="O")t.pop(),I=Ar(r,n,it[1],it[2]),I.push(I[0]),t=t.concat(I);else if(S==="U")t.pop(),t=t.concat(Ar(r,n,it[1],it[2],it[3])),J=["U"].concat(t[t.length-1].slice(-2));else for(var vr=0,Mr=it.length;vr<Mr;vr++)J[vr]=it[vr];if(S=S.toUpperCase(),S!=="O")switch(J[0]){case"Z":r=+i,n=+c;break;case"H":r=J[1];break;case"V":n=J[1];break;case"M":i=J[J.length-2],c=J[J.length-1];break;default:r=J[J.length-2],n=J[J.length-1]}}return t},fr=function(e,t,r,n){return[e,t,r,n,r,n]},At=function(e,t,r,n,i,c){var w=1/3,S=2/3;return[w*e+S*r,w*t+S*n,w*i+S*r,w*c+S*n,i,c]},Jt=function(e,t,r,n,i,c,w,S,I,tt){r===n&&(r+=1);var J=Math.PI*120/180,it=Math.PI/180*(+i||0),Ot=[],Tt,ht,or,vr,Mr,Ir=function(jn,ta,vn){var Da=jn*Math.cos(vn)-ta*Math.sin(vn),Oa=jn*Math.sin(vn)+ta*Math.cos(vn);return{x:Da,y:Oa}};if(tt)ht=tt[0],or=tt[1],vr=tt[2],Mr=tt[3];else{Tt=Ir(e,t,-it),e=Tt.x,t=Tt.y,Tt=Ir(S,I,-it),S=Tt.x,I=Tt.y,e===S&&t===I&&(S+=1,I+=1);var Qt=(e-S)/2,Bt=(t-I)/2,_r=Qt*Qt/(r*r)+Bt*Bt/(n*n);_r>1&&(_r=Math.sqrt(_r),r=_r*r,n=_r*n);var Zr=r*r,ee=n*n,Re=(c===w?-1:1)*Math.sqrt(Math.abs((Zr*ee-Zr*Bt*Bt-ee*Qt*Qt)/(Zr*Bt*Bt+ee*Qt*Qt)));vr=Re*r*Bt/n+(e+S)/2,Mr=Re*-n*Qt/r+(t+I)/2,ht=Math.asin(((t-Mr)/n).toFixed(9)),or=Math.asin(((I-Mr)/n).toFixed(9)),ht=e<vr?Math.PI-ht:ht,or=S<vr?Math.PI-or:or,ht<0&&(ht=Math.PI*2+ht),or<0&&(or=Math.PI*2+or),w&&ht>or&&(ht=ht-Math.PI*2),!w&&or>ht&&(or=or-Math.PI*2)}var Bn=or-ht;if(Math.abs(Bn)>J){var Ca=or,ba=S,_a=I;or=ht+J*(w&&or>ht?1:-1),S=vr+r*Math.cos(or),I=Mr+n*Math.sin(or),Ot=Jt(S,I,r,n,i,0,w,ba,_a,[or,Ca,vr,Mr])}Bn=or-ht;var Sa=Math.cos(ht),Ea=Math.sin(ht),Pa=Math.cos(or),Ta=Math.sin(or),Vn=Math.tan(Bn/4),Zn=4/3*r*Vn,Un=4/3*n*Vn,$n=[e,t],$e=[e+Zn*Ea,t-Un*Sa],Qn=[S+Zn*Ta,I-Un*Pa],Kn=[S,I];if($e[0]=2*$n[0]-$e[0],$e[1]=2*$n[1]-$e[1],tt)return[$e,Qn,Kn].concat(Ot);Ot=[$e,Qn,Kn].concat(Ot).join().split(",");for(var Jn=[],Xe=0,Ia=Ot.length;Xe<Ia;Xe++)Jn[Xe]=Xe%2?Ir(Ot[Xe-1],Ot[Xe],it).y:Ir(Ot[Xe],Ot[Xe+1],it).x;return Jn},$t=function(e,t){var r=dr(e),n=t&&dr(t),i={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},c={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},w=[],S=[],I="",tt="",J,it=function(Qt,Bt,_r){var Zr,ee;if(!Qt)return["C",Bt.x,Bt.y,Bt.x,Bt.y,Bt.x,Bt.y];switch(!(Qt[0]in{T:1,Q:1})&&(Bt.qx=Bt.qy=null),Qt[0]){case"M":Bt.X=Qt[1],Bt.Y=Qt[2];break;case"A":Qt=["C"].concat(Jt.apply(0,[Bt.x,Bt.y].concat(Qt.slice(1))));break;case"S":_r==="C"||_r==="S"?(Zr=Bt.x*2-Bt.bx,ee=Bt.y*2-Bt.by):(Zr=Bt.x,ee=Bt.y),Qt=["C",Zr,ee].concat(Qt.slice(1));break;case"T":_r==="Q"||_r==="T"?(Bt.qx=Bt.x*2-Bt.qx,Bt.qy=Bt.y*2-Bt.qy):(Bt.qx=Bt.x,Bt.qy=Bt.y),Qt=["C"].concat(At(Bt.x,Bt.y,Bt.qx,Bt.qy,Qt[1],Qt[2]));break;case"Q":Bt.qx=Qt[1],Bt.qy=Qt[2],Qt=["C"].concat(At(Bt.x,Bt.y,Qt[1],Qt[2],Qt[3],Qt[4]));break;case"L":Qt=["C"].concat(fr(Bt.x,Bt.y,Qt[1],Qt[2]));break;case"H":Qt=["C"].concat(fr(Bt.x,Bt.y,Qt[1],Bt.y));break;case"V":Qt=["C"].concat(fr(Bt.x,Bt.y,Bt.x,Qt[1]));break;case"Z":Qt=["C"].concat(fr(Bt.x,Bt.y,Bt.X,Bt.Y));break;default:break}return Qt},Ot=function(Qt,Bt){if(Qt[Bt].length>7){Qt[Bt].shift();for(var _r=Qt[Bt];_r.length;)w[Bt]="A",n&&(S[Bt]="A"),Qt.splice(Bt++,0,["C"].concat(_r.splice(0,6)));Qt.splice(Bt,1),J=Math.max(r.length,n&&n.length||0)}},Tt=function(Qt,Bt,_r,Zr,ee){Qt&&Bt&&Qt[ee][0]==="M"&&Bt[ee][0]!=="M"&&(Bt.splice(ee,0,["M",Zr.x,Zr.y]),_r.bx=0,_r.by=0,_r.x=Qt[ee][1],_r.y=Qt[ee][2],J=Math.max(r.length,n&&n.length||0))};J=Math.max(r.length,n&&n.length||0);for(var ht=0;ht<J;ht++){r[ht]&&(I=r[ht][0]),I!=="C"&&(w[ht]=I,ht&&(tt=w[ht-1])),r[ht]=it(r[ht],i,tt),w[ht]!=="A"&&I==="C"&&(w[ht]="C"),Ot(r,ht),n&&(n[ht]&&(I=n[ht][0]),I!=="C"&&(S[ht]=I,ht&&(tt=S[ht-1])),n[ht]=it(n[ht],c,tt),S[ht]!=="A"&&I==="C"&&(S[ht]="C"),Ot(n,ht)),Tt(r,n,i,c,ht),Tt(n,r,c,i,ht);var or=r[ht],vr=n&&n[ht],Mr=or.length,Ir=n&&vr.length;i.x=or[Mr-2],i.y=or[Mr-1],i.bx=parseFloat(or[Mr-4])||i.x,i.by=parseFloat(or[Mr-3])||i.y,c.bx=n&&(parseFloat(vr[Ir-4])||c.x),c.by=n&&(parseFloat(vr[Ir-3])||c.y),c.x=n&&vr[Ir-2],c.y=n&&vr[Ir-1]}return n?[r,n]:r},ar=/,?([a-z]),?/gi,yr=function(e){return e.join(",").replace(ar,"$1")},Lr=function(e,t,r,n,i){var c=-3*t+9*r-9*n+3*i,w=e*c+6*t-12*r+6*n;return e*w-3*t+3*r},Br=function(e,t,r,n,i,c,w,S,I){I===null&&(I=1),I=I>1?1:I<0?0:I;for(var tt=I/2,J=12,it=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],Ot=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],Tt=0,ht=0;ht<J;ht++){var or=tt*it[ht]+tt,vr=Lr(or,e,r,i,w),Mr=Lr(or,t,n,c,S),Ir=vr*vr+Mr*Mr;Tt+=Ot[ht]*Math.sqrt(Ir)}return tt*Tt},Wr=function(e,t,r,n,i,c,w,S){for(var I=[],tt=[[],[]],J,it,Ot,Tt,ht=0;ht<2;++ht){if(ht===0?(it=6*e-12*r+6*i,J=-3*e+9*r-9*i+3*w,Ot=3*r-3*e):(it=6*t-12*n+6*c,J=-3*t+9*n-9*c+3*S,Ot=3*n-3*t),Math.abs(J)<1e-12){if(Math.abs(it)<1e-12)continue;Tt=-Ot/it,Tt>0&&Tt<1&&I.push(Tt);continue}var or=it*it-4*Ot*J,vr=Math.sqrt(or);if(!(or<0)){var Mr=(-it+vr)/(2*J);Mr>0&&Mr<1&&I.push(Mr);var Ir=(-it-vr)/(2*J);Ir>0&&Ir<1&&I.push(Ir)}}for(var Qt=I.length,Bt=Qt,_r;Qt--;)Tt=I[Qt],_r=1-Tt,tt[0][Qt]=_r*_r*_r*e+3*_r*_r*Tt*r+3*_r*Tt*Tt*i+Tt*Tt*Tt*w,tt[1][Qt]=_r*_r*_r*t+3*_r*_r*Tt*n+3*_r*Tt*Tt*c+Tt*Tt*Tt*S;return tt[0][Bt]=e,tt[1][Bt]=t,tt[0][Bt+1]=w,tt[1][Bt+1]=S,tt[0].length=tt[1].length=Bt+2,{min:{x:Math.min.apply(0,tt[0]),y:Math.min.apply(0,tt[1])},max:{x:Math.max.apply(0,tt[0]),y:Math.max.apply(0,tt[1])}}},Rt=function(e,t,r,n,i,c,w,S){if(!(Math.max(e,r)<Math.min(i,w)||Math.min(e,r)>Math.max(i,w)||Math.max(t,n)<Math.min(c,S)||Math.min(t,n)>Math.max(c,S))){var I=(e*n-t*r)*(i-w)-(e-r)*(i*S-c*w),tt=(e*n-t*r)*(c-S)-(t-n)*(i*S-c*w),J=(e-r)*(c-S)-(t-n)*(i-w);if(!!J){var it=I/J,Ot=tt/J,Tt=+it.toFixed(2),ht=+Ot.toFixed(2);if(!(Tt<+Math.min(e,r).toFixed(2)||Tt>+Math.max(e,r).toFixed(2)||Tt<+Math.min(i,w).toFixed(2)||Tt>+Math.max(i,w).toFixed(2)||ht<+Math.min(t,n).toFixed(2)||ht>+Math.max(t,n).toFixed(2)||ht<+Math.min(c,S).toFixed(2)||ht>+Math.max(c,S).toFixed(2)))return{x:it,y:Ot}}}},sr=function(e,t,r){return t>=e.x&&t<=e.x+e.width&&r>=e.y&&r<=e.y+e.height},Cr=function(e,t,r,n,i){if(i)return[["M",+e+ +i,t],["l",r-i*2,0],["a",i,i,0,0,1,i,i],["l",0,n-i*2],["a",i,i,0,0,1,-i,i],["l",i*2-r,0],["a",i,i,0,0,1,-i,-i],["l",0,i*2-n],["a",i,i,0,0,1,i,-i],["z"]];var c=[["M",e,t],["l",r,0],["l",0,n],["l",-r,0],["z"]];return c.parsePathArray=yr,c},Sr=function(e,t,r,n){return e===null&&(e=t=r=n=0),t===null&&(t=e.y,r=e.width,n=e.height,e=e.x),{x:e,y:t,width:r,w:r,height:n,h:n,x2:e+r,y2:t+n,cx:e+r/2,cy:t+n/2,r1:Math.min(r,n)/2,r2:Math.max(r,n)/2,r0:Math.sqrt(r*r+n*n)/2,path:Cr(e,t,r,n),vb:[e,t,r,n].join(" ")}},Er=function(e,t){return e=Sr(e),t=Sr(t),sr(t,e.x,e.y)||sr(t,e.x2,e.y)||sr(t,e.x,e.y2)||sr(t,e.x2,e.y2)||sr(e,t.x,t.y)||sr(e,t.x2,t.y)||sr(e,t.x,t.y2)||sr(e,t.x2,t.y2)||(e.x<t.x2&&e.x>t.x||t.x<e.x2&&t.x>e.x)&&(e.y<t.y2&&e.y>t.y||t.y<e.y2&&t.y>e.y)},Tr=function(e,t,r,n,i,c,w,S){(0,$.isArray)(e)||(e=[e,t,r,n,i,c,w,S]);var I=Wr.apply(null,e);return Sr(I.min.x,I.min.y,I.max.x-I.min.x,I.max.y-I.min.y)},Dr=function(e,t,r,n,i,c,w,S,I){var tt=1-I,J=Math.pow(tt,3),it=Math.pow(tt,2),Ot=I*I,Tt=Ot*I,ht=J*e+it*3*I*r+tt*3*I*I*i+Tt*w,or=J*t+it*3*I*n+tt*3*I*I*c+Tt*S,vr=e+2*I*(r-e)+Ot*(i-2*r+e),Mr=t+2*I*(n-t)+Ot*(c-2*n+t),Ir=r+2*I*(i-r)+Ot*(w-2*i+r),Qt=n+2*I*(c-n)+Ot*(S-2*c+n),Bt=tt*e+I*r,_r=tt*t+I*n,Zr=tt*i+I*w,ee=tt*c+I*S,Re=90-Math.atan2(vr-Ir,Mr-Qt)*180/Math.PI;return{x:ht,y:or,m:{x:vr,y:Mr},n:{x:Ir,y:Qt},start:{x:Bt,y:_r},end:{x:Zr,y:ee},alpha:Re}},zr=function(e,t,r){var n=Tr(e),i=Tr(t);if(!Er(n,i))return r?0:[];for(var c=Br.apply(0,e),w=Br.apply(0,t),S=~~(c/8),I=~~(w/8),tt=[],J=[],it={},Ot=r?0:[],Tt=0;Tt<S+1;Tt++){var ht=Dr.apply(0,e.concat(Tt/S));tt.push({x:ht.x,y:ht.y,t:Tt/S})}for(var Tt=0;Tt<I+1;Tt++){var ht=Dr.apply(0,t.concat(Tt/I));J.push({x:ht.x,y:ht.y,t:Tt/I})}for(var Tt=0;Tt<S;Tt++)for(var or=0;or<I;or++){var vr=tt[Tt],Mr=tt[Tt+1],Ir=J[or],Qt=J[or+1],Bt=Math.abs(Mr.x-vr.x)<.001?"y":"x",_r=Math.abs(Qt.x-Ir.x)<.001?"y":"x",Zr=Rt(vr.x,vr.y,Mr.x,Mr.y,Ir.x,Ir.y,Qt.x,Qt.y);if(Zr){if(it[Zr.x.toFixed(4)]===Zr.y.toFixed(4))continue;it[Zr.x.toFixed(4)]=Zr.y.toFixed(4);var ee=vr.t+Math.abs((Zr[Bt]-vr[Bt])/(Mr[Bt]-vr[Bt]))*(Mr.t-vr.t),Re=Ir.t+Math.abs((Zr[_r]-Ir[_r])/(Qt[_r]-Ir[_r]))*(Qt.t-Ir.t);ee>=0&&ee<=1&&Re>=0&&Re<=1&&(r?Ot+=1:Ot.push({x:Zr.x,y:Zr.y,t1:ee,t2:Re}))}}return Ot},ft=function(e,t,r){e=$t(e),t=$t(t);for(var n,i,c,w,S,I,tt,J,it,Ot,Tt=r?0:[],ht=0,or=e.length;ht<or;ht++){var vr=e[ht];if(vr[0]==="M")n=S=vr[1],i=I=vr[2];else{vr[0]==="C"?(it=[n,i].concat(vr.slice(1)),n=it[6],i=it[7]):(it=[n,i,n,i,S,I,S,I],n=S,i=I);for(var Mr=0,Ir=t.length;Mr<Ir;Mr++){var Qt=t[Mr];if(Qt[0]==="M")c=tt=Qt[1],w=J=Qt[2];else{Qt[0]==="C"?(Ot=[c,w].concat(Qt.slice(1)),c=Ot[6],w=Ot[7]):(Ot=[c,w,c,w,tt,J,tt,J],c=tt,w=J);var Bt=zr(it,Ot,r);if(r)Tt+=Bt;else{for(var _r=0,Zr=Bt.length;_r<Zr;_r++)Bt[_r].segment1=ht,Bt[_r].segment2=Mr,Bt[_r].bez1=it,Bt[_r].bez2=Ot;Tt=Tt.concat(Bt)}}}}}return Tt},ut=function(e,t){return ft(e,t)};function Mt(e,t){var r=[],n=[];function i(c,w){if(c.length===1)r.push(c[0]),n.push(c[0]);else{for(var S=[],I=0;I<c.length-1;I++)I===0&&r.push(c[0]),I===c.length-2&&n.push(c[I+1]),S[I]=[(1-w)*c[I][0]+w*c[I+1][0],(1-w)*c[I][1]+w*c[I+1][1]];i(S,w)}}return e.length&&i(e,t),{left:r,right:n.reverse()}}function Ct(e,t,r){var n=[[e[1],e[2]]];r=r||2;var i=[];t[0]==="A"?(n.push(t[6]),n.push(t[7])):t[0]==="C"?(n.push([t[1],t[2]]),n.push([t[3],t[4]]),n.push([t[5],t[6]])):t[0]==="S"||t[0]==="Q"?(n.push([t[1],t[2]]),n.push([t[3],t[4]])):n.push([t[1],t[2]]);for(var c=n,w=1/r,S=0;S<r-1;S++){var I=w/(1-w*S),tt=Mt(c,I);i.push(tt.left),c=tt.right}i.push(c);var J=i.map(function(it){var Ot=[];return it.length===4&&(Ot.push("C"),Ot=Ot.concat(it[2])),it.length>=3&&(it.length===3&&Ot.push("Q"),Ot=Ot.concat(it[1])),it.length===2&&Ot.push("L"),Ot=Ot.concat(it[it.length-1]),Ot});return J}var Nt=function(e,t,r){if(r===1)return[[].concat(e)];var n=[];if(t[0]==="L"||t[0]==="C"||t[0]==="Q")n=n.concat(Ct(e,t,r));else{var i=[].concat(e);i[0]==="M"&&(i[0]="L");for(var c=0;c<=r-1;c++)n.push(i)}return n},Pt=function(e,t){if(e.length===1)return e;var r=e.length-1,n=t.length-1,i=r/n,c=[];if(e.length===1&&e[0][0]==="M"){for(var w=0;w<n-r;w++)e.push(e[0]);return e}for(var w=0;w<n;w++){var S=Math.floor(i*w);c[S]=(c[S]||0)+1}var I=c.reduce(function(tt,J,it){return it===r?tt.concat(e[r]):tt.concat(Nt(e[it],e[it+1],J))},[]);return I.unshift(e[0]),(t[n]==="Z"||t[n]==="z")&&I.push("Z"),I},v=function(e,t){if(e.length!==t.length)return!1;var r=!0;return(0,$.each)(e,function(n,i){if(n!==t[i])return r=!1,!1}),r};function O(e,t,r){var n=null,i=r;return t<i&&(i=t,n="add"),e<i&&(i=e,n="del"),{type:n,min:i}}var vt=function(e,t){var r=e.length,n=t.length,i,c,w=0;if(r===0||n===0)return null;for(var S=[],I=0;I<=r;I++)S[I]=[],S[I][0]={min:I};for(var tt=0;tt<=n;tt++)S[0][tt]={min:tt};for(var I=1;I<=r;I++){i=e[I-1];for(var tt=1;tt<=n;tt++){c=t[tt-1],v(i,c)?w=0:w=1;var J=S[I-1][tt].min+1,it=S[I][tt-1].min+1,Ot=S[I-1][tt-1].min+w;S[I][tt]=O(J,it,Ot)}}return S},mt=function(e,t){var r=vt(e,t),n=e.length,i=t.length,c=[],w=1,S=1;if(r[n][i].min!==n){for(var I=1;I<=n;I++){var tt=r[I][I].min;S=I;for(var J=w;J<=i;J++)r[I][J].min<tt&&(tt=r[I][J].min,S=J);w=S,r[I][w].type&&c.push({index:I-1,type:r[I][w].type})}for(var I=c.length-1;I>=0;I--)w=c[I].index,c[I].type==="add"?e.splice(w,0,[].concat(e[w])):e.splice(w,1)}n=e.length;var it=i-n;if(n<i)for(var I=0;I<it;I++)e[n-1][0]==="z"||e[n-1][0]==="Z"?e.splice(n-2,0,e[n-2]):e.push(e[n-1]),n+=1;return e};function Ht(e,t,r){for(var n=[].concat(e),i,c=1/(r+1),w=ir(t)[0],S=1;S<=r;S++)c*=S,i=Math.floor(e.length*c),i===0?n.unshift([w[0]*c+e[i][0]*(1-c),w[1]*c+e[i][1]*(1-c)]):n.splice(i,0,[w[0]*c+e[i][0]*(1-c),w[1]*c+e[i][1]*(1-c)]);return n}function ir(e){var t=[];switch(e[0]){case"M":t.push([e[1],e[2]]);break;case"L":t.push([e[1],e[2]]);break;case"A":t.push([e[6],e[7]]);break;case"Q":t.push([e[3],e[4]]),t.push([e[1],e[2]]);break;case"T":t.push([e[1],e[2]]);break;case"C":t.push([e[5],e[6]]),t.push([e[1],e[2]]),t.push([e[3],e[4]]);break;case"S":t.push([e[3],e[4]]),t.push([e[1],e[2]]);break;case"H":t.push([e[1],e[1]]);break;case"V":t.push([e[1],e[1]]);break;default:}return t}var Wt=function(e,t){if(e.length<=1)return e;for(var r,n=0;n<t.length;n++)if(e[n][0]!==t[n][0])switch(r=ir(e[n]),t[n][0]){case"M":e[n]=["M"].concat(r[0]);break;case"L":e[n]=["L"].concat(r[0]);break;case"A":e[n]=[].concat(t[n]),e[n][6]=r[0][0],e[n][7]=r[0][1];break;case"Q":if(r.length<2)if(n>0)r=Ht(r,e[n-1],1);else{e[n]=t[n];break}e[n]=["Q"].concat(r.reduce(function(i,c){return i.concat(c)},[]));break;case"T":e[n]=["T"].concat(r[0]);break;case"C":if(r.length<3)if(n>0)r=Ht(r,e[n-1],2);else{e[n]=t[n];break}e[n]=["C"].concat(r.reduce(function(i,c){return i.concat(c)},[]));break;case"S":if(r.length<2)if(n>0)r=Ht(r,e[n-1],1);else{e[n]=t[n];break}e[n]=["S"].concat(r.reduce(function(i,c){return i.concat(c)},[]));break;default:e[n]=t[n]}return e},cr=function(){function e(t,r){this.bubbles=!0,this.target=null,this.currentTarget=null,this.delegateTarget=null,this.delegateObject=null,this.defaultPrevented=!1,this.propagationStopped=!1,this.shape=null,this.fromShape=null,this.toShape=null,this.propagationPath=[],this.type=t,this.name=t,this.originalEvent=r,this.timeStamp=r.timeStamp}return e.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},e.prototype.stopPropagation=function(){this.propagationStopped=!0},e.prototype.toString=function(){var t=this.type;return"[Event (type="+t+")]"},e.prototype.save=function(){},e.prototype.restore=function(){},e}(),ur=cr,tr=Xt(70655),wr=Xt(90494);function kr(e,t){var r=e.indexOf(t);r!==-1&&e.splice(r,1)}var L=typeof window!="undefined"&&typeof window.document!="undefined";function p(e,t){if(e.isCanvas())return!0;for(var r=t.getParent(),n=!1;r;){if(r===e){n=!0;break}r=r.getParent()}return n}function y(e){return e.cfg.visible&&e.cfg.capture}var _=function(e){(0,tr.__extends)(t,e);function t(r){var n=e.call(this)||this;n.destroyed=!1;var i=n.getDefaultCfg();return n.cfg=(0,$.mix)(i,r),n}return t.prototype.getDefaultCfg=function(){return{}},t.prototype.get=function(r){return this.cfg[r]},t.prototype.set=function(r,n){this.cfg[r]=n},t.prototype.destroy=function(){this.cfg={destroyed:!0},this.off(),this.destroyed=!0},t}(wr.Z),s=_,d=Xt(43631),P=Xt(31506);function R(e,t){var r=[],n=e[0],i=e[1],c=e[2],w=e[3],S=e[4],I=e[5],tt=e[6],J=e[7],it=e[8],Ot=t[0],Tt=t[1],ht=t[2],or=t[3],vr=t[4],Mr=t[5],Ir=t[6],Qt=t[7],Bt=t[8];return r[0]=Ot*n+Tt*w+ht*tt,r[1]=Ot*i+Tt*S+ht*J,r[2]=Ot*c+Tt*I+ht*it,r[3]=or*n+vr*w+Mr*tt,r[4]=or*i+vr*S+Mr*J,r[5]=or*c+vr*I+Mr*it,r[6]=Ir*n+Qt*w+Bt*tt,r[7]=Ir*i+Qt*S+Bt*J,r[8]=Ir*c+Qt*I+Bt*it,r}function W(e,t){var r=[],n=t[0],i=t[1];return r[0]=e[0]*n+e[3]*i+e[6],r[1]=e[1]*n+e[4]*i+e[7],r}function ot(e){var t=[],r=e[0],n=e[1],i=e[2],c=e[3],w=e[4],S=e[5],I=e[6],tt=e[7],J=e[8],it=J*w-S*tt,Ot=-J*c+S*I,Tt=tt*c-w*I,ht=r*it+n*Ot+i*Tt;return ht?(ht=1/ht,t[0]=it*ht,t[1]=(-J*n+i*tt)*ht,t[2]=(S*n-i*w)*ht,t[3]=Ot*ht,t[4]=(J*r-i*I)*ht,t[5]=(-S*r+i*c)*ht,t[6]=Tt*ht,t[7]=(-tt*r+n*I)*ht,t[8]=(w*r-n*c)*ht,t):null}var Lt=P.vs,kt="matrix",Zt=["zIndex","capture","visible","type"],pr=["repeat"],A=":",E="*";function N(e){for(var t=[],r=0;r<e.length;r++)(0,$.isArray)(e[r])?t.push([].concat(e[r])):t.push(e[r]);return t}function G(e,t){var r={},n=t.attrs;for(var i in e)r[i]=n[i];return r}function Z(e,t){var r={},n=t.attr();return(0,$.each)(e,function(i,c){pr.indexOf(c)===-1&&!(0,$.isEqual)(n[c],i)&&(r[c]=i)}),r}function nt(e,t){if(t.onFrame)return e;var r=t.startTime,n=t.delay,i=t.duration,c=Object.prototype.hasOwnProperty;return(0,$.each)(e,function(w){r+n<w.startTime+w.delay+w.duration&&i>w.delay&&(0,$.each)(t.toAttrs,function(S,I){c.call(w.toAttrs,I)&&(delete w.toAttrs[I],delete w.fromAttrs[I])})}),e}var rt=function(e){(0,tr.__extends)(t,e);function t(r){var n=e.call(this,r)||this;n.attrs={};var i=n.getDefaultAttrs();return(0,$.mix)(i,r.attrs),n.attrs=i,n.initAttrs(i),n.initAnimate(),n}return t.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},t.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},t.prototype.onCanvasChange=function(r){},t.prototype.initAttrs=function(r){},t.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},t.prototype.isGroup=function(){return!1},t.prototype.getParent=function(){return this.get("parent")},t.prototype.getCanvas=function(){return this.get("canvas")},t.prototype.attr=function(){for(var r,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var c=n[0],w=n[1];if(!c)return this.attrs;if((0,$.isObject)(c)){for(var S in c)this.setAttr(S,c[S]);return this.afterAttrsChange(c),this}return n.length===2?(this.setAttr(c,w),this.afterAttrsChange((r={},r[c]=w,r)),this):this.attrs[c]},t.prototype.isClipped=function(r,n){var i=this.getClip();return i&&!i.isHit(r,n)},t.prototype.setAttr=function(r,n){var i=this.attrs[r];i!==n&&(this.attrs[r]=n,this.onAttrChange(r,n,i))},t.prototype.onAttrChange=function(r,n,i){r==="matrix"&&this.set("totalMatrix",null)},t.prototype.afterAttrsChange=function(r){if(this.cfg.isClipShape){var n=this.cfg.applyTo;n&&n.onCanvasChange("clip")}else this.onCanvasChange("attr")},t.prototype.show=function(){return this.set("visible",!0),this.onCanvasChange("show"),this},t.prototype.hide=function(){return this.set("visible",!1),this.onCanvasChange("hide"),this},t.prototype.setZIndex=function(r){this.set("zIndex",r);var n=this.getParent();return n&&n.sort(),this},t.prototype.toFront=function(){var r=this.getParent();if(!!r){var n=r.getChildren(),i=this.get("el"),c=n.indexOf(this);n.splice(c,1),n.push(this),this.onCanvasChange("zIndex")}},t.prototype.toBack=function(){var r=this.getParent();if(!!r){var n=r.getChildren(),i=this.get("el"),c=n.indexOf(this);n.splice(c,1),n.unshift(this),this.onCanvasChange("zIndex")}},t.prototype.remove=function(r){r===void 0&&(r=!0);var n=this.getParent();n?(kr(n.getChildren(),this),n.get("clearing")||this.onCanvasChange("remove")):this.onCanvasChange("remove"),r&&this.destroy()},t.prototype.resetMatrix=function(){this.attr(kt,this.getDefaultMatrix()),this.onCanvasChange("matrix")},t.prototype.getMatrix=function(){return this.attr(kt)},t.prototype.setMatrix=function(r){this.attr(kt,r),this.onCanvasChange("matrix")},t.prototype.getTotalMatrix=function(){var r=this.cfg.totalMatrix;if(!r){var n=this.attr("matrix"),i=this.cfg.parentMatrix;i&&n?r=R(i,n):r=n||i,this.set("totalMatrix",r)}return r},t.prototype.applyMatrix=function(r){var n=this.attr("matrix"),i=null;r&&n?i=R(r,n):i=n||r,this.set("totalMatrix",i),this.set("parentMatrix",r)},t.prototype.getDefaultMatrix=function(){return null},t.prototype.applyToMatrix=function(r){var n=this.attr("matrix");return n?W(n,r):r},t.prototype.invertFromMatrix=function(r){var n=this.attr("matrix");if(n){var i=ot(n);if(i)return W(i,r)}return r},t.prototype.setClip=function(r){var n=this.getCanvas(),i=null;if(r){var c=this.getShapeBase(),w=(0,$.upperFirst)(r.type),S=c[w];S&&(i=new S({type:r.type,isClipShape:!0,applyTo:this,attrs:r.attrs,canvas:n}))}return this.set("clipShape",i),this.onCanvasChange("clip"),i},t.prototype.getClip=function(){var r=this.cfg.clipShape;return r||null},t.prototype.clone=function(){var r=this,n=this.attrs,i={};(0,$.each)(n,function(S,I){(0,$.isArray)(n[I])?i[I]=N(n[I]):i[I]=n[I]});var c=this.constructor,w=new c({attrs:i});return(0,$.each)(Zt,function(S){w.set(S,r.get(S))}),w},t.prototype.destroy=function(){var r=this.destroyed;r||(this.attrs={},e.prototype.destroy.call(this))},t.prototype.isAnimatePaused=function(){return this.get("_pause").isPaused},t.prototype.animate=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(!(!this.get("timeline")&&!this.get("canvas"))){this.set("animating",!0);var i=this.get("timeline");i||(i=this.get("canvas").get("timeline"),this.set("timeline",i));var c=this.get("animations")||[];i.timer||i.initTimer();var w=r[0],S=r[1],I=r[2],tt=I===void 0?"easeLinear":I,J=r[3],it=J===void 0?$.noop:J,Ot=r[4],Tt=Ot===void 0?0:Ot,ht,or,vr,Mr,Ir;(0,$.isFunction)(w)?(ht=w,w={}):(0,$.isObject)(w)&&w.onFrame&&(ht=w.onFrame,or=w.repeat),(0,$.isObject)(S)?(Ir=S,S=Ir.duration,tt=Ir.easing||"easeLinear",Tt=Ir.delay||0,or=Ir.repeat||or||!1,it=Ir.callback||$.noop,vr=Ir.pauseCallback||$.noop,Mr=Ir.resumeCallback||$.noop):((0,$.isNumber)(it)&&(Tt=it,it=null),(0,$.isFunction)(tt)?(it=tt,tt="easeLinear"):tt=tt||"easeLinear");var Qt=Z(w,this),Bt={fromAttrs:G(Qt,this),toAttrs:Qt,duration:S,easing:tt,repeat:or,callback:it,pauseCallback:vr,resumeCallback:Mr,delay:Tt,startTime:i.getTime(),id:(0,$.uniqueId)(),onFrame:ht,pathFormatted:!1};c.length>0?c=nt(c,Bt):i.addAnimator(this),c.push(Bt),this.set("animations",c),this.set("_pause",{isPaused:!1})}},t.prototype.stopAnimate=function(r){var n=this;r===void 0&&(r=!0);var i=this.get("animations");(0,$.each)(i,function(c){r&&(c.onFrame?n.attr(c.onFrame(1)):n.attr(c.toAttrs)),c.callback&&c.callback()}),this.set("animating",!1),this.set("animations",[])},t.prototype.pauseAnimate=function(){var r=this.get("timeline"),n=this.get("animations"),i=r.getTime();return(0,$.each)(n,function(c){c._paused=!0,c._pauseTime=i,c.pauseCallback&&c.pauseCallback()}),this.set("_pause",{isPaused:!0,pauseTime:i}),this},t.prototype.resumeAnimate=function(){var r=this.get("timeline"),n=r.getTime(),i=this.get("animations"),c=this.get("_pause").pauseTime;return(0,$.each)(i,function(w){w.startTime=w.startTime+(n-c),w._paused=!1,w._pauseTime=null,w.resumeCallback&&w.resumeCallback()}),this.set("_pause",{isPaused:!1}),this.set("animations",i),this},t.prototype.emitDelegation=function(r,n){var i=this,c=n.propagationPath,w=this.getEvents(),S;r==="mouseenter"?S=n.fromShape:r==="mouseleave"&&(S=n.toShape);for(var I=function(Ot){var Tt=c[Ot],ht=Tt.get("name");if(ht){if((Tt.isGroup()||Tt.isCanvas&&Tt.isCanvas())&&S&&p(Tt,S))return"break";(0,$.isArray)(ht)?(0,$.each)(ht,function(or){i.emitDelegateEvent(Tt,or,n)}):tt.emitDelegateEvent(Tt,ht,n)}},tt=this,J=0;J<c.length;J++){var it=I(J);if(it==="break")break}},t.prototype.emitDelegateEvent=function(r,n,i){var c=this.getEvents(),w=n+A+i.type;(c[w]||c[E])&&(i.name=w,i.currentTarget=r,i.delegateTarget=this,i.delegateObject=r.get("delegateObject"),this.emit(w,i))},t.prototype.translate=function(r,n){r===void 0&&(r=0),n===void 0&&(n=0);var i=this.getMatrix(),c=Lt(i,[["t",r,n]]);return this.setMatrix(c),this},t.prototype.move=function(r,n){var i=this.attr("x")||0,c=this.attr("y")||0;return this.translate(r-i,n-c),this},t.prototype.moveTo=function(r,n){return this.move(r,n)},t.prototype.scale=function(r,n){var i=this.getMatrix(),c=Lt(i,[["s",r,n||r]]);return this.setMatrix(c),this},t.prototype.rotate=function(r){var n=this.getMatrix(),i=Lt(n,[["r",r]]);return this.setMatrix(i),this},t.prototype.rotateAtStart=function(r){var n=this.attr(),i=n.x,c=n.y,w=this.getMatrix(),S=Lt(w,[["t",-i,-c],["r",r],["t",i,c]]);return this.setMatrix(S),this},t.prototype.rotateAtPoint=function(r,n,i){var c=this.getMatrix(),w=Lt(c,[["t",-r,-n],["r",i],["t",r,n]]);return this.setMatrix(w),this},t}(s),st=rt,K={},yt="_INDEX";function lt(e,t){if(e.set("canvas",t),e.isGroup()){var r=e.get("children");r.length&&r.forEach(function(n){lt(n,t)})}}function Yt(e,t){if(e.set("timeline",t),e.isGroup()){var r=e.get("children");r.length&&r.forEach(function(n){Yt(n,t)})}}function rr(e,t){var r=e.getChildren();return r.indexOf(t)>=0}function It(e,t,r){r===void 0&&(r=!0),r?t.destroy():(t.set("parent",null),t.set("canvas",null)),kr(e.getChildren(),t)}function zt(e){return function(t,r){var n=e(t,r);return n===0?t[yt]-r[yt]:n}}var Gt=function(e){(0,tr.__extends)(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.isCanvas=function(){return!1},t.prototype.getBBox=function(){var r=Infinity,n=-Infinity,i=Infinity,c=-Infinity,w=[],S=[],I=this.getChildren().filter(function(J){return J.get("visible")&&(!J.isGroup()||J.isGroup()&&J.getChildren().length>0)});I.length>0?((0,$.each)(I,function(J){var it=J.getBBox();w.push(it.minX,it.maxX),S.push(it.minY,it.maxY)}),r=(0,$.min)(w),n=(0,$.max)(w),i=(0,$.min)(S),c=(0,$.max)(S)):(r=0,n=0,i=0,c=0);var tt={x:r,y:i,minX:r,minY:i,maxX:n,maxY:c,width:n-r,height:c-i};return tt},t.prototype.getCanvasBBox=function(){var r=Infinity,n=-Infinity,i=Infinity,c=-Infinity,w=[],S=[],I=this.getChildren().filter(function(J){return J.get("visible")&&(!J.isGroup()||J.isGroup()&&J.getChildren().length>0)});I.length>0?((0,$.each)(I,function(J){var it=J.getCanvasBBox();w.push(it.minX,it.maxX),S.push(it.minY,it.maxY)}),r=(0,$.min)(w),n=(0,$.max)(w),i=(0,$.min)(S),c=(0,$.max)(S)):(r=0,n=0,i=0,c=0);var tt={x:r,y:i,minX:r,minY:i,maxX:n,maxY:c,width:n-r,height:c-i};return tt},t.prototype.getDefaultCfg=function(){var r=e.prototype.getDefaultCfg.call(this);return r.children=[],r},t.prototype.onAttrChange=function(r,n,i){if(e.prototype.onAttrChange.call(this,r,n,i),r==="matrix"){var c=this.getTotalMatrix();this._applyChildrenMarix(c)}},t.prototype.applyMatrix=function(r){var n=this.getTotalMatrix();e.prototype.applyMatrix.call(this,r);var i=this.getTotalMatrix();i!==n&&this._applyChildrenMarix(i)},t.prototype._applyChildrenMarix=function(r){var n=this.getChildren();(0,$.each)(n,function(i){i.applyMatrix(r)})},t.prototype.addShape=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=r[0],c=r[1];(0,$.isObject)(i)?c=i:c.type=i;var w=K[c.type];w||(w=(0,$.upperFirst)(c.type),K[c.type]=w);var S=this.getShapeBase(),I=new S[w](c);return this.add(I),I},t.prototype.addGroup=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=r[0],c=r[1],w;if((0,$.isFunction)(i))c?w=new i(c):w=new i({parent:this});else{var S=i||{},I=this.getGroupBase();w=new I(S)}return this.add(w),w},t.prototype.getCanvas=function(){var r;return this.isCanvas()?r=this:r=this.get("canvas"),r},t.prototype.getShape=function(r,n,i){if(!y(this))return null;var c=this.getChildren(),w;if(this.isCanvas())w=this._findShape(c,r,n,i);else{var S=[r,n,1];S=this.invertFromMatrix(S),this.isClipped(S[0],S[1])||(w=this._findShape(c,S[0],S[1],i))}return w},t.prototype._findShape=function(r,n,i,c){for(var w=null,S=r.length-1;S>=0;S--){var I=r[S];if(y(I)&&(I.isGroup()?w=I.getShape(n,i,c):I.isHit(n,i)&&(w=I)),w)break}return w},t.prototype.add=function(r){var n=this.getCanvas(),i=this.getChildren(),c=this.get("timeline"),w=r.getParent();w&&It(w,r,!1),r.set("parent",this),n&&lt(r,n),c&&Yt(r,c),i.push(r),r.onCanvasChange("add"),this._applyElementMatrix(r)},t.prototype._applyElementMatrix=function(r){var n=this.getTotalMatrix();n&&r.applyMatrix(n)},t.prototype.getChildren=function(){return this.get("children")},t.prototype.sort=function(){var r=this.getChildren();(0,$.each)(r,function(n,i){return n[yt]=i,n}),r.sort(zt(function(n,i){return n.get("zIndex")-i.get("zIndex")})),this.onCanvasChange("sort")},t.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var r=this.getChildren(),n=r.length-1;n>=0;n--)r[n].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},t.prototype.destroy=function(){this.get("destroyed")||(this.clear(),e.prototype.destroy.call(this))},t.prototype.getFirst=function(){return this.getChildByIndex(0)},t.prototype.getLast=function(){var r=this.getChildren();return this.getChildByIndex(r.length-1)},t.prototype.getChildByIndex=function(r){var n=this.getChildren();return n[r]},t.prototype.getCount=function(){var r=this.getChildren();return r.length},t.prototype.contain=function(r){var n=this.getChildren();return n.indexOf(r)>-1},t.prototype.removeChild=function(r,n){n===void 0&&(n=!0),this.contain(r)&&r.remove(n)},t.prototype.findAll=function(r){var n=[],i=this.getChildren();return(0,$.each)(i,function(c){r(c)&&n.push(c),c.isGroup()&&(n=n.concat(c.findAll(r)))}),n},t.prototype.find=function(r){var n=null,i=this.getChildren();return(0,$.each)(i,function(c){if(r(c)?n=c:c.isGroup()&&(n=c.find(r)),n)return!1}),n},t.prototype.findById=function(r){return this.find(function(n){return n.get("id")===r})},t.prototype.findByClassName=function(r){return this.find(function(n){return n.get("className")===r})},t.prototype.findAllByName=function(r){return this.findAll(function(n){return n.get("name")===r})},t}(st),er=Gt,Dt=0,Ut=0,B=0,x=1e3,o,C,k=0,U=0,et=0,at=typeof performance=="object"&&performance.now?performance:Date,pt=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function br(){return U||(pt(xr),U=at.now()+et)}function xr(){U=0}function Gr(){this._call=this._time=this._next=null}Gr.prototype=Vr.prototype={constructor:Gr,restart:function(e,t,r){if(typeof e!="function")throw new TypeError("callback is not a function");r=(r==null?br():+r)+(t==null?0:+t),!this._next&&C!==this&&(C?C._next=this:o=this,C=this),this._call=e,this._time=r,me()},stop:function(){this._call&&(this._call=null,this._time=Infinity,me())}};function Vr(e,t,r){var n=new Gr;return n.restart(e,t,r),n}function ae(){br(),++Dt;for(var e=o,t;e;)(t=U-e._time)>=0&&e._call.call(null,t),e=e._next;--Dt}function he(){U=(k=at.now())+et,Dt=Ut=0;try{ae()}finally{Dt=0,Me(),U=0}}function re(){var e=at.now(),t=e-k;t>x&&(et-=t,k=e)}function Me(){for(var e,t=o,r,n=Infinity;t;)t._call?(n>t._time&&(n=t._time),e=t,t=t._next):(r=t._next,t._next=null,t=e?e._next=r:o=r);C=e,me(n)}function me(e){if(!Dt){Ut&&(Ut=clearTimeout(Ut));var t=e-U;t>24?(e<Infinity&&(Ut=setTimeout(he,e-at.now()-et)),B&&(B=clearInterval(B))):(B||(k=at.now(),B=setInterval(re,x)),Dt=1,pt(he))}}function ye(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function Se(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function Ae(){}var Ce=.7,M=1/Ce,l="\\s*([+-]?\\d+)\\s*",a="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",f="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",g=/^#([0-9a-f]{3,8})$/,D=new RegExp("^rgb\\("+[l,l,l]+"\\)$"),Y=new RegExp("^rgb\\("+[f,f,f]+"\\)$"),z=new RegExp("^rgba\\("+[l,l,l,a]+"\\)$"),gt=new RegExp("^rgba\\("+[f,f,f,a]+"\\)$"),wt=new RegExp("^hsl\\("+[a,f,f]+"\\)$"),St=new RegExp("^hsla\\("+[a,f,f,a]+"\\)$"),xt={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};ye(Ae,Hr,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Vt,formatHex:Vt,formatHsl:lr,formatRgb:Xr,toString:Xr});function Vt(){return this.rgb().formatHex()}function lr(){return h(this).formatHsl()}function Xr(){return this.rgb().formatRgb()}function Hr(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=g.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?Jr(t):r===3?new Or(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?qr(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?qr(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=D.exec(e))?new Or(t[1],t[2],t[3],1):(t=Y.exec(e))?new Or(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=z.exec(e))?qr(t[1],t[2],t[3],t[4]):(t=gt.exec(e))?qr(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=wt.exec(e))?we(t[1],t[2]/100,t[3]/100,1):(t=St.exec(e))?we(t[1],t[2]/100,t[3]/100,t[4]):xt.hasOwnProperty(e)?Jr(xt[e]):e==="transparent"?new Or(NaN,NaN,NaN,0):null}function Jr(e){return new Or(e>>16&255,e>>8&255,e&255,1)}function qr(e,t,r,n){return n<=0&&(e=t=r=NaN),new Or(e,t,r,n)}function Kr(e){return e instanceof Ae||(e=Hr(e)),e?(e=e.rgb(),new Or(e.r,e.g,e.b,e.opacity)):new Or}function Ur(e,t,r,n){return arguments.length===1?Kr(e):new Or(e,t,r,n==null?1:n)}function Or(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}ye(Or,Ur,Se(Ae,{brighter:function(e){return e=e==null?M:Math.pow(M,e),new Or(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=e==null?Ce:Math.pow(Ce,e),new Or(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:te,formatHex:te,formatRgb:ge,toString:ge}));function te(){return"#"+$r(this.r)+$r(this.g)+$r(this.b)}function ge(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(e===1?")":", "+e+")")}function $r(e){return e=Math.max(0,Math.min(255,Math.round(e)||0)),(e<16?"0":"")+e.toString(16)}function we(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new b(e,t,r,n)}function h(e){if(e instanceof b)return new b(e.h,e.s,e.l,e.opacity);if(e instanceof Ae||(e=Hr(e)),!e)return new b;if(e instanceof b)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),c=Math.max(t,r,n),w=NaN,S=c-i,I=(c+i)/2;return S?(t===c?w=(r-n)/S+(r<n)*6:r===c?w=(n-t)/S+2:w=(t-r)/S+4,S/=I<.5?c+i:2-c-i,w*=60):S=I>0&&I<1?0:w,new b(w,S,I,e.opacity)}function m(e,t,r,n){return arguments.length===1?h(e):new b(e,t,r,n==null?1:n)}function b(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}ye(b,m,Se(Ae,{brighter:function(e){return e=e==null?M:Math.pow(M,e),new b(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?Ce:Math.pow(Ce,e),new b(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new Or(q(e>=240?e-240:e+120,i,n),q(e,i,n),q(e<120?e+240:e-120,i,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(e===1?")":", "+e+")")}}));function q(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}function X(e,t,r,n,i){var c=e*e,w=c*e;return((1-3*e+3*c-w)*t+(4-6*c+3*w)*r+(1+3*e+3*c-3*w)*n+w*i)/6}function Q(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),i=e[n],c=e[n+1],w=n>0?e[n-1]:2*i-c,S=n<t-1?e[n+2]:2*c-i;return X((r-n/t)*t,w,i,c,S)}}function bt(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),i=e[(n+t-1)%t],c=e[n%t],w=e[(n+1)%t],S=e[(n+2)%t];return X((r-n/t)*t,i,c,w,S)}}function Et(e){return function(){return e}}function nr(e,t){return function(r){return e+r*t}}function qt(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function jt(e,t){var r=t-e;return r?nr(e,r>180||r<-180?r-360*Math.round(r/360):r):constant(isNaN(e)?t:e)}function Yr(e){return(e=+e)==1?Nr:function(t,r){return r-t?qt(t,r,e):Et(isNaN(t)?r:t)}}function Nr(e,t){var r=t-e;return r?nr(e,r):Et(isNaN(e)?t:e)}var Qr=function e(t){var r=Yr(t);function n(i,c){var w=r((i=Ur(i)).r,(c=Ur(c)).r),S=r(i.g,c.g),I=r(i.b,c.b),tt=Nr(i.opacity,c.opacity);return function(J){return i.r=w(J),i.g=S(J),i.b=I(J),i.opacity=tt(J),i+""}}return n.gamma=e,n}(1);function Rr(e){return function(t){var r=t.length,n=new Array(r),i=new Array(r),c=new Array(r),w,S;for(w=0;w<r;++w)S=Ur(t[w]),n[w]=S.r||0,i[w]=S.g||0,c[w]=S.b||0;return n=e(n),i=e(i),c=e(c),S.opacity=1,function(I){return S.r=n(I),S.g=i(I),S.b=c(I),S+""}}}var oe=Rr(Q),se=Rr(bt);function ve(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),i;return function(c){for(i=0;i<r;++i)n[i]=e[i]*(1-c)+t[i]*c;return n}}function jr(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Te(e,t){return(jr(t)?ve:ue)(e,t)}function ue(e,t){var r=t?t.length:0,n=e?Math.min(r,e.length):0,i=new Array(n),c=new Array(r),w;for(w=0;w<n;++w)i[w]=Be(e[w],t[w]);for(;w<r;++w)c[w]=t[w];return function(S){for(w=0;w<n;++w)c[w]=i[w](S);return c}}function fe(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function ce(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function Ie(e,t){var r={},n={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?r[i]=Be(e[i],t[i]):n[i]=t[i];return function(c){for(i in r)n[i]=r[i](c);return n}}var ie=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,pe=new RegExp(ie.source,"g");function Oe(e){return function(){return e}}function He(e){return function(t){return e(t)+""}}function ke(e,t){var r=ie.lastIndex=pe.lastIndex=0,n,i,c,w=-1,S=[],I=[];for(e=e+"",t=t+"";(n=ie.exec(e))&&(i=pe.exec(t));)(c=i.index)>r&&(c=t.slice(r,c),S[w]?S[w]+=c:S[++w]=c),(n=n[0])===(i=i[0])?S[w]?S[w]+=i:S[++w]=i:(S[++w]=null,I.push({i:w,x:ce(n,i)})),r=pe.lastIndex;return r<t.length&&(c=t.slice(r),S[w]?S[w]+=c:S[++w]=c),S.length<2?I[0]?He(I[0].x):Oe(t):(t=I.length,function(tt){for(var J=0,it;J<t;++J)S[(it=I[J]).i]=it.x(tt);return S.join("")})}function Be(e,t){var r=typeof t,n;return t==null||r==="boolean"?Et(t):(r==="number"?ce:r==="string"?(n=Hr(t))?(t=n,Qr):ke:t instanceof Hr?Qr:t instanceof Date?fe:jr(t)?ve:Array.isArray(t)?ue:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?Ie:ce)(e,t)}function Qe(e){return+e}function Ne(e){return e*e}function Ee(e){return e*(2-e)}function qe(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function Ge(e){return e*e*e}function Le(e){return--e*e*e+1}function be(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var We=3,Ke=function e(t){t=+t;function r(n){return Math.pow(n,t)}return r.exponent=e,r}(We),an=function e(t){t=+t;function r(n){return 1-Math.pow(1-n,t)}return r.exponent=e,r}(We),on=function e(t){t=+t;function r(n){return((n*=2)<=1?Math.pow(n,t):2-Math.pow(2-n,t))/2}return r.exponent=e,r}(We),Je=Math.PI,sn=Je/2;function pn(e){return+e==1?1:1-Math.cos(e*sn)}function gn(e){return Math.sin(e*sn)}function un(e){return(1-Math.cos(Je*e))/2}function Pe(e){return(Math.pow(2,-10*e)-.0009765625)*1.0009775171065494}function dn(e){return Pe(1-+e)}function mn(e){return 1-Pe(e)}function fn(e){return((e*=2)<=1?Pe(1-e):2-Pe(e-1))/2}function yn(e){return 1-Math.sqrt(1-e*e)}function je(e){return Math.sqrt(1- --e*e)}function tn(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}var rn=4/11,xn=6/11,Mn=8/11,wn=3/4,An=9/11,Cn=10/11,bn=15/16,_n=21/22,Sn=63/64,Ve=1/rn/rn;function En(e){return 1-ze(1-e)}function ze(e){return(e=+e)<rn?Ve*e*e:e<Mn?Ve*(e-=xn)*e+wn:e<Cn?Ve*(e-=An)*e+bn:Ve*(e-=_n)*e+Sn}function Ze(e){return((e*=2)<=1?1-ze(1-e):ze(e-1)+1)/2}var en=1.70158,Pn=function e(t){t=+t;function r(n){return(n=+n)*n*(t*(n-1)+n)}return r.overshoot=e,r}(en),Tn=function e(t){t=+t;function r(n){return--n*n*((n+1)*t+n)+1}return r.overshoot=e,r}(en),cn=function e(t){t=+t;function r(n){return((n*=2)<1?n*n*((t+1)*n-t):(n-=2)*n*((t+1)*n+t)+2)/2}return r.overshoot=e,r}(en),Ye=2*Math.PI,Fe=1,De=.3,In=function e(t,r){var n=Math.asin(1/(t=Math.max(1,t)))*(r/=Ye);function i(c){return t*Pe(- --c)*Math.sin((n-c)/r)}return i.amplitude=function(c){return e(c,r*Ye)},i.period=function(c){return e(t,c)},i}(Fe,De),ln=function e(t,r){var n=Math.asin(1/(t=Math.max(1,t)))*(r/=Ye);function i(c){return 1-t*Pe(c=+c)*Math.sin((c+n)/r)}return i.amplitude=function(c){return e(c,r*Ye)},i.period=function(c){return e(t,c)},i}(Fe,De),Dn=function e(t,r){var n=Math.asin(1/(t=Math.max(1,t)))*(r/=Ye);function i(c){return((c=c*2-1)<0?t*Pe(-c)*Math.sin((n-c)/r):2-t*Pe(c)*Math.sin((n+c)/r))/2}return i.amplitude=function(c){return e(c,r*Ye)},i.period=function(c){return e(t,c)},i}(Fe,De),u={};function T(e){return u[e.toLowerCase()]||F[e]}function H(e,t){u[e.toLowerCase()]=t}var V=function(e){return["fill","stroke","fillStyle","strokeStyle"].includes(e)},ct=function(e){return/^[r,R,L,l]{1}[\s]*\(/.test(e)},Ft=[1,0,0,0,1,0,0,0,1];function hr(e,t,r){var n={},i=t.fromAttrs,c=t.toAttrs;if(!e.destroyed){var w;for(var S in c)if(!(0,$.isEqual)(i[S],c[S]))if(S==="path"){var I=c[S],tt=i[S];I.length>tt.length?(I=mr(c[S]),tt=mr(i[S]),tt=mt(tt,I),tt=Wt(tt,I),t.fromAttrs.path=tt,t.toAttrs.path=I):t.pathFormatted||(I=mr(c[S]),tt=mr(i[S]),tt=Wt(tt,I),t.fromAttrs.path=tt,t.toAttrs.path=I,t.pathFormatted=!0),n[S]=[];for(var J=0;J<I.length;J++){for(var it=I[J],Ot=tt[J],Tt=[],ht=0;ht<it.length;ht++)(0,$.isNumber)(it[ht])&&Ot&&(0,$.isNumber)(Ot[ht])?(w=Be(Ot[ht],it[ht]),Tt.push(w(r))):Tt.push(it[ht]);n[S].push(Tt)}}else if(S==="matrix"){var or=Te(i[S]||Ft,c[S]||Ft),vr=or(r);n[S]=vr}else V(S)&&ct(c[S])?n[S]=c[S]:(0,$.isFunction)(c[S])||(w=Be(i[S],c[S]),n[S]=w(r));e.attr(n)}}function Fr(e,t,r){var n=t.startTime,i=t.delay;if(r<n+i||t._paused)return!1;var c,w=t.duration,S=t.easing,I=T(S);if(r=r-n-t.delay,t.repeat)c=r%w/w,c=I(c);else if(c=r/w,c<1)c=I(c);else return t.onFrame?e.attr(t.onFrame(1)):e.attr(t.toAttrs),!0;if(t.onFrame){var tt=t.onFrame(c);e.attr(tt)}else hr(e,t,c);return!1}var le=function(){function e(t){this.animators=[],this.current=0,this.timer=null,this.canvas=t}return e.prototype.initTimer=function(){var t=this,r=!1,n,i,c;this.timer=Vr(function(w){if(t.current=w,t.animators.length>0){for(var S=t.animators.length-1;S>=0;S--){if(n=t.animators[S],n.destroyed){t.removeAnimator(S);continue}if(!n.isAnimatePaused()){i=n.get("animations");for(var I=i.length-1;I>=0;I--)c=i[I],r=Fr(n,c,w),r&&(i.splice(I,1),r=!1,c.callback&&c.callback())}i.length===0&&t.removeAnimator(S)}var tt=t.canvas.get("autoDraw");tt||t.canvas.draw()}})},e.prototype.addAnimator=function(t){this.animators.push(t)},e.prototype.removeAnimator=function(t){this.animators.splice(t,1)},e.prototype.isAnimating=function(){return!!this.animators.length},e.prototype.stop=function(){this.timer&&this.timer.stop()},e.prototype.stopAllAnimations=function(t){t===void 0&&(t=!0),this.animators.forEach(function(r){r.stopAnimate(t)}),this.animators=[],this.canvas.draw()},e.prototype.getTime=function(){return this.current},e}(),de=le,xe=40,Ue=0,ra=":",Nn=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function ka(e,t){for(var r in e)if(e.hasOwnProperty(r)&&r.indexOf(ra+t)>=0)return!0;return!1}function Ln(e,t,r){r.name=t,r.target=e,r.currentTarget=e,r.delegateTarget=e,e.emit(t,r)}function ea(e,t,r){if(r.bubbles){var n=void 0,i=!1;if(t==="mouseenter"?(n=r.fromShape,i=!0):t==="mouseleave"&&(i=!0,n=r.toShape),e.isCanvas()&&i)return;if(n&&p(e,n)){r.bubbles=!1;return}r.name=t,r.currentTarget=e,r.delegateTarget=e,e.emit(t,r)}}var na=function(){function e(t){var r=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(n){var i=n.type;r._triggerEvent(i,n)},this._onDocumentMove=function(n){var i=r.canvas,c=i.get("el");if(c!==n.target&&(r.dragging||r.currentShape)){var w=r._getPointInfo(n);r.dragging&&r._emitEvent("drag",n,w,r.draggingShape)}},this._onDocumentMouseUp=function(n){var i=r.canvas,c=i.get("el");if(c!==n.target&&r.dragging){var w=r._getPointInfo(n);r.draggingShape&&r._emitEvent("drop",n,w,null),r._emitEvent("dragend",n,w,r.draggingShape),r._afterDrag(r.draggingShape,w,n)}},this.canvas=t.canvas}return e.prototype.init=function(){this._bindEvents()},e.prototype._bindEvents=function(){var t=this,r=this.canvas.get("el");(0,$.each)(Nn,function(n){r.addEventListener(n,t._eventCallback)}),document&&(document.addEventListener("mousemove",this._onDocumentMove),document.addEventListener("mouseup",this._onDocumentMouseUp))},e.prototype._clearEvents=function(){var t=this,r=this.canvas.get("el");(0,$.each)(Nn,function(n){r.removeEventListener(n,t._eventCallback)}),document&&(document.removeEventListener("mousemove",this._onDocumentMove),document.removeEventListener("mouseup",this._onDocumentMouseUp))},e.prototype._getEventObj=function(t,r,n,i,c,w){var S=new ur(t,r);return S.fromShape=c,S.toShape=w,S.x=n.x,S.y=n.y,S.clientX=n.clientX,S.clientY=n.clientY,S.propagationPath.push(i),S},e.prototype._getShape=function(t,r){return this.canvas.getShape(t.x,t.y,r)},e.prototype._getPointInfo=function(t){var r=this.canvas,n=r.getClientByEvent(t),i=r.getPointByEvent(t);return{x:i.x,y:i.y,clientX:n.x,clientY:n.y}},e.prototype._triggerEvent=function(t,r){var n=this._getPointInfo(r),i=this._getShape(n,r),c=this["_on"+t],w=!1;if(c)c.call(this,n,i,r);else{var S=this.currentShape;t==="mouseenter"||t==="dragenter"||t==="mouseover"?(this._emitEvent(t,r,n,null,null,i),i&&this._emitEvent(t,r,n,i,null,i),t==="mouseenter"&&this.draggingShape&&this._emitEvent("dragenter",r,n,null)):t==="mouseleave"||t==="dragleave"||t==="mouseout"?(w=!0,S&&this._emitEvent(t,r,n,S,S,null),this._emitEvent(t,r,n,null,S,null),t==="mouseleave"&&this.draggingShape&&this._emitEvent("dragleave",r,n,null)):this._emitEvent(t,r,n,i,null,null)}if(w||(this.currentShape=i),i&&!i.get("destroyed")){var I=this.canvas,tt=I.get("el");tt.style.cursor=i.attr("cursor")||I.get("cursor")}},e.prototype._onmousedown=function(t,r,n){n.button===Ue&&(this.mousedownShape=r,this.mousedownPoint=t,this.mousedownTimeStamp=n.timeStamp),this._emitEvent("mousedown",n,t,r,null,null)},e.prototype._emitMouseoverEvents=function(t,r,n,i){var c=this.canvas.get("el");n!==i&&(n&&(this._emitEvent("mouseout",t,r,n,n,i),this._emitEvent("mouseleave",t,r,n,n,i),(!i||i.get("destroyed"))&&(c.style.cursor=this.canvas.get("cursor"))),i&&(this._emitEvent("mouseover",t,r,i,n,i),this._emitEvent("mouseenter",t,r,i,n,i)))},e.prototype._emitDragoverEvents=function(t,r,n,i,c){i?(i!==n&&(n&&this._emitEvent("dragleave",t,r,n,n,i),this._emitEvent("dragenter",t,r,i,n,i)),c||this._emitEvent("dragover",t,r,i)):n&&this._emitEvent("dragleave",t,r,n,n,i),c&&this._emitEvent("dragover",t,r,i)},e.prototype._afterDrag=function(t,r,n){t&&(t.set("capture",!0),this.draggingShape=null),this.dragging=!1;var i=this._getShape(r,n);i!==t&&this._emitMouseoverEvents(n,r,t,i),this.currentShape=i},e.prototype._onmouseup=function(t,r,n){if(n.button===Ue){var i=this.draggingShape;this.dragging?(i&&this._emitEvent("drop",n,t,r),this._emitEvent("dragend",n,t,i),this._afterDrag(i,t,n)):(this._emitEvent("mouseup",n,t,r),r===this.mousedownShape&&this._emitEvent("click",n,t,r),this.mousedownShape=null,this.mousedownPoint=null)}},e.prototype._ondragover=function(t,r,n){n.preventDefault();var i=this.currentShape;this._emitDragoverEvents(n,t,i,r,!0)},e.prototype._onmousemove=function(t,r,n){var i=this.canvas,c=this.currentShape,w=this.draggingShape;if(this.dragging)w&&this._emitDragoverEvents(n,t,c,r,!1),this._emitEvent("drag",n,t,w);else{var S=this.mousedownPoint;if(S){var I=this.mousedownShape,tt=n.timeStamp,J=tt-this.mousedownTimeStamp,it=S.clientX-t.clientX,Ot=S.clientY-t.clientY,Tt=it*it+Ot*Ot;J>120||Tt>xe?I&&I.get("draggable")?(w=this.mousedownShape,w.set("capture",!1),this.draggingShape=w,this.dragging=!0,this._emitEvent("dragstart",n,t,w),this.mousedownShape=null,this.mousedownPoint=null):!I&&i.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",n,t,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(n,t,c,r),this._emitEvent("mousemove",n,t,r)):(this._emitMouseoverEvents(n,t,c,r),this._emitEvent("mousemove",n,t,r))}else this._emitMouseoverEvents(n,t,c,r),this._emitEvent("mousemove",n,t,r)}},e.prototype._emitEvent=function(t,r,n,i,c,w){var S=this._getEventObj(t,r,n,i,c,w);if(i){S.shape=i,Ln(i,t,S);for(var I=i.getParent();I;)I.emitDelegation(t,S),S.propagationStopped||ea(I,t,S),S.propagationPath.push(I),I=I.getParent()}else{var tt=this.canvas;Ln(tt,t,S)}},e.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},e}(),aa=na,Yn="px",Fn=(0,d.qY)(),ia=Fn&&Fn.name==="firefox",oa=function(e){(0,tr.__extends)(t,e);function t(r){var n=e.call(this,r)||this;return n.initContainer(),n.initDom(),n.initEvents(),n.initTimeline(),n}return t.prototype.getDefaultCfg=function(){var r=e.prototype.getDefaultCfg.call(this);return r.cursor="default",r.supportCSSTransform=!1,r},t.prototype.initContainer=function(){var r=this.get("container");(0,$.isString)(r)&&(r=document.getElementById(r),this.set("container",r))},t.prototype.initDom=function(){var r=this.createDom();this.set("el",r);var n=this.get("container");n.appendChild(r),this.setDOMSize(this.get("width"),this.get("height"))},t.prototype.initEvents=function(){var r=new aa({canvas:this});r.init(),this.set("eventController",r)},t.prototype.initTimeline=function(){var r=new de(this);this.set("timeline",r)},t.prototype.setDOMSize=function(r,n){var i=this.get("el");L&&(i.style.width=r+Yn,i.style.height=n+Yn)},t.prototype.changeSize=function(r,n){this.setDOMSize(r,n),this.set("width",r),this.set("height",n),this.onCanvasChange("changeSize")},t.prototype.getRenderer=function(){return this.get("renderer")},t.prototype.getCursor=function(){return this.get("cursor")},t.prototype.setCursor=function(r){this.set("cursor",r);var n=this.get("el");L&&n&&(n.style.cursor=r)},t.prototype.getPointByEvent=function(r){var n=this.get("supportCSSTransform");if(n){if(ia&&!(0,$.isNil)(r.layerX)&&r.layerX!==r.offsetX)return{x:r.layerX,y:r.layerY};if(!(0,$.isNil)(r.offsetX))return{x:r.offsetX,y:r.offsetY}}var i=this.getClientByEvent(r),c=i.x,w=i.y;return this.getPointByClient(c,w)},t.prototype.getClientByEvent=function(r){var n=r;return r.touches&&(r.type==="touchend"?n=r.changedTouches[0]:n=r.touches[0]),{x:n.clientX,y:n.clientY}},t.prototype.getPointByClient=function(r,n){var i=this.get("el"),c=i.getBoundingClientRect();return{x:r-c.left,y:n-c.top}},t.prototype.getClientByPoint=function(r,n){var i=this.get("el"),c=i.getBoundingClientRect();return{x:r+c.left,y:n+c.top}},t.prototype.draw=function(){},t.prototype.removeDom=function(){var r=this.get("el");r.parentNode.removeChild(r)},t.prototype.clearEvents=function(){var r=this.get("eventController");r.destroy()},t.prototype.isCanvas=function(){return!0},t.prototype.getParent=function(){return null},t.prototype.destroy=function(){var r=this.get("timeline");this.get("destroyed")||(this.clear(),r&&r.stop(),this.clearEvents(),this.removeDom(),e.prototype.destroy.call(this))},t}(er),sa=oa,ua=function(e){(0,tr.__extends)(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.isGroup=function(){return!0},t.prototype.isEntityGroup=function(){return!1},t.prototype.clone=function(){for(var r=e.prototype.clone.call(this),n=this.getChildren(),i=0;i<n.length;i++){var c=n[i];r.add(c.clone())}return r},t}(er),fa=ua,ca=function(e){(0,tr.__extends)(t,e);function t(r){return e.call(this,r)||this}return t.prototype._isInBBox=function(r,n){var i=this.getBBox();return i.minX<=r&&i.maxX>=r&&i.minY<=n&&i.maxY>=n},t.prototype.afterAttrsChange=function(r){e.prototype.afterAttrsChange.call(this,r),this.clearCacheBBox()},t.prototype.getBBox=function(){var r=this.cfg.bbox;return r||(r=this.calculateBBox(),this.set("bbox",r)),r},t.prototype.getCanvasBBox=function(){var r=this.cfg.canvasBBox;return r||(r=this.calculateCanvasBBox(),this.set("canvasBBox",r)),r},t.prototype.applyMatrix=function(r){e.prototype.applyMatrix.call(this,r),this.set("canvasBBox",null)},t.prototype.calculateCanvasBBox=function(){var r=this.getBBox(),n=this.getTotalMatrix(),i=r.minX,c=r.minY,w=r.maxX,S=r.maxY;if(n){var I=W(n,[r.minX,r.minY]),tt=W(n,[r.maxX,r.minY]),J=W(n,[r.minX,r.maxY]),it=W(n,[r.maxX,r.maxY]);i=Math.min(I[0],tt[0],J[0],it[0]),w=Math.max(I[0],tt[0],J[0],it[0]),c=Math.min(I[1],tt[1],J[1],it[1]),S=Math.max(I[1],tt[1],J[1],it[1])}var Ot=this.attrs;if(Ot.shadowColor){var Tt=Ot.shadowBlur,ht=Tt===void 0?0:Tt,or=Ot.shadowOffsetX,vr=or===void 0?0:or,Mr=Ot.shadowOffsetY,Ir=Mr===void 0?0:Mr,Qt=i-ht+vr,Bt=w+ht+vr,_r=c-ht+Ir,Zr=S+ht+Ir;i=Math.min(i,Qt),w=Math.max(w,Bt),c=Math.min(c,_r),S=Math.max(S,Zr)}return{x:i,y:c,minX:i,minY:c,maxX:w,maxY:S,width:w-i,height:S-c}},t.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},t.prototype.isClipShape=function(){return this.get("isClipShape")},t.prototype.isInShape=function(r,n){return!1},t.prototype.isOnlyHitBox=function(){return!1},t.prototype.isHit=function(r,n){var i=this.get("startArrowShape"),c=this.get("endArrowShape"),w=[r,n,1];w=this.invertFromMatrix(w);var S=w[0],I=w[1],tt=this._isInBBox(S,I);return this.isOnlyHitBox()?tt:!!(tt&&!this.isClipped(S,I)&&(this.isInShape(S,I)||i&&i.isHit(S,I)||c&&c.isHit(S,I)))},t}(st),la=ca,Rn=new Map;function _e(e,t){Rn.set(e,t)}function ha(e){return Rn.get(e)}function Xn(e){var t=e.attr(),r=t.x,n=t.y,i=t.width,c=t.height;return{x:r,y:n,width:i,height:c}}function Hn(e){var t=e.attr(),r=t.x,n=t.y,i=t.r;return{x:r-i,y:n-i,width:i*2,height:i*2}}var nn=Xt(89838);function qn(e,t){return!e||!t?e||t:{minX:Math.min(e.minX,t.minX),minY:Math.min(e.minY,t.minY),maxX:Math.max(e.maxX,t.maxX),maxY:Math.max(e.maxY,t.maxY)}}function On(e,t){var r=e.get("startArrowShape"),n=e.get("endArrowShape"),i=null,c=null;return r&&(i=r.getCanvasBBox(),t=qn(t,i)),n&&(c=n.getCanvasBBox(),t=qn(t,c)),t}function va(e){for(var t=e.attr(),r=t.points,n=[],i=[],c=0;c<r.length;c++){var w=r[c];n.push(w[0]),i.push(w[1])}var S=nn.Zr.getBBoxByArray(n,i),I=S.x,tt=S.y,J=S.width,it=S.height,Ot={minX:I,minY:tt,maxX:I+J,maxY:tt+it};return Ot=On(e,Ot),{x:Ot.minX,y:Ot.minY,width:Ot.maxX-Ot.minX,height:Ot.maxY-Ot.minY}}function pa(e){for(var t=e.attr(),r=t.points,n=[],i=[],c=0;c<r.length;c++){var w=r[c];n.push(w[0]),i.push(w[1])}return nn.Zr.getBBoxByArray(n,i)}var kn=null;function zn(){if(!kn){var e=document.createElement("canvas");e.width=1,e.height=1,kn=e.getContext("2d")}return kn}function Gn(e,t,r){var n=1;if((0,$.isString)(e)&&(n=e.split(`
  3. `).length),n>1){var i=ga(t,r);return t*n+i*(n-1)}return t}function ga(e,t){return t?t-e:e*.14}function da(e,t){var r=zn(),n=0;if((0,$.isNil)(e)||e==="")return n;if(r.save(),r.font=t,(0,$.isString)(e)&&e.includes(`
  4. `)){var i=e.split(`
  5. `);(0,$.each)(i,function(c){var w=r.measureText(c).width;n<w&&(n=w)})}else n=r.measureText(e).width;return r.restore(),n}function Wn(e){var t=e.fontSize,r=e.fontFamily,n=e.fontWeight,i=e.fontStyle,c=e.fontVariant;return[i,c,n,t+"px",r].join(" ").trim()}function ma(e){var t=e.attr(),r=t.x,n=t.y,i=t.text,c=t.fontSize,w=t.lineHeight,S=t.font;S||(S=Wn(t));var I=da(i,S),tt;if(!I)tt={x:r,y:n,width:0,height:0};else{var J=t.textAlign,it=t.textBaseline,Ot=Gn(i,c,w),Tt={x:r,y:n-Ot};J&&(J==="end"||J==="right"?Tt.x-=I:J==="center"&&(Tt.x-=I/2)),it&&(it==="top"?Tt.y+=Ot:it==="middle"&&(Tt.y+=Ot/2)),tt={x:Tt.x,y:Tt.y,width:I,height:Ot}}return tt}var ya=Xt(80389);function xa(e,t){for(var r=[],n=[],i=[],c=0;c<e.length;c++){var w=e[c],S=w.currentPoint,I=w.params,tt=w.prePoint,J=void 0;switch(w.command){case"Q":J=nn.lD.box(tt[0],tt[1],I[1],I[2],I[3],I[4]);break;case"C":J=nn.Ll.box(tt[0],tt[1],I[1],I[2],I[3],I[4],I[5],I[6]);break;case"A":var it=w.arcParams;J=nn.wN.box(it.cx,it.cy,it.rx,it.ry,it.xRotation,it.startAngle,it.endAngle);break;default:r.push(S[0]),n.push(S[1]);break}J&&(w.box=J,r.push(J.x,J.x+J.width),n.push(J.y,J.y+J.height)),t&&(w.command==="L"||w.command==="M")&&w.prePoint&&w.nextPoint&&i.push(w)}r=r.filter(function(Mr){return!Number.isNaN(Mr)&&Mr!==Infinity&&Mr!==-Infinity}),n=n.filter(function(Mr){return!Number.isNaN(Mr)&&Mr!==Infinity&&Mr!==-Infinity});var Ot=(0,$.min)(r),Tt=(0,$.min)(n),ht=(0,$.max)(r),or=(0,$.max)(n);if(i.length===0)return{x:Ot,y:Tt,width:ht-Ot,height:or-Tt};for(var c=0;c<i.length;c++){var w=i[c],S=w.currentPoint,vr=void 0;S[0]===Ot?(vr=hn(w,t),Ot=Ot-vr.xExtra):S[0]===ht&&(vr=hn(w,t),ht=ht+vr.xExtra),S[1]===Tt?(vr=hn(w,t),Tt=Tt-vr.yExtra):S[1]===or&&(vr=hn(w,t),or=or+vr.yExtra)}return{x:Ot,y:Tt,width:ht-Ot,height:or-Tt}}function hn(e,t){var r=e.prePoint,n=e.currentPoint,i=e.nextPoint,c=Math.pow(n[0]-r[0],2)+Math.pow(n[1]-r[1],2),w=Math.pow(n[0]-i[0],2)+Math.pow(n[1]-i[1],2),S=Math.pow(r[0]-i[0],2)+Math.pow(r[1]-i[1],2),I=Math.acos((c+w-S)/(2*Math.sqrt(c)*Math.sqrt(w)));if(!I||Math.sin(I)===0||(0,$.isNumberEqual)(I,0))return{xExtra:0,yExtra:0};var tt=Math.abs(Math.atan2(i[1]-n[1],i[0]-n[0])),J=Math.abs(Math.atan2(i[0]-n[0],i[1]-n[1]));tt=tt>Math.PI/2?Math.PI-tt:tt,J=J>Math.PI/2?Math.PI-J:J;var it={xExtra:Math.cos(I/2-tt)*(t/2*(1/Math.sin(I/2)))-t/2||0,yExtra:Math.cos(J-I/2)*(t/2*(1/Math.sin(I/2)))-t/2||0};return it}function Ma(e){var t=e.attr(),r=t.path,n=t.stroke,i=n?t.lineWidth:0,c=e.get("segments")||(0,ya.zx)(r),w=xa(c,i),S=w.x,I=w.y,tt=w.width,J=w.height,it={minX:S,minY:I,maxX:S+tt,maxY:I+J};return it=On(e,it),{x:it.minX,y:it.minY,width:it.maxX-it.minX,height:it.maxY-it.minY}}function wa(e){var t=e.attr(),r=t.x1,n=t.y1,i=t.x2,c=t.y2,w=Math.min(r,i),S=Math.max(r,i),I=Math.min(n,c),tt=Math.max(n,c),J={minX:w,maxX:S,minY:I,maxY:tt};return J=On(e,J),{x:J.minX,y:J.minY,width:J.maxX-J.minX,height:J.maxY-J.minY}}function Aa(e){var t=e.attr(),r=t.x,n=t.y,i=t.rx,c=t.ry;return{x:r-i,y:n-c,width:i*2,height:c*2}}_e("rect",Xn),_e("image",Xn),_e("circle",Hn),_e("marker",Hn),_e("polyline",va),_e("polygon",pa),_e("text",ma),_e("path",Ma),_e("line",wa),_e("ellipse",Aa);var Ba="0.5.11"},13063:function(ne,Pr,Xt){"use strict";Xt.r(Pr),Xt.d(Pr,{AbstractCanvas:function(){return $.$Z},AbstractGroup:function(){return $.pA},AbstractShape:function(){return $.zr},Base:function(){return $.XY},Canvas:function(){return Ae},Event:function(){return $.ju},Group:function(){return y},PathUtil:function(){return $.Gk},Shape:function(){return dt},assembleFont:function(){return $.$O},getArcParams:function(){return Er},getBBoxMethod:function(){return $.bj},getOffScreenContext:function(){return $.LF},getTextHeight:function(){return $.FE},invert:function(){return $.U_},isAllowCapture:function(){return $.pP},multiplyVec2:function(){return $.rG},registerBBox:function(){return $.WZ},registerEasing:function(){return $.CW},version:function(){return Ce}});var dt={};Xt.r(dt),Xt.d(dt,{Base:function(){return s},Circle:function(){return P},Ellipse:function(){return ot},Image:function(){return Zt},Line:function(){return N},Marker:function(){return rt},Path:function(){return C},Polygon:function(){return et},Polyline:function(){return pt},Rect:function(){return Vr},Text:function(){return he}});var F=Xt(70655),$=Xt(3232),j=Xt(49242);function gr(){return window?window.devicePixelRatio:1}function _t(M,l,a,f){var g=M-a,D=l-f;return Math.sqrt(g*g+D*D)}function mr(M,l,a,f,g,D){return g>=M&&g<=M+a&&D>=l&&D<=l+f}function Kt(M,l){return!(l.minX>M.maxX||l.maxX<M.minX||l.minY>M.maxY||l.maxY<M.minY)}function Ar(M,l){return!M||!l?M||l:{minX:Math.min(M.minX,l.minX),minY:Math.min(M.minY,l.minY),maxX:Math.max(M.maxX,l.maxX),maxY:Math.max(M.maxY,l.maxY)}}function dr(M,l){return M[0]===l[0]&&M[1]===l[1]}var fr=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,At=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,Jt=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,$t=/[\d.]+:(#[^\s]+|[^\)]+\))/gi;function ar(M,l){var a=M.match($t);(0,j.each)(a,function(f){var g=f.split(":");l.addColorStop(g[0],g[1])})}function yr(M,l,a){var f=fr.exec(a),g=parseFloat(f[1])%360*(Math.PI/180),D=f[2],Y=l.getBBox(),z,gt;g>=0&&g<1/2*Math.PI?(z={x:Y.minX,y:Y.minY},gt={x:Y.maxX,y:Y.maxY}):1/2*Math.PI<=g&&g<Math.PI?(z={x:Y.maxX,y:Y.minY},gt={x:Y.minX,y:Y.maxY}):Math.PI<=g&&g<3/2*Math.PI?(z={x:Y.maxX,y:Y.maxY},gt={x:Y.minX,y:Y.minY}):(z={x:Y.minX,y:Y.maxY},gt={x:Y.maxX,y:Y.minY});var wt=Math.tan(g),St=wt*wt,xt=(gt.x-z.x+wt*(gt.y-z.y))/(St+1)+z.x,Vt=wt*(gt.x-z.x+wt*(gt.y-z.y))/(St+1)+z.y,lr=M.createLinearGradient(z.x,z.y,xt,Vt);return ar(D,lr),lr}function Lr(M,l,a){var f=At.exec(a),g=parseFloat(f[1]),D=parseFloat(f[2]),Y=parseFloat(f[3]),z=f[4];if(Y===0){var gt=z.match($t);return gt[gt.length-1].split(":")[1]}var wt=l.getBBox(),St=wt.maxX-wt.minX,xt=wt.maxY-wt.minY,Vt=Math.sqrt(St*St+xt*xt)/2,lr=M.createRadialGradient(wt.minX+St*g,wt.minY+xt*D,0,wt.minX+St/2,wt.minY+xt/2,Y*Vt);return ar(z,lr),lr}function Br(M,l,a){if(l.get("patternSource")&&l.get("patternSource")===a)return l.get("pattern");var f,g,D=Jt.exec(a),Y=D[1],z=D[2];function gt(){f=M.createPattern(g,Y),l.set("pattern",f),l.set("patternSource",a)}switch(Y){case"a":Y="repeat";break;case"x":Y="repeat-x";break;case"y":Y="repeat-y";break;case"n":Y="no-repeat";break;default:Y="no-repeat"}return g=new Image,z.match(/^data:/i)||(g.crossOrigin="Anonymous"),g.src=z,g.complete?gt():(g.onload=gt,g.src=g.src),f}function Wr(M,l,a){var f=l.getBBox();if(isNaN(f.x)||isNaN(f.y)||isNaN(f.width)||isNaN(f.height))return a;if((0,j.isString)(a)){if(a[1]==="("||a[2]==="("){if(a[0]==="l")return yr(M,l,a);if(a[0]==="r")return Lr(M,l,a);if(a[0]==="p")return Br(M,l,a)}return a}if(a instanceof CanvasPattern)return a}function Rt(M){var l=0,a=0,f=0,g=0;return(0,j.isArray)(M)?M.length===1?l=a=f=g=M[0]:M.length===2?(l=f=M[0],a=g=M[1]):M.length===3?(l=M[0],a=g=M[1],f=M[2]):(l=M[0],a=M[1],f=M[2],g=M[3]):l=a=f=g=M,[l,a,f,g]}function sr(M){return Math.sqrt(M[0]*M[0]+M[1]*M[1])}function Cr(M,l){return sr(M)*sr(l)?(M[0]*l[0]+M[1]*l[1])/(sr(M)*sr(l)):1}function Sr(M,l){return(M[0]*l[1]<M[1]*l[0]?-1:1)*Math.acos(Cr(M,l))}function Er(M,l){var a=l[1],f=l[2],g=(0,j.mod)((0,j.toRadian)(l[3]),Math.PI*2),D=l[4],Y=l[5],z=M[0],gt=M[1],wt=l[6],St=l[7],xt=Math.cos(g)*(z-wt)/2+Math.sin(g)*(gt-St)/2,Vt=-1*Math.sin(g)*(z-wt)/2+Math.cos(g)*(gt-St)/2,lr=xt*xt/(a*a)+Vt*Vt/(f*f);lr>1&&(a*=Math.sqrt(lr),f*=Math.sqrt(lr));var Xr=a*a*(Vt*Vt)+f*f*(xt*xt),Hr=Xr?Math.sqrt((a*a*(f*f)-Xr)/Xr):1;D===Y&&(Hr*=-1),isNaN(Hr)&&(Hr=0);var Jr=f?Hr*a*Vt/f:0,qr=a?Hr*-f*xt/a:0,Kr=(z+wt)/2+Math.cos(g)*Jr-Math.sin(g)*qr,Ur=(gt+St)/2+Math.sin(g)*Jr+Math.cos(g)*qr,Or=[(xt-Jr)/a,(Vt-qr)/f],te=[(-1*xt-Jr)/a,(-1*Vt-qr)/f],ge=Sr([1,0],Or),$r=Sr(Or,te);return Cr(Or,te)<=-1&&($r=Math.PI),Cr(Or,te)>=1&&($r=0),Y===0&&$r>0&&($r=$r-2*Math.PI),Y===1&&$r<0&&($r=$r+2*Math.PI),{cx:Kr,cy:Ur,rx:dr(M,[wt,St])?0:a,ry:dr(M,[wt,St])?0:f,startAngle:ge,endAngle:ge+$r,xRotation:g,arcFlag:D,sweepFlag:Y}}var Tr=Math.sin,Dr=Math.cos,zr=Math.atan2,ft=Math.PI;function ut(M,l,a,f,g,D,Y){var z=l.stroke,gt=l.lineWidth,wt=a-g,St=f-D,xt=zr(St,wt),Vt=new C({type:"path",canvas:M.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*Dr(ft/6)+","+10*Tr(ft/6)+" L0,0 L"+10*Dr(ft/6)+",-"+10*Tr(ft/6),stroke:z,lineWidth:gt}});Vt.translate(g,D),Vt.rotateAtPoint(g,D,xt),M.set(Y?"startArrowShape":"endArrowShape",Vt)}function Mt(M,l,a,f,g,D,Y){var z=l.startArrow,gt=l.endArrow,wt=l.stroke,St=l.lineWidth,xt=Y?z:gt,Vt=xt.d,lr=xt.fill,Xr=xt.stroke,Hr=xt.lineWidth,Jr=(0,F.__rest)(xt,["d","fill","stroke","lineWidth"]),qr=a-g,Kr=f-D,Ur=zr(Kr,qr);Vt&&(g=g-Dr(Ur)*Vt,D=D-Tr(Ur)*Vt);var Or=new C({type:"path",canvas:M.get("canvas"),isArrowShape:!0,attrs:(0,F.__assign)((0,F.__assign)({},Jr),{stroke:Xr||wt,lineWidth:Hr||St,fill:lr})});Or.translate(g,D),Or.rotateAtPoint(g,D,Ur),M.set(Y?"startArrowShape":"endArrowShape",Or)}function Ct(M,l,a,f,g){var D=zr(f-l,a-M);return{dx:Dr(D)*g,dy:Tr(D)*g}}function Nt(M,l,a,f,g,D){typeof l.startArrow=="object"?Mt(M,l,a,f,g,D,!0):l.startArrow?ut(M,l,a,f,g,D,!0):M.set("startArrowShape",null)}function Pt(M,l,a,f,g,D){typeof l.endArrow=="object"?Mt(M,l,a,f,g,D,!1):l.endArrow?ut(M,l,a,f,g,D,!1):M.set("startArrowShape",null)}var v={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function O(M,l){var a=l.attr();for(var f in a){var g=a[f],D=v[f]?v[f]:f;D==="matrix"&&g?M.transform(g[0],g[1],g[3],g[4],g[6],g[7]):D==="lineDash"&&M.setLineDash?(0,j.isArray)(g)&&M.setLineDash(g):(D==="strokeStyle"||D==="fillStyle"?g=Wr(M,l,g):D==="globalAlpha"&&(g=g*M.globalAlpha),M[D]=g)}}function vt(M,l,a){for(var f=0;f<l.length;f++){var g=l[f];g.cfg.visible?g.draw(M,a):g.skipDraw()}}function mt(M,l,a){var f=M.get("refreshElements");(0,j.each)(f,function(g){if(g!==M)for(var D=g.cfg.parent;D&&D!==M&&!D.cfg.refresh;)D.cfg.refresh=!0,D=D.cfg.parent}),f[0]===M?Wt(l,a):Ht(l,a)}function Ht(M,l){for(var a=0;a<M.length;a++){var f=M[a];if(f.cfg.visible)if(f.cfg.hasChanged)f.cfg.refresh=!0,f.isGroup()&&Wt(f.cfg.children,l);else if(f.cfg.refresh)f.isGroup()&&Ht(f.cfg.children,l);else{var g=cr(f,l);f.cfg.refresh=g,g&&f.isGroup()&&Ht(f.cfg.children,l)}}}function ir(M){for(var l=0;l<M.length;l++){var a=M[l];a.cfg.hasChanged=!1,a.isGroup()&&!a.destroyed&&ir(a.cfg.children)}}function Wt(M,l){for(var a=0;a<M.length;a++){var f=M[a];f.cfg.refresh=!0,f.isGroup()&&Wt(f.get("children"),l)}}function cr(M,l){var a=M.cfg.cacheCanvasBBox,f=M.cfg.isInView&&a&&Kt(a,l);return f}function ur(M,l,a,f){var g=a.path,D=a.startArrow,Y=a.endArrow;if(!!g){var z=[0,0],gt=[0,0],wt={dx:0,dy:0};l.beginPath();for(var St=0;St<g.length;St++){var xt=g[St],Vt=xt[0];if(St===0&&D&&D.d){var lr=M.getStartTangent();wt=Ct(lr[0][0],lr[0][1],lr[1][0],lr[1][1],D.d)}else if(St===g.length-2&&g[St+1][0]==="Z"&&Y&&Y.d){var Xr=g[St+1];if(Xr[0]==="Z"){var lr=M.getEndTangent();wt=Ct(lr[0][0],lr[0][1],lr[1][0],lr[1][1],Y.d)}}else if(St===g.length-1&&Y&&Y.d&&g[0]!=="Z"){var lr=M.getEndTangent();wt=Ct(lr[0][0],lr[0][1],lr[1][0],lr[1][1],Y.d)}var Hr=wt.dx,Jr=wt.dy;switch(Vt){case"M":l.moveTo(xt[1]-Hr,xt[2]-Jr),gt=[xt[1],xt[2]];break;case"L":l.lineTo(xt[1]-Hr,xt[2]-Jr);break;case"Q":l.quadraticCurveTo(xt[1],xt[2],xt[3]-Hr,xt[4]-Jr);break;case"C":l.bezierCurveTo(xt[1],xt[2],xt[3],xt[4],xt[5]-Hr,xt[6]-Jr);break;case"A":{var qr=void 0;f?(qr=f[St],qr||(qr=Er(z,xt),f[St]=qr)):qr=Er(z,xt);var Kr=qr.cx,Ur=qr.cy,Or=qr.rx,te=qr.ry,ge=qr.startAngle,$r=qr.endAngle,we=qr.xRotation,h=qr.sweepFlag;if(l.ellipse)l.ellipse(Kr,Ur,Or,te,we,ge,$r,1-h);else{var m=Or>te?Or:te,b=Or>te?1:Or/te,q=Or>te?te/Or:1;l.translate(Kr,Ur),l.rotate(we),l.scale(b,q),l.arc(0,0,m,ge,$r,1-h),l.scale(1/b,1/q),l.rotate(-we),l.translate(-Kr,-Ur)}break}case"Z":l.closePath();break;default:break}if(Vt==="Z")z=gt;else{var X=xt.length;z=[xt[X-2],xt[X-1]]}}}}function tr(M,l){var a=M.get("canvas");a&&(l==="remove"&&(M._cacheCanvasBBox=M.get("cacheCanvasBBox")),M.get("hasChanged")||(M.set("hasChanged",!0),M.cfg.parent&&M.cfg.parent.get("hasChanged")||(a.refreshElement(M,l,a),a.get("autoDraw")&&a.draw())))}function wr(M){var l;if(M.destroyed)l=M._cacheCanvasBBox;else{var a=M.get("cacheCanvasBBox"),f=a&&!!(a.width&&a.height),g=M.getCanvasBBox(),D=g&&!!(g.width&&g.height);f&&D?l=Ar(a,g):f?l=a:D&&(l=g)}return l}function kr(M){if(!M.length)return null;var l=[],a=[],f=[],g=[];return(0,j.each)(M,function(D){var Y=wr(D);Y&&(l.push(Y.minX),a.push(Y.minY),f.push(Y.maxX),g.push(Y.maxY))}),{minX:(0,j.min)(l),minY:(0,j.min)(a),maxX:(0,j.max)(f),maxY:(0,j.max)(g)}}function L(M,l){return!M||!l||!Kt(M,l)?null:{minX:Math.max(M.minX,l.minX),minY:Math.max(M.minY,l.minY),maxX:Math.min(M.maxX,l.maxX),maxY:Math.min(M.maxY,l.maxY)}}var p=function(M){(0,F.__extends)(l,M);function l(){return M!==null&&M.apply(this,arguments)||this}return l.prototype.onCanvasChange=function(a){tr(this,a)},l.prototype.getShapeBase=function(){return dt},l.prototype.getGroupBase=function(){return l},l.prototype._applyClip=function(a,f){f&&(a.save(),O(a,f),f.createPath(a),a.restore(),a.clip(),f._afterDraw())},l.prototype.cacheCanvasBBox=function(){var a=this.cfg.children,f=[],g=[];(0,j.each)(a,function(Vt){var lr=Vt.cfg.cacheCanvasBBox;lr&&Vt.cfg.isInView&&(f.push(lr.minX,lr.maxX),g.push(lr.minY,lr.maxY))});var D=null;if(f.length){var Y=(0,j.min)(f),z=(0,j.max)(f),gt=(0,j.min)(g),wt=(0,j.max)(g);D={minX:Y,minY:gt,x:Y,y:gt,maxX:z,maxY:wt,width:z-Y,height:wt-gt};var St=this.cfg.canvas;if(St){var xt=St.getViewRange();this.set("isInView",Kt(D,xt))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",D)},l.prototype.draw=function(a,f){var g=this.cfg.children,D=f?this.cfg.refresh:!0;g.length&&D&&(a.save(),O(a,this),this._applyClip(a,this.getClip()),vt(a,g,f),a.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},l.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},l}($.pA),y=p,_=function(M){(0,F.__extends)(l,M);function l(){return M!==null&&M.apply(this,arguments)||this}return l.prototype.getDefaultAttrs=function(){var a=M.prototype.getDefaultAttrs.call(this);return(0,F.__assign)((0,F.__assign)({},a),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},l.prototype.getShapeBase=function(){return dt},l.prototype.getGroupBase=function(){return y},l.prototype.onCanvasChange=function(a){tr(this,a)},l.prototype.calculateBBox=function(){var a=this.get("type"),f=this.getHitLineWidth(),g=(0,$.bj)(a),D=g(this),Y=f/2,z=D.x-Y,gt=D.y-Y,wt=D.x+D.width+Y,St=D.y+D.height+Y;return{x:z,minX:z,y:gt,minY:gt,width:D.width+f,height:D.height+f,maxX:wt,maxY:St}},l.prototype.isFill=function(){return!!this.attrs.fill||this.isClipShape()},l.prototype.isStroke=function(){return!!this.attrs.stroke},l.prototype._applyClip=function(a,f){f&&(a.save(),O(a,f),f.createPath(a),a.restore(),a.clip(),f._afterDraw())},l.prototype.draw=function(a,f){var g=this.cfg.clipShape;if(f){if(this.cfg.refresh===!1){this.set("hasChanged",!1);return}var D=this.getCanvasBBox();if(!Kt(f,D)){this.set("hasChanged",!1),this.cfg.isInView&&this._afterDraw();return}}a.save(),O(a,this),this._applyClip(a,g),this.drawPath(a),a.restore(),this._afterDraw()},l.prototype.getCanvasViewBox=function(){var a=this.cfg.canvas;return a?a.getViewRange():null},l.prototype.cacheCanvasBBox=function(){var a=this.getCanvasViewBox();if(a){var f=this.getCanvasBBox(),g=Kt(f,a);this.set("isInView",g),g?this.set("cacheCanvasBBox",f):this.set("cacheCanvasBBox",null)}},l.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set("hasChanged",!1),this.set("refresh",null)},l.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("isInView",null),this.set("hasChanged",!1)},l.prototype.drawPath=function(a){this.createPath(a),this.strokeAndFill(a),this.afterDrawPath(a)},l.prototype.fill=function(a){a.fill()},l.prototype.stroke=function(a){a.stroke()},l.prototype.strokeAndFill=function(a){var f=this.attrs,g=f.lineWidth,D=f.opacity,Y=f.strokeOpacity,z=f.fillOpacity;this.isFill()&&(!(0,j.isNil)(z)&&z!==1?(a.globalAlpha=z,this.fill(a),a.globalAlpha=D):this.fill(a)),this.isStroke()&&g>0&&(!(0,j.isNil)(Y)&&Y!==1&&(a.globalAlpha=Y),this.stroke(a)),this.afterDrawPath(a)},l.prototype.createPath=function(a){},l.prototype.afterDrawPath=function(a){},l.prototype.isInShape=function(a,f){var g=this.isStroke(),D=this.isFill(),Y=this.getHitLineWidth();return this.isInStrokeOrPath(a,f,g,D,Y)},l.prototype.isInStrokeOrPath=function(a,f,g,D,Y){return!1},l.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var a=this.attrs;return a.lineWidth+a.lineAppendWidth},l}($.zr),s=_,d=function(M){(0,F.__extends)(l,M);function l(){return M!==null&&M.apply(this,arguments)||this}return l.prototype.getDefaultAttrs=function(){var a=M.prototype.getDefaultAttrs.call(this);return(0,F.__assign)((0,F.__assign)({},a),{x:0,y:0,r:0})},l.prototype.isInStrokeOrPath=function(a,f,g,D,Y){var z=this.attr(),gt=z.x,wt=z.y,St=z.r,xt=Y/2,Vt=_t(gt,wt,a,f);return D&&g?Vt<=St+xt:D?Vt<=St:g?Vt>=St-xt&&Vt<=St+xt:!1},l.prototype.createPath=function(a){var f=this.attr(),g=f.x,D=f.y,Y=f.r;a.beginPath(),a.arc(g,D,Y,0,Math.PI*2,!1),a.closePath()},l}(s),P=d;function R(M,l,a,f){return M/(a*a)+l/(f*f)}var W=function(M){(0,F.__extends)(l,M);function l(){return M!==null&&M.apply(this,arguments)||this}return l.prototype.getDefaultAttrs=function(){var a=M.prototype.getDefaultAttrs.call(this);return(0,F.__assign)((0,F.__assign)({},a),{x:0,y:0,rx:0,ry:0})},l.prototype.isInStrokeOrPath=function(a,f,g,D,Y){var z=this.attr(),gt=Y/2,wt=z.x,St=z.y,xt=z.rx,Vt=z.ry,lr=(a-wt)*(a-wt),Xr=(f-St)*(f-St);return D&&g?R(lr,Xr,xt+gt,Vt+gt)<=1:D?R(lr,Xr,xt,Vt)<=1:g?R(lr,Xr,xt-gt,Vt-gt)>=1&&R(lr,Xr,xt+gt,Vt+gt)<=1:!1},l.prototype.createPath=function(a){var f=this.attr(),g=f.x,D=f.y,Y=f.rx,z=f.ry;if(a.beginPath(),a.ellipse)a.ellipse(g,D,Y,z,0,0,Math.PI*2,!1);else{var gt=Y>z?Y:z,wt=Y>z?1:Y/z,St=Y>z?z/Y:1;a.save(),a.translate(g,D),a.scale(wt,St),a.arc(0,0,gt,0,Math.PI*2),a.restore(),a.closePath()}},l}(s),ot=W;function Lt(M){return M instanceof HTMLElement&&(0,j.isString)(M.nodeName)&&M.nodeName.toUpperCase()==="CANVAS"}var kt=function(M){(0,F.__extends)(l,M);function l(){return M!==null&&M.apply(this,arguments)||this}return l.prototype.getDefaultAttrs=function(){var a=M.prototype.getDefaultAttrs.call(this);return(0,F.__assign)((0,F.__assign)({},a),{x:0,y:0,width:0,height:0})},l.prototype.initAttrs=function(a){this._setImage(a.img)},l.prototype.isStroke=function(){return!1},l.prototype.isOnlyHitBox=function(){return!0},l.prototype._afterLoading=function(){if(this.get("toDraw")===!0){var a=this.get("canvas");a?a.draw():this.createPath(this.get("context"))}},l.prototype._setImage=function(a){var f=this,g=this.attrs;if((0,j.isString)(a)){var D=new Image;D.onload=function(){if(f.destroyed)return!1;f.attr("img",D),f.set("loading",!1),f._afterLoading();var Y=f.get("callback");Y&&Y.call(f)},D.crossOrigin="Anonymous",D.src=a,this.set("loading",!0)}else a instanceof Image?(g.width||(g.width=a.width),g.height||(g.height=a.height)):Lt(a)&&(g.width||(g.width=Number(a.getAttribute("width"))),g.height||(g.height,Number(a.getAttribute("height"))))},l.prototype.onAttrChange=function(a,f,g){M.prototype.onAttrChange.call(this,a,f,g),a==="img"&&this._setImage(f)},l.prototype.createPath=function(a){if(this.get("loading")){this.set("toDraw",!0),this.set("context",a);return}var f=this.attr(),g=f.x,D=f.y,Y=f.width,z=f.height,gt=f.sx,wt=f.sy,St=f.swidth,xt=f.sheight,Vt=f.img;(Vt instanceof Image||Lt(Vt))&&(!(0,j.isNil)(gt)&&!(0,j.isNil)(wt)&&!(0,j.isNil)(St)&&!(0,j.isNil)(xt)?a.drawImage(Vt,gt,wt,St,xt,g,D,Y,z):a.drawImage(Vt,g,D,Y,z))},l}(s),Zt=kt,pr=Xt(89838);function A(M,l,a,f,g,D,Y){var z=Math.min(M,a),gt=Math.max(M,a),wt=Math.min(l,f),St=Math.max(l,f),xt=g/2;return D>=z-xt&&D<=gt+xt&&Y>=wt-xt&&Y<=St+xt?pr.x1.pointToLine(M,l,a,f,D,Y)<=g/2:!1}var E=function(M){(0,F.__extends)(l,M);function l(){return M!==null&&M.apply(this,arguments)||this}return l.prototype.getDefaultAttrs=function(){var a=M.prototype.getDefaultAttrs.call(this);return(0,F.__assign)((0,F.__assign)({},a),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},l.prototype.initAttrs=function(a){this.setArrow()},l.prototype.onAttrChange=function(a,f,g){M.prototype.onAttrChange.call(this,a,f,g),this.setArrow()},l.prototype.setArrow=function(){var a=this.attr(),f=a.x1,g=a.y1,D=a.x2,Y=a.y2,z=a.startArrow,gt=a.endArrow;z&&Nt(this,a,D,Y,f,g),gt&&Pt(this,a,f,g,D,Y)},l.prototype.isInStrokeOrPath=function(a,f,g,D,Y){if(!g||!Y)return!1;var z=this.attr(),gt=z.x1,wt=z.y1,St=z.x2,xt=z.y2;return A(gt,wt,St,xt,Y,a,f)},l.prototype.createPath=function(a){var f=this.attr(),g=f.x1,D=f.y1,Y=f.x2,z=f.y2,gt=f.startArrow,wt=f.endArrow,St={dx:0,dy:0},xt={dx:0,dy:0};gt&&gt.d&&(St=Ct(g,D,Y,z,f.startArrow.d)),wt&&wt.d&&(xt=Ct(g,D,Y,z,f.endArrow.d)),a.beginPath(),a.moveTo(g+St.dx,D+St.dy),a.lineTo(Y-xt.dx,z-xt.dy)},l.prototype.afterDrawPath=function(a){var f=this.get("startArrowShape"),g=this.get("endArrowShape");f&&f.draw(a),g&&g.draw(a)},l.prototype.getTotalLength=function(){var a=this.attr(),f=a.x1,g=a.y1,D=a.x2,Y=a.y2;return pr.x1.length(f,g,D,Y)},l.prototype.getPoint=function(a){var f=this.attr(),g=f.x1,D=f.y1,Y=f.x2,z=f.y2;return pr.x1.pointAt(g,D,Y,z,a)},l}(s),N=E,G=Xt(80389),Z={circle:function(M,l,a){return[["M",M-a,l],["A",a,a,0,1,0,M+a,l],["A",a,a,0,1,0,M-a,l]]},square:function(M,l,a){return[["M",M-a,l-a],["L",M+a,l-a],["L",M+a,l+a],["L",M-a,l+a],["Z"]]},diamond:function(M,l,a){return[["M",M-a,l],["L",M,l-a],["L",M+a,l],["L",M,l+a],["Z"]]},triangle:function(M,l,a){var f=a*Math.sin(1/3*Math.PI);return[["M",M-a,l+f],["L",M,l-f],["L",M+a,l+f],["Z"]]},"triangle-down":function(M,l,a){var f=a*Math.sin(1/3*Math.PI);return[["M",M-a,l-f],["L",M+a,l-f],["L",M,l+f],["Z"]]}},nt=function(M){(0,F.__extends)(l,M);function l(){return M!==null&&M.apply(this,arguments)||this}return l.prototype.initAttrs=function(a){this._resetParamsCache()},l.prototype._resetParamsCache=function(){this.set("paramsCache",{})},l.prototype.onAttrChange=function(a,f,g){M.prototype.onAttrChange.call(this,a,f,g),["symbol","x","y","r","radius"].indexOf(a)!==-1&&this._resetParamsCache()},l.prototype.isOnlyHitBox=function(){return!0},l.prototype._getR=function(a){return(0,j.isNil)(a.r)?a.radius:a.r},l.prototype._getPath=function(){var a=this.attr(),f=a.x,g=a.y,D=a.symbol||"circle",Y=this._getR(a),z,gt;if((0,j.isFunction)(D))z=D,gt=z(f,g,Y),gt=(0,G.wb)(gt);else{if(z=l.Symbols[D],!z)return console.warn(D+" marker is not supported."),null;gt=z(f,g,Y)}return gt},l.prototype.createPath=function(a){var f=this._getPath(),g=this.get("paramsCache");ur(this,a,{path:f},g)},l.Symbols=Z,l}(s),rt=nt;function st(M,l,a){var f=(0,$.LF)();return M.createPath(f),f.isPointInPath(l,a)}var K=1e-6;function yt(M){return Math.abs(M)<K?0:M<0?-1:1}function lt(M,l,a){return(a[0]-M[0])*(l[1]-M[1])==(l[0]-M[0])*(a[1]-M[1])&&Math.min(M[0],l[0])<=a[0]&&a[0]<=Math.max(M[0],l[0])&&Math.min(M[1],l[1])<=a[1]&&a[1]<=Math.max(M[1],l[1])}function Yt(M,l,a){var f=!1,g=M.length;if(g<=2)return!1;for(var D=0;D<g;D++){var Y=M[D],z=M[(D+1)%g];if(lt(Y,z,[l,a]))return!0;yt(Y[1]-a)>0!=yt(z[1]-a)>0&&yt(l-(a-Y[1])*(Y[0]-z[0])/(Y[1]-z[1])-Y[0])<0&&(f=!f)}return f}var rr=Xt(31506),It=Xt(77160);function zt(M,l,a,f,g,D,Y,z){var gt=(Math.atan2(z-l,Y-M)+Math.PI*2)%(Math.PI*2);if(gt<f||gt>g)return!1;var wt={x:M+a*Math.cos(gt),y:l+a*Math.sin(gt)};return _t(wt.x,wt.y,Y,z)<=D/2}var Gt=rr.vs;function er(M){for(var l=!1,a=M.length,f=0;f<a;f++){var g=M[f],D=g[0];if(D==="C"||D==="A"||D==="Q"){l=!0;break}}return l}function Dt(M,l,a,f,g){for(var D=!1,Y=l/2,z=0;z<M.length;z++){var gt=M[z],wt=gt.currentPoint,St=gt.params,xt=gt.prePoint,Vt=gt.box;if(!(Vt&&!mr(Vt.x-Y,Vt.y-Y,Vt.width+l,Vt.height+l,a,f))){switch(gt.command){case"L":case"Z":D=A(xt[0],xt[1],wt[0],wt[1],l,a,f);break;case"Q":var lr=pr.lD.pointDistance(xt[0],xt[1],St[1],St[2],St[3],St[4],a,f);D=lr<=l/2;break;case"C":var Xr=pr.Ll.pointDistance(xt[0],xt[1],St[1],St[2],St[3],St[4],St[5],St[6],a,f,g);D=Xr<=l/2;break;case"A":var Hr=gt.arcParams,Jr=Hr.cx,qr=Hr.cy,Kr=Hr.rx,Ur=Hr.ry,Or=Hr.startAngle,te=Hr.endAngle,ge=Hr.xRotation,$r=[a,f,1],we=Kr>Ur?Kr:Ur,h=Kr>Ur?1:Kr/Ur,m=Kr>Ur?Ur/Kr:1,b=Gt(null,[["t",-Jr,-qr],["r",-ge],["s",1/h,1/m]]);It.transformMat3($r,$r,b),D=zt(0,0,we,Or,te,l,$r[0],$r[1]);break;default:break}if(D)break}}return D}function Ut(M){for(var l=M.length,a=[],f=[],g=[],D=0;D<l;D++){var Y=M[D],z=Y[0];z==="M"?(g.length&&(f.push(g),g=[]),g.push([Y[1],Y[2]])):z==="Z"?g.length&&(a.push(g),g=[]):g.push([Y[1],Y[2]])}return g.length>0&&f.push(g),{polygons:a,polylines:f}}var B=(0,F.__assign)({hasArc:er,extractPolygons:Ut,isPointInStroke:Dt},$.Gk);function x(M,l,a){for(var f=!1,g=0;g<M.length;g++){var D=M[g];if(f=Yt(D,l,a),f)break}return f}var o=function(M){(0,F.__extends)(l,M);function l(){return M!==null&&M.apply(this,arguments)||this}return l.prototype.getDefaultAttrs=function(){var a=M.prototype.getDefaultAttrs.call(this);return(0,F.__assign)((0,F.__assign)({},a),{startArrow:!1,endArrow:!1})},l.prototype.initAttrs=function(a){this._setPathArr(a.path),this.setArrow()},l.prototype.onAttrChange=function(a,f,g){M.prototype.onAttrChange.call(this,a,f,g),a==="path"&&this._setPathArr(f),this.setArrow()},l.prototype._setPathArr=function(a){this.attrs.path=(0,G.wb)(a);var f=B.hasArc(a);this.set("hasArc",f),this.set("paramsCache",{}),this.set("segments",null),this.set("curve",null),this.set("tCache",null),this.set("totalLength",null)},l.prototype.getSegments=function(){var a=this.get("segements");return a||(a=(0,G.zx)(this.attr("path")),this.set("segments",a)),a},l.prototype.setArrow=function(){var a=this.attr(),f=a.startArrow,g=a.endArrow;if(f){var D=this.getStartTangent();Nt(this,a,D[0][0],D[0][1],D[1][0],D[1][1])}if(g){var D=this.getEndTangent();Pt(this,a,D[0][0],D[0][1],D[1][0],D[1][1])}},l.prototype.isInStrokeOrPath=function(a,f,g,D,Y){var z=this.getSegments(),gt=this.get("hasArc"),wt=!1;if(g){var St=this.getTotalLength();wt=B.isPointInStroke(z,Y,a,f,St)}if(!wt&&D)if(gt)wt=st(this,a,f);else{var xt=this.attr("path"),Vt=B.extractPolygons(xt);wt=x(Vt.polygons,a,f)||x(Vt.polylines,a,f)}return wt},l.prototype.createPath=function(a){var f=this.attr(),g=this.get("paramsCache");ur(this,a,f,g)},l.prototype.afterDrawPath=function(a){var f=this.get("startArrowShape"),g=this.get("endArrowShape");f&&f.draw(a),g&&g.draw(a)},l.prototype.getTotalLength=function(){var a=this.get("totalLength");return(0,j.isNil)(a)?(this._calculateCurve(),this._setTcache(),this.get("totalLength")):a},l.prototype.getPoint=function(a){var f=this.get("tCache");f||(this._calculateCurve(),this._setTcache(),f=this.get("tCache"));var g,D,Y=this.get("curve");if(!f||f.length===0)return Y?{x:Y[0][1],y:Y[0][2]}:null;(0,j.each)(f,function(St,xt){a>=St[0]&&a<=St[1]&&(g=(a-St[0])/(St[1]-St[0]),D=xt)});var z=Y[D];if((0,j.isNil)(z)||(0,j.isNil)(D))return null;var gt=z.length,wt=Y[D+1];return pr.Ll.pointAt(z[gt-2],z[gt-1],wt[1],wt[2],wt[3],wt[4],wt[5],wt[6],g)},l.prototype._calculateCurve=function(){var a=this.attr().path;this.set("curve",B.pathToCurve(a))},l.prototype._setTcache=function(){var a=0,f=0,g=[],D,Y,z,gt,wt=this.get("curve");if(!!wt){if((0,j.each)(wt,function(St,xt){z=wt[xt+1],gt=St.length,z&&(a+=pr.Ll.length(St[gt-2],St[gt-1],z[1],z[2],z[3],z[4],z[5],z[6])||0)}),this.set("totalLength",a),a===0){this.set("tCache",[]);return}(0,j.each)(wt,function(St,xt){z=wt[xt+1],gt=St.length,z&&(D=[],D[0]=f/a,Y=pr.Ll.length(St[gt-2],St[gt-1],z[1],z[2],z[3],z[4],z[5],z[6]),f+=Y||0,D[1]=f/a,g.push(D))}),this.set("tCache",g)}},l.prototype.getStartTangent=function(){var a=this.getSegments(),f;if(a.length>1){var g=a[0].currentPoint,D=a[1].currentPoint,Y=a[1].startTangent;f=[],Y?(f.push([g[0]-Y[0],g[1]-Y[1]]),f.push([g[0],g[1]])):(f.push([D[0],D[1]]),f.push([g[0],g[1]]))}return f},l.prototype.getEndTangent=function(){var a=this.getSegments(),f=a.length,g;if(f>1){var D=a[f-2].currentPoint,Y=a[f-1].currentPoint,z=a[f-1].endTangent;g=[],z?(g.push([Y[0]-z[0],Y[1]-z[1]]),g.push([Y[0],Y[1]])):(g.push([D[0],D[1]]),g.push([Y[0],Y[1]]))}return g},l}(s),C=o;function k(M,l,a,f,g){var D=M.length;if(D<2)return!1;for(var Y=0;Y<D-1;Y++){var z=M[Y][0],gt=M[Y][1],wt=M[Y+1][0],St=M[Y+1][1];if(A(z,gt,wt,St,l,a,f))return!0}if(g){var xt=M[0],Vt=M[D-1];if(A(xt[0],xt[1],Vt[0],Vt[1],l,a,f))return!0}return!1}var U=function(M){(0,F.__extends)(l,M);function l(){return M!==null&&M.apply(this,arguments)||this}return l.prototype.isInStrokeOrPath=function(a,f,g,D,Y){var z=this.attr().points,gt=!1;return g&&(gt=k(z,Y,a,f,!0)),!gt&&D&&(gt=Yt(z,a,f)),gt},l.prototype.createPath=function(a){var f=this.attr(),g=f.points;if(!(g.length<2)){a.beginPath();for(var D=0;D<g.length;D++){var Y=g[D];D===0?a.moveTo(Y[0],Y[1]):a.lineTo(Y[0],Y[1])}a.closePath()}},l}(s),et=U,at=function(M){(0,F.__extends)(l,M);function l(){return M!==null&&M.apply(this,arguments)||this}return l.prototype.getDefaultAttrs=function(){var a=M.prototype.getDefaultAttrs.call(this);return(0,F.__assign)((0,F.__assign)({},a),{startArrow:!1,endArrow:!1})},l.prototype.initAttrs=function(a){this.setArrow()},l.prototype.onAttrChange=function(a,f,g){M.prototype.onAttrChange.call(this,a,f,g),this.setArrow(),["points"].indexOf(a)!==-1&&this._resetCache()},l.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},l.prototype.setArrow=function(){var a=this.attr(),f=this.attrs,g=f.points,D=f.startArrow,Y=f.endArrow,z=g.length,gt=g[0][0],wt=g[0][1],St=g[z-1][0],xt=g[z-1][1];D&&Nt(this,a,g[1][0],g[1][1],gt,wt),Y&&Pt(this,a,g[z-2][0],g[z-2][1],St,xt)},l.prototype.isFill=function(){return!1},l.prototype.isInStrokeOrPath=function(a,f,g,D,Y){if(!g||!Y)return!1;var z=this.attr().points;return k(z,Y,a,f,!1)},l.prototype.isStroke=function(){return!0},l.prototype.createPath=function(a){var f=this.attr(),g=f.points,D=f.startArrow,Y=f.endArrow,z=g.length;if(!(g.length<2)){var gt=g[0][0],wt=g[0][1],St=g[z-1][0],xt=g[z-1][1];if(D&&D.d){var Vt=Ct(gt,wt,g[1][0],g[1][1],D.d);gt+=Vt.dx,wt+=Vt.dy}if(Y&&Y.d){var Vt=Ct(g[z-2][0],g[z-2][1],St,xt,Y.d);St-=Vt.dx,xt-=Vt.dy}a.beginPath(),a.moveTo(gt,wt);for(var lr=0;lr<z-1;lr++){var Xr=g[lr];a.lineTo(Xr[0],Xr[1])}a.lineTo(St,xt)}},l.prototype.afterDrawPath=function(a){var f=this.get("startArrowShape"),g=this.get("endArrowShape");f&&f.draw(a),g&&g.draw(a)},l.prototype.getTotalLength=function(){var a=this.attr().points,f=this.get("totalLength");return(0,j.isNil)(f)?(this.set("totalLength",pr.aH.length(a)),this.get("totalLength")):f},l.prototype.getPoint=function(a){var f=this.attr().points,g=this.get("tCache");g||(this._setTcache(),g=this.get("tCache"));var D,Y;return(0,j.each)(g,function(z,gt){a>=z[0]&&a<=z[1]&&(D=(a-z[0])/(z[1]-z[0]),Y=gt)}),pr.x1.pointAt(f[Y][0],f[Y][1],f[Y+1][0],f[Y+1][1],D)},l.prototype._setTcache=function(){var a=this.attr().points;if(!(!a||a.length===0)){var f=this.getTotalLength();if(!(f<=0)){var g=0,D=[],Y,z;(0,j.each)(a,function(gt,wt){a[wt+1]&&(Y=[],Y[0]=g/f,z=pr.x1.length(gt[0],gt[1],a[wt+1][0],a[wt+1][1]),g+=z,Y[1]=g/f,D.push(Y))}),this.set("tCache",D)}}},l.prototype.getStartTangent=function(){var a=this.attr().points,f=[];return f.push([a[1][0],a[1][1]]),f.push([a[0][0],a[0][1]]),f},l.prototype.getEndTangent=function(){var a=this.attr().points,f=a.length-1,g=[];return g.push([a[f-1][0],a[f-1][1]]),g.push([a[f][0],a[f][1]]),g},l}(s),pt=at;function br(M,l,a,f,g,D,Y){var z=g/2;return mr(M-z,l-z,a,g,D,Y)||mr(M+a-z,l-z,g,f,D,Y)||mr(M+z,l+f-z,a,g,D,Y)||mr(M-z,l+z,g,f,D,Y)}function xr(M,l,a,f,g,D,Y,z){var gt=D/2;return A(M+g,l,M+a-g,l,D,Y,z)||A(M+a,l+g,M+a,l+f-g,D,Y,z)||A(M+a-g,l+f,M+g,l+f,D,Y,z)||A(M,l+f-g,M,l+g,D,Y,z)||zt(M+a-g,l+g,g,1.5*Math.PI,2*Math.PI,D,Y,z)||zt(M+a-g,l+f-g,g,0,.5*Math.PI,D,Y,z)||zt(M+g,l+f-g,g,.5*Math.PI,Math.PI,D,Y,z)||zt(M+g,l+g,g,Math.PI,1.5*Math.PI,D,Y,z)}var Gr=function(M){(0,F.__extends)(l,M);function l(){return M!==null&&M.apply(this,arguments)||this}return l.prototype.getDefaultAttrs=function(){var a=M.prototype.getDefaultAttrs.call(this);return(0,F.__assign)((0,F.__assign)({},a),{x:0,y:0,width:0,height:0,radius:0})},l.prototype.isInStrokeOrPath=function(a,f,g,D,Y){var z=this.attr(),gt=z.x,wt=z.y,St=z.width,xt=z.height,Vt=z.radius;if(Vt){var Xr=!1;return g&&(Xr=xr(gt,wt,St,xt,Vt,Y,a,f)),!Xr&&D&&(Xr=st(this,a,f)),Xr}else{var lr=Y/2;if(D&&g)return mr(gt-lr,wt-lr,St+lr,xt+lr,a,f);if(D)return mr(gt,wt,St,xt,a,f);if(g)return br(gt,wt,St,xt,Y,a,f)}},l.prototype.createPath=function(a){var f=this.attr(),g=f.x,D=f.y,Y=f.width,z=f.height,gt=f.radius;if(a.beginPath(),gt===0)a.rect(g,D,Y,z);else{var wt=Rt(gt),St=wt[0],xt=wt[1],Vt=wt[2],lr=wt[3];a.moveTo(g+St,D),a.lineTo(g+Y-xt,D),xt!==0&&a.arc(g+Y-xt,D+xt,xt,-Math.PI/2,0),a.lineTo(g+Y,D+z-Vt),Vt!==0&&a.arc(g+Y-Vt,D+z-Vt,Vt,0,Math.PI/2),a.lineTo(g+lr,D+z),lr!==0&&a.arc(g+lr,D+z-lr,lr,Math.PI/2,Math.PI),a.lineTo(g,D+St),St!==0&&a.arc(g+St,D+St,St,Math.PI,Math.PI*1.5),a.closePath()}},l}(s),Vr=Gr,ae=function(M){(0,F.__extends)(l,M);function l(){return M!==null&&M.apply(this,arguments)||this}return l.prototype.getDefaultAttrs=function(){var a=M.prototype.getDefaultAttrs.call(this);return(0,F.__assign)((0,F.__assign)({},a),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},l.prototype.isOnlyHitBox=function(){return!0},l.prototype.initAttrs=function(a){this._assembleFont(),a.text&&this._setText(a.text)},l.prototype._assembleFont=function(){var a=this.attrs;a.font=(0,$.$O)(a)},l.prototype._setText=function(a){var f=null;(0,j.isString)(a)&&a.indexOf(`
  6. `)!==-1&&(f=a.split(`
  7. `)),this.set("textArr",f)},l.prototype.onAttrChange=function(a,f,g){M.prototype.onAttrChange.call(this,a,f,g),a.startsWith("font")&&this._assembleFont(),a==="text"&&this._setText(f)},l.prototype._getSpaceingY=function(){var a=this.attrs,f=a.lineHeight,g=a.fontSize*1;return f?f-g:g*.14},l.prototype._drawTextArr=function(a,f,g){var D=this.attrs,Y=D.textBaseline,z=D.x,gt=D.y,wt=D.fontSize*1,St=this._getSpaceingY(),xt=(0,$.FE)(D.text,D.fontSize,D.lineHeight),Vt;(0,j.each)(f,function(lr,Xr){Vt=gt+Xr*(St+wt)-xt+wt,Y==="middle"&&(Vt+=xt-wt-(xt-wt)/2),Y==="top"&&(Vt+=xt-wt),(0,j.isNil)(lr)||(g?a.fillText(lr,z,Vt):a.strokeText(lr,z,Vt))})},l.prototype._drawText=function(a,f){var g=this.attr(),D=g.x,Y=g.y,z=this.get("textArr");if(z)this._drawTextArr(a,z,f);else{var gt=g.text;(0,j.isNil)(gt)||(f?a.fillText(gt,D,Y):a.strokeText(gt,D,Y))}},l.prototype.strokeAndFill=function(a){var f=this.attrs,g=f.lineWidth,D=f.opacity,Y=f.strokeOpacity,z=f.fillOpacity;this.isStroke()&&g>0&&(!(0,j.isNil)(Y)&&Y!==1&&(a.globalAlpha=D),this.stroke(a)),this.isFill()&&(!(0,j.isNil)(z)&&z!==1?(a.globalAlpha=z,this.fill(a),a.globalAlpha=D):this.fill(a)),this.afterDrawPath(a)},l.prototype.fill=function(a){this._drawText(a,!0)},l.prototype.stroke=function(a){this._drawText(a,!1)},l}(s),he=ae;function re(M,l){if(l){var a=(0,$.U_)(l);return(0,$.rG)(a,M)}return M}function Me(M,l,a){var f=M.getTotalMatrix();if(f){var g=re([l,a,1],f),D=g[0],Y=g[1];return[D,Y]}return[l,a]}function me(M,l,a){if(M.isCanvas&&M.isCanvas())return!0;if(!(0,$.pP)(M)||M.cfg.isInView===!1)return!1;if(M.cfg.clipShape){var f=Me(M,l,a),g=f[0],D=f[1];if(M.isClipped(g,D))return!1}var Y=M.cfg.cacheCanvasBBox||M.getCanvasBBox();return l>=Y.minX&&l<=Y.maxX&&a>=Y.minY&&a<=Y.maxY}function ye(M,l,a){if(!me(M,l,a))return null;for(var f=null,g=M.getChildren(),D=g.length,Y=D-1;Y>=0;Y--){var z=g[Y];if(z.isGroup())f=ye(z,l,a);else if(me(z,l,a)){var gt=z,wt=Me(z,l,a),St=wt[0],xt=wt[1];gt.isInShape(St,xt)&&(f=z)}if(f)break}return f}var Se=function(M){(0,F.__extends)(l,M);function l(){return M!==null&&M.apply(this,arguments)||this}return l.prototype.getDefaultCfg=function(){var a=M.prototype.getDefaultCfg.call(this);return a.renderer="canvas",a.autoDraw=!0,a.localRefresh=!0,a.refreshElements=[],a.clipView=!0,a.quickHit=!1,a},l.prototype.onCanvasChange=function(a){(a==="attr"||a==="sort"||a==="changeSize")&&(this.set("refreshElements",[this]),this.draw())},l.prototype.getShapeBase=function(){return dt},l.prototype.getGroupBase=function(){return y},l.prototype.getPixelRatio=function(){var a=this.get("pixelRatio")||gr();return a>=1?Math.ceil(a):1},l.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},l.prototype.createDom=function(){var a=document.createElement("canvas"),f=a.getContext("2d");return this.set("context",f),a},l.prototype.setDOMSize=function(a,f){M.prototype.setDOMSize.call(this,a,f);var g=this.get("context"),D=this.get("el"),Y=this.getPixelRatio();D.width=Y*a,D.height=Y*f,Y>1&&g.scale(Y,Y)},l.prototype.clear=function(){M.prototype.clear.call(this),this._clearFrame();var a=this.get("context"),f=this.get("el");a.clearRect(0,0,f.width,f.height)},l.prototype.getShape=function(a,f){var g;return this.get("quickHit")?g=ye(this,a,f):g=M.prototype.getShape.call(this,a,f,null),g},l.prototype._getRefreshRegion=function(){var a=this.get("refreshElements"),f=this.getViewRange(),g;if(a.length&&a[0]===this)g=f;else if(g=kr(a),g){g.minX=Math.floor(g.minX),g.minY=Math.floor(g.minY),g.maxX=Math.ceil(g.maxX),g.maxY=Math.ceil(g.maxY),g.maxY+=1;var D=this.get("clipView");D&&(g=L(g,f))}return g},l.prototype.refreshElement=function(a){var f=this.get("refreshElements");f.push(a)},l.prototype._clearFrame=function(){var a=this.get("drawFrame");a&&((0,j.clearAnimationFrame)(a),this.set("drawFrame",null),this.set("refreshElements",[]))},l.prototype.draw=function(){var a=this.get("drawFrame");this.get("autoDraw")&&a||this._startDraw()},l.prototype._drawAll=function(){var a=this.get("context"),f=this.get("el"),g=this.getChildren();a.clearRect(0,0,f.width,f.height),O(a,this),vt(a,g),this.set("refreshElements",[])},l.prototype._drawRegion=function(){var a=this.get("context"),f=this.get("refreshElements"),g=this.getChildren(),D=this._getRefreshRegion();D?(a.clearRect(D.minX,D.minY,D.maxX-D.minX,D.maxY-D.minY),a.save(),a.beginPath(),a.rect(D.minX,D.minY,D.maxX-D.minX,D.maxY-D.minY),a.clip(),O(a,this),mt(this,g,D),vt(a,g,D),a.restore()):f.length&&ir(f),(0,j.each)(f,function(Y){Y.get("hasChanged")&&Y.set("hasChanged",!1)}),this.set("refreshElements",[])},l.prototype._startDraw=function(){var a=this,f=this.get("drawFrame");f||(f=(0,j.requestAnimationFrame)(function(){a.get("localRefresh")?a._drawRegion():a._drawAll(),a.set("drawFrame",null)}),this.set("drawFrame",f))},l.prototype.skipDraw=function(){},l.prototype.removeDom=function(){var a=this.get("el");a.width=0,a.height=0,a.parentNode.removeChild(a)},l}($.$Z),Ae=Se,Ce="0.5.12"},89838:function(ne,Pr,Xt){"use strict";Xt.d(Pr,{wN:function(){return mt},Ll:function(){return Tr},x1:function(){return dr},aH:function(){return tr},lD:function(){return Wr},Zr:function(){return dt}});var dt={};Xt.r(dt),Xt.d(dt,{distance:function(){return j},getBBoxByArray:function(){return _t},getBBoxRange:function(){return mr},isNumberEqual:function(){return gr},piMod:function(){return Kt}});function F(L){return Math.min.apply(null,L)}function $(L){return Math.max.apply(null,L)}function j(L,p,y,_){var s=L-y,d=p-_;return Math.sqrt(s*s+d*d)}function gr(L,p){return Math.abs(L-p)<.001}function _t(L,p){var y=F(L),_=F(p),s=$(L),d=$(p);return{x:y,y:_,width:s-y,height:d-_}}function mr(L,p,y,_){return{minX:F([L,y]),maxX:$([L,y]),minY:F([p,_]),maxY:$([p,_])}}function Kt(L){return(L+Math.PI*2)%(Math.PI*2)}var Ar=Xt(31437),dr={box:function(L,p,y,_){return _t([L,y],[p,_])},length:function(L,p,y,_){return j(L,p,y,_)},pointAt:function(L,p,y,_,s){return{x:(1-s)*L+s*y,y:(1-s)*p+s*_}},pointDistance:function(L,p,y,_,s,d){var P=(y-L)*(s-L)+(_-p)*(d-p);if(P<0)return j(L,p,s,d);var R=(y-L)*(y-L)+(_-p)*(_-p);return P>R?j(y,_,s,d):this.pointToLine(L,p,y,_,s,d)},pointToLine:function(L,p,y,_,s,d){var P=[y-L,_-p];if(Ar.exactEquals(P,[0,0]))return Math.sqrt((s-L)*(s-L)+(d-p)*(d-p));var R=[-P[1],P[0]];Ar.normalize(R,R);var W=[s-L,d-p];return Math.abs(Ar.dot(W,R))},tangentAngle:function(L,p,y,_){return Math.atan2(_-p,y-L)}},fr=1e-4;function At(L,p,y,_,s,d){var P,R=Infinity,W=[y,_],ot=20;d&&d>200&&(ot=d/10);for(var Lt=1/ot,kt=Lt/10,Zt=0;Zt<=ot;Zt++){var pr=Zt*Lt,A=[s.apply(null,L.concat([pr])),s.apply(null,p.concat([pr]))],E=j(W[0],W[1],A[0],A[1]);E<R&&(P=pr,R=E)}if(P===0)return{x:L[0],y:p[0]};if(P===1){var N=L.length;return{x:L[N-1],y:p[N-1]}}R=Infinity;for(var Zt=0;Zt<32&&!(kt<fr);Zt++){var G=P-kt,Z=P+kt,A=[s.apply(null,L.concat([G])),s.apply(null,p.concat([G]))],E=j(W[0],W[1],A[0],A[1]);if(G>=0&&E<R)P=G,R=E;else{var nt=[s.apply(null,L.concat([Z])),s.apply(null,p.concat([Z]))],rt=j(W[0],W[1],nt[0],nt[1]);Z<=1&&rt<R?(P=Z,R=rt):kt*=.5}}return{x:s.apply(null,L.concat([P])),y:s.apply(null,p.concat([P]))}}function Jt(L,p){for(var y=0,_=L.length,s=0;s<_;s++){var d=L[s],P=p[s],R=L[(s+1)%_],W=p[(s+1)%_];y+=j(d,P,R,W)}return y/2}function $t(L,p,y,_){var s=1-_;return s*s*L+2*_*s*p+_*_*y}function ar(L,p,y){var _=L+y-2*p;if(gr(_,0))return[.5];var s=(L-p)/_;return s<=1&&s>=0?[s]:[]}function yr(L,p,y,_){return 2*(1-_)*(p-L)+2*_*(y-p)}function Lr(L,p,y,_,s,d,P){var R=$t(L,y,s,P),W=$t(p,_,d,P),ot=dr.pointAt(L,p,y,_,P),Lt=dr.pointAt(y,_,s,d,P);return[[L,p,ot.x,ot.y,R,W],[R,W,Lt.x,Lt.y,s,d]]}function Br(L,p,y,_,s,d,P){if(P===0)return(j(L,p,y,_)+j(y,_,s,d)+j(L,p,s,d))/2;var R=Lr(L,p,y,_,s,d,.5),W=R[0],ot=R[1];return W.push(P-1),ot.push(P-1),Br.apply(null,W)+Br.apply(null,ot)}var Wr={box:function(L,p,y,_,s,d){var P=ar(L,y,s)[0],R=ar(p,_,d)[0],W=[L,s],ot=[p,d];return P!==void 0&&W.push($t(L,y,s,P)),R!==void 0&&ot.push($t(p,_,d,R)),_t(W,ot)},length:function(L,p,y,_,s,d){return Br(L,p,y,_,s,d,3)},nearestPoint:function(L,p,y,_,s,d,P,R){return At([L,y,s],[p,_,d],P,R,$t)},pointDistance:function(L,p,y,_,s,d,P,R){var W=this.nearestPoint(L,p,y,_,s,d,P,R);return j(W.x,W.y,P,R)},interpolationAt:$t,pointAt:function(L,p,y,_,s,d,P){return{x:$t(L,y,s,P),y:$t(p,_,d,P)}},divide:function(L,p,y,_,s,d,P){return Lr(L,p,y,_,s,d,P)},tangentAngle:function(L,p,y,_,s,d,P){var R=yr(L,y,s,P),W=yr(p,_,d,P),ot=Math.atan2(W,R);return Kt(ot)}};function Rt(L,p,y,_,s){var d=1-s;return d*d*d*L+3*p*s*d*d+3*y*s*s*d+_*s*s*s}function sr(L,p,y,_,s){var d=1-s;return 3*(d*d*(p-L)+2*d*s*(y-p)+s*s*(_-y))}function Cr(L,p,y,_){var s=-3*L+9*p-9*y+3*_,d=6*L-12*p+6*y,P=3*p-3*L,R=[],W,ot,Lt;if(gr(s,0))gr(d,0)||(W=-P/d,W>=0&&W<=1&&R.push(W));else{var kt=d*d-4*s*P;gr(kt,0)?R.push(-d/(2*s)):kt>0&&(Lt=Math.sqrt(kt),W=(-d+Lt)/(2*s),ot=(-d-Lt)/(2*s),W>=0&&W<=1&&R.push(W),ot>=0&&ot<=1&&R.push(ot))}return R}function Sr(L,p,y,_,s,d,P,R,W){var ot=Rt(L,y,s,P,W),Lt=Rt(p,_,d,R,W),kt=dr.pointAt(L,p,y,_,W),Zt=dr.pointAt(y,_,s,d,W),pr=dr.pointAt(s,d,P,R,W),A=dr.pointAt(kt.x,kt.y,Zt.x,Zt.y,W),E=dr.pointAt(Zt.x,Zt.y,pr.x,pr.y,W);return[[L,p,kt.x,kt.y,A.x,A.y,ot,Lt],[ot,Lt,E.x,E.y,pr.x,pr.y,P,R]]}function Er(L,p,y,_,s,d,P,R,W){if(W===0)return Jt([L,y,s,P],[p,_,d,R]);var ot=Sr(L,p,y,_,s,d,P,R,.5),Lt=ot[0],kt=ot[1];return Lt.push(W-1),kt.push(W-1),Er.apply(null,Lt)+Er.apply(null,kt)}var Tr={extrema:Cr,box:function(L,p,y,_,s,d,P,R){for(var W=[L,P],ot=[p,R],Lt=Cr(L,y,s,P),kt=Cr(p,_,d,R),Zt=0;Zt<Lt.length;Zt++)W.push(Rt(L,y,s,P,Lt[Zt]));for(var Zt=0;Zt<kt.length;Zt++)ot.push(Rt(p,_,d,R,kt[Zt]));return _t(W,ot)},length:function(L,p,y,_,s,d,P,R){return Er(L,p,y,_,s,d,P,R,3)},nearestPoint:function(L,p,y,_,s,d,P,R,W,ot,Lt){return At([L,y,s,P],[p,_,d,R],W,ot,Rt,Lt)},pointDistance:function(L,p,y,_,s,d,P,R,W,ot,Lt){var kt=this.nearestPoint(L,p,y,_,s,d,P,R,W,ot,Lt);return j(kt.x,kt.y,W,ot)},interpolationAt:Rt,pointAt:function(L,p,y,_,s,d,P,R,W){return{x:Rt(L,y,s,P,W),y:Rt(p,_,d,R,W)}},divide:function(L,p,y,_,s,d,P,R,W){return Sr(L,p,y,_,s,d,P,R,W)},tangentAngle:function(L,p,y,_,s,d,P,R,W){var ot=sr(L,y,s,P,W),Lt=sr(p,_,d,R,W);return Kt(Math.atan2(Lt,ot))}};function Dr(L,p){var y=Math.abs(L);return p>0?y:y*-1}var zr={box:function(L,p,y,_){return{x:L-y,y:p-_,width:y*2,height:_*2}},length:function(L,p,y,_){return Math.PI*(3*(y+_)-Math.sqrt((3*y+_)*(y+3*_)))},nearestPoint:function(L,p,y,_,s,d){var P=y,R=_;if(P===0||R===0)return{x:L,y:p};for(var W=s-L,ot=d-p,Lt=Math.abs(W),kt=Math.abs(ot),Zt=P*P,pr=R*R,A=Math.PI/4,E,N,G=0;G<4;G++){E=P*Math.cos(A),N=R*Math.sin(A);var Z=(Zt-pr)*Math.pow(Math.cos(A),3)/P,nt=(pr-Zt)*Math.pow(Math.sin(A),3)/R,rt=E-Z,st=N-nt,K=Lt-Z,yt=kt-nt,lt=Math.hypot(st,rt),Yt=Math.hypot(yt,K),rr=lt*Math.asin((rt*yt-st*K)/(lt*Yt)),It=rr/Math.sqrt(Zt+pr-E*E-N*N);A+=It,A=Math.min(Math.PI/2,Math.max(0,A))}return{x:L+Dr(E,W),y:p+Dr(N,ot)}},pointDistance:function(L,p,y,_,s,d){var P=this.nearestPoint(L,p,y,_,s,d);return j(P.x,P.y,s,d)},pointAt:function(L,p,y,_,s){var d=2*Math.PI*s;return{x:L+y*Math.cos(d),y:p+_*Math.sin(d)}},tangentAngle:function(L,p,y,_,s){var d=2*Math.PI*s,P=Math.atan2(_*Math.cos(d),-y*Math.sin(d));return Kt(P)}};function ft(L,p,y,_,s,d,P,R){return-1*y*Math.cos(s)*Math.sin(R)-_*Math.sin(s)*Math.cos(R)}function ut(L,p,y,_,s,d,P,R){return-1*y*Math.sin(s)*Math.sin(R)+_*Math.cos(s)*Math.cos(R)}function Mt(L,p,y){return Math.atan(-p/L*Math.tan(y))}function Ct(L,p,y){return Math.atan(p/(L*Math.tan(y)))}function Nt(L,p,y,_,s,d){return y*Math.cos(s)*Math.cos(d)-_*Math.sin(s)*Math.sin(d)+L}function Pt(L,p,y,_,s,d){return y*Math.sin(s)*Math.cos(d)+_*Math.cos(s)*Math.sin(d)+p}function v(L,p,y,_){var s=Math.atan2(_*L,y*p);return(s+Math.PI*2)%(Math.PI*2)}function O(L,p,y){return{x:L*Math.cos(y),y:p*Math.sin(y)}}function vt(L,p,y){var _=Math.cos(y),s=Math.sin(y);return[L*_-p*s,L*s+p*_]}var mt={box:function(L,p,y,_,s,d,P){for(var R=Mt(y,_,s),W=Infinity,ot=-Infinity,Lt=[d,P],kt=-Math.PI*2;kt<=Math.PI*2;kt+=Math.PI){var Zt=R+kt;d<P?d<Zt&&Zt<P&&Lt.push(Zt):P<Zt&&Zt<d&&Lt.push(Zt)}for(var kt=0;kt<Lt.length;kt++){var pr=Nt(L,p,y,_,s,Lt[kt]);pr<W&&(W=pr),pr>ot&&(ot=pr)}for(var A=Ct(y,_,s),E=Infinity,N=-Infinity,G=[d,P],kt=-Math.PI*2;kt<=Math.PI*2;kt+=Math.PI){var Z=A+kt;d<P?d<Z&&Z<P&&G.push(Z):P<Z&&Z<d&&G.push(Z)}for(var kt=0;kt<G.length;kt++){var nt=Pt(L,p,y,_,s,G[kt]);nt<E&&(E=nt),nt>N&&(N=nt)}return{x:W,y:E,width:ot-W,height:N-E}},length:function(L,p,y,_,s,d,P){},nearestPoint:function(L,p,y,_,s,d,P,R,W){var ot=vt(R-L,W-p,-s),Lt=ot[0],kt=ot[1],Zt=zr.nearestPoint(0,0,y,_,Lt,kt),pr=v(y,_,Zt.x,Zt.y);pr<d?Zt=O(y,_,d):pr>P&&(Zt=O(y,_,P));var A=vt(Zt.x,Zt.y,s);return{x:A[0]+L,y:A[1]+p}},pointDistance:function(L,p,y,_,s,d,P,R,W){var ot=this.nearestPoint(L,p,y,_,R,W);return j(ot.x,ot.y,R,W)},pointAt:function(L,p,y,_,s,d,P,R){var W=(P-d)*R+d;return{x:Nt(L,p,y,_,s,W),y:Pt(L,p,y,_,s,W)}},tangentAngle:function(L,p,y,_,s,d,P,R){var W=(P-d)*R+d,ot=ft(L,p,y,_,s,d,P,W),Lt=ut(L,p,y,_,s,d,P,W);return Kt(Math.atan2(Lt,ot))}};function Ht(L){for(var p=0,y=[],_=0;_<L.length-1;_++){var s=L[_],d=L[_+1],P=j(s[0],s[1],d[0],d[1]),R={from:s,to:d,length:P};y.push(R),p+=P}return{segments:y,totalLength:p}}function ir(L){if(L.length<2)return 0;for(var p=0,y=0;y<L.length-1;y++){var _=L[y],s=L[y+1];p+=j(_[0],_[1],s[0],s[1])}return p}function Wt(L,p){if(p>1||p<0||L.length<2)return null;var y=Ht(L),_=y.segments,s=y.totalLength;if(s===0)return{x:L[0][0],y:L[0][1]};for(var d=0,P=null,R=0;R<_.length;R++){var W=_[R],ot=W.from,Lt=W.to,kt=W.length/s;if(p>=d&&p<=d+kt){var Zt=(p-d)/kt;P=dr.pointAt(ot[0],ot[1],Lt[0],Lt[1],Zt);break}d+=kt}return P}function cr(L,p){if(p>1||p<0||L.length<2)return 0;for(var y=Ht(L),_=y.segments,s=y.totalLength,d=0,P=0,R=0;R<_.length;R++){var W=_[R],ot=W.from,Lt=W.to,kt=W.length/s;if(p>=d&&p<=d+kt){P=Math.atan2(Lt[1]-ot[1],Lt[0]-ot[0]);break}d+=kt}return P}function ur(L,p,y){for(var _=Infinity,s=0;s<L.length-1;s++){var d=L[s],P=L[s+1],R=dr.pointDistance(d[0],d[1],P[0],P[1],p,y);R<_&&(_=R)}return _}var tr={box:function(L){for(var p=[],y=[],_=0;_<L.length;_++){var s=L[_];p.push(s[0]),y.push(s[1])}return _t(p,y)},length:function(L){return ir(L)},pointAt:function(L,p){return Wt(L,p)},pointDistance:function(L,p,y){return ur(L,p,y)},tangentAngle:function(L,p){return cr(L,p)}};function wr(L){var p=L.slice(0);return L.length&&p.push(L[0]),p}var kr={box:function(L){return tr.box(L)},length:function(L){return ir(wr(L))},pointAt:function(L,p){return Wt(wr(L),p)},pointDistance:function(L,p,y){return ur(wr(L),p,y)},tangentAngle:function(L,p){return cr(wr(L),p)}}},73578:function(ne,Pr,Xt){"use strict";Xt.r(Pr),Xt.d(Pr,{AbstractCanvas:function(){return $.$Z},AbstractGroup:function(){return $.pA},AbstractShape:function(){return $.zr},Base:function(){return $.XY},Canvas:function(){return Dt},Event:function(){return $.ju},Group:function(){return Br},PathUtil:function(){return $.Gk},Shape:function(){return dt},assembleFont:function(){return $.$O},getBBoxMethod:function(){return $.bj},getOffScreenContext:function(){return $.LF},getTextHeight:function(){return $.FE},invert:function(){return $.U_},isAllowCapture:function(){return $.pP},multiplyVec2:function(){return $.rG},registerBBox:function(){return $.WZ},registerEasing:function(){return $.CW},version:function(){return Ut}});var dt={};Xt.r(dt),Xt.d(dt,{Base:function(){return Rt},Circle:function(){return Cr},Dom:function(){return Er},Ellipse:function(){return Dr},Image:function(){return ft},Line:function(){return Ct},Marker:function(){return O},Path:function(){return mt},Polygon:function(){return ir},Polyline:function(){return cr},Rect:function(){return p},Text:function(){return W}});var F=Xt(70655),$=Xt(3232),j=Xt(49242),gr={rect:"path",circle:"circle",line:"line",path:"path",marker:"path",text:"text",polyline:"polyline",polygon:"polygon",image:"image",ellipse:"ellipse",dom:"foreignObject"},_t={opacity:"opacity",fillStyle:"fill",fill:"fill",fillOpacity:"fill-opacity",strokeStyle:"stroke",strokeOpacity:"stroke-opacity",stroke:"stroke",x:"x",y:"y",r:"r",rx:"rx",ry:"ry",width:"width",height:"height",x1:"x1",x2:"x2",y1:"y1",y2:"y2",lineCap:"stroke-linecap",lineJoin:"stroke-linejoin",lineWidth:"stroke-width",lineDash:"stroke-dasharray",lineDashOffset:"stroke-dashoffset",miterLimit:"stroke-miterlimit",font:"font",fontSize:"font-size",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",fontFamily:"font-family",startArrow:"marker-start",endArrow:"marker-end",path:"d",class:"class",id:"id",style:"style",preserveAspectRatio:"preserveAspectRatio"},mr=null;function Kt(B){return document.createElementNS("http://www.w3.org/2000/svg",B)}function Ar(B){var x=gr[B.type],o=B.getParent();if(!x)throw new Error("the type "+B.type+" is not supported by svg");var C=Kt(x);if(B.get("id")&&(C.id=B.get("id")),B.set("el",C),B.set("attrs",{}),o){var k=o.get("el");k||(k=o.createDom(),o.set("el",k)),k.appendChild(C)}return C}function dr(B,x){var o=B.get("el"),C=(0,j.toArray)(o.children).sort(x),k=document.createDocumentFragment();C.forEach(function(U){k.appendChild(U)}),o.appendChild(k)}function fr(B,x){var o=B.parentNode,C=Array.from(o.childNodes).filter(function(at){return at.nodeType===1&&at.nodeName.toLowerCase()!=="defs"}),k=C[x],U=C.indexOf(B);if(k){if(U>x)o.insertBefore(B,k);else if(U<x){var et=C[x+1];et?o.insertBefore(B,et):o.appendChild(B)}}else o.appendChild(B)}function At(B,x){var o=B.cfg.el,C=B.attr(),k={dx:C.shadowOffsetX,dy:C.shadowOffsetY,blur:C.shadowBlur,color:C.shadowColor};if(!k.dx&&!k.dy&&!k.blur&&!k.color)o.removeAttribute("filter");else{var U=x.find("filter",k);U||(U=x.addShadow(k)),o.setAttribute("filter","url(#"+U+")")}}function Jt(B){var x=B.attr().matrix;if(x){for(var o=B.cfg.el,C=[],k=0;k<9;k+=3)C.push(x[k]+","+x[k+1]);C=C.join(","),C.indexOf("NaN")===-1?o.setAttribute("transform","matrix("+C+")"):console.warn("invalid matrix:",x)}}function $t(B,x){var o=B.getClip(),C=B.get("el");if(!o)C.removeAttribute("clip-path");else if(o&&!C.hasAttribute("clip-path")){Ar(o),o.createPath(x);var k=x.addClip(o);C.setAttribute("clip-path","url(#"+k+")")}}function ar(B,x){x.forEach(function(o){o.draw(B)})}function yr(B,x){var o=B.get("canvas");if(o&&o.get("autoDraw")){var C=o.get("context"),k=B.getParent(),U=k?k.getChildren():[o],et=B.get("el");if(x==="remove"){var at=B.get("isClipShape");if(at){var pt=et&&et.parentNode,br=pt&&pt.parentNode;pt&&br&&br.removeChild(pt)}else et&&et.parentNode&&et.parentNode.removeChild(et)}else if(x==="show")et.setAttribute("visibility","visible");else if(x==="hide")et.setAttribute("visibility","hidden");else if(x==="zIndex")fr(et,U.indexOf(B));else if(x==="sort"){var xr=B.get("children");xr&&xr.length&&dr(B,function(Gr,Vr){return xr.indexOf(Gr)-xr.indexOf(Vr)?1:0})}else x==="clear"?et&&(et.innerHTML=""):x==="matrix"?Jt(B):x==="clip"?$t(B,C):x==="attr"||x==="add"&&B.draw(C)}}var Lr=function(B){(0,F.__extends)(x,B);function x(){return B!==null&&B.apply(this,arguments)||this}return x.prototype.isEntityGroup=function(){return!0},x.prototype.createDom=function(){var o=Kt("g");this.set("el",o);var C=this.getParent();if(C){var k=C.get("el");k||(k=C.createDom(),C.set("el",k)),k.appendChild(o)}return o},x.prototype.afterAttrsChange=function(o){B.prototype.afterAttrsChange.call(this,o);var C=this.get("canvas");if(C&&C.get("autoDraw")){var k=C.get("context");this.createPath(k,o)}},x.prototype.onCanvasChange=function(o){yr(this,o)},x.prototype.getShapeBase=function(){return dt},x.prototype.getGroupBase=function(){return x},x.prototype.draw=function(o){var C=this.getChildren(),k=this.get("el");this.get("destroyed")?k&&k.parentNode.removeChild(k):(k||this.createDom(),$t(this,o),this.createPath(o),C.length&&ar(o,C))},x.prototype.createPath=function(o,C){var k=this.attr(),U=this.get("el");(0,j.each)(C||k,function(et,at){_t[at]&&U.setAttribute(_t[at],et)}),Jt(this)},x}($.pA),Br=Lr,Wr=function(B){(0,F.__extends)(x,B);function x(){var o=B!==null&&B.apply(this,arguments)||this;return o.type="svg",o.canFill=!1,o.canStroke=!1,o}return x.prototype.getDefaultAttrs=function(){var o=B.prototype.getDefaultAttrs.call(this);return(0,F.__assign)((0,F.__assign)({},o),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},x.prototype.afterAttrsChange=function(o){B.prototype.afterAttrsChange.call(this,o);var C=this.get("canvas");if(C&&C.get("autoDraw")){var k=C.get("context");this.draw(k,o)}},x.prototype.getShapeBase=function(){return dt},x.prototype.getGroupBase=function(){return Br},x.prototype.onCanvasChange=function(o){yr(this,o)},x.prototype.calculateBBox=function(){var o=this.get("el"),C=null;if(o)C=o.getBBox();else{var k=(0,$.bj)(this.get("type"));k&&(C=k(this))}if(C){var U=C.x,et=C.y,at=C.width,pt=C.height,br=this.getHitLineWidth(),xr=br/2,Gr=U-xr,Vr=et-xr,ae=U+at+xr,he=et+pt+xr;return{x:Gr,y:Vr,minX:Gr,minY:Vr,maxX:ae,maxY:he,width:at+br,height:pt+br}}return{x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0}},x.prototype.isFill=function(){var o=this.attr(),C=o.fill,k=o.fillStyle;return(C||k||this.isClipShape())&&this.canFill},x.prototype.isStroke=function(){var o=this.attr(),C=o.stroke,k=o.strokeStyle;return(C||k)&&this.canStroke},x.prototype.draw=function(o,C){var k=this.get("el");this.get("destroyed")?k&&k.parentNode.removeChild(k):(k||Ar(this),$t(this,o),this.createPath(o,C),this.shadow(o,C),this.strokeAndFill(o,C),this.transform(C))},x.prototype.createPath=function(o,C){},x.prototype.strokeAndFill=function(o,C){var k=C||this.attr(),U=k.fill,et=k.fillStyle,at=k.stroke,pt=k.strokeStyle,br=k.fillOpacity,xr=k.strokeOpacity,Gr=k.lineWidth,Vr=this.get("el");this.canFill&&(C?"fill"in k?this._setColor(o,"fill",U):"fillStyle"in k&&this._setColor(o,"fill",et):this._setColor(o,"fill",U||et),br&&Vr.setAttribute(_t.fillOpacity,br)),this.canStroke&&Gr>0&&(C?"stroke"in k?this._setColor(o,"stroke",at):"strokeStyle"in k&&this._setColor(o,"stroke",pt):this._setColor(o,"stroke",at||pt),xr&&Vr.setAttribute(_t.strokeOpacity,xr),Gr&&Vr.setAttribute(_t.lineWidth,Gr))},x.prototype._setColor=function(o,C,k){var U=this.get("el");if(!k){U.setAttribute(_t[C],"none");return}if(k=k.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(k)){var et=o.find("gradient",k);et||(et=o.addGradient(k)),U.setAttribute(_t[C],"url(#"+et+")")}else if(/^[p,P]{1}[\s]*\(/.test(k)){var et=o.find("pattern",k);et||(et=o.addPattern(k)),U.setAttribute(_t[C],"url(#"+et+")")}else U.setAttribute(_t[C],k)},x.prototype.shadow=function(o,C){var k=this.attr(),U=C||k,et=U.shadowOffsetX,at=U.shadowOffsetY,pt=U.shadowBlur,br=U.shadowColor;(et||at||pt||br)&&At(this,o)},x.prototype.transform=function(o){var C=this.attr(),k=(o||C).matrix;k&&Jt(this)},x.prototype.isInShape=function(o,C){return this.isPointInPath(o,C)},x.prototype.isPointInPath=function(o,C){var k=this.get("el"),U=this.get("canvas"),et=U.get("el").getBoundingClientRect(),at=o+et.left,pt=C+et.top,br=document.elementFromPoint(at,pt);return!!(br&&br.isEqualNode(k))},x.prototype.getHitLineWidth=function(){var o=this.attrs,C=o.lineWidth,k=o.lineAppendWidth;return this.isStroke()?C+k:0},x}($.zr),Rt=Wr,sr=function(B){(0,F.__extends)(x,B);function x(){var o=B!==null&&B.apply(this,arguments)||this;return o.type="circle",o.canFill=!0,o.canStroke=!0,o}return x.prototype.getDefaultAttrs=function(){var o=B.prototype.getDefaultAttrs.call(this);return(0,F.__assign)((0,F.__assign)({},o),{x:0,y:0,r:0})},x.prototype.createPath=function(o,C){var k=this.attr(),U=this.get("el");(0,j.each)(C||k,function(et,at){at==="x"||at==="y"?U.setAttribute("c"+at,et):_t[at]&&U.setAttribute(_t[at],et)})},x}(Rt),Cr=sr,Sr=function(B){(0,F.__extends)(x,B);function x(){var o=B!==null&&B.apply(this,arguments)||this;return o.type="dom",o.canFill=!1,o.canStroke=!1,o}return x.prototype.createPath=function(o,C){var k=this.attr(),U=this.get("el");if((0,j.each)(C||k,function(br,xr){_t[xr]&&U.setAttribute(_t[xr],br)}),typeof k.html=="function"){var et=k.html.call(this,k);if(et instanceof Element||et instanceof HTMLDocument){for(var at=U.childNodes,pt=at.length-1;pt>=0;pt--)U.removeChild(at[pt]);U.appendChild(et)}else U.innerHTML=et}else U.innerHTML=k.html},x}(Rt),Er=Sr,Tr=function(B){(0,F.__extends)(x,B);function x(){var o=B!==null&&B.apply(this,arguments)||this;return o.type="ellipse",o.canFill=!0,o.canStroke=!0,o}return x.prototype.getDefaultAttrs=function(){var o=B.prototype.getDefaultAttrs.call(this);return(0,F.__assign)((0,F.__assign)({},o),{x:0,y:0,rx:0,ry:0})},x.prototype.createPath=function(o,C){var k=this.attr(),U=this.get("el");(0,j.each)(C||k,function(et,at){at==="x"||at==="y"?U.setAttribute("c"+at,et):_t[at]&&U.setAttribute(_t[at],et)})},x}(Rt),Dr=Tr,zr=function(B){(0,F.__extends)(x,B);function x(){var o=B!==null&&B.apply(this,arguments)||this;return o.type="image",o.canFill=!1,o.canStroke=!1,o}return x.prototype.getDefaultAttrs=function(){var o=B.prototype.getDefaultAttrs.call(this);return(0,F.__assign)((0,F.__assign)({},o),{x:0,y:0,width:0,height:0})},x.prototype.createPath=function(o,C){var k=this,U=this.attr(),et=this.get("el");(0,j.each)(C||U,function(at,pt){pt==="img"?k._setImage(U.img):_t[pt]&&et.setAttribute(_t[pt],at)})},x.prototype.setAttr=function(o,C){this.attrs[o]=C,o==="img"&&this._setImage(C)},x.prototype._setImage=function(o){var C=this.attr(),k=this.get("el");if((0,j.isString)(o))k.setAttribute("href",o);else if(o instanceof window.Image)C.width||(k.setAttribute("width",o.width),this.attr("width",o.width)),C.height||(k.setAttribute("height",o.height),this.attr("height",o.height)),k.setAttribute("href",o.src);else if(o instanceof HTMLElement&&(0,j.isString)(o.nodeName)&&o.nodeName.toUpperCase()==="CANVAS")k.setAttribute("href",o.toDataURL());else if(o instanceof ImageData){var U=document.createElement("canvas");U.setAttribute("width",""+o.width),U.setAttribute("height",""+o.height),U.getContext("2d").putImageData(o,0,0),C.width||(k.setAttribute("width",""+o.width),this.attr("width",o.width)),C.height||(k.setAttribute("height",""+o.height),this.attr("height",o.height)),k.setAttribute("href",U.toDataURL())}},x}(Rt),ft=zr,ut=Xt(89838),Mt=function(B){(0,F.__extends)(x,B);function x(){var o=B!==null&&B.apply(this,arguments)||this;return o.type="line",o.canFill=!1,o.canStroke=!0,o}return x.prototype.getDefaultAttrs=function(){var o=B.prototype.getDefaultAttrs.call(this);return(0,F.__assign)((0,F.__assign)({},o),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},x.prototype.createPath=function(o,C){var k=this.attr(),U=this.get("el");(0,j.each)(C||k,function(et,at){if(at==="startArrow"||at==="endArrow")if(et){var pt=(0,j.isObject)(et)?o.addArrow(k,_t[at]):o.getDefaultArrow(k,_t[at]);U.setAttribute(_t[at],"url(#"+pt+")")}else U.removeAttribute(_t[at]);else _t[at]&&U.setAttribute(_t[at],et)})},x.prototype.getTotalLength=function(){var o=this.attr(),C=o.x1,k=o.y1,U=o.x2,et=o.y2;return ut.x1.length(C,k,U,et)},x.prototype.getPoint=function(o){var C=this.attr(),k=C.x1,U=C.y1,et=C.x2,at=C.y2;return ut.x1.pointAt(k,U,et,at,o)},x}(Rt),Ct=Mt,Nt={circle:function(B,x,o){return[["M",B,x],["m",-o,0],["a",o,o,0,1,0,o*2,0],["a",o,o,0,1,0,-o*2,0]]},square:function(B,x,o){return[["M",B-o,x-o],["L",B+o,x-o],["L",B+o,x+o],["L",B-o,x+o],["Z"]]},diamond:function(B,x,o){return[["M",B-o,x],["L",B,x-o],["L",B+o,x],["L",B,x+o],["Z"]]},triangle:function(B,x,o){var C=o*Math.sin(1/3*Math.PI);return[["M",B-o,x+C],["L",B,x-C],["L",B+o,x+C],["z"]]},triangleDown:function(B,x,o){var C=o*Math.sin(1/3*Math.PI);return[["M",B-o,x-C],["L",B+o,x-C],["L",B,x+C],["Z"]]}},Pt={get:function(B){return Nt[B]},register:function(B,x){Nt[B]=x},remove:function(B){delete Nt[B]},getAll:function(){return Nt}},v=function(B){(0,F.__extends)(x,B);function x(){var o=B!==null&&B.apply(this,arguments)||this;return o.type="marker",o.canFill=!0,o.canStroke=!0,o}return x.prototype.createPath=function(o){var C=this.get("el");C.setAttribute("d",this._assembleMarker())},x.prototype._assembleMarker=function(){var o=this._getPath();return(0,j.isArray)(o)?o.map(function(C){return C.join(" ")}).join(""):o},x.prototype._getPath=function(){var o=this.attr(),C=o.x,k=o.y,U=o.r||o.radius,et=o.symbol||"circle",at;return(0,j.isFunction)(et)?at=et:at=Pt.get(et),at?at(C,k,U):(console.warn(at+" symbol is not exist."),null)},x.symbolsFactory=Pt,x}(Rt),O=v,vt=function(B){(0,F.__extends)(x,B);function x(){var o=B!==null&&B.apply(this,arguments)||this;return o.type="path",o.canFill=!0,o.canStroke=!0,o}return x.prototype.getDefaultAttrs=function(){var o=B.prototype.getDefaultAttrs.call(this);return(0,F.__assign)((0,F.__assign)({},o),{startArrow:!1,endArrow:!1})},x.prototype.createPath=function(o,C){var k=this,U=this.attr(),et=this.get("el");(0,j.each)(C||U,function(at,pt){if(pt==="path"&&(0,j.isArray)(at))et.setAttribute("d",k._formatPath(at));else if(pt==="startArrow"||pt==="endArrow")if(at){var br=(0,j.isObject)(at)?o.addArrow(U,_t[pt]):o.getDefaultArrow(U,_t[pt]);et.setAttribute(_t[pt],"url(#"+br+")")}else et.removeAttribute(_t[pt]);else _t[pt]&&et.setAttribute(_t[pt],at)})},x.prototype._formatPath=function(o){var C=o.map(function(k){return k.join(" ")}).join("");return~C.indexOf("NaN")?"":C},x.prototype.getTotalLength=function(){var o=this.get("el");return o?o.getTotalLength():null},x.prototype.getPoint=function(o){var C=this.get("el"),k=this.getTotalLength();if(k===0)return null;var U=C?C.getPointAtLength(o*k):null;return U?{x:U.x,y:U.y}:null},x}(Rt),mt=vt,Ht=function(B){(0,F.__extends)(x,B);function x(){var o=B!==null&&B.apply(this,arguments)||this;return o.type="polygon",o.canFill=!0,o.canStroke=!0,o}return x.prototype.createPath=function(o,C){var k=this.attr(),U=this.get("el");(0,j.each)(C||k,function(et,at){at==="points"&&(0,j.isArray)(et)&&et.length>=2?U.setAttribute("points",et.map(function(pt){return pt[0]+","+pt[1]}).join(" ")):_t[at]&&U.setAttribute(_t[at],et)})},x}(Rt),ir=Ht,Wt=function(B){(0,F.__extends)(x,B);function x(){var o=B!==null&&B.apply(this,arguments)||this;return o.type="polyline",o.canFill=!0,o.canStroke=!0,o}return x.prototype.getDefaultAttrs=function(){var o=B.prototype.getDefaultAttrs.call(this);return(0,F.__assign)((0,F.__assign)({},o),{startArrow:!1,endArrow:!1})},x.prototype.onAttrChange=function(o,C,k){B.prototype.onAttrChange.call(this,o,C,k),["points"].indexOf(o)!==-1&&this._resetCache()},x.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},x.prototype.createPath=function(o,C){var k=this.attr(),U=this.get("el");(0,j.each)(C||k,function(et,at){at==="points"&&(0,j.isArray)(et)&&et.length>=2?U.setAttribute("points",et.map(function(pt){return pt[0]+","+pt[1]}).join(" ")):_t[at]&&U.setAttribute(_t[at],et)})},x.prototype.getTotalLength=function(){var o=this.attr().points,C=this.get("totalLength");return(0,j.isNil)(C)?(this.set("totalLength",ut.aH.length(o)),this.get("totalLength")):C},x.prototype.getPoint=function(o){var C=this.attr().points,k=this.get("tCache");k||(this._setTcache(),k=this.get("tCache"));var U,et;return(0,j.each)(k,function(at,pt){o>=at[0]&&o<=at[1]&&(U=(o-at[0])/(at[1]-at[0]),et=pt)}),ut.x1.pointAt(C[et][0],C[et][1],C[et+1][0],C[et+1][1],U)},x.prototype._setTcache=function(){var o=this.attr().points;if(!(!o||o.length===0)){var C=this.getTotalLength();if(!(C<=0)){var k=0,U=[],et,at;(0,j.each)(o,function(pt,br){o[br+1]&&(et=[],et[0]=k/C,at=ut.x1.length(pt[0],pt[1],o[br+1][0],o[br+1][1]),k+=at,et[1]=k/C,U.push(et))}),this.set("tCache",U)}}},x.prototype.getStartTangent=function(){var o=this.attr().points,C=[];return C.push([o[1][0],o[1][1]]),C.push([o[0][0],o[0][1]]),C},x.prototype.getEndTangent=function(){var o=this.attr().points,C=o.length-1,k=[];return k.push([o[C-1][0],o[C-1][1]]),k.push([o[C][0],o[C][1]]),k},x}(Rt),cr=Wt,ur=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,tr=/[^\s,]+/gi;function wr(B){var x=0,o=0,C=0,k=0;return(0,j.isArray)(B)?B.length===1?x=o=C=k=B[0]:B.length===2?(x=C=B[0],o=k=B[1]):B.length===3?(x=B[0],o=k=B[1],C=B[2]):(x=B[0],o=B[1],C=B[2],k=B[3]):x=o=C=k=B,{r1:x,r2:o,r3:C,r4:k}}function kr(B){if(B=B||[],isArray(B))return B;if(isString(B))return B=B.match(ur),each(B,function(x,o){if(x=x.match(tr),x[0].length>1){var C=x[0].charAt(0);x.splice(1,0,x[0].substr(1)),x[0]=C}each(x,function(k,U){isNaN(k)||(x[U]=+k)}),B[o]=x}),B}var L=function(B){(0,F.__extends)(x,B);function x(){var o=B!==null&&B.apply(this,arguments)||this;return o.type="rect",o.canFill=!0,o.canStroke=!0,o}return x.prototype.getDefaultAttrs=function(){var o=B.prototype.getDefaultAttrs.call(this);return(0,F.__assign)((0,F.__assign)({},o),{x:0,y:0,width:0,height:0,radius:0})},x.prototype.createPath=function(o,C){var k=this,U=this.attr(),et=this.get("el"),at=!1,pt=["x","y","width","height","radius"];(0,j.each)(C||U,function(br,xr){pt.indexOf(xr)!==-1&&!at?(et.setAttribute("d",k._assembleRect(U)),at=!0):pt.indexOf(xr)===-1&&_t[xr]&&et.setAttribute(_t[xr],br)})},x.prototype._assembleRect=function(o){var C=o.x,k=o.y,U=o.width,et=o.height,at=o.radius;if(!at)return"M "+C+","+k+" l "+U+",0 l 0,"+et+" l"+-U+" 0 z";var pt=wr(at);(0,j.isArray)(at)?at.length===1?pt.r1=pt.r2=pt.r3=pt.r4=at[0]:at.length===2?(pt.r1=pt.r3=at[0],pt.r2=pt.r4=at[1]):at.length===3?(pt.r1=at[0],pt.r2=pt.r4=at[1],pt.r3=at[2]):(pt.r1=at[0],pt.r2=at[1],pt.r3=at[2],pt.r4=at[3]):pt.r1=pt.r2=pt.r3=pt.r4=at;var br=[["M "+(C+pt.r1)+","+k],["l "+(U-pt.r1-pt.r2)+",0"],["a "+pt.r2+","+pt.r2+",0,0,1,"+pt.r2+","+pt.r2],["l 0,"+(et-pt.r2-pt.r3)],["a "+pt.r3+","+pt.r3+",0,0,1,"+-pt.r3+","+pt.r3],["l "+(pt.r3+pt.r4-U)+",0"],["a "+pt.r4+","+pt.r4+",0,0,1,"+-pt.r4+","+-pt.r4],["l 0,"+(pt.r4+pt.r1-et)],["a "+pt.r1+","+pt.r1+",0,0,1,"+pt.r1+","+-pt.r1],["z"]];return br.join(" ")},x}(Rt),p=L,y=Xt(43631),_=.3,s={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},d={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},P={left:"left",start:"left",center:"middle",right:"end",end:"end"},R=function(B){(0,F.__extends)(x,B);function x(){var o=B!==null&&B.apply(this,arguments)||this;return o.type="text",o.canFill=!0,o.canStroke=!0,o}return x.prototype.getDefaultAttrs=function(){var o=B.prototype.getDefaultAttrs.call(this);return(0,F.__assign)((0,F.__assign)({},o),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},x.prototype.createPath=function(o,C){var k=this,U=this.attr(),et=this.get("el");this._setFont(),(0,j.each)(C||U,function(at,pt){pt==="text"?k._setText(""+at):pt==="matrix"&&at?Jt(k):_t[pt]&&et.setAttribute(_t[pt],at)}),et.setAttribute("paint-order","stroke"),et.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},x.prototype._setFont=function(){var o=this.get("el"),C=this.attr(),k=C.textBaseline,U=C.textAlign,et=(0,y.qY)();et&&et.name==="firefox"?o.setAttribute("dominant-baseline",d[k]||"alphabetic"):o.setAttribute("alignment-baseline",s[k]||"baseline"),o.setAttribute("text-anchor",P[U]||"left")},x.prototype._setText=function(o){var C=this.get("el"),k=this.attr(),U=k.x,et=k.textBaseline,at=et===void 0?"bottom":et;if(!o)C.innerHTML="";else if(~o.indexOf(`
  8. `)){var pt=o.split(`
  9. `),br=pt.length-1,xr="";(0,j.each)(pt,function(Gr,Vr){Vr===0?at==="alphabetic"?xr+='<tspan x="'+U+'" dy="'+-br+'em">'+Gr+"</tspan>":at==="top"?xr+='<tspan x="'+U+'" dy="0.9em">'+Gr+"</tspan>":at==="middle"?xr+='<tspan x="'+U+'" dy="'+-(br-1)/2+'em">'+Gr+"</tspan>":at==="bottom"?xr+='<tspan x="'+U+'" dy="-'+(br+_)+'em">'+Gr+"</tspan>":at==="hanging"&&(xr+='<tspan x="'+U+'" dy="'+(-(br-1)-_)+'em">'+Gr+"</tspan>"):xr+='<tspan x="'+U+'" dy="1em">'+Gr+"</tspan>"}),C.innerHTML=xr}else C.innerHTML=o},x}(Rt),W=R,ot=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,Lt=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,kt=/[\d.]+:(#[^\s]+|[^)]+\))/gi;function Zt(B){var x=B.match(kt);if(!x)return"";var o="";return x.sort(function(C,k){return C=C.split(":"),k=k.split(":"),Number(C[0])-Number(k[0])}),(0,j.each)(x,function(C){C=C.split(":"),o+='<stop offset="'+C[0]+'" stop-color="'+C[1]+'"></stop>'}),o}function pr(B,x){var o=ot.exec(B),C=(0,j.mod)((0,j.toRadian)(parseFloat(o[1])),Math.PI*2),k=o[2],U,et;C>=0&&C<.5*Math.PI?(U={x:0,y:0},et={x:1,y:1}):.5*Math.PI<=C&&C<Math.PI?(U={x:1,y:0},et={x:0,y:1}):Math.PI<=C&&C<1.5*Math.PI?(U={x:1,y:1},et={x:0,y:0}):(U={x:0,y:1},et={x:1,y:0});var at=Math.tan(C),pt=at*at,br=(et.x-U.x+at*(et.y-U.y))/(pt+1)+U.x,xr=at*(et.x-U.x+at*(et.y-U.y))/(pt+1)+U.y;x.setAttribute("x1",U.x),x.setAttribute("y1",U.y),x.setAttribute("x2",br),x.setAttribute("y2",xr),x.innerHTML=Zt(k)}function A(B,x){var o=Lt.exec(B),C=parseFloat(o[1]),k=parseFloat(o[2]),U=parseFloat(o[3]),et=o[4];x.setAttribute("cx",C),x.setAttribute("cy",k),x.setAttribute("r",U),x.innerHTML=Zt(et)}var E=function(){function B(x){this.cfg={};var o=null,C=(0,j.uniqueId)("gradient_");return x.toLowerCase()[0]==="l"?(o=Kt("linearGradient"),pr(x,o)):(o=Kt("radialGradient"),A(x,o)),o.setAttribute("id",C),this.el=o,this.id=C,this.cfg=x,this}return B.prototype.match=function(x,o){return this.cfg===o},B}(),N=E,G={shadowColor:"color",shadowOpacity:"opacity",shadowBlur:"blur",shadowOffsetX:"dx",shadowOffsetY:"dy"},Z={x:"-40%",y:"-40%",width:"200%",height:"200%"},nt=function(){function B(x){this.type="filter",this.cfg={},this.type="filter";var o=Kt("filter");return(0,j.each)(Z,function(C,k){o.setAttribute(k,C)}),this.el=o,this.id=(0,j.uniqueId)("filter_"),this.el.id=this.id,this.cfg=x,this._parseShadow(x,o),this}return B.prototype.match=function(x,o){if(this.type!==x)return!1;var C=!0,k=this.cfg;return(0,j.each)(Object.keys(k),function(U){if(k[U]!==o[U])return C=!1,!1}),C},B.prototype.update=function(x,o){var C=this.cfg;return C[G[x]]=o,this._parseShadow(C,this.el),this},B.prototype._parseShadow=function(x,o){var C=`<feDropShadow
  10. dx="`+(x.dx||0)+`"
  11. dy="`+(x.dy||0)+`"
  12. stdDeviation="`+(x.blur?x.blur/10:0)+`"
  13. flood-color="`+(x.color?x.color:"#000")+`"
  14. flood-opacity="`+(x.opacity?x.opacity:1)+`"
  15. />`;o.innerHTML=C},B}(),rt=nt,st=function(){function B(x,o){this.cfg={};var C=Kt("marker"),k=(0,j.uniqueId)("marker_");C.setAttribute("id",k);var U=Kt("path");U.setAttribute("stroke",x.stroke||"none"),U.setAttribute("fill",x.fill||"none"),C.appendChild(U),C.setAttribute("overflow","visible"),C.setAttribute("orient","auto-start-reverse"),this.el=C,this.child=U,this.id=k;var et=x[o==="marker-start"?"startArrow":"endArrow"];return this.stroke=x.stroke||"#000",et===!0?this._setDefaultPath(o,U):(this.cfg=et,this._setMarker(x.lineWidth,U)),this}return B.prototype.match=function(){return!1},B.prototype._setDefaultPath=function(x,o){var C=this.el;o.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),C.setAttribute("refX",""+10*Math.cos(Math.PI/6)),C.setAttribute("refY",""+5)},B.prototype._setMarker=function(x,o){var C=this.el,k=this.cfg.path,U=this.cfg.d;(0,j.isArray)(k)&&(k=k.map(function(et){return et.join(" ")}).join("")),o.setAttribute("d",k),C.appendChild(o),U&&C.setAttribute("refX",""+U/x)},B.prototype.update=function(x){var o=this.child;o.attr?o.attr("fill",x):o.setAttribute("fill",x)},B}(),K=st,yt=function(){function B(x){this.type="clip",this.cfg={};var o=Kt("clipPath");this.el=o,this.id=(0,j.uniqueId)("clip_"),o.id=this.id;var C=x.cfg.el;return o.appendChild(C),this.cfg=x,this}return B.prototype.match=function(){return!1},B.prototype.remove=function(){var x=this.el;x.parentNode.removeChild(x)},B}(),lt=yt,Yt=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,rr=function(){function B(x){this.cfg={};var o=Kt("pattern");o.setAttribute("patternUnits","userSpaceOnUse");var C=Kt("image");o.appendChild(C);var k=(0,j.uniqueId)("pattern_");o.id=k,this.el=o,this.id=k,this.cfg=x;var U=Yt.exec(x),et=U[2];C.setAttribute("href",et);var at=new Image;et.match(/^data:/i)||(at.crossOrigin="Anonymous"),at.src=et;function pt(){o.setAttribute("width",""+at.width),o.setAttribute("height",""+at.height)}return at.complete?pt():(at.onload=pt,at.src=at.src),this}return B.prototype.match=function(x,o){return this.cfg===o},B}(),It=rr,zt=function(){function B(x){var o=Kt("defs"),C=(0,j.uniqueId)("defs_");o.id=C,x.appendChild(o),this.children=[],this.defaultArrow={},this.el=o,this.canvas=x}return B.prototype.find=function(x,o){for(var C=this.children,k=null,U=0;U<C.length;U++)if(C[U].match(x,o)){k=C[U].id;break}return k},B.prototype.findById=function(x){for(var o=this.children,C=null,k=0;k<o.length;k++)if(o[k].id===x){C=o[k];break}return C},B.prototype.add=function(x){this.children.push(x),x.canvas=this.canvas,x.parent=this},B.prototype.getDefaultArrow=function(x,o){var C=x.stroke||x.strokeStyle;if(this.defaultArrow[C])return this.defaultArrow[C].id;var k=new K(x,o);return this.defaultArrow[C]=k,this.el.appendChild(k.el),this.add(k),k.id},B.prototype.addGradient=function(x){var o=new N(x);return this.el.appendChild(o.el),this.add(o),o.id},B.prototype.addArrow=function(x,o){var C=new K(x,o);return this.el.appendChild(C.el),this.add(C),C.id},B.prototype.addShadow=function(x){var o=new rt(x);return this.el.appendChild(o.el),this.add(o),o.id},B.prototype.addPattern=function(x){var o=new It(x);return this.el.appendChild(o.el),this.add(o),o.id},B.prototype.addClip=function(x){var o=new lt(x);return this.el.appendChild(o.el),this.add(o),o.id},B}(),Gt=zt,er=function(B){(0,F.__extends)(x,B);function x(o){return B.call(this,(0,F.__assign)((0,F.__assign)({},o),{autoDraw:!0,renderer:"svg"}))||this}return x.prototype.getShapeBase=function(){return dt},x.prototype.getGroupBase=function(){return Br},x.prototype.getShape=function(o,C,k){var U=k.target||k.srcElement;if(!gr[U.tagName]){for(var et=U.parentNode;et&&!gr[et.tagName];)et=et.parentNode;U=et}return this.find(function(at){return at.get("el")===U})},x.prototype.createDom=function(){var o=Kt("svg"),C=new Gt(o);return o.setAttribute("width",""+this.get("width")),o.setAttribute("height",""+this.get("height")),this.set("context",C),o},x.prototype.onCanvasChange=function(o){var C=this.get("context"),k=this.get("el");if(o==="sort"){var U=this.get("children");U&&U.length&&dr(this,function(at,pt){return U.indexOf(at)-U.indexOf(pt)?1:0})}else if(o==="clear"){if(k){k.innerHTML="";var et=C.el;et.innerHTML="",k.appendChild(et)}}else o==="matrix"?Jt(this):o==="clip"?$t(this,C):o==="changeSize"&&(k.setAttribute("width",""+this.get("width")),k.setAttribute("height",""+this.get("height")))},x.prototype.draw=function(){var o=this.get("context"),C=this.getChildren();$t(this,o),C.length&&ar(o,C)},x}($.$Z),Dt=er,Ut="0.5.6"},31506:function(ne,Pr,Xt){"use strict";Xt.d(Pr,{m$:function(){return $},zu:function(){return j},lh:function(){return gr},vs:function(){return mr},Dg:function(){return Ar}});var dt=Xt(35600),F=Xt(31437);function $(fr,At,Jt){var $t=[0,0,0,0,0,0,0,0,0];return dt.fromTranslation($t,Jt),dt.multiply(fr,$t,At)}function j(fr,At,Jt){var $t=[0,0,0,0,0,0,0,0,0];return dt.fromRotation($t,Jt),dt.multiply(fr,$t,At)}function gr(fr,At,Jt){var $t=[0,0,0,0,0,0,0,0,0];return dt.fromScaling($t,Jt),dt.multiply(fr,$t,At)}function _t(fr,At,Jt){return dt.multiply(fr,Jt,At)}function mr(fr,At){for(var Jt=fr?[].concat(fr):[1,0,0,0,1,0,0,0,1],$t=0,ar=At.length;$t<ar;$t++){var yr=At[$t];switch(yr[0]){case"t":$(Jt,Jt,[yr[1],yr[2]]);break;case"s":gr(Jt,Jt,[yr[1],yr[2]]);break;case"r":j(Jt,Jt,yr[1]);break;case"m":_t(Jt,Jt,yr[1]);break;default:break}}return Jt}function Kt(fr,At){return fr[0]*At[1]-At[0]*fr[1]}function Ar(fr,At,Jt){var $t=F.angle(fr,At),ar=Kt(fr,At)>=0;return Jt?ar?Math.PI*2-$t:$t:ar?$t:Math.PI*2-$t}function dr(fr,At,Jt){return Jt?(fr[0]=At[1],fr[1]=-1*At[0]):(fr[0]=-1*At[1],fr[1]=At[0]),fr}},80389:function(ne,Pr,Xt){"use strict";Xt.d(Pr,{e9:function(){return Ar},Wq:function(){return pr},tr:function(){return yr},wb:function(){return Wr},zx:function(){return y}});var dt=Xt(49242),F=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/ig,$=/[^\s\,]+/ig;function j(A){var E=A||[];if((0,dt.isArray)(E))return E;if((0,dt.isString)(E))return E=E.match(F),(0,dt.each)(E,function(N,G){if(N=N.match($),N[0].length>1){var Z=N[0].charAt(0);N.splice(1,0,N[0].substr(1)),N[0]=Z}(0,dt.each)(N,function(nt,rt){isNaN(nt)||(N[rt]=+nt)}),E[G]=N}),E}var gr=j,_t=Xt(31437);function mr(A,E,N,G){var Z=[],nt=!!G,rt,st,K,yt,lt,Yt,rr;if(nt){K=G[0],yt=G[1];for(var It=0,zt=A.length;It<zt;It+=1){var Gt=A[It];K=_t.min([0,0],K,Gt),yt=_t.max([0,0],yt,Gt)}}for(var It=0,er=A.length;It<er;It+=1){var Gt=A[It];if(It===0&&!N)rr=Gt;else if(It===er-1&&!N)Yt=Gt,Z.push(rr),Z.push(Yt);else{var Dt=[It?It-1:er-1,It-1][N?0:1];rt=A[Dt],st=A[N?(It+1)%er:It+1];var Ut=[0,0];Ut=_t.sub(Ut,st,rt),Ut=_t.scale(Ut,Ut,E);var B=_t.distance(Gt,rt),x=_t.distance(Gt,st),o=B+x;o!==0&&(B/=o,x/=o);var C=_t.scale([0,0],Ut,-B),k=_t.scale([0,0],Ut,x);Yt=_t.add([0,0],Gt,C),lt=_t.add([0,0],Gt,k),lt=_t.min([0,0],lt,_t.max([0,0],st,Gt)),lt=_t.max([0,0],lt,_t.min([0,0],st,Gt)),C=_t.sub([0,0],lt,Gt),C=_t.scale([0,0],C,-B/x),Yt=_t.add([0,0],Gt,C),Yt=_t.min([0,0],Yt,_t.max([0,0],rt,Gt)),Yt=_t.max([0,0],Yt,_t.min([0,0],rt,Gt)),k=_t.sub([0,0],Gt,Yt),k=_t.scale([0,0],k,x/B),lt=_t.add([0,0],Gt,k),nt&&(Yt=_t.max([0,0],Yt,K),Yt=_t.min([0,0],Yt,yt),lt=_t.max([0,0],lt,K),lt=_t.min([0,0],lt,yt)),Z.push(rr),Z.push(Yt),rr=lt}}return N&&Z.push(Z.shift()),Z}function Kt(A,E,N){E===void 0&&(E=!1),N===void 0&&(N=[[0,0],[1,1]]);for(var G=!!E,Z=[],nt=0,rt=A.length;nt<rt;nt+=2)Z.push([A[nt],A[nt+1]]);for(var st=mr(Z,.4,G,N),K=Z.length,yt=[],lt,Yt,rr,nt=0;nt<K-1;nt+=1)lt=st[nt*2],Yt=st[nt*2+1],rr=Z[nt+1],yt.push(["C",lt[0],lt[1],Yt[0],Yt[1],rr[0],rr[1]]);return G&&(lt=st[K],Yt=st[K+1],rr=Z[0],yt.push(["C",lt[0],lt[1],Yt[0],Yt[1],rr[0],rr[1]])),yt}var Ar=Kt;function dr(A,E,N){var G=null,Z=N;return E<Z&&(Z=E,G="add"),A<Z&&(Z=A,G="del"),{type:G,min:Z}}var fr=function(A,E){var N=A.length,G=E.length,Z,nt,rt=0;if(N===0||G===0)return null;for(var st=[],K=0;K<=N;K++)st[K]=[],st[K][0]={min:K};for(var yt=0;yt<=G;yt++)st[0][yt]={min:yt};for(var K=1;K<=N;K++){Z=A[K-1];for(var yt=1;yt<=G;yt++){nt=E[yt-1],isEqual(Z,nt)?rt=0:rt=1;var lt=st[K-1][yt].min+1,Yt=st[K][yt-1].min+1,rr=st[K-1][yt-1].min+rt;st[K][yt]=dr(lt,Yt,rr)}}return st};function At(A,E){var N=fr(A,E),G=A.length,Z=E.length,nt=[],rt=1,st=1;if(N[G][Z]!==G){for(var K=1;K<=G;K++){var yt=N[K][K].min;st=K;for(var lt=rt;lt<=Z;lt++)N[K][lt].min<yt&&(yt=N[K][lt].min,st=lt);rt=st,N[K][rt].type&&nt.push({index:K-1,type:N[K][rt].type})}for(var K=nt.length-1;K>=0;K--)rt=nt[K].index,nt[K].type==="add"?A.splice(rt,0,[].concat(A[rt])):A.splice(rt,1)}if(G=A.length,G<Z)for(var K=0;K<Z-G;K++)A[G-1][0]==="z"||A[G-1][0]==="Z"?A.splice(G-2,0,A[G-2]):A.push(A[G-1]);return A}var Jt=`
  16. \v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029`,$t=new RegExp("([a-z])["+Jt+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+Jt+"]*,?["+Jt+"]*)+)","ig"),ar=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+Jt+"]*,?["+Jt+"]*","ig");function yr(A){if(!A)return null;if((0,dt.isArray)(A))return A;var E={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},N=[];return String(A).replace($t,function(G,Z,nt){var rt=[],st=Z.toLowerCase();if(nt.replace(ar,function(K,yt){yt&&rt.push(+yt)}),st==="m"&&rt.length>2&&(N.push([Z].concat(rt.splice(0,2))),st="l",Z=Z==="m"?"l":"L"),st==="o"&&rt.length===1&&N.push([Z,rt[0]]),st==="r")N.push([Z].concat(rt));else for(;rt.length>=E[st]&&(N.push([Z].concat(rt.splice(0,E[st]))),!!E[st]););return""}),N}var Lr=/[a-z]/;function Br(A,E){return[E[0]+(E[0]-A[0]),E[1]+(E[1]-A[1])]}function Wr(A){var E=yr(A);if(!E||!E.length)return[["M",0,0]];for(var N=!1,G=0;G<E.length;G++){var Z=E[G][0];if(Lr.test(Z)||["V","H","T","S"].indexOf(Z)>=0){N=!0;break}}if(!N)return E;var nt=[],rt=0,st=0,K=0,yt=0,lt=0,Yt,rr,It=E[0];(It[0]==="M"||It[0]==="m")&&(rt=+It[1],st=+It[2],K=rt,yt=st,lt++,nt[0]=["M",rt,st]);for(var G=lt,zt=E.length;G<zt;G++){var Gt=E[G],er=nt[G-1],Dt=[],Z=Gt[0],Ut=Z.toUpperCase();if(Z!==Ut)switch(Dt[0]=Ut,Ut){case"A":Dt[1]=Gt[1],Dt[2]=Gt[2],Dt[3]=Gt[3],Dt[4]=Gt[4],Dt[5]=Gt[5],Dt[6]=+Gt[6]+rt,Dt[7]=+Gt[7]+st;break;case"V":Dt[1]=+Gt[1]+st;break;case"H":Dt[1]=+Gt[1]+rt;break;case"M":K=+Gt[1]+rt,yt=+Gt[2]+st,Dt[1]=K,Dt[2]=yt;break;default:for(var B=1,x=Gt.length;B<x;B++)Dt[B]=+Gt[B]+(B%2?rt:st)}else Dt=E[G];switch(Ut){case"Z":rt=+K,st=+yt;break;case"H":rt=Dt[1],Dt=["L",rt,st];break;case"V":st=Dt[1],Dt=["L",rt,st];break;case"T":rt=Dt[1],st=Dt[2];var o=Br([er[1],er[2]],[er[3],er[4]]);Dt=["Q",o[0],o[1],rt,st];break;case"S":rt=Dt[Dt.length-2],st=Dt[Dt.length-1];var C=er.length,k=Br([er[C-4],er[C-3]],[er[C-2],er[C-1]]);Dt=["C",k[0],k[1],Dt[1],Dt[2],rt,st];break;case"M":K=Dt[Dt.length-2],yt=Dt[Dt.length-1];break;default:rt=Dt[Dt.length-2],st=Dt[Dt.length-1]}nt.push(Dt)}return nt}var Rt=Math.PI*2,sr=function(A,E,N,G,Z,nt,rt){var st=A.x,K=A.y;st*=E,K*=N;var yt=G*st-Z*K,lt=Z*st+G*K;return{x:yt+nt,y:lt+rt}},Cr=function(A,E){var N=E===1.5707963267948966?.551915024494:E===-1.5707963267948966?-.551915024494:4/3*Math.tan(E/4),G=Math.cos(A),Z=Math.sin(A),nt=Math.cos(A+E),rt=Math.sin(A+E);return[{x:G-Z*N,y:Z+G*N},{x:nt+rt*N,y:rt-nt*N},{x:nt,y:rt}]},Sr=function(A,E,N,G){var Z=A*G-E*N<0?-1:1,nt=A*N+E*G;return nt>1&&(nt=1),nt<-1&&(nt=-1),Z*Math.acos(nt)},Er=function(A,E,N,G,Z,nt,rt,st,K,yt,lt,Yt){var rr=Math.pow(Z,2),It=Math.pow(nt,2),zt=Math.pow(lt,2),Gt=Math.pow(Yt,2),er=rr*It-rr*Gt-It*zt;er<0&&(er=0),er/=rr*Gt+It*zt,er=Math.sqrt(er)*(rt===st?-1:1);var Dt=er*Z/nt*Yt,Ut=er*-nt/Z*lt,B=yt*Dt-K*Ut+(A+N)/2,x=K*Dt+yt*Ut+(E+G)/2,o=(lt-Dt)/Z,C=(Yt-Ut)/nt,k=(-lt-Dt)/Z,U=(-Yt-Ut)/nt,et=Sr(1,0,o,C),at=Sr(o,C,k,U);return st===0&&at>0&&(at-=Rt),st===1&&at<0&&(at+=Rt),[B,x,et,at]},Tr=function(A){var E=A.px,N=A.py,G=A.cx,Z=A.cy,nt=A.rx,rt=A.ry,st=A.xAxisRotation,K=st===void 0?0:st,yt=A.largeArcFlag,lt=yt===void 0?0:yt,Yt=A.sweepFlag,rr=Yt===void 0?0:Yt,It=[];if(nt===0||rt===0)return[{x1:0,y1:0,x2:0,y2:0,x:G,y:Z}];var zt=Math.sin(K*Rt/360),Gt=Math.cos(K*Rt/360),er=Gt*(E-G)/2+zt*(N-Z)/2,Dt=-zt*(E-G)/2+Gt*(N-Z)/2;if(er===0&&Dt===0)return[{x1:0,y1:0,x2:0,y2:0,x:G,y:Z}];nt=Math.abs(nt),rt=Math.abs(rt);var Ut=Math.pow(er,2)/Math.pow(nt,2)+Math.pow(Dt,2)/Math.pow(rt,2);Ut>1&&(nt*=Math.sqrt(Ut),rt*=Math.sqrt(Ut));var B=Er(E,N,G,Z,nt,rt,lt,rr,zt,Gt,er,Dt),x=B[0],o=B[1],C=B[2],k=B[3],U=Math.abs(k)/(Rt/4);Math.abs(1-U)<1e-7&&(U=1);var et=Math.max(Math.ceil(U),1);k/=et;for(var at=0;at<et;at++)It.push(Cr(C,k)),C+=k;return It.map(function(pt){var br=sr(pt[0],nt,rt,Gt,zt,x,o),xr=br.x,Gr=br.y,Vr=sr(pt[1],nt,rt,Gt,zt,x,o),ae=Vr.x,he=Vr.y,re=sr(pt[2],nt,rt,Gt,zt,x,o),Me=re.x,me=re.y;return{x1:xr,y1:Gr,x2:ae,y2:he,x:Me,y:me}})};function Dr(A,E,N,G,Z,nt,rt,st,K){var yt=Tr({px:A,py:E,cx:st,cy:K,rx:N,ry:G,xAxisRotation:Z,largeArcFlag:nt,sweepFlag:rt});return yt.reduce(function(lt,Yt){var rr=Yt.x1,It=Yt.y1,zt=Yt.x2,Gt=Yt.y2,er=Yt.x,Dt=Yt.y;return lt.push(rr,It,zt,Gt,er,Dt),lt},[])}function zr(A,E){"TQ".indexOf(A[0])<0&&(E.qx=null,E.qy=null);var N=A.slice(1),G=N[0],Z=N[1];switch(A[0]){case"M":return E.x=G,E.y=Z,A;case"A":return["C"].concat(arcToCubic.apply(0,[E.x1,E.y1].concat(A.slice(1))));case"Q":return E.qx=G,E.qy=Z,["C"].concat(quadToCubic.apply(0,[E.x1,E.y1].concat(A.slice(1))));case"L":return["C"].concat(lineToCubic(E.x1,E.y1,A[1],A[2]));case"H":return["C"].concat(lineToCubic(E.x1,E.y1,A[1],E.y1));case"V":return["C"].concat(lineToCubic(E.x1,E.y1,E.x1,A[1]));case"Z":return["C"].concat(lineToCubic(E.x1,E.y1,E.x,E.y));default:}return A}function ft(A,E){E===void 0&&(E=!1);for(var N=path2Absolute(A),G={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null},Z=[],nt="",rt=N.length,st,K,yt=[],lt=0;lt<rt;lt+=1)N[lt]&&(nt=N[lt][0]),Z[lt]=nt,N[lt]=segmentToCubic(N[lt],G),ut(N,Z,lt),rt=N.length,nt==="Z"&&yt.push(lt),st=N[lt],K=st.length,G.x1=+st[K-2],G.y1=+st[K-1],G.x2=+st[K-4]||G.x1,G.y2=+st[K-3]||G.y1;return E?[N,yt]:N}function ut(A,E,N){if(A[N].length>7){A[N].shift();for(var G=A[N],Z=N;G.length;)E[N]="A",A.splice(Z+=1,0,["C"].concat(G.splice(0,6)));A.splice(N,1)}}var Mt=function(A,E,N,G,Z){var nt=-3*E+9*N-9*G+3*Z,rt=A*nt+6*E-12*N+6*G;return A*rt-3*E+3*N},Ct=function(A,E,N,G,Z,nt,rt,st,K){K===null&&(K=1),K=K>1?1:K<0?0:K;for(var yt=K/2,lt=12,Yt=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],rr=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],It=0,zt=0;zt<lt;zt++){var Gt=yt*Yt[zt]+yt,er=Mt(Gt,A,N,Z,rt),Dt=Mt(Gt,E,G,nt,st),Ut=er*er+Dt*Dt;It+=rr[zt]*Math.sqrt(Ut)}return yt*It},Nt=function(A,E,N,G,Z,nt,rt,st){for(var K=[],yt=[[],[]],lt,Yt,rr,It,zt=0;zt<2;++zt){if(zt===0?(Yt=6*A-12*N+6*Z,lt=-3*A+9*N-9*Z+3*rt,rr=3*N-3*A):(Yt=6*E-12*G+6*nt,lt=-3*E+9*G-9*nt+3*st,rr=3*G-3*E),Math.abs(lt)<1e-12){if(Math.abs(Yt)<1e-12)continue;It=-rr/Yt,It>0&&It<1&&K.push(It);continue}var Gt=Yt*Yt-4*rr*lt,er=Math.sqrt(Gt);if(!(Gt<0)){var Dt=(-Yt+er)/(2*lt);Dt>0&&Dt<1&&K.push(Dt);var Ut=(-Yt-er)/(2*lt);Ut>0&&Ut<1&&K.push(Ut)}}for(var B=K.length,x=B,o;B--;)It=K[B],o=1-It,yt[0][B]=o*o*o*A+3*o*o*It*N+3*o*It*It*Z+It*It*It*rt,yt[1][B]=o*o*o*E+3*o*o*It*G+3*o*It*It*nt+It*It*It*st;return yt[0][x]=A,yt[1][x]=E,yt[0][x+1]=rt,yt[1][x+1]=st,yt[0].length=yt[1].length=x+2,{min:{x:Math.min.apply(0,yt[0]),y:Math.min.apply(0,yt[1])},max:{x:Math.max.apply(0,yt[0]),y:Math.max.apply(0,yt[1])}}},Pt=function(A,E,N,G,Z,nt,rt,st){if(!(Math.max(A,N)<Math.min(Z,rt)||Math.min(A,N)>Math.max(Z,rt)||Math.max(E,G)<Math.min(nt,st)||Math.min(E,G)>Math.max(nt,st))){var K=(A*G-E*N)*(Z-rt)-(A-N)*(Z*st-nt*rt),yt=(A*G-E*N)*(nt-st)-(E-G)*(Z*st-nt*rt),lt=(A-N)*(nt-st)-(E-G)*(Z-rt);if(!!lt){var Yt=K/lt,rr=yt/lt,It=+Yt.toFixed(2),zt=+rr.toFixed(2);if(!(It<+Math.min(A,N).toFixed(2)||It>+Math.max(A,N).toFixed(2)||It<+Math.min(Z,rt).toFixed(2)||It>+Math.max(Z,rt).toFixed(2)||zt<+Math.min(E,G).toFixed(2)||zt>+Math.max(E,G).toFixed(2)||zt<+Math.min(nt,st).toFixed(2)||zt>+Math.max(nt,st).toFixed(2)))return{x:Yt,y:rr}}}},v=function(A,E,N){return E>=A.x&&E<=A.x+A.width&&N>=A.y&&N<=A.y+A.height},O=function(A,E,N,G){return A===null&&(A=E=N=G=0),E===null&&(E=A.y,N=A.width,G=A.height,A=A.x),{x:A,y:E,width:N,w:N,height:G,h:G,x2:A+N,y2:E+G,cx:A+N/2,cy:E+G/2,r1:Math.min(N,G)/2,r2:Math.max(N,G)/2,r0:Math.sqrt(N*N+G*G)/2,path:rectPath(A,E,N,G),vb:[A,E,N,G].join(" ")}},vt=function(A,E){return A=O(A),E=O(E),v(E,A.x,A.y)||v(E,A.x2,A.y)||v(E,A.x,A.y2)||v(E,A.x2,A.y2)||v(A,E.x,E.y)||v(A,E.x2,E.y)||v(A,E.x,E.y2)||v(A,E.x2,E.y2)||(A.x<E.x2&&A.x>E.x||E.x<A.x2&&E.x>A.x)&&(A.y<E.y2&&A.y>E.y||E.y<A.y2&&E.y>A.y)},mt=function(A,E,N,G,Z,nt,rt,st){isArray(A)||(A=[A,E,N,G,Z,nt,rt,st]);var K=Nt.apply(null,A);return O(K.min.x,K.min.y,K.max.x-K.min.x,K.max.y-K.min.y)},Ht=function(A,E,N,G,Z,nt,rt,st,K){var yt=1-K,lt=Math.pow(yt,3),Yt=Math.pow(yt,2),rr=K*K,It=rr*K,zt=lt*A+Yt*3*K*N+yt*3*K*K*Z+It*rt,Gt=lt*E+Yt*3*K*G+yt*3*K*K*nt+It*st,er=A+2*K*(N-A)+rr*(Z-2*N+A),Dt=E+2*K*(G-E)+rr*(nt-2*G+E),Ut=N+2*K*(Z-N)+rr*(rt-2*Z+N),B=G+2*K*(nt-G)+rr*(st-2*nt+G),x=yt*A+K*N,o=yt*E+K*G,C=yt*Z+K*rt,k=yt*nt+K*st,U=90-Math.atan2(er-Ut,Dt-B)*180/Math.PI;return{x:zt,y:Gt,m:{x:er,y:Dt},n:{x:Ut,y:B},start:{x,y:o},end:{x:C,y:k},alpha:U}},ir=function(A,E,N){var G=mt(A),Z=mt(E);if(!vt(G,Z))return N?0:[];for(var nt=Ct.apply(0,A),rt=Ct.apply(0,E),st=~~(nt/8),K=~~(rt/8),yt=[],lt=[],Yt={},rr=N?0:[],It=0;It<st+1;It++){var zt=Ht.apply(0,A.concat(It/st));yt.push({x:zt.x,y:zt.y,t:It/st})}for(var It=0;It<K+1;It++){var zt=Ht.apply(0,E.concat(It/K));lt.push({x:zt.x,y:zt.y,t:It/K})}for(var It=0;It<st;It++)for(var Gt=0;Gt<K;Gt++){var er=yt[It],Dt=yt[It+1],Ut=lt[Gt],B=lt[Gt+1],x=Math.abs(Dt.x-er.x)<.001?"y":"x",o=Math.abs(B.x-Ut.x)<.001?"y":"x",C=Pt(er.x,er.y,Dt.x,Dt.y,Ut.x,Ut.y,B.x,B.y);if(C){if(Yt[C.x.toFixed(4)]===C.y.toFixed(4))continue;Yt[C.x.toFixed(4)]=C.y.toFixed(4);var k=er.t+Math.abs((C[x]-er[x])/(Dt[x]-er[x]))*(Dt.t-er.t),U=Ut.t+Math.abs((C[o]-Ut[o])/(B[o]-Ut[o]))*(B.t-Ut.t);k>=0&&k<=1&&U>=0&&U<=1&&(N?rr++:rr.push({x:C.x,y:C.y,t1:k,t2:U}))}}return rr},Wt=function(A,E,N){A=path2Curve(A),E=path2Curve(E);for(var G,Z,nt,rt,st,K,yt,lt,Yt,rr,It=N?0:[],zt=0,Gt=A.length;zt<Gt;zt++){var er=A[zt];if(er[0]==="M")G=st=er[1],Z=K=er[2];else{er[0]==="C"?(Yt=[G,Z].concat(er.slice(1)),G=Yt[6],Z=Yt[7]):(Yt=[G,Z,G,Z,st,K,st,K],G=st,Z=K);for(var Dt=0,Ut=E.length;Dt<Ut;Dt++){var B=E[Dt];if(B[0]==="M")nt=yt=B[1],rt=lt=B[2];else{B[0]==="C"?(rr=[nt,rt].concat(B.slice(1)),nt=rr[6],rt=rr[7]):(rr=[nt,rt,nt,rt,yt,lt,yt,lt],nt=yt,rt=lt);var x=ir(Yt,rr,N);if(N)It+=x;else{for(var o=0,C=x.length;o<C;o++)x[o].segment1=zt,x[o].segment2=Dt,x[o].bez1=Yt,x[o].bez2=rr;It=It.concat(x)}}}}}return It};function cr(A,E){return Wt(A,E)}function ur(A){return Math.sqrt(A[0]*A[0]+A[1]*A[1])}function tr(A,E){return ur(A)*ur(E)?(A[0]*E[0]+A[1]*E[1])/(ur(A)*ur(E)):1}function wr(A,E){return(A[0]*E[1]<A[1]*E[0]?-1:1)*Math.acos(tr(A,E))}function kr(A,E){return A[0]===E[0]&&A[1]===E[1]}function L(A,E){var N=E[1],G=E[2],Z=(0,dt.mod)((0,dt.toRadian)(E[3]),Math.PI*2),nt=E[4],rt=E[5],st=A[0],K=A[1],yt=E[6],lt=E[7],Yt=Math.cos(Z)*(st-yt)/2+Math.sin(Z)*(K-lt)/2,rr=-1*Math.sin(Z)*(st-yt)/2+Math.cos(Z)*(K-lt)/2,It=Yt*Yt/(N*N)+rr*rr/(G*G);It>1&&(N*=Math.sqrt(It),G*=Math.sqrt(It));var zt=N*N*(rr*rr)+G*G*(Yt*Yt),Gt=zt?Math.sqrt((N*N*(G*G)-zt)/zt):1;nt===rt&&(Gt*=-1),isNaN(Gt)&&(Gt=0);var er=G?Gt*N*rr/G:0,Dt=N?Gt*-G*Yt/N:0,Ut=(st+yt)/2+Math.cos(Z)*er-Math.sin(Z)*Dt,B=(K+lt)/2+Math.sin(Z)*er+Math.cos(Z)*Dt,x=[(Yt-er)/N,(rr-Dt)/G],o=[(-1*Yt-er)/N,(-1*rr-Dt)/G],C=wr([1,0],x),k=wr(x,o);return tr(x,o)<=-1&&(k=Math.PI),tr(x,o)>=1&&(k=0),rt===0&&k>0&&(k=k-2*Math.PI),rt===1&&k<0&&(k=k+2*Math.PI),{cx:Ut,cy:B,rx:kr(A,[yt,lt])?0:N,ry:kr(A,[yt,lt])?0:G,startAngle:C,endAngle:C+k,xRotation:Z,arcFlag:nt,sweepFlag:rt}}function p(A,E){return[E[0]+(E[0]-A[0]),E[1]+(E[1]-A[1])]}function y(A){A=gr(A);for(var E=[],N=null,G=null,Z=null,nt=0,rt=A.length,st=0;st<rt;st++){var K=A[st];G=A[st+1];var yt=K[0],lt={command:yt,prePoint:N,params:K,startTangent:null,endTangent:null};switch(yt){case"M":Z=[K[1],K[2]],nt=st;break;case"A":var Yt=L(N,K);lt.arcParams=Yt;break;default:break}if(yt==="Z")N=Z,G=A[nt+1];else{var rr=K.length;N=[K[rr-2],K[rr-1]]}G&&G[0]==="Z"&&(G=A[nt],E[nt]&&(E[nt].prePoint=N)),lt.currentPoint=N,E[nt]&&kr(N,E[nt].currentPoint)&&(E[nt].prePoint=lt.prePoint);var It=G?[G[G.length-2],G[G.length-1]]:null;lt.nextPoint=It;var zt=lt.prePoint;if(["L","H","V"].includes(yt))lt.startTangent=[zt[0]-N[0],zt[1]-N[1]],lt.endTangent=[N[0]-zt[0],N[1]-zt[1]];else if(yt==="Q"){var Gt=[K[1],K[2]];lt.startTangent=[zt[0]-Gt[0],zt[1]-Gt[1]],lt.endTangent=[N[0]-Gt[0],N[1]-Gt[1]]}else if(yt==="T"){var er=E[st-1],Gt=p(er.currentPoint,zt);er.command==="Q"?(lt.command="Q",lt.startTangent=[zt[0]-Gt[0],zt[1]-Gt[1]],lt.endTangent=[N[0]-Gt[0],N[1]-Gt[1]]):(lt.command="TL",lt.startTangent=[zt[0]-N[0],zt[1]-N[1]],lt.endTangent=[N[0]-zt[0],N[1]-zt[1]])}else if(yt==="C"){var Dt=[K[1],K[2]],Ut=[K[3],K[4]];lt.startTangent=[zt[0]-Dt[0],zt[1]-Dt[1]],lt.endTangent=[N[0]-Ut[0],N[1]-Ut[1]],lt.startTangent[0]===0&&lt.startTangent[1]===0&&(lt.startTangent=[Dt[0]-Ut[0],Dt[1]-Ut[1]]),lt.endTangent[0]===0&&lt.endTangent[1]===0&&(lt.endTangent=[Ut[0]-Dt[0],Ut[1]-Dt[1]])}else if(yt==="S"){var er=E[st-1],Dt=p(er.currentPoint,zt),Ut=[K[1],K[2]];er.command==="C"?(lt.command="C",lt.startTangent=[zt[0]-Dt[0],zt[1]-Dt[1]],lt.endTangent=[N[0]-Ut[0],N[1]-Ut[1]]):(lt.command="SQ",lt.startTangent=[zt[0]-Ut[0],zt[1]-Ut[1]],lt.endTangent=[N[0]-Ut[0],N[1]-Ut[1]])}else if(yt==="A"){var B=.001,x=lt.arcParams||{},o=x.cx,C=o===void 0?0:o,k=x.cy,U=k===void 0?0:k,et=x.rx,at=et===void 0?0:et,pt=x.ry,br=pt===void 0?0:pt,xr=x.sweepFlag,Gr=xr===void 0?0:xr,Vr=x.startAngle,ae=Vr===void 0?0:Vr,he=x.endAngle,re=he===void 0?0:he;Gr===0&&(B*=-1);var Me=at*Math.cos(ae-B)+C,me=br*Math.sin(ae-B)+U;lt.startTangent=[Me-Z[0],me-Z[1]];var ye=at*Math.cos(ae+re+B)+C,Se=br*Math.sin(ae+re-B)+U;lt.endTangent=[zt[0]-ye,zt[1]-Se]}E.push(lt)}return E}var _=1e-6;function s(A){return Math.abs(A)<_?0:A<0?-1:1}function d(A,E,N){return(N[0]-A[0])*(E[1]-A[1])==(E[0]-A[0])*(N[1]-A[1])&&Math.min(A[0],E[0])<=N[0]&&N[0]<=Math.max(A[0],E[0])&&Math.min(A[1],E[1])<=N[1]&&N[1]<=Math.max(A[1],E[1])}function P(A,E,N){var G=!1,Z=A.length;if(Z<=2)return!1;for(var nt=0;nt<Z;nt++){var rt=A[nt],st=A[(nt+1)%Z];if(d(rt,st,[E,N]))return!0;s(rt[1]-N)>0!=s(st[1]-N)>0&&s(E-(N-rt[1])*(rt[0]-st[0])/(rt[1]-st[1])-rt[0])<0&&(G=!G)}return G}var R=function(A,E,N){return A>=E&&A<=N};function W(A,E,N,G){var Z=.001,nt={x:N.x-A.x,y:N.y-A.y},rt={x:E.x-A.x,y:E.y-A.y},st={x:G.x-N.x,y:G.y-N.y},K=rt.x*st.y-rt.y*st.x,yt=K*K,lt=rt.x*rt.x+rt.y*rt.y,Yt=st.x*st.x+st.y*st.y,rr=null;if(yt>Z*lt*Yt){var It=(nt.x*st.y-nt.y*st.x)/K,zt=(nt.x*rt.y-nt.y*rt.x)/K;R(It,0,1)&&R(zt,0,1)&&(rr={x:A.x+It*rt.x,y:A.y+It*rt.y})}return rr}function ot(A){for(var E=[],N=A.length,G=0;G<N-1;G++){var Z=A[G],nt=A[G+1];E.push({from:{x:Z[0],y:Z[1]},to:{x:nt[0],y:nt[1]}})}if(E.length>1){var rt=A[0],st=A[N-1];E.push({from:{x:st[0],y:st[1]},to:{x:rt[0],y:rt[1]}})}return E}function Lt(A,E){var N=!1;return(0,dt.each)(A,function(G){if(W(G.from,G.to,E.from,E.to))return N=!0,!1}),N}function kt(A){var E=A.map(function(G){return G[0]}),N=A.map(function(G){return G[1]});return{minX:Math.min.apply(null,E),maxX:Math.max.apply(null,E),minY:Math.min.apply(null,N),maxY:Math.max.apply(null,N)}}function Zt(A,E){return!(E.minX>A.maxX||E.maxX<A.minX||E.minY>A.maxY||E.maxY<A.minY)}function pr(A,E){if(A.length<2||E.length<2)return!1;var N=kt(A),G=kt(E);if(!Zt(N,G))return!1;var Z=!1;if((0,dt.each)(E,function(K){if(P(A,K[0],K[1]))return Z=!0,!1}),Z||((0,dt.each)(A,function(K){if(P(E,K[0],K[1]))return Z=!0,!1}),Z))return!0;var nt=ot(A),rt=ot(E),st=!1;return(0,dt.each)(rt,function(K){if(Lt(nt,K))return st=!0,!1}),st}},86429:function(ne,Pr,Xt){"use strict";Xt.d(Pr,{WD:function(){return dr},bJ:function(){return A},yZ:function(){return Dt}});var dt={};Xt.r(dt),Xt.d(dt,{assign:function(){return Rt},default:function(){return ur},defaultI18n:function(){return Tr},format:function(){return ir},parse:function(){return Wt},setGlobalDateI18n:function(){return zr},setGlobalDateMasks:function(){return Ht}});var F=Xt(49242),$={};function j(h){return $[h]}function gr(h,m){$[h]=m}var _t=function(){function h(m){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=m,this.initCfg(),this.init()}return h.prototype.translate=function(m){return m},h.prototype.change=function(m){(0,F.assign)(this.__cfg__,m),this.init()},h.prototype.clone=function(){return this.constructor(this.__cfg__)},h.prototype.getTicks=function(){var m=this;return(0,F.map)(this.ticks,function(b,q){return(0,F.isObject)(b)?b:{text:m.getText(b,q),tickValue:b,value:m.scale(b)}})},h.prototype.getText=function(m,b){var q=this.formatter,X=q?q(m,b):m;return(0,F.isNil)(X)||!(0,F.isFunction)(X.toString)?"":X.toString()},h.prototype.getConfig=function(m){return this.__cfg__[m]},h.prototype.init=function(){(0,F.assign)(this,this.__cfg__),this.setDomain(),(0,F.isEmpty)(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},h.prototype.initCfg=function(){},h.prototype.setDomain=function(){},h.prototype.calculateTicks=function(){var m=this.tickMethod,b=[];if((0,F.isString)(m)){var q=j(m);if(!q)throw new Error("There is no method to to calculate ticks!");b=q(this)}else(0,F.isFunction)(m)&&(b=m(this));return b},h.prototype.rangeMin=function(){return this.range[0]},h.prototype.rangeMax=function(){return this.range[1]},h.prototype.calcPercent=function(m,b,q){return(0,F.isNumber)(m)?(m-b)/(q-b):NaN},h.prototype.calcValue=function(m,b,q){return b+m*(q-b)},h}(),mr=_t,Kt=Xt(70655),Ar=function(h){(0,Kt.__extends)(m,h);function m(){var b=h!==null&&h.apply(this,arguments)||this;return b.type="cat",b.isCategory=!0,b}return m.prototype.buildIndexMap=function(){if(!this.translateIndexMap){this.translateIndexMap=new Map;for(var b=0;b<this.values.length;b++)this.translateIndexMap.set(this.values[b],b)}},m.prototype.translate=function(b){this.buildIndexMap();var q=this.translateIndexMap.get(b);return q===void 0&&(q=(0,F.isNumber)(b)?b:NaN),q},m.prototype.scale=function(b){var q=this.translate(b),X=this.calcPercent(q,this.min,this.max);return this.calcValue(X,this.rangeMin(),this.rangeMax())},m.prototype.invert=function(b){var q=this.max-this.min,X=this.calcPercent(b,this.rangeMin(),this.rangeMax()),Q=Math.round(q*X)+this.min;return Q<this.min||Q>this.max?NaN:this.values[Q]},m.prototype.getText=function(b){for(var q=[],X=1;X<arguments.length;X++)q[X-1]=arguments[X];var Q=b;return(0,F.isNumber)(b)&&!this.values.includes(b)&&(Q=this.values[Q]),h.prototype.getText.apply(this,(0,Kt.__spreadArrays)([Q],q))},m.prototype.initCfg=function(){this.tickMethod="cat"},m.prototype.setDomain=function(){if((0,F.isNil)(this.getConfig("min"))&&(this.min=0),(0,F.isNil)(this.getConfig("max"))){var b=this.values.length;this.max=b>1?b-1:b}this.translateIndexMap&&(this.translateIndexMap=void 0)},m}(mr),dr=Ar,fr=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,At="\\d\\d?",Jt="\\d\\d",$t="\\d{3}",ar="\\d{4}",yr="[^\\s]+",Lr=/\[([^]*?)\]/gm;function Br(h,m){for(var b=[],q=0,X=h.length;q<X;q++)b.push(h[q].substr(0,m));return b}var Wr=function(h){return function(m,b){var q=b[h].map(function(Q){return Q.toLowerCase()}),X=q.indexOf(m.toLowerCase());return X>-1?X:null}};function Rt(h){for(var m=[],b=1;b<arguments.length;b++)m[b-1]=arguments[b];for(var q=0,X=m;q<X.length;q++){var Q=X[q];for(var bt in Q)h[bt]=Q[bt]}return h}var sr=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Cr=["January","February","March","April","May","June","July","August","September","October","November","December"],Sr=Br(Cr,3),Er=Br(sr,3),Tr={dayNamesShort:Er,dayNames:sr,monthNamesShort:Sr,monthNames:Cr,amPm:["am","pm"],DoFn:function(h){return h+["th","st","nd","rd"][h%10>3?0:(h-h%10!=10?1:0)*h%10]}},Dr=Rt({},Tr),zr=function(h){return Dr=Rt(Dr,h)},ft=function(h){return h.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},ut=function(h,m){for(m===void 0&&(m=2),h=String(h);h.length<m;)h="0"+h;return h},Mt={D:function(h){return String(h.getDate())},DD:function(h){return ut(h.getDate())},Do:function(h,m){return m.DoFn(h.getDate())},d:function(h){return String(h.getDay())},dd:function(h){return ut(h.getDay())},ddd:function(h,m){return m.dayNamesShort[h.getDay()]},dddd:function(h,m){return m.dayNames[h.getDay()]},M:function(h){return String(h.getMonth()+1)},MM:function(h){return ut(h.getMonth()+1)},MMM:function(h,m){return m.monthNamesShort[h.getMonth()]},MMMM:function(h,m){return m.monthNames[h.getMonth()]},YY:function(h){return ut(String(h.getFullYear()),4).substr(2)},YYYY:function(h){return ut(h.getFullYear(),4)},h:function(h){return String(h.getHours()%12||12)},hh:function(h){return ut(h.getHours()%12||12)},H:function(h){return String(h.getHours())},HH:function(h){return ut(h.getHours())},m:function(h){return String(h.getMinutes())},mm:function(h){return ut(h.getMinutes())},s:function(h){return String(h.getSeconds())},ss:function(h){return ut(h.getSeconds())},S:function(h){return String(Math.round(h.getMilliseconds()/100))},SS:function(h){return ut(Math.round(h.getMilliseconds()/10),2)},SSS:function(h){return ut(h.getMilliseconds(),3)},a:function(h,m){return h.getHours()<12?m.amPm[0]:m.amPm[1]},A:function(h,m){return h.getHours()<12?m.amPm[0].toUpperCase():m.amPm[1].toUpperCase()},ZZ:function(h){var m=h.getTimezoneOffset();return(m>0?"-":"+")+ut(Math.floor(Math.abs(m)/60)*100+Math.abs(m)%60,4)},Z:function(h){var m=h.getTimezoneOffset();return(m>0?"-":"+")+ut(Math.floor(Math.abs(m)/60),2)+":"+ut(Math.abs(m)%60,2)}},Ct=function(h){return+h-1},Nt=[null,At],Pt=[null,yr],v=["isPm",yr,function(h,m){var b=h.toLowerCase();return b===m.amPm[0]?0:b===m.amPm[1]?1:null}],O=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(h){var m=(h+"").match(/([+-]|\d\d)/gi);if(m){var b=+m[1]*60+parseInt(m[2],10);return m[0]==="+"?b:-b}return 0}],vt={D:["day",At],DD:["day",Jt],Do:["day",At+yr,function(h){return parseInt(h,10)}],M:["month",At,Ct],MM:["month",Jt,Ct],YY:["year",Jt,function(h){var m=new Date,b=+(""+m.getFullYear()).substr(0,2);return+(""+(+h>68?b-1:b)+h)}],h:["hour",At,void 0,"isPm"],hh:["hour",Jt,void 0,"isPm"],H:["hour",At],HH:["hour",Jt],m:["minute",At],mm:["minute",Jt],s:["second",At],ss:["second",Jt],YYYY:["year",ar],S:["millisecond","\\d",function(h){return+h*100}],SS:["millisecond",Jt,function(h){return+h*10}],SSS:["millisecond",$t],d:Nt,dd:Nt,ddd:Pt,dddd:Pt,MMM:["month",yr,Wr("monthNamesShort")],MMMM:["month",yr,Wr("monthNames")],a:v,A:v,ZZ:O,Z:O},mt={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},Ht=function(h){return Rt(mt,h)},ir=function(h,m,b){if(m===void 0&&(m=mt.default),b===void 0&&(b={}),typeof h=="number"&&(h=new Date(h)),Object.prototype.toString.call(h)!=="[object Date]"||isNaN(h.getTime()))throw new Error("Invalid Date pass to format");m=mt[m]||m;var q=[];m=m.replace(Lr,function(Q,bt){return q.push(bt),"@@@"});var X=Rt(Rt({},Dr),b);return m=m.replace(fr,function(Q){return Mt[Q](h,X)}),m.replace(/@@@/g,function(){return q.shift()})};function Wt(h,m,b){if(b===void 0&&(b={}),typeof m!="string")throw new Error("Invalid format in fecha parse");if(m=mt[m]||m,h.length>1e3)return null;var q=new Date,X={year:q.getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},Q=[],bt=[],Et=m.replace(Lr,function(ue,fe){return bt.push(ft(fe)),"@@@"}),nr={},qt={};Et=ft(Et).replace(fr,function(ue){var fe=vt[ue],ce=fe[0],Ie=fe[1],ie=fe[3];if(nr[ce])throw new Error("Invalid format. "+ce+" specified twice in format");return nr[ce]=!0,ie&&(qt[ie]=!0),Q.push(fe),"("+Ie+")"}),Object.keys(qt).forEach(function(ue){if(!nr[ue])throw new Error("Invalid format. "+ue+" is required in specified format")}),Et=Et.replace(/@@@/g,function(){return bt.shift()});var jt=h.match(new RegExp(Et,"i"));if(!jt)return null;for(var Yr=Rt(Rt({},Dr),b),Nr=1;Nr<jt.length;Nr++){var Qr=Q[Nr-1],Rr=Qr[0],oe=Qr[2],se=oe?oe(jt[Nr],Yr):+jt[Nr];if(se==null)return null;X[Rr]=se}X.isPm===1&&X.hour!=null&&+X.hour!=12?X.hour=+X.hour+12:X.isPm===0&&+X.hour==12&&(X.hour=0);var ve;if(X.timezoneOffset==null){ve=new Date(X.year,X.month,X.day,X.hour,X.minute,X.second,X.millisecond);for(var jr=[["month","getMonth"],["day","getDate"],["hour","getHours"],["minute","getMinutes"],["second","getSeconds"]],Nr=0,Te=jr.length;Nr<Te;Nr++)if(nr[jr[Nr][0]]&&X[jr[Nr][0]]!==ve[jr[Nr][1]]())return null}else if(ve=new Date(Date.UTC(X.year,X.month,X.day,X.hour,X.minute-X.timezoneOffset,X.second,X.millisecond)),X.month>11||X.month<0||X.day>31||X.day<1||X.hour>23||X.hour<0||X.minute>59||X.minute<0||X.second>59||X.second<0)return null;return ve}var cr={format:ir,parse:Wt,defaultI18n:Tr,setGlobalDateI18n:zr,setGlobalDateMasks:Ht},ur=cr;function tr(h){return function(m,b,q,X){for(var Q=(0,F.isNil)(q)?0:q,bt=(0,F.isNil)(X)?m.length:X;Q<bt;){var Et=Q+bt>>>1;h(m[Et])>b?bt=Et:Q=Et+1}return Q}}var wr="format";function kr(h,m){var b=dt[wr]||ur[wr];return b(h,m)}function L(h){return(0,F.isString)(h)&&(h.indexOf("T")>0?h=new Date(h).getTime():h=new Date(h.replace(/-/gi,"/")).getTime()),(0,F.isDate)(h)&&(h=h.getTime()),h}var p=1e3,y=60*p,_=60*y,s=24*_,d=s*31,P=s*365,R=[["HH:mm:ss",p],["HH:mm:ss",p*10],["HH:mm:ss",p*30],["HH:mm",y],["HH:mm",y*10],["HH:mm",y*30],["HH",_],["HH",_*6],["HH",_*12],["YYYY-MM-DD",s],["YYYY-MM-DD",s*4],["YYYY-WW",s*7],["YYYY-MM",d],["YYYY-MM",d*4],["YYYY-MM",d*6],["YYYY",s*380]];function W(h,m,b){var q=(m-h)/b,X=tr(function(bt){return bt[1]})(R,q)-1,Q=R[X];return X<0?Q=R[0]:X>=R.length&&(Q=(0,F.last)(R)),Q}var ot=function(h){(0,Kt.__extends)(m,h);function m(){var b=h!==null&&h.apply(this,arguments)||this;return b.type="timeCat",b}return m.prototype.translate=function(b){b=L(b);var q=this.values.indexOf(b);return q===-1&&((0,F.isNumber)(b)&&b<this.values.length?q=b:q=NaN),q},m.prototype.getText=function(b,q){var X=this.translate(b);if(X>-1){var Q=this.values[X],bt=this.formatter;return Q=bt?bt(Q,q):kr(Q,this.mask),Q}return b},m.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},m.prototype.setDomain=function(){var b=this.values;(0,F.each)(b,function(q,X){b[X]=L(q)}),b.sort(function(q,X){return q-X}),h.prototype.setDomain.call(this)},m}(dr),Lt=ot,kt=function(h){(0,Kt.__extends)(m,h);function m(){var b=h!==null&&h.apply(this,arguments)||this;return b.isContinuous=!0,b}return m.prototype.scale=function(b){if((0,F.isNil)(b))return NaN;var q=this.rangeMin(),X=this.rangeMax(),Q=this.max,bt=this.min;if(Q===bt)return q;var Et=this.getScalePercent(b);return q+Et*(X-q)},m.prototype.init=function(){h.prototype.init.call(this);var b=this.ticks,q=(0,F.head)(b),X=(0,F.last)(b);q<this.min&&(this.min=q),X>this.max&&(this.max=X),(0,F.isNil)(this.minLimit)||(this.min=q),(0,F.isNil)(this.maxLimit)||(this.max=X)},m.prototype.setDomain=function(){var b=(0,F.getRange)(this.values),q=b.min,X=b.max;(0,F.isNil)(this.min)&&(this.min=q),(0,F.isNil)(this.max)&&(this.max=X),this.min>this.max&&(this.min=q,this.max=X)},m.prototype.calculateTicks=function(){var b=this,q=h.prototype.calculateTicks.call(this);return this.nice||(q=(0,F.filter)(q,function(X){return X>=b.min&&X<=b.max})),q},m.prototype.getScalePercent=function(b){var q=this.max,X=this.min;return(b-X)/(q-X)},m.prototype.getInvertPercent=function(b){return(b-this.rangeMin())/(this.rangeMax()-this.rangeMin())},m}(mr),Zt=kt,pr=function(h){(0,Kt.__extends)(m,h);function m(){var b=h!==null&&h.apply(this,arguments)||this;return b.type="linear",b.isLinear=!0,b}return m.prototype.invert=function(b){var q=this.getInvertPercent(b);return this.min+q*(this.max-this.min)},m.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},m}(Zt),A=pr;function E(h,m){var b=Math.E,q;return m>=0?q=Math.pow(b,Math.log(m)/h):q=Math.pow(b,Math.log(-m)/h)*-1,q}function N(h,m){return h===1?1:Math.log(m)/Math.log(h)}function G(h,m,b){(0,F.isNil)(b)&&(b=Math.max.apply(null,h));var q=b;return(0,F.each)(h,function(X){X>0&&X<q&&(q=X)}),q===b&&(q=b/m),q>1&&(q=1),q}function Z(h){var m=h.toString().split(/[eE]/),b=(m[0].split(".")[1]||"").length-+(m[1]||0);return b>0?b:0}function nt(h,m){var b=Z(h),q=Z(m),X=Math.pow(10,Math.max(b,q));return(h*X+m*X)/X}var rt=function(h){(0,Kt.__extends)(m,h);function m(){var b=h!==null&&h.apply(this,arguments)||this;return b.type="log",b}return m.prototype.invert=function(b){var q=this.base,X=N(q,this.max),Q=this.rangeMin(),bt=this.rangeMax()-Q,Et,nr=this.positiveMin;if(nr){if(b===0)return 0;Et=N(q,nr/q);var qt=1/(X-Et)*bt;if(b<qt)return b/qt*nr}else Et=N(q,this.min);var jt=(b-Q)/bt,Yr=jt*(X-Et)+Et;return Math.pow(q,Yr)},m.prototype.initCfg=function(){this.tickMethod="log",this.base=10,this.tickCount=6,this.nice=!0},m.prototype.setDomain=function(){h.prototype.setDomain.call(this);var b=this.min;if(b<0)throw new Error("When you use log scale, the minimum value must be greater than zero!");b===0&&(this.positiveMin=G(this.values,this.base,this.max))},m.prototype.getScalePercent=function(b){var q=this.max,X=this.min;if(q===X||b<=0)return 0;var Q=this.base,bt=this.positiveMin;bt&&(X=bt*1/Q);var Et;return b<bt?Et=b/bt/(N(Q,q)-N(Q,X)):Et=(N(Q,b)-N(Q,X))/(N(Q,q)-N(Q,X)),Et},m}(Zt),st=rt,K=function(h){(0,Kt.__extends)(m,h);function m(){var b=h!==null&&h.apply(this,arguments)||this;return b.type="pow",b}return m.prototype.invert=function(b){var q=this.getInvertPercent(b),X=this.exponent,Q=E(X,this.max),bt=E(X,this.min),Et=q*(Q-bt)+bt,nr=Et>=0?1:-1;return Math.pow(Et,X)*nr},m.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},m.prototype.getScalePercent=function(b){var q=this.max,X=this.min;if(q===X)return 0;var Q=this.exponent,bt=(E(Q,b)-E(Q,X))/(E(Q,q)-E(Q,X));return bt},m}(Zt),yt=K,lt=function(h){(0,Kt.__extends)(m,h);function m(){var b=h!==null&&h.apply(this,arguments)||this;return b.type="time",b}return m.prototype.getText=function(b,q){var X=this.translate(b),Q=this.formatter;return Q?Q(X,q):kr(X,this.mask)},m.prototype.scale=function(b){var q=b;return((0,F.isString)(q)||(0,F.isDate)(q))&&(q=this.translate(q)),h.prototype.scale.call(this,q)},m.prototype.translate=function(b){return L(b)},m.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},m.prototype.setDomain=function(){var b=this.values,q=this.getConfig("min"),X=this.getConfig("max");if((!(0,F.isNil)(q)||!(0,F.isNumber)(q))&&(this.min=this.translate(this.min)),(!(0,F.isNil)(X)||!(0,F.isNumber)(X))&&(this.max=this.translate(this.max)),b&&b.length){var Q=[],bt=Infinity,Et=bt,nr=0;(0,F.each)(b,function(qt){var jt=L(qt);if(isNaN(jt))throw new TypeError("Invalid Time: "+qt+" in time scale!");bt>jt?(Et=bt,bt=jt):Et>jt&&(Et=jt),nr<jt&&(nr=jt),Q.push(jt)}),b.length>1&&(this.minTickInterval=Et-bt),(0,F.isNil)(q)&&(this.min=bt),(0,F.isNil)(X)&&(this.max=nr)}},m}(A),Yt=lt,rr=function(h){(0,Kt.__extends)(m,h);function m(){var b=h!==null&&h.apply(this,arguments)||this;return b.type="quantize",b}return m.prototype.invert=function(b){var q=this.ticks,X=q.length,Q=this.getInvertPercent(b),bt=Math.floor(Q*(X-1));if(bt>=X-1)return(0,F.last)(q);if(bt<0)return(0,F.head)(q);var Et=q[bt],nr=q[bt+1],qt=bt/(X-1),jt=(bt+1)/(X-1);return Et+(Q-qt)/(jt-qt)*(nr-Et)},m.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},m.prototype.calculateTicks=function(){var b=h.prototype.calculateTicks.call(this);return this.nice||((0,F.last)(b)!==this.max&&b.push(this.max),(0,F.head)(b)!==this.min&&b.unshift(this.min)),b},m.prototype.getScalePercent=function(b){var q=this.ticks;if(b<(0,F.head)(q))return 0;if(b>(0,F.last)(q))return 1;var X=0;return(0,F.each)(q,function(Q,bt){if(b>=Q)X=bt;else return!1}),X/(q.length-1)},m}(Zt),It=rr,zt=function(h){(0,Kt.__extends)(m,h);function m(){var b=h!==null&&h.apply(this,arguments)||this;return b.type="quantile",b}return m.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},m}(It),Gt=zt,er={};function Dt(h){return er[h]}function Ut(h,m){if(Dt(h))throw new Error("type '"+h+"' existed.");er[h]=m}var B=function(h){(0,Kt.__extends)(m,h);function m(){var b=h!==null&&h.apply(this,arguments)||this;return b.type="identity",b.isIdentity=!0,b}return m.prototype.calculateTicks=function(){return this.values},m.prototype.scale=function(b){return this.values[0]!==b&&(0,F.isNumber)(b)?b:this.range[0]},m.prototype.invert=function(b){var q=this.range;return b<q[0]||b>q[1]?NaN:this.values[0]},m}(mr),x=B;function o(h){var m=h.values,b=h.tickInterval,q=h.tickCount,X=h.showLast;if((0,F.isNumber)(b)){var Q=(0,F.filter)(m,function(Rr,oe){return oe%b==0}),bt=(0,F.last)(m);return X&&(0,F.last)(Q)!==bt&&Q.push(bt),Q}var Et=m.length,nr=h.min,qt=h.max;if((0,F.isNil)(nr)&&(nr=0),(0,F.isNil)(qt)&&(qt=m.length-1),!(0,F.isNumber)(q)||q>=Et)return m.slice(nr,qt+1);if(q<=0||qt<=0)return[];for(var jt=q===1?Et:Math.floor(Et/(q-1)),Yr=[],Nr=nr,Qr=0;Qr<q&&!(Nr>=qt);Qr++)Nr=Math.min(nr+Qr*jt,qt),Qr===q-1&&X?Yr.push(m[qt]):Yr.push(m[Nr]);return Yr}function C(h){var m=h.min,b=h.max,q=h.nice,X=h.tickCount,Q=new pt;return Q.domain([m,b]),q&&Q.nice(X),Q.ticks(X)}var k=5,U=Math.sqrt(50),et=Math.sqrt(10),at=Math.sqrt(2),pt=function(){function h(){this._domain=[0,1]}return h.prototype.domain=function(m){return m?(this._domain=Array.from(m,Number),this):this._domain.slice()},h.prototype.nice=function(m){var b,q;m===void 0&&(m=k);var X=this._domain.slice(),Q=0,bt=this._domain.length-1,Et=this._domain[Q],nr=this._domain[bt],qt;return nr<Et&&(b=[nr,Et],Et=b[0],nr=b[1],q=[bt,Q],Q=q[0],bt=q[1]),qt=xr(Et,nr,m),qt>0?(Et=Math.floor(Et/qt)*qt,nr=Math.ceil(nr/qt)*qt,qt=xr(Et,nr,m)):qt<0&&(Et=Math.ceil(Et*qt)/qt,nr=Math.floor(nr*qt)/qt,qt=xr(Et,nr,m)),qt>0?(X[Q]=Math.floor(Et/qt)*qt,X[bt]=Math.ceil(nr/qt)*qt,this.domain(X)):qt<0&&(X[Q]=Math.ceil(Et*qt)/qt,X[bt]=Math.floor(nr*qt)/qt,this.domain(X)),this},h.prototype.ticks=function(m){return m===void 0&&(m=k),br(this._domain[0],this._domain[this._domain.length-1],m||k)},h}();function br(h,m,b){var q,X=-1,Q,bt,Et;if(m=+m,h=+h,b=+b,h===m&&b>0)return[h];if((q=m<h)&&(Q=h,h=m,m=Q),(Et=xr(h,m,b))===0||!isFinite(Et))return[];if(Et>0)for(h=Math.ceil(h/Et),m=Math.floor(m/Et),bt=new Array(Q=Math.ceil(m-h+1));++X<Q;)bt[X]=(h+X)*Et;else for(h=Math.floor(h*Et),m=Math.ceil(m*Et),bt=new Array(Q=Math.ceil(h-m+1));++X<Q;)bt[X]=(h-X)/Et;return q&&bt.reverse(),bt}function xr(h,m,b){var q=(m-h)/Math.max(0,b),X=Math.floor(Math.log(q)/Math.LN10),Q=q/Math.pow(10,X);return X>=0?(Q>=U?10:Q>=et?5:Q>=at?2:1)*Math.pow(10,X):-Math.pow(10,-X)/(Q>=U?10:Q>=et?5:Q>=at?2:1)}function Gr(h,m,b){var q;return b==="ceil"?q=Math.ceil(h/m):b==="floor"?q=Math.floor(h/m):q=Math.round(h/m),q*m}function Vr(h,m,b){var q=Gr(h,b,"floor"),X=Gr(m,b,"ceil");q=(0,F.fixedBase)(q,b),X=(0,F.fixedBase)(X,b);for(var Q=[],bt=Math.max((X-q)/(Math.pow(2,12)-1),b),Et=q;Et<=X;Et=Et+bt){var nr=(0,F.fixedBase)(Et,bt);Q.push(nr)}return{min:q,max:X,ticks:Q}}function ae(h,m,b){var q,X=h.minLimit,Q=h.maxLimit,bt=h.min,Et=h.max,nr=h.tickCount,qt=nr===void 0?5:nr,jt=(0,F.isNil)(X)?(0,F.isNil)(m)?bt:m:X,Yr=(0,F.isNil)(Q)?(0,F.isNil)(b)?Et:b:Q;if(jt>Yr&&(q=[jt,Yr],Yr=q[0],jt=q[1]),qt<=2)return[jt,Yr];for(var Nr=(Yr-jt)/(qt-1),Qr=[],Rr=0;Rr<qt;Rr++)Qr.push(jt+Nr*Rr);return Qr}function he(h){var m=h.min,b=h.max,q=h.tickInterval,X=h.minLimit,Q=h.maxLimit,bt=C(h);return!(0,F.isNil)(X)||!(0,F.isNil)(Q)?ae(h,(0,F.head)(bt),(0,F.last)(bt)):q?Vr(m,b,q).ticks:bt}function re(h){return Math.abs(h)<1e-15?h:parseFloat(h.toFixed(15))}var Me=[1,5,2,2.5,4,3],me=null,ye=Number.EPSILON*100;function Se(h,m){return(h%m+m)%m}function Ae(h){return Math.round(h*1e12)/1e12}function Ce(h,m,b,q,X,Q){var bt=(0,F.size)(m),Et=(0,F.indexOf)(m,h),nr=0,qt=Se(q,Q);return(qt<ye||Q-qt<ye)&&q<=0&&X>=0&&(nr=1),1-Et/(bt-1)-b+nr}function M(h,m,b){var q=(0,F.size)(m),X=(0,F.indexOf)(m,h),Q=1;return 1-X/(q-1)-b+Q}function l(h,m,b,q,X,Q){var bt=(h-1)/(Q-X),Et=(m-1)/(Math.max(Q,q)-Math.min(b,X));return 2-Math.max(bt/Et,Et/bt)}function a(h,m){return h>=m?2-(h-1)/(m-1):1}function f(h,m,b,q){var X=m-h;return 1-.5*(Math.pow(m-q,2)+Math.pow(h-b,2))/Math.pow(.1*X,2)}function g(h,m,b){var q=m-h;if(b>q){var X=(b-q)/2;return 1-Math.pow(X,2)/Math.pow(.1*q,2)}return 1}function D(){return 1}function Y(h,m,b,q,X,Q){b===void 0&&(b=5),q===void 0&&(q=!0),X===void 0&&(X=Me),Q===void 0&&(Q=[.25,.2,.5,.05]);var bt=b<0?0:Math.round(b);if(Number.isNaN(h)||Number.isNaN(m)||typeof h!="number"||typeof m!="number"||!bt)return{min:0,max:0,ticks:[]};if(m-h<1e-15||bt===1)return{min:h,max:m,ticks:[h]};if(m-h>1e148){var Et=b||5,nr=(m-h)/Et;return{min:h,max:m,ticks:Array(Et).fill(null).map(function(We,Ke){return re(h+nr*Ke)})}}for(var qt={score:-2,lmin:0,lmax:0,lstep:0},jt=1;jt<Infinity;){for(var Yr=0;Yr<X.length;Yr+=1){var Nr=X[Yr],Qr=M(Nr,X,jt);if(Q[0]*Qr+Q[1]+Q[2]+Q[3]<qt.score){jt=Infinity;break}for(var Rr=2;Rr<Infinity;){var oe=a(Rr,bt);if(Q[0]*Qr+Q[1]+Q[2]*oe+Q[3]<qt.score)break;for(var se=(m-h)/(Rr+1)/jt/Nr,ve=Math.ceil(Math.log10(se));ve<Infinity;){var jr=jt*Nr*Math.pow(10,ve),Te=g(h,m,jr*(Rr-1));if(Q[0]*Qr+Q[1]*Te+Q[2]*oe+Q[3]<qt.score)break;var ue=Math.floor(m/jr)*jt-(Rr-1)*jt,fe=Math.ceil(h/jr)*jt;if(ue<=fe)for(var Et=fe-ue,ce=0;ce<=Et;ce+=1){var Ie=ue+ce,ie=Ie*(jr/jt),pe=ie+jr*(Rr-1),Oe=jr,He=Ce(Nr,X,jt,ie,pe,Oe),ke=f(h,m,ie,pe),Be=l(Rr,bt,h,m,ie,pe),Qe=D(),Ne=Q[0]*He+Q[1]*ke+Q[2]*Be+Q[3]*Qe;Ne>qt.score&&(!q||ie<=h&&pe>=m)&&(qt.lmin=ie,qt.lmax=pe,qt.lstep=Oe,qt.score=Ne)}ve+=1}Rr+=1}}jt+=1}var Ee=re(qt.lmax),qe=re(qt.lmin),Ge=re(qt.lstep),Le=Math.floor(Ae((Ee-qe)/Ge))+1,be=new Array(Le);be[0]=re(qe);for(var Yr=1;Yr<Le;Yr++)be[Yr]=re(be[Yr-1]+Ge);return{min:Math.min(h,(0,F.head)(be)),max:Math.max(m,(0,F.last)(be)),ticks:be}}function z(h){var m=h.min,b=h.max,q=h.tickCount,X=h.nice,Q=h.tickInterval,bt=h.minLimit,Et=h.maxLimit,nr=Y(m,b,q,X).ticks;return!(0,F.isNil)(bt)||!(0,F.isNil)(Et)?ae(h,(0,F.head)(nr),(0,F.last)(nr)):Q?Vr(m,b,Q).ticks:nr}function gt(h){var m=h.base,b=h.tickCount,q=h.min,X=h.max,Q=h.values,bt,Et=N(m,X);if(q>0)bt=Math.floor(N(m,q));else{var nr=G(Q,m,X);bt=Math.floor(N(m,nr))}for(var qt=Et-bt,jt=Math.ceil(qt/b),Yr=[],Nr=bt;Nr<Et+jt;Nr=Nr+jt)Yr.push(Math.pow(m,Nr));return q<=0&&Yr.unshift(0),Yr}function wt(h,m,b){if(b===void 0&&(b=5),h===m)return{max:m,min:h,ticks:[h]};var q=b<0?0:Math.round(b);if(q===0)return{max:m,min:h,ticks:[]};var X=1.5,Q=.5+1.5*X,bt=m-h,Et=bt/q,nr=Math.pow(10,Math.floor(Math.log10(Et))),qt=nr;2*nr-Et<X*(Et-qt)&&(qt=2*nr,5*nr-Et<Q*(Et-qt)&&(qt=5*nr,10*nr-Et<X*(Et-qt)&&(qt=10*nr)));for(var jt=Math.ceil(m/qt),Yr=Math.floor(h/qt),Nr=Math.max(jt*qt,m),Qr=Math.min(Yr*qt,h),Rr=Math.floor((Nr-Qr)/qt)+1,oe=new Array(Rr),se=0;se<Rr;se++)oe[se]=re(Qr+se*qt);return{min:Qr,max:Nr,ticks:oe}}function St(h){var m=h.exponent,b=h.tickCount,q=Math.ceil(E(m,h.max)),X=Math.floor(E(m,h.min)),Q=wt(X,q,b).ticks;return Q.map(function(bt){var Et=bt>=0?1:-1;return Math.pow(bt,m)*Et})}function xt(h,m){var b=h.length*m;return m===1?h[h.length-1]:m===0?h[0]:b%1!=0?h[Math.ceil(b)-1]:h.length%2==0?(h[b-1]+h[b])/2:h[b]}function Vt(h){var m=h.tickCount,b=h.values;if(!b||!b.length)return[];for(var q=b.slice().sort(function(Et,nr){return Et-nr}),X=[],Q=0;Q<m;Q++){var bt=Q/(m-1);X.push(xt(q,bt))}return X}function lr(h){var m=h.min,b=h.max,q=h.tickCount,X=h.tickInterval,Q=h.minLimit,bt=h.maxLimit,Et=wt(m,b,q).ticks;return!(0,F.isNil)(Q)||!(0,F.isNil)(bt)?ae(h,(0,F.head)(Et),(0,F.last)(Et)):X?Vr(m,b,X).ticks:Et}function Xr(h){var m=h.min,b=h.max,q=h.minTickInterval,X=h.tickInterval,Q=h.tickCount;if(X)Q=Math.ceil((b-m)/X);else{X=W(m,b,Q)[1];var bt=(b-m)/X,Et=bt/Q;Et>1&&(X=X*Math.ceil(Et)),q&&X<q&&(X=q)}X=Math.max(Math.floor((b-m)/(Math.pow(2,12)-1)),X);for(var nr=[],qt=m;qt<b+X;qt+=X)nr.push(qt);return nr}function Hr(h){var m=o((0,Kt.__assign)({showLast:!0},h));return m}function Jr(h){return new Date(h).getFullYear()}function qr(h){return new Date(h,0,1).getTime()}function Kr(h){return new Date(h).getMonth()}function Ur(h,m){var b=Jr(h),q=Jr(m),X=Kr(h),Q=Kr(m);return(q-b)*12+(Q-X)%12}function Or(h,m){return new Date(h,m,1).getTime()}function te(h,m){return Math.ceil((m-h)/s)}function ge(h,m){return Math.ceil((m-h)/_)}function $r(h,m){return Math.ceil((m-h)/(60*1e3))}function we(h){var m=h.min,b=h.max,q=h.minTickInterval,X=h.tickCount,Q=h.tickInterval,bt=[];Q||(Q=(b-m)/X,q&&Q<q&&(Q=q)),Q=Math.max(Math.floor((b-m)/(Math.pow(2,12)-1)),Q);var Et=Jr(m);if(Q>P)for(var nr=Jr(b),qt=Math.ceil(Q/P),jt=Et;jt<=nr+qt;jt=jt+qt)bt.push(qr(jt));else if(Q>d)for(var Yr=Math.ceil(Q/d),Nr=Kr(m),Qr=Ur(m,b),jt=0;jt<=Qr+Yr;jt=jt+Yr)bt.push(Or(Et,jt+Nr));else if(Q>s)for(var Rr=new Date(m),oe=Rr.getFullYear(),se=Rr.getMonth(),ve=Rr.getDate(),jr=Math.ceil(Q/s),Te=te(m,b),jt=0;jt<Te+jr;jt=jt+jr)bt.push(new Date(oe,se,ve+jt).getTime());else if(Q>_)for(var Rr=new Date(m),oe=Rr.getFullYear(),se=Rr.getMonth(),jr=Rr.getDate(),ue=Rr.getHours(),fe=Math.ceil(Q/_),ce=ge(m,b),jt=0;jt<=ce+fe;jt=jt+fe)bt.push(new Date(oe,se,jr,ue+jt).getTime());else if(Q>y)for(var Ie=$r(m,b),ie=Math.ceil(Q/y),jt=0;jt<=Ie+ie;jt=jt+ie)bt.push(m+jt*y);else{var pe=Q;pe<p&&(pe=p);for(var Oe=Math.floor(m/p)*p,He=Math.ceil((b-m)/p),ke=Math.ceil(pe/p),jt=0;jt<He+ke;jt=jt+ke)bt.push(Oe+jt*p)}return bt.length>=512&&console.warn("Notice: current ticks length("+bt.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+Q+") is too small, increase the value to solve the problem!"),bt}gr("cat",o),gr("time-cat",Hr),gr("wilkinson-extended",z),gr("r-pretty",lr),gr("time",Xr),gr("time-pretty",we),gr("log",gt),gr("pow",St),gr("quantile",Vt),gr("d3-linear",he),Ut("cat",dr),Ut("category",dr),Ut("identity",x),Ut("linear",A),Ut("log",st),Ut("pow",yt),Ut("time",Yt),Ut("timeCat",Lt),Ut("quantize",It),Ut("quantile",Gt)},49242:function(ne,Pr,Xt){"use strict";Xt.r(Pr),Xt.d(Pr,{Cache:function(){return Dn},assign:function(){return Ee},augment:function(){return Ge},clamp:function(){return et},clearAnimationFrame:function(){return Qe},clone:function(){return be},contains:function(){return j},debounce:function(){return Ke},deepMix:function(){return pn},difference:function(){return Kt},each:function(){return Br},endsWith:function(){return nt},every:function(){return st},extend:function(){return un},filter:function(){return _t},find:function(){return ft},findIndex:function(){return Mt},firstValue:function(){return Nt},fixedBase:function(){return pt},flatten:function(){return v},flattenDeep:function(){return vt},forIn:function(){return Xr},get:function(){return Cn},getEllipsisText:function(){return In},getRange:function(){return Wt},getType:function(){return nr},getWrapBehavior:function(){return er},group:function(){return zt},groupBy:function(){return rr},groupToMap:function(){return It},has:function(){return Hr},hasKey:function(){return Jr},hasValue:function(){return Ur},head:function(){return A},identity:function(){return Tn},includes:function(){return j},indexOf:function(){return dn},isArguments:function(){return jt},isArray:function(){return ar},isArrayLike:function(){return F},isBoolean:function(){return Nr},isDate:function(){return Rr},isDecimal:function(){return Vr},isElement:function(){return ke},isEmpty:function(){return yn},isEqual:function(){return tn},isEqualWith:function(){return rn},isError:function(){return se},isEven:function(){return he},isFinite:function(){return ve},isFunction:function(){return At},isInteger:function(){return Me},isMatch:function(){return Cr},isNegative:function(){return ye},isNil:function(){return $t},isNull:function(){return Te},isNumber:function(){return xr},isNumberEqual:function(){return Ae},isObject:function(){return yr},isObjectLike:function(){return Er},isOdd:function(){return M},isPlainObject:function(){return Dr},isPositive:function(){return a},isPrototype:function(){return ce},isRegExp:function(){return ie},isString:function(){return R},isType:function(){return fr},isUndefined:function(){return Oe},keys:function(){return Rt},last:function(){return E},lowerCase:function(){return ge},lowerFirst:function(){return we},map:function(){return Mn},mapValues:function(){return An},max:function(){return mt},maxBy:function(){return f},measureTextWidth:function(){return De},memoize:function(){return an},min:function(){return Ht},minBy:function(){return g},mix:function(){return Ee},mod:function(){return Y},noop:function(){return Pn},number2color:function(){return o},omit:function(){return Ve},parseRadius:function(){return k},pick:function(){return Sn},pull:function(){return kr},pullAt:function(){return y},reduce:function(){return s},remove:function(){return P},requestAnimationFrame:function(){return Be},set:function(){return bn},size:function(){return cn},some:function(){return yt},sortBy:function(){return ot},startsWith:function(){return G},substitute:function(){return m},throttle:function(){return En},toArray:function(){return ze},toDegree:function(){return wt},toInteger:function(){return St},toRadian:function(){return lr},toString:function(){return Or},union:function(){return Zt},uniq:function(){return Lt},uniqueId:function(){return en},upperCase:function(){return q},upperFirst:function(){return Q},values:function(){return Kr},valuesOfKey:function(){return pr},wrapBehavior:function(){return Ut}});var dt=function(u){return u!==null&&typeof u!="function"&&isFinite(u.length)},F=dt,$=function(u,T){return F(u)?u.indexOf(T)>-1:!1},j=$,gr=function(u,T){if(!F(u))return u;for(var H=[],V=0;V<u.length;V++){var ct=u[V];T(ct,V)&&H.push(ct)}return H},_t=gr,mr=function(u,T){return T===void 0&&(T=[]),_t(u,function(H){return!j(T,H)})},Kt=mr,Ar={}.toString,dr=function(u,T){return Ar.call(u)==="[object "+T+"]"},fr=dr,At=function(u){return fr(u,"Function")},Jt=function(u){return u==null},$t=Jt,ar=function(u){return Array.isArray?Array.isArray(u):fr(u,"Array")},yr=function(u){var T=typeof u;return u!==null&&T==="object"||T==="function"};function Lr(u,T){if(!!u){var H;if(ar(u))for(var V=0,ct=u.length;V<ct&&(H=T(u[V],V),H!==!1);V++);else if(yr(u)){for(var Ft in u)if(u.hasOwnProperty(Ft)&&(H=T(u[Ft],Ft),H===!1))break}}}var Br=Lr,Wr=Object.keys?function(u){return Object.keys(u)}:function(u){var T=[];return Br(u,function(H,V){At(u)&&V==="prototype"||T.push(V)}),T},Rt=Wr;function sr(u,T){var H=Rt(T),V=H.length;if($t(u))return!V;for(var ct=0;ct<V;ct+=1){var Ft=H[ct];if(T[Ft]!==u[Ft]||!(Ft in u))return!1}return!0}var Cr=sr,Sr=function(u){return typeof u=="object"&&u!==null},Er=Sr,Tr=function(u){if(!Er(u)||!fr(u,"Object"))return!1;if(Object.getPrototypeOf(u)===null)return!0;for(var T=u;Object.getPrototypeOf(T)!==null;)T=Object.getPrototypeOf(T);return Object.getPrototypeOf(u)===T},Dr=Tr;function zr(u,T){if(!ar(u))return null;var H;if(At(T)&&(H=T),Dr(T)&&(H=function(ct){return Cr(ct,T)}),H){for(var V=0;V<u.length;V+=1)if(H(u[V]))return u[V]}return null}var ft=zr;function ut(u,T,H){H===void 0&&(H=0);for(var V=H;V<u.length;V++)if(T(u[V],V))return V;return-1}var Mt=ut,Ct=function(u,T){for(var H=null,V=0;V<u.length;V++){var ct=u[V],Ft=ct[T];if(!$t(Ft)){ar(Ft)?H=Ft[0]:H=Ft;break}}return H},Nt=Ct,Pt=function(u){if(!ar(u))return[];for(var T=[],H=0;H<u.length;H++)T=T.concat(u[H]);return T},v=Pt,O=function(u,T){if(T===void 0&&(T=[]),!ar(u))T.push(u);else for(var H=0;H<u.length;H+=1)O(u[H],T);return T},vt=O,mt=function(u){if(!!ar(u))return u.reduce(function(T,H){return Math.max(T,H)},u[0])},Ht=function(u){if(!!ar(u))return u.reduce(function(T,H){return Math.min(T,H)},u[0])},ir=function(u){var T=u.filter(function(hr){return!isNaN(hr)});if(!T.length)return{min:0,max:0};if(ar(u[0])){for(var H=[],V=0;V<u.length;V++)H=H.concat(u[V]);T=H}var ct=mt(T),Ft=Ht(T);return{min:Ft,max:ct}},Wt=ir,cr=Array.prototype,ur=cr.splice,tr=cr.indexOf,wr=function(u){for(var T=[],H=1;H<arguments.length;H++)T[H-1]=arguments[H];for(var V=0;V<T.length;V++)for(var ct=T[V],Ft=-1;(Ft=tr.call(u,ct))>-1;)ur.call(u,Ft,1);return u},kr=wr,L=Array.prototype.splice,p=function(T,H){if(!F(T))return[];for(var V=T?H.length:0,ct=V-1;V--;){var Ft=void 0,hr=H[V];(V===ct||hr!==Ft)&&(Ft=hr,L.call(T,hr,1))}return T},y=p,_=function(u,T,H){if(!ar(u)&&!Dr(u))return u;var V=H;return Br(u,function(ct,Ft){V=T(V,ct,Ft)}),V},s=_,d=function(u,T){var H=[];if(!F(u))return H;for(var V=-1,ct=[],Ft=u.length;++V<Ft;){var hr=u[V];T(hr,V,u)&&(H.push(hr),ct.push(V))}return y(u,ct),H},P=d,R=function(u){return fr(u,"String")};function W(u,T){var H;if(At(T))H=function(ct,Ft){return T(ct)-T(Ft)};else{var V=[];R(T)?V.push(T):ar(T)&&(V=T),H=function(ct,Ft){for(var hr=0;hr<V.length;hr+=1){var Fr=V[hr];if(ct[Fr]>Ft[Fr])return 1;if(ct[Fr]<Ft[Fr])return-1}return 0}}return u.sort(H),u}var ot=W;function Lt(u,T){T===void 0&&(T=new Map);var H=[];if(Array.isArray(u))for(var V=0,ct=u.length;V<ct;V++){var Ft=u[V];T.has(Ft)||(H.push(Ft),T.set(Ft,!0))}return H}var kt=function(){for(var u=[],T=0;T<arguments.length;T++)u[T]=arguments[T];return Lt([].concat.apply([],u))},Zt=kt,pr=function(u,T){for(var H=[],V={},ct=0;ct<u.length;ct++){var Ft=u[ct],hr=Ft[T];if(!$t(hr)){ar(hr)||(hr=[hr]);for(var Fr=0;Fr<hr.length;Fr++){var le=hr[Fr];V[le]||(H.push(le),V[le]=!0)}}}return H};function A(u){if(F(u))return u[0]}function E(u){if(F(u)){var T=u;return T[T.length-1]}}function N(u,T){return ar(u)||R(u)?u[0]===T:!1}var G=N;function Z(u,T){return ar(u)||R(u)?u[u.length-1]===T:!1}var nt=Z,rt=function(u,T){for(var H=0;H<u.length;H++)if(!T(u[H],H))return!1;return!0},st=rt,K=function(u,T){for(var H=0;H<u.length;H++)if(T(u[H],H))return!0;return!1},yt=K,lt=Object.prototype.hasOwnProperty;function Yt(u,T){if(!T||!ar(u))return{};for(var H={},V=At(T)?T:function(Fr){return Fr[T]},ct,Ft=0;Ft<u.length;Ft++){var hr=u[Ft];ct=V(hr),lt.call(H,ct)?H[ct].push(hr):H[ct]=[hr]}return H}var rr=Yt;function It(u,T){if(!T)return{0:u};if(!At(T)){var H=ar(T)?T:T.replace(/\s+/g,"").split("*");T=function(V){for(var ct="_",Ft=0,hr=H.length;Ft<hr;Ft++)ct+=V[H[Ft]]&&V[H[Ft]].toString();return ct}}return rr(u,T)}var zt=function(u,T){if(!T)return[u];var H=It(u,T),V=[];for(var ct in H)V.push(H[ct]);return V};function Gt(u,T){return u["_wrap_"+T]}var er=Gt;function Dt(u,T){if(u["_wrap_"+T])return u["_wrap_"+T];var H=function(V){u[T](V)};return u["_wrap_"+T]=H,H}var Ut=Dt,B={};function x(u){var T=B[u];if(!T){for(var H=u.toString(16),V=H.length;V<6;V++)H="0"+H;T="#"+H,B[u]=T}return T}var o=x;function C(u){var T=0,H=0,V=0,ct=0;return ar(u)?u.length===1?T=H=V=ct=u[0]:u.length===2?(T=V=u[0],H=ct=u[1]):u.length===3?(T=u[0],H=ct=u[1],V=u[2]):(T=u[0],H=u[1],V=u[2],ct=u[3]):T=H=V=ct=u,{r1:T,r2:H,r3:V,r4:ct}}var k=C,U=function(u,T,H){return u<T?T:u>H?H:u},et=U,at=function(u,T){var H=T.toString(),V=H.indexOf(".");if(V===-1)return Math.round(u);var ct=H.substr(V+1).length;return ct>20&&(ct=20),parseFloat(u.toFixed(ct))},pt=at,br=function(u){return fr(u,"Number")},xr=br,Gr=function(u){return xr(u)&&u%1!=0},Vr=Gr,ae=function(u){return xr(u)&&u%2==0},he=ae,re=Number.isInteger?Number.isInteger:function(u){return xr(u)&&u%1==0},Me=re,me=function(u){return xr(u)&&u<0},ye=me,Se=1e-5;function Ae(u,T,H){return H===void 0&&(H=Se),Math.abs(u-T)<H}var Ce=function(u){return xr(u)&&u%2!=0},M=Ce,l=function(u){return xr(u)&&u>0},a=l,f=function(u,T){if(!!ar(u)){for(var H,V=-Infinity,ct=0;ct<u.length;ct++){var Ft=u[ct],hr=At(T)?T(Ft):Ft[T];hr>V&&(H=Ft,V=hr)}return H}},g=function(u,T){if(!!ar(u)){for(var H,V=Infinity,ct=0;ct<u.length;ct++){var Ft=u[ct],hr=At(T)?T(Ft):Ft[T];hr<V&&(H=Ft,V=hr)}return H}},D=function(u,T){return(u%T+T)%T},Y=D,z=180/Math.PI,gt=function(u){return z*u},wt=gt,St=parseInt,xt=Math.PI/180,Vt=function(u){return xt*u},lr=Vt,Xr=Br,Hr=function(u,T){return u.hasOwnProperty(T)},Jr=Hr,qr=Object.values?function(u){return Object.values(u)}:function(u){var T=[];return Br(u,function(H,V){At(u)&&V==="prototype"||T.push(H)}),T},Kr=qr,Ur=function(u,T){return j(Kr(u),T)},Or=function(u){return $t(u)?"":u.toString()},te=function(u){return Or(u).toLowerCase()},ge=te,$r=function(u){var T=Or(u);return T.charAt(0).toLowerCase()+T.substring(1)},we=$r;function h(u,T){return!u||!T?u:u.replace(/\\?\{([^{}]+)\}/g,function(H,V){return H.charAt(0)==="\\"?H.slice(1):T[V]===void 0?"":T[V]})}var m=h,b=function(u){return Or(u).toUpperCase()},q=b,X=function(u){var T=Or(u);return T.charAt(0).toUpperCase()+T.substring(1)},Q=X,bt={}.toString,Et=function(u){return bt.call(u).replace(/^\[object /,"").replace(/]$/,"")},nr=Et,qt=function(u){return fr(u,"Arguments")},jt=qt,Yr=function(u){return fr(u,"Boolean")},Nr=Yr,Qr=function(u){return fr(u,"Date")},Rr=Qr,oe=function(u){return fr(u,"Error")},se=oe;function ve(u){return xr(u)&&isFinite(u)}var jr=function(u){return u===null},Te=jr,ue=Object.prototype,fe=function(u){var T=u&&u.constructor,H=typeof T=="function"&&T.prototype||ue;return u===H},ce=fe,Ie=function(u){return fr(u,"RegExp")},ie=Ie,pe=function(u){return u===void 0},Oe=pe,He=function(u){return u instanceof Element||u instanceof HTMLDocument},ke=He;function Be(u){var T=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(H){return setTimeout(H,16)};return T(u)}function Qe(u){var T=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout;T(u)}function Ne(u,T){for(var H in T)T.hasOwnProperty(H)&&H!=="constructor"&&T[H]!==void 0&&(u[H]=T[H])}function Ee(u,T,H,V){return T&&Ne(u,T),H&&Ne(u,H),V&&Ne(u,V),u}var qe=function(){for(var u=[],T=0;T<arguments.length;T++)u[T]=arguments[T];for(var H=u[0],V=1;V<u.length;V++){var ct=u[V];At(ct)&&(ct=ct.prototype),Ee(H.prototype,ct)}},Ge=qe,Le=function(u){if(typeof u!="object"||u===null)return u;var T;if(ar(u)){T=[];for(var H=0,V=u.length;H<V;H++)typeof u[H]=="object"&&u[H]!=null?T[H]=Le(u[H]):T[H]=u[H]}else{T={};for(var ct in u)typeof u[ct]=="object"&&u[ct]!=null?T[ct]=Le(u[ct]):T[ct]=u[ct]}return T},be=Le;function We(u,T,H){var V;return function(){var ct=this,Ft=arguments,hr=function(){V=null,H||u.apply(ct,Ft)},Fr=H&&!V;clearTimeout(V),V=setTimeout(hr,T),Fr&&u.apply(ct,Ft)}}var Ke=We,an=function(u,T){if(!At(u))throw new TypeError("Expected a function");var H=function(){for(var V=[],ct=0;ct<arguments.length;ct++)V[ct]=arguments[ct];var Ft=T?T.apply(this,V):V[0],hr=H.cache;if(hr.has(Ft))return hr.get(Ft);var Fr=u.apply(this,V);return hr.set(Ft,Fr),Fr};return H.cache=new Map,H},on=5;function Je(u,T,H,V){H=H||0,V=V||on;for(var ct in T)if(T.hasOwnProperty(ct)){var Ft=T[ct];Ft!==null&&Dr(Ft)?(Dr(u[ct])||(u[ct]={}),H<V?Je(u[ct],Ft,H+1,V):u[ct]=T[ct]):ar(Ft)?(u[ct]=[],u[ct]=u[ct].concat(Ft)):Ft!==void 0&&(u[ct]=Ft)}}var sn=function(u){for(var T=[],H=1;H<arguments.length;H++)T[H-1]=arguments[H];for(var V=0;V<T.length;V+=1)Je(u,T[V]);return u},pn=sn,gn=function(u,T,H,V){At(T)||(H=T,T=u,u=function(){});var ct=Object.create?function(hr,Fr){return Object.create(hr,{constructor:{value:Fr}})}:function(hr,Fr){function le(){}le.prototype=hr;var de=new le;return de.constructor=Fr,de},Ft=ct(T.prototype,u);return u.prototype=Ee(Ft,u.prototype),u.superclass=ct(T.prototype,T),Ee(Ft,H),Ee(u,V),u},un=gn,Pe=function(u,T){if(!F(u))return-1;var H=Array.prototype.indexOf;if(H)return H.call(u,T);for(var V=-1,ct=0;ct<u.length;ct++)if(u[ct]===T){V=ct;break}return V},dn=Pe,mn=Object.prototype.hasOwnProperty;function fn(u){if($t(u))return!0;if(F(u))return!u.length;var T=nr(u);if(T==="Map"||T==="Set")return!u.size;if(ce(u))return!Object.keys(u).length;for(var H in u)if(mn.call(u,H))return!1;return!0}var yn=fn,je=function(u,T){if(u===T)return!0;if(!u||!T||R(u)||R(T))return!1;if(F(u)||F(T)){if(u.length!==T.length)return!1;for(var H=!0,V=0;V<u.length&&(H=je(u[V],T[V]),!!H);V++);return H}if(Er(u)||Er(T)){var ct=Object.keys(u),Ft=Object.keys(T);if(ct.length!==Ft.length)return!1;for(var H=!0,V=0;V<ct.length&&(H=je(u[ct[V]],T[ct[V]]),!!H);V++);return H}return!1},tn=je,rn=function(u,T,H){return At(H)?!!H(u,T):tn(u,T)},xn=function(u,T){if(!F(u))return u;for(var H=[],V=0;V<u.length;V++){var ct=u[V];H.push(T(ct,V))}return H},Mn=xn,wn=function(u){return u},An=function(u,T){T===void 0&&(T=wn);var H={};return yr(u)&&!$t(u)&&Object.keys(u).forEach(function(V){H[V]=T(u[V],V)}),H},Cn=function(u,T,H){for(var V=0,ct=R(T)?T.split("."):T;u&&V<ct.length;)u=u[ct[V++]];return u===void 0||V<ct.length?H:u},bn=function(u,T,H){var V=u,ct=R(T)?T.split("."):T;return ct.forEach(function(Ft,hr){hr<ct.length-1?(yr(V[Ft])||(V[Ft]=xr(ct[hr+1])?[]:{}),V=V[Ft]):V[Ft]=H}),u},_n=Object.prototype.hasOwnProperty,Sn=function(u,T){if(u===null||!Dr(u))return{};var H={};return Br(T,function(V){_n.call(u,V)&&(H[V]=u[V])}),H},Ve=function(u,T){return s(u,function(H,V,ct){return T.includes(ct)||(H[ct]=V),H},{})},En=function(u,T,H){var V,ct,Ft,hr,Fr=0;H||(H={});var le=function(){Fr=H.leading===!1?0:Date.now(),V=null,hr=u.apply(ct,Ft),V||(ct=Ft=null)},de=function(){var xe=Date.now();!Fr&&H.leading===!1&&(Fr=xe);var Ue=T-(xe-Fr);return ct=this,Ft=arguments,Ue<=0||Ue>T?(V&&(clearTimeout(V),V=null),Fr=xe,hr=u.apply(ct,Ft),V||(ct=Ft=null)):!V&&H.trailing!==!1&&(V=setTimeout(le,Ue)),hr};return de.cancel=function(){clearTimeout(V),Fr=0,V=ct=Ft=null},de},ze=function(u){return F(u)?Array.prototype.slice.call(u):[]},Ze={},en=function(u){return u=u||"g",Ze[u]?Ze[u]+=1:Ze[u]=1,u+Ze[u]},Pn=function(){},Tn=function(u){return u};function cn(u){return $t(u)?0:F(u)?u.length:Object.keys(u).length}var Ye=Xt(70655),Fe,De=an(function(u,T){T===void 0&&(T={});var H=T.fontSize,V=T.fontFamily,ct=T.fontWeight,Ft=T.fontStyle,hr=T.fontVariant;return Fe||(Fe=document.createElement("canvas").getContext("2d")),Fe.font=[Ft,hr,ct,H+"px",V].join(" "),Fe.measureText(R(u)?u:"").width},function(u,T){return T===void 0&&(T={}),(0,Ye.__spreadArrays)([u],Kr(T)).join("")}),In=function(u,T,H,V){V===void 0&&(V="...");var ct=16,Ft=De(V,H),hr=R(u)?u:Or(u),Fr=T,le=[],de,xe;if(De(u,H)<=T)return u;for(;de=hr.substr(0,ct),xe=De(de,H),!(xe+Ft>Fr&&xe>Fr);)if(le.push(de),Fr-=xe,hr=hr.substr(ct),!hr)return le.join("");for(;de=hr.substr(0,1),xe=De(de,H),!(xe+Ft>Fr);)if(le.push(de),Fr-=xe,hr=hr.substr(1),!hr)return le.join("");return""+le.join("")+V},ln=function(){function u(){this.map={}}return u.prototype.has=function(T){return this.map[T]!==void 0},u.prototype.get=function(T,H){var V=this.map[T];return V===void 0?H:V},u.prototype.set=function(T,H){this.map[T]=H},u.prototype.clear=function(){this.map={}},u.prototype.delete=function(T){delete this.map[T]},u.prototype.size=function(){return Object.keys(this.map).length},u}(),Dn=ln},43631:function(ne,Pr,Xt){"use strict";Xt.d(Pr,{qY:function(){return Jt}});var dt=Xt(34155),F=function(Rt,sr,Cr){if(Cr||arguments.length===2)for(var Sr=0,Er=sr.length,Tr;Sr<Er;Sr++)(Tr||!(Sr in sr))&&(Tr||(Tr=Array.prototype.slice.call(sr,0,Sr)),Tr[Sr]=sr[Sr]);return Rt.concat(Tr||Array.prototype.slice.call(sr))},$=function(){function Rt(sr,Cr,Sr){this.name=sr,this.version=Cr,this.os=Sr,this.type="browser"}return Rt}(),j=function(){function Rt(sr){this.version=sr,this.type="node",this.name="node",this.os=dt.platform}return Rt}(),gr=function(){function Rt(sr,Cr,Sr,Er){this.name=sr,this.version=Cr,this.os=Sr,this.bot=Er,this.type="bot-device"}return Rt}(),_t=function(){function Rt(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}return Rt}(),mr=function(){function Rt(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}return Rt}(),Kt=/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/,Ar=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,dr=3,fr=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",Kt]],At=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function Jt(Rt){return Rt?yr(Rt):typeof document=="undefined"&&typeof navigator!="undefined"&&navigator.product==="ReactNative"?new mr:typeof navigator!="undefined"?yr(navigator.userAgent):Br()}function $t(Rt){return Rt!==""&&fr.reduce(function(sr,Cr){var Sr=Cr[0],Er=Cr[1];if(sr)return sr;var Tr=Er.exec(Rt);return!!Tr&&[Sr,Tr]},!1)}function ar(Rt){var sr=$t(Rt);return sr?sr[0]:null}function yr(Rt){var sr=$t(Rt);if(!sr)return null;var Cr=sr[0],Sr=sr[1];if(Cr==="searchbot")return new _t;var Er=Sr[1]&&Sr[1].split(".").join("_").split("_").slice(0,3);Er?Er.length<dr&&(Er=F(F([],Er,!0),Wr(dr-Er.length),!0)):Er=[];var Tr=Er.join("."),Dr=Lr(Rt),zr=Ar.exec(Rt);return zr&&zr[1]?new gr(Cr,Tr,Dr,zr[1]):new $(Cr,Tr,Dr)}function Lr(Rt){for(var sr=0,Cr=At.length;sr<Cr;sr++){var Sr=At[sr],Er=Sr[0],Tr=Sr[1],Dr=Tr.exec(Rt);if(Dr)return Er}return null}function Br(){var Rt=typeof dt!="undefined"&&dt.version;return Rt?new j(dt.version.slice(1)):null}function Wr(Rt){for(var sr=[],Cr=0;Cr<Rt;Cr++)sr.push("0");return sr}},49685:function(ne,Pr,Xt){"use strict";Xt.r(Pr),Xt.d(Pr,{EPSILON:function(){return dt},ARRAY_TYPE:function(){return F},RANDOM:function(){return $},setMatrixArrayType:function(){return j},toRadian:function(){return _t},equals:function(){return mr}});var dt=1e-6,F=typeof Float32Array!="undefined"?Float32Array:Array,$=Math.random;function j(Kt){F=Kt}var gr=Math.PI/180;function _t(Kt){return Kt*gr}function mr(Kt,Ar){return Math.abs(Kt-Ar)<=dt*Math.max(1,Math.abs(Kt),Math.abs(Ar))}Math.hypot||(Math.hypot=function(){for(var Kt=0,Ar=arguments.length;Ar--;)Kt+=arguments[Ar]*arguments[Ar];return Math.sqrt(Kt)})},35600:function(ne,Pr,Xt){"use strict";Xt.r(Pr),Xt.d(Pr,{create:function(){return F},fromMat4:function(){return $},clone:function(){return j},copy:function(){return gr},fromValues:function(){return _t},set:function(){return mr},identity:function(){return Kt},transpose:function(){return Ar},invert:function(){return dr},adjoint:function(){return fr},determinant:function(){return At},multiply:function(){return Jt},translate:function(){return $t},rotate:function(){return ar},scale:function(){return yr},fromTranslation:function(){return Lr},fromRotation:function(){return Br},fromScaling:function(){return Wr},fromMat2d:function(){return Rt},fromQuat:function(){return sr},normalFromMat4:function(){return Cr},projection:function(){return Sr},str:function(){return Er},frob:function(){return Tr},add:function(){return Dr},subtract:function(){return zr},multiplyScalar:function(){return ft},multiplyScalarAndAdd:function(){return ut},exactEquals:function(){return Mt},equals:function(){return Ct},mul:function(){return Nt},sub:function(){return Pt}});var dt=Xt(49685);function F(){var v=new dt.ARRAY_TYPE(9);return dt.ARRAY_TYPE!=Float32Array&&(v[1]=0,v[2]=0,v[3]=0,v[5]=0,v[6]=0,v[7]=0),v[0]=1,v[4]=1,v[8]=1,v}function $(v,O){return v[0]=O[0],v[1]=O[1],v[2]=O[2],v[3]=O[4],v[4]=O[5],v[5]=O[6],v[6]=O[8],v[7]=O[9],v[8]=O[10],v}function j(v){var O=new dt.ARRAY_TYPE(9);return O[0]=v[0],O[1]=v[1],O[2]=v[2],O[3]=v[3],O[4]=v[4],O[5]=v[5],O[6]=v[6],O[7]=v[7],O[8]=v[8],O}function gr(v,O){return v[0]=O[0],v[1]=O[1],v[2]=O[2],v[3]=O[3],v[4]=O[4],v[5]=O[5],v[6]=O[6],v[7]=O[7],v[8]=O[8],v}function _t(v,O,vt,mt,Ht,ir,Wt,cr,ur){var tr=new dt.ARRAY_TYPE(9);return tr[0]=v,tr[1]=O,tr[2]=vt,tr[3]=mt,tr[4]=Ht,tr[5]=ir,tr[6]=Wt,tr[7]=cr,tr[8]=ur,tr}function mr(v,O,vt,mt,Ht,ir,Wt,cr,ur,tr){return v[0]=O,v[1]=vt,v[2]=mt,v[3]=Ht,v[4]=ir,v[5]=Wt,v[6]=cr,v[7]=ur,v[8]=tr,v}function Kt(v){return v[0]=1,v[1]=0,v[2]=0,v[3]=0,v[4]=1,v[5]=0,v[6]=0,v[7]=0,v[8]=1,v}function Ar(v,O){if(v===O){var vt=O[1],mt=O[2],Ht=O[5];v[1]=O[3],v[2]=O[6],v[3]=vt,v[5]=O[7],v[6]=mt,v[7]=Ht}else v[0]=O[0],v[1]=O[3],v[2]=O[6],v[3]=O[1],v[4]=O[4],v[5]=O[7],v[6]=O[2],v[7]=O[5],v[8]=O[8];return v}function dr(v,O){var vt=O[0],mt=O[1],Ht=O[2],ir=O[3],Wt=O[4],cr=O[5],ur=O[6],tr=O[7],wr=O[8],kr=wr*Wt-cr*tr,L=-wr*ir+cr*ur,p=tr*ir-Wt*ur,y=vt*kr+mt*L+Ht*p;return y?(y=1/y,v[0]=kr*y,v[1]=(-wr*mt+Ht*tr)*y,v[2]=(cr*mt-Ht*Wt)*y,v[3]=L*y,v[4]=(wr*vt-Ht*ur)*y,v[5]=(-cr*vt+Ht*ir)*y,v[6]=p*y,v[7]=(-tr*vt+mt*ur)*y,v[8]=(Wt*vt-mt*ir)*y,v):null}function fr(v,O){var vt=O[0],mt=O[1],Ht=O[2],ir=O[3],Wt=O[4],cr=O[5],ur=O[6],tr=O[7],wr=O[8];return v[0]=Wt*wr-cr*tr,v[1]=Ht*tr-mt*wr,v[2]=mt*cr-Ht*Wt,v[3]=cr*ur-ir*wr,v[4]=vt*wr-Ht*ur,v[5]=Ht*ir-vt*cr,v[6]=ir*tr-Wt*ur,v[7]=mt*ur-vt*tr,v[8]=vt*Wt-mt*ir,v}function At(v){var O=v[0],vt=v[1],mt=v[2],Ht=v[3],ir=v[4],Wt=v[5],cr=v[6],ur=v[7],tr=v[8];return O*(tr*ir-Wt*ur)+vt*(-tr*Ht+Wt*cr)+mt*(ur*Ht-ir*cr)}function Jt(v,O,vt){var mt=O[0],Ht=O[1],ir=O[2],Wt=O[3],cr=O[4],ur=O[5],tr=O[6],wr=O[7],kr=O[8],L=vt[0],p=vt[1],y=vt[2],_=vt[3],s=vt[4],d=vt[5],P=vt[6],R=vt[7],W=vt[8];return v[0]=L*mt+p*Wt+y*tr,v[1]=L*Ht+p*cr+y*wr,v[2]=L*ir+p*ur+y*kr,v[3]=_*mt+s*Wt+d*tr,v[4]=_*Ht+s*cr+d*wr,v[5]=_*ir+s*ur+d*kr,v[6]=P*mt+R*Wt+W*tr,v[7]=P*Ht+R*cr+W*wr,v[8]=P*ir+R*ur+W*kr,v}function $t(v,O,vt){var mt=O[0],Ht=O[1],ir=O[2],Wt=O[3],cr=O[4],ur=O[5],tr=O[6],wr=O[7],kr=O[8],L=vt[0],p=vt[1];return v[0]=mt,v[1]=Ht,v[2]=ir,v[3]=Wt,v[4]=cr,v[5]=ur,v[6]=L*mt+p*Wt+tr,v[7]=L*Ht+p*cr+wr,v[8]=L*ir+p*ur+kr,v}function ar(v,O,vt){var mt=O[0],Ht=O[1],ir=O[2],Wt=O[3],cr=O[4],ur=O[5],tr=O[6],wr=O[7],kr=O[8],L=Math.sin(vt),p=Math.cos(vt);return v[0]=p*mt+L*Wt,v[1]=p*Ht+L*cr,v[2]=p*ir+L*ur,v[3]=p*Wt-L*mt,v[4]=p*cr-L*Ht,v[5]=p*ur-L*ir,v[6]=tr,v[7]=wr,v[8]=kr,v}function yr(v,O,vt){var mt=vt[0],Ht=vt[1];return v[0]=mt*O[0],v[1]=mt*O[1],v[2]=mt*O[2],v[3]=Ht*O[3],v[4]=Ht*O[4],v[5]=Ht*O[5],v[6]=O[6],v[7]=O[7],v[8]=O[8],v}function Lr(v,O){return v[0]=1,v[1]=0,v[2]=0,v[3]=0,v[4]=1,v[5]=0,v[6]=O[0],v[7]=O[1],v[8]=1,v}function Br(v,O){var vt=Math.sin(O),mt=Math.cos(O);return v[0]=mt,v[1]=vt,v[2]=0,v[3]=-vt,v[4]=mt,v[5]=0,v[6]=0,v[7]=0,v[8]=1,v}function Wr(v,O){return v[0]=O[0],v[1]=0,v[2]=0,v[3]=0,v[4]=O[1],v[5]=0,v[6]=0,v[7]=0,v[8]=1,v}function Rt(v,O){return v[0]=O[0],v[1]=O[1],v[2]=0,v[3]=O[2],v[4]=O[3],v[5]=0,v[6]=O[4],v[7]=O[5],v[8]=1,v}function sr(v,O){var vt=O[0],mt=O[1],Ht=O[2],ir=O[3],Wt=vt+vt,cr=mt+mt,ur=Ht+Ht,tr=vt*Wt,wr=mt*Wt,kr=mt*cr,L=Ht*Wt,p=Ht*cr,y=Ht*ur,_=ir*Wt,s=ir*cr,d=ir*ur;return v[0]=1-kr-y,v[3]=wr-d,v[6]=L+s,v[1]=wr+d,v[4]=1-tr-y,v[7]=p-_,v[2]=L-s,v[5]=p+_,v[8]=1-tr-kr,v}function Cr(v,O){var vt=O[0],mt=O[1],Ht=O[2],ir=O[3],Wt=O[4],cr=O[5],ur=O[6],tr=O[7],wr=O[8],kr=O[9],L=O[10],p=O[11],y=O[12],_=O[13],s=O[14],d=O[15],P=vt*cr-mt*Wt,R=vt*ur-Ht*Wt,W=vt*tr-ir*Wt,ot=mt*ur-Ht*cr,Lt=mt*tr-ir*cr,kt=Ht*tr-ir*ur,Zt=wr*_-kr*y,pr=wr*s-L*y,A=wr*d-p*y,E=kr*s-L*_,N=kr*d-p*_,G=L*d-p*s,Z=P*G-R*N+W*E+ot*A-Lt*pr+kt*Zt;return Z?(Z=1/Z,v[0]=(cr*G-ur*N+tr*E)*Z,v[1]=(ur*A-Wt*G-tr*pr)*Z,v[2]=(Wt*N-cr*A+tr*Zt)*Z,v[3]=(Ht*N-mt*G-ir*E)*Z,v[4]=(vt*G-Ht*A+ir*pr)*Z,v[5]=(mt*A-vt*N-ir*Zt)*Z,v[6]=(_*kt-s*Lt+d*ot)*Z,v[7]=(s*W-y*kt-d*R)*Z,v[8]=(y*Lt-_*W+d*P)*Z,v):null}function Sr(v,O,vt){return v[0]=2/O,v[1]=0,v[2]=0,v[3]=0,v[4]=-2/vt,v[5]=0,v[6]=-1,v[7]=1,v[8]=1,v}function Er(v){return"mat3("+v[0]+", "+v[1]+", "+v[2]+", "+v[3]+", "+v[4]+", "+v[5]+", "+v[6]+", "+v[7]+", "+v[8]+")"}function Tr(v){return Math.hypot(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8])}function Dr(v,O,vt){return v[0]=O[0]+vt[0],v[1]=O[1]+vt[1],v[2]=O[2]+vt[2],v[3]=O[3]+vt[3],v[4]=O[4]+vt[4],v[5]=O[5]+vt[5],v[6]=O[6]+vt[6],v[7]=O[7]+vt[7],v[8]=O[8]+vt[8],v}function zr(v,O,vt){return v[0]=O[0]-vt[0],v[1]=O[1]-vt[1],v[2]=O[2]-vt[2],v[3]=O[3]-vt[3],v[4]=O[4]-vt[4],v[5]=O[5]-vt[5],v[6]=O[6]-vt[6],v[7]=O[7]-vt[7],v[8]=O[8]-vt[8],v}function ft(v,O,vt){return v[0]=O[0]*vt,v[1]=O[1]*vt,v[2]=O[2]*vt,v[3]=O[3]*vt,v[4]=O[4]*vt,v[5]=O[5]*vt,v[6]=O[6]*vt,v[7]=O[7]*vt,v[8]=O[8]*vt,v}function ut(v,O,vt,mt){return v[0]=O[0]+vt[0]*mt,v[1]=O[1]+vt[1]*mt,v[2]=O[2]+vt[2]*mt,v[3]=O[3]+vt[3]*mt,v[4]=O[4]+vt[4]*mt,v[5]=O[5]+vt[5]*mt,v[6]=O[6]+vt[6]*mt,v[7]=O[7]+vt[7]*mt,v[8]=O[8]+vt[8]*mt,v}function Mt(v,O){return v[0]===O[0]&&v[1]===O[1]&&v[2]===O[2]&&v[3]===O[3]&&v[4]===O[4]&&v[5]===O[5]&&v[6]===O[6]&&v[7]===O[7]&&v[8]===O[8]}function Ct(v,O){var vt=v[0],mt=v[1],Ht=v[2],ir=v[3],Wt=v[4],cr=v[5],ur=v[6],tr=v[7],wr=v[8],kr=O[0],L=O[1],p=O[2],y=O[3],_=O[4],s=O[5],d=O[6],P=O[7],R=O[8];return Math.abs(vt-kr)<=dt.EPSILON*Math.max(1,Math.abs(vt),Math.abs(kr))&&Math.abs(mt-L)<=dt.EPSILON*Math.max(1,Math.abs(mt),Math.abs(L))&&Math.abs(Ht-p)<=dt.EPSILON*Math.max(1,Math.abs(Ht),Math.abs(p))&&Math.abs(ir-y)<=dt.EPSILON*Math.max(1,Math.abs(ir),Math.abs(y))&&Math.abs(Wt-_)<=dt.EPSILON*Math.max(1,Math.abs(Wt),Math.abs(_))&&Math.abs(cr-s)<=dt.EPSILON*Math.max(1,Math.abs(cr),Math.abs(s))&&Math.abs(ur-d)<=dt.EPSILON*Math.max(1,Math.abs(ur),Math.abs(d))&&Math.abs(tr-P)<=dt.EPSILON*Math.max(1,Math.abs(tr),Math.abs(P))&&Math.abs(wr-R)<=dt.EPSILON*Math.max(1,Math.abs(wr),Math.abs(R))}var Nt=Jt,Pt=zr},31437:function(ne,Pr,Xt){"use strict";Xt.r(Pr),Xt.d(Pr,{create:function(){return F},clone:function(){return $},fromValues:function(){return j},copy:function(){return gr},set:function(){return _t},add:function(){return mr},subtract:function(){return Kt},multiply:function(){return Ar},divide:function(){return dr},ceil:function(){return fr},floor:function(){return At},min:function(){return Jt},max:function(){return $t},round:function(){return ar},scale:function(){return yr},scaleAndAdd:function(){return Lr},distance:function(){return Br},squaredDistance:function(){return Wr},length:function(){return Rt},squaredLength:function(){return sr},negate:function(){return Cr},inverse:function(){return Sr},normalize:function(){return Er},dot:function(){return Tr},cross:function(){return Dr},lerp:function(){return zr},random:function(){return ft},transformMat2:function(){return ut},transformMat2d:function(){return Mt},transformMat3:function(){return Ct},transformMat4:function(){return Nt},rotate:function(){return Pt},angle:function(){return v},zero:function(){return O},str:function(){return vt},exactEquals:function(){return mt},equals:function(){return Ht},len:function(){return ir},sub:function(){return Wt},mul:function(){return cr},div:function(){return ur},dist:function(){return tr},sqrDist:function(){return wr},sqrLen:function(){return kr},forEach:function(){return L}});var dt=Xt(49685);function F(){var p=new dt.ARRAY_TYPE(2);return dt.ARRAY_TYPE!=Float32Array&&(p[0]=0,p[1]=0),p}function $(p){var y=new dt.ARRAY_TYPE(2);return y[0]=p[0],y[1]=p[1],y}function j(p,y){var _=new dt.ARRAY_TYPE(2);return _[0]=p,_[1]=y,_}function gr(p,y){return p[0]=y[0],p[1]=y[1],p}function _t(p,y,_){return p[0]=y,p[1]=_,p}function mr(p,y,_){return p[0]=y[0]+_[0],p[1]=y[1]+_[1],p}function Kt(p,y,_){return p[0]=y[0]-_[0],p[1]=y[1]-_[1],p}function Ar(p,y,_){return p[0]=y[0]*_[0],p[1]=y[1]*_[1],p}function dr(p,y,_){return p[0]=y[0]/_[0],p[1]=y[1]/_[1],p}function fr(p,y){return p[0]=Math.ceil(y[0]),p[1]=Math.ceil(y[1]),p}function At(p,y){return p[0]=Math.floor(y[0]),p[1]=Math.floor(y[1]),p}function Jt(p,y,_){return p[0]=Math.min(y[0],_[0]),p[1]=Math.min(y[1],_[1]),p}function $t(p,y,_){return p[0]=Math.max(y[0],_[0]),p[1]=Math.max(y[1],_[1]),p}function ar(p,y){return p[0]=Math.round(y[0]),p[1]=Math.round(y[1]),p}function yr(p,y,_){return p[0]=y[0]*_,p[1]=y[1]*_,p}function Lr(p,y,_,s){return p[0]=y[0]+_[0]*s,p[1]=y[1]+_[1]*s,p}function Br(p,y){var _=y[0]-p[0],s=y[1]-p[1];return Math.hypot(_,s)}function Wr(p,y){var _=y[0]-p[0],s=y[1]-p[1];return _*_+s*s}function Rt(p){var y=p[0],_=p[1];return Math.hypot(y,_)}function sr(p){var y=p[0],_=p[1];return y*y+_*_}function Cr(p,y){return p[0]=-y[0],p[1]=-y[1],p}function Sr(p,y){return p[0]=1/y[0],p[1]=1/y[1],p}function Er(p,y){var _=y[0],s=y[1],d=_*_+s*s;return d>0&&(d=1/Math.sqrt(d)),p[0]=y[0]*d,p[1]=y[1]*d,p}function Tr(p,y){return p[0]*y[0]+p[1]*y[1]}function Dr(p,y,_){var s=y[0]*_[1]-y[1]*_[0];return p[0]=p[1]=0,p[2]=s,p}function zr(p,y,_,s){var d=y[0],P=y[1];return p[0]=d+s*(_[0]-d),p[1]=P+s*(_[1]-P),p}function ft(p,y){y=y||1;var _=dt.RANDOM()*2*Math.PI;return p[0]=Math.cos(_)*y,p[1]=Math.sin(_)*y,p}function ut(p,y,_){var s=y[0],d=y[1];return p[0]=_[0]*s+_[2]*d,p[1]=_[1]*s+_[3]*d,p}function Mt(p,y,_){var s=y[0],d=y[1];return p[0]=_[0]*s+_[2]*d+_[4],p[1]=_[1]*s+_[3]*d+_[5],p}function Ct(p,y,_){var s=y[0],d=y[1];return p[0]=_[0]*s+_[3]*d+_[6],p[1]=_[1]*s+_[4]*d+_[7],p}function Nt(p,y,_){var s=y[0],d=y[1];return p[0]=_[0]*s+_[4]*d+_[12],p[1]=_[1]*s+_[5]*d+_[13],p}function Pt(p,y,_,s){var d=y[0]-_[0],P=y[1]-_[1],R=Math.sin(s),W=Math.cos(s);return p[0]=d*W-P*R+_[0],p[1]=d*R+P*W+_[1],p}function v(p,y){var _=p[0],s=p[1],d=y[0],P=y[1],R=Math.sqrt(_*_+s*s)*Math.sqrt(d*d+P*P),W=R&&(_*d+s*P)/R;return Math.acos(Math.min(Math.max(W,-1),1))}function O(p){return p[0]=0,p[1]=0,p}function vt(p){return"vec2("+p[0]+", "+p[1]+")"}function mt(p,y){return p[0]===y[0]&&p[1]===y[1]}function Ht(p,y){var _=p[0],s=p[1],d=y[0],P=y[1];return Math.abs(_-d)<=dt.EPSILON*Math.max(1,Math.abs(_),Math.abs(d))&&Math.abs(s-P)<=dt.EPSILON*Math.max(1,Math.abs(s),Math.abs(P))}var ir=Rt,Wt=Kt,cr=Ar,ur=dr,tr=Br,wr=Wr,kr=sr,L=function(){var p=F();return function(y,_,s,d,P,R){var W,ot;for(_||(_=2),s||(s=0),d?ot=Math.min(d*_+s,y.length):ot=y.length,W=s;W<ot;W+=_)p[0]=y[W],p[1]=y[W+1],P(p,p,R),y[W]=p[0],y[W+1]=p[1];return y}}()},77160:function(ne,Pr,Xt){"use strict";Xt.r(Pr),Xt.d(Pr,{create:function(){return F},clone:function(){return $},length:function(){return j},fromValues:function(){return gr},copy:function(){return _t},set:function(){return mr},add:function(){return Kt},subtract:function(){return Ar},multiply:function(){return dr},divide:function(){return fr},ceil:function(){return At},floor:function(){return Jt},min:function(){return $t},max:function(){return ar},round:function(){return yr},scale:function(){return Lr},scaleAndAdd:function(){return Br},distance:function(){return Wr},squaredDistance:function(){return Rt},squaredLength:function(){return sr},negate:function(){return Cr},inverse:function(){return Sr},normalize:function(){return Er},dot:function(){return Tr},cross:function(){return Dr},lerp:function(){return zr},hermite:function(){return ft},bezier:function(){return ut},random:function(){return Mt},transformMat4:function(){return Ct},transformMat3:function(){return Nt},transformQuat:function(){return Pt},rotateX:function(){return v},rotateY:function(){return O},rotateZ:function(){return vt},angle:function(){return mt},zero:function(){return Ht},str:function(){return ir},exactEquals:function(){return Wt},equals:function(){return cr},sub:function(){return ur},mul:function(){return tr},div:function(){return wr},dist:function(){return kr},sqrDist:function(){return L},len:function(){return p},sqrLen:function(){return y},forEach:function(){return _}});var dt=Xt(49685);function F(){var s=new dt.ARRAY_TYPE(3);return dt.ARRAY_TYPE!=Float32Array&&(s[0]=0,s[1]=0,s[2]=0),s}function $(s){var d=new dt.ARRAY_TYPE(3);return d[0]=s[0],d[1]=s[1],d[2]=s[2],d}function j(s){var d=s[0],P=s[1],R=s[2];return Math.hypot(d,P,R)}function gr(s,d,P){var R=new dt.ARRAY_TYPE(3);return R[0]=s,R[1]=d,R[2]=P,R}function _t(s,d){return s[0]=d[0],s[1]=d[1],s[2]=d[2],s}function mr(s,d,P,R){return s[0]=d,s[1]=P,s[2]=R,s}function Kt(s,d,P){return s[0]=d[0]+P[0],s[1]=d[1]+P[1],s[2]=d[2]+P[2],s}function Ar(s,d,P){return s[0]=d[0]-P[0],s[1]=d[1]-P[1],s[2]=d[2]-P[2],s}function dr(s,d,P){return s[0]=d[0]*P[0],s[1]=d[1]*P[1],s[2]=d[2]*P[2],s}function fr(s,d,P){return s[0]=d[0]/P[0],s[1]=d[1]/P[1],s[2]=d[2]/P[2],s}function At(s,d){return s[0]=Math.ceil(d[0]),s[1]=Math.ceil(d[1]),s[2]=Math.ceil(d[2]),s}function Jt(s,d){return s[0]=Math.floor(d[0]),s[1]=Math.floor(d[1]),s[2]=Math.floor(d[2]),s}function $t(s,d,P){return s[0]=Math.min(d[0],P[0]),s[1]=Math.min(d[1],P[1]),s[2]=Math.min(d[2],P[2]),s}function ar(s,d,P){return s[0]=Math.max(d[0],P[0]),s[1]=Math.max(d[1],P[1]),s[2]=Math.max(d[2],P[2]),s}function yr(s,d){return s[0]=Math.round(d[0]),s[1]=Math.round(d[1]),s[2]=Math.round(d[2]),s}function Lr(s,d,P){return s[0]=d[0]*P,s[1]=d[1]*P,s[2]=d[2]*P,s}function Br(s,d,P,R){return s[0]=d[0]+P[0]*R,s[1]=d[1]+P[1]*R,s[2]=d[2]+P[2]*R,s}function Wr(s,d){var P=d[0]-s[0],R=d[1]-s[1],W=d[2]-s[2];return Math.hypot(P,R,W)}function Rt(s,d){var P=d[0]-s[0],R=d[1]-s[1],W=d[2]-s[2];return P*P+R*R+W*W}function sr(s){var d=s[0],P=s[1],R=s[2];return d*d+P*P+R*R}function Cr(s,d){return s[0]=-d[0],s[1]=-d[1],s[2]=-d[2],s}function Sr(s,d){return s[0]=1/d[0],s[1]=1/d[1],s[2]=1/d[2],s}function Er(s,d){var P=d[0],R=d[1],W=d[2],ot=P*P+R*R+W*W;return ot>0&&(ot=1/Math.sqrt(ot)),s[0]=d[0]*ot,s[1]=d[1]*ot,s[2]=d[2]*ot,s}function Tr(s,d){return s[0]*d[0]+s[1]*d[1]+s[2]*d[2]}function Dr(s,d,P){var R=d[0],W=d[1],ot=d[2],Lt=P[0],kt=P[1],Zt=P[2];return s[0]=W*Zt-ot*kt,s[1]=ot*Lt-R*Zt,s[2]=R*kt-W*Lt,s}function zr(s,d,P,R){var W=d[0],ot=d[1],Lt=d[2];return s[0]=W+R*(P[0]-W),s[1]=ot+R*(P[1]-ot),s[2]=Lt+R*(P[2]-Lt),s}function ft(s,d,P,R,W,ot){var Lt=ot*ot,kt=Lt*(2*ot-3)+1,Zt=Lt*(ot-2)+ot,pr=Lt*(ot-1),A=Lt*(3-2*ot);return s[0]=d[0]*kt+P[0]*Zt+R[0]*pr+W[0]*A,s[1]=d[1]*kt+P[1]*Zt+R[1]*pr+W[1]*A,s[2]=d[2]*kt+P[2]*Zt+R[2]*pr+W[2]*A,s}function ut(s,d,P,R,W,ot){var Lt=1-ot,kt=Lt*Lt,Zt=ot*ot,pr=kt*Lt,A=3*ot*kt,E=3*Zt*Lt,N=Zt*ot;return s[0]=d[0]*pr+P[0]*A+R[0]*E+W[0]*N,s[1]=d[1]*pr+P[1]*A+R[1]*E+W[1]*N,s[2]=d[2]*pr+P[2]*A+R[2]*E+W[2]*N,s}function Mt(s,d){d=d||1;var P=dt.RANDOM()*2*Math.PI,R=dt.RANDOM()*2-1,W=Math.sqrt(1-R*R)*d;return s[0]=Math.cos(P)*W,s[1]=Math.sin(P)*W,s[2]=R*d,s}function Ct(s,d,P){var R=d[0],W=d[1],ot=d[2],Lt=P[3]*R+P[7]*W+P[11]*ot+P[15];return Lt=Lt||1,s[0]=(P[0]*R+P[4]*W+P[8]*ot+P[12])/Lt,s[1]=(P[1]*R+P[5]*W+P[9]*ot+P[13])/Lt,s[2]=(P[2]*R+P[6]*W+P[10]*ot+P[14])/Lt,s}function Nt(s,d,P){var R=d[0],W=d[1],ot=d[2];return s[0]=R*P[0]+W*P[3]+ot*P[6],s[1]=R*P[1]+W*P[4]+ot*P[7],s[2]=R*P[2]+W*P[5]+ot*P[8],s}function Pt(s,d,P){var R=P[0],W=P[1],ot=P[2],Lt=P[3],kt=d[0],Zt=d[1],pr=d[2],A=W*pr-ot*Zt,E=ot*kt-R*pr,N=R*Zt-W*kt,G=W*N-ot*E,Z=ot*A-R*N,nt=R*E-W*A,rt=Lt*2;return A*=rt,E*=rt,N*=rt,G*=2,Z*=2,nt*=2,s[0]=kt+A+G,s[1]=Zt+E+Z,s[2]=pr+N+nt,s}function v(s,d,P,R){var W=[],ot=[];return W[0]=d[0]-P[0],W[1]=d[1]-P[1],W[2]=d[2]-P[2],ot[0]=W[0],ot[1]=W[1]*Math.cos(R)-W[2]*Math.sin(R),ot[2]=W[1]*Math.sin(R)+W[2]*Math.cos(R),s[0]=ot[0]+P[0],s[1]=ot[1]+P[1],s[2]=ot[2]+P[2],s}function O(s,d,P,R){var W=[],ot=[];return W[0]=d[0]-P[0],W[1]=d[1]-P[1],W[2]=d[2]-P[2],ot[0]=W[2]*Math.sin(R)+W[0]*Math.cos(R),ot[1]=W[1],ot[2]=W[2]*Math.cos(R)-W[0]*Math.sin(R),s[0]=ot[0]+P[0],s[1]=ot[1]+P[1],s[2]=ot[2]+P[2],s}function vt(s,d,P,R){var W=[],ot=[];return W[0]=d[0]-P[0],W[1]=d[1]-P[1],W[2]=d[2]-P[2],ot[0]=W[0]*Math.cos(R)-W[1]*Math.sin(R),ot[1]=W[0]*Math.sin(R)+W[1]*Math.cos(R),ot[2]=W[2],s[0]=ot[0]+P[0],s[1]=ot[1]+P[1],s[2]=ot[2]+P[2],s}function mt(s,d){var P=s[0],R=s[1],W=s[2],ot=d[0],Lt=d[1],kt=d[2],Zt=Math.sqrt(P*P+R*R+W*W),pr=Math.sqrt(ot*ot+Lt*Lt+kt*kt),A=Zt*pr,E=A&&Tr(s,d)/A;return Math.acos(Math.min(Math.max(E,-1),1))}function Ht(s){return s[0]=0,s[1]=0,s[2]=0,s}function ir(s){return"vec3("+s[0]+", "+s[1]+", "+s[2]+")"}function Wt(s,d){return s[0]===d[0]&&s[1]===d[1]&&s[2]===d[2]}function cr(s,d){var P=s[0],R=s[1],W=s[2],ot=d[0],Lt=d[1],kt=d[2];return Math.abs(P-ot)<=dt.EPSILON*Math.max(1,Math.abs(P),Math.abs(ot))&&Math.abs(R-Lt)<=dt.EPSILON*Math.max(1,Math.abs(R),Math.abs(Lt))&&Math.abs(W-kt)<=dt.EPSILON*Math.max(1,Math.abs(W),Math.abs(kt))}var ur=Ar,tr=dr,wr=fr,kr=Wr,L=Rt,p=j,y=sr,_=function(){var s=F();return function(d,P,R,W,ot,Lt){var kt,Zt;for(P||(P=3),R||(R=0),W?Zt=Math.min(W*P+R,d.length):Zt=d.length,kt=R;kt<Zt;kt+=P)s[0]=d[kt],s[1]=d[kt+1],s[2]=d[kt+2],ot(s,s,Lt),d[kt]=s[0],d[kt+1]=s[1],d[kt+2]=s[2];return d}}()},24561:function(ne,Pr,Xt){"use strict";var dt=Xt(67294);/*! *****************************************************************************
  17. Copyright (c) Microsoft Corporation. All rights reserved.
  18. Licensed under the Apache License, Version 2.0 (the "License"); you may not use
  19. this file except in compliance with the License. You may obtain a copy of the
  20. License at http://www.apache.org/licenses/LICENSE-2.0
  21. THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  22. KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
  23. WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
  24. MERCHANTABLITY OR NON-INFRINGEMENT.
  25. See the Apache Version 2.0 License for specific language governing permissions
  26. and limitations under the License.
  27. ***************************************************************************** */var F=function(){return F=Object.assign||function(Jt){for(var $t,ar=1,yr=arguments.length;ar<yr;ar++){$t=arguments[ar];for(var Lr in $t)Object.prototype.hasOwnProperty.call($t,Lr)&&(Jt[Lr]=$t[Lr])}return Jt},F.apply(this,arguments)};function $(At,Jt){var $t={};for(var ar in At)Object.prototype.hasOwnProperty.call(At,ar)&&Jt.indexOf(ar)<0&&($t[ar]=At[ar]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yr=0,ar=Object.getOwnPropertySymbols(At);yr<ar.length;yr++)Jt.indexOf(ar[yr])<0&&Object.prototype.propertyIsEnumerable.call(At,ar[yr])&&($t[ar[yr]]=At[ar[yr]]);return $t}var j=function(){return Math.random().toString(36).substring(6)},gr=function(At){var Jt=At.animate,$t=At.backgroundColor,ar=At.backgroundOpacity,yr=At.baseUrl,Lr=At.children,Br=At.foregroundColor,Wr=At.foregroundOpacity,Rt=At.gradientRatio,sr=At.uniqueKey,Cr=At.interval,Sr=At.rtl,Er=At.speed,Tr=At.style,Dr=At.title,zr=$(At,["animate","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","uniqueKey","interval","rtl","speed","style","title"]),ft=sr||j(),ut=ft+"-diff",Mt=ft+"-animated-diff",Ct=ft+"-aria",Nt=Sr?{transform:"scaleX(-1)"}:null,Pt="0; "+Cr+"; 1",v=Er+"s";return(0,dt.createElement)("svg",F({"aria-labelledby":Ct,role:"img",style:F(F({},Tr),Nt)},zr),Dr?(0,dt.createElement)("title",{id:Ct},Dr):null,(0,dt.createElement)("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url("+yr+"#"+ut+")",style:{fill:"url("+yr+"#"+Mt+")"}}),(0,dt.createElement)("defs",{role:"presentation"},(0,dt.createElement)("clipPath",{id:ut},Lr),(0,dt.createElement)("linearGradient",{id:Mt},(0,dt.createElement)("stop",{offset:"0%",stopColor:$t,stopOpacity:ar},Jt&&(0,dt.createElement)("animate",{attributeName:"offset",values:-Rt+"; "+-Rt+"; 1",keyTimes:Pt,dur:v,repeatCount:"indefinite"})),(0,dt.createElement)("stop",{offset:"50%",stopColor:Br,stopOpacity:Wr},Jt&&(0,dt.createElement)("animate",{attributeName:"offset",values:-Rt/2+"; "+-Rt/2+"; "+(1+Rt/2),keyTimes:Pt,dur:v,repeatCount:"indefinite"})),(0,dt.createElement)("stop",{offset:"100%",stopColor:$t,stopOpacity:ar},Jt&&(0,dt.createElement)("animate",{attributeName:"offset",values:"0; 0; "+(1+Rt),keyTimes:Pt,dur:v,repeatCount:"indefinite"})))))};gr.defaultProps={animate:!0,backgroundColor:"#f5f6f7",backgroundOpacity:1,baseUrl:"",foregroundColor:"#eee",foregroundOpacity:1,gradientRatio:2,id:null,interval:.25,rtl:!1,speed:1.2,style:{},title:"Loading..."};var _t=function(At){return At.children?(0,dt.createElement)(gr,F({},At)):(0,dt.createElement)(mr,F({},At))},mr=function(At){return(0,dt.createElement)(_t,F({viewBox:"0 0 476 124"},At),(0,dt.createElement)("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),(0,dt.createElement)("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),(0,dt.createElement)("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),(0,dt.createElement)("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),(0,dt.createElement)("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),(0,dt.createElement)("circle",{cx:"20",cy:"20",r:"20"}))},Kt=function(At){return createElement(_t,F({viewBox:"0 0 400 460"},At),createElement("circle",{cx:"31",cy:"31",r:"15"}),createElement("rect",{x:"58",y:"18",rx:"2",ry:"2",width:"140",height:"10"}),createElement("rect",{x:"58",y:"34",rx:"2",ry:"2",width:"140",height:"10"}),createElement("rect",{x:"0",y:"60",rx:"2",ry:"2",width:"400",height:"400"}))},Ar=function(At){return createElement(_t,F({viewBox:"0 0 340 84"},At),createElement("rect",{x:"0",y:"0",width:"67",height:"11",rx:"3"}),createElement("rect",{x:"76",y:"0",width:"140",height:"11",rx:"3"}),createElement("rect",{x:"127",y:"48",width:"53",height:"11",rx:"3"}),createElement("rect",{x:"187",y:"48",width:"72",height:"11",rx:"3"}),createElement("rect",{x:"18",y:"48",width:"100",height:"11",rx:"3"}),createElement("rect",{x:"0",y:"71",width:"37",height:"11",rx:"3"}),createElement("rect",{x:"18",y:"23",width:"140",height:"11",rx:"3"}),createElement("rect",{x:"166",y:"23",width:"173",height:"11",rx:"3"}))},dr=function(At){return createElement(_t,F({viewBox:"0 0 400 110"},At),createElement("rect",{x:"0",y:"0",rx:"3",ry:"3",width:"250",height:"10"}),createElement("rect",{x:"20",y:"20",rx:"3",ry:"3",width:"220",height:"10"}),createElement("rect",{x:"20",y:"40",rx:"3",ry:"3",width:"170",height:"10"}),createElement("rect",{x:"0",y:"60",rx:"3",ry:"3",width:"250",height:"10"}),createElement("rect",{x:"20",y:"80",rx:"3",ry:"3",width:"200",height:"10"}),createElement("rect",{x:"20",y:"100",rx:"3",ry:"3",width:"80",height:"10"}))},fr=function(At){return createElement(_t,F({viewBox:"0 0 245 125"},At),createElement("circle",{cx:"10",cy:"20",r:"8"}),createElement("rect",{x:"25",y:"15",rx:"5",ry:"5",width:"220",height:"10"}),createElement("circle",{cx:"10",cy:"50",r:"8"}),createElement("rect",{x:"25",y:"45",rx:"5",ry:"5",width:"220",height:"10"}),createElement("circle",{cx:"10",cy:"80",r:"8"}),createElement("rect",{x:"25",y:"75",rx:"5",ry:"5",width:"220",height:"10"}),createElement("circle",{cx:"10",cy:"110",r:"8"}),createElement("rect",{x:"25",y:"105",rx:"5",ry:"5",width:"220",height:"10"}))};Pr.ZP=_t},70655:function(ne,Pr,Xt){"use strict";Xt.r(Pr),Xt.d(Pr,{__extends:function(){return F},__assign:function(){return $},__rest:function(){return j},__decorate:function(){return gr},__param:function(){return _t},__metadata:function(){return mr},__awaiter:function(){return Kt},__generator:function(){return Ar},__createBinding:function(){return dr},__exportStar:function(){return fr},__values:function(){return At},__read:function(){return Jt},__spread:function(){return $t},__spreadArrays:function(){return ar},__spreadArray:function(){return yr},__await:function(){return Lr},__asyncGenerator:function(){return Br},__asyncDelegator:function(){return Wr},__asyncValues:function(){return Rt},__makeTemplateObject:function(){return sr},__importStar:function(){return Sr},__importDefault:function(){return Er},__classPrivateFieldGet:function(){return Tr},__classPrivateFieldSet:function(){return Dr},__classPrivateFieldIn:function(){return zr}});var dt=function(ft,ut){return dt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Mt,Ct){Mt.__proto__=Ct}||function(Mt,Ct){for(var Nt in Ct)Object.prototype.hasOwnProperty.call(Ct,Nt)&&(Mt[Nt]=Ct[Nt])},dt(ft,ut)};function F(ft,ut){if(typeof ut!="function"&&ut!==null)throw new TypeError("Class extends value "+String(ut)+" is not a constructor or null");dt(ft,ut);function Mt(){this.constructor=ft}ft.prototype=ut===null?Object.create(ut):(Mt.prototype=ut.prototype,new Mt)}var $=function(){return $=Object.assign||function(ut){for(var Mt,Ct=1,Nt=arguments.length;Ct<Nt;Ct++){Mt=arguments[Ct];for(var Pt in Mt)Object.prototype.hasOwnProperty.call(Mt,Pt)&&(ut[Pt]=Mt[Pt])}return ut},$.apply(this,arguments)};function j(ft,ut){var Mt={};for(var Ct in ft)Object.prototype.hasOwnProperty.call(ft,Ct)&&ut.indexOf(Ct)<0&&(Mt[Ct]=ft[Ct]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,Ct=Object.getOwnPropertySymbols(ft);Nt<Ct.length;Nt++)ut.indexOf(Ct[Nt])<0&&Object.prototype.propertyIsEnumerable.call(ft,Ct[Nt])&&(Mt[Ct[Nt]]=ft[Ct[Nt]]);return Mt}function gr(ft,ut,Mt,Ct){var Nt=arguments.length,Pt=Nt<3?ut:Ct===null?Ct=Object.getOwnPropertyDescriptor(ut,Mt):Ct,v;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Pt=Reflect.decorate(ft,ut,Mt,Ct);else for(var O=ft.length-1;O>=0;O--)(v=ft[O])&&(Pt=(Nt<3?v(Pt):Nt>3?v(ut,Mt,Pt):v(ut,Mt))||Pt);return Nt>3&&Pt&&Object.defineProperty(ut,Mt,Pt),Pt}function _t(ft,ut){return function(Mt,Ct){ut(Mt,Ct,ft)}}function mr(ft,ut){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(ft,ut)}function Kt(ft,ut,Mt,Ct){function Nt(Pt){return Pt instanceof Mt?Pt:new Mt(function(v){v(Pt)})}return new(Mt||(Mt=Promise))(function(Pt,v){function O(Ht){try{mt(Ct.next(Ht))}catch(ir){v(ir)}}function vt(Ht){try{mt(Ct.throw(Ht))}catch(ir){v(ir)}}function mt(Ht){Ht.done?Pt(Ht.value):Nt(Ht.value).then(O,vt)}mt((Ct=Ct.apply(ft,ut||[])).next())})}function Ar(ft,ut){var Mt={label:0,sent:function(){if(Pt[0]&1)throw Pt[1];return Pt[1]},trys:[],ops:[]},Ct,Nt,Pt,v;return v={next:O(0),throw:O(1),return:O(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function O(mt){return function(Ht){return vt([mt,Ht])}}function vt(mt){if(Ct)throw new TypeError("Generator is already executing.");for(;Mt;)try{if(Ct=1,Nt&&(Pt=mt[0]&2?Nt.return:mt[0]?Nt.throw||((Pt=Nt.return)&&Pt.call(Nt),0):Nt.next)&&!(Pt=Pt.call(Nt,mt[1])).done)return Pt;switch(Nt=0,Pt&&(mt=[mt[0]&2,Pt.value]),mt[0]){case 0:case 1:Pt=mt;break;case 4:return Mt.label++,{value:mt[1],done:!1};case 5:Mt.label++,Nt=mt[1],mt=[0];continue;case 7:mt=Mt.ops.pop(),Mt.trys.pop();continue;default:if(Pt=Mt.trys,!(Pt=Pt.length>0&&Pt[Pt.length-1])&&(mt[0]===6||mt[0]===2)){Mt=0;continue}if(mt[0]===3&&(!Pt||mt[1]>Pt[0]&&mt[1]<Pt[3])){Mt.label=mt[1];break}if(mt[0]===6&&Mt.label<Pt[1]){Mt.label=Pt[1],Pt=mt;break}if(Pt&&Mt.label<Pt[2]){Mt.label=Pt[2],Mt.ops.push(mt);break}Pt[2]&&Mt.ops.pop(),Mt.trys.pop();continue}mt=ut.call(ft,Mt)}catch(Ht){mt=[6,Ht],Nt=0}finally{Ct=Pt=0}if(mt[0]&5)throw mt[1];return{value:mt[0]?mt[1]:void 0,done:!0}}}var dr=Object.create?function(ft,ut,Mt,Ct){Ct===void 0&&(Ct=Mt);var Nt=Object.getOwnPropertyDescriptor(ut,Mt);(!Nt||("get"in Nt?!ut.__esModule:Nt.writable||Nt.configurable))&&(Nt={enumerable:!0,get:function(){return ut[Mt]}}),Object.defineProperty(ft,Ct,Nt)}:function(ft,ut,Mt,Ct){Ct===void 0&&(Ct=Mt),ft[Ct]=ut[Mt]};function fr(ft,ut){for(var Mt in ft)Mt!=="default"&&!Object.prototype.hasOwnProperty.call(ut,Mt)&&dr(ut,ft,Mt)}function At(ft){var ut=typeof Symbol=="function"&&Symbol.iterator,Mt=ut&&ft[ut],Ct=0;if(Mt)return Mt.call(ft);if(ft&&typeof ft.length=="number")return{next:function(){return ft&&Ct>=ft.length&&(ft=void 0),{value:ft&&ft[Ct++],done:!ft}}};throw new TypeError(ut?"Object is not iterable.":"Symbol.iterator is not defined.")}function Jt(ft,ut){var Mt=typeof Symbol=="function"&&ft[Symbol.iterator];if(!Mt)return ft;var Ct=Mt.call(ft),Nt,Pt=[],v;try{for(;(ut===void 0||ut-- >0)&&!(Nt=Ct.next()).done;)Pt.push(Nt.value)}catch(O){v={error:O}}finally{try{Nt&&!Nt.done&&(Mt=Ct.return)&&Mt.call(Ct)}finally{if(v)throw v.error}}return Pt}function $t(){for(var ft=[],ut=0;ut<arguments.length;ut++)ft=ft.concat(Jt(arguments[ut]));return ft}function ar(){for(var ft=0,ut=0,Mt=arguments.length;ut<Mt;ut++)ft+=arguments[ut].length;for(var Ct=Array(ft),Nt=0,ut=0;ut<Mt;ut++)for(var Pt=arguments[ut],v=0,O=Pt.length;v<O;v++,Nt++)Ct[Nt]=Pt[v];return Ct}function yr(ft,ut,Mt){if(Mt||arguments.length===2)for(var Ct=0,Nt=ut.length,Pt;Ct<Nt;Ct++)(Pt||!(Ct in ut))&&(Pt||(Pt=Array.prototype.slice.call(ut,0,Ct)),Pt[Ct]=ut[Ct]);return ft.concat(Pt||Array.prototype.slice.call(ut))}function Lr(ft){return this instanceof Lr?(this.v=ft,this):new Lr(ft)}function Br(ft,ut,Mt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ct=Mt.apply(ft,ut||[]),Nt,Pt=[];return Nt={},v("next"),v("throw"),v("return"),Nt[Symbol.asyncIterator]=function(){return this},Nt;function v(Wt){Ct[Wt]&&(Nt[Wt]=function(cr){return new Promise(function(ur,tr){Pt.push([Wt,cr,ur,tr])>1||O(Wt,cr)})})}function O(Wt,cr){try{vt(Ct[Wt](cr))}catch(ur){ir(Pt[0][3],ur)}}function vt(Wt){Wt.value instanceof Lr?Promise.resolve(Wt.value.v).then(mt,Ht):ir(Pt[0][2],Wt)}function mt(Wt){O("next",Wt)}function Ht(Wt){O("throw",Wt)}function ir(Wt,cr){Wt(cr),Pt.shift(),Pt.length&&O(Pt[0][0],Pt[0][1])}}function Wr(ft){var ut,Mt;return ut={},Ct("next"),Ct("throw",function(Nt){throw Nt}),Ct("return"),ut[Symbol.iterator]=function(){return this},ut;function Ct(Nt,Pt){ut[Nt]=ft[Nt]?function(v){return(Mt=!Mt)?{value:Lr(ft[Nt](v)),done:Nt==="return"}:Pt?Pt(v):v}:Pt}}function Rt(ft){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ut=ft[Symbol.asyncIterator],Mt;return ut?ut.call(ft):(ft=typeof At=="function"?At(ft):ft[Symbol.iterator](),Mt={},Ct("next"),Ct("throw"),Ct("return"),Mt[Symbol.asyncIterator]=function(){return this},Mt);function Ct(Pt){Mt[Pt]=ft[Pt]&&function(v){return new Promise(function(O,vt){v=ft[Pt](v),Nt(O,vt,v.done,v.value)})}}function Nt(Pt,v,O,vt){Promise.resolve(vt).then(function(mt){Pt({value:mt,done:O})},v)}}function sr(ft,ut){return Object.defineProperty?Object.defineProperty(ft,"raw",{value:ut}):ft.raw=ut,ft}var Cr=Object.create?function(ft,ut){Object.defineProperty(ft,"default",{enumerable:!0,value:ut})}:function(ft,ut){ft.default=ut};function Sr(ft){if(ft&&ft.__esModule)return ft;var ut={};if(ft!=null)for(var Mt in ft)Mt!=="default"&&Object.prototype.hasOwnProperty.call(ft,Mt)&&dr(ut,ft,Mt);return Cr(ut,ft),ut}function Er(ft){return ft&&ft.__esModule?ft:{default:ft}}function Tr(ft,ut,Mt,Ct){if(Mt==="a"&&!Ct)throw new TypeError("Private accessor was defined without a getter");if(typeof ut=="function"?ft!==ut||!Ct:!ut.has(ft))throw new TypeError("Cannot read private member from an object whose class did not declare it");return Mt==="m"?Ct:Mt==="a"?Ct.call(ft):Ct?Ct.value:ut.get(ft)}function Dr(ft,ut,Mt,Ct,Nt){if(Ct==="m")throw new TypeError("Private method is not writable");if(Ct==="a"&&!Nt)throw new TypeError("Private accessor was defined without a setter");if(typeof ut=="function"?ft!==ut||!Nt:!ut.has(ft))throw new TypeError("Cannot write private member to an object whose class did not declare it");return Ct==="a"?Nt.call(ft,Mt):Nt?Nt.value=Mt:ut.set(ft,Mt),Mt}function zr(ft,ut){if(ut===null||typeof ut!="object"&&typeof ut!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof ft=="function"?ut===ft:ft.has(ut)}}}]);