/**
 * AnyChart is lightweight robust charting library with great API and Docs, that works with your stack and has tons of chart types and features.
 *
 * Modules: color-scales, theme-color-scales, stock, theme-stock
 * Version: 8.6.0.1927 (2019-05-15)
 * License: https://www.anychart.com/buy/
 * Contact: sales@anychart.com
 * Copyright: AnyChart.com 2019. All rights reserved.
 */
(function(global,factory){if(typeof module==='object'&&typeof module.exports==='object'){var wrapper=function(w){if(!w.document){throw Error('AnyChart requires a window with a document');}factory.call(w,w,w.document);try{w.acgraph.isNodeJS=Object.prototype.toString.call(global.process)=="[object process]";}catch(e){};return w.anychart;};module.exports=global.document?wrapper(global):wrapper;}else{factory.call(global,window,document)}})(typeof window!=='undefined'?window:this,function(window,document,opt_noGlobal){var $,_,$_=this.anychart;if($_&&(_=$_._)){$=$_.$}else{throw Error('anychart-base.min.js module should be included first. See modules explanation at https://docs.anychart.com/Quick_Start/Modules for details');$={};_={}}if(!_.color_scales){_.color_scales=1;(function($){var kK,nK,oK,pK,sK;$.hK=function(a,b){var c=a.i("fontSize")!=b;null===b?delete a.sd.fontSize:a.sd.fontSize=b;c&&a.u(4)};$.iK=function(a){var b={};$.yc(a.La,function(a,d){if($.p(a)){if("adjustByHeight"==d||"adjustByWidth"==d)d="adjustFontSize";b[d]=this.md(d)}},a);return b};$.jK=function(a,b){return $.ij(pea,a,b||"clip")};kK=function(){$.ex.call(this)};
$.lK=function(){$.gx.call(this);this.Ia("defaultColorRange");$.Qs(this,this,this.cg,this.rg,null,this.cg);this.Ac.wa(this,"mousedown",this.qx);this.qe|=1024;$.R(this.xa,[["length",this.qe,9],["align",this.qe,9],["colorLineSize",this.qe,9]])};$.mK=function(a){a.line&&(a.line.Uk(),a.line.remove(),a.line=null);a.lines&&(a.lines.length=0)};
nK=function(a){if(a.b){var b=a.scale();if(b&&$.K(b,$.wx)){a.N={};for(var c=a.b,d=c.wc();d.advance();){var e=($.p(c.ga)?d.j(c.ga):null)||d.get(c.Le?c.Le.Zk:c.Uq[1]);!(e=b.Zm(e))||(0,window.isNaN)(e.start)||(0,window.isNaN)(e.end)||(a.N[e.sourceIndex]||(a.N[e.sourceIndex]=[]),a.N[e.sourceIndex].push(d.ka()))}}}};oK=function(a,b,c){var d=0;b.enabled()&&(d=b.i("length"),b=b.i("position"),d="center"==b?Math.max((d-a.i("colorLineSize"))/2,0):$.p(c)?0<c?"outside"==b?0:d:0>c?"inside"==b?0:d:d:d);return d};
pK=function(a){var b=0,c=$.hq(a,"marker");if(c&&c.enabled()){a=a.i("orientation");b=2*c.i("size");var d=c.i("offsetX");c=c.i("offsetY");d=$.p(d)?d:0;c=$.p(c)?c:0;switch(a){case "top":b+=c;break;case "right":b-=d;break;case "bottom":b-=c;break;case "left":b+=d}}return b};
$.qK=function(a,b){if(a.b){var c=a.scale(),d=$.hq(a,"marker"),e=a.b,f=e.pd()||(e.Xm?e.Xm():void 0),h=d&&d.enabled();e=e.enabled()&&f==c;if(a.enabled()&&h&&c&&e&&(c=a.line.kb(),h=$.Ya(a.scale().transform(b,.5),0,1),!(0,window.isNaN)(h))){e=a.i("orientation");f=d.i("size");switch(e){case "top":var k=c.left+c.width*h;var l=c.top+c.height+f;var m=180;break;case "bottom":k=c.left+c.width*h;l=c.top-f;m=0;break;case "left":k=c.left+c.width+f;l=c.top+c.height-c.height*h;m=90;break;case "right":k=c.left-f,
l=c.top+c.height-c.height*h,m=-90}$.U(d);d.pa("rotation",m);d.Cc({value:{x:k,y:l}});d.da(!1);d.X();d.Kd().visible(!0)}}};$.rK=function(a){var b=$.hq(a,"marker");a.scale()&&b&&b.Kd().visible(!1)};sK=function(){$.lK.call(this)};$.Vv.prototype.Xm=$.ca(20,function(){return this.Jb});var pea={Kha:"always-show",Dia:"clip",ija:"drop"};$.H(kK,$.ex);
kK.prototype.JY=function(a,b,c,d,e){b=Math.round(b.left+a*b.width);b=1==a?b+e:b-e;a=this.i("length");e=this.i("position");if("outside"==e){var f=c.top-d/2;var h=-a}else"center"==e?(f=c.top+(c.height-a)/2,h=a):"inside"==e&&(f=c.Ra()+d/2,h=a);this.path.moveTo(b,f);this.path.lineTo(b,f+h)};
kK.prototype.zQ=function(a,b,c,d,e){b=Math.round(b.top+b.height-a*b.height);b=1==a?b-e:b+e;a=this.i("length");e=this.i("position");"outside"==e?(c=c.$a()+d/2,d=a):"center"==e?(c=c.left+(c.width-a)/2,d=a):(c=c.left-d/2,d=-a);this.path.moveTo(c,b);this.path.lineTo(c+d,b)};
kK.prototype.uQ=function(a,b,c,d,e){b=Math.round(b.left+a*b.width);b=1==a?b+e:b-e;a=this.i("length");e=this.i("position");if("outside"==e){var f=c.Ra()+d/2;var h=a}else"center"==e?(f=c.top+(c.height-a)/2,h=a):"inside"==e&&(f=c.top-d/2,h=-a);this.path.moveTo(b,f);this.path.lineTo(b,f+h)};
kK.prototype.xQ=function(a,b,c,d,e){b=Math.round(b.top+b.height-a*b.height);b=1==a?b-e:b+e;a=this.i("length");e=this.i("position");if("outside"==e){var f=c.left-d/2;var h=-a}else"center"==e?(f=c.left+(c.width-a)/2,h=a):"inside"==e&&(f=c.$a()+d/2,h=a);this.path.moveTo(f,b);this.path.lineTo(f+h,b)};$.H($.lK,$.gx);var tK={};$.ep(tK,[[0,"colorLineSize",$.mp],$.Y.cI,$.Y.eI]);$.S($.lK,tK);$.g=$.lK.prototype;$.g.qa=$.gx.prototype.qa|1024;$.g.Gk=function(){return new kK};$.g.aE=function(){this.line||($.K(this.scale(),$.tx)?this.line=$.aj():$.K(this.scale(),$.wx)&&(this.line=$.Zi(),this.lines=[]),this.line.zIndex(this.zIndex()),this.line.parent(this.O()),this.line.cursor("pointer"),$.Ps(this,this.line));return this.line};
$.g.Nq=function(a){this.zl||(this.zl=new $.ww,$.V(this,"marker",this.zl),this.zl.Cc({value:{x:0,y:0}}),$.L(this.zl,this.f7,this));return $.p(a)?(this.zl.K(a),this.u(1024,1),this):this.zl};$.g.f7=function(a){$.W(a,1)&&this.u(1024,1)};$.g.target=function(a){return $.p(a)?(this.b!=a&&(this.b=a,nK(this),$.L(this.b,this.Pga,this)),this):this.b};$.g.Pga=function(a){$.W(a,132)&&nK(this)};
$.g.yp=function(a,b){var c=this.scale(),d={};if($.K(c,$.tx)){var e=(0,window.parseFloat)(b);var f=c.dD(e);var h="number"}else if($.K(c,$.wx)){e=b;f=c.Pa().names()[a];h="string";var k=c.Zm(b);k&&(d.colorRange={value:{color:k.color,end:k.end,name:k.name,start:k.start,index:k.sourceIndex},type:""})}d.index={value:a,type:"number"};d.value={value:f,type:h};d.tickValue={value:e,type:"number"};d.max={value:$.p(c.max)?c.max:null,type:"number"};d.min={value:$.p(c.min)?c.min:null,type:"number"};d.scale={value:c,
type:""};return $.Lt(new $.$u(d))};
$.g.wO=function(a,b,c,d,e){c=a.top+a.height+c/2-d;var f=this.scale();if($.K(f,$.tx))this.line.moveTo(a.left+b,c).lineTo(a.left-b+a.width,c).lineTo(a.left-b+a.width,c-e).lineTo(a.left+b,c-e).close();else if($.K(f,$.wx)){d=f.Dq();f=f.hl();for(var h=a.width/(d.length-1),k=0,l=d.length-1;k<l;k++){var m=d[k];m=m.color||f[m.sourceIndex]||f[f.length-1];var n=this.lines[k]?this.lines[k].clear():this.lines[k]=this.line.path(),q=a.left+b+h*k;n.moveTo(q,c).lineTo(q+h,c).lineTo(q+h,c-e).lineTo(q,c-e).close();
n.stroke(this.i("stroke"));n.fill(m)}}};
$.g.$D=function(a,b,c,d,e){c=a.left-c/2+d;var f=this.scale();if($.K(f,$.tx))this.line.moveTo(c,a.top+b).lineTo(c,a.top-b+a.height).lineTo(c+e,a.top-b+a.height).lineTo(c+e,a.top+b).close();else if($.K(f,$.wx)){d=f.Dq();f=f.hl();for(var h=a.height/(d.length-1),k=0,l=d.length-1;k<l;k++){var m=d[k];m=m.color||f[m.sourceIndex]||f[f.length-1];var n=this.lines[k]?this.lines[k].clear():this.lines[k]=this.line.path(),q=a.top+b+h*(d.length-1-k-1);n.moveTo(c,q).lineTo(c,q+h).lineTo(c+e,q+h).lineTo(c+e,q).close();
n.stroke(this.i("stroke"));n.fill(m)}}};
$.g.YD=function(a,b,c,d,e){c=a.top-c/2+d;var f=this.scale();if($.K(f,$.tx))this.line.moveTo(a.left+b,c).lineTo(a.left-b+a.width,c).lineTo(a.left-b+a.width,c+e).lineTo(a.left+b,c+e).close();else if($.K(f,$.wx)){d=f.Dq();f=f.hl();for(var h=a.width/(d.length-1),k=0,l=d.length-1;k<l;k++){var m=d[k];m=m.color||f[m.sourceIndex]||f[f.length-1];var n=this.lines[k]?this.lines[k].clear():this.lines[k]=this.line.path(),q=a.left+b+h*k;n.moveTo(q,c).lineTo(q+h,c).lineTo(q+h,c+e).lineTo(q,c+e).close();n.stroke(this.i("stroke"));
n.fill(m)}}};
$.g.ZD=function(a,b,c,d,e){c=a.left+a.width+c/2-d;var f=this.scale();if($.K(f,$.tx))this.line.moveTo(c,a.top+b).lineTo(c,a.top-b+a.height).lineTo(c-e,a.top-b+a.height).lineTo(c-e,a.top+b).close();else if($.K(f,$.wx)){d=f.Dq();f=f.hl();for(var h=a.height/(d.length-1),k=0,l=d.length-1;k<l;k++){var m=d[k];m=m.color||f[m.sourceIndex]||f[f.length-1];var n=this.lines[k]?this.lines[k].clear():this.lines[k]=this.line.path(),q=a.top+b+h*(d.length-1-k-1);n.moveTo(c,q).lineTo(c,q+h).lineTo(c-e,q+h).lineTo(c-
e,q).close();n.stroke(this.i("stroke"));n.fill(m)}}};
$.g.qp=function(){var a=this.aE(),b=this.scale();b||this.scale($.ux());if($.K(b,$.tx))a.clear(),a.stroke(this.i("stroke")),b=$.Sb(b.hl()),this.Fb()?b.angle=0:b.angle=90,a.fill(b);else if($.K(b,$.wx))for(a=0,b=this.lines.length;a<b;a++)this.lines[a].clear();switch(this.i("orientation")){case "top":var c=this.wO;break;case "right":c=this.$D;break;case "bottom":c=this.YD;break;case "left":c=this.ZD}a=this.i("stroke");a=$.Ub(a);a=!a||$.Sn(a)?0:a.thickness?(0,window.parseFloat)(a.thickness):1;b=0==a%2?
0:.5;var d=this.sb(),e=pK(this),f=Math.round(this.i("colorLineSize")),h=oK(this,this.Pa(),1),k=oK(this,this.ob(),1);c.call(this,d,b,a,Math.max(h,k,e),f)};
$.g.sb=function(){if(!this.Pp||this.J(4)){var a=this.fa();if(a){a.top=Math.round(a.top);a.left=Math.round(a.left);a.width=Math.round(a.width);a.height=Math.round(a.height);if(this.Fb()){var b=a.width;var c=a.height}else b=a.height,c=a.width;var d=this.Ng(b);c=this.width()?$.M(this.width(),c):$.kx(this,a,d);var e=this.padding(),f=$.M(e.i("top"),a.height),h=$.M(e.i("right"),a.width),k=$.M(e.i("bottom"),a.height);e=$.M(e.i("left"),a.width);var l=this.i("align"),m;this.Fb()?(d+h+e>b&&(d=b-(h+e)),"left"==
l||"top"==l?m=e:"right"==l||"bottom"==l?m=b-d-h:"center"==l&&(m=(b-d-h-e)/2)):(d+k+f>b&&(d=b-(k+f)),"left"==l||"top"==l?m=f:"right"==l||"bottom"==l?m=b-d-k:"center"==l&&(m=(b-d-k-f)/2));switch(this.i("orientation")){case "top":var n=a.top+f;var q=a.left+m;var r=c;var t=d;break;case "right":n=a.top+m;q=a.left+a.width-c-h;r=d;t=c;break;case "bottom":n=a.top+a.height-c-k;q=a.left+m;r=c;t=d;break;case "left":n=a.top+m,q=a.left+e,r=d,t=c}this.Pp=new $.I(Math.round(q),Math.round(n),Math.round(t),Math.round(r))}else this.Pp=
new $.I(0,0,0,0);this.I(4)}return this.Pp};$.g.Ng=function(a){return $.M(this.i("length"),a)};
$.g.RX=function(a,b){var c=this.Pa(),d=this.ob(),e=c.i("position"),f=d.i("position");c=oK(this,c);var h=oK(this,d);d=pK(this);"outside"==e?"outside"==f?e=Math.max(a+c,b+h):(e="inside"==f?Math.max(a+c,b):Math.max(a+c,b+h),d=Math.max(h,d)):"inside"==e?"outside"==f?(e=Math.max(a,b+h),d=Math.max(c,d)):(e="inside"==f?Math.max(a,b):Math.max(a,b+h),d=Math.max(c,h,d)):"outside"==e?(e=Math.max(a+c,b+h),d=Math.max(c,d)):(e="inside"==f?Math.max(a+c,b):Math.max(a+c,b+h),d=Math.max(c,h,d));f=this.i("stroke");
f=!f||$.Sn(f)?0:f.thickness?(0,window.parseFloat)(f.thickness):1;f=Math.round(this.i("colorLineSize"))+f;return e+d+f};$.g.scale=function(a){(a=$.lK.B.scale.call(this,a))||(this.g||(this.g=$.ux(),this.g.hl("#fff","#000")),a=this.g);return a};$.g.aR=function(){return 48};$.g.Xf=function(a){$.W(a,2)&&$.mK(this);$.lK.B.Xf.call(this,a)};
$.g.X=function(){if(!this.xc())return this;var a=$.hq(this,"marker");this.J(1024)&&(a&&(a.O(this.O()),a.zIndex(this.zIndex()+1),a.X(),a.Kd().visible(!1)),this.I(1024));if(a&&(this.J(2)&&a.O(this.O()),this.J(8))){var b=this.zIndex();a.zIndex(b+1)}return $.lK.B.X.call(this)};
$.g.qx=function(a){if(this.b){var b=this.scale(),c=this.b,d=c&&(c.pd()||(c.Xm?c.Xm():void 0));if(this.enabled()&&b&&c.enabled()&&d==b){d=this.line.kb();if(this.Fb()){var e=a.clientX;var f=d.left+$.Ii(this.O().Ga()).x;d=(e-f)/d.width}else e=a.clientY,f=d.top+$.Ii(this.O().Ga()).y,d=(d.height-(e-f))/d.height;d=b.Kc(d);a.metaKey||a.shiftKey||!c.map||c.map.Pd();if($.K(b,$.wx))d=b.Zm(d),b&&c&&(e=this.N[d.sourceIndex],b=c.sc(),b=b.Zc(),"single"==b.i("hoverMode")?this.Ef={W:c,kd:e}:this.Ef=[{W:c,kd:e,fn:e[e.length-
1],ie:{index:e[e.length-1],Rf:0}}]);else if($.K(b,$.tx)){a=c.wc();e=window.Infinity;for(var h=window.NaN,k=b.kh(),l=b.Ih();a.advance();){f=a.get(c.Le?c.Le.Zk:c.Uq[1]);f=$.Ya(f,k,l);var m=Math.abs(d-f);e>m&&(e=m,h=f)}e=[];a=c.wc();for(d=h;a.advance();)f=a.get(c.Le?c.Le.Zk:c.Uq[1]),f=$.Ya(f,k,l),f==d&&e.push(a.ka());b&&c&&(b=c.sc(),b=b.Zc(),"single"==b.i("hoverMode")?this.Ef={W:c,kd:e}:this.Ef=[{W:c,kd:e,fn:e[e.length-1],ie:{index:e[e.length-1],Rf:0}}])}}}};
$.g.cg=function(a){if(this.b){var b=this.scale(),c=this.b,d=c.pd()||(c.Xm?c.Xm():void 0);if(this.enabled()&&b&&c.enabled()&&d==b){d=this.line.kb();if(this.Fb()){var e=a.clientX;var f=d.left+$.Ii(this.O().Ga()).x;d=(e-f)/d.width}else e=a.clientY,f=d.top+$.Ii(this.O().Ga()).y,d=(d.height-(e-f))/d.height;d=b.Kc(d);if($.K(b,$.wx)){a=b.Zm(d);var h=this.N[a.sourceIndex];b=c.sc();f=b.Zc();"single"==f.i("hoverMode")?this.Ef={W:c,kd:h}:this.Ef=[{W:c,kd:h,fn:h[h.length-1],ie:{index:h[h.length-1],Rf:0}}]}else if($.K(b,
$.tx)&&c){f=c.wc();h=window.Infinity;for(var k=window.NaN,l=b.kh(),m=b.Ih();f.advance();){e=f.get(c.Le?c.Le.Zk:c.Uq[1]);e=$.Ya(e,l,m);var n=Math.abs(d-e);h>n&&(h=n,k=e)}h=[];f=c.wc();for(d=k;f.advance();)e=f.get(c.Le?c.Le.Zk:c.Uq[1]),e=$.Ya(e,l,m),e==d&&h.push(f.ka());b&&c&&(b=c.sc(),f=b.Zc(),"single"==f.i("hoverMode")?(this.Ef&&!(0,$.lB)(h,function(a){return $.ya(this.Ef.kd,a)},this)&&b.dispatchEvent(b.rk("hovered",a,[{W:c,kd:[],ie:{index:this.Ef.kd[this.Ef.kd.length-1],Rf:0}}],!1)),this.Ef={W:c,
kd:h}):this.Ef=[{W:c,kd:h,fn:h[h.length-1],ie:{index:h[h.length-1],Rf:0}}])}$.qK(this,d)}}};$.g.rg=function(){$.rK(this);var a=this.b;a&&(this.Na=a)};$.g.remove=function(){var a=$.hq(this,"marker");a&&a.remove();$.lK.B.remove.call(this)};$.g.F=function(){var a=$.lK.B.F.call(this);$.Bp(this,tK,a);a.marker=this.Nq().F();return a};$.g.Y=function(a,b){$.lK.B.Y.call(this,a,b);$.tp(this,tK,a,b);this.Nq(a.marker)};$.g.R=function(){$.jd(this.zl,this.g);this.g=this.zl=null;$.lK.B.R.call(this)};$.H(sK,$.lK);
$.Vs(sK,$.lK);var uK=$.lK.prototype;uK.marker=uK.Nq;uK=sK.prototype;$.F("anychart.standalones.colorRange",function(){var a=new sK;a.Ia("standalones.colorRange");return a});uK.padding=uK.padding;uK.draw=uK.X;uK.parentBounds=uK.fa;uK.container=uK.O;}).call(this,$)}
if(!_.theme_color_scales){_.theme_color_scales=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{defaultColorRange:{enabled:!1,stroke:"#B9B9B9",orientation:"bottom",title:{enabled:!1},colorLineSize:10,padding:{top:10,right:0,bottom:0,left:0},margin:0,align:"center",length:"50%",marker:{padding:3,positionFormatter:$.MJ,enabled:!0,disablePointerEvents:!1,position:"center",rotation:0,anchor:"center",offsetX:0,offsetY:0,type:"triangle-down",fill:"#333 0.85",stroke:"none",size:7},labels:{offsetX:0,offsetY:0,fontSize:11,padding:0},ticks:{stroke:"#B9B9B9",position:"outside",
length:5,enabled:!0},minorTicks:{stroke:"#B9B9B9",position:"outside",length:3,enabled:!1}},defaultOrdinalColorScale:{inverted:!1,ticks:{maxCount:100},autoColors:function(a){return $.vk("#90caf9","#01579b",a)}},defaultLinearColorScale:{maxTicksCount:1E3,colors:["#90caf9","#01579b"],minimumGap:0,maximumGap:0}});$.ra($.fa.anychart.themes.defaultTheme.standalones,{colorRange:{enabled:!0,zIndex:50}});}).call(this,$)}
if(!_.stock){_.stock=1;(function($){var kY=function(a,b){return $.ij(Fga,a,b||"line")},lY=function(a,b){return $.ij(Gga,a,b||"sma")},Hga=function(a){a=String(a).toLowerCase();switch(a){case "first":case "open":return"first";case "last":case "close":return"last";case "max":case "high":case "maximum":case "highest":return"max";case "min":case "low":case "minimum":case "lowest":return"min";case "average":case "avg":return"average";case "weightedaverage":case "weightedavg":case "wavg":case "weights":case "weighted":return"weighted-average";
case "firstvalue":case "firstval":case "openvalue":case "openval":return"first-value";case "lastvalue":case "lastval":case "closevalue":case "closeval":case "fill":case "hoverfill":case "risingfill":case "hoverrisingfill":case "fallingfill":case "hoverfallingfill":case "stroke":case "hoverstroke":case "lowstroke":case "hoverlowstroke":case "highstroke":case "hoverhighstroke":case "risingstroke":case "hoverrisingstroke":case "fallingstroke":case "hoverfallingstroke":case "hatchfill":case "hoverhatchfill":case "risinghatchfill":case "hoverrisinghatchfill":case "fallinghatchfill":case "hoverfallinghatchfill":case "marker":case "hovermarker":return"last-value";
case "sum":case "add":return"sum";case "list":case "group":case "array":return"list";default:return"last"}},mY=function(a,b,c){var d;if($.ea(a))for(c=c?{}:[],d=0;d<a;d++)c[d]=b;else for(d in c={},a)c[d]=b;return c},nY=function(a){a=Math.floor(a);var b=1;if(a){for(var c=0;c<$.no.length;c++){var d=$.no[c];var e=a/d.te;if(1<=Math.floor(1.1*e)){var f=f||d;if(.15>e-Math.floor(e)){b=Math.floor(e);break}}}f!=d&&f.nr&&100<b&&(d=f,b=Math.round(20*a/d.te)/20)}return{unit:d?d.$g:"millisecond",count:b}},oY=function(a,
b){switch(a){case "log":return $.Sr();case "linear":return $.Rr();case "date-time":return $.Tr();default:return b?null:$.Rr()}},pY=function(a){$.L(a,this.tB,this);a.qb(this)},qY=function(a,b){this.D=$.Gj(a);this.b=b||1;this.f=new Date(0);switch(this.D){case "year":this.o=315576E5*this.b;this.g=this.P6;this.next=this.uea;break;case "semester":this.o=315576E5*this.b/2;this.g=this.M6;this.next=this.rea;break;case "quarter":this.o=315576E5*this.b/4;this.g=this.K6;this.next=this.pea;break;case "month":this.o=
315576E5*this.b/12;this.g=this.pO;this.next=this.oea;break;case "third-of-month":this.o=315576E5*this.b/36;this.g=this.N6;this.next=this.sea;break;case "week":this.o=6048E5*this.b;this.g=this.O6;this.next=this.tea;break;default:this.o=864E5*this.b;this.g=this.G6;this.next=this.iea;break;case "hour":this.o=36E5*this.b;this.g=this.H6;this.next=this.kea;break;case "minute":this.o=6E4*this.b;this.g=this.J6;this.next=this.nea;break;case "second":this.o=1E3*this.b;this.g=this.L6;this.next=this.qea;break;
case "millisecond":this.o=this.b,this.g=this.I6,this.next=this.mea}},rY=function(a,b,c){a.f.setTime($.En(a.f.getTime(),b,c?c.getTime():Date.UTC(2E3,0))-b)},sY=function(a){var b=a.getUTCDate();return 3*(12*a.getUTCFullYear()+a.getUTCMonth())+(10>=b?0:20>=b?1:2)},Iga=function(a,b){var c=a.ik()-b.ik();return c?c:b.b-a.b},tY=function(){$.Wp.call(this);this.Ia("defaultGroupingSettings");this.o=!0;this.D=!1;this.b=[];this.f=500;this.g=window.NaN;this.G={unit:"millisecond",count:1};this.N=!1},vY=function(a){for(var b=
[],c=0;c<a.b.length;c++)b.push(uY(a.b[c]));return b},uY=function(a){return{unit:a.D,count:a.b}},wY=function(a,b){this.key=a;this.values=b;this.b=this.next=null;this.g=!1;this.o=Jga++},xY=function(a,b){return a.key==b.key?a.o-b.o:a.key-b.key},yY=function(a){return this-a.key},Kga=function(a){return this-a.key},zY=function(a,b,c,d,e){this.Xc=a;this.ga=d;this.N=new wY((0,window.isNaN)(b.Et)?-1:b.Et,[]);this.N.next=b.PQ;this.U=b.eH;this.la=b.lastIndex-b.mi+1||0;this.ba=(this.g=e||null)?this.I$:this.C6;
this.va=this.g?this.zba:this.Eba;this.ci=c;this.reset()},AY=function(){this.f=[];this.g=!0;this.b=[];this.P=!0;this.D=[];this.o=0;this.N=[];this.G=0},Lga=function(a,b){return a.b.length?1<a.b.length?a.Yh($.Ya(Math.round(a.qf(b)),0,a.b.length-1)):a.b[0].key:window.NaN},CY=function(a,b,c){c=Math.max(0,Math.floor(c));var d=a.b.length>c?a.b[c]:null;b=Math.max(0,Math.ceil(b));return new BY(b,a.b.length>b?a.b[b]:null,d,Math.min(c,a.b.length-1)-Math.min(b,a.b.length))},DY=function(a){return a.b.length?a.b.length-
1:window.NaN},FY=function(a,b,c){var d,e,f,h,k=a.b.length,l={};if(k){for(h=0;h<a.N.length;h++){var m=a.N[(a.G-h-1+4)%4];if(m.ph==b&&m.li==c)return m}var n=a.qf(b);var q=a.qf(c);m=Math.max(0,Math.ceil(n));if((0,window.isNaN)(m)||m>=k){var r=k-1;m=d=e=f=window.NaN}else if(d=Math.min(Math.floor(q),k-1),(0,window.isNaN)(d)||0>d)e=0,m=d=r=f=window.NaN;else if(m<=d){r=0<m?m-1:window.NaN;e=d<k-1?d+1:window.NaN;f=window.Infinity;h=(0,window.isNaN)(r)?m:r;for(var t=(0,window.isNaN)(e)?d:e,u=a.b[h];h<t;h++){var v=
u;u=v.next;f=Math.min(f,u.key-v.key)}(0,window.isFinite)(f)||(f=window.NaN)}else r=d,e=m,m=d=window.NaN,f=a.b[r],f=f.next.key-f.key;t=EY(a);u=$.Ya(b,t[2],t[3]);v=$.Ya(c,t[2],t[3]);h=a.qf(u);for(var w=a.qf(v),x,y;h<=w;h++)h<m?(x=$.Ya(a.b[m].key,t[0],t[1]),y=$.Ya(u,t[0],t[1]),h=m):h&&a.b[h]?(x=a.b[h].key,y=a.b[h-1].key):x=y=window.NaN,x-=y,(0,window.isNaN)(x)||0==x||(y=nY(x),l[y.unit]?(y=l[y.unit],y.count++,y.te+=x):l[y.unit]={count:1,te:x,$g:y.unit});w>d&&(x=$.Ya(v,t[0],t[1]),y=$.Ya(a.b[d].key,t[0],
t[1]),x-=y,(0,window.isNaN)(x)||0==x||(y=nY(x),l[y.unit]?(y=l[y.unit],y.count++,y.te+=x):l[y.unit]={count:1,te:x,$g:y.$g}))}else m=d=r=e=n=q=f=window.NaN;m={tm:l,ph:b,li:c,Gg:n,sj:q,mi:m,Et:r,lastIndex:d,Mx:e,OG:f};k&&(a.N[a.G]=m,a.G=(a.G+1)%4);return m},EY=function(a){var b=a.b.length;if(b){var c=a.b[0].key;if(1==b)a=[c-1,c+1,c-1,c+1];else{var d=a.b[b-1].key;a=[c,d,c-(a.b[1].key-c)/2,d+(d-a.b[b-2].key)/2]}}else a=[window.NaN,window.NaN,window.NaN,window.NaN];return a},BY=function(a,b,c,d){this.D=
{key:a-1,next:b};this.N=c?c.next:null;this.G=d;this.reset()},JY=function(a){this.Xc=a;this.f=GY(a.xe());this.o=!0;this.b=HY(this.f);this.g=null;this.G=!1;this.D=[];IY(this)},IY=function(a){for(var b=a.g?a.g.g.b.length:a.f.Eb();a.D.length<b;)a.D.push({})},LY=function(a,b){var c=a.f.$m(b);return c?new KY(c,a.Xc,!a.o,b,a.D[b]):null},MY=function(a,b,c,d){if(b>c){var e=b;b=c;c=e}e=GY(a.Xc.xe(),d);if(a.G||e!=a.f||a.b.ph!=b||a.b.li!=c)a.G=!1,a.f=e,a.o=!d,a.b=e.select(b,c),IY(a);return a},NY=function(a,b,
c){return b?(c=a.g?a.g.qf(b.key):c,new KY(b,a.Xc,!a.o,c,a.D[c]||{})):null},OY=function(a){return NY(a,a.b.WL,a.b.Et)},PY=function(a){return NY(a,a.b.eH,a.b.Mx)},SY=function(a,b){var c=a.b.K_,d=a.b.lastIndex;if($.p(b))for(var e=a.o?QY(a.Xc,b):RY(a.Xc,b);c&&c!=a.b.WL&&(0,window.isNaN)(c.kk(e));)c=c.b,d--;c==a.b.WL&&(c=null);return NY(a,c,d)},UY=function(a,b,c){if("first-visible"==b){var d=a.b.PQ,e=a.b.mi;if($.p(c))for(c=a.o?QY(a.Xc,c):RY(a.Xc,c);d&&d!=a.b.eH&&(0,window.isNaN)(d.kk(c));)d=d.next,e++;
d==a.b.eH&&(d=null);a=NY(a,d,e)}else if("last-visible"==b)a=SY(a,c);else if("series-start"==b){e=GY(a.Xc.xe());if($.p(c)){c=QY(a.Xc,c);b=0;for(var f=e.Eb();b<f&&(d=e.$m(b),(0,window.isNaN)(d.kk(c)));b++);}else d=e.$m(0);a=d?new KY(d,a.Xc,!1,0,null):null}else if("series-end"==b){d=GY(a.Xc.xe());if($.p(c))for(c=QY(a.Xc,c),b=d.Eb();b--&&(e=d.$m(b),(0,window.isNaN)(e.kk(c))););else e=d.$m(d.Eb()-1);a=e?new KY(e,a.Xc,!1,0,null):null}else c=GY(a.Xc.xe()),d=$.p(b)?TY(c,b,"exact"):0,a=(c=c.$m(d))?new KY(c,
a.Xc,!1,d,null):null;return a},VY=function(a,b){return a.o?QY(a.Xc,b):RY(a.Xc,b)},XY=function(a,b,c){return new zY(a.Xc,a.b,a.D,!a.o,b&&a.g?WY(a.g,!!c):null)},KY=function(a,b,c,d,e){this.Wf=a;this.Xc=b;this.o=c;this.he=d;this.ci=e},YY=function(){$.Wp.call(this);this.ga={};this.la={};this.Ma={};this.U={};this.va=this.g=this.f=new AY;this.P={};this.b={tm:{},ph:window.NaN,li:window.NaN,Gg:window.NaN,sj:window.NaN,mi:window.NaN,Et:window.NaN,lastIndex:window.NaN,Mx:window.NaN,OG:window.NaN,Fga:window.NaN,
$aa:window.NaN,Ega:window.NaN,Zaa:window.NaN};this.ba={tm:{},ph:window.NaN,li:window.NaN,Gg:window.NaN,sj:window.NaN,mi:window.NaN,Et:window.NaN,lastIndex:window.NaN,Mx:window.NaN,OG:window.NaN,Fga:window.NaN,$aa:window.NaN,Ega:window.NaN,Zaa:window.NaN};this.Za=this.D=this.o=this.rb=this.eb=window.NaN},ZY=function(a,b,c){var d=$.oa(b).toFixed(0);c=c?a.la:a.Ma;if(!(d in a.ga&&d in c)){a.ga[d]=b;c[d]=b;b.g=a;b=b.Aq().xe();d=$.oa(b).toFixed(0);d in a.U||(a.U[d]=b,$.L(b,a.j2,a));a.f.g=!0;for(var e in a.P)a.P[e].g=
!0;a.u(16384,16)}},aZ=function(a){if(a.J(16384)){$Y(a);var b=EY(a.f);if(a.o!=b[2]||a.D!=b[3])return a.eb=b[0],a.rb=b[1],a.o=b[2],a.D=b[3],!0}return!1},gZ=function(a,b,c,d,e){aZ(a);bZ(a,e);bZ(a,d);var f=a.o,h=a.D,k=a.J(16384);a.Za=b;b=0;var l=cZ(a,f,h,dZ(a),a.Ma,a.va,a.ba,k);l&&(a.va=l[0],a.ba=l[1],b+=2);l=a.N.Ln();eZ(e,a.ba.ph,a.ba.li,l.unit,l.count,a.ba.tm);l=a.b.ph;var m=a.b.li;!k||!(!c||(0,window.isNaN)(a.b.Et)&&!(0,window.isNaN)(a.b.ph)||(0,window.isNaN)(a.b.Mx)&&!(0,window.isNaN)(a.b.ph))||(0,window.isNaN)(a.Ja)||
(0,window.isNaN)(a.Ea)||(0,window.isNaN)(f)||(0,window.isNaN)(h)||(l=e.Kc(a.Ja),m=e.Kc(a.Ea));if((0,window.isNaN)(l)||(0,window.isNaN)(a.b.Et)&&!(0,window.isNaN)(a.b.ph)&&!(0,window.isNaN)(f))l=f;if((0,window.isNaN)(m)||(0,window.isNaN)(a.b.Mx)&&!(0,window.isNaN)(a.b.ph)&&!(0,window.isNaN)(h))m=h;if(!(0,window.isNaN)(l)){if(c=cZ(a,l,m,a.G,a.la,a.g,a.b,k))a.g=c[0],a.b=c[1],b+=1;fZ(a,d)}a.Ja=e.transform(a.b.ph);a.Ea=e.transform(a.b.li);a.I(16384);return b},cZ=function(a,b,c,d,e,f,h,k){if(b>c){var l=
b;b=c;c=l}1>c-b&&(c>a.o?b=c-1:c=b+1);h=b!=h.ph||c!=h.li;var m=a.Za,n=c-b;l=FY(a.f,b,c);var q=l.lastIndex-l.mi+1||0;l=l.OG;m=(0,window.isNaN)(d.f)?m/d.g:d.f;var r=-1;if(d.o&&0<d.b.length&&l&&(d.D||q>m)){q=0;for(r=d.b.length;q<r&&d.b[q].ik()<=l;)q++;n/=m;q=Math.max(q-1,0)||0;m=d.b.length;r=-1;for(var t=q;t<m;t++)if(d.b[t].ik()>=n){r=t;break}0>r&&q<m&&(r=m-1)}0>r?(n=null,d.G=l?nY(l):{unit:"millisecond",count:1}):(n=d.b[r],d.G=uY(n));d.N=!!n;d=n;var u;d?(l=d.D+d.b.toFixed(0),l in a.P?u=a.P[l]:a.P[l]=
u=new AY):u=a.f;a=hZ(a,u,d)||k;if(h||u!=f||a){var v;f=FY(u,b,c);if(u.P)for(v in e){if(a=e[v],k=b,h=c,l=f.Et,n=f.Mx,q=d,m=GY(a.Xc.xe(),q),a.G||m!=a.f||a.b.ph!=k||a.b.li!=h)a.G=!1,a.f=m,a.o=!q,a.b=iZ(m,k,h,l,n),IY(a)}else for(v in e)MY(e[v],b,c,d);return[u,f]}return null},WY=function(a,b,c,d){var e=b?a.va:a.g;if(e.P&&!d)return null;if(c)return CY(e,e.b.length?0:window.NaN,DY(e));a=b?a.ba:a.b;return CY(e,a.mi,a.lastIndex)},dZ=function(a,b){a.N||(a.N=new tY,a.N.Ia("stock.scrollerGrouping"),a.N.Y(a.N.ma,
!0),$.L(a.N,a.VZ,a));return $.p(b)?(a.N.K(b),a):a.N},hZ=function(a,b,c){if(b.Jq()){b.f.length=0;b.g=!0;for(var d in a.U){var e=GY(a.U[d],c);b.f.push(e)}b.update();return!0}return!1},$Y=function(a){hZ(a,a.f)},fZ=function(a,b){var c=a.bn().Ln();eZ(b,a.b.ph,a.b.li,c.unit,c.count,a.b.tm)},bZ=function(a,b){var c=a.D,d=a.eb,e=a.rb;b.ga=a.o;b.ba=c;b.g=d;b.U=e;b.ua(256)},jZ=function(a){hZ(a,a.g);return a.g.Yh(a.b.mi)},kZ=function(a){hZ(a,a.g);return a.g.Yh(a.b.lastIndex)},lZ=function(a){$.Bv.call(this,a);
$.R(this.xa,[["scrollOnMouseWheel",0,0]])},mZ=function(a,b){$.X.call(this);this.Ia($.fq.axis);this.b=a;this.Va=this.Ha=this.jc=this.Ca=null;this.f=!b;$.R(this.xa,[["height",4,9],["showHelperLabel",16,1],["overlapMode",16,1]])},nZ=function(){$.X.call(this);this.D=this.G=this.o=this.N=null;$.R(this.xa,[["value",4,1],["valueField",4,1],["stroke",20,1],["fallingStroke",20,1],["risingStroke",20,1]])},oZ=function(a,b,c){b=$.p(b)?b:a.ma;a.o||(a.o=new $.kt,$.L(a.o,a.RO,a),a.g=a.o.add(null,null,0),a.g.zIndex(1),
a.o.I(4294967295));a.G||(a.G=new $.kt,$.L(a.G,a.RO,a),a.G.I(4294967295));a.D||(a.D=new $.kt,$.L(a.D,a.RO,a),a.D.I(4294967295));a.o.ja(!!c,b.label);a.G.ja(!!c,b.risingLabel);a.D.ja(!!c,b.fallingLabel)},pZ=function(){$.yx.call(this)},qZ=function(a){this.fc=a;this.f=[];this.b=0},rZ=function(a){this.b=[];this.P=a;this.Ea=[];this.la=0;this.va=[];this.ga=0;this.g=-1;this.G=null},sZ=function(a){a.G=null;a.Ea.length=0;a.la=0;a.va.length=0;a.ga=0},tZ=function(a,b,c,d,e,f,h){var k;if($.ea(c)){var l=Math.min(b.values.length,
c);for(k=0;k<l;k++)c=$.N(b.values[k]),c<d[k]&&(d[k]=c),c>e[k]&&(e[k]=c)}else for(k in c)c=$.N(b.values[k]),c<d[k]&&(d[k]=c),c>e[k]&&(e[k]=c);for(k=0;k<=a.g;k++)b.f&&(c=$.N(b.f[k]),c<f[k]&&(f[k]=c),c>h[k]&&(h[k]=c))},iZ=function(a,b,c,d,e){var f,h=a.b.length;if(h){for(f=0;f<a.Ea.length;f++){var k=a.Ea[(a.la-f-1+4)%4];if(k.ph==b&&k.li==c)return k}if((0,window.isNaN)(d))if((0,window.isNaN)(e)){var l=0;var m=h-1}else e?(l=0,m=e-1):l=m=window.NaN;else(0,window.isNaN)(e)?d==h-1?l=m=window.NaN:(l=d+1,m=
h-1):1==e-d?l=m=window.NaN:(l=d+1,m=e-1);var n=a.b[d]||null;k=a.b[l]||null;var q=a.b[m]||null;var r=a.b[e]||null}else k=q=n=r=null,l=m=d=e=window.NaN;var t=a.lR(),u=$.ea(t),v,w,x,y;if(n||k||r){var A=!n&&!r;if(A&&a.G){var G=v=a.G.xL;var C=w=a.G.vL;var J=x=a.G.XI;var P=y=a.G.WI}else{G=mY(t,window.Infinity,!0);C=mY(t,-window.Infinity,!0);J=mY(a.g+1,window.Infinity);P=mY(a.g+1,-window.Infinity);for(v=n?n.next:k;v&&v!=r;)tZ(a,v,t,G,C,J,P),v=v.next;v=$.Ic(G);w=$.Ic(C);x=$.Ia(J,0);y=$.Ia(P,0);n&&tZ(a,n,
t,v,w,x,y);r&&tZ(a,r,t,v,w,x,y);if(u)for(f=0;f<t;f++)G[f]==Number.POSITIVE_INFINITY&&(G[f]=window.NaN),C[f]==Number.NEGATIVE_INFINITY&&(C[f]=window.NaN),v[f]==Number.POSITIVE_INFINITY&&(v[f]=window.NaN),w[f]==Number.NEGATIVE_INFINITY&&(w[f]=window.NaN);else for(f in t)G[f]==Number.POSITIVE_INFINITY&&(G[f]=window.NaN),C[f]==Number.NEGATIVE_INFINITY&&(C[f]=window.NaN),v[f]==Number.POSITIVE_INFINITY&&(v[f]=window.NaN),w[f]==Number.NEGATIVE_INFINITY&&(w[f]=window.NaN);for(f=0;f<=a.g;f++)J[f]==Number.POSITIVE_INFINITY&&
(J[f]=window.NaN),P[f]==Number.NEGATIVE_INFINITY&&(P[f]=window.NaN),x[f]==Number.POSITIVE_INFINITY&&(x[f]=window.NaN),y[f]==Number.NEGATIVE_INFINITY&&(y[f]=window.NaN);A&&(a.G={xL:$.Ic(G),vL:$.Ic(C),XI:$.Ia(J,0),WI:$.Ia(P,0)})}}else G=C=v=w=mY(t,window.NaN,!0),J=P=x=y=mY(a.g,window.NaN);k={ph:b,li:c,Et:d,mi:l,lastIndex:m,Mx:e,WL:n,PQ:k,K_:q,eH:r,xL:v,vL:w,WI:y,XI:x,O2:G,N2:C,L2:P,M2:J};h&&(a.Ea[a.la]=k,a.la=(a.la+1)%4);return k},HY=function(a){var b=a.b.length;return b?iZ(a,a.b[0].key,a.b[b-1].key,
window.NaN,window.NaN):iZ(a,window.NaN,window.NaN,window.NaN,window.NaN)},TY=function(a,b,c){c=c||"exact";for(var d=0;d<a.va.length;d++){var e=a.va[(a.ga-d-1+2)%2];if(e.key==b&&e.mode==c)return e.index}d=$.Na(a.b,yY,b);if(0>d)if(d=~d,"exact-or-next"==c)d=d<a.b.length?d:window.NaN;else if("exact-or-prev"==c)d=0<d?d-1:window.NaN;else{if("nearest"==c)return c=a.b.length,d?d<c?(a=a.b[d],b-a.b.key<a.key-b?d-1:d):c?c-1:window.NaN:c?0:window.NaN;d=window.NaN}a.va[a.ga]={key:b,mode:c,index:d};a.ga=(a.ga+
1)%2;return d},vZ=function(a,b){rZ.call(this,a);this.D=b||null;this.f=uZ;this.o=0},wZ=function(a,b,c,d,e,f){e=e?a.o:c.length;var h;$.p(f)?(f=$.Na(b,yY,f),b=b[0<=f?f:~f]):b=b[0];if(b)if(f=a.b[a.b.length-1]||null,d){d.f.setTime(b.key);d.g();var k=d.next();do{for(var l=d.next(),m=!1;b&&((0,window.isNaN)(l)||b.key<l);){m=!0;for(h=0;h<e;h++){var n=c[h];n.b(b.values[n.o],b.values[n.D],b.values)}b=b.next}if(m){n=Array(e);for(h=0;h<e;h++)n[h]=c[h].f();h=new wY(k,n);f&&(f.next=h);h.b=f;a.b.push(h);f=h}k=l}while(b)}else{do{for(h=
0;h<e;h++)n=c[h],n.b(b.values[n.o],b.values[n.D],b.values);n=Array(e);for(h=0;h<e;h++)n[h]=c[h].f();h=new wY(b.key,n);f&&(f.next=h);h.b=f;a.b.push(h);f=h;b=b.next}while(b)}},xZ=function(a,b,c,d,e,f){rZ.call(this,a);this.f=[];this.o=this.V0;this.N=0;this.U=!1;this.rb=$.z(b)?b:$.tn(b,0,!0);this.Ma=c;this.Za=$.N(d)||0;this.Ja=$.ma(e)?e.getTime():$.N(e);this.eb=f||null;this.ba=0;this.D=null},yZ=function(a,b){if($.B(b))b=$.Ia(b,0);else if($.D(b)){var c=b;b={};for(var d in c)b[d]=c[d]}else b=null;c=$.br(b[a.rb],
a.Ma,(0,window.isNaN)(a.Ja)?null:new Date(a.Ja),a.eb);if(d=!(!b||!c))a.Za&&c.setTime(c.getTime()+36E5*a.Za),a.o(new wY(c.getTime(),b));return d},zZ=function(a){a.o==a.dU&&(a.f.sort(xY),a.o=a.T0);return a.o!=a.U0},AZ=function(a,b){var c=a.b.length-1;if(0<=c){var d=a.b[c];var e=d.key}else d=null,e=window.NaN;for(var f;f=b.next();)if(!f.g){f.key==e?(a.b[c]=f,f.b=d.b):(a.b.push(f),f.b=d,e=f.key,c++);f.b&&(f.b.next=f);d=f;var h;if($.B(f.values)){if(f=f.values.length,a.ba<f){if(a.D)for(h=a.ba;h<f;h++)a.D[h]=
!0;a.ba=f}}else{if(!a.D)for(a.D={},h=0;h<a.ba;h++)a.D[h]=!0;for(h in f.values)a.D[h]=!0}}d&&(d.next=null)},BZ=function(a,b,c,d,e){this.fc=a||[];this.o=b||[];d=$.N(d);e=$.N(e);(0,window.isNaN)(e)?this.next=this.vea:(this.next=this.D$,this.D=e);a=(0,window.isNaN)(d)?0:$.Na(this.fc,yY,d);this.f=this.fc[0>a?~a:a];c?(this.g=this.hea,this.b=(0,window.isNaN)(d)?0:$.Na(this.o,yY,d),0>this.b&&(this.b=~this.b)):(this.g=this.jea,this.b=(0,window.isNaN)(d)?this.o.length-1:$.Na(this.o,Kga,d),0>this.b&&(this.b=
~this.b-1))},CZ=function(a,b){$.gd.call(this);this.Xc=a;this.he=b;this.f={};this.b=$.Vj;this.g=this.o=$.ia},DZ=function(a,b,c,d){KY.call(this,a,b.Xc,c,d,{});this.g=b},EZ=function(a,b){$.Wp.call(this);this.ay=a;this.NB={};if($.D(b)){$.U(this.ay);for(var c in b){var d=b[c];$.D(d)?this.Ge(c,d.column,d.type,d.context||d.weights):($.ea(d)||$.z(d))&&this.Ge(c,d)}this.ay.da(!0)}},RY=function(a,b){return b in a.NB?a.NB[b].k1:window.NaN},QY=function(a,b){return b in a.NB?a.NB[b].Y1:window.NaN},FZ=function(a,
b){$.gd.call(this);this.o=a;this.D=$.p(b)?b:window.NaN;this.clear()},GZ=function(a){FZ.call(this,a)},HZ=function(a,b){this.g=b;FZ.call(this,a)},IZ=function(a,b,c){this.G=b;this.g=c;FZ.call(this,a)},JZ=function(a){FZ.call(this,a)},KZ=function(a){FZ.call(this,a)},LZ=function(a){FZ.call(this,a)},MZ=function(a){FZ.call(this,a)},NZ=function(a){FZ.call(this,a)},OZ=function(a){FZ.call(this,a)},PZ=function(a){FZ.call(this,a)},QZ=function(a){FZ.call(this,a)},RZ=function(a,b){FZ.call(this,a,b)},Mga=function(a,
b,c){if($.E(a))return new IZ(b,a,c);if($.D(a))return new HZ(b,a);switch(a){case "average":return new GZ(b);case "first":return new JZ(b);case "first-value":return new KZ(b);case "last-value":return new MZ(b);case "list":return new NZ(b);case "max":return new OZ(b);case "min":return new PZ(b);case "sum":return new QZ(b);case "weighted-average":return new RZ(b,c);default:case "last":return new LZ(b)}},Nga=function(a,b,c){$.ea(b)&&(b=b.toFixed(0));if($.D(a))return $.oa(a)+"|"+b+"|"+$.fn(c);switch(a){case "average":return"a"+
b;case "first":return"f"+b;case "first-value":return"o"+b;case "last-value":return"c"+b;case "list":return"g"+b;case "max":return"x"+b;case "min":return"n"+b;case "sum":return"s"+b;case "weighted-average":return $.ea(c)&&(c=c.toFixed(0)),"w"+b+":"+String(c);default:case "last":return"l"+b}},SZ=function(a,b,c,d,e){$.Wp.call(this);this.fc=new xZ(this,a,b,c,d,e);this.iu={};this.EP={};this.Ty={};this.ME=0;this.Yv=[];this.UD=[];this.Mw=[];this.NE=[]},GY=function(a,b){var c;if(b){var d=b.D+b.b.toFixed(0);
d in a.iu?c=a.iu[d]:a.iu[d]=c=new vZ(a,b)}else c=a.fc;c.update();return c},TZ=function(a,b,c){for(var d in a.iu){var e=a.iu[d];(e.f|b)!=e.f?(e.f|=b,e=!0):e=!1;c=e||c}c&&($.Bo++,a.ua(16),$.Eo())},UZ=function(a,b,c,d){$.Vv.call(this,a,b,c,d);this.f=this.D=this.U=this.na=this.ba=null;this.N=!1;this.P=null;this.TX=!1},VZ=function(a){var b,c=a.bb();a.check(64)&&!a.Fg()&&$.K(c,$.js)&&"none"!=c.Sy()&&(b=UY(a.na,c.aY(),a.Le.Zk));a.pB=Number(b&&b.get(a.Le.Zk))||0},XZ=function(a){a.f=null;a.N=!1;WZ(a,$.Wk);
a.aa().reset()},WZ=function(a,b){if(a.G&&a.enabled()){var c=a.aa();c.Tt(a.G.Wf,a.G.ka());if(a.za.Ds){a.Cg()&&a.Ff.em(b,c.j("shapes"));var d=c.j($.K(a.Ff,$.mz)?"shapes":"shapeNames");a.Ff.DA(b,d);a.Le.BD(c,b)}a.check(4194304)&&a.rp(c,b,!0);b==$.Wk&&(a.G=null)}},YZ=function(a,b){return"number"==typeof b?$.pr(b,a.ba||void 0):b},ZZ=function(){this.na=[];this.f=(0,$.pa)(this.f,this)},$Z=function(a){return(0,$.Va)(a.na||[],function(a){return a.data})},a_=function(a,b){return a.key-b.key||a.index-b.index},
b_=function(a,b,c,d){this.na=a;this.P=b;this.G=c;this.N=d;this.reset()},Oga=function(a,b){var c,d=$.Ma(a.na,b,function(a,b){return a-b.index});if(c=0<=d){var e=a.na[d];a.b=d;a.o=e.nF;a.D=e.items.length;a.g=0}else a.D=0,a.b=a.na.length,a.g=0,a.o=window.NaN;return c},c_=function(a){return a.b<a.na.length?a.na[a.b].index:window.NaN},h_=function(a,b){$.X.call(this);this.Se=a;this.index=b;this.VE=new ZZ;this.Gl=new $.mz(this,[$.nF,Pga],!1);this.ca=new $.Ew(this,d_,$.Wk,e_);this.ca.pa("connectorAfterInitCallback",
pY);this.ya=new $.Ew(this,f_,$.Wk,e_);this.Da=new $.Ew(this,f_,$.Wk,e_);this.Ca=new $.kt;this.Ca.qb(this);$.R(this.xa,g_);this.Uz=[];this.Q$=$.Sk("stroke",2,!0,!0)},i_=function(a,b,c,d){b.j("positionHash")==c&&(a.Ca.Wd(b.ka()).Kd().translate(0,d),b.j("shapes").path.translate(0,d),b.j("shapes").overlay.translate(0,d),b.j("offset",Number(b.j("offset"))-d))},j_=function(a,b){var c;var d=a.Se.sc().Wa();var e=a.aa(),f=(c=Number(e.j("state"))||$.Wk)?1==c?30:20:a.zIndex()+3E-6*e.ka(),h=a.Dc("type",c,e,$.wj,
!1),k=a.fW[h];var l=a.Dc("position",0,e,$.yj,!1,void 0,!0);var m=window.NaN,n=a.Dc("direction",c,e,$.xj,!1,void 0,!0),q="",r="";if("axis"!=l){q=a.Dc("seriesId",0,e,$.kp,!1,void 0,!0);var t=a.Se.Oe(q)||a.Se.Zh(0),u;if(t&&(u=LY(t.na,c_(e)))&&!u.j("missing")){if("zero"==l){r="zero";var v=0}else r=a.Dc("fieldName",0,e,$.kp,!1,void 0,!0),v=Number(u.get(r));"series-positive"==l&&0>v||"series-negative"==l&&0<v?(v=0,m=Number(u.j("zero")),(0,window.isNaN)(m)&&(m=t.ye(t.bb().transform(0),!1)),m=$.Ya(m,a.ia.top,
a.ia.top+a.ia.height),l=m==a.ia.top+a.ia.height?"axis":"zero"):(m=Number(u.j(r)),(0,window.isNaN)(m)&&!(0,window.isNaN)(v)&&(m=t.ye(t.bb().transform(v),!1)),m=$.Ya(m,a.ia.top,a.ia.top+a.ia.height));"auto"==n&&(n=0>v||!v&&"series-negative"==l?"down":"up")}}(0,window.isNaN)(m)&&(m=a.ia.top+a.ia.height,l="axis",n="up");n="down"!=n;l+="axis"==l?"":q+r+(n?"U":"D");e.j("positionHash",l);r=d.transform(e.Fh(),.5)*a.ia.width+a.ia.left;d=(b?b[l]:Number(e.j("offset")))||0;e.j("offset",d);q=0;var w=a.Q$(a,c);
!d&&w&&(q=$.M(a.Dc("length",c,e,$.Op,!0),a.ia.height),d+=q);m+=n?-d:d;t={group:a,index:e.ka()};if(b){var x=a.Gl.Sc(c,null,f);u=x.path;v=x.overlay;e.j("shapes",x)}else x=e.j("shapes"),u=x.path,v=x.overlay,a.Gl.em(c,x),a.Gl.Hs(f,x),u.parent(a.O()),u.clear(),u.nc(1,0,0,1,0,0),v.parent(a.O()),v.clear(),v.nc(1,0,0,1,0,0);x=$.Xb(u.stroke());r=$.O(r,x);m=$.O(m,x);u.tag=t;v.tag=t;q&&w&&(w=a.Se.Ni().GB(r,m,m-(n?-q:q),w,b?void 0:e.j("connectorPath")),w.tag=t,e.j("connectorPath",w));x=Math.round($.M(a.Dc("width",
c,e,$.Op,!1),a.ia.width));w=Math.round($.M(a.Dc("height",c,e,$.Op,!1),a.ia.height));k(u,r,m,x,w,n);a.Qd(e,c,h,r,m,x,w,n,f+1E-6,!b).Kd().tag=t;(0,a.fW["flag"==h?"flag":"rect"])(v,r,m,x,w,n);d+=w;c=w+q-Number(e.j("totalHeight")||0);e.j("totalHeight",w+q);return[l,b?d:n?-c:c]},k_=function(a,b,c){for(var d=0;d<a.length;d++){var e=a[d];if($.D(e)&&(e=e[b],null!=e))return c(e)}},l_=function(a,b){$.X.call(this);this.Ia("stock.eventMarkers");$.L(b,this.z0,this);this.f=a;this.b=[];this.g={};this.o=[];this.ca=
new $.Ew(this,d_,$.Wk,e_);this.ca.pa("connectorAfterInitCallback",pY);this.ca.Ia("defaultFontSettings","stock.eventMarkers.normal");this.ya=new $.Ew(this,f_,$.Wk,e_);$.V(this,"hovered",this.ya);this.Da=new $.Ew(this,f_,$.Wk,e_);$.V(this,"selected",this.Da);$.R(this.xa,g_);this.Uz=[];$.Qs(this,this)},m_=function(a,b,c,d){var e=4*Math.min(b,$.mn)+2*c+!d,f=a.Uz[e];if(!f){f=a.f.sc().Ni();if(b)if(1==b){var h=a.ya;var k=f.lb()}else h=a.Da,k=f.selected();else h=a.ca,k=f.Ta();d&&(h=h.Lg(),k=k.Lg());f=c?[b||
d?null:a.ma,b||d?null:f.ma,h.ma,k.ma]:[b||d?null:a.La,b||d?null:f.La,h.La,k.La];a.Uz[e]=f}return f},n_=function(a,b,c,d,e){var f=b.aa();if(f.select(c)){c=Number(f.j("state")||0);if($.p(e)&&c!=e)return!1;if(c!=d){f.j("state",d);e=j_(b);if(d=e[1]){e=e[0];for(c=c_(f);f.advance()&&c_(f)==c;)i_(b,f,e,d);for(var h=b.index+1;h<a.b.length;h++)if((b=a.b[h])&&b.enabled()&&Oga(f=b.aa(),c)){do i_(b,f,e,d);while(f.advance()&&c_(f)==c)}}return!0}}return!1},o_=function(a){$.gd.call(this);this.D=a[0];this.Xc=a[1];
this.Na={};this.f=null},p_=function(a,b,c,d){a.Na[b]={W:null,Ui:kY(c,d),CC:!1,mapping:null,wS:!1}},r_=function(a,b,c){b=a.Na[b];return b?$.p(c)?(c=kY(c,b.Ui),c!=b.W.Ui()&&(b.Ui=c,b.CC=!1,b.wS=!0,q_(a)),a):b.W:$.p(c)?a:null},q_=function(a){a.f||(a.f=a.hd(a.Xc));$.U(a.D.sc());for(var b in a.Na){var c=a.Na[b];c.W||(c.W=a.D.de(c.Ui),c.W.ba=2,c.CC=!1);$.U(c.W);c.wS&&(c.W.Ui(c.Ui),c.wS=!1);c.mapping||(c.mapping=a.Xc.xe().Yd(),a.Wq(c.mapping,a.f,b));c.CC||(c.W.data(c.mapping),$.E(c.W.name)&&c.W.name(a.dh(b)),
c.CC=!0);c.W.da(!0)}a.D.sc().da(!0)},s_=function(a){for(var b in a.Na){var c=a.Na[b];c.CC=!1;$.hd(c.mapping);c.mapping=null}$.hd(a.f);a.f=null;q_(a)},t_=function(a){this.g=$.tn(a,256,!1);this.fc=[];this.b=this.f=0},u_=function(a){return new t_(a)},v_=function(){return{Ue:u_(1),Bf:u_(1),Fk:u_(1),fo:u_(1),Qb:1,fd:window.NaN,dispose:function(){this.Ue.clear();this.Bf.clear();this.Fk.clear();this.fo.clear()}}},w_=function(a){a.Ue.clear();a.Bf.clear();a.Fk.clear();a.fo.clear();a.fd=window.NaN},x_=function(a,
b,c,d,e){if((0,window.isNaN)(c)||(0,window.isNaN)(d)||(0,window.isNaN)(b)||(0,window.isNaN)(e))return window.NaN;a.Ue.enqueue(c);a.Bf.enqueue(d);a.Fk.enqueue(b);a.fo.enqueue(e);var f;if(a.Fk.Ng()<a.Qb)return window.NaN;b=a.Ue.get(0);c=a.Bf.get(0);d=a.Fk.get(0);d=(d-c-(b-d))/(b-c);e=a.fo.get(0);(0,window.isNaN)(a.fd)?f=b-c?d*e:0:b-c&&(f=a.fd+d*e);return a.fd=f},y_=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low")),f=$.N(a.get("volume"));c=x_(b,c,d,e,f);a.set("result",
c)},z_=function(a){a=a.xe().hd(a);a.Wg(v_());a.Xg(w_);a.Vg(y_);a.ce("result");return a},A_=function(a){o_.call(this,a);p_(this,"main",a[2]);q_(this)},B_=function(a,b,c){a=$.tn(a,20,!1);b=$.tn(b,2,!1);c=$.tn(c,30,!1);if(b>c){var d=b;b=c;c=d}return{uc:u_(a+1),Qb:a,ew:c,Wu:b,Ft:window.NaN,fd:window.NaN,dispose:function(){this.uc.clear()}}},C_=function(a){a.uc.clear();a.fd=window.NaN},D_=function(a,b){var c=a.get("value");c=$.p(c)?c:a.get("close");c=$.N(c);var d=(0,window.isNaN)(c),e;d||(e=b.uc.enqueue(c));
if(d||b.uc.Ng()<=b.Qb)c=window.NaN;else{var f=2/(b.ew+1);var h=2/(b.Wu+1);c=b.uc.get(-1);var k=b.uc.get(0);d=b.uc.get(-2);if((0,window.isNaN)(b.fd)||(0,window.isNaN)(b.Ft)){b.Ft=0;for(e=1;e<=b.Qb;e++)b.Ft+=Math.abs(b.uc.get(e)-b.uc.get(e-1));b.Ft?(e=Math.abs(c-k)/b.Ft,e=e*(h-f)+f):e=f;c=d+e*e*(c-d)}else b.Ft+=Math.abs(c-d)-Math.abs(k-e),b.Ft?(e=Math.abs(c-k)/b.Ft,e=e*(h-f)+f):e=f,c=b.fd+e*e*(c-b.fd);b.fd=c}a.set("result",c)},E_=function(a,b,c,d){a=a.xe().hd(a);a.Wg(B_(b,c,d));a.Xg(C_);a.Vg(D_);a.ce("result");
return a},F_=function(a){o_.call(this,a);this.g=$.tn(a[2],20,!1);this.b=$.tn(a[3],2,!1);this.o=$.tn(a[4],30,!1);p_(this,"main",a[5]);q_(this)},G_=function(a){a=$.tn(a,20,!1);return{uc:u_(a),Qb:a,fd:window.NaN,dispose:function(){this.uc.clear()}}},H_=function(a){a.uc.clear();a.fd=window.NaN},J_=function(a,b){var c=a.get("value");c=$.p(c)?c:a.get("close");c=$.N(c);c=I_(b,c);a.set("result",c)},K_=function(a,b){var c=a.xe().hd(a);c.Wg(G_(b));c.Xg(H_);c.Vg(J_);c.ce("result");return c},I_=function(a,b){if((0,window.isNaN)(b))return window.NaN;
a.uc.enqueue(b);var c;if(a.uc.Ng()<a.Qb)return window.NaN;if((0,window.isNaN)(a.fd)){for(var d=c=0;d<a.Qb;d++)c+=a.uc.get(d);c/=a.Qb}else c=a.uc.get(-1),c=a.fd+2/(a.Qb+1)*(c-a.fd);return a.fd=c},L_=function(a){a=$.tn(a,20,!1);return{uc:u_(a),Qb:a,fd:window.NaN,dF:window.NaN,dispose:function(){this.uc.clear()}}},M_=function(a){a.uc.clear();a.fd=window.NaN;a.dF=window.NaN},O_=function(a,b){var c=a.get("value");c=$.p(c)?c:a.get("close");c=$.N(c);c=N_(b,c);a.set("result",c)},P_=function(a,b){var c=a.xe().hd(a);
c.Wg(L_(b));c.Xg(M_);c.Vg(O_);c.ce("result");return c},N_=function(a,b){if((0,window.isNaN)(b))return a.dF=window.NaN;var c=a.uc.enqueue(b);a.dF=c;if(a.uc.Ng()<a.Qb)return window.NaN;if((0,window.isNaN)(a.fd)){for(var d=c=0;d<a.Qb;d++)c+=a.uc.get(d);c/=a.Qb}else d=a.uc.get(-1),c=a.fd+(d-c)/a.Qb;return a.fd=c},Q_=function(a,b,c){a=$.tn(a,5,!1);b=$.tn(b,34,!1);c=lY(c,"sma");if("sma"==c){var d=L_;var e=N_}else d=G_,e=I_;return{Vu:d(a),dw:d(b),Fp:e,vm:c,dispose:function(){this.Vu.dispose();this.dw.dispose()}}},
R_=function(a){"sma"==a.vm?(M_(a.Vu),M_(a.dw)):(H_(a.Vu),H_(a.dw))},S_=function(a,b,c){if((0,window.isNaN)(b)||(0,window.isNaN)(c))return window.NaN;c=(b+c)/2;b=a.Fp(a.Vu,c);a=a.Fp(a.dw,c);return b-a},T_=function(a,b){var c=$.N(a.get("high")),d=$.N(a.get("low"));c=S_(b,c,d);a.set("result",c)},U_=function(a,b,c,d){a=a.xe().hd(a);a.Wg(Q_(b,c,d));a.Xg(R_);a.Vg(T_);a.ce("result");return a},V_=function(a){o_.call(this,a);this.b=$.tn(a[2],5,!1);this.g=$.tn(a[3],34,!1);this.o=lY(a[4],"sma");p_(this,"main",
a[5],"stick");q_(this);var b=new $.Wp;b.Ia("chart.defaultSeriesSettings.base.normal","stock.defaultPlotSettings.defaultSeriesSettings.base.normal","chart.defaultSeriesSettings.lineLike.normal","stock.defaultPlotSettings.defaultSeriesSettings.lineLike.normal","chart.defaultSeriesSettings.ohlc.normal","stock.defaultPlotSettings.defaultSeriesSettings.ohlc.normal");a=b.ma.risingStroke;b=b.ma.fallingStroke;this.W().risingStroke(a);this.W().fallingStroke(b);this.W().risingFill(a);this.W().fallingFill(b)},
W_=function(a){a=L_($.tn(a,14,!1));a.XL=window.NaN;return a},X_=function(a){M_(a);a.XL=window.NaN},Y_=function(a,b,c,d){if((0,window.isNaN)(c)||(0,window.isNaN)(d)||(0,window.isNaN)(b))return window.NaN;c=N_(a,Math.max(c,a.XL)-Math.min(d,a.XL));a.XL=b;return c},Z_=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=Y_(b,c,d,e);a.set("result",c)},$_=function(a,b){var c=a.xe().hd(a);c.Wg(W_(b));c.Xg(X_);c.Vg(Z_);c.ce("result");return c},a0=function(a){o_.call(this,a);
this.b=$.tn(a[2],14,!1);p_(this,"main",a[3]);q_(this)},b0=function(a){a=$.tn(a,20,!1);return{Ue:u_(a+1),Bf:u_(a+1),Qb:a,dispose:function(){this.Ue.clear();this.Bf.clear()}}},c0=function(a){a.Ue.clear();a.Bf.clear()},d0=function(a,b){var c=$.N(a.get("high")),d=$.N(a.get("low")),e=(0,window.isNaN)(c)||(0,window.isNaN)(d);e||(b.Ue.enqueue(c),b.Bf.enqueue(d));c=b.Ue.Ng();if(e||c<=b.Qb)c=e=window.NaN;else{var f=0,h=b.Ue.get(0);for(d=1;d<c;d++){var k=b.Ue.get(d);k>=h&&(h=k,f=d)}e=100*f/b.Qb;f=0;h=b.Bf.get(0);
for(d=1;d<c;d++)k=b.Bf.get(d),k<=h&&(h=k,f=d);c=100*f/b.Qb}a.set("upResult",e);a.set("downResult",c)},e0=function(a,b){var c=a.xe().hd(a);c.Wg(b0(b));c.Xg(c0);c.Vg(d0);c.ce("upResult");c.ce("downResult");return c},f0=function(a){o_.call(this,a);this.b=$.tn(a[2],20,!1);this.o=a[3];this.g=a[4];p_(this,"range",a[5],"range-area");q_(this);this.TO().lowFill(function(){return $.Ck($.yk(this.sourceColor,.6),.65)});this.TO().lowStroke(function(){return $.Ck($.yk(this.sourceColor),1)})},g0=function(a,b){var c=
L_($.tn(a,20,!1));c.Ss=$.tn(b,2,!1);c.Sv=window.NaN;return c},h0=function(a){M_(a);a.Sv=window.NaN},i0=function(a,b){var c=a.fd,d=N_(a,b);if((0,window.isNaN)(d))return[window.NaN,window.NaN,window.NaN];var e,f=a.uc,h=a.Qb;if((0,window.isNaN)(c))for(c=e=0;c<h;c++){var k=f.get(c)-d;e+=k*k}else e=a.dF-c,k=f.get(-1)-d,f=c-d,e=a.Sv+h*f*f+f*(d+c)-2*a.dF*f+k*k-e*e;0>e&&(e=0);a.Sv=e;e=Math.sqrt(e/h)*a.Ss;return[d,d+e,d-e]},j0=function(a,b){var c=a.get("value");c=$.p(c)?c:a.get("close");c=$.N(c);c=i0(b,c);
var d=c[1],e=c[2];a.set("middleResult",c[0]);a.set("upperResult",d);a.set("lowerResult",e)},k0=function(a,b,c){a=a.xe().hd(a);a.Wg(g0(b,c));a.Xg(h0);a.Vg(j0);a.ce("upperResult");a.ce("lowerResult");a.ce("middleResult");return a},l0=function(a){o_.call(this,a);this.g=$.tn(a[2],20,!1);this.b=$.tn(a[3],2,!1);p_(this,"middle",a[4]);p_(this,"upper",a[5]);p_(this,"lower",a[6]);p_(this,"range",a[7],"range-area");q_(this)},m0=function(a,b){var c=$.tn(a,20,!1);return{uc:u_(c),Qb:c,Ss:$.tn(b,2,!1),fd:window.NaN,
Sv:window.NaN,dispose:function(){this.uc.clear()}}},n0=function(a){a.uc.clear();a.fd=window.NaN;a.Sv=window.NaN},o0=function(a,b){var c=b.uc,d=b.Qb,e=a.get("value");e=$.p(e)?e:a.get("close");e=$.N(e);var f=(0,window.isNaN)(e),h;f||(h=c.enqueue(e));e=0;if(f||c.Ng()<d)e=window.NaN;else{if((0,window.isNaN)(b.fd)){for(h=0;h<d;h++)e+=c.get(h);b.fd=e/d;for(h=e=0;h<d;h++)f=c.get(h)-b.fd,e+=f*f;0>e&&(e=0);b.Sv=Math.sqrt(e/d);e=b.Sv*b.Ss}else{e=(c.get(-1)-h)/d;var k=b.fd;f=b.Sv;b.fd=k+e;e=f*f*d;var l=h-k;
f=c.get(-1)-b.fd;var m=k-b.fd;e=e+d*m*m+m*(b.fd+k)-2*h*m+f*f-l*l;0>e&&(e=0);f=Math.sqrt(e/d);b.Sv=f;e=f*b.Ss}d=b.fd+e;e=b.fd-e;e=(c.get(-1)-e)/(d-e)}a.set("result",e)},p0=function(a,b,c){a=a.xe().hd(a);a.Wg(m0(b,c));a.Xg(n0);a.Vg(o0);a.ce("result");return a},q0=function(a){o_.call(this,a);this.g=$.tn(a[2],20,!1);this.b=$.tn(a[3],2,!1);p_(this,"main",a[4]);q_(this)},r0=function(a){h0(a)},s0=function(a,b){var c=i0(a,b);return(c[1]-c[2])/c[0]},t0=function(a,b){var c=a.get("value");c=$.p(c)?c:a.get("close");
c=$.N(c);a.set("result",s0(b,c))},u0=function(a,b,c){a=a.xe().hd(a);a.Wg(g0(b,c));a.Xg(r0);a.Vg(t0);a.ce("result");return a},v0=function(a){o_.call(this,a);this.g=$.tn(a[2],20,!1);this.b=$.tn(a[3],2,!1);p_(this,"main",a[4]);q_(this)},w0=function(a){return L_($.tn(a,20,!1))},x0=function(a){M_(a)},y0=function(a,b,c,d){if((0,window.isNaN)(c)||(0,window.isNaN)(d)||(0,window.isNaN)(b))return window.NaN;b=(c+d+b)/3;c=N_(a,b);for(var e=d=0;e<a.Qb;e++)d+=Math.abs(a.uc.get(e)-a.fd);return(b-c)/(d/a.Qb*.015)},
z0=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=y0(b,c,d,e);a.set("result",c)},A0=function(a,b){var c=a.xe().hd(a);c.Wg(w0(b));c.Xg(x0);c.Vg(z0);c.ce("result");return c},B0=function(a){o_.call(this,a);this.b=$.tn(a[2],20,!1);p_(this,"main",a[3]);q_(this)},C0=function(a,b,c){a=$.tn(a,3,!1);b=$.tn(b,10,!1);if(a>b){var d=a;a=b;b=d}c=lY(c,"ema");d=v_();if("sma"==c){a=L_(a);b=L_(b);var e=N_}else a=G_(a),b=G_(b),e=I_;return{kO:d,Vu:a,dw:b,Fp:e,vm:c,dispose:function(){this.kO.dispose();
this.Vu.dispose();this.dw.dispose()}}},D0=function(a){w_(a.kO);"sma"==a.vm?(M_(a.Vu),M_(a.dw)):(H_(a.Vu),H_(a.dw))},E0=function(a,b,c,d,e){if((0,window.isNaN)(b)||(0,window.isNaN)(c)||(0,window.isNaN)(d)||(0,window.isNaN)(e))return window.NaN;c=x_(a.kO,b,c,d,e);b=a.Fp(a.Vu,c);a=a.Fp(a.dw,c);return b-a},F0=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low")),f=$.N(a.get("volume"));c=E0(b,c,d,e,f);a.set("result",c)},G0=function(a,b,c,d){a=a.xe().hd(a);a.Wg(C0(b,c,d));a.Xg(D0);
a.Vg(F0);a.ce("result");return a},H0=function(a){o_.call(this,a);this.b=$.tn(a[2],3,!1);this.g=$.tn(a[3],10,!1);this.o=lY(a[4],"ema");p_(this,"main",a[5]);q_(this)},I0=function(a){a=$.tn(a,20,!1);return{FC:u_(a),fo:u_(a),Qb:a,Nx:window.NaN,Zz:window.NaN,dispose:function(){this.FC.clear();this.fo.clear()}}},J0=function(a){a.FC.clear();a.fo.clear();a.Nx=window.NaN;a.Zz=window.NaN},K0=function(a,b,c,d,e){if((0,window.isNaN)(c)||(0,window.isNaN)(d)||(0,window.isNaN)(b)||(0,window.isNaN)(e))return window.NaN;
b=a.FC.enqueue(c==d?0:(b-d-(c-b))*e/(c-d));e=a.fo.enqueue(e);if(a.FC.Ng()<a.Qb)return window.NaN;if((0,window.isNaN)(a.Nx))for(a.Nx=0,e=a.Zz=0;e<a.Qb;e++)a.Nx+=a.FC.get(e),a.Zz+=a.fo.get(e);else a.Nx+=a.FC.get(-1)-b,a.Zz+=a.fo.get(-1)-e;return a.Nx/a.Zz},L0=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low")),f=$.N(a.get("volume"));c=K0(b,c,d,e,f);a.set("result",c)},M0=function(a,b){var c=a.xe().hd(a);c.Wg(I0(b));c.Xg(J0);c.Vg(L0);c.ce("result");return c},N0=function(a){o_.call(this,
a);this.b=$.tn(a[2],20,!1);p_(this,"main",a[3]);q_(this)},O0=function(a,b,c){a=$.tn(a,14,!1);b=$.tn(b,14,!1);return{Ue:u_(a+1),Bf:u_(a+1),Fk:u_(a+1),lO:u_(b),Qb:a,TA:b,rN:$.p(c)?!!c:!0,alpha:2/(a+1),D6:2/(b+1),Dt:window.NaN,Lv:window.NaN,hu:window.NaN,cH:window.NaN,UG:window.NaN,BA:window.NaN,dispose:function(){this.Ue.clear();this.Bf.clear();this.Fk.clear();this.lO.clear()}}},P0=function(a){a.Ue.clear();a.Bf.clear();a.Fk.clear();a.lO.clear();a.Dt=window.NaN;a.Lv=window.NaN;a.hu=window.NaN},Q0=function(a,
b,c,d,e,f,h,k,l){d=c-d;f-=e;0>d&&(d=0);0>f&&(f=0);d>f?f=0:d<f?d=0:f=d=0;(b=Math.max(Math.abs(c-e),Math.abs(c-b),Math.abs(e-b)))?(a.Dt+=a.alpha*(100*d/b-a.Dt),a.Lv+=a.alpha*(100*f/b-a.Lv)):(a.Dt-=a.alpha*a.Dt,a.Lv-=a.alpha*a.Lv);a.cH=a.cH+d-h;a.UG=a.UG+f-k;a.BA=a.BA+b-l},R0=function(a,b,c,d){if((0,window.isNaN)(c)||(0,window.isNaN)(d)||(0,window.isNaN)(b))return[window.NaN,window.NaN,window.NaN];var e=a.Ue,f=a.Bf,h=a.Fk,k=a.lO;e.enqueue(c);f.enqueue(d);h.enqueue(b);if(e.Ng()<a.Qb+1)return[window.NaN,
window.NaN,window.NaN];if((0,window.isNaN)(a.Dt))for(a.Dt=0,a.Lv=0,a.cH=0,a.UG=0,a.BA=0,c=e.get(0),d=f.get(0),b=1;b<a.Qb+1;b++){var l=c;var m=d;c=e.get(b);d=f.get(b);var n=h.get(b-1);Q0(a,n,c,l,d,m,0,0,0)}else c=e.get(-1),l=e.get(-2),d=f.get(-1),m=f.get(-2),n=h.get(-2),Q0(a,n,c,l,d,m,a.cH/a.Qb,a.UG/a.Qb,a.BA/a.Qb);a.rN?a.BA?(h=100*a.cH/a.BA,f=100*a.UG/a.BA,e=0<h+f?100*Math.abs(h-f)/(h+f):0):e=f=h=0:(h=a.Dt,f=a.Lv,e=100*Math.abs(h-f)/(h+f));h=[h,f,e];e=h[0];f=h[1];h=h[2];if((0,window.isNaN)(h))return[e,
f,window.NaN];k.enqueue(h);if(k.Ng()<a.TA)return[e,f,window.NaN];if((0,window.isNaN)(a.hu)){for(b=h=0;b<a.TA;b++)h+=k.get(b);h/=a.TA;a.hu=h}else k=k.get(-1),a.hu=a.rN?a.hu+(k-a.hu)/a.TA:a.hu+a.D6*(k-a.hu);return[e,f,a.hu]},S0=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=R0(b,c,d,e);a.set("pdiResult",c[0]);a.set("ndiResult",c[1]);a.set("adxResult",c[2])},T0=function(a,b,c,d){a=a.xe().hd(a);a.Wg(O0(b,c,d));a.Xg(P0);a.Vg(S0);a.ce("pdiResult");a.ce("ndiResult");a.ce("adxResult");
return a},U0=function(a){o_.call(this,a);this.b=$.tn(a[2],14,!1);this.g=$.tn(a[3],14,!1);this.o=$.p(a[4])?!!a[4]:!0;p_(this,"pdi",a[5]);p_(this,"ndi",a[6]);p_(this,"adx",a[7]);q_(this)},V0=function(a){o_.call(this,a);this.b=$.tn(a[2],20,!1);p_(this,"main",a[3]);q_(this)},W0=function(){return{aH:u_(1),Fk:u_(1),dispose:function(){this.aH.clear();this.Fk.clear()}}},X0=function(){this.aH.clear();this.Fk.clear()},Y0=function(a,b,c,d,e){if((0,window.isNaN)(b)||(0,window.isNaN)(c)||(0,window.isNaN)(d)||
(0,window.isNaN)(e))return[window.NaN,window.NaN,window.NaN,window.NaN];if(a.aH.Ng()){var f=a.aH.get(0);var h=a.Fk.get(0);f=(f+h)/2;b=(b+c+d+e)/4;h=Math.max(c,f,b);var k=Math.min(d,f,b)}else f=b,h=c,k=d,b=(b+c+d+e)/4;a.aH.enqueue(f);a.Fk.enqueue(b);return[f,h,k,b]},Z0=function(a,b){var c=$.N(a.get("open")),d=$.N(a.get("high")),e=$.N(a.get("low")),f=$.N(a.get("close"));c=Y0(b,c,d,e,f);a.set("haOpen",c[0]);a.set("haHigh",c[1]);a.set("haLow",c[2]);a.set("haClose",c[3])},$0=function(a){a=a.xe().hd(a);
a.Wg(W0());a.Xg(X0);a.Vg(Z0);a.ce("haOpen");a.ce("haHigh");a.ce("haLow");a.ce("haClose");return a},a1=function(a){o_.call(this,a);p_(this,"main",a[2],"candlestick");q_(this)},b1=function(a,b,c,d,e){a=$.tn(a,14,!1);d=lY(d,"sma");b=$.tn(b,1,!1);e=lY(e,"sma");c=$.tn(c,3,!1);if("sma"==d){var f=L_;var h=N_}else f=G_,h=I_;if("sma"==e){var k=L_;var l=N_}else k=G_,l=I_;return{Ue:u_(a),Bf:u_(a),vC:a,sG:d,jL:f(b),dda:h,TE:e,tJ:k(c),Z$:l,dispose:function(){this.Ue.clear();this.Bf.clear();this.jL.dispose();this.tJ.dispose()}}},
c1=function(a){a.Ue.clear();a.Bf.clear();"sma"===a.sG?M_(a.jL):H_(a.jL);"sma"===a.TE?M_(a.tJ):H_(a.tJ)},d1=function(a,b,c,d){if((0,window.isNaN)(b)||(0,window.isNaN)(c)||(0,window.isNaN)(d))return[window.NaN,window.NaN];var e=a.Ue,f=a.Bf;e.enqueue(c);f.enqueue(d);var h;if(e.Ng()<a.vC)b=window.NaN;else{c=Number.MAX_VALUE;d=-Number.MIN_VALUE;for(h=0;h<a.vC;h++){var k=e.get(h);var l=f.get(h);d<k&&(d=k);c>l&&(c=l)}b=100*(b-c)/(d-c)}b=a.dda(a.jL,b);a=a.Z$(a.tJ,b);return[b,a]},e1=function(a,b){var c=$.N(a.get("close")),
d=$.N(a.get("high")),e=$.N(a.get("low"));c=d1(b,c,d,e);d=c[1];a.set("kResult",c[0]);a.set("dResult",d)},f1=function(a,b,c,d,e,f){a=a.xe().hd(a);a.Wg(b1(b,c,d,e,f));a.Xg(c1);a.Vg(e1);a.ce("kResult");a.ce("dResult");return a},g1=function(a,b,c,d,e,f,h){a=$.tn(a,14,!1);d=lY(d,"ema");b=$.tn(b,5,!1);e=lY(e,"ema");c=$.tn(c,5,!1);var k=$.N(f);f=(0,window.isNaN)(k)?-2:k;k=$.N(h);h=(0,window.isNaN)(k)?3:k;a=b1(a,b,c,d,e);a.LS=f;a.YP=h;return a},h1=function(a){c1(a)},i1=function(a,b,c,d){if((0,window.isNaN)(b)||
(0,window.isNaN)(c)||(0,window.isNaN)(d))return[window.NaN,window.NaN,window.NaN];b=d1(a,b,c,d);b.push(a.LS*b[0]+a.YP*b[1]);return b},j1=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=i1(b,c,d,e);d=c[1];e=c[2];a.set("kResult",c[0]);a.set("dResult",d);a.set("jResult",e)},k1=function(a,b,c,d,e,f,h,k){a=a.xe().hd(a);a.Wg(g1(b,c,d,e,f,h,k));a.Xg(h1);a.Vg(j1);a.ce("kResult");a.ce("dResult");a.ce("jResult");return a},l1=function(a){o_.call(this,a);this.o=$.tn(a[2],14,
!1);this.b=$.tn(a[3],5,!1);this.g=$.tn(a[4],5,!1);this.N=lY(a[5],"ema");this.G=lY(a[6],"ema");var b=$.N(a[7]);this.U=(0,window.isNaN)(b)?-2:b;b=$.N(a[8]);this.P=(0,window.isNaN)(b)?3:b;p_(this,"kSeries",a[9]);p_(this,"dSeries",a[10]);p_(this,"jSeries",a[11]);q_(this)},m1=function(a,b,c,d){a=$.tn(a,20,!1);b=$.tn(b,10,!1);d=$.tn(d,2,!1);c=lY(c,"ema");if("sma"==c){var e=L_;var f=N_}else e=G_,f=I_;return{Cv:e(a),Fp:f,iP:W_(b),BL:d,AG:a,FX:b,vm:c,dispose:function(){this.Cv.dispose();this.iP.dispose()}}},
n1=function(a){"sma"==a.vm?M_(a.Cv):H_(a.Cv);X_(a.iP)},p1=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=o1(b,c,d,e);a.set("maResult",c[0]);a.set("upperResult",c[1]);a.set("lowerResult",c[2])},q1=function(a,b,c,d,e){a=a.xe().hd(a);a.Wg(m1(b,c,d,e));a.Xg(n1);a.Vg(p1);a.ce("maResult");a.ce("upperResult");a.ce("lowerResult");return a},o1=function(a,b,c,d){var e=a.Fp(a.Cv,(c+d+b)/3);b=Y_(a.iP,b,c,d);return[e,e+a.BL*b,e-a.BL*b]},r1=function(a){o_.call(this,a);this.b=
$.tn(a[2],20,!1);this.o=$.tn(a[3],10,!1);this.g=lY(a[4],"ema");this.G=$.tn(a[5],2,!1);p_(this,"ma",a[6]);p_(this,"range",a[7],"range-area");q_(this);this.lX().fill(function(){return $.Ck(this.sourceColor,.1)})},s1=function(a,b,c){a=$.tn(a,12,!1);b=$.tn(b,26,!1);if(a>b){var d=a;a=b;b=d}return{GQ:G_(a),ZU:G_(b),UU:G_($.tn(c,9,!1)),dispose:function(){this.GQ.dispose();this.ZU.dispose();this.UU.dispose()}}},t1=function(a){H_(a.GQ);H_(a.ZU);H_(a.UU)},v1=function(a,b){var c=a.get("value");c=$.p(c)?c:a.get("close");
c=$.N(c);c=u1(b,c);var d=c[1],e=c[2];a.set("macdResult",c[0]);a.set("signalResult",d);a.set("histogramResult",e)},u1=function(a,b){if((0,window.isNaN)(b))return[window.NaN,window.NaN,window.NaN];var c=I_(a.GQ,b);var d=I_(a.ZU,b),e=I_(a.UU,c-d);if((0,window.isNaN)(e))var f=e=c=window.NaN;else f=c-d,c=c-d-e;return[f,e,c]},w1=function(a,b,c,d){a=a.xe().hd(a);a.Wg(s1(b,c,d));a.Xg(t1);a.Vg(v1);a.ce("macdResult");a.ce("signalResult");a.ce("histogramResult");return a},x1=function(a){o_.call(this,a);this.b=
$.tn(a[2],12,!1);this.o=$.tn(a[3],26,!1);this.g=$.tn(a[4],9,!1);p_(this,"macd",a[5]);p_(this,"signal",a[6]);p_(this,"histogram",a[7],"column");q_(this)},y1=function(a){a=$.tn(a,10,!1);return{$L:u_(a),fo:u_(a),Qb:a,dispose:function(){this.$L.clear();this.fo.clear()}}},z1=function(a){a.$L.clear();a.fo.clear();a.fd=window.NaN},A1=function(a,b,c,d,e){if((0,window.isNaN)(b)||(0,window.isNaN)(c)||(0,window.isNaN)(d)||(0,window.isNaN)(e))return window.NaN;c=a.$L.enqueue(b+c+d);d=a.fo.enqueue(e);e=a.$L;b=
a.fo;if(e.Ng()<a.Qb)return window.NaN;if((0,window.isNaN)(a.fd)){var f=c=0;d=e.get(0);for(var h=1;h<a.Qb;h++){var k=e.get(h);var l=k*b.get(h);k!=d&&(k>d?c+=l:f+=l,d=k)}a.US=0;a.RC=c;a.XG=f;e=100*c/(c+f)}else d*=c,0<a.US?a.RC-=d:0>a.US&&(a.XG-=d),d=e.get(-2),k=e.get(-1),l=k*b.get(-1),k>d?a.RC+=l:k<d&&(a.XG+=l),a.US=e.get(0)-c,e=100*a.RC/(a.RC+a.XG);return a.fd=e},B1=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low")),f=$.N(a.get("volume"));c=A1(b,c,d,e,f);a.set("result",
c)},C1=function(a,b){var c=a.xe().hd(a);c.Wg(y1(b));c.Xg(z1);c.Vg(B1);c.ce("result");return c},D1=function(a){o_.call(this,a);this.b=$.tn(a[2],10,!1);p_(this,"series",a[3]);q_(this)},E1=function(a){a=$.tn(a,20,!1);return{uc:u_(a),Qb:a,fd:window.NaN,dispose:function(){this.uc.clear()}}},F1=function(a){a.uc.clear();a.fd=window.NaN},G1=function(a,b){var c=a.get("value");c=$.p(c)?c:a.get("close");c=$.N(c);if((0,window.isNaN)(c))var d=window.NaN;else{d=b.Qb;var e=b.uc,f=b.fd;e.enqueue(c);if(e.Ng()<d)f=
window.NaN;else if((0,window.isNaN)(f)){for(c=f=0;c<d;c++)f+=e.get(c);f/=d}else e=e.get(-1),f+=(e-f)/d;d=f;b.fd=d}a.set("result",d)},H1=function(a,b){var c=a.xe().hd(a);c.Wg(E1(b));c.Xg(F1);c.Vg(G1);c.ce("result");return c},I1=function(a){o_.call(this,a);this.b=$.tn(a[2],20,!1);p_(this,"main",a[3]);q_(this)},J1=function(a){a=$.tn(a,14,!1);return{uc:u_(a+1),Qb:a,dispose:function(){this.uc.clear()}}},K1=function(a){a.uc.clear();a.fd=window.NaN},L1=function(a,b){if((0,window.isNaN)(b))return window.NaN;
var c=a.uc;c.enqueue(b);if(c.Ng()<a.Qb+1)return window.NaN;c=100*b/c.get(0);return a.fd=c},M1=function(a,b){var c=a.get("value");c=$.p(c)?c:a.get("close");c=$.N(c);c=L1(b,c);a.set("result",c)},N1=function(a,b){var c=a.xe().hd(a);c.Wg(J1(b));c.Xg(K1);c.Vg(M1);c.ce("result");return c},O1=function(a){o_.call(this,a);this.b=$.tn(a[2],14,!1);p_(this,"series",a[3]);q_(this)},P1=function(){return{Ox:window.NaN,hH:window.NaN,dispose:function(){}}},Q1=function(a){a.Ox=window.NaN;a.hH=window.NaN},S1=function(a,
b){var c=a.get("close");c=$.p(c)?c:a.get("value");var d=a.get("volume");d=$.N(d);c=$.N(c);c=R1(b,c,d);a.set("result",c)},T1=function(a){a=a.xe().hd(a);a.Wg(P1());a.Xg(Q1);a.Vg(S1);a.ce("result");return a},R1=function(a,b,c){if((0,window.isNaN)(b)||(0,window.isNaN)(c))return window.NaN;(0,window.isNaN)(a.Ox)?(a.hH=b,a.Ox=c):(b>a.hH?a.Ox+=c:b<a.hH&&(a.Ox-=c),a.hH=b);return a.Ox},U1=function(a){o_.call(this,a);p_(this,"main",a[2]);q_(this)},V1=function(a,b,c){return{Ue:u_(2),Bf:u_(2),qO:$.N(a)||.02,
Q6:$.N(b)||.02,FW:$.N(c)||.2,dispose:function(){this.Ue.clear();this.Bf.clear()}}},W1=function(a){a.Ue.clear();a.Bf.clear();a.fd=window.NaN;a.kp=window.NaN;a.ip=window.NaN;a.alpha=a.qO},X1=function(a){a.alpha+=a.Q6;a.alpha>a.FW&&(a.alpha=a.FW)},Y1=function(a){var b=a.fd+a.alpha*(a.kp-a.fd);b>a.Bf.get(-2)?b=a.Bf.get(-2):!(0,window.isNaN)(a.mQ)&&b>a.mQ&&(b=a.mQ);b>a.Bf.get(-1)&&(b=a.kp,a.kp=window.NaN,a.ip=window.NaN,a.hL=!1,a.alpha=a.qO);a.fd=b},Z1=function(a){var b=a.fd+a.alpha*(a.ip-a.fd);b<a.Ue.get(-2)?
b=a.Ue.get(-2):!(0,window.isNaN)(a.lQ)&&b<a.lQ&&(b=a.lQ);b<a.Ue.get(-1)&&(b=a.ip,a.kp=window.NaN,a.ip=window.NaN,a.hL=!0,a.alpha=a.qO);a.fd=b},$1=function(a){var b=a.Ue.get(-2),c=a.Bf.get(-2);(0,window.isNaN)(a.kp)?a.kp=b:a.kp<b&&(a.kp=b,X1(a));if((0,window.isNaN)(a.ip)||a.ip>c)a.ip=c},a2=function(a){var b=a.Ue.get(-2),c=a.Bf.get(-2);(0,window.isNaN)(a.ip)?a.ip=c:a.ip>c&&(a.ip=c,X1(a));if((0,window.isNaN)(a.kp)||a.kp<b)a.kp=b},b2=function(a,b,c){if((0,window.isNaN)(b)||(0,window.isNaN)(c))return window.NaN;
b=a.lQ=a.Ue.enqueue(b);a.mQ=a.Bf.enqueue(c);if(2>a.Ue.Ng())return window.NaN;(0,window.isNaN)(a.fd)?(a.kp=window.NaN,a.ip=window.NaN,a.hL=b<=a.Ue.get(0),a.hL?($1(a),a.fd=a.kp,Y1(a)):(a2(a),a.fd=a.ip,Z1(a))):a.hL?($1(a),Y1(a)):(a2(a),Z1(a));return a.fd},c2=function(a,b){var c=$.N(a.get("high")),d=$.N(a.get("low"));c=b2(b,c,d);a.set("result",c)},d2=function(a,b,c,d){a=a.xe().hd(a);a.Wg(V1(b,c,d));a.Xg(W1);a.Vg(c2);a.ce("result");return a},e2=function(a){o_.call(this,a);this.o=$.N(a[2])||.02;this.g=
$.N(a[3])||.02;this.b=$.N(a[4])||.2;p_(this,"series",a[5],"marker");q_(this)},f2=function(a){a=$.tn(a,20,!1);return{Ue:u_(a),Bf:u_(a),Qb:a,dispose:function(){this.Ue.clear();this.Bf.clear()}}},g2=function(a){a.Ue.clear();a.Bf.clear()},h2=function(a,b,c){if((0,window.isNaN)(b)||(0,window.isNaN)(c))return[window.NaN,window.NaN,window.NaN];var d=window.NaN,e=window.NaN,f=window.NaN;if(a.Ue.Ng()>=a.Qb){d=a.Ue.get(0);f=a.Bf.get(0);for(var h,k=1;k<a.Qb;k++)e=a.Ue.get(k),h=a.Bf.get(k),e>d&&(d=e),h<f&&(f=
h);e=(d+f)/2}a.Ue.enqueue(b);a.Bf.enqueue(c);return[d,e,f]},i2=function(a,b){var c=$.N(a.get("high")),d=$.N(a.get("low"));c=h2(b,c,d);a.set("upperResult",c[0]);a.set("middleResult",c[1]);a.set("lowerResult",c[2])},j2=function(a,b){var c=a.xe().hd(a);c.Wg(f2(b));c.Xg(g2);c.Vg(i2);c.ce("upperResult");c.ce("middleResult");c.ce("lowerResult");return c},k2=function(a){o_.call(this,a);this.b=$.tn(a[2],20,!1);p_(this,"middle",a[3]);p_(this,"range",a[4],"range-area");q_(this);this.mX().fill(function(){return $.Ck(this.sourceColor,
.1)})},l2=function(a){a=$.tn(a,14,!1);return{uc:u_(a),Qb:a,gy:window.NaN,Pw:window.NaN,dispose:function(){this.uc.clear()}}},m2=function(a){a.uc.clear();a.gy=window.NaN;a.Pw=window.NaN},n2=function(a,b){var c=a.get("value");c=$.p(c)?c:a.get("close");c=$.N(c);var d=(0,window.isNaN)(c);d||b.uc.enqueue(c);if(d||b.uc.Ng()<b.Qb)c=window.NaN;else{if((0,window.isNaN)(b.gy)){var e=0,f=0;d=b.uc.get(0);for(var h=1;h<b.Qb;h++)c=d,d=b.uc.get(h),d>c?e+=d-c:d<c&&(f+=c-d);b.gy=e;b.Pw=f}else d=b.uc.get(-1),c=b.uc.get(-2),
e=(b.Qb-1)/b.Qb,b.gy*=e,b.Pw*=e,d>c?b.gy+=d-c:d<c&&(b.Pw+=c-d);c=b.Pw?100-100/(1+b.gy/b.Pw):100}a.set("result",c)},o2=function(a,b){var c=a.xe().hd(a);c.Wg(l2(b));c.Xg(m2);c.Vg(n2);c.ce("result");return c},p2=function(a){o_.call(this,a);this.b=$.tn(a[2],14,!1);p_(this,"main",a[3]);q_(this)},q2=function(a){a=$.tn(a,20,!1);return{uc:u_(a+1),Qb:a,dispose:function(){this.uc.clear()}}},r2=function(a){a.uc.clear()},s2=function(a,b){var c=a.get("value");c=$.p(c)?c:a.get("close");c=$.N(c);var d=(0,window.isNaN)(c);
d||b.uc.enqueue(c);d||b.uc.Ng()<=b.Qb?c=window.NaN:(c=b.uc.get(0),c=100*(b.uc.get(-1)-c)/c);a.set("result",c)},t2=function(a,b){var c=a.xe().hd(a);c.Wg(q2(b));c.Xg(r2);c.Vg(s2);c.ce("result");return c},u2=function(a){o_.call(this,a);this.b=$.tn(a[2],20,!1);p_(this,"main",a[3]);q_(this)},v2=function(a){o_.call(this,a);this.b=$.tn(a[2],20,!1);p_(this,"main",a[3]);q_(this)},w2=function(a){o_.call(this,a);this.o=$.tn(a[2],14,!1);this.b=$.tn(a[3],1,!1);this.g=$.tn(a[4],3,!1);this.N=lY(a[5],"sma");this.G=
lY(a[6],"sma");p_(this,"kSeries",a[7]);p_(this,"dSeries",a[8]);q_(this)},x2=function(a,b,c,d){a=$.tn(a,15,!1);b=$.tn(b,9,!1);if("ema"===c){var e=H_;c=I_;var f=G_}else e=M_,c=N_,f=L_;if("ema"===d){var h=H_;d=I_;var k=G_}else h=M_,d=N_,k=L_;return{Qb:a,JM:b,fd:window.NaN,OQ:f(a),wU:f(a),eN:f(a),VU:k(b),Fp:c,nda:d,oda:h,bT:e,dispose:function(){this.OQ.dispose();this.wU.dispose();this.eN.dispose();this.VU.dispose()}}},Qga=function(a){a.fd=window.NaN;a.bT(a.OQ);a.bT(a.wU);a.bT(a.eN);a.oda(a.VU)},Sga=function(a,
b){var c=a.get("value");c=$.p(c)?c:a.get("close");c=$.N(c);c=Rga(b,c);a.set("trix",c[0]);a.set("signal",c[1])},Tga=function(a,b,c,d,e){a=a.xe().hd(a);a.Wg(x2(b,c,d,e));a.Xg(Qga);a.Vg(Sga);a.ce("trix");a.ce("signal");return a},Rga=function(a,b){if((0,window.isNaN)(b))return[window.NaN,window.NaN];a.fd=a.eN.fd;var c=a.Fp(a.OQ,b);c=a.Fp(a.wU,c);c=(a.Fp(a.eN,c)-a.fd)/a.fd*100;var d=a.nda(a.VU,c);return[c,d]},y2=function(a){o_.call(this,a);this.b=$.tn(a[2],15,!1);this.g=$.tn(a[3],9,!1);this.G=lY(a[4],
"ema");this.o=lY(a[5],"ema");p_(this,"trix",a[6]);p_(this,"signal",a[7]);q_(this)},Uga=function(a,b){var c=$.tn(a,20,!1),d=lY(b,"sma");if("ema"==d){var e=G_;var f=I_}else e=L_,f=N_;return{AG:c,vm:d,Cv:e(c),Fp:f,dispose:function(){this.Cv.dispose()}}},Vga=function(a){"ema"==a.vm?H_(a.Cv):M_(a.Cv)},Wga=function(a,b){if((0,window.isNaN)(b))return[window.NaN,window.NaN];var c=a.Fp(a.Cv,b);return[b,c]},Xga=function(a,b){var c=$.N(a.get("volume"));c=Wga(b,c);a.set("volumeResult",c[0]);a.set("maResult",
c[1])},Yga=function(a,b,c){a=a.xe().hd(a);a.Wg(Uga(b,c));a.Xg(Vga);a.Vg(Xga);a.ce("volumeResult");a.ce("maResult");return a},z2=function(a){o_.call(this,a);this.b=$.tn(a[2],20,!1);this.g=lY(a[3],"sma");p_(this,"volumeSeries",a[4],"stick");p_(this,"maSeries",a[5]);q_(this)},Zga=function(a){a=$.tn(a,10,!1);return{Fk:u_(a),Ue:u_(a),Bf:u_(a),Qb:a,dispose:function(){this.Fk.clear();this.Ue.clear();this.Bf.clear()}}},$ga=function(a){a.Fk.clear();a.Ue.clear();a.Bf.clear();a.fd=window.NaN},aha=function(a,
b,c,d){if((0,window.isNaN)(b)||(0,window.isNaN)(c)||(0,window.isNaN)(d))return window.NaN;a.Fk.enqueue(b);a.Ue.enqueue(c);a.Bf.enqueue(d);if(a.Fk.Ng()<a.Qb)return window.NaN;c=Number.MAX_VALUE;b=-Number.MIN_VALUE;for(d=0;d<a.Qb;d++){var e=a.Ue.get(d),f=a.Bf.get(d);b<e&&(b=e);c>f&&(c=f)}b=-100*(b-a.Fk.get(-1))/(b-c);return a.fd=b},bha=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=aha(b,c,d,e);a.set("result",c)},cha=function(a,b){var c=a.xe().hd(a);c.Wg(Zga(b));
c.Xg($ga);c.Vg(bha);c.ce("result");return c},A2=function(a){o_.call(this,a);this.b=$.tn(a[2],10,!1);p_(this,"series",a[3]);q_(this)},dha=function(a){function b(a){return function(b){for(var c=[this],d=0;d<arguments.length;d++)c[d+1]=arguments[d];c=new B2[a](c);this.nC.push(c);return c}}a=a.prototype;for(var c in B2){var d=$.el(c);a[d]=b(c)}},E2=function(a){$.X.call(this);this.Ia("chart");this.Ba=a;this.vf=this.Ha=this.nb=null;this.Na=[];this.nC=[];this.tc=null;this.Lf=[];this.Gt=[];this.bc=null;this.Sf=
[];this.Uf=[];this.Zf=[];this.vg=[];this.wg=[];this.Ig=[];this.Jg=[];this.ll=this.Gf=this.Ag=null;this.Em={};this.qG=!1;this.cj=void 0;this.Br=(0,$.pa)(function(){this.cj=void 0;if((0,window.isNaN)(this.iK))this.Ba.qV();else{var a=this.Ba,c=this.iK,d=this.WQ,e=this.nba,f=this.oba;a.N=c;a.Ea=d;a.la=e;a.va=f;a.rb=this;eha(a,c,d,e,f,this)}},this);this.Dha=(0,$.pa)(function(){this.S2=void 0;var a=this.GN.anchor,c=this.GN.Kn,d=this.GN.Y$;this.GN=null;var e=this.Ba,f=e.Wa();d=Math.min(d,1.9);$.K(f,C2)?
(f=a.lastIndex-a.mi,c*=f,f=f*(1-d)/2,d=e.Yh(a.mi-c-f),c=e.Yh(a.lastIndex-c+f)):(f=a.yv-a.Ar,c*=f,f=f*(1-d)/2,d=a.Ar-c-f,c=a.yv-c+f);d==e.b.b.ph&&c==e.b.b.li||D2(e,d,c,a,void 0)},this);this.Zv=null;this.np("line");$.R(this.xa,[["pointWidth",128,1,0,this.yx],["maxPointWidth",128,1,0,this.yx],["minPointLength",128,1,0,this.cA],["baseline",128,1,0,this.Ufa]])},G2=function(a){a.iz();var b;if(a.J(128))for(b=0;b<a.Na.length;b++){var c=a.Na[b];c&&(c.P=SY(c.na))}if(a.J(133124)){c=a.sb();(b=$.hq(a,"title"))&&
b.enabled()&&(b.fa(c),c=b.nd());(b=$.hq(a,"background"))&&b.fa(c);var d;a.J(2048)?d=(0,window.isNaN)(a.SK)?kZ(a.Ba.b):a.SK:d=window.NaN;var e=a.Af();"outside"==e.i("positionMode")&&(F2(a,c,d),a.ua(64,!0),c=a.Af().nd());a.bc&&a.bc.enabled()&&($.U(a.bc),a.bc.fa(c),a.bc.da(!1),c=a.bc.nd(),a.u(512));var f=0,h=0,k=!e.i("enabled"),l="left"==e.i("position"),m="right"==e.i("position");for(b=0;b<a.Lf.length;b++){var n=a.Lf[b];if(n){$.U(n);var q=n.width();"left"==n.i("orientation")?k||!l?(n.fa(c.left-q-f,c.top,
0,c.height),f+=q):(n.fa(c),c=n.nd()):"right"==n.i("orientation")&&(k||!m?(h+=q,n.fa(c.left,c.top,c.width+h,c.height)):(n.fa(c),c=n.nd()));n.da(!1)}}0>c.width&&(c.width=1);0>c.height&&(c.height=1);a.bc&&a.bc.enabled()&&($.U(a.bc),a.bc.fa(c.left,c.top,c.width,c.height+a.bc.height()),a.bc.da(!1),c=a.bc.nd());"inside"==e.i("positionMode")&&(F2(a,c,d),a.ua(64,!0));a.Oh=c;a.Ag.nf(a.Oh);a.Mg().fa(c);a.xx(!0,!0);a.I(2052)}},F2=function(a,b,c,d,e){var f=a.Af();$.U(f);f.O(a.Va);b&&f.fa(b);b=e?"":a.DZ(f.i("titleFormat"),
c,d);null===b||$.zu(f.title(),b);e?($.tv(f),f.Hz(null)):f.Hz()||f.Hz(a);f.u(1040);f.X();f.da(!1)},H2=function(a,b,c,d,e,f){var h,k,l,m=[];for(h=0;h<b.length;h++)if(l=b[h]){var n=l.F();if(k=l.scale()){var q=$.oa(k);e[q]?n.scale=(0,$.xa)(d,e[q]):(e[q]=k.F(),d.push(e[q]),n.scale=d.length-1)}if(q=l.axis())k=$.oa(q),k=(0,$.xa)(f,k),0>k?(k=q.scale(),"layout"in n||(l=!1,$.K(q,$.gx)&&(q=q.i("orientation"),l="left"==q||"right"==q),n.layout=l?"horizontal":"vertical"),"scale"in n||(q=$.oa(k),e[q]?n.scale=(0,$.xa)(d,
e[q]):(e[q]=k.F(),d.push(e[q]),n.scale=d.length-1))):n.axis=k;m.push(n)}m.length&&(c[a]=m)},J2=function(a,b){$.Bf.call(this,b.ea());this.b=a;this.cj=void 0;this.Br=(0,$.pa)(function(){this.cj=void 0;var a=this.b.Ba,b=this.o,e=I2(a,this.va,b);e&&D2(a,e[0],e[1],b,void 0)},this);$.Cf(this);this.wa("start",this.N8,!1,this);this.wa("beforedrag",this.s$,!1,this);this.wa("end",this.M8,!1,this)},K2=function(a,b,c){this.b=this.g=this.o=this.ga=null;UZ.call(this,a,a,b,c)},L2=function(){},M2=function(){},O2=
function(a){$.Wp.call(this);this.Lo=1E3;this.N=6;this.b=a;this.Hv=this.$r=this.Jo=this.hn=this.U=this.g=this.ba=this.ga=window.NaN;this.tm={};this.Qc=!1;this.o=this.P=null;this.$c=[];this.D=this.G=null;this.va=N2(this,null);this.la=N2(this,null);this.Pa(fha)},N2=function(a,b){var c=a.b.bn().Ln();c={unitType:c.unit,unitCount:c.count,intervalsCount:0};"object"==$.ka(b)&&(null!=b.unitType&&(c.unitType=$.Gj(b.unitType)),0<b.unitCount&&(c.unitCount=+b.unitCount),b.intervalsCount&&(c.intervalsCount=Math.max(0,
b.intervalsCount)));return c},gha=function(a,b){return!!(a.G&&b<a.G.max||a.D&&b>a.D.min)},eZ=function(a,b,c,d,e,f){b=$.Ya(b,a.ga,a.ba);c=$.Ya(c,a.ga,a.ba);var h=a.b.qf(b),k=a.b.qf(c);(0,window.isNaN)(h)||(0,window.isNaN)(k)?(a.hn=window.NaN,a.Jo=window.NaN):(a.hn=b,a.Jo=c);a.$r=h;a.Hv=k;a.$g=d;a.count=e;a.Qc=!1;a.tm=f;a.ua(512)},iha=function(a){var b=[];if($.B(a)){for(var c=0;c<a.length;c++){var d=a[c];if($.D(d)){var e=hha(d.minor);d=hha(d.major);e&&d&&b.push({te:$.mo(e[0],e[1]),TG:e[0],SG:e[1],CG:d[0],
BG:d[1]})}}b.sort(function(a,b){return a.te-b.te})}return b},hha=function(a){var b=null;if($.z(a)){b=$.Gj(a,null);var c=1}else $.D(a)&&(b=$.Gj(a.unit,null),c=$.tn(a.count));return b?[b,c]:null},P2=function(a){this.oa=a;this.N=!0},Q2=function(a,b,c){a=a.oa;a=a.b.Yh(Math.ceil(a.b.qf(b.getTime())));var d=b.getTime();b.add(c);b.getTime()<=a&&(d=$.In(a,c,d),b.setTime(d),b.add(c));return d},C2=function(a){O2.call(this,a)},R2=function(a){$.Lz.call(this);this.Ba=a;this.Na=[];this.nC=[];this.Vc=this.Aa=this.hA=
this.jA=this.bc=this.tc=null;this.np("line")},S2=function(a){for(var b=0;b<a.Na.length;b++){var c=a.Na[b];c&&c.u(1024)}a.bc&&a.bc.u(16);a.u(1536)},jha=function(){SZ.call(this)},kha=function(a,b,c,d){for(var e=(new qY(c.unitType,c.unitCount)).ik(),f=[],h=d?1:-1,k=1;k<=c.intervalsCount;k++){var l=[b+k*h*e];d?f.push(l):$.Ca(f,l,0)}a.kr(f);return f},T2=function(a){$.Wp.call(this);this.Ia("stock.eventMarkers");this.Ba=a;this.ca=new $.Ew(this,d_,$.Wk,e_);this.ca.pa("connectorAfterInitCallback",pY);this.ca.Ia("defaultFontSettings",
"stock.eventMarkers.normal");this.ya=new $.Ew(this,f_,$.Wk,e_);$.V(this,"hovered",this.ya);this.Da=new $.Ew(this,f_,$.Wk,e_);$.V(this,"selected",this.Da);$.R(this.xa,g_);a.wa("eventmarkermouseover",this.kX,!1,this);a.wa("eventmarkermousemove",this.kX,!1,this);a.wa("eventmarkermouseout",this.S8,!1,this);a.wa("eventmarkerclick",this.R8,!1,this)},U2=function(a,b,c,d,e,f){return{type:c?"eventmarkersselect":"eventmarkershover",status:(0,$.Va)(d,function(a){return a.group.Bq(a.index)}),eventMarker:e.Bq(f),
actualTarget:e,target:a,originalEvent:b}},V2=function(a){$.Ov.call(this);this.Ia("stock");this.f=[];this.g=null;this.b=new YY;$.L(this.b,this.$$,this);this.ba=!1;this.cb=null;this.ga=this.Ja=!1;this.D=this.va=this.la=this.Ea=this.N=window.NaN;this.ll=this.Gf=null;this.o=$.Vj.anychart.annotations;this.Za={};this.ym=null;this.Sb=(0,$.pa)(this.iaa,this);this.mc=(0,$.pa)(this.jaa,this);this.eb=-1;var b=this.Ds=!!a;a={};var c=$.nE|4194304;c|=b&&1048576;b=b?2:1;a.area={zb:1,Db:1,Ib:[$.LE,$.dF,$.ZE,$.TE,
$.KE,$.eF,$.$E,$.SE,$.NE,$.fF,$.aF,$.gF],Hb:null,Bb:null,vb:c,Cb:"value",wb:"zero"};a.candlestick={zb:5,Db:b,Ib:[$.XE,$.aF,$.bF,$.fF],Hb:null,Bb:null,vb:c,Cb:"high",wb:"low"};a.column={zb:6,Db:b,Ib:[$.nF,$.NE,$.VE,$.gF,$.XE,$.aF,$.bF,$.fF],Hb:null,Bb:null,vb:c,Cb:"value",wb:"zero"};a["jump-line"]={zb:19,Db:2,Ib:[$.LE,$.cF,$.YE,$.ME],Hb:null,Bb:null,vb:c,Cb:"value",wb:"value"};a.stick={zb:20,Db:2,Ib:[$.LE,$.cF,$.YE,$.ME],Hb:null,Bb:null,vb:c,Cb:"value",wb:"zero"};a.line={zb:8,Db:1,Ib:[$.LE,$.dF,$.ZE,
$.TE],Hb:null,Bb:null,vb:c,Cb:"value",wb:"value"};a.marker={zb:9,Db:b,Ib:[$.nF,$.NE,$.VE,$.gF,$.XE,$.aF,$.bF,$.fF],Hb:null,Bb:null,vb:c,Cb:"value",wb:"value"};a.ohlc={zb:10,Db:b,Ib:[$.YE,$.cF],Hb:null,Bb:null,vb:c,Cb:"high",wb:"low"};a["range-area"]={zb:11,Db:1,Ib:[$.KE,$.mF,$.iF,$.NE,$.hF,$.lF,$.PE,$.OE],Hb:null,Bb:null,vb:c,Cb:"high",wb:"low"};a["range-column"]={zb:12,Db:b,Ib:[$.nF,$.NE,$.jF,$.kF,$.PE,$.OE],Hb:null,Bb:null,vb:c,Cb:"high",wb:"low"};a["range-spline-area"]={zb:13,Db:1,Ib:[$.KE,$.iF,
$.mF,$.NE,$.hF,$.lF,$.PE,$.OE],Hb:null,Bb:null,vb:c,Cb:"high",wb:"low"};a["range-step-area"]={zb:14,Db:1,Ib:[$.KE,$.iF,$.mF,$.NE],Hb:null,Bb:null,vb:c,Cb:"high",wb:"low"};a.spline={zb:15,Db:1,Ib:[$.LE,$.dF,$.ZE,$.TE],Hb:null,Bb:null,vb:c,Cb:"value",wb:"value"};a["spline-area"]={zb:16,Db:1,Ib:[$.LE,$.dF,$.ZE,$.TE,$.KE,$.eF,$.$E,$.SE,$.NE,$.fF,$.aF,$.gF],Hb:null,Bb:null,vb:c,Cb:"value",wb:"zero"};a["step-area"]={zb:17,Db:1,Ib:[$.LE,$.dF,$.ZE,$.TE,$.KE,$.eF,$.$E,$.SE,$.NE,$.fF,$.aF,$.gF],Hb:null,Bb:null,
vb:c,Cb:"value",wb:"zero"};a["step-line"]={zb:18,Db:1,Ib:[$.LE,$.dF,$.ZE,$.TE],Hb:null,Bb:null,vb:c,Cb:"value",wb:"value"};a.hilo={zb:31,Db:2,Ib:[$.LE,$.iF,$.mF],Hb:null,Bb:null,vb:c,Cb:"high",wb:"low"};this.Bi=a;this.G=null;$.R(this.xa,[["zoomMarqueeFill",0,0],["zoomMarqueeStroke",0,0]]);this.I(65536)},lha=function(a,b,c,d){var e=$.N(b);(0,window.isNaN)(e)?e=0:(e=b,b=c);c=a.f[e];if(!c){c=new E2(a);c.Ia("stock.defaultPlotSettings",a.yY());c.Mg().parent(a.Mg());c.eg(!0);c.qb(a);a.f[e]=c;$.L(c,a.vfa,
a);if(e>a.eb){var f=a.f[a.eb];f&&$.p(!1)&&(f.qG=!1);$.p(!0)&&(c.qG=!0);a.eb=e}a.u(4100,9)}return $.p(b)?(c.ja(!!d,b),a):c},W2=function(a,b,c){$.U(a);var d=a.Wa(),e=a.aB().Wa();aZ(a.b)&&(bZ(a.b,d),bZ(a.b,e));a.b.select(b,c,e)&&(fZ(a.b,d),a.xx());a.da(!0)},X2=function(a,b,c,d,e){if($.p(d))return a.dispatchEvent({type:b,source:c,firstSelected:d,lastSelected:e,firstKey:a.b.o,lastKey:a.b.D});d=a.bn();return a.dispatchEvent({type:b,source:c,firstSelected:a.b.b.ph,lastSelected:a.b.b.li,firstVisible:jZ(a.b),
lastVisible:kZ(a.b),firstKey:a.b.o,lastKey:a.b.D,dataIntervalUnit:d.Ln().unit,dataIntervalUnitCount:d.Ln().count,dataIsGrouped:d.rC()})},mha=function(a,b,c){var d=b.bb(),e=$.oa(d),f=b.wc(),h=VY(b.na,"value"),k=c[e];if(!k)for(k=c[e]=[],e=f.Eb(),c=0;c<e+2;c++)k.push({Uv:0,Qo:0,Nv:0,Tv:0,No:0,Mv:0,UC:!1,IC:!1,cs:!1});var l=(e="percent"==d.Dm())?a.F0:a.qha,m=k[c=0],n=OY(b.na);if(n)if(n.j("stackedMissing",m.cs),m.cs=n.j("missing"))var q=window.NaN;else{var r=Number(n.xq(h));l.call(a,d,n,m,r,null,window.NaN);
q=r}else q=window.NaN;for(f.reset();f.advance();){var t=m;m=k[++c];f.j("stackedMissing",m.cs);(m.cs=f.j("missing"))?(t.IC=!0,q=window.NaN):(r=Number(f.xq(h)),l.call(a,d,f,m,r,t,q),q=r)}if(n=PY(b.na))m=k[++c],n.j("stackedMissing",m.cs),(m.cs=n.j("missing"))||(r=Number(n.xq(h)),l.call(a,d,n,m,r,t,q));return e},Y2=function(a,b,c){a.j("missing")?(a.j("stackedPositiveZero",Number(a.j("stackedPositiveZero"))/c.Qo*100||0),a.j("stackedNegativeZero",Number(a.j("stackedNegativeZero"))/c.No*100||0)):(0<=Number(a.j("stackedValue"))?
(c=c.Qo,b.Oc(100)):(c=-c.No,b.Oc(-100)),a.j("stackedZero",Number(a.j("stackedZero"))/c*100||0),a.j("stackedValue",Number(a.j("stackedValue"))/c*100||0))},nha=function(a,b,c){var d=$.oa(b),e=a.aa();c=c[d];b.Oc(0);var f=OY(a.na);f&&(d=c[0],Y2(f,b,d));var h=1;for(e.reset();e.advance();)d=c[h++],Y2(e,b,d);if(f=PY(a.na))d=c[h],Y2(f,b,d)},oha=function(a,b,c,d){var e=0,f=[],h=[],k=[],l=0,m=!1,n=c-b;for(c=0;c<a.length;c++){var q=a[c];$.U(q);var r=$.M(q.minHeight(),d);var t=$.M(q.minHeight(),d);var u=$.M(q.height(),
d);(0,window.isNaN)(u)?(l++,(0,window.isNaN)(r)||(h[c]=r,m=!0),(0,window.isNaN)(t)||(k[c]=t,m=!0)):((0,window.isNaN)(r)||(u=Math.max(u,r)),(0,window.isNaN)(t)||(u=Math.min(u,t)),e+=u,f[c]=u)}if(m&&0<l){var v=[];q=l*l;do for(m=!1,d=Math.max(3,(n-e)/l),c=0;c<a.length;c++)if(!(c in f))if(c in v){if(v[c]==h[c]&&h[c]<d){e-=h[c];l++;delete v[c];m=!0;break}if(v[c]==k[c]&&k[c]>d){e-=k[c];l++;delete v[c];m=!0;break}}else{if(c in h&&h[c]>d){e+=v[c]=h[c];l--;m=!0;break}if(c in k&&k[c]<d){e+=v[c]=k[c];l--;m=
!0;break}}while(m&&0<l&&q--)}d=Math.max(3,(n-e)/l);for(c=0;c<a.length;c++)q=a[c],c in f?u=f[c]:v&&c in v?u=v[c]:u=d,u=Math.round(u),e=q,l=e.hB!=b,e.hB=b,l&&e.ua(2),q.hD(u),q.da(!0),b+=u},pha=function(a,b){for(var c=!1,d=0;d<a.f.length;d++){var e=a.f[d];if(e&&!e.Ed){e=e.Ne();for(var f=0;f<e.length;f++)if(e[f].na==b){c=!0;break}}}if(!c&&(c=a.b,d=$.oa(b).toFixed(0),d in c.ga)){b.g=null;delete c.ga[d];delete c.la[d];delete c.Ma[d];e={};for(d in c.ga){f=c.ga[d].Aq().xe();var h=$.oa(f).toFixed(0);h in e||
(e[h]=f)}for(d in c.U)if(!(d in e)){$.Xp(c.U[d],c.j2,c);break}c.U=e;c.f.g=!0;for(var k in c.P)c.P[k].g=!0;c.u(16384,16)}},Z2=function(a){a.ga=!0;qha(a)},$2=function(a){a.ga=!1;rha(a)},rha=function(a){(0,window.isNaN)(a.N)||eha(a,a.N,a.Ea,a.la,a.va,a.rb)},eha=function(a,b,c,d,e,f){if(!(a.ga||0>b||1<b)){var h=a.Wa().Kc(b),k=Lga(a.b.g,h);if(!(0,window.isNaN)(k)){var l;(b=f&&f.enabled()?f.TC(k):null)&&(l=sha(b,c));for(c=0;c<a.f.length;c++)a.f[c]&&(b=a.f[c],b.Rn(k,h,f,e,b==f?l:void 0));a.Ja=!0;c=a.bn();
f={hoveredDate:{value:k,type:"date-time"},rawHoveredDate:{value:h,type:"date-time"},dataIntervalUnit:{value:c.Ln().unit,type:"string"},dataIntervalUnitCount:{value:c.Ln().count,type:"number"},isGrouped:{value:c.rC()}};b=a.Ya();if(gha(a.cb,h))b.Wc();else if("union"==b.i("displayMode")&&"point"!=b.i("positionMode")){l=[];a=(0,$.Va)(a.f,function(a){return{plot:a,infoBySeries:a&&a.enabled()?a.TC(k):null}});for(c=0;c<a.length;c++)if(a[c]&&(h=a[c].infoBySeries))for(var m=0;m<h.length;m++){var n=h[m].series;
n&&l.push({series:n})}$.hv(b,l,d,e,null,!1,f)}else"single"==b.i("displayMode")&&(l&&.03>l.distance?(a=l.series,$.hv(b,[{series:a}],d,e,a,!1,f)):b.Wc())}}},sha=function(a,b){for(var c=null,d=-1,e=window.Infinity,f,h=0;h<a.length;h++){var k=a[h],l=k.series;(k=k.point)&&l&&(l=l.bb(),k=$.Pn(k.get("value"),k.get("close"),k.get("high")),k=$.N(k),(0,window.isNaN)(k)||(k=l.transform(k),l=l.Kf()?b:1-b,l=Math.abs(k-l),e>l&&(e=l,f=k,d=h)))}0<=d&&(c=a[d],c.distance=e,c.pointYRatio=f);return c},qha=function(a){if(a.Ja){a.Ja=
!1;for(var b=0;b<a.f.length;b++){var c=a.f[b];c&&c.qV()}a.Ya().Wc()}},a3=function(a){switch(a){case "thumb-drag":return"scroller-thumb-drag";case "selected-range-drag":return"scroller-drag";default:return"scroller-click"}},D2=function(a,b,c,d,e){X2(a,"selectedrangebeforechange",e||"plot-drag",b,c)&&(W2(a,b,c),d.mi=a.qf(d.Ar),d.lastIndex=a.qf(d.yv),d.$r=a.qf(d.hn),d.Hv=a.qf(d.Jo),X2(a,"selectedrangechange",e||"plot-drag"))},I2=function(a,b,c){var d=a.Wa();$.K(d,C2)?(d=c.lastIndex-c.mi,d*=b,b=a.Yh(c.mi-
d),c=a.Yh(c.lastIndex-d)):(d=c.yv-c.Ar,d*=b,b=c.Ar-d,c=c.yv-d);b>c&&(d=b,b=c,c=d);return b!=a.b.b.ph||c!=a.b.b.li?[b,c]:null},tha=function(a,b,c){a=a.Wa();if($.K(a,C2)){var d=c.lastIndex-c.mi;a=(c.$r-c.mi)/d;c=(c.Hv-c.mi)/d}else d=c.yv-c.Ar,a=(c.hn-c.Ar)/d,c=(c.Jo-c.Ar)/d;return-$.Ya(-b,a,c-1)},uha={S4:"no-overlap",Jha:"allow-minor-overlap",Iha:"allow-major-overlap",U2:"allow-overlap"},Fga={KA:"area",JV:"candlestick",JD:"column",Bs:"line",fu:"marker",XV:"ohlc",aW:"range-area",XN:"range-column",cW:"range-spline-area",
dW:"range-step-area",gW:"spline",hW:"spline-area",nW:"step-area",oW:"step-line",A4:"jump-line",W5:"stick",y4:"hilo"},Gga={ila:"sma",kja:"ema"},vha={oja:"exact-or-prev",mja:"exact",nja:"exact-or-next",NEAREST:"nearest"},b3={name:"fill",Lb:"path",Pb:"fill",Rb:null,Vb:!1,Ab:!1,zIndex:0},c3={name:"stroke",Lb:"path",Pb:null,Rb:"stroke",Vb:!1,Ab:!1,zIndex:2E-6},d3={name:"hatchFill",Lb:"path",Pb:"hatchFill",Rb:null,Vb:!1,Ab:!0,zIndex:1E-6},wha={name:"negativeHatchFill",Lb:"path",Pb:"negativeHatchFill",Rb:null,
Vb:!1,Ab:!0,zIndex:1E-6},xha={name:"negative",Lb:"path",Pb:"negativeFill",Rb:"negativeStroke",Vb:!1,Ab:!1,zIndex:0},e3={name:"rising",Lb:"path",Pb:"risingFill",Rb:"risingStroke",Vb:!1,Ab:!1,zIndex:0},f3={name:"risingHatchFill",Lb:"path",Pb:"risingHatchFill",Rb:null,Vb:!1,Ab:!0,zIndex:1E-6},g3={name:"falling",Lb:"path",Pb:"fallingFill",Rb:"fallingStroke",Vb:!1,Ab:!1,zIndex:0},h3={name:"fallingHatchFill",Lb:"path",Pb:"fallingHatchFill",Rb:null,Vb:!1,Ab:!0,zIndex:1E-6},yha={name:"highFill",Lb:"path",
Pb:"highFill",Rb:null,Vb:!1,Ab:!1,zIndex:0},zha={name:"lowFill",Lb:"path",Pb:"lowFill",Rb:null,Vb:!1,Ab:!1,zIndex:0},Aha={name:"highFill",Lb:"path",Pb:"highFill",Rb:null,Vb:!1,Ab:!1,zIndex:0},Bha={name:"lowFill",Lb:"path",Pb:"lowFill",Rb:null,Vb:!1,Wj:!0,Ab:!1,zIndex:0},i3={name:"highHatchFill",Lb:"path",Pb:"highHatchFill",Rb:null,Vb:!1,Ab:!1,zIndex:0},j3={name:"lowHatchFill",Lb:"path",Pb:"lowFill",Rb:null,Vb:!1,Ab:!1,zIndex:0},k3={name:"highHatchFill",Lb:"path",Pb:"highHatchFill",Rb:null,Vb:!1,Ab:!1,
zIndex:0},l3={name:"lowHatchFill",Lb:"path",Pb:"lowHatchFill",Rb:null,Vb:!1,Wj:!0,Ab:!1,zIndex:0},m3={name:"highStroke",Lb:"path",Pb:null,Rb:"highStroke",Vb:!1,Wj:!0,Ab:!1,zIndex:2E-6},n3={name:"lowStroke",Lb:"path",Pb:null,Rb:"lowStroke",Vb:!1,Ab:!1,zIndex:2E-6},o3={name:"path",Lb:"path",Pb:"fill",Rb:"stroke",Vb:!1,Ab:!1,zIndex:0},p3={name:"fill",Lb:"path",Pb:"fill",Rb:null,Vb:!1,Wj:!0,Ab:!1,zIndex:0},q3={name:"stroke",Lb:"path",Pb:null,Rb:"stroke",Vb:!1,Wj:!0,Ab:!1,zIndex:2E-6},r3={name:"hatchFill",
Lb:"path",Pb:"hatchFill",Rb:null,Vb:!1,Wj:!0,Ab:!0,zIndex:1E-6},Cha={name:"negativeHatchFill",Lb:"path",Pb:"negativeHatchFill",Rb:null,Vb:!1,Wj:!0,Ab:!0,zIndex:1E-6},Dha={name:"negative",Lb:"path",Pb:"negativeFill",Rb:"negativeStroke",Vb:!1,Wj:!0,Ab:!1,zIndex:0},s3={name:"rising",Lb:"path",Pb:"risingFill",Rb:"risingStroke",Vb:!1,Wj:!0,Ab:!1,zIndex:0},t3={name:"rising",Lb:"path",Pb:null,Rb:"risingStroke",Vb:!1,Wj:!0,Ab:!1,zIndex:2E-6},u3={name:"negative",Lb:"path",Pb:null,Rb:"negativeStroke",Vb:!1,
Wj:!0,Ab:!1,zIndex:2E-6},v3={name:"risingHatchFill",Lb:"path",Pb:"risingHatchFill",Rb:null,Vb:!1,Wj:!0,Ab:!0,zIndex:1E-6},w3={name:"falling",Lb:"path",Pb:"fallingFill",Rb:"fallingStroke",Vb:!1,Wj:!0,Ab:!1,zIndex:0},x3={name:"falling",Lb:"path",Pb:null,Rb:"fallingStroke",Vb:!1,Wj:!0,Ab:!1,zIndex:2E-6},y3={name:"fallingHatchFill",Lb:"path",Pb:"fallingHatchFill",Rb:null,Vb:!1,Wj:!0,Ab:!0,zIndex:1E-6},z3={name:"highStroke",Lb:"path",Pb:null,Rb:"highStroke",Vb:!1,Wj:!0,Ab:!1,zIndex:2E-6},A3={name:"lowStroke",
Lb:"path",Pb:null,Rb:"lowStroke",Vb:!1,Wj:!0,Ab:!1,zIndex:2E-6},B3={name:"path",Lb:"path",Pb:"fill",Rb:"stroke",Vb:!1,Wj:!0,Ab:!1,zIndex:0},Pga={name:"overlay",Lb:"path",Pb:!0,Rb:!0,Vb:!1,Ab:!1,zIndex:2E-6};$.g=qY.prototype;$.g.P6=function(a){this.f.setTime(Date.UTC($.En(this.f.getUTCFullYear(),this.b,a?a.getUTCFullYear():2E3)-this.b,0))};$.g.M6=function(a){var b=this.b;this.b*=6;this.pO(a);this.b=b};$.g.K6=function(a){var b=this.b;this.b*=3;this.pO(a);this.b=b};$.g.pO=function(a){var b=$.En(this.f.getUTCMonth()+12*this.f.getUTCFullYear(),this.b,a?a.getUTCMonth()+12*a.getUTCFullYear():24E3)-this.b;a=Math.floor(b/12);b%=12;0>b&&(b+=12);this.f.setTime(Date.UTC(a,b))};
$.g.N6=function(a){a=$.En(sY(this.f),this.b,a?sY(a):72E3)-this.b;var b=Math.floor(a/36);a%=36;var c=Math.floor(a/3);0>c&&(c+=12);a%=3;0>a&&(a+=3);this.f.setTime(Date.UTC(b,c,1+10*a))};$.g.O6=function(a){rY(this,6048E5*this.b,a||new Date(Date.UTC(2E3,0,2)))};$.g.G6=function(a){rY(this,864E5*this.b,a)};$.g.H6=function(a){rY(this,36E5*this.b,a)};$.g.J6=function(a){rY(this,6E4*this.b,a)};$.g.L6=function(a){rY(this,1E3*this.b,a)};$.g.I6=function(a){rY(this,this.b,a)};
$.g.uea=function(){this.f.setUTCFullYear(this.f.getUTCFullYear()+this.b);return this.f.getTime()};$.g.rea=function(){var a=this.f.getUTCMonth()+6*this.b,b=this.f.getUTCFullYear()+Math.floor(a/12);a%=12;0>a&&(a+=12);this.f.setUTCFullYear(b);this.f.setUTCMonth(a);return this.f.getTime()};$.g.pea=function(){var a=this.f.getUTCMonth()+3*this.b,b=this.f.getUTCFullYear()+Math.floor(a/12);a%=12;0>a&&(a+=12);this.f.setUTCFullYear(b);this.f.setUTCMonth(a);return this.f.getTime()};
$.g.oea=function(){var a=this.f.getUTCMonth()+this.b,b=this.f.getUTCFullYear()+Math.floor(a/12);a%=12;0>a&&(a+=12);this.f.setUTCFullYear(b);this.f.setUTCMonth(a);return this.f.getTime()};$.g.sea=function(){var a=this.f.getUTCDate();var b=3*(12*this.f.getUTCFullYear()+this.f.getUTCMonth())+(10>=a?0:20>=a?1:2)+this.b;a=Math.floor(b/36);b%=36;var c=Math.floor(b/3);0>c&&(c+=12);b%=3;0>b&&(b+=3);this.f.setTime(Date.UTC(a,c,1+10*b));return this.f.getTime()};
$.g.tea=function(){var a=this.f.getTime()+6048E5*this.b;this.f.setTime(a);return a};$.g.iea=function(){var a=this.f.getTime()+864E5*this.b;this.f.setTime(a);return a};$.g.kea=function(){var a=this.f.getTime()+36E5*this.b;this.f.setTime(a);return a};$.g.nea=function(){var a=this.f.getTime()+6E4*this.b;this.f.setTime(a);return a};$.g.qea=function(){var a=this.f.getTime()+1E3*this.b;this.f.setTime(a);return a};$.g.mea=function(){var a=this.f.getTime()+this.b;this.f.setTime(a);return a};$.g.ik=function(){return this.o};$.H(tY,$.Wp);$.g=tY.prototype;$.g.ra=2;$.g.enabled=function(a){return $.p(a)?(a=!!a,this.o!=a&&(this.o=a,this.ua(2)),this):this.o};$.g.eZ=function(a){return $.p(a)?(a=!!a,this.D!=a&&(this.D=a,this.ua(2)),this):this.D};
$.g.SO=function(a){if($.p(a)){this.b.length=0;if($.B(a)){for(var b={},c=0;c<a.length;c++){var d=a[c];if($.z(d)){var e=d;var f=1}else $.D(d)&&(e=String(d.unit),f=$.tn(d.count,1,!1));if(e){d=new qY(e,f);var h=d.D+d.b.toFixed(0);h in b||(b[h]=!0,this.b.push(d))}}$.Oa(this.b,Iga)}this.ua(2);return this}return vY(this)};$.g.X_=function(a){return $.p(a)?(a=Math.max(2,$.N(a)),(0,window.isNaN)(a)||this.f==a||(this.f=a,this.g=window.NaN,this.ua(2)),this):this.f};
$.g.d0=function(a){return $.p(a)?(a=Math.max(.1,$.N(a)),(0,window.isNaN)(a)||this.g==a||(this.g=a,this.f=window.NaN,this.ua(2)),this):this.g};$.g.Ln=function(){return this.G};$.g.rC=function(){return this.N};$.g.R=function(){tY.B.R.call(this)};$.g.F=function(){var a=tY.B.F.call(this);a.enabled=this.o;a.forced=this.D;a.levels=vY(this);a.maxVisiblePoints=(0,window.isNaN)(this.f)?null:this.f;a.minPixPerPoint=(0,window.isNaN)(this.g)?null:this.g;return a};
$.g.Ee=function(a){return $.da(a)||null===a?{enabled:!!a}:$.B(a)?{enabled:!0,levels:a}:null};$.g.Fe=function(a,b){var c=this.Ee(b);return c?(this.enabled(c.enabled),"levels"in c&&this.SO(c.levels),!0):!1};$.g.Y=function(a,b){tY.B.Y.call(this,a,b);this.enabled(a.enabled);this.eZ(a.forced);this.SO(a.levels);this.X_(a.maxVisiblePoints);this.d0(a.minPixPerPoint)};var C3=tY.prototype;C3.enabled=C3.enabled;C3.forced=C3.eZ;C3.levels=C3.SO;C3.maxVisiblePoints=C3.X_;C3.minPixPerPoint=C3.d0;
C3.getCurrentDataInterval=C3.Ln;C3.isGrouped=C3.rC;wY.prototype.f=null;var Jga=0;wY.prototype.kk=function(a){var b;$.ea(a)&&0>a?this.f&&(b=this.f[~a]):b=this.values[a];return b};$.g=zY.prototype;$.g.reset=function(){this.g&&this.g.reset();this.b=this.N;this.o=this.g?this.g.g():this.N.key;this.G=!1;this.D=window.NaN;this.P=!0;return this};$.g.advance=function(){return this.ba()};$.g.current=function(){return this.b};$.g.Tt=function(a,b){if($.p(a))if(this.g)for(this.reset();this.advance()&&a!=this.current(););else this.b=a,this.G=!0,$.p(b)&&(this.o=b)};$.g.get=function(a){return this.xq(this.ga?RY(this.Xc,a):QY(this.Xc,a))};
$.g.j=function(a,b){var c=this.ci[this.ka()];c||(c=this.ci[this.ka()]={});return 1<arguments.length?(c[a]=b,this):c[a]};$.g.xq=function(a){var b;this.G&&($.ea(a)&&0>a?this.b.f&&(b=this.b.f[~a]):b=this.b.values[a]);return b};$.g.Fh=function(){return this.D};$.g.ka=function(){return this.va()};$.g.Eb=function(){return this.la};$.g.O8=function(){return this.D};$.g.Eba=function(){return this.o};$.g.zba=function(){return this.g.g()};
$.g.C6=function(){if(this.b){this.o++;if((this.b=this.b.next)&&this.b!=this.U)return this.G=!0,this.D=this.b.key,!0;this.b=null;this.G=!1;this.o=this.D=window.NaN}return!1};$.g.I$=function(){if(this.g.advance())return this.P&&(this.b=this.b.next),(this.P=!(!this.b||this.b.key!=this.g.f||this.b==this.U))?(this.G=!0,this.D=this.b.key):(this.G=!1,this.D=this.g.f),!0;this.b=null;this.D=window.NaN;return this.G=!1};var D3=zY.prototype;D3.reset=D3.reset;D3.advance=D3.advance;D3.get=D3.get;D3.getKey=D3.O8;
D3.getIndex=D3.ka;D3.meta=D3.j;$.g=AY.prototype;$.g.Yh=function(a){var b=this.b.length;if(2<=b&&!(0,window.isNaN)(a)){for(var c=0;c<this.D.length;c++){var d=this.D[(this.o-c-1+2)%2];if(d.index==a)return d.key}c=Math.floor(a);d=Math.ceil(a);0>=d?(c=0,d=c+1):c>=b-1&&(d=b-1,c=d-1);c==d?b=this.b[c].key:(b=this.b[c].key,d=this.b[c+1].key,b=Math.round((d-b)*(a-c)+b));this.D[this.o]={key:b,index:a};this.o=(this.o+1)%2}else 1==b?(b=this.b[0].key,b=Math.round(a+b)):b=window.NaN;return b};
$.g.qf=function(a){var b=this.b.length;if(2<=b&&!(0,window.isNaN)(a)){for(var c=0;c<this.D.length;c++){var d=this.D[(this.o-c-1+2)%2];if(d.key==a)return d.index}c=$.Na(this.b,yY,a);0>c?(c=~c-1,0>c?c=0:c>=b-1&&(c=b-2),b=this.b[c].key,b=(a-b)/(this.b[c+1].key-b)+c):b=c;this.D[this.o]={key:a,index:b};this.o=(this.o+1)%2}else 1==b?(b=this.b[0].key,b=a-b):b=window.NaN;return b};$.g.aa=function(a,b){return CY(this,this.qf(a),this.qf(b))};$.g.Jq=function(){return this.g};
$.g.update=function(){if(this.g){this.o=this.D.length=0;this.G=this.N.length=0;if(this.f.length)if(1==this.f.length)this.b=this.f[0].b;else{var a={key:window.NaN,next:null},b=[],c=this.f[0].b,d=c.length?c[0]:null;c=this.f[1].b;var e=c.length?c[0]:null;c=a;for(var f;d&&e;){var h=d.key<=e.key,k=d.key>=e.key;f={key:h?d.key:e.key,next:null};b.push(f);c=c.next=f;h&&(d=d.next);k&&(e=e.next)}for(d=d||e;d;)f={key:d.key,next:null},b.push(f),c=c.next=f,d=d.next;for(d=2;d<this.f.length;d++){c=this.f[d].b;e=
c.length?c[0]:null;b=b.length?b[0]:null;c=a;for(h=[];b&&e;)k=b.key>=e.key,b.key<=e.key?(f=b,b=b.next):f={key:e.key,next:null},h.push(f),c=c.next=f,k&&(e=e.next);for(c.next=b;b;)h.push(b),b=b.next;for(;e;)f={key:e.key,next:null},h.push(f),c=c.next=f,e=e.next;b=h}this.b=b}else this.b=[];this.g=!1;this.P=!0;for(d=0;d<this.f.length;d++)if(this.f[d].Eb()!=this.b.length){this.P=!1;break}}};BY.prototype.reset=function(){this.b=this.D;this.f=window.NaN;this.o=this.D.key};
BY.prototype.advance=function(){if(this.b){this.o++;if((this.b=this.b.next)&&this.b!=this.N)return this.f=this.b.key,!0;this.b=null;this.o=this.f=window.NaN}return!1};BY.prototype.g=function(){return this.o};BY.prototype.Eb=function(){return this.G};$.g=JY.prototype;$.g.search=function(a,b){return LY(this,TY(this.f,$.Cj(a),$.ij(vha,b,"exact")))};$.g.select=function(a,b,c,d){return MY(this,$.Cj(a),$.Cj(b),$.p(c)?new qY(c,$.N(d)):void 0)};$.g.Q8=function(a,b){var c=$.p(a)?new qY(a,$.N(b)):void 0,d=GY(this.Xc.xe(),c);this.f=d;this.o=!c;this.b=HY(d);IY(this);return this};$.g.aa=function(){return XY(this,!0)};$.g.Aq=function(){return this.Xc};$.g=KY.prototype;$.g.get=function(a){return this.xq(this.o?RY(this.Xc,a):QY(this.Xc,a))};$.g.xq=function(a){return this.Wf.kk(a)};
$.g.ka=function(){return this.he};$.g.Fh=function(){return this.Wf.key};$.g.j=function(a,b){return 1<arguments.length?(this.ci&&(this.ci[a]=b),this):this.ci?this.ci[a]:void 0};$.g.P8=function(){return this.Wf.key};var E3=JY.prototype;E3.search=E3.search;E3.select=E3.select;E3.selectAll=E3.Q8;E3.getIterator=E3.aa;E3=KY.prototype;E3.meta=E3.j;E3.get=E3.get;E3.getKey=E3.P8;E3.getColumn=E3.xq;E3.getIndex=E3.ka;$.H(YY,$.Wp);$.g=YY.prototype;$.g.qa=16384;$.g.ra=16;$.g.select=function(a,b,c){(0,window.isNaN)(a)&&(a=this.b.ph);(0,window.isNaN)(b)&&(b=this.b.li);if((0,window.isNaN)(a)||(0,window.isNaN)(b))return!1;$Y(this);if(a=cZ(this,a,b,this.bn(),this.la,this.g,this.b,!1))this.g=a[0],this.b=a[1],this.Ja=c.transform(this.b.ph),this.Ea=c.transform(this.b.li);return!!a};
$.g.bn=function(a){this.G||(this.G=new tY,this.G.Ia("stock.grouping"),this.G.Y(this.G.ma,!0),$.L(this.G,this.VZ,this));return $.p(a)?(this.G.K(a),this):this.G};$.g.VZ=function(){this.ua(16)};$.g.j2=function(a){if($.W(a,16)){this.f.g=!0;for(var b in this.P)this.P[b].g=!0;for(b in this.la)this.la[b].G=!0;this.u(16384,16)}};$.g.R=function(){$.jd(this.G,this.N);this.N=this.G=null;YY.B.R.call(this)};$.g.Yh=function(a){$Y(this);return this.g.Yh(a)};$.g.qf=function(a){$Y(this);return this.g.qf(a)};
$.g.pK=function(){return this.b.OG};$.H(lZ,$.Bv);var F3={};$.ep(F3,[[0,"scrollOnMouseWheel",$.op]]);$.S(lZ,F3);lZ.prototype.F=function(){var a=lZ.B.F.call(this);$.Bp(this,F3,a);return a};lZ.prototype.Y=function(a,b){lZ.B.Y.call(this,a,b);$.tp(this,F3,a)};$.H(mZ,$.X);var Eha=mZ.prototype,Fha={};$.ep(Fha,[[0,"height",$.mp],[0,"showHelperLabel",$.op],[0,"overlapMode",function(a,b){return $.ij(uha,a,b||"no-overlap")}]]);Eha.QO=Fha;$.S(mZ,mZ.prototype.QO);$.g=mZ.prototype;$.g.qa=$.X.prototype.qa|80;$.g.ra=$.X.prototype.ra;$.g.background=function(a){this.Ha||(this.Ha=new $.Ws,$.V(this,"background",this.Ha),$.L(this.Ha,this.Qf,this));return $.p(a)?(this.Ha.K(a),this):this.Ha};$.g.Qf=function(a){$.W(a,1)&&this.u(64,1)};
$.g.labels=function(a){this.Ca||(this.Ca=new $.kt,$.V(this,"labels",this.Ca),this.Ca.qb(this),$.L(this.Ca,this.Fd,this));return $.p(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Ca.K(a),this):this.Ca};$.g.jb=function(a){this.jc||(this.jc=new $.kt,$.V(this,"minorLabels",this.jc),this.jc.qb(this),$.L(this.jc,this.Fd,this));return $.p(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.jc.K(a),this):this.jc};$.g.Fd=function(a){var b=0,c=0;$.W(a,1)&&(b=16,c=1);$.W(a,8)&&(b|=4,c|=8);this.u(b,c)};
$.g.Pa=function(a){this.gb||(this.gb=new $.ex,this.gb.orientation("top"),this.gb.Fe(!0,!1),this.gb.qb(this),$.V(this,"ticks",this.gb),$.L(this.gb,this.jX,this));return $.p(a)?(this.gb.K(a),this):this.gb};$.g.ob=function(a){this.Jc||(this.Jc=new $.ex,this.Jc.orientation("top"),this.Jc.Fe(!0,!1),this.Jc.qb(this),$.V(this,"minorTicks",this.Jc),$.L(this.Jc,this.jX,this));return $.p(a)?(this.Jc.K(a),this):this.Jc};$.g.jX=function(){this.u(16,1)};
$.g.scale=function(a){return $.p(a)?(this.oa!=a&&(this.oa&&$.Xp(this.oa,this.Nh,this),(this.oa=a)&&$.L(this.oa,this.Nh,this),this.u(16,1)),this):this.oa};$.g.Nh=function(a){$.W(a,512)&&this.u(16,1)};$.g.orientation=function(a){return $.p(a)?this:"bottom"};$.g.sb=function(){var a=this.fa();if(!a)return new $.I(0,0,0,0);this.enabled()&&(a.top=a.top+a.height-this.i("height")+1);return a};$.g.nd=function(){var a=this.fa();if(!a)return new $.I(0,0,0,0);this.enabled()&&(a.height-=this.i("height"));return a};
$.g.Rw=function(a,b){var c=this.oa.rda,d=this.oa.qda,e=this.oa.Wda,f=this.oa.Vda,h=null,k=[],l=null,m=[],n=[],q=[],r,t=[],u=[],v=[],w=[],x=this.gb&&this.gb.enabled()?$.fx(this.gb):null,y=this.Jc&&this.Jc.enabled()?$.fx(this.Jc):null,A=!(!this.Ca||!this.Ca.enabled()),G=!(!this.jc||!this.jc.enabled()),C=1,J=0;for(b.reset();b.advance();){var P=b.current;(r=A&&b.o)&&x?x.call(this.gb,this.oa.hN(P),a,a,0,.5):y&&y.call(this.Jc,this.oa.hN(P),a,a,0,.5);if("allow-overlap"==this.i("overlapMode"))r?(t.push(P),
v.push(C),h||(h=this.dd(P,r,a,c,e,f,0))):G&&(u.push(P),w.push(J),k.push(this.dd(P,r,a,c,e,f,0)));else{var Q=this.dd(P,r,a,c,e,f,r?C:J);if(r){if("allow-major-overlap"==this.i("overlapMode")||!l||!l.Eo(Q)){for(l=n.length;l--;)if(Q.Eo(n[l]))m.pop(),n.pop(),q.pop();else break;t.push(P);v.push(C);u.push.apply(u,m);w.push.apply(w,q);k.push.apply(k,n);l=Q;h||(h=Q)}m.length=n.length=q.length=0}else!G||l&&l.Eo(Q)||"allow-minor-overlap"!=this.i("overlapMode")&&n.length&&n[n.length-1].Eo(Q)||(m.push(P),q.push(J),
n.push(Q))}r?C++:J++}m.length&&(u.push.apply(u,m),w.push.apply(w,q),k.push.apply(k,n));$.wt(this.labels());$.wt(this.jb());P=b.f;if(this.i("showHelperLabel")&&!(0,window.isNaN)(P)&&(Q=this.dd(P,!0,a,c,e,f,0))&&(!h||!Q.Eo(h))){if("allow-overlap"!=this.i("overlapMode")){for(l=0;l<k.length&&Q.Eo(k[l]);l++);l&&($.Ba(k,0,l),$.Ba(u,0,l),$.Ba(w,0,l))}this.Qd(P,!0,a,c,d,e,f,0)}for(l=0;l<t.length;l++)this.Qd(t[l],!0,a,c,d,e,f,v[l]);for(l=0;l<u.length;l++)this.Qd(u[l],!1,a,c,d,e,f,w[l])};
$.g.Qd=function(a,b,c,d,e,f,h,k){b=b?this.labels():this.jb();var l=this.oa.qf(a);"stock-ordinal-date-time"==this.oa.Qa()&&(l=Math.ceil(l));e=this.oa.Yh(l);l=this.oa.Xq(e,l);l=Math.round(c.left+l*c.width);var m=c.top;a=this.Tl(a,e,d,f,h);d={value:{x:l,y:m}};f=b.measure(a,d,void 0,k);(0,window.isNaN)(f.left)||(c=c.left-f.left,0<c&&(d.value.x+=c),k=b.add(a,d,k),$.At(k,[k.La,b.La,k.sd,b.ma]),$.K(this.b,R2)||(c=b.i("position"),c=$.xn(c),k.Dk(0>c?"center-bottom":0<c?"center-top":"center")))};
$.g.dd=function(a,b,c,d,e,f,h){b=b?this.labels():this.jb();if(!b.enabled())return null;var k=this.oa.qf(a);"stock-ordinal-date-time"==this.oa.Qa()&&(k=Math.ceil(k));var l=this.oa.Yh(k);k=this.oa.Xq(l,k);k=Math.round(c.left+k*c.width);var m=c.top;a=this.Tl(a,l,d,e,f);h=b.measure(a,{value:{x:k,y:m}},void 0,h);h.left=Math.max(h.left,c.left);return h};
$.g.Tl=function(a,b,c,d,e){var f=$.hr(a),h=this.b.bn();a={dataIntervalUnit:{value:h.Ln().unit,type:"string"},dataIntervalUnitCount:{value:h.Ln().count,type:"number"},dataIsGrouped:{value:h.rC(),type:"string"},majorIntervalUnit:{value:c,type:"string"},majorIntervalUnitCount:{value:e,type:"number"},minorIntervalUnit:{value:d,type:"string"},minorIntervalUnitCount:{value:e,type:"number"},value:{value:f,type:"string"},tickValue:{value:a,type:"number"},dataValue:{value:b,type:"number"},max:{value:this.oa.oR(),
type:"number"},min:{value:this.oa.pR(),type:"number"},scale:{value:this.oa,type:""}};a=new $.$u(a);a.cm({"%AxisScaleMax":"max","%AxisScaleMin":"min"});return $.Lt(a)};$.g.remove=function(){this.Va&&this.Va.remove()};
$.g.X=function(){if(!this.xc())return this;this.Va||(this.Va=$.Zi(),this.f||this.Va.td(!0));var a=$.hq(this,"background"),b=$.hq(this,"labels"),c=$.hq(this,"minorLabels"),d=$.hq(this,"ticks"),e=$.hq(this,"minorTicks");a&&$.U(a);b&&$.U(b);c&&$.U(c);if(this.J(4)){if(a){var f=this.fa().clone().round();f.top=f.top+f.height-this.i("height");f.height=this.i("height");f.width=Math.ceil($.O(f.$a(),1))-f.left;a.fa(f)}this.u(80);this.I(4)}this.J(64)&&(a&&(a.O(this.Va),a.X()),this.I(64));this.J(16)&&(this.oa&&
(a?f=a.nd():(f=this.fa(),f.top=f.top+f.height-this.i("height"),f.height=this.i("height")),b&&(b.clear(),$.wt(b)),c&&(c.clear(),$.wt(c)),d&&(d.length(f.height),d.O(this.Va),d.X()),e&&(e.length(f.height),e.O(this.Va),e.X()),d=b&&b.enabled(),e=c&&c.enabled(),(d||e)&&this.Rw(f,this.oa.an()),this.Vh||(this.Vh=$.dj()),this.Vh.shape(f),b&&(b.O(this.Va),b.X(),(f=b.Ul())&&f.clip("outside"==b.i("position")?this.Vh:null)),c&&(c.O(this.Va),c.X(),(f=c.Ul())&&f.clip("outside"==c.i("position")?this.Vh:null))),this.I(16));
this.J(8)&&(this.Va.zIndex(this.zIndex()),this.I(8));this.J(2)&&(this.Va.parent(this.O()),this.I(2));a&&a.da(!1);b&&b.da(!1);c&&c.da(!1);return this};$.g.Fb=function(){return!0};$.g.Ax=function(){return!0};$.g.R=function(){$.jd(this.Ca,this.jc,this.gb,this.Jc,this.Ha,this.Va,this.oa);this.oa=this.Va=this.Ha=this.Jc=this.gb=this.jc=this.Ca=null;mZ.B.R.call(this)};
$.g.F=function(){var a=mZ.B.F.call(this);$.Bp(this,this.QO,a);a.labels=this.labels().F();a.minorLabels=this.jb().F();a.ticks=this.Pa().F();a.minorTicks=this.ob().F();a.background=this.background().F();return a};$.g.Y=function(a,b){mZ.B.Y.call(this,a,b);$.tp(this,this.QO,a,b);this.labels().ja(!!b,a.labels);this.jb().ja(!!b,a.minorLabels);this.Pa(a.ticks);this.ob(a.minorTicks);this.background(a.background)};var G3=mZ.prototype;G3.labels=G3.labels;G3.minorLabels=G3.jb;G3.ticks=G3.Pa;G3.minorTicks=G3.ob;
G3.background=G3.background;$.H(nZ,$.X);nZ.prototype.qa=$.X.prototype.qa|208;nZ.prototype.ra=$.X.prototype.ra;var Gha=nZ.prototype,H3={};$.dp(H3,0,"value",$.Fj);$.dp(H3,0,"valueField",$.np);$.dp(H3,1,"stroke",$.xp);$.dp(H3,1,"risingStroke",$.xp);$.dp(H3,1,"fallingStroke",$.xp);Gha.HI=H3;$.S(nZ,nZ.prototype.HI);$.g=nZ.prototype;$.g.pG=function(a){a=a.i("anchor");return"left-top"==a||"left-center"==a||"left-bottom"==a};
$.g.yp=function(a,b,c){if(!b)return null;var d=b.scale(),e=d.Qa();c=d.Kc(c);var f="number";switch(e){case "linear":case "log":var h=c;break;case "ordinal":h=String(c);f="string";break;case "stock-scatter-date-time":case "stock-ordinal-date-time":case "date-time":h=$.hr(c),f="string"}b={series:{value:a,type:""},axis:{value:b,type:""},value:{value:h,type:f},tickValue:{value:c,type:"number"},scale:{value:d,type:""}};a=$.Fz(a,new $.$u,this.f);return $.Lt(a,$.Kc($.Kt(a),b))};
$.g.label=function(a){return $.p(a)?(this.o.K(a),this):this.o};$.g.fba=function(a){return $.p(a)?(this.D.K(a),this):this.D};$.g.aga=function(a){return $.p(a)?(this.G.K(a),this):this.G};$.g.RO=function(){this.u(68,1)};$.g.W=function(a){if($.p(a)){var b=a;$.ea(a)?a=this.N.Zh(a):$.z(a)&&(a=this.N.Oe(a));this.Na!==a&&(this.ba=b,this.Na=a,this.u(134,1));return this}return this.Na};$.g.axis=function(a){if($.p(a)){var b=+a;$.ea(a)&&(a=this.N.fi(a));this.b!==a&&(this.U=b,this.b=a,this.u(4,1));return this}return this.b};
$.g.remove=function(){this.ta.parent(null);this.u(2)};
$.g.X=function(){if(!this.xc())return this;this.ta||(this.ta=$.Zi());var a=this.Na||this.N.Zh(0);if(a&&!a.Ed){var b=this.i("valueField")||a.Le.Zk;var c=!!(a.Le.flags&$.qE);var d=(this.f=UY(a.na,this.i("value"),b))?this.f.get(b):null}this.I(128);if(!d)return this.remove(),this;b=this.line?this.line:this.line=$.aj().zIndex(0).parent(this.ta);var e=this.i("stroke"),f=this.b||this.N.fi(0);d=f.scale().transform(d);var h=this.N.ag();if(c){var k=this.i("risingStroke");var l=this.i("fallingStroke"),m=this.f.get("open");
this.f.get("close")>m?(e=k?k:e,k=this.G):(e=l?l:e,k=this.D)}l=$.Xb(e)||1;this.J(2)&&(m=this.O(),this.ta.parent(m),this.I(2));this.J(8)&&(m=this.zIndex(),this.ta.zIndex(m),this.I(8));if(this.J(4)){m=h.Ra()-d*h.height;m=$.O(m,l);b.clear();b.moveTo(h.left,m).lineTo(h.$a(),m);b.clip(this.N.ag());b.parent(this.ta);if(this.g.Bc("enabled")){h=m;l=this.N.ag();var n=f.sb(),q=f.enabled();m=q?n.tb():l.$a();n=q?n.$a():l.tb();switch(f.i("orientation")){case "left":var r=(this.pG(this.g),n);break;case "right":r=
(this.pG(this.g),m)}h>=l.$b()&&h<=l.Ra()||(r=h=window.NaN);h={value:{x:r,y:h}};if((0,window.isNaN)(h.value.x))this.P=!0,this.g.clear();else{if(this.P||c)this.u(64),this.P=!1;r=this.yp(a,f,d);this.g.Nf(r);$.wt(this.o);this.g.Cc(h);this.g.Dk("left"==f.i("orientation")?"right-center":"left-center")}}else this.g.clear(),this.P=!0;this.I(4)}this.J(64)&&(this.g.Bc("enabled")?(r=this.yp(a,f,d),this.g.Nf(r),$.wt(this.o),this.g.Dk("left"==f.i("orientation")?"right-center":"left-center"),a=[],c?a.push(k.La,
this.o.La,this.g.sd,this.o.sd,k.ma,this.o.ma):a.push(this.o.La,this.g.sd,this.o.sd,this.o.ma),$.At(this.g,a)):(this.g.clear(),this.P=!0),this.I(64));this.J(16)&&(b.stroke(e),this.I(16));this.P||(this.g.O(this.ta),this.g.X());this.o.I(4294967295);this.G.I(4294967295);this.D.I(4294967295);return this};
$.g.F=function(){var a=nZ.B.F.call(this);$.Bp(this,this.HI,a,"Current price indicator");if($.z(this.ba)||$.ea(this.ba))a.series=this.ba;(0,window.isNaN)(this.U)||(a.axis=this.U);a.mainLabel=this.o.F();a.risingLabel=$.iK(this.G);a.fallingLabel=$.iK(this.D);return a};$.g.Y=function(a,b){b?$.sp(this.ma,this.HI,a):$.tp(this,this.HI,a);this.W(a.series);this.axis(a.axis);oZ(this,a,b);nZ.B.Y.call(this,a,b)};
$.g.R=function(){this.Na=this.b=this.N=null;this.remove();this.line&&this.line.ad();this.o.clear();$.jd(this.o,this.G,this.D);this.D=this.G=this.o=null;nZ.B.R.call(this)};var I3=nZ.prototype;I3.label=I3.label;I3.fallingLabel=I3.fba;I3.risingLabel=I3.aga;I3.axis=I3.axis;I3.series=I3.W;$.H(pZ,$.yx);$.g=pZ.prototype;$.g.Xf=function(a){$.W(a,2)&&this.u(80,1)};$.g.kF=function(a){var b=this.fa().round()||$.Zl(0,0,0,0);a=b.Ra()-a*b.height;a=$.O(a,this.wh().vk());this.o.moveTo($.O(b.tb(),1)-.5,a);this.o.lineTo($.O(b.$a(),1)+.5,a)};$.g.lF=function(a){var b=this.fa().round()||$.Zl(0,0,0,0);a=b.tb()+a*b.width;a=$.O(a,this.wh().vk());this.o.moveTo(a,$.O(b.Ra(),1)-.5);this.o.lineTo(a,$.O(b.$b(),1)+.5)};
$.g.hF=function(a,b,c){if(!(0,window.isNaN)(b)){var d=this.fa().round()||$.Zl(0,0,0,0),e=this.wh().vk();b=d.Ra()-b*d.height;b=$.O(b,e);a=d.Ra()-a*d.height;a=$.O(a,e);c.moveTo(d.tb(),b);c.lineTo(d.$a(),b);c.lineTo(d.$a(),a);c.lineTo(d.tb(),a);c.close()}};$.g.iF=function(a,b,c){if(!(0,window.isNaN)(b)){var d=this.fa().round()||$.Zl(0,0,0,0),e=this.wh().vk();b=d.tb()+b*d.width;b=$.O(b,e);a=d.tb()+a*d.width;a=$.O(a,e);c.moveTo(b,d.$b());c.lineTo(a,d.$b());c.lineTo(a,d.Ra());c.lineTo(b,d.Ra());c.close()}};
$.g.Jj=function(){var a=this.scale(),b=window.NaN,c=$.K(a,$.ns),d=$.K(a,O2);var e=this.i("isMinor");d?(e=a.an().ga(!e),e=$.Fa(window.NaN,e,window.NaN)):e=c?a.Pa().get():e?a.ob().get():a.Pa().get();var f=this.Fb()?[this.kF,this.hF]:[this.lF,this.iF];this.Oy();this.wh().clear();var h=(this.fa()||$.Zl(0,0,0,0)).clone().round();var k=h.Ra();var l=h.$a();k=Math.ceil($.O(k,1));l=Math.ceil($.O(l,1));h.width=l-h.left;h.height=k-h.top;this.wh().clip(h);h=f[1];l=f[0];for(var m=1==$.Xb(this.i("stroke"))%2,n=
0,q=e.length;n<q;n++){var r=e[n];$.B(r)&&(r=r[0]);k=d?n?n==q-1?1:a.hN(r):0:a.transform(r);n&&(f=$.Cx(this,n-1))&&h.call(this,k,b,f,m);n?n==q-1?(this.i("drawLastLine")||c)&&l.call(this,k,m):l.call(this,k,m):this.i("drawFirstLine")&&l.call(this,k,m);b=k}c&&$.p(r)&&(k=a.Kf()?0:1,this.i("drawLastLine")&&l.call(this,k,m),(f=$.Cx(this,n-1))&&h.call(this,k,b,f,m))};var J3=pZ.prototype;J3.isHorizontal=J3.Fb;J3.scale=J3.scale;J3.axis=J3.axis;$.g=qZ.prototype;$.g.Vv=function(){yZ(this.fc,this.f);this.f.length=0};$.g.$T=function(a,b){this.f.push(b);this.b++};$.g.start=function(){this.b=this.f.length=0};$.g.qd=$.ia;$.g.wI=function(){this.f.length&&this.Vv()};$.g=rZ.prototype;$.g.update=function(){var a=this.P.ME-1;if(this.g<a)if(this.b.length){for(var b=this.P.Mw,c=$.K(this,vZ),d=0;d<b.length;d++)if(this.g<=this.P.NE[d]){var e=b[d];e.o.call(e.b,e.b);for(var f=0,h=this.b[0];h;){h.f||(h.f=[]);for(;h.f.length<a;)h.f.push(void 0);e.g.call(e.b,new DZ(h,e,c,f),e.b);h=h.next;f++}}this.g=a;sZ(this)}else this.g=a};
$.g.select=function(a,b){var c=this.b.length;if(c){var d=(0,window.isNaN)(a)?0:TY(this,a,"exact-or-next");if((0,window.isNaN)(d)){var e=c-1;d=window.NaN}else{var f=(0,window.isNaN)(b)?c-1:TY(this,b,"exact-or-prev");(0,window.isNaN)(f)?(e=window.NaN,d=0):d<=f?(e=0<d?d-1:window.NaN,d=f<c-1?f+1:window.NaN):e=f}}else e=d=window.NaN;return iZ(this,a,b,e,d)};$.g.search=function(a,b){return this.$m(TY(this,a,b))};
$.g.VL=function(a,b){var c,d=this.lR();if($.ea(d))for(c=0;c<d;c++)c in a||(a[c]=b++);else for(c in d)c in a||(a[c]=b++);return b};$.g.$m=function(a){return 0<=a&&a<this.b.length?this.b[a]:null};$.g.Eb=function(){return this.b.length};$.H(vZ,rZ);var uZ=8;vZ.prototype.lR=function(){return this.o};
vZ.prototype.update=function(){if(0!=this.f){var a=GY(this.P).b,b=this.P.UD;if(this.f>=uZ)this.g=-1,this.b.length=0,wZ(this,a,b,this.D,!1);else{if(this.f&2){this.g=-1;var c=a.length?a[0]:null;if(c){var d=this.b.length?this.b[0]:null,e=c.key;if(d&&!(d.key>=e)){for(var f=0,h;(h=d.next)&&h.key<e;)f++,d=h;if(h&&h.key==e)f++;else{for(e=c;e&&(!h||e.key<h.key);){for(c=0;c<this.o;c++){var k=b[c];k.b(e.values[k.o],e.values[k.D],e.values)}e=e.next}for(c=0;c<this.o;c++)d.values[c]=b[c].f()}0<f&&($.Ba(this.b,
0,f),this.b.length&&(this.b[0].b=null))}}else this.b.length=0}this.f&1&&(this.g=-1,d=this.D,(f=this.b[this.b.length-1])?(this.b.pop(),f.b&&(f.b.next=null),f=f.key):f=void 0,wZ(this,a,b,d,!0,f));if(this.f&4&&(a=a[0],e=this.b[0],a&&e)){d=this.o;f=b.length-1;do{for(c=e.next;a&&(!c||a.key<c.key);){for(h=d;h<=f;h++)k=b[h],k.b(a.values[k.o],a.values[k.D],a.values);a=a.next}e=e.values;for(h=d;h<=f;h++)e[h]=b[h].f();e=c}while(a)}}this.f=0;this.o=b.length;sZ(this)}vZ.B.update.call(this)};$.H(xZ,rZ);$.g=xZ.prototype;
$.g.eV=function(){this.U&&$.Uj(101);this.U=!0};
$.g.LE=function(){this.U=!1;if(this.f.length||this.N){var a=zZ(this),b=this.f.length,c=this.b.length,d=this.f[a?0:b-1];c=!b||!c||0<xY(d,this.b[c-1]);b=0;if(c&&2>this.N){c&&(b|=1);if(this.N){b|=2;d=new BZ(this.b,null,!0);var e=0;for(c=d.next();c&&c.g;)e++,c=d.next();$.Ba(this.b,0,e);if(c=this.b[0])c.b=null}AZ(this,new BZ(null,this.f,a))}else d=new BZ(this.b,this.f,a),this.b=[],AZ(this,d),b=uZ;this.f.length=0;this.o=this.V0;this.g=-1;this.N=0;sZ(this);TZ(this.P,b,!0)}};
$.g.kr=function(a,b,c){var d=!this.U;d&&this.eV();if($.z(a)){var e=new qZ(this),f=new $.Dl;$.D(c)&&(f.rH(c.rowsSeparator),f.KE(c.columnsSeparator),f.fG(c.ignoreTrailingSpaces),f.dG(c.ignoreFirstRow));f.fE(a,e);!0===b&&(b=e.b)}else if($.B(a)){for(e=c=0;e<a.length;e++)yZ(this,a[e])&&c++;!0===b&&(b=c)}b=$.N(b);(0,window.isNaN)(b)||this.jM(b);d&&this.LE();return this};$.g.remove=function(a,b){for(var c=new BZ(this.b,this.f,zZ(this),a,b),d;d=c.next();)d.g=!0;this.N=2;this.U||this.LE();return this};
$.g.jM=function(a){a=$.tn(a);for(var b=new BZ(this.b,this.f,zZ(this)),c=window.NaN,d;(d=b.next())&&0<a;)d.g||(d.key!=c&&a--,d.g=!0,c=d.key);this.N||(this.N=1);this.U||this.LE();return this};$.g.lR=function(){return this.D||this.ba};$.g.V0=function(a){this.f.push(a);this.o=this.T0};$.g.T0=function(a){var b=this.f.length,c=this.f[b-1];c.key<a.key?this.f.push(a):c.key>a.key?(this.o=1==b?this.U0:this.dU,this.f.push(a)):this.f[b-1]=a};
$.g.U0=function(a){var b=this.f.length,c=this.f[b-1];c.key>a.key?this.f.push(a):c.key<a.key?(this.o=this.dU,this.f.push(a)):c.key==a.key&&(this.f[b-1]=a)};$.g.dU=function(a){this.f.push(a)};$.g=BZ.prototype;$.g.JC=function(){return null};$.g.hea=function(){var a=this.f,b=this.o[this.b];if(a){if(b){if(0>xY(a,b))return this.f=this.f.next,a;this.b++;return b}this.f=this.f.next;this.g=this.n0;return a}if(b)return this.b++,this.g=this.fea,b;this.next=this.JC;return null};
$.g.jea=function(){var a=this.f,b=this.o[this.b];if(a){if(b){if(0>xY(a,b))return this.f=this.f.next,a;this.b--;return b}this.f=this.f.next;this.g=this.n0;return a}if(b)return this.b--,this.g=this.gea,b;this.next=this.JC;return null};$.g.n0=function(){var a=this.f;if(a)return this.f=this.f.next,a;this.next=this.JC;return null};$.g.fea=function(){var a=this.o[this.b++];if(a)return a;this.next=this.JC;return null};$.g.gea=function(){var a=this.o[this.b--];if(a)return a;this.next=this.JC;return null};
$.g.D$=function(){var a=this.g();return null===a||a.key>this.D?(this.next=this.JC,null):a};$.g.vea=function(){return this.g()};$.H(CZ,$.gd);$.g=CZ.prototype;$.g.ka=function(){return this.he};$.g.iD=function(a){this.he=a};$.g.xe=function(){return this.Xc.xe()};$.g.ce=function(a,b){if(a in this.f)return $.Sj(202,void 0,[a]),window.NaN;a:{var c=this.xe();if(this.xe()!=c)c=window.NaN;else{var d=c.Yv.length;var e=d?~c.Yv[0]:~c.ME;if($.z(b)){if(b in c.Ty){$.Sj(201,void 0,[b]);c=window.NaN;break a}c.Ty[b]=e}c.NE[this.ka()]=Math.max(c.NE[this.ka()],~e);d?c.Yv.shift():c.ME++;c=e}}return(0,window.isNaN)(c)?window.NaN:this.f[a]=c};
$.g.Jf=function(a){return a in this.f?this.f[a]:window.NaN};$.g.Wg=function(a){this.b=a};$.g.Xg=function(a){this.o=$.E(a)?a:$.ia};$.g.Vg=function(a){this.g=$.E(a)?a:$.ia};
$.g.R=function(){var a=this.xe(),b=this.ka();a.Mw.splice(b,1);var c;for(c=b;c<a.Mw.length;c++)a.Mw[c].iD(c);a.NE.splice(b,1);b=[];for(var d in this.f)b.push(this.f[d]);if(b.length){$.Oa(a.Yv);d=[];var e=Number.POSITIVE_INFINITY;for(c=0;c<b.length;c++){var f=~b[c];e=Math.min(e,f);a.Yv.push(f);for(var h in a.Ty)if(a.Ty[h]==b[c]){d.push(h);break}}$.Oa(a.Yv);for(c=a.Yv.length;c--&&a.Yv[c]==a.ME-1;)a.ME--,a.Yv.pop();for(c=0;c<d.length;c++)delete a.Ty[d[c]];e--;a.fc.g=Math.min(a.fc.g,e);for(var k in a.iu)a.iu[k].g=
Math.min(a.iu[k].g,e)}$.D(this.b)&&$.E(this.b.dispose)&&this.b.dispose();delete this.b;delete this.g;delete this.o;delete this.Xc;delete this.f;CZ.B.R.call(this)};$.H(DZ,KY);DZ.prototype.set=function(a,b){return this.b(this.g.Jf(a),b)};DZ.prototype.b=function(a,b){var c=!(0,window.isNaN)(a);c&&(this.Wf.f[~a]=b);return c};var K3=CZ.prototype;K3.addOutputField=K3.ce;K3.getFieldIndex=K3.Jf;K3.setContext=K3.Wg;K3.setStartFunction=K3.Xg;K3.setCalculationFunction=K3.Vg;K3.dispose=K3.ad;K3=DZ.prototype;
K3.set=K3.set;K3.setColumn=K3.b;$.H(EZ,$.Wp);EZ.prototype.lJ=function(){return new JY(this)};
EZ.prototype.Ge=function(a,b,c,d){if($.ea(b))var e=Math.round($.N(b));else if($.z(b))e=this.ay.Ty[b]||window.NaN,(0,window.isNaN)(e)&&(e=b);else return this;if($.ea(e)&&0>e)this.NB[a]={Y1:e,k1:e};else if($.z(e)||!(0,window.isNaN)(e)){if((b=$.D(c))&&!$.E(c)&&!("reset"in c&&"considerItem"in c&&"getResult"in c))return this;var f=b?c:Hga($.p(c)?c:a);b=d;"weighted-average"==f&&($.ea(d)?b=Math.round(d):$.z(d)?(b=this.ay.Ty[d]||window.NaN,(0,window.isNaN)(b)&&(b=d)):b=window.NaN,$.ea(b)&&(0,window.isNaN)(b)&&
(f="average"));$.U(this.ay);d=this.ay;c=e;var h=b;b=Nga(f,c,h);b in d.EP?b=d.EP[b]:(c=Mga(f,c,h),d.EP[b]=b=d.UD.length,d.UD.push(c),TZ(d,4,!1));this.NB[a]={Y1:e,k1:b};this.ay.da(!0)}return this};EZ.prototype.xe=function(){return this.ay};var L3=EZ.prototype;L3.addField=L3.Ge;L3.createSelectable=L3.lJ;$.H(FZ,$.gd);FZ.prototype.clear=function(){this.value=void 0};FZ.prototype.f=function(){var a=this.value;this.clear();return a};FZ.prototype.R=function(){delete this.value;FZ.B.R.call(this)};$.H(GZ,FZ);GZ.prototype.clear=function(){this.value=this.g=0};GZ.prototype.b=function(a){a=$.N(a);(0,window.isNaN)(a)||(this.value+=a,this.g++)};GZ.prototype.f=function(){var a=this.g?this.value/this.g:window.NaN;this.clear();return a};$.H(HZ,FZ);HZ.prototype.clear=function(){this.g.reset()};HZ.prototype.b=function(a,b,c){this.g.considerItem(a,c)};HZ.prototype.f=function(){var a=this.g.getResult();this.clear();return a};HZ.prototype.R=function(){delete this.g;HZ.B.R.call(this)};$.H(IZ,FZ);IZ.prototype.clear=function(){this.value=[];this.rows=[]};IZ.prototype.b=function(a,b,c){this.value.push(a);this.rows.push(c)};IZ.prototype.f=function(){var a=this.G.call(this.g,this.value,this.rows);this.clear();return a};IZ.prototype.R=function(){delete this.G;delete this.g;IZ.B.R.call(this)};$.H(JZ,FZ);JZ.prototype.clear=function(){this.value=window.NaN};JZ.prototype.b=function(a){(0,window.isNaN)(this.value)&&(this.value=$.N(a))};$.H(KZ,FZ);KZ.prototype.b=function(a){$.p(this.value)||(this.value=a)};$.H(LZ,FZ);LZ.prototype.clear=function(){this.value=window.NaN};LZ.prototype.b=function(a){a=$.N(a);(0,window.isNaN)(a)||(this.value=a)};$.H(MZ,FZ);MZ.prototype.b=function(a){$.p(a)&&(this.value=a)};$.H(NZ,FZ);NZ.prototype.clear=function(){this.value=[]};NZ.prototype.b=function(a){$.p(a)&&this.value.push(a)};$.H(OZ,FZ);OZ.prototype.clear=function(){this.value=window.NaN};OZ.prototype.b=function(a){a=$.N(a);(0,window.isNaN)(a)||this.value>=a||(this.value=a)};$.H(PZ,FZ);PZ.prototype.clear=function(){this.value=window.NaN};PZ.prototype.b=function(a){a=$.N(a);(0,window.isNaN)(a)||this.value<=a||(this.value=a)};$.H(QZ,FZ);QZ.prototype.clear=function(){this.value=0};QZ.prototype.b=function(a){a=$.N(a);(0,window.isNaN)(a)||(this.value+=a)};$.H(RZ,FZ);RZ.prototype.clear=function(){this.value=this.g=0};RZ.prototype.b=function(a,b){a=$.N(a);b=$.N(b)||0;(0,window.isNaN)(a)||(this.value+=a*b,this.g+=b)};RZ.prototype.f=function(){var a=this.g?this.value/this.g:window.NaN;this.clear();return a};$.H(SZ,$.Wp);$.g=SZ.prototype;$.g.ra=16;$.g.eV=function(){this.fc.eV()};$.g.LE=function(){this.fc.LE()};$.g.kr=function(a,b,c){this.fc.kr(a,b,c);return this};$.g.remove=function(a,b){this.fc.remove($.Cj(a),$.Cj(b));return this};$.g.jM=function(a){this.fc.jM(a);return this};$.g.Yd=function(a){a=new EZ(this,a);$.id(this,a);return a};$.g.hd=function(a){if($.K(a,EZ)){if(a.xe()!=this)return $.Sj(200),null}else a=this.Yd(a);a=new CZ(a,this.Mw.length);this.Mw.push(a);this.NE.push(-1);return a};
$.g.R=function(){$.U(this);delete this.fc;$.jd(this.UD,this.Mw);this.UD.length=0;this.iu={};this.Mw.length=0;this.da(!1);SZ.B.R.call(this)};var M3=SZ.prototype;$.F("anychart.data.table",function(a,b,c,d,e){return new SZ(a,b,c,d,e)});M3.addData=M3.kr;M3.remove=M3.remove;M3.removeFirst=M3.jM;M3.mapAs=M3.Yd;M3.createComputer=M3.hd;$.H(UZ,$.Vv);$.g=UZ.prototype;$.g.Dr=function(){var a=this.Lk();return $.K(a,C2)?this.ia.width/(a.Hv-a.$r):this.za.pK()/(a.oR()-a.pR())*this.ia.width};$.g.Ad=function(){return null};$.g.JZ=function(){};$.g.wK=function(){var a=OY(this.na);a&&this.aa().Tt(a.Wf);return a};$.g.vK=function(){var a=PY(this.na);a&&this.aa().Tt(a.Wf);return a};$.g.EF=function(){return this.za};$.g.aJ=function(){return!1};
$.g.data=function(a,b,c){if($.p(a)){var d=this.EF();$.U(d);if(this.na){var e=this.na;this.na=null;pha(d,e)}this.D&&($.hd(this.D),this.D=null);this.U=a;$.K(a,SZ)||$.K(a,EZ)||(e=new SZ,a&&e.kr(a,!1,c),this.D=a=e);$.K(a,SZ)&&(a=a.Yd(b),b||(a.Ge("value",1,"average"),a.Ge("size",2,"sum"),a.Ge("open",1,"first"),a.Ge("high",2,"max"),a.Ge("low",3,"min"),a.Ge("close",4,"last"),a.Ge("volume",5,"sum")),this.D||(this.D=a));$.K(a,EZ)?(this.na=a.lJ(),this.Z0()):this.U=null;d.da(!0);return this}return this.U};
$.g.Z0=function(){ZY(this.EF().b,this.na,!0)};$.g.If=function(){return this.na.aa()};$.g.cY=function(){return!0};
$.g.me=function(a,b,c){var d=$.xz(this),e=b?this.If():this.aa(),f=e.ka();d.lg(e).Vi([this.Ad(f),this]);var h;a=a||this.i("color")||"blue";var k=e.Fh();b=e.get("value");var l=$.p(e.get("name"))?e.get("name"):k;e={x:{value:k,type:"date-time"},value:{value:b,type:"number"},index:{value:f,type:"number"},iterator:{value:e,type:""},autoColor:{value:a,type:""},chart:{value:this.za,type:""},plot:{value:this.Se,type:""},series:{value:this,type:""},name:{value:l,type:"string"},isIntersection:{value:!!e.j("isIntersection"),
type:"string"}};c=$.p(c)&&c;(f=this.pd())&&!c&&($.p(b)&&(h=f.cq(b)),e.scaledColor={value:h,type:""},e.colorScale={value:f,type:""});e.sourceColor={value:h||a,type:""};return $.Lt(d,e)};
$.g.oi=function(a){var b=$.xz(this);a=a?this.If():this.aa();var c=a.ka();b.lg(a).Vi([this.Ad(c),this]);var d=this.eh(),e=a.Fh(),f=a.get("value"),h=$.p(a.get("name"))?a.get("name"):e;return $.Lt(b,{x:{value:e,type:"date-time"},value:{value:f,type:"number"},index:{value:c,type:"number"},iterator:{value:a,type:""},sourceHatchFill:{value:d,type:""},plot:{value:this.Se,type:""},chart:{value:this.za,type:""},series:{value:this,type:""},name:{value:h,type:"string"}})};
$.g.pU=function(){if(!this.na)return null;for(var a=this.fe(),b=[],c=0;c<a.length;c++){var d=VY(this.na,a[c]);if(!$.z(d)&&(0,window.isNaN)(d))return $.Uj(201,void 0,[this.Ui(),a[c]]),null;b.push(d)}return b};
$.g.KF=function(a){var b=this.pU(),c=[];if(b){var d=this.bb(),e,f=b.length;for(e=0;e<f;e++){var h=b[e],k=this.na;k=$.ea(h)&&0>h?a?k.b.M2[~h]:k.b.XI[~h]:a?k.b.O2[h]:k.b.xL[h];c.push(d.sE($.p(k)?k:window.NaN,this.pB));k=this.na;h=$.ea(h)&&0>h?a?k.b.L2[~h]:k.b.WI[~h]:a?k.b.N2[h]:k.b.vL[h];c.push(d.sE($.p(h)?h:window.NaN,this.pB))}}return c};
$.g.QC=function(){var a=VY(this.na,"label"),b=VY(this.na,"minLabel"),c=VY(this.na,"maxLabel");return $.z(a)||!(0,window.isNaN)(a)||$.z(b)||!(0,window.isNaN)(b)||$.z(c)||!(0,window.isNaN)(c)};$.g.UL=function(){var a=VY(this.na,"marker");return $.z(a)||!(0,window.isNaN)(a)};$.g.Fg=function(){return this.check(32)&&"none"!=this.bb().Dm()};$.g.TC=function(a){return this.na.search(a,"exact")};$.g.Rn=function(a,b){this.f=this.TC(a);this.N=!0;WZ(this,$.Wk);this.G=this.f?this.f:this.TC(b);WZ(this,$.ln)};
$.g.uj=function(){return this.vc};$.g.nk=function(){this.vc&$.ln||(this.vc=$.ln,this.u(2176,1))};$.g.Cd=function(){this.vc!=$.Wk&&(this.vc=$.Wk,this.u(2176,1));return this};$.g.Cq=function(){return this.uj()};$.g.ek=function(){this.Xt||(this.Xt=new $.$u);return $.Fz(this,this.Xt,this.N?this.f:this.P)};$.g.xB=function(a){this.xt||(this.xt=new $.$u);this.xt=$.Fz(this,this.xt,this.N?this.f:this.P);if(a){for(var b=$.Kt(this.xt),c=0;c<a.length;c++)$.ra(b,a[c]);$.Lt(this.xt)}return this.xt};
$.g.pm=function(a,b){var c=this.za.bn(),d=UZ.B.pm.call(this,a,b);d.defaultDecimalDigitsCount={value:this.ba,type:"number"};d.dataIntervalUnit={value:c.Ln().unit,type:"string"};d.dataIntervalUnitCount={value:c.Ln().count,type:"number"};d.isGrouped={value:c.rC(),type:""};return d};$.g.NZ=function(){return"date-time"};
$.g.CF=function(a,b,c,d){if(!a&&this.check($.qE)){a=d.open<d.close;if(2==b)a=a?"risingStroke":"fallingStroke";else if(3==b){if(this.check(8))return null;a=a?"risingHatchFill":"fallingHatchFill"}else this.check(8)?(a=a?"risingStroke":"fallingStroke",b=2):a=a?"risingFill":"fallingFill";return $.Sk(a,b,!1)(this,$.Wk,!0)}return UZ.B.CF.call(this,a,b,c,d)};
$.g.ZB=function(a,b){return"rising-falling"==String(a).toLowerCase()&&this.check($.qE)?b.open<b.close?"triangle-up":"triangle-down":UZ.B.ZB.call(this,a,b)};
$.g.EZ=function(a){if(this.check($.qE)){var b=(0,window.isNaN)(a.high)||(0,window.isNaN)(a.low)||(0,window.isNaN)(a.open)||(0,window.isNaN)(a.close);a=": (O: "+YZ(this,a.open)+"; H: "+YZ(this,a.high)+"; L: "+YZ(this,a.low)+"; C: "+YZ(this,a.close)+")"}else this.check($.Vk)?(b=(0,window.isNaN)(a.high)||(0,window.isNaN)(a.low),a=": (H: "+YZ(this,a.high)+"; L: "+YZ(this,a.low)+")"):(b=(0,window.isNaN)(a.value),a=": "+YZ(this,a.value));return this.name()+(b?"":a)};
$.g.EW=function(a){var b=this.Qa();b=Hha[b];if(null!==b)return $.p(a)?this:b;b=this.za.vba?this.za.Ds:!1;return $.p(a)?(a=!!a,$.p(this.Ds)||(this.Ds=b),this.Ds!=a&&(this.Ds=a,a=this.za.av(this.Qa())[1],this.Hy(a,!1),this.u(5664,this.ra)),this):$.p(this.Ds)?this.Ds:b};$.g.Hy=function(a,b){var c=$.Ic(a),d=!$.K(this,K2)&&this.EW();c.vb|=d&&1048576;c.Db=d?2:1;UZ.B.Hy.call(this,c,b)};$.g.F=function(){return UZ.B.F.call(this)};$.g.Y=function(a,b){UZ.B.Y.call(this,a,b)};
$.g.R=function(){if(this.na){var a=this.na;this.na=null;pha(this.EF(),a)}this.P=this.f=null;UZ.B.R.call(this)};var N3=UZ.prototype;N3.data=N3.data;N3.allowPointSettings=N3.EW;ZZ.prototype.aa=function(a,b,c,d){var e=(0,window.isNaN)(b)||(0,window.isNaN)(c);if(e){var f=0;var h=this.na.length}else f=~$.Ma(this.na,{key:b,index:-1},a_),h=~$.Ma(this.na,{key:c,index:-window.Infinity},a_);var k;if(this.b&&this.b.EH==d&&this.b.qba==f&&this.b.bha==h&&this.b.xfa==a.Eb()){var l=this.b.data;var m=this.b.lda;var n=this.b.mi||0;var q=this.b.count||0}else{l=[];m=[];q=0;if(d){n=window.NaN;c=f;var r=window.NaN,t=window.NaN,u=[];for(a.reset();a.advance()&&c<h;){for(var v;c<h&&(v=this.na[c]).key<
a.f;)u.push(v),c++;if(u.length)if((0,window.isNaN)(r)&&!e)u.length=0;else{l.length||(n=c-u.length);for(k=0;k<u.length;k++)m.push(l.length);l.push({key:r,index:t,items:u,nF:c-u.length});q+=u.length;u=[]}r=a.f;t=a.g()}if(!(0,window.isNaN)(r)||e){for(;c<h;)u.push(v),c++;if(u.length){l.length||(n=c-u.length);for(k=0;k<u.length;k++)m.push(l.length);l.push({key:r,index:t,items:u,nF:c-u.length});q+=u.length}}a=a.Eb()}else{n=0;e=[];for(a.reset();a.advance();)e[a.g()]=a.f;a.reset();t=v=window.NaN;u=0;var w=
window.NaN;b=(0,window.isNaN)(b)?-window.Infinity:b;for(var x=(0,window.isNaN)(c)?window.Infinity:c,y;a.advance();){k=a.f;r=a.g();(0,window.isNaN)(w)&&(w=r);var A=(e[r]-e[t])/2;for(c=0;c<this.na.length;c++){y=this.na[c].key<=x&&this.na[c].key>=b;var G=t==w&&this.na[c].key<v+A;var C=e[r]+(e[r+1]-e[r])/2;var J=e[r]-(e[r]-e[r-1])/2;C=(0,window.isNaN)(C)?x:C;J=this.na[c].key<=C&&this.na[c].key>=J;y&&(G||J)&&(l.push({key:this.na[c].key,index:J?r:t,items:[this.na[c]],nF:u}),m.push(u),u++,q++)}v=k;t=r}if(v==
k&&t==w||(0,window.isNaN)(k))for(c=0;c<this.na.length;c++)if(y=this.na[c].key<=x&&this.na[c].key>=b)l.push({key:this.na[c].key,index:r?r:u,items:[this.na[c]],nF:u}),m.push(u),u++,q++;a=q}this.b={qba:f,bha:h,data:l,lda:m,mi:n,count:q,xfa:a,EH:d}}return new b_(l,m,n,q)};ZZ.prototype.f=function(a,b,c){var d=$.br(b instanceof Date||!$.D(b)?b:b.date,this.o,(0,window.isNaN)(this.g)?null:new Date(this.g),this.D);d&&a.push({index:c,key:+d,data:b,j:{}});return a};$.g=b_.prototype;
$.g.select=function(a){var b;if(b=this.G<=a&&a<this.G+this.N){this.o=a;this.b=this.P[a-this.G];var c=this.na[this.b];this.D=c.items.length;this.g=a-c.nF}else this.D=0,this.b=this.na.length,this.g=0,this.o=window.NaN;return b};$.g.Tt=function(a){this.select(a)};$.g.current=function(){return this.na[this.b].items[this.g].data};$.g.reset=function(){this.o=this.G-1;this.b=-1;this.g=this.D=0;return this};
$.g.advance=function(){++this.g>=this.D&&(this.g=0,this.b++,this.D=this.b<this.na.length?this.na[this.b].items.length:0);this.o++;return this.g<this.D};$.g.Eb=function(){return this.N};$.g.ka=function(){return this.b<this.na.length?this.o:window.NaN};$.g.Fh=function(){return this.b<this.na.length?this.na[this.b].key:window.NaN};$.g.get=function(a){var b=this.na[this.b].items[this.g].data;return $.D(b)?b[a]:void 0};$.g.xq=function(){};
$.g.j=function(a,b){var c=this.na[this.b].items[this.g].j;return $.p(b)?(c[a]=b,this):c[a]};$.H(h_,$.X);var O3={};$.ep(O3,[$.Y.MV,$.Y.V4,$.Y.q5,$.Y.f4,$.Y.X5]);$.S(h_,O3);var g_=[["direction",64,1],["position",64,1],["seriesId",64,1],["fieldName",64,1],["stickToLeft",64,1]],P3=$.gp();P3.push.apply(P3,[$.Y.Y3,$.Y.fI,$.Y.dI,$.Y.s4,$.Y.MA,$.Y.LD,$.Y.n4]);var e_=P3,Iha={};$.ep(Iha,e_);var Q3=["connector"],Jha;for(Jha in Iha)Q3.push(Jha);$.rp(h_,Q3,"normal");var R3={};
$.R(R3,[["type",64,1],["width",64,1],["height",64,1],["fill",64,1],["stroke",64,1],["format",64,1],["fontPadding",64,1],["connector",64,1]]);$.pp(R3,64,64,1,1);var d_=R3,S3={};$.R(S3,[["type",0,0],["width",0,0],["height",0,0],["fill",0,0],["stroke",0,0],["format",0,0],["fontPadding",0,0],["connector",0,0]]);$.pp(S3,0,0,0,0);var f_=S3;$.g=h_.prototype;$.g.qa=$.X.prototype.qa|80;$.g.ra=$.X.prototype.ra|1;$.g.tB=function(){this.u(80,1)};
$.g.GF=function(a){var b=this.Se.Ni();return a?1==a?b.lb():b.selected():b.Ta()};$.g.data=function(a){if($.p(a)){if($.D(a)&&!$.B(a)){var b=a.dateTimePattern;var c=a.baseDate;var d=a.locale;a=a.data}$.B(a)||(a=[]);var e=this.VE;e.o=b;e.g=$.ma(c)?c.getTime():$.N(c);e.D=d||null;e.b=null;e.na=(0,$.hg)(a,e.f,[]);e.na.sort(a_);this.u(64,1);return this}return $Z(this.VE)};$.g.Ta=function(a){return $.p(a)?(this.ca.K(a),this):this.ca};$.g.lb=function(a){return $.p(a)?(this.ya.K(a),this):this.ya};
$.g.selected=function(a){return $.p(a)?(this.Da.K(a),this):this.Da};
$.g.X=function(){if(!this.xc())return this;$.U(this);$.U(this.Ca);this.J(4)&&(this.ia=this.fa(),this.jB=this.xg?this.xg.Wi(this.ia):this.ia,this.u(64),this.I(4));this.J(16)&&(this.Uz.length=0,this.u(64),this.I(16));this.J(64)&&(this.Md=null,this.Gl.Cu(),this.Ca.clear());if(this.J(2)){var a=this.O();$.hz(this.Gl,a);this.I(2)}if(this.J(64)){var b={};a=this.Se.Ni();var c=this.aa();for(c.reset();c.advance();){if(!c.g){b=c_(c);var d=a.g[b];d||(d=a.g[b]={});b=d}d=j_(this,b);b[d[0]]=d[1]}this.I(72)}this.J(8)&&
this.I(8);this.ca.Lg().I(4294967295);this.Ca.da(!1);this.da(!1);return this};$.g.remove=function(){this.Gl.Cu();this.u(64)};
$.g.Qd=function(a,b,c,d,e,f,h,k,l,m){b=this.Og(a,b,!1,!1);var n=a.ka();a.j("symbol",k_(b,"format",$.kp).charAt(0));a=new $.$u(this.pm(a),a);$.Lt(a);var q=e,r=h;e={};k&&(r=-r);"flag"==c&&(d+=f/2);"pin"==c?(q+=3*r/5,e.height=Math.abs(4*r/5)):q+=r/2;e.value={x:d,y:q};m?(c=this.Ca.Wd(n),c.Nf(a),c.Cc(e)):c=this.Ca.add(a,e,n);c.zIndex(l);l=k_(b,"fontPadding",$.Op);h=e.height||h;f=$.Fa({positionFormatter:$.Un,anchor:"center",rotation:0,width:f-2*$.M(l,f/2),height:h-2*$.M(l,h/2)},b);$.At(c,f);c.O(this.O());
c.X();return c};
$.g.tg=function(a){var b=a.type;switch(b){case "mouseout":b="eventmarkermouseout";break;case "mouseover":b="eventmarkermouseover";break;case "mousemove":b="eventmarkermousemove";break;case "mousedown":b="eventmarkermousedown";break;case "mouseup":b="eventmarkermouseup";break;case "click":case "touchstart":b="eventmarkerclick";break;case "dblclick":b="eventmarkerdblclick";break;default:return null}var c;"eventMarkerIndex"in a?c=a.eventMarkerIndex:"labelIndex"in a&&(c=a.labelIndex+this.aa().G);a.eventMarkerIndex=
c=$.N(c);return{type:b,target:this,group:this,index:c,originalEvent:a,eventMarker:this.Bq(c)}};$.g.Cg=function(){return!0};$.g.ts=function(){return!0};$.g.me=function(a){a=a||this.i("fill")||"#ccc";var b=this.aa();return{index:b.ka(),sourceColor:a,iterator:b,group:this,chart:this.Se.sc(),plot:this.Se}};$.g.eh=function(){return null};$.g.aa=function(){this.Md||(this.Md=this.If());return this.Md};
$.g.If=function(a){var b=k_(this.Og(null,0,!0,!1),"stickToLeft",$.op),c=this.Se.sc();a=[WY(c.b,!1,!1,!0),a?window.NaN:c.b.b.ph,a?window.NaN:c.b.b.li];a.push(b);return this.VE.aa.apply(this.VE,a)};$.g.oi=function(){return null};
$.g.Og=function(a,b,c,d,e){c?c=a=null:(c=a.get("normal"),$.p(c)||!d&&!e||(e=d?"connector":e||"",c={},c[e]=a.get(e)),a=b?1==b?a.get("hovered"):a.get("selected"):null);b=Math.min(b,$.mn);e=2*b+d;d&&($.D(c)&&(c=c.connector),$.D(a)&&(a=a.connector));var f=this.Uz[e];if(f)b?(f[0]=a,f[6]=c):f[0]=c;else{var h=this.Se.Ni();f=m_(h,$.Wk,!0,d);var k=m_(h,$.Wk,!1,d),l=d?this.ca.Lg():this.ca;if(b){var m=m_(h,b,!0,d);h=m_(h,b,!1,d);b=b==$.ln?this.ya:this.Da;b=d?b.Lg():b;f=$.Fa([a],b.La,h,[c],l.La,d?null:this.La,
k,b.ma,m,l.ma,d?null:this.ma,f)}else f=$.Fa([c],l.La,d?null:this.La,k,l.ma,d?null:this.ma,f);this.Uz[e]=f}return f};$.g.Dc=function(a,b,c,d,e,f,h){b=this.Og(c,b,!!h,e,a);return k_(b,a,d)};
$.g.fW=function(){function a(a,c,d,e,f,h){e/=2;a.moveTo(c,d).lineTo(c-e,d+h,c-e,d+f,c+e,d+f,c+e,d+h).close()}return{circle:function(a,c,d,e,f,h){f/=2;a.je(c,d+(h?-f:f),e/2,f,0,360)},rect:function(b,c,d,e,f,h){h&&(f=-f);a(b,c,d,e,f,0)},pin:function(b,c,d,e,f,h){h&&(f=-f);a(b,c,d,e,f,f/4)},flag:function(b,c,d,e,f,h){h&&(f=-f);a(b,c+e/2,d,e,f,0)}}}();$.g.eR=function(a){var b,c=this.aa();c.select(a)?b=this.pm(c):c=null;a=new $.$u(b,c);$.Lt(a);return a};
$.g.pm=function(a){var b=this.Se.sc().bn().Ln();return{date:{value:a.b<a.na.length?a.na[a.b].items[a.g].key:window.NaN,type:"date-time"},groupedDate:{value:a.Fh(),type:"date-time"},group:{value:this,type:""},index:{value:a.ka(),type:"number"},plot:{value:this.Se,type:""},chart:{value:this.Se.sc(),type:""},title:{value:a.get("title")||"",type:"string"},description:{value:a.get("description")||"",type:"string"},symbol:{value:a.j("symbol"),type:"string"},dataIntervalUnit:{value:b.unit,type:"string"},
dataIntervalUnitCount:{value:b.count,type:"number"}}};$.g.Bq=function(a){var b=this.If(!0);b.select(a)?(a=new $.$u(this.pm(b),b),$.Lt(a)):a=null;return a};$.g.Ya=function(a){this.fb||(this.fb=new $.Ru(0),this.fb.Me().parent(this.Se.Ni().Ya()),this.fb.ji().position("leftTop"),$.Vu(this.fb,this.Se));return $.p(a)?(this.fb.K(a),this):this.fb};
$.g.F=function(){var a=h_.B.F.call(this);$.Bp(this,O3,a);a.normal=this.ca.F();a.hovered=this.ya.F();a.selected=this.Da.F();a.tooltip=this.Ya().F();a.data=$Z(this.VE);return a};$.g.Fe=function(a,b){return $.B(b)?(this.data(b),!0):!1};$.g.Y=function(a,b){h_.B.Y.call(this,a,b);$.p(a.data)&&this.data(a.data);this.ca.ja(!!b,a);this.ca.ja(!!b,a.normal);this.ya.ja(!!b,a.hovered);this.Da.ja(!!b,a.selected);this.Ya().ja(!!b,a.tooltip);$.tp(this,O3,a)};
$.g.R=function(){$.jd(this.Gl,this.ca,this.ya,this.Da,this.fb);this.ca=this.ya=this.Da=this.Gl=this.Se=this.fb=null;h_.B.R.call(this)};var T3=h_.prototype;T3.data=T3.data;T3.tooltip=T3.Ya;T3.getMarker=T3.Bq;T3.normal=T3.Ta;T3.hovered=T3.lb;T3.selected=T3.selected;$.H(l_,$.X);$.S(l_,O3);$.rp(l_,Q3,"normal");$.g=l_.prototype;$.g.qa=$.X.prototype.qa|64;$.g.tB=function(){this.u(64,1)};$.g.Ta=function(a){return $.p(a)?(this.ca.K(a),this):this.ca};$.g.lb=function(a){return $.p(a)?(this.ya.K(a),this):this.ya};$.g.selected=function(a){return $.p(a)?(this.Da.K(a),this):this.Da};
$.g.group=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.b[c];e||(e=new h_(this.f,c),e.qb(this),e.Ch=10+.01*this.b.length,this.b[c]=e,$.L(e,this.z0,this),this.u(64,1));$.p(d)&&e.K(d);return e};$.g.data=function(a){var b=this.group().data(a);return $.p(a)?this:b};
$.g.X=function(){if(!this.xc())return this;this.Va||(this.Va=$.Zi(),$.Ps(this,this.Va));var a=this.O();if(this.J(4)){this.ia=this.fa();var b=a.Ga();b=b?b.width():this.ia.width;this.Va.clip(new $.I(0,this.ia.top,b,this.ia.height));this.u(64);this.I(4)}if(this.J(64)){this.Uz.length=0;this.g={};this.ln||(this.ln=[]);for(;b=this.o.pop();)b.clear(),b.parent(null),this.ln.push(b);for(b=0;b<this.b.length;b++){var c=this.b[b];$.U(c);c.fa(this.ia);c.O(this.Va);c.u(64);c.X();c.da(!1)}this.ca.Lg().I(4294967295);
this.I(64)}this.J(2)&&(this.Va.parent(a),this.I(2));this.J(8)&&(this.Va.zIndex(this.zIndex()),this.I(8));return this};$.g.z0=function(){this.u(64,1)};$.g.GB=function(a,b,c,d,e){var f=e?e.clear():this.ln.length?this.ln.pop():$.aj();$.D(d)&&"keys"in d&&!$.D(d.mode)&&(d=$.Ak(d),d.mode=this.ia);f.stroke(d);f.fill(null);f.zIndex(0);e||(this.Va.ec(f),this.o.push(f));f.moveTo(a,b).lineTo(a,c);return f};
$.g.ih=function(a){var b,c=$.hn(a.domTarget);$.K(a.target,$.kt)?(c=a.target.ri(),$.K(c,h_)&&(b=c)):$.D(c)&&!$.K(c,l_)&&(b=c.group,a.eventMarkerIndex=c.index);b&&!b.Ed&&b.enabled()&&(a=b.tg(a))&&b.dispatchEvent(a)};$.g.Ya=function(a){this.fb||(this.fb=new $.Ru(0),this.fb.Me().parent(this.f.sc().Ni().Ya()));return $.p(a)?(this.fb.K(a),this):this.fb};
$.g.F=function(){var a=l_.B.F.call(this);$.Bp(this,O3,a);a.normal=this.ca.F();a.hovered=this.ya.F();a.selected=this.Da.F();a.tooltip=this.Ya().F();for(var b=[],c=0;c<this.b.length;c++){var d=this.b[c];b.push(d?d.F():null)}a.groups=b;return a};
$.g.Y=function(a,b){l_.B.Y.call(this,a,b);this.ca.ja(!!b,a);this.ca.ja(!!b,a.normal);this.ya.ja(!!b,a.hovered);this.Da.ja(!!b,a.selected);this.Ya().ja(!!b,a.tooltip);$.tp(this,O3,a);var c,d;if($.p(c=a.groups)){if($.jd(this.b),this.b.length=0,$.B(c))for(d=0;d<c.length;d++){var e=c[d];null!=e&&this.group(d,e)}}else $.p(d=a.data)&&this.data(d)};$.g.R=function(){$.jd(this.b,this.Va,this.ca,this.ya,this.Da,this.fb);delete this.b;this.ca=this.ya=this.Da=this.Va=this.f=this.fb=null;l_.B.R.call(this)};
var U3=l_.prototype;U3.group=U3.group;U3.data=U3.data;U3.tooltip=U3.Ya;U3.normal=U3.Ta;U3.hovered=U3.lb;U3.selected=U3.selected;$.H(o_,$.gd);o_.prototype.Wq=function(a,b){a.Ge("value",b.Jf("result"))};o_.prototype.R=function(){for(var a in this.Na){var b=this.Na[a];b.W&&this.D.Vn(b.W.id());$.hd(b.W);b.CC=!1;$.hd(b.mapping);b.mapping=null}delete this.Na;$.hd(this.f);this.f=null;delete this.D;delete this.Xc;o_.B.R.call(this)};var Kha=o_.prototype;Kha.dispose=Kha.ad;$.g=t_.prototype;$.g.enqueue=function(a){var b=void 0;if(this.fc.length<this.g)this.fc.push(a),this.b++;else{var c=(this.f+this.b)%this.g;this.b<this.g?this.b++:(b=this.fc[c],this.f=(this.f+1)%this.fc.length);this.fc[c]=a}return b};$.g.eaa=function(){if(this.b){var a=this.fc[this.f];this.f=(this.f+1)%this.fc.length;this.b--}return a};$.g.get=function(a){a=($.Za(+a,this.b)+this.f)%this.fc.length;return(0,window.isNaN)(a)?void 0:this.fc[a]};$.g.Ng=function(){return this.b};
$.g.clear=function(a){this.f=this.b=this.fc.length=0;this.g=$.tn(a,this.g,!1)};var V3=t_.prototype;$.F("anychart.math.cycledQueue",u_);$.F("anychart.calculations.cycledQueue",u_);V3.enqueue=V3.enqueue;V3.dequeue=V3.eaa;V3.get=V3.get;V3.getLength=V3.Ng;V3.clear=V3.clear;$.F("anychart.math.adl.initContext",v_);$.F("anychart.math.adl.startFunction",w_);$.F("anychart.math.adl.calculate",x_);$.F("anychart.math.adl.calculationFunction",y_);$.F("anychart.math.adl.createComputer",z_);$.H(A_,o_);A_.prototype.hd=function(a){return z_(a)};A_.prototype.dh=function(){return"ADL"};A_.prototype.W=function(a){return r_(this,"main",a)};var Lha=A_.prototype;Lha.series=Lha.W;$.F("anychart.math.ama.initContext",B_);$.F("anychart.math.ama.startFunction",C_);$.F("anychart.math.ama.calculationFunction",D_);$.F("anychart.math.ama.createComputer",E_);$.H(F_,o_);$.g=F_.prototype;$.g.hd=function(a){return E_(a,this.g,this.b,this.o)};$.g.dh=function(){return"AMA("+this.g+","+this.b+","+this.o+")"};$.g.W=function(a){return r_(this,"main",a)};$.g.Qb=function(a){return $.p(a)?(a=$.tn(a,this.g,!1),a!=this.g&&(this.g=a,s_(this)),this):this.g};$.g.Wu=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};$.g.ew=function(a){return $.p(a)?(a=$.tn(a,this.o,!1),a!=this.o&&(this.o=a,s_(this)),this):this.o};var W3=F_.prototype;
W3.series=W3.W;W3.period=W3.Qb;W3.fastPeriod=W3.Wu;W3.slowPeriod=W3.ew;$.F("anychart.math.ema.initContext",G_);$.F("anychart.math.ema.startFunction",H_);$.F("anychart.math.ema.calculate",I_);$.F("anychart.math.ema.calculationFunction",J_);$.F("anychart.math.ema.createComputer",K_);$.F("anychart.math.sma.initContext",L_);$.F("anychart.math.sma.startFunction",M_);$.F("anychart.math.sma.calculate",N_);$.F("anychart.math.sma.calculationFunction",O_);$.F("anychart.math.sma.createComputer",P_);$.F("anychart.math.ao.initContext",Q_);$.F("anychart.math.ao.startFunction",R_);$.F("anychart.math.ao.calculate",S_);$.F("anychart.math.ao.calculationFunction",T_);$.F("anychart.math.ao.createComputer",U_);$.H(V_,o_);$.g=V_.prototype;$.g.hd=function(a){return U_(a,this.b,this.g,this.o)};$.g.dh=function(){return"AO("+this.b+", "+this.g+")"};$.g.W=function(a){return r_(this,"main",a)};$.g.Wu=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};$.g.ew=function(a){return $.p(a)?(a=$.tn(a,this.g,!1),a!=this.g&&(this.g=a,s_(this)),this):this.g};$.g.vm=function(a){return $.p(a)?(a=lY(a,this.o),a!=this.o&&(this.o=a,s_(this)),this):this.o};var X3=V_.prototype;
X3.series=X3.W;X3.fastPeriod=X3.Wu;X3.slowPeriod=X3.ew;X3.maType=X3.vm;$.F("anychart.math.atr.initContext",W_);$.F("anychart.math.atr.startFunction",X_);$.F("anychart.math.atr.calculate",Y_);$.F("anychart.math.atr.calculationFunction",Z_);$.F("anychart.math.atr.createComputer",$_);$.H(a0,o_);a0.prototype.hd=function(a){return $_(a,this.b)};a0.prototype.dh=function(){return"ATR("+this.b+")"};a0.prototype.W=function(a){return r_(this,"main",a)};a0.prototype.Qb=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};var Y3=a0.prototype;Y3.series=Y3.W;Y3.period=Y3.Qb;$.F("anychart.math.aroon.initContext",b0);$.F("anychart.math.aroon.startFunction",c0);$.F("anychart.math.aroon.calculationFunction",d0);$.F("anychart.math.aroon.createComputer",e0);$.H(f0,o_);$.g=f0.prototype;$.g.hd=function(a){return e0(a,this.b)};$.g.dh=function(a){switch(a){case "upAroon":return"Aroon up";case "downAroon":return"Aroon down";case "range":return"Aroon"}return""};$.g.Wq=function(a,b,c){switch(c){case "upAroon":a.Ge("value",b.Jf("upResult"));break;case "downAroon":a.Ge("value",b.Jf("downResult"));break;case "range":a.Ge("high",b.Jf("upResult")),a.Ge("low",b.Jf("downResult"))}};
$.g.lha=function(a){null===r_(this,"upAroon")&&(p_(this,"upAroon",this.o),q_(this));return r_(this,"upAroon",a)};$.g.kaa=function(a){null===r_(this,"downAroon")&&(p_(this,"downAroon",this.g),q_(this));return r_(this,"downAroon",a)};$.g.TO=function(a){return r_(this,"range",a)};$.g.Qb=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};var Z3=f0.prototype;Z3.period=Z3.Qb;Z3.upSeries=Z3.lha;Z3.downSeries=Z3.kaa;Z3.rangeSeries=Z3.TO;$.F("anychart.math.bbands.initContext",g0);$.F("anychart.math.bbands.startFunction",h0);$.F("anychart.math.bbands.calculate",i0);$.F("anychart.math.bbands.calculationFunction",j0);$.F("anychart.math.bbands.createComputer",k0);$.H(l0,o_);$.g=l0.prototype;$.g.hd=function(a){return k0(a,this.g,this.b)};$.g.dh=function(a){switch(a){case "upper":return"BBands U";case "lower":return"BBands L";case "middle":return"BBands M";case "range":return"BBands"}return""};$.g.Wq=function(a,b,c){switch(c){case "upper":a.Ge("value",b.Jf("upperResult"));break;case "lower":a.Ge("value",b.Jf("lowerResult"));break;case "middle":a.Ge("value",b.Jf("middleResult"));break;case "range":a.Ge("high",b.Jf("upperResult")),a.Ge("low",b.Jf("lowerResult"))}};
$.g.oha=function(a){return r_(this,"upper",a)};$.g.mda=function(a){return r_(this,"lower",a)};$.g.T8=function(a){return r_(this,"middle",a)};$.g.U8=function(a){return r_(this,"range",a)};$.g.Qb=function(a){return $.p(a)?(a=$.tn(a,this.g,!1),a!=this.g&&(this.g=a,s_(this)),this):this.g};$.g.Ss=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),this.b!=a&&(this.b=a,s_(this)),this):this.b};var $3=l0.prototype;$3.period=$3.Qb;$3.deviation=$3.Ss;$3.upperSeries=$3.oha;$3.lowerSeries=$3.mda;$3.middleSeries=$3.T8;
$3.rangeSeries=$3.U8;$.F("anychart.math.bbandsB.initContext",m0);$.F("anychart.math.bbandsB.startFunction",n0);$.F("anychart.math.bbandsB.calculationFunction",o0);$.F("anychart.math.bbandsB.createComputer",p0);$.H(q0,o_);$.g=q0.prototype;$.g.hd=function(a){return p0(a,this.g,this.b)};$.g.dh=function(){return"BBands %B("+this.g+","+this.b+")"};$.g.W=function(a){return r_(this,"main",a)};$.g.Qb=function(a){return $.p(a)?(a=$.tn(a,this.g,!1),a!=this.g&&(this.g=a,s_(this)),this):this.g};$.g.Ss=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),this.b!=a&&(this.b=a,s_(this)),this):this.b};var a4=q0.prototype;a4.period=a4.Qb;a4.deviation=a4.Ss;a4.series=a4.W;$.F("anychart.math.bbandsWidth.initContext",function(a,b){return g0(a,b)});$.F("anychart.math.bbandsWidth.startFunction",r0);$.F("anychart.math.bbandsWidth.calculate",s0);$.F("anychart.math.bbandsWidth.calculationFunction",t0);$.F("anychart.math.bbandsWidth.createComputer",u0);$.H(v0,o_);$.g=v0.prototype;$.g.hd=function(a){return u0(a,this.g,this.b)};$.g.dh=function(){return"BBands Width("+this.g+","+this.b+")"};$.g.W=function(a){return r_(this,"main",a)};$.g.Qb=function(a){return $.p(a)?(a=$.tn(a,this.g,!1),a!=this.g&&(this.g=a,s_(this)),this):this.g};$.g.Ss=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),this.b!=a&&(this.b=a,s_(this)),this):this.b};var b4=v0.prototype;b4.period=b4.Qb;b4.deviation=b4.Ss;b4.series=b4.W;$.F("anychart.math.cci.initContext",w0);$.F("anychart.math.cci.startFunction",x0);$.F("anychart.math.cci.calculate",y0);$.F("anychart.math.cci.calculationFunction",z0);$.F("anychart.math.cci.createComputer",A0);$.H(B0,o_);B0.prototype.hd=function(a){return A0(a,this.b)};B0.prototype.dh=function(){return"CCI("+this.b+")"};B0.prototype.W=function(a){return r_(this,"main",a)};B0.prototype.Qb=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};var c4=B0.prototype;c4.series=c4.W;c4.period=c4.Qb;$.F("anychart.math.cho.initContext",C0);$.F("anychart.math.cho.startFunction",D0);$.F("anychart.math.cho.calculate",E0);$.F("anychart.math.cho.calculationFunction",F0);$.F("anychart.math.cho.createComputer",G0);$.H(H0,o_);$.g=H0.prototype;$.g.hd=function(a){return G0(a,this.b,this.g,this.o)};$.g.dh=function(){return"CHO("+this.b+","+this.g+")"};$.g.W=function(a){return r_(this,"main",a)};$.g.Wu=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};$.g.ew=function(a){return $.p(a)?(a=$.tn(a,this.g,!1),a!=this.g&&(this.g=a,s_(this)),this):this.g};$.g.vm=function(a){return $.p(a)?(a=lY(a,this.o),a!=this.o&&(this.o=a,s_(this)),this):this.o};var d4=H0.prototype;
d4.series=d4.W;d4.fastPeriod=d4.Wu;d4.slowPeriod=d4.ew;d4.maType=d4.vm;$.F("anychart.math.cmf.initContext",I0);$.F("anychart.math.cmf.startFunction",J0);$.F("anychart.math.cmf.calculate",K0);$.F("anychart.math.cmf.calculationFunction",L0);$.F("anychart.math.cmf.createComputer",M0);$.H(N0,o_);N0.prototype.hd=function(a){return M0(a,this.b)};N0.prototype.dh=function(){return"CMF("+this.b+")"};N0.prototype.W=function(a){return r_(this,"main",a)};N0.prototype.Qb=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};var e4=N0.prototype;e4.series=e4.W;e4.period=e4.Qb;$.F("anychart.math.dmi.initContext",O0);$.F("anychart.math.dmi.startFunction",P0);$.F("anychart.math.dmi.calculate",R0);$.F("anychart.math.dmi.calculationFunction",S0);$.F("anychart.math.dmi.createComputer",T0);$.H(U0,o_);$.g=U0.prototype;$.g.hd=function(a){return T0(a,this.b,this.g,this.o)};$.g.dh=function(a){switch(a){case "pdi":return"+DI("+this.b+")";case "ndi":return"-DI("+this.b+")";case "adx":return"ADX("+this.g+")"}return""};$.g.Wq=function(a,b,c){switch(c){case "pdi":a.Ge("value",b.Jf("pdiResult"));break;case "ndi":a.Ge("value",b.Jf("ndiResult"));break;case "adx":a.Ge("value",b.Jf("adxResult"))}};$.g.tfa=function(a){return r_(this,"pdi",a)};$.g.eea=function(a){return r_(this,"ndi",a)};
$.g.E6=function(a){return r_(this,"adx",a)};$.g.Qb=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};$.g.TA=function(a){return $.p(a)?(a=$.tn(a,this.g,!1),a!=this.g&&(this.g=a,s_(this)),this):this.g};$.g.rN=function(a){return $.p(a)?(a=!!a,a!=this.o&&(this.o=a,s_(this)),this):this.o};var f4=U0.prototype;f4.pdiSeries=f4.tfa;f4.ndiSeries=f4.eea;f4.adxSeries=f4.E6;f4.period=f4.Qb;f4.adxPeriod=f4.TA;f4.useWildersSmoothing=f4.rN;$.H(V0,o_);V0.prototype.hd=function(a){return K_(a,this.b)};V0.prototype.dh=function(){return"EMA("+this.b+")"};V0.prototype.W=function(a){return r_(this,"main",a)};V0.prototype.Qb=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};var g4=V0.prototype;g4.series=g4.W;g4.period=g4.Qb;$.F("anychart.math.ha.initContext",W0);$.F("anychart.math.ha.startFunction",X0);$.F("anychart.math.ha.calculate",Y0);$.F("anychart.math.ha.calculationFunction",Z0);$.F("anychart.math.ha.createComputer",$0);$.H(a1,o_);a1.prototype.hd=function(a){return $0(a)};a1.prototype.dh=function(){return"HA"};a1.prototype.Wq=function(a,b){a.Ge("open",b.Jf("haOpen"));a.Ge("high",b.Jf("haHigh"));a.Ge("low",b.Jf("haLow"));a.Ge("close",b.Jf("haClose"))};a1.prototype.W=function(a){return r_(this,"main",a)};var Mha=a1.prototype;Mha.series=Mha.W;$.F("anychart.math.stochastic.initContext",b1);$.F("anychart.math.stochastic.startFunction",c1);$.F("anychart.math.stochastic.calculate",d1);$.F("anychart.math.stochastic.calculationFunction",e1);$.F("anychart.math.stochastic.createComputer",f1);$.F("anychart.math.kdj.initContext",g1);$.F("anychart.math.kdj.startFunction",h1);$.F("anychart.math.kdj.calculate",i1);$.F("anychart.math.kdj.calculationFunction",j1);$.F("anychart.math.kdj.createComputer",k1);$.H(l1,o_);$.g=l1.prototype;$.g.hd=function(a){return k1(a,this.o,this.b,this.g,this.N,this.G,this.U,this.P)};$.g.dh=function(a){switch(a){case "kSeries":return"%K("+this.o+(1!=this.b?", "+this.b:"")+")";case "dSeries":return"%D("+this.g+")";case "jSeries":return"%J"}return""};$.g.Wq=function(a,b,c){switch(c){case "kSeries":a.Ge("value",b.Jf("kResult"));break;case "dSeries":a.Ge("value",b.Jf("dResult"));break;case "jSeries":a.Ge("value",b.Jf("jResult"))}};
$.g.Y8=function(a){return r_(this,"kSeries",a)};$.g.W8=function(a){return r_(this,"dSeries",a)};$.g.cda=function(a){return r_(this,"jSeries",a)};$.g.vC=function(a){return $.p(a)?(a=$.tn(a,this.o,!1),a!=this.o&&(this.o=a,s_(this)),this):this.o};$.g.sG=function(a){return $.p(a)?(a=lY(a,this.N),a!=this.N&&(this.N=a,s_(this)),this):this.N};$.g.X8=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};
$.g.TE=function(a){return $.p(a)?(a=lY(a,this.G),a!=this.G&&(this.G=a,s_(this)),this):this.G};$.g.V8=function(a){return $.p(a)?(a=$.tn(a,this.g,!1),a!=this.g&&(this.g=a,s_(this)),this):this.g};$.g.LS=function(a){return $.p(a)?(a=$.N(a),(0,window.isNaN)(a)||a==this.U||(this.U=a,s_(this)),this):this.U};$.g.YP=function(a){return $.p(a)?(a=$.N(a),(0,window.isNaN)(a)||a==this.P||(this.P=a,s_(this)),this):this.P};var h4=l1.prototype;h4.kPeriod=h4.vC;h4.kMAType=h4.sG;h4.kMAPeriod=h4.X8;h4.dMAType=h4.TE;
h4.dPeriod=h4.V8;h4.kMultiplier=h4.LS;h4.dMultiplier=h4.YP;h4.kSeries=h4.Y8;h4.dSeries=h4.W8;h4.jSeries=h4.cda;$.F("anychart.math.keltnerChannels.initContext",m1);$.F("anychart.math.keltnerChannels.startFunction",n1);$.F("anychart.math.keltnerChannels.calculate",o1);$.F("anychart.math.keltnerChannels.calculationFunction",p1);$.F("anychart.math.keltnerChannels.createComputer",q1);$.H(r1,o_);$.g=r1.prototype;$.g.hd=function(a){return q1(a,this.b,this.o,this.g,this.G)};$.g.dh=function(a){switch(a){case "ma":return this.g.toUpperCase()+"("+this.b+")";case "range":return"KeltnerChannels"}return""};$.g.Wq=function(a,b,c){switch(c){case "ma":a.Ge("value",b.Jf("maResult"));break;case "range":a.Ge("high",b.Jf("upperResult")),a.Ge("low",b.Jf("lowerResult"))}};$.g.Z8=function(a){return r_(this,"ma",a)};$.g.lX=function(a){return r_(this,"range",a)};
$.g.AG=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};$.g.vm=function(a){return $.p(a)?(a=lY(a,this.g),a!=this.g&&(this.g=a,s_(this)),this):this.g};$.g.BL=function(a){return $.p(a)?(a=$.tn(a,this.G,!1),a!=this.G&&(this.G=a,s_(this)),this):this.G};$.g.FX=function(a){return $.p(a)?(a=$.tn(a,this.o,!1),a!=this.o&&(this.o=a,s_(this)),this):this.o};var i4=r1.prototype;i4.maPeriod=i4.AG;i4.maType=i4.vm;i4.atrPeriod=i4.FX;i4.multiplier=i4.BL;i4.rangeSeries=i4.lX;
i4.maSeries=i4.Z8;$.F("anychart.math.macd.initContext",s1);$.F("anychart.math.macd.startFunction",t1);$.F("anychart.math.macd.calculate",u1);$.F("anychart.math.macd.calculationFunction",v1);$.F("anychart.math.macd.createComputer",w1);$.H(x1,o_);$.g=x1.prototype;$.g.hd=function(a){return w1(a,this.b,this.o,this.g)};$.g.dh=function(a){switch(a){case "macd":return"MACD("+this.b+","+this.o+","+this.g+")";case "signal":return"Signal";case "histogram":return"Histogram"}return""};$.g.Wq=function(a,b,c){switch(c){case "macd":a.Ge("value",b.Jf("macdResult"));break;case "signal":a.Ge("value",b.Jf("signalResult"));break;case "histogram":a.Ge("value",b.Jf("histogramResult"))}};$.g.pda=function(a){return r_(this,"macd",a)};
$.g.c9=function(a){return r_(this,"signal",a)};$.g.Lca=function(a){return r_(this,"histogram",a)};$.g.Wu=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};$.g.ew=function(a){return $.p(a)?(a=$.tn(a,this.o,!1),a!=this.o&&(this.o=a,s_(this)),this):this.o};$.g.JM=function(a){return $.p(a)?(a=$.tn(a,this.g,!1),a!=this.g&&(this.g=a,s_(this)),this):this.g};var j4=x1.prototype;j4.macdSeries=j4.pda;j4.signalSeries=j4.c9;j4.histogramSeries=j4.Lca;j4.fastPeriod=j4.Wu;
j4.slowPeriod=j4.ew;j4.signalPeriod=j4.JM;$.F("anychart.math.mfi.initContext",y1);$.F("anychart.math.mfi.startFunction",z1);$.F("anychart.math.mfi.calculate",A1);$.F("anychart.math.mfi.calculationFunction",B1);$.F("anychart.math.mfi.createComputer",C1);$.H(D1,o_);D1.prototype.hd=function(a){return C1(a,this.b)};D1.prototype.dh=function(){return"MFI("+this.b+")"};D1.prototype.W=function(a){return r_(this,"series",a)};D1.prototype.Qb=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};var k4=D1.prototype;k4.period=k4.Qb;k4.series=k4.W;$.F("anychart.math.mma.initContext",E1);$.F("anychart.math.mma.startFunction",F1);$.F("anychart.math.mma.calculationFunction",G1);$.F("anychart.math.mma.createComputer",H1);$.H(I1,o_);I1.prototype.hd=function(a){return H1(a,this.b)};I1.prototype.dh=function(){return"MMA("+this.b+")"};I1.prototype.W=function(a){return r_(this,"main",a)};I1.prototype.Qb=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};var l4=I1.prototype;l4.series=l4.W;l4.period=l4.Qb;$.F("anychart.math.momentum.initContext",J1);$.F("anychart.math.momentum.startFunction",K1);$.F("anychart.math.momentum.calculate",L1);$.F("anychart.math.momentum.calculationFunction",M1);$.F("anychart.math.momentum.createComputer",N1);$.H(O1,o_);O1.prototype.hd=function(a){return N1(a,this.b)};O1.prototype.dh=function(){return"Momentum("+this.b+")"};O1.prototype.W=function(a){return r_(this,"series",a)};O1.prototype.Qb=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};var m4=O1.prototype;m4.period=m4.Qb;m4.series=m4.W;$.F("anychart.math.obv.initContext",P1);$.F("anychart.math.obv.startFunction",Q1);$.F("anychart.math.obv.calculate",R1);$.F("anychart.math.obv.calculationFunction",S1);$.F("anychart.math.obv.createComputer",T1);$.H(U1,o_);U1.prototype.hd=function(a){return T1(a)};U1.prototype.dh=function(){return"OBV"};U1.prototype.W=function(a){return r_(this,"main",a)};var Nha=U1.prototype;Nha.series=Nha.W;$.F("anychart.math.psar.initContext",V1);$.F("anychart.math.psar.startFunction",W1);$.F("anychart.math.psar.calculate",b2);$.F("anychart.math.psar.calculationFunction",c2);$.F("anychart.math.psar.createComputer",d2);$.H(e2,o_);$.g=e2.prototype;$.g.hd=function(a){return d2(a,this.o,this.g,this.b)};$.g.dh=function(){return"PSAR("+this.o+", "+this.g+", "+this.b+")"};$.g.W=function(a){return r_(this,"series",a)};$.g.t6=function(a){return $.p(a)?(a=$.N(a)||this.b,a!=this.o&&(this.o=a,s_(this)),this):this.o};$.g.s6=function(a){return $.p(a)?(a=$.N(a)||this.b,a!=this.b&&(this.b=a,s_(this)),this):this.b};$.g.r6=function(a){return $.p(a)?(a=$.N(a)||this.g,a!=this.g&&(this.g=a,s_(this)),this):this.g};var n4=e2.prototype;
n4.accelerationFactorStart=n4.t6;n4.accelerationFactorMaximum=n4.s6;n4.accelerationFactorIncrement=n4.r6;n4.series=n4.W;$.F("anychart.math.priceChannels.initContext",f2);$.F("anychart.math.priceChannels.startFunction",g2);$.F("anychart.math.priceChannels.calculate",h2);$.F("anychart.math.priceChannels.calculationFunction",i2);$.F("anychart.math.priceChannels.createComputer",j2);$.H(k2,o_);$.g=k2.prototype;$.g.hd=function(a){return j2(a,this.b)};$.g.dh=function(a){switch(a){case "range":return"PriceChannels";case "middle":return"PriceChannels M"}return""};$.g.Wq=function(a,b,c){switch(c){case "range":a.Ge("high",b.Jf("upperResult"));a.Ge("low",b.Jf("lowerResult"));break;case "middle":a.Ge("value",b.Jf("middleResult"))}};$.g.d9=function(a){return r_(this,"middle",a)};$.g.mX=function(a){return r_(this,"range",a)};
$.g.Qb=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};var o4=k2.prototype;o4.period=o4.Qb;o4.middleSeries=o4.d9;o4.rangeSeries=o4.mX;$.F("anychart.math.rsi.initContext",l2);$.F("anychart.math.rsi.startFunction",m2);$.F("anychart.math.rsi.calculationFunction",n2);$.F("anychart.math.rsi.createComputer",o2);$.H(p2,o_);p2.prototype.hd=function(a){return o2(a,this.b)};p2.prototype.dh=function(){return"RSI("+this.b+")"};p2.prototype.W=function(a){return r_(this,"main",a)};p2.prototype.Qb=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};var p4=p2.prototype;p4.series=p4.W;p4.period=p4.Qb;$.F("anychart.math.roc.initContext",q2);$.F("anychart.math.roc.startFunction",r2);$.F("anychart.math.roc.calculationFunction",s2);$.F("anychart.math.roc.createComputer",t2);$.H(u2,o_);u2.prototype.hd=function(a){return t2(a,this.b)};u2.prototype.dh=function(){return"RoC("+this.b+")"};u2.prototype.W=function(a){return r_(this,"main",a)};u2.prototype.Qb=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};var q4=u2.prototype;q4.series=q4.W;q4.period=q4.Qb;$.H(v2,o_);v2.prototype.hd=function(a){return P_(a,this.b)};v2.prototype.dh=function(){return"SMA("+this.b+")"};v2.prototype.W=function(a){return r_(this,"main",a)};v2.prototype.Qb=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};var r4=v2.prototype;r4.series=r4.W;r4.period=r4.Qb;$.H(w2,o_);$.g=w2.prototype;$.g.hd=function(a){return f1(a,this.o,this.b,this.g,this.N,this.G)};$.g.dh=function(a){switch(a){case "kSeries":return"%K("+this.o+(1!=this.b?", "+this.b:"")+")";case "dSeries":return"%D("+this.g+")"}return""};$.g.Wq=function(a,b,c){switch(c){case "kSeries":a.Ge("value",b.Jf("kResult"));break;case "dSeries":a.Ge("value",b.Jf("dResult"))}};$.g.h9=function(a){return r_(this,"kSeries",a)};$.g.f9=function(a){return r_(this,"dSeries",a)};
$.g.vC=function(a){return $.p(a)?(a=$.tn(a,this.o,!1),a!=this.o&&(this.o=a,s_(this)),this):this.o};$.g.sG=function(a){return $.p(a)?(a=lY(a,this.N),a!=this.N&&(this.N=a,s_(this)),this):this.N};$.g.g9=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};$.g.TE=function(a){return $.p(a)?(a=lY(a,this.G),a!=this.G&&(this.G=a,s_(this)),this):this.G};$.g.e9=function(a){return $.p(a)?(a=$.tn(a,this.g,!1),a!=this.g&&(this.g=a,s_(this)),this):this.g};var s4=w2.prototype;
s4.kPeriod=s4.vC;s4.kMAType=s4.sG;s4.kMAPeriod=s4.g9;s4.dMAType=s4.TE;s4.dPeriod=s4.e9;s4.kSeries=s4.h9;s4.dSeries=s4.f9;$.F("anychart.math.trix.initContext",x2);$.F("anychart.math.trix.startFunction",Qga);$.F("anychart.math.trix.calculate",Rga);$.F("anychart.math.trix.calculationFunction",Sga);$.F("anychart.math.trix.createComputer",Tga);$.H(y2,o_);$.g=y2.prototype;$.g.hd=function(a){return Tga(a,this.b,this.g,this.G,this.o)};$.g.dh=function(a){switch(a){case "trix":return"TRIX("+this.b+")";case "signal":return this.o.toUpperCase()+"("+this.g+")"}return""};$.g.Wq=function(a,b,c){switch(c){case "trix":a.Ge("value",b.Jf("trix"));break;case "signal":a.Ge("value",b.Jf("signal"))}};$.g.jha=function(a){return r_(this,"trix",a)};$.g.i9=function(a){return r_(this,"signal",a)};
$.g.Qb=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};$.g.JM=function(a){return $.p(a)?(a=$.tn(a,this.g,!1),a!=this.g&&(this.g=a,s_(this)),this):this.g};$.g.xga=function(a){return $.p(a)?(a=lY(a,this.o),a!=this.o&&(this.o=a,s_(this)),this):this.o};$.g.vm=function(a){return $.p(a)?(a=lY(a,this.G),a!=this.G&&(this.G=a,s_(this)),this):this.G};var t4=y2.prototype;t4.trixSeries=t4.jha;t4.signalSeries=t4.i9;t4.period=t4.Qb;t4.signalPeriod=t4.JM;
t4.signalMaType=t4.xga;t4.maType=t4.vm;$.F("anychart.math.volumeMA.initContext",Uga);$.F("anychart.math.volumeMA.startFunction",Vga);$.F("anychart.math.volumeMA.calculate",Wga);$.F("anychart.math.volumeMA.calculationFunction",Xga);$.F("anychart.math.volumeMA.createComputer",Yga);$.H(z2,o_);$.g=z2.prototype;$.g.hd=function(a){return Yga(a,this.b,this.g)};$.g.dh=function(a){switch(a){case "volumeSeries":return"Volume";case "maSeries":return this.g.toUpperCase()+"("+this.b+")"}return""};$.g.Wq=function(a,b,c){switch(c){case "volumeSeries":a.Ge("value",b.Jf("volumeResult"));break;case "maSeries":a.Ge("value",b.Jf("maResult"))}};$.g.tha=function(a){return r_(this,"volumeSeries",a)};$.g.j9=function(a){return r_(this,"maSeries",a)};
$.g.AG=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};$.g.vm=function(a){return $.p(a)?(a=lY(a,this.g),a!=this.g&&(this.g=a,s_(this)),this):this.g};var u4=z2.prototype;u4.maPeriod=u4.AG;u4.maType=u4.vm;u4.maSeries=u4.j9;u4.volumeSeries=u4.tha;$.F("anychart.math.williamsR.initContext",Zga);$.F("anychart.math.williamsR.startFunction",$ga);$.F("anychart.math.williamsR.calculate",aha);$.F("anychart.math.williamsR.calculationFunction",bha);$.F("anychart.math.williamsR.createComputer",cha);$.H(A2,o_);A2.prototype.hd=function(a){return cha(a,this.b)};A2.prototype.dh=function(){return"Williams %R("+this.b+")"};A2.prototype.W=function(a){return r_(this,"series",a)};A2.prototype.Qb=function(a){return $.p(a)?(a=$.tn(a,this.b,!1),a!=this.b&&(this.b=a,s_(this)),this):this.b};var v4=A2.prototype;v4.period=v4.Qb;v4.series=v4.W;var B2={};B2.adl=A_;B2.ama=F_;B2.ao=V_;B2.aroon=f0;B2.atr=a0;B2.bbands=l0;B2["bbands-b"]=q0;B2["bbands-width"]=v0;B2.cci=B0;B2.cho=H0;B2.cmf=N0;B2.dmi=U0;B2.ema=V0;B2.ha=a1;B2.kdj=l1;B2["keltner-channels"]=r1;B2.macd=x1;B2.mfi=D1;B2.mma=I1;B2.momentum=O1;B2.obv=U1;B2["price-channels"]=k2;B2.psar=e2;B2.roc=u2;B2.rsi=p2;B2.sma=v2;B2.stochastic=w2;B2.trix=y2;B2["volume-ma"]=z2;B2["williams-r"]=A2;$.H(E2,$.Us);$.Xx(E2,"plot","dataarea");E2.prototype.iK=window.NaN;E2.prototype.WQ=window.NaN;E2.prototype.ra=$.Us.prototype.ra|68;E2.prototype.qa=$.Us.prototype.qa|17301440;var w4={};$.ep(w4,[[0,"pointWidth",$.on],[0,"maxPointWidth",$.on],[0,"minPointLength",$.on],[0,"baseline",$.mp]]);$.S(E2,w4);$.g=E2.prototype;
$.g.An=function(){var a=this.Fa("chartElements")||{axes:{},grids:{}};a.series=this.Na.length;a.axes.x=1;a.axes.y=0;a.grids.x=0;a.grids.y=0;a.grids.xMinor=0;a.grids.yMinor=0;for(var b=Math.max(this.Lf.length,this.vg.length,this.wg.length,this.Ig.length,this.Jg.length);b--;)this.Lf[b]&&a.axes.y++,this.vg[b]&&a.grids.x++,this.wg[b]&&a.grids.y++,this.Ig[b]&&a.grids.xMinor++,this.Jg[b]&&a.grids.yMinor++;this.Fa("chartElements",a)};
$.g.Fa=function(a,b){return $.p(a)?$.p(b)?(this.Em[a.toLowerCase()]=b,this):this.Em[a.toLowerCase()]:this.Em};$.g.nH=function(){this.Em={}};$.g.pg=function(a){this.An();return this.Fa(a)};$.g.fB=function(a,b,c){return this.de("area",a,b,c)};$.g.wP=function(a,b,c){return this.de("candlestick",a,b,c)};$.g.JE=function(a,b,c){return this.de("column",a,b,c)};$.g.KS=function(a,b,c){return this.de("jump-line",a,b,c)};$.g.EH=function(a,b,c){return this.de("stick",a,b,c)};
$.g.line=function(a,b,c){return this.de("line",a,b,c)};$.g.Nq=function(a,b,c){return this.de("marker",a,b,c)};$.g.CT=function(a,b,c){return this.de("ohlc",a,b,c)};$.g.fU=function(a,b,c){return this.de("range-area",a,b,c)};$.g.gU=function(a,b,c){return this.de("range-column",a,b,c)};$.g.hU=function(a,b,c){return this.de("range-spline-area",a,b,c)};$.g.iU=function(a,b,c){return this.de("range-step-area",a,b,c)};$.g.aV=function(a,b,c){return this.de("spline",a,b,c)};
$.g.bV=function(a,b,c){return this.de("spline-area",a,b,c)};$.g.fV=function(a,b,c){return this.de("step-area",a,b,c)};$.g.gV=function(a,b,c){return this.de("step-line",a,b,c)};$.g.iS=function(a,b,c){return this.de("hilo",a,b,c)};$.g.Ak=function(a){var b=[],c=this.np(),d=arguments.length;$.U(this);if(d)for(var e=0;e<d;e++)b.push(this.de(c,arguments[e]));else b.push(this.de(c,null));this.da(!0);return b};$.g.ix=function(a){return $.ua(this.Na,function(b){return b.id()==a})};$.g.Oe=function(a){return this.Zh(this.ix(a))};
$.g.Zh=function(a){return this.Na[a]||null};$.g.jk=function(){return this.Na.length};$.g.Vn=function(a){return this.nn(this.ix(a))};$.g.nn=function(a){var b=this.Na[a];b&&($.Bo++,$.Ba(this.Na,a,1),$.hd(b),this.u(34944,1),$.Eo());return this};$.g.Ro=function(){if(this.Na.length){$.Bo++;var a=this.Na;this.Na=[];$.jd(a);this.u(34944,1);$.Eo()}return this};$.g.Ne=function(){return this.Na};
$.g.wr=function(a){this.ki||(this.ki=new $.Yx,$.V(this,"defaultSeriesSettings",this.ki));return $.p(a)?(this.ki.ma=a,this):this.ki};$.g.lK=function(a){return a.check(32768)?31:30};$.g.de=function(a,b,c,d){var e=this.Ba.av(a);e?(a=new UZ(this.Ba,this,a,e[1]),e=(e=this.Na[this.Na.length-1])?e.bh()+1:0,this.Na.push(a),a.bh(e),$.tz(a),a.data(b||null,c,d),a.clip(!0),a.Wp(this.Yb().ic(e)),$.wz(a,this.lf().ic(e)),a.aw(this.be().ic(e)),a.qb(this),$.L(a,this.sH,this),this.u(2176,1)):a=null;return a};dha(E2);
$.g=E2.prototype;$.g.np=function(a){return $.p(a)?(this.eQ=a=kY(a),this):this.eQ};$.g.sc=function(){return this.Ba};$.g.cz=function(a){if($.p(a))return this.lp=a,this;this.lp||(this.lp=$.ml("stock.defaultPlotSettings.defaultGridSettings"));return this.lp};$.g.dz=function(a){if($.p(a))return this.mp=a,this;this.mp||(this.mp=$.ml("stock.defaultPlotSettings.defaultMinorGridSettings"));return this.mp};
$.g.zY=function(a){if($.p(a))return this.cQ=a,this;this.cQ||(this.cQ=$.ml("stock.defaultPlotSettings.defaultPriceIndicatorSettings"));return this.cQ};$.g.yx=function(){for(var a=this.Na.length;a--;)this.Na[a].Fo()&&this.Na[a].u(1024)};$.g.Ufa=function(a){for(var b=0;b<this.Na.length;b++){var c=this.Na[b];c&&c.bD();a||c.u(1024)}};$.g.cA=function(a){for(var b=0;b<this.Na.length;b++){var c=this.Na[b];c&&c.bD()}a||this.yx()};
$.g.xx=function(a,b){var c,d=1024;a&&(d|=4);for(c=0;c<this.Na.length;c++)this.Na[c]&&this.Na[c].u(d);this.ll&&this.ll.u(64);this.Ba.o&&this.bk().Fz();for(c=0;c<this.Lf.length;c++)if(d=this.Lf[c])$.U(d),d.Sn(),d.da(!1);var e=$.Fa(this.vg,this.wg,this.Ig,this.Jg);for(c=0;c<e.length;c++)(d=e[c])&&d.u(64);e=$.Fa(this.Sf,this.Uf,this.Zf);for(c=0;c<e.length;c++)(d=e[c])&&d.u(20);d=16;a&&(d|=4);this.bc&&this.bc.u(d);!b&&this.bi&&this.bi.enabled()&&this.bi.u(d);for(c=0;c<this.Gt.length;c++)(d=this.Gt[c])&&
d.u(20);this.u(388992);$.$p(this,"plot","dataarea")};$.g.ag=function(){G2(this);return this.Oh};$.g.yq=function(){return 32781};$.g.Gu=function(a){this.Pm||(this.Pm=new $.Zx,$.V(this,"dataArea",this.Pm),$.L(this.Pm,this.ZP,this));return $.p(a)?(this.Pm.K(a),this):this.Pm};$.g.ZP=function(a){$.W(a,1)&&$.$p(this,"plot","dataarea",1)};
$.g.background=function(a){this.Ha||(this.Ha=new $.Ws,this.Ha.enabled(!1),this.Ha.zIndex(1),$.V(this,"background",this.Ha),this.Ha.am(!0),$.L(this.Ha,this.Qf,this));return $.p(a)?(this.Ha.K(a),this):this.Ha};$.g.Af=function(a){this.bi||(this.bi=new $.qv,$.L(this.bi,this.Qea,this),this.bi.wa("dragstart",function(){Z2(this.Ba)},!1,this),this.bi.wa("dragend",function(){$2(this.Ba)},!1,this),this.bi.qb(this),$.V(this,"legend",this.bi));return $.p(a)?(this.bi.K(a),this):this.bi};
$.g.bb=function(a){if($.p(a)){if(a=$.Vr(this.tc,a,null,3,["Stock plot Y scale","scatter","linear, log"],this.ny,this)){var b=this.tc==a;this.tc=a;this.tc.da(b);b||(this.xx(!1),this.ua(1))}return this}this.tc||(this.tc=$.Rr(),$.L(this.tc,this.ny,this));return this.tc};$.g.ny=function(a){for(var b=0,c=0;c<this.Na.length;c++){var d=this.Na[c];d&&d.enabled()&&d.bb()==this.tc&&(b|=d.u(1024))}b&&(b=1,$.W(a,4)&&(b|=4),this.u(128,b))};
$.g.fi=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.Lf[c];e||(e=new $.gx,this.Lf[c]=e,e.Ia("stock.defaultPlotSettings.defaultYAxisSettings",this.aF),e.qb(this),$.L(e,this.yha,this),this.u(260,1));return $.p(d)?(e.K(d),this):e};
$.g.N0=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.Gt[c];e||(e=new nZ,e.Ia("stock.defaultPlotSettings.defaultPriceIndicatorSettings",this.zY()),oZ(e),this.Gt[c]=e,e.zIndex(150),e.N=this,e.qb(this),$.L(e,this.Cfa,this),this.u(16384,1));return $.p(d)?(e.K(d),this):e};
$.g.ah=function(a){this.bc||(this.bc=new mZ(this.Ba),this.bc.qb(this),this.bc.Fe(!0,!1),this.bc.zIndex(35),$.V(this,"xAxis",this.bc),$.L(this.bc,this.BV,this),this.u(516,1));return $.p(a)?(this.bc.K(a),this):this.bc};$.g.tF=function(a){return a?this.Lf[a-1]:this.bc};$.g.kx=function(){return this.bc};$.g.mx=function(a){return this.Lf[a]};$.g.zo=function(a){return a.ma.zIndex+.001*(this.vg.length+this.wg.length+this.Ig.length+this.Jg.length)};
$.g.Im=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.vg[c];e||(e=new pZ,e.hj=this,$.Ax(e,"vertical"),e.Ia("stock.defaultPlotSettings.defaultGridSettings",this.cz()),e.zIndex(this.zo(e)),this.vg[c]=e,$.L(e,this.Hx,this),this.u(1024,1));return $.p(d)?(e.K(d),this):e};
$.g.Jm=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.wg[c];e||(e=new pZ,e.hj=this,$.Ax(e,"horizontal"),e.Ia("stock.defaultPlotSettings.defaultGridSettings",this.cz()),e.zIndex(this.zo(e)),this.wg[c]=e,$.L(e,this.Hx,this),this.u(1024,1));return $.p(d)?(e.K(d),this):e};
$.g.dr=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.Ig[c];e||(e=new pZ,e.Ia("defaultMinorGridSettings","stock.defaultPlotSettings.defaultMinorGridSettings",this.dz()),e.hj=this,$.Ax(e,"vertical"),e.zIndex(this.zo(e)),this.Ig[c]=e,$.L(e,this.Hx,this),this.u(1024,1));return $.p(d)?(e.K(d),this):e};
$.g.gr=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.Jg[c];e||(e=new pZ,e.hj=this,$.Ax(e,"horizontal"),e.Ia("defaultMinorGridSettings","stock.defaultPlotSettings.defaultMinorGridSettings",this.dz()),e.zIndex(this.zo(e)),this.Jg[c]=e,$.L(e,this.Hx,this),this.u(1024,1));return $.p(d)?(e.K(d),this):e};
$.g.title=function(a){if(!this.nb){this.nb=new $.vu;this.nb.qb(this);var b=this.nb;$.p(!0)&&(b.C_=!0);$.V(this,"title",this.nb);this.nb.am(!0);$.L(this.nb,this.LT,this)}return $.p(a)?(this.nb.K(a),this):this.nb};$.g.LT=function(a){var b=131072,c=0;$.W(a,1)&&(c|=1);$.W(a,8)&&(b|=4,c|=8);this.u(b,c)};$.g.XE=function(a){return $.p(a)?(this.bQ=a,this):this.bQ||{}};$.g.ZE=function(a){return $.p(a)?(this.fQ=a,this):this.fQ||{}};$.g.YE=function(a){return $.p(a)?(this.dQ=a,this):this.dQ||{}};
$.g.um=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.Sf[c];e||(e=new $.ty,e.Ba=this,e.Ia("stock.defaultPlotSettings.defaultLineMarkerSettings",this.XE()),$.uy(e,"horizontal"),this.Sf[c]=e,$.L(e,this.Tz,this),this.u(262144,1));return $.p(d)?(e.K(d),this):e};
$.g.Cm=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.Uf[c];e||(e=new $.wy,e.Ba=this,e.Ia("stock.defaultPlotSettings.defaultRangeMarkerSettings",this.YE()),$.xy(e,"horizontal"),this.Uf[c]=e,$.L(e,this.Tz,this),this.u(262144,1));return $.p(d)?(e.K(d),this):e};
$.g.Gm=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.Zf[c];e||(e=new $.zy,e.Ba=this,e.Ia("stock.defaultPlotSettings.defaultTextMarkerSettings",this.ZE()),$.nx(e,"horizontal"),this.Zf[c]=e,$.L(e,this.Tz,this),this.u(262144,1));return $.p(d)?(e.K(d),this):e};$.g.Tz=function(a){$.W(a,4)&&this.Ba.u(32768);this.u(262144,1)};$.g.remove=function(){this.Va&&this.Va.remove()};
$.g.X=function(){if(!this.xc())return this;$.U(this);var a=this.zm().label();var b=this.ej();a.visible()!==b&&this.Va&&(b=this.dispatchEvent({type:"datachanged",chart:this,hasData:!b})&&b);a.visible(b);this.iz();this.J(2)&&(this.Va.parent(this.O()),this.I(2));this.J(8)&&(this.Va.zIndex(this.zIndex()),this.I(8));if(this.J(4096)){var c=this.Yb(),d=this.lf(),e=this.be();for(b=0;b<this.Na.length;b++){var f=this.Na[b];var h=f.bh();f.Wp(c.ic(h));$.wz(f,d.ic(h));f.aw(e.ic(h))}this.xx(!1);this.I(4096)}if(this.J(256))for(b=
0;b<this.Lf.length;b++)if(f=this.Lf[b])$.U(f),f.scale()||f.scale(this.bb()),f.da(!1);this.J(512)&&this.bc&&($.U(this.bc),this.bc.scale(this.Ba.Wa()),this.bc.da(!1));G2(this);if(this.J(256)){for(b=0;b<this.Lf.length;b++)if(f=this.Lf[b])$.U(f),$.wt(f.labels()),$.wt(f.jb()),f.O(this.Va),f.X(),f.da(!1);this.I(256)}this.J(512)&&(this.bc&&($.U(this.bc),this.bc.O(this.Va),this.bc.X(),this.bc.da(!1)),this.I(512));if(this.J(1024)){f=$.Fa(this.vg,this.wg,this.Ig,this.Jg);for(b=0;b<f.length;b++)if(c=f[b])$.U(c),
c.scale()||(c.Fb()?c.scale(this.bb()):c.scale(this.Ba.Wa())),c.fa(this.Oh),c.O(this.Va),c.X(),c.da(!1);this.I(1024)}if(this.J(131072)){if(b=$.hq(this,"title"))b.am(!1),$.U(b),b.O(this.Va),b.X(),b.da(!1);this.I(131072)}if(this.J(262144)){f=$.Fa(this.Sf,this.Uf,this.Zf);for(b=0;b<f.length;b++)if(c=f[b])$.U(c),c.scale()||c.SI(c.Fb()?this.bb():this.Ba.Wa()),c.fa(this.Oh),c.O(this.Va),c.X(),c.da(!1);this.I(262144)}if(this.J(64)){if(b=$.hq(this,"background"))b.am(!1),$.U(b),b.O(this.Va),b.X(),b.da(!1);
this.I(64)}if(this.J(128)){c="direct"==this.bb().hw();for(b=0;b<this.Na.length;b++)if(f=this.Na[c?this.Na.length-b-1:b])$.U(f),f.fa(this.Oh),f.O(this.Va),f.X(),f.da(!1);this.cA(!0);this.I(128)}this.J(8192)&&(this.Ba.o&&(b=this.bk(),$.U(b),b.fa(this.Oh),b.O(this.Va),b.X(),b.da(!1)),this.I(8192));this.J(65536)&&(b=this.Ni(),$.U(b),b.fa(this.Oh),b.O(this.Va),b.Ch=200,b.X(),b.da(!1),this.I(65536));if(this.J(16384)){for(b=0;b<this.Gt.length;b++)if(f=this.Gt[b])$.U(f),f.fa(this.Oh),f.O(this.Va),f.X(),f.da(!1);
this.I(16384)}this.J(16777216)&&(b=this.Mg(),$.U(b),b.fa(this.ag()),b.O(this.Va),b.ah(this.bc),b.X(),b.da(!1),this.I(16777216));this.J(32768)&&($.U(a),a.O(this.Va),a.fa(this.Oh),a.X(),a.da(!1),this.I(32768));$.cq(this,"plot","dataarea")&&(a=this.Gu(),$.U(a),a.O()||a.O(this.Va),a.fa(this.Oh),a.da(!1),a.X(),$.bq(this,"plot","dataarea"));this.da(!1);return this};
$.g.iz=function(){this.Va||(this.Va=$.Zi(),$.Ps(this,this.Va),this.Ag=this.Va.rect(),this.Ag.zIndex(199),this.Ag.fill($.Rk),this.Ag.stroke(null),this.Ac.Ie(this.Ag,"mousedown",this.tt),this.Ac.Ie(this.Ag,"touchstart",this.tt),this.Ac.wa(this.Ag,"touchstart",this.Eca),this.Ac.wa(this.Ag,"touchend",this.Dca),this.Ac.wa(this.Ag,"mouseover",this.a_),this.Ac.wa(this.Ag,"mousemove",this.a_),this.Ac.wa(this.Ag,"mouseout",this.Aca),this.Ac.wa(this.Ag,"mousedown",this.zca))};
$.g.DZ=function(a,b,c){b=b||((0,window.isNaN)(this.SK)?kZ(this.Ba.b):this.SK);var d;return!(0,window.isNaN)(b)&&(d=a)&&($.z(d)&&(d=$.it($.gt.zd(),d)),$.E(d))?(a=this.Ba.bn(),b={value:{value:b,type:"date-time"},rawValue:{value:c,type:"date-time"},hoveredDate:{value:b,type:"date-time"},dataIntervalUnit:{value:a.Ln().unit,type:"string"},dataIntervalUnitCount:{value:a.Ln().count,type:"number"},isGrouped:{value:a.rC(),type:""}},b=$.Lt(new $.$u(b)),d.call(b,b)):null};
$.g.Qea=function(a){var b=0,c=1;$.W(a,1)&&(b|=2048);$.W(a,8)&&(b|=4,c|=8);this.u(b,c)};$.g.Nl=function(a,b){for(var c=[],d=0;d<this.Na.length;d++){var e=this.Na[d];if(e){var f=e.$B(b);f.sourceUid=$.oa(this);f.sourceKey=e.id();c.push(f)}}return c};$.g.Vr=function(a){return"default"==a};$.g.Lq=function(a){a=a.ei();if(a=this.Oe(a))a.enabled(!a.enabled()),a.enabled()?a.nk():a.Cd()};$.g.Ep=function(a){var b=a.ei();(!a||null!=b||(0,window.isNaN)(b))&&(a=this.Oe(b))&&a.nk()};
$.g.Dp=function(a){var b=a.ei();(!a||null!=b||(0,window.isNaN)(b))&&(a=this.Oe(b))&&a.Cd()};$.g.VG=function(){return!0};$.g.TC=function(a){return(0,$.Va)(this.Na,function(b){return{series:b,point:b&&b.enabled()&&b.TC(a)||null}})};
$.g.Rn=function(a,b,c,d,e){if(this.Va&&this.Oh&&this.enabled()){var f="sticky"==this.Mg().i("displayMode"),h=f?a:b,k=this.Ba.Wa().transform(h),l=$.Xb(this.Mg().i("yStroke")),m=this.Oh.left+k*this.Oh.width;m=$.O(m,l);f&&e&&(d=e.pointYRatio,e=$.Ii(this.O().Ga()),d=$.O(this.Oh.height-d*this.Oh.height+this.Oh.top+e.y,l));l=this.Mg();e=this.qG;$.p(e)&&(l.CV=e);l=this.Mg();e=this.qG;f=c!=this;c=d;l.enabled()&&(f?l.gS():$.p(c)&&(d=$.Ii(l.O().Ga()),c-=d.y,d=$.Ey(l),l.Rw(d,!1,m,c)),l.IB(l.bc,!0,m,c||0),d=
$.Dy(l),l.Rw(d,!0,m,c||0,k,e));for(k=0;k<this.Na.length;k++)if(c=this.Na[k])XZ(c),c.Rn(h,a);this.bi&&this.bi.enabled()&&(h=gha(this.Ba.Wa(),h),F2(this,null,a,b,h));this.ua(64)}};$.g.qV=function(){if(this.enabled()){this.SK=window.NaN;for(var a=0;a<this.Na.length;a++){var b=this.Na[a];b&&XZ(b)}this.Mg().Wc();this.bi&&this.bi.enabled()&&F2(this,null,kZ(this.Ba.b));this.ua(64)}};$.g.XC=function(){this.df&&this.df.Bo&&this.df.XC();this.sy&&this.Ba.XC(this.sy.anchor)};
$.g.tt=function(a){this.df=new J2(this,this.Ag);this.df.Wk(a.zk)};$.g.Eca=function(a){var b=a.zk,c=b.Mk.touches;if(c&&1<c.length&&(this.df.Vw(b),2==c.length)){b=[];for(var d={},e=0;2>e;e++){var f=c[e];b[e+e]=void 0!==f.clientX?f.clientX:f.pageX;b[e+e+1]=void 0!==f.clientY?f.clientY:f.pageY;d[f.identifier]=!0}this.sy={anchor:this.Ba.AF(),x:(b[0]+b[2])/2,y:(b[1]+b[3])/2,Rf:$.Wl.apply(null,b),Pca:d};$.yd($.Ko,"touchmove",this.c_,{capture:!0,passive:!1},this);a.preventDefault()}};
$.g.c_=function(a){var b=a.Mk.touches;if(this.sy&&b&&1<b.length){for(var c=[],d=0;d<b.length;d++){var e=b[d];e.identifier in this.sy.Pca&&(c[d+d]=void 0!==e.clientX?e.clientX:e.pageX,c[d+d+1]=void 0!==e.clientY?e.clientY:e.pageY)}b=(c[0]+c[2])/2;d=$.Wl.apply(null,c);this.GN={anchor:this.sy.anchor,x:b,y:(c[1]+c[3])/2,Rf:d,Kn:(b-this.sy.x)/this.Oh.width,Y$:d/this.sy.Rf};$.p(this.S2)||(this.S2=$.Vj.requestAnimationFrame(this.Dha));a.preventDefault()}};
$.g.Dca=function(a){a=a.zk.Mk;var b=a.touches;1==b.length&&($.Gd($.Ko,"touchmove",this.c_,{capture:!0,passive:!1},this),b=b[0],a=new $.pd(a),a.clientX=void 0!==b.clientX?b.clientX:b.pageX,a.clientY=void 0!==b.clientY?b.clientY:b.pageY,a.screenX=b.screenX||0,a.screenY=b.screenY||0,this.sy=null,this.df.Wk(a))};
$.g.a_=function(a){if(this.Oh){var b=$.Ii(this.O().Ga()),c=a.clientX-b.x-this.Oh.left;b=a.clientY-b.y-this.Oh.top;0<=c&&c<=this.Oh.width&&0<=b&&b<=this.Oh.height&&(this.iK=c/this.Oh.width,this.WQ=b/this.Oh.height,this.nba=a.clientX,this.oba=a.clientY,a=this.Mg(),c=this.qG,$.p(c)&&(a.CV=c),$.p(this.cj)||(this.cj=$.Vj.requestAnimationFrame(this.Br)))}};$.g.Aca=function(){this.dispatchEvent("mouseout");this.WQ=this.iK=window.NaN;$.p(this.cj)||(this.cj=$.Vj.requestAnimationFrame(this.Br))};
$.g.zca=function(){this.Ba.o&&this.bk().Pd()};$.g.Mg=function(a){this.vf||(this.vf=new $.Cy,this.vf.wl=this,$.V(this,"crosshair",this.vf),$.L(this.vf,this.Sz,this),this.u(16777216,1));return $.p(a)?(this.vf.K(a),this):this.vf};$.g.Sz=function(){this.u(16777216,1)};
$.g.bk=function(a){this.Ba.o?this.Gf||(this.Gf=new this.Ba.o.PlotController(this.Ba.bk(),this),$.L(this.Gf,this.sO,this),this.Gf.qb(this),this.Gf.K(this.ma.annotations)):$.Sj(4,null,["Annotations"]);return $.p(a)?(this.Gf&&this.Gf.K(a),this):this.Gf||null};$.g.Ni=function(a){this.ll||(this.ll=new l_(this,this.Ba.Ni()),$.L(this.ll,this.bba,this),this.ll.qb(this.Ba.Ni()));return $.p(a)?(this.ll.K(a),this):this.ll};$.g.bba=function(){this.u(65536,1)};$.g.sO=function(){this.u(8192,1)};
$.g.Qf=function(){this.u(64,1)};$.g.sH=function(a){var b=1,c=128;$.W(a,64)&&(c|=2048);$.W(a,4)&&(b|=4);this.u(c,b)};$.g.yha=function(a){var b=256;$.W(a,8)&&(b|=4);this.u(b,1)};$.g.Cfa=function(){this.u(16384,1)};$.g.BV=function(a){var b=512;$.W(a,8)&&(b|=4);this.u(b,1)};$.g.Hx=function(){this.u(1024,1)};
$.g.Yb=function(a){if($.K(a,$.xr))return this.Hc($.xr,a),this;if($.K(a,$.ur))return this.Hc($.ur,a),this;$.D(a)&&"range"==a.type?this.Hc($.xr):($.D(a)||null==this.Aa)&&this.Hc($.ur);return $.p(a)?(this.Aa.K(a),this):this.Aa};$.g.lf=function(a){this.oe||(this.oe=new $.wr,$.V(this,"markerPalette",this.oe),$.L(this.oe,this.Df,this));return $.p(a)?(this.oe.K(a),this):this.oe};
$.g.be=function(a){this.Vc||(this.Vc=new $.vr,$.V(this,"hatchFillPalette",this.Vc),$.L(this.Vc,this.Df,this));return $.p(a)?(this.Vc.K(a),this):this.Vc};$.g.Hc=function(a,b){if($.K(this.Aa,a))b&&this.Aa.K(b);else{var c=!!this.Aa;$.hd(this.Aa);this.Aa=new a;b&&this.Aa.K(b);$.L(this.Aa,this.Df,this);c&&this.u(4608,1)}};$.g.Df=function(a){$.W(a,2)&&this.u(4096,1)};$.g.iJ=function(){return new $.Ut};$.g.yT=function(a){$.W(a,1)&&this.u(32768,1)};
$.g.zm=function(a){this.Mp||(this.Mp=new $.Mt(this),$.L(this.Mp,this.yT,this));return $.p(a)?(this.Mp.K(a),this):this.Mp};$.g.fL=function(a){var b=a.na;b=b?b.f.Eb():0;return!(!a.enabled()||!b)};$.g.ej=function(){for(var a=0,b=this.Na.length,c=0;c<b&&!this.fL(this.Na[c]);c++)a++;return a==b};
$.g.R=function(){$.jd(this.Gf,this.nb,this.ll,this.Ha,this.bc,this.Lf,this.Mp,this.Va,this.vf,this.ki,this.lp,this.mp,this.aF,this.bi,this.vg,this.wg,this.Ig,this.Jg,this.Na,this.Pm,this.nC,this.Gt,this.Sf,this.Uf,this.Zf,this.Aa,this.oe,this.Vc);this.Vc=this.oe=this.Aa=this.Pm=this.bi=this.aF=this.mp=this.lp=this.ki=this.vf=this.Va=this.Mp=this.bc=this.Ha=this.ll=this.nb=this.Gf=null;this.nC.length=0;this.Na.length=0;this.Lf.length=0;this.vg.length=0;this.wg.length=0;this.Ig.length=0;this.Jg.length=
0;this.Sf.length=0;this.Uf.length=0;this.Zf.length=0;this.Gt.length=0;E2.B.R.call(this);var a=this.Ba;$.Ea(a.f,this)&&a.u(4100,9);delete this.Ba};
$.g.F=function(){var a=E2.B.F.call(this),b={},c=[],d=[],e,f;$.Bp(this,w4,a);b[$.oa(this.bb())]=this.bb().F();c.push(b[$.oa(this.bb())]);a.yScale=c.length-1;a.defaultSeriesType=this.np();a.background=this.background().F();a.title=this.title().F();a.noDataLabel=this.zm().label().F();a.dataArea=this.Gu().F();d.push($.oa(this.ah()));a.xAxis=this.ah().F();a.palette=this.Yb().F();a.markerPalette=this.lf().F();a.hatchFillPalette=this.be().F();a.crosshair=this.Mg().F();var h=[];for(f=0;f<this.Lf.length;f++){var k=
this.Lf[f];var l=k.F();if(e=k.scale()){var m=$.oa(e);b[m]?l.scale=(0,$.xa)(c,b[m]):(b[m]=e.F(),c.push(b[m]),l.scale=c.length-1)}d.push($.oa(k));h.push(l)}h.length&&(a.yAxes=h);l=[];for(f=0;f<this.Gt.length;f++)(e=this.Gt[f])&&(l[f]=e.F());l.length&&(a.priceIndicators=l);H2("xGrids",this.vg,a,c,b,d);H2("yGrids",this.wg,a,c,b,d);H2("xMinorGrids",this.Ig,a,c,b,d);H2("yMinorGrids",this.Jg,a,c,b,d);d=[];for(f=0;f<this.Na.length;f++){e=this.Na[f];l=e.F();if(e=e.bb())m=$.oa(e),b[m]?l.yScale=(0,$.xa)(c,b[m]):
(b[m]=e.F(),c.push(b[m]),l.yScale=c.length-1);d.push(l)}d.length&&(a.series=d);c.length&&(a.scales=c);return a};
$.g.Y=function(a,b){E2.B.Y.call(this,a,b);$.tp(this,w4,a,b);"defaultGridSettings"in a&&this.cz(a.defaultGridSettings);"defaultPriceIndicatorSettings"in a&&this.zY(a.defaultPriceIndicatorSettings);"defaultLineMarkerSettings"in a&&this.XE(a.defaultLineMarkerSettings);"defaultRangeMarkerSettings"in a&&this.YE(a.defaultRangeMarkerSettings);"defaultTextMarkerSettings"in a&&this.ZE(a.defaultTextMarkerSettings);"defaultMinorGridSettings"in a&&this.dz(a.defaultMinorGridSettings);"defaultYAxisSettings"in a&&
(this.aF=a.defaultYAxisSettings);"defaultSeriesSettings"in a&&this.wr(a.defaultSeriesSettings);this.eg(b,a);this.Gu(a.dataArea);this.np(a.defaultSeriesType);this.Yb(a.palette);this.lf(a.markerPalette);this.be(a.hatchFillPalette);this.zm().label(a.noDataLabel);this.background(a.background);"title"in a&&this.title().ja(!!b,a.title);this.Af(a.legend);var c,d,e=a.priceIndicators;if($.B(e))for(c=0;c<e.length;c++)(d=e[c])&&this.N0(c,d);this.Ba.o&&this.bk(a.annotations);"crosshair"in a&&this.Mg(a.crosshair);
this.Fl(a.xGrids,this.Im);this.Fl(a.yGrids,this.Jm);this.Fl(a.xMinorGrids,this.dr);this.Fl(a.yMinorGrids,this.gr);e=a.series;if($.B(e))for(c=0;c<e.length;c++){d=e[c];var f=(d.seriesType||this.np()).toLowerCase();if(f=this.de(f,d.data))f.K(d),$.D(d)&&"yScale"in d&&1<d.yScale&&f.bb(this.Zv[d.yScale])}};
$.g.lD=function(a){var b,c,d=$.Ak(this.ef("scales"));if(a&&a.scales){for(c=0;c<d.length;c++)a.scales[c]&&$.ra(d[c],a.scales[c]);a.scales.length>d.length&&(d=$.Fa(d,$.Ia(a.scales,d.length)))}var e={};if($.B(d))for(b=0;b<d.length;b++){var f=d[b];$.z(f)&&(f={type:f});c=oY(f.type,!1);c.K(f);e[b]=c}else if($.D(d))for(b in d)d.hasOwnProperty(b)&&(f=d[b],$.z(f)&&(f={type:f}),c=oY(f.type,!1),c.K(f),e[b]=c);f=$.Ak(this.ef("yScale"));a&&$.p(a.yScale)&&("object"==$.ka(a.yScale)&&"object"==$.ka(f)?$.ra(f,a.yScale):
f=a.yScale);$.ea(f)?c=e[f]:$.z(f)?(c=oY(f,!0))||(c=e[f]):$.D(f)?(c=oY(f.type,!1),c.K(f)):c=null;c&&this.bb(c);this.Zv=e};$.g.eg=function(a,b){this.lD(b);this.ah();this.Fl((b||this.ma).yAxes,this.fi)};$.g.Fl=function(a,b,c){if($.B(a))for(var d=0;d<a.length;d++){var e=a[d],f=b.call(this,d);$.Dc(e)||(c?f.K(e):f.Ia(e),e=$.D(e)&&"scale"in e?e.scale:f.ef("scale"),0<e&&f.scale(this.Zv[e]))}};$.H(J2,$.Bf);$.g=J2.prototype;
$.g.N8=function(){var a=this.b.Ba,b=!a.VK()&&X2(a,"selectedrangechangestart","plot-drag");b&&(a.Ma=!0,Z2(a),$.Te(window.document.body,"cursor","ew-resize"));return b};$.g.M8=function(){$.p(this.cj)&&($.Vj.cancelAnimationFrame(this.cj),this.Br(0));var a=this.b.Ba;a.Ma=!1;$.Te(window.document.body,"cursor","");X2(a,"selectedrangechangefinish","plot-drag");$2(a)};$.g.s$=function(a){return!!I2(this.b.Ba,a.left/this.b.Oh.width,this.g)};$.g.XC=function(){this.b.Ba.XC(this.g)};
$.g.tr=function(){this.g=this.b.Ba.AF();this.deltaY=this.deltaX=0};$.g.Rs=function(a){this.va=a/this.b.Oh.width;this.o=this.g;$.p(this.cj)||(this.cj=$.Vj.requestAnimationFrame(this.Br))};$.g.AC=function(a){var b=this.b.Oh.width;return tha(this.b.Ba,a/b,this.g)*b};$.g.Ex=function(){return 0};var x4=E2.prototype;x4.crosshair=x4.Mg;x4.background=x4.background;x4.title=x4.title;x4.legend=x4.Af;x4.area=x4.fB;x4.candlestick=x4.wP;x4.column=x4.JE;x4.jumpLine=x4.KS;x4.stick=x4.EH;x4.line=x4.line;
x4.marker=x4.Nq;x4.ohlc=x4.CT;x4.rangeArea=x4.fU;x4.rangeColumn=x4.gU;x4.rangeSplineArea=x4.hU;x4.rangeStepArea=x4.iU;x4.spline=x4.aV;x4.splineArea=x4.bV;x4.stepArea=x4.fV;x4.stepLine=x4.gV;x4.hilo=x4.iS;x4.getSeries=x4.Oe;x4.yScale=x4.bb;x4.yAxis=x4.fi;x4.xAxis=x4.ah;x4.xGrid=x4.Im;x4.yGrid=x4.Jm;x4.xMinorGrid=x4.dr;x4.yMinorGrid=x4.gr;x4.defaultSeriesType=x4.np;x4.addSeries=x4.Ak;x4.getSeriesAt=x4.Zh;x4.getSeriesCount=x4.jk;x4.removeSeries=x4.Vn;x4.removeSeriesAt=x4.nn;x4.removeAllSeries=x4.Ro;
x4.palette=x4.Yb;x4.markerPalette=x4.lf;x4.hatchFillPalette=x4.be;x4.annotations=x4.bk;x4.eventMarkers=x4.Ni;x4.priceIndicator=x4.N0;x4.lineMarker=x4.um;x4.rangeMarker=x4.Cm;x4.textMarker=x4.Gm;x4.noData=x4.zm;x4.getStat=x4.pg;x4.dataArea=x4.Gu;$.H(K2,UZ);$.g=K2.prototype;$.g.Hy=function(a,b){if(null===a.Hb||a.vb&4)throw Error("Wrong config for scroller series");$.hd(this.g);$.hd(this.o);this.g=new $.mE[a.zb](this);this.o=new (2==a.Db?$.mz:$.nz)(this,a.Hb,!!(a.vb&524288),"secondaryShapes",a.Bb);K2.B.Hy.call(this,a,b)};$.g.Z0=function(){ZY(this.EF().b,this.na,!1)};$.g.wK=function(){return null};$.g.vK=function(){return null};$.g.EF=function(){return this.za.sc()};$.g.If=function(){return XY(this.na,!0,!0)};$.g.Cq=function(){return $.Wk};
$.g.remove=function(){this.b&&this.b.remove();K2.B.remove.call(this)};$.g.od=function(){K2.B.od.call(this);this.g.od(this.o)};$.g.Sm=function(a,b){K2.B.Sm.call(this,a,b);this.g.Sm(a,b)};$.g.ml=function(){K2.B.ml.call(this);this.g.ml()};$.g.WT=function(){K2.B.WT.call(this);this.b||(this.b=$.Zi());this.b.zIndex(this.zIndex());this.b.parent(this.ga);this.J(1024)&&this.o.Cu();$.hz(this.o,this.b)};$.g.dB=function(){var a=this.zIndex();this.ta.zIndex(a);this.b.zIndex(a)};
$.g.R=function(){this.remove();$.jd(this.g,this.o);this.o=this.g=null;K2.B.R.call(this)};L2.prototype.K=function(a){this.ob=[];this.f=[];(0,$.ue)(a,function(a){$.ea(a)?this.f.push(a):$.D(a)&&(a.fma?this.ob:this.f).push($.N(a.value))},this);this.b=$.Fa(this.ob,this.f);$.Ja(this.b);$.Oa(this.b)};L2.prototype.reset=function(){this.g=-1};L2.prototype.advance=function(){this.g++;this.current=this.b[this.g];this.o=$.ya(this.f,this.current);this.N=$.ya(this.ob,this.current);return!!this.current};L2.prototype.ga=function(){return this.b.slice()};M2.prototype.K=function(a,b,c,d,e){this.start=a;this.P=e;this.end=b;this.D=c;this.G=d;this.ba=this.U=null;this.reset()};M2.prototype.reset=function(){var a=$.In(this.start,this.D,this.P),b=$.In(this.start,this.G,this.P);this.b=new $.zm(new Date(a));this.f=window.NaN;this.b.getTime()<this.start&&(this.f=this.b.getTime(),this.f>this.end&&(this.f=window.NaN),this.b.add(this.D));for(this.g=new $.zm(new Date(b));this.g.getTime()<this.start;)this.g.add(this.G)};
M2.prototype.advance=function(){var a=this.b.getTime(),b=this.g.getTime();this.current=Math.min(a,b);this.o=a==this.current;this.N=b==this.current;if(a=this.current<=this.end)this.o&&this.b.add(this.D),this.N&&this.g.add(this.G);return a};M2.prototype.ga=function(a){if(a){if(this.U)return this.U}else if(this.ba)return this.ba;var b=[];for(this.reset();this.advance();)(a&&this.o||!a&&this.N)&&b.push(this.current);a?this.U=b:this.ba=b;return b};$.H(O2,$.Wp);$.g=O2.prototype;$.g.ra=784;$.g.Qa=function(){return"stock-scatter-date-time"};$.g.Ko=function(a){return $.p(a)?(a=$.tn(a,1E3,!1),this.Lo!=a&&(this.Lo=a,this.Qc=!1,this.ua(512)),this):this.Lo};$.g.Wga=function(a){return $.p(a)?(a=$.tn(a,this.N,!1),this.N!=a&&(this.N=a,this.Qc=!1,this.ua(512)),this):this.N};$.g.bs=function(a){return $.p(a)&&(a=N2(this,a),!$.Hc(this.va,a))?(this.va=a,this.ua(16),this):this.va};
$.g.Zr=function(a){return $.p(a)&&(a=N2(this,a),!$.Hc(this.la,a))?(this.la=a,this.ua(16),this):this.la};$.g.yZ=function(){return this.ga};$.g.xZ=function(){return this.ba};$.g.pR=function(){return this.hn};$.g.oR=function(){return this.Jo};$.g.Pj=function(a){return(0,window.isNaN)($.Cj(a))};$.g.transform=function(a){return this.Xq(a,window.NaN)};$.g.Kc=function(a){return Math.round(a*(this.Jo-this.hn)+this.hn)};$.g.Au=function(){return!1};$.g.an=function(){this.mb();return this.f?this.o:this.P};
$.g.mb=function(){if(!this.Qc){this.YY();if(this.Jo<=this.g||this.hn>=this.U){var a=this.hn;var b=this.Jo}else a=$.Ya(this.hn,this.g,this.U),b=$.Ya(this.Jo,this.g,this.U);var c=.25*(this.Hv-this.$r+1),d=[];$.yc(this.tm,function(a){a.count>c&&d.push(a)});var e=(0,$.hg)(d,function(a,b){var c=$.mo(a.$g,1),d=$.mo(b.$g,1);if(c>=d){var e=a;var f=b;var h=c;c=d}else e=b,f=a,h=d;return 60<h/c?e:f},d[0]);if(e){var f=e.te;var h=$.mo(e.$g,1);$.yc(this.tm,function(a){a!=e&&(f+=a.count*h)})}else f=Math.abs(b-a);
for(var k=Math.abs(f)/this.N,l=this.$c.length-1,m,n=0;n<l;n++)if(k<=this.$c[n].te){m=this.$c[n];break}m||(m=this.$c[l]);this.f?(a={fullMin:this.g,fullMax:this.U,min:a,max:b,ticksCount:this.N,scale:this},a=this.f.call(a,a),this.o.K(a)):this.P.K(a,b,$.Kn(m.CG,m.BG),$.Kn(m.TG,m.SG),this.g);this.rda=m.CG;this.qda=m.BG;this.Wda=m.TG;this.Vda=m.SG;this.Qc=!0}};$.g.YY=function(){this.P||(this.P=new M2);!this.o&&this.f&&(this.o=new L2)};$.g.Xq=function(a){return($.Cj(a)-this.hn)/(this.Jo-this.hn)};
$.g.hN=function(a){return this.transform(a)};$.g.Qh=function(a){$.W(a,2)&&(this.Qc=!1,this.ua(512))};$.g.Pa=function(a){if($.p(a)){if($.E(a))this.f=a,this.Qc=!1,this.ua(512);else{a=iha(a);for(var b=a.length,c=b&&b==this.$c.length,d=0;c&&d<b;d++){c=a[d];var e=this.$c[d];c=c.te==e.te&&c.TG==e.TG&&c.SG==e.SG&&c.CG==e.CG&&c.BG==e.BG}c||(this.$c=a,this.f=null,this.Qc=!1,this.ua(512))}return this}return this.f?this.f:(0,$.Va)(this.$c,function(a){return{minor:{unit:a.TG,count:a.SG},major:{unit:a.CG,count:a.BG}}})};
$.g.Yh=function(a){return this.b.Yh(a)};$.g.qf=function(a){return this.b.qf(a)};
var fha=[{minor:{unit:"millisecond",count:1},major:{unit:"millisecond",count:5}},{minor:{unit:"millisecond",count:5},major:{unit:"millisecond",count:20}},{minor:{unit:"millisecond",count:20},major:{unit:"millisecond",count:100}},{minor:{unit:"millisecond",count:100},major:{unit:"millisecond",count:500}},{minor:{unit:"millisecond",count:500},major:{unit:"second",count:2}},{minor:{unit:"second",count:2},major:{unit:"second",count:10}},{minor:{unit:"second",count:10},major:{unit:"second",count:30}},
{minor:{unit:"second",count:30},major:{unit:"minute",count:2}},{minor:{unit:"minute",count:2},major:{unit:"minute",count:10}},{minor:{unit:"minute",count:10},major:{unit:"minute",count:30}},{minor:{unit:"minute",count:30},major:{unit:"hour",count:1}},{minor:{unit:"hour",count:1},major:{unit:"hour",count:3}},{minor:{unit:"hour",count:3},major:{unit:"hour",count:12}},{minor:{unit:"hour",count:12},major:{unit:"day",count:1}},{minor:{unit:"day",count:1},major:{unit:"week",count:1}},{minor:{unit:"day",
count:2},major:{unit:"week",count:1}},{minor:{unit:"week",count:1},major:{unit:"month",count:1}},{minor:{unit:"month",count:1},major:{unit:"quarter",count:1}},{minor:{unit:"quarter",count:1},major:{unit:"semester",count:1}},{minor:{unit:"semester",count:1},major:{unit:"year",count:1}},{minor:{unit:"year",count:1},major:{unit:"year",count:2}},{minor:{unit:"year",count:2},major:{unit:"year",count:4}},{minor:{unit:"year",count:3},major:{unit:"year",count:6}},{minor:{unit:"year",count:4},major:{unit:"year",
count:8}},{minor:{unit:"year",count:5},major:{unit:"year",count:10}},{minor:{unit:"year",count:6},major:{unit:"year",count:12}},{minor:{unit:"year",count:7},major:{unit:"year",count:14}},{minor:{unit:"year",count:8},major:{unit:"year",count:16}},{minor:{unit:"year",count:9},major:{unit:"year",count:18}},{minor:{unit:"year",count:10},major:{unit:"year",count:20}},{minor:{unit:"year",count:20},major:{unit:"year",count:40}},{minor:{unit:"year",count:25},major:{unit:"year",count:100}},{minor:{unit:"year",
count:100},major:{unit:"year",count:500}}],y4=O2.prototype;y4.ticks=y4.Pa;y4.ticksCount=y4.Wga;y4.getFullMinimum=y4.yZ;y4.getFullMaximum=y4.xZ;y4.getMinimum=y4.pR;y4.getMaximum=y4.oR;y4.transform=y4.transform;y4.inverseTransform=y4.Kc;y4.minimumGap=y4.bs;y4.maximumGap=y4.Zr;$.H(P2,M2);P2.prototype.reset=function(){var a=$.In(this.start,this.D,this.P),b=$.In(this.start,this.G,this.P);this.b=new $.zm(new Date(a));this.f=window.NaN;this.b.getTime()<this.start&&(this.f=Q2(this,this.b,this.D),this.f>this.end&&(this.f=window.NaN));for(this.g=new $.zm(new Date(b));this.g.getTime()<this.start;)this.g.add(this.G)};
P2.prototype.advance=function(){var a=this.b.getTime(),b=Q2(this,this.g,this.G);this.current=b;this.o=a<=b;(a=this.current<=this.end)&&this.o&&Q2(this,this.b,this.D);return a};$.H(C2,O2);$.g=C2.prototype;$.g.Qa=function(){return"stock-ordinal-date-time"};$.g.transform=function(a){return this.Xq(a,this.b.qf($.Cj(a)))};$.g.Kc=function(a){return Math.round(this.b.Yh(a*(this.Hv-this.$r)+this.$r))};$.g.Xq=function(a,b){return(b-this.$r)/(this.Hv-this.$r)};$.g.hN=function(a){return this.Xq(a,Math.ceil(this.b.qf($.Cj(a))))};$.g.YY=function(){this.P||(this.P=new P2(this));!this.o&&this.f&&(this.o=new L2)};var z4=C2.prototype;z4.transform=z4.transform;z4.inverseTransform=z4.Kc;$.H(R2,$.Lz);$.g=R2.prototype;$.g.ra=$.Lz.prototype.ra|4;$.g.qa=$.Lz.prototype.qa|1536;$.g.i2=function(){return!1};
$.g.Bi={area:{zb:1,Db:1,Ib:[b3,c3,d3],Hb:[p3,q3,r3],Bb:null,vb:0,Cb:"value",wb:"zero"},candlestick:{zb:5,Db:1,Ib:[e3,f3,g3,h3],Hb:[s3,v3,w3,y3],Bb:null,vb:0,Cb:"high",wb:"low"},column:{zb:6,Db:1,Ib:[o3,d3,xha,wha,e3,f3,g3,h3],Hb:[B3,r3,Dha,Cha,s3,v3,w3,y3],Bb:null,vb:0,Cb:"value",wb:"zero"},"jump-line":{zb:19,Db:2,Ib:[$.LE,$.cF,$.YE,$.ME],Hb:[q3,x3,t3,u3],Bb:null,vb:0,Cb:"value",wb:"value"},hilo:{zb:31,Db:2,Ib:[$.LE,$.iF,$.mF],Hb:[q3,A3,z3],Bb:null,vb:0,Cb:"high",wb:"low"},stick:{zb:20,Db:2,Ib:[$.LE,
$.cF,$.YE,$.ME],Hb:[q3,x3,t3,u3],Bb:null,vb:0,Cb:"value",wb:"zero"},line:{zb:8,Db:1,Ib:[$.LE,$.cF,$.YE,$.ME],Hb:[q3,x3,t3,u3],Bb:null,vb:0,Cb:"value",wb:"value"},marker:{zb:9,Db:1,Ib:[o3,d3,f3,h3,wha,e3,g3,xha],Hb:[B3,r3,v3,y3,Cha,s3,w3,Dha],Bb:null,vb:0,Cb:"value",wb:"value"},ohlc:{zb:10,Db:1,Ib:[{name:"rising",Lb:"path",Pb:null,Rb:"risingStroke",Vb:!1,Ab:!1,zIndex:0},{name:"falling",Lb:"path",Pb:null,Rb:"fallingStroke",Vb:!1,Ab:!1,zIndex:0}],Hb:[t3,x3],Bb:null,vb:0,Cb:"high",wb:"low"},"range-area":{zb:11,
Db:1,Ib:[b3,n3,m3,d3,yha,zha,i3,j3],Hb:[p3,A3,z3,r3,Aha,Bha,k3,l3],Bb:null,vb:0,Cb:"high",wb:"low"},"range-column":{zb:12,Db:1,Ib:[o3,d3,{name:"high",Lb:"path",Pb:"highFill",Rb:"highStroke",Vb:!1,Ab:!1,zIndex:0},{name:"low",Lb:"path",Pb:"lowFill",Rb:"lowStroke",Vb:!1,Ab:!1,zIndex:0},i3,j3],Hb:[B3,r3,{name:"high",Lb:"path",Pb:"highFill",Rb:"highStroke",Vb:!1,Ab:!1,zIndex:0},{name:"low",Lb:"path",Pb:"lowFill",Rb:"lowStroke",Vb:!1,Wj:!0,Ab:!1,zIndex:0},k3,l3],Bb:null,vb:0,Cb:"high",wb:"low"},"range-spline-area":{zb:13,
Db:1,Ib:[b3,n3,m3,d3,yha,zha,i3,j3],Hb:[p3,A3,z3,r3,Aha,Bha,k3,l3],Bb:null,vb:0,Cb:"high",wb:"low"},"range-step-area":{zb:14,Db:1,Ib:[b3,m3,n3,d3],Hb:[p3,z3,A3,r3],Bb:null,vb:0,Cb:"high",wb:"low"},spline:{zb:15,Db:1,Ib:[$.LE,$.cF,$.YE,$.ME],Hb:[q3,x3,t3,u3],Bb:null,vb:0,Cb:"value",wb:"value"},"spline-area":{zb:16,Db:1,Ib:[b3,c3,d3],Hb:[p3,q3,r3],Bb:null,vb:0,Cb:"value",wb:"zero"},"step-area":{zb:17,Db:1,Ib:[b3,c3,d3],Hb:[p3,q3,r3],Bb:null,vb:0,Cb:"value",wb:"zero"},"step-line":{zb:18,Db:1,Ib:[$.LE,
$.cF,$.YE,$.ME],Hb:[q3,x3,t3,u3],Bb:null,vb:0,Cb:"value",wb:"value"}};$.g.np=function(a){return $.p(a)?(this.eQ=a=kY(a),this):this.eQ};$.g.fB=function(a,b,c){return this.de("area",a,b,c)};$.g.wP=function(a,b,c){return this.de("candlestick",a,b,c)};$.g.JE=function(a,b,c){return this.de("column",a,b,c)};$.g.KS=function(a,b,c){return this.de("jump-line",a,b,c)};$.g.iS=function(a,b,c){return this.de("hilo",a,b,c)};$.g.EH=function(a,b,c){return this.de("stick",a,b,c)};
$.g.line=function(a,b,c){return this.de("line",a,b,c)};$.g.Nq=function(a,b,c){return this.de("marker",a,b,c)};$.g.CT=function(a,b,c){return this.de("ohlc",a,b,c)};$.g.fU=function(a,b,c){return this.de("range-area",a,b,c)};$.g.gU=function(a,b,c){return this.de("range-column",a,b,c)};$.g.hU=function(a,b,c){return this.de("range-spline-area",a,b,c)};$.g.iU=function(a,b,c){return this.de("range-step-area",a,b,c)};$.g.aV=function(a,b,c){return this.de("spline",a,b,c)};
$.g.bV=function(a,b,c){return this.de("spline-area",a,b,c)};$.g.fV=function(a,b,c){return this.de("step-area",a,b,c)};$.g.gV=function(a,b,c){return this.de("step-line",a,b,c)};$.g.Ak=function(a){var b=[],c=this.np(),d=arguments.length;$.U(this);if(d)for(var e=0;e<d;e++)b.push(this.de(c,arguments[e]));else b.push(this.de(c,null));this.da(!0);return b};$.g.ix=function(a){return $.ua(this.Na,function(b){return b.id()==a})};$.g.Oe=function(a){return this.Zh(this.ix(a))};
$.g.Zh=function(a){return this.Na[a]||null};$.g.jk=function(){return this.Na.length};$.g.Vn=function(a){return this.nn(this.ix(a))};$.g.nn=function(a){var b=this.Na[a];b&&($.Bo++,$.Ba(this.Na,a,1),$.hd(b),this.u(512,1),$.Eo());return this};$.g.Ro=function(){if(this.Na.length){var a=this.Na;$.Bo++;this.Na=[];$.jd(a);this.u(512,1);$.Eo()}return this};$.g.Ne=function(){return this.Na};
$.g.wr=function(a){this.ki||(this.ki=new $.Yx,this.ki.Ia("chart.defaultSeriesSettings","stock.scroller.defaultSeriesSettings"));return $.p(a)?(this.ki.ma=a,this):this.ki};$.g.av=function(a){a=kY(a);var b=this.Bi[a];b&&b.zb in $.mE?a=[a,b]:($.Sj(4,null,[a+" series"]),a=null);return a};$.g.mb=$.ia;$.g.Tu=$.ia;$.g.lK=function(a){return a.check(32768)?31:30};
$.g.de=function(a,b,c,d){var e=this.av(a);e?(a=new K2(this,a,e[1]),e=(e=this.Na[this.Na.length-1])?e.bh()+1:0,this.Na.push(a),a.bh(e),a.data(b||null,c,d),$.tz(a),a.clip(!0),$.uz(a,.9),a.Wp(this.Yb().ic(e)),a.aw(this.be().ic(e)),a.qb(this),$.L(a,this.sH,this),this.u(512,1)):a=null;return a};$.g.sH=function(a){var b=1;$.W(a,4)&&(b|=4);this.u(512,b)};$.g.cA=function(){for(var a=0;a<this.Na.length;a++){var b=this.Na[a];b&&b.bD()}};$.g.tv=function(){for(var a=0;a<this.Na.length;a++)this.Na[a].u(2116)};
dha(R2);$.g=R2.prototype;$.g.sc=function(){return this.Ba};$.g.sb=function(){return this.ia};$.g.ag=function(){return this.sb()};$.g.Wa=function(a){if($.p(a))return this.cb=a,S2(this),this;this.cb||(this.cb=new C2(this));return this.cb};$.g.pN=function(){R2.B.pN.call(this);S2(this)};$.g.pK=function(){return this.Ba.b.ba.OG};$.g.bn=function(){return this.Ba.GI()};$.g.sa=function(){return!1};
$.g.bb=function(a){if($.p(a)){if(a=$.Vr(this.tc,a,null,3,["Scroller Y scale","scatter","linear, log"],this.ny,this)){var b=this.tc==a;this.tc=a;this.tc.da(b);if(!b){for(a=0;a<this.Na.length;a++)(b=this.Na[a])&&b.enabled()&&b.bb()==this.tc&&(b.u(1024),this.u(512));this.ua(1)}}return this}this.tc||(this.tc=$.Rr(),$.L(this.tc,this.ny,this));return this.tc};
$.g.ny=function(a){for(var b=0,c=0;c<this.Na.length;c++){var d=this.Na[c];d&&d.enabled()&&d.bb()==this.tc&&(b|=d.u(1024))}b&&(b=1,$.W(a,4)&&(b|=4),this.u(512,b))};$.g.ah=function(a){this.bc||(this.bc=new mZ(this,!0),this.bc.qb(this),this.bc.zIndex(52),$.V(this,"xAxis",this.bc),$.L(this.bc,this.BV,this),this.u(1024,1));return $.p(a)?(this.bc.K(a),this):this.bc};$.g.BV=function(){this.u(1024,1)};$.g.kx=function(){return this.bc};$.g.mx=function(){return null};
$.g.X=function(){R2.B.X.call(this);if(!this.xc())return this;this.jA||(this.jA=this.ta.Nd(),this.jA.zIndex(1),this.jA.clip(this.DL),this.hA=this.ta.Nd(),this.hA.td(!0),this.hA.zIndex(51),this.hA.clip(this.gA));if(this.J(512)){for(var a=0;a<this.Na.length;a++){var b=this.Na[a];if(b){$.U(b);b.fa(this.ia);b.O(this.jA);var c=b,d=this.hA;$.p(d)&&c.ga!=d&&(c.ga=d,c.u(2,1));b.Wp(this.Yb().ic(a));b.aw(this.be().ic(a));b.X();b.da(!1)}}this.cA();this.I(512)}this.J(1024)&&(this.bc&&($.U(this.bc),this.bc.scale(this.Wa()),
this.bc.O(this.ta),this.bc.fa(this.ia),this.bc.height(this.ia.height),this.bc.X(),this.bc.da(!1)),this.I(1024));return this};$.g.Yb=function(a){if($.K(a,$.xr))return this.Hc($.xr,a),this;if($.K(a,$.ur))return this.Hc($.ur,a),this;$.D(a)&&"range"==a.type?this.Hc($.xr):($.D(a)||null==this.Aa)&&this.Hc($.ur);return $.p(a)?(this.Aa.K(a),this):this.Aa};
$.g.Hc=function(a,b){this.tv();if($.K(this.Aa,a))b&&this.Aa.K(b);else{var c=!!this.Aa;$.hd(this.Aa);this.Aa=new a;b&&this.Aa.K(b);$.L(this.Aa,this.Df,this);c&&this.u(512,1)}};$.g.be=function(a){this.Vc||(this.Vc=new $.vr,$.V(this,"hatchFillPalette",this.Vc),$.L(this.Vc,this.Df,this));return $.p(a)?(this.Vc.K(a),this.tv(),this.u(512,1),this):this.Vc};$.g.Df=function(a){$.W(a,2)&&this.u(512,1)};$.g.Yh=function(a){var b=this.Ba.b;$Y(b);return b.va.Yh(a)};$.g.qf=function(a){var b=this.Ba.b;$Y(b);return b.va.qf(a)};
$.g.T_=function(a,b,c,d){return{type:a,startRatio:b,endRatio:c,startKey:this.Wa().Kc(b),endKey:this.Wa().Kc(c),source:d}};$.g.R=function(){$.jd(this.Aa,this.Vc,this.jA,this.hA,this.bc,this.cb,this.tc,this.Na,this.nC,this.ki);this.ki=this.tc=this.cb=this.bc=this.hA=this.jA=this.Vc=this.Aa=null;this.Na.length=0;this.nC.length=0;delete this.Ba;R2.B.R.call(this)};$.g.F=function(){var a=R2.B.F.call(this);a.defaultSeriesType=this.np();a.palette=this.Yb().F();a.hatchFillPalette=this.be().F();return a};
$.g.Y=function(a,b){R2.B.Y.call(this,a,b);this.eg(!1,a);"xAxis"in a&&this.ah(a.xAxis);this.Yb(a.palette);this.be(a.hatchFillPalette);this.np(a.defaultSeriesType);"defaultSeriesSettings"in a&&this.wr(a.defaultSeriesSettings);var c=a.series;if($.B(c))for(var d=0;d<c.length;d++){var e=c[d],f=(e.seriesType||this.np()).toLowerCase();if(f=this.de(f,e.data))f.K(e),$.D(e)&&"yScale"in e&&1<e.yScale&&f.bb(this.Zv[e.yScale])}};
$.g.lD=function(a){var b,c,d=$.Ak(this.ef("scales"));if(a&&a.scales){for(c=0;c<d.length;c++)a.scales[c]&&$.ra(d[c],a.scales[c]);a.scales.length>d.length&&(d=$.Fa(d,$.Ia(a.scales,d.length)))}var e={};if($.B(d))for(b=0;b<d.length;b++){c=d[b];$.z(c)&&(c={type:c});var f=oY(c.type,!1);f.K(c);e[b]=f}else if($.D(d))for(b in d)d.hasOwnProperty(b)&&(c=d[b],$.z(c)&&(c={type:c}),f=oY(c.type,!1),f.K(c),e[b]=f);c=$.Ak(this.ef("yScale"));a&&$.p(a.yScale)&&("object"==$.ka(a.yScale)&&"object"==$.ka(c)?$.ra(c,a.yScale):
c=a.yScale);$.ea(c)?f=e[c]:$.z(c)?(f=oY(c,!0))||(f=e[c]):$.D(c)?(f=oY(c.type,!1),f.K(c)):f=null;f&&this.bb(f);this.Zv=e};$.g.eg=function(a,b){this.lD(b);this.ah()};var A4=R2.prototype;A4.area=A4.fB;A4.candlestick=A4.wP;A4.column=A4.JE;A4.stick=A4.EH;A4.jumpLine=A4.KS;A4.hilo=A4.iS;A4.line=A4.line;A4.marker=A4.Nq;A4.ohlc=A4.CT;A4.rangeArea=A4.fU;A4.rangeColumn=A4.gU;A4.rangeSplineArea=A4.hU;A4.rangeStepArea=A4.iU;A4.spline=A4.aV;A4.splineArea=A4.bV;A4.stepArea=A4.fV;A4.stepLine=A4.gV;
A4.getSeries=A4.Oe;A4.yScale=A4.bb;A4.xAxis=A4.ah;A4.defaultSeriesType=A4.np;A4.addSeries=A4.Ak;A4.getSeriesAt=A4.Zh;A4.getSeriesCount=A4.jk;A4.removeSeries=A4.Vn;A4.removeSeriesAt=A4.nn;A4.removeAllSeries=A4.Ro;A4.palette=A4.Yb;A4.hatchFillPalette=A4.be;$.H(jha,SZ);$.H(T2,$.Wp);$.S(T2,O3);$.rp(T2,Q3,"normal");$.g=T2.prototype;$.g.qa=64;$.g.ra=1;$.g.tB=function(){this.u(64,1)};$.g.Ta=function(a){return $.p(a)?(this.ca.K(a),this):this.ca};$.g.lb=function(a){return $.p(a)?(this.ya.K(a),this):this.ya};$.g.selected=function(a){return $.p(a)?(this.Da.K(a),this):this.Da};$.g.group=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;return this.Ba.Se().Ni().group(c,d)};
$.g.data=function(a){var b=this.Ba.Se().Ni().group().data(a);return $.p(a)?this:b};$.g.kX=function(a){var b=a.group;if(b){var c=a.index;a=a.originalEvent;if(this.g!=b||this.o!=c)this.dispatchEvent(U2(this,a,!1,[{group:b,index:c}],b,c))&&n_(b.Se.Ni(),b,c,$.ln,$.Wk)?(this.g=b,this.o=c):(this.g=null,this.o=window.NaN);$.iv(b.Ya(),a.clientX,a.clientY,b.eR(c))}};
$.g.S8=function(a){var b=a.group;if(b){var c=a.index;this.dispatchEvent(U2(this,a.originalEvent,!1,[],b,c));n_(b.Se.Ni(),b,c,$.Wk,$.ln);b.Ya().Wc(!0);this.g=null;this.o=window.NaN}};
$.g.R8=function(a){var b=a.group;if(b){var c=a.index;a=a.originalEvent;var d=this.b==b&&this.f==c;this.b&&this.dispatchEvent(U2(this,a,!0,[],this.b,this.f))&&n_(this.b.Se.Ni(),this.b,this.f,d?$.ln:$.Wk,$.mn);!d&&this.dispatchEvent(U2(this,a,!0,[{group:b,index:c}],b,c))&&n_(b.Se.Ni(),b,c,$.mn)?(this.b=b,this.f=c):(this.b=null,this.f=window.NaN)}};$.g.Ya=function(a){this.fb||(this.fb=new $.Ru(0),$.V(this,"tooltip",this.fb));return $.p(a)?(this.fb.K(a),this):this.fb};
$.g.F=function(){var a=T2.B.F.call(this);$.Bp(this,O3,a);a.normal=this.ca.F();a.hovered=this.ya.F();a.selected=this.Da.F();a.tooltip=this.Ya().F();return a};
$.g.Y=function(a,b){T2.B.Y.call(this,a,b);this.Ya().ja(!!b,a.tooltip);this.ca.ja(!!b,a);this.ca.ja(!!b,a.normal);this.ya.ja(!!b,a.hovered);this.Da.ja(!!b,a.selected);$.tp(this,O3,a);var c;if($.p(c=a.groups)){var d=this.Ba.Se().Ni();$.jd(d.b);d.b.length=0;if($.B(c))for(d=0;d<c.length;d++){var e=c[d];null!=e&&this.group(d,e)}}else $.p(d=a.data)&&this.data(d)};$.g.R=function(){$.jd(this.ca,this.ya,this.Da,this.fb);this.ca=this.ya=this.Da=this.Ba=this.fb=null;T2.B.R.call(this)};var B4=T2.prototype;
B4.group=B4.group;B4.data=B4.data;B4.tooltip=B4.Ya;B4.normal=B4.Ta;B4.hovered=B4.lb;B4.selected=B4.selected;$.H(V2,$.Ov);V2.prototype.ra=$.Ov.prototype.ra;V2.prototype.qa=$.Ov.prototype.qa|126976;var Hha={area:!1,candlestick:null,column:null,"jump-line":!0,stick:!0,line:!1,marker:null,ohlc:null,"range-area":!1,"range-column":null,"range-spline-area":!1,"range-step-area":!1,spline:!1,"spline-area":!1,"step-area":!1,"step-line":!1,hilo:!0};$.g=V2.prototype;$.g.ZM=function(){return!1};$.g.Qa=function(){return"stock"};
$.g.Ne=function(){for(var a=[],b=0;b<this.f.length;b++){var c=this.f[b];c&&a.push.apply(a,c.Ne())}return a};$.g.av=function(a){a=kY(a);var b=this.Bi[a];b&&b.zb in $.mE?a=[a,b]:($.Sj(4,null,[a+" series"]),a=null);return a};$.g.sa=function(){return!1};$.g.mb=$.ia;$.g.Af=function(a){$.Sj(51);return $.p(a)?this:null};$.g.Se=function(a,b){return lha(this,a,b,!$.p(b))};
$.g.aB=function(a){this.g||(this.g=new R2(this),this.g.qb(this),$.V(this,"scroller",this.g),this.g.eg(!0),$.L(this.g,this.L8,this),this.Ac.wa(this.g,"scrollerchangestart",this.kga),this.Ac.wa(this.g,"scrollerchange",this.jga),this.Ac.wa(this.g,"scrollerchangefinish",this.iga),this.u(8196,1));return $.p(a)?(this.g.K(a),this):this.g};
$.g.C1=function(a,b,c,d){var e=this.b.D;var f=window.NaN;var h=$.ij($.bC,a,$.p(null)?null:"max");if("points"==h){a=Math.max(+b||0,10);var k=$.Pj(c);h=-1;if("last-visible-date"==k){e=this.b;var l=kZ(this.b);$Y(e);e=e.f.qf(l)}else"first-visible-date"==k?(e=this.b,h=jZ(this.b),$Y(e),e=e.f.qf(h),h=1):"first-date"==k?(e=this.b.f.b.length?0:window.NaN,h=1):e=DY(this.b.f);a=e+h*(a-1)+h/2;l=this.b;e-=h/2;$Y(l);e=l.f.Yh(e);h=this.b;a=$.Ya(a,this.b.f.b.length?0:window.NaN,DY(this.b.f));$Y(h);f=h.f.Yh(a)}else if(h&&
"unit"!=h)switch(k=new Date(e),h){case "ytd":f=Date.UTC(k.getUTCFullYear(),0);break;case "qtd":f=Date.UTC(k.getUTCFullYear(),3*Math.floor((k.getUTCMonth()+3)/3)-3,1);break;case "mtd":f=Date.UTC(k.getUTCFullYear(),k.getUTCMonth());break;case "max":f=this.b.o}else if(f=$.Gj(a,null)){a=b||1;k=$.Pj(c);h=-1;"last-visible-date"==k?e=kZ(this.b):"first-visible-date"==k?(e=jZ(this.b),h=1):"first-date"==k&&(e=this.b.o,h=1);k=new Date(e);var m=new Date(e);if("year"==f)m.setUTCFullYear(k.getUTCFullYear()+h*a),
f=m.getTime();else if("semester"==f||"quarter"==f||"month"==f){switch(f){case "semester":l=6*a;break;case "quarter":l=3*a;break;case "month":l=a}a=k.getUTCMonth()+h*l;h=k.getUTCFullYear()+Math.floor(a/12);a%=12;0>a&&(a+=12);m.setUTCFullYear(h);m.setUTCMonth(a);f=m.getTime()}else if("third-of-month"==f)l=k.getUTCDate(),l=3*(12*k.getUTCFullYear()+k.getUTCMonth())+(10>=l?0:20>=l?1:2)+h*a,h=Math.floor(l/36),l%=36,a=Math.floor(l/3),0>a&&(a+=12),l%=3,0>l&&(l+=3),f=Date.UTC(h,a,1+10*l);else{switch(f){case "week":l=
6048E5*a;break;case "day":l=864E5*a;break;case "hour":l=36E5*a;break;case "minute":l=6E4*a;break;case "second":l=1E3*a;break;case "millisecond":l=a}f=e+h*l}}else e=$.Cj(a),f=$.Cj(b);this.u(16384);W2(this,e,f);($.da(b)&&b||$.da(c)&&c||d)&&X2(this,"selectedrangechange","select-range");return this};$.g.Jba=function(){return{firstSelected:this.b.b.ph,lastSelected:this.b.b.li,firstVisible:jZ(this.b),lastVisible:kZ(this.b)}};
$.g.Wa=function(a){if($.p(a)){var b;$.z(a)?b=a:$.D(a)&&(b=a.type);b=String(b).toLowerCase();a="stock-scatter-date-time"==b||"scatter"==b;b=this.cb&&!$.K(this.cb,C2);var c=$.hq(this,"scroller");c&&$.Xp(c,this.DV,this);a!=b&&(a?(this.cb=new O2(this),c&&c.Wa(new O2(c))):(this.cb=new C2(this),c&&c.Wa(new C2(c))),$.V(this,"xScale",this.cb),this.cb.K(this.cb.ma),$.L(this.cb,this.DV,this),this.xx());return this}this.cb||(this.cb=new C2(this),$.V(this,"xScale",this.cb),this.cb.K(this.cb.ma),$.L(this.cb,this.DV,
this));return this.cb};$.g.DV=function(a){$.W(a,16)&&(this.G&&this.G.remove(),this.u(81920,1))};$.g.bn=function(a){return $.p(a)?(this.b.bn(a),this):this.b.bn()};$.g.GI=function(a){return $.p(a)?(dZ(this.b,a),this):dZ(this.b)};$.g.zfa=function(a){return $.p(a)?(this.ba=!!a,this):this.ba};$.g.yY=function(a){return $.p(a)?(this.Dd=!!a,this):this.Dd||{}};$.g.Tx=function(){this.ab().tq()&&this.u(4,9)};$.g.pK=function(){return this.b.pK()};
$.g.Iba=function(){for(var a=0,b=0;b<this.f.length;b++)this.f[b]&&a++;return a};$.g.h2=function(){return!1};$.g.vba=function(){return this.Ds};
$.g.Ji=function(a){this.o&&this.bk().lu(!0);if(this.J(4)){var b=a;if(a=$.hq(this,"scroller"))a.fa(b),b=a.nd();var c,d=0,e=window.NaN,f=[];for(a=0;a<this.f.length;a++)if((c=this.f[a])&&c.enabled()){c.fa(b);c=c.ab();var h=!1;null!==c.top()?e=$.M(c.top(),b.height):null!==c.bottom()&&(h=!0,f.push(c),e=$.M(c.bottom(),b.height,!0));(0,window.isNaN)(e)||(f.length&&oha(f,d,e,b.height),d=e,e=window.NaN,f.length=0);h||f.push(c)}f.length&&oha(f,d,b.height,b.height);this.D=window.Infinity;for(a=0;a<this.f.length;a++)(c=
this.f[a])&&c.enabled()&&(b=c,G2(b),b=b.Oh.width,this.D>b&&(this.D=b));(0,window.isFinite)(this.D)||(this.D=window.NaN);this.u(16384)}if(this.J(16384)||this.J(32768)){a=this.Wa();b=this.aB().Wa();d=gZ(this.b,this.D,this.Ma||this.ba,a,b);if(this.J(65536)){this.G||(this.G=new jha,ZY(this.b,this.G.Yd().lJ(),!1));d=this.G;e=this.Wa();f=e.xZ();c=e.yZ();var k=e.bs();h=e.Zr();$.U(d);k.intervalsCount?(k=kha(d,c,k),k=k[0][0],$.ea(k)?e.G={min:k,max:c}:e.G=null):$.ea(null)?e.G={min:null,max:void 0}:e.G=null;
h.intervalsCount?(k=kha(d,f,h,!0),$.ea(f)?e.D={min:f,max:k[k.length-1][0]}:e.D=null):$.ea(null)?e.D={min:null,max:void 0}:e.D=null;d.da(!0);this.I(65536);d=gZ(this.b,this.D,this.Ma||this.ba,a,b)}if(d&1)for(this.xx(),a=0;a<this.f.length;a++)(b=this.f[a])&&b.XC();d&2&&(S2(this.g),this.u(8192),X2(this,"selectedrangechange","data-update"));this.I(16384)}if(this.J(32768)){a=[];for(b=0;b<this.f.length;b++)if((e=this.f[b])&&e.enabled()){h="direct"==e.bb().hw();d=$.Fa(e.Sf,e.Uf,e.Zf);f=e.Ne();var l={};var m=
!1;for(e=0;e<f.length;e++)k=f[h?f.length-e-1:e],VZ(k),c=k.bb(),c.Cf()&&(c.fg(),a.push(c)),k.enabled()&&(k.Fg()?m=mha(this,k,l)||m:k.enabled()&&c.Oc.apply(c,k.KF()));if(m)for(e=0;e<f.length;e++)k=f[e],k.enabled()&&(c=k.bb(),"percent"==c.Dm()&&nha(k,c,l));for(e=0;e<f.length;e++)if(k=f[e],k.enabled())for(c=k.bb(),h=0;h<d.length;h++)k=d[h],l=k.Fb()?c:this.Wa(),l=k.scale()||l,k&&k.enabled()&&c==l&&"consider"==k.i("scaleRangeMode")&&c.Oc.apply(c,k.Gr())}if((b=$.hq(this,"scroller"))&&b.jf()){f=b.Ne();l=
{};m=!1;for(e=0;e<f.length;e++)k=f[e],VZ(k),c=k.bb(),c.Cf()&&(c.fg(),a.push(c)),k.enabled()&&(k.Fg()?m=mha(this,k,l)||m:k.enabled()&&c.Oc.apply(c,k.KF()));if(m)for(e=0;e<f.length;e++)k=f[e],k.enabled()&&(c=k.bb(),"percent"==c.Dm()&&nha(k,c,l))}for(b=0;b<a.length;b++)a[b].ng();this.I(32768)}this.J(8192)&&(a=this.aB(),b=this.b.b.ph,d=this.b.b.li,b=a.Wa().transform(b),b=(0,window.isNaN)(b)?0:$.Ya(b,0,1),d=a.Wa().transform(d),d=(0,window.isNaN)(d)?1:$.Ya(d,0,1),$.Nz(a,b,d),a.O(this.Ua).X(),this.I(8192));
if(this.J(4096)){for(a=0;a<this.f.length;a++)(b=this.f[a])&&b.O(this.Ua).X();this.I(4096)}rha(this);this.ym||(this.ym=new $.Yv(this.O().Ga().ol(),!1),this.ym.wa("mousewheel",this.K8,!1,this));this.Ni().I(4294967295);this.Ni().Ta().Lg().I(4294967295)};
$.g.qha=function(a,b,c,d,e,f){this.F0(a,b,c,d,e,f);var h=0<=d;c.qD=c.qD||{Xz:window.NaN,Qz:window.NaN};b.j("shared")||b.j("shared",c.qD);c.UC?h?(b.j("stackedZeroPrev",c.Uv),b.j("stackedValuePrev",c.Uv+d)):(b.j("stackedZeroPrev",c.Tv),b.j("stackedValuePrev",c.Tv+d)):(b.j("stackedZeroPrev",window.NaN),b.j("stackedValuePrev",window.NaN));c.IC?h?(b.j("stackedZeroNext",c.Nv),b.j("stackedValueNext",c.Nv+d)):(b.j("stackedZeroNext",c.Mv),b.j("stackedValueNext",c.Mv+d)):(b.j("stackedZeroNext",window.NaN),
b.j("stackedValueNext",window.NaN));a.Oc(b.j("stackedValuePrev"));a.Oc(b.j("stackedValue"));a.Oc(b.j("stackedValueNext"));e&&(e.cs?c.UC=!0:h?c.Uv+=d:c.Tv+=d,(0,window.isNaN)(f)||(0<=f?e.Nv+=f:e.Mv+=f))};$.g.F0=function(a,b,c,d){0<=d?(b.j("stackedZero",c.Qo),c.Qo+=d,b.j("stackedValue",c.Qo)):(b.j("stackedZero",c.No),c.No+=d,b.j("stackedValue",c.No))};$.g.vfa=function(a){if(!$.W(a,64)){var b=4096;$.W(a,8)&&(b|=4);$.W(a,4)&&(b|=32768);this.u(b,1)}};
$.g.L8=function(a){var b=8192,c=1;$.W(a,8)&&(b|=32772,c|=8);$.W(a,4)&&(b|=32768);this.u(b,c)};$.g.$$=function(a){$.W(a,16)&&this.u(16384,1)};$.g.xx=function(){for(var a=0;a<this.f.length;a++){var b=this.f[a];b&&b.xx(!1)}this.u(45056,1)};$.g.Yh=function(a){return this.b.Yh(a)};$.g.qf=function(a){return this.b.qf(a)};$.g.bk=function(a){this.o?this.Gf||(this.Gf=new this.o.ChartController(this)):$.Sj(4,null,["Annotations"]);return $.p(a)?(this.Gf&&this.Gf.K(a),this):this.Gf};
$.g.$P=function(a){return $.p(a)?(this.Za=a,this):this.Za};$.g.Ni=function(a){this.ll||(this.ll=new T2(this),this.ll.qb(this),$.L(this.ll,this.aba,this));return $.p(a)?(this.ll.K(a),this):this.ll};$.g.aba=function(){$.U(this);for(var a=0;a<this.f.length;a++)this.f[a].Ni().u(64,1);this.da(!0)};$.g.LC=$.ia;$.g.qV=function(){this.va=this.la=this.Ea=this.N=window.NaN;this.rb=null;qha(this)};$.g.QP=function(){return new lZ(this)};
$.g.Mg=function(a){this.vf||(this.vf=new $.Cy,this.vf.am(!0),$.V(this,"crosshair",this.vf),$.L(this.vf,this.Sz,this),this.u(16777216,1));return $.p(a)?(this.vf.K(a),this):this.vf};$.g.Sz=function(){this.u(16777216,1)};$.g.xK=function(){for(var a=[],b=0;b<this.f.length;b++){var c=this.f[b];a.push(c&&c.enabled()?c.ag():null)}return a};
$.g.Zy=function(a,b,c,d,e,f,h){a=V2.B.Zy.call(this,a,b,c,d,e,f,h);c=this.f[b];d=c.ag();e=(a.left-d.left)/d.width;f=(a.left+a.width-d.left)/d.width;h=(a.top-d.top)/d.height;var k=(a.top+a.height-d.top)/d.height,l=this.Wa(),m=c.bb();a.plot=c;a.plotIndex=b;a.plotBounds={left:d.left,top:d.top,width:d.width,height:d.height};a.leftX=l.Kc(e);a.rightX=l.Kc(f);a.maxValue=m.Kc(h);a.minValue=m.Kc(k);m.Kf()&&(b=a.minValue,a.minValue=a.maxValue,a.maxValue=b);return a};var C4={};$.dp(C4,1,"zoomMarqueeFill",$.yp);
$.dp(C4,1,"zoomMarqueeStroke",$.xp);$.S(V2,C4);$.g=V2.prototype;$.g.f2=function(a,b){$.Rv(this,this.hfa,null,this.gfa,this.xK(),"crosshair",a,this.i("zoomMarqueeStroke"),this.i("zoomMarqueeFill"),!b);return this};$.g.hfa=function(){Z2(this);return!0};
$.g.gfa=function(a,b,c,d){if(5<Math.abs(d)){var e=this.f[a].ag();a=this.Wa();c=(b-e.left)/e.width;b=(b+d-e.left)/e.width;c>b&&(d=c,c=b,b=d);.05>b-c&&(b=(c+b)/2,c=b-.025,b+=.025);c=a.Kc(c);a=a.Kc(b);b=this.b.qf(c);d=this.b.qf(a);1>d-b&&(c=this.b.Yh(Math.floor(b)),a=this.b.Yh(Math.ceil(d)));(0,window.isNaN)(c)||(0,window.isNaN)(a)||c==this.b.b.ph&&a==this.b.b.li||!X2(this,"selectedrangechangestart","marquee")||!X2(this,"selectedrangebeforechange","marquee",c,a)||(W2(this,c,a),X2(this,"selectedrangechange",
"marquee"),X2(this,"selectedrangechangefinish","marquee"))}$2(this);return!0};
$.g.K8=function(a){var b=this.xK(),c=$.Ii(this.O().Ga()),d=a.clientX-c.x;c=a.clientY-c.y;var e,f=!1;if(b&&b.length)for(var h=0;h<b.length;h++)if((e=b[h])&&e.left<=d&&d<=e.left+e.width&&e.top<=c&&c<=e.top+e.height){f=!0;break}b=$.hq(this,"scroller");!f&&b&&b.jf()&&(f=(e=b.sb())&&e.left<=d&&d<=e.left+e.width&&e.top<=c&&c<=e.top+e.height);f&&((Math.abs(a.deltaY)>Math.abs(a.deltaX)?(b=!(a.shiftKey||a.ctrlKey||a.metaKey),d=a.deltaY):(b=!1,d=a.deltaX),d=$.fb(d)*Math.min(Math.abs(d),21),c=this.Zc(),b)?!c.i("zoomOnMouseWheel")||
(h=$.K(this.Wa(),C2),f=this.b.o,e=this.b.D,h?(f=this.b.qf(f),e=this.b.qf(e),b=this.b.b.Gg,c=this.b.b.sj):(b=this.b.b.ph,c=this.b.b.li),(0,window.isNaN)(b)||(0,window.isNaN)(c)||(d=.0125*d*(c-b),b-=d,c+=d,c-b>e-f?(b=f,c=e):(b<f&&(c+=f-b,b=f),c>e&&(b+=e-c,c=e)),h?(1>c-b&&(b=Math.round(b),c=b+1),b=this.b.Yh(b),c=this.b.Yh(c)):(d=this.b.qf(b),f=this.b.qf(c),1>f-d&&(d=Math.round(d),f=d+1,b=this.b.Yh(d),c=this.b.Yh(f))),b==this.b.b.ph&&c==this.b.b.li))||(a.preventDefault(),this.Uc=b,this.yc=c,$.p(this.P)&&
($.Vj.cancelAnimationFrame(this.P),this.Sb()),$.p(this.U)||(this.U=$.Vj.requestAnimationFrame(this.mc))):c.i("scrollOnMouseWheel")&&(b=this.AF(),!(0,window.isNaN)(b.mi)&&!(0,window.isNaN)(b.lastIndex)&&(d=tha(this,.025*-d,b)))&&(a.preventDefault(),this.ke=d,this.ee=b,$.p(this.U)&&($.Vj.cancelAnimationFrame(this.U),this.mc()),$.p(this.P)||(this.P=$.Vj.requestAnimationFrame(this.Sb))))};
$.g.jaa=function(){this.U=void 0;X2(this,"selectedrangechangestart","mouse-wheel")&&X2(this,"selectedrangebeforechange","mouse-wheel",this.Uc,this.yc)&&(W2(this,this.Uc,this.yc),X2(this,"selectedrangechange","mouse-wheel"),X2(this,"selectedrangechangefinish","mouse-wheel"))};$.g.iaa=function(){this.P=void 0;if(X2(this,"selectedrangechangestart","mouse-wheel")){var a=this.ee,b=I2(this,this.ke,a);b&&D2(this,b[0],b[1],a,"mouse-wheel");X2(this,"selectedrangechangefinish","mouse-wheel")}};
var Oha={stock:{"zoom-marquee-start":{index:8,text:"Start zoom marquee",eventType:"anychart.startZoomMarquee",action:function(a){a.menuParent.f2(!1)}},"stock-specific-separator":{index:9.4}}};$.g=V2.prototype;$.g.Zx=function(a){$.Kc(a,$.Ak(Oha.stock));return a};$.g.kga=function(a){(a=X2(this,"selectedrangechangestart",a3(a.source)))&&Z2(this);return a};
$.g.jga=function(a){a.preventDefault();var b=a.startKey,c=a.endKey;a=a3(a.source);X2(this,"selectedrangebeforechange",a,Math.min(b,c),Math.max(b,c))&&(W2(this,b,c),X2(this,"selectedrangechange",a))};$.g.iga=function(a){a.preventDefault();X2(this,"selectedrangechangefinish",a3(a.source));$2(this)};$.g.AF=function(){var a=this.b,b=a.o,c=a.D,d=this.qf(b),e=this.qf(c);return{Ar:a.b.ph,yv:a.b.li,mi:a.b.Gg,lastIndex:a.b.sj,hn:b,Jo:c,$r:d,Hv:e}};
$.g.XC=function(a){var b=this.b,c=b.o,d=b.D,e=this.qf(c),f=this.qf(d),h=b.b.li,k=b.b.Gg,l=b.b.sj;a.Ar=b.b.ph;a.yv=h;a.mi=k;a.lastIndex=l;a.hn=c;a.Jo=d;a.$r=e;a.Hv=f};$.g.R=function(){$.jd(this.f,this.g,this.b,this.Gf,this.ll,this.ym,this.vf);this.vf=this.ym=this.ll=this.Gf=this.g=this.f=null;delete this.b;delete this.Za;V2.B.R.call(this)};
$.g.F=function(){var a=V2.B.F.call(this);delete a.noDataLabel;a.grouping=this.bn().F();a.scrollerGrouping=this.GI().F();a.xScale=this.Wa().F();a.scroller=this.aB().F();a.plots=(0,$.Va)(this.f,function(a){return a?a.F():null});a.crosshair=this.Mg().F();a.eventMarkers=this.Ni().F();$.Bp(this,C4,a);a.interactivity=this.Zc().F();return a};
$.g.Y=function(a,b){V2.B.Y.call(this,a,b);var c;"xScale"in a&&this.Wa(a.xScale);this.eg(b,a);this.Mg(a.crosshair);"defaultPlotSettings"in a&&this.yY(a.defaultPlotSettings);this.aB(a.scroller);this.bn(a.grouping);this.GI(a.scrollerGrouping);"defaultAnnotationSettings"in a&&this.$P(a.defaultAnnotationSettings);(c=a.eventMarkers)&&this.Ni().ja(!!b,c);c=a.selectedRange;$.D(c)&&this.C1(c.start,c.end);$.tp(this,C4,a);this.Zc(a.interactivity)};
$.g.eg=function(a,b){var c=(b||this.ma).plots;if($.B(c))for(var d=0;d<c.length;d++)lha(this,d,c[d],a)};$.g.LZ=function(){var a=this.b.U,b=[],c;for(c in a)b.push(GY(a[c]));return b};$.g.WB=function(){return["_","x"]};$.g.yF=function(a,b,c,d){var e=$.fn(a);e in d?d=d[e]:(d=d[e]=c.length,c.push([a,b]));return c[d]};$.g.QT=function(a,b,c){V2.B.QT.call(this,a,b.values,c)};$.g.XB=function(a){return a.Fh()};$.g.VB=function(a,b){var c=b.na.Aq().xe().fc.Ma||"yyyy-MM-ddTHH:mm:ss.SSS";return $.gr(a.Fh(),c)};
$.g.oZ=function(a,b){switch(b){case "selected":var c=a.If();break;case "grouped":c=a.na;var d=c.g?WY(c.g,!1,!0):null,e=c.f.b;if(e.length){var f=0;var h=e.length-1;var k=e[f];e=e[h]}else f=h=window.NaN,k=e=null;c=new zY(c.Xc,{ph:window.NaN,li:window.NaN,Et:window.NaN,mi:f,lastIndex:h,Mx:window.NaN,WL:null,PQ:k,K_:e,eH:null,xL:{},vL:{},WI:[],XI:[],O2:{},N2:{},M2:[],L2:[]},c.D,!c.o,d);break;default:c=XY(a.na.Aq().lJ(),!1)}return c};$.g.o_=function(){return""};
$.g.oK=function(a){a=V2.B.oK.call(this,a);a.headers.shift();a.data.sort(function(a,c){return a[0]-c[0]});(0,$.ue)(a.data,function(a){a.shift()});return a};var D4=V2.prototype;$.F("anychart.stock",function(a){a=new V2(a);a.eg(!0);return a});D4.plot=D4.Se;D4.crosshair=D4.Mg;D4.scroller=D4.aB;D4.xScale=D4.Wa;D4.selectRange=D4.C1;D4.getSelectedRange=D4.Jba;D4.getType=D4.Qa;D4.legend=D4.Af;D4.grouping=D4.bn;D4.scrollerGrouping=D4.GI;D4.annotations=D4.bk;D4.eventMarkers=D4.Ni;D4.getPlotsCount=D4.Iba;
D4.startZoomMarquee=D4.f2;D4.interactivity=D4.Zc;D4.preserveSelectedRangeOnDataUpdate=D4.zfa;}).call(this,$)}
if(!_.theme_stock){_.theme_stock=1;(function($){var wla=function(){var a=this.defaultDecimalDigitsCount||void 0;return this.seriesName+":\n  Open: "+$.LJ(this.open,a)+"\n  High: "+$.LJ(this.high,a)+"\n  Low: "+$.LJ(this.low,a)+"\n  Close: "+$.LJ(this.close,a)},p$=function(){return $.gr(this.x,$.er($.dr(this.dataIntervalUnit,void 0,"full")))},xla=function(){return $.gr(this.hoveredDate,$.er($.dr(this.dataIntervalUnit,void 0,"full")))};
$.ra($.fa.anychart.themes.defaultTheme,{defaultGroupingSettings:{enabled:!0,forced:!1,levels:[{unit:"millisecond",count:1},{unit:"millisecond",count:5},{unit:"millisecond",count:10},{unit:"millisecond",count:25},{unit:"millisecond",count:50},{unit:"millisecond",count:100},{unit:"millisecond",count:250},{unit:"millisecond",count:500},{unit:"second",count:1},{unit:"second",count:5},{unit:"second",count:10},{unit:"second",count:20},{unit:"second",count:30},{unit:"minute",count:1},{unit:"minute",count:5},
{unit:"minute",count:15},{unit:"minute",count:30},{unit:"hour",count:1},{unit:"hour",count:2},{unit:"hour",count:6},{unit:"hour",count:12},{unit:"day",count:1},{unit:"week",count:1},{unit:"month",count:1},{unit:"month",count:3},{unit:"month",count:6},{unit:"year",count:1}],maxVisiblePoints:500,minPixPerPoint:window.NaN},stock:{grouping:{},scrollerGrouping:{levels:[{unit:"millisecond",count:1},{unit:"millisecond",count:2},{unit:"millisecond",count:5},{unit:"millisecond",count:10},{unit:"millisecond",
count:25},{unit:"millisecond",count:50},{unit:"millisecond",count:100},{unit:"millisecond",count:250},{unit:"millisecond",count:500},{unit:"second",count:1},{unit:"second",count:2},{unit:"second",count:5},{unit:"second",count:10},{unit:"second",count:20},{unit:"second",count:30},{unit:"minute",count:1},{unit:"minute",count:2},{unit:"minute",count:5},{unit:"minute",count:10},{unit:"minute",count:20},{unit:"minute",count:30},{unit:"hour",count:1},{unit:"hour",count:2},{unit:"hour",count:3},{unit:"hour",
count:4},{unit:"hour",count:6},{unit:"hour",count:12},{unit:"day",count:1},{unit:"day",count:2},{unit:"day",count:4},{unit:"week",count:1},{unit:"week",count:2},{unit:"month",count:1},{unit:"month",count:2},{unit:"month",count:3},{unit:"month",count:6},{unit:"year",count:1}],maxVisiblePoints:window.NaN,minPixPerPoint:1},defaultAnnotationSettings:{},defaultPlotSettings:{defaultLineMarkerSettings:{zIndex:200.2},defaultTextMarkerSettings:{zIndex:200.3},annotations:{annotationsList:[],zIndex:2E3},background:{enabled:!1},
title:{text:"Plot Title",padding:[5,5,2,5],fontSize:12},defaultSeriesSettings:{base:{pointWidth:"75%",tooltip:{format:function(){var a=$.LJ(this.value,this.defaultDecimalDigitsCount||void 0);return this.seriesName+": "+this.valuePrefix+a+this.valuePostfix},titleFormat:xla},legendItem:{iconStroke:"none"},normal:{labels:{offsetY:10}}},areaLike:{normal:{labels:{format:p$}},hovered:{markers:{enabled:null}},selected:{markers:{enabled:null}}},lineLike:{normal:{labels:{format:p$}},hovered:{markers:{enabled:null}},
selected:{markers:{enabled:null}}},rangeLike:{normal:{labels:{format:p$}},tooltip:{format:function(){var a=this.defaultDecimalDigitsCount||void 0;return this.seriesName+":\n  High: "+$.LJ(this.high,a)+"\n  Low: "+$.LJ(this.low,a)}}},candlestick:{normal:{labels:{format:p$}},tooltip:{format:wla}},column:{normal:{labels:{format:p$},stroke:"none"}},rangeColumn:{normal:{labels:{format:p$},stroke:"none"}},ohlc:{normal:{labels:{format:p$}},tooltip:{format:wla}}},defaultGridSettings:{scale:0},defaultMinorGridSettings:{scale:0},
defaultYAxisSettings:{enabled:!0,orientation:"left",title:{enabled:!1,text:"Y-Axis"},staggerMode:!1,staggerLines:null,ticks:{enabled:!0},width:50,labels:{fontSize:"11px",padding:{top:0,right:5,bottom:0,left:5}},minorLabels:{fontSize:"11px",padding:{top:0,right:5,bottom:0,left:5}},scale:0},defaultPriceIndicatorSettings:{label:{enabled:!0,background:{enabled:!0,fill:"#000"},fontColor:"#fff",padding:[2,9],hAlign:"center",fontSize:"11px"},stroke:"black"},xAxis:{enabled:!0,orientation:"bottom",background:{stroke:"#cecece",
fill:"#F7F7F7"},height:25,showHelperLabel:!0,scale:0,ticks:{enabled:!1,position:"center"},labels:{enabled:!0,fontSize:"11px",padding:5,anchor:"center-top",format:function(){return $.gr(this.dataValue,$.er($.dr(this.majorIntervalUnit)))}},minorLabels:{enabled:!0,anchor:"center-top",fontSize:"11px",padding:{top:5,right:0,bottom:5,left:0},format:function(){return $.gr(this.dataValue,$.er($.dr(this.minorIntervalUnit,this.majorIntervalUnit)))}}},dateTimeHighlighter:"#B9B9B9",legend:{enabled:!0,vAlign:"bottom",
iconSize:13,position:"top",titleFormat:function(){return $.gr(this.value,$.er($.dr(this.dataIntervalUnit,void 0,"full")))},align:"left",padding:10,title:{enabled:!0,fontSize:12,text:"",background:{enabled:!1,fill:{keys:["#fff","#f3f3f3","#fff"],angle:"90"},stroke:{keys:["#ddd","#d0d0d0"],angle:"90"}},margin:{top:0,right:15,bottom:0,left:0},padding:0,orientation:"left",align:"left",hAlign:"left",rotation:0,wordBreak:"break-all"},titleSeparator:{enabled:!1,width:"100%",height:1,margin:{top:3,right:0,
bottom:3,left:0},orientation:"top",fill:["#000 0","#000","#000 0"],stroke:"none"}},scales:[{type:"linear"}],yScale:0,zIndex:10,yAxes:[{}],crosshair:{zIndex:201,xLabels:[{enabled:null}],yLabels:[{enabled:null}]},dataArea:{zIndex:10,background:{fill:"none"}},baseline:0},padding:[20,30,20,60],plots:[{}],eventMarkers:{stickToLeft:!0,normal:{type:"circle",width:22,height:22,fill:"#515151",stroke:"#515151",fontColor:"#fff",adjustFontSize:!0,minFontSize:6,maxFontSize:20,fontSize:null,format:"A",hAlign:"center",
vAlign:"middle",fontPadding:2,connector:{length:5,stroke:"#455a64"}},hovered:{fill:$.VJ},selected:{fill:"#dd2c00"},tooltip:{title:{fontColor:"#fff",enabled:!0},titleFormat:function(){var a=$.gr(this.date,$.er($.dr(this.dataIntervalUnit,void 0,"full")));return this.title?this.title+" ("+a+")":a},format:function(){return this.description||this.symbol},fontColor:"#fff",separator:!0},direction:"auto",position:"axis",seriesId:"0",fieldName:"value"},scroller:{defaultSeriesSettings:{base:{enabled:!0,normal:{fill:"#999 0.6",
stroke:"#999 0.6",lowStroke:"#999 0.6",highStroke:"#999 0.6"},selected:{fill:$.PJ,stroke:$.PJ,lowStroke:$.PJ,highStroke:$.PJ},pointWidth:"75%"},marker:{normal:{fill:"#999 0.6",stroke:"#999 0.6"},selected:{fill:$.PJ,stroke:$.PJ}},areaLike:{normal:{fill:"#999 0.6"}},barLike:{normal:{fill:"#999 0.6"}},candlestick:{normal:{risingFill:"#999 0.6",risingStroke:"#999 0.6",fallingFill:"#999 0.6",fallingStroke:"#999 0.6"},selected:{risingFill:"#64b5f6",risingStroke:"#64b5f6",fallingFill:"#ef6c00",fallingStroke:"#ef6c00"}},
ohlc:{normal:{risingStroke:"#999 0.6",fallingStroke:"#999 0.6"},selected:{risingStroke:"#64b5f6",fallingStroke:"#ef6c00"}},stick:{normal:{stroke:"#999 0.6"},selected:{stroke:$.YJ}},jumpLine:{normal:{stroke:"#999 0.6"},selected:{stroke:$.YJ}}},enabled:!0,fill:"none",selectedFill:"#1976d2 0.2",outlineStroke:"#cecece",height:40,minHeight:null,maxHeight:null,zIndex:40,xAxis:{background:{enabled:!1},labels:{enabled:!0,fontSize:"11px",padding:5,anchor:"left-top",format:function(){return $.gr(this.dataValue,
$.er($.dr(this.majorIntervalUnit)))}},minorLabels:{enabled:!0,anchor:"left-top",fontSize:"11px",padding:5,format:function(){return $.gr(this.dataValue,$.er($.dr(this.minorIntervalUnit,this.majorIntervalUnit)))}},ticks:{position:"center"},minorTicks:{enabled:!0,stroke:"#cecece",position:"center"},zIndex:75,showHelperLabel:!0}},tooltip:{allowLeaveScreen:!0,displayMode:"union",title:{fontSize:13},titleFormat:xla},a11y:{titleFormat:$.cK},zoomMarqueeFill:"#d3d3d3 0.4",zoomMarqueeStroke:"#d3d3d3",interactivity:{zoomOnMouseWheel:!1,
scrollOnMouseWheel:!1},crosshair:{enabled:!0,displayMode:"sticky",xLabels:[{enabled:null}],yLabels:[{enabled:null}],xStroke:"#969EA5",yStroke:"#969EA5"}}});}).call(this,$)}
$_=window.anychart;$_.$=$;$_._=_});