1(()=>{var t={9149(t,n,i){"use strict";var r={};i.r(r),i.d(r,{arc:()=>Ei,area:()=>Ui,areaRadial:()=>tr,curveBasis:()=>Rr,curveBasisClosed:()=>Qr,curveBasisOpen:()=>ne,curveBumpX:()=>fr,curveBumpY:()=>lr,curveBundle:()=>re,curveCardinal:()=>se,curveCardinalClosed:()=>ue,curveCardinalOpen:()=>ce,curveCatmullRom:()=>de,curveCatmullRomClosed:()=>be,curveCatmullRomOpen:()=>ye,curveLinear:()=>Xi,curveLinearClosed:()=>me,curveMonotoneX:()=>Je,curveMonotoneY:()=>Oe,curveNatural:()=>Pe,curveStep:()=>Ce,curveStepAfter:()=>Ve,curveStepBefore:()=>ke,line:()=>Di,lineRadial:()=>Qi,link:()=>pr,linkHorizontal:()=>yr,linkRadial:()=>mr,linkVertical:()=>gr,pie:()=>Fi,pointRadial:()=>nr,radialArea:()=>tr,radialLine:()=>Qi,stack:()=>Le,stackOffsetDiverging:()=>De,stackOffsetExpand:()=>Ae,stackOffsetNone:()=>Ee,stackOffsetSilhouette:()=>Ue,stackOffsetWiggle:()=>We,stackOrderAppearance:()=>Ze,stackOrderAscending:()=>qe,stackOrderDescending:()=>Re,stackOrderInsideOut:()=>Ge,stackOrderNone:()=>Ne,stackOrderReverse:()=>Qe,symbol:()=>Zr,symbolAsterisk:()=>_r,symbolCircle:()=>xr,symbolCross:()=>Yr,symbolDiamond:()=>Sr,symbolDiamond2:()=>Jr,symbolPlus:()=>Or,symbolSquare:()=>zr,symbolSquare2:()=>Kr,symbolStar:()=>kr,symbolTimes:()=>Dr,symbolTriangle:()=>Er,symbolTriangle2:()=>Ir,symbolWye:()=>Ar,symbolX:()=>Dr,symbols:()=>Ur,symbolsFill:()=>Ur,symbolsStroke:()=>Wr});var e=i(8732),o=(i(4581),i(3420),i(821)),s=i(691);function a(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var r,e,o,s,a=[],u=!0,h=!1;try{if(o=(i=i.call(t)).next,0===n){if(Object(i)!==i)return;u=!1}else for(;!(u=(r=o.call(i)).done)&&(a.push(r.value),a.length!==n);u=!0);}catch(t){h=!0,e=t}finally{try{if(!u&&null!=i["return"]&&(s=i["return"](),Object(s)!==s))return}finally{if(h)throw e}}return a}}(t,n)||function(t,n){if(t){if("string"==typeof t)return u(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?u(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=Array(n);i<n;i++)r[i]=t[i];return r}var h=Math.sqrt(50),c=Math.sqrt(10),f=Math.sqrt(2);function l(t,n,i){var r,e,o,s=(n-t)/Math.max(0,i),a=Math.floor(Math.log10(s)),u=s/Math.pow(10,a),d=u>=h?10:u>=c?5:u>=f?2:1;return a<0?(o=Math.pow(10,-a)/d,(r=Math.round(t*o))/o<t&&++r,(e=Math.round(n*o))/o>n&&--e,o=-o):(o=Math.pow(10,a)*d,(r=Math.round(t/o))*o<t&&++r,(e=Math.round(n/o))*o>n&&--e),e<r&&.5<=i&&i<2?l(t,n,2*i):[r,e,o]}function d(t,n,i){return l(t=+t,n=+n,i=+i)[2]}function v(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function b(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function p(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function y(t){var n,i,r,e=this;function o(t,r){var e=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0,o=arguments.length>3&&arguments[3]!==undefined?arguments[3]:t.length;if(e<o){if(0!==n(r,r))return o;do{var s=e+o>>>1;i(t[s],r)<0?e=s+1:o=s}while(e<o)}return e}return 2!==t.length?(n=v,i=function(n,i){return p(this,e),v(t(n),i)}.bind(this),r=function(n,i){return p(this,e),t(n)-i}.bind(this)):(n=t===v||t===b?t:g,i=t,r=t),{left:o,center:function(t,n){var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0,e=o(t,n,i,(arguments.length>3&&arguments[3]!==undefined?arguments[3]:t.length)-1);return e>i&&r(t[e-1],n)>-r(t[e],n)?e-1:e},right:function(t,r){var e=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0,o=arguments.length>3&&arguments[3]!==undefined?arguments[3]:t.length;if(e<o){if(0!==n(r,r))return o;do{var s=e+o>>>1;i(t[s],r)<=0?e=s+1:o=s}while(e<o)}return e}}}function g(){return 0}var m=y(v),w=m.right;m.left,y(function(t){return null===t?NaN:+t}).center;const _=w;function x(t,n,i){t.prototype=n.prototype=i,i.constructor=t}function Y(t,n){var i=Object.create(t.prototype);for(var r in n)i[r]=n[r];return i}function T(){}i.dn(x);var j=.7,S=1/j,J="\\s*([+-]?\\d+)\\s*",O="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",z="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",K=/^#([0-9a-f]{3,8})$/,P=new RegExp("^rgb\\(".concat(J,",").concat(J,",").concat(J,"\\)$")),M=new RegExp("^rgb\\(".concat(z,",").concat(z,",").concat(z,"\\)$")),C=new RegExp("^rgba\\(".concat(J,",").concat(J,",").concat(J,",").concat(O,"\\)$")),k=new RegExp("^rgba\\(".concat(z,",").concat(z,",").concat(z,",").concat(O,"\\)$")),V=new RegExp("^hsl\\(".concat(O,",").concat(z,",").concat(z,"\\)$")),E=new RegExp("^hsla\\(".concat(O,",").concat(z,",").concat(z,",").concat(O,"\\)$")),N={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};function I(){return this.rgb().formatHex()}function B(){return this.rgb().formatRgb()}function $(t){var n,i;return t=(t+"").trim().toLowerCase(),(n=K.exec(t))?(i=n[1].length,n=parseInt(n[1],16),6===i?X(n):3===i?new D(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===i?L(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===i?L(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=P.exec(t))?new D(n[1],n[2],n[3],1):(n=M.exec(t))?new D(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=C.exec(t))?L(n[1],n[2],n[3],n[4]):(n=k.exec(t))?L(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=V.exec(t))?H(n[1],n[2]/100,n[3]/100,1):(n=E.exec(t))?H(n[1],n[2]/100,n[3]/100,n[4]):N.hasOwnProperty(t)?X(N[t]):"transparent"===t?new D(NaN,NaN,NaN,0):null}function X(t){return new D(t>>16&255,t>>8&255,255&t,1)}function L(t,n,i,r){return r<=0&&(t=n=i=NaN),new D(t,n,i,r)}function A(t,n,i,r){return 1===arguments.length?((e=t)instanceof T||(e=$(e)),e?new D((e=e.rgb()).r,e.g,e.b,e.opacity):new D):new D(t,n,i,r??1);var e}function D(t,n,i,r){this.r=+t,this.g=+n,this.b=+i,this.opacity=+r}function U(){return"#".concat(q(this.r)).concat(q(this.g)).concat(q(this.b))}function W(){var t=Z(this.opacity);return"".concat(1===t?"rgb(":"rgba(").concat(F(this.r),", ").concat(F(this.g),", ").concat(F(this.b)).concat(1===t?")":", ".concat(t,")"))}function Z(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function F(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function q(t){return((t=F(t))<16?"0":"")+t.toString(16)}function H(t,n,i,r){return r<=0?t=n=i=NaN:i<=0||i>=1?t=n=NaN:n<=0&&(t=NaN),new G(t,n,i,r)}function R(t){if(t instanceof G)return new G(t.h,t.s,t.l,t.opacity);if(t instanceof T||(t=$(t)),!t)return new G;if(t instanceof G)return t;var n=(t=t.rgb()).r/255,i=t.g/255,r=t.b/255,e=Math.min(n,i,r),o=Math.max(n,i,r),s=NaN,a=o-e,u=(o+e)/2;return a?(s=n===o?(i-r)/a+6*(i<r):i===o?(r-n)/a+2:(n-i)/a+4,a/=u<.5?o+e:2-o-e,s*=60):a=u>0&&u<1?0:s,new G(s,a,u,t.opacity)}function G(t,n,i,r){this.h=+t,this.s=+n,this.l=+i,this.opacity=+r}function Q(t){return(t=(t||0)%360)<0?t+360:t}
1function tt(t){return Math.max(0,Math.min(1,t||0))}function nt(t,n,i){return 255*(t<60?n+(i-n)*t/60:t<180?i:t<240?n+(i-n)*(240-t)/60:n)}function it(t,n,i,r,e){var o=t*t,s=o*t;return((1-3*t+3*o-s)*n+(4-6*o+3*s)*i+(1+3*t+3*o-3*s)*r+s*e)/6}function rt(t){var n=t.length-1;return function(i){var r=i<=0?i=0:i>=1?(i=1,n-1):Math.floor(i*n),e=t[r],o=t[r+1],s=r>0?t[r-1]:2*e-o,a=r<n-1?t[r+2]:2*o-e;return it((i-r/n)*n,s,e,o,a)}}function et(t){var n=t.length;return function(i){var r=Math.floor(((i%=1)<0?++i:i)*n),e=t[(r+n-1)%n],o=t[r%n],s=t[(r+1)%n],a=t[(r+2)%n];return it((i-r/n)*n,e,o,s,a)}}x(T,$,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:I,formatHex:I,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return R(this).formatHsl()},formatRgb:B,toString:B}),x(D,A,Y(T,{brighter:function(t){return t=null==t?S:Math.pow(S,t),new D(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?j:Math.pow(j,t),new D(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},clamp:function(){return new D(F(this.r),F(this.g),F(this.b),Z(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:U,formatHex:U,formatHex8:function(){return"#".concat(q(this.r)).concat(q(this.g)).concat(q(this.b)).concat(q(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:W,toString:W})),x(G,function(t,n,i,r){return 1===arguments.length?R(t):new G(t,n,i,r??1)},Y(T,{brighter:function(t){return t=null==t?S:Math.pow(S,t),new G(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?j:Math.pow(j,t),new G(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,i=this.l,r=i+(i<.5?i:1-i)*n,e=2*i-r;return new D(nt(t>=240?t-240:t+120,e,r),nt(t,e,r),nt(t<120?t+240:t-120,e,r),this.opacity)},clamp:function(){return new G(Q(this.h),tt(this.s),tt(this.l),Z(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 t=Z(this.opacity);return"".concat(1===t?"hsl(":"hsla(").concat(Q(this.h),", ").concat(100*tt(this.s),"%, ").concat(100*tt(this.l),"%").concat(1===t?")":", ".concat(t,")"))}})),i.dn(rt),i.dn(et);var ot=undefined;function st(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}const at=function(t){var n=this;return st(this,ot),function(){return st(this,n),t}.bind(this)}.bind(undefined);function ut(t,n){return function(i){return t+i*n}}function ht(t){return 1===(t=+t)?ct:function(n,i){return i-n?function(t,n,i){return t=Math.pow(t,i),n=Math.pow(n,i)-t,i=1/i,function(r){return Math.pow(t+r*n,i)}}(n,i,t):at(isNaN(n)?i:n)}}function ct(t,n){var i=n-t;return i?ut(t,i):at(isNaN(t)?n:t)}const ft=function Rl(t){var n=ht(t);function i(t,i){var r=n((t=A(t)).r,(i=A(i)).r),e=n(t.g,i.g),o=n(t.b,i.b),s=ct(t.opacity,i.opacity);return function(n){return t.r=r(n),t.g=e(n),t.b=o(n),t.opacity=s(n),t+""}}return i.gamma=Rl,i}(1);function lt(t){return function(n){var i,r,e=n.length,o=new Array(e),s=new Array(e),a=new Array(e);for(i=0;i<e;++i)r=A(n[i]),o[i]=r.r||0,s[i]=r.g||0,a[i]=r.b||0;return o=t(o),s=t(s),a=t(a),r.opacity=1,function(t){return r.r=o(t),r.g=s(t),r.b=a(t),r+""}}}lt(rt),lt(et);function dt(t,n){var i,r=n?n.length:0,e=t?Math.min(r,t.length):0,o=new Array(e),s=new Array(r);for(i=0;i<e;++i)o[i]=Yt(t[i],n[i]);for(;i<r;++i)s[i]=n[i];return function(t){for(i=0;i<e;++i)s[i]=o[i](t);return s}}function vt(t,n){var i=new Date;return t=+t,n=+n,function(r){return i.setTime(t*(1-r)+n*r),i}}function bt(t,n){return t=+t,n=+n,function(i){return t*(1-i)+n*i}}function pt(t){return pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pt(t)}function yt(t,n){var i,r={},e={};for(i in null!==t&&"object"===pt(t)||(t={}),null!==n&&"object"===pt(n)||(n={}),n)i in t?r[i]=Yt(t[i],n[i]):e[i]=n[i];return function(t){for(i in r)e[i]=r[i](t);return e}}i.dn(function(t,n){return((void 0)(n)?void 0:dt)(t,n)}),i.dn(vt),i.dn(bt),i.dn(yt),i.dn(wt);var gt=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,mt=new RegExp(gt.source,"g");function wt(t,n){var i,r,e,o=gt.lastIndex=mt.lastIndex=0,s=-1,a=[],u=[];for(t+="",n+="";(i=gt.exec(t))&&(r=mt.exec(n));)(e=r.index)>o&&(e=n.slice(o,e),a[s]?a[s]+=e:a[++s]=e),(i=i[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,u.push({i:s,x:bt(i,r)})),o=mt.lastIndex;return o<n.length&&(e=n.slice(o),a[s]?a[s]+=e:a[++s]=e),a.length<2?u[0]?function(t){return function(n){return t(n)+""}}(u[0].x):function(t){return function(){return t}}(n):(n=u.length,function(t){for(var i,r=0;r<n;++r)a[(i=u[r]).i]=i.x(t);return a.join("")})}function _t(t,n){n||(n=[]);var i,r=t?Math.min(n.length,t.length):0,e=n.slice();return function(o){for(i=0;i<r;++i)e[i]=t[i]*(1-o)+n[i]*o;return e}}function xt(t){return xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xt(t)}function Yt(t,n){var i,r,e=xt(n);return null==n||"boolean"===e?at(n):("number"===e?bt:"string"===e?(i=$(n))?(n=i,ft):wt:n instanceof $?ft:n instanceof Date?vt:(r=n,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(n)?dt:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?yt:bt:_t))(t,n)}function Tt(t,n){return t=+t,n=+n,function(i){return Math.round(t*(1-i)+n*i)}}function jt(t){return+t}i.dn(_t),i.dn(Yt),i.dn(Tt);var St=[0,1];function Jt(t){return t}function Ot(t,n){return(n-=t=+t)?function(i){return(i-t)/n}:(i=isNaN(n)?NaN:.5,function(){return i});var i}function zt(t,n,i){var r=t[0],e=t[1],o=n[0],s=n[1];return e<r?(r=Ot(e,r),o=i(s,o)):(r=Ot(r,e),o=i(o,s)),function(t){return o(r(t))}}function Kt(t,n,i){var r=Math.min(t.length,n.length)-1,e=new Array(r),o=new Array(r),s=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++s<r;)e[s]=Ot(t[s],t[s+1]),o[s]=i(n[s],n[s+1]);return function(n){var i=_(t,n,1,r)-1;return o[i](e[i](n))}}function Pt(){var t,n,i,r,e,o,s=St,a=St,u=Yt,h=Jt;function c(){var t=Math.min(s.length,a.length);return h!==Jt&&(h=function(t,n){var i;return t>n&&(i=t,t=n,n=i),function(i){return Math.max(t,Math.min(n,i))}}(s[0],s[t-1])),r=t>2?Kt:zt,e=o=null,f}function f(n){return null==n||isNaN(n=+n)?i:(e||(e=r(s.map(t),a,u)))(t(h(n)))}return f.invert=function(i){return h(n((o||(o=r(a,s.map(t),bt)))(i)))},f.domain=function(t){return arguments.length?(s=Array.from(t,jt),c()):s.slice()},f.range=function(t){return arguments.length?(a=Array.from(t),c()):a.slice()},f.rangeRound=function(t){return a=Array.from(t),u=Tt,c()},f.clamp=function(t){return arguments.length?(h=!!t||Jt,c()):h!==Jt},f.interpolate=function(t){return arguments.length?(u=t,c()):u},f.unknown=function(t){return arguments.length?(i=t,f):i},function(i,r){return t=i,n=r,c()}}
1function Mt(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}var Ct,kt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Vt(t){if(!(n=kt.exec(t)))throw new Error("invalid format: "+t);var n;return new Et({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function Et(t){this.fill=t.fill===undefined?" ":t.fill+"",this.align=t.align===undefined?">":t.align+"",this.sign=t.sign===undefined?"-":t.sign+"",this.symbol=t.symbol===undefined?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===undefined?undefined:+t.width,this.comma=!!t.comma,this.precision=t.precision===undefined?undefined:+t.precision,this.trim=!!t.trim,this.type=t.type===undefined?"":t.type+""}function Nt(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function It(t,n){if(!isFinite(t)||0===t)return null;var i=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"),r=t.slice(0,i);return[r.length>1?r[0]+r.slice(2):r,+t.slice(i+1)]}function Bt(t){return(t=It(Math.abs(t)))?t[1]:NaN}function $t(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Bt(n)/3)))-Bt(Math.abs(t)))}function Xt(t,n){return function(i,r){for(var e=i.length,o=[],s=0,a=t[0],u=0;e>0&&a>0&&(u+a+1>
1r&&(a=Math.max(1,r-u)),o.push(i.substring(e-=a,e+a)),!((u+=a+1)>r));)a=t[s=(s+1)%t.length];return o.reverse().join(n)}}function Lt(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}function At(t){t:for(var n,i=t.length,r=1,e=-1;r<i;++r)switch(t[r]){case".":e=n=r;break;case"0":0===e&&(e=r),n=r;break;default:if(!+t[r])break t;e>0&&(e=0)}return e>0?t.slice(0,e)+t.slice(n+1):t}function Dt(t,n){var i=It(t,n);if(!i)return Ct=undefined,t.toPrecision(n);var r=i[0],e=i[1],o=e-(Ct=3*Math.max(-8,Math.min(8,Math.floor(e/3))))+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+It(t,Math.max(0,n+o-1))[0]}function Ut(t,n){var i=It(t,n);if(!i)return t+"";var r=i[0],e=i[1];return e<0?"0."+new Array(-e).join("0")+r:r.length>e+1?r.slice(0,e+1)+"."+r.slice(e+1):r+new Array(e-r.length+2).join("0")}Vt.prototype=Et.prototype,Et.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===undefined?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===undefined?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type},i.dn(Nt),i.dn(Bt),i.dn($t),i.dn(Xt),i.dn(Lt),i.dn(At),i.dn(Dt),i.dn(Ut);var Wt=undefined;function Zt(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}const Ft={"%":function(t,n){return Zt(this,Wt),(100*t).toFixed(n)}.bind(undefined),b:function(t){return Zt(this,Wt),Math.round(t).toString(2)}.bind(undefined),c:function(t){return Zt(this,Wt),t+""}.bind(undefined),d:Nt,e:function(t,n){return Zt(this,Wt),t.toExponential(n)}.bind(undefined),f:function(t,n){return Zt(this,Wt),t.toFixed(n)}.bind(undefined),g:function(t,n){return Zt(this,Wt),t.toPrecision(n)}.bind(undefined),o:function(t){return Zt(this,Wt),Math.round(t).toString(8)}.bind(undefined),p:function(t,n){return Zt(this,Wt),Ut(100*t,n)}.bind(undefined),r:Ut,s:Dt,X:function(t){return Zt(this,Wt),Math.round(t).toString(16).toUpperCase()}.bind(undefined),x:function(t){return Zt(this,Wt),Math.round(t).toString(16)}.bind(undefined)};function qt(t){return t}i.dn(qt),i.dn(nn);var Ht,Rt,Gt,Qt=Array.prototype.map,tn=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function nn(t){var n=t.grouping===undefined||t.thousands===undefined?qt:Xt(Qt.call(t.grouping,Number),t.thousands+""),i=t.currency===undefined?"":t.currency[0]+"",r=t.currency===undefined?"":t.currency[1]+"",e=t.decimal===undefined?".":t.decimal+"",o=t.numerals===undefined?qt:Lt(Qt.call(t.numerals,String)),s=t.percent===undefined?"%":t.percent+"",a=t.minus===undefined?"â":t.minus+"",u=t.nan===undefined?"NaN":t.nan+"";function h(t,h){var c=(t=Vt(t)).fill,f=t.align,l=t.sign,d=t.symbol,v=t.zero,b=t.width,p=t.comma,y=t.precision,g=t.trim,m=t.type;"n"===m?(p=!0,m="g"):Ft[m]||(y===undefined&&(y=12),g=!0,m="g"),(v||"0"===c&&"="===f)&&(v=!0,c="0",f="=");var w=(h&&h.prefix!==undefined?h.prefix:"")+("$"===d?i:"#"===d&&/[boxX]/.test(m)?"0"+m.toLowerCase():""),_=("$"===d?r:/[%p]/.test(m)?s:"")+(h&&h.suffix!==undefined?h.suffix:""),x=Ft[m],Y=/[defgprs%]/.test(m);function T(t){var i,r,s,h=w,d=_;if("c"===m)d=x(t)+d,t="";else{var T=(t=+t)<0||1/t<0;if(t=isNaN(t)?u:x(Math.abs(t),y),g&&(t=At(t)),T&&0===+t&&"+"!==l&&(T=!1),h=(T?"("===l?l:a:"-"===l||"("===l?"":l)+h,d=("s"!==m||isNaN(t)||Ct===undefined?"":tn[8+Ct/3])+d+(T&&"("===l?")":""),Y)for(i=-1,r=t.length;++i<r;)if(48>(s=t.charCodeAt(i))||s>57){d=(46===s?e+t.slice(i+1):t.slice(i))+d,t=t.slice(0,i);break}}p&&!v&&(t=n(t,Infinity));var j=h.length+t.length+d.length,S=j<b?new Array(b-j+1).join(c):"";switch(p&&v&&(t=n(S+t,S.length?b-d.length:Infinity),S=""),f){case"<":t=h+t+d+S;break;case"=":t=h+S+t+d;break;case"^":t=S.slice(0,j=S.length>>1)+h+t+d+S.slice(j);break;default:t=S+h+t+d}return o(t)}return y=y===undefined?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),T.toString=function(){return t+""},T}return{format:h,formatPrefix:function(t,n){var i=3*Math.max(-8,Math.min(8,Math.floor(Bt(n)/3))),r=Math.pow(10,-i),e=h(((t=Vt(t)).type="f",t),{suffix:tn[8+i/3]});return function(t){return e(r*t)}}}}function rn(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Bt(n)-Bt(t))+1}function en(t){return Math.max(0,-Bt(Math.abs(t)))}function on(t,n,i,r){var e,o=function(t,n,i){i=+i;var r=(n=+n)<(t=+t),e=r?d(n,t,i):d(t,n,i);return(r?-1:1)*(e<0?1/-e:e)}(t,n,i);switch((r=Vt(r??",f")).type){case"s":var s=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(e=$t(o,s))||(r.precision=e),Gt(r,s);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(e=rn(o,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=e-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(e=en(o))||(r.precision=e-2*("%"===r.type))}return Rt(r)}function sn(t){var n=t.domain;return t.ticks=function(t){var i=n();return function(t,n,i){if(!((i=+i)>0))return[];if((t=+t)===(n=+n))return[t];var r=n<t,e=a(r?l(n,t,i):l(t,n,i),3),o=e[0],s=e[1],u=e[2];if(!(s>=o))return[];var h=s-o+1,c=new Array(h);if(r)if(u<0)for(var f=0;f<h;++f)c[f]=(s-f)/-u;else for(var d=0;d<h;++d)c[d]=(s-d)*u;else if(u<0)for(var v=0;v<h;++v)c[v]=(o+v)/-u;else for(var b=0;b<h;++b)c[b]=(o+b)*u;return c}(i[0],i[i.length-1],t??10)},t.tickFormat=function(t,i){var r=n();return on(r[0],r[r.length-1],t??10,i)},t.nice=function(i){null==i&&(i=10);var r,e,o=n(),s=0,a=o.length-1,u=o[s],h=o[a],c=10;for(h<u&&(e=u,u=h,h=e,e=s,s=a,a=e);c-- >0;){if((e=d(u,h,i))===r)return o[s]=u,o[a]=h,n(o);if(e>0)u=Math.floor(u/e)*e,h=Math.ceil(h/e)*e;else{if(!(e<0))break;u=Math.ceil(u*e)/e,h=Math.floor(h*e)/e}r=e}return t},t}function an(){var t=Pt()(Jt,Jt);return t.copy=function(){return n=t,an().domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown());var n},Mt.apply(t,arguments),sn(t)}Ht=nn({thousands:",",grouping:[3],currency:["$",""]}),Rt=Ht.format,Gt=Ht.formatPrefix,i.dn(rn),i.dn(en);var un=i(4985),hn=i(9730);function cn(t){return cn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cn(t)}function fn(t){return function(t){if(Array.isArray(t))return vn(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||dn(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ln(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var r,e,o,s,a=[],u=!0,h=!1;try{if(o=(i=i.call(t)).next,0===n){if(Object(i)!==i)return;u=!1}else for(;!(u=(r=o.call(i)).done)&&(a.push(r.value),a.length!==n);u=!0);}catch(t){h=!0,e=t}finally{try{if(!u&&null!=i["return"]&&(s=i["return"](),Object(s)!==s))return}finally{if(h)throw e}}return a}}(t,n)||dn(t,n)||function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dn(t,n){if(t){if("string"==typeof t)return vn(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?vn(t,n):void 0}}function vn(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=Array(n);i<n;i++)r[i]=t[i];return r}function bn(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function pn(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function yn(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?pn(Object(i),!0).forEach(function(n){gn(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):pn(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}function gn(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=cn(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=cn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==cn(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var mn={top:0,right:8,bottom:0,left:8},wn=hn._i8("<!><!>",1),_n=hn._i8('<rect class="bg"></rect><!><!>',1),xn=hn.vUu('<div class="s-chart c-iqhmcs"><svg class="s-svg c-iqhmcs"><!></svg></div>'),Yn={hash:"c-iqhmcs",code:".s-chart.c-iqhmcs {display:flex;align-items:stretch;justify-content:center;flex:1;margin:auto;height:100%;width:100%;}.s-svg.c-iqhmcs {position:relative;flex:1;width:100%;overflow:visible;}"};function Tn(t,n){var i=this;if(this instanceof Tn?this.constructor:void 0)return(0,e.YU)(yn({component:Tn},t));hn.VCO(n,!1),hn.kZQ(t,Yn);var r=function(){return bn(this,i),hn.Hzn(v,"$context",a)}.bind(this),o=ln(hn.DZI(),2),a=o[0],u=o[1],h=hn._w2(n,"padding",28,function(){return bn(this,i),yn({},mn)}.bind(this));h(yn(yn({},mn),h()));var c=hn._w2(n,"gap",28,function(){return bn(this,i),{top:0,right:0,bottom:0,left:0}}.bind(this)),f=hn._w2(n,"color",12,"white"),l=hn._w2(n,"width",12,500),d=hn._w2(n,"height",12,200),v=(0,s.T5)({colors:{},allPoints:new Map,padding:yn({},mn),gap:{top:0,right:0,bottom:0,left:0},width:0,height:0,xExtremum:[0,0],xScale:an().domain([0,0]).range([0,0]),xAxisHeight:20,groups:new Set,leftYAxisWidth:0,rightYAxisWidth:0,selected:new Map});(0,un.o)("chart",v),hn.M3l(function(){return bn(this,i),hn.iTV(l()),hn.iTV(d()),r(),hn.iTV(h()),hn.iTV(c()),an}.bind(this),function(){var t=this;if(bn(this,i),l()&&d()&&r().groups.size){var n=[];r().groups.forEach(function(i){var r=this;bn(this,t),i.points.forEach(function(t){var i=this;bn(this,r),t.forEach(function(t){bn(this,i),n.push(t)}.bind(this))}.bind(this))}.bind(this)),n.sort(function(n,i){return bn(this,t),n.x-i.x}.bind(this)),r().allPoints.clear(),n.forEach(function(n){bn(this,t),r().allPoints.set(n.x,n)}.bind(this));var e=n.map(function(n){return bn(this,t),n.x}.bind(this));hn.hYb(v,hn.vzK(r).width=l(),hn.vzK(r)),hn.hYb(v,hn.vzK(r).height=d(),hn.vzK(r)),hn.hYb(v,hn.vzK(r).padding=h(),hn.vzK(r)),hn.hYb(v,hn.vzK(r).gap=c(),hn.vzK(r));var o=Math.min.apply(Math,fn(e)),s=Math.max.apply(Math,fn(e));o===Infinity&&(o=0),s===-Infinity&&(s=0),s+=(s-(o-=(s-o)*c().left))*c().right,(o===Infinity||isNaN(o))&&(o=0),(s===Infinity||isNaN(s))&&(s=0),hn.hYb(v,hn.vzK(r).xExtremum=[o,s],hn.vzK(r)),hn.hYb(v,hn.vzK(r).rightYAxisWidth=0,hn.vzK(r)),hn.hYb(v,hn.vzK(r).leftYAxisWidth=0,hn.vzK(r)),r().groups.forEach(function(n){bn(this,t),hn.hYb(v,hn.vzK(r).rightYAxisWidth=Math.max(n.rightYAxisWidth,r().rightYAxisWidth),hn.vzK(r)),hn.hYb(v,hn.vzK(r).leftYAxisWidth=Math.max(n.leftYAxisWidth,r().leftYAxisWidth),hn.vzK(r))}.bind(this)),hn.hYb(v,hn.vzK(r).xScale=an().domain(r().xExtremum).range([h().left+r().leftYAxisWidth,l()-h().right-r().rightYAxisWidth]),hn.vzK(r))}}.bind(this)),hn.iqF();var b={get padding(){return h()},set padding(t){h(t),hn.bX()},get gap(){return c()},set gap(t){c(t),hn.bX()},get color(){return f()},set color(t){f(t),hn.bX()},get width(){return l()},set width(t){l(t),hn.bX()},get height(){return d()},set height(t){d(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return bn(this,i),hn.oeX(n,t,r)}.bind(this)};hn.TsN();var p=xn(),y=hn.jfp(p),g=hn.jfp(y),m=function(t){var e=this;bn(this,i);var o=_n(),s=hn.esp(o);hn.aIK(s,"x",0),hn.aIK(s,"y",0);var a=hn.hg4(s),u=function(t){bn(this,e);var i=wn(),r=hn.esp(i);hn.NIy(r,n,"x-axis",{},null);var o=hn.hg4(r);hn.NIy(o,n,"select",{},null),hn.BCw(t,i)}.bind(this),h=hn.unG(function(){var t=this;return bn(this,e),r(),hn.vzK(function(){var n=this;return bn(this,t),fn(r().groups).find(function(t){return bn(this,n),t.points.size}.bind(this))}.bind(this))}.bind(this));hn["if"](a,function(t){bn(this,e),hn.JtY(h)&&t(u)}.bind(this));var c=hn.hg4(a);hn.NIy(c,n,"default",{},null),hn.vNg(function(){bn(this,e),hn.aIK(s,"width",l()),hn.aIK(s,"height",d()),hn.aIK(s,"fill",f())}.bind(this)),hn.BCw(t,o)}.bind(this);hn["if"](g,function(t){bn(this,i),l()&&d()&&t(m)}.bind(this)),hn.cLc(y),hn.cLc(p),hn.BCw(t,p);var w=hn.uYY(b);return u(),w}function jn(t){return jn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jn(t)}function Sn(t){return function(t){if(Array.isArray(t))return zn(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||On(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jn(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var r,e,o,s,a=[],u=!0,h=!1;try{if(o=(i=i.call(t)).next,0===n){if(Object(i)!==i)return;u=!1}else for(;!(u=(r=o.call(i)).done)&&(a.push(r.value),a.length!==n);u=!0);}catch(t){h=!0,e=t}finally{try{if(!u&&null!=i["return"]&&(s=i["return"](),Object(s)!==s))return}finally{if(h)throw e}}return a}}(t,n)||On(t,n)||function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function On(t,n){if(t){if("string"==typeof t)return zn(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?zn(t,n):void 0}}function zn(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=Array(n);i<n;i++)r[i]=t[i];return r}function Kn(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function Pn(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function Mn(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=jn(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=jn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==jn(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var Cn=hn.vUu("<!> <!>",1);function kn(t,n){var i=this;if(this instanceof kn?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?Pn(Object(i),!0).forEach(function(n){Mn(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Pn(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:kn},t));hn.VCO(n,!1);var r=function(){return Kn(this,i),hn.Hzn(d,"$chart",u)}.bind(this),o=function(){return Kn(this,i),hn.Hzn(v,"$context",u)}.bind(this),a=Jn(hn.DZI(),2),u=a[0],h=a[1],c=hn._w2(n,"reversed",12,!1),f=hn._w2(n,"min",12,null),l=hn._w2(n,"max",12,null),d=(0,un.SD)("chart"),v=(0,s.T5)({yExtremum:[0,0],yScale:an().domain([0,0]).range([0,0]),points:new Map,allPoints:new Map,leftYAxisWidth:0,rightYAxisWidth:0,inited:!1,minExtremum:null,maxExtremum:null});(0,un.Rc)(function(){Kn(this,i),r().groups.add(o()),hn.fTr(d,r())}.bind(this)),(0,un.sA)(function(){Kn(this,i),r().groups["delete"](o()),hn.fTr(d,r())}.bind(this)),(0,un.o)("group",v),hn.M3l(function(){return Kn(this,i),r(),o(),hn.iTV(f()),hn.iTV(l()),hn.iTV(c())}.bind(this),function(){var t=this;if(Kn(this,i),r().width&&r().height&&o().points.size){hn.hYb(v,hn.vzK(o).minExtremum=f(),hn.vzK(o)),hn.hYb(v,hn.vzK(o).maxExtremum=l(),hn.vzK(o));var n=[];o().points.forEach(function(i){var r=this;Kn(this,t),i.forEach(function(t){Kn(this,r),n.push(t)}.bind(this))}.bind(this)),n.sort(function(n,i){return Kn(this,t),n.x-i.x}.bind(this)),o().allPoints.clear(),n.forEach(function(n){Kn(this,t),o().allPoints.set(n.x,n)}.bind(this));var e=n.map(function(n){return Kn(this,t),n.y}.bind(this)).flat(),s=Math.min.apply(Math,Sn(e)),a=Math.max.apply(Math,Sn(e));if("number"==typeof o().minExtremum&&(s=Math.min(s,o().minExtremum)),"number"==typeof o().maxExtremum&&(a=Math.max(a,o().maxExtremum)),s===a){var u=Math.max(1e-13*Math.abs(s),1e-13);s-=u,a+=u}s===Infinity&&(s=0),a===-Infinity&&(a=0),a+=(a-(s-=(a-s)*r().gap.bottom||0))*r().gap.top||0,(s===Infinity||Number.isNaN(s))&&(s=0),(a===Infinity||Number.isNaN(a))&&(a=0),hn.hYb(v,hn.vzK(o).yExtremum=[s,a],hn.vzK(o));var h=an().domain(o().yExtremum),d=r().padding.top,b=r().height-r().padding.bottom-r().xAxisHeight;hn.hYb(v,hn.vzK(o).yScale=h.range(c()?[d,b]:[b,d]),hn.vzK(o)),hn.hYb(v,hn.vzK(o).inited=!0,hn.vzK(o))}}.bind(this)),hn.iqF();var b={get reversed(){return c()},set reversed(t){c(t),hn.bX()},get min(){return f()},set min(t){f(t),hn.bX()},get max(){return l()},set max(t){l(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return Kn(this,i),hn.oeX(n,t,r)}.bind(this)};hn.TsN();var p=Cn(),y=hn.esp(p);hn.NIy(y,n,"y-axis",{},null);var g=hn.hg4(y,2);hn.NIy(g,n,"default",{},null),hn.BCw(t,p);var m=hn.uYY(b);return h(),m}function Vn(t){return Vn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vn(t)}function En(t){return function(t){if(Array.isArray(t))return Nn(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return Nn(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Nn(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nn(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=Array(n);i<n;i++)r[i]=t[i];return r}function In(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function Bn(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function $n(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=Vn(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=Vn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}
1(t,"string");return"symbol"==Vn(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var Xn=hn._i8("<circle></circle>"),Ln=hn._i8("<g><text> </text></g>"),An=hn._i8("<g></g><!>",1),Dn={hash:"c-jaswwc",code:".s-label.c-jaswwc {text-anchor:middle;font-size:9px;}.s-label.s-first.c-jaswwc {text-anchor:start;}.s-label.s-last.c-jaswwc {text-anchor:end;}"};function Un(t,n){var i,r=this;if(this instanceof Un?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?Bn(Object(i),!0).forEach(function(n){$n(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Bn(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:Un},t));hn.VCO(n,!1),hn.kZQ(t,Dn);var o=hn._w2(n,"points",12),s=hn._w2(n,"size",12,8),a=hn._w2(n,"color",12),u=hn._w2(n,"borderColor",12),h=hn._w2(n,"lineWidth",12,2),c=hn._w2(n,"labels",12,null),f=hn._w2(n,"xScale",12),l=hn._w2(n,"yScale",12),d=hn._w2(n,"format",12,function(t){return In(this,r),t.toString()}.bind(this)),v=hn._w2(n,"selected",28,function(){In(this,r)}.bind(this)),b=hn.zgK(null!==(i=c())&&void 0!==i&&i);hn.M3l(function(){return In(this,r),hn.iTV(c()),hn.iTV(o()),hn.iTV(d()),hn.iTV(f())}.bind(this),function(){var t=this;if(In(this,r),null===c()&&o().length){var n=Math.max.apply(Math,En(o().map(function(n){var i=n.y;return In(this,t),d()(i[0]).length}.bind(this)))),i=f()(o()[o().length-1].x)-f()(o()[0].x);hn.hZp(b,2*(6*n+6)*o().length<i)}}.bind(this)),hn.iqF();var p={get points(){return o()},set points(t){o(t),hn.bX()},get size(){return s()},set size(t){s(t),hn.bX()},get color(){return a()},set color(t){a(t),hn.bX()},get borderColor(){return u()},set borderColor(t){u(t),hn.bX()},get lineWidth(){return h()},set lineWidth(t){h(t),hn.bX()},get labels(){return c()},set labels(t){c(t),hn.bX()},get xScale(){return f()},set xScale(t){f(t),hn.bX()},get yScale(){return l()},set yScale(t){l(t),hn.bX()},get format(){return d()},set format(t){d(t),hn.bX()},get selected(){return v()},set selected(t){v(t),hn.bX()},$set:hn.hpB,$on:function(t,i){return In(this,r),hn.oeX(n,t,i)}.bind(this)};hn.TsN();var y=An(),g=hn.esp(y);hn.__1(g,5,o,hn.Pe0,function(t,n){var i=this;In(this,r);var e,o=Xn();hn.vNg(function(t,r){In(this,i),hn.aIK(o,"r",.5*s()),hn.aIK(o,"cx",t),hn.aIK(o,"cy",r),e=hn.ysU(o,0,"",null,e,{selected:hn.JtY(n).x===v()})}.bind(this),[function(){var t=this;return In(this,i),hn.iTV(f()),hn.JtY(n),hn.vzK(function(){return In(this,t),f()(hn.JtY(n).x)}.bind(this))}.bind(this),function(){var t=this;return In(this,i),hn.iTV(l()),hn.JtY(n),hn.vzK(function(){return In(this,t),l()(hn.JtY(n).y[0])}.bind(this))}.bind(this)]),hn.BCw(t,o)}.bind(this)),hn.cLc(g);var m=hn.hg4(g),w=function(t){var n=this;In(this,r);var i=hn.Imx(),e=hn.esp(i);hn.__1(e,1,o,hn.Pe0,function(t,i,r){var e=this;In(this,n);var s=Ln(),a=hn.jfp(s),u=hn.IuP(a,!0);hn.cLc(s),hn.vNg(function(t,n,i){var s,h=this;In(this,e),hn.ysU(a,0,"s-label ".concat(r?"":"s-first"," ").concat(null!==(hn.iTV(o()),s=hn.vzK(function(){return In(this,h),r===o().length-1?"s-last":""}.bind(this)))&&void 0!==s?s:""),"c-jaswwc"),hn.aIK(a,"x",t),hn.aIK(a,"y",n),hn.jax(u,i)}.bind(this),[function(){var t=this;return In(this,e),hn.iTV(f()),hn.JtY(i),hn.vzK(function(){return In(this,t),f()(hn.JtY(i).x)}.bind(this))}.bind(this),function(){var t=this;return In(this,e),hn.iTV(l()),hn.JtY(i),hn.vzK(function(){return In(this,t),l()(hn.JtY(i).y[0])-9}.bind(this))}.bind(this),function(){var t=this;return In(this,e),hn.iTV(d()),hn.JtY(i),hn.vzK(function(){return In(this,t),d()(hn.JtY(i).y[0])}.bind(this))}.bind(this)]),hn.BCw(t,s)}.bind(this)),hn.BCw(t,i)}.bind(this);return hn["if"](m,function(t){In(this,r),hn.JtY(b)&&t(w)}.bind(this)),hn.vNg(function(){var t;In(this,r),hn.aIK(g,"fill",a()),hn.aIK(g,"stroke-width","".concat(null!==(t=h())&&void 0!==t?t:"","px")),hn.aIK(g,"stroke",u())}.bind(this)),hn.BCw(t,y),hn.uYY(p)}function Wn(t){return function(){return t}}i.dn(Wn);var Zn,Fn,qn,Hn,Rn,Gn,Qn,ti,ni,ii,ri,ei,oi,si,ai=Math.abs,ui=Math.atan2,hi=Math.cos,ci=Math.max,fi=Math.min,li=Math.sin,di=Math.sqrt,vi=1e-12,bi=Math.PI,pi=bi/2,yi=2*bi;function gi(t){return t>=1?pi:t<=-1?-pi:Math.asin(t)}function mi(t){return mi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mi(t)}function wi(t,n){return n||(n=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))}function _i(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,xi(r.key),r)}}function xi(t){var n=function(t,n){if("object"!=mi(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=mi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}
1(t,"string");return"symbol"==mi(n)?n:n+""}var Yi=Math.PI,Ti=2*Yi,ji=1e-6,Si=Ti-ji;function Ji(t){this._+=t[0];for(var n=1,i=t.length;n<i;++n)this._+=arguments[n]+t[n]}var Oi=function(){return t=function r(t){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?Ji:function(t){var n=Math.floor(t);if(!(n>=0))throw new Error("invalid digits: ".concat(t));if(n>15)return Ji;var i=Math.pow(10,n);return function(t){this._+=t[0];for(var n=1,r=t.length;n<r;++n)this._+=Math.round(arguments[n]*i)/i+t[n]}}(t)},(n=[{key:"moveTo",value:function(t,n){this._append(Zn||(Zn=wi(["M",",",""])),this._x0=this._x1=+t,this._y0=this._y1=+n)}},{key:"closePath",value:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append(Fn||(Fn=wi(["Z"]))))}},{key:"lineTo",value:function(t,n){this._append(qn||(qn=wi(["L",",",""])),this._x1=+t,this._y1=+n)}},{key:"quadraticCurveTo",value:function(t,n,i,r){this._append(Hn||(Hn=wi(["Q",",",",",",",""])),+t,+n,this._x1=+i,this._y1=+r)}},{key:"bezierCurveTo",value:function(t,n,i,r,e,o){this._append(Rn||(Rn=wi(["C",",",",",",",",",",",""])),+t,+n,+i,+r,this._x1=+e,this._y1=+o)}},{key:"arcTo",value:function(t,n,i,r,e){if(t=+t,n=+n,i=+i,r=+r,(e=+e)<0)throw new Error("negative radius: ".concat(e));var o=this._x1,s=this._y1,a=i-t,u=r-n,h=o-t,c=s-n,f=h*h+c*c;if(null===this._x1)this._append(Gn||(Gn=wi(["M",",",""])),this._x1=t,this._y1=n);else if(f>ji)if(Math.abs(c*a-u*h)>ji&&e){var l=i-o,d=r-s,v=a*a+u*u,b=l*l+d*d,p=Math.sqrt(v),y=Math.sqrt(f),g=e*Math.tan((Yi-Math.acos((v+f-b)/(2*p*y)))/2),m=g/y,w=g/p;Math.abs(m-1)>ji&&this._append(ti||(ti=wi(["L",",",""])),t+m*h,n+m*c),this._append(ni||(ni=wi(["A",",",",0,0,",",",",",""])),e,e,+(c*l>h*d),this._x1=t+w*a,this._y1=n+w*u)}else this._append(Qn||(Qn=wi(["L",",",""])),this._x1=t,this._y1=n)}},{key:"arc",value:function(t,n,i,r,e,o){if(t=+t,n=+n,o=!!o,(i=+i)<0)throw new Error("negative radius: ".concat(i));var s=i*Math.cos(r),a=i*Math.sin(r),u=t+s,h=n+a,c=1^o,f=o?r-e:e-r;null===this._x1?this._append(ii||(ii=wi(["M",",",""])),u,h):(Math.abs(this._x1-u)>ji||Math.abs(this._y1-h)>ji)&&this._append(ri||(ri=wi(["L",",",""])),u,h),i&&(f<0&&(f=f%Ti+Ti),f>Si?this._append(ei||(ei=wi(["A",",",",0,1,",",",",","A",",",",0,1,",",",",",""])),i,i,c,t-s,n-a,i,i,c,this._x1=u,this._y1=h):f>ji&&this._append(oi||(oi=wi(["A",",",",0,",",",",",",",""])),i,i,+(f>=Yi),c,this._x1=t+i*Math.cos(e),this._y1=n+i*Math.sin(e)))}},{key:"rect",value:function(t,n,i,r){this._append(si||(si=wi(["M",",","h","v","h","Z"])),this._x0=this._x1=+t,this._y0=this._y1=+n,i=+i,+r,-i)}},{key:"toString",value:function(){return this._}}])&&_i(t.prototype,n),i&&_i(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,i}();function zi(t){var n=this,i=3;return t.digits=function(n){if(!arguments.length)return i;if(null==n)i=null;else{var r=Math.floor(n);if(!(r>=0))throw new RangeError("invalid digits: ".concat(n));i=r}return t},function(){return function(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}(this,n),new Oi(i)}.bind(this)}function Ki(t){return t.innerRadius}function Pi(t){return t.outerRadius}function Mi(t){return t.startAngle}function Ci(t){return t.endAngle}function ki(t){return t&&t.padAngle}function Vi(t,n,i,r,e,o,s){var a=t-i,u=n-r,h=(s?o:-o)/di(a*a+u*u),c=h*u,f=-h*a,l=t+c,d=n+f,v=i+c,b=r+f,p=(l+v)/2,y=(d+b)/2,g=v-l,m=b-d,w=g*g+m*m,_=e-o,x=l*b-v*d,Y=(m<0?-1:1)*di(ci(0,_*_*w-x*x)),T=(x*m-g*Y)/w,j=(-x*g-m*Y)/w,S=(x*m+g*Y)/w,J=(-x*g+m*Y)/w,O=T-p,z=j-y,K=S-p,P=J-y;return O*O+z*z>K*K+P*P&&(T=S,j=J),{cx:T,cy:j,x01:-c,y01:-f,x11:T*(e/_-1),y11:j*(e/_-1)}}function Ei(){var t=Ki,n=Pi,i=Wn(0),r=null,e=Mi,o=Ci,s=ki,a=null,u=zi(h);function h(){var h,c,f,l=+t.apply(this,arguments),d=+n.apply(this,arguments),v=e.apply(this,arguments)-pi,b=o.apply(this,arguments)-pi,p=ai(b-v),y=b>v;if(a||(a=h=u()),d<l&&(c=d,d=l,l=c),d>vi)if(p>yi-vi)a.moveTo(d*hi(v),d*li(v)),a.arc(0,0,d,v,b,!y),l>vi&&(a.moveTo(l*hi(b),l*li(b)),a.arc(0,0,l,b,v,y));else{var g,m,w=v,_=b,x=v,Y=b,T=p,j=p,S=s.apply(this,arguments)/2,J=S>
vendor: 9,350 bytes, line 1
1vi&&(r?+r.apply(this,arguments):di(l*l+d*d)),O=fi(ai(d-l)/2,+i.apply(this,arguments)),z=O,K=O;if(J>vi){var P=gi(J/l*li(S)),M=gi(J/d*li(S));(T-=2*P)>vi?(x+=P*=y?1:-1,Y-=P):(T=0,x=Y=(v+b)/2),(j-=2*M)>vi?(w+=M*=y?1:-1,_-=M):(j=0,w=_=(v+b)/2)}var C=d*hi(w),k=d*li(w),V=l*hi(Y),E=l*li(Y);if(O>vi){var N,I=d*hi(_),B=d*li(_),$=l*hi(x),X=l*li(x);if(p<bi)if(N=function(t,n,i,r,e,o,s,a){var u=i-t,h=r-n,c=s-e,f=a-o,l=f*u-c*h;if(!(l*l<vi))return[t+(l=(c*(n-o)-f*(t-e))/l)*u,n+l*h]}(C,k,$,X,I,B,V,E)){var L=C-N[0],A=k-N[1],D=I-N[0],U=B-N[1],W=1/li(((f=(L*D+A*U)/(di(L*L+A*A)*di(D*D+U*U)))>1?0:f<-1?bi:Math.acos(f))/2),Z=di(N[0]*N[0]+N[1]*N[1]);z=fi(O,(l-Z)/(W-1)),K=fi(O,(d-Z)/(W+1))}else z=K=0}j>vi?K>vi?(g=Vi($,X,C,k,d,K,y),m=Vi(I,B,V,E,d,K,y),a.moveTo(g.cx+g.x01,g.cy+g.y01),K<O?a.arc(g.cx,g.cy,K,ui(g.y01,g.x01),ui(m.y01,m.x01),!y):(a.arc(g.cx,g.cy,K,ui(g.y01,g.x01),ui(g.y11,g.x11),!y),a.arc(0,0,d,ui(g.cy+g.y11,g.cx+g.x11),ui(m.cy+m.y11,m.cx+m.x11),!y),a.arc(m.cx,m.cy,K,ui(m.y11,m.x11),ui(m.y01,m.x01),!y))):(a.moveTo(C,k),a.arc(0,0,d,w,_,!y)):a.moveTo(C,k),l>vi&&T>vi?z>vi?(g=Vi(V,E,I,B,l,-z,y),m=Vi(C,k,$,X,l,-z,y),a.lineTo(g.cx+g.x01,g.cy+g.y01),z<O?a.arc(g.cx,g.cy,z,ui(g.y01,g.x01),ui(m.y01,m.x01),!y):(a.arc(g.cx,g.cy,z,ui(g.y01,g.x01),ui(g.y11,g.x11),!y),a.arc(0,0,l,ui(g.cy+g.y11,g.cx+g.x11),ui(m.cy+m.y11,m.cx+m.x11),y),a.arc(m.cx,m.cy,z,ui(m.y11,m.x11),ui(m.y01,m.x01),!y))):a.arc(0,0,l,Y,x,y):a.lineTo(V,E)}else a.moveTo(0,0);if(a.closePath(),h)return a=null,h+""||null}return h.centroid=function(){var i=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+e.apply(this,arguments)+ +o.apply(this,arguments))/2-bi/2;return[hi(r)*i,li(r)*i]},h.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:Wn(+n),h):t},h.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:Wn(+t),h):n},h.cornerRadius=function(t){return arguments.length?(i="function"==typeof t?t:Wn(+t),h):i},h.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Wn(+t),h):r},h.startAngle=function(t){return arguments.length?(e="function"==typeof t?t:Wn(+t),h):e},h.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:Wn(+t),h):o},h.padAngle=function(t){return arguments.length?(s="function"==typeof t?t:Wn(+t),h):s},h.context=function(t){return arguments.length?(a=t??null,h):a},h}function Ni(t){return Ni="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ni(t)}Oi.prototype,i.dn(Ei),i.dn(Bi);var Ii=Array.prototype.slice;function Bi(t){return"object"===Ni(t)&&"length"in t?t:Array.from(t)}function $i(t){this._context=t}function Xi(t){return new $i(t)}function Li(t){return t[0]}function Ai(t){return t[1]}function Di(t,n){var i=Wn(!0),r=null,e=Xi,o=null,s=zi(a);function a(a){var u,h,c,f=(a=Bi(a)).length,l=!1;for(null==r&&(o=e(c=s())),u=0;u<=f;++u)!(u<f&&i(h=a[u],u,a))===l&&((l=!l)?o.lineStart():o.lineEnd()),l&&o.point(+t(h,u,a),+n(h,u,a));if(c)return o=null,c+""||null}return t="function"==typeof t?t:t===undefined?Li:Wn(t),n="function"==typeof n?n:n===undefined?Ai:Wn(n),a.x=function(n){return arguments.length?(t="function"==typeof n?n:Wn(+n),a):t},a.y=function(t){return arguments.length?(n="function"==typeof t?t:Wn(+t),a):n},a.defined=function(t){return arguments.length?(i="function"==typeof t?t:Wn(!!t),a):i},a.curve=function(t){return arguments.length?(e=t,null!=r&&(o=e(r)),a):e},a.context=function(t){return arguments.length?(null==t?r=o=null:o=e(r=t),a):r},a}function Ui(t,n,i){var r=null,e=Wn(!0),o=null,s=Xi,a=null,u=zi(h);function h(h){var c,f,l,d,v,b=(h=Bi(h)).length,p=!1,y=new Array(b),g=new Array(b);for(null==o&&(a=s(v=u())),c=0;c<=b;++c){if(!(c<b&&e(d=h[c],c,h))===p)if(p=!p)f=c,a.areaStart(),a.lineStart();else{for(a.lineEnd(),a.lineStart(),l=c-1;l>=f;--l)a.point(y[l],g[l]);a.lineEnd(),a.areaEnd()}p&&(y[c]=+t(d,c,h),g[c]=+n(d,c,h),a.point(r?+r(d,c,h):y[c],i?+i(d,c,h):g[c]))}if(v)return a=null,v+""||null}function c(){return Di().defined(e).curve(s).context(o)}return t="function"==typeof t?t:t===undefined?Li:Wn(+t),n="function"==typeof n?n:n===undefined?Wn(0):Wn(+n),i="function"==typeof i?i:i===undefined?Ai:Wn(+i),h.x=function(n){return arguments.length?(t="function"==typeof n?n:Wn(+n),r=null,h):t},h.x0=function(n){return arguments.length?(t="function"==typeof n?n:Wn(+n),h):t},h.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Wn(+t),h):r},h.y=function(t){return arguments.length?(n="function"==typeof t?t:Wn(+t),i=null,h):n},h.y0=function(t){return arguments.length?(n="function"==typeof t?t:Wn(+t),h):n},h.y1=function(t){return arguments.length?(i=null==t?null:"function"==typeof t?t:Wn(+t),h):i},h.lineX0=h.lineY0=function(){return c().x(t).y(n)},h.lineY1=function(){return c().x(t).y(i)},h.lineX1=function(){return c().x(r).y(n)},h.defined=function(t){return arguments.length?(e="function"==typeof t?t:Wn(!!t),h):e},h.curve=function(t){return arguments.length?(s=t,null!=o&&(a=s(o)),h):s},h.context=function(t){return arguments.length?(null==t?o=a=null:a=s(o=t),h):o},h}function Wi(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}function Zi(t){return t}function Fi(){var t=Zi,n=Wi,i=null,r=Wn(0),e=Wn(yi),o=Wn(0);function s(s){var a,u,h,c,f,l=(s=Bi(s)).length,d=0,v=new Array(l),b=new Array(l),p=+r.apply(this,arguments),y=Math.min(yi,Math.max(-yi,e.apply(this,arguments)-p)),g=Math.min(Math.abs(y)/l,o.apply(this,arguments)),m=g*(y<0?-1:1);for(a=0;a<l;++a)(f=b[v[a]=a]=+t(s[a],a,s))>0&&(d+=f);for(null!=n?v.sort(function(t,i){return n(b[t],b[i])}):null!=i&&v.sort(function(t,n){return i(s[t],s[n])}),a=0,h=d?(y-l*m)/d:0;a<l;++a,p=c)u=v[a],c=p+((f=b[u])>0?f*h:0)+m,b[u]={data:s[u],index:a,value:f,startAngle:p,endAngle:c,padAngle:g};return b}return s.value=function(n){return arguments.length?(t="function"==typeof n?n:Wn(+n),s):t},s.sortValues=function(t){return arguments.length?(n=t,i=null,s):n},s.sort=function(t){return arguments.length?(i=t,n=null,s):i},s.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Wn(+t),s):r},s.endAngle=function(t){return arguments.length?(e="function"==typeof t?t:Wn(+t),s):e},s.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:Wn(+t),s):o},s}i.dn(Xi),$i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}},i.dn(Di),i.dn(Ui),i.dn(Wi),i.dn(Zi),i.dn(Fi);var qi=Ri(Xi);function Hi(t){this._curve=t}function Ri(t){function n(n){return new Hi(t(n))}return n._curve=t,n}function Gi(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(Ri(t)):n()._curve},t}function Qi(){return Gi(Di().curve(qi))}function tr(){var t=Ui().curve(qi),n=t.curve,i=t.lineX0,r=t.lineX1,e=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Gi(i())},delete t.lineX0,t.lineEndAngle=function(){return Gi(r())},delete t.lineX1,t.lineInnerRadius=function(){return Gi(e())},delete t.lineY0,t.lineOuterRadius=function(){return Gi(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Ri(t)):n()._curve},t}function nr(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}function ir(t){return function(t){if(Array.isArray(t))return rr(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return rr(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?rr(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rr(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=Array(n);i<n;i++)r[i]=t[i];return r}function er(t){return er="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},er(t)}function or(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function sr(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ur(r.key),r)}}function ar(t,n,i){return n&&sr(t.prototype,n),i&&sr(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function ur(t){var n=function(t,n){if("object"!=er(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=er(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}
1(t,"string");return"symbol"==er(n)?n:n+""}Hi.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}},i.dn(Qi),i.dn(tr),i.dn(nr);var hr=function(){return ar(function t(n,i){or(this,t),this._context=n,this._x=i},[{key:"areaStart",value:function(){this._line=0}},{key:"areaEnd",value:function(){this._line=NaN}},{key:"lineStart",value:function(){this._point=0}},{key:"lineEnd",value:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}},{key:"point",value:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n)}this._x0=t,this._y0=n}}])}(),cr=function(){return ar(function t(n){or(this,t),this._context=n},[{key:"lineStart",value:function(){this._point=0}},{key:"lineEnd",value:function(){}},{key:"point",value:function(t,n){if(t=+t,n=+n,0===this._point)this._point=1;else{var i,r,e=nr(this._x0,this._y0),o=nr(this._x0,this._y0=(this._y0+n)/2),s=nr(t,this._y0),a=nr(t,n);(i=this._context).moveTo.apply(i,ir(e)),(r=this._context).bezierCurveTo.apply(r,ir(o).concat(ir(s),ir(a)))}this._x0=t,this._y0=n}}])}();function fr(t){return new hr(t,!0)}function lr(t){return new hr(t,!1)}function dr(t){return new cr(t)}function vr(t){return t.source}function br(t){return t.target}function pr(t){var n=vr,i=br,r=Li,e=Ai,o=null,s=null,a=zi(u);function u(){var u,h=Ii.call(arguments),c=n.apply(this,h),f=i.apply(this,h);if(null==o&&(s=t(u=a())),s.lineStart(),h[0]=c,s.point(+r.apply(this,h),+e.apply(this,h)),h[0]=f,s.point(+r.apply(this,h),+e.apply(this,h)),s.lineEnd(),u)return s=null,u+""||null}return u.source=function(t){return arguments.length?(n=t,u):n},u.target=function(t){return arguments.length?(i=t,u):i},u.x=function(t){return arguments.length?(r="function"==typeof t?t:Wn(+t),u):r},u.y=function(t){return arguments.length?(e="function"==typeof t?t:Wn(+t),u):e},u.context=function(n){return arguments.length?(null==n?o=s=null:s=t(o=n),u):o},u}function yr(){return pr(fr)}function gr(){return pr(lr)}function mr(){var t=pr(dr);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var wr=di(3);const _r={draw:function(t,n){var i=.59436*di(n+fi(n/28,.75)),r=i/2,e=r*wr;t.moveTo(0,i),t.lineTo(0,-i),t.moveTo(-e,-r),t.lineTo(e,r),t.moveTo(-e,r),t.lineTo(e,-r)}},xr={draw:function(t,n){var i=di(n/bi);t.moveTo(i,0),t.arc(0,0,i,0,yi)}},Yr={draw:function(t,n){var i=di(n/5)/2;t.moveTo(-3*i,-i),t.lineTo(-i,-i),t.lineTo(-i,-3*i),t.lineTo(i,-3*i),t.lineTo(i,-i),t.lineTo(3*i,-i),t.lineTo(3*i,i),t.lineTo(i,i),t.lineTo(i,3*i),t.lineTo(-i,3*i),t.lineTo(-i,i),t.lineTo(-3*i,i),t.closePath()}};var Tr=di(1/3),jr=2*Tr;const Sr={draw:function(t,n){var i=di(n/jr),r=i*Tr;t.moveTo(0,-i),t.lineTo(r,0),t.lineTo(0,i),t.lineTo(-r,0),t.closePath()}},Jr={draw:function(t,n){var i=.62625*di(n);t.moveTo(0,-i),t.lineTo(i,0),t.lineTo(0,i),t.lineTo(-i,0),t.closePath()}},Or={draw:function(t,n){var i=.87559*di(n-fi(n/7,2));t.moveTo(-i,0),t.lineTo(i,0),t.moveTo(0,i),t.lineTo(0,-i)}},zr={draw:function(t,n){var i=di(n),r=-i/2;t.rect(r,r,i,i)}},Kr={draw:function(t,n){var i=.4431*di(n);t.moveTo(i,i),t.lineTo(i,-i),t.lineTo(-i,-i),t.lineTo(-i,i),t.closePath()}};var Pr=li(bi/10)/li(7*bi/10),Mr=li(yi/10)*Pr,Cr=-hi(yi/10)*Pr;const kr={draw:function(t,n){var i=di(.8908130915292852*n),r=Mr*i,e=Cr*i;t.moveTo(0,-i),t.lineTo(r,e);for(var o=1;o<5;++o){var s=yi*o/5,a=hi(s),u=li(s);t.lineTo(u*i,-a*i),t.lineTo(a*r-u*e,u*r+a*e)}t.closePath()}};var Vr=di(3);const Er={draw:function(t,n){var i=-di(n/(3*Vr));t.moveTo(0,2*i),t.lineTo(-Vr*i,-i),t.lineTo(Vr*i,-i),t.closePath()}};var Nr=di(3);const Ir={draw:function(t,n){var i=.6824*di(n),r=i/2,e=i*Nr/2;t.moveTo(0,-i),t.lineTo(e,r),t.lineTo(-e,r),t.closePath()}};var Br=-.5,$r=di(3)/2,Xr=1/di(12),Lr=3*(Xr/2+1);const Ar={draw:function(t,n){var i=di(n/Lr),r=i/2,e=i*Xr,o=r,s=i*Xr+i,a=-o,u=s;t.moveTo(r,e),t.lineTo(o,s),t.lineTo(a,u),t.lineTo(Br*r-$r*e,$r*r+Br*e),t.lineTo(Br*o-$r*s,$r*o+Br*s),t.lineTo(Br*a-$r*u,$r*a+Br*u),t.lineTo(Br*r+$r*e,Br*e-$r*r),t.lineTo(Br*o+$r*s,Br*s-$r*o),t.lineTo(Br*a+$r*u,Br*u-$r*a),t.closePath()}},Dr={draw:function(t,n){var i=.6189*di(n-fi(n/6,1.7));t.moveTo(-i,-i),t.lineTo(i,i),t.moveTo(-i,i),t.lineTo(i,-i)}};var Ur=[xr,Yr,Sr,zr,kr,Er,Ar],Wr=[xr,Or,Dr,Ir,_r,Kr,Jr];function Zr(t,n){var i=null,r=zi(e);function e(){var e;if(i||(i=e=r()),t.apply(this,arguments).draw(i,+n.apply(this,arguments)),e)return i=null,e+""||null}return t="function"==typeof t?t:Wn(t||xr),n="function"==typeof n?n:Wn(n===undefined?64:+n),e.type=function(n){return arguments.length?(t="function"==typeof n?n:Wn(n),e):t},e.size=function(t){return arguments.length?(n="function"==typeof t?t:Wn(+t),e):n},e.context=function(t){return arguments.length?(i=t??null,e):i},e}function Fr(){}function qr(t,n,i){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+i)/6)}function Hr(t){this._context=t}function Rr(t){return new Hr(t)}function Gr(t){this._context=t}function Qr(t){return new Gr(t)}function te(t){this._context=t}function ne(t){return new te(t)}function ie(t,n){this._basis=new Hr(t),this._beta=n}i.dn(Fr),i.dn(Rr),Hr.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:qr(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:qr(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},i.dn(Qr),Gr.prototype={areaStart:Fr,areaEnd:Fr,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:qr(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},i.dn(ne),te.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var i=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(i,r):this._context.moveTo(i,r);break;case 3:this._point=4;default:qr(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},ie.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,i=t.length-1;if(i>0)for(var r,e=t[0],o=n[0],s=t[i]-e,a=n[i]-o,u=-1;++u<=i;)r=u/i,this._basis.point(this._beta*t[u]+(1-this._beta)*(e+r*s),this._beta*n[u]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};const re=function Gl(t){function n(n){return 1===t?new Hr(n):new ie(n,t)}
vendor: 9,182 bytes, line 1
1return n.beta=function(t){return Gl(+t)},n}(.85);function ee(t,n,i){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-i),t._x2,t._y2)}function oe(t,n){this._context=t,this._k=(1-n)/6}oe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:ee(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:ee(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const se=function Ql(t){function n(n){return new oe(n,t)}return n.tension=function(t){return Ql(+t)},n}(0);function ae(t,n){this._context=t,this._k=(1-n)/6}ae.prototype={areaStart:Fr,areaEnd:Fr,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:ee(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const ue=function td(t){function n(n){return new ae(n,t)}return n.tension=function(t){return td(+t)},n}(0);function he(t,n){this._context=t,this._k=(1-n)/6}he.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ee(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const ce=function nd(t){function n(n){return new he(n,t)}return n.tension=function(t){return nd(+t)},n}(0);function fe(t,n,i){var r=t._x1,e=t._y1,o=t._x2,s=t._y2;if(t._l01_a>vi){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,e=(e*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>vi){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*h+t._x1*t._l23_2a-n*t._l12_2a)/c,s=(s*h+t._y1*t._l23_2a-i*t._l12_2a)/c}t._context.bezierCurveTo(r,e,o,s,t._x2,t._y2)}function le(t,n){this._context=t,this._alpha=n}le.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var i=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:fe(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const de=function id(t){function n(n){return t?new le(n,t):new oe(n,0)}return n.alpha=function(t){return id(+t)},n}(.5);function ve(t,n){this._context=t,this._alpha=n}ve.prototype={areaStart:Fr,areaEnd:Fr,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var i=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:fe(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const be=function rd(t){function n(n){return t?new ve(n,t):new ae(n,0)}return n.alpha=function(t){return rd(+t)},n}(.5);function pe(t,n){this._context=t,this._alpha=n}pe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var i=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:fe(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const ye=function ed(t){function n(n){return t?new pe(n,t):new he(n,0)}return n.alpha=function(t){return ed(+t)},n}(.5);function ge(t){this._context=t}function me(t){return new ge(t)}function we(t){return t<0?-1:1}function _e(t,n,i){var r=t._x1-t._x0,e=n-t._x1,o=(t._y1-t._y0)/(r||e<0&&-0),s=(i-t._y1)/(e||r<0&&-0),a=(o*e+s*r)/(r+e);return(we(o)+we(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(a))||0}function xe(t,n){var i=t._x1-t._x0;return i?(3*(t._y1-t._y0)/i-n)/2:n}function Ye(t,n,i){var r=t._x0,e=t._y0,o=t._x1,s=t._y1,a=(o-r)/3;t._context.bezierCurveTo(r+a,e+a*n,o-a,s-a*i,o,s)}function Te(t){this._context=t}function je(t){this._context=new Se(t)}function Se(t){this._context=t}function Je(t){return new Te(t)}function Oe(t){return new je(t)}function ze(t){this._context=t}function Ke(t){var n,i,r=t.length-1,e=new Array(r),o=new Array(r),s=new Array(r);for(e[0]=0,o[0]=2,s[0]=t[0]+2*t[1],n=1;n<r-1;++n)e[n]=1,o[n]=4,s[n]=4*t[n]+2*t[n+1];for(e[r-1]=2,o[r-1]=7,s[r-1]=8*t[r-1]+t[r],n=1;n<r;++n)i=e[n]/o[n-1],o[n]-=i,s[n]-=i*s[n-1];for(e[r-1]=s[r-1]/o[r-1],n=r-2;n>=0;--n)e[n]=(s[n]-e[n+1])/o[n];for(o[r-1]=(t[r]+e[r-1])/2,n=0;n<r-1;++n)o[n]=2*t[n+1]-e[n+1];return[e,o]}function Pe(t){return new ze(t)}function Me(t,n){this._context=t,this._t=n}function Ce(t){return new Me(t,.5)}function ke(t){return new Me(t,0)}function Ve(t){return new Me(t,1)}function Ee(t,n){if((e=t.length)>1)for(var i,r,e,o=1,s=t[n[0]],a=s.length;o<e;++o)for(r=s,s=t[n[o]],i=0;i<a;++i)s[i][1]+=s[i][0]=isNaN(r[i][1])?r[i][0]:r[i][1]}function Ne(t){for(var n=t.length,i=new Array(n);--n>=0;)i[n]=n;return i}function Ie(t,n){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function(t,n){if(t){if("string"==typeof t)return Be(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Be(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){i&&(t=i);var r=0,e=function(){};return{s:e,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return s=t.done,t},e:function(t){a=!0,o=t}
1,f:function(){try{s||null==i["return"]||i["return"]()}finally{if(a)throw o}}}}function Be(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=Array(n);i<n;i++)r[i]=t[i];return r}function $e(t,n){return t[n]}function Xe(t){var n=[];return n.key=t,n}function Le(){var t=Wn([]),n=Ne,i=Ee,r=$e;function e(e){var o,s,a,u=Array.from(t.apply(this,arguments),Xe),h=u.length,c=-1,f=Ie(e);try{for(f.s();!(a=f.n()).done;){var l=a.value;for(o=0,++c;o<h;++o)(u[o][c]=[0,+r(l,u[o].key,c,e)]).data=l}}catch(d){f.e(d)}finally{f.f()}for(o=0,s=Bi(n(u));o<h;++o)u[s[o]].index=o;return i(u,s),u}return e.keys=function(n){return arguments.length?(t="function"==typeof n?n:Wn(Array.from(n)),e):t},e.value=function(t){return arguments.length?(r="function"==typeof t?t:Wn(+t),e):r},e.order=function(t){return arguments.length?(n=null==t?Ne:"function"==typeof t?t:Wn(Array.from(t)),e):n},e.offset=function(t){return arguments.length?(i=t??Ee,e):i},e}function Ae(t,n){if((r=t.length)>0){for(var i,r,e,o=0,s=t[0].length;o<s;++o){for(e=i=0;i<r;++i)e+=t[i][o][1]||0;if(e)for(i=0;i<r;++i)t[i][o][1]/=e}Ee(t,n)}}function De(t,n){if((a=t.length)>0)for(var i,r,e,o,s,a,u=0,h=t[n[0]].length;u<h;++u)for(o=s=0,i=0;i<a;++i)(e=(r=t[n[i]][u])[1]-r[0])>0?(r[0]=o,r[1]=o+=e):e<0?(r[1]=s,r[0]=s+=e):(r[0]=0,r[1]=e)}function Ue(t,n){if((i=t.length)>0){for(var i,r=0,e=t[n[0]],o=e.length;r<o;++r){for(var s=0,a=0;s<i;++s)a+=t[s][r][1]||0;e[r][1]+=e[r][0]=-a/2}Ee(t,n)}}function We(t,n){if((e=t.length)>0&&(r=(i=t[n[0]]).length)>0){for(var i,r,e,o=0,s=1;s<r;++s){for(var a=0,u=0,h=0;a<e;++a){for(var c=t[n[a]],f=c[s][1]||0,l=(f-(c[s-1][1]||0))/2,d=0;d<a;++d){var v=t[n[d]];l+=(v[s][1]||0)-(v[s-1][1]||0)}u+=f,h+=l*f}i[s-1][1]+=i[s-1][0]=o,u&&(o-=h/u)}i[s-1][1]+=i[s-1][0]=o,Ee(t,n)}}function Ze(t){var n=t.map(Fe);return Ne(t).sort(function(t,i){return n[t]-n[i]})}function Fe(t){for(var n,i=-1,r=0,e=t.length,o=-Infinity;++i<e;)(n=+t[i][1])>o&&(o=n,r=i);return r}function qe(t){var n=t.map(He);return Ne(t).sort(function(t,i){return n[t]-n[i]})}function He(t){for(var n,i=0,r=-1,e=t.length;++r<e;)(n=+t[r][1])&&(i+=n);return i}function Re(t){return qe(t).reverse()}function Ge(t){var n,i,r=t.length,e=t.map(He),o=Ze(t),s=0,a=0,u=[],h=[];for(n=0;n<r;++n)i=o[n],s<a?(s+=e[i],u.push(i)):(a+=e[i],h.push(i));return h.reverse().concat(u)}function Qe(t){return Ne(t).reverse()}function to(t){switch(t){case"catmullRom":return de;case"catmullRomClosed":return be;case"catmullRomOpen":return ye;case"linear":default:return Xi;case"linearClosed":return me;case"monotoneX":return Je;case"monotoneY":return Oe;case"natural":return Pe;case"step":return Ce;case"stepAfter":return Ve;case"stepBefore":return ke}}var no;function io(t){return io="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},io(t)}function ro(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function eo(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function oo(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=io(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=io(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==io(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}i.dn(me),ge.prototype={areaStart:Fr,areaEnd:Fr,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}},Te.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Ye(this,this._t0,xe(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var i=NaN;
1if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,Ye(this,xe(this,i=_e(this,t,n)),i);break;default:Ye(this,this._t0,i=_e(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=i}}},(je.prototype=Object.create(Te.prototype)).point=function(t,n){Te.prototype.point.call(this,n,t)},Se.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,i,r,e,o){this._context.bezierCurveTo(n,t,r,i,o,e)}},i.dn(Pe),ze.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,i=t.length;if(i)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===i)this._context.lineTo(t[1],n[1]);else for(var r=Ke(t),e=Ke(n),o=0,s=1;s<i;++o,++s)this._context.bezierCurveTo(r[0][o],e[0][o],r[1][o],e[1][o],t[s],n[s]);(this._line||0!==this._line&&1===i)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}},i.dn(Ce),Me.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var i=this._x*(1-this._t)+t*this._t;this._context.lineTo(i,this._y),this._context.lineTo(i,n)}}this._x=t,this._y=n}},i.dn(Ee),i.dn(Ne),i.dn(Le),i.dn(Ae),i.dn(De),i.dn(Ue),i.dn(We),i.dn(Ze),i.dn(qe),i.dn(Re),i.dn(Ge),i.dn(Qe),function(t){t[t.Year=5]="Year",t[t.Week=3]="Week",t[t.WeekShort=1]="WeekShort",t[t.Month=8]="Month",t[t.Day=11]="Day",t[t.Time=16]="Time",t[t.Custom=6]="Custom"}(no||(no={}));var so=hn._i8('<path class="s-path-line c-1906qq7"></path>'),ao={hash:"c-1906qq7",code:".s-path-line.c-1906qq7 {fill:none;}"};function uo(t,n){var i=this;if(this instanceof uo?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?eo(Object(i),!0).forEach(function(n){oo(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):eo(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:uo},t));hn.VCO(n,!1),hn.kZQ(t,ao);var r=hn._w2(n,"points",12),o=hn._w2(n,"color",12),s=hn._w2(n,"width",12),a=hn._w2(n,"xScale",12),u=hn._w2(n,"yScale",12),h=hn._w2(n,"curve",12,"linear"),c=hn._w2(n,"id",12,null),f=hn.zgK(),l=hn.zgK("");hn.M3l(function(){return ro(this,i),hn.iTV(a()),hn.iTV(u()),hn.iTV(h())}.bind(this),function(){var t=this;ro(this,i),hn.hZp(f,Di().x(function(n){return ro(this,t),a()(n.x)}.bind(this)).y(function(n){return ro(this,t),u()(n.y[0])}.bind(this)).curve(to(h())))}.bind(this)),hn.M3l(function(){return ro(this,i),hn.JtY(f),hn.iTV(r())}.bind(this),function(){var t;ro(this,i),hn.hZp(l,null!==(t=hn.JtY(f)(r()))&&void 0!==t?t:"")}.bind(this)),hn.iqF();var d={get points(){return r()},set points(t){r(t),hn.bX()},get color(){return o()},set color(t){o(t),hn.bX()},get width(){return s()},set width(t){s(t),hn.bX()},get xScale(){return a()},set xScale(t){a(t),hn.bX()},get yScale(){return u()},set yScale(t){u(t),hn.bX()},get curve(){return h()},set curve(t){h(t),hn.bX()},get id(){return c()},set id(t){c(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return ro(this,i),hn.oeX(n,t,r)}.bind(this)};hn.TsN();var v=hn.Imx(),b=hn.esp(v),p=function(t){var n=this;ro(this,i);var r,e=so();hn.vNg(function(){ro(this,n),hn.aIK(e,"id",c()),hn.aIK(e,"d",hn.JtY(l)),r=hn.hgi(e,"",r,{stroke:o(),"stroke-width":s()})}.bind(this)),hn.BCw(t,e)}.bind(this);return hn["if"](b,function(t){var n=this;ro(this,i),hn.iTV(r()),hn.JtY(l),hn.vzK(function(){return ro(this,n),r().length&&hn.JtY(l)}.bind(this))&&t(p)}.bind(this)),hn.BCw(t,v),hn.uYY(d)}function ho(t){return ho="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ho(t)}function co(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var r,e,o,s,a=[],u=!0,h=!1;try{if(o=(i=i.call(t)).next,0===n){if(Object(i)!==i)return;u=!1}else for(;!(u=(r=o.call(i)).done)&&(a.push(r.value),a.length!==n);u=!0);}catch(t){h=!0,e=t}finally{try{if(!u&&null!=i["return"]&&(s=i["return"](),Object(s)!==s))return}finally{if(h)throw e}}return a}}(t,n)||function(t,n){if(t){if("string"==typeof t)return fo(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?fo(t,n):void 0}}
1(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fo(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=Array(n);i<n;i++)r[i]=t[i];return r}function lo(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function vo(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function bo(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=ho(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=ho(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==ho(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var po=hn.vUu("<!> <!>",1);function yo(t,n){var i=this;if(this instanceof yo?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?vo(Object(i),!0).forEach(function(n){bo(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):vo(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:yo},t));hn.VCO(n,!1);var r=function(){return lo(this,i),hn.Hzn(y,"$group",a)}.bind(this),o=function(){return lo(this,i),hn.Hzn(p,"$chart",a)}.bind(this),s=co(hn.DZI(),2),a=s[0],u=s[1],h=hn._w2(n,"points",12),c=hn._w2(n,"name",12),f=hn._w2(n,"color",28,function(){return lo(this,i),["#000"]}.bind(this)),l=hn._w2(n,"width",12),d=hn._w2(n,"curve",12,"linear"),v=hn._w2(n,"dots",12,null),b=hn._w2(n,"id",12,null),p=(0,un.SD)("chart"),y=(0,un.SD)("group"),g=c();(0,un.sA)(function(){lo(this,i),r().points["delete"](c()),hn.fTr(y,r()),hn.fTr(p,o())}.bind(this)),hn.M3l(function(){return lo(this,i),hn.iTV(c()),hn.iTV(h())}.bind(this),function(){var t,n;lo(this,i),t=c(),n=h(),g!==t&&(r().points["delete"](g),g=t),r().points.has(t)&&r().points["delete"](t),r().points.set(t,n),hn.fTr(y,r()),hn.fTr(p,o())}.bind(this)),hn.M3l(function(){return lo(this,i),hn.iTV(c()),hn.iTV(f())}.bind(this),function(){var t,n;lo(this,i),t=c(),n=f(),hn.hYb(p,hn.vzK(o).colors[t]=n,hn.vzK(o))}.bind(this)),hn.iqF();var m={get points(){return h()},set points(t){h(t),hn.bX()},get name(){return c()},set name(t){c(t),hn.bX()},get color(){return f()},set color(t){f(t),hn.bX()},get width(){return l()},set width(t){l(t),hn.bX()},get curve(){return d()},set curve(t){d(t),hn.bX()},get dots(){return v()},set dots(t){v(t),hn.bX()},get id(){return b()},set id(t){b(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return lo(this,i),hn.oeX(n,t,r)}.bind(this)};hn.TsN();var w=hn.Imx(),_=hn.esp(w),x=function(t){var n=this;lo(this,i);var e=po(),s=hn.esp(e);uo(s,{get id(){return b()},get points(){return h()},get width(){return l()},get curve(){return d()},get color(){var t=this;return hn.iTV(f()),hn.vzK(function(){return lo(this,t),f()[0]}.bind(this))},get xScale(){var t=this;return o(),hn.vzK(function(){return lo(this,t),o().xScale}.bind(this))},get yScale(){var t=this;return r(),hn.vzK(function(){return lo(this,t),r().yScale}.bind(this))}});var a=hn.hg4(s,2),u=function(t){var i=this;lo(this,n);var e=hn.Xdt(function(){var t=this;return lo(this,i),o(),hn.iTV(c()),hn.vzK(function(){var n;return lo(this,t),null===(n=o().selected.get(c()))||void 0===n||null===(n=n.value)||void 0===n?void 0:n.x}.bind(this))}.bind(this)),s=hn.Xdt(function(){var t=this;return lo(this,i),hn.iTV(v()),hn.iTV(f()),hn.vzK(function(){var n;return lo(this,t),null!==(n=v().color)&&void 0!==n&&n.length?v().color[0]:f()[0]}.bind(this))}.bind(this)),a=hn.Xdt(function(){var t=this;return lo(this,i),hn.iTV(v()),hn.iTV(f()),hn.vzK(function(){var n;return lo(this,t),null!==(n=v().borderColor)&&void 0!==n&&n.length?v().borderColor[0]:f()[0]}.bind(this))}.bind(this));Un(t,{get selected(){return hn.JtY(e)},get points(){return h()},get size(){var t=this;
1return hn.iTV(v()),hn.vzK(function(){return lo(this,t),v().size}.bind(this))},get color(){return hn.JtY(s)},get borderColor(){return hn.JtY(a)},get lineWidth(){var t=this;return hn.iTV(v()),hn.vzK(function(){return lo(this,t),v().lineWidth}.bind(this))},get labels(){var t=this;return hn.iTV(v()),hn.vzK(function(){return lo(this,t),v().labels}.bind(this))},get xScale(){var t=this;return o(),hn.vzK(function(){return lo(this,t),o().xScale}.bind(this))},get yScale(){var t=this;return r(),hn.vzK(function(){return lo(this,t),r().yScale}.bind(this))}})}.bind(this);hn["if"](a,function(t){lo(this,n),v()&&t(u)}.bind(this)),hn.BCw(t,e)}.bind(this);hn["if"](_,function(t){var n=this;lo(this,i),hn.iTV(h()),r(),o(),hn.vzK(function(){return lo(this,n),h().length&&r().inited&&r().yExtremum[0]<r().yExtremum[1]&&o().xExtremum[0]<o().xExtremum[1]}.bind(this))&&t(x)}.bind(this)),hn.BCw(t,w);var Y=hn.uYY(m);return u(),Y}function go(t){return go="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},go(t)}function mo(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function wo(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function _o(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=go(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=go(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==go(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var xo=hn._i8("<path></path>");function Yo(t,n){var i=this;if(this instanceof Yo?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?wo(Object(i),!0).forEach(function(n){_o(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):wo(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:Yo},t));hn.VCO(n,!1);var r=hn._w2(n,"points",12),o=hn._w2(n,"zero",12),s=hn._w2(n,"curve",12,"linear"),a=hn._w2(n,"color",12),u=hn._w2(n,"opacity",12),h=hn._w2(n,"xScale",12),c=hn._w2(n,"yScale",12),f=hn.zgK(""),l=hn.zgK();hn.M3l(function(){return mo(this,i),hn.iTV(h()),hn.iTV(c()),hn.iTV(o()),hn.iTV(s())}.bind(this),function(){var t=this;mo(this,i),hn.hZp(l,Ui().x(function(n){return mo(this,t),h()(n.x)}.bind(this)).y0(function(n){return mo(this,t),n.y[1]?c()(n.y[1]):o()}.bind(this)).y1(function(n){return mo(this,t),c()(n.y[0])}.bind(this)).curve(to(s())))}.bind(this)),hn.M3l(function(){return mo(this,i),hn.JtY(l),hn.iTV(r())}.bind(this),function(){var t;mo(this,i),hn.hZp(f,null!==(t=hn.JtY(l)(r()))&&void 0!==t?t:"")}.bind(this)),hn.iqF();var d={get points(){return r()},set points(t){r(t),hn.bX()},get zero(){return o()},set zero(t){o(t),hn.bX()},get curve(){return s()},set curve(t){s(t),hn.bX()},get color(){return a()},set color(t){a(t),hn.bX()},get opacity(){return u()},set opacity(t){u(t),hn.bX()},get xScale(){return h()},set xScale(t){h(t),hn.bX()},get yScale(){return c()},set yScale(t){c(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return mo(this,i),hn.oeX(n,t,r)}.bind(this)};hn.TsN();var v=hn.Imx(),b=hn.esp(v),p=function(t){var n=this;mo(this,i);var r,e=xo();hn.vNg(function(){mo(this,n),hn.aIK(e,"d",hn.JtY(f)),r=hn.hgi(e,"",r,{fill:a(),opacity:u()})}.bind(this)),hn.BCw(t,e)}.bind(this);return hn["if"](b,function(t){mo(this,i),hn.JtY(f)&&t(p)}.bind(this)),hn.BCw(t,v),hn.uYY(d)}function To(t){return To="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},To(t)}function jo(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var r,e,o,s,a=[],u=!0,h=!1;try{if(o=(i=i.call(t)).next,0===n){if(Object(i)!==i)return;u=!1}else for(;!(u=(r=o.call(i)).done)&&(a.push(r.value),a.length!==n);u=!0);}catch(t){h=!0,e=t}finally{try{if(!u&&null!=i["return"]&&(s=i["return"](),Object(s)!==s))return}finally{if(h)throw e}}return a}}(t,n)||function(t,n){if(t){if("string"==typeof t)return So(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?So(t,n):void 0}}
1(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function So(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=Array(n);i<n;i++)r[i]=t[i];return r}function Jo(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function Oo(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function zo(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=To(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=To(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==To(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var Ko=hn._i8('<g class="area"><!><!><!><!><!></g>');function Po(t,n){var i,r,o=this;if(this instanceof Po?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?Oo(Object(i),!0).forEach(function(n){zo(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Oo(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:Po},t));hn.VCO(n,!1);var s=function(){return Jo(this,o),hn.Hzn(m,"$chart",h)}.bind(this),a=function(){return Jo(this,o),hn.Hzn(w,"$group",h)}.bind(this),u=jo(hn.DZI(),2),h=u[0],c=u[1],f=hn._w2(n,"points",12),l=hn._w2(n,"name",12),d=hn._w2(n,"curve",12,"linear"),v=hn._w2(n,"color",28,function(){return Jo(this,o),["#000"]}.bind(this)),b=hn._w2(n,"opacity",12),p=hn._w2(n,"dots",12,null),y=hn._w2(n,"line",12,null),g=hn._w2(n,"bottom",12,!1),m=(0,un.SD)("chart"),w=(0,un.SD)("group"),_=l(),x=hn.zgK([]),Y=hn.zgK([]),T=hn.zgK(null!==(i=null===(r=p())||void 0===r?void 0:r.alwaysShowDots)&&void 0!==i&&i),j=hn.zgK();(0,un.sA)(function(){Jo(this,o),a().points["delete"](l()),hn.fTr(w,a()),hn.fTr(m,s())}.bind(this)),hn.M3l(function(){return Jo(this,o),hn.iTV(p()),hn.iTV(f()),s()}.bind(this),function(){var t,n,i;(Jo(this,o),p())&&hn.hZp(T,(null===(t=p())||void 0===t?void 0:t.alwaysShowDots)||f().length*(null!==(n=null===(i=p())||void 0===i?void 0:i.size)&&void 0!==n?n:8)*4<s().width)}.bind(this)),hn.M3l(function(){return Jo(this,o),hn.iTV(l()),hn.iTV(f())}.bind(this),function(){Jo(this,o),function(t,n){var i=this;hn.hZp(x,[]),hn.hZp(Y,[]),_!==t&&(a().points["delete"](_),_=t),a().points.has(t)&&a().points["delete"](t),n.forEach(function(t){Jo(this,i),hn.JtY(x).push({x:t.x,y:[t.y[0]],data:t.data}),t.y[1]&&hn.JtY(Y).push({x:t.x,y:[t.y[1]],data:t.data})}.bind(this)),a().points.set(t,f()),hn.fTr(w,a()),hn.fTr(m,s())}(l(),f())}.bind(this)),hn.M3l(function(){return Jo(this,o),hn.iTV(l()),hn.iTV(v())}.bind(this),function(){var t,n;Jo(this,o),t=l(),n=v(),hn.hYb(m,hn.vzK(s).colors[t]=n,hn.vzK(s))}.bind(this)),hn.M3l(function(){return Jo(this,o),s(),hn.iTV(g()),a()}.bind(this),function(){Jo(this,o);var t=s().height-s().padding.bottom-s().xAxisHeight;g()?hn.hZp(j,t):hn.hZp(j,Math.min(s().height-s().padding.bottom-s().xAxisHeight,a().yScale(0)))}.bind(this)),hn.iqF();var S={get points(){return f()},set points(t){f(t),hn.bX()},get name(){return l()},set name(t){l(t),hn.bX()},get curve(){return d()},set curve(t){d(t),hn.bX()},get color(){return v()},set color(t){v(t),hn.bX()},get opacity(){return b()},set opacity(t){b(t),hn.bX()},get dots(){return p()},set dots(t){p(t),hn.bX()},get line(){return y()},set line(t){y(t),hn.bX()},get bottom(){return g()},set bottom(t){g(t),hn.bX()},$set:hn.hpB,$on:function(t,i){return Jo(this,o),hn.oeX(n,t,i)}.bind(this)};hn.TsN();var J=hn.Imx(),O=hn.esp(J),z=function(t){var n=this;Jo(this,o);var i=Ko(),r=hn.jfp(i);Yo(r,{get curve(){return d()},get points(){return f()},get zero(){return hn.JtY(j)},get color(){var t=this;
1return hn.iTV(v()),hn.vzK(function(){return Jo(this,t),v()[0]}.bind(this))},get opacity(){return b()},get xScale(){var t=this;return s(),hn.vzK(function(){return Jo(this,t),s().xScale}.bind(this))},get yScale(){var t=this;return a(),hn.vzK(function(){return Jo(this,t),a().yScale}.bind(this))}});var e=hn.hg4(r),u=function(t){var i=this;Jo(this,n);var r=hn.Xdt(function(){var t=this;return Jo(this,i),hn.iTV(y()),hn.iTV(v()),hn.vzK(function(){var n,i;return Jo(this,t),null!==(n=y())&&void 0!==n&&null!==(n=n.color)&&void 0!==n&&n.length?null===(i=y())||void 0===i?void 0:i.color[0]:v()[0]}.bind(this))}.bind(this)),e=hn.Xdt(function(){var t=this;return Jo(this,i),hn.iTV(y()),hn.iTV(d()),hn.vzK(function(){var n;return Jo(this,t),null!==(n=y().curve)&&void 0!==n?n:d()}.bind(this))}.bind(this)),o=hn.Xdt(function(){var t=this;return Jo(this,i),hn.iTV(y()),hn.vzK(function(){var n;return Jo(this,t),null!==(n=y().width)&&void 0!==n?n:2}.bind(this))}.bind(this));uo(t,{get points(){return hn.JtY(x)},get color(){return hn.JtY(r)},get curve(){return hn.JtY(e)},get width(){return hn.JtY(o)},get xScale(){var t=this;return s(),hn.vzK(function(){return Jo(this,t),s().xScale}.bind(this))},get yScale(){var t=this;return a(),hn.vzK(function(){return Jo(this,t),a().yScale}.bind(this))}})}.bind(this);hn["if"](e,function(t){Jo(this,n),y()&&t(u)}.bind(this));var h=hn.hg4(e),c=function(t){var i=this;Jo(this,n);var r=hn.Xdt(function(){var t=this;return Jo(this,i),hn.iTV(y()),hn.iTV(d()),hn.vzK(function(){var n;return Jo(this,t),null!==(n=y().curve)&&void 0!==n?n:d()}.bind(this))}.bind(this)),e=hn.Xdt(function(){var t=this;return Jo(this,i),hn.iTV(y()),hn.iTV(v()),hn.vzK(function(){var n,i;return Jo(this,t),null!==(n=y())&&void 0!==n&&null!==(n=n.color)&&void 0!==n&&n.length?y().color[0]:null!==(i=v()[1])&&void 0!==i?i:v()[0]}.bind(this))}.bind(this)),o=hn.Xdt(function(){var t=this;return Jo(this,i),hn.iTV(y()),hn.vzK(function(){var n;return Jo(this,t),null!==(n=y().width)&&void 0!==n?n:2}.bind(this))}.bind(this));uo(t,{get curve(){return hn.JtY(r)},get points(){return hn.JtY(Y)},get color(){return hn.JtY(e)},get width(){return hn.JtY(o)},get xScale(){var t=this;return s(),hn.vzK(function(){return Jo(this,t),s().xScale}.bind(this))},get yScale(){var t=this;return a(),hn.vzK(function(){return Jo(this,t),a().yScale}.bind(this))}})}.bind(this);hn["if"](h,function(t){var i=this;Jo(this,n),hn.iTV(y()),hn.iTV(f()),hn.vzK(function(){var t;return Jo(this,i),y()&&(null===(t=f())||void 0===t?void 0:t.length)&&f()[0].y.length>1}.bind(this))&&t(c)}.bind(this));var l=hn.hg4(h),g=function(t){var i=this;Jo(this,n);var r=hn.Xdt(function(){var t=this;return Jo(this,i),hn.iTV(p()),hn.iTV(v()),hn.vzK(function(){var n;return Jo(this,t),null!==(n=p().borderColor)&&void 0!==n&&n.length?p().borderColor[0]:v()[0]}.bind(this))}.bind(this));Un(t,{get points(){return hn.JtY(x)},get size(){var t=this;return hn.iTV(p()),hn.vzK(function(){return Jo(this,t),p().size}.bind(this))},get color(){var t=this;return hn.iTV(v()),hn.vzK(function(){return Jo(this,t),v()[0]}.bind(this))},get borderColor(){return hn.JtY(r)},get lineWidth(){var t=this;return hn.iTV(p()),hn.vzK(function(){return Jo(this,t),p().lineWidth}.bind(this))},get labels(){var t=this;return hn.iTV(p()),hn.vzK(function(){return Jo(this,t),p().labels}.bind(this))},get xScale(){var t=this;return s(),hn.vzK(function(){return Jo(this,t),s().xScale}.bind(this))},get yScale(){var t=this;return a(),hn.vzK(function(){return Jo(this,t),a().yScale}.bind(this))}})}.bind(this);hn["if"](l,function(t){Jo(this,n),p()&&hn.JtY(T)&&t(g)}.bind(this));var m=hn.hg4(l),w=function(t){var i=this;Jo(this,n);var r=hn.Xdt(function(){var t=this;return Jo(this,i),hn.iTV(v()),hn.vzK(function(){var n;return Jo(this,t),null!==(n=v()[1])&&void 0!==n?n:v()[0]}.bind(this))}.bind(this)),e=hn.Xdt(function(){var t=this;return Jo(this,i),hn.iTV(p()),hn.iTV(v()),hn.vzK(function(){var n,i;return Jo(this,t),null!==(n=p().borderColor)&&void 0!==n&&n.length?p().borderColor[0]:null!==(i=v()[1])&&void 0!==i?i:v()[0]}.bind(this))}.bind(this));Un(t,{get points(){return hn.JtY(Y)},get size(){var t=this;return hn.iTV(p()),hn.vzK(function(){return Jo(this,t),p().size}.bind(this))},get color(){return hn.JtY(r)},get borderColor(){return hn.JtY(e)},get lineWidth(){var t=this;return hn.iTV(p()),hn.vzK(function(){return Jo(this,t),p().lineWidth}.bind(this))},get labels(){var t=this;return hn.iTV(p()),hn.vzK(function(){return Jo(this,t),p().labels}.bind(this))},get xScale(){var t=this;return s(),hn.vzK(function(){return Jo(this,t),s().xScale}.bind(this))},get yScale(){var t=this;return a(),hn.vzK(function(){return Jo(this,t),a().yScale}.bind(this))}})}.bind(this);hn["if"](m,function(t){var i=this;Jo(this,n),hn.iTV(p()),hn.JtY(T),hn.iTV(f()),hn.vzK(function(){var t;return Jo(this,i),p()&&hn.JtY(T)&&(null===(t=f())||void 0===t?void 0:t.length)&&f()[0].y.length>1}.bind(this))&&t(w)}.bind(this)),hn.cLc(i),hn.BCw(t,i)}.bind(this);hn["if"](O,function(t){var n=this;Jo(this,o),hn.iTV(f()),a(),s(),hn.vzK(function(){return Jo(this,n),f().length&&a().inited&&a().yExtremum[0]<a().yExtremum[1]&&s().xExtremum[0]<s().xExtremum[1]}.bind(this))&&t(z)}.bind(this)),hn.BCw(t,J);var K=hn.uYY(S);return c(),K}function Mo(t){return Mo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mo(t)}function Co(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var r,e,o,s,a=[],u=!0,h=!1;try{if(o=(i=i.call(t)).next,0===n){if(Object(i)!==i)return;u=!1}else for(;!(u=(r=o.call(i)).done)&&(a.push(r.value),a.length!==n);u=!0);}catch(t){h=!0,e=t}finally{try{if(!u&&null!=i["return"]&&(s=i["return"](),Object(s)!==s))return}finally{if(h)throw e}}return a}}(t,n)||function(t,n){if(t){if("string"==typeof t)return ko(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?ko(t,n):void 0}}
1(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ko(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=Array(n);i<n;i++)r[i]=t[i];return r}function Vo(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function Eo(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function No(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=Mo(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=Mo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==Mo(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var Io=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Bo=["S","M","T","W","T","F","S"];var $o=864e5,Xo=7*$o,Lo=30*$o,Ao=12*Lo,Do=hn._i8('<g><line y1="-15" y2="-20" x1="0" x2="0" class="c-1ewjo66"></line><text> </text></g>'),Uo=hn._i8('<g class="s-tick c-1ewjo66"><line stroke-width="1" class="c-1ewjo66"></line></g>'),Wo=hn._i8('<g class="s-axis s-x-axis"><!><!></g>'),Zo={hash:"c-1ewjo66",code:".s-tick.c-1ewjo66 line:where(.c-1ewjo66) {stroke:rgba(221, 222, 223, 0.5);shape-rendering:crispEdges;}.s-tick.c-1ewjo66 text:where(.c-1ewjo66) {text-anchor:end;}.s-tick.c-1ewjo66 text:where(.c-1ewjo66) {\r\n /* text-anchor: start; */text-anchor:middle;\r\n /* text- */\r\n /* text-align: left; */font-size:inherit;font-family:sans-serif;}.s-tick.c-1ewjo66 text.s-first:where(.c-1ewjo66) {text-anchor:start;}.s-tick.c-1ewjo66 text.s-last:where(.c-1ewjo66) {text-anchor:end;}"};function Fo(t,n){var i=this;if(this instanceof Fo?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?Eo(Object(i),!0).forEach(function(n){No(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Eo(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:Fo},t));hn.VCO(n,!1),hn.kZQ(t,Zo);var r=function(){return Vo(this,i),hn.Hzn(u,"$chart",s)}.bind(this),o=Co(hn.DZI(),2),s=o[0],a=o[1],u=(0,un.SD)("chart"),h=hn._w2(n,"bottomLine",12,!1),c=hn._w2(n,"format",12,null),f=hn._w2(n,"formatCb",12,null),l=hn._w2(n,"fontSize",12,12),d=hn.zgK(0),v=hn.zgK(),b=hn.zgK(no.Day),p=hn.zgK(0),y=hn.zgK(0);function g(t){if(hn.JtY(b)===no.Custom)return f()?f()(Number(t)):"".concat(Number(t));if(hn.JtY(b)===no.Week)return Io[t.getUTCDay()];if(hn.JtY(b)===no.WeekShort)return Bo[t.getUTCDay()];var n="".concat(t.getFullYear());if(hn.JtY(b)>=no.Month&&(n+=".".concat(String(t.getUTCMonth()+1).padStart(2,"0"))),hn.JtY(b)>=no.Day&&(n+=".".concat(String(t.getUTCDate()).padStart(2,"0"))),hn.JtY(b)>=no.Time){var i=String(t.getUTCHours()).padStart(2,"0"),r=String(t.getUTCMinutes()).padStart(2,"0");n+=" ".concat(i,":").concat(r)}return n}hn.M3l(function(){return Vo(this,i),hn.iTV(l())}.bind(this),function(){Vo(this,i),hn.hZp(d,function(t){var n=document.createElement("span");n.style.fontSize="".concat(t,"px"),n.style.fontFamily="Arial",n.style.position="absolute",n.style.left="-9999px",n.style.top="-9999px",n.innerHTML="0",document.body.appendChild(n);var i=n.offsetWidth;return document.body.removeChild(n),i}(l()))}.bind(this)),hn.M3l(function(){return Vo(this,i),hn.JtY(b),hn.iTV(c()),r(),hn.JtY(y),hn.JtY(p),hn.JtY(d)}.bind(this),function(){var t,n,e,o=this;Vo(this,i),hn.hZp(b,null!==(t=c())&&void 0!==t?t:(n=r().xExtremum,(e=n[1]-n[0])>2*Ao?no.Year:e>6*Lo?no.Month:e>Lo?no.Day:e>Xo?no.Week:no.Time)),hn.hZp(y,r().width-r().padding.left-r().padding.right),hn.hZp(p,hn.JtY(d)*hn.JtY(b)*1.8);var s=Math.max(2,Math.floor(hn.JtY(y)/hn.JtY(p))-1),a=r().xExtremum[1]-r().xExtremum[0],u=Math.max(Math.floor(a/s));hn.hZp(v,[new Date(r().xExtremum[0])]);var h=[];r().groups.forEach(function(t){var n=this;
1Vo(this,o),t.points.forEach(function(t){var i=this;return Vo(this,n),t.forEach(function(t){return Vo(this,i),h.push(t)}.bind(this))}.bind(this))}.bind(this)),h.sort(function(t,n){return Vo(this,o),t.x-n.x}.bind(this));var f=[],l=-Infinity;for(h.length&&(f.push(h[0].x),l=f[f.length-1]+.1*u);l<r().xExtremum[1];){var m=h.find(function(t){return Vo(this,o),t.x>l}.bind(this));if(!m)break;(!f.length||g(new Date(m.x))!==g(new Date(f[f.length-1]))&&r().xScale(m.x)-r().xScale(f[f.length-1])>=hn.JtY(p))&&(f.push(m.x),l=m.x);var w=l+.1*u;if(l===w)break;l=w}h.length&&(r().xScale(f[f.length-1])+hn.JtY(p)<r().xScale(h[h.length-1].x)?f.push(h[h.length-1].x):f[f.length-1]=h[h.length-1].x),hn.hZp(v,f.map(function(t){return Vo(this,o),new Date(t)}.bind(this)))}.bind(this)),hn.iqF();var m={get bottomLine(){return h()},set bottomLine(t){h(t),hn.bX()},get format(){return c()},set format(t){c(t),hn.bX()},get formatCb(){return f()},set formatCb(t){f(t),hn.bX()},get fontSize(){return l()},set fontSize(t){l(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return Vo(this,i),hn.oeX(n,t,r)}.bind(this)};hn.TsN();var w=hn.Imx(),_=hn.esp(w),x=function(t){var n=this;Vo(this,i);var e=Wo(),o=hn.jfp(e);hn.__1(o,1,function(){return Vo(this,n),hn.JtY(v)}.bind(this),hn.Pe0,function(t,i,e){var o=this;Vo(this,n);var s,a,u=Do(),h=hn.hg4(hn.jfp(u));hn.aIK(h,"y",-2);var c=hn.IuP(h,!0);hn.cLc(u),hn.vNg(function(t,n){var f,d,b,g=this;Vo(this,o),hn.ysU(u,0,"s-tick s-tick-".concat(null!==(f=hn.JtY(i))&&void 0!==f?f:""),"c-1ewjo66"),hn.aIK(u,"transform","translate(".concat(null!=t?t:"",", ").concat(null!==(r(),d=hn.vzK(function(){return Vo(this,g),r().height-r().padding.bottom}.bind(this)))&&void 0!==d?d:"",")")),s=hn.hgi(u,"",s,{"font-size":"".concat(null!==(b=l())&&void 0!==b?b:"","px")}),a=hn.ysU(h,0,"c-1ewjo66",null,a,{"s-first":!e&&r().padding.left+r().gap.left*hn.JtY(y)<hn.JtY(p)/2,"s-last":e===hn.JtY(v).length-1&&r().padding.right+r().gap.right*hn.JtY(y)<hn.JtY(p)/2}),hn.jax(c,n)}.bind(this),[function(){var t=this;return Vo(this,o),r(),hn.JtY(i),hn.vzK(function(){return Vo(this,t),r().xScale(hn.JtY(i))}.bind(this))}.bind(this),function(){var t=this;return Vo(this,o),hn.JtY(i),hn.vzK(function(){return Vo(this,t),g(hn.JtY(i))}.bind(this))}.bind(this)]),hn.BCw(t,u)}.bind(this));var s=hn.hg4(o),a=function(t){var i=this;Vo(this,n);var e=hn.Xdt(function(){var t=this;return Vo(this,i),r(),hn.vzK(function(){return Vo(this,t),r().padding}.bind(this))}.bind(this)),o=Uo(),s=hn.jfp(o);hn.aIK(s,"y1",0),hn.aIK(s,"y2",0),hn.aIK(s,"x1",0),hn.cLc(o),hn.vNg(function(){var t,n,a=this;Vo(this,i),hn.aIK(o,"transform","translate(".concat(null!==(hn.iTV(hn.JtY(e)),r(),t=hn.vzK(function(){return Vo(this,a),hn.JtY(e).left+r().leftYAxisWidth}.bind(this)))&&void 0!==t?t:"",", ").concat(null!==(r(),hn.iTV(hn.JtY(e)),n=hn.vzK(function(){return Vo(this,a),r().height-hn.JtY(e).bottom-20}.bind(this)))&&void 0!==n?n:"",")")),hn.aIK(s,"x2",(r(),hn.iTV(hn.JtY(e)),hn.vzK(function(){return Vo(this,a),r().width-hn.JtY(e).right-hn.JtY(e).left-r().rightYAxisWidth-r().leftYAxisWidth}.bind(this))))}.bind(this)),hn.BCw(t,o)}.bind(this);hn["if"](s,function(t){Vo(this,n),h()&&t(a)}.bind(this)),hn.cLc(e),hn.BCw(t,e)}.bind(this);hn["if"](_,function(t){var n=this;Vo(this,i),hn.JtY(v),r(),hn.vzK(function(){return Vo(this,n),hn.JtY(v).length&&r().width&&r().xExtremum[1]-r().xExtremum[0]}.bind(this))&&t(x)}.bind(this)),hn.BCw(t,w);var Y=hn.uYY(m);return a(),Y}function qo(t){return qo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qo(t)}function Ho(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var r,e,o,s,a=[],u=!0,h=!1;try{if(o=(i=i.call(t)).next,0===n){if(Object(i)!==i)return;u=!1}else for(;!(u=(r=o.call(i)).done)&&(a.push(r.value),a.length!==n);u=!0);}catch(t){h=!0,e=t}finally{try{if(!u&&null!=i["return"]&&(s=i["return"](),Object(s)!==s))return}finally{if(h)throw e}}return a}}(t,n)||function(t,n){if(t){if("string"==typeof t)return Ro(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Ro(t,n):void 0}}
1(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ro(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=Array(n);i<n;i++)r[i]=t[i];return r}function Go(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function Qo(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function ts(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=qo(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=qo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==qo(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var ns=hn._i8('<g class="s-tick c-1dkg6tx"><line y1="-15" y2="-20" x1="0" x2="0"></line><text> </text></g>'),is=hn._i8('<g class="s-tick"><line stroke-width="1"></line></g>'),rs=hn._i8('<g class="s-axis s-x-axis"><!><!></g>'),es={hash:"c-1dkg6tx",code:".s-tick.c-1dkg6tx text:where(.c-1dkg6tx) {\r\n /* text-anchor: end; */font-size:inherit;font-family:sans-serif;}"};function os(t,n){var i=this;if(this instanceof os?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?Qo(Object(i),!0).forEach(function(n){ts(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Qo(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:os},t));hn.VCO(n,!1),hn.kZQ(t,es);var r=function(){return Go(this,i),hn.Hzn(u,"$chart",s)}.bind(this),o=Ho(hn.DZI(),2),s=o[0],a=o[1],u=(0,un.SD)("chart"),h=hn._w2(n,"charWidth",12,7),c=hn._w2(n,"fontSize",12,12),f=hn._w2(n,"bottomLine",12,!1),l=hn._w2(n,"format",12,function(t){return Go(this,i),t.toString()}.bind(this)),d=hn.zgK(),v=hn.zgK(0),b=hn.zgK(0);hn.M3l(function(){return Go(this,i),hn.JtY(v),r(),hn.iTV(l()),hn.JtY(b),hn.iTV(h())}.bind(this),function(){var t;Go(this,i),hn.hZp(v,r().width-r().padding.left-r().padding.right);var n=Math.max(l()(r().xExtremum[0]).length,l()(r().xExtremum[1]).length)+1;hn.hZp(b,h()*n);var e=Math.min(Math.floor(hn.JtY(v)/hn.JtY(b)),null!==(t=r().allPoints.size)&&void 0!==t?t:Infinity)||1;hn.hZp(d,r().xScale.ticks(e))}.bind(this)),hn.iqF();var p={get charWidth(){return h()},set charWidth(t){h(t),hn.bX()},get fontSize(){return c()},set fontSize(t){c(t),hn.bX()},get bottomLine(){return f()},set bottomLine(t){f(t),hn.bX()},get format(){return l()},set format(t){l(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return Go(this,i),hn.oeX(n,t,r)}.bind(this)};hn.TsN();var y=hn.Imx(),g=hn.esp(y),m=function(t){var n=this;Go(this,i);var e=rs(),o=hn.jfp(e);hn.__1(o,1,function(){return Go(this,n),hn.JtY(d)}.bind(this),hn.Pe0,function(t,i,e){var o=this;Go(this,n);var s,a,u=ns(),h=hn.hg4(hn.jfp(u));hn.aIK(h,"y",-2);var f=hn.IuP(h,!0);hn.cLc(u),hn.vNg(function(t,n){var i,l,p=this;Go(this,o),hn.aIK(u,"transform","translate(".concat(null!=t?t:"",", ").concat(null!==(r(),i=hn.vzK(function(){return Go(this,p),r().height-r().padding.bottom}.bind(this)))&&void 0!==i?i:"",")")),s=hn.hgi(u,"",s,{"font-size":"".concat(null!==(l=c())&&void 0!==l?l:"","px")}),a=hn.ysU(h,0,"c-1dkg6tx",null,a,{"s-first":!e&&r().padding.left+r().gap.left*hn.JtY(v)<hn.JtY(b)/2,"s-last":e===hn.JtY(d).length-1&&r().padding.right+r().gap.right*hn.JtY(v)<hn.JtY(b)/2}),hn.jax(f,n)}.bind(this),[function(){var t=this;return Go(this,o),r(),hn.JtY(i),hn.vzK(function(){return Go(this,t),r().xScale(hn.JtY(i))}.bind(this))}.bind(this),function(){var t=this;return Go(this,o),hn.iTV(l()),hn.JtY(i),hn.vzK(function(){return Go(this,t),l()(hn.JtY(i))}.bind(this))}.bind(this)]),hn.BCw(t,u)}.bind(this));var s=hn.hg4(o),a=function(t){var i=this;Go(this,n);var e=hn.Xdt(function(){var t=this;return Go(this,i),r(),hn.vzK(function(){return Go(this,t),r().padding}.bind(this))}.bind(this)),o=is(),s=hn.jfp(o);hn.aIK(s,"y1",0),hn.aIK(s,"y2",0),hn.aIK(s,"x1",0),hn.cLc(o),hn.vNg(function(){var t,n,a=this;Go(this,i),hn.aIK(o,"transform","translate(".concat(null!==(hn.iTV(hn.JtY(e)),t=hn.vzK(function(){return Go(this,a),hn.JtY(e).left}.bind(this)))&&void 0!==t?t:"",", ").concat(null!==(r(),hn.iTV(hn.JtY(e)),n=hn.vzK(function(){return Go(this,a),r().height-hn.JtY(e).bottom-20}.bind(this)))&&void 0!==n?n:"",")")),hn.aIK(s,"x2",(r(),hn.iTV(hn.JtY(e)),hn.vzK(function(){return Go(this,a),r().width-hn.JtY(e).right-hn.JtY(e).left-r().rightYAxisWidth-r
1().leftYAxisWidth}.bind(this))))}.bind(this)),hn.BCw(t,o)}.bind(this);hn["if"](s,function(t){Go(this,n),f()&&t(a)}.bind(this)),hn.cLc(e),hn.BCw(t,e)}.bind(this);hn["if"](g,function(t){var n=this;Go(this,i),hn.JtY(d),r(),hn.vzK(function(){return Go(this,n),hn.JtY(d).length&&r().width&&r().xExtremum[0]<=r().xExtremum[1]}.bind(this))&&t(m)}.bind(this)),hn.BCw(t,y);var w=hn.uYY(p);return a(),w}function ss(t){return ss="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ss(t)}function as(t){return function(t){if(Array.isArray(t))return cs(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||hs(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function us(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var r,e,o,s,a=[],u=!0,h=!1;try{if(o=(i=i.call(t)).next,0===n){if(Object(i)!==i)return;u=!1}else for(;!(u=(r=o.call(i)).done)&&(a.push(r.value),a.length!==n);u=!0);}catch(t){h=!0,e=t}finally{try{if(!u&&null!=i["return"]&&(s=i["return"](),Object(s)!==s))return}finally{if(h)throw e}}return a}}(t,n)||hs(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hs(t,n){if(t){if("string"==typeof t)return cs(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?cs(t,n):void 0}}function cs(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=Array(n);i<n;i++)r[i]=t[i];return r}function fs(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function ls(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function ds(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=ss(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=ss(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==ss(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var vs=hn._i8('<g><line class="c-12p8qnh"></line></g>'),bs=hn._i8('<g><text y="3" class="c-12p8qnh"> </text></g>'),ps=hn._i8('<g class="s-axis s-y-axis"></g>'),ys=hn._i8('<g class="s-axis s-y-axis"><!><!></g><!>',1),gs={hash:"c-12p8qnh",code:".s-tick.c-12p8qnh line:where(.c-12p8qnh) {stroke:rgba(221, 222, 223, 0.5);shape-rendering:crispEdges;}.s-tick.c-12p8qnh text:where(.c-12p8qnh) {\r\n /* text-anchor: end; */color:inherit;font-size:inherit;font-family:sans-serif;}\r\n\r\n /* .path-line {\r\n fill: none;\r\n stroke: rgb(0,100,100);\r\n stroke-linejoin: round;\r\n stroke-linecap: round;\r\n stroke-width: 2;\r\n } */\r\n\r\n /* .path-area {\r\n fill: rgba(0,100,100,0.2);\r\n } */"};function ms(t,n){var i=this;if(this instanceof ms?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?ls(Object(i),!0).forEach(function(n){ds(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ls(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:ms},t));hn.VCO(n,!1),hn.kZQ(t,gs);var r=function(){return fs(this,i),hn.Hzn(h,"$chart",a)}.bind(this),o=function(){return fs(this,i),hn.Hzn(c,"$group",a)}.bind(this),s=us(hn.DZI(),2),a=s[0],u=s[1],h=(0,un.SD)("chart"),c=(0,un.SD)("group"),f=hn._w2(n,"left",12,!1),l=hn._w2(n,"charWidth",12,7),d=hn._w2(n,"grid",12,!1),v=hn._w2(n,"bottom",12,!1),b=hn._w2(n,"fontSize",12,12),p=hn._w2(n,"format",12,function(t){return fs(this,i),t.toString()}.bind(this)),y=hn._w2(n,"color",12,null),g=hn.zgK(),m=hn.zgK(0);hn.M3l(function(){return fs(this,i),r(),hn.JtY(g),o(),hn.JtY(m),hn.iTV(p()),hn.iTV(l()
1),hn.iTV(f())}.bind(this),function(){var t=this;fs(this,i);var n=r().height-r().padding.top-r().padding.bottom,e=Math.floor(n/48);hn.hZp(g,0===o().yExtremum[0]&&o().yExtremum[1]<1e-12?[0]:o().yScale.ticks(e)),hn.hZp(m,Math.max.apply(Math,[0].concat(as(hn.JtY(g).map(function(n){return fs(this,t),p()(n).length}.bind(this))))));var s=hn.JtY(m)*l()+l();f()?o().leftYAxisWidth!==s&&(hn.hYb(c,hn.vzK(o).leftYAxisWidth=s,hn.vzK(o)),hn.hYb(c,hn.vzK(o).rightYAxisWidth=0,hn.vzK(o)),hn.fTr(c,o()),hn.fTr(h,r())):o().rightYAxisWidth!==s&&(hn.hYb(c,hn.vzK(o).rightYAxisWidth=s,hn.vzK(o)),hn.hYb(c,hn.vzK(o).leftYAxisWidth=0,hn.vzK(o)),hn.fTr(c,o()),hn.fTr(h,r()))}.bind(this)),hn.iqF();var w={get left(){return f()},set left(t){f(t),hn.bX()},get charWidth(){return l()},set charWidth(t){l(t),hn.bX()},get grid(){return d()},set grid(t){d(t),hn.bX()},get bottom(){return v()},set bottom(t){v(t),hn.bX()},get fontSize(){return b()},set fontSize(t){b(t),hn.bX()},get format(){return p()},set format(t){p(t),hn.bX()},get color(){return y()},set color(t){y(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return fs(this,i),hn.oeX(n,t,r)}.bind(this)};hn.TsN();var _,x=ys(),Y=hn.esp(x),T=hn.jfp(Y);hn.__1(T,1,function(){return fs(this,i),hn.JtY(g)}.bind(this),hn.Pe0,function(t,n){var e=this;fs(this,i);var s=hn.Imx(),a=hn.esp(s),u=function(t){var i=this;fs(this,e);var s=vs(),a=hn.IuP(s);hn.vNg(function(t){var e,o=this;fs(this,i),hn.ysU(s,0,"s-tick s-tick-".concat(null!==(e=hn.JtY(n))&&void 0!==e?e:""),"c-12p8qnh"),hn.aIK(s,"transform","translate(0, ".concat(null!=t?t:"",")")),hn.aIK(a,"x1",(r(),hn.vzK(function(){return fs(this,o),r().leftYAxisWidth+r().padding.left}.bind(this)))),hn.aIK(a,"x2",(r(),hn.vzK(function(){return fs(this,o),r().width-r().rightYAxisWidth-r().padding.right}.bind(this))))}.bind(this),[function(){var t=this;return fs(this,i),o(),hn.JtY(n),r(),hn.vzK(function(){return fs(this,t),o().yScale(hn.JtY(n))-r().padding.bottom}.bind(this))}.bind(this)]),hn.BCw(t,s)}.bind(this);hn["if"](a,function(t){var i=this;fs(this,e),hn.iTV(d()),hn.JtY(n),o(),hn.vzK(function(){return fs(this,i),d()&&hn.JtY(n)!==o().yExtremum[0]}.bind(this))&&t(u)}.bind(this)),hn.BCw(t,s)}.bind(this));var j=hn.hg4(T),S=function(t){var n=this;fs(this,i);var e=vs(),s=hn.IuP(e);hn.vNg(function(t){var i,a=this;fs(this,n),hn.ysU(e,0,"s-tick s-tick-".concat(null!==(o(),i=hn.vzK(function(){return fs(this,a),o().yExtremum[0]}.bind(this)))&&void 0!==i?i:""),"c-12p8qnh"),hn.aIK(e,"transform","translate(0, ".concat(null!=t?t:"",")")),hn.aIK(s,"x1",(r(),hn.vzK(function(){return fs(this,a),r().leftYAxisWidth+r().padding.left}.bind(this)))),hn.aIK(s,"x2",(r(),hn.vzK(function(){return fs(this,a),r().width-r().rightYAxisWidth-r().padding.right}.bind(this))))}.bind(this),[function(){var t=this;return fs(this,n),o(),r(),hn.vzK(function(){return fs(this,t),o().yScale(o().yExtremum[0])-r().padding.bottom}.bind(this))}.bind(this)]),hn.BCw(t,e)}.bind(this);hn["if"](j,function(t){var n=this;fs(this,i),hn.JtY(g),hn.iTV(d()),o(),hn.iTV(v()),hn.vzK(function(){return fs(this,n),hn.JtY(g).length&&(d()&&hn.JtY(g)[0]!==o().yExtremum[0]||v())}.bind(this))&&t(S)}.bind(this)),hn.cLc(Y);var J=hn.hg4(Y),O=function(t){var n=this;fs(this,i);var e,s=ps();hn.__1(s,5,function(){return fs(this,n),hn.JtY(g)}.bind(this),hn.Pe0,function(t,i){var e=this;fs(this,n);var s=bs(),a=hn.jfp(s);hn.aIK(a,"x",0);var u=hn.IuP(a,!0);hn.cLc(s),hn.vNg(function(t,n){var r;fs(this,e),hn.ysU(s,0,"s-tick s-tick-".concat(null!==(r=hn.JtY(i))&&void 0!==r?r:""),"c-12p8qnh"),hn.aIK(s,"transform","translate(0, ".concat(null!=t?t:"",")")),hn.jax(u,n)}.bind(this),[function(){var t=this;return fs(this,e),o(),hn.JtY(i),r(),hn.vzK(function(){return fs(this,t),o().yScale(hn.JtY(i))-r().padding.bottom}.bind(this))}.bind(this),function(){var t=this;return fs(this,e),hn.iTV(p()),hn.JtY(i),hn.vzK(function(){return fs(this,t),p()(hn.JtY(i))}.bind(this))}.bind(this)]),hn.BCw(t,s)}.bind(this)),hn.cLc(s),hn.vNg(function(){var t,i,o=this;fs(this,n),hn.aIK(s,"transform","translate(".concat(null!==(r(),t=hn.vzK(function(){return fs(this,o),r().padding.left}.bind(this)))&&void 0!==t?t:"",", 0)")),e=hn.hgi(s,"",e,{"font-size":"".concat(null!==(i=b())&&void 0!==i?i:"","px"),color:y()})}.bind(this)),hn.BCw(t,s)}.bind(this),z=function(t){var n=this;fs(this,i);var e,s=ps();hn.__1(s,5,function(){return fs(this,n),hn.JtY(g)}.bind(this),hn.Pe0,function(t,i){var e=this;fs(this,n);var s=bs(),a=hn.jfp(s),u=hn.IuP(a,!0);hn.cLc(s),hn.vNg(function(t,n){var o,h=this;fs(this,e),hn.ysU(s,0,"s-tick s-tick-".concat(null!==(o=hn.JtY(i))&&void 0!==o?o:""),"c-12p8qnh"),hn.aIK(s,"transform","translate(0, ".concat(null!=t?t:"",")")),hn.aIK(a,"x",(r(),hn.vzK(function(){return fs(this,h),-r().rightYAxisWidth}.bind(this)))),hn.jax(u,n)}.bind(this),[function(){var t=this;return fs(this,e),o(),hn.JtY(i),r(),hn.vzK(function(){return fs(this,t),o().yScale(hn.JtY(i))-r().padding.bottom}.bind(this))}.bind(this),function(){var t=this;return fs(this,e),hn.iTV(p()),hn.JtY(i),hn.vzK(function(){return fs(this,t),p()(hn.JtY(i))}.bind(this))}.bind(this)]),hn.BCw(t,s)}.bind(this)),hn.cLc(s),hn.vNg(function(){var t,i,o=this;fs(this,n),hn.aIK(s,"transform","translate(".concat(null!==(r(),hn.iTV(l()
1),t=hn.vzK(function(){return fs(this,o),r().width-r().padding.right+l()}.bind(this)))&&void 0!==t?t:"",", 0)")),e=hn.hgi(s,"",e,{"font-size":"".concat(null!==(i=b())&&void 0!==i?i:"","px"),color:y()})}.bind(this)),hn.BCw(t,s)}.bind(this);hn["if"](J,function(t){fs(this,i),f()?t(O):t(z,-1)}.bind(this)),hn.vNg(function(){return fs(this,i),_=hn.hgi(Y,"",_,{color:y()})}.bind(this)),hn.BCw(t,x);var K=hn.uYY(w);return u(),K}function ws(t){return ws="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ws(t)}function _s(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var r,e,o,s,a=[],u=!0,h=!1;try{if(o=(i=i.call(t)).next,0===n){if(Object(i)!==i)return;u=!1}else for(;!(u=(r=o.call(i)).done)&&(a.push(r.value),a.length!==n);u=!0);}catch(t){h=!0,e=t}finally{try{if(!u&&null!=i["return"]&&(s=i["return"](),Object(s)!==s))return}finally{if(h)throw e}}return a}}(t,n)||function(t,n){if(t){if("string"==typeof t)return xs(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?xs(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xs(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=Array(n);i<n;i++)r[i]=t[i];return r}function Ys(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function Ts(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function js(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=ws(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=ws(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==ws(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var Ss=hn._i8("<rect></rect>"),Js=hn._i8('<g class="bars"><!></g>');function Os(t,n){var i=this;if(this instanceof Os?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?Ts(Object(i),!0).forEach(function(n){js(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Ts(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:Os},t));hn.VCO(n,!1);var r=function(){return Ys(this,i),hn.Hzn(g,"$chart",a)}.bind(this),o=function(){return Ys(this,i),hn.Hzn(m,"$group",a)}.bind(this),s=_s(hn.DZI(),2),a=s[0],u=s[1],h=hn._w2(n,"points",12),c=hn._w2(n,"name",12),f=hn._w2(n,"color",12),l=hn._w2(n,"width",12,50),d=hn._w2(n,"gap",12,12),v=hn._w2(n,"borderColor",12),b=hn._w2(n,"borderWidth",12),p=c(),y=hn.zgK(0),g=(0,un.SD)("chart"),m=(0,un.SD)("group");(0,un.sA)(function(){Ys(this,i),o().points["delete"](c()),hn.fTr(m,o()),hn.fTr(g,r())}.bind(this)),hn.M3l(function(){return Ys(this,i),hn.iTV(c()),hn.iTV(h())}.bind(this),function(){var t,n;Ys(this,i),t=c(),n=h(),p!==t&&(o().points["delete"](p),p=t),o().points.has(t)&&o().points["delete"](t),o().points.set(t,n),hn.fTr(m,o()),hn.fTr(g,r())}.bind(this)),hn.M3l(function(){return Ys(this,i),hn.iTV(c()),hn.iTV(f())}.bind(this),function(){var t,n;Ys(this,i),t=c(),n=f(),hn.hYb(g,hn.vzK(r).colors[t]=n,hn.vzK(r))}.bind(this)),hn.M3l(function(){return Ys(this,i),r(),o()}.bind(this),function(){Ys(this,i),hn.hZp(y,Math.min(r().height-r().padding.bottom-r().xAxisHeight,o().yScale(0)))}.bind(this)),hn.iqF();var w={get points(){return h()},set points(t){h(t),hn.bX()},get name(){return c()},set name(t){c(t),hn.bX()},get color(){return f()},set color(t){f(t),hn.bX()},get width(){return l()},set width(t){l(t),hn.bX()},get gap(){return d()},set gap(t){d(t),hn.bX()},get borderColor(){return v()},set borderColor(t){v(t),hn.bX()},get borderWidth(){return b()},set borderWidth(t){b(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return Ys(this,i),hn.oeX(n,t,r)}.bind(this)};hn.TsN();var _=hn.Imx(),x=hn.esp(_),Y=function(t){var n=this;Ys(this,i);var e=Js(),s=hn.jfp(e),a=function(t){var i=this;Ys(this,n);var e=hn.Imx(),s=hn.esp(e);hn.__1(s,1,h,hn.Pe0,function(t,n){var e=this;Ys(this,i);var s=hn.Xdt(function(){var t=this;return Ys(this,e),hn.JtY(n),hn.vzK(function(){return Ys(this,t),hn.JtY(n).y.length}.bind(this))}.bind(this)),a=hn.Xdt(function(){return Ys(this,e),l()*hn.JtY(s)+(hn.JtY(s)-1)*d()}.bind(this)),u=hn.Imx(),h=hn.esp(u);hn.__1(h,1,function(){var t=this;return Ys(this,e),hn.JtY(n),hn.vzK(function(){return Ys(this,t),hn.JtY(n).y}.bind(this))}.bind(this),hn.Pe0,function(t,i,s){var u=this;Ys(this,e);
1var h=hn.Xdt(function(){var t=this;return Ys(this,u),r(),hn.JtY(n),hn.iTV(hn.JtY(a)),hn.iTV(l()),hn.iTV(d()),hn.vzK(function(){return Ys(this,t),r().xScale(hn.JtY(n).x)-hn.JtY(a)/2+(l()+d())*s}.bind(this))}.bind(this)),p=hn.Imx(),g=hn.esp(p),m=function(t){var e=this;Ys(this,u);var a,d=Ss();hn.vNg(function(t,n,i){var r,o,u,c=this;Ys(this,e),hn.hgi(d,"fill: ".concat(null!==(hn.iTV(f()),r=hn.vzK(function(){return Ys(this,c),f()[s]}.bind(this)))&&void 0!==r?r:"","; stroke: ").concat(null!==(hn.iTV(v()),o=hn.vzK(function(){return Ys(this,c),v()[0]}.bind(this)))&&void 0!==o?o:"","; stroke-width: ").concat(null!==(u=b())&&void 0!==u?u:"")),hn.aIK(d,"x",hn.JtY(h)),hn.aIK(d,"y",t),hn.aIK(d,"height",n),hn.aIK(d,"width",l()),a=hn.ysU(d,0,"",null,a,{selected:i})}.bind(this),[function(){var t=this;return Ys(this,e),o(),hn.JtY(i),hn.vzK(function(){return Ys(this,t),o().yScale(hn.JtY(i))}.bind(this))}.bind(this),function(){var t=this;return Ys(this,e),hn.JtY(y),o(),hn.JtY(i),hn.vzK(function(){return Ys(this,t),hn.JtY(y)-o().yScale(hn.JtY(i))}.bind(this))}.bind(this),function(){var t;return Ys(this,e),(null===(t=r().selected.get(c()))||void 0===t||null===(t=t.value)||void 0===t?void 0:t.x)===hn.JtY(n).x}.bind(this)]),hn.BCw(t,d)}.bind(this),w=function(t){var e=this;Ys(this,u);var a,d=Ss();hn.vNg(function(t,n,i){var r,o,u,c=this;Ys(this,e),hn.hgi(d,"fill: ".concat(null!==(hn.iTV(f()),r=hn.vzK(function(){return Ys(this,c),f()[s]}.bind(this)))&&void 0!==r?r:"","; stroke: ").concat(null!==(hn.iTV(v()),o=hn.vzK(function(){return Ys(this,c),v()[0]}.bind(this)))&&void 0!==o?o:"","; stroke-width: ").concat(null!==(u=b())&&void 0!==u?u:"")),hn.aIK(d,"x",hn.JtY(h)),hn.aIK(d,"y",t),hn.aIK(d,"height",n),hn.aIK(d,"width",l()),a=hn.ysU(d,0,"",null,a,{selected:i})}.bind(this),[function(){var t=this;return Ys(this,e),o(),hn.vzK(function(){return Ys(this,t),o().yScale(0)}.bind(this))}.bind(this),function(){var t=this;return Ys(this,e),o(),hn.JtY(i),hn.vzK(function(){return Ys(this,t),o().yScale(0)-o().yScale(-hn.JtY(i))}.bind(this))}.bind(this),function(){var t;return Ys(this,e),(null===(t=r().selected.get(c()))||void 0===t||null===(t=t.value)||void 0===t?void 0:t.x)===hn.JtY(n).x}.bind(this)]),hn.BCw(t,d)}.bind(this);hn["if"](g,function(t){Ys(this,u),hn.JtY(i)>=0?t(m):t(w,-1)}.bind(this)),hn.BCw(t,p)}.bind(this)),hn.BCw(t,u)}.bind(this)),hn.BCw(t,e)}.bind(this),u=hn.unG(function(){var t=this;return Ys(this,n),hn.iTV(l()),hn.vzK(function(){return Ys(this,t),"number"==typeof l()&&!isNaN(l())}.bind(this))}.bind(this));hn["if"](s,function(t){Ys(this,n),hn.JtY(u)&&t(a)}.bind(this)),hn.cLc(e),hn.BCw(t,e)}.bind(this);hn["if"](x,function(t){var n=this;Ys(this,i),hn.iTV(h()),o(),r(),hn.vzK(function(){return Ys(this,n),h().length&&o().inited&&o().yExtremum[0]<o().yExtremum[1]&&r().xExtremum[0]<r().xExtremum[1]}.bind(this))&&t(Y)}.bind(this)),hn.BCw(t,_);var T=hn.uYY(w);return u(),T}function zs(t){return zs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zs(t)}function Ks(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function Ps(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function Ms(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=zs(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=zs(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==zs(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var Cs=null;function ks(){return Cs||((Cs=document.createElement("div")).style.zIndex="10",Cs.style.position="fixed",Cs.style.top="0",Cs.style.left="0",Cs.style.width="100%",Cs.style.height="100%",Cs.style.pointerEvents="none",document.body.appendChild(Cs),Cs)}var Vs=hn.vUu('<div class="_portal"><!></div>'),Es={hash:"c-1pvbmet",code:"._portal > * {pointer-events:auto;}"};function Ns(t,n){var i=this;if(this instanceof Ns?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};
1n%2?Ps(Object(i),!0).forEach(function(n){Ms(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Ps(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:Ns},t));hn.VCO(n,!1),hn.kZQ(t,Es);var r,o=hn._w2(n,"parent",28,ks),s=hn._w2(n,"style",12,""),a=hn.zgK();(0,un.Rc)(function(){var t;Ks(this,i),(r=null===(t=hn.JtY(a))||void 0===t?void 0:t.parentNode)&&hn.JtY(a)&&o().appendChild(hn.JtY(a))}.bind(this)),(0,un.sA)(function(){var t;return Ks(this,i),null===(t=r)||void 0===t?void 0:t.appendChild(hn.JtY(a))}.bind(this));var u={get parent(){return o()},set parent(t){o(t),hn.bX()},get style(){return s()},set style(t){s(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return Ks(this,i),hn.oeX(n,t,r)}.bind(this)};hn.TsN();var h=Vs(),c=hn.jfp(h);return hn.NIy(c,n,"default",{},null),hn.cLc(h),hn.Lcc(h,function(t){return Ks(this,i),hn.hZp(a,t)}.bind(this),function(){return Ks(this,i),hn.JtY(a)}.bind(this)),hn.vNg(function(){return Ks(this,i),hn.hgi(h,s())}.bind(this)),hn.BCw(t,h),hn.uYY(u)}function Is(t){return Is="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Is(t)}function Bs(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function $s(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function Xs(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=Is(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=Is(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==Is(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var Ls=hn.vUu('<div><div class="s-content c-10t3zwh"><!></div></div>'),As={hash:"c-10t3zwh",code:".s-ui-tooltip.c-10t3zwh {pointer-events:none;position:fixed;\r\n /* padding: 20px; */box-sizing:border-box;pointer-events:none;}.s-content.c-10t3zwh {pointer-events:none;display:inline-block;}"};function Ds(t,n){var i=this;if(this instanceof Ds?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?$s(Object(i),!0).forEach(function(n){Xs(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):$s(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:Ds},t));hn.VCO(n,!1),hn.kZQ(t,As);var r=hn._w2(n,"target",12),o=hn._w2(n,"type",12,"hor"),s=hn.zgK(!0),a=hn.zgK(!0),u=hn.zgK(),h=hn.zgK(),c=hn.zgK(),f=hn.zgK();function l(t){d(t.pageY)}function d(t){if(hn.hZp(h,t),r()){var n,i,e,o,l,d,v=r().getBoundingClientRect(),b=v.left,p=v.top,y=v.width,g=document.documentElement,m=g.scrollTop,w=g.scrollLeft;if(hn.hZp(c,Math.max(0,(null!=t?t:p)-(null!==(n=null===(i=hn.JtY(u))||void 0===i?void 0:i.clientHeight)&&void 0!==n?n:0)/2-(window.scrollY||m))),hn.hZp(s,!0),hn.hZp(f,b-(window.scrollX||w)+y+12),hn.hZp(a,!0),hn.JtY(f)>window.innerWidth-(null!==(e=null===(o=hn.JtY(u))||void 0===o?void 0:o.clientWidth)&&void 0!==e?e:0))hn.hZp(f,hn.JtY(f)-(null!==(l=null===(d=hn.JtY(u))||void 0===d?void 0:d.clientWidth)&&void 0!==l?l:0)-y-24),hn.hZp(a,!1)}}d(),hn.M3l(function(){return Bs(this,i),hn.iTV(r())}.bind(this),function(){Bs(this,i),r()||(hn.hZp(f,null),hn.hZp(c,null))}.bind(this)),hn.M3l(function(){return Bs(this,i),hn.JtY(u),hn.JtY(h)}.bind(this),function(){Bs(this,i),hn.JtY(u)&&d(hn.JtY(h))}.bind(this)),hn.iqF();var v={get target(){return r()},set target(t){r(t),hn.bX()},get type(){return o()},set type(t){o(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return Bs(this,i),hn.oeX(n,t,r)}.bind(this)};hn.TsN();var b=hn.Imx();
1hn.f0J("mousemove",hn.xa8,function(){for(var t,n=arguments.length,i=new Array(n),e=0;e<n;e++)i[e]=arguments[e];null===(t=r()&&l)||void 0===t||t.apply(this,i)});var p=hn.esp(b),y=function(t){var r=this;Bs(this,i),Ns(t,{children:function(t,i){var e=this;Bs(this,r);var h,l,d=Ls(),v=hn.jfp(d),b=hn.jfp(v);hn.NIy(b,n,"default",{},null),hn.cLc(v),hn.cLc(d),hn.Lcc(d,function(t){return Bs(this,e),hn.hZp(u,t)}.bind(this),function(){return Bs(this,e),hn.JtY(u)}.bind(this)),hn.vNg(function(t){Bs(this,e),h=hn.ysU(d,1,"s-ui-tooltip c-10t3zwh",null,h,{"s-bottom":hn.JtY(s)&&"ver"===o(),"s-top":!hn.JtY(s)&&"ver"===o(),"s-right":hn.JtY(a)&&"hor"===o(),"s-left":!hn.JtY(a)&&"hor"===o()}),l=hn.hgi(d,"",l,{transform:t})}.bind(this),[function(){var t,n,i=this;return Bs(this,e),"translate(".concat(null!==(hn.JtY(f),t=hn.vzK(function(){return Bs(this,i),Math.round(hn.JtY(f))}.bind(this)))&&void 0!==t?t:"","px, ").concat(null!==(hn.JtY(c),n=hn.vzK(function(){return Bs(this,i),Math.round(hn.JtY(c))}.bind(this)))&&void 0!==n?n:"","px)")}.bind(this)]),hn.BCw(t,d)}.bind(this),$$slots:{"default":!0}})}.bind(this);return hn["if"](p,function(t){Bs(this,i),r()&&null!==hn.JtY(f)&&null!==hn.JtY(c)&&t(y)}.bind(this)),hn.BCw(t,b),hn.uYY(v)}function Us(t){return Us="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Us(t)}function Ws(t){return function(t){if(Array.isArray(t))return qs(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Fs(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Zs(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var r,e,o,s,a=[],u=!0,h=!1;try{if(o=(i=i.call(t)).next,0===n){if(Object(i)!==i)return;u=!1}else for(;!(u=(r=o.call(i)).done)&&(a.push(r.value),a.length!==n);u=!0);}catch(t){h=!0,e=t}finally{try{if(!u&&null!=i["return"]&&(s=i["return"](),Object(s)!==s))return}finally{if(h)throw e}}return a}}(t,n)||Fs(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fs(t,n){if(t){if("string"==typeof t)return qs(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?qs(t,n):void 0}}function qs(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=Array(n);i<n;i++)r[i]=t[i];return r}function Hs(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function Rs(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function Gs(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=Us(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=Us(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==Us(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var Qs=hn._i8('<rect class="s-select-line c-kolc76"></rect>'),ta=hn._i8('<circle class="s-select-dot c-kolc76"></circle>'),na=hn._i8("<!><!>",1),ia=hn._i8('<!><g><rect role="presentation" fill="transparent"></rect><!></g>',1),ra={hash:"c-kolc76",code:".s-select-line.c-kolc76 {pointer-events:none;stroke-width:1px;\r\n /* opacity: 0.25; */stroke-width:0px;shape-rendering:crispEdges;}.s-select-dot.c-kolc76 {pointer-events:none;}"};function ea(t,n){var i=this;if(this instanceof ea?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};
1n%2?Rs(Object(i),!0).forEach(function(n){Gs(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Rs(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:ea},t));hn.VCO(n,!1),hn.kZQ(t,ra);var r=function(){return Hs(this,i),hn.Hzn(p,"$chart",s)}.bind(this),o=Zs(hn.DZI(),2),s=o[0],a=o[1],u=hn._w2(n,"strokeWidth",12,2),h=hn._w2(n,"size",12,8),c=hn._w2(n,"lineWidth",12,1),f=hn._w2(n,"fill",12,!1),l=hn._w2(n,"hideDot",12,!1),d=hn._w2(n,"hideLine",12,!1),v=hn._w2(n,"color",12),b=hn._w2(n,"invert",12,!1),p=(0,un.SD)("chart"),y=hn.zgK(),g=hn.zgK({x:new Map,y:new Map});hn.M3l(function(){return Hs(this,i),hn.JtY(g),r()}.bind(this),function(){var t=this;Hs(this,i),hn.hZp(g,{x:new Map,y:new Map}),r().groups.forEach(function(n){var i=this;return Hs(this,t),n.points.forEach(function(t,n){var r=this;Hs(this,i);var e=hn.JtY(g).x.get(n);e||(e={},hn.JtY(g).x.set(n,e)),t.forEach(function(t){Hs(this,r),e&&(e[t.x]=t)}.bind(this))}.bind(this))}.bind(this))}.bind(this)),hn.iqF();var m={get strokeWidth(){return u()},set strokeWidth(t){u(t),hn.bX()},get size(){return h()},set size(t){h(t),hn.bX()},get lineWidth(){return c()},set lineWidth(t){c(t),hn.bX()},get fill(){return f()},set fill(t){f(t),hn.bX()},get hideDot(){return l()},set hideDot(t){l(t),hn.bX()},get hideLine(){return d()},set hideLine(t){d(t),hn.bX()},get color(){return v()},set color(t){v(t),hn.bX()},get invert(){return b()},set invert(t){b(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return Hs(this,i),hn.oeX(n,t,r)}.bind(this)};hn.TsN();var w=ia(),_=hn.esp(w),x=function(t){var e=this;Hs(this,i),Ds(t,{get target(){return hn.JtY(y)},children:function(t,i){var o=this;Hs(this,e);var s=hn.Imx(),a=hn.esp(s),u=hn.Xdt(function(){var t=this;return Hs(this,o),r(),hn.vzK(function(){return Hs(this,t),Array.from(r().selected)}.bind(this))}.bind(this));hn.NIy(a,n,"default",{get data(){return hn.JtY(u)},get dataMap(){var t=this;return r(),hn.vzK(function(){return Hs(this,t),r().selected}.bind(this))}},function(t){Hs(this,o)}.bind(this)),hn.BCw(t,s)}.bind(this),$$slots:{"default":!0}})}.bind(this);hn["if"](_,function(t){var n=this;Hs(this,i),r(),hn.vzK(function(){return Hs(this,n),r().selected.size}.bind(this))&&t(x)}.bind(this));var Y=hn.hg4(_),T=hn.jfp(Y);hn.aIK(T,"x",0),hn.aIK(T,"y",0);var j=hn.hg4(T);hn.__1(j,1,function(){var t=this;return Hs(this,i),r(),hn.vzK(function(){return Hs(this,t),Array.from(r().selected)}.bind(this))}.bind(this),hn.Pe0,function(t,n,e){var o=this;Hs(this,i);var s=hn.unG(function(){return Hs(this,o),hn._Nj(hn.JtY(n),2)}.bind(this)),a=function(){return Hs(this,o),hn.JtY(s)[0]}.bind(this),p=function(){return Hs(this,o),hn.JtY(s)[1]}.bind(this),g=na(),m=hn.esp(g),w=function(t){var n=this;Hs(this,o);var i,e=Qs();hn.aIK(e,"y",1),hn.Lcc(e,function(t){return Hs(this,n),hn.hZp(y,t)}.bind(this),function(){return Hs(this,n),hn.JtY(y)}.bind(this)),hn.vNg(function(t){var o=this;Hs(this,n),hn.aIK(e,"x",t),hn.aIK(e,"width",c()),hn.aIK(e,"height",(r(),hn.vzK(function(){return Hs(this,o),r().height-r().padding.bottom-r().xAxisHeight-1}.bind(this)))),i=hn.hgi(e,"",i,{opacity:d()?0:undefined,fill:(hn.iTV(v()),hn.vzK(function(){return Hs(this,o),v()[0]}.bind(this)))})}.bind(this),[function(){var t=this;return Hs(this,n),r(),p(),hn.iTV(c()),hn.vzK(function(){return Hs(this,t),r().xScale(p().value.x)-c()/2}.bind(this))}.bind(this)]),hn.BCw(t,e)}.bind(this);hn["if"](m,function(t){Hs(this,o),e||t(w)}.bind(this));var _=hn.hg4(m),x=function(t){var n=this;Hs(this,o);var i=hn.Imx(),e=hn.esp(i);hn.__1(e,1,function(){var t=this;return Hs(this,n),p(),hn.vzK(function(){return Hs(this,t),p().value.y}.bind(this))}.bind(this),hn.Pe0,function(t,i,e){var o=this;Hs(this,n);var s,c=ta();hn.vNg(function(t,n){var i,l=this;Hs(this,o),hn.aIK(c,"cx",t),hn.aIK(c,"cy",n),hn.aIK(c,"r",.5*h()),s=hn.hgi(c,"",s,{stroke:(hn.iTV(b()),r(),a(),hn.vzK(function(){return Hs(this,l),b()?"#fff":r().colors[a()][e]}.bind(this))),"stroke-width":"".concat(null!==(i=u())&&void 0!==i?i:"","px"),fill:(hn.iTV(f()),r(),a(),hn.vzK(function(){var t;return Hs(this,l),f()?null===(t=r().colors)||void 0===t||null===(t=t[a()])||void 0===t?void 0:t[e]:"#fff"}.bind(this)))})}.bind(this),[function(){var t=this;return Hs(this,o),r(),p(),hn.vzK(function(){return Hs(this,t),r().xScale(p().value.x)}.bind(this))}.bind(this),function(){var t=this;return Hs(this,o),p(),hn.JtY(i),hn.vzK(function(){return Hs(this,t),p().group.yScale(hn.JtY(i))}.bind(this))}.bind(this)]),hn.BCw(t,c)}.bind(this)),hn.BCw(t,i)}.bind(this);hn["if"](_,function(t){Hs(this,o),l()||t(x)}.bind(this)),hn.BCw(t,g)}.bind(this)),hn.cLc(Y),hn.vNg(function(){var t=this;Hs(this,i),hn.aIK(T,"width",(r(),hn.vzK(function(){return Hs(this,t),r().width}.bind(this)))),hn.aIK(T,"height",(r(),hn.vzK(function(){return Hs(this,t),r().height}.bind(this))))}
1.bind(this)),hn.f0J("mousemove",T,function(t){var n=this,i=t.offsetX,e=t.offsetY;if(hn.hYb(p,hn.vzK(r).selected=new Map,hn.vzK(r)),i<=r().width-r().rightYAxisWidth&&e>=r().leftYAxisWidth&&e<=r().height){var o=r().xScale.invert(i),s=Number(o),a=Ws(r().allPoints.values()),u=function(t,n,i){for(var r=0,e=t.length-1;r<=e;){var o=Math.floor((r+e)/2),s=i(t[o]);if(s>n)e=o-1;else{if(!(s<n))return o;r=o+1}}return r===e?r:e<0?e:r>t.length-1||Math.abs(i(t[r])-n)<=Math.abs(i(t[e])-n)?r:e}(a,s,function(t){return Hs(this,n),t.x}.bind(this));if(u<0&&(u=0),u>a.length-1&&(u=a.length-1),a[u]){var h=a[u].x;r().groups.forEach(function(t){var i=this;return Hs(this,n),t.points.forEach(function(n,e){var o=this;Hs(this,i);var s=function(t,n,i){for(var r=0,e=t.length-1;r<=e;){var o=Math.floor((r+e)/2),s=i(t[o]);if(s<n)r=o+1;else{if(!(s>n))return o;e=o-1}}return-1}(n,h,function(t){return Hs(this,o),t.x}.bind(this));-1!==s&&r().selected.set(e,{group:t,value:n[s],color:r().colors[e]})}.bind(this))}.bind(this))}}}),hn.f0J("mouseleave",T,function(){hn.hYb(p,hn.vzK(r).selected=new Map,hn.vzK(r))}),hn.BCw(t,w);var S=hn.uYY(m);return a(),S}function oa(t){return oa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oa(t)}function sa(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var r,e,o,s,a=[],u=!0,h=!1;try{if(o=(i=i.call(t)).next,0===n){if(Object(i)!==i)return;u=!1}else for(;!(u=(r=o.call(i)).done)&&(a.push(r.value),a.length!==n);u=!0);}catch(t){h=!0,e=t}finally{try{if(!u&&null!=i["return"]&&(s=i["return"](),Object(s)!==s))return}finally{if(h)throw e}}return a}}(t,n)||function(t,n){if(t){if("string"==typeof t)return aa(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?aa(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function aa(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=Array(n);i<n;i++)r[i]=t[i];return r}function ua(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function ha(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function ca(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=oa(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=oa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==oa(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var fa=hn._i8('<g class="custom"></g>');function la(t,n){var i=this;if(this instanceof la?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?ha(Object(i),!0).forEach(function(n){ca(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ha(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:la},t));hn.VCO(n,!1);var r=function(){return ua(this,i),hn.Hzn(v,"$group",a)}.bind(this),o=function(){return ua(this,i),hn.Hzn(d,"$chart",a)}.bind(this),s=sa(hn.DZI(),2),a=s[0],u=s[1],h=hn._w2(n,"id",12,null),c=hn._w2(n,"points",12),f=hn._w2(n,"name",12),l=hn._w2(n,"color",28,function(){return ua(this,i),["#000"]}.bind(this)),d=(0,un.SD)("chart"),v=(0,un.SD)("group"),b=f();(0,un.sA)(function(){ua(this,i),r().points["delete"](f()),hn.fTr(v,r()),hn.fTr(d,o())}.bind(this)),hn.M3l(function(){return ua(this,i),hn.iTV(c())}.bind(this),function(){var t;ua(this,i),t=c(),b!==f()&&(r().points["delete"](b),b=f()),r().points.has(f())&&r().points["delete"](f()),r().points.set(f(),t),hn.fTr(v,r()),hn.fTr(d,o())}.bind(this)),hn.M3l(function(){return ua(this,i),hn.iTV(f()),hn.iTV(l()
1)}.bind(this),function(){var t,n;ua(this,i),t=f(),n=l(),hn.hYb(d,hn.vzK(o).colors[t]=n,hn.vzK(o))}.bind(this)),hn.iqF();var p={get id(){return h()},set id(t){h(t),hn.bX()},get points(){return c()},set points(t){c(t),hn.bX()},get name(){return f()},set name(t){f(t),hn.bX()},get color(){return l()},set color(t){l(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return ua(this,i),hn.oeX(n,t,r)}.bind(this)};hn.TsN();var y=hn.Imx(),g=hn.esp(y),m=function(t){var e=this;ua(this,i);var s=fa();hn.__1(s,5,c,hn.Pe0,function(t,i){var s=this;ua(this,e);var a=hn.Imx(),u=hn.esp(a),h=hn.Xdt(function(){var t=this;return ua(this,s),o(),hn.JtY(i),hn.vzK(function(){return ua(this,t),o().xScale(hn.JtY(i).x)}.bind(this))}.bind(this)),c=hn.Xdt(function(){var t=this;return ua(this,s),r(),hn.JtY(i),hn.vzK(function(){return ua(this,t),r().yScale(hn.JtY(i).y[0])}.bind(this))}.bind(this));hn.NIy(u,n,"default",{get x(){return hn.JtY(h)},get y(){return hn.JtY(c)},get point(){return hn.JtY(i)},get chart(){return o()},get group(){return r()}},null),hn.BCw(t,a)}.bind(this)),hn.cLc(s),hn.vNg(function(){return ua(this,e),hn.aIK(s,"id",h())}.bind(this)),hn.BCw(t,s)}.bind(this);hn["if"](g,function(t){var n=this;ua(this,i),r(),o(),hn.vzK(function(){return ua(this,n),r().inited&&r().yExtremum[0]<r().yExtremum[1]&&o().xExtremum[0]<o().xExtremum[1]}.bind(this))&&t(m)}.bind(this)),hn.BCw(t,y);var w=hn.uYY(p);return u(),w}function da(t){return da="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},da(t)}function va(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function ba(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function pa(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=da(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=da(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==da(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var ya=hn.vUu('<span><span class="svg-chart__color-inner"></span></span>');function ga(t,n){var i=this;if(this instanceof ga?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?ba(Object(i),!0).forEach(function(n){pa(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ba(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:ga},t));hn.VCO(n,!1);var r,o,s,a=hn._w2(n,"color",12),u=hn._w2(n,"fat",12,!1),h={get color(){return a()},set color(t){a(t),hn.bX()},get fat(){return u()},set fat(t){u(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return va(this,i),hn.oeX(n,t,r)}.bind(this)},c=ya(),f=hn.jfp(c);return hn.cLc(c),hn.vNg(function(){va(this,i),r=hn.ysU(c,1,"svg-chart__color",null,r,{"svg-chart__fat":u()}),o=hn.hgi(c,"",o,{color:a()}),s=hn.hgi(f,"",s,{"background-color":a()})}.bind(this)),hn.BCw(t,c),hn.uYY(h)}function ma(t){return ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ma(t)}function wa(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function _a(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function xa(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=ma(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=ma(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}
1(t,"string");return"symbol"==ma(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var Ya=hn.vUu('<div class="svg-chart__indicators"><!></div>');function Ta(t,n){var i=this;if(this instanceof Ta?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?_a(Object(i),!0).forEach(function(n){xa(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):_a(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:Ta},t));hn.VCO(n,!1);var r,o=hn._w2(n,"gap",12,3),s={get gap(){return o()},set gap(t){o(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return wa(this,i),hn.oeX(n,t,r)}.bind(this)},a=Ya(),u=hn.jfp(a);return hn.NIy(u,n,"default",{},null),hn.cLc(a),hn.vNg(function(){return wa(this,i),r=hn.hgi(a,"",r,{gap:o()?"var(--step{gap})":"0"})}.bind(this)),hn.BCw(t,a),hn.uYY(s)}var ja=i(4392),Sa=i.n(ja);function Ja(t,n){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function(t,n){if(t){if("string"==typeof t)return Oa(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Oa(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){i&&(t=i);var r=0,e=function(){};return{s:e,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return s=t.done,t},e:function(t){a=!0,o=t},f:function(){try{s||null==i["return"]||i["return"]()}finally{if(a)throw o}}}}function Oa(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=Array(n);i<n;i++)r[i]=t[i];return r}function za(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function Ka(t,n){var i=new Date(n),r=function(t){var n=Math.floor(t/86400);if(n<1)return no.Time;if(n<30)return no.Day;if(n<60)return no.Month;return no.Year}(t);return r===no.Year||r===no.Month?Pa(i):r===no.Day?Ma(i):function(t){var n=String(t.getUTCHours()).padStart(2,"0"),i=String(t.getUTCMinutes()).padStart(2,"0");return"".concat(Ma(t)," ").concat(n,":").concat(i)}(i)}var Pa=new Intl.DateTimeFormat("en-US",{month:"short",year:"numeric"}).format;function Ma(t){var n=String(t.getUTCFullYear()),i=String(t.getUTCMonth()+1).padStart(2,"0"),r=String(t.getUTCDate()).padStart(2,"0");return"".concat(n,".").concat(i,".").concat(r)}new Intl.DateTimeFormat("en-US",{weekday:"long"}).format;var Ca=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8];function ka(t,n){var i=Math.min(Math.max(n,0),8),r=Ca[i];return t>=0?Math.floor(t*r+.5000001)/r:Math.ceil(t*r-.5000001)/r}function Va(t){var n=this,i=arguments.length>1&&arguments[1]!==undefined&&arguments[1],r=arguments.length>2&&arguments[2]!==undefined&&arguments[2],e="0,0",o="0,0";return e=t?"".concat(e,".[").concat("0".repeat(t),"]a"):"".concat(e,"a"),t&&(o="".concat(o,".").concat("0".repeat(t))),function(s,a){za(this,n);var u=0===s,h=ka(s,t),c=(null!=a?a:i)&&!u;return r&&Math.abs(s)>Math.abs(Number(r))?Sa()(h).format(c?"+".concat(e):e):Sa()(h).format(c?"+".concat(o):o)}.bind(this)}function Ea(){var t=this;return function(n){za(this,t);var i=2,r=Math.abs(n);r<1e-5?i=6:r<1e-4?i=5:r<.001?i=4:r<.01&&(i=3);var e="0,0";return e="".concat(e,".[").concat("0".repeat(i),"]"),e+="%",Sa()(ka(n,i+2)).format(e)}.bind(this)}function Na(){var t=this,n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:2,i="0";return i="".concat(i,".[").concat("0".repeat(n),"]"),function(r){return za(this,t),Sa()(ka(r,n)).format(i)}.bind(this)}function Ia(t){var n=this,i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1,r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0;if(!t||!t.length)return[[],[],0];for(var e=[],o=t.length/2,s=0;s<t.length;s+=2)e.push({x:t[s],y:[t[s+1]/i]}),r>0&&o>s/2&&t[s]>=r&&(o=s/2);var a=[];if(e.length>1){for(var u=e.reduce(function(t,i){return za(this,n),t+i.x}.bind(this),0)/e.length,h=e.reduce(function(t,i){return za(this,n),t+i.y[0]}.bind(this),0)/e.length,c=0,f=0,l=0;l<e.length;l++)c+=(e[l].x-u)*(e[l].y[0]-h),f+=Math.pow(e[l].x-u,2);var d=c/f,v=h-d*u;a.push({x:e[0].x,y:[v+d*e[0].x]}),a.push({x:e[e.length-1].x,y:[v+d*e[e.length-1].x]})}return[e,a,o]}function Ba(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:2,i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[1],r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:0;
1if(!t||!t.length)return new Array(n);for(var e=[],o=0;o<i.length;o++)e.push([]);for(var s=0;s<t.length;s+=n)for(var a=0;a<i.length;a++)1e3*t[s]<r||e[a].push({x:1e3*t[s],y:[t[s+i[a]]]});return e}function $a(t,n){if(!t||!t.length)return[[]];for(var i=[],r=0;r<t.length;r+=6){var e=-t[r+3]/(t[r+1]+n);i.push({x:1e3*t[r],y:[e]})}return[i]}function Xa(t,n){if(!t||!t.length)return[];var i,r=[],e=0,o=Ja(t);try{for(o.s();!(i=o.n()).done;){var s=i.value;s.x<n[e].x||(e+1<n.length&&n[e+1].x<=s.x?(e++,r.push({x:s.x,y:n[e].y})):r.push({x:s.x,y:n[e].y}))}}catch(a){o.e(a)}finally{o.f()}return r}function La(t){return La="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},La(t)}function Aa(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function Da(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function Ua(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=La(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=La(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==La(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}Sa().register("locale","report",{delimiters:{thousands:" ",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(){return"th"},currency:{symbol:""}}),Sa().locale("report");var Wa=hn.vUu('<div><div class="svg-chart__indicator-value"><!></div> <div class="svg-chart__indicator-label"><!></div></div>');function Za(t,n){var i=this;if(this instanceof Za?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?Da(Object(i),!0).forEach(function(n){Ua(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Da(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:Za},t));hn.VCO(n,!1);var r,o=hn._w2(n,"label",12,""),s=hn._w2(n,"right",12,!1),a=hn._w2(n,"slim",12,!1),u=hn._w2(n,"first",12,!1),h=hn._w2(n,"highlight",12,!1),c={get label(){return o()},set label(t){o(t),hn.bX()},get right(){return s()},set right(t){s(t),hn.bX()},get slim(){return a()},set slim(t){a(t),hn.bX()},get first(){return u()},set first(t){u(t),hn.bX()},get highlight(){return h()},set highlight(t){h(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return Aa(this,i),hn.oeX(n,t,r)}.bind(this)},f=Wa(),l=hn.jfp(f),d=hn.jfp(l);hn.NIy(d,n,"default",{},null),hn.cLc(l);var v=hn.hg4(l,2),b=hn.jfp(v);return hn.NIy(b,n,"label",{},function(t){var n=this;Aa(this,i);var r=hn.Qq7();hn.vNg(function(){return Aa(this,n),hn.jax(r,o())}.bind(this)),hn.BCw(t,r)}.bind(this)),hn.cLc(v),hn.cLc(f),hn.vNg(function(){return Aa(this,i),r=hn.ysU(f,1,"svg-chart__indicator",null,r,{"svg-chart__indicator-highlight":h(),"svg-chart__indicator-right":s(),"svg-chart__indicator-slim":a(),"svg-chart__indicator-first":u()})}.bind(this)),hn.f0J("mouseenter",f,function(t){hn.Ibr.call(this,n,t)}),hn.BCw(t,f),hn.uYY(c)}function Fa(t){return Fa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fa(t)}function qa(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function Ha(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function Ra(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=Fa(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=Fa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}
1(t,"string");return"symbol"==Fa(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var Ga=hn.vUu("<div> <!></div>"),Qa=hn.vUu('<span slot="label" class="svg-chart__label"><!> </span>');function tu(t,n){var i=this;if(this instanceof tu?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?Ha(Object(i),!0).forEach(function(n){Ra(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Ha(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:tu},t));hn.VCO(n,!1);var r=hn._w2(n,"key",12,null),o=hn._w2(n,"label",12),s=hn._w2(n,"color",12,""),a=hn._w2(n,"colored",12,!1),u=hn._w2(n,"first",12,!1),h=hn._w2(n,"value",12),c=hn._w2(n,"money",12,!1),f=hn._w2(n,"percent",12,!1),l=hn._w2(n,"empty",12,!1),d=hn._w2(n,"digits",12,2),v=hn._w2(n,"format",12,null),b=hn._w2(n,"currency",12,""),p=hn._w2(n,"group",12),y=hn.zgK(""),g=hn.zgK(function(t){return qa(this,i),String(t)}.bind(this)),m=hn.zgK(function(t){return qa(this,i),String(t)}.bind(this));hn.M3l(function(){return qa(this,i),hn.iTV(d())}.bind(this),function(){qa(this,i),hn.hZp(g,Va(d()))}.bind(this)),hn.M3l(function(){return qa(this,i),Ea}.bind(this),function(){qa(this,i),hn.hZp(m,Ea())}.bind(this)),hn.M3l(function(){return qa(this,i),hn.iTV(l()),hn.iTV(v()),hn.iTV(h()),hn.iTV(c()),hn.JtY(g),hn.iTV(f()),hn.JtY(m)}.bind(this),function(){qa(this,i),l()?hn.hZp(y,""):v()?hn.hZp(y,v()(h())):c()?hn.hZp(y,hn.JtY(g)(h())):f()?hn.hZp(y,hn.JtY(m)(h())):hn.hZp(y,String(h()))}.bind(this)),hn.iqF();var w={get key(){return r()},set key(t){r(t),hn.bX()},get label(){return o()},set label(t){o(t),hn.bX()},get color(){return s()},set color(t){s(t),hn.bX()},get colored(){return a()},set colored(t){a(t),hn.bX()},get first(){return u()},set first(t){u(t),hn.bX()},get value(){return h()},set value(t){h(t),hn.bX()},get money(){return c()},set money(t){c(t),hn.bX()},get percent(){return f()},set percent(t){f(t),hn.bX()},get empty(){return l()},set empty(t){l(t),hn.bX()},get digits(){return d()},set digits(t){d(t),hn.bX()},get format(){return v()},set format(t){v(t),hn.bX()},get currency(){return b()},set currency(t){b(t),hn.bX()},get group(){return p()},set group(t){p(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return qa(this,i),hn.oeX(n,t,r)}.bind(this)};hn.TsN();var _=hn.Xdt(function(){return qa(this,i),p()===r()}.bind(this));return Za(t,{get first(){return u()},get highlight(){return hn.JtY(_)},$$events:{mouseenter:function(){qa(this,i),r()&&p(r())}.bind(this)},children:function(t,n){var r=this;qa(this,i);var e,o=Ga(),s=hn.jfp(o,!0),u=hn.hg4(s),c=function(t){var n=this;qa(this,r);var i=hn.Qq7();hn.vNg(function(){var t;return qa(this,n),hn.jax(i,"Â ".concat(null!==(t=b())&&void 0!==t?t:""))}.bind(this)),hn.BCw(t,i)}.bind(this);hn["if"](u,function(t){qa(this,r),b()&&t(c)}.bind(this)),hn.cLc(o),hn.vNg(function(){qa(this,r),e=hn.ysU(o,1,"svg-chart__value",null,e,{"svg-chart__negative":a()&&h()<0,"svg-chart__positive":a()&&h()>=0}),hn.jax(s,hn.JtY(y))}.bind(this)),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0,label:function(t,n){var r=this;qa(this,i);var e=Qa(),a=hn.jfp(e),u=function(t){qa(this,r),ga(t,{get color(){return s()}})}.bind(this);hn["if"](a,function(t){qa(this,r),s()&&t(u)}.bind(this));var h=hn.hg4(a);hn.cLc(e),hn.vNg(function(){var t;return qa(this,r),hn.jax(h," ".concat(null!==(t=o())&&void 0!==t?t:""))}.bind(this)),hn.BCw(t,e)}.bind(this)}}),hn.uYY(w)}function nu(t){return nu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nu(t)}function iu(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function ru(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function eu(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=nu(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=nu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}
1(t,"string");return"symbol"==nu(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var ou=hn.vUu("<th> </th>"),su=hn.vUu("<td> </td>"),au=hn.vUu("<td></td>"),uu=hn.vUu('<tr><td class="svg-chart__main"> </td><!><td> <!></td></tr>'),hu=hn.vUu('<span class="svg-chart__extra"></span>'),cu=hn.vUu('<table class="svg-chart__ui-table svg-chart__table"><thead><tr><th class="svg-chart__main"></th><!><th class="svg-chart__last">Year</th></tr></thead><tbody></tbody><tfoot><tr><td colspan="11"><!></td><td style="text-align: right;" colspan="3"><span class="svg-chart__total">Total:</span> <!><!></td></tr></tfoot></table>');function fu(t,n){var i=this;if(this instanceof fu?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?ru(Object(i),!0).forEach(function(n){eu(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ru(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:fu},t));hn.VCO(n,!1);var r=hn._w2(n,"data",12),o=hn._w2(n,"percent",12,!1),s=hn._w2(n,"money",12,!1),a=hn._w2(n,"short",12,!1),u=hn._w2(n,"digits",12,2),h=hn._w2(n,"coefficient",12,!1),c=hn._w2(n,"currency",12,""),f=hn._w2(n,"split",12,0),l=hn.zgK();(0,un.Rc)(function(){iu(this,i),r().extra&&(null===hn.JtY(l)||void 0===hn.JtY(l)||hn.JtY(l).appendChild(r().extra))}.bind(this));var d=hn.zgK();var v=function(){var t=this,n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"en-US",i=new Intl.DateTimeFormat(n,{month:"short",timeZone:"UTC"}).format;return new Array(12).fill(0).map(function(n,r){return iu(this,t),i(new Date(Date.UTC(2021,r%12,2)))}.bind(this))}();hn.M3l(function(){return iu(this,i),hn.iTV(o()),hn.iTV(u()),hn.iTV(h()),hn.iTV(s()),hn.iTV(a())}.bind(this),function(){var t=this;if(iu(this,i),o()){var n=Na(u());hn.hZp(d,function(i){return iu(this,t),n(100*i)}.bind(this))}else h()?hn.hZp(d,Na(u())):s()?hn.hZp(d,Va(u(),undefined,a())):hn.hZp(d,Va(0))}.bind(this)),hn.iqF();var b={get data(){return r()},set data(t){r(t),hn.bX()},get percent(){return o()},set percent(t){o(t),hn.bX()},get money(){return s()},set money(t){s(t),hn.bX()},get short(){return a()},set short(t){a(t),hn.bX()},get digits(){return u()},set digits(t){u(t),hn.bX()},get coefficient(){return h()},set coefficient(t){h(t),hn.bX()},get currency(){return c()},set currency(t){c(t),hn.bX()},get split(){return f()},set split(t){f(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return iu(this,i),hn.oeX(n,t,r)}.bind(this)};hn.TsN();var p=cu(),y=hn.jfp(p),g=hn.jfp(y),m=hn.hg4(hn.jfp(g));hn.__1(m,1,function(){return iu(this,i),v}.bind(this),hn.Pe0,function(t,n){var r=this;iu(this,i);var e=ou(),o=hn.IuP(e,!0);hn.vNg(function(){return iu(this,r),hn.jax(o,hn.JtY(n))}.bind(this)),hn.BCw(t,e)}.bind(this)),hn.K2T(),hn.cLc(g),hn.cLc(y);var w=hn.hg4(y);hn.__1(w,7,function(){var t=this;return iu(this,i),hn.iTV(r()),hn.vzK(function(){return iu(this,t),r().years}.bind(this))}.bind(this),function(t){return iu(this,i),t.year}.bind(this),function(t,n,r){var e=this;iu(this,i);var s=uu(),a=hn.jfp(s),u=hn.IuP(a,!0),h=hn.hg4(a);hn.__1(h,1,function(){return iu(this,e),v}.bind(this),hn.Pe0,function(t,i,o){var s=this;iu(this,e);var a=hn.Xdt(function(){var t=this;return iu(this,s),hn.JtY(n),hn.vzK(function(){return iu(this,t),hn.JtY(n).months[o]}.bind(this))}.bind(this)),u=hn.Xdt(function(){var t=this;return iu(this,s),hn.iTV(hn.JtY(r)),hn.vzK(function(){return iu(this,t),hn.JtY(r)*v.length+o+1}.bind(this))}.bind(this)),h=hn.Imx(),c=hn.esp(h),l=function(t){var n=this;iu(this,s);var i,r=su(),e=hn.IuP(r,!0);hn.vNg(function(t){iu(this,n),i=hn.ysU(r,1,"",null,i,{"svg-chart__negative":hn.JtY(a)<0,"svg-chart__grey":hn.JtY(u)<=f()}),hn.jax(e,t)}.bind(this),[function(){var t=this;return iu(this,n),hn.JtY(d),hn.iTV(hn.JtY(a)),hn.vzK(function(){return iu(this,t),hn.JtY(d)(hn.JtY(a))}.bind(this))}.bind(this)]),hn.BCw(t,r)}.bind(this),b=function(t){iu(this,s);var n=au();hn.BCw(t,n)}.bind(this);hn["if"](c,function(t){iu(this,s),"number"==typeof hn.JtY(a)?t(l):t(b,-1)}.bind(this)),hn.BCw(t,h)}.bind(this));var c,l=hn.hg4(h),b=hn.jfp(l,!0),p=hn.hg4(b),y=function(t){iu(this,e);var n=hn.Qq7("%");hn.BCw(t,n)}.bind(this);hn["if"](p,function(t){iu(this,e),o()&&t(y)}.bind(this)),hn.cLc(l),hn.cLc(s),hn.vNg(function(t){var i=this;iu(this,e),hn.jax(u,(hn.JtY(n),hn.vzK(function(){return iu(this,i),hn.JtY(n).year}.bind(this)))),c=hn.ysU(l,1,"svg-chart__last",null,c,{"svg-chart__negative":hn.JtY(n).yearly<0,"svg-chart__grey":(hn.JtY(r)+1)*v.length<=f()}),hn.jax(b,t)}.bind(this),[function(){var t=this;return iu(this,e),hn.JtY(d),hn.JtY(n),hn.vzK(function(){var i;return iu(this,t),hn.JtY(d)(null!==(i=hn.JtY(n).yearly)&&void 0!==i?i:0)}.bind(this))}.bind(this)]),hn.BCw(t,s)}.bind(this)),hn.cLc(w);var _=hn.hg4(w),x=hn.jfp(_),Y=hn.jfp(x),T=hn.jfp(Y),j=function(t){var n=this;iu(this,i);var r=hu();hn.Lcc(r,function(t){return iu(this,n),hn.hZp(l,t)}.bind(this),function(){return iu(this,n),hn.JtY(l)}.bind(this)),hn.BCw(t,r)}.bind(this);hn["if"](T,function(t){var n=this;iu(this,i),hn.iTV(r()),hn.vzK(function(){return iu(this,n),r().extra}.bind(this))&&t(j)}.bind(this)),hn.cLc(Y);var S,J=hn.hg4(Y),O=hn.hg4(hn.jfp(J)),z=hn.hg4(O),K=function(t){iu(this,i);var n=hn.Qq7("%");hn.BCw(t,n)}.bind(this);hn["if"](z,function(t){iu(this,i),o()&&t(K)}.bind(this));var P=hn.hg4(z),M=function(t){var n=this;iu(this,i);var r=hn.Qq7();hn.vNg(function(){var t;return iu(this,n),hn.jax(r,"Â ".concat(null!==(t=c())&&void 0!==t?t:""))}.bind(this)),hn.BCw(t,r)}.bind(this);return hn["if"](P,function(t){iu(this,i),c()&&t(M)}.bind(this)),hn.cLc(J),hn.cLc(x),hn.cLc(_),hn.cLc(p),hn.vNg(function(t){iu(this,i),S=hn.ysU(J,1,"svg-chart__footer",null,S,{"svg-chart__negative":r().total<0}),hn.jax(O," ".concat(null!=t?t:""))}.bind(this),[function(){var t=this;return iu(this,i),hn.JtY(d),hn.iTV(r()),hn.vzK(function(){return iu(this,t),hn.JtY(d)(r().total)}.bind(this))}.bind(this)]),hn.BCw(t,p),hn.uYY(b)}function lu(t){return lu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lu(t)}function du(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function vu(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=lu(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=lu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}
1(t,"string");return"symbol"==lu(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var bu=hn.vUu('<div class="svg-chart__table-wrap"><!></div>');function pu(t,n){var i=this;if(this instanceof pu?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?du(Object(i),!0).forEach(function(n){vu(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):du(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:pu},t));hn.VCO(n,!1);var r={$set:hn.hpB,$on:function(t,r){return function(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}(this,i),hn.oeX(n,t,r)}.bind(this)},o=bu(),s=hn.jfp(o);return hn.NIy(s,n,"default",{},null),hn.cLc(o),hn.BCw(t,o),hn.uYY(r)}function yu(t){return yu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yu(t)}function gu(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function mu(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function wu(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=yu(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=yu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==yu(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var _u=hn.vUu('<div class="svg-chart__chart-block__header"><!></div>'),xu=hn.vUu('<div class="svg-chart__chart-block__footer"><!></div>'),Yu=hn.vUu('<div class="svg-chart__chart-block"><!> <div class="svg-chart__chart-block__chart"><!></div> <!></div>');function Tu(t,n){var i=this;if(this instanceof Tu?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?mu(Object(i),!0).forEach(function(n){wu(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):mu(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:Tu},t));var r=hn.iWx(n);hn.VCO(n,!1);var o=hn._w2(n,"height",12,"var(--chart-height)"),s={get height(){return o()},set height(t){o(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return gu(this,i),hn.oeX(n,t,r)}.bind(this)},a=Yu(),u=hn.jfp(a),h=function(t){gu(this,i);var r=_u(),e=hn.jfp(r);hn.NIy(e,n,"header",{},null),hn.cLc(r),hn.BCw(t,r)}.bind(this);hn["if"](u,function(t){var n=this;gu(this,i),hn.vzK(function(){return gu(this,n),r.header}.bind(this))&&t(h)}.bind(this));var c,f=hn.hg4(u,2),l=hn.jfp(f);hn.NIy(l,n,"default",{},null),hn.cLc(f);var d=hn.hg4(f,2),v=function(t){gu(this,i);var r=xu(),e=hn.jfp(r);hn.NIy(e,n,"footer",{},null),hn.cLc(r),hn.BCw(t,r)}.bind(this);return hn["if"](d,function(t){var n=this;gu(this,i),hn.vzK(function(){return gu(this,n),r.footer}.bind(this))&&t(v)}.bind(this)),hn.cLc(a),hn.vNg(function(){return gu(this,i),c=hn.hgi(f,"",c,{height:o()})}.bind(this)),hn.BCw(t,a),hn.uYY(s)}function ju(t){return ju="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ju(t)}function Su(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function Ju(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function Ou(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=ju(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=ju(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}
1(t,"string");return"symbol"==ju(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var zu=hn._i8('<g id="growthLinegrowth"><!><!></g><!>',1),Ku=hn.vUu("<tr><td><!></td><td> </td><td> </td></tr>"),Pu=hn.vUu('<table class="svg-chart__chart-tooltip"><tbody><!></tbody></table>'),Mu=hn._i8("<use></use>"),Cu=hn._i8('<defs><path id="flag_withdrawal" d="M-5 0 L0 7 L5 0 M-5 0"></path><path id="flag_deposit" d="M-5 0 L0 -7 L5 0 M-5 0"></path></defs><!>',1),ku=hn._i8("<!><!><!><use></use>",1),Vu=hn.vUu("<div> </div>"),Eu=hn.vUu('<div class="svg-chart__wrap"><!> <!></div>'),Nu=hn.vUu("<div><!></div>"),Iu=hn.vUu("<!> <!>",1),Bu=hn.vUu("<!> <!> <!>",1),$u=hn.vUu('<div class="svg-chart__legend"><!></div>');function Xu(t,n){var i=this;if(this instanceof Xu?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?Ju(Object(i),!0).forEach(function(n){Ou(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Ju(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:Xu},t));hn.VCO(n,!1);var r=hn._w2(n,"account",12),s=hn._w2(n,"growth",12),a=hn._w2(n,"res",12),u=hn.zgK("growth"),h=hn.zgK(),c=hn.zgK(),f=hn.zgK(null),l=hn.zgK(),d=hn.zgK(),v=function(t){return Su(this,i),Na()(100*t)+"%"}.bind(this),b=function(t){return Su(this,i),Math.round(t).toString()}.bind(this);hn.M3l(function(){return Su(this,i),hn.iTV(r())}.bind(this),function(){Su(this,i),hn.hZp(l,Va(r().digits))}.bind(this)),hn.M3l(function(){return Su(this,i),Ea}.bind(this),function(){Su(this,i),hn.hZp(d,Ea())}.bind(this)),hn.iqF();var p={get account(){return r()},set account(t){r(t),hn.bX()},get growth(){return s()},set growth(t){s(t),hn.bX()},get res(){return a()},set res(t){a(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return Su(this,i),hn.oeX(n,t,r)}.bind(this)};return hn.TsN(),Tu(t,{children:function(t,n){var e=this;Su(this,i);var p=Nu(),y=hn.jfp(p),g=function(t){var n=this;Su(this,e);var i=Eu(),p=hn.jfp(i);Tn(p,{get width(){return hn.JtY(h)},get height(){return hn.JtY(c)},gap:{top:.1,right:.01,bottom:.1,left:.001},padding:{top:8,right:8,bottom:0,left:0},children:function(t,i){var e=this;Su(this,n);var o=ku(),h=hn.esp(o);kn(h,{children:function(t,n){var i=this;Su(this,e);var r=zu(),o=hn.esp(r),a=hn.jfp(o),h=hn.Xdt(function(){return Su(this,i),"growth"===hn.JtY(u)?"var(--chart-line-width-2)":"var(--chart-line-width)"}.bind(this));yo(a,{color:["var(--c-chart-blue)"],get points(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Su(this,t),s().chart.blueLine}.bind(this))},name:"growth1",curve:"monotoneX",get width(){return hn.JtY(h)}});var c=hn.hg4(a),f=hn.Xdt(function(){return Su(this,i),"growth"===hn.JtY(u)?"var(--chart-line-width-2)":"var(--chart-line-width)"}.bind(this));yo(c,{color:["var(--c-chart-light-blue)"],get points(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Su(this,t),s().chart.grayLine}.bind(this))},name:"growth2",curve:"monotoneX",get width(){return hn.JtY(f)}}),hn.cLc(o);var l=hn.hg4(o),d=hn.Xdt(function(){return Su(this,i),"average"===hn.JtY(u)?"var(--chart-line-width-2)":"var(--chart-line-width)"}.bind(this));yo(l,{color:["var(--c-chart-grey)"],get points(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Su(this,t),s().chart.trendLine}.bind(this))},name:"average",curve:"linear",id:"growthLineaverage",get width(){return hn.JtY(d)}}),hn.BCw(t,r)}.bind(this),$$slots:{"default":!0,"y-axis":function(t,n){Su(this,e),ms(t,{grid:!0,slot:"y-axis",format:v})}.bind(this)}});var c=hn.hg4(h);ea(c,{color:["var(--c-chart-gray)"],lineWidth:1,invert:!0,size:8,strokeWidth:2,fill:!0,hideLine:!1,children:hn.y8B,$$slots:{"default":function(t,n){var i=this;Su(this,e);var r=hn.Xdt(function(){return Su(this,i),n.data}.bind(this)),o=Pu(),s=hn.jfp(o),u=hn.jfp(s),h=function(t){var n=this;Su(this,i);var e=Ku(),o=hn.jfp(e);ga(hn.jfp(o),{get color(){var t=this;return hn.iTV(hn.JtY(r)),hn.vzK(function(){return Su(this,t),hn.JtY(r)[0][1].color[0]}.bind(this))}}),hn.cLc(o);var s=hn.hg4(o),u=hn.IuP(s,!0),h=hn.hg4(s),c=hn.IuP(h,!0);hn.cLc(e),hn.vNg(function(t){var i=this;Su(this,n),hn.jax(u,(hn.iTV(a()),hn.vzK(function(){return Su(this,i),a().growth}.bind(this)))),hn.jax(c,t)}.bind(this),[function(){var t=this;return Su(this,n),hn.JtY(d),hn.iTV(hn.JtY(r)),hn.vzK(function(){return Su(this,t),hn.JtY(d)(hn.JtY(r)[0][1].value.y[0])}.bind(this))}.bind(this)]),hn.BCw(t,e)}.bind(this);hn["if"](u,function(t){var n=this;Su(this,i),hn.iTV(hn.JtY(r)),hn.vzK(function(){var t,i;return Su(this,n),(null===(t=hn.JtY(r))||void 0===t?void 0:t.length)&&(null===(i=hn.JtY(r)[0])||void 0===i?void 0:i.length)}.bind(this))&&t(h)}.bind(this)),hn.cLc(s),hn.cLc(o),hn.BCw(t,o)}.bind(this)}});var b=hn.hg4(c),p=function(t){var n=this;Su(this,e),kn(t,{children:function(t,i){var e=this;Su(this,n);var o=Cu(),s=hn.hg4(hn.esp(o)),a=hn.Xdt(function(){var t=this;return Su(this,e),hn.iTV(r()),hn.vzK(function(){var n=this;return Su(this,t),r().stops.map(function(t){return Su(this,n),{x:t.tradeIndex-1,y:[t.profit]}}.bind(this))}.bind(this))}.bind(this));la(s,{name:"stops",get points(){return hn.JtY(a)},children:hn.y8B,$$slots:{"default":function(t,n){var i=this;Su(this,e);
1var o,s=hn.Xdt(function(){return Su(this,i),n.point}.bind(this)),a=hn.Xdt(function(){return Su(this,i),n.group}.bind(this)),h=hn.Xdt(function(){return Su(this,i),n.x}.bind(this)),c=Mu();hn.vNg(function(t){var n=this;Su(this,i),hn.ToH(c,"xlink:href",(hn.iTV(hn.JtY(s)),hn.vzK(function(){return Su(this,n),hn.JtY(s).y[0]>0?"#flag_deposit":"#flag_withdrawal"}.bind(this)))),o=hn.ysU(c,0,"s-stop-flag",null,o,{"s-stop-flag-highlight":"deposits"===hn.JtY(u)&&hn.JtY(s).y[0]>0||"withdrawals"===hn.JtY(u)&&hn.JtY(s).y[0]<=0,"s-positive":hn.JtY(s).y[0]>0,"s-negative":hn.JtY(s).y[0]<=0}),hn.aIK(c,"x",hn.JtY(h)),hn.aIK(c,"y",t)}.bind(this),[function(){var t=this;return Su(this,i),hn.iTV(hn.JtY(a)),hn.iTV(hn.JtY(s)),hn.vzK(function(){return Su(this,t),hn.JtY(a).yScale(hn.JtY(a).yExtremum[hn.JtY(s).y[0]>0?0:1])}.bind(this))}.bind(this)]),hn.f0J("mouseenter",c,function(t){Su(this,i),t.target instanceof SVGUseElement&&hn.hZp(f,{x:t.target.x.baseVal.value,y:t.target.y.baseVal.value,value:hn.JtY(s).y[0],title:hn.JtY(l)(hn.JtY(s).y[0])+" "+r().currency})}.bind(this)),hn.f0J("mouseleave",c,function(){Su(this,i),hn.hZp(f,null)}.bind(this)),hn.BCw(t,c)}.bind(this)}}),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0}})}.bind(this);hn["if"](b,function(t){var n=this;Su(this,e),hn.iTV(r()),hn.vzK(function(){var t;return Su(this,n),null===(t=r().stops)||void 0===t?void 0:t.length}.bind(this))&&t(p)}.bind(this));var y=hn.hg4(b);hn.vNg(function(){var t;return Su(this,e),hn.ToH(y,"xlink:href","#growthLine".concat(null!==(t=hn.JtY(u))&&void 0!==t?t:""))}.bind(this)),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0,"x-axis":function(t,i){Su(this,n),os(t,{slot:"x-axis",format:b})}.bind(this)}});var y=hn.hg4(p,2),g=function(t){var i=this;Su(this,n);var r,e,o=Vu(),s=hn.IuP(o,!0);hn.vNg(function(){var t,n,a=this;Su(this,i),r=hn.ysU(o,1,"s-ui-tooltip s-stop-flag__tooltip",null,r,{"s-top":hn.JtY(f).value>0,"s-bottom":hn.JtY(f).value<=0}),e=hn.hgi(o,"",e,{top:"".concat(null!==(hn.JtY(f),t=hn.vzK(function(){return Su(this,a),hn.JtY(f).y}.bind(this)))&&void 0!==t?t:"","px"),left:"".concat(null!==(hn.JtY(f),n=hn.vzK(function(){return Su(this,a),hn.JtY(f).x}.bind(this)))&&void 0!==n?n:"","px")}),hn.jax(s,(hn.JtY(f),hn.vzK(function(){return Su(this,a),hn.JtY(f).title}.bind(this))))}.bind(this)),hn.BCw(t,o)}.bind(this);hn["if"](y,function(t){Su(this,n),hn.JtY(f)&&t(g)}.bind(this)),hn.cLc(i),hn.kYK(1,i,function(){return Su(this,n),o.Rv}.bind(this),function(){return Su(this,n),{duration:60}}.bind(this)),hn.BCw(t,i)}.bind(this),m=function(t){Su(this,e);var n=hn.Qq7("loading...");hn.BCw(t,n)}.bind(this);hn["if"](y,function(t){var n=this;Su(this,e),hn.iTV(s()),hn.vzK(function(){return Su(this,n),s().inited}.bind(this))?t(g):t(m,-1)}.bind(this)),hn.cLc(p),hn.BJV(p,"clientWidth",function(t){return Su(this,e),hn.hZp(h,t)}.bind(this)),hn.BJV(p,"clientHeight",function(t){return Su(this,e),hn.hZp(c,t)}.bind(this)),hn.BCw(t,p)}.bind(this),$$slots:{"default":!0,header:function(t,n){var e=this;Su(this,i);var o=$u();Ta(hn.jfp(o),{gap:0,children:function(t,n){var i=this;Su(this,e);var o=hn.Imx(),h=hn.esp(o),c=function(t){var n=this;Su(this,i);var e=Bu(),o=hn.esp(e);tu(o,{first:!0,percent:!0,color:"var(--c-chart-blue)",get label(){var t=this;return hn.iTV(a()),hn.vzK(function(){return Su(this,t),a().growth}.bind(this))},get value(){var t=this;return hn.iTV(r()),hn.vzK(function(){return Su(this,t),r().growth}.bind(this))},key:"growth",get group(){return hn.JtY(u)},set group(t){hn.hZp(u,t)},$$legacy:!0});var h=hn.hg4(o,2);tu(h,{percent:!0,color:"var(--c-chart-grey)",get label(){var t=this;return hn.iTV(a()),hn.vzK(function(){return Su(this,t),a().average}.bind(this))},get value(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Su(this,t),s().trendValue}.bind(this))},key:"average",get group(){return hn.JtY(u)},set group(t){hn.hZp(u,t)},$$legacy:!0});var c=hn.hg4(h,2),f=function(t){Su(this,n);var i=Iu(),e=hn.esp(i);tu(e,{money:!0,color:"var(--c-chart-green)",get label(){var t=this;return hn.iTV(a()),hn.vzK(function(){return Su(this,t),a().deposits}.bind(this))},get value(){var t=this;return hn.iTV(r()),hn.vzK(function(){return Su(this,t),r().deposits}.bind(this))},get currency(){var t=this;return hn.iTV(r()),hn.vzK(function(){return Su(this,t),r().currency}.bind(this))},key:"deposits",get group(){return hn.JtY(u)},set group(t){hn.hZp(u,t)},$$legacy:!0}),tu(hn.hg4(e,2),{money:!0,color:"var(--c-chart-red)",get label(){var t=this;return hn.iTV(a()),hn.vzK(function(){return Su(this,t),a().withdrawals}.bind(this))},get value(){var t=this;return hn.iTV(r()),hn.vzK(function(){return Su(this,t),r().withdrawals}.bind(this))},get currency(){var t=this;return hn.iTV(r()),hn.vzK(function(){return Su(this,t),r().currency}.bind(this))},key:"withdrawals",get group(){return hn.JtY(u)},set group(t){hn.hZp(u,t)},$$legacy:!0}),hn.BCw(t,i)}.bind(this);hn["if"](c,function(t){var i=this;Su(this,n),hn.iTV(r()),hn.vzK(function(){var t;return Su(this,i),null===(t=r().stops)||void 0===t?void 0:t.length}.bind(this))&&t(f)}.bind(this)),hn.BCw(t,e)}.bind(this);hn["if"](h,function(t){var n=this;Su(this,i),hn.iTV(s()),hn.vzK(function(){return Su(this,n),s().inited}.bind(this))&&t(c)}.bind(this)),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0}}),hn.cLc(o),hn.BCw(t,o)}.bind(this),footer:function(t,n){var r=this;Su(this,i),pu(t,{slot:"footer",children:function(t,n){var i=this;Su(this,r);var e=hn.Imx(),o=hn.esp(e),a=function(t){Su(this,i),fu(t,{percent:!0,get data(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Su(this,t),s().table}.bind(this))},get split(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Su(this,t),s().greyMonth}.bind(this))}})}.bind(this);hn["if"](o,function(t){var n=this;Su(this,i),hn.iTV(s()),hn.vzK(function(){return Su(this,n),s().inited&&s().table}.bind(this))&&t(a)}.bind(this)),hn.BCw(t,e)}.bind(this),$$slots:{"default":!0}})}.bind(this)}}),hn.uYY(p)}function Lu(t){return Lu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lu(t)}function Au(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function Du(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function Uu(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=Lu(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=Lu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}
1(t,"string");return"symbol"==Lu(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var Wu=hn.vUu("<!> <!> <!> <!> <!>",1),Zu=hn.vUu("<tr><td><!></td><td> </td><td> </td></tr>"),Fu=hn.vUu('<table class="svg-chart__chart-tooltip"><tbody><!></tbody></table>'),qu=hn._i8("<use></use>"),Hu=hn._i8('<defs><path id="flag_withdrawal" d="M-5 0 L0 7 L5 0 M-5 0"></path><path id="flag_deposit" d="M-5 0 L0 -7 L5 0 M-5 0"></path></defs><!>',1),Ru=hn.vUu("<!> <!> <!>",1),Gu=hn.vUu("<div> </div>"),Qu=hn.vUu('<div class="svg-chart__wrap"><!> <!></div>'),th=hn.vUu("<div><!></div>"),nh=hn.vUu("<!> <!>",1),ih=hn.vUu('<div class="svg-chart__legend"><!></div>');function rh(t,n){var i=this;if(this instanceof rh?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?Du(Object(i),!0).forEach(function(n){Uu(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Du(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:rh},t));hn.VCO(n,!1);var r=hn._w2(n,"account",12),s=hn._w2(n,"balance",12),a=hn._w2(n,"res",12),u=hn.zgK(),h=hn.zgK(),c=hn.zgK("balance"),f=hn.zgK(null),l=hn.zgK(),d=function(t){return Au(this,i),hn.JtY(l)(t)}.bind(this),v=function(t){return Au(this,i),Math.round(t).toString()}.bind(this);hn.M3l(function(){return Au(this,i),hn.iTV(r())}.bind(this),function(){Au(this,i),hn.hZp(l,Va(r().digits))}.bind(this)),hn.iqF();var b={get account(){return r()},set account(t){r(t),hn.bX()},get balance(){return s()},set balance(t){s(t),hn.bX()},get res(){return a()},set res(t){a(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return Au(this,i),hn.oeX(n,t,r)}.bind(this)};return hn.TsN(),Tu(t,{children:function(t,n){var e=this;Au(this,i);var b=th(),p=hn.jfp(b),y=function(t){var n=this;Au(this,e);var i=Qu(),b=hn.jfp(i);Tn(b,{get width(){return hn.JtY(u)},get height(){return hn.JtY(h)},gap:{top:.1,right:.01,bottom:.1,left:.001},padding:{top:8,right:8,bottom:0,left:0},children:function(t,i){var e=this;Au(this,n);var o=Ru(),u=hn.esp(o);kn(u,{children:function(t,n){var i=this;Au(this,e);var r=Wu(),o=hn.esp(r),a=hn.Xdt(function(){return Au(this,i),"balance"===hn.JtY(c)?"var(--chart-line-width-2)":"var(--chart-line-width)"}.bind(this));yo(o,{color:["var(--c-chart-blue)"],get points(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Au(this,t),s().chart.blueLine}.bind(this))},name:"balance1",curve:"monotoneX",get width(){return hn.JtY(a)}});var u=hn.hg4(o,2),h=hn.Xdt(function(){return Au(this,i),"balance"===hn.JtY(c)?"var(--chart-line-width-2)":"var(--chart-line-width)"}.bind(this));yo(u,{color:["var(--c-chart-light-blue)"],get points(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Au(this,t),s().chart.grayLine}.bind(this))},name:"balance2",curve:"monotoneX",get width(){return hn.JtY(h)}});var f=hn.hg4(u,2),l=hn.Xdt(function(){return Au(this,i),"average"===hn.JtY(c)?"var(--chart-line-width-2)":"var(--chart-line-width)"}.bind(this));yo(f,{color:["var(--c-chart-grey)"],get points(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Au(this,t),s().chart.trendLine}.bind(this))},name:"average",curve:"linear",get width(){return hn.JtY(l)}});var d=hn.hg4(f,2),v=function(t){var n=this;Au(this,i);var r=hn.Imx(),e=hn.esp(r);hn.__1(e,1,function(){var t=this;return Au(this,n),hn.iTV(s()),hn.vzK(function(){return Au(this,t),s().chart.deposits}.bind(this))}.bind(this),hn.Pe0,function(t,i,r){var e=this;Au(this,n);var o=hn.Xdt(function(){return Au(this,e),"deposits"===hn.JtY(c)?"var(--chart-line-width-2)":"var(--chart-line-width)"}.bind(this));yo(t,{color:["var(--c-chart-green)"],get points(){return hn.JtY(i)},name:"deposit".concat(r),curve:"linear",get width(){return hn.JtY(o)}})}.bind(this)),hn.BCw(t,r)}.bind(this);hn["if"](d,function(t){var n=this;Au(this,i),hn.iTV(s()),hn.vzK(function(){var t;return Au(this,n),null===(t=s().chart.deposits)||void 0===t?void 0:t.length}.bind(this))&&t(v)}.bind(this));var b=hn.hg4(d,2),p=function(t){var n=this;Au(this,i);var r=hn.Imx(),e=hn.esp(r);hn.__1(e,1,function(){var t=this;return Au(this,n),hn.iTV(s()),hn.vzK(function(){return Au(this,t),s().chart.withdrawals}.bind(this))}.bind(this),hn.Pe0,function(t,i,r){var e=this;Au(this,n);var o=hn.Xdt(function(){return Au(this,e),"withdrawals"===hn.JtY(c)?"var(--chart-line-width-2)":"var(--chart-line-width)"}.bind(this));yo(t,{color:["var(--c-chart-red)"],get points(){return hn.JtY(i)},name:"withdrawal".concat(r),curve:"linear",get width(){return hn.JtY(o)}})}.bind(this)),hn.BCw(t,r)}.bind(this);hn["if"](b,function(t){var n=this;Au(this,i),hn.iTV(s()),hn.vzK(function(){var t;return Au(this,n),null===(t=s().chart.withdrawals)||void 0===t?void 0:t.length}.bind(this))&&t(p)}.bind(this)),hn.BCw(t,r)}.bind(this),$$slots:{"default":!0,"y-axis":function(t,n){Au(this,e),ms(t,{grid:!0,slot:"y-axis",format:d})}.bind(this)}});var h=hn.hg4(u,2);ea(h,{color:["var(--c-chart-gray)"],lineWidth:1,invert:!0,size:8,strokeWidth:2,fill:!0,hideLine:!1,children:hn.y8B,$$slots:{"default":function(t,n){var i=this;Au(this,e);var r=hn.Xdt(function(){return Au(this,i),n.data}.bind(this)),o=Fu(),s=hn.jfp(o),u=hn.jfp(s),h=function(t){var n=this;Au(this,i);var e=Zu(),o=hn.jfp(e);ga(hn.jfp(o),{get color(){var t=this;return hn.iTV(hn.JtY(r)),hn.vzK(function(){return Au(this,t),hn.JtY(r)[0][1].color[0]}.bind(this))}}),hn.cLc(o);var s=hn.hg4(o),u=hn.IuP(s,!0),h=hn.hg4(s),c=hn.IuP(h,!0);hn.cLc(e),hn.vNg(function(t){var i=this;Au(this,n),hn.jax(u,(hn.iTV(a()),hn.vzK(function(){return Au(this,i),a().balance}.bind(this)))),hn.jax(c,t)}.bind(this),[function(){var t=this;return Au(this,n),hn.JtY(l),hn.iTV(hn.JtY(r)),hn.vzK(function(){return Au(this,t),hn.JtY(l)(hn.JtY(r)[0][1].value.y[0])}.bind(this))}.bind(this)]),hn.BCw(t,e)}.bind(this);hn["if"](u,function(t){var n=this;Au(this,i),hn.iTV(hn.JtY(r)),hn.vzK(function(){var t,i;return Au(this,n),(null===(t=hn.JtY(r))||void 0===t?void 0:t.length)&&(null===(i=hn.JtY(r)[0])||void 0===i?void 0:i.length)}.bind(this))&&t(h)}.bind(this)),hn.cLc(s),hn.cLc(o),hn.BCw(t,o)}.bind(this)}});var v=hn.hg4(h,2),b=function(t){var n=this;Au(this,e),kn(t,{children:function(t,i){var e=this;Au(this,n);var o=Hu(),s=hn.hg4(hn.esp(o)),a=hn.Xdt(function(){var t=this;return Au(this,e),hn.iTV(r()),hn.vzK(function(){var n=this;return Au(this,t),r().stops.map(function(t){return Au(this,n),{x:t.dealIndex-1,y:[t.profit]}}.bind(this))}.bind(this))}.bind(this));la(s,{name:"stops",get points(){return hn.JtY(a)},children:hn.y8B,$$slots:{"default":function(t,n){var i=this;Au(this,e);
1var o,s=hn.Xdt(function(){return Au(this,i),n.point}.bind(this)),a=hn.Xdt(function(){return Au(this,i),n.group}.bind(this)),u=hn.Xdt(function(){return Au(this,i),n.x}.bind(this)),h=qu();hn.vNg(function(t){var n=this;Au(this,i),hn.ToH(h,"xlink:href",(hn.iTV(hn.JtY(s)),hn.vzK(function(){return Au(this,n),hn.JtY(s).y[0]>0?"#flag_deposit":"#flag_withdrawal"}.bind(this)))),o=hn.ysU(h,0,"s-stop-flag",null,o,{"s-stop-flag-highlight":"deposits"===hn.JtY(c)&&hn.JtY(s).y[0]>0||"withdrawals"===hn.JtY(c)&&hn.JtY(s).y[0]<=0,"s-positive":hn.JtY(s).y[0]>0,"s-negative":hn.JtY(s).y[0]<=0}),hn.aIK(h,"x",hn.JtY(u)),hn.aIK(h,"y",t)}.bind(this),[function(){var t=this;return Au(this,i),hn.iTV(hn.JtY(a)),hn.iTV(hn.JtY(s)),hn.vzK(function(){return Au(this,t),hn.JtY(a).yScale(hn.JtY(a).yExtremum[hn.JtY(s).y[0]>0?0:1])}.bind(this))}.bind(this)]),hn.f0J("mouseenter",h,function(t){Au(this,i),t.target instanceof SVGUseElement&&hn.hZp(f,{x:t.target.x.baseVal.value,y:t.target.y.baseVal.value,value:hn.JtY(s).y[0],title:hn.JtY(l)(hn.JtY(s).y[0])+" "+r().currency})}.bind(this)),hn.f0J("mouseleave",h,function(){Au(this,i),hn.hZp(f,null)}.bind(this)),hn.BCw(t,h)}.bind(this)}}),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0}})}.bind(this);hn["if"](v,function(t){var n=this;Au(this,e),hn.iTV(r()),hn.vzK(function(){var t;return Au(this,n),null===(t=r().stops)||void 0===t?void 0:t.length}.bind(this))&&t(b)}.bind(this)),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0,"x-axis":function(t,i){Au(this,n),os(t,{slot:"x-axis",format:v})}.bind(this)}});var p=hn.hg4(b,2),y=function(t){var i=this;Au(this,n);var r,e,o=Gu(),s=hn.IuP(o,!0);hn.vNg(function(){var t,n,a=this;Au(this,i),r=hn.ysU(o,1,"s-ui-tooltip s-stop-flag__tooltip",null,r,{"s-top":hn.JtY(f).value>0,"s-bottom":hn.JtY(f).value<=0}),e=hn.hgi(o,"",e,{top:"".concat(null!==(hn.JtY(f),t=hn.vzK(function(){return Au(this,a),hn.JtY(f).y}.bind(this)))&&void 0!==t?t:"","px"),left:"".concat(null!==(hn.JtY(f),n=hn.vzK(function(){return Au(this,a),hn.JtY(f).x}.bind(this)))&&void 0!==n?n:"","px")}),hn.jax(s,(hn.JtY(f),hn.vzK(function(){return Au(this,a),hn.JtY(f).title}.bind(this))))}.bind(this)),hn.BCw(t,o)}.bind(this);hn["if"](p,function(t){Au(this,n),hn.JtY(f)&&t(y)}.bind(this)),hn.cLc(i),hn.kYK(1,i,function(){return Au(this,n),o.Rv}.bind(this),function(){return Au(this,n),{duration:60}}.bind(this)),hn.BCw(t,i)}.bind(this),g=function(t){Au(this,e);var n=hn.Qq7("loading...");hn.BCw(t,n)}.bind(this);hn["if"](p,function(t){var n=this;Au(this,e),hn.iTV(s()),hn.vzK(function(){return Au(this,n),s().inited}.bind(this))?t(y):t(g,-1)}.bind(this)),hn.cLc(b),hn.BJV(b,"clientWidth",function(t){return Au(this,e),hn.hZp(u,t)}.bind(this)),hn.BJV(b,"clientHeight",function(t){return Au(this,e),hn.hZp(h,t)}.bind(this)),hn.BCw(t,b)}.bind(this),$$slots:{"default":!0,header:function(t,n){var e=this;Au(this,i);var o=ih();Ta(hn.jfp(o),{gap:0,children:function(t,n){var i=this;Au(this,e);var o=hn.Imx(),u=hn.esp(o),h=function(t){var n=this;Au(this,i);var e=Ru(),o=hn.esp(e);tu(o,{first:!0,money:!0,key:"balance",color:"var(--c-chart-blue)",get label(){var t=this;return hn.iTV(a()),hn.vzK(function(){return Au(this,t),a().balance}.bind(this))},get value(){var t=this;return hn.iTV(r()),hn.vzK(function(){return Au(this,t),r().balance}.bind(this))},get currency(){var t=this;return hn.iTV(r()),hn.vzK(function(){return Au(this,t),r().currency}.bind(this))},get group(){return hn.JtY(c)},set group(t){hn.hZp(c,t)},$$legacy:!0});var u=hn.hg4(o,2),h=hn.Xdt(function(){var t=this;return Au(this,n),hn.iTV(s()),hn.iTV(r()),hn.vzK(function(){return Au(this,t),s().trendValue?r().currency:undefined}.bind(this))}.bind(this));tu(u,{money:!0,key:"average",color:"var(--c-chart-grey)",get label(){var t=this;return hn.iTV(a()),hn.vzK(function(){return Au(this,t),a().average}.bind(this))},get value(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Au(this,t),s().trendValue}.bind(this))},get currency(){return hn.JtY(h)},get group(){return hn.JtY(c)},set group(t){hn.hZp(c,t)},$$legacy:!0});var f=hn.hg4(u,2),l=function(t){Au(this,n);var i=nh(),e=hn.esp(i);tu(e,{money:!0,key:"deposits",color:"var(--c-chart-green)",get label(){var t=this;return hn.iTV(a()),hn.vzK(function(){return Au(this,t),a().deposits}.bind(this))},get value(){var t=this;return hn.iTV(r()),hn.vzK(function(){return Au(this,t),r().deposits}.bind(this))},get currency(){var t=this;return hn.iTV(r()),hn.vzK(function(){return Au(this,t),r().currency}.bind(this))},get group(){return hn.JtY(c)},set group(t){hn.hZp(c,t)},$$legacy:!0}),tu(hn.hg4(e,2),{money:!0,key:"withdrawals",color:"var(--c-chart-red)",get label(){var t=this;return hn.iTV(a()),hn.vzK(function(){return Au(this,t),a().withdrawals}.bind(this))},get value(){var t=this;return hn.iTV(r()),hn.vzK(function(){return Au(this,t),r().withdrawals}.bind(this))},get currency(){var t=this;return hn.iTV(r()),hn.vzK(function(){return Au(this,t),r().currency}.bind(this))},get group(){return hn.JtY(c)},set group(t){hn.hZp(c,t)},$$legacy:!0}),hn.BCw(t,i)}.bind(this);hn["if"](f,function(t){var i=this;Au(this,n),hn.iTV(r()),hn.vzK(function(){var t;return Au(this,i),null===(t=r().stops)||void 0===t?void 0:t.length}.bind(this))&&t(l)}.bind(this)),hn.BCw(t,e)}.bind(this);hn["if"](u,function(t){var n=this;Au(this,i),hn.iTV(s()),hn.vzK(function(){return Au(this,n),s().inited}.bind(this))&&t(h)}.bind(this)),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0}}),hn.cLc(o),hn.BCw(t,o)}.bind(this),footer:function(t,n){var e=this;Au(this,i),pu(t,{slot:"footer",children:function(t,n){var i=this;Au(this,e);var o=hn.Imx(),a=hn.esp(o),u=function(t){Au(this,i),fu(t,{money:!0,get data(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Au(this,t),s().table}.bind(this))},get currency(){var t=this;return hn.iTV(r()),hn.vzK(function(){return Au(this,t),r().currency}.bind(this))}})}.bind(this);hn["if"](a,function(t){var n=this;Au(this,i),hn.iTV(s()),hn.vzK(function(){return Au(this,n),s().inited&&s().table}.bind(this))&&t(u)}.bind(this)),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0}})}.bind(this)}}),hn.uYY(b)}function eh(t){return eh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},eh(t)}function oh(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function sh(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function ah(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=eh(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=eh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}
1(t,"string");return"symbol"==eh(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var uh=hn._i8("<!><!>",1),hh=hn.vUu("<tr><td><!></td><td> </td><td> </td></tr>"),ch=hn.vUu("<!> <!>",1),fh=hn.vUu('<table class="svg-chart__chart-tooltip"><tbody><tr><td colspan="3"> </td></tr><!></tbody></table>'),lh=hn._i8("<use></use>"),dh=hn._i8('<defs><path id="flag_withdrawal" d="M-5 0 L0 7 L5 0 M-5 0"></path><path id="flag_deposit" d="M-5 0 L0 -7 L5 0 M-5 0"></path></defs><!>',1),vh=hn._i8("<!><!><!><use></use>",1),bh=hn.vUu("<div> </div>"),ph=hn.vUu('<div class="svg-chart__wrap"><!> <!></div>'),yh=hn.vUu("<div><!></div>"),gh=hn.vUu('<div class="svg-chart__legend"><!></div>');function mh(t,n){var i=this;if(this instanceof mh?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?sh(Object(i),!0).forEach(function(n){ah(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):sh(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:mh},t));hn.VCO(n,!1);var r=hn._w2(n,"account",12),s=hn._w2(n,"equity",12),a=hn._w2(n,"res",12),u=hn.zgK("equity"),h=hn.zgK(null),c=hn.zgK(),f=hn.zgK(),l=hn.zgK(),d=s().inited&&s().chart.length&&s().chart[0].length>1?s().chart[0][s().chart[0].length-1].x-s().chart[0][0].x:0,v=function(t){return oh(this,i),hn.JtY(l)(t)}.bind(this),b=function(t){return oh(this,i),Ka(d,t)}.bind(this);hn.M3l(function(){return oh(this,i),hn.iTV(r())}.bind(this),function(){oh(this,i),hn.hZp(l,Va(r().digits))}.bind(this)),hn.iqF();var p={get account(){return r()},set account(t){r(t),hn.bX()},get equity(){return s()},set equity(t){s(t),hn.bX()},get res(){return a()},set res(t){a(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return oh(this,i),hn.oeX(n,t,r)}.bind(this)};return hn.TsN(),Tu(t,{children:function(t,n){var e=this;oh(this,i);var p=yh(),y=hn.jfp(p),g=function(t){var n=this;oh(this,e);var i=ph(),p=hn.jfp(i);Tn(p,{get width(){return hn.JtY(c)},get height(){return hn.JtY(f)},gap:{top:.1,right:.01,bottom:.1,left:.001},padding:{top:8,right:8,bottom:0,left:0},children:function(t,i){var e=this;oh(this,n);var o=vh(),c=hn.esp(o);kn(c,{children:function(t,n){var i=this;oh(this,e);var r=uh(),o=hn.esp(r),a=hn.Xdt(function(){return oh(this,i),"balance"===hn.JtY(u)?"var(--chart-line-width-2)":"var(--chart-line-width)"}.bind(this));yo(o,{color:["var(--c-chart-blue)"],get points(){var t=this;return hn.iTV(s()),hn.vzK(function(){return oh(this,t),s().chart[0]}.bind(this))},name:"balance",curve:"stepAfter",id:"equityLinebalance",get width(){return hn.JtY(a)}});var h=hn.hg4(o),c=hn.Xdt(function(){return oh(this,i),"equity"===hn.JtY(u)?"var(--chart-line-width-2)":"var(--chart-line-width)"}.bind(this));yo(h,{color:["var(--c-chart-green)"],get points(){var t=this;return hn.iTV(s()),hn.vzK(function(){return oh(this,t),s().chart[1]}.bind(this))},name:"equity",curve:"stepAfter",id:"equityLineequity",get width(){return hn.JtY(c)}}),hn.BCw(t,r)}.bind(this),$$slots:{"default":!0,"y-axis":function(t,n){oh(this,e),ms(t,{grid:!0,slot:"y-axis",format:v})}.bind(this)}});var f=hn.hg4(c);ea(f,{color:["var(--c-chart-gray)"],lineWidth:1,invert:!0,size:8,strokeWidth:2,fill:!0,hideLine:!1,children:hn.y8B,$$slots:{"default":function(t,n){var i=this;oh(this,e);var r=hn.Xdt(function(){return oh(this,i),n.data}.bind(this)),o=fh(),s=hn.jfp(o),u=hn.jfp(s),h=hn.jfp(u),c=hn.IuP(h,!0);hn.cLc(u);var f=hn.hg4(u);hn.__1(f,1,function(){return oh(this,i),hn.JtY(r)}.bind(this),hn.Pe0,function(t,n){var r=this;oh(this,i);var e=hn.unG(function(){return oh(this,r),hn._Nj(hn.JtY(n),2)}.bind(this)),o=function(){return oh(this,r),hn.JtY(e)[0]}.bind(this),s=function(){return oh(this,r),hn.JtY(e)[1]}.bind(this),u=ch(),h=hn.esp(u),c=function(t){var n=this;oh(this,r);var i=hh(),e=hn.jfp(i);ga(hn.jfp(e),{get color(){var t=this;return s(),hn.vzK(function(){return oh(this,t),s().color[0]}.bind(this))}}),hn.cLc(e);var o=hn.hg4(e),u=hn.IuP(o,!0),h=hn.hg4(o),c=hn.IuP(h,!0);hn.cLc(i),hn.vNg(function(t){var i=this;oh(this,n),hn.jax(u,(hn.iTV(a()),hn.vzK(function(){return oh(this,i),a().balance}.bind(this)))),hn.jax(c,t)}.bind(this),[function(){var t=this;return oh(this,n),hn.JtY(l),s(),hn.vzK(function(){return oh(this,t),hn.JtY(l)(s().value.y[0])}.bind(this))}.bind(this)]),hn.BCw(t,i)}.bind(this);hn["if"](h,function(t){oh(this,r),"balance"===o()&&t(c)}.bind(this));var f=hn.hg4(h,2),d=function(t){var n=this;oh(this,r);var i=hh(),e=hn.jfp(i);ga(hn.jfp(e),{get color(){var t=this;return s(),hn.vzK(function(){return oh(this,t),s().color[0]}.bind(this))}}),hn.cLc(e);var o=hn.hg4(e),u=hn.IuP(o,!0),h=hn.hg4(o),c=hn.IuP(h,!0);hn.cLc(i),hn.vNg(function(t){var i=this;oh(this,n),hn.jax(u,(hn.iTV(a()),hn.vzK(function(){return oh(this,i),a().equity}.bind(this)))),hn.jax(c,t)}.bind(this),[function(){var t=this;return oh(this,n),hn.JtY(l),s(),hn.vzK(function(){return oh(this,t),hn.JtY(l)(s().value.y[0])}.bind(this))}.bind(this)]),hn.BCw(t,i)}.bind(this);hn["if"](f,function(t){oh(this,r),"equity"===o()&&t(d)}.bind(this)),hn.BCw(t,u)}.bind(this)),hn.cLc(s),hn.cLc(o),hn.vNg(function(t){return oh(this,i),hn.jax(c,t)}.bind(this),[function(){var t=this;return oh(this,i),hn.iTV(Ka),hn.iTV(hn.JtY(r)),hn.vzK(function(){return oh(this,t),Ka(d,hn.JtY(r)[0][1].value.x)}.bind(this))}.bind(this)]),hn.BCw(t,o)}.bind(this)}});var b=hn.hg4(f),p=function(t){var n=this;oh(this,e),kn(t,{children:function(t,i){var e=this;oh(this,n);var o=dh(),a=hn.hg4(hn.esp(o)),c=hn.Xdt(function(){var t=this;return oh(this,e),hn.iTV(r()),hn.iTV(s()),hn.vzK(function(){var n=this;return oh(this,t),r().stops.filter(function(t){return oh(this,n),1e3*t.timestamp>=s().chart[0][0].x}.bind(this)).map(function(t){return oh(this,n),{x:1e3*t.timestamp,y:[t.profit]}}.bind(this))}.bind(this))}.bind(this));la(a,{name:"stops",get points(){return hn.JtY(c)},children:hn.y8B,$$slots:{"default":function(t,n){var i=this;oh(this,e);
1var o,s=hn.Xdt(function(){return oh(this,i),n.point}.bind(this)),a=hn.Xdt(function(){return oh(this,i),n.group}.bind(this)),c=hn.Xdt(function(){return oh(this,i),n.x}.bind(this)),f=lh();hn.vNg(function(t){var n=this;oh(this,i),hn.ToH(f,"xlink:href",(hn.iTV(hn.JtY(s)),hn.vzK(function(){return oh(this,n),hn.JtY(s).y[0]>0?"#flag_deposit":"#flag_withdrawal"}.bind(this)))),o=hn.ysU(f,0,"s-stop-flag",null,o,{"s-stop-flag-highlight":"deposits"===hn.JtY(u)&&hn.JtY(s).y[0]>0||"withdrawals"===hn.JtY(u)&&hn.JtY(s).y[0]<=0,"s-positive":hn.JtY(s).y[0]>0,"s-negative":hn.JtY(s).y[0]<=0}),hn.aIK(f,"x",hn.JtY(c)),hn.aIK(f,"y",t)}.bind(this),[function(){var t=this;return oh(this,i),hn.iTV(hn.JtY(a)),hn.iTV(hn.JtY(s)),hn.vzK(function(){return oh(this,t),hn.JtY(a).yScale(hn.JtY(a).yExtremum[hn.JtY(s).y[0]>0?0:1])}.bind(this))}.bind(this)]),hn.f0J("mouseenter",f,function(t){oh(this,i),t.target instanceof SVGUseElement&&hn.hZp(h,{x:t.target.x.baseVal.value,y:t.target.y.baseVal.value,value:hn.JtY(s).y[0],title:hn.JtY(l)(hn.JtY(s).y[0])+" "+r().currency})}.bind(this)),hn.f0J("mouseleave",f,function(){oh(this,i),hn.hZp(h,null)}.bind(this)),hn.BCw(t,f)}.bind(this)}}),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0}})}.bind(this);hn["if"](b,function(t){var n=this;oh(this,e),hn.iTV(r()),hn.iTV(s()),hn.vzK(function(){var t;return oh(this,n),(null===(t=r().stops)||void 0===t?void 0:t.length)&&s().chart.length&&s().chart[0].length}.bind(this))&&t(p)}.bind(this));var y=hn.hg4(b);hn.vNg(function(){var t;return oh(this,e),hn.ToH(y,"xlink:href","#equityLine".concat(null!==(t=hn.JtY(u))&&void 0!==t?t:""))}.bind(this)),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0,"x-axis":function(t,i){oh(this,n),os(t,{slot:"x-axis",format:b})}.bind(this)}});var y=hn.hg4(p,2),g=function(t){var i=this;oh(this,n);var r,e,o=bh(),s=hn.IuP(o,!0);hn.vNg(function(){var t,n,a=this;oh(this,i),r=hn.ysU(o,1,"s-ui-tooltip s-stop-flag__tooltip",null,r,{"s-top":hn.JtY(h).value>0,"s-bottom":hn.JtY(h).value<=0}),e=hn.hgi(o,"",e,{top:"".concat(null!==(hn.JtY(h),t=hn.vzK(function(){return oh(this,a),hn.JtY(h).y}.bind(this)))&&void 0!==t?t:"","px"),left:"".concat(null!==(hn.JtY(h),n=hn.vzK(function(){return oh(this,a),hn.JtY(h).x}.bind(this)))&&void 0!==n?n:"","px")}),hn.jax(s,(hn.JtY(h),hn.vzK(function(){return oh(this,a),hn.JtY(h).title}.bind(this))))}.bind(this)),hn.BCw(t,o)}.bind(this);hn["if"](y,function(t){oh(this,n),hn.JtY(h)&&t(g)}.bind(this)),hn.cLc(i),hn.kYK(1,i,function(){return oh(this,n),o.Rv}.bind(this),function(){return oh(this,n),{duration:60}}.bind(this)),hn.BCw(t,i)}.bind(this),m=function(t){oh(this,e);var n=hn.Qq7("loading...");hn.BCw(t,n)}.bind(this);hn["if"](y,function(t){var n=this;oh(this,e),hn.iTV(s()),hn.vzK(function(){return oh(this,n),s().inited}.bind(this))?t(g):t(m,-1)}.bind(this)),hn.cLc(p),hn.BJV(p,"clientWidth",function(t){return oh(this,e),hn.hZp(c,t)}.bind(this)),hn.BJV(p,"clientHeight",function(t){return oh(this,e),hn.hZp(f,t)}.bind(this)),hn.BCw(t,p)}.bind(this),$$slots:{"default":!0,header:function(t,n){var e=this;oh(this,i);var o=gh();Ta(hn.jfp(o),{gap:0,children:function(t,n){var i=this;oh(this,e);var o=hn.Imx(),h=hn.esp(o),c=function(t){oh(this,i);var n=ch(),e=hn.esp(n);tu(e,{first:!0,money:!0,color:"var(--c-chart-green)",get label(){var t=this;return hn.iTV(a()),hn.vzK(function(){return oh(this,t),a().equity}.bind(this))},get value(){var t=this;return hn.iTV(r()),hn.vzK(function(){return oh(this,t),r().equity}.bind(this))},get currency(){var t=this;return hn.iTV(r()),hn.vzK(function(){return oh(this,t),r().currency}.bind(this))},key:"equity",get group(){return hn.JtY(u)},set group(t){hn.hZp(u,t)},$$legacy:!0}),tu(hn.hg4(e,2),{money:!0,color:"var(--c-chart-blue)",get label(){var t=this;return hn.iTV(a()),hn.vzK(function(){return oh(this,t),a().balance}.bind(this))},get value(){var t=this;return hn.iTV(r()),hn.vzK(function(){return oh(this,t),r().balance}.bind(this))},get currency(){var t=this;return hn.iTV(r()),hn.vzK(function(){return oh(this,t),r().currency}.bind(this))},key:"balance",get group(){return hn.JtY(u)},set group(t){hn.hZp(u,t)},$$legacy:!0}),hn.BCw(t,n)}.bind(this);hn["if"](h,function(t){var n=this;oh(this,i),hn.iTV(s()),hn.vzK(function(){return oh(this,n),s().inited}.bind(this))&&t(c)}.bind(this)),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0}}),hn.cLc(o),hn.BCw(t,o)}.bind(this)}}),hn.uYY(p)}function wh(t){return wh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wh(t)}function _h(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function xh(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function Yh(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=wh(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=wh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}
1(t,"string");return"symbol"==wh(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var Th=hn.vUu("<tr><td><!></td><td> </td><td> </td></tr>"),jh=hn.vUu('<table class="svg-chart__chart-tooltip"><tbody><tr><td colspan="3"> </td></tr><!></tbody></table>'),Sh=hn._i8("<use></use>"),Jh=hn._i8('<defs><path id="flag_withdrawal" d="M-5 0 L0 7 L5 0 M-5 0"></path><path id="flag_deposit" d="M-5 0 L0 -7 L5 0 M-5 0"></path></defs><!>',1),Oh=hn.vUu("<!> <!> <!>",1),zh=hn.vUu("<div> </div>"),Kh=hn.vUu('<div class="svg-chart__wrap"><!> <!></div>'),Ph=hn.vUu("<div><!></div>"),Mh=hn.vUu('<div class="svg-chart__legend"><!></div>');function Ch(t,n){var i=this;if(this instanceof Ch?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?xh(Object(i),!0).forEach(function(n){Yh(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):xh(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:Ch},t));hn.VCO(n,!1);var r=hn._w2(n,"account",12),s=hn._w2(n,"equity",12),a=hn._w2(n,"res",12),u=hn.zgK("equity"),h=hn.zgK(null),c=hn.zgK(),f=hn.zgK(),l=hn.zgK(),d=s().inited&&s().chart.length&&s().chart[0].length>1?s().chart[0][s().chart[0].length-1].x-s().chart[0][0].x:0,v=function(t){return _h(this,i),hn.JtY(l)(t)}.bind(this),b=function(t){return _h(this,i),Ka(d,t)}.bind(this);hn.M3l(function(){return _h(this,i),hn.iTV(r())}.bind(this),function(){_h(this,i),hn.hZp(l,Va(r().digits))}.bind(this)),hn.iqF();var p={get account(){return r()},set account(t){r(t),hn.bX()},get equity(){return s()},set equity(t){s(t),hn.bX()},get res(){return a()},set res(t){a(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return _h(this,i),hn.oeX(n,t,r)}.bind(this)};return hn.TsN(),Tu(t,{children:function(t,n){var e=this;_h(this,i);var p=Ph(),y=hn.jfp(p),g=function(t){var n=this;_h(this,e);var i=Kh(),p=hn.jfp(i);Tn(p,{get width(){return hn.JtY(c)},get height(){return hn.JtY(f)},gap:{top:.1,right:.01,bottom:.1,left:.001},padding:{top:8,right:8,bottom:0,left:0},children:function(t,i){var e=this;_h(this,n);var o=Oh(),c=hn.esp(o);kn(c,{children:function(t,n){var i=this;_h(this,e);var r=hn.Xdt(function(){return _h(this,i),"balance"===hn.JtY(u)?"var(--chart-line-width-2)":"var(--chart-line-width)"}.bind(this));yo(t,{color:["var(--c-chart-green)"],get points(){var t=this;return hn.iTV(s()),hn.vzK(function(){return _h(this,t),s().chart[0]}.bind(this))},name:"equity",curve:"stepAfter",get width(){return hn.JtY(r)}})}.bind(this),$$slots:{"default":!0,"y-axis":function(t,n){_h(this,e),ms(t,{grid:!0,slot:"y-axis",format:v})}.bind(this)}});var f=hn.hg4(c,2);ea(f,{color:["var(--c-chart-gray)"],lineWidth:1,invert:!0,size:8,strokeWidth:2,fill:!0,hideLine:!1,children:hn.y8B,$$slots:{"default":function(t,n){var i=this;_h(this,e);var r=hn.Xdt(function(){return _h(this,i),n.data}.bind(this)),o=jh(),s=hn.jfp(o),u=hn.jfp(s),h=hn.jfp(u),c=hn.IuP(h,!0);hn.cLc(u);var f=hn.hg4(u);hn.__1(f,1,function(){return _h(this,i),hn.JtY(r)}.bind(this),hn.Pe0,function(t,n){var r=this;_h(this,i);var e=hn.unG(function(){return _h(this,r),hn._Nj(hn.JtY(n),2)}.bind(this)),o=function(){return _h(this,r),hn.JtY(e)[0]}.bind(this),s=function(){return _h(this,r),hn.JtY(e)[1]}.bind(this),u=hn.Imx(),h=hn.esp(u),c=function(t){var n=this;_h(this,r);var i=Th(),e=hn.jfp(i);ga(hn.jfp(e),{get color(){var t=this;return s(),hn.vzK(function(){return _h(this,t),s().color[0]}.bind(this))}}),hn.cLc(e);var o=hn.hg4(e),u=hn.IuP(o,!0),h=hn.hg4(o),c=hn.IuP(h,!0);hn.cLc(i),hn.vNg(function(t){var i=this;_h(this,n),hn.jax(u,(hn.iTV(a()),hn.vzK(function(){return _h(this,i),a().equity}.bind(this)))),hn.jax(c,t)}.bind(this),[function(){var t=this;return _h(this,n),hn.JtY(l),s(),hn.vzK(function(){return _h(this,t),hn.JtY(l)(s().value.y[0])}.bind(this))}.bind(this)]),hn.BCw(t,i)}.bind(this);hn["if"](h,function(t){_h(this,r),"equity"===o()&&t(c)}.bind(this)),hn.BCw(t,u)}.bind(this)),hn.cLc(s),hn.cLc(o),hn.vNg(function(t){return _h(this,i),hn.jax(c,t)}.bind(this),[function(){var t=this;return _h(this,i),hn.iTV(Ka),hn.iTV(hn.JtY(r)),hn.vzK(function(){return _h(this,t),Ka(d,hn.JtY(r)[0][1].value.x)}.bind(this))}.bind(this)]),hn.BCw(t,o)}.bind(this)}});var b=hn.hg4(f,2),p=function(t){var n=this;_h(this,e),kn(t,{children:function(t,i){var e=this;_h(this,n);var o=Jh(),a=hn.hg4(hn.esp(o)),c=hn.Xdt(function(){var t=this;return _h(this,e),hn.iTV(r()),hn.iTV(s()),hn.vzK(function(){var n=this;return _h(this,t),r().stops.filter(function(t){return _h(this,n),1e3*t.timestamp>=s().chart[0][0].x}.bind(this)).map(function(t){return _h(this,n),{x:1e3*t.timestamp,y:[t.profit]}}.bind(this))}.bind(this))}.bind(this));la(a,{name:"stops",get points(){return hn.JtY(c)},children:hn.y8B,$$slots:{"default":function(t,n){var i=this;_h(this,e);
1var o,s=hn.Xdt(function(){return _h(this,i),n.point}.bind(this)),a=hn.Xdt(function(){return _h(this,i),n.group}.bind(this)),c=hn.Xdt(function(){return _h(this,i),n.x}.bind(this)),f=Sh();hn.vNg(function(t){var n=this;_h(this,i),hn.ToH(f,"xlink:href",(hn.iTV(hn.JtY(s)),hn.vzK(function(){return _h(this,n),hn.JtY(s).y[0]>0?"#flag_deposit":"#flag_withdrawal"}.bind(this)))),o=hn.ysU(f,0,"s-stop-flag",null,o,{"s-stop-flag-highlight":"deposits"===hn.JtY(u)&&hn.JtY(s).y[0]>0||"withdrawals"===hn.JtY(u)&&hn.JtY(s).y[0]<=0,"s-positive":hn.JtY(s).y[0]>0,"s-negative":hn.JtY(s).y[0]<=0}),hn.aIK(f,"x",hn.JtY(c)),hn.aIK(f,"y",t)}.bind(this),[function(){var t=this;return _h(this,i),hn.iTV(hn.JtY(a)),hn.iTV(hn.JtY(s)),hn.vzK(function(){return _h(this,t),hn.JtY(a).yScale(hn.JtY(a).yExtremum[hn.JtY(s).y[0]>0?0:1])}.bind(this))}.bind(this)]),hn.f0J("mouseenter",f,function(t){_h(this,i),t.target instanceof SVGUseElement&&hn.hZp(h,{x:t.target.x.baseVal.value,y:t.target.y.baseVal.value,value:hn.JtY(s).y[0],title:hn.JtY(l)(hn.JtY(s).y[0])+" "+r().currency})}.bind(this)),hn.f0J("mouseleave",f,function(){_h(this,i),hn.hZp(h,null)}.bind(this)),hn.BCw(t,f)}.bind(this)}}),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0}})}.bind(this);hn["if"](b,function(t){var n=this;_h(this,e),hn.iTV(r()),hn.iTV(s()),hn.vzK(function(){var t;return _h(this,n),(null===(t=r().stops)||void 0===t?void 0:t.length)&&s().chart.length&&s().chart[0].length}.bind(this))&&t(p)}.bind(this)),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0,"x-axis":function(t,i){_h(this,n),os(t,{slot:"x-axis",format:b})}.bind(this)}});var y=hn.hg4(p,2),g=function(t){var i=this;_h(this,n);var r,e,o=zh(),s=hn.IuP(o,!0);hn.vNg(function(){var t,n,a=this;_h(this,i),r=hn.ysU(o,1,"s-ui-tooltip s-stop-flag__tooltip",null,r,{"s-top":hn.JtY(h).value>0,"s-bottom":hn.JtY(h).value<=0}),e=hn.hgi(o,"",e,{top:"".concat(null!==(hn.JtY(h),t=hn.vzK(function(){return _h(this,a),hn.JtY(h).y}.bind(this)))&&void 0!==t?t:"","px"),left:"".concat(null!==(hn.JtY(h),n=hn.vzK(function(){return _h(this,a),hn.JtY(h).x}.bind(this)))&&void 0!==n?n:"","px")}),hn.jax(s,(hn.JtY(h),hn.vzK(function(){return _h(this,a),hn.JtY(h).title}.bind(this))))}.bind(this)),hn.BCw(t,o)}.bind(this);hn["if"](y,function(t){_h(this,n),hn.JtY(h)&&t(g)}.bind(this)),hn.cLc(i),hn.kYK(1,i,function(){return _h(this,n),o.Rv}.bind(this),function(){return _h(this,n),{duration:60}}.bind(this)),hn.BCw(t,i)}.bind(this),m=function(t){_h(this,e);var n=hn.Qq7("loading...");hn.BCw(t,n)}.bind(this);hn["if"](y,function(t){var n=this;_h(this,e),hn.iTV(s()),hn.vzK(function(){return _h(this,n),s().inited}.bind(this))?t(g):t(m,-1)}.bind(this)),hn.cLc(p),hn.BJV(p,"clientWidth",function(t){return _h(this,e),hn.hZp(c,t)}.bind(this)),hn.BJV(p,"clientHeight",function(t){return _h(this,e),hn.hZp(f,t)}.bind(this)),hn.BCw(t,p)}.bind(this),$$slots:{"default":!0,header:function(t,n){var e=this;_h(this,i);var o=Mh();Ta(hn.jfp(o),{gap:0,children:function(t,n){var i=this;_h(this,e);var o=hn.Imx(),h=hn.esp(o),c=function(t){_h(this,i),tu(t,{first:!0,money:!0,color:"var(--c-chart-green)",get label(){var t=this;return hn.iTV(a()),hn.vzK(function(){return _h(this,t),a().equity}.bind(this))},get value(){var t=this;return hn.iTV(r()),hn.vzK(function(){return _h(this,t),r().equity}.bind(this))},get currency(){var t=this;return hn.iTV(r()),hn.vzK(function(){return _h(this,t),r().currency}.bind(this))},key:"equity",get group(){return hn.JtY(u)},set group(t){hn.hZp(u,t)},$$legacy:!0})}.bind(this);hn["if"](h,function(t){var n=this;_h(this,i),hn.iTV(s()),hn.vzK(function(){return _h(this,n),s().inited}.bind(this))&&t(c)}.bind(this)),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0}}),hn.cLc(o),hn.BCw(t,o)}.bind(this)}}),hn.uYY(p)}function kh(t){return kh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kh(t)}function Vh(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function Eh(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function Nh(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=kh(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=kh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}
1(t,"string");return"symbol"==kh(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var Ih=hn.vUu("<!> <!> <!>",1),Bh=hn.vUu("<tr><td><!></td><td> </td><td> </td></tr>"),$h=hn.vUu('<table class="svg-chart__chart-tooltip"><tbody><tr><td colspan="3"> </td></tr><!></tbody></table>'),Xh=hn._i8("<use></use>"),Lh=hn._i8('<defs><path id="flag_withdrawal" d="M-5 0 L0 7 L5 0 M-5 0"></path><path id="flag_deposit" d="M-5 0 L0 -7 L5 0 M-5 0"></path></defs><!>',1),Ah=hn.vUu("<div> </div>"),Dh=hn.vUu('<div class="svg-chart__wrap"><!> <!></div>'),Uh=hn.vUu("<div><!></div>"),Wh=hn.vUu('<div class="svg-chart__legend"><!></div>');function Zh(t,n){var i=this;if(this instanceof Zh?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?Eh(Object(i),!0).forEach(function(n){Nh(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Eh(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:Zh},t));hn.VCO(n,!1);var r=hn._w2(n,"account",12),s=hn._w2(n,"portfolio",12),a=hn._w2(n,"res",12),u=hn.zgK("balance"),h=hn.zgK(null),c=hn.zgK(),f=hn.zgK(),l=hn.zgK(),d=s().inited&&s().chart.length&&s().chart[0].length>1?s().chart[0][s().chart[0].length-1].x-s().chart[0][0].x:0,v=function(t){return Vh(this,i),hn.JtY(l)(t)}.bind(this),b=function(t){return Vh(this,i),Ka(d,t)}.bind(this);hn.M3l(function(){return Vh(this,i),hn.iTV(r())}.bind(this),function(){Vh(this,i),hn.hZp(l,Va(r().digits))}.bind(this)),hn.iqF();var p={get account(){return r()},set account(t){r(t),hn.bX()},get portfolio(){return s()},set portfolio(t){s(t),hn.bX()},get res(){return a()},set res(t){a(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return Vh(this,i),hn.oeX(n,t,r)}.bind(this)};return hn.TsN(),Tu(t,{children:function(t,n){var e=this;Vh(this,i);var p=Uh(),y=hn.jfp(p),g=function(t){var n=this;Vh(this,e);var i=Dh(),p=hn.jfp(i);Tn(p,{get width(){return hn.JtY(c)},get height(){return hn.JtY(f)},gap:{top:.1,right:.01,bottom:.1,left:.001},padding:{top:8,right:8,bottom:0,left:0},children:function(t,i){var e=this;Vh(this,n);var o=Ih(),c=hn.esp(o);kn(c,{children:function(t,n){var i=this;Vh(this,e);var r=Ih(),o=hn.esp(r),a=hn.Xdt(function(){return Vh(this,i),"balance"===hn.JtY(u)?"var(--chart-line-width-2)":"var(--chart-line-width)"}.bind(this));yo(o,{color:["var(--c-chart-blue)"],get points(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Vh(this,t),s().chart[0]}.bind(this))},name:"balance",curve:"stepAfter",get width(){return hn.JtY(a)}});var h=hn.hg4(o,2),c=hn.Xdt(function(){return Vh(this,i),"assets"===hn.JtY(u)?"var(--chart-line-width-2)":"var(--chart-line-width)"}.bind(this));yo(h,{color:["var(--c-chart-green)"],get points(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Vh(this,t),s().chart[1]}.bind(this))},name:"assets",curve:"stepAfter",get width(){return hn.JtY(c)}});var f=hn.hg4(h,2),l=hn.Xdt(function(){return Vh(this,i),"liabilities"===hn.JtY(u)?"var(--chart-line-width-2)":"var(--chart-line-width)"}.bind(this));yo(f,{color:["var(--c-chart-purple)"],get points(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Vh(this,t),s().chart[2]}.bind(this))},name:"liabilities",curve:"stepAfter",get width(){return hn.JtY(l)}}),hn.BCw(t,r)}.bind(this),$$slots:{"default":!0,"y-axis":function(t,n){Vh(this,e),ms(t,{grid:!0,slot:"y-axis",format:v})}.bind(this)}});var f=hn.hg4(c,2);ea(f,{color:["var(--c-chart-gray)"],lineWidth:1,invert:!0,size:8,strokeWidth:2,fill:!0,hideLine:!1,children:hn.y8B,$$slots:{"default":function(t,n){var i=this;Vh(this,e);var r=hn.Xdt(function(){return Vh(this,i),n.data}.bind(this)),o=$h(),s=hn.jfp(o),u=hn.jfp(s),h=hn.jfp(u),c=hn.IuP(h,!0);hn.cLc(u);var f=hn.hg4(u);hn.__1(f,1,function(){return Vh(this,i),hn.JtY(r)}.bind(this),hn.Pe0,function(t,n){var r=this;Vh(this,i);var e=hn.unG(function(){return Vh(this,r),hn._Nj(hn.JtY(n),2)}.bind(this)),o=function(){return Vh(this,r),hn.JtY(e)[0]}.bind(this),s=function(){return Vh(this,r),hn.JtY(e)[1]}.bind(this),u=Ih(),h=hn.esp(u),c=function(t){var n=this;Vh(this,r);var i=Bh(),e=hn.jfp(i);ga(hn.jfp(e),{get color(){var t=this;return s(),hn.vzK(function(){return Vh(this,t),s().color[0]}.bind(this))}}),hn.cLc(e);var o=hn.hg4(e),u=hn.IuP(o,!0),h=hn.hg4(o),c=hn.IuP(h,!0);hn.cLc(i),hn.vNg(function(t){var i=this;Vh(this,n),hn.jax(u,(hn.iTV(a()),hn.vzK(function(){return Vh(this,i),a().balance}.bind(this)))),hn.jax(c,t)}.bind(this),[function(){var t=this;return Vh(this,n),hn.JtY(l),s(),hn.vzK(function(){return Vh(this,t),hn.JtY(l)(s().value.y[0])}.bind(this))}.bind(this)]),hn.BCw(t,i)}.bind(this);hn["if"](h,function(t){Vh(this,r),"balance"===o()&&t(c)}.bind(this));var f=hn.hg4(h,2),d=function(t){var n=this;Vh(this,r);var i=Bh(),e=hn.jfp(i);ga(hn.jfp(e),{get color(){var t=this;return s(),hn.vzK(function(){return Vh(this,t),s().color[0]}.bind(this))}}),hn.cLc(e);var o=hn.hg4(e),u=hn.IuP(o,!0),h=hn.hg4(o),c=hn.IuP(h,!0);hn.cLc(i),hn.vNg(function(t){var i=this;Vh(this,n),hn.jax(u,(hn.iTV(a()),hn.vzK(function(){return Vh(this,i),a().assets}.bind(this)))),hn.jax(c,t)}.bind(this),[function(){var t=this;return Vh(this,n),hn.JtY(l),s(),hn.vzK(function(){return Vh(this,t),hn.JtY(l)(s().value.y[0])}.bind(this))}.bind(this)]),hn.BCw(t,i)}.bind(this);hn["if"](f,function(t){Vh(this,r),"assets"===o()&&t(d)}.bind(this));var v=hn.hg4(f,2),b=function(t){var n=this;Vh(this,r);var i=Bh(),e=hn.jfp(i);ga(hn.jfp(e),{get color(){var t=this;return s(),hn.vzK(function(){return Vh(this,t),s().color[0]}.bind(this))}}),hn.cLc(e);var o=hn.hg4(e),u=hn.IuP(o,!0),h=hn.hg4(o),c=hn.IuP(h,!0);hn.cLc(i),hn.vNg(function(t){var i=this;Vh(this,n),hn.jax(u,(hn.iTV(a()),hn.vzK(function(){return Vh(this,i),a().liabilities}.bind(this)))),hn.jax(c,t)}.bind(this),[function(){var t=this;return Vh(this,n),hn.JtY(l),s(),hn.vzK(function(){return Vh(this,t),hn.JtY(l)(s().value.y[0])}.bind(this))}.bind(this)]),hn.BCw(t,i)}.bind(this);hn["if"](v,function(t){Vh(this,r),"liabilities"===o()&&t(b)}.bind(this)),hn.BCw(t,u)}.bind(this)),hn.cLc(s),hn.cLc(o),hn.vNg(function(t){return Vh(this,i),hn.jax(c,t)}.bind(this),[function(){var t=this;return Vh(this,i),hn.iTV(Ka),hn.iTV(hn.JtY(r)),hn.vzK(function(){return Vh(this,t),Ka(d,hn.JtY(r)[0][1].value.x)}.bind(this))}.bind(this)]),hn.BCw(t,o)}.bind(this)}});var b=hn.hg4(f,2),p=function(t){var n=this;Vh(this,e),kn(t,{children:function(t,i){var e=this;Vh(this,n);var o=Lh(),a=hn.hg4(hn.esp(o)),c=hn.Xdt(function(){var t=this;return Vh(this,e),hn.iTV(r()),hn.iTV(s()),hn.vzK(function(){var n=this;return Vh(this,t),r().stops.filter(function(t){return Vh(this,n),1e3*t.timestamp>=s().chart[0][0].x}.bind(this)).map(function(t){return Vh(this,n),{x:1e3*t.timestamp,y:[t.profit]}}.bind(this))}.bind(this))}.bind(this));la(a,{name:"stops",get points(){return hn.JtY(c)},children:hn.y8B,$$slots:{"default":function(t,n){var i=this;Vh(this,e);
1var o,s=hn.Xdt(function(){return Vh(this,i),n.point}.bind(this)),a=hn.Xdt(function(){return Vh(this,i),n.group}.bind(this)),c=hn.Xdt(function(){return Vh(this,i),n.x}.bind(this)),f=Xh();hn.vNg(function(t){var n=this;Vh(this,i),hn.ToH(f,"xlink:href",(hn.iTV(hn.JtY(s)),hn.vzK(function(){return Vh(this,n),hn.JtY(s).y[0]>0?"#flag_deposit":"#flag_withdrawal"}.bind(this)))),o=hn.ysU(f,0,"s-stop-flag",null,o,{"s-stop-flag-highlight":"deposits"===hn.JtY(u)&&hn.JtY(s).y[0]>0||"withdrawals"===hn.JtY(u)&&hn.JtY(s).y[0]<=0,"s-positive":hn.JtY(s).y[0]>0,"s-negative":hn.JtY(s).y[0]<=0}),hn.aIK(f,"x",hn.JtY(c)),hn.aIK(f,"y",t)}.bind(this),[function(){var t=this;return Vh(this,i),hn.iTV(hn.JtY(a)),hn.iTV(hn.JtY(s)),hn.vzK(function(){return Vh(this,t),hn.JtY(a).yScale(hn.JtY(a).yExtremum[hn.JtY(s).y[0]>0?0:1])}.bind(this))}.bind(this)]),hn.f0J("mouseenter",f,function(t){Vh(this,i),t.target instanceof SVGUseElement&&hn.hZp(h,{x:t.target.x.baseVal.value,y:t.target.y.baseVal.value,value:hn.JtY(s).y[0],title:hn.JtY(l)(hn.JtY(s).y[0])+" "+r().currency})}.bind(this)),hn.f0J("mouseleave",f,function(){Vh(this,i),hn.hZp(h,null)}.bind(this)),hn.BCw(t,f)}.bind(this)}}),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0}})}.bind(this);hn["if"](b,function(t){var n=this;Vh(this,e),hn.iTV(r()),hn.iTV(s()),hn.vzK(function(){var t;return Vh(this,n),(null===(t=r().stops)||void 0===t?void 0:t.length)&&s().chart.length&&s().chart[0].length}.bind(this))&&t(p)}.bind(this)),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0,"x-axis":function(t,i){Vh(this,n),os(t,{slot:"x-axis",format:b})}.bind(this)}});var y=hn.hg4(p,2),g=function(t){var i=this;Vh(this,n);var r,e,o=Ah(),s=hn.IuP(o,!0);hn.vNg(function(){var t,n,a=this;Vh(this,i),r=hn.ysU(o,1,"s-ui-tooltip s-stop-flag__tooltip",null,r,{"s-top":hn.JtY(h).value>0,"s-bottom":hn.JtY(h).value<=0}),e=hn.hgi(o,"",e,{top:"".concat(null!==(hn.JtY(h),t=hn.vzK(function(){return Vh(this,a),hn.JtY(h).y}.bind(this)))&&void 0!==t?t:"","px"),left:"".concat(null!==(hn.JtY(h),n=hn.vzK(function(){return Vh(this,a),hn.JtY(h).x}.bind(this)))&&void 0!==n?n:"","px")}),hn.jax(s,(hn.JtY(h),hn.vzK(function(){return Vh(this,a),hn.JtY(h).title}.bind(this))))}.bind(this)),hn.BCw(t,o)}.bind(this);hn["if"](y,function(t){Vh(this,n),hn.JtY(h)&&t(g)}.bind(this)),hn.cLc(i),hn.kYK(1,i,function(){return Vh(this,n),o.Rv}.bind(this),function(){return Vh(this,n),{duration:60}}.bind(this)),hn.BCw(t,i)}.bind(this),m=function(t){Vh(this,e);var n=hn.Qq7("loading...");hn.BCw(t,n)}.bind(this);hn["if"](y,function(t){var n=this;Vh(this,e),hn.iTV(s()),hn.vzK(function(){return Vh(this,n),s().inited}.bind(this))?t(g):t(m,-1)}.bind(this)),hn.cLc(p),hn.BJV(p,"clientWidth",function(t){return Vh(this,e),hn.hZp(c,t)}.bind(this)),hn.BJV(p,"clientHeight",function(t){return Vh(this,e),hn.hZp(f,t)}.bind(this)),hn.BCw(t,p)}.bind(this),$$slots:{"default":!0,header:function(t,n){var e=this;Vh(this,i);var o=Wh();Ta(hn.jfp(o),{gap:0,children:function(t,n){var i=this;Vh(this,e);var o=hn.Imx(),h=hn.esp(o),c=function(t){Vh(this,i);var n=Ih(),e=hn.esp(n);tu(e,{first:!0,money:!0,color:"var(--c-chart-blue)",get label(){var t=this;return hn.iTV(a()),hn.vzK(function(){return Vh(this,t),a().balance}.bind(this))},get value(){var t=this;return hn.iTV(r()),hn.vzK(function(){return Vh(this,t),r().balance}.bind(this))},get currency(){var t=this;return hn.iTV(r()),hn.vzK(function(){return Vh(this,t),r().currency}.bind(this))},key:"balance",get group(){return hn.JtY(u)},set group(t){hn.hZp(u,t)},$$legacy:!0});var o=hn.hg4(e,2);tu(o,{money:!0,color:"var(--c-chart-green)",get label(){var t=this;return hn.iTV(a()),hn.vzK(function(){return Vh(this,t),a().assets}.bind(this))},get value(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Vh(this,t),s().assets}.bind(this))},get currency(){var t=this;return hn.iTV(r()),hn.vzK(function(){return Vh(this,t),r().currency}.bind(this))},key:"assets",get group(){return hn.JtY(u)},set group(t){hn.hZp(u,t)},$$legacy:!0}),tu(hn.hg4(o,2),{money:!0,color:"var(--c-chart-purple)",get label(){var t=this;return hn.iTV(a()),hn.vzK(function(){return Vh(this,t),a().liabilities}.bind(this))},get value(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Vh(this,t),s().liabilities}.bind(this))},get currency(){var t=this;return hn.iTV(r()),hn.vzK(function(){return Vh(this,t),r().currency}.bind(this))},key:"liabilities",get group(){return hn.JtY(u)},set group(t){hn.hZp(u,t)},$$legacy:!0}),hn.BCw(t,n)}.bind(this);hn["if"](h,function(t){var n=this;Vh(this,i),hn.iTV(s()),hn.vzK(function(){return Vh(this,n),s().inited}.bind(this))&&t(c)}.bind(this)),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0}}),hn.cLc(o),hn.BCw(t,o)}.bind(this)}}),hn.uYY(p)}function Fh(t){return Fh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fh(t)}function qh(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function Hh(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function Rh(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=Fh(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=Fh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}
1(t,"string");return"symbol"==Fh(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var Gh=hn.vUu("<tr><td><!></td><td> </td><td> </td></tr>"),Qh=hn.vUu("<!> <!>",1),tc=hn.vUu('<table class="svg-chart__chart-tooltip"><tbody><tr><td colspan="3"> </td></tr><!></tbody></table>'),nc=hn._i8("<use></use>"),ic=hn._i8('<defs><path id="flag_withdrawal" d="M-5 0 L0 7 L5 0 M-5 0"></path><path id="flag_deposit" d="M-5 0 L0 -7 L5 0 M-5 0"></path></defs><!>',1),rc=hn.vUu("<!> <!> <!> <!>",1),ec=hn.vUu("<div> </div>"),oc=hn.vUu('<div class="svg-chart__wrap"><!> <!></div>'),sc=hn.vUu("<div><!></div>"),ac=hn.vUu('<div class="svg-chart__legend"><!></div>');function uc(t,n){var i=this;if(this instanceof uc?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?Hh(Object(i),!0).forEach(function(n){Rh(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Hh(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:uc},t));hn.VCO(n,!1);var r=hn.zgK(),s=hn._w2(n,"account",12),a=hn._w2(n,"equity",12),u=hn._w2(n,"res",12),h=hn.zgK("drawdown"),c=hn.zgK(),f=hn.zgK(),l=hn.zgK(null),d=hn.zgK(),v=a().inited&&a().chart.length&&a().chart[0].length>1?a().chart[0][a().chart[0].length-1].x-a().chart[0][0].x:0,b=function(t){return qh(this,i),hn.JtY(r)(t)}.bind(this),p=function(t){return qh(this,i),hn.JtY(d)(t)}.bind(this),y=function(t){return qh(this,i),Ka(v,t)}.bind(this);hn.M3l(function(){return qh(this,i),hn.iTV(s())}.bind(this),function(){qh(this,i),hn.hZp(d,Va(s().digits))}.bind(this)),hn.M3l(function(){return qh(this,i),Ea}.bind(this),function(){qh(this,i),hn.hZp(r,Ea())}.bind(this)),hn.iqF();var g={get account(){return s()},set account(t){s(t),hn.bX()},get equity(){return a()},set equity(t){a(t),hn.bX()},get res(){return u()},set res(t){u(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return qh(this,i),hn.oeX(n,t,r)}.bind(this)};return hn.TsN(),Tu(t,{children:function(t,n){var e=this;qh(this,i);var g=sc(),m=hn.jfp(g),w=function(t){var n=this;qh(this,e);var i=oc(),g=hn.jfp(i);Tn(g,{get width(){return hn.JtY(c)},get height(){return hn.JtY(f)},gap:{top:.1,right:.01,bottom:.1,left:.001},padding:{top:8,right:8,bottom:0,left:0},children:function(t,i){var e=this;qh(this,n);var o=rc(),c=hn.esp(o);kn(c,{reversed:!0,children:function(t,n){var i=this;qh(this,e);var r=hn.Xdt(function(){return qh(this,i),{width:"drawdown"===hn.JtY(h)?"var(--chart-line-width)":"var(--chart-line-width-0)"}}.bind(this));Po(t,{color:["var(--c-chart-red)"],get points(){var t=this;return hn.iTV(a()),hn.vzK(function(){return qh(this,t),a().chart[0]}.bind(this))},name:"drawdown",curve:"stepAfter",opacity:.06,get line(){return hn.JtY(r)}})}.bind(this),$$slots:{"default":!0,"y-axis":function(t,n){qh(this,e),ms(t,{grid:!0,slot:"y-axis",format:b,color:"var(--c-chart-red)"})}.bind(this)}});var f=hn.hg4(c,2);kn(f,{children:function(t,n){var i=this;qh(this,e);var r=hn.Xdt(function(){return qh(this,i),"balance"===hn.JtY(h)?"var(--chart-line-width-2)":"var(--chart-line-width)"}.bind(this));yo(t,{color:["var(--c-chart-blue)"],get points(){var t=this;return hn.iTV(a()),hn.vzK(function(){return qh(this,t),a().chart[1]}.bind(this))},name:"balance",curve:"stepAfter",get width(){return hn.JtY(r)}})}.bind(this),$$slots:{"default":!0,"y-axis":function(t,n){qh(this,e),ms(t,{left:!0,slot:"y-axis",format:p,color:"var(--c-chart-blue)"})}.bind(this)}});var y=hn.hg4(f,2);ea(y,{color:["var(--c-chart-gray)"],lineWidth:1,invert:!0,size:8,strokeWidth:2,fill:!0,hideLine:!1,children:hn.y8B,$$slots:{"default":function(t,n){var i=this;qh(this,e);var o=hn.Xdt(function(){return qh(this,i),n.data}.bind(this)),s=tc(),a=hn.jfp(s),h=hn.jfp(a),c=hn.jfp(h),f=hn.IuP(c,!0);hn.cLc(h);var l=hn.hg4(h);hn.__1(l,1,function(){return qh(this,i),hn.JtY(o)}.bind(this),hn.Pe0,function(t,n){var e=this;qh(this,i);var o=hn.unG(function(){return qh(this,e),hn._Nj(hn.JtY(n),2)}.bind(this)),s=function(){return qh(this,e),hn.JtY(o)[0]}.bind(this),a=function(){return qh(this,e),hn.JtY(o)[1]}.bind(this),h=Qh(),c=hn.esp(h),f=function(t){var n=this;qh(this,e);var i=Gh(),o=hn.jfp(i);ga(hn.jfp(o),{get color(){var t=this;return a(),hn.vzK(function(){return qh(this,t),a().color[0]}.bind(this))}}),hn.cLc(o);var s=hn.hg4(o),h=hn.IuP(s,!0),c=hn.hg4(s),f=hn.IuP(c,!0);hn.cLc(i),hn.vNg(function(t){var i=this;qh(this,n),hn.jax(h,(hn.iTV(u()),hn.vzK(function(){return qh(this,i),u().drawdown}.bind(this)))),hn.jax(f,t)}.bind(this),[function(){var t=this;return qh(this,n),hn.JtY(r),a(),hn.vzK(function(){return qh(this,t),hn.JtY(r)(a().value.y[0])}.bind(this))}.bind(this)]),hn.BCw(t,i)}.bind(this);hn["if"](c,function(t){qh(this,e),"drawdown"===s()&&t(f)}.bind(this));var l=hn.hg4(c,2),v=function(t){var n=this;qh(this,e);var i=Gh(),r=hn.jfp(i);ga(hn.jfp(r),{get color(){var t=this;return a(),hn.vzK(function(){return qh(this,t),a().color[0]}.bind(this))}}),hn.cLc(r);var o=hn.hg4(r),s=hn.IuP(o,!0),h=hn.hg4(o),c=hn.IuP(h,!0);hn.cLc(i),hn.vNg(function(t){var i=this;qh(this,n),hn.jax(s,(hn.iTV(u()),hn.vzK(function(){return qh(this,i),u().balance}.bind(this)))),hn.jax(c,t)}.bind(this),[function(){var t=this;return qh(this,n),hn.JtY(d),a(),hn.vzK(function(){return qh(this,t),hn.JtY(d)(a().value.y[0])}.bind(this))}.bind(this)]),hn.BCw(t,i)}.bind(this);hn["if"](l,function(t){qh(this,e),"balance"===s()&&t(v)}.bind(this)),hn.BCw(t,h)}.bind(this)),hn.cLc(a),hn.cLc(s),hn.vNg(function(t){return qh(this,i),hn.jax(f,t)}.bind(this),[function(){var t=this;return qh(this,i),hn.iTV(Ka),hn.iTV(hn.JtY(o)),hn.vzK(function(){return qh(this,t),Ka(v,hn.JtY(o)[0][1].value.x)}.bind(this))}.bind(this)]),hn.BCw(t,s)}.bind(this)}});var g=hn.hg4(y,2),m=function(t){var n=this;qh(this,e),kn(t,{children:function(t,i){var r=this;qh(this,n);var e=ic(),o=hn.hg4(hn.esp(e)),u=hn.Xdt(function(){var t=this;return qh(this,r),hn.iTV(s()),hn.iTV(a()),hn.vzK(function(){var n=this;return qh(this,t),s().stops.filter(function(t){return qh(this,n),1e3*t.timestamp>=a().chart[0][0].x}.bind(this)).map(function(t){return qh(this,n),{x:1e3*t.timestamp,y:[t.profit]}}.bind(this))}.bind(this))}.bind(this));la(o,{name:"stops",get points(){return hn.JtY(u)},children:hn.y8B,$$slots:{"default":function(t,n){var i=this;qh(this,r);var e,o=hn.Xdt(function(){return qh(this,i),n.point}.bind(this)),a=hn.Xdt(function(){return qh(this,i),n.group}.bind(this)),u=hn.Xdt(function(){return qh(this,i),n.x}.bind(this)),c=nc();hn.vNg(function(t){var n=this;qh(this,i),hn.ToH(c,"xlink:href",(hn.iTV(hn.JtY(o)),hn.vzK(function(){return qh(this,n),hn.JtY(o).y[0]>0?"#flag_deposit":"#flag_withdrawal"}.bind(this)))),e=hn.ysU(c,0,"s-stop-flag",null,e,{"s-stop-flag-highlight":"deposits"===hn.JtY(h)&&hn.JtY(o).y[0]>0||"withdrawals"===hn.JtY(h)&&hn.JtY(o).y[0]<=0,"s-positive":hn.JtY(o).y[0]>0,"s-negative":hn.JtY(o).y[0]<=0}),hn.aIK(c,"x",hn.JtY(u)),hn.aIK(c,"y",t)}.bind(this),[function(){var t=this;return qh(this,i),hn.iTV(hn.JtY(a)),hn.iTV(hn.JtY(o)),hn.vzK(function(){return qh(this,t),hn.JtY(a).yScale(hn.JtY(a).yExtremum[hn.JtY(o).y[0]>0?0:1])}.bind(this))}
1.bind(this)]),hn.f0J("mouseenter",c,function(t){qh(this,i),t.target instanceof SVGUseElement&&hn.hZp(l,{x:t.target.x.baseVal.value,y:t.target.y.baseVal.value,value:hn.JtY(o).y[0],title:hn.JtY(d)(hn.JtY(o).y[0])+" "+s().currency})}.bind(this)),hn.f0J("mouseleave",c,function(){qh(this,i),hn.hZp(l,null)}.bind(this)),hn.BCw(t,c)}.bind(this)}}),hn.BCw(t,e)}.bind(this),$$slots:{"default":!0}})}.bind(this);hn["if"](g,function(t){var n=this;qh(this,e),hn.iTV(s()),hn.iTV(a()),hn.vzK(function(){var t;return qh(this,n),(null===(t=s().stops)||void 0===t?void 0:t.length)&&a().chart.length&&a().chart[0].length}.bind(this))&&t(m)}.bind(this)),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0,"x-axis":function(t,i){qh(this,n),os(t,{slot:"x-axis",format:y,bottomLine:!0})}.bind(this)}});var m=hn.hg4(g,2),w=function(t){var i=this;qh(this,n);var r,e,o=ec(),s=hn.IuP(o,!0);hn.vNg(function(){var t,n,a=this;qh(this,i),r=hn.ysU(o,1,"s-ui-tooltip s-stop-flag__tooltip",null,r,{"s-top":hn.JtY(l).value>0,"s-bottom":hn.JtY(l).value<=0}),e=hn.hgi(o,"",e,{top:"".concat(null!==(hn.JtY(l),t=hn.vzK(function(){return qh(this,a),hn.JtY(l).y}.bind(this)))&&void 0!==t?t:"","px"),left:"".concat(null!==(hn.JtY(l),n=hn.vzK(function(){return qh(this,a),hn.JtY(l).x}.bind(this)))&&void 0!==n?n:"","px")}),hn.jax(s,(hn.JtY(l),hn.vzK(function(){return qh(this,a),hn.JtY(l).title}.bind(this))))}.bind(this)),hn.BCw(t,o)}.bind(this);hn["if"](m,function(t){qh(this,n),hn.JtY(l)&&t(w)}.bind(this)),hn.cLc(i),hn.kYK(1,i,function(){return qh(this,n),o.Rv}.bind(this),function(){return qh(this,n),{duration:60}}.bind(this)),hn.BCw(t,i)}.bind(this),_=function(t){qh(this,e);var n=hn.Qq7("loading...");hn.BCw(t,n)}.bind(this);hn["if"](m,function(t){var n=this;qh(this,e),hn.iTV(a()),hn.vzK(function(){return qh(this,n),a().inited}.bind(this))?t(w):t(_,-1)}.bind(this)),hn.cLc(g),hn.BJV(g,"clientWidth",function(t){return qh(this,e),hn.hZp(c,t)}.bind(this)),hn.BJV(g,"clientHeight",function(t){return qh(this,e),hn.hZp(f,t)}.bind(this)),hn.BCw(t,g)}.bind(this),$$slots:{"default":!0,header:function(t,n){var r=this;qh(this,i);var e=ac();Ta(hn.jfp(e),{gap:0,children:function(t,n){var i=this;qh(this,r);var e=hn.Imx(),o=hn.esp(e),c=function(t){qh(this,i);var n=Qh(),r=hn.esp(n);tu(r,{first:!0,percent:!0,color:"var(--c-chart-red)",get label(){var t=this;return hn.iTV(u()),hn.vzK(function(){return qh(this,t),u().drawdown}.bind(this))},get value(){var t=this;return hn.iTV(s()),hn.vzK(function(){return qh(this,t),s().drawdown}.bind(this))},key:"drawdown",get group(){return hn.JtY(h)},set group(t){hn.hZp(h,t)},$$legacy:!0}),tu(hn.hg4(r,2),{money:!0,color:"var(--c-chart-blue)",get label(){var t=this;return hn.iTV(u()),hn.vzK(function(){return qh(this,t),u().balance}.bind(this))},get value(){var t=this;return hn.iTV(s()),hn.vzK(function(){return qh(this,t),s().balance}.bind(this))},get currency(){var t=this;return hn.iTV(s()),hn.vzK(function(){return qh(this,t),s().currency}.bind(this))},key:"balance",get group(){return hn.JtY(h)},set group(t){hn.hZp(h,t)},$$legacy:!0}),hn.BCw(t,n)}.bind(this);hn["if"](o,function(t){var n=this;qh(this,i),hn.iTV(a()),hn.vzK(function(){return qh(this,n),a().inited}.bind(this))&&t(c)}.bind(this)),hn.BCw(t,e)}.bind(this),$$slots:{"default":!0}}),hn.cLc(e),hn.BCw(t,e)}.bind(this)}}),hn.uYY(g)}function hc(t){return hc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hc(t)}function cc(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function fc(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function lc(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=hc(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=hc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}
1(t,"string");return"symbol"==hc(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var dc=hn.vUu("<tr><td><!></td><td> </td><td> </td></tr>"),vc=hn.vUu("<!> <!>",1),bc=hn.vUu('<table class="svg-chart__chart-tooltip"><tbody><tr><td colspan="3"> </td></tr><!></tbody></table>'),pc=hn._i8("<use></use>"),yc=hn._i8('<defs><path id="flag_withdrawal" d="M-5 0 L0 7 L5 0 M-5 0"></path><path id="flag_deposit" d="M-5 0 L0 -7 L5 0 M-5 0"></path></defs><!>',1),gc=hn.vUu("<!> <!> <!> <!>",1),mc=hn.vUu("<div> </div>"),wc=hn.vUu('<div class="svg-chart__wrap"><!> <!></div>'),_c=hn.vUu("<div><!></div>"),xc=hn.vUu('<div class="svg-chart__legend"><!></div>');function Yc(t,n){var i=this;if(this instanceof Yc?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?fc(Object(i),!0).forEach(function(n){lc(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):fc(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:Yc},t));hn.VCO(n,!1);var r=hn.zgK(),s=hn._w2(n,"account",12),a=hn._w2(n,"depositLoad",12),u=hn._w2(n,"res",12),h=hn.zgK("depositLoad"),c=hn.zgK(),f=hn.zgK(),l=hn.zgK(null),d=hn.zgK(),v=a().inited&&a().chart.length&&a().chart[0].length>1?a().chart[0][a().chart[0].length-1].x-a().chart[0][0].x:0,b=function(t){return cc(this,i),hn.JtY(r)(t)}.bind(this),p=function(t){return cc(this,i),hn.JtY(d)(t)}.bind(this),y=function(t){return cc(this,i),Ka(v,t)}.bind(this);hn.M3l(function(){return cc(this,i),hn.iTV(s())}.bind(this),function(){cc(this,i),hn.hZp(d,Va(s().digits))}.bind(this)),hn.M3l(function(){return cc(this,i),Ea}.bind(this),function(){cc(this,i),hn.hZp(r,Ea())}.bind(this)),hn.iqF();var g={get account(){return s()},set account(t){s(t),hn.bX()},get depositLoad(){return a()},set depositLoad(t){a(t),hn.bX()},get res(){return u()},set res(t){u(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return cc(this,i),hn.oeX(n,t,r)}.bind(this)};return hn.TsN(),Tu(t,{children:function(t,n){var e=this;cc(this,i);var g=_c(),m=hn.jfp(g),w=function(t){var n=this;cc(this,e);var i=wc(),g=hn.jfp(i);Tn(g,{get width(){return hn.JtY(c)},get height(){return hn.JtY(f)},gap:{top:.1,right:.01,bottom:.1,left:.001},padding:{top:8,right:8,bottom:0,left:0},children:function(t,i){var e=this;cc(this,n);var o=gc(),c=hn.esp(o);kn(c,{children:function(t,n){var i=this;cc(this,e);var r=hn.Xdt(function(){return cc(this,i),{width:"depositLoad"===hn.JtY(h)?"var(--chart-line-width)":"var(--chart-line-width-0)"}}.bind(this));Po(t,{color:["var(--c-chart-gray)"],get points(){var t=this;return hn.iTV(a()),hn.vzK(function(){return cc(this,t),a().chart[0]}.bind(this))},name:"depositLoad",curve:"stepAfter",opacity:.06,get line(){return hn.JtY(r)}})}.bind(this),$$slots:{"default":!0,"y-axis":function(t,n){cc(this,e),ms(t,{grid:!0,slot:"y-axis",format:b})}.bind(this)}});var f=hn.hg4(c,2);kn(f,{children:function(t,n){var i=this;cc(this,e);var r=hn.Xdt(function(){return cc(this,i),"balance"===hn.JtY(h)?"var(--chart-line-width-2)":"var(--chart-line-width)"}.bind(this));yo(t,{color:["var(--c-chart-blue)"],get points(){var t=this;return hn.iTV(a()),hn.vzK(function(){return cc(this,t),a().chart[1]}.bind(this))},name:"balance",curve:"stepAfter",get width(){return hn.JtY(r)}})}.bind(this),$$slots:{"default":!0,"y-axis":function(t,n){cc(this,e),ms(t,{left:!0,slot:"y-axis",format:p,color:"var(--c-chart-blue)"})}.bind(this)}});var y=hn.hg4(f,2);ea(y,{color:["var(--c-chart-gray)"],lineWidth:1,invert:!0,size:8,strokeWidth:2,fill:!0,hideLine:!1,children:hn.y8B,$$slots:{"default":function(t,n){var i=this;cc(this,e);var o=hn.Xdt(function(){return cc(this,i),n.data}.bind(this)),s=bc(),a=hn.jfp(s),h=hn.jfp(a),c=hn.jfp(h),f=hn.IuP(c,!0);hn.cLc(h);var l=hn.hg4(h);hn.__1(l,1,function(){return cc(this,i),hn.JtY(o)}.bind(this),hn.Pe0,function(t,n){var e=this;cc(this,i);var o=hn.unG(function(){return cc(this,e),hn._Nj(hn.JtY(n),2)}.bind(this)),s=function(){return cc(this,e),hn.JtY(o)[0]}.bind(this),a=function(){return cc(this,e),hn.JtY(o)[1]}.bind(this),h=vc(),c=hn.esp(h),f=function(t){var n=this;cc(this,e);var i=dc(),o=hn.jfp(i);ga(hn.jfp(o),{get color(){var t=this;return a(),hn.vzK(function(){return cc(this,t),a().color[0]}.bind(this))}}),hn.cLc(o);var s=hn.hg4(o),h=hn.IuP(s,!0),c=hn.hg4(s),f=hn.IuP(c,!0);hn.cLc(i),hn.vNg(function(t){var i=this;cc(this,n),hn.jax(h,(hn.iTV(u()),hn.vzK(function(){return cc(this,i),u().depositLoad}.bind(this)))),hn.jax(f,t)}.bind(this),[function(){var t=this;return cc(this,n),hn.JtY(r),a(),hn.vzK(function(){return cc(this,t),hn.JtY(r)(a().value.y[0])}.bind(this))}.bind(this)]),hn.BCw(t,i)}.bind(this);hn["if"](c,function(t){cc(this,e),"depositLoad"===s()&&t(f)}.bind(this));var l=hn.hg4(c,2),v=function(t){var n=this;cc(this,e);var i=dc(),r=hn.jfp(i);ga(hn.jfp(r),{get color(){var t=this;return a(),hn.vzK(function(){return cc(this,t),a().color[0]}.bind(this))}}),hn.cLc(r);var o=hn.hg4(r),s=hn.IuP(o,!0),h=hn.hg4(o),c=hn.IuP(h,!0);hn.cLc(i),hn.vNg(function(t){var i=this;cc(this,n),hn.jax(s,(hn.iTV(u()),hn.vzK(function(){return cc(this,i),u().balance}.bind(this)))),hn.jax(c,t)}.bind(this),[function(){var t=this;return cc(this,n),hn.JtY(d),a(),hn.vzK(function(){return cc(this,t),hn.JtY(d)(a().value.y[0])}.bind(this))}.bind(this)]),hn.BCw(t,i)}.bind(this);hn["if"](l,function(t){cc(this,e),"balance"===s()&&t(v)}.bind(this)),hn.BCw(t,h)}.bind(this)),hn.cLc(a),hn.cLc(s),hn.vNg(function(t){return cc(this,i),hn.jax(f,t)}.bind(this),[function(){var t=this;return cc(this,i),hn.iTV(Ka),hn.iTV(hn.JtY(o)),hn.vzK(function(){return cc(this,t),Ka(v,hn.JtY(o)[0][1].value.x)}.bind(this))}.bind(this)]),hn.BCw(t,s)}.bind(this)}});var g=hn.hg4(y,2),m=function(t){var n=this;cc(this,e),kn(t,{children:function(t,i){var r=this;cc(this,n);var e=yc(),o=hn.hg4(hn.esp(e)),u=hn.Xdt(function(){var t=this;return cc(this,r),hn.iTV(s()),hn.iTV(a()),hn.vzK(function(){var n=this;return cc(this,t),s().stops.filter(function(t){return cc(this,n),1e3*t.timestamp>=a().chart[0][0].x}.bind(this)).map(function(t){return cc(this,n),{x:1e3*t.timestamp,y:[t.profit]}}.bind(this))}.bind(this))}.bind(this));la(o,{name:"stops",get points(){return hn.JtY(u)},children:hn.y8B,$$slots:{"default":function(t,n){var i=this;cc(this,r);var e,o=hn.Xdt(function(){return cc(this,i),n.point}.bind(this)),a=hn.Xdt(function(){return cc(this,i),n.group}.bind(this)),u=hn.Xdt(function(){return cc(this,i),n.x}.bind(this)),c=pc();hn.vNg(function(t){var n=this;cc(this,i),hn.ToH(c,"xlink:href",(hn.iTV(hn.JtY(o)),hn.vzK(function(){return cc(this,n),hn.JtY(o).y[0]>0?"#flag_deposit":"#flag_withdrawal"}.bind(this)))),e=hn.ysU(c,0,"s-stop-flag",null,e,{"s-stop-flag-highlight":"deposits"===hn.JtY(h)&&hn.JtY(o).y[0]>0||"withdrawals"===hn.JtY(h)&&hn.JtY(o).y[0]<=0,"s-positive":hn.JtY(o).y[0]>0,"s-negative":hn.JtY(o).y[0]<=0}),hn.aIK(c,"x",hn.JtY(u)),hn.aIK(c,"y",t)}.bind(this),[function(){var t=this;return cc(this,i),hn.iTV(hn.JtY(a)),hn.iTV(hn.JtY(o)),hn.vzK(function(){return cc(this,t),hn.JtY(a).yScale(hn.JtY(a).yExtremum[hn.JtY(o).y[0]>0?0:1])}.bind(this))}
1.bind(this)]),hn.f0J("mouseenter",c,function(t){cc(this,i),t.target instanceof SVGUseElement&&hn.hZp(l,{x:t.target.x.baseVal.value,y:t.target.y.baseVal.value,value:hn.JtY(o).y[0],title:hn.JtY(d)(hn.JtY(o).y[0])+" "+s().currency})}.bind(this)),hn.f0J("mouseleave",c,function(){cc(this,i),hn.hZp(l,null)}.bind(this)),hn.BCw(t,c)}.bind(this)}}),hn.BCw(t,e)}.bind(this),$$slots:{"default":!0}})}.bind(this);hn["if"](g,function(t){var n=this;cc(this,e),hn.iTV(s()),hn.iTV(a()),hn.vzK(function(){var t;return cc(this,n),(null===(t=s().stops)||void 0===t?void 0:t.length)&&a().chart.length&&a().chart[0].length}.bind(this))&&t(m)}.bind(this)),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0,"x-axis":function(t,i){cc(this,n),os(t,{slot:"x-axis",format:y})}.bind(this)}});var m=hn.hg4(g,2),w=function(t){var i=this;cc(this,n);var r,e,o=mc(),s=hn.IuP(o,!0);hn.vNg(function(){var t,n,a=this;cc(this,i),r=hn.ysU(o,1,"s-ui-tooltip s-stop-flag__tooltip",null,r,{"s-top":hn.JtY(l).value>0,"s-bottom":hn.JtY(l).value<=0}),e=hn.hgi(o,"",e,{top:"".concat(null!==(hn.JtY(l),t=hn.vzK(function(){return cc(this,a),hn.JtY(l).y}.bind(this)))&&void 0!==t?t:"","px"),left:"".concat(null!==(hn.JtY(l),n=hn.vzK(function(){return cc(this,a),hn.JtY(l).x}.bind(this)))&&void 0!==n?n:"","px")}),hn.jax(s,(hn.JtY(l),hn.vzK(function(){return cc(this,a),hn.JtY(l).title}.bind(this))))}.bind(this)),hn.BCw(t,o)}.bind(this);hn["if"](m,function(t){cc(this,n),hn.JtY(l)&&t(w)}.bind(this)),hn.cLc(i),hn.kYK(1,i,function(){return cc(this,n),o.Rv}.bind(this),function(){return cc(this,n),{duration:60}}.bind(this)),hn.BCw(t,i)}.bind(this),_=function(t){cc(this,e);var n=hn.Qq7("loading...");hn.BCw(t,n)}.bind(this);hn["if"](m,function(t){var n=this;cc(this,e),hn.iTV(a()),hn.vzK(function(){return cc(this,n),a().inited}.bind(this))?t(w):t(_,-1)}.bind(this)),hn.cLc(g),hn.BJV(g,"clientWidth",function(t){return cc(this,e),hn.hZp(c,t)}.bind(this)),hn.BJV(g,"clientHeight",function(t){return cc(this,e),hn.hZp(f,t)}.bind(this)),hn.BCw(t,g)}.bind(this),$$slots:{"default":!0,header:function(t,n){var r=this;cc(this,i);var e=xc();Ta(hn.jfp(e),{gap:0,children:function(t,n){var i=this;cc(this,r);var e=hn.Imx(),o=hn.esp(e),c=function(t){cc(this,i);var n=vc(),r=hn.esp(n);tu(r,{first:!0,percent:!0,color:"var(--c-chart-gray)",get label(){var t=this;return hn.iTV(u()),hn.vzK(function(){return cc(this,t),u().depositLoad}.bind(this))},get value(){var t=this;return hn.iTV(s()),hn.vzK(function(){return cc(this,t),s().depositLoad}.bind(this))},key:"depositLoad",get group(){return hn.JtY(h)},set group(t){hn.hZp(h,t)},$$legacy:!0}),tu(hn.hg4(r,2),{money:!0,color:"var(--c-chart-blue)",get label(){var t=this;return hn.iTV(u()),hn.vzK(function(){return cc(this,t),u().balance}.bind(this))},get value(){var t=this;return hn.iTV(s()),hn.vzK(function(){return cc(this,t),s().balance}.bind(this))},get currency(){var t=this;return hn.iTV(s()),hn.vzK(function(){return cc(this,t),s().currency}.bind(this))},key:"balance",get group(){return hn.JtY(h)},set group(t){hn.hZp(h,t)},$$legacy:!0}),hn.BCw(t,n)}.bind(this);hn["if"](o,function(t){var n=this;cc(this,i),hn.iTV(a()),hn.vzK(function(){return cc(this,n),a().inited}.bind(this))&&t(c)}.bind(this)),hn.BCw(t,e)}.bind(this),$$slots:{"default":!0}}),hn.cLc(e),hn.BCw(t,e)}.bind(this)}}),hn.uYY(g)}function Tc(t){return Tc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tc(t)}function jc(t){return function(t){if(Array.isArray(t))return Sc(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return Sc(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Sc(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Sc(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=Array(n);i<n;i++)r[i]=t[i];return r}
1function Jc(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function Oc(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function zc(t,n,i){return(n=function(t){var n=function(t,n){if("object"!=Tc(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=Tc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==Tc(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}var Kc=hn.vUu("<!> <!> <!> <!>",1),Pc=hn.vUu("<tr><td><!></td><td> </td><td> </td></tr>"),Mc=hn.vUu('<table class="svg-chart__chart-tooltip"><tbody><tr><td colspan="3"> </td></tr><!></tbody></table>'),Cc=hn.vUu("<!> <!>",1),kc=hn.vUu('<div class="svg-chart__risks"><div class="svg-chart__charts-header"><div class="svg-chart__legend"><!></div></div> <div class="svg-chart__chart"><!></div></div>');function Vc(t,n){var i=this;if(this instanceof Vc?this.constructor:void 0)return(0,e.YU)(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?Oc(Object(i),!0).forEach(function(n){zc(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Oc(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}({component:Vc},t));hn.VCO(n,!1);var r=hn.zgK(),o=hn._w2(n,"account",12),s=hn._w2(n,"risksMfeMaeMoney",12),a=hn._w2(n,"res",12),u=hn._w2(n,"clientWidth",12),h=hn._w2(n,"clientHeight",12),c=hn._w2(n,"range",12),f=hn.zgK(0),l=hn.zgK(0),d=hn.zgK();hn.M3l(function(){return Jc(this,i),hn.iTV(o())}.bind(this),function(){Jc(this,i),hn.hZp(d,Va(o().digits))}.bind(this)),hn.M3l(function(){return Jc(this,i),hn.iTV(u()),hn.iTV(c())}.bind(this),function(){Jc(this,i),hn.hZp(f,Math.floor(u()/(2*c()+2)))}.bind(this)),hn.M3l(function(){return Jc(this,i),hn.JtY(f),hn.iTV(u())}.bind(this),function(){Jc(this,i),hn.hZp(l,hn.JtY(f)/u())}.bind(this)),hn.M3l(function(){return Jc(this,i),hn.iTV(a()),hn.iTV(s())}.bind(this),function(){Jc(this,i),hn.hZp(r,{max_avg_profit:{key:"max_avg_profit",label:a().max_avg_profit,color:"rgb(112, 177, 71)",period:s().period},max_avg_mfe:{key:"max_avg_mfe",label:a().max_avg_mfe,color:"rgba(112, 177, 71, 0.4)",period:s().period},min_avg_mae:{key:"min_avg_mae",label:a().min_avg_mae,color:"rgba(230, 106, 69, 0.4)",period:s().period},min_avg_loss:{key:"min_avg_loss",label:a().min_avg_loss,color:"rgb(230, 106, 69)",period:s().period}})}.bind(this)),hn.iqF();var v={get account(){return o()},set account(t){o(t),hn.bX()},get risksMfeMaeMoney(){return s()},set risksMfeMaeMoney(t){s(t),hn.bX()},get res(){return a()},set res(t){a(t),hn.bX()},get clientWidth(){return u()},set clientWidth(t){u(t),hn.bX()},get clientHeight(){return h()},set clientHeight(t){h(t),hn.bX()},get range(){return c()},set range(t){c(t),hn.bX()},$set:hn.hpB,$on:function(t,r){return Jc(this,i),hn.oeX(n,t,r)}.bind(this)};hn.TsN();var b=kc(),p=hn.jfp(b),y=hn.jfp(p);Ta(hn.jfp(y),{gap:0,children:function(t,n){Jc(this,i);var e=Kc(),u=hn.esp(e);tu(u,{get label(){var t=this;return hn.iTV(a()),hn.vzK(function(){return Jc(this,t),a().max_avg_mfe}.bind(this))},get value(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Jc(this,t),s().max_avg_mfe}.bind(this))},get color(){var t=this;return hn.JtY(r),hn.vzK(function(){return Jc(this,t),hn.JtY(r).max_avg_mfe.color}.bind(this))},get digits(){var t=this;return hn.iTV(o()),hn.vzK(function(){return Jc(this,t),o().digits}.bind(this))},money:!0,get currency(){var t=this;return hn.iTV(o()),hn.vzK(function(){return Jc(this,t),o().currency}.bind(this))},group:""});var h=hn.hg4(u,2);tu(h,{get label(){var t=this;return hn.iTV(a()),hn.vzK(function(){return Jc(this,t),a().max_avg_profit}.bind(this))},get value(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Jc(this,t),s().max_avg_profit}.bind(this))},get color(){var t=this;return hn.JtY(r),hn.vzK(function(){return Jc(this,t),hn.JtY(r).max_avg_profit.color}.bind(this))},get digits(){var t=this;return hn.iTV(o()),hn.vzK(function(){return Jc(this,t),o().digits}.bind(this))},money:!0,get currency(){var t=this;return hn.iTV(o()),hn.vzK(function(){return Jc(this,t),o().currency}.bind(this))},group:""});var c=hn.hg4(h,2);tu(c,{get label(){var t=this;return hn.iTV(a()),hn.vzK(function(){return Jc(this,t),a().min_avg_loss}.bind(this))},get value(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Jc(this,t),s().min_avg_loss}.bind(this))},get color(){var t=this;return hn.JtY(r),hn.vzK(function(){return Jc(this,t),hn.JtY(r).min_avg_loss.color}.bind(this))},get digits(){var t=this;return hn.iTV(o()),hn.vzK(function(){return Jc(this,t),o().digits}.bind(this))},money:!0,get currency(){var t=this;return hn.iTV(o()),hn.vzK(function(){return Jc(this,t),o().currency}.bind(this))},group:""}),tu(hn.hg4(c,2),{get label(){var t=this;return hn.iTV(a()),hn.vzK(function(){return Jc(this,t),a().min_avg_mae}.bind(this))},get value(){var t=this;return hn.iTV(s()),hn.vzK(function(){return Jc(this,t),s().min_avg_mae}.bind(this))},get color(){var t=this;return hn.JtY(r),hn.vzK(function(){return Jc(this,t),hn.JtY(r).min_avg_mae.color}.bind(this))},get digits(){var t=this;return hn.iTV(o()),hn.vzK(function(){return Jc(this,t),o().digits}.bind(this))},money:!0,get currency(){var t=this;return hn.iTV(o()),hn.vzK(function(){return Jc(this,t),o().currency}.bind(this))},group:""}),hn.BCw(t,e)}.bind(this),$$slots:{"default":!0}}),hn.cLc(y),hn.cLc(p);
1var g=hn.hg4(p,2),m=hn.jfp(g),w=hn.Xdt(function(){return Jc(this,i),{top:.1,right:hn.JtY(l),bottom:.05,left:hn.JtY(l)}}.bind(this));return Tn(m,{get gap(){return hn.JtY(w)},padding:{top:0,right:0,bottom:0,left:0},get width(){return u()},get height(){return h()},children:function(t,n){var e=this;Jc(this,i);var a=Cc(),u=hn.esp(a);kn(u,{children:function(t,n){var i=this;Jc(this,e);var o=Kc(),a=hn.esp(o),u=hn.Xdt(function(){var t=this;return Jc(this,i),hn.iTV(s()),hn.vzK(function(){var n=this;return Jc(this,t),s().chart[0].map(function(t){var i=t.x,r=t.y;return Jc(this,n),{x:i,y:jc(r).slice(1,2)}}.bind(this))}.bind(this))}.bind(this)),h=hn.Xdt(function(){var t=this;return Jc(this,i),hn.JtY(r),hn.vzK(function(){return Jc(this,t),[hn.JtY(r).max_avg_mfe.color]}.bind(this))}.bind(this));Os(a,{get points(){return hn.JtY(u)},get name(){var t=this;return hn.JtY(r),hn.vzK(function(){return Jc(this,t),hn.JtY(r).max_avg_mfe.key}.bind(this))},get color(){return hn.JtY(h)},borderColor:["#fff"],borderWidth:0,get width(){return hn.JtY(f)},get gap(){return hn.JtY(l)}});var c=hn.hg4(a,2),d=hn.Xdt(function(){var t=this;return Jc(this,i),hn.iTV(s()),hn.vzK(function(){var n=this;return Jc(this,t),s().chart[0].map(function(t){var i=t.x,r=t.y;return Jc(this,n),{x:i,y:jc(r).slice(0,1)}}.bind(this))}.bind(this))}.bind(this)),v=hn.Xdt(function(){var t=this;return Jc(this,i),hn.JtY(r),hn.vzK(function(){return Jc(this,t),[hn.JtY(r).max_avg_profit.color]}.bind(this))}.bind(this));Os(c,{get points(){return hn.JtY(d)},get name(){var t=this;return hn.JtY(r),hn.vzK(function(){return Jc(this,t),hn.JtY(r).max_avg_profit.key}.bind(this))},get color(){return hn.JtY(v)},borderColor:["#fff"],borderWidth:0,get width(){return hn.JtY(f)},get gap(){return hn.JtY(l)}});var b=hn.hg4(c,2),p=hn.Xdt(function(){var t=this;return Jc(this,i),hn.iTV(s()),hn.vzK(function(){var n=this;return Jc(this,t),s().chart[0].map(function(t){var i=t.x,r=t.y;return Jc(this,n),{x:i,y:jc(r).slice(2,3)}}.bind(this))}.bind(this))}.bind(this)),y=hn.Xdt(function(){var t=this;return Jc(this,i),hn.JtY(r),hn.vzK(function(){return Jc(this,t),[hn.JtY(r).min_avg_loss.color]}.bind(this))}.bind(this));Os(b,{get points(){return hn.JtY(p)},get name(){var t=this;return hn.JtY(r),hn.vzK(function(){return Jc(this,t),hn.JtY(r).min_avg_loss.key}.bind(this))},get color(){return hn.JtY(y)},borderColor:["#fff"],borderWidth:0,get width(){return hn.JtY(f)},get gap(){return hn.JtY(l)}});var g=hn.hg4(b,2),m=hn.Xdt(function(){var t=this;return Jc(this,i),hn.iTV(s()),hn.vzK(function(){var n=this;return Jc(this,t),s().chart[0].map(function(t){var i=t.x,r=t.y;return Jc(this,n),{x:i,y:jc(r).slice(3,4)}}.bind(this))}.bind(this))}.bind(this)),w=hn.Xdt(function(){var t=this;return Jc(this,i),hn.JtY(r),hn.vzK(function(){return Jc(this,t),[hn.JtY(r).min_avg_mae.color]}.bind(this))}.bind(this));Os(g,{get points(){return hn.JtY(m)},get name(){var t=this;return hn.JtY(r),hn.vzK(function(){return Jc(this,t),hn.JtY(r).min_avg_mae.key}.bind(this))},get color(){return hn.JtY(w)},borderColor:["#fff"],borderWidth:0,get width(){return hn.JtY(f)},get gap(){return hn.JtY(l)}}),hn.BCw(t,o)}.bind(this),$$slots:{"default":!0,"y-axis":function(t,n){var i=this;Jc(this,e);var r=hn.Xdt(function(){var t=this;return Jc(this,i),hn.iTV(Va),hn.iTV(o()),hn.vzK(function(){return Jc(this,t),Va(o().digits)}.bind(this))}.bind(this));ms(t,{slot:"y-axis",grid:!0,get format(){return hn.JtY(r)}})}.bind(this)}});var h=hn.hg4(u,2),c=hn.Xdt(function(){return Jc(this,e),2*hn.JtY(f)}.bind(this));ea(h,{color:["rgba(55, 160, 244, 0.15)"],get lineWidth(){return hn.JtY(c)},invert:!0,size:8,strokeWidth:2,fill:!0,hideDot:!0,hideLine:!1,children:hn.y8B,$$slots:{"default":function(t,n){var i=this;Jc(this,e);var o=hn.Xdt(function(){return Jc(this,i),n.data}.bind(this)),a=Mc(),u=hn.jfp(a),h=hn.jfp(u),c=hn.jfp(h),f=hn.IuP(c,!0);hn.cLc(h);var l=hn.hg4(h);hn.__1(l,1,function(){return Jc(this,i),hn.JtY(o)}.bind(this),hn.Pe0,function(t,n){var e=this;Jc(this,i);var o=hn.unG(function(){return Jc(this,e),hn._Nj(hn.JtY(n),2)}.bind(this)),s=function(){return Jc(this,e),hn.JtY(o)[0]}.bind(this),a=function(){return Jc(this,e),hn.JtY(o)[1]}.bind(this),u=hn.Imx(),h=hn.esp(u),c=function(t){var n=this;Jc(this,e);var i=Pc(),o=hn.jfp(i);ga(hn.jfp(o),{get color(){var t=this;return hn.JtY(r),hn.vzK(function(){return Jc(this,t),hn.JtY(r).max_avg_mfe.color}.bind(this))}}),hn.cLc(o);var s=hn.hg4(o),u=hn.IuP(s,!0),h=hn.hg4(s),c=hn.IuP(h,!0);hn.cLc(i),hn.vNg(function(t){var i=this;Jc(this,n),hn.jax(u,(hn.JtY(r),hn.vzK(function(){return Jc(this,i),hn.JtY(r).max_avg_mfe.label}.bind(this)))),hn.jax(c,t)}.bind(this),[function(){var t=this;return Jc(this,n),hn.JtY(d),a(),hn.vzK(function(){return Jc(this,t),hn.JtY(d)(a().value.y[0])}.bind(this))}.bind(this)]),hn.BCw(t,i)}.bind(this),f=function(t){var n=this;Jc(this,e);var i=Pc(),o=hn.jfp(i);ga(hn.jfp(o),{get color(){var t=this;return hn.JtY(r),hn.vzK(function(){return Jc(this,t),hn.JtY(r).max_avg_profit.color}.bind(this))}}),hn.cLc(o);var s=hn.hg4(o),u=hn.IuP(s,!0),h=hn.hg4(s),c=hn.IuP(h,!0);hn.cLc(i),hn.vNg(function(t){var i=this;Jc(this,n),hn.jax(u,(hn.JtY(r),hn.vzK(function(){return Jc(this,i),hn.JtY(r).max_avg_profit.label}.bind(this)))),hn.jax(c,t)}.bind(this),[function(){var t=this;return Jc(this,n),hn.JtY(d),a(),hn.vzK(function(){return Jc(this,t),hn.JtY(d)(a().value.y[0])}.bind(this))}.bind(this)]),hn.BCw(t,i)}.bind(this),l=function(t){var n=this;Jc(this,e);var i=Pc(),o=hn.jfp(i);ga(hn.jfp(o),{get color(){var t=this;return hn.JtY(r),hn.vzK(function(){return Jc(this,t),hn.JtY(r).min_avg_loss.color}.bind(this))}}),hn.cLc(o);var s=hn.hg4(o),u=hn.IuP(s,!0),h=hn.hg4(s),c=hn.IuP(h,!0);hn.cLc(i),hn.vNg(function(t){var i=this;Jc(this,n),hn.jax(u,(hn.JtY(r),hn.vzK(function(){return Jc(this,i),hn.JtY(r).min_avg_loss.label}.bind(this)))),hn.jax(c,t)}.bind(this),[function(){var t=this;return Jc(this,n),hn.JtY(d),a(),hn.vzK(function(){return Jc(this,t),hn.JtY(d)(a().value.y[0])}.bind(this))}.bind(this)]),hn.BCw(t,i)}.bind(this),v=function(t){var n=this;Jc(this,e);var i=Pc(),o=hn.jfp(i);ga(hn.jfp(o),{get color(){var t=this;return hn.JtY(r),hn.vzK(function(){return Jc(this,t),hn.JtY(r).min_avg_mae.color}.bind(this))}}),hn.cLc(o);var s=hn.hg4(o),u=hn.IuP(s,!0),h=hn.hg4(s),c=hn.IuP(h,!0);hn.cLc(i),hn.vNg(function(t){var i=this;Jc(this,n),hn.jax(u,(hn.JtY(r),hn.vzK(function(){return Jc(this,i),hn.JtY(r).min_avg_mae.label}.bind(this)))),hn.jax(c,t)}.bind(this),[function(){var t=this;return Jc(this,n),hn.JtY(d),a(),hn.vzK(function(){return Jc(this,t),hn.JtY(d)(a().value.y[0])}.bind(this))}.bind(this)]),hn.BCw(t,i)}.bind(this);hn["if"](h,function(t){var n=this;Jc(this,e),s(),hn.JtY(r),hn.vzK(function(){return Jc(this,n),s()===hn.JtY(r).max_avg_mfe.key}.bind(this))?t(c):(s(),hn.JtY(r),hn.vzK(function(){return Jc(this,n),s()===hn.JtY(r).max_avg_profit.key}.bind(this))?t(f,1):(s(),hn.JtY(r),hn.vzK(function(){return Jc(this,n),s()===hn.JtY(r).min_avg_loss.key}.bind(this))?t(l,2):(s(),hn.JtY(r),hn.vzK(function(){return Jc(this,n),s()===hn.JtY(r).min_avg_mae.key}.bind(this))&&t(v,3))))}.bind(this)),hn.BCw(t,u)}.bind(this)),hn.cLc(u),hn.cLc(a),hn.vNg(function(t){return Jc(this,i),hn.jax(f,t)}.bind(this),[function(){var t=this;return Jc(this,i),hn.iTV(Ka),hn.iTV(s()),hn.iTV(hn.JtY(o)),hn.vzK(function(){return Jc(this,t),Ka(s().period,hn.JtY(o)[0][1].value.x)}.bind(this))}.bind(this)]),hn.BCw(t,a)}.bind(this)}}),hn.BCw(t,a)}.bind(this),$$slots:{"default":!0,"x-axis":function(t,n){Jc(this,i),Fo(t,{slot:"x-axis",get format(){var t=this;return hn.iTV(no),hn.vzK(function(){return Jc(this,t),no.Month}.bind(this))}})}.bind(this)}}),hn.cLc(g),hn.cLc(b),hn.BJV(g,"clientWidth",u),hn.BJV(g,"clientHeight",h),hn.BCw(t,b),hn.uYY(v)}function Ec(t){return Ec="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ec(t)}function Nc(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function Ic(t){var n=this,i=t.tag,r=void 0===i?"div":i,e=t.attributes,o=void 0===e?undefined:e,s=t.classList,a=void 0===s?undefined:s,u=t.listeners,h=void 0===u?undefined:u,c=t.properties,f=void 0===c?undefined:c,l=t.children,d=void 0===l?undefined:l,v=t.fzEvent,b=void 0===v?undefined:v,p=t.fzEventAction,y=void 0===p?"click":p,g=r instanceof Node?r:document.createElement(r);(a&&a.forEach(function(t){Nc(this,n),t&&g.classList.add(t)}
1.bind(this)),o)&&Object.keys(o).forEach(function(t){Nc(this,n),g.setAttribute(t,o[t])}.bind(this));f&&Object.keys(f).forEach(function(t){Nc(this,n),g[t]=f[t]}.bind(this));h&&Object.keys(h).forEach(function(t){Nc(this,n),g.addEventListener(t,h[t])}.bind(this));if(b&&g.addEventListener(y,function(){Nc(this,n),"object"===Ec(b)?window.fz&&window.fz("event",b):window.fz&&window.fz("track",b)}.bind(this)),!d)return g;if("string"==typeof d)g.innerHTML=d;else if(d instanceof Node)g.appendChild(d);else for(var m=0,w=d.length;m<w;m++){var _=d[m];_&&("string"!=typeof _?(_ instanceof Node||(_=Ic(_)),g.appendChild(_)):g.insertAdjacentHTML("beforeend",_))}return g}function Bc(t,n){var i,r,e,o,s=0;function a(){s=Date.now(),r=undefined,i=t.apply(o,e),r||(e=undefined,o=undefined)}return function(){o=this;for(var u=arguments.length,h=new Array(u),c=0;c<u;c++)h[c]=arguments[c];e=h;var f=Date.now(),l=n-(f-s);return l<=0||l>n?(r&&(clearTimeout(r),r=undefined),s=f,i=t.apply(o,e)):r||(r=setTimeout(a,l)),i}}window.localizationList=window.localizationList||{};var $c={};function Xc(t){var n;if(t in $c)n=$c[t];else{for(var i=window.localizationList,r=t.split("."),e=0,o=r.length;e<o&&r[e]in i&&"string"!=typeof(i=i[r[e]]);e++);if("string"!=typeof i)return"[".concat(t,"]");n=i,$c[t]=n}for(var s=0,a=arguments.length<=1?0:arguments.length-1;s<a;s++)n=n.replace("{".concat(s,"}"),s+1<1||arguments.length<=s+1?undefined:arguments[s+1]);return n}var Lc={},Ac=0,Dc=1,Uc=2,Wc=3,Zc=4,Fc=5,qc=6,Hc=7,Rc=8,Gc=9,Qc=10,tf=11;function nf(t){var n=arguments.length>1&&arguments[1]!==undefined&&arguments[1],i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:":",r=arguments.length>3&&arguments[3]!==undefined&&arguments[3],e=arguments.length>4&&arguments[4]!==undefined&&arguments[4],o=n?t.getUTCMinutes():t.getMinutes(),s=n?t.getUTCHours():t.getHours(),a="".concat(String(s).padStart(2,"0")).concat(i).concat(String(o).padStart(2,"0"));if(r){var u=n?t.getUTCSeconds():t.getSeconds();a+="".concat(i).concat(String(u).padStart(2,"0"))}if(e){var h=n?t.getUTCMilliseconds():t.getMilliseconds();a+="".concat(i).concat(String(h).padStart(4,"0"))}return a}function rf(t){var n=arguments.length>1&&arguments[1]!==undefined&&arguments[1],i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:"-",r=arguments.length>3&&arguments[3]!==undefined&&arguments[3],e=n?t.getUTCDate():t.getDate(),o=n?t.getUTCMonth():t.getMonth(),s=t.getUTCFullYear();return r?"".concat(s).concat(i).concat("0".concat(o+1).slice(-2)).concat(i).concat("0".concat(e).slice(-2)):"".concat("0".concat(e).slice(-2)).concat(i).concat("0".concat(o+1).slice(-2)).concat(i).concat(s)}var ef,of=!1;function sf(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:qc,i=arguments.length>2&&arguments[2]!==undefined&&arguments[2];if(!of)switch(n){case Ac:return"".concat(sf(t,Uc,i),", ").concat(sf(t,Wc,i));case Dc:return nf(t,i);case Zc:case Uc:return i?"".concat(t.getUTCDate(),".").concat(t.getUTCMonth()+1):"".concat(t.getDate(),".").concat(t.getMonth()+1);case Wc:return"".concat(i?t.getUTCDay():t.getDay());default:return rf(t,i)}switch(n){case Ac:return i?"".concat(Lc.longDateUtc.format(t),", ").concat(Lc.longWeekdayUtc.format(t)):"".concat(Lc.longDate.format(t),", ").concat(Lc.longWeekday.format(t));case Dc:return nf(t,i);case Zc:return i?Lc.shortDateUtc.format(t):Lc.shortDate.format(t);case Uc:return i?Lc.longDateUtc.format(t):Lc.longDate.format(t);case Wc:return i?Lc.longWeekdayUtc.format(t):Lc.longWeekday.format(t);case qc:return rf(t,i,".",!0);case Hc:return"".concat(rf(t,i,".",!0)," ").concat(nf(t,i));case Fc:return i?"".concat(Lc.shortDateUtc.format(t)," ").concat(nf(t,i)):"".concat(Lc.shortDate.format(t)," ").concat(nf(t,i));case Rc:return i?Lc.monthYearUtc.format(t):Lc.monthYear.format(t);case Gc:return i?Lc.shortWeekdayUtc.format(t):Lc.shortWeekday.format(t);case Qc:return i?Lc.longMonthUtc.format(t):Lc.longMonth.format(t);case tf:return i?Lc.shortMonthUtc.format(t):Lc.shortMonth.format(t);default:return rf(t,i)}}function af(t){var n,i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:100;return function(){for(var r=this,e=arguments.length,o=new Array(e),s=0;s<e;s++)o[s]=arguments[s];clearTimeout(n),n=setTimeout(function(){!function(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}(this,r),t.apply(void 0,o)}.bind(this),i)}}!function(){if(of=window.Intl!==undefined){var t=document.documentElement.lang||"en-GB";switch(t){case"ru":t="ru-RU";break;case"zh":t="zh-CN";break;case"en":t="en-GB"}var n=[t,"en"];Lc.datestandard=new window.Intl.DateTimeFormat(["lt-LT","ko-KR","en"],{year:"numeric",month:"2-digit",day:"2-digit"}),Lc.shortDate=new window.Intl.DateTimeFormat(n,{day:"numeric",month:"short"}),Lc.shortDateUtc=new window.Intl.DateTimeFormat(n,{day:"numeric",month:"short",timeZone:"UTC"}),Lc.longDate=new window.Intl.DateTimeFormat(n,{day:"numeric",month:"long"}),Lc.longDateUtc=new window.Intl.DateTimeFormat(n,{day:"numeric",month:"long",timeZone:"UTC"}),Lc.time=new window.Intl.DateTimeFormat(n,{hour:"numeric",minute:"numeric",hour12:!1}),Lc.relative=window.Intl.RelativeTimeFormat?new window.Intl.RelativeTimeFormat(n,{numeric:"auto"}):undefined,Lc.shortMonth=new window.Intl.DateTimeFormat(n,{month:"short"}),Lc.shortMonthUtc=new window.Intl.DateTimeFormat(n,{month:"short",timeZone:"UTC"}),Lc.longMonth=new window.Intl.DateTimeFormat(n,{month:"long"}),Lc.longMonthUtc=new window.Intl.DateTimeFormat(n,{month:"long",timeZone:"UTC"}),Lc.dayMonth=new window.Intl.DateTimeFormat(n,{day:"numeric",month:"long"}),Lc.dayMonthUtc=new window.Intl.DateTimeFormat(n,{day:"numeric",month:"long",timeZone:"UTC"}),Lc.longWeekday=new window.Intl.DateTimeFormat(n,{weekday:"long"}),Lc.longWeekdayUtc=new window.Intl.DateTimeFormat(n,{weekday:"long",timeZone:"UTC"}),Lc.shortWeekday=new window.Intl.DateTimeFormat(n,{weekday:"short"}),Lc.shortWeekdayUtc=new window.Intl.DateTimeFormat(n,{weekday:"short",timeZone:"UTC"}),Lc.monthYear=new window.Intl.DateTimeFormat(n,{month:"long",year:"numeric"}),Lc.monthYearUtc=new window.Intl.DateTimeFormat(n,{month:"long",year:"numeric",timeZone:"UTC"})}}(),function(t){t.M1="M1",t.M5="M5",t.M15="M15",t.M30="M30",t.H1="H1",t.H4="H4",t.D1="D1",t.W1="W1",t.MN="MN"}(ef||(ef={}));var uf="Trebuchet MS, Helvetica, Tahoma, Arial, sans-serif",hf={gradient:{plus:"rgba(75,173,233,0.1)",minus:"rgba(243,67,20,0.4)",end:"rgba(255,255,255,0)"},line:{minus:"#f34314",plus:"#4BADE9"}
1,axisLine:"#dde6ee",text:"#000",textSub:"#808080",stroke:"#fff",shadow:"rgba(0,0,0,0.1)"},cf={gradient:{plus:"rgba(75,173,233,0.2)",minus:"rgba(253,55,83,0.2)",end:"rgba(26,29,34,0)"},line:{minus:"#fd3753",plus:"#4BADE9"},text:"#edebef",axisLine:"#edebef",textSub:"#aeaeae",stroke:"#1a1d22",shadow:"rgba(255,255,255,0.1)"};function ff(t){return ff="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ff(t)}function lf(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,df(r.key),r)}}function df(t){var n=function(t,n){if("object"!=ff(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=ff(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==ff(n)?n:n+""}var vf,bf,pf,yf,gf,mf,wf,_f,xf,Yf,Tf,jf,Sf,Jf,Of,zf,Kf,Pf,Mf,Cf,kf,Vf=undefined&&undefined.__classPrivateFieldSet||function(t,n,i,r,e){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!e)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?t!==n||!e:!n.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?e.call(t,i):e?e.value=i:n.set(t,i),i},Ef=undefined&&undefined.__classPrivateFieldGet||function(t,n,i,r){if("a"===i&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof n?t!==n||!r:!n.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?r:"a"===i?r.call(t):r?r.value:n.get(t)},Nf=function(){return t=function r(t,n,i,e,o){var s=this;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),vf.add(this),bf.set(this,void 0),pf.set(this,void 0),yf.set(this,void 0),gf.set(this,void 0),mf.set(this,0),wf.set(this,0),_f.set(this,uf),xf.set(this,void 0),Yf.set(this,void 0),Tf.set(this,window.devicePixelRatio||1),jf.set(this,void 0),Sf.set(this,void 0),Jf.set(this,void 0),Of.set(this,void 0),zf.set(this,void 0),Kf.set(this,void 0),Vf(this,yf,t,"f"),Vf(this,Yf,n,"f"),Vf(this,Jf,i,"f"),Vf(this,Of,e,"f"),Vf(this,zf,o,"f"),Vf(this,mf,0,"f"),Vf(this,wf,0,"f"),Vf(this,xf,12,"f"),Vf(this,gf,8,"f"),Vf(this,jf,2,"f"),Vf(this,Sf,4,"f"),Vf(this,pf,{},"f"),this.canvasPoints=Ic({classList:["nav-card__canvas-point"],tag:"canvas"}),Vf(this,bf,this.canvasPoints.getContext("2d"),"f"),this.canvasPoints.addEventListener("mousemove",Bc(Ef(this,vf,"m",kf).bind(this),50)),this.canvasPoints.addEventListener("mouseleave",af(function(){!function(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}(this,s),Vf(this,Kf,undefined,"f"),Ef(this,vf,"m",Cf).call(this)}.bind(this),100))},(n=[{key:"destroy",value:function(){this.canvasPoints.parentNode&&this.canvasPoints.parentNode.removeChild(this.canvasPoints)}},{key:"setSize",value:function(t,n,i){Vf(this,mf,t,"f"),Vf(this,wf,n,"f"),this.canvasPoints.style.width="".concat(Ef(this,mf,"f"),"px"),this.canvasPoints.style.height="".concat(Ef(this,wf,"f"),"px"),this.canvasPoints.width=Math.round(Ef(this,mf,"f")*Ef(this,Tf,"f")),this.canvasPoints.height=Math.round(Ef(this,wf,"f")*Ef(this,Tf,"f")),Ef(this,bf,"f").setTransform(Ef(this,Tf,"f"),0,0,Ef(this,Tf,"f"),0,0)}},{key:"setPoints",value:function(t){Vf(this,yf,t,"f")}},{key:"resetCache",value:function(){Vf(this,pf,{},"f")}}])&&lf(t.prototype,n),i&&lf(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,i}();bf=new WeakMap,pf=new WeakMap,yf=new WeakMap,gf=new WeakMap,mf=new WeakMap,wf=new WeakMap,_f=new WeakMap,xf=new WeakMap,Yf=new WeakMap,Tf=new WeakMap,jf=new WeakMap,Sf=new WeakMap,Jf=new WeakMap,Of=new WeakMap,zf=new WeakMap,Kf=new WeakMap,vf=new WeakSet,Pf=function(t){var n=this.canvasPoints.getBoundingClientRect();return t.clientX-n.left},Mf=function(){var t=qc;switch(Ef(this,Yf,"f")){case ef.M1:case ef.M5:case ef.M15:case ef.M30:case ef.H1:case ef.H4:t=Fc}return t},Cf=function(){if(Ef(this,bf,"f").clearRect(0,0,Ef(this,mf,"f"),Ef(this,wf,"f")),Ef(this,Kf,"f")){Ef(this,bf,"f").font="".concat(Ef(this,xf,"f"),"px ").concat(Ef(this,_f,"f")),Ef(this,bf,"f").textBaseline="alphabetic";var t=Ef(this,vf,"m",Mf).call(this),n=Ef(this,Kf,"f").point,i=n.value.toFixed(Ef(this,Of,"f"));Ef(this,zf,"f")&&(i+="%");var r=sf(n.date,t,!0),e=Ef(this,bf,"f").measureText("".concat(i)),o=Ef(this,bf,"f").measureText(r),s=e.width>o.width?e:o,a=s.fontBoundingBoxAscent||s.actualBoundingBoxAscent+3||11,u=1.4*a,h=Ef(this,Sf,"f")+Ef(this,gf,"f")/2;Ef(this,bf,"f").beginPath(),Ef(this,bf,"f").lineWidth=Ef(this,jf,"f")/2,Ef(this,bf,"f").arc(n.x,n.y,Ef(this,Sf,"f"),0,2*Math.PI,!1),Ef(this,bf,"f").fillStyle=n.value<0?Ef(this,Jf,"f").line.minus:Ef(this,Jf,"f").line.plus,Ef(this,bf,"f").strokeStyle=Ef(this,Jf,"f").stroke,Ef(this,bf,"f").fill(),Ef(this,bf,"f").stroke(),Ef(this,bf,"f").closePath(),Ef(this,bf,"f").beginPath();var c=a+u+2*Ef(this,gf,"f"),f=s.width+2*Ef(this,gf,"f"),l=n.x-f/2,d=n.y-c-h;l<0?l=0:l+f>Ef(this,mf,"f")&&(l=Ef(this,mf,"f")-f),d<0&&(d=n.y+h),Ef(this,bf,"f").rect(l,d,f,c),Ef(this,bf,"f").shadowColor=Ef(this,Jf,"f").shadow;var v=6*devicePixelRatio;Ef(this,bf,"f").shadowOffsetX=v,Ef(this,bf,"f").shadowOffsetY=v,Ef(this,bf,"f").shadowBlur=10*devicePixelRatio,Ef(this,bf,"f").fillStyle=Ef(this,Jf,"f").stroke,Ef(this,bf,"f").fill(),Ef(this,bf,"f").shadowColor="transparent",Ef(this,bf,"f").rect(l,d,f,c),Ef(this,bf,"f").fill(),Ef(this,bf,"f").closePath(),Ef(this,bf,"f").beginPath(),Ef(this,bf,"f").textBaseline="top",Ef(this,bf,"f").textAlign="start",Ef(this,bf,"f").fillStyle=Ef(this,Jf,"f").text;var b=l+Ef(this,gf,"f"),p=d+Ef(this,gf,"f");Ef(this,bf,"f").fillText("".concat(i),b,p),Ef(this,bf,"f").fillStyle=Ef(this,Jf,"f").textSub,Ef(this,bf,"f").fillText(r,b,p+u),Ef(this,bf,"f").closePath()}},kf=function(t){var n=Ef(this,vf,"m",Pf).call(this,t);if(Ef(this,pf,"f")[n]){if(Ef(this,Kf,"f")===Ef(this,pf,"f")[n])return;return Vf(this,Kf,Ef(this,pf,"f")[n],"f"),void Ef(this,vf,"m",Cf).call(this)}for(var i=0,r=Ef(this,yf,"f").length;i<r;i++){var e=0;if(Ef(this,yf,"f")[i+1]&&(e=(Ef(this,yf,"f")[i+1].x-Ef(this,yf,"f")[i].x)/2),Ef(this,yf,"f")[i].x+e>=n){if(Ef(this,Kf,"f")&&Ef(this,Kf,"f").point.date===Ef(this,yf,"f")[i].date)break;var o=Ef(this,yf,"f")[i];Vf(this,Kf,{point:o},"f"),Ef(this,vf,"m",Cf).call(this),Ef(this,pf,"f")[n]=Ef(this,Kf,"f");break}}};const If=Nf;function Bf(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var r,e,o,s,a=[],u=!0,h=!1;try{if(o=(i=i.call(t)).next,0===n){if(Object(i)!==i)return;u=!1}else for(;!(u=(r=o.call(i)).done)&&(a.push(r.value),a.length!==n);u=!0);}catch(t){h=!0,e=t}finally{try{if(!u&&null!=i["return"]&&(s=i["return"](),Object(s)!==s))return}finally{if(h)throw e}}return a}}(t,n)||Xf(t,n)||function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $f(t){return function(t){if(Array.isArray(t))return Lf(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Xf(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xf(t,n){if(t){if("string"==typeof t)return Lf(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Lf(t,n):void 0}}function Lf(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=Array(n);i<n;i++)r[i]=t[i];return r}function Af(t){return Af="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Af(t)}function Df(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function Uf(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Wf(r.key),r)}}function Wf(t){var n=function(t,n){if("object"!=Af(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=Af(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==Af(n)?n:n+""}i.dn(Zl);var Zf,Ff,qf,Hf,Rf,Gf,Qf,tl,nl,il,rl,el,ol,sl,al,ul,hl,cl,fl,ll,dl,vl,bl,pl,yl,gl,ml,wl,_l,xl,Yl,Tl,jl,Sl,Jl,Ol,zl,Kl,Pl,Ml,Cl,kl,Vl,El,Nl,Il,Bl,$l=undefined&&undefined.__classPrivateFieldSet||function(t,n,i,r,e){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!e)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?t!==n||!e:!n.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?e.call(t,i):e?e.value=i:n.set(t,i),i},Xl=undefined&&undefined.__classPrivateFieldGet||function(t,n,i,r){if("a"===i&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof n?t!==n||!r:!n.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?r:"a"===i?r.call(t):r?r.value:n.get(t)},Ll={timeFrame:ef.D1,isDarkTheme:!1,showDate:!0,showAxisY:!1,showPoint:!0,percents:!1,digits:2};function Al(t){return"".concat(t.getUTCDate()," ").concat(Xc("monthsShort.".concat(t.getUTCMonth())))}function Dl(t){return"".concat(Xc("monthsShort.".concat(t.getUTCMonth())))}function Ul(t){return"".concat(Xc("monthsShort.".concat(t.getUTCMonth()))," ").concat(t.getUTCFullYear())}var Wl=function(){return t=function r(t,n){var i=this;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),Zf.add(this),Ff.set(this,void 0),qf.set(this,void 0),Hf.set(this,window.devicePixelRatio||1),Rf.set(this,uf),Gf.set(this,void 0),Qf.set(this,void 0),tl.set(this,void 0),nl.set(this,void 0),il.set(this,void 0),rl.set(this,void 0),el.set(this,void 0),ol.set(this,void 0),sl.set(this,void 0),al.set(this,0),ul.set(this,0),hl.set(this,0),cl.set(this,0),fl.set(this,0),ll.set(this,void 0),dl.set(this,void 0),vl.set(this,void 0),bl.set(this,void 0),pl.set(this,[]),yl.set(this,void 0),gl.set(this,new Set),ml.set(this,0),$l(this,qf,t,"f"),$l(this,Ff,[],"f"),$l(this,bl,0,"f"),$l(this,dl,Object.assign(Object.assign({},Ll),n),"f");var e=n.isDarkTheme?cf:hf;n.theme?$l(this,vl,Object.assign(Object.assign({},e),n.theme),"f"):$l(this,vl,e,"f"),this.canvasChart=Ic({classList:["nav-card__canvas"],tag:"canvas"}),$l(this,sl,this.canvasChart.getContext("2d"),"f"),$l(this,Qf,12,"f"),$l(this,tl,10,"f"),$l(this,Gf,12,"f"),$l(this,nl,2,"f"),$l(this,il,4,"f"),$l(this,rl,23,"f"),$l(this,el,25,"f"),$l(this,ol,Xl(this,Zf,"m",xl).call(this),"f"),$l(this,ll,Xl(this,Zf,"m",Tl).call(this),"f"),$l(this,cl,Xl(this,Qf,"f"),"f"),Xl(this,dl,"f").showPoint&&$l(this,cl,Xl(this,cl,"f")+Xl(this,il,"f")/2,"f"),$l(this,fl,Xl(this,Qf,"f"),"f"),Xl(this,dl,"f").showDate&&($l(this,fl,Xl(this,fl,"f")+Xl(this,tl,"f"),"f"),$l(this,fl,Xl(this,fl,"f")+Xl(this,Qf,"f"),"f")),Xl(this,dl,"f").showAxisY&&(Xl(this,sl,"f").font="".concat(Xl(this,Gf,"f"),"px ").concat(Xl(this,Rf,"f")),$l(this,hl,Xl(this,sl,"f").measureText(Xl(this,ll,"f").max.toFixed(Xl(this,dl,"f").digits)).width+2*Xl(this,Qf,"f"),"f")),Xl(this,Zf,"m",_l).call(this),$l(this,yl,Bc(function(){Df(this,i),this.canvasChart.parentNode?(this.chartPoints&&this.chartPoints.resetCache(),this.render()):this.destroy()}.bind(this),300),"f"),window.addEventListener("resize",Xl(this,yl,"f")),Xl(this,dl,"f").showPoint&&(this.chartPoints=new If(Xl(this,Ff,"f"),Xl(this,dl,"f").timeFrame,Xl(this,vl,"f"),Xl(this,dl,"f").digits,Xl(this,dl,"f").percents))},(n=[{key:"destroy",value:function(){window.removeEventListener("resize",Xl(this,yl,"f")),this.canvasChart.parentNode&&this.canvasChart.parentNode.removeChild(this.canvasChart),this.chartPoints&&this.chartPoints.destroy()}},{key:"render",value:function(){Xl(this,Zf,"m",Yl).call(this),Xl(this,Zf,"m",jl).call(this),Xl(this,sl,"f").clearRect(0,0,Xl(this,al,"f"),Xl(this,ul,"f")),Xl(this,Zf,"m",kl).call(this),Xl(this,Zf,"m",Bl).call(this),Xl(this,Zf,"m",Vl).call(this)}}])&&Uf(t.prototype,n),i&&Uf(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,i}();function Zl(t,n,i){if(n){for(var r=[],e=0,o=0,s=t.length;o<s;o++){var a=t[o],u="string"==typeof a?parseFloat(a):a;isNaN(u)&&(u=0),o%2?(r[e].value=u,e++):r[e]={value:1,date:1e3*u}}if(1===r.length&&r.push(r[0]),r.length){var h=new Wl(r,i);return n.appendChild(h.canvasChart),h.chartPoints&&n.appendChild(h.chartPoints.canvasPoints),h.render(),h}}}function Fl(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function ql(t,n){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function(t,n){if(t){if("string"==typeof t)return Hl(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Hl(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){i&&(t=i);var r=0,e=function(){};return{s:e,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return s=t.done,t},e:function(t){a=!0,o=t}
1,f:function(){try{s||null==i["return"]||i["return"]()}finally{if(a)throw o}}}}function Hl(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=Array(n);i<n;i++)r[i]=t[i];return r}Ff=new WeakMap,qf=new WeakMap,Hf=new WeakMap,Rf=new WeakMap,Gf=new WeakMap,Qf=new WeakMap,tl=new WeakMap,nl=new WeakMap,il=new WeakMap,rl=new WeakMap,el=new WeakMap,ol=new WeakMap,sl=new WeakMap,al=new WeakMap,ul=new WeakMap,hl=new WeakMap,cl=new WeakMap,fl=new WeakMap,ll=new WeakMap,dl=new WeakMap,vl=new WeakMap,bl=new WeakMap,pl=new WeakMap,yl=new WeakMap,gl=new WeakMap,ml=new WeakMap,Zf=new WeakSet,wl=function(t,n,i,r,e){var o=(n-i)*e,s=(r-t)*e,a=Math.abs(o/s);if(a>4||a<.4){var u=a>4?4:.4;Math.abs(o)>Math.abs(s)?o=s*u*Math.sign(o):s=o/u*Math.sign(s)}return[o,s]},_l=function(){$l(this,pl,[],"f");var t=$f(Xl(this,qf,"f"));t.unshift(t[0]),t.push(t[t.length-1]);for(var n=1,i=t.length-2;n<i;n++)for(var r=t[n],e=t[n+1],o=t[n-1],s=t[n+2],a=Bf(Xl(this,Zf,"m",wl).call(this,r.value,e.value,o.value,s.value,.2),2),u=a[0],h=a[1],c=0;c<=25;c++){var f=c/25,l=2*Math.pow(f,3)-3*Math.pow(f,2)+1,d=-2*Math.pow(f,3)+3*Math.pow(f,2),v=Math.pow(f,3)-2*Math.pow(f,2)+f,b=Math.pow(f,3)-Math.pow(f,2),p=l*r.value+d*e.value+v*u+b*h;Xl(this,pl,"f").push(p)}},xl=function(){Xl(this,sl,"f").font="".concat(Xl(this,Gf,"f"),"px ").concat(Xl(this,Rf,"f"));for(var t=0,n=new Date,i=0;i<12;i++){n.setMonth(i);var r=Dl(n),e=Xl(this,sl,"f").measureText(r);e.width>t&&(t=e.width)}return t},Yl=function(){var t=this.canvasChart.parentElement;if(t){var n=t.clientWidth,i=t.clientHeight;this.canvasChart.style.width="".concat(n,"px"),this.canvasChart.style.height="".concat(i,"px");var r=Xl(this,Hf,"f");$l(this,al,n,"f"),$l(this,ul,i,"f"),this.canvasChart.width=Math.round(n*r),this.canvasChart.height=Math.round(i*r),Xl(this,sl,"f").setTransform(r,0,0,r,0,0),this.chartPoints&&this.chartPoints.setSize(Xl(this,al,"f"),Xl(this,ul,"f"),Xl(this,hl,"f"))}},Tl=function(){var t=this,n=Xl(this,qf,"f")[0].value,i=Xl(this,qf,"f")[Xl(this,qf,"f").length-1].value;Xl(this,qf,"f").forEach(function(r){Df(this,t),r.value>i&&(i=r.value),r.value<n&&(n=r.value)}.bind(this)),n===i&&(i=n+1);var r=.1*(i-n);return{min:n-=r,max:i+=r}},jl=function(){var t=this,n=Xl(this,ul,"f")-Xl(this,cl,"f")-Xl(this,fl,"f"),i=n/(Xl(this,ll,"f").max-Xl(this,ll,"f").min);isFinite(i)||(i=n),$l(this,bl,(Xl(this,ll,"f").max-Math.max(0,Xl(this,ll,"f").min))*i+Xl(this,cl,"f"),"f");var r=(Xl(this,al,"f")-Xl(this,hl,"f"))/(Xl(this,qf,"f").length-1);$l(this,Ff,[],"f"),Xl(this,qf,"f").forEach(function(n,e){Df(this,t),Xl(this,Ff,"f").push({x:e*r,y:(Xl(this,ll,"f").max-n.value)*i+Xl(this,cl,"f"),value:n.value,date:new Date(n.date)})}.bind(this)),this.chartPoints&&this.chartPoints.setPoints(Xl(this,Ff,"f"))},Sl=function(){var t=20;switch(Xl(this,dl,"f").timeFrame){case ef.M1:case ef.M5:case ef.M15:t=Xl(this,el,"f");break;case ef.M30:case ef.H1:case ef.H4:t=Xl(this,ol,"f")+14;break;case ef.D1:t=Xl(this,ol,"f");break;case ef.W1:case ef.MN:t=Xl(this,rl,"f")+5+Xl(this,ol,"f")}return t},Jl=function(t,n){for(var i=Xl(this,ml,"f");i<n.length-1&&n[i+1].x<=t;)i++;return i<n.length-1&&t-n[i].x>n[i+1].x-t&&i++,$l(this,ml,i,"f"),n[i]},Ol=function(t,n,i){for(var r=Xl(this,ml,"f");r<Xl(this,Ff,"f").length-1&&(Xl(this,Ff,"f")[r+1].x<=t||n(Xl(this,Ff,"f")[r+1].date)<=i);)r++;for(;r>0&&n(Xl(this,Ff,"f")[r].date)>i;)r--;
1return $l(this,ml,r,"f"),Xl(this,Ff,"f")[r]},zl=function(t,n){var i=this;switch(Xl(this,dl,"f").timeFrame){case ef.D1:case ef.W1:return Xl(this,Zf,"m",Ol).call(this,t,function(t){return Df(this,i),t.getUTCDate()}.bind(this),15);default:return Xl(this,Zf,"m",Jl).call(this,t,n)}},Kl=function(t,n){var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0,r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null,e=Xl(this,Zf,"m",zl).call(this,t,Xl(this,Ff,"f"));if(!(r&&e.x>r)){var o=n(e.date);Xl(this,gl,"f").has(o)||(Xl(this,gl,"f").add(o),Xl(this,sl,"f").fillText(o,Math.max(e.x,i),Xl(this,ul,"f")-Xl(this,Qf,"f")))}},Pl=function(){var t=this;$l(this,gl,new Set,"f"),$l(this,ml,0,"f");var n=Xl(this,al,"f")-Xl(this,hl,"f"),i=Xl(this,Zf,"m",Sl).call(this),r=Xl(this,Qf,"f")+i/2,e=n-Xl(this,Qf,"f")-i/2;if(Xl(this,dl,"f").timeFrame===ef.M1||Xl(this,dl,"f").timeFrame===ef.M5||Xl(this,dl,"f").timeFrame===ef.M15){var o=function(n){return Df(this,t),sf(n,Dc,!0)}.bind(this);return Xl(this,Zf,"m",Kl).call(this,r,o,r),Xl(this,Zf,"m",Kl).call(this,n/2,o),void Xl(this,Zf,"m",Kl).call(this,e,o)}var s=Al;Xl(this,dl,"f").timeFrame===ef.D1?s=Dl:Xl(this,dl,"f").timeFrame!==ef.W1&&Xl(this,dl,"f").timeFrame!==ef.MN||(s=Ul);var a=n-i;Xl(this,Zf,"m",Kl).call(this,r,s,r,a);for(var u=i*(Xl(this,dl,"f").timeFrame===ef.D1?2:4)+Xl(this,Qf,"f"),h=Math.round((e-r)/u),c=1;c<=h;c++)Xl(this,Zf,"m",Kl).call(this,r+u*c,s,0,a)},Ml=function od(t,n,i){var r=(n-t)/Math.max(0,i),e=Math.floor(Math.log10(r)),o=r/Math.pow(10,e),s=Math.sqrt(50),a=Math.sqrt(10),u=Math.sqrt(2),h=o>=s?10:o>=a?5:o>=u?2:1,c=0,f=0,l=0;return e<0?(l=Math.pow(10,-e)/h,(c=Math.round(t*l))/l<t&&++c,(f=Math.round(n*l))/l>n&&--f,l=-l):(l=Math.pow(10,e)*h,(c=Math.round(t/l))*l<t&&++c,(f=Math.round(n/l))*l>n&&--f),f<c&&.5<=i&&i<2?Xl(this,Zf,"m",od).call(this,t,n,2*i):[c,f,l]},Cl=function(t,n,i){if(i<1)return[];if(t===n)return[t];var r=Bf(Xl(this,Zf,"m",Ml).call(this,t,n,i),3),e=r[0],o=r[1],s=r[2];if(o<e)return[];var a=o-e+1,u=[];if(s<0)for(var h=0;h<a;h++)u.push((e+h)/-s);else for(var c=0;c<a;++c)u.push((e+c)*s);return u},kl=function(){var t=this;if(Xl(this,dl,"f").showAxisY){var n=Xl(this,ul,"f")-Xl(this,fl,"f")-Xl(this,cl,"f"),i=Math.floor(n/48),r=Xl(this,Zf,"m",Cl).call(this,Xl(this,ll,"f").min,Xl(this,ll,"f").max,i);Xl(this,sl,"f").beginPath(),Xl(this,sl,"f").strokeStyle=Xl(this,vl,"f").axisLine,Xl(this,sl,"f").globalAlpha=.5,Xl(this,sl,"f").lineWidth=1;var e=n/(Xl(this,ll,"f").max-Xl(this,ll,"f").min),o=Xl(this,al,"f")-Xl(this,hl,"f")+Xl(this,Qf,"f")/2,s=[];r.forEach(function(n){Df(this,t);var i=(Xl(this,ll,"f").max-n)*e+Xl(this,cl,"f");s.push(i),Xl(this,sl,"f").moveTo(o,i),Xl(this,sl,"f").lineTo(0,i)}.bind(this)),Xl(this,sl,"f").fill(),Xl(this,sl,"f").stroke(),Xl(this,sl,"f").closePath(),Xl(this,sl,"f").beginPath(),Xl(this,sl,"f").globalAlpha=1,Xl(this,sl,"f").font="".concat(Xl(this,Gf,"f"),"px ").concat(Xl(this,Rf,"f")),Xl(this,sl,"f").fillStyle=Xl(this,vl,"f").text,Xl(this,sl,"f").textAlign="right",Xl(this,sl,"f").textBaseline="middle";var a=Xl(this,al,"f")-Xl(this,Qf,"f");r.forEach(function(n,i){Df(this,t),Xl(this,sl,"f").fillText(n.toFixed(Xl(this,dl,"f").digits),a,s[i])}.bind(this)),Xl(this,sl,"f").fill(),Xl(this,sl,"f").stroke(),Xl(this,sl,"f").closePath()}},Vl=function(){Xl(this,dl,"f").showDate&&(Xl(this,sl,"f").beginPath(),Xl(this,sl,"f").font="".concat(Xl(this,Gf,"f"),"px ").concat(Xl(this,Rf,"f")),Xl(this,sl,"f").fillStyle=Xl(this,vl,"f").text,Xl(this,sl,"f").textAlign="center",Xl(this,sl,"f").textBaseline="alphabetic",Xl(this,Zf,"m",Pl).call(this),Xl(this,sl,"f").fill(),Xl(this,sl,"f").stroke(),Xl(this,sl,"f").closePath())},El=function(){var t,n=arguments.length>0&&arguments[0]!==undefined&&arguments[0];t=n?Xl(this,sl,"f").createLinearGradient(0,0,0,Xl(this,ul,"f")):Xl(this,sl,"f").createLinearGradient(0,Xl(this,cl,"f"),0,Xl(this,bl,"f"));var i=n?Xl(this,vl,"f").gradient.end:Xl(this,vl,"f").gradient.plus,r=n?Xl(this,vl,"f").gradient.minus:Xl(this,vl,"f").gradient.end;t.addColorStop(0,i),t.addColorStop(.34,i),t.addColorStop(1,r),Xl(this,sl,"f").fillStyle=t},Nl=function(t){var n=this,i=t[0],r=Xl(this,al,"f")+Xl(this,nl,"f")-Xl(this,hl,"f");if(Xl(this,sl,"f").moveTo(-Xl(this,nl,"f"),Xl(this,bl,"f")),Xl(this,sl,"f").lineTo(-Xl(this,nl,"f"),i.y),2===t.length)return Xl(this,sl,"f").lineTo(r,Xl(this,Ff,"f")[1].y),Xl(this,sl,"f").lineTo(r,Xl(this,bl,"f")),Xl(this,sl,"f").fill(),Xl(this,sl,"f").stroke(),void Xl(this,sl,"f").closePath();t.forEach(function(t){Df(this,n),Xl(this,sl,"f").lineTo(t.x,t.y)}.bind(this)),Xl(this,sl,"f").lineTo(r+Xl(this,nl,"f"),t[t.length-1].y),Xl(this,sl,"f").lineTo(r+Xl(this,nl,"f"),Xl(this,bl,"f"))},Il=function(){var t=this,n=[],i=Xl(this,ul,"f")-Xl(this,fl,"f"),r=(i-Xl(this,cl,"f"))/(Xl(this,ll,"f").max-Xl(this,ll,"f").min),e=(Xl(this,al,"f")-Xl(this,hl,"f"))/(Xl(this,pl,"f").length-1);return Xl(this,pl,"f").forEach(function(o,s){Df(this,t);var a=s*e,u=(Xl(this,ll,"f").max-o)*r+Xl(this,cl,"f");n.push({x:a,y:Math.max(Math.min(u,i),0)})}.bind(this)),n},Bl=function(){var t=Xl(this,Zf,"m",Il).call(this);Xl(this,sl,"f").lineWidth=Xl(this,nl,"f"),Xl(this,sl,"f").save(),Xl(this,sl,"f").beginPath(),Xl(this,sl,"f").rect(0,0,Xl(this,al,"f")-Xl(this,hl,"f"),Xl(this,bl,"f")+Xl(this,nl,"f")/2),
1Xl(this,sl,"f").clip(),Xl(this,sl,"f").beginPath(),Xl(this,sl,"f").strokeStyle=Xl(this,vl,"f").line.plus,Xl(this,Zf,"m",El).call(this),Xl(this,Zf,"m",Nl).call(this,t),Xl(this,sl,"f").fill(),Xl(this,sl,"f").stroke(),Xl(this,sl,"f").closePath(),Xl(this,sl,"f").restore(),Xl(this,sl,"f").save(),Xl(this,sl,"f").beginPath(),Xl(this,sl,"f").rect(0,Xl(this,bl,"f")+Xl(this,nl,"f")/2,Xl(this,al,"f")-Xl(this,hl,"f"),Xl(this,ul,"f")-Xl(this,bl,"f")-Xl(this,fl,"f")),Xl(this,sl,"f").clip(),Xl(this,sl,"f").beginPath(),Xl(this,sl,"f").strokeStyle=Xl(this,vl,"f").line.minus,Xl(this,Zf,"m",El).call(this,!0),Xl(this,Zf,"m",Nl).call(this,t),Xl(this,sl,"f").fill(),Xl(this,sl,"f").stroke(),Xl(this,sl,"f").closePath(),Xl(this,sl,"f").restore()},window.buildBalanceData=function(t){if(!t||!t.length)return[];for(var n=[],i=0;i<t.length;i+=4)n.push({tradeIndex:t[i],dealIndex:t[i+1],timestamp:t[i+2],profit:t[i+3]});return n},window.growthChart=function(t,n,i,r,e){if(!t)throw new Error("growthChart: Target is undefined");if(e&&e.length){var o=Ia(e[0],100,r.splitIndex);
1if(o[2]===o[0].length?r.chart={grayLine:o[0],blueLine:[],trendLine:o[1]}:o[2]>0?r.chart={grayLine:o[0].slice(0,o[2]+1),blueLine:o[0].slice(o[2]),trendLine:o[1]}:r.chart={grayLine:[],blueLine:o[1],trendLine:o[1]},r.chart.trendLine&&2==r.chart.trendLine.length&&r.table){var s,a=r.chart.trendLine[0],u=r.chart.trendLine[1],h=0,c=ql(r.table.years);try{for(c.s();!(s=c.n()).done;){var f=s.value;h+=Object.keys(f.months).length}}catch(l){c.e(l)}finally{c.f()}0!==a.y[0]&&(r.trendValue=((1+u.y[0])/(1+a.y[0])-1)/Math.max(1,h))}}else r.chart={grayLine:[],blueLine:[],trendLine:[]};new Xu({target:t,props:{account:n,res:i,growth:r}})},window.balanceChart=function(t,n,i,r,e){if(!t)throw new Error("balanceChart: Target is undefined");if(e&&e.length){var o=Ia(e[0],1,r.splitIndex),s=function(t,n){if(!(null==t?void 0:t.length)||!(null==n?void 0:n.length))return[[],[]];for(var i=[],r=[],e=0,o=0;e<t.length&&o<n.length;e++){var s=t[e],a=n[o];s.x+1<a.dealIndex||(s.x+1===a.dealIndex&&t[e+1]?(a.profit>0?i.push([s,t[e+1]]):a.profit<0&&r.push([s,t[e+1]]),o++):s.x+1>a.dealIndex&&t[e-1]&&(a.profit>0?i.push([t[e-1],s]):r.push([t[e-1],s]),o++))}return[i,r]}(o[0],n.stops);
1if(o[2]===o[0].length?r.chart={grayLine:o[0],blueLine:[],trendLine:o[1],deposits:s[0],withdrawals:s[1]}:o[2]>0?r.chart={grayLine:o[0].slice(0,o[2]+1),blueLine:o[0].slice(o[2]),trendLine:o[1],deposits:s[0],withdrawals:s[1]}:r.chart={grayLine:[],blueLine:o[1],trendLine:o[1],deposits:s[0],withdrawals:s[1]},r.chart.trendLine&&2==r.chart.trendLine.length&&r.table){var a,u=r.chart.trendLine[0],h=r.chart.trendLine[1],c=0,f=ql(r.table.years);try{for(f.s();!(a=f.n()).done;){var l=a.value;c+=Object.keys(l.months).length}}catch(d){f.e(d)}finally{f.f()}r.trendValue=(h.y[0]-u.y[0])/Math.max(1,c)}}else r.chart={grayLine:[],blueLine:[],trendLine:[],deposits:[],withdrawals:[]};new rh({target:t,props:{account:n,res:i,balance:r}})},window.equityChart=function(t,n,i,r,e){if(!t)throw new Error("equityChart: Target is undefined");e&&e.length?r.chart=Ba(e[0],3,[1,2]):r.chart=[[],[]],new mh({target:t,props:{account:n,res:i,equity:r}})},window.moexEquityChart=function(t,n,i,r,e){if(!t)throw new Error("moexEquityChart: Target is undefined");e&&e.length?r.chart=Ba(e[0],6,[2]):r.chart=[[]],new Ch({target:t,props:{account:n,res:i,equity:r}})},window.moexPortfolioChart=function(t,n,i,r,e){if(!t)throw new Error("moexPortfolioChart: Target is undefined");e&&e.length?r.chart=Ba(e[0],6,[1,4,5]):r.chart=[[],[],[]],new Zh({target:t,props:{account:n,res:i,portfolio:r}})},window.balanceDrawdownChart=function(t,n,i,r,e){if(!t)throw new Error("drawdownChart: Target is undefined");e&&e.length?r.chart=function(t){if(!t||!t.length)return[[],[]];for(var n=[],i=[],r=0;r<t.length;r+=3){var e=t[r+2]>=t[r+1]?0:(t[r+1]-t[r+2])/t[r+1];n.push({x:1e3*t[r],y:[e]}),i.push({x:1e3*t[r],y:[t[r+1]]})}return[n,i]}(e[0]):r.chart=[[],[]],new uc({target:t,props:{account:n,res:i,equity:r}})},window.moexDrawdownChart=function(t,n,i,r,e,o){if(!t)throw new Error("moexDrawdownChart: Target is undefined");o&&o.length?r.chart=[$a(o[0],e)[0],Ba(o[0],6,[1])[0]]:r.chart=[[],[]],new uc({target:t,props:{account:n,res:i,equity:r}})},window.depositLoadChart=function(t,n,i,r,e){if(!t)throw new Error("depositLoadChart: Target is undefined");if(e&&e.length){var o=function(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1e3;if(!t||!t.length)return[[]];for(var i=[],r=0;r<t.length;r+=2)i.push({x:t[r]*n,y:[t[r+1]]});return[i]}(e[1])[0],s=Ba(e[0],3,[1],o[0].x)[0];r.chart=[Xa(s,o),s]}else r.chart=[[],[]];new Yc({target:t,props:{account:n,res:i,depositLoad:r}})},window.risksMaeMfeChart=function(t,n,i,r,e){var o=this;if(!t)throw new Error("risksMaeMfeChart: Target is undefined");if(r.period=86400,e&&e.length){for(var s=[],a=0;a<e[0].length;a+=5)s.push({x:1e3*e[0][a],y:[e[0][a+1],e[0][a+2],e[0][a+3],e[0][a+4]]});r.chart=[s],r.max_avg_profit=s[s.length-1].y[0],r.max_avg_mfe=s[s.length-1].y[1],r.min_avg_loss=s[s.length-1].y[2],r.min_avg_mae=s[s.length-1].y[3]}else r.chart=[[]];var u=r.chart[0][0].x,h=r.chart[0][r.chart[0].length-1].x,c=Math.ceil((h-u)/(1e3*r.period));if(Math.floor(t.clientWidth/(2*c+2))<10){var f=7e3*r.period,l=r.chart[0],d=[],v=new Date(l[0].x);v.setDate(v.getDate()+(1-v.getDay())%7),v.setHours(0,0,0,0),d.push({x:v.getTime()+f,y:[[l[0].y[0]],[l[0].y[1]],[l[0].y[2]],[l[0].y[3]]]});for(var b=1,p=1,y=v.getTime()+f;p<l.length;p++)if(l[p].x<y){var g=d[d.length-1];g.y[0].push(l[p].y[0]),g.y[1].push(l[p].y[1]),g.y[2].push(l[p].y[2]),g.y[3].push(l[p].y[3]),d[d.length-1]=g}else d.push({x:y,y:[[l[p].y[0]],[l[p].y[1]],[l[p].y[2]],[l[p].y[3]]]}),y+=f,b++;c=b,r.period=7*r.period,r.chart=[d.map(function(t){var n=this;return Fl(this,o),{x:t.x,y:[t.y[0].reduce(function(t,i){return Fl(this,n),t>i?t:i}.bind(this)),t.y[1].reduce(function(t,i){return Fl(this,n),t+i}.bind(this))/t.y[1].length,t.y[2].reduce(function(t,i){return Fl(this,n),t+i}.bind(this))/t.y[2].length,t.y[3].reduce(function(t,i){return Fl(this,n),t<i?t:i}.bind(this))]}}.bind(this))]}new Vc({target:t,props:{account:n,res:i,risksMfeMaeMoney:r,clientWidth:t.clientWidth,clientHeight:t.clientHeight,range:c}})},window.renderMiniChart=function(t,n,i){if(!t)throw new Error("renderMiniChart: Target is undefined");Zl(i,t,{timeFrame:n,showDate:!1,showPoint:!0,digits:2,percents:!0})},window.renderMiniChartsByClass=function(t){if(document.querySelectorAll&&document.createElement("canvas").getContext){var n=document.querySelectorAll("."+t);if(n)for(var i=0,r=n.length;i<r;i++)(function(t){!function n(){if(t.clientWidth>0){var i=t.getAttribute("data-period"),r=t.querySelector("input");i&&r&&r.value&&window.renderMiniChart(t,i,JSON.parse(r.value))}else setTimeout(function(){n()},500)}()})(n[i])}}},4392(t,n,i){var r,e;r=function(){var t,n,i,r,e,o="2.0.6",s={},a={},u={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0}
vendor: 4,565 bytes, line 1
1,h={currentLocale:u.currentLocale,zeroFormat:u.zeroFormat,nullFormat:u.nullFormat,defaultFormat:u.defaultFormat,scalePercentBy100:u.scalePercentBy100};function c(t,n){this._input=t,this._value=n}return(t=function(i){var r,e,o,a;if(t.isNumeral(i))r=i.value();else if(0===i||void 0===i)r=0;else if(null===i||n.isNaN(i))r=null;else if("string"==typeof i)if(h.zeroFormat&&i===h.zeroFormat)r=0;else if(h.nullFormat&&i===h.nullFormat||!i.replace(/[^0-9]+/g,"").length)r=null;else{for(e in s)if((a="function"==typeof s[e].regexps.unformat?s[e].regexps.unformat():s[e].regexps.unformat)&&i.match(a)){o=s[e].unformat;break}r=(o=o||t._.stringToNumber)(i)}else r=Number(i)||null;return new c(i,r)}).version=o,t.isNumeral=function(t){return t instanceof c},t._=n={numberToFormat:function(n,i,r){var e,o,s,u,h,c,f,l=a[t.options.currentLocale],d=!1,v=!1,b=0,p="",y=1e12,g=1e9,m=1e6,w=1e3,_="",x=!1;if(n=n||0,o=Math.abs(n),t._.includes(i,"(")?(d=!0,i=i.replace(/[\(|\)]/g,"")):(t._.includes(i,"+")||t._.includes(i,"-"))&&(h=t._.includes(i,"+")?i.indexOf("+"):n<0?i.indexOf("-"):-1,i=i.replace(/[\+|\-]/g,"")),t._.includes(i,"a")&&(e=!!(e=i.match(/a(k|m|b|t)?/))&&e[1],t._.includes(i," a")&&(p=" "),i=i.replace(new RegExp(p+"a[kmbt]?"),""),o>=y&&!e||"t"===e?(p+=l.abbreviations.trillion,n/=y):o<y&&o>=g&&!e||"b"===e?(p+=l.abbreviations.billion,n/=g):o<g&&o>=m&&!e||"m"===e?(p+=l.abbreviations.million,n/=m):(o<m&&o>=w&&!e||"k"===e)&&(p+=l.abbreviations.thousand,n/=w)),t._.includes(i,"[.]")&&(v=!0,i=i.replace("[.]",".")),s=n.toString().split(".")[0],u=i.split(".")[1],c=i.indexOf(","),b=(i.split(".")[0].split(",")[0].match(/0/g)||[]).length,u?(t._.includes(u,"[")?(u=(u=u.replace("]","")).split("["),_=t._.toFixed(n,u[0].length+u[1].length,r,u[1].length)):_=t._.toFixed(n,u.length,r),s=_.split(".")[0],_=t._.includes(_,".")?l.delimiters.decimal+_.split(".")[1]:"",v&&0===Number(_.slice(1))&&(_="")):s=t._.toFixed(n,0,r),p&&!e&&Number(s)>=1e3&&p!==l.abbreviations.trillion)switch(s=String(Number(s)/1e3),p){case l.abbreviations.thousand:p=l.abbreviations.million;break;case l.abbreviations.million:p=l.abbreviations.billion;break;case l.abbreviations.billion:p=l.abbreviations.trillion}if(t._.includes(s,"-")&&(s=s.slice(1),x=!0),s.length<b)for(var Y=b-s.length;Y>0;Y--)s="0"+s;return c>-1&&(s=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+l.delimiters.thousands)),0===i.indexOf(".")&&(s=""),f=s+_+(p||""),d?f=(d&&x?"(":"")+f+(d&&x?")":""):h>=0?f=0===h?(x?"-":"+")+f:f+(x?"-":"+"):x&&(f="-"+f),f},stringToNumber:function(t){var n,i,r,e=a[h.currentLocale],o=t,s={thousand:3,million:6,billion:9,trillion:12};if(h.zeroFormat&&t===h.zeroFormat)i=0;else if(h.nullFormat&&t===h.nullFormat||!t.replace(/[^0-9]+/g,"").length)i=null;else{for(n in i=1,"."!==e.delimiters.decimal&&(t=t.replace(/\./g,"").replace(e.delimiters.decimal,".")),s)if(r=new RegExp("[^a-zA-Z]"+e.abbreviations[n]+"(?:\\)|(\\"+e.currency.symbol+")?(?:\\))?)?$"),o.match(r)){i*=Math.pow(10,s[n]);break}i*=(t.split("-").length+Math.min(t.split("(").length-1,t.split(")").length-1))%2?1:-1,t=t.replace(/[^0-9\.]+/g,""),i*=Number(t)}return i},isNaN:function(t){function n(n){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t){return"number"==typeof t&&isNaN(t)}),includes:function(t,n){return-1!==t.indexOf(n)},insert:function(t,n,i){return t.slice(0,i)+n+t.slice(i)},reduce:function(t,n){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof n)throw new TypeError(n+" is not a function");var i,r=Object(t),e=r.length>>>0,o=0;if(3===arguments.length)i=arguments[2];else{for(;o<e&&!(o in r);)o++;if(o>=e)throw new TypeError("Reduce of empty array with no initial value");i=r[o++]}for(;o<e;o++)o in r&&(i=n(i,r[o],o,r));return i},multiplier:function(t){var n=t.toString().split(".");return n.length<2?1:Math.pow(10,n[1].length)},correctionFactor:function(){return Array.prototype.slice.call(arguments).reduce(function(t,i){var r=n.multiplier(i);return t>r?t:r},1)},toFixed:function(t,n,i,r){var e,o,s,a,u=t.toString().split("."),h=n-(r||0);return e=2===u.length?Math.min(Math.max(u[1].length,h),n):h,s=Math.pow(10,e),a=(i(t+"e+"+e)/s).toFixed(e),r>n-e&&(o=new RegExp("\\.?0{1,"+(r-(n-e))+"}$"),a=a.replace(o,"")),a}},t.options=h,t.formats=s,t.locales=a,t.locale=function(t){return t&&(h.currentLocale=t.toLowerCase()),h.currentLocale},t.localeData=function(t){if(!t)return a[h.currentLocale];if(t=t.toLowerCase(),!a[t])throw new Error("Unknown locale : "+t);return a[t]},t.reset=function(){for(var t in u)h[t]=u[t]}
1,t.zeroFormat=function(t){h.zeroFormat="string"==typeof t?t:null},t.nullFormat=function(t){h.nullFormat="string"==typeof t?t:null},t.defaultFormat=function(t){h.defaultFormat="string"==typeof t?t:"0.0"},t.register=function(t,n,i){if(n=n.toLowerCase(),this[t+"s"][n])throw new TypeError(n+" "+t+" already registered.");return this[t+"s"][n]=i,i},t.validate=function(n,i){var r,e,o,s,a,u,h,c;if("string"!=typeof n&&(n+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",n)),(n=n.trim()).match(/^\d+$/))return!0;if(""===n)return!1;try{h=t.localeData(i)}catch(f){h=t.localeData(t.locale())}return o=h.currency.symbol,a=h.abbreviations,r=h.delimiters.decimal,e="."===h.delimiters.thousands?"\\.":h.delimiters.thousands,!(null!==(c=n.match(/^[^\d]+/))&&(n=n.substr(1),c[0]!==o)||null!==(c=n.match(/[^\d]+$/))&&(n=n.slice(0,-1),c[0]!==a.thousand&&c[0]!==a.million&&c[0]!==a.billion&&c[0]!==a.trillion)||(u=new RegExp(e+"{2}"),n.match(/[^\d.,]/g)||(s=n.split(r)).length>2||(s.length<2?!s[0].match(/^\d+.*\d$/)||s[0].match(u):1===s[0].length?!s[0].match(/^\d+$/)||s[0].match(u)||!s[1].match(/^\d+$/):!s[0].match(/^\d+.*\d$/)||s[0].match(u)||!s[1].match(/^\d+$/))))},t.fn=c.prototype={clone:function(){return t(this)},format:function(n,i){var r,e,o,a=this._value,u=n||h.defaultFormat;if(i=i||Math.round,0===a&&null!==h.zeroFormat)e=h.zeroFormat;else if(null===a&&null!==h.nullFormat)e=h.nullFormat;else{for(r in s)if(u.match(s[r].regexps.format)){o=s[r].format;break}e=(o=o||t._.numberToFormat)(a,u,i)}return e},value:function(){return this._value},input:function(){return this._input},set:function(t){return this._value=Number(t),this},add:function(t){var i=n.correctionFactor.call(null,this._value,t);function r(t,n,r,e){return t+Math.round(i*n)}return this._value=n.reduce([this._value,t],r,0)/i,this},subtract:function(t){var i=n.correctionFactor.call(null,this._value,t);function r(t,n,r,e){return t-Math.round(i*n)}return this._value=n.reduce([t],r,Math.round(this._value*i))/i,this},multiply:function(t){function i(t,i,r,e){var o=n.correctionFactor(t,i);return Math.round(t*o)*Math.round(i*o)/Math.round(o*o)}return this._value=n.reduce([this._value,t],i,1),this},divide:function(t){function i(t,i,r,e){var o=n.correctionFactor(t,i);return Math.round(t*o)/Math.round(i*o)}return this._value=n.reduce([this._value,t],i),this},difference:function(n){return Math.abs(t(this._value).subtract(n).value())}},t.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(t){var n=t%10;return 1==~~(t%100/10)?"th":1===n?"st":2===n?"nd":3===n?"rd":"th"},currency:{symbol:"$"}}),t.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(n,i,r){var e,o=t._.includes(i," BPS")?" ":"";return n*=1e4,i=i.replace(/\s?BPS/,""),e=t._.numberToFormat(n,i,r),t._.includes(e,")")?((e=e.split("")).splice(-1,0,o+"BPS"),e=e.join("")):e=e+o+"BPS",e},unformat:function(n){return+(1e-4*t._.stringToNumber(n)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},e="("+(e=(i={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter(function(t){return i.suffixes.indexOf(t)<0})).join("|")).replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(e)},format:function(n,e,o){var s,a,u,h=t._.includes(e,"ib")?r:i,c=t._.includes(e," b")||t._.includes(e," ib")?" ":"";for(e=e.replace(/\s?i?b/,""),s=0;s<=h.suffixes.length;s++)if(a=Math.pow(h.base,s),u=Math.pow(h.base,s+1),null===n||0===n||n>=a&&n<u){c+=h.suffixes[s],a>0&&(n/=a);break}return t._.numberToFormat(n,e,o)+c},unformat:function(n){var e,o,s=t._.stringToNumber(n);if(s){for(e=i.suffixes.length-1;e>=0;e--){if(t._.includes(n,i.suffixes[e])){o=Math.pow(i.base,e);break}if(t._.includes(n,r.suffixes[e])){o=Math.pow(r.base,e);break}}s*=o||1}return s}}),t.register("format","currency",{regexps:{format:/(\$)/},format:function(n,i,r){var e,o,s=t.locales[t.options.currentLocale],a={before:i.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:i.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(i=i.replace(/\s?\$\s?/,""),e=t._.numberToFormat(n,i,r),n>=0?(a.before=a.before.replace(/[\-\(]/,""),a.after=a.after.replace(/[\-\)]/,"")):n<0&&!t._.includes(a.before,"-")&&!t._.includes(a.before,"(")&&(a.before="-"+a.before),o=0;o<a.before.length;o++)switch(a.before[o]){case"$":e=t._.insert(e,s.currency.symbol,o);break;case" ":e=t._.insert(e," ",o+s.currency.symbol.length-1)}for(o=a.after.length-1;o>=0;o--)switch(a.after[o]){case"$":e=o===a.after.length-1?e+s.currency.symbol:t._.insert(e,s.currency.symbol,-(a.after.length-(1+o)));break;case" ":e=o===a.after.length-1?e+" ":t._.insert(e," ",-(a.after.length-(1+o)+s.currency.symbol.length-1))}return e}}),t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(n,i,r){var e=("number"!=typeof n||t._.isNaN(n)?"0e+0":n.toExponential()).split("e");return i=i.replace(/e[\+|\-]{1}0/,""),t._.numberToFormat(Number(e[0]),i,r)+"e"+e[1]},unformat:function(n){var i=t._.includes(n,"e+")?n.split("e+"):n.split("e-"),r=Number(i[0]),e=Number(i[1]);function o(n,i,r,e){var o=t._.correctionFactor(n,i);return n*o*(i*o)/(o*o)}return e=t._.includes(n,"e-")?e*=-1:e,t._.reduce([r,Math.pow(10,e)],o,1)}}),t.register("format","ordinal",{regexps:{format:/(o)/},format:function(n,i,r){var e=t.locales[t.options.currentLocale],o=t._.includes(i," o")?" ":"";return i=i.replace(/\s?o/,""),o+=e.ordinal(n),t._.numberToFormat(n,i,r)+o}}),t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(n,i,r){var e,o=t._.includes(i," %")?" ":"";return t.options.scalePercentBy100&&(n*=100),i=i.replace(/\s?\%/,""),e=t._.numberToFormat(n,i,r),t._.includes(e,")")?((e=e.split("")).splice(-1,0,o+"%"),e=e.join("")):e=e+o+"%",e},unformat:function(n){var i=t._.stringToNumber(n);return t.options.scalePercentBy100?.01*i:i}}
1),t.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(t,n,i){var r=Math.floor(t/60/60),e=Math.floor((t-60*r*60)/60),o=Math.round(t-60*r*60-60*e);return r+":"+(e<10?"0"+e:e)+":"+(o<10?"0"+o:o)},unformat:function(t){var n=t.split(":"),i=0;return 3===n.length?(i+=60*Number(n[0])*60,i+=60*Number(n[1]),i+=Number(n[2])):2===n.length&&(i+=60*Number(n[0]),i+=Number(n[1])),Number(i)}}),t},(e="function"==typeof r?r.call(n,i,n,t):r)===undefined||(t.exports=e)}};const n={};function i(r){const e=n[r];if(e!==undefined)return e.exports;const o=n[r]={exports:{}};return t[r].call(o.exports,o,o.exports,i),o.exports}i.m=t,(()=>{const t=[];i.O=(n,r,e,o)=>{if(r){o=o||0;for(var s=t.length;s>0&&t[s-1][2]>o;s--)t[s]=t[s-1];return void(t[s]=[r,e,o])}let a=Infinity;for(s=0;s<t.length;s++){let[r,e,o]=t[s],h=!0;for(var u=0;u<r.length;u++)1&o&&!(a>=o)||!Object.keys(i.O).every(t=>i.O[t](r[u]))?(h=!1,o<a&&(a=o)):r.splice(u--,1);if(h){t.splice(s--,1);const i=e();i!==undefined&&(n=i)}}return n}})(),i.n=t=>{const n=t&&t.__esModule?()=>t["default"]:()=>t;return i.d(n,{a:n}),n},i.d=(t,n)=>{for(var r in n)i.o(n,r)&&!i.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},i.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),i.r=t=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.j=3402,i.dn=t=>{var n=Object.getOwnPropertyDescriptor(t,"name");(!n||!n.writable&&n.configurable)&&Object.defineProperty(t,"name",{value:"default",configurable:!0})},(()=>{const t={3402:0};i.O.j=n=>0===t[n];const n=(n,r)=>{let[e,o,s]=r;var a,u,h=0;if(e.some(n=>0!==t[n])){for(a in o)i.o(o,a)&&(i.m[a]=o[a]);if(s)var c=s(i)}for(n&&n(r);h<e.length;h++)u=e[h],i.o(t,u)&&t[u]&&t[u][0](),t[u]=0;return i.O(c)},r=self.webpackChunkmql5_com=self.webpackChunkmql5_com||[];r.forEach(n.bind(null,0)),r.push=n.bind(null,r.push.bind(r))})();let r=i.O(undefined,[5375],()=>i(9149));r=i.O(r)})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.