Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

30 linhas
239 KiB

  1. (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[8321],{57817:function(nr,St,U){"use strict";U.d(St,{Z:function(){return j}});function j(E,wt,ut){if(E){if(typeof E.addEventListener=="function")return E.addEventListener(wt,ut,!1),{remove:function(){E.removeEventListener(wt,ut,!1)}};if(typeof E.attachEvent=="function")return E.attachEvent("on"+wt,ut),{remove:function(){E.detachEvent("on"+wt,ut)}}}}},6056:function(nr,St,U){"use strict";U.d(St,{Z:function(){return Q}});var j,E,wt,ut;function pt(){j=document.createElement("table"),E=document.createElement("tr"),wt=/^\s*<(\w+|!)[^>]*>/,ut={tr:document.createElement("tbody"),tbody:j,thead:j,tfoot:j,td:E,th:E,"*":document.createElement("div")}}function Q(W){j||pt();var $=wt.test(W)&&RegExp.$1;(!$||!($ in ut))&&($="*");var at=ut[$];W=typeof W=="string"?W.replace(/(^\s*)|(\s*$)/g,""):W,at.innerHTML=""+W;var yt=at.childNodes[0];return yt&&at.contains(yt)&&at.removeChild(yt),yt}},45442:function(nr,St,U){"use strict";U.d(St,{Z:function(){return j}});function j(E,wt){if(E)for(var ut in wt)wt.hasOwnProperty(ut)&&(E.style[ut]=wt[ut]);return E}},90494:function(nr,St){"use strict";var U="*",j=function(){function E(){this._events={}}return E.prototype.on=function(wt,ut,pt){return this._events[wt]||(this._events[wt]=[]),this._events[wt].push({callback:ut,once:!!pt}),this},E.prototype.once=function(wt,ut){return this.on(wt,ut,!0)},E.prototype.emit=function(wt){for(var ut=this,pt=[],Q=1;Q<arguments.length;Q++)pt[Q-1]=arguments[Q];var W=this._events[wt]||[],$=this._events[U]||[],at=function(yt){for(var lt=yt.length,G=0;G<lt;G++)if(!!yt[G]){var H=yt[G],X=H.callback,O=H.once;O&&(yt.splice(G,1),yt.length===0&&delete ut._events[wt],lt--,G--),X.apply(ut,pt)}};at(W),at($)},E.prototype.off=function(wt,ut){if(!wt)this._events={};else if(!ut)delete this._events[wt];else{for(var pt=this._events[wt]||[],Q=pt.length,W=0;W<Q;W++)pt[W].callback===ut&&(pt.splice(W,1),Q--,W--);pt.length===0&&delete this._events[wt]}return this},E.prototype.getEvents=function(){return this._events},E}();St.Z=j},2667:function(nr,St,U){"use strict";var j=U(70655),E=U(90494),wt=U(77341),ut=function(pt){(0,j.__extends)(Q,pt);function Q(W){var $=pt.call(this)||this;$.destroyed=!1;var at=$.getDefaultCfg();return $.cfg=(0,wt.CD)(at,W),$}return Q.prototype.getDefaultCfg=function(){return{}},Q.prototype.get=function(W){return this.cfg[W]},Q.prototype.set=function(W,$){this.cfg[W]=$},Q.prototype.destroy=function(){this.cfg={destroyed:!0},this.off(),this.destroyed=!0},Q}(E.Z);St.Z=ut},81166:function(nr,St,U){"use strict";U.d(St,{Z:function(){return sn}});var j=U(70655),E=U(43631),wt=U(37153),ut=U(77341),pt=U(49242),Q=0,W=0,$=0,at=1e3,yt,lt,G=0,H=0,X=0,O=typeof performance=="object"&&performance.now?performance:Date,F=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(k){setTimeout(k,17)};function ht(){return H||(F(st),H=O.now()+X)}function st(){H=0}function Y(){this._call=this._time=this._next=null}Y.prototype=A.prototype={constructor:Y,restart:function(k,m,R){if(typeof k!="function")throw new TypeError("callback is not a function");R=(R==null?ht():+R)+(m==null?0:+m),!this._next&&lt!==this&&(lt?lt._next=this:yt=this,lt=this),this._call=k,this._time=R,Et()},stop:function(){this._call&&(this._call=null,this._time=Infinity,Et())}};function A(k,m,R){var J=new Y;return J.restart(k,m,R),J}function P(){ht(),++Q;for(var k=yt,m;k;)(m=H-k._time)>=0&&k._call.call(null,m),k=k._next;--Q}function z(){H=(G=O.now())+X,Q=W=0;try{P()}finally{Q=0,dt(),H=0}}function Z(){var k=O.now(),m=k-G;m>at&&(X-=m,G=k)}function dt(){for(var k,m=yt,R,J=Infinity;m;)m._call?(J>m._time&&(J=m._time),k=m,m=m._next):(R=m._next,m._next=null,m=k?k._next=R:yt=R);lt=k,Et(J)}function Et(k){if(!Q){W&&(W=clearTimeout(W));var m=k-H;m>24?(k<Infinity&&(W=setTimeout(z,k-O.now()-X)),$&&($=clearInterval($))):($||(G=O.now(),$=setInterval(Z,at)),Q=1,F(z))}}function Ot(k,m,R){k.prototype=m.prototype=R,R.constructor=k}function Kt(k,m){var R=Object.create(k.prototype);for(var J in m)R[J]=m[J];return R}function Ht(){}var Bt=.7,Lt=1/Bt,zt="\\s*([+-]?\\d+)\\s*",ft="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",rt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",a=/^#([0-9a-f]{3,8})$/,l=new RegExp("^rgb\\(".concat(zt,",").concat(zt,",").concat(zt,"\\)$")),T=new RegExp("^rgb\\(".concat(rt,",").concat(rt,",").concat(rt,"\\)$")),q=new RegExp("^rgba\\(".concat(zt,",").concat(zt,",").concat(zt,",").concat(ft,"\\)$")),xt=new RegExp("^rgba\\(".concat(rt,",").concat(rt,",").concat(rt,",").concat(ft,"\\)$")),x=new RegExp("^hsl\\(".concat(ft,",").concat(rt,",").concat(rt,"\\)$")),b=new RegExp("^hsla\\(".concat(ft,",").concat(rt,",").concat(rt,",").concat(ft,"\\)$")),I={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};Ot(Ht,f,{copy:function(m){return Object.assign(new this.constructor,this,m)},displayable:function(){return this.rgb().displayable()},hex:S,formatHex:S,formatHex8:V,formatHsl:ct,formatRgb:C,toString:C});function S(){return this.rgb().formatHex()}function V(){return this.rgb().formatHex8()}function ct(){return M(this).formatHsl()}function C(){return this.rgb().formatRgb()}function f(k){var m,R;return k=(k+"").trim().toLowerCase(),(m=a.exec(k))?(R=m[1].length,m=parseInt(m[1],16),R===6?r(m):R===3?new e(m>>8&15|m>>4&240,m>>4&15|m&240,(m&15)<<4|m&15,1):R===8?t(m>>24&255,m>>16&255,m>>8&255,(m&255)/255):R===4?t(m>>12&15|m>>8&240,m>>8&15|m>>4&240,m>>4&15|m&240,((m&15)<<4|m&15)/255):null):(m=l.exec(k))?new e(m[1],m[2],m[3],1):(m=T.exec(k))?new e(m[1]*255/100,m[2]*255/100,m[3]*255/100,1):(m=q.exec(k))?t(m[1],m[2],m[3],m[4]):(m=xt.exec(k))?t(m[1]*255/100,m[2]*255/100,m[3]*255/100,m[4]):(m=x.exec(k))?y(m[1],m[2]/100,m[3]/100,1):(m=b.exec(k))?y(m[1],m[2]/100,m[3]/100,m[4]):I.hasOwnProperty(k)?r(I[k]):k==="transparent"?new e(NaN,NaN,NaN,0):null}function r(k){return new e(k>>16&255,k>>8&255,k&255,1)}function t(k,m,R,J){return J<=0&&(k=m=R=NaN),new e(k,m,R,J)}function o(k){return k instanceof Ht||(k=f(k)),k?(k=k.rgb(),new e(k.r,k.g,k.b,k.opacity)):new e}function n(k,m,R,J){return arguments.length===1?o(k):new e(k,m,R,J==null?1:J)}function e(k,m,R,J){this.r=+k,this.g=+m,this.b=+R,this.opacity=+J}Ot(e,n,Kt(Ht,{brighter:function(m){return m=m==null?Lt:Math.pow(Lt,m),new e(this.r*m,this.g*m,this.b*m,this.opacity)},darker:function(m){return m=m==null?Bt:Math.pow(Bt,m),new e(this.r*m,this.g*m,this.b*m,this.opacity)},rgb:function(){return this},clamp:function(){return new e(d(this.r),d(this.g),d(this.b),w(this.opacity))},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:c,formatHex:c,formatHex8:v,formatRgb:_,toString:_}));function c(){return"#".concat(u(this.r)).concat(u(this.g)).concat(u(this.b))}function v(){return"#".concat(u(this.r)).concat(u(this.g)).concat(u(this.b)).concat(u((isNaN(this.opacity)?1:this.opacity)*255))}function _(){var k=w(this.opacity);return"".concat(k===1?"rgb(":"rgba(").concat(d(this.r),", ").concat(d(this.g),", ").concat(d(this.b)).concat(k===1?")":", ".concat(k,")"))}function w(k){return isNaN(k)?1:Math.max(0,Math.min(1,k))}function d(k){return Math.max(0,Math.min(255,Math.round(k)||0))}function u(k){return k=d(k),(k<16?"0":"")+k.toString(16)}function y(k,m,R,J){return J<=0?k=m=R=NaN:R<=0||R>=1?k=m=NaN:m<=0&&(k=NaN),new s(k,m,R,J)}function M(k){if(k instanceof s)return new s(k.h,k.s,k.l,k.opacity);if(k instanceof Ht||(k=f(k)),!k)return new s;if(k instanceof s)return k;k=k.rgb();var m=k.r/255,R=k.g/255,J=k.b/255,At=Math.min(m,R,J),bt=Math.max(m,R,J),kt=NaN,Rt=bt-At,rr=(bt+At)/2;return Rt?(m===bt?kt=(R-J)/Rt+(R<J)*6:R===bt?kt=(J-m)/Rt+2:kt=(m-R)/Rt+4,Rt/=rr<.5?bt+At:2-bt-At,kt*=60):Rt=rr>0&&rr<1?0:kt,new s(kt,Rt,rr,k.opacity)}function i(k,m,R,J){return arguments.length===1?M(k):new s(k,m,R,J==null?1:J)}function s(k,m,R,J){this.h=+k,this.s=+m,this.l=+R,this.opacity=+J}Ot(s,i,Kt(Ht,{brighter:function(m){return m=m==null?Lt:Math.pow(Lt,m),new s(this.h,this.s,this.l*m,this.opacity)},darker:function(m){return m=m==null?Bt:Math.pow(Bt,m),new s(this.h,this.s,this.l*m,this.opacity)},rgb:function(){var m=this.h%360+(this.h<0)*360,R=isNaN(m)||isNaN(this.s)?0:this.s,J=this.l,At=J+(J<.5?J:1-J)*R,bt=2*J-At;return new e(K(m>=240?m-240:m+120,bt,At),K(m,bt,At),K(m<120?m+240:m-120,bt,At),this.opacity)},clamp:function(){return new s(h(this.h),B(this.s),B(this.l),w(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 m=w(this.opacity);return"".concat(m===1?"hsl(":"hsla(").concat(h(this.h),", ").concat(B(this.s)*100,"%, ").concat(B(this.l)*100,"%").concat(m===1?")":", ".concat(m,")"))}}));function h(k){return k=(k||0)%360,k<0?k+360:k}function B(k){return Math.max(0,Math.min(1,k||0))}function K(k,m,R){return(k<60?m+(R-m)*k/60:k<180?R:k<240?m+(R-m)*(240-k)/60:m)*255}function it(k,m,R,J,At){var bt=k*k,kt=bt*k;return((1-3*k+3*bt-kt)*m+(4-6*bt+3*kt)*R+(1+3*k+3*bt-3*kt)*J+kt*At)/6}function ot(k){var m=k.length-1;return function(R){var J=R<=0?R=0:R>=1?(R=1,m-1):Math.floor(R*m),At=k[J],bt=k[J+1],kt=J>0?k[J-1]:2*At-bt,Rt=J<m-1?k[J+2]:2*bt-At;return it((R-J/m)*m,kt,At,bt,Rt)}}function gt(k){var m=k.length;return function(R){var J=Math.floor(((R%=1)<0?++R:R)*m),At=k[(J+m-1)%m],bt=k[J%m],kt=k[(J+1)%m],Rt=k[(J+2)%m];return it((R-J/m)*m,At,bt,kt,Rt)}}var vt=function(k){return function(){return k}};function Pt(k,m){return function(R){return k+R*m}}function Ct(k,m,R){return k=Math.pow(k,R),m=Math.pow(m,R)-k,R=1/R,function(J){return Math.pow(k+J*m,R)}}function Yt(k,m){var R=m-k;return R?Pt(k,R>180||R<-180?R-360*Math.round(R/360):R):constant(isNaN(k)?m:k)}function Zt(k){return(k=+k)==1?Tt:function(m,R){return R-m?Ct(m,R,k):vt(isNaN(m)?R:m)}}function Tt(k,m){var R=m-k;return R?Pt(k,R):vt(isNaN(k)?m:k)}var Xt=function k(m){var R=Zt(m);function J(At,bt){var kt=R((At=n(At)).r,(bt=n(bt)).r),Rt=R(At.g,bt.g),rr=R(At.b,bt.b),sr=Tt(At.opacity,bt.opacity);return function(gr){return At.r=kt(gr),At.g=Rt(gr),At.b=rr(gr),At.opacity=sr(gr),At+""}}return J.gamma=k,J}(1);function Wt(k){return function(m){var R=m.length,J=new Array(R),At=new Array(R),bt=new Array(R),kt,Rt;for(kt=0;kt<R;++kt)Rt=n(m[kt]),J[kt]=Rt.r||0,At[kt]=Rt.g||0,bt[kt]=Rt.b||0;return J=k(J),At=k(At),bt=k(bt),Rt.opacity=1,function(rr){return Rt.r=J(rr),Rt.g=At(rr),Rt.b=bt(rr),Rt+""}}}var Vt=Wt(ot),Nt=Wt(gt);function Gt(k,m){m||(m=[]);var R=k?Math.min(m.length,k.length):0,J=m.slice(),At;return function(bt){for(At=0;At<R;++At)J[At]=k[At]*(1-bt)+m[At]*bt;return J}}function Jt(k){return ArrayBuffer.isView(k)&&!(k instanceof DataView)}function qt(k,m){return(Jt(m)?Gt:jt)(k,m)}function jt(k,m){var R=m?m.length:0,J=k?Math.min(R,k.length):0,At=new Array(J),bt=new Array(R),kt;for(kt=0;kt<J;++kt)At[kt]=Er(k[kt],m[kt]);for(;kt<R;++kt)bt[kt]=m[kt];return function(Rt){for(kt=0;kt<J;++kt)bt[kt]=At[kt](Rt);return bt}}function er(k,m){var R=new Date;return k=+k,m=+m,function(J){return R.setTime(k*(1-J)+m*J),R}}function ar(k,m){return k=+k,m=+m,function(R){return k*(1-R)+m*R}}function cr(k,m){var R={},J={},At;(k===null||typeof k!="object")&&(k={}),(m===null||typeof m!="object")&&(m={});for(At in m)At in k?R[At]=Er(k[At],m[At]):J[At]=m[At];return function(bt){for(At in R)J[At]=R[At](bt);return J}}var dr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,lr=new RegExp(dr.source,"g");function Dr(k){return function(){return k}}function Tr(k){return function(m){return k(m)+""}}function vr(k,m){var R=dr.lastIndex=lr.lastIndex=0,J,At,bt,kt=-1,Rt=[],rr=[];for(k=k+"",m=m+"";(J=dr.exec(k))&&(At=lr.exec(m));)(bt=At.index)>R&&(bt=m.slice(R,bt),Rt[kt]?Rt[kt]+=bt:Rt[++kt]=bt),(J=J[0])===(At=At[0])?Rt[kt]?Rt[kt]+=At:Rt[++kt]=At:(Rt[++kt]=null,rr.push({i:kt,x:ar(J,At)})),R=lr.lastIndex;return R<m.length&&(bt=m.slice(R),Rt[kt]?Rt[kt]+=bt:Rt[++kt]=bt),Rt.length<2?rr[0]?Tr(rr[0].x):Dr(m):(m=rr.length,function(sr){for(var gr=0,g;gr<m;++gr)Rt[(g=rr[gr]).i]=g.x(sr);return Rt.join("")})}function Er(k,m){var R=typeof m,J;return m==null||R==="boolean"?vt(m):(R==="number"?ar:R==="string"?(J=f(m))?(m=J,Xt):vr:m instanceof f?Xt:m instanceof Date?er:Jt(m)?Gt:Array.isArray(m)?jt:typeof m.valueOf!="function"&&typeof m.toString!="function"||isNaN(m)?cr:ar)(k,m)}var _r=U(97492),pr=U(47575),Lr=function(k){return["fill","stroke","fillStyle","strokeStyle"].includes(k)},yr=function(k){return/^[r,R,L,l]{1}[\s]*\(/.test(k)},Rr=[1,0,0,0,1,0,0,0,1];function Nr(k,m,R){var J={},At=m.fromAttrs,bt=m.toAttrs;if(!k.destroyed){var kt;for(var Rt in bt)if(!(0,pt.isEqual)(At[Rt],bt[Rt]))if(Rt==="path"){var rr=bt[Rt],sr=At[Rt];rr.length>sr.length?(rr=pr.parsePathString(bt[Rt]),sr=pr.parsePathString(At[Rt]),sr=pr.fillPathByDiff(sr,rr),sr=pr.formatPath(sr,rr),m.fromAttrs.path=sr,m.toAttrs.path=rr):m.pathFormatted||(rr=pr.parsePathString(bt[Rt]),sr=pr.parsePathString(At[Rt]),sr=pr.formatPath(sr,rr),m.fromAttrs.path=sr,m.toAttrs.path=rr,m.pathFormatted=!0),J[Rt]=[];for(var gr=0;gr<rr.length;gr++){for(var g=rr[gr],D=sr[gr],L=[],nt=0;nt<g.length;nt++)(0,pt.isNumber)(g[nt])&&D&&(0,pt.isNumber)(D[nt])?(kt=Er(D[nt],g[nt]),L.push(kt(R))):L.push(g[nt]);J[Rt].push(L)}}else if(Rt==="matrix"){var tt=qt(At[Rt]||Rr,bt[Rt]||Rr),Mt=tt(R);J[Rt]=Mt}else Lr(Rt)&&yr(bt[Rt])?J[Rt]=bt[Rt]:(0,pt.isFunction)(bt[Rt])||(kt=Er(At[Rt],bt[Rt]),J[Rt]=kt(R));k.attr(J)}}function kr(k,m,R){var J=m.startTime,At=m.delay;if(R<J+At||m._paused)return!1;var bt,kt=m.duration,Rt=m.easing,rr=(0,_r._)(Rt);if(R=R-J-m.delay,m.repeat)bt=R%kt/kt,bt=rr(bt);else if(bt=R/kt,bt<1)bt=rr(bt);else return m.onFrame?k.attr(m.onFrame(1)):k.attr(m.toAttrs),!0;if(m.onFrame){var sr=m.onFrame(bt);k.attr(sr)}else Nr(k,m,bt);return!1}var Xr=function(){function k(m){this.animators=[],this.current=0,this.timer=null,this.canvas=m}return k.prototype.initTimer=function(){var m=this,R=!1,J,At,bt;this.timer=A(function(kt){if(m.current=kt,m.animators.length>0){for(var Rt=m.animators.length-1;Rt>=0;Rt--){if(J=m.animators[Rt],J.destroyed){m.removeAnimator(Rt);continue}if(!J.isAnimatePaused()){At=J.get("animations");for(var rr=At.length-1;rr>=0;rr--)bt=At[rr],R=kr(J,bt,kt),R&&(At.splice(rr,1),R=!1,bt.callback&&bt.callback())}At.length===0&&m.removeAnimator(Rt)}var sr=m.canvas.get("autoDraw");sr||m.canvas.draw()}})},k.prototype.addAnimator=function(m){this.animators.push(m)},k.prototype.removeAnimator=function(m){this.animators.splice(m,1)},k.prototype.isAnimating=function(){return!!this.animators.length},k.prototype.stop=function(){this.timer&&this.timer.stop()},k.prototype.stopAllAnimations=function(m){m===void 0&&(m=!0),this.animators.forEach(function(R){R.stopAnimate(m)}),this.animators=[],this.canvas.draw()},k.prototype.getTime=function(){return this.current},k}(),Jr=Xr,jr=U(89473),tn=40,zr=0,rn=":",Kr=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function ln(k,m){for(var R in k)if(k.hasOwnProperty(R)&&R.indexOf(rn+m)>=0)return!0;return!1}function Gr(k,m,R){R.name=m,R.target=k,R.currentTarget=k,R.delegateTarget=k,k.emit(m,R)}function nn(k,m,R){if(R.bubbles){var J=void 0,At=!1;if(m==="mouseenter"?(J=R.fromShape,At=!0):m==="mouseleave"&&(At=!0,J=R.toShape),k.isCanvas()&&At)return;if(J&&(0,ut.UY)(k,J)){R.bubbles=!1;return}R.name=m,R.currentTarget=k,R.delegateTarget=k,k.emit(m,R)}}var en=function(){function k(m){var R=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(J){var At=J.type;R._triggerEvent(At,J)},this._onDocumentMove=function(J){var At=R.canvas,bt=At.get("el");if(bt!==J.target&&(R.dragging||R.currentShape)){var kt=R._getPointInfo(J);R.dragging&&R._emitEvent("drag",J,kt,R.draggingShape)}},this._onDocumentMouseUp=function(J){var At=R.canvas,bt=At.get("el");if(bt!==J.target&&R.dragging){var kt=R._getPointInfo(J);R.draggingShape&&R._emitEvent("drop",J,kt,null),R._emitEvent("dragend",J,kt,R.draggingShape),R._afterDrag(R.draggingShape,kt,J)}},this.canvas=m.canvas}return k.prototype.init=function(){this._bindEvents()},k.prototype._bindEvents=function(){var m=this,R=this.canvas.get("el");(0,ut.S6)(Kr,function(J){R.addEventListener(J,m._eventCallback)}),document&&(document.addEventListener("mousemove",this._onDocumentMove),document.addEventListener("mouseup",this._onDocumentMouseUp))},k.prototype._clearEvents=function(){var m=this,R=this.canvas.get("el");(0,ut.S6)(Kr,function(J){R.removeEventListener(J,m._eventCallback)}),document&&(document.removeEventListener("mousemove",this._onDocumentMove),document.removeEventListener("mouseup",this._onDocumentMouseUp))},k.prototype._getEventObj=function(m,R,J,At,bt,kt){var Rt=new jr.Z(m,R);return Rt.fromShape=bt,Rt.toShape=kt,Rt.x=J.x,Rt.y=J.y,Rt.clientX=J.clientX,Rt.clientY=J.clientY,Rt.propagationPath.push(At),Rt},k.prototype._getShape=function(m,R){return this.canvas.getShape(m.x,m.y,R)},k.prototype._getPointInfo=function(m){var R=this.canvas,J=R.getClientByEvent(m),At=R.getPointByEvent(m);return{x:At.x,y:At.y,clientX:J.x,clientY:J.y}},k.prototype._triggerEvent=function(m,R){var J=this._getPointInfo(R),At=this._getShape(J,R),bt=this["_on"+m],kt=!1;if(bt)bt.call(this,J,At,R);else{var Rt=this.currentShape;m==="mouseenter"||m==="dragenter"||m==="mouseover"?(this._emitEvent(m,R,J,null,null,At),At&&this._emitEvent(m,R,J,At,null,At),m==="mouseenter"&&this.draggingShape&&this._emitEvent("dragenter",R,J,null)):m==="mouseleave"||m==="dragleave"||m==="mouseout"?(kt=!0,Rt&&this._emitEvent(m,R,J,Rt,Rt,null),this._emitEvent(m,R,J,null,Rt,null),m==="mouseleave"&&this.draggingShape&&this._emitEvent("dragleave",R,J,null)):this._emitEvent(m,R,J,At,null,null)}if(kt||(this.currentShape=At),At&&!At.get("destroyed")){var rr=this.canvas,sr=rr.get("el");sr.style.cursor=At.attr("cursor")||rr.get("cursor")}},k.prototype._onmousedown=function(m,R,J){J.button===zr&&(this.mousedownShape=R,this.mousedownPoint=m,this.mousedownTimeStamp=J.timeStamp),this._emitEvent("mousedown",J,m,R,null,null)},k.prototype._emitMouseoverEvents=function(m,R,J,At){var bt=this.canvas.get("el");J!==At&&(J&&(this._emitEvent("mouseout",m,R,J,J,At),this._emitEvent("mouseleave",m,R,J,J,At),(!At||At.get("destroyed"))&&(bt.style.cursor=this.canvas.get("cursor"))),At&&(this._emitEvent("mouseover",m,R,At,J,At),this._emitEvent("mouseenter",m,R,At,J,At)))},k.prototype._emitDragoverEvents=function(m,R,J,At,bt){At?(At!==J&&(J&&this._emitEvent("dragleave",m,R,J,J,At),this._emitEvent("dragenter",m,R,At,J,At)),bt||this._emitEvent("dragover",m,R,At)):J&&this._emitEvent("dragleave",m,R,J,J,At),bt&&this._emitEvent("dragover",m,R,At)},k.prototype._afterDrag=function(m,R,J){m&&(m.set("capture",!0),this.draggingShape=null),this.dragging=!1;var At=this._getShape(R,J);At!==m&&this._emitMouseoverEvents(J,R,m,At),this.currentShape=At},k.prototype._onmouseup=function(m,R,J){if(J.button===zr){var At=this.draggingShape;this.dragging?(At&&this._emitEvent("drop",J,m,R),this._emitEvent("dragend",J,m,At),this._afterDrag(At,m,J)):(this._emitEvent("mouseup",J,m,R),R===this.mousedownShape&&this._emitEvent("click",J,m,R),this.mousedownShape=null,this.mousedownPoint=null)}},k.prototype._ondragover=function(m,R,J){J.preventDefault();var At=this.currentShape;this._emitDragoverEvents(J,m,At,R,!0)},k.prototype._onmousemove=function(m,R,J){var At=this.canvas,bt=this.currentShape,kt=this.draggingShape;if(this.dragging)kt&&this._emitDragoverEvents(J,m,bt,R,!1),this._emitEvent("drag",J,m,kt);else{var Rt=this.mousedownPoint;if(Rt){var rr=this.mousedownShape,sr=J.timeStamp,gr=sr-this.mousedownTimeStamp,g=Rt.clientX-m.clientX,D=Rt.clientY-m.clientY,L=g*g+D*D;gr>120||L>tn?rr&&rr.get("draggable")?(kt=this.mousedownShape,kt.set("capture",!1),this.draggingShape=kt,this.dragging=!0,this._emitEvent("dragstart",J,m,kt),this.mousedownShape=null,this.mousedownPoint=null):!rr&&At.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",J,m,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(J,m,bt,R),this._emitEvent("mousemove",J,m,R)):(this._emitMouseoverEvents(J,m,bt,R),this._emitEvent("mousemove",J,m,R))}else this._emitMouseoverEvents(J,m,bt,R),this._emitEvent("mousemove",J,m,R)}},k.prototype._emitEvent=function(m,R,J,At,bt,kt){var Rt=this._getEventObj(m,R,J,At,bt,kt);if(At){Rt.shape=At,Gr(At,m,Rt);for(var rr=At.getParent();rr;)rr.emitDelegation(m,Rt),Rt.propagationStopped||nn(rr,m,Rt),Rt.propagationPath.push(rr),rr=rr.getParent()}else{var sr=this.canvas;Gr(sr,m,Rt)}},k.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},k}(),an=en,Wr="px",Zr=(0,E.qY)(),on=Zr&&Zr.name==="firefox",un=function(k){(0,j.__extends)(m,k);function m(R){var J=k.call(this,R)||this;return J.initContainer(),J.initDom(),J.initEvents(),J.initTimeline(),J}return m.prototype.getDefaultCfg=function(){var R=k.prototype.getDefaultCfg.call(this);return R.cursor="default",R.supportCSSTransform=!1,R},m.prototype.initContainer=function(){var R=this.get("container");(0,ut.HD)(R)&&(R=document.getElementById(R),this.set("container",R))},m.prototype.initDom=function(){var R=this.createDom();this.set("el",R);var J=this.get("container");J.appendChild(R),this.setDOMSize(this.get("width"),this.get("height"))},m.prototype.initEvents=function(){var R=new an({canvas:this});R.init(),this.set("eventController",R)},m.prototype.initTimeline=function(){var R=new Jr(this);this.set("timeline",R)},m.prototype.setDOMSize=function(R,J){var At=this.get("el");ut.jU&&(At.style.width=R+Wr,At.style.height=J+Wr)},m.prototype.changeSize=function(R,J){this.setDOMSize(R,J),this.set("width",R),this.set("height",J),this.onCanvasChange("changeSize")},m.prototype.getRenderer=function(){return this.get("renderer")},m.prototype.getCursor=function(){return this.get("cursor")},m.prototype.setCursor=function(R){this.set("cursor",R);var J=this.get("el");ut.jU&&J&&(J.style.cursor=R)},m.prototype.getPointByEvent=function(R){var J=this.get("supportCSSTransform");if(J){if(on&&!(0,ut.kK)(R.layerX)&&R.layerX!==R.offsetX)return{x:R.layerX,y:R.layerY};if(!(0,ut.kK)(R.offsetX))return{x:R.offsetX,y:R.offsetY}}var At=this.getClientByEvent(R),bt=At.x,kt=At.y;return this.getPointByClient(bt,kt)},m.prototype.getClientByEvent=function(R){var J=R;return R.touches&&(R.type==="touchend"?J=R.changedTouches[0]:J=R.touches[0]),{x:J.clientX,y:J.clientY}},m.prototype.getPointByClient=function(R,J){var At=this.get("el"),bt=At.getBoundingClientRect();return{x:R-bt.left,y:J-bt.top}},m.prototype.getClientByPoint=function(R,J){var At=this.get("el"),bt=At.getBoundingClientRect();return{x:R+bt.left,y:J+bt.top}},m.prototype.draw=function(){},m.prototype.removeDom=function(){var R=this.get("el");R.parentNode.removeChild(R)},m.prototype.clearEvents=function(){var R=this.get("eventController");R.destroy()},m.prototype.isCanvas=function(){return!0},m.prototype.getParent=function(){return null},m.prototype.destroy=function(){var R=this.get("timeline");this.get("destroyed")||(this.clear(),R&&R.stop(),this.clearEvents(),this.removeDom(),k.prototype.destroy.call(this))},m}(wt.Z),sn=un},37153:function(nr,St,U){"use strict";var j=U(70655),E=U(49242),wt=U(29881),ut=U(77341),pt={},Q="_INDEX";function W(H,X){if(H.set("canvas",X),H.isGroup()){var O=H.get("children");O.length&&O.forEach(function(F){W(F,X)})}}function $(H,X){if(H.set("timeline",X),H.isGroup()){var O=H.get("children");O.length&&O.forEach(function(F){$(F,X)})}}function at(H,X){var O=H.getChildren();return O.indexOf(X)>=0}function yt(H,X,O){O===void 0&&(O=!0),O?X.destroy():(X.set("parent",null),X.set("canvas",null)),(0,ut.As)(H.getChildren(),X)}function lt(H){return function(X,O){var F=H(X,O);return F===0?X[Q]-O[Q]:F}}var G=function(H){(0,j.__extends)(X,H);function X(){return H!==null&&H.apply(this,arguments)||this}return X.prototype.isCanvas=function(){return!1},X.prototype.getBBox=function(){var O=Infinity,F=-Infinity,ht=Infinity,st=-Infinity,Y=[],A=[],P=this.getChildren().filter(function(Z){return Z.get("visible")&&(!Z.isGroup()||Z.isGroup()&&Z.getChildren().length>0)});P.length>0?((0,ut.S6)(P,function(Z){var dt=Z.getBBox();Y.push(dt.minX,dt.maxX),A.push(dt.minY,dt.maxY)}),O=(0,E.min)(Y),F=(0,E.max)(Y),ht=(0,E.min)(A),st=(0,E.max)(A)):(O=0,F=0,ht=0,st=0);var z={x:O,y:ht,minX:O,minY:ht,maxX:F,maxY:st,width:F-O,height:st-ht};return z},X.prototype.getCanvasBBox=function(){var O=Infinity,F=-Infinity,ht=Infinity,st=-Infinity,Y=[],A=[],P=this.getChildren().filter(function(Z){return Z.get("visible")&&(!Z.isGroup()||Z.isGroup()&&Z.getChildren().length>0)});P.length>0?((0,ut.S6)(P,function(Z){var dt=Z.getCanvasBBox();Y.push(dt.minX,dt.maxX),A.push(dt.minY,dt.maxY)}),O=(0,E.min)(Y),F=(0,E.max)(Y),ht=(0,E.min)(A),st=(0,E.max)(A)):(O=0,F=0,ht=0,st=0);var z={x:O,y:ht,minX:O,minY:ht,maxX:F,maxY:st,width:F-O,height:st-ht};return z},X.prototype.getDefaultCfg=function(){var O=H.prototype.getDefaultCfg.call(this);return O.children=[],O},X.prototype.onAttrChange=function(O,F,ht){if(H.prototype.onAttrChange.call(this,O,F,ht),O==="matrix"){var st=this.getTotalMatrix();this._applyChildrenMarix(st)}},X.prototype.applyMatrix=function(O){var F=this.getTotalMatrix();H.prototype.applyMatrix.call(this,O);var ht=this.getTotalMatrix();ht!==F&&this._applyChildrenMarix(ht)},X.prototype._applyChildrenMarix=function(O){var F=this.getChildren();(0,ut.S6)(F,function(ht){ht.applyMatrix(O)})},X.prototype.addShape=function(){for(var O=[],F=0;F<arguments.length;F++)O[F]=arguments[F];var ht=O[0],st=O[1];(0,ut.Kn)(ht)?st=ht:st.type=ht;var Y=pt[st.type];Y||(Y=(0,ut.jC)(st.type),pt[st.type]=Y);var A=this.getShapeBase(),P=new A[Y](st);return this.add(P),P},X.prototype.addGroup=function(){for(var O=[],F=0;F<arguments.length;F++)O[F]=arguments[F];var ht=O[0],st=O[1],Y;if((0,ut.mf)(ht))st?Y=new ht(st):Y=new ht({parent:this});else{var A=ht||{},P=this.getGroupBase();Y=new P(A)}return this.add(Y),Y},X.prototype.getCanvas=function(){var O;return this.isCanvas()?O=this:O=this.get("canvas"),O},X.prototype.getShape=function(O,F,ht){if(!(0,ut.pP)(this))return null;var st=this.getChildren(),Y;if(this.isCanvas())Y=this._findShape(st,O,F,ht);else{var A=[O,F,1];A=this.invertFromMatrix(A),this.isClipped(A[0],A[1])||(Y=this._findShape(st,A[0],A[1],ht))}return Y},X.prototype._findShape=function(O,F,ht,st){for(var Y=null,A=O.length-1;A>=0;A--){var P=O[A];if((0,ut.pP)(P)&&(P.isGroup()?Y=P.getShape(F,ht,st):P.isHit(F,ht)&&(Y=P)),Y)break}return Y},X.prototype.add=function(O){var F=this.getCanvas(),ht=this.getChildren(),st=this.get("timeline"),Y=O.getParent();Y&&yt(Y,O,!1),O.set("parent",this),F&&W(O,F),st&&$(O,st),ht.push(O),O.onCanvasChange("add"),this._applyElementMatrix(O)},X.prototype._applyElementMatrix=function(O){var F=this.getTotalMatrix();F&&O.applyMatrix(F)},X.prototype.getChildren=function(){return this.get("children")},X.prototype.sort=function(){var O=this.getChildren();(0,ut.S6)(O,function(F,ht){return F[Q]=ht,F}),O.sort(lt(function(F,ht){return F.get("zIndex")-ht.get("zIndex")})),this.onCanvasChange("sort")},X.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var O=this.getChildren(),F=O.length-1;F>=0;F--)O[F].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},X.prototype.destroy=function(){this.get("destroyed")||(this.clear(),H.prototype.destroy.call(this))},X.prototype.getFirst=function(){return this.getChildByIndex(0)},X.prototype.getLast=function(){var O=this.getChildren();return this.getChildByIndex(O.length-1)},X.prototype.getChildByIndex=function(O){var F=this.getChildren();return F[O]},X.prototype.getCount=function(){var O=this.getChildren();return O.length},X.prototype.contain=function(O){var F=this.getChildren();return F.indexOf(O)>-1},X.prototype.removeChild=function(O,F){F===void 0&&(F=!0),this.contain(O)&&O.remove(F)},X.prototype.findAll=function(O){var F=[],ht=this.getChildren();return(0,ut.S6)(ht,function(st){O(st)&&F.push(st),st.isGroup()&&(F=F.concat(st.findAll(O)))}),F},X.prototype.find=function(O){var F=null,ht=this.getChildren();return(0,ut.S6)(ht,function(st){if(O(st)?F=st:st.isGroup()&&(F=st.find(O)),F)return!1}),F},X.prototype.findById=function(O){return this.find(function(F){return F.get("id")===O})},X.prototype.findByClassName=function(O){return this.find(function(F){return F.get("className")===O})},X.prototype.findAllByName=function(O){return this.findAll(function(F){return F.get("name")===O})},X}(wt.Z);St.Z=G},29881:function(nr,St,U){"use strict";var j=U(70655),E=U(49242),wt=U(31506),ut=U(77341),pt=U(41482),Q=U(2667),W=wt.vs,$="matrix",at=["zIndex","capture","visible","type"],yt=["repeat"],lt=":",G="*";function H(st){for(var Y=[],A=0;A<st.length;A++)(0,E.isArray)(st[A])?Y.push([].concat(st[A])):Y.push(st[A]);return Y}function X(st,Y){var A={},P=Y.attrs;for(var z in st)A[z]=P[z];return A}function O(st,Y){var A={},P=Y.attr();return(0,E.each)(st,function(z,Z){yt.indexOf(Z)===-1&&!(0,E.isEqual)(P[Z],z)&&(A[Z]=z)}),A}function F(st,Y){if(Y.onFrame)return st;var A=Y.startTime,P=Y.delay,z=Y.duration,Z=Object.prototype.hasOwnProperty;return(0,E.each)(st,function(dt){A+P<dt.startTime+dt.delay+dt.duration&&z>dt.delay&&(0,E.each)(Y.toAttrs,function(Et,Ot){Z.call(dt.toAttrs,Ot)&&(delete dt.toAttrs[Ot],delete dt.fromAttrs[Ot])})}),st}var ht=function(st){(0,j.__extends)(Y,st);function Y(A){var P=st.call(this,A)||this;P.attrs={};var z=P.getDefaultAttrs();return(0,E.mix)(z,A.attrs),P.attrs=z,P.initAttrs(z),P.initAnimate(),P}return Y.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},Y.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},Y.prototype.onCanvasChange=function(A){},Y.prototype.initAttrs=function(A){},Y.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},Y.prototype.isGroup=function(){return!1},Y.prototype.getParent=function(){return this.get("parent")},Y.prototype.getCanvas=function(){return this.get("canvas")},Y.prototype.attr=function(){for(var A,P=[],z=0;z<arguments.length;z++)P[z]=arguments[z];var Z=P[0],dt=P[1];if(!Z)return this.attrs;if((0,E.isObject)(Z)){for(var Et in Z)this.setAttr(Et,Z[Et]);return this.afterAttrsChange(Z),this}return P.length===2?(this.setAttr(Z,dt),this.afterAttrsChange((A={},A[Z]=dt,A)),this):this.attrs[Z]},Y.prototype.isClipped=function(A,P){var z=this.getClip();return z&&!z.isHit(A,P)},Y.prototype.setAttr=function(A,P){var z=this.attrs[A];z!==P&&(this.attrs[A]=P,this.onAttrChange(A,P,z))},Y.prototype.onAttrChange=function(A,P,z){A==="matrix"&&this.set("totalMatrix",null)},Y.prototype.afterAttrsChange=function(A){if(this.cfg.isClipShape){var P=this.cfg.applyTo;P&&P.onCanvasChange("clip")}else this.onCanvasChange("attr")},Y.prototype.show=function(){return this.set("visible",!0),this.onCanvasChange("show"),this},Y.prototype.hide=function(){return this.set("visible",!1),this.onCanvasChange("hide"),this},Y.prototype.setZIndex=function(A){this.set("zIndex",A);var P=this.getParent();return P&&P.sort(),this},Y.prototype.toFront=function(){var A=this.getParent();if(!!A){var P=A.getChildren(),z=this.get("el"),Z=P.indexOf(this);P.splice(Z,1),P.push(this),this.onCanvasChange("zIndex")}},Y.prototype.toBack=function(){var A=this.getParent();if(!!A){var P=A.getChildren(),z=this.get("el"),Z=P.indexOf(this);P.splice(Z,1),P.unshift(this),this.onCanvasChange("zIndex")}},Y.prototype.remove=function(A){A===void 0&&(A=!0);var P=this.getParent();P?((0,ut.As)(P.getChildren(),this),P.get("clearing")||this.onCanvasChange("remove")):this.onCanvasChange("remove"),A&&this.destroy()},Y.prototype.resetMatrix=function(){this.attr($,this.getDefaultMatrix()),this.onCanvasChange("matrix")},Y.prototype.getMatrix=function(){return this.attr($)},Y.prototype.setMatrix=function(A){this.attr($,A),this.onCanvasChange("matrix")},Y.prototype.getTotalMatrix=function(){var A=this.cfg.totalMatrix;if(!A){var P=this.attr("matrix"),z=this.cfg.parentMatrix;z&&P?A=(0,pt.xq)(z,P):A=P||z,this.set("totalMatrix",A)}return A},Y.prototype.applyMatrix=function(A){var P=this.attr("matrix"),z=null;A&&P?z=(0,pt.xq)(A,P):z=P||A,this.set("totalMatrix",z),this.set("parentMatrix",A)},Y.prototype.getDefaultMatrix=function(){return null},Y.prototype.applyToMatrix=function(A){var P=this.attr("matrix");return P?(0,pt.rG)(P,A):A},Y.prototype.invertFromMatrix=function(A){var P=this.attr("matrix");if(P){var z=(0,pt.U_)(P);if(z)return(0,pt.rG)(z,A)}return A},Y.prototype.setClip=function(A){var P=this.getCanvas(),z=null;if(A){var Z=this.getShapeBase(),dt=(0,E.upperFirst)(A.type),Et=Z[dt];Et&&(z=new Et({type:A.type,isClipShape:!0,applyTo:this,attrs:A.attrs,canvas:P}))}return this.set("clipShape",z),this.onCanvasChange("clip"),z},Y.prototype.getClip=function(){var A=this.cfg.clipShape;return A||null},Y.prototype.clone=function(){var A=this,P=this.attrs,z={};(0,E.each)(P,function(Et,Ot){(0,E.isArray)(P[Ot])?z[Ot]=H(P[Ot]):z[Ot]=P[Ot]});var Z=this.constructor,dt=new Z({attrs:z});return(0,E.each)(at,function(Et){dt.set(Et,A.get(Et))}),dt},Y.prototype.destroy=function(){var A=this.destroyed;A||(this.attrs={},st.prototype.destroy.call(this))},Y.prototype.isAnimatePaused=function(){return this.get("_pause").isPaused},Y.prototype.animate=function(){for(var A=[],P=0;P<arguments.length;P++)A[P]=arguments[P];if(!(!this.get("timeline")&&!this.get("canvas"))){this.set("animating",!0);var z=this.get("timeline");z||(z=this.get("canvas").get("timeline"),this.set("timeline",z));var Z=this.get("animations")||[];z.timer||z.initTimer();var dt=A[0],Et=A[1],Ot=A[2],Kt=Ot===void 0?"easeLinear":Ot,Ht=A[3],Bt=Ht===void 0?E.noop:Ht,Lt=A[4],zt=Lt===void 0?0:Lt,ft,rt,a,l,T;(0,E.isFunction)(dt)?(ft=dt,dt={}):(0,E.isObject)(dt)&&dt.onFrame&&(ft=dt.onFrame,rt=dt.repeat),(0,E.isObject)(Et)?(T=Et,Et=T.duration,Kt=T.easing||"easeLinear",zt=T.delay||0,rt=T.repeat||rt||!1,Bt=T.callback||E.noop,a=T.pauseCallback||E.noop,l=T.resumeCallback||E.noop):((0,E.isNumber)(Bt)&&(zt=Bt,Bt=null),(0,E.isFunction)(Kt)?(Bt=Kt,Kt="easeLinear"):Kt=Kt||"easeLinear");var q=O(dt,this),xt={fromAttrs:X(q,this),toAttrs:q,duration:Et,easing:Kt,repeat:rt,callback:Bt,pauseCallback:a,resumeCallback:l,delay:zt,startTime:z.getTime(),id:(0,E.uniqueId)(),onFrame:ft,pathFormatted:!1};Z.length>0?Z=F(Z,xt):z.addAnimator(this),Z.push(xt),this.set("animations",Z),this.set("_pause",{isPaused:!1})}},Y.prototype.stopAnimate=function(A){var P=this;A===void 0&&(A=!0);var z=this.get("animations");(0,E.each)(z,function(Z){A&&(Z.onFrame?P.attr(Z.onFrame(1)):P.attr(Z.toAttrs)),Z.callback&&Z.callback()}),this.set("animating",!1),this.set("animations",[])},Y.prototype.pauseAnimate=function(){var A=this.get("timeline"),P=this.get("animations"),z=A.getTime();return(0,E.each)(P,function(Z){Z._paused=!0,Z._pauseTime=z,Z.pauseCallback&&Z.pauseCallback()}),this.set("_pause",{isPaused:!0,pauseTime:z}),this},Y.prototype.resumeAnimate=function(){var A=this.get("timeline"),P=A.getTime(),z=this.get("animations"),Z=this.get("_pause").pauseTime;return(0,E.each)(z,function(dt){dt.startTime=dt.startTime+(P-Z),dt._paused=!1,dt._pauseTime=null,dt.resumeCallback&&dt.resumeCallback()}),this.set("_pause",{isPaused:!1}),this.set("animations",z),this},Y.prototype.emitDelegation=function(A,P){var z=this,Z=P.propagationPath,dt=this.getEvents(),Et;A==="mouseenter"?Et=P.fromShape:A==="mouseleave"&&(Et=P.toShape);for(var Ot=function(Lt){var zt=Z[Lt],ft=zt.get("name");if(ft){if((zt.isGroup()||zt.isCanvas&&zt.isCanvas())&&Et&&(0,ut.UY)(zt,Et))return"break";(0,E.isArray)(ft)?(0,E.each)(ft,function(rt){z.emitDelegateEvent(zt,rt,P)}):Kt.emitDelegateEvent(zt,ft,P)}},Kt=this,Ht=0;Ht<Z.length;Ht++){var Bt=Ot(Ht);if(Bt==="break")break}},Y.prototype.emitDelegateEvent=function(A,P,z){var Z=this.getEvents(),dt=P+lt+z.type;(Z[dt]||Z[G])&&(z.name=dt,z.currentTarget=A,z.delegateTarget=this,z.delegateObject=A.get("delegateObject"),this.emit(dt,z))},Y.prototype.translate=function(A,P){A===void 0&&(A=0),P===void 0&&(P=0);var z=this.getMatrix(),Z=W(z,[["t",A,P]]);return this.setMatrix(Z),this},Y.prototype.move=function(A,P){var z=this.attr("x")||0,Z=this.attr("y")||0;return this.translate(A-z,P-Z),this},Y.prototype.moveTo=function(A,P){return this.move(A,P)},Y.prototype.scale=function(A,P){var z=this.getMatrix(),Z=W(z,[["s",A,P||A]]);return this.setMatrix(Z),this},Y.prototype.rotate=function(A){var P=this.getMatrix(),z=W(P,[["r",A]]);return this.setMatrix(z),this},Y.prototype.rotateAtStart=function(A){var P=this.attr(),z=P.x,Z=P.y,dt=this.getMatrix(),Et=W(dt,[["t",-z,-Z],["r",A],["t",z,Z]]);return this.setMatrix(Et),this},Y.prototype.rotateAtPoint=function(A,P,z){var Z=this.getMatrix(),dt=W(Z,[["t",-A,-P],["r",z],["t",A,P]]);return this.setMatrix(dt),this},Y}(Q.Z);St.Z=ht},31841:function(nr,St,U){"use strict";var j=U(70655),E=U(37153),wt=function(ut){(0,j.__extends)(pt,ut);function pt(){return ut!==null&&ut.apply(this,arguments)||this}return pt.prototype.isGroup=function(){return!0},pt.prototype.isEntityGroup=function(){return!1},pt.prototype.clone=function(){for(var Q=ut.prototype.clone.call(this),W=this.getChildren(),$=0;$<W.length;$++){var at=W[$];Q.add(at.clone())}return Q},pt}(E.Z);St.Z=wt},15032:function(nr,St,U){"use strict";var j=U(70655),E=U(29881),wt=U(41482),ut=function(pt){(0,j.__extends)(Q,pt);function Q(W){return pt.call(this,W)||this}return Q.prototype._isInBBox=function(W,$){var at=this.getBBox();return at.minX<=W&&at.maxX>=W&&at.minY<=$&&at.maxY>=$},Q.prototype.afterAttrsChange=function(W){pt.prototype.afterAttrsChange.call(this,W),this.clearCacheBBox()},Q.prototype.getBBox=function(){var W=this.cfg.bbox;return W||(W=this.calculateBBox(),this.set("bbox",W)),W},Q.prototype.getCanvasBBox=function(){var W=this.cfg.canvasBBox;return W||(W=this.calculateCanvasBBox(),this.set("canvasBBox",W)),W},Q.prototype.applyMatrix=function(W){pt.prototype.applyMatrix.call(this,W),this.set("canvasBBox",null)},Q.prototype.calculateCanvasBBox=function(){var W=this.getBBox(),$=this.getTotalMatrix(),at=W.minX,yt=W.minY,lt=W.maxX,G=W.maxY;if($){var H=(0,wt.rG)($,[W.minX,W.minY]),X=(0,wt.rG)($,[W.maxX,W.minY]),O=(0,wt.rG)($,[W.minX,W.maxY]),F=(0,wt.rG)($,[W.maxX,W.maxY]);at=Math.min(H[0],X[0],O[0],F[0]),lt=Math.max(H[0],X[0],O[0],F[0]),yt=Math.min(H[1],X[1],O[1],F[1]),G=Math.max(H[1],X[1],O[1],F[1])}var ht=this.attrs;if(ht.shadowColor){var st=ht.shadowBlur,Y=st===void 0?0:st,A=ht.shadowOffsetX,P=A===void 0?0:A,z=ht.shadowOffsetY,Z=z===void 0?0:z,dt=at-Y+P,Et=lt+Y+P,Ot=yt-Y+Z,Kt=G+Y+Z;at=Math.min(at,dt),lt=Math.max(lt,Et),yt=Math.min(yt,Ot),G=Math.max(G,Kt)}return{x:at,y:yt,minX:at,minY:yt,maxX:lt,maxY:G,width:lt-at,height:G-yt}},Q.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},Q.prototype.isClipShape=function(){return this.get("isClipShape")},Q.prototype.isInShape=function(W,$){return!1},Q.prototype.isOnlyHitBox=function(){return!1},Q.prototype.isHit=function(W,$){var at=this.get("startArrowShape"),yt=this.get("endArrowShape"),lt=[W,$,1];lt=this.invertFromMatrix(lt);var G=lt[0],H=lt[1],X=this._isInBBox(G,H);return this.isOnlyHitBox()?X:!!(X&&!this.isClipped(G,H)&&(this.isInShape(G,H)||at&&at.isHit(G,H)||yt&&yt.isHit(G,H)))},Q}(E.Z);St.Z=ut},97492:function(nr,St,U){"use strict";U.d(St,{_:function(){return o},C:function(){return n}});var j={};U.r(j),U.d(j,{easeBack:function(){return I},easeBackIn:function(){return x},easeBackInOut:function(){return I},easeBackOut:function(){return b},easeBounce:function(){return T},easeBounceIn:function(){return l},easeBounceInOut:function(){return q},easeBounceOut:function(){return T},easeCircle:function(){return dt},easeCircleIn:function(){return z},easeCircleInOut:function(){return dt},easeCircleOut:function(){return Z},easeCubic:function(){return $},easeCubicIn:function(){return Q},easeCubicInOut:function(){return $},easeCubicOut:function(){return W},easeElastic:function(){return f},easeElasticIn:function(){return C},easeElasticInOut:function(){return r},easeElasticOut:function(){return f},easeExp:function(){return P},easeExpIn:function(){return Y},easeExpInOut:function(){return P},easeExpOut:function(){return A},easeLinear:function(){return E},easePoly:function(){return G},easePolyIn:function(){return yt},easePolyInOut:function(){return G},easePolyOut:function(){return lt},easeQuad:function(){return pt},easeQuadIn:function(){return wt},easeQuadInOut:function(){return pt},easeQuadOut:function(){return ut},easeSin:function(){return ht},easeSinIn:function(){return O},easeSinInOut:function(){return ht},easeSinOut:function(){return F}});function E(e){return+e}function wt(e){return e*e}function ut(e){return e*(2-e)}function pt(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function Q(e){return e*e*e}function W(e){return--e*e*e+1}function $(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var at=3,yt=function e(c){c=+c;function v(_){return Math.pow(_,c)}return v.exponent=e,v}(at),lt=function e(c){c=+c;function v(_){return 1-Math.pow(1-_,c)}return v.exponent=e,v}(at),G=function e(c){c=+c;function v(_){return((_*=2)<=1?Math.pow(_,c):2-Math.pow(2-_,c))/2}return v.exponent=e,v}(at),H=Math.PI,X=H/2;function O(e){return+e==1?1:1-Math.cos(e*X)}function F(e){return Math.sin(e*X)}function ht(e){return(1-Math.cos(H*e))/2}function st(e){return(Math.pow(2,-10*e)-.0009765625)*1.0009775171065494}function Y(e){return st(1-+e)}function A(e){return 1-st(e)}function P(e){return((e*=2)<=1?st(1-e):2-st(e-1))/2}function z(e){return 1-Math.sqrt(1-e*e)}function Z(e){return Math.sqrt(1- --e*e)}function dt(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}var Et=4/11,Ot=6/11,Kt=8/11,Ht=3/4,Bt=9/11,Lt=10/11,zt=15/16,ft=21/22,rt=63/64,a=1/Et/Et;function l(e){return 1-T(1-e)}function T(e){return(e=+e)<Et?a*e*e:e<Kt?a*(e-=Ot)*e+Ht:e<Lt?a*(e-=Bt)*e+zt:a*(e-=ft)*e+rt}function q(e){return((e*=2)<=1?1-T(1-e):T(e-1)+1)/2}var xt=1.70158,x=function e(c){c=+c;function v(_){return(_=+_)*_*(c*(_-1)+_)}return v.overshoot=e,v}(xt),b=function e(c){c=+c;function v(_){return--_*_*((_+1)*c+_)+1}return v.overshoot=e,v}(xt),I=function e(c){c=+c;function v(_){return((_*=2)<1?_*_*((c+1)*_-c):(_-=2)*_*((c+1)*_+c)+2)/2}return v.overshoot=e,v}(xt),S=2*Math.PI,V=1,ct=.3,C=function e(c,v){var _=Math.asin(1/(c=Math.max(1,c)))*(v/=S);function w(d){return c*st(- --d)*Math.sin((_-d)/v)}return w.amplitude=function(d){return e(d,v*S)},w.period=function(d){return e(c,d)},w}(V,ct),f=function e(c,v){var _=Math.asin(1/(c=Math.max(1,c)))*(v/=S);function w(d){return 1-c*st(d=+d)*Math.sin((d+_)/v)}return w.amplitude=function(d){return e(d,v*S)},w.period=function(d){return e(c,d)},w}(V,ct),r=function e(c,v){var _=Math.asin(1/(c=Math.max(1,c)))*(v/=S);function w(d){return((d=d*2-1)<0?c*st(-d)*Math.sin((_-d)/v):2-c*st(d)*Math.sin((_+d)/v))/2}return w.amplitude=function(d){return e(d,v*S)},w.period=function(d){return e(c,d)},w}(V,ct),t={};function o(e){return t[e.toLowerCase()]||j[e]}function n(e,c){t[e.toLowerCase()]=c}},78393:function(nr,St,U){"use strict";U.d(St,{b:function(){return wt},W:function(){return E}});var j=new Map;function E(A,P){j.set(A,P)}function wt(A){return j.get(A)}function ut(A){var P=A.attr(),z=P.x,Z=P.y,dt=P.width,Et=P.height;return{x:z,y:Z,width:dt,height:Et}}function pt(A){var P=A.attr(),z=P.x,Z=P.y,dt=P.r;return{x:z-dt,y:Z-dt,width:dt*2,height:dt*2}}var Q=U(89838);function W(A,P){return!A||!P?A||P:{minX:Math.min(A.minX,P.minX),minY:Math.min(A.minY,P.minY),maxX:Math.max(A.maxX,P.maxX),maxY:Math.max(A.maxY,P.maxY)}}function $(A,P){var z=A.get("startArrowShape"),Z=A.get("endArrowShape"),dt=null,Et=null;return z&&(dt=z.getCanvasBBox(),P=W(P,dt)),Z&&(Et=Z.getCanvasBBox(),P=W(P,Et)),P}function at(A){for(var P=A.attr(),z=P.points,Z=[],dt=[],Et=0;Et<z.length;Et++){var Ot=z[Et];Z.push(Ot[0]),dt.push(Ot[1])}var Kt=Q.Zr.getBBoxByArray(Z,dt),Ht=Kt.x,Bt=Kt.y,Lt=Kt.width,zt=Kt.height,ft={minX:Ht,minY:Bt,maxX:Ht+Lt,maxY:Bt+zt};return ft=$(A,ft),{x:ft.minX,y:ft.minY,width:ft.maxX-ft.minX,height:ft.maxY-ft.minY}}function yt(A){for(var P=A.attr(),z=P.points,Z=[],dt=[],Et=0;Et<z.length;Et++){var Ot=z[Et];Z.push(Ot[0]),dt.push(Ot[1])}return Q.Zr.getBBoxByArray(Z,dt)}var lt=U(8723);function G(A){var P=A.attr(),z=P.x,Z=P.y,dt=P.text,Et=P.fontSize,Ot=P.lineHeight,Kt=P.font;Kt||(Kt=(0,lt.$O)(P));var Ht=(0,lt.mY)(dt,Kt),Bt;if(!Ht)Bt={x:z,y:Z,width:0,height:0};else{var Lt=P.textAlign,zt=P.textBaseline,ft=(0,lt.FE)(dt,Et,Ot),rt={x:z,y:Z-ft};Lt&&(Lt==="end"||Lt==="right"?rt.x-=Ht:Lt==="center"&&(rt.x-=Ht/2)),zt&&(zt==="top"?rt.y+=ft:zt==="middle"&&(rt.y+=ft/2)),Bt={x:rt.x,y:rt.y,width:Ht,height:ft}}return Bt}var H=U(80389),X=U(49242);function O(A,P){for(var z=[],Z=[],dt=[],Et=0;Et<A.length;Et++){var Ot=A[Et],Kt=Ot.currentPoint,Ht=Ot.params,Bt=Ot.prePoint,Lt=void 0;switch(Ot.command){case"Q":Lt=Q.lD.box(Bt[0],Bt[1],Ht[1],Ht[2],Ht[3],Ht[4]);break;case"C":Lt=Q.Ll.box(Bt[0],Bt[1],Ht[1],Ht[2],Ht[3],Ht[4],Ht[5],Ht[6]);break;case"A":var zt=Ot.arcParams;Lt=Q.wN.box(zt.cx,zt.cy,zt.rx,zt.ry,zt.xRotation,zt.startAngle,zt.endAngle);break;default:z.push(Kt[0]),Z.push(Kt[1]);break}Lt&&(Ot.box=Lt,z.push(Lt.x,Lt.x+Lt.width),Z.push(Lt.y,Lt.y+Lt.height)),P&&(Ot.command==="L"||Ot.command==="M")&&Ot.prePoint&&Ot.nextPoint&&dt.push(Ot)}z=z.filter(function(q){return!Number.isNaN(q)&&q!==Infinity&&q!==-Infinity}),Z=Z.filter(function(q){return!Number.isNaN(q)&&q!==Infinity&&q!==-Infinity});var ft=(0,X.min)(z),rt=(0,X.min)(Z),a=(0,X.max)(z),l=(0,X.max)(Z);if(dt.length===0)return{x:ft,y:rt,width:a-ft,height:l-rt};for(var Et=0;Et<dt.length;Et++){var Ot=dt[Et],Kt=Ot.currentPoint,T=void 0;Kt[0]===ft?(T=F(Ot,P),ft=ft-T.xExtra):Kt[0]===a&&(T=F(Ot,P),a=a+T.xExtra),Kt[1]===rt?(T=F(Ot,P),rt=rt-T.yExtra):Kt[1]===l&&(T=F(Ot,P),l=l+T.yExtra)}return{x:ft,y:rt,width:a-ft,height:l-rt}}function F(A,P){var z=A.prePoint,Z=A.currentPoint,dt=A.nextPoint,Et=Math.pow(Z[0]-z[0],2)+Math.pow(Z[1]-z[1],2),Ot=Math.pow(Z[0]-dt[0],2)+Math.pow(Z[1]-dt[1],2),Kt=Math.pow(z[0]-dt[0],2)+Math.pow(z[1]-dt[1],2),Ht=Math.acos((Et+Ot-Kt)/(2*Math.sqrt(Et)*Math.sqrt(Ot)));if(!Ht||Math.sin(Ht)===0||(0,X.isNumberEqual)(Ht,0))return{xExtra:0,yExtra:0};var Bt=Math.abs(Math.atan2(dt[1]-Z[1],dt[0]-Z[0])),Lt=Math.abs(Math.atan2(dt[0]-Z[0],dt[1]-Z[1]));Bt=Bt>Math.PI/2?Math.PI-Bt:Bt,Lt=Lt>Math.PI/2?Math.PI-Lt:Lt;var zt={xExtra:Math.cos(Ht/2-Bt)*(P/2*(1/Math.sin(Ht/2)))-P/2||0,yExtra:Math.cos(Lt-Ht/2)*(P/2*(1/Math.sin(Ht/2)))-P/2||0};return zt}function ht(A){var P=A.attr(),z=P.path,Z=P.stroke,dt=Z?P.lineWidth:0,Et=A.get("segments")||(0,H.zx)(z),Ot=O(Et,dt),Kt=Ot.x,Ht=Ot.y,Bt=Ot.width,Lt=Ot.height,zt={minX:Kt,minY:Ht,maxX:Kt+Bt,maxY:Ht+Lt};return zt=$(A,zt),{x:zt.minX,y:zt.minY,width:zt.maxX-zt.minX,height:zt.maxY-zt.minY}}function st(A){var P=A.attr(),z=P.x1,Z=P.y1,dt=P.x2,Et=P.y2,Ot=Math.min(z,dt),Kt=Math.max(z,dt),Ht=Math.min(Z,Et),Bt=Math.max(Z,Et),Lt={minX:Ot,maxX:Kt,minY:Ht,maxY:Bt};return Lt=$(A,Lt),{x:Lt.minX,y:Lt.minY,width:Lt.maxX-Lt.minX,height:Lt.maxY-Lt.minY}}function Y(A){var P=A.attr(),z=P.x,Z=P.y,dt=P.rx,Et=P.ry;return{x:z-dt,y:Z-Et,width:dt*2,height:Et*2}}E("rect",ut),E("image",ut),E("circle",pt),E("marker",pt),E("polyline",at),E("polygon",yt),E("text",G),E("path",ht),E("line",st),E("ellipse",Y)},89473:function(nr,St){"use strict";var U=function(){function j(E,wt){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=E,this.name=E,this.originalEvent=wt,this.timeStamp=wt.timeStamp}return j.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},j.prototype.stopPropagation=function(){this.propagationStopped=!0},j.prototype.toString=function(){var E=this.type;return"[Event (type="+E+")]"},j.prototype.save=function(){},j.prototype.restore=function(){},j}();St.Z=U},98190:function(nr,St,U){"use strict";U.r(St),U.d(St,{Event:function(){return $.Z},Base:function(){return at.Z},AbstractCanvas:function(){return yt.Z},AbstractGroup:function(){return lt.Z},AbstractShape:function(){return G.Z},PathUtil:function(){return j},getBBoxMethod:function(){return H.b},registerBBox:function(){return H.W},getTextHeight:function(){return X.FE},assembleFont:function(){return X.$O},isAllowCapture:function(){return O.pP},multiplyVec2:function(){return F.rG},invert:function(){return F.U_},getOffScreenContext:function(){return ht.L},registerEasing:function(){return st.C},version:function(){return Y}});var j=U(47575),E=U(52),wt=U.n(E),ut={};for(var pt in E)["default","Event","Base","AbstractCanvas","AbstractGroup","AbstractShape","PathUtil","getBBoxMethod","registerBBox","getTextHeight","assembleFont","isAllowCapture","multiplyVec2","invert","getOffScreenContext","registerEasing","version"].indexOf(pt)<0&&(ut[pt]=function(A){return E[A]}.bind(0,pt));U.d(St,ut);var Q=U(15294),W=U.n(Q),ut={};for(var pt in Q)["default","Event","Base","AbstractCanvas","AbstractGroup","AbstractShape","PathUtil","getBBoxMethod","registerBBox","getTextHeight","assembleFont","isAllowCapture","multiplyVec2","invert","getOffScreenContext","registerEasing","version"].indexOf(pt)<0&&(ut[pt]=function(P){return Q[P]}.bind(0,pt));U.d(St,ut);var $=U(89473),at=U(2667),yt=U(81166),lt=U(31841),G=U(15032),H=U(78393),X=U(8723),O=U(77341),F=U(41482),ht=U(67052),st=U(97492),Y="0.5.11"},15294:function(){},52:function(){},41482:function(nr,St,U){"use strict";U.d(St,{xq:function(){return j},rG:function(){return E},U_:function(){return wt}});function j(ut,pt){var Q=[],W=ut[0],$=ut[1],at=ut[2],yt=ut[3],lt=ut[4],G=ut[5],H=ut[6],X=ut[7],O=ut[8],F=pt[0],ht=pt[1],st=pt[2],Y=pt[3],A=pt[4],P=pt[5],z=pt[6],Z=pt[7],dt=pt[8];return Q[0]=F*W+ht*yt+st*H,Q[1]=F*$+ht*lt+st*X,Q[2]=F*at+ht*G+st*O,Q[3]=Y*W+A*yt+P*H,Q[4]=Y*$+A*lt+P*X,Q[5]=Y*at+A*G+P*O,Q[6]=z*W+Z*yt+dt*H,Q[7]=z*$+Z*lt+dt*X,Q[8]=z*at+Z*G+dt*O,Q}function E(ut,pt){var Q=[],W=pt[0],$=pt[1];return Q[0]=ut[0]*W+ut[3]*$+ut[6],Q[1]=ut[1]*W+ut[4]*$+ut[7],Q}function wt(ut){var pt=[],Q=ut[0],W=ut[1],$=ut[2],at=ut[3],yt=ut[4],lt=ut[5],G=ut[6],H=ut[7],X=ut[8],O=X*yt-lt*H,F=-X*at+lt*G,ht=H*at-yt*G,st=Q*O+W*F+$*ht;return st?(st=1/st,pt[0]=O*st,pt[1]=(-X*W+$*H)*st,pt[2]=(lt*W-$*yt)*st,pt[3]=F*st,pt[4]=(X*Q-$*G)*st,pt[5]=(-lt*Q+$*at)*st,pt[6]=ht*st,pt[7]=(-H*Q+W*G)*st,pt[8]=(yt*Q-W*at)*st,pt):null}},67052:function(nr,St,U){"use strict";U.d(St,{L:function(){return E}});var j=null;function E(){if(!j){var wt=document.createElement("canvas");wt.width=1,wt.height=1,j=wt.getContext("2d")}return j}},47575:function(nr,St,U){"use strict";U.r(St),U.d(St,{catmullRomToBezier:function(){return Q},fillPath:function(){return zt},fillPathByDiff:function(){return l},formatPath:function(){return xt},intersection:function(){return Kt},parsePathArray:function(){return X},parsePathString:function(){return pt},pathToAbsolute:function(){return $},pathToCurve:function(){return G},rectPath:function(){return A}});var j=U(49242),E=`
  2. \v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029`,wt=new RegExp("([a-z])["+E+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+E+"]*,?["+E+"]*)+)","ig"),ut=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+E+"]*,?["+E+"]*","ig"),pt=function(x){if(!x)return null;if((0,j.isArray)(x))return x;var b={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},I=[];return String(x).replace(wt,function(S,V,ct){var C=[],f=V.toLowerCase();if(ct.replace(ut,function(r,t){t&&C.push(+t)}),f==="m"&&C.length>2&&(I.push([V].concat(C.splice(0,2))),f="l",V=V==="m"?"l":"L"),f==="o"&&C.length===1&&I.push([V,C[0]]),f==="r")I.push([V].concat(C));else for(;C.length>=b[f]&&(I.push([V].concat(C.splice(0,b[f]))),!!b[f]););return x}),I},Q=function(x,b){for(var I=[],S=0,V=x.length;V-2*!b>S;S+=2){var ct=[{x:+x[S-2],y:+x[S-1]},{x:+x[S],y:+x[S+1]},{x:+x[S+2],y:+x[S+3]},{x:+x[S+4],y:+x[S+5]}];b?S?V-4===S?ct[3]={x:+x[0],y:+x[1]}:V-2===S&&(ct[2]={x:+x[0],y:+x[1]},ct[3]={x:+x[2],y:+x[3]}):ct[0]={x:+x[V-2],y:+x[V-1]}:V-4===S?ct[3]=ct[2]:S||(ct[0]={x:+x[S],y:+x[S+1]}),I.push(["C",(-ct[0].x+6*ct[1].x+ct[2].x)/6,(-ct[0].y+6*ct[1].y+ct[2].y)/6,(ct[1].x+6*ct[2].x-ct[3].x)/6,(ct[1].y+6*ct[2].y-ct[3].y)/6,ct[2].x,ct[2].y])}return I},W=function(x,b,I,S,V){var ct=[];if(V===null&&S===null&&(S=I),x=+x,b=+b,I=+I,S=+S,V!==null){var C=Math.PI/180,f=x+I*Math.cos(-S*C),r=x+I*Math.cos(-V*C),t=b+I*Math.sin(-S*C),o=b+I*Math.sin(-V*C);ct=[["M",f,t],["A",I,I,0,+(V-S>180),0,r,o]]}else ct=[["M",x,b],["m",0,-S],["a",I,S,0,1,1,0,2*S],["a",I,S,0,1,1,0,-2*S],["z"]];return ct},$=function(x){if(x=pt(x),!x||!x.length)return[["M",0,0]];var b=[],I=0,S=0,V=0,ct=0,C=0,f,r;x[0][0]==="M"&&(I=+x[0][1],S=+x[0][2],V=I,ct=S,C++,b[0]=["M",I,S]);for(var t=x.length===3&&x[0][0]==="M"&&x[1][0].toUpperCase()==="R"&&x[2][0].toUpperCase()==="Z",o=void 0,n=void 0,e=C,c=x.length;e<c;e++){if(b.push(o=[]),n=x[e],f=n[0],f!==f.toUpperCase())switch(o[0]=f.toUpperCase(),o[0]){case"A":o[1]=n[1],o[2]=n[2],o[3]=n[3],o[4]=n[4],o[5]=n[5],o[6]=+n[6]+I,o[7]=+n[7]+S;break;case"V":o[1]=+n[1]+S;break;case"H":o[1]=+n[1]+I;break;case"R":r=[I,S].concat(n.slice(1));for(var v=2,_=r.length;v<_;v++)r[v]=+r[v]+I,r[++v]=+r[v]+S;b.pop(),b=b.concat(Q(r,t));break;case"O":b.pop(),r=W(I,S,n[1],n[2]),r.push(r[0]),b=b.concat(r);break;case"U":b.pop(),b=b.concat(W(I,S,n[1],n[2],n[3])),o=["U"].concat(b[b.length-1].slice(-2));break;case"M":V=+n[1]+I,ct=+n[2]+S;break;default:for(var v=1,_=n.length;v<_;v++)o[v]=+n[v]+(v%2?I:S)}else if(f==="R")r=[I,S].concat(n.slice(1)),b.pop(),b=b.concat(Q(r,t)),o=["R"].concat(n.slice(-2));else if(f==="O")b.pop(),r=W(I,S,n[1],n[2]),r.push(r[0]),b=b.concat(r);else if(f==="U")b.pop(),b=b.concat(W(I,S,n[1],n[2],n[3])),o=["U"].concat(b[b.length-1].slice(-2));else for(var w=0,d=n.length;w<d;w++)o[w]=n[w];if(f=f.toUpperCase(),f!=="O")switch(o[0]){case"Z":I=+V,S=+ct;break;case"H":I=o[1];break;case"V":S=o[1];break;case"M":V=o[o.length-2],ct=o[o.length-1];break;default:I=o[o.length-2],S=o[o.length-1]}}return b},at=function(x,b,I,S){return[x,b,I,S,I,S]},yt=function(x,b,I,S,V,ct){var C=1/3,f=2/3;return[C*x+f*I,C*b+f*S,C*V+f*I,C*ct+f*S,V,ct]},lt=function(x,b,I,S,V,ct,C,f,r,t){I===S&&(I+=1);var o=Math.PI*120/180,n=Math.PI/180*(+V||0),e=[],c,v,_,w,d,u=function(er,ar,cr){var dr=er*Math.cos(cr)-ar*Math.sin(cr),lr=er*Math.sin(cr)+ar*Math.cos(cr);return{x:dr,y:lr}};if(t)v=t[0],_=t[1],w=t[2],d=t[3];else{c=u(x,b,-n),x=c.x,b=c.y,c=u(f,r,-n),f=c.x,r=c.y,x===f&&b===r&&(f+=1,r+=1);var y=(x-f)/2,M=(b-r)/2,i=y*y/(I*I)+M*M/(S*S);i>1&&(i=Math.sqrt(i),I=i*I,S=i*S);var s=I*I,h=S*S,B=(ct===C?-1:1)*Math.sqrt(Math.abs((s*h-s*M*M-h*y*y)/(s*M*M+h*y*y)));w=B*I*M/S+(x+f)/2,d=B*-S*y/I+(b+r)/2,v=Math.asin(((b-d)/S).toFixed(9)),_=Math.asin(((r-d)/S).toFixed(9)),v=x<w?Math.PI-v:v,_=f<w?Math.PI-_:_,v<0&&(v=Math.PI*2+v),_<0&&(_=Math.PI*2+_),C&&v>_&&(v=v-Math.PI*2),!C&&_>v&&(_=_-Math.PI*2)}var K=_-v;if(Math.abs(K)>o){var it=_,ot=f,gt=r;_=v+o*(C&&_>v?1:-1),f=w+I*Math.cos(_),r=d+S*Math.sin(_),e=lt(f,r,I,S,V,0,C,ot,gt,[_,it,w,d])}K=_-v;var vt=Math.cos(v),Pt=Math.sin(v),Ct=Math.cos(_),Yt=Math.sin(_),Zt=Math.tan(K/4),Tt=4/3*I*Zt,Xt=4/3*S*Zt,Wt=[x,b],Vt=[x+Tt*Pt,b-Xt*vt],Nt=[f+Tt*Yt,r-Xt*Ct],Gt=[f,r];if(Vt[0]=2*Wt[0]-Vt[0],Vt[1]=2*Wt[1]-Vt[1],t)return[Vt,Nt,Gt].concat(e);e=[Vt,Nt,Gt].concat(e).join().split(",");for(var Jt=[],qt=0,jt=e.length;qt<jt;qt++)Jt[qt]=qt%2?u(e[qt-1],e[qt],n).y:u(e[qt],e[qt+1],n).x;return Jt},G=function(x,b){var I=$(x),S=b&&$(b),V={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},ct={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},C=[],f=[],r="",t="",o,n=function(y,M,i){var s,h;if(!y)return["C",M.x,M.y,M.x,M.y,M.x,M.y];switch(!(y[0]in{T:1,Q:1})&&(M.qx=M.qy=null),y[0]){case"M":M.X=y[1],M.Y=y[2];break;case"A":y=["C"].concat(lt.apply(0,[M.x,M.y].concat(y.slice(1))));break;case"S":i==="C"||i==="S"?(s=M.x*2-M.bx,h=M.y*2-M.by):(s=M.x,h=M.y),y=["C",s,h].concat(y.slice(1));break;case"T":i==="Q"||i==="T"?(M.qx=M.x*2-M.qx,M.qy=M.y*2-M.qy):(M.qx=M.x,M.qy=M.y),y=["C"].concat(yt(M.x,M.y,M.qx,M.qy,y[1],y[2]));break;case"Q":M.qx=y[1],M.qy=y[2],y=["C"].concat(yt(M.x,M.y,y[1],y[2],y[3],y[4]));break;case"L":y=["C"].concat(at(M.x,M.y,y[1],y[2]));break;case"H":y=["C"].concat(at(M.x,M.y,y[1],M.y));break;case"V":y=["C"].concat(at(M.x,M.y,M.x,y[1]));break;case"Z":y=["C"].concat(at(M.x,M.y,M.X,M.Y));break;default:break}return y},e=function(y,M){if(y[M].length>7){y[M].shift();for(var i=y[M];i.length;)C[M]="A",S&&(f[M]="A"),y.splice(M++,0,["C"].concat(i.splice(0,6)));y.splice(M,1),o=Math.max(I.length,S&&S.length||0)}},c=function(y,M,i,s,h){y&&M&&y[h][0]==="M"&&M[h][0]!=="M"&&(M.splice(h,0,["M",s.x,s.y]),i.bx=0,i.by=0,i.x=y[h][1],i.y=y[h][2],o=Math.max(I.length,S&&S.length||0))};o=Math.max(I.length,S&&S.length||0);for(var v=0;v<o;v++){I[v]&&(r=I[v][0]),r!=="C"&&(C[v]=r,v&&(t=C[v-1])),I[v]=n(I[v],V,t),C[v]!=="A"&&r==="C"&&(C[v]="C"),e(I,v),S&&(S[v]&&(r=S[v][0]),r!=="C"&&(f[v]=r,v&&(t=f[v-1])),S[v]=n(S[v],ct,t),f[v]!=="A"&&r==="C"&&(f[v]="C"),e(S,v)),c(I,S,V,ct,v),c(S,I,ct,V,v);var _=I[v],w=S&&S[v],d=_.length,u=S&&w.length;V.x=_[d-2],V.y=_[d-1],V.bx=parseFloat(_[d-4])||V.x,V.by=parseFloat(_[d-3])||V.y,ct.bx=S&&(parseFloat(w[u-4])||ct.x),ct.by=S&&(parseFloat(w[u-3])||ct.y),ct.x=S&&w[u-2],ct.y=S&&w[u-1]}return S?[I,S]:I},H=/,?([a-z]),?/gi,X=function(x){return x.join(",").replace(H,"$1")},O=function(x,b,I,S,V){var ct=-3*b+9*I-9*S+3*V,C=x*ct+6*b-12*I+6*S;return x*C-3*b+3*I},F=function(x,b,I,S,V,ct,C,f,r){r===null&&(r=1),r=r>1?1:r<0?0:r;for(var t=r/2,o=12,n=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],e=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],c=0,v=0;v<o;v++){var _=t*n[v]+t,w=O(_,x,I,V,C),d=O(_,b,S,ct,f),u=w*w+d*d;c+=e[v]*Math.sqrt(u)}return t*c},ht=function(x,b,I,S,V,ct,C,f){for(var r=[],t=[[],[]],o,n,e,c,v=0;v<2;++v){if(v===0?(n=6*x-12*I+6*V,o=-3*x+9*I-9*V+3*C,e=3*I-3*x):(n=6*b-12*S+6*ct,o=-3*b+9*S-9*ct+3*f,e=3*S-3*b),Math.abs(o)<1e-12){if(Math.abs(n)<1e-12)continue;c=-e/n,c>0&&c<1&&r.push(c);continue}var _=n*n-4*e*o,w=Math.sqrt(_);if(!(_<0)){var d=(-n+w)/(2*o);d>0&&d<1&&r.push(d);var u=(-n-w)/(2*o);u>0&&u<1&&r.push(u)}}for(var y=r.length,M=y,i;y--;)c=r[y],i=1-c,t[0][y]=i*i*i*x+3*i*i*c*I+3*i*c*c*V+c*c*c*C,t[1][y]=i*i*i*b+3*i*i*c*S+3*i*c*c*ct+c*c*c*f;return t[0][M]=x,t[1][M]=b,t[0][M+1]=C,t[1][M+1]=f,t[0].length=t[1].length=M+2,{min:{x:Math.min.apply(0,t[0]),y:Math.min.apply(0,t[1])},max:{x:Math.max.apply(0,t[0]),y:Math.max.apply(0,t[1])}}},st=function(x,b,I,S,V,ct,C,f){if(!(Math.max(x,I)<Math.min(V,C)||Math.min(x,I)>Math.max(V,C)||Math.max(b,S)<Math.min(ct,f)||Math.min(b,S)>Math.max(ct,f))){var r=(x*S-b*I)*(V-C)-(x-I)*(V*f-ct*C),t=(x*S-b*I)*(ct-f)-(b-S)*(V*f-ct*C),o=(x-I)*(ct-f)-(b-S)*(V-C);if(!!o){var n=r/o,e=t/o,c=+n.toFixed(2),v=+e.toFixed(2);if(!(c<+Math.min(x,I).toFixed(2)||c>+Math.max(x,I).toFixed(2)||c<+Math.min(V,C).toFixed(2)||c>+Math.max(V,C).toFixed(2)||v<+Math.min(b,S).toFixed(2)||v>+Math.max(b,S).toFixed(2)||v<+Math.min(ct,f).toFixed(2)||v>+Math.max(ct,f).toFixed(2)))return{x:n,y:e}}}},Y=function(x,b,I){return b>=x.x&&b<=x.x+x.width&&I>=x.y&&I<=x.y+x.height},A=function(x,b,I,S,V){if(V)return[["M",+x+ +V,b],["l",I-V*2,0],["a",V,V,0,0,1,V,V],["l",0,S-V*2],["a",V,V,0,0,1,-V,V],["l",V*2-I,0],["a",V,V,0,0,1,-V,-V],["l",0,V*2-S],["a",V,V,0,0,1,V,-V],["z"]];var ct=[["M",x,b],["l",I,0],["l",0,S],["l",-I,0],["z"]];return ct.parsePathArray=X,ct},P=function(x,b,I,S){return x===null&&(x=b=I=S=0),b===null&&(b=x.y,I=x.width,S=x.height,x=x.x),{x,y:b,width:I,w:I,height:S,h:S,x2:x+I,y2:b+S,cx:x+I/2,cy:b+S/2,r1:Math.min(I,S)/2,r2:Math.max(I,S)/2,r0:Math.sqrt(I*I+S*S)/2,path:A(x,b,I,S),vb:[x,b,I,S].join(" ")}},z=function(x,b){return x=P(x),b=P(b),Y(b,x.x,x.y)||Y(b,x.x2,x.y)||Y(b,x.x,x.y2)||Y(b,x.x2,x.y2)||Y(x,b.x,b.y)||Y(x,b.x2,b.y)||Y(x,b.x,b.y2)||Y(x,b.x2,b.y2)||(x.x<b.x2&&x.x>b.x||b.x<x.x2&&b.x>x.x)&&(x.y<b.y2&&x.y>b.y||b.y<x.y2&&b.y>x.y)},Z=function(x,b,I,S,V,ct,C,f){(0,j.isArray)(x)||(x=[x,b,I,S,V,ct,C,f]);var r=ht.apply(null,x);return P(r.min.x,r.min.y,r.max.x-r.min.x,r.max.y-r.min.y)},dt=function(x,b,I,S,V,ct,C,f,r){var t=1-r,o=Math.pow(t,3),n=Math.pow(t,2),e=r*r,c=e*r,v=o*x+n*3*r*I+t*3*r*r*V+c*C,_=o*b+n*3*r*S+t*3*r*r*ct+c*f,w=x+2*r*(I-x)+e*(V-2*I+x),d=b+2*r*(S-b)+e*(ct-2*S+b),u=I+2*r*(V-I)+e*(C-2*V+I),y=S+2*r*(ct-S)+e*(f-2*ct+S),M=t*x+r*I,i=t*b+r*S,s=t*V+r*C,h=t*ct+r*f,B=90-Math.atan2(w-u,d-y)*180/Math.PI;return{x:v,y:_,m:{x:w,y:d},n:{x:u,y},start:{x:M,y:i},end:{x:s,y:h},alpha:B}},Et=function(x,b,I){var S=Z(x),V=Z(b);if(!z(S,V))return I?0:[];for(var ct=F.apply(0,x),C=F.apply(0,b),f=~~(ct/8),r=~~(C/8),t=[],o=[],n={},e=I?0:[],c=0;c<f+1;c++){var v=dt.apply(0,x.concat(c/f));t.push({x:v.x,y:v.y,t:c/f})}for(var c=0;c<r+1;c++){var v=dt.apply(0,b.concat(c/r));o.push({x:v.x,y:v.y,t:c/r})}for(var c=0;c<f;c++)for(var _=0;_<r;_++){var w=t[c],d=t[c+1],u=o[_],y=o[_+1],M=Math.abs(d.x-w.x)<.001?"y":"x",i=Math.abs(y.x-u.x)<.001?"y":"x",s=st(w.x,w.y,d.x,d.y,u.x,u.y,y.x,y.y);if(s){if(n[s.x.toFixed(4)]===s.y.toFixed(4))continue;n[s.x.toFixed(4)]=s.y.toFixed(4);var h=w.t+Math.abs((s[M]-w[M])/(d[M]-w[M]))*(d.t-w.t),B=u.t+Math.abs((s[i]-u[i])/(y[i]-u[i]))*(y.t-u.t);h>=0&&h<=1&&B>=0&&B<=1&&(I?e+=1:e.push({x:s.x,y:s.y,t1:h,t2:B}))}}return e},Ot=function(x,b,I){x=G(x),b=G(b);for(var S,V,ct,C,f,r,t,o,n,e,c=I?0:[],v=0,_=x.length;v<_;v++){var w=x[v];if(w[0]==="M")S=f=w[1],V=r=w[2];else{w[0]==="C"?(n=[S,V].concat(w.slice(1)),S=n[6],V=n[7]):(n=[S,V,S,V,f,r,f,r],S=f,V=r);for(var d=0,u=b.length;d<u;d++){var y=b[d];if(y[0]==="M")ct=t=y[1],C=o=y[2];else{y[0]==="C"?(e=[ct,C].concat(y.slice(1)),ct=e[6],C=e[7]):(e=[ct,C,ct,C,t,o,t,o],ct=t,C=o);var M=Et(n,e,I);if(I)c+=M;else{for(var i=0,s=M.length;i<s;i++)M[i].segment1=v,M[i].segment2=d,M[i].bez1=n,M[i].bez2=e;c=c.concat(M)}}}}}return c},Kt=function(x,b){return Ot(x,b)};function Ht(x,b){var I=[],S=[];function V(ct,C){if(ct.length===1)I.push(ct[0]),S.push(ct[0]);else{for(var f=[],r=0;r<ct.length-1;r++)r===0&&I.push(ct[0]),r===ct.length-2&&S.push(ct[r+1]),f[r]=[(1-C)*ct[r][0]+C*ct[r+1][0],(1-C)*ct[r][1]+C*ct[r+1][1]];V(f,C)}}return x.length&&V(x,b),{left:I,right:S.reverse()}}function Bt(x,b,I){var S=[[x[1],x[2]]];I=I||2;var V=[];b[0]==="A"?(S.push(b[6]),S.push(b[7])):b[0]==="C"?(S.push([b[1],b[2]]),S.push([b[3],b[4]]),S.push([b[5],b[6]])):b[0]==="S"||b[0]==="Q"?(S.push([b[1],b[2]]),S.push([b[3],b[4]])):S.push([b[1],b[2]]);for(var ct=S,C=1/I,f=0;f<I-1;f++){var r=C/(1-C*f),t=Ht(ct,r);V.push(t.left),ct=t.right}V.push(ct);var o=V.map(function(n){var e=[];return n.length===4&&(e.push("C"),e=e.concat(n[2])),n.length>=3&&(n.length===3&&e.push("Q"),e=e.concat(n[1])),n.length===2&&e.push("L"),e=e.concat(n[n.length-1]),e});return o}var Lt=function(x,b,I){if(I===1)return[[].concat(x)];var S=[];if(b[0]==="L"||b[0]==="C"||b[0]==="Q")S=S.concat(Bt(x,b,I));else{var V=[].concat(x);V[0]==="M"&&(V[0]="L");for(var ct=0;ct<=I-1;ct++)S.push(V)}return S},zt=function(x,b){if(x.length===1)return x;var I=x.length-1,S=b.length-1,V=I/S,ct=[];if(x.length===1&&x[0][0]==="M"){for(var C=0;C<S-I;C++)x.push(x[0]);return x}for(var C=0;C<S;C++){var f=Math.floor(V*C);ct[f]=(ct[f]||0)+1}var r=ct.reduce(function(t,o,n){return n===I?t.concat(x[I]):t.concat(Lt(x[n],x[n+1],o))},[]);return r.unshift(x[0]),(b[S]==="Z"||b[S]==="z")&&r.push("Z"),r},ft=function(x,b){if(x.length!==b.length)return!1;var I=!0;return(0,j.each)(x,function(S,V){if(S!==b[V])return I=!1,!1}),I};function rt(x,b,I){var S=null,V=I;return b<V&&(V=b,S="add"),x<V&&(V=x,S="del"),{type:S,min:V}}var a=function(x,b){var I=x.length,S=b.length,V,ct,C=0;if(I===0||S===0)return null;for(var f=[],r=0;r<=I;r++)f[r]=[],f[r][0]={min:r};for(var t=0;t<=S;t++)f[0][t]={min:t};for(var r=1;r<=I;r++){V=x[r-1];for(var t=1;t<=S;t++){ct=b[t-1],ft(V,ct)?C=0:C=1;var o=f[r-1][t].min+1,n=f[r][t-1].min+1,e=f[r-1][t-1].min+C;f[r][t]=rt(o,n,e)}}return f},l=function(x,b){var I=a(x,b),S=x.length,V=b.length,ct=[],C=1,f=1;if(I[S][V].min!==S){for(var r=1;r<=S;r++){var t=I[r][r].min;f=r;for(var o=C;o<=V;o++)I[r][o].min<t&&(t=I[r][o].min,f=o);C=f,I[r][C].type&&ct.push({index:r-1,type:I[r][C].type})}for(var r=ct.length-1;r>=0;r--)C=ct[r].index,ct[r].type==="add"?x.splice(C,0,[].concat(x[C])):x.splice(C,1)}S=x.length;var n=V-S;if(S<V)for(var r=0;r<n;r++)x[S-1][0]==="z"||x[S-1][0]==="Z"?x.splice(S-2,0,x[S-2]):x.push(x[S-1]),S+=1;return x};function T(x,b,I){for(var S=[].concat(x),V,ct=1/(I+1),C=q(b)[0],f=1;f<=I;f++)ct*=f,V=Math.floor(x.length*ct),V===0?S.unshift([C[0]*ct+x[V][0]*(1-ct),C[1]*ct+x[V][1]*(1-ct)]):S.splice(V,0,[C[0]*ct+x[V][0]*(1-ct),C[1]*ct+x[V][1]*(1-ct)]);return S}function q(x){var b=[];switch(x[0]){case"M":b.push([x[1],x[2]]);break;case"L":b.push([x[1],x[2]]);break;case"A":b.push([x[6],x[7]]);break;case"Q":b.push([x[3],x[4]]),b.push([x[1],x[2]]);break;case"T":b.push([x[1],x[2]]);break;case"C":b.push([x[5],x[6]]),b.push([x[1],x[2]]),b.push([x[3],x[4]]);break;case"S":b.push([x[3],x[4]]),b.push([x[1],x[2]]);break;case"H":b.push([x[1],x[1]]);break;case"V":b.push([x[1],x[1]]);break;default:}return b}var xt=function(x,b){if(x.length<=1)return x;for(var I,S=0;S<b.length;S++)if(x[S][0]!==b[S][0])switch(I=q(x[S]),b[S][0]){case"M":x[S]=["M"].concat(I[0]);break;case"L":x[S]=["L"].concat(I[0]);break;case"A":x[S]=[].concat(b[S]),x[S][6]=I[0][0],x[S][7]=I[0][1];break;case"Q":if(I.length<2)if(S>0)I=T(I,x[S-1],1);else{x[S]=b[S];break}x[S]=["Q"].concat(I.reduce(function(V,ct){return V.concat(ct)},[]));break;case"T":x[S]=["T"].concat(I[0]);break;case"C":if(I.length<3)if(S>0)I=T(I,x[S-1],2);else{x[S]=b[S];break}x[S]=["C"].concat(I.reduce(function(V,ct){return V.concat(ct)},[]));break;case"S":if(I.length<2)if(S>0)I=T(I,x[S-1],1);else{x[S]=b[S];break}x[S]=["S"].concat(I.reduce(function(V,ct){return V.concat(ct)},[]));break;default:x[S]=b[S]}return x}},8723:function(nr,St,U){"use strict";U.d(St,{FE:function(){return wt},mY:function(){return pt},$O:function(){return Q}});var j=U(77341),E=U(67052);function wt(W,$,at){var yt=1;if((0,j.HD)(W)&&(yt=W.split(`
  3. `).length),yt>1){var lt=ut($,at);return $*yt+lt*(yt-1)}return $}function ut(W,$){return $?$-W:W*.14}function pt(W,$){var at=(0,E.L)(),yt=0;if((0,j.kK)(W)||W==="")return yt;if(at.save(),at.font=$,(0,j.HD)(W)&&W.includes(`
  4. `)){var lt=W.split(`
  5. `);(0,j.S6)(lt,function(G){var H=at.measureText(G).width;yt<H&&(yt=H)})}else yt=at.measureText(W).width;return at.restore(),yt}function Q(W){var $=W.fontSize,at=W.fontFamily,yt=W.fontWeight,lt=W.fontStyle,G=W.fontVariant;return[lt,G,yt,$+"px",at].join(" ").trim()}},77341:function(nr,St,U){"use strict";U.d(St,{As:function(){return E},jU:function(){return wt},kK:function(){return j.isNil},mf:function(){return j.isFunction},HD:function(){return j.isString},Kn:function(){return j.isObject},CD:function(){return j.mix},S6:function(){return j.each},jC:function(){return j.upperFirst},UY:function(){return ut},pP:function(){return pt}});var j=U(49242);function E(Q,W){var $=Q.indexOf(W);$!==-1&&Q.splice($,1)}var wt=typeof window!="undefined"&&typeof window.document!="undefined";function ut(Q,W){if(Q.isCanvas())return!0;for(var $=W.getParent(),at=!1;$;){if($===Q){at=!0;break}$=$.getParent()}return at}function pt(Q){return Q.cfg.visible&&Q.cfg.capture}},86325:function(nr,St,U){"use strict";U.d(St,{Z:function(){return G}});var j=U(70655),E=U(98190);function wt(H,X){if(X){var O=(0,E.invert)(X);return(0,E.multiplyVec2)(O,H)}return H}function ut(H,X,O){var F=H.getTotalMatrix();if(F){var ht=wt([X,O,1],F),st=ht[0],Y=ht[1];return[st,Y]}return[X,O]}function pt(H,X,O){if(H.isCanvas&&H.isCanvas())return!0;if(!(0,E.isAllowCapture)(H)||H.cfg.isInView===!1)return!1;if(H.cfg.clipShape){var F=ut(H,X,O),ht=F[0],st=F[1];if(H.isClipped(ht,st))return!1}var Y=H.cfg.cacheCanvasBBox||H.getCanvasBBox();return X>=Y.minX&&X<=Y.maxX&&O>=Y.minY&&O<=Y.maxY}function Q(H,X,O){if(!pt(H,X,O))return null;for(var F=null,ht=H.getChildren(),st=ht.length,Y=st-1;Y>=0;Y--){var A=ht[Y];if(A.isGroup())F=Q(A,X,O);else if(pt(A,X,O)){var P=A,z=ut(A,X,O),Z=z[0],dt=z[1];P.isInShape(Z,dt)&&(F=A)}if(F)break}return F}var W=U(5501),$=U(25252),at=U(92793),yt=U(23645),lt=function(H){(0,j.__extends)(X,H);function X(){return H!==null&&H.apply(this,arguments)||this}return X.prototype.getDefaultCfg=function(){var O=H.prototype.getDefaultCfg.call(this);return O.renderer="canvas",O.autoDraw=!0,O.localRefresh=!0,O.refreshElements=[],O.clipView=!0,O.quickHit=!1,O},X.prototype.onCanvasChange=function(O){(O==="attr"||O==="sort"||O==="changeSize")&&(this.set("refreshElements",[this]),this.draw())},X.prototype.getShapeBase=function(){return W},X.prototype.getGroupBase=function(){return $.Z},X.prototype.getPixelRatio=function(){var O=this.get("pixelRatio")||(0,at.mX)();return O>=1?Math.ceil(O):1},X.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},X.prototype.createDom=function(){var O=document.createElement("canvas"),F=O.getContext("2d");return this.set("context",F),O},X.prototype.setDOMSize=function(O,F){H.prototype.setDOMSize.call(this,O,F);var ht=this.get("context"),st=this.get("el"),Y=this.getPixelRatio();st.width=Y*O,st.height=Y*F,Y>1&&ht.scale(Y,Y)},X.prototype.clear=function(){H.prototype.clear.call(this),this._clearFrame();var O=this.get("context"),F=this.get("el");O.clearRect(0,0,F.width,F.height)},X.prototype.getShape=function(O,F){var ht;return this.get("quickHit")?ht=Q(this,O,F):ht=H.prototype.getShape.call(this,O,F,null),ht},X.prototype._getRefreshRegion=function(){var O=this.get("refreshElements"),F=this.getViewRange(),ht;if(O.length&&O[0]===this)ht=F;else if(ht=(0,yt.tJ)(O),ht){ht.minX=Math.floor(ht.minX),ht.minY=Math.floor(ht.minY),ht.maxX=Math.ceil(ht.maxX),ht.maxY=Math.ceil(ht.maxY),ht.maxY+=1;var st=this.get("clipView");st&&(ht=(0,yt.T2)(ht,F))}return ht},X.prototype.refreshElement=function(O){var F=this.get("refreshElements");F.push(O)},X.prototype._clearFrame=function(){var O=this.get("drawFrame");O&&((0,at.VS)(O),this.set("drawFrame",null),this.set("refreshElements",[]))},X.prototype.draw=function(){var O=this.get("drawFrame");this.get("autoDraw")&&O||this._startDraw()},X.prototype._drawAll=function(){var O=this.get("context"),F=this.get("el"),ht=this.getChildren();O.clearRect(0,0,F.width,F.height),(0,yt.DE)(O,this),(0,yt.NX)(O,ht),this.set("refreshElements",[])},X.prototype._drawRegion=function(){var O=this.get("context"),F=this.get("refreshElements"),ht=this.getChildren(),st=this._getRefreshRegion();st?(O.clearRect(st.minX,st.minY,st.maxX-st.minX,st.maxY-st.minY),O.save(),O.beginPath(),O.rect(st.minX,st.minY,st.maxX-st.minX,st.maxY-st.minY),O.clip(),(0,yt.DE)(O,this),(0,yt.kU)(this,ht,st),(0,yt.NX)(O,ht,st),O.restore()):F.length&&(0,yt.sT)(F),(0,at.S6)(F,function(Y){Y.get("hasChanged")&&Y.set("hasChanged",!1)}),this.set("refreshElements",[])},X.prototype._startDraw=function(){var O=this,F=this.get("drawFrame");F||(F=(0,at.U7)(function(){O.get("localRefresh")?O._drawRegion():O._drawAll(),O.set("drawFrame",null)}),this.set("drawFrame",F))},X.prototype.skipDraw=function(){},X.prototype.removeDom=function(){var O=this.get("el");O.width=0,O.height=0,O.parentNode.removeChild(O)},X}(E.AbstractCanvas),G=lt},25252:function(nr,St,U){"use strict";var j=U(70655),E=U(98190),wt=U(5501),ut=U(23645),pt=U(49242),Q=U(92793),W=function($){(0,j.__extends)(at,$);function at(){return $!==null&&$.apply(this,arguments)||this}return at.prototype.onCanvasChange=function(yt){(0,ut.md)(this,yt)},at.prototype.getShapeBase=function(){return wt},at.prototype.getGroupBase=function(){return at},at.prototype._applyClip=function(yt,lt){lt&&(yt.save(),(0,ut.DE)(yt,lt),lt.createPath(yt),yt.restore(),yt.clip(),lt._afterDraw())},at.prototype.cacheCanvasBBox=function(){var yt=this.cfg.children,lt=[],G=[];(0,pt.each)(yt,function(A){var P=A.cfg.cacheCanvasBBox;P&&A.cfg.isInView&&(lt.push(P.minX,P.maxX),G.push(P.minY,P.maxY))});var H=null;if(lt.length){var X=(0,pt.min)(lt),O=(0,pt.max)(lt),F=(0,pt.min)(G),ht=(0,pt.max)(G);H={minX:X,minY:F,x:X,y:F,maxX:O,maxY:ht,width:O-X,height:ht-F};var st=this.cfg.canvas;if(st){var Y=st.getViewRange();this.set("isInView",(0,Q.qb)(H,Y))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",H)},at.prototype.draw=function(yt,lt){var G=this.cfg.children,H=lt?this.cfg.refresh:!0;G.length&&H&&(yt.save(),(0,ut.DE)(yt,this),this._applyClip(yt,this.getClip()),(0,ut.NX)(yt,G,lt),yt.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},at.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},at}(E.AbstractGroup);St.Z=W},70375:function(nr,St,U){"use strict";U.r(St),U.d(St,{Canvas:function(){return pt.Z},Group:function(){return Q.Z},Shape:function(){return j},getArcParams:function(){return W.Z},version:function(){return $}});var j=U(5501),E=U(98190),wt={};for(var ut in E)["default","Canvas","Group","Shape","getArcParams","version"].indexOf(ut)<0&&(wt[ut]=function(at){return E[at]}.bind(0,ut));U.d(St,wt);var pt=U(86325),Q=U(25252),W=U(46068),$="0.5.12"},5501:function(nr,St,U){"use strict";U.r(St),U.d(St,{Base:function(){return $},Circle:function(){return yt},Ellipse:function(){return H},Image:function(){return F},Line:function(){return P},Marker:function(){return Ot},Path:function(){return S},Polygon:function(){return C},Polyline:function(){return r},Rect:function(){return c},Text:function(){return _}});var j={};U.r(j),U.d(j,{Base:function(){return $},Circle:function(){return yt},Ellipse:function(){return H},Image:function(){return F},Line:function(){return P},Marker:function(){return Ot},Path:function(){return S},Polygon:function(){return C},Polyline:function(){return r},Rect:function(){return c},Text:function(){return _}});var E=U(70655),wt=U(98190),ut=U(92793),pt=U(23645),Q=U(25252),W=function(w){(0,E.__extends)(d,w);function d(){return w!==null&&w.apply(this,arguments)||this}return d.prototype.getDefaultAttrs=function(){var u=w.prototype.getDefaultAttrs.call(this);return(0,E.__assign)((0,E.__assign)({},u),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},d.prototype.getShapeBase=function(){return j},d.prototype.getGroupBase=function(){return Q.Z},d.prototype.onCanvasChange=function(u){(0,pt.md)(this,u)},d.prototype.calculateBBox=function(){var u=this.get("type"),y=this.getHitLineWidth(),M=(0,wt.getBBoxMethod)(u),i=M(this),s=y/2,h=i.x-s,B=i.y-s,K=i.x+i.width+s,it=i.y+i.height+s;return{x:h,minX:h,y:B,minY:B,width:i.width+y,height:i.height+y,maxX:K,maxY:it}},d.prototype.isFill=function(){return!!this.attrs.fill||this.isClipShape()},d.prototype.isStroke=function(){return!!this.attrs.stroke},d.prototype._applyClip=function(u,y){y&&(u.save(),(0,pt.DE)(u,y),y.createPath(u),u.restore(),u.clip(),y._afterDraw())},d.prototype.draw=function(u,y){var M=this.cfg.clipShape;if(y){if(this.cfg.refresh===!1){this.set("hasChanged",!1);return}var i=this.getCanvasBBox();if(!(0,ut.qb)(y,i)){this.set("hasChanged",!1),this.cfg.isInView&&this._afterDraw();return}}u.save(),(0,pt.DE)(u,this),this._applyClip(u,M),this.drawPath(u),u.restore(),this._afterDraw()},d.prototype.getCanvasViewBox=function(){var u=this.cfg.canvas;return u?u.getViewRange():null},d.prototype.cacheCanvasBBox=function(){var u=this.getCanvasViewBox();if(u){var y=this.getCanvasBBox(),M=(0,ut.qb)(y,u);this.set("isInView",M),M?this.set("cacheCanvasBBox",y):this.set("cacheCanvasBBox",null)}},d.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set("hasChanged",!1),this.set("refresh",null)},d.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("isInView",null),this.set("hasChanged",!1)},d.prototype.drawPath=function(u){this.createPath(u),this.strokeAndFill(u),this.afterDrawPath(u)},d.prototype.fill=function(u){u.fill()},d.prototype.stroke=function(u){u.stroke()},d.prototype.strokeAndFill=function(u){var y=this.attrs,M=y.lineWidth,i=y.opacity,s=y.strokeOpacity,h=y.fillOpacity;this.isFill()&&(!(0,ut.kK)(h)&&h!==1?(u.globalAlpha=h,this.fill(u),u.globalAlpha=i):this.fill(u)),this.isStroke()&&M>0&&(!(0,ut.kK)(s)&&s!==1&&(u.globalAlpha=s),this.stroke(u)),this.afterDrawPath(u)},d.prototype.createPath=function(u){},d.prototype.afterDrawPath=function(u){},d.prototype.isInShape=function(u,y){var M=this.isStroke(),i=this.isFill(),s=this.getHitLineWidth();return this.isInStrokeOrPath(u,y,M,i,s)},d.prototype.isInStrokeOrPath=function(u,y,M,i,s){return!1},d.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var u=this.attrs;return u.lineWidth+u.lineAppendWidth},d}(wt.AbstractShape),$=W,at=function(w){(0,E.__extends)(d,w);function d(){return w!==null&&w.apply(this,arguments)||this}return d.prototype.getDefaultAttrs=function(){var u=w.prototype.getDefaultAttrs.call(this);return(0,E.__assign)((0,E.__assign)({},u),{x:0,y:0,r:0})},d.prototype.isInStrokeOrPath=function(u,y,M,i,s){var h=this.attr(),B=h.x,K=h.y,it=h.r,ot=s/2,gt=(0,ut.TE)(B,K,u,y);return i&&M?gt<=it+ot:i?gt<=it:M?gt>=it-ot&&gt<=it+ot:!1},d.prototype.createPath=function(u){var y=this.attr(),M=y.x,i=y.y,s=y.r;u.beginPath(),u.arc(M,i,s,0,Math.PI*2,!1),u.closePath()},d}($),yt=at;function lt(w,d,u,y){return w/(u*u)+d/(y*y)}var G=function(w){(0,E.__extends)(d,w);function d(){return w!==null&&w.apply(this,arguments)||this}return d.prototype.getDefaultAttrs=function(){var u=w.prototype.getDefaultAttrs.call(this);return(0,E.__assign)((0,E.__assign)({},u),{x:0,y:0,rx:0,ry:0})},d.prototype.isInStrokeOrPath=function(u,y,M,i,s){var h=this.attr(),B=s/2,K=h.x,it=h.y,ot=h.rx,gt=h.ry,vt=(u-K)*(u-K),Pt=(y-it)*(y-it);return i&&M?lt(vt,Pt,ot+B,gt+B)<=1:i?lt(vt,Pt,ot,gt)<=1:M?lt(vt,Pt,ot-B,gt-B)>=1&&lt(vt,Pt,ot+B,gt+B)<=1:!1},d.prototype.createPath=function(u){var y=this.attr(),M=y.x,i=y.y,s=y.rx,h=y.ry;if(u.beginPath(),u.ellipse)u.ellipse(M,i,s,h,0,0,Math.PI*2,!1);else{var B=s>h?s:h,K=s>h?1:s/h,it=s>h?h/s:1;u.save(),u.translate(M,i),u.scale(K,it),u.arc(0,0,B,0,Math.PI*2),u.restore(),u.closePath()}},d}($),H=G;function X(w){return w instanceof HTMLElement&&(0,ut.HD)(w.nodeName)&&w.nodeName.toUpperCase()==="CANVAS"}var O=function(w){(0,E.__extends)(d,w);function d(){return w!==null&&w.apply(this,arguments)||this}return d.prototype.getDefaultAttrs=function(){var u=w.prototype.getDefaultAttrs.call(this);return(0,E.__assign)((0,E.__assign)({},u),{x:0,y:0,width:0,height:0})},d.prototype.initAttrs=function(u){this._setImage(u.img)},d.prototype.isStroke=function(){return!1},d.prototype.isOnlyHitBox=function(){return!0},d.prototype._afterLoading=function(){if(this.get("toDraw")===!0){var u=this.get("canvas");u?u.draw():this.createPath(this.get("context"))}},d.prototype._setImage=function(u){var y=this,M=this.attrs;if((0,ut.HD)(u)){var i=new Image;i.onload=function(){if(y.destroyed)return!1;y.attr("img",i),y.set("loading",!1),y._afterLoading();var s=y.get("callback");s&&s.call(y)},i.crossOrigin="Anonymous",i.src=u,this.set("loading",!0)}else u instanceof Image?(M.width||(M.width=u.width),M.height||(M.height=u.height)):X(u)&&(M.width||(M.width=Number(u.getAttribute("width"))),M.height||(M.height,Number(u.getAttribute("height"))))},d.prototype.onAttrChange=function(u,y,M){w.prototype.onAttrChange.call(this,u,y,M),u==="img"&&this._setImage(y)},d.prototype.createPath=function(u){if(this.get("loading")){this.set("toDraw",!0),this.set("context",u);return}var y=this.attr(),M=y.x,i=y.y,s=y.width,h=y.height,B=y.sx,K=y.sy,it=y.swidth,ot=y.sheight,gt=y.img;(gt instanceof Image||X(gt))&&(!(0,ut.kK)(B)&&!(0,ut.kK)(K)&&!(0,ut.kK)(it)&&!(0,ut.kK)(ot)?u.drawImage(gt,B,K,it,ot,M,i,s,h):u.drawImage(gt,M,i,s,h))},d}($),F=O,ht=U(89838);function st(w,d,u,y,M,i,s){var h=Math.min(w,u),B=Math.max(w,u),K=Math.min(d,y),it=Math.max(d,y),ot=M/2;return i>=h-ot&&i<=B+ot&&s>=K-ot&&s<=it+ot?ht.x1.pointToLine(w,d,u,y,i,s)<=M/2:!1}var Y=U(55922),A=function(w){(0,E.__extends)(d,w);function d(){return w!==null&&w.apply(this,arguments)||this}return d.prototype.getDefaultAttrs=function(){var u=w.prototype.getDefaultAttrs.call(this);return(0,E.__assign)((0,E.__assign)({},u),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},d.prototype.initAttrs=function(u){this.setArrow()},d.prototype.onAttrChange=function(u,y,M){w.prototype.onAttrChange.call(this,u,y,M),this.setArrow()},d.prototype.setArrow=function(){var u=this.attr(),y=u.x1,M=u.y1,i=u.x2,s=u.y2,h=u.startArrow,B=u.endArrow;h&&Y.Yf(this,u,i,s,y,M),B&&Y.YR(this,u,y,M,i,s)},d.prototype.isInStrokeOrPath=function(u,y,M,i,s){if(!M||!s)return!1;var h=this.attr(),B=h.x1,K=h.y1,it=h.x2,ot=h.y2;return st(B,K,it,ot,s,u,y)},d.prototype.createPath=function(u){var y=this.attr(),M=y.x1,i=y.y1,s=y.x2,h=y.y2,B=y.startArrow,K=y.endArrow,it={dx:0,dy:0},ot={dx:0,dy:0};B&&B.d&&(it=Y.jF(M,i,s,h,y.startArrow.d)),K&&K.d&&(ot=Y.jF(M,i,s,h,y.endArrow.d)),u.beginPath(),u.moveTo(M+it.dx,i+it.dy),u.lineTo(s-ot.dx,h-ot.dy)},d.prototype.afterDrawPath=function(u){var y=this.get("startArrowShape"),M=this.get("endArrowShape");y&&y.draw(u),M&&M.draw(u)},d.prototype.getTotalLength=function(){var u=this.attr(),y=u.x1,M=u.y1,i=u.x2,s=u.y2;return ht.x1.length(y,M,i,s)},d.prototype.getPoint=function(u){var y=this.attr(),M=y.x1,i=y.y1,s=y.x2,h=y.y2;return ht.x1.pointAt(M,i,s,h,u)},d}($),P=A,z=U(49242),Z=U(80389),dt={circle:function(w,d,u){return[["M",w-u,d],["A",u,u,0,1,0,w+u,d],["A",u,u,0,1,0,w-u,d]]},square:function(w,d,u){return[["M",w-u,d-u],["L",w+u,d-u],["L",w+u,d+u],["L",w-u,d+u],["Z"]]},diamond:function(w,d,u){return[["M",w-u,d],["L",w,d-u],["L",w+u,d],["L",w,d+u],["Z"]]},triangle:function(w,d,u){var y=u*Math.sin(1/3*Math.PI);return[["M",w-u,d+y],["L",w,d-y],["L",w+u,d+y],["Z"]]},"triangle-down":function(w,d,u){var y=u*Math.sin(1/3*Math.PI);return[["M",w-u,d-y],["L",w+u,d-y],["L",w,d+y],["Z"]]}},Et=function(w){(0,E.__extends)(d,w);function d(){return w!==null&&w.apply(this,arguments)||this}return d.prototype.initAttrs=function(u){this._resetParamsCache()},d.prototype._resetParamsCache=function(){this.set("paramsCache",{})},d.prototype.onAttrChange=function(u,y,M){w.prototype.onAttrChange.call(this,u,y,M),["symbol","x","y","r","radius"].indexOf(u)!==-1&&this._resetParamsCache()},d.prototype.isOnlyHitBox=function(){return!0},d.prototype._getR=function(u){return(0,z.isNil)(u.r)?u.radius:u.r},d.prototype._getPath=function(){var u=this.attr(),y=u.x,M=u.y,i=u.symbol||"circle",s=this._getR(u),h,B;if((0,ut.mf)(i))h=i,B=h(y,M,s),B=(0,Z.wb)(B);else{if(h=d.Symbols[i],!h)return console.warn(i+" marker is not supported."),null;B=h(y,M,s)}return B},d.prototype.createPath=function(u){var y=this._getPath(),M=this.get("paramsCache");(0,pt.MC)(this,u,{path:y},M)},d.Symbols=dt,d}($),Ot=Et;function Kt(w,d,u){var y=(0,wt.getOffScreenContext)();return w.createPath(y),y.isPointInPath(d,u)}var Ht=1e-6;function Bt(w){return Math.abs(w)<Ht?0:w<0?-1:1}function Lt(w,d,u){return(u[0]-w[0])*(d[1]-w[1])==(d[0]-w[0])*(u[1]-w[1])&&Math.min(w[0],d[0])<=u[0]&&u[0]<=Math.max(w[0],d[0])&&Math.min(w[1],d[1])<=u[1]&&u[1]<=Math.max(w[1],d[1])}function zt(w,d,u){var y=!1,M=w.length;if(M<=2)return!1;for(var i=0;i<M;i++){var s=w[i],h=w[(i+1)%M];if(Lt(s,h,[d,u]))return!0;Bt(s[1]-u)>0!=Bt(h[1]-u)>0&&Bt(d-(u-s[1])*(s[0]-h[0])/(s[1]-h[1])-s[0])<0&&(y=!y)}return y}var ft=U(31506),rt=U(77160);function a(w,d,u,y,M,i,s,h){var B=(Math.atan2(h-d,s-w)+Math.PI*2)%(Math.PI*2);if(B<y||B>M)return!1;var K={x:w+u*Math.cos(B),y:d+u*Math.sin(B)};return(0,ut.TE)(K.x,K.y,s,h)<=i/2}var l=ft.vs;function T(w){for(var d=!1,u=w.length,y=0;y<u;y++){var M=w[y],i=M[0];if(i==="C"||i==="A"||i==="Q"){d=!0;break}}return d}function q(w,d,u,y,M){for(var i=!1,s=d/2,h=0;h<w.length;h++){var B=w[h],K=B.currentPoint,it=B.params,ot=B.prePoint,gt=B.box;if(!(gt&&!(0,ut.mh)(gt.x-s,gt.y-s,gt.width+d,gt.height+d,u,y))){switch(B.command){case"L":case"Z":i=st(ot[0],ot[1],K[0],K[1],d,u,y);break;case"Q":var vt=ht.lD.pointDistance(ot[0],ot[1],it[1],it[2],it[3],it[4],u,y);i=vt<=d/2;break;case"C":var Pt=ht.Ll.pointDistance(ot[0],ot[1],it[1],it[2],it[3],it[4],it[5],it[6],u,y,M);i=Pt<=d/2;break;case"A":var Ct=B.arcParams,Yt=Ct.cx,Zt=Ct.cy,Tt=Ct.rx,Xt=Ct.ry,Wt=Ct.startAngle,Vt=Ct.endAngle,Nt=Ct.xRotation,Gt=[u,y,1],Jt=Tt>Xt?Tt:Xt,qt=Tt>Xt?1:Tt/Xt,jt=Tt>Xt?Xt/Tt:1,er=l(null,[["t",-Yt,-Zt],["r",-Nt],["s",1/qt,1/jt]]);rt.transformMat3(Gt,Gt,er),i=a(0,0,Jt,Wt,Vt,d,Gt[0],Gt[1]);break;default:break}if(i)break}}return i}function xt(w){for(var d=w.length,u=[],y=[],M=[],i=0;i<d;i++){var s=w[i],h=s[0];h==="M"?(M.length&&(y.push(M),M=[]),M.push([s[1],s[2]])):h==="Z"?M.length&&(u.push(M),M=[]):M.push([s[1],s[2]])}return M.length>0&&y.push(M),{polygons:u,polylines:y}}var x=(0,E.__assign)({hasArc:T,extractPolygons:xt,isPointInStroke:q},wt.PathUtil);function b(w,d,u){for(var y=!1,M=0;M<w.length;M++){var i=w[M];if(y=zt(i,d,u),y)break}return y}var I=function(w){(0,E.__extends)(d,w);function d(){return w!==null&&w.apply(this,arguments)||this}return d.prototype.getDefaultAttrs=function(){var u=w.prototype.getDefaultAttrs.call(this);return(0,E.__assign)((0,E.__assign)({},u),{startArrow:!1,endArrow:!1})},d.prototype.initAttrs=function(u){this._setPathArr(u.path),this.setArrow()},d.prototype.onAttrChange=function(u,y,M){w.prototype.onAttrChange.call(this,u,y,M),u==="path"&&this._setPathArr(y),this.setArrow()},d.prototype._setPathArr=function(u){this.attrs.path=(0,Z.wb)(u);var y=x.hasArc(u);this.set("hasArc",y),this.set("paramsCache",{}),this.set("segments",null),this.set("curve",null),this.set("tCache",null),this.set("totalLength",null)},d.prototype.getSegments=function(){var u=this.get("segements");return u||(u=(0,Z.zx)(this.attr("path")),this.set("segments",u)),u},d.prototype.setArrow=function(){var u=this.attr(),y=u.startArrow,M=u.endArrow;if(y){var i=this.getStartTangent();Y.Yf(this,u,i[0][0],i[0][1],i[1][0],i[1][1])}if(M){var i=this.getEndTangent();Y.YR(this,u,i[0][0],i[0][1],i[1][0],i[1][1])}},d.prototype.isInStrokeOrPath=function(u,y,M,i,s){var h=this.getSegments(),B=this.get("hasArc"),K=!1;if(M){var it=this.getTotalLength();K=x.isPointInStroke(h,s,u,y,it)}if(!K&&i)if(B)K=Kt(this,u,y);else{var ot=this.attr("path"),gt=x.extractPolygons(ot);K=b(gt.polygons,u,y)||b(gt.polylines,u,y)}return K},d.prototype.createPath=function(u){var y=this.attr(),M=this.get("paramsCache");(0,pt.MC)(this,u,y,M)},d.prototype.afterDrawPath=function(u){var y=this.get("startArrowShape"),M=this.get("endArrowShape");y&&y.draw(u),M&&M.draw(u)},d.prototype.getTotalLength=function(){var u=this.get("totalLength");return(0,z.isNil)(u)?(this._calculateCurve(),this._setTcache(),this.get("totalLength")):u},d.prototype.getPoint=function(u){var y=this.get("tCache");y||(this._calculateCurve(),this._setTcache(),y=this.get("tCache"));var M,i,s=this.get("curve");if(!y||y.length===0)return s?{x:s[0][1],y:s[0][2]}:null;(0,z.each)(y,function(it,ot){u>=it[0]&&u<=it[1]&&(M=(u-it[0])/(it[1]-it[0]),i=ot)});var h=s[i];if((0,z.isNil)(h)||(0,z.isNil)(i))return null;var B=h.length,K=s[i+1];return ht.Ll.pointAt(h[B-2],h[B-1],K[1],K[2],K[3],K[4],K[5],K[6],M)},d.prototype._calculateCurve=function(){var u=this.attr().path;this.set("curve",x.pathToCurve(u))},d.prototype._setTcache=function(){var u=0,y=0,M=[],i,s,h,B,K=this.get("curve");if(!!K){if((0,z.each)(K,function(it,ot){h=K[ot+1],B=it.length,h&&(u+=ht.Ll.length(it[B-2],it[B-1],h[1],h[2],h[3],h[4],h[5],h[6])||0)}),this.set("totalLength",u),u===0){this.set("tCache",[]);return}(0,z.each)(K,function(it,ot){h=K[ot+1],B=it.length,h&&(i=[],i[0]=y/u,s=ht.Ll.length(it[B-2],it[B-1],h[1],h[2],h[3],h[4],h[5],h[6]),y+=s||0,i[1]=y/u,M.push(i))}),this.set("tCache",M)}},d.prototype.getStartTangent=function(){var u=this.getSegments(),y;if(u.length>1){var M=u[0].currentPoint,i=u[1].currentPoint,s=u[1].startTangent;y=[],s?(y.push([M[0]-s[0],M[1]-s[1]]),y.push([M[0],M[1]])):(y.push([i[0],i[1]]),y.push([M[0],M[1]]))}return y},d.prototype.getEndTangent=function(){var u=this.getSegments(),y=u.length,M;if(y>1){var i=u[y-2].currentPoint,s=u[y-1].currentPoint,h=u[y-1].endTangent;M=[],h?(M.push([s[0]-h[0],s[1]-h[1]]),M.push([s[0],s[1]])):(M.push([i[0],i[1]]),M.push([s[0],s[1]]))}return M},d}($),S=I;function V(w,d,u,y,M){var i=w.length;if(i<2)return!1;for(var s=0;s<i-1;s++){var h=w[s][0],B=w[s][1],K=w[s+1][0],it=w[s+1][1];if(st(h,B,K,it,d,u,y))return!0}if(M){var ot=w[0],gt=w[i-1];if(st(ot[0],ot[1],gt[0],gt[1],d,u,y))return!0}return!1}var ct=function(w){(0,E.__extends)(d,w);function d(){return w!==null&&w.apply(this,arguments)||this}return d.prototype.isInStrokeOrPath=function(u,y,M,i,s){var h=this.attr().points,B=!1;return M&&(B=V(h,s,u,y,!0)),!B&&i&&(B=zt(h,u,y)),B},d.prototype.createPath=function(u){var y=this.attr(),M=y.points;if(!(M.length<2)){u.beginPath();for(var i=0;i<M.length;i++){var s=M[i];i===0?u.moveTo(s[0],s[1]):u.lineTo(s[0],s[1])}u.closePath()}},d}($),C=ct,f=function(w){(0,E.__extends)(d,w);function d(){return w!==null&&w.apply(this,arguments)||this}return d.prototype.getDefaultAttrs=function(){var u=w.prototype.getDefaultAttrs.call(this);return(0,E.__assign)((0,E.__assign)({},u),{startArrow:!1,endArrow:!1})},d.prototype.initAttrs=function(u){this.setArrow()},d.prototype.onAttrChange=function(u,y,M){w.prototype.onAttrChange.call(this,u,y,M),this.setArrow(),["points"].indexOf(u)!==-1&&this._resetCache()},d.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},d.prototype.setArrow=function(){var u=this.attr(),y=this.attrs,M=y.points,i=y.startArrow,s=y.endArrow,h=M.length,B=M[0][0],K=M[0][1],it=M[h-1][0],ot=M[h-1][1];i&&Y.Yf(this,u,M[1][0],M[1][1],B,K),s&&Y.YR(this,u,M[h-2][0],M[h-2][1],it,ot)},d.prototype.isFill=function(){return!1},d.prototype.isInStrokeOrPath=function(u,y,M,i,s){if(!M||!s)return!1;var h=this.attr().points;return V(h,s,u,y,!1)},d.prototype.isStroke=function(){return!0},d.prototype.createPath=function(u){var y=this.attr(),M=y.points,i=y.startArrow,s=y.endArrow,h=M.length;if(!(M.length<2)){var B=M[0][0],K=M[0][1],it=M[h-1][0],ot=M[h-1][1];if(i&&i.d){var gt=Y.jF(B,K,M[1][0],M[1][1],i.d);B+=gt.dx,K+=gt.dy}if(s&&s.d){var gt=Y.jF(M[h-2][0],M[h-2][1],it,ot,s.d);it-=gt.dx,ot-=gt.dy}u.beginPath(),u.moveTo(B,K);for(var vt=0;vt<h-1;vt++){var Pt=M[vt];u.lineTo(Pt[0],Pt[1])}u.lineTo(it,ot)}},d.prototype.afterDrawPath=function(u){var y=this.get("startArrowShape"),M=this.get("endArrowShape");y&&y.draw(u),M&&M.draw(u)},d.prototype.getTotalLength=function(){var u=this.attr().points,y=this.get("totalLength");return(0,z.isNil)(y)?(this.set("totalLength",ht.aH.length(u)),this.get("totalLength")):y},d.prototype.getPoint=function(u){var y=this.attr().points,M=this.get("tCache");M||(this._setTcache(),M=this.get("tCache"));var i,s;return(0,z.each)(M,function(h,B){u>=h[0]&&u<=h[1]&&(i=(u-h[0])/(h[1]-h[0]),s=B)}),ht.x1.pointAt(y[s][0],y[s][1],y[s+1][0],y[s+1][1],i)},d.prototype._setTcache=function(){var u=this.attr().points;if(!(!u||u.length===0)){var y=this.getTotalLength();if(!(y<=0)){var M=0,i=[],s,h;(0,z.each)(u,function(B,K){u[K+1]&&(s=[],s[0]=M/y,h=ht.x1.length(B[0],B[1],u[K+1][0],u[K+1][1]),M+=h,s[1]=M/y,i.push(s))}),this.set("tCache",i)}}},d.prototype.getStartTangent=function(){var u=this.attr().points,y=[];return y.push([u[1][0],u[1][1]]),y.push([u[0][0],u[0][1]]),y},d.prototype.getEndTangent=function(){var u=this.attr().points,y=u.length-1,M=[];return M.push([u[y-1][0],u[y-1][1]]),M.push([u[y][0],u[y][1]]),M},d}($),r=f,t=U(38425);function o(w,d,u,y,M,i,s){var h=M/2;return(0,ut.mh)(w-h,d-h,u,M,i,s)||(0,ut.mh)(w+u-h,d-h,M,y,i,s)||(0,ut.mh)(w+h,d+y-h,u,M,i,s)||(0,ut.mh)(w-h,d+h,M,y,i,s)}function n(w,d,u,y,M,i,s,h){var B=i/2;return st(w+M,d,w+u-M,d,i,s,h)||st(w+u,d+M,w+u,d+y-M,i,s,h)||st(w+u-M,d+y,w+M,d+y,i,s,h)||st(w,d+y-M,w,d+M,i,s,h)||a(w+u-M,d+M,M,1.5*Math.PI,2*Math.PI,i,s,h)||a(w+u-M,d+y-M,M,0,.5*Math.PI,i,s,h)||a(w+M,d+y-M,M,.5*Math.PI,Math.PI,i,s,h)||a(w+M,d+M,M,Math.PI,1.5*Math.PI,i,s,h)}var e=function(w){(0,E.__extends)(d,w);function d(){return w!==null&&w.apply(this,arguments)||this}return d.prototype.getDefaultAttrs=function(){var u=w.prototype.getDefaultAttrs.call(this);return(0,E.__assign)((0,E.__assign)({},u),{x:0,y:0,width:0,height:0,radius:0})},d.prototype.isInStrokeOrPath=function(u,y,M,i,s){var h=this.attr(),B=h.x,K=h.y,it=h.width,ot=h.height,gt=h.radius;if(gt){var Pt=!1;return M&&(Pt=n(B,K,it,ot,gt,s,u,y)),!Pt&&i&&(Pt=Kt(this,u,y)),Pt}else{var vt=s/2;if(i&&M)return(0,ut.mh)(B-vt,K-vt,it+vt,ot+vt,u,y);if(i)return(0,ut.mh)(B,K,it,ot,u,y);if(M)return o(B,K,it,ot,s,u,y)}},d.prototype.createPath=function(u){var y=this.attr(),M=y.x,i=y.y,s=y.width,h=y.height,B=y.radius;if(u.beginPath(),B===0)u.rect(M,i,s,h);else{var K=(0,t.Fy)(B),it=K[0],ot=K[1],gt=K[2],vt=K[3];u.moveTo(M+it,i),u.lineTo(M+s-ot,i),ot!==0&&u.arc(M+s-ot,i+ot,ot,-Math.PI/2,0),u.lineTo(M+s,i+h-gt),gt!==0&&u.arc(M+s-gt,i+h-gt,gt,0,Math.PI/2),u.lineTo(M+vt,i+h),vt!==0&&u.arc(M+vt,i+h-vt,vt,Math.PI/2,Math.PI),u.lineTo(M,i+it),it!==0&&u.arc(M+it,i+it,it,Math.PI,Math.PI*1.5),u.closePath()}},d}($),c=e,v=function(w){(0,E.__extends)(d,w);function d(){return w!==null&&w.apply(this,arguments)||this}return d.prototype.getDefaultAttrs=function(){var u=w.prototype.getDefaultAttrs.call(this);return(0,E.__assign)((0,E.__assign)({},u),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},d.prototype.isOnlyHitBox=function(){return!0},d.prototype.initAttrs=function(u){this._assembleFont(),u.text&&this._setText(u.text)},d.prototype._assembleFont=function(){var u=this.attrs;u.font=(0,wt.assembleFont)(u)},d.prototype._setText=function(u){var y=null;(0,ut.HD)(u)&&u.indexOf(`
  6. `)!==-1&&(y=u.split(`
  7. `)),this.set("textArr",y)},d.prototype.onAttrChange=function(u,y,M){w.prototype.onAttrChange.call(this,u,y,M),u.startsWith("font")&&this._assembleFont(),u==="text"&&this._setText(y)},d.prototype._getSpaceingY=function(){var u=this.attrs,y=u.lineHeight,M=u.fontSize*1;return y?y-M:M*.14},d.prototype._drawTextArr=function(u,y,M){var i=this.attrs,s=i.textBaseline,h=i.x,B=i.y,K=i.fontSize*1,it=this._getSpaceingY(),ot=(0,wt.getTextHeight)(i.text,i.fontSize,i.lineHeight),gt;(0,ut.S6)(y,function(vt,Pt){gt=B+Pt*(it+K)-ot+K,s==="middle"&&(gt+=ot-K-(ot-K)/2),s==="top"&&(gt+=ot-K),(0,ut.kK)(vt)||(M?u.fillText(vt,h,gt):u.strokeText(vt,h,gt))})},d.prototype._drawText=function(u,y){var M=this.attr(),i=M.x,s=M.y,h=this.get("textArr");if(h)this._drawTextArr(u,h,y);else{var B=M.text;(0,ut.kK)(B)||(y?u.fillText(B,i,s):u.strokeText(B,i,s))}},d.prototype.strokeAndFill=function(u){var y=this.attrs,M=y.lineWidth,i=y.opacity,s=y.strokeOpacity,h=y.fillOpacity;this.isStroke()&&M>0&&(!(0,ut.kK)(s)&&s!==1&&(u.globalAlpha=i),this.stroke(u)),this.isFill()&&(!(0,ut.kK)(h)&&h!==1?(u.globalAlpha=h,this.fill(u),u.globalAlpha=i):this.fill(u)),this.afterDrawPath(u)},d.prototype.fill=function(u){this._drawText(u,!0)},d.prototype.stroke=function(u){this._drawText(u,!1)},d}($),_=v},46068:function(nr,St,U){"use strict";U.d(St,{Z:function(){return pt}});var j=U(92793);function E(Q){return Math.sqrt(Q[0]*Q[0]+Q[1]*Q[1])}function wt(Q,W){return E(Q)*E(W)?(Q[0]*W[0]+Q[1]*W[1])/(E(Q)*E(W)):1}function ut(Q,W){return(Q[0]*W[1]<Q[1]*W[0]?-1:1)*Math.acos(wt(Q,W))}function pt(Q,W){var $=W[1],at=W[2],yt=(0,j.wQ)((0,j.c$)(W[3]),Math.PI*2),lt=W[4],G=W[5],H=Q[0],X=Q[1],O=W[6],F=W[7],ht=Math.cos(yt)*(H-O)/2+Math.sin(yt)*(X-F)/2,st=-1*Math.sin(yt)*(H-O)/2+Math.cos(yt)*(X-F)/2,Y=ht*ht/($*$)+st*st/(at*at);Y>1&&($*=Math.sqrt(Y),at*=Math.sqrt(Y));var A=$*$*(st*st)+at*at*(ht*ht),P=A?Math.sqrt(($*$*(at*at)-A)/A):1;lt===G&&(P*=-1),isNaN(P)&&(P=0);var z=at?P*$*st/at:0,Z=$?P*-at*ht/$:0,dt=(H+O)/2+Math.cos(yt)*z-Math.sin(yt)*Z,Et=(X+F)/2+Math.sin(yt)*z+Math.cos(yt)*Z,Ot=[(ht-z)/$,(st-Z)/at],Kt=[(-1*ht-z)/$,(-1*st-Z)/at],Ht=ut([1,0],Ot),Bt=ut(Ot,Kt);return wt(Ot,Kt)<=-1&&(Bt=Math.PI),wt(Ot,Kt)>=1&&(Bt=0),G===0&&Bt>0&&(Bt=Bt-2*Math.PI),G===1&&Bt<0&&(Bt=Bt+2*Math.PI),{cx:dt,cy:Et,rx:(0,j.CF)(Q,[O,F])?0:$,ry:(0,j.CF)(Q,[O,F])?0:at,startAngle:Ht,endAngle:Ht+Bt,xRotation:yt,arcFlag:lt,sweepFlag:G}}},55922:function(nr,St,U){"use strict";U.d(St,{jF:function(){return at},Yf:function(){return yt},YR:function(){return lt}});var j=U(70655),E=U(5501),wt=Math.sin,ut=Math.cos,pt=Math.atan2,Q=Math.PI;function W(G,H,X,O,F,ht,st){var Y=H.stroke,A=H.lineWidth,P=X-F,z=O-ht,Z=pt(z,P),dt=new E.Path({type:"path",canvas:G.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*ut(Q/6)+","+10*wt(Q/6)+" L0,0 L"+10*ut(Q/6)+",-"+10*wt(Q/6),stroke:Y,lineWidth:A}});dt.translate(F,ht),dt.rotateAtPoint(F,ht,Z),G.set(st?"startArrowShape":"endArrowShape",dt)}function $(G,H,X,O,F,ht,st){var Y=H.startArrow,A=H.endArrow,P=H.stroke,z=H.lineWidth,Z=st?Y:A,dt=Z.d,Et=Z.fill,Ot=Z.stroke,Kt=Z.lineWidth,Ht=(0,j.__rest)(Z,["d","fill","stroke","lineWidth"]),Bt=X-F,Lt=O-ht,zt=pt(Lt,Bt);dt&&(F=F-ut(zt)*dt,ht=ht-wt(zt)*dt);var ft=new E.Path({type:"path",canvas:G.get("canvas"),isArrowShape:!0,attrs:(0,j.__assign)((0,j.__assign)({},Ht),{stroke:Ot||P,lineWidth:Kt||z,fill:Et})});ft.translate(F,ht),ft.rotateAtPoint(F,ht,zt),G.set(st?"startArrowShape":"endArrowShape",ft)}function at(G,H,X,O,F){var ht=pt(O-H,X-G);return{dx:ut(ht)*F,dy:wt(ht)*F}}function yt(G,H,X,O,F,ht){typeof H.startArrow=="object"?$(G,H,X,O,F,ht,!0):H.startArrow?W(G,H,X,O,F,ht,!0):G.set("startArrowShape",null)}function lt(G,H,X,O,F,ht){typeof H.endArrow=="object"?$(G,H,X,O,F,ht,!1):H.endArrow?W(G,H,X,O,F,ht,!1):G.set("startArrowShape",null)}},23645:function(nr,St,U){"use strict";U.d(St,{DE:function(){return W},NX:function(){return $},kU:function(){return at},sT:function(){return lt},MC:function(){return X},md:function(){return O},tJ:function(){return ht},T2:function(){return st}});var j=U(49242),E=U(38425),wt=U(46068),ut=U(92793),pt=U(55922),Q={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function W(Y,A){var P=A.attr();for(var z in P){var Z=P[z],dt=Q[z]?Q[z]:z;dt==="matrix"&&Z?Y.transform(Z[0],Z[1],Z[3],Z[4],Z[6],Z[7]):dt==="lineDash"&&Y.setLineDash?(0,j.isArray)(Z)&&Y.setLineDash(Z):(dt==="strokeStyle"||dt==="fillStyle"?Z=(0,E.QK)(Y,A,Z):dt==="globalAlpha"&&(Z=Z*Y.globalAlpha),Y[dt]=Z)}}function $(Y,A,P){for(var z=0;z<A.length;z++){var Z=A[z];Z.cfg.visible?Z.draw(Y,P):Z.skipDraw()}}function at(Y,A,P){var z=Y.get("refreshElements");(0,j.each)(z,function(Z){if(Z!==Y)for(var dt=Z.cfg.parent;dt&&dt!==Y&&!dt.cfg.refresh;)dt.cfg.refresh=!0,dt=dt.cfg.parent}),z[0]===Y?G(A,P):yt(A,P)}function yt(Y,A){for(var P=0;P<Y.length;P++){var z=Y[P];if(z.cfg.visible)if(z.cfg.hasChanged)z.cfg.refresh=!0,z.isGroup()&&G(z.cfg.children,A);else if(z.cfg.refresh)z.isGroup()&&yt(z.cfg.children,A);else{var Z=H(z,A);z.cfg.refresh=Z,Z&&z.isGroup()&&yt(z.cfg.children,A)}}}function lt(Y){for(var A=0;A<Y.length;A++){var P=Y[A];P.cfg.hasChanged=!1,P.isGroup()&&!P.destroyed&&lt(P.cfg.children)}}function G(Y,A){for(var P=0;P<Y.length;P++){var z=Y[P];z.cfg.refresh=!0,z.isGroup()&&G(z.get("children"),A)}}function H(Y,A){var P=Y.cfg.cacheCanvasBBox,z=Y.cfg.isInView&&P&&(0,ut.qb)(P,A);return z}function X(Y,A,P,z){var Z=P.path,dt=P.startArrow,Et=P.endArrow;if(!!Z){var Ot=[0,0],Kt=[0,0],Ht={dx:0,dy:0};A.beginPath();for(var Bt=0;Bt<Z.length;Bt++){var Lt=Z[Bt],zt=Lt[0];if(Bt===0&&dt&&dt.d){var ft=Y.getStartTangent();Ht=pt.jF(ft[0][0],ft[0][1],ft[1][0],ft[1][1],dt.d)}else if(Bt===Z.length-2&&Z[Bt+1][0]==="Z"&&Et&&Et.d){var rt=Z[Bt+1];if(rt[0]==="Z"){var ft=Y.getEndTangent();Ht=pt.jF(ft[0][0],ft[0][1],ft[1][0],ft[1][1],Et.d)}}else if(Bt===Z.length-1&&Et&&Et.d&&Z[0]!=="Z"){var ft=Y.getEndTangent();Ht=pt.jF(ft[0][0],ft[0][1],ft[1][0],ft[1][1],Et.d)}var a=Ht.dx,l=Ht.dy;switch(zt){case"M":A.moveTo(Lt[1]-a,Lt[2]-l),Kt=[Lt[1],Lt[2]];break;case"L":A.lineTo(Lt[1]-a,Lt[2]-l);break;case"Q":A.quadraticCurveTo(Lt[1],Lt[2],Lt[3]-a,Lt[4]-l);break;case"C":A.bezierCurveTo(Lt[1],Lt[2],Lt[3],Lt[4],Lt[5]-a,Lt[6]-l);break;case"A":{var T=void 0;z?(T=z[Bt],T||(T=(0,wt.Z)(Ot,Lt),z[Bt]=T)):T=(0,wt.Z)(Ot,Lt);var q=T.cx,xt=T.cy,x=T.rx,b=T.ry,I=T.startAngle,S=T.endAngle,V=T.xRotation,ct=T.sweepFlag;if(A.ellipse)A.ellipse(q,xt,x,b,V,I,S,1-ct);else{var C=x>b?x:b,f=x>b?1:x/b,r=x>b?b/x:1;A.translate(q,xt),A.rotate(V),A.scale(f,r),A.arc(0,0,C,I,S,1-ct),A.scale(1/f,1/r),A.rotate(-V),A.translate(-q,-xt)}break}case"Z":A.closePath();break;default:break}if(zt==="Z")Ot=Kt;else{var t=Lt.length;Ot=[Lt[t-2],Lt[t-1]]}}}}function O(Y,A){var P=Y.get("canvas");P&&(A==="remove"&&(Y._cacheCanvasBBox=Y.get("cacheCanvasBBox")),Y.get("hasChanged")||(Y.set("hasChanged",!0),Y.cfg.parent&&Y.cfg.parent.get("hasChanged")||(P.refreshElement(Y,A,P),P.get("autoDraw")&&P.draw())))}function F(Y){var A;if(Y.destroyed)A=Y._cacheCanvasBBox;else{var P=Y.get("cacheCanvasBBox"),z=P&&!!(P.width&&P.height),Z=Y.getCanvasBBox(),dt=Z&&!!(Z.width&&Z.height);z&&dt?A=(0,ut.Me)(P,Z):z?A=P:dt&&(A=Z)}return A}function ht(Y){if(!Y.length)return null;var A=[],P=[],z=[],Z=[];return(0,j.each)(Y,function(dt){var Et=F(dt);Et&&(A.push(Et.minX),P.push(Et.minY),z.push(Et.maxX),Z.push(Et.maxY))}),{minX:(0,j.min)(A),minY:(0,j.min)(P),maxX:(0,j.max)(z),maxY:(0,j.max)(Z)}}function st(Y,A){return!Y||!A||!(0,ut.qb)(Y,A)?null:{minX:Math.max(Y.minX,A.minX),minY:Math.max(Y.minY,A.minY),maxX:Math.min(Y.maxX,A.maxX),maxY:Math.min(Y.maxY,A.maxY)}}},38425:function(nr,St,U){"use strict";U.d(St,{QK:function(){return yt},Fy:function(){return lt}});var j=U(92793),E=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,wt=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,ut=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,pt=/[\d.]+:(#[^\s]+|[^\)]+\))/gi;function Q(G,H){var X=G.match(pt);(0,j.S6)(X,function(O){var F=O.split(":");H.addColorStop(F[0],F[1])})}function W(G,H,X){var O=E.exec(X),F=parseFloat(O[1])%360*(Math.PI/180),ht=O[2],st=H.getBBox(),Y,A;F>=0&&F<1/2*Math.PI?(Y={x:st.minX,y:st.minY},A={x:st.maxX,y:st.maxY}):1/2*Math.PI<=F&&F<Math.PI?(Y={x:st.maxX,y:st.minY},A={x:st.minX,y:st.maxY}):Math.PI<=F&&F<3/2*Math.PI?(Y={x:st.maxX,y:st.maxY},A={x:st.minX,y:st.minY}):(Y={x:st.minX,y:st.maxY},A={x:st.maxX,y:st.minY});var P=Math.tan(F),z=P*P,Z=(A.x-Y.x+P*(A.y-Y.y))/(z+1)+Y.x,dt=P*(A.x-Y.x+P*(A.y-Y.y))/(z+1)+Y.y,Et=G.createLinearGradient(Y.x,Y.y,Z,dt);return Q(ht,Et),Et}function $(G,H,X){var O=wt.exec(X),F=parseFloat(O[1]),ht=parseFloat(O[2]),st=parseFloat(O[3]),Y=O[4];if(st===0){var A=Y.match(pt);return A[A.length-1].split(":")[1]}var P=H.getBBox(),z=P.maxX-P.minX,Z=P.maxY-P.minY,dt=Math.sqrt(z*z+Z*Z)/2,Et=G.createRadialGradient(P.minX+z*F,P.minY+Z*ht,0,P.minX+z/2,P.minY+Z/2,st*dt);return Q(Y,Et),Et}function at(G,H,X){if(H.get("patternSource")&&H.get("patternSource")===X)return H.get("pattern");var O,F,ht=ut.exec(X),st=ht[1],Y=ht[2];function A(){O=G.createPattern(F,st),H.set("pattern",O),H.set("patternSource",X)}switch(st){case"a":st="repeat";break;case"x":st="repeat-x";break;case"y":st="repeat-y";break;case"n":st="no-repeat";break;default:st="no-repeat"}return F=new Image,Y.match(/^data:/i)||(F.crossOrigin="Anonymous"),F.src=Y,F.complete?A():(F.onload=A,F.src=F.src),O}function yt(G,H,X){var O=H.getBBox();if(isNaN(O.x)||isNaN(O.y)||isNaN(O.width)||isNaN(O.height))return X;if((0,j.HD)(X)){if(X[1]==="("||X[2]==="("){if(X[0]==="l")return W(G,H,X);if(X[0]==="r")return $(G,H,X);if(X[0]==="p")return at(G,H,X)}return X}if(X instanceof CanvasPattern)return X}function lt(G){var H=0,X=0,O=0,F=0;return(0,j.kJ)(G)?G.length===1?H=X=O=F=G[0]:G.length===2?(H=O=G[0],X=F=G[1]):G.length===3?(H=G[0],X=F=G[1],O=G[2]):(H=G[0],X=G[1],O=G[2],F=G[3]):H=X=O=F=G,[H,X,O,F]}},92793:function(nr,St,U){"use strict";U.d(St,{mX:function(){return E},TE:function(){return wt},mh:function(){return ut},qb:function(){return pt},Me:function(){return Q},CF:function(){return W},kK:function(){return j.isNil},HD:function(){return j.isString},mf:function(){return j.isFunction},kJ:function(){return j.isArray},S6:function(){return j.each},c$:function(){return j.toRadian},wQ:function(){return j.mod},U7:function(){return j.requestAnimationFrame},VS:function(){return j.clearAnimationFrame}});var j=U(49242);function E(){return window?window.devicePixelRatio:1}function wt($,at,yt,lt){var G=$-yt,H=at-lt;return Math.sqrt(G*G+H*H)}function ut($,at,yt,lt,G,H){return G>=$&&G<=$+yt&&H>=at&&H<=at+lt}function pt($,at){return!(at.minX>$.maxX||at.maxX<$.minX||at.minY>$.maxY||at.maxY<$.minY)}function Q($,at){return!$||!at?$||at:{minX:Math.min($.minX,at.minX),minY:Math.min($.minY,at.minY),maxX:Math.max($.maxX,at.maxX),maxY:Math.max($.maxY,at.maxY)}}function W($,at){return $[0]===at[0]&&$[1]===at[1]}},89838:function(nr,St,U){"use strict";U.d(St,{wN:function(){return T},Ll:function(){return dt},x1:function(){return at},aH:function(){return S},lD:function(){return st},Zr:function(){return j}});var j={};U.r(j),U.d(j,{distance:function(){return wt},getBBoxByArray:function(){return pt},getBBoxRange:function(){return Q},isNumberEqual:function(){return ut},piMod:function(){return W}});var E=U(49242);function wt(C,f,r,t){var o=C-r,n=f-t;return Math.sqrt(o*o+n*n)}function ut(C,f){return Math.abs(C-f)<.001}function pt(C,f){var r=(0,E.min)(C),t=(0,E.min)(f),o=(0,E.max)(C),n=(0,E.max)(f);return{x:r,y:t,width:o-r,height:n-t}}function Q(C,f,r,t){return{minX:(0,E.min)([C,r]),maxX:(0,E.max)([C,r]),minY:(0,E.min)([f,t]),maxY:(0,E.max)([f,t])}}function W(C){return(C+Math.PI*2)%(Math.PI*2)}var $=U(31437),at={box:function(C,f,r,t){return pt([C,r],[f,t])},length:function(C,f,r,t){return wt(C,f,r,t)},pointAt:function(C,f,r,t,o){return{x:(1-o)*C+o*r,y:(1-o)*f+o*t}},pointDistance:function(C,f,r,t,o,n){var e=(r-C)*(o-C)+(t-f)*(n-f);if(e<0)return wt(C,f,o,n);var c=(r-C)*(r-C)+(t-f)*(t-f);return e>c?wt(r,t,o,n):this.pointToLine(C,f,r,t,o,n)},pointToLine:function(C,f,r,t,o,n){var e=[r-C,t-f];if($.exactEquals(e,[0,0]))return Math.sqrt((o-C)*(o-C)+(n-f)*(n-f));var c=[-e[1],e[0]];$.normalize(c,c);var v=[o-C,n-f];return Math.abs($.dot(v,c))},tangentAngle:function(C,f,r,t){return Math.atan2(t-f,r-C)}},yt=1e-4;function lt(C,f,r,t,o,n){var e,c=Infinity,v=[r,t],_=20;n&&n>200&&(_=n/10);for(var w=1/_,d=w/10,u=0;u<=_;u++){var y=u*w,M=[o.apply(null,C.concat([y])),o.apply(null,f.concat([y]))],i=wt(v[0],v[1],M[0],M[1]);i<c&&(e=y,c=i)}if(e===0)return{x:C[0],y:f[0]};if(e===1){var s=C.length;return{x:C[s-1],y:f[s-1]}}c=Infinity;for(var u=0;u<32&&!(d<yt);u++){var h=e-d,B=e+d,M=[o.apply(null,C.concat([h])),o.apply(null,f.concat([h]))],i=wt(v[0],v[1],M[0],M[1]);if(h>=0&&i<c)e=h,c=i;else{var K=[o.apply(null,C.concat([B])),o.apply(null,f.concat([B]))],it=wt(v[0],v[1],K[0],K[1]);B<=1&&it<c?(e=B,c=it):d*=.5}}return{x:o.apply(null,C.concat([e])),y:o.apply(null,f.concat([e]))}}function G(C,f){for(var r=0,t=C.length,o=0;o<t;o++){var n=C[o],e=f[o],c=C[(o+1)%t],v=f[(o+1)%t];r+=wt(n,e,c,v)}return r/2}function H(C,f,r,t){var o=1-t;return o*o*C+2*t*o*f+t*t*r}function X(C,f,r){var t=C+r-2*f;if(ut(t,0))return[.5];var o=(C-f)/t;return o<=1&&o>=0?[o]:[]}function O(C,f,r,t){return 2*(1-t)*(f-C)+2*t*(r-f)}function F(C,f,r,t,o,n,e){var c=H(C,r,o,e),v=H(f,t,n,e),_=at.pointAt(C,f,r,t,e),w=at.pointAt(r,t,o,n,e);return[[C,f,_.x,_.y,c,v],[c,v,w.x,w.y,o,n]]}function ht(C,f,r,t,o,n,e){if(e===0)return(wt(C,f,r,t)+wt(r,t,o,n)+wt(C,f,o,n))/2;var c=F(C,f,r,t,o,n,.5),v=c[0],_=c[1];return v.push(e-1),_.push(e-1),ht.apply(null,v)+ht.apply(null,_)}var st={box:function(C,f,r,t,o,n){var e=X(C,r,o)[0],c=X(f,t,n)[0],v=[C,o],_=[f,n];return e!==void 0&&v.push(H(C,r,o,e)),c!==void 0&&_.push(H(f,t,n,c)),pt(v,_)},length:function(C,f,r,t,o,n){return ht(C,f,r,t,o,n,3)},nearestPoint:function(C,f,r,t,o,n,e,c){return lt([C,r,o],[f,t,n],e,c,H)},pointDistance:function(C,f,r,t,o,n,e,c){var v=this.nearestPoint(C,f,r,t,o,n,e,c);return wt(v.x,v.y,e,c)},interpolationAt:H,pointAt:function(C,f,r,t,o,n,e){return{x:H(C,r,o,e),y:H(f,t,n,e)}},divide:function(C,f,r,t,o,n,e){return F(C,f,r,t,o,n,e)},tangentAngle:function(C,f,r,t,o,n,e){var c=O(C,r,o,e),v=O(f,t,n,e),_=Math.atan2(v,c);return W(_)}};function Y(C,f,r,t,o){var n=1-o;return n*n*n*C+3*f*o*n*n+3*r*o*o*n+t*o*o*o}function A(C,f,r,t,o){var n=1-o;return 3*(n*n*(f-C)+2*n*o*(r-f)+o*o*(t-r))}function P(C,f,r,t){var o=-3*C+9*f-9*r+3*t,n=6*C-12*f+6*r,e=3*f-3*C,c=[],v,_,w;if(ut(o,0))ut(n,0)||(v=-e/n,v>=0&&v<=1&&c.push(v));else{var d=n*n-4*o*e;ut(d,0)?c.push(-n/(2*o)):d>0&&(w=Math.sqrt(d),v=(-n+w)/(2*o),_=(-n-w)/(2*o),v>=0&&v<=1&&c.push(v),_>=0&&_<=1&&c.push(_))}return c}function z(C,f,r,t,o,n,e,c,v){var _=Y(C,r,o,e,v),w=Y(f,t,n,c,v),d=at.pointAt(C,f,r,t,v),u=at.pointAt(r,t,o,n,v),y=at.pointAt(o,n,e,c,v),M=at.pointAt(d.x,d.y,u.x,u.y,v),i=at.pointAt(u.x,u.y,y.x,y.y,v);return[[C,f,d.x,d.y,M.x,M.y,_,w],[_,w,i.x,i.y,y.x,y.y,e,c]]}function Z(C,f,r,t,o,n,e,c,v){if(v===0)return G([C,r,o,e],[f,t,n,c]);var _=z(C,f,r,t,o,n,e,c,.5),w=_[0],d=_[1];return w.push(v-1),d.push(v-1),Z.apply(null,w)+Z.apply(null,d)}var dt={extrema:P,box:function(C,f,r,t,o,n,e,c){for(var v=[C,e],_=[f,c],w=P(C,r,o,e),d=P(f,t,n,c),u=0;u<w.length;u++)v.push(Y(C,r,o,e,w[u]));for(var u=0;u<d.length;u++)_.push(Y(f,t,n,c,d[u]));return pt(v,_)},length:function(C,f,r,t,o,n,e,c){return Z(C,f,r,t,o,n,e,c,3)},nearestPoint:function(C,f,r,t,o,n,e,c,v,_,w){return lt([C,r,o,e],[f,t,n,c],v,_,Y,w)},pointDistance:function(C,f,r,t,o,n,e,c,v,_,w){var d=this.nearestPoint(C,f,r,t,o,n,e,c,v,_,w);return wt(d.x,d.y,v,_)},interpolationAt:Y,pointAt:function(C,f,r,t,o,n,e,c,v){return{x:Y(C,r,o,e,v),y:Y(f,t,n,c,v)}},divide:function(C,f,r,t,o,n,e,c,v){return z(C,f,r,t,o,n,e,c,v)},tangentAngle:function(C,f,r,t,o,n,e,c,v){var _=A(C,r,o,e,v),w=A(f,t,n,c,v);return W(Math.atan2(w,_))}};function Et(C,f){var r=Math.abs(C);return f>0?r:r*-1}var Ot={box:function(C,f,r,t){return{x:C-r,y:f-t,width:r*2,height:t*2}},length:function(C,f,r,t){return Math.PI*(3*(r+t)-Math.sqrt((3*r+t)*(r+3*t)))},nearestPoint:function(C,f,r,t,o,n){var e=r,c=t;if(e===0||c===0)return{x:C,y:f};for(var v=o-C,_=n-f,w=Math.abs(v),d=Math.abs(_),u=e*e,y=c*c,M=Math.PI/4,i,s,h=0;h<4;h++){i=e*Math.cos(M),s=c*Math.sin(M);var B=(u-y)*Math.pow(Math.cos(M),3)/e,K=(y-u)*Math.pow(Math.sin(M),3)/c,it=i-B,ot=s-K,gt=w-B,vt=d-K,Pt=Math.hypot(ot,it),Ct=Math.hypot(vt,gt),Yt=Pt*Math.asin((it*vt-ot*gt)/(Pt*Ct)),Zt=Yt/Math.sqrt(u+y-i*i-s*s);M+=Zt,M=Math.min(Math.PI/2,Math.max(0,M))}return{x:C+Et(i,v),y:f+Et(s,_)}},pointDistance:function(C,f,r,t,o,n){var e=this.nearestPoint(C,f,r,t,o,n);return wt(e.x,e.y,o,n)},pointAt:function(C,f,r,t,o){var n=2*Math.PI*o;return{x:C+r*Math.cos(n),y:f+t*Math.sin(n)}},tangentAngle:function(C,f,r,t,o){var n=2*Math.PI*o,e=Math.atan2(t*Math.cos(n),-r*Math.sin(n));return W(e)}};function Kt(C,f,r,t,o,n,e,c){return-1*r*Math.cos(o)*Math.sin(c)-t*Math.sin(o)*Math.cos(c)}function Ht(C,f,r,t,o,n,e,c){return-1*r*Math.sin(o)*Math.sin(c)+t*Math.cos(o)*Math.cos(c)}function Bt(C,f,r){return Math.atan(-f/C*Math.tan(r))}function Lt(C,f,r){return Math.atan(f/(C*Math.tan(r)))}function zt(C,f,r,t,o,n){return r*Math.cos(o)*Math.cos(n)-t*Math.sin(o)*Math.sin(n)+C}function ft(C,f,r,t,o,n){return r*Math.sin(o)*Math.cos(n)+t*Math.cos(o)*Math.sin(n)+f}function rt(C,f,r,t){var o=Math.atan2(t*C,r*f);return(o+Math.PI*2)%(Math.PI*2)}function a(C,f,r){return{x:C*Math.cos(r),y:f*Math.sin(r)}}function l(C,f,r){var t=Math.cos(r),o=Math.sin(r);return[C*t-f*o,C*o+f*t]}var T={box:function(C,f,r,t,o,n,e){for(var c=Bt(r,t,o),v=Infinity,_=-Infinity,w=[n,e],d=-Math.PI*2;d<=Math.PI*2;d+=Math.PI){var u=c+d;n<e?n<u&&u<e&&w.push(u):e<u&&u<n&&w.push(u)}for(var d=0;d<w.length;d++){var y=zt(C,f,r,t,o,w[d]);y<v&&(v=y),y>_&&(_=y)}for(var M=Lt(r,t,o),i=Infinity,s=-Infinity,h=[n,e],d=-Math.PI*2;d<=Math.PI*2;d+=Math.PI){var B=M+d;n<e?n<B&&B<e&&h.push(B):e<B&&B<n&&h.push(B)}for(var d=0;d<h.length;d++){var K=ft(C,f,r,t,o,h[d]);K<i&&(i=K),K>s&&(s=K)}return{x:v,y:i,width:_-v,height:s-i}},length:function(C,f,r,t,o,n,e){},nearestPoint:function(C,f,r,t,o,n,e,c,v){var _=l(c-C,v-f,-o),w=_[0],d=_[1],u=Ot.nearestPoint(0,0,r,t,w,d),y=rt(r,t,u.x,u.y);y<n?u=a(r,t,n):y>e&&(u=a(r,t,e));var M=l(u.x,u.y,o);return{x:M[0]+C,y:M[1]+f}},pointDistance:function(C,f,r,t,o,n,e,c,v){var _=this.nearestPoint(C,f,r,t,c,v);return wt(_.x,_.y,c,v)},pointAt:function(C,f,r,t,o,n,e,c){var v=(e-n)*c+n;return{x:zt(C,f,r,t,o,v),y:ft(C,f,r,t,o,v)}},tangentAngle:function(C,f,r,t,o,n,e,c){var v=(e-n)*c+n,_=Kt(C,f,r,t,o,n,e,v),w=Ht(C,f,r,t,o,n,e,v);return W(Math.atan2(w,_))}};function q(C){for(var f=0,r=[],t=0;t<C.length-1;t++){var o=C[t],n=C[t+1],e=wt(o[0],o[1],n[0],n[1]),c={from:o,to:n,length:e};r.push(c),f+=e}return{segments:r,totalLength:f}}function xt(C){if(C.length<2)return 0;for(var f=0,r=0;r<C.length-1;r++){var t=C[r],o=C[r+1];f+=wt(t[0],t[1],o[0],o[1])}return f}function x(C,f){if(f>1||f<0||C.length<2)return null;var r=q(C),t=r.segments,o=r.totalLength;if(o===0)return{x:C[0][0],y:C[0][1]};for(var n=0,e=null,c=0;c<t.length;c++){var v=t[c],_=v.from,w=v.to,d=v.length/o;if(f>=n&&f<=n+d){var u=(f-n)/d;e=at.pointAt(_[0],_[1],w[0],w[1],u);break}n+=d}return e}function b(C,f){if(f>1||f<0||C.length<2)return 0;for(var r=q(C),t=r.segments,o=r.totalLength,n=0,e=0,c=0;c<t.length;c++){var v=t[c],_=v.from,w=v.to,d=v.length/o;if(f>=n&&f<=n+d){e=Math.atan2(w[1]-_[1],w[0]-_[0]);break}n+=d}return e}function I(C,f,r){for(var t=Infinity,o=0;o<C.length-1;o++){var n=C[o],e=C[o+1],c=at.pointDistance(n[0],n[1],e[0],e[1],f,r);c<t&&(t=c)}return t}var S={box:function(C){for(var f=[],r=[],t=0;t<C.length;t++){var o=C[t];f.push(o[0]),r.push(o[1])}return pt(f,r)},length:function(C){return xt(C)},pointAt:function(C,f){return x(C,f)},pointDistance:function(C,f,r){return I(C,f,r)},tangentAngle:function(C,f){return b(C,f)}};function V(C){var f=C.slice(0);return C.length&&f.push(C[0]),f}var ct={box:function(C){return S.box(C)},length:function(C){return xt(V(C))},pointAt:function(C,f){return x(V(C),f)},pointDistance:function(C,f,r){return I(V(C),f,r)},tangentAngle:function(C,f){return b(V(C),f)}}},27513:function(nr,St,U){"use strict";U.d(St,{Z:function(){return ft}});var j=U(70655),E=U(98190),wt=U(37486),ut=U(9051),pt=U(56814),Q=U(19372),W=U(18740),$=U(61809),at=U(49242),yt=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,lt=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,G=/[\d.]+:(#[^\s]+|[^)]+\))/gi;function H(rt){var a=rt.match(G);if(!a)return"";var l="";return a.sort(function(T,q){return T=T.split(":"),q=q.split(":"),Number(T[0])-Number(q[0])}),(0,at.each)(a,function(T){T=T.split(":"),l+='<stop offset="'+T[0]+'" stop-color="'+T[1]+'"></stop>'}),l}function X(rt,a){var l=yt.exec(rt),T=(0,at.mod)((0,at.toRadian)(parseFloat(l[1])),Math.PI*2),q=l[2],xt,x;T>=0&&T<.5*Math.PI?(xt={x:0,y:0},x={x:1,y:1}):.5*Math.PI<=T&&T<Math.PI?(xt={x:1,y:0},x={x:0,y:1}):Math.PI<=T&&T<1.5*Math.PI?(xt={x:1,y:1},x={x:0,y:0}):(xt={x:0,y:1},x={x:1,y:0});var b=Math.tan(T),I=b*b,S=(x.x-xt.x+b*(x.y-xt.y))/(I+1)+xt.x,V=b*(x.x-xt.x+b*(x.y-xt.y))/(I+1)+xt.y;a.setAttribute("x1",xt.x),a.setAttribute("y1",xt.y),a.setAttribute("x2",S),a.setAttribute("y2",V),a.innerHTML=H(q)}function O(rt,a){var l=lt.exec(rt),T=parseFloat(l[1]),q=parseFloat(l[2]),xt=parseFloat(l[3]),x=l[4];a.setAttribute("cx",T),a.setAttribute("cy",q),a.setAttribute("r",xt),a.innerHTML=H(x)}var F=function(){function rt(a){this.cfg={};var l=null,T=(0,at.uniqueId)("gradient_");return a.toLowerCase()[0]==="l"?(l=(0,Q.rS)("linearGradient"),X(a,l)):(l=(0,Q.rS)("radialGradient"),O(a,l)),l.setAttribute("id",T),this.el=l,this.id=T,this.cfg=a,this}return rt.prototype.match=function(a,l){return this.cfg===l},rt}(),ht=F,st={shadowColor:"color",shadowOpacity:"opacity",shadowBlur:"blur",shadowOffsetX:"dx",shadowOffsetY:"dy"},Y={x:"-40%",y:"-40%",width:"200%",height:"200%"},A=function(){function rt(a){this.type="filter",this.cfg={},this.type="filter";var l=(0,Q.rS)("filter");return(0,at.each)(Y,function(T,q){l.setAttribute(q,T)}),this.el=l,this.id=(0,at.uniqueId)("filter_"),this.el.id=this.id,this.cfg=a,this._parseShadow(a,l),this}return rt.prototype.match=function(a,l){if(this.type!==a)return!1;var T=!0,q=this.cfg;return(0,at.each)(Object.keys(q),function(xt){if(q[xt]!==l[xt])return T=!1,!1}),T},rt.prototype.update=function(a,l){var T=this.cfg;return T[st[a]]=l,this._parseShadow(T,this.el),this},rt.prototype._parseShadow=function(a,l){var T=`<feDropShadow
  8. dx="`+(a.dx||0)+`"
  9. dy="`+(a.dy||0)+`"
  10. stdDeviation="`+(a.blur?a.blur/10:0)+`"
  11. flood-color="`+(a.color?a.color:"#000")+`"
  12. flood-opacity="`+(a.opacity?a.opacity:1)+`"
  13. />`;l.innerHTML=T},rt}(),P=A,z=function(){function rt(a,l){this.cfg={};var T=(0,Q.rS)("marker"),q=(0,at.uniqueId)("marker_");T.setAttribute("id",q);var xt=(0,Q.rS)("path");xt.setAttribute("stroke",a.stroke||"none"),xt.setAttribute("fill",a.fill||"none"),T.appendChild(xt),T.setAttribute("overflow","visible"),T.setAttribute("orient","auto-start-reverse"),this.el=T,this.child=xt,this.id=q;var x=a[l==="marker-start"?"startArrow":"endArrow"];return this.stroke=a.stroke||"#000",x===!0?this._setDefaultPath(l,xt):(this.cfg=x,this._setMarker(a.lineWidth,xt)),this}return rt.prototype.match=function(){return!1},rt.prototype._setDefaultPath=function(a,l){var T=this.el;l.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),T.setAttribute("refX",""+10*Math.cos(Math.PI/6)),T.setAttribute("refY",""+5)},rt.prototype._setMarker=function(a,l){var T=this.el,q=this.cfg.path,xt=this.cfg.d;(0,at.isArray)(q)&&(q=q.map(function(x){return x.join(" ")}).join("")),l.setAttribute("d",q),T.appendChild(l),xt&&T.setAttribute("refX",""+xt/a)},rt.prototype.update=function(a){var l=this.child;l.attr?l.attr("fill",a):l.setAttribute("fill",a)},rt}(),Z=z,dt=function(){function rt(a){this.type="clip",this.cfg={};var l=(0,Q.rS)("clipPath");this.el=l,this.id=(0,at.uniqueId)("clip_"),l.id=this.id;var T=a.cfg.el;return l.appendChild(T),this.cfg=a,this}return rt.prototype.match=function(){return!1},rt.prototype.remove=function(){var a=this.el;a.parentNode.removeChild(a)},rt}(),Et=dt,Ot=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,Kt=function(){function rt(a){this.cfg={};var l=(0,Q.rS)("pattern");l.setAttribute("patternUnits","userSpaceOnUse");var T=(0,Q.rS)("image");l.appendChild(T);var q=(0,at.uniqueId)("pattern_");l.id=q,this.el=l,this.id=q,this.cfg=a;var xt=Ot.exec(a),x=xt[2];T.setAttribute("href",x);var b=new Image;x.match(/^data:/i)||(b.crossOrigin="Anonymous"),b.src=x;function I(){l.setAttribute("width",""+b.width),l.setAttribute("height",""+b.height)}return b.complete?I():(b.onload=I,b.src=b.src),this}return rt.prototype.match=function(a,l){return this.cfg===l},rt}(),Ht=Kt,Bt=function(){function rt(a){var l=(0,Q.rS)("defs"),T=(0,at.uniqueId)("defs_");l.id=T,a.appendChild(l),this.children=[],this.defaultArrow={},this.el=l,this.canvas=a}return rt.prototype.find=function(a,l){for(var T=this.children,q=null,xt=0;xt<T.length;xt++)if(T[xt].match(a,l)){q=T[xt].id;break}return q},rt.prototype.findById=function(a){for(var l=this.children,T=null,q=0;q<l.length;q++)if(l[q].id===a){T=l[q];break}return T},rt.prototype.add=function(a){this.children.push(a),a.canvas=this.canvas,a.parent=this},rt.prototype.getDefaultArrow=function(a,l){var T=a.stroke||a.strokeStyle;if(this.defaultArrow[T])return this.defaultArrow[T].id;var q=new Z(a,l);return this.defaultArrow[T]=q,this.el.appendChild(q.el),this.add(q),q.id},rt.prototype.addGradient=function(a){var l=new ht(a);return this.el.appendChild(l.el),this.add(l),l.id},rt.prototype.addArrow=function(a,l){var T=new Z(a,l);return this.el.appendChild(T.el),this.add(T),T.id},rt.prototype.addShadow=function(a){var l=new P(a);return this.el.appendChild(l.el),this.add(l),l.id},rt.prototype.addPattern=function(a){var l=new Ht(a);return this.el.appendChild(l.el),this.add(l),l.id},rt.prototype.addClip=function(a){var l=new Et(a);return this.el.appendChild(l.el),this.add(l),l.id},rt}(),Lt=Bt,zt=function(rt){(0,j.__extends)(a,rt);function a(l){return rt.call(this,(0,j.__assign)((0,j.__assign)({},l),{autoDraw:!0,renderer:"svg"}))||this}return a.prototype.getShapeBase=function(){return W},a.prototype.getGroupBase=function(){return $.Z},a.prototype.getShape=function(l,T,q){var xt=q.target||q.srcElement;if(!wt.CX[xt.tagName]){for(var x=xt.parentNode;x&&!wt.CX[x.tagName];)x=x.parentNode;xt=x}return this.find(function(b){return b.get("el")===xt})},a.prototype.createDom=function(){var l=(0,Q.rS)("svg"),T=new Lt(l);return l.setAttribute("width",""+this.get("width")),l.setAttribute("height",""+this.get("height")),this.set("context",T),l},a.prototype.onCanvasChange=function(l){var T=this.get("context"),q=this.get("el");if(l==="sort"){var xt=this.get("children");xt&&xt.length&&(0,Q.ZL)(this,function(b,I){return xt.indexOf(b)-xt.indexOf(I)?1:0})}else if(l==="clear"){if(q){q.innerHTML="";var x=T.el;x.innerHTML="",q.appendChild(x)}}else l==="matrix"?(0,pt.B2)(this):l==="clip"?(0,pt.r7)(this,T):l==="changeSize"&&(q.setAttribute("width",""+this.get("width")),q.setAttribute("height",""+this.get("height")))},a.prototype.draw=function(){var l=this.get("context"),T=this.getChildren();(0,pt.r7)(this,l),T.length&&(0,ut.N)(l,T)},a}(E.AbstractCanvas),ft=zt},37486:function(nr,St,U){"use strict";U.d(St,{CX:function(){return j},A8:function(){return E}});var j={rect:"path",circle:"circle",line:"line",path:"path",marker:"path",text:"text",polyline:"polyline",polygon:"polygon",image:"image",ellipse:"ellipse",dom:"foreignObject"},E={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"},wt=null},61809:function(nr,St,U){"use strict";var j=U(70655),E=U(98190),wt=U(49242),ut=U(18740),pt=U(9051),Q=U(56814),W=U(37486),$=U(19372),at=function(yt){(0,j.__extends)(lt,yt);function lt(){return yt!==null&&yt.apply(this,arguments)||this}return lt.prototype.isEntityGroup=function(){return!0},lt.prototype.createDom=function(){var G=(0,$.rS)("g");this.set("el",G);var H=this.getParent();if(H){var X=H.get("el");X||(X=H.createDom(),H.set("el",X)),X.appendChild(G)}return G},lt.prototype.afterAttrsChange=function(G){yt.prototype.afterAttrsChange.call(this,G);var H=this.get("canvas");if(H&&H.get("autoDraw")){var X=H.get("context");this.createPath(X,G)}},lt.prototype.onCanvasChange=function(G){(0,pt.m)(this,G)},lt.prototype.getShapeBase=function(){return ut},lt.prototype.getGroupBase=function(){return lt},lt.prototype.draw=function(G){var H=this.getChildren(),X=this.get("el");this.get("destroyed")?X&&X.parentNode.removeChild(X):(X||this.createDom(),(0,Q.r7)(this,G),this.createPath(G),H.length&&(0,pt.N)(G,H))},lt.prototype.createPath=function(G,H){var X=this.attr(),O=this.get("el");(0,wt.each)(H||X,function(F,ht){W.A8[ht]&&O.setAttribute(W.A8[ht],F)}),(0,Q.B2)(this)},lt}(E.AbstractGroup);St.Z=at},71597:function(nr,St,U){"use strict";U.r(St),U.d(St,{Canvas:function(){return pt.Z},Group:function(){return Q.Z},Shape:function(){return j},version:function(){return W}});var j=U(18740),E=U(98190),wt={};for(var ut in E)["default","Canvas","Group","Shape","version"].indexOf(ut)<0&&(wt[ut]=function($){return E[$]}.bind(0,ut));U.d(St,wt);var pt=U(27513),Q=U(61809),W="0.5.6"},18740:function(nr,St,U){"use strict";U.r(St),U.d(St,{Base:function(){return yt},Circle:function(){return H},Dom:function(){return O},Ellipse:function(){return ht},Image:function(){return Y},Line:function(){return z},Marker:function(){return Ot},Path:function(){return Ht},Polygon:function(){return Lt},Polyline:function(){return ft},Rect:function(){return xt},Text:function(){return C}});var j={};U.r(j),U.d(j,{Base:function(){return yt},Circle:function(){return H},Dom:function(){return O},Ellipse:function(){return ht},Image:function(){return Y},Line:function(){return z},Marker:function(){return Ot},Path:function(){return Ht},Polygon:function(){return Lt},Polyline:function(){return ft},Rect:function(){return xt},Text:function(){return C}});var E=U(70655),wt=U(98190),ut=U(56814),pt=U(19372),Q=U(9051),W=U(37486),$=U(61809),at=function(f){(0,E.__extends)(r,f);function r(){var t=f!==null&&f.apply(this,arguments)||this;return t.type="svg",t.canFill=!1,t.canStroke=!1,t}return r.prototype.getDefaultAttrs=function(){var t=f.prototype.getDefaultAttrs.call(this);return(0,E.__assign)((0,E.__assign)({},t),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},r.prototype.afterAttrsChange=function(t){f.prototype.afterAttrsChange.call(this,t);var o=this.get("canvas");if(o&&o.get("autoDraw")){var n=o.get("context");this.draw(n,t)}},r.prototype.getShapeBase=function(){return j},r.prototype.getGroupBase=function(){return $.Z},r.prototype.onCanvasChange=function(t){(0,Q.m)(this,t)},r.prototype.calculateBBox=function(){var t=this.get("el"),o=null;if(t)o=t.getBBox();else{var n=(0,wt.getBBoxMethod)(this.get("type"));n&&(o=n(this))}if(o){var e=o.x,c=o.y,v=o.width,_=o.height,w=this.getHitLineWidth(),d=w/2,u=e-d,y=c-d,M=e+v+d,i=c+_+d;return{x:u,y,minX:u,minY:y,maxX:M,maxY:i,width:v+w,height:_+w}}return{x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0}},r.prototype.isFill=function(){var t=this.attr(),o=t.fill,n=t.fillStyle;return(o||n||this.isClipShape())&&this.canFill},r.prototype.isStroke=function(){var t=this.attr(),o=t.stroke,n=t.strokeStyle;return(o||n)&&this.canStroke},r.prototype.draw=function(t,o){var n=this.get("el");this.get("destroyed")?n&&n.parentNode.removeChild(n):(n||(0,pt.WV)(this),(0,ut.r7)(this,t),this.createPath(t,o),this.shadow(t,o),this.strokeAndFill(t,o),this.transform(o))},r.prototype.createPath=function(t,o){},r.prototype.strokeAndFill=function(t,o){var n=o||this.attr(),e=n.fill,c=n.fillStyle,v=n.stroke,_=n.strokeStyle,w=n.fillOpacity,d=n.strokeOpacity,u=n.lineWidth,y=this.get("el");this.canFill&&(o?"fill"in n?this._setColor(t,"fill",e):"fillStyle"in n&&this._setColor(t,"fill",c):this._setColor(t,"fill",e||c),w&&y.setAttribute(W.A8.fillOpacity,w)),this.canStroke&&u>0&&(o?"stroke"in n?this._setColor(t,"stroke",v):"strokeStyle"in n&&this._setColor(t,"stroke",_):this._setColor(t,"stroke",v||_),d&&y.setAttribute(W.A8.strokeOpacity,d),u&&y.setAttribute(W.A8.lineWidth,u))},r.prototype._setColor=function(t,o,n){var e=this.get("el");if(!n){e.setAttribute(W.A8[o],"none");return}if(n=n.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(n)){var c=t.find("gradient",n);c||(c=t.addGradient(n)),e.setAttribute(W.A8[o],"url(#"+c+")")}else if(/^[p,P]{1}[\s]*\(/.test(n)){var c=t.find("pattern",n);c||(c=t.addPattern(n)),e.setAttribute(W.A8[o],"url(#"+c+")")}else e.setAttribute(W.A8[o],n)},r.prototype.shadow=function(t,o){var n=this.attr(),e=o||n,c=e.shadowOffsetX,v=e.shadowOffsetY,_=e.shadowBlur,w=e.shadowColor;(c||v||_||w)&&(0,ut.kr)(this,t)},r.prototype.transform=function(t){var o=this.attr(),n=(t||o).matrix;n&&(0,ut.B2)(this)},r.prototype.isInShape=function(t,o){return this.isPointInPath(t,o)},r.prototype.isPointInPath=function(t,o){var n=this.get("el"),e=this.get("canvas"),c=e.get("el").getBoundingClientRect(),v=t+c.left,_=o+c.top,w=document.elementFromPoint(v,_);return!!(w&&w.isEqualNode(n))},r.prototype.getHitLineWidth=function(){var t=this.attrs,o=t.lineWidth,n=t.lineAppendWidth;return this.isStroke()?o+n:0},r}(wt.AbstractShape),yt=at,lt=U(49242),G=function(f){(0,E.__extends)(r,f);function r(){var t=f!==null&&f.apply(this,arguments)||this;return t.type="circle",t.canFill=!0,t.canStroke=!0,t}return r.prototype.getDefaultAttrs=function(){var t=f.prototype.getDefaultAttrs.call(this);return(0,E.__assign)((0,E.__assign)({},t),{x:0,y:0,r:0})},r.prototype.createPath=function(t,o){var n=this.attr(),e=this.get("el");(0,lt.each)(o||n,function(c,v){v==="x"||v==="y"?e.setAttribute("c"+v,c):W.A8[v]&&e.setAttribute(W.A8[v],c)})},r}(yt),H=G,X=function(f){(0,E.__extends)(r,f);function r(){var t=f!==null&&f.apply(this,arguments)||this;return t.type="dom",t.canFill=!1,t.canStroke=!1,t}return r.prototype.createPath=function(t,o){var n=this.attr(),e=this.get("el");if((0,lt.each)(o||n,function(w,d){W.A8[d]&&e.setAttribute(W.A8[d],w)}),typeof n.html=="function"){var c=n.html.call(this,n);if(c instanceof Element||c instanceof HTMLDocument){for(var v=e.childNodes,_=v.length-1;_>=0;_--)e.removeChild(v[_]);e.appendChild(c)}else e.innerHTML=c}else e.innerHTML=n.html},r}(yt),O=X,F=function(f){(0,E.__extends)(r,f);function r(){var t=f!==null&&f.apply(this,arguments)||this;return t.type="ellipse",t.canFill=!0,t.canStroke=!0,t}return r.prototype.getDefaultAttrs=function(){var t=f.prototype.getDefaultAttrs.call(this);return(0,E.__assign)((0,E.__assign)({},t),{x:0,y:0,rx:0,ry:0})},r.prototype.createPath=function(t,o){var n=this.attr(),e=this.get("el");(0,lt.each)(o||n,function(c,v){v==="x"||v==="y"?e.setAttribute("c"+v,c):W.A8[v]&&e.setAttribute(W.A8[v],c)})},r}(yt),ht=F,st=function(f){(0,E.__extends)(r,f);function r(){var t=f!==null&&f.apply(this,arguments)||this;return t.type="image",t.canFill=!1,t.canStroke=!1,t}return r.prototype.getDefaultAttrs=function(){var t=f.prototype.getDefaultAttrs.call(this);return(0,E.__assign)((0,E.__assign)({},t),{x:0,y:0,width:0,height:0})},r.prototype.createPath=function(t,o){var n=this,e=this.attr(),c=this.get("el");(0,lt.each)(o||e,function(v,_){_==="img"?n._setImage(e.img):W.A8[_]&&c.setAttribute(W.A8[_],v)})},r.prototype.setAttr=function(t,o){this.attrs[t]=o,t==="img"&&this._setImage(o)},r.prototype._setImage=function(t){var o=this.attr(),n=this.get("el");if((0,lt.isString)(t))n.setAttribute("href",t);else if(t instanceof window.Image)o.width||(n.setAttribute("width",t.width),this.attr("width",t.width)),o.height||(n.setAttribute("height",t.height),this.attr("height",t.height)),n.setAttribute("href",t.src);else if(t instanceof HTMLElement&&(0,lt.isString)(t.nodeName)&&t.nodeName.toUpperCase()==="CANVAS")n.setAttribute("href",t.toDataURL());else if(t instanceof ImageData){var e=document.createElement("canvas");e.setAttribute("width",""+t.width),e.setAttribute("height",""+t.height),e.getContext("2d").putImageData(t,0,0),o.width||(n.setAttribute("width",""+t.width),this.attr("width",t.width)),o.height||(n.setAttribute("height",""+t.height),this.attr("height",t.height)),n.setAttribute("href",e.toDataURL())}},r}(yt),Y=st,A=U(89838),P=function(f){(0,E.__extends)(r,f);function r(){var t=f!==null&&f.apply(this,arguments)||this;return t.type="line",t.canFill=!1,t.canStroke=!0,t}return r.prototype.getDefaultAttrs=function(){var t=f.prototype.getDefaultAttrs.call(this);return(0,E.__assign)((0,E.__assign)({},t),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},r.prototype.createPath=function(t,o){var n=this.attr(),e=this.get("el");(0,lt.each)(o||n,function(c,v){if(v==="startArrow"||v==="endArrow")if(c){var _=(0,lt.isObject)(c)?t.addArrow(n,W.A8[v]):t.getDefaultArrow(n,W.A8[v]);e.setAttribute(W.A8[v],"url(#"+_+")")}else e.removeAttribute(W.A8[v]);else W.A8[v]&&e.setAttribute(W.A8[v],c)})},r.prototype.getTotalLength=function(){var t=this.attr(),o=t.x1,n=t.y1,e=t.x2,c=t.y2;return A.x1.length(o,n,e,c)},r.prototype.getPoint=function(t){var o=this.attr(),n=o.x1,e=o.y1,c=o.x2,v=o.y2;return A.x1.pointAt(n,e,c,v,t)},r}(yt),z=P,Z={circle:function(f,r,t){return[["M",f,r],["m",-t,0],["a",t,t,0,1,0,t*2,0],["a",t,t,0,1,0,-t*2,0]]},square:function(f,r,t){return[["M",f-t,r-t],["L",f+t,r-t],["L",f+t,r+t],["L",f-t,r+t],["Z"]]},diamond:function(f,r,t){return[["M",f-t,r],["L",f,r-t],["L",f+t,r],["L",f,r+t],["Z"]]},triangle:function(f,r,t){var o=t*Math.sin(1/3*Math.PI);return[["M",f-t,r+o],["L",f,r-o],["L",f+t,r+o],["z"]]},triangleDown:function(f,r,t){var o=t*Math.sin(1/3*Math.PI);return[["M",f-t,r-o],["L",f+t,r-o],["L",f,r+o],["Z"]]}},dt={get:function(f){return Z[f]},register:function(f,r){Z[f]=r},remove:function(f){delete Z[f]},getAll:function(){return Z}},Et=function(f){(0,E.__extends)(r,f);function r(){var t=f!==null&&f.apply(this,arguments)||this;return t.type="marker",t.canFill=!0,t.canStroke=!0,t}return r.prototype.createPath=function(t){var o=this.get("el");o.setAttribute("d",this._assembleMarker())},r.prototype._assembleMarker=function(){var t=this._getPath();return(0,lt.isArray)(t)?t.map(function(o){return o.join(" ")}).join(""):t},r.prototype._getPath=function(){var t=this.attr(),o=t.x,n=t.y,e=t.r||t.radius,c=t.symbol||"circle",v;return(0,lt.isFunction)(c)?v=c:v=dt.get(c),v?v(o,n,e):(console.warn(v+" symbol is not exist."),null)},r.symbolsFactory=dt,r}(yt),Ot=Et,Kt=function(f){(0,E.__extends)(r,f);function r(){var t=f!==null&&f.apply(this,arguments)||this;return t.type="path",t.canFill=!0,t.canStroke=!0,t}return r.prototype.getDefaultAttrs=function(){var t=f.prototype.getDefaultAttrs.call(this);return(0,E.__assign)((0,E.__assign)({},t),{startArrow:!1,endArrow:!1})},r.prototype.createPath=function(t,o){var n=this,e=this.attr(),c=this.get("el");(0,lt.each)(o||e,function(v,_){if(_==="path"&&(0,lt.isArray)(v))c.setAttribute("d",n._formatPath(v));else if(_==="startArrow"||_==="endArrow")if(v){var w=(0,lt.isObject)(v)?t.addArrow(e,W.A8[_]):t.getDefaultArrow(e,W.A8[_]);c.setAttribute(W.A8[_],"url(#"+w+")")}else c.removeAttribute(W.A8[_]);else W.A8[_]&&c.setAttribute(W.A8[_],v)})},r.prototype._formatPath=function(t){var o=t.map(function(n){return n.join(" ")}).join("");return~o.indexOf("NaN")?"":o},r.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},r.prototype.getPoint=function(t){var o=this.get("el"),n=this.getTotalLength();if(n===0)return null;var e=o?o.getPointAtLength(t*n):null;return e?{x:e.x,y:e.y}:null},r}(yt),Ht=Kt,Bt=function(f){(0,E.__extends)(r,f);function r(){var t=f!==null&&f.apply(this,arguments)||this;return t.type="polygon",t.canFill=!0,t.canStroke=!0,t}return r.prototype.createPath=function(t,o){var n=this.attr(),e=this.get("el");(0,lt.each)(o||n,function(c,v){v==="points"&&(0,lt.isArray)(c)&&c.length>=2?e.setAttribute("points",c.map(function(_){return _[0]+","+_[1]}).join(" ")):W.A8[v]&&e.setAttribute(W.A8[v],c)})},r}(yt),Lt=Bt,zt=function(f){(0,E.__extends)(r,f);function r(){var t=f!==null&&f.apply(this,arguments)||this;return t.type="polyline",t.canFill=!0,t.canStroke=!0,t}return r.prototype.getDefaultAttrs=function(){var t=f.prototype.getDefaultAttrs.call(this);return(0,E.__assign)((0,E.__assign)({},t),{startArrow:!1,endArrow:!1})},r.prototype.onAttrChange=function(t,o,n){f.prototype.onAttrChange.call(this,t,o,n),["points"].indexOf(t)!==-1&&this._resetCache()},r.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},r.prototype.createPath=function(t,o){var n=this.attr(),e=this.get("el");(0,lt.each)(o||n,function(c,v){v==="points"&&(0,lt.isArray)(c)&&c.length>=2?e.setAttribute("points",c.map(function(_){return _[0]+","+_[1]}).join(" ")):W.A8[v]&&e.setAttribute(W.A8[v],c)})},r.prototype.getTotalLength=function(){var t=this.attr().points,o=this.get("totalLength");return(0,lt.isNil)(o)?(this.set("totalLength",A.aH.length(t)),this.get("totalLength")):o},r.prototype.getPoint=function(t){var o=this.attr().points,n=this.get("tCache");n||(this._setTcache(),n=this.get("tCache"));var e,c;return(0,lt.each)(n,function(v,_){t>=v[0]&&t<=v[1]&&(e=(t-v[0])/(v[1]-v[0]),c=_)}),A.x1.pointAt(o[c][0],o[c][1],o[c+1][0],o[c+1][1],e)},r.prototype._setTcache=function(){var t=this.attr().points;if(!(!t||t.length===0)){var o=this.getTotalLength();if(!(o<=0)){var n=0,e=[],c,v;(0,lt.each)(t,function(_,w){t[w+1]&&(c=[],c[0]=n/o,v=A.x1.length(_[0],_[1],t[w+1][0],t[w+1][1]),n+=v,c[1]=n/o,e.push(c))}),this.set("tCache",e)}}},r.prototype.getStartTangent=function(){var t=this.attr().points,o=[];return o.push([t[1][0],t[1][1]]),o.push([t[0][0],t[0][1]]),o},r.prototype.getEndTangent=function(){var t=this.attr().points,o=t.length-1,n=[];return n.push([t[o-1][0],t[o-1][1]]),n.push([t[o][0],t[o][1]]),n},r}(yt),ft=zt,rt=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,a=/[^\s,]+/gi;function l(f){var r=0,t=0,o=0,n=0;return(0,lt.isArray)(f)?f.length===1?r=t=o=n=f[0]:f.length===2?(r=o=f[0],t=n=f[1]):f.length===3?(r=f[0],t=n=f[1],o=f[2]):(r=f[0],t=f[1],o=f[2],n=f[3]):r=t=o=n=f,{r1:r,r2:t,r3:o,r4:n}}function T(f){if(f=f||[],isArray(f))return f;if(isString(f))return f=f.match(rt),each(f,function(r,t){if(r=r.match(a),r[0].length>1){var o=r[0].charAt(0);r.splice(1,0,r[0].substr(1)),r[0]=o}each(r,function(n,e){isNaN(n)||(r[e]=+n)}),f[t]=r}),f}var q=function(f){(0,E.__extends)(r,f);function r(){var t=f!==null&&f.apply(this,arguments)||this;return t.type="rect",t.canFill=!0,t.canStroke=!0,t}return r.prototype.getDefaultAttrs=function(){var t=f.prototype.getDefaultAttrs.call(this);return(0,E.__assign)((0,E.__assign)({},t),{x:0,y:0,width:0,height:0,radius:0})},r.prototype.createPath=function(t,o){var n=this,e=this.attr(),c=this.get("el"),v=!1,_=["x","y","width","height","radius"];(0,lt.each)(o||e,function(w,d){_.indexOf(d)!==-1&&!v?(c.setAttribute("d",n._assembleRect(e)),v=!0):_.indexOf(d)===-1&&W.A8[d]&&c.setAttribute(W.A8[d],w)})},r.prototype._assembleRect=function(t){var o=t.x,n=t.y,e=t.width,c=t.height,v=t.radius;if(!v)return"M "+o+","+n+" l "+e+",0 l 0,"+c+" l"+-e+" 0 z";var _=l(v);(0,lt.isArray)(v)?v.length===1?_.r1=_.r2=_.r3=_.r4=v[0]:v.length===2?(_.r1=_.r3=v[0],_.r2=_.r4=v[1]):v.length===3?(_.r1=v[0],_.r2=_.r4=v[1],_.r3=v[2]):(_.r1=v[0],_.r2=v[1],_.r3=v[2],_.r4=v[3]):_.r1=_.r2=_.r3=_.r4=v;var w=[["M "+(o+_.r1)+","+n],["l "+(e-_.r1-_.r2)+",0"],["a "+_.r2+","+_.r2+",0,0,1,"+_.r2+","+_.r2],["l 0,"+(c-_.r2-_.r3)],["a "+_.r3+","+_.r3+",0,0,1,"+-_.r3+","+_.r3],["l "+(_.r3+_.r4-e)+",0"],["a "+_.r4+","+_.r4+",0,0,1,"+-_.r4+","+-_.r4],["l 0,"+(_.r4+_.r1-c)],["a "+_.r1+","+_.r1+",0,0,1,"+_.r1+","+-_.r1],["z"]];return w.join(" ")},r}(yt),xt=q,x=U(43631),b=.3,I={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},S={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},V={left:"left",start:"left",center:"middle",right:"end",end:"end"},ct=function(f){(0,E.__extends)(r,f);function r(){var t=f!==null&&f.apply(this,arguments)||this;return t.type="text",t.canFill=!0,t.canStroke=!0,t}return r.prototype.getDefaultAttrs=function(){var t=f.prototype.getDefaultAttrs.call(this);return(0,E.__assign)((0,E.__assign)({},t),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},r.prototype.createPath=function(t,o){var n=this,e=this.attr(),c=this.get("el");this._setFont(),(0,lt.each)(o||e,function(v,_){_==="text"?n._setText(""+v):_==="matrix"&&v?(0,ut.B2)(n):W.A8[_]&&c.setAttribute(W.A8[_],v)}),c.setAttribute("paint-order","stroke"),c.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},r.prototype._setFont=function(){var t=this.get("el"),o=this.attr(),n=o.textBaseline,e=o.textAlign,c=(0,x.qY)();c&&c.name==="firefox"?t.setAttribute("dominant-baseline",S[n]||"alphabetic"):t.setAttribute("alignment-baseline",I[n]||"baseline"),t.setAttribute("text-anchor",V[e]||"left")},r.prototype._setText=function(t){var o=this.get("el"),n=this.attr(),e=n.x,c=n.textBaseline,v=c===void 0?"bottom":c;if(!t)o.innerHTML="";else if(~t.indexOf(`
  14. `)){var _=t.split(`
  15. `),w=_.length-1,d="";(0,lt.each)(_,function(u,y){y===0?v==="alphabetic"?d+='<tspan x="'+e+'" dy="'+-w+'em">'+u+"</tspan>":v==="top"?d+='<tspan x="'+e+'" dy="0.9em">'+u+"</tspan>":v==="middle"?d+='<tspan x="'+e+'" dy="'+-(w-1)/2+'em">'+u+"</tspan>":v==="bottom"?d+='<tspan x="'+e+'" dy="-'+(w+b)+'em">'+u+"</tspan>":v==="hanging"&&(d+='<tspan x="'+e+'" dy="'+(-(w-1)-b)+'em">'+u+"</tspan>"):d+='<tspan x="'+e+'" dy="1em">'+u+"</tspan>"}),o.innerHTML=d}else o.innerHTML=t},r}(yt),C=ct},19372:function(nr,St,U){"use strict";U.d(St,{rS:function(){return wt},WV:function(){return ut},ZL:function(){return pt},Ao:function(){return Q}});var j=U(49242),E=U(37486);function wt(W){return document.createElementNS("http://www.w3.org/2000/svg",W)}function ut(W){var $=E.CX[W.type],at=W.getParent();if(!$)throw new Error("the type "+W.type+" is not supported by svg");var yt=wt($);if(W.get("id")&&(yt.id=W.get("id")),W.set("el",yt),W.set("attrs",{}),at){var lt=at.get("el");lt||(lt=at.createDom(),at.set("el",lt)),lt.appendChild(yt)}return yt}function pt(W,$){var at=W.get("el"),yt=(0,j.toArray)(at.children).sort($),lt=document.createDocumentFragment();yt.forEach(function(G){lt.appendChild(G)}),at.appendChild(lt)}function Q(W,$){var at=W.parentNode,yt=Array.from(at.childNodes).filter(function(X){return X.nodeType===1&&X.nodeName.toLowerCase()!=="defs"}),lt=yt[$],G=yt.indexOf(W);if(lt){if(G>$)at.insertBefore(W,lt);else if(G<$){var H=yt[$+1];H?at.insertBefore(W,H):at.appendChild(W)}}else at.appendChild(W)}},9051:function(nr,St,U){"use strict";U.d(St,{N:function(){return wt},m:function(){return ut}});var j=U(56814),E=U(19372);function wt(pt,Q){Q.forEach(function(W){W.draw(pt)})}function ut(pt,Q){var W=pt.get("canvas");if(W&&W.get("autoDraw")){var $=W.get("context"),at=pt.getParent(),yt=at?at.getChildren():[W],lt=pt.get("el");if(Q==="remove"){var G=pt.get("isClipShape");if(G){var H=lt&&lt.parentNode,X=H&&H.parentNode;H&&X&&X.removeChild(H)}else lt&&lt.parentNode&&lt.parentNode.removeChild(lt)}else if(Q==="show")lt.setAttribute("visibility","visible");else if(Q==="hide")lt.setAttribute("visibility","hidden");else if(Q==="zIndex")(0,E.Ao)(lt,yt.indexOf(pt));else if(Q==="sort"){var O=pt.get("children");O&&O.length&&(0,E.ZL)(pt,function(F,ht){return O.indexOf(F)-O.indexOf(ht)?1:0})}else Q==="clear"?lt&&(lt.innerHTML=""):Q==="matrix"?(0,j.B2)(pt):Q==="clip"?(0,j.r7)(pt,$):Q==="attr"||Q==="add"&&pt.draw($)}}},56814:function(nr,St,U){"use strict";U.d(St,{kr:function(){return E},B2:function(){return wt},r7:function(){return ut}});var j=U(19372);function E(pt,Q){var W=pt.cfg.el,$=pt.attr(),at={dx:$.shadowOffsetX,dy:$.shadowOffsetY,blur:$.shadowBlur,color:$.shadowColor};if(!at.dx&&!at.dy&&!at.blur&&!at.color)W.removeAttribute("filter");else{var yt=Q.find("filter",at);yt||(yt=Q.addShadow(at)),W.setAttribute("filter","url(#"+yt+")")}}function wt(pt){var Q=pt.attr().matrix;if(Q){for(var W=pt.cfg.el,$=[],at=0;at<9;at+=3)$.push(Q[at]+","+Q[at+1]);$=$.join(","),$.indexOf("NaN")===-1?W.setAttribute("transform","matrix("+$+")"):console.warn("invalid matrix:",Q)}}function ut(pt,Q){var W=pt.getClip(),$=pt.get("el");if(!W)$.removeAttribute("clip-path");else if(W&&!$.hasAttribute("clip-path")){(0,j.WV)(W),W.createPath(Q);var at=Q.addClip(W);$.setAttribute("clip-path","url(#"+at+")")}}},31506:function(nr,St,U){"use strict";U.d(St,{m$:function(){return wt},zu:function(){return ut},lh:function(){return pt},vs:function(){return W},Dg:function(){return at}});var j=U(35600),E=U(31437);function wt(lt,G,H){var X=[0,0,0,0,0,0,0,0,0];return j.fromTranslation(X,H),j.multiply(lt,X,G)}function ut(lt,G,H){var X=[0,0,0,0,0,0,0,0,0];return j.fromRotation(X,H),j.multiply(lt,X,G)}function pt(lt,G,H){var X=[0,0,0,0,0,0,0,0,0];return j.fromScaling(X,H),j.multiply(lt,X,G)}function Q(lt,G,H){return j.multiply(lt,H,G)}function W(lt,G){for(var H=lt?[].concat(lt):[1,0,0,0,1,0,0,0,1],X=0,O=G.length;X<O;X++){var F=G[X];switch(F[0]){case"t":wt(H,H,[F[1],F[2]]);break;case"s":pt(H,H,[F[1],F[2]]);break;case"r":ut(H,H,F[1]);break;case"m":Q(H,H,F[1]);break;default:break}}return H}function $(lt,G){return lt[0]*G[1]-G[0]*lt[1]}function at(lt,G,H){var X=E.angle(lt,G),O=$(lt,G)>=0;return H?O?Math.PI*2-X:X:O?X:Math.PI*2-X}function yt(lt,G,H){return H?(lt[0]=G[1],lt[1]=-1*G[0]):(lt[0]=-1*G[1],lt[1]=G[0]),lt}},80389:function(nr,St,U){"use strict";U.d(St,{e9:function(){return at},Wq:function(){return M},tr:function(){return F},wb:function(){return Y},zx:function(){return t}});var j=U(49242),E=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/ig,wt=/[^\s\,]+/ig;function ut(i){var s=i||[];if((0,j.isArray)(s))return s;if((0,j.isString)(s))return s=s.match(E),(0,j.each)(s,function(h,B){if(h=h.match(wt),h[0].length>1){var K=h[0].charAt(0);h.splice(1,0,h[0].substr(1)),h[0]=K}(0,j.each)(h,function(it,ot){isNaN(it)||(h[ot]=+it)}),s[B]=h}),s}var pt=ut,Q=U(31437);function W(i,s,h,B){var K=[],it=!!B,ot,gt,vt,Pt,Ct,Yt,Zt;if(it){vt=B[0],Pt=B[1];for(var Tt=0,Xt=i.length;Tt<Xt;Tt+=1){var Wt=i[Tt];vt=Q.min([0,0],vt,Wt),Pt=Q.max([0,0],Pt,Wt)}}for(var Tt=0,Vt=i.length;Tt<Vt;Tt+=1){var Wt=i[Tt];if(Tt===0&&!h)Zt=Wt;else if(Tt===Vt-1&&!h)Yt=Wt,K.push(Zt),K.push(Yt);else{var Nt=[Tt?Tt-1:Vt-1,Tt-1][h?0:1];ot=i[Nt],gt=i[h?(Tt+1)%Vt:Tt+1];var Gt=[0,0];Gt=Q.sub(Gt,gt,ot),Gt=Q.scale(Gt,Gt,s);var Jt=Q.distance(Wt,ot),qt=Q.distance(Wt,gt),jt=Jt+qt;jt!==0&&(Jt/=jt,qt/=jt);var er=Q.scale([0,0],Gt,-Jt),ar=Q.scale([0,0],Gt,qt);Yt=Q.add([0,0],Wt,er),Ct=Q.add([0,0],Wt,ar),Ct=Q.min([0,0],Ct,Q.max([0,0],gt,Wt)),Ct=Q.max([0,0],Ct,Q.min([0,0],gt,Wt)),er=Q.sub([0,0],Ct,Wt),er=Q.scale([0,0],er,-Jt/qt),Yt=Q.add([0,0],Wt,er),Yt=Q.min([0,0],Yt,Q.max([0,0],ot,Wt)),Yt=Q.max([0,0],Yt,Q.min([0,0],ot,Wt)),ar=Q.sub([0,0],Wt,Yt),ar=Q.scale([0,0],ar,qt/Jt),Ct=Q.add([0,0],Wt,ar),it&&(Yt=Q.max([0,0],Yt,vt),Yt=Q.min([0,0],Yt,Pt),Ct=Q.max([0,0],Ct,vt),Ct=Q.min([0,0],Ct,Pt)),K.push(Zt),K.push(Yt),Zt=Ct}}return h&&K.push(K.shift()),K}function $(i,s,h){s===void 0&&(s=!1),h===void 0&&(h=[[0,0],[1,1]]);for(var B=!!s,K=[],it=0,ot=i.length;it<ot;it+=2)K.push([i[it],i[it+1]]);for(var gt=W(K,.4,B,h),vt=K.length,Pt=[],Ct,Yt,Zt,it=0;it<vt-1;it+=1)Ct=gt[it*2],Yt=gt[it*2+1],Zt=K[it+1],Pt.push(["C",Ct[0],Ct[1],Yt[0],Yt[1],Zt[0],Zt[1]]);return B&&(Ct=gt[vt],Yt=gt[vt+1],Zt=K[0],Pt.push(["C",Ct[0],Ct[1],Yt[0],Yt[1],Zt[0],Zt[1]])),Pt}var at=$;function yt(i,s,h){var B=null,K=h;return s<K&&(K=s,B="add"),i<K&&(K=i,B="del"),{type:B,min:K}}var lt=function(i,s){var h=i.length,B=s.length,K,it,ot=0;if(h===0||B===0)return null;for(var gt=[],vt=0;vt<=h;vt++)gt[vt]=[],gt[vt][0]={min:vt};for(var Pt=0;Pt<=B;Pt++)gt[0][Pt]={min:Pt};for(var vt=1;vt<=h;vt++){K=i[vt-1];for(var Pt=1;Pt<=B;Pt++){it=s[Pt-1],isEqual(K,it)?ot=0:ot=1;var Ct=gt[vt-1][Pt].min+1,Yt=gt[vt][Pt-1].min+1,Zt=gt[vt-1][Pt-1].min+ot;gt[vt][Pt]=yt(Ct,Yt,Zt)}}return gt};function G(i,s){var h=lt(i,s),B=i.length,K=s.length,it=[],ot=1,gt=1;if(h[B][K]!==B){for(var vt=1;vt<=B;vt++){var Pt=h[vt][vt].min;gt=vt;for(var Ct=ot;Ct<=K;Ct++)h[vt][Ct].min<Pt&&(Pt=h[vt][Ct].min,gt=Ct);ot=gt,h[vt][ot].type&&it.push({index:vt-1,type:h[vt][ot].type})}for(var vt=it.length-1;vt>=0;vt--)ot=it[vt].index,it[vt].type==="add"?i.splice(ot,0,[].concat(i[ot])):i.splice(ot,1)}if(B=i.length,B<K)for(var vt=0;vt<K-B;vt++)i[B-1][0]==="z"||i[B-1][0]==="Z"?i.splice(B-2,0,i[B-2]):i.push(i[B-1]);return i}var H=`
  16. \v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029`,X=new RegExp("([a-z])["+H+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+H+"]*,?["+H+"]*)+)","ig"),O=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+H+"]*,?["+H+"]*","ig");function F(i){if(!i)return null;if((0,j.isArray)(i))return i;var s={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},h=[];return String(i).replace(X,function(B,K,it){var ot=[],gt=K.toLowerCase();if(it.replace(O,function(vt,Pt){Pt&&ot.push(+Pt)}),gt==="m"&&ot.length>2&&(h.push([K].concat(ot.splice(0,2))),gt="l",K=K==="m"?"l":"L"),gt==="o"&&ot.length===1&&h.push([K,ot[0]]),gt==="r")h.push([K].concat(ot));else for(;ot.length>=s[gt]&&(h.push([K].concat(ot.splice(0,s[gt]))),!!s[gt]););return""}),h}var ht=/[a-z]/;function st(i,s){return[s[0]+(s[0]-i[0]),s[1]+(s[1]-i[1])]}function Y(i){var s=F(i);if(!s||!s.length)return[["M",0,0]];for(var h=!1,B=0;B<s.length;B++){var K=s[B][0];if(ht.test(K)||["V","H","T","S"].indexOf(K)>=0){h=!0;break}}if(!h)return s;var it=[],ot=0,gt=0,vt=0,Pt=0,Ct=0,Yt,Zt,Tt=s[0];(Tt[0]==="M"||Tt[0]==="m")&&(ot=+Tt[1],gt=+Tt[2],vt=ot,Pt=gt,Ct++,it[0]=["M",ot,gt]);for(var B=Ct,Xt=s.length;B<Xt;B++){var Wt=s[B],Vt=it[B-1],Nt=[],K=Wt[0],Gt=K.toUpperCase();if(K!==Gt)switch(Nt[0]=Gt,Gt){case"A":Nt[1]=Wt[1],Nt[2]=Wt[2],Nt[3]=Wt[3],Nt[4]=Wt[4],Nt[5]=Wt[5],Nt[6]=+Wt[6]+ot,Nt[7]=+Wt[7]+gt;break;case"V":Nt[1]=+Wt[1]+gt;break;case"H":Nt[1]=+Wt[1]+ot;break;case"M":vt=+Wt[1]+ot,Pt=+Wt[2]+gt,Nt[1]=vt,Nt[2]=Pt;break;default:for(var Jt=1,qt=Wt.length;Jt<qt;Jt++)Nt[Jt]=+Wt[Jt]+(Jt%2?ot:gt)}else Nt=s[B];switch(Gt){case"Z":ot=+vt,gt=+Pt;break;case"H":ot=Nt[1],Nt=["L",ot,gt];break;case"V":gt=Nt[1],Nt=["L",ot,gt];break;case"T":ot=Nt[1],gt=Nt[2];var jt=st([Vt[1],Vt[2]],[Vt[3],Vt[4]]);Nt=["Q",jt[0],jt[1],ot,gt];break;case"S":ot=Nt[Nt.length-2],gt=Nt[Nt.length-1];var er=Vt.length,ar=st([Vt[er-4],Vt[er-3]],[Vt[er-2],Vt[er-1]]);Nt=["C",ar[0],ar[1],Nt[1],Nt[2],ot,gt];break;case"M":vt=Nt[Nt.length-2],Pt=Nt[Nt.length-1];break;default:ot=Nt[Nt.length-2],gt=Nt[Nt.length-1]}it.push(Nt)}return it}var A=Math.PI*2,P=function(i,s,h,B,K,it,ot){var gt=i.x,vt=i.y;gt*=s,vt*=h;var Pt=B*gt-K*vt,Ct=K*gt+B*vt;return{x:Pt+it,y:Ct+ot}},z=function(i,s){var h=s===1.5707963267948966?.551915024494:s===-1.5707963267948966?-.551915024494:4/3*Math.tan(s/4),B=Math.cos(i),K=Math.sin(i),it=Math.cos(i+s),ot=Math.sin(i+s);return[{x:B-K*h,y:K+B*h},{x:it+ot*h,y:ot-it*h},{x:it,y:ot}]},Z=function(i,s,h,B){var K=i*B-s*h<0?-1:1,it=i*h+s*B;return it>1&&(it=1),it<-1&&(it=-1),K*Math.acos(it)},dt=function(i,s,h,B,K,it,ot,gt,vt,Pt,Ct,Yt){var Zt=Math.pow(K,2),Tt=Math.pow(it,2),Xt=Math.pow(Ct,2),Wt=Math.pow(Yt,2),Vt=Zt*Tt-Zt*Wt-Tt*Xt;Vt<0&&(Vt=0),Vt/=Zt*Wt+Tt*Xt,Vt=Math.sqrt(Vt)*(ot===gt?-1:1);var Nt=Vt*K/it*Yt,Gt=Vt*-it/K*Ct,Jt=Pt*Nt-vt*Gt+(i+h)/2,qt=vt*Nt+Pt*Gt+(s+B)/2,jt=(Ct-Nt)/K,er=(Yt-Gt)/it,ar=(-Ct-Nt)/K,cr=(-Yt-Gt)/it,dr=Z(1,0,jt,er),lr=Z(jt,er,ar,cr);return gt===0&&lr>0&&(lr-=A),gt===1&&lr<0&&(lr+=A),[Jt,qt,dr,lr]},Et=function(i){var s=i.px,h=i.py,B=i.cx,K=i.cy,it=i.rx,ot=i.ry,gt=i.xAxisRotation,vt=gt===void 0?0:gt,Pt=i.largeArcFlag,Ct=Pt===void 0?0:Pt,Yt=i.sweepFlag,Zt=Yt===void 0?0:Yt,Tt=[];if(it===0||ot===0)return[{x1:0,y1:0,x2:0,y2:0,x:B,y:K}];var Xt=Math.sin(vt*A/360),Wt=Math.cos(vt*A/360),Vt=Wt*(s-B)/2+Xt*(h-K)/2,Nt=-Xt*(s-B)/2+Wt*(h-K)/2;if(Vt===0&&Nt===0)return[{x1:0,y1:0,x2:0,y2:0,x:B,y:K}];it=Math.abs(it),ot=Math.abs(ot);var Gt=Math.pow(Vt,2)/Math.pow(it,2)+Math.pow(Nt,2)/Math.pow(ot,2);Gt>1&&(it*=Math.sqrt(Gt),ot*=Math.sqrt(Gt));var Jt=dt(s,h,B,K,it,ot,Ct,Zt,Xt,Wt,Vt,Nt),qt=Jt[0],jt=Jt[1],er=Jt[2],ar=Jt[3],cr=Math.abs(ar)/(A/4);Math.abs(1-cr)<1e-7&&(cr=1);var dr=Math.max(Math.ceil(cr),1);ar/=dr;for(var lr=0;lr<dr;lr++)Tt.push(z(er,ar)),er+=ar;return Tt.map(function(Dr){var Tr=P(Dr[0],it,ot,Wt,Xt,qt,jt),vr=Tr.x,Er=Tr.y,_r=P(Dr[1],it,ot,Wt,Xt,qt,jt),pr=_r.x,Lr=_r.y,yr=P(Dr[2],it,ot,Wt,Xt,qt,jt),Rr=yr.x,Nr=yr.y;return{x1:vr,y1:Er,x2:pr,y2:Lr,x:Rr,y:Nr}})};function Ot(i,s,h,B,K,it,ot,gt,vt){var Pt=Et({px:i,py:s,cx:gt,cy:vt,rx:h,ry:B,xAxisRotation:K,largeArcFlag:it,sweepFlag:ot});return Pt.reduce(function(Ct,Yt){var Zt=Yt.x1,Tt=Yt.y1,Xt=Yt.x2,Wt=Yt.y2,Vt=Yt.x,Nt=Yt.y;return Ct.push(Zt,Tt,Xt,Wt,Vt,Nt),Ct},[])}function Kt(i,s){"TQ".indexOf(i[0])<0&&(s.qx=null,s.qy=null);var h=i.slice(1),B=h[0],K=h[1];switch(i[0]){case"M":return s.x=B,s.y=K,i;case"A":return["C"].concat(arcToCubic.apply(0,[s.x1,s.y1].concat(i.slice(1))));case"Q":return s.qx=B,s.qy=K,["C"].concat(quadToCubic.apply(0,[s.x1,s.y1].concat(i.slice(1))));case"L":return["C"].concat(lineToCubic(s.x1,s.y1,i[1],i[2]));case"H":return["C"].concat(lineToCubic(s.x1,s.y1,i[1],s.y1));case"V":return["C"].concat(lineToCubic(s.x1,s.y1,s.x1,i[1]));case"Z":return["C"].concat(lineToCubic(s.x1,s.y1,s.x,s.y));default:}return i}function Ht(i,s){s===void 0&&(s=!1);for(var h=path2Absolute(i),B={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null},K=[],it="",ot=h.length,gt,vt,Pt=[],Ct=0;Ct<ot;Ct+=1)h[Ct]&&(it=h[Ct][0]),K[Ct]=it,h[Ct]=segmentToCubic(h[Ct],B),Bt(h,K,Ct),ot=h.length,it==="Z"&&Pt.push(Ct),gt=h[Ct],vt=gt.length,B.x1=+gt[vt-2],B.y1=+gt[vt-1],B.x2=+gt[vt-4]||B.x1,B.y2=+gt[vt-3]||B.y1;return s?[h,Pt]:h}function Bt(i,s,h){if(i[h].length>7){i[h].shift();for(var B=i[h],K=h;B.length;)s[h]="A",i.splice(K+=1,0,["C"].concat(B.splice(0,6)));i.splice(h,1)}}var Lt=function(i,s,h,B,K){var it=-3*s+9*h-9*B+3*K,ot=i*it+6*s-12*h+6*B;return i*ot-3*s+3*h},zt=function(i,s,h,B,K,it,ot,gt,vt){vt===null&&(vt=1),vt=vt>1?1:vt<0?0:vt;for(var Pt=vt/2,Ct=12,Yt=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],Zt=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],Tt=0,Xt=0;Xt<Ct;Xt++){var Wt=Pt*Yt[Xt]+Pt,Vt=Lt(Wt,i,h,K,ot),Nt=Lt(Wt,s,B,it,gt),Gt=Vt*Vt+Nt*Nt;Tt+=Zt[Xt]*Math.sqrt(Gt)}return Pt*Tt},ft=function(i,s,h,B,K,it,ot,gt){for(var vt=[],Pt=[[],[]],Ct,Yt,Zt,Tt,Xt=0;Xt<2;++Xt){if(Xt===0?(Yt=6*i-12*h+6*K,Ct=-3*i+9*h-9*K+3*ot,Zt=3*h-3*i):(Yt=6*s-12*B+6*it,Ct=-3*s+9*B-9*it+3*gt,Zt=3*B-3*s),Math.abs(Ct)<1e-12){if(Math.abs(Yt)<1e-12)continue;Tt=-Zt/Yt,Tt>0&&Tt<1&&vt.push(Tt);continue}var Wt=Yt*Yt-4*Zt*Ct,Vt=Math.sqrt(Wt);if(!(Wt<0)){var Nt=(-Yt+Vt)/(2*Ct);Nt>0&&Nt<1&&vt.push(Nt);var Gt=(-Yt-Vt)/(2*Ct);Gt>0&&Gt<1&&vt.push(Gt)}}for(var Jt=vt.length,qt=Jt,jt;Jt--;)Tt=vt[Jt],jt=1-Tt,Pt[0][Jt]=jt*jt*jt*i+3*jt*jt*Tt*h+3*jt*Tt*Tt*K+Tt*Tt*Tt*ot,Pt[1][Jt]=jt*jt*jt*s+3*jt*jt*Tt*B+3*jt*Tt*Tt*it+Tt*Tt*Tt*gt;return Pt[0][qt]=i,Pt[1][qt]=s,Pt[0][qt+1]=ot,Pt[1][qt+1]=gt,Pt[0].length=Pt[1].length=qt+2,{min:{x:Math.min.apply(0,Pt[0]),y:Math.min.apply(0,Pt[1])},max:{x:Math.max.apply(0,Pt[0]),y:Math.max.apply(0,Pt[1])}}},rt=function(i,s,h,B,K,it,ot,gt){if(!(Math.max(i,h)<Math.min(K,ot)||Math.min(i,h)>Math.max(K,ot)||Math.max(s,B)<Math.min(it,gt)||Math.min(s,B)>Math.max(it,gt))){var vt=(i*B-s*h)*(K-ot)-(i-h)*(K*gt-it*ot),Pt=(i*B-s*h)*(it-gt)-(s-B)*(K*gt-it*ot),Ct=(i-h)*(it-gt)-(s-B)*(K-ot);if(!!Ct){var Yt=vt/Ct,Zt=Pt/Ct,Tt=+Yt.toFixed(2),Xt=+Zt.toFixed(2);if(!(Tt<+Math.min(i,h).toFixed(2)||Tt>+Math.max(i,h).toFixed(2)||Tt<+Math.min(K,ot).toFixed(2)||Tt>+Math.max(K,ot).toFixed(2)||Xt<+Math.min(s,B).toFixed(2)||Xt>+Math.max(s,B).toFixed(2)||Xt<+Math.min(it,gt).toFixed(2)||Xt>+Math.max(it,gt).toFixed(2)))return{x:Yt,y:Zt}}}},a=function(i,s,h){return s>=i.x&&s<=i.x+i.width&&h>=i.y&&h<=i.y+i.height},l=function(i,s,h,B){return i===null&&(i=s=h=B=0),s===null&&(s=i.y,h=i.width,B=i.height,i=i.x),{x:i,y:s,width:h,w:h,height:B,h:B,x2:i+h,y2:s+B,cx:i+h/2,cy:s+B/2,r1:Math.min(h,B)/2,r2:Math.max(h,B)/2,r0:Math.sqrt(h*h+B*B)/2,path:rectPath(i,s,h,B),vb:[i,s,h,B].join(" ")}},T=function(i,s){return i=l(i),s=l(s),a(s,i.x,i.y)||a(s,i.x2,i.y)||a(s,i.x,i.y2)||a(s,i.x2,i.y2)||a(i,s.x,s.y)||a(i,s.x2,s.y)||a(i,s.x,s.y2)||a(i,s.x2,s.y2)||(i.x<s.x2&&i.x>s.x||s.x<i.x2&&s.x>i.x)&&(i.y<s.y2&&i.y>s.y||s.y<i.y2&&s.y>i.y)},q=function(i,s,h,B,K,it,ot,gt){isArray(i)||(i=[i,s,h,B,K,it,ot,gt]);var vt=ft.apply(null,i);return l(vt.min.x,vt.min.y,vt.max.x-vt.min.x,vt.max.y-vt.min.y)},xt=function(i,s,h,B,K,it,ot,gt,vt){var Pt=1-vt,Ct=Math.pow(Pt,3),Yt=Math.pow(Pt,2),Zt=vt*vt,Tt=Zt*vt,Xt=Ct*i+Yt*3*vt*h+Pt*3*vt*vt*K+Tt*ot,Wt=Ct*s+Yt*3*vt*B+Pt*3*vt*vt*it+Tt*gt,Vt=i+2*vt*(h-i)+Zt*(K-2*h+i),Nt=s+2*vt*(B-s)+Zt*(it-2*B+s),Gt=h+2*vt*(K-h)+Zt*(ot-2*K+h),Jt=B+2*vt*(it-B)+Zt*(gt-2*it+B),qt=Pt*i+vt*h,jt=Pt*s+vt*B,er=Pt*K+vt*ot,ar=Pt*it+vt*gt,cr=90-Math.atan2(Vt-Gt,Nt-Jt)*180/Math.PI;return{x:Xt,y:Wt,m:{x:Vt,y:Nt},n:{x:Gt,y:Jt},start:{x:qt,y:jt},end:{x:er,y:ar},alpha:cr}},x=function(i,s,h){var B=q(i),K=q(s);if(!T(B,K))return h?0:[];for(var it=zt.apply(0,i),ot=zt.apply(0,s),gt=~~(it/8),vt=~~(ot/8),Pt=[],Ct=[],Yt={},Zt=h?0:[],Tt=0;Tt<gt+1;Tt++){var Xt=xt.apply(0,i.concat(Tt/gt));Pt.push({x:Xt.x,y:Xt.y,t:Tt/gt})}for(var Tt=0;Tt<vt+1;Tt++){var Xt=xt.apply(0,s.concat(Tt/vt));Ct.push({x:Xt.x,y:Xt.y,t:Tt/vt})}for(var Tt=0;Tt<gt;Tt++)for(var Wt=0;Wt<vt;Wt++){var Vt=Pt[Tt],Nt=Pt[Tt+1],Gt=Ct[Wt],Jt=Ct[Wt+1],qt=Math.abs(Nt.x-Vt.x)<.001?"y":"x",jt=Math.abs(Jt.x-Gt.x)<.001?"y":"x",er=rt(Vt.x,Vt.y,Nt.x,Nt.y,Gt.x,Gt.y,Jt.x,Jt.y);if(er){if(Yt[er.x.toFixed(4)]===er.y.toFixed(4))continue;Yt[er.x.toFixed(4)]=er.y.toFixed(4);var ar=Vt.t+Math.abs((er[qt]-Vt[qt])/(Nt[qt]-Vt[qt]))*(Nt.t-Vt.t),cr=Gt.t+Math.abs((er[jt]-Gt[jt])/(Jt[jt]-Gt[jt]))*(Jt.t-Gt.t);ar>=0&&ar<=1&&cr>=0&&cr<=1&&(h?Zt++:Zt.push({x:er.x,y:er.y,t1:ar,t2:cr}))}}return Zt},b=function(i,s,h){i=path2Curve(i),s=path2Curve(s);for(var B,K,it,ot,gt,vt,Pt,Ct,Yt,Zt,Tt=h?0:[],Xt=0,Wt=i.length;Xt<Wt;Xt++){var Vt=i[Xt];if(Vt[0]==="M")B=gt=Vt[1],K=vt=Vt[2];else{Vt[0]==="C"?(Yt=[B,K].concat(Vt.slice(1)),B=Yt[6],K=Yt[7]):(Yt=[B,K,B,K,gt,vt,gt,vt],B=gt,K=vt);for(var Nt=0,Gt=s.length;Nt<Gt;Nt++){var Jt=s[Nt];if(Jt[0]==="M")it=Pt=Jt[1],ot=Ct=Jt[2];else{Jt[0]==="C"?(Zt=[it,ot].concat(Jt.slice(1)),it=Zt[6],ot=Zt[7]):(Zt=[it,ot,it,ot,Pt,Ct,Pt,Ct],it=Pt,ot=Ct);var qt=x(Yt,Zt,h);if(h)Tt+=qt;else{for(var jt=0,er=qt.length;jt<er;jt++)qt[jt].segment1=Xt,qt[jt].segment2=Nt,qt[jt].bez1=Yt,qt[jt].bez2=Zt;Tt=Tt.concat(qt)}}}}}return Tt};function I(i,s){return b(i,s)}function S(i){return Math.sqrt(i[0]*i[0]+i[1]*i[1])}function V(i,s){return S(i)*S(s)?(i[0]*s[0]+i[1]*s[1])/(S(i)*S(s)):1}function ct(i,s){return(i[0]*s[1]<i[1]*s[0]?-1:1)*Math.acos(V(i,s))}function C(i,s){return i[0]===s[0]&&i[1]===s[1]}function f(i,s){var h=s[1],B=s[2],K=(0,j.mod)((0,j.toRadian)(s[3]),Math.PI*2),it=s[4],ot=s[5],gt=i[0],vt=i[1],Pt=s[6],Ct=s[7],Yt=Math.cos(K)*(gt-Pt)/2+Math.sin(K)*(vt-Ct)/2,Zt=-1*Math.sin(K)*(gt-Pt)/2+Math.cos(K)*(vt-Ct)/2,Tt=Yt*Yt/(h*h)+Zt*Zt/(B*B);Tt>1&&(h*=Math.sqrt(Tt),B*=Math.sqrt(Tt));var Xt=h*h*(Zt*Zt)+B*B*(Yt*Yt),Wt=Xt?Math.sqrt((h*h*(B*B)-Xt)/Xt):1;it===ot&&(Wt*=-1),isNaN(Wt)&&(Wt=0);var Vt=B?Wt*h*Zt/B:0,Nt=h?Wt*-B*Yt/h:0,Gt=(gt+Pt)/2+Math.cos(K)*Vt-Math.sin(K)*Nt,Jt=(vt+Ct)/2+Math.sin(K)*Vt+Math.cos(K)*Nt,qt=[(Yt-Vt)/h,(Zt-Nt)/B],jt=[(-1*Yt-Vt)/h,(-1*Zt-Nt)/B],er=ct([1,0],qt),ar=ct(qt,jt);return V(qt,jt)<=-1&&(ar=Math.PI),V(qt,jt)>=1&&(ar=0),ot===0&&ar>0&&(ar=ar-2*Math.PI),ot===1&&ar<0&&(ar=ar+2*Math.PI),{cx:Gt,cy:Jt,rx:C(i,[Pt,Ct])?0:h,ry:C(i,[Pt,Ct])?0:B,startAngle:er,endAngle:er+ar,xRotation:K,arcFlag:it,sweepFlag:ot}}function r(i,s){return[s[0]+(s[0]-i[0]),s[1]+(s[1]-i[1])]}function t(i){i=pt(i);for(var s=[],h=null,B=null,K=null,it=0,ot=i.length,gt=0;gt<ot;gt++){var vt=i[gt];B=i[gt+1];var Pt=vt[0],Ct={command:Pt,prePoint:h,params:vt,startTangent:null,endTangent:null};switch(Pt){case"M":K=[vt[1],vt[2]],it=gt;break;case"A":var Yt=f(h,vt);Ct.arcParams=Yt;break;default:break}if(Pt==="Z")h=K,B=i[it+1];else{var Zt=vt.length;h=[vt[Zt-2],vt[Zt-1]]}B&&B[0]==="Z"&&(B=i[it],s[it]&&(s[it].prePoint=h)),Ct.currentPoint=h,s[it]&&C(h,s[it].currentPoint)&&(s[it].prePoint=Ct.prePoint);var Tt=B?[B[B.length-2],B[B.length-1]]:null;Ct.nextPoint=Tt;var Xt=Ct.prePoint;if(["L","H","V"].includes(Pt))Ct.startTangent=[Xt[0]-h[0],Xt[1]-h[1]],Ct.endTangent=[h[0]-Xt[0],h[1]-Xt[1]];else if(Pt==="Q"){var Wt=[vt[1],vt[2]];Ct.startTangent=[Xt[0]-Wt[0],Xt[1]-Wt[1]],Ct.endTangent=[h[0]-Wt[0],h[1]-Wt[1]]}else if(Pt==="T"){var Vt=s[gt-1],Wt=r(Vt.currentPoint,Xt);Vt.command==="Q"?(Ct.command="Q",Ct.startTangent=[Xt[0]-Wt[0],Xt[1]-Wt[1]],Ct.endTangent=[h[0]-Wt[0],h[1]-Wt[1]]):(Ct.command="TL",Ct.startTangent=[Xt[0]-h[0],Xt[1]-h[1]],Ct.endTangent=[h[0]-Xt[0],h[1]-Xt[1]])}else if(Pt==="C"){var Nt=[vt[1],vt[2]],Gt=[vt[3],vt[4]];Ct.startTangent=[Xt[0]-Nt[0],Xt[1]-Nt[1]],Ct.endTangent=[h[0]-Gt[0],h[1]-Gt[1]],Ct.startTangent[0]===0&&Ct.startTangent[1]===0&&(Ct.startTangent=[Nt[0]-Gt[0],Nt[1]-Gt[1]]),Ct.endTangent[0]===0&&Ct.endTangent[1]===0&&(Ct.endTangent=[Gt[0]-Nt[0],Gt[1]-Nt[1]])}else if(Pt==="S"){var Vt=s[gt-1],Nt=r(Vt.currentPoint,Xt),Gt=[vt[1],vt[2]];Vt.command==="C"?(Ct.command="C",Ct.startTangent=[Xt[0]-Nt[0],Xt[1]-Nt[1]],Ct.endTangent=[h[0]-Gt[0],h[1]-Gt[1]]):(Ct.command="SQ",Ct.startTangent=[Xt[0]-Gt[0],Xt[1]-Gt[1]],Ct.endTangent=[h[0]-Gt[0],h[1]-Gt[1]])}else if(Pt==="A"){var Jt=.001,qt=Ct.arcParams||{},jt=qt.cx,er=jt===void 0?0:jt,ar=qt.cy,cr=ar===void 0?0:ar,dr=qt.rx,lr=dr===void 0?0:dr,Dr=qt.ry,Tr=Dr===void 0?0:Dr,vr=qt.sweepFlag,Er=vr===void 0?0:vr,_r=qt.startAngle,pr=_r===void 0?0:_r,Lr=qt.endAngle,yr=Lr===void 0?0:Lr;Er===0&&(Jt*=-1);var Rr=lr*Math.cos(pr-Jt)+er,Nr=Tr*Math.sin(pr-Jt)+cr;Ct.startTangent=[Rr-K[0],Nr-K[1]];var kr=lr*Math.cos(pr+yr+Jt)+er,Xr=Tr*Math.sin(pr+yr-Jt)+cr;Ct.endTangent=[Xt[0]-kr,Xt[1]-Xr]}s.push(Ct)}return s}var o=1e-6;function n(i){return Math.abs(i)<o?0:i<0?-1:1}function e(i,s,h){return(h[0]-i[0])*(s[1]-i[1])==(s[0]-i[0])*(h[1]-i[1])&&Math.min(i[0],s[0])<=h[0]&&h[0]<=Math.max(i[0],s[0])&&Math.min(i[1],s[1])<=h[1]&&h[1]<=Math.max(i[1],s[1])}function c(i,s,h){var B=!1,K=i.length;if(K<=2)return!1;for(var it=0;it<K;it++){var ot=i[it],gt=i[(it+1)%K];if(e(ot,gt,[s,h]))return!0;n(ot[1]-h)>0!=n(gt[1]-h)>0&&n(s-(h-ot[1])*(ot[0]-gt[0])/(ot[1]-gt[1])-ot[0])<0&&(B=!B)}return B}var v=function(i,s,h){return i>=s&&i<=h};function _(i,s,h,B){var K=.001,it={x:h.x-i.x,y:h.y-i.y},ot={x:s.x-i.x,y:s.y-i.y},gt={x:B.x-h.x,y:B.y-h.y},vt=ot.x*gt.y-ot.y*gt.x,Pt=vt*vt,Ct=ot.x*ot.x+ot.y*ot.y,Yt=gt.x*gt.x+gt.y*gt.y,Zt=null;if(Pt>K*Ct*Yt){var Tt=(it.x*gt.y-it.y*gt.x)/vt,Xt=(it.x*ot.y-it.y*ot.x)/vt;v(Tt,0,1)&&v(Xt,0,1)&&(Zt={x:i.x+Tt*ot.x,y:i.y+Tt*ot.y})}return Zt}function w(i){for(var s=[],h=i.length,B=0;B<h-1;B++){var K=i[B],it=i[B+1];s.push({from:{x:K[0],y:K[1]},to:{x:it[0],y:it[1]}})}if(s.length>1){var ot=i[0],gt=i[h-1];s.push({from:{x:gt[0],y:gt[1]},to:{x:ot[0],y:ot[1]}})}return s}function d(i,s){var h=!1;return(0,j.each)(i,function(B){if(_(B.from,B.to,s.from,s.to))return h=!0,!1}),h}function u(i){var s=i.map(function(B){return B[0]}),h=i.map(function(B){return B[1]});return{minX:Math.min.apply(null,s),maxX:Math.max.apply(null,s),minY:Math.min.apply(null,h),maxY:Math.max.apply(null,h)}}function y(i,s){return!(s.minX>i.maxX||s.maxX<i.minX||s.minY>i.maxY||s.maxY<i.minY)}function M(i,s){if(i.length<2||s.length<2)return!1;var h=u(i),B=u(s);if(!y(h,B))return!1;var K=!1;if((0,j.each)(s,function(vt){if(c(i,vt[0],vt[1]))return K=!0,!1}),K||((0,j.each)(i,function(vt){if(c(s,vt[0],vt[1]))return K=!0,!1}),K))return!0;var it=w(i),ot=w(s),gt=!1;return(0,j.each)(ot,function(vt){if(d(it,vt))return gt=!0,!1}),gt}},86429:function(nr,St,U){"use strict";U.d(St,{WD:function(){return yt},bJ:function(){return i},yZ:function(){return Nt}});var j={};U.r(j),U.d(j,{assign:function(){return A},default:function(){return S},defaultI18n:function(){return Et},format:function(){return x},parse:function(){return b},setGlobalDateI18n:function(){return Kt},setGlobalDateMasks:function(){return xt}});var E=U(49242),wt={};function ut(g){return wt[g]}function pt(g,D){wt[g]=D}var Q=function(){function g(D){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__=D,this.initCfg(),this.init()}return g.prototype.translate=function(D){return D},g.prototype.change=function(D){(0,E.assign)(this.__cfg__,D),this.init()},g.prototype.clone=function(){return this.constructor(this.__cfg__)},g.prototype.getTicks=function(){var D=this;return(0,E.map)(this.ticks,function(L,nt){return(0,E.isObject)(L)?L:{text:D.getText(L,nt),tickValue:L,value:D.scale(L)}})},g.prototype.getText=function(D,L){var nt=this.formatter,tt=nt?nt(D,L):D;return(0,E.isNil)(tt)||!(0,E.isFunction)(tt.toString)?"":tt.toString()},g.prototype.getConfig=function(D){return this.__cfg__[D]},g.prototype.init=function(){(0,E.assign)(this,this.__cfg__),this.setDomain(),(0,E.isEmpty)(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},g.prototype.initCfg=function(){},g.prototype.setDomain=function(){},g.prototype.calculateTicks=function(){var D=this.tickMethod,L=[];if((0,E.isString)(D)){var nt=ut(D);if(!nt)throw new Error("There is no method to to calculate ticks!");L=nt(this)}else(0,E.isFunction)(D)&&(L=D(this));return L},g.prototype.rangeMin=function(){return this.range[0]},g.prototype.rangeMax=function(){return this.range[1]},g.prototype.calcPercent=function(D,L,nt){return(0,E.isNumber)(D)?(D-L)/(nt-L):NaN},g.prototype.calcValue=function(D,L,nt){return L+D*(nt-L)},g}(),W=Q,$=U(70655),at=function(g){(0,$.__extends)(D,g);function D(){var L=g!==null&&g.apply(this,arguments)||this;return L.type="cat",L.isCategory=!0,L}return D.prototype.buildIndexMap=function(){if(!this.translateIndexMap){this.translateIndexMap=new Map;for(var L=0;L<this.values.length;L++)this.translateIndexMap.set(this.values[L],L)}},D.prototype.translate=function(L){this.buildIndexMap();var nt=this.translateIndexMap.get(L);return nt===void 0&&(nt=(0,E.isNumber)(L)?L:NaN),nt},D.prototype.scale=function(L){var nt=this.translate(L),tt=this.calcPercent(nt,this.min,this.max);return this.calcValue(tt,this.rangeMin(),this.rangeMax())},D.prototype.invert=function(L){var nt=this.max-this.min,tt=this.calcPercent(L,this.rangeMin(),this.rangeMax()),Mt=Math.round(nt*tt)+this.min;return Mt<this.min||Mt>this.max?NaN:this.values[Mt]},D.prototype.getText=function(L){for(var nt=[],tt=1;tt<arguments.length;tt++)nt[tt-1]=arguments[tt];var Mt=L;return(0,E.isNumber)(L)&&!this.values.includes(L)&&(Mt=this.values[Mt]),g.prototype.getText.apply(this,(0,$.__spreadArrays)([Mt],nt))},D.prototype.initCfg=function(){this.tickMethod="cat"},D.prototype.setDomain=function(){if((0,E.isNil)(this.getConfig("min"))&&(this.min=0),(0,E.isNil)(this.getConfig("max"))){var L=this.values.length;this.max=L>1?L-1:L}this.translateIndexMap&&(this.translateIndexMap=void 0)},D}(W),yt=at,lt=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,G="\\d\\d?",H="\\d\\d",X="\\d{3}",O="\\d{4}",F="[^\\s]+",ht=/\[([^]*?)\]/gm;function st(g,D){for(var L=[],nt=0,tt=g.length;nt<tt;nt++)L.push(g[nt].substr(0,D));return L}var Y=function(g){return function(D,L){var nt=L[g].map(function(Mt){return Mt.toLowerCase()}),tt=nt.indexOf(D.toLowerCase());return tt>-1?tt:null}};function A(g){for(var D=[],L=1;L<arguments.length;L++)D[L-1]=arguments[L];for(var nt=0,tt=D;nt<tt.length;nt++){var Mt=tt[nt];for(var Dt in Mt)g[Dt]=Mt[Dt]}return g}var P=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],z=["January","February","March","April","May","June","July","August","September","October","November","December"],Z=st(z,3),dt=st(P,3),Et={dayNamesShort:dt,dayNames:P,monthNamesShort:Z,monthNames:z,amPm:["am","pm"],DoFn:function(g){return g+["th","st","nd","rd"][g%10>3?0:(g-g%10!=10?1:0)*g%10]}},Ot=A({},Et),Kt=function(g){return Ot=A(Ot,g)},Ht=function(g){return g.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},Bt=function(g,D){for(D===void 0&&(D=2),g=String(g);g.length<D;)g="0"+g;return g},Lt={D:function(g){return String(g.getDate())},DD:function(g){return Bt(g.getDate())},Do:function(g,D){return D.DoFn(g.getDate())},d:function(g){return String(g.getDay())},dd:function(g){return Bt(g.getDay())},ddd:function(g,D){return D.dayNamesShort[g.getDay()]},dddd:function(g,D){return D.dayNames[g.getDay()]},M:function(g){return String(g.getMonth()+1)},MM:function(g){return Bt(g.getMonth()+1)},MMM:function(g,D){return D.monthNamesShort[g.getMonth()]},MMMM:function(g,D){return D.monthNames[g.getMonth()]},YY:function(g){return Bt(String(g.getFullYear()),4).substr(2)},YYYY:function(g){return Bt(g.getFullYear(),4)},h:function(g){return String(g.getHours()%12||12)},hh:function(g){return Bt(g.getHours()%12||12)},H:function(g){return String(g.getHours())},HH:function(g){return Bt(g.getHours())},m:function(g){return String(g.getMinutes())},mm:function(g){return Bt(g.getMinutes())},s:function(g){return String(g.getSeconds())},ss:function(g){return Bt(g.getSeconds())},S:function(g){return String(Math.round(g.getMilliseconds()/100))},SS:function(g){return Bt(Math.round(g.getMilliseconds()/10),2)},SSS:function(g){return Bt(g.getMilliseconds(),3)},a:function(g,D){return g.getHours()<12?D.amPm[0]:D.amPm[1]},A:function(g,D){return g.getHours()<12?D.amPm[0].toUpperCase():D.amPm[1].toUpperCase()},ZZ:function(g){var D=g.getTimezoneOffset();return(D>0?"-":"+")+Bt(Math.floor(Math.abs(D)/60)*100+Math.abs(D)%60,4)},Z:function(g){var D=g.getTimezoneOffset();return(D>0?"-":"+")+Bt(Math.floor(Math.abs(D)/60),2)+":"+Bt(Math.abs(D)%60,2)}},zt=function(g){return+g-1},ft=[null,G],rt=[null,F],a=["isPm",F,function(g,D){var L=g.toLowerCase();return L===D.amPm[0]?0:L===D.amPm[1]?1:null}],l=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(g){var D=(g+"").match(/([+-]|\d\d)/gi);if(D){var L=+D[1]*60+parseInt(D[2],10);return D[0]==="+"?L:-L}return 0}],T={D:["day",G],DD:["day",H],Do:["day",G+F,function(g){return parseInt(g,10)}],M:["month",G,zt],MM:["month",H,zt],YY:["year",H,function(g){var D=new Date,L=+(""+D.getFullYear()).substr(0,2);return+(""+(+g>68?L-1:L)+g)}],h:["hour",G,void 0,"isPm"],hh:["hour",H,void 0,"isPm"],H:["hour",G],HH:["hour",H],m:["minute",G],mm:["minute",H],s:["second",G],ss:["second",H],YYYY:["year",O],S:["millisecond","\\d",function(g){return+g*100}],SS:["millisecond",H,function(g){return+g*10}],SSS:["millisecond",X],d:ft,dd:ft,ddd:rt,dddd:rt,MMM:["month",F,Y("monthNamesShort")],MMMM:["month",F,Y("monthNames")],a,A:a,ZZ:l,Z:l},q={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"},xt=function(g){return A(q,g)},x=function(g,D,L){if(D===void 0&&(D=q.default),L===void 0&&(L={}),typeof g=="number"&&(g=new Date(g)),Object.prototype.toString.call(g)!=="[object Date]"||isNaN(g.getTime()))throw new Error("Invalid Date pass to format");D=q[D]||D;var nt=[];D=D.replace(ht,function(Mt,Dt){return nt.push(Dt),"@@@"});var tt=A(A({},Ot),L);return D=D.replace(lt,function(Mt){return Lt[Mt](g,tt)}),D.replace(/@@@/g,function(){return nt.shift()})};function b(g,D,L){if(L===void 0&&(L={}),typeof D!="string")throw new Error("Invalid format in fecha parse");if(D=q[D]||D,g.length>1e3)return null;var nt=new Date,tt={year:nt.getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},Mt=[],Dt=[],It=D.replace(ht,function(Pr,Ar){return Dt.push(Ht(Ar)),"@@@"}),$t={},Ut={};It=Ht(It).replace(lt,function(Pr){var Ar=T[Pr],Or=Ar[0],Ur=Ar[1],wr=Ar[3];if($t[Or])throw new Error("Invalid format. "+Or+" specified twice in format");return $t[Or]=!0,wr&&(Ut[wr]=!0),Mt.push(Ar),"("+Ur+")"}),Object.keys(Ut).forEach(function(Pr){if(!$t[Pr])throw new Error("Invalid format. "+Pr+" is required in specified format")}),It=It.replace(/@@@/g,function(){return Dt.shift()});var Qt=g.match(new RegExp(It,"i"));if(!Qt)return null;for(var or=A(A({},Ot),L),ir=1;ir<Qt.length;ir++){var hr=Mt[ir-1],fr=hr[0],xr=hr[2],Mr=xr?xr(Qt[ir],or):+Qt[ir];if(Mr==null)return null;tt[fr]=Mr}tt.isPm===1&&tt.hour!=null&&+tt.hour!=12?tt.hour=+tt.hour+12:tt.isPm===0&&+tt.hour==12&&(tt.hour=0);var Sr;if(tt.timezoneOffset==null){Sr=new Date(tt.year,tt.month,tt.day,tt.hour,tt.minute,tt.second,tt.millisecond);for(var mr=[["month","getMonth"],["day","getDate"],["hour","getHours"],["minute","getMinutes"],["second","getSeconds"]],ir=0,Hr=mr.length;ir<Hr;ir++)if($t[mr[ir][0]]&&tt[mr[ir][0]]!==Sr[mr[ir][1]]())return null}else if(Sr=new Date(Date.UTC(tt.year,tt.month,tt.day,tt.hour,tt.minute-tt.timezoneOffset,tt.second,tt.millisecond)),tt.month>11||tt.month<0||tt.day>31||tt.day<1||tt.hour>23||tt.hour<0||tt.minute>59||tt.minute<0||tt.second>59||tt.second<0)return null;return Sr}var I={format:x,parse:b,defaultI18n:Et,setGlobalDateI18n:Kt,setGlobalDateMasks:xt},S=I;function V(g){return function(D,L,nt,tt){for(var Mt=(0,E.isNil)(nt)?0:nt,Dt=(0,E.isNil)(tt)?D.length:tt;Mt<Dt;){var It=Mt+Dt>>>1;g(D[It])>L?Dt=It:Mt=It+1}return Mt}}var ct="format";function C(g,D){var L=j[ct]||S[ct];return L(g,D)}function f(g){return(0,E.isString)(g)&&(g.indexOf("T")>0?g=new Date(g).getTime():g=new Date(g.replace(/-/gi,"/")).getTime()),(0,E.isDate)(g)&&(g=g.getTime()),g}var r=1e3,t=60*r,o=60*t,n=24*o,e=n*31,c=n*365,v=[["HH:mm:ss",r],["HH:mm:ss",r*10],["HH:mm:ss",r*30],["HH:mm",t],["HH:mm",t*10],["HH:mm",t*30],["HH",o],["HH",o*6],["HH",o*12],["YYYY-MM-DD",n],["YYYY-MM-DD",n*4],["YYYY-WW",n*7],["YYYY-MM",e],["YYYY-MM",e*4],["YYYY-MM",e*6],["YYYY",n*380]];function _(g,D,L){var nt=(D-g)/L,tt=V(function(Dt){return Dt[1]})(v,nt)-1,Mt=v[tt];return tt<0?Mt=v[0]:tt>=v.length&&(Mt=(0,E.last)(v)),Mt}var w=function(g){(0,$.__extends)(D,g);function D(){var L=g!==null&&g.apply(this,arguments)||this;return L.type="timeCat",L}return D.prototype.translate=function(L){L=f(L);var nt=this.values.indexOf(L);return nt===-1&&((0,E.isNumber)(L)&&L<this.values.length?nt=L:nt=NaN),nt},D.prototype.getText=function(L,nt){var tt=this.translate(L);if(tt>-1){var Mt=this.values[tt],Dt=this.formatter;return Mt=Dt?Dt(Mt,nt):C(Mt,this.mask),Mt}return L},D.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},D.prototype.setDomain=function(){var L=this.values;(0,E.each)(L,function(nt,tt){L[tt]=f(nt)}),L.sort(function(nt,tt){return nt-tt}),g.prototype.setDomain.call(this)},D}(yt),d=w,u=function(g){(0,$.__extends)(D,g);function D(){var L=g!==null&&g.apply(this,arguments)||this;return L.isContinuous=!0,L}return D.prototype.scale=function(L){if((0,E.isNil)(L))return NaN;var nt=this.rangeMin(),tt=this.rangeMax(),Mt=this.max,Dt=this.min;if(Mt===Dt)return nt;var It=this.getScalePercent(L);return nt+It*(tt-nt)},D.prototype.init=function(){g.prototype.init.call(this);var L=this.ticks,nt=(0,E.head)(L),tt=(0,E.last)(L);nt<this.min&&(this.min=nt),tt>this.max&&(this.max=tt),(0,E.isNil)(this.minLimit)||(this.min=nt),(0,E.isNil)(this.maxLimit)||(this.max=tt)},D.prototype.setDomain=function(){var L=(0,E.getRange)(this.values),nt=L.min,tt=L.max;(0,E.isNil)(this.min)&&(this.min=nt),(0,E.isNil)(this.max)&&(this.max=tt),this.min>this.max&&(this.min=nt,this.max=tt)},D.prototype.calculateTicks=function(){var L=this,nt=g.prototype.calculateTicks.call(this);return this.nice||(nt=(0,E.filter)(nt,function(tt){return tt>=L.min&&tt<=L.max})),nt},D.prototype.getScalePercent=function(L){var nt=this.max,tt=this.min;return(L-tt)/(nt-tt)},D.prototype.getInvertPercent=function(L){return(L-this.rangeMin())/(this.rangeMax()-this.rangeMin())},D}(W),y=u,M=function(g){(0,$.__extends)(D,g);function D(){var L=g!==null&&g.apply(this,arguments)||this;return L.type="linear",L.isLinear=!0,L}return D.prototype.invert=function(L){var nt=this.getInvertPercent(L);return this.min+nt*(this.max-this.min)},D.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},D}(y),i=M;function s(g,D){var L=Math.E,nt;return D>=0?nt=Math.pow(L,Math.log(D)/g):nt=Math.pow(L,Math.log(-D)/g)*-1,nt}function h(g,D){return g===1?1:Math.log(D)/Math.log(g)}function B(g,D,L){(0,E.isNil)(L)&&(L=Math.max.apply(null,g));var nt=L;return(0,E.each)(g,function(tt){tt>0&&tt<nt&&(nt=tt)}),nt===L&&(nt=L/D),nt>1&&(nt=1),nt}function K(g){var D=g.toString().split(/[eE]/),L=(D[0].split(".")[1]||"").length-+(D[1]||0);return L>0?L:0}function it(g,D){var L=K(g),nt=K(D),tt=Math.pow(10,Math.max(L,nt));return(g*tt+D*tt)/tt}var ot=function(g){(0,$.__extends)(D,g);function D(){var L=g!==null&&g.apply(this,arguments)||this;return L.type="log",L}return D.prototype.invert=function(L){var nt=this.base,tt=h(nt,this.max),Mt=this.rangeMin(),Dt=this.rangeMax()-Mt,It,$t=this.positiveMin;if($t){if(L===0)return 0;It=h(nt,$t/nt);var Ut=1/(tt-It)*Dt;if(L<Ut)return L/Ut*$t}else It=h(nt,this.min);var Qt=(L-Mt)/Dt,or=Qt*(tt-It)+It;return Math.pow(nt,or)},D.prototype.initCfg=function(){this.tickMethod="log",this.base=10,this.tickCount=6,this.nice=!0},D.prototype.setDomain=function(){g.prototype.setDomain.call(this);var L=this.min;if(L<0)throw new Error("When you use log scale, the minimum value must be greater than zero!");L===0&&(this.positiveMin=B(this.values,this.base,this.max))},D.prototype.getScalePercent=function(L){var nt=this.max,tt=this.min;if(nt===tt||L<=0)return 0;var Mt=this.base,Dt=this.positiveMin;Dt&&(tt=Dt*1/Mt);var It;return L<Dt?It=L/Dt/(h(Mt,nt)-h(Mt,tt)):It=(h(Mt,L)-h(Mt,tt))/(h(Mt,nt)-h(Mt,tt)),It},D}(y),gt=ot,vt=function(g){(0,$.__extends)(D,g);function D(){var L=g!==null&&g.apply(this,arguments)||this;return L.type="pow",L}return D.prototype.invert=function(L){var nt=this.getInvertPercent(L),tt=this.exponent,Mt=s(tt,this.max),Dt=s(tt,this.min),It=nt*(Mt-Dt)+Dt,$t=It>=0?1:-1;return Math.pow(It,tt)*$t},D.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},D.prototype.getScalePercent=function(L){var nt=this.max,tt=this.min;if(nt===tt)return 0;var Mt=this.exponent,Dt=(s(Mt,L)-s(Mt,tt))/(s(Mt,nt)-s(Mt,tt));return Dt},D}(y),Pt=vt,Ct=function(g){(0,$.__extends)(D,g);function D(){var L=g!==null&&g.apply(this,arguments)||this;return L.type="time",L}return D.prototype.getText=function(L,nt){var tt=this.translate(L),Mt=this.formatter;return Mt?Mt(tt,nt):C(tt,this.mask)},D.prototype.scale=function(L){var nt=L;return((0,E.isString)(nt)||(0,E.isDate)(nt))&&(nt=this.translate(nt)),g.prototype.scale.call(this,nt)},D.prototype.translate=function(L){return f(L)},D.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},D.prototype.setDomain=function(){var L=this.values,nt=this.getConfig("min"),tt=this.getConfig("max");if((!(0,E.isNil)(nt)||!(0,E.isNumber)(nt))&&(this.min=this.translate(this.min)),(!(0,E.isNil)(tt)||!(0,E.isNumber)(tt))&&(this.max=this.translate(this.max)),L&&L.length){var Mt=[],Dt=Infinity,It=Dt,$t=0;(0,E.each)(L,function(Ut){var Qt=f(Ut);if(isNaN(Qt))throw new TypeError("Invalid Time: "+Ut+" in time scale!");Dt>Qt?(It=Dt,Dt=Qt):It>Qt&&(It=Qt),$t<Qt&&($t=Qt),Mt.push(Qt)}),L.length>1&&(this.minTickInterval=It-Dt),(0,E.isNil)(nt)&&(this.min=Dt),(0,E.isNil)(tt)&&(this.max=$t)}},D}(i),Yt=Ct,Zt=function(g){(0,$.__extends)(D,g);function D(){var L=g!==null&&g.apply(this,arguments)||this;return L.type="quantize",L}return D.prototype.invert=function(L){var nt=this.ticks,tt=nt.length,Mt=this.getInvertPercent(L),Dt=Math.floor(Mt*(tt-1));if(Dt>=tt-1)return(0,E.last)(nt);if(Dt<0)return(0,E.head)(nt);var It=nt[Dt],$t=nt[Dt+1],Ut=Dt/(tt-1),Qt=(Dt+1)/(tt-1);return It+(Mt-Ut)/(Qt-Ut)*($t-It)},D.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},D.prototype.calculateTicks=function(){var L=g.prototype.calculateTicks.call(this);return this.nice||((0,E.last)(L)!==this.max&&L.push(this.max),(0,E.head)(L)!==this.min&&L.unshift(this.min)),L},D.prototype.getScalePercent=function(L){var nt=this.ticks;if(L<(0,E.head)(nt))return 0;if(L>(0,E.last)(nt))return 1;var tt=0;return(0,E.each)(nt,function(Mt,Dt){if(L>=Mt)tt=Dt;else return!1}),tt/(nt.length-1)},D}(y),Tt=Zt,Xt=function(g){(0,$.__extends)(D,g);function D(){var L=g!==null&&g.apply(this,arguments)||this;return L.type="quantile",L}return D.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},D}(Tt),Wt=Xt,Vt={};function Nt(g){return Vt[g]}function Gt(g,D){if(Nt(g))throw new Error("type '"+g+"' existed.");Vt[g]=D}var Jt=function(g){(0,$.__extends)(D,g);function D(){var L=g!==null&&g.apply(this,arguments)||this;return L.type="identity",L.isIdentity=!0,L}return D.prototype.calculateTicks=function(){return this.values},D.prototype.scale=function(L){return this.values[0]!==L&&(0,E.isNumber)(L)?L:this.range[0]},D.prototype.invert=function(L){var nt=this.range;return L<nt[0]||L>nt[1]?NaN:this.values[0]},D}(W),qt=Jt;function jt(g){var D=g.values,L=g.tickInterval,nt=g.tickCount,tt=g.showLast;if((0,E.isNumber)(L)){var Mt=(0,E.filter)(D,function(fr,xr){return xr%L==0}),Dt=(0,E.last)(D);return tt&&(0,E.last)(Mt)!==Dt&&Mt.push(Dt),Mt}var It=D.length,$t=g.min,Ut=g.max;if((0,E.isNil)($t)&&($t=0),(0,E.isNil)(Ut)&&(Ut=D.length-1),!(0,E.isNumber)(nt)||nt>=It)return D.slice($t,Ut+1);if(nt<=0||Ut<=0)return[];for(var Qt=nt===1?It:Math.floor(It/(nt-1)),or=[],ir=$t,hr=0;hr<nt&&!(ir>=Ut);hr++)ir=Math.min($t+hr*Qt,Ut),hr===nt-1&&tt?or.push(D[Ut]):or.push(D[ir]);return or}function er(g){var D=g.min,L=g.max,nt=g.nice,tt=g.tickCount,Mt=new Dr;return Mt.domain([D,L]),nt&&Mt.nice(tt),Mt.ticks(tt)}var ar=5,cr=Math.sqrt(50),dr=Math.sqrt(10),lr=Math.sqrt(2),Dr=function(){function g(){this._domain=[0,1]}return g.prototype.domain=function(D){return D?(this._domain=Array.from(D,Number),this):this._domain.slice()},g.prototype.nice=function(D){var L,nt;D===void 0&&(D=ar);var tt=this._domain.slice(),Mt=0,Dt=this._domain.length-1,It=this._domain[Mt],$t=this._domain[Dt],Ut;return $t<It&&(L=[$t,It],It=L[0],$t=L[1],nt=[Dt,Mt],Mt=nt[0],Dt=nt[1]),Ut=vr(It,$t,D),Ut>0?(It=Math.floor(It/Ut)*Ut,$t=Math.ceil($t/Ut)*Ut,Ut=vr(It,$t,D)):Ut<0&&(It=Math.ceil(It*Ut)/Ut,$t=Math.floor($t*Ut)/Ut,Ut=vr(It,$t,D)),Ut>0?(tt[Mt]=Math.floor(It/Ut)*Ut,tt[Dt]=Math.ceil($t/Ut)*Ut,this.domain(tt)):Ut<0&&(tt[Mt]=Math.ceil(It*Ut)/Ut,tt[Dt]=Math.floor($t*Ut)/Ut,this.domain(tt)),this},g.prototype.ticks=function(D){return D===void 0&&(D=ar),Tr(this._domain[0],this._domain[this._domain.length-1],D||ar)},g}();function Tr(g,D,L){var nt,tt=-1,Mt,Dt,It;if(D=+D,g=+g,L=+L,g===D&&L>0)return[g];if((nt=D<g)&&(Mt=g,g=D,D=Mt),(It=vr(g,D,L))===0||!isFinite(It))return[];if(It>0)for(g=Math.ceil(g/It),D=Math.floor(D/It),Dt=new Array(Mt=Math.ceil(D-g+1));++tt<Mt;)Dt[tt]=(g+tt)*It;else for(g=Math.floor(g*It),D=Math.ceil(D*It),Dt=new Array(Mt=Math.ceil(g-D+1));++tt<Mt;)Dt[tt]=(g-tt)/It;return nt&&Dt.reverse(),Dt}function vr(g,D,L){var nt=(D-g)/Math.max(0,L),tt=Math.floor(Math.log(nt)/Math.LN10),Mt=nt/Math.pow(10,tt);return tt>=0?(Mt>=cr?10:Mt>=dr?5:Mt>=lr?2:1)*Math.pow(10,tt):-Math.pow(10,-tt)/(Mt>=cr?10:Mt>=dr?5:Mt>=lr?2:1)}function Er(g,D,L){var nt;return L==="ceil"?nt=Math.ceil(g/D):L==="floor"?nt=Math.floor(g/D):nt=Math.round(g/D),nt*D}function _r(g,D,L){var nt=Er(g,L,"floor"),tt=Er(D,L,"ceil");nt=(0,E.fixedBase)(nt,L),tt=(0,E.fixedBase)(tt,L);for(var Mt=[],Dt=Math.max((tt-nt)/(Math.pow(2,12)-1),L),It=nt;It<=tt;It=It+Dt){var $t=(0,E.fixedBase)(It,Dt);Mt.push($t)}return{min:nt,max:tt,ticks:Mt}}function pr(g,D,L){var nt,tt=g.minLimit,Mt=g.maxLimit,Dt=g.min,It=g.max,$t=g.tickCount,Ut=$t===void 0?5:$t,Qt=(0,E.isNil)(tt)?(0,E.isNil)(D)?Dt:D:tt,or=(0,E.isNil)(Mt)?(0,E.isNil)(L)?It:L:Mt;if(Qt>or&&(nt=[Qt,or],or=nt[0],Qt=nt[1]),Ut<=2)return[Qt,or];for(var ir=(or-Qt)/(Ut-1),hr=[],fr=0;fr<Ut;fr++)hr.push(Qt+ir*fr);return hr}function Lr(g){var D=g.min,L=g.max,nt=g.tickInterval,tt=g.minLimit,Mt=g.maxLimit,Dt=er(g);return!(0,E.isNil)(tt)||!(0,E.isNil)(Mt)?pr(g,(0,E.head)(Dt),(0,E.last)(Dt)):nt?_r(D,L,nt).ticks:Dt}function yr(g){return Math.abs(g)<1e-15?g:parseFloat(g.toFixed(15))}var Rr=[1,5,2,2.5,4,3],Nr=null,kr=Number.EPSILON*100;function Xr(g,D){return(g%D+D)%D}function Jr(g){return Math.round(g*1e12)/1e12}function jr(g,D,L,nt,tt,Mt){var Dt=(0,E.size)(D),It=(0,E.indexOf)(D,g),$t=0,Ut=Xr(nt,Mt);return(Ut<kr||Mt-Ut<kr)&&nt<=0&&tt>=0&&($t=1),1-It/(Dt-1)-L+$t}function tn(g,D,L){var nt=(0,E.size)(D),tt=(0,E.indexOf)(D,g),Mt=1;return 1-tt/(nt-1)-L+Mt}function zr(g,D,L,nt,tt,Mt){var Dt=(g-1)/(Mt-tt),It=(D-1)/(Math.max(Mt,nt)-Math.min(L,tt));return 2-Math.max(Dt/It,It/Dt)}function rn(g,D){return g>=D?2-(g-1)/(D-1):1}function Kr(g,D,L,nt){var tt=D-g;return 1-.5*(Math.pow(D-nt,2)+Math.pow(g-L,2))/Math.pow(.1*tt,2)}function ln(g,D,L){var nt=D-g;if(L>nt){var tt=(L-nt)/2;return 1-Math.pow(tt,2)/Math.pow(.1*nt,2)}return 1}function Gr(){return 1}function nn(g,D,L,nt,tt,Mt){L===void 0&&(L=5),nt===void 0&&(nt=!0),tt===void 0&&(tt=Rr),Mt===void 0&&(Mt=[.25,.2,.5,.05]);var Dt=L<0?0:Math.round(L);if(Number.isNaN(g)||Number.isNaN(D)||typeof g!="number"||typeof D!="number"||!Dt)return{min:0,max:0,ticks:[]};if(D-g<1e-15||Dt===1)return{min:g,max:D,ticks:[g]};if(D-g>1e148){var It=L||5,$t=(D-g)/It;return{min:g,max:D,ticks:Array(It).fill(null).map(function(An,yn){return yr(g+$t*yn)})}}for(var Ut={score:-2,lmin:0,lmax:0,lstep:0},Qt=1;Qt<Infinity;){for(var or=0;or<tt.length;or+=1){var ir=tt[or],hr=tn(ir,tt,Qt);if(Mt[0]*hr+Mt[1]+Mt[2]+Mt[3]<Ut.score){Qt=Infinity;break}for(var fr=2;fr<Infinity;){var xr=rn(fr,Dt);if(Mt[0]*hr+Mt[1]+Mt[2]*xr+Mt[3]<Ut.score)break;for(var Mr=(D-g)/(fr+1)/Qt/ir,Sr=Math.ceil(Math.log10(Mr));Sr<Infinity;){var mr=Qt*ir*Math.pow(10,Sr),Hr=ln(g,D,mr*(fr-1));if(Mt[0]*hr+Mt[1]*Hr+Mt[2]*xr+Mt[3]<Ut.score)break;var Pr=Math.floor(D/mr)*Qt-(fr-1)*Qt,Ar=Math.ceil(g/mr)*Qt;if(Pr<=Ar)for(var It=Ar-Pr,Or=0;Or<=It;Or+=1){var Ur=Pr+Or,wr=Ur*(mr/Qt),Ir=wr+mr*(fr-1),Vr=mr,fn=jr(ir,tt,Qt,wr,Ir,Vr),Qr=Kr(g,D,wr,Ir),dn=zr(fr,Dt,g,D,wr,Ir),mn=Gr(),$r=Mt[0]*fn+Mt[1]*Qr+Mt[2]*dn+Mt[3]*mn;$r>Ut.score&&(!nt||wr<=g&&Ir>=D)&&(Ut.lmin=wr,Ut.lmax=Ir,Ut.lstep=Vr,Ut.score=$r)}Sr+=1}fr+=1}}Qt+=1}var Yr=yr(Ut.lmax),hn=yr(Ut.lmin),vn=yr(Ut.lstep),qr=Math.floor(Jr((Yr-hn)/vn))+1,Fr=new Array(qr);Fr[0]=yr(hn);for(var or=1;or<qr;or++)Fr[or]=yr(Fr[or-1]+vn);return{min:Math.min(g,(0,E.head)(Fr)),max:Math.max(D,(0,E.last)(Fr)),ticks:Fr}}function en(g){var D=g.min,L=g.max,nt=g.tickCount,tt=g.nice,Mt=g.tickInterval,Dt=g.minLimit,It=g.maxLimit,$t=nn(D,L,nt,tt).ticks;return!(0,E.isNil)(Dt)||!(0,E.isNil)(It)?pr(g,(0,E.head)($t),(0,E.last)($t)):Mt?_r(D,L,Mt).ticks:$t}function an(g){var D=g.base,L=g.tickCount,nt=g.min,tt=g.max,Mt=g.values,Dt,It=h(D,tt);if(nt>0)Dt=Math.floor(h(D,nt));else{var $t=B(Mt,D,tt);Dt=Math.floor(h(D,$t))}for(var Ut=It-Dt,Qt=Math.ceil(Ut/L),or=[],ir=Dt;ir<It+Qt;ir=ir+Qt)or.push(Math.pow(D,ir));return nt<=0&&or.unshift(0),or}function Wr(g,D,L){if(L===void 0&&(L=5),g===D)return{max:D,min:g,ticks:[g]};var nt=L<0?0:Math.round(L);if(nt===0)return{max:D,min:g,ticks:[]};var tt=1.5,Mt=.5+1.5*tt,Dt=D-g,It=Dt/nt,$t=Math.pow(10,Math.floor(Math.log10(It))),Ut=$t;2*$t-It<tt*(It-Ut)&&(Ut=2*$t,5*$t-It<Mt*(It-Ut)&&(Ut=5*$t,10*$t-It<tt*(It-Ut)&&(Ut=10*$t)));for(var Qt=Math.ceil(D/Ut),or=Math.floor(g/Ut),ir=Math.max(Qt*Ut,D),hr=Math.min(or*Ut,g),fr=Math.floor((ir-hr)/Ut)+1,xr=new Array(fr),Mr=0;Mr<fr;Mr++)xr[Mr]=yr(hr+Mr*Ut);return{min:hr,max:ir,ticks:xr}}function Zr(g){var D=g.exponent,L=g.tickCount,nt=Math.ceil(s(D,g.max)),tt=Math.floor(s(D,g.min)),Mt=Wr(tt,nt,L).ticks;return Mt.map(function(Dt){var It=Dt>=0?1:-1;return Math.pow(Dt,D)*It})}function on(g,D){var L=g.length*D;return D===1?g[g.length-1]:D===0?g[0]:L%1!=0?g[Math.ceil(L)-1]:g.length%2==0?(g[L-1]+g[L])/2:g[L]}function un(g){var D=g.tickCount,L=g.values;if(!L||!L.length)return[];for(var nt=L.slice().sort(function(It,$t){return It-$t}),tt=[],Mt=0;Mt<D;Mt++){var Dt=Mt/(D-1);tt.push(on(nt,Dt))}return tt}function sn(g){var D=g.min,L=g.max,nt=g.tickCount,tt=g.tickInterval,Mt=g.minLimit,Dt=g.maxLimit,It=Wr(D,L,nt).ticks;return!(0,E.isNil)(Mt)||!(0,E.isNil)(Dt)?pr(g,(0,E.head)(It),(0,E.last)(It)):tt?_r(D,L,tt).ticks:It}function k(g){var D=g.min,L=g.max,nt=g.minTickInterval,tt=g.tickInterval,Mt=g.tickCount;if(tt)Mt=Math.ceil((L-D)/tt);else{tt=_(D,L,Mt)[1];var Dt=(L-D)/tt,It=Dt/Mt;It>1&&(tt=tt*Math.ceil(It)),nt&&tt<nt&&(tt=nt)}tt=Math.max(Math.floor((L-D)/(Math.pow(2,12)-1)),tt);for(var $t=[],Ut=D;Ut<L+tt;Ut+=tt)$t.push(Ut);return $t}function m(g){var D=jt((0,$.__assign)({showLast:!0},g));return D}function R(g){return new Date(g).getFullYear()}function J(g){return new Date(g,0,1).getTime()}function At(g){return new Date(g).getMonth()}function bt(g,D){var L=R(g),nt=R(D),tt=At(g),Mt=At(D);return(nt-L)*12+(Mt-tt)%12}function kt(g,D){return new Date(g,D,1).getTime()}function Rt(g,D){return Math.ceil((D-g)/n)}function rr(g,D){return Math.ceil((D-g)/o)}function sr(g,D){return Math.ceil((D-g)/(60*1e3))}function gr(g){var D=g.min,L=g.max,nt=g.minTickInterval,tt=g.tickCount,Mt=g.tickInterval,Dt=[];Mt||(Mt=(L-D)/tt,nt&&Mt<nt&&(Mt=nt)),Mt=Math.max(Math.floor((L-D)/(Math.pow(2,12)-1)),Mt);var It=R(D);if(Mt>c)for(var $t=R(L),Ut=Math.ceil(Mt/c),Qt=It;Qt<=$t+Ut;Qt=Qt+Ut)Dt.push(J(Qt));else if(Mt>e)for(var or=Math.ceil(Mt/e),ir=At(D),hr=bt(D,L),Qt=0;Qt<=hr+or;Qt=Qt+or)Dt.push(kt(It,Qt+ir));else if(Mt>n)for(var fr=new Date(D),xr=fr.getFullYear(),Mr=fr.getMonth(),Sr=fr.getDate(),mr=Math.ceil(Mt/n),Hr=Rt(D,L),Qt=0;Qt<Hr+mr;Qt=Qt+mr)Dt.push(new Date(xr,Mr,Sr+Qt).getTime());else if(Mt>o)for(var fr=new Date(D),xr=fr.getFullYear(),Mr=fr.getMonth(),mr=fr.getDate(),Pr=fr.getHours(),Ar=Math.ceil(Mt/o),Or=rr(D,L),Qt=0;Qt<=Or+Ar;Qt=Qt+Ar)Dt.push(new Date(xr,Mr,mr,Pr+Qt).getTime());else if(Mt>t)for(var Ur=sr(D,L),wr=Math.ceil(Mt/t),Qt=0;Qt<=Ur+wr;Qt=Qt+wr)Dt.push(D+Qt*t);else{var Ir=Mt;Ir<r&&(Ir=r);for(var Vr=Math.floor(D/r)*r,fn=Math.ceil((L-D)/r),Qr=Math.ceil(Ir/r),Qt=0;Qt<fn+Qr;Qt=Qt+Qr)Dt.push(Vr+Qt*r)}return Dt.length>=512&&console.warn("Notice: current ticks length("+Dt.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+Mt+") is too small, increase the value to solve the problem!"),Dt}pt("cat",jt),pt("time-cat",m),pt("wilkinson-extended",en),pt("r-pretty",sn),pt("time",k),pt("time-pretty",gr),pt("log",an),pt("pow",Zr),pt("quantile",un),pt("d3-linear",Lr),Gt("cat",yt),Gt("category",yt),Gt("identity",qt),Gt("linear",i),Gt("log",gt),Gt("pow",Pt),Gt("time",Yt),Gt("timeCat",d),Gt("quantize",Tt),Gt("quantile",Wt)},49242:function(nr,St,U){"use strict";U.r(St),U.d(St,{Cache:function(){return te},assign:function(){return Yr},augment:function(){return vn},clamp:function(){return dr},clearAnimationFrame:function(){return mn},clone:function(){return Fr},contains:function(){return ut},debounce:function(){return yn},deepMix:function(){return Dn},difference:function(){return $},each:function(){return st},endsWith:function(){return it},every:function(){return gt},extend:function(){return On},filter:function(){return Q},find:function(){return Ht},findIndex:function(){return Lt},firstValue:function(){return ft},fixedBase:function(){return Dr},flatten:function(){return a},flattenDeep:function(){return T},forIn:function(){return k},get:function(){return Xn},getEllipsisText:function(){return Jn},getRange:function(){return b},getType:function(){return $t},getWrapBehavior:function(){return Vt},group:function(){return Xt},groupBy:function(){return Zt},groupToMap:function(){return Tt},has:function(){return m},hasKey:function(){return R},hasValue:function(){return bt},head:function(){return i},identity:function(){return Qn},includes:function(){return ut},indexOf:function(){return Tn},isArguments:function(){return Qt},isArray:function(){return O},isArrayLike:function(){return E},isBoolean:function(){return ir},isDate:function(){return fr},isDecimal:function(){return _r},isElement:function(){return Qr},isEmpty:function(){return Ln},isEqual:function(){return En},isEqualWith:function(){return Rn},isError:function(){return Mr},isEven:function(){return Lr},isFinite:function(){return Sr},isFunction:function(){return G},isInteger:function(){return Rr},isMatch:function(){return z},isNegative:function(){return kr},isNil:function(){return X},isNull:function(){return Hr},isNumber:function(){return vr},isNumberEqual:function(){return Jr},isObject:function(){return F},isObjectLike:function(){return dt},isOdd:function(){return tn},isPlainObject:function(){return Ot},isPositive:function(){return rn},isPrototype:function(){return Or},isRegExp:function(){return wr},isString:function(){return v},isType:function(){return lt},isUndefined:function(){return Vr},keys:function(){return A},last:function(){return s},lowerCase:function(){return rr},lowerFirst:function(){return gr},map:function(){return kn},mapValues:function(){return Fn},max:function(){return q},maxBy:function(){return Kr},measureTextWidth:function(){return cn},memoize:function(){return wn},min:function(){return xt},minBy:function(){return ln},mix:function(){return Yr},mod:function(){return nn},noop:function(){return Vn},number2color:function(){return jt},omit:function(){return zn},parseRadius:function(){return ar},pick:function(){return Un},pull:function(){return C},pullAt:function(){return t},reduce:function(){return n},remove:function(){return c},requestAnimationFrame:function(){return dn},set:function(){return Wn},size:function(){return $n},some:function(){return Pt},sortBy:function(){return w},startsWith:function(){return B},substitute:function(){return D},throttle:function(){return Kn},toArray:function(){return Gn},toDegree:function(){return Wr},toInteger:function(){return Zr},toRadian:function(){return sn},toString:function(){return kt},union:function(){return y},uniq:function(){return d},uniqueId:function(){return Zn},upperCase:function(){return nt},upperFirst:function(){return Mt},values:function(){return At},valuesOfKey:function(){return M},wrapBehavior:function(){return Gt}});var j=function(p){return p!==null&&typeof p!="function"&&isFinite(p.length)},E=j,wt=function(p,N){return E(p)?p.indexOf(N)>-1:!1},ut=wt,pt=function(p,N){if(!E(p))return p;for(var et=[],mt=0;mt<p.length;mt++){var _t=p[mt];N(_t,mt)&&et.push(_t)}return et},Q=pt,W=function(p,N){return N===void 0&&(N=[]),Q(p,function(et){return!ut(N,et)})},$=W,at={}.toString,yt=function(p,N){return at.call(p)==="[object "+N+"]"},lt=yt,G=function(p){return lt(p,"Function")},H=function(p){return p==null},X=H,O=function(p){return Array.isArray?Array.isArray(p):lt(p,"Array")},F=function(p){var N=typeof p;return p!==null&&N==="object"||N==="function"};function ht(p,N){if(!!p){var et;if(O(p))for(var mt=0,_t=p.length;mt<_t&&(et=N(p[mt],mt),et!==!1);mt++);else if(F(p)){for(var Ft in p)if(p.hasOwnProperty(Ft)&&(et=N(p[Ft],Ft),et===!1))break}}}var st=ht,Y=Object.keys?function(p){return Object.keys(p)}:function(p){var N=[];return st(p,function(et,mt){G(p)&&mt==="prototype"||N.push(mt)}),N},A=Y;function P(p,N){var et=A(N),mt=et.length;if(X(p))return!mt;for(var _t=0;_t<mt;_t+=1){var Ft=et[_t];if(N[Ft]!==p[Ft]||!(Ft in p))return!1}return!0}var z=P,Z=function(p){return typeof p=="object"&&p!==null},dt=Z,Et=function(p){if(!dt(p)||!lt(p,"Object"))return!1;if(Object.getPrototypeOf(p)===null)return!0;for(var N=p;Object.getPrototypeOf(N)!==null;)N=Object.getPrototypeOf(N);return Object.getPrototypeOf(p)===N},Ot=Et;function Kt(p,N){if(!O(p))return null;var et;if(G(N)&&(et=N),Ot(N)&&(et=function(_t){return z(_t,N)}),et){for(var mt=0;mt<p.length;mt+=1)if(et(p[mt]))return p[mt]}return null}var Ht=Kt;function Bt(p,N,et){et===void 0&&(et=0);for(var mt=et;mt<p.length;mt++)if(N(p[mt],mt))return mt;return-1}var Lt=Bt,zt=function(p,N){for(var et=null,mt=0;mt<p.length;mt++){var _t=p[mt],Ft=_t[N];if(!X(Ft)){O(Ft)?et=Ft[0]:et=Ft;break}}return et},ft=zt,rt=function(p){if(!O(p))return[];for(var N=[],et=0;et<p.length;et++)N=N.concat(p[et]);return N},a=rt,l=function(p,N){if(N===void 0&&(N=[]),!O(p))N.push(p);else for(var et=0;et<p.length;et+=1)l(p[et],N);return N},T=l,q=function(p){if(!!O(p))return p.reduce(function(N,et){return Math.max(N,et)},p[0])},xt=function(p){if(!!O(p))return p.reduce(function(N,et){return Math.min(N,et)},p[0])},x=function(p){var N=p.filter(function(tr){return!isNaN(tr)});if(!N.length)return{min:0,max:0};if(O(p[0])){for(var et=[],mt=0;mt<p.length;mt++)et=et.concat(p[mt]);N=et}var _t=q(N),Ft=xt(N);return{min:Ft,max:_t}},b=x,I=Array.prototype,S=I.splice,V=I.indexOf,ct=function(p){for(var N=[],et=1;et<arguments.length;et++)N[et-1]=arguments[et];for(var mt=0;mt<N.length;mt++)for(var _t=N[mt],Ft=-1;(Ft=V.call(p,_t))>-1;)S.call(p,Ft,1);return p},C=ct,f=Array.prototype.splice,r=function(N,et){if(!E(N))return[];for(var mt=N?et.length:0,_t=mt-1;mt--;){var Ft=void 0,tr=et[mt];(mt===_t||tr!==Ft)&&(Ft=tr,f.call(N,tr,1))}return N},t=r,o=function(p,N,et){if(!O(p)&&!Ot(p))return p;var mt=et;return st(p,function(_t,Ft){mt=N(mt,_t,Ft)}),mt},n=o,e=function(p,N){var et=[];if(!E(p))return et;for(var mt=-1,_t=[],Ft=p.length;++mt<Ft;){var tr=p[mt];N(tr,mt,p)&&(et.push(tr),_t.push(mt))}return t(p,_t),et},c=e,v=function(p){return lt(p,"String")};function _(p,N){var et;if(G(N))et=function(_t,Ft){return N(_t)-N(Ft)};else{var mt=[];v(N)?mt.push(N):O(N)&&(mt=N),et=function(_t,Ft){for(var tr=0;tr<mt.length;tr+=1){var ur=mt[tr];if(_t[ur]>Ft[ur])return 1;if(_t[ur]<Ft[ur])return-1}return 0}}return p.sort(et),p}var w=_;function d(p,N){N===void 0&&(N=new Map);var et=[];if(Array.isArray(p))for(var mt=0,_t=p.length;mt<_t;mt++){var Ft=p[mt];N.has(Ft)||(et.push(Ft),N.set(Ft,!0))}return et}var u=function(){for(var p=[],N=0;N<arguments.length;N++)p[N]=arguments[N];return d([].concat.apply([],p))},y=u,M=function(p,N){for(var et=[],mt={},_t=0;_t<p.length;_t++){var Ft=p[_t],tr=Ft[N];if(!X(tr)){O(tr)||(tr=[tr]);for(var ur=0;ur<tr.length;ur++){var Cr=tr[ur];mt[Cr]||(et.push(Cr),mt[Cr]=!0)}}}return et};function i(p){if(E(p))return p[0]}function s(p){if(E(p)){var N=p;return N[N.length-1]}}function h(p,N){return O(p)||v(p)?p[0]===N:!1}var B=h;function K(p,N){return O(p)||v(p)?p[p.length-1]===N:!1}var it=K,ot=function(p,N){for(var et=0;et<p.length;et++)if(!N(p[et],et))return!1;return!0},gt=ot,vt=function(p,N){for(var et=0;et<p.length;et++)if(N(p[et],et))return!0;return!1},Pt=vt,Ct=Object.prototype.hasOwnProperty;function Yt(p,N){if(!N||!O(p))return{};for(var et={},mt=G(N)?N:function(ur){return ur[N]},_t,Ft=0;Ft<p.length;Ft++){var tr=p[Ft];_t=mt(tr),Ct.call(et,_t)?et[_t].push(tr):et[_t]=[tr]}return et}var Zt=Yt;function Tt(p,N){if(!N)return{0:p};if(!G(N)){var et=O(N)?N:N.replace(/\s+/g,"").split("*");N=function(mt){for(var _t="_",Ft=0,tr=et.length;Ft<tr;Ft++)_t+=mt[et[Ft]]&&mt[et[Ft]].toString();return _t}}return Zt(p,N)}var Xt=function(p,N){if(!N)return[p];var et=Tt(p,N),mt=[];for(var _t in et)mt.push(et[_t]);return mt};function Wt(p,N){return p["_wrap_"+N]}var Vt=Wt;function Nt(p,N){if(p["_wrap_"+N])return p["_wrap_"+N];var et=function(mt){p[N](mt)};return p["_wrap_"+N]=et,et}var Gt=Nt,Jt={};function qt(p){var N=Jt[p];if(!N){for(var et=p.toString(16),mt=et.length;mt<6;mt++)et="0"+et;N="#"+et,Jt[p]=N}return N}var jt=qt;function er(p){var N=0,et=0,mt=0,_t=0;return O(p)?p.length===1?N=et=mt=_t=p[0]:p.length===2?(N=mt=p[0],et=_t=p[1]):p.length===3?(N=p[0],et=_t=p[1],mt=p[2]):(N=p[0],et=p[1],mt=p[2],_t=p[3]):N=et=mt=_t=p,{r1:N,r2:et,r3:mt,r4:_t}}var ar=er,cr=function(p,N,et){return p<N?N:p>et?et:p},dr=cr,lr=function(p,N){var et=N.toString(),mt=et.indexOf(".");if(mt===-1)return Math.round(p);var _t=et.substr(mt+1).length;return _t>20&&(_t=20),parseFloat(p.toFixed(_t))},Dr=lr,Tr=function(p){return lt(p,"Number")},vr=Tr,Er=function(p){return vr(p)&&p%1!=0},_r=Er,pr=function(p){return vr(p)&&p%2==0},Lr=pr,yr=Number.isInteger?Number.isInteger:function(p){return vr(p)&&p%1==0},Rr=yr,Nr=function(p){return vr(p)&&p<0},kr=Nr,Xr=1e-5;function Jr(p,N,et){return et===void 0&&(et=Xr),Math.abs(p-N)<et}var jr=function(p){return vr(p)&&p%2!=0},tn=jr,zr=function(p){return vr(p)&&p>0},rn=zr,Kr=function(p,N){if(!!O(p)){for(var et,mt=-Infinity,_t=0;_t<p.length;_t++){var Ft=p[_t],tr=G(N)?N(Ft):Ft[N];tr>mt&&(et=Ft,mt=tr)}return et}},ln=function(p,N){if(!!O(p)){for(var et,mt=Infinity,_t=0;_t<p.length;_t++){var Ft=p[_t],tr=G(N)?N(Ft):Ft[N];tr<mt&&(et=Ft,mt=tr)}return et}},Gr=function(p,N){return(p%N+N)%N},nn=Gr,en=180/Math.PI,an=function(p){return en*p},Wr=an,Zr=parseInt,on=Math.PI/180,un=function(p){return on*p},sn=un,k=st,m=function(p,N){return p.hasOwnProperty(N)},R=m,J=Object.values?function(p){return Object.values(p)}:function(p){var N=[];return st(p,function(et,mt){G(p)&&mt==="prototype"||N.push(et)}),N},At=J,bt=function(p,N){return ut(At(p),N)},kt=function(p){return X(p)?"":p.toString()},Rt=function(p){return kt(p).toLowerCase()},rr=Rt,sr=function(p){var N=kt(p);return N.charAt(0).toLowerCase()+N.substring(1)},gr=sr;function g(p,N){return!p||!N?p:p.replace(/\\?\{([^{}]+)\}/g,function(et,mt){return et.charAt(0)==="\\"?et.slice(1):N[mt]===void 0?"":N[mt]})}var D=g,L=function(p){return kt(p).toUpperCase()},nt=L,tt=function(p){var N=kt(p);return N.charAt(0).toUpperCase()+N.substring(1)},Mt=tt,Dt={}.toString,It=function(p){return Dt.call(p).replace(/^\[object /,"").replace(/]$/,"")},$t=It,Ut=function(p){return lt(p,"Arguments")},Qt=Ut,or=function(p){return lt(p,"Boolean")},ir=or,hr=function(p){return lt(p,"Date")},fr=hr,xr=function(p){return lt(p,"Error")},Mr=xr;function Sr(p){return vr(p)&&isFinite(p)}var mr=function(p){return p===null},Hr=mr,Pr=Object.prototype,Ar=function(p){var N=p&&p.constructor,et=typeof N=="function"&&N.prototype||Pr;return p===et},Or=Ar,Ur=function(p){return lt(p,"RegExp")},wr=Ur,Ir=function(p){return p===void 0},Vr=Ir,fn=function(p){return p instanceof Element||p instanceof HTMLDocument},Qr=fn;function dn(p){var N=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(et){return setTimeout(et,16)};return N(p)}function mn(p){var N=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout;N(p)}function $r(p,N){for(var et in N)N.hasOwnProperty(et)&&et!=="constructor"&&N[et]!==void 0&&(p[et]=N[et])}function Yr(p,N,et,mt){return N&&$r(p,N),et&&$r(p,et),mt&&$r(p,mt),p}var hn=function(){for(var p=[],N=0;N<arguments.length;N++)p[N]=arguments[N];for(var et=p[0],mt=1;mt<p.length;mt++){var _t=p[mt];G(_t)&&(_t=_t.prototype),Yr(et.prototype,_t)}},vn=hn,qr=function(p){if(typeof p!="object"||p===null)return p;var N;if(O(p)){N=[];for(var et=0,mt=p.length;et<mt;et++)typeof p[et]=="object"&&p[et]!=null?N[et]=qr(p[et]):N[et]=p[et]}else{N={};for(var _t in p)typeof p[_t]=="object"&&p[_t]!=null?N[_t]=qr(p[_t]):N[_t]=p[_t]}return N},Fr=qr;function An(p,N,et){var mt;return function(){var _t=this,Ft=arguments,tr=function(){mt=null,et||p.apply(_t,Ft)},ur=et&&!mt;clearTimeout(mt),mt=setTimeout(tr,N),ur&&p.apply(_t,Ft)}}var yn=An,wn=function(p,N){if(!G(p))throw new TypeError("Expected a function");var et=function(){for(var mt=[],_t=0;_t<arguments.length;_t++)mt[_t]=arguments[_t];var Ft=N?N.apply(this,mt):mt[0],tr=et.cache;if(tr.has(Ft))return tr.get(Ft);var ur=p.apply(this,mt);return tr.set(Ft,ur),ur};return et.cache=new Map,et},_n=5;function Cn(p,N,et,mt){et=et||0,mt=mt||_n;for(var _t in N)if(N.hasOwnProperty(_t)){var Ft=N[_t];Ft!==null&&Ot(Ft)?(Ot(p[_t])||(p[_t]={}),et<mt?Cn(p[_t],Ft,et+1,mt):p[_t]=N[_t]):O(Ft)?(p[_t]=[],p[_t]=p[_t].concat(Ft)):Ft!==void 0&&(p[_t]=Ft)}}var Pn=function(p){for(var N=[],et=1;et<arguments.length;et++)N[et-1]=arguments[et];for(var mt=0;mt<N.length;mt+=1)Cn(p,N[mt]);return p},Dn=Pn,Sn=function(p,N,et,mt){G(N)||(et=N,N=p,p=function(){});var _t=Object.create?function(tr,ur){return Object.create(tr,{constructor:{value:ur}})}:function(tr,ur){function Cr(){}Cr.prototype=tr;var br=new Cr;return br.constructor=ur,br},Ft=_t(N.prototype,p);return p.prototype=Yr(Ft,p.prototype),p.superclass=_t(N.prototype,N),Yr(Ft,et),Yr(p,mt),p},On=Sn,bn=function(p,N){if(!E(p))return-1;var et=Array.prototype.indexOf;if(et)return et.call(p,N);for(var mt=-1,_t=0;_t<p.length;_t++)if(p[_t]===N){mt=_t;break}return mt},Tn=bn,In=Object.prototype.hasOwnProperty;function Bn(p){if(X(p))return!0;if(E(p))return!p.length;var N=$t(p);if(N==="Map"||N==="Set")return!p.size;if(Or(p))return!Object.keys(p).length;for(var et in p)if(In.call(p,et))return!1;return!0}var Ln=Bn,xn=function(p,N){if(p===N)return!0;if(!p||!N||v(p)||v(N))return!1;if(E(p)||E(N)){if(p.length!==N.length)return!1;for(var et=!0,mt=0;mt<p.length&&(et=xn(p[mt],N[mt]),!!et);mt++);return et}if(dt(p)||dt(N)){var _t=Object.keys(p),Ft=Object.keys(N);if(_t.length!==Ft.length)return!1;for(var et=!0,mt=0;mt<_t.length&&(et=xn(p[_t[mt]],N[_t[mt]]),!!et);mt++);return et}return!1},En=xn,Rn=function(p,N,et){return G(et)?!!et(p,N):En(p,N)},Nn=function(p,N){if(!E(p))return p;for(var et=[],mt=0;mt<p.length;mt++){var _t=p[mt];et.push(N(_t,mt))}return et},kn=Nn,Yn=function(p){return p},Fn=function(p,N){N===void 0&&(N=Yn);var et={};return F(p)&&!X(p)&&Object.keys(p).forEach(function(mt){et[mt]=N(p[mt],mt)}),et},Xn=function(p,N,et){for(var mt=0,_t=v(N)?N.split("."):N;p&&mt<_t.length;)p=p[_t[mt++]];return p===void 0||mt<_t.length?et:p},Wn=function(p,N,et){var mt=p,_t=v(N)?N.split("."):N;return _t.forEach(function(Ft,tr){tr<_t.length-1?(F(mt[Ft])||(mt[Ft]=vr(_t[tr+1])?[]:{}),mt=mt[Ft]):mt[Ft]=et}),p},Hn=Object.prototype.hasOwnProperty,Un=function(p,N){if(p===null||!Ot(p))return{};var et={};return st(N,function(mt){Hn.call(p,mt)&&(et[mt]=p[mt])}),et},zn=function(p,N){return n(p,function(et,mt,_t){return N.includes(_t)||(et[_t]=mt),et},{})},Kn=function(p,N,et){var mt,_t,Ft,tr,ur=0;et||(et={});var Cr=function(){ur=et.leading===!1?0:Date.now(),mt=null,tr=p.apply(_t,Ft),mt||(_t=Ft=null)},br=function(){var Br=Date.now();!ur&&et.leading===!1&&(ur=Br);var Mn=N-(Br-ur);return _t=this,Ft=arguments,Mn<=0||Mn>N?(mt&&(clearTimeout(mt),mt=null),ur=Br,tr=p.apply(_t,Ft),mt||(_t=Ft=null)):!mt&&et.trailing!==!1&&(mt=setTimeout(Cr,Mn)),tr};return br.cancel=function(){clearTimeout(mt),ur=0,mt=_t=Ft=null},br},Gn=function(p){return E(p)?Array.prototype.slice.call(p):[]},pn={},Zn=function(p){return p=p||"g",pn[p]?pn[p]+=1:pn[p]=1,p+pn[p]},Vn=function(){},Qn=function(p){return p};function $n(p){return X(p)?0:E(p)?p.length:Object.keys(p).length}var qn=U(70655),gn,cn=wn(function(p,N){N===void 0&&(N={});var et=N.fontSize,mt=N.fontFamily,_t=N.fontWeight,Ft=N.fontStyle,tr=N.fontVariant;return gn||(gn=document.createElement("canvas").getContext("2d")),gn.font=[Ft,tr,_t,et+"px",mt].join(" "),gn.measureText(v(p)?p:"").width},function(p,N){return N===void 0&&(N={}),(0,qn.__spreadArrays)([p],At(N)).join("")}),Jn=function(p,N,et,mt){mt===void 0&&(mt="...");var _t=16,Ft=cn(mt,et),tr=v(p)?p:kt(p),ur=N,Cr=[],br,Br;if(cn(p,et)<=N)return p;for(;br=tr.substr(0,_t),Br=cn(br,et),!(Br+Ft>ur&&Br>ur);)if(Cr.push(br),ur-=Br,tr=tr.substr(_t),!tr)return Cr.join("");for(;br=tr.substr(0,1),Br=cn(br,et),!(Br+Ft>ur);)if(Cr.push(br),ur-=Br,tr=tr.substr(1),!tr)return Cr.join("");return""+Cr.join("")+mt},jn=function(){function p(){this.map={}}return p.prototype.has=function(N){return this.map[N]!==void 0},p.prototype.get=function(N,et){var mt=this.map[N];return mt===void 0?et:mt},p.prototype.set=function(N,et){this.map[N]=et},p.prototype.clear=function(){this.map={}},p.prototype.delete=function(N){delete this.map[N]},p.prototype.size=function(){return Object.keys(this.map).length},p}(),te=jn},43631:function(nr,St,U){"use strict";U.d(St,{qY:function(){return H}});var j=U(34155),E=function(A,P,z){if(z||arguments.length===2)for(var Z=0,dt=P.length,Et;Z<dt;Z++)(Et||!(Z in P))&&(Et||(Et=Array.prototype.slice.call(P,0,Z)),Et[Z]=P[Z]);return A.concat(Et||Array.prototype.slice.call(P))},wt=function(){function A(P,z,Z){this.name=P,this.version=z,this.os=Z,this.type="browser"}return A}(),ut=function(){function A(P){this.version=P,this.type="node",this.name="node",this.os=j.platform}return A}(),pt=function(){function A(P,z,Z,dt){this.name=P,this.version=z,this.os=Z,this.bot=dt,this.type="bot-device"}return A}(),Q=function(){function A(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}return A}(),W=function(){function A(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}return A}(),$=/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/,at=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,yt=3,lt=[["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",$]],G=[["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 H(A){return A?F(A):typeof document=="undefined"&&typeof navigator!="undefined"&&navigator.product==="ReactNative"?new W:typeof navigator!="undefined"?F(navigator.userAgent):st()}function X(A){return A!==""&&lt.reduce(function(P,z){var Z=z[0],dt=z[1];if(P)return P;var Et=dt.exec(A);return!!Et&&[Z,Et]},!1)}function O(A){var P=X(A);return P?P[0]:null}function F(A){var P=X(A);if(!P)return null;var z=P[0],Z=P[1];if(z==="searchbot")return new Q;var dt=Z[1]&&Z[1].split(".").join("_").split("_").slice(0,3);dt?dt.length<yt&&(dt=E(E([],dt,!0),Y(yt-dt.length),!0)):dt=[];var Et=dt.join("."),Ot=ht(A),Kt=at.exec(A);return Kt&&Kt[1]?new pt(z,Et,Ot,Kt[1]):new wt(z,Et,Ot)}function ht(A){for(var P=0,z=G.length;P<z;P++){var Z=G[P],dt=Z[0],Et=Z[1],Ot=Et.exec(A);if(Ot)return dt}return null}function st(){var A=typeof j!="undefined"&&j.version;return A?new ut(j.version.slice(1)):null}function Y(A){for(var P=[],z=0;z<A;z++)P.push("0");return P}},49685:function(nr,St,U){"use strict";U.r(St),U.d(St,{EPSILON:function(){return j},ARRAY_TYPE:function(){return E},RANDOM:function(){return wt},setMatrixArrayType:function(){return ut},toRadian:function(){return Q},equals:function(){return W}});var j=1e-6,E=typeof Float32Array!="undefined"?Float32Array:Array,wt=Math.random;function ut($){E=$}var pt=Math.PI/180;function Q($){return $*pt}function W($,at){return Math.abs($-at)<=j*Math.max(1,Math.abs($),Math.abs(at))}Math.hypot||(Math.hypot=function(){for(var $=0,at=arguments.length;at--;)$+=arguments[at]*arguments[at];return Math.sqrt($)})},35600:function(nr,St,U){"use strict";U.r(St),U.d(St,{create:function(){return E},fromMat4:function(){return wt},clone:function(){return ut},copy:function(){return pt},fromValues:function(){return Q},set:function(){return W},identity:function(){return $},transpose:function(){return at},invert:function(){return yt},adjoint:function(){return lt},determinant:function(){return G},multiply:function(){return H},translate:function(){return X},rotate:function(){return O},scale:function(){return F},fromTranslation:function(){return ht},fromRotation:function(){return st},fromScaling:function(){return Y},fromMat2d:function(){return A},fromQuat:function(){return P},normalFromMat4:function(){return z},projection:function(){return Z},str:function(){return dt},frob:function(){return Et},add:function(){return Ot},subtract:function(){return Kt},multiplyScalar:function(){return Ht},multiplyScalarAndAdd:function(){return Bt},exactEquals:function(){return Lt},equals:function(){return zt},mul:function(){return ft},sub:function(){return rt}});var j=U(49685);function E(){var a=new j.ARRAY_TYPE(9);return j.ARRAY_TYPE!=Float32Array&&(a[1]=0,a[2]=0,a[3]=0,a[5]=0,a[6]=0,a[7]=0),a[0]=1,a[4]=1,a[8]=1,a}function wt(a,l){return a[0]=l[0],a[1]=l[1],a[2]=l[2],a[3]=l[4],a[4]=l[5],a[5]=l[6],a[6]=l[8],a[7]=l[9],a[8]=l[10],a}function ut(a){var l=new j.ARRAY_TYPE(9);return l[0]=a[0],l[1]=a[1],l[2]=a[2],l[3]=a[3],l[4]=a[4],l[5]=a[5],l[6]=a[6],l[7]=a[7],l[8]=a[8],l}function pt(a,l){return a[0]=l[0],a[1]=l[1],a[2]=l[2],a[3]=l[3],a[4]=l[4],a[5]=l[5],a[6]=l[6],a[7]=l[7],a[8]=l[8],a}function Q(a,l,T,q,xt,x,b,I,S){var V=new j.ARRAY_TYPE(9);return V[0]=a,V[1]=l,V[2]=T,V[3]=q,V[4]=xt,V[5]=x,V[6]=b,V[7]=I,V[8]=S,V}function W(a,l,T,q,xt,x,b,I,S,V){return a[0]=l,a[1]=T,a[2]=q,a[3]=xt,a[4]=x,a[5]=b,a[6]=I,a[7]=S,a[8]=V,a}function $(a){return a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=1,a[5]=0,a[6]=0,a[7]=0,a[8]=1,a}function at(a,l){if(a===l){var T=l[1],q=l[2],xt=l[5];a[1]=l[3],a[2]=l[6],a[3]=T,a[5]=l[7],a[6]=q,a[7]=xt}else a[0]=l[0],a[1]=l[3],a[2]=l[6],a[3]=l[1],a[4]=l[4],a[5]=l[7],a[6]=l[2],a[7]=l[5],a[8]=l[8];return a}function yt(a,l){var T=l[0],q=l[1],xt=l[2],x=l[3],b=l[4],I=l[5],S=l[6],V=l[7],ct=l[8],C=ct*b-I*V,f=-ct*x+I*S,r=V*x-b*S,t=T*C+q*f+xt*r;return t?(t=1/t,a[0]=C*t,a[1]=(-ct*q+xt*V)*t,a[2]=(I*q-xt*b)*t,a[3]=f*t,a[4]=(ct*T-xt*S)*t,a[5]=(-I*T+xt*x)*t,a[6]=r*t,a[7]=(-V*T+q*S)*t,a[8]=(b*T-q*x)*t,a):null}function lt(a,l){var T=l[0],q=l[1],xt=l[2],x=l[3],b=l[4],I=l[5],S=l[6],V=l[7],ct=l[8];return a[0]=b*ct-I*V,a[1]=xt*V-q*ct,a[2]=q*I-xt*b,a[3]=I*S-x*ct,a[4]=T*ct-xt*S,a[5]=xt*x-T*I,a[6]=x*V-b*S,a[7]=q*S-T*V,a[8]=T*b-q*x,a}function G(a){var l=a[0],T=a[1],q=a[2],xt=a[3],x=a[4],b=a[5],I=a[6],S=a[7],V=a[8];return l*(V*x-b*S)+T*(-V*xt+b*I)+q*(S*xt-x*I)}function H(a,l,T){var q=l[0],xt=l[1],x=l[2],b=l[3],I=l[4],S=l[5],V=l[6],ct=l[7],C=l[8],f=T[0],r=T[1],t=T[2],o=T[3],n=T[4],e=T[5],c=T[6],v=T[7],_=T[8];return a[0]=f*q+r*b+t*V,a[1]=f*xt+r*I+t*ct,a[2]=f*x+r*S+t*C,a[3]=o*q+n*b+e*V,a[4]=o*xt+n*I+e*ct,a[5]=o*x+n*S+e*C,a[6]=c*q+v*b+_*V,a[7]=c*xt+v*I+_*ct,a[8]=c*x+v*S+_*C,a}function X(a,l,T){var q=l[0],xt=l[1],x=l[2],b=l[3],I=l[4],S=l[5],V=l[6],ct=l[7],C=l[8],f=T[0],r=T[1];return a[0]=q,a[1]=xt,a[2]=x,a[3]=b,a[4]=I,a[5]=S,a[6]=f*q+r*b+V,a[7]=f*xt+r*I+ct,a[8]=f*x+r*S+C,a}function O(a,l,T){var q=l[0],xt=l[1],x=l[2],b=l[3],I=l[4],S=l[5],V=l[6],ct=l[7],C=l[8],f=Math.sin(T),r=Math.cos(T);return a[0]=r*q+f*b,a[1]=r*xt+f*I,a[2]=r*x+f*S,a[3]=r*b-f*q,a[4]=r*I-f*xt,a[5]=r*S-f*x,a[6]=V,a[7]=ct,a[8]=C,a}function F(a,l,T){var q=T[0],xt=T[1];return a[0]=q*l[0],a[1]=q*l[1],a[2]=q*l[2],a[3]=xt*l[3],a[4]=xt*l[4],a[5]=xt*l[5],a[6]=l[6],a[7]=l[7],a[8]=l[8],a}function ht(a,l){return a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=1,a[5]=0,a[6]=l[0],a[7]=l[1],a[8]=1,a}function st(a,l){var T=Math.sin(l),q=Math.cos(l);return a[0]=q,a[1]=T,a[2]=0,a[3]=-T,a[4]=q,a[5]=0,a[6]=0,a[7]=0,a[8]=1,a}function Y(a,l){return a[0]=l[0],a[1]=0,a[2]=0,a[3]=0,a[4]=l[1],a[5]=0,a[6]=0,a[7]=0,a[8]=1,a}function A(a,l){return a[0]=l[0],a[1]=l[1],a[2]=0,a[3]=l[2],a[4]=l[3],a[5]=0,a[6]=l[4],a[7]=l[5],a[8]=1,a}function P(a,l){var T=l[0],q=l[1],xt=l[2],x=l[3],b=T+T,I=q+q,S=xt+xt,V=T*b,ct=q*b,C=q*I,f=xt*b,r=xt*I,t=xt*S,o=x*b,n=x*I,e=x*S;return a[0]=1-C-t,a[3]=ct-e,a[6]=f+n,a[1]=ct+e,a[4]=1-V-t,a[7]=r-o,a[2]=f-n,a[5]=r+o,a[8]=1-V-C,a}function z(a,l){var T=l[0],q=l[1],xt=l[2],x=l[3],b=l[4],I=l[5],S=l[6],V=l[7],ct=l[8],C=l[9],f=l[10],r=l[11],t=l[12],o=l[13],n=l[14],e=l[15],c=T*I-q*b,v=T*S-xt*b,_=T*V-x*b,w=q*S-xt*I,d=q*V-x*I,u=xt*V-x*S,y=ct*o-C*t,M=ct*n-f*t,i=ct*e-r*t,s=C*n-f*o,h=C*e-r*o,B=f*e-r*n,K=c*B-v*h+_*s+w*i-d*M+u*y;return K?(K=1/K,a[0]=(I*B-S*h+V*s)*K,a[1]=(S*i-b*B-V*M)*K,a[2]=(b*h-I*i+V*y)*K,a[3]=(xt*h-q*B-x*s)*K,a[4]=(T*B-xt*i+x*M)*K,a[5]=(q*i-T*h-x*y)*K,a[6]=(o*u-n*d+e*w)*K,a[7]=(n*_-t*u-e*v)*K,a[8]=(t*d-o*_+e*c)*K,a):null}function Z(a,l,T){return a[0]=2/l,a[1]=0,a[2]=0,a[3]=0,a[4]=-2/T,a[5]=0,a[6]=-1,a[7]=1,a[8]=1,a}function dt(a){return"mat3("+a[0]+", "+a[1]+", "+a[2]+", "+a[3]+", "+a[4]+", "+a[5]+", "+a[6]+", "+a[7]+", "+a[8]+")"}function Et(a){return Math.hypot(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8])}function Ot(a,l,T){return a[0]=l[0]+T[0],a[1]=l[1]+T[1],a[2]=l[2]+T[2],a[3]=l[3]+T[3],a[4]=l[4]+T[4],a[5]=l[5]+T[5],a[6]=l[6]+T[6],a[7]=l[7]+T[7],a[8]=l[8]+T[8],a}function Kt(a,l,T){return a[0]=l[0]-T[0],a[1]=l[1]-T[1],a[2]=l[2]-T[2],a[3]=l[3]-T[3],a[4]=l[4]-T[4],a[5]=l[5]-T[5],a[6]=l[6]-T[6],a[7]=l[7]-T[7],a[8]=l[8]-T[8],a}function Ht(a,l,T){return a[0]=l[0]*T,a[1]=l[1]*T,a[2]=l[2]*T,a[3]=l[3]*T,a[4]=l[4]*T,a[5]=l[5]*T,a[6]=l[6]*T,a[7]=l[7]*T,a[8]=l[8]*T,a}function Bt(a,l,T,q){return a[0]=l[0]+T[0]*q,a[1]=l[1]+T[1]*q,a[2]=l[2]+T[2]*q,a[3]=l[3]+T[3]*q,a[4]=l[4]+T[4]*q,a[5]=l[5]+T[5]*q,a[6]=l[6]+T[6]*q,a[7]=l[7]+T[7]*q,a[8]=l[8]+T[8]*q,a}function Lt(a,l){return a[0]===l[0]&&a[1]===l[1]&&a[2]===l[2]&&a[3]===l[3]&&a[4]===l[4]&&a[5]===l[5]&&a[6]===l[6]&&a[7]===l[7]&&a[8]===l[8]}function zt(a,l){var T=a[0],q=a[1],xt=a[2],x=a[3],b=a[4],I=a[5],S=a[6],V=a[7],ct=a[8],C=l[0],f=l[1],r=l[2],t=l[3],o=l[4],n=l[5],e=l[6],c=l[7],v=l[8];return Math.abs(T-C)<=j.EPSILON*Math.max(1,Math.abs(T),Math.abs(C))&&Math.abs(q-f)<=j.EPSILON*Math.max(1,Math.abs(q),Math.abs(f))&&Math.abs(xt-r)<=j.EPSILON*Math.max(1,Math.abs(xt),Math.abs(r))&&Math.abs(x-t)<=j.EPSILON*Math.max(1,Math.abs(x),Math.abs(t))&&Math.abs(b-o)<=j.EPSILON*Math.max(1,Math.abs(b),Math.abs(o))&&Math.abs(I-n)<=j.EPSILON*Math.max(1,Math.abs(I),Math.abs(n))&&Math.abs(S-e)<=j.EPSILON*Math.max(1,Math.abs(S),Math.abs(e))&&Math.abs(V-c)<=j.EPSILON*Math.max(1,Math.abs(V),Math.abs(c))&&Math.abs(ct-v)<=j.EPSILON*Math.max(1,Math.abs(ct),Math.abs(v))}var ft=H,rt=Kt},31437:function(nr,St,U){"use strict";U.r(St),U.d(St,{create:function(){return E},clone:function(){return wt},fromValues:function(){return ut},copy:function(){return pt},set:function(){return Q},add:function(){return W},subtract:function(){return $},multiply:function(){return at},divide:function(){return yt},ceil:function(){return lt},floor:function(){return G},min:function(){return H},max:function(){return X},round:function(){return O},scale:function(){return F},scaleAndAdd:function(){return ht},distance:function(){return st},squaredDistance:function(){return Y},length:function(){return A},squaredLength:function(){return P},negate:function(){return z},inverse:function(){return Z},normalize:function(){return dt},dot:function(){return Et},cross:function(){return Ot},lerp:function(){return Kt},random:function(){return Ht},transformMat2:function(){return Bt},transformMat2d:function(){return Lt},transformMat3:function(){return zt},transformMat4:function(){return ft},rotate:function(){return rt},angle:function(){return a},zero:function(){return l},str:function(){return T},exactEquals:function(){return q},equals:function(){return xt},len:function(){return x},sub:function(){return b},mul:function(){return I},div:function(){return S},dist:function(){return V},sqrDist:function(){return ct},sqrLen:function(){return C},forEach:function(){return f}});var j=U(49685);function E(){var r=new j.ARRAY_TYPE(2);return j.ARRAY_TYPE!=Float32Array&&(r[0]=0,r[1]=0),r}function wt(r){var t=new j.ARRAY_TYPE(2);return t[0]=r[0],t[1]=r[1],t}function ut(r,t){var o=new j.ARRAY_TYPE(2);return o[0]=r,o[1]=t,o}function pt(r,t){return r[0]=t[0],r[1]=t[1],r}function Q(r,t,o){return r[0]=t,r[1]=o,r}function W(r,t,o){return r[0]=t[0]+o[0],r[1]=t[1]+o[1],r}function $(r,t,o){return r[0]=t[0]-o[0],r[1]=t[1]-o[1],r}function at(r,t,o){return r[0]=t[0]*o[0],r[1]=t[1]*o[1],r}function yt(r,t,o){return r[0]=t[0]/o[0],r[1]=t[1]/o[1],r}function lt(r,t){return r[0]=Math.ceil(t[0]),r[1]=Math.ceil(t[1]),r}function G(r,t){return r[0]=Math.floor(t[0]),r[1]=Math.floor(t[1]),r}function H(r,t,o){return r[0]=Math.min(t[0],o[0]),r[1]=Math.min(t[1],o[1]),r}function X(r,t,o){return r[0]=Math.max(t[0],o[0]),r[1]=Math.max(t[1],o[1]),r}function O(r,t){return r[0]=Math.round(t[0]),r[1]=Math.round(t[1]),r}function F(r,t,o){return r[0]=t[0]*o,r[1]=t[1]*o,r}function ht(r,t,o,n){return r[0]=t[0]+o[0]*n,r[1]=t[1]+o[1]*n,r}function st(r,t){var o=t[0]-r[0],n=t[1]-r[1];return Math.hypot(o,n)}function Y(r,t){var o=t[0]-r[0],n=t[1]-r[1];return o*o+n*n}function A(r){var t=r[0],o=r[1];return Math.hypot(t,o)}function P(r){var t=r[0],o=r[1];return t*t+o*o}function z(r,t){return r[0]=-t[0],r[1]=-t[1],r}function Z(r,t){return r[0]=1/t[0],r[1]=1/t[1],r}function dt(r,t){var o=t[0],n=t[1],e=o*o+n*n;return e>0&&(e=1/Math.sqrt(e)),r[0]=t[0]*e,r[1]=t[1]*e,r}function Et(r,t){return r[0]*t[0]+r[1]*t[1]}function Ot(r,t,o){var n=t[0]*o[1]-t[1]*o[0];return r[0]=r[1]=0,r[2]=n,r}function Kt(r,t,o,n){var e=t[0],c=t[1];return r[0]=e+n*(o[0]-e),r[1]=c+n*(o[1]-c),r}function Ht(r,t){t=t||1;var o=j.RANDOM()*2*Math.PI;return r[0]=Math.cos(o)*t,r[1]=Math.sin(o)*t,r}function Bt(r,t,o){var n=t[0],e=t[1];return r[0]=o[0]*n+o[2]*e,r[1]=o[1]*n+o[3]*e,r}function Lt(r,t,o){var n=t[0],e=t[1];return r[0]=o[0]*n+o[2]*e+o[4],r[1]=o[1]*n+o[3]*e+o[5],r}function zt(r,t,o){var n=t[0],e=t[1];return r[0]=o[0]*n+o[3]*e+o[6],r[1]=o[1]*n+o[4]*e+o[7],r}function ft(r,t,o){var n=t[0],e=t[1];return r[0]=o[0]*n+o[4]*e+o[12],r[1]=o[1]*n+o[5]*e+o[13],r}function rt(r,t,o,n){var e=t[0]-o[0],c=t[1]-o[1],v=Math.sin(n),_=Math.cos(n);return r[0]=e*_-c*v+o[0],r[1]=e*v+c*_+o[1],r}function a(r,t){var o=r[0],n=r[1],e=t[0],c=t[1],v=Math.sqrt(o*o+n*n)*Math.sqrt(e*e+c*c),_=v&&(o*e+n*c)/v;return Math.acos(Math.min(Math.max(_,-1),1))}function l(r){return r[0]=0,r[1]=0,r}function T(r){return"vec2("+r[0]+", "+r[1]+")"}function q(r,t){return r[0]===t[0]&&r[1]===t[1]}function xt(r,t){var o=r[0],n=r[1],e=t[0],c=t[1];return Math.abs(o-e)<=j.EPSILON*Math.max(1,Math.abs(o),Math.abs(e))&&Math.abs(n-c)<=j.EPSILON*Math.max(1,Math.abs(n),Math.abs(c))}var x=A,b=$,I=at,S=yt,V=st,ct=Y,C=P,f=function(){var r=E();return function(t,o,n,e,c,v){var _,w;for(o||(o=2),n||(n=0),e?w=Math.min(e*o+n,t.length):w=t.length,_=n;_<w;_+=o)r[0]=t[_],r[1]=t[_+1],c(r,r,v),t[_]=r[0],t[_+1]=r[1];return t}}()},77160:function(nr,St,U){"use strict";U.r(St),U.d(St,{create:function(){return E},clone:function(){return wt},length:function(){return ut},fromValues:function(){return pt},copy:function(){return Q},set:function(){return W},add:function(){return $},subtract:function(){return at},multiply:function(){return yt},divide:function(){return lt},ceil:function(){return G},floor:function(){return H},min:function(){return X},max:function(){return O},round:function(){return F},scale:function(){return ht},scaleAndAdd:function(){return st},distance:function(){return Y},squaredDistance:function(){return A},squaredLength:function(){return P},negate:function(){return z},inverse:function(){return Z},normalize:function(){return dt},dot:function(){return Et},cross:function(){return Ot},lerp:function(){return Kt},hermite:function(){return Ht},bezier:function(){return Bt},random:function(){return Lt},transformMat4:function(){return zt},transformMat3:function(){return ft},transformQuat:function(){return rt},rotateX:function(){return a},rotateY:function(){return l},rotateZ:function(){return T},angle:function(){return q},zero:function(){return xt},str:function(){return x},exactEquals:function(){return b},equals:function(){return I},sub:function(){return S},mul:function(){return V},div:function(){return ct},dist:function(){return C},sqrDist:function(){return f},len:function(){return r},sqrLen:function(){return t},forEach:function(){return o}});var j=U(49685);function E(){var n=new j.ARRAY_TYPE(3);return j.ARRAY_TYPE!=Float32Array&&(n[0]=0,n[1]=0,n[2]=0),n}function wt(n){var e=new j.ARRAY_TYPE(3);return e[0]=n[0],e[1]=n[1],e[2]=n[2],e}function ut(n){var e=n[0],c=n[1],v=n[2];return Math.hypot(e,c,v)}function pt(n,e,c){var v=new j.ARRAY_TYPE(3);return v[0]=n,v[1]=e,v[2]=c,v}function Q(n,e){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n}function W(n,e,c,v){return n[0]=e,n[1]=c,n[2]=v,n}function $(n,e,c){return n[0]=e[0]+c[0],n[1]=e[1]+c[1],n[2]=e[2]+c[2],n}function at(n,e,c){return n[0]=e[0]-c[0],n[1]=e[1]-c[1],n[2]=e[2]-c[2],n}function yt(n,e,c){return n[0]=e[0]*c[0],n[1]=e[1]*c[1],n[2]=e[2]*c[2],n}function lt(n,e,c){return n[0]=e[0]/c[0],n[1]=e[1]/c[1],n[2]=e[2]/c[2],n}function G(n,e){return n[0]=Math.ceil(e[0]),n[1]=Math.ceil(e[1]),n[2]=Math.ceil(e[2]),n}function H(n,e){return n[0]=Math.floor(e[0]),n[1]=Math.floor(e[1]),n[2]=Math.floor(e[2]),n}function X(n,e,c){return n[0]=Math.min(e[0],c[0]),n[1]=Math.min(e[1],c[1]),n[2]=Math.min(e[2],c[2]),n}function O(n,e,c){return n[0]=Math.max(e[0],c[0]),n[1]=Math.max(e[1],c[1]),n[2]=Math.max(e[2],c[2]),n}function F(n,e){return n[0]=Math.round(e[0]),n[1]=Math.round(e[1]),n[2]=Math.round(e[2]),n}function ht(n,e,c){return n[0]=e[0]*c,n[1]=e[1]*c,n[2]=e[2]*c,n}function st(n,e,c,v){return n[0]=e[0]+c[0]*v,n[1]=e[1]+c[1]*v,n[2]=e[2]+c[2]*v,n}function Y(n,e){var c=e[0]-n[0],v=e[1]-n[1],_=e[2]-n[2];return Math.hypot(c,v,_)}function A(n,e){var c=e[0]-n[0],v=e[1]-n[1],_=e[2]-n[2];return c*c+v*v+_*_}function P(n){var e=n[0],c=n[1],v=n[2];return e*e+c*c+v*v}function z(n,e){return n[0]=-e[0],n[1]=-e[1],n[2]=-e[2],n}function Z(n,e){return n[0]=1/e[0],n[1]=1/e[1],n[2]=1/e[2],n}function dt(n,e){var c=e[0],v=e[1],_=e[2],w=c*c+v*v+_*_;return w>0&&(w=1/Math.sqrt(w)),n[0]=e[0]*w,n[1]=e[1]*w,n[2]=e[2]*w,n}function Et(n,e){return n[0]*e[0]+n[1]*e[1]+n[2]*e[2]}function Ot(n,e,c){var v=e[0],_=e[1],w=e[2],d=c[0],u=c[1],y=c[2];return n[0]=_*y-w*u,n[1]=w*d-v*y,n[2]=v*u-_*d,n}function Kt(n,e,c,v){var _=e[0],w=e[1],d=e[2];return n[0]=_+v*(c[0]-_),n[1]=w+v*(c[1]-w),n[2]=d+v*(c[2]-d),n}function Ht(n,e,c,v,_,w){var d=w*w,u=d*(2*w-3)+1,y=d*(w-2)+w,M=d*(w-1),i=d*(3-2*w);return n[0]=e[0]*u+c[0]*y+v[0]*M+_[0]*i,n[1]=e[1]*u+c[1]*y+v[1]*M+_[1]*i,n[2]=e[2]*u+c[2]*y+v[2]*M+_[2]*i,n}function Bt(n,e,c,v,_,w){var d=1-w,u=d*d,y=w*w,M=u*d,i=3*w*u,s=3*y*d,h=y*w;return n[0]=e[0]*M+c[0]*i+v[0]*s+_[0]*h,n[1]=e[1]*M+c[1]*i+v[1]*s+_[1]*h,n[2]=e[2]*M+c[2]*i+v[2]*s+_[2]*h,n}function Lt(n,e){e=e||1;var c=j.RANDOM()*2*Math.PI,v=j.RANDOM()*2-1,_=Math.sqrt(1-v*v)*e;return n[0]=Math.cos(c)*_,n[1]=Math.sin(c)*_,n[2]=v*e,n}function zt(n,e,c){var v=e[0],_=e[1],w=e[2],d=c[3]*v+c[7]*_+c[11]*w+c[15];return d=d||1,n[0]=(c[0]*v+c[4]*_+c[8]*w+c[12])/d,n[1]=(c[1]*v+c[5]*_+c[9]*w+c[13])/d,n[2]=(c[2]*v+c[6]*_+c[10]*w+c[14])/d,n}function ft(n,e,c){var v=e[0],_=e[1],w=e[2];return n[0]=v*c[0]+_*c[3]+w*c[6],n[1]=v*c[1]+_*c[4]+w*c[7],n[2]=v*c[2]+_*c[5]+w*c[8],n}function rt(n,e,c){var v=c[0],_=c[1],w=c[2],d=c[3],u=e[0],y=e[1],M=e[2],i=_*M-w*y,s=w*u-v*M,h=v*y-_*u,B=_*h-w*s,K=w*i-v*h,it=v*s-_*i,ot=d*2;return i*=ot,s*=ot,h*=ot,B*=2,K*=2,it*=2,n[0]=u+i+B,n[1]=y+s+K,n[2]=M+h+it,n}function a(n,e,c,v){var _=[],w=[];return _[0]=e[0]-c[0],_[1]=e[1]-c[1],_[2]=e[2]-c[2],w[0]=_[0],w[1]=_[1]*Math.cos(v)-_[2]*Math.sin(v),w[2]=_[1]*Math.sin(v)+_[2]*Math.cos(v),n[0]=w[0]+c[0],n[1]=w[1]+c[1],n[2]=w[2]+c[2],n}function l(n,e,c,v){var _=[],w=[];return _[0]=e[0]-c[0],_[1]=e[1]-c[1],_[2]=e[2]-c[2],w[0]=_[2]*Math.sin(v)+_[0]*Math.cos(v),w[1]=_[1],w[2]=_[2]*Math.cos(v)-_[0]*Math.sin(v),n[0]=w[0]+c[0],n[1]=w[1]+c[1],n[2]=w[2]+c[2],n}function T(n,e,c,v){var _=[],w=[];return _[0]=e[0]-c[0],_[1]=e[1]-c[1],_[2]=e[2]-c[2],w[0]=_[0]*Math.cos(v)-_[1]*Math.sin(v),w[1]=_[0]*Math.sin(v)+_[1]*Math.cos(v),w[2]=_[2],n[0]=w[0]+c[0],n[1]=w[1]+c[1],n[2]=w[2]+c[2],n}function q(n,e){var c=n[0],v=n[1],_=n[2],w=e[0],d=e[1],u=e[2],y=Math.sqrt(c*c+v*v+_*_),M=Math.sqrt(w*w+d*d+u*u),i=y*M,s=i&&Et(n,e)/i;return Math.acos(Math.min(Math.max(s,-1),1))}function xt(n){return n[0]=0,n[1]=0,n[2]=0,n}function x(n){return"vec3("+n[0]+", "+n[1]+", "+n[2]+")"}function b(n,e){return n[0]===e[0]&&n[1]===e[1]&&n[2]===e[2]}function I(n,e){var c=n[0],v=n[1],_=n[2],w=e[0],d=e[1],u=e[2];return Math.abs(c-w)<=j.EPSILON*Math.max(1,Math.abs(c),Math.abs(w))&&Math.abs(v-d)<=j.EPSILON*Math.max(1,Math.abs(v),Math.abs(d))&&Math.abs(_-u)<=j.EPSILON*Math.max(1,Math.abs(_),Math.abs(u))}var S=at,V=yt,ct=lt,C=Y,f=A,r=ut,t=P,o=function(){var n=E();return function(e,c,v,_,w,d){var u,y;for(c||(c=3),v||(v=0),_?y=Math.min(_*c+v,e.length):y=e.length,u=v;u<y;u+=c)n[0]=e[u],n[1]=e[u+1],n[2]=e[u+2],w(n,n,d),e[u]=n[0],e[u+1]=n[1],e[u+2]=n[2];return e}}()},24561:function(nr,St,U){"use strict";var j=U(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 E=function(){return E=Object.assign||function(H){for(var X,O=1,F=arguments.length;O<F;O++){X=arguments[O];for(var ht in X)Object.prototype.hasOwnProperty.call(X,ht)&&(H[ht]=X[ht])}return H},E.apply(this,arguments)};function wt(G,H){var X={};for(var O in G)Object.prototype.hasOwnProperty.call(G,O)&&H.indexOf(O)<0&&(X[O]=G[O]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,O=Object.getOwnPropertySymbols(G);F<O.length;F++)H.indexOf(O[F])<0&&Object.prototype.propertyIsEnumerable.call(G,O[F])&&(X[O[F]]=G[O[F]]);return X}var ut=function(){return Math.random().toString(36).substring(6)},pt=function(G){var H=G.animate,X=G.backgroundColor,O=G.backgroundOpacity,F=G.baseUrl,ht=G.children,st=G.foregroundColor,Y=G.foregroundOpacity,A=G.gradientRatio,P=G.uniqueKey,z=G.interval,Z=G.rtl,dt=G.speed,Et=G.style,Ot=G.title,Kt=wt(G,["animate","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","uniqueKey","interval","rtl","speed","style","title"]),Ht=P||ut(),Bt=Ht+"-diff",Lt=Ht+"-animated-diff",zt=Ht+"-aria",ft=Z?{transform:"scaleX(-1)"}:null,rt="0; "+z+"; 1",a=dt+"s";return(0,j.createElement)("svg",E({"aria-labelledby":zt,role:"img",style:E(E({},Et),ft)},Kt),Ot?(0,j.createElement)("title",{id:zt},Ot):null,(0,j.createElement)("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url("+F+"#"+Bt+")",style:{fill:"url("+F+"#"+Lt+")"}}),(0,j.createElement)("defs",{role:"presentation"},(0,j.createElement)("clipPath",{id:Bt},ht),(0,j.createElement)("linearGradient",{id:Lt},(0,j.createElement)("stop",{offset:"0%",stopColor:X,stopOpacity:O},H&&(0,j.createElement)("animate",{attributeName:"offset",values:-A+"; "+-A+"; 1",keyTimes:rt,dur:a,repeatCount:"indefinite"})),(0,j.createElement)("stop",{offset:"50%",stopColor:st,stopOpacity:Y},H&&(0,j.createElement)("animate",{attributeName:"offset",values:-A/2+"; "+-A/2+"; "+(1+A/2),keyTimes:rt,dur:a,repeatCount:"indefinite"})),(0,j.createElement)("stop",{offset:"100%",stopColor:X,stopOpacity:O},H&&(0,j.createElement)("animate",{attributeName:"offset",values:"0; 0; "+(1+A),keyTimes:rt,dur:a,repeatCount:"indefinite"})))))};pt.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 Q=function(G){return G.children?(0,j.createElement)(pt,E({},G)):(0,j.createElement)(W,E({},G))},W=function(G){return(0,j.createElement)(Q,E({viewBox:"0 0 476 124"},G),(0,j.createElement)("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),(0,j.createElement)("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),(0,j.createElement)("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),(0,j.createElement)("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),(0,j.createElement)("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),(0,j.createElement)("circle",{cx:"20",cy:"20",r:"20"}))},$=function(G){return createElement(Q,E({viewBox:"0 0 400 460"},G),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"}))},at=function(G){return createElement(Q,E({viewBox:"0 0 340 84"},G),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"}))},yt=function(G){return createElement(Q,E({viewBox:"0 0 400 110"},G),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"}))},lt=function(G){return createElement(Q,E({viewBox:"0 0 245 125"},G),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"}))};St.ZP=Q},70655:function(nr,St,U){"use strict";U.r(St),U.d(St,{__extends:function(){return E},__assign:function(){return wt},__rest:function(){return ut},__decorate:function(){return pt},__param:function(){return Q},__esDecorate:function(){return W},__runInitializers:function(){return $},__propKey:function(){return at},__setFunctionName:function(){return yt},__metadata:function(){return lt},__awaiter:function(){return G},__generator:function(){return H},__createBinding:function(){return X},__exportStar:function(){return O},__values:function(){return F},__read:function(){return ht},__spread:function(){return st},__spreadArrays:function(){return Y},__spreadArray:function(){return A},__await:function(){return P},__asyncGenerator:function(){return z},__asyncDelegator:function(){return Z},__asyncValues:function(){return dt},__makeTemplateObject:function(){return Et},__importStar:function(){return Kt},__importDefault:function(){return Ht},__classPrivateFieldGet:function(){return Bt},__classPrivateFieldSet:function(){return Lt},__classPrivateFieldIn:function(){return zt}});var j=function(ft,rt){return j=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,l){a.__proto__=l}||function(a,l){for(var T in l)Object.prototype.hasOwnProperty.call(l,T)&&(a[T]=l[T])},j(ft,rt)};function E(ft,rt){if(typeof rt!="function"&&rt!==null)throw new TypeError("Class extends value "+String(rt)+" is not a constructor or null");j(ft,rt);function a(){this.constructor=ft}ft.prototype=rt===null?Object.create(rt):(a.prototype=rt.prototype,new a)}var wt=function(){return wt=Object.assign||function(rt){for(var a,l=1,T=arguments.length;l<T;l++){a=arguments[l];for(var q in a)Object.prototype.hasOwnProperty.call(a,q)&&(rt[q]=a[q])}return rt},wt.apply(this,arguments)};function ut(ft,rt){var a={};for(var l in ft)Object.prototype.hasOwnProperty.call(ft,l)&&rt.indexOf(l)<0&&(a[l]=ft[l]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,l=Object.getOwnPropertySymbols(ft);T<l.length;T++)rt.indexOf(l[T])<0&&Object.prototype.propertyIsEnumerable.call(ft,l[T])&&(a[l[T]]=ft[l[T]]);return a}function pt(ft,rt,a,l){var T=arguments.length,q=T<3?rt:l===null?l=Object.getOwnPropertyDescriptor(rt,a):l,xt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")q=Reflect.decorate(ft,rt,a,l);else for(var x=ft.length-1;x>=0;x--)(xt=ft[x])&&(q=(T<3?xt(q):T>3?xt(rt,a,q):xt(rt,a))||q);return T>3&&q&&Object.defineProperty(rt,a,q),q}function Q(ft,rt){return function(a,l){rt(a,l,ft)}}function W(ft,rt,a,l,T,q){function xt(o){if(o!==void 0&&typeof o!="function")throw new TypeError("Function expected");return o}for(var x=l.kind,b=x==="getter"?"get":x==="setter"?"set":"value",I=!rt&&ft?l.static?ft:ft.prototype:null,S=rt||(I?Object.getOwnPropertyDescriptor(I,l.name):{}),V,ct=!1,C=a.length-1;C>=0;C--){var f={};for(var r in l)f[r]=r==="access"?{}:l[r];for(var r in l.access)f.access[r]=l.access[r];f.addInitializer=function(o){if(ct)throw new TypeError("Cannot add initializers after decoration has completed");q.push(xt(o||null))};var t=(0,a[C])(x==="accessor"?{get:S.get,set:S.set}:S[b],f);if(x==="accessor"){if(t===void 0)continue;if(t===null||typeof t!="object")throw new TypeError("Object expected");(V=xt(t.get))&&(S.get=V),(V=xt(t.set))&&(S.set=V),(V=xt(t.init))&&T.push(V)}else(V=xt(t))&&(x==="field"?T.push(V):S[b]=V)}I&&Object.defineProperty(I,l.name,S),ct=!0}function $(ft,rt,a){for(var l=arguments.length>2,T=0;T<rt.length;T++)a=l?rt[T].call(ft,a):rt[T].call(ft);return l?a:void 0}function at(ft){return typeof ft=="symbol"?ft:"".concat(ft)}function yt(ft,rt,a){return typeof rt=="symbol"&&(rt=rt.description?"[".concat(rt.description,"]"):""),Object.defineProperty(ft,"name",{configurable:!0,value:a?"".concat(a," ",rt):rt})}function lt(ft,rt){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(ft,rt)}function G(ft,rt,a,l){function T(q){return q instanceof a?q:new a(function(xt){xt(q)})}return new(a||(a=Promise))(function(q,xt){function x(S){try{I(l.next(S))}catch(V){xt(V)}}function b(S){try{I(l.throw(S))}catch(V){xt(V)}}function I(S){S.done?q(S.value):T(S.value).then(x,b)}I((l=l.apply(ft,rt||[])).next())})}function H(ft,rt){var a={label:0,sent:function(){if(q[0]&1)throw q[1];return q[1]},trys:[],ops:[]},l,T,q,xt;return xt={next:x(0),throw:x(1),return:x(2)},typeof Symbol=="function"&&(xt[Symbol.iterator]=function(){return this}),xt;function x(I){return function(S){return b([I,S])}}function b(I){if(l)throw new TypeError("Generator is already executing.");for(;xt&&(xt=0,I[0]&&(a=0)),a;)try{if(l=1,T&&(q=I[0]&2?T.return:I[0]?T.throw||((q=T.return)&&q.call(T),0):T.next)&&!(q=q.call(T,I[1])).done)return q;switch(T=0,q&&(I=[I[0]&2,q.value]),I[0]){case 0:case 1:q=I;break;case 4:return a.label++,{value:I[1],done:!1};case 5:a.label++,T=I[1],I=[0];continue;case 7:I=a.ops.pop(),a.trys.pop();continue;default:if(q=a.trys,!(q=q.length>0&&q[q.length-1])&&(I[0]===6||I[0]===2)){a=0;continue}if(I[0]===3&&(!q||I[1]>q[0]&&I[1]<q[3])){a.label=I[1];break}if(I[0]===6&&a.label<q[1]){a.label=q[1],q=I;break}if(q&&a.label<q[2]){a.label=q[2],a.ops.push(I);break}q[2]&&a.ops.pop(),a.trys.pop();continue}I=rt.call(ft,a)}catch(S){I=[6,S],T=0}finally{l=q=0}if(I[0]&5)throw I[1];return{value:I[0]?I[1]:void 0,done:!0}}}var X=Object.create?function(ft,rt,a,l){l===void 0&&(l=a);var T=Object.getOwnPropertyDescriptor(rt,a);(!T||("get"in T?!rt.__esModule:T.writable||T.configurable))&&(T={enumerable:!0,get:function(){return rt[a]}}),Object.defineProperty(ft,l,T)}:function(ft,rt,a,l){l===void 0&&(l=a),ft[l]=rt[a]};function O(ft,rt){for(var a in ft)a!=="default"&&!Object.prototype.hasOwnProperty.call(rt,a)&&X(rt,ft,a)}function F(ft){var rt=typeof Symbol=="function"&&Symbol.iterator,a=rt&&ft[rt],l=0;if(a)return a.call(ft);if(ft&&typeof ft.length=="number")return{next:function(){return ft&&l>=ft.length&&(ft=void 0),{value:ft&&ft[l++],done:!ft}}};throw new TypeError(rt?"Object is not iterable.":"Symbol.iterator is not defined.")}function ht(ft,rt){var a=typeof Symbol=="function"&&ft[Symbol.iterator];if(!a)return ft;var l=a.call(ft),T,q=[],xt;try{for(;(rt===void 0||rt-- >0)&&!(T=l.next()).done;)q.push(T.value)}catch(x){xt={error:x}}finally{try{T&&!T.done&&(a=l.return)&&a.call(l)}finally{if(xt)throw xt.error}}return q}function st(){for(var ft=[],rt=0;rt<arguments.length;rt++)ft=ft.concat(ht(arguments[rt]));return ft}function Y(){for(var ft=0,rt=0,a=arguments.length;rt<a;rt++)ft+=arguments[rt].length;for(var l=Array(ft),T=0,rt=0;rt<a;rt++)for(var q=arguments[rt],xt=0,x=q.length;xt<x;xt++,T++)l[T]=q[xt];return l}function A(ft,rt,a){if(a||arguments.length===2)for(var l=0,T=rt.length,q;l<T;l++)(q||!(l in rt))&&(q||(q=Array.prototype.slice.call(rt,0,l)),q[l]=rt[l]);return ft.concat(q||Array.prototype.slice.call(rt))}function P(ft){return this instanceof P?(this.v=ft,this):new P(ft)}function z(ft,rt,a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var l=a.apply(ft,rt||[]),T,q=[];return T={},xt("next"),xt("throw"),xt("return"),T[Symbol.asyncIterator]=function(){return this},T;function xt(ct){l[ct]&&(T[ct]=function(C){return new Promise(function(f,r){q.push([ct,C,f,r])>1||x(ct,C)})})}function x(ct,C){try{b(l[ct](C))}catch(f){V(q[0][3],f)}}function b(ct){ct.value instanceof P?Promise.resolve(ct.value.v).then(I,S):V(q[0][2],ct)}function I(ct){x("next",ct)}function S(ct){x("throw",ct)}function V(ct,C){ct(C),q.shift(),q.length&&x(q[0][0],q[0][1])}}function Z(ft){var rt,a;return rt={},l("next"),l("throw",function(T){throw T}),l("return"),rt[Symbol.iterator]=function(){return this},rt;function l(T,q){rt[T]=ft[T]?function(xt){return(a=!a)?{value:P(ft[T](xt)),done:!1}:q?q(xt):xt}:q}}function dt(ft){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var rt=ft[Symbol.asyncIterator],a;return rt?rt.call(ft):(ft=typeof F=="function"?F(ft):ft[Symbol.iterator](),a={},l("next"),l("throw"),l("return"),a[Symbol.asyncIterator]=function(){return this},a);function l(q){a[q]=ft[q]&&function(xt){return new Promise(function(x,b){xt=ft[q](xt),T(x,b,xt.done,xt.value)})}}function T(q,xt,x,b){Promise.resolve(b).then(function(I){q({value:I,done:x})},xt)}}function Et(ft,rt){return Object.defineProperty?Object.defineProperty(ft,"raw",{value:rt}):ft.raw=rt,ft}var Ot=Object.create?function(ft,rt){Object.defineProperty(ft,"default",{enumerable:!0,value:rt})}:function(ft,rt){ft.default=rt};function Kt(ft){if(ft&&ft.__esModule)return ft;var rt={};if(ft!=null)for(var a in ft)a!=="default"&&Object.prototype.hasOwnProperty.call(ft,a)&&X(rt,ft,a);return Ot(rt,ft),rt}function Ht(ft){return ft&&ft.__esModule?ft:{default:ft}}function Bt(ft,rt,a,l){if(a==="a"&&!l)throw new TypeError("Private accessor was defined without a getter");if(typeof rt=="function"?ft!==rt||!l:!rt.has(ft))throw new TypeError("Cannot read private member from an object whose class did not declare it");return a==="m"?l:a==="a"?l.call(ft):l?l.value:rt.get(ft)}function Lt(ft,rt,a,l,T){if(l==="m")throw new TypeError("Private method is not writable");if(l==="a"&&!T)throw new TypeError("Private accessor was defined without a setter");if(typeof rt=="function"?ft!==rt||!T:!rt.has(ft))throw new TypeError("Cannot write private member to an object whose class did not declare it");return l==="a"?T.call(ft,a):T?T.value=a:rt.set(ft,a),a}function zt(ft,rt){if(rt===null||typeof rt!="object"&&typeof rt!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof ft=="function"?rt===ft:ft.has(rt)}}}]);