/**
 * 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: anychart-bullet, anychart-cartesian, anychart-cartesian-3d, anychart-circular-gauge, anychart-gantt, anychart-graph, anychart-heatmap, anychart-linear-gauge, anychart-map, anychart-mekko, anychart-pareto, anychart-pert, anychart-pie, anychart-polar, anychart-pyramid-funnel, anychart-radar, anychart-resource, anychart-sankey, anychart-scatter, anychart-sparkline, anychart-stock, anychart-sunburst, anychart-surface, anychart-tag-cloud, anychart-timeline, anychart-treemap, anychart-venn, anychart-waterfall, anychart-wordtree, anychart-annotations, anychart-data-adapter, anychart-exports, anychart-table, anychart-ui, anychart-ui-binding
 * Version: 8.9.0 (2021-04-15)
 * License: https://www.anychart.com/buy/
 * Contact: sales@anychart.com
 * Copyright: AnyChart.com 2021. 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{$={};_={}}if(!_.core){_.core=1;(function($){var ba,baa,caa,ta,Ea,daa,La,eaa,Sa,faa,Ya,gaa,ub,xb,Fb,Kb,Pb,Mb,Ob,dc,kc,sc,tc,wc,yc,Xb,paa,Tc,Vc,Wc,Xc,Yc,raa,$c,ud,yd,xaa,Bd,Dd,Ed,Fd,Kd,yaa,Hd,Td,Nd,Xd,Aaa,Ld,Jd,Me,Oe,Ue,ff,kf,qe,nf,of,pf,tf,Df,Af,Tf,Xf,Zf,$f,cg,eg,dg,fg,jg,lg,mg,og,rg,tg,xg,ug,sg,Bg,Ag,Dg,Hg,Haa,Ig,Lg,Ng,Pg,Rg,Sg,Tg,Og,Qg,Mg,Wg,Xg,Yg,eh,jh,hh,gh,uh,wh,xh,yh,zh,Ah,Bh,Ch,Dh,Eh,Gh,Hh,Ih,Nh,Oh,Ph,Qh,Rh,Sh,Th,ci,di,ei,fi,gi,hi,ii,ji,ki,li,mi,ni,oi,pi,qi,ri,Vh,Wh,ti,ui,yi,zi,Bi,Ci,Kaa,Laa,Maa,Di,Fi,Ii,Ji,Ki,Oi,Pi,Qi,Ri,Si,Saa,Taa,
cj,kj,mj,nj,rj,Vaa,qj,oj,pj,vj,Uaa,sj,Hi,Oaa,Naa,Waa,Sj,Tj,Uj,Xj,Yj,Zj,ak,ck,bk,Rj,fk,ok,Zb,Gi,tk,Ak,Dk,eba,hba,Kk,pba,tba,al,Cba,Dba,kl,ll,nl,ol,rl,tl,yl,xl,Bl,El,Gl,Jba,bm,lm,nm,jm,qm,km,sm,um,Xa,Hm,Jm,Km,Lm,Nm,Vm,Wm,Xm,Ym,an,cn,ln,mn,nn,on,qn,pn,rn,sn,tn,Bn,Cn,Dn,En,Lba,Jn,Kn,Mn,Ln,Nn,Sn,Qn,Pn,Un,Vn,Nba,Oba,Pba,Xn,Wn,Yn,Zn,io,lo,Tba,vo,Oo,To,Uba,Uo,Mm,Yo,$o,gp,fp,Wba,Vba,Yba,np,rp,sp,tp,$ba,xp,yp,aca,Ap,Hp,Op,Pp,ml,Wp,Xp,$p,aq,cq,eq,fq,Lq,Mq,Aq,Oq,Rq,Sq,nq,Kq,Jq,Iq,ir,nr,sr,tr,ur,bca,Ar,Cr,Dr,
Fr,dca,Gr,Hr,Ir,Lr,Jr,Kr,fca,Nr,Or,Pr,Rr,Sr,Ur,Xr,Zr,as,ls,bs,us,Bs,Cs,Ds,Hs,Is,Js,Ks,Ls,Ms,Ns,Zs,bt,at,ct,ft,it,jt,dt,nt,ot,nca,vt,wt,xt,zt,Gt,Ht,It,Jt,Tt,Ut,Vt,Wt,Xt,Ot,Yt,St,Zt,$t,bu,gu,hu,lu,mu,nu,ou,oca,pu,qu,su,uu,vu,pca,Eu,Fu,rca,Pu,Ru,Su,Tu,Ju,sca,Uu,tca,Gu,Wu,Xu,Yu,Zu,cv,dv,ev,fv,gv,hv,iv,kv,lv,nv,uca,ov,pv,qv,mv,vca,wca,yca,xca,rv,uv,xv,yv,Fv,Av,Gv,Hv,Iv,Jv,Kv,Cv,Bv,Dv,Ev,zca,Aca,Lv,Mv,Ov,Pv,Sv,Tv,Uv,Vv,Wv,Xv,Yv,Zv,$v,bw,cw,aw,dw,kw,nw,Bca,pw,vw,sw,qw,xw,tw,jw,Dw,Ew,yw,Fw,lw,uw,Bw,Gw,Jw,
Kw,Dca,Eca,Fca,Gca,Hca,Mw,Ica,Nw,Ow,Qw,Rw,Sw,Tw,ax,Jca,ix,kx,lx,Kca,px,sx,tx,wx,Ax,yx,Bx,Gx,Hx,Ix,Lx,Jx,Tx,Ux,Vx,Wx,Xx,Mca,Nca,Oca,Pca,gy,hy,vy,Gy,Iy,Rca,Fy,Jy,My,Oy,Ty,Tca,Xy,Zy,az,bz,dz,hz,Uca,jz,kz,lz,mz,nz,oz,qz,rz,sz,tz,Dz,Wca,Xca,Mz,Oz,Tz,Wz,Yz,Zz,cA,dA,iA,jA,kA,lA,mA,oA,pA,qA,uA,yA,Iz,zA,CA,BA,AA,HA,JA,GA,MA,NA,OA,PA,Lz,Jz,Yca,YA,$A,Zca,$ca,aB,cB,fB,Ez,Gz,ada,mB,oB,pB,qB,rB,tB,sB,uB,vB,wB,xB,zB,AB,CB,DB,LB,MB,NB,PB,QB,SB,TB,XB,YB,$B,aC,eC,fC,gC,hC,bC,cC,dC,iC,jC,kC,lC,mC,nC,oC,pC,qC,rC,sC,
tC,uC,vC,yC,eda,dda,fda,CC,DC,zC,EC,FC,GC,LC,bD,ZC,eD,hD,dD,iD,cD,kD,qD,aa,na,aaa;ba=function(a){return function(){return aa[a].apply(this,arguments)}};$.ca=function(a,b){return aa[a]=b};$.n=function(a){return void 0!==a};$.z=function(a){return"string"==typeof a};$.da=function(a){return"boolean"==typeof a};$.ea=function(a){return"number"==typeof a};$.ha=function(a){a=a.split(".");for(var b=$.fa,c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b};$.ia=function(){};
$.ja=function(a){a.aU=void 0;a.vd=function(){return a.aU?a.aU:a.aU=new a}};
$.ka=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b};$.A=function(a){return"array"==$.ka(a)};$.la=function(a){var b=$.ka(a);return"array"==b||"object"==b&&"number"==typeof a.length};$.ma=function(a){return $.D(a)&&"function"==typeof a.getFullYear};$.E=function(a){return"function"==$.ka(a)};$.D=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};$.oa=function(a){return a[na]||(a[na]=++aaa)};baa=function(a,b,c){return a.call.apply(a.bind,arguments)};
caa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}};$.pa=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?$.pa=baa:$.pa=caa;return $.pa.apply(null,arguments)};
$.qa=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}};$.ra=function(a,b){for(var c in b)a[c]=b[c]};$.F=function(a,b){var c=a.split("."),d=$.fa;c[0]in d||!d.execScript||d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)!c.length&&$.n(b)?d[e]=b:d[e]&&d[e]!==Object.prototype[e]?d=d[e]:d=d[e]={}};
$.H=function(a,b){function c(){}c.prototype=b.prototype;a.u=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.nF=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}};ta=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,ta);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};$.ua=function(a){return a[a.length-1]};
$.wa=function(a,b,c){var d=a.length,e=$.z(a)?a.split(""):a;for(--d;0<=d;--d)d in e&&b.call(c,e[d],d,a)};$.ya=function(a,b,c){b=$.xa(a,b,c);return 0>b?null:$.z(a)?a.charAt(b):a[b]};$.xa=function(a,b,c){for(var d=a.length,e=$.z(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1};$.Aa=function(a,b){return 0<=(0,$.za)(a,b)};$.Ba=function(a,b){$.Aa(a,b)||a.push(b)};$.Da=function(a,b,c){$.Ca(a,c,0,b)};$.Fa=function(a,b){var c=(0,$.za)(a,b),d;(d=0<=c)&&Ea(a,c);return d};
Ea=function(a,b){return 1==Array.prototype.splice.call(a,b,1).length};$.Ga=function(a){return Array.prototype.concat.apply([],arguments)};daa=function(a){return Array.prototype.concat.apply([],arguments)};$.Ha=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};$.Ia=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if($.la(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}};
$.Ca=function(a,b,c,d){return Array.prototype.splice.apply(a,$.Ja(arguments,1))};$.Ja=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};$.Ka=function(a,b,c){function d(a){return $.D(a)?"o"+$.oa(a):(typeof a).charAt(0)+a}b=b||a;c=c||d;for(var e={},f=0,h=0;h<a.length;){var k=a[h++],l=c(k);Object.prototype.hasOwnProperty.call(e,l)||(e[l]=!0,b[f++]=k)}b.length=f};$.Na=function(a,b,c){return La(a,c||$.Ma,!1,b)};
$.Pa=function(a,b,c){return La(a,b,!0,void 0,c)};La=function(a,b,c,d,e){for(var f=0,h=a.length,k;f<h;){var l=f+h>>1,m;c?m=b.call(e,a[l],l,a):m=b(d,a[l]);0<m?f=l+1:(h=l,k=!m)}return k?f:~f};$.Qa=function(a,b){a.sort(b||$.Ma)};$.Ra=function(a,b){for(var c=Array(a.length),d=0;d<a.length;d++)c[d]={index:d,value:a[d]};var e=b||$.Ma;$.Qa(c,function(a,b){return e(a.value,b.value)||a.index-b.index});for(d=0;d<a.length;d++)a[d]=c[d].value};eaa=function(a,b){var c=$.Ma;$.Qa(a,function(a,e){return c(b(a),b(e))})};
Sa=function(a){eaa(a,function(a){return a.offset})};$.Ta=function(a,b){if(!$.la(a)||!$.la(b)||a.length!=b.length)return!1;for(var c=a.length,d=faa,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0};$.Ma=function(a,b){return a>b?1:a<b?-1:0};faa=function(a,b){return a===b};$.Ua=function(a,b,c){c=$.Na(a,b,c);return 0>c?($.Da(a,b,-(c+1)),!0):!1};$.Va=function(a,b){var c=[],d=0,e=a;void 0!==b&&(d=a,e=b);if(0>e-d)return[];for(;d<e;d+=1)c.push(d);return c};
Ya=function(a){return $.Ga.apply([],(0,$.Wa)(a,Xa,void 0))};$.Za=function(a,b,c){return Math.min(Math.max(a,b),c)};$.$a=function(a,b){var c=a%b;return 0>c*b?c+b:c};$.ab=function(a){return $.$a(a,360)};$.bb=function(a){return a*Math.PI/180};$.cb=function(a){return 180*a/Math.PI};$.db=function(a,b){return b*Math.cos($.bb(a))};$.eb=function(a,b){return b*Math.sin($.bb(a))};$.fb=function(a){return 0<a?1:0>a?-1:a};$.gb=function(a,b){this.x=$.n(a)?a:0;this.y=$.n(b)?b:0};
$.ib=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};$.jb=function(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)};$.lb=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};$.mb=function(a,b){this.width=a;this.height=b};$.nb=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};$.J=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};
$.ob=function(a,b){return a==b?!0:a&&b?a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height:!1};$.pb=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top),f=Math.min(a.top+a.height,b.top+b.height);if(e<=f)return new $.J(c,e,d-c,f-e)}return null};
gaa=function(a,b){var c;if((c=$.pb(a,b))&&c.height&&c.width){c=[];var d=a.top,e=a.height,f=a.left+a.width,h=a.top+a.height,k=b.left+b.width,l=b.top+b.height;b.top>a.top&&(c.push(new $.J(a.left,a.top,a.width,b.top-a.top)),d=b.top,e-=b.top-a.top);l<h&&(c.push(new $.J(a.left,l,a.width,h-l)),e=l-d);b.left>a.left&&c.push(new $.J(a.left,d,b.left-a.left,e));k<f&&c.push(new $.J(k,d,f-k,e))}else c=[a.clone()];return c};
$.qb=function(a,b){var c=Math.max(a.left+a.width,b.left+b.width),d=Math.max(a.top+a.height,b.top+b.height);a.left=Math.min(a.left,b.left);a.top=Math.min(a.top,b.top);a.width=c-a.left;a.height=d-a.top};$.rb=function(a,b){return b instanceof $.gb?b.x>=a.left&&b.x<=a.left+a.width&&b.y>=a.top&&b.y<=a.top+a.height:a.left<=b.left&&a.left+a.width>=b.left+b.width&&a.top<=b.top&&a.top+a.height>=b.top+b.height};
$.sb=function(a,b){var c=b.x<a.left?a.left-b.x:Math.max(b.x-(a.left+a.width),0),d=b.y<a.top?a.top-b.y:Math.max(b.y-(a.top+a.height),0);return c*c+d*d};$.tb=function(a,b,c,d,e,f,h){var k=$.bb(f);f=Math.ceil(Math.abs(k)/Math.PI*2);k/=f;var l=$.bb(e);e=h?[a+$.db(e,c),b+$.eb(e,d)]:[];for(h=0;h<f;h++){var m=Math.cos(l),p=Math.sin(l),q=4/3*Math.sin(k/2)/(1+Math.cos(k/2)),r=a+(m-q*p)*c,t=b+(p+q*m)*d;l+=k;m=Math.cos(l);p=Math.sin(l);e.push(r,t,a+(m+q*p)*c,b+(p-q*m)*d,a+m*c,b+p*d)}return e};
ub=function(a){function b(a,b,c,d,e){var f=1-e;return f*f*f*a+3*f*f*e*b+3*f*e*e*c+e*e*e*d}for(var c=[[arguments[0]],[arguments[1]]],d=2,e=arguments.length;d<e;d+=6){var f=[arguments[d-2],arguments[d-1]],h=[arguments[d],arguments[d+1]],k=[arguments[d+2],arguments[d+3]],l=[arguments[d+4],arguments[d+5]];c[0].push(l[0]);c[1].push(l[1]);for(var m,p=0;2>p;p++){var q=-3*f[p]+9*h[p]-9*k[p]+3*l[p],r=6*f[p]-12*h[p]+6*k[p];m=3*h[p]-3*f[p];if(0==q)0!=r&&(m=-m/r,0<m&&1>m&&c[p].push(b(f[p],h[p],k[p],l[p],m)));
else{var t=r*r-4*m*q;0<t?(m=(-r+Math.sqrt(t))/(2*q),0<m&&1>m&&c[p].push(b(f[p],h[p],k[p],l[p],m)),m=(-r-Math.sqrt(t))/(2*q),0<m&&1>m&&c[p].push(b(f[p],h[p],k[p],l[p],m))):0==t&&(m=-r/(2*q),0<m&&1>m&&c[p].push(b(f[p],h[p],k[p],l[p],m)))}}}d=new $.J(Math.min.apply(null,c[0]),Math.min.apply(null,c[1]),0,0);d.width=Math.max.apply(null,c[0])-d.left;d.height=Math.max.apply(null,c[1])-d.top;return d};
xb=function(a){if(0==arguments.length)return null;for(var b=null,c=!1,d=0,e=arguments.length;d<e;d++)arguments[d]&&(b?(c||(c=!!(b=b.clone())),$.wb(b,arguments[d])):b=arguments[d]);return b};$.zb=function(a,b){if(!b||$.yb(b))return a;var c=a.left,d=a.top,e=c+a.width,f=d+a.height;f=[c,d,c,f,e,d,e,f];b.transform(f,0,f,0,4);c=Math.min(f[0],f[2],f[4],f[6]);d=Math.min(f[1],f[3],f[5],f[7]);e=Math.max(f[0],f[2],f[4],f[6]);f=Math.max(f[1],f[3],f[5],f[7]);return new $.J(c,d,e-c,f-d)};
$.Ab=function(a,b,c,d){var e=(a*c+b*d)/(Math.sqrt(a*a+b*b)*Math.sqrt(c*c+d*d));e=$.Za(e,-1,1);e=$.cb(Math.acos(e));return 0<a*d-b*c?e:-e};$.Bb=function(a){return a?$.cb(Math.atan2(a.Me,a.Ee)):0};$.Cb=function(a,b,c,d,e,f){if(6==arguments.length)this.setTransform(a,b,c,d,e,f);else{if(0!=arguments.length)throw Error("Insufficient matrix parameters");this.ed=this.Ee=1;this.Me=this.We=this.Ad=this.xd=0}};$.yb=function(a){return 1==a.ed&&0==a.Me&&0==a.We&&1==a.Ee&&0==a.Ad&&0==a.xd};
$.Db=function(a,b,c){a.ed*=b;a.We*=b;a.Ad*=b;a.Me*=c;a.Ee*=c;a.xd*=c};$.Eb=function(a,b,c){a.Ad+=b;a.xd+=c};Fb=function(a,b,c){var d=a.ed,e=a.Me;a.ed+=c*a.We;a.Me+=c*a.Ee;a.We+=b*d;a.Ee+=b*e};$.wb=function(a,b){var c=a.ed,d=a.We;a.ed=b.ed*c+b.Me*d;a.We=b.We*c+b.Ee*d;a.Ad+=b.Ad*c+b.xd*d;c=a.Me;d=a.Ee;a.Me=b.ed*c+b.Me*d;a.Ee=b.We*c+b.Ee*d;a.xd+=b.Ad*c+b.xd*d;return a};
$.Hb=function(a,b){var c=a.ed,d=a.Me;a.ed=b.ed*c+b.We*d;a.Me=b.Me*c+b.Ee*d;c=a.We;d=a.Ee;a.We=b.ed*c+b.We*d;a.Ee=b.Me*c+b.Ee*d;c=a.Ad;d=a.xd;a.Ad=b.ed*c+b.We*d+b.Ad;a.xd=b.Me*c+b.Ee*d+b.xd};$.Ib=function(a){var b=a.ed*a.Ee-a.We*a.Me;return new $.Cb(a.Ee/b,-a.Me/b,-a.We/b,a.ed/b,(a.We*a.xd-a.Ee*a.Ad)/b,(a.Me*a.Ad-a.ed*a.xd)/b)};$.Jb=function(a,b,c){var d=new $.Cb,e=Math.cos(a);a=Math.sin(a);return d.setTransform(e,a,-a,e,b-b*e+c*a,c-b*a-c*e)};
Kb=function(a,b){var c=a.left,d=a.top;b=b.toLowerCase();switch(b){case "left-center":d+=a.height/2;break;case "left-bottom":d+=a.height;break;case "center-top":c+=a.width/2;break;case "center":c+=a.width/2;d+=a.height/2;break;case "center-bottom":c+=a.width/2;d+=a.height;break;case "right-top":c+=a.width;break;case "right-center":c+=a.width;d+=a.height/2;break;case "right-bottom":c+=a.width,d+=a.height}return[c,d]};
$.Lb=function(a){var b,c,d=a.trim().replace(/\(\s+/gi,"(").replace(/\s+\)/gi,")").replace(/(\s+,\s+)|(\s+)/gi,",").replace(/(\)),*(\w)/gi,"$1 $2").split(" "),e=new $.Cb;a=0;for(c=d.length;a<c;a++){var f=/^(matrix|translate|rotate|scale|skewX|skewY)\(([e\d.,-]+)\)/i.exec(d[a]);var h=f[1],k=f[2].split(",");f=0;for(b=k.length;f<b;f++)k[f]=(0,window.parseFloat)(k[f]);switch(h){case "matrix":h=new $.Cb(k[0],k[1],k[2],k[3],k[4],k[5]);$.wb(e,h);break;case "translate":e.translate(k[0],k[1]||0);break;case "rotate":e.rotate($.bb(k[0]),
k[1]||0,k[2]||0);break;case "scale":e.scale(k[0],k[1]||0);break;case "skewX":Fb(e,Math.tan($.bb(k[0])),0);break;case "skewY":Fb(e,0,Math.tan($.bb(k[0])))}}return e};
$.Vb=function(a,b,c,d,e,f,h){var k,l;if($.z(a)){var m=Mb(a,!1);$.z(m)&&$.n(b)&&(d=(0,window.parseFloat)(b),m={color:a,opacity:(0,window.isNaN)(d)?1:$.Za(d,0,1)})}else if($.A(a)){var p=$.Ja(a,0);for(k=p.length;k--;){var q=p[k];$.z(q)&&(q=Ob(q));(0,window.isNaN)(q.offset)&&(q.offset=k/(p.length-1||1));p[k]=q}q=$.Ja(p,0);q.sort(function(a,b){return a.offset-b.offset});if(0!=q[0].offset){var r={offset:0,color:p[0].color};$.n(p[0].opacity)&&!(0,window.isNaN)(p[0].opacity)&&(r.opacity=$.Za(p[0].opacity,
0,1));p.unshift(r)}1!=q[q.length-1].offset&&(r={offset:1,color:p[p.length-1].color},$.n(p[p.length-1].opacity)&&!(0,window.isNaN)(p[p.length-1].opacity)&&(r.opacity=$.Za(p[p.length-1].opacity,0,1)),p.push(r));$.ea(b)&&!(0,window.isNaN)(b)&&$.ea(c)&&!(0,window.isNaN)(c)?(b=b||0,c=c||0,m={keys:p,cx:b,cy:c,mode:Pb(d),fx:(0,window.isNaN)(f)?b:+f,fy:(0,window.isNaN)(h)?c:+h,opacity:$.Za($.n(e)?e:1,0,1)}):m={keys:p,angle:+b||0,mode:Pb(c)||!!c,opacity:$.Za((0,window.isNaN)(+d)?1:+d,0,1)}}else if($.D(a))if($.K(a,
$.Sb))m=a;else if("pattern"==a.type)delete a.id,m=a.bounds,m=new $.J(m.left,m.top,m.width,m.height),m=$.Tb(m),m.fe(a);else if("keys"in a){p=$.Ja(a.keys,0);for(k=p.length;k--;)q=p[k],$.z(q)?r=Ob(q):($.z(q.color)?l=q.color:l=$.A(q.color)?$.Ub(q.color):"black",r={offset:q.offset,color:l},(0,window.isNaN)(q.opacity)||(r.opacity=$.Za(q.opacity,0,1))),(0,window.isNaN)(r.offset)&&(r.offset=k/(p.length-1||1)),p[k]=r;q=$.Ja(p,0);q.sort(function(a,b){return a.offset-b.offset});0!=q[0].offset&&(r={offset:0,
color:p[0].color},$.n(p[0].opacity)&&!(0,window.isNaN)(p[0].opacity)&&(r.opacity=$.Za(p[0].opacity,0,1)),p.unshift(r));1!=q[q.length-1].offset&&(r={offset:1,color:p[p.length-1].color},$.n(p[p.length-1].opacity)&&!(0,window.isNaN)(p[p.length-1].opacity)&&(r.opacity=$.Za(p[p.length-1].opacity,0,1)),p.push(r));d=$.Za($.n(a.opacity)?a.opacity:1,0,1);e=Pb(a.mode);b=a.cx;c=a.cy;$.ea(b)&&!(0,window.isNaN)(b)&&$.ea(c)&&!(0,window.isNaN)(c)?m={keys:p,cx:+b,cy:+c,mode:e,fx:(0,window.isNaN)(a.fx)?+a.cx:+a.fx,
fy:(0,window.isNaN)(a.fy)?+a.cy:+a.fy,opacity:d}:m={keys:p,angle:+a.angle||0,mode:e||!!a.mode,opacity:d};a=a.transform;null!=a&&($.K(a,$.Cb)?m.transform=a:$.D(a)?(m.transform=new $.Cb,m.transform.setTransform(a.m00,a.m10,a.m01,a.m11,a.m02,a.m12)):$.z(a)&&(m.transform=$.Lb(a)))}else"src"in a?m={src:a.src,mode:$.n(a.mode)?a.mode:"stretch",opacity:$.Za($.n(a.opacity)?a.opacity:1,0,1)}:(l=$.z(a.color)?a.color:"black",(0,window.isNaN)(a.opacity)?m=l:m={color:l,opacity:$.Za(a.opacity,0,1)});else m="none";
return m};
$.Yb=function(a,b,c,d,e){if(null===a)var f="none";else{if($.z(a)){f=Xb(a,1);var h=(0,window.parseFloat)(f[0]);(0,window.isNaN)(h)||(a=f[1],b=h)}f=$.D(a);b=(0,window.parseFloat)(f&&"thickness"in a?a.thickness:b);if(!(0,window.isNaN)(b)&&!b)return"none";h=f&&"dash"in a;var k=f&&"lineJoin"in a,l=f&&"lineCap"in a;f=$.Vb(a);if("none"==f)return f;f=$.K(f,$.Sb)?"black":f;if(!(0,window.isNaN)(b)||h||k||l||$.n(c)||$.n(d)||$.n(e))$.z(f)&&(f={color:f}),(0,window.isNaN)(b)||(f.thickness=b),h?f.dash=a.dash||"none":
null!=c&&(f.dash=c||"none"),k?f.lineJoin=a.lineJoin||"none":null!=d&&(f.lineJoin=d||"none"),l?f.lineCap=a.lineCap||"none":null!=e&&(f.lineCap=e||"none")}return f};
$.$b=function(a,b,c,d){if($.z(a)&&"none"==a.toLowerCase())return null;$.z(a)||$.ea(a)?b=Zb(a,b,$.n(c)?(0,window.parseFloat)(c):void 0,$.n(d)?(0,window.parseFloat)(d):void 0):$.K(a,$.Sb)?b=a:$.D(a)?"pattern"==a.type?(delete a.id,b=a.bounds,b=new $.J(b.left,b.top,b.width,b.height),b=$.Tb(b),b.fe(a)):b=Zb(a.type,a.color,a.thickness,a.size):b=null;return b};
Pb=function(a){if(null!=a){if($.K(a,$.J))return a;if($.D(a)&&!(0,window.isNaN)(a.left)&&!(0,window.isNaN)(a.top)&&!(0,window.isNaN)(a.width)&&!(0,window.isNaN)(a.height))return new $.J(a.left,a.top,a.width,a.height)}return null};$.ac=function(a){return"object"===$.ka(a)&&"offsetX"in a&&"offsetY"in a?a.offsetX+" "+a.offsetY+" "+(a.blurRadius||"0")+" "+(a.color||""):$.z(a)?a:"none"};
Mb=function(a,b){var c=a.split(" "),d=1<c.length?$.Za(+c[c.length-1],0,1):window.NaN;if((0,window.isNaN)(d)){if(b)return{color:a};d=1}else c.pop(),a=c.join(" ");return b||1!=d?{color:a,opacity:d}:a};Ob=function(a){var b=Xb(a,1),c=window.NaN;1<b.length&&(c=(0,window.parseFloat)(b[0]),a=(0,window.isNaN)(c)?a:b[1]);a=Mb(a,!0);(0,window.isNaN)(c)||(a.offset=$.Za(c,0,1));return a};$.bc=function(a){var b;return a&&"none"!=a?(0,window.isNaN)(b=a.thickness)||null===b?1:b:0};$.cc=function(){};
$.ec=function(a,b,c){return b[a.b]||(b[a.b]=dc(a,b,c))};dc=function(a,b,c){return["ac",$.n(c)?c:b.Fm?b.Fm():"",(a.f++).toString(36)].join("_")};$.fc=function(a,b){return 0==a.lastIndexOf(b,0)};$.gc=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};$.hc=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")};$.jc=function(a){return a.replace(/(\r\n|\r|\n)/g,"\n")};
kc=function(a){return a.replace(/\xa0|[ \t]+/g," ")};$.lc=function(a){return a.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")};$.nc=function(a){return a.replace(/^[\s\xa0]+/,"")};$.oc=function(a,b){return a.replace(/(\r\n|\r|\n)/g,b?"<br />":"<br>")};
$.pc=function(a){if(!haa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(iaa,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(jaa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(kaa,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(laa,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(maa,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(naa,"&#0;"));return a};
sc=function(a){for(var b=[],c=0;c<a.length;c++){var d=c;var e=a.charAt(c);if(e in qc)e=qc[e];else if(e in rc)e=qc[e]=rc[e];else{var f=e.charCodeAt(0);if(31<f&&127>f)var h=e;else{if(256>f){if(h="\\x",16>f||256<f)h+="0"}else h="\\u",4096>f&&(h+="0");h+=f.toString(16).toUpperCase()}e=qc[e]=h}b[d]=e}return b.join("")};tc=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};
$.uc=function(a,b){var c=$.n(void 0)?a.toFixed(void 0):String(a),d=c.indexOf(".");-1==d&&(d=c.length);return oaa("0",Math.max(0,b-d))+c};
$.xc=function(a,b){for(var c=0,d=(0,$.vc)(String(a)).split("."),e=(0,$.vc)(String(b)).split("."),f=Math.max(d.length,e.length),h=0;0==c&&h<f;h++){var k=d[h]||"",l=e[h]||"";do{k=/(\d*)(\D*)(.*)/.exec(k)||["","","",""];l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];if(0==k[0].length&&0==l[0].length)break;c=wc(0==k[1].length?0:(0,window.parseInt)(k[1],10),0==l[1].length?0:(0,window.parseInt)(l[1],10))||wc(0==k[2].length,0==l[2].length)||wc(k[2],l[2]);k=k[3];l=l[3]}while(0==c)}return c};
wc=function(a,b){return a<b?-1:a>b?1:0};yc=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})};$.Ac=function(a){var b=$.z(void 0)?tc(void 0):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})};Xb=function(a,b){for(var c=a.split(" "),d=[];0<b&&c.length;)d.push(c.shift()),b--;c.length&&d.push(c.join(" "));return d};$.Cc=function(a){return-1!=Bc.indexOf(a)};
$.Dc=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};paa=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c};$.Ec=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};$.Gc=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};$.Hc=function(a,b){return null!==a&&b in a};$.Ic=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d};$.Jc=function(a){for(var b in a)return!1;return!0};$.Kc=function(a){for(var b in a)delete a[b]};
$.Nc=function(a,b){b in a&&delete a[b]};$.Oc=function(a,b,c){if(null!==a&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=c};$.Pc=function(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(c in b)if(!(c in a))return!1;return!0};$.Qc=function(a){var b={},c;for(c in a)b[c]=a[c];return b};$.Sc=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Rc.length;f++)c=Rc[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};
Tc=function(a){var b=arguments.length;if(1==b&&$.A(arguments[0]))return Tc.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c};$.Uc=function(){return $.Cc("Trident")||$.Cc("MSIE")};Vc=function(){return($.Cc("Chrome")||$.Cc("CriOS"))&&!$.Cc("Edge")};Wc=function(){return $.Cc("iPhone")&&!$.Cc("iPod")&&!$.Cc("iPad")};Xc=function(){return Wc()||$.Cc("iPad")||$.Cc("iPod")};Yc=function(a){Yc[" "](a);return a};$.Zc=function(a,b){try{return Yc(a[b]),!0}catch(c){}return!1};
raa=function(a,b){var c=qaa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};$c=function(){var a=$.fa.document;return a?a.documentMode:void 0};$.bd=function(a){return raa(a,function(){return 0<=$.xc($.ad,a)})};$.ed=function(a){return Number(cd)>=a};$.fd=function(a){var b=$.ka(a);if("array"==b){b=[];for(var c=0;c<a.length;c++)c in a&&(b[c]=$.fd(a[c]))}else if("object"==b)for(c in b={},a)a.hasOwnProperty(c)&&(b[c]=$.fd(a[c]));else return a;return b};
$.id=function(a,b,c){if($.gd||$.hd)a.apply(c,b);else for(var d=0,e=5E4,f=Math.ceil(b.length/5E4),h=0;h<f;h++)a.apply(c,b.slice(d,e)),d+=5E4,e+=5E4};$.K=function(a,b){return!!a&&a instanceof b};$.jd=function(a){return saa[a]||"Unknown error happened"};$.od=function(){0!=kd&&(nd[$.oa(this)]=this);this.fd=this.fd;this.zu=this.zu};$.sd=function(a,b){$.pd(a,$.qa($.qd,b))};$.pd=function(a,b,c){a.fd?$.n(c)?b.call(c):b():(a.zu||(a.zu=[]),a.zu.push($.n(c)?(0,$.pa)(b,c):b))};
$.qd=function(a){a&&"function"==typeof a.cd&&a.cd()};$.td=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];$.la(d)?$.td.apply(null,d):$.qd(d)}};ud=function(a,b){this.type=a;this.b=this.target=b;this.G=this.j=!1;this.L3=!0};
$.xd=function(a,b){ud.call(this,a?a.type:"");this.relatedTarget=this.b=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.f=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.D=!1;this.pointerId=0;this.pointerType="";this.dl=null;if(a){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.b=b;var e=a.relatedTarget;e?$.gd&&($.Zc(e,"nodeName")||
(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;null===d?(this.offsetX=$.vd||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=$.vd||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=
d.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.f=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.D=$.wd?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=$.z(a.pointerType)?a.pointerType:taa[a.pointerType]||"";this.state=a.state;this.dl=a;a.defaultPrevented&&this.preventDefault()}};
yd=function(a,b){return uaa?a.dl.button==b:"click"==a.type?0==b:!!(a.dl.button&vaa[b])};$.Ad=function(a){return!(!a||!a[zd])};xaa=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Wx=e;this.key=++waa;this.OD=this.gK=!1};Bd=function(a){a.OD=!0;a.listener=null;a.proxy=null;a.src=null;a.Wx=null};Dd=function(a){this.src=a;this.b={};this.f=0};
Ed=function(a,b){var c=b.type;if(!(c in a.b))return!1;var d=$.Fa(a.b[c],b);d&&(Bd(b),0==a.b[c].length&&(delete a.b[c],a.f--));return d};Fd=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.OD&&f.listener==b&&f.capture==!!c&&f.Wx==d)return e}return-1};$.Id=function(a,b,c,d,e){if(d&&d.once)return Hd(a,b,c,d,e);if($.A(b)){for(var f=0;f<b.length;f++)$.Id(a,b[f],c,d,e);return null}c=Jd(c);return $.Ad(a)?a.ra(b,c,$.D(d)?!!d.capture:!!d,e):Kd(a,b,c,!1,d,e)};
Kd=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var h=$.D(e)?!!e.capture:!!e,k=Ld(a);k||(a[Md]=k=new Dd(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=yaa();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)zaa||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Nd(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Od++;return c};
yaa=function(){var a=Aaa,b=Pd?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b};Hd=function(a,b,c,d,e){if($.A(b)){for(var f=0;f<b.length;f++)Hd(a,b[f],c,d,e);return null}c=Jd(c);return $.Ad(a)?a.ve(b,c,$.D(d)?!!d.capture:!!d,e):Kd(a,b,c,!0,d,e)};
$.Sd=function(a,b,c,d,e){if($.A(b)){for(var f=0;f<b.length;f++)$.Sd(a,b[f],c,d,e);return null}d=$.D(d)?!!d.capture:!!d;c=Jd(c);if($.Ad(a))return a.ac(b,c,d,e);if(!a)return!1;if(a=Ld(a))if(b=a.sG(b,c,d,e))return Td(b);return!1};
Td=function(a){if($.ea(a)||!a||a.OD)return!1;var b=a.src;if($.Ad(b))return b.jB(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Nd(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Od--;(c=Ld(b))?(Ed(c,a),0==c.f&&(c.src=null,b[Md]=null)):Bd(a);return!0};
$.Ud=function(a,b){if(!a)return 0;if($.Ad(a))return a.ll(b);var c=Ld(a);if(!c)return 0;var d=0,e=b&&b.toString(),f;for(f in c.b)if(!e||f==e)for(var h=c.b[f].concat(),k=0;k<h.length;++k)Td(h[k])&&++d;return d};$.Vd=function(a,b,c,d,e){c=Jd(c);d=!!d;return $.Ad(a)?a.sG(b,c,d,e):a?(a=Ld(a))?a.sG(b,c,d,e):null:null};Nd=function(a){return a in Wd?Wd[a]:Wd[a]="on"+a};
$.$d=function(a,b,c,d){var e=!0;if(a=Ld(a))if(b=a.b[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.OD&&(f=Xd(f,d),e=e&&!1!==f)}return e};Xd=function(a,b){var c=a.listener,d=a.Wx||a.src;a.gK&&Td(a);return c.call(d,b)};
Aaa=function(a,b){if(a.OD)return!0;if(!Pd){var c=b||$.ha("window.event"),d=new $.xd(c,this),e=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(l){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.b;f;f=f.parentNode)c.push(f);f=a.type;for(var h=c.length-1;!d.j&&0<=h;h--){d.b=c[h];var k=$.$d(c[h],f,!0,d);e=e&&k}for(h=0;!d.j&&h<c.length;h++)d.b=c[h],k=$.$d(c[h],f,!1,d),e=e&&k}return e}return Xd(a,new $.xd(b,this))};
Ld=function(a){a=a[Md];return a instanceof Dd?a:null};Jd=function(a){if($.E(a))return a;a[ae]||(a[ae]=function(b){return a.handleEvent(b)});return a[ae]};$.ce=function(){this.b="";this.f=$.be};$.de=function(a){var b=new $.ce;b.b=a;return b};$.fe=function(){this.b="";this.f=$.ee};$.ge=function(a){var b=new $.fe;b.b=a;return b};$.le=function(){this.b="";this.f=$.he};$.me=function(a){var b=new $.le;b.b=a;return b};$.oe=function(){this.b="";this.g=$.ne;this.f=null};
$.pe=function(a,b){var c=new $.oe;c.b=a;c.f=b;return c};$.te=function(a){return a?new qe($.re(a)):se||(se=new qe)};$.ue=function(a,b){return $.z(b)?a.getElementById(b):b};
$.Be=function(a,b,c,d){a=d||a;b=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,h;h=a[f];f++)b==h.nodeName&&(d[e++]=h);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;h=a[f];f++)b=h.className,"function"==typeof b.split&&$.Aa(b.split(/\s+/),c)&&(d[e++]=h);d.length=e;return d}return a};
$.De=function(a,b){$.Dc(b,function(b,d){b&&b.Yx&&(b=b.Ft());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:Ce.hasOwnProperty(d)?a.setAttribute(Ce[d],b):$.fc(d,"aria-")||$.fc(d,"data-")?a.setAttribute(d,b):a[d]=b})};$.Fe=function(a){a=a.document;a=$.Ee(a)?a.documentElement:a.body;return new $.mb(a.clientWidth,a.clientHeight)};
$.Le=function(a){var b=$.Ge(a);a=$.He(a);return $.hd&&$.bd("10")&&a.pageYOffset!=b.scrollTop?new $.gb(b.scrollLeft,b.scrollTop):new $.gb(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};$.Ge=function(a){return a.scrollingElement?a.scrollingElement:!$.vd&&$.Ee(a)?a.documentElement:a.body||a.documentElement};$.He=function(a){return a.parentWindow||a.defaultView};$.Ne=function(a,b,c){return Me(window.document,arguments)};
Me=function(a,b){var c=String(b[0]),d=b[1];if(!Baa&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',$.pc(d.name),'"');if(d.type){c.push(' type="',$.pc(d.type),'"');var e={};$.Sc(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&($.z(d)?c.className=d:$.A(d)?c.className=d.join(" "):$.De(c,d));2<b.length&&Oe(a,c,b,2);return c};
Oe=function(a,b,c,d){function e(c){c&&b.appendChild($.z(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var f=c[d];$.la(f)&&!$.Pe(f)?(0,$.Qe)($.Re(f)?$.Ha(f):f,e):e(f)}};$.Se=function(a,b){return a.createElement(String(b))};$.Ee=function(a){return"CSS1Compat"==a.compatMode};$.Te=function(a,b){a.appendChild(b)};Ue=function(a,b){Oe($.re(a),a,arguments,1)};$.Ve=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};$.We=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)};
$.Xe=function(a){a&&a.parentNode&&a.parentNode.removeChild(a)};$.Ze=function(a){return Caa&&void 0!=a.children?a.children:(0,$.Ye)(a.childNodes,function(a){return 1==a.nodeType})};$.$e=function(a){if($.n(a.firstElementChild))a=a.firstElementChild;else for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;return a};$.Pe=function(a){return $.D(a)&&0<a.nodeType};$.bf=function(a){return $.D(a)&&1==a.nodeType};
$.cf=function(a){var b;if(Daa&&!($.hd&&$.bd("9")&&!$.bd("10")&&$.fa.SVGElement&&a instanceof $.fa.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return $.bf(b)?b:null};$.df=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};$.re=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document};
$.ef=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else $.Ve(a),a.appendChild($.re(a).createTextNode(String(b)))};ff=function(a){if("outerHTML"in a)return a.outerHTML;var b=$.Se($.re(a),"DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML};$.gf=function(a,b){b?a.tabIndex=0:(a.tabIndex=-1,a.removeAttribute("tabIndex"))};
$.hf=function(a){return $.hd&&!$.bd("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")};$.jf=function(a){a=a.tabIndex;return $.ea(a)&&0<=a&&32768>a};$.lf=function(a){var b=[];kf(a,b,!1);return b.join("")};kf=function(a,b,c){if(!(a.nodeName in Eaa))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in mf)b.push(mf[a.nodeName]);else for(a=a.firstChild;a;)kf(a,b,c),a=a.nextSibling};
$.Re=function(a){if(a&&"number"==typeof a.length){if($.D(a))return"function"==typeof a.item||"string"==typeof a.item;if($.E(a))return"function"==typeof a.item}return!1};qe=function(a){this.b=a||$.fa.document||window.document};nf=function(a){$.od.call(this);this.eo=a;this.b={}};of=function(a,b,c,d,e,f){if($.A(c))for(var h=0;h<c.length;h++)of(a,b,c[h],d,e,f);else{b=Hd(b,c,d||a.handleEvent,e,f||a.eo||a);if(!b)return a;a.b[b.key]=b}return a};
pf=function(a){$.Dc(a.b,function(a,c){this.b.hasOwnProperty(c)&&Td(a)},a);a.b={}};$.qf=function(){$.od.call(this);this.Dx=new Dd(this);this.W8=this;this.DV=null};$.rf=function(a,b,c,d){b=a.Dx.b[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var h=b[f];if(h&&!h.OD&&h.capture==c){var k=h.listener,l=h.Wx||h.src;h.gK&&a.jB(h);e=!1!==k.call(l,d)&&e}}return e&&0!=d.L3};
$.uf=function(a,b,c){if($.z(b))(b=tf(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=tf(c,d);f&&(c.style[f]=e)}};tf=function(a,b){var c=vf[b];if(!c){var d=yc(b);c=d;void 0===a.style[d]&&(d=($.vd?"Webkit":$.gd?"Moz":$.hd?"ms":$.wf?"O":null)+$.Ac(d),void 0!==a.style[d]&&(c=d));vf[b]=c}return c};$.xf=function(a,b){var c=a.style[yc(b)];return"undefined"!==typeof c?c:a.style[tf(a,b)]||""};
$.yf=function(a,b){var c=$.re(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""};$.zf=function(a,b){return $.yf(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};$.Bf=function(a,b,c){if(b instanceof $.gb){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Af(d,!1);a.style.top=Af(b,!1)};$.Cf=function(a){a=a?$.re(a):window.document;return!$.hd||$.ed(9)||$.Ee($.te(a).b)?a.documentElement:a.body};
Df=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}$.hd&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b};$.Ef=function(a){var b=$.re(a),c=new $.gb(0,0),d=$.Cf(b);if(a==d)return c;a=Df(a);b=$.Le($.te(b).b);c.x=a.left+b.x;c.y=a.top+b.y;return c};$.Ff=function(a){a=Df(a);return new $.gb(a.left,a.top)};
$.Gf=function(a){if(1==a.nodeType)return $.Ff(a);a=a.changedTouches?a.changedTouches[0]:a;return new $.gb(a.clientX,a.clientY)};$.Hf=function(a,b,c){if(b instanceof $.mb)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");a.style.width=Af(b,!0);a.style.height=Af(c,!0)};Af=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
$.Nf=function(a){var b=$.Mf;if("none"!=$.zf(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a};$.Mf=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=$.vd&&!b&&!c;return $.n(b)&&!d||!a.getBoundingClientRect?new $.mb(b,c):(a=Df(a),new $.mb(a.right-a.left,a.bottom-a.top))};$.Of=function(a){var b=$.Ef(a);a=$.Nf(a);return new $.J(b.x,b.y,a.width,a.height)};
$.Pf=function(a,b){a.style.display=b?"":"none"};$.Qf=function(a){return"rtl"==$.zf(a,"direction")};$.Sf=function(a,b,c){c=c?null:a.getElementsByTagName("*");if(Rf){if(b=b?"none":"",a.style&&(a.style[Rf]=b),c){a=0;for(var d;d=c[a];a++)d.style&&(d.style[Rf]=b)}}else if($.hd||$.wf)if(b=b?"on":"",a.setAttribute("unselectable",b),c)for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)};
$.Wf=function(a){var b=$.re(a),c=$.hd&&a.currentStyle;if(c&&$.Ee($.te(b).b)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=Tf(a,c.width,"width","pixelWidth"),a=Tf(a,c.height,"height","pixelHeight"),new $.mb(b,a);c=new $.mb(a.offsetWidth,a.offsetHeight);b=$.Uf(a,"padding");a=$.Vf(a);return new $.mb(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)};
Tf=function(a,b,c,d){if(/^\d+px?$/.test(b))return(0,window.parseInt)(b,10);var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return+b};Xf=function(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?Tf(a,c,"left","pixelLeft"):0};
$.Uf=function(a,b){if($.hd){var c=Xf(a,b+"Left"),d=Xf(a,b+"Right"),e=Xf(a,b+"Top"),f=Xf(a,b+"Bottom");return new $.lb(e,d,f,c)}c=$.yf(a,b+"Left");d=$.yf(a,b+"Right");e=$.yf(a,b+"Top");f=$.yf(a,b+"Bottom");return new $.lb((0,window.parseFloat)(e),(0,window.parseFloat)(d),(0,window.parseFloat)(f),(0,window.parseFloat)(c))};Zf=function(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in Yf?Yf[c]:Tf(a,c,"left","pixelLeft")};
$.Vf=function(a){if($.hd&&!$.ed(9)){var b=Zf(a,"borderLeft"),c=Zf(a,"borderRight"),d=Zf(a,"borderTop");a=Zf(a,"borderBottom");return new $.lb(d,c,a,b)}b=$.yf(a,"borderLeftWidth");c=$.yf(a,"borderRightWidth");d=$.yf(a,"borderTopWidth");a=$.yf(a,"borderBottomWidth");return new $.lb((0,window.parseFloat)(d),(0,window.parseFloat)(c),(0,window.parseFloat)(a),(0,window.parseFloat)(b))};$f=function(a){return(a=a.exec(Bc))?a[1]:""};
$.ag=function(a,b,c){$.qf.call(this);this.target=a;this.G=b||a;this.f=c||new $.J(window.NaN,window.NaN,window.NaN,window.NaN);this.D=$.re(a);this.Bg=new nf(this);$.sd(this,this.Bg);this.deltaY=this.deltaX=this.ya=this.ka=this.screenY=this.screenX=this.clientY=this.clientX=0;this.O=!0;this.Ro=!1;this.U=0;$.Id(this.G,["touchstart","mousedown"],this.Tj,!1,this);this.N=Faa};$.bg=function(a){a.U=Math.pow(3,2)};
cg=function(a,b,c){var d=$.Le($.te(a.D).b);b+=d.x-a.ba.x;c+=d.y-a.ba.y;a.ba=d;a.deltaX+=b;a.deltaY+=c;b=a.oA(a.deltaX);a=a.Yv(a.deltaY);return new $.gb(b,a)};eg=function(a,b,c,d){a.Rr(c,d);a.dispatchEvent(new dg("drag",a,b.clientX,b.clientY,b,c,d))};dg=function(a,b,c,d,e,f,h,k){ud.call(this,a);this.clientX=c;this.clientY=d;this.UB=e;this.left=$.n(f)?f:b.deltaX;this.top=$.n(h)?h:b.deltaY;this.f=b;this.N=!!k};
fg=function(a){$.ag.call(this,a.fa());this.g=a;this.b=[window.NaN,window.NaN];this.ra("earlycancel",this.yha,!1,this);this.ra("start",this.GN,!1,this);this.ra("beforedrag",this.GN,!1,this);this.ra("drag",this.GN,!1,this);this.ra("end",this.GN,!1,this)};$.hg=function(){$.qf.call(this);this.RB={};this.rU=!1;this.zO=0;this.Lb(gg)};$.ig=function(a,b){a.nC&=~b};jg=function(a,b){a.DA&&(b&&a.DA.bI(a),a.DA=null);a.fd&&a.zC()};lg=function(a){$.kg().kV()&&(a.bi?(a.Y&&a.Y.tF(),a.Lb(512)):a.Y&&a.Y.tF())};
mg=function(a){if(!a.fU){var b=a.qg();a.fU=b?$.Ib(b):null}return a.fU};$.ng=function(){this.N="none";this.g="black";this.xc=0;$.hg.call(this)};og=function(a,b,c,d){this.f=new $.gb(a||0,b||0);this.b=c||0;this.j=d||0;$.ng.call(this)};$.pg=function(a,b,c){og.call(this,a,b,c,c)};$.qg=function(){this.j=[];this.f=[];this.D=[];$.ng.call(this)};
rg=function(a,b,c,d,e,f){var h=0;e=e||null;for(var k=0,l=b.length;k<l;k++){var m=b[k],p=Gaa[m]*c[k];f&&1!=m?a.call(e,m,d.slice(h-2,h+p)):a.call(e,m,d.slice(h,h+p));h+=p}};tg=function(a){a.Dj()||(sg(a),a.Lb(32));return a};
xg=function(a,b,c,d,e,f,h){if(0==d||0==e)return a.us(b,c);if(0==a.j.length)throw $.jd(9);var k=a.Ff[0],l=a.Ff[1];if(k==b&&l==c)return a;d=Math.abs(d);e=Math.abs(e);b=(k-b)/2;c=(l-c)/2;l=b*b;k=c*c;var m=d*d,p=e*e,q=l/m+k/p;1<q&&(q=Math.sqrt(q),d*=q,e*=q,m=d*d,p=e*e);l=(m*p-m*k-p*l)/(m*k+p*l);0>l&&(l=0);l=Math.sqrt(l);f==h&&(l=-l);f=l*d*c/e;k=-l*e*b/d;l=$.Ab(1,0,(b-f)/d,(c-k)/e);b=$.Ab((b-f)/d,(c-k)/e,(-b-f)/d,(-c-k)/e)%360;!h&&0<b?b-=360:h&&0>b&&(b+=360);return ug(a,d,e,l,b)};
ug=function(a,b,c,d,e){if(0==a.j.length)throw $.jd(9);if(0==e)return a;var f=a.Ff[0]-$.db(d,b),h=a.Ff[1]-$.eb(d,c);var k=Math.ceil(Math.abs(e)/359.999-2E-15);for(var l=e/k,m=0;m<k;m++){e=d+l;var p=f+$.db(e,b);var q=h+$.eb(e,c);a.D.push(b,c,d,l,p,q);a.j.push(4);a.f.push(1);d=e}a.IW=!1;a.Ff=[p,q];a.Qd();a.Us=null;a.Lb(32);return a};$.yg=function(a,b){var c=b||{};c.closePoint=a.Xu?a.Xu.slice():[];c.currentPoint=a.Ff?a.Ff.slice():[];c.segments=a.j.slice();c.count=a.f.slice();c.arguments=a.D.slice();return c};
sg=function(a){a.j.length=0;a.f.length=0;a.D.length=0;a.Qd();a.Us=null;delete a.Xu;delete a.Ff;delete a.IW};$.zg=function(){$.qg.call(this)};Bg=function(a,b,c,d){this.b=new $.J(a||0,b||0,c||0,d||0);this.G=[];this.O=[0,0,0,0];$.qg.call(this);Ag(this)};
Ag=function(a){var b=!a.Ha()||a.Ha().ff();b||a.Ha().suspend();tg(a);var c=a.O[0];a.VM(a.b.left+c,a.b.top);c=a.O[1];a.us(a.b.left+a.b.width-a.O[1],a.b.top);if(a.G[1])switch(a.G[1]){case "round":xg(a,a.b.left+a.b.width,a.b.top+c,c,c,!1,!0);break;case "round-inner":xg(a,a.b.left+a.b.width,a.b.top+c,c,c,!1,!1);break;case "cut":a.us(a.b.left+a.b.width,a.b.top+c)}c=a.O[2];a.us(a.b.left+a.b.width,a.b.top+a.b.height-c);if(a.G[2])switch(a.G[2]){case "round":xg(a,a.b.left+a.b.width-c,a.b.top+a.b.height,c,c,
!1,!0);break;case "round-inner":xg(a,a.b.left+a.b.width-c,a.b.top+a.b.height,c,c,!1,!1);break;case "cut":a.us(a.b.left+a.b.width-c,a.b.top+a.b.height)}c=a.O[3];a.us(a.b.left+c,a.b.top+a.b.height);if(a.G[3])switch(a.G[3]){case "round":xg(a,a.b.left,a.b.top+a.b.height-c,c,c,!1,!0);break;case "round-inner":xg(a,a.b.left,a.b.top+a.b.height-c,c,c,!1,!1);break;case "cut":a.us(a.b.left,a.b.top+a.b.height-c)}c=a.O[0];a.us(a.b.left,a.b.top+c);if(a.G[0])switch(a.G[0]){case "round":xg(a,a.b.left+c,a.b.top,c,
c,!1,!0);break;case "round-inner":xg(a,a.b.left+c,a.b.top,c,c,!1,!1)}a.$Q();b||a.Ha().resume()};$.Cg=function(a,b,c,d,e){$.od.call(this);this.f=a;this.g=!1;this.elements=[];this.b=this.Yd=null;this.shape.apply(this,$.Ja(arguments,1))};Dg=function(a){if(!a.g&&(a.g=!0,a.f)){var b=a.f;b.ff()?b.ox.push(a):a.Fd()}};$.Eg=function(){this.children=[];this.Oq=[];$.hg.call(this)};Hg=function(a){(0,$.Fg)(a.children,function(a,c){c.cr()&&c.Fd();return a||c.cr()},!1)||$.ig(a,64)};
Haa=function(a,b){function c(a){var b=a.fa();b&&($.Xe(b),k++);jg(a,!1);r.push(v)}function d(a){var b=a.fa();b?(e.appendChild(b),k++,q.push(l),jg(a,!0)):p=!1;return!!e}var e=a.fa(),f,h,k=0;if(!a.pL){a.pL={};var l=0;for(f=a.children.length;l<f;l++)a.pL[$.oa(a.children[l])]=!0}var m=!1,p=!0,q=[],r=[];var t=!0;l=0;for(f=a.children.length-1;l<f;l++)if(a.children[l+1].zIndex()<a.children[l].zIndex()){t=!1;break}if(t)var u=a.children;else u=$.Ha(a.children),$.Ra(u,function(a,b){return a.zIndex()-b.zIndex()});
l=0;f=u.length;var v=0;for(h=a.Oq.length;l<f&&v<h&&k<b;v++){t=u[l];var w=a.Oq[v];if($.oa(w)in a.pL){if(w!=t||m){if(!d(t))break;m=!0}l++}else c(w)}k>=b&&(p=!1);if(p){for(;l<f&&k<b&&d(u[l]);l++);for(;v<h&&k<b;v++)c(a.Oq[v]);if(l<f||v<h)p=!1}if(p)a.Oq=$.Ja(u,0),a.pL=null,$.ig(a,128);else{for(l=r.length;l--;)$.Ca(a.Oq,r[l],1);for(l=0;l<q.length;l++)a.Oq.push(u[q[l]])}return k};Ig=function(a){for(var b=a.children.length;b--;)a.children[b].sy()};$.Sb=function(a){this.Za=a;this.no=!1;$.Eg.call(this)};
Lg=function(a,b,c,d){a:{a=(a||"").toLowerCase();for(e in Jg)if(Jg[e].toLowerCase()==a||Jg[e].toLowerCase().replace(/-/g,"")==a){var e=Jg[e];break a}e="backward-diagonal"}this.type=e;this.color=String(null!=b?b:"black 0.5");this.jf=null!=c?c:1;this.size=null!=d?d:10;$.Sb.call(this,new $.J(0,0,this.size,this.size));(b=Iaa[this.type])&&b.call(this)};Ng=function(a,b,c){this.Za=new $.J(0,0,a,b);Mg(this,c)};Pg=function(a,b,c){this.Za=new $.J(0,0,a,b);Og(this,a,b);Mg(this,c,"white")};
Rg=function(a,b,c,d){a=Qg(a,d);for(d=0;d<b.length;d++){var e=b[d];a.moveTo(e[0],e[1]);for(var f=2;f<e.length;f+=2)a.lineTo(e[f],e[f+1])}c&&a.close()};Sg=function(a,b,c){for(var d=Qg(a),e=0;e<b.length;e+=5){var f=d,h=b[e],k=b[e+1],l=b[e+2],m=b[e+3],p=b[e+4];h===l&&(h=l=Math.round(h)+p%2/2);k===m&&(k=m=Math.round(k)+p%2/2);f.moveTo(h,k).lineTo(l,m)}c&&a.rotate(c)};Tg=function(a,b){for(var c=0;c<b.length;c+=3){var d=b[c+2];Og(a,d,d,b[c],b[c+1])}};Og=function(a,b,c,d,e){a.rect(d||0,e||0,b,c).fill(a.color).stroke("none")};
Qg=function(a,b){return b?a.path().fill(a.color).stroke("none"):a.path().fill("none").stroke(a.color,a.jf)};Mg=function(a,b,c){a=a.path().fill(c||a.color).stroke("none");for(c=0;c<b.length;c+=2){var d=b[c],e=b[c+1];a.moveTo(d,e).lineTo(d,e+1,d+1,e+1,d+1,e).close()}};Wg=function(a,b,c,d,e,f,h){this.j=a||null;this.b=f||$.Ug;this.f=h||$.Vg;this.xb=new $.J(b||0,c||0,d||0,e||0);this.g=1;$.hg.call(this)};Xg=function(a){$.qf.call(this);this.f={};this.b={};this.eo=new nf(this);this.Y=a};
Yg=function(a,b,c){(c=$.z(c)?c:c.src)&&(a.f[b]={src:c,i_:$.n(void 0)?void 0:null})};eh=function(a,b){delete a.f[b];var c=a.b[b];c&&(delete a.b[b],a.eo.ac(c,Zg,a.g),$.Jc(a.b)&&$.Jc(a.f)&&a.dispatchEvent("complete"))};$.fh=function(){this.G={};this.j="fontStyle fontVariant fontFamily fontSize fontWeight letterSpacing decoration".split(" ")};$.ih=function(a,b){if(gh(a," ",b))var c=hh(a," ",b);else{c=a.measure("a a",b);var d=a.measure("aa",b);c=new $.J(0,c.top,c.width-d.width,c.height);hh(a," ",b,c)}return c};
jh=function(a,b){for(var c="",d=0,e=a.j.length;d<e;d++){var f=b[a.j[d]];$.n(f)&&(c+=f+"|")}return c};hh=function(a,b,c,d){var e=a.G,f=jh(a,c),h=e[f];h||(h=e[f]={});return(e=h[b])?e:h[b]=d?d:a.measure(b,c)};gh=function(a,b,c){a=a.G[jh(a,c)];return!(!a||!a[b])};
$.kh=function(a,b){a=$.ab(a);if(b.height==b.width)return a;if(b.height<b.width){var c=b.width;var d=b.height;d/=c}else c=b.height,d=b.width,d=c/d;c/=2;c=$.cb(Math.atan(Math.tan($.bb(a))*c/c*d));90<a&&270>=a?c=180+c:270<a&&360>=a&&(c=360+c);return c%360};$.lh=function(a,b,c){for(var d in c)a.gc(b,d,c[d])};$.mh=function(a,b,c){b&&(c?a.gc(b,"id",c):b.removeAttribute("id"))};
$.qh=function(a,b,c){if(b.Dj())return null;var d=[],e=a.X2;(c?b.ada:b.AS).call(b,function(a,b){var c=e[a];c&&(d.push(c),4==a?this.s3(d,b):5!=a&&this.w3(d,b))},a);return d.join(" ")};uh=function(a){if(!a.Mt||a.Mt.fd)a.Mt=new Xg($.fa.document.body);return a.Mt};$.vh=function(){this.Za=new $.J(0,0,0,0);$.hg.call(this)};wh=function(){};xh=function(a){a.style||(a.style=a.D.length?$.Qc(a.D[a.D.length-1]):{})};
yh=function(a,b){switch(b){case "b":case "strong":xh(a);a.style.fontWeight="bold";break;case "i":case "em":xh(a),a.style.fontStyle="italic"}};
zh=function(a,b,c){switch(b){case "font-style":xh(a);a.style.fontStyle=c||"normal";break;case "font-variant":xh(a);a.style.fontVariant=c||"normal";break;case "font-family":xh(a);a.style.fontFamily=c||$.fa.acgraph.fontFamily;break;case "font-size":xh(a);a.style.fontSize=c||$.fa.acgraph.fontSize;break;case "font-weight":xh(a);a.style.fontWeight=c||"normal";break;case "color":xh(a);a.style.color=c||$.fa.acgraph.color;break;case "letter-spacing":xh(a);a.style.letterSpacing=c||"normal";break;case "text-decoration":xh(a);
a.style.Lq=c||"none";break;case "opacity":xh(a),a.style.opacity=null!=c?(0,window.parseFloat)(c):1}};Ah=function(a){""!=a.b&&(a.rb.rJ(a.b,a.D.length?a.D[a.D.length-1]:null),a.b="",a.ga=!1)};Bh=function(a){a.N==(a.O.length?a.O[a.O.length-1]:null)&&(Ah(a),a.D.pop(),a.O.pop(),a.tagName="");a.N="";a.state=1};Ch=function(a,b){yh(a,a.tagName);a.O.push(a.tagName);a.D.push(a.style);b&&(a.f="");a.tagName="";a.style=null;a.state=1};Dh=function(a,b,c){zh(a,a.j,a.G||"");a.j="";a.G="";c&&(a.f="");a.state=b};
Eh=function(a){yh(a,a.tagName);zh(a,a.j,a.G||"");a.O.push(a.tagName);a.D.push(a.style);a.tagName="";a.style=null;a.f="";a.j="";a.G="";a.state=1};Gh=function(a,b,c){var d;if(a.U){var e=Fh[a.g];$.n(e)?d=e:a.b+="&"+a.g+c}else a.g?d=(0,window.parseInt)(a.g,10):a.b+="&#"+c;d&&(a.b+=String.fromCharCode(d)+(";"==c?"":c));a.state=b;a.g="";a.U=!0};
Hh=function(a){var b=wh.vd();b.D=[];b.O=[];b.tagName="";b.N="";b.f="";b.ba="'";b.j="";b.G="";b.b="";b.style=null;b.rb=null;b.state=1;b.ga=!1;b.g="";b.U=!0;b.ka=!1;b.rb=a;a=a.text();for(var c=a.length,d=-1,e,f,h,k=!1;++d<c;)switch(e=a.charAt(d),f=/\xa0|\s/.test(e),h=/[^a-zA-Z]/.test(e),b.state){case 1:if("<"==e){b.state=2;break}if(b.ga&&f)break;if("&"==e){b.state=14;break}if(b.ka&&(b.ka=!1,";"==e))break;b.b+=e;b.ga=f;break;case 14:if(b.U&&!b.g&&"#"==e){b.U=!1;break}if("&"==e){Gh(b,14,"");break}if(/(_|\W)/.test(e)){f=
"<"==e;Gh(b,f?2:1,f?"":e);break}f=/\d/.test(e);if(!b.U&&!f){Gh(b,1,e);break}b.g+=e;Fh[b.g]&&(b.ka=!0,Gh(b,1,""));break;case 2:if(k){if(">"!=e)break;"br"==b.tagName&&b.rb.qJ();b.tagName="";k=!1;b.state=1;break}if(!b.tagName&&"<"==e){b.b+="<";break}if(!b.tagName&&h&&"/"!=e){b.b+="<"+e;b.state=1;break}if(!b.tagName&&"/"==e){b.state=3;break}if("br"==b.tagName&&">"==e){b.rb.qJ();b.tagName="";b.state=1;break}if("br"==b.tagName&&("/"==e||f)){k=!0;break}b.tagName&&Ah(b);if(b.tagName&&f){b.state=4;break}if(">"==
e){Ch(b);break}b.tagName+=e.toLowerCase();break;case 3:if(k){if(">"!=e)break;Bh(b);k=!1;break}if(!b.N&&h){b.b+="</"+e;b.state=1;break}if(b.N&&f){k=!0;break}if(">"==e){Bh(b);k=!1;break}b.N+=e.toLowerCase();break;case 4:if(k){if(">"!=e)break;Ch(b,!0);k=!1;break}if(">"==e){Ch(b,!0);break}if(f){b.state=5;break}if("="==e){b.f&&(b.state="style"==b.f?6:8);break}b.f+=e.toLowerCase();break;case 5:if(">"==e){Ch(b,!0);break}if(f)break;if(b.f&&!h){b.f=e;b.state=4;break}if("="==e){b.f&&(b.state="style"==b.f?6:
8);break}b.f+=e;b.state=4;break;case 6:if(f)break;if(">"==e){Ch(b,!0);break}if("'"==e||'"'==e){b.ba=e;b.state=9;break}b.j=e;b.state=10;break;case 8:if(f)break;if(">"==e){b.f="";b.tagName="";b.state=1;break}if("'"==e||'"'==e){b.ba=e;b.state=7;break}b.state=11;break;case 9:if(f)break;if(e==b.ba){k=!0;Dh(b,4,!0);break}if(":"==e){b.state=12;break}b.j+=e.toLowerCase();break;case 12:if(f)break;if(e==b.ba){k=!0;Dh(b,4,!0);break}if(";"==e){Dh(b,9);break}b.G+=e.toLowerCase();break;case 7:e==b.ba&&(b.f="",
b.state=4);break;case 10:if(f){k=!0;Dh(b,4,!0);break}if(">"==e){Eh(b);break}if(":"==e){b.state=13;break}b.j+=e;break;case 11:if(f){Dh(b,4,!0);break}">"==e&&Ch(b);break;case 13:if(f){k=!0;Dh(b,4,!0);break}if(">"==e){Eh(b);break}if(";"==e){Dh(b,10);break}b.G+=e.toLowerCase();break;default:throw"Error while parsing HTML: Symbol '"+e+"', position: "+(d-1);}Ah(b);b.rb.rL()};Ih=function(a,b){$.od.call(this);this.b=b||{};this.text=a;this.g=!1;this.y=this.x=this.em=this.Wn=this.height=this.width=this.f=0};
$.Mh=function(a,b){this.ga=!1;this.xo=a||0;this.yo=b||0;this.Za=new $.J(this.xo,this.yo,0,0);this.eb=this.ba=this.Ge=this.G=0;this.me=!1;this.f=[];this.j=[];this.Ga=this.Tf=this.U=0;this.Ud=!0;this.dh=this.ya=this.hc=this.Pg=0;this.ka=[];this.Ob=1;this.nb=Jh;this.D=0;this.Tc=this.O=!1;this.tc=this.Ml={fontSize:$.fa.acgraph.fontSize,color:$.fa.acgraph.fontColor,fontFamily:$.fa.acgraph.fontFamily,direction:$.fa.acgraph.textDirection,textOverflow:Jh,wordBreak:Jaa,wordWrap:Kh,selectable:!0,hAlign:$.Lh};
this.Ra=null;$.ng.call(this);this.g=this.N=null};Nh=function(a,b,c){if($.n(c)){if(c!==a.tc[b]){var d=!a.Ha()||a.Ha().ff();d||a.Ha().suspend();a.tc[b]=c;a.ga=!1;a.Lb(1024);a.Lb(32);a.Lb(16384);a.Qw();d||a.Ha().resume()}return a}return a.tc[b]};Oh=function(a){var b=(0,window.parseFloat)(a);return(0,window.isNaN)(b)||0>b?1:$.z(a)&&$.gc(a,"%")?1+(0,window.parseFloat)(a)/100:a};
Ph=function(a,b,c,d,e,f,h){var k,l=Math.floor((e-d)/(f.width/b.length));var m=b.substring(0,l);for(k=a.Hm(m,c);d+k.width<e&&1<l;)l++,m=b.substring(0,l),k=a.Hm(m,c);for(;d+k.width>e&&1<l;)l--,m=b.substring(0,l),k=a.Hm(m,c);d=a.u2(a.tc,c);c=b.substring(l,b.length);k=f.width-k.width;f=f.clone();f.width=k;hh($.kg(),c,d,f);f=a.tc.wordWrap!=Kh;k="keep-all"==a.tc.wordBreak;"break-all"==a.tc.wordBreak||h||(a=/\s+/g,h=/\S+/g,e=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uffef\u4e00-\u9faf\uAC00-\uD7A3\u1100–\u11FF\u3130-\u318F\uA960-\uA97F\uD7B0-\uD7FF]+/g,
d=m[m.length-1],c=c[0],k=!k&&(e.test(d)||e.test(c)),a.test(d)||a.test(c)||k||(a.test(m)?(l=m.match(h),l=m.lastIndexOf(l[l.length-1])):(m=h.exec(b)[0],f||(l=m.length))));return l};
Qh=function(a,b,c,d,e){c=new Ih(b,c);$.sd(a,c);c.f=-d.top;c.height=d.height;c.width=d.width;a.D&&0==a.f.length&&(e=e||0,a.D=a.Df&&a.D+d.width+e>a.Df?a.Df-d.width-e:a.D,0>a.D&&(a.D=0));a.Ga=Math.max(a.Ga,d.height);a.U+=d.width;0==a.f.length&&(a.U+=a.D);a.ya=Math.max(a.ya,c.f);a.Ud=a.j.length?a.Ud&&0==b.length:0==b.length;a.j.push(c);a.f.push(c);c.parent(a);return c};
Rh=function(a,b){var c,d=b||$.ua(a.ka),e=$.ua(d),f=a.Hm(a.nb,e.b),h=a.nb,k=1<d.length&&d[d.length-2];if(k&&k.Mca){var l=(0,$.za)(a.f,e)+1;$.Ca(a.f,l,a.f.length-l)}else{if(f.width>a.ab){var m=Ph(a,a.nb,e.b,0,a.ab,f,!0);h=a.nb.substring(0,m)}m=a.Tf;var p=a.ab;if(""==h)l=(0,$.za)(a.f,e)+1,$.Ca(a.f,l,a.f.length-l);else if(p-m>=f.width){a.j=d;l=(0,$.za)(a.f,e)+1;$.Ca(a.f,l,a.f.length-l);var q=Qh(a,h,e.b,f);2==a.j.length&&""==a.j[0].text&&(q.em=a.hc-a.j[0].height,q.g=!0)}else{for(k=d.length-1;!c&&0<=k;)e=
d[k],f=a.Hm(h,e.b),l=a.Hm(e.text,e.b),m-l.width+f.width<=a.ab&&(c=e),m-=l.width,k--;c||1!=a.ka.length||(c=d[0],m-=l.width);c&&(a.j=d,k=a.j[0].em,p-=f.width,l=(0,$.za)(d,c),$.Ca(d,l,d.length-l),l=(0,$.za)(a.f,c),$.Ca(a.f,l,a.f.length-l),a.Ga=0,a.U=0,a.ya=0,l=a.Hm(c.text,c.b),m=Ph(a,c.text,c.b,m,p,l,!0),1>m&&(m=1),l=c.text.substring(0,m),d=a.Hm(l,c.b),l=Qh(a,l,c.b,d,f.width),l.x=c.x,l.y=c.y,l.Mca=!0,d.width+f.width>a.ab&&(m=Ph(a,a.nb,e.b,d.width,a.ab,f,!0),h=a.nb.substring(0,m)),0<m&&(q=Qh(a,h,c.b,
f),q.x=l.x+d.width,q.y=l.y),a.j[0].g=!0,a.j[0].em=k)}a.O&&q&&(c=a.j[0],q.g=c.g,q.x=c.x,q.em=c.em,c.em=0,c.x=0,c.g=!1,$.Fa(a.f,q),l=(0,$.za)(a.f,c),$.Da(a.f,q,l))}};Sh=function(a){a.ba=a.xo;a.tc.hAlign==$.Lh?a.ba+=a.O?a.Df:0:"center"==a.tc.hAlign?a.ba+=a.Df/2:"end"==a.tc.hAlign?a.ba+=a.O?0:a.Df:"right"==a.tc.hAlign&&(a.ba+=a.Df)};
Th=function(a){if(a.path()){if(a.tc.vAlign){var b=a.f[0];"middle"==a.tc.vAlign?b.em+=b.f-a.G/2:"bottom"==a.tc.vAlign?b.em+=b.f-a.G:"top"==a.tc.vAlign&&(b.em+=b.f)}}else a.eb=a.yo+(0==a.f.length?0:a.f[0].f),a.tc.vAlign&&a.G<a.tc.height&&("middle"==a.tc.vAlign?a.eb+=a.nf/2-a.G/2:"bottom"==a.tc.vAlign&&(a.eb+=a.nf-a.G))};$.Uh=function(a){$.hg.call(this);this.Cd=$.n(a)?a:""};
ci=function(a,b,c,d,e,f,h,k){a=a.path?a.path():a;if(2>f)return a;h=h||0;var l=$.db(h,d),m=$.eb(h,d),p=360/(2*f),q;a.moveTo(l+b,m+c);if(k)for(q=0;q<f;q++){var r=h;h+=p;var t=l,u=m,v=$.db(r,e),w=$.eb(r,e),x=$.db(h,d),y=$.eb(h,d);l=$.db(h,e);m=$.eb(h,e);var B=(x-v)*(u-w)-(y-w)*(t-v);B/=(y-w)*(l-t)-(x-v)*(m-u);t=Vh(e,d,r,h,k,1-B);r=Wh(e,d,r,h,k,1-B);a.pJ(b+t,c+r,b+l,c+m);r=h;h+=p;t=l;u=m;v=$.db(h,e);w=$.eb(h,e);x=$.db(r,d);y=$.eb(r,d);l=$.db(h,d);m=$.eb(h,d);B=(x-v)*(u-w)-(y-w)*(t-v);B/=(y-w)*(l-t)-(x-
v)*(m-u);t=Vh(e,d,h,r,k,B);r=Wh(e,d,h,r,k,B);a.pJ(b+t,c+r,b+l,c+m)}else for(q=0;q<f;q++)h+=p,l=$.db(h,e),m=$.eb(h,e),a.lineTo(b+l,c+m),h+=p,l=$.db(h,d),m=$.eb(h,d),a.lineTo(b+l,c+m);a.close();return a};di=function(a,b,c,d){return ci(a,b,c,d,d/2,4)};ei=function(a,b,c,d){return ci(a,b,c,d,d/2,5,-90)};fi=function(a,b,c,d){return ci(a,b,c,d,.5773502691896258*d,6,-90)};gi=function(a,b,c,d){return ci(a,b,c,d,d/2,7,-90)};hi=function(a,b,c,d){return ci(a,b,c,d,.8506508083520399*d,10)};
ii=function(a,b,c,d){return ci(a,b,c,d,.5*d,3,-90)};ji=function(a,b,c,d){return ci(a,b,c,d,.5*d,3,90)};ki=function(a,b,c,d){return ci(a,b,c,d,.5*d,3,0)};li=function(a,b,c,d){return ci(a,b,c,d,.5*d,3,180)};mi=function(a,b,c,d){return ci(a,b,c,d,d*Math.SQRT1_2,4)};
ni=function(a,b,c,d){a=a.path?a.path():a;var e=d/4,f=b-d,h=b+d,k=c-d;d=c+d;a.moveTo(b-e,k).lineTo(b-e,c-e).lineTo(f,c-e).lineTo(f,c+e).lineTo(b-e,c+e).lineTo(b-e,d).lineTo(b+e,d).lineTo(b+e,c+e).lineTo(h,c+e).lineTo(h,c-e).lineTo(b+e,c-e).lineTo(b+e,k).close();return a};
oi=function(a,b,c,d){a=a.path?a.path():a;var e=d*Math.SQRT1_2/2,f=b-d,h=b+d,k=c-d;d=c+d;a.moveTo(f+e,k).lineTo(b,c-e).lineTo(h-e,k).lineTo(h,k+e).lineTo(b+e,c).lineTo(h,d-e).lineTo(h-e,d).lineTo(b,c+e).lineTo(f+e,d).lineTo(f,d-e).lineTo(b-e,c).lineTo(f,k+e).close();return a};pi=function(a,b,c,d){a=a.path?a.path():a;var e=d/4,f=b-d;b+=d;a.moveTo(b,c-e).lineTo(b,c+e).lineTo(f,c+e).lineTo(f,c-e).close();return a};
qi=function(a,b,c,d){a=a.path?a.path():a;var e=d/4,f=c-d;c+=d;a.moveTo(b-e,f).lineTo(b+e,f).lineTo(b+e,c).lineTo(b-e,c).close();return a};ri=function(a,b,c,d,e,f){a=a.path?a.path():a;f=$.Za(f,-360,360);360==Math.abs(f)?a.ze(b,c,d,d,e,f,!1):a.moveTo(b,c).ze(b,c,d,d,e,f,!0).close();return a};
$.si=function(a,b,c,d,e,f,h){0>d&&(d=0);0>e&&(e=0);if(d<e){var k=d;d=e;e=k}if(0>=e)return ri(a,b,c,d,f,h);a=a.path?a.path():a;h=$.Za(h,-360,360);k=360>Math.abs(h);a.ze(b,c,d,d,f,h).ze(b,c,e,e,f+h,-h,k);k&&a.close();return a};Vh=function(a,b,c,d,e,f){a=$.db(c,a);b=$.db(d,b)-a;return 0<=e?a+b*(f+e-f*e):a+b*f*(e+1)};Wh=function(a,b,c,d,e,f){a=$.eb(c,a);b=$.eb(d,b)-a;return 0<=e?a+b*(f+e-f*e):a+b*f*(e+1)};
ti=function(a){var b,c;switch(a.length){case 1:var d=b=c=a[0];a.push(d,b,c);break;case 2:b=a[0];c=a[1];a.push(b,c);break;case 3:c=a[1];a.push(c);break;case 4:break;default:a.push(5,5,5,5)}};
ui=function(a,b,c){var d=a.path?a.path():a;if(6==arguments.length){var e=arguments[2];var f=arguments[3];var h=arguments[4];var k=arguments[5];d.moveTo(b.left+e,b.top).lineTo(b.left+b.width-f,b.top).lineTo(b.left+b.width,b.top+f).lineTo(b.left+b.width,b.top+b.height-h).lineTo(b.left+b.width-h,b.top+b.height).lineTo(b.left+k,b.top+b.height).lineTo(b.left,b.top+b.height-k).lineTo(b.left,b.top+e).close()}else k=$.Ja(arguments,2,6),ti(k),e=k[0],f=k[1],h=k[2],k=k[3],ui(d,b,e,f,h,k);return d};
yi=function(a,b,c){var d=a.path?a.path():a;if(6==arguments.length){var e=arguments[2];var f=arguments[3];var h=arguments[4];var k=arguments[5];d.moveTo(b.left+e,b.top).lineTo(b.left+b.width-f,b.top).kf(b.left+b.width,b.top+f,f,f,!1,!0).lineTo(b.left+b.width,b.top+b.height-h).kf(b.left+b.width-h,b.top+b.height,h,h,!1,!0).lineTo(b.left+k,b.top+b.height).kf(b.left,b.top+b.height-k,k,k,!1,!0);0!=e&&(d.lineTo(b.left,b.top+e),d.kf(b.left+e,b.top,e,e,!1,!0));d.close()}else k=$.Ja(arguments,2,6),ti(k),e=
k[0],f=k[1],h=k[2],k=k[3],yi(d,b,e,f,h,k);return d};
zi=function(a,b,c){var d=a.path?a.path():a;if(6==arguments.length){var e=arguments[2];var f=arguments[3];var h=arguments[4];var k=arguments[5];d.moveTo(b.left+e,b.top).lineTo(b.left+b.width-f,b.top).kf(b.left+b.width,b.top+f,f,f,!1,!1).lineTo(b.left+b.width,b.top+b.height-h).kf(b.left+b.width-h,b.top+b.height,h,h,!1,!1).lineTo(b.left+k,b.top+b.height).kf(b.left,b.top+b.height-k,k,k,!1,!1);0!=e&&d.lineTo(b.left,b.top+e).kf(b.left+e,b.top,e,e,!1,!1);d.close()}else k=$.Ja(arguments,2,6),ti(k),e=k[0],
f=k[1],h=k[2],k=k[3],zi(d,b,e,f,h,k);return d};$.Ai=function(a,b,c,d){this.qj=a;this.se=b;this.rj=c;this.Xe=d};Bi=function(){$.fh.call(this)};Ci=function(a){return $.fa.document.createElementNS("http://www.w3.org/2000/svg",a)};Kaa=function(){var a=$.kg();$.Xe(a.sk);$.Xe(a.rD);$.Xe(a.f);$.Xe(a.g);$.Xe(a.ep);$.Xe(a.tp);a.sk=null;a.rD=null;a.f=null;a.g=null;a.ep=null;a.tp=null};
Laa=function(a){var b=$.bb(a),c=Math.tan(b);a=1/(2*c);c/=2;.5>=Math.abs(c)?(a=-.5,b=0>Math.cos(b)):(c=-.5,b=0<Math.sin(b));b&&(a=-a,c=-c);return new $.Ai(.5+a,.5+c,.5-a,.5-c)};
Maa=function(a,b){var c=a%90,d=$.bb(a),e=1,f=b.left+b.width/2,h=b.top+b.height/2,k=0>Math.sin(d)||180==a||360==a;if(90==a||270==a)c+=1E-6;180!=a&&(0>Math.tan(d)||90==a||270==a)&&(e=-1,c=90-c);c=$.bb(c);d=Math.sin(c)*(b.height/2-Math.tan(c)*b.width/2)+b.width/2/Math.cos(c);e*=Math.cos(c)*d;c=Math.sin(c)*d;k&&(e=-e,c=-c);return new $.Ai(Math.round(f-e),Math.round(h+c),Math.round(f+e),Math.round(h-c))};
Di=function(a,b,c){var d=Naa(c,b.keys,b.cx,b.cy,b.fx,b.fy,b.opacity,b.mode,b.transform);if(!d.no){var e=Ci("radialGradient");$.mh(a,e,d.id());$.Te(c.fa(),e);d.IE=c;d.no=!0;(0,$.Qe)(d.keys,function(a){var b=Ci("stop");$.lh(this,b,{offset:a.offset,style:"stop-color:"+a.color+";stop-opacity:"+((0,window.isNaN)(a.opacity)?d.opacity:a.opacity)});e.appendChild(b)},a);d.Za?$.lh(a,e,{cx:d.Cc*d.Za.width+d.Za.left,cy:d.yc*d.Za.height+d.Za.top,fx:d.Je*d.Za.width+d.Za.left,fy:d.g*d.Za.height+d.Za.top,r:Math.min(d.Za.width,
d.Za.height)/2,spreadMethod:"pad",gradientUnits:"userSpaceOnUse"}):$.lh(a,e,{cx:d.Cc,cy:d.yc,fx:d.Je,fy:d.g,gradientUnits:"objectBoundingBox"});d.transform&&a.gc(e,"gradientTransform",d.transform.toString())}return d.id()};
Fi=function(a,b,c,d){var e=$.Ei(c,b.keys,b.opacity,!0===b.mode?$.kh(b.angle,d):b.angle,b.mode,b.transform);if(!e.no){var f=a.q_();$.mh(a,f,e.id());$.Te(c.fa(),f);e.HE=c;e.no=!0;(0,$.Qe)(e.keys,function(a){var b=Ci("stop");$.lh(this,b,{offset:a.offset,style:"stop-color:"+a.color+";stop-opacity:"+((0,window.isNaN)(a.opacity)?e.opacity:a.opacity)});f.appendChild(b)},a);e.Za?(b=Maa(e.angle,e.Za),$.lh(a,f,{x1:b.qj,y1:b.se,x2:b.rj,y2:b.Xe,spreadMethod:"pad",gradientUnits:"userSpaceOnUse"})):(b=Laa(e.angle),
$.lh(a,f,{x1:b.qj,y1:b.se,x2:b.rj,y2:b.Xe,gradientUnits:"objectBoundingBox"}));e.transform&&a.gc(f,"gradientTransform",e.transform.toString())}return e.id()};
Ii=function(a,b){var c=b.fill();if(c){var d=b.Ha().hn,e='url("'+Gi()+"#";c&&c.opacity&&1E-4>=c.opacity&&$.hd&&$.bd("9")&&(c.opacity=1E-4);if($.z(c))a.gc(b.fa(),"fill",c),b.fa().removeAttribute("fill-opacity");else if($.A(c.keys)&&c.cx&&c.cy)a.gc(b.fa(),"fill",e+Di(a,c,d)+'")'),a.gc(b.fa(),"fill-opacity",$.n(c.opacity)?c.opacity:1);else if($.A(c.keys))b.pb()&&(a.gc(b.fa(),"fill",e+Fi(a,c,d,b.pb())+'")'),a.gc(b.fa(),"fill-opacity",$.n(c.opacity)?c.opacity:1));else if(c.src){var f=b.Lj();f?(f.width=
f.width||0,f.height=f.height||0,f.left=f.left||0,f.top=f.top||0):f=new $.J(0,0,0,0);"tile"==c.mode?Hi(d,c.src,f,c.mode,c.opacity,function(a){a.id();a.parent(b.Ha()).Fd();$.kg().gc(b.fa(),"fill",e+a.id()+'")')}):(d=Hi(d,c.src,f,c.mode,c.opacity),d.id(),d.parent(b.Ha()).Fd(),a.gc(b.fa(),"fill",e+d.id()+'")'),a.gc(b.fa(),"fill-opacity",$.n(c.opacity)?c.opacity:1))}else $.K(c,Lg)?(c=Oaa(d,c.type,c.color,c.jf,c.size),c.id(),c.parent(b.Ha()).Fd(),a.gc(b.fa(),"fill",e+c.id()+'")')):$.K(c,$.Sb)?(c.id(),c.parent(b.Ha()).Fd(),
a.gc(b.fa(),"fill",e+c.id()+'")')):$.lh(a,b.fa(),{fill:c.color,"fill-opacity":c.opacity})}};
Ji=function(a,b){var c=b.stroke();if(c){var d=b.Ha().hn,e=b.fa(),f='url("'+Gi()+"#";if($.z(c))a.gc(e,"stroke",c);else if($.A(c.keys)&&c.cx&&c.cy)a.gc(e,"stroke",f+Di(a,c,d)+'")');else if($.A(c.keys)){if(!b.pb())return;a.gc(e,"stroke",f+Fi(a,c,d,b.pb())+'")')}else a.gc(e,"stroke",c.color);c.lineJoin?a.gc(e,"stroke-linejoin",c.lineJoin):e.removeAttribute("stroke-linejoin");c.lineCap?a.gc(e,"stroke-linecap",c.lineCap):e.removeAttribute("stroke-linecap");c.opacity?a.gc(e,"stroke-opacity",c.opacity):e.removeAttribute("stroke-opacity");
c.thickness?a.gc(e,"stroke-width",c.thickness):e.removeAttribute("stroke-width");c.dash?a.gc(e,"stroke-dasharray",c.dash):e.removeAttribute("stroke-dasharray")}};Ki=function(a){a.fa().removeAttribute("clip-path");a.fa().removeAttribute("clipPathUnits")};
$.Ni=function(a,b){ud.call(this,a.type);this.target=$.Li(a.target,b)||a.target;this.relatedTarget=$.Li(a.relatedTarget||null,b)||a.relatedTarget;this.offsetX=a.offsetX;this.offsetY=a.offsetY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.button=yd(a,0)?$.Mi:yd(a,1)?Paa:yd(a,2)?Qaa:Raa;this.actionButton=a.g();this.keyCode=a.keyCode;this.charCode=a.f;this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.platformModifierKey=
a.D;this.Vj=a};Oi=function(a,b){this.g=a;this.j=b;this.f=0;this.b=null};Pi=function(a,b){a.j(b);100>a.f&&(a.f++,b.next=a.b,a.b=b)};Qi=function(){this.f=this.b=null};Ri=function(){this.next=this.f=this.b=null};Si=function(a){$.fa.setTimeout(function(){throw a;},0)};
Saa=function(){var a=$.fa.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!$.Cc("Presto")&&(a=function(){var a=window.document.createElement("IFRAME");a.style.display="none";a.src="";window.document.documentElement.appendChild(a);var b=a.contentWindow;a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host;a=(0,$.pa)(function(a){if(("*"==
d||a.origin==d)&&a.data==c)this.port1.onmessage()},this);b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});if("undefined"!==typeof a&&!$.Uc()){var b=new a,c={},d=c;b.port1.onmessage=function(){if($.n(c.next)){c=c.next;var a=c.YZ;c.YZ=null;a()}};return function(a){d.next={YZ:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof window.document&&"onreadystatechange"in window.document.createElement("SCRIPT")?function(a){var b=window.document.createElement("SCRIPT");
b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};window.document.documentElement.appendChild(b)}:function(a){$.fa.setTimeout(a,0)}};$.bj=function(a,b){Ti||Taa();$i||(Ti(),$i=!0);aj.add(a,b)};
Taa=function(){if(-1!=String($.fa.Promise).indexOf("[native code]")){var a=$.fa.Promise.resolve(void 0);Ti=function(){a.then(cj)}}else Ti=function(){var a=cj;!$.E($.fa.setImmediate)||$.fa.Window&&$.fa.Window.prototype&&!$.Cc("Edge")&&$.fa.Window.prototype.setImmediate==$.fa.setImmediate?(dj||(dj=Saa()),dj(a)):$.fa.setImmediate(a)}};cj=function(){for(var a;a=aj.remove();){try{a.b.call(a.f)}catch(b){Si(b)}Pi(ej,a)}$i=!1};
$.jj=function(a){this.Xb=fj;this.D=void 0;this.f=this.b=this.Y=null;this.g=this.j=!1;if(a!=$.ia)try{var b=this;a.call(void 0,function(a){$.gj(b,$.hj,a)},function(a){$.gj(b,ij,a)})}catch(c){$.gj(this,ij,c)}};kj=function(){this.next=this.context=this.f=this.g=this.b=null;this.j=!1};mj=function(a,b,c){var d=lj.get();d.g=a;d.f=b;d.context=c;return d};
nj=function(a,b){if(a.Xb==fj)if(a.Y){var c=a.Y;if(c.b){for(var d=0,e=null,f=null,h=c.b;h&&(h.j||(d++,h.b==a&&(e=h),!(e&&1<d)));h=h.next)e||(f=h);e&&(c.Xb==fj&&1==d?nj(c,b):(f?(d=f,d.next==c.f&&(c.f=d),d.next=d.next.next):oj(c),pj(c,e,ij,b)))}a.Y=null}else $.gj(a,ij,b)};rj=function(a,b){a.b||a.Xb!=$.hj&&a.Xb!=ij||qj(a);a.f?a.f.next=b:a.b=b;a.f=b};
$.tj=function(a,b,c,d){var e=mj(null,null,null);e.b=new $.jj(function(a,h){e.g=b?function(c){try{var e=b.call(d,c);a(e)}catch(m){h(m)}}:a;e.f=c?function(b){try{var e=c.call(d,b);!$.n(e)&&b instanceof sj?h(b):a(e)}catch(m){h(m)}}:h});e.b.Y=a;rj(a,e);return e.b};$.gj=function(a,b,c){a.Xb==fj&&(a===c&&(b=ij,c=new TypeError("Promise cannot resolve to itself")),a.Xb=1,$.uj(c,a.N,a.O,a)||(a.D=c,a.Xb=b,a.Y=null,qj(a),b!=ij||c instanceof sj||Uaa(a,c)))};
$.uj=function(a,b,c,d){if(a instanceof $.jj)return rj(a,mj(b||$.ia,c||null,d)),!0;if(a)try{var e=!!a.$goog_Thenable}catch(h){e=!1}else e=!1;if(e)return a.then(b,c,d),!0;if($.D(a))try{var f=a.then;if($.E(f))return Vaa(a,f,b,c,d),!0}catch(h){return c.call(d,h),!0}return!1};Vaa=function(a,b,c,d,e){function f(a){k||(k=!0,d.call(e,a))}function h(a){k||(k=!0,c.call(e,a))}var k=!1;try{b.call(a,h,f)}catch(l){f(l)}};qj=function(a){a.j||(a.j=!0,$.bj(a.G,a))};
oj=function(a){var b=null;a.b&&(b=a.b,a.b=b.next,b.next=null);a.b||(a.f=null);return b};pj=function(a,b,c,d){if(c==ij&&b.f&&!b.j)for(;a&&a.g;a=a.Y)a.g=!1;if(b.b)b.b.Y=null,vj(b,c,d);else try{b.j?b.g.call(b.context):vj(b,c,d)}catch(e){wj.call(null,e)}Pi(lj,b)};vj=function(a,b,c){b==$.hj?a.g.call(a.context,c):a.f&&a.f.call(a.context,c)};Uaa=function(a,b){a.g=!0;$.bj(function(){a.g&&wj.call(null,b)})};sj=function(a){ta.call(this,a)};
$.yj=function(a,b,c){if($.E(a))c&&(a=(0,$.pa)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,$.pa)(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:$.xj.setTimeout(a,b||0)};$.Fj=function(a){$.xj.clearTimeout(a)};$.Gj=function(a,b,c,d,e){$.od.call(this);this.keys=a;this.opacity=null!=b?$.Za(b,0,1):1;this.angle=null!=c?$.ab(c):0;this.mode=null!=d?d:!1;this.Za=d&&$.K(d,$.J)?d:null;this.transform=null!=e?e:null};
$.Hj=function(a,b,c,d,e){c=null!=c?$.ab(c):0;b=null!=b?$.Za(b,0,1):1;var f=!!d;d=null!=d?$.K(d,$.J)?d:null:null;var h=[];(0,$.Qe)(a,function(a){h.push(String(a.offset)+a.color+(a.opacity?a.opacity:null))});return h.join("")+b+c+f+(d?String(d.left)+d.top+d.width+d.height:"")+(e?e.toString():"")};$.Ij=function(a,b,c,d,e,f,h,k){$.od.call(this);this.Cc=b;this.yc=c;this.Je=d;this.g=e;this.keys=a;this.opacity=null!=f?$.Za(f,0,1):1;this.Za=null!=h?h:null;this.transform=null!=k?k:null};
$.Jj=function(a,b,c,d,e,f,h,k){f=null!=f?$.Za(f,0,1):1;var l=[];(0,$.Qe)(a,function(a){l.push(String(a.offset)+a.color+(a.opacity?a.opacity:1))});return l.join("")+f+b+c+d+e+(h?String(h.left)+h.top+h.width+h.height:"")+(k?k.toString():"")};$.Kj=function(a){$.od.call(this);this.Tt={};this.D={};this.g={};this.b={};this.j=a};
Hi=function(a,b,c,d,e,f){e=$.n(e)?e:1;d=null!=d?d:"stretch";var h=[b,c.left,c.top,c.width,c.height,d,e].join(),k=null,l=$.ia;if("tile"==d)l=function(d,k){if($.Hc(a.b,h))var l=a.b[h];else l=new $.Sb(new $.J(c.left,c.top,d,k)),l.dk().src(b).opacity(e).width(d).height(k),a.b[h]=l;f&&f.call(this,l)};else{if($.Hc(a.b,h))return a.b[h];k=new $.Sb(c);switch(d){case "stretch":k.dk().src(b).opacity(e).width(c.width).height(c.height);break;case "fit-max":k.dk().src(b).opacity(e).width(c.width).height(c.height).align("x-mid-y-mid").CC("slice");
break;case "fit":k.dk().src(b).opacity(e).width(c.width).height(c.height).align("x-mid-y-mid")}a.b[h]=k}$.kg().RM(b,l);l=null;return a.b[h]};Oaa=function(a,b,c,d,e){b=null!=b?b:"backward-diagonal";c=null!=c?c:"black";d=null!=d?d:1;e=null!=e?e:10;var f=[b,c,d,e].join();return $.Hc(a.g,f)?a.g[f]:a.g[f]=new Lg(b,c,d,e)};$.Ei=function(a,b,c,d,e,f){var h=$.Hj(b,c,d,e,f);return $.Hc(a.Tt,h)?a.Tt[h]:a.Tt[h]=new $.Gj(b,c,d,e,f)};
Naa=function(a,b,c,d,e,f,h,k,l){var m=$.Jj(b,c,d,e,f,h,k,l);return $.Hc(a.D,m)?a.D[m]:a.D[m]=new $.Ij(b,c,d,e,f,h,k,l)};$.Lj=function(a){if(a.classList)return a.classList;a=a.className;return $.z(a)&&a.match(/\S+/g)||[]};$.Mj=function(a,b){return a.classList?a.classList.contains(b):$.Aa($.Lj(a),b)};$.Nj=function(a,b){a.classList?a.classList.add(b):$.Mj(a,b)||(a.className+=0<a.className.length?" "+b:b)};
$.Oj=function(a,b){if(a.classList)(0,$.Qe)(b,function(b){$.Nj(a,b)});else{var c={};(0,$.Qe)($.Lj(a),function(a){c[a]=!0});(0,$.Qe)(b,function(a){c[a]=!0});a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}};$.Pj=function(a,b){a.classList?a.classList.remove(b):$.Mj(a,b)&&(a.className=(0,$.Ye)($.Lj(a),function(a){return a!=b}).join(" "))};Waa=function(a,b){a.classList?(0,$.Qe)(b,function(b){$.Pj(a,b)}):a.className=(0,$.Ye)($.Lj(a),function(a){return!$.Aa(b,a)}).join(" ")};
$.Qj=function(){var a=$.te().b,b=a.body;return!!(b.webkitRequestFullscreen||b.mozRequestFullScreen&&a.mozFullScreenEnabled||b.msRequestFullscreen&&a.msFullscreenEnabled||b.requestFullscreen&&a.fullscreenEnabled)};
$.Vj=function(a,b,c){$.qf.call(this);this.IN=(0,$.pa)(this.IN,this);this.ft=(0,$.pa)(this.ft,this);var d=$.fa.document;$.fa.acgraph.nO||($.fa.acgraph.nO={});var e=$.ec($.cc.vd(),this,"stage");$.fa.acgraph.nO[e]=this;this.ZZ={};this.Bg=new nf(this);this.Vo=d.createElement("DIV");$.uf(this.Vo,{position:"relative",left:0,top:0,overflow:"hidden"});this.Jd=$.kg().v_();Rj(this);$.kg().dO(this.Jd,"100%","100%");$.uf(this.Jd,"display","block");$.Nj(this.Jd,"anychart-ui-support");this.Vo.appendChild(this.Jd);
this.Jd.setAttribute("ac-id",e);this.ox=[];this.hn=this.l_();this.hn.Fd();this.Wa=new $.Eg;this.Wa.Mk(this).Fd();e=this.Wa.fa();this.Jd.appendChild(e);$.kg().Dp();this.Bg.ra(this.fa(),"mousedown mouseover mouseout click dblclick touchstart touchend touchcancel MSPointerDown MSPointerUp pointerdown pointerup contextmenu".split(" "),this.Gv,!1);Sj(this,b||"100%");Tj(this,c||"100%");(this.Kc=$.z(a)?d.getElementById(a):a)&&Uj(this);this.ft(!0,!0);this.resume()};
Sj=function(a,b){if(a.EK!=b){var c=(0,window.parseFloat)(b);if(!(0,window.isNaN)(c))return a.EK=$.ea(b)?b:String(b),a.wL=$.z(b)&&$.gc(b,"%")?window.NaN:c,a.Vo.style.width=Af(a.EK,!0),!0}return!1};Tj=function(a,b){if(a.CK!=b){var c=(0,window.parseFloat)(b);if(!(0,window.isNaN)(c))return a.CK=$.ea(b)?b:String(b),a.vL=$.z(b)&&$.gc(b,"%")?window.NaN:c,a.Vo.style.height=Af(a.CK,!0),!0}return!1};$.Wj=function(a){return a.Vo?$.Gf(a.Vo):new $.gb(0,0)};
Uj=function(a){a.Kc?a.Vo.parentNode!=a.Kc&&a.Kc.appendChild(a.Vo):$.Xe(a.Vo)};Xj=function(a){a.Sv=!1;a.dispatchEvent("renderfinish");var b=uh($.kg()),c=$.kg().N1();b&&c?a.v1||(a.v1=!0,Hd(b,"complete",function(){this.v1=!1;this.Sv||this.dispatchEvent("stagerendered")},!1,a)):a.dispatchEvent("stagerendered")};Yj=function(a){$.Kj.call(this,a);this.f={}};Zj=function(a,b){var c=$.ec($.cc.vd(),b),d=a.f[c];if(!d){d=a.f;$.kg();var e=Ci("clipPath");d[c]=d=e}return d};
ak=function(a,b,c){$.Vj.call(this,a,b,c)};$.dk=function(){for(var a=window.document.styleSheets,b=[],c=bk(a),d=0;a=c[d];d++){var e=ck(a);if(e&&e.length)for(var f=0,h=0,k=e.length,l;h<k;h++)l=e[h],l.href||(l.style&&(l.parentStyleSheet||(l.style["-closure-parent-stylesheet"]=a),l.style["-closure-rule-index"]=f),b.push(l)),f++}return b};ck=function(a){var b=null;try{b=a.cssRules||a.rules}catch(c){if(15==c.code)throw c.styleSheet=a,c;}return b};
bk=function(a){var b=[];a=a||window.document.styleSheets;var c=$.n(void 0)?void 0:!1;if(a.imports&&a.imports.length)for(var d=0,e=a.imports.length;d<e;d++)$.Ia(b,bk(a.imports[d]));else if(a.length)for(d=0,e=a.length;d<e;d++)$.Ia(b,bk(a[d]));else{var f=ck(a);if(f&&f.length){d=0;e=f.length;for(var h;d<e;d++)h=f[d],h.styleSheet&&$.Ia(b,bk(h.styleSheet))}}!(a.type||a.rules||a.cssRules)||a.disabled&&!c||b.push(a);return b};
Rj=function(a){var b=a.fa();if(b){var c=String($.oa(a));ek[c]=a;b.setAttribute("data-ac-wrapper-id",c)}};fk=function(a){delete ek[String($.oa(a))];(a=a.fa())&&a.removeAttribute("data-ac-wrapper-id")};$.Li=function(a,b){for(var c,d=b.fa().parentNode;a&&a!=d;){c=a.getAttribute&&a.getAttribute("data-ac-wrapper-id")||null;if(null!=c)break;a=a.parentNode}return(c=ek[c||""]||null)&&c.fa()==a?c:null};
$.kg=function(){if(!gk)if("vml"==$.hk){var a=$.fa.acgraph.vml;if(a)gk=a.getRenderer();else throw Error("VML module should be included to render AnyChart in IE8-");}else gk=Bi.vd();return gk};$.ik=function(a,b,c){if("vml"==$.hk){var d=$.fa.acgraph.vml;if(d)a=new d.Stage(a,b,c);else throw Error("VML module should be included to render AnyChart in IE8-");}else a=new ak(a,b,c);return a};$.jk=function(a,b,c,d){return new Bg(a,b,c,d)};$.kk=function(a,b,c){return new $.pg(a,b,c)};$.lk=function(){return new $.Eg};
$.mk=function(a,b,c,d){return new og(a,b,c,d)};$.nk=function(){return new $.zg};ok=function(a,b,c,d,e){return new Wg(a,b,c,d,e)};$.pk=function(a,b,c,d){if("vml"==$.hk){var e=$.fa.acgraph.vml;if(e)a=new e.Text(a,b);else throw Error("VML module should be included to render AnyChart in IE8-");}else a=new $.Mh(a,b);d&&a.style(d);c&&a.text(c);return a};Zb=function(a,b,c,d){return new Lg(a,b,c,d)};$.Tb=function(a){return new $.Sb(a)};
$.qk=function(a,b,c,d){if("vml"==$.hk){var e=$.fa.acgraph.vml;if(e)return new e.Clip(null,a,b,c,d);throw Error("VML module should be included to render AnyChart in IE8-");}return new $.Cg(null,a,b,c,d)};Gi=function(){return $.n(rk)?rk:$.hd&&$.bd("9")&&!$.bd("10")?rk="":rk=sk||null===sk&&$.Be(window.document,"base",void 0,void 0).length?$.fa.location.origin+$.fa.location.pathname+$.fa.location.search:""};tk=function(){return $.Cc("iPad")||$.Cc("Android")&&!$.Cc("Mobile")||$.Cc("Silk")};
$.wk=function(){return!(!tk()&&($.Cc("iPod")||$.Cc("iPhone")||$.Cc("Android")||$.Cc("IEMobile")))&&!tk()};$.xk=function(a,b,c){if(!a.nY){var d={},e;for(e in a){var f=a[e],h=f.toLowerCase();d[h]=f;d[h.replace(/-/g,"")]=f}a.nY=d}return a.nY[String(b).toLowerCase()]||c};$.yk=function(a,b){return $.xk(Xaa,a,b||"by-x")};$.zk=function(a,b){return $.xk(Yaa,a,b||"none")};Ak=function(a,b){return $.xk(Zaa,a,b||"default")};$.Bk=function(a,b){return $.xk($aa,a,$.n(b)?b:"left-top")};
$.Ck=function(a,b){return $.xk(aba,a,b)};Dk=function(a,b){return $.xk(bba,a,b||"center")};$.Ek=function(a,b){return $.xk(cba,a,b||"vertical")};eba=function(a,b){return $.xk(dba,a,b||"vertical")};$.Fk=function(a,b){return $.xk(fba,a,b||"top")};hba=function(a,b){return $.xk(gba,a,b||"outside")};$.Gk=function(a,b){return $.xk(iba,a,b||"none")};$.Ik=function(a,b){return $.xk(Hk,a,b||"star5")};Kk=function(a){return $.xk(Hk,a,null)||$.xk($.Jk,a,null)};$.Lk=function(a,b){return $.xk(jba,a,b||"circle")};
$.Mk=function(a,b){return $.xk(kba,a,b||"auto")};$.Nk=function(a,b){return $.xk(lba,a,b||"axis")};$.Ok=function(a,b,c){b="auto-width"!=String(a).toLowerCase()||c?b:void 0;a="auto-width"!=String(a).toLowerCase()||c?a:b;return $.xk(mba,a,b||"allow-overlap")};$.Pk=function(a){return $.xk(nba,a,"square")};pba=function(a,b){return $.xk(oba,a,b||"default")};$.Qk=function(a,b){return $.xk(qba,a,b||"inside")};$.Sk=function(a){return $.xk(rba,a,null)||$.Rk(a)};
$.Tk=function(a,b,c){a=String(a).toLowerCase();switch(a){case "years":case "year":case "yyyy":case "yy":case "y":return"year";case "semesters":case "semester":case "sem":return"semester";case "quarters":case "quarter":case "q":return"quarter";case "months":case "month":case "mm":case "m":return"month";case "thirdofmonths":case "third-of-month":case "thirdofmonth":case "decades":case "decade":case "tom":case "dec":return"third-of-month";case "weeks":case "week":case "w":return"week";case "days":case "day":case "dd":case "d":return"day";
case "hours":case "hour":case "hh":case "h":return c?"day":"hour";case "minutes":case "minute":case "min":case "n":return c?"day":"minute";case "seconds":case "second":case "secs":case "sec":case "s":return c?"day":"second";case "milliseconds":case "millisecond":case "millis":case "milli":case "ms":return c?"day":"millisecond"}return $.n(b)?b:"year"};tba=function(a){$.D(a)&&(a=a.mode);return $.xk(sba,a,"csv")};$.Uk=function(a){return $.xk(uba,a,"start")};$.Vk=function(a){return $.xk(vba,a,"top")};
$.Wk=function(a){return $.xk(wba,a,"none")};$.Xk=function(a){return $.xk(xba,a,"normal")};$.Yk=function(a){return $.xk(yba,a,"normal")};$.Zk=function(a){return $.xk(zba,a,"ltr")};$.$k=function(a){return $.xk(Aba,a,$.n(void 0)?void 0:"last-date")};al=function(a){return $.xk(Bba,a,"none")};$.cl=function(a,b,c){$.bl("error","Error: "+a+"\nDescription: "+Cba(a,c),b||"")};
Cba=function(a,b){switch(a){case 1:return"Container is not set or can not be properly recognized. Use container() method to set it.";case 2:return"Scale is not set. Use scale() method to set it.";case 3:return"Table.contents() accepts only an Array of Arrays as it's first argument.";case 4:return'Feature "'+b[0]+'" is not supported in this module. See modules list at https://docs.anychart.com/Quick_Start/Modules for details.';case 5:return b[0]+" should be only "+b[1]+" type"+(b[2]?" ("+b[2]+").":
".");case 7:return"Empty config passed to anychart.fromJson() or anychart.fromXml() method.";case 8:return"Bullet, Sparkline, Sankey and Circular Gauge charts do not support Legend. Please use anychart.standalones.Legend component for a group of charts instead.";case 51:return"Stock chart itself doesn't support legend - stock plots do. So use stock.plot().legend() instead.";case 9:return"Bullet and Sparkline charts do not support Credits.";case 10:return"Invalid GeoJSON object:";case 100:return"Double quotes in separator are not allowed.";
case 101:return"CSV parsing failed.";case 200:return"Cannot create a computer on the table with the mapping of another table.";case 201:return'Cannot create computed field "'+b[0]+'" - field name should be unique for the table';case 202:return'Cannot create output field "'+b[0]+'" on the computer - field with this name already exists';case 300:var c=b[2],d=[],e;for(e in c)d.push(e+" ("+c[e]+")");return['Series "',b[0],'" of type "',b[1],'" cannot be drawn, because it requires ',c.length," shapes with the following names: ",
d.join(", ")].join("");case 400:return"Surface chart data is malformed.";default:return"Unknown error occurred. Please, contact support team at http://support.anychart.com/.\nWe will be very grateful for your report."}};$.el=function(a,b,c,d){var e;d&&!dl[e=Dba(a,c)]&&(dl[e]=!0,$.bl("warn","Warning: "+a+"\nDescription: "+e,b||""))};
Dba=function(a,b){switch(a){case 1:return"Data item with ID='"+b[0]+"' already exists in the tree and will be used as the parent for all related data items.";case 2:return"Data item with ID='"+b[0]+"' is not unique. First met object will be used.";case 3:return"One of the data items was looking for the parent with ID='"+b[0]+"', but did not find it. Please check the data.\nPLEASE NOTE: this data item will be added as the root to avoid loss of information.";case 4:return"Data item {ID='"+b[0]+"', PARENT='"+
b[1]+"'} belongs to a cycle and will not be added to the tree.";case 5:return"Can not set value for the '"+b[0]+"' field to an array row if it is not mapped.";case 6:return"Setting complex value to the default '"+b[0]+"' field changes row behaviour.";case 7:return"Can not set value for the '"+b[0]+"' field to a row that is not an object or an array.";case 8:return"We can not serialize '"+b[0]+"' function, please reset it manually.";case 9:return"Data grid incorrect method '"+b[0]+"()' usage: You use not standalone data grid. Perform all operations on data grid using the controller, but not directly. In current case, use '"+
b[1]+"()' instead. "+b[2];case 404:return b[0]+" with id='"+b[1]+"' is not found in data tree. Please check what you are looking for.";case 11:return"Can not fit gantt chart timeline to task with id '"+b[0]+"' because both fields 'actualStart' and 'actualEnd' must be correctly specified in data item.";case 12:return'Series type "'+b[0]+'" does not support error settings - only Area, Bar, Column, Line, Marker, Spline, SplineArea, StepLine and StepLineArea do.';case 13:return"Toolbar container is not specified. Please set a container using toolbar.container() method.";
case 14:return"Target chart has not method "+b[0]+"(). PLease make sure that you use correct instance of chart.";case 15:return"No chart is assigned for toolbar. Please set a target chart using toolbar.target() method.";case 405:return(b[3]||"Method")+" "+b[0]+" is deprecated. Use "+b[1]+" instead"+(b[2]?b[2]+".":".");case 407:return(b[3]||"Method")+" "+b[0]+" is deprecated.";case 19:return"The projection that used cannot work correctly without Proj4. Please include Proj4 binary (https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.15/proj4.js) into your page, or use another projection";
case 17:return"Incorrect arguments passed to treeDataItem.set() method. You try to set a value by path in complex structure, but path contains errors (It can be not string and not numeric values, or invalid path in existing structure, or incorrect number of path's elements etc). Please, see the documentation for treeDataItem.set() method and carefully check your data.";case 101:return"Table is already in transaction mode. Calling startTransaction() multiple times does nothing.";case 201:return"Wrong mapping passed to "+
b[0]+' series - required "'+b[1]+"' field is missing.";case 406:return'Could not parse date time value "'+b[0]+'".'+(b[1]?"Symbols parsed: "+b[1]:"");case 500:return"Scale is immutable for this type of axis marker and scale will not be set.";case 501:return"Layout is immutable for this type of axis marker and layout will not be set.";case 18:return"There should be only one root in tree map data. First node has been taken as root.";case 301:return'Feature with id "'+b[0]+'" not found';case 20:var c=
b[1];return"Current scale ticks settings resulted in too many ticks: trying to generate about "+b[0]/c+" ticks with interval "+c;case 21:return"Data item with ID='"+b[0]+"' already exists. You should use another key.";case 22:return"Area "+b[0]+" not represented on screen.";case 700:return"Can't add state. All states for store '"+b[0]+"' has been used.";case 701:return"Last state for store '"+b[0]+"' has been used.";case 702:return"State '"+b[1]+"' already exists in '"+b[0]+"' store.";case 800:return"Surface chart has "+
b[0]+" points now. If more than 3000 points are drawn on surface chart you may experience instability and poor performance.";case 900:return'Nodes with id "'+b[0]+'" and "'+b[1]+'" already connected. Supports only one connection between nodes now.';case 901:return'Node with id "'+b[0]+'" has\'t "'+b[1]+'" coordinate. Set '+b[1]+" = 0.";case 902:return'Node with id "'+b[0]+'" already exist.';case 903:return"Can't connect edge with id: \""+b[0]+'" to node with id "'+b[1]+'", node not exists.';case 904:return'You try make edge with id "'+
b[0]+'" on one node with id "'+b[1]+'".';case 905:return'No group with id "'+b[0]+'". At first set groups for nodes then use groups method.';case 906:return'Data must contain "nodes" and "edges" fields';case 907:return'Nodes data must has "id" field';case 1E3:return"Offline export failed. Using server export fallback.";case 1001:return"Both client side export and export server fallback are disabled. Nothing will be exported.";case 1002:return"Offline export failed. Fallback to server disabled.";default:return"Unknown error. Please, contact support team at http://support.anychart.com/.\nWe will be very grateful for your report!"}};
$.bl=function(a,b,c){var d=$.fl.console;d&&(a=d[a]||d.log,"object"!=typeof a&&a.call(d,b,c||""))};kl=function(a,b){$.od.call(this);this.f=a;this.N=b;this.ka=Eba.test($.fl.location.hostname);this.G=!(this.N||this.ka);this.Xb=gl|hl|il|jl};ll=function(){return("https:"==$.fl.location.protocol?"https://":"http://")+"static.anychart.com/logo.png"};nl=function(a){return ml()||a.ka};ol=function(){this.b={};this.g=$.kg();this.f=null};
$.ql=function(a){var b=$.pl,c="m"+$.oa(a);c in b.b||($.L(a,b.j,b),b.b[c]={AN:a,bR:[],pU:!0})};rl=function(a){a.f||(a.f=a.g.Jq(),a.g.Dp().appendChild(a.f));return a.f};
$.vl=function(a){var b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(sl.test(c))return b.ck=tl(c),b.type="hex",b;a:{var d=a.match(Fba);if(d){c=Number(d[1]);var e=Number(d[2]);d=Number(d[3]);if(0<=c&&255>=c&&0<=e&&255>=e&&0<=d&&255>=d){c=[c,e,d];break a}}c=[]}if(c.length)return b.ck=$.Ub(c),b.type="rgb",b;if(ul&&(c=ul[a.toLowerCase()]))return b.ck=c,b.type="named",b;throw Error(a+" is not a valid color string");};
tl=function(a){if(!sl.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(Gba,"#$1$1$2$2$3$3"));return a.toLowerCase()};$.wl=function(a){a=tl(a);return[(0,window.parseInt)(a.substr(1,2),16),(0,window.parseInt)(a.substr(3,2),16),(0,window.parseInt)(a.substr(5,2),16)]};
$.Ub=function(a){var b=a[0],c=a[1];a=a[2];b=Number(b);c=Number(c);a=Number(a);if(b!=(b&255)||c!=(c&255)||a!=(a&255))throw Error('"('+b+","+c+","+a+'") is not a valid RGB color');b=xl(b.toString(16));c=xl(c.toString(16));a=xl(a.toString(16));return"#"+b+c+a};yl=function(a,b,c){0>c?c+=1:1<c&&--c;return 1>6*c?a+6*(b-a)*c:1>2*c?b:2>3*c?a+(b-a)*(2/3-c)*6:a};xl=function(a){return 1==a.length?"0"+a:a};
$.zl=function(a,b,c){c=$.Za(c,0,1);return[Math.round(c*a[0]+(1-c)*b[0]),Math.round(c*a[1]+(1-c)*b[1]),Math.round(c*a[2]+(1-c)*b[2])]};$.Al=function(a,b){return $.zl([0,0,0],a,b)};$.Cl=function(a,b,c){a=Bl(a);b=Bl(b);var d=(a.opacity+b.opacity)/2;return{color:$.Ub($.zl(a.M3,b.M3,$.n(c)?c:.5)),opacity:d}};Bl=function(a){var b=a,c=1;$.A(a)||($.z(a)?b=a:(b=a.color||"#000",c=$.n(a.opacity)?a.opacity:1),a=$.Dl(b).ck,b=$.wl(a));return{M3:b,opacity:c}};
El=function(a,b,c,d){b=null==b||(0,window.isNaN)(+b)?7:+b;d=null!=d?$.Za(d,0,1):window.NaN;a=$.Dl(a||"#000").ck;var e=$.wl(a);a=e[0]/255;var f=e[1]/255;e=e[2]/255;var h=Math.max(a,f,e),k=Math.min(a,f,e),l=0,m=0,p=.5*(h+k);h!=k&&(h==a?l=60*(f-e)/(h-k):h==f?l=60*(e-a)/(h-k)+120:h==e&&(l=60*(a-f)/(h-k)+240),m=0<p&&.5>=p?(h-k)/(2*p):(h-k)/(2-2*p));e=[Math.round(l+360)%360,m,p];a=e[0];f=e[1];e=e[2];(0,window.isNaN)(d)?(d=e,c=null!=c?$.Za(c,0,1):.95):c=null!=c?$.Za(c,0,1):e;e=1<b?Math.abs(d-c)/(b-1):0;
h=[];d=c<d?1:-1;for(k=0;k<b;k++){m=c+d*e*k;var q=a/360;if(0==f)p=m=l=255*m;else{l=.5>m?m*(1+f):m+f-f*m;var r=2*m-l;p=255*yl(r,l,q+1/3);m=255*yl(r,l,q);l=255*yl(r,l,q-1/3)}h.push($.Ub([Math.round(p),Math.round(m),Math.round(l)]))}return h};$.Fl=function(a,b,c){c=$.n(c)?c:7;a=$.Dl(a||"yellow").ck;b=$.Dl(b||"brown").ck;for(var d=[a],e=1/c,f=1;f<c-1;f++){var h=$.Cl(b,a,e*f);d.push(h.color)}d.push(b);return d};Gl=function(a){if($.D(a))if(a.color)a=a.color;else return null;if($.z(a))try{return $.vl(a).ck}catch(b){}return null};
$.Hl=function(a,b){if($.D(a)){if($.n(a.color)||$.n(a.keys)){var c=$.Qc(a);if($.n(a.keys)){for(var d=c.keys,e=[],f=0,h=d.length;f<h;f++){var k=$.Qc(d[f]);k.color=$.Hl(k.color,b);e.push(k)}c.keys=e}$.n(c.color)&&(c.color=$.Hl(c.color,b));return c}return a}if(null===(c=Gl(a)))return a;c=$.wl(c);null!=b||(b=.3);return $.Ub($.zl([255,255,255],c,+b))};
$.Il=function(a,b){if($.D(a)){if($.n(a.color)||$.n(a.keys)){var c=$.Qc(a);if($.n(a.keys)){for(var d=c.keys,e=[],f=0,h=d.length;f<h;f++){var k=$.Qc(d[f]);k.color=$.Il(k.color,b);e.push(k)}c.keys=e}$.n(c.color)&&(c.color=$.Il(c.color,b));return c}return a}if(null===(c=Gl(a)))return a;c=$.wl(c);null!=b||(b=.3);return $.Ub($.Al(c,+b))};$.Jl=function(a){var b;$.K(a,Lg)?b={type:a.type,color:$.Jl(a.color),thickness:a.jf,size:a.size}:$.K(a,$.Sb)?b=a.F():$.D(a)?b=$.Kl(a):b=$.da(a)?a:String(a||"none");return b};
$.Ll=function(a){return $.D(a)?a.F?JSON.stringify(a.F()):JSON.stringify(a):(typeof a).charAt(0)+a};$.Dl=function(a){var b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(Hba.test(c))return b.ck=tl(c),b.type="hex",b;a:{var d=a.match(Iba);if(d){c=Number(d[1]);var e=Number(d[2]);d=Number(d[3]);if(0<=c&&255>=c&&0<=e&&255>=e&&0<=d&&255>=d){c=[c,e,d];break a}}c=[]}return c.length?(b.ck=$.Ub(c),b.type="rgb",b):ul&&(a=ul[a.toLowerCase()])?(b.ck=a,b.type="named",b):null};
$.Ml=function(a,b,c){var d;c?d=$.Vb(a):d=$.Yb(a);$.z(d)?d={color:d,opacity:b}:$.D(d)&&(d.opacity=b);return d};$.Nl=function(a){var b=1;$.z(a)?b="none"==a?0:1:$.D(a)&&(b=$.ea(a.opacity)?a.opacity:1);return b};$.Ol=function(a,b,c){a=$.Yb(a);$.z(a)?a={color:a,thickness:b}:$.D(a)&&(a.thickness=b);c&&(a.opacity=c);return a};
$.Vl=function(a,b,c,d){if(!a)return $.Pl;if($.z(a)){var e=b+"|"+a+"|"+c+(d?"|"+d:"");var f=Ql[e];if(!f){switch(b){case 2:f=$.Rl;break;case 3:f=$.Sl;break;default:case 1:f=$.Tl}Ql[e]=f=$.qa(Jba,a,f,3==b,c,!!d)}}else(f=Ql.transparent)||(f=Ql.transparent=function(){return $.Ul});return f};$.Pl=function(){return"none"};$.Wl=function(a){return a?$.D(a)?a.color?"none"!=a.color:!0:"none"!=a:!1};
Jba=function(a,b,c,d,e,f,h,k,l,m){h=$.Xl(h);l=l||f.check($.Yl);var p=f.aa();if(d&&h!=$.Zl){var q=f.zc(a,h,p,b,e,void 0,k);c&&!0===q&&(q=b(f.ph()));if($.n(q)){if(!$.E(q))return q;if(c)return a=f.Fi(k),b(q.call(a,a))}}d=f.zc(a,0,p,b,e,void 0,k);c&&!0===d&&(d=b(f.ph()));if(m&&!c&&a!=m){var r=f.zc(m,0,p,b,e,void 0,k);$.E(r)&&(a=f.Ae(void 0,k,l),r=b(r.call(a,a)))}$.E(d)&&(a=c?f.Fi(k):f.Ae(r,k,l),d=b(d.call(a,a)));q&&(a=f.Ae(d,k,l),d=b(q.call(a,a)));return d};
$.$l=function(a,b){a&&(b=b.charAt(0).toUpperCase()+b.substr(1));return a?(a?1==a?"hover":"select":"")+b:b};bm=function(a,b,c){var d=b.split(".");b=am[d[0]];if(!b)return am[d[0]]={QD:[],aC:c,MH:0},!0;if(d=b.aC<=c){b.aC=c+1;for(var e=b.QD,f=0;f<e.length;f++){var h=e[f];bm(a,h.Pb,c);var k=h.Nb;h=h.Pb.split(".");for(var l=0;l<k.length;l++){var m=k[l].split(".");jm(a,m,km(lm(a,m),lm(a,h)))}}}return d||b.MH<c};lm=function(a,b){for(var c=a,d=0;d<b.length;d++)if($.D(c))c=c[b[d]];else return;return c};
$.pm=function(a,b,c){c=$.mm(c);b=lm(c,["scales",b]);a=nm(a);if(b){c=a.type;var d=b.type;$.n(c)&&$.n(d)&&"ordinal"==d^"ordinal"==c||(a=km(a,b))}c=a.type||"linear";var e;"ordinal-color"==c?$.mm("defaultOrdinalColorScale"):"linear-color"==c?$.mm("defaultLinearColorScale"):e=lm($.mm("defaultScaleSettings"),[$.om(c)]);return km(a,e)};nm=function(a){if("object"==$.ka(a)){var b={},c;for(c in a)a.hasOwnProperty(c)&&(b[c]=nm(a[c]));return b}return a};
jm=function(a,b,c){if($.n(c)){a=$.D(a)?a:{};for(var d=0;d<b.length-1;d++){var e=b[d];$.D(a[e])||(a[e]={});a=a[e]}a[b[b.length-1]]=c}};qm=function(a,b){for(var c=a=$.D(a)?a:{},d=[c],e=b.length-1,f=0;f<e;f++){var h=b[f];if(!$.D(c[h]))return a;c=c[h];d.push(c)}for(f=e+1;f--;){c=d.pop();delete c[b[f]];e=!1;for(var k in c){e=!0;break}if(e)break}return a};
km=function(a,b){if($.n(a)){if("object"==$.ka(a)){if("object"==$.ka(b))for(var c in b)c in a&&c in rm||(a[c]=km(a[c],b[c]))}else if(($.da(a)||null===a)&&"object"==$.ka(b))return km({enabled:!!a},b);return a}return $.Kl(b)};
$.ym=function(a,b){var c=a=sm(a,b),d,e;for(e in tm){var f=e.split("."),h=lm(c,f);if($.A(h)){var k=h.length;var l=lm(b,f),m=lm(b,tm[e].split(".")),p=!0,q=$.A(l)?l.length:0;if(q==k)for(d=0;d<k;d++){var r=$.Kl(l[d]);r=km(r,m);if(!um(h[d],r)){p=!1;break}}else p=!1;if(p)c=qm(c,f);else for(d=0;d<k;d++)d<q?(r=$.Kl(l[d]),r=km(r,m)):r=m,h[d]=sm(h[d],r)||{}}}for(e=0;e<vm.length;e++)if(f=vm[e].split("."),h=lm(c,f),$.A(h)){l=lm(b,f);k=l.length;for(d=0;d<k;d++)m=l[d].type,m=lm($.mm("defaultScaleSettings"),[m]),
l[d]=km(l[d],m);k=h.length;m=!0;if($.A(l)&&l.length==k)for(d=0;d<k;d++){if(!um(h[d],l[d])){m=!1;break}}else m=!1;if(m)c=qm(c,f);else for(d=0;d<k;d++)h[d]=sm(h[d],l[d])||{}}a:{if(c){d=c.chart||c.gauge||c.gantt||c.map;if(!d){a=c;break a}k=$.ka(d.credits);e=$.ka($.wm("stageCredits"));"object"==k&&"object"==e&&(k=$.wm("stageCredits"),k=sm(d.credits,k),$.n(k)&&(d.credits=k))}a=c}c=a;for(var t in xm)if(d=xm[t],k=t.split("."),f=lm(c,k),h=lm(b,d.RK.split(".")),$.A(f)&&$.n(h))for(e=f.length,k=0;k<e;k++)l=
lm(f,[k,d.NO]),$.n(l)&&(f[k]=sm(f[k],lm(h,[l]))||{});return c};
sm=function(a,b,c){var d=$.ka(a),e=$.ka(b),f;if("object"==d&&"object"==e){d=!0;for(var h in a)if(h in b){e=b[h];if(h in rm){var k=rm[h];switch(k){case zm:e=$.E(e)?void 0:$.Vb(e);break;case Am:e=$.E(e)?void 0:$.Jl($.$b(e));break;case Bm:e=$.E(e)?void 0:$.Yb(e);break;case Cm:e=$.Dm(e)}}else k=Em;k!=Em?f=um(a[h],e,k)?void 0:a[h]:f=sm(a[h],e,k||c);$.n(f)?(a[h]=f,d=!1):"xScale"==h||"yScale"==h||"colorScale"==h?d=!1:"enabled"!=h&&delete a[h]}else $.n(a[h])&&(d=!1);if(d)return}else{if($.n(c)&&"array"==d&&
"array"==e)return um(a,b,c)?void 0:a;if(a==b)return}return a};um=function(a,b,c){var d=$.ka(a),e=$.ka(b);if(d==e){if("object"==d)for(var f in a){d=b[f];if(f in rm)switch(rm[f]){case zm:d=$.E(d)?void 0:$.Vb(d);break;case Am:d=$.E(d)?void 0:$.Jl($.$b(d));break;case Bm:d=$.E(d)?void 0:$.Yb(d)}if(!um(a[f],d,c))return!1}else if("array"==d){f=a.length;if(f!=b.length)return!1;for(e=0;e<f;e++){d=b[e];switch(c){case Fm:d=$.Vb(d);break;case Gm:d=$.Jl($.$b(d))}if(!um(a[e],d))return!1}}else return a===b;return!0}return!1};
Xa=function(a){if($.z(a))var b=[a];else{b=[];var c=a[0];a=a[1];c=$.z(c)?[c]:Ya(c);a=$.z(a)?[a]:Ya(a);for(var d=0;d<c.length;d++)for(var e=0;e<a.length;e++)b.push(c[d]+a[e])}return b};Hm=function(){};$.Im=function(){$.od.call(this);this.rI=this.LA.length-1;this.xF=this.vz.length-1;this.yN=(0,$.pa)(this.yN,this)};
Jm=function(a){for(var b=a.length,c=Array(b),d=c[0]=-1,e=1;e<b;e++){var f=a.charAt(e);if('"'==f)throw $.cl(100),Error("Double quotes in separator are not allowed");for(;0<d&&a.charAt(d+1)!=f;)d=c[d];a.charAt(d+1)==f&&d++;c[e]=d}return c};Km=function(a,b){for(;-1<a.Fo&&a.vz.charAt(a.Fo+1)!=b;)a.Fo=a.f[a.Fo];a.vz.charAt(a.Fo+1)==b&&a.Fo++;return a.Fo==a.xF};Lm=function(a,b){for(;-1<a.Go&&a.LA.charAt(a.Go+1)!=b;)a.Go=a.g[a.Go];a.LA.charAt(a.Go+1)==b&&a.Go++;return a.Go==a.rI};
Nm=function(a){if(a.tL)return!1;var b=0,c=a.Og-1;a.Go=-1;a.Fo=-1;for(var d=0,e="",f=0;++c<a.zz;){var h=a.Cd.charAt(c);switch(d){case 0:if('"'==h){++c<a.zz?h=a.Cd.charAt(c):c--;a.Og=c;'"'==h?d=1:(d=2,c--);break}if(Km(a,h)){a.b(b++,null);e="";a.Fo=-1;a.Go=-1;a.Og=c+1;break}if(Lm(a,h)){a.Fo=-1;a.Go=-1;a.Og=c+1;if(0<b)return a.b(b,null),!0;e="";break}if(!a.Nv||" "!=h&&"\t"!=h)a.Og=c,d=1;break;case 1:if(Km(a,h)){h=c-a.Og-a.xF;0<a.xF&&a.Nv?(e=Mm(a.Cd.substr(a.Og,h)))||(e=null):(a.Nv&&(h-=f),e=0<h?a.Cd.substr(a.Og,
h):null);a.b(b++,e);e="";a.Fo=-1;a.Go=-1;a.Og=c+1;d=f=0;break}if(Lm(a,h))if(h=c-a.Og-a.rI,!b&&0>=h){e="";d=0;a.Fo=-1;a.Go=-1;a.Og=c+1;f=0;break}else return 0<a.rI&&a.Nv?(e=Mm(a.Cd.substr(a.Og,h)))||(e=null):(a.Nv&&(h-=f),e=0<h?a.Cd.substr(a.Og,h):null),a.b(b,e),a.Og=c+1,!0;!a.Nv||" "!=h&&"\t"!=h?f=0:f++;break;case 2:if('"'==h){if(++c<a.zz)h=a.Cd.charAt(c);else return h=c-a.Og-1,a.b(b,0<h?a.Cd.substr(a.Og,h):null),a.Og=c,a.tL=!0;'"'==h?(e+=a.Cd.substr(a.Og,c-a.Og),a.Og=c+1):(a.Fo=-1,a.Go=-1,d=3,e+=
a.Cd.substr(a.Og,c-a.Og-1),a.b(b++,e?e:null),e="",c--)}break;case 3:if(Km(a,h))e="",a.Fo=-1,a.Go=-1,a.Og=c+1,d=f=0;else if(Lm(a,h))return a.Og=c+1,!0}}h=a.zz-a.Og;2!=d&&1!=d||!h||(e+=a.Cd.substr(a.Og,h),a.Nv&&(e=Mm(a.Cd.substr(a.Og,h))),a.b(b++,e?e:null),a.Og=a.zz);a.tL=!0;return 0<b};$.Om=function(){return new $.Im};$.Pm=function(a){return $.K(a,$.gb)?a:$.A(a)?new $.gb(a[0],a[1]):$.D(a)?new $.gb(a.x,a.y):new $.gb(0,0)};
$.Qm=function(a,b){var c=Math.pow(10,Math.min(b||0,14-Math.floor(Math.log(Math.abs(a))*Math.LOG10E)));return Math.round(a*c)/c||0};$.Sm=function(a,b){var c=Math.floor(Math.log(Math.abs(a))*Math.LOG10E);c=0>c?Math.min($.Rm(a),14):13-Math.max(c,7);return $.Qm(a,b?b:c)};$.Rm=function(a){if(!(0,window.isFinite)(a))return 0;for(var b=1,c=0;Math.round(a*b)/b!==a;)b*=10,c++;return c};$.Tm=function(a,b,c){return Math.abs(a-b)<(c||.01)};
$.Um=function(a,b){var c=Math.log(Math.max(1E-7,a));return b?$.Sm(c/Math.log(b),14):c};Vm=function(a,b){return $.Qm(Math.pow(a,b),7)};Wm=function(a){a=$.Ha(a);$.Qa(a);var b=Math.floor(a.length/2);return a.length%2?a[b]:(a[b-1]+a[b])/2};Xm=function(a){for(var b={},c=a[0],d=1,e=0;e<a.length;e++){var f=a[e];$.n(b[f])?b[f]++:b[f]=1;b[f]>d&&(c=f,d=b[f])}return c};
$.Zm=function(a,b){var c=!1,d;if(!a||!b)return!1;var e=0;for(d=a.length;e<d-1;e+=2){var f=e==d-2?0:e+2;var h=e==d-2?1:e+3;c=c||Ym(a[e],a[e+1],a[f],a[h],b)}e=0;for(d=b.length;e<d-1;e+=2)f=e==d-2?0:e+2,h=e==d-2?1:e+3,c=c||Ym(b[e],b[e+1],b[f],b[h],a);return!c};Ym=function(a,b,c,d,e){for(var f=!0,h=0,k=e.length;h<k-1;h+=2)f=f&&0>=$.$m(a,b,c,d,e[h],e[h+1]);return f};$.$m=function(a,b,c,d,e,f){return(a=(b-d)*e+(c-a)*f+(a*d-c*b))?0<a?1:-1:0};
an=function(a,b,c,d){if(a>b){var e=a;a=b;b=e}c>d&&(e=c,c=d,d=e);return Math.max(a,c)<=Math.min(b,d)};$.bn=function(a,b,c,d,e,f,h,k){return an(a,c,e,h)&&an(b,d,f,k)&&0>=((c-a)*(f-b)-(d-b)*(e-a))*((c-a)*(k-b)-(d-b)*(h-a))&&0>=((h-e)*(b-f)-(k-f)*(a-e))*((h-e)*(d-f)-(k-f)*(c-e))};
cn=function(a,b,c,d,e,f,h,k){var l=window.NaN;0!=a-2*c+e?(l=(a-c+Math.sqrt((a-2*c+e)*h+c*c-a*e))/(a-2*c+e),a=(a-c-Math.sqrt((a-2*c+e)*h+c*c-a*e))/(a-2*c+e),c=(b-d+Math.sqrt((b-2*d+f)*k+d*d-b*f))/(b-2*d+f),b=(b-d-Math.sqrt((b-2*d+f)*k+d*d-b*f))/(b-2*d+f),l=0<l&&1>l?l:0<a&&1>a?a:0<c&&1>c?c:0<b&&1>b?b:window.NaN):a!=c?l=(h-a)/(2*(c-a)):a==c&&c!=e&&(l=Math.sqrt((h-a)/(e-c)));return l};$.dn=function(a,b,c,d){a=c-a;b=d-b;return Math.sqrt(a*a+b*b)};$.en=function(a,b,c){return(c||0)+b*$.Qm(Math.cos(a),8)};
$.fn=function(a,b,c){return(c||0)+b*$.Qm(Math.sin(a),8)};$.gn=function(a,b,c,d){return new $.J(a,b,c,d)};$.hn=function(a){return[a.left,a.top,a.left+a.width,a.top,a.left+a.width,a.top+a.height,a.left,a.top+a.height]};$.jn=function(a){for(var b=new $.J(0,0,0,0),c=new $.J(a[0],a[1],0,0),d=2,e=a.length;d<e;d+=2)b.left=a[d],b.top=a[d+1],$.qb(c,b);return c};$.kn=function(a){return new $.J(+a.left||0,+a.top||0,+a.width||0,+a.height||0)};ln=function(a,b){0<arguments.length&&(this.x=a,this.y=b)};
mn=function(a,b){return new ln(a.x*b,a.y*b)};nn=function(a,b,c){return new ln(a.x+(b.x-a.x)*c,a.y+(b.y-a.y)*c)};on=function(a){var b=arguments;this.b=[];for(var c=b.length-1;0<=c;c--)this.b.push(b[c])};
qn=function(a){a.AI();switch(a.b.length-1){case 0:var b=[];break;case 1:b=[];var c=a.b[1];0!=c&&b.push(-a.b[0]/c);break;case 2:b=[];if(2==a.b.length-1){var d=a.b[2];c=a.b[1]/d;d=c*c-a.b[0]/d*4;0<d?(d=Math.sqrt(d),b.push(.5*(-c+d)),b.push(.5*(-c-d))):0==d&&b.push(.5*-c)}break;case 3:b=pn(a);break;case 4:b=[];if(4==a.b.length-1){var e=a.b[4];c=a.b[3]/e;d=a.b[2]/e;var f=a.b[1]/e;a=a.b[0]/e;e=pn(new on(1,-d,c*f-4*a,-c*c*a+4*d*a-f*f))[0];var h=c*c/4-d+e;1E-6>=Math.abs(h)&&(h=0);0<h?(a=Math.sqrt(h),e=3*
c*c/4-a*a-2*d,f=(4*c*d-8*f-c*c*c)/(4*a),d=e+f,f=e-f,1E-6>=Math.abs(d)&&(d=0),1E-6>=Math.abs(f)&&(f=0),0<=d&&(d=Math.sqrt(d),b.push(-c/4+(a+d)/2),b.push(-c/4+(a-d)/2)),0<=f&&(d=Math.sqrt(f),b.push(-c/4+(d-a)/2),b.push(-c/4-(d+a)/2))):0>h||(f=e*e-4*a,-1E-6<=f&&(0>f&&(f=0),f=2*Math.sqrt(f),e=3*c*c/4-2*d,1E-6<=e+f&&(d=Math.sqrt(e+f),b.push(-c/4+d/2),b.push(-c/4-d/2)),1E-6<=e-f&&(d=Math.sqrt(e-f),b.push(-c/4+d/2),b.push(-c/4-d/2))))}break;default:b=[]}return b};
pn=function(a){var b=[];if(3==a.b.length-1){var c=a.b[3],d=a.b[2]/c,e=a.b[1]/c,f=(3*e-d*d)/3;a=(2*d*d*d-9*e*d+a.b[0]/c*27)/27;d/=3;c=a*a/4+f*f*f/27;a/=2;0<c?(f=Math.sqrt(c),c=-a+f,e=0<=c?Math.pow(c,1/3):-Math.pow(-c,1/3),c=-a-f,e=0<=c?e+Math.pow(c,1/3):e-Math.pow(-c,1/3),b.push(e-d)):0>c?(f=Math.sqrt(-f/3),c=Math.atan2(Math.sqrt(-c),-a)/3,a=Math.cos(c),c=Math.sin(c),e=Math.sqrt(3),b.push(2*f*a-d),b.push(-f*(a+e*c)-d),b.push(-f*(a-e*c)-d)):(c=0<=a?-Math.pow(a,1/3):Math.pow(-a,1/3),b.push(2*c-d),b.push(-c-
d))}return b};
rn=function(a,b,c,d,e,f,h,k,l,m,p,q){a=new ln(a,b);c=new ln(c,d);e=new ln(e,f);h=new ln(h,k);m=new ln(l,m);l=new ln(p,q);p=[];k=mn(c,-2);q=a.add(k.add(e));k=mn(a,-2);e=mn(c,2);c=k.add(e);a=new ln(a.x,a.y);k=mn(m,-2);l=h.add(k.add(l));k=mn(h,-2);e=mn(m,2);m=k.add(e);h=new ln(h.x,h.y);if(0==q.y)k=q.x*(a.y-h.y),e=k-c.x*c.y,f=c.y*c.y,k=new on(q.x*l.y*l.y,2*q.x*m.y*l.y,q.x*m.y*m.y-l.x*f-l.y*k-l.y*e,-m.x*f-m.y*k-m.y*e,(a.x-h.x)*f+(a.y-h.y)*e);else{k=q.x*l.y-q.y*l.x;e=q.x*m.y-m.x*q.y;var r=c.x*q.y-c.y*q.x;
f=a.y-h.y;d=q.y*(a.x-h.x)-q.x*f;b=-c.y*r+q.y*d;r*=r;k=new on(k*k,2*k*e,(-l.y*r+q.y*e*e+q.y*k*d+k*b)/q.y,(-m.y*r+q.y*e*d+e*b)/q.y,(f*r+d*b)/q.y)}k=qn(k);for(e=0;e<k.length;e++)if(f=k[e],0<=f&&1>=f&&(d=qn(new on(q.x,c.x,a.x-h.x-f*m.x-f*f*l.x)),b=qn(new on(q.y,c.y,a.y-h.y-f*m.y-f*f*l.y)),0<d.length&&0<b.length))a:for(r=0;r<d.length;r++){var t=d[r];if(0<=t&&1>=t)for(var u=0;u<b.length;u++)if(1E-4>Math.abs(t-b[u])){p.push(mn(l,f*f).add(mn(m,f).add(h)));break a}}return p};
sn=function(a,b,c,d,e,f,h,k){var l,m=(k-f)*(c-a)-(h-e)*(d-b);0!=m?(h=((h-e)*(b-f)-(k-f)*(a-e))/m,e=((c-a)*(b-f)-(d-b)*(a-e))/m,0<=h&&1>=h&&0<=e&&1>=e?l=new ln(a+h*(c-a),b+h*(d-b)):l=null):l=null;return l};tn=function(a,b){switch(b){case 1:return 0!=a%4||0==a%100&&0!=a%400?28:29;case 5:case 8:case 10:case 3:return 30}return 31};
$.An=function(a,b,c,d,e,f){$.z(a)?(this.Ok=a==un?b:0,this.Sh=a==vn?b:0,this.ci=a==wn?b:0,this.Ph=a==xn?b:0,this.Gj=a==yn?b:0,this.wh=a==zn?b:0):(this.Ok=a||0,this.Sh=b||0,this.ci=c||0,this.Ph=d||0,this.Gj=e||0,this.wh=f||0)};
Bn=function(a){a=a.match(Kba);if(!a)return null;var b=!(a[6]||a[7]||a[8]);if(b&&!(a[2]||a[3]||a[4])||b&&a[5])return null;b=(0,window.parseInt)(a[2],10)||0;var c=(0,window.parseInt)(a[3],10)||0,d=(0,window.parseInt)(a[4],10)||0,e=(0,window.parseInt)(a[6],10)||0,f=(0,window.parseInt)(a[7],10)||0,h=(0,window.parseFloat)(a[8])||0;return a[1]?new $.An(-b,-c,-d,-e,-f,-h):new $.An(b,c,d,e,f,h)};
Cn=function(a,b){var c=Math.min(a.Ok,a.Sh,a.ci,a.Ph,a.Gj,a.wh),d=Math.max(a.Ok,a.Sh,a.ci,a.Ph,a.Gj,a.wh);if(0>c&&0<d)return null;if(!b&&0==c&&0==d)return"PT0S";d=[];0>c&&d.push("-");d.push("P");(a.Ok||b)&&d.push(Math.abs(a.Ok)+"Y");(a.Sh||b)&&d.push(Math.abs(a.Sh)+"M");(a.ci||b)&&d.push(Math.abs(a.ci)+"D");if(a.Ph||a.Gj||a.wh||b)d.push("T"),(a.Ph||b)&&d.push(Math.abs(a.Ph)+"H"),(a.Gj||b)&&d.push(Math.abs(a.Gj)+"M"),(a.wh||b)&&d.push(Math.abs(a.wh)+"S");return d.join("")};
$.Gn=function(a,b,c){$.ea(a)?(this.b=Dn(a,b||0,c||1),En(this,c||1)):$.D(a)?(this.b=Dn(a.getFullYear(),a.getMonth(),a.getDate()),En(this,a.getDate())):(this.b=new Date((0,$.Fn)()),a=this.b.getDate(),this.b.setHours(0),this.b.setMinutes(0),this.b.setSeconds(0),this.b.setMilliseconds(0),En(this,a))};Dn=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};En=function(a,b){if(a.getDate()!=b){var c=a.getDate()<b?1:-1;a.b.setUTCHours(a.b.getUTCHours()+c)}};
$.Hn=function(a,b,c,d,e,f,h){this.b=$.ea(a)?new Date(a,b||0,c||1,d||0,e||0,f||0,h||0):new Date(a&&a.getTime?a.getTime():(0,$.Fn)())};$.In=function(a,b,c,d,e,f,h){a=$.ea(a)?Date.UTC(a,b||0,c||1,d||0,e||0,f||0,h||0):a?a.getTime():(0,$.Fn)();this.b=new Date(a)};Lba=function(){if(!$.hd)return!1;try{return new window.ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}};
Jn=function(){var a=new window.ActiveXObject("MSXML2.DOMDocument");a.resolveExternals=!1;a.validateOnParse=!1;try{a.setProperty("ProhibitDTD",!0),a.setProperty("MaxXMLSize",2048),a.setProperty("MaxElementDepth",256)}catch(b){}return a};Kn=function(){};
Mn=function(a){if("number"==typeof a){var b=new Kn;b.D=a;var c=a;if(0==c)c="Etc/GMT";else{var d=["Etc/GMT",0>c?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;0!=c&&d.push(":",$.uc(c,2));c=d.join("")}b.g=c;c=a;0==c?c="UTC":(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),c%=60,0!=c&&d.push(":",c),c=d.join(""));a=Ln(a);b.j=[c,c];b.b={bna:a,iY:a};b.f=[];return b}b=new Kn;b.g=a.id;b.D=-a.std_offset;b.j=a.names;b.b=a.names_ext;b.f=a.transitions;return b};
Ln=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push($.uc(Math.floor(a/60)%100,2),":",$.uc(a%60,2));return b.join("")};Nn=function(a,b){for(var c=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5,d=0;d<a.f.length&&c>=a.f[d];)d+=2;return 0==d?0:a.f[d-1]};$.Rn=function(a,b){this.f=[];this.b=b||On;"number"==typeof a?Pn(this,a):Qn(this,a)};Sn=function(a){return a.getHours?a.getHours():0};
Qn=function(a,b){for(Mba&&(b=b.replace(/\u200f/g,""));b;){for(var c=b,d=0;d<Tn.length;++d){var e=b.match(Tn[d]);if(e){var f=e[0];b=b.substring(f.length);0==d&&("''"==f?f="'":(f=f.substring(1,"'"==e[1]?f.length-1:f.length),f=f.replace(/''/g,"'")));a.f.push({text:f,type:d});break}}if(c===b)throw Error("Malformed pattern part: "+b);}};
Pn=function(a,b){if(4>b)var c=a.b.CE[b];else if(8>b)c=a.b.EE[b-4];else if(12>b)c=a.b.jP[b-8],c=c.replace("{1}",a.b.CE[b-8]),c=c.replace("{0}",a.b.EE[b-8]);else{Pn(a,10);return}Qn(a,c)};Un=function(a,b){var c=String(b);var d=a.b||On;if(void 0!==d.LP){for(var e=[],f=0;f<c.length;f++){var h=c.charCodeAt(f);e.push(48<=h&&57>=h?String.fromCharCode(d.LP+h-48):c.charAt(f))}c=e.join("")}return c};
Vn=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("The date to format has no time (probably a goog.date.Date). Use Date or goog.date.DateTime, or use a pattern without time fields.");};
Nba=function(a,b,c,d,e,f){var h=b.length;switch(b.charAt(0)){case "G":return c=0<d.getFullYear()?1:0,4<=h?a.b.MX[c]:a.b.nP[c];case "y":return c=d.getFullYear(),0>c&&(c=-c),2==h&&(c%=100),Un(a,$.uc(c,h));case "M":a:switch(c=d.getMonth(),h){case 5:h=a.b.QX[c];break a;case 4:h=a.b.uP[c];break a;case 3:h=a.b.BP[c];break a;default:h=Un(a,$.uc(c+1,h))}return h;case "k":return Vn(e),c=Sn(e)||24,Un(a,$.uc(c,h));case "S":return Un(a,(e.getTime()%1E3/1E3).toFixed(Math.min(3,h)).substr(2)+(3<h?$.uc(0,h-3):""));
case "E":return c=d.getDay(),4<=h?a.b.KP[c]:a.b.DP[c];case "a":return Vn(e),h=Sn(e),a.b.fP[12<=h&&24>h?1:0];case "h":return Vn(e),c=Sn(e)%12||12,Un(a,$.uc(c,h));case "K":return Vn(e),c=Sn(e)%12,Un(a,$.uc(c,h));case "H":return Vn(e),c=Sn(e),Un(a,$.uc(c,h));case "c":a:switch(c=d.getDay(),h){case 5:h=a.b.fY[c];break a;case 4:h=a.b.hY[c];break a;case 3:h=a.b.gY[c];break a;default:h=Un(a,$.uc(c,1))}return h;case "L":a:switch(c=d.getMonth(),h){case 5:h=a.b.eY[c];break a;case 4:h=a.b.FP[c];break a;case 3:h=
a.b.GP[c];break a;default:h=Un(a,$.uc(c+1,h))}return h;case "Q":return c=Math.floor(d.getMonth()/3),4>h?a.b.CP[c]:a.b.xP[c];case "d":return Un(a,$.uc(d.getDate(),h));case "m":return Vn(e),Un(a,$.uc(e.getMinutes(),h));case "s":return Vn(e),Un(a,$.uc(e.getSeconds(),h));case "v":return h=f||Mn(c.getTimezoneOffset()),h.g;case "V":return a=f||Mn(c.getTimezoneOffset()),2>=h?a.g:0<Nn(a,c)?$.n(a.b.p6)?a.b.p6:a.b.DST_GENERIC_LOCATION:$.n(a.b.iY)?a.b.iY:a.b.STD_GENERIC_LOCATION;case "w":return c=e.getFullYear(),
b=e.getMonth(),d=e.getDate(),e=a.b.pP,c=new Date(c,b,d),e=$.n(e)?e:3,b=a.b.oP||0,d=((c.getDay()+6)%7-b+7)%7,c=c.valueOf()+864E5*((e-b+7)%7-d),e=(new Date((new Date(c)).getFullYear(),0,1)).valueOf(),Un(a,$.uc(Math.floor(Math.round((c-e)/864E5)/7)+1,h));case "z":return a=f||Mn(c.getTimezoneOffset()),4>h?a.j[0<Nn(a,c)?2:0]:a.j[0<Nn(a,c)?3:1];case "Z":return e=f||Mn(c.getTimezoneOffset()),4>h?(h=-e.MC(c),a=[0>h?"-":"+"],h=Math.abs(h),a.push($.uc(Math.floor(h/60)%100,2),$.uc(h%60,2)),h=a.join("")):h=Un(a,
Ln(e.MC(c))),h;default:return""}};Oba=function(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))};Pba=function(a){a=String(a);if(Oba(a))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);};Xn=function(a){return(new Wn).F(a)};Wn=function(){};
Yn=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if($.A(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),Yn(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(e),Zn(d,c),c.push(":"),Yn(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":Zn(b,c);break;case "number":c.push((0,window.isFinite)(b)&&
!(0,window.isNaN)(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}};Zn=function(a,b){b.push('"',a.replace(Qba,function(a){var b=$n[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),$n[a]=b);return b}),'"')};$.ao=function(a){if($.fa.JSON)try{return $.fa.JSON.stringify(a)}catch(b){}return Xn(a)};$.bo=function(a){if($.fa.JSON)try{return $.fa.JSON.parse(a)}catch(b){}return Pba(a)};
$.ho=function(a,b){for(var c=[],d=0;d<a.length;d+=2){var e=a[d],f=void 0,h=a[d+1];if(h==Rba)f=e;else if(e){switch(h){case $.co:e=e.Ma;break;case $.eo:e=e.ma;break;case $.fo:e=e.zd}b?h==Sba?f=e.get(b):(f=e[b],h==go&&(f=f?f.call(e):void 0)):f=e}c.push(f)}return c};io=function(a,b,c,d){if(c)for(var e=0;e<c.length;e++){var f=c[e];if(f in a){b=f;break}}return 3<arguments.length?(e=a[b],a[b]=d,e):a[b]};
lo=function(a,b){if("number"==typeof a&&"number"==typeof b)return $.jo(a,b);a=$.ko(a);b=$.ko(b);return a>b?1:a==b?0:-1};Tba=function(a,b){return-lo(a,b)};$.jo=function(a,b){return(0,window.isNaN)(a)?(0,window.isNaN)(b)?0:1:(0,window.isNaN)(b)?-1:a-b};$.mo=function(a){for(var b;$.K(a,$.hg);){b=a.tag;if($.n(b))return b;a=a.parent()}};$.no=function(a,b){if(!a)return!1;for(;$.K(b,$.qf)&&b!=a;)b=b.Gi();return b==a};$.ko=function(a){return $.D(a)?"o"+$.oa(a):(typeof a).charAt(0)+a};
$.M=function(a,b,c){a=$.ea(a)?a:!(0,window.isNaN)(b)&&$.oo(a)?b*(0,window.parseFloat)(a)/100:(0,window.parseFloat)(a);return c&&!(0,window.isNaN)(b)?b-a:a};$.ro=function(a){switch(a){case $.po:return"hovered";case $.qo:return"selected";default:return"normal"}};$.oo=function(a){return $.z(a)&&$.gc(a,"%")&&!(0,window.isNaN)((0,window.parseFloat)(a))};$.so=function(a,b){if(null===a)return null;a=$.n(a)?a:0;b=$.n(b)?b:0;var c=$.oo(a),d=(0,window.parseFloat)(a);return(0,window.isNaN)(d)?b:c?a:d};
$.to=function(a,b){if($.oo(a))return a;$.ea(a)||(a=(0,window.parseFloat)(a));return(0,window.isNaN)(a)?b?window.NaN:"0%":a+"%"};$.N=function(a){return null==a||$.da(a)?window.NaN:+a};$.uo=function(a){return $.z(a)?a:$.N(a)};vo=function(a){return $.ea(a)&&!(0,window.isNaN)(a)||$.z(a)&&""!=(0,$.vc)(a)?a:null};$.wo=function(a){return(0,window.isNaN)($.N(a))};$.O=function(a,b,c){$.ea(a)||(a=(0,window.parseFloat)(a));a=Math.round(a);return!(0,window.isNaN)(a)&&(0<a||c&&!a)?a:$.n(b)?b:c?0:1};
$.Rk=function(a){if($.ea(a))var b=a;else $.z(a)?(b=+new Date(a),(0,window.isNaN)(b)&&(b=+a)):b=null!=a?Number(a):window.NaN;return b};
$.xo=function(a,b){var c=a.left,d=a.top;switch($.Bk(b)){case "left-center":d+=a.height/2;break;case "left-bottom":d+=a.height;break;case "center-top":c+=a.width/2;break;case "center":c+=a.width/2;d+=a.height/2;break;case "center-bottom":c+=a.width/2;d+=a.height;break;case "right-top":c+=a.width;break;case "right-center":c+=a.width;d+=a.height/2;break;case "right-bottom":c+=a.width,d+=a.height}return{x:c,y:d}};$.zo=function(a){a=$.ab(a);a/=90;a!=~~a&&(a=Math.round(a-.5)+.5);return $.yo[(a+a+6)%8]};
$.Ao=function(a){return"outside"==a||"byPath"==a?1:"inside"==a?-1:0};$.Bo=function(a,b){var c=0,d=$.n(b)?b:window.NaN;if(a.enabled()){var e=a.i("position"),f=a.i("length");"outside"==e?c=0>=d?0:f:"center"==e?c=d*f/2:"inside"==e&&(c=0<=d?0:-f)}return c};$.Co=function(a,b){var c=$.ab(-b)/90;if(c){var d=(0,$.za)($.yo,a);0<=d&&(c!=~~c&&(c=Math.round(c-.5)+.5),a=$.yo[(d+(c+c))%$.yo.length])}return a};$.Do=function(a){return"left-top"==a||"center-top"==a||"right-top"==a};
$.Eo=function(a){return"left-bottom"==a||"center-bottom"==a||"right-bottom"==a};$.Fo=function(a){return"left-top"==a||"left-center"==a||"left-bottom"==a};$.Go=function(a){return"right-top"==a||"right-center"==a||"right-bottom"==a};$.Ho=function(a,b,c,d){c=c||0;d=7<=d?d:7;return $.Qm(b*Math.floor($.Qm((a-c)/b,d))+c,d)};$.Io=function(a,b,c,d){c=c||0;d=7<=d?d:7;return $.Qm(b*Math.ceil($.Qm((a-c)/b,d))+c,d)};
$.Lo=function(a,b,c){var d=new Date(a),e=d.getUTCFullYear(),f=d.getUTCMonth(),h=d.getUTCDate(),k=d.getUTCHours(),l=d.getUTCMinutes(),m=d.getUTCSeconds(),p=d.getUTCMilliseconds();return b.Ok?(e=$.Ho(e,b.Ok,(new Date(c)).getUTCFullYear()),Date.UTC(e,0)):b.Sh?(f=$.Ho(f,b.Sh),Date.UTC(e,f)):b.ci&&0==b.ci%7?(a=$.Jo($.Ko()),$.Ho(d.getTime(),864E5*b.ci,Date.UTC(2E3,0,2+(a?a.firstDayOfWeek:0)))):b.ci?(h=$.Ho(h,b.ci),Date.UTC(e,f,h)):b.Ph?(k=$.Ho(k,b.Ph),Date.UTC(e,f,h,k)):b.Gj?(l=$.Ho(l,b.Gj),Date.UTC(e,
f,h,k,l)):1<=b.wh?(m=$.Ho(m,b.wh),Date.UTC(e,f,h,k,l,m)):b.wh?(p=$.Ho(p,1E3*b.wh),Date.UTC(e,f,h,k,l,m,p)):a};
$.Mo=function(a,b,c,d){var e=new Date(a),f=e.getUTCFullYear(),h=e.getUTCMonth(),k=e.getUTCDate(),l=e.getUTCHours(),m=e.getUTCMinutes(),p=e.getUTCSeconds(),q=e.getUTCMilliseconds();switch(b){case "year":return f=$.Ho(f,c,(new Date(d)).getUTCFullYear()),Date.UTC(f,0);case "semester":return h=$.Ho(h,6*c),Date.UTC(f,h);case "quarter":return h=$.Ho(h,3*c),Date.UTC(f,h);case "month":return h=$.Ho(h,c),Date.UTC(f,h);case "third-of-month":return $.Ho(e.getTime(),864E6*c,Date.UTC(2E3,0,2));case "week":return a=
$.Jo($.Ko()),$.Ho(e.getTime(),6048E5*c,Date.UTC(2E3,0,2+(a?a.firstDayOfWeek:0)));case "day":return $.Ho(e.getTime(),864E5*c,Date.UTC(2E3,0,2));case "hour":return l=$.Ho(l,c),Date.UTC(f,h,k,l);case "minute":return m=$.Ho(m,c),Date.UTC(f,h,k,l,m);case "second":return p=$.Ho(p,c),Date.UTC(f,h,k,l,m,p);case "millisecond":return q=$.Ho(q,c),Date.UTC(f,h,k,l,m,p,q)}return a};
$.No=function(a,b){switch(a){case "year":var c=un;var d=b;break;case "semester":c=vn;d=6*b;break;case "quarter":c=vn;d=3*b;break;case "month":c=vn;d=b;break;case "third-of-month":c=wn;d=10*b;break;case "week":c=wn;d=7*b;break;case "day":c=wn;d=b;break;case "hour":c=xn;d=b;break;case "minute":c=yn;d=b;break;case "second":c=zn;d=b;break;case "millisecond":c=zn;d=b/1E3;break;default:c=un,d=b}return new $.An(c,d)};$.R=function(a,b,c){b=(b&1)/2;return.5<=a%1?Math.ceil(a)-(c?-b:b):Math.floor(a)+(c?-b:b)};
Oo=function(a){a=$.R(a,1);return a=$.n(void 0)&&void 0>a?Math.floor(a):Math.ceil(a)};$.Po=function(a,b){var c=a.left+a.width,d=a.top+a.height;a.left=$.R(a.left,b);a.top=$.R(a.top,b);a.width=$.R(c,b)-a.left;a.height=$.R(d,b)-a.top;return a};
$.Qo=function(a,b,c,d){switch(b){case "left-top":case "left-center":case "center-top":case "center":a.x+=c;a.y+=d;break;case "left-bottom":case "center-bottom":a.x+=c;a.y-=d;break;case "right-center":case "right-top":a.x-=c;a.y+=d;break;case "right-bottom":a.x-=c,a.y-=d}};$.Ro=function(a){for(var b=0,c=arguments.length;b<c;b++){var d=arguments[b];if($.n(d))return d}};$.So=function(a){for(var b=0,c=arguments.length;b<c;b++){var d=arguments[b];if(null!=d)return d}};
To=function(a){for(var b=0,c=arguments.length;b<c;b++){var d=arguments[b];$.A(d)&&(d=To.apply(null,d));if(null!=d)return d}};Uba=function(a){for(var b=0,c=arguments.length;b<c;b++){var d=arguments[b];$.A(d)&&(d=To.apply(null,d));if(null!=d)return d}};$.Kl=function(a){var b=$.ka(a);if("array"==b){b=[];for(var c=0;c<a.length;c++)c in a&&(b[c]=$.Kl(a[c]))}else if("object"==b)for(c in b={},a)a.hasOwnProperty(c)&&(b[c]=$.Kl(a[c]));else return a;return b};
Uo=function(a,b){var c=$.ka(a);if("array"==c){var d="array"==$.ka(b)?b:[];c=[];for(var e=Math.max(a.length,d.length),f=0;f<e;f++)c[f]=Uo(a[f],d[f])}else if("object"==c){d="object"==$.ka(b)?b:{};c={};for(e in a)a.hasOwnProperty(e)&&!$.fc(e,"closure_uid")&&(c[e]=Uo(a[e],d[e]));for(e in d)!d.hasOwnProperty(e)||e in c||$.fc(e,"closure_uid")||(c[e]=$.Kl(d[e]))}else return $.n(b)?b:a;return c};$.Vo=function(a){return null===a||$.z(a)&&"none"==a.toLowerCase()};
$.Wo=function(a){a=$.Yb(a);return $.Vo(a)?0:$.D(a)?$.bc(a):1};$.Xo=function(){return this.value};Mm=function(a){return a.replace(/[\s\xa0]+$/,"")};Yo=function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};$.Zo=function(a){var b=!0;-1!=a.indexOf('"')&&($.cl(100),b=!1);return b};
$o=function(a,b,c,d,e,f){for(var h=0;h<d;h++){var k=a[h],l=e?e[h]:void 0;f&&l&&($.E(f)?k=f(l,k):"object"==$.ka(f)&&(l=f[l])&&(k=l(k)));if(null!=k){if($.z(k)||(k=String(k)),-1!=k.indexOf(b)||-1!=k.indexOf(c))k=k.split('"').join('""'),k='"'+k+'"'}else k="";a[h]=k}return a.join(b)};
$.bp=function(a,b,c){var d=c&&c.rowsSeparator||"\n",e=c&&c.columnsSeparator||",",f=c&&c.ignoreFirstRow||!1,h=c&&c.formats||void 0,k=c&&c.headers||void 0;if(!b.length||!$.Zo(d)||!$.Zo(e))return"";c=[];f||c.push($o(a,e,d,a.length,a,k));for(f=0;f<b.length;f++)c.push($o(b[f],e,d,a.length,a,h));return c.join(d)};
$.ep=function(a){if($.z(a))if("undefined"!=typeof window.DOMParser)a=(new window.DOMParser).parseFromString(a,"application/xml");else if(cp){var b=Jn();b.loadXML(a);a=b}else throw Error("Your browser does not support loading xml documents");if(!a)return null;switch(a.nodeType){case 1:b={};var c=!!a.getAttribute(dp);c&&(b=[]);var d={},e,f=!0;var h=a.childNodes.length;var k="";for(e=0;e<h;e++){var l=a.childNodes[e];var m=$.ep(l);l=l.nodeName;if("#"==l.charAt(0))k+=m;else if(c&&"item"==l)f=!1,""==m?
b.push(m):$.A(m)||(0,window.isNaN)(+m)?"true"==m?b.push(!0):"false"==m?b.push(!1):"null"==m?b.push(null):b.push(m):b.push(+m);else if((null!==m||"point"==l)&&!c){f=!1;var p;l=$.om(l,!0);(p=Vba(l))?(l=m[p[1]],$.A(l)||(l=$.n(l)?[l]:[]),b[p[0]]=l):l in b?d[l]?b[l].push(m):(b[l]=[b[l],m],d[l]=!0):"data"===a.nodeName&&1===h&&$.A(m)?b[l]=[m]:b[l]=m}}h=null==a.attributes?0:a.attributes.length;for(e=0;e<h;e++)c=a.attributes[e],l=String(c.nodeName).toLowerCase(),"xmlns"!=l&&l!=dp&&(l=$.om(c.nodeName,!0),l in
b||(m=fp(c.value),b[l]=""==m?m:(0,window.isNaN)(+m)?"true"==m?!0:"false"==m?!1:"null"==m?null:m:1<m.length&&"0"==m.charAt(0)&&(0>=+m||1<=+m)?m:+m,f=!1));return f?0<k.length?fp(k):{}:b;case 3:return a=Yo(a.nodeValue),""==a?null:a;case 4:return a.nodeValue;case 9:return $.ep(a.documentElement);default:return null}};
$.hp=function(a,b,c){$.z(a)&&(a=$.bo(a));a:if(window.document.implementation&&window.document.implementation.createDocument)var d=window.document.implementation.createDocument("","",null);else{if(cp&&(d=Jn()))break a;throw Error("Your browser does not support creating new documents");}if(a=gp(a,b||"anychart",d))b||a.setAttribute("xmlns","http://anychart.com/schemas/8.9.0/xml-schema.xsd"),d.appendChild(a);if(c)b=d;else if(b=d,c=b.xml)b=c;else if("undefined"!=typeof window.XMLSerializer)b=(new window.XMLSerializer).serializeToString(b);
else throw Error("Your browser does not support serializing XML documents");return b};
gp=function(a,b,c){b=String(b).replace(/([A-Z])/g,"_$1").toLowerCase();b=c.createElement(b);var d,e;if($.z(a)||$.ea(a))b.appendChild(c.createCDATASection(sc(String(a))));else if($.A(a))for(b.setAttribute(dp,"true"),d=0;d<a.length;d++)$.n(a[d])&&b.appendChild(gp(a[d],"item",c));else if(null!=a)for(d in a)if(a.hasOwnProperty(d)){var f=a[d],h;if($.A(f)&&(h=Wba(d))){var k=c.createElement(h[0]);b.appendChild(k);var l=h[1];for(e=0;e<f.length;e++)k.appendChild(gp(f[e],l,c))}else $.n(f)&&($.D(f)||!Xba.test(f)?
b.appendChild(gp(f,d,c)):($.z(f)&&(f=sc(String(f))),b.setAttribute(String(d).replace(/([A-Z])/g,"_$1").toLowerCase(),f)))}return b};
fp=function(a){return a.replace(/\\([0bfnrt"'\\]|x([0-9a-fA-F]{2})|u([0-9a-fA-F]{4}))/g,function(a,c,d,e){switch(c.charAt(0)){case "0":return"\x00";case "b":return"\b";case "f":return"\f";case "n":return"\n";case "r":return"\r";case "t":return"\t";case '"':return'"';case "'":return"'";case "\\":return"\\";case "x":return String.fromCharCode((0,window.parseInt)(d,16));case "u":return String.fromCharCode((0,window.parseInt)(e,16))}})};
Wba=function(a){switch(a){case "series":return["series_list","series"];case "annotationsList":return["annotations_list","annotation"];case "keys":return["keys","key"];case "data":return["data","point"];case "lineAxesMarkers":return["line_axes_markers","line_axes_marker"];case "rangeAxesMarkers":return["range_axes_markers","range_axes_marker"];case "textAxesMarkers":return["text_axes_markers","text_axes_marker"];case "xGrids":return["x_grids","grid"];case "yGrids":return["y_grids","grid"];case "xMinorGrids":return["x_minor_grids",
"grid"];case "yMinorGrids":return["y_minor_grids","grid"];case "xAxes":return["x_axes","axis"];case "yAxes":return["y_axes","axis"];case "axes":return["axes","axis"];case "bars":return["bar_pointers","pointer"];case "markers":return["marker_pointers","pointer"];case "needles":return["needle_pointers","pointer"];case "knobs":return["knob_pointers","pointer"];case "pointers":return["pointers","pointer"];case "scaleBars":return["scale_bars","scale_bar"];case "points":return["points","point"];case "scales":return["scales",
"scale"];case "colorScales":return["color_scales","scale"];case "explicit":return["explicit","tick"];case "values":return["values","value"];case "names":return["names","name"];case "ranges":return["ranges","range"];case "chartLabels":return["chart_labels","label"];case "items":return["items","item"];case "columns":return["columns","column"];case "colors":return["colors","color"];case "children":return["children","data_item"];case "index":return["index","key"];case "outliers":return["outliers","outlier"];
case "inverted":return["inverted_list","inverted"];case "drillTo":return["drill_to","item"];case "extraClassNames":return["extra_class_names","class_name"];case "dependsOn":return["depends_on","item"];case "precision":return["precision_list","precision"];case "labels":return["quarter_labels","label"];case "weights":return["weights","weight"];case "angles":return["angles","angle"];case "levels":return["levels","level"];case "xLabels":return["x_labels","item"];case "yLabels":return["y_labels","item"]}return null};
Vba=function(a){switch(a){case "seriesList":return["series","series"];case "annotationsList":return["annotationsList","annotation"];case "keys":return["keys","key"];case "data":return["data","point"];case "lineAxesMarkers":return["lineAxesMarkers","lineAxesMarker"];case "rangeAxesMarkers":return["rangeAxesMarkers","rangeAxesMarker"];case "textAxesMarkers":return["textAxesMarkers","textAxesMarker"];case "xGrids":return["xGrids","grid"];case "yGrids":return["yGrids","grid"];case "xMinorGrids":return["xMinorGrids",
"grid"];case "yMinorGrids":return["yMinorGrids","grid"];case "xAxes":return["xAxes","axis"];case "yAxes":return["yAxes","axis"];case "axes":return["axes","axis"];case "barPointers":return["bars","pointer"];case "markerPointers":return["markers","pointer"];case "needlePointers":return["needles","pointer"];case "knobPointers":return["knobs","pointer"];case "pointers":return["pointers","pointer"];case "scaleBars":return["scaleBars","scaleBar"];case "points":return["points","point"];case "scales":return["scales",
"scale"];case "explicit":return["explicit","tick"];case "values":return["values","value"];case "names":return["names","name"];case "ranges":return["ranges","range"];case "chartLabels":return["chartLabels","label"];case "items":return["items","item"];case "columns":return["columns","column"];case "colors":return["colors","color"];case "children":return["children","dataItem"];case "index":return["index","key"];case "outliers":return["outliers","outlier"];case "invertedList":return["inverted","inverted"];
case "colorScales":return["colorScales","scale"];case "drillTo":return["drillTo","item"];case "extraClassNames":return["extraClassNames","className"];case "dependsOn":return["dependsOn","item"];case "precisionList":return["precision","precision"];case "quarterLabels":return["labels","label"];case "weights":return["weights","weight"];case "angles":return["angles","angle"];case "levels":return["levels","level"];case "xLabels":return["xLabels","item"];case "yLabels":return["yLabels","item"]}return null};
$.om=function(a,b){return String(a).replace(b?/[_]([a-z])/g:/[-_]([a-z|\d])/g,function(a,b){return b.toUpperCase()})};Yba=function(){if(ip)return ip;var a=jp.length,b=0==a%2?a/2:a+.5;return ip=(0,$.Wa)((0,$.Wa)(jp,function(a,d){return a+d%b*(d%2?-1:1)}),function(a){return String.fromCharCode(a)}).join("")};
$.kp=function(a,b){switch(a){case "year":return 315576E5*b;case "semester":return 315576E5*b/2;case "quarter":return 315576E5*b/4;case "month":return 315576E5*b/12;case "third-of-month":return 315576E5*b/36;case "week":return 6048E5*b;case "day":return 864E5*b;case "hour":return 36E5*b;case "minute":return 6E4*b;case "second":return 1E3*b;default:return b}};$.mp=function(a,b){for(var c=0;c<$.lp.length&&$.lp[c].ng!=a;c++);return $.lp[$.Za(c-(b||1),0,$.lp.length)].ng};
np=function(a){var b=a.Ok;b=365.25*b+a.Sh;b=365.25*b/12+a.ci;b=24*b+a.Ph;b=60*b+a.Gj;b=60*b+a.wh;return 1E3*b};
$.qp=function(a){a=String(a).toLowerCase();switch(a){case "arrowhead":return function(a,c,d,e){var b=c-e/2,h=d-e/3,k=c-e/2,l=d+e/3;a.moveTo(c+e/2,d).lineTo(b,h).lineTo(k,l).close();return a};case "star4":return di;case "star6":return fi;case "star7":return gi;case "star10":return hi;case "diamond":return mi;case "triangle-up":return ii;case "triangle-down":return ji;case "triangle-right":return ki;case "triangle-left":return li;case "cross":return ni;case "diagonal-cross":return oi;case "circle":return function(a,
c,d,e){return ri(a,c,d,e,0,360)};case "trapezium":return function(a,c,d,e){var b=e/3;c-=e/2;d-=e/2;a.moveTo(c+b,d+e);a.lineTo(c+e-b,d+e);a.lineTo(c+e,d);a.lineTo(c,d);a.close();return a};case "pentagon":return function(a,c,d,e){c-=e;d-=e;a.moveTo(c+e*op[0],d+e*pp[0]);for(var b=1;5>b;b++)a.lineTo(c+e*op[b],d+e*pp[b]);a.lineTo(c+e*op[0],d+e*pp[0]);a.close();return a};case "square":return function(a,c,d,e,f){var b=c-e,k=d-e;c+=e;d+=e;$.n(f)&&(f=f||0,b=$.R(b,f),k=$.R(k,f),c=$.R(c,f),d=$.R(d,f));a.moveTo(b,
k).lineTo(c,k).lineTo(c,d).lineTo(b,d).lineTo(b,k).close();return a};case "v-line":case "line":return function(a,c,d,e,f){e*=2;var b=e/2;c-=b/2;d-=e/2;b=c+b;e=d+e;$.n(f)&&(f=f||0,c=$.R(c,f),d=$.R(d,f),b=$.R(b,f),e=$.R(e,f));a.moveTo(c,d).lineTo(b,d).lineTo(b,e).lineTo(c,e).lineTo(c,d).close();return a};case "arrow-up":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,m=d+b;b=d-b;var p=c+k;k=c-k;$.n(f)&&(f=f||0,e=$.R(e,f),l=$.R(l,f),m=$.R(m,f),b=$.R(b,f),p=$.R(p,f),k=$.R(k,f),c=$.R(c,f),d=
$.R(d,f));a.moveTo(c,b);a.lineTo(e,d,p,d,p,m,k,m,k,d,l,d);a.close();return a};case "arrow-down":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,m=d+b;b=d-b;var p=c+k;k=c-k;$.n(f)&&(f=f||0,e=$.R(e,f),l=$.R(l,f),m=$.R(m,f),b=$.R(b,f),p=$.R(p,f),k=$.R(k,f),c=$.R(c,f),d=$.R(d,f));a.moveTo(c,m);a.lineTo(e,d,p,d,p,b,k,b,k,d,l,d);a.close();return a};case "arrow-left":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,m=d+b;b=d-b;var p=d+k;k=d-k;$.n(f)&&(f=f||0,e=$.R(e,f),l=$.R(l,f),m=
$.R(m,f),b=$.R(b,f),p=$.R(p,f),k=$.R(k,f),c=$.R(c,f),d=$.R(d,f));a.moveTo(l,d);a.lineTo(c,m,c,p,e,p,e,k,c,k,c,b);a.close();return a};case "arrow-right":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,m=d+b;b=d-b;var p=d+k;k=d-k;$.n(f)&&(f=f||0,e=$.R(e,f),l=$.R(l,f),m=$.R(m,f),b=$.R(b,f),p=$.R(p,f),k=$.R(k,f),c=$.R(c,f),d=$.R(d,f));a.moveTo(e,d);a.lineTo(c,m,c,p,l,p,l,k,c,k,c,b);a.close();return a};default:return ei}};
rp=function(a,b,c,d){var e=new $.Im;c=!0;$.D(d)&&(e.sI(d.rowsSeparator),e.yF(d.columnsSeparator),e.$G(d.ignoreTrailingSpaces),c=!d.ignoreFirstRow,e.YG(c));if(a=e.GB(a)){d=$.Ne("table");b&&(e=$.Ne("caption"),Ue(e,b),d.appendChild(e));if(c){var f=$.Ne("thead");var h=$.Ne("tr");f.appendChild(h)}b=$.Ne("tbody");for(e=0;e<a.length;e++){var k=a[e],l;if(e||!c){var m=$.Ne("tr");for(l=0;l<k.length;l++){var p=k[l];var q=$.Ne(l?"td":"th");Ue(q,p);m.appendChild(q)}b.appendChild(m)}else if(c)for(l=0;l<k.length;l++)p=
k[l],m=$.Ne("th"),Ue(m,p),h.appendChild(m)}c&&d.appendChild(f);d.appendChild(b);return d}return null};sp=function(a){var b="";"..."==a.textOverflow&&(a.textOverflow="ellipsis");var c=a.fontSize;$.ea(c)&&(a.fontSize=c.toString()+"px");for(var d in a)b+=(Zba[d]||String(d).replace(/([A-Z])/g,"-$1").toLowerCase())+": "+a[d]+";";return b};tp=function(a,b,c){return[{offset:0,color:c,opacity:b},{offset:Math.max(a-.05,0),color:c,opacity:b},{offset:a,color:c,opacity:0},{offset:1,color:c,opacity:0}]};
$.up=function(a,b){var c=(0,window.setTimeout)(function(){a.fd||a.dispatchEvent(b);(0,window.clearTimeout)(c)},0)};$.vp=function(a,b,c){var d=(0,window.setTimeout)(function(){a.call(c);b&&b.call(c);(0,window.clearTimeout)(d);c=b=a=null},1);return d};
$ba=function(a,b,c,d,e,f){if(!($.hd||$.wp||$.vd&&$.bd("525")))return!0;if($.wd&&e)return xp(a);if(e&&!d)return!1;$.ea(b)&&(b=yp(b));e=17==b||18==b||$.wd&&91==b;if((!c||$.wd)&&e||$.wd&&16==b&&(d||f))return!1;if(($.vd||$.wp)&&d&&c)switch(a){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}if($.hd&&d&&b==a)return!1;switch(a){case 13:return!0;case 27:return!($.vd||$.wp)}return xp(a)};
xp=function(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||($.vd||$.wp)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;default:return!1}};yp=function(a){if($.gd)a=aca(a);else if($.wd&&$.vd)switch(a){case 93:a=91}return a};
aca=function(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};$.zp=function(a,b){$.qf.call(this);a&&this.XL(a,b)};Ap=function(a,b,c,d){$.xd.call(this,d);this.type="key";this.keyCode=a;this.f=b;this.repeat=c};$.Cp=function(a){$.n(a)&&($.fl=$.fa=a,$.Bp=a.document);return $.fa};$.Ep=function(a){$.n(a)&&(Dp=a);return Dp};Hp=function(a,b){$.Fp?Gp.push((0,$.pa)(a,b)):a.apply(b)};
$.Ip=function(){$.Fp--;if(!$.Fp)for(var a=Gp.slice(0),b=Gp.length=0;b<a.length;b++)a[b]()};
$.Np=function(a){var b;$.z(a)?b=$.bo(a):$.D(a)&&!$.E(a)&&(b=a);a=null;if(b){var c=b.chart,d=b.gauge,e=b.gantt,f=b.map;if(c)if(b=c.type,a=$.Jp[b])a=a();else throw"Unknown chart type: "+b+"\nProbably it is in some other module, see module list for details.";else if(d)if(b=d.type,a=$.Kp[b])a=a();else throw"Unknown gauge type: "+b+"\nProbably it is in some other module, see module list for details.";else if(e)if("project"==e.type?e.type="gantt-project":"resource"==e.type&&(e.type="gantt-resource"),b=
e.type,a=$.Lp[b])a=a();else throw"Unknown gantt type: "+b+"\nProbably it is in some other module, see module list for details.";else if(f)if(b=f.type,a=$.Mp[b])a=a();else throw"Unknown map type: "+b+"\nProbably it is in some other module, see module list for details.";}a?a.ia(!1,c||d||e||f):$.cl(7);return a};Op=function(a){var b=$.Bp;if(b.addEventListener||"load"===$.fl.event.type||"complete"===b.readyState)b=$.fl,$.Sd($.Bp,["DOMContentLoaded","readystatechange"],Op,!1),$.Sd(b,"load",Op,!1),Pp(a)};
Pp=function(a){if(!Qp){if(!$.Bp.body)return(0,window.setTimeout)(function(){Pp(a)},1);Qp=!0;for(var b=0,c=Rp.length;b<c;b++){var d=Rp[b];d[0].apply(d[1],[a])}}};ml=function(){if(null==Sp||!$.z(Sp))return!1;var a=Sp.lastIndexOf("-"),b=Sp.substr(a+1);a=Sp.substr(0,a)+Yba();if(!Tp){for(var c,d=[],e=0;256>e;e++){c=e;for(var f=0;8>f;f++)c=c&1?3988292384^c>>>1:c>>>1;d[e]=c}Tp=d}c=-1;for(d=0;d<a.length;)c=c>>>8^Tp[(c^a.charCodeAt(d++))&255];a=((c^-1)>>>0).toString(16);return b==a};
Wp=function(){Up.length||(Up=[$.fl.anychart.themes.defaultTheme||{}],Vp.length&&(Up=$.Ga(Up,Vp)));return Up};Xp=function(a){a=$.z(a)?$.Kl($.fl.anychart.themes[a]):a;Vp.push(a);Up.length=0};$.wm=function(a,b,c){b=$.n(b)?b:{};a=a.split(".");for(var d=Wp(),e,f=0;f<d.length;f++){for(var h=d[f],k=0;k<a.length;k++)h&&(e=a[k],h=h[e]);$.n(h)&&("object"==$.ka(h)?(e=h,$.n(e.padding)&&(e.padding=$.Dm(e.padding)),$.n(e.margin)&&(e.margin=$.Dm(e.margin))):$.E(c)?h=c(h):$.da(h)?h={enabled:h}:h=null,h&&$.ra(b,h))}return b};
$.mm=function(a){a=$.om(a);var b;Yp.length||(Yp.push($.fl.anychart.themes.defaultTheme||{}),Zp.push(Yp[0]));for(b=Yp.length-1;b<Vp.length;b++){var c=Vp[b];c=$.Kl($.z(c)?$.fl.anychart.themes[c]:c);Yp.push($.D(c)?c:{});Zp.push({})}c=window.Infinity;for(b=0;b<Yp.length;b++)bm(Yp[b],a,b)&&(c=Math.min(c,b));for(b=Math.max(1,c);b<Zp.length;b++){c=a.split(".");jm(Zp[b],[c[0]],km($.Kl(lm(Yp[b],c[0].split("."))),lm(Zp[b-1],c[0].split("."))));c=b;var d=a.split("."),e=am[d[0]];e||(am[d[0]]={QD:[],MH:0,aC:0});
e.MH=c}return lm(Zp[Zp.length-1],a.split("."))};$p=function(a,b){return function(c){b&&c||$.cl(4,null,[a])}};aq=function(a,b,c){a=a.split(".");for(var d=$.fl,e=0;e<a.length;e++)if(d=d[a[e]],!d)return $p(b,c);return d};cq=function(a){return(a=bq[a])?a:$p("Exporting")};eq=function(a,b){dq[b]&&dq[b]==a&&delete dq[b]};fq=function(a,b){return a!==b};$.gq=function(a,b,c,d,e){if($.A(b))return $.gq.apply(null,$.Ga(a,b));b={Wx:b,QV:c,lr:d};$.n(e)&&(c=b.dca=e);return a[c]=b};
$.hq=function(a,b){for(var c={},d=0;d<b.length;d++)c[b[d][1]]=$.gq.apply(null,$.Ga(a,b[d]));return c};$.iq=function(a,b,c,d,e,f,h,k){c={Tn:c,bia:d};$.n(e)&&(c.zb=e);$.n(f)&&$.E(f)&&(c.NZ=f,c.context=h);c.Nea=k;a[b]=c};$.T=function(a,b){for(var c=0;c<b.length;c++)$.iq.apply(null,$.Ga(a,b[c]))};$.kq=function(){return $.hq({},$.jq())};
$.jq=function(){return[[0,"minFontSize",$.lq],[0,"maxFontSize",$.lq],[0,"maxLength",$.mq],[1,"adjustFontSize",nq],[0,"fontSize",$.lq],[0,"fontFamily",$.oq],[0,"fontColor",$.pq],[0,"fontOpacity",$.qq],[0,"fontDecoration",$.Wk],[0,"fontStyle",$.Xk],[0,"fontVariant",$.Yk],[0,"fontWeight",$.lq],[0,"letterSpacing",$.lq],[0,"textDirection",$.Zk],[0,"textShadow",$.ac],[0,"lineHeight",$.lq],[0,"textIndent",$.qq],[0,"vAlign",$.Vk],[0,"hAlign",$.Uk],[0,"wordWrap",$.tq],[0,"wordBreak",$.tq],[0,"textOverflow",
$.oq],[0,"selectable",$.uq],[0,"disablePointerEvents",$.uq],[0,"useHtml",$.uq]]};
$.vq=function(a,b,c,d,e,f){$.T(a,[["minFontSize",b,d,void 0,f],["maxFontSize",b,d,void 0,f],["maxLength",b,d,void 0,f],["adjustFontSize",b,d,void 0,f],["fontSize",b,d,void 0,f],["fontFamily",b,d,void 0,f],["fontColor",c,e],["fontOpacity",c,e],["fontDecoration",b,d,void 0,f],["fontStyle",b,d,void 0,f],["fontVariant",b,d,void 0,f],["fontWeight",b,d,void 0,f],["letterSpacing",b,d,void 0,f],["textDirection",b,d,void 0,f],["textShadow",c,e],["lineHeight",b,d,void 0,f],["textIndent",b,d,void 0,f],["vAlign",
b,d,void 0,f],["hAlign",b,d,void 0,f],["wordWrap",b,d,void 0,f],["wordBreak",b,d,void 0,f],["textOverflow",b,d,void 0,f],["selectable",c,e],["disablePointerEvents",c,e],["useHtml",b,d,void 0,f]])};$.U=function(a,b,c){c||(a=a.prototype);for(var d in b)c=b[d],a[d]=$.qa(wq[c.Wx],c.QV,c.dca,c.lr)};$.xq=function(a,b,c){for(var d=0;d<b.length;d++){var e=b[d];a.prototype[e]=function(a){return function(b){var d=this[c]();return $.n(arguments[0])?(d[a].apply(d,arguments),this):d[a]()}}(e)}};
$.zq=function(a,b,c,d){if(d&&a.ma)$.yq(a.ma,b,c);else for(var e in b)b=c[e],$.n(b)&&(a.i?a[e](b):a[e]=b)};$.Hq=function(a,b,c,d,e,f){var h;e=$.n(e)?e:b;for(h in e){e=void 0;var k=b[h];a.th(h)&&(e=a.dd(h),$.E(e)&&$.el(8,null,[(d?d+" ":"")+h]));k&&($.n(e)||f||!a.check(a.getCapabilities(h))||(e=a.mf(h)),$.n(e)&&!$.E(e)&&(k.lr==Aq||k.lr==$.Bq||k.lr==$.Cq||k.lr==$.Dq||k.lr==$.Eq||k.lr==$.Fq?e=$.Jl(k.lr([e])):k.lr!=$.Gq||null===e?k.lr==nq&&(e=k.lr([e])):e=$.Jl(k.lr(e)),c[h]=e))}};
$.yq=function(a,b,c){for(var d in b)b=c[d],$.n(b)&&(a[d]=b)};Lq=function(a,b,c,d){return $.n(d)?(d=c.call(this,d),Iq(this,a).call(this,this.dd(a),d)&&(this.pa(a,d),this.check(this.getCapabilities(a))&&(Jq(this,a).call(Kq(this,a)),b=this.fs(a),(a=this.EL(a))?this.B(a,b):this.ta(b))),this):this.i(a)};
Mq=function(a,b,c,d,e){if($.n(d)){for(var f=[],h=3;h<arguments.length;h++)f.push(arguments[h]);d=c.call(this,f);Iq(this,a).call(this,this.dd(a),d)&&(this.pa(a,d),this.check(this.getCapabilities(a))&&(Jq(this,a).call(Kq(this,a)),f=this.fs(a),(h=this.EL(a))?this.B(h,f):this.ta(f)));return this}return this.i(a)};$.tq=function(a){return a};$.Gq=function(a){return null===a?a:$.Vb(a)};$.Dq=function(a){return $.Yb.apply(null,a)};Aq=function(a){return $.E(a[0])?a[0]:$.Yb.apply(null,a)};
$.Rl=function(a){return $.E(a)?a:$.Yb(a)};$.Eq=function(a){return $.Vb.apply(null,a)};$.Bq=function(a){return $.E(a[0])?a[0]:$.Vb.apply(null,a)};$.Tl=function(a){return $.E(a)?a:$.Vb(a)};$.Cq=function(a){return $.E(a[0])||!0===a[0]?a[0]:$.$b.apply(null,a)};$.Sl=function(a){return $.E(a)||!0===a?a:$.$b(a)};$.Fq=function(a){return $.$b.apply(null,a)};$.uq=function(a){return!!a};$.Nq=function(a){return null===a?a:!!a};$.qq=function(a){return Number(a)};$.mq=function(a){return null===a?a:Number(a)};
Oq=function(a){return vo(a)||0};$.oq=function(a){return String(a)};$.pq=function(a){return null===a?a:String(a)};$.Pq=function(a){return $.E(a)?a:String(a)};$.Qq=function(a){return $.so(a,null)};Rq=function(a){return $.E(a)?a:$.Ik(a)};Sq=function(a){return null===a?a:$.Fk(a)};nq=function(a){var b=a[0];return 1==a.length?$.A(b)?{width:0<b.length?b[0]:void 0,height:1<b.length?b[1]:b[0]}:$.D(b)?{width:b.width,height:b.height}:{width:!!b,height:!!b}:{width:!!b,height:!!a[1]}};$.lq=function(a){return $.uo(a)};
$.Tq=function(a){return $.Za($.N(a),0,1)};$.Uq=function(a){return $.A(a[0])?a[0]:a};$.Vq=function(a){return $.E(a)?a:null};$.Wq=function(){var a=this.Vf();a||(a=$.Ga(this.Ld(),this.Md()),this.Vf(a));return a};$.Xq=function(a){for(var b=this.Qg(),c=0;c<b.length;c++){var d=b[c];if(d&&(d=d[a],$.n(d)))return d}};$.Yq=function(){$.qf.call(this);this.Ma={};this.ma={};this.ua={};this.H2=!1;this.gB=[];this.mC=[];this.ym={};this.en={};for(var a in this.Pr)this.en[a]=this.Pr[a].Kw};
Kq=function(a,b){var c=a.ua[b];return c?c.context||a:a};Jq=function(a,b){var c=a.ua[b];return c?c.NZ||$.ia:$.ia};Iq=function(a,b){var c=a.ua[b];return c?c.Nea||fq:fq};$.L=function(a,b,c){a.ra("signal",b,!1,c)};$.Zq=function(a,b,c){a.ac("signal",b,!1,c)};$.$q=function(a,b){return a|(this.JI[b]||0)};$.ar=function(a,b){return b in a.Pr&&b in a.en};$.br=function(a,b,c,d){$.ar(a,b)&&(c=(a.Pr[b].JI[c]||0)&~a.en[b],a.en[b]|=c,(c||a.il())&&a.ta(d||0))};
$.cr=function(a,b,c,d){$.ar(a,b)&&(c=(0,$.Fg)(c,$.$q,0,a.Pr[b])&~a.en[b],a.en[b]|=c,(c||a.il())&&a.ta(d||0))};$.dr=function(a,b,c){$.ar(a,b)&&(a.en[b]&=~(a.Pr[b].JI[c]||0))};$.er=function(a,b,c){return $.ar(a,b)?!!(a.en[b]&(a.Pr[b].JI[c]||0)):!1};$.V=function(a){a.AO++;(0,window.isNaN)(a.wo)&&(a.wo=0);return a};$.fr=function(a){return a.gB.length?a.gB:[a.ma]};$.gr=function(a,b){for(var c=[],d=0;d<a.length;d++){var e=a[d];e&&($.z(e)?c.push(e+"."+b):$.n(e[b])&&c.push($.Qc(e[b])))}return c};
$.jr=function(a,b,c,d){$.n(a.ym[b])||(a.ym[b]={R4:$.hr[b]});if(a.ym[b].bD)return a.ym[b].bD;if($.n(a.ym[b].enabled))return a.ym[b].enabled;var e=a.ym[b].R4?$.Ha(a.ym[b].R4):[],f=$.gr($.fr(a),b);e.push.apply(e,f);if(c)return ir(a,b,d),a.ym[b].bD;c=Wp();for(f=e.length;f--;){var h=e[f];if($.z(h))for(var k=h.split("."),l=c.length;l--;){h=c[l];for(var m=0;m<k.length;m++)h&&(h=h[k[m]]);if($.n(h)){if($.da(h)||null===h)h={enabled:!!h};if($.n(h.enabled))return h.enabled?ir(a,b,d):a.ym[b].enabled=!1,a.ym[b].bD?
a.ym[b].bD:null}}}return null};ir=function(a,b,c){a.ym[b].enabled=!0;c=$.E(c)?c:a[b];c=c.call(a);a.ym[b].bD||$.W(a,b,c)};$.W=function(a,b,c){var d=$.gr($.fr(a),b);c.Fa(d);$.n(a.ym[b])||(a.ym[b]={});a.ym[b].bD=c};$.kr=function(a){for(var b=arguments.length;b--;){var c=arguments[b];$.A(c)?$.kr.apply(null,c):$.K(c,$.Yq)&&$.V(c)}};$.lr=function(a){for(var b=arguments.length;b--;){var c=arguments[b];$.A(c)?$.lr.apply(null,c):$.K(c,$.Yq)&&c.da(!0)}};
$.mr=function(a){for(var b=arguments.length;b--;){var c=arguments[b];$.A(c)?$.mr.apply(null,c):$.K(c,$.Yq)&&c.da(!1)}};nr=function(a,b,c){ud.call(this,"signal",a);this.f=b;c&&$.ra(this,c)};$.X=function(a,b){return!!(a.f&b)};$.or=function(a){this.view=a;this.reset()};$.pr=function(a){$.Yq.call(this);this.$d=a;a.ra("signal",this.dI,!1,this);this.B(1)};$.qr=function(a){a.ef()||(a.sD&&(a.sD.length=0),a.aw=null,a.jo=a.pF(),a.I(1))};
$.rr=function(a,b,c){$.qr(a);var d=[];if($.n(b)){a=a.aa();var e=window.Infinity;c||(b=$.N(b));for(a.reset();a.advance();){var f=a.la();var h=a.get("x");if(c)h==b&&d.push(f);else if(h=$.N(h),!(0,window.isNaN)(h)){var k=Math.abs(h-b);if(k<e){e=k;var l=h;d.length=0}h==l&&d.push(f)}}}return d};
sr=function(a,b){var c;var d=a.hf(b);if($.A(d)){var e=a.Cl(b);if(e.j){var f={};e=e.Uq();for(k in e){var h=e[k];for(c=0;c<h.length;c++)if(h[c]in d){h=a.bO(d[h[c]]);f[k]=h;break}}}else f=(0,$.Wa)(d,a.bO)}else if($.D(d))if(e=a.Cl(b),e.j){f={};e=e.Uq();for(k in e)for(h=e[k],c=0;c<h.length;c++)if(h[c]in d){h=d[h[c]];$.K(h,Date)&&(h=h.getTime());if(!$.n(h)||$.ea(h)&&(0,window.isNaN)(h))h=null;f[k]=h;break}for(k in d)!d.hasOwnProperty(k)||k in e&&k in f||(h=a.bO(d[k]),f[k]=h)}else{var k=a.bO;e={};for(f in d)e[f]=
k.call(void 0,d[f],f,d);f=e}else{if(!$.n(d)||$.ea(d)&&(0,window.isNaN)(d))d=null;f=d}return f};tr=function(a,b){$.pr.call(this,a);this.b=b;b.ra("signal",this.dI,!1,this)};ur=function(a,b,c){$.pr.call(this,a);this.b=b;this.f=c};$.wr=function(a,b){$.pr.call(this,a);$.vr(this,b)};
bca=function(a,b,c,d){var e=$.ka(b);if("array"==e){if(a=a.Zc[c]){c=a[0];for(e=0;e<a.length;e++){if(a[e]<b.length)return b[a[e]]=d,b;a[e]<c&&(c=a[e])}b[c]=d;return b}$.el(5,null,[c])}else"object"==e?void 0===io(b,c,a.Zc[c],d)&&b.hasOwnProperty(c)&&(d=a.$d,d.dt||(d.dt={}),d.dt[c]=!0):-1<(0,$.za)(xr,c)?b=d:$.el(7,null,[c]);return b};$.vr=function(a,b){var c;if($.D(b))for(c in b)$.A(b[c])||(b[c]=[b[c]]);else b=void 0;a.j=!!b;a.Zc=b||yr};$.zr=function(a,b){$.Yq.call(this);this.data(a||null,b)};
Ar=function(a,b){for(var c=[],d=0;d<b.length;d++){var e=b[d];if($.A(e)){var f=e.length;a.DJ<f&&(a.DJ=f);f=$.Ja(e,0)}else if($.D(e)){a.dt||(a.dt={});f={};for(var h in e)f[h]=e[h],a.dt[h]=!0}else a.HW=!0,f=e;c.push(f)}return c};$.Br=function(a,b){return new $.zr(a,b)};Cr=function(a,b,c){$.pr.call(this,a);this.b=b;var d=$.E(c)?c:"desc"==$.Gk(c,"asc")?Tba:lo;this.f=function(a,b){return d(a.value,b.value)||a.index-b.index}};
Dr=function(a,b,c,d,e){c={x:e?e[0]:0};for(var f=0,h=d.length;f<h;f++)c[d[f]]=e?e[b]:b,b++;return a.ie(c)};
Fr=function(a,b){var c=tba(b);if("csv"==c)try{var d=new $.Im;$.D(b)&&(d.sI(b.rowsSeparator),d.yF(b.columnsSeparator),d.$G(b.ignoreTrailingSpaces),d.YG(b.ignoreFirstRow));var e=d.GB(a)}catch(r){e=null,$.cl(101)}else{var f={},h=0,k=window.NaN,l=window.NaN;d=window.NaN;var m;b&&((m=b.ignoreItems)&&(m=new RegExp("^("+m.join("|")+")$")),b.minLength&&(h=b.minLength),b.maxLength&&(k=b.maxLength),b.cutLength&&(l=b.cutLength),b.maxItems&&(d=b.maxItems));if("by-word"==c)a.split(Er).forEach(function(a){a=a.replace(cca,
"");var b=a.length;m&&m.test(a.toLowerCase())||b>k||b<h||((0,window.isNaN)(l)||(a=a.substr(0,l)),f[a=a.toLowerCase()]=(f[a]||0)+1)});else{a=a.replace(Er,"");c=0;for(var p=a.length;c<p;c++){var q=a[c];m&&m.test(q.toLowerCase())||(f[q=q.toLowerCase()]=(f[q]||0)+1)}}e=[];$.Dc(f,function(a,b){e.push([b,a])});e=e.sort(function(a,b){return b[1]-a[1]});e.length=Math.min(e.length,d||window.Infinity)}return e};
dca=function(a,b){this.b=[];this.f=b||On;if("number"==typeof a){var c=a;11<c&&(c=10);if(4>c)var d=this.f.CE[c];else 8>c?d=this.f.EE[c-4]:(d=this.f.jP[c-8],d=d.replace("{1}",this.f.CE[c-8]),d=d.replace("{0}",this.f.EE[c-8]));Gr(this,d)}else Gr(this,a)};
Gr=function(a,b){for(var c=!1,d="",e=0;e<b.length;e++){var f=b.charAt(e);if(" "==f)for(0<d.length&&(a.b.push({text:d,count:0,xB:!1}),d=""),a.b.push({text:" ",count:0,xB:!1});e<b.length-1&&" "==b.charAt(e+1);)e++;else if(c)"'"==f?e+1<b.length&&"'"==b.charAt(e+1)?(d+="'",e++):c=!1:d+=f;else if(0<=eca.indexOf(f)){0<d.length&&(a.b.push({text:d,count:0,xB:!1}),d="");var h=b.charAt(e);for(var k=e+1;k<b.length&&b.charAt(k)==h;)k++;h=k-e;a.b.push({text:f,count:h,xB:!1});e+=h-1}else"'"==f?e+1<b.length&&"'"==
b.charAt(e+1)?(d+="'",e++):c=!0:d+=f}0<d.length&&a.b.push({text:d,count:0,xB:!1});c=!1;for(d=0;d<a.b.length;d++)Hr(a.b[d])?!c&&d+1<a.b.length&&Hr(a.b[d+1])&&(c=!0,a.b[d].xB=!0):c=!1};Hr=function(a){if(0>=a.count)return!1;var b="MydhHmsSDkK".indexOf(a.text.charAt(0));return 0<b||0==b&&3>a.count};Ir=function(a,b){var c=a.substring(b[0]).match(/^\s+/);c&&(b[0]+=c[0].length)};
Lr=function(a,b,c,d,e,f){Ir(b,c);var h=c[0],k=d.text.charAt(0),l=-1;if(Hr(d))if(0<e){if(h+e>b.length)return!1;l=Jr(a,b.substring(0,h+e),c)}else l=Jr(a,b,c);switch(k){case "G":return l=Kr(b,c,a.f.nP),0<=l&&(f.era=l),!0;case "M":case "L":a:{d=l;if(0>d){a=a.f.uP.concat(a.f.FP).concat(a.f.BP).concat(a.f.GP);d=Kr(b,c,a);if(0>d){f=!1;break a}f.month=d%12}else f.month=d-1;f=!0}return f;case "E":return d=Kr(b,c,a.f.KP),0>d&&(d=Kr(b,c,a.f.DP)),0>d?f=!1:(f.b=d,f=!0),f;case "a":return l=Kr(b,c,a.f.fP),0<=l&&
(f.g=l),!0;case "y":a:{if(0>l){var m=b.charAt(c[0]);if("+"!=m&&"-"!=m){f=!1;break a}c[0]++;l=Jr(a,b,c);if(0>l){f=!1;break a}"-"==m&&(l=-l)}m||2!=c[0]-h||2!=d.count?f.year=l:(b=l,c=(new Date).getFullYear()-80,a=c%100,f.D=b==a,b+=100*Math.floor(c/100)+(b<a?100:0),f.year=b);f=!0}return f;case "Q":return 0>l?(d=Kr(b,c,a.f.xP),0>d&&(d=Kr(b,c,a.f.CP)),0>d?f=!1:(f.month=3*d,f.day=1,f=!0)):f=!1,f;case "d":return 0<=l&&(f.day=l),!0;case "S":return b=c[0]-h,f.j=3>b?l*Math.pow(10,3-b):Math.round(l/Math.pow(10,
b-3)),!0;case "h":12==l&&(l=0);case "K":case "H":case "k":return 0<=l&&(f.Ph=l),!0;case "m":return 0<=l&&(f.Gj=l),!0;case "s":return 0<=l&&(f.wh=l),!0;case "z":case "Z":case "v":b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);a:if(c[0]>=b.length)f.f=0,f=!0;else{d=1;switch(b.charAt(c[0])){case "-":d=-1;case "+":c[0]++}h=c[0];l=Jr(a,b,c);if(0>l)f=!1;else{if(c[0]<b.length&&":"==b.charAt(c[0])){m=60*l;c[0]++;l=Jr(a,b,c);if(0>l){f=!1;break a}m+=l}else m=l,m=24>m&&2>=c[0]-h?60*m:m%100+m/100*60;f.f=-(m*d);f=!0}}return f;
default:return!1}};Jr=function(a,b,c){if(a.f.LP){for(var d=[],e=c[0];e<b.length;e++){var f=b.charCodeAt(e)-a.f.LP;d.push(0<=f&&9>=f?String.fromCharCode(f+48):b.charAt(e))}b=d.join("")}else b=b.substring(c[0]);a=b.match(/^\d+/);if(!a)return-1;c[0]+=a[0].length;return(0,window.parseInt)(a[0],10)};Kr=function(a,b,c){var d=0,e=-1;a=a.substring(b[0]).toLowerCase();for(var f=0;f<c.length;f++){var h=c[f].length;h>d&&0==a.indexOf(c[f].toLowerCase())&&(e=f,d=h)}0<=e&&(b[0]+=d);return e};fca=function(){};
Nr=function(a){$.D(a)||(a=String(a),a=Mr[a]||$.fl.anychart.format.locales[a]);return a||null};$.Jo=function(a){return(a=Nr(a))&&a.dateTimeLocale||null};Or=function(a){return(a=Nr(a))&&a.numberLocale||null};Pr=function(a,b){var c=$.Jo(a);return c&&c[b||"dateTimeFormat"]||null};
Rr=function(a){if(!a)return On;var b=$.oa(a);b in Qr||(Qr[b]={nP:a.eras,MX:a.eraNames,QX:a.narrowMonths,eY:a.standaloneNarrowMonths,uP:a.months,FP:a.standaloneMonths,BP:a.shortMonths,GP:a.standaloneShortMonths,KP:a.weekdays,hY:a.standaloneWeekdays,DP:a.shortWeekdays,gY:a.standaloneShortWeekdays,o7:a.narrowWeekdays,fY:a.standaloneNarrowWeekdays,CP:a.shortQuarters,xP:a.quarters,fP:a.ampms||a.amPmS,CE:a.dateFormats||[],EE:a.timeFormats||[],jP:a.dateTimeFormats||[],oP:a.firstDayOfWeek,E8:a.weekendRange,
pP:a.firstWeekCutOffDay||a.firstWeekCutOfDay});return Qr[b]};Sr=function(a,b){var c=Nr(a);if(c){var d="object"==$.ka(a);Mr[d?b:a]=Uo($.fl.anychart.format.locales["default"],c)}};Ur=function(a){$.n(a)&&(Tr=$.ma(a)?a.getTime():$.N(a));return(0,window.isNaN)(Tr)?(a=new Date,a.setTime(Date.UTC(a.getUTCFullYear(),a.getUTCMonth())),a):new Date(Tr)};$.Ko=function(a){if($.n(a)){var b=$.z(a),c="object"==$.ka(a);b||c?(c=c?"output":a,Sr(a,c),Vr=b?c:Mr[c]||Mr.output||a):Vr="default"}return Vr};
Xr=function(a){$.n(a)&&($.z(a)?Wr=a:Wr=null);return Wr||Pr(Vr)||Pr("output")||Pr("default")||"yyyy.MM.dd"};Zr=function(a){$.n(a)&&($.z(a)?Yr=a:Yr=null);return Yr||Pr(Vr,"dateFormat")||Pr("output","dateFormat")||Pr("default","dateFormat")||"yyyy.MM.dd"};as=function(a){$.n(a)&&($.z(a)?$r=a:$r=null);return $r||Pr(Vr,"timeFormat")||Pr("output","timeFormat")||Pr("default","timeFormat")||"HH:mm:ss"};
$.cs=function(a,b,c,d){return $.ma(a)?a:$.ea(a)?(0,window.isNaN)(a)?null:new Date(a):$.z(a)?bs(a,b,c,d):null};$.ds=function(a){var b=Nr(Vr);return(b=b&&b.messages)&&a in b?b[a]:a};$.es=function(a,b,c){b=$.Tk(b);a=$.Tk(a);return((c?c+"_":"")+(a==b?a:b+"_"+a)).replace(/-/g,"_")};$.fs=function(a,b,c){a=(c=$.Jo(c)||$.Jo(Vr)||$.Jo("output")||$.Jo("default"))&&c.formats&&c.formats[a];return($.A(a)?a[Math.min(a.length-1,b||0)]:$.z(a)?a:"")||"yyyy/MM/dd'T'HH:mm:ss.SSS"};
$.is=function(a,b){var c=$.Jo(b)||$.Jo(Vr)||$.Jo("output")||$.Jo("default");c=c&&c.formats&&c.formats[a];return $.A(c)?c:$.z(c)?[c]:[]};$.ks=function(a,b,c){return $.js(a,Zr(),b,c)};ls=function(a,b,c){return $.js(a,as(),b,c)};
$.js=function(a,b,c,d){a=$.K(a,Date)?a:new Date(a);if((0,window.isNaN)(a.getTime()))return String(a);d=$.Jo(d)||$.Jo(Vr)||$.Jo("output")||$.Jo("default");b=b||Wr||Xr()||"yyyy.MM.dd";var e=b+$.oa(d);e in ms||(d=Rr(d),ms[e]=new $.Rn(b,d));d=ms[e];c=c||ns;c in os||(os[c]=Mn(c));return d.format(a,os[c])};
$.qs=function(a,b,c,d,e,f,h,k){var l;$.z(b)?l=Or(b):$.D(b)&&(l=b);var m=Or(Vr)||Or("default");b=$.ea(b)?b:l&&$.ea(l.decimalsCount)?l.decimalsCount:m.decimalsCount;c=$.z(c)?c:l&&$.z(l.decimalPoint)?l.decimalPoint:m.decimalPoint;d=$.z(d)?d:l&&$.z(l.groupsSeparator)?l.groupsSeparator:m.groupsSeparator;e=$.D(e)||$.da(e)?e:l&&($.D(l.scale)||$.da(l.scale))?l.scale:m.scale;f=$.da(f)?f:l&&$.da(l.zeroFillDecimals)?l.zeroFillDecimals:m.zeroFillDecimals;h=$.z(h)?h:l&&$.z(l.scaleSuffixSeparator)?l.scaleSuffixSeparator:
m.scaleSuffixSeparator;k=$.da(k)?k:l&&$.da(l.useBracketsForNegative)?l.useBracketsForNegative:m.useBracketsForNegative;!0===e&&(e=ps);a=Number(a);(l=0>a)&&(a=-a);m="";if($.D(e)&&$.A(e.factors)&&$.A(e.suffixes)){var p=1,q=e.factors;e=e.suffixes;for(var r=Math.min(q.length,e.length),t=0;t<r;t++)if(p=q[t],a>=p||1>=p&&a>.1*p){m=e[t];break}m?m=h+m:p=1;a/=p}f=f?a.toFixed(b):$.Qm(a,b).toString();a="";/(e+|e-)/.test(f)&&(b=f.split("e"),f=b[0],a="e"+b[1]);b=f.split(".");if(d){f=b[0];for(h=[];0<(e=f.substr(0,
f.length-3)).length;)h.unshift(f.substr(-3)),f=e;f&&h.unshift(f);b[0]=h.join(d)}d=l?"-":"";c=b.join(c)+a+m;l&&k&&(c=["(",c,")"].join(""),d="");return d+c};
bs=function(a,b,c,d){if(b=($.n(b)?b:rs)||null){d=$.Jo(d)||$.Jo(ss)||$.Jo("input")||$.Jo("default");var e=$.oa(d);e=b+e;e in ts||(d=Rr(d),ts[e]=new dca(b,d));var f=ts[e];c=$.ma(c)?c:Ur();(b=-1==b.replace(/'.+?'/g,"").search(/z+/i))&&c.setTime(c.getTime()+6E4*c.getTimezoneOffset());d=a.length;a:{var h=new fca;e=[0];for(var k=-1,l=0,m=0,p=0;p<f.b.length;p++)if(0<f.b[p].count)if(0>k&&f.b[p].xB&&(k=p,m=l=0),0<=k){var q=f.b[p].count;if(p==k&&(q-=m,m++,0==q)){a=0;break a}Lr(f,a,e,f.b[p],q,h)||(p=k-1,e[0]=
l)}else{if(k=-1,!Lr(f,a,e,f.b[p],0,h)){a=0;break a}}else{k=-1;if(" "==f.b[p].text.charAt(0)){if(q=e[0],Ir(a,e),e[0]>q)continue}else if(a.indexOf(f.b[p].text,e[0])==e[0]){e[0]+=f.b[p].text.length;continue}a=0;break a}b:{if(null==c)throw Error("Parameter 'date' should not be null.");void 0!=h.era&&void 0!=h.year&&0==h.era&&0<h.year&&(h.year=-(h.year-1));void 0!=h.year&&c.setFullYear(h.year);a=c.getDate();c.setDate(1);void 0!=h.month&&c.setMonth(h.month);void 0!=h.day?c.setDate(h.day):(f=tn(c.getFullYear(),
c.getMonth()),c.setDate(a>f?f:a));$.E(c.setHours)&&(void 0==h.Ph&&(h.Ph=c.getHours()),void 0!=h.g&&0<h.g&&12>h.Ph&&(h.Ph+=12),c.setHours(h.Ph));$.E(c.setMinutes)&&void 0!=h.Gj&&c.setMinutes(h.Gj);$.E(c.setSeconds)&&void 0!=h.wh&&c.setSeconds(h.wh);$.E(c.setMilliseconds)&&void 0!=h.j&&c.setMilliseconds(h.j);void 0!=h.f&&c.setTime(c.getTime()+6E4*(h.f-c.getTimezoneOffset()));h.D&&(a=new Date,a.setFullYear(a.getFullYear()-80),c.getTime()<a.getTime()&&c.setFullYear(a.getFullYear()+100));if(void 0!=h.b)if(void 0==
h.day)a=(7+h.b-c.getDay())%7,3<a&&(a-=7),h=c.getMonth(),c.setDate(c.getDate()+a),c.getMonth()!=h&&c.setDate(c.getDate()+(0<a?-7:7));else if(h.b!=c.getDay()){a=!1;break b}a=!0}a=a?e[0]-0:0}return d==a?(b&&c.setTime(c.getTime()-6E4*c.getTimezoneOffset()),c):null}c=Number(a);a=new Date((0,window.isNaN)(c)?a:c);return(0,window.isNaN)(a.getTime())?null:a};us=function(a){$.z(a)&&(a=bs(a));return Number(a)};$.vs=function(){$.Yq.call(this);this.Fa("palette");this.Ne=null;this.oq(!0)};
$.ws=function(){$.Yq.call(this);this.Fa("hatchFillPalette")};$.xs=function(){$.Yq.call(this);this.Fa("markerPalette")};$.ys=function(){$.Yq.call(this);this.Ne=null;this.b=window.NaN;this.f=[];this.g=window.NaN;this.oq(!0)};$.zs=function(a,b){a.g!=b&&(a.g=b,((0,window.isNaN)(a.b)||null===a.b)&&a.B(16))};Bs=function(){this.G=[0,1];this.g=[0,1];this.D=[];this.j=As;this.b=this.f=null};Cs=function(a,b){$.n(b)&&(a.G=$.Ja(b,0),a.f=a.b=null)};
Ds=function(a,b){$.n(b)&&($.A(b)?(a.D=$.Ja(b,0),a.j=As):(a.D=[],a.j=Number(b)||gca),a.f=a.b=null)};Hs=function(a,b,c,d,e,f){var h=Math.min(a.length,b.length)-1;a[0]>a[h]&&(a=$.Ja(a,0).reverse(),b=$.Ja(b,0).reverse());for(var k=[],l=[],m=0;m<h;m++)k.push(Es[c[m]||d](a[m],a[m+1])),l.push(Fs[e[m]||f](b[m],b[m+1]));return 1==h?function(a){a=k[0](a);return l[0](a)}:function(b){var c=$.Na(a,b,void 0);0>c&&(c=~c);c=$.Za(c,1,h)-1;b=k[c](b);return l[c](b)}};
Is=function(a){$.Yq.call(this);this.scale=a;this.j=hca;this.g=ica;this.f=jca};Js=function(a,b,c,d){b=Math.abs(c-b)/a.bn;c=a.f.length;for(var e=0;e<c;e++)if(b<=a.f[e])return d?a.j[e].clone():a.g[e].clone();return d?new $.An(un,Math.ceil(b/31536E6)/4):new $.An(un,Math.ceil(b/31536E6))};Ks=function(){$.Yq.call(this);this.Fa("defaultScaleSettings.linear");this.Jr=0;this.hD=!1;this.qB=1;this.iJ=0;this.RW="none";this.QW="direct"};Ls=function(a,b,c){if(a.qB!=b||a.iJ!=c)a.qB=b,a.iJ=c,a.pM(),a.ta(2)};
Ms=function(a,b){a.hD&&(b=1-b);return b/a.qB+a.iJ};$.Rs=function(a,b){return Ns(Os[a],b?$.Ps:Qs)};Ns=function(a,b){Ss||(Ss={},Ss[Qs]=$.Ts,Ss[2]=$.Us,Ss[4]=$.Vs,Ss[$.Ps]=$.Ws,Ss[32]=function(){var a;return(a=$.fl.anychart.scales.linearColor)?a():$.cl(4,null,["Color scales"])},Ss[16]=function(){var a;return(a=$.fl.anychart.scales.ordinalColor)?a():$.cl(4,null,["Color scales"])});var c=Ss[a]||Ss[b]||null;return c&&c()||null};
$.Xs=function(a,b,c,d,e,f,h){var k=null;if(a!=b){d=d||15;var l=a?a.Na():null,m;var p=m=null;if($.z(b))var q=b||l;else $.K(b,Ks)?(q=b.Na(),m=b):$.D(b)&&(q=b.type||l||c,p=b);b=Os[q];b&d?(m||q==l||(m=Ns(b,Os[c]||null)),m&&($.V(m),f&&(a&&$.Zq(a,f,h),$.L(m,f,h)),m.ta(4),k=a=m),a&&p&&(m||$.V(a),a.X(p),k=a)):e&&$.cl(5,void 0,e)}return k};
$.Ys=function(){Ks.call(this);this.Jk=window.NaN;this.Fz=0;this.Ez=1;this.yn=this.An=this.kW=!0;this.KH=this.QH=.1;this.tq=this.Ps=this.max=this.min=window.NaN;this.wq=null;this.MI=this.Gc=!1};Zs=function(a,b,c,d,e){b=a+e*b;if(c&&0>=a*b)return 0;d&&(a=$.Sm(b),c=+("1e-"+(Math.min($.Rm(a),$.Rm(b))+1)),a>b&&(a+=e*c),b=a);return b};$.$s=function(){$.Ys.call(this);this.Fa("defaultScaleSettings.dateTime");this.li=this.jh=null};$.Vs=function(){var a=new $.$s;a.K(a.ma);return a};
bt=function(){$.Yq.call(this);this.f=this.b=null;this.g={BX:{},yR:{}};var a=$.Jo($.Ko());this.G=$.Ha(a.weekendRange);this.j=at(this.G);this.D={}};at=function(a){var b=a[1],c={};for(a=a[0];a<=b;a++)c[String((a+1)%7)]=!0;return c};ct=function(a,b,c,d){c=kca.b(c);b.add(c);b=b.getTime();d.push({from:a,to:b-1});return b};
$.et=function(){$.Yq.call(this);this.uo=this.vo=this.Km=this.Lm=this.g5=this.h5=this.Bh=this.Ch=this.oj=this.pj=this.Pe=this.Qe=window.NaN;this.Ll={value:.01,isPixels:!1};this.Kl={value:.01,isPixels:!1};this.xR=window.NaN;this.Gc=!1;this.fS=this.nL=window.NaN;this.ad=dt(lca);this.Pz=1;this.hG=0;this.Jk=mca;this.Eq=this.be=null};
ft=function(a){var b=new Date;(0,window.isNaN)(a.nL)&&(a.nL=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()));(0,window.isNaN)(a.fS)&&(a.fS=a.nL+864E5);return{min:a.nL,max:a.fS}};$.gt=function(a,b,c){b=$.Rk(b);c=$.Rk(c);if(a.Ch!=b||a.Bh!=c)a.Ch=b,a.Bh=c,a.pj=window.NaN,a.oj=window.NaN,a.Gc=!1,a.ob(),a.ta(4)};
it=function(a){var b=a.Eq.lb().width,c=$.ht(a.Ll.value,b),d=$.ht(a.Kl.value,b),e=a.Bh-a.Ch;a.pj=(0,window.isNaN)(a.Lm)?(0,window.isNaN)(a.vo)?Math.round(a.Ch-(Math.max(e*c/(b-c-d),0)||0)):Math.min(a.vo,a.Ch):a.Lm;a.oj=(0,window.isNaN)(a.Km)?(0,window.isNaN)(a.uo)?Math.round(a.Bh+(Math.max(e*d/(b-c-d),0)||0)):Math.max(a.uo,a.Bh):a.Km};
jt=function(a,b){var c=b?a.Ll:a.Kl,d=b?a.Kl:a.Ll,e=a.Eq.lb().width,f=a.Bh-a.Ch;d=f*d.value;c=$.ht(c.value,e);e=c*(f+d)/(e-c)||0;a.pj=(0,window.isNaN)(a.Lm)?(0,window.isNaN)(a.vo)?b?a.Ch-e:a.Ch-d:Math.min(a.vo,a.Ch):a.Lm;a.oj=(0,window.isNaN)(a.Km)?(0,window.isNaN)(a.uo)?b?a.Bh+d:a.Bh+e:Math.max(a.uo,a.Bh):a.Km};$.kt=function(a){if(a.Dj())return!0;var b=a.dj();return a.Qe<=b.min};$.lt=function(a){if(a.Dj())return!0;var b=a.dj();return a.Pe>=b.max};
dt=function(a){var b=[];if($.A(a)){for(var c=0;c<a.length;c++){var d=a[c];if($.A(d)){for(var e=[],f=0;f<d.length;f++){var h=d[f],k=null;if($.z(h)){k=$.Tk(h,null);var l=1}else $.D(h)&&(k=$.Tk(h.unit,null),l=$.O(h.count));k&&e.push({unit:k,count:l})}e.length&&b.push({range:$.kp(e[0].unit,e[0].count),levels:e})}}b.sort(function(a,b){return a.range-b.range})}return b};$.ht=function(a,b){return 0<b?Math.max(Math.min(Math.floor(b/2)-1,a),0):0};
$.mt=function(a,b,c){var d=c.value;if(c.isPixels){c=a.Pe-a.Qe;if((0,window.isNaN)(c))return a.mV=!0,.01*b;a=a.Eq.lb().width;return Math.round($.ht(d,a)*c/a)||0}return b*d};nt=function(a,b){var c={value:0,isPixels:!!b};$.n(a)&&("object"===$.ka(a)?(c.value=+a.value||0,c.isPixels=!!a.isPixels):c.value=+a||0);return c};ot=function(a,b){return a.value===b.value&&a.isPixels===b.isPixels};$.pt=function(a){return!(!a.Ll.isPixels&&!a.Kl.isPixels)};
$.qt=function(a){$.pt(a)&&!a.Dj()&&(a.pj=window.NaN,a.oj=window.NaN,a.Gc=!1)};$.rt=function(a,b){a.ob();if($.z(b)){switch(b.toLowerCase()){case "current":(0,window.isNaN)(a.xR)&&(a.xR=(0,$.Fn)());var c=a.xR;break;case "start":c=a.h5;break;case "end":c=a.g5}$.n(c)||(c=$.cs(b))}c=null!=c?c:$.Rk(b);var d=a.cj(),e=d.min;return(c-e)/(d.max-e)};$.st=function(a,b){var c=a.cj(),d=c.min;return Math.round(b*(c.max-d)+d)};
$.tt=function(a){a.ob();var b=a.cj();b=(b.max-b.min)/20;for(var c=a.ad.length-1,d,e=0;e<c;e++)if(b<=a.ad[e].range){d=a.ad[e];break}d||(d=a.ad[c]);return d.levels};$.ut=function(a){$.Yq.call(this);this.na=a};
nca=function(a,b,c,d,e,f,h){function k(a){return 0>a?-m(-a+e-1):a?m(a+e-1):0}function l(a){return-m(a)}function m(a){return Vm(d,a)}var p=$.Um(Math.abs(b),d),q=$.Um(Math.abs(c),d),r=b*c,t=!1;0<r?0<b?(a=vt(a,p,q,f,h),k=m,e=a.result[0]):(a=vt(a,q,p,f,h),k=l,t=!0,e=a.result[1]):a=0>r?vt(a,-(p-(e-1)),q-(e-1),f,h):c?vt(a,0,q-(e-1),f,h):vt(a,-(p-(e-1)),0,f,h);a.Qa=(0,$.Wa)(a.Qa,k);a.result=(0,$.Wa)(a.result,k);t&&(a.Qa.reverse(),t=a.result[0],a.result[0]=a.result[1],a.result[1]=t,t=a.result[2],a.result[2]=
a.result[3],a.result[3]=t);a.result[4]=e;return a};
vt=function(a,b,c,d,e,f,h){h=h||0;var k=a.tl,l=a.Yg,m=a.$l,p=c-b;!(0,window.isNaN)(k)&&p/k>a.na.Mm()&&($.el(20,null,[p,k]),k=window.NaN,l=4,m=6);if((0,window.isNaN)(k)){var q=window.NaN;for(a=window.NaN;l<=m;l++){var r=l-1;q=$.Sm(p/r);0==q&&(q=$.Sm(p/r,10));var t=Math.log(q);r=Math.pow(10,Math.floor(t*Math.LOG10E));t=Math.pow(10,Math.ceil(t*Math.LOG10E));var u=$.Um(q/t,2);r=[r,t,q<r+r?r/2:window.Infinity,Math.pow(2,Math.floor(u))*t,Math.pow(2,Math.ceil(u))*t];r=(0,$.Wa)(r,function(a){return $.Io(q,
a,0,10)||window.Infinity});f||(r=(0,$.Wa)(r,function(a){return(0,window.isFinite)(a)&&~~a==a?a:window.Infinity}));(r=Math.min.apply(null,r))&&(0,window.isFinite)(r)?q=r:f||(q=Math.round(q)||1);r=$.Sm($.Ho(b,q,h))-b;r*=r;t=$.Sm($.Io(c,q,h))-c;t*=t;r+=t;if((0,window.isNaN)(a)||r<a)a=r,k=q}}(0,window.isNaN)(k)&&(k=.5);f=[b,c];m=[];p=$.Rm(k);a=$.Sm($.Ho(b,k,h,p),p);d?f[0]=b=a:1E-7<b-a&&(m.push(b),f[2]=a);d=$.Sm($.Io(c,k,h,p),p);e?f[1]=c=d:1E-7<d-c&&(f[3]=d);for(b=$.Sm($.Io(b,k,h,p),p);b<=c;b=$.Sm(b+k,
p))m.push(b);3 in f&&m.push(c);return{Qa:m,result:f}};wt=function(a,b,c,d,e,f,h){f=f||[];c=$.Qm(c,7);var k=0;if(h&&c<=a.Rc)for(h=a=$.Qm(c,7);h>=b;h=$.Qm(h-d,7)){e!=h&&$.Da(f,h);if(k&&a==h)break;k++}else for(h=a=$.Qm(b,7);h<=c;h=$.Qm(h+d,7)){e!=h&&f.push(h);if(k&&a==h)break;k++}return f};xt=function(a,b,c,d){a=a.tl;(0,window.isNaN)(a)&&(a=(c-b)/(d-1));return Math.max(a,1E-7)};
$.yt=function(){$.Ys.call(this);this.Fa("defaultScaleSettings.linear");this.li=this.jh=null;this.WQ=!0;this.Zv=10;this.MI=!0;this.VJ=this.l2};$.Ts=function(){var a=new $.yt;a.K(a.ma);return a};zt=function(){$.yt.call(this);this.Fa("defaultScaleSettings.log")};$.Us=function(){var a=new zt;a.K(a.ma);a.Qa().K(a.Qa().ma);a.tb().K(a.tb().ma);return a};$.At=function(a){$.Yq.call(this);this.scale=a};$.Bt=function(a){a.jz=null;a.bx=null;a.uk=null};
$.Ct=function(){this.Vg=[];this.Bf=[];this.vr=[];this.vw=[];this.Ry=[];this.LQ=!0;this.nB={};this.M2=null;this.kF=!0;this.hb=null;Ks.call(this);this.Fa("defaultScaleSettings.ordinal")};$.Dt=function(a,b){null===b?a.vr.length=0:$.A(b)&&(a.vr=$.Ha(b));a.Uu()||(a.vr.length=0);a.vw.length=0;a.Ry.length=0;$.Bt(a.Qa());a.ta(2)};
$.Et=function(a){if(!a.Ry||a.Ry.length!=a.Vg.length){var b=a.sX(),c=0,d;for(d in b)c+=b[d];a.Ry=b.map(function(a){return a/c});a.eJ=[0];for(b=0;b<a.Ry.length;b++)a.eJ.push(a.Ry[b]+a.eJ[b])}return a.Ry};$.Ft=function(a){return $.A(a.Bf)?null:a.Bf};$.Ws=function(){var a=new $.Ct;a.K(a.ma);return a};Gt=function(){this.Zc=[]};Ht=function(a){this.yd=a;this.f=[-1];this.b=void 0;this.D=this.A_;this.g=this.D_;this.j=-1};
It=function(a,b){if(!b.length||!a.f.length)return null;var c=b[++a.f[a.f.length-1]];if(!c)return a.f.pop(),It(a,Jt(a));var d=b;c.Zb()&&a.g(c)&&(a.f.push(-1),d=c.Rz());return a.D(c)?c:It(a,d)};Jt=function(a){var b=a.yd.Rz();a.j=0;if(1<a.f.length)for(var c=0;c<a.f.length-1;c++)b=b[a.f[c]],a.j=c+1,b=b.Rz();return b};
$.Kt=function(a,b){$.Yq.call(this);this.yd=a;this.Zc=b;this.yd.ra("treeItemMove",this.iN,!1,this);this.yd.ra("treeItemUpdate",this.iN,!1,this);this.yd.ra("treeItemCreate",this.iN,!1,this);this.yd.ra("treeItemRemove",this.iN,!1,this);$.L(this.yd,this.Uga,this)};$.Mt=function(a,b,c){this.su=a;this.$d=c;this.Yk=b;this.ki={};this.g=++Lt};
$.Nt=function(a,b,c,d){$.Yq.call(this);this.Zc=d||{};this.pq=[];this.wd={};this.mH={};this.bH={};this.JR=this.Av();this.ru=null;this.qC=!0;this.pR("id",!0);a&&this.Fr(a,b,c)};$.Pt=function(a){var b=new $.Nt;$.V(b);"rootMapping"in a&&(b.Zc=a.rootMapping);if("index"in a)for(var c=a.index,d=0,e=c.length;d<e;d++)b.pR(c[d]);if("children"in a)for(c=a.children,d=0,e=c.length;d<e;d++)b.fc(Ot(b,c[d]));b.da(!1);return"mapping"in a?b.ie(a.mapping):b};
Tt=function(a,b){var c=new $.Qt(a,b),d=b[a.Zc[Rt.Xw]||Rt.Xw];if(d)for(var e=0,f=d.length;e<f;e++)St(c,Tt(a,d[e]));return c};Ut=function(a,b,c,d){if(c){if(d)for(var e=b.Zb();e--;)Ut(a,b.od(e),c,d);if(d=a.wd[c])e=b.get(c),a.mH[c]&&(e=String(e)),a=$.Na(d,e,a.bH[c]),c={key:e,value:b},0>a?$.Da(d,c,~a):(a=d[a],$.A(a.value)?$.Ba(a.value,b):a.value!=b&&(a.value=[a.value],a.value.push(b)))}else for(e in a.wd)Ut(a,b,e,d)};
Vt=function(a,b,c,d){if(c){if(d)for(var e=b.Zb();e--;)Vt(a,b.od(e),c,d);if(d=a.wd[c])e=b.get(c),a.mH[c]&&(e=String(e)),b.get(c),e=$.Na(d,e,a.bH[c]),(d=d[e])&&($.A(d.value)&&1<d.value.length?$.Fa(d.value,b):Ea(a.wd[c],e))}else for(e in a.wd)Vt(a,b,e,d)};Wt=function(a,b){Ut(a,b);b.o("nc",!0);for(var c=0;c<b.Zb();c++)Wt(a,b.od(c))};Xt=function(a){return function(b,c){return a(b,c.key)}};
$.Qt=function(a,b){this.yd=a;this.Y=null;this.b=[];this.ki={};var c=$.Qc(b);delete c[this.yd.Zc[Rt.Xw]||Rt.Xw];delete c[this.yd.Zc[Rt.vB]||Rt.vB];this.oa=c;this.f={};this.g=++Lt};Ot=function(a,b){var c=new $.Qt(a,"treeDataItemData"in b?b.treeDataItemData:{});if("treeDataItemMeta"in b){var d=b.treeDataItemMeta,e;for(e in d)c.o(e,d[e])}d=b[a.Zc[Rt.Xw]||Rt.Xw];if($.A(d))for(e=0;e<d.length;e++){var f=Ot(a,d[e]);c.fc(f)}return c};Yt=function(a){null!=a.Y&&(a.Y=null,a.yd.ta(16))};
St=function(a,b){$.Da(a.b,b,a.Zb());b.Y=a};Zt=function(a,b){a.yd=b;for(var c=0,d=a.Zb();c<d;c++)Zt(a.b[c],b)};$t=function(a,b){var c=String($.oa(b));if(c in a.f)return a.f[c][1];var d=null===a.getParent()?null:$t(a.getParent(),b);d=new $.Mt(b,a,d);a.f[c]=[b,d];return d};$.au=function(a,b,c,d){return new $.Nt(a,b,c,d)};
bu=function(a,b,c,d,e,f,h){var k=$.Qc(b.treeDataItemData);$.n(k.id)||(a.eV++,a.XG=-1);k.parent=[a.my,f,h];f=a.my++;c.push(k);for(var l in k)l in d||(d[l]=e++);if((b=b.children)&&b.length)for(h=0,l=b.length;h<l;h++)bu(a,b[h],c,d,e,f,k.id)};
$.cu=function(a,b){if(!a)return"";var c=a.F().children,d=[],e={},f,h={XG:1,eV:0,my:0};e.id=0;e.parent=1;for(f=0;f<c.length;f++)bu(h,c[f],d,e,2,null,null);h.eV===h.my?h.XG=0:0===h.eV&&(h.XG=1);c=[];for(k in e)c[e[k]]=k;var k=[];0>h.XG&&(e.__original_id__=c.length,e.__original_parent__=c.length+1,c.push("__original_id__","__original_parent__"));for(f=0;f<d.length;f++){var l=Array(c.length);var m=d[f];var p=m.parent;if(0>=h.XG){var q=p[0];var r=p[1]}else q=m.id,r=p[2];for(e=0;e<c.length;e++){var t=c[e];
var u=$.D(m[t])?Xn(m[t]):m[t];l[e]="id"===t?q:"parent"===t?null===r?void 0:r:"__original_parent__"===t?p[2]:"__original_id__"===t?m.id:u}k.push(l)}return $.bp(c,k,b)};$.Y=function(){$.Yq.call(this);this.sc=new nf(this);this.oE=this.ma.enabled=!0;this.B(4294967295)};
$.du=function(a,b,c,d,e,f,h,k){b.tag=a;a.sc.ra(b,"click",e||a.bh);a.sc.ra(b,"dblclick",a.bh);a.sc.ra(b,"mouseover",c||a.bh);a.sc.ra(b,"mouseout",d||a.bh);a.sc.ra(b,"mousedown",h||a.bh);a.sc.ra(b,"mouseup",k||a.bh);a.sc.ra(b,"mousemove",f||a.bh);a.sc.ra(b,"touchstart",a.bh);a.sc.ra(b,"touchend",a.bh);a.sc.ra(b,"touchcancel",a.bh);a.sc.ra(b,"touchmove",a.bh);a.sc.ra(b,"contextmenu",a.bh)};
$.eu=function(a,b,c,d,e,f,h,k){a.sc.ra(b,"click",e||h||a.sh);a.sc.ra(b,"dblclick",h||a.sh);a.sc.ra(b,"mouseover",c||h||a.sh);a.sc.ra(b,"mouseout",d||h||a.sh);a.sc.ra(b,"mousedown",k||h||a.sh);a.sc.ra(b,"mouseup",h||a.sh);a.sc.ra(b,"mousemove",f||h||a.sh);a.sc.ra(b,"touchstart",h||a.sh);a.sc.ra(b,"touchend",h||a.sh);a.sc.ra(b,"touchcancel",h||a.sh);a.sc.ra(b,"touchmove",h||a.sh);a.sc.ra(b,"contextmenu",h||a.sh)};$.fu=function(a,b,c,d){$.Yq.call(this);arguments.length&&this.set.apply(this,arguments)};
gu=function(a,b,c){null===a.ew||(b=Math.max(b,$.M(a.ew,c)));null===a.bw||(b=Math.min(b,$.M(a.bw,c)));return b};hu=function(a,b,c){null===a.fw||(b=Math.max(b,$.M(a.fw,c)));null===a.dw||(b=Math.min(b,$.M(a.dw,c)));return b};$.iu=function(){$.Y.call(this)};$.ju=function(a,b){function c(){this.ho()}function d(){Hp(this.$,this)}a.prototype.$=function(){b.prototype.$.call(this);var a=this.P();(a=a?a.Ha():null)&&(this.Nq()?a.ra("stageresize",c,!1,this):a.ac("stageresize",c,!1,this));$.L(this,d,this);return this}};
$.ku=function(){$.Y.call(this);this.mC=this.Fa($.hr.background);this.U=!0;this.Rb=this.Y=null;$.T(this.ua,[["fill",16],["stroke",20],["topStroke",20],["rightStroke",20],["bottomStroke",20],["leftStroke",20],["disablePointerEvents",64],["cornerType",4]])};lu=function(a,b,c,d){a=a.kR();return $.M(4>a.length?a[0]:a[b],Math.min(d,c))||0};
mu=function(a,b,c,d,e,f,h){switch(a.i("cornerType")){case "round":b.kf(e,f,h,h,!1,!0);break;case "round-inner":b.kf(e,f,h,h,!1,!1);break;case "cut":b.lineTo(e,f);break;default:b.lineTo(c,d).lineTo(e,f)}};nu=function(){$.ku.call(this)};ou=function(){this.O=$.kg();this.kc="";this.f={};this.b=0};
oca=function(a){var b=a.f,c=a.Kd();$.Jc(b)||(b.fontStyle?c.setAttribute("font-style",b.fontStyle):c.removeAttribute("font-style"),b.fontVariant?c.setAttribute("font-variant",b.fontVariant):c.removeAttribute("font-variant"),b.fontFamily?c.setAttribute("font-family",b.fontFamily):c.removeAttribute("font-family"),$.n(b.fontSize)?c.setAttribute("font-size",b.fontSize):c.removeAttribute("font-size"),$.n(b.fontWeight)?c.setAttribute("font-weight",b.fontWeight):c.removeAttribute("font-weight"),$.n(b.letterSpacing)?
c.setAttribute("letter-spacing",b.letterSpacing):c.removeAttribute("letter-spacing"),b.fontDecoration?c.setAttribute("text-decoration",b.fontDecoration):c.removeAttribute("font-decoration"),b.fontColor?c.setAttribute("fill",b.fontColor):c.removeAttribute("font-color"),$.n(b.fontOpacity)?c.setAttribute("opacity",b.fontOpacity):c.removeAttribute("font-opacity"),b.disablePointerEvents?c.setAttribute("pointer-events",b.disablePointerEvents?"none":""):c.removeAttribute("pointer-events"));c.textContent=
a.kc};pu=function(a,b){return null!=b&&a.length>b?a.slice(0,b)+"...":a};qu=function(a,b,c,d){$.Yq.call(this);this.Rb=this.Y=null;($.n(a)||$.n(b)||$.n(c)||$.n(d))&&this.set.apply(this,arguments);$.T(this.ua,[["left"],["top"],["bottom"],["right"]])};
$.Dm=function(a){var b=arguments[0],c=arguments[1],d=arguments[2],e=arguments[3];if($.A(b)){var f=b;b=f[0];c=f[1];d=f[2];e=f[3];f=f.length}else f=arguments.length;if(!f)return{};if("object"==$.ka(b)){var h=b.top||0;var k=b.right||0;var l=b.bottom||0;var m=b.left||0}else 1==f?m=l=k=h=b||0:2==f?(l=h=b||0,m=k=c||0):3==f?(h=b||0,m=k=c||0,l=d||0):4<=f&&(h=b||0,k=c||0,l=d||0,m=e||0);return{top:h,left:m,bottom:l,right:k}};su=function(a,b){for(var c in ru){var d=b[c];$.n(d)&&(a.ma[c]=d)}};
$.tu=function(a,b,c,d){qu.call(this,a,b,c,d)};$.wu=function(a,b){var c=b.top||0,d=b.left||0,e=uu(a.height,c,b.bottom||0),f=vu(a.width,d,b.right||0);d=$.M(d,f);c=$.M(c,e);return new $.J(a.left-d,a.top-c,f,e)};uu=function(a,b,c){var d=1;$.oo(b)?d-=(0,window.parseFloat)(b)/100:a+=$.ea(b)?b:(0,window.parseFloat)(b);$.oo(c)?d-=(0,window.parseFloat)(c)/100:a+=$.ea(c)?c:(0,window.parseFloat)(c);d||(d=1E-7);return a/d};
vu=function(a,b,c){var d=1;$.oo(b)?d-=(0,window.parseFloat)(b)/100:a+=$.ea(b)?b:(0,window.parseFloat)(b);$.oo(c)?d-=(0,window.parseFloat)(c)/100:a+=$.ea(c)?c:(0,window.parseFloat)(c);d||(d=1E-7);return a/d};$.zu=function(){this.b={}};
pca=function(a){function b(a){var b=[],c,d;for(d in a)if(a.hasOwnProperty(d)){var e=a[d];if(d in l){var f=l[d];"number"==f&&(e=$.N(e));"boolean"==f&&(e=k[Yo(e).toLowerCase()],e="useNegativeSign"==d?!e:e);if("scale"==f){var h=Yo(e);if(h in k)e=k[h];else{e={};h=h.split("|");var p=function(a,b){return 0!=b%2};f=(0,$.Ye)(h[0].split(/\(([ \w\+\-]*)\)/),p);h=(0,$.Ye)(h[1].split(/\(([^\)]*)\)/),p);f=(0,$.Wa)(f,function(a){return+a});var q=f[0];p=[q];for(c=1;c<f.length;c++)q*=f[c],p.push(q);p.length!=h.length&&
(f=Math.min(p.length,h.length),p.length=f,h.length=f);p.reverse();h.reverse();e.factors=p;e.suffixes=h}}}f=d;d in m&&m[d]&&(f=m[d],f!=d&&b.push(d));a[f]=e}for(c=b.length;c--;)delete a[b[c]]}function c(a,b,c){if("%_message"==a)return $.ds(b&&b.key||"");var d="%"==a.charAt(0)?a.substr(1):a;var e=d.toLowerCase();var f=c.lc.sm[a],h=c.lc.nl[f]||c.lc.values[f]||c.lc.nl[a]||c.lc.values[a]||c.lc.nl[d]||c.lc.values[d];if(h)e=h.value;else{b:{for(var k in c.lc.nl)if(c.lc.nl.hasOwnProperty(k)&&k.toLowerCase()==
e){h=c.lc.nl[k].value;break b}for(k in c.lc.values)if(c.lc.values.hasOwnProperty(k)&&k.toLowerCase()==e){h=c.lc.values[k].value;break b}h=void 0}$.n(h)?e=h:(d=f?c.getData(f)||c.getData(d):c.getData(d),e=$.n(d)?d:c.Eg(e))}b&&"true"===b.localized&&(e=$.ds(e));if(!$.n(e))return"";b=b||{};d=$.n(b.dateTimeFormat)||$.n(b.timeZone);b.type&&(b.type=Yo(b.type));if(!(f=p[String(b.type).toLowerCase()])){if(d)c="date-time";else{f="%"==a.charAt(0)?a.substr(1):a;d=f.toLowerCase();h=c.lc.sm[a];f=(a=c.lc.nl[h]||
c.lc.values[h]||c.lc.nl[a]||c.lc.values[a]||c.lc.nl[f]||c.lc.values[f]||c.lc.nl[d]||c.lc.values[d])&&$.n(a.type)?a.type:"string";if(!a&&c.lc.mj.length)switch(d){case Au.Gja:case Au.Rja:case Au.k6:case Au.l6:case Au.m6:case Au.M7:case Au.N7:case Au.P7:case Au.Q7:case Au.Y7:case Au.L7:case Au.U7:case Au.W7:case Au.G7:case Au.H7:case Au.T7:case Au.I7:case Au.d8:case Au.V7:case Au.J7:case Au.f8:case Au.X7:case Au.K7:case Au.g8:case Au.h8:case Au.i8:case Au.N5:case Au.E5:case Au.G5:case Au.H5:case Au.J5:case Au.K5:case Au.M5:case Au.g6:case Au.Y5:case Au.e6:case Au.f6:case Au.V5:case Au.W5:case Au.d6:case Au.X5:case Au.JP:case Au.Q8:case Au.S6:case Au.h7:case Au.OPEN:case Au.R5:case Au.M8:case Au.A5:case Au.X6:case Au.w7:case Au.v7:case Au.WX:case Au.j8:case Au.c8:case Au.e8:case Au.Z7:case Au.S7:case Au.R7:case Au.n6:case Au.i6:case Au.j6:case Au.h6:case Au.Z5:case Au.c6:case Au.B5:case Au.C5:case Au.D5:case Au.I5:case Au.L5:case Au.N8:case Au.O8:case Au.P8:case Au.K8:case Au.L8:case Au.t7:f=
"number"}c=f}f=c}switch(f){case "":return"";case "string":return String(e);case "date-time":return $.js(e,b.dateTimeFormat,b.timeZone);case "date":return $.ks(e,b.timeZone);case "time":return ls(e,b.timeZone);case "number":return $.qs(e,b.decimalsCount,b.decimalPoint,b.groupsSeparator,b.scale,b.zeroFillDecimals,b.scaleSuffixSeparator,b.useBracketsForNegative);case "percent":return $.to($.Qm(100*e,2))}}function d(a){return a}function e(a,d){var e=y,f=[],k;for(k in e)if(e.hasOwnProperty(k)){var l=Yo(k);
l!=k&&(e[l]=e[k],f.push(k))}for(k=f.length;k--;)delete e[f[k]];b(y);h.push($.qa(c,a,d))}function f(a){h.push($.qa(d,a))}for(var h=[],k={"true":!0,"false":!1},l={numDecimals:"number",decimalsCount:"number",useNegativeSign:"boolean",useBracketsForNegative:"boolean",leadingZeros:"number",trailingZeros:"boolean",zeroFillDecimals:"boolean",scale:"scale"},m={numDecimals:"decimalsCount",decimalSeparator:"decimalPoint",thousandsSeparator:"groupsSeparator",useNegativeSign:"useBracketsForNegative",trailingZeros:"zeroFillDecimals"},
p={number:"number",string:"string",datetime:"date-time",date:"date",time:"time",percent:"percent"},q=a.length,r=0,t,u="",v,w,x,y,B=!1,G=0;G<q;G++)switch(t=a.charAt(G),r){case 0:"{"==t?r=1:u+=t;break;case 1:"%"==t?(0<u.length&&f(u),u="%",r=2):(u+="{"+t,r=0);break;case 2:"}"==t?1<u.length?(v=u,u="",r=3):(u="{%}",r=0):u+=t;break;case 3:"{"==t?r=4:(e(v,null),u=t,r=0);break;case 4:"%"==t?(e(v,null),u="%",r=2):(w="{"+t,u=t,r=x="",y={},B="\\"==t,r=5);break;case 5:w+=t;B?(u+=t,B=!1):"\\"==t?B=!0:":"==t?(x=
u,u="",r=6):"}"==t?(x=Yo(u),y[x]="",e(v,y),w=u=r=x="",r=0):u+=t;break;case 6:w+=t,B?(u+=t,B=!1):"\\"==t?B=!0:","==t?(r=u,y[x]=r,r=x=u="",r=5):"}"==t?(r=u,y[x]=r,e(v,y),w=u=r=x="",r=0):u+=t}switch(r){case 0:0<u.length&&f(u);break;case 1:f("{");break;case 2:f("{"+u);break;case 3:e(v,null);break;case 4:e(v,null);f("{");break;case 5:case 6:f(w)}return h};$.Bu=function(a,b){if(!a.b[b]){var c=pca(b);a.b[b]=function(a){return(0,$.Wa)(c,function(b){return b(a)}).join("")}}return a.b[b]};
$.Du=function(a){$.V(this);$.Y.call(this);a||(this.mC=this.Fa($.hr.labelsFactory));delete this.ma.enabled;this.ub=null;this.AW="background padding height width offsetY offsetX position anchor rotation format positionFormatter minFontSize maxFontSize maxLength clip connectorStroke adjustFontSize useHtml fontSize fontWeight fontFamily fontColor textDirection textShadow wordWrap wordBreak fontOpacity fontDecoration fontStyle fontVariant letterSpacing lineHeight textIndent vAlign hAlign textOverflow selectable disablePointerEvents".split(" ");
this.zd={};$.Cu(this,"different");this.da(!1);$.vq(this.ua,20,20,9,1);$.T(this.ua,[["format",20,9],["positionFormatter",4,9],["position",20,9],["anchor",4,9],["offsetX",4,9],["offsetY",4,9],["connectorStroke",512,1],["rotation",4,9],["width",4,9],["height",4,9],["clip",256,1]])};Eu=function(a){a=$.Bk(a,"auto");"auto"==a&&(a=void 0);return a};$.Cu=function(a,b){return $.n(b)?(b=$.xk(qca,b,"different"),a.U!=b&&(a.U=b,a.AB()&&a.B(4,9)),a):a.U};
Fu=function(a){a.Ka&&(a.Ma.background=a.Ka.Ma);a.Pa&&(a.Ma.padding=a.Pa.Ma)};rca=function(a){(0,$.Qe)(a.Da,function(a){a&&a.rb&&!Gu(a)&&a.rb.pb()},a)};
$.Lu=function(a,b,c,d,e){var f=new $.J(0,0,0,0),h=a.ja();if(h){var k=h.width;var l=h.height}if($.K(b,$.Hu)&&!d){var m=b;var p=m.ii();var q=m.lf();b=c||m.uc()||{value:{x:0,y:0}};var r=$.Iu(m);if(h=Ju(m,function(a,b){var c=$.K(b,$.Du)?b.ja():b.ja;if(c)return c}))k=h.width,l=h.height;var t=r.useHtml;var u=r.width;var v=r.height;d=r.offsetY;c=r.offsetX;var w=r.anchor;var x=r.format;var y=r.padding;p.style(r)}else a.b?a.b.clear():(a.b=a.vK(),a.b.Oo=a),a.N||(a.N=$.pk(),a.N.ee("aria-hidden","true")),m=a.b,
p=a.N,$.K(b,$.Hu)?(a.b.K($.Iu(b)),q=b.lf(),b=c||b.uc()||{value:{x:0,y:0}}):(q=b,b=c||{value:{x:0,y:0}}),a.b.K(d),t=$.n(m.i("useHtml"))?m.i("useHtml"):a.i("useHtml"),y=($.Jc(m.Ma.padding)&&$.Jc(m.ma.padding)?void 0:m.padding())||a.Pa||null,u=$.n(m.i("width"))?m.i("width"):a.i("width"),v=$.n(m.i("height"))?m.i("height"):a.i("height"),d=m.i("offsetY")||a.i("offsetY")||0,c=m.i("offsetX")||a.i("offsetX")||0,w=m.i("anchor")||a.i("anchor"),x=m.i("format")||a.i("format"),m.Lh(p,!0,a.ma),m.Lh.call(a,p,!1),
m.Lh(p,!1);$.K(y,$.tu)||(y=a.padding());e=$.Ku(a,x,q,e);p.width(null);p.height(null);t?p.htmlText(null!=e?String(e):null):p.text(null!=e?String(e):null);m=null!==u;e=null!==v;q=p.pb();if(m){k=Math.ceil($.M(u,k));var B=y?y.wg(k):k;f.width=k}else k=q.width,f.width=y?y.rk(k):k;$.n(B)&&p.width(B);q=p.pb();if(e){B=Math.ceil($.M(v,l));var G=y?y.Jh(B):B;f.height=B}else B=q.height,f.height=y?y.Jj(B):B;$.n(G)&&p.height(G);G=$.Qc(a.i("positionFormatter").call(b,b));return a.t0(f,G,h,c,d,w)};
$.Ku=function(a,b,c,d){$.z(b)&&(b=$.Bu($.zu.vd(),b));a.g||(a.g={});if(null!=d){if(!$.n(a.g[d])){if($.n(c)&&c.series){var e=c.series.aa();$.E(e.select)&&e.select($.n(c.index)?c.index:d)}a.g[d]=b.call(c,c)}return a.g[d]}return b.call(c,c)};$.Mu=function(a,b){$.n(b)?a.g&&$.n(a.g[b])&&delete a.g[b]:a.g={}};
$.Hu=function(){$.Y.call(this);delete this.ma.enabled;this.Jw={};this.zd={};this.ga="pointState seriesState chartState pointNormal seriesNormal chartNormal seriesStateTheme chartStateTheme auto seriesNormalTheme chartNormalTheme".split(" ");this.O=$.Ja(this.ga,0);this.ar=!0;this.oi();this.I(1024);$.vq(this.ua,20,20,9,1);$.T(this.ua,[["format",1044,9],["positionFormatter",4,9],["position",4,9],["anchor",4,9],["offsetX",4,9],["offsetY",4,9],["connectorStroke",512,1],["rotation",4,9],["width",4,9],["height",
4,9],["clip",256,1],["enabled",1,9]])};$.Nu=function(a,b){return null!=b?(a.state("seriesNormal")!=b&&(a.Oo=b,a.state("seriesNormal",b),a.state("seriesNormalTheme",b?b.ma:null),a.B(16,1)),a):a.state("seriesNormal")};$.Ou=function(a,b){return $.n(b)?(a.state("seriesState")!=b&&(a.state("seriesState",b),a.state("seriesStateTheme",b?b.ma:null),a.B(16,1)),a):a.state("seriesState")};Pu=function(a){return a.O||(a.O=$.Ja(a.ga,0))};
$.Qu=function(a,b,c){var d=!1,e=Pu(a);$.n(c)&&$.z(b)?(c=$.N(c),a=(0,$.za)(e,b),a!=c&&(c=(0,window.isNaN)(c)?e.length-1:c,e.length<=c&&(e.length=c+1),-1!=a&&delete e[a],e[c]=b)):($.A(b)?(a.O=$.Ja(b,0),d=!0):null===b&&(a.O=$.Ja(a.ga,0),d=!0),d&&a.B(17,9))};Ru=function(a,b){return Ju(a,function(a,d){if(($.K(d,$.Hu)||$.K(d,$.Du))&&d.J(b))return!0})||a.J(b)};Su=function(a,b){if($.n(b)){var c=!!b;a.zd.vertical!==c&&(a.zd.vertical=c,$.n(a.zd.vertical)||a.B(16,8));return a}return a.zd.vertical};
Tu=function(a){a.Ka&&(a.Ma.background=a.Ka.Ma);a.Pa&&(a.Ma.padding=a.Pa.Ma)};Ju=function(a,b,c,d){var e=void 0,f=Pu(a);$.wa(f,function(a,f){var h=$.z(a)?"auto"==a?this.zd:this.Jw[a]:a;h&&(h=b.call(this,a,h,f,c,d),$.n(h)&&("object"==$.ka(h)?null!=e?$.Sc(e,h):e=$.Qc(h):e=h))},a);return e};
sca=function(a,b,c,d,e){if($.K(b,$.Hu)||$.K(b,$.Du))if("enabled"==d){a=b[d]();var f=null===a?void 0:a}else f=b.YS(d);else"object"==$.ka(b)&&("adjustFontSize"==d?(b=b[d],$.n(b)?$.A(b)?(a=b[0],b=b[1]):$.D(b)?(a=b.width,b=b.height):(a=!!b,b=!!b):b=a=void 0,f={width:a,height:b}):"padding"==d&&$.ea(b[d])?f=$.Dm(b[d]):(f=b[d],"enabled"==d&&null===f&&(f=void 0)));f&&$.E(f.F)&&(f=f.F());e&&$.n(f)&&(f=e(f));return f};Uu=function(a,b,c){return Ju(a,sca,b,c)};
$.Iu=function(a){var b=Pu(a);1==b.length&&(b=b[0],a.b=$.z(b)?a.Jw[b]:b);if(a.b)return $.Qc(a.b);b=a.Oo.AW;for(var c={},d=0,e=b.length;d<e;d++){var f=b[d],h=a.ic(f);"adjustFontSize"==f?(c.adjustByWidth=h.width,c.adjustByHeight=h.height):c[f]=h}a.b=c;return $.Qc(a.b)};$.Vu=function(a,b,c,d,e,f,h){var k=tca(a);a=$.Va(d,e+1);d=$.Pa(a,function(a){k.fontSize(a);var d=k.pb();a=d.width;d=d.height;return f&&a>b||h&&d>c?-1:f&&a==b||h&&d==c?0:1});0>d&&(d=~d-1);return a[$.Za(d,0,a.length)]};
tca=function(a){var b=$.Iu(a),c=b.useHtml,d=a.lf();a.J(1024)&&($.Mu(a.Oo,a.la()),a.I(1024));b=a.$n(b.format,d,a.la());a.qv||(a.qv=$.pk(),a.qv.ee("aria-hidden","true"));c?a.qv.htmlText($.n(b)?String(b):""):a.qv.text($.n(b)?String(b):"");Ju(a,function(a,b,c){a=0==c;$.K(b,$.Du)||$.K(b,$.Hu)?this.Lh.call(b,this.qv,a):this.Lh(this.qv,a,b)});return a.qv};
Gu=function(a){if($.da(a.ar))return a.ar;var b=$.Iu(a),c=null!==b.width,d=null!==b.height,e=b.useHtml,f=a.rb?!!a.rb.path():!1;a=String(a.$n(b.format,a.lf(),a.la()));a=$.jc(kc(a));return 1!=a.split(/\n/g).length||c||d||e||f};Wu=function(a){var b=Gu(a),c=$.K(a.rb,ou),d=$.K(a.rb,$.Mh);return!a.rb||b&&c||!b&&d};Xu=function(){$.Du.call(this)};Yu=function(){$.Hu.call(this)};
Zu=function(a,b,c){this.lc={values:a||{},Ag:b||null,mj:c||[],sm:{},nl:{}};this.lc.sm["%Value"]="value";this.lc.sm["%YValue"]="value";this.lc.sm["%Index"]="index"};$.$u=function(a){return $.n(void 0)?(a.lc.values=void 0,a):a.lc.values};$.av=function(a,b){var c;if($.n(b)){for(c in a)a.hasOwnProperty(c)&&!$.E(a[c])&&a[c]!=a.lc&&delete a[c];a.lc.values=b}for(c in a.lc.values)a[c]=a.lc.values[c].value;return a};$.bv=function(a){$.Yq.call(this);this.b=a};cv=function(a){this.Ba=a;$.Yq.call(this)};
dv=function(a,b,c){var d=a.Ba.P()?a.Ba.P().Ha().Do():null;return d?$.n(c)?(d[b](c),a):d[b]():$.n(c)?(a[b+"_"]!==c&&(a[b+"_"]=c),a.B(16,2),a):a[b+"_"]};ev=function(a){var b={},c=a.text_,d=a.url_,e=a.alt_,f=a.imgAlt_,h=a.logoSrc_;a=a.enabled_;$.n(c)&&(b.text=c);$.n(d)&&(b.url=d);$.n(e)&&(b.alt=e);$.n(f)&&(b.imgAlt=f);$.n(h)&&(b.logoSrc=h);$.n(a)&&(b.enabled=a);return b};
fv=function(){$.Y.call(this);this.Y=null;this.ab={};this.Rb=null;$.T(this.ua,[["fontSize",20,9],["fontFamily",20,9],["fontColor",16,1],["fontOpacity",16,1],["fontDecoration",20,9],["fontStyle",20,9],["fontVariant",20,9],["fontWeight",20,9],["letterSpacing",20,9],["textDirection",20,9],["lineHeight",20,9],["textIndent",20,9],["textShadow",16,1],["vAlign",20,9],["hAlign",20,9],["wordWrap",20,9],["wordBreak",20,9],["textOverflow",20,9],["selectable",16,1],["disablePointerEvents",16,1],["useHtml",20,
9]])};gv=function(){fv.call(this);this.Ka=null;this.N=void 0;this.rb=this.Pa=null;this.Wa=$.lk();$.du(this,this.Wa);$.T(this.ua,[["text",20,9],["position",4,9],["width",4,9],["height",4,9],["anchor",4,9],["offsetX",4,9],["offsetY",4,9],["rotation",4,9],["adjustFontSize",4,9],["minFontSize",0,0,0,this.ga],["maxFontSize",0,0,0,this.ga]]);this.ua.disablePointerEvents.NZ=function(){this.background().disablePointerEvents(this.dd("disablePointerEvents"))}};
hv=function(a){var b=a.ja(),c;var d=a.i("width");var e=a.i("height");var f=a.C0();b&&f?(null!=d?(a.yi=d=$.M(d,f.width),b=!1):(d=0,b=!0),null!=e?(a.wi=c=$.M(e,f.height),f=!1):(c=0,f=!0)):($.wo(d)?(b=!0,d=0):(b=!1,a.yi=d=$.N(d)),$.wo(e)?(f=!0,c=0):(f=!1,a.wi=c=$.N(e)));e=a.padding();a.rb.width(null);a.rb.height(null);b?(d+=a.rb.pb().width,a.Ym=d,a.yi=e.rk(d)):d=a.Ym=e.wg(d);a.rb.width(a.Ym);f?(c+=a.rb.pb().height,a.Wm=c,a.wi=e.Jj(c)):c=a.Wm=e.Jh(c);a.rb.height(a.Wm);var h=!b,k=!f,l=a.i("adjustFontSize");
h=l&&(h&&l.width||k&&l.height);$.V(a);h?(d=a.TQ(d,c),a.fontSize(d),a.rb.fontSize(d),b&&(a.rb.width(null),a.Ym=a.rb.pb().width,a.rb.width(a.Ym),a.yi=e.rk(a.Ym)),f&&(a.rb.height(null),a.Wm=a.rb.pb().height,a.rb.height(a.Wm),a.wi=e.Jj(a.Wm))):l&&(l.width||l.height)&&(a.fontSize(a.i("minFontSize")),a.rb.fontSize(a.i("minFontSize")),b&&(a.rb.width(null),a.Ym=a.rb.pb().width,a.rb.width(a.Ym),a.yi=e.rk(a.Ym)),f&&(a.rb.height(null),a.Wm=a.rb.pb().height,a.rb.height(a.Wm),a.wi=e.Jj(a.Wm)));a.da(!1);a.ug=$.M(e.i("left"),
a.yi);a.vg=$.M(e.i("top"),a.wi)};iv=function(a){var b;if(b=!a.rb)a.rb=$.pk(),a.rb.ee("aria-hidden","true");return b};$.jv=function(){gv.call(this);$.T(this.ua,[["visible",128,1]]);this.ma.visible=!0};kv=function(){$.jv.call(this)};
lv=function(){function a(){this.zy=!0}function b(){this.Ub=null}fv.call(this);this.Fa($.hr.legendItem);this.ub=$.lk();this.Sc=this.ub.text();this.Sc.ee("aria-hidden","true");this.HV=this.IV=null;this.jF=window.NaN;this.J2={line:"black",spline:"black","step-line":"black",ohlc:"black",candlestick:"black"};this.Zha={line:!0,spline:!0,"step-line":!0,ohlc:!0};this.pC={iconStroke:"#999",iconFill:"#999",iconHatchFill:"none",iconMarkerStroke:"#999",iconMarkerFill:"#999",fontColor:"#999"};$.T(this.ua,[["text",
20,9],["x",4,9,0,b],["y",4,9,0,b],["iconType",16,1,0,a],["iconTextSpacing",4,9,0,b],["maxWidth",4,9,0,b],["maxHeight",4,9,0,b],["iconFill",17,0,a],["iconStroke",16,1,0,a],["iconHatchFill",16,1,0,a]]);this.XJ()};nv=function(a,b,c){a.Jl?a.Jl.clear():a.Jl=b.parent().path();a.Kv&&(mv(a,a.xa),b=a.Kv,($.z(b)?$.qp(b):b).call(a,a.Jl,c/2,c/2,c/6))};
uca=function(a){switch(a){case "step-area":a=function(a,b){a.moveTo(0,.6*b).lineTo(.5*b,.6*b).lineTo(.5*b,.1*b).lineTo(b,.1*b).lineTo(b,b).lineTo(0,b).lineTo(0,.6*b).close()};break;case "area":a=function(a,b){a.moveTo(0,.7*b).lineTo(.35*b,.3*b).lineTo(.5*b,.5*b).lineTo(b,0).lineTo(b,b).lineTo(0,b).lineTo(0,.7*b).close()};break;case "range-step-area":case "range-spline-area":case "range-area":a=function(a,b){a.moveTo(0,.2*b).lineTo(.5*b,.4*b).lineTo(b,.2*b).lineTo(b,.8*b).lineTo(.5*b,.6*b).lineTo(0,
.8*b).close()};break;case "spline-area":a=function(a,b){var c=b/2;a.moveTo(b,.6*c).lineTo(b,b).lineTo(0,b).lineTo(0,1.3*c).ze(0,c,c,.3*c,90,-90).ze(b,c,c,.4*c,180,90).moveTo(0,0).close()};break;case "range-bar":a=function(a,b){a.moveTo(.35*b,0).lineTo(.65*b,0).lineTo(.65*b,.15*b).lineTo(.35*b,.15*b).close().moveTo(.1*b,.4*b).lineTo(.9*b,.4*b).lineTo(.9*b,.55*b).lineTo(.1*b,.55*b).close().moveTo(.25*b,.8*b).lineTo(.75*b,.8*b).lineTo(.75*b,.95*b).lineTo(.25*b,.95*b).close()};break;case "range-column":a=
function(a,b){a.moveTo(0,.6*b).lineTo(0,.4*b).lineTo(.15*b,.4*b).lineTo(.15*b,.6*b).lineTo(0,.6*b).close().moveTo(.4*b,.9*b).lineTo(.4*b,.1*b).lineTo(.55*b,.1*b).lineTo(.55*b,.9*b).lineTo(.4*b,.9*b).close().moveTo(.8*b,.7*b).lineTo(.8*b,.3*b).lineTo(.95*b,.3*b).lineTo(.95*b,.7*b).lineTo(.8*b,.7*b).close()};break;case "bar":a=function(a,b){a.moveTo(0,0).lineTo(.6*b,0).lineTo(.6*b,.15*b).lineTo(0,.15*b).close().moveTo(0,.4*b).lineTo(b,.4*b).lineTo(b,.55*b).lineTo(0,.55*b).close().moveTo(0,.8*b).lineTo(.8*
b,.8*b).lineTo(.8*b,.95*b).lineTo(0,.95*b).close()};break;case "column":a=function(a,b){a.moveTo(0,b).lineTo(0,.4*b).lineTo(.15*b,.4*b).lineTo(.15*b,b).close().moveTo(.4*b,b).lineTo(.4*b,0).lineTo(.55*b,0).lineTo(.55*b,b).close().moveTo(.8*b,b).lineTo(.8*b,.2*b).lineTo(.95*b,.2*b).lineTo(.95*b,b).close()};break;case "step-line":a=function(a,b){a.moveTo(0,.8*b).lineTo(.5*b,.8*b).lineTo(.5*b,.2*b).lineTo(b,.2*b).moveTo(0,0).close();nv(this,a,b)};break;case "line":a=function(a,b){a.moveTo(0,.5*b).lineTo(b,
.5*b).close();nv(this,a,b)};break;case "spline":a=function(a,b){var c=b/2;a.ze(0,c,c,.8*c,90,-90).ze(b,c,c,.6*c,180,90).moveTo(0,0).close();nv(this,a,b)};break;case "bubble":case "circle":a=function(a,b){var c=b/2;a.ze(c,c,c,c,0,360).close()};break;case "candlestick":a=function(a,b){a.moveTo(.5*b,0).lineTo(.5*b,b).moveTo(0,.3*b).lineTo(b,.3*b).lineTo(b,.7*b).lineTo(0,.7*b).lineTo(0,.3*b).close()};break;case "ohlc":a=function(a,b){a.moveTo(0,.2*b).lineTo(.5*b,.2*b).moveTo(.5*b,0).lineTo(.5*b,b).moveTo(.5*
b,.8*b).lineTo(b,.8*b).close()};break;case "triangle-up":case "triangle-down":case "triangle-right":case "triangle-left":case "diamond":case "cross":case "diagonal-cross":case "star4":case "star5":case "star6":case "star7":case "star10":case "pentagon":case "trapezium":case "arrowhead":case "v-line":a=$.Ik(a);var b=$.qp(a);a=function(a,d){return b(a,d/2,d/2,d/2)};break;default:a=function(a,b){a.moveTo(0,0).lineTo(b,0).lineTo(b,b).lineTo(0,b).close()}}return a};
ov=function(a,b){a.Jl&&a.Jl.clear();a.ms?(b.call(a,a.Mv.clear(),a.Uo),a.ls&&b.call(a,a.ls.clear(),a.Uo)):(a.Mv.clear(),a.ls&&a.ls.clear())};pv=function(a,b,c){a.Lh(a.Sc,!!c);c=a.i("fontColor");b=a.Mp?a.pC.fontColor:b?$.Hl(c):c;(0,window.isNaN)(a.jF)?(a.Sc.color(b),a.Sc.fill(b)):(c=a.i("fontOpacity"),c=$.n(c)?c:1,b={keys:tp(a.jF,c,b)},a.ii().fill(b))};qv=function(a,b){a.Mv.stroke(vca(a,b));a.Mv.fill(wca(a,b));a.ls&&a.ls.fill(a.Mp?a.pC.iconHatchFill:a.i("iconHatchFill"))};
mv=function(a,b){a.Jl&&(a.Jl.fill(xca(a,b)),a.Jl.stroke(yca(a,b)))};vca=function(a,b){if(a.Mp)return a.pC.iconStroke;var c=a.i("iconType");return $.Vo(a.i("iconStroke"))&&c in a.J2?a.J2[c]:b?$.Hl(a.i("iconStroke")):a.i("iconStroke")};wca=function(a,b){return a.i("iconType")in a.Zha?null:a.Mp?a.pC.iconFill:b?$.Hl(a.i("iconFill")):a.i("iconFill")};yca=function(a,b){return a.Mp?a.pC.iconMarkerStroke:b?$.Hl(a.Iv):a.Iv};xca=function(a,b){return a.Mp?a.pC.iconMarkerFill:b?$.Hl(a.Hv):a.Hv};
rv=function(a,b){return $.n(b)?(a.IV=b,a):a.IV};$.tv=function(){fv.call(this);this.nf=this.Df=null;this.Xb=sv;this.KD=this.lK=!1;this.$T();$.T(this.ua,[["text",20,9]]);this.B(4294967295)};
uv=function(a){var b=a.ja();if(b){var c=b.width;var d=b.height}else c=d=void 0;var e=!!a.rb;if(e){var f=a.rb.pb();var h=f.width;var k=f.height}var l=null!=a.Df,m=null!=a.nf;f=a.padding();l?(h=$.oo(a.Df)&&!$.n(c)?e?h:0:$.M(a.Df,c),e&&(a.ug=$.M(f.i("left"),h))):(h=e?h:0,e&&(a.ug=$.M(f.i("left"),h)),h=f.rk(h));b&&c<h&&(h=c);m?(k=$.oo(a.nf)&&!$.n(d)?e?k:0:$.M(a.nf,d),e&&(a.vg=$.M(f.i("top"),k))):(k=e?k:0,e&&(a.vg=$.M(f.i("top"),k)),k=f.Jj(k));b&&d<k&&(k=d);e&&(a.rb.width(h),a.rb.height(k));b=$.Pm(a.Re);
b.x=c?$.M(b.x,c):0;b.y=d?$.M(b.y,d):0;a.VB=new $.J(b.x,b.y,h,k)};$.wv=function(a,b){$.n(b)&&(a.cN=b)};xv=function(){$.tv.call(this);this.Fa("defaultLegend.paginator.buttonsSettings");this.b=$.ia;this.Kw(16,!1);this.$T()};yv=function(a,b){$.n(b)&&a.b!=b&&(a.b=b,a.B(64,1))};$.zv=function(a,b,c,d){qu.apply(this,arguments)};
Fv=function(){fv.call(this);this.Fa($.hr.paginator);this.ba=this.kc=null;Av(this,1);this.jC(1);this.j=new xv;this.j.padding(null);this.j.enabled(!0);$.wv(this.j,(0,$.pa)(Bv,this));$.L(this.j,Cv,this.j);this.g=new xv;this.g.padding(null);this.g.enabled(!0);$.wv(this.g,(0,$.pa)(Bv,this));$.L(this.g,Cv,this.g);var a=this;yv(this.j,Dv);yv(this.g,Ev);$.T(this.ua,[["text",20,9],["orientation",4,9],["layout",4,9,0,function(){"horizontal"==this.i("layout")?(yv(a.j,Dv),yv(a.g,Ev)):(yv(a.j,zca),yv(a.g,Aca))}]])};
Av=function(a,b){if($.n(b)&&(b=Math.ceil((0,window.isNaN)((0,window.parseFloat)(b))?1:+b),a.O!=b)){if($.n(a.O))if(0<b)b<a.U+1&&(a.U=b-1),a.O=b;else throw Error("incorrect pageCount value!! Should be more than 0");else a.O=b;a.B(20,9)}};Gv=function(a){return((0,window.isNaN)(a.U)?"-":String(a.U+1))+" / "+((0,window.isNaN)(a.O)?"-":String(a.O))};Hv=function(a,b){return $.n(b)?(a.ga!=b&&(a.ga=b,a.B(1,a.Sq())),a):a.ga};Iv=function(a){return a.enabled()?Hv(a):!1};
Jv=function(a,b){var c=a.padding(),d=a.margin(),e=a.ja();if(e){var f=e.width;var h=e.height}a.N||(a.N={});var k=$.n(b)?b:a.O;var l=k+a.i("layout").substr(0,1);if(a.N[l])k=a.N[l];else{var m=$.pk();m.ee("aria-hidden","true");a.Lh(m,!0);m.text(k+" / "+k);k=m.pb();$.qd(m);var p=k.height;"horizontal"==a.i("layout")?(m=2*p+20+k.width,k=k.height):(m=Math.max(p,k.width),k=2*p+20+k.height);k=a.N[l]=[m,k]}l=k[0];k=k[1];a.f=c.rk(l);a.b=c.Jj(k);e&&f<a.f&&(a.f=d.wg(a.f));e&&h<a.b&&(a.b=d.Jh(a.b));c=d.rk(a.f);
l=d.Jj(a.b);k=e?$.M(d.i("left"),a.f):0;d=e?$.M(d.i("top"),a.b):0;if(e){switch(a.i("orientation")){case "top":a.D=e.qb()+(f-c)/2+k;a.G=e.bc()+d;break;case "right":a.D=e.$a()-c+k;a.G=e.bc()+(h-l)/2+d;break;case "bottom":a.D=e.qb()+(f-c)/2+k;a.G=e.Ua()-l+d;break;case "left":a.D=e.qb()+k,a.G=e.bc()+(h-l)/2+d}a.Ub=new $.J(a.D-k,a.G-d,c,l)}else a.D=k,a.G=d,a.Ub=new $.J(0,0,c,l)};Kv=function(a,b){a.Ub&&!a.J(4)||Jv(a,b);return a.Ub};Cv=function(a){$.X(a,1)&&this.$()};
Bv=function(a){var b=this.jC(),c=this.I0();switch(a){case this.j:0<b&&this.jC(b-1);break;case this.g:b<c&&this.jC(b+1);break;default:throw Error("Something wrong with onClickListener!");}};Dv=function(a,b){a.moveTo(b.$a(),b.bc()).lineTo(b.$a(),b.Ua()).lineTo(b.qb(),b.bc()+b.height/2).close()};Ev=function(a,b){a.moveTo(b.qb(),b.bc()).lineTo(b.$a(),b.bc()+b.height/2).lineTo(b.qb(),b.Ua()).close()};zca=function(a,b){a.moveTo(b.qb()+b.width/2,b.bc()).lineTo(b.$a(),b.Ua()).lineTo(b.qb(),b.Ua()).close()};
Aca=function(a,b){a.moveTo(b.qb(),b.bc()).lineTo(b.$a(),b.bc()).lineTo(b.qb()+b.width/2,b.Ua()).close()};
Lv=function(){$.Y.call(this);this.Fa($.hr.separator);delete this.ma.enabled;this.b=null;this.G=this.D=window.NaN;this.Rb=this.Y=this.Ub=null;var a=(0,$.pa)(function(a,c){c=c.clone().round();if(!this.Hb()){var b=1==c.width?.5:0;c.left-=b;c.width+=2*b}a.moveTo(c.left,c.top).lineTo(c.left+c.width,c.top).lineTo(c.left+c.width,c.top+c.height).lineTo(c.left,c.top+c.height).close()},this);this.Se(a);this.B(4294967295);$.T(this.ua,[["fill",16,1],["stroke",16,1],["width",20,9],["height",20,9],["orientation",
20,9]])};
Mv=function(a){var b=a.margin(),c=a.ja();if(c)if(a.Hb()){var d=c.width;var e=c.height}else d=c.height,e=c.width;else d=e=void 0;var f=a.i("width"),h=a.i("height");h=$.Vo(h)||!$.n(h)?"100%":h;f=$.M($.Vo(f)||!$.n(f)?"100%":f,d);c&&d<b.rk(f)&&(f=b.wg(d));h=$.M(h,e);c&&e<b.Jj(h)&&(h=b.Jh(e));var k=b.rk(f),l=b.Jj(h);d=$.M(b.i("left"),d);b=$.M(b.i("top"),e);e=a.i("orientation")||"top";if(c)switch(e){case "top":a.D=c.qb()+d;a.G=c.bc()+b;a.g=f;a.f=h;a.Ub=new $.J(c.qb(),c.bc(),k,l);break;case "bottom":a.D=c.qb()+
d;a.G=c.Ua()-l+b;a.g=f;a.f=h;a.Ub=new $.J(c.qb(),c.Ua()-l,k,l);break;case "left":a.D=c.qb()+b;a.G=c.Ua()-d-f;a.g=h;a.f=f;a.Ub=new $.J(c.qb(),c.bc(),l,k);break;case "right":a.D=c.$a()-b-h,a.G=c.bc()+d,a.g=h,a.f=f,a.Ub=new $.J(c.$a()-l,c.bc(),l,k)}else a.D=d,a.G=b,a.Hb()?a.Ub=new $.J(0,0,k,l):a.Ub=new $.J(0,0,l,k)};
$.Nv=function(){$.Y.call(this);delete this.ma.enabled;this.Fa($.hr.title);this.O=this.ba=this.ub=this.Ka=null;this.D=this.G=this.b=this.f=window.NaN;this.g=this.Pa=this.Mc=this.Ub=null;this.zd={};this.zd.orientation="top";this.Rb=this.Y=null;this.Q1=!1;$.vq(this.ua,20,16,9,1);$.T(this.ua,[["width",4],["height",4],["align",4],["orientation",4],["rotation",4],["maxLength",20],["text",20]])};Ov=function(a){var b=[a.ma];a.Y&&(b=$.Ga(b,Ov(a.Y)));return b};
Pv=function(a,b){a.ba=0>b?null:b;$.n(a.width())||a.B(4)};$.Qv=function(a,b){if($.n(b)){var c=a.i("orientation")!=b;a.zd.orientation=b;c&&a.B(4);return a}return a.zd.orientation};$.Rv=function(a,b){if($.n(b)){var c=null==b?"":String(b);a.U!=c&&(a.U=c,a.B(20,9));return a}return a.U};Sv=function(a){var b=!1;a.ub||(b=!0,a.ub=$.lk(),a.background().P(a.ub),a.kc=a.ub.text(),a.kc.zIndex(.1),a.kc.ee("aria-hidden","true"),$.du(a,a.ub));return b};
Tv=function(a){var b=a.padding(),c=a.margin(),d=a.ja(),e=a.i("orientation"),f=0==a.Xz()%180;var h=0==(a.Xz()+90)%180;if(d)if(h){var k=d.height;h=d.width}else k=d.width,h=d.height;else k=h=void 0;var l=Sv(a);if(l||a.J(16))a.Lh(l),a.I(16);a.kc.width(null);a.kc.height(null);a.kc.jc(1,0,0,1,0,0);l=a.kc.pb();var m=a.th("width")?a.dd("width"):a.ba||null;null===m?(a.G=l.width,a.f=b.rk(a.G)):(a.f=$.M(m,k),a.G=b.wg(a.f));d&&k<c.rk(a.f)?(a.f=c.wg(k),a.G=b.wg(a.f),a.kc.width(a.G)):null===m||a.kc.width(a.G);
a.kc.jc(1,0,0,1,0,0);l=a.kc.pb();k=a.th("height")?a.dd("height"):a.O||null;null===k?(a.D=l.height,a.b=b.Jj(a.D)):(a.b=$.M(k,h),a.D=b.Jh(a.b));d&&h<c.Jj(a.b)?(a.b=c.Jh(h),a.D=b.Jh(a.b),a.kc.height(a.D)):null===k||a.kc.height(a.D);a.Ub=new $.J(-a.f/2,-a.b/2,a.f,a.b);b=$.Jb($.bb(a.Xz()),0,0);var p=$.zb(a.Ub,b);h=$.M(c.i("left"),a.f);k=$.M(c.i("right"),a.f);l=$.M(c.i("top"),a.b);c=$.M(c.i("bottom"),a.b);m=p.width/2;p=p.height/2;var q=h+m,r=l+p,t="top"==e||"bottom"==e;if(d)if(t||f)if(t){switch(a.i("align")){case "left":q=
d.qb()+h+m;break;case "right":q=d.$a()-k-m;break;default:q=(d.qb()+d.$a()+h-k)/2}"top"==e?r=d.bc()+l+p:"bottom"==e&&(r=d.Ua()-c-p)}else switch("right"==e?q=d.$a()-k-m:"left"==e&&(q=d.qb()+h+m),a.i("align")){case "top":case "left":r=d.bc()+l+p;break;case "bottom":case "right":r=d.Ua()-c-p;break;default:r=(d.bc()+d.Ua()+l-c)/2}else if("left"==e){switch(a.i("align")){case "top":case "right":r=d.bc()+k+p;break;case "bottom":case "left":r=d.Ua()-h-p;break;default:r=(d.bc()+d.Ua()-h+k)/2}q=d.qb()+l+m}else{switch(a.i("align")){case "top":case "left":r=
d.bc()+h+p;break;case "bottom":case "right":r=d.Ua()-k-p;break;default:r=(d.bc()+d.Ua()+h-k)/2}q=d.$a()-l-m}d=[q,r,0,0];$.Ib(b).transform(d,0,d,0,2);a.g=b.translate(d[0]-d[2],d[1]-d[3]);a.Ub=$.zb(a.Ub,a.g);a.g.translate(-a.f/2,-a.b/2);"top"==e||"bottom"==e||f?(a.Ub.left-=h,a.Ub.top-=l,a.Ub.width+=h+k,a.Ub.height+=l+c):(a.Ub.left-=l,a.Ub.top-=k,a.Ub.width+=l+c,a.Ub.height+=h+k)};Uv=function(){$.Nv.call(this)};
Vv=function(a){$.od.call(this);this.gb=a;this.g=this.f=this.j=this.b=this.Kc=null;this.D=this.G=""};Wv=function(){return $.Ne("DIV",{})};
Xv=function(a){if(!a.b){a.b=Wv(a.gb.background());a.b.className="anychart-tooltip";var b=a.gb.title();b=Wv(b.background());b.className="anychart-tooltip-title";a.j=b;a.f=$.Ne("HR");a.f.setAttribute("noshade",!0);a.f.className="anychart-tooltip-separator";a.g=$.Ne("DIV");a.b.appendChild(a.j);a.b.appendChild(a.f);a.b.appendChild(a.g);b=a.getContext();a=a.gb.i("onDomReady");$.E(a)&&a.call(b)}};
Yv=function(a){var b=$.Rv(a.gb.title());if($.n(b)&&a.G!=b){Xv(a);a.G=b;b=a.getContext();var c=a.gb.i("onBeforeTitleChange");if($.E(c)?c.call(b):1)a.j.innerHTML=a.G,c=a.gb.i("onTitleChanged"),$.E(c)&&c.call(b)}$.Pf(a.j,a.gb.title().enabled());$.Pf(a.f,a.gb.Hr().enabled());b=a.gb.zi().text();$.n(b)&&a.D!=b&&(Xv(a),a.D=b,b=a.getContext(),c=a.gb.i("onBeforeContentChange"),$.E(c)?c.call(b):1)&&(a.g.innerHTML=a.D,c=a.gb.i("onContentChanged"),$.E(c)&&c.call(b));$.Pf(a.g,a.gb.zi().enabled())};
Zv=function(){$.od.call(this);this.j=!1;this.pr=$.Ne("div");this.b=$.hd&&!$.bd("9")?$.ik(null,1,1):$.ik();this.b.Zw=!0;this.b.P(this.pr);this.b.hoa=!0;this.Kc=null};$v=function(a,b,c){$.od.call(this);this.b=a;this.g=b||0;this.eo=c;this.f=(0,$.pa)(this.Cda,this)};bw=function(a,b){$.qf.call(this);this.g=a;this.b=aw(this.g);this.N=b||100;this.j=$.Id(a,"resize",this.D,!1,this)};cw=function(a){$.qf.call(this);this.f=a||window;this.g=$.Id(this.f,"resize",this.j,!1,this);this.b=$.Fe(this.f||window)};
aw=function(a){return a.b?a.b.clone():null};dw=function(){Zv.call(this);this.g=new cw;this.f=new bw(this.g);$.Id(this.f,"resize",this.D,!1,this)};
$.iw=function(a){$.Y.call(this);this.Fa($.hr.tooltip);delete this.ma.enabled;this.eb=a;this.ea=new $.J(0,0,0,0);this.Y=null;this.j={};this.g=this.f=this.Rb=this.ya=this.b=null;this.Ra=!1;this.Ga={format:void 0,titleFormat:void 0};ew[String($.oa(this))]=this;$.vq(this.ua,fw,640,1,1,this.RD);$.T(this.ua,[["useHtml",fw|2,16385,void 0,this.cK],["width",fw,9],["height",fw,9],["titleFormat",fw,1],["format",fw,1],["unionFormat",fw,1],["valuePrefix",fw,1],["valuePostfix",fw,1],["position",64,1],["anchor",
64,1],["offsetX",64,1],["offsetY",64,1],["x",64,1],["y",64,1],["allowLeaveScreen",2,1],["allowLeaveChart",2,1],["allowLeaveStage",2,1],["displayMode",4096,1,gw],["positionMode",64,1,hw],["onDomReady",0,0],["onBeforeTitleChange",0,0],["onTitleChanged",0,0],["onBeforeContentChange",0,0],["onContentChanged",0,0],["hideDelay",0,0,0,this.uK]])};
kw=function(a,b,c,d,e,f){if(a.enabled()){var h=a.i("allowLeaveStage"),k=a.i("allowLeaveScreen"),l=a.i("allowLeaveChart"),m=a.i("useHtml"),p=jw(a),q=m?0:a.i("offsetX");m=m?0:a.i("offsetY");if(!k){a.x(b);a.y(c);k=p?0:d.x;p=p?0:d.y;d=a.lb();var r=$.Fe(window);0>d.left-q+k&&(b-=d.left-q+k);0>d.top-m+p&&(c-=d.top-m+p);d.$a()-q+k>r.width&&(b-=d.$a()-q+k-r.width);d.Ua()-m+p>r.height&&(c-=d.Ua()-m+p-r.height)}h||(a.x(b),a.y(c),d=a.lb(),d.left<q&&(b-=d.left-q),d.top<m&&(c-=d.top-m),d.$a()>e.width+q&&(b-=d.$a()-
e.width-q),d.Ua()>e.height+m&&(c-=d.Ua()-e.height-m));l||(a.x(b),a.y(c),d=a.lb(),d.left<f.left+q&&(b-=d.left-q-f.left),d.top<f.top+m&&(c-=d.top-m-f.top),d.$a()>f.$a()+q&&(b-=d.$a()-q-f.$a()),d.Ua()>f.Ua()+m&&(c-=d.Ua()-m-f.Ua()));a.x(b);a.y(c)}};
nw=function(a,b,c,d,e){var f=b.parent()?lw(b):a,h=f.i("positionMode")||"float";f=f.Aa()||$.mw(a);a=f.lb();var k=f.P().Ha();f=$.Wj(k);k=k.pb();var l=jw(b),m=b.i("position");switch(h){case "float":var p=l?c:c-f.x;var q=l?d:d-f.y;break;case "point":var r;e&&e.Ai?r=e.Ai(m,!0).value:r={x:c,y:d};p=l?r.x+f.x:r.x;q=l?r.y+f.y:r.y;break;case "chart":c=$.xo(a,m),p=c.x+(l?f.x:0),q=c.y+(l?f.y:0)}kw(b,p,q,f,k,a)};
Bca=function(a,b,c,d,e,f){if(a.check(gw|hw)&&(a.b=e?e.Xa():a,$.ow(a,[a.b]),a.b.enabled())){for(var h={clientX:{value:c,type:"number"},clientY:{value:d,type:"number"},formattedValues:{value:[],type:""},points:{value:[],type:""}},k=[],l=0;l<b.length;l++){var m=b[l];if(m){var p=m.series;if(!$.n(p.xk))return;var q=p.Xa();if(p.enabled()&&!pw(q,m)){var r=p.xk();h.formattedValues.value.push(qw(q,r));h.points.value.push(r);l||(h.x={value:r.Ag().Oh(),type:"string"},h.name={value:r.getData("name"),type:"string"});
$.A(m.points)&&k.push({series:p,points:(0,$.Wa)(m.points,function(a){p.aa().select(a);return p.xk(!0)})})}}}k.length==b.length&&(h.allPoints={value:k,type:""});h.formattedValues.value.length&&(k=a.b.i("useHtml")?"<br/>":"\n",h.joinedFormattedValues={value:h.formattedValues.value.join(k),type:"string"},f&&$.Sc(h,f),k=e&&e.mc&&e.mc()||b[0]&&b[0].series&&b[0].series.mc&&b[0].series.mc()||void 0,f=[],!e&&b[0]&&b[0].series&&f.push(b[0].series),e&&f.push(e),k&&f.push(k),b=new $.rw(h),b.mj(f),e&&b.Ag(e.aa()),
$.av(b),a.b.zi().text(qw(a,b,!0)),$.Rv(a.b.title(),sw(a,b)),$.ow(a.b),a.b.i("useHtml")&&Yv(a.b.g),tw(a.b).parent()||a.b.B(2),uw(a,a.b),nw(a,a.b,c,d,e),vw(a.b,c,d))}};pw=function(a,b){return!a.enabled()||b.nearestPointToCursor&&!(0,window.isFinite)(b.nearestPointToCursor.distance)};
$.zw=function(a,b,c,d,e,f,h){if(!a.f||a.f.jA()||!a.f.rm()||a.check(gw)||b.length){$.ww(a);var k=a.i("displayMode");if("single"==k)e=b[0],b=e.series,a.b=f?a:b.Xa(),!pw(a.b,e)&&$.n(b.xk)&&(f=b.xk(),h&&($.Sc($.$u(f),h),$.av(f)),f.clientX=c,f.clientY=d,$.Rv(a.b.title(),sw(a.b,f)),a.b.zi().text(qw(a.b,f)),a.b==a?$.ow(a):(xw(a),$.ow(a,[a.b])),((h=a.i("useHtml"))&&!a.b.g.P()||!tw(a.b).parent())&&a.b.B(2),h&&Yv(a.b.g),uw(a,a.b),nw(a,a.b,c,d,b),vw(a.b,c,d));else if("union"==k)Bca(a,b,c,d,e,h);else if("separated"==
k)for(xw(a),h=0;h<b.length;h++){k=b[h];f=k.series;if(!$.n(f.xk))break;e=f.Xa();pw(e,k)||(k=f.xk(),k.clientX=c,k.clientY=d,$.Rv(e.title(),sw(e,k)),e.zi().text(qw(e,k)),tw(e).parent()||e.B(2),e.i("useHtml")&&Yv(e.g),uw(a,e),yw(a,e,c,d,f),vw(e,c,d))}}};
vw=function(a,b,c){if(a.enabled()){$.ww(a);tw(a).parent()||a.B(2);uw(a,a);a.D&&a.D.$p()&&a.D.stop();a.$();var d=tw(a),e=d.fa();if(a.i("selectable")&&e){d.td(!1);a:{d=a.lb();if(b<d.qb())if(c<d.bc()){e=d.$a();var f=d.qb();var h=d.bc();var k=d.Ua();c-=2}else c>d.Ua()?(e=d.qb(),f=d.$a(),h=d.bc(),k=d.Ua(),c+=2):(e=f=d.qb()+2,h=d.bc(),k=d.Ua(),b-=2);else if(b>d.$a())c<d.bc()?(e=d.$a(),f=d.qb(),h=d.Ua(),k=d.bc(),c-=2):c>d.Ua()?(e=d.qb(),f=d.$a(),h=d.Ua(),k=d.bc(),c+=2):(e=f=d.$a()-2,h=d.bc(),k=d.Ua(),b+=
2);else if(c<d.bc())h=k=d.bc()+2,e=d.$a(),f=d.qb(),c-=2;else if(c>d.Ua())h=k=d.Ua()-2,e=d.qb(),f=d.$a(),c+=2;else break a;a.N=[e,h,f,k,b,c]}$.Sd(window.document,"mousemove",a.WM,!1,a)}else e&&d.td(!0)}};$.Aw=function(a,b,c,d){$.ww(a);a.b=a;d&&(d.clientX=b,d.clientY=c,$.Rv(a.title(),sw(a,d)),a.zi().text(qw(a,d)));uw(a,a);nw(a,a,b,c);vw(a,b,c)};sw=function(a,b){$.$u(b).titleText={value:a.sb.i("text"),type:"string"};$.av(b);var c=a.i("titleFormat");$.z(c)&&(c=$.Bu($.zu.vd(),c));return c.call(b,b)};
qw=function(a,b,c){$.$u(b).valuePrefix={value:a.i("valuePrefix")||"",type:"string"};$.$u(b).valuePostfix={value:a.i("valuePostfix")||"",type:"string"};$.av(b);c=c?a.i("unionFormat"):a.i("format");$.z(c)&&(c=$.Bu($.zu.vd(),c));a=a.i("maxLength");b=c.call(b,b);return b=pu(b,a)};
xw=function(a,b,c){if(b)return a.D&&a.D.stop(),a.remove(),!0;if(a.i("selectable")&&c){b=c.originalEvent.clientX;c=c.originalEvent.clientY;var d=a.lb().Yf(new $.gb(b,c)),e=tw(a).fa();if(e&&!d)return $.Id(e,"mouseleave",a.gM,!1,a),a.N=null,!1;if(Bw(a,b,c))return $.Id(window.document,"mousemove",a.WM,!1,a),e&&($.Id(tw(a).fa(),"mouseenter",a.eX,!1,a),$.Id(tw(a).fa(),"mouseleave",a.fX,!1,a)),!1;a.N=null}if(a.i("hideDelay"))return a.uK(),a.D.$p()||a.D.start(),!1;a.remove();return!0};
$.ww=function(a){var b=a.il();a.title().il(b);a.Hr().il(b);a.background().il(b);a.padding().il(b)};tw=function(a){if(!a.Wa){a.Wa=$.lk();$.du(a,a.Wa);var b=a.background(),c=a.title(),d=a.Hr(),e=a.zi();b.P(a.Wa);c.P(a.Wa);d.P(a.Wa);e.P(a.Wa)}return a.Wa};$.mw=function(a,b){return $.n(b)?(a.ya=b,a):a.ya};jw=function(a){return Cca&&a.i("allowLeaveStage")&&a.i("allowLeaveChart")};$.ow=function(a,b){b=b||[];for(var c in a.j)Cw(b,function(a){return String($.oa(a))==c})||a.j[c].Oc(!0)};
Dw=function(a){if(a.i("useHtml"))a.O=a.g.pb();else if(!a.O){$.V(a.zi());a.Lh();a.zi().da(!1);var b=a.i("width"),c=a.i("height"),d=(a.Ba||$.mw(a)).lb();b=$.M(b,d.width);c=$.M(c,d.height);d=!(0,window.isNaN)(b);var e=!(0,window.isNaN)(c),f=new $.J(0,0,0,0),h=null,k=null,l=a.title(),m=a.Hr(),p=a.zi();$.V(l);$.V(m);$.V(p);if(!d||!e){if(l.enabled()){"svg"==$.hk?l.ja(null):l.ja(a.Ba&&a.Ba.P()?a.Ba.P().Ha().pb():null);var q=l.i("width");var r=null!=l.dd("width");var t=l.i("height");var u=null!=l.dd("height");
$.oo(q)&&(h=q,d?(q=a.padding().wg(b),l.width(q)):l.width(null));$.oo(t)&&(k=t,e?(q=a.padding().Jh(c),l.height(q)):l.height(null));t=l.gi();f.width=b||Math.max(f.width,t.width);r?l.width(h):delete l.Ma.width;u?l.height(k):delete l.Ma.height;k=h=null;e||(f.height+=t.height)}if(p.enabled()){var v=(r=a.Y?a.Y.zi():null)?r.width():void 0;r=r?r.height():void 0;p.ja(null);v=p.width()||v;r=p.height()||r;$.oo(v)&&(h=v,d?(q=a.padding().wg(b),p.width(q)):p.width(null));$.oo(r)&&(k=r,e?(q=a.padding().Jh(c),p.height(q)):
p.height(null));v=p.gi();f.width=b||Math.max(f.width,v.width);h&&p.width(h);k&&p.height(k);e||(f.height+=v.height)}l.enabled()&&l.ja(new $.J(0,0,f.width,t.height));p.enabled()&&p.ja(new $.J(0,0,f.width,v.height));m.enabled()&&(m.ja(l.enabled()||p.enabled()?f:null),t=m.gi(),f.width=b||Math.max(f.width,t.width),e||(f.height+=t.height))}f=a.padding().tX(f);d&&(f.width=b);e&&(f.height=c);f.left=0;f.top=0;a.O=f;l.da(!1);m.da(!1);p.da(!1)}};
Ew=function(a){Dw(a);if(!a.G){var b=a.i("anchor"),c=a.i("useHtml"),d=c?0:a.i("offsetX"),e=c?0:a.i("offsetY");c=c?$.Uf(a.g.Ta(),"margin"):new $.lb(0,0,0,0);var f=a.i("x"),h=a.i("y");f=new $.gb(f,h);$.Qo(f,b,d+c.left,e+c.top);b=$.xo(a.O,b);f.x-=b.x;f.y-=b.y;a.G=f}};
yw=function(a,b,c,d,e){var f=c,h=d,k=a.i("positionMode")||"float",l=a.i("displayMode"),m=(a.Aa()||$.mw(a)).lb(),p=a.ya.P().Ha(),q=p.pb();p=$.Wj(p);var r=jw(b);"float"==k?(f=r?c:c-p.x,h=r?d:d-p.y):"point"==k?(a="union"==l?a.i("position"):b.i("position"),a=e.Ai(a,!0).value,f=r?a.x+p.x:a.x,h=r?a.y+p.y:a.y):"chart"==k&&(f=a.Aa().lb(),a="union"==l?a.i("position"):b.i("position"),a=$.xo(f,a),f=a.x+(r?p.x:0),h=a.y+(r?p.y:0));kw(b,f,h,p,q,m)};
Fw=function(a){var b=null;$.mw(a)?b=$.mw(a).P():a.Aa()?b=a.Aa().P():a.parent()&&(a=lw(a),$.mw(a)?b=$.mw(a).P():a.Aa()&&(b=a.Aa().P()));return b};lw=function(a){for(;a.parent();)a=a.parent();return a};
uw=function(a,b){if(b.J(2))if(jw(b)||"vml"==$.hk){if(b.i("useHtml"))b.g.P($.Bp.body);else{var c=dw.vd();a.f&&a.f.jA()&&b.f.P(null);b.f=c;b.f.P(window.document.body);b.P(c.b);tw(b).parent(b.P())}b.I(2)}else if(c=Fw(b)){var d=c.Ha().Bl();if(b.i("useHtml"))b.g.P(d);else{var e=Gw(b);c=Hw[e];c||(c=new Zv,Hw[e]=c);b.f=c;tw(b).parent(b.P());c.P(d);b.P(c.b)}b.I(2)}};
Bw=function(a,b,c){if(!a.N)return!1;var d=a.N[0],e=a.N[1],f=a.N[2],h=a.N[3],k=a.N[4],l=a.N[5];a=$.$m(f,h,k,l,b,c);k=$.$m(k,l,d,e,b,c);return $.$m(d,e,f,h,b,c)==a&&a==k};Gw=function(a){a=Fw(a).Ha();return"stg"+$.oa(a)};
$.Iw=function(){fv.call(this);this.Fa($.hr.legend);this.ba=this.Qb=null;this.Ga=window.NaN;this.Ja=!0;this.B(4294967295);$.eu(this,this,null,null,null,null,this.I9,null);$.T(this.ua,[["inverted",16,1],["itemsLayout",4,9],["iconSize",4,9,0,function(){if(null!=this.Qb)for(var a=0,b=this.Qb.length;a<b;a++)this.Qb[a].Lv(this.i("iconSize"))}],["width",68,9],["height",68,9],["maxWidth",68,9],["maxHeight",68,9],["position",0,0,0,function(){this.ZK=!1;this.B(4,9)}],["positionMode",0,0,0,function(){this.ZK=
!1;this.i("drag")?this.B(2048,9):this.ta(8)}],["align",4,9,0,function(){this.ZK=!1}],["drag",2048,1],["itemsFormat",1040,1],["titleFormat",132,9],["itemsSpacing",4,9],["itemsHAlign",16,1],["itemsSourceMode",1040,1],["hoverCursor",16,1,0,function(){if(null!=this.Qb)for(var a=0,b=this.Qb.length;a<b;a++)this.Qb[a].PT(this.t1)}],["iconTextSpacing",4,9,0,function(){if(null!=this.Qb)for(var a=0,b=this.Qb.length;a<b;a++)this.Qb[a].iconTextSpacing(this.i("iconTextSpacing"))}]])};
Jw=function(a,b){if(!a.f||!b||a.f.length!=b.length)return!1;for(var c=0;c<b.length;c++)if(a.f[c]!=b[c])return!1;return!0};
Kw=function(a,b){var c=a.Xa();if(c.enabled()){var d=b.itemIndex,e=a.Qb[d];e&&b&&(d={value:{value:e.i("text"),type:"string"},iconType:{value:e.i("iconType"),type:"string"},iconStroke:{value:e.i("iconStroke"),type:""},iconFill:{value:e.i("iconFill"),type:""},iconHatchFill:{value:e.i("iconHatchFill"),type:""},iconMarkerType:{value:e.Jv(),type:"string"},iconMarkerStroke:{value:e.Lt(),type:""},iconMarkerFill:{value:e.Kt(),type:""},meta:{value:a.Ob[d],type:""}},d=new $.rw(d),$.Aw(c,b.clientX,b.clientY,
$.av(d)))}};
Dca=function(a,b,c){if(null==a.Qb)return $.gn(0,0,0,0);for(var d=0,e,f=-Number.MAX_VALUE,h=0,k,l=-Number.MAX_VALUE,m=0,p=0,q=1,r=0,t=0,u=1,v=0,w=0,x=a.i("itemsLayout"),y=a.i("itemsSpacing"),B=0,G=a.Qb.length;B<G;B++)B in a.G||(k=a.Qb[B].lb(),e=k.width,d+=e+y,f=Math.max(f,e),k=k.height,h+=k+y,l=Math.max(l,k),"horizontal-expandable"==x?p+e>b?(v=Math.max(v,p),w+=m,q++,p=e+y,m=k+y):(p+=e+y,m=Math.max(m,k+y)):"vertical-expandable"==x&&(r+k>c?(w=Math.max(w,r),v+=t,u++,t=e+y,r=k+y):(r+=k+y,t=Math.max(t,
e+y))));!d||0>f?f=d=0:d-=y;!h||0>l?l=h=0:h-=y;a.Ge=u;return"vertical"==x?$.gn(0,0,Math.max(0,f),Math.max(0,h)):"horizontal"==x?$.gn(0,0,Math.max(0,d),Math.max(0,l)):"vertical-expandable"==x?(w=Math.max(w,r)-y,$.gn(0,0,Math.max(0,v+(t-y)),Math.max(0,w))):"horizontal-expandable"==x?(v=Math.max(v,p)-y,$.gn(0,0,Math.max(0,v),Math.max(0,w+(m-y)))):$.gn(0,0,0,0)};
Eca=function(a){if($.A(a.ya))return a.ya;if(null!=a.f){for(var b,c=[],d=0;d<a.f.length;d++)if(b=a.f[d],null!==b&&$.E(b.bm)){var e=a.i("itemsFormat");$.z(e)&&(e=$.Bu($.zu.vd(),e));c=$.Ga(c,b.bm(a.i("itemsSourceMode"),e))}return c}return[]};
Fca=function(a,b){if(!$.A(b))return[];for(var c=[],d,e=a.Sd(),f=0;f<b.length;f++)(0,window.isNaN)(b[f].iconSize)&&(b[f].iconSize=a.i("iconSize")),d={iconTextSpacing:a.i("iconTextSpacing"),iconSize:a.i("iconSize"),hoverCursor:a.i("hoverCursor")},$.Sc(d,e,b[f]),c.push(d);return c};
Gca=function(a,b){a.Qb||(a.j=[],a.Qb=[]);var c;a.G={};if(!a.Ja&&a.Qb){var d=0;for(c=b.length;d<c;d++){$.n(b[d].enabled)&&!b[d].enabled&&(a.G[d]=!0);for(var e=0;e<a.Qb.length;e++){var f=a.Qb[e];var h=f.CI(),k=f.si();if($.n(h)&&$.n(k)&&h==b[d].sourceUid&&k==b[d].sourceKey){f.clear();f.K(b[d]);pv(f,f.xa,void 0);e=a.i("inverted")?b.length-1-d:d;f.ub.tag={index:e};break}}}}else if(b&&0<b.length)for($.Lw(a),a.Ob=[],d=0;d<b.length;d++){$.n(b[d].enabled)&&!b[d].enabled&&(a.G[d]=!0);a:{f=a;c=b[d];e=0;for(h=
f.j.length;e<h;e++)if(k=f.j[e],k.pha==c.sourceUid&&k.oha==c.sourceKey){$.Ca(f.j,e,1);f=k;break a}(c=f.j.pop())||(c=new lv,c.Fa(f.ma,"defaultFontSettings"));f=c}f.P(a.ba);b[d].enabled=!1;f.K(b[d]);f.th("text")||(f.Ma.text="Legend Item");f.Lh(f.ii(),!0);c=a.i("inverted")?b.length-1-d:d;f.ub.tag={index:c};a.Qb.push(f);a.Ob.push(b[d].meta?b[d].meta:{})}else $.Lw(a);for(d=0;d<a.Qb.length;d++)f=a.Qb[d],e=f.Sd(),h=sp(e),e=rv(f),e||(e=a.O.sx(),a.D.appendChild(e),rv(f,e)),e.style.cssText=h,e.textContent=f.text();
c=a.O.sx();a.D.appendChild(c);e=a.mN().Sd();h=sp(e);c.style.cssText=h;for(d=0;d<a.Qb.length;d++)f=a.Qb[d],e=rv(f),e=e.getBBox(),e=new $.J(e.x,e.y,e.width,e.height),$.n(e)&&(f.HV=e);d=a.N;$.n(c)&&!d.ba&&(d.ba=c);a.Ja=!1;a.B(4)};$.Lw=function(a){for(var b=0,c=a.Qb.length;b<c;b++)a.j.push(a.Qb[b].clear());a.Qb.length=0};Hca=function(a){if(null!=a.Ga&&!(0,window.isNaN)(a.Ga)&&(a=a.b[a.Ga]))for(var b=0;b<a.length;b++)a[b].enabled(!1).$()};Mw=function(a,b,c,d){a.B(4);$.V(a).ja(d).x(b).y(c).enabled(!0).da(!1).$()};
Ica=function(a,b,c){if(null!=a.Qb){a.ba.jc(1,0,0,1,0,0);var d=a.b[b],e=a.i("itemsLayout");if(d)switch(e){case "horizontal":switch(a.i("itemsHAlign")){case "left":case "start":e=0;for(var f=a.i("itemsSpacing"),h=0;h<d.length;h++){var k=d[h];Mw(k,e,0,c);e+=k.lb().Xd()+f}break;case "right":case "end":e=a.i("itemsSpacing");f=c.width;for(h=d.length-1;0<=h;h--)k=d[h],f-=k.lb().Xd()+e,Mw(k,f,0,c);break;case "center":e=a.i("itemsSpacing");for(f=h=0;f<d.length;f++)h+=d[f].lb().Xd()+e;k=(c.width-(h-e))/2;for(f=
0;f<d.length;f++)h=d[f],Mw(h,k,0,c),k+=h.lb().Xd()+e}break;case "vertical":e=0;f=a.i("itemsSpacing");for(h=0;h<d.length;h++)k=d[h],Mw(k,0,e,c),e+=k.lb().ud()+f;break;case "horizontal-expandable":h=f=e=0;k=a.i("itemsSpacing");for(var l=0;l<d.length;l++){var m=d[l],p=m.lb();e+p.Xd()>c.width&&(f+=h,h=e=0);Mw(m,e,f,c);e+=m.lb().Xd()+k;h=Math.max(h,p.ud()+k)}break;case "vertical-expandable":for(h=f=e=0,k=a.i("itemsSpacing"),l=0;l<d.length;l++)m=d[l],p=m.lb(),f+p.ud()>c.height&&(e+=h,h=f=0),Mw(m,e,f,c),
f+=m.lb().ud()+k,h=Math.max(h,p.Xd()+k)}if((c=$.jr(a,"title"))&&c.enabled()&&(c=c.i("orientation")||$.Qv(c),"top"!=c&&"bottom"!=c)){d=c=0;if(e=a.La.Gd)c=e.Ad,d=e.xd;e=a.sb.gi();e.top+=d;e.left+=c}}a.Ga=b};
Nw=function(a,b){var c=$.N(b.itemIndex);if((0,window.isNaN)(c))return null;var d=b.type;switch(d){case "mouseout":d="legenditemmouseout";break;case "mouseover":d="legenditemmouseover";break;case "mousemove":d="legenditemmousemove";break;case "mousedown":d="legenditemmousedown";break;case "mouseup":d="legenditemmouseup";break;case "click":d="legenditemclick";break;case "dblclick":d="legenditemdblclick";break;default:return null}c=a.i("inverted")?a.Qb.length-1-c:c;var e=null,f=window.NaN,h=a.Qb[c];
if(h&&a.f)for(var k=0;k<a.f.length;k++){var l=a.f[k];if($.oa(l)==h.CI()&&$.E(l.ts)&&l.ts(a.i("itemsSourceMode"))){e=l;f=h.si();break}}return{type:d,itemIndex:c,itemSource:e,itemIndexInSource:f,target:a,originalEvent:b}};Ow=function(){$.Iw.call(this)};$.Pw=function(){$.Yq.call(this);$.T(this.ua,[["enabled",0,2],["duration",0,2]])};Qw=function(a){$.Yq.call(this);this.Aa=a;this.Bs=null;$.T(this.ua,[["enabled",0,10],["titleFormat",0,2]])};
Rw=function(a,b){return $.n(b)?(a.Bs!=b&&(a.Bs&&$.Zq(a.Bs,a.yV,a),a.Bs=b,$.L(a.Bs,a.yV,a)),a):a.Bs};Sw=function(a){Qw.call(this,a);this.ND=null;$.T(this.ua,[["mode",0,2]])};Tw=function(a){Qw.call(this,a.mc());this.Oa=a;this.b=null};$.Uw=function(a){$.Yq.call(this);this.Y=a;this.ua={};$.T(this.ua,[["spotRadius",0,0],["multiSelectOnClick",0,0],["unselectOnClickOutOfPoint",0,0],["hoverMode",0,2],["selectionMode",0,0],["zoomOnMouseWheel",0,0],["scrollOnMouseWheel",0,0]])};
$.Vw=function(a){this.target=a;this.f=[];this.b=[];this.Ac=$.Zl};$.Yw=function(a,b,c,d,e){if((0,window.isNaN)(c))return e;var f=$.Na(a.f,c);if(b==$.Zl)0<f&&(e=$.Ww(a,b,f,e));else{var h=!0,k=$.Xw(a,window.NaN);0>f?($.Da(a.f,c,~f),$.Da(a.b,b,~f)):(h=!(a.b[f]&b))?a.b[f]|=b:$.n(d)&&(a.b[f]=d);a.target.enabled()&&a.target.aa().select(c)&&(a.target.Rg()||"single"!=a.target.Fl()||(k?a.target.Uk(b):$.n(d)&&!k&&$.Xw(a,window.NaN)&&a.target.Uk(d)),h?e=a.target.Xj(b,e):$.n(d)&&(e=a.target.Xj(d,e)))}return e};
$.Xw=function(a,b){if($.n(b)){if((0,window.isNaN)(b))return!$.Zw(a,$.qo)&&!(a.Ac&$.qo);var c=$.$w(a,+b)}else c=a.Ac;return!(c&$.qo)};ax=function(a,b,c,d){if(!a.target.aa().select(c))return d;var e=$.Na(a.f,c);b!=$.Zl&&(0>e?($.Da(a.f,c,~e),$.Da(a.b,b,~e),a.Ac==$.Zl&&(d=a.target.Xj(b,d)),$.Xw(a,window.NaN)&&!a.target.Rg()&&"single"==a.target.Fl()&&a.target.Uk(b)):a.b[e]|=b);return d};
$.cx=function(a,b){var c=$.po,d;if($.n(b)){if(!(b>=a.target.aa().Gb())){var e=a.target.Wp();if($.A(b))for($.Qa(b),d=b.length;d--;)e=ax(a,c,+b[d],e);else e=ax(a,c,+b,e);a.target.fm(e)}}else if(a.Ac&c)if(c==$.po){for(d=a.b.length;d--;)$.bx(a,c,d)&&($.Ca(a.b,d,1),$.Ca(a.f,d,1));a.Ac=$.Zl}else c==$.qo&&(a.b.length=0,a.f.length=0,a.Ac=$.Zl);else{for(d=a.b.length;d--;)$.bx(a,c,d)&&($.Ca(a.b,d,1),$.Ca(a.f,d,1));a.Ac=c}};$.bx=function(a,b,c){return!(a.b[c]&=~b)};
$.Ww=function(a,b,c,d){var e=a.f[c];$.bx(a,b,c)?($.Ca(a.f,c,1),$.Ca(a.b,c,1),a.target.enabled()&&a.target.aa().select(e)&&a.Ac==$.Zl&&(d=a.target.Xj($.Zl,d))):a.target.enabled()&&a.target.aa().select(e)&&a.Ac==$.Zl&&(d=a.target.Xj(a.b[c],d));return d};$.dx=function(a,b,c,d){if((0,window.isNaN)(c))return d;c=$.Na(a.f,c);0<=c&&(d=$.Ww(a,b,c,d));return d};$.ex=function(a,b){for(var c=[],d=0,e=a.b.length;d<e;d++)b&a.b[d]&&c.push(a.f[d]);return c};
$.$w=function(a,b){var c=+b;return(0,window.isNaN)(c)?$.Zl:(c=$.Na(a.f,c),0<=c?a.b[c]:$.Zl)};$.fx=function(a,b,c){c=$.Na(a.f,c);return!!(b&a.b[c])};$.Zw=function(a,b){return 0<=$.xa(a.b,function(a){return!!(a&b)})};$.Xl=function(a){return Math.min(a&($.po|$.qo),$.qo)};
$.gx=function(){$.V(this);$.Y.call(this);this.Fa("chart");this.Pa=this.sb=this.Mc=this.gO=this.Ka=this.La=null;this.Su=[];this.ix=!0;this.Qk=this.iK=this.Du=null;this.KQ=!1;this.zh=this.Zh=0;this.Vm={};this.cm=null;this.Zw=!1;this.un=this.As=this.qs=null;this.FA=!1;this.Yd=null;this.B(4294967295);$.T(this.ua,[["selectRectangleMarqueeFill",0,0,0,function(){this.lM()&&this.un.fill(this.i("selectRectangleMarqueeFill"))}],["selectRectangleMarqueeStroke",0,0,0,function(){this.lM()&&this.un.stroke(this.i("selectRectangleMarqueeStroke"))}]]);
this.da(!1)};Jca=function(a){switch(a.Na().toLowerCase()){case "map":return"map";case "gantt-resource":case "gantt-project":return"gantt";case "circular-gauge":case "linear-gauge":case "thermometer":case "tank":case "led":return"gauge";default:return"chart"}};$.hx=function(a,b){b?(a.As||(a.As=$.jk(0,0,0,0),a.As.zIndex(1E4)),a.As.td(!1),a.As.cursor("wait"),a.As.fill($.Ul),a.As.stroke(null),a.As.uf(a.lb()),a.As.parent(a.P())):a.As&&a.As.remove()};
$.jx=function(a,b,c,d,e,f,h,k,l,m){if(!a.La)return!1;ix(a);a.rM=!!m;a.iU=!1;a.qs=e?$.Ga(e):[a.Rf()];a.G1=!1;a.nU=b;a.lU=c;a.mU=d;a.I1=!!h;a.un||(a.un=$.jk(0,0,0,0),a.un.zIndex(10001),a.un.td(!0));a.un.stroke(k||"3 red");a.un.fill(l||"red 0.5");b=a.La;a.kU=b;a.jU=f||null;a.Pt=new nf(a);a.jU&&(a.Pt.ra(b,"mouseover",a.sM,!0),a.Pt.ra(window.document,"mousemove",a.sM,!0),a.Pt.ra(window.document,"touchmove",a.sM,!0),a.Pt.ra(b,"mouseout",a.sM,!0));a.Pt.ra(b,"touchstart",a.H1,!0);a.Pt.ra(b,"mousedown",a.H1,
!0);return!0};ix=function(a){a.qs&&(a.rM=!1,a.I1=!1,a.iU=!1,a.G1&&$.hx(a,!1),a.G1=!1,a.nU=a.lU=a.mU=null,a.un&&a.un.parent(null),a.jU=null,$.td(a.ey,a.Pt),a.qs=a.ey=a.Pt=null,a.kU.cursor(null),a.kU=null)};kx=function(a,b,c){if(a.qs&&a.P()){var d=$.Wj(a.P().Ha());b-=d.x;c-=d.y;for(d=0;d<a.qs.length;d++){var e=a.qs[d];if(e&&e.left<b&&b<e.left+e.width&&e.top<c&&c<e.top+e.height)return d+1}}return 0};lx=function(a){$.ag.call(this,a.fa());$.Sd(this.G,["touchstart","mousedown"],this.Tj,!1,this)};
$.mx=function(a){var b=a.N0(),c={},d=0,e=1<b.length;e&&(c["#"]=d++);var f;for(f=0;f<b.length;f++)d=b[f].rN(c,d);var h=[];for(k in c)h[c[k]]=k;var k=[];for(f=0;f<b.length;f++)for(var l=b[f],m=0,p=l.Gb();m<p;m++){var q=Array(d);a.FV(q,l.qn(m),c);e&&(q[0]=f);k.push(q)}return{headers:h,data:k}};Kca=function(a,b,c,d){return($.K(b,$.nx)?b.name():"series"+String(c))+(1<d?" ("+a+")":"")};$.ox=function(){this.ji=null;$.gx.call(this);this.yO()&&$.eu(this,this,this.rg,this.Gg,null,this.rg,null,this.Cj)};
px=function(a,b){var c=a.Gf();$.V(c);!c.P()&&c.enabled()&&c.P(a.La);c.ja(b);c.kA()||c.kA(a);c.da(!1);c.B(16);a.J(512)&&c.B(1024);c.$();c=c.qd();$.ob(a.$ea,c)||$.ob(b,c)||(a.$ea=c,a.B(4));a.I(512)};$.qx=function(){$.qf.call(this);this.state=this.mK=this.sj=null};$.rx=function(a,b){$.qf.call(this);this.pd=a;var c=$.bf(this.pd)?this.pd:this.pd?this.pd.body:null;this.D=!!c&&$.Qf(c);this.f=$.Id(this.pd,$.gd?"DOMMouseScroll":"mousewheel",this,b)};sx=function(a){return $.vd&&($.wd||Lca)&&0!=a%40?a:a/40};
tx=function(a,b,c,d){$.xd.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d};
$.ux=function(a){$.Yq.call(this);this.Ka=this.Pa=this.Y=this.Rb=this.b=null;$.oa(this);this.f=0;$.T(this.ua,[["format",0,8,0,this.Ug],["maxLength",0,8,0,this.Ug],["adjustFontSize",0,0],["fontVariant",0,8,0,this.Ug],["letterSpacing",0,8,0,this.Ug],["textDirection",0,0],["textIndent",0,8,0,this.Ug],["textOverflow",0,1,0,this.Ug],["useHtml",0,8,0,this.Ug],["wordBreak",0,8,0,this.Ug],["wordWrap",0,8,0,this.Ug],["fontColor",0,1,0,this.Ug],["fontDecoration",0,8,0,this.Ug],["fontFamily",0,8,0,this.Ug],["fontOpacity",
0,1,0,this.Ug],["fontSize",0,8,0,this.Ug],["fontStyle",0,8,0,this.Ug],["fontWeight",0,8,0,this.Ug],["hAlign",0,8,0,this.Ug],["lineHeight",0,8,0,this.Ug],["maxFontSize",0,0],["minFontSize",0,0],["vAlign",0,1,0,this.Ug],["textShadow",0,1,0,this.Ug],["anchor",0,1,0,this.Ug],["height",0,8,0,this.Ug],["offsetX",0,2,0],["offsetY",0,2,0],["position",0,3,0,this.Ug],["rotation",0,8,0,this.Ug],["width",0,8,0,this.Ug],["allowMultiline",0,8,0,this.Ug],["zIndex",0,0],["clip",0,0],["enabled",0,32768,0,this.Ug],
["selectable",0,1,0,this.Ug],["disablePointerEvents",0,1,0,this.Ug],["autoRotate",0,1,0,this.Ug]]);a||this.Fa("defaultSimpleLabelsSettings")};$.vx=function(){this.O=$.kg();this.kc="";this.f={};this.ba=11;this.Tn={style:!1,text:!1,bC:!1};this.P=null;this.b=[];this.g=[];this.ab=this.U=this.ga=this.ka=!1;this.G=this.N=null;this.Ga=this.eb=0;this.Ja=null;this.ya=""};
$.xx=function(a){a.Tn.bC=!1;for(var b=0;b<a.g.length;b++){var c=a.g[b];if(c)for(var d=0;d<c.length;d++)c[d].cd();c.length=0}a.g.length=0;a.N&&(a.N.cd(),a.N=null);a.G&&(a.G.cd(),a.G=null);wx(a);a.ka=!1;a.ga=!1;a.U=!1};wx=function(a,b){var c,d;if(b){for(c=0;c<a.b.length;c++)(d=a.b[c])&&d.cd();a.b.length=0}else for(c=a.b.length-1;0<=c;c--)if(d=a.b[c])d.Tn.text?(d.cd(),--a.b.length):d.style(a.f)};$.zx=function(a){a.Tn.bC||(a.Tn.bC=!0,a.f.useHtml?$.Uc()?Hh(a):a.ab=!0:yx(a))};
Ax=function(a){a.D||(a.D=Ci("foreignObject"),a.Ra=$.Ne("div"),a.Ra.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),a.D.appendChild(a.Ra));a.Ra.innerHTML=a.kc||""};
yx=function(a){a.ab=!1;var b=a.kc.split(/\n/g),c=a.f.width,d=a.f.wordBreak,e=a.f.wordWrap;if(d&&null!=c){if("break-all"==d){if(a.ga=!0,!a.g.length)for(e=0;e<b.length;e++){c=b[e];d=[];for(var f="",h=0;h<c.length;h++)f+=c[h],d.push(Bx(a,f));a.g.push(d)}}else if(a.ka=!0,!a.g.length)for(a.N=Bx(a,"W W",a.N),a.G=Bx(a,"W",a.G),c=0;c<b.length;c++){d=b[c];e=d.split(" ");f="";d=[];for(h=0;h<e.length;h++)f+=e[h],d.push(Bx(a,f)),f+=h==e.length-1?"":" ";a.g.push(d)}wx(a,!0)}else if(null==e&&1<b.length){a.U=!0;
for(c=0;c<b.length;c++)d=b[c],a.b[c]?Bx(a,d,a.b[c]):a.b.push(Bx(a,d));for(;c<a.b.length;c++)a.b[c].cd();a.b.length=b.length}};$.Ex=function(a){if(a.ab)$.xx(a),wx(a,!0),$.Xe(a.Kd());else if(a.Tn.bC){a.Tn.bC=!1;var b;a.D&&($.Xe(a.D),a.D=null,a.Ra=null);if(a.ka||a.ga){for(b=0;b<a.b.length;b++){var c=a.b[b];$.Cx(c);$.Dx(c,a.P)}a.fa&&($.Xe(a.fa),a.P=null)}else if(a.U){for(b=0;b<a.b.length;b++)c=a.b[b],$.Cx(c),$.Dx(c,a.P);a.fa&&($.Xe(a.fa),a.P=null)}}};
Bx=function(a,b,c){c=c||new $.vx;c.style(a.f);c.text(b);$.Cx(c);return c};$.Fx=function(a){if(a.j){for(var b=0;b<a.b.length;b++)$.Fx(a.b[b]);b=a.j.hn;a.Ja&&b&&(b.ZV(a.nb),$.Nc(b.Tt,a.Ja),$.Xe($.ue(window.document,a.Ja)),a.Ja=null)}};Gx=function(a,b){if(a.j){var c=a.Kd();if(a.f.textOverflow){$.Fx(a);a.nb=$.Ei(a.j.hn,tp(1,a.f.fontOpacity,a.f.fontColor||"black"),void 0,void 0,b);var d="url("+Gi()+"#";a.Ja=Fi(a.O,a.nb,a.j.hn,b);c.setAttribute("fill",d+a.Ja+")")}else c.setAttribute("fill",a.f.fontColor)}};
$.Dx=function(a,b,c){if(a.ab)a.P!=b&&((a.P=b)?(Ax(a),b.appendChild(a.D)):a.D&&$.Xe(a.D));else{var d,e;if(a.ka||a.ga){var f=rl($.pl);a.P=b;a.G&&$.Dx(a.G,f);a.N&&$.Dx(a.N,f);for(d=0;d<a.g.length;d++)if(e=a.g[d])for(var h=0;h<e.length;h++)$.Dx(e[h],f,c);for(d=0;d<a.b.length;d++)(e=a.b[d])&&$.Dx(e,b,c)}else if(a.U)for(a.P=b,d=0;d<a.b.length;d++)(e=a.b[d])&&$.Dx(e,b,c);else a.P!=b&&(a.P=b,a=a.Kd(),b?b.appendChild(a):$.Xe(a))}};
$.Kx=function(a,b,c){$.n(c)&&(a.j=c);if(a.ab){Ax(a);a.D.setAttribute("x",b.left);a.D.setAttribute("y",b.top);a.D.setAttribute("width",b.width);a.D.setAttribute("height",b.height);c=b.width;b=b.height;var d=a.f,e="display: table-cell; ";"fontStyle"in d&&(e+="font-style: "+d.fontStyle+"; ");"fontVariant"in d&&(e+="font-variant: "+d.fontVariant+"; ");"fontFamily"in d&&(e+="font-family: "+d.fontFamily+"; ");if("fontSize"in d){var f=(0,window.parseFloat)(d.fontSize);f=(0,window.isNaN)(f)?13:f;e+="font-size: "+
f+"px; "}"fontWeight"in d&&(e+="font-weight: "+d.fontWeight+"; ");"letterSpacing"in d&&(e+="letter-spacing: "+d.letterSpacing+"; ");"fontDecoration"in d&&(e+="text-decoration: "+d.fontDecoration+"; ");"fontColor"in d&&(e+="color: "+d.fontColor+"; ");"vAlign"in d&&(e+="vertical-align: "+d.vAlign+"; ");"hAlign"in d&&(e+="text-align: "+d.hAlign+"; ");"wordBreak"in d&&d.wordBreak&&(e+="word-break: "+d.wordBreak+"; ");"textShadow"in d&&"none"!=d.textShadow&&(e+="text-shadow: "+d.textShadow+"; ");a.Ra.setAttribute("style",
e+("width: "+c+"px; height: "+b+"px; max-width: "+c+"px; max-height: "+b+"px;"))}else if(!a.f.textOverflow||a.f.textOverflow&&1<=b.width)if(a.ga)Hx(a,b);else if(a.ka)Hx(a,b,!0);else if(a.U)Ix(a,b);else{wx(a,!0);c=a.Kd();f=null!=a.f.height;var h=null!=a.f.width,k=a.height(),l=a.f.anchor,m=a.f.position;d="top";e="left";h&&a.f.hAlign&&(e=a.f.hAlign);f&&a.f.vAlign&&(d=a.f.vAlign);h=Jx(b,k,m,l);f=h.left;h=h.top;h+=a.ba;switch(d){case "middle":h=Math.max(h,b.top+b.height/2+a.ba/2);break;case "bottom":h=
Math.max(h,b.top+b.height-a.Ga+a.ba)}switch(e){case "right":f=Math.max(f,f+b.width-a.Za.width);break;case "center":f=Math.max(f,f+b.width/2-a.Za.width/2)}Gx(a,b);c.setAttribute("x",f);c.setAttribute("y",h)}else $.Dx(a,null)};
Hx=function(a,b,c){var d=$.M(a.f.width,b.width);wx(a,!0);a.Tn.bC=!0;a.Za.width=0;a.Za.height=0;for(var e=c?a.eb:0,f,h,k=0;k<a.g.length;k++){for(var l=a.g[k],m=0,p=0,q="",r,t=0;t<l.length;t++)if(f=l[t],h=f.Za,h.width-p-e>d){t?r=l[t-1]:r=f;f=new $.vx;var u=r.kc.replace(q,"");q=r.kc+(c?" ":"");f.text(u);f.style(a.f);p=r.width();u=new $.J(h.left,h.top,p-m,h.height);m=p+=+e;f.Za=u;f.eb=e;f.j=a.j;a.b.push(f);a.Za.width=Math.max(a.Za.width,u.width);a.Za.height+=u.height}(f=l[l.length-1])&&1<=l.length&&f!=
r&&(u=f.kc.replace(q,""),h=f.Za,l=new $.J(h.left,h.top,h.width-p,h.height),a.Za.width=Math.max(a.Za.width,l.width),a.Za.height+=l.height,f=new $.vx,f.text(u),f.Za=l,f.style(a.f),f.j=a.j,a.b.push(f))}Ix(a,b)};
Ix=function(a,b){var c,d=0;for(c=0;c<a.b.length;c++){var e=a.b[c];e.j=a.j;d+=e.height()}var f=null!=a.f.height,h="top";c="left";null!=a.f.width&&a.f.hAlign&&(c=a.f.hAlign);f&&a.f.vAlign&&(h=a.f.vAlign);e=Jx(b,d,a.f.position,a.f.anchor);var k=f?$.M(a.f.height,b.height):b.height,l=e.top;"middle"==h?l=Math.max(l,b.top+k/2-d/2):"bottom"==h&&(l=Math.max(l,b.top+k-d));d=l;h=e.left;switch(c){case $.Lh:case "left":for(c=0;c<a.b.length;c++)e=a.b[c],k=d-l,d=Lx(e,h,k,b,f,!c,d);break;case "center":for(c=0;c<
a.b.length;c++)e=a.b[c],k=d-l,h=Math.max(b.left,b.left+b.width/2-e.Za.width/2),d=Lx(e,h,k,b,f,!c,d);break;case "end":case "right":for(c=0;c<a.b.length;c++)e=a.b[c],k=d-l,h=Math.max(b.left,b.left+b.width-e.Za.width),d=Lx(e,h,k,b,f,!c,d)}};Lx=function(a,b,c,d,e,f,h){var k=a.Kd(),l=a.height();c+=l;Gx(a,d);e&&c<=d.height||!e||f?(k.setAttribute("x",b+"px"),k.setAttribute("y",h+a.ba),h+=l):(k.setAttribute("x","-99999px"),k.setAttribute("y","-99999px"));return h};
$.Cx=function(a){var b;if(a.ka||a.ga)for(a.G&&$.Cx(a.G),a.N&&$.Cx(a.N),b=0;b<a.g.length;b++){var c=a.g[b];for(var d=0;d<c.length;d++)$.Cx(c[d])}else if(a.U)for(b=0;b<a.b.length;b++)(c=a.b[b])&&$.Cx(c);else{c=a.f;b=a.Kd();if(a.Tn.style){"fontStyle"in c?b.setAttribute("font-style",c.fontStyle):b.removeAttribute("font-style");"fontVariant"in c?b.setAttribute("font-variant",c.fontVariant):b.removeAttribute("font-variant");"fontFamily"in c?(b.setAttribute("font-family",c.fontFamily),b.style.fontFamily=
c.fontFamily):(b.removeAttribute("fontFamily"),b.style.fontFamily="");b.style.textShadow="textShadow"in c&&"none"!=c.textShadow?c.textShadow:"";"fontSize"in c?b.setAttribute("font-size",c.fontSize):b.removeAttribute("font-size");"fontWeight"in c?b.setAttribute("font-weight",c.fontWeight):b.removeAttribute("font-weight");"letterSpacing"in c?b.setAttribute("letter-spacing",c.letterSpacing):b.removeAttribute("letter-spacing");"fontDecoration"in c?b.setAttribute("text-decoration",c.fontDecoration):b.removeAttribute("text-decoration");
"fontColor"in c?c.textOverflow||b.setAttribute("fill",c.fontColor):b.removeAttribute("fill");"fontOpacity"in c?b.setAttribute("opacity",c.fontOpacity):b.removeAttribute("opacity");"disablePointerEvents"in c?b.setAttribute("pointer-events",c.disablePointerEvents?"none":""):b.removeAttribute("pointer-events");if("selectable"in c&&!c.selectable){if(b.style["-webkit-touch-callout"]="none",b.style["-webkit-user-select"]="none",b.style["-khtml-user-select"]="none",b.style["-moz-user-select"]="moz-none",
b.style["-ms-user-select"]="none",b.style["-o-user-select"]="none",b.style["user-select"]="none",$.hd&&9==cd||$.wf)b.setAttribute("unselectable","on"),b.setAttribute("onselectstart","return false;")}else if(b.style["-webkit-touch-callout"]="",b.style["-webkit-user-select"]="",b.style["-khtml-user-select"]="",b.style["-moz-user-select"]="",b.style["-ms-user-select"]="",b.style["-o-user-select"]="",b.style["user-select"]="",$.hd&&9==cd||$.wf)b.removeAttribute("unselectable"),b.removeAttribute("onselectstart");
"anchor"in c?(c=c.anchor,b.setAttribute("text-anchor",$.fc(c,"center")?"middle":$.fc(c,"right")?"end":"start")):b.removeAttribute("text-anchor");a.Tn.style=!1}a.Tn.text&&(b.textContent=a.kc,a.Tn.text=!1)}};
$.Mx=function(a){var b,c;a.Za=new $.J(0,0,0,0);if(a.ga)for(b=0;b<a.g.length;b++){var d=a.g[b];for(c=0;c<d.length;c++)$.Mx(d[c])}else if(a.ka)for($.Mx(a.N),$.Mx(a.G),a.eb=a.N.Za.width-2*a.G.Za.width,b=0;b<a.g.length;b++)for(d=a.g[b],c=0;c<d.length;c++)$.Mx(d[c]);else if(a.U)for(b=0;b<a.b.length;b++)c=a.b[b],$.Mx(c),a.Za.width=Math.max(a.Za.width,c.Za.width),a.Za.height+=c.height();else b=a.Kd().getBBox(),a.Za.left=b.x,a.Za.top=-b.y,a.Za.width=b.width,a.Za.height=a.Ga};
Jx=function(a,b,c,d){$.gc(d,"center")?a.top-=b/2:$.gc(d,"bottom")&&(a.top-=b);a=$.xo(a,c);return{left:a.x,top:a.y}};$.Nx=function(a){$.Du.call(this,a);$.Aa(this.AW,"autoRotate")||this.AW.push("autoRotate");$.T(this.ua,[["autoRotate",4,9]])};$.Ox=function(){$.Hu.call(this);$.T(this.ua,[["autoRotate",16,9]])};
$.Px=function(a,b,c){$.V(this);$.Y.call(this);c||(this.mC=this.Fa($.hr.markersFactory));delete this.ma.enabled;this.Yu=!!b;this.O=!a;this.N=this.ub=null;this.b={};$.T(this.ua,[["position",4,9],["offsetY",4,9],["offsetX",4,9],["fill",16,1],["stroke",16,1,0],["positionFormatter",4,9],["anchor",4,9],["size",4,9],["rotation",4,9],["type",4,9]]);this.B(4294967295);this.da(!0)};
$.Qx=function(){$.Y.call(this);delete this.ma.enabled;this.f={};$.T(this.ua,[["position",4,9],["offsetY",4,9],["offsetX",4,9],["fill",16,1],["stroke",16,1],["positionFormatter",4,9],["anchor",4,9],["size",4,9],["rotation",4,9],["type",16,1]]);this.oi()};$.Rx=function(a,b){return null!=b?(a.g!=b&&(a.g=b,a.B(16,1)),a):a.g};$.Sx=function(a,b){return $.n(b)?(a.N!=b&&(a.N=b,a.B(16,1)),a):a.N};Tx=function(a,b,c,d,e,f){return $.Sx(a)&&$.Rx(a)!=$.Sx(a)?$.n(c)?c:f?e:$.n(b)?b:d:$.n(b)?b:d};Ux=function(){$.Px.call(this)};
Vx=function(){$.Qx.call(this)};Wx=function(){$.Yq.call(this);this.Rb=this.Y=null;this.I(4294967295);$.T(this.ua,[["stroke",0,1],["fill",0,1],["width",0,1],["offset",0,1],["enabled",0,1]])};Xx=function(){$.Yq.call(this);$.T(this.ua,[["stroke",16,1],["length",16,1]])};$.Yx=function(a,b,c,d){$.Yq.call(this);this.Ij=a;this.ua=b;this.ba=c;if($.n(d)){a={};for(var e in this.wB)a[e]=this.wB[e];d=$.hq(a,d);this.wB=a;$.U(this,d,!0)}};$.Zx=function(){return new $.Du};$.$x=function(){return new $.Du(!0)};
$.ay=function(){return new $.Nx(!0)};$.by=function(){return new $.Px};$.cy=function(){return new $.Px(void 0,void 0,!0)};Mca=function(){return new Wx};$.dy=function(a){$.L(a,this.Zd,this);a.ib(this)};Nca=function(a){$.L(a,this.Aea,this);a.ib(this)};$.ey=function(a){$.L(a,this.bp,this);a.ib(this)};Oca=function(a){$.L(a,this.Xga,this);a.ib(this)};Pca=function(a){$.L(a,this.gg,this)};$.fy=function(a,b){for(var c=0;c<b.length;c++)$.iq.apply(null,$.Ga(a.ua,b[c]))};
gy=function(a){"object"!=$.ka(a)||"enabled"in a||(a.enabled=!0)};hy=function(a){var b={labels:a.Da,minLabels:a.D,maxLabels:a.g,headers:a.j,lowerLabels:a.O,markers:a.f,outlierMarkers:a.G,outline:a.N,connector:a.b,background:a.Ka},c;for(c in b){var d=b[c];d&&d.Ye&&(d.Ye(),d.mC.length&&d.Fa.apply(d,d.mC),$.W(a,c,d))}};$.iy=function(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")};
$.ky=function(a,b,c){$.A(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(jy||(jy={atomic:!1,autocomplete:"none",dropeffect:"none",haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientation:"vertical",readonly:!1,relevant:"additions text",required:!1,sort:"none",busy:!1,disabled:!1,hidden:!1,invalid:"false"}),c=jy,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)};$.ly=function(){};
$.my=function(a){$.qf.call(this);this.f=a||$.te();this.ab=Qca;this.Yd=null;this.df=!1;this.pd=null;this.G=void 0;this.D=this.j=this.Y=this.Sg=null;this.eb=!1};$.ny=function(a,b){switch(a){case 1:return b?"disable":"enable";case 2:return b?"highlight":"unhighlight";case 4:return b?"activate":"deactivate";case 8:return b?"select":"unselect";case 16:return b?"check":"uncheck";case 32:return b?"focus":"blur";case 64:return b?"open":"close"}throw Error("Invalid component state");};
$.oy=function(a){a.G||(a.G=new nf(a));return a.G};$.py=function(a){null==a.ab&&(a.ab=$.Qf(a.df?a.pd:a.f.b.body));return a.ab};$.qy=function(a){return a.j?a.j.length:0};$.ry=function(a,b){if(a.D&&b){var c=a.D;c=(null!==c&&b in c?c[b]:void 0)||null}else c=null;return c};$.sy=function(a,b){$.my.call(this,b);this.g=a||""};$.uy=function(){null!=ty||(ty="placeholder"in $.Se(window.document,"INPUT"));return ty};vy=function(a){!a.N&&a.Bg&&a.Ta().form&&(a.Bg.ra(a.Ta().form,"submit",a.gea),a.N=!0)};
$.wy=function(a){return!!a.Ta()&&""!=a.Ta().value&&a.Ta().value!=a.g};$.xy=function(a,b){null!=a.xt&&(a.xt=b);a.Ta().value=b;a.Rn()};$.yy=function(){$.Y.call(this);this.Ba=this.b=this.j=null;this.g=!1;$.eu(this,this);$.T(this.ua,[["scaleRangeMode",4,4]])};
$.Ay=function(a){var b=a.scale();if(b){var c=$.zy(a);c.clear();var d=a.i("to"),e=a.i("from"),f=b.transform(e),h=b.transform(d);f>h&&(d=a.i("from"),e=a.i("to"));f=b.transform(e,0);b=b.transform(d,1);e=Math.min(b,f);var k=Math.max(b,f);(0,window.isNaN)(e)||(0,window.isNaN)(k)||!(0<=k&&1>=e||a.g)||(a.g||(e=$.Za(e,0,1),k=$.Za(k,0,1)),b=a.ja(),d=a.wp(),a.Hb()?(f=Math.floor(b.Ua()-b.height*k),e=Math.ceil(b.Ua()-b.height*e),h=b.qb(),k=b.$a(),c.moveTo(h,f).lineTo(k,f).lineTo(k,e).lineTo(h,e).close()):(f=
b.Ua(),h=b.bc(),e=Math.floor(b.qb()+b.width*e),k=Math.ceil(b.qb()+b.width*k),c.moveTo(e,f).lineTo(e,h).lineTo(k,h).lineTo(k,f).close()),a.g||c.clip(d.nj(b)))}else $.cl(2)};$.zy=function(a){a.D||(a.D=$.nk(),$.du(a,a.D));return a.D};$.By=function(){$.Y.call(this);$.T(this.ua,[["stroke",0,1],["length",0,9],["position",0,9]]);this.path=$.nk();$.du(this,this.path)};
$.Cy=function(a){if(!a.Ko)switch(a.ih){case "top":a.Ko=a.L_;break;case "right":a.Ko=a.aS;break;case "bottom":a.Ko=a.VR;break;case "left":a.Ko=a.ZR}return a.Ko};
$.Dy=function(){$.V(this);$.Y.call(this);this.Fa($.hr.axis);this.Qh=[];this.lk=[];this.zd={};this.zd.orientation="top";this.xe=980;$.T(this.ua,[["width",this.xe,9],["drawFirstLabel",this.xe,9,0,function(){this.Qd();this.Tr()},this],["drawLastLabel",this.xe,9,0,function(){this.Qd();this.Tr()},this],["staggerMode",this.xe,9,0,this.Qd,this],["overlapMode",this.xe,9],["staggerMaxLines",0,0,0,function(){this.Qd();this.Tr();this.i("staggerMode")&&this.B(this.xe,9)},this],["staggerLines",0,0,0,function(){this.Qd();
this.Tr();this.i("staggerMode")&&this.B(this.xe,9)},this],["orientation",this.xe,9,0,this.Tr,this],["stroke",this.xe,9]]);this.da(!1)};$.Ey=function(a,b){if($.n(b)){var c=a.i("orientation")!=b;a.zd.orientation=b;c&&a.B(a.xe)}};
Gy=function(a,b){if(a.labels().enabled()||a.kb().enabled())if(a.i("staggerMode"))if(a.ka)var c=a.ka;else{var d=a.labels();if((c=a.scale())&&d.enabled()){a.GI=1;a.D=1;c=c.Qa().get();for(var e=c.length,f,h,k,l,m=0;m<e;m++)a.Vd(m,!0,c,b);d=d.i("position");var p=a.eH&&0>$.Ao(d)?a.eH:null,q=a.i("staggerMaxLines"),r=a.i("staggerLines"),t=a.i("drawFirstLabel"),u=a.i("drawLastLabel");d=[];for(m=0;m<e;m++)!m&&!t||m==e-1&&!u?d[m]=!1:(h=a.hd(m,!0,c,b),d[m]=p?!Fy(a,p,h):!0);if(null===r){var v=!1;for(m=1;!v&&
m<=e;)for(v=!0,h=0;h<m;h++){for(f=h;f<e-m;f+=m){k=a.hd(f,!0,c,b);var w=a.hd(f+m,!0,c,b);if(d[f]&&$.Zm(k,w)){v=!1;m++;break}}if(!v)break}a.GI=v?m:e;a.D=null!==q&&a.GI>q?q:a.GI}else a.D=r;if((null!==r||null!==q&&a.GI>q)&&"no-overlap"==a.i("overlapMode")){for(f=0;f<a.D;f++)for(q=-1,m=f;m<e;m+=a.D)k=a.hd(m,!0,c,b),-1!=q?w=a.hd(q,!0,c,b):w=null,m!=e-1&&a.i("drawLastLabel")?l=a.hd(e-1,!0,c,b):l=null,h=p?!Fy(a,p,k):!0,m?m==e-1?u&&h?(q=m,d[m]=!0):d[m]=!1:!h||$.Zm(k,w)||$.Zm(k,l)?d[m]=!1:(q=m,d[m]=!0):t&&
h?(q=m,d[m]=!0):d[m]=!1;t||(d[0]=!1);u||(d[d.length-1]=!1)}w={labels:d,kb:!1};a.O=[];a.ba=[];a.f||(a.f=[]);for(m=h=0;m<e;m++)if(!d||d&&d[m]){a.f[m]?l=a.f[m]:(l=a.hd(m,!0,c,b),a.f[m]=l=$.jn(l));l=a.Hb()?l.height:l.width;if(!a.O[h]||a.O[h]<l)a.O[h]=l;a.ba[h]||(a.ba[h]=[]);a.ba[h].push(m);(h+1)%a.D?h++:h=0}c=a.ka=w}else c=a.ka={labels:!1,kb:!1}}else c=a.Px(b);else c=!0;return c};
$.Hy=function(a,b,c,d){var e=0,f=0,h=0,k=a.title();var l=a.labels();var m=a.kb(),p=a.i("orientation");k.enabled()&&(k.P()||k.P(a.P()),$.V(k),k.ja(b),$.Qv(k,p),h=a.Hb()?k.gi().height:k.gi().width,k.da(!1));k=a.scale();l=l.enabled()&&$.n(k);m=m.enabled()&&$.n(k)&&$.K(k,$.Ys);var q=a.Hb()?c:0;c=a.Hb()?0:c;var r=b?b.left:0;var t=b?b.top:0;var u=a.padding(),v=$.M(u.i("top"),b.height),w=$.M(u.i("right"),b.width),x=$.M(u.i("bottom"),b.height);b=$.M(u.i("left"),b.width);switch(p){case "top":r+=b;t+=v;break;
case "right":r+=q-w;t+=v;break;case "bottom":r+=b;t+=c-x;break;case "left":r+=b,t+=v}p=new $.J(r,t,q,c);q=Gy(a,p);r=a.i("staggerMode");if(l&&k)if(c=k.Qa().get(),v=$.D(q)?q.labels:!q,r)for(l=0;l<a.O.length;l++)e+=a.O[l];else for(l=0,b=c.length;l<b;l++)if($.A(v)?v[l]:v)t=$.jn(a.hd(l,!0,c,p)),t=a.Hb()?t.height:t.width,t>e&&(e=t);if(m&&!r)for(m=$.D(q)?q.kb:!q,c=k.tb().get(),l=0,b=m.length;l<b;l++)if($.A(m)?m[l]:m)t=$.jn(a.hd(l,!1,c,p)),t=a.Hb()?t.height:t.width,t>f&&(f=t);return a.TZ(e,f,d)+h};
Iy=function(a,b){var c=a.scale();return $.A(b)?(c.transform(b[0],0)+c.transform(b[1],1))/2:c.transform(b,.5)};Rca=function(a,b,c,d,e){var f=$.n(e)?e:a.lb();e=$.n(e)?e:a.line.pb();var h=c?a.Qa():a.tb(),k=c?a.labels():a.kb();c=a.i("stroke");c=$.Wo(c);b=Iy(a,d[b]);d=k.i("position");h=$.Bo(h,$.Ao(d));a=a.B0(f,b,c,h,e);return{value:{x:a.x,y:a.y}}};
Fy=function(a,b,c){var d=!1;switch(a.i("orientation")){case "top":case "bottom":d=b.left>c[0]||b.$a()<c[2];break;case "right":case "left":d=b.top>c[1]||b.Ua()<c[7]}return d};Jy=function(){$.Dy.call(this)};$.Ky=function(){gv.call(this);this.Ba=this.b=this.j=null;this.D="horizontal";this.g=null;this.G=!1;$.eu(this,this);$.T(this.ua,[["align",4,9],["scaleRangeMode",4,4]])};$.Ly=function(a,b){var c=!a.f&&a.D!=b;a.D=b;c&&a.B(4)};
My=function(a){return $.n(void 0)?(void 0!==a.i("value")&&a.value(void 0),a):a.i("value")};$.Ny=function(a){$.Yq.call(this);this.b=a||null;this.Da=null;this.Qz={};this.f=[];this.re=[];this.g=!1};
$.Py=function(a){a.g=!1;if(a.b)var b=$.A(a.b)?a.b:[a.b];else{var c=$.Jo($.Ko());var d=$.Jo("default");d=(c=c||d)&&c.formats||d.formats}if(b)for(c=0;c<b.length;c++){var e=b[c];e in a.Qz||Oy(a,e)}else if(d)for(var f in d){if(b=d[f],$.fc(f,"timeline_"))for(c=0;c<b.length;c++)e=b[c],e in a.Qz||Oy(a,e)}else"yyyy/MM/dd'T'HH:mm:ss.SSS"in a.Qz||Oy(a,"yyyy/MM/dd'T'HH:mm:ss.SSS")};$.Qy=function(a){if(!a.g){for(var b=0;b<a.re.length;b++){var c=a.re[b],d=a.f[b];d.width=c.Za.width;d.height=c.Za.height}a.g=!0}};
Oy=function(a,b){var c={index:a.f.length,width:window.NaN,height:window.NaN,format:b};a.Qz[b]=c;a.f.push(c);c=new $.vx;c.text($.js(Sca,b,0));c.style(a.labels().flatten());$.Cx(c);a.re.push(c)};$.Ry=function(){$.Ys.call(this);this.Fa("defaultLinearColorScale");this.KH=this.QH=0;this.Zv=10};$.Sy=function(a){var b=new $.Ry;b.K(b.ma);b.sj.apply(b,arguments);return b};Ty=function(a){$.At.call(this,a)};
$.Uy=function(){Ks.call(this);this.Ye().Fa("defaultScaleSettings.ordinalColor","defaultOrdinalColorScale");this.Bf=this.Ne=null;this.ad=[];this.Mn=this.ek=null;this.oa=[];this.QU=!1};
Tca=function(a){$.Qa(a,function(a,c){var b=a.start>c.start?1:a.start<c.start?-1:0;b||(b=a.end>c.end?1:a.end<c.end?-1:0);if(a.No&&c.No?Math.max(a.start,c.start)<=Math.min(a.end,c.end):Math.max(a.start,c.start)<Math.min(a.end,c.end))a.start>c.start?a.sourceIndex>c.sourceIndex?c.end=a.start:(a.start=c.end,a.start>=a.end&&(a.enabled=!1)):a.start<c.start?a.sourceIndex>c.sourceIndex?(c.start=a.end,c.start>=c.end&&(c.enabled=!1)):a.end=c.start:a.sourceIndex>c.sourceIndex?(c.start=a.end,c.start>=c.end&&(c.enabled=
!1)):(a.end=c.start,a.start>=a.end&&(a.enabled=!1));return b})};$.Vy=function(a){var b=new $.Uy;b.K(b.ma);b.yy(a);return b};$.Wy=function(){$.Y.call(this);this.Fa("defaultGridSettings");this.j=null;this.KK="horizontal";this.Ea=this.Rb=this.Y=null;this.D={};this.U=null;$.T(this.ua,[["stroke",16],["fill",4],["drawFirstLine",64],["drawLastLine",64],["isMinor",80,9]])};Xy=function(a,b){$.K(b,$.ys)||$.D(b)&&"range"==b.type?a.Ic($.ys):($.K(b,$.vs)||$.D(b)||null==a.Ea)&&a.Ic($.vs)};
$.Yy=function(a,b){var c=!a.f&&a.KK!=b;a.KK=b;c&&a.B(64)};Zy=function(a,b,c){var d=b?a.U:a.na;if($.n(c)){var e=c&&$.E(c.Na)&&c.Na(),f=(e="stock-scatter-date-time"==e||"stock-ordinal-date-time"==e)?c==d?null:c:$.Xs(d,c,null,15,null,a.kg,a);if(f||null===c&&d)c=d==f,f||$.Zq(d,a.kg,a),d=f,b?a.U=d:a.na=d,f&&!e&&f.da(c),c||a.B(20,9)}};
$.$y=function(a,b){var c=a.i("fill");if($.E(c)){var d={index:b,grid:a,palette:a.cc()||a.Y.cc()};c=c.call(d)}d=b in a.D?a.D[b.toString()]:a.D[b.toString()]=a.LY();d.fill(c);return d};az=function(){$.Wy.call(this)};bz=function(){$.Wy.call(this)};dz=function(){$.qf.call(this);this.Xb=$.cz;this.D=this.j=null};$.gz=function(a){a=$.oa(a);delete ez[a];$.Jc(ez)&&fz&&fz.stop()};hz=function(){fz||(fz=new $v(function(){Uca()},20));var a=fz;a.$p()||a.start()};
Uca=function(){var a=(0,$.Fn)();$.Dc(ez,function(b){b.HF(a)});$.Jc(ez)||hz()};$.iz=function(a,b,c,d){dz.call(this);if(!$.A(a)||!$.A(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.b=a;this.f=b;this.duration=c;this.N=d;this.coords=[];this.Ed=0};jz=function(a,b){$.E(a.N)&&(b=a.N(b));a.coords=Array(a.b.length);for(var c=0;c<a.b.length;c++)a.coords[c]=(a.f[c]-a.b[c])*b+a.b[c]};
kz=function(a,b){ud.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.duration=b.duration;this.Ed=b.Ed;this.state=b.Xb};lz=function(){dz.call(this);this.$b=[]};mz=function(){lz.call(this);this.b=0};nz=function(){lz.call(this);this.b=0};oz=function(){mz.call(this)};$.pz=function(a,b,c,d,e){$.iz.call(this,b,c,d,e);this.W=a};qz=function(a,b,c){$.pz.call(this,a,[],[],b,c)};rz=function(a,b,c){$.pz.call(this,a,[0,0],[0,0],b,c);this.G=window.NaN};
sz=function(a,b,c){$.pz.call(this,a,[],[],b,c)};$.uz=function(a,b,c){var d;a.prototype.Pr?d=$.Qc(a.prototype.Pr):d={};if($.A(c))for(var e=0;e<c.length;e++)tz(d,b,c[e]);else tz(d,b,c);a.prototype.Pr=d};tz=function(a,b,c){a[b]||(a[b]={Kw:0,c2:-1,JI:{}});a=a[b];var d=a.JI;if(d[c])$.el(702,void 0,[b,c]);else if(31==a.c2)$.el(700,void 0,[b]);else{var e=++a.c2;d[c]=1<<e;a.Kw|=d[c];31==e&&$.el(701,void 0,[b])}};
$.vz=function(){$.Yq.call(this);this.bX=[{Sj:"area splineArea stepArea rangeArea rangeSplineArea rangeStepArea polygon".split(" "),DO:"areaLike"},{Sj:"bar column box rangeBar rangeColumn candlestick waterfall".split(" "),DO:"barLike"},{Sj:"hilo line spline stepLine jumpLine ohlc stick polyline".split(" "),DO:"lineLike"},{Sj:"rangeBar rangeColumn rangeArea rangeSplineArea rangeStepArea hilo".split(" "),DO:"rangeLike"}];this.fB={}};$.wz=function(){$.Y.call(this)};
$.xz=function(){$.ox.call(this);this.fb=[];this.dc=this.Yc=this.Be=this.Ea=null;var a={};$.T(a,[["labels",0,0],["minLabels",0,0],["maxLabels",0,0]]);this.ca=new $.Yx(this,a,$.Zl);this.ca.pa("labelsFactoryConstructor",$.$x);this.ca.pa("labelsAfterInitCallback",function(a){a.I(4294967295);$.L(a,this.Zd,this)});a={};$.T(a,[["labels",0,0],["minLabels",0,0],["maxLabels",0,0]]);this.xa=new $.Yx(this,a,$.po);this.xa.pa("labelsFactoryConstructor",$.$x);$.T(a,[["labels",0,0],["minLabels",0,0],["maxLabels",
0,0]]);this.Ca=new $.Yx(this,a,$.qo);this.Ca.pa("labelsFactoryConstructor",$.$x);$.T(this.ua,[["defaultSeriesType",0,0],["maxBubbleSize",32768,1,0,this.D1],["minBubbleSize",32768,1,0,this.D1],["pointWidth",32768,1,0,this.ay],["maxPointWidth",32768,1,0,this.ay],["minPointLength",32768,1,0,this.IA],["baseline",32768,1,0,this.Bha]])};$.yz=function(a,b){function c(a){return function(b,c){return this.te(a,b,c)}}var d=a.prototype,e;for(e in b){var f=$.om(e);d[f]=c(e)}};
$.zz=function(a){var b,c=[Number.MAX_VALUE,-Number.MAX_VALUE];for(b=a.fb.length;b--;)if(a.fb[b].hk()){var d=a.fb[b],e=c;if(d.J(512)){d.ZN=Number.POSITIVE_INFINITY;d.YN=Number.NEGATIVE_INFINITY;for(var f=d.Qf();f.advance();){var h=Number(f.get("size"));!(0,window.isNaN)(h)&&(0<=h||d.i("displayNegative"))&&(h=Math.abs(h),h>d.YN&&(d.YN=h),h<d.ZN&&(d.ZN=h))}}e[0]=Math.min(e[0],d.ZN);e[1]=Math.max(e[1],d.YN)}for(b=a.fb.length;b--;)a.fb[b].hk()&&(d=a.fb[b],e=c[1],f=a.i("minBubbleSize"),h=a.i("maxBubbleSize"),
d.cV=c[0],d.s2=e,d.Ffa=f,d.yfa=h)};$.Az=function(a,b,c,d,e){var f;if(a.J(32768)){$.kr(a.fb);var h=0;for(f=a.fb.length;h<f;h++){var k=a.fb[h];k.P(a.La);k.ja(a.dc);a.u4(k,b,c,d,e)}a.PZ();a.J_();a.PP();a.IA(!0);a.I(32768);$.mr(a.fb)}};$.Bz=function(a){function b(){this.ay()}$.xz.call(this);this.gW=this.Aw=null;this.rs=void 0;this.Bo=a;this.wc=this.cb=null;this.YC=!1;this.an={};this.Xl={};this.$j=[];this.Lo={};$.T(this.ua,[["barGroupsPadding",32772,9,0,b],["barsPadding",32772,9,0,b]])};
$.Cz=function(a,b){for(var c=0,d=0;d<a.fb.length;d++){var e=a.fb[d];!e||!e.enabled()||b&&e.cl()!=b&&e.bb()!=b||(c|=e.B(1024))}c&&a.B(32768,1)};Dz=function(a){if(a.J(131072)){$.kr(a.fb);var b,c,d=a.fb.length,e=!d,f={},h={};for(b=0;b<d;b++)if(c=a.fb[b]){var k=c.Va(),l=$.oa(k);f[l]=k;l in a.Xl||(e=!0);k=c.bb();l=$.oa(k);h[l]=k;l in a.an||(e=!0)}a.an=h;a.Xl=f;e&&(a.iA(),a.B(302350336));$.mr(a.fb);a.I(131072)}};
Wca=function(a){if(a.J(65536)){var b,c,d,e=a.fb.length,f;a.$j=[];a.Lo={};a.fL={};for(k in a.Xl){var h=a.Xl[k];h.Hf()&&h.tg()}for(b=0;b<e;b++)if((d=a.fb[b])&&d.enabled()){h=d.Va();var k=$.oa(h);(f=a.Lo[k])||(a.Lo[k]=f=[]);if($.K(h,$.Ct)){var l=!h.Hf();if(f.length){var m=f[f.length-1];h=m.Tw;m=m.$O}else l?(m=h.values(),h=h.nB):(m=[],h={});m=Ez(d,h,m,l)}else m=$.Fz(d,!0,$.K(h,$.$s));f.push(m);a.$j.push(m);(h=a.fL[k])||(a.fL[k]=h={});k=$.oa(d.bb());(f=h[k])||(h[k]=f=[]);f.push(m)}for(k in a.Lo){f=a.Lo[k];
h=f[0].W.Va();if(1<f.length)if(m=f[f.length-1],$.K(h,$.Ct))for(d=m.$O,b=0;b<f.length-1;b++)for(m=f[b],c=m.data.length;c<d.length;c++)m.data.push(Gz(d[c]));else{d=[];var p;e=f[0].data;m=f[1].data;c=e.length;var q=m.length;var r=l=0;var t=l<c?e[l].data.x:window.NaN;for(p=r<q?m[r].data.x:window.NaN;!(0,window.isNaN)(t)&&!(0,window.isNaN)(p);){var u=t<=p;var v=t>=p;d.push(u?t:p);u&&(l++,t=l<c?e[l].data.x:window.NaN);v&&(r++,p=r<q?m[r].data.x:window.NaN)}for(;!(0,window.isNaN)(t);)d.push(t),l++,t=l<c?
e[l].data.x:window.NaN;for(;!(0,window.isNaN)(p);)d.push(p),r++,p=r<q?m[r].data.x:window.NaN;for(b=2;b<f.length;b++){var w=[];e=d;m=f[b].data;c=e.length;q=m.length;r=l=0;t=l<c?e[l]:window.NaN;for(p=r<q?m[r].data.x:window.NaN;!(0,window.isNaN)(t)&&!(0,window.isNaN)(p);)u=t<=p,v=t>=p,w.push(u?t:p),u&&(l++,t=l<c?e[l]:window.NaN),v&&(r++,p=r<q?m[r].data.x:window.NaN);for(;!(0,window.isNaN)(t);)w.push(t),l++,t=l<c?e[l]:window.NaN;for(;!(0,window.isNaN)(p);)w.push(p),r++,p=r<q?m[r].data.x:window.NaN;d=
w}for(b=0;b<f.length;b++)if(m=f[b],e=m.data,c=e.length,c<d.length){r=[];l=0;t=(q=e[l])?q.data.x:window.NaN;for(c=0;c<d.length;c++)p=d[c],t<=p?(r.push(q),l++,t=(q=e[l])?q.data.x:window.NaN):r.push(Gz(p));m.data=r}}e=!1;l={};for(b=0;b<f.length;b++)if(m=f[b],d=m.W,d=d.Am||[],d.length)for(e=!0,c=0;c<d.length;c++)t=d[c],l[t]=!0,m.data[t].o.missing=(Number(m.data[t].o.missing)||0)|(Number(Hz)||0);e&&(l=paa(l,function(a,b){for(var c=0;c<f.length;c++)if(!Iz(f[c].data[+b].o.missing,Vca))return!1;return!0}));
m=f[0];if(h.Hf())if($.K(h,$.Ct))a.JQ(h,f,e,l);else if(m.data.length){if(e)for(b=0;b<m.data.length;b++)b in l||h.Uc(m.data[b].data.x);else h.Uc(m.data[0].data.x,m.data[m.data.length-1].data.x);if(Jz(m.W))if(m.IT)for(d=m.W.vc();d.advance();)Iz(d.o("missing"),Kz)||(e=m.W.error().bs(!0),b=d.get("x"),h.Uc(b-e[0],b+e[1]));else Lz(m.W.error())&&(d=m.W.vc(),d.select(0),e=m.W.error().bs(!0),b=d.get("x"),h.Uc(b-e[0],b+e[1]),d.select(m.data.length-1),e=m.W.error().bs(!0),b=d.get("x"),h.Uc(b-e[0],b+e[1]))}$.K(h,
$.Ct)&&a.qS(h,f)}a.RQ();for(k in a.Xl)h=a.Xl[k],h.Hf()&&h.Cg();$.Jc(a.Xl)&&a.Va().Hf()&&(a.Va().tg(),a.Va().Cg());a.I(65536)}};
Xca=function(a){if(a.J(262144)){var b,c;a.YC=!1;for(c in a.an){var d=a.an[c];d.Hf()&&d.tg()}for(var e in a.fL){var f=a.Lo[e][0].data;d=f.length;var h=a.Xl[e];if($.K(h,$.Ct))if(d){var k=$.Za(Math.floor(a.lT()*d-1),0,d-1);var l=$.Za(Math.ceil(a.kT()*d+1),0,d-1);h=$.Za(Math.floor(a.lT()*d+.5),0,d-1);var m=$.Za(Math.floor(a.kT()*d-.5),0,d-1)}else k=l=h=m=window.NaN;else{k=h.Fc(0);l=h.Fc(1);if(d){var p=function(a,b){return a-b.data.x};k=$.Na(f,k,p);0>k&&(k=~k-1);k=$.Za(k,0,d-1);l=$.Na(f,l,p);0>l&&(l=~l);
l=$.Za(l,0,d-1);h.inverted()&&(f=k,k=l,l=f)}else k=l=window.NaN;h=k;m=l}var q=a.fL[e];for(var r in q){p=q[r];d=a.an[r];f=a.GG(d);var t=a.bb().Iw();var u="none"!=f,v="direct"==t,w="percent"==f;if(u){var x=[];for(b=k;b<=l;b++)x.push({qw:0,jp:0,iw:0,pw:0,fp:0,hw:0,JD:!1,uD:!1,ys:!1,gE:{CA:window.NaN,wA:window.NaN,eM:!1,M_:!1}})}for(t=0;t<p.length;t++){var y=p[v?p.length-t-1:t];var B=y.W;y.Ei=k;y.lastIndex=l;y.FI=u&&B.check(32);y.Wt=window.Infinity;y.Vt=-window.Infinity;a.YC=a.YC||y.FI;f=y.data;if(y.FI||
w)for(b=k;b<=l;b++){var G=f[b];var C=x[b-k];G.o.shared=C.gE;G.o.stackedMissing=C.ys;if(Iz(G.o.missing,Kz))C.ys=!0;else{B=a.L0(G);b>=h&&b<=m&&(y.Wt>B&&(y.Wt=B),y.Vt<B&&(y.Vt=B));0<=B?(G.o.stackedZero=C.jp,C.jp+=B,G.o.stackedValue=C.jp,w||(C.JD?(G.o.stackedZeroPrev=C.qw,G.o.stackedValuePrev=C.qw+B):G.o.stackedZeroPrev=G.o.stackedValuePrev=window.NaN,C.uD?(G.o.stackedZeroNext=C.iw,G.o.stackedValueNext=C.iw+B):G.o.stackedZeroNext=G.o.stackedValueNext=window.NaN)):(G.o.stackedZero=C.fp,C.fp+=B,G.o.stackedValue=
C.fp,w||(C.JD?(G.o.stackedZeroPrev=C.pw,G.o.stackedValuePrev=C.pw+B):G.o.stackedZeroPrev=G.o.stackedValuePrev=window.NaN,C.uD?(G.o.stackedZeroNext=C.hw,G.o.stackedValueNext=C.hw+B):G.o.stackedZeroNext=G.o.stackedValueNext=window.NaN));if(!w){a.Vr(d,G.o.stackedValuePrev);a.Vr(d,G.o.stackedValue);a.Vr(d,G.o.stackedValueNext);if(G=f[b-1])Iz(G.o.missing,Kz)?C.JD=!0:0<=B?C.qw+=B:C.pw+=B;if(G=f[b+1])Iz(G.o.missing,Kz)?C.uD=!0:0<=B?C.iw+=B:C.hw+=B}C.ys=!1;C.gE.eM=C.gE.eM||!(!C.jp&&!C.fp)}}else{var I=B.ue();
for(b=k;b<=l;b++)if((G=f[b])&&!Iz(G.o.missing,Kz)){for(C=0;C<I.length;C++)a.Vr(d,G.data[I[C]]);if(b>=h&&b<=m)for(C=0;C<I.length;C++)B=$.N(G.data[I[C]]),y.Wt>B&&(y.Wt=B),y.Vt<B&&(y.Vt=B)}if(y.W.check(256))for(b=k;b<=l;b++)if(G=f[b],B=G.data.outliers,!Iz(G.o.missing,Kz)&&$.A(B))for(C=0;C<B.length;C++)a.Vr(d,B[C]);if(Jz(y.W)&&(Lz(y.W.error())||y.n1))for(f=y.W.vc();f.advance();)Iz(f.o("missing"),Kz)||(b=y.W.error().bs(!1),B=$.N(f.get("value")),a.Vr(d,B-b[0]),a.Vr(d,B+b[1]))}}if(w)for(a.Vr(d,0),t=0;t<
p.length;t++)for(y=p[t],f=y.data,b=k;b<=l;b++)G=f[b],C=x[b-k],Iz(G.o.missing,Kz)?(G.o.stackedPositiveZero=G.o.stackedPositiveZero/C.jp*100||0,G.o.stackedNegativeZero=G.o.stackedNegativeZero/C.fp*100||0):(B=G.o.stackedValue,0<=B?(v=C.jp,B&&a.Vr(d,100)):(v=-C.fp,a.Vr(d,-100)),G.o.stackedZero=G.o.stackedZero/v*100||0,G.o.stackedValue=G.o.stackedValue/v*100||0);u&&a.k3(p,k,l,d)}}a.SQ();for(c in a.an)d=a.an[c],d.Hf()&&d.Cg();$.Jc(a.an)&&a.bb().Hf()&&(a.bb().tg(),a.bb().Cg());a.B(1572864);a.I(262144)}};
Mz=function(a){var b=[],c;for(c in a)b.push(a[c]);return b};
Oz=function(a,b,c){var d=a.dc||$.gn(0,0,0,0),e=d.left,f=d.top,h=d.width,k=d.height;d=$.Wj(a.P().Ha());b-=d.x;c-=d.y;d=a.rs?(k-(c-f))/k:(b-e)/h;if(b<e||b>e+h||c<f||c>f+k)return null;e=[];f=0;for(h=a.fb.length;f<h;f++)if((k=a.fb[f])&&k.enabled()){var l=k.Va().Fc(d);if(a.Bo){l=$.Nz(k,l);var m=0<=l?[l]:$.A(l)?l:[]}else m=$.rr(k.data(),l,$.K(k.Va(),$.Ct));l=k.aa();var p=window.Infinity;if(m.length){for(var q=0;q<m.length;q++)if(l.select(m[q])){var r=l.o("x");var t=k.ue();for(var u=0;u<t.length;u++){var v=
l.o(t[u]);v=$.dn(r,v,b,c);if(v<p){p=v;var w=m[q]}}}e.push({W:k,md:m,xn:m[m.length-1],we:{index:w,Yf:p}})}}return e};$.Pz=function(a,b,c,d,e,f,h,k){for(var l=[],m=0;m<d.length;m++){var p=d[m];p&&l.push(e.call(a,p,f,h,k))}l.length&&(b[c]=l)};$.Qz=function(a,b,c,d,e){if(c){var f=$.oa(c);f in e||(e[f]=d.length,d.push(c.F()));a[b]=e[f]}};$.Rz=function(){$.yy.call(this);this.Fa("defaultLineMarkerSettings");this.G="horizontal";$.T(this.ua,[["stroke",16,1],["value",0,0,0,function(){this.B(4,this.OC())}]])};
$.Sz=function(a,b){var c=!a.f&&a.G!=b;a.G=b;c&&a.B(4)};Tz=function(){$.Rz.call(this);this.Fa("standalones.lineAxisMarker")};$.Uz=function(){function a(){this.B(4,this.OC())}$.yy.call(this);this.Fa("defaultRangeMarkerSettings");this.G="horizontal";$.T(this.ua,[["fill",16,1],["from",0,0,0,a],["to",0,0,0,a]])};$.Vz=function(a,b){var c=!a.f&&a.G!=b;a.G=b;c&&a.B(4)};Wz=function(){$.Uz.call(this);this.Fa("standalones.rangeAxisMarker")};
$.Xz=function(){$.Ky.call(this);this.Fa("defaultFontSettings","defaultLabelSettings","defaultTextMarkerSettings");$.T(this.ua,[["value",0,0,0,function(){this.B(4,this.OC())}]])};Yz=function(){$.Xz.call(this);this.Fa("standalones.textAxisMarker")};Zz=function(){gv.call(this);this.U=0;this.yo=this.xo=window.NaN;$.T(this.ua,[["format",20,9],["axisIndex",0,2]])};
$.$z=function(){$.Y.call(this);this.ec=this.Gl=null;this.wr=$.nk();this.zr=$.nk();this.wr.td(!0);this.zr.td(!0);this.xX=!0;this.Y=this.Rb=null;this.nK={};$.T(this.ua,[["xStroke",16,1],["yStroke",16,1],["displayMode",0,0]])};cA=function(a,b,c){a=c?$.aA(a):$.bA(a);for(c=0;c<b.length;c++)b[c]&&a[c]&&a[c].Ye().parent(b[c])};
dA=function(a,b,c,d){var e;for(e in a.nK){var f=a.nK[e];var h=d?$.aA(f):$.bA(f);(h=h[c])||(h=d?f.oB(c):f.pB(c));h.Ye().parent(b)}a.Y&&(h=d?$.aA(a.Y):$.bA(a.Y),(e=h[c])||(e=d?a.Y.oB(c):a.Y.pB(c)),b.Ye().parent(e))};$.eA=function(a){switch(a.orientation()){case "left":return"right-center";case "top":return"center-bottom";case "right":return"left-center";case "bottom":return"center-top";default:return"left-top"}};
$.aA=function(a){if(!a.bP){a.bP=[];var b=a.ma.xLabels,c;if($.A(b))for(c=0;c<b.length;c++)a.oB(c,b[c]);else"xLabel"in a.ma&&a.oB(0,a.ma.xLabel)}return a.bP};$.bA=function(a){if(!a.cP){a.cP=[];var b=a.ma.yLabels,c;if($.A(b))for(c=0;c<b.length;c++)a.pB(c,b[c]);else"yLabel"in a.ma&&a.pB(0,a.ma.yLabel)}return a.cP};$.fA=function(a,b){for(var c=a.length,d=0;d<c;d++){var e=a[d];e&&e.P(b)}};$.gA=function(a,b){for(var c=a.length,d=0;d<c;d++){var e=a[d];e&&e.ja(b)}};
$.hA=function(a,b){return $.n(b)?(a.Gl!=b&&(a.Gl&&(a.Gl.ac("mouseover",a.rg,!1,a),a.Gl.ac("mousemove",a.rg,!1,a),a.Gl.ac("mouseout",a.Gg,!1,a)),a.Gl=b,a.Gl&&(a.Gl.ra("mouseover",a.rg,!1,a),a.Gl.ra("mousemove",a.rg,!1,a),a.Gl.ra("mouseout",a.Gg,!1,a))),a):a.Gl};iA=function(a,b){if($.n(b))b.P(null),b.remove();else for(var c=$.aA(a),d=0;d<c.length;d++){var e=c[d];e&&(e.P(null),e.remove())}};jA=function(a){a=a.Tz();return"left-top"==a||"center-top"==a||"right-top"==a};
kA=function(){$.Yq.call(this);$.iq(this.ua,"stroke",0,1)};lA=function(){$.ku.call(this);this.Fa("chart.defaultQuarterSettings");this.Pa=this.Mc=this.sb=null;this.Da=[]};mA=function(a){$.Yq.call(this);this.Fa("chart.defaultQuarterSettings");this.Ba=a;this.g=this.b=this.f=this.j=null;this.D=[]};$.nA=function(a){$.Bz.call(this,a);this.Ef=null;this.b=[];this.Wf=[];this.ag=[];this.cg=[];this.eg=[];this.Lg=[];this.Mg=[];this.Wg=[];this.Xg=[];this.U=null;this.N=$.fl.anychart.annotations};
oA=function(a,b){var c=b.Hb()^a.za()?a.bb():a.Va();$.K(b,$.Wy)?Zy(b,!0,c):b.ZJ(c)};pA=function(a,b,c){a.ob();b=$.Qc(b);var d=$.Ga(a.ag,a.cg,a.eg,a.Lg,a.Mg,a.Wg,a.Xg),e,f;for(f=0;f<d.length;f++)if(e=d[f]){var h=!!(e.Hb()^a.za());c^h&&(h=e.scale())&&(e=String($.oa(h)),e in b||(b[e]=h))}a=c?a.b:a.Wf;for(f=0;f<a.length;f++)if(h=a[f]&&a[f].scale())e=String($.oa(h)),e in b||(b[e]=h);return b};
qA=function(a,b){for(var c=Mz(b),d=$.Ga(a.ag,a.cg,a.eg),e=0;e<d.length;e++){var f=d[e];if(f&&f.enabled()){var h=f.Hb()^a.za()?a.bb():a.Va();if(h=f.scale()?f.scale():h)for(var k=0;k<c.length;k++){var l=c[k];l===h&&"consider"==f.i("scaleRangeMode")&&l.Uc.apply(l,f.ds())}}}};$.rA=function(a,b){var c=a.Et(),d=$.n(b)?b:a.ma,e=$.n(b);a.Ul(d.xGrids,a.Zm,c,e);a.Ul(d.yGrids,a.$m,c,e);a.Ul(d.xMinorGrids,a.xr,c,e);a.Ul(d.yMinorGrids,a.Ar,c,e)};$.sA=function(a,b){this.Aa=a;this.index=$.O(b,0,!0);this.Vm={}};
$.tA=function(a,b){$.sA.call(this,a.mc(),b);this.W=a};uA=function(a,b){$.tA.call(this,a,b)};$.vA=function(a,b,c,d){b?a.moveTo(d,c):a.moveTo(c,d)};$.wA=function(a,b,c){if(b){var d=1;var e=0}else d=0,e=1;for(var f=2;f<arguments.length;f+=2)a.lineTo(arguments[f+d],arguments[f+e])};$.xA=function(a){$.od.call(this);this.W=a};yA=function(a,b){return 0>(a.prevValue-a.ba||1)*(b-a.ba||1)};Iz=function(a,b){return!!((Number(a)||0)&(b||255))};
zA=function(a){$.Yq.call(this);this.Oa=a;this.b=null;$.T(this.ua,[["start",0,1],["point",0,1],["updatePoint",0,1],["finish",0,1],["needsZero",0,4],["needsWidth",0,4],["yValues",0,4]])};CA=function(a,b,c,d,e){if(a){var f=void 0;if(e&&(f=c.o("shapes"),!f))return;b=c?new AA(b,c,d||$.Zl,f):new BA(b);a.call(b,b)}};BA=function(a){this.series=a;this.seriesState=a.Nj()};
AA=function(a,b,c,d){BA.call(this,a);this.b=b;for(var e=a.ue(),f=0;f<e.length;f++){var h=e[f];this[h]=b.o(h)}a.check(2)&&(this.size=b.o("size"));this.x=b.o("x");this.pointState=c;this.missing=!!b.o("missing");this.categoryWidth=a.XZ;a.Yo()&&(this.pointWidth=a.mr);$.DA(a)&&(this.zero=b.o("zero"));d&&(this.shapes=d)};
$.EA=function(a,b,c,d,e,f){$.od.call(this);this.O=d||"shapes";this.Cb=e||$.ia;this.W=a;this.Dd=null;this.U=c;this.g={};this.D={};this.G={};this.f={};this.oC=!!f;for(a=0;a<b.length;a++){c=b[a];d=$.Vl(c.Sb,c.Bb?3:1,c.Vb,c.nk);e=$.Vl(c.Tb,2,c.Vb,c.nk);f=c.Mb;switch(String(f).toLowerCase()){case "none":var h=null;break;case "rect":h=$.jk;break;case "circle":h=$.kk;break;case "ellipse":h=$.mk;break;default:h=$.nk}this.g[f]||(this.g[f]=[],this.D[f]=[],this.G[f]=0);this.f[c.name]={fill:d,stroke:e,zIndex:+c.zIndex,
Bb:c.Bb,aR:h,Mb:f,Sb:c.Sb,Tb:c.Tb}}};$.FA=function(a,b){if(a.Dd!=b){a.Dd=b;for(var c in a.g)for(var d=a.g[c],e=0;e<d.length;e++)d[e].parent(b)}};HA=function(a,b,c,d,e,f,h){b=a.f[b];var k=b.fill(a.W,c),l=b.stroke(a.W,c);f.fill(k);f.stroke(l);f.Lp(a.oC);f.zIndex(b.zIndex+e);a.U&&a.eO(f,b.Bb,d);b.Bb||GA(a,k,l);c=!(k||c!=$.Zl&&b.fill(a.W,$.Zl)||c!=$.po&&b.fill(a.W,$.po)||c!=$.qo&&b.fill(a.W,$.qo));(h?b.Bb&&c:b.Bb)?c?f.parent(null):f.parent(a.Dd):h&&f.parent(a.Dd);return f};
$.IA=function(a,b,c,d,e){var f={};c=c||a.f;var h;a.W.Rg()?h=a.W.aa().la():h=!0;for(var k in c)if("none"==c[k].Mb&&e)$.K(e,$.ng)&&(f[k]=HA(a,k,b,h,d||0,e));else{var l=k;var m=void 0;var p=a,q=k,r=b,t=h,u=d||0,v=p.f[q],w=v.Mb;p.D[w].length>p.G[w]?m=p.D[w][p.G[w]]:p.D[w].push(m=v.aR());p.G[w]++;p.g[w].push(m);m=HA(p,q,r,t,u,m,!0);f[l]=m}a.Cb(a.W,f,b);return f};
JA=function(a,b,c){for(var d in c){var e=a.f[d],f=c[d],h=e.fill(a.W,b),k=e.stroke(a.W,b);f.fill(h);f.stroke(k);e.Bb&&("none"==f.fill()&&"none"==f.stroke()?f.visible(!1):f.visible(!0));e.Bb||GA(a,h,k)}a.Cb(a.W,c,b)};GA=function(a,b,c){a=a.W.aa();$.n(b)&&a.o("fill",b);$.n(c)&&a.o("stroke",c)};$.KA=function(a,b,c,d,e,f){$.EA.call(this,a,b,c,d,e,f)};$.LA=function(a,b,c,d,e,f){$.EA.call(this,a,b,c,d,e,f);this.j={}};
MA=function(a,b,c,d,e){var f=void 0;if(d){var h=a.W.aa();f=$.ro(c);var k=h.get(f);(h=k?k[d]:h.get($.$l(c,d)))?f=h:(k=a.W.sd(),h=a.W[f]()[d](),$.E(h)||k?h!=$.fl.anychart.themes.defaultTheme.chart.defaultSeriesSettings.base[f][d]||k?f=e?b.fill(a.W,c):b.stroke(a.W,c):(a={sourceColor:a.W.i("color")},f=h.call(a)):f=h)}return f};
NA=function(a,b,c){c=c||a.f;var d=a.W.aa(),e,f,h="",k;for(k in c){var l=a.f[k];var m=l.Tb;var p=MA(a,l,b,l.Sb,!0);m=MA(a,l,b,m);l.Bb||(p&&$.Wl(p)&&(e=p),m&&$.Wl(m)&&(f=m));h+=k+$.Ll(p)+$.Ll(m)}GA(a,e,f);d.o("shapeNames",c);return h};OA=function(a){$.Yq.call(this);this.Oa=a;this.pm="both";this.ba=null;this.g=this.j=void 0;this.N=null;this.b=this.f=void 0;this.G=this.U=10;this.D=this.O="#1D8BD1"};PA=function(a){return $.K(a,$.Ys)&&!$.K(a,$.$s)&&"none"==a.Um()};
Lz=function(a){var b=a.xE(),c=a.yE(),d=a.zE(),e=a.tE(),f=a.uE();a=a.wE();e=$.n(f)||$.n(a)||$.oo(e)||!$.wo(e);return $.n(c)||$.n(d)||$.oo(b)||!$.wo(b)||e};$.QA=function(){fv.call(this);this.Ma={};$.T(this.ua,[["text",20,9]])};
$.nx=function(a,b,c,d){function e(a){$.dy.call(this,a);a.I(4294967295)}function f(a){$.ey.call(this,a);a.I(4294967295)}$.Y.call(this);this.Aa=a;this.Ze=b;this.zd={};this.zd.pointWidth="90%";this.zd.isVertical=this.Aa.za();this.zd.minPointLength=0;this.Nf=!1;this.Vm={};this.xC=this.Nz=null;this.je=c;this.bi=null;this.$B=0;this.Qk=null;this.Fj=[];this.Lp=!1;this.eu=new zA(this);$.L(this.eu,this.Aha,this);a={};$.T(a,[["fill",3072,65,4294967295],["negativeFill",3072,65,4294967295],["risingFill",3072,
65,4294967295],["fallingFill",3072,65,4294967295],["stroke",3072,65,4294967295],["lowStroke",2048,65,4294967295],["highStroke",2048,65,4294967295],["lowFill",2048,65,4294967295],["highFill",2048,65,4294967295],["negativeStroke",3072,65,4294967295],["risingStroke",3072,65,4294967295],["fallingStroke",3072,65,4294967295],["medianStroke",2048,65,4294967295],["stemStroke",2048,65,4294967295],["whiskerStroke",2048,65,4294967295],["hatchFill",3072,65,4294967295],["negativeHatchFill",2048,65,4294967295],
["risingHatchFill",2048,65,4294967295],["fallingHatchFill",2048,65,4294967295],["highHatchFill",2048,65,4294967295],["lowHatchFill",2048,65,4294967295],["whiskerWidth",1024,1,256],["type",1024,65,8192],["size",1024,1,8192],["labels",0,0],["minLabels",0,0],["maxLabels",0,0],["markers",0,0],["outlierMarkers",0,0]]);this.ca=new $.Yx(this,a,$.Zl);this.ca.pa("labelsAfterInitCallback",$.dy);this.ca.pa("markersAfterInitCallback",$.ey);this.ca.pa("outlierMarkersAfterInitCallback",Oca);a={};$.T(a,[["fill",
0,0,4294967295],["negativeFill",0,0,4294967295],["risingFill",0,0,4294967295],["fallingFill",0,0,4294967295],["stroke",0,0,4294967295],["lowStroke",0,0,4294967295],["highStroke",0,0,4294967295],["lowFill",0,0,4294967295],["highFill",0,0,4294967295],["negativeStroke",0,0,4294967295],["risingStroke",0,0,4294967295],["fallingStroke",0,0,4294967295],["medianStroke",0,0,4294967295],["stemStroke",0,0,4294967295],["whiskerStroke",0,0,4294967295],["hatchFill",0,0,4294967295],["negativeHatchFill",0,0,4294967295],
["risingHatchFill",0,0,4294967295],["fallingHatchFill",0,0,4294967295],["highHatchFill",0,0,4294967295],["lowHatchFill",0,0,4294967295],["whiskerWidth",0,0,256],["type",0,0,8192],["size",0,0,8192],["labels",0,0],["minLabels",0,0],["maxLabels",0,0],["markers",0,0],["outlierMarkers",0,0]]);this.xa=new $.Yx(this,a,$.po);this.xa.pa("labelsFactoryConstructor",$.$x);this.xa.pa("markersFactoryConstructor",$.cy);this.Ca=new $.Yx(this,a,$.qo);this.Ca.pa("labelsFactoryConstructor",$.$x);this.Ca.pa("markersFactoryConstructor",
$.cy);this.xa.pa("labelsAfterInitCallback",e);this.xa.pa("markersAfterInitCallback",f);this.Ca.pa("labelsAfterInitCallback",e);this.Ca.pa("markersAfterInitCallback",f);$.T(this.ua,[["color",2048,65,4294967295],["xPointPosition",1024,1,4294967295],["pointWidth",1024,1,1024],["maxPointWidth",1024,1,1024],["minPointLength",1024,5,1024,this.SD],["connectMissingPoints",1024,1,16],["displayNegative",1024,5,2],["stepDirection",1024,1,131072],["isVertical",1024,5,4294967295]]);this.mz(d,!0)};
$.RA=function(a){var b=1E-5*a.Dq;b=a.Ze.BL(a)+b;a.Mh=b};Jz=function(a){return a.check(128)&&a.check(2097152)};$.DA=function(a){return!!a.eu.i("needsZero")};$.SA=function(a,b){a.zd.pointWidth=String(100*b)+"%"};$.TA=function(a,b){a.zd.xPointPosition=b};$.UA=function(a,b){a.zd.type=b;a.ca.Eb().mF=b;a.check(8192)&&a.B(1024)};$.VA=function(a){a.de||(a.de=new $.rw);return a.de};
$.XA=function(a,b,c,d){if(!a)return Yca;var e=$.oa(b)+"|"+a+"|"+c+(d?"|"+d:"");d=d||a;var f=WA[e];f||(WA[e]=f=function(e,f,l){l=$.Xl(l);return l!=$.Zl&&c&&(l=e.zc(a,l,f,b,!1,d),$.n(l))?l:e.zc(a,0,f,b,!1,d)});return f};Yca=function(){};YA=function(a,b,c,d,e,f){$.V(b);if(a.check(e)&&(!1!==b.enabled()||c||d)){if(b.P(a.v0()),a.J(f))return b.clear(),b.ja(a.ea),!0}else b.clear(),b.P(null);b.$();b.da(!1);return!1};
$.ZA=function(a,b,c,d,e,f,h,k,l,m){var p;var q=k.la();if((0,window.isNaN)(q))return null;h&&((p=a.cH[q])||(p=a.cH[q]=[]));var r;b[0]&&(r=b[0].call(a.ca));var t,u,v,w,x,y,B;if(k.o("missing")||k.o("skipDrawing"))b=!1;else{l=$.Xl(l);var G=e&&a.Qs();c[0]&&(t=c[0].call(a.Aa.ca));var C=r;if(G)var I=(e=k.get("normal"))?e[d[0]]:k.get(d[0]);if(3<b.length&&(c[3]&&(w=c[3].call(a.Aa.ca)),b[3]&&(x=b[3].call(a.ca)),G))var P=(e=k.get("normal"))?e[d[3]]:k.get(d[3]);if(l){var Q=1==l?"hovered":"selected";c[l]&&(u=
c[l].call(a.Aa[Q]()));b[l]&&(v=b[l].call(a[Q]()));if(G)var S=(e=k.get(Q))?e[d[0]]:k.get(d[l]);if(3<b.length&&(c[l+3]&&(y=c[l+3].call(a.Aa[Q]())),b[l+3]&&(B=b[l+3].call(a[Q]())),G))var sa=(e=k.get(Q))?e[d[3]]:k.get(d[l+3])}sa=(0,$.Wa)([I,P,S,sa],function(a){!$.D(a)||"enabled"in a||(a=$.Qc(a),a.enabled=!0);return a});I=sa[0];P=sa[1];S=sa[2];sa=sa[3];b=Uba($.ho([sa,0,S,0,B,go,v,go,y,go,u,go,P,0,I,0,x,go,C,go,w,go,t,go],"enabled"))}if(b)if(r=f?a.DF():null,b=[C,v,I,S],c=[t,C,I,u,v,S,w,x,P,y,B,sa],h)if(f=
k.o("x"),a.i("isVertical"))for(q=0;q<h.length;q++)p[q]=a.dL(b,c,p[q],{value:{x:h[q],y:f}},r,m).la();else for(q=0;q<h.length;q++)p[q]=a.dL(b,c,p[q],{value:{x:f,y:h[q]}},r,m).la();else return p=f?To($.ho([sa,0,S,0,B,$.co,v,$.co,y,$.co,u,$.co,P,0,I,0,x,$.co,C,$.co,w,$.co,t,$.co,B,$.eo,v,$.eo,u,$.eo,x,$.eo,C,$.eo,t,$.eo],"position"),"auto"):To($.ho([S,0,v,go,I,0,C,go],"position"),"auto"),h=a.Ai(p,!0),a.dL(b,c,q,h,r,m,p);else if(h)for(q=0;q<p.length;q++)r.clear(p[q]);else r.clear(q);return null};
$A=function(a,b){var c=b[0],d=b[1]||c;return c.BG()[a]||d.BG()[a]||b[2]&&$.n(b[2][a])||b[3]&&$.n(b[3][a])};Zca=function(a,b){(0,$.Qe)(b,function(a){$.K(a,$.Du)?this.YR(a):a.$();a.da(!1)},a)};$ca=function(a,b){return+$.Ic(a.cH,function(a){return Cw(a,function(a){return a==b})})};aB=function(a){a&&(a=a.o("shared"))&&(a.CA=window.NaN,a.wA=window.NaN)};
cB=function(a){var b=a.Nf;if($.da(b)){b=a.lx.clone();b=$.Po(b,1);var c=b.top,d=b.Ua();c=Math.floor(c);d=Math.ceil(d);b.top=c;b.height=d-c;c=b.left;d=b.$a();c=Math.floor(c);d=Math.ceil(d);b.left=c;b.width=d-c;a.check($.bB)&&(b=b.clone(),a=a.Aa,c=a.zh,b.top-=c,b.height+=c,b.width+=a.Zh)}return b};$.eB=function(a,b,c){c=c||a.aa();b.mj(a.sR(c)).Ag(c).sm(a.FE).nl(a.NS(c));return $.av(b,a.Em(b,c))};fB=function(a){this.Oa=a;$.or.call(this,a.data())};
$.gB=function(a,b,c,d,e){$.nx.call(this,a,b,c,d);this.state=new $.Vw(this);this.eia=e;$.iq(this.ua,"xMode",1024,5,4294967295);this.data(null)};
$.Fz=function(a,b,c){if(b){var d={},e=-window.Infinity;b=function(a,b){var c=b.data.x;if(c in d){var h=a[d[c]];a[d[c]]=b}else d[c]=a.length,a.push(b),c<e&&(f=!0),e=c;return h||null}}else b=function(a,b){a.push(b);return null};var f=!1;a=a.OS([],b,c?function(a){return(a=$.cs(a))?a.getTime():window.NaN}:function(a){return a},window.isNaN);f&&$.Qa(a.data,ada);return a};
Ez=function(a,b,c,d,e){var f="scatter"==a.i("xMode"),h=!1;d?d=f?function(a,c){var d=$.ko(c.data.x);a.push(d in b?c:null);return null}:function(a,c){var d=$.ko(c.data.x);if(d in b){var e=a[b[d]];a[b[d]]=c}return e||null}:e?d=function(a,b){a.push(b);return null}:f?(h=!0,d=function(a,d){var e=d.data.x,f=$.ko(e);f in b||(b[f]=c.length,c.push(e));a.push(d);return null}):d=function(a,d){var e=d.data.x,f=$.ko(e);if(f in b){var h=a[b[f]];a[b[f]]=d}else b[f]=c.length,c.push(e),a.push(d);return h||null};a=
a.OS(h?[]:Array(c.length),d,function(a){return a},function(a){return void 0===a});h=a.data;for(d=0;d<h.length;d++)h[d]||(h[d]=Gz(c[d]));a.Tw=b;a.$O=c;return a};Gz=function(a){var b={};b.missing=hB;return{data:{x:a},o:b}};ada=function(a,b){return $.jo(a.data.x,b.data.x)};
$.Nz=function(a,b){if(a.gd){if(a.gd.Tw){var c=a.gd.Tw[$.ko(b)];if((0,window.isNaN)(c))return-1;if("scatter"==a.i("xMode")){c=[];for(var d=a.gd.data,e=0;e<d.length;e++){var f=d[e];f.data.x==b&&c.push(f.o.rawIndex)}}return c}return a.gd.data.length?(c=$.Pa(a.gd.data,function(a){return b-a.data.x}),0>c&&(c=~c,0<c&&(c==a.gd.data.length?c--:a.gd.data[c].data.x-b>b-a.gd.data[c-1].data.x&&c--)),c):-1}return a.JF.find("x",b)};
$.iB=function(a,b,c,d,e){var f=a.aa();f.reset();for(var h=[];f.advance();){var k=void 0,l=a,m=f,p=b,q=c,r=d,t=e;if($.K(l.vf,$.KA)&&(k=m.o(l.vf.O)))a:{var u=void 0;var v=k,w=p;l=q;var x=r,y=t;for(u in v){var B=v[u];if($.K(B,$.hg)&&(B=B.pb(),B.left<=w+x&&w<=B.left+B.width&&B.top<=l+y&&l<=B.top+B.height)){u=!0;break a}}u=!1}else u=m.o(l.nh.wb+"X"),v=m.o(l.nh.wb),l.nh.wb==l.nh.yb?u=p<=u&&u<=p+r&&q<=v&&v<=q+t:(w=m.o(l.nh.yb+"X"),l=m.o(l.nh.yb),u=$.Zm([u,v,w,l],[p,q,p+r,q,p+r,q+t,p,q+t]));!u&&(k=m.o("marker"))&&
(u=k.Kd().pb().Wo(new $.J(p,q,r,t)));u&&h.push(f.la())}return h};$.jB=function(a,b,c){if(!a.enabled())return a;$.A(b)?(c||a.ae(),a.state.xh($.qo,b,c?void 0:$.po)):$.ea(b)&&a.state.xh($.qo,b,c?void 0:$.po);return a};
$.lB=function(a){$.Y.call(this);this.Fa($.hr.scroller);this.Ja=!1;this.MA=this.ZM=this.G=this.ba=this.O=this.b=this.f=this.va=null;this.D=0;this.j=kB;this.ea=new $.J(0,0,0,0);this.g=new $.J(0,0,0,0);this.ka=this.ga=this.ya=null;this.Ga=0;this.Ra=this.eb=this.ab=!1;this.Pa=this.U=null;this.nb=!!a;$.T(this.ua,[["height",4,9],["minHeight",4,9],["maxHeight",4,9],["orientation",196,9],["inverted",16,1],["autoHide",256,9],["fill",16,1],["selectedFill",16,1],["outlineStroke",16,1],["allowRangeChange",0,
0]])};mB=function(a){return a.Hb()?"ew-resize":"ns-resize"};$.nB=function(a,b,c){b=$.Za(Math.round(b*kB),0,kB);c=$.Za(Math.round(c*kB),0,kB);if(b>c){var d=b;b=c;c=d}if(b!=a.D||c!=a.j)a.D=b,a.j=c,a.B(16,1)};oB=function(a){a.Ja||(a.va.fc(a.f),a.va.fc(a.b),a.Ja=!0)};pB=function(a){a.Ja&&a.N().i("autoHide")&&!a.Ga&&!a.ab&&(a.va.removeChild(a.f),a.va.removeChild(a.b),a.Ja=!1)};
qB=function(a,b,c){a=a.N();a.i("enabled")?c?(c=a.mb().i("fill"),a=a.mb().i("stroke")):(c=a.Sa().i("fill"),a=a.Sa().i("stroke")):(c=$.Ul,a="none");b.fill(c);b.stroke(a)};rB=function(a,b,c,d,e){return a.dispatchEvent(a.n2(c,($.n(d)?d:a.D)/kB,($.n(e)?e:a.j)/kB,b))};
tB=function(a,b,c){c=sB(a,b,c);var d=a.ea;switch(a.i("orientation")){case "right":case "left":d=(d.top+d.height-c)/d.height;break;default:d=(c-d.left)/d.width}a.i("inverted")&&(d=1-d);if((c=a.i("allowRangeChange"))&&b==a.f)c=d,d=a.j/kB,b="thumb-drag";else if(c&&b==a.b)c=a.D/kB,b="thumb-drag";else{var e=(a.j-a.D)/kB/2;c=d-e;d+=e;b=!0===b?"selected-range-drag":"background-click"}c=$.Za(Math.round(c*kB),0,kB);d=$.Za(Math.round(d*kB),0,kB);c==d&&(d+=d<kB?1:-1);c>d&&(e=a.f,a.f=a.b,a.b=e,e=a.ya,a.ya=a.ga,
a.ga=e,e=c,c=d,d=e);c==a.D&&d==a.j||!rB(a,b,"scrollerchange",c,d)||(a.D=c,a.j=d,a.B(16,1))};sB=function(a,b,c){var d=a.ea,e=a.Hb();a=$.da(b)||!a.i("allowRangeChange")?(a.j-a.D)/kB*(e?d.width:d.height)/2:0;return e?$.Za(c,d.left+a,d.left+d.width-a):$.Za(c,d.top+a,d.top+d.height-a)};uB=function(a,b){var c=(c=a.i("allowRangeChange"))&&b==a.f?a.D:c&&b==a.b?a.j:(a.D+a.j)/2;c/=kB;a.i("inverted")&&(c=1-c);var d=a.ea;return a.Hb()?d.left+d.width*c:d.top+d.height*(1-c)};
vB=function(a,b,c){$.ag.call(this,b.fa());this.g=a;this.b=c?b:null;this.zj=void 0;this.Xr=(0,$.pa)(function(){this.zj=void 0;tB(this.g,this.b||!0,this.j)},this);$.bg(this);this.ra("end",this.J9)};wB=function(a){$.Yq.call(this);this.Fa($.hr.thumbs);this.g=a;$.T(this.ua,[["enabled",80,1],["autoHide",16,1]]);a={};$.T(a,[["fill",16,1],["stroke",16,1]]);this.ca=new $.Yx(this,a,$.Zl);$.W(this,"normal",this.ca);this.xa=new $.Yx(this,a,$.po);$.W(this,"hovered",this.xa)};xB=function(){$.lB.call(this)};
$.yB=function(){$.lB.call(this,!0);this.Re="after-axes";$.iq(this.ua,"position",20,9)};zB=function(a,b){this.D=b;this.Ba=a;this.g=0;this.b=1;this.j=!0;this.f=null};
AB=function(a){var b=a.Ba;Dz(b);b.J(65536)&&(b.Aq().f||b.Bq().f)&&b.ob();if(a.f)if((b=a.f.scale)||(b=a.Ba,b=a.D?b.Va():b.bb()),a.f.count&&$.K(b,$.Ct))b=a.f.count/b.values().length,a.f.eda?a.SA(1-b,1):a.SA(0,b);else if($.n(a.f.start)&&$.n(a.f.end)&&b){var c=Ms(b,b.transform(a.f.start,0)),d=Ms(b,b.transform(a.f.end,1));c>d&&(c=Ms(b,b.transform(a.f.end,0)),d=Ms(b,b.transform(a.f.start,1)));a.SA(c,d)}else a.f=null};
$.BB=function(a){$.nA.call(this,$.n(a)?a:!0);this.Fa("cartesianBase");this.Ob=new zB(this,!0);this.Tc=new zB(this,!1);$.T(this.ua,[["zAngle",4,9],["zAspect",4,9],["zDistribution",131076,9],["zPadding",4,9]])};CB=function(a,b){var c="before-axes"==a.i("position");a.padding(0);a.ja(b);var d=a.Hb(),e=window.NaN;c?e=d?b.height-a.qd().height:b.width-a.qd().width:b=a.qd();return{g_:b,Z3:e}};
DB=function(a,b,c,d){if("before-axes"==c.i("position"))switch(c.i("orientation")){case "top":c.padding().top(b[0]+(a.Ra||0));c.padding().bottom(0);b[0]+=d;break;case "bottom":c.padding().top(0);c.padding().bottom(b[2]+(a.ka||0));b[2]+=d;break;case "left":c.padding().left(b[3]+(a.ya||0));c.padding().right(0);b[3]+=d;break;case "right":c.padding().left(0),c.padding().right(b[1]+(a.Ja||0)),b[1]+=d}c.Hb()?(c.padding().left(b[3]),c.padding().right(b[1])):(c.padding().top(b[0]),c.padding().bottom(b[2]));
return b};$.EB=function(a,b){this.f={};this.b=[];this.g=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof $.EB)for(c=a.Bt(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])};
$.GB=function(a){if(a.g!=a.b.length){for(var b=0,c=0;b<a.b.length;){var d=a.b[b];$.FB(a.f,d)&&(a.b[c++]=d);b++}a.b.length=c}if(a.g!=a.b.length){var e={};for(c=b=0;b<a.b.length;)d=a.b[b],$.FB(e,d)||(a.b[c++]=d,e[d]=1),b++;a.b.length=c}};$.FB=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};$.HB=function(){nz.call(this)};$.IB=function(a){$.Yq.call(this);this.Aa=a;this.Rb=this.Y=null;this.I(4294967295);$.T(this.ua,[["stroke",0,1],["fill",0,1]])};
$.JB=function(a,b,c,d){$.Eg.call(this);this.j=a;this.g=b||$.ia;this.f=$.n(d)?d:this;this.b=[]};$.KB=function(a){var b=a.b.pop();b?a.g.call(a.f,b):b=a.j.call(a.f);a.fc(b);return b};LB=function(a){$.xA.call(this,a)};MB=function(a,b,c,d,e,f,h){f=$.R(f,1);f=f<d?Math.floor(f):Math.ceil(f);$.vA(b[h.fill],a.za,e,f);$.wA(b[h.fill],a.za,c,d);$.vA(b[h.he],a.za,e,f);$.wA(b[h.he],a.za,c,d);$.vA(b[h.stroke],a.za,c,d)};
NB=function(a,b,c,d,e,f){var h=a.ah(f,a.prevValue);if(b!=a.b){var k=a.ka;var l=a.U;var m=a.O;f=yA(a,f);if(a.ga&&f)l=e,k=(c-a.ka)*(l-a.U)/(d-a.U)+a.ka;else if(!a.Ga||a.ga)k+=(c-k)/2,l+=(d-l)/2;$.wA(a.b[m.fill],a.za,k,l);$.wA(a.b[m.he],a.za,k,l);$.wA(a.b[m.stroke],a.za,k,l);a.g=k;a.vm();a.W.Tg()&&(a.f=[k,l]);a.b=b;$.vA(a.b[h.fill],a.za,k,e);$.wA(a.b[h.fill],a.za,k,l);$.vA(a.b[h.he],a.za,k,e);$.wA(a.b[h.he],a.za,k,l);$.vA(a.b[h.stroke],a.za,k,l)}$.wA(a.b[h.fill],a.za,c,d);$.wA(a.b[h.he],a.za,c,d);$.wA(a.b[h.stroke],
a.za,c,d)};$.OB=function(a){$.xA.call(this,a)};PB=function(a,b,c){var d=b.o("x"),e=b.o("value");b=b.o("size");b=Math.abs(b);a.za&&(a=d,d=e,e=a);for(var f in c){a=c[f];a.zp(d).Ap(e).Wb(b);var h=a.Gd;h&&!$.yb(h)&&a.jc(1,0,0,1,0,0)}};QB=function(a){$.xA.call(this,a)};$.RB=function(a){$.xA.call(this,a)};SB=function(a){$.xA.call(this,a)};
TB=function(a,b,c,d){var e=b.o("x");b=b.o("value");e-=a.j/2;var f=e+a.j,h=$.bc(c[d.stroke].stroke());e=$.R(e,h);f=$.R(f,h);b=$.R(b,h);c=c[d.stroke];$.vA(c,a.za,e,b);$.wA(c,a.za,f,b)};$.UB=function(a){$.xA.call(this,a)};$.VB=function(a){$.xA.call(this,a);this.f=$.XA("type",Rq,!0);this.b=$.XA("markerSize",$.qq,!0,"size")};$.WB=function(a,b,c,d,e){var f=b.o("x"),h=b.o("value"),k=a.f(a.W,b,c);b=a.b(a.W,b,c);k=$.E(k)?k:$.qp(k);a.za&&(a=f,f=h,h=a);k(d[e.path],f,h,b);k(d[e.he],f,h,b)};
XB=function(a){$.xA.call(this,a)};YB=function(a){$.xA.call(this,a)};$.ZB=function(a){$.xA.call(this,a)};$B=function(){this.Xb=0;this.G=this.D=this.ya=this.ka=window.NaN;this.Ga=this.N=!1;this.Ra=[];this.ab=[];this.j=[];this.ga=[];this.U=1;this.Ih=[]};aC=function(a){a.wa=a.O;a.O=null};
eC=function(a,b,c){var d=null;switch(a.Xb){case 3:if(a.D==b&&a.G==c)break;d=a.ka;var e=a.ya,f=a.D,h=a.G;bC(a,d,e,f,h,b,c);var k=[],l;var m=d+a.ga[0];var p=e+a.ga[1];var q=f-a.j[0]*a.U;var r=h-a.j[1]*a.U;var t=(m+q)/2;var u=(p+r)/2;if(a.O){"middle"==a.b&&(a.b=u);var v=!1;if($.A(a.b))for(l=0;l<a.b.length&&!(v=!!rn(d,e,m,p,t,u,a.b[l],a.b[l+1],a.b[l+2],a.b[l+3],a.b[l+4],a.b[l+5])[0]);l+=6);else v=e<=a.b&&u>=a.b||e>=a.b&&u<=a.b;v?(v=cC(a,d,e,m,p,t,u),l=v.$N,a.f("c",l[2],l[3],l[4],l[5],"bc",l[4],a.g),dC(a,
v),aC(a),a.f("bs",l[4],a.g,l[4],l[5],"c",l[6],l[7],l[8],l[9],"c",q,r,f,h),k.push(l[0],l[1],l[2],l[3],l[4],l[5]),k.push(l[4],l[5],l[6],l[7],l[8],l[9]),k.push(t,u,q,r,f,h)):(v=cC(a,t,u,q,r,f,h),l=v.$N,a.f("c",m,p,t,u,"c",l[2],l[3],l[4],l[5],"bc",l[4],a.g),dC(a,v),aC(a),a.f("bs",l[4],a.g,l[4],l[5],"c",l[6],l[7],l[8],l[9]),k.push(d,e,m,p,t,u),k.push(l[0],l[1],l[2],l[3],l[4],l[5]),k.push(l[4],l[5],l[6],l[7],l[8],l[9]))}else a.f("c",m,p,t,u,"c",q,r,f,h),k.push(d,e,m,p,t,u,t,u,q,r,f,h);a.U=(b-f)*a.Ja;a.ga[0]=
a.j[0]*a.U;a.ga[1]=a.j[1]*a.U;d=k;a.ka=a.D;a.ya=a.G;a.D=b;a.G=c;break;case 2:if(a.D==b&&a.G==c)break;f=a.ka;h=a.ya;d=a.D;k=a.G;bC(a,f,h,d,k,b,c);e=[];p=(d-f)*a.Ja;m=d-a.j[0]*p;p=k-a.j[1]*p;a.O?(f=cC(a,f,h,m,p,d,k),h=f.$N,a.f("bs",h[0],a.g,h[0],h[1],"c",h[2],h[3],h[4],h[5],"bc",h[4],a.g),dC(a,f),aC(a),a.f("bs",h[4],a.g,h[4],h[5],"c",h[6],h[7],h[8],h[9]),e.push(h[0],h[1],h[2],h[3],h[4],h[5]),e.push(h[4],h[5],h[6],h[7],h[8],h[9])):(a.f("bs",f,a.g,f,h,"c",m,p,d,k),e.push(f,h,m,p,d,k));a.U=(b-d)*a.Ja;
a.ga[0]=a.j[0]*a.U;a.ga[1]=a.j[1]*a.U;d=e;a.ka=a.D;a.ya=a.G;a.D=b;a.G=c;a.Xb=3;break;case 1:if(a.ka==b&&a.ya==c)break;a.D=b;a.G=c;a.Xb=2;break;case 0:a.ka=b,a.ya=c,a.Xb=1}return d};
fC=function(a){var b=null;switch(a.Xb){case 3:var c=a.ka,d=a.ya,e=a.D,f=a.G;b=[];var h=c+a.ga[0];var k=d+a.ga[1];a.O?(c=cC(a,c,d,h,k,e,f),d=c.$N,a.f("c",d[2],d[3],d[4],d[5],"bc",d[4],a.g),dC(a,c),aC(a),a.f("bs",d[4],a.g,d[4],d[5],"c",d[6],d[7],d[8],d[9],"bc",d[8],a.g),b.push(d[0],d[1],d[2],d[3],d[4],d[5]),b.push(d[4],d[5],d[6],d[7],d[8],d[9])):(a.f("c",h,k,e,f,"bc",e,a.g),b.push(c,d,h,k,e,f));if(a.Ih.length){for(c=0;c<a.Ih.length;c+=6)0==c&&a.f("l",a.Ih[c],a.Ih[c+1]),a.f("c",a.Ih[c+2],a.Ih[c+3],a.Ih[c+
4],a.Ih[c+5]);a.Ih.length=0}break;case 2:c=a.ka;d=a.ya;e=a.D;f=a.G;b=[];if(a.O){if(k=$.A(a.b)){var l=sn(c,d,e,f,a.b[0],a.b[1],a.b[4],a.b[5]);h=l.x;l=l.y}else l="middle"==a.b?(d+f)/2:a.b,h=(e-c)*(l-d)/(f-d)+c;a.f("bs",c,a.g,c,d,"l",h,l,"bc",h,a.g);k&&a.f("l",a.b[4],a.b[5]);aC(a);a.f("bs",h,a.g,h,l,"l",e,f,"bc",e,a.g);k&&a.f("l",a.b[0],a.b[1]);b.push(c,d,c,d,h,l);b.push(h,l,e,f,e,f)}else a.f("bs",c,a.g,c,d,"l",e,f,"bc",e,a.g),b.push(c,d,c,d,e,f);if(a.Ih.length){for(c=0;c<a.Ih.length;c+=2)a.f("l",a.Ih[c],
a.Ih[c+1]);a.Ih.length=0}break;case 1:b=null}a.Xb=0;return b};gC=function(a,b){a.Ga^a.N&&(b=!b);a.Ja=b?-.25:.25};hC=function(a,b,c,d,e){a[0]=d-b;a[1]=e-c;b=Math.sqrt(a[0]*a[0]+a[1]*a[1]);a[0]/=b;a[1]/=b};bC=function(a,b,c,d,e,f,h){hC(a.Ra,d,e,b,c);hC(a.ab,d,e,f,h);0<=a.Ra[1]*a.ab[1]?(a.j[0]=0>a.Ja?-1:1,a.j[1]=0):hC(a.j,a.Ra[0],a.Ra[1],a.ab[0],a.ab[1])};
cC=function(a,b,c,d,e,f,h){var k=0,l=0,m=0,p=0,q=0,r=0,t={};if($.A(a.b)){var u=[];var v=!1;for(var w=a.b.length-1;0<w;w-=6){var x=$.Qm(a.b[w-5],3);var y=$.Qm(a.b[w-4],3);var B=$.Qm(a.b[w-3],3);var G=$.Qm(a.b[w-2],3);var C=$.Qm(a.b[w-1],3);var I=$.Qm(a.b[w],3);if(P)t.Ih||(t.Ih=[]),t.Ih.push(x,y,B,G,C,I);else var P=rn(b,c,d,e,f,h,x,y,B,G,C,I)[0];P?v||(k=x,l=y,m=B,p=G,q=C,r=I,v=!0):u.push(x,y,B,G,C,I)}P?(G=cn(b,c,d,e,f,h,P.x,P.y)||0,v=cn(k,l,m,p,q,r,P.x,P.y)||1):(P=new ln(b,c),k=x,l=y,m=B,p=G,q=C,r=
I,G=0,v=1)}else if("middle"==a.b)G=.5,C=1-G,P=new ln(C*C*b+2*G*C*d+G*G*f,C*C*c+2*G*C*e+G*G*h);else if($.Tm(c,a.b))P=new ln(b,c),G=0;else if($.Tm(h,a.b))P=new ln(f,h),G=1;else{P=new ln(b,c);x=new ln(d,e);y=new ln(f,h);B=new ln(b,a.b);G=new ln(f,a.b);C=B.min(G);I=B.max(G);w=[];var Q=mn(x,-2);var S=P.add(Q.add(y));Q=mn(P,-2);Q=Q.add(mn(x,2));var sa=new ln(P.x,P.y);var va=new ln(B.y-G.y,G.x-B.x);S=qn(new on(va.x*S.x+va.y*S.y,va.x*Q.x+va.y*Q.y,va.x*sa.x+va.y*sa.y+(B.x*G.y-G.x*B.y)));for(Q=0;Q<S.length;Q++)sa=
S[Q],0<=sa&&1>=sa&&(sa=nn(nn(P,x,sa),nn(x,y,sa),sa),B.x==G.x?C.y<=sa.y&&sa.y<=I.y&&w.push(sa):B.y==G.y?C.x<=sa.x&&sa.x<=I.x&&w.push(sa):sa.x>=C.x&&sa.y>=C.y&&sa.x<=I.x&&sa.y<=I.y&&w.push(sa));G=(P=w[0])?cn(b,c,d,e,f,h,P.x,P.y):.5}C=1-G;x=b*C+d*G;y=c*C+e*G;B=d*C+f*G;G=e*C+h*G;P?(d=P.x,e=P.y):e=d=window.NaN;t.$N=[b,c,x,y,d,e,B,G,f,h];$.A(a.b)&&(C=1-v,x=k*C+m*v,y=l*C+p*v,P?(d=P.x,e=P.y):e=d=window.NaN,u.push(d,e,m*C+q*v,p*C+r*v,q,r),t.Uba=u,t.Ih||(t.Ih=[]),t.Ih.push(k,l,x,y,d,e));return t};
dC=function(a,b){var c=b.Uba,d=b.Ih;if(c)for(var e=c.length-1;0<e;e-=6)a.f("c",c[e-3],c[e-2],c[e-1],c[e]);a.Ih&&a.Ih.length&&a.f("c",a.Ih[2],a.Ih[3],a.Ih[4],a.Ih[5]);d&&(a.Ih=d)};iC=function(a){$.xA.call(this,a);this.g=new $B;this.D=new $B};jC=function(a){$.xA.call(this,a)};kC=function(a){$.xA.call(this,a)};lC=function(a,b,c,d){var e=b.o("x"),f=b.o("high");b=b.o("low");var h=$.bc(c[d].stroke());a.Yu&&(e=$.R(e,h));f=$.R(f,h);b=$.R(b,h);c=c[d];$.vA(c,a.za,e,b);$.wA(c,a.za,e,f)};
mC=function(a){$.xA.call(this,a);this.f=new $B};nC=function(a){$.xA.call(this,a);this.g=new $B};oC=function(a){$.xA.call(this,a)};pC=function(a,b,c,d,e){var f=a.b[b.fill],h=a.b[b.stroke];b=a.b[b.he];switch(a.G){case "forward":break;case "backward":c=a.D;break;default:c=(c+a.D)/2}$.wA(f,a.za,c,d,c,e);$.wA(b,a.za,c,d,c,e);$.wA(h,a.za,c,d,c,e);return c};qC=function(a,b,c,d,e,f){$.vA(b[c.fill],a.za,d,f);$.wA(b[c.fill],a.za,d,e);$.vA(b[c.he],a.za,d,f);$.wA(b[c.he],a.za,d,e);$.vA(b[c.stroke],a.za,d,e)};
rC=function(a,b,c,d,e,f,h){var k=a.g;if(b!=a.b){var l=a.b[a.O.fill];var m=a.b[a.O.he];d=yA(a,d);a.ga&&d?(k=h,d=pC(a,a.O,e,a.g,k)):(d=pC(a,a.O,e,a.g,k),$.wA(l,a.za,d,h),$.wA(m,a.za,d,h));l.close();m.close();a.b=b;l=a.b[c.fill];b=a.b[c.stroke];m=a.b[c.he];$.vA(l,a.za,d,h);$.wA(l,a.za,d,k);$.vA(m,a.za,d,h);$.wA(m,a.za,d,k);$.vA(b,a.za,d,k)}pC(a,c,e,k,f);$.wA(a.b[c.fill],a.za,e,f);$.wA(a.b[c.he],a.za,e,f);$.wA(a.b[c.stroke],a.za,e,f)};sC=function(a){$.xA.call(this,a)};
tC=function(a,b,c,d,e){b=a.b[b.stroke];switch(a.G){case "forward":break;case "backward":c=a.D;break;default:c=(c+a.D)/2}$.wA(b,a.za,c,d,c,e);return c};uC=function(a){$.xA.call(this,a)};vC=function(a,b,c,d){var e=b.o("x"),f=b.o("zero");b=b.o("value");var h=$.bc(c[d.stroke].stroke());a.Yu&&(e=$.R(e,h));f=$.R(f,1);f=f<b?Math.floor(f):Math.ceil(f);c=c[d.stroke];$.vA(c,a.za,e,b);$.wA(c,a.za,e,f)};
$.xC=function(a){$.qf.call(this);this.f=this.g={};this.j=0;this.ka=Tc(bda);this.ya=Tc(cda);this.N=!0;this.G=this.O=!1;this.U=!0;this.D=null;this.b=a;$.Id(this.b,"keydown",this.aM,void 0,this);$.wC&&$.Id(this.b,"keypress",this.g1,void 0,this);$.Id(this.b,"keyup",this.c1,void 0,this)};yC=function(a){this.b=a||null;this.next=a?null:{}};
eda=function(a){if($.z(a[1]))a=(0,$.Wa)(dda(a[1]),function(a){return zC(a.key||"",a.keyCode,a.Kfa)});else{var b=a,c=1;$.A(a[1])&&(b=a[1],c=0);for(a=[];c<b.length;c+=2)a.push(zC("",b[c],b[c+1]))}return a};
dda=function(a){a=a.replace(/[ +]*\+[ +]*/g,"+").replace(/[ ]+/g," ").toLowerCase();a=a.split(" ");for(var b=[],c,d=0;c=a[d];d++){var e=c.split("+"),f=null,h=null;c=0;for(var k,l=0;k=e[l];l++){switch(k){case "shift":c|=1;continue;case "ctrl":c|=2;continue;case "alt":c|=4;continue;case "meta":c|=8;continue}e=void 0;f=k;if(!AC){h={};for(e in BC)h[BC[e]]=yp((0,window.parseInt)(e,10));AC=h}h=AC[f];f=k;break}b.push({key:f,keyCode:h,Kfa:c})}return b};
fda=function(a,b){if($.wd){if(224==b.keyCode){a.ga=!0;$.yj(function(){this.ga=!1},400,a);return}var c=b.metaKey||a.ga;67!=b.keyCode&&88!=b.keyCode&&86!=b.keyCode||!c||(b.metaKey=c,a.aM(b))}32==a.D&&32==b.keyCode&&b.preventDefault();a.D=null};
CC=function(a,b,c){var d=b.shift();(0,$.Qe)(d,function(c){if((c=a[c])&&(0==b.length||c.b))throw Error("Keyboard shortcut conflicts with existing shortcut");});b.length?(0,$.Qe)(d,function(d){d=d.toString();var e=new yC;d=d in a?a[d]:a[d]=e;CC(d.next,b.slice(0),c)}):(0,$.Qe)(d,function(b){a[b]=new yC(c)})};DC=function(a,b){for(var c=0;c<b.length;c++){var d=a[b[c]];if(d)return d}};zC=function(a,b,c){c=c||0;b=["c_"+b+"_"+c];""!=a&&b.push("n_"+a+"_"+c);return b};
EC=function(a,b,c){ud.call(this,a,c);this.identifier=b};FC=function(a){this.b=a;this.reset()};GC=function(a,b){$.sA.call(this,a,b.o("index"));this.node=b};$.HC=function(a,b){$.ox.call(this);this.nr=["x","value"];this.Eh=0;this.ba=[];this.Tc=[];this.data(a,b)};$.IC=function(a,b){var c=[];if(b){for(var d=b;d=d.getParent();)c.unshift(a.Rd(d.o("index")));c.push(a.Rd(b.o("index")))}return c};$.JC=function(){};
LC=function(a,b,c){if(a=a.Ta?a.Ta():a){var d=[b];$.hd&&!$.bd("7")&&(d=$.KC($.Lj(a),b),d.push(b));(c?$.Oj:Waa)(a,d)}};$.MC=function(a,b,c){if(a=c||a.LG())c=b.getAttribute("role")||null,a!=c&&$.iy(b,a)};$.PC=function(a,b,c){b.He()||$.ky(c,"hidden",!b.He());b.isEnabled()||a.tu(c,1,!b.isEnabled());$.NC(b,8)&&a.tu(c,8,b.Le());$.NC(b,16)&&a.tu(c,16,$.OC(b,16));$.NC(b,64)&&a.tu(c,64,$.OC(b,64))};
$.QC=function(a,b){var c=a.rh(),d=[c],e=a.rh();e!=c&&d.push(e);c=b.Xb;for(e=[];c;){var f=c&-c;e.push(a.kG(f));c&=~f}d.push.apply(d,e);(c=b.ks)&&d.push.apply(d,c);$.hd&&!$.bd("7")&&d.push.apply(d,$.KC(d));return d};$.KC=function(a,b){var c=[];b&&(a=$.Ga(a,[b]));(0,$.Qe)([],function(d){!(0,$.RC)(d,$.qa($.Aa,a))||b&&!$.Aa(d,b)||c.push(d.join("_"))});return c};$.SC=function(a){var b=a.rh();a.b={1:b+"-disabled",2:b+"-hover",4:b+"-active",8:b+"-selected",16:b+"-checked",32:b+"-focused",64:b+"-open"}};
$.TC=function(){};$.UC=function(a,b){a&&(b?a.title=b:a.removeAttribute("title"))};$.WC=function(a,b){if(!a)throw Error("Invalid class name "+a);if(!$.E(b))throw Error("Invalid decorator function "+b);$.VC[a]=b};$.YC=function(a,b,c){$.my.call(this,c);if(!b){b=this.constructor;for(var d;b;){d=$.oa(b);if(d=XC[d])break;b=b.u?b.u.constructor:null}b=d?$.E(d.vd)?d.vd():new d:null}this.g=b;this.Cd=$.n(a)?a:null};$.$C=function(a,b){a.df&&b!=a.HT&&ZC(a,b);a.HT=b};
$.aD=function(a,b){b&&(a.ks?$.Aa(a.ks,b)||a.ks.push(b):a.ks=[b],LC(a,b,!0))};bD=function(a,b,c){c?$.aD(a,b):b&&a.ks&&$.Fa(a.ks,b)&&(0==a.ks.length&&(a.ks=null),LC(a,b,!1))};
ZC=function(a,b){var c=$.oy(a),d=a.Ta();b?(c.ra(d,"mouseover",a.co).ra(d,"mousedown",a.Cj).ra(d,"mouseup",a.Zq).ra(d,"mouseout",a.Gg),a.NG!=$.ia&&c.ra(d,"contextmenu",a.NG),$.hd&&($.bd(9)||c.ra(d,"dblclick",a.$0),a.N||(a.N=new cD(a),$.sd(a,a.N)))):(c.ac(d,"mouseover",a.co).ac(d,"mousedown",a.Cj).ac(d,"mouseup",a.Zq).ac(d,"mouseout",a.Gg),a.NG!=$.ia&&c.ac(d,"contextmenu",a.NG),$.hd&&($.bd(9)||c.ac(d,"dblclick",a.$0),$.qd(a.N),a.N=null))};$.fD=function(a,b){dD(a,4,b)&&eD(a,4,b)};
$.gD=function(a,b){dD(a,16,b)&&eD(a,16,b)};$.OC=function(a,b){return!!(a.Xb&b)};eD=function(a,b,c,d){d||1!=b?$.NC(a,b)&&c!=$.OC(a,b)&&(a.g.tT(a,b,c),a.Xb=c?a.Xb|b:a.Xb&~b):a.lj(!c)};$.NC=function(a,b){return!!(a.lu&b)};hD=function(a,b){return!!(a.Ku&b)&&$.NC(a,b)};dD=function(a,b,c){return $.NC(a,b)&&$.OC(a,b)!=c&&(!(a.KI&b)||a.dispatchEvent($.ny(b,c)))&&!a.fd};iD=function(a,b){return!!a.relatedTarget&&$.df(b,a.relatedTarget)};
cD=function(a){$.od.call(this);this.f=a;this.b=!1;this.eo=new nf(this);$.sd(this,this.eo);a=this.f.pd;this.eo.ra(a,"mousedown",this.g).ra(a,"mouseup",this.j).ra(a,"click",this.D)};kD=function(a,b){if(!jD)return a.button=0,a.type=b,a;var c=window.document.createEvent("MouseEvents");c.initMouseEvent(b,a.bubbles,a.cancelable,a.view||null,a.detail,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,0,a.relatedTarget||null);return c};$.lD=function(){};
$.mD=function(a,b,c){$.YC.call(this,a,b||$.lD.vd(),c)};$.nD=function(a,b){a.gb=b;$.UC(a.Ta(),b)};$.oD=function(a,b){var c=a.g,d=$.py(a),e=c.rh()+"-collapse-left";c=c.rh()+"-collapse-right";bD(a,d?c:e,!!(b&1));bD(a,d?e:c,!!(b&2))};$.pD=function(a,b,c){$.mD.call(this,a||"",b,c);this.b=null;this.U=0;this.O=null};$.rD=function(a,b){a.b=b;$.n(void 0)&&(a.U=void 0);a.df&&qD(a)};
qD=function(a){var b=a.Ta();b=a.g.sn(b);var c=$.Be(window.document,"I",null,b)[0];a.b?c?(c.className=a.b,$.Pf(c,!0)):(c=$.Ne("I",a.b),$.ky(c,"hidden",!0),$.We(b,c,a.U),a.O&&(c=$.Ne("SPAN","ac-fallback-symbol",a.O),$.We(b,c,a.U+1))):c&&$.Pf(c,!1)};aa=[];$.sD=$.sD||{};$.fa=this;na="closure_uid_"+(1E9*Math.random()>>>0);aaa=0;$.Fn=Date.now||function(){return+new Date};var gk,sk=null;$.H(ta,Error);ta.prototype.name="CustomError";var se;var Cw;$.za=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if($.z(a))return $.z(b)&&1==b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};
$.gda=Array.prototype.lastIndexOf?function(a,b){return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;0>c&&(c=Math.max(0,a.length+c));if($.z(a))return $.z(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1};$.Qe=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=$.z(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
$.Ye=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,h=$.z(a)?a.split(""):a,k=0;k<d;k++)if(k in h){var l=h[k];b.call(c,l,k,a)&&(e[f++]=l)}return e};$.Wa=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=$.z(a)?a.split(""):a,h=0;h<d;h++)h in f&&(e[h]=b.call(c,f[h],h,a));return e};
$.Fg=Array.prototype.reduce?function(a,b,c,d){d&&(b=(0,$.pa)(b,d));return Array.prototype.reduce.call(a,b,c)}:function(a,b,c,d){var e=c;(0,$.Qe)(a,function(c,h){e=b.call(d,e,c,h,a)});return e};Cw=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=$.z(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1};
$.RC=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=$.z(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0};$.g=$.gb.prototype;$.g.clone=function(){return new $.gb(this.x,this.y)};$.g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};$.g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};$.g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};$.g.translate=function(a,b){a instanceof $.gb?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),$.ea(b)&&(this.y+=b));return this};
$.g.scale=function(a,b){var c=$.ea(b)?b:a;this.x*=a;this.y*=c;return this};$.g=$.lb.prototype;$.g.Xd=function(){return this.right-this.left};$.g.ud=function(){return this.bottom-this.top};$.g.clone=function(){return new $.lb(this.top,this.right,this.bottom,this.left)};$.g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
$.g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};$.g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
$.g.translate=function(a,b){a instanceof $.gb?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,$.ea(b)&&(this.top+=b,this.bottom+=b));return this};$.g.scale=function(a,b){var c=$.ea(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};$.g=$.mb.prototype;$.g.clone=function(){return new $.mb(this.width,this.height)};$.g.QB=function(){return this.width*this.height};$.g.aspectRatio=function(){return this.width/this.height};$.g.Dj=function(){return!this.QB()};$.g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};$.g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
$.g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};$.g.scale=function(a,b){var c=$.ea(b)?b:a;this.width*=a;this.height*=c;return this};$.g=$.J.prototype;$.g.clone=function(){return new $.J(this.left,this.top,this.width,this.height)};$.g.Wo=function(a){return this.left<=a.left+a.width&&a.left<=this.left+this.width&&this.top<=a.top+a.height&&a.top<=this.top+this.height};$.g.Yf=function(a){return Math.sqrt($.sb(this,a))};$.g.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
$.g.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};$.g.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};$.g.translate=function(a,b){a instanceof $.gb?(this.left+=a.x,this.top+=a.y):(this.left+=a,$.ea(b)&&(this.top+=b));return this};
$.g.scale=function(a,b){var c=$.ea(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};$.gb.prototype.Oh=function(){return this.x};$.gb.prototype.hs=function(){return this.y};$.g=$.J.prototype;$.g.qb=function(){return this.left};$.g.bc=function(){return this.top};$.g.Xd=function(){return this.width};$.g.ud=function(){return this.height};$.g.$a=function(){return this.left+this.width};$.g.Ua=function(){return this.top+this.height};$.mb.prototype.Xd=function(){return this.width};$.mb.prototype.ud=function(){return this.height};$.F("acgraph.math.Size",$.mb);
$.F("acgraph.math.coordinate",function(a,b){return new $.gb(a,b)});$.F("acgraph.math.rect",function(a,b,c,d){return new $.J(a,b,c,d)});$.F("acgraph.math.Rect",$.J);var tD=$.gb.prototype;tD.getX=tD.Oh;tD.getY=tD.hs;tD=$.J.prototype;tD.getWidth=tD.Xd;tD.getHeight=tD.ud;tD.getLeft=tD.qb;tD.getTop=tD.bc;tD.getWidth=tD.Xd;tD.getHeight=tD.ud;tD.getRight=tD.$a;tD.getBottom=tD.Ua;$.g=$.Cb.prototype;$.g.clone=function(){return new $.Cb(this.ed,this.Me,this.We,this.Ee,this.Ad,this.xd)};$.g.setTransform=function(a,b,c,d,e,f){if(!($.ea(a)&&$.ea(b)&&$.ea(c)&&$.ea(d)&&$.ea(e)&&$.ea(f)))throw Error("Invalid transform parameters");this.ed=a;this.Me=b;this.We=c;this.Ee=d;this.Ad=e;this.xd=f;return this};$.g.scale=function(a,b){this.ed*=a;this.Me*=a;this.We*=b;this.Ee*=b;return this};$.g.translate=function(a,b){this.Ad+=a*this.ed+b*this.We;this.xd+=a*this.Me+b*this.Ee;return this};
$.g.rotate=function(a,b,c){return $.wb(this,$.Jb(a,b,c))};$.g.toString=function(){return"matrix("+[this.ed,this.Me,this.We,this.Ee,this.Ad,this.xd].join()+")"};$.g.transform=function(a,b,c,d,e){var f=b;for(b+=2*e;f<b;){e=a[f++];var h=a[f++];c[d++]=e*this.ed+h*this.We+this.Ad;c[d++]=e*this.Me+h*this.Ee+this.xd}};$.F("acgraph.vector.normalizeFill",$.Vb);$.F("acgraph.vector.normalizeStroke",$.Yb);$.F("acgraph.vector.normalizeHatchFill",$.$b);$.F("acgraph.vector.normalizeTextShadow",$.ac);$.ja($.cc);$.cc.prototype.f=0;$.cc.prototype.b="ac_uid_"+(1E9*Math.random()>>>0);var iaa,jaa,kaa,laa,maa,naa,haa,rc,qc,oaa;$.vc=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};iaa=/&/g;jaa=/</g;kaa=/>/g;laa=/"/g;maa=/'/g;naa=/\x00/g;haa=/[\x00&<>"']/;rc={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\","<":"<"};qc={"'":"\\'"};oaa=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};var Bc;a:{var uD=$.fa.navigator;if(uD){var vD=uD.userAgent;if(vD){Bc=vD;break a}}Bc=""};var Rc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");Yc[" "]=$.ia;var Lca,ida,jda,kda,lda;$.wf=$.Cc("Opera");$.hd=$.Uc();$.wp=$.Cc("Edge");$.hda=$.wp||$.hd;$.gd=$.Cc("Gecko")&&!(-1!=Bc.toLowerCase().indexOf("webkit")&&!$.Cc("Edge"))&&!($.Cc("Trident")||$.Cc("MSIE"))&&!$.Cc("Edge");$.vd=-1!=Bc.toLowerCase().indexOf("webkit")&&!$.Cc("Edge");$.wd=$.Cc("Macintosh");$.wC=$.Cc("Windows");Lca=$.Cc("Linux")||$.Cc("CrOS");ida=$.Cc("Android");jda=Wc();kda=$.Cc("iPad");lda=$.Cc("iPod");$.mda=Xc();
a:{var wD="",xD=function(){var a=Bc;if($.gd)return/rv:([^\);]+)(\)|;)/.exec(a);if($.wp)return/Edge\/([\d\.]+)/.exec(a);if($.hd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if($.vd)return/WebKit\/(\S+)/.exec(a);if($.wf)return/(?:Version)[ \/]?(\S+)/.exec(a)}();xD&&(wD=xD?xD[1]:"");if($.hd){var yD=$c();if(null!=yD&&yD>(0,window.parseFloat)(wD)){$.ad=String(yD);break a}}$.ad=wD}var qaa={},zD;var AD=$.fa.document;zD=AD&&$.hd?$c()||("CSS1Compat"==AD.compatMode?(0,window.parseInt)($.ad,10):5):void 0;
var cd=zD;var saa={0:"Can't find an error message that corresponds to the specified error code",1:"Requested stage type is not supported",2:"Container should be defined to render stage",3:"Stage should have a DOM element",4:"Unable to set the parent component",5:"Trying to perform an operation with the disposed element",6:"Synchronous rendering didn't clean up all dirty states",7:"Can't add an element constructed by another Stage",8:"Wrong arguments passed to swapChildren",9:"Path must start with moveTo command",
10:"Method must be implemented",11:"Missing required parameter",12:"Parameter type mismatch",13:"Required parameter is null or undefined",14:"Invalid number of parameters",15:"Sorry, this feature in not supported in VML oriented browsers"};var uaa=!$.hd||$.ed(9),Pd=!$.hd||$.ed(9),nda=$.hd&&!$.bd("9"),zaa=function(){if(!$.fa.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});$.fa.addEventListener("test",$.ia,b);$.fa.removeEventListener("test",$.ia,b);return a}();var kd=0,nd={};$.od.prototype.fd=!1;$.od.prototype.cd=function(){if(!this.fd&&(this.fd=!0,this.R(),0!=kd)){var a=$.oa(this);if(0!=kd&&this.zu&&0<this.zu.length)throw Error(this+" did not empty its onDisposeCallbacks queue. This probably means it overrode dispose() or disposeInternal() without calling the superclass' method.");delete nd[a]}};$.od.prototype.R=function(){if(this.zu)for(;this.zu.length;)this.zu.shift()()};ud.prototype.stopPropagation=function(){this.j=!0};ud.prototype.preventDefault=function(){this.G=!0;this.L3=!1};$.H($.xd,ud);var vaa=[1,4,2],taa={2:"touch",3:"pen",4:"mouse"};$.xd.prototype.g=function(){return yd(this,0)&&!($.vd&&$.wd&&this.ctrlKey)};$.xd.prototype.stopPropagation=function(){$.xd.u.stopPropagation.call(this);this.dl.stopPropagation?this.dl.stopPropagation():this.dl.cancelBubble=!0};
$.xd.prototype.preventDefault=function(){$.xd.u.preventDefault.call(this);var a=this.dl;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,nda)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};$.xd.prototype.k0=ba(0);var zd="closure_listenable_"+(1E6*Math.random()|0),waa=0;Dd.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.b[f];a||(a=this.b[f]=[],this.f++);var h=Fd(a,b,d,e);-1<h?(b=a[h],c||(b.gK=!1)):(b=new xaa(b,this.src,f,!!d,e),b.gK=c,a.push(b));return b};Dd.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.b))return!1;var e=this.b[a];b=Fd(e,b,c,d);return-1<b?(Bd(e[b]),Ea(e,b),0==e.length&&(delete this.b[a],this.f--),!0):!1};Dd.prototype.sG=function(a,b,c,d){a=this.b[a.toString()];var e=-1;a&&(e=Fd(a,b,c,d));return-1<e?a[e]:null};var Md="closure_lm_"+(1E6*Math.random()|0),Wd={},Od=0,ae="__closure_events_fn_"+(1E9*Math.random()>>>0);$.F("acgraph.events.listen",$.Id);$.F("acgraph.events.listenOnce",Hd);$.F("acgraph.events.unlisten",$.Sd);$.F("acgraph.events.unlistenByKey",Td);$.F("acgraph.events.removeAll",$.Ud);var Baa=!$.hd||$.ed(9),Caa=!$.gd&&!$.hd||$.hd&&$.ed(9)||$.gd&&$.bd("1.9.1"),BD=$.hd&&!$.bd("9"),Daa=$.hd||$.wf||$.vd;$.ce.prototype.Yx=!0;$.ce.prototype.Ft=function(){return this.b};$.ce.prototype.toString=function(){return"Const{"+this.b+"}"};$.be={};$.de("");$.fe.prototype.Yx=!0;$.fe.prototype.Ft=function(){return this.b};$.fe.prototype.VT=!0;$.fe.prototype.Jx=ba(2);$.ee={};$.ge("about:blank");$.le.prototype.Yx=!0;$.he={};$.le.prototype.Ft=function(){return this.b};$.oda=$.me("");$.CD=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g");$.pda=RegExp("\\b(hsl|hsla|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\\([-0-9a-z.%, ]+\\)","g");$.oe.prototype.VT=!0;$.oe.prototype.Jx=ba(1);$.oe.prototype.Yx=!0;$.oe.prototype.Ft=function(){return this.b};$.ne={};$.pe("<!DOCTYPE html>",0);$.pe("",0);$.pe("<br>",0);var Ce={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},Eaa={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},mf={IMG:" ",BR:"\n"};$.g=qe.prototype;$.g.Ta=function(a){return $.ue(this.b,a)};$.g.getElementsByTagName=function(a,b){return(b||this.b).getElementsByTagName(String(a))};
$.g.pc=function(a,b,c){return Me(this.b,arguments)};$.g.createElement=function(a){return $.Se(this.b,a)};$.g.appendChild=$.Te;$.g.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
$.g.Ki=$.Ve;$.g.Lea=$.We;$.g.Al=$.Ze;$.g.x0=$.$e;$.g.jH=$.bf;$.H(nf,$.od);var DD=[];$.g=nf.prototype;$.g.ra=function(a,b,c,d){$.A(b)||(b&&(DD[0]=b.toString()),b=DD);for(var e=0;e<b.length;e++){var f=$.Id(a,b[e],c||this.handleEvent,d||!1,this.eo||this);if(!f)break;this.b[f.key]=f}return this};$.g.ve=function(a,b,c,d){return of(this,a,b,c,d)};$.g.ac=function(a,b,c,d,e){if($.A(b))for(var f=0;f<b.length;f++)this.ac(a,b[f],c,d,e);else if(a=$.Vd(a,b,c||this.handleEvent,$.D(d)?!!d.capture:!!d,e||this.eo||this))Td(a),delete this.b[a.key];return this};
$.g.R=function(){nf.u.R.call(this);pf(this)};$.g.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};$.H($.qf,$.od);$.qf.prototype[zd]=!0;$.g=$.qf.prototype;$.g.Gi=function(){return this.DV};$.g.ib=function(a){this.DV=a};$.g.addEventListener=function(a,b,c,d){$.Id(this,a,b,c,d)};$.g.removeEventListener=function(a,b,c,d){$.Sd(this,a,b,c,d)};
$.g.dispatchEvent=function(a){var b,c=this.Gi();if(c)for(b=[];c;c=c.Gi())b.push(c);c=this.W8;var d=a.type||a;if($.z(a))a=new ud(a,c);else if(a instanceof ud)a.target=a.target||c;else{var e=a;a=new ud(d,c);$.Sc(a,e)}e=!0;if(b)for(var f=b.length-1;!a.j&&0<=f;f--){var h=a.b=b[f];e=$.rf(h,d,!0,a)&&e}a.j||(h=a.b=c,e=$.rf(h,d,!0,a)&&e,a.j||(e=$.rf(h,d,!1,a)&&e));if(b)for(f=0;!a.j&&f<b.length;f++)h=a.b=b[f],e=$.rf(h,d,!1,a)&&e;return e};$.g.R=function(){$.qf.u.R.call(this);this.ll();this.DV=null};
$.g.ra=function(a,b,c,d){return this.Dx.add(String(a),b,!1,c,d)};$.g.ve=function(a,b,c,d){return this.Dx.add(String(a),b,!0,c,d)};$.g.ac=function(a,b,c,d){return this.Dx.remove(String(a),b,c,d)};$.g.jB=function(a){return Ed(this.Dx,a)};$.g.ll=function(a){if(this.Dx){var b=this.Dx;a=a&&a.toString();var c=0,d;for(d in b.b)if(!a||d==a){for(var e=b.b[d],f=0;f<e.length;f++)++c,Bd(e[f]);delete b.b[d];b.f--}b=c}else b=0;return b};$.g.sG=function(a,b,c,d){return this.Dx.sG(String(a),b,c,d)};var vf={},Rf=$.gd?"MozUserSelect":$.vd||$.wp?"WebkitUserSelect":null,Yf={thin:2,medium:4,thick:6};$.qda=function(){if($.wC){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Bc))?a[1]:"0"}return $.wd?(a=/10[_.][0-9_.]+/,(a=a.exec(Bc))?a[0].replace(/_/g,"."):"10"):ida?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Bc))?a[1]:""):jda||kda||lda?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Bc))?a[1].replace(/_/g,"."):""):""}();var rda,sda,tda;rda=$.Cc("Firefox");$.ED=Wc()||$.Cc("iPod");$.FD=$.Cc("iPad");sda=$.Cc("Android")&&!(Vc()||$.Cc("Firefox")||$.Cc("Opera")||$.Cc("Silk"));tda=Vc();$.GD=$.Cc("Safari")&&!(Vc()||$.Cc("Coast")||$.Cc("Opera")||$.Cc("Edge")||$.Cc("Silk")||$.Cc("Android"))&&!Xc();$.uda=function(){if(rda)return $f(/Firefox\/([0-9.]+)/);if($.hd||$.wp||$.wf)return $.ad;if(tda)return Xc()?$f(/CriOS\/([0-9.]+)/):$f(/Chrome\/([0-9.]+)/);if($.GD&&!Xc())return $f(/Version\/([0-9.]+)/);if($.ED||$.FD){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Bc);if(a)return a[1]+"."+a[2]}else if(sda)return(a=$f(/Android\s+([0-9.]+)/))?a:$f(/Version\/([0-9.]+)/);return""}();$.H($.ag,$.qf);var Faa=$.fa.document&&$.fa.document.documentElement&&!!$.fa.document.documentElement.setCapture&&!!$.fa.document.releaseCapture;$.g=$.ag.prototype;$.g.uW=function(a){this.f=a||new $.J(window.NaN,window.NaN,window.NaN,window.NaN)};$.g.lj=function(a){this.O=a};$.g.R=function(){$.ag.u.R.call(this);$.Sd(this.G,["touchstart","mousedown"],this.Tj,!1,this);pf(this.Bg);this.N&&this.D.releaseCapture();this.G=this.target=null};
$.g.Tj=function(a){var b="mousedown"==a.type;if(!this.O||this.Ro||b&&!a.g())this.dispatchEvent("earlycancel");else{if(0==this.U)if(this.dispatchEvent(new dg("start",this,a.clientX,a.clientY,a)))this.Ro=!0,b&&a.preventDefault();else return;else b&&a.preventDefault();b=this.D;var c=b.documentElement,d=!this.N;this.Bg.ra(b,["touchmove","mousemove"],this.nea,{capture:d,passive:!1});this.Bg.ra(b,["touchend","mouseup"],this.Cx,d);this.N?(c.setCapture(!1),this.Bg.ra(c,"losecapture",this.Cx)):this.Bg.ra(b?
$.He(b):window,"blur",this.Cx);this.Y3&&this.Bg.ra(this.Y3,"scroll",this.Kga,d);this.clientX=this.ka=a.clientX;this.clientY=this.ya=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.Hq();this.ba=$.Le($.te(this.D).b)}};$.g.Cx=function(a,b){pf(this.Bg);this.N&&this.D.releaseCapture();if(this.Ro){this.Ro=!1;var c=this.oA(this.deltaX),d=this.Yv(this.deltaY);this.dispatchEvent(new dg("end",this,a.clientX,a.clientY,a,c,d,b||"touchcancel"==a.type))}else this.dispatchEvent("earlycancel")};
$.g.nea=function(a){if(this.O){var b=a.clientX-this.clientX,c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.Ro){var d=this.ka-this.clientX,e=this.ya-this.clientY;if(d*d+e*e>this.U)if(this.dispatchEvent(new dg("start",this,a.clientX,a.clientY,a)))this.Ro=!0;else{this.fd||this.Cx(a);return}}c=cg(this,b,c);b=c.x;c=c.y;this.Ro&&this.dispatchEvent(new dg("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(eg(this,a,b,c),a.preventDefault())}};
$.g.Kga=function(a){var b=cg(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;eg(this,a,b.x,b.y)};$.g.oA=function(a){var b=this.f,c=(0,window.isNaN)(b.left)?null:b.left;b=(0,window.isNaN)(b.width)?0:b.width;return Math.min(null!=c?c+b:window.Infinity,Math.max(null!=c?c:-window.Infinity,a))};$.g.Yv=function(a){var b=this.f,c=(0,window.isNaN)(b.top)?null:b.top;b=(0,window.isNaN)(b.height)?0:b.height;return Math.min(null!=c?c+b:window.Infinity,Math.max(null!=c?c:-window.Infinity,a))};
$.g.Hq=function(){this.deltaX=this.target.offsetLeft;this.deltaY=this.target.offsetTop};$.g.Rr=function(a,b){this.target.style.left=a+"px";this.target.style.top=b+"px"};$.H(dg,ud);$.H(fg,$.ag);$.g=fg.prototype;$.g.yha=function(){return this.g.dispatchEvent("earlycancel")};$.g.GN=function(a){return this.g.dispatchEvent(new dg(a.type,this,a.clientX,a.clientY,a.UB,a.left,a.top,a.N))};$.g.uW=function(a){this.f=a||new $.J(window.NaN,window.NaN,window.NaN,window.NaN)};$.g.Hq=function(){this.deltaX=this.g.i0();this.deltaY=this.g.j0()};
$.g.oA=function(){this.b[0]=this.deltaX;this.b[1]=this.deltaY;if(!(0,window.isNaN)(this.f.left)||!(0,window.isNaN)(this.f.top)){var a=this.g.parent().qg();a&&mg(this.g.parent()).transform(this.b,0,this.b,0,1);var b=this.f,c=(0,window.isNaN)(b.left)?null:b.left,d=(0,window.isNaN)(b.width)?0:b.width,e=(0,window.isNaN)(b.top)?null:b.top;b=(0,window.isNaN)(b.height)?0:b.height;d-=this.g.Xd();b-=this.g.ud();b=null!=e?e+b:window.Infinity;e=null!=e?e:-window.Infinity;this.b[0]=Math.min(null!=c?c+d:window.Infinity,
Math.max(null!=c?c:-window.Infinity,this.b[0]));this.b[1]=Math.min(b,Math.max(e,this.b[1]));a&&a.transform(this.b,0,this.b,0,1)}return this.b[0]};$.g.Yv=function(){return this.b[1]};$.g.Rr=function(a,b){var c=mg(this.g.parent());if(c){var d=[a,b];c.transform(d,0,d,0,1);a=d[0];b=d[1]}this.g.setPosition(a,b)};$.H($.hg,$.qf);var gg=4294967295;$.g=$.hg.prototype;$.g.RF=!1;$.g.oC=!1;$.g.Mw=null;$.g.Nw=null;$.g.av=null;$.g.bv=null;$.g.Sv=!1;$.g.kC=null;$.g.BD=null;$.g.Jd=null;$.g.Y=null;$.g.DA=null;$.g.Si=!0;$.g.bi=null;$.g.UK=!1;$.g.Gd=null;$.g.iG=null;$.g.EX=0;$.g.Pk=506631;$.g.nC=0;$.g.id=function(a){if($.n(a))return a=a||"",this.Yd!=a&&(this.Yd=a,this.Lb(2048)),this;$.n(this.Yd)||this.id(dc($.cc.vd(),this));return this.Yd};$.g.Ha=function(){var a=this.parent();return a?a.Ha():null};$.g.fa=function(){return this.Jd};
$.g.parent=function(a){if($.n(a)){if(a){if(a!=this.Y){var b=this.Ha();b=b&&b!=a.Ha();a.fc(this);b&&this.zN()}}else this.remove();return this}return this.Y};$.g.zN=function(){var a=this.clip();a&&a.id(null);this.Lb(536)};$.g.fM=function(){return!!this.Y};$.g.remove=function(){this.Y&&this.Y.removeChild(this);return this};$.g.title=function(a){return $.n(a)?(this.Nw!=a&&(this.Nw=a,this.Lb(65536)),this):this.Nw};$.g.PR=function(a){return $.n(a)?(this.bv!=a&&(this.bv=a,this.Lb(131072)),this):this.bv};
$.g.ee=function(a,b){return $.n(b)?(this.RB[a]!==b&&(this.RB[a]=b,this.Lb(262144)),this):a in this.RB?this.RB[a]:$.kg().getAttribute(this.Jd,a)};$.g.cursor=function(a){return $.n(a)?(this.kC=a,this.GF(),this):this.kC};$.g.GF=function(){this.Lb(4096)};$.g.cr=function(){return!!this.nC};$.g.Af=function(a){return!!(this.nC&a)};$.g.suspend=function(){this.rU=!0};$.g.resume=function(){this.rU=!1;this.Lb(this.zO);this.zO=0};
$.g.Lb=function(a){if(a&=this.Pk)this.rU?this.zO|=a:(this.nC|=a,this.Y&&this.Y.Lb(64),a=this.Ha(),!a||a.ff()||a.xM()||this.xM()||this.Fd())};$.g.Mk=function(a){this.Y&&this.Y==a||(this.DA?this.DA==a&&(this.DA=null):this.DA=this.Y,this.Y=a,this.ib(a));return this};$.g.Qu=$.ia;$.g.tr=function(){this.fU=this.iG=null;this.Qd();this.Lb(4);lg(this)};$.g.sy=function(){this.iG=null;this.Qd();$.kg().XH()&&this.Lb(256);lg(this)};$.g.qg=function(){if(!this.iG){var a=this.Y?this.Y.qg():null;this.iG=xb(a,this.Gd)}return this.iG};
$.g.rotate=function(a,b,c){this.Qu();a=$.Jb($.bb(a),b||0,c||0);this.Gd?$.Hb(this.Gd,a):this.Gd=a;this.tr();return this};$.g.fu=function(a,b){var c=Kb(this.pb(),b||"center");return this.rotate(a,c[0],c[1])};$.g.aE=function(a,b,c){return this.rotate(a-this.NC(),b,c)};$.g.cO=function(a,b){return this.fu(a-this.NC(),b)};$.g.translate=function(a,b){this.Qu();this.Gd?this.Gd.translate(a,b):this.Gd=(new $.Cb).setTransform(1,0,0,1,a,b);this.tr();return this};
$.g.setPosition=function(a,b){var c=[a,b,this.Oh(),this.hs()];this.Gd&&$.Ib(this.Gd).transform(c,0,c,0,2);return this.translate(c[0]-c[2],c[1]-c[3])};$.g.Yha=function(a,b){this.Qu();if(this.Gd){var c=this.Gd.Ad,d=this.Gd.xd;if(a==c&&b==d)return this;$.Eb(this.Gd,a-c,b-d)}else this.Gd=(new $.Cb).setTransform(1,0,0,1,a,b);this.tr();return this};$.g.scale=function(a,b,c,d){this.Qu();this.Gd||(this.Gd=new $.Cb);$.Db(this.Gd,a,b);$.Eb(this.Gd,(c||0)*(1-a),(d||0)*(1-b));this.tr();return this};
$.g.TN=function(a,b,c){c=Kb(this.pb(),c||"center");return this.scale(a,b,c[0],c[1])};$.g.hF=function(a,b,c,d,e,f){this.Qu();this.Gd?$.wb(this.Gd,new $.Cb(a,b,c,d,e,f)):this.Gd=new $.Cb(a,b,c,d,e,f);this.tr();return this};$.g.jc=function(a,b,c,d,e,f){this.Qu();this.Gd?this.Gd.setTransform(a,b,c,d,e,f):this.Gd=new $.Cb(a,b,c,d,e,f);this.tr();return this};$.g.NC=function(){return $.Bb(this.Gd)};
$.g.Qo=function(){return this.Gd?[this.Gd.ed,this.Gd.Me,this.Gd.We,this.Gd.Ee,this.Gd.Ad,this.Gd.xd]:[1,0,0,1,0,0]};$.g.pc=function(a){var b=this.Ha(),c;if(c=b)c=HD,c=c==HD||2==c||3==c?0<b.KE(1):!0;if(c||a)this.Jd=this.jt(),Rj(this),$.ig(this,1)};$.g.jt=function(){return null};$.g.xM=function(){return this.Sv};$.g.Fd=function(){this.Sv=!0;if(this.fd||!this.Ha())return this;if(this.Af(1)){this.pc();if(this.Af(1))return this;this.RF&&this.zm(this.RF)}this.OZ();this.Rj();this.Sv=!1;return this};
$.g.OZ=function(){};
$.g.Rj=function(){if(this.Af(262144)){var a=$.kg(),b=this.RB,c=this.fa();if(c&&$.D(b))for(var d in b){var e=b[d];null===e?c.removeAttribute(d):a.gc(c,d,e)}this.RB={};$.ig(this,262144)}this.Af(2)&&($.kg().ri(this),$.ig(this,2));this.Af(4096)&&this.E3();this.Af(8192)&&($.kg().o4(this),$.ig(this,8192));(this.Af(4)||this.Af(256))&&this.uw();this.Af(512)&&($.kg().oW(this),$.ig(this,512));this.Af(32768)&&($.kg().f4(this,this.oC),$.ig(this,32768));this.Af(65536)&&($.kg().yW(this,this.Nw),$.ig(this,65536));
this.Af(131072)&&($.kg().qW(this,this.bv),$.ig(this,131072));this.Af(2048)&&(a=$.kg(),$.mh(a,this.fa(),this.id()),$.ig(this,2048))};$.g.uw=function(){$.kg().TA(this);$.ig(this,4);$.ig(this,256)};$.g.E3=function(){$.kg().e4(this,this.kC||this.BD);$.ig(this,4096)};$.g.td=function(a){if(!$.n(a))return this.UK;this.UK=!!a;this.Lb(8192);return this};$.g.dispatchEvent=function(a){$.z(a)?a=a.toLowerCase():"type"in a&&(a.type=String(a.type).toLowerCase());return $.hg.u.dispatchEvent.call(this,a)};
$.g.ra=function(a,b,c,d){return $.hg.u.ra.call(this,String(a).toLowerCase(),b,c,d)};$.g.ve=function(a,b,c,d){return $.hg.u.ve.call(this,String(a).toLowerCase(),b,c,d)};$.g.ac=function(a,b,c,d){return $.hg.u.ac.call(this,String(a).toLowerCase(),b,c,d)};$.g.ll=function(a){$.n(a)&&(a=String(a).toLowerCase());return $.hg.u.ll.call(this,a)};$.g.zIndex=function(a){return $.n(a)?(a=+a||0,this.EX!=a&&(this.EX=a,this.Y&&this.Y.Lb(128)),this):this.EX||0};
$.g.visible=function(a){return $.n(a)?(a=!!a,this.Si!=a&&(this.Si=a,this.Lb(2)),this):this.Si};$.g.Lp=function(a){return $.n(a)?(a=!!a,this.oC!=a&&(this.oC=null!=a?a:!0,this.Lb(32768)),this):this.oC};
$.g.clip=function(a){if(0==arguments.length)return this.bi;var b="none"==a?null:a;if(!this.bi&&!b||this.bi&&this.bi===b)return this;b&&!$.K(b,$.Cg)?$.K(b,$.ng)&&b.fM()&&$.K(b.parent(),$.Cg)?(this.bi&&!this.bi.fd&&$.Fa(this.bi.elements,this),this.bi=b.parent(),$.Ba(this.bi.elements,this)):this.bi?this.bi.shape(b):(this.bi=$.qk(b),$.Ba(this.bi.elements,this)):this.bi=b||null;this.Y&&this.Y.tF();this.Lb(512);return this};$.g.Wk=null;$.g.Oh=function(){return this.pb().left};$.g.hs=function(){return this.pb().top};
$.g.Xd=function(){return this.pb().width};$.g.ud=function(){return this.pb().height};$.g.pb=function(){return this.Wk||this.zt(this.Gd)};$.g.GE=null;$.g.i0=function(){return this.Qq().left};$.g.j0=function(){return this.Qq().top};$.g.HS=function(){return this.Qq().width};$.g.GS=function(){return this.Qq().height};$.g.Qq=function(){return this.GE||this.zt(this.qg())};
$.g.zt=function(a){var b=a==this.Gd;if(this.Wk&&b)a=this.Wk.clone();else{var c=a==this.qg();this.GE&&c?a=this.GE.clone():(a=this.WB(a),b&&(this.Wk=a.clone()),c&&(this.GE=a.clone()))}return a};$.g.WB=function(a){return $.zb(this.Lj(),a)};$.g.Lj=function(){return this.zt(null)};$.g.Qd=function(){this.GE=this.Wk=null};$.g.zm=function(a){return null!=a?((this.RF=a)&&!this.Af(1)?(a=$.K(a,$.J)?this.RF:null,this.$e||(this.$e=new fg(this)),this.$e.lj(!0),this.$e.uW(a)):this.$e&&this.$e.lj(!1),this):this.RF};
$.g.fe=function(a){"id"in a&&this.id(a.id);if("clip"in a){var b=$.qk();b.fe(a.clip);this.clip(b)}"drag"in a&&(b=a.drag,this.zm($.da(b)?b:new $.J(b.left,b.top,b.width,b.height)));"cursor"in a&&this.cursor(a.cursor);"transformation"in a&&this.jc.apply(this,a.transformation)};$.g.F=function(){var a={};this.Yd&&(a.id=this.Yd);var b=this.clip();b&&(a.clip=b.F());(b=this.cursor())&&(a.cursor=b);(b=this.zm())&&(a.drag=b);(b=this.Gd)&&(a.transformation=[b.ed,b.Me,b.We,b.ed,b.Ad,b.xd]);return a};$.g.cd=function(){$.hg.u.cd.call(this)};
$.g.R=function(){this.fM()?this.remove():this.zC();$.hg.u.R.call(this)};$.g.zC=function(){$.td(this.eo,this.bi,this.$e);this.$e=this.bi=this.eo=null;this.Mk(null);fk(this);this.Gd=this.ZA=this.Jd=null};var ID=$.hg.prototype;ID.id=ID.id;ID.visible=ID.visible;ID.disableStrokeScaling=ID.Lp;ID.domElement=ID.fa;ID.parent=ID.parent;ID.hasParent=ID.fM;ID.remove=ID.remove;ID.attr=ID.ee;ID.title=ID.title;ID.desc=ID.PR;ID.getStage=ID.Ha;ID.cursor=ID.cursor;ID.disablePointerEvents=ID.td;ID.rotate=ID.rotate;
ID.rotateByAnchor=ID.fu;ID.setRotation=ID.aE;ID.setRotationByAnchor=ID.cO;ID.translate=ID.translate;ID.setTranslation=ID.Yha;ID.setPosition=ID.setPosition;ID.scale=ID.scale;ID.scaleByAnchor=ID.TN;ID.appendTransformationMatrix=ID.hF;ID.setTransformationMatrix=ID.jc;ID.getRotationAngle=ID.NC;ID.getTransformationMatrix=ID.Qo;ID.clip=ID.clip;ID.zIndex=ID.zIndex;ID.getX=ID.Oh;ID.getY=ID.hs;ID.getWidth=ID.Xd;ID.getHeight=ID.ud;ID.getBounds=ID.pb;ID.getAbsoluteX=ID.i0;ID.getAbsoluteY=ID.j0;
ID.getAbsoluteWidth=ID.HS;ID.getAbsoluteHeight=ID.GS;ID.getAbsoluteBounds=ID.Qq;ID.listen=ID.ra;ID.listenOnce=ID.ve;ID.unlisten=ID.ac;ID.unlistenByKey=ID.jB;ID.removeAllListeners=ID.ll;ID.drag=ID.zm;ID.dispose=ID.cd;$.H($.ng,$.hg);$.g=$.ng.prototype;$.g.Pk=$.hg.prototype.Pk|24;$.g.fill=function(a,b,c,d,e,f,h){if(!$.n(a))return this.N;var k=$.Vb.apply(this,arguments);this.N!=k&&(this.N=k,this.xc=this.xc&2|!(!k.mode&&!k.src),this.Lb(8));return this};$.g.stroke=function(a,b,c,d,e){if(!$.n(a))return this.g;var f=$.Yb.apply(this,arguments);this.g!=f&&(this.g=f,this.xc=this.xc&1|f.mode<<1,this.Lb(16));return this};
$.g.Nk=function(a){return $.n(a)?($.z(this.g)?this.g={color:this.g,thickness:(0,window.isNaN)(a)?1:+a}:this.g.thickness=(0,window.isNaN)(a)?1:+a,this.Lb(16),this):$.z(this.g)?1:$.bc(this.g)};$.g.OZ=function(){this.xc&&this.Af(32)&&(this.xc&1&&this.Lb(8),this.xc&2&&this.Lb(16))};$.g.Rj=function(){$.ng.u.Rj.call(this);if(this.Af(8)||this.Af(16))$.kg().yZ(this),$.ig(this,8),$.ig(this,16)};
$.g.fe=function(a){if("fill"in a){var b=a.fill;var c=b.type;"pattern"==c?(c=b.bounds,c=$.Tb(new $.J(c.left,c.top,c.width,c.height)),c.fe(b)):"hatchFill"==c?c=Zb(b.hatchType,b.color,b.thickness,b.size):($.D(b)&&"type"in b&&delete b.type,c=b);this.fill(c)}"stroke"in a&&this.stroke(a.stroke);$.ng.u.fe.call(this,a)};
$.g.F=function(){var a=$.ng.u.F.call(this);if(this.N){if($.K(this.N,Lg))var b={type:"hatchFill",hatchType:this.N.type,color:this.N.color,thickness:this.N.jf,size:this.N.size};else $.K(this.N,$.Sb)?b=this.N.F():$.D(this.N)&&"keys"in this.N?"cx"in this.N&&"cy"in this.N?(b=$.fd(this.N),b.type="RadialGradientFill"):(b=$.fd(this.N),b.type="LinearGradientFill"):b=this.N;b&&(a.fill=b)}this.g?a.stroke=this.g:$.D(this.g)&&"keys"in this.g&&("cx"in this.g&&"cy"in this.g?(b=$.fd(this.g),b.type="RadialGradientFill"):
(b=$.fd(this.g),b.type="LinearGradientFill"),a.stroke=b);return a};$.g.R=function(){delete this.N;delete this.g;$.ng.u.R.call(this)};var JD=$.ng.prototype;JD.stroke=JD.stroke;JD.strokeThickness=JD.Nk;JD.fill=JD.fill;JD.attr=JD.ee;$.H(og,$.ng);$.g=og.prototype;$.g.Pk=$.ng.prototype.Pk|32;$.g.Fm=function(){return"ellipse"};$.g.zp=function(a){return $.n(a)?(this.f.x!=a&&(this.f.x=a,this.Qd(),this.Lb(32)),this):this.f.x};$.g.Ap=function(a){return $.n(a)?(this.f.y!=a&&(this.f.y=a,this.Qd(),this.Lb(32)),this):this.f.y};$.g.yp=function(a){return $.n(a)?($.ib(this.f,a)||(this.f.x=a.x,this.f.y=a.y,this.Qd(),this.Lb(32)),this):this.f.clone()};$.g.Er=function(a){return $.n(a)?(this.b!=a&&(this.b=a,this.Qd(),this.Lb(32)),this):this.b};
$.g.Yw=function(a){return $.n(a)?(this.j!=a&&(this.j=a,this.Qd(),this.Lb(32)),this):this.j};$.g.Xha=function(a,b){this.Er(a);this.Yw(b);return this};$.g.Lj=function(){return new $.J(this.f.x-this.b,this.f.y-this.j,this.b+this.b,this.j+this.j)};$.g.WB=function(a){if(a){var b=$.tb(this.f.x,this.f.y,this.b,this.j,0,360,!0);a.transform(b,0,b,0,b.length/2);a=ub.apply(null,b)}else a=this.Lj();return a};$.g.jt=function(){return $.kg().n_()};
$.g.Rj=function(){this.Af(32)&&(this.lp(),this.fill()&&this.fill().src&&this.Lb(8));og.u.Rj.call(this)};$.g.uw=function(){$.kg().g4(this);$.ig(this,4);$.ig(this,256)};$.g.lp=function(){$.kg().rW(this);$.ig(this,32)};$.g.fe=function(a){this.zp(a.cx).Ap(a.cy);"rx"in a&&this.Er(a.rx);"ry"in a&&this.Yw(a.ry);og.u.fe.call(this,a)};$.g.F=function(){var a=og.u.F.call(this);a.type="ellipse";a.cx=this.zp();a.cy=this.Ap();a.rx=this.Er();a.ry=this.Yw();return a};$.g.R=function(){this.Qd();this.f=null;og.u.R.call(this)};
$.F("acgraph.vector.Ellipse",og);var KD=og.prototype;KD.center=KD.yp;KD.centerX=KD.zp;KD.centerY=KD.Ap;KD.radiusX=KD.Er;KD.radiusY=KD.Yw;KD.setRadius=KD.Xha;$.H($.pg,og);$.g=$.pg.prototype;$.g.Fm=function(){return"circle"};$.g.Wb=function(a){return null!=a?(this.Er(a),this.Yw(a),this):this.Er()};$.g.jt=function(){return $.kg().j_()};$.g.lp=function(){$.kg().d4(this);$.ig(this,32)};$.g.fe=function(a){this.Er(a.radius);$.pg.u.fe.call(this,a)};$.g.F=function(){var a=$.pg.u.F.call(this);a.type="circle";delete a.rx;delete a.ry;a.radius=this.Er();return a};$.F("acgraph.vector.Circle",$.pg);var LD=$.pg.prototype;LD.radius=LD.Wb;$.H($.qg,$.ng);var Gaa=[,2,2,6,6,2];$.g=$.qg.prototype;$.g.AS=function(a,b,c){rg(a,this.j,this.f,this.D,b,c)};$.g.ada=function(a,b,c){if(this.Us)var d=this.Us;else{var e=this.qg();e&&!$.yb(e)?(d=[],this.AI(),e.transform(this.D,0,d,0,this.D.length/2)):d=this.D}rg(a,this.j,this.f,d,b,c)};$.g.Pk=$.ng.prototype.Pk|32;$.g.Xu=null;$.g.Ff=null;$.g.IW=!0;$.g.Us=null;$.g.Fm=function(){return"path"};$.g.Dj=function(){return 0==this.j.length};
$.g.AI=function(){if(!this.IW){var a=this.D,b=this.j,c=this.f;this.D=[];this.j=[];this.f=[];sg(this);rg((0,$.pa)(function(a,b){MD[a].apply(this,b)},this),b,c,a);this.Lb(32)}};$.g.VM=function(a,b){1==$.ua(this.j)?this.D.length-=2:(this.j.push(1),this.f.push(1));this.D.push(a,b);this.Ff=this.Xu=[a,b];this.Us=null;this.Lb(32);return this};
$.g.us=function(a,b,c){var d=$.ua(this.j);if(null==d)throw $.jd(9);2!=d&&(this.j.push(2),this.f.push(0));for(d=0;d<arguments.length;d+=2)a=arguments[d],b=arguments[d+1],this.D.push(a,b);this.f[this.f.length-1]+=d/2;this.Ff=[a,b];this.Qd();this.Us=null;this.Lb(32);return this};
$.g.FK=function(a,b,c,d,e,f,h){var k=$.ua(this.j);if(null==k)throw $.jd(9);3!=k&&(this.j.push(3),this.f.push(0));for(k=0;k<arguments.length;k+=6){var l=arguments[k+4],m=arguments[k+5];this.D.push(arguments[k],arguments[k+1],arguments[k+2],arguments[k+3],l,m)}this.f[this.f.length-1]+=k/6;this.Ff=[l,m];this.Qd();this.Us=null;this.Lb(32);return this};
$.g.vha=function(a,b,c,d,e){if(0==this.j.length)throw $.jd(9);for(var f=this.Ff[0],h=this.Ff[1],k=0;k<arguments.length;k+=4){a=arguments[k];b=arguments[k+1];var l=arguments[k+2],m=arguments[k+3];this.FK(f+2*(a-f)/3,h+2*(b-h)/3,a+(l-a)/3,b+(m-b)/3,l,m);f=l;h=m}return this};$.g.BZ=function(a,b,c,d){a=$.tb(this.Ff[0]-$.db(c,a),this.Ff[1]-$.eb(c,b),a,b,c,d);this.FK.apply(this,a);this.Qd();this.Us=null;this.Lb(32);return this};
$.g.$Q=function(){var a=$.ua(this.j);if(null==a)throw $.jd(9);5!=a&&(this.D.push(this.Xu[0],this.Xu[1]),this.j.push(5),this.f.push(1),this.Ff=this.Xu,this.Lb(32));return this};$.g.WB=function(a){if(this.Ff){if(a&&!$.yb(a)){var b=[this.Ff[0],this.Ff[1]];a.transform(b,0,b,0,1);b=new $.J(b[0],b[1],0,0);this.AI()}else b=new $.J(this.Ff[0],this.Ff[1],0,0);this.AS(function(a,b){$.id(ND[a],b,this)},{rect:b,transform:a},!0)}else b=new $.J(window.NaN,window.NaN,window.NaN,window.NaN);return b};
$.g.tr=function(){$.qg.u.tr.call(this);this.Us=null};$.g.sy=function(){$.qg.u.sy.call(this);this.Us=null};$.g.uw=function(){$.kg().m4(this);$.ig(this,4);$.ig(this,256)};$.g.jt=function(){return $.kg().s_()};$.g.Rj=function(){$.qg.u.Rj.call(this);this.Af(32)&&($.kg().vW(this),$.ig(this,32))};var MD,OD=[];OD[1]=$.qg.prototype.VM;OD[2]=$.qg.prototype.us;OD[5]=$.qg.prototype.$Q;OD[3]=$.qg.prototype.FK;OD[4]=$.qg.prototype.BZ;MD=OD;var ND,PD=[];PD[1]=$.ia;
PD[2]=function(a){var b=new $.J(0,0,0,0);if(this.transform){var c=arguments;this.transform.transform(c,0,c,0,Math.floor(arguments.length/2))}c=0;for(var d=arguments.length;c<d;c+=2)b.left=arguments[c],b.top=arguments[c+1],$.qb(this.rect,b)};PD[5]=$.ia;PD[3]=function(a){if(this.transform){var b=arguments;this.transform.transform(b,0,b,0,Math.floor(arguments.length/2))}$.qb(this.rect,ub.apply(null,arguments))};
PD[4]=function(a,b,c,d,e,f,h,k){var l=new $.J(0,0,0,0);h=[a,h];k=[b,k];a-=$.db(e,c);b-=$.eb(e,d);var m=0<f?90:-90,p=90*(0<f?Math.ceil(e/90):Math.floor(e/90));for(e+=f;p<e^0>f;p+=m)switch((Math.floor(p/90)+4)%4){case 0:h.push(a+c);break;case 1:k.push(b+d);break;case 2:h.push(a-c);break;case 3:k.push(b-d)}l.left=Math.min.apply(null,h);l.width=Math.max.apply(null,h)-l.left;l.top=Math.min.apply(null,k);l.height=Math.max.apply(null,k)-l.top;$.qb(this.rect,l)};ND=PD;
$.qg.prototype.Dg=function(){var a=0;if(this.Dj())return a;var b=[];this.AS(function(c,d){if(1!=c){var e=$.Ja(b,b.length-2);if(4==c){var f=6;d=$.tb(e[0]-$.db(d[2],d[0]),e[1]-$.eb(d[2],d[1]),d[0],d[1],d[2],d[3])}else 2==c?f=2:3==c&&(f=6);for(var h=0,k=d.length-(f-1);h<k;h+=f){Array.prototype.push.apply(e,$.Ja(d,h,h+f));var l=a,m,p=e;var q=p.length;var r=q/2-1;var t=[];for(m=0;m<q;m+=2)t.push({x:p[m],y:p[m+1]});p=[];for(q=0;100>=q;q++){m=q/100;var u={x:0,y:0};if(0===m)p.push(t[0]);else if(1===m)p.push(t[r]);
else{var v=t,w=1-m;if(1===r)m={x:w*v[0].x+m*v[1].x,y:w*v[0].y+m*v[1].y},p.push(m);else if(4>r){var x=w*w,y=m*m,B=0;if(2===r){v=[v[0],v[1],v[2],u];var G=x;var C=w*m*2;var I=y}else 3===r&&(G=x*w,C=x*m*3,I=w*y*3,B=m*y);m={x:G*v[0].x+C*v[1].x+I*v[2].x+B*v[3].x,y:G*v[0].y+C*v[1].y+I*v[2].y+B*v[3].y};p.push(m)}else{for(v=JSON.parse(JSON.stringify(t));1<v.length;){for(u=0;u<v.length-1;u++)v[u]={x:v[u].x+(v[u+1].x-v[u].x)*m,y:v[u].y+(v[u+1].y-v[u].y)*m};v.splice(v.length-1,1)}p.push(v[0])}}}for(u=t=0;u<p.length-
1;u++)m=p[u],q=p[u+1],r=q.x-m.x,q=q.y-m.y,t+=Math.sqrt(r*r+q*q);a=l+(100*t|0)/100;e=$.Ja(e,e.length-2)}}$.id(Array.prototype.push,d,b)});return a};$.qg.prototype.fe=function(a){this.Xu=a.closePoint;this.Ff=a.currentPoint;this.j=a.segments;this.f=a.count;this.D=a.arguments;this.Lb(32);$.qg.u.fe.call(this,a)};$.qg.prototype.F=function(){var a=$.qg.u.F.call(this);a.type="path";return a=$.yg(this,a)};
$.qg.prototype.R=function(){this.Ff=this.Xu=null;this.Qd();this.Us=null;delete this.j;delete this.f;delete this.D;$.qg.u.R.call(this)};$.H($.zg,$.qg);$.g=$.zg.prototype;$.g.clear=function(){return tg(this)};$.g.moveTo=function(a,b){return this.VM(a,b)};$.g.lineTo=function(a,b,c){return $.qg.prototype.us.apply(this,arguments)};$.g.yk=function(a,b,c,d,e,f,h){return $.qg.prototype.FK.apply(this,arguments)};$.g.pJ=function(a,b,c,d,e){return $.qg.prototype.vha.apply(this,arguments)};$.g.ze=function(a,b,c,d,e,f,h){a+=$.db(e,c);b+=$.eb(e,d);this.Ff&&this.Ff[0]==a&&this.Ff[1]==b||(h?this.us(a,b):this.VM(a,b));return ug(this,c,d,e,f)};
$.g.kf=function(a,b,c,d,e,f){return xg(this,a,b,c,d,e,f)};$.g.arcTo=function(a,b,c,d){return ug(this,a,b,c,d)};$.g.BQ=function(a,b,c,d){return this.BZ(a,b,c,d)};$.g.close=function(){return this.$Q()};$.g.oY=function(){return this.Ff?new $.gb(this.Ff[0],this.Ff[1]):null};var QD=$.zg.prototype;$.F("acgraph.vector.Path",$.zg);QD.moveTo=QD.moveTo;QD.lineTo=QD.lineTo;QD.curveTo=QD.yk;QD.quadraticCurveTo=QD.pJ;QD.arcTo=QD.arcTo;QD.arcToByEndPoint=QD.kf;QD.arcToAsCurves=QD.BQ;QD.circularArc=QD.ze;
QD.close=QD.close;QD.clear=QD.clear;QD.getCurrentPoint=QD.oY;QD.getLength=QD.Dg;$.H(Bg,$.qg);$.g=Bg.prototype;$.g.Pk=$.ng.prototype.Pk|32;$.g.Fm=function(){return"rect"};$.g.ro=function(a){a!=this.b.left&&(this.b.left=a,Ag(this));return this};$.g.so=function(a){a!=this.b.top&&(this.b.top=a,Ag(this));return this};$.g.qo=function(a){this.b.width!=a&&(this.b.width=a,Ag(this));return this};$.g.po=function(a){this.b.height!=a&&(this.b.height=a,Ag(this));return this};
$.g.uf=function(a){$.ob(this.b,a)||(this.b.left=a.left,this.b.top=a.top,this.b.width=a.width,this.b.height=a.height,Ag(this));return this};
$.g.pW=function(a,b){var c,d;var e=$.Ja(arguments,1);var f=e[0];$.z(f)?d=Xb(f,4):d=e;4>d.length?d=c=f=e=(0,window.parseFloat)(d[0]):(e=(0,window.parseFloat)(d[0]),f=(0,window.parseFloat)(d[1]),c=(0,window.parseFloat)(d[2]),d=(0,window.parseFloat)(d[3]));this.O[0]=e?e:0;this.G[0]=e?a:void 0;this.O[1]=f?f:0;this.G[1]=f?a:void 0;this.O[2]=c?c:0;this.G[2]=c?a:void 0;this.O[3]=d?d:0;this.G[3]=d?a:void 0};$.g.round=function(a,b,c,d){$.Ca(arguments,0,0,"round");this.pW.apply(this,arguments);Ag(this);return this};
$.g.Kha=function(a,b,c,d){$.Ca(arguments,0,0,"round-inner");this.pW.apply(this,arguments);Ag(this);return this};$.g.Wba=function(a,b,c,d){$.Ca(arguments,0,0,"cut");this.pW.apply(this,arguments);Ag(this);return this};$.g.fe=function(a){Bg.u.fe.call(this,a);this.ro(a.x).so(a.y).qo(a.width).po(a.height);a.cornerTypes&&(this.G=Xb(a.cornerTypes,4),a=Xb(a.cornerSizes,4),(0,$.Qe)(a,function(a,c,d){d[c]=(0,window.parseFloat)(a)}),this.O=a,Ag(this))};
$.g.F=function(){var a=Bg.u.F.call(this);a.type="rect";a.x=this.b.left;a.y=this.b.top;a.width=this.b.width;a.height=this.b.height;a.cornerTypes=this.G.join(" ");a.cornerSizes=this.O.join(" ");return a};$.g.R=function(){this.b=this.G=this.O=null;this.Qd();Bg.u.R.call(this)};var RD=Bg.prototype;$.F("acgraph.vector.Rect",Bg);RD.setX=RD.ro;RD.setY=RD.so;RD.setWidth=RD.qo;RD.setHeight=RD.po;RD.setBounds=RD.uf;RD.cut=RD.Wba;RD.round=RD.round;RD.roundInner=RD.Kha;$.H($.Cg,$.od);$.Cg.prototype.j=function(a){return $.n(a)?(this.f=a,this.g&&(a=this.f,a.ff()?a.ox.push(this):this.Fd()),this):this.f};var SD={rect:Bg,circle:$.pg,ellipse:og,path:$.zg};$.g=$.Cg.prototype;
$.g.shape=function(a,b,c,d){if(arguments.length){if($.K(a,$.ng))if(this.b){var e=!1;for(h in SD){var f=SD[h];if($.K(this.b,f)&&$.K(a,f)){e=!0;break}}e?this.b.fe(a.F()):(this.b.parent(null),this.b=a,this.b.parent(this))}else this.b=a,this.b.parent(this);else{if($.K(a,$.J)){e=a.left;var h=a.top;f=a.width;var k=a.height}else $.A(a)?(e=null!=a[0]?a[0]:0,h=null!=a[1]?a[1]:0,f=null!=a[2]?a[2]:0,k=null!=a[3]?a[3]:0):$.D(a)?(e=null!=a.left?a.left:0,h=null!=a.top?a.top:0,f=null!=a.width?a.width:0,k=null!=
a.height?a.height:0):(e=null!=a?a:0,h=null!=b?b:0,f=null!=c?c:0,k=null!=d?d:0);this.b?$.K(this.b,Bg)?this.b.ro(e).so(h).qo(f).po(k):(this.b.parent(null),this.b=$.jk(e,h,f,k),this.b.parent(this)):(this.b=$.jk(e,h,f,k),this.b.parent(this))}return this}return this.b};$.g.cr=function(){return this.g};$.g.id=function(a){return $.n(a)?(this.Yd=a,this):this.Yd};$.g.Fd=function(){this.g=!1;if(this.Yd){$.kg();var a=this.shape();if(a.fa())this.shape().Fd();else{var b=Zj(this.Ha().hn,this);a.Fd();a=a.fa();b.appendChild(a)}}};
$.g.F=function(){return this.b.F()};$.g.fe=function(a){var b=SD[a.type];b&&(b=new b,b.fe(a),this.shape(b))};$.g.fc=function(a){a.remove();a.Mk(this);Dg(this);jg(a,!0);return this};$.g.removeChild=function(a){a.Mk(null);var b=a.fa();b&&$.Xe(b);Dg(this);jg(a,!1);return a};$.g.qg=function(){return null};$.g.bI=function(){};$.g.Ha=function(){return this.j()};$.g.Lb=function(){Dg(this)};$.g.cd=function(){$.Cg.u.cd.call(this)};
$.g.R=function(){this.f&&$.Fa(this.f.ox,this);$.kg().E_(this);this.b.cd();delete this.f;delete this.Yd;delete this.elements;delete this.g;delete this.b;$.Cg.u.R.call(this)};var TD=$.Cg.prototype;TD.shape=TD.shape;TD.dispose=TD.cd;$.H($.Eg,$.hg);$.g=$.Eg.prototype;$.g.Fm=function(){return"layer"};$.g.Pk=$.hg.prototype.Pk|224;$.g.zN=function(){for(var a=0;a<this.children.length;a++)this.children[a].zN();$.Eg.u.zN.call(this)};$.g.Lb=function(a){$.Eg.u.Lb.call(this,a);a&192&&this.Qd()};$.g.fc=function(a){return this.og(a,this.Zb())};$.g.og=function(a,b){a.remove();b=$.Za(b,0,this.Zb());$.Da(this.children,a,b);a.Mk(this);a.cr()&&this.Lb(64);this.Lb(128);a.sy();var c=this.cursor()||this.BD;a.BD!=c&&(a.BD=c,a.GF());return this};
$.g.od=function(a){return this.children[a]||null};$.g.pf=function(a){return(0,$.za)(this.children,a)};$.g.removeChild=function(a){return this.jj(this.pf(a))};$.g.jj=function(a){var b=null;0<=a&&a<this.Zb()&&(b=this.fd?this.children[a]:$.Ca(this.children,a,1)[0],b.Mk(null),this.Lb(128));return b};$.g.Ki=function(){for(var a=0;a<this.Zb();a++)this.children[a].Mk(null);a=this.children;this.fd||(this.children=[]);this.Lb(128);return a};$.g.BO=function(a,b){return this.RI(this.pf(a),this.pf(b))};
$.g.RI=function(a,b){if(0>a||a>=this.Zb()||0>b||b>=this.Zb())throw $.jd(8);if(a!=b){var c=this.children[a];this.children[a]=this.children[b];this.children[b]=c;this.Lb(128)}return this};$.g.dM=function(a){return!!a&&$.Aa(this.children,a)};$.g.Zb=function(){return this.children.length};$.g.yj=function(a,b){$.n(b)||(b=this);(0,$.Qe)(this.children,a,b);return this};$.g.Dd=function(){var a=$.lk();a.parent(this);return a};$.g.OO=function(){var a=new $.Uh(void 0);a.parent(this);return a};
$.g.text=function(a,b,c,d){a=$.pk(a,b);d&&a.style(d);c&&a.text(c);a.parent(this);return a};$.g.kM=function(a,b,c,d){a=$.pk(a,b);d&&a.style(d);c&&a.htmlText(c);a.parent(this);return a};$.g.rect=function(a,b,c,d){a=$.jk(a,b,c,d);a.parent(this);return a};$.g.dk=function(a,b,c,d,e){a=ok(a,b,c,d,e);a.parent(this);return a};$.g.NN=function(a,b){$.Da(arguments,this.path(),0);return yi.apply(this,arguments).parent(this)};$.g.MN=function(a,b){$.Da(arguments,this.path(),0);return zi.apply(this,arguments).parent(this)};
$.g.MO=function(a,b){$.Da(arguments,this.path(),0);return ui.apply(this,arguments).parent(this)};$.g.cn=function(a,b,c){a=$.kk(a,b,c);a.parent(this);return a};$.g.ellipse=function(a,b,c,d){a=$.mk(a,b,c,d);a.parent(this);return a};$.g.path=function(){return $.nk().parent(this)};$.g.oO=function(a,b,c,d,e,f,h){return ci(this.path(),a,b,c,d,e,f,h).parent(this)};$.g.qO=function(a,b,c){return di(this.path(),a,b,c).parent(this)};$.g.rO=function(a,b,c){return ei(this.path(),a,b,c).parent(this)};
$.g.sO=function(a,b,c){return fi(this.path(),a,b,c).parent(this)};$.g.tO=function(a,b,c){return gi(this.path(),a,b,c).parent(this)};$.g.pO=function(a,b,c){return hi(this.path(),a,b,c).parent(this)};$.g.LO=function(a,b,c){return ii(this.path(),a,b,c).parent(this)};$.g.IO=function(a,b,c){return ji(this.path(),a,b,c).parent(this)};$.g.KO=function(a,b,c){return ki(this.path(),a,b,c).parent(this)};$.g.JO=function(a,b,c){return li(this.path(),a,b,c).parent(this)};
$.g.TK=function(a,b,c){return mi(this.path(),a,b,c).parent(this)};$.g.yK=function(a,b,c){return ni(this.path(),a,b,c).parent(this)};$.g.SK=function(a,b,c){return oi(this.path(),a,b,c).parent(this)};$.g.cM=function(a,b,c){return pi(this.path(),a,b,c).parent(this)};$.g.SO=function(a,b,c){return qi(this.path(),a,b,c).parent(this)};$.g.bg=function(a,b,c,d,e){return ri(this.path(),a,b,c,d,e).parent(this)};$.g.YK=function(a,b,c,d,e,f){return $.si(this.path(),a,b,c,d,e,f).parent(this)};$.g.jt=function(){return $.kg().Jq()};
$.g.Rj=function(){this.Af(32)&&this.lp();var a=this.Ha();a=a.KE(Math.floor(Math.max(500-a.Qr,0)/3));this.Af(64)&&Hg(this);var b=this.Ha();b.Qr-=a;if(this.Af(128)&&(a=this.Ha().KE(this.children.length+this.Oq.length+1),b=Haa(this,a),b<a)){var c=this.Ha();c.Qr-=a-b}this.Af(64)&&Hg(this);$.Eg.u.Rj.call(this)};$.g.GF=function(){$.Eg.u.GF.call(this);for(var a=this.children.length;a--;)this.children[a].BD=this.cursor()||this.BD,this.children[a].GF()};$.g.E3=function(){$.ig(this,4096)};
$.g.bI=function(a){this.fd||(a=(0,$.za)(this.Oq,a),0<=a&&$.Ca(this.Oq,a,1))};$.g.lp=function(){$.kg().k4(this);$.ig(this,32)};$.g.uw=function(){this.Af(4)&&$.kg().l4(this);$.ig(this,4);$.ig(this,256)};$.g.WB=function(a){for(var b=null,c=0,d=this.children.length;c<d;c++){var e=this.children[c];e=e.zt(xb(a,e.Gd));(0,window.isNaN)(e.left)||(0,window.isNaN)(e.top)||(0,window.isNaN)(e.width)||(0,window.isNaN)(e.height)||(b?$.qb(b,e):b=e)}b||(b=$.zb(new $.J(0,0,0,0),a));return b};
$.g.Qu=function(){for(var a=this.children.length;a--;)this.children[a].Qu()};$.g.tr=function(){$.Eg.u.tr.call(this);Ig(this)};$.g.sy=function(){$.Eg.u.sy.call(this);Ig(this)};$.g.tF=function(){$.kg().kV()&&(this.Lb(512),this.fM()&&this.parent().tF())};
$.g.fe=function(a){(0,$.Qe)(a.children,function(a){switch(a.type){case "rect":var b=this.rect();break;case "circle":b=this.cn();break;case "ellipse":b=this.ellipse();break;case "image":b=this.dk();break;case "text":b=this.text();break;case "path":b=this.path();break;case "layer":b=this.Dd();break;default:b=null}b&&b.fe(a)},this);$.Eg.u.fe.call(this,a)};$.g.F=function(){var a=$.Eg.u.F.call(this),b=[];this.yj(function(a){b.push(a.F())});a.type="layer";a.children=b;return a};
$.g.R=function(){this.children&&$.td.apply(null,this.children);this.Oq&&delete this.Oq;this.Qd();$.Eg.u.R.call(this)};$.g.zC=function(){this.children&&(0,$.Qe)(this.children,function(a){a.zC()});delete this.Oq;delete this.children;$.Eg.u.zC.call(this)};var UD=$.Eg.prototype;$.F("acgraph.vector.Layer",$.Eg);UD.addChild=UD.fc;UD.addChildAt=UD.og;UD.removeChild=UD.removeChild;UD.removeChildAt=UD.jj;UD.removeChildren=UD.Ki;UD.swapChildren=UD.BO;UD.swapChildrenAt=UD.RI;UD.getChildAt=UD.od;
UD.hasChild=UD.dM;UD.forEachChild=UD.yj;UD.indexOfChild=UD.pf;UD.numChildren=UD.Zb;UD.circle=UD.cn;UD.layer=UD.Dd;UD.unmanagedLayer=UD.OO;UD.ellipse=UD.ellipse;UD.rect=UD.rect;UD.truncatedRect=UD.MO;UD.roundedRect=UD.NN;UD.roundedInnerRect=UD.MN;UD.path=UD.path;UD.star=UD.oO;$.Eg.prototype.star4=$.Eg.prototype.qO;$.Eg.prototype.star5=$.Eg.prototype.rO;$.Eg.prototype.star6=$.Eg.prototype.sO;$.Eg.prototype.star7=$.Eg.prototype.tO;$.Eg.prototype.star10=$.Eg.prototype.pO;UD.diamond=UD.TK;
UD.triangleUp=UD.LO;UD.triangleDown=UD.IO;UD.triangleRight=UD.KO;UD.triangleLeft=UD.JO;UD.cross=UD.yK;UD.diagonalCross=UD.SK;UD.hLine=UD.cM;UD.vLine=UD.SO;UD.pie=UD.bg;UD.donut=UD.YK;UD.text=UD.text;UD.html=UD.kM;UD.image=UD.dk;$.H($.Sb,$.Eg);$.g=$.Sb.prototype;$.g.Pk=2277;$.g.Fm=function(){return"fill-pattern"};$.g.parent=function(a){return $.n(a)?(a?this.Mk(a):this.remove(),this):$.Sb.u.parent.call(this)};$.g.Lj=function(){return this.Za.clone()};$.g.jt=function(){return $.kg().o_()};$.g.lp=function(){$.kg().h4(this);$.ig(this,32)};$.g.Rj=function(){if(!this.no){var a=this.Ha().hn.fa(),b=this.fa();a.appendChild(b)}this.no=!0;$.Sb.u.Rj.call(this)};$.g.uw=function(){this.Af(4)&&$.kg().n4(this);$.ig(this,4)};
$.g.fe=function(a){$.Sb.u.fe.call(this,a)};$.g.F=function(){var a=$.Sb.u.F.call(this),b=this.Lj();a.type="pattern";a.bounds=b;return a};$.g.R=function(){$.Xe(this.fa());this.xb=null;$.Sb.u.R.call(this)};var VD=$.Sb.prototype;$.F("acgraph.vector.PatternFill",$.Sb);VD.addChild=VD.fc;VD.dispose=VD.cd;$.H(Lg,$.Sb);
var Jg={Ija:"backward-diagonal",kla:"forward-diagonal",PX:"horizontal",mY:"vertical",xka:"dashed-backward-diagonal",NX:"grid",yka:"dashed-forward-diagonal",zka:"dashed-horizontal",Aka:"dashed-vertical",KX:"diagonal-cross",Mka:"diagonal-brick",Rka:"divot",pla:"horizontal-brick",tna:"vertical-brick",lka:"checker-board",pka:"confetti",oma:"plaid",$ma:"solid-diamond",Ina:"zig-zag",yna:"weave",Xla:"percent-05",Yla:"percent-10",Zla:"percent-20",$la:"percent-25",bma:"percent-30",cma:"percent-40",dma:"percent-50",
fma:"percent-60",gma:"percent-70",hma:"percent-75",ima:"percent-80",jma:"percent-90"},Iaa=function(){var a={"backward-diagonal":function(){Sg(this,[-1,0,this.size+1,0,this.jf],-45)},"forward-diagonal":function(){Sg(this,[-1,0,this.size+1,0,this.jf],45)},horizontal:function(){Sg(this,[-1,this.size/2,this.size+1,this.size/2,this.jf])},vertical:function(){Sg(this,[this.size/2,-1,this.size/2,this.size+1,this.jf])},"diagonal-cross":function(){Sg(this,[0,this.size/2,this.size,this.size/2,this.jf,this.size/
2,0,this.size/2,this.size,this.jf],45)},grid:function(){Sg(this,[-1,this.size/2,this.size+1,this.size/2,this.jf,this.size/2,-1,this.size/2,this.size+1,this.jf])},"horizontal-brick":function(){Sg(this,[0,0,0,this.size/2-1,this.jf,0,this.size/2-1,this.size,this.size/2-1,this.jf,this.size/2,this.size/2-1,this.size/2,this.size-1,this.jf,0,this.size-1,this.size,this.size-1,this.jf])},"vertical-brick":function(){Sg(this,[0,0,0,this.size/2-1,this.jf,0,this.size/2-1,this.size,this.size/2-1,this.jf,this.size/
2,this.size/2-1,this.size/2,this.size-1,this.jf,0,this.size-1,this.size,this.size-1,this.jf],90)},"diagonal-brick":function(){Sg(this,[0,0,0,this.size/2-1,this.jf,0,this.size/2-1,this.size,this.size/2-1,this.jf,this.size/2,this.size/2-1,this.size/2,this.size-1,this.jf,0,this.size-1,this.size,this.size-1,this.jf],45)},"checker-board":function(){Tg(this,[0,0,this.size/2,this.size/2,this.size/2,this.size])},confetti:function(){var a=this.size/8,c=this.size/4;Tg(this,[0,2*a,c,a,5*a,c,2*a,0,c,4*a,4*a,
c,5*a,a,c,6*a,6*a,c])},plaid:function(){Og(this,this.size/2,this.size/2);for(var a=this.size/8,c,d=0;2>d;d++){c=!1;for(var e=0;4>e;e++){c=!c;for(var f=0;4>f;f++)c&&Og(this,a,a,e*a+d*this.size/2,f*a+this.size/2),c=!c}}},"solid-diamond":function(){Rg(this,[[this.size/2,0,0,this.size/2,this.size/2,this.size,this.size,this.size/2,this.size/2,0]],!0,!0)},"dashed-forward-diagonal":function(){Sg(this,[0,0,this.size/2,this.size/2,this.jf])},"dashed-backward-diagonal":function(){Sg(this,[this.size/2,0,0,this.size/
2,this.jf])},"dashed-horizontal":function(){Sg(this,[0,0,this.size/2,0,this.jf,this.size/2,this.size/2,this.size,this.size/2,this.jf])},"dashed-vertical":function(){Sg(this,[0,0,0,this.size/2,this.jf,this.size/2,this.size/2,this.size/2,this.size,this.jf])},divot:function(){var a=.1*this.size,c=this.size*(.8-.2)/2;Rg(this,[[a+c,a,a,a+c/2,a+c,a+c],[this.size-a-c,this.size-a-c,this.size-a,this.size-a-c/2,this.size-a-c,this.size-a]])},"zig-zag":function(){Rg(this,[[0,0,this.size/2,this.size/2,this.size,
0],[0,this.size/2,this.size/2,this.size,this.size,this.size/2]])},weave:function(){Rg(this,[[0,0,this.size/2,this.size/2,this.size,0],[0,this.size/2,this.size/2,this.size,this.size,this.size/2],[this.size/2,this.size/2,3*this.size/4,3*this.size/4],[this.size,this.size/2,3*this.size/4,this.size/4]])}};a["percent-05"]=$.qa(Ng,8,8,[0,0,4,4]);a["percent-10"]=$.qa(Ng,8,4,[0,0,4,2]);a["percent-20"]=$.qa(Ng,4,4,[0,0,2,2]);a["percent-25"]=$.qa(Ng,4,2,[0,0,2,1]);a["percent-30"]=$.qa(Ng,4,4,[0,0,2,0,3,1,0,
2,2,2,1,3]);a["percent-40"]=$.qa(Ng,4,8,[0,0,2,0,3,1,0,2,2,2,1,3,3,3,0,4,2,4,1,5,3,5,0,6,2,6,1,7,3,7]);a["percent-50"]=$.qa(Ng,2,2,[0,0,1,1]);a["percent-60"]=$.qa(Ng,4,4,[0,0,2,0,0,1,1,1,3,1,0,2,2,2,1,3,2,3,3,3]);a["percent-70"]=$.qa(Ng,4,4,[0,0,2,0,3,0,0,1,1,1,2,1,0,2,2,2,3,2,0,3,1,3,2,3]);a["percent-75"]=$.qa(Pg,4,4,[0,0,2,2]);a["percent-80"]=$.qa(Pg,8,4,[0,0,4,2]);a["percent-90"]=$.qa(Pg,8,8,[7,7,4,3]);return a}();Lg.prototype.Fm=function(){return"hatch-fill"};
Lg.prototype.R=function(){if(this.Ha()){var a=this.Ha().hn,b=[this.type,this.color,this.jf,this.size].join();$.Hc(a.g,b)&&$.Nc(a.g,b);a=$.ue(window.document,this.id());$.Xe(a)}Lg.u.R.call(this)};var WD=Lg.prototype;WD.dispose=WD.cd;$.H(Wg,$.hg);$.Vg="meet";$.Ug="none";$.g=Wg.prototype;$.g.Pk=$.hg.prototype.Pk|32;$.g.Fm=function(){return"image"};$.g.CC=function(a){return null!=a?(a!=this.f&&(this.f=a,this.Lb(32)),this):this.f};$.g.align=function(a){return null!=a?(a!=this.b&&(this.b=a,this.Lb(32)),this):this.b};$.g.x=function(a){return null!=a?(a!=this.xb.left&&(this.xb.left=a,this.Lb(32),this.Qd()),this):this.xb.left};$.g.y=function(a){return null!=a?(a!=this.xb.top&&(this.xb.top=a,this.Lb(32),this.Qd()),this):this.xb.top};
$.g.width=function(a){return null!=a?(a!=this.xb.width&&(this.xb.width=a,this.Lb(32),this.Qd()),this):this.xb.width};$.g.height=function(a){return null!=a?(a!=this.xb.height&&(this.xb.height=a,this.Lb(32),this.Qd()),this):this.xb.height};$.g.src=function(a){return $.n(a)?(a!=this.j&&(this.j=a,this.Lb(32)),this):this.j};$.g.opacity=function(a){return $.n(a)?(a!=this.g&&(this.g=a,this.Lb(32)),this):this.g};$.g.Lj=function(){return this.xb.clone()};$.g.jt=function(){return $.kg().p_()};
$.g.Rj=function(){this.Af(32)&&($.kg().XH()&&this.Lb(4),this.lp());Wg.u.Rj.call(this)};$.g.uw=function(){$.kg().j4(this);$.ig(this,4);$.ig(this,256)};$.g.lp=function(){$.kg().i4(this);$.ig(this,32)};$.g.fe=function(a){var b=a.bounds;this.x(b.left).y(b.top).width(b.width).height(b.height).src(a.src).align(a.align).CC(a.fittingMode);Wg.u.fe.call(this,a)};$.g.F=function(){var a=Wg.u.F.call(this);a.type="image";a.bounds=this.Lj();a.src=this.src();a.align=this.align();a.fittingMode=this.CC();return a};
$.g.R=function(){this.xb=null;this.Qd();Wg.u.R.call(this)};$.F("acgraph.vector.Image",Wg);var XD=Wg.prototype;XD.fittingMode=XD.CC;XD.align=XD.align;XD.x=XD.x;XD.y=XD.y;XD.width=XD.width;XD.height=XD.height;XD.src=XD.src;$.H(Xg,$.qf);var Zg=[$.hd&&!$.bd("11")?"readystatechange":"load","abort","error"];Xg.prototype.start=function(){var a=this.f;(0,$.Qe)($.Gc(a),function(b){var c=a[b];if(c&&(delete a[b],!this.fd)){var d;this.Y?d=$.te(this.Y).pc("IMG"):d=new window.Image;c.i_&&(d.crossOrigin=c.i_);this.eo.ra(d,Zg,this.g);this.b[b]=d;d.id=b;d.src=c.src}},this)};
Xg.prototype.g=function(a){var b=a.b;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));this.dispatchEvent({type:a.type,target:b});this.fd||eh(this,b.id)}};Xg.prototype.R=function(){delete this.f;delete this.b;$.qd(this.eo);Xg.u.R.call(this)};$.ja($.fh);$.g=$.fh.prototype;$.g.f4=$.ia;$.g.yW=$.ia;$.g.qW=$.ia;$.g.getAttribute=function(a,b){return a?a.getAttribute(b):void 0};$.g.gc=function(a,b,c){a.setAttribute(b,c)};$.g.s3=function(a,b){var c=b[3];a.push(b[0],b[1],0,180<Math.abs(c)?1:0,0<c?1:0,b[4],b[5])};$.g.w3=function(a,b){$.id(Array.prototype.push,b,a)};$.g.w_=function(){return null};$.g.E2=function(){return!1};$.g.N1=function(){return!1};$.g.XH=function(){return!1};$.g.kV=function(){return!1};$.H($.vh,$.hg);$.g=$.vh.prototype;$.g.kc=null;$.g.Pk=$.hg.prototype.Pk|32;$.g.Fm=function(){return"simple-text"};$.g.Lj=function(){return this.Za.clone()};$.g.text=function(a){return $.n(a)?(a!=this.kc&&(this.kc=String(a),(a=!this.Ha()||this.Ha().ff())||this.Ha().suspend(),this.Lb(32),a||this.Ha().resume()),this):this.kc};$.g.jt=function(){return $.kg().sx()};$.g.Rj=function(){this.Af(32)&&($.kg(),this.fa().textContent=this.text(),$.ig(this,32));$.vh.u.Rj.call(this)};
$.g.uw=function(){$.ig(this,4);$.ig(this,256)};var YD=$.vh.prototype;YD.text=YD.text;$.F("acgraph.vector.SimpleText",$.vh);$.ja(wh);
var Fh={quot:34,amp:38,apos:39,lt:60,gt:62,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,
Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,
OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,
chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,
hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,"int":8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,
diams:9830};wh.prototype.rb=null;$.H(Ih,$.od);$.g=Ih.prototype;$.g.Jd=null;$.g.Y=null;$.g.parent=function(a){return $.n(a)?(this.Y=a,this):this.Y};$.g.fa=function(){return this.Jd};$.g.Fm=function(){return"t-segment"};$.g.lp=function(){""!=this.text&&(this.Jd=$.kg().uR())&&$.kg().qY(this)};$.g.R=function(){$.Xe(this.Jd);this.Jd=null;Ih.u.R.call(this)};var Jaa,Kh,Jh,ZD,$D;$.H($.Mh,$.ng);Jaa="normal";Kh="normal";Jh="";$.Lh="start";ZD={tP:"left",s8:$.Lh,$y:"center",v6:"end",zP:"right"};$D={IP:"top",n7:"middle",gP:"bottom"};$.g=$.Mh.prototype;$.g.Pk=$.ng.prototype.Pk|17504;$.g.tc=null;$.g.kc=null;$.g.x=function(a){return null!=a?(this.xo!=a&&(this.xo=a,this.ga&&Sh(this),this.Za.left=a,this.Lb(16384),this.Qd()),this):this.xo};$.g.y=function(a){return null!=a?(this.yo!=a&&(this.yo=a,this.ga&&Th(this),this.Za.top=a,this.Lb(16384),this.Qd()),this):this.yo};
$.g.Qw=function(){if($.kg().XH()){var a=this.qg();a&&!$.yb(a)&&this.Lb(4)}};$.g.width=function(a){$.n(a)&&Nh(this,"width")!=a&&(null===a||(a=Math.max((0,window.parseFloat)(a),0)||0),this.Df=a);return Nh(this,"width",a)};$.g.height=function(a){$.n(a)&&(Nh(this,"height")==a||null!==a&&(a=Math.max((0,window.parseFloat)(a),0)||0),this.nf=a);return Nh(this,"height",a)};$.g.opacity=function(a){return null!=a?(this.tc.opacity=a,this.Lb(1024),this):this.tc.opacity};
$.g.color=function(a){return null!=a?(this.tc.color=a,this.Lb(1024),this):this.tc.color};$.g.fontSize=function(a){return Nh(this,"fontSize",a)};$.g.fontFamily=function(a){return Nh(this,"fontFamily",a)};$.g.direction=function(a){return Nh(this,"direction",a)};$.g.fontStyle=function(a){return Nh(this,"fontStyle",a)};$.g.fontVariant=function(a){return Nh(this,"fontVariant",a)};$.g.fontWeight=function(a){return Nh(this,"fontWeight",a)};$.g.letterSpacing=function(a){return Nh(this,"letterSpacing",a)};
$.g.Lq=function(a){return Nh(this,"decoration",a)};$.g.lineHeight=function(a){null!=a&&(this.Ob=Oh(a));return Nh(this,"lineHeight",a)};$.g.textIndent=function(a){null!=a&&(this.D=a);return Nh(this,"textIndent",a)};$.g.textShadow=function(a){return $.n(a)?Nh(this,"textShadow",$.ac(a)):this.tc.textShadow};$.g.vAlign=function(a){if($.n(a))if("center"==a)a="middle";else{var b=!1;$.Dc($D,function(c){a==c&&(b=!0)});b||(a="top")}return Nh(this,"vAlign",a)};
$.g.km=function(a){if($.n(a))if("middle"==a)a="center";else{var b=!1;$.Dc(ZD,function(c){a==c&&(b=!0)});b||(a=$.Lh)}return Nh(this,"hAlign",a)};$.g.wu=function(a){return Nh(this,"wordBreak",a)};$.g.wordWrap=function(a){return Nh(this,"wordWrap",a)};$.g.textOverflow=function(a){null!=a&&(this.nb=a);return Nh(this,"textOverflow",a)};$.g.rm=function(a){return Nh(this,"selectable",a)};
$.g.path=function(a){return $.n(a)?(this.b=a,this.Ha()&&this.b.parent(this.Ha().hn),(a=!this.Ha()||this.Ha().ff())||this.Ha().suspend(),this.ga=!1,this.Lb(17504),this.Qw(),a||this.Ha().resume(),this):this.b};
$.g.style=function(a){if(null!=a){$.Dc(a,function(a,b){var c=b;switch(b){case "fontDecoration":case "textDecoration":c="decoration";break;case "fontColor":c="color";break;case "fontOpacity":c="opacity"}this.tc[c]=a},this);this.Df=(0,window.parseFloat)(this.tc.width)||0;this.nf=(0,window.parseFloat)(this.tc.height)||0;this.tc.lineHeight&&(this.Ob=Oh(this.tc.lineHeight));var b=this.tc.vAlign;if(null!=b)if("center"==b)this.tc.vAlign="middle";else{var c=!1;$.Dc($D,function(a){b==a&&(c=!0)});c||(this.tc.vAlign=
"top")}var d=this.tc.hAlign;null!=d&&("middle"==d?this.tc.hAlign="center":(c=!1,$.Dc(ZD,function(a){d==a&&(c=!0)}),c||(this.tc.hAlign=$.Lh)));null!=this.tc.direction&&(this.O="rtl"==this.tc.direction);null!=this.tc.textOverflow&&(this.nb=this.tc.textOverflow);null!=this.tc.textIndent&&(this.D=this.tc.textIndent);this.O&&(this.D=0);(a=!this.Ha()||this.Ha().ff())||this.Ha().suspend();this.ga=!1;this.Lb(1024);this.Lb(32);this.Lb(16384);this.Lb(4);this.Qw();a||this.Ha().resume();return this}return this.tc};
$.g.htmlText=function(a){return $.n(a)?(a!=this.kc&&(this.kc=String(a),this.me=!0,(a=!this.Ha()||this.Ha().ff())||this.Ha().suspend(),this.ga=!1,this.Lb(1024),this.Lb(32),this.Lb(16384),this.Qw(),a||this.Ha().resume()),this):this.kc};$.g.Fm=function(){return"text"};$.g.Lj=function(){return this.Za.clone()};$.g.zt=function(a){this.ga||this.cB();return a?$.Mh.u.zt.call(this,a):this.WB(null)};
$.g.WB=function(a){if(this.path())if(this.hj)var b=this.hj;else{b=$.kg();b.Dp();this.ga||this.cB();var c=this.path();c.fa()||c.pc(!0);b.vW(c);var d=c.fa().parentNode;var e=c.fa();b.f.appendChild(e);d||(d=$.ec($.cc.vd(),c.fa(),"path"),$.mh(b,c.fa(),d));this.fa()||this.pc(!0);this.$V();this.lp();$.kg().xW(this);$.ig(this,1024);this.JN();this.uw();d=$.ec($.cc.vd(),c.fa(),"path");c=Gi();this.Ra.setAttributeNS("http://www.w3.org/1999/xlink","href",c+"#"+d);c=this.fa();d=c.parentNode;b.tp.appendChild(c);
b=this.fa().getBBox();d&&d.appendChild(c);b=new $.J(b.x,b.y,b.width,b.height)}else b=this.Za.clone();return $.zb(b,a)};$.g.uG=ba(4);$.g.Qd=function(){$.Mh.u.Qd.call(this);this.hj=null};$.g.u2=function(a){for(var b=$.kg().j,c=arguments,d={},e=0,f=b.length;e<f;e++)for(var h=c.length;h--;){var k=c[h];if(k&&(k=k[b[e]],$.n(k))){d[b[e]]=k;break}}return d};$.g.Hm=function(a,b){var c=this.u2(this.tc,b);return hh($.kg(),a,c)};$.g.gT=function(){this.ga||this.cB();return this.Ge};
$.g.DG=function(){this.ga||this.cB();return this.G};$.g.qJ=function(){this.rL();this.Pg++;this.rJ("",null,!0);var a=this.j[0]?this.j[0].height:0;this.hc+=$.z(this.Ob)?(0,window.parseInt)(this.Ob,0)+a:this.Ob*a};
$.g.rJ=function(a,b,c){if(!this.Tc){b=b||{};var d=this.Hm(a,b),e=0==this.f.length?this.D:0;if(this.Gk)for(;this.U+d.width+e>this.ab&&!this.Tc;){var f=Ph(this,a,b,e+this.U,this.ab,d);1>f&&0==this.j.length&&(f=1);0!=f&&(e=$.nc(a.substring(0,f)),d=this.Hm(e,b),Qh(this,e,b,d));this.rL();1==a.length&&(this.Tc=!0);e=0;a=$.nc(a.substring(f,a.length));d=this.Hm(a,b)}this.Tc||!a.length&&!c||Qh(this,a,b,d)}};
$.g.rL=function(){if(!this.Tc&&0!=this.j.length){var a=0==this.ka.length;if(this.nf&&this.G+this.Ga>this.nf&&0!=this.ka.length)Rh(this),this.Tc=!0;else{this.Ga=$.z(this.Ob)?(0,window.parseInt)(this.Ob,0)+this.Ga:this.Ob*this.Ga;if($.kg().E2()){var b;var c=this.O&&this.tc.hAlign==$.Lh||!this.O&&"end"==this.tc.hAlign||"right"==this.tc.hAlign;var d="center"==this.tc.hAlign;if(this.O&&"end"==this.tc.hAlign||!this.O&&this.tc.hAlign==$.Lh||"left"==this.tc.hAlign){d=this.O?0:this.D&&a?this.D:0;var e=0;for(b=
this.j.length;e<b;e++)c=this.j[e],c.x=d,c.y=this.G+this.ya+c.height-1.5*c.f,d+=c.width}else if(d)for(d=-this.U/2,!this.O&&this.D&&a&&(d+=this.D),e=0,b=this.j.length;e<b;e++)c=this.j[e],c.x=d+c.width/2,c.y=this.G+this.ya+c.height-1.5*c.f,d+=c.width;else if(c)for(d=this.O?this.D&&a?-this.D:0:0,e=this.j.length-1;0<=e;e--)c=this.j[e],c.x=d,c.y=this.G+this.ya+c.height-1.5*c.f,d-=c.width}if(a){var f=this.j[0];f.f=this.ya;f.g=!0;this.D&&"center"==this.tc.hAlign&&(f.Wn=this.O?-this.D/2:this.D/2)}else{for(e=
0;e<this.j.length;e++)if(""!=this.j[e].text){f=this.j[e];break}f&&(f.g=!0,this.Ud||(f.em=this.hc&&1<this.Pg?this.hc:this.dh+this.ya))}this.Gk&&this.tc.wordWrap==Kh&&this.U>this.ab&&(1<this.j.length&&!this.j[0].text.length&&(c=(0,$.za)(this.f,this.j[0]),Ea(this.j,0),Ea(this.f,c)),c=$.ua(this.j),a=this.Hm(c.text,c.b),a=Ph(this,c.text,c.b,0,this.ab-(this.U-a.width),a,!0),d=c.text.substring(0,a),a=this.Hm(d,c.b),c.text=d,this.Tf=this.U=c.width=a.width,Rh(this,this.j));this.path()&&(f.Wn="start"==this.align?
0:"middle"==this.align?this.path().Dg()/2-this.U/2:this.path().Dg()-this.U);this.G+=this.Ga;this.Ge=Math.max(this.Ge,this.U);this.dh=this.Ga-this.ya;this.Tf=this.U;this.Ud||(this.Pg=this.hc=0);this.Ud=!0;this.ya=this.U=this.Ga=0;this.ka.push(this.j);this.j=[]}}};$.g.text=function(a){return $.n(a)?(a!=this.kc&&(this.kc=String(a),this.me=!1,(a=!this.Ha()||this.Ha().ff())||this.Ha().suspend(),this.ga=!1,this.Lb(1024),this.Lb(32),this.Lb(16384),this.Qw(),a||this.Ha().resume()),this):this.kc};
$.g.cB=function(){0!=this.f.length&&($.td(this.f,this.ka),this.ka=[],this.f=[]);null!=this.tc.direction&&(this.O="rtl"==this.tc.direction);null!=this.tc.textIndent&&(this.D=this.tc.textIndent);this.O&&(this.D=0);this.Df=(0,window.parseFloat)(this.tc.width)||0;this.nf=(0,window.parseFloat)(this.tc.height)||0;this.Tc=!1;this.ya=this.U=this.Ga=this.Pg=this.hc=this.G=this.Ge=this.dh=this.Tf=0;this.j=[];this.eb=this.ba=0;this.hj=null;this.align="start";this.tc.hAlign&&(this.align="rtl"==this.tc.direction?
$.gd||$.hd?"end"==this.tc.hAlign||"left"==this.tc.hAlign?$.Lh:this.tc.hAlign==$.Lh||"right"==this.tc.hAlign?"end":"middle":"end"==this.tc.hAlign||"left"==this.tc.hAlign?"end":this.tc.hAlign==$.Lh||"right"==this.tc.hAlign?$.Lh:"middle":"end"==this.tc.hAlign||"right"==this.tc.hAlign?"end":this.tc.hAlign==$.Lh||"left"==this.tc.hAlign?$.Lh:"middle");var a=null!=this.tc.width;this.Gk=this.path()||a;a=a?(0,window.parseFloat)(this.tc.width):Number.POSITIVE_INFINITY;this.ab=Math.max(this.path()?Math.min(this.path().Dg(),
a):this.Df,0);var b;if(null!=this.kc){if(this.me)Hh(this);else{this.kc=$.jc(kc(this.kc));var c=this.kc.split(/\n/g);for(b=0;b<c.length;b++)a=$.nc(c[b]),null!=a&&(""!=a&&this.rJ(a),this.qJ())}this.D&&0<this.ka.length&&(a=this.ka[0][0],this.O?this.tc.hAlign&&this.tc.hAlign!=$.Lh&&"right"!=this.tc.hAlign||(a.Wn-=this.D):this.tc.hAlign&&this.tc.hAlign!=$.Lh&&"left"!=this.tc.hAlign||(a.Wn+=this.D));this.tc.width||(this.Df=this.Ge);this.tc.height||(this.nf=this.G);Sh(this);Th(this);this.Za=new $.J(this.xo,
this.yo,this.Df,this.nf);this.ga=!0}};$.g.jt=function(){return $.kg().sx()};$.g.Rj=function(){this.ga||this.cB();this.Af(64)&&this.$V();this.Af(1024)&&($.kg().xW(this),$.ig(this,1024));this.Af(32)&&this.lp();this.Af(16384)&&this.JN();$.Mh.u.Rj.call(this)};$.g.$V=function(){this.b&&!this.Ra?this.Ra=$.kg().w_():this.b||($.Xe(this.Ra),this.Ra=null);$.ig(this,64)};$.g.JN=function(){for(var a=0,b=this.f.length;a<b;a++){var c=this.f[a];c.Jd&&$.kg().pY(c)}$.kg().wW(this);$.ig(this,16384)};
$.g.lp=function(){this.fa()&&$.Ve(this.fa());this.Ra&&($.Ve(this.Ra),this.fa().appendChild(this.Ra));for(var a=0,b=this.f.length;a<b;a++)this.f[a].lp();$.ig(this,32)};$.g.uw=function(){$.kg().p4(this);$.ig(this,4);$.ig(this,256)};$.g.fe=function(a){this.x(a.x).y(a.y).style(a.style);a.html?this.htmlText(a.text):this.text(a.text);$.Mh.u.fe.call(this,a)};$.g.F=function(){var a=$.Mh.u.F.call(this);a.type="text";a.x=this.x();a.y=this.y();a.html=this.me;a.text=this.text();a.style=this.style();return a};
$.g.R=function(){$.td(this.f,this.j);this.f.length=0;this.j.length=0;delete this.ka;delete this.Za;$.Mh.u.R.call(this)};var aE=$.Mh.prototype;$.F("acgraph.vector.Text",$.Mh);aE.text=aE.text;aE.style=aE.style;aE.htmlText=aE.htmlText;aE.path=aE.path;aE.x=aE.x;aE.y=aE.y;aE.fontSize=aE.fontSize;aE.color=aE.color;aE.fontFamily=aE.fontFamily;aE.direction=aE.direction;aE.fontStyle=aE.fontStyle;aE.fontVariant=aE.fontVariant;aE.fontWeight=aE.fontWeight;aE.letterSpacing=aE.letterSpacing;aE.decoration=aE.Lq;
aE.opacity=aE.opacity;aE.lineHeight=aE.lineHeight;aE.textIndent=aE.textIndent;aE.vAlign=aE.vAlign;aE.hAlign=aE.km;aE.width=aE.width;aE.height=aE.height;aE.getTextHeight=aE.DG;aE.getTextWidth=aE.gT;aE.wordWrap=aE.wordWrap;aE.wordBreak=aE.wu;aE.textOverflow=aE.textOverflow;aE.selectable=aE.rm;$.H($.Uh,$.hg);$.g=$.Uh.prototype;$.g.Fm=function(){return"unmanageable-layer"};$.g.Pk=$.hg.prototype.Pk|32;$.g.content=function(a){return $.n(a)?(a!=this.Cd&&(this.Cd=a,this.Lb(32)),this):this.Cd};$.g.jt=function(){return $.kg().Jq()};$.g.Rj=function(){$.Uh.u.Rj.call(this);if(this.Af(32)){var a=this.fa();$.Ve(a);$.z(this.Cd)?a.innerHTML=this.Cd:a.appendChild(this.Cd);$.ig(this,32)}};$.g.Lj=function(){return $.kg().VU(this.Cd)};
$.g.fe=function(a){"content"in a&&this.content(a.content);$.Uh.u.fe.call(this,a)};$.g.F=function(){var a=$.Uh.u.F.call(this);a.content=$.z(this.Cd)?this.Cd:this.Cd.outerHTML;return a};var bE=$.Uh.prototype;bE.content=bE.content;$.F("acgraph.vector.primitives.star",ci);$.F("acgraph.vector.primitives.star4",di);$.F("acgraph.vector.primitives.star5",ei);$.F("acgraph.vector.primitives.star6",fi);$.F("acgraph.vector.primitives.star7",gi);$.F("acgraph.vector.primitives.star10",hi);$.F("acgraph.vector.primitives.diamond",mi);$.F("acgraph.vector.primitives.triangleUp",ii);$.F("acgraph.vector.primitives.triangleDown",ji);$.F("acgraph.vector.primitives.triangleRight",ki);$.F("acgraph.vector.primitives.triangleLeft",li);
$.F("acgraph.vector.primitives.cross",ni);$.F("acgraph.vector.primitives.diagonalCross",oi);$.F("acgraph.vector.primitives.hLine",pi);$.F("acgraph.vector.primitives.vLine",qi);$.F("acgraph.vector.primitives.pie",ri);$.F("acgraph.vector.primitives.donut",$.si);$.F("acgraph.vector.primitives.truncatedRect",ui);$.F("acgraph.vector.primitives.roundedRect",yi);$.F("acgraph.vector.primitives.roundedInnerRect",zi);$.Ai.prototype.clone=function(){return new $.Ai(this.qj,this.se,this.rj,this.Xe)};$.H(Bi,$.fh);$.ja(Bi);$.g=Bi.prototype;$.g.tp=null;$.g.sk=null;$.g.rD=null;$.g.ep=null;$.g.Mt=null;
$.g.Dp=function(){this.tp||(this.tp=Ci("svg"),this.sk=this.sx(),this.rD=this.JE(""),this.f=this.nR(),this.sk.appendChild(this.rD),this.tp.appendChild(this.sk),this.tp.appendChild(this.f),this.g=this.Jq(),this.tp.appendChild(this.g),$.lh(this,this.tp,{width:0,height:0}),this.tp.style.cssText="position: absolute; left: -99999px; top: -99999px",this.ep=this.Jq(),this.tp.appendChild(this.ep),$.fa.document.body.appendChild(this.tp));return this.tp};
$.g.measure=function(a,b){this.Dp();var c=null,d=0;if(0==a.length)return gh(this,"",b)?d=hh(this,"",b):(d=this.measure("a",b),d=new $.J(0,d.top,0,d.height),hh(this,"",b,d)),d;if(" "==a)return $.ih(this,b);$.fc(a," ")&&(d+=c=$.ih(this,b).width);$.gc(a," ")&&(d+=c||$.ih(this,b).width);b.fontStyle?this.gc(this.sk,"font-style",b.fontStyle):this.sk.removeAttribute("font-style");b.fontVariant?this.gc(this.sk,"font-variant",b.fontVariant):this.sk.removeAttribute("font-variant");b.fontFamily?this.gc(this.sk,
"font-family",b.fontFamily):this.sk.removeAttribute("font-family");b.fontSize?this.gc(this.sk,"font-size",b.fontSize):this.sk.removeAttribute("font-size");b.fontWeight?this.gc(this.sk,"font-weight",b.fontWeight):this.sk.removeAttribute("font-weight");b.letterSpacing?this.gc(this.sk,"letter-spacing",b.letterSpacing):this.sk.removeAttribute("letter-spacing");b.decoration?this.gc(this.sk,"text-decoration",b.decoration):this.sk.removeAttribute("text-decoration");this.rD.nodeValue=a;c=this.sk.getBBox();
b.fontVariant&&$.wf&&(this.rD.nodeValue=a.charAt(0).toUpperCase(),c.height=this.sk.getBBox().height);return new $.J(c.x,c.y,c.width+d,c.height)};$.g.VU=function(a){this.Dp();$.z(a)?this.ep.innerHTML=a:(a=a.cloneNode(!0),this.ep.appendChild(a));a=this.ep.getBBox();$.Ve(this.ep);return new $.J(a.x,a.y,a.width,a.height)};
$.g.RM=function(a,b){this.b||(uh(this),this.b={},$.Id(this.Mt,"complete",function(){this.D=!1},!1,this),$.Id(this.Mt,"load",this.U8,!1,this));this.b[$.oa(b)]=[a,b];this.D=!0;Yg(this.Mt,a,a);this.Mt.start()};$.g.U8=function(a){var b=a.target;$.Dc(this.b,function(a,d){a[0]==b.id&&(a[1].call(this,b.naturalWidth,b.naturalHeight),delete this.b[d])},this)};$.g.N1=function(){return this.D};$.g.X2={1:"M",2:"L",3:"C",4:"A",5:"Z"};
$.g.v_=function(){var a=Ci("svg");$.hd||this.gc(a,"xmlns","http://www.w3.org/2000/svg");this.gc(a,"border","0");return a};$.g.q_=function(){return Ci("linearGradient")};$.g.o_=function(){return Ci("pattern")};$.g.p_=function(){return Ci("image")};$.g.Jq=function(){return Ci("g")};$.g.j_=function(){return Ci("circle")};$.g.s_=function(){return Ci("path")};$.g.n_=function(){return Ci("ellipse")};$.g.nR=function(){return Ci("defs")};$.g.sx=function(){return Ci("text")};$.g.w_=function(){return Ci("textPath")};
$.g.uR=function(){return Ci("tspan")};$.g.JE=function(a){return window.document.createTextNode(String(a))};$.g.h4=function(a){var b=a.Lj();$.lh(this,a.fa(),{x:b.left,y:b.top,width:b.width,height:b.height,patternUnits:"userSpaceOnUse"})};
$.g.i4=function(a){var b=a.Lj();this.RM(a.src(),$.ia);var c=a.src()||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",d=a.fa(),e=b.left,f=b.top,h=b.width;b=b.height;switch(a.align()){case "x-min-y-min":var k="xMinYMin";break;case "x-mid-y-min":k="xMidYMin";break;case "x-max-y-min":k="xMaxYMin";break;case "x-min-y-mid":k="xMinYMid";break;case "x-mid-y-mid":k="xMidYMid";break;case "x-max-y-mid":k="xMaxYMid";break;case "x-min-y-max":k="xMinYMax";break;case "x-mid-y-max":k=
"xMidYMax";break;case "x-max-y-max":k="xMaxYMax";break;default:k="none"}k=k+" "+a.CC();$.lh(this,d,{x:e,y:f,width:h,height:b,"image-rendering":"optimizeQuality",preserveAspectRatio:k,opacity:a.opacity()});d.setAttributeNS("http://www.w3.org/1999/xlink","href",c)};$.g.e4=function(a,b){var c=a.fa();c&&(c.style.cursor=b||"")};$.g.wW=function(a){var b=a.fa();this.gc(b,"x",a.ba);this.gc(b,"y",a.eb)};
$.g.xW=function(a){var b=a.style(),c=a.path(),d=a.fa();if(c&&a.Ha()){var e=a.Ha().hn;c.parent(e);c.Fd();$.ig(c,gg);var f=c.fa();e.fa().appendChild(f);e=$.ec($.cc.vd(),f,"path");$.mh(this,f,e);f=Gi();a.Ra.setAttributeNS("http://www.w3.org/1999/xlink","href",f+"#"+e)}if(a.rm()){if(d.style["-webkit-touch-callout"]="",d.style["-webkit-user-select"]="",d.style["-khtml-user-select"]="",d.style["-moz-user-select"]="",d.style["-ms-user-select"]="",d.style["-o-user-select"]="",d.style["user-select"]="",$.hd&&
9==cd||$.wf)d.removeAttribute("unselectable"),d.removeAttribute("onselectstart")}else if(d.style["-webkit-touch-callout"]="none",d.style["-webkit-user-select"]="none",d.style["-khtml-user-select"]="none",d.style["-moz-user-select"]="moz-none",d.style["-ms-user-select"]="none",d.style["-o-user-select"]="none",d.style["user-select"]="none",$.hd&&9==cd||$.wf)this.gc(d,"unselectable","on"),this.gc(d,"onselectstart","return false;");b.fontStyle?this.gc(d,"font-style",b.fontStyle):d.removeAttribute("font-style");
b.fontVariant?$.gd?d.style["font-variant"]=b.fontVariant:this.gc(d,"font-variant",b.fontVariant):$.gd?d.style["font-variant"]="":d.removeAttribute("font-variant");b.fontFamily?(this.gc(d,"font-family",b.fontFamily),d.style.fontFamily=b.fontFamily):(d.removeAttribute("font-family"),d.style.fontFamily="");b.fontSize?this.gc(d,"font-size",b.fontSize):d.removeAttribute("font-size");b.fontWeight?this.gc(d,"font-weight",b.fontWeight):d.removeAttribute("font-weight");b.color?this.gc(d,"fill",b.color):d.removeAttribute("fill");
b.letterSpacing?this.gc(d,"letter-spacing",b.letterSpacing):d.removeAttribute("letter-spacing");b.decoration?this.gc(d,"text-decoration",b.decoration):d.removeAttribute("text-decoration");b.direction?this.gc(d,"direction",b.direction):d.removeAttribute("direction");b.hAlign&&!c?this.gc(d,"text-anchor","rtl"==b.direction?$.gd||$.hd?"end"==b.hAlign||"left"==b.hAlign?$.Lh:b.hAlign==$.Lh||"right"==b.hAlign?"end":"middle":"end"==b.hAlign||"left"==b.hAlign?"end":b.hAlign==$.Lh||"right"==b.hAlign?$.Lh:"middle":
"end"==b.hAlign||"right"==b.hAlign?"end":b.hAlign==$.Lh||"left"==b.hAlign?$.Lh:"middle"):d.removeAttribute("text-anchor");d.style.opacity=b.opacity?b.opacity:"1";a=b.textShadow;d.style.textShadow=a&&"none"!=a?a:""};$.g.pY=function(a){var b=a.fa(),c=a.parent();(a.g||a.Wn)&&this.gc(b,"x",c.path()?a.Wn:c.ba+a.Wn);this.gc(b,"dy",a.em)};
$.g.qY=function(a){var b=a.b,c=a.fa(),d=a.parent(),e=this.JE(a.text);c.appendChild(e);if($.hd&&9==cd||$.wf)d.rm()?(c.removeAttribute("onselectstart"),c.removeAttribute("unselectable")):(this.gc(c,"onselectstart","return false;"),this.gc(c,"unselectable","on"));b.fontStyle&&this.gc(c,"font-style",b.fontStyle);b.fontVariant&&this.gc(c,"font-variant",b.fontVariant);b.fontFamily&&this.gc(c,"font-family",b.fontFamily);b.fontSize&&this.gc(c,"font-size",b.fontSize);b.fontWeight&&this.gc(c,"font-weight",
b.fontWeight);b.color&&this.gc(c,"fill",b.color);b.letterSpacing&&this.gc(c,"letter-spacing",b.letterSpacing);b.Lq&&this.gc(c,"text-decoration",b.Lq);(a.parent().path()?a.parent().Ra:a.parent().fa()).appendChild(c)};$.g.yZ=function(a){Ii(this,a);Ji(this,a)};$.g.ri=function(a){a.visible()?a.fa().removeAttribute("visibility"):this.gc(a.fa(),"visibility","hidden")};$.g.TA=function(a){var b=a.Gd;b&&!$.yb(b)?this.gc(a.fa(),"transform",b.toString()):a.fa().removeAttribute("transform")};
$.g.n4=function(a){var b=a.Gd;b&&!$.yb(b)?this.gc(a.fa(),"patternTransform",b.toString()):a.fa().removeAttribute("patternTransform")};$.g.m4=Bi.prototype.TA;$.g.j4=Bi.prototype.TA;$.g.l4=Bi.prototype.TA;$.g.p4=Bi.prototype.TA;$.g.g4=Bi.prototype.TA;$.g.dO=function(a,b,c){$.lh(this,a,{width:b,height:c})};$.g.yW=function(a,b){var c=a.fa();c&&(null!=b?(a.Mw||(a.Mw=Ci("title"),this.gc(a.Mw,"aria-label","")),$.cf(a.Mw)||$.We(c,a.Mw,0),a.Mw.innerHTML=b):a.Mw&&c.removeChild(a.Mw))};
$.g.qW=function(a,b){var c=a.fa();c&&(null!=b?(a.av||(a.av=Ci("desc"),this.gc(a.av,"aria-label","")),$.cf(a.av)||$.We(c,a.av,0),a.av.innerHTML=b):a.av&&c.removeChild(a.av))};$.g.f4=function(a,b){var c=a.fa();c&&(b?this.gc(c,"vector-effect","non-scaling-stroke"):c.removeAttribute("vector-effect"))};$.g.k4=$.ia;$.g.d4=function(a){$.lh(this,a.fa(),{cx:a.zp(),cy:a.Ap(),r:a.Wb()})};$.g.rW=function(a){$.lh(this,a.fa(),{cx:a.zp(),cy:a.Ap(),rx:a.Er(),ry:a.Yw()})};
$.g.vW=function(a){var b=$.qh(this,a,!1);b?this.gc(a.fa(),"d",b):this.gc(a.fa(),"d","M 0,0")};$.g.E_=function(a){for(var b=a.elements,c=0;c<b.length;c++)b[c].fa()&&Ki(b[c]),b[c].clip(null);a=a.id();if(a=$.ue(window.document,a))$.Xe($.$e(a)),$.Xe(a)};
$.g.oW=function(a){var b=a.clip();if(b){var c;$.K(b,$.Cg)&&(c=b.id());if(!c){c=a.Ha().hn;var d=Zj(c,b),e=$.ec($.cc.vd(),d,"clip");$.cf(d)!=c.fa()&&(this.gc(d,"clip-rule","nonzero"),$.mh(this,d,e));b.j(a.Ha());b.id(e);b=b.shape();b.Fd();if(b=b.fa())d.appendChild(b),c.fa().appendChild(d);c=e}d=Gi();$.lh(this,a.fa(),{"clip-path":'url("'+d+"#"+c+'")',clipPathUnits:"userSpaceOnUse"})}else Ki(a)};$.g.o4=function(a){a.td()?this.gc(a.fa(),"pointer-events","none"):a.fa().removeAttribute("pointer-events")};var Paa,Qaa,Raa;$.H($.Ni,ud);$.Mi="left";Paa="middle";Qaa="right";Raa="none";$.Ni.prototype.preventDefault=function(){$.Ni.u.preventDefault.call(this);this.Vj.preventDefault()};$.Ni.prototype.stopPropagation=function(){$.Ni.u.stopPropagation.call(this);this.Vj.stopPropagation()};$.Ni.prototype.f=function(){ud.prototype.stopPropagation.call(this)};$.Ni.prototype.g=function(){return this.Vj.g()};var cE=$.Ni.prototype;cE.stopPropagation=cE.stopPropagation;cE.stopWrapperPropagation=cE.f;
cE.preventDefault=cE.preventDefault;Oi.prototype.get=function(){if(0<this.f){this.f--;var a=this.b;this.b=a.next;a.next=null}else a=this.g();return a};var ej=new Oi(function(){return new Ri},function(a){a.reset()});Qi.prototype.add=function(a,b){var c=ej.get();c.set(a,b);this.f?this.f.next=c:this.b=c;this.f=c};Qi.prototype.remove=function(){var a=null;this.b&&(a=this.b,this.b=this.b.next,this.b||(this.f=null),a.next=null);return a};Ri.prototype.set=function(a,b){this.b=a;this.f=b;this.next=null};Ri.prototype.reset=function(){this.next=this.f=this.b=null};var dj;var Ti,$i=!1,aj=new Qi;var fj,ij;fj=0;$.hj=2;ij=3;kj.prototype.reset=function(){this.context=this.f=this.g=this.b=null;this.j=!1};var lj=new Oi(function(){return new kj},function(a){a.reset()});$.jj.prototype.then=function(a,b,c){return $.tj(this,$.E(a)?a:null,$.E(b)?b:null,c)};$.jj.prototype.then=$.jj.prototype.then;$.jj.prototype.$goog_Thenable=!0;$.jj.prototype.cancel=function(a){this.Xb==fj&&$.bj(function(){var b=new sj(a);nj(this,b)},this)};$.jj.prototype.N=function(a){this.Xb=fj;$.gj(this,$.hj,a)};
$.jj.prototype.O=function(a){this.Xb=fj;$.gj(this,ij,a)};$.jj.prototype.G=function(){for(var a;a=oj(this);)pj(this,a,this.Xb,this.D);this.j=!1};var wj=Si;$.H(sj,ta);sj.prototype.name="cancel";$.xj=$.fa;$.H($.Gj,$.od);$.g=$.Gj.prototype;$.g.no=!1;$.g.HE=null;$.g.id=function(){return this.Yd||(this.Yd=dc($.cc.vd(),this))};$.g.Fm=function(){return"linear-gradient"};$.g.cd=function(){$.Gj.u.cd.call(this)};$.g.R=function(){this.HE&&(this.HE.ZV(this),this.HE=null);this.transform=this.Za=null;delete this.keys;this.mode=!1;$.Gj.u.R.call(this)};var dE=$.Gj.prototype;dE.dispose=dE.cd;$.H($.Ij,$.od);$.g=$.Ij.prototype;$.g.no=!1;$.g.IE=null;$.g.id=function(){return this.Yd||(this.Yd=dc($.cc.vd(),this))};$.g.Fm=function(){return"radial-gradient"};$.g.cd=function(){$.Ij.u.cd.call(this)};$.g.R=function(){this.IE&&(this.IE.D3(this),this.IE=null);this.transform=this.Za=null;delete this.keys;$.Ij.u.R.call(this)};var eE=$.Ij.prototype;eE.dispose=eE.cd;$.H($.Kj,$.od);$.g=$.Kj.prototype;$.g.Jd=null;$.g.fa=function(){return this.Jd};$.g.pc=function(){this.Jd=$.kg().nR()};$.g.clear=function(){$.Kc(this.Tt);$.Kc(this.D);$.Kc(this.g);$.Kc(this.b);$.Ve(this.Jd)};$.g.ZV=function(a){var b=$.Hj(a.keys,a.opacity,a.angle,a.mode,a.transform);$.Hc(this.Tt,b)&&$.Nc(this.Tt,b);a=$.ue(window.document,a.id());$.Xe(a)};
$.g.D3=function(a){var b=$.Jj(a.keys,a.Cc,a.yc,a.Je,a.g,a.opacity,a.Za,a.transform);$.Hc(this.D,b)&&$.Nc(this.D,b);a=$.ue(window.document,a.id());$.Xe(a)};$.g.Fd=function(){this.pc();var a=this.j.fa(),b=this.fa();a.appendChild(b)};$.g.fc=function(a){a.remove();a.Mk(this);return this};$.g.removeChild=function(a){a.Mk(null);$.Xe(a.fa());return a};$.g.qg=function(){return null};$.g.bI=$.ia;$.g.Ha=function(){return this.j};$.g.Lb=$.ia;
$.g.R=function(){$.Xe(this.Jd);this.Jd=null;$.Dc(this.Tt,function(a){$.qd(a)});$.Dc(this.D,function(a){$.qd(a)});$.Dc(this.b,function(a){$.qd(a)});$.Dc(this.g,function(a){$.qd(a)});this.g=this.b=this.D=this.Tt=null;delete this.j};$.H($.Vj,$.qf);var HD=1;$.g=$.Vj.prototype;$.g.Df=window.NaN;$.g.nf=window.NaN;$.g.wL=window.NaN;$.g.vL=window.NaN;$.g.EK=window.NaN;$.g.CK=window.NaN;$.g.PM=100;$.g.YB=window.NaN;$.g.Qr=0;$.Vj.prototype.pathToRadialGradientImage="RadialGradient.png";$.g=$.Vj.prototype;$.g.Yd=void 0;$.g.QI=1;$.g.Kc=null;$.g.Mw=null;$.g.Nw=void 0;$.g.av=null;$.g.bv=void 0;$.g.FQ=!1;$.g.Sv=!1;
$.g.id=function(a){if($.n(a))return a=a||"",this.Yd!=a&&(this.Yd=a,$.mh($.kg(),this.Jd,this.Yd)),this;$.n(this.Yd)||this.id(dc($.cc.vd(),this));return this.Yd};$.g.Ha=function(){return this};$.g.parent=function(){return this};$.g.fa=function(){return this.Jd};$.g.width=function(a){return $.n(a)?(Sj(this,a)&&this.ft(!0),this):this.Df||0};$.g.height=function(a){return $.n(a)?(Tj(this,a)&&this.ft(!0),this):this.nf||0};$.g.resize=function(a,b){var c=Sj(this,a),d=Tj(this,b);(c||d)&&this.ft(!0)};
$.g.xfa=function(a){return $.n(a)?(a=(0,window.parseFloat)(a),0<=a&&(this.PM>a&&!(0,window.isNaN)(this.YB)&&(0,window.clearTimeout)(this.YB),this.PM=a,this.ft(!0)),this):this.PM};$.g.P=function(a){return $.n(a)?(a=$.ue(window.document,a||null),this.Kc!=a&&(this.Kc=a,Uj(this),this.ft(!0),this.Fd()),this):this.Kc?this.Vo:null};$.g.qda=function(){return this.Kc};$.g.Bl=function(){return this.Vo};$.g.suspend=function(){this.QI++;return this};
$.g.resume=function(a){this.QI=a?0:Math.max(this.QI-1,0);this.Fd();return this};$.g.qba=function(a){return $.n(a)?(this.FQ=!!a,this):this.FQ};$.g.ff=function(){return!!this.QI};$.g.xM=function(){return this.Sv};$.g.title=function(a){return $.n(a)?(this.Nw!=a&&(this.Nw=a,$.kg().yW(this,this.Nw)),this):this.Nw};$.g.PR=function(a){return $.n(a)?(this.bv!=a&&(this.bv=a,$.kg().qW(this,this.bv)),this):this.bv};$.g.visible=function(a){if(0==arguments.length)return this.Wa.visible();this.Wa.visible(a);return this};
$.g.data=function(a){if(0==arguments.length)return this.F();var b=a.type;if(b)switch(b){case "rect":var c=this.rect();break;case "circle":c=this.cn();break;case "ellipse":c=this.ellipse();break;case "image":c=this.dk();break;case "text":c=this.text();break;case "path":c=this.path();break;case "layer":c=this.Dd();break;default:c=null}else this.fe(a);c&&c.fe(a);return this};$.g.remove=function(){return this.P(null)};$.g.Oh=function(){return 0};$.g.hs=function(){return 0};
$.g.pb=function(){return new $.J(0,0,this.width(),this.height())};$.g.clip=function(a){return this.Wa.clip(a)};$.g.DL=function(){return this.ZZ};
$.g.fullScreen=function(a){var b=this.Bl();if($.n(a))return b&&this.iy()&&(a=!!a,this.fullScreen()!=a&&(a?b.mozRequestFullScreenWithKeys?b.mozRequestFullScreenWithKeys():b.webkitRequestFullscreen?b.webkitRequestFullscreen():b.webkitRequestFullscreen?b.webkitRequestFullscreen():b.mozRequestFullScreen?b.mozRequestFullScreen():b.msRequestFullscreen?b.msRequestFullscreen():b.requestFullscreen&&b.requestFullscreen():(b=$.te().b,b.webkitCancelFullScreen?b.webkitCancelFullScreen():b.mozCancelFullScreen?
b.mozCancelFullScreen():b.msExitFullscreen?b.msExitFullscreen():b.exitFullscreen&&b.exitFullscreen()))),this;if(!(a=!b)){a:{a=$.te().b;a=[a.webkitFullscreenElement,a.mozFullScreenElement,a.msFullscreenElement,a.fullscreenElement];for(var c=0;c<a.length;c++)if(null!=a[c]){a=a[c];break a}a=null}a=a!=b}return!a};$.g.iy=function(){return $.Qj()};$.g.Fm=function(){return"stage"};$.g.jm=function(){return this.Wa};$.g.bI=function(a){this.Wa.bI(a)};$.g.tF=$.ia;
$.g.ft=function(a,b){a&&!(0,window.isNaN)(this.YB)&&(0,window.clearTimeout)(this.YB);this.YB=window.NaN;var c=(0,window.isNaN)(this.wL);var d=(0,window.isNaN)(this.vL);var e=c||d;if(e){var f=this.fullScreen()?$.Wf(this.Vo):this.Kc?$.Wf(this.Kc):new $.mb(window.NaN,window.NaN);f.width=Math.max(f.width||0,0);f.height=Math.max(f.height||0,0);var h=!f.width&&!f.height;c=c?f.width:this.wL;d=d?f.height:this.vL}else c=this.wL,d=this.vL,h=!1;c==this.Df&&d==this.nf||h||(this.Df=c,this.nf=d,b||this.dispatchEvent("stageresize"));
this.Kc&&e&&!$.fa.acgraph.isNodeJS&&(this.YB=(0,window.setTimeout)(this.ft,this.PM))};$.g.Gba=function(){this.hn.clear()};$.g.fe=function(a){this.width(a.width);this.height(a.height);a.type="layer";this.jm().fe(a);this.jm().id("");"id"in a&&this.id(a.id)};$.g.F=function(){var a=this.jm().F();this.Yd&&(a.id=this.Yd);a.width=this.EK;a.height=this.CK;delete a.type;return a};$.g.rY=function(a){this.Qr+=a;return a};$.g.V8=function(a){a=Math.min(500-this.Qr,a);this.Qr+=a;return a};$.g.KE=$.Vj.prototype.rY;
$.g.Fd=function(){if(!this.QI&&this.Kc&&!this.Sv)if(this.Sv=!0,this.dispatchEvent("renderstart"),this.Qr=0,this.FQ)this.KE=this.V8,(0,window.setTimeout)(this.IN,0);else{this.KE=this.rY;this.Rj();if(this.cr())throw $.jd(6);Xj(this)}};$.g.IN=function(){this.Rj();this.cr()?(0,window.setTimeout)(this.IN,0):Xj(this)};$.g.Rj=function(){if(this.ox&&this.ox.length){for(var a=0;a<this.ox.length;a++){var b=this.ox[a];b.cr()&&b.Fd()}this.ox.length=0}this.Wa.cr()&&this.Wa.Fd();this.Do&&this.Do().Fd()};
$.g.Lb=function(){};$.g.cr=function(){return this.Wa.cr()};$.g.Af=function(a){return this.Wa.Af(a)};$.g.Dd=$.Eg.prototype.Dd;$.g.OO=$.Eg.prototype.OO;$.g.text=$.Eg.prototype.text;$.g.kM=$.Eg.prototype.kM;$.g.rect=$.Eg.prototype.rect;$.g.dk=$.Eg.prototype.dk;$.g.NN=$.Eg.prototype.NN;$.g.MN=$.Eg.prototype.MN;$.g.MO=$.Eg.prototype.MO;$.g.cn=$.Eg.prototype.cn;$.g.ellipse=$.Eg.prototype.ellipse;$.g.path=$.Eg.prototype.path;$.g.oO=$.Eg.prototype.oO;$.g.qO=$.Eg.prototype.qO;$.g.rO=$.Eg.prototype.rO;
$.g.sO=$.Eg.prototype.sO;$.g.tO=$.Eg.prototype.tO;$.g.pO=$.Eg.prototype.pO;$.g.LO=$.Eg.prototype.LO;$.g.IO=$.Eg.prototype.IO;$.g.KO=$.Eg.prototype.KO;$.g.JO=$.Eg.prototype.JO;$.g.TK=$.Eg.prototype.TK;$.g.yK=$.Eg.prototype.yK;$.g.SK=$.Eg.prototype.SK;$.g.cM=$.Eg.prototype.cM;$.g.SO=$.Eg.prototype.SO;$.g.bg=$.Eg.prototype.bg;$.g.YK=$.Eg.prototype.YK;$.g.k_=function(a,b,c,d){return new $.Cg(this,a,b,c,d)};$.g.pattern=function(a){return new $.Sb(a)};$.g.he=function(a,b,c,d){return Zb(a,b,c,d)};
$.g.Zb=function(){return this.Wa.Zb()};$.g.fc=function(a){this.Wa.fc(a);return this};$.g.og=function(a,b){this.Wa.og(a,b);return this};$.g.od=function(a){return this.Wa.od(a)};$.g.removeChild=function(a){return this.Wa.removeChild(a)};$.g.jj=function(a){return this.Wa.jj(a)};$.g.Ki=function(){return this.Wa.Ki()};$.g.dM=function(a){return this.Wa.dM(a)};$.g.pf=function(a){return this.Wa.pf(a)};$.g.BO=function(a,b){this.Wa.BO(a,b);return this};$.g.RI=function(a,b){this.Wa.RI(a,b);return this};
$.g.yj=function(a,b){this.Wa.yj(a,b);return this};$.g.rotate=function(a,b,c){this.Wa.rotate(a,b,c);return this};$.g.fu=function(a,b){this.Wa.fu(a,b);return this};$.g.aE=function(a,b,c){this.Wa.aE(a,b,c);return this};$.g.cO=function(a,b){this.Wa.cO(a,b);return this};$.g.translate=function(a,b){this.Wa.translate(a,b);return this};$.g.setPosition=function(a,b){this.Wa.setPosition(a,b);return this};$.g.scale=function(a,b,c,d){this.Wa.scale(a,b,c,d);return this};
$.g.TN=function(a,b,c){this.Wa.TN(a,b,c);return this};$.g.hF=function(a,b,c,d,e,f){this.Wa.hF(a,b,c,d,e,f);return this};$.g.jc=function(a,b,c,d,e,f){this.Wa.jc(a,b,c,d,e,f);return this};$.g.NC=function(){return this.Wa.NC()};$.g.Qo=function(){return this.Wa.Qo()};$.g.qg=function(){return null};$.g.dispatchEvent=function(a){$.z(a)?a=a.toLowerCase():"type"in a&&(a.type=String(a.type).toLowerCase());return $.Vj.u.dispatchEvent.call(this,a)};
$.g.ra=function(a,b,c,d){return $.Vj.u.ra.call(this,String(a).toLowerCase(),b,c,d)};$.g.ve=function(a,b,c,d){return $.Vj.u.ve.call(this,String(a).toLowerCase(),b,c,d)};$.g.ac=function(a,b,c,d){return $.Vj.u.ac.call(this,String(a).toLowerCase(),b,c,d)};$.g.ll=function(a){$.n(a)&&(a=String(a).toLowerCase());return $.Vj.u.ll.call(this,a)};
$.g.Gv=function(a){var b=new $.Ni(a,this);if($.K(b.target,$.hg)){b.target.dispatchEvent(b);var c=b.type;b.G&&a.preventDefault();$.K(b.relatedTarget,$.hg)&&b.relatedTarget.Ha()==this||("mouseover"==c?this.Bg.ra(window.document,"mousemove",this.Gv,!1):"mouseout"==c&&this.Bg.ac(window.document,"mousemove",this.Gv,!1));switch(c){case "mousedown":this.Bg.ra(window.document,"mouseup",this.Gv,!1);break;case "mouseup":this.Bg.ac(window.document,"mouseup",this.Gv,!1);break;case "touchstart":this.Bg.ra(window.document,
"touchmove",this.Gv,{capture:!1,passive:!1});break;case "touchend":this.Bg.ac(window.document,"touchmove",this.Gv,{capture:!1,passive:!1});break;case "pointerdown":this.Bg.ra(window.document,"pointermove",this.Gv,!1);break;case "pointerup":this.Bg.ac(window.document,"pointermove",this.Gv,!1)}}};$.g.cd=function(){$.Vj.u.cd.call(this)};
$.g.R=function(){$.Vj.u.R.call(this);$.Dc(this.ZZ,function(a,c,d){a.remove();delete d[a]});$.qd(this.Bg);this.Bg=null;$.qd(this.hn);delete this.hn;$.qd(this.Wa);this.Rj();this.Wa.zC();delete this.Wa;var a=$.ec($.cc.vd(),this,"stage");delete $.fa.acgraph.nO[a];fk(this);$.Xe(this.Vo);this.Kc=null;delete this.Vo;this.Jd=null;$.Jc(ek)&&Kaa();this.cm&&(this.cm.cd(),this.cm=null)};var fE=$.Vj.prototype;$.F("acgraph.vector.Stage",$.Vj);fE.id=fE.id;fE.container=fE.P;fE.getContainerElement=fE.qda;
fE.getDomWrapper=fE.Bl;fE.maxResizeDelay=fE.xfa;fE.dispose=fE.cd;fE.getBounds=fE.pb;fE.layer=fE.Dd;fE.unmanagedLayer=fE.OO;fE.circle=fE.cn;fE.ellipse=fE.ellipse;fE.rect=fE.rect;fE.truncatedRect=fE.MO;fE.roundedRect=fE.NN;fE.roundedInnerRect=fE.MN;fE.path=fE.path;fE.star=fE.oO;fE.star4=fE.qO;fE.star5=fE.rO;fE.star6=fE.sO;fE.star7=fE.tO;fE.star10=fE.pO;fE.diamond=fE.TK;fE.triangleUp=fE.LO;fE.triangleDown=fE.IO;fE.triangleRight=fE.KO;fE.triangleLeft=fE.JO;fE.cross=fE.yK;fE.diagonalCross=fE.SK;
fE.hLine=fE.cM;fE.vLine=fE.SO;fE.pie=fE.bg;fE.donut=fE.YK;fE.text=fE.text;fE.html=fE.kM;fE.image=fE.dk;fE.data=fE.data;fE.pattern=fE.pattern;fE.hatchFill=fE.he;fE.clearDefs=fE.Gba;fE.numChildren=fE.Zb;fE.addChild=fE.fc;fE.addChildAt=fE.og;fE.removeChild=fE.removeChild;fE.removeChildAt=fE.jj;fE.removeChildren=fE.Ki;fE.swapChildren=fE.BO;fE.swapChildrenAt=fE.RI;fE.getChildAt=fE.od;fE.hasChild=fE.dM;fE.forEachChild=fE.yj;fE.indexOfChild=fE.pf;fE.getX=fE.Oh;fE.getY=fE.hs;fE.width=fE.width;fE.height=fE.height;
fE.getBounds=fE.pb;fE.resize=fE.resize;fE.asyncMode=fE.qba;fE.resume=fE.resume;fE.suspend=fE.suspend;fE.isRendering=fE.xM;fE.isSuspended=fE.ff;fE.remove=fE.remove;fE.domElement=fE.fa;fE.visible=fE.visible;fE.rotate=fE.rotate;fE.rotateByAnchor=fE.fu;fE.setRotation=fE.aE;fE.setRotationByAnchor=fE.cO;fE.translate=fE.translate;fE.setPosition=fE.setPosition;fE.scale=fE.scale;fE.scaleByAnchor=fE.TN;fE.appendTransformationMatrix=fE.hF;fE.setTransformationMatrix=fE.jc;fE.getRotationAngle=fE.NC;
fE.getTransformationMatrix=fE.Qo;fE.clip=fE.clip;fE.createClip=fE.k_;fE.parent=fE.parent;fE.getStage=fE.Ha;fE.listen=fE.ra;fE.listenOnce=fE.ve;fE.unlisten=fE.ac;fE.unlistenByKey=fE.jB;fE.removeAllListeners=fE.ll;fE.title=fE.title;fE.desc=fE.PR;fE.getCharts=fE.DL;fE.fullScreen=fE.fullScreen;fE.isFullScreenAvailable=fE.iy;$.H(Yj,$.Kj);Yj.prototype.clear=function(){$.Kc(this.f);Yj.u.clear.call(this)};Yj.prototype.R=function(){Yj.u.R.call(this);for(var a in this.f)delete this.f[a];delete this.f};$.H(ak,$.Vj);ak.prototype.l_=function(){return new Yj(this)};var ek;ek={};$.hk=null;$.hk=$.hd&&!$.bd("9")?"vml":"svg";$.fa.acgraph=$.fa.acgraph||{};$.fa.acgraph.fontSize="10px";$.fa.acgraph.fontColor="#000";$.fa.acgraph.textDirection="ltr";$.fa.acgraph.fontFamily="Verdana";var rk=void 0;$.F("acgraph.create",$.ik);$.F("acgraph.getStage",function(a){return $.fa.acgraph.nO[a]});$.F("acgraph.type",function(){return $.hk});$.F("acgraph.rect",$.jk);$.F("acgraph.circle",$.kk);$.F("acgraph.ellipse",$.mk);$.F("acgraph.path",$.nk);$.F("acgraph.text",$.pk);
$.F("acgraph.layer",$.lk);$.F("acgraph.image",ok);$.F("acgraph.hatchFill",Zb);$.F("acgraph.patternFill",$.Tb);$.F("acgraph.clip",$.qk);$.F("acgraph.useAbsoluteReferences",function(a){if($.n(a))sk=a;else return!!Gi()});$.F("acgraph.updateReferences",function(){var a=rk;rk=void 0;if($.n(a)&&Gi()!=a){var b=$.kg(),c;for(c in ek)if(ek.hasOwnProperty(c)){a=ek[c];var d=a.Ha();d&&($.K(a,$.hg)&&(d.ff()?a.Lb(512):a.Af(512)||b.oW(a)),$.K(a,$.ng)&&(d.ff()?a.Lb(24):(a.Af(8)||Ii(b,a),a.Af(16)||Ji(b,a))))}}});var gE,Rp;$.fl=$.fa;$.Bp=$.fl.document;$.F("anychart.VERSION","8.9.0.1932");$.F("anychart.DEVELOP",!1);$.F("anychart.DEFAULT_THEME","defaultTheme");$.F("anychart.PERFORMANCE_MONITORING",!1);var Xaa,Yaa,Zaa,$aa,aba,vda,bba,cba,dba,fba,gba,iba,Hk,jba,kba,lba,mba,wda,nba,oba,qba,iE,rba,xda,yda,Rt,zda,Ada,Bda,sba,uba,vba,wba,xba,yba,zba,Aba,Cda,Dda,Eda,qca,Fda,kE,Au,lE;Xaa={Oja:"by-spot",Qja:"by-x",l8:"single"};Yaa={NONE:"none",Xma:"single-select",Fla:"multi-select",Tka:"drill-down"};
Zaa={JX:"default",uka:"crosshair",qma:"pointer",Dla:"move",ina:"text",xna:"wait",nla:"help",Nla:"n-resize",Jla:"ne-resize",$ka:"e-resize",Wma:"se-resize",gna:"s-resize",fna:"sw-resize",Bna:"w-resize",Mla:"nw-resize",Kla:"ns-resize",Wka:"ew-resize",Lla:"nwse-resize",Ila:"nesw-resize"};$aa={f7:"left-top",e7:"left-center",d7:"left-bottom",P5:"center-top",$y:"center",O5:"center-bottom",B7:"right-top",A7:"right-center",z7:"right-bottom",z5:"auto"};
aba={f7:"left-top",e7:"left-center",d7:"left-bottom",P5:"center-top",$y:"center",O5:"center-bottom",B7:"right-top",A7:"right-center",z7:"right-bottom"};vda={Jja:"before-axes",qja:"after-axes"};bba={$y:"center",tP:"left",zP:"right",IP:"top",gP:"bottom"};cba={mY:"vertical",PX:"horizontal"};dba={mY:"vertical",PX:"horizontal",una:"vertical-expandable",qla:"horizontal-expandable"};fba={tP:"left",zP:"right",IP:"top",gP:"bottom"};gba={rP:"inside",UX:"outside"};iba={zja:"asc",Lka:"desc",NONE:"none"};
Hk={iP:"circle",m8:"square",o6:"diamond",C8:"triangle-up",z8:"triangle-down",B8:"triangle-right",A8:"triangle-left",T5:"cross",KX:"diagonal-cross",o8:"star4",p8:"star5",q8:"star6",r8:"star7",n8:"star10",s7:"pentagon",x8:"trapezium",Xs:"line",D8:"v-line",y5:"arrowhead",yja:"arrow-up",xja:"arrow-right",vja:"arrow-down",wja:"arrow-left"};jba={iP:"circle",x7:"rect",nma:"pin",hla:"flag"};kba={pna:"up",Ska:"down",z5:"auto",Pla:"odd-even"};
lba={Jma:"series",Qma:"series-positive",Pma:"series-negative",ZERO:"zero",Fja:"axis"};mba={r7:"no-overlap",x5:"allow-overlap",Bja:"auto-width"};wda={NONE:"none",Cma:"round",wka:"cut",Dma:"round-inner"};
nba={sB:"area",AE:"bar",hP:"bubble",IX:"candlestick",BE:"column",Xs:"line",TX:"ohlc",XX:"range-area",YX:"range-bar",yP:"range-column",ZX:"range-spline-area",$X:"range-step-area",cY:"spline",dY:"spline-area",kY:"step-line",jY:"step-area",iP:"circle",m8:"square",C8:"triangle-up",z8:"triangle-down",B8:"triangle-right",A8:"triangle-left",o6:"diamond",T5:"cross",KX:"diagonal-cross",o8:"star4",p8:"star5",q8:"star6",r8:"star7",n8:"star10",s7:"pentagon",x8:"trapezium",y5:"arrowhead",D8:"v-line",yu:"marker",
Bma:"rising-falling"};oba={JX:"default",Sja:"categories"};$.Jk={J8:"x",Xs:"line",s6:"ellipse",AE:"bar"};qba={rP:"inside",$y:"center",UX:"outside"};iE={NONE:"none",JP:"value",Wla:"percent"};rba={Rma:"series-start",fla:"first-visible",Lma:"series-end",xla:"last-visible"};xda={Pka:"direct",zma:"reverse"};
yda={sB:"area",AE:"bar",Mja:"box",hP:"bubble",IX:"candlestick",BE:"column",Y6:"jump-line",Xs:"line",yu:"marker",TX:"ohlc",XX:"range-area",YX:"range-bar",yP:"range-column",ZX:"range-spline-area",$X:"range-step-area",cY:"spline",dY:"spline-area",jY:"step-area",kY:"step-line",u8:"stick",W6:"hilo"};Rt={Xw:"children",vB:"parent"};zda={E6:"first-date",G6:"first-visible-date",c7:"last-visible-date",Z6:"last-date"};Ada={JX:"default",xma:"raw",Hma:"selected",lla:"grouped"};
Bda={NONE:"none",J8:"x",JP:"value",Lja:"both"};sba={vka:"csv",Pja:"by-word",Nja:"by-char"};uba={tP:"left",s8:"start",$y:"center",v6:"end",zP:"right"};vba={IP:"top",n7:"middle",gP:"bottom"};wba={Kja:"blink",Ala:"line-through",Vla:"overline",mna:"underline",NONE:"none"};xba={q7:"normal",ula:"italic",Ola:"oblique"};yba={q7:"normal",Zma:"small-caps"};zba={Bla:"ltr",Ema:"rtl"};$.jE={ona:"unit",POINTS:"points",WX:"range",Fna:"ytd",vma:"qtd",Ela:"mtd",l7:"max"};
Aba={E6:"first-date",G6:"first-visible-date",c7:"last-visible-date",Z6:"last-date"};Cda={nna:"union",Ima:"separated",l8:"single"};Dda={FLOAT:"float",pma:"point",kka:"chart"};Eda={FLOAT:"float",cna:"sticky"};qca={Fma:"same",Oka:"different"};Fda={$y:"center",jla:"forward",Hja:"backward"};
kE={Eja:"average",A5:"bubbleSize",B5:"bubbleSizePercentOfCategory",C5:"bubbleSizePercentOfSeries",D5:"bubbleSizePercentOfTotal",Tja:"categoryName",E5:"categoryYAverage",Vja:"categoryYMax",G5:"categoryYMedian",Yja:"categoryYMin",H5:"categoryYMode",I5:"categoryYPercentOfTotal",aka:"categoryYRangeAverage",J5:"categoryYRangeMax",dka:"categoryYRangeMedian",K5:"categoryYRangeMin",gka:"categoryYRangeMode",L5:"categoryYRangePercentOfTotal",M5:"categoryYRangeSum",N5:"categoryYSum",Q5:"chartElements",R5:"close",
tka:"count",V5:"dataPlotBubbleMaxSize",W5:"dataPlotBubbleMinSize",X5:"dataPlotBubbleSizeAverage",Y5:"dataPlotBubbleSizeSum",Bka:"dataPlotMaxXSumSeriesName",Dka:"dataPlotMaxYSumSeriesName",Cka:"dataPlotMaxXValuePointSeriesName",Eka:"dataPlotMaxYValuePointSeriesName",Fka:"dataPlotMinXSumSeriesName",Hka:"dataPlotMinYSumSeriesName",Gka:"dataPlotMinXValuePointSeriesName",Ika:"dataPlotMinYValuePointSeriesName",Z5:"dataPlotPointCount",c6:"dataPlotSeriesCount",d6:"dataPlotXAverage",e6:"dataPlotXMax",f6:"dataPlotXMin",
g6:"dataPlotXSum",h6:"dataPlotYAverage",i6:"dataPlotYMax",j6:"dataPlotYMin",k6:"dataPlotYRangeMax",l6:"dataPlotYRangeMin",m6:"dataPlotYRangeSum",n6:"dataPlotYSum",S6:"high",X6:"index",h7:"low",l7:"max",Cla:"min",Gla:"name",OPEN:"open",rma:"pointsCount",kma:"pertChartCriticalPathStandardDeviation",lma:"pertChartProjectDuration",WX:"range",v7:"rangeEnd",w7:"rangeStart",Kma:"seriesAverage",G7:"seriesBubbleMaxSize",H7:"seriesBubbleMinSize",I7:"seriesBubbleSizeAverage",J7:"seriesBubbleSizeMedian",K7:"seriesBubbleSizeMode",
L7:"seriesBubbleSizeSum",M7:"seriesFirstXValue",N7:"seriesFirstYValue",P7:"seriesLastXValue",Q7:"seriesLastYValue",Mma:"seriesMax",Nma:"seriesMin",Oma:"seriesName",S7:"seriesPointCount",R7:"seriesPointsCount",Sma:"seriesSum",T7:"seriesXAverage",U7:"seriesXMax",V7:"seriesXMedian",W7:"seriesXMin",X7:"seriesXMode",Y7:"seriesXSum",Z7:"seriesYAverage",c8:"seriesYMax",d8:"seriesYMedian",e8:"seriesYMin",f8:"seriesYMode",Tma:"seriesYRangeAverage",g8:"seriesYRangeMax",Uma:"seriesYRangeMedian",h8:"seriesYRangeMin",
Vma:"seriesYRangeMode",i8:"seriesYRangeSum",j8:"seriesYSum",ena:"sum",JP:"value",t7:"percentValue",K8:"xPercentOfSeries",L8:"xPercentOfTotal",M8:"xValue",N8:"yPercentOfCategory",O8:"yPercentOfSeries",P8:"yPercentOfTotal",Q8:"yValue",Dna:"xScalesMin",Cna:"xScalesMax",Hna:"yScalesMin",Gna:"yScalesMax",jka:"catYSumArr_",Zja:"catYMinArr_",Wja:"catYMaxArr_",Uja:"catYAvgArr_",Xja:"catYMedianArr_",$ja:"catYModeArr_",ika:"catYRangeSumArr_",fka:"catYRangeMinArr_",cka:"catYRangeMaxArr_",bka:"catYRangeAvgArr_",
eka:"catYRangeMedianArr_",hka:"catYRangeModeArr_"};Au={};for(lE in kE)kE.hasOwnProperty(lE)&&(Au[lE]=kE[lE].toLowerCase());var Gda={Q5:"chart-elements",Jka:"data-table"},Bba={NONE:"none",rka:"consider"},Hda={Qla:"ordinal",Gma:"scatter"},Ida={Qka:"discrete",ska:"continuous"};var dl={};$.H(kl,$.od);var Eba=/^(.*\.)?anychart\.(com|stg|dev)$/i,mE=!1,gl=1,hl=2,il=4,jl=8;$.g=kl.prototype;$.g.ef=function(){return!this.Xb};$.g.J=function(a){return!!(this.Xb&a)};$.g.I=function(a){this.Xb&=~a};$.g.B=function(a,b){var c=a&~this.Xb;this.Xb|=c;!this.fd&&!this.f.ff()&&c&&b&&this.f.Fd()};$.g.enabled=function(a){return $.n(a)?(this.G!=a&&(this.G=a,(nl(this)||this.N)&&this.B(gl,!0)),this):this.G};$.g.text=function(a){return $.n(a)?(this.kc!=a&&(this.kc=a,nl(this)&&this.B(il,!0)),this):this.kc};
$.g.CJ=function(a){return $.n(a)?(this.Ga!=a&&(this.Ga=a,nl(this)&&this.B(hl,!0)),this):this.Ga};$.g.AJ=function(a){return $.n(a)?(this.U!=a&&(this.U=a,nl(this)&&this.B(hl,!0)),this):this.U};$.g.BJ=function(a){return $.n(a)?(this.ba!=a&&(this.ba=a,nl(this)&&this.B(hl,!0)),this):this.ba};$.g.WE=function(a){return $.n(a)?(this.ga!=a&&(this.ga=a,nl(this)&&this.B(jl,!0)),this):this.ga};$.g.Ha=function(){return this.f};$.g.fa=function(){return this.Jd};
$.g.Fd=function(){var a=nl(this);a&&$.n(this.ya)&&!this.ya&&this.B(gl,!1);this.ya=a;if(this.ef()||this.fd||!this.f||this.f.ff())return this;if(!this.enabled()&&(this.N||a))return this.J(gl)&&($.Xe(this.Jd),this.I(gl)),this;if(!mE){var b="",c=$.Ne("STYLE");c.type="text/css";b+='.anychart-credits{position:absolute;overflow:hidden;right:9px;bottom:6px;height:10px;}.anychart-credits a {text-decoration:none;}.anychart-credits-logo{border:none;margin-right:2px;height:10px;width:10px;display:inline-block;vertical-align:top;}.anychart-credits-text{font-size:10px;line-height:9px;display:inline-block;vertical-align:top;text-decoration:none;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:#929292;height:10px;}';
c.styleSheet?c.styleSheet.cssText=b:c.appendChild(window.document.createTextNode(String(b)));$.We($.Be(window.document,"head",void 0,void 0)[0],c,0);mE=!0}this.Jd||(this.Jd=$.Ne("DIV","anychart-credits"));this.g||(this.g=$.Ne("A"),this.D=$.Ne("SPAN","anychart-credits-text"),this.b=$.Ne("IMG","anychart-credits-logo"),Ue(this.g,this.D),this.Jd.appendChild(this.g));b=this.f.Bl();this.J(gl)&&(b&&b.appendChild(this.Jd),this.I(gl));this.J(hl)&&(b=$.hc.apply(null,[", v%s.%s.%s.%s"].concat(["8","9","0","1932"])),
c=a?this.AJ():"AnyChart - JavaScript Charts designed to be embedded and integrated{{anychart-version}}",$.De(this.g,{href:a?this.CJ():"https://www.anychart.com/?utm_source=trial",title:c.replace("{{anychart-version}}",b),target:"_blank"}),$.De(this.b,{alt:a?this.BJ():"AnyChart - JavaScript Charts"}),this.I(hl));this.J(il)&&(a=a?this.text():"AnyChart Trial Version",$.ef(this.D,a),this.I(il));if(this.J(jl)){if(a=nl(this)?this.WE():ll()){if(this.O=a,b=uh($.kg()))$.Id(b,"complete",this.O2,!1,this),$.Id(b,
"load",this.OY,!1,this),$.Id(b,"error",this.P2,!1,this),this.j&&(eh(b,a),this.j=!1),Yg(b,a,a),this.j=!0,b.start()}else $.Xe(this.b);this.I(jl)}return this};$.g.OY=function(a){var b=this.O;a.target.id==b&&(this.fd||(nl(this)?this.WE():ll())!=b||this.b.parentNode||$.We(this.g,this.b,0),$.De(this.b,{src:b}),this.j=!1)};$.g.O2=function(a){a.target.id==this.O&&(this.j=!1)};$.g.P2=function(a){a.target.id==this.O&&$.Xe(this.b)};
$.g.K=function(a){this.f.suspend();$.z(a)?(this.text(a),this.enabled(!0)):$.da(a)||null===a?this.enabled(!!a):$.D(a)&&(this.CJ(a.url),this.text(a.text),this.AJ(a.alt),this.BJ(a.imgAlt),this.WE(a.logoSrc),this.enabled(a.enabled));this.f.resume()};$.g.F=function(){var a={};a.url=this.CJ();a.alt=this.AJ();a.imgAlt=this.BJ();a.text=this.text();a.logoSrc=this.WE();a.enabled=this.enabled();return a};
$.g.R=function(){var a=$.kg();a.Mt&&!a.Mt.fd&&(a=uh($.kg()),$.Sd(a,"load",this.OY,!1,this),$.Sd(a,"complete",this.O2,!1,this),$.Sd(a,"error",this.P2,!1,this));$.Xe(this.D);$.Xe(this.b);$.Xe(this.g);$.Xe(this.Jd);this.f=this.Jd=this.g=this.b=this.D=null;kl.u.R.call(this)};var nE=kl.prototype;nE.text=nE.text;nE.url=nE.CJ;nE.alt=nE.AJ;nE.imgAlt=nE.BJ;nE.logoSrc=nE.WE;nE.enabled=nE.enabled;$.fl.performance&&$.E($.fl.performance.now)&&(0,$.pa)($.fl.performance.now,$.fl.performance);ol.prototype.measure=function(){rl(this);var a=[],b;for(b in this.b){var c=this.b[b];if(!c.pU){for(var d=0;d<c.bR.length;d++){var e=c.bR[d];e&&((e.ga?e.g[0]&&e.g[0][0]&&e.g[0][0].P:e.ka?e.G.P:e.U?e.b[0].P:e.P)||$.Dx(e,this.f),a.push(e))}c.pU=!0}}for(b=0;b<a.length;b++)$.Mx(a[b])};ol.prototype.j=function(a){var b=a.target,c=$.X(a,$.oE);a=$.X(a,$.pE);if(c||a)b="m"+$.oa(b),b=this.b[b],b.pU=!a,c&&(b.bR=b.AN.xy())};var ul={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var Gba=/#(.)(.)(.)/,sl=/^#(?:[0-9a-f]{3}){1,2}$/i,Fba=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;var Hba,Iba,Ql;$.Ul={color:"#fff",opacity:1E-5};Hba=/^#(?:[0-9a-f]{3}){1,2}$/i;Iba=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;Ql={};$.F("anychart.color.blend",$.Cl);$.F("anychart.color.lighten",$.Hl);$.F("anychart.color.darken",$.Il);$.F("anychart.color.setThickness",$.Ol);$.F("anychart.color.setOpacity",$.Ml);$.F("anychart.color.singleHueProgression",El);
$.F("anychart.color.bipolarHueProgression",function(a,b,c){c=$.n(c)?c:7;a=El(a||"blue",Math.floor(c/2)+1,null,1);b=El(b||"red",Math.floor(c/2)+1,1);0==c%2&&$.Ca(a,a.length-1,1);$.Ca(b,0,1);return a.concat(b)});$.F("anychart.color.blendedHueProgression",$.Fl);var am,Em,zm,Bm,Am,Fm,Gm,Cm,rm,tm,vm,xm;
for(var qE=[{Pb:"defaultScaleSettings.linear",Nb:[["defaultScaleSettings.",["log","dateTime"]]]},{Pb:"defaultOrdinalColorScale",Nb:["defaultScaleSettings.ordinalColor"]},{Pb:"defaultLinearColorScale",Nb:["defaultScaleSettings.linearColor"]},{Pb:"defaultFontSettings",Nb:[["default",["Title","CrosshairLabel","ButtonSettings.normal",["Tooltip",["",".contentInternal"]],["Legend",["",".paginator"]],["Label",["Factory","Settings"]]]],[["cartesianBase","scatter","mekko"],".defaultTextMarkerSettings"],["standalones.",
["label","table","textAxisMarker"]],[["standalones","resource"],".resourceList.baseSettings"],"stock.eventMarkers.normal","chart.defaultAnnotationSettings.label"]},{Pb:"defaultLabelSettings",Nb:[["chart.",[[["","defaultQuarterSettings."],"defaultLabelSettings"]]],"defaultTextMarkerSettings"]},{Pb:"defaultBackground",Nb:[[[["default",["Title","Timeline.header","TextMarkerSettings","ButtonSettings.normal",["Tooltip",["",".contentInternal"]],"LabelFactory","CrosshairLabel",["Legend",["",".paginator"]]]],
["chart",["",".defaultAnnotationSettings.label",[["",".defaultQuarterSettings"],".defaultLabelSettings"],".dataArea"]],["stock.",[[["defaultPlotSettings","scroller"],".xAxis"],"defaultPlotSettings.dataArea"]],["resource.",["grid","timeLine","resourceList"]],["standalones",["",".label",".resourceList"]]],".background"],"chart.defaultQuarterSettings"]},{Pb:"chart.defaultLabelSettings",Nb:["defaultNoDataLabel"]},{Pb:"defaultLabelFactory",Nb:[["default",[["Axis.",[[["minorL","l"],"abels"]]],["Timeline.",
["header","labels"]]]],"standalones.labelsFactory",["map.axesSettings.",[[["l","minorL"],"abels"]]],[["pert.milestones",["resource.",["activities","conflicts"]]],".labels"],["pert.tasks.",[[["upper","lower"],"Labels"]]],"stock.defaultPlotSettings.defaultPriceIndicatorSettings.label","treeMap.normal.headers",[["venn","pieFunnelPyramidBase","sunburst",["sankey.",["node","flow","dropoff"]],[["heat","tree"],"Map"],[["chart.defaultAnnotation","linearGauge.defaultPointer",[["chart","map"],".defaultSeries"]],
"Settings.base"]],".normal.labels"]]},{Pb:"chart.normal.labels",Nb:["chart.defaultSeriesSettings.base.normal.labels"]},{Pb:"defaultCrosshairLabel",Nb:[[["cartesianBase","mekko","scatter","map","stock"],".crosshair.defaultLabelSettings"]]},{Pb:"defaultMarkerFactory",Nb:["defaultTimeline.markers","standalones.markersFactory",[["venn","pieFunnelPyramidBase",[["heat","tree"],"Map"],[["chart.defaultAnnotation",[["chart","map"],".defaultSeries"]],"Settings.base"]],".normal.markers"]]},{Pb:"defaultTitle",
Nb:[[[["default",["Tooltip","Axis","Legend","DataGrid.defaultColumnSettings"]],["chart",["",".defaultQuarterSettings"]],"stock.defaultPlotSettings","standalones","map.axesSettings"],".title"]]},{Pb:"defaultSeparator",Nb:[["default",[[["Tooltip.s","Legend.titleS"],"eparator"]]]]},{Pb:"defaultTooltip",Nb:[[[["default",["Legend","DataGrid","Timeline"]],"chart","pieFunnelPyramidBase",["pert.",["milestones","tasks"]],"stock.eventMarkers"],".tooltip"]]},{Pb:"defaultLegend",Nb:[[["chart","standalones"],
".legend"]]},{Pb:"palette",Nb:[[["chart","stock.scroller",["default",["DataGrid","Timeline"]]],".palette"]]},{Pb:"hatchFillPalette",Nb:[[["chart","stock.scroller"],".hatchFillPalette"]]},{Pb:"hatchFillPaletteFor3D",Nb:["cartesian3dBase.hatchFillPalette"]},{Pb:"markerPalette",Nb:[[["chart","stock.defaultPlotSettings"],".markerPalette"]]},{Pb:"defaultGridSettings",Nb:[[["defaultMinor",["cartesianBase scatter polar radar heatMap stock.defaultPlotSettings".split(" "),".default"]],"GridSettings"],"map.gridsSettings",
["standalones.",[[["linear","radar","polar"],"Grid"]]]]},{Pb:"defaultMinorGridSettings",Nb:[[["cartesianBase","scatter","polar","radar","stock.defaultPlotSettings"],".defaultMinorGridSettings"]]},{Pb:"defaultLineMarkerSettings",Nb:[["cartesianBase scatter mekko sparkline defaultTimeline stock.defaultPlotSettings".split(" "),".defaultLineMarkerSettings"],"standalones.lineAxisMarker"]},{Pb:"defaultTextMarkerSettings",Nb:[["cartesianBase scatter mekko sparkline defaultTimeline stock.defaultPlotSettings".split(" "),
".defaultTextMarkerSettings"],"standalones.textAxisMarker"]},{Pb:"defaultRangeMarkerSettings",Nb:[["cartesianBase scatter mekko sparkline defaultTimeline stock.defaultPlotSettings".split(" "),".defaultRangeMarkerSettings"],"standalones.rangeAxisMarker"]},{Pb:"defaultAxis",Nb:[[[[["cartesianBase","heatMap","scatter","mekko"],[[".default",["X","Y"]]]],[["circular","linear"],"Gauge.default"]],"AxisSettings"],[["radar.","polar."],[[["x","y"],"Axis"]]],["stock.",[["defaultPlotSettings.",["defaultYAxisSettings",
"xAxis"]],"scroller.xAxis"]],"bullet.axis","defaultColorRange",["standalones.",[[["linear","polar","radar","radial"],"Axis"]]]]},{Pb:"defaultColorRange",Nb:[[["map","treeMap","standalones","tagCloud"],".colorRange"]]},{Pb:"defaultCallout",Nb:["map.defaultCalloutSettings"]},{Pb:"defaultScroller",Nb:[[[["cartesianBase.",["x","y"]]],"Scroller"],[["stock","standalones"],".scroller"],["resource.",[[["horizontal","vertical"],"ScrollBar"]]]]},{Pb:"defaultNoDataLabel",Nb:[[["chart","stock.defaultPlotSettings"],
".noDataLabel"]]},{Pb:"defaultButtonSettings",Nb:["defaultDataGrid.buttons"]},{Pb:"chart",Nb:["tagCloud","scatter","radar","polar","bullet","map","sparkline",[[["cartesian",["","3d"]],"pieFunnelPyramid","gantt"],"Base"],["stock",["",".defaultPlotSettings"]],[["heat","tree"],"Map"],[["circular","linear"],"Gauge"],"pert","resource","mekko","venn","sunburst","sankey"]},{Pb:"chart.defaultSeriesSettings",Nb:["stock.scroller.defaultSeriesSettings"]},{Pb:"pieFunnelPyramidBase",Nb:["pie","pyramid","funnel"]},
{Pb:"pie",Nb:["pie3d"]},{Pb:"cartesianBase.defaultAnnotationSettings.base",Nb:[["cartesianBase.defaultAnnotationSettings.",["ray","line",[["infinite","vertical","horizontal"],"Line"],"rectangle","ellipse","triangle","trendChannel","andrewsPitchfork",["fibonacci",["Fan","Arc","Retracement","Timezones"]],"marker","label"]]]},{Pb:"cartesianBase.defaultSeriesSettings.rangeLike",Nb:[["cartesianBase.defaultSeriesSettings.",[["range",["Bar","Column",[["","Spline","Step"],"Area"]]],"hilo"]]]},{Pb:"cartesianBase.defaultSeriesSettings.base",
Nb:[["cartesianBase.defaultSeriesSettings.",[[["area","bar","line"],"Like"],"marker","bubble"]]]},{Pb:"cartesianBase.defaultSeriesSettings.areaLike",Nb:[["cartesianBase.defaultSeriesSettings.",[[["a","splineA","stepA"],"rea"],["range",[[["","Spline","Step"],"Area"]]]]]]},{Pb:"cartesianBase.defaultSeriesSettings.barLike",Nb:[["cartesianBase.defaultSeriesSettings.",["bar","column","box",["range",["Bar","Column"]],"candlestick"]]]},{Pb:"cartesianBase.defaultSeriesSettings.lineLike",Nb:[["cartesianBase.defaultSeriesSettings.",
[[["","sp"],"line"],[["step","jump"],"Line"],"ohlc","stick","hilo"]]]},{Pb:"cartesianBase",Nb:["cartesian","area",["vertical",["Area","Line"]],"bar","box","column","financial","line","jumpLine","stick","pareto","waterfall"]},{Pb:"waterfall.defaultSeriesSettings.barLike",Nb:["waterfall.defaultSeriesSettings.waterfall"]},{Pb:"cartesian3dBase.defaultSeriesSettings.base",Nb:[["cartesian3dBase.defaultSeriesSettings.",["bar","column","area","line","line2d"]]]},{Pb:"cartesian3dBase",Nb:[[["area","bar","column",
"line","cartesian"],"3d"]]},{Pb:"cartesian",Nb:["cartesian3d"]},{Pb:"bar",Nb:["bar3d"]},{Pb:"column",Nb:["column3d"]},{Pb:"area",Nb:[[["area","line"],"3d"]]},{Pb:"mekko.defaultSeriesSettings.base",Nb:[["mekko.defaultSeriesSettings.",["mosaic",[["","bar"],"mekko"]]]]},{Pb:"scatter.defaultAnnotationSettings.base",Nb:[["scatter.defaultAnnotationSettings.",["ray","line",[["infinite","vertical","horizontal"],"Line"],"rectangle","ellipse","triangle","trendChannel","andrewsPitchfork",["fibonacci",["Fan",
"Arc","Retracement","Timezones"]],"marker","label"]]]},{Pb:"scatter.defaultSeriesSettings.base",Nb:[["scatter.defaultSeriesSettings.",["bubble","lineLike","marker"]]]},{Pb:"scatter.defaultSeriesSettings.lineLike",Nb:["scatter.defaultSeriesSettings.line"]},{Pb:"scatter",Nb:["marker","bubble","quadrant"]},{Pb:"radar.defaultSeriesSettings.base",Nb:[["radar.defaultSeriesSettings.",[[["area","line"],"Like"],"marker"]]]},{Pb:"radar.defaultSeriesSettings.areaLike",Nb:["radar.defaultSeriesSettings.area"]},
{Pb:"radar.defaultSeriesSettings.lineLike",Nb:["radar.defaultSeriesSettings.line"]},{Pb:"polar.defaultSeriesSettings.base",Nb:[["polar.defaultSeriesSettings.",[[["area","line","bar"],"Like"],"marker"]]]},{Pb:"polar.defaultSeriesSettings.rangeLike",Nb:["polar.defaultSeriesSettings.rangeColumn"]},{Pb:"polar.defaultSeriesSettings.areaLike",Nb:[["polar.defaultSeriesSettings.",["area","polygon"]]]},{Pb:"polar.defaultSeriesSettings.lineLike",Nb:[["polar.defaultSeriesSettings.",[[["","poly"],"line"]]]]},
{Pb:"polar.defaultSeriesSettings.barLike",Nb:[["polar.defaultSeriesSettings.",[[["c","rangeC"],"olumn"]]]]},{Pb:"chart.normal.labels",Nb:["sparkline.labels"]},{Pb:"chart.normal.markers",Nb:["sparkline.markers"]},{Pb:"chart.defaultSeriesSettings.base.normal",Nb:["sparkline.defaultSeriesSettings.base"]},{Pb:"chart.defaultSeriesSettings.area.normal",Nb:["sparkline.defaultSeriesSettings.area"]},{Pb:"chart.defaultSeriesSettings.line.normal",Nb:["sparkline.defaultSeriesSettings.line"]},{Pb:"chart.defaultSeriesSettings.column.normal",
Nb:["sparkline.defaultSeriesSettings.column"]},{Pb:"sparkline.defaultSeriesSettings.base",Nb:[["sparkline.defaultSeriesSettings.",["area","line","column","winLoss"]]]},{Pb:"circularGauge.defaultPointerSettings.base",Nb:[["circularGauge.defaultPointerSettings.",["bar","marker","needle","knob"]]]},{Pb:"map.defaultSeriesSettings.base",Nb:[["map.defaultSeriesSettings.",["choropleth","bubble","marker","connector"]]]},{Pb:"heatMap.defaultAnnotationSettings.base",Nb:[["heatMap.defaultAnnotationSettings.",
["ray","line",[["infinite","vertical","horizontal"],"Line"],"rectangle","ellipse","triangle","trendChannel","andrewsPitchfork",["fibonacci",["Fan","Arc","Retracement","Timezones"]],"marker","label"]]]},{Pb:"stock.defaultAnnotationSettings.base",Nb:[["stock.defaultAnnotationSettings.",["ray","line",[["infinite","vertical","horizontal"],"Line"],"rectangle","ellipse","triangle","trendChannel","andrewsPitchfork",["fibonacci",["Fan","Arc","Retracement","Timezones"]],"marker","label"]]]},{Pb:"stock.defaultPlotSettings.defaultSeriesSettings.base",
Nb:[["stock.defaultPlotSettings.defaultSeriesSettings.",[[["area","bar","line"],"Like"],"marker"]]]},{Pb:"stock.defaultPlotSettings.defaultSeriesSettings.rangeLike",Nb:[["stock.defaultPlotSettings.defaultSeriesSettings.",[["range",["Column",[["","Spline","Step"],"Area"]]],"hilo"]]]},{Pb:"stock.defaultPlotSettings.defaultSeriesSettings.areaLike",Nb:[["stock.defaultPlotSettings.defaultSeriesSettings.",[[["a","splineA","stepA"],"rea"],["range",[[["","Spline","Step"],"Area"]]]]]]},{Pb:"stock.defaultPlotSettings.defaultSeriesSettings.barLike",
Nb:[["stock.defaultPlotSettings.defaultSeriesSettings.",["column","rangeColumn","candlestick"]]]},{Pb:"stock.defaultPlotSettings.defaultSeriesSettings.lineLike",Nb:[["stock.defaultPlotSettings.defaultSeriesSettings.",[[["","sp"],"line"],[["step","jump"],"Line"],"ohlc","stick","hilo"]]]},{Pb:"stock.scroller.defaultSeriesSettings.base",Nb:[["stock.scroller.defaultSeriesSettings.",[[["area","bar","line"],"Like"],"marker"]]]},{Pb:"stock.scroller.defaultSeriesSettings.areaLike",Nb:[["stock.scroller.defaultSeriesSettings.",
[[["a","splineA","stepA"],"rea"],["range",[[["","Spline","Step"],"Area"]]]]]]},{Pb:"stock.scroller.defaultSeriesSettings.barLike",Nb:[["stock.scroller.defaultSeriesSettings.",["column","rangeColumn","candlestick"]]]},{Pb:"stock.scroller.defaultSeriesSettings.lineLike",Nb:[["stock.scroller.defaultSeriesSettings.",[[["","sp"],"line"],[["step","jump"],"Line"],"ohlc","stick","hilo"]]]},{Pb:"stock.scroller.defaultSeriesSettings.rangeLike",Nb:[["stock.scroller.defaultSeriesSettings.",[["range",["Column",
[["","Spline","Step"],"Area"]]],"hilo"]]]},{Pb:"defaultScrollBar",Nb:[[[["default",["DataGrid","Timeline"]],"standalones.timeline"],[[[".horizontal",".vertical"],"ScrollBar"]]]]},{Pb:"defaultDataGrid",Nb:[[["ganttBase","standalones"],".dataGrid"]]},{Pb:"defaultTimeline",Nb:[[["ganttBase.t",["standalones.",["projectT","resourceT"]]],"imeline"]]},{Pb:"defaultTimeline.elements",Nb:[["defaultTimeline.",["tasks","baselines","milestones","periods"]]]},{Pb:"defaultTimeline.elements.milestones",Nb:["defaultTimeline.elements.milestones.preview"]},
{Pb:"defaultTimeline.tasks",Nb:[["defaultTimeline.",["groupingTasks"]]]},{Pb:"ganttBase",Nb:[["gantt",["Resource","Project"]]]},{Pb:"defaultGroupingSettings",Nb:[["stock.",[[["g","scrollerG"],"rouping"]]]]},{Pb:"linearGauge.defaultPointerSettings.base",Nb:[["linearGauge.defaultPointerSettings.","bar rangeBar marker tank thermometer led".split(" ")]]},{Pb:"linearGauge",Nb:["thermometer","tank","led"]},{Pb:"standalones.resourceList.baseSettings",Nb:[[["standalones.resourceList."],["names","types","descriptions",
"tags"]]]},{Pb:"resource.resourceList.baseSettings",Nb:[[["resource.resourceList."],["names","types","descriptions","tags"]]]},{Pb:"chart.defaultQuarterSettings",Nb:[["chart.quarters.",[[["right","left"],"Top"],[["right","left"],"Bottom"]]]]},{Pb:"mekko",Nb:["mosaic","barmekko"]},{Pb:"mekko.defaultAnnotationSettings.base",Nb:[["mekko.defaultAnnotationSettings.",["ray","line",[["infinite","vertical","horizontal"],"Line"],"rectangle","ellipse","triangle","trendChannel","andrewsPitchfork",["fibonacci",
["Fan","Arc","Retracement","Timezones"]],"marker","label"]]]}],rE=0;rE<qE.length;rE++)qE[rE].Nb=Ya(qE[rE].Nb);for(var sE={},tE=0;tE<qE.length;tE++)for(var uE=qE[tE].Pb,vE=qE[tE].Nb,wE=0;wE<vE.length;wE++){var xE=vE[wE],yE=xE.split(".")[0],zE=sE[yE];zE||(sE[yE]=zE={QD:[],aC:0,MH:0});var AE=zE.QD[zE.QD.length-1];AE&&AE.Pb==uE?AE.Nb.push(xE):zE.QD.push({Pb:uE,Nb:[xE]})}am=sE;Em=0;zm=1;Bm=2;Am=3;Fm=4;Gm=5;Cm=8;
rm=function(){function a(a,d){for(var c=Xa(a),f=0;f<c.length;f++)b[c[f]]=d}var b={padding:Cm,margin:Cm,scale:7,palette:Fm,fill:zm,stroke:Bm,hatchFill:Am,hatchFillPalette:Gm,shapes:9};a([["x","y","color"],"Scale"],7);a([["range","marker"],"Palette"],Fm);a([["negative","first","last","max","min","rising","falling","background","progress","milestone","parent","connector","odd","even","title","slider","cell",["row",["","Odd","Even","Hover","Selected"]],["base",["","line"]],["icon",["","Marker"]],["drag",
["Preview","Area"]],["hover",["","Negative","Rising","Falling"]],["select"," ed edElement Negative Rising Falling Marquee".split(" ")]],"Fill"],zm);a([["negative","first","last","max","min","rising","falling","icon",["hover",["","Negative","Rising","Falling"]],["select",["","ed","Negative","Rising","Falling"]]],"HatchFill"],Am);a([["column","row","connector","median","stem","whisker","negative","high","low","rising","falling","progress","milestone","parent","slider","background",[["","line"],"base"],
["hover"," Median Stem Whisker Negative High Low Rising Falling".split(" ")],["icon",["","Marker"]],["drag",["Preview","Area"]],[["x","value"],"Error"],["select"," ed edElement Low High Negative Rising Falling edRising edFalling Median Stem Whisker Marquee".split(" ")]],"Stroke"],Bm);return b}();
tm={"chart.chartLabels":"chart.defaultLabelSettings","chart.grids":"chart.defaultGridSettings","chart.minorGrids":"chart.defaultMinorGridSettings","chart.xAxes":"chart.defaultXAxisSettings","chart.yAxes":"chart.defaultYAxisSettings","chart.axes":"chart.defaultAxisSettings","chart.lineAxesMarkers":"chart.defaultLineMarkerSettings","chart.rangeAxesMarkers":"chart.defaultRangeMarkerSettings","chart.textAxesMarkers":"chart.defaultTextMarkerSettings","plot.lineAxesMarkers":"plot.defaultLineMarkerSettings",
"plot.rangeAxesMarkers":"plot.defaultRangeMarkerSettings","plot.textAxesMarkers":"plot.defaultTextMarkerSettings","chart.ranges":"chart.defaultRangeSettings","gauge.bars":"gauge.defaultPointerSettings","gauge.markers":"gauge.defaultPointerSettings","gauge.needles":"gauge.defaultPointerSettings","gauge.knobs":"gauge.defaultPointerSettings","gauge.ranges":"gauge.defaultRangeSettings","gauge.axes":"gauge.defaultAxisSettings","gauge.scaleBars":"gauge.defaultScaleBarSettings","map.callouts":"map.defaultCalloutSettings",
"chart.quarters.rightTop.labels":"chart.defaultQuarterSettings.defaultLabelSettings","chart.quarters.leftTop.labels":"chart.defaultQuarterSettings.defaultLabelSettings","chart.quarters.leftBottom.labels":"chart.defaultQuarterSettings.defaultLabelSettings","chart.quarters.rightBottom.labels":"chart.defaultQuarterSettings.defaultLabelSettings"};vm=["chart.scales","gauge.scales"];
xm={"chart.series":{RK:"chart.defaultSeriesSettings",NO:"seriesType"},"map.series":{RK:"map.defaultSeriesSettings",NO:"seriesType"},"gauge.pointers":{RK:"gauge.defaultPointerSettings",NO:"pointerType"},annotationsList:{RK:"defaultAnnotationSettings",NO:"type"}};
$.hr={title:["defaultFontSettings","defaultTitle"],background:["defaultBackground"],legend:["defaultFontSettings","defaultLegend"],legendItem:["defaultFontSettings"],paginator:["defaultFontSettings"],separator:["defaultSeparator"],titleSeparator:["defaultSeparator"],tooltip:["defaultFontSettings","defaultTooltip"],labelsFactory:["defaultFontSettings","defaultLabelFactory"],markersFactory:["defaultMarkerFactory"],axis:["defaultAxis"],scroller:["defaultScroller"],thumbs:["defaultScroller.thumbs"]};
$.hr.xScroller=$.hr.scroller;$.hr.yScroller=$.hr.scroller;$.hr.titleSeparator=$.hr.separator;$.g=Hm.prototype;$.g.getData=function(){return this.oa};$.g.rw=function(){this.oa.push(this.f||[]);this.f=[]};$.g.OV=function(a,b){this.f.push(b)};$.g.start=function(){this.oa=[];this.f=[]};$.g.Ed=$.ia;$.g.EJ=function(){this.f&&this.f.length&&this.rw()};$.H($.Im,$.od);$.g=$.Im.prototype;$.g.Zo=null;$.g.LA="\n";$.g.vz=",";$.g.rI=window.NaN;$.g.xF=window.NaN;$.g.zz=window.NaN;$.g.Nv=!1;$.g.ZG=!1;$.g.Og=window.NaN;$.g.Go=-1;$.g.Fo=-1;$.g.tL=!1;$.g.PV=window.NaN;$.g.sI=function(a){return $.n(a)?(this.LA=a,this.rI=this.LA.length-1,this):this.LA};$.g.yF=function(a){return $.n(a)?(this.vz=a,this.xF=this.vz.length-1,this):this.vz};$.g.YG=function(a){return $.n(a)?(this.ZG=!!a,this):this.ZG};$.g.$G=function(a){return $.n(a)?(this.Nv=!!a,this):this.Nv};
$.g.GB=function(a,b,c){this.Zo=b||new Hm;c=!!c;this.Cd=a||"";this.zz=a.length;this.g=Jm(this.LA);this.f=Jm(this.vz);this.Og=0;this.tL=this.Og==this.zz;this.b=this.ZG?this.sha:this.o3;this.Zo.start();Nm(this)&&(this.ZG?this.b=this.o3:this.Zo.rw());this.ZG=!1;if(c)this.yN();else{for(;Nm(this);)this.Zo.rw();this.Zo.Ed(this.Og);this.Zo.EJ();if($.K(this.Zo,Hm))return this.Zo.getData()}return null};
$.g.yN=function(){(0,window.clearTimeout)(this.PV);for(var a=0,b=Nm(this);b&&500>a++;){if(this.fd)return;this.Zo.rw();b=Nm(this)}b&&this.Zo.rw();this.fd||(b?(this.Zo.Ed(this.Og),this.PV=(0,window.setTimeout)(this.yN,0)):this.Zo.EJ())};$.g.o3=function(a,b){this.Zo.OV(a,b)};$.g.sha=$.ia;$.g.R=function(){(0,window.clearTimeout)(this.PV);this.f=this.g=this.Zo=null;$.Im.u.R.call(this)};var BE=$.Im.prototype;$.F("anychart.data.csv.parser",$.Om);BE.parse=BE.GB;BE.rowsSeparator=BE.sI;
BE.columnsSeparator=BE.yF;BE.ignoreTrailingSpaces=BE.$G;BE.ignoreFirstRow=BE.YG;$.J.prototype.F=function(){return{left:this.left,top:this.top,width:this.width,height:this.height}};ln.prototype.add=function(a){return new ln(this.x+a.x,this.y+a.y)};ln.prototype.min=function(a){return new ln(Math.min(this.x,a.x),Math.min(this.y,a.y))};ln.prototype.max=function(a){return new ln(Math.max(this.x,a.x),Math.max(this.y,a.y))};on.prototype.AI=function(){for(var a=this.b.length-1;0<=a;a--)if(1E-6>=Math.abs(this.b[a]))this.b.pop();else break};$.F("anychart.math.rect",$.gn);var CE={nP:["BC","AD"],MX:["Before Christ","Anno Domini"],QX:"JFMAMJJASOND".split(""),eY:"JFMAMJJASOND".split(""),uP:"January February March April May June July August September October November December".split(" "),FP:"January February March April May June July August September October November December".split(" "),BP:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),GP:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),KP:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
hY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),DP:"Sun Mon Tue Wed Thu Fri Sat".split(" "),gY:"Sun Mon Tue Wed Thu Fri Sat".split(" "),o7:"SMTWTFS".split(""),fY:"SMTWTFS".split(""),CP:["Q1","Q2","Q3","Q4"],xP:["1st quarter","2nd quarter","3rd quarter","4th quarter"],fP:["AM","PM"],CE:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],EE:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],jP:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],oP:6,E8:[5,6],pP:5},On=CE;
On=CE;var Kba=/^(-)?P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)D)?(T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+(?:\.\d+)?)S)?)?$/;$.An.prototype.clone=function(){return new $.An(this.Ok,this.Sh,this.ci,this.Ph,this.Gj,this.wh)};var un="y",vn="m",wn="d",xn="h",yn="n",zn="s";$.An.prototype.b=function(a){return new $.An(this.Ok*a,this.Sh*a,this.ci*a,this.Ph*a,this.Gj*a,this.wh*a)};$.An.prototype.add=function(a){this.Ok+=a.Ok;this.Sh+=a.Sh;this.ci+=a.ci;this.Ph+=a.Ph;this.Gj+=a.Gj;this.wh+=a.wh};$.g=$.Gn.prototype;$.g.AC=On.oP;
$.g.BC=On.pP;$.g.clone=function(){var a=new $.Gn(this.b);a.AC=this.AC;a.BC=this.BC;return a};$.g.getFullYear=function(){return this.b.getFullYear()};$.g.getMonth=function(){return this.b.getMonth()};$.g.getDate=function(){return this.b.getDate()};$.g.getTime=function(){return this.b.getTime()};$.g.getDay=function(){return this.b.getDay()};$.g.getUTCFullYear=function(){return this.b.getUTCFullYear()};$.g.getUTCMonth=function(){return this.b.getUTCMonth()};$.g.getUTCDate=function(){return this.b.getUTCDate()};
$.g.VL=function(){return this.b.getDay()};$.g.getUTCHours=function(){return this.b.getUTCHours()};$.g.getUTCMinutes=function(){return this.b.getUTCMinutes()};$.g.getTimezoneOffset=function(){return this.b.getTimezoneOffset()};$.g.set=function(a){this.b=new Date(a.getFullYear(),a.getMonth(),a.getDate())};$.g.setFullYear=function(a){this.b.setFullYear(a)};$.g.setMonth=function(a){this.b.setMonth(a)};$.g.setDate=function(a){this.b.setDate(a)};$.g.setTime=function(a){this.b.setTime(a)};$.g.oT=function(a){this.b.setUTCFullYear(a)};
$.g.Fda=function(a){this.b.setUTCMonth(a)};$.g.Eda=function(a){this.b.setUTCDate(a)};
$.g.add=function(a){if(a.Ok||a.Sh){var b=this.getMonth()+a.Sh+12*a.Ok,c=this.getFullYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);var d=Math.min(tn(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.ci&&(b=new Date(this.getFullYear(),this.getMonth(),this.getDate(),12),a=new Date(b.getTime()+864E5*a.ci),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()),this.setDate(a.getDate()),En(this,a.getDate()))};
$.g.WL=function(a){return[this.getFullYear(),$.uc(this.getMonth()+1,2),$.uc(this.getDate(),2)].join(a?"-":"")};$.g.UI=ba(6);$.g.toString=function(){return this.WL()};$.g.valueOf=function(){return this.b.valueOf()};$.H($.Hn,$.Gn);$.g=$.Hn.prototype;$.g.getHours=function(){return this.b.getHours()};$.g.getMinutes=function(){return this.b.getMinutes()};$.g.getSeconds=function(){return this.b.getSeconds()};$.g.VL=function(){return this.b.getUTCDay()};$.g.getUTCHours=function(){return this.b.getUTCHours()};
$.g.getUTCMinutes=function(){return this.b.getUTCMinutes()};$.g.nT=function(){return this.b.getUTCSeconds()};$.g.setHours=function(a){this.b.setHours(a)};$.g.setMinutes=function(a){this.b.setMinutes(a)};$.g.setSeconds=function(a){this.b.setSeconds(a)};$.g.setMilliseconds=function(a){this.b.setMilliseconds(a)};$.g.R0=function(a){this.b.setUTCHours(a)};$.g.S0=function(a){this.b.setUTCMinutes(a)};$.g.T0=function(a){this.b.setUTCSeconds(a)};$.g.Dda=function(a){this.b.setUTCMilliseconds(a)};
$.g.add=function(a){$.Gn.prototype.add.call(this,a);a.Ph&&this.R0(this.b.getUTCHours()+a.Ph);a.Gj&&this.S0(this.b.getUTCMinutes()+a.Gj);a.wh&&this.T0(this.b.getUTCSeconds()+a.wh)};$.g.WL=function(a){var b=$.Gn.prototype.WL.call(this,a);return a?b+" "+$.uc(this.getHours(),2)+":"+$.uc(this.getMinutes(),2)+":"+$.uc(this.getSeconds(),2):b+"T"+$.uc(this.getHours(),2)+$.uc(this.getMinutes(),2)+$.uc(this.getSeconds(),2)};$.g.UI=ba(5);$.g.toString=function(){return this.WL()};
$.g.clone=function(){var a=new $.Hn(this.b);a.AC=this.AC;a.BC=this.BC;return a};$.H($.In,$.Hn);$.g=$.In.prototype;$.g.clone=function(){var a=new $.In(this.b);a.AC=this.AC;a.BC=this.BC;return a};$.g.add=function(a){(a.Ok||a.Sh)&&$.Gn.prototype.add.call(this,new $.An(a.Ok,a.Sh));this.b=new Date(this.b.getTime()+1E3*(a.wh+60*(a.Gj+60*(a.Ph+24*a.ci))))};$.g.getTimezoneOffset=function(){return 0};$.g.getFullYear=$.Hn.prototype.getUTCFullYear;$.g.getMonth=$.Hn.prototype.getUTCMonth;$.g.getDate=$.Hn.prototype.getUTCDate;$.g.getHours=$.Hn.prototype.getUTCHours;$.g.getMinutes=$.Hn.prototype.getUTCMinutes;
$.g.getSeconds=$.Hn.prototype.nT;$.g.getDay=$.Hn.prototype.VL;$.g.setFullYear=$.Hn.prototype.oT;$.g.setMonth=$.Hn.prototype.Fda;$.g.setDate=$.Hn.prototype.Eda;$.g.setHours=$.Hn.prototype.R0;$.g.setMinutes=$.Hn.prototype.S0;$.g.setSeconds=$.Hn.prototype.T0;$.g.setMilliseconds=$.Hn.prototype.Dda;var cp=$.hd&&Lba();Kn.prototype.MC=function(a){return this.D-Nn(this,a)};var Tn=[/^'(?:[^']|'')*('|$)/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^'GyMkSEahKHcLQdmsvVwzZ]+/];
$.Rn.prototype.format=function(a,b){if(!a)throw Error("The date to format must be non-null.");var c=b?6E4*(a.getTimezoneOffset()-b.MC(a)):0,d=c?new Date(a.getTime()+c):a,e=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(d=new Date(d.getTime()+6E4*(d.getTimezoneOffset()-a.getTimezoneOffset())),e=new Date(a.getTime()+(c+(0<c?-864E5:864E5))));c=[];for(var f=0;f<this.f.length;++f){var h=this.f[f].text;1==this.f[f].type?c.push(Nba(this,h,a,d,e,b)):c.push(h)}return c.join("")};var Mba=!1;Wn.prototype.F=function(a){var b=[];Yn(this,a,b);return b.join("")};var $n={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Qba=/\uffff/.test("")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;var DE,Lt,go,Sba,Rba,Xba,dp,Tp,jp,ip,ew,Hw,op,pp,Zba;Lt=0;$.co=1;$.eo=2;$.fo=3;go=4;Sba=5;Rba=6;$.yo="center-top right-top right-center right-bottom center-bottom left-bottom left-center left-top".split(" ");Xba=/^[^<&"\n\r–]*$/;dp="treat_as_array";Tp=null;jp=[45,113,99,117,108,106,110,124,109,118,35,120,99,111,91,123,85];ip=null;ew={};Hw={};
$.lp=[{ng:"year",qe:31536E6,Kr:!0},{ng:"semester",qe:15768E6,Kr:!1},{ng:"quarter",qe:7884E6,Kr:!1},{ng:"month",qe:24192E5,Kr:!0},{ng:"third-of-month",qe:876E6,Kr:!1},{ng:"week",qe:6048E5,Kr:!1},{ng:"day",qe:864E5,Kr:!0},{ng:"hour",qe:36E5,Kr:!0},{ng:"minute",qe:6E4,Kr:!0},{ng:"second",qe:1E3,Kr:!0},{ng:"millisecond",qe:1,Kr:!0}];op=[1+Math.cos((.4-.5)*Math.PI),1+Math.cos((.8-.5)*Math.PI),1+Math.cos(.7*Math.PI),1+Math.cos(1.1*Math.PI),1+Math.cos(1.5*Math.PI)];
pp=[1+Math.sin((.4-.5)*Math.PI),1+Math.sin((.8-.5)*Math.PI),1+Math.sin(.7*Math.PI),1+Math.sin(1.1*Math.PI),1+Math.sin(1.5*Math.PI)];Zba={decoration:"text-decoration",hAlign:"text-anchor",color:"fill",fontColor:"fill"};$.F("anychart.utils.printUtilsBoolean",function(){return ml()});$.F("anychart.utils.xml2json",$.ep);$.F("anychart.utils.json2xml",$.hp);$.F("anychart.utils.hideTooltips",function(a){for(var b in ew)if(ew.hasOwnProperty(b)){var c=ew[b];c.fd||c.Oc(a)}});
$.F("anychart.utils.htmlTableFromCsv",rp);$.F("anychart.utils.schedule",$.vp);$.H($.zp,$.qf);$.g=$.zp.prototype;$.g.pd=null;$.g.FM=null;$.g.wU=null;$.g.GM=null;$.g.Yq=-1;$.g.lA=-1;$.g.UP=!1;
var EE={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},FE={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Jda=$.hd||$.wp||$.vd&&$.bd("525"),GE=$.wd&&$.gd;$.g=$.zp.prototype;
$.g.Gda=function(a){($.vd||$.wp)&&(17==this.Yq&&!a.ctrlKey||18==this.Yq&&!a.altKey||$.wd&&91==this.Yq&&!a.metaKey)&&this.TD();-1==this.Yq&&(a.ctrlKey&&17!=a.keyCode?this.Yq=17:a.altKey&&18!=a.keyCode?this.Yq=18:a.metaKey&&91!=a.keyCode&&(this.Yq=91));Jda&&!$ba(a.keyCode,this.Yq,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?this.handleEvent(a):(this.lA=yp(a.keyCode),GE&&(this.UP=a.altKey))};$.g.TD=function(){this.lA=this.Yq=-1};$.g.jea=function(a){this.TD();this.UP=a.altKey};
$.g.handleEvent=function(a){var b=a.dl,c=b.altKey;if($.hd&&"keypress"==a.type){var d=this.lA;var e=13!=d&&27!=d?b.keyCode:0}else($.vd||$.wp)&&"keypress"==a.type?(d=this.lA,e=0<=b.charCode&&63232>b.charCode&&xp(d)?b.charCode:0):$.wf&&!$.vd?(d=this.lA,e=xp(d)?b.keyCode:0):(d=b.keyCode||this.lA,e=b.charCode||0,GE&&(c=this.UP),$.wd&&63==e&&224==d&&(d=191));var f=d=yp(d);d?63232<=d&&d in EE?f=EE[d]:25==d&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in FE&&(f=FE[b.keyIdentifier]);a=f==this.Yq;this.Yq=
f;b=new Ap(f,e,a,b);b.altKey=c;this.dispatchEvent(b)};$.g.Ta=function(){return this.pd};$.g.XL=function(a,b){this.GM&&this.IG();this.pd=a;this.FM=$.Id(this.pd,"keypress",this,b);this.wU=$.Id(this.pd,"keydown",this.Gda,b,this);this.GM=$.Id(this.pd,"keyup",this.jea,b,this)};$.g.IG=function(){this.FM&&(Td(this.FM),Td(this.wU),Td(this.GM),this.GM=this.wU=this.FM=null);this.pd=null;this.lA=this.Yq=-1};$.g.R=function(){$.zp.u.R.call(this);this.IG()};$.H(Ap,$.xd);var Dp,Gp,Qp,Sp,Up,Vp,Yp,Zp,dq;$.HE=$.fl.acgraph;Dp=!1;$.Vj.prototype.Zw=!1;$.Vj.prototype.Do=function(a){this.cm||(this.cm=new kl(this,this.Zw),this.cm.K($.wm("stageCredits")));return $.n(a)?(this.cm.K(a),this):this.cm};$.Fp=0;Gp=[];$.Jp={};$.Kp={};$.Mp={};$.Lp={};$.fl.anychart=$.fl.anychart||{};$.fl.anychart.fontSize="13px";$.fl.anychart.fontColor="#7c868e";$.fl.anychart.fontFamily="'Verdana', Helvetica, Arial, sans-serif";$.fl.anychart.textDirection="ltr";Qp=!1;Sp=null;Up=[];Vp=[];Yp=[];Zp=[];
$.pl=new ol;dq={};
(function(){for(var a=["ms","moz","webkit","o"],b=0,c;c=a[b]&&!$.fa.requestAnimationFrame;++b)$.fa.requestAnimationFrame=$.fa[c+"RequestAnimationFrame"],$.fa.cancelAnimationFrame=$.fa[c+"CancelAnimationFrame"]||$.fa[c+"CancelRequestAnimationFrame"];if(!$.fa.requestAnimationFrame){var d=0;$.fa.requestAnimationFrame=function(a){var b=(new Date).getTime(),c=Math.max(0,16-(b-d));d=b+c;return $.fa.setTimeout(function(){a(b+c)},c)};$.fa.cancelAnimationFrame||($.fa.cancelAnimationFrame=function(a){(0,window.clearTimeout)(a)})}})();
$.F("anychart.graphics",$.HE);$.F("anychart.fromJson",$.Np);$.F("anychart.fromXml",function(a){return $.Np($.ep(a))});$.F("anychart.onDocumentLoad",function(a,b){gE||(gE=[]);gE.push([a,b]);$.Id($.fl,"load",function(){for(var a=0,b=gE.length;a<b;a++){var e=gE[a];e[0].apply(e[1])}gE.length=0})});
$.F("anychart.onDocumentReady",function(a,b){$.fl.isNodeJS&&(Qp=!0);if(Qp)a.call(b);else if(Rp||(Rp=[]),Rp.push([a,b]),"complete"===$.Bp.readyState)(0,window.setTimeout)(Pp,1);else{var c=$.fl;$.Id($.Bp,["DOMContentLoaded","readystatechange"],Op,!1);$.Id(c,"load",Op,!1)}});$.F("anychart.licenseKey",function(a){$.n(a)&&(Sp=a);return Sp});
$.F("anychart.theme",function(a){if($.n(a)){Vp.length=0;if(a)if($.A(a))for(var b=0;b<a.length;b++)Xp(a[b]);else Xp(a);Up.length=0;Yp.length=0;Zp.length=0;for(var c in am)a=am[c],a.aC=Math.min(a.aC,1),a.MH=0}return Vp});$.F("anychart.appendTheme",Xp);$.F("anychart.global",$.Cp);$.F("anychart.getChartById",function(a){return dq[a]});$.F("anychart.isAsync",$.Ep);$.F("anychart.area",aq("anychart.area","Area chart"));$.F("anychart.area3d",aq("anychart.area3d","3D Area chart"));
$.F("anychart.bar",aq("anychart.bar","Bar chart"));$.F("anychart.vertical",aq("anychart.vertical","Bar chart"));$.F("anychart.bar3d",aq("anychart.bar3d","3D Bar chart"));$.F("anychart.bubble",aq("anychart.bubble","Bubble chart"));$.F("anychart.bullet",aq("anychart.bullet","Bullet chart"));$.F("anychart.cartesian",aq("anychart.cartesian","Cartesian chart"));$.F("anychart.cartesian3d",aq("anychart.cartesian3d","3D Cartesian chart"));$.F("anychart.scatter",aq("anychart.scatter","Scatter chart"));
$.F("anychart.stick",aq("anychart.stick","Stick chart"));$.F("anychart.jumpLine",aq("anychart.jumpLine","JumpLine chart"));$.F("anychart.stepLine",aq("anychart.stepLine","StepLine chart"));$.F("anychart.ohlc",aq("anychart.ohlc","OHLC chart"));$.F("anychart.candlestick",aq("anychart.candlestick","Candlestick chart"));$.F("anychart.column",aq("anychart.column","Column chart"));$.F("anychart.column3d",aq("anychart.column3d","3D Column chart"));$.F("anychart.box",aq("anychart.box","Box chart"));
$.F("anychart.financial",aq("anychart.financial","Financial chart"));$.F("anychart.funnel",aq("anychart.funnel","Funnel chart"));$.F("anychart.line",aq("anychart.line","Line chart"));$.F("anychart.verticalLine",aq("anychart.verticalLine","Vertical Line chart"));$.F("anychart.verticalArea",aq("anychart.verticalArea","Vertical Area chart"));$.F("anychart.marker",aq("anychart.marker","Marker chart"));$.F("anychart.sunburst",aq("anychart.sunburst","Sunburst chart"));
$.F("anychart.pie",aq("anychart.pie","Pie chart"));$.F("anychart.pie3d",aq("anychart.pie3d","3D Pie chart"));$.F("anychart.pyramid",aq("anychart.pyramid","Pyramid chart"));$.F("anychart.radar",aq("anychart.radar","Radar chart"));$.F("anychart.polar",aq("anychart.polar","Polar chart"));$.F("anychart.pert",aq("anychart.pert","Pert chart"));$.F("anychart.sparkline",aq("anychart.sparkline","Sparkline chart"));$.F("anychart.heatMap",aq("anychart.heatMap","HeatMap chart"));
$.F("anychart.gauges.circular",aq("anychart.gauges.circular","Circular gauge"));$.F("anychart.gauges.linear",aq("anychart.gauges.linear","Linear gauge"));$.F("anychart.gauges.tank",aq("anychart.gauges.tank","Tank gauge"));$.F("anychart.gauges.thermometer",aq("anychart.gauges.thermometer","Thermometer gauge"));$.F("anychart.gauges.led",aq("anychart.gauges.led","LED gauge"));$.F("anychart.map",aq("anychart.map","Map"));$.F("anychart.choropleth",aq("anychart.choropleth","Choropleth map"));
$.F("anychart.bubbleMap",aq("anychart.bubbleMap","Bubble map"));$.F("anychart.connector",aq("anychart.connector","Connector map"));$.F("anychart.markerMap",aq("anychart.markerMap","Marker map"));$.F("anychart.seatMap",aq("anychart.seatMap","Seat map"));$.F("anychart.ganttProject",aq("anychart.ganttProject","Gantt Project chart"));$.F("anychart.ganttResource",aq("anychart.ganttResource","Gantt Resource chart"));$.F("anychart.stock",aq("anychart.stock","Stock chart"));
$.F("anychart.treeMap",aq("anychart.treeMap","TreeMap chart"));$.F("anychart.pareto",aq("anychart.pareto","Pareto chart"));$.F("anychart.resource",aq("anychart.resource","Resource chart"));$.F("anychart.quadrant",aq("anychart.quadrant","Quadrant chart"));$.F("anychart.venn",aq("anychart.venn","Venn chart"));$.F("anychart.tagCloud",aq("anychart.tagCloud","TagCloud chart"));$.F("anychart.timeline",aq("anychart.timeline","Timeline chart"));$.F("anychart.mekko",aq("anychart.mekko","Mekko chart"));
$.F("anychart.mosaic",aq("anychart.mosaic","Mosaic chart"));$.F("anychart.barmekko",aq("anychart.barmekko","Barmekko chart"));$.F("anychart.waterfall",aq("anychart.waterfall","Waterfall chart"));$.F("anychart.wordtree",aq("anychart.wordtree","Wordtree chart"));$.F("anychart.sankey",aq("anychart.sankey","Sankey chart"));$.F("anychart.surface",aq("anychart.surface","Surface chart"));$.F("anychart.graph",aq("anychart.graph","Graph chart"));
$.F("anychart.standalones.background",aq("anychart.standalones.background","anychart.standalones.Background"));$.F("anychart.standalones.colorRange",aq("anychart.standalones.colorRange","anychart.standalones.ColorRange"));$.F("anychart.standalones.dataGrid",aq("anychart.standalones.dataGrid","anychart.standalones.DataGrid"));$.F("anychart.standalones.label",aq("anychart.standalones.label","anychart.standalones.Label"));
$.F("anychart.standalones.labelsFactory",aq("anychart.standalones.labelsFactory","anychart.standalones.LabelsFactory"));$.F("anychart.standalones.legend",aq("anychart.standalones.legend","anychart.standalones.Legend"));$.F("anychart.standalones.markersFactory",aq("anychart.standalones.markersFactory","anychart.standalones.MarkersFactory"));$.F("anychart.standalones.projectTimeline",aq("anychart.standalones.projectTimeline","anychart.standalones.ProjectTimeline"));
$.F("anychart.standalones.resourceTimeline",aq("anychart.standalones.resourceTimeline","anychart.standalones.ResourceTimeline"));$.F("anychart.standalones.resourceList",aq("anychart.standalones.resourceList","anychart.standalones.ResourceList"));$.F("anychart.standalones.scroller",aq("anychart.standalones.scroller","anychart.standalones.scroller"));$.F("anychart.standalones.table",aq("anychart.standalones.table","anychart.standalones.Table"));
$.F("anychart.standalones.title",aq("anychart.standalones.title","anychart.standalones.Title"));$.F("anychart.standalones.axes.linear",aq("anychart.standalones.axes.linear","anychart.standalones.axes.Linear"));$.F("anychart.standalones.axes.polar",aq("anychart.standalones.axes.polar","anychart.standalones.axes.Polar"));$.F("anychart.standalones.axes.radar",aq("anychart.standalones.axes.radar","anychart.standalones.axes.Radar"));
$.F("anychart.standalones.axes.radial",aq("anychart.standalones.axes.radial","anychart.standalones.axes.Radial"));$.F("anychart.standalones.axisMarkers.line",aq("anychart.standalones.axisMarkers.line","anychart.standalones.axisMarkers.Line"));$.F("anychart.standalones.axisMarkers.range",aq("anychart.standalones.axisMarkers.range","anychart.standalones.axisMarkers.Range"));$.F("anychart.standalones.axisMarkers.text",aq("anychart.standalones.axisMarkers.text","anychart.standalones.axisMarkers.Text"));
$.F("anychart.standalones.grids.linear",aq("anychart.standalones.grids.linear","anychart.standalones.grids.Linear"));$.F("anychart.standalones.grids.linear3d",aq("anychart.standalones.grids.linear3d","anychart.standalones.grids.Linear3d"));$.F("anychart.standalones.grids.polar",aq("anychart.standalones.grids.polar","anychart.standalones.grids.Polar"));$.F("anychart.standalones.grids.radar",aq("anychart.standalones.grids.radar","anychart.standalones.grids.Radar"));
$.F("anychart.ui.contextMenu",aq("anychart.ui.contextMenu","Context Menu",!0));$.F("anychart.ui.ganttToolbar",aq("anychart.ui.ganttToolbar","Gantt toolbar"));$.F("anychart.ui.preloader",aq("anychart.ui.preloader","Preloader"));$.F("anychart.ui.rangePicker",aq("anychart.ui.rangePicker","Range picker"));$.F("anychart.ui.rangeSelector",aq("anychart.ui.rangeSelector","Range selector"));$.F("anychart.ui.zoom",aq("anychart.ui.zoom","Zoom control"));
$.F("anychart.ui.binding.exec",aq("anychart.ui.binding.exec","UI binding"));$.F("anychart.ui.binding.init",aq("anychart.ui.binding.init","UI binding"));$.F("anychart.fromXmlFile",aq("anychart.fromXmlFile","Data adapter"));$.F("anychart.fromJsonFile",aq("anychart.fromJsonFile","Data adapter"));$.F("anychart.data.parseHtmlTable",aq("anychart.data.parseHtmlTable","Data adapter"));$.F("anychart.data.loadJsonFile",aq("anychart.data.loadJsonFile","Data adapter"));
$.F("anychart.data.loadXmlFile",aq("anychart.data.loadXmlFile","Data adapter"));$.F("anychart.data.loadCsvFile",aq("anychart.data.loadCsvFile","Data adapter"));$.F("anychart.data.loadGoogleSpreadsheet",aq("anychart.data.loadGoogleSpreadsheet","Data adapter"));var bq=$.Vj.prototype;bq.credits=bq.Do;bq.saveAsPNG=cq("saveAsPng");bq.saveAsJPG=cq("saveAsJpg");bq.saveAsPDF=cq("saveAsPdf");bq.saveAsSVG=cq("saveAsSvg");bq.saveAsPng=cq("saveAsPng");bq.saveAsJpg=cq("saveAsJpg");bq.saveAsPdf=cq("saveAsPdf");
bq.saveAsSvg=cq("saveAsSvg");bq.shareAsPng=cq("shareAsPng");bq.shareAsJpg=cq("shareAsJpg");bq.shareAsPdf=cq("shareAsPdf");bq.shareAsSvg=cq("shareAsSvg");bq.getPngBase64String=cq("getPngBase64String");bq.getJpgBase64String=cq("getJpgBase64String");bq.getSvgBase64String=cq("getSvgBase64String");bq.getPdfBase64String=cq("getPdfBase64String");bq.print=cq("print");bq.toSvg=cq("toSvg");var wq,IE=[];IE[0]=Lq;IE[1]=Mq;IE[2]=function(a,b,c,d){a?$.el(405,null,[b+"()",a+"()"],!0):$.el(407,null,[b+"()"],!0);return Lq.call(this,a,b,c,d)};IE[3]=function(a,b,c,d,e){a?$.el(405,null,[b+"()",a+"()"],!0):$.el(407,null,[b+"()"],!0);return Mq.apply(this,arguments)};wq=IE;$.Z={};$.Z.mP=[0,"enabled",$.uq];$.Z.az=[1,"fill",$.Eq];$.Z.tB=[1,"fill",$.Bq];$.Z.D6=[0,"fill",$.Tl];$.Z.RX=[1,"negativeFill",$.Bq];$.Z.C7=[1,"risingFill",$.Bq];$.Z.z6=[1,"fallingFill",$.Bq];$.Z.i7=[1,"lowFill",$.Bq];
$.Z.T6=[1,"highFill",$.Bq];$.Z.Jn=[1,"stroke",$.Dq];$.Z.DE=[1,"stroke",Aq];$.Z.dna=[0,"stroke",$.Rl];$.Z.k7=[1,"lowStroke",Aq];$.Z.V6=[1,"highStroke",Aq];$.Z.p7=[1,"negativeStroke",Aq];$.Z.E7=[1,"risingStroke",Aq];$.Z.B6=[1,"fallingStroke",Aq];$.Z.m7=[1,"medianStroke",Aq];$.Z.t8=[1,"stemStroke",Aq];$.Z.G8=[1,"whiskerStroke",Aq];$.Z.qP=[1,"hatchFill",$.Fq];$.Z.OX=[1,"hatchFill",$.Cq];$.Z.mla=[0,"hatchFill",$.Sl];$.Z.SX=[1,"negativeHatchFill",$.Cq];$.Z.D7=[1,"risingHatchFill",$.Cq];
$.Z.A6=[1,"fallingHatchFill",$.Cq];$.Z.U6=[1,"highHatchFill",$.Cq];$.Z.j7=[1,"lowHatchFill",$.Cq];$.Z.kJ=[0,"align",Dk];$.Z.H8=[0,"whiskerWidth",$.Qq];$.Z.lY=[0,"type",Rq];$.Z.bY=[0,"size",$.qq];$.Z.y8=[1,"trend",Aq];$.Z.NX=[1,"grid",Aq];$.Z.t6=[1,"emptyFill",$.Bq];$.Z.u6=[1,"emptyHatchFill",$.Cq];$.Z.J6=[0,"fontFamily",$.oq];$.Z.N6=[0,"fontStyle",$.Xk];$.Z.O6=[0,"fontVariant",$.Yk];$.Z.P6=[0,"fontWeight",$.lq];$.Z.M6=[0,"fontSize",function(a){return null===a||$.E(a)||$.oo(a)?a:(0,window.parseFloat)(a)}];
$.Z.H6=[0,"fontColor",$.pq];$.Z.w8=[0,"textShadow",$.ac];$.Z.K6=[0,"fontOpacity",$.qq];$.Z.I6=[0,"fontDecoration",$.Wk];$.Z.q6=[1,"dummyFill",$.Bq];$.Z.r6=[1,"dummyStroke",Aq];$.Z.x6=[0,"type",$.Lk];$.Z.mJ=[0,"length",$.Qq];$.Z.LX=[0,"direction",$.Mk];$.Z.w6=[0,"position",$.Nk];$.Z.O7=[0,"seriesId",$.oq];$.Z.C6=[0,"fieldName",$.oq];$.Z.nJ=[0,"width",$.Qq];$.Z.lJ=[0,"height",$.Qq];$.Z.Q6=[0,"format",$.Pq];$.Z.L6=[0,"fontPadding",$.Qq];$.Z.v8=[0,"stickToLeft",$.uq];$.Z.y6=[0,"explode",$.Qq];
$.Z.bz=[0,"startAngle",function(a){return $.ab($.N(a)||0)}];$.Z.U5=[0,"cursor",Ak];$.Z.S5=[0,"content",$.tq];$.Z.uB=[0,"overlapMode",$.Ok];$.Z.HX=[0,"anchor",$.Bk];$.Z.u7=[0,"position",$.Ck];$.Z.vP=[0,"offsetY",$.qq];$.Z.wP=[0,"offsetX",$.qq];$.Z.VX=[0,"positionFormatter",$.Vq];$.Z.AP=[0,"rotation",$.mq];$.Z.kP=[0,"drawFirstLabel",$.uq];$.Z.lP=[0,"drawLastLabel",$.uq];$.Z.I8=[0,"width",$.mq];$.Z.R6=[0,"height",$.mq];$.Z.k8=[0,"shape",$.pq];$.oE=524288;$.pE=1048576;$.Zl=0;$.po=1;$.qo=2;$.H($.Yq,$.qf);$.g=$.Yq.prototype;$.g.qa=0;$.g.sa=0;$.g.yz=0;$.g.wo=window.NaN;$.g.AO=0;$.g.dd=function(a){return this.Ma[a]};$.g.th=function(a){return $.n(this.Ma[a])};$.g.mf=function(a){return this.ma[a]};$.g.i=function(a){return this.th(a)?this.dd(a):this.mf(a)};$.g.pa=function(a,b){this.Ma[a]=b};$.g.check=function(){return!0};$.g.getCapabilities=function(a){return(a=this.ua[a])?a.zb:0};$.g.EL=function(a){return(a=this.ua[a])?a.Tn||0:0};
$.g.fs=function(a){return(a=this.ua[a])?a.bia||0:0};$.g.vG=function(){return null};$.g.il=function(a){return $.n(a)?(this.H2=a,this):this.H2};$.g.B=function(a,b){a&=this.sa;var c=a&~this.yz;this.yz|=c;(c||this.il())&&this.ta(b||0);return c};$.g.I=function(a){this.yz&=~a};$.g.ef=function(a){if(a=!(this.yz&~(a||0)))a:{for(var b in this.en)if(this.en[b]){a=!1;break a}a=!0}return a};$.g.J=function(a){return!!(this.yz&a)};
$.g.ta=function(a,b,c){if(a&=this.qa)(0,window.isNaN)(this.wo)||b?(b=this.Gi(),this.ib(null),a=new nr(this,a,c),this.dispatchEvent(a),this.ib(b)):this.wo|=a};$.g.da=function(a){if((0,window.isNaN)(this.wo)||--this.AO)return this;var b=this.wo;this.wo=window.NaN;a&&b&&this.ta(b);return this};$.g.F=function(){return{}};$.g.K=function(a){for(var b=[!1],c=0;c<arguments.length;c++)b.push(arguments[c]);return this.ia.apply(this,b)};
$.g.ia=function(a,b){var c=arguments[1];if($.n(c)){$.V(this);for(var d=[],e=0;e<arguments.length;e++)d.push(arguments[e]);!this.Ce.apply(this,d)&&$.D(c)&&this.X(c,a);this.da(!0)}return this};$.g.X=function(){};$.g.Ce=function(){return!1};$.g.Od=function(){return null};$.g.Fa=function(a){if($.A(arguments[0]))return this.Fa.apply(this,arguments[0]);var b=[];if(arguments.length){for(var c=0;c<arguments.length;c++){var d=arguments[c];if($.D(d)||-1==this.gB.indexOf(d))this.gB.push(d),b.push(d)}this.yS()}return b};
$.g.Ye=function(a){this.gB.length=0;this.ma={};a&&(this.mC.length=0);return this};$.g.yS=function(){for(var a=this.ma||{},b=0;b<this.gB.length;b++){var c=this.gB[b];$.z(c)?a=$.wm(c,a,(0,$.pa)(this.Od,this)):$.D(c)&&$.ra(a,c)}this.ma=a};$.H(nr,ud);$.g=nr.prototype;$.g.Dia=function(){return $.X(this,1)};$.g.xia=function(){return $.X(this,8)};$.g.yia=function(){return $.X(this,16)};$.g.Aia=function(){return $.X(this,32)};$.g.Bia=function(){return $.X(this,2)};$.g.Cia=function(){return $.X(this,4)};
$.g=$.Yq.prototype;$.g.dispatchEvent=function(a){$.z(a)?a=a.toLowerCase():"type"in a&&(a.type=String(a.type).toLowerCase());return $.Yq.u.dispatchEvent.call(this,a)};$.g.ra=function(a,b,c,d){return $.Yq.u.ra.call(this,String(a).toLowerCase(),b,c,d)};$.g.ve=function(a,b,c,d){return $.Yq.u.ve.call(this,String(a).toLowerCase(),b,c,d)};$.g.ac=function(a,b,c,d){return $.Yq.u.ac.call(this,String(a).toLowerCase(),b,c,d)};$.g.jB=function(a){return $.Yq.u.jB.call(this,a)};
$.g.ll=function(a){$.n(a)&&(a=String(a).toLowerCase());return $.Yq.u.ll.call(this,a)};var JE=$.Yq.prototype;JE.listen=JE.ra;JE.listenOnce=JE.ve;JE.unlisten=JE.ac;JE.unlistenByKey=JE.jB;JE.removeAllListeners=JE.ll;JE.dispose=JE.cd;JE.isConsistent=JE.ef;JE=nr.prototype;JE.targetNeedsRedraw=JE.Dia;JE.targetBoundsChanged=JE.xia;JE.targetDataChanged=JE.yia;JE.targetMetaChanged=JE.Aia;JE.targetNeedsReapplication=JE.Bia;JE.targetNeedsRecalculation=JE.Cia;$.F("anychart.PointState.NORMAL",$.Zl);
$.F("anychart.PointState.HOVER",$.po);$.F("anychart.PointState.SELECT",$.qo);$.g=$.or.prototype;$.g.select=function(a){this.g=a-1;return this.advance()};$.g.ku=function(a){this.select(a)};$.g.current=function(){return this.g};$.g.reset=function(){this.g=-1;this.f=void 0;return this};$.g.advance=function(){this.f=this.view.hf(++this.g);var a=this.Gb();return!!a&&this.g<a};$.g.get=function(a){if(!(this.g>=this.Gb()))return this.view.Cl(this.g).Aj(this.f,this.g,a)};$.g.Rq=function(a){return this.get(a)};$.g.la=function(){return this.g};$.g.Oh=function(){return this.get("x")};
$.g.Gb=function(){return this.view.Gb()};$.g.o=function(a,b){return 1<arguments.length?(this.view.o(this.g,a,b),this):this.view.o(this.g,a)};var KE=$.or.prototype;KE.select=KE.select;KE.reset=KE.reset;KE.advance=KE.advance;KE.get=KE.get;KE.meta=KE.o;KE.getIndex=KE.la;KE.getRowsCount=KE.Gb;$.H($.pr,$.Yq);$.g=$.pr.prototype;$.g.qa=16;$.g.sa=1;$.g.jo=null;$.g.aw=null;$.g.sD=null;$.g.gX=!1;$.g.tj=function(){var a=new $.pr(this);$.sd(this,a);return a};$.g.filter=function(a,b){var c=new ur(this,a,b);$.sd(this,c);return c};$.g.sort=function(a,b){var c=new Cr(this,a,b);$.sd(this,c);return c};$.g.concat=function(a){$.A(a)&&(a=new $.zr(a));$.K(a,$.zr)&&(a=a.ie());a=new tr(this,a);$.sd(this,a);return a};
$.g.hf=function(a,b){$.qr(this);a=this.jo?this.jo[a]:a;return $.n(a)?this.$d.hf.apply(this.$d,arguments):a};$.g.qn=function(a){return this.hf(a)};$.g.Gb=function(){$.qr(this);return this.jo?this.jo.length:this.$d.Gb()};$.g.Cl=function(a){$.qr(this);this.aw||(this.aw=this.Ct());return 1==this.aw.length?this.aw[0]:this.$d.Cl(this.jo?this.jo[a]:a)};$.g.uv=function(){return this.$d.uv()};$.g.rN=function(a,b){for(var c=this.uv(),d=0;d<c.length;d++)b=c[d].rN(a,b);return b};
$.g.find=function(a,b){$.qr(this);if(!$.n(a)||!$.n(b))return-1;this.et||(this.et={});this.et[a]||(this.et[a]={});if(this.et[a][b])return this.et[a][b];for(var c=this.aa(),d,e;c.advance();)if(d=c.la(),e=c.get(a),this.et[a][e]=d,e==b)return d;return-1};
$.g.sL=function(a,b,c){$.qr(this);if(!$.n(a)||!$.n(b))return null;this.qF||(this.qF={});var d=a+"|"+b;if(this.qF[d])return this.qF[d].slice();if(a>b){var e=a;a=b;b=e}e=this.aa();var f=[];for(e.reset();e.advance();){var h=e.la();var k=c?h:e.get("x");k>=a&&k<=b&&f.push(h)}return this.qF[d]=f};$.g.get=function(a,b){if(!(a>=this.Gb()))return this.Cl(a).Aj(this.hf(a),a,b)};$.g.set=function(a,b,c){var d=this.hf(a);$.n(d)&&this.hf(a,bca(this.Cl(a),d,b,c));return this};$.g.aa=function(){$.qr(this);return new $.or(this)};
$.g.pF=function(){return null};$.g.dI=function(a){this.qF=this.et=null;$.X(a,16)&&this.B(1,16)};$.g.o=function(a,b,c){if(this.gX)return this.oN.apply(this,arguments);this.sD||(this.sD=[]);var d=this.sD[a];d||(this.sD[a]=d={});return 2<arguments.length?(d[b]=c,this):d[b]};$.g.oN=function(a,b,c){a=this.jo?this.jo[a]:a;if(!$.n(a))throw Error("Index can not be masked by this View");return 2<arguments.length?(this.$d.o(a,b,c),this):this.$d.o(a,b)};
$.g.$c=function(a){this.aw||(this.aw=this.Ct());for(var b=0;b<this.aw.length;b++)if(this.aw[b].$c(a))return!0;return!1};$.g.XC=function(){return this.$d.XC()};$.g.Ct=function(){return this.$d.Ct()};$.g.bO=function(a){$.K(a,Date)&&(a=a.getTime());if(!$.n(a)||$.ea(a)&&(0,window.isNaN)(a))a=null;return a};$.g.F=function(){for(var a=[],b=this.aa();b.advance();)a.push(sr(this,b.la()));return a};var LE=$.pr.prototype;LE.derive=LE.tj;LE.filter=LE.filter;LE.sort=LE.sort;LE.concat=LE.concat;LE.row=LE.hf;
LE.getRowsCount=LE.Gb;LE.getIterator=LE.aa;LE.getDataSets=LE.uv;LE.meta=LE.o;LE.get=LE.get;LE.set=LE.set;LE.find=LE.find;$.H(tr,$.pr);$.g=tr.prototype;$.g.sa=0;$.g.Cl=function(a){var b=this.$d.Gb();return a<b?this.$d.Cl(a):this.b.Cl(a-b)};$.g.Ct=function(){return $.Ga(this.$d.Ct(),this.b.Ct())};$.g.XC=function(){return this.$d.XC()||this.b.XC()};$.g.uv=function(){var a=this.$d.uv(),b=this.b.uv();return $.Ga(a,b)};$.g.hf=function(a,b){var c=this.$d.Gb();if(a<c)return this.$d.hf.apply(this.$d,arguments);a-=c;return this.b.hf.apply(this.b,arguments)};$.g.Gb=function(){return this.$d.Gb()+this.b.Gb()};
$.g.dI=function(a){this.et=null;$.X(a,16)&&this.ta(16)};$.g.oN=function(a,b,c){var d=this.$d.Gb();a<d?d=this.$d:(a-=d,d=this.b);return 2<arguments.length?(d.o(a,b,c),this):d.o(a,b)};$.H(ur,$.pr);ur.prototype.pF=function(){for(var a=[],b=this.$d.aa();b.advance();)this.f(b.get(this.b))&&a.push(b.la());return a};$.H($.wr,$.pr);$.g=$.wr.prototype;$.g.qa=16;$.g.sa=0;$.g.Aj=function(a,b,c){var d=$.ka(a);if("array"==d){if(d=this.Zc[c])for(var e=0;e<d.length;e++)if(d[e]<a.length){var f=a[d[e]];break}}else"object"==d?f=io(a,c,this.Zc[c]):-1<(0,$.za)(xr,c)&&(f=a);!$.n(f)&&-1<(0,$.za)(ME,c)&&(f=b);return f};$.g.Cl=function(){return this};$.g.Ct=function(){return[this]};$.g.hf=function(a,b){return this.$d.hf.apply(this.$d,arguments)};$.g.Gb=function(){return this.$d.Gb()};
$.g.dI=function(a){this.et=null;$.X(a,16)&&this.ta(16)};$.g.$c=function(a){if(this.$d.$c(a))return!0;var b,c=ME;for(b=0;b<c.length;b++)if(c[b]==a)return!0;if(this.$d.XC())for(c=xr,b=0;b<c.length;b++)if(c[b]==a)return!0;if(c=this.Zc[a])for(b=0;b<c.length;b++)if(this.$d.$c(c[b]))return!0;return!1};
var yr={x:[0,"column","x"],value:[1,0,"value","y","close","heat"],size:[2,1],open:[1],high:[2],low:[3,1],close:[4],lowest:[1,"lowest","low"],q1:[2],median:[3],q3:[4],highest:[5,"highest","high"],outliers:[6],id:[0],lat:[0,"lat","y","value"],"long":[1,"long","lon","x"],points:[0],y:[1,"row","y"],heat:[2,"heat","value"],category:[2],isTotal:[2],from:[0],to:[1],weight:[2,"value","flow","weight"],z:[2],name:[0],start:[1],end:[2]},xr=["value","close"],ME=["x"];$.wr.prototype.Uq=function(){return this.Zc};
var NE=$.wr.prototype;$.F("anychart.data.Mapping.DEFAULT_MAPPING",yr);$.F("anychart.data.Mapping.DEFAULT_SIMPLE_ROW_MAPPING",xr);$.F("anychart.data.Mapping.DEFAULT_INDEX_MAPPING",ME);NE.getRowsCount=NE.Gb;NE.getIterator=NE.aa;NE.row=NE.hf;NE.getMapping=NE.Uq;$.H($.zr,$.Yq);$.g=$.zr.prototype;$.g.qa=16;$.g.DJ=0;$.g.dt=null;$.g.HW=!1;$.g.data=function(a,b){return $.n(a)?($.Fp++,$.z(a)&&(a=Fr(a,b)),$.la(a)?(this.lc=Ar(this,a),this.ta(16)):this.lc&&0<this.lc.length?(this.lc.length=0,this.ta(16)):this.lc=[],$.Ip(),this):this.lc};$.g.ie=function(a){a=new $.wr(this,a);$.sd(this,a);return a};$.g.hf=function(a,b){var c=this.lc[a];1<arguments.length&&($.Fp++,this.lc[a]=b,this.ta(16),$.Ip());return c};$.g.qn=function(a){return this.hf(a)};
$.g.S9=function(a){$.Fp++;this.lc.push.apply(this.lc,Ar(this,arguments));this.ta(16);$.Ip();return this};$.g.Kea=function(a,b){$.Fp++;$.Da(this.lc,Ar(this,[a])[0],b);this.ta(16);$.Ip();return this};$.g.remove=function(a){$.Fp++;Ea(this.lc,a);this.ta(16);$.Ip();return this};$.g.Gb=function(){return this.lc.length};$.g.Cl=function(){throw Error("Wrong usage of the data Set");};$.g.Ct=function(){throw Error("Wrong usage of the data Set");};$.g.$c=function(a){return $.ea(a)?this.DJ>a:!(!this.dt||!this.dt[a.split(".")[0]])};
$.g.rN=function(a,b){function c(c){c in a||(a[c]=b++)}var d;for(d=0;d<this.DJ;d++)c(d);if(this.dt)for(d in this.dt)c(d);this.HW&&c("value");return b};$.g.XC=function(){return this.HW};$.g.o=function(){throw Error("Wrong usage of the data Set");};$.g.uv=function(){return[this]};var OE=$.zr.prototype;$.F("anychart.data.set",$.Br);OE.data=OE.data;OE.mapAs=OE.ie;OE.row=OE.hf;OE.append=OE.S9;OE.insert=OE.Kea;OE.remove=OE.remove;OE.getRowsCount=OE.Gb;$.H(Cr,$.pr);Cr.prototype.pF=function(){for(var a=[],b=this.$d.aa();b.advance();)a.push({value:b.get(this.b),index:b.la()});$.Qa(a,this.f);for(b=a.length;b--;)a[b]=a[b].index;return a};var Er=/[ \f\n\r\t\v\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000\u3031-\u3035\u309b\u309c\u30a0\u30fc\uff70]+/g,cca=/[!-#%-*,-/:;?@\[-\]_{}\xa1\xa7\xab\xb6\xb7\xbb\xbf\u037e\u0387\u055a-\u055f\u0589\u058a\u05be\u05c0\u05c3\u05c6\u05f3\u05f4\u0609\u060a\u060c\u060d\u061b\u061e\u061f\u066a-\u066d\u06d4\u0700-\u070d\u07f7-\u07f9\u0830-\u083e\u085e\u0964\u0965\u0970\u0af0\u0df4\u0e4f\u0e5a\u0e5b\u0f04-\u0f12\u0f14\u0f3a-\u0f3d\u0f85\u0fd0-\u0fd4\u0fd9\u0fda\u104a-\u104f\u10fb\u1360-\u1368\u1400\u166d\u166e\u169b\u169c\u16eb-\u16ed\u1735\u1736\u17d4-\u17d6\u17d8-\u17da\u1800-\u180a\u1944\u1945\u1a1e\u1a1f\u1aa0-\u1aa6\u1aa8-\u1aad\u1b5a-\u1b60\u1bfc-\u1bff\u1c3b-\u1c3f\u1c7e\u1c7f\u1cc0-\u1cc7\u1cd3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205e\u207d\u207e\u208d\u208e\u2329\u232a\u2768-\u2775\u27c5\u27c6\u27e6-\u27ef\u2983-\u2998\u29d8-\u29db\u29fc\u29fd\u2cf9-\u2cfc\u2cfe\u2cff\u2d70\u2e00-\u2e2e\u2e30-\u2e3b\u3001-\u3003\u3008-\u3011\u3014-\u301f\u3030\u303d\u30a0\u30fb\ua4fe\ua4ff\ua60d-\ua60f\ua673\ua67e\ua6f2-\ua6f7\ua874-\ua877\ua8ce\ua8cf\ua8f8-\ua8fa\ua92e\ua92f\ua95f\ua9c1-\ua9cd\ua9de\ua9df\uaa5c-\uaa5f\uaade\uaadf\uaaf0\uaaf1\uabeb\ufd3e\ufd3f\ufe10-\ufe19\ufe30-\ufe52\ufe54-\ufe61\ufe63\ufe68\ufe6a\ufe6b\uff01-\uff03\uff05-\uff0a\uff0c-\uff0f\uff1a\uff1b\uff1f\uff20\uff3b-\uff3d\uff3f\uff5b\uff5d\uff5f-\uff65]/g;
$.F("anychart.data.mapAsTable",function(a,b,c){if(!a||!$.A(a))return[];if($.n(b))switch(b=String(b).toLowerCase(),b){case "range":b=2;break;case "ohlc":b=4;break;default:b=1}else b=1;var d;if(!$.n(c)||(0,window.isNaN)(d=$.O(c,window.NaN,!1)))d=$.A(a[0])?Math.floor((a[0].length-1)/b):0;if((0,window.isNaN)(d)||0>=d)return[];a=new $.zr(a);c=[];if(1==b)for(b=0;b<d;b++)c.push(a.ie({x:[0],value:[1+b]}));else if(2==b)for(b=0;b<d;b++)c.push(a.ie({x:[0],low:[1+2*b],high:[2*b+2]}));else if(4==b)for(b=0;b<d;b++)c.push(a.ie({x:[0],
open:[1+4*b],high:[4*b+2],low:[4*b+3],close:[4*b+4]}));return c});$.F("anychart.data.buildMapping",Dr);$.F("anychart.data.parseText",Fr);var eca="GyMdkHmsSEDahKzZvQL";$.F("anychart.format.locales.default.dateTimeLocale",{eras:["BC","AD"],eraNames:["Before Christ","Anno Domini"],narrowMonths:"JFMAMJJASOND".split(""),standaloneNarrowMonths:"JFMAMJJASOND".split(""),months:"January February March April May June July August September October November December".split(" "),standaloneMonths:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),standaloneShortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),
weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),standaloneWeekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),shortWeekdays:"Sun Mon Tue Wed Thu Fri Sat".split(" "),standaloneShortWeekdays:"Sun Mon Tue Wed Thu Fri Sat".split(" "),narrowWeekdays:"SMTWTFS".split(""),standaloneNarrowWeekdays:"SMTWTFS".split(""),shortQuarters:["Q1","Q2","Q3","Q4"],quarters:["1st quarter","2nd quarter","3rd quarter","4th quarter"],ampms:["AM","PM"],firstDayOfWeek:0,
weekendRange:[5,6],firstWeekCutOffDay:3,dateFormat:"y MMM d",timeFormat:"HH:mm:ss",dateTimeFormat:"y MMM d 'at' HH:mm:ss",formats:{full_year:"yyyy",full_year_semester:"MMM yyyy",full_year_quarter:"MMM yyyy",full_year_month:"MMM yyyy",full_year_third_of_month:"dd MMM yyyy",full_year_week:"dd MMM yyyy",full_year_day:"dd MMM yyyy",full_year_hour:"HH dd MMM yyyy",full_year_minute:"dd MMM yyyy, HH:mm",full_year_second:"dd MMM yyyy, HH:mm:ss",full_year_millisecond:"dd MMM yyyy, HH:mm:ss.SSS",timeline_year:["yyyy",
"yy"],timeline_year_semester:["Q yyyy","Q ''yy"],timeline_year_quarter:["QQ yyyy","QQ ''yy","Q yyyy","Q ''yy"],timeline_year_month:["MMMM yyyy","MMM yyyy","MMM ''yy","MM ''yy"],timeline_year_third_of_month:"EEEE, dd MMMM yyyy;EE, dd MMM yyyy;EE, dd MMM yy;dd MMM yyyy;dd MMMM yy;MM.dd.yyyy;MM.dd.yy".split(";"),timeline_year_week:"dd MMMM yyyy;dd MMM yyyy;dd MMMM yy;dd MMM yy;MM.dd.yyyy;MM.dd.yy".split(";"),timeline_year_day:"EEEE, dd MMMM yyyy;EE, dd MMM yyyy;EE, dd MMM yy;dd MMM yyyy;dd MMMM yy;MM.dd.yyyy;MM.dd.yy".split(";"),
timeline_year_hour:["dd MMMM yyyy HH'h'","dd MMM yyyy HH'h'","dd MMM yy HH'h'","MM.dd.yyyy HH'h'","MM.dd.yy HH'h'"],timeline_year_minute:["dd MMMM yyyy HH:mm","dd MMM yyyy HH:mm","dd MMM yy HH:mm","MM.dd.yyyy HH:mm","MM.dd.yy HH:mm"],timeline_year_second:["dd MMMM yyyy HH:mm:ss","dd MMM yyyy HH:mm:ss","dd MMM yy HH:mm:ss","MM.dd.yyyy HH:mm:ss","MM.dd.yy HH:mm:ss"],timeline_year_millisecond:["dd MMMM yyyy HH:mm:ss.SSS","dd MMM yyyy HH:mm:ss.SSS","dd MMM yy HH:mm:ss.SSS","MM.dd.yyyy HH:mm:ss.SSS","MM.dd.yy HH:mm:ss.SSS"],
timeline_semester:["Q"],timeline_semester_quarter:["QQ","Q"],timeline_semester_month:["MMMM","MMM","MM"],timeline_semester_third_of_month:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_semester_week:["dd MMMM","dd MMM","MM.dd","MM.dd"],timeline_semester_day:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_semester_hour:["dd MMMM HH'h'","dd MMM HH'h'","dd MMM HH'h'","MM.dd HH'h'","MM.dd HH'h'"],timeline_semester_minute:["dd MMMM HH:mm",
"dd MMM HH:mm","dd MMM HH:mm","MM.dd HH:mm","MM.dd HH:mm"],timeline_semester_second:["dd MMMM HH:mm:ss","dd MMM HH:mm:ss","dd MMM HH:mm:ss","MM.dd HH:mm:ss","MM.dd HH:mm:ss"],timeline_semester_millisecond:["dd MMMM HH:mm:ss.SSS","dd MMM HH:mm:ss.SSS","dd MMM HH:mm:ss.SSS","MM.dd HH:mm:ss.SSS","MM.dd HH:mm:ss.SSS"],timeline_quarter:["QQ","Q"],timeline_quarter_month:["MMMM","MMM","MM"],timeline_quarter_third_of_month:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_quarter_week:["dd MMMM",
"dd MMM","MM.dd","MM.dd"],timeline_quarter_day:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_quarter_hour:["dd MMMM HH'h'","dd MMM HH'h'","dd MMM HH'h'","MM.dd HH'h'","MM.dd HH'h'"],timeline_quarter_minute:["dd MMMM HH:mm","dd MMM HH:mm","dd MMM HH:mm","MM.dd HH:mm","MM.dd HH:mm"],timeline_quarter_second:["dd MMMM HH:mm:ss","dd MMM HH:mm:ss","dd MMM HH:mm:ss","MM.dd HH:mm:ss","MM.dd HH:mm:ss"],timeline_quarter_millisecond:["dd MMMM HH:mm:ss.SSS","dd MMM HH:mm:ss.SSS",
"dd MMM HH:mm:ss.SSS","MM.dd HH:mm:ss.SSS","MM.dd HH:mm:ss.SSS"],timeline_month:["MMMM","MMM","MM"],timeline_month_third_of_month:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_month_week:["dd MMMM","dd MMM","MM.dd","MM.dd"],timeline_month_day:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_month_hour:["dd MMMM HH'h'","dd MMM HH'h'","dd MMM HH'h'","MM.dd HH'h'","MM.dd HH'h'"],timeline_month_minute:["dd MMMM HH:mm","dd MMM HH:mm",
"dd MMM HH:mm","MM.dd HH:mm","MM.dd HH:mm"],timeline_month_second:["dd MMMM HH:mm:ss","dd MMM HH:mm:ss","dd MMM HH:mm:ss","MM.dd HH:mm:ss","MM.dd HH:mm:ss"],timeline_month_millisecond:["dd MMMM HH:mm:ss.SSS","dd MMM HH:mm:ss.SSS","dd MMM HH:mm:ss.SSS","MM.dd HH:mm:ss.SSS","MM.dd HH:mm:ss.SSS"],timeline_third_of_month:["dd"],timeline_third_of_month_week:["dd"],timeline_third_of_month_day:["EEEE, dd","EE, dd","dd"],timeline_third_of_month_hour:["EEEE, dd HH'h'","EE, dd HH'h'","dd HH'h'"],timeline_third_of_month_minute:["EEEE, dd HH:mm",
"EE, dd HH:mm","dd HH:mm"],timeline_third_of_month_second:["EEEE, dd HH:mm:ss","EE, dd HH:mm:ss","dd HH:mm:ss"],timeline_third_of_month_millisecond:["EEEE, dd HH:mm:ss.SSS","EE, dd HH:mm:ss.SSS","dd HH:mm:ss.SSS"],timeline_week:["dd"],timeline_week_day:["EEEE, dd","EE, dd","dd"],timeline_week_hour:["EEEE, dd HH'h'","EE, dd HH'h'","dd HH'h'"],timeline_week_minute:["EEEE, dd HH:mm","EE, dd HH:mm","dd HH:mm"],timeline_week_second:["EEEE, dd HH:mm:ss","EE, dd HH:mm:ss","dd HH:mm:ss"],timeline_week_millisecond:["EEEE, dd HH:mm:ss.SSS",
"EE, dd HH:mm:ss.SSS","dd HH:mm:ss.SSS"],timeline_day:["EEEE, dd","EEEE, dd","EE, dd","dd"],timeline_day_hour:["EEEE, dd HH'h'","EE, dd HH'h'","dd HH'h'"],timeline_day_minute:["EEEE, dd HH:mm","EE, dd HH:mm","dd HH:mm"],timeline_day_second:["EEEE, dd HH:mm:ss","EE, dd HH:mm:ss","dd HH:mm:ss"],timeline_day_millisecond:["EEEE, dd HH:mm:ss.SSS","EE, dd HH:mm:ss.SSS","dd HH:mm:ss.SSS"],timeline_hour:["HH'h'","HH"],timeline_hour_minute:["HH:mm"],timeline_hour_second:["HH:mm:ss"],timeline_hour_millisecond:["HH:mm:ss.SSS"],
timeline_minute:["mm''"],timeline_minute_second:["mm''ss\""],timeline_minute_millisecond:["mm''ss\"SSS","mm''ss\"SS"],timeline_second:['ss"',"ss"],timeline_second_millisecond:['ss"SSS','ss"SS'],timeline_millisecond:["SSS"],year:"yyyy",year_semester:"yyyy MMM",year_quarter:"yyyy MMM",year_month:"yyyy MMM",year_third_of_month:"MMM dd",year_week:"MMM dd",year_day:"MMM dd",year_hour:"MMM-dd HH",year_minute:"dd HH:mm",year_second:"HH:mm:ss",year_millisecond:"HH:mm:ss.SSS",semester:"MMM",semester_quarter:"MMM",
semester_month:"MMM",semester_third_of_month:"dd",semester_week:"dd",semester_day:"dd",semester_hour:"HH",semester_minute:"HH:mm",semester_second:"HH:mm:ss",semester_millisecond:"SSS",quarter:"MMM",quarter_month:"MMM",quarter_third_of_month:"dd",quarter_week:"dd",quarter_day:"dd",quarter_hour:"HH",quarter_minute:"HH:mm",quarter_second:"HH:mm:ss",quarter_millisecond:"SSS",month:"MMM",month_third_of_month:"dd",month_week:"dd",month_day:"dd",month_hour:"HH",month_minute:"HH:mm",month_second:"HH:mm:ss",
month_millisecond:"SSS",third_of_month:"dd",third_of_month_week:"dd",third_of_month_day:"dd",third_of_month_hour:"HH",third_of_month_minute:"HH:mm",third_of_month_second:"HH:mm:ss",third_of_month_millisecond:"SSS",week:"dd",week_day:"dd",week_hour:"HH",week_minute:"HH:mm",week_second:"HH:mm:ss",week_millisecond:"SSS",day:"dd",day_hour:"HH",day_minute:"HH:mm",day_second:"HH:mm:ss",day_millisecond:"SSS",hour:"HH",hour_minute:"HH:mm",hour_second:"HH:mm:ss",hour_millisecond:"SSS",minute:"HH:mm",minute_second:"HH:mm:ss",
minute_millisecond:"SSS",second:"HH:mm:ss",second_millisecond:"SSS",millisecond:"SSS",charts_year:"yyyy",charts_semester:"MMM yyyy",charts_quarter:"MMM yyyy",charts_month:"MMM",charts_third_of_month:"dd MMM",charts_week:"dd MMM",charts_day:"dd MMM",charts_hour:"HH:mm",charts_minute:"HH:mm",charts_second:"HH:mm:ss",charts_millisecond:"HH:mm:ss.SSS",charts_year_semester:"MMM",charts_semester_quarter:"MMM",charts_quarter_month:"MMM",charts_month_third_of_month:"dd MMM",charts_third_of_month_week:"dd MMM",
charts_week_day:"dd",charts_day_hour:"HH:mm",charts_hour_minute:"HH:mm",charts_minute_second:"HH:mm:ss",charts_second_millisecond:"HH:mm:ss.SSS"}});$.F("anychart.format.locales.default.numberLocale",{decimalsCount:10,decimalPoint:".",groupsSeparator:"",scale:!1,zeroFillDecimals:!1,scaleSuffixSeparator:"",useBracketsForNegative:!1});$.F("anychart.format.locales.default.messages",{});
var Kda=/^([-]?\d+\.?\d*)(.*?)?$/,ps={factors:[1E15,1E12,1E9,1E6,1E3,1E3,1,.001,1E-6,1E-9],suffixes:"P T G M K k  m u n".split(" ")},ss="default",rs=null,Tr=window.NaN,Vr="default",Wr=null,Yr=null,$r=null,ns=0,ms={},ts={},os={},Qr={},Mr={};$.F("anychart.format.inputLocale",function(a){if($.n(a)){var b=$.z(a),c="object"==$.ka(a);b||c?(c=c?"input":a,Sr(a,c),ss=b?c:Mr[c]||Mr.input||a):ss="default"}return ss});$.F("anychart.format.inputBaseDate",Ur);
$.F("anychart.format.inputDateTimeFormat",function(a){$.n(a)&&($.z(a)?rs=a:rs=null);return rs});$.F("anychart.format.outputLocale",$.Ko);$.F("anychart.format.outputTimezone",function(a){$.n(a)&&(ns=$.N(a)||0);return ns});$.F("anychart.format.outputDateFormat",Zr);$.F("anychart.format.outputTimeFormat",as);$.F("anychart.format.outputDateTimeFormat",Xr);$.F("anychart.format.parseDateTime",$.cs);
$.F("anychart.format.parseNumber",function(a,b){var c=Or(b)||Or(ss)||Or("default"),d=1;if($.z(a)){c.useBracketsForNegative&&"("==a.charAt(0)&&")"==a.charAt(a.length-1)&&(d=-1,a=a.substring(1,a.length-1));a=a.replace(c.decimalPoint,".");a=a.replace(new RegExp(tc(c.groupsSeparator),"g"),"");var e=c.scale;!0===e&&(e=ps);if($.D(e)&&$.A(e.factors)&&$.A(e.suffixes)){a=a.replace(new RegExp(tc(c.scaleSuffixSeparator),"g"),"");var f=a.match(Kda);if(!f)return window.NaN;var h=1;a=+f[1];if(f=f[2]){var k=e.factors;
e=e.suffixes;for(var l=Math.min(k.length,e.length),m=0;m<l;m++)if(f==e[m]){h=k[m];break}}a*=h}}d*=+a;return(0,window.isNaN)(d)?d:$.Qm(d,c.decimalsCount)});$.F("anychart.format.subs",$.hc);$.F("anychart.format.getMessage",$.ds);$.F("anychart.format.getDateTimeFormats",$.is);$.F("anychart.format.getDateTimeFormat",$.fs);$.F("anychart.format.getIntervalIdentifier",$.es);$.F("anychart.format.date",$.ks);$.F("anychart.format.time",ls);$.F("anychart.format.dateTime",$.js);$.F("anychart.format.number",$.qs);
$.F("anychart.format.getLocale",Nr);$.H($.vs,$.Yq);$.g=$.vs.prototype;$.g.qa=2;$.g.nc=function(a,b){this.Ne||(this.Ne=[]);var c=this.Ne.length;a>=c&&0<c&&(a%=c);return $.n(b)?(this.Ne[a]=b,this.ta(2),this):(c=this.Ne[a])?c:null};$.g.items=function(a,b){return $.n(a)?($.A(a)||(a=$.Ja(arguments,0)),$.td(this.Ne),this.Ne=(0,$.Wa)(a,function(a){return $.Vb(a)}),this.ta(2),this):this.Ne};$.g.oq=function(a){this.Ne=$.Ha(this.ma.items);a&&this.ta(2)};
$.g.F=function(){var a=$.vs.u.F.call(this);a.type="distinct";for(var b=[],c=0;c<this.Ne.length;c++)b.push($.Jl(this.Ne[c]));a.items=b;return a};$.g.Od=function(a){return $.A(a)?{items:a}:$.K(a,$.vs)?{items:a.items()}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?(this.items(c.items),!0):!1};$.g.X=function(a,b){$.vs.u.X.call(this,a,b);this.items(a.items)};var PE=$.vs.prototype;$.F("anychart.palettes.distinctColors",function(a,b){var c=new $.vs;$.n(a)&&c.items.apply(c,arguments);return c});
PE.itemAt=PE.nc;PE.items=PE.items;$.H($.ws,$.Yq);$.g=$.ws.prototype;$.g.qa=2;$.g.nc=function(a,b,c,d,e){var f=this.items(),h=f.length;a>=h&&0<h&&(a%=h);return $.n(b)?(f[a]=$.$b.apply(null,$.Ja(arguments,1)),this.ta(2),this):f[a]||null};
$.g.items=function(a,b){if(!this.b)if(this.b=[],$.n(this.ma.items))for(var c=0;c<this.ma.items.length;c++){var d=$.$b.call(null,this.ma.items[c]);this.b.push(d)}else for(c in Jg)this.b.push(Jg[c]);return $.n(a)?($.A(a)||(a=$.Ja(arguments,0)),$.td(this.b),this.b=(0,$.Wa)(a,function(a){return $.$b.call(null,a)}),this.ta(2),this):this.b};$.g.F=function(){for(var a=$.ws.u.F.call(this),b=[],c=this.items(),d=0;d<c.length;d++)b.push($.Jl(c[d]));a.items=b;return a};
$.g.Od=function(a){return $.A(a)?{items:a}:$.K(a,$.ws)?{items:a.items()}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?(this.items(c.items),!0):!1};$.g.X=function(a,b){$.ws.u.X.call(this,a,b);this.items(a.items)};$.g.R=function(){$.td(this.b);this.b=null;$.ws.u.R.call(this)};var QE=$.ws.prototype;$.F("anychart.palettes.hatchFills",function(a,b){var c=new $.ws;c.items.apply(c,$.n(a)?arguments:$.Ec(Jg));return c});QE.itemAt=QE.nc;QE.items=QE.items;$.H($.xs,$.Yq);$.g=$.xs.prototype;$.g.qa=2;$.g.nc=function(a,b){var c=this.items(),d=c.length;a>=d&&0<d&&(a%=d);return $.n(b)?(d=Kk(b),d!=c[a]&&(c[a]=d,this.ta(2)),this):(d=c[a])||null};$.g.items=function(a,b){if(!this.f)if(this.f=[],$.n(this.ma.items))for(var c=0;c<this.ma.items.length;c++)this.f.push(this.ma.items[c]);else for(c in Hk)this.f.push(Hk[c]);return $.n(a)?($.A(a)||(a=$.Ja(arguments,0)),$.td(this.f),this.f=(0,$.Wa)(a,function(a){return Kk(a)}),this.ta(2),this):this.f};
$.g.F=function(){var a=$.xs.u.F.call(this);a.items=this.items();return a};$.g.Od=function(a){return $.A(a)?{items:a}:$.K(a,$.xs)?{items:a.items()}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?(this.items(c.items),!0):!1};$.g.X=function(a,b){$.xs.u.X.call(this,a,b);this.items(a.items)};var RE=$.xs.prototype;$.F("anychart.palettes.markers",function(a,b){var c=new $.xs;$.n(a)&&c.items.apply(c,arguments);return c});RE.itemAt=RE.nc;RE.items=RE.items;$.H($.ys,$.Yq);$.g=$.ys.prototype;$.g.qa=2;$.g.sa=16;$.g.items=function(a,b){return $.n(a)?($.D(a)&&$.A(a.keys)?this.Ne=$.Vb(a).keys:($.A(a)||(a=$.Ja(arguments,0)),$.td(this.Ne),this.Ne=(0,$.Wa)(a,function(a){return $.Vb(a)})),this.B(16,2),this):this.Ne};$.g.count=function(a){return $.n(a)?(this.b!=a&&(this.b=a,this.B(16,2)),this):this.b};
$.g.nc=function(a,b){if(this.J(16)){if(this.Ne&&0!=this.b){var c=[],d=$.A(this.Ne)?this.Ne:this.Ne.keys;if($.A(d)&&d.length){for(var e=this.b||this.g||d.length,f=1/(d.length-1),h,k=0;k<d.length;k++){var l=d[k];$.z(l)?(h=$.Dl(l),c.push({color:h?h.ck:"#000000",offset:k*f})):(h=$.Dl(l.color),c.push({color:h?h.ck:"#000000",offset:$.n(l.offset)?l.offset:k*f}))}Sa(c);this.f=[];if(1==c.length)for(k=0;k<e;k++)this.f[k]={color:c[0].color};else for(k=0;k<e;k++){h=1==e?0:k/(e-1);f=d=null;for(l=0;l<c.length;l++)h>=
c[l].offset&&(d=c[l]),h<=c[l].offset&&null==f&&(f=c[l]);d||(d=c[0]);f||(f=c[c.length-1]);f.offset==d.offset?this.f[k]={color:d.color}:(h=1-(h-d.offset)/(f.offset-d.offset),this.f[k]={color:$.Ub($.zl($.wl(d.color),$.wl(f.color),h))})}}}this.I(16)}c=$.A(this.Ne)?this.Ne:this.Ne.keys;if(1>c.length)return null;c=this.b||this.g||c.length;if(!c)return null;if($.n(b))return this.f[a]=b,this.ta(2),this;a>c-1&&(a=c-1);0>a&&(a=0);return(c=this.f[a])?c:null};
$.g.oq=function(a){this.b=window.NaN;this.Ne="#1D8BD1 #F1683C #2AD62A #DBDC25 #8FBC8B #D2B48C #FAF0E6 #20B2AA #B0C4DE #DDA0DD #9C9AFF #9C3063 #FFFFCE #CEFFFF #630063 #FF8284 #0065CE #CECFFF #000084 #FF00FF #FFFF00 #00FFFF #840084 #840000 #008284 #0000FF #00CFFF #CEFFFF #CEFFCE #FFFF9C #9CCFFF #FF9ACE #CE9AFF #FFCF9C #3165FF #31CFCE #9CCF00 #FFCF00 #FF9A00 #FF6500".split(" ");this.B(16);a&&this.ta(2)};
$.g.F=function(){var a=$.ys.u.F.call(this);a.type="range";for(var b=[],c=0;c<this.Ne.length;c++)b.push($.Jl(this.Ne[c]));a.items=b;(0,window.isNaN)(this.b)||(a.count=this.b);return a};$.g.Od=function(a){return $.A(a)?{items:a}:$.K(a,$.ys)?{items:a.items(),count:a.count()}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?(this.items(c.items),"count"in c&&this.count(c.count),!0):!1};$.g.X=function(a,b){$.ys.u.X.call(this,a,b);this.items(a.items);this.count(a.count)};var SE=$.ys.prototype;
$.F("anychart.palettes.rangeColors",function(a,b){var c=new $.ys;$.n(a)&&c.K.apply(c,arguments);return c});SE.itemAt=SE.nc;SE.items=SE.items;SE.count=SE.count;$.F("anychart.palettes.defaultPalette","#64b5f6 #1976d2 #ef6c00 #ffd54f #455a64 #96a6a6 #dd2c00 #00838f #00bfa5 #ffa000".split(" "));$.F("anychart.palettes.earth","#827717 #c77532 #998675 #6b617b #c69c6d #d29b9b #879872 #16685d #57a7b1 #bdbdbd".split(" "));$.F("anychart.palettes.monochrome",["#37474f","#757575","#90a4ae","#bdbdbd","#e1e1e1"]);$.F("anychart.palettes.provence","#aa8ab3 #b7cbe2 #cdd18e #938d9c #6f5264 #96246a #519790 #6aabcc #61687d #7b8030".split(" "));
$.F("anychart.palettes.morning","#0288d1 #58abd7 #ffe082 #f8bbd0 #f48fb1 #bbdefb #d4e157 #ff6e40 #03a9f4 #e1bee7".split(" "));$.F("anychart.palettes.coffee","#482311 #8d5932 #d8b597 #f2d1be #9b301c #d81e05 #c5e1a5 #558b2f #ffab00 #e65100".split(" "));$.F("anychart.palettes.wines","#6f3448 #857600 #f1a122 #a50b01 #400001 #a98b80 #c08081 #86614e #c26364 #615060".split(" "));$.F("anychart.palettes.turquoise","#80deea #00acc1 #00838f #29b6f6 #0277bd #0277bd #8c9eff #9575cd #ce93d8 #8e24aa".split(" "));
$.F("anychart.palettes.pastel","#90caf9 #80cbc4 #aed581 #e6ee9c #ffcc80 #ffab91 #f8bbd0 #d1c4e9 #9e9e9e #c7b299".split(" "));$.F("anychart.palettes.blue","#40c4ff #0288d1 #9fa8da #5c6bc0 #7e57c2 #54dbdf #15a9c7 #00897b #304ffe #0179be".split(" "));$.F("anychart.palettes.glamour","#f8bbd0 #ce93d8 #ab47bc #d81b60 #880e4f #ffd600 #ff6e40 #03a9f4 #5e35b1 #1976d2".split(" "));$.F("anychart.palettes.sea","#a9e1d4 #54dbdf #15a9c7 #207fbf #c0aca5 #8b8a92 #dbcb8f #dba869 #ffab00 #00897b".split(" "));
$.F("anychart.palettes.v6","#1D8BD1 #F1683C #2AD62A #DBDC25 #8FBC8B #D2B48C #FAF0E6 #20B2AA #B0C4DE #DDA0DD #9C9AFF #9C3063 #FFFFCE #CEFFFF #630063 #FF8284 #0065CE #CECFFF #000084 #FF00FF #FFFF00 #00FFFF #840084 #840000 #008284 #0000FF #00CFFF #CEFFFF #CEFFCE #FFFF9C #9CCFFF #FF9ACE #CE9AFF #FFCF9C #3165FF #31CFCE #9CCF00 #FFCF00 #FF9A00 #FF6500".split(" "));var As=1,gca={LINEAR:As,g7:2,qna:3},Es=function(){var a={};a[As]=function(a,c){a=$.N(a);return(c=$.N(c)-a)?function(b){return($.N(b)-a)/c}:function(){return 0}};a[2]=function(a,c){a=$.Um(Math.abs($.N(a)));return(c=$.Um(Math.abs($.N(c)))-a)?function(b){return($.Um(Math.abs($.N(b)))-a)/c}:function(){return 0}};a[3]=function(a,c){a=us(a);return(c=us(c)-a)?function(b){return(us(b)-a)/c}:function(){return 0}};return a}(),Fs=function(){var a={};a[As]=function(a,c){a=$.N(a);return(c=$.N(c)-a)?function(b){return b*
c+a}:function(){return a}};a[2]=function(a,c){var b=$.N(a),e=$.N(c),f=$.fb(b)||$.fb(e);a=$.Um(Math.abs(b));return(c=$.Um(Math.abs(e))-a)?function(b){return Vm(Math.E,b*c+a)*f}:function(){return b}};a[3]=function(a,c){a=us(a);return(c=us(c)-a)?function(b){return Math.round(b*c+a)}:function(){return a}};return a}();Bs.prototype.transform=function(a){this.f||(this.f=Hs(this.G,this.g,this.D,this.j,[],As));return this.f(a)};
Bs.prototype.Fc=function(a){this.b||(this.b=Hs(this.g,this.G,[],As,this.D,this.j));return this.b(a)};Bs.prototype.qe=function(a){return $.n(a)?(this.g=$.Ja(a,0),this.f=this.b=null,this):$.Ja(this.g,0)};$.H(Is,$.Yq);$.g=Is.prototype;$.g.qa=2;$.g.vp=null;$.g.bn=4;$.g.Zl=null;$.g.Hu=null;
$.g.R$=function(a,b,c,d,e,f){if($.n(a)){if(null===a)var h=null;else if($.z(a)&&1==arguments.length)h=Bn(a);else{if($.z(a))switch(a=$.Tk(a),b=$.N(b)||1,a){case "year":a="y";break;case "semester":a="m";b*=6;break;case "quarter":a="m";b*=4;break;case "month":a="m";break;case "third-of-month":a="d";b*=10;break;case "week":a="d";b*=7;break;case "day":a="d";break;case "hour":a="h";break;case "minute":a="n";break;case "second":a="s";break;case "millisecond":a="t"}h=new $.An(a,b,c,d,e,f)}var k;if(k=h&&this.vp)k=
this.vp,k=h.Ok==k.Ok&&h.Sh==k.Sh&&h.ci==k.ci&&h.Ph==k.Ph&&h.Gj==k.Gj&&h.wh==k.wh;k||!h&&!this.vp||(h?(this.bn=window.NaN,this.vp=h):(this.bn=4,this.vp=null),this.Hu=this.Zl=null,this.ta(2));return this}return Cn(this.vp,!1)};$.g.RS=function(){this.scale.ob();var a=this.b;return a&&(a.Ok&&"year"||a.Sh&&(!(a.Sh%6)&&"semester"||!(a.Sh%3)&&"quarter"||"month")||a.ci&&(!(a.ci%7)&&"week"||"day")||a.Ph&&"hour"||a.Gj&&"minute"||a.wh&&(!(a.wh%1)&&"second"||"millisecond"))||"millisecond"};
$.g.SS=function(){this.scale.ob();var a=this.b;return a&&(a.Ok||a.Sh&&(!(a.Sh%6)&&a.Sh/6||!(a.Sh%3)&&a.Sh/3||a.Sh)||a.ci&&(!(a.ci%7)&&a.ci/7||a.ci)||a.Ph||a.Gj||a.wh&&(!(a.wh%1)&&a.wh||1E3*a.wh))||0};$.g.count=function(a){return $.n(a)?(this.bn!=a&&(this.vp=null,this.bn=(0,window.isNaN)(a)||2>a?4:Math.ceil(+a),this.Hu=this.Zl=null,this.ta(2)),this):this.bn};
$.g.set=function(a){if(this.Zl!=a){this.bn=window.NaN;this.vp=null;this.Zl=(0,$.Wa)(a,function(a){return $.cs(a)});$.Qa(this.Zl);for(var b=this.Zl[0],c=1,d=1;d<this.Zl.length;d++){var e=this.Zl[d];e!=b&&(this.Zl[c++]=e);b=e}this.Zl.length=a.length?c:0;this.Hu=null;this.ta(2)}return this};$.g.get=function(){var a=this.Aj();return(0,$.Ye)(a,this.Xca,this)};$.g.Aj=function(){if(this.Zl)var a=this.Zl;else this.scale.ob(),a=this.Hu;return a||[]};
$.g.Xca=function(a){a=this.scale.transform(a);return!(0>a||1<a)};$.g.VA=function(a,b,c,d){this.Hu=null;if(!this.Zl){var e=[],f=this.vp,h=this.bn;f&&(d-c)/np(f)>this.scale.Mm()&&($.el(20,null,[d-c,np(f)]),f=null,this.bn=4);f||(f=Js(this,a,b,!0));a=new $.In(new Date(c));d=new $.In(new Date(d));for(b=0;0>=a.getTime()-d.getTime()&&b<this.scale.Mm();a.add(f),b++)e.push(a.getTime());this.Hu=e;this.bn=h;this.b=f}};
$.g.UA=function(a,b,c,d){this.Hu=null;var e=[a,b];if(!this.Zl){var f=[],h=this.vp,k=this.bn;h&&(b-a)/np(h)>this.scale.Mm()&&($.el(20,null,[b-a,np(h)]),h=null,this.bn=4);h||(h=Js(this,a,b,!1));var l=$.Lo(a,h,0),m=new $.In(new Date(l));c?e[0]=l:l<a&&m.add(h);a=new $.In(new Date(b));for(b=0;0>=m.getTime()-a.getTime()&&b<this.scale.Mm();m.add(h),b++)f.push(m.getTime());d&&(!f.length||f[f.length-1]<a.getTime())&&f.push(e[1]=m.getTime());this.Hu=f;this.bn=k;this.b=h}return e};
var jca=[1,2,5,10,20,50,100,200,500,1E3,2E3,5E3,1E4,2E4,3E4,6E4,12E4,3E5,6E5,12E5,18E5,36E5,72E5,108E5,216E5,288E5,432E5,576E5,864E5,1728E5,6048E5,864E6,12096E5,18144E5,24192E5,2628E6,5256E6,7884E6,10512E6,15768E6,31536E6,63072E6],hca=[new $.An(zn,.001),new $.An(zn,.001),new $.An(zn,.001),new $.An(zn,.005),new $.An(zn,.005),new $.An(zn,.01),new $.An(zn,.02),new $.An(zn,.04),new $.An(zn,.1),new $.An(zn,.2),new $.An(zn,.5),new $.An(zn,1),new $.An(zn,2),new $.An(zn,5),new $.An(zn,10),new $.An(zn,20),
new $.An(zn,30),new $.An(yn,1),new $.An(yn,1),new $.An(yn,5),new $.An(yn,10),new $.An(yn,20),new $.An(yn,30),new $.An(xn,1),new $.An(xn,2),new $.An(xn,2),new $.An(xn,3),new $.An(xn,4),new $.An(xn,8),new $.An(xn,12),new $.An(wn,1),new $.An(wn,2),new $.An(wn,7),new $.An(wn,7),new $.An(wn,7),new $.An(wn,7),new $.An(vn,1),new $.An(vn,1),new $.An(vn,1),new $.An(vn,2),new $.An(vn,4),new $.An(vn,6)],ica=[new $.An(zn,.001),new $.An(zn,.002),new $.An(zn,.005),new $.An(zn,.01),new $.An(zn,.02),new $.An(zn,
.05),new $.An(zn,.1),new $.An(zn,.2),new $.An(zn,.5),new $.An(zn,1),new $.An(zn,2),new $.An(zn,5),new $.An(zn,10),new $.An(zn,20),new $.An(zn,30),new $.An(yn,1),new $.An(yn,2),new $.An(yn,5),new $.An(yn,10),new $.An(yn,20),new $.An(yn,30),new $.An(xn,1),new $.An(xn,2),new $.An(xn,3),new $.An(xn,6),new $.An(xn,8),new $.An(xn,12),new $.An(xn,16),new $.An(wn,1),new $.An(wn,2),new $.An(wn,7),new $.An(wn,10),new $.An(wn,14),new $.An(wn,21),new $.An(wn,28),new $.An(vn,1),new $.An(vn,2),new $.An(vn,3),new $.An(vn,
4),new $.An(vn,6),new $.An(un,1),new $.An(un,2)];Is.prototype.F=function(){var a=Is.u.F.call(this);if(this.Zl){for(var b=[],c=0;c<this.Zl.length;c++)b.push(this.Zl[c].getTime());a.explicit=b}else this.vp?a.interval=Cn(this.vp):(0,window.isNaN)(this.bn)||(a.count=this.bn);return a};Is.prototype.Ce=function(a,b){return $.A(b)?(this.set(b),!0):!1};
Is.prototype.X=function(a,b){Is.u.X.call(this,a,b);$.A(a.explicit)?this.set(a.explicit):this.Zl=null;this.bn=Math.max(2,Math.ceil($.N(a.count)));this.vp=$.z(a.interval)?Bn(a.interval):null;this.Hu=null};var TE=Is.prototype;TE.interval=TE.R$;TE.count=TE.count;TE.set=TE.set;TE.get=TE.get;TE.getIntervalUnit=TE.RS;TE.getIntervalUnitCount=TE.SS;var Ss,Qs,Os,UE;$.H(Ks,$.Yq);$.g=Ks.prototype;$.g.qa=6;$.g.Qa=$.ia;$.g.rr=function(a,b,c){return this.transform(a,c)};$.g.iF=function(a){return a};$.g.HG=function(){return this.qB};$.g.gk=function(a){return $.wo(a)};$.g.Uf=function(a){return $.n(a)?(a=!!a,this.hD!=a&&(this.hD=a,this.pM(),this.ta(2)),this):this.hD};$.g.pM=function(){};$.g.tg=function(){this.Jr||this.mp();this.Jr++;return this};$.g.Cg=function(a){return(this.Jr=Math.max(this.Jr-1,0))?!0:this.XB(!!a)};$.g.Uu=function(){return!1};
$.g.LL=function(){return 0};$.g.WQ=!1;$.g.Um=function(a){return $.n(a)?(a=this.WQ?$.xk(iE,a,"none"):"none",this.RW!=a&&(this.RW=a,this.ta(6)),this):this.WQ?this.RW:"none"};$.g.Iw=function(a){return $.n(a)?(a=$.xk(xda,a,"direct"),this.QW!=a&&(this.QW=a,"none"!=this.Um()&&this.ta(6)),this):this.QW};$.g.UD=function(a){return Number(a)};$.g.F=function(){var a=Ks.u.F.call(this);a.type=this.Na();a.inverted=this.Uf();return a};$.g.X=function(a,b){Ks.u.X.call(this,a,b);this.Uf(a.inverted)};Qs=1;$.Ps=8;
UE={};UE.linear=Qs;UE.log=2;UE["date-time"]=4;UE.ordinal=$.Ps;UE["linear-color"]=32;UE["ordinal-color"]=16;Os=UE;var VE=Ks.prototype;VE.inverted=VE.Uf;VE.startAutoCalc=VE.tg;VE.finishAutoCalc=VE.Cg;$.H($.Ys,Ks);$.g=$.Ys.prototype;$.g.Mm=function(a){return $.n(a)?(a=$.O(a,1E3,!1),this.Jk!=a&&(this.Jk=a,this.Gc=!1,this.ta(2)),this):this.Jk};$.g.uh=function(a){if($.n(a)){a=$.N(a);var b=(0,window.isNaN)(a);if(b!=this.An||!b&&a!=this.min)this.An=b,this.min=a,this.Ps=window.NaN,this.Gc=!1,b&&this.ta(4),this.ta(2);return this}this.ob();return this.min};
$.g.Rh=function(a){if($.n(a)){a=$.N(a);var b=(0,window.isNaN)(a);if(b!=this.yn||!b&&a!=this.max)this.yn=b,this.max=a,this.tq=window.NaN,this.Gc=!1,b&&this.ta(4),this.ta(2);return this}this.ob();return this.max};$.g.RP=function(a){return $.n(a)?(a=!!a,this.OE!=a&&(this.OE=a,this.An&&(this.Gc=!1,this.ta(6))),this):this.OE};$.g.QP=function(a){return $.n(a)?(a=!!a,this.NE!=a&&(this.NE=a,this.yn&&(this.Gc=!1,this.ta(6))),this):this.NE};
$.g.aB=function(a){return $.n(a)?(a=$.N(a),(0,window.isNaN)(a)&&(0,window.isNaN)(this.Ps)||a==this.Ps||(this.Ps=a,this.min=window.NaN,this.An=!0,this.Gc=!1,this.ta(4)),this):this.Ps};$.g.$A=function(a){return $.n(a)?(a=$.N(a),(0,window.isNaN)(a)&&(0,window.isNaN)(this.tq)||a==this.tq||(this.tq=a,this.max=window.NaN,this.yn=!0,this.Gc=!1,this.ta(4)),this):this.tq};$.g.xs=function(a){return $.n(a)?(a=+a||0,this.QH!=a&&(this.QH=a,this.An&&(this.Gc=!1,this.ta(2))),this):this.QH};
$.g.vs=function(a){return $.n(a)?(a=+a||0,this.KH!=a&&(this.KH=a,this.yn&&(this.Gc=!1,this.ta(2))),this):this.KH};$.g.pM=function(){this.Gc=!1};$.g.mp=function(){this.kga=this.Fz;this.jga=this.Ez;this.Fz=window.Infinity;this.Ez=-window.Infinity;this.Gc=this.kW=!1};$.g.Uc=function(a){for(var b=0;b<arguments.length;b++){var c=+arguments[b];(0,window.isNaN)(c)&&(c=(0,window.parseFloat)(arguments[b]));(0,window.isNaN)(c)||(this.kW=!0,c<this.Fz&&(this.Fz=c,this.Gc=!1),c>this.Ez&&(this.Ez=c,this.Gc=!1))}return this};
$.g.XB=function(a){var b=this.kga!=this.Fz||this.jga!=this.Ez;b&&(this.Gc=!1,a||this.ta(2));return b};$.g.Hf=function(){return this.An||this.yn};$.g.transform=function(a){this.ob();return Number(this.wq.transform(a))};$.g.ob=function(){this.Gc||(this.Gc=!0,this.RR(),this.zI(),this.Dw())};$.g.zI=function(){};$.g.Dw=function(){this.wq||(this.wq=new Bs);var a=this.iJ*this.qB;a=[-a,this.qB-a];this.hD&&a.reverse();this.wq.qe(a)};
$.g.RR=function(){var a=!this.An;var b=!this.yn,c="percent"==this.Um();a&&this.Uc(this.min);b&&this.Uc(this.max);this.kW||(this.Fz=0,this.Ez=c?100:1);var d=a?this.min:this.Fz,e=b?this.max:this.Ez;!a&&d>=this.Ps&&(d=this.Ps,a=!0);!b&&e<=this.tq&&(e=this.tq,b=!0);if($.Tm(d,e,1E-6)){if(d==e)var f=.5;else{f=d.toExponential();var h=f.split("-");1==h.length&&(h=f.split("+"));f=+("1e-"+Math.max(+h[h.length-1]+1,5))}b?d-=2*f:a?e+=2*f:(d-=f,e+=f)}c&&(a=b=!0);a=this.nz(d,e,!a,!b,this.MI,!0);this.min=a.min;
this.max=a.max;this.kx=a.kx||0};$.g.nz=function(a,b,c,d,e,f){var h=b-a,k=h*this.QH;h*=this.KH;return{max:d?Zs(b,h,e,f,1):b,min:c?Zs(a,k,e,f,-1):a}};$.g.Fc=function(a){this.ob();return this.wq.Fc(a)};
$.g.F=function(){var a=$.Ys.u.F.call(this);a.maximum=this.yn?null:this.max;a.minimum=this.An?null:this.min;a.minimumGap=this.xs();a.maximumGap=this.vs();a.softMinimum=(0,window.isNaN)(this.Ps)?null:this.Ps;a.softMaximum=(0,window.isNaN)(this.tq)?null:this.tq;a.softMaximum=(0,window.isNaN)(this.tq)?null:this.tq;a.alignMinimum=this.OE;a.alignMaximum=this.NE;a.maxTicksCount=this.Jk;return a};
$.g.X=function(a,b){$.Ys.u.X.call(this,a,b);this.xs(a.minimumGap);this.vs(a.maximumGap);this.aB(a.softMinimum);this.$A(a.softMaximum);this.uh(a.minimum);this.Rh(a.maximum);this.RP(a.alignMinimum);this.QP(a.alignMaximum);this.Mm(a.maxTicksCount)};var WE=$.Ys.prototype;WE.maxTicksCount=WE.Mm;WE.minimum=WE.uh;WE.maximum=WE.Rh;WE.extendDataRange=WE.Uc;$.H($.$s,$.Ys);$.g=$.$s.prototype;$.g.gk=function(a){return!$.cs(a)};$.g.Na=function(){return"date-time"};$.g.Qa=function(a){this.jh||(this.jh=new Is(this),$.W(this,"ticks",this.jh),$.L(this.jh,this.Yh,this));return $.n(a)?(this.jh.K(a),this):this.jh};$.g.tb=function(a){this.li||(this.li=new Is(this),$.W(this,"minorTicks",this.li),$.L(this.li,this.Yh,this));return $.n(a)?(this.li.K(a),this):this.li};$.g.Uc=function(a){for(var b=0;b<arguments.length;b++)$.$s.u.Uc.call(this,us(arguments[b]));return this};
$.g.Dw=function(){$.$s.u.Dw.call(this);Cs(this.wq,[this.min,this.max]);Ds(this.wq,3)};$.g.zI=function(){var a=this.Qa().UA(this.min,this.max,this.An&&this.OE,this.yn&&this.NE);this.tb().VA(this.min,this.max,a[0],a[1]);this.An&&(this.min=a[0]);this.yn&&(this.max=a[1])};$.g.Yh=function(a){$.X(a,2)&&(this.Gc=!1,this.ta(2))};$.g.F=function(){var a=$.$s.u.F.call(this);a.ticks=this.Qa().F();a.minorTicks=this.tb().F();return a};$.g.X=function(a,b){$.$s.u.X.call(this,a,b);this.Qa(a.ticks);this.tb(a.minorTicks)};
$.g.R=function(){$.td(this.jh,this.li);this.li=this.jh=null;$.$s.u.R.call(this)};var XE=$.$s.prototype;$.F("anychart.scales.dateTime",$.Vs);XE.getType=XE.Na;XE.ticks=XE.Qa;XE.minorTicks=XE.tb;XE.transform=XE.transform;XE.inverseTransform=XE.Fc;XE.extendDataRange=XE.Uc;XE.softMinimum=XE.aB;XE.softMaximum=XE.$A;XE.alignMinimum=XE.RP;XE.alignMaximum=XE.QP;XE.minimumGap=XE.xs;XE.maximumGap=XE.vs;$.H(bt,$.Yq);bt.prototype.qa=2;var Lda=new $.An(0,0,1),kca=new $.An(0,0,0,1);$.g=bt.prototype;$.g.X3=function(a){if($.n(a)){if("array"===$.ka(a)){for(var b=[],c=0;7>c;c++){b:{var d=a[c];if("object"===$.ka(d)&&"from"in d&&"to"in d){var e=+d.from;d=+d.to;if(e<d&&0<=e&&24>e&&0<d&&24>=d){e={from:e,to:d};break b}}e=null}b.push(e)}a=b.length?b:null}else a=null;this.b=a;this.D={};this.j={};if(this.b)for(a=0;a<this.b.length;a++)this.b[a]||(this.j[String(a)]=!0);else this.j=at(this.G);this.ta(2);return this}return this.b};
$.g.dA=function(a){if($.n(a)){if("array"===$.ka(a)){for(var b=[],c=0;c<a.length;c++){b:{var d=a[c];if("object"===$.ka(d)&&"day"in d&&"month"in d){var e=+d.day,f=+d.month;if(!(0,window.isNaN)(e)&&0<=f&&12>f){e={day:e,month:f};"year"in d&&(f=+d.year,(0,window.isNaN)(f)||(e.year=f));"label"in d&&(e.label=String(d.label));d=e;break b}}d=null}d&&b.push(d)}a=b.length?b:null}else a=null;this.f=a;this.g={BX:{},yR:{}};this.D={};if(this.f)for(a=0;a<this.f.length;a++)c=this.f[a],b=c.year,c=($.n(b)?b+"-":"")+
String(c.month)+"-"+String(c.day),$.n(b)?this.g.yR[c]=!0:this.g.BX[c]=!0;this.ta(2);return this}return this.f};
$.g.PC=function(a,b){var c=$.Rk(a),d=$.Rk(b),e=[];if((0,window.isNaN)(c)||(0,window.isNaN)(d))return e;c=$.Mo(c,"day",1,c);c=new Date(c);c=new $.In(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate());for(var f=c.getTime();f<d;){c.add(Lda);var h=c.getTime();var k=h-1E3;var l=new Date(f);var m=l.getUTCFullYear(),p=l.getUTCMonth(),q=l.getUTCDate(),r=l.getUTCDay();l=($.n(m)?m+"-":"")+p+"-"+q;var t=this.D[l];if(!$.n(t)){var u=!!this.j[r];t={isHoliday:!(!this.g.BX[($.n(void 0)?"undefined-":"")+p+"-"+q]&&
!this.g.yR[l]),isWeekend:u,start:f,end:k,workingIntervals:[],notWorkingIntervals:[]};if(u)t.notWorkingIntervals.push({from:f,to:k});else if(f=t,k=r,this.b&&(m=new $.In(m,p,q),q=this.b[k]))p=q.from,q=q.to,k=m.getTime(),k=ct(k,m,p,f.notWorkingIntervals),k=ct(k,m,q-p,f.workingIntervals),ct(k,m,24-q,f.notWorkingIntervals);this.D[l]=t}l=t;e.push(l);f=h}return e};
$.g.F=function(){var a=bt.u.F.call(this);this.b&&!$.Jc(this.b)&&(a.schedule=JSON.parse(JSON.stringify(this.b)));this.f&&!$.Jc(this.f)&&(a.holidays=JSON.parse(JSON.stringify(this.f)));return a};$.g.X=function(a,b){bt.u.X.call(this,a,b);"schedule"in a&&this.X3(a.schedule);"holidays"in a&&this.dA(a.holidays)};var YE=bt.prototype;YE.schedule=YE.X3;YE.holidays=YE.dA;YE.getWorkingSchedule=YE.PC;$.H($.et,$.Yq);$.et.prototype.qa=6;var mca=200,lca=[[{unit:"minute",count:10},{unit:"hour",count:1},{unit:"day",count:1}],[{unit:"hour",count:2},{unit:"day",count:1},{unit:"month",count:1}],[{unit:"day",count:1},{unit:"week",count:1},{unit:"month",count:1}],[{unit:"month",count:1},{unit:"quarter",count:1},{unit:"year",count:1}],[{unit:"quarter",count:1},{unit:"year",count:1},{unit:"year",count:10}]];$.g=$.et.prototype;$.g.Na=function(){return"gantt"};$.g.dK=ba(7);
$.g.Dj=function(){return(0,window.isNaN)(this.Qe)&&(0,window.isNaN)(this.Pe)&&(0,window.isNaN)(this.Ch)&&(0,window.isNaN)(this.Bh)};$.g.reset=function(){this.Bh=this.Ch=this.oj=this.pj=this.Pe=this.Qe=window.NaN;this.Gc=!1};$.g.qr=function(a,b){a=$.Rk(a);b=$.Rk(b);this.Qe==a&&this.Pe==b||(0,window.isNaN)(b)||(0,window.isNaN)(a)||($.qt(this),this.Qe=a,this.Pe=b,this.Gc=!1,this.ob(),this.ta(4));return this};
$.g.Cm=function(){if(this.Dj())this.G2=!0;else{this.G2=!1;var a=this.Ll.isPixels,b=this.Kl.isPixels;a&&b?it(this):a?jt(this,!0):b?jt(this,!1):this.dj();this.Qe=this.pj;this.Pe=this.oj;this.Gc=!0;this.ta(4)}return this};$.g.Cr=function(a,b){var c=1/(a||1.25),d=$.n(b)?b:.5;$.qt(this);if(!this.Dj()){var e=this.Pe-this.Qe,f=this.Qe-Math.round(e*(c-1)*d);c=this.Pe+Math.round(e*(c-1)*(1-d));6E4>=Math.abs(f-c)&&(c=(this.Qe+this.Pe)/2,f=c-3E4,c+=3E4);this.qr(f,c)}return this};
$.g.Dr=function(a,b){var c=a||1.25,d=$.n(b)?b:.5;$.qt(this);if(!$.kt(this)||!$.lt(this)){var e=this.Qe-Math.round((this.Pe-this.Qe)*(c-1)*d);c=this.Pe+Math.round((this.Pe-this.Qe)*(c-1)*(1-d));this.dj();if($.pt(this)){d=this.Eq.lb().width;if(this.Ll.isPixels){var f=$.ht(this.Ll.value,d);this.pj=this.Ch-Math.round((f/d||0)*(c-e))}this.Kl.isPixels&&(f=$.ht(this.Kl.value,d),this.oj=this.Bh+Math.round((f/d||0)*(c-e)))}if(e<this.pj||c>this.oj){if(e<this.pj&&c>this.oj)return this.Cm(),this;e<this.pj&&this.qr(this.pj,
c+(this.pj-e));c>this.oj&&this.qr(e-(c-this.oj),this.oj)}else this.qr(e,c)}return this};
$.g.Ui=function(a,b,c){if($.pt(this)&&$.ea(a)&&$.ea(b)){c=this.Ll.isPixels;var d=this.Kl.isPixels;c&&d?it(this):c?jt(this,!0):d&&jt(this,!1);d=this.Bh-this.Ch;c=b-a;if(c>=this.oj-this.pj)this.Qe=this.pj,this.Pe=this.oj;else{this.Qe=Math.min(a,b);this.Pe=Math.max(a,b);var e=$.mt(this,d,this.Ll),f=$.mt(this,d,this.Kl);e=(0,window.isNaN)(this.Lm)?(0,window.isNaN)(this.vo)?this.Ch-e:Math.min(this.vo,this.Ch):this.Lm;f=(0,window.isNaN)(this.Km)?(0,window.isNaN)(this.uo)?this.Bh+f:Math.max(this.uo,this.Bh):
this.Km;a<e?(this.Qe=e,this.Pe=this.Qe+c):b>f&&(this.Pe=f,this.Qe=this.Pe-c)}this.pj=e;this.oj=f;this.Gc=!0;this.Dj()&&(this.YH=!0,this.VH=[a,b]);this.ta(4);a=this}else a:{this.ob();if($.z(a)){if(0===b){a=this;break a}f=$.xk(zda,c,$.n(void 0)?void 0:"first-visible-date");e=$.No($.Tk(a,"day"),b||1);switch(f){case "first-date":d=this.Ch;break;case "last-date":d=this.Bh;e=e.b(-1);break;case "last-visible-date":d=this.Pe;e=e.b(-1);break;case "first-visible-date":d=this.Qe}d=new $.In($.cs(d));f=$.Rk(d);
d.add(e);d=$.Rk(d);e=Math.min(f,d);d=Math.max(f,d);f=d-e}else e=a,d=b,$.n(b)?f=b-a:(f=this.Pe-this.Qe,d=a+f);var h=this.dj();f=Math.min(h.max-h.min,f);d>h.max&&(d=h.max,e=d-f);e<h.min&&(e=h.min,d=e+f);this.Dj()&&(this.YH=!0,this.VH=[a,b,c]);a=this.qr(e,d)}return a};$.g.Uu=function(){return!1};$.g.bA=function(a){$.X(a,2)&&this.ta(2)};$.g.cj=function(){this.ob();return this.Dj()?ft(this):{min:this.Qe,max:this.Pe}};
$.g.dj=function(){if((0,window.isNaN)(this.pj))if((0,window.isNaN)(this.Lm))if((0,window.isNaN)(this.vo)){var a=((0,window.isNaN)(this.Km)?(0,window.isNaN)(this.uo)?this.Bh:Math.max(this.Bh,this.uo):this.Km)-this.Ch;a=$.mt(this,a,this.Ll);this.pj=this.Ch-a}else this.pj=Math.min(this.vo,this.Ch);else this.pj=this.Lm;(0,window.isNaN)(this.oj)&&((0,window.isNaN)(this.Km)?(0,window.isNaN)(this.uo)?(a=this.Bh-((0,window.isNaN)(this.Lm)?(0,window.isNaN)(this.vo)?this.Ch:Math.min(this.Ch,this.vo):this.Lm),
a=$.mt(this,a,this.Kl),this.oj=this.Bh+a):this.oj=Math.max(this.uo,this.Bh):this.oj=this.Km);return this.Dj()?ft(this):{min:this.pj,max:this.oj}};$.g.uh=function(a){$.n(a)&&(a=$.Rk(a),this.Lm!=a&&(this.Lm=a,this.pj=window.NaN,this.Gc=!1,this.ta(4)));return this.Lm};$.g.Rh=function(a){$.n(a)&&(a=$.Rk(a),this.Km!=a&&(this.Km=a,this.oj=window.NaN,this.Gc=!1,this.ta(4)));return this.Km};$.g.aB=function(a){$.n(a)&&(a=$.Rk(a),this.vo!=a&&(this.vo=a,this.pj=window.NaN,this.Gc=!1,this.ta(4)));return this.vo};
$.g.$A=function(a){$.n(a)&&(a=$.Rk(a),this.uo!=a&&(this.uo=a,this.oj=window.NaN,this.Gc=!1,this.ta(4)));return this.uo};$.g.wS=function(a){return $.n(a)?(a=$.Za(a,1,12),this.Pz!=a&&(this.Pz=a,this.Gc=!1,this.ta(4)),this):this.Pz};$.g.vS=function(a){return $.n(a)?(a=+a,(0,window.isNaN)(a)||this.hG==a||(this.hG=a,this.Gc=!1,this.ta(4)),this):this.hG};$.g.transform=function(a){return $.rt(this,a)};$.g.Fc=function(a){return $.st(this,a)};
$.g.Yy=function(a){return $.n(a)?(a=dt(a),a.length==this.ad.length&&(0,$.RC)(a,function(a,c){var b=this.ad[c].levels;return a.levels.length==b.length&&(0,$.RC)(a.levels,function(a,c){return a.unit==b[c].unit&&a.count==b[c].count})},this)||(this.ad=a,this.Gc=!1,this.ta(516)),this):(0,$.Wa)(this.ad,function(a){return(0,$.Wa)(a.levels,function(a){return{unit:a.unit,count:a.count}})})};$.g.Mm=function(a){return $.n(a)?(a=$.O(a,1E3,!1),this.Jk!=a&&(this.Jk=a,this.Gc=!1,this.ta(516)),this):this.Jk};
$.g.calendar=function(a){if($.n(a))return this.be!=a&&(this.be&&$.Zq(this.be,this.bA,this),(this.be=a)&&$.L(this.be,this.bA,this),this.ta(2)),this;this.be||(this.be=new bt,$.L(this.be,this.bA,this),this.ta(2));return this.be};$.g.xs=function(a,b){if($.n(a)){var c=nt(a,b);ot(this.Ll,c)||(this.Ll=c,this.pj=window.NaN,this.Gc=!1,this.ta(4));return this}return this.Ll.isPixels?this.Ll:this.Ll.value};
$.g.vs=function(a,b){if($.n(a)){var c=nt(a,b);ot(this.Kl,c)||(this.Kl=c,this.oj=window.NaN,this.Gc=!1,this.ta(4));return this}return this.Kl.isPixels?this.Kl:this.Kl.value};
$.g.ob=function(){if(!this.Gc&&!this.Dj()){this.Gc=!0;var a=this.dj(),b=a.min;a=a.max;(0,window.isNaN)(b)?(0,window.isNaN)(this.Qe)||(this.Ch=this.Qe):(0,window.isNaN)(this.Qe)?this.Qe=b:this.Qe=Math.max(this.Qe,b);(0,window.isNaN)(a)?(0,window.isNaN)(this.Pe)||(this.Bh=this.Pe):(0,window.isNaN)(this.Pe)?this.Pe=a:this.Pe=Math.min(this.Pe,a);if(this.Qe>this.Pe){var c=this.Qe-this.Pe;this.Qe=Math.max(this.Pe,b);this.Pe=Math.min(this.Qe+c,a)}}};
$.g.rn=function(a,b,c,d,e){a=e||this.cj();e=c;b=this.cj();c=b.min;var f=b.max;b=new $.In(new Date(c));c=f-c;do{f=$.No(e,d);var h=b.clone();b.add(f);f=Math.ceil(c/(b.getTime()-h.getTime()));if(f>this.Jk)switch(e){case "millisecond":e="second";d=1;break;case "second":59>d?d++:(d=1,e="minute");break;case "minute":59>d?d++:(d=1,e="hour");break;case "hour":23>d?d++:(d=1,e="day");break;case "day":29>d?d++:(d=1,e="month");break;case "month":11>d?d++:(d=1,e="year");break;default:d++}}while(f>this.Jk);c=e;
b=$.Mo(a.min,c,d,2E3);e=$.No(c,d);a=a.max;d=[];if(1<this.Pz&&("year"===c||"semester"===c||"quarter"===c)){if(c=this.Pz,1<c?(f=new Date(b),c=Date.UTC(f.getUTCFullYear(),f.getUTCMonth()+c-1,f.getUTCDate(),f.getUTCHours(),f.getUTCMinutes(),f.getUTCSeconds(),f.getUTCMilliseconds())):c=b,c>b){f=e.b(-1);var k=new $.In(new Date(c));do k.add(f),c=k.getTime();while(c>b)}}else k=new $.In(new Date(b));for(c=k.getTime();c<a;)b=c,k.add(e),c=k.getTime(),d.push({start:b,end:c});return d};
$.g.PC=function(){if(this.be){this.ob();var a=this.cj();return this.be.PC(a.min,a.max)}return[]};
$.g.F=function(){var a=$.et.u.F.call(this);(0,window.isNaN)(this.Qe)||(a.visibleMinimum=this.Qe);(0,window.isNaN)(this.Pe)||(a.visibleMaximum=this.Pe);(0,window.isNaN)(this.Lm)||(a.minimum=this.Lm);(0,window.isNaN)(this.Km)||(a.maximum=this.Km);(0,window.isNaN)(this.vo)||(a.softMinimum=this.vo);(0,window.isNaN)(this.uo)||(a.softMaximum=this.uo);(0,window.isNaN)(this.Ch)||(a.dataMinimum=this.Ch);(0,window.isNaN)(this.Bh)||(a.dataMaximum=this.Bh);a.minimumGap=this.Ll;a.maximumGap=this.Kl;a.maxTicksCount=
this.Jk;a.zoomLevels=this.Yy();1<this.Pz&&(a.fiscalYearStartMonth=this.Pz);this.hG&&(a.fiscalYearOffset=this.hG);if(this.be){var b=this.be.F();$.Jc(b)||(a.calendar=b)}return a};
$.g.X=function(a,b){$.et.u.X.call(this,a,b);this.xs(a.minimumGap);this.vs(a.maximumGap);"minimum"in a&&this.uh(a.minimum);"maximum"in a&&this.Rh(a.maximum);"softMinimum"in a&&this.aB(a.softMinimum);"softMaximum"in a&&this.$A(a.softMaximum);var c=!1;"dataMinimum"in a&&(this.Ch=a.dataMinimum,c=!0);"dataMaximum"in a&&(this.Bh=a.dataMaximum,c=!0);"visibleMinimum"in a&&(this.Qe=a.visibleMinimum,c=!0);"visibleMaximum"in a&&(this.Pe=a.visibleMaximum,c=!0);"zoomLevels"in a&&this.Yy(a.zoomLevels);"fiscalYearStartMonth"in
a&&this.wS(a.fiscalYearStartMonth);"fiscalYearOffset"in a&&this.vS(a.fiscalYearOffset);"maxTicksCount"in a&&this.Mm(a.maxTicksCount);"calendar"in a&&this.calendar().X(a.calendar);c&&(this.Gc=!1,this.ob(),this.ta(4))};var ZE=$.et.prototype;ZE.getRange=ZE.cj;ZE.getTotalRange=ZE.dj;ZE.minimum=ZE.uh;ZE.maximum=ZE.Rh;ZE.softMinimum=ZE.aB;ZE.softMaximum=ZE.$A;ZE.minimumGap=ZE.xs;ZE.maximumGap=ZE.vs;ZE.fiscalYearStartMonth=ZE.wS;ZE.fiscalYearOffset=ZE.vS;ZE.transform=ZE.transform;ZE.inverseTransform=ZE.Fc;
ZE.zoomLevels=ZE.Yy;ZE.maxTicksCount=ZE.Mm;ZE.calendar=ZE.calendar;$.H($.ut,$.Yq);$.g=$.ut.prototype;$.g.qa=2;$.g.tl=window.NaN;$.g.Yg=4;$.g.$l=6;$.g.sl=null;$.g.rl=null;$.g.Rc=0;$.g.pm="linear";$.g.yY=function(a){return $.n(a)?(this.b!=a&&(this.b=a,"logarithmic"!=this.pm&&this.ta(2)),this):this.b};$.g.T$=function(a){return $.n(a)?(this.tl!=a&&(a=$.N(a),0>=a?(this.Yg=4,this.$l=6,this.tl=window.NaN):(this.$l=this.Yg=window.NaN,this.tl=+a),this.rl=this.sl=null,this.ta(2)),this):this.tl};
$.g.count=function(a,b){return $.n(a)?(this.Yg!=a&&(this.tl=window.NaN,this.Yg=Math.ceil($.N(a)),this.$l=Math.ceil($.N(b)),2<=this.Yg||(this.Yg=4),this.$l>=this.Yg||(this.$l=this.Yg),this.rl=this.sl=null,this.ta(2)),this):[this.Yg,this.$l]};$.g.vE=ba(9);$.g.nF=function(a){return $.n(a)?(a=+a||0,this.Rc!=a&&(this.Rc=a,this.rl=null,this.sl||this.ta(2)),this):this.Rc};
$.g.set=function(a){$.Ta(this.sl,a)||(this.tl=this.$l=this.Yg=window.NaN,this.sl=$.Ja(a,0),$.Ka(this.sl),$.Qa(this.sl,$.jo),this.rl=null,this.ta(2));return this};$.g.get=function(){var a=this.Aj();return(0,$.Ye)(a,function(a){a=this.transform(a);return 0<=a&&1>=a},this.na)};$.g.Aj=function(){if(this.sl)var a=this.sl;else this.na.ob(),a=this.rl;return a||[]};
$.g.mode=function(a){return $.n(a)?(a=String(a).toLowerCase(),a="log"==a||"logarithmic"==a?"logarithmic":"linear",this.pm!=a&&(this.rl=null,this.pm=a,this.sl||this.ta(2)),this):this.pm};$.g.UA=function(a,b,c,d,e,f){this.sl?(this.rl=null,e=[a,b],c&&(e[0]=Math.min(a,this.sl[0]||0)),d&&(e[1]=Math.max(b,this.sl[this.sl.length-1]||0))):(a="logarithmic"==this.pm?nca(this,a,b,e||10,f||0,!!c,!!d):vt(this,a,b,!!c,!!d,this.b,this.Rc),this.rl=a.Qa,e=a.result);return e};
$.g.VA=function(a,b,c,d,e){if(this.sl)this.rl=null;else if(this.rl?this.rl.length=0:this.rl=[],!(2>a.length)){b=b||10;var f="logarithmic"==this.pm,h=f?this.c9:this.S$,k=a.length-1,l=this.tl,m=this.Yg;if(!(0,window.isNaN)(this.tl)){var p=a[k];var q=a[0];f&&(q=$.Um(q,b),p=$.Um(p,b));(p-q)/this.tl>this.na.Mm()&&($.el(20,null,[p-q,this.tl]),this.tl=window.NaN,this.Yg=4)}$.n(c)?(q=a[0],p=a[1],h.call(this,q,p,c,p,this.Yg,b,e||0,!0),q=1):q=0;$.n(d)&&k--;for(c=q;c<=k-1;c++)q=a[c],p=a[c+1],h.call(this,q,p,
q,p,this.Yg,b,e||0);$.n(d)&&(q=a[k],p=a[k+1],h.call(this,q,p,q,d,this.Yg,b,e||0));this.tl=l;this.Yg=m}};$.g.S$=function(a,b,c,d,e,f,h,k){wt(this,a,b,xt(this,c,d,e),this.rl[this.rl.length-1],this.rl,k)};
$.g.c9=function(a,b,c,d,e,f,h){function k(a){return 0>a?-m(-a+h-1):a?m(a+h-1):0}function l(a){return-m(a)}function m(a){return Vm(f,a)}var p=$.Um(Math.abs(c),f),q=$.Um(Math.abs(d),f),r=$.Um(Math.abs(a),f),t=$.Um(Math.abs(b),f);d*=c;c=!1;0<d?0<a?k=m:(a=q,q=p,p=a,a=t,t=r,r=a,k=l,c=!0):(r=-(r-h+1),t-=h-1,p=-(p-h+1),q-=h-1,d||(b?r=p=0:t=q=0));e=wt(this,r,t,xt(this,p,q,e),window.NaN);e=(0,$.Wa)(e,k);c&&e.reverse();this.rl[this.rl.length-1]==e[0]&&e.shift();this.rl=$.Ga(this.rl,e)};
$.g.F=function(){var a=$.ut.u.F.call(this);a.mode=this.pm;a.base=this.Rc;a.allowFractional=this.b;this.sl?a.explicit=this.sl:(this.Yg==this.$l?(0,window.isNaN)(this.Yg)||(a.count=this.Yg):((0,window.isNaN)(this.Yg)||(a.minCount=this.Yg),(0,window.isNaN)(this.$l)||(a.maxCount=this.$l)),(0,window.isNaN)(this.tl)||(a.interval=this.tl));return a};$.g.Ce=function(a,b){return $.A(b)?(this.set(b),!0):!1};
$.g.X=function(a,b){$.ut.u.X.call(this,a,b);this.mode(a.mode);this.nF(a.base);this.sl=a.explicit||null;this.Yg=$.N(a.count)||$.N(a.minCount)||window.NaN;this.$l=$.N(a.count)||$.N(a.maxCount)||window.NaN;this.tl=$.N(a.interval)||window.NaN;this.yY(a.allowFractional);this.sl?this.Yg=this.$l=this.tl=window.NaN:this.tl?this.Yg=this.$l=window.NaN:(this.Yg=Math.ceil($.N(this.Yg)),this.$l=Math.ceil($.N(this.$l)),2<=this.Yg||(this.Yg=4),this.$l>=this.Yg||(this.$l=this.Yg))};var $E=$.ut.prototype;
$E.interval=$E.T$;$E.allowFractional=$E.yY;$E.count=$E.count;$E.base=$E.nF;$E.set=$E.set;$E.get=$E.get;$E.mode=$E.mode;$.H($.yt,$.Ys);$.g=$.yt.prototype;$.g.pK="none";$.g.fR="first-visible";$.g.Na=function(){return"linear"};$.g.UD=function(a,b){for(var c=this.Qa().Aj(),d=0,e=0;e<c.length-1;e++)d=Math.max(d,$.Rm($.Sm(c[e+1]-c[e])));return $.Qm(Number(a),d+((0,window.isNaN)(b)?0:Number(b)))};$.g.Qa=function(a){this.jh||(this.jh=this.Xk(),$.W(this,"ticks",this.jh));return $.n(a)?(this.jh.K(a),this):this.jh};
$.g.tb=function(a){this.li||(this.li=this.Xk(),$.W(this,"minorTicks",this.li),$.V(this.li),this.li.count(5),this.li.da(!1));return $.n(a)?(this.li.K(a),this):this.li};$.g.ZW=function(a){return $.n(a)?(a=!!a,a!=this.MI&&(this.MI=a,this.An||this.yn)&&(this.Gc=!1,this.ta(4)),this):this.MI};$.g.Dw=function(){$.yt.u.Dw.call(this);Cs(this.wq,[this.min,this.max])};
$.g.zI=function(){var a=this.An&&this.min!=this.Ps&&this.OE,b=this.yn&&this.max!=this.tq&&this.NE;a=this.Qa().UA(this.min,this.max,a,b,this.Zv,this.kx||0);(0,window.isNaN)(a[4])||(this.kx=a[4]);this.An&&(this.min=a[0]);this.yn&&(this.max=a[1]);b=this.tb();var c=this.Qa().Aj();b.VA(c,this.Zv,a[2],a[3],this.kx)};$.g.Yh=function(a){$.X(a,2)&&(this.Gc=!1,this.ta(2))};$.g.Xk=function(){var a=new $.ut(this);$.L(a,this.Yh,this);return a};
$.g.wz=function(a){if($.n(a)){a=$.xk(iE,a,"none");if(this.pK!=a){this.pK=a;switch(this.pK){case "none":this.VJ=this.l2;break;case "value":this.VJ=this.o2;break;case "percent":this.VJ=this.m2}this.ta(6)}return this}return this.pK};$.g.d_=function(a){return $.n(a)?(a=$.Sk(a),this.fR!=a&&(this.fR=a,this.ta(6)),this):this.fR};$.g.iF=function(a,b){return this.VJ(a,b)};$.g.l2=function(a){return a};$.g.o2=function(a,b){return $.N(a)-b};$.g.m2=function(a,b){return($.N(a)-b)/Math.abs(b||window.NaN)*100};
$.g.F=function(){var a=$.yt.u.F.call(this);a.ticks=this.Qa().F();a.minorTicks=this.tb().F();a.stackMode=this.Um();a.stackDirection=this.Iw();a.stickToZero=this.ZW();a.comparisonMode=this.wz();return a};$.g.X=function(a,b){$.yt.u.X.call(this,a,b);this.Qa(a.ticks);this.tb(a.minorTicks);this.Um(a.stackMode);this.Iw(a.stackDirection);this.ZW(a.stickToZero);this.wz(a.comparisonMode)};$.g.R=function(){$.td(this.jh,this.li);this.li=this.jh=null;$.yt.u.R.call(this)};var aF=$.yt.prototype;
$.F("anychart.scales.linear",$.Ts);aF.transform=aF.transform;aF.inverseTransform=aF.Fc;aF.getType=aF.Na;aF.ticks=aF.Qa;aF.minorTicks=aF.tb;aF.stackMode=aF.Um;aF.stackDirection=aF.Iw;aF.stickToZero=aF.ZW;aF.softMinimum=aF.aB;aF.softMaximum=aF.$A;aF.alignMinimum=aF.RP;aF.alignMaximum=aF.QP;aF.minimumGap=aF.xs;aF.maximumGap=aF.vs;aF.comparisonMode=aF.wz;aF.compareWith=aF.d_;$.H(zt,$.yt);$.g=zt.prototype;$.g.zH=function(a){return $.n(a)?(a=(0,window.isNaN)(+a)?this.Zv:+a,a!=this.Zv&&(this.Zv=a,this.ta(2)),this):this.Zv};$.g.Na=function(){return"log"};
$.g.Dw=function(){zt.u.Dw.call(this);var a=this.min,b=this.max,c=this.zH(),d=$.Sm($.Um(Math.abs(a),c),6),e=$.Sm($.Um(Math.abs(b),c),6);var f=a*b;var h=this.kx;c=Vm(c,h);0<f?(f=Es[As](d,e),0>b?(a=[a,-c,c,-a],d=[0,f(h),f(h-2),f(h-2-d)]):(a=[-b,-c,c,b],d=[f(h-2-e),f(h-2),f(h),1])):0>f?(e=e-h+d-h+2,a=[a,-c,c,b],d=[0,(d-h)/e,(d-h+2)/e,1]):(e=e-h+d-h+1,b?(a=[-b,-c,c,b],d=[-(e+1)/e,-1/e,1/e,1]):(a=[a,-c,c,-a],d=[0,(e-1)/e,(e+1)/e,(e+e+1)/e]));h=this.wq.qe();f=Fs[As](h[0],h[1]);d=(0,$.Wa)(d,function(a){return $.Sm(a)});
Cs(this.wq,a);this.wq.qe((0,$.Wa)(d,f));Ds(this.wq,[2,As,2])};
$.g.nz=function(a,b,c,d,e,f){e=this.zH();var h=$.Um(Math.abs(a),e),k=$.Um(Math.abs(b),e),l=Math.min(Math.floor(h),Math.floor(k),0);if(c||d){var m=a*b;0<m?0<a?c=zt.u.nz.call(this,h,k,c,d,!1,!1):(c=zt.u.nz.call(this,k,h,d,c,!1,!1),d=c.max,c.max=c.min,c.min=d):0>m?(2>k-l+h-l&&l--,c=zt.u.nz.call(this,-(h-(l-1)),k-(l-1),c,d,!1,!1),c.min=-c.min+l-1,c.max+=l-1):b?(c=zt.u.nz.call(this,0,k-(l-1),!1,d,!1,!1),c.max+=l-1):(c=zt.u.nz.call(this,-(h-(l-1)),0,c,!1,!1,!1),c.min=-c.min+l-1);c={max:Vm(e,c.max)*$.fb(b),
min:Vm(e,c.min)*$.fb(a),kx:l};f&&(c.min=$.Sm(c.min),c.max=$.Sm(c.max))}else c={min:a,max:b,kx:l};return c};$.g.F=function(){var a=zt.u.F.call(this);a.logBase=this.zH();return a};$.g.X=function(a,b){zt.u.X.call(this,a,b);this.zH(a.logBase)};var bF=zt.prototype;$.F("anychart.scales.log",$.Us);bF.getType=bF.Na;bF.transform=bF.transform;bF.inverseTransform=bF.Fc;bF.logBase=bF.zH;$.H($.At,$.Yq);$.g=$.At.prototype;$.g.qa=2;$.g.dx=window.NaN;$.g.Bf=null;$.g.jz=null;$.g.Rp=null;$.g.bx=null;$.g.uk=null;$.g.kz=100;$.g.LJ=function(a){return $.n(a)?(a=$.O(a,window.NaN),(0,window.isNaN)(a)||this.dx==a||(this.dx=a,this.kz=window.NaN,this.uk=this.bx=this.Rp=this.jz=null,this.ta(2)),this):this.dx};$.g.UU=function(a){return $.n(a)?(a=$.O(a,window.NaN),(0,window.isNaN)(a)||this.kz==a||(this.kz=a,this.dx=window.NaN,this.uk=this.bx=this.Rp=this.jz=null,this.ta(2)),this):this.kz};
$.g.set=function(a){$.Ta(this.Rp,a)||(this.Rp=$.Ha(a),this.Rp=(0,$.Wa)(this.Rp,function(a){return $.N(a)}),$.Qa(this.Rp),$.Ka(this.Rp),this.Rp[0]=0,this.uk=this.bx=this.jz=null,this.ta(2));return this};
$.g.names=function(a){if($.n(a))return this.Bf!=a&&(this.Bf=a,this.ta(2)),this;a=this.Aj();var b;if(this.Bf&&this.Bf.length<a.length||!this.uk){var c=this.scale.names();this.uk=[];for(b=0;b<a.length;b++){var d=$.A(a[b])?a[b][0]:a[b];var e=this.scale.Mx(d);(0,window.isNaN)(e)?this.uk.push(d):this.uk.push(c[e])}}if(this.Bf)for(;this.Bf.length<a.length;)this.Bf.push(this.uk[this.Bf.length]);d=this.Bf||this.uk;c=Math.min(d.length,a.length);e=[];for(b=0;b<c;b++){var f=a[b];if($.A(f)){var h=f[0];f=f[1]}else h=
f;h=this.scale.transform(h,0);f=this.scale.transform(f,1);0>h&&0>f||1<h&&1<f||e.push(d[b])}return e};$.g.get=function(){return(0,$.Ye)(this.Aj(),function(a){if($.A(a)){var b=a[0];a=a[1]}else b=a;b=this.transform(b,0);a=this.transform(a,1);return!(0>b&&0>a||1<b&&1<a)},this.scale)};$.g.Aj=function(){if(this.jz)return this.jz;if(this.Rp)return this.jz=this.PU(this.Rp);this.bx||(this.bx=this.PU(this.RZ()));return this.bx||[]};
$.g.RZ=function(){var a=this.scale.values().length;var b=(0,window.isNaN)(this.dx)?Math.ceil(a/this.kz)||1:this.dx;for(var c=[],d=0;d<a;d+=b)c.push(d);return c};$.g.PU=function(a){var b=a.length||0,c=this.scale.values(),d=c.length;if(!b||!d)return[];for(var e=[],f=!1,h=0;h<b&&!f;h++){var k=a[h],l=a[h+1];(0,window.isNaN)(l)||l>=d?(l=d-1,f=!0):l--;e.push(k==l?c[k]:[c[k],c[l]])}return e};$.g.vE=ba(8);
$.g.F=function(){var a=$.At.u.F.call(this);this.Rp?a.explicit=this.Rp:(0,window.isNaN)(this.kz)?(0,window.isNaN)(this.dx)||(a.interval=this.dx):a.maxCount=this.kz;this.Bf&&(a.names=this.Bf);return a};$.g.Ce=function(a,b){return $.A(b)?(this.set(b),!0):!1};$.g.X=function(a,b){$.At.u.X.call(this,a,b);"explicit"in a&&a.explicit?this.set(a.explicit):"interval"in a?this.LJ(a.interval):"maxCount"in a&&this.UU(a.maxCount);this.Bf=a.names||null;this.uk=this.bx=null};var cF=$.At.prototype;cF.interval=cF.LJ;
cF.maxCount=cF.UU;cF.set=cF.set;cF.get=cF.get;cF.names=cF.names;$.H($.Ct,Ks);$.g=$.Ct.prototype;$.g.Na=function(){return"ordinal"};$.g.gk=function(a){return!$.n(a)};$.g.Qa=function(a){this.hb||(this.hb=new $.At(this),$.W(this,"ticks",this.hb),$.L(this.hb,this.Yh,this));return $.n(a)?(this.hb.K(a),this):this.hb};$.g.values=function(a,b){if(!$.n(a))return this.Vg;if(null===a)this.kF||(this.kF=!0,this.ta(4));else{this.kF=!1;var c=$.A(a);this.mp();c&&a.length?this.Uc.apply(this,a):this.Uc.apply(this,arguments);this.XB(!0)&&this.ta(6)}return this};
$.g.names=function(a){if($.n(a)){if(null===a)this.Bf=[];else if($.A(a))this.Bf=$.Ha(a);else{if(!$.z(a)||this.Bf==a)return this;this.Bf=a}this.Dn=null;$.Bt(this.Qa());this.ta(2);return this}if($.A(this.Bf)){this.Dn||(this.Dn=$.Ha(this.Bf));if(this.Dn.length<this.Vg.length)for(;this.Dn.length!=this.Vg.length;)this.Dn.push(this.Vg[this.Dn.length]);return this.Dn}return this.uk||[]};$.g.Uu=function(){if(!this.vr.length)return!1;for(var a=1;a<this.vr.length&&this.vr[a]==this.vr[0];a++);return a!=this.vr.length};
$.g.sX=function(a){if($.n(a))return $.Dt(this,a),this.LQ=!this.vr.length,this;if(this.vw.length!=this.Vg.length){for(var b=a=this.vw.length=0,c=Math.min(this.vr.length,this.Vg.length),d=!1,e=0;e<c;e++){var f=$.N(this.vr[e]);0<=f?(a+=f,b++,this.vw.push(f)):(d=!0,this.vw.push(void 0))}if(c<this.Vg.length||d)for(a=0<b?a/b:1,b=0;b<this.Vg.length;b++)this.vw[b]||(this.vw[b]=a)}return this.vw};$.g.Mx=function(a){a=+this.nB[$.ko(a)];return(0,window.isNaN)(a)?window.NaN:a};
$.g.mp=function(){this.M2=this.Vg;this.Vg=[];this.nB={};this.Dn=this.uk=null;this.vw.length=0;this.Ry.length=0;this.hb&&$.Bt(this.hb)};$.g.XB=function(a){var b=!$.Ta(this.M2,this.Vg);b&&(this.hb&&$.Bt(this.hb),a||this.ta(2));return b};$.g.Uc=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b],d=$.ko(c);$.n(this.nB[d])||(this.nB[d]=this.Vg.length,this.Vg.push(c))}return this};$.g.Hf=function(){return this.kF};$.g.LL=function(){return 1/this.Vg.length*this.HG()};
$.g.mode=function(a){return $.n(a)?(a=$.xk(Ida,a,"discrete"),this.pm!=a&&(this.pm=a,this.ta(6)),this):this.pm};$.g.transform=function(a,b){var c=this.Mx(a);if((0,window.isNaN)(c))return window.NaN;if(this.Uu())c=(b||0)*$.Et(this)[c]+this.eJ[c];else{var d=this.Vg.length;c=c/d+(b||0)/d;"continuous"===this.pm&&(c=$.Za((c*d-.5)/(d-1),0,1))}d=(c-this.iJ)*this.qB;return this.hD?1-d:d};
$.g.Fc=function(a){a=Ms(this,a);if(this.Uu()){$.Et(this);for(var b=1;b<this.eJ.length&&!(a<=this.eJ[b]);b++);a=b-1}else"continuous"===this.pm&&(b=this.Vg.length,a=(a*(b-1)+.5)/b),a=$.Za(Math.ceil(a*this.Vg.length)-1,0,this.Vg.length-1);return this.Vg[a]};$.g.Yh=function(a){$.X(a,2)&&this.ta(2)};$.g.F=function(){var a=$.Ct.u.F.call(this);this.kF||(a.values=this.values());a.ticks=this.Qa().F();this.Bf.length&&(a.names=this.Bf);!this.LQ&&this.Uu()&&(a.weights=this.vr);a.mode=this.pm;return a};
$.g.X=function(a,b){$.Ct.u.X.call(this,a,b);this.values(a.values);this.Qa(a.ticks);this.names(a.names);this.sX(a.weights);this.mode(a.mode)};$.g.R=function(){$.qd(this.hb);$.Ct.u.R.call(this)};var dF=$.Ct.prototype;$.F("anychart.scales.ordinal",$.Ws);dF.getType=dF.Na;dF.transform=dF.transform;dF.inverseTransform=dF.Fc;dF.ticks=dF.Qa;dF.values=dF.values;dF.names=dF.names;dF.extendDataRange=dF.Uc;dF.weights=dF.sX;$.g=Gt.prototype;$.g.mapping=function(a){if($.n(a)){if($.D(a)){this.Zc.length=0;for(var b in a){var c=a[b];$.ea(c)&&(this.Zc[c]=b)}}return this}return this.Zc};$.g.getData=function(){return this.oa};$.g.rw=function(){this.oa.push(this.f);this.f={};this.b=!1};$.g.OV=function(a,b){var c=this.Zc[a];c=$.n(c)?c:"column"+a;null===b||(this.f[c]=b);this.b=!0};$.g.start=function(){this.oa=[];this.f={};this.b=!1};$.g.Ed=$.ia;$.g.EJ=function(){this.b&&this.rw()};$.g=Ht.prototype;$.g.A_=function(){return!0};$.g.D_=function(){return!0};$.g.reset=function(){this.f.length=1;this.f[0]=-1;this.b=void 0;this.j=-1;return this};$.g.current=function(){return this.b};$.g.rda=function(){return this.j};$.g.get=function(a){if(this.b)return this.b.get(a)};$.g.set=function(a,b){this.b&&this.b.set(a,b);return this};$.g.o=function(a,b){return 1<arguments.length?(this.b&&this.b.o(a)!=b&&this.b.o(a,b),this):this.b?this.b.o(a):void 0};
$.g.YM=function(a){return $.n(a)?($.E(a)?this.D=a:this.D=this.A_,this):this.D};$.g.j5=function(a){return $.n(a)?($.E(a)?this.g=a:this.g=this.D_,this):this.g};$.g.advance=function(){var a=It(this,Jt(this));a&&(this.b=a);return!!a};$.g.LB=function(){this.reset();for(var a=[];this.advance();)a.push(this.current());return a};var eF=Ht.prototype;eF.reset=eF.reset;eF.current=eF.current;eF.get=eF.get;eF.set=eF.set;eF.meta=eF.o;eF.getDepth=eF.rda;eF.advance=eF.advance;eF.toArray=eF.LB;
eF.nodeYieldCondition=eF.YM;eF.traverseChildrenCondition=eF.j5;$.H($.Kt,$.Yq);$.g=$.Kt.prototype;$.g.qa=$.Yq.prototype.qa|48;$.g.iN=function(a){var b={};$.Sc(b,a);b.dataItem&&$.K(b.dataItem,$.Qt)&&(b.dataItem=$t(b.dataItem,this));this.dispatchEvent(b)};$.g.Uga=function(a){this.ta(a.f)};$.g.Uq=function(){return this.Zc};$.g.Av=function(){return new Ht(this)};$.g.search=function(a,b,c){a=this.op(a,b,c);return a.length?1==a.length?a[0]:a:null};$.g.op=function(a,b,c){a=this.Zc[a]||a;a=this.yd.op(a,b,c);b=[];for(c=0;c<a.length;c++)b.push($t(a[c],this));return b};
$.g.filter=function(a){var b=this.Av();b.YM(a);return b.LB()};$.g.Fr=function(a,b,c){this.yd.Fr(a,b,c);return this};$.g.fc=function(a){return this.og(a,this.Zb())};$.g.og=function(a,b){this.yd.og(a,b);return this.od(b)};$.g.removeChild=function(a){return this.jj(this.pf(a))};$.g.jj=function(a){return(a=this.yd.jj(a))?$t(a,this):null};$.g.Ki=function(){this.yd.Ki();return this};$.g.pf=function(a){return this.yd.pf(a)};
$.g.Al=function(){for(var a,b=this.yd.Zb(),c=[],d=0;d<b;d++)a=this.yd.od(d),c.push($t(a,this));return c};$.g.Rz=function(){return this.Al()};$.g.Zb=function(){return this.yd.Zb()};$.g.od=function(a){if(a=this.yd.od(a))return $t(a,this)};$.g.F=function(){var a=this.yd.F();a.mapping=this.Zc;return a};$.g.OA=function(a){a=this.yd.OA(a);a.mapping=this.Zc;return a};$.g=$.Mt.prototype;$.g.xq=function(){return this.Yk.xq()};$.g.fD=ba(11);$.g.fc=function(a){return this.og(a,this.Zb())};
$.g.og=function(a,b){this.Yk.og(a,b);return this};$.g.remove=function(){this.$d?this.$d.removeChild(this):this.su.removeChild(this);return this};$.g.removeChild=function(a){return this.jj(this.pf(a))};$.g.jj=function(a){return(a=this.Yk.jj(a))?$t(a,this.su):null};$.g.Ki=function(){this.Yk.Ki();return this};$.g.pf=function(a){return this.Yk.pf(a)};$.g.Al=function(){for(var a,b=this.Yk.Zb(),c=[],d=0;d<b;d++)a=this.Yk.od(d),c.push($t(a,this.su));return c};$.g.Rz=function(){return this.Al()};$.g.Zb=function(){return this.Yk.Zb()};
$.g.od=function(a){if(a=this.Yk.od(a))return $t(a,this.su)};$.g.get=function(a){if(arguments.length){var b=this.su.Uq(),c=arguments[0],d=[];$.A(c)?d=c:$.z(c)&&(d=arguments);c=(0,$.Wa)(d,function(a){return b[a]||a});return this.Yk.get(c)}};
$.g.set=function(a){if(arguments.length){var b=this.su.Uq(),c=[],d=[],e=0;var f=arguments[0];if($.A(f)){if(d=f,f=d[0],1<d.length&&$.z(f))if(1<arguments.length)var h=arguments[1];else h=d[d.length-1],e=1}else $.z(f)&&1<arguments.length&&(d=arguments,h=d[d.length-1],e=1);for(f=0;f<d.length-e;f++)c[f]=b[d[f]]||d[f];c.push(h);this.Yk.set.apply(this.Yk,c)}return this};
$.g.Mq=function(a){if(arguments.length){var b=this.su.Uq(),c=arguments[0],d=[];$.A(c)?d=c:$.z(c)&&(d=arguments);c=(0,$.Wa)(d,function(a){return b[a]||a});this.Yk.Mq(c)}return this};$.g.o=function(a,b){return 1<arguments.length?this.Hn(a,b):this.Yn(a)};$.g.Yn=function(a){if(arguments.length){var b=arguments[0],c;$.A(b)?c=b:$.z(b)&&(c=arguments);if($.n(c)){var d=this.ki,e;for(e=0;e<c.length;e++)if(b=c[e],$.D(d)||$.A(d)){if(e==c.length-1)return d[b];d=d[b]}else break}}};
$.g.Hn=function(a){if(arguments.length){var b=arguments[0],c=0,d=[];if($.A(b)){var e=b;b=e[0];if(1<e.length&&$.z(b))if(1<arguments.length)var f=arguments[1];else f=e[e.length-1],c=1}else $.z(b)&&1<arguments.length&&(e=arguments,f=e[e.length-1],c=1);if($.n(e)){var h=this.ki;var k=e[0];d.push(k);var l=h[k];for(b=1;b<e.length-c;b++){var m=e[b];if(!$.ea(m)&&!$.z(m))return this}for(b=1;b<e.length-c;b++)if(m=e[b],d.push(m),$.ea(m))if($.n(l))if($.A(l))h=l,l=h[m],k=m;else return this;else h[k]=[],l=h[m],
h=h[k],k=m;else if($.z(m))if($.n(l))if($.D(l))h=l,l=h[m],k=m;else return this;else h[k]={},l=h[m],h=h[k],k=m;else return this;h[k]!=f&&(h[k]=f,this.su.ta(32,void 0,{item:this}))}}return this};$.g.getParent=function(){return this.$d};$.g.Mk=function(a){this.$d=a};var fF=$.Kt.prototype;fF.getTraverser=fF.Av;fF.addData=fF.Fr;fF.search=fF.search;fF.searchItems=fF.op;fF.filter=fF.filter;fF.addChild=fF.fc;fF.addChildAt=fF.og;fF.getChildren=fF.Al;fF.numChildren=fF.Zb;fF.getChildAt=fF.od;fF.removeChild=fF.removeChild;
fF.removeChildAt=fF.jj;fF.removeChildren=fF.Ki;fF.indexOfChild=fF.pf;fF=$.Mt.prototype;fF.get=fF.get;fF.set=fF.set;fF.meta=fF.o;fF.del=fF.Mq;fF.getParent=fF.getParent;fF.addChild=fF.fc;fF.addChildAt=fF.og;fF.getChildren=fF.Al;fF.numChildren=fF.Zb;fF.getChildAt=fF.od;fF.remove=fF.remove;fF.removeChild=fF.removeChild;fF.removeChildAt=fF.jj;fF.removeChildren=fF.Ki;fF.indexOfChild=fF.pf;$.H($.Nt,$.Yq);$.g=$.Nt.prototype;$.g.qa=48;$.g.QF=function(a){return $.n(a)?(this.qC=a,this):this.qC};$.g.ta=function(a,b,c){!this.wo&&a&16&&(this.ru=null);$.Nt.u.ta.call(this,a,b,c)};$.g.Av=function(){return new Ht(this)};
$.g.Fr=function(a,b,c){if($.z(a)){var d=new $.Im;"object"==$.ka(c)&&(d.sI(c.rowsSeparator),d.yF(c.columnsSeparator),d.$G(c.ignoreTrailingSpaces),d.YG(c.ignoreFirstRow));var e=new Gt;e.mapping(b);d.GB(a,e);a=e.getData();b="as-table"}else b=String(b).toLowerCase();$.V(this);switch(b){case "as-table":case "as-table":case "table":case "parentid":case "linear":case "plain":case "db":case "database":case "id":case "parentpointer":case "pointer":var f;d=[];e=[];var h=[];$.V(this);b=0;for(f=a.length;b<f;b++){var k=
a[b];var l=new $.Qt(this,k);var m=k[this.Zc.id||"id"];h.push(l);if(null!=m)if(m=String(m),k=$.Na(d,m,lo),0>k){var p=~k;$.Da(d,m,p);(k=this.search("id",m))?(k=$.K(k,$.Qt)?k:k[0],$.Da(e,k,p),k.o("nc",!0),$.el(1,null,[m])):$.Da(e,l,p)}else $.el(2,null,[m])}for(b=0;b<h.length;b++)f=h[b],l=a[b][this.Zc[Rt.vB]||Rt.vB],null!=l?(l=String(l),k=$.Na(d,l,lo),0>k?((k=this.search("id",l))?(k=$.K(k,$.Qt)?k:k[0],St(k,f)):(this.pq.push(f),$.el(3,null,[l])),Wt(this,f)):(k=e[k],St(k,f),k.o("nc")&&Wt(this,f))):(this.pq.push(f),
Wt(this,f));h.length&&this.ta(16);this.da(!0);break;default:$.V(this);b=0;for(d=a.length;b<d;b++)e=Tt(this,a[b]),this.pq.push(e),Wt(this,e);a.length&&this.ta(16);this.da(!0)}if("array"==$.ka(c)){this.qC=!1;for(a=0;a<c.length;a++)if(d=c[a],"object"==$.ka(d)&&(b=d.from,d=d.to,($.z(b)||$.ea(b))&&($.z(d)||$.ea(d))&&(d=this.op("id",d)[0])))e=d.get("dependsOn"),$.n(e)?"array"==$.ka(e)&&d.set("dependsOn",e.length,b):d.set("dependsOn",[b]);this.qC=!0}this.da(!0);return this};
$.g.pR=function(a,b,c){if(!this.wd[a])for(this.mH[a]=!!b,this.JR.reset(),this.wd[a]=[],this.bH[a]=Xt(c||lo),this.ru||(this.ru=this.JR.LB()),b=0;b<this.ru.length;b++)Ut(this,this.ru[b],a);return this};$.g.zha=function(a){delete this.wd[a];delete this.mH[a];delete this.bH[a];return this};$.g.search=function(a,b,c){a=this.op(a,b,c);return a.length?1==a.length?a[0]:a:null};
$.g.op=function(a,b,c){var d=this.mH[a];var e=this.wd[a];if(e)return c=$.E(c)?Xt(c):this.bH[a],b=$.Na(e,d?String(b):b,c),d=0<=b?this.wd[a][b].value:[],$.A(d)?d:[d];d=[];this.ru||(this.ru=this.JR.LB());e=c||lo;for(c=0;c<this.ru.length;c++)e(this.ru[c].get(a),b)||d.push(this.ru[c]);return d};$.g.filter=function(a){var b=this.Av();b.YM(a);return b.LB()};$.g.fc=function(a){return this.og(a,this.Zb())};
$.g.og=function(a,b){var c=null;$.K(a,$.Mt)&&(c=a.su,a=a.Yk);$.V(this);var d=null,e=-1,f=null,h=!0,k=null;$.K(a,$.Qt)?((k=a.xq())&&k!=this&&(f=k,$.V(k)),e=(d=a.getParent())?d.pf(a):k.pf(a),a.remove()):(h=!1,a=Tt(this,a));b=$.Za(b,0,this.Zb());$.Da(this.pq,a,b);Wt(this,a);a.xq(this);c&&$t(a,c).Mk(null);this.ta(16);this.da(!0);k&&k.da(!0);this.qC&&(c={type:h?"treeItemMove":"treeItemCreate",target:null,targetIndex:b,item:a},f&&(c.sourceTree=f),h&&(c.sourceIndex=e,c.source=d),this.dispatchEvent(c));return a};
$.g.Al=function(){return $.Ha(this.pq)};$.g.Rz=function(){return this.pq};$.g.Zb=function(){return this.pq.length};$.g.od=function(a){return this.pq[a]};$.g.removeChild=function(a){return this.jj(this.pf(a))};$.g.pf=function(a){$.K(a,$.Mt)&&(a=a.Yk);return(0,$.za)(this.pq,a)};$.g.jj=function(a){var b=null;0<=a&&a<=this.pq.length&&(b=$.Ca(this.pq,a,1)[0],Vt(this,b,void 0,!0),this.ta(16),this.qC&&this.dispatchEvent({type:"treeItemRemove",source:null,sourceIndex:a,item:b}));return b};
$.g.Ki=function(){if(this.pq.length){this.pq.length=0;for(var a in this.wd)this.wd[a].length=0;this.ta(16)}return this};$.g.F=function(){return this.OA([])};$.g.OA=function(a){for(var b={rootMapping:this.Zc,children:[],index:[]},c=0;c<this.Zb();c++){var d=this.od(c);b.children.push(d.F(a))}for(var e in this.wd)b.index.push(e);return b};$.g.ie=function(a){return new $.Kt(this,a||{})};$.g=$.Qt.prototype;
$.g.get=function(a){if(arguments.length){var b=arguments[0],c;$.A(b)?c=b:$.z(b)&&(c=arguments);if($.n(c)){var d=this.oa,e;for(e=0;e<c.length;e++)if(b=c[e],e||(b=this.yd.Zc[b]||b),$.D(d)||$.A(d)){if(e==c.length-1)return d[b];d=d[b]}else break}}};
$.g.set=function(a){if(arguments.length){var b=arguments[0],c=0,d=[];if($.A(b)){var e=b;var f=e[0];if(1<e.length&&$.z(f))if(1<arguments.length)var h=arguments[1];else h=e[e.length-1],c=1}else $.z(b)&&1<arguments.length&&(f=b,e=arguments,h=e[e.length-1],c=1);if($.n(e)){var k=this.oa;var l=e[0];l=this.yd.Zc[l]||l;d.push(l);var m=k[l];for(b=1;b<e.length-c;b++){var p=e[b];if(!$.ea(p)&&!$.z(p))return $.el(17),this}for(b=1;b<e.length-c;b++)if(p=e[b],d.push(p),$.ea(p))if($.n(m))if($.A(m))k=m,m=k[p],l=p;
else return $.el(17),this;else k[l]=[],m=k[p],k=k[l],l=p;else if($.z(p))if($.n(m))if($.D(m))k=m,m=k[p],l=p;else return $.el(17),this;else k[l]={},m=k[p],k=k[l],l=p;else return $.el(17),this;k[l]!=h&&(k[l]=h,Vt(this.yd,this,f),Ut(this.yd,this,f),this.yd.ta(16),this.yd.QF()&&this.yd.dispatchEvent({type:"treeItemUpdate",item:this,path:d,field:d[0],value:h}))}else $.el(17)}return this};
$.g.Mq=function(a){if(arguments.length){var b=arguments[0];if($.A(b)){var c=b;var d=c[0]}else $.z(b)&&(c=arguments,d=b);if($.n(c)){var e=[],f=this.oa,h;for(h=1;h<c.length;h++)if(b=c[h],!$.ea(b)&&!$.z(b))return this;for(h=0;h<c.length;h++)if(b=c[h],e.push(b),$.D(f)||$.A(f))if(h==c.length-1)if(b in f){var k=f[b];$.A(f)?Ea(f,b):delete f[b];Vt(this.yd,this,d);Ut(this.yd,this,d);this.yd.ta(16);this.yd.QF()&&this.yd.dispatchEvent({type:"treeItemUpdate",item:this,path:e,field:e[0],value:k,deleted:k})}else break;
else f=f[b];else break}}return this};$.g.o=function(a,b){return 1<arguments.length?this.Hn(a,b):this.Yn(a)};$.g.Yn=function(a){if(arguments.length){var b=arguments[0],c;$.A(b)?c=b:$.z(b)&&(c=arguments);if($.n(c)){var d=this.ki,e;for(e=0;e<c.length;e++)if(b=c[e],$.D(d)||$.A(d)){if(e==c.length-1)return d[b];d=d[b]}else break}}};
$.g.Hn=function(a){if(arguments.length){var b=arguments[0],c=0,d=[];if($.A(b)){var e=b;b=e[0];if(1<e.length&&$.z(b))if(1<arguments.length)var f=arguments[1];else f=e[e.length-1],c=1}else $.z(b)&&1<arguments.length&&(e=arguments,f=e[e.length-1],c=1);if($.n(e)){var h=this.ki;var k=e[0];d.push(k);var l=h[k];for(b=1;b<e.length-c;b++){var m=e[b];if(!$.ea(m)&&!$.z(m))return this}for(b=1;b<e.length-c;b++)if(m=e[b],d.push(m),$.ea(m))if($.n(l))if($.A(l))h=l,l=h[m],k=m;else return this;else h[k]=[],l=h[m],
h=h[k],k=m;else if($.z(m))if($.n(l))if($.D(l))h=l,l=h[m],k=m;else return this;else h[k]={},l=h[m],h=h[k],k=m;else return this;h[k]!=f&&(h[k]=f,this.yd.ta(32,void 0,{item:this}))}}return this};$.g.getParent=function(){return this.Y};$.g.fc=function(a){return this.og(a,this.Zb())};
$.g.og=function(a,b){var c=null;$.K(a,$.Mt)&&(c=a.su,a=a.Yk);$.V(this.yd);var d=null,e=null,f=-1,h=null,k=!0;$.K(a,$.Qt)?((d=a.xq())&&d!=this.yd&&(h=d,$.V(d)),f=(e=a.getParent())?e.pf(a):d.pf(a),a.remove()):(k=!1,a=Tt(this.yd,a));b=$.Za(b,0,this.Zb());$.Da(this.b,a,b);Ut(this.yd,a,void 0,!0);a.xq(this.yd);a.Y=this;c&&$t(a,c).Mk($t(this,c));this.yd.ta(16);this.yd.da(!0);d&&d.da(!0);this.yd.QF()&&(c={type:k?"treeItemMove":"treeItemCreate",target:this,targetIndex:b,item:a},h&&(c.sourceTree=h),k&&(c.sourceIndex=
f,c.source=e),this.yd.dispatchEvent(c));return a};$.g.Al=function(){return $.Ha(this.b)};$.g.Rz=function(){return this.b};$.g.Zb=function(){return this.b.length};$.g.od=function(a){return this.b[a]};$.g.removeChild=function(a){return this.jj(this.pf(a))};$.g.jj=function(a){var b=null;0<=a&&a<=this.b.length&&(b=$.Ca(this.b,a,1)[0],Vt(this.yd,b,void 0,!0),Yt(b),this.yd.QF()&&this.yd.dispatchEvent({type:"treeItemRemove",source:this,sourceIndex:a,item:b}));return b};
$.g.Ki=function(){var a=this.b.length;if(a){$.V(this.yd);for(var b=0;b<a;b++){var c=this.b[b];Yt(c);Vt(this.yd,c,void 0,!0)}this.yd.da(!1);this.b.length=0;this.yd.ta(16)}return this};$.g.pf=function(a){$.K(a,$.Mt)&&(a=a.Yk);return(0,$.za)(this.b,a)};$.g.remove=function(){if(this.Y)this.Y.removeChild(this);else{var a=this.yd.pf(this);0<=a&&this.yd.jj(a)}return this};$.g.xq=function(a){return $.n(a)?(this.yd!=a&&Zt(this,a),this):this.yd};
$.g.clone=function(a){var b=$.Kl(this.oa);delete b[this.yd.Zc[Rt.Xw]||Rt.Xw];delete b[this.yd.Zc[Rt.vB]||Rt.vB];b=new $.Qt(a,b);for(var c=0,d=this.Zb();c<d;c++){var e=this.od(c);b.fc(e.clone(a))}return b};$.g.fD=ba(10);
$.g.F=function(a){var b={treeDataItemData:$.Qc(this.oa)};if($.n(a)){var c;if(c=a.length){var d={};for(var e=0;e<c;e++){var f=a[e];this.ki.hasOwnProperty(f)&&(d[f]=this.ki[f])}}else d=$.Qc(this.ki);b.treeDataItemMeta=d}if(d=this.Zb())for(b.children=[],c=0;c<d;c++)e=this.od(c),b.children.push(e.F(a));return b};var gF=$.Nt.prototype;$.F("anychart.data.tree",$.au);gF.getTraverser=gF.Av;gF.dispatchEvents=gF.QF;gF.addData=gF.Fr;gF.createIndexOn=gF.pR;gF.removeIndexOn=gF.zha;gF.search=gF.search;
gF.searchItems=gF.op;gF.filter=gF.filter;gF.addChild=gF.fc;gF.addChildAt=gF.og;gF.getChildren=gF.Al;gF.numChildren=gF.Zb;gF.getChildAt=gF.od;gF.removeChild=gF.removeChild;gF.removeChildAt=gF.jj;gF.removeChildren=gF.Ki;gF.indexOfChild=gF.pf;gF.mapAs=gF.ie;gF=$.Qt.prototype;gF.get=gF.get;gF.set=gF.set;gF.meta=gF.o;gF.del=gF.Mq;gF.getParent=gF.getParent;gF.addChild=gF.fc;gF.addChildAt=gF.og;gF.getChildren=gF.Al;gF.numChildren=gF.Zb;gF.getChildAt=gF.od;gF.remove=gF.remove;gF.removeChild=gF.removeChild;
gF.removeChildAt=gF.jj;gF.removeChildren=gF.Ki;gF.indexOfChild=gF.pf;$.H($.Y,$.Yq);$.g=$.Y.prototype;$.g.Kc=null;$.g.jN=!1;$.g.Rm=null;$.g.qa=98313;$.g.sa=15;$.g.bh=function(a){a.f();var b=this.ig(a);b.zD=a;b.getOriginalEvent=function(){return this.zD};return this.dispatchEvent(b)};$.g.sh=function(){};
$.g.ig=function(a){var b=a.type,c;a:{for(c=a.relatedTarget;$.K(c,$.hg);){if($.K(c.tag,$.Y)){c=c.tag;break a}c=c.parent()}c=null}return{type:b,originalEvent:a,target:this,relatedTarget:c||a.relatedTarget,domTarget:a.target,relatedDomTarget:a.relatedTarget,offsetX:a.offsetX,offsetY:a.offsetY,clientX:a.clientX,clientY:a.clientY,screenX:a.screenX,screenY:a.screenY,button:a.button,keyCode:a.keyCode,charCode:a.charCode,ctrlKey:a.ctrlKey,altKey:a.altKey,shiftKey:a.shiftKey,metaKey:a.metaKey,platformModifierKey:a.platformModifierKey,
state:a.state}};
$.g.P=function(a){if($.n(a)){var b=$.z(a)?$.Bp.getElementById(a):a;a=b||null===a;if(this.jN!=a){this.jN=a;var c=this.mO?this.Kc:null;$.V(this);a=2;if(b){var d=this.Kc&&this.Kc.Ha()&&this.Kc.Ha().pb();this.mO=!1;$.bf(b)?this.mO?this.Kc.P(b):(this.Kc=this.u_(),"vml"!=$.hk&&this.Kc.fa().setAttribute("role","presentation"),this.Kc.P(b),this.mO=!0):this.Kc=b;this.Rm||$.ob(d,this.Kc&&this.Kc.Ha()&&this.Kc.Ha().pb())||(a|=4)}else this.Kc=null;this.B(a,1);this.da(!0);c&&Hp(function(){if(c.DL){var a=$.ec($.cc.vd(),
this,"chart");delete c.DL()[a]}$.qd(c)},this)}return this}return this.Kc};$.g.u_=function(){var a=$.ik();a.Zw=!1;a.Do();return a};$.g.zIndex=function(a){return $.n(a)?(a=+a||0,this.Ma.zIndex!=a&&(this.Ma.zIndex=a,this.B(8,65537)),this):this.th("zIndex")?this.Ma.zIndex:$.n(this.Mh)?this.Mh:this.ma.zIndex};$.g.enabled=function(a){return $.n(a)?(this.Ma.enabled!==a&&(this.Ma.enabled=a,this.B(1,this.Sq()),this.oE&&(this.Ma.enabled?(this.aX&&this.da(!0),this.aX=!1):($.V(this),this.aX=!0))),this):this.i("enabled")};
$.g.Sq=function(){return 32777};$.g.da=function(a){var b=this.aX&&2==this.AO;if(b){var c=this.wo;this.wo=this.Sq();this.AO--}$.Y.u.da.call(this,a);b&&($.V(this),c&&this.ta(c));return this};$.g.Bc=function(){if(this.ef()||this.fd)return!1;if(!this.enabled())return this.J(1)&&(this.remove(),this.I(1),this.B(2)),!1;if(!this.P())return this.remove(),this.I(2),this.jN||$.cl(1),!1;this.I(1);return!0};$.g.remove=$.ia;
$.g.ja=function(a,b,c,d){if($.n(a)){if(null===a)this.Rm&&(this.Rm=null,this.ho());else if($.K(a,$.J)){var e=a.left;var f=a.top;var h=a.width;var k=a.height}else $.D(a)?(e=a.left,f=a.top,h=a.width,k=a.height):(e=a,f=b,h=c,k=d);e=$.N(e);f=$.N(f);h=$.N(h);k=$.N(k);(0,window.isNaN)(e)||(0,window.isNaN)(f)||(0,window.isNaN)(h)||(0,window.isNaN)(k)||this.Rm&&this.Rm.left==e&&this.Rm.top==f&&this.Rm.width==h&&this.Rm.height==k||(this.Rm?(this.Rm.left=e,this.Rm.top=f,this.Rm.width=h,this.Rm.height=k):this.Rm=
$.gn(e,f,h,k),this.ho());return this}if(this.Rm)return this.Rm.clone();var l;return this.Kc&&(l=this.Kc.Ha())?$.fa.isNodeJS?$.kn($.fa.defaultBounds):l.pb():null};$.g.ho=function(){this.B(4,9)};$.g.Nq=function(){return!0};$.g.gu=function(a,b,c,d){var e=$.fl.anychart.exports;e?e.gu(this,this.Kc,a,b,c,d):$.cl(4,null,["Exporting"])};$.g.xw=function(a,b,c,d,e){var f=$.fl.anychart.exports;f?f.xw(this,this.Kc,a,b,c,d,e):$.cl(4,null,["Exporting"])};
$.g.yw=function(a,b,c,d,e){var f=$.fl.anychart.exports;f?f.yw(this,this.Kc,a,b,c,d,e):$.cl(4,null,["Exporting"])};$.g.zw=function(a,b,c){var d=$.fl.anychart.exports;d?d.zw(this,this.Kc,a,b,c):$.cl(4,null,["Exporting"])};$.g.vq=function(a,b){var c=$.fl.anychart.exports;if(c)return c.vq(this,this.Kc,a,b);$.cl(4,null,["Exporting"]);return""};$.g.ju=function(a,b,c,d,e,f,h){var k=$.fl.anychart.exports;k?k.ju(this,this.Kc,a,b,c,d,e,f,h):$.cl(4,null,["Exporting"])};
$.g.WA=function(a,b,c,d,e,f,h,k){var l=$.fl.anychart.exports;l?l.WA(this,this.Kc,a,b,c,d,e,f,h,k):$.cl(4,null,["Exporting"])};$.g.YA=function(a,b,c,d,e,f){var h=$.fl.anychart.exports;h?h.YA(this,this.Kc,a,b,c,d,e,f):$.cl(4,null,["Exporting"])};$.g.XA=function(a,b,c,d,e,f,h,k){var l=$.fl.anychart.exports;l?l.XA(this,this.Kc,a,b,c,d,e,f,h,k):$.cl(4,null,["Exporting"])};$.g.Wz=function(a,b,c,d,e){var f=$.fl.anychart.exports;f?f.Wz(this,this.Kc,a,b,c,d,e):$.cl(4,null,["Exporting"])};
$.g.Uz=function(a,b,c,d,e,f){var h=$.fl.anychart.exports;h?h.Uz(this,this.Kc,a,b,c,d,e,f):$.cl(4,null,["Exporting"])};$.g.Yz=function(a,b,c,d){var e=$.fl.anychart.exports;e?e.Yz(this,this.Kc,a,b,c,d):$.cl(4,null,["Exporting"])};$.g.Vz=function(a,b,c,d,e,f){var h=$.fl.anychart.exports;h?h.Vz(this,this.Kc,a,b,c,d,e,f):$.cl(4,null,["Exporting"])};$.g.print=function(a,b){var c=$.fl.anychart.exports;c?c.print(this,this.Kc,a,b):$.cl(4,null,["Exporting"])};
$.g.cE=function(a,b,c,d){var e=$.fl.anychart.exports;e?e.cE(this,this.Kc,a,b,c,d):$.cl(4,null,["Exporting"])};$.g.fE=function(){var a=$.fl.anychart.exports;a?a.fE(this,this.Kc):$.cl(4,null,["Exporting"])};$.g.dE=function(a,b){var c=$.fl.anychart.exports;c?c.dE(this,this.Kc,a,b):$.cl(4,null,["Exporting"])};$.g.eE=function(a,b){var c=$.fl.anychart.exports;c?c.eE(this,this.Kc,a,b):$.cl(4,null,["Exporting"])};
$.g.F=function(){var a=$.Y.u.F.call(this),b=$.Yq.prototype.i.call(this,"zIndex");$.n(b)&&(a.zIndex=b);b=$.Yq.prototype.i.call(this,"enabled");$.n(b)&&(a.enabled=b);return a};$.g.Od=function(a){return $.da(a)||null===a?{enabled:!!a}:null};$.g.Ce=function(a,b){var c=$.Y.prototype.Od(b);return c?(a?this.ma.enabled=c.enabled:this.enabled(c.enabled),!0):!1};
$.g.X=function(a,b){$.Y.u.X.call(this,a,b);if(b)"enabled"in a&&(this.ma.enabled=a.enabled),"zIndex"in a&&(this.ma.zIndex=a.zIndex);else{var c=a.enabled;this.enabled(null!=c?c:$.n(c)?void 0:!0);this.zIndex(a.zIndex)}};$.g.R=function(){$.qd(this.sc);this.Rm=this.sc=null;this.mO&&$.qd(this.Kc);this.Kc=null;this.jN=!1;$.Y.u.R.call(this)};var hF=$.Y.prototype;hF.zIndex=hF.zIndex;hF.enabled=hF.enabled;hF.print=hF.print;$.H($.fu,$.Yq);$.g=$.fu.prototype;$.g.qa=2;$.g.jx=window.NaN;$.g.$w=window.NaN;$.g.Xv=null;$.g.Pw=null;$.g.Is=null;$.g.Lr=null;$.g.Df=null;$.g.nf=null;$.g.fw=null;$.g.ew=null;$.g.dw=null;$.g.bw=null;
$.g.Z4=function(a,b,c,d){$.K(a,$.J)?(d=a,a=$.N(d.left),b=$.N(d.top),c=$.N(d.width),d=$.N(d.height)):$.D(a)?(d=a,a=$.N(d.left),b=$.N(d.top),c=$.N(d.width),d=$.N(d.height)):(a=$.N(a),b=$.N(b),c=$.N(c),d=$.N(d));if(null===this.Xv)if(null===this.Is){var e=0;var f=null===this.Df?+c||0:$.M(this.Df,c);f=hu(this,f,c)}else{var h=$.M(this.Is,c,!0);f=null===this.Df?h:$.M(this.Df,c);f=hu(this,f,c);e=h-f}else e=$.M(this.Xv,c),f=null===this.Is?null===this.Df?+c-e||0:$.M(this.Df,c):$.M(this.Is,c,!0)-e,f=hu(this,
f,c);null===this.Pw?null===this.Lr?(h=(0,window.isNaN)(this.jx)?0:this.jx,c=null===this.nf?(0,window.isNaN)(this.$w)?+d||0:this.$w:$.M(this.nf,d),c=gu(this,c,d)):(h=$.M(this.Lr,d,!0),c=null===this.nf?(0,window.isNaN)(this.jx)?(0,window.isNaN)(this.$w)?h:this.$w:h-this.jx:$.M(this.nf,d),c=gu(this,c,d),h-=c):(h=$.M(this.Pw,d),c=null===this.Lr?null===this.nf?(0,window.isNaN)(this.$w)?+d-h||0:this.$w:$.M(this.nf,d):$.M(this.Lr,d,!0)-h,c=gu(this,c,d));(0,window.isNaN)(a)||(e+=a);(0,window.isNaN)(b)||(h+=
b);return new $.J(e,h,f,c)};$.g.set=function(a,b,c,d){$.V(this);this.ia(!0,a,b,c,d);this.da(!0);return this};$.g.QA=function(a){var b=this.$w!=a;this.$w=a;b&&this.ta(2)};$.g.left=function(a){return $.n(a)?(a=vo(a),a!=this.Xv&&(this.Xv=a,this.ta(2)),this):this.Xv};$.g.top=function(a){return $.n(a)?(a=vo(a),a!=this.Pw&&(this.Pw=a,this.ta(2)),this):this.Pw};$.g.right=function(a){return $.n(a)?(a=vo(a),a!=this.Is&&(this.Is=a,this.ta(2)),this):this.Is};
$.g.bottom=function(a){return $.n(a)?(a=vo(a),a!=this.Lr&&(this.Lr=a,this.ta(2)),this):this.Lr};$.g.width=function(a){return $.n(a)?(a=vo(a),a!=this.Df&&(this.Df=a,this.ta(2)),this):this.Df};$.g.height=function(a){return $.n(a)?(a=vo(a),a!=this.nf&&(this.nf=a,this.ta(2)),this):this.nf};$.g.minWidth=function(a){return $.n(a)?(a=vo(a),a!=this.fw&&(this.fw=a,this.ta(2)),this):this.fw};$.g.minHeight=function(a){return $.n(a)?(a=vo(a),a!=this.ew&&(this.ew=a,this.ta(2)),this):this.ew};
$.g.maxWidth=function(a){return $.n(a)?(a=vo(a),a!=this.dw&&(this.dw=a,this.ta(2)),this):this.dw};$.g.maxHeight=function(a){return $.n(a)?(a=vo(a),a!=this.bw&&(this.bw=a,this.ta(2)),this):this.bw};$.g.Nq=function(){return $.oo(this.Df)||$.oo(this.nf)||$.oo(this.fw)||$.oo(this.ew)||$.oo(this.dw)||$.oo(this.bw)||$.oo(this.Xv)||$.oo(this.Pw)||null!==this.Lr||null!==this.Is||null===this.Df||null===this.nf};
$.g.F=function(){var a=$.fu.u.F.call(this);null!==this.Pw&&(a.top=this.Pw);null!==this.Is&&(a.right=this.Is);null!==this.Lr&&(a.bottom=this.Lr);null!==this.Xv&&(a.left=this.Xv);null!==this.Df&&(a.width=this.Df);null!==this.nf&&(a.height=this.nf);null!==this.fw&&(a.minWidth=this.fw);null!==this.ew&&(a.minHeight=this.ew);null!==this.dw&&(a.maxWidth=this.dw);null!==this.bw&&(a.maxHeight=this.bw);return a};
$.g.X=function(a){this.left(a.left);this.top(a.top);this.right(a.right);this.bottom(a.bottom);this.width(a.width);this.height(a.height);this.minWidth(a.minWidth);this.minHeight(a.minHeight);this.maxWidth(a.maxWidth);this.maxHeight(a.maxHeight)};$.g.Od=function(a){var b=null;if($.A(a)){var c=$.n(a[0])?a[0]:null;var d=$.n(a[1])?a[1]:null;var e=$.n(a[2])?a[2]:null;b=$.n(a[3])?a[3]:null}else $.n(a)&&!$.D(a)&&(c=a);a={left:c,top:d,width:e,height:b};this.left(c).top(d).width(e).height(b);return a};
$.g.Ce=function(a,b,c,d,e){a=!1;if($.K(b,$.fu)){var f=b.Xv;var h=b.Pw;var k=b.Df;var l=b.nf;var m=b.fw;var p=b.ew;var q=b.dw;var r=b.bw;var t=b.Is;var u=b.Lr;a=!0}else $.K(b,$.J)?(f=b.left,h=b.top,k=b.width,l=b.height,r=q=p=m=u=t=null,a=!0):$.A(b)?(f=$.n(b[0])?b[0]:null,h=$.n(b[1])?b[1]:null,k=$.n(b[2])?b[2]:null,l=$.n(b[3])?b[3]:null,r=q=p=m=u=t=null,a=!0):$.n(b)&&!$.D(b)&&(f=b,h=$.n(c)?c:null,k=$.n(d)?d:null,l=$.n(e)?e:null,r=q=p=m=u=t=null,a=!0);a&&this.left(f).top(h).right(t).bottom(u).width(k).height(l).minWidth(m).minHeight(p).maxWidth(q).maxHeight(r);
return a};var iF=$.fu.prototype;iF.top=iF.top;iF.right=iF.right;iF.bottom=iF.bottom;iF.left=iF.left;iF.width=iF.width;iF.height=iF.height;iF.minWidth=iF.minWidth;iF.minHeight=iF.minHeight;iF.maxWidth=iF.maxWidth;iF.maxHeight=iF.maxHeight;iF.set=iF.set;iF.toRect=iF.Z4;$.H($.iu,$.Y);$.g=$.iu.prototype;$.g.qa=$.Y.prototype.qa;$.g.sa=$.Y.prototype.sa;$.g.Nq=function(){return this.Za().Nq()};$.g.lb=function(){return this.Za().Z4(this.ja())};$.g.Za=function(a,b,c,d){this.xb||(this.xb=new $.fu,$.L(this.xb,this.vk,this),$.W(this,"bounds",this.xb));return $.n(a)?(this.xb.K.apply(this.xb,arguments),this):this.xb};$.g.vk=function(a){$.X(a,2)&&this.B(4,9)};$.g.left=function(a){return $.n(a)?(this.Za().left(a),this):this.Za().left()};
$.g.right=function(a){return $.n(a)?(this.Za().right(a),this):this.Za().right()};$.g.top=function(a){return $.n(a)?(this.Za().top(a),this):this.Za().top()};$.g.bottom=function(a){return $.n(a)?(this.Za().bottom(a),this):this.Za().bottom()};$.g.width=function(a){return $.n(a)?(this.Za().width(a),this):this.Za().width()};$.g.height=function(a){return $.n(a)?(this.Za().height(a),this):this.Za().height()};$.g.minWidth=function(a){return $.n(a)?(this.Za().minWidth(a),this):this.Za().minWidth()};
$.g.minHeight=function(a){return $.n(a)?(this.Za().minHeight(a),this):this.Za().minHeight()};$.g.maxWidth=function(a){return $.n(a)?(this.Za().maxWidth(a),this):this.Za().maxWidth()};$.g.maxHeight=function(a){return $.n(a)?(this.Za().maxHeight(a),this):this.Za().maxHeight()};$.g.R=function(){$.qd(this.xb);this.xb=null;$.iu.u.R.call(this)};var jF=$.iu.prototype;jF.bounds=jF.Za;jF.top=jF.top;jF.right=jF.right;jF.bottom=jF.bottom;jF.left=jF.left;jF.width=jF.width;jF.height=jF.height;jF.minWidth=jF.minWidth;
jF.minHeight=jF.minHeight;jF.maxWidth=jF.maxWidth;jF.maxHeight=jF.maxHeight;jF.getPixelBounds=jF.lb;$.H($.ku,$.iu);$.ku.prototype.qa=$.iu.prototype.qa|32768;$.ku.prototype.sa=$.iu.prototype.sa|80;var Mda=$.ku.prototype,kF={};$.hq(kF,[[1,"fill",$.Eq],[1,"stroke",$.Dq],[1,"topStroke",$.Dq],[1,"rightStroke",$.Dq],[1,"bottomStroke",$.Dq],[1,"leftStroke",$.Dq],[0,"disablePointerEvents",$.uq],[0,"cornerType",function(a,b){return $.xk(wda,a,b||"none")}]]);Mda.cQ=kF;$.U($.ku,$.ku.prototype.cQ);$.g=$.ku.prototype;$.g.i=$.Xq;$.g.fs=function(){return 1};$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};
$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};$.g.lR=function(a){var b,c=arguments[0];$.A(c)?b=c:b=$.D(c)?[c.leftTop||0,c.rightTop||0,c.rightBottom||0,c.leftBottom||0]:$.Ja(arguments,0);return b};$.g.kR=function(a){if($.n(a)){var b=this.lR.apply(this,arguments);$.Ta(b,this.Ma.corners)||(this.Ma.corners=b,this.B(20,1));return this}return this.lR(this.i("corners"))};
$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(null===a?($.Zq(this.Y,this.Qc,this),this.Y=null):(this.Y&&$.Zq(this.Y,this.Qc,this),this.Y=a,$.L(this.Y,this.Qc,this))),this):this.Y};$.g.Qc=function(a){var b=0,c=0;$.X(a,1)&&(b|=16,c|=1);$.X(a,8)&&(b|=4,c|=8);$.X(a,32768)&&(b|=1,c|=1);this.Rb=null;this.B(b,c)};$.g.KS=function(){return this.lb()};
$.g.$=function(){if(!this.Bc())return this;var a=this.i("fill")||"none",b=this.i("stroke"),c=this.i("topStroke"),d=this.i("rightStroke"),e=this.i("bottomStroke"),f=this.i("leftStroke"),h=$.n(c)&&!$.Vo(c),k=$.n(d)&&!$.Vo(d),l=$.n(e)&&!$.Vo(e),m=$.n(f)&&!$.Vo(f),p=!!(h||k||l||m);l=h&&k&&l&&m;var q;(k=(h=this.P()?this.P().Ha():null)&&!h.ff())&&h.suspend();if(this.J(4)){this.La||(this.La=$.lk());l&&this.f?this.f.clear().parent(null):(this.f||(this.f=$.nk()),this.f.parent(this.La),this.f.clear());p?(this.g||
(this.g=$.nk()),this.g.parent(this.La),this.g.clear()):this.g&&this.g.clear().parent(null);if(this.G)for(l=0,m=this.G.length;l<m;l++)(q=this.G[l])&&q.clear().parent(null);if(p)for(this.D=[c,d,e,f],this.G||(this.G=[]),this.b||(this.b=[]),l=0,m=this.D.length;l<m;l++)c=this.D[l],$.n(c)&&!$.Vo(c)?(c=this.G[l]?this.G[l]:this.G[l]=$.nk(),c.parent(this.La),c.clear(),this.b[l]=c):$.n(b)&&!$.Vo(b)&&(this.D[l]=b,this.b[l]=this.f);l=this.KS();c=l.width;d=l.height;m=lu(this,0,c,d);e=lu(this,1,c,d);f=lu(this,
2,c,d);q=lu(this,3,c,d);if(p){var r=this.b[0]?$.bc($.Yb(this.D[0]))/2:0,t=this.b[1]?$.bc($.Yb(this.D[1]))/2:0,u=this.b[2]?$.bc($.Yb(this.D[2]))/2:0,v=this.b[3]?$.bc($.Yb(this.D[3]))/2:0;l.left+=v;l.top+=r;l.width-=v+t;l.height-=r+u;e=[l.$a()-e,l.top,l.$a(),l.top,l.$a(),l.top+e,l.$a()-e+e*Math.cos($.bb(315)),l.top+e+e*Math.sin($.bb(315)),l.$a(),l.Ua()-f,l.$a(),l.Ua(),l.$a()-f,l.Ua(),l.$a()-f+f*Math.cos($.bb(45)),l.Ua()-f+f*Math.sin($.bb(45)),l.left+q,l.Ua(),l.left,l.Ua(),l.left,l.Ua()-q,l.left+q+q*
Math.cos($.bb(135)),l.Ua()-q+q*Math.sin($.bb(135)),l.left,l.top+m,l.left,l.top,l.left+m,l.top,l.left+m+m*Math.cos($.bb(225)),l.top+m+m*Math.sin($.bb(225))];l=0;for(m=e.length;l<m;l+=8)if(q=l/8,f=lu(this,q,c,d),l||this.g.moveTo(e[e.length-4],e[e.length-3]),this.g.lineTo(e[l],e[l+1]),mu(this,this.g,e[l+2],e[l+3],e[l+4],e[l+5],f),q=this.b[q]){l?(w!=q&&q.moveTo(e[l-2],e[l-1]),mu(this,q,e[l-6],e[l-5],e[l-4],e[l-3],f)):(q.moveTo(e[e.length-2],e[e.length-1]),mu(this,q,e[e.length-6],e[e.length-5],e[e.length-
4],e[e.length-3],f));q.lineTo(e[l],e[l+1]);mu(this,q,e[l+2],e[l+3],e[l+6],e[l+7],f);var w=q}}else{w=$.bc($.Yb(b))/2;(0,window.isNaN)(w)&&(w=.5);l.left+=w;l.top+=w;l.width-=w+w;l.height-=w+w;e=[l.$a()-e,l.top,l.$a(),l.top,l.$a(),l.top+e,l.$a(),l.Ua()-f,l.$a(),l.Ua(),l.$a()-f,l.Ua(),l.left+q,l.Ua(),l.left,l.Ua(),l.left,l.Ua()-q,l.left,l.top+m,l.left,l.top,l.left+m,l.top];l=0;for(m=e.length;l<m;l+=6)l||this.f.moveTo(e[e.length-2],e[e.length-1]),this.f.lineTo(e[l],e[l+1]),mu(this,this.f,e[l+2],e[l+3],
e[l+4],e[l+5],lu(this,(l/6+1)%4,c,d));this.f.close()}this.I(4);$.D(a)&&("keys"in a||"src"in a)&&this.B(16)}if(this.J(16)){if(p){l=0;for(m=this.b.length;l<m;l++)(q=this.b[l])&&q.stroke(this.D[l]);this.g.fill(a);this.g.stroke(null)}else this.f.stroke(b),this.f.fill(a);this.I(16)}if(this.J(64)){a=this.i("disablePointerEvents");if(p){l=0;for(m=this.b.length;l<m;l++)(q=this.b[l])&&q.td(a);this.g.td(a)}else this.f.td(a);this.La.td(a);this.I(64)}this.J(8)&&(this.La.zIndex(this.i("zIndex")),this.I(8));this.J(2)&&
(this.La.parent(this.P()),this.I(2));k&&h.resume();return this};$.g.remove=function(){this.La&&this.La.parent(null)};$.g.qd=function(){var a=this.lb();a=a?a.clone():$.gn(0,0,0,0);if(!this.enabled())return a;var b=this.i("stroke");b=$.Vo(b)?0:$.bc(b);a.top+=b;a.left+=b;a.height-=2*b;a.width-=2*b;return a};
$.g.F=function(){var a=$.ku.u.F.call(this);$.Hq(this,this.cQ,a,"Background",void 0,this.U);var b=this.dd("corners");b&&(4<=b.length?b={leftTop:b[0],rightTop:b[1],rightBottom:b[2],leftBottom:b[3]}:b=b[0],a.corners=b);return a};$.g.Od=function(a){var b=null;if($.z(a))b={fill:a,stroke:null,enabled:!0};else if($.da(a)||null===a)b={enabled:!!a};return b};
$.g.Ce=function(a,b){var c=this.Od(b);return c?(a?("fill"in c&&(this.ma.fill=c.fill),"stroke"in c&&(this.ma.stroke=c.stroke),"enabled"in c&&(this.ma.enabled=c.enabled)):("fill"in c&&this.fill(c.fill),"stroke"in c&&this.stroke(c.stroke),"enabled"in c&&this.enabled(c.enabled)),!0):!1};$.g.X=function(a,b){$.ku.u.X.call(this,a,b);$.zq(this,this.cQ,a,b);b?"corners"in a&&(this.ma.corners=this.lR(a.corners)):this.kR(a.corners)};$.g.R=function(){$.td(this.f,this.b,this.g);this.g=this.b=this.f=null;$.ku.u.R.call(this)};
$.H(nu,$.ku);$.ju(nu,$.ku);var lF=$.ku.prototype;lF.corners=lF.kR;lF=nu.prototype;$.F("anychart.standalones.background",function(){var a=new nu;a.ia(!0,$.mm("standalones.background"));return a});lF.draw=lF.$;lF.parentBounds=lF.ja;lF.container=lF.P;$.g=ou.prototype;$.g.text=function(a){this.kc=a};$.g.width=function(){return this.Za?this.Za.width:0};$.g.height=function(){return this.Za?this.Za.height:0};$.g.path=function(){return null};$.g.style=function(a){this.f=a};$.g.pc=function(){this.fa=this.O.sx()};$.g.setPosition=function(a,b){var c=this.Kd();$.n(a)&&a!=this.xo&&(this.xo=a,c.setAttribute("x",this.xo));$.n(b)&&b!=this.yo&&(this.yo=b,c.setAttribute("y",this.yo+this.b))};$.g.Kd=function(){this.fa||this.pc();return this.fa};
$.g.pb=function(){if(!this.Za){var a=this.Kd();a.removeAttribute("x");a.removeAttribute("y");a=a.getBBox();this.Za=new $.J(a.x,-a.y,a.width,a.height);this.b=-a.y}return this.Za};$.H(qu,$.Yq);qu.prototype.qa=2;var ru={};$.gq(ru,0,"left",Oq);$.gq(ru,0,"top",Oq);$.gq(ru,0,"bottom",Oq);$.gq(ru,0,"right",Oq);$.U(qu,ru);$.g=qu.prototype;$.g.th=function(a){return null!=this.Ma[a]};$.g.i=function(a){return $.Xq.call(this,a)||0};$.g.EL=function(){return 0};$.g.fs=function(){return 2};$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};
$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(null===a?($.Zq(this.Y,this.Qc,this),this.Y=null):(this.Y&&$.Zq(this.Y,this.Qc,this),this.Y=a,$.L(this.Y,this.Qc,this))),this):this.Y};$.g.Qc=function(){this.Rb=null;this.ta(2)};
$.g.set=function(a,b,c,d){var e=$.Dm.apply(this,arguments);if(this.dd("top")!==e.top||this.dd("right")!==e.right||this.dd("bottom")!==e.bottom||this.dd("left")!==e.left)this.pa("top",e.top),this.pa("right",e.right),this.pa("bottom",e.bottom),this.pa("left",e.left),this.ta(2);return this};$.g.nj=function(a){var b=$.M(this.i("left"),a.width),c=$.M(this.i("right"),a.width),d=$.M(this.i("top"),a.height),e=$.M(this.i("bottom"),a.height);return new $.J(a.left+b,a.top+d,a.width-b-c,a.height-d-e)};
$.g.wg=function(a){var b=$.M(this.i("left"),a),c=$.M(this.i("right"),a);return a-b-c};$.g.Jh=function(a){var b=$.M(this.i("top"),a),c=$.M(this.i("bottom"),a);return a-b-c};$.g.tX=function(a){var b=$.M(this.i("left"),a.width),c=$.M(this.i("right"),a.width),d=$.M(this.i("top"),a.height),e=$.M(this.i("bottom"),a.height);return new $.J(a.left-b,a.top-d,a.width+b+c,a.height+d+e)};$.g.rk=function(a){var b=$.M(this.i("left"),a),c=$.M(this.i("right"),a);return a+b+c};
$.g.Jj=function(a){var b=$.M(this.i("top"),a),c=$.M(this.i("bottom"),a);return a+b+c};$.g.F=function(){var a=qu.u.F.call(this);$.Hq(this,ru,a,"Space");return a};$.g.Od=function(a){return $.Dm.apply(null,arguments)};$.g.Ce=function(a,b){if($.n(arguments[1])){var c=this.Od.apply(this,$.Ja(arguments,1));a?su(this,c):this.set(c);return!0}return!1};$.g.X=function(a,b){$.V(this);b?su(this,a):$.zq(this,ru,a);this.da(!0)};var mF=qu.prototype;mF.set=mF.set;$.H($.tu,qu);$.tu.prototype.tX=function(a){var b=this.rk(a.width),c=this.Jj(a.height),d=$.M(this.i("left"),b),e=$.M(this.i("top"),c);return new $.J(a.left-d,a.top-e,b,c)};$.tu.prototype.Jj=function(a){var b=this.i("top"),c=this.i("bottom");return uu(a,b,c)};$.tu.prototype.rk=function(a){var b=this.i("left"),c=this.i("right");return vu(a,b,c)};$.ja($.zu);$.H($.Du,$.Y);$.Du.prototype.qa=$.Y.prototype.qa|8;$.Du.prototype.sa=$.Y.prototype.sa|976;var nF=null,oF="fontSize fontFamily fontColor fontOpacity textDirection fontStyle fontVariant fontDecoration fontWeight letterSpacing lineHeight textIndent vAlign hAlign textOverflow selectable disablePointerEvents wordWrap wordBreak rotation".split(" ");$.Du.prototype.f=$.kq();$.U($.Du,$.Du.prototype.f);var Nda=$.Du.prototype,pF={};
$.hq(pF,[[0,"format",$.Pq],[0,"positionFormatter",$.Pq],[0,"position",$.tq],[0,"anchor",Eu],[0,"offsetX",$.tq],[0,"offsetY",$.tq],[1,"connectorStroke",$.Dq],[0,"rotation",$.qq],[0,"width",$.Qq],[0,"height",$.Qq],[0,"clip",$.tq]]);Nda.ez=pF;$.U($.Du,$.Du.prototype.ez);$.g=$.Du.prototype;$.g.enabled=function(a){if($.n(a)){var b=this.i("enabled");null===a?($.Du.u.enabled.call(this,a),this.I(1)):(null===b&&a&&this.B(1,this.Sq()),$.Du.u.enabled.call(this,a));return this}return this.i("enabled")};
$.g.background=function(a){this.Ka||(this.Ka=new $.ku,this.Ka.I(4294967295),$.L(this.Ka,this.gg,this),$.W(this,"background",this.Ka));return $.n(a)?(this.Ka.K(a),this.Ma.background=this.Ka.Ma,this):this.Ka};$.g.gg=function(a){$.X(a,1)&&(this.Ka.I(4294967295),Fu(this),this.B(16,1))};$.g.padding=function(a,b,c,d){this.Pa||(this.Pa=new $.tu,$.L(this.Pa,this.Pl,this),$.W(this,"padding",this.Pa));return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this.Ma.padding=this.Pa.Ma,this):this.Pa};
$.g.Pl=function(a){$.X(a,2)&&(Fu(this),this.B(4,9))};$.g.Sd=function(a,b){if($.n(a)){if($.z(a))if($.n(b)){if(a in this.f)this[a](b)}else return this.dd(a);else if($.D(a))for(var c in a)if(c in this.f)this[c](a[c]);return this}c={};for(var d in this.f)if(d in this.f){var e=this.i(d);$.n(e)&&(c[d]=this.i(d))}return c};$.g.AB=function(){var a=this.i("adjustFontSize");return!!a&&(a.width||a.height)};
$.g.sq=function(a){var b=this.i("fontColor")!=a;null===a?delete this.zd.fontColor:this.zd.fontColor=a;b&&this.B(4)};$.g.th=function(a){return null!=this.Ma[a]};$.g.i=function(a){Fu(this);return $.n(this.Ma[a])?this.Ma[a]:$.n(this.zd[a])?this.zd[a]:this.ma[a]};$.g.YS=function(a){Fu(this);return $.n(this.Ma[a])?this.Ma[a]:this.zd[a]};$.g.BG=function(){return this.Ma};$.g.Kd=function(){return this.ub};$.g.jm=function(){return this.ub};
$.g.clear=function(a){this.j||(this.j=[]);if(this.Da&&this.Da.length)if($.n(a))this.Da[a]&&(this.Da[a].clear(),this.j.push(this.Da[a]),$.Mu(this,a),delete this.Da[a]);else{$.Mu(this);for(a=this.Da.length;a--;){var b=this.Da[a];b&&(b.clear(),this.j.push(b))}this.Da.length=0;this.B(128,1)}else this.Da=[];return this};$.g.Vd=function(a){a=+a;return this.Da&&this.Da[a]?this.Da[a]:null};$.g.tH=function(){return this.Da?this.Da.length:0};
$.g.add=function(a,b,c){$.n(this.Da)||(this.Da=[]);if($.n(c)){var d=+c;var e=this.Da[d]}e?($.V(e),e.clear()):(e=this.j&&0<this.j.length?this.j.pop():this.vK(),$.V(e),$.n(d)?this.Da[d]=e:(this.Da.push(e),d=this.Da.length-1),e.ZD(d));e.lf(a);e.uc(b);e.Oo=this;e.state("pointNormal",e);e.state("seriesNormal",this);e.state("seriesNormalTheme",this.ma);e.da(!1);return e};$.g.vK=function(){return new $.Hu};$.g.remove=function(){this.ub&&this.ub.parent(null)};
$.g.$=function(){if(this.fd)return this;this.ub||(this.ub=$.lk(),$.du(this,this.ub));var a=this.P()?this.P().Ha():null,b=a&&!a.ff();b&&a.suspend();this.Da&&(this.uL(),rca(this),(0,$.Qe)(this.Da,function(a){a&&(a.P(this.ub),a.$())},this));this.J(8)&&(this.ub.zIndex(this.zIndex()),this.I(8));this.J(2)&&(this.ub.parent(this.P()),this.I(2));this.I(4294967295);b&&a.resume();return this};$.g.uL=function(){(0,$.Qe)(this.Da,function(a){a.uL()},this)};
$.g.t0=function(a,b,c,d,e,f){if(c){var h=c.width;var k=c.height}b=new $.gb(b.x,b.y);c=$.xo(new $.J(0,0,a.width,a.height),f);b.x-=c.x;b.y-=c.y;d=$.n(d)?$.M(d,h):0;e=$.n(e)?$.M(e,k):0;$.Qo(b,f,d,e);a.left=b.x;a.top=b.y;return a};$.g.measure=function(a,b,c,d){a=this.hl(a,b,c,d);return $.jn(a)};
$.g.hl=function(a,b,c,d){if($.K(a,$.Hu)){var e=a.i("rotation");var f=$.n(e)?e:this.i("rotation")||0;e=a.i("anchor")||this.i("anchor");"auto"==e&&c&&c.anchor&&(e=c.anchor);d=$.n(d)?d:a.la()}else f=$.n(c)&&$.n(c.rotation)?c.rotation:this.i("rotation")||0,e=$.n(c)&&c.anchor||this.i("anchor");a=$.Lu(this,a,b,c,d);b=f;e=$.xo(a,e);e=$.Jb($.bb(b),e.x,e.y);a=$.hn(a)||[];e.transform(a,0,a,0,4);return a};
$.g.ig=function(a){a=$.Du.u.ig.call(this,a);for(var b=a.domTarget,c;$.K(b,$.hg);){c=b.tag;if($.K(c,$.Y)||!$.wo(c))break;b=b.parent()}a.labelIndex=$.N(c);return a};$.g.R=function(){$.td(this.Da,this.j,this.b,this.ub,this.Ka,this.Pa,this.b,this.N);this.N=this.b=this.Pa=this.Ka=this.ub=this.j=this.Da=null;$.Du.u.R.call(this)};
$.g.F=function(){var a=$.Du.u.F.call(this);$.n(a.enabled)||delete a.enabled;if(this.th("background")&&!$.Jc(this.Ma.background)){var b=this.background().F();$.Jc(b)||(a.background=b)}this.th("padding")&&!$.Jc(this.Ma.padding)&&(b=this.padding().F(),$.Jc(b)||(a.padding=b));(b=a.adjustFontSize)&&($.n(b.width)||$.n(b.height))||delete a.adjustFontSize;$.Hq(this,this.f,a,"Labels factory label text",void 0,!0);$.Hq(this,this.ez,a,"Labels factory label props",void 0,!0);return a};
$.g.X=function(a,b){var c=this.enabled();$.Du.u.X.call(this,a,b);b?($.zq(this.ma,this.f,a),$.zq(this.ma,this.ez,a),"enabled"in a&&(this.ma.enabled=a.enabled)):($.zq(this,this.f,a),$.zq(this,this.ez,a),this.enabled("enabled"in a?a.enabled:c));c="background";if(c in a){var d=this.background();b?d.ia(!!b,a[c]):this.background(a[c]);this.ma[c]=d.ma;this.Ma[c]=d.Ma}c="padding";c in a&&(d=this.padding(),b?d.ia(!!b,a[c]):this.padding(a[c]),this.ma[c]=d.ma,this.Ma[c]=d.Ma)};$.H($.Hu,$.Y);$.g=$.Hu.prototype;
$.g.qa=$.Y.prototype.qa|8;$.g.sa=$.Y.prototype.sa|3856;$.g.Kd=function(){return this.ub};$.g.state=function(a,b,c){if($.n(b)){$.n(c)&&(c=$.N(c));var d=Pu(this);if(this.Jw[a]!=b||(0,$.za)(d,a)!=c)this.Jw[a]=b,$.n(c)||-1!=(0,$.za)(d,a)||(c=d.length),(0,window.isNaN)(c)||$.Qu(this,a,c),this.B(17,9);return this}return this.Jw[a]};$.g.jQ=$.kq();$.U($.Hu,$.Hu.prototype.jQ);var Oda=$.Hu.prototype,qF={};
$.hq(qF,[[0,"format",$.Pq],[0,"positionFormatter",$.Pq],[0,"position",$.tq],[0,"anchor",Eu],[0,"offsetX",$.tq],[0,"offsetY",$.tq],[1,"connectorStroke",$.Dq],[0,"rotation",$.qq],[0,"width",$.Qq],[0,"height",$.Qq],[0,"clip",$.tq],[0,"enabled",$.Nq]]);Oda.FB=qF;$.U($.Hu,$.Hu.prototype.FB);$.g=$.Hu.prototype;$.g.la=function(){return this.wd};$.g.ZD=function(a){this.wd=+a};
$.g.background=function(a){var b=null===a;b||this.Ka||(this.Ka=new $.ku,$.L(this.Ka,this.gg,this));return $.n(a)?(b?($.qd(this.Ka),delete this.Ma.background):(this.Ka.K(a),Tu(this)),this):this.Ka};$.g.gg=function(a){$.X(a,1)&&(Tu(this),this.B(16,1))};
$.g.padding=function(a,b,c,d){var e=null===a;e||this.Pa||(this.Pa=new $.tu,$.W(this,"padding",this.Pa),$.L(this.Pa,this.vk,this));if($.n(a)){if(e)$.qd(this.Pa),delete this.Ma.padding;else{if($.K(a,$.tu))for(var f in ru)e=a.i(f),this.Pa.pa(f,e);else this.Pa.K.apply(this.Pa,arguments);Tu(this)}return this}return this.Pa};$.g.vk=function(a){$.X(a,2)&&(Tu(this),this.B(16,8))};$.g.Vk=function(a){return $.n(a)?(a=Eu(a),this.zd.anchor!==a&&(this.zd.anchor=a,$.n(this.Ma.anchor)||this.B(16,8)),this):this.zd.anchor};
$.g.lf=function(a){return $.n(a)?(this.D!=a&&(this.D=a,this.B(16,1)),this):this.D};$.g.uc=function(a){return $.n(a)?(this.U!=a&&(this.U=a,this.B(2052,8)),this):this.U};$.g.th=function(a){return null!=this.Ma[a]};$.g.i=function(a){Tu(this);return $.n(this.Ma[a])?this.Ma[a]:this.ma[a]};$.g.YS=function(a){Tu(this);return this.Ma[a]};
$.g.zfa=function(a){if(this.Oo)var b=this.Oo;else nF||(nF=new $.Du,nF.pa("positionFormatter",function(){return this.value})),b=nF;var c=$.Iu(this);c.format=String(a);return b.measure({},this.uc(),c)};$.g.oi=function(){$.td(this.Ka,this.Pa);this.Pa=this.Ka=null;this.ma={};this.Ma={};this.zd={};this.Jw={pointNormal:this};this.O=null;this.Oo&&(this.Jw.seriesNormal=this.Oo,this.Jw.seriesNormalTheme=this.Oo.ma);this.b=null};
$.g.kd=function(a,b){$.n(a)&&this.K(a);null!=b&&(this.Jw.pointState=b);($.n(a)||$.n(b))&&this.B(17,9)};$.g.ic=function(a){if("adjustFontSize"==a){var b=Uu(this,a,function(a){return a.width});a=Uu(this,a,function(a){return a.height});return{width:b,height:a}}b=Uu(this,a);"background"!=a||$.n(b)||(b=null);return b};$.g.clear=function(){this.oi();this.ub&&(this.ub.parent(null),this.ub.ll());this.B(2)};
$.g.yf=function(a,b){this.b||$.Iu(this);var c=this.b.positionFormatter,d=this.ar&&this.rb.path()?"center":Eu(this.b.anchor)||"left-top",e=Su(this),f=this.b.offsetX,h=this.b.offsetY,k=0,l=0;b&&(k=b.width,l=b.height);var m=this.uc(),p=$.Qc(c.call(m,m));p=new $.gb(p.x,p.y);m=m&&m.connectorPoint;this.Zg&&(this.Zg.clear(),this.Zg.jc(1,0,0,1,0,0));m&&(this.Zg||(this.Zg=this.ub.path(),this.Zg.Lp(!0)),this.Zg.stroke(this.b.connectorStroke),c=$.Qc(c.call(m,m)),this.Zg.moveTo(p.x,p.y).lineTo(c.x,c.y));c=$.xo(new $.J(0,
0,a.width,a.height),d);p.x-=c.x;p.y-=c.y;f=$.n(f)?$.M(f,k):0;h=$.n(h)?$.M(h,l):0;e?$.Qo(p,d,h,f):$.Qo(p,d,f,h);a.left=p.x;a.top=p.y;Gu(this)?this.rb.x(this.ug+p.x).y(this.vg+p.y):this.rb.setPosition(this.ug+p.x,this.vg+p.y)};
$.g.rC=function(){var a=this.uc(),b=this.b.positionFormatter,c=$.Qc(b.call(a,a));a=a&&a.connectorPoint;this.Zg&&(this.Zg.clear(),this.Zg.jc(1,0,0,1,0,0));a&&(this.Zg||(this.Zg=this.ub.path(),this.Zg.Lp(!0)),this.Zg.stroke(this.b.connectorStroke),b=$.Qc(b.call(a,a)),this.Zg.moveTo(c.x,c.y).lineTo(b.x,b.y))};
$.g.Lh=function(a,b,c){var d=$.n(c)?function(a){return c[a]}:$.K(this,$.Hu)?this.dd:$.Du.prototype.YS;if($.K(a,$.Mh)){var e=d.call(this,"text");var f=d.call(this,"useHtml");if(b||$.n(e)||$.n(f))f?a.htmlText(e):a.text(e);a.fontSize(d.call(this,"fontSize"));a.fontFamily(d.call(this,"fontFamily"));a.color(d.call(this,"fontColor"));a.opacity(d.call(this,"fontOpacity"));a.direction(d.call(this,"textDirection"));a.fontStyle(d.call(this,"fontStyle"));a.fontVariant(d.call(this,"fontVariant"));a.Lq(d.call(this,
"fontDecoration"));a.fontWeight(d.call(this,"fontWeight"));a.letterSpacing(d.call(this,"letterSpacing"));a.lineHeight(d.call(this,"lineHeight"));a.textIndent(d.call(this,"textIndent"));a.textShadow(d.call(this,"textShadow"));a.vAlign(d.call(this,"vAlign"));a.km(d.call(this,"hAlign"));a.textOverflow(d.call(this,"textOverflow"));a.rm(d.call(this,"selectable"));a.td(d.call(this,"disablePointerEvents"));a.wordWrap(d.call(this,"wordWrap"));a.wu(d.call(this,"wordBreak"))}else{b={};e=0;for(f=oF.length;e<
f;e++){var h=oF[e];b[h]=d.call(this,h)}a.style(b);oca(a)}};$.g.uL=function(){this.J(16)&&(this.b=null);var a=this.ic("enabled");if(!Gu(this)&&a){a=this.rb;if(Wu(this)||this.ub&&!this.ub.parent())a=this.ii(),$.kg().Dp().appendChild(a.Kd()),this.f&&this.f.content(null);var b=$.Iu(this),c=this.$n(b.format,this.lf(),this.la());a.text($.n(c)?String(c):"");this.Lh(a,!0,b)}};
$.g.$=function(){var a=this.Oo,b;this.ub||(this.ub=$.lk());this.ub.tag=this.wd;var c=this.ic("enabled");if(Ru(this,1))if(c)this.P()&&!this.ub.parent()&&this.ub.parent(this.P()),this.I(1);else return this.ub&&this.ub.parent(null),this.I(1),this;if(!c)return this;Ru(this,2)&&(c&&((!this.Oo.enabled()||$.n(this.enabled())&&!this.enabled())&&this.Oo.Kd()&&(this.P()||this.P(a.Kd()),this.P().parent()||this.P().parent(a.P())),this.P()&&((b=Gu(this))?this.ub.parent(this.P()):(this.f||(this.f=new $.Uh(void 0),
this.f.zIndex(1)),this.f.parent(this.ub),this.f.content(null),this.f.content(this.rb.Kd())))),this.I(2));this.J(8)&&(this.P()&&this.P().zIndex(a.zIndex()),this.ub.zIndex(this.zIndex()),this.I(8));this.J(1024)&&($.Mu(a,this.la()),this.I(1024));if(Ru(this,20)){Tu(this);this.b=null;b=Gu(this);c=$.Iu(this);var d=null!==c.width,e=null!==c.height,f=c.useHtml;var h=this.lf();var k=this.$n(c.format,h,this.la());this.ub.jc(1,0,0,1,0,0);var l=c.background,m=c.background;!$.D(m)||!m||"enabled"in m||(m.enabled=
!1);(h=$.z(m)||$.da(m)||m&&m.enabled)||this.g?(this.g||(this.g=new $.ku,this.g.zIndex(0),this.g.P(this.ub)),this.ba&&this.g.K($.K(this.ba,$.ku)?this.ba.F():this.ba),this.g.K(m),this.g.$()):l&&(this.ba=l);this.ii();b?this.rb.parent(this.ub):(this.f||(this.f=new $.Uh(void 0),this.f.zIndex(1)),this.f.parent(this.ub),this.f.content(this.rb.Kd()));this.G=Ju(this,function(a,b){var c=$.K(b,$.Du)?b.ja():$.K(b,$.Hu)?null:b.ja;if(c)return c});this.G||(l=this.ja(),(a.P()||l)&&b?this.G=l?l:a.P().pb():this.G=
$.gn(0,0,0,0));if(this.G){var p=this.G.width;var q=this.G.height}b?(this.rb.width(null),this.rb.height(null),f?this.rb.htmlText($.n(k)?String(k):""):this.rb.text($.n(k)?String(k):"")):this.rb.text($.n(k)?String(k):"");this.Lh(this.rb,!0,c);b=new $.J(0,0,0,0);if($.K(c.padding,$.tu))var r=c.padding;else if($.D(c.padding)||$.ea(c.padding)||$.z(c.padding))r=new $.tu,$.sd(this,r),r.K(c.padding);if(d||e){if(d){f=Math.ceil($.M(c.width,p));if(r){var t=r.wg(f);this.ug=$.M(r.i("left"),f)}else this.ug=0,t=f;
b.width=f;f=!1}else k=this.rb.pb(),f=k.width,r?(b.width=r.rk(f),this.ug=$.M(r.i("left"),b.width)):(this.ug=0,b.width=f),f=!0;$.n(t)&&this.rb.width(t);if(e){k=Math.ceil($.M(c.height,q));if(r){var u=r.Jh(k);this.vg=$.M(r.i("top"),k)}else this.vg=0,u=k;b.height=k;k=!1}else k=this.rb.pb(),k=k.height,r?(b.height=r.Jj(k),this.vg=$.M(r.i("top"),b.height)):(this.vg=0,b.height=k),k=!0;$.n(u)&&this.rb.height(u)}else k=this.rb.pb(),f=k.width,k=k.height,r?(b.width=r.rk(f),this.ug=$.M(r.i("left"),b.width),b.height=
r.Jj(k),this.vg=$.M(r.i("top"),b.height)):(this.ug=0,b.width=f,this.vg=0,b.height=k),k=f=!0;if(!f&&c.adjustByHeight||!k&&c.adjustByHeight){var v;"different"==$.Cu(a)?v=$.Vu(this,t,u,c.minFontSize,c.maxFontSize,c.adjustByWidth,c.adjustByHeight):v=Ju(this,function(a,b){if($.K(b,$.Du)&&$.n(b.zd.fontSize))return b.zd.fontSize});$.V(this);this.rb.fontSize(v);d?(f=Math.ceil($.M(c.width,p)),b.width=f):(k=this.rb.pb(),f=k.width,r?b.width=r.rk(f):b.width=f);e?(k=Math.ceil($.M(c.height,q)),b.height=k):(k=this.rb.pb(),
k=k.height,r?b.height=r.Jj(k):b.height=k);this.da(!1)}this.xb=b;this.B(2048);this.I(20)}Ru(this,2048)&&(this.yf(this.xb,this.G),h&&(this.g.ja(this.xb),this.g.$()),this.b.rotation&&(a=$.xo(this.xb,this.b.anchor),a=$.Jb($.bb(this.b.rotation),a.x,a.y),this.ub.jc(a.ed,a.Me,a.We,a.Ee,a.Ad,a.xd)),this.B(512),this.I(2048));this.J(512)&&(this.rC(),this.I(512));Ru(this,256)&&(this.ub&&this.ub.clip(this.b.clip),this.I(256));return this};
$.g.ii=function(){var a=$.K(this.rb,ou),b=$.K(this.rb,$.Mh);Wu(this)&&(a&&this.f?this.f.parent(null):b&&this.rb&&this.rb.parent(null),Gu(this)?(this.rb=new $.Mh,this.rb.ee("aria-hidden","true"),this.rb.zIndex(1),this.rb.td(!0)):(this.rb=new ou,this.rb.Kd().setAttribute("aria-hidden","true")));return this.rb};$.g.$n=function(a,b,c){a=$.Ku(this.Oo,a,b,c);b=$.Iu(this).maxLength;return a=pu(a,b)};
$.g.F=function(){var a=$.Hu.u.F.call(this);if($.n(this.dd("background"))){var b=this.background().F();$.Jc(b)||(a.background=b)}$.n(this.dd("padding"))&&(b=this.padding().F(),$.Jc(b)||(a.padding=b));$.Hq(this,this.jQ,a,"Labels factory label text");$.Hq(this,this.FB,a,"Labels factory label props");(b=a.adjustFontSize)&&($.n(b.width)||$.n(b.height))||delete a.adjustFontSize;this.th("enabled")||delete a.enabled;return a};
$.g.X=function(a,b){var c=this.i("enabled");$.zq(this,this.jQ,a);$.zq(this,this.FB,a);$.Hu.u.X.call(this,a,b);$.n(a.enabled)||delete this.Ma.enabled;this.pa("enabled","enabled"in a?a.enabled:c);c="background";if(c in a){var d=this.background();b?d.ia(!!b,a[c]):this.background(a[c]);this.ma[c]=d.ma;this.Ma[c]=d.Ma}c="padding";c in a&&(d=this.padding(),b?d.ia(!!b,a[c]):this.padding(a[c]),this.ma[c]=d.ma,this.Ma[c]=d.Ma)};
$.g.R=function(){$.td(this.Ka,this.Pa,this.g,this.rb,this.ub,this.qv);this.qv=this.ub=this.Pa=this.Ka=this.rb=this.g=null;$.Hu.u.R.call(this)};$.H(Xu,$.Du);$.ju(Xu,$.Du);Xu.prototype.vK=function(){return new Yu};$.H(Yu,$.Hu);var rF=$.Du.prototype;rF.background=rF.background;rF.padding=rF.padding;rF.enabled=rF.enabled;rF.getLabel=rF.Vd;rF.getLabelsCount=rF.tH;rF=$.Hu.prototype;rF.getIndex=rF.la;rF.padding=rF.padding;rF.background=rF.background;rF.clear=rF.clear;rF.measureWithText=rF.zfa;rF.draw=rF.$;
rF=Xu.prototype;$.F("anychart.standalones.labelsFactory",function(){var a=new Xu;a.ia(!0,$.mm("standalones.labelsFactory"));return a});rF.draw=rF.$;rF.parentBounds=rF.ja;rF.container=rF.P;rF.add=rF.add;rF.clear=rF.clear;rF.measure=rF.measure;rF.measureWithTransform=rF.hl;$.g=Zu.prototype;$.g.Ag=function(a){return $.n(a)?(this.lc.Ag=a,this):this.lc.Ag};$.g.mj=function(a){return $.n(a)?(this.lc.mj=a,this):this.lc.mj};$.g.sm=function(a){return $.n(a)?(this.lc.sm=a,this):this.lc.sm};$.g.nl=function(a){return $.n(a)?(this.lc.nl=a,this):this.lc.nl};$.g.getData=function(a){var b=this.lc.Ag;return b?b.get.apply(b,arguments):void 0};$.g.Yn=function(a){var b=this.lc.Ag?this.lc.Ag.o(a):void 0;$.n(b)||(b=(b=this.lc.values.series)?b.value.o(a):void 0);return b};
$.g.Eg=function(a){var b=void 0;if(a)for(var c=0;c<this.lc.mj.length&&(b=(b=this.lc.mj[c])&&b.Eg?b.Eg(a):void 0,!$.n(b));c++);return b};$.fl.anychart.format.Context=function(a,b,c){$.fl.anychart.format.Context.nF(this,"constructor",a,b,c)};$.H($.fl.anychart.format.Context,Zu);$.rw=$.fl.anychart.format.Context;$.F("anychart.format.Context",$.rw);var sF=$.rw.prototype;sF.getData=sF.getData;sF.getMeta=sF.Yn;sF.getStat=sF.Eg;var Pda=-1!=Bc.indexOf("PhantomJS"),Cca=!($.vd&&!Pda&&$.bd("534")&&!$.bd("536"));$.H($.bv,$.Yq);$.g=$.bv.prototype;$.g.qa=1;$.g.label=function(a){this.g||(this.g=this.b.tK(),$.L(this.g,this.H9,this),this.g.Fa("defaultFontSettings","defaultLabelSettings","defaultNoDataLabel"),$.W(this,"label",this.g));return $.n(a)?(this.g.K(a),this):this.g};$.g.H9=function(){this.ta(1)};$.g.X=function(a,b){$.bv.u.X.call(this,a,b);this.label().ia(!!b,a.label)};$.g.R=function(){$.qd(this.g);$.bv.u.R.call(this)};$.H(cv,$.Yq);$.g=cv.prototype;$.g.sa=16;$.g.qa=2;$.g.text=function(a){return dv(this,"text",a)};$.g.hQ=function(a){return dv(this,"url",a)};$.g.eQ=function(a){return dv(this,"alt",a)};$.g.fQ=function(a){return dv(this,"imgAlt",a)};$.g.gQ=function(a){return dv(this,"logoSrc",a)};$.g.enabled=function(a){return dv(this,"enabled",a)};
$.g.F=function(){var a={},b=this.text(),c=this.hQ(),d=this.eQ(),e=this.fQ(),f=this.gQ(),h=this.enabled();$.n(b)&&(a.text=b);$.n(c)&&(a.url=c);$.n(d)&&(a.alt=d);$.n(e)&&(a.imgAlt=e);$.n(f)&&(a.logoSrc=f);$.n(h)&&(a.enabled=h);return a};$.g.Od=function(a){return $.z(a)?{text:a,enabled:!0}:$.da(a)||null===a?{enabled:!!a}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?("text"in c&&this.text(c.text),this.enabled(c.enabled),!0):!1};
$.g.X=function(a){$.V(this);this.text(a.text);this.hQ(a.url);this.eQ(a.alt);this.fQ(a.imgAlt);this.gQ(a.logoSrc);this.enabled(a.enabled);this.da(!0)};var tF=cv.prototype;tF.text=tF.text;tF.url=tF.hQ;tF.alt=tF.eQ;tF.imgAlt=tF.fQ;tF.logoSrc=tF.gQ;tF.enabled=tF.enabled;$.H(fv,$.Y);fv.prototype.qa=$.Y.prototype.qa|8;fv.prototype.sa=$.Y.prototype.sa|16;var uF={};
$.hq(uF,[[0,"fontSize",$.lq],[0,"fontFamily",$.oq],[0,"fontColor",$.oq],[0,"fontOpacity",$.Tq],[0,"fontDecoration",$.Wk],[0,"fontStyle",$.Xk],[0,"fontVariant",$.Yk],[0,"fontWeight",$.lq],[0,"letterSpacing",$.lq],[0,"textDirection",$.Zk],[0,"textShadow",$.ac],[0,"lineHeight",$.lq],[0,"textIndent",$.lq],[0,"vAlign",$.Vk],[0,"hAlign",$.Uk],[0,"wordWrap",$.oq],[0,"wordBreak",$.oq],[0,"textOverflow",$.oq],[0,"selectable",$.uq],[0,"disablePointerEvents",$.uq],[0,"useHtml",$.uq]]);$.U(fv,uF);var vF={};
$.gq(vF,0,"text",$.pq);$.g=fv.prototype;$.g.parent=function(a){if($.n(a)){if(this.Y!=a){var b=String($.oa(this));null===a?($.Zq(this.Y,this.Qc,this),delete this.Y.ab[b],this.Y=null):(this.Y&&$.Zq(this.Y,this.Qc,this),this.Y=a,this.Y.ab[b]=this,$.L(this.Y,this.Qc,this))}return this}return this.Y};$.g.Qc=function(a){var b=16,c=1;if($.X(a,8)||$.X(a,1))b|=4,c|=8;$.X(a,32768)&&(b|=1);this.Rb=null;this.B(b,c)};$.g.i=$.Xq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;
$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};$.g.Sd=function(a,b){if($.n(a)){if($.z(a))if($.n(b)){if(a in uF)this[a](b)}else return this.Ma[a];else if($.D(a)){$.V(this);for(var c in a)a.hasOwnProperty(c)&&this.Sd(c,a[c]);this.da(!0)}return this}c={};for(var d in uF){var e=this.i(d);$.n(e)&&(c[d]=e)}return c};
$.g.Lh=function(a,b){for(var c in uF)if(uF.hasOwnProperty(c)){switch(c){case "fontColor":var d="color";break;case "textDirection":d="direction";break;case "fontOpacity":d="opacity";break;case "fontDecoration":d="decoration";break;default:d=c}if("useHtml"!=d&&(b||a[d]()!==this.i(c)))a[d](this.i(c))}if("text"in this.ua){c=this.i("text");var e=(d=!!this.i("useHtml"))?a.htmlText():a.text();if(b||c!==e)d?a.htmlText(c):a.text(c)}};
$.g.enabled=function(a){return $.n(a)?(this.Ma.enabled!=a&&(this.Ma.enabled=a,this.B(1,32777),this.Ma.enabled?this.da(!0):(0,window.isNaN)(this.wo)&&$.V(this)),this):this.i("enabled")};$.g.F=function(){var a=fv.u.F.call(this);$.Hq(this,uF,a,"Text");return a};$.g.X=function(a,b){fv.u.X.call(this,a,b);b?$.yq(this.ma,uF,a):$.zq(this,uF,a)};var wF=fv.prototype;wF.textSettings=wF.Sd;$.H(gv,fv);$.U(gv,vF);gv.prototype.qa=fv.prototype.qa;gv.prototype.sa=fv.prototype.sa|64;gv.prototype.ga=function(){var a=this.i("adjustFontSize");a&&(a.width||a.height)&&this.B(4,9)};
var xF=function(){var a={};$.gq(a,0,"position",$.Ck);$.gq(a,0,"width",$.Qq);$.gq(a,0,"height",$.Qq);$.gq(a,0,"anchor",function(a){return null===a?null:$.Bk(a)});$.gq(a,0,"offsetX",$.so);$.gq(a,0,"offsetY",$.so);$.gq(a,0,"rotation",$.mq);$.gq(a,1,"adjustFontSize",nq);$.gq(a,0,"minFontSize",$.qq);$.gq(a,0,"maxFontSize",$.qq);return a}();$.U(gv,xF);$.g=gv.prototype;
$.g.parent=function(a){var b=gv.u.parent.call(this);return $.n(a)?(b!=a&&(gv.u.parent.call(this,a),null===a?(this.background().parent(null),this.padding().parent(null)):(this.background().Ye().parent(a.background()),this.padding().parent(a.padding()))),this):b};$.g.background=function(a){this.Ka||(this.Ka=new $.ku,this.Ka.il(!0),$.L(this.Ka,this.gg,this),$.W(this,"background",this.Ka));return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.gg=function(a){$.X(a,1)&&this.B(64,1)};
$.g.padding=function(a,b,c,d){this.Pa||(this.Pa=new $.tu,$.L(this.Pa,this.vk,this),$.W(this,"padding",this.Pa));return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this):this.Pa};$.g.vk=function(a){$.X(a,2)&&this.B(4,9)};$.g.w0=function(){var a=this.i("rotation");return null==a||(0,window.isNaN)(a)?this.ka:a};$.g.Vk=function(a){return $.n(a)?(this.ba!=a&&(this.ba=a,this.i("anchor")||this.B(4,9)),this):this.ba};$.g.Tz=function(){return this.i("anchor")||this.Vk()};$.g.jm=function(){return this.Wa};
$.g.Rn=function(a,b,c,d){var e=this.i("adjustFontSize");if(e)if(e.width&&e.height){if(a>c||b>d)return 1;if(a<c||b<d)return-1}else if(e.width){if(a<c)return-1;if(a>c)return 1}else if(e.height){if(b<d)return-1;if(b>d)return 1}return 0};
$.g.TQ=function(a,b){var c=this.i("minFontSize"),d=this.i("maxFontSize"),e=Math.round((d+c)/2),f=d,h=$.pk();h.ee("aria-hidden","true");this.Lh(h,!0);h.fontSize(d);if(0>=this.Rn(h.pb().width,h.pb().height,a,b))return d;h.fontSize(e);for(var k=d=this.Rn(h.pb().width,h.pb().height,a,b);c!=f;){if(0>d)c=Math.min(e+1,f),e+=Math.floor((f-e)/2);else if(0<d)f=Math.max(e-1,c),e-=Math.ceil((e-c)/2);else break;h.fontSize(e);d=this.Rn(h.pb().width,h.pb().height,a,b);if(0>=k*d)break}if(!d)return $.qd(h),e;do e+=
k,h.fontSize(e),d=this.Rn(h.pb().width,h.pb().height,a,b);while(0>k*d);$.qd(h);0<k&&(e-=k);return e};$.g.C0=function(){return this.ja()};$.g.iQ=function(){return this.i("position")||"center"};
$.g.yf=function(){var a=this.ja()||$.gn(0,0,0,0),b=a.left,c=a.top,d=a.width,e=a.height;a=new $.J(0,0,this.yi,this.wi);var f=new $.gb(0,0);if(this.ja())switch(this.iQ()){case "left-top":f.x=b;f.y=c;break;case "left-center":f.x=b;f.y=c+e/2;break;case "left-bottom":f.x=b;f.y=c+e;break;case "center-top":f.x=b+d/2;f.y=c;break;case "center":f.x=b+d/2;f.y=c+e/2;break;case "center-bottom":f.x=b+d/2;f.y=c+e;break;case "right-top":f.x=b+d;f.y=c;break;case "right-center":f.x=b+d;f.y=c+e/2;break;case "right-bottom":f.x=
b+d,f.y=c+e}else f.x=0,f.y=0;b=$.xo(new $.J(0,0,this.yi,this.wi),this.Tz());f.x-=b.x;f.y-=b.y;d=$.n(this.i("offsetX"))?$.M(this.i("offsetX"),d):0;e=$.n(this.i("offsetY"))?$.M(this.i("offsetY"),e):0;$.Qo(f,this.Tz(),d,e);this.ug+=f.x;this.vg+=f.y;a.left=f.x;a.top=f.y;this.rb.x(this.ug).y(this.vg);return a};
$.g.$=function(){if(!this.Bc())return this;var a=iv(this),b=this.P();this.J(16)&&(this.Lh(this.rb,a),this.I(16));(a=$.jr(this,"background"))&&!a.P()&&a.P(this.Wa);this.J(2)&&(a&&a.$(),this.rb&&this.rb.parent(this.Wa),this.Wa.parent(b),this.I(2));this.J(8)&&(a&&a.zIndex(0),this.rb&&this.rb.zIndex(1),this.Wa.zIndex(this.zIndex()),this.I(8));this.J(4)&&(hv(this),this.N=this.yf(),this.B(64));this.J(64)&&(a&&(a.il(!1),$.V(a),a.ja(this.N),a.$(),a.da(!1)),this.I(64));if(this.J(4)){this.Wa.jc(1,0,0,1,0,0);
b=this.w0();a=this.Tz();if(!$.n(b)||(0,window.isNaN)(b))b=0;a=$.xo(this.N,a);this.Wa.aE(b,a.x,a.y);this.I(4)}return this};$.g.remove=function(){this.Wa.parent(null)};$.g.gi=function(){if(this.J(16)){var a=iv(this);this.Lh(this.rb,a);this.I(16)}this.J(4)&&hv(this);return new $.J(0,0,this.yi,this.wi)};$.g.F=function(){var a=gv.u.F.call(this);$.Hq(this,vF,a,"Label Base Text");$.Hq(this,xF,a,"Label Base");a.background=this.background().F();a.padding=this.padding().F();return a};
$.g.Od=function(a){return $.z(a)?{text:a,enabled:!0}:null};$.g.Ce=function(a,b){var c=this.Od(arguments[1]);return c?(a?this.ma.text!==c.text&&(this.ma.text=c.text,this.B(20,9)):this.Ma.text!==c.text&&(this.Ma.text=c.text,this.B(20,9)),this.enabled(c.enabled),!0):$.Y.prototype.Ce.apply(this,arguments)};$.g.X=function(a,b){gv.u.X.call(this,a,b);$.zq(this,vF,a,b);$.zq(this,xF,a,b);this.background().ia(!!b,a.background);this.padding().ia(!!b,a.padding)};
$.g.R=function(){$.td(this.Pa,this.Ka,this.rb,this.Wa);delete this.Pa;delete this.Ka;delete this.rb;delete this.Wa;gv.u.R.call(this)};$.H($.jv,gv);$.jv.prototype.sa=gv.prototype.sa|128;var yF={};$.gq(yF,0,"visible",$.uq);$.U($.jv,yF);$.jv.prototype.X=function(a,b){$.jv.u.X.call(this,a,b);b&&$.zq(this,yF,a)};$.jv.prototype.$=function(){if(!this.Bc())return this;$.jv.u.$.call(this);this.J(128)&&(this.jm().visible(this.i("visible")),this.I(128));return this};$.H(kv,$.jv);$.ju(kv,$.jv);var zF=$.jv.prototype;zF.background=zF.background;zF.padding=zF.padding;zF=kv.prototype;
$.F("anychart.standalones.label",function(){var a=new kv;a.K($.mm("standalones.label"));return a});zF.draw=zF.$;zF.parentBounds=zF.ja;zF.container=zF.P;$.H(lv,fv);var AF=function(){var a={};$.hq(a,[[0,"x",$.tq],[0,"y",$.tq],[0,"iconType",function(a){return $.z(a)?$.Pk(a):a}],[0,"iconTextSpacing",function(a){var b=Number(a);return null===a?this.mf("iconTextSpacing"):(0,window.isNaN)(b)?this.i("iconTextSpacing"):b}],[0,"maxWidth",$.tq],[0,"maxHeight",$.tq],[1,"iconFill",$.Eq],[1,"iconStroke",$.Dq],[1,"iconHatchFill",$.Fq]]);return a}();$.U(lv,vF);$.U(lv,AF);$.g=lv.prototype;$.g.qa=fv.prototype.qa|2;$.g.sa=fv.prototype.sa;
$.g.Xx=function(a){return $.n(a)?(a=!!a,this.ms!=a&&(this.ms=a,this.zy=!0,this.Ub=null,this.B(20,1)),this):this.ms};$.g.disabled=function(a){return $.n(a)?(this.Mp!=a&&(this.Mp=a,this.zy=!0,this.B(16),this.$()),this):this.Mp};$.g.Jv=function(a){return $.n(a)?($.E(a)||(a=null===a?null:$.Ik(a)),this.Kv!=a&&(this.Kv=a,this.zy=!0,this.B(16,1)),this):this.Kv};$.g.Kt=function(a,b,c,d,e,f,h){if($.n(a)){var k=$.Vb.apply(null,arguments);this.Hv!=k&&(this.Hv=k,this.zy=!0,this.B(16,1));return this}return this.Hv};
$.g.Lt=function(a,b,c,d,e){if($.n(a)){var f=$.Yb.apply(null,arguments);this.Iv!=f&&(this.Iv=f,this.zy=!0,this.B(16,1));return this}return this.Iv};$.g.CI=function(a){return $.n(a)?(this.gia=$.N(a),this):this.gia};$.g.si=function(a){return $.n(a)?(this.fia=a,this):this.fia};$.g.o=function(a){return $.n(a)?(this.ki=a,this):this.ki};$.g.PT=function(a){return $.n(a)?(this.t1=a,this):this.t1};$.g.Lv=function(a){return $.n(a)?(a=$.N(a),this.Uo!=a&&(this.Uo=a,this.Ub=null,this.B(4,9)),this):this.Uo};
$.g.remove=function(){this.ub&&this.ub.parent(null)};
$.g.$=function(){if(!this.Bc())return this;var a;if(a=!this.Mv)this.Mv=this.ub.path(),this.Mv.jc(1,0,0,1,0,0);this.FN||(this.FN=this.ub.rect().zIndex(5).stroke(null).fill("#FFFFFF 0.00001"));this.ub.cursor(this.PT());!$.n(this.i("iconHatchFill"))||$.Vo(this.i("iconHatchFill"))||this.ls||(this.ls=this.ub.path(),this.ls.jc(1,0,0,1,0,0),this.ls.stroke("none"));if(this.J(8)){var b=this.zIndex();this.ub.zIndex(b);this.I(8)}this.J(2)&&(b=this.P(),this.ub.parent(b),this.I(2));b=this.i("iconType");b=$.z(b)?
uca(b):b;this.J(16)&&(pv(this,this.xa,a),this.zy&&!a&&(ov(this,b),this.zy=!1),qv(this,this.xa),this.I(16));if(this.J(4)){this.gi();ov(this,b);this.FN.uf($.gn(0,0,this.Ub.width,this.Ub.height));this.zy=!1;var c=this.Sc.ka;b=this.ms?this.Uo+this.i("iconTextSpacing"):0;this.Sc.x(b);if(1<c.length){var d=$.bc(this.i("iconStroke"));b=0;c=c[0];for(var e=0,f=c.length;e<f;e++)b=Math.max(b,c[e].height);d=Math.max(b,this.Uo+d)/2;b=d-b/2}else d=this.Ub.height/2,b=d-this.HV.height/2;this.Sc.y(b);this.Mv.jc(1,
0,0,1,0,d-this.Uo/2);this.ub.jc(1,0,0,1,this.Ub.left,this.Ub.top);pv(this,this.xa,a);this.I(4)}return this};$.g.gi=function(){if(!this.enabled())return new $.J(0,0,0,0);this.Ub||this.On();return this.Ub};$.g.lb=function(){this.Ub||this.On();return this.Ub};$.g.ho=function(){this.Ub=null;lv.u.ho.call(this)};
$.g.On=function(){var a=this.ja(),b=this.text();b=(null===b||0>b.indexOf("\n"))&&!this.i("useHtml")?this.HV:this.Sc.pb();var c=b.width,d=b.height,e=$.bc(this.i("iconStroke")),f=this.Uo+e;if(a){var h=a.width;var k=a.height}else h=k=void 0;var l=$.M(this.i("maxWidth"),h);e=h?$.M(this.i("x"),h):0;k=k?$.M(this.i("y"),k):0;var m=this.ms?f+this.i("iconTextSpacing"):0;this.jF=window.NaN;l?(h=l-m,c&&c>h&&"..."==this.Sc.textOverflow()?this.jF=h/c:(this.Sc.width(h),b=this.Sc.pb()),c=l):(l=h?Math.min(h-m,c):
c,l=Math.max(l,1E-5),"..."==this.Sc.textOverflow()&&c&&c>l&&(this.jF=l/c),c=l+m);l=this.Sc.ka;if(1<l.length){d=0;f=l[0];l=0;for(h=f.length;l<h;l++)d=Math.max(d,f[l].height);d=Math.max(d/2,this.Uo/2)+Math.max(b.height-d/2,this.Uo/2)}else d=Math.max(this.ms?f:0,d);this.Ub=a?new $.J(a.qb()+e,a.bc()+k,c,d):new $.J(e,k,c,d)};$.g.Xd=function(){return this.lb().width};$.g.ud=function(){return this.lb().height};
$.g.XJ=function(){this.yo=this.xo=0;this.ms=!0;this.Mp=!1;this.iconType("square");this.iconFill("black");this.iconStroke("none");this.iconHatchFill(null);this.Kv=null;this.Iv=this.Hv="none";this.iconTextSpacing(5)};$.g.clear=function(){$.V(this);this.Ub=null;this.Ma={};this.XJ();this.Vf(null);this.oha=this.si();this.pha=this.CI();this.CI(window.NaN);this.si(window.NaN);this.o(null);this.pa("maxWidth",null);this.pa("maxHeight",null);this.remove();this.B(4294967295);this.da(!1);return this};
$.g.ii=function(){return this.Sc};$.g.X=function(a,b){lv.u.X.call(this,a,b);$.zq(this,AF,a,b);$.zq(this,vF,a,b);this.Xx(a.iconEnabled);this.Jv(a.iconMarkerType);this.Kt(a.iconMarkerFill);this.Lt(a.iconMarkerStroke);this.disabled(a.disabled);this.CI(a.sourceUid);this.si(a.sourceKey);this.o(a.meta);this.PT(a.hoverCursor);this.Lv(a.iconSize)};$.g.R=function(){lv.u.R.call(this);this.IV=null;$.td(this.ub,this.Sc,this.Jl,this.Mv,this.FN,this.ls);this.ls=this.FN=this.Mv=this.Jl=this.Sc=this.ub=null};
var BF=lv.prototype;BF.getTextElement=BF.ii;BF.getContentBounds=BF.gi;BF.getWidth=BF.Xd;BF.getHeight=BF.ud;BF.draw=BF.$;$.H($.tv,fv);$.U($.tv,vF);$.tv.prototype.qa=fv.prototype.qa;$.tv.prototype.sa=fv.prototype.sa|192;var sv=2;$.g=$.tv.prototype;$.g.lu=sv|29;$.g.rb=null;$.g.Wi=null;$.g.state=function(a,b){return $.n(b)?(this.Kw(a)&&b!=this.state(a)&&(this.Xb=b?a:this.Xb&~a,0==this.Xb&&(this.Xb=sv),this.B(64,1)),this):!!(this.Xb&a)};$.g.Kw=function(a,b){return $.n(b)?(!b&&this.state(a)&&this.state(a,!1),this.lu=b?this.lu|a:this.lu&~a,this):!!(this.lu&a)};$.g.Sa=function(a){return this.state(sv,a)};
$.g.Oj=function(a){return this.state(4,a)};$.g.uha=function(){this.state(8,!0)};$.g.checked=function(a){return this.state(16,a)};$.g.disabled=function(a){return this.state(1,a)};$.g.padding=function(a,b,c,d){this.Pa||(this.Pa=new $.tu,$.L(this.Pa,this.vk,this));return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this):this.Pa};$.g.vk=function(a){$.X(a,2)&&this.B(4,9)};$.g.position=function(a){return $.n(a)?(this.Re=a,this.B(4,9),this):this.Re};
$.g.width=function(a){return $.n(a)?(this.Df!=a&&(this.Df=a,this.B(20,9)),this):this.Df};$.g.height=function(a){return $.n(a)?(this.nf!=a&&(this.nf=a,this.B(20,9)),this):this.nf};
$.g.yx=function(a){this.Sd(a);if(a=!this.rb)this.rb=$.pk(),this.rb.ee("aria-hidden","true"),$.du(this,this.rb,this.co,this.Gg,null,null,this.Cj,this.Zq),this.rb.td(!0);this.Lh(this.rb,a);this.J(4)&&(uv(this),a=new $.J(0,0,this.VB.width,this.VB.height),this.rb.x(this.ug),this.rb.y(this.vg),this.rb.clip(a),this.rb.jc(1,0,0,1,0,0),this.rb.translate(this.VB.left,this.VB.top),this.B(64),this.I(4))};
$.g.$K=function(a,b){this.Wi||(this.Wi=$.nk(),$.du(this,this.Wi,this.co,this.Gg,null,null,this.Cj,this.Zq));var c=this.Wi,d=this.VB;c.clear();var e=d.left,f=d.top,h=d.width;d=d.height;c.moveTo(e,f).lineTo(e+h,f).lineTo(e+h,f+d).lineTo(e,f+d).close();c.fill(a);c.stroke(b)};$.g.uj=function(a){this.J(16)&&(this.yx(a.text),this.I(16));this.J(4)&&(uv(this),this.yx(a.text),this.B(64),this.I(4));this.J(64)&&(this.$K(a.fill,a.stroke),this.I(64))};
$.g.$=function(){if(!this.Bc())return this;$.V(this);var a=$.fd(this.H4);switch(this.Xb){case 0:throw Error("Undefined button state.");case 4:this.uj(a.hover);break;case 8:this.uj(a.pushed);break;case 16:this.uj(a.checked);break;case 1:this.uj(a.disabled);break;default:this.uj(a.normal)}this.da(!0);this.J(8)&&(a=this.zIndex(),this.Wi&&this.Wi.zIndex(a),this.rb&&this.rb.zIndex(a),this.I(8));this.J(2)&&(a=this.P(),this.Wi&&this.Wi.parent(a),this.rb&&this.rb.parent(a),this.I(2));this.J(128)&&(this.rb&&
this.rb.cursor(this.cursor()),this.Wi&&this.Wi.cursor(this.cursor()),this.I(128));return this};$.g.remove=function(){this.rb&&this.rb.parent(null);this.Wi&&this.Wi.parent(null)};$.g.co=function(a){this.disabled()||this.KD||this.checked()||this.bh(a)&&this.Oj(!0)};$.g.Gg=function(a){this.disabled()||this.KD||this.checked()||(this.KD=!1,this.bh(a)&&this.Sa(!0))};$.g.Cj=function(a){a.preventDefault();this.disabled()||(this.KD=!0,this.bh(a)&&this.uha())};
$.g.Zq=function(a){!this.disabled()&&this.KD&&this.bh(a)&&(this.KD=!1,a=a.target==this.Wi||a.target==this.rb,this.Kw(16)?(this.lK=!this.lK)?this.checked(this.lK):a?(this.Oj(!0),$.E(this.cN)&&this.cN(this)):this.Sa(!0):a?(this.Oj(!0),$.E(this.cN)&&this.cN(this)):this.Sa(!0))};
$.g.$T=function(){this.H4={normal:{stroke:"#dedede",fill:"#e7e7e7",text:{fontColor:"#7c868e"}},hover:{stroke:"#cecece",fill:"#eee",text:{fontColor:"#7c868e"}},pushed:{stroke:"#d0d0d0",fill:"#d9d9d9",text:{fontColor:"#333"}},checked:{stroke:"1 #666 1",fill:{keys:["0 #ffffff","0.5 #e7e7e7","1 #d0d0d0"],angle:"90"},text:{fontColor:"#000"}},disabled:{stroke:"1 #666 1",fill:"#aaa",text:{fontColor:"#777"}}}};
$.g.cursor=function(a){return $.n(a)?(a=Ak(a,"default"),this.kC!=a&&(this.kC=a,this.B(128,1)),this):this.kC};$.g.R=function(){$.td(this.Pa,this.rb,this.Wi);this.Wi=this.rb=this.Pa=null;$.tv.u.R.call(this)};$.H(xv,$.tv);xv.prototype.yx=$.ia;xv.prototype.$K=function(a,b){this.Wi||(this.Wi=$.nk(),this.Wi.cursor("pointer"),$.du(this,this.Wi,this.co,this.Gg,null,null,this.Cj,this.Zq));this.Wi.clear();this.b(this.Wi,this.VB);this.Wi.fill(a);this.Wi.stroke(b)};xv.prototype.$T=function(){this.H4=this.ma};xv.prototype.R=function(){$.qd(this.Wi);this.Wi=null;xv.u.R.call(this)};$.H($.zv,qu);$.zv.prototype.nj=function(a){var b=this.wg(a.width),c=this.Jh(a.height),d=$.M(this.i("left"),b),e=$.M(this.i("top"),c);return new $.J(a.left+d,a.top+e,b,c)};$.zv.prototype.Jh=function(a){var b=this.i("top"),c=this.i("bottom"),d=1;$.oo(b)?d+=(0,window.parseFloat)(b)/100:a-=$.ea(b)?b:(0,window.parseFloat)(b);$.oo(c)?d+=(0,window.parseFloat)(c)/100:a-=$.ea(c)?c:(0,window.parseFloat)(c);d||(d=1E-7);return a/d};
$.zv.prototype.wg=function(a){var b=this.i("left"),c=this.i("right"),d=1;$.oo(b)?d+=(0,window.parseFloat)(b)/100:a-=$.ea(b)?b:(0,window.parseFloat)(b);$.oo(c)?d+=(0,window.parseFloat)(c)/100:a-=$.ea(c)?c:(0,window.parseFloat)(c);d||(d=1E-7);return a/d};$.H(Fv,fv);var CF={};$.hq(CF,[[0,"orientation",$.Fk],[0,"layout",$.Ek]]);$.U(Fv,vF);$.U(Fv,CF);$.g=Fv.prototype;$.g.qa=fv.prototype.qa;$.g.sa=fv.prototype.sa|64;$.g.padding=function(a,b,c,d){this.Pa||(this.Pa=new $.tu,$.L(this.Pa,this.vk,this),$.W(this,"padding",this.Pa));return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this):this.Pa};
$.g.margin=function(a,b,c,d){this.Mc||(this.Mc=new $.zv,$.L(this.Mc,this.vk,this),$.W(this,"margin",this.Mc));return $.n(a)?(this.Mc.K.apply(this.Mc,arguments),this):this.Mc};$.g.vk=function(a){$.X(a,2)&&this.B(4,9)};$.g.background=function(a){this.Ka||(this.Ka=new $.ku,$.L(this.Ka,this.gg,this),$.W(this,"background",this.Ka));return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.gg=function(a){$.X(a,1)&&this.B(64,1)};$.g.I0=function(){return this.O};
$.g.jC=function(a){if($.n(a)){a=(0,window.isNaN)((0,window.parseFloat)(a))?0:+a;--a;if(this.U!=a)if(0<=a&&a<this.O)this.U=a,this.B(16,1);else throw Error("incorrect currentPage value!!");return this}return this.U+1};$.g.remove=function(){var a=$.jr(this,"background");a&&a.remove();this.j&&(this.j.remove(),this.j.B(2));this.g&&(this.g.remove(),this.g.B(2));this.kc&&this.kc.parent(null)};
$.g.Bc=function(){if(this.ef())return!1;if(!Iv(this))return this.J(1)&&(this.remove(),this.I(1),this.B(2)),!1;if(!this.P())return this.remove(),this.B(2),$.cl(1),!1;this.I(1);return!0};
$.g.$=function(){if(!this.Bc())return this;var a=this.P(),b=a?a.Ha():null,c=b&&!b.ff();c&&b.suspend();var d;if(d=!this.kc)this.kc=$.pk(),this.kc.ee("aria-hidden","true");var e=$.jr(this,"background");e&&$.V(e);this.J(4)&&Jv(this);this.J(2)&&(e&&e.P(a).$(),this.j&&this.j.P(a),this.kc&&this.kc.parent(a),this.g&&this.g.P(a),this.I(2));this.J(64)&&(e&&(e.ja(this.D,this.G,this.f,this.b),e.$()),this.I(64));this.J(8)&&(a=this.zIndex(),e&&e.zIndex(a),this.j&&this.j.zIndex(a),this.kc&&this.kc.zIndex(a),this.g&&
this.g.zIndex(a),this.I(8));this.J(16)&&($.V(this),this.pa("text",Gv(this)),this.da(!1),this.Lh(this.kc,d),this.B(4),this.I(16));if(this.J(4)){this.ba.textContent=Gv(this);d=this.ba.getBBox();a=d.height;var f=this.ja();this.j.width(a).height(a).ja(f);this.g.width(a).height(a).ja(f);var h;var k=$.M(this.padding().i("top"),this.b);f=$.M(this.padding().i("left"),this.f);var l=this.padding().wg(this.f),m=this.padding().Jh(this.b);k=this.G+k+(m-d.height)/2;f=this.D+f+(l-d.width)/2;switch(this.i("layout")){case "horizontal":var p=
h=k;var q=f-10-a;var r=f+d.width+10;break;case "vertical":p=k-10-a,h=k+d.height+10,q=r=f+(d.width-a)/2}this.j.position({x:q,y:p});this.kc.jc(1,0,0,1,0,0);this.kc.translate(f,k);this.g.position({x:r,y:h});this.j.disabled(!this.U);this.g.disabled(this.U+1==this.O);this.j.$();this.g.$();this.I(4)}e&&e.da(!1);c&&b.resume();return this};$.g.lb=function(){return Kv(this)};
$.g.qd=function(){this.Ub&&!this.J(4)||Jv(this);var a=this.ja();a=a?a.clone():$.gn(0,0,0,0);if(!this.enabled())return a;switch(this.i("orientation")){case "top":a.top+=this.Ub.height;a.height-=this.Ub.height;break;case "right":a.width-=this.Ub.width;break;case "bottom":a.height-=this.Ub.height;break;case "left":a.left+=this.Ub.width,a.width-=this.Ub.width}return a};
$.g.F=function(){var a=Fv.u.F.call(this);$.Hq(this,CF,a);a.background=this.background().F();a.padding=this.padding().F();a.margin=this.margin().F();return a};$.g.X=function(a,b){Fv.u.X.call(this,a,b);$.zq(this,CF,a,b);"padding"in a&&this.padding().ia(!!b,a.padding);"margin"in a&&this.margin().ia(!!b,a.margin);"background"in a&&this.background().ia(!!b,a.background)};$.g.R=function(){$.td(this.j,this.g,this.Pa,this.Mc,this.Ka,this.kc);this.kc=this.Ka=this.Mc=this.Pa=this.g=this.j=null;Fv.u.R.call(this)};
var DF=Fv.prototype;DF.background=DF.background;DF.padding=DF.padding;DF.margin=DF.margin;DF.currentPage=DF.jC;DF.getPagesCount=DF.I0;$.H(Lv,$.Y);Lv.prototype.qa=$.Y.prototype.qa|32768;Lv.prototype.sa=$.Y.prototype.sa|20;var Qda=Lv.prototype,EF={};$.gq(EF,1,"fill",$.Bq);$.gq(EF,1,"stroke",Aq);$.gq(EF,0,"width",$.Qq);$.gq(EF,0,"height",$.Qq);$.gq(EF,0,"orientation",$.Fk);Qda.EP=EF;$.U(Lv,Lv.prototype.EP);$.g=Lv.prototype;$.g.th=function(a){return null!=this.Ma[a]};$.g.i=$.Xq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};
$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(this.Y&&$.Zq(this.Y,this.Qc,this),(this.Y=a)?($.L(this.Y,this.Qc,this),this.margin().parent(this.Y.margin())):this.margin().parent(null)),this):this.Y};$.g.Qc=function(a){var b=0,c=0;$.X(a,1)&&(b|=16,c|=1);$.X(a,8)&&(b|=4,c|=8);$.X(a,32768)&&(b|=1,c|=1);this.B(b,c)};$.g.ho=function(){this.B(20,9)};
$.g.margin=function(a,b,c,d){this.Mc||(this.Mc=new $.zv,$.L(this.Mc,this.sA,this),$.W(this,"margin",this.Mc));return $.n(a)?(this.Mc.K.apply(this.Mc,arguments),this):this.Mc};$.g.Se=function(a){return $.n(a)?(this.Ko!=a&&(this.Ko=a,this.B(16,1)),this):this.Ko};
$.g.$=function(){if(!this.Bc())return this;this.b||(this.b=$.nk());var a=this.P(),b=a?a.Ha():null,c=b&&!b.ff();c&&b.suspend();this.J(4)&&(Mv(this),this.I(4));if(this.J(16)){this.b.fill(this.i("fill"));this.b.stroke(this.i("stroke"));this.b.clear();var d=new $.J(this.D,this.G,this.g,this.f);this.Ko&&$.E(this.Ko)&&this.Ko(this.b,d);this.I(16)}this.J(2)&&(this.enabled()&&this.b.parent(a),this.I(2));this.J(8)&&(a=this.zIndex(),this.b.zIndex(a),this.I(8));c&&b.resume();return this};
$.g.remove=function(){this.b&&this.b.parent(null)};$.g.gi=function(){this.Ub&&!this.J(4)||Mv(this);return new $.J(0,0,this.Ub.width,this.Ub.height)};$.g.qd=function(){if(!this.Ub||this.J(4))Mv(this),this.I(4);var a=this.ja()||$.gn(0,0,0,0);if(!this.enabled())return a;switch(this.i("orientation")){case "top":a.top+=this.Ub.height;a.height-=this.Ub.height;break;case "right":a.width-=this.Ub.width;break;case "bottom":a.height-=this.Ub.height;break;case "left":a.left+=this.Ub.width,a.width-=this.Ub.width}return a};
$.g.sA=function(a){$.X(a,2)&&this.B(20,9)};$.g.Hb=function(){var a=this.i("orientation");return $.n(a)?"top"==a||"bottom"==a:!0};$.g.F=function(){var a=Lv.u.F.call(this);$.Hq(this,this.EP,a,"Separator");var b=this.margin().F();$.Jc(b)||(a.margin=b);return a};$.g.X=function(a,b){Lv.u.X.call(this,a,b);$.zq(this,this.EP,a,b);"margin"in a&&this.margin().ia(!!b,a.margin)};$.g.R=function(){$.td(this.Mc,this.b);this.b=this.Mc=null;Lv.u.R.call(this)};var FF=Lv.prototype;FF.margin=FF.margin;
FF.getRemainingBounds=FF.qd;$.H($.Nv,$.Y);$.Nv.prototype.qa=$.Y.prototype.qa|32768;$.Nv.prototype.sa=$.Y.prototype.sa|80;$.Nv.prototype.j=$.kq();$.U($.Nv,$.Nv.prototype.j);$.Nv.prototype.N=function(){var a={};$.hq(a,[[0,"width",$.Qq],[0,"height",$.Qq],[0,"align",Dk],[0,"orientation",function(a){return this.Q1?"bottom"==a?a:"top":$.Fk(a)}],[0,"rotation",$.qq],[0,"text",$.oq],[0,"maxLength",$.mq]]);return a}();$.U($.Nv,$.Nv.prototype.N);$.g=$.Nv.prototype;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};
$.g.Qg=function(){var a=this.Vf();a||(a=$.Ga(this.Ld(),Ov(this),this.Md()),this.Vf(a));return a};$.g.Md=function(){var a=[this.zd];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};$.g.th=function(a){return null!=this.Ma[a]};$.g.i=$.Xq;$.g.fs=function(){return 9};
$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(this.Y&&$.Zq(this.Y,this.Qc,this),(this.Y=a)?($.L(this.Y,this.Qc,this),this.background().Ye().parent(this.Y.background()),this.padding().parent(this.Y.padding()),this.margin().parent(this.Y.margin())):(this.background().parent(null),this.padding().parent(null),this.margin().parent(null))),this):this.Y};$.g.Qc=function(a){var b=0,c=0;$.X(a,1)&&(b|=16,c|=1);$.X(a,8)&&(b|=4,c|=8);$.X(a,32768)&&(b|=1,c|=32769);this.Rb=null;this.B(b,c)};
$.g.background=function(a){this.Ka||(this.Ka=new $.ku,$.L(this.Ka,this.gg,this),$.W(this,"background",this.Ka));return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.QA=function(a){this.O=0>a?null:a;$.n(this.height())||this.B(4)};$.g.margin=function(a,b,c,d){this.Mc||(this.Mc=new $.zv,$.L(this.Mc,this.vk,this),$.W(this,"margin",this.Mc));return $.n(a)?(this.Mc.K.apply(this.Mc,arguments),this):this.Mc};
$.g.padding=function(a,b,c,d){this.Pa||(this.Pa=new $.tu,$.W(this,"padding",this.Pa),$.L(this.Pa,this.vk,this));return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this):this.Pa};$.g.Sd=function(a,b){if($.n(a)){if($.z(a))if($.n(b)){if(a in this.j)this[a](b)}else return this.dd(a);else if($.D(a))for(var c in a)if(c in this.j)this[c](a[c]);return this}c={};for(var d in this.j){var e=this.i(d);$.n(e)&&(c[d]=e)}return c};
$.g.$=function(){if(!this.Bc())return this;var a=Sv(this),b=this.P();$.V(this);this.J(2)&&(this.ub.parent(b),this.I(2));this.J(8)&&(this.ub.zIndex(this.zIndex()),this.I(8));this.J(16)&&(this.Lh(a),this.I(16));this.J(4)&&(Tv(this),this.kc.x($.M(this.padding().i("left"),this.f)),this.kc.y($.M(this.padding().i("top"),this.b)),this.ub.jc(this.g.ed,this.g.Me,this.g.We,this.g.Ee,this.g.Ad,this.g.xd),this.B(64),this.I(4));this.J(64)&&(a=this.background(),$.V(a),a.ja(0,0,this.f,this.b),a.$(),a.da(!1),this.I(64));
this.da(!1);return this};$.g.remove=function(){this.ub?this.ub.parent(null):this.kc&&this.kc.parent(null)};$.g.qd=function(){var a=this.ja();a=a?a.clone():$.gn(0,0,0,0);if(!this.enabled())return a;this.Ub&&!this.J(4)||Tv(this);switch(this.i("orientation")){case "top":a.top+=this.Ub.height;a.height-=this.Ub.height;break;case "right":a.width-=this.Ub.width;break;case "bottom":a.height-=this.Ub.height;break;case "left":a.left+=this.Ub.width,a.width-=this.Ub.width}return a};$.g.uG=ba(3);
$.g.gi=function(){if(!this.enabled())return new $.J(0,0,0,0);this.Ub&&!this.J(4)||Tv(this);return this.Ub.clone()};$.g.$n=function(){var a=this.i("text"),b=$.Rv(this);if($.n(a)||$.n(b))return a=!a&&$.n(b)?b:a,b=this.i("maxLength"),a=pu(a,b)};
$.g.Lh=function(a){var b=this.i("useHtml"),c=this.$n();if(a||$.n(c)||$.n(b))b?this.kc.htmlText(c):this.kc.text(c);this.kc.fontSize(this.i("fontSize"));this.kc.fontFamily(this.i("fontFamily"));this.kc.color(this.i("fontColor"));this.kc.direction(this.i("textDirection"));this.kc.wu(this.i("wordBreak"));this.kc.wordWrap(this.i("wordWrap"));this.kc.opacity(this.i("fontOpacity"));this.kc.Lq(this.i("fontDecoration"));this.kc.fontStyle(this.i("fontStyle"));this.kc.fontVariant(this.i("fontVariant"));this.kc.fontWeight(this.i("fontWeight"));
this.kc.letterSpacing(this.i("letterSpacing"));this.kc.lineHeight(this.i("lineHeight"));this.kc.textIndent(this.i("textIndent"));this.kc.textShadow(this.i("textShadow"));this.kc.vAlign(this.i("vAlign"));this.kc.km(this.i("hAlign"));this.kc.textOverflow(this.i("textOverflow"));this.kc.rm(this.i("selectable"));this.kc.td(this.i("disablePointerEvents"))};
$.g.Xz=function(){var a=this.dd("rotation");delete this.zd.rotation;a=$.n(a)?a:this.i("rotation");if($.n(a))return a;switch(this.i("orientation")){case "left":return this.zd.rotation=-90;case "right":return this.zd.rotation=90;default:return this.zd.rotation=0}};$.g.gg=function(a){$.X(a,1)&&this.B(64,1)};$.g.vk=function(a){$.X(a,2)&&this.B(4,9)};$.g.clear=function(){this.ub&&this.ub.Ki()};
$.g.F=function(){var a={},b=$.Yq.prototype.i.call(this,"zIndex");$.n(b)&&(a.zIndex=b);b=$.Yq.prototype.i.call(this,"enabled");$.n(b)&&(a.enabled=b);$.Hq(this,this.j,a,"Title text");$.Hq(this,this.N,a,"Title props");b=this.margin().F();$.Jc(b)||(a.margin=b);b=this.padding().F();$.Jc(b)||(a.padding=b);b=this.background().F();$.Jc(b)||(a.background=b);return a};$.g.Od=function(a){return $.z(a)?{text:a,enabled:!0}:$.da(a)||null===a?{enabled:!!a}:null};
$.g.Ce=function(a,b){var c=this.Od(b);return c?(a?(this.ma.enabled=c.enabled,"text"in c&&(this.ma.text=c.text)):(this.enabled(c.enabled),"text"in c&&this.text(c.text)),!0):!1};$.g.X=function(a,b){$.Nv.u.X.call(this,a,b);$.zq(this,this.j,a,b);$.zq(this,this.N,a,b);"padding"in a&&this.padding().ia(!!b,a.padding);"margin"in a&&this.margin().ia(!!b,a.margin);"background"in a&&this.background().ia(!!b,a.background)};
$.g.R=function(){$.td(this.Ka,this.Mc,this.Pa,this.ub);this.ub=this.Pa=this.Mc=this.Ka=null;$.Nv.u.R.call(this)};$.H(Uv,$.Nv);$.ju(Uv,$.Nv);Uv.prototype.Nq=function(){var a=this.width(),b=this.height();return $.oo(a)||$.oo(b)||null===a||null===b};var GF=$.Nv.prototype;GF.textSettings=GF.Sd;GF.background=GF.background;GF.margin=GF.margin;GF.padding=GF.padding;GF.getRemainingBounds=GF.qd;GF=Uv.prototype;$.F("anychart.standalones.title",function(){var a=new Uv;a.ia(!0,$.mm("standalones.title"));return a});
GF.draw=GF.$;GF.parentBounds=GF.ja;GF.container=GF.P;$.H(Vv,$.od);$.g=Vv.prototype;$.g.getContext=function(){return{parentElement:this.b,titleElement:this.j,separatorElement:this.f,contentElement:this.g}};$.g.Ta=function(){Xv(this);return this.b};$.g.QO=function(){var a=$.Uf(this.Ta(),"margin");$.Bf(this.Ta(),this.gb.G.x-a.left,this.gb.G.y-a.top)};$.g.visible=function(a){return $.n(a)?($.Pf(this.Ta(),!!a),this):"none"!=this.Ta().style.display};$.g.pb=function(){var a=$.Nf(this.Ta());return new $.J(0,0,a.width,a.height)};
$.g.P=function(a){if($.n(a)&&this.Kc!=a)if(null===a)this.remove();else return this.Kc=a,a=this.Ta(),this.Kc.appendChild(a),this;return this.Kc};$.g.remove=function(){this.b&&($.Xe(this.b),this.Kc=null)};$.g.R=function(){this.remove();this.b=this.j=this.f=this.g=this.gb=null;Vv.u.R.call(this)};$.H(Zv,$.od);var Rda={position:"absolute","z-index":9999,left:0,top:0,width:"100%",height:"100%","pointer-events":"none"},HF={position:"relative",left:0,top:0,overflow:"hidden",width:"100%",height:"100%"},Sda={position:"relative",left:0,top:0,opacity:1,"pointer-events":"none"};$.g=Zv.prototype;$.g.AZ=function(){$.uf(this.pr,Rda);$.uf(this.b.Bl(),HF);$.uf(this.b.fa(),Sda)};
$.g.P=function(a){return $.n(a)?(a!=this.Kc&&((this.Kc=a)?(this.Kc.appendChild(this.pr),this.AZ(),this.b.ft()):$.Xe(this.pr)),this):this.Kc};$.g.Ha=function(){return this.b};$.g.jA=function(){return!0};$.g.rm=function(a){return $.n(a)?(this.j=a,this):this.j};$.g.R=function(){$.qd(this.b);this.b=null;$.Xe(this.pr);this.pr=null};$.H($v,$.od);$.g=$v.prototype;$.g.Yd=0;$.g.R=function(){$v.u.R.call(this);this.stop();delete this.b;delete this.eo};$.g.start=function(a){this.stop();this.Yd=$.yj(this.f,$.n(a)?a:this.g)};$.g.stop=function(){this.$p()&&$.Fj(this.Yd);this.Yd=0};$.g.$p=function(){return 0!=this.Yd};$.g.Cda=function(){this.Yd=0;this.b&&this.b.call(this.eo)};$.H(bw,$.qf);bw.prototype.R=function(){Td(this.j);bw.u.R.call(this)};bw.prototype.D=function(){this.f||(this.f=new $v(this.G,this.N,this),$.sd(this,this.f));this.f.start()};bw.prototype.G=function(){if(!this.g.fd){var a=this.b,b=aw(this.g);this.b=b;if(a){var c=!1;a.width!=b.width&&(this.dispatchEvent("b"),c=!0);a.height!=b.height&&(this.dispatchEvent("a"),c=!0);c&&this.dispatchEvent("resize")}else this.dispatchEvent("a"),this.dispatchEvent("b"),this.dispatchEvent("resize")}};$.H(cw,$.qf);cw.prototype.R=function(){cw.u.R.call(this);this.g&&(Td(this.g),this.g=null);this.b=this.f=null};cw.prototype.j=function(){var a=$.Fe(this.f||window);$.nb(a,this.b)||(this.b=a,this.dispatchEvent("resize"))};$.H(dw,Zv);$.ja(dw);var Tda={position:"absolute","z-index":9999,left:"-10000px",top:"-10000px"},Uda={position:"absolute","z-index":9999,left:0,top:0},Vda={position:"fixed",left:0,top:0,opacity:1,"pointer-events":"none"},Wda={position:"fixed",left:0,top:0,opacity:1,width:"1px",height:"1px"},Xda={position:"fixed",left:0,top:0,opacity:1,"pointer-events":"none",overflow:"",display:"",width:"",height:""};
dw.prototype.AZ=function(){var a=window.document;$.hd&&(!$.bd("7")||a.documentMode&&6>=a.documentMode)?$.uf(this.pr,Uda):$.uf(this.pr,Tda);"svg"==$.hk?($.uf(this.Ha().Bl(),HF),$.uf(this.Ha().fa(),Vda)):($.uf(this.Ha().Bl(),Wda),$.uf(this.Ha().fa(),Xda));this.D()};dw.prototype.D=function(){if("svg"==$.hk){var a=this.f;a=a.b?a.b.clone():null;this.Ha().resize(a.width,a.height)}};dw.prototype.jA=function(){return!1};dw.prototype.R=function(){$.td(this.g,this.f);this.f=this.g=null;dw.u.R.call(this)};$.H($.iw,$.Y);$.iw.prototype.sa=$.Y.prototype.sa|6080;var fw=1988;$.iw.prototype.qa=$.Y.prototype.qa|49152;var gw=1,hw=2;$.iw.prototype.ba=$.kq();$.U($.iw,$.iw.prototype.ba);var Yda=$.iw.prototype,IF={};
$.hq(IF,[[0,"width",$.Qq],[0,"height",$.Qq],[0,"titleFormat",$.Pq],[0,"format",$.Pq],[0,"unionFormat",$.Pq],[0,"valuePrefix",$.oq],[0,"valuePostfix",$.oq],[0,"position",$.Ck],[0,"anchor",$.Bk],[0,"offsetX",$.qq],[0,"offsetY",$.qq],[0,"x",$.qq],[0,"y",$.qq],[0,"allowLeaveScreen",$.uq],[0,"allowLeaveChart",$.uq],[0,"allowLeaveStage",$.uq],[0,"displayMode",function(a){return $.xk(Cda,a,"single")}],[0,"positionMode",function(a){return $.xk(Dda,a,"float")}],[0,"onDomReady",$.Vq],[0,"onBeforeTitleChange",
$.Vq],[0,"onTitleChanged",$.Vq],[0,"onBeforeContentChange",$.Vq],[0,"onContentChanged",$.Vq],[0,"hideDelay",$.qq]]);Yda.HP=IF;$.U($.iw,$.iw.prototype.HP);$.g=$.iw.prototype;$.g.Oc=function(a,b){for(var c in this.j){var d=this.j[c];d&&d.Oc(a,b)}return xw(this,a,b)};
$.g.Sd=function(a,b){if($.n(a)){if($.z(a))if($.n(b)&&a in this.ba)this[a](b);else return this.i(a);else{$.V(this);for(var c in a)if(c in this.ba)this[c](a[c]);this.da(!0)}return this}var d={};for(c in this.ba){var e=this.i(c);$.n(e)&&(d[c]=e)}return d};$.g.padding=function(a,b,c,d){this.Pa||(this.Pa=new $.tu,$.L(this.Pa,this.Dga,this),$.W(this,"padding",this.Pa));return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this):this.Pa};$.g.Dga=function(a){$.X(a,2)&&(this.RD(),this.B(fw,1))};
$.g.background=function(a){this.Ka||(this.Ka=new $.ku,$.L(this.Ka,this.gg,this),this.Ka.ib(this),$.W(this,"background",this.Ka));return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.gg=function(a){$.X(a,1)&&this.B(1024,1)};$.g.title=function(a){this.sb||(this.sb=new $.Nv,$.L(this.sb,this.AV,this),this.sb.ib(this),$.W(this,"title",this.sb));return $.n(a)?(this.sb.K(a),this):this.sb};$.g.AV=function(a){$.X(a,8)?(this.RD(),this.B(fw,1)):$.X(a,1)&&this.B(128,1)};
$.g.Hr=function(a){this.U||(this.U=new Lv,$.L(this.U,this.Rga,this),this.U.ib(this),$.W(this,"separator",this.U));return $.n(a)?(this.U.K(a),this):this.U};$.g.Rga=function(a){$.X(a,8)?(this.RD(),this.B(fw,1)):$.X(a,1)&&this.B(256,1)};
$.g.$=function(){$.ww(this);var a=this.i("useHtml");if(a){if(this.ef()||this.fd)return this;if(!this.enabled())return this.J(1)&&(this.remove(),this.I(1),this.B(2)),this;if(!this.g.P())return this.remove(),this.I(2),this;this.I(1)}else if(!this.Bc())return this;var b=this.background(),c=this.title(),d=this.Hr(),e=this.zi();uw(this,this);this.J(8)&&(tw(this).zIndex(this.zIndex()),this.I(8));if(this.J(4)){Dw(this);var f=this.O;this.ka=this.padding().nj(f);this.Ja=this.ga=null;this.I(4)}this.J(64)&&
(this.G=null,Ew(this),a?this.g.QO():tw(this).jc(1,0,0,1,this.G.x,this.G.y),this.I(64));a?Yv(this.g):(this.J(1024)&&($.V(b),b.ja(this.O),b.P(tw(this)),b.$(),b.da(!1),this.I(1024)),this.J(128)&&($.V(c),c.ja(this.ka),c.$(),c.da(!1),!this.ga&&c.enabled()&&(this.ga=c.qd()),this.I(128)),this.J(256)&&($.V(d),d.ja(this.ga||this.ka),d.$(),d.da(!1),!this.Ja&&d.enabled()&&(this.Ja=d.qd()),this.I(256)),this.J(512)&&(a=this.Ja||this.ga||this.ka,$.V(e),this.Lh(),e.ja(a),e.$(),e.da(!1),this.I(512)),this.J(4096)&&
this.I(4096));return this};$.g.Aa=function(a){return $.n(a)?(this.Ba=a,this):this.Ba};$.g.QO=function(a,b){var c=this.i("displayMode");"single"==c&&(nw(this,this.b,a,b),vw(this.b,a,b));if("union"==c)nw(this,this.b,a,b),vw(this.b,a,b);else if("separated"==c)for(var d in this.j)if(c=this.j[d])yw(this,c,a,b),vw(c,a,b)};
$.g.zi=function(a){this.Cd||(this.Cd=new $.jv,$.L(this.Cd,this.tga,this),this.Cd.ib(this),this.Cd.width("100%").height("100%"),$.W(this,"contentInternal",this.Cd));return $.n(a)?(this.Cd.K(a),this):this.Cd};$.g.tga=function(a){$.X(a,8)?(this.RD(),this.B(fw,1)):$.X(a,1)&&this.B(512,1)};$.g.RD=function(){this.G=this.O=null};$.g.remove=function(){this.i("useHtml")&&this.g&&this.g.remove();tw(this).parent(null)};$.g.il=function(){return this.Ra||this.check(gw)&&!$.Jc(this.j)};
$.g.lb=function(){this.G=null;Ew(this);var a=this.i("useHtml"),b=a?0:this.i("offsetX");a=a?0:this.i("offsetY");return new $.J(this.G.x+b,this.G.y+a,this.O.width,this.O.height)};$.g.gi=function(){Dw(this);return this.O};$.g.Lh=function(){if(this.J(512)){$.V(this.zi());for(var a in this.ba){var b=this.i(a);$.n(b)&&this.zi().Sd(a,b)}this.zi().adjustFontSize(this.i("adjustFontSize"));this.zi().minFontSize(this.i("minFontSize"));this.zi().maxFontSize(this.i("maxFontSize"));this.zi().da(!1)}};
$.g.uK=function(){this.D&&this.D.$p()?this.ab=!0:($.qd(this.D),this.D=new $v(function(){this.remove();this.ab&&(this.ab=!1,this.uK())},this.i("hideDelay"),this))};$.g.WM=function(a){if(Bw(this,a.clientX,a.clientY))this.f.jA()||this.f.rm(!0);else{$.Sd(window.document,"mousemove",this.WM,!1,this);var b=tw(this).fa();b&&($.Sd(b,"mouseenter",this.eX,!1,this),$.Sd(b,"mouseleave",this.fX,!1,this));this.gM(a)}};
$.g.eX=function(){$.Sd(window.document,"mousemove",this.WM,!1,this);tw(this).fa()&&$.Sd(tw(this).fa(),"mouseenter",this.eX,!1,this);this.N=null};$.g.fX=function(a){tw(this).fa()&&$.Sd(tw(this).fa(),"mouseleave",this.fX,!1,this);this.gM(a)};$.g.gM=function(a){if(2==a.dl.buttons)return!0;this.f.jA()||this.f.rm(!1);tw(this).fa()&&$.Sd(tw(this).fa(),"mouseleave",this.gM,!1,this);this.N=null;this.i("hideDelay")?(this.uK(),this.D.$p()||this.D.start()):this.Oc(!0)};
$.g.parent=function(a){if($.n(a)){if(this.Y!=a){var b=String($.oa(this));null===a?($.Zq(this.Y,this.Qc,this),this.title().parent(null),this.Hr().parent(null),this.background().parent(null),this.padding().parent(null),this.zi().parent(null),this.zi().padding().parent(null),delete this.Y.j[b],this.Y=null):(this.Y&&$.Zq(this.Y,this.Qc,this),this.Y=a,this.title().Ye().parent(this.Y.title()),this.Hr().Ye().parent(this.Y.Hr()),this.background().Ye().parent(this.Y.background()),this.padding().parent(this.Y.padding()),
this.zi().parent(this.Y.zi()),this.zi().padding().parent(this.Y.zi().padding()),this.Y.j[b]=this,this.cK(),$.L(this.Y,this.Qc,this))}return this}return this.Y};$.g.Qc=function(a){var b=0,c=0;this.cK();if($.X(a,8)||$.X(a,1))b|=fw,c|=8,this.RD();$.X(a,32768)&&(b|=1,c|=1);this.Rb=null;this.B(b,c)};$.g.th=function(a){return null!=this.Ma[a]};$.g.i=$.Xq;$.g.check=function(a){return $.n(a)?!!(a&this.eb):!0};
$.g.cK=function(){if(this.i("useHtml")){if(!DE){DE=!0;var a=$.te(),b=$.Be(a.b,"HEAD",void 0,void 0)[0];if(!b){var c=$.Be(a.b,"BODY",void 0,void 0)[0];b=a.pc("HEAD");c.parentNode.insertBefore(b,c)}c=a.pc("STYLE");c.innerHTML=".anychart-tooltip {border-radius: 3px;padding: 5px 10px;background: rgba(33, 33, 33, 0.7);border: none;display: inline-block;box-sizing: border-box;letter-spacing: normal;color: #fff;font-family: Verdana, Helvetica, Arial, 'sans-serif';font-size: 12px;position: absolute;pointer-events: none;margin: 10px 0px 10px 10px;}.anychart-tooltip-separator {color: rgba(206, 206, 206, 0.3);border: none;height: 1px;margin: 5px 0;}.anychart-tooltip-title{font-size: 14px;}";
a.Lea(b,c,0)}this.g||(this.g=new Vv(this))}else this.g&&this.g.remove();for(var d in this.j)this.j[d].cK();this.G=this.O=null};$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=function(){var a=this.Vf();a||(a=$.Ga(this.Ld(),[this.Ga],this.Md()),this.Vf(a));return a};$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};
$.g.F=function(){var a=$.iw.u.F.call(this);$.Hq(this,this.ba,a,void 0,void 0,!0);$.Hq(this,this.HP,a,void 0,void 0,!0);delete a.x;delete a.y;delete a.zIndex;var b=this.title().F();$.Jc(b)||(a.title=b);b=this.Hr().F();$.Jc(b)||(a.separator=b);b=this.background().F();$.Jc(b)||(a.background=b);b=this.padding().Ma;$.Jc(b)||(a.padding=b);return a};
$.g.X=function(a,b){$.iw.u.X.call(this,a,b);$.zq(this,this.ba,a,b);$.zq(this,this.HP,a,b);this.title().ia(!!b,a.title);this.Hr().ia(!!b,a.separator);this.background().ia(!!b,a.background);this.padding().ia(!!b,a.padding);var c=a.contentInternal||{};c.position=c.position?c.position:"left-top";c.anchor=c.anchor?c.anchor:"left-top";this.zi(c)};
$.g.R=function(){delete this.Ma;delete this.ma;if(this.Y){var a=String($.oa(this));$.Zq(this.Y,this.Qc,this);delete this.Y.j[a]}for(var b in this.j)(a=this.j[b])&&$.qd(a);this.f&&!this.f.jA()&&this.P(null);$.td(this.sb,this.U,this.Cd,this.Ka,this.Pa,this.Wa,this.D,this.g);this.g=this.D=this.Wa=this.Pa=this.Ka=this.Cd=this.U=this.sb=null;if(this.f&&this.f.jA()&&Fw(this)){a=!0;for(b in ew)if(ew.hasOwnProperty(b)){var c=ew[b];if(c!=this&&this.f==c.f){a=!1;break}}a&&(b=Gw(this),delete Hw[b],$.qd(this.f))}delete this.f;
delete ew[String($.oa(this))];$.iw.u.R.call(this)};var JF=$.iw.prototype;JF.title=JF.title;JF.separator=JF.Hr;JF.background=JF.background;JF.padding=JF.padding;JF.hide=JF.Oc;JF.textSettings=JF.Sd;$.H($.Iw,fv);$.Iw.prototype.qa=fv.prototype.qa;
var KF=function(){function a(a){return function(b){var c="itemsSpacing"==a?(0,window.parseFloat)(b):Number(b);return null===b?this.mf(a):(0,window.isNaN)(c)?this.i(a):c}}var b={};$.hq(b,[[0,"inverted",$.uq],[0,"itemsLayout",eba],[0,"iconSize",$.N],[0,"width",$.tq],[0,"height",$.tq],[0,"maxWidth",$.tq],[0,"maxHeight",$.tq],[0,"position",$.Fk],[0,"positionMode",hba],[0,"drag",$.uq],[0,"itemsFormat",$.tq],[0,"titleFormat",$.tq],[0,"itemsHAlign",Dk],[0,"itemsSpacing",a("itemsSpacing")],[0,"itemsSourceMode",
pba],[0,"hoverCursor",Ak],[0,"iconTextSpacing",a("iconTextSpacing")],$.Z.kJ]);return b}();$.U($.Iw,KF);$.g=$.Iw.prototype;$.g.sa=fv.prototype.sa|4032;$.g.items=function(a){return $.n(a)?(this.ya!=a&&(this.ya=a,this.B(1040,1)),this):this.ya};$.g.kA=function(a){return $.n(a)?(a=$.A(a)?$.Ja(a,0):null===a?a:[a],Jw(this,a)||(this.f=a,this.B(1040,1)),this):this.f};$.g.kQ=function(a){return $.n(a)?(this.U!=a&&(this.U=a,this.B(1040,1)),this):this.U};
$.g.margin=function(a,b,c,d){this.Mc||(this.Mc=new $.zv,$.L(this.Mc,this.vk,this),$.W(this,"margin",this.Mc));return $.n(a)?(this.Mc.K.apply(this.Mc,arguments),this):this.Mc};$.g.vk=function(a){$.X(a,2)&&this.B(4,9)};$.g.padding=function(a,b,c,d){this.Pa||(this.Pa=new $.tu,$.L(this.Pa,this.vk,this),$.W(this,"padding",this.Pa));return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this):this.Pa};
$.g.background=function(a){this.Ka||(this.Ka=new $.ku,$.L(this.Ka,this.gg,this),$.W(this,"background",this.Ka));return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.gg=function(a){$.X(a,1)&&this.B(64,1)};$.g.title=function(a){this.sb||(this.sb=new $.Nv,$.L(this.sb,this.uq,this),this.sb.ib(this),$.W(this,"title",this.sb));return $.n(a)?(this.sb.K(a),this):this.sb};$.g.uq=function(a){var b=0,c=0;$.X(a,1)&&(b|=128,c|=1);$.X(a,8)&&(b|=4,c|=8);this.B(b,c)};
$.g.dX=function(a){this.g||(this.g=new Lv,$.L(this.g,this.Iia,this),$.W(this,"titleSeparator",this.g));return $.n(a)?(this.g.K(a),this):this.g};$.g.Iia=function(a){var b=0,c=0;$.X(a,1)&&(b|=256,c|=1);$.X(a,8)&&(b|=4,c|=8);this.B(b,c)};$.g.mN=function(a){this.N||(this.N=new Fv,$.L(this.N,this.Zga,this),$.W(this,"paginator",this.N));return $.n(a)?(this.N.K(a),this):this.N};$.g.Zga=function(a){var b=0,c=0;$.X(a,1)&&(b|=512,c|=1);$.X(a,8)&&(b|=4,c|=8);this.B(b,c)};
$.g.Xa=function(a){this.gb||(this.gb=new $.iw(0),$.L(this.gb,this.hp,this),$.mw(this.gb,this),this.gb.Fa($.hr.tooltip),$.W(this,"tooltip",this.gb),this.gb.ia(!0,this.gb.ma));return $.n(a)?(this.gb.K(a),this):this.gb};$.g.hp=function(){var a=this.Xa();a.P()&&a.$()};$.g.ja=function(a,b,c,d){return $.Iw.u.ja.call(this,a,b,c,d)};
$.g.qd=function(){var a=this.ja()||$.gn(0,0,0,0);if(!this.enabled()||"inside"==this.i("positionMode"))return a;this.Ub&&!this.J(4)||this.On();switch(this.i("position")){case "top":a.top+=this.Ub.height;a.height-=this.Ub.height;break;case "right":a.width-=this.Ub.width;break;default:case "bottom":a.height-=this.Ub.height;break;case "left":a.left+=this.Ub.width,a.width-=this.Ub.width}return a};$.g.lb=function(){this.Ub&&!this.J(4)||this.On();return this.Ub};
$.g.On=function(){var a=this.ja();null!=a&&0>=a.width&&0>=a.height&&(a=null);var b=this.margin(),c=this.padding(),d=0,e=0,f=this.i("width"),h=this.i("height"),k=this.i("maxWidth"),l=this.i("maxHeight");if(a){var m=a.width;var p=a.height;if(null!=f){var q=Math.min(m,$.M(f,m),null!=k?$.M(k,m):m);k=c.wg(b.wg(q))}else k=null!=k?c.wg(b.wg($.M(k,m))):c.wg(b.wg(m));if(null!=h){var r=Math.min(p,$.M(h,p),null!=l?$.M(l,p):p);var t=c.Jh(b.Jh(r))}else t=null!=l?c.Jh(b.Jh($.M(l,p))):c.Jh(b.Jh(p))}else $.ea(f)&&
!(0,window.isNaN)(f)?(q=f,k=c.wg(f)):k=$.ea(k)&&!(0,window.isNaN)(k)?c.wg(k):window.Infinity,$.ea(h)&&!(0,window.isNaN)(h)?(r=h,t=c.Jh(h)):t=$.ea(l)&&!(0,window.isNaN)(l)?c.Jh(l):window.Infinity;var u,v;h=$.jr(this,"titleSeparator");l=$.jr(this,"paginator");f=$.jr(this,"title");var w=l&&l.i("orientation"),x="bottom"==w||"top"==w,y=f&&(f.i("orientation")||$.Qv(f));y=y&&("bottom"==y||"top"==y);var B=f?0==f.Xz()%180:0,G=h&&h.Hb();h&&$.V(h);l&&$.V(l);f&&$.V(f);var C=u=null;do{u&&(C=u);var I=v=0,P=0,Q=
0;if(f&&f.enabled()){f.ja(null);Pv(f,null);f.QA(null);var S=f.gi();y?(S.width>k&&(B?Pv(f,k):f.QA(k),S=f.gi()),Q=S.width,v+=S.height):(S.height>t&&(B?f.QA(t):Pv(f,t),S=f.gi()),P=S.height,I+=S.width)}else S=null;h&&h.enabled()?(h.ja(null),u=h.gi(),G?v+=u.height:I+=u.width):u=null;var sa=k-I;var va=Dca(this,sa,t-v);var Oa=va.width;va=va.height;v+=va;I+=Oa;P=Math.max(P,va);Q=Math.max(Q,Oa);I=Math.max(Q,I);Q=Math.max(P,v);P=t;y&&(P-=S?S.height:0);G&&(P-=u?u.height:0);l.ja(null);v=Kv(l,1);var vb=this.i("itemsLayout");
if("horizontal"==vb)Oa>sa&&this.Qb&&1<this.Qb.length?Hv(l,!0):Hv(l,!1);else if("vertical-expandable"==vb)Oa>sa&&1<this.Ge?Hv(l,!0):Hv(l,!1);else if("vertical"==vb||"horizontal-expandable"==vb)va>P&&this.Qb&&1<this.Qb.length?Hv(l,!0):Hv(l,!1);Iv(l)&&(x?(I=Math.max(I,v.width),Q+=v.height):(I+=v.width,Q=Math.max(Q,v.height)));I=Math.min(I,k);P=Math.min(Q,t);sa=b.rk(c.rk(I));va=b.Jj(c.Jj(P));if(f&&f.enabled()){vb=S.width;if(y||B){if(B&&!y){var mc;Q=Iv(l)?v.width:0;var kb=(this.Qb&&this.Qb.length?this.Qb[0].lb().width:
0)+Q;Oa+Q>=k-S.width?mc=kb:mc=Oa;S=Math.max(Math.min(f.text().length,1),f.margin().wg(I-vb<=mc?I-mc:vb));Pv(f,S)}else if(!B&&Q>t){S=0;u&&G&&(S+=u.height);if("top"==w||"bottom"==w)S+=v.height;Oa=Iv(l)&&!x?v.height:0;Oa=Math.max(this.Qb&&this.Qb.length?this.Qb[0].lb().height:0,Oa);S=Math.max(1,f.margin().Jh(t-S-Oa));B?f.QA(S):Pv(f,S)}S=f.gi();h&&(h.width(sa),u=h.gi())}else S=f.gi(),h&&(h.width(va),u=h.gi());y?P-=S.height:I-=S.width}h&&h.enabled()&&(G?P-=u.height:I-=u.width);S=I;u=P;Iv(l)&&(x?u=P-v.height:
S=I-v.width);Oa=S;I=u;this.b=[];u=0;P=this.Qb&&this.Qb.length;v=this.i("itemsSpacing");for(S=0;S<P&&S in this.G;S++);if(0<I&&this.Qb&&S!=P)switch(this.b[u]=[],this.b[u][0]=this.Qb[S],this.i("itemsLayout")){case "horizontal":I=this.Qb[S].lb().Xd();for(S+=1;S<P;S++)S in this.G||(I+v+this.Qb[S].lb().Xd()>Oa?(u++,this.b[u]=[],this.b[u][0]=this.Qb[S],I=this.Qb[S].lb().Xd()):(I=I+v+this.Qb[S].lb().Xd(),this.b[u].push(this.Qb[S])));break;case "vertical":Oa=this.Qb[S].lb().ud();S+=1;for(P=this.Qb.length;S<
P;S++)S in this.G||(Oa+v+this.Qb[S].lb().ud()>I?(u++,this.b[u]=[],this.b[u][0]=this.Qb[S],Oa=this.Qb[S].lb().ud()):(Oa=Oa+v+this.Qb[S].lb().ud(),this.b[u].push(this.Qb[S])));break;case "horizontal-expandable":var Qb=this.Qb[S].lb().Xd()+v,Gb=this.Qb[S].lb().ud()+v,ic=0;for(S+=1;S<P;S++)S in this.G||(kb=this.Qb[S],vb=kb.lb().Xd(),Q=kb.lb().ud(),Qb+vb>Oa?(ic+=Gb,ic+Q>I?(u++,this.b[u]=[],this.b[u][0]=kb,ic=0):this.b[u].push(kb),Qb=vb+v,Gb=Q+v):(Qb+=vb+v,Gb=Math.max(Gb,Q+v),this.b[u].push(kb)));break;
case "vertical-expandable":for(Qb=this.Qb[S].lb().Xd()+v,Gb=this.Qb[S].lb().ud()+v,ic=0,S+=1;S<P;S++)S in this.G||(kb=this.Qb[S],vb=kb.lb().Xd(),Q=kb.lb().ud(),Gb+Q>I?(ic+=Qb,ic+vb>Oa?(u++,this.b[u]=[],this.b[u][0]=kb,ic=0):this.b[u].push(kb),Qb=vb+v,Gb=Q+v):(Qb=Math.max(Qb,vb+v),Gb+=Q+v,this.b[u].push(kb)))}(v=$.jr(this,"paginator"))&&Av(v,u+1);l.ja(null);u=l.lb()}while(!$.ob(C,u));q||(q=sa);r||(r=va);this.Ub=new $.J(d,e,q,r);if(this.ZK)d=this.Tc<this.Bd?Math.max(a.left,this.Tc*a.width+a.left):Math.min(a.$a(),
a.$a()-(this.Bd*a.width+q)),e=this.Ud<this.xc?Math.max(a.top,this.Ud*a.height+a.top):Math.min(a.Ua(),a.Ua()-(this.xc*a.height+r)),$.rb(a,this.Ub)||(d<a.left&&(d=a.left),d+q>a.$a()&&(d=a.$a()-q),e<a.top&&(e=a.top),e+r>a.Ua()&&(e=a.Ua()-r));else if(a){b=this.i("position");c=this.i("align");d=a.qb();e=a.bc();switch(b){case "left":case "right":switch(c){case "center":e+=(p-r)/2;break;case "right":case "bottom":e=a.Ua()-r}break;case "top":case "bottom":switch(c){case "center":d+=(m-q)/2;break;case "right":case "bottom":d=
a.$a()-q}}switch(b){case "right":d=a.$a()-q;break;case "bottom":e=a.Ua()-r}}else d=$.M(b.i("left"),0),e=$.M(b.i("top"),0);this.Ub.left=d;this.Ub.top=e;this.padding().nj(this.margin().nj(this.Ub));a=this.Ub.clone();a.left=0;a.top=0;this.ka=this.margin().nj(a);this.me=this.padding().nj(this.ka);h&&h.da(!1);l&&l.da(!1);f&&f.da(!1);this.I(4)};$.g.remove=function(){this.La&&this.La.parent(null)};
$.g.$=function(){if(!this.Bc())return this;this.La||(this.La=$.lk(),$.du(this,this.La),this.ba||(this.ba=$.lk(),this.ba.parent(this.La).zIndex(20)));this.J(8)&&(this.La.zIndex(this.zIndex()),this.I(8));var a=this.P(),b=a?a.Ha():null;this.J(2)&&(this.La.parent(a),this.I(2),"svg"==$.hk&&(this.O=$.kg(),a=this.O.Dp(),this.D=this.O.Jq(),a.appendChild(this.D)));(a=b&&!b.ff())&&b.suspend();this.J(1024)&&(this.Ja=!0,this.I(1024));if(this.J(16)){var c=this.kQ(),d=Eca(this);this.i("inverted")&&(d=d.reverse());
d=$.E(c)?c(d):d;this.Qb&&this.Qb.length!=d.length&&(this.Ja=!0);c=Fca(this,d);Gca(this,c);this.I(16)}Hca(this);if(this.J(4)){if(this.Qb&&"..."==this.i("textOverflow"))for(c=0,d=this.Qb.length;c<d;c++)this.Qb[c].ja(null),this.Qb[c].ii().width(null);this.On();this.B(3008);this.La.jc(1,0,0,1,this.Ub.left,this.Ub.top);this.La.clip(this.ka);this.I(4)}if(this.J(64)){if(c=$.jr(this,"background"))$.V(c),c.ja(this.ka),this.enabled()&&c.P(this.La),c.da(!1),c.$();this.I(64)}if(this.J(128)){if(c=$.jr(this,"title"))$.V(c),
c.ja(this.me),this.enabled()&&c.P(this.La),c.da(!1),c.$();this.I(128)}c=this.sb?this.sb.qd():this.me;if(this.J(256)){if(d=$.jr(this,"titleSeparator"))$.V(d),d.ja(c),this.enabled()&&d.P(this.La),d.da(!1),d.$();this.I(256)}d=this.g?this.g.qd():c;c=$.jr(this,"paginator");this.J(512)&&(c&&($.V(c),c.ja(d),this.enabled()&&c.P(this.La),c.da(!1),c.$()),this.I(512));d=c&&Iv(c)?c.qd():d;c=c&&Iv(c)?c.jC()-1:0;d.width=Math.max(1,d.width);d.height=Math.max(1,d.height);Ica(this,c,d.ceil());if(this.J(2048)){!this.Vn&&
this.i("drag")&&(this.Vn=this.La.rect(),this.Vn.fill($.Ul).stroke(null).zIndex(0),this.La.ra("beforedrag",function(){this.ZK=!0;this.Ra||(this.Ra=!0,this.ga||(this.ga=$.jk(),this.ga.fill($.Ul).stroke(null).zIndex(100)),this.ga.uf(this.ka),this.ga.parent(this.La),this.dispatchEvent("dragstart"))},!1,this),this.La.ra("drag",this.cea,!1,this),this.La.ra("end",function(){var a=this.La.Gd,b=this.lb(),c=this.ja();this.eb=a.Ad;this.nb=a.xd;this.Tc=(this.eb-c.left)/c.width;this.Ud=(this.nb-c.top)/c.height;
this.Bd=(c.width-(this.eb-c.left+b.width))/c.width;this.xc=(c.height-(this.nb-c.top+b.height))/c.height;this.Ra&&(this.Ra=!1,this.ga.parent(null),this.dispatchEvent("dragend"))},!1,this));c=!1;if(this.i("drag")){var e;c=this.margin().nj("inside"==this.i("positionMode")?this.ja():(e=gaa(this.ja(),this.qd())).length?e[0]:$.gn(0,0,0,0))}this.Vn&&this.Vn.uf(this.ka);this.La.zm(c);this.I(2048)}a&&b.resume();return this};$.g.cea=function(a){return this.dispatchEvent(a.type)};
$.g.ig=function(a){a=$.Iw.u.ig.call(this,a);var b=$.mo(a.domTarget);b=$.N(b&&b.index);(0,window.isNaN)(b)||(a.itemIndex=b);return a};
$.g.I9=function(a){var b=Nw(this,a);if(b&&this.dispatchEvent(b))switch(b.type){case "legenditemmouseover":var c=this.Qb&&this.Qb[b.itemIndex];b=b.itemSource;c&&(b&&$.E(b.bq)&&b.bq(c,a),c.xa=!0,qv(c,!0),mv(c,!0),pv(c,!0),a&&Kw(this,a));break;case "legenditemmousemove":a&&Kw(this,a);break;case "legenditemmouseout":c=this.Qb&&this.Qb[b.itemIndex];b=b.itemSource;c&&(b&&$.E(b.aq)&&b.aq(c,a),a=c,a.xa=!1,qv(a,!1),mv(a,!1),pv(a,!1),this.Xa().Oc());break;case "legenditemclick":a.button==$.Mi&&(c=this.Qb&&
this.Qb[b.itemIndex],b=b.itemSource,c&&b&&$.E(b.er)&&b.er.call(b,c,a))}};$.g.sh=function(a){(a=Nw(this,a))&&this.dispatchEvent(a)};$.g.F=function(){var a=$.Iw.u.F.call(this);$.Hq(this,KF,a);a.margin=this.margin().F();a.padding=this.padding().F();a.background=this.background().F();a.title=this.title().F();a.titleSeparator=this.dX().F();a.paginator=this.mN().F();a.tooltip=this.Xa().F();$.n(this.items())&&(a.items=this.items());return a};
$.g.X=function(a,b){$.Iw.u.X.call(this,a,b);$.zq(this,KF,a,b);"padding"in a&&this.padding().ia(!!b,a.padding);"margin"in a&&this.margin().ia(!!b,a.margin);"title"in a&&this.title().ia(!!b,a.title);"background"in a&&this.background().ia(!!b,a.background);"titleSeparator"in a&&this.dX().ia(!!b,a.titleSeparator);"paginator"in a&&this.mN().ia(!!b,a.paginator);this.Xa().ia(!!b,a.tooltip);this.items(a.items);this.kQ(a.itemsFormatter)};
$.g.R=function(){$.Iw.u.R.call(this);this.D&&($.Ve(this.D),$.Xe(this.D));$.td(this.Vn,this.gb,this.N,this.j,this.Qb,this.ba,this.Mc,this.Pa,this.Ka,this.sb,this.g,this.gb,this.La,this.D);this.D=this.La=this.gb=this.g=this.sb=this.Ka=this.ba=this.N=this.Pa=this.Mc=this.Qb=this.j=this.Vn=null};$.H(Ow,$.Iw);$.ju(Ow,$.Iw);Ow.prototype.Nq=function(){var a=this.i("width"),b=this.i("height");return $.oo(a)||$.oo(b)||null===a||null===b};
Ow.prototype.hc=function(a){if($.X(a,64)){$.V(this);a=a.target.E0(this.i("titleFormat"));var b=$.jr(this,"title");b&&null!==a&&$.Rv(b,a);this.B(1040);this.P()&&this.$();this.da(!1)}};Ow.prototype.kA=function(a){if($.n(a)){a=$.A(a)?$.Ja(a,0):null===a?a:[a];if(!Jw(this,a)){if(this.f)for(var b,c=0;c<this.f.length;c++)b=this.f[c],b.WH&&b.WH()&&$.Zq(b,this.hc,b);if(this.f=a)for(b=0;b<this.f.length;b++)a=this.f[b],a.WH&&a.WH()&&$.L(a,this.hc,this);this.B(1040,1)}return this}return this.f};var LF=$.Iw.prototype;
LF.items=LF.items;LF.itemsFormatter=LF.kQ;LF.margin=LF.margin;LF.padding=LF.padding;LF.background=LF.background;LF.title=LF.title;LF.titleSeparator=LF.dX;LF.paginator=LF.mN;LF.tooltip=LF.Xa;LF.getRemainingBounds=LF.qd;LF.getPixelBounds=LF.lb;LF=Ow.prototype;$.F("anychart.standalones.legend",function(){var a=new Ow;a.K($.mm("standalones.legend"));return a});LF.draw=LF.$;LF.parentBounds=LF.ja;LF.container=LF.P;LF.itemsSource=LF.kA;$.H($.Pw,$.Yq);$.Pw.prototype.qa=2;var MF=function(){var a={};$.hq(a,[[0,"enabled",$.uq],[0,"duration",function(a){return null===a?this.mf("duration"):$.O(a,this.i("duration"),!0)}]]);return a}();$.U($.Pw,MF);$.Pw.prototype.F=function(){var a={};$.Hq(this,MF,a);return a};$.Pw.prototype.X=function(a,b){$.zq(this,MF,a,b)};$.Pw.prototype.Od=function(a,b,c){b=null;$.da(a)||null===a?(b={enabled:!!a},$.n(c)&&(b.duration=c)):(0,window.isNaN)(+a)||(b={enabled:!0,duration:+a});return b};
$.Pw.prototype.Ce=function(a,b){var c=this.Od(b);return c?("enabled"in c&&this.enabled(c.enabled),"duration"in c&&this.duration(c.duration),!0):!1};$.H(Qw,$.Yq);var NF={};$.hq(NF,[[0,"enabled",$.uq],[0,"titleFormat",$.Pq]]);$.U(Qw,NF);$.g=Qw.prototype;$.g.qa=$.Yq.prototype.qa|10;$.g.yV=function(a){$.X(a,8)&&this.enabled(this.Bs.i("enabled"))};$.g.F=function(){var a=Qw.u.F.call(this);$.Hq(this,NF,a);return a};$.g.Od=function(a){return $.da(a)||null===a?{enabled:!!a}:$.E(a)?{titleFormat:a}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?("enabled"in c&&this.enabled(c.enabled),"titleFormat"in c&&this.titleFormat(c.titleFormat),!0):!1};
$.g.X=function(a,b){Qw.u.X.call(this,a,b);$.zq(this,NF,a,b)};$.g.R=function(){this.Aa=null;this.Bs&&(this.Bs.ta(2),$.Zq(this.Bs,this.yV,this));this.Bs=null;Qw.u.R.call(this)};$.H(Sw,Qw);var OF={};$.gq(OF,0,"mode",function(a){return $.xk(Gda,a,"chart-elements")});$.U(Sw,OF);$.g=Sw.prototype;$.g.tR=function(){var a=this.Aa;a.iK||(a.iK=new $.rw);var b={chart:{value:a,type:""}};a.iK.mj([a]);return $.av(a.iK,b)};
$.g.yQ=function(){var a=this.Aa.La;a.ee("role",null);a.ee("aria-hidden","true");a.ee("aria-label",null);$.Xe(this.ND);this.ND=null;if(this.i("enabled")){var b=this.tR();if(this.i("titleFormat")){var c=this.i("titleFormat");$.z(c)&&(c=$.Bu($.zu.vd(),c));c=c.call(b,b)}(b=$.jr(this.Aa,"title"))&&!c&&b.i("text")&&b.enabled()&&(c=b.i("text"));"data-table"==this.i("mode")?(this.ND=this.Aa.W4(c),(a=this.Aa.P().P())&&$.We(a,this.ND,0)):c&&(a.ee("aria-label",c),a.ee("aria-hidden",null),a.ee("role","article"))}};
$.g.F=function(){var a=Sw.u.F.call(this);$.Hq(this,OF,a);return a};$.g.X=function(a,b){Sw.u.X.call(this,a,b);$.zq(this,OF,a)};$.g.R=function(){$.Xe(this.ND);this.ND=null;Sw.u.R.call(this)};$.H(Tw,Qw);Tw.prototype.yQ=function(){var a=null,b=null,c=this.Oa.jm()||this.b;this.i("enabled")&&this.i("titleFormat")&&(a=this.tR(),b=this.i("titleFormat"),$.z(b)&&(b=$.Bu($.zu.vd(),b)),a=b.call(a,a),b="img");this.Oa.check(4)&&!this.b&&(c=this.b=this.Oa.jm().Dd());c.ee("aria-label",a);c.ee("role",b)};
Tw.prototype.tR=function(){return this.Oa.xk()};Tw.prototype.R=function(){$.qd(this.b);this.Oa=null;Tw.u.R.call(this)};$.H($.Uw,$.Yq);var PF={};$.hq(PF,[[0,"spotRadius",$.O],[0,"multiSelectOnClick",$.uq],[0,"unselectOnClickOutOfPoint",$.uq],[0,"hoverMode",$.yk],[0,"selectionMode",$.zk],[0,"zoomOnMouseWheel",$.uq],[0,"scrollOnMouseWheel",$.uq]]);$.U($.Uw,PF);$.Uw.prototype.qa=2;$.Uw.prototype.X=function(a,b){$.zq(this,PF,a,b)};$.Uw.prototype.F=function(){var a={};$.Hq(this,PF,a);return a};$.Vw.prototype.xh=function(a,b,c){var d;if($.n(b)){var e=this.target.Wp();var f=this.target.aa();var h=f.Gb(),k=!0;if($.da(b)&&b){b=f.la();for(d=h;d--;)e=$.Yw(this,a,d,c,e),k=!1;f.select(b)}else if($.A(b))for($.Qa(b),d=b.length;d--;)f=+b[d],f<h&&(e=$.Yw(this,a,f,c,e),k=!1);else+b<h&&(e=$.Yw(this,a,+b,c,e),k=!1);k||this.target.fm(e)}else if(!(this.Ac&a)){c=$.Zl;a==$.Zl||a==$.po?c=$.po:a==$.qo&&(c=$.qo|$.po);for(d=this.b.length;d--;)$.bx(this,c,d)&&(this.target.aa().select(this.f[d])&&this.target.Xj($.Zl),
$.Ca(this.b,d,1),$.Ca(this.f,d,1));this.target.fm();if($.Xw(this)){if(this.target.ef())if(this.target.Rg())for(f=this.target.vc();f.advance();)d=f.la(),f.select(d)&&$.Xw(this,d)&&this.target.Uk(a);else $.Xw(this,window.NaN)&&this.target.Uk(a);this.Ac=a}}};
$.Vw.prototype.Hh=function(a,b){if($.n(b)){var c=this.target.Wp();var d=this.target.aa();var e=this.target.aa().Gb();if($.da(b)&&b){for(var f=d.la();e--;)c=$.dx(this,a,e,c);d.select(f)}else if($.A(b))for($.Qa(b),e=b.length;e--;)c=$.dx(this,a,+b[e],c);else if((0,window.isNaN)(b))for(e=this.f.length;e--;)c=$.Ww(this,a,e);else c=$.dx(this,a,+b,c);this.target.fm(c);this.target.Rg()||"single"!=this.target.Fl()||this.target.Uk($.Zw(this,$.qo)?$.qo:$.Zw(this,$.po)?$.po:$.Zl)}else{for(e=this.b.length;e--;)$.bx(this,
a,e)&&(this.target.aa().select(this.f[e])&&this.target.Xj($.Zl),$.Ca(this.f,e,1),$.Ca(this.b,e,1));this.target.fm();this.Ac&=~a;if(this.target.ef())if(this.target.Rg())for(d=this.target.vc();d.advance();)c=d.la(),d.select(c)&&$.Xw(this,c)&&this.target.Uk(this.Ac);else this.target.Uk(this.Ac)}};$.Vw.prototype.Nj=function(){return this.Ac};var RF;$.H($.gx,$.iu);$.g=$.gx.prototype;$.g.qa=$.iu.prototype.qa;$.g.sa=$.iu.prototype.sa|3552;$.g.yO=function(){return!0};$.g.vM=function(){return!1};$.g.J4=function(){return!0};$.g.Gf=function(a){$.cl(8);return $.n(a)?this:null};$.g.Ue=function(){return null};$.g.Ii=function(){return!1};$.g.Qt=ba(13);$.g.u_=function(){var a=$.ik();a.Zw=this.Zw;a.Do(ev(this.Do()));return a};
$.g.margin=function(a,b,c,d){this.Mc||(this.Mc=new $.zv,$.L(this.Mc,this.sA,this),$.W(this,"margin",this.Mc));return $.n(a)?(this.Mc.K.apply(this.Mc,arguments),this):this.Mc};$.g.sA=function(a){$.X(a,2)&&this.B(4,9)};$.g.padding=function(a,b,c,d){this.Pa||(this.Pa=new $.tu,$.L(this.Pa,this.Pl,this),$.W(this,"padding",this.Pa));return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this):this.Pa};$.g.Pl=function(a){$.X(a,2)&&this.B(4,9)};
$.g.background=function(a){this.Ka||(this.Ka=new $.ku,$.L(this.Ka,this.gg,this),$.W(this,"background",this.Ka));return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.gg=function(a){$.X(a,1)&&this.B(64,1)};$.g.title=function(a){this.sb||(this.sb=new $.Nv,this.sb.ib(this),$.L(this.sb,this.zV,this),$.W(this,"title",this.sb));return $.n(a)?(this.sb.K(a),this):this.sb};$.g.zV=function(a){var b=0,c=0;$.X(a,1)&&(b|=160,c|=1);$.X(a,8)&&(b|=4,c|=8);this.B(b,c)};
$.g.label=function(a,b){if($.ea(a)||$.z(a)&&!(0,window.isNaN)(+a)){var c=+a;var d=b}else c=0,d=a;var e=this.Su[c];e||(e=this.tK(),e.ib(this),e.Fa("defaultFontSettings","defaultLabelSettings"),this.Su[c]=e,$.L(e,this.zga,this),this.B(256,1));return $.n(d)?(e.K(d),this):e};$.g.zga=function(){this.B(256,1)};$.g.tK=function(){return new $.jv};$.g.sW=function(a,b){a.ja(b)};$.g.nV=function(a){$.X(a,1)&&this.B(256,1)};
$.g.Pm=function(a){this.jq||(this.jq=new $.bv(this),$.L(this.jq,this.nV,this));return $.n(a)?(this.jq.K(a),this):this.jq};$.g.Ej=function(){return!1};$.g.I4=function(){return!0};$.g.ob=$.ia;$.g.Pn=$.ia;$.g.kv=function(){this.ob();this.Pn()};$.g.Ia=function(a,b){return $.n(a)?$.n(b)?(this.Vm[a.toLowerCase()]=b,this):this.Vm[a.toLowerCase()]:this.Vm};$.g.oI=function(){this.Vm={}};$.g.Eg=function(a){this.kv();return this.Ia(a)};
$.g.Xa=function(a){this.gb||(this.gb=this.xK(),$.W(this,"tooltip",this.gb));return $.n(a)?(this.gb.K(a),this):this.gb};$.g.xK=function(){var a=new $.iw(4294967295);a.Aa(this);$.mw(a,this);this.yO()&&this.ra("pointshover",this.$ha,!0);return a};
$.g.$ha=function(a){if(!a.BS){var b=[];(0,$.Qe)(a.seriesStatus,function(c){0==c.points.length?("float"==this.gb.i("positionMode")&&this.ac("mousemove",this.ZI),this.gb.Oc(!1,a)):c.series.enabled()&&b.push(c)},this);if(0!=b.length)if("float"==this.gb.i("positionMode")&&this.ra("mousemove",this.ZI),"single"==$.jr(this,"interactivity",!0,this.Vc).i("hoverMode")){var c=[];if("single"==this.gb.i("displayMode"))c=a.seriesStatus;else{var d,e=d=a.seriesStatus[0].points[0];$.n(e.index)&&(e=d=e.index);var f=
a.seriesStatus[0].series;f.cl&&$.K(f.cl(),$.Ct)&&"scatter"==f.i("xMode")&&(d=a.point.get("x"));$.n(this.Te())&&(c=(0,$.Wa)(this.Te(),function(a){"scatter"==a.i("xMode")?a.aa().select(e):a.aa().select(d);return{series:a,points:[e]}}));c=(0,$.Ye)(c,function(a){a=a.series.aa();return $.n(a.o("missing"))?!a.o("missing"):!$.wo(a.get("value"))})}$.zw(this.gb,c,a.originalEvent.clientX,a.originalEvent.clientY,a.seriesStatus[0].series,this.uu())}else{var h=b[0];b[0].series.aa().select(b[0].nearestPointToCursor.index);
(0,$.Qe)(b,function(a){h.nearestPointToCursor.distance>a.nearestPointToCursor.distance&&(a.series.aa().select(a.nearestPointToCursor.index),h=a)});"single"==this.gb.i("displayMode")?$.zw(this.gb,[h],a.originalEvent.clientX,a.originalEvent.clientY,h.series,this.uu()):$.zw(this.gb,b,a.originalEvent.clientX,a.originalEvent.clientY,h.series,this.uu())}}};$.g.ZI=function(a){this.gb.QO(a.clientX,a.clientY)};$.g.uu=function(){return!1};
$.g.contextMenu=function(a){this.Zj||(this.Zj=$.fl.anychart.ui.contextMenu(!!$.D(a)&&a.fromTheme))&&this.Zj.itemsProvider(this.iR);return $.n(a)?(this.Zj&&this.Zj.setup(a),this):this.Zj};
$.g.iR=function(a){var b=a.event?a.event.target.Gi():null,c=a.event?$.mo(a.event.domTarget):null;b=$.D(c)&&$.n(c.W)&&c.W.seriesType&&$.n(c.index)||b&&b.seriesType;c={};$.fl.anychart.exports&&$.Sc(c,$.Kl($.QF.exporting));$.Qj()&&a.menuParent&&$.Sc(c,$.Kl($.QF[a.menuParent.fullScreen()?"full-screen-exit":"full-screen-enter"]));$.Sc(c,$.Kl($.QF.main));return a.menuParent.Hw(c,a,b)};$.g.Hw=function(a){return a};$.g.pN=ba(14);
$.g.PL=function(){var a=[],b,c,d,e=this.Te();for(c=0;c<e.length;c++)if((b=e[c])&&b.state&&b.Rd&&b.enabled()){var f=$.ex(b.state,$.qo);for(d=0;d<f.length;d++)a.push(b.Rd(f[d]))}return a};
RF={"select-marquee-start":{index:9.3,text:"Start selection marquee",eventType:"anychart.startSelectMarquee",action:function(a){a.menuParent.vO(!1)}},"save-chart-as":{index:10,text:"Save chart as...",iconClass:"ac ac-file-image-o",subMenu:{"save-chart-as-png":{index:10,text:".png",iconClass:"ac ac-file-image-o",eventType:"anychart.saveAsPng",action:function(a){a.menuParent.gu()}},"save-chart-as-jpg":{index:20,text:".jpg",iconClass:"ac ac-file-image-o",eventType:"anychart.saveAsJpg",action:function(a){a.menuParent.xw()}},
"save-chart-as-pdf":{index:30,text:".pdf",iconClass:"ac ac-file-pdf-o",eventType:"anychart.saveAsPdf",action:function(a){a.menuParent.yw()}},"save-chart-as-svg":{index:40,text:".svg",iconClass:"ac ac-file-code-o",eventType:"anychart.saveAsSvg",action:function(a){a.menuParent.zw()}}}},"save-data-as":{index:20,text:"Save data as...",iconClass:"ac ac-save",subMenu:{"save-data-as-text":{index:10,text:".csv",iconClass:"ac ac-file-excel-o",eventType:"anychart.saveAsCsv",action:function(a){a.menuParent.Ey()}},
"save-data-as-xlsx":{index:20,text:".xlsx",iconClass:"ac ac-file-excel-o",eventType:"anychart.saveAsXlsx",action:function(a){a.menuParent.Fy()}}}},"share-with":{index:30,text:"Share with...",iconClass:"ac ac-net",subMenu:{"share-with-facebook":{index:10,text:"Facebook",iconClass:"ac ac-facebook",eventType:"anychart.shareWithFacebook",action:function(a){a.menuParent.cE()}},"share-with-twitter":{index:20,text:"Twitter",iconClass:"ac ac-twitter",eventType:"anychart.shareWithTwitter",action:function(a){a.menuParent.fE()}},
"share-with-linkedin":{index:30,text:"LinkedIn",iconClass:"ac ac-linkedin",eventType:"anychart.shareWithLinkedIn",action:function(a){a.menuParent.dE()}},"share-with-pinterest":{index:40,text:"Pinterest",iconClass:"ac ac-pinterest",eventType:"anychart.shareWithPinterest",action:function(a){a.menuParent.eE()}}}},"print-chart":{index:50,text:"Print",iconClass:"ac ac-print",eventType:"anychart.print",action:function(a){a.menuParent.print()}},"full-screen-enter":{index:60,text:"Enter full screen",action:function(a){a.menuParent.fullScreen(!0)}},
"full-screen-exit":{index:60,text:"Exit full screen",action:function(a){a.menuParent.fullScreen(!1)}},about:{index:80,iconClass:"ac ac-cog",text:"AnyChart "+$.hc.apply(null,["v%s.%s.%s.%s"].concat(["8","9","0","1932"])),href:"https://anychart.com"},"save-config-as":{index:100,text:"Save config as...",iconClass:"ac ac-save",subMenu:{"save-config-as-json":{index:10,text:".json",iconClass:"ac ac-file-code-o",eventType:"anychart.saveAsJson",action:function(a){a.menuParent.RN()}},"save-config-as-xml":{index:20,
text:".xml",iconClass:"ac ac-file-code-o",eventType:"anychart.saveAsXml",action:function(a){a.menuParent.SN()}}}},"link-to-help":{index:110,iconClass:"ac ac-question",text:"Need help? Go to support center!",href:"https://anychart.com/support"},"version-history":{index:120,text:"Version History",href:""}};
$.QF={exporting:{"save-chart-as":RF["save-chart-as"],"save-data-as":RF["save-data-as"],"share-with":RF["share-with"],"print-chart":RF["print-chart"],"exporting-separator":{index:51}},"full-screen-enter":{"full-screen-enter":RF["full-screen-enter"],"full-screen-separator":{index:61}},"full-screen-exit":{"full-screen-exit":RF["full-screen-exit"],"full-screen-separator":{index:61}},main:{about:RF.about},"select-marquee":{"select-marquee-start":RF["select-marquee-start"],"select-marquee-separator":{index:9.4}}};
$.g=$.gx.prototype;$.g.Do=function(a){this.cm||(this.cm=new cv(this),$.L(this.cm,this.uga,this),$.W(this,"credits",this.cm),this.cm.X(this.cm.ma));return $.n(a)?(this.cm.K(a),this):this.cm};$.g.uga=function(a){var b=0;$.X(a,2)&&(b|=1024);this.B(b,1)};$.g.DB=function(a,b){this.Du||(this.Du=new $.Pw,$.L(this.Du,this.oga,this),$.W(this,"animation",this.Du));return $.n(a)?(this.Du.K.apply(this.Du,arguments),this):this.Du};$.g.oga=function(){this.B(2048,1)};$.g.XK=$.ia;
$.g.Ys=function(a){this.Qk||(this.Qk=new Sw(this),$.L(this.Qk,this.sV,this),$.W(this,"a11y",this.Qk));return $.n(a)?(this.Qk.K.apply(this.Qk,arguments),this):this.Qk};$.g.sV=function(){this.B(32,1)};
$.g.rF=function(a){a=this.margin().nj(a);var b=$.jr(this,"background");this.J(68)&&(b&&($.V(b),b.P()||b.P(this.La),b.ja(a),b.da(!1),b.$()),this.I(64));a=b&&b.enabled()?b.qd():a;a=this.WR(a);a=this.padding().nj(a);b=this.title();this.J(132)&&(b&&($.V(b),b.P()||b.P(this.La),b.ja(a),b.da(!1),b.$()),this.I(128));return(b&&b.enabled()?b.qd():a).clone()};
$.g.WR=function(a){var b=this.P().Ha();if(!b)return a;b=b.Do();var c=this.Do();b.K(ev(c));delete c.text_;delete c.url_;delete c.alt_;delete c.imgAlt_;delete c.logoSrc_;delete c.enabled_;this.I(1024);return a};
$.g.uj=function(){this.KQ||(this.ix?$.L(this,this.C1,this):$.Zq(this,this.C1,this),this.KQ=!0);if(this.Bc()){$.V(this);var a=$.jr(this.Pm(),"label");if(a&&this.I4()){var b=this.Ej();a.visible()!==b&&this.La&&(b=this.dispatchEvent({type:"datachanged",chart:this,hasData:!b})&&b);a.visible(b)}this.La||(this.La=$.lk(),$.du(this,this.La));var c=(b=this.P()?this.P().Ha():null)&&!b.ff();c&&b.suspend();!this.Zj&&$.n(this.ma.contextMenu)&&this.contextMenu(this.ma.contextMenu);this.Zj&&this.Zj.attach(this);
this.J(8)&&(this.La.zIndex(this.zIndex()),this.I(8));this.J(2)&&(this.La.parent(this.P()),this.I(2));this.J(4)&&b&&b.ra("stageresize",this.By,!1,this);var d=this.lb(),e=d.width&&d.height;if(e){this.Pu();this.Xf=this.rF(d);this.ei(this.Xf);this.iE(this.Rf());var f=$.jr(this,"background"),h=f?f.i("fill"):null;f&&f.enabled()&&h&&"none"!=h||(this.gO||(this.gO=this.La.rect(),this.gO.fill($.Ul).stroke(null)),this.gO.uf(this.Xf));if(this.J(260)){f=0;for(h=this.Su.length;f<h;f++){var k=this.Su[f];k&&($.V(k),
!k.P()&&k.enabled()&&k.P(this.La),this.sW(k,d),k.$(),k.da(!1))}a&&($.V(a),a.P(this.La),this.sW(a,this.Xf),a.$(),a.da(!1));this.I(256)}}this.I(4);e&&(this.XK(),this.I(2048),this.J(32)&&((a=$.jr(this,"a11y"))&&a.yQ(),this.I(32)));this.da(!1);a=$.ec($.cc.vd(),this,"chart");this.La.id(a);c&&b.resume();b&&(b.DL()[a]=this);$.up(this,{type:"chartdraw",chart:this});this.yO()&&this.xD()}};$.g.$=function(a){a?(this.QZ||(this.QZ=(0,$.pa)(this.$,this)),(0,window.setTimeout)(this.QZ,0)):this.uj();return this};
$.g.Pu=function(){};$.g.ei=function(){};$.g.iE=function(){};$.g.oz=function(a){return $.n(a)?(this.ix!=a&&(this.ix=a,this.KQ=!1,this.B(4,9),this.ix&&this.$()),this):this.ix};$.g.By=function(){this.Za().Nq()&&this.B(772,9)};$.g.Rf=function(){return this.Xf};$.g.cfa=function(a,b){var c={x:a,y:b};if(this.P()&&this.P().Ha()){var d=$.Wj(this.P().Ha());c.x+=d.x;c.y+=d.y}return c};$.g.mT=function(a,b){var c={x:a,y:b};if(this.P()&&this.P().Ha()){var d=$.Wj(this.P().Ha());c.x-=d.x;c.y-=d.y}return c};
$.g.remove=function(){this.La&&this.La.parent(null)};$.g.C1=function(){Hp(this.$,this)};var SF={};$.gq(SF,1,"selectRectangleMarqueeFill",$.Eq);$.gq(SF,1,"selectRectangleMarqueeStroke",$.Dq);$.gq(SF,3,"selectRectangleMarqueeFill",$.Eq,"selectMarqueeFill");$.gq(SF,3,"selectRectangleMarqueeStroke",$.Dq,"selectMarqueeStroke");$.U($.gx,SF);$.g=$.gx.prototype;
$.g.hB=function(a){var b=this.fd?{}:this.F();if($.n(Wp()[0].chart.background.fill)){var c={};c[Jca(this)]=$.mm(this.Na());b=$.ym(b,c)||{}}return a?$.ao(b):b};$.g.GO=function(a){return $.hp(this.hB(!1),"",a)};
$.g.F=function(){var a=$.gx.u.F.call(this);a.type=this.Na();$.jr(this,"title")&&(a.title=this.title().F());$.jr(this,"background")&&(a.background=this.background().F());$.jr(this,"tooltip")&&(a.tooltip=this.Xa().F());a.margin=this.margin().F();a.padding=this.padding().F();$.jr(this,"a11y")&&(a.a11y=this.Ys().F());$.n(this.ix)&&(a.autoRedraw=this.ix);for(var b=[],c=0;c<this.Su.length;c++)this.Su[c]&&b.push(this.Su[c].F());0<b.length&&(a.chartLabels=b);a.bounds=this.Za().F();$.jr(this,"animation")&&
(a.animation=this.DB().F());$.jr(this.Pm(),"label")&&(a.noDataLabel=this.Pm().label().F());this.Zj&&(a.contextMenu=this.contextMenu().serialize());a.credits=this.Do().F();var d;this.wt&&(d=this.dG().F());d&&!$.Jc(d)&&(a.exports=d);$.Hq(this,SF,a);return a};
$.g.X=function(a,b){"autoRedraw"in a&&(this.ix=a.autoRedraw);$.gx.u.X.call(this,a,b);"title"in a&&this.title().ia(!!b,a.title);"background"in a&&this.background().ia(!!b,a.background);"padding"in a&&this.padding().ia(!!b,a.padding);"margin"in a&&this.margin(a.margin);var c=a.chartLabels;if($.A(c))for(var d=0;d<c.length;d++)this.label(d,c[d]);$.z(a.container)&&this.P(a.container);this.Za(a.bounds);this.left(a.left);this.top(a.top);this.width(a.width);this.height(a.height);this.right(a.right);this.bottom(a.bottom);
this.DB(a.animation);"noDataLabel"in a&&this.Pm().label().ia(!!b,a.noDataLabel);"tooltip"in a&&this.Xa().ia(!!b,a.tooltip);"a11y"in a&&this.Ys().ia(!!b,a.a11y);$.n(a.contextMenu)&&this.contextMenu(a.contextMenu);"credits"in a&&this.Do(a.credits);"exports"in a&&this.dG(a.exports);$.zq(this,SF,a)};$.g.ld=void 0;
$.g.R=function(){$.td(this.Du,this.Qk,this.gb,this.jq,this.Hg,this.Ka,this.gb,this.Mc,this.Pa,this.sb,this.Su,this.Zj,this.cm,this.La);this.sb=this.Pa=this.Mc=this.gb=this.Ka=this.Hg=this.jq=this.Qk=this.Du=null;this.Su.length=0;this.La=this.cm=this.Zj=null;$.gx.u.R.call(this);this.Yd&&eq(this,this.Yd)};
$.g.sh=function(a){var b,c=$.mo(a.domTarget);if($.K(a.target,$.Du)||$.K(a.target,$.Px)){var d=a.target.Gi();d.Ii&&d.Ii()&&(b=d);d=c}else $.K(a.target,$.Iw)?c&&(b=c.W,d=c.index):(b=c&&c.W,d=$.ea(c.index)?c.index:a.pointIndex);b&&!b.fd&&b.enabled()&&$.E(b.Ig)&&($.n(a.pointIndex)||(a.pointIndex=$.A(d)?d[d.length-1]:d),(a=b.Ig(a))&&b.dispatchEvent(a))};$.g.ig=function(a){var b=$.gx.u.ig.call(this,a),c=$.mo(b.relatedDomTarget);return(c=c&&c.W)&&!c.fd&&c.enabled()?c.ig(a):b};
$.g.CF=function(a,b){for(var c=[],d=0,e=a.length;d<e;d++){var f=a[d],h;f.we?h={index:f.we.index,distance:f.we.Yf}:h={index:window.NaN,distance:window.NaN};c.push({series:f.W,points:b?[]:f.md?$.Ha(f.md):[],nearestPointToCursor:h})}return c};$.g.oD=function(a,b,c){for(var d,e,f,h=window.Infinity,k=0,l=a.length;k<l;k++){var m=a[k];if(m.we){var p=m.we;if(h>p.Yf||!d)d=m.W,e=p.index,f=$.Aa(m.md,p.index),h=p.Yf}}a={index:e,series:d};a[b]=c?!f:f;return a};
$.g.Ik=function(a,b,c,d,e){var f=this.oD(c,a,d),h=[];if(!d)for(var k=0;k<c.length;k++){var l=c[k];var m=l.W;for(var p=0;p<l.md.length;p++)h.push(m.Rd(l.md[p]))}m=f.series;a={type:"hovered"==a?"pointshover":"pointsselect",seriesStatus:this.CF(c,d),currentPoint:f,actualTarget:b.target,target:this,originalEvent:b,point:m.Rd(f.index),points:h};e&&(a.BS=!0);return a};$.g.WK=$.ia;$.g.Iz=$.ia;
$.g.rg=function(a){var b=$.jr(this,"interactivity",!0,this.Vc);var c=$.mo(a.domTarget),d=!1;if($.K(a.target,$.Iw)||this.Tu(a.target)){if($.n(c)){$.ea(c)&&(c=a.target.Gi());if(c.Jf){var e=c.Jf.W;var f=c.Jf.md;$.A(f)&&!f.length&&(f=window.NaN)}else e=c.W,f=c.index;d=!0}}else $.K(a.target,$.Du)||$.K(a.target,$.Px)||$.K(a.target,$.iw)?(f=a.target.Gi(),f.Ii&&f.Ii()&&(e=f),f=c):a.target.Gi&&$.K(a.target.Gi(),$.iw)?(f=a.target.Gi().Gi(),f.Ii&&f.Ii()&&(e=f),f=c):(e=c&&c.W,f=$.ea(c&&c.index)?c.index:a.pointIndex);
if(e&&!e.fd&&e.enabled()&&$.E(e.Ig)){if(c=e.Ig(a),null!=c&&$.ea(c.pointIndex)&&!(0,window.isNaN)(c.pointIndex)&&(f=c.pointIndex),c&&($.no(e,a.relatedTarget)||e.dispatchEvent(c))&&"single"==b.i("hoverMode")&&($.A(f)&&!(0,$.RC)(f,function(a){return $.fx(e.state,$.po,a)},this)||!$.fx(e.state,$.po,f)&&!(0,window.isNaN)(f))){$.E(e.Hi)&&e.Hi(f,a);this.WK(f,e);c=$.ex(e.state,$.po);var h=[];c.length&&h.push({W:e,md:c,we:{index:$.A(f)?f[0]:f,Yf:0}});h.length&&(e.aa().select(h[0].we.index),this.dispatchEvent(this.Ik("hovered",
a,h,!1,d)),this.jl=h.length?h:null)}}else this.jl&&(this.Pd(),this.dispatchEvent(this.Ik("hovered",a,this.jl,!0)),this.jl=null);if("single"!=b.i("hoverMode"))if(f=this.es(a),c=!1,f&&f.length){e=this.Te();for(b=0;b<e.length;b++){var k=!1;for(h=0;h<f.length;h++)k=k||e[b]==f[h].W;!k&&$.ex(e[b].state,$.po).length&&(f.push({W:e[b],md:[]}),e[b].Pd(),c=!0)}b=0;for(h=f.length;b<h;b++){k=f[b];e=k.W;var l=k.md,m=$.ex(e.state,$.po);c=c||!$.Ta(l,m);e.state.Nj()&$.po||e.Hi(k.md)}c&&(this.dispatchEvent(this.Ik("hovered",
a,f,!1,d)),this.jl=f.length?f:null)}else $.K(a.target,$.Iw)||(this.Pd(),this.jl&&this.dispatchEvent(this.Ik("hovered",a,this.jl,!0)),this.jl=null)};
$.g.Gg=function(a){var b=$.jr(this,"interactivity",!0,this.Vc).i("hoverMode"),c=$.mo(a.domTarget),d=!1,e;if($.K(a.target,$.Du)||$.K(a.target,$.Px)){var f=a.target.Gi();f.Ii&&f.Ii()&&(e=f);f=c}else $.K(a.target,$.Iw)||this.Tu(a.target)?(c&&(c.Jf?(e=c.Jf.W,f=c.Jf.md,$.A(f)&&!f.length&&(f=window.NaN)):(e=c.W,f=c.index)),d=!0):(e=c&&c.W,f=$.ea(c.index)?c.index:a.pointIndex);if(e&&!e.fd&&e.enabled()&&$.E(e.Ig)&&(c=e.Ig(a))){var h=$.mo(a.relatedDomTarget);h=$.N($.D(h)?h.index:h);var k=$.no(e,a.relatedTarget),
l="vml"==$.hk&&e.Xa&&$.no(e.Xa(),a.relatedTarget);k&&h==f||!e.dispatchEvent(c)||l||"single"!=b||(0,window.isNaN)(f)&&!$.A(f)||(e.Pd(),this.Iz(),this.dispatchEvent(this.Ik("hovered",a,[{W:e,md:[],we:{index:$.A(f)?f[0]:f,Yf:0}}],!1,d)))}"single"==b||$.no(this,a.relatedTarget)||(this.Pd(),this.Iz(),this.jl&&this.dispatchEvent(this.Ik("hovered",a,this.jl,!0,d)),this.jl=null)};$.g.Tu=function(){return!1};$.g.Cj=function(a){this.kq(a)};
$.g.kq=function(a){if(!this.FA){var b=$.jr(this,"interactivity",!0,this.Vc),c=a.ctrlKey||a.metaKey;var d=b.i("multiSelectOnClick");var e=c||a.shiftKey||d;var f=$.mo(a.domTarget);var h=this.Tu(a.target);var k=$.K(a.target,$.Du);var l=$.K(a.target,$.Px);h=$.K(a.target,$.Iw)||h;var m,p;if(h){if(f)if(p=f.Jf||f.md){var q=p.W;var r=p.md}else q=f.W,r=f.index}else k||l?(k=a.target.Gi(),k.Ii&&k.Ii()&&(q=k),r=f):(q=f&&f.W,r=f&&$.ea(f.index)?f.index:a.pointIndex);if(q&&!q.fd&&q.enabled()&&$.E(q.Ig)){var t=q.Ig(a);
if(t&&($.no(q,a.relatedTarget)||q.dispatchEvent(t))&&(h||(r=t.pointIndex),"single"==b.i("hoverMode"))){if("none"==b.i("selectionMode")||"none"==q.Ni())return;k=$.ex(q.state,$.qo);var u=1==k.length&&k[0]==r;if(!e&&u)return;if(f=e)f=!!(q.state.Nj()&$.qo);!d&&(f||!e||e&&"multi-select"!=b.i("selectionMode"))?(this.ae(),this.Sl&&this.dispatchEvent(this.Ik("selected",a,this.Sl,!0))):"single-select"==q.Ni()&&(this.Sl&&this.dispatchEvent(this.Ik("selected",a,this.Sl,!0)),q.ae(),$.A(r)&&(r=r[r.length-1]));
$.E(q.Mi)&&q.Mi(r,a);l=this.Te();d=[];for(f=0;f<l.length;f++)if(m=l[f])k=$.ex(m.state,$.qo),k.length&&d.push({W:m,md:k,we:{index:r,Yf:0}});d.length||d.push({W:q,md:[],we:{index:r,Yf:0}});this.dispatchEvent(this.Ik("selected",t,d));u?this.Sl=null:this.Sl=d}}else"single"==b.i("hoverMode")&&b.i("unselectOnClickOutOfPoint")&&(h||this.ae(),this.Sl&&this.dispatchEvent(this.Ik("selected",a,this.Sl,!0)),this.Sl=null);if("single"!=b.i("hoverMode")&&"none"!=b.i("selectionMode"))if((r=this.es(a))&&r.length){h=
!1;d=[];var v;if("single-select"==b.i("selectionMode")){var w;f=0;for(b=r.length;f<b;f++){var x=r[f];q=x.W;"none"!=q.Ni()&&(w||(w=x),w.we.Yf>x.we.Yf&&(w=x))}q=w.W;k=$.ex(q.state,$.qo);u=1==k.length&&k[0]==w.we.index;h=!u||u&&e;if(c=e)c=!!(q.state.Nj()&$.qo);!c&&e||u||q.ae();q.Mi(w.we.index,a);k=$.ex(q.state,$.qo);if(k.length)for(d.push({W:q,md:[w.we.index],we:w.we}),l=this.Te(),f=0;f<l.length;f++)q=l[f],"none"!=q.Ni()&&((v=q==d[0].W)||q.ae());else d.push({W:q,md:k,we:x.we})}else{w=[];if(!e)for(l=
this.Te(),f=0;f<l.length;f++)if(m=l[f],"none"!=m.Ni()){v=!1;for(t=0;t<r.length;t++)v=v||m==r[t].W;!v&&$.ex(m.state,$.qo).length&&(w.push({W:m,md:[]}),m.ae(),h=!0)}f=0;for(b=r.length;f<b;f++)if(x=r[f],q=x.W,"none"!=q.Ni()){"single-select"==q.Ni()?p=[x.we.index]:p=x.md;k=$.ex(q.state,$.qo);if(a.shiftKey){v=!0;for(t=0;t<p.length;t++)v=v&&$.Aa(k,p[t]);u=v}else c||(u=$.Ta(p,k));h=h||!u;if(!u){if(k=e)k=!!(q.state.Nj()&$.qo);!k&&e&&"single-select"!=q.Ni()||q.ae();q.Mi(p,a)}k=$.ex(q.state,$.qo);k.length?
d.push({W:q,md:k,we:x.we}):w.push({W:q,md:k,we:x.we})}for(f=0;f<w.length;f++)d.push(w[f])}h&&(this.dispatchEvent(this.Ik("selected",a,d)),this.Sl=d.length?d:null)}else h||this.ae(),this.Sl&&this.dispatchEvent(this.Ik("selected",a,this.Sl,!0)),this.Sl=null}};$.g.ae=function(){var a,b=this.Te();var c=0;for(a=b.length;c<a;c++)b[c]&&b[c].ae()};$.g.Pd=function(){var a,b=this.Te();var c=0;for(a=b.length;c<a;c++)b[c]&&b[c].Pd()};
$.g.Vc=function(a){this.Hg||(this.Hg=this.qR(),$.L(this.Hg,this.xD,this),$.W(this,"interactivity",this.Hg));return $.n(a)?($.D(a)?this.Hg.K(a):this.Hg.hoverMode(a),this):this.Hg};$.g.qR=function(){return new $.Uw(this)};$.g.xD=function(){for(var a=this.Te(),b=a.length;b--;)if(a[b]){var c=$.jr(this,"interactivity",!0,this.Vc);a[b].Fl(c.i("hoverMode"))}};$.g.sM=function(a){this.qs&&this.kU.cursor(this.iU||kx(this,a.clientX,a.clientY)?this.jU:null)};
$.g.H1=function(a){var b,c=this.P(),d=$.Wj(c.Ha()),e=a.clientX-d.x;d=a.clientY-d.y;"mousedown"==a.type&&!a.Vj.g()||!(b=kx(this,a.clientX,a.clientY))||this.nU&&!1===this.nU(b-1,e,d,0,0,a)||(this.hH=b-1,b=this.qs[this.hH],this.Qv=e,this.eD=d,this.un.uf(this.rM?new $.J(this.Qv,b.top,0,b.height):new $.J(this.Qv,this.eD,0,0)),this.un.parent(c),this.ey||(this.ey=new lx(this.un)),this.ey.Y3=window,b=b.clone(),b.left-=this.Qv,b.top-=this.eD,this.ey.uW(b),this.Pt.ra(this.ey,"drag",this.Pea),this.Pt.ra(this.ey,
"end",this.Oea),this.iU=!0,this.ey.Tj(a.Vj),a.preventDefault(),a.stopPropagation())};$.g.Pea=function(a){if(this.rM){var b=this.qs[this.hH];b=new $.J(this.Qv,b.top,a.left,b.height)}else b=new $.J(this.Qv,this.eD,a.left,a.top);this.un.uf(b);this.lU&&this.lU(this.hH,this.Qv,this.eD,a.left,a.top,new $.Ni(a.UB,this.P().Ha()))};
$.g.Oea=function(a){if(this.rM){var b=this.qs[this.hH];b=new $.J(this.Qv,b.top,a.left,b.height)}else b=new $.J(this.Qv,this.eD,a.left,a.top);this.un.uf(b);b=!1;this.mU&&(b=!1===this.mU(this.hH,this.Qv,this.eD,a.left,a.top,new $.Ni(a.UB,this.P().Ha())));b||this.I1?this.un.parent(null):ix(this)};$.H(lx,$.ag);lx.prototype.Hq=function(){this.deltaX=this.deltaY=0};lx.prototype.Rr=function(){};$.g=$.gx.prototype;
$.g.ria=function(a){$.el(405,null,["chart.startSelectMarquee()","chart.startSelectRectangleMarquee()"],!0);return this.vO(a)};$.g.vO=function(a){this.FA=$.jx(this,this.Nga,this.Lga,this.Mga,this.OL(),void 0,a,this.i("selectRectangleMarqueeStroke"),this.i("selectRectangleMarqueeFill"));return this};$.g.lM=function(){return!!this.qs};$.g.yba=function(){this.FA=!1;ix(this);return this};$.g.OL=function(){return null};
$.g.Cz=function(a,b,c,d,e,f,h){b=$.Wj(this.P().Ha());var k=0>e?c+e:c,l=0>f?d+f:d;return{type:a,offsetX:h.offsetX,offsetY:h.offsetY,clientX:h.clientX,clientY:h.clientY,screenX:h.screenX,screenY:h.screenY,button:h.button,actionButton:h.actionButton,keyCode:h.keyCode,charCode:h.charCode,ctrlKey:h.ctrlKey,altKey:h.altKey,shiftKey:h.shiftKey,metaKey:h.metaKey,platformModifierKey:h.platformModifierKey,clientStartX:c+b.x,clientStartY:d+b.y,clientLeft:k+b.x,clientTop:l+b.y,startX:c,startY:d,left:k,top:l,
width:Math.abs(e),height:Math.abs(f)}};$.g.Nga=function(a,b,c,d,e,f){return this.dispatchEvent(this.Cz("selectmarqueestart",a,b,c,d,e,f))};$.g.Lga=function(a,b,c,d,e,f){return this.dispatchEvent(this.Cz("selectmarqueechange",a,b,c,d,e,f))};$.g.Mga=function(a,b,c,d,e,f){a=this.Cz("selectmarqueefinish",a,b,c,d,e,f);(b=this.dispatchEvent(a))&&this.WN(a);this.FA=!1;return b};$.g.WN=function(){};
$.g.fullScreen=function(a){var b=this.P();b=b?b.Ha():null;return $.n(a)?(b&&b.fullScreen(a),this):b?b.fullScreen():!1};$.g.iy=function(){var a=this.P();return(a=a?a.Ha():null)?a.iy():!1};$.g.dG=function(a){var b=$.fa.anychart.exports;b?this.wt||(this.wt=b.create()):$.cl(4,null,["Exporting"]);return $.n(a)&&this.wt?(this.wt.X(a),this):this.wt};$.g.At=function(){return this.Te()};$.g.N0=function(){var a=$.Ga.apply(null,(0,$.Wa)(this.At(),function(a){return a.data().uv()}));$.Ka(a,a,$.ko);return a};
$.g.FV=function(a,b,c){var d;if($.A(b))for(d=0;d<b.length;d++){var e=b[d];a[c[d]]=$.D(e)?Xn(e):e}else if($.D(b))for(d in b)e=b[d],a[c[d]]=$.D(e)?Xn(e):e;else a[c.value]=$.D(b)?Xn(b):b};$.g.w4=function(){return!0};$.g.HC=function(){return[]};$.g.IC=function(a){return a.la()};$.g.GC=function(){return null};$.g.mG=function(a){return $.K(a,$.nx)?a.ue():["value"]};$.g.nG=function(a,b,c,d){var e=$.ko(a);e in d?d=d[e]:(d=d[e]=c.length,c.push([b||String(a)]));return c[d]};
$.g.o0=function(a,b,c,d,e,f,h){e=$.ko(a);if(e in h){do f=e+"_"+(1).toString();while(f in h);e=f}h[e]=!0;e in d?d=d[e]:(d=d[e]=c.length,c.push([b||String(a)]));return c[d]};$.g.p0=function(a){return $.E(a.aa)?a.aa():a.data().aa()};$.g.u1=function(a){return $.ko(a.data().uv()[0])};$.g.h3=function(a,b,c,d){for(var e=0;e<b.length;e++)a[e+d.length]=c.get(b[e])};
$.g.FL=function(a){for(var b=this.At(),c=this.HC(),d={},e,f=[],h=0;h<b.length;h++){var k=b[h],l=this.mG(k);if(l.length){e=this.p0(k,a);e.reset();for(var m=this.u1(k),p={};e.advance();){var q=this.IC(e);this.w4(a,k,q)&&(q=this.nG(q,this.GC(e,k),f,d,m,e.la(),p),this.h3(q,l,e,c))}if(1<b.length)for(e=0;e<l.length;e++)c.push(Kca(l[e],k,h+1,l.length));else c.push.apply(c,l)}}return{headers:c,data:f}};
$.g.qk=function(a,b){a=$.xk(Ada,a,"default");var c="raw"==a?$.mx(this):this.FL(a);return $.bp(c.headers,c.data,b)};$.g.X4=function(a,b){var c=this.qk();return(c=rp(c,a,b))?b?ff(c):c:null};$.g.W4=function(a,b){var c=this.X4(a);return c?($.uf(c,{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px"}),b?ff(c):c):c};$.g.SN=function(a){var b=$.fl.anychart.exports;if(b){var c=this.GO(!1);b.SN(this,c,a)}else $.cl(4,null,["Exporting"])};
$.g.RN=function(a){var b=$.fl.anychart.exports;if(b){var c=this.hB(!0);b.RN(this,c,a)}else $.cl(4,null,["Exporting"])};$.g.Ey=function(a,b,c){var d=$.fl.anychart.exports;d?(a=this.qk(a,b),d.Ey(this,a,c)):$.cl(4,null,["Exporting"])};$.g.Fy=function(a,b,c){var d=$.fl.anychart.exports;if(d){var e={rowsSeparator:"\n",columnsSeparator:",",ignoreFirstRow:!1};$.ra(e,c||{});a=this.qk(a,e);d.Fy(this,a,b)}else $.cl(4,null,["Exporting"])};
$.g.id=function(a){if($.n(a)){if(this.Yd!=a)if(null===a)eq(this,this.Yd),this.Yd=a;else{var b=this.Yd;dq[a]&&dq[a]!=this?($.el(21,null,[a],!0),b=!1):($.n(b)&&eq(this,b),dq[a]=this,b=!0);b&&(this.Yd=a)}return this}return this.Yd};var TF=$.gx.prototype;TF.a11y=TF.Ys;TF.animation=TF.DB;TF.autoRedraw=TF.oz;TF.title=TF.title;TF.background=TF.background;TF.margin=TF.margin;TF.padding=TF.padding;TF.label=TF.label;TF.container=TF.P;TF.contextMenu=TF.contextMenu;TF.draw=TF.$;TF.toJson=TF.hB;TF.toXml=TF.GO;
TF.legend=TF.Gf;TF.credits=TF.Do;TF.tooltip=TF.Xa;TF.saveAsPng=TF.gu;TF.saveAsJpg=TF.xw;TF.saveAsPdf=TF.yw;TF.saveAsSvg=TF.zw;TF.shareAsPng=TF.ju;TF.shareAsJpg=TF.WA;TF.shareAsPdf=TF.XA;TF.shareAsSvg=TF.YA;TF.getPngBase64String=TF.Wz;TF.getJpgBase64String=TF.Uz;TF.getSvgBase64String=TF.Yz;TF.getPdfBase64String=TF.Vz;TF.toSvg=TF.vq;TF.saveAsCsv=TF.Ey;TF.saveAsXlsx=TF.Fy;TF.saveAsXml=TF.SN;TF.saveAsJson=TF.RN;TF.exports=TF.dG;TF.toCsv=TF.qk;TF.toA11yTable=TF.W4;TF.toHtmlTable=TF.X4;
TF.localToGlobal=TF.cfa;TF.globalToLocal=TF.mT;TF.getStat=TF.Eg;TF.getSelectedPoints=TF.PL;TF.credits=TF.Do;TF.shareWithFacebook=TF.cE;TF.shareWithTwitter=TF.fE;TF.shareWithLinkedIn=TF.dE;TF.shareWithPinterest=TF.eE;TF.startSelectMarquee=TF.ria;TF.startSelectRectangleMarquee=TF.vO;TF.inMarquee=TF.lM;TF.cancelMarquee=TF.yba;TF.id=TF.id;TF.fullScreen=TF.fullScreen;TF.isFullScreenAvailable=TF.iy;$.H($.ox,$.gx);$.g=$.ox.prototype;$.g.qa=$.gx.prototype.qa;$.g.sa=$.gx.prototype.sa|512;$.g.Na=function(){return this.je};$.g.Gf=function(a){this.ji||(this.ji=new $.Iw,$.L(this.ji,this.xV,this),this.ji.ib(this),$.W(this,"legend",this.ji),this.B(512,1));return $.n(a)?(this.ji.K(a),this):this.ji};$.g.xV=function(a){var b=0,c=0;$.X(a,1)&&(b|=512,c|=1);$.X(a,8)&&(b|=4,c|=8);this.B(b,c)};$.g.ts=function(a){return"default"==a};
$.g.er=function(a){a=a.si();if(a=this.Ue(a))a.enabled(!a.enabled()),a.enabled()?a.Ek():a.Pd()};$.g.bq=function(a){var b=a.si();(!a||null!=b||(0,window.isNaN)(b))&&(a=this.Ue(b))&&a.Ek()};$.g.aq=function(a){var b=a.si();(!a||null!=b||(0,window.isNaN)(b))&&(a=this.Ue(b))&&a.Pd()};$.g.rF=function(a){a=$.ox.u.rF.call(this,a);var b=$.jr(this,"legend");this.J(516)&&b&&"outside"==b.i("positionMode")&&(px(this,a),this.I(512));a=b&&b.enabled()&&"outside"==b.i("positionMode")?b.qd():a;return a.clone()};
$.g.iE=function(a){var b=$.jr(this,"legend");this.J(516)&&(b&&"inside"==b.i("positionMode")?px(this,a):this.I(512))};$.g.WH=function(){return!1};$.g.F=function(){var a=$.ox.u.F.call(this);$.jr(this,"legend")&&(a.legend=this.Gf().F());a.interactivity=this.Vc().F();return a};$.g.X=function(a,b){$.ox.u.X.call(this,a,b);"legend"in a&&this.Gf(a.legend);this.Vc(a.interactivity)};$.g.R=function(){$.qd(this.ji);this.ji=null;$.ox.u.R.call(this)};var UF=$.ox.prototype;UF.legend=UF.Gf;UF.interactivity=UF.Vc;
UF.noData=UF.Pm;$.H($.qx,$.qf);$.qx.prototype.f=function(a,b){this.sj=a;this.mK=b};$.qx.prototype.b=function(a){this.state=a;$.up(this,"statechange")};var VF=$.qx.prototype;VF.setRules=VF.f;VF.setState=VF.b;$.H($.rx,$.qf);$.rx.prototype.handleEvent=function(a){var b=0,c=0,d=a.dl;"mousewheel"==d.type?(a=sx(-d.wheelDelta),$.n(d.wheelDeltaX)?(b=sx(-d.wheelDeltaX),c=sx(-d.wheelDeltaY)):c=a):(a=d.detail,100<a?a=3:-100>a&&(a=-3),$.n(d.axis)&&d.axis===d.HORIZONTAL_AXIS?b=a:c=a);$.ea(this.g)&&(b=$.Za(b,-this.g,this.g));$.ea(this.j)&&(c=$.Za(c,-this.j,this.j));this.D&&(b=-b);b=new tx(a,d,b,c);this.dispatchEvent(b)};$.rx.prototype.R=function(){$.rx.u.R.call(this);Td(this.f);this.f=null};$.H(tx,$.xd);$.H($.ux,$.Yq);$.ux.prototype.qa=$.Yq.prototype.qa|32779;$.ux.prototype.fs=function(a){var b=$.ux.u.fs.call(this,a),c=this.flatten().enabled;"enabled"==a?(b=32768,c&&(b|=this.f,this.f=0)):c||(this.f|=b);return b};var WF={};
$.hq(WF,[[0,"format",$.Pq],[1,"adjustFontSize",nq],[0,"fontVariant",$.Yk],[0,"letterSpacing",$.lq],[0,"textDirection",$.Zk],[0,"textIndent",$.qq],[0,"textShadow",$.ac],[0,"textOverflow",$.Nq],[0,"useHtml",$.uq],[0,"wordBreak",$.tq],[0,"wordWrap",$.tq],[0,"fontColor",$.pq],[0,"fontDecoration",$.Wk],[0,"fontFamily",$.oq],[0,"fontOpacity",$.qq],[0,"fontSize",$.lq],[0,"fontStyle",$.Xk],[0,"fontWeight",$.lq],[0,"hAlign",$.Uk],[0,"lineHeight",$.lq],[0,"minFontSize",$.lq],[0,"maxFontSize",$.lq],[0,"maxLength",
$.mq],[0,"vAlign",$.Vk],[0,"anchor",$.Bk],[0,"height",$.Qq],[0,"offsetX",$.Qq],[0,"offsetY",$.Qq],[0,"position",$.Ck],[0,"rotation",$.qq],[0,"width",$.Qq],[0,"zIndex",$.qq],[0,"allowMultiline",$.Nq],[0,"clip",$.tq],[0,"enabled",$.Nq],[0,"selectable",$.uq],[0,"disablePointerEvents",$.uq],[0,"autoRotate",$.uq]]);$.U($.ux,WF);$.g=$.ux.prototype;
$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(null===a?($.Zq(this.Y,this.Qc,this),this.padding().parent(null),this.Y=null):(this.Y&&$.Zq(this.Y,this.Qc,this),this.Y=a,this.padding().parent(this.Y.padding()),$.L(this.Y,this.Qc,this),this.Ug())),this):this.Y};$.g.Qc=function(a){this.Ug();this.ta(a.f)};$.g.i=$.Xq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};
$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};$.g.Ug=function(){this.b=null};$.g.flatten=function(){if(!this.b){this.b={};for(var a in WF)WF.hasOwnProperty(a)&&(this.b[a]=this.i(a))}return this.b};$.g.$n=function(a){var b=this.i("format")||$.Xo;$.z(b)&&(b=$.Bu($.zu.vd(),b));a=b.call(a,a);a=$.n(a)?String(a):"";b=this.flatten().maxLength;return a=pu(a,b)};
$.g.padding=function(a,b,c,d){this.Pa||(this.Pa=new $.tu,$.W(this,"padding",this.Pa),$.L(this.Pa,this.Pl,this));return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this):this.Pa};$.g.Pl=function(){this.ta(2)};$.g.background=function(a){this.Ka||(this.Ka=new $.ku);return $.n(a)?this:this.Ka};$.g.Ce=function(a,b){return $.da(b)?(this.enabled(b),!0):!1};$.g.X=function(a,b){$.ux.u.X.call(this,a,b);$.zq(this,WF,a,b);this.padding().ia(!!b,a.padding)};
$.g.F=function(){var a=$.ux.u.F.call(this);$.Hq(this,WF,a,void 0,void 0,!0);var b=$.jr(this,"padding");b&&(b=$.Qc(b.Ma),$.Jc(b)||(a.padding=b));return a};$.g.R=function(){this.b=null;this.parent(null);$.td(this.Pa,this.Ka);this.Ka=this.Pa=null;$.ux.u.R.call(this)};var XF=$.ux.prototype;XF.padding=XF.padding;XF.background=XF.background;$.g=$.vx.prototype;$.g.width=function(){return this.Za?this.Za.width:0};$.g.height=function(){if(this.Za)var a=this.Za.height;else if(this.b.length)for(var b=a=0;b<this.b.length;b++)a+=this.b[b].height();else a=this.Ga;return a};
$.g.style=function(a){if($.n(a)){var b=a||{},c=this.f,d={},e;for(e in c)c[e]!==b[e]&&(d[e]=!0);for(e in b)b[e]!==c[e]&&(d[e]=!0);$.Jc(d)||(this.Tn.style=!0,this.f=b,a.fontSize&&(a=(0,window.parseFloat)(a.fontSize),a=(0,window.isNaN)(a)?13:a,this.Ga=24>a?a+3:Math.round(1.2*a),this.ba=Math.round(.8*this.Ga)));return this}return this.f};$.g.rJ=function(a){this.ya+=a};$.g.qJ=function(){this.ya+="\n"};$.g.rL=function(){this.text(this.ya);this.ya="";yx(this)};
$.g.text=function(a){return $.n(a)?(a=kc(a),a=$.jc(a),this.kc!=a&&(this.Tn.text=!0,this.kc=a),this):this.kc};$.g.pc=function(){this.fa=this.O.sx()};$.g.Kd=function(){this.fa||this.pc();return this.fa};$.g.pb=function(){return this.Za?this.Za:new $.J(0,0,0,this.Ga)};$.g.cd=function(){$.Fx(this);this.fa&&($.Xe(this.fa),this.fa=null);this.D&&($.Xe(this.D),this.Ra=this.D=null);this.j=this.P=null;this.style({});this.text("")};$.H($.Nx,$.Du);$.g=$.Nx.prototype;$.g.Cc=function(a){return $.n(a)?(a=$.N(a),this.qc!=a&&(this.qc=a,this.B(4,9)),this):this.qc};$.g.yc=function(a){return $.n(a)?(a=$.N(a),this.rc!=a&&(this.rc=a,this.B(4,9)),this):this.rc};$.g.qy=function(a){return $.n(a)?(a=$.N(a),this.D!=a&&(this.D=a,this.B(4,9)),this):this.D};$.g.lE=function(a){$.n(a)&&(a=null===a?a:$.ab($.N(a)||0),this.O!=a&&(this.O=a,this.B(4,9)))};
$.g.Hy=function(a){return $.n(a)?(a=null===a?a:$.Za($.N(a)||0,-360,360),this.G!=a&&(this.G=a,this.B(4,9)),this):this.G};var Zda=$.Nx.prototype,YF=$.Qc($.Du.prototype.ez);$.gq(YF,0,"autoRotate",$.uq);Zda.ez=YF;$.U($.Nx,$.Nx.prototype.ez);
$.Nx.prototype.t0=function(a,b,c,d,e,f){if(c){var h=c.width;var k=c.height}var l=b.angle,m=b.radius;b=$.n(b.radiusY)?b.radiusY:m;var p=0,q=0,r=this.Cc(),t=this.yc(),u=this.Hy(),v=this.qy();if(c||!(0,window.isNaN)(r)&&!(0,window.isNaN)(t))p=c.left,q=c.top,p=(0,window.isNaN)(r)?p+h/2:r,q=(0,window.isNaN)(t)?q+k/2:t,c=$.n(v)&&!(0,window.isNaN)(v)?$.M(e,v):c?$.M(e,Math.min(h,k)/2):0,l+=$.M(d,null!=u?u:360),m+=c,b+=c;d=p+$.db(l,m);l=q+$.eb(l,b);f=$.xo(new $.J(0,0,a.width,a.height),f);d-=f.x;l-=f.y;a.left=
d;a.top=l;return a};
$.Nx.prototype.hl=function(a,b,c,d){if($.K(a,$.Ox)){var e=(a.uc()?a.uc().value.angle:0)||0;var f=a.Xz(e);var h=a.ic("anchor");"auto"==h&&(h=a.ic("autoRotate")?"center":$.zo(e));d=$.n(d)?d:a.la()}else h=($.n(c)&&$.n(c.rotation)?c.rotation:this.i("rotation"))||0,f=($.n(c)&&$.n(c.autoRotate)?c.autoRotate:this.i("autoRotate"))||!1,e=(b?b.value.angle:0)||0,f=f?0<e&&180>e?h+e+270:h+e+90:h,h=$.n(c)&&c.anchor||this.i("anchor");a=$.Lu(this,a,b,c,d);b=f;c=$.xo(a,h);b=$.Jb($.bb(b),c.x,c.y);a=$.hn(a)||[];b.transform(a,
0,a,0,4);return a};$.Nx.prototype.vK=function(){return new $.Ox};$.H($.Ox,$.Hu);var $da=$.Ox.prototype,ZF=$.Qc($.Hu.prototype.FB);$.gq(ZF,0,"autoRotate",$.uq);$da.FB=ZF;$.U($.Ox,$.Ox.prototype.FB);$.Ox.prototype.Xz=function(a){var b=this.ic("rotation");return this.ic("autoRotate")?0<a&&180>a?b+a+270:b+a+90:b};
$.Ox.prototype.yf=function(a,b){this.b||$.Iu(this);var c=this.b.positionFormatter,d=this.rb.path()?"center":Eu(this.b.anchor)||"left-top",e=this.b.offsetX||0,f=this.b.offsetY||0,h=this.Oo,k=this.uc(),l=$.Qc(c.call(k,k));c=l.angle;k=l.radius;l=$.n(l.radiusY)?l.radiusY:k;var m=0,p=0,q=h.Cc(),r=h.yc(),t=h.Hy();h=h.qy();if(b||!(0,window.isNaN)(q)&&!(0,window.isNaN)(r)){m=b.left;p=b.top;var u=b.width,v=b.height;m=(0,window.isNaN)(q)?m+u/2:q;p=(0,window.isNaN)(r)?p+v/2:r;f=$.n(h)&&!(0,window.isNaN)(h)?
$.M(f,h):b?$.M(f,Math.min(u,v)/2):0;c+=$.M(e,null!=t?t:360);k+=f;l+=f}e=m+$.db(c,k);f=p+$.eb(c,l);d=$.xo(new $.J(0,0,a.width,a.height),d);e-=d.x;f-=d.y;this.ug+=e;this.vg+=f;a.left=e;a.top=f;this.b.rotation=this.Xz(c);this.ar?this.rb.x(this.ug).y(this.vg):this.rb.setPosition(this.ug,this.vg)};$.H($.Px,$.Y);var aea=function(){var a={};$.hq(a,[$.Z.az,$.Z.Jn,$.Z.vP,$.Z.wP,$.Z.VX,$.Z.AP,[0,"position",$.pq],[0,"size",$.mq],[0,"anchor",function(a){return null===a?a:$.Bk(a)}],[0,"type",function(a){$.E(a)||(a=$.Ik(a));return a}]]);return a}();$.U($.Px,aea);$.g=$.Px.prototype;$.g.qa=$.Y.prototype.qa;$.g.sa=$.Y.prototype.sa|80;$.g.yS=function(){$.Px.u.yS.call(this);for(var a in this.ma)a in this.ua&&(this.b[a]=!0)};
$.g.enabled=function(a){return $.n(a)?(null===this.N&&a&&this.B(1,this.Sq()),this.N=a,this.oE=null!==this.Ma.enabled,$.Px.u.enabled.call(this,a),this):this.N};$.g.Na=function(){return this.Ma.type||this.ma.type};$.g.Gm=function(){return $.n(this.Ma.fill)?this.Ma.fill:this.ma.fill};$.g.vI=function(a){this.D=a};$.g.i=function(a){var b=$.Px.u.i.call(this,a);b||("stroke"==a?b=this.G||"none":"fill"==a?b=this.D||"black":"type"==a&&(b=this.mF||"diagonal-cross"));return b};
$.g.pa=function(a,b){$.Px.u.pa.call(this,a,b);this.b[a]=!0};$.g.bl=function(){return $.n(this.Ma.stroke)?this.Ma.stroke:this.ma.stroke};$.g.wI=function(a){this.G=a};$.g.td=function(a){return $.n(a)?(this.UK=a,this.B(16,1),this):this.UK};
$.g.measure=function(a){this.j||(this.j=$.nk());var b=this.ja();if(b){var c=b.width;var d=b.height}var e=this.i("type");var f=this.i("size");b=this.i("anchor");var h=this.i("offsetX"),k=this.i("offsetY");e=$.z(e)?$.qp(e):e;this.j.clear();e.call(this,this.j,0,0,f);f=this.j.pb();a=$.Qc(this.i("positionFormatter").call(a,a));a=new $.gb(a.x,a.y);e=$.xo(new $.J(0,0,f.width,f.height),b);a.x-=e.x;a.y-=e.y;$.Qo(a,b,$.n(h)?$.M(h,c):0,$.n(k)?$.M(k,d):0);f.left=a.x;f.top=a.y;return f};
$.g.clear=function(a){this.g||(this.g=[]);if(this.f&&this.f.length)if($.n(a))this.f[a]&&(this.f[a].clear(),this.g.push(this.f[a]),delete this.f[a]);else{for(a=this.f.length;a--;){var b=this.f[a];b&&(b.clear(),this.g.push(b))}this.f.length=0;this.B(64,1)}else this.f=[];return this};$.g.Vq=function(a){a=+a;return this.f&&this.f[a]?this.f[a]:null};$.g.BG=function(){return this.b};$.g.Kd=function(){return this.ub};
$.g.add=function(a,b){$.n(this.f)||(this.f=[]);if($.n(b)){var c=+b;var d=this.f[c]}d?d.clear():(d=this.g&&0<this.g.length?this.g.pop():this.r_(),$.n(c)?(this.f[c]=d,d.ZD(c)):(this.f.push(d),d.ZD(this.f.length-1)));d.uc(a);$.Rx(d,this);return d};$.g.r_=function(){return new $.Qx};
$.g.$=function(){if(this.fd)return this;this.ub||(this.ub=$.lk(),this.O&&$.du(this,this.ub));this.ub.td(this.td());var a=this.ub.Ha(),b=a&&!a.ff();b&&a.suspend();this.f&&(0,$.Qe)(this.f,function(a){a&&(a.P(this.ub),a.$())},this);this.J(8)&&(this.ub.zIndex(this.zIndex()),this.I(8));this.J(2)&&(this.ub.parent(this.P()),this.I(2));this.I(4294967295);b&&a.resume();return this};$.g.remove=function(){this.ub&&this.ub.remove()};$.g.jm=function(){return this.ub};
$.g.F=function(){var a=$.Px.u.F.call(this);delete a.enabled;var b=this.enabled();$.n(b)&&(a.enabled=b);$.n(this.td())&&(a.disablePointerEvents=this.td());this.b.position&&(a.position=this.i("position"));this.b.anchor&&(a.anchor=this.i("anchor"));this.b.offsetX&&(a.offsetX=this.i("offsetX"));this.b.offsetY&&(a.offsetY=this.i("offsetY"));this.b.type&&(a.type=this.i("type"));this.b.rotation&&(a.rotation=(0,window.isNaN)(this.i("rotation"))?null:this.i("rotation"));$.n(this.i("size"))&&(a.size=this.i("size"));
this.b.fill&&$.n(this.Ma.fill)&&(a.fill=$.Jl(this.Ma.fill));this.b.stroke&&$.n(this.Ma.stroke)&&(a.stroke=$.Jl(this.Ma.stroke));return a};$.g.Od=function(a){return $.z(a)?{type:a,enabled:!0}:null};$.g.Ce=function(a,b){var c=this.Od(arguments[1]);return c?(this.type?this.type(c.type):this.pa("type",c.type),this.enabled(c.enabled),!0):$.Y.prototype.Ce.apply(this,arguments)};
$.g.X=function(a,b){var c=this.enabled();$.Px.u.X.call(this,a,b);if(b)for(var d in a)this.ma[d]=a[d],this.b[d]=!0;else $.zq(this,$F,a);this.td(a.disablePointerEvents);this.enabled("enabled"in a?a.enabled:c)};$.g.R=function(){$.td(this.f,this.g,this.ub);this.ub=this.g=this.f=null;$.Px.u.R.call(this)};$.g.ig=function(a){a=$.Px.u.ig.call(this,a);for(var b=a.domTarget,c;$.K(b,$.hg);){c=b.tag;if($.K(c,$.Y)||!$.wo(c))break;b=b.parent()}a.markerIndex=$.N(c);return a};$.H($.Qx,$.Y);
var $F=function(){var a={};$.hq(a,[$.Z.HX,$.Z.vP,$.Z.wP,$.Z.VX,$.Z.AP,[0,"position",$.tq],[0,"size",$.qq],[1,"fill",$.Eq],[1,"stroke",$.Dq],[0,"type",function(a){$.E(a)||(a=$.Ik(a));return a}]]);return a}();$.U($.Qx,$F);$.g=$.Qx.prototype;$.g.qa=$.Y.prototype.qa;$.g.sa=$.Y.prototype.sa|16;$.g.Kd=function(){return this.b};$.g.la=function(){return this.wd};$.g.ZD=function(a){this.wd=+a};$.g.uc=function(a){return $.n(a)?(this.U!=a&&(this.U=a,this.B(16,8)),this):this.U};
$.g.pa=function(a,b){this.f[a]=b};$.g.i=function(a){var b=$.n(this.f[a])?this.f[a]:this.ma[a];$.n(b)||("stroke"==a?b=this.G:"fill"==a&&(b=this.D));return b};$.g.vI=function(a){this.D=a};$.g.wI=function(a){this.G=a};$.g.enabled=function(a){return $.n(a)?(this.f.enabled!=a&&(this.f.enabled=a,this.B(1,9)),this):$.n(this.f.enabled)?this.f.enabled:this.ma.enabled};$.g.clear=function(){this.oi();this.b&&(this.b.parent(null),this.b.ll());this.B(2)};
$.g.oi=function(){this.f.padding&&$.qd(this.f.padding);this.ma={};this.f={};this.j={};delete this.D;delete this.G};$.g.kd=function(a,b){$.n(a)&&this.K(a);$.n(b)&&(this.j=b);this.B(17,9)};$.g.ic=function(a){var b=$.Rx(this),c=$.Sx(this)?$.Sx(this):b,d=!(b&&c),e;c!=b&&(e=c.BG());return"enabled"==a?Tx(this,this.enabled(),this.j.enabled,!d&&b.enabled(),!d&&c.enabled(),null!==(d?null:c.enabled())):Tx(this,this[a](),this.j[a],d?void 0:b[a](),d?void 0:c[a](),!(!e||!e[a]))};
$.g.$=function(){if(this.fd)return this;var a=$.Rx(this),b=$.Sx(this)?$.Sx(this):a,c=!(a&&b),d;b!=a&&(d=b.BG());this.b||(this.b=$.nk());var e=Tx(this,this.enabled(),this.j.enabled,!c&&a.enabled(),!c&&b.enabled(),null!==(c?null:b.enabled()));null===e&&(e=!0);if(this.J(1)||!c&&b.J(1))if(e)this.P()&&this.b.parent(this.P()),this.I(1);else return this.b.parent(null),this.I(4294967295),this;if(this.J(2)||!c&&b.J(2))e&&(!c&&a.Kd()&&(this.P()||this.P(a.Kd()),this.P().parent()||this.P().parent(a.P())),this.P()&&
this.b.parent(this.P())),this.I(2);if(this.J(8)||!c&&b.J(8))this.P()&&!c&&this.P().zIndex(a.zIndex()),this.b.zIndex(this.zIndex()),this.I(8);if(this.J(16)||!c&&b.J(16)||!c&&b.J(4)){var f="anchor type size offsetY offsetX fill stroke positionFormatter rotation".split(" ");e={};c&&($.V(this),$.n(this.i("positionFormatter"))||this.pa("positionFormatter",$.Xo),$.n(this.i("size"))||this.pa("size",10),$.n(this.i("anchor"))||this.pa("anchor","center"),$.n(this.i("offsetX"))||this.pa("offsetX",0),$.n(this.i("offsetY"))||
this.pa("offsetY",0),$.n(this.i("rotation"))||this.pa("rotation",0),this.da(!1));for(var h=0,k=f.length;h<k;h++){var l=f[h],m=this[l](),p=this.j[l],q=c?void 0:a[l]?a[l]():a.i(l),r=c?void 0:b[l]?b[l]():b.i(l);e[l]=Tx(this,m,p,q,r,!(!d||!d[l]))}a=$.z(e.type)?$.qp(e.type):e.type;if(b=this.ja()){var t=b.width;var u=b.height}this.b.clear();b=$.Bk(e.anchor);c=$.Wo(e.stroke);this.g&&this.g.Yu?a.call(this,this.b,0,0,e.size,c):a.call(this,this.b,0,0,e.size);d=this.b.Lj();f=this.uc();f=$.Qc(e.positionFormatter.call(f,
f));f=new $.gb(f.x,f.y);h=$.xo(new $.J(0,0,d.width,d.height),b);f.x-=h.x;f.y-=h.y;$.Qo(f,b,$.n(e.offsetX)?$.M(e.offsetX,t):0,$.n(e.offsetY)?$.M(e.offsetY,u):0);d.left=f.x+d.width/2;d.top=f.y+d.height/2;this.b.clear();this.g&&this.g.Yu?a.call(this,this.b,d.left,d.top,e.size,c):a.call(this,this.b,d.left,d.top,e.size);this.b.fill(e.fill);this.b.stroke(e.stroke);this.b.jc(1,0,0,1,0,0);this.b.aE(e.rotation||0,f.x+h.x,f.y+h.y);this.b.tag=this.la();this.I(16)}this.I(4);return this};
$.g.F=function(){var a=$.Qx.u.F.call(this);delete a.enabled;var b=this.enabled();null!=b&&(a.enabled=b);$.n(this.i("position"))&&(a.position=this.i("position"));$.n(this.i("rotation"))&&(a.rotation=(0,window.isNaN)(this.i("rotation"))?null:this.i("rotation"));$.n(this.i("anchor"))&&(a.anchor=this.i("anchor"));$.n(this.i("offsetX"))&&(a.offsetX=this.i("offsetX"));$.n(this.i("offsetY"))&&(a.offsetY=this.i("offsetY"));$.n(this.i("type"))&&(a.type=this.i("type"));$.n(this.i("size"))&&(a.size=this.i("size"));
$.n(this.i("fill"))&&(a.fill=$.Jl(this.i("fill")));$.n(this.i("stroke"))&&(a.stroke=$.Jl(this.i("stroke")));return a};$.g.X=function(a,b){var c=this.enabled();$.Qx.u.X.call(this,a,b);$.zq(this,$F,a);$.n(a.enabled)||delete this.f.enabled;this.enabled("enabled"in a?a.enabled:c)};$.g.R=function(){$.qd(this.b);this.b=null;$.Qx.u.R.call(this)};$.H(Ux,$.Px);$.ju(Ux,$.Px);Ux.prototype.r_=function(){return new Vx};$.H(Vx,$.Qx);var aG=$.Px.prototype;aG.disablePointerEvents=aG.td;aG.enabled=aG.enabled;aG=$.Qx.prototype;
aG=Ux.prototype;$.F("anychart.standalones.markersFactory",function(){var a=new Ux;a.K($.wm("standalones.markersFactory"));return a});aG.draw=aG.$;aG.parentBounds=aG.ja;aG.container=aG.P;aG.add=aG.add;aG.clear=aG.clear;aG.measure=aG.measure;aG=Vx.prototype;aG.enabled=aG.enabled;aG.draw=aG.$;aG.clear=aG.clear;aG.getIndex=aG.la;$.H(Wx,$.Yq);$.g=Wx.prototype;$.g.qa=1;$.g.i=$.Xq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};var bea=Wx.prototype,bG={};$.gq(bG,1,"stroke",Aq);$.gq(bG,1,"fill",$.Bq);$.gq(bG,0,"width",$.Qq);$.gq(bG,0,"offset",$.Qq);$.gq(bG,0,"enabled",$.Nq);bea.zJ=bG;$.U(Wx,Wx.prototype.zJ);$.g=Wx.prototype;
$.g.Od=function(a){return $.da(a)||null===a?{enabled:!!a}:$.z(a)?{fill:a,stroke:null,enabled:!0}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?(a?(this.ma.enabled=c.enabled,"fill"in c&&(this.ma.fill=c.fill),"stroke"in c&&(this.ma.stroke=c.stroke)):(this.enabled(c.enabled),"fill"in c&&this.fill(c.fill),"stroke"in c&&this.stroke(c.stroke)),!0):!1};$.g.X=function(a,b){b?$.yq(this.ma,this.zJ,a):($.zq(this,this.zJ,a),this.enabled("enabled"in a?a.enabled:!0))};
$.g.F=function(){var a={};$.Hq(this,this.zJ,a,"Map axes props");return a};$.g.R=function(){Wx.u.R.call(this)};$.H(Xx,$.Yq);Xx.prototype.sa=$.Yq.prototype.sa|16;Xx.prototype.qa=1;var cG={};$.hq(cG,[$.Z.Jn,$.Z.mJ]);$.U(Xx,cG);Xx.prototype.F=function(){var a=Xx.u.F.call(this);$.Hq(this,cG,a,"Connector");return a};Xx.prototype.X=function(a,b){Xx.u.X.call(this,a);b?$.yq(this.ma,cG,a):$.zq(this,cG,a)};Xx.prototype.Od=function(a){return(0,window.isNaN)(a)?$.z(a)?{stroke:a}:null:{length:a}};
Xx.prototype.Ce=function(a,b){var c=this.Od(b);return c?("length"in c&&this.length(c.length),"stroke"in c&&this.stroke(c.stroke),!0):!1};$.H($.Yx,$.Yq);$.g=$.Yx.prototype;$.g.B=function(a,b){return this.Ij.B(a,b)};$.g.ta=function(a,b){return this.Ij.ta(a,b)};$.g.i=$.Xq;$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma],b=this.Ij.vG(this.ba);b&&a.push.apply(a,b.Md());return a};$.g.Ld=function(){var a=[this.Ma],b=this.Ij.vG(this.ba);b&&a.push.apply(a,b.Ld());return a};$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};var cea=$.Yx.prototype,dG={};
$.hq(dG,[$.Z.tB,$.Z.RX,$.Z.C7,$.Z.z6,$.Z.DE,$.Z.k7,$.Z.V6,$.Z.i7,$.Z.T6,$.Z.p7,$.Z.E7,$.Z.B6,$.Z.m7,$.Z.t8,$.Z.G8,$.Z.OX,$.Z.SX,$.Z.D7,$.Z.A6,$.Z.U6,$.Z.j7,$.Z.H8,$.Z.lY,$.Z.bY,$.Z.y8,$.Z.NX,$.Z.t6,$.Z.u6,$.Z.J6,$.Z.N6,$.Z.O6,$.Z.P6,$.Z.M6,$.Z.H6,$.Z.K6,$.Z.I6,$.Z.w8,$.Z.q6,$.Z.r6,$.Z.y6,$.Z.S5,$.Z.I8,$.Z.R6,$.Z.k8]);cea.wB=dG;$.U($.Yx,$.Yx.prototype.wB);$.g=$.Yx.prototype;$.g.Hn=function(a,b){$.A(b)?$.iq.apply(null,$.Ga(this.ua,a,b)):$.D(b)&&(this.ua[a]=b)};
$.g.labels=function(a){if(!this.Da){var b=this.i("labelsFactoryConstructor")||$.Zx,c=this.i("labelsAfterInitCallback")||$.ia;this.Da=b();this.Da.oE=!1;$.W(this,"labels",this.Da);c.call(this.Ij,this.Da)}return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Da.K(a),this):this.Da};
$.g.gh=function(a){if(!this.D){var b=this.i("labelsFactoryConstructor")||$.$x,c=this.i("labelsAfterInitCallback")||$.ia;this.D=b();this.D.oE=!1;$.W(this,"minLabels",this.D);c.call(this.Ij,this.D);this.D.I(4294967295)}return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.D.K(a),this):this.D};
$.g.fh=function(a){if(!this.g){var b=this.i("labelsFactoryConstructor")||$.$x,c=this.i("labelsAfterInitCallback")||$.ia;this.g=b();this.g.oE=!1;$.W(this,"maxLabels",this.g);c.call(this.Ij,this.g);this.g.I(4294967295)}return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.g.K(a),this):this.g};
$.g.headers=function(a){if(!this.j){var b=this.i("labelsFactoryConstructor")||$.$x,c=this.i("headersAfterInitCallback")||Nca;this.j=b();$.W(this,"headers",this.j);c.call(this.Ij,this.j)}return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.j.K(a),this):this.j};$.g.um=function(a){return this.labels(a)};
$.g.jk=function(a){if(!this.O){var b=this.i("labelsFactoryConstructor")||$.Zx,c=this.i("labelsAfterInitCallback")||$.ia;this.O=b();c.call(this.Ij,this.O)}return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.O.K(a),this):this.O};$.g.Eb=function(a){if(!this.f){var b=this.i("markersFactoryConstructor")||$.by,c=this.i("markersAfterInitCallback")||$.ia;this.f=b();$.W(this,"markers",this.f);c.call(this.Ij,this.f)}return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.f.K(a),this):this.f};
$.g.Kk=function(a){if(!this.G){var b=this.i("outlierMarkersAfterInitCallback")||$.ia;this.G=new $.Px;$.W(this,"outlierMarkers",this.G);b.call(this.Ij,this.G)}return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.G.K(a),this):this.G};$.g.Zg=function(a){if(!this.b){var b=this.i("connectorAfterInitCallback")||$.ia;this.b=new Xx;$.W(this,"connector",this.b);b.call(this.Ij,this.b)}return $.n(a)?(this.b.K(a),this):this.b};
$.g.at=function(a){if(!this.N){var b=this.i("outlineConstructor")||Mca,c=this.i("outlineAfterInitCallback")||$.ia;this.N=b();$.W(this,"outline",this.N);c.call(this.Ij,this.N)}return $.n(a)?(this.N.K(a),this):this.N};$.g.background=function(a){if(!this.Ka){var b=this.i("backgroundAfterInitCallback")||Pca;this.Ka=new $.ku;$.W(this,"background",this.Ka);b.call(this.Ij,this.Ka);this.Ka.Ye()}return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.Sa=function(a){return this.Ij.Sa(a)};$.g.mb=function(a){return this.Ij.mb(a)};
$.g.selected=function(a){return this.Ij.selected?this.Ij.selected(a):null};
$.g.F=function(){var a=$.Yx.u.F.call(this);$.Hq(this,this.wB,a,"State settings",this.ua);this.ua.labels&&(a.labels=this.labels().F());this.ua.minLabels&&(a.minLabels=this.gh().F());this.ua.maxLabels&&(a.maxLabels=this.fh().F());this.ua.headers&&(a.headers=this.headers().F());this.ua.lowerLabels&&(a.lowerLabels=this.jk().F());this.ua.upperLabels&&(a.upperLabels=a.labels,delete a.labels);this.ua.markers&&(a.markers=this.Eb().F());this.ua.outlierMarkers&&(a.outlierMarkers=this.Kk().F());this.ua.connector&&
(a.connector=this.Zg().F());this.ua.outline&&(a.outline=this.at().F());this.ua.background&&(a.background=this.background().F());return a};
$.g.X=function(a,b){$.Yx.u.X.call(this,a,b);$.zq(this,this.wB,a,b);var c=$.Jc(a);if($.n(this.ua.labels)){var d=c?this.labels().ma:a.labels;gy(d);this.labels().ia(!!b,d)}$.n(this.ua.minLabels)&&(d=c?this.gh().ma:a.minLabels,gy(d),this.gh().ia(!!b,d));$.n(this.ua.maxLabels)&&(d=c?this.fh().ma:a.maxLabels,gy(d),this.fh().ia(!!b,d));$.n(this.ua.headers)&&(d=c?this.headers().ma:a.headers,gy(d),this.headers().K(d));$.n(this.ua.lowerLabels)&&(d=c?this.jk().ma:a.lowerLabels,gy(d),this.jk().ia(!!b,d));$.n(this.ua.upperLabels)&&
(d=c?this.um().ma:a.upperLabels,gy(d),this.um().ia(!!b,d));$.n(this.ua.markers)&&(d=c?this.Eb().ma:a.markers,gy(d),this.Eb().ia(!!b,d));$.n(this.ua.outlierMarkers)&&(d=c?this.Kk().ma:a.outlierMarkers,gy(d),this.Kk().ia(!!b,d));$.n(this.ua.connector)&&this.Zg().ia(!!b,c?this.Zg().ma:a.connector);$.n(this.ua.outline)&&this.at().ia(!!b,c?this.at().ma:a.outline);$.n(this.ua.background)&&(this.background().ia(!!b,a.background),this.background().I(4294967295))};
$.g.Ye=function(a){$.Yx.u.Ye.call(this,a);this.Vf(null);return this};$.g.R=function(){$.td(this.Da,this.D,this.g,this.j,this.O,this.f,this.G,this.N,this.b,this.Ka);delete this.b;$.Yx.u.R.call(this)};var eG=$.Yx.prototype;eG.labels=eG.labels;eG.minLabels=eG.gh;eG.maxLabels=eG.fh;eG.headers=eG.headers;eG.upperLabels=eG.um;eG.lowerLabels=eG.jk;eG.markers=eG.Eb;eG.outlierMarkers=eG.Kk;eG.connector=eG.Zg;eG.outline=eG.at;eG.normal=eG.Sa;eG.hovered=eG.mb;eG.selected=eG.selected;var jy;Tc("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));$.ja($.ly);$.ly.prototype.b=0;$.H($.my,$.qf);$.my.prototype.nb=$.ly.vd();var Qca=null;$.g=$.my.prototype;$.g.Lx=function(){return this.Yd||(this.Yd=":"+(this.nb.b++).toString(36))};$.g.Ta=function(){return this.pd};$.g.Mk=function(a){if(this==a)throw Error("Unable to set parent component");if(a&&this.Y&&this.Yd&&$.ry(this.Y,this.Yd)&&this.Y!=a)throw Error("Unable to set parent component");this.Y=a;$.my.u.ib.call(this,a)};$.g.getParent=function(){return this.Y};
$.g.ib=function(a){if(this.Y&&this.Y!=a)throw Error("Method not supported");$.my.u.ib.call(this,a)};$.g.pc=function(){this.pd=this.f.createElement("DIV")};$.g.Fd=function(a){this.PD(a)};$.g.PD=function(a,b){if(this.df)throw Error("Component already rendered");this.pd||this.pc();a?a.insertBefore(this.pd,b||null):this.f.b.body.appendChild(this.pd);this.Y&&!this.Y.df||this.pg()};$.g.js=ba(15);$.g.JG=ba(17);$.g.Zk=ba(20);$.g.pg=function(){this.df=!0;this.yj(function(a){!a.df&&a.Ta()&&a.pg()})};
$.g.oh=function(){this.yj(function(a){a.df&&a.oh()});this.G&&pf(this.G);this.df=!1};$.g.R=function(){this.df&&this.oh();this.G&&(this.G.cd(),delete this.G);this.yj(function(a){a.cd()});!this.eb&&this.pd&&$.Xe(this.pd);this.Y=this.Sg=this.pd=this.D=this.j=null;$.my.u.R.call(this)};$.g.fc=function(a,b){this.og(a,$.qy(this),b)};
$.g.og=function(a,b,c){if(a.df&&(c||!this.df))throw Error("Component already rendered");if(0>b||b>$.qy(this))throw Error("Child component index out of bounds");this.D&&this.j||(this.D={},this.j=[]);if(a.getParent()==this){var d=a.Lx();this.D[d]=a;$.Fa(this.j,a)}else $.Oc(this.D,a.Lx(),a);a.Mk(this);$.Da(this.j,a,b);a.df&&this.df&&a.getParent()==this?(c=this.UC(),b=c.childNodes[b]||null,b!=a.Ta()&&c.insertBefore(a.Ta(),b)):c?(this.pd||this.pc(),b=this.od(b+1),a.PD(this.UC(),b?b.pd:null)):this.df&&
!a.df&&a.pd&&a.pd.parentNode&&1==a.pd.parentNode.nodeType&&a.pg()};$.g.UC=function(){return this.pd};$.g.od=function(a){return this.j?this.j[a]||null:null};$.g.yj=function(a,b){this.j&&(0,$.Qe)(this.j,a,b)};$.g.pf=function(a){return this.j&&a?(0,$.za)(this.j,a):-1};$.g.removeChild=function(a,b){if(a){var c=$.z(a)?a:a.Lx();a=$.ry(this,c);c&&a&&($.Nc(this.D,c),$.Fa(this.j,a),b&&(a.oh(),a.pd&&$.Xe(a.pd)),a.Mk(null))}if(!a)throw Error("Child is not in parent component");return a};
$.g.jj=function(a,b){return this.removeChild(this.od(a),b)};$.g.Ki=function(a){for(var b=[];this.j&&0!=this.j.length;)b.push(this.jj(0,a));return b};var ty;$.H($.sy,$.my);$.g=$.sy.prototype;$.g.xt=null;$.g.SG=!1;$.g.pc=function(){this.pd=this.f.pc("INPUT",{type:"text"})};$.g.Zk=ba(19);$.g.pg=function(){$.sy.u.pg.call(this);var a=new nf(this);a.ra(this.Ta(),"focus",this.GT);a.ra(this.Ta(),"blur",this.Wda);if($.uy())this.Bg=a;else{$.gd&&a.ra(this.Ta(),["keypress","keydown","keyup"],this.fea);var b=$.re(this.Ta());a.ra(b?$.He(b):window,"load",this.vea);this.Bg=a;vy(this)}this.Rn();this.Ta().T1=this};
$.g.oh=function(){$.sy.u.oh.call(this);this.Bg&&(this.Bg.cd(),this.Bg=null);this.Ta().T1=null};$.g.R=function(){$.sy.u.R.call(this);this.Bg&&(this.Bg.cd(),this.Bg=null)};$.g.GT=function(){this.SG=!0;var a=this.Ta();$.Pj(a,"label-input-label");if(!$.uy()&&!$.wy(this)&&!this.b){var b=this;a=function(){b.Ta()&&(b.Ta().value="")};$.hd?$.yj(a,10):a()}};$.g.Wda=function(){$.uy()||(this.Bg.ac(this.Ta(),"click",this.GT),this.xt=null);this.SG=!1;this.Rn()};
$.g.fea=function(a){27==a.keyCode&&("keydown"==a.type?this.xt=this.Ta().value:"keypress"==a.type?this.Ta().value=this.xt:"keyup"==a.type&&(this.xt=null),a.preventDefault())};$.g.gea=function(){$.wy(this)||(this.Ta().value="",$.yj(this.Sda,10,this))};$.g.Sda=function(){$.wy(this)||(this.Ta().value=this.g)};$.g.vea=function(){this.Rn()};$.g.clear=function(){this.Ta().value="";null!=this.xt&&(this.xt="")};$.g.reset=function(){$.wy(this)&&(this.clear(),this.Rn())};
$.g.ej=function(){return null!=this.xt?this.xt:$.wy(this)?this.Ta().value:""};$.g.Vd=function(){return this.g};$.g.Rn=function(){var a=this.Ta();$.uy()?this.Ta().placeholder!=this.g&&(this.Ta().placeholder=this.g):vy(this);$.ky(a,"label",this.g);$.wy(this)?(a=this.Ta(),$.Pj(a,"label-input-label")):(this.b||this.SG||(a=this.Ta(),$.Nj(a,"label-input-label")),$.uy()||$.yj(this.Fha,10,this))};$.g.lj=function(a){this.Ta().disabled=!a;var b=this.Ta();a?$.Pj(b,"label-input-label-disabled"):$.Nj(b,"label-input-label-disabled")};
$.g.isEnabled=function(){return!this.Ta().disabled};$.g.d0=ba(21);$.g.Fha=function(){!this.Ta()||$.wy(this)||this.SG||(this.Ta().value=this.g)};$.H($.yy,$.Y);$.g=$.yy.prototype;$.g.sh=function(a){a:{var b=a.type;switch(b){case "mouseout":b="axismarkerout";break;case "mouseover":b="axismarkerover";break;case "mousemove":b="axismarkermove";break;default:a=null;break a}a={type:b,target:this,originalEvent:a,rawValue:this.xJ(),formattedValue:this.bQ(),offsetX:a.offsetX,offsetY:a.offsetY}}a&&this.dispatchEvent(a)};$.g.bQ=function(){return"Value: "+this.xJ()};$.g.qa=$.Y.prototype.qa|4;$.g.sa=$.Y.prototype.sa|20;$.g.mc=function(){return this.Ba};
$.g.ZJ=function(a){if($.n(a)){var b="gantt"==(a&&$.E(a.Na)&&a.Na());if(a=b?a==this.j?null:a:$.Xs(this.j,a,null,15,null,this.kg,this)){var c=this.j==a;this.j=a;var d=this.na||this.b&&this.b.scale();d?a.da(!1):b||a.da(c);c||d||this.B(4,13)}}};
$.g.np=function(a){if($.n(a)){var b="gantt"==(a&&$.E(a.Na)&&a.Na()),c=b?a==this.na?null:a:$.Xs(this.na,a,null,15,null,this.kg,this);if(c||null===a&&this.na){a=this.na==c;var d=b&&!this.na;c||$.Zq(this.na,this.kg,this);this.na=c;d&&$.L(this.na,this.kg,this);c&&!b&&c.da(a);a||this.B(4,13)}return this}return this.na||this.b&&this.b.scale()||this.j};$.g.P1=function(){return!!this.na};$.g.kg=function(a){var b=0;$.X(a,4)&&(b|=4);$.X(a,2)&&(b|=1);this.B(4,b|8)};
$.g.xJ=function(){return $.n(void 0)?(void 0!==this.i("value")&&this.value(void 0),this):this.i("value")};$.g.OC=function(){var a=9;"consider"==this.i("scaleRangeMode")&&(a|=4);return a};$.g.Sq=function(){return $.yy.u.Sq.call(this)|4};$.g.ds=function(){return[this.xJ()]};$.g.MY=function(){this.B(4,9)};$.g.axis=function(a){return $.n(a)?(this.b!=a&&(this.b&&$.Zq(this.b,this.MY,this),this.b=a,$.L(this.b,this.MY,this),this.B(4,13)),this):this.b};
$.g.wp=function(a,b,c,d){this.Ng||(this.Ng=new $.tu);return $.n(a)?(this.Ng.K.apply(this.Ng,arguments),this):this.Ng};$.g.Hb=function(){return"horizontal"==this.pe()};$.g.Mr=void 0;$.g.Iu=void 0;$.g.$=function(){if(!this.scale())return $.cl(2),this;if(!this.Bc())return this;if(this.J(8)){var a=this.zIndex();$.zy(this).zIndex(a);this.I(8)}this.J(2)&&(a=this.P(),$.zy(this).parent(a),this.I(2));this.J(16)&&(this.Iu(),this.I(16));this.J(4)&&(this.Mr(),this.I(4));return this};
$.g.Np=function(){var a=this.scale();if(a){var b=$.zy(this),c=a.transform(this.i("value"),.5);b.clear();if(!(0,window.isNaN)(c)&&(0<=c&&1>=c||this.g)){a=this.ja();var d=this.wp(),e=b.Nk();this.Hb()?(c=a.bc()+a.height-c*a.height,c=$.R(c,e),b.moveTo(a.qb(),c),b.lineTo(a.$a(),c)):(c=a.qb()+c*a.width,c=$.R(c,e),b.moveTo(c,a.bc()),b.lineTo(c,a.Ua()));this.g||b.clip(d.nj(a))}}else $.cl(2)};$.g.remove=function(){$.zy(this).parent(null)};var fG={};$.hq(fG,[[0,"scaleRangeMode",al]]);$.U($.yy,fG);
$.yy.prototype.X=function(a,b){$.yy.u.X.call(this,a,b);"layout"in a&&a.layout&&this.pe(a.layout);if("axis"in a){var c=a.axis;$.ea(c)?this.Ba&&this.axis(this.Ba.jG(c)):c.gy&&c.gy()&&this.axis(c)}$.zq(this,fG,a,b)};$.yy.prototype.F=function(){var a=$.yy.u.F.call(this);$.Hq(this,fG,a);return a};$.yy.prototype.R=function(){this.Ba=this.b=null;$.td(this.D,this.Ng);this.Ng=this.D=null;$.yy.u.R.call(this)};$.H($.By,$.Y);$.By.prototype.qa=$.Y.prototype.qa;$.By.prototype.sa=$.Y.prototype.sa;var dea=$.By.prototype,gG={};$.hq(gG,[[1,"stroke",$.Dq],[0,"length",$.so],[0,"position",$.Qk]]);dea.YP=gG;$.U($.By,$.By.prototype.YP);$.g=$.By.prototype;$.g.orientation=function(a){return $.n(a)?(a=$.Fk(a),this.ih!=a&&(this.ih=a,this.Ko=null),this):this.ih};$.g.remove=function(){this.path&&this.path.parent(null)};
$.g.$=function(){this.path.clear();this.path.stroke(this.i("stroke"));if(!this.Bc())return this;this.J(8)&&(this.path.zIndex(this.zIndex()),this.I(8));this.J(2)&&(this.path.parent(this.P()),this.I(2));return this};$.g.L_=function(a,b,c,d){a=b.left+a*b.width;b=c.top;a=$.R(a,this.path.Nk());var e=this.i("position"),f=this.i("length");"outside"==e?(b-=d/2,c=-f):(b="center"==e?b+(c.height-f)/2:b+d/2,c=f);this.path.moveTo(a,b);this.path.lineTo(a,b+c)};
$.g.aS=function(a,b,c,d){c=c.left;a=b.top+b.height-a*b.height;a=$.R(a,this.path.Nk());b=this.i("position");var e=this.i("length");"outside"==b?(c+=d/2,d=e):"center"==b?(c-=e/2,d=e):(c-=d/2,d=-e);this.path.moveTo(c,a);this.path.lineTo(c+d,a)};$.g.VR=function(a,b,c,d){a=b.left+a*b.width;c=c.top;a=$.R(a,this.path.Nk());b=this.i("position");var e=this.i("length");"outside"==b?(c+=d/2,d=e):"center"==b?(c-=e/2,d=e):(c-=d/2,d=-e);this.path.moveTo(a,c);this.path.lineTo(a,c+d)};
$.g.ZR=function(a,b,c,d){c=c.left;a=b.top+b.height-a*b.height;a=$.R(a,this.path.Nk());b=this.i("position");var e=this.i("length");"outside"==b?(c-=d/2,d=-e):(c="center"==b?c-e/2:c+d/2,d=e);this.path.moveTo(c,a);this.path.lineTo(c+d,a)};$.g.F=function(){var a=$.By.u.F.call(this);$.Hq(this,this.YP,a,"AxisTicks");return a};$.g.X=function(a,b){$.By.u.X.call(this,a,b);$.zq(this,this.YP,a,b)};$.g.R=function(){$.qd(this.path);this.path=null;$.By.u.R.call(this)};$.H($.Dy,$.Y);$.Dy.prototype.i=function(a){var b=$.Dy.u.i.call(this,a);if("orientation"==a&&null==b||!$.n(b))b=this.zd[a];return b};var hG={};$.hq(hG,[$.Z.nJ,$.Z.kP,$.Z.lP,$.Z.uB,$.Z.Jn,[0,"staggerMode",$.uq],[0,"staggerMaxLines",$.mq],[0,"staggerLines",$.mq],[0,"orientation",Sq]]);$.U($.Dy,hG);$.g=$.Dy.prototype;$.g.sa=$.Y.prototype.sa|976;$.g.qa=$.Y.prototype.qa;$.g.Lc=null;$.g.kr="axis";$.g.sb=null;$.g.Da=null;$.g.oc=null;$.g.hb=null;$.g.Nc=null;$.g.vn=null;$.g.GI=1;$.g.nq=null;$.g.eH=null;
$.g.Pa=null;$.g.Qh=null;$.g.lk=null;$.g.title=function(a){this.sb||(this.sb=new $.Nv,$.W(this,"title",this.sb),this.sb.ib(this),$.L(this.sb,this.uq,this));return $.n(a)?(this.sb.K(a),this):this.sb};$.g.uq=function(a){var b=0,c=0;$.X(a,8)?(b=this.xe,c=9):$.X(a,1)&&(b=64,c=1);this.B(b,c)};$.g.labels=function(a){this.Da||(this.Da=new $.Du,$.W(this,"labels",this.Da),this.Da.ib(this),$.L(this.Da,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Da.K(a),this):this.Da};
$.g.Zd=function(a){var b=0,c=0;$.X(a,8)?(b=this.xe,c=9):$.X(a,1)&&(b=384,c=1);this.labels().clear();this.Tr();this.Qj=null;this.Qd();this.B(b,c)};$.g.kb=function(a){this.oc||(this.oc=new $.Du,$.W(this,"minorLabels",this.oc),this.oc.ib(this),$.L(this.oc,this.G9,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.oc.K(a),this):this.oc};$.g.G9=function(a){var b=0,c=0;$.X(a,8)?(b=this.xe,c=9):$.X(a,1)&&(b=128,c=1);this.Qj=null;this.Qd();this.kb().clear();this.B(b,c)};$.g.Xk=function(){return new $.By};
$.g.TE=function(){return this.line?this.line:this.line=$.nk()};$.g.Qa=function(a){this.hb||(this.hb=this.Xk(),$.W(this,"ticks",this.hb),this.hb.ib(this),$.L(this.hb,this.GY,this));return $.n(a)?(this.hb.K(a),this):this.hb};$.g.tb=function(a){this.Nc||(this.Nc=this.Xk(),$.W(this,"minorTicks",this.Nc),this.Nc.ib(this),$.L(this.Nc,this.GY,this));return $.n(a)?(this.Nc.K(a),this):this.Nc};$.g.GY=function(a){var b=0,c=0;$.X(a,8)?(b=this.xe,c=9,this.Qd()):$.X(a,1)&&(b=256,c=1);this.B(b,c)};
$.g.scale=function(a){if($.n(a)){if(this.vn!=a&&(a=$.Xs(this.scale(),a,null,this.IS(),null,this.kg,this))){var b=this.vn==a;this.vn=a;this.Tr();this.Qj=null;this.Qd();this.labels().clear();this.kb().clear();a.da(b);b||this.B(this.xe,9)}return this}return this.vn};$.g.IS=function(){return 15};$.g.kg=function(a){$.X(a,2)&&(this.Tr(),this.Qj=null,this.Qd(),this.labels().clear(),this.kb().clear(),this.B(this.xe,9))};
$.g.padding=function(a,b,c,d){this.Pa||(this.Pa=new $.tu,$.W(this,"padding",this.Pa),$.L(this.Pa,this.Pl,this));return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this):this.Pa};$.g.Pl=function(a){$.X(a,2)&&(this.Tr(),this.Qj=null,this.Qd(),this.B(this.xe,9))};$.g.gy=function(){return!0};$.g.Tr=function(){this.ka=null};
$.g.Px=function(a){if(!this.Qj||this.J(512)){var b=this.scale();if(b){var c=this.labels();var d=c.enabled();var e=b.Qa().get();var f=e.length;if(d){var h;var k=0;for(h=f;k<h;k++)(0==k&&this.i("drawFirstLabel")||k==f-1&&this.i("drawLastLabel")||0<k&&k<f-1)&&this.Vd(k,!0,e,a)}if($.K(b,$.Ys)){var l=this.kb();var m=l.enabled();l=b.tb().get();var p=l.length;if(m)for(k=0,h=p;k<h;k++)this.Vd(k,!1,l,a)}}if("allow-overlap"==this.i("overlapMode"))return{labels:d,kb:m};h=[];var q=[];if(b){var r=-1,t=-1,u=-1,
v,w,x;k=c.i("position");var y=this.eH&&0>$.Ao(k)?this.eH:null,B=this.i("drawFirstLabel"),G=this.i("drawLastLabel");if($.K(b,$.Ys)){c=k=0;for(var C;k<f||c<p;){var I=e[k];var P=l[c];var Q=b.transform(I);C=b.transform(P);P=I=v=w=null;if(-1==t&&d)for(x=k;-1==t&&x<f;){!x&&B||x==f-1&&G||0!=x&&x!=f-1?P=this.hd(x,!0,e,a):P=null;-1!=r?I=this.hd(r,!0,e,a):I=null;x!=f-1&&G?v=this.hd(f-1,!0,e,a):v=null;var S=y?!Fy(this,y,P):!0;P&&S&&!$.Zm(P,I)&&!$.Zm(P,v)&&(S=b.transform(e[x]),0>=S&&B||1<=S&&G?t=x:0<S&&1>S&&
(t=x));x++}Q<=C&&k<f||c==p?(d&&k==t?(r=k,t=-1,h.push(!0)):h.push(!1),k++,Q==C&&(d||this.Qa().enabled())&&(q.push(!1),c++)):(m?(P=this.hd(c,!1,l,a),-1!=r&&(I=this.hd(r,!0,e,a)),-1!=t&&(v=this.hd(t,!0,e,a)),-1!=u&&(w=this.hd(u,!1,l,a)),Q=(Q=this.kb().Vd(c))?$.n(Q.enabled())?Q.enabled():!0:!0,S=y?!Fy(this,y,P):!0,!S||$.Zm(P,I)||$.Zm(P,v)||$.Zm(P,w)||!Q?q.push(!1):(S=b.transform(l[c]),0>=S&&B||1<=S&&G?(u=c,q.push(!0)):0<S&&1>S?(u=c,q.push(!0)):q.push(!1))):q.push(!1),c++)}m||(q=!1)}else if($.K(b,Ks))for(G?
(v=this.hd(f-1,!0,e,a),v=y?Fy(this,y,v)?null:v:v):v=null,k=0;k<f;k++)d?(!k&&B||k==f-1&&G||0!=k&&k!=f-1?P=this.hd(k,!0,e,a):P=null,-1!=r?I=this.hd(r,!0,e,a):I=null,S=y?!Fy(this,y,P):!0,k?k==f-1?G&&S?(r=k,h.push(!0)):h.push(!1):!S||$.Zm(P,I)||$.Zm(P,v)?h.push(!1):(r=k,h.push(!0)):B&&S?(r=k,h.push(!0)):h.push(!1)):h.push(!1)}d||(h=!1);this.Qj={labels:h,kb:q};this.B(this.xe);this.I(512)}return this.Qj};
$.g.Vd=function(a,b,c,d){if(!b&&this.scale()&&!$.K(this.scale(),$.Ys))return null;var e=b?this.labels():this.kb(),f=e.Vd(a);f||(f=e.add(void 0,void 0,a),f.Ma.ja=this.ja(),f.ar=null,$.Qu(f,[f.Ma,e.Ma,e.ma]));e=c[a];e=$.A(e)?e[0]:e;f.uc(Rca(this,a,b,c,d));f.lf(this.Vp(a,e));f.uL();return f};
$.g.hd=function(a,b,c,d){if(!b&&this.scale()&&!$.K(this.scale(),$.Ys)||0>a)return null;var e=b?this.Qh:this.lk;if($.n(e[a]))return e[a];var f=Iy(this,c[a]);if(0>f||1<f)return[0,0];f=b?this.labels():this.kb();c=this.Vd(a,b,c,d);if(d=Gu(c))c.Ma.ja=this.ja(),$.Qu(c,[c.Ma,f.Ma,f.ma]),b=f.measure(c,void 0,void 0,a);else{b=c.ii();b.Za&&($.kg().Dp().appendChild(b.Kd()),c.B(2),b.b=0,b.Za=null,b.setPosition(0,0));b=b.pb();var h=c.ic("padding");h&&!$.Jc(h)&&(b=$.wu(b,h));b.left=c.uc().value.x;b.top=c.uc().value.y}f=
f.i("position");f=$.Ao(f);switch(this.i("orientation")){case "top":b.top-=f*b.height/2;break;case "right":b.left+=f*b.width/2;break;case "bottom":b.top+=f*b.height/2;break;case "left":b.left-=f*b.width/2}if(d)b=$.hn(b);else{f=$.Iu(c);d=f.anchor||"left-top";c=$.xo(new $.J(0,0,b.width,b.height),d);b.left-=c.x;b.top-=c.y;c=$.xo(b,d);h=this.ja();var k=f.offsetX,l=f.offsetY,m=new $.gb(b.left,b.top);$.Qo(m,d,$.n(k)?$.M(k,h.width):0,$.n(l)?$.M(l,h.height):0);b.left=m.x;b.top=m.y;b=$.hn(b);f.rotation&&$.Jb($.bb(f.rotation),
c.x,c.y).transform(b,0,b,0,4)}return e[a]=b};$.g.B0=function(a,b,c,d,e){var f=0,h=0;switch(this.i("orientation")){case "top":f=Math.round(a.left+b*a.width);h=e.top-c/2-d;break;case "right":f=e.$a()+c/2+d;h=Math.round(a.Ua()-b*a.height);break;case "bottom":f=Math.round(a.left+b*a.width);h=e.Ua()+c/2+d;break;case "left":f=e.left-c/2-d,h=Math.round(a.Ua()-b*a.height)}return{x:f,y:h}};$.g.Qd=function(){this.f&&(this.f.length=0);this.Qh.length=0;this.lk.length=0;this.nq=this.ga=null};
$.g.TZ=function(a,b,c){var d=this.Qa(),e=this.tb(),f=this.labels().i("position"),h=this.kb().i("position");var k=d.i("position");var l=e.i("position");var m=$.Ao(f);var p=$.Ao(h);k=$.Ao(k);l=$.Ao(l);c?(c=d.enabled()?d.i("length"):0,e=e.enabled()?e.i("length"):0,k=k||m?m?a+c:a/2+Math.max(a/2,c):Math.max(a,c),m=l||p?m?b+e:b/2+Math.max(b/2,e):Math.max(b,e)):(c=$.Bo(d,1),e=$.Bo(e,1),k=c,m=e,"outside"==f?k+=a:"center"==f&&(k=Math.max(k,a/2)),"outside"==h?m+=b:"center"==h&&(m=Math.max(m,b/2)));return Math.max(k,
m)};$.g.Dg=function(a){return this.Hb()?this.padding().wg(a):this.padding().Jh(a)};$.g.qd=function(a){var b=this.ja();if(b){var c=b.clone();if(this.scale()&&this.enabled()){var d=this.lb(a),e=this.padding();a=b.height-e.Jh(b.height)+d.height;b=b.width-e.wg(b.width)+d.width;switch(this.i("orientation")){case "top":c.height-=a;c.top+=a;break;case "right":c.width-=b;break;case "bottom":c.height-=a;break;case "left":c.width-=b,c.left+=b}}return c}return new $.J(0,0,0,0)};
$.g.sF=function(a,b,c,d){var e=this.i("width");return e?$.M(e,a):$.Hy(this,c,b,d)};
$.g.lb=function(a){var b=a&&4!=(this.labels().enabled()?$.Ao(this.labels().i("position")):1)+(this.kb().enabled()?$.Ao(this.kb().i("position")):1)+(this.Qa().enabled()?$.Ao(this.Qa().i("position")):1)+(this.tb().enabled()?$.Ao(this.tb().i("position")):1),c=b?this.ga:this.nq;if(!c||this.J(4)){if(c=this.ja()){c.top=Math.round(c.top);c.left=Math.round(c.left);c.width=Math.round(c.width);c.height=Math.round(c.height);if(this.Hb()){var d=c.width;var e=c.height}else d=c.height,e=c.width;d=this.Dg(d);a=
this.sF(e,d,c,a);var f=this.padding();e=$.M(f.i("top"),c.height);var h=$.M(f.i("right"),c.width),k=$.M(f.i("bottom"),c.height);f=$.M(f.i("left"),c.width);var l=0,m=0,p=0,q=0;switch(this.i("orientation")){case "top":m=c.top+e;l=c.left+f;q=a;p=d;break;case "right":m=c.top+e;l=c.left+c.width-a-h;q=d;p=a;break;case "bottom":m=c.top+c.height-a-k;l=c.left+f;q=a;p=d;break;case "left":m=c.top+e,l=c.left+f,q=d,p=a}c=new $.J(l,m,p,q);c.round();b?this.ga=c:this.nq=c}else this.nq=new $.J(0,0,0,0),this.ga=new $.J(0,
0,0,0);this.I(4)}return b?this.ga:this.nq};$.g.ZP=function(a,b,c){b=a.Ua();b+=c/2;this.line.moveTo($.R(a.left,1)-.5,b).lineTo($.R(a.$a(),1)+.5,b)};$.g.SE=function(a,b,c){b=a.left;b-=c/2-1;this.line.moveTo(b,$.R(a.top,1)-.5).lineTo(b,$.R(a.Ua(),1)+.5)};$.g.QE=function(a,b,c){b=a.top;b-=c/2-1;this.line.moveTo($.R(a.left,1)-.5,b).lineTo($.R(a.$a(),1)+.5,b)};$.g.RE=function(a,b,c){b=a.$a();b+=c/2;this.line.moveTo(b,$.R(a.top,1)-.5).lineTo(b,$.R(a.Ua(),1)+.5)};
$.g.Np=function(){this.TE().clear();switch(this.i("orientation")){case "top":var a=this.ZP;break;case "right":a=this.SE;break;case "bottom":a=this.QE;break;case "left":a=this.RE}var b=this.i("stroke"),c=$.Wo(b);c=c?c:1;var d=0==c%2?0:.5,e=this.lb();a.call(this,e,d,c,0,0);this.line.stroke(b)};
$.g.A0=function(a,b,c,d,e,f){var h=this.lb(),k=this.line.pb(),l=this.i("stroke");l=$.Wo(l);var m=0,p=0;switch(this.i("orientation")){case "top":m=Math.round(h.left+a*h.width)+e;p=k.top-f*(l/2+b.height/2+c)-d;break;case "right":m=k.$a()+f*(l/2+b.width/2+c)+d;p=Math.round(h.top+h.height-a*h.height)+e;break;case "bottom":m=Math.round(h.left+a*h.width)+e;p=k.Ua()+f*(l/2+b.height/2+c)+d;break;case "left":m=k.left-f*(l/2+b.width/2+c)-d,p=Math.round(h.top+h.height-a*h.height)+e}return{x:m,y:p}};
$.g.ce=function(a,b,c,d,e,f,h){if(e){var k=this.Qa();var l=this.labels()}else k=this.tb(),l=this.kb();if(h){f=$.jn(this.hd(c,e,f));h=0;if(e){var m=!0;if(1<this.D&&this.i("staggerMode"))for(var p=0,q=this.ba.length;p<q;p++){for(var r=this.ba[p],t=0,u=r.length;t<u;t++)if(c==r[t]){m=!1;break}if(!m)break;h+=this.O[p]}}m=$.Ao(l.i("position"));k=$.Bo(k,m);b={value:this.A0(b,f,h,k,d,m,e)};a=this.Vp(c,a);d=l.Vd(c);d||(d=l.add(a,b,c),$.Qu(d,[d.Ma,l.Ma,l.ma]));d.lf(a);d.uc(b)}else l.clear(c)};
$.g.Bc=function(){if(this.ef())return!1;if(!this.enabled())return this.J(1)&&(this.remove(),this.I(1),this.title().B(2),this.Qa().B(2),this.tb().B(2),this.labels().B(2),this.kb().B(2),this.B(450)),!1;this.I(1);return!0};$.g.K_=function(){var a=this.title();a.ja(this.lb());$.Qv(a,this.i("orientation"));a.$()};$.g.$P=function(){var a=this.zIndex();this.line.zIndex(a);this.title().zIndex(a);this.Qa().zIndex(a);this.tb().zIndex(a);this.labels().zIndex(a);this.kb().zIndex(a)};
$.g.$=function(){var a=this.scale();if(!a)return $.cl(2),this;if(!this.Bc())return this;var b=this.i("orientation"),c=this.Qa(),d=this.tb();$.V(this.title());$.V(this.labels());$.V(this.kb());$.V(c);$.V(d);this.J(16)&&(this.Np(),this.I(16));this.J(8)&&(this.$P(),this.I(8));if(this.J(2)){var e=this.P();this.title().P(e);this.line.parent(e);c.P(e);d.P(e);this.labels().P(e);this.kb().P(e);this.I(2)}this.J(64)&&(this.K_(),this.I(64));if(this.J(256)){var f=this.Qa();f.orientation(b);f.$();var h=$.Cy(f);
var k=this.tb();k.orientation(b);k.$();var l=$.Cy(k);this.I(256)}this.J(128)&&(b=this.labels(),b.P()||b.P(this.P()),b.ja(this.ja()),b=this.kb(),b.P()||b.P(this.P()),b.ja(this.ja()),this.I(128));if($.n(h)||$.n(l)){b=a.Qa().get();e=b.length;var m=c.i("stroke"),p=m&&m.thickness?(0,window.parseFloat)(m.thickness):1,q;m=this.lb();var r=this.line.pb();var t=this.i("stroke");t=$.Yb(t);t=$.Wo(t);var u=$.K(a,$.Ct);if($.K(a,$.Ys)){var v=Gy(this);if($.D(v)){var w=v.labels;u=v.kb}else w=!v,u=!v;var x=a.tb().get(),
y=(v=d.i("stroke"))&&v.thickness?(0,window.parseFloat)(v.thickness):1;var B=v=0;for(var G=x.length,C,I,P;v<e||B<G;){var Q=b[v];C=x[B];var S=a.transform(Q);I=a.transform(C);"log"==a.Na()&&(S=$.Qm(S,6),I=$.Qm(I,6));if(S<=I&&v<e||B==G){P=0==p%2?0:-.5;var sa=$.A(w)?w[v]:w;(q=$.A(w)&&w[v]||$.da(w))&&h&&h.call(f,S,m,r,t,P);this.ce(Q,a.transform(Q,.5),v,P,!0,b,sa);P=S;v++}else S=0==y%2?0:-.5,sa=$.A(u)?u[B]:u,(q=$.A(u)&&u[B]||$.da(u))&&l&&P!=I&&l.call(k,I,m,r,t,S),this.ce(C,a.transform(C,.5),B,S,!1,x,sa&&
P!=I),B++}u&&this.kb().$()}else for(l=Gy(this),w=$.D(l)?l.labels:!l,l=0==p%2?0:-.5,v=0;v<e;v++)Q=b[v],$.A(Q)?(k=Q[0],P=Q[1],p=(a.transform(Q[0],0)+a.transform(Q[1],1))/2):(k=P=Q,p=a.transform(Q,.5)),S=u&&"continuous"==a.mode()?.5:0,S=a.transform(k,S),h&&(0<=S&&1>=S&&h.call(f,S,m,r,t,l),v==e-1&&(S=a.transform(P,1),0<=S&&1>=S&&h.call(f,S,m,r,t,l))),sa=$.A(w)?w[v]:w,this.ce(k,p,v,l,!0,b,sa&&0<=p&&1>=p);this.labels().$()}this.title().da(!1);this.labels().da(!1);this.kb().da(!1);c.da(!1);d.da(!1);return this};
$.g.remove=function(){this.sb&&this.sb.remove();this.line&&this.line.parent(null);this.Qa().remove();this.tb().remove();this.Da&&this.Da.remove();this.oc&&this.oc.remove()};$.g.ho=function(){this.Tr();this.Qj=null;this.Qd();this.B(this.xe,9)};
$.g.Vp=function(a,b){var c=this.scale(),d,e=!0,f=!1;if($.K(c,$.Ct)){var h=c.Qa().names()[a];var k=b;var l=d="string";e=!1}else $.K(c,$.$s)?(h=$.ks(b),d="string",l="date-time",k=b,f=!0):(h=(0,window.parseFloat)(b),k=(0,window.parseFloat)(b),d=l="number");h={axis:{value:this,type:""},index:{value:a,type:"number"},value:{value:h,type:d},tickValue:{value:k,type:l},scale:{value:c,type:""}};e&&(h.max={value:$.n(c.max)?c.max:null,type:"number"},h.min={value:$.n(c.min)?c.min:null,type:"number"});f&&(e=c.Qa(),
h.intervalUnit={value:e.RS(),type:"string"},h.intervalUnitCount={value:e.SS(),type:"number"},e=c.tb(),h.minorIntervalUnit={value:e.RS(),type:"string"},h.minorIntervalUnitCount={value:e.SS(),type:"number"});c={};c["%AxisName"]={value:this.title().text(),type:"string"};e=new $.rw(h);e.sm({"%AxisScaleMax":"max","%AxisScaleMin":"min"});e.nl(c);return $.av(e)};$.g.Hb=function(){var a=this.i("orientation");return"top"==a||"bottom"==a};
$.g.F=function(){var a=$.Dy.u.F.call(this);$.Hq(this,hG,a);a.title=this.title().F();a.labels=this.labels().F();a.minorLabels=this.kb().F();a.ticks=this.Qa().F();a.minorTicks=this.tb().F();return a};$.g.X=function(a,b){$.Dy.u.X.call(this,a,b);$.zq(this,hG,a,b);"title"in a&&this.title().ia(!!b,a.title);"padding"in a&&this.padding(a.padding);this.labels().ia(!!b,a.labels);this.kb().ia(!!b,a.minorLabels);this.Qa(a.ticks);this.tb(a.minorTicks)};
$.g.R=function(){this.vn&&$.Zq(this.vn,this.kg,this);this.vn=null;$.td(this.sb,this.Pa,this.line,this.Da,this.oc,this.hb,this.Nc);this.Nc=this.hb=this.oc=this.Da=this.line=this.Pa=this.sb=null;this.Qh.length=0;this.lk.length=0;this.nq=null;$.Dy.u.R.call(this)};$.H(Jy,$.Dy);$.ju(Jy,$.Dy);var iG=$.Dy.prototype;iG.title=iG.title;iG.labels=iG.labels;iG.minorLabels=iG.kb;iG.ticks=iG.Qa;iG.minorTicks=iG.tb;iG.scale=iG.scale;iG.getRemainingBounds=iG.qd;iG.isHorizontal=iG.Hb;iG.padding=iG.padding;
iG.getPixelBounds=iG.lb;iG=Jy.prototype;$.F("anychart.standalones.axes.linear",function(){var a=new Jy;a.Fa("standalones.linearAxis");return a});iG.padding=iG.padding;iG.draw=iG.$;iG.parentBounds=iG.ja;iG.container=iG.P;$.H($.Ky,gv);$.Ky.prototype.sh=function(a){a:{var b=a.type;switch(b){case "mouseout":b="axismarkerout";break;case "mouseover":b="axismarkerover";break;case "mousemove":b="axismarkermove";break;default:a=null;break a}a={type:b,target:this,originalEvent:a,rawValue:My(this),formattedValue:"Value: "+My(this),offsetX:a.offsetX,offsetY:a.offsetY}}a&&this.dispatchEvent(a)};$.Ky.prototype.qa=gv.prototype.qa|4;$.Ky.prototype.sa=gv.prototype.sa;var jG={};$.hq(jG,[$.Z.kJ,[0,"scaleRangeMode",al]]);$.U($.Ky,jG);
$.g=$.Ky.prototype;$.g.mc=function(){return this.Ba};$.g.ZJ=function(a){if($.n(a)){var b="gantt"==(a&&$.E(a.Na)&&a.Na());if(a=b?a==this.j?null:a:$.Xs(this.j,a,null,15,null,this.kg,this)){var c=this.j==a;this.j=a;var d=this.na||this.b&&this.b.scale();d?a.da(!1):b||a.da(c);c||d||this.B(4,13)}}};
$.g.np=function(a){if($.n(a)){var b="gantt"==(a&&$.E(a.Na)&&a.Na());if(a=b?a==this.na?null:a:$.Xs(this.na,a,null,15,null,this.kg,this)){var c=this.na==a;this.na=a;b||a.da(c);c||this.B(4,13)}return this}return this.na||this.b&&this.b.scale()||this.j};$.g.P1=function(){return!!this.na};$.g.kg=function(a){if(a.target==this.np()){var b=0;$.X(a,4)&&(b|=4);$.X(a,2)&&(b|=1);this.B(4,b|8)}};$.g.NY=function(){this.B(4,9)};
$.g.axis=function(a){return $.n(a)?(this.b!=a&&(this.b&&$.Zq(this.b,this.NY,this),this.b=a,$.L(this.b,this.NY,this),this.B(4,13)),this):this.b};$.g.wp=function(a,b,c,d){this.Ng||(this.Ng=new $.tu);return $.n(a)?(this.Ng.K.apply(this.Ng,arguments),this):this.Ng};$.g.pe=function(a){return $.n(a)?(a=$.Ek(a),this.f!=a&&(this.f=a,this.B(4,9)),this):this.f?this.f:this.b?(a=this.b.i("orientation"),"left"==a||"right"==a?"horizontal":"vertical"):this.D};$.g.Hb=function(){return"horizontal"==this.pe()};
$.g.Bc=function(){var a=$.Ky.u.Bc.call(this)&&!(null==My(this)||!this.np());if(!a)return a;a=this.scale().transform(My(this),.5);if(0<=a&&1>=a||this.G)return this.B(6),!0;this.remove();this.I(6);return!1};$.g.w0=function(){var a=this.i("rotation");return null==a||(0,window.isNaN)(a)?this.Hb()?0:-90:a};$.g.iQ=function(){var a=this.i("align");if(this.Hb()){if("left"==a)return"left-center";if("right"==a)return"right-center"}else{if("top"==a)return"center-top";if("bottom"==a)return"center-bottom"}return"center"};
$.g.Tz=function(){var a=this.i("anchor");if(!a||"auto"==a)switch(this.iQ()){case "center-top":case "right-center":a="right-center";break;case "center-bottom":case "left-center":a="left-center";break;default:a="center"}return a};$.g.C0=function(){return this.g};
$.g.ja=function(a,b,c,d){return $.n(a)?(null===a||$.K(a,$.J)?this.g=a:"object"==$.ka(a)?this.g=new $.J(a.left,a.top,a.width,a.height):this.g=new $.J(a||0,b||0,c||0,d||0),this.ho(),this):null!=My(this)&&this.np()&&this.g?(a=this.g.clone(),b=this.scale().transform(My(this),.5),this.Hb()?(a.height=0,a.top=Math.round(this.g.top+this.g.height-b*this.g.height)):(a.width=0,a.left=Math.round(this.g.left+b*this.g.width)),a):null};$.g.OC=function(){var a=9;"consider"==this.i("scaleRangeMode")&&(a|=4);return a};
$.g.Sq=function(){return $.Ky.u.Sq.call(this)|4};$.g.ds=function(){return[My(this)]};$.g.F=function(){var a=$.Ky.u.F.call(this);$.Hq(this,jG,a,"TextBase");this.f&&(a.layout=this.f);return a};$.g.X=function(a,b){$.Ky.u.X.call(this,a,b);$.zq(this,jG,a,b);"layout"in a&&a.layout&&this.pe(a.layout);if("axis"in a){var c=a.axis;$.ea(c)?this.Ba&&this.axis(this.Ba.jG(c)):c.gy&&c.gy()&&this.axis(c)}};$.g.R=function(){$.qd(this.Ng);this.b=this.Ba=this.Ng=null;$.Ky.u.R.call(this)};$.H($.Ny,$.Yq);$.Ny.prototype.sa=$.Yq.prototype.sa;$.Ny.prototype.qa=$.Yq.prototype.qa|$.oE|$.pE;var Sca=Date.UTC(2E3,10,29,23,59,59,999);$.g=$.Ny.prototype;$.g.xy=function(){return this.re};$.g.labels=function(a){return $.n(a)&&this.Da!=a?(this.Da&&$.Zq(this.Da,this.dr,this),this.Da=a,$.L(this.Da,this.dr,this),this):this.Da};$.g.dr=function(){this.re.length||$.Py(this);for(var a=this.labels().flatten(),b=0;b<this.re.length;b++){var c=this.re[b];c.style(a);$.Cx(c)}this.ta($.pE)};
$.g.reset=function(){for(var a=0;a<this.re.length;a++)this.re[a].cd();this.re.length=0;this.Qz={};this.f.length=0};$.g.R=function(){this.reset();this.re.length=0;var a=$.pl,b="m"+$.oa(this);b in a.b&&($.Zq(a.b[b].AN,a.j,a),delete a.b[b]);this.Da&&$.Zq(this.Da,this.dr,this);$.Ny.u.R.call(this)};$.H($.Ry,$.Ys);$.g=$.Ry.prototype;$.g.Na=function(){return"linear-color"};$.g.Z_=function(a){var b,c=[];var d=0;for(b=arguments.length;d<b;d++){var e=arguments[d];if($.z(e))c.push(e);else if($.A(e))c.push.apply(c,e);else if($.D(e)){var f=e.keys;if($.n(f)&&$.A(f)){f=this.Z_.apply(this,e.keys);var h=e.opacity;if($.n(h))for(var k=0;k<f.length;k++)e=f[k],$.n(e.opacity)||(e.opacity=h);c.push.apply(c,f)}else c.push(e)}}return c=$.Vb(c).keys};
$.g.iga=function(a){for(var b=this.Z_.apply(this,arguments),c=0,d=b.length;c<d;c++){var e=b[c];$.n(e.offset)||(e.offset=c?c==d-1?1:c/(d-1):0);var f=e.color;$.A(f)?e.color=$.Ha(f):$.z(f)&&(e.color=$.wl($.Dl(f).ck))}Sa(b);return b};
$.g.sj=function(a){if(0<arguments.length&&$.n(arguments[0])){var b=this.iga.apply(this,arguments),c=this.Ne&&b.length==this.Ne.length;if(c)for(var d=0,e=b.length;d<e;d++){var f=!1;(0,$.Qe)(this.Ne,function(a){f=f||$.Pc(a,b[d])});c=c&&f}c&&this.Ne||(this.Ne=b,this.ta(2));return this}return this.Ne};
$.g.yq=function(a){a=this.transform(a);for(var b,c,d=0,e=this.Ne.length;d<e;d++){var f=this.Ne[d];if(c)break;else a>=f.offset?b=f:c=f}var h;b?c?h=$.Cl(c.color,b.color,(a-b.offset)/(c.offset-b.offset)):h=b.color:h=c.color;return $.A(h)?$.Ub(h):h.color};
$.g.cR=function(a){this.ob();a=$.wl($.Dl(a).ck);var b;var c=0;for(b=this.Ne.length;c<b;c++){var d=this.Ne[c];var e=d.color;if(c!=this.Ne.length-1){var f=this.Ne[c+1];var h=f.color}var k=(a[1]-e[1])/(h[1]-e[1]);var l=(a[2]-e[2])/(h[2]-e[2]);var m=(a[0]-e[0])/(h[0]-e[0]);(0,window.isNaN)(m)&&(m=k||l);(0,window.isNaN)(k)&&(k=l||m);(0,window.isNaN)(l)&&(l=m||k);if($.Tm(m,k)&&$.Tm(m,l)&&$.Tm(k,l)&&(k=Math.round(h[1]*k+(1-k)*e[1])==a[1],l=Math.round(h[2]*l+(1-l)*e[2])==a[2],Math.round(h[0]*m+(1-m)*e[0])==
a[0]&&k&&l)){var p=this.qe*(m/(1/(f.offset-d.offset))+d.offset)+this.min;break}}return $.n(p)?p:window.NaN};$.g.Qa=function(a){this.jh||(this.jh=this.Xk(),$.W(this.jh,"ticks",this.jh));return $.n(a)?(this.jh.K(a),this.ta(2),this):this.jh};$.g.tb=function(a){this.li||(this.li=this.Xk(),$.W(this.jh,"minorTicks",this.li),this.li.count(5));return $.n(a)?(this.li.K(a),this.ta(2),this):this.li};
$.g.zI=function(){var a=this.Qa().UA(this.min,this.max,this.An&&this.min!=this.Ps,this.yn&&this.max!=this.tq,this.Zv);this.An&&(this.min=a[0]);this.yn&&(this.max=a[1]);this.tb().VA(this.Qa().Aj(),this.Zv,a[2],a[3],this.kx)};$.g.Dw=function(){$.Ry.u.Dw.call(this);Cs(this.wq,[this.min,this.max]);this.qe=this.max-this.min};$.g.Yh=function(a){$.X(a,2)&&(this.Gc=!1,this.ta(2))};$.g.Xk=function(){var a=new $.ut(this);$.L(a,this.Yh,this);return a};
$.g.F=function(){var a=$.Ry.u.F.call(this);a.ticks=this.Qa().F();a.minorTicks=this.tb().F();a.colors=(0,$.Wa)(this.sj(),function(a){return a.offset+" "+$.Ub(a.color)+($.n(a.opacity)?" "+a.opacity:"")});return a};$.g.X=function(a,b){$.Ry.u.X.call(this,a,b);this.Qa(a.ticks);this.tb(a.minorTicks);this.sj(a.colors)};$.g.R=function(){$.td(this.jh,this.li);this.li=this.jh=null;$.Ry.u.R.call(this)};var kG=$.Ry.prototype;$.F("anychart.scales.linearColor",$.Sy);kG.getType=kG.Na;kG.colors=kG.sj;
kG.valueToColor=kG.yq;kG.colorToValue=kG.cR;kG.ticks=kG.Qa;kG.minorTicks=kG.tb;$.H(Ty,$.At);Ty.prototype.RZ=function(){var a=[],b=this.scale.yy();b.length||(b=this.scale.Xq());if(b){var c;b=b.length-1;(0,window.isNaN)(this.LJ())?c=Math.ceil(b/this.UU())||1:c=this.LJ();for(var d=0;d<b;d+=c)a.push(d)}return a};
Ty.prototype.PU=function(a){var b=a.length||0,c=this.scale.Xq(),d=c.length-1;if(!b||!d)return[];for(var e=[],f=!1,h=0;h<b&&!f;h++){var k=a[h],l=a[h+1];(0,window.isNaN)(l)||l>=d?(l=d-1,f=!0):l--;var m=c[k].No;if($.da(m)){m=(c[k].start+c[k].end)/2;var p=(c[l].start+c[l].end)/2}else p=c[l].No;e.push(k==l?m:[m,p])}return e};$.H($.Uy,Ks);$.g=$.Uy.prototype;$.g.Na=function(){return"ordinal-color"};$.g.pM=function(){this.mp()};$.g.sj=function(a){if($.n(a))return null===a?this.Ne=[]:$.A(a)&&(this.Ne=$.Ha(a)),this.mp(),this.ta(2),this;if($.A(this.Ne)){this.KA||(this.KA=$.Ha(this.Ne));if(this.KA.length<this.ad.length)for(;this.KA.length!=this.ad.length;)this.KA.push(this.ad[this.KA.length]);return this.KA}return this.Mn||[]};
$.g.names=function(a){if($.n(a)){if(null===a)this.Bf=[];else if($.A(a))this.Bf=$.Ha(a);else{if(!$.z(a)||this.Bf==a)return this;this.Bf=a}this.mp();$.Bt(this.Qa());this.ta(4);return this}this.ob();if($.A(this.Bf)){this.Dn||(this.Dn=$.Ha(this.Bf));if(this.Dn.length<this.ek.length)for(;this.Dn.length!=this.ek.length;)this.Dn.push(this.ek[this.Dn.length]);return this.Dn}if(!this.uk){this.uk=[];a=0;for(var b=this.ek.length;a<b;a++){var c=this.ek[a],d;$.n(c.No)&&!$.da(c.No)?d=c.No:(0,window.isFinite)(c.start+
c.end)?c.start===c.end?d=c.start:d=c.start+" - "+c.end:d=!0===c.No?(0,window.isFinite)(c.start)?">= "+c.start:"<= "+c.end:(0,window.isFinite)(c.start)?"> "+c.start:"< "+c.end;d||(d="default");c.name||(c.name=d);this.uk.push(d)}}return this.uk};
$.g.yy=function(a){return $.n(a)?(this.ad!=a&&(this.ad=a,a=a[a.length-1],null===a.equal&&null===a.from&&null===a.to&&null===a.greater&&null===a.less||this.ad.push({equal:null,less:null,greater:null,from:null,to:null}),this.QU||(this.Mn=$.wm("defaultOrdinalColorScale").autoColors(this.ad.length-1),this.Mn.push("#000")),this.mp(),$.Bt(this.Qa()),this.ta(4)),this):this.ad};$.g.Xq=function(){this.ob();this.names();return this.ek};
$.g.pn=function(a){this.ob();var b=this.ek[this.ek.length-1];if(this.ek)for(var c=0;c<this.ek.length-1;c++){var d=this.ek[c];if(!0===d.No&&a>=d.start&&a<=d.end&&-1<d.sourceIndex||!1===d.No&&a>d.start&&a<d.end&&-1<d.sourceIndex||!1===d.No&&window.Infinity==Math.abs(a)&&(a==d.start||a==d.end)||d.No===a){b=d;break}}return b};$.g.yq=function(a){this.ob();var b="none";if(a=this.pn(a)){var c=a.sourceIndex;if(0<=c){var d=this.sj();$.n(a.color)?b=a.color:d&&0<d.length&&(b=c>d.length-1?d[d.length-1]:d[c])}}return b};
$.g.cR=function(a){this.ob();a=$.Dl(a).ck;for(var b=window.NaN,c=0,d=this.ek.length;c<d;c++){var e=this.ek[c],f=this.sj();if(a==$.Dl(e.color||f[e.sourceIndex]||f[f.length-1]).ck){b=(e.start+e.end)/2;break}}return b};$.g.Mx=function(a){this.ob();return(a=this.pn(a))?(0,$.za)(this.ek,a):-1};$.g.Qa=function(a){this.jh||(this.jh=this.Xk());return $.n(a)?(this.jh.K(a),this):this.jh};$.g.Yh=function(a){$.X(a,2)&&this.ta(2)};$.g.Xk=function(){var a=new Ty(this);$.W(a,"ticks",a);$.L(a,this.Yh,this);return a};
$.g.transform=function(a,b){this.ob();var c=this.pn(a);return c&&"default"!==c.name?1/(this.ek.length-1)*((0,$.za)(this.ek,c)+(b||0)):window.NaN};$.g.Fc=function(a){this.ob();a=this.ek[$.Za(Math.ceil(a*(this.ek.length-1))-1,0,this.ek.length-2)];return(a.start+a.end)/2};$.g.Hf=function(){return!!this.yy.length};$.g.XB=function(a){this.Gc=!1;a||this.ta(2);return!0};$.g.reset=function(){this.Dn=this.hx=this.uk=this.KA=this.ek=null;return this};$.g.mp=function(){this.reset();this.oa.length=0};
$.g.Uc=function(a){for(var b=0;b<arguments.length;b++)this.oa.push(arguments[b]);return this};
$.g.ob=function(){if(!this.ek){var a=[];if(!this.ad.length){this.hx=[];$.Ka(this.oa);var b=[],c=[];(0,$.Qe)(this.oa,function(a){var d=$.N(a);(0,window.isNaN)(a)?b.push({equal:a}):c.push(d)});$.Qa(c);var d=Math.round(1+3.32*Math.log(c.length)/Math.log(10));var e=Math.floor(c[0]);var f=(c[c.length-1]-e)/d;var h=e;var k=Math.ceil(h+f);for(e=0;e<d;e++)this.hx.push({from:h,to:k}),h=k,k=Math.ceil(h+f);this.hx=this.hx.concat(b);this.hx.length&&this.hx.push({equal:null,less:null,greater:null,from:null,to:null});
this.QU||(this.Mn=$.wm("defaultOrdinalColorScale").autoColors(this.hx.length-1))&&this.Mn.push("#000")}k=this.ad.length?this.ad:this.hx;e=0;for(d=k.length;e<d;e++){f=k[e];h=this.Bf?this.Bf[e]:null;var l=this.sj();var m=this.Uf()?Math.max(0,l.length-2-e):e;l=l&&l[m]?l[m]:null;m=!0;var p=e,q=f.equal,r=$.N(f.from),t=$.N(f.to),u=$.N(f.less),v=$.N(f.greater),w=window.NaN,x=window.NaN,y=!0;$.n(q)?$.da(q)?(y=q,(0,window.isNaN)(v))?(0,window.isNaN)(u)||(w=-window.Infinity,x=u):(w=v,x=window.Infinity):(r=
$.N(q),(0,window.isNaN)(r)?y=q:x=w=r):(0,window.isNaN)(r)||(0,window.isNaN)(t)?(0,window.isNaN)(v)?(0,window.isNaN)(u)?m=!1:(w=-window.Infinity,x=u):(w=v,x=window.Infinity):(w=Math.min(r,t),x=Math.max(r,t));m&&a.push({No:y,start:w,end:x,sourceIndex:p,enabled:!0,color:f.color||l,name:f.name||h})}Tca(a);h=[];e=0;for(d=a.length;e<d;e++)f=a[e],f.enabled&&h.push(f);a.length=0;this.ek=h}};
$.g.F=function(){var a=$.Uy.u.F.call(this);a.ticks=this.Qa().F();this.ad&&this.ad.length&&(a.ranges=this.ad);this.Bf&&(a.names=this.Bf);this.Ne&&(a.colors=this.Ne);return a};$.g.X=function(a,b){$.Uy.u.X.call(this,a,b);this.Qa(a.ticks);this.sj(a.colors);this.yy(a.ranges);this.names(a.names)};$.g.R=function(){$.qd(this.jh);this.jh=null;$.Uy.u.R.call(this)};var lG=$.Uy.prototype;$.F("anychart.scales.ordinalColor",$.Vy);lG.getType=lG.Na;lG.colors=lG.sj;lG.ranges=lG.yy;lG.names=lG.names;lG.ticks=lG.Qa;
lG.getRangeByValue=lG.pn;lG.getProcessedRanges=lG.Xq;lG.valueToColor=lG.yq;lG.colorToValue=lG.cR;lG.getIndexByValue=lG.Mx;lG.transform=lG.transform;lG.inverseTransform=lG.Fc;$.H($.Wy,$.Y);$.g=$.Wy.prototype;$.g.qa=$.Y.prototype.qa|98312;$.g.sa=$.Y.prototype.sa|80;$.g.i=$.Xq;$.g.fs=function(){return 1};$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(this.Y&&$.Zq(this.Y,this.Qc,this),(this.Y=a)&&$.L(this.Y,this.Qc,this)),this):this.Y};
$.g.Qc=function(a){var b=0,c=0;$.X(a,1)&&(b|=80,c|=1);$.X(a,32768)&&(b|=1,c|=1);$.X(a,65536)&&(b|=8,c|=1);this.Rb=null;this.B(b,c)};var eea=$.Wy.prototype,mG={};$.gq(mG,1,"stroke",$.Dq);$.gq(mG,1,"fill",$.Bq);$.gq(mG,0,"drawFirstLine",$.uq);$.gq(mG,0,"drawLastLine",$.uq);$.gq(mG,0,"isMinor",$.uq);eea.dz=mG;$.U($.Wy,$.Wy.prototype.dz);$.g=$.Wy.prototype;
$.g.enabled=function(a){return $.n(a)?(this.Ma.enabled!=a&&(this.Ma.enabled=a,this.B(1,this.Sq()),this.Ma.enabled?this.da(!0):(0,window.isNaN)(this.wo)&&$.V(this)),this):this.i("enabled")};$.g.zIndex=function(a){return $.n(a)?(a=+a||0,this.Ma.zIndex!=a&&(this.Ma.zIndex=a,this.B(8,65537)),this):$.n(this.dd("zIndex"))?this.dd("zIndex"):$.n(this.Mh)?this.Mh:this.i("zIndex")};
$.g.cc=function(a){this.Ea||this.Y&&!this.ma.palette||(Xy(this,this.ma.palette),$.W(this,"palette",this.Ea),this.Ea.oq(!1));return $.n(a)?(Xy(this,a),this.Ea.K(a),this):this.Ea};$.g.Ic=function(a){if(!$.K(this.Ea,a)){var b=!!this.Ea;$.qd(this.Ea);this.Ea=new a;$.L(this.Ea,this.If,this);b&&this.B(64,1)}};$.g.If=function(a){$.X(a,2)&&this.B(64,1)};$.g.Hb=function(){return"horizontal"==this.pe()};$.g.D0=function(a){a=a.orientation();return"left"==a||"right"==a?"horizontal":"vertical"};$.g.K2=function(a){return $.Ek(a)};
$.g.pe=function(a){return $.n(a)?(a=this.K2(a),this.f!=a&&(this.f=a,this.U=null,this.B(64,9)),this):this.f?this.f:this.b?this.D0(this.b):this.KK};$.g.scale=function(a){return $.n(a)?(Zy(this,!1,a),this):this.na?this.na:this.b?this.b.scale():this.U};$.g.kg=$.ia;$.g.axis=function(a){return $.n(a)?(this.b!=a&&(this.b&&$.Zq(this.b,this.HZ,this),this.b=a,$.L(this.b,this.HZ,this),this.B(64,9)),this):this.b};$.g.HZ=function(){this.B(80,9)};
$.g.wp=function(a,b,c,d){this.Ng||(this.Ng=new $.tu);return $.n(a)?(this.Ng.K.apply(this.Ng,arguments),this):this.Ng};$.g.LY=function(){var a=$.nk();a.parent(this.P()).zIndex(this.zIndex()).stroke("none");return a};$.g.sz=function(){$.Dc(this.D,function(a){a.clear()})};$.g.Gh=function(){return this.j=this.j?this.j:$.nk()};$.g.a_=function(){var a=this.scale();a||$.cl(2);return!!a};
$.g.uj=function(){var a=this.scale(),b=window.NaN,c=$.K(a,$.Ct),d=(c?a.Qa():this.i("isMinor")?a.tb():a.Qa()).get();var e=this.Hb()?[this.WF,this.TF]:[this.XF,this.UF];this.sz();this.Gh().clear();var f=this.ja()||$.gn(0,0,0,0),h=this.Hj&&this.Hj.vM(),k=$.Wo(this.i("stroke"));if(h){var l=this.Hj;this.Zh=l.Zh;this.zh=l.zh;f.top-=this.zh+k/2;f.height+=this.zh+k/2;f.width+=this.Zh}f=f.clone();f.height=$.R(f.height,1)+.5;f.width=$.R(f.width,1)+.5;this.Gh().clip(f);f=e[1];e=e[0];k=-this.Gh().Nk()%2/2;if(h&&
this.Hb()){var m=a.Uf()?1:0;e.call(this,m,k)}h=0;for(l=d.length;h<l;h++){var p=d[h];$.A(p)&&(p=p[0]);var q=c&&"continuous"==a.mode()?.5:0;m=a.transform(p,q);"log"==a.Na()&&(m=$.Qm(m,6));h&&(q=$.$y(this,h-1))&&f.call(this,m,b,q,k);h?h==l-1?(this.i("drawLastLine")||c)&&e.call(this,m,k):e.call(this,m,k):this.i("drawFirstLine")&&e.call(this,m,k);b=m}c&&$.n(p)&&(m=a.Uf()?0:1,this.i("drawLastLine")&&e.call(this,m,k),(q=$.$y(this,h-1))&&f.call(this,m,b,q,k))};$.g.wJ=function(){this.Gh().stroke(this.i("stroke"))};
$.g.Pu=$.ia;$.g.WJ=function(){var a=this.P();this.Gh().parent(a);$.Dc(this.D,function(b){b.parent(a)})};$.g.OB=function(){var a=this.zIndex();this.Gh().zIndex(a+.03);$.Dc(this.D,function(b){b.zIndex(a)})};$.g.$=function(){if(!this.a_()||!this.Bc())return this;this.Pu();this.J(16)&&(this.wJ(),this.I(16));this.J(68)&&(this.uj(),this.I(68));this.J(8)&&(this.OB(),this.I(8));this.J(2)&&(this.WJ(),this.I(2));return this};$.g.remove=function(){this.Gh().parent(null);$.Dc(this.D,function(a){a.parent(null)})};
$.g.F=function(){var a={};this.Ea&&(a.palette=this.Ea.F());var b=$.Yq.prototype.i.call(this,"zIndex");$.n(b)&&(a.zIndex=b);b=$.Yq.prototype.i.call(this,"enabled");a.enabled=$.n(b)?b:null;$.Hq(this,this.dz,a,"Map grids props");return a};$.g.X=function(a,b){if("axis"in a){var c=a.axis;$.ea(c)?this.Hj&&this.axis(this.Hj.jG(c)):$.K(c,$.Dy)&&this.axis(c)}a.palette&&this.cc(a.palette);b?$.yq(this.ma,this.dz,a):($.zq(this,this.dz,a),$.Wy.u.X.call(this,a))};
$.g.R=function(){this.Hj=this.b=null;for(var a in this.D)$.qd(this.D[a]);this.D=null;$.td(this.Ea,this.Ng,this.j);this.j=this.Ng=this.Ea=null;$.Wy.u.R.call(this)};var nG=$.Wy.prototype;nG.enabled=nG.enabled;nG.palette=nG.cc;$.H(az,$.Wy);$.g=az.prototype;$.g.kg=function(a){var b=0;$.X(a,4)&&(b|=4);$.X(a,2)&&(b|=1);this.B(20,b|8)};$.g.WF=function(a){var b=this.ja()||$.gn(0,0,0,0);a=b.Ua()-a*b.height;a=$.R(a,this.Gh().Nk());this.j.moveTo(b.qb(),a);this.j.lineTo(b.$a(),a)};$.g.XF=function(a){var b=this.ja()||$.gn(0,0,0,0);a=b.qb()+a*b.width;var c=this.Gh().Nk();a=$.R(a,c);this.j.moveTo(a,b.Ua());this.j.lineTo(a,b.bc())};
$.g.TF=function(a,b,c){if(!(0,window.isNaN)(b)){var d=this.ja()||$.gn(0,0,0,0),e=this.Gh().Nk();b=d.Ua()-b*d.height;b=$.R(b,e);a=d.Ua()-a*d.height;a=$.R(a,e);c.moveTo(d.qb(),b);c.lineTo(d.$a(),b);c.lineTo(d.$a(),a);c.lineTo(d.qb(),a);c.close()}};$.g.UF=function(a,b,c){if(!(0,window.isNaN)(b)){var d=this.ja()||$.gn(0,0,0,0),e=this.Gh().Nk();b=d.qb()+b*d.width;b=$.R(b,e);a=d.qb()+a*d.width;a=$.R(a,e);c.moveTo(b,d.bc());c.lineTo(a,d.bc());c.lineTo(a,d.Ua());c.lineTo(b,d.Ua());c.close()}};$.H(bz,az);
$.ju(bz,az);var oG=az.prototype;oG.isHorizontal=oG.Hb;oG.scale=oG.scale;oG.axis=oG.axis;oG=bz.prototype;$.F("anychart.standalones.grids.linear",function(){var a=new bz;a.K($.mm("standalones.linearGrid"));return a});oG.layout=oG.pe;oG.draw=oG.$;oG.parentBounds=oG.ja;oG.container=oG.P;$.H(dz,$.qf);$.cz=0;$.g=dz.prototype;$.g.jw=function(){this.Io("begin")};$.g.Nl=function(){this.Io("end")};$.g.wD=function(){this.Io("finish")};$.g.hN=function(){this.Io("play")};$.g.Io=function(a){this.dispatchEvent(a)};var ez={},fz=null;$.H($.iz,dz);$.g=$.iz.prototype;$.g.play=function(a){if(a||this.Xb==$.cz)this.Ed=0,this.coords=this.b;else if(1==this.Xb)return!1;$.gz(this);this.j=a=(0,$.Fn)();-1==this.Xb&&(this.j-=this.duration*this.Ed);this.D=this.j+this.duration;this.Ed||this.jw();this.hN();-1==this.Xb&&this.Io("resume");this.Xb=1;var b=$.oa(this);b in ez||(ez[b]=this);hz();this.HF(a);return!0};$.g.stop=function(a){$.gz(this);this.Xb=$.cz;a&&(this.Ed=1);jz(this,this.Ed);this.Io("stop");this.Nl()};
$.g.R=function(){this.Xb==$.cz||this.stop(!1);this.Io("destroy");$.iz.u.R.call(this)};$.g.HF=function(a){a<this.j&&(this.D=a+this.D-this.j,this.j=a);this.Ed=(a-this.j)/(this.D-this.j);1<this.Ed&&(this.Ed=1);jz(this,this.Ed);1==this.Ed?(this.Xb=$.cz,$.gz(this),this.wD(),this.Nl()):1==this.Xb&&this.Qm()};$.g.Qm=function(){this.Io("animate")};$.g.Io=function(a){this.dispatchEvent(new kz(a,this))};$.H(kz,ud);$.H(lz,dz);lz.prototype.add=function(a){$.Aa(this.$b,a)||(this.$b.push(a),$.Id(a,"finish",this.f,!1,this))};lz.prototype.remove=function(a){$.Fa(this.$b,a)&&$.Sd(a,"finish",this.f,!1,this)};lz.prototype.R=function(){(0,$.Qe)(this.$b,function(a){a.cd()});this.$b.length=0;lz.u.R.call(this)};$.H(mz,lz);
mz.prototype.play=function(a){if(0==this.$b.length)return!1;if(a||this.Xb==$.cz)this.b=0,this.jw();else if(1==this.Xb)return!1;this.hN();-1==this.Xb&&this.Io("resume");var b=-1==this.Xb&&!a;this.j=(0,$.Fn)();this.D=null;this.Xb=1;(0,$.Qe)(this.$b,function(c){b&&-1!=c.Xb||c.play(a)});return!0};mz.prototype.stop=function(a){(0,$.Qe)(this.$b,function(b){b.Xb==$.cz||b.stop(a)});this.Xb=$.cz;this.D=(0,$.Fn)();this.Io("stop");this.Nl()};
mz.prototype.f=function(){this.b++;this.b==this.$b.length&&(this.D=(0,$.Fn)(),this.Xb=$.cz,this.wD(),this.Nl())};$.H(nz,lz);nz.prototype.play=function(a){if(0==this.$b.length)return!1;if(a||this.Xb==$.cz)this.b<this.$b.length&&this.$b[this.b].Xb!=$.cz&&this.$b[this.b].stop(!1),this.b=0,this.jw();else if(1==this.Xb)return!1;this.hN();-1==this.Xb&&this.Io("resume");this.j=(0,$.Fn)();this.D=null;this.Xb=1;this.$b[this.b].play(a);return!0};
nz.prototype.stop=function(a){this.Xb=$.cz;this.D=(0,$.Fn)();if(a)for(a=this.b;a<this.$b.length;++a){var b=this.$b[a];b.Xb==$.cz&&b.play();b.Xb==$.cz||b.stop(!0)}else this.b<this.$b.length&&this.$b[this.b].stop(!1);this.Io("stop");this.Nl()};nz.prototype.f=function(){1==this.Xb&&(this.b++,this.b<this.$b.length?this.$b[this.b].play():(this.D=(0,$.Fn)(),this.Xb=$.cz,this.wD(),this.Nl()))};$.H(oz,mz);oz.prototype.update=function(){for(var a=(0,$.Fn)(),b=0;b<this.$b.length;b++){var c=this.$b[b];c.update();c.HF(a)}};$.H($.pz,$.iz);$.pz.prototype.update=function(){};$.pz.prototype.hN=function(){this.update()};$.pz.prototype.R=function(){$.pz.u.R.call(this);this.W=null};$.H(qz,$.pz);qz.prototype.update=function(){this.b.length=this.f.length=0;for(var a=this.W.Qf();a.advance();)if(!a.o("missing")){(0,window.isNaN)(a.o("destinationValue"))&&a.o("destinationValue",a.o("size"));var b=a.o("destinationValue");this.b.push(0>b?-1E-5:0);this.f.push(b);b=a.o("x");var c=a.o("value"),d;if(d=a.o("label"))d=d.uc().value,this.b.push(b,c),this.f.push(d.x,d.y);if(d=a.o("marker"))d=d.uc().value,this.b.push(b,c),this.f.push(d.x,d.y)}};
qz.prototype.Qm=function(){for(var a=this.W.Qf(),b=0;a.advance();)if(!a.o("missing")){a.o("size",this.coords[b++]);this.W.Se.bt(a);var c=a.o("label");c&&(c.uc({value:{x:this.coords[b++],y:this.coords[b++]}}),c.$());if(c=a.o("marker"))c.uc({value:{x:this.coords[b++],y:this.coords[b++]}}),c.$()}};qz.prototype.Nl=function(){this.Qm()};$.H(rz,$.pz);rz.prototype.update=function(){this.g=cB(this.W);this.za=this.W.i("isVertical");var a=this.W.clip();$.da(a)&&!a&&(this.g=this.W.mc().lb());this.za?(this.b[0]=this.g.top,this.W.Va().Uf()||(this.b[0]+=this.g.height),this.b[1]=0,(0,window.isNaN)(this.G)&&(this.G=this.g.height),this.f[0]=this.g.top):(this.b[0]=this.g.left,this.W.Va().Uf()&&(this.b[0]+=this.g.width),this.b[1]=0,(0,window.isNaN)(this.G)&&(this.G=this.g.width),this.f[0]=this.g.left);this.f[1]=this.G};
rz.prototype.Qm=function(){this.za?(this.g.top=this.coords[0],this.g.height=this.coords[1]):(this.g.left=this.coords[0],this.g.width=this.coords[1]);this.W.Ir(this.g)};rz.prototype.Nl=function(){this.za?(this.g.top=this.coords[0],this.g.height=this.coords[1]):(this.g.left=this.coords[0],this.g.width=this.coords[1]);this.W.Ir(this.g);this.G=window.NaN};$.H(sz,$.pz);
sz.prototype.update=function(){this.g=this.W.i("isVertical");this.b.length=this.f.length=0;for(var a=this.W.Qf();a.advance();)if(!a.o("missing")){var b=a.o("x");(0,window.isNaN)(a.o("destinationValue"))&&a.o("destinationValue",a.o("value"));var c=a.o("destinationValue"),d=a.o("zero");this.b.push(d);this.f.push(c);if(c=a.o("label"))c=c.uc().value,this.g?this.b.push(d,b):this.b.push(b,d),this.f.push(c.x,c.y);if(c=a.o("marker"))c=c.uc().value,this.g?this.b.push(d,b):this.b.push(b,d),this.f.push(c.x,c.y)}};
sz.prototype.Qm=function(){for(var a=this.W.Qf(),b=0;a.advance();)if(!a.o("missing")){a.o("value",this.coords[b++]);this.W.Se.bt(a);var c=a.o("label");c&&(c.uc({value:{x:this.coords[b++],y:this.coords[b++]}}),c.$());if(c=a.o("marker"))c.uc({value:{x:this.coords[b++],y:this.coords[b++]}}),c.$()}};sz.prototype.Nl=function(){this.Qm()};var pG={};pG.bar=sz;pG.bubble=qz;pG.area=rz;pG.line=rz;pG["range-area"]=rz;pG["range-spline-area"]=rz;pG["range-step-area"]=rz;pG.spline=rz;pG["spline-area"]=rz;pG["step-area"]=rz;pG["step-line"]=rz;pG.column=sz;pG["jump-line"]=sz;pG.stick=sz;pG.mekko=sz;$.H($.vz,$.Yq);$.Yq.prototype.O0=function(a,b){if(!$.n(this.fB[a])){a=$.om(a);var c=$.fr(this);this.fB[a]=$.gr(c,"base");if(!b)for(var d=0;d<this.bX.length;d++)-1!=(0,$.za)(this.bX[d].Sj,a)&&(this.fB[a]=$.Ga(this.fB[a],$.gr(c,this.bX[d].DO)));this.fB[a]=$.Ga(this.fB[a],$.gr(c,a))}return this.fB[a]};$.H($.wz,$.Y);$.uz($.wz,"dataarea","appearance");$.g=$.wz.prototype;$.g.qa=$.Y.prototype.qa;$.g.background=function(a){this.Ka||(this.Ka=new $.ku,$.L(this.Ka,this.gg,this),$.W(this,"background",this.Ka));return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.gg=function(){$.br(this,"dataarea","appearance",1)};$.g.remove=function(){this.va&&this.va.parent(null)};$.g.Ir=function(a){this.va&&this.va.clip(a)};
$.g.$=function(){if(!this.Bc())return this;this.va||(this.va=$.lk());this.J(8)&&(this.va.zIndex(this.zIndex()),this.I(8));this.J(2)&&(this.va.parent(this.P()),this.I(2));this.J(4)&&($.br(this,"dataarea","appearance"),this.I(4));if($.er(this,"dataarea","appearance")){var a=$.jr(this,"background");a&&($.V(a),a.P()||a.P(this.va),a.ja(this.ja()),a.da(!1),a.$());$.dr(this,"dataarea","appearance")}return this};$.g.F=function(){var a=$.wz.u.F.call(this);a.background=this.background().F();return a};
$.g.X=function(a,b){$.wz.u.X.call(this,a,b);this.background().ia(!!b,a.background)};$.g.R=function(){$.td(this.Ka);this.Ka=null;$.wz.u.R.call(this)};var qG=$.wz.prototype;qG.background=qG.background;$.H($.xz,$.ox);$.uz($.xz,"serieschart","dataarea");$.xz.prototype.sa=$.ox.prototype.sa|61440;$.xz.prototype.Oi={};$.xz.prototype.Sr=function(a){this.Bi||(this.Bi=new $.vz,$.W(this,"defaultSeriesSettings",this.Bi));return $.n(a)?(this.Bi.ma=a,this):this.Bi};$.xz.prototype.zs=function(a){return String(a)};
var rG=function(){var a={};$.hq(a,[[0,"defaultSeriesType",function(a){return this.zs(a)}],[0,"maxBubbleSize",$.lq],[0,"minBubbleSize",$.lq],[0,"pointWidth",$.so],[0,"maxPointWidth",$.so],[0,"minPointLength",$.so],[0,"baseline",$.qq]]);return a}();$.U($.xz,rG);$.g=$.xz.prototype;$.g.tv=function(a){a=this.zs(a);var b=this.Oi[a];b&&b.Ab in $.sG?a=[a,b]:($.cl(4,null,[a+" series"]),a=null);return a};$.g.BL=function(a){return a.check(32768)?31:30};
$.g.DW=function(a){var b=this.fb[this.fb.length-1];b=b?b.mh()+1:0;this.fb.push(a);a.mh(b);$.RA(a);a.sq(this.cc().nc(b));$.UA(a,this.sf().nc(b));a.Cw(this.oe().nc(b));a.ib(this);$.L(a,this.XD,this)};$.g.te=function(a,b,c){var d=this.tv(a);d?(a=d[0],a=this.kt(a,d[1]),a.data(b,c),this.DW(a),this.B((a.check($.bB)?4:0)|492288,1)):a=null;return a};
$.g.Rk=function(a){var b=[],c=this.i("defaultSeriesType"),d=arguments.length;$.V(this);if(d)for(var e=0;e<d;e++)b.push(this.te(c,arguments[e]));else b.push(this.te(c,null));this.da(!0);return b};$.g.Qx=function(a){return $.xa(this.fb,function(b){return b.id()==a})};$.g.Ue=function(a){return this.Nh(this.Qx(a))};$.g.Nh=function(a){return this.fb[a]||null};$.g.Mj=function(){return this.fb.length};$.g.mo=function(a){return this.Cn(this.Qx(a))};
$.g.Cn=function(a){var b=this.fb[a];b&&($.Fp++,$.V(this),$.Ca(this.fb,a,1),$.qd(b),this.B(492304,1),this.da(!0),$.Ip());return this};$.g.kp=function(){if(this.fb.length){$.Fp++;$.V(this);var a=this.fb;this.fb=[];$.td(a);this.B(492304,1);this.da(!0);this.Sl=this.jl=null;this.ac("mousemove",this.ZI);$.Ip()}return this};
$.g.XD=function(a){var b=0;$.X(a,32768)&&(b|=256);$.X(a,1)&&(b=32768);$.X(a,2048)&&(b=32);$.X(a,16)&&(b|=256,"categories"==this.Gf().i("itemsSourceMode")&&(b|=512),this.iA());$.X(a,4)&&(b|=458752);$.X(a,64)&&(b|=512,$.X(a,8)&&(b|=4));this.B(b,1)};$.g.Te=function(){return this.fb};$.g.ay=function(){for(var a=this.fb.length;a--;)this.fb[a].Yo()&&this.fb[a].B(1024)};$.g.D1=function(){for(var a=this.fb.length;a--;)this.fb[a].hk()&&this.fb[a].B(1028)};$.g.za=function(a){return $.n(a)?this:!1};$.g.Va=function(){};
$.g.JV=function(){};$.g.SR=function(){};$.g.Cu=function(){return!0};$.g.Bha=function(a){for(var b=0;b<this.fb.length;b++){var c=this.fb[b];c&&c.SD();a||c.B(1024)}};$.g.IA=function(a){for(var b=0;b<this.fb.length;b++){var c=this.fb[b];c&&c.SD()}a||this.ay()};$.g.cc=function(a){if($.K(a,$.ys))return this.Ic($.ys,a),this;if($.K(a,$.vs))return this.Ic($.vs,a),this;$.D(a)&&"range"==a.type?this.Ic($.ys):($.D(a)||null==this.Ea)&&this.Ic($.vs);return $.n(a)?(this.Ea.K(a),this):this.Ea};
$.g.sf=function(a){this.Be||(this.Be=new $.xs,$.L(this.Be,this.HH,this),$.W(this,"markerPalette",this.Be));return $.n(a)?(this.Be.K(a),this):this.Be};$.g.oe=function(a){this.Yc||(this.Yc=new $.ws,$.L(this.Yc,this.TG,this),$.W(this,"hatchFillPalette",this.Yc));return $.n(a)?(this.Yc.K(a),this):this.Yc};
$.g.Ic=function(a,b){if($.K(this.Ea,a))b&&this.Ea.K(b);else{var c=!!this.Ea;$.qd(this.Ea);this.Ea=new a;$.W(this,"palette",this.Ea);this.Ea.oq();b&&this.Ea.K(b);$.L(this.Ea,this.If,this);c&&this.B(4608,1)}};$.g.If=function(a){$.X(a,2)&&this.B(4608,1)};$.g.HH=function(a){$.X(a,2)&&this.B(8704,1)};$.g.TG=function(a){$.X(a,2)&&this.B(16896,1)};$.g.labels=function(a){return $.n(a)?(this.ca.labels(a),this):this.ca.labels()};$.g.gh=function(a){return $.n(a)?(this.ca.gh(a),this):this.ca.gh()};
$.g.fh=function(a){return $.n(a)?(this.ca.fh(a),this):this.ca.fh()};$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};$.g.Zd=function(a){if($.X(a,1)){this.Sa().labels().I(4294967295);this.Sa().gh().I(4294967295);this.Sa().fh().I(4294967295);for(a=this.fb.length;a--;){var b=this.fb[a];b.check($.tG)&&b.B(256)}this.B(32768,1)}};
var fea={bar:["value"],line:["value"],polyline:["value"],area:["value"],polygon:["value"],column:["value"],spline:["value"],marker:["value"],"step-area":["value"],"step-line:":["value"],"spline-area":["value"],"jump-line":["value"],stick:["value"],mekko:["value"],bubble:["value","size"],"range-bar":["high","low"],"range-area":["high","low"],"range-column":["high","low"],"range-step-area":["high","low"],"range-spline-area":["high","low"],ohlc:["open","high","low","close"],candlestick:["open","high",
"low","close"],box:["lowest","q1","median","q3","highest"],connector:["points"],choropleth:["id","value"],"marker-map":["id","long","lat"],"bubble-map":["id","long","lat","size"],hilo:["high","low"],waterfall:["value"],moment:["value"],range:["start","end"]};$.g=$.xz.prototype;
$.g.data=function(a){if($.n(a)){var b=null;if(a){var c=a.title||a.caption;c&&this.title(c);a.header&&a.header.length&&(b=a.header);a.rows?this.jg=a.rows:this.jg=a}else this.jg=a;$.K(a,$.zr)||(a=$.Br(this.jg),$.sd(this,a));var d=a.hf(0);c=1;var e=null;$.A(d)?c=d.length:$.D(d)&&(e=$.Gc(d),c=e.length);var f=this.Mj(),h=1;d=0;$.V(this);for(var k=0;k<f;k++){var l=this.Nh(d);var m=l.ue();var p=h+m.length;p<=c?(h=Dr(a,h,p,m,e),l.data(h),b&&l.name(b[d+1]),h=p):(l=l.id(),this.mo(l),d--);d++}f=this.i("defaultSeriesType");
m=fea[f];do if(p=h+m.length,p<=c)h=Dr(a,h,p,m,e),l=this.Rk(h)[0],b&&l.name(b[d+1]),d++,h=p;else break;while(h<=c);this.B(256);this.da(!0);return this}return this.jg};$.g.iA=function(){};
$.g.Pu=function(){if(!this.ef()&&($.K(this.Ea,$.ys)&&$.zs(this.Ea,this.Te().length),this.J(28672))){$.kr(this.fb);var a=0;this.J(20480)&&(a|=2048);this.J(8192)&&(a|=128);for(var b=this.fb.length;b--;){var c=this.fb[b],d=c.mh();c.sq(this.cc().nc(d));$.UA(c,this.sf().nc(d));c.Cw(this.oe().nc(d));c.B(a)}this.B(32768);this.I(28672);$.mr(this.fb)}};$.g.u4=function(a,b,c,d,e){a.wp(b||0,c||0,d||0,e||0)};$.g.PZ=function(){this.JV();this.SR();$.zz(this)};$.g.PP=function(){};
$.g.J_=function(){for(var a=0;a<this.fb.length;a++)this.fb[a].$()};$.g.$u=function(a){this.fn||(this.fn=new $.wz,$.L(this.fn,this.AR,this),$.W(this,"dataArea",this.fn));return $.n(a)?(this.fn.K(a),this):this.fn};$.g.AR=function(a){$.X(a,1)&&$.br(this,"serieschart","dataarea",1)};$.g.iE=function(a){$.xz.u.iE.call(this,a);if($.er(this,"serieschart","dataarea")){var b=$.jr(this,"dataArea");b&&($.V(b),b.P()||b.P(this.La),b.ja(a),b.da(!1),b.$());$.dr(this,"serieschart","dataarea")}};
$.g.By=function(a){$.V(this);$.xz.u.By.call(this,a);$.br(this,"serieschart","dataarea",9);this.da(!0)};$.g.xV=function(a){$.X(a,8)&&$.br(this,"serieschart","dataarea");$.xz.u.xV.call(this,a)};$.g.zV=function(a){$.X(a,8)&&$.br(this,"serieschart","dataarea");$.xz.u.zV.call(this,a)};
$.g.bm=function(a,b){var c,d=[];this.ob();if(this.Cu()&&"categories"==a&&$.K(this.Va(),$.Ct)){var e=this.Va().names();if($.E(b)){var f=this.Va().values();var h=0;for(c=f.length;h<c;h++){var k={value:f[h],name:e[h]};k=b.call(k,k);$.z(k)||(k=String(e[h]));d.push({text:k,iconEnabled:!1,sourceUid:$.oa(this),sourceKey:h})}}else for(h=0,c=e.length;h<c;h++)d.push({text:String(e[h]),iconEnabled:!1,sourceUid:$.oa(this),sourceKey:h})}else for(h=0,c=this.fb.length;h<c;h++)e=this.fb[h],f=e.LC(b),f.sourceUid=
$.oa(this),f.sourceKey=e.id(),d.push(f);return d};$.g.yM=function(a){var b=a.enabled(),c=a.Am||[],d=!0;(a=a.data()?a.data().Gb():0)&&a!=c.length||(d=!1);return b&&d};$.g.Ej=function(){for(var a=0,b=this.fb.length,c=0;c<b&&!this.yM(this.fb[c]);c++)a++;return a==b};
$.g.X=function(a,b){$.xz.u.X.call(this,a,b);$.zq(this,rG,a,b);this.cc(a.palette);this.sf(a.markerPalette);this.oe(a.hatchFillPalette);a.dataArea&&this.$u().ia(!!b,a.dataArea);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected)};$.g.ld=function(){this.ca.Fa(this.ma);$.W(this,"normal",this.ca);this.ca.ia(!0,{});$.W(this,"hovered",this.xa);this.xa.ia(!0,{});$.W(this,"selected",this.Ca);this.Ca.ia(!0,{})};
$.g.F=function(){var a=$.xz.u.F.call(this);$.Hq(this,rG,a);a.palette=this.cc().F();a.markerPalette=this.sf().F();a.hatchFillPalette=this.oe().F();this.fn&&(a.dataArea=this.$u().F());a.normal=this.Sa().F();a.hovered=this.mb().F();a.selected=this.selected().F();return a};$.g.R=function(){$.V(this);this.kp();this.da(!1);$.td(this.Ea,this.Be,this.Yc,this.fn,this.Bi,this.ca,this.xa,this.Ca);this.Ca=this.xa=this.ca=this.Bi=this.fn=this.Yc=this.Be=this.Ea=null;$.xz.u.R.call(this)};var uG=$.xz.prototype;
uG.labels=uG.labels;uG.minLabels=uG.gh;uG.maxLabels=uG.fh;uG.normal=uG.Sa;uG.hovered=uG.mb;uG.selected=uG.selected;uG.isVertical=uG.za;uG.dataArea=uG.$u;$.H($.Bz,$.xz);$.Bz.prototype.sa=$.xz.prototype.sa|2031616;var vG={};$.gq(vG,0,"barGroupsPadding",$.N);$.gq(vG,0,"barsPadding",$.N);$.U($.Bz,vG);$.g=$.Bz.prototype;$.g.J_=function(){for(var a="direct"==this.bb().Iw(),b=0;b<this.fb.length;b++)this.fb[a?this.fb.length-b-1:b].$()};$.g.Rx=function(){return null};$.g.Tx=function(){return null};$.g.Cu=function(){return!0};$.g.jT=function(){return"ordinal"};$.g.Zz=function(){return 15};$.g.RC=function(){return["Chart scale","ordinal, linear, log, date-time"]};
$.g.FG=function(){return"linear"};$.g.EG=function(){return this.Zz()};$.g.TL=function(){return this.RC()};$.g.zG=function(){return 0};$.g.eU=function(){};
$.g.Va=function(a){if($.n(a)){if(a=$.Xs(this.cb,a,this.jT(),this.Zz(),this.RC(),this.u5,this)){var b=this.cb==a;this.lga=this.cb?String($.oa(this.cb)):null;this.cb=a;a.da(b);b||(a=131072,this.Cu()&&"categories"==this.Gf().i("itemsSourceMode")&&(a|=512),a|=this.zG(),this.B(a,1),this.eU(this.cb))}return this}this.cb||(this.cb=$.Xs(this.cb,{},this.jT(),this.Zz(),null,this.u5,this),this.cb.da(!1));return this.cb};
$.g.u5=function(a){$.V(this);if($.X(a,4)){var b=458752;this.Cu()&&"categories"==this.Gf().i("itemsSourceMode")&&(b|=512);this.B(b,1)}$.X(a,2)&&$.Cz(this,this.cb);this.da(!0)};
$.g.bb=function(a){if($.n(a)){if(a=$.Xs(this.wc,a,this.FG(),this.EG(),this.TL(),this.Vy,this)){var b=this.wc==a;this.mga=this.wc?String($.oa(this.wc)):null;this.wc=a;this.wc.da(b);b||(this.B(131072|this.zG(),1),this.eU(this.wc))}return this}this.wc||(this.wc=$.Xs(this.wc,{},this.FG(),this.EG(),null,this.Vy,this),this.wc.da(!1));return this.wc};$.g.Vy=function(a){$.V(this);$.X(a,4)&&this.B(458752,1);$.X(a,2)&&$.Cz(this,this.wc);this.da(!0)};$.g.uj=function(){this.ef(1572864)||$.Bz.u.uj.call(this)};
$.g.ob=function(){$.V(this);Dz(this);this.Bo?(Wca(this),this.zQ(),Xca(this),this.AQ()):(this.UQ(),this.xZ());this.da(!1)};$.g.xZ=function(){};$.g.JQ=function(a,b,c,d){b=b[0];if(c){var e={};var f=[];for(c=0;c<b.data.length;c++)if(!(c in d)){var h=b.data[c].data.x;e[$.ko(h)]=f.length;f.push(h)}}else e=b.Tw,f=b.$O;a.nB=e;a.Vg=f};
$.g.qS=function(a,b){var c,d,e,f=$.Ft(a);if(f){var h=b[0].$O.length,k=Array(h);for(c=0;c<b.length;c++){var l=b[c].data;if(0<h)for(d=0;d<l.length;d++)!$.n(k[d])&&$.n(e=l[d].data[f])&&(k[d]=e,h--)}a.uk=k}};$.g.GG=function(a){return a.Um()};$.g.Vr=function(a,b){a.Uc(b)};$.g.L0=function(a){return+a.data.value};$.g.k3=function(){};
$.g.UQ=function(){if(this.J(327680)){$.kr(this.fb);var a,b,c,d=this.fb.length;this.$j.length=0;this.Lo={};for(b in this.Xl){var e=this.Xl[b];e.Hf()&&e.tg()}for(b in this.an){var f=this.an[b];f.Hf()&&f.tg()}for(a=0;a<d;a++)if((c=this.fb[a])&&c.enabled()){e=c.Va();f=c.bb();var h=$.K(e,$.Ct)?Ez(c,{},[],!1,!0):$.Fz(c,!1,$.K(e,$.$s));h.Wt=window.Infinity;h.Vt=-window.Infinity;c=h.W;var k=c.Am||[];if(k.length)for(b=0;b<k.length;b++){var l=h.data[k[b]].o;l.missing=(Number(l.missing)||0)|(Number(Hz)||0)}b=
Jz(c)&&(h.IT||Lz(h.W.error()));k=c.vc();for(l=c.ue();k.advance();)if(!Iz(k.o("missing"),Kz))if(c=k.get("x"),e.Uc(c),b){var m=h.W.error().bs(!0);c=$.N(c);e.Uc(c-m[0],c+m[1]);m=h.W.error().bs(!1);c=$.N(k.get("value"));f.Uc(c-m[0],c+m[1]);h.Wt>c&&(h.Wt=c);h.Vt<c&&(h.Vt=c)}else for(m=0;m<l.length;m++)c=k.get(l[m]),f.Uc(c),c=$.N(c),(0,window.isNaN)(c)||(h.Wt>c&&(h.Wt=c),h.Vt<c&&(h.Vt=c));h.Ei=0;h.lastIndex=h.data.length;b=$.oa(e);(e=this.Lo[b])||(this.Lo[b]=e=[]);e.push(h);this.$j.push(h)}this.RQ();this.SQ();
for(b in this.Xl)e=this.Xl[b],e.Hf()&&e.Cg();for(b in this.an)f=this.an[b],f.Hf()&&f.Cg();this.B(1572864);$.mr(this.fb);this.I(327680)}};$.g.RQ=function(){};$.g.SQ=function(){};$.g.Sx=function(){this.ob();return Mz(this.Xl)};$.g.Ux=function(){this.ob();return Mz(this.an)};
$.g.Pn=function(){if(this.J(524288)){this.oI();var a=0,b=0,c=-window.Infinity,d=window.Infinity,e=-window.Infinity,f=window.Infinity,h=0,k=-window.Infinity,l=window.Infinity,m=-window.Infinity,p=window.Infinity,q=0,r=-window.Infinity,t=window.Infinity,u=!1,v;for(v in this.Lo){var w=this.Lo[v];if(this.Bo){var x=w[0].data.length;var y=Array(x);for(var B=0;B<x;B++)y[B]=[]}for(var G,C,I,P,Q=0;Q<w.length;Q++)if(G=w[Q],(C=G.W)&&C.enabled()){var S=C.name(),sa=[],va=[],Oa=[];I=C.check($.Yl|$.wG);(P=C.hk())&&
(u=!0);var vb=0,mc=window.Infinity,kb=-window.Infinity,Qb=0,Gb=window.Infinity,ic=-window.Infinity,ie=window.Infinity,Rb=-window.Infinity,Fc=0,Wb=window.Infinity,Ie=-window.Infinity,dd=0;for(B=0;B<G.data.length;B++){var Lc=G.data[B];Iz(Lc.o.missing,hB)||vb++;if(!Iz(Lc.o.missing,Kz)){if(I){var hb=$.N(Lc.data.open);(0,window.isNaN)(hb)||(kb=Math.max(hb,kb),mc=Math.min(hb,mc));hb=$.N(Lc.data.close);(0,window.isNaN)(hb)||(kb=Math.max(hb,kb),mc=Math.min(hb,mc));hb=$.N(Lc.data.high);var zc=$.N(Lc.data.low);
kb=Math.max(hb,zc,kb);mc=Math.min(hb,zc,mc);hb-=zc;ic=Math.max(hb,ic);Gb=Math.min(hb,Gb)}else P&&(hb=$.N(Lc.data.size),Ie=Math.max(hb,Ie),Wb=Math.min(hb,Wb),dd+=hb,Oa.push(hb)),hb="heat-map"==this.Na()?"heat":"value",hb=$.N(Lc.data[hb]),kb=Math.max(hb,kb),mc=Math.min(hb,mc);Qb+=hb;sa.push(hb);this.Bo?y[B].push(hb):(hb=$.N(Lc.data.x),Rb=Math.max(hb,Rb),ie=Math.min(hb,ie),Fc+=hb,va.push(hb))}}a+=vb;b+=Qb;if(kb>c){c=kb;var Je=S}if(mc<d){d=mc;var nh=S}if(Qb>e){e=Qb;var je=S}if(Qb<f){f=Qb;var oh=S}h+=
Fc;if(Rb>k){k=Rb;var ve=S}if(ie<l){l=ie;var Yd=S}if(Fc>m){m=Fc;var we=S}if(Fc<p){p=Fc;var af=S}B=vb?Qb/vb:0;C.Ia("seriesSum",Qb);C.Ia("seriesMin",mc);C.Ia("seriesMax",kb);C.Ia("seriesAverage",B);C.Ia("seriesPointsCount",vb);C.Ia("seriesPointCount",vb);C.Ia("sum",Qb);C.Ia("max",kb);C.Ia("min",mc);C.Ia("average",B);C.Ia("pointsCount",vb);I?(C.Ia("seriesYRangeMax",ic),C.Ia("seriesYRangeMin",Gb),C.Ia("seriesYRangeSum",Qb),C.Ia("seriesYRangeAverage",B),C.Ia("seriesYRangeMode",Xm(sa)),C.Ia("seriesYRangeMedian",
Wm(sa))):(P&&(C.Ia("seriesBubbleMaxSize",Ie),C.Ia("seriesBubbleMinSize",Wb),C.Ia("seriesBubbleSizeSum",dd),C.Ia("seriesBubbleSizeAverage",vb?dd/vb:0),C.Ia("seriesBubbleSizeMode",Xm(Oa)),C.Ia("seriesBubbleSizeMedian",Wm(Oa)),q+=dd,r=Math.max(r,Ie),t=Math.min(t,Wb)),C.Ia("seriesYMax",kb),C.Ia("seriesYMin",mc),C.Ia("seriesYSum",Qb),C.Ia("seriesFirstYValue",sa[0]),C.Ia("seriesLastYValue",sa[sa.length-1]),C.Ia("seriesYAverage",B),C.Ia("seriesYMode",Xm(sa)),C.Ia("seriesYMedian",Wm(sa)));this.Bo||(C.Ia("seriesXMax",
Rb),C.Ia("seriesXMin",ie),C.Ia("seriesXSum",Fc),C.Ia("seriesFirstXValue",va[0]),C.Ia("seriesLastXValue",va[sa.length-1]),C.Ia("seriesXAverage",vb?Fc/vb:0),C.Ia("seriesXMode",Xm(va)),C.Ia("seriesXMedian",Wm(va)))}if(this.Bo){P=Array(x);sa=Array(x);va=Array(x);Oa=Array(x);vb=Array(x);mc=Array(x);for(B=0;B<x;B++){C=y[B];I=0;Q=window.Infinity;G=-window.Infinity;for(kb=0;kb<C.length;kb++)Qb=C[kb],I+=Qb,Q=Math.min(Q,Qb),G=Math.max(G,Qb);P[B]=I;sa[B]=Q;va[B]=G;Oa[B]=I/C.length;vb[B]=Wm(C);mc[B]=Xm(C)}for(Q=
0;Q<w.length;Q++)G=w[Q],(C=G.W)&&C.enabled()&&((I=C.check($.Yl|$.wG))?(C.Ia("catYRangeSumArr_",P),C.Ia("catYRangeMinArr_",sa),C.Ia("catYRangeMaxArr_",va),C.Ia("catYRangeAvgArr_",Oa),C.Ia("catYRangeMedianArr_",vb),C.Ia("catYRangeModeArr_",mc)):(C.Ia("catYSumArr_",P),C.Ia("catYMinArr_",sa),C.Ia("catYMaxArr_",va),C.Ia("catYAvgArr_",Oa),C.Ia("catYMedianArr_",vb),C.Ia("catYModeArr_",mc)))}}this.Ia("dataPlotYSum",b);this.Ia("dataPlotYRangeSum",b);this.Ia("dataPlotYMax",c);this.Ia("dataPlotYRangeMax",c);
this.Ia("dataPlotYMin",d);this.Ia("dataPlotYRangeMin",d);this.Ia("dataPlotYAverage",a?b/a:0);this.Ia("dataPlotSeriesCount",this.$j.length);this.Ia("dataPlotPointCount",a);this.Ia("dataPlotMaxYValuePointSeriesName",Je);this.Ia("dataPlotMinYValuePointSeriesName",nh);this.Ia("dataPlotMaxYSumSeriesName",je);this.Ia("dataPlotMinYSumSeriesName",oh);u&&(this.Ia("dataPlotBubbleSizeSum",q),this.Ia("dataPlotBubbleMinSize",t),this.Ia("dataPlotBubbleMaxSize",r),this.Ia("dataPlotBubbleSizeAverage",a?q/a:0));this.Bo||
(this.Ia("dataPlotXSum",h),this.Ia("dataPlotXMax",k),this.Ia("dataPlotXMin",l),this.Ia("dataPlotXAverage",a?h/a:0),this.Ia("dataPlotMaxXValuePointSeriesName",ve),this.Ia("dataPlotMinXValuePointSeriesName",Yd),this.Ia("dataPlotMaxXSumSeriesName",we),this.Ia("dataPlotMinXSumSeriesName",af));this.I(524288)}if(this.J(1048576)){a=this.Sx();b=this.Ux();for(d=0;d<a.length;d++)if(c=a[d],$.K(c,$.Ys))if($.n(rd)){var rd=Math.min(c.uh(),rd);var ph=Math.max(c.Rh(),ph)}else rd=c.uh(),ph=c.Rh();for(d=0;d<b.length;d++)if(c=
b[d],$.K(c,$.Ys))if($.n(ld)){var ld=Math.min(c.uh(),ld);var Gg=Math.max(c.Rh(),Gg)}else ld=c.uh(),Gg=c.Rh();this.Ia("xScalesMin",rd);this.Ia("xScalesMax",ph);this.Ia("yScalesMin",ld);this.Ia("yScalesMax",Gg);this.I(1048576)}rd=this.Ia("chartElements")||{};rd.series=this.fb.length;this.Ia("chartElements",rd)};$.g.lT=function(){return 0};$.g.kT=function(){return 1};$.g.JV=function(){};$.g.zQ=function(){};$.g.AQ=function(){};
$.g.SR=function(){if(this.Bo){var a,b,c;for(b in this.Lo)if($.K(this.Xl[b],$.Ct)||$.K(this.Xl[b],$.$s)){var d=this.Lo[b];var e=c=0;var f={};var h={};for(a=0;a<d.length;a++){var k=d[a].W;var l=k.bb();var m=$.oa(l);k.check(262144)&&(k.i("isVertical")?"none"==this.GG(l)?e++:m in h||(e++,h[m]=!0):"none"==this.GG(l)?c++:m in f||(c++,f[m]=!0))}this.VK(c,d,!0);this.VK(e,d,!1)}}};
$.g.VK=function(a,b,c){var d=this.i("barsPadding");var e=this.i("barGroupsPadding");if(0<a){a=1/(a+(a-1)*d+e);var f=a*e/2;var h={};for(var k=0;k<b.length;k++)if(e=b[k].W,e.check(262144)&&c^e.i("isVertical")){var l=e.bb();"none"==this.GG(l)?($.TA(e,f+a/2),$.SA(e,a),f+=a*(1+d)):(l=$.oa(l),l in h?($.TA(e,h[l]+a/2),$.SA(e,a)):($.TA(e,f+a/2),$.SA(e,a),h[l]=f,f+=a*(1+d)))}}};
$.g.XK=function(){var a=$.jr(this,"animation");if(a&&a.i("enabled")&&0<a.i("duration"))if(this.xg&&1==this.xg.Xb)this.xg.update();else if(this.J(2048)){$.qd(this.xg);this.xg=new oz;a=a.i("duration");for(var b=0;b<this.fb.length;b++){var c=this.fb[b];if(c.enabled()&&null==c.kj().i("point")){var d=pG[c.je];d&&this.xg.add(new d(c,a))}}this.xg.ra("begin",function(){$.hx(this,!0);$.up(this,{type:"animationstart",chart:this})},!1,this);this.xg.ra("end",function(){$.hx(this,!1);$.up(this,{type:"animationend",
chart:this})},!1,this);this.xg.play(!1)}};
$.g.Hw=function(a,b,c){b={};$.Sc(b,$.Kl(c?xG["chart-with-series-point"]:xG["chart-with-series-default"]),$.Kl($.QF["select-marquee"]),a);var d=this.IL();a=b["exclude-points-list"];a.subMenu={};a.enabled=!1;if(d.length){c={};for(var e,f=0;f<d.length;f++){e=d[f].Ue().Sj();var h;"candlestick"==e||"ohlc"==e?h="o - "+d[f].get("open")+", h - "+d[f].get("high")+", l - "+d[f].get("low")+", c - "+d[f].get("close"):"box"==e?h="high - "+d[f].get("high")+", low - "+d[f].get("low"):"range-area"==e||"range-bar"==
e||"range-column"==e||"range-spline-area"==e||"range-step-area"==e?h="high - "+d[f].get("high")+", low - "+d[f].get("low"):"bubble"==e?h="x - "+d[f].get("x")+", y - "+d[f].get("value")+", size - "+d[f].get("size"):h=d[f].get("value");c["exclude-points-point-"+f]={index:10.01,text:d[f].Ue().name()+": "+h,eventType:"anychart.include",scrollable:!0,action:(0,$.pa)(d[f].Ue().XT,d[f].Ue(),d[f].la())}}c["excluded-points-separator"]={index:10.01+10};h=$.Kl(yG["exclude-points-include-all"]);h.index=10.01+
20;c["exclude-points-include-all"]=h;a.subMenu=c;a.enabled=!0}return b};$.g.IL=function(){return(0,$.Fg)((0,$.Wa)(this.fb,function(a){return a.IL()}),function(a,b){return daa(a,b)},[])};
var yG={"exclude-points-point":{index:7,text:"Exclude",eventType:"anychart.exclude",action:function(a){$.V(a.menuParent);for(var b=a.selectedPoints,c,d=0;d<b.length;d++)c=b[d],$.E(c.Ue)&&c.Ue().Y_(c.la());a.menuParent.da(!0)}},"exclude-points-list":{index:8,text:"Include",subMenu:[],enabled:!1},"exclude-points-keep-only":{index:9,text:"Keep only",eventType:"anychart.keepOnly",action:function(a){$.V(a.menuParent);var b,c,d=a.menuParent.Te();for(c=0;c<d.length;c++)if((b=d[c])&&b.state){var e=$.ex(b.state,
$.qo);b.S1(e)}a.menuParent.da(!0)}},"exclude-points-include-all":{index:30,text:"Include all",eventType:"anychart.includeAll",action:function(a){$.V(a.menuParent);var b,c=a.menuParent.Te();for(b=0;b<c.length;b++){var d=c[b];$.E(d.WT)&&d.WT()}a.menuParent.da(!0)}}},xG={"chart-with-series-default":{"exclude-points-list":yG["exclude-points-list"],"exclude-points-separator":{index:8.5}},"chart-with-series-point":{"exclude-points-point":yG["exclude-points-point"],"exclude-points-list":yG["exclude-points-list"],
"exclude-points-keep-only":yG["exclude-points-keep-only"],"chart-with-series-point-separator":{index:9.2}}};$.g=$.Bz.prototype;
$.g.es=function(a){var b=this.dc||$.gn(0,0,0,0),c=a.clientX,d=a.clientY,e=$.Wj(this.P().Ha());a=c-e.x;e=d-e.y;var f=b.left,h=b.top,k=b.width,l=b.height;if(a<f||a>f+k||e<h||e>h+l)return null;b=[];var m=this.Vc();if("by-spot"==m.i("hoverMode"))for(c=m.i("spotRadius"),this.rs?(d=(l-(e-c-h))/l,f=(l-(e+c-h))/l,h=a,a=e,e=h):(d=(a-c-f)/k,f=(a+c-f)/k),h=0,k=this.fb.length;h<k;h++){if((l=this.fb[h])&&l.enabled()){m=l.Va().Fc(d);var p=l.Va().Fc(f);var q=this.Bo?l.sL(m,p):l.data().sL(m,p);p=l.vc();for(var r=
[],t=window.Infinity,u,v=0;v<q.length;v++)if(m=q[v],p.select(m)&&!p.o("missing")){var w=p.o("x"),x=!1;var y=l.ue();for(var B=0;B<y.length;B++){var G=p.o(y[B]);G=$.dn(w,G,a,e);x=x||G<=c;G<t&&(t=G,u=m)}x&&r.push(m)}r.length&&b.push({W:l,md:r,xn:r[r.length-1],we:{index:u,Yf:t}})}}else"by-x"==this.Vc().i("hoverMode")&&(b=Oz(this,c,d));return b};$.g.xD=function(){};
$.g.Cz=function(a,b,c,d,e,f,h){a=$.Bz.u.Cz.call(this,a,b,c,d,e,f,h);d=!0;e=[];for(b=0;b<this.fb.length;b++){var k=this.fb[b];c=k.enabled()?$.iB(k,a.left,a.top,a.width,a.height):[];f=(0,$.RC)(c,function(a){return $.$w(k.state,a)>=$.qo});d=d&&f;e.push({series:k,pointsInRect:c,allPointsAreSelected:f})}a.seriesStatus=e;a.allPointsAreSelected=d;return a};
$.g.WN=function(a){var b=a.shiftKey||a.ctrlKey||a.metaKey,c=a.seriesStatus;if(b&&a.allPointsAreSelected)for(a=0;a<c.length;a++)c[a].series.ae(c[a].pointsInRect);else for(a=0;a<c.length;a++)$.jB(c[a].series,c[a].pointsInRect,b)};$.g.nG=function(a,b,c,d,e,f,h){return this.Bo?$.Bz.u.nG.call(this,a,b,c,d,e,f,h):this.o0(a,b,c,d,e,f,h)};$.g.HC=function(){return["x"]};$.g.IC=function(a){return a.get("x")};$.g.GC=function(a){a=a.get("name");return $.z(a)?a:null};
$.g.Et=function(a){if(!this.Aw||this.gW){var b,c=$.Kl(this.mf("scales"));if(a&&a.scales){for(var d=0;d<c.length;d++)a.scales[d]&&$.ra(c[d],a.scales[d]);a.scales.length>c.length&&(c=$.Ga(c,$.Ja(a.scales,c.length)))}d={};if($.A(c))for(b=0;b<c.length;b++){var e=c[b];$.z(e)&&(e={type:e});var f=$.Rs(e.type,!1);f.Fa(e);f.ticks&&(e=f.ticks().ma,$.ra(e,f.ma.ticks),f.ma.ticks=e);f.minorTicks&&(e=f.minorTicks().ma,$.ra(e,f.ma.minorTicks),f.ma.minorTicks=e);f.K(f.ma);d[b]=f}else if($.D(c))for(b in c)c.hasOwnProperty(b)&&
(e=c[b],$.z(e)&&(e={type:e}),f=$.Rs(e.type,!1),f.Fa(e),f.ticks&&(e=f.ticks().ma,$.ra(e,f.ma.ticks),f.ma.ticks=e),f.minorTicks&&(e=f.minorTicks().ma,$.ra(e,f.ma.minorTicks),f.ma.minorTicks=e),f.K(f.ma),d[b]=f);b=["xScale","yScale"];for(c=0;c<b.length;c++){var h=b[c];e=a?a[h]:this.mf(h);$.ea(e)||$.z(e)&&!(0,window.isNaN)(Number(e))?f=d[e]:$.z(e)?f=$.Rs(e,null):$.D(e)?(e.type?f=$.Rs(e.type,!0):f=this[h](),f.Fa(e),f.ticks&&(e=f.ticks().ma,$.ra(e,f.ma.ticks),f.ma.ticks=e),f.minorTicks&&(e=f.minorTicks().ma,
$.ra(e,f.ma.minorTicks),f.ma.minorTicks=e),f.K(f.ma)):f=null;if(f)this[h](f)}this.Aw=d;this.gW=!1}return this.Aw};$.g.X=function(a,b){$.Bz.u.X.call(this,a,b);$.zq(this,vG,a);if(a.scales||a.xScale||a.yScale)this.gW=!0;var c=this.Et(a);this.Ns(a,c,b)};$.g.F=function(){var a=$.Bz.u.F.call(this),b={},c=[];$.Hq(this,vG,a);$.Qz(a,"xScale",this.Va(),c,b);$.Qz(a,"yScale",this.bb(),c,b);this.Ms(a,c,b);a.scales=c;return a};$.g.Ns=function(a,b,c){this.fO(a,b,c)};$.g.Ms=function(a,b,c){this.aO(a,b,c)};
$.g.PK=function(){return 1};$.g.fO=function(a,b,c){var d=a.series;if($.A(d))for(a=0;a<d.length;a++){var e=d[a];var f=e.seriesType||this.i("defaultSeriesType");if(f=this.te(f,e.data))f.ia(!!c,e),$.D(e)&&("xScale"in e&&e.xScale>this.PK()&&f.Va(b[e.xScale]),"yScale"in e&&e.yScale>this.PK()&&f.bb(b[e.yScale]))}};$.g.aO=function(a,b,c){var d,e=[];for(d=0;d<this.fb.length;d++){var f=this.fb[d];var h=f.F();$.Qz(h,"xScale",f.Va(),b,c);$.Qz(h,"yScale",f.bb(),b,c);e.push(h)}e.length&&(a.series=e)};
$.g.Ul=function(a,b,c,d){if($.A(a))for(var e=0;e<a.length;e++){var f=a[e],h=b.call(this,e);$.Jc(f)||(d?h.K(f):h.Fa(f),f=$.D(f)&&"scale"in f?f.scale:h.mf("scale"),f>this.PK()&&h.scale(c[f]))}};$.g.R=function(){$.qd(this.xg);$.Bz.u.R.call(this)};$.H($.Rz,$.yy);var zG={};$.hq(zG,[[1,"stroke",$.Dq],[0,"value",$.tq]]);$.U($.Rz,zG);$.g=$.Rz.prototype;$.g.qa=$.yy.prototype.qa;$.g.sa=$.yy.prototype.sa;$.g.pe=function(a){return $.n(a)?(a=$.Ek(a),this.f!=a&&(this.f=a,this.B(4,9)),this):this.f?this.f:this.axis()?(a=this.axis().orientation(),"left"==a||"right"==a?"horizontal":"vertical"):this.G};$.g.scale=function(a){return this.np(a)};$.g.Mr=function(){this.Np()};$.g.Iu=function(){$.zy(this).stroke(this.i("stroke"))};
$.g.R=function(){this.pa("stroke",null);$.Rz.u.R.call(this)};$.g.F=function(){var a=$.Rz.u.F.call(this);$.Hq(this,zG,a);this.f&&(a.layout=this.f);return a};$.g.X=function(a,b){$.Rz.u.X.call(this,a,b);$.zq(this,zG,a)};$.H(Tz,$.Rz);$.ju(Tz,$.Rz);var AG=$.Rz.prototype;AG.scale=AG.scale;AG.axis=AG.axis;AG.layout=AG.pe;AG.isHorizontal=AG.Hb;AG=Tz.prototype;$.F("anychart.standalones.axisMarkers.line",function(){return new Tz});AG.draw=AG.$;AG.parentBounds=AG.ja;AG.container=AG.P;$.H($.Uz,$.yy);$.BG={};$.hq($.BG,[[1,"fill",$.Eq],[0,"from",$.tq],[0,"to",$.tq]]);$.U($.Uz,$.BG);$.g=$.Uz.prototype;$.g.bQ=function(){return"From: "+this.i("from")+" to: "+this.i("to")};$.g.qa=$.yy.prototype.qa;$.g.sa=$.yy.prototype.sa;$.g.pe=function(a){return $.n(a)?(a=$.Ek(a),this.f!=a&&(this.f=a,this.B(4,9)),this):this.f?this.f:this.axis()?(a=this.axis().orientation(),"left"==a||"right"==a?"horizontal":"vertical"):this.G};$.g.scale=function(a){return this.np(a)};
$.g.ds=function(){return[this.i("from"),this.i("to")]};$.g.xJ=function(){$.n(void 0)&&($.n((void 0).from)&&this.from((void 0).from),$.n((void 0).to)&&this.to((void 0).to));return{from:this.i("from"),to:this.i("to")}};$.g.Mr=function(){$.Ay(this)};$.g.Iu=function(){$.zy(this).stroke(null).fill(this.i("fill"))};$.g.R=function(){this.pa("fill",null);$.Uz.u.R.call(this)};$.g.F=function(){var a=$.Uz.u.F.call(this);$.Hq(this,$.BG,a,void 0,void 0,!0);this.f&&(a.layout=this.f);return a};
$.g.X=function(a,b){$.Uz.u.X.call(this,a,b);$.zq(this,$.BG,a)};$.H(Wz,$.Uz);$.ju(Wz,$.Uz);var CG=$.Uz.prototype;CG.scale=CG.scale;CG.axis=CG.axis;CG.layout=CG.pe;CG.isHorizontal=CG.Hb;CG=Wz.prototype;$.F("anychart.standalones.axisMarkers.range",function(){return new Wz});CG.draw=CG.$;CG.parentBounds=CG.ja;CG.container=CG.P;$.H($.Xz,$.Ky);var DG={};$.hq(DG,[[0,"value",$.tq]]);$.U($.Xz,DG);$.g=$.Xz.prototype;$.g.qa=$.Ky.prototype.qa;$.g.sa=$.Ky.prototype.sa;$.g.scale=function(a){return this.np(a)};$.g.F=function(){var a=$.Xz.u.F.call(this);$.Hq(this,DG,a);return a};$.g.X=function(a,b){$.Xz.u.X.call(this,a,b);$.zq(this,DG,a,b)};$.H(Yz,$.Xz);$.ju(Yz,$.Xz);var EG=$.Xz.prototype;EG.scale=EG.scale;EG.axis=EG.axis;EG.layout=EG.pe;EG.background=EG.background;EG.padding=EG.padding;EG.isHorizontal=EG.Hb;EG=Yz.prototype;
$.F("anychart.standalones.axisMarkers.text",function(){return new Yz});EG.draw=EG.$;EG.parentBounds=EG.ja;EG.container=EG.P;$.H(Zz,gv);Zz.prototype.qa=gv.prototype.qa|2;var FG={};$.hq(FG,[[0,"format",$.Pq],[0,"axisIndex",$.tq]]);$.U(Zz,FG);$.g=Zz.prototype;$.g.lf=function(a){return $.n(a)?(this.D!=a&&(this.D=a,this.B(16,1)),this):this.D};$.g.x=function(a){$.n(a)&&this.xo!=a&&(this.xo=a,this.B(4,9));return this};$.g.y=function(a){$.n(a)&&this.yo!=a&&(this.yo=a,this.B(4,9));return this};
$.g.yf=function(){if(this.ja())var a=this.ja();else{a=new $.J(0,0,0,0);var b=this.rb.pb();a.width=this.padding().rk(b.width);a.height=this.padding().Jj(b.height)}b=a.width;var c=a.height;a=new $.J(0,0,this.yi,this.wi);var d=new $.gb(0,0);d.x=this.xo;d.y=this.yo;var e=this.Tz(),f=$.xo(new $.J(0,0,this.yi,this.wi),e);d.x-=f.x;d.y-=f.y;f=this.i("offsetX");var h=this.i("offsetY");$.Qo(d,e,$.n(f)?$.M(f,b):0,$.n(h)?$.M(h,c):0);this.ug+=d.x;this.vg+=d.y;a.left=d.x;a.top=d.y;this.rb.x(this.ug).y(this.vg);
(b=this.rb.clip())?b.shape(this.ug,this.vg,this.Ym,this.Wm):(b=$.qk(this.ug,this.vg,this.Ym,this.Wm),this.rb.clip(b));return a};$.g.F=function(){var a=Zz.u.F.call(this);$.Hq(this,FG,a,"Crosshair Label");return a};$.g.X=function(a,b){Zz.u.X.call(this,a,b);$.zq(this,FG,a,b)};var GG=Zz.prototype;GG.background=GG.background;GG.padding=GG.padding;$.H($.$z,$.Y);$.$z.prototype.qa=$.Y.prototype.qa|2;$.$z.prototype.sa=$.Y.prototype.sa|16;var HG={};$.gq(HG,1,"xStroke",$.Dq);$.gq(HG,1,"yStroke",$.Dq);$.gq(HG,0,"displayMode",function(a){return $.xk(Eda,a,"float")});$.U($.$z,HG);$.g=$.$z.prototype;$.g.i=$.Xq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};
$.g.parent=function(a){if($.n(a)){if(this.Y!=a){var b=String($.oa(this));if(null===a){$.Zq(this.Y,this.Qc,this);a=$.aA(this);var c=$.bA(this);a=$.Ga(a,c);for(c=0;c<a.length;c++){var d=a[c];d&&d.parent(null)}delete this.Y.nK[b];this.Y=null}else this.Y&&$.Zq(this.Y,this.Qc,this),this.Y=a,cA(this,$.aA(this.Y),!0),cA(this,$.bA(this.Y),!1),this.Y.nK[b]=this,$.L(this.Y,this.Qc,this)}return this}return this.Y};
$.g.Qc=function(a){var b=0,c=0;$.X(a,1)&&(b|=16,c|=1);$.X(a,8)&&(b|=4,c|=8);$.X(a,32768)&&(b|=1,c|=32769);this.Rb=null;this.B(b,c)};$.g.U1=function(a){$.X(a,2)&&this.ta(2)};$.g.lh=function(a){return $.n(a)?(this.ec!=a&&(this.ec=a),this):this.ec};
$.g.oB=function(a,b){if($.ea(a)||$.z(a)&&!(0,window.isNaN)(+a)){var c=+a;var d=b}else c=0,d=a;var e=$.aA(this),f=e[c];f||(f=new Zz,f.Fa("defaultFontSettings","defaultCrosshairLabel"),e[c]=f,dA(this,f,c,!0),$.L(f,this.U1,this),c=this.zIndex(),f.Mh=c);return $.n(d)?(f.K(d),this):f};
$.g.pB=function(a,b){if($.ea(a)||$.z(a)&&!(0,window.isNaN)(+a)){var c=+a;var d=b}else c=0,d=a;var e=$.bA(this),f=e[c];f||(f=new Zz,f.Fa("defaultFontSettings","defaultCrosshairLabel"),e[c]=f,dA(this,f,c,!1),$.L(f,this.U1,this),c=this.zIndex(),f.Mh=c);return $.n(d)?(f.K(d),this):f};
$.g.$=function(){if(!this.Bc())return this;var a=this.ja(),b=this.zIndex(),c=this.P();this.J(16)&&(this.wr.stroke(this.i("xStroke")),this.zr.stroke(this.i("yStroke")),this.I(16));var d,e=$.aA(this),f=$.bA(this);e=$.Ga(e,f);f=e.length;this.J(2)&&(this.wr.parent(c),this.zr.parent(c),$.fA(e,c),this.I(2));if(this.J(8)){this.wr.zIndex(b);this.zr.zIndex(b);for(c=0;c<f;c++)if(d=e[c])d.Mh=b;this.I(8)}this.J(4)&&($.gA(e,a),this.I(4));return this};$.g.Oc=function(){this.LT();this.MT()};
$.g.LT=function(a){this.wr.clear();iA(this,a)};$.g.MT=function(a){this.zr.clear();if($.n(a))a.P(null),a.remove();else{a=$.bA(this);for(var b=0;b<a.length;b++){var c=a[b];c&&(c.P(null),c.remove())}}};
$.g.rg=function(a){if(this.enabled()){var b=a.clientX,c=a.clientY,d=$.Wj(this.P().Ha());a=b-d.x;d=c-d.y;if("sticky"==this.i("displayMode")&&(b=Oz(this.Gl,b,c))){c=window.Infinity;for(var e=0;e<b.length;e++){var f=b[e],h=f.we.Yf;if(h<c){c=h;var k=f.W;var l=f.we.index}}k=k.aa();k.select(l);l=$.N(k.o("x"));k=$.So(k.o("value"),k.o("close"),k.o("high"));k=$.N(k);this.Gl.rs?(d=l,(0,window.isNaN)(k)||(a=k)):(a=l,(0,window.isNaN)(k)||(d=k))}l=this.ja();a>=l.qb()&&a<=l.$a()&&d>=l.bc()&&d<=l.Ua()?($.V(this),
l=$.aA(this),k=$.bA(this),this.xx(l,!0,a,d),this.xx(k,!1,a,d),this.da(!0)):this.Oc()}};
$.g.tC=function(a,b,c,d){var e=b?this.wr:this.zr;if((b=this.i(b?"xStroke":"yStroke"))&&!$.Vo(b)){b=this.ja();var f=b.$a()-b.qb(),h=b.Ua()-b.bc();c-=b.qb();var k=d-b.bc();d=a.Hb();var l;a=a.scale();c=d?c:k;f=d?f:h;h=d?b.qb():b.bc();k=a.Na();"linear"==k||"datetime"==k||"log"==k?l=c/f:l=a.transform(a.Fc(c/f),.5);0>l||1<l?e.clear():(a=h+l*f,f=e.Nk(),d?(l=$.R(a,f),d=b.bc(),a=l,b=b.Ua()):(l=b.qb(),d=$.R(a,f),a=b.$a(),b=d),e.clear().moveTo(l,d).lineTo(a,b))}};
$.g.ce=function(a,b,c,d,e,f){var h=$.aA(this),k=$.bA(this);c=b?h[c]:k[c];if(b?c.th("enabled")&&c.Ma.enabled||c.enabled()&&this.xX:c.enabled()){k=this.ja();b=k.$a()-k.qb();var l=k.Ua()-k.bc();b=(h=a.Hb())?b:l;l=a.scale();$.n(f)?e=f:(d-=k.qb(),e-=k.bc(),e=(h?d:e)/b);e=l.transform(l.Fc(e),.5);if(0>e||1<e)c.P(null),c.remove();else{d=this.Vp(a,h?e:1-e);f=c.i("format")||a.labels().i("format")||$.Xo;$.z(f)&&(f=$.Bu($.zu.vd(),f));c.text(f.call(d,d));c.Vk($.eA(a));f=this.ja();d=h=0;if(a){var m=a.lb(),p=a.enabled();
k=p?m.qb():f.$a();l=p?m.bc():f.Ua();var q=p?m.$a():f.qb();m=p?m.Ua():f.bc();switch(a.orientation()){case "left":h=this.kH(c)?q-1:q+1;d=Math.round(f.top+e*b);break;case "top":h=Math.round(f.left+e*b);d=jA(c)?m-1:m+1;break;case "right":h=this.kH(c)?k-1:k+1;d=Math.round(f.top+e*b);break;case "bottom":h=Math.round(f.left+e*b),d=jA(c)?l-1:l+1}a=h;b=d}else a=h,b=d;c.x(a).y(b);c.P(this.P());c.$()}}};
$.g.xx=function(a,b,c,d,e,f){var h,k,l=$.hA(this);if($.n(e))for(h=0;h<a.length;h++)(k=a[h])&&(f||k.th("enabled")&&k.Ma.enabled?this.ce(this.ec,b,h,c,d,e):iA(this,k));else for(e=b?l.Rx:l.Tx,h=0;h<a.length;h++)if(k=a[h])if(f=k.i("axisIndex"),(f=e.call(l,f))&&$.n(f.scale().Fc(0))){if(!m){this.tC(f,b,c,d);var m=!0}this.ce(f,b,h,c,d)}else this.LT(k)};$.g.kH=function(a){a=a.Tz();return"left-top"==a||"left-center"==a||"left-bottom"==a};
$.g.Vp=function(a,b){if(!a)return null;var c=a.scale(),d=c.Na(),e=c.Fc(b),f="number";switch(d){case "linear":case "log":var h=c.UD(e);break;case "ordinal":h=String(e);f="string";break;case "stock-scatter-date-time":case "stock-ordinal-date-time":case "date-time":h=$.ks(e),f="string"}return $.av(new $.rw({value:{value:h,type:f},rawValue:{value:e,type:"number"},max:{value:$.n(c.max)?c.max:null,type:"number"},min:{value:$.n(c.min)?c.min:null,type:"number"},scale:{value:c,type:""},tickValue:{value:e,
type:"number"}}))};$.g.Gg=function(a){var b=this.ja(),c=a.offsetX;a=a.offsetY;(c<=b.qb()||c>=b.$a()||a<=b.bc()||a>=b.Ua())&&this.Oc()};$.g.remove=function(){this.Oc()};$.g.R=function(){this.Gl&&(this.Gl.ac("mouseover",this.rg,!1,this),this.Gl.ac("mousemove",this.rg,!1,this),this.Gl.ac("mouseout",this.Gg,!1,this),this.Gl=null);$.td(this.wr,this.zr,this.bP,this.cP);this.wr=this.zr=this.bP=this.cP=null;$.$z.u.R.call(this)};
$.g.enabled=function(a){return $.n(a)?(this.Ma.enabled!=a&&(this.Ma.enabled=a,this.B(1,32777),this.Ma.enabled?this.da(!0):(0,window.isNaN)(this.wo)&&$.V(this)),this):this.i("enabled")};$.g.F=function(){var a=$.$z.u.F.call(this);$.Hq(this,HG,a,"Crosshair");var b;var c=[];var d=$.aA(this),e=$.bA(this);for(b=0;b<d.length;b++)d[b]&&c.push(d[b].F());0<c.length&&(a.xLabels=c);c=[];for(b=0;b<e.length;b++)e[b]&&c.push(e[b].F());0<c.length&&(a.yLabels=c);return a};
$.g.X=function(a,b){$.$z.u.X.call(this,a,b);$.zq(this,HG,a,b);var c;var d=a.xLabels;if($.A(d))for(c=0;c<d.length;c++)this.oB(c,d[c]);else"xLabel"in a&&this.oB(0,a.xLabel);d=a.yLabels;if($.A(d))for(c=0;c<d.length;c++)this.pB(c,d[c]);else"yLabel"in a&&this.pB(0,a.yLabel)};var IG=$.$z.prototype;IG.xLabel=IG.oB;IG.yLabel=IG.pB;$.H(kA,$.Yq);var gea=kA.prototype,JG={};$.gq(JG,1,"stroke",$.Dq);gea.lQ=JG;$.U(kA,kA.prototype.lQ);$.g=kA.prototype;$.g.sa=$.Yq.prototype.sa;$.g.qa=$.Yq.prototype.qa|1;$.g.F=function(){var a=kA.u.F.call(this);$.Hq(this,this.lQ,a);return a};$.g.X=function(a,b){kA.u.X.call(this,a,b);$.zq(this,this.lQ,a,b)};$.g.R=function(){this.g=null;kA.u.R.call(this)};$.H(lA,$.ku);$.g=lA.prototype;$.g.sa=$.ku.prototype.sa|384;$.g.title=function(a){this.sb||(this.sb=new $.Nv,this.sb.ib(this),$.L(this.sb,this.uq,this),$.W(this,"title",this.sb));return $.n(a)?(this.sb.K(a),this):this.sb};$.g.uq=function(a){var b=0,c=0;$.X(a,1)&&(b|=128,c|=1);$.X(a,8)&&(b|=4,c|=8);this.B(b,c)};$.g.margin=function(a,b,c,d){this.Mc||(this.Mc=new $.zv,$.L(this.Mc,this.sA,this),$.W(this,"margin",this.Mc));return $.n(a)?(this.Mc.K.apply(this.Mc,arguments),this):this.Mc};
$.g.sA=function(a){$.X(a,2)&&this.B(4,9)};$.g.padding=function(a,b,c,d){this.Pa||(this.Pa=new $.tu,$.L(this.Pa,this.Pl,this),$.W(this,"padding",this.Pa));return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this):this.Pa};$.g.Pl=function(a){$.X(a,2)&&this.B(4,9)};
$.g.label=function(a,b){if($.ea(a)||$.z(a)&&!(0,window.isNaN)(+a)){var c=+a;var d=b}else c=0,d=a;var e=this.Da[c];e||(e=new $.jv,e.ib(this),e.Fa("defaultFontSettings","defaultLabelSettings","chart.defaultQuarterSettings.defaultLabelSettings"),this.Da[c]=e,$.L(e,this.R9,this),this.B(256,1));return $.n(d)?(e.K(d),this):e};$.g.R9=function(){this.B(256,1)};$.g.KS=function(){return this.margin().nj(this.lb())};
$.g.$=function(){if(!this.Bc())return this;this.J(4)&&this.B(384);lA.u.$.call(this);if(this.J(128)){var a=$.jr(this,"title");a&&($.V(a),a.P(this.La),a.zIndex(10),a.ja(this.lb()),a.da(!1),a.$());this.I(128)}if(this.J(256)){a=this.KS();for(var b=0,c=this.Da.length;b<c;b++){var d=this.Da[b];d&&($.V(d),d.P(this.La),d.ja(this.padding().nj(a)),d.zIndex(20),d.da(!1),d.$())}this.I(256)}return this};
$.g.F=function(){var a=lA.u.F.call(this),b=$.jr(this,"title");b&&(a.title=b.F());a.margin=this.margin().F();a.padding=this.padding().F();b=[];for(var c=0;c<this.Da.length;c++)this.Da[c]&&b.push(this.Da[c].F());0<b.length&&(a.labels=b);return a};$.g.X=function(a,b){lA.u.X.call(this,a,b);"title"in a&&this.title().ia(!!b,a.title);"padding"in a&&this.padding().ia(!!b,a.padding);"margin"in a&&this.margin().ia(!!b,a.margin);var c=a.labels;if($.A(c))for(var d=0;d<c.length;d++)this.label(d,c[d])};
$.g.R=function(){$.td(this.sb,this.Mc,this.Pa,this.Da);this.Da=this.Pa=this.Mc=this.sb=null;lA.u.R.call(this)};var KG=lA.prototype;KG.title=KG.title;KG.margin=KG.margin;KG.padding=KG.padding;KG.label=KG.label;$.H(mA,$.Yq);$.g=mA.prototype;$.g.hm=function(){this.j||$.jr(this,"rightTop");this.b||$.jr(this,"leftBottom");this.g||$.jr(this,"rightBottom");this.f||$.jr(this,"leftTop");return this.D};$.g.O3=function(a){this.j||(this.j=new lA,$.L(this.j,this.Ba.BN,this.Ba),this.D[0]=this.j,$.W(this,"rightTop",this.j));return $.n(a)?(this.j.K(a),this):this.j};$.g.g2=function(a){this.f||(this.f=new lA,$.L(this.f,this.Ba.BN,this.Ba),this.D[1]=this.f,$.W(this,"leftTop",this.f));return $.n(a)?(this.f.K(a),this):this.f};
$.g.f2=function(a){this.b||(this.b=new lA,$.L(this.b,this.Ba.BN,this.Ba),this.D[2]=this.b,$.W(this,"leftBottom",this.b));return $.n(a)?(this.b.K(a),this):this.b};$.g.N3=function(a){this.g||(this.g=new lA,$.L(this.g,this.Ba.BN,this.Ba),this.D[3]=this.g,$.W(this,"rightBottom",this.g));return $.n(a)?(this.g.K(a),this):this.g};$.g.F=function(){var a=mA.u.F.call(this);this.j&&(a.rightTop=this.j.F());this.f&&(a.leftTop=this.f.F());this.b&&(a.leftBottom=this.b.F());this.g&&(a.rightBottom=this.g.F());return a};
$.g.X=function(a){mA.u.X.call(this,a);this.O3(a.rightTop);this.g2(a.leftTop);this.f2(a.leftBottom);this.N3(a.rightBottom)};$.g.R=function(){$.td(this.j,this.f,this.b,this.g);this.g=this.b=this.f=this.j=null;this.D.length=0;mA.u.R.call(this)};var LG=mA.prototype;LG.rightTop=LG.O3;LG.leftTop=LG.g2;LG.leftBottom=LG.f2;LG.rightBottom=LG.N3;$.H($.nA,$.Bz);$.g=$.nA.prototype;$.g.sa=$.Bz.prototype.sa|266338304;
$.g.za=function(a){if($.n(a)){a=!!a;if(this.rs!=a){this.rs=a;for(a=this.fb.length;a--;)this.fb[a].isVertical(this.rs);var b=$.Ga(this.b,this.Wf);$.kr(b);for(a=b.length;a--;){var c=b[a];if(c){switch(c.i("orientation")){case "bottom":var d="left";break;case "top":d="right";break;case "left":d="bottom";break;case "right":d="top"}c.orientation(d)}}c=$.Ga(this.Lg,this.Mg,this.Wg,this.Xg,this.ag,this.cg,this.eg);$.kr(c);for(a=c.length;a--;){var e=c[a];e&&(d="horizontal"==e.pe()?"vertical":"horizontal",
e.pe(d))}$.lr(b,c)}return this}return this.rs=$.n(this.rs)?this.rs:!!this.i("isVertical")};$.g.iA=function(){this.N&&this.tk().iA()};
$.g.Pn=function(){if(this.J(524288)){$.nA.u.Pn.call(this);var a=this.Ia("chartElements");a.axes={x:0,y:0};a.grids={x:0,y:0,xMinor:0,yMinor:0};for(var b=Math.max(this.b.length,this.Wf.length,this.Lg.length,this.Mg.length,this.Wg.length,this.Xg.length);b--;)this.b[b]&&a.axes.x++,this.Wf[b]&&a.axes.y++,this.Lg[b]&&a.grids.x++,this.Mg[b]&&a.grids.y++,this.Wg[b]&&a.grids.xMinor++,this.Xg[b]&&a.grids.yMinor++;this.Ia("chartElements",a)}};$.g.Mna=function(a){return $.n(a)?(this.Bd=a,this):this.Bd||{}};
$.g.Nna=function(a){return $.n(a)?(this.MF=a,this):this.MF||{}};$.g.Gz=function(a){this.Ip||(this.Ip=$.wm("defaultGridSettings"));return $.n(a)?(this.Ip=a,this):this.Ip||{}};$.g.Hz=function(a){this.Jp||(this.Jp=$.wm("defaultMinorGridSettings"));return $.n(a)?(this.Jp=a,this):this.Jp||{}};$.g.UE=function(){return new az};$.g.Po=function(a){return(a?this.Gz():this.Hz()).zIndex+.001*$.Ga(this.Lg,this.Mg,this.Wg,this.Xg).length};
$.g.Zm=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.Lg[c];e||(e=this.UE(),e.Hj=this,$.Yy(e,this.za()?"horizontal":"vertical"),e.zIndex(this.Po(!0)),this.Lg[c]=e,$.L(e,this.Yt,this),this.B(9437184,1));return $.n(d)?(e.K(d),this):e};
$.g.$m=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.Mg[c];e||(e=this.UE(),e.Hj=this,$.Yy(e,this.za()?"vertical":"horizontal"),e.zIndex(this.Po(!0)),this.Mg[c]=e,$.L(e,this.Yt,this),this.B(9437184,1));return $.n(d)?(e.K(d),this):e};
$.g.xr=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=this.UE(),e.Hj=this,$.Yy(e,this.za()?"horizontal":"vertical"),e.Fa("defaultMinorGridSettings"),e.zIndex(this.Po(!1)),this.Wg[c]=e,$.L(e,this.Yt,this),this.B(9437184,1));return $.n(d)?(e.K(d),this):e};
$.g.Ar=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.Xg[c];e||(e=this.UE(),e.Hj=this,$.Yy(e,this.za()?"vertical":"horizontal"),e.Fa("defaultMinorGridSettings"),e.zIndex(this.Po(!1)),this.Xg[c]=e,$.L(e,this.Yt,this),this.B(9437184,1));return $.n(d)?(e.K(d),this):e};$.g.Yt=function(){this.B(8388608,1)};
$.g.lh=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 $.Dy,e.ib(this),$.W(this,"defaultXAxisSettings",e),this.b[c]=e,$.L(e,this.ko,this),this.B(3145732,1));return $.n(d)?(e.K(d),this):e};$.g.ti=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.Wf[c];e||(e=new $.Dy,$.W(this,"defaultYAxisSettings",e),e.ib(this),this.Wf[c]=e,$.L(e,this.ko,this),this.B(3145732,1));return $.n(d)?(e.K(d),this):e};$.g.QC=ba(22);
$.g.SC=ba(23);$.g.ko=function(a){var b=0,c=0;$.X(a,1)&&(b|=2097152,c|=1);$.X(a,8)&&(b|=4);$.V(this);this.B(b,c);$.br(this,"serieschart","dataarea",1);this.da(!0)};$.g.jG=function(a){return a>=this.b.length?this.Wf[a-this.b.length]:this.b[a]};$.g.Rx=function(a){return this.b[a]};$.g.Tx=function(a){return this.Wf[a]};$.g.s4=function(a){a.scale(this.bb())};$.g.zG=function(){return 2097152};$.g.IY=function(){return new $.Rz};
$.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.ag[c];if(!e){e=this.IY();var f=$.gr($.fr(this),"defaultLineMarkerSettings");e.Fa(f);e.Ba=this;$.Sz(e,this.za()?"vertical":"horizontal");this.ag[c]=e;e.ib(this);$.L(e,this.zA,this);this.B(5242880,1)}return $.n(d)?(e.K(d),this):e};$.g.JY=function(){return new $.Uz};
$.g.Sm=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.cg[c];if(!e){e=this.JY();var f=$.gr($.fr(this),"defaultRangeMarkerSettings");e.Fa(f);e.Ba=this;$.Vz(e,this.za()?"vertical":"horizontal");this.cg[c]=e;e.ib(this);$.L(e,this.zA,this);this.B(5242880,1)}return $.n(d)?(e.K(d),this):e};$.g.KY=function(){return new $.Xz};
$.g.Xm=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.eg[c];if(!e){e=this.KY();var f=$.gr($.fr(this),"defaultTextMarkerSettings");e.Fa(f);e.Ba=this;$.Ly(e,this.za()?"vertical":"horizontal");this.eg[c]=e;e.ib(this);$.L(e,this.zA,this);this.B(5242880,1)}return $.n(d)?(e.K(d),this):e};$.g.zA=function(a){var b=4227072;$.X(a,4)&&(b|=327680);this.B(b,1)};
$.g.eU=function(a){for(var b=0,c=$.Ga(this.ag,this.cg,this.eg),d=0;d<c.length;d++){var e=c[d];e&&e.enabled()&&e.scale()==a&&(b|=e.B(4))}b&&this.B(4194304,1)};$.g.Sx=function(){this.ob();return Mz(pA(this,this.Xl,!0))};$.g.Ux=function(){this.ob();return Mz(pA(this,this.an,!1))};$.g.RQ=function(){qA(this,this.Xl)};$.g.SQ=function(){qA(this,this.an)};
$.g.$g=function(a){this.Ef||(this.Ef=new $.$z,this.Ef.enabled(!1),$.hA(this.Ef,this),$.L(this.Ef,this.yA,this),$.W(this,"crosshair",this.Ef),this.B(16777216,1));return $.n(a)?(this.Ef.K(a),this):this.Ef};$.g.yA=function(){this.B(16777216,1)};
$.g.tk=function(a){this.N?this.ga||(this.hc=new this.N.ChartController(this),this.ga=new this.N.PlotController(this.hc,this),$.W(this,"annotations",this.ga),$.L(this.ga,this.VP,this)):$.cl(4,null,["Annotations"]);return $.n(a)?(this.ga&&this.ga.K(a),this):this.ga||null};$.g.VP=function(){this.B(33554432,1)};$.g.CR=function(a){return $.n(a)?(this.ab=a,this):this.ab};$.g.kq=function(a){this.N&&this.tk().ae();$.nA.u.kq.call(this,a)};$.g.Rf=function(){return this.dc};$.g.n0=function(a){return a.clone().round()};
$.g.FC=function(a,b){var c=this.lb().clone(),d,e,f=$.Ga(this.b,this.Wf),h=0,k,l,m,p;var q=0;for(d=f.length;q<d;q++)if((e=f[q])&&e.enabled()){switch(e.i("orientation")){case "top":l||(l=e);break;case "bottom":p||(p=e);break;case "right":m||(m=e);break;case "left":k||(k=e)}$.V(e);var r=e.padding().Ma;r.top=0;r.right=0;r.bottom=0;r.left=0;e.B(e.xe)}do{d=[0,0,0,0];var t=!0;r=a.clone();this.Ja=this.ya=this.ka=this.Ra=window.NaN;for(q=f.length;q--;)if((e=f[q])&&e.enabled()){e.ja(a);var u=e.i("orientation");
var v=e.i("stroke");$.D(v)||(v=$.Yb(v));v=$.bc(v);"top"==u?(e.padding().top(d[0]),e.padding().bottom(0),u=e.qd(l!=e),d[0]=a.height-u.height,(0,window.isNaN)(this.Ra)&&(this.Ra=v)):"bottom"==u?(e.padding().bottom(d[2]),e.padding().top(0),u=e.qd(p!=e),d[2]=a.height-u.height,(0,window.isNaN)(this.ka)&&(this.ka=v)):"left"==u?(e.padding().left(d[3]),e.padding().right(0),u=e.qd(k!=e),d[3]=a.width-u.width,(0,window.isNaN)(this.ya)&&(this.ya=v)):"right"==u&&(e.padding().right(d[1]),e.padding().left(0),u=
e.qd(m!=e),d[1]=a.width-u.width,(0,window.isNaN)(this.Ja)&&(this.Ja=v))}d=this.zZ(d,b||0);r.left+=d[3];r.top+=d[0];r.width-=d[1]+d[3];r.height-=d[2]+d[0];for(q=f.length;q--;)if((e=f[q])&&e.enabled()){v=e.qd(l!=e&&p!=e&&k!=e&&m!=e);e.Hb()?(e.padding().left(d[3]),e.padding().right(d[1]),u=e.qd(l!=e&&p!=e),u.height!=v.height&&(t=!1)):(e.padding().top(d[0]),e.padding().bottom(d[2]),u=e.qd(k!=e&&m!=e),u.width!=v.width&&(t=!1));u=e.lb(!1);switch(e.i("orientation")){case "top":var w="bottom";break;case "right":w=
"left";break;case "bottom":w="top";break;case "left":w="right"}e=null;v=c.top;var x=c.height,y=c.left+c.width,B=c.top+c.height,G=u.left+u.width,C=u.top+u.height;switch(w){case "top":u.top>c.top&&(e=new $.J(c.left,c.top,c.width,u.top-c.top));break;case "bottom":C<B&&(e=new $.J(c.left,C,c.width,B-C));break;case "left":u.left>c.left&&(e=new $.J(c.left,v,u.left-c.left,x));break;case "right":G<y&&(e=new $.J(G,v,y-G,x))}e&&(c=e)}h++}while(!t&&5>h);q=0;for(d=f.length;q<d;q++)if((e=f[q])&&e.enabled()){if(e==
l||e==p||e==k||e==m)h=e,$.n(c)&&(h.eH=c,h.Qj=null,h.Tr(),h.Qd());e.da(!1)}return r.clone().round()};$.g.zZ=function(a){return a};$.g.JS=function(){return 199262208};
$.g.aQ=function(){var a;if(this.J(8388608)){var b=$.Ga(this.Mg,this.Lg,this.Wg,this.Xg);var c=0;for(a=b.length;c<a;c++){var d=b[c];d&&($.V(d),d.scale()||oA(this,d),d.ja(this.dc),d.P(this.La),d.wp(this.Ra,this.Ja,this.ka,this.ya),d.$(),d.da(!1))}this.I(8388608)}if(this.J(2097152)){b=$.Ga(this.b,this.Wf);c=0;for(a=b.length;c<a;c++)if(d=b[c])$.V(d),d.P(this.La),d.$(),d.da(!1);this.I(2097152)}if(this.J(4194304)){b=$.Ga(this.ag,this.cg,this.eg);c=0;for(a=b.length;c<a;c++)if(d=b[c])$.V(d),d.scale()||oA(this,
d),d.ja(this.dc),d.P(this.La),d.wp(this.Ra,this.Ja,this.ka,this.ya),d.$(),d.da(!1);this.I(4194304)}};
$.g.ei=function(a){this.N&&(this.tk(),this.hc.Eu(!0));var b;this.ob();if(!this.ef()){$.kr(this.b,this.Wf);if(this.J(2097156)){var c;var d=0;for(b=this.b.length;d<b;d++)if(c=this.b[d])c.B(c.xe),c.Qd(),$.Mu(c.labels()),$.Mu(c.kb()),!c||c.scale()&&String($.oa(c.scale()))!=this.lga||(c.scale(this.Va()),this.B(4));d=0;for(b=this.Wf.length;d<b;d++)if(c=this.Wf[d])$.Mu(c.labels()),$.Mu(c.kb()),!c||c.scale()&&String($.oa(c.scale()))!=this.mga||(this.s4(c),this.B(4))}this.J(4)&&(this.dc=this.FC(this.n0(a)),
this.iA(),this.B(this.JS()));this.aQ();$.Az(this,this.Ra,this.Ja,this.ka,this.ya);if(this.J(16777216)){if(d=$.jr(this,"crosshair"))$.V(d),d.ja(this.dc),d.P(this.La),d.$(),d.da(!1);this.I(16777216)}this.J(33554432)&&(this.N&&(d=this.tk(),$.V(d),d.ja(this.dc),d.P(this.La),d.$(),d.da(!1)),this.I(33554432));if(this.J(134217728)){this.U||(this.U=this.La.path(),this.U.zIndex(2));a=this.zK().i("stroke");d=$.bc(a);if(!$.Vo(a)&&$.n(a)){var e=this.dc.clone();b=e.top;c=b+e.height;var f=e.left;e=f+e.width;var h=
$.R((f+e)/2,d),k=$.R((b+c)/2,d);this.U.clear().moveTo(h,b).lineTo(h,c).moveTo(f,k).lineTo(e,k)}this.U&&(this.U.stroke(a),this.U.clip(this.dc));this.nb=[];a=this.dc.width/2;b=this.dc.height/2;this.nb[0]=$.gn(this.dc.left+a+d/2,this.dc.top,a-d/2,b-d/2);this.nb[1]=$.gn(this.dc.left,this.dc.top,a-d/2,b-d/2);this.nb[2]=$.gn(this.dc.left,this.dc.top+b+d/2,a-d/2,b-d/2);this.nb[3]=$.gn(this.dc.left+a+d/2,this.dc.top+b+d/2,a-d/2,b-d/2);this.B(67108864);this.I(134217728)}if(this.J(67108864)){a=this.CN().hm();
for(d=0;d<a.length;d++)if(b=a[d])b.P(this.La),b.ja(this.nb[d]),b.$();this.I(67108864)}$.mr(this.b,this.Wf)}};$.g.BN=function(){this.B(67108864,1)};$.g.CN=function(a){this.Ga||(this.Ga=new mA(this),$.W(this,"quarters",this.Ga));return $.n(a)?(this.Ga.K(a),this):this.Ga};$.g.Vba=function(){this.B(134217732,1)};$.g.zK=function(a){this.O||(this.O=new kA,$.W(this,"crossing",this.O),$.L(this.O,this.Vba,this));return $.n(a)?(this.O.K(a),this):this.O};
$.g.X=function(a,b){$.nA.u.X.call(this,a,b);this.zK(a.crossing);this.CN(a.quarters)};$.g.Ns=function(a,b,c){$.nA.u.Ns.call(this,a,b,c);"isVertical"in a&&(this.rs=!!a.isVertical);this.N&&this.tk(a.annotations);$.rA(this,a);this.Kg(a);b=this.Et();var d=$.n(a)?a:this.ma,e=$.n(a);this.Ul(d.lineAxesMarkers,this.Jm,b,e);this.Ul(d.rangeAxesMarkers,this.Sm,b,e);this.Ul(d.textAxesMarkers,this.Xm,b,e);"crosshair"in a&&this.$g().ia(!!c,a.crosshair)};
$.g.Kg=function(a){var b=this.Et(),c=$.n(a)?a:this.ma;a=$.n(a);this.Ul(c.xAxes,this.lh,b,a);this.Ul(c.yAxes,this.ti,b,a)};$.g.F=function(){var a=$.nA.u.F.call(this);a.crossing=this.zK().F();a.quarters=this.CN().F();return a};
$.g.Ms=function(a,b,c){$.nA.u.Ms.call(this,a,b,c);a.isVertical=this.za();var d=[];$.Pz(this,a,"xAxes",this.b,this.lW,b,c,d);$.Pz(this,a,"yAxes",this.Wf,this.lW,b,c,d);$.Pz(this,a,"xGrids",this.Lg,this.vJ,b,c,d);$.Pz(this,a,"yGrids",this.Mg,this.vJ,b,c,d);$.Pz(this,a,"xMinorGrids",this.Wg,this.vJ,b,c,d);$.Pz(this,a,"yMinorGrids",this.Xg,this.vJ,b,c,d);$.Pz(this,a,"lineAxesMarkers",this.ag,this.mW,b,c,d);$.Pz(this,a,"rangeAxesMarkers",this.cg,this.mW,b,c,d);$.Pz(this,a,"textAxesMarkers",this.eg,this.mW,
b,c,d);a.crosshair=this.$g().F()};$.g.lW=function(a,b,c,d){var e=a.F();$.Qz(e,"scale",a.scale(),b,c);d.push($.oa(a));return e};$.g.vJ=function(a,b,c,d){var e=a.F();$.Qz(e,"scale",a.scale(),b,c);if(a=a.axis())d=(0,$.za)(d,$.oa(a)),0>d?("layout"in e||(e.layout=a.Hb()?"horizontal":"vertical"),"scale"in e||$.Qz(e,"scale",a.scale(),b,c)):e.axis=d;return e};
$.g.mW=function(a,b,c,d){var e=a.F();a.P1()&&$.Qz(e,"scale",a.np(),b,c);if(a=a.axis())d=(0,$.za)(d,$.oa(a)),0>d?("layout"in e||(e.layout=a.Hb()?"horizontal":"vertical"),"scale"in e||$.Qz(e,"scale",a.scale(),b,c)):e.axis=d;return e};$.g.R=function(){$.td(this.b,this.Wf,this.ag,this.cg,this.eg,this.Lg,this.Mg,this.Wg,this.Xg,this.Ga,this.O,this.hc);delete this.b;delete this.Wf;this.hc=this.O=this.Ga=this.Xg=this.Wg=this.Mg=this.Lg=this.eg=this.cg=this.ag=null;$.nA.u.R.call(this)};var MG=$.nA.prototype;
MG.isVertical=MG.za;$.g=$.sA.prototype;$.g.la=function(){return this.index};$.g.mc=function(){return this.Aa};$.g.get=function(a){return this.Aa.data().get(this.index,a)};$.g.set=function(a,b){this.Aa.data().set(this.index,a,b);return this};$.g.mb=function(a){var b=this.mc(),c=$.fx(b.state,$.po,this.index);return $.n(a)&&c!=a?(a?b.Oj(this.index):b.Pd(this.index),this):c};$.g.selected=function(a){var b=this.mc(),c=$.fx(b.state,$.qo,this.index);return $.n(a)&&c!=a?(a?b.select(this.index):b.ae(this.index),this):c};
$.g.Fx=function(){return this.index<this.Aa.data().Gb()};$.g.Ia=function(a,b){return $.n(a)?$.n(b)?(this.Vm[a.toLowerCase()]=b,this):this.Vm[a.toLowerCase()]:this.Vm};$.g.kv=function(){this.Aa.kv()};$.g.Eg=function(a){this.kv();var b=this.Ia(a);return $.n(b)?b:this.get(a)};var NG=$.sA.prototype;NG.getIndex=NG.la;NG.getChart=NG.mc;NG.get=NG.get;NG.set=NG.set;NG.hovered=NG.mb;NG.selected=NG.selected;NG.exists=NG.Fx;NG.getStat=NG.Eg;$.H($.tA,$.sA);$.g=$.tA.prototype;$.g.Ue=function(){return this.W};$.g.get=function(a){a:{var b=this.W,c=this.index;if(b.gd){var d=void 0,e=b.gd.data[c];if(e)if(c=e.data,a in c)d=c[a];else{e=e.o.rawIndex;b=b.data();if($.n(e))d=b.hf(e);else{a=d;break a}d=b.Cl(e).Aj(d,e,a);c[a]=d}a=d}else a=b.data().get(c,a)}return a};$.g.set=function(a,b){this.W.zW(this.index,a,b);return this};$.g.Ada=function(){return this.W.eT(this.index)};$.g.Bda=function(){return this.W.fT(this.index)};
$.g.selected=function(a){var b=this.Ue(),c=$.fx(b.state,$.qo,this.index);return $.n(a)&&c!=a?(a?b.select(this.index):b.ae(this.index),this):c};$.g.mb=function(a){var b=this.Ue(),c=$.fx(b.state,$.po,this.index);return $.n(a)&&c!=a?(a?b.Oj(this.index):b.Pd(this.index),this):c};$.g.Fx=function(){return this.index<this.W.aa().Gb()};
$.g.kv=function(){$.tA.u.kv.call(this);var a=this.Aa,b=this.W,c=b.check($.Yl|$.wG),d=c?this.get("high")-this.get("low"):this.get("value");this.Ia("index",this.index);$.n(d)&&this.Ia("value",d);var e=this.get("size");if($.ea(a.Ia("dataPlotXSum"))){var f=d/a.Ia("dataPlotXSum");this.Ia("xPercentOfTotal",$.Qm(100*f,2))}$.ea(b.Ia("seriesXSum"))&&(f=d/b.Ia("seriesXSum"),this.Ia("xPercentOfSeries",$.Qm(100*f,2)));$.ea(b.Ia("seriesBubbleSizeSum"))&&(f=e/b.Ia("seriesBubbleSizeSum"),this.Ia("bubbleSizePercentOfSeries",
$.Qm(100*f,2)),f=e/a.Ia("dataPlotBubbleSizeSum"),this.Ia("bubbleSizePercentOfTotal",$.Qm(100*f,2)),this.Ia("bubbleSize",e));f=c?b.Ia("catYRangeSumArr_"):b.Ia("catYSumArr_");e=this.get("x");f?(this.Ia("categoryName",e),e=f[this.index],c?(f=d/b.Ia("seriesYRangeSum"),this.Ia("yPercentOfSeries",$.Qm(100*f,2)),f=d/a.Ia("dataPlotYSum"),this.Ia("yPercentOfTotal",$.Qm(100*f,2)),this.Ia("yPercentOfCategory",$.Qm(d/e*100,2)),f=e/a.Ia("dataPlotYSum"),this.Ia("categoryYRangePercentOfTotal",$.Qm(100*f,2)),this.Ia("categoryYRangeSum",
e),this.Ia("categoryYRangeMax",b.Ia("catYRangeMaxArr_")[this.index]),this.Ia("categoryYRangeMin",b.Ia("catYRangeMinArr_")[this.index]),this.Ia("categoryYRangeAverage",b.Ia("catYRangeAvgArr_")[this.index]),this.Ia("categoryYRangeMedian",b.Ia("catYRangeMedianArr_")[this.index]),this.Ia("categoryYRangeMode",b.Ia("catYRangeModeArr_")[this.index])):(f=d/b.Ia("seriesYSum"),this.Ia("yPercentOfSeries",$.Qm(100*f,2)),f=d/a.Ia("dataPlotYSum"),this.Ia("yPercentOfTotal",$.Qm(100*f,2)),this.Ia("yPercentOfCategory",
$.Qm(d/e*100,2)),f=e/a.Ia("dataPlotYSum"),this.Ia("categoryYPercentOfTotal",$.Qm(100*f,2)),this.Ia("categoryYSum",e),this.Ia("categoryYMax",b.Ia("catYMaxArr_")[this.index]),this.Ia("categoryYMin",b.Ia("catYMinArr_")[this.index]),this.Ia("categoryYAverage",b.Ia("catYAvgArr_")[this.index]),this.Ia("categoryYMedian",b.Ia("catYMedianArr_")[this.index]),this.Ia("categoryYMode",b.Ia("catYModeArr_")[this.index]))):(f=e/b.Ia("seriesXSum"),this.Ia("xPercentOfSeries",$.Qm(100*f,2)),f=d/b.Ia("seriesYSum"),this.Ia("yPercentOfSeries",
$.Qm(100*f,2)),f=e/a.Ia("dataPlotXSum"),this.Ia("xPercentOfTotal",$.Qm(100*f,2)),f=d/a.Ia("dataPlotYSum"),this.Ia("yPercentOfTotal",$.Qm(100*f,2)))};var OG=$.tA.prototype;OG.get=OG.get;OG.set=OG.set;OG.hovered=OG.mb;OG.selected=OG.selected;OG.getSeries=OG.Ue;OG.getStackValue=OG.Ada;OG.getStackZero=OG.Bda;OG.exists=OG.Fx;$.H(uA,$.tA);uA.prototype.b=function(){return this.W.l0?Math.abs(this.W.l0(this.index)):Math.abs(this.W.data().o(this.index,"size"))};var PG=uA.prototype;PG.getPixelRadius=PG.b;$.sG={};$.bB=2048;$.wG=16384;$.Yl=65536;$.H($.xA,$.od);$.g=$.xA.prototype;$.g.sE=$.ia;$.g.type=0;$.g.flags=0;$.g.sp=["value"];$.g.ol="value";$.g.vh={};
$.g.ah=function(a,b){var c=this.W.check(32768),d=this.W.check($.Yl),e=this.W.check(8),f=this.W.Rg(),h={},k="hatchFill",l="stroke",m="fill",p=e?"stroke":"path";d?(a>b?this.Ud&&(p="high",k="highHatchFill"):this.me&&(p="low",k="lowHatchFill"),h.path=p,h.he=k):f?(this.W.Tg()||(this.ga?a<this.ba&&(p="negative",k="negativeHatchFill"):this.Ga&&(a>b||(0,window.isNaN)(b)?(p="rising",k="risingHatchFill"):a<b&&(p="falling",k="fallingHatchFill"))),e?h.stroke=p:(h.path=p,h.he=k)):(this.W.Tg()||(this.ga?a<this.ba&&
(l="negativeStroke",m="negativeFill",k="negativeHatchFill"):this.Ga&&(a>b||(0,window.isNaN)(b)?(l="risingStroke",m="risingFill",k="risingHatchFill"):a<b&&(l="fallingStroke",m="fallingFill",k="fallingHatchFill"))),h.stroke=l,c||(h.fill=m,h.he=k));return h};$.g.ue=function(){return this.sp};
$.g.rd=function(a,b){if(null!=this.W.kj().i("point"))this.jn=this.uca,this.sE=this.Via;else{a:{var c=this.vh;for(var d in c){var e=a.f[d];if(!e||e.Mb!=c[d]){c=!1;break a}}c=!0}if(c)this.jn=this.vca,this.sE=this.mB;else{$.cl(300,null,[this.W.name(),this.W.Sj(),this.vh]);this.jn=$.ia;return}}this.Wc=a;this.N=!1;this.ya=!!(this.flags&16)&&!!this.W.i("connectMissingPoints");this.Ac=this.W.Nj();this.j=this.W.mr;this.za=this.W.i("isVertical");this.Yu=$.n(b)?b:2.5<this.W.XZ-this.j&&10<this.j;c=this.W.kj();
d=this.W;CA(c.i("start"),d);this.ba=this.W.Ze.i("baseline");this.Tf=!!this.W.cl()&&this.W.cl().Uu();c=this.W.Sa();this.ga=$.n(c.dd("negativeStroke"))||$.n(c.dd("negativeFill"));this.Ga=$.n(c.dd("risingStroke"))||$.n(c.dd("fallingStroke"))||$.n(c.dd("risingFill"))||$.n(c.dd("fallingFill"));this.xc=$.n(c.dd("highFill"));this.Tc=$.n(c.dd("lowFill"));this.Ud=$.n(c.dd("highStroke"))||this.xc;this.me=$.n(c.dd("lowStroke"))||this.Tc;this.prevValue=window.NaN};
$.g.uca=function(a,b){var c=this.W.kj(),d=this.W;CA(c.i("point"),d,a,b)};$.g.vca=function(a,b){if(a.o("missing"))this.Jz(a,b|this.Ac),this.N=this.N&&this.ya;else{if(this.Tf){var c=$.n(a.o("category"))?a.o("category"):a.la();this.j=this.W.Zr(c)}this.N?this.fg(a,b|this.Ac):this.zo(a,b|this.Ac);this.N=!0}};$.g.zl=function(){if(this.jn!=$.ia){null!=this.W.kj().i("point")||this.vm();var a=this.W.kj(),b=this.W;CA(a.i("finish"),b)}};$.g.zo=function(a,b){this.fg(a,b)};$.g.fg=function(){};
$.g.Jz=function(){this.ya||this.vm()};$.g.vm=function(){};$.g.mB=function(a,b){this.W.Rg()||(NA(this.Wc,b,a.o("shapeNames")),this.Wc.lB(b,a.o("shapeNames")))};$.g.Via=function(a,b){var c=this.W.kj(),d=this.W;CA(c.i("updatePoint"),d,a,b,!0)};$.g.bt=function(){};$.g.yJ=function(){};$.g.R=function(){this.Wc=this.W=null;$.xA.u.R.call(this)};var hea;hea=10*1E-6;$.QG={name:"fill",Mb:"path",Sb:"fill",Tb:null,Vb:!0,Bb:!1,zIndex:0};$.RG={name:"stroke",Mb:"path",Sb:null,Tb:"stroke",Vb:!0,Bb:!1,zIndex:2E-6};$.SG={name:"negative",Mb:"path",Sb:null,Tb:"negativeStroke",Vb:!0,Bb:!1,zIndex:2E-6};$.TG={name:"hatchFill",Mb:"path",Sb:"hatchFill",Tb:null,Vb:!0,Bb:!0,zIndex:1E-6};$.UG={name:"lowHatchFill",Mb:"path",Sb:"lowHatchFill",Tb:null,Vb:!0,Bb:!0,zIndex:1E-6};$.VG={name:"highHatchFill",Mb:"path",Sb:"highHatchFill",Tb:null,Vb:!0,Bb:!0,zIndex:1E-6};
$.WG={name:"circle",Mb:"circle",Sb:"fill",Tb:"stroke",Vb:!0,Bb:!1,zIndex:0};$.XG={name:"hatchFill",Mb:"circle",Sb:"hatchFill",Tb:null,Vb:!0,Bb:!0,zIndex:1E-6};$.YG={name:"negativeFill",Mb:"path",Sb:"negativeFill",Tb:null,Vb:!0,Bb:!1,zIndex:0};$.ZG={name:"negativeStroke",Mb:"path",Sb:null,Tb:"negativeStroke",Vb:!0,Bb:!1,zIndex:2E-6};$.$G={name:"negative",Mb:"circle",Sb:"negativeFill",Tb:"negativeStroke",Vb:!0,Bb:!1,zIndex:0};
$.aH={name:"negative",Mb:"path",Sb:"negativeFill",Tb:"negativeStroke",Vb:!0,Bb:!1,zIndex:0};$.bH={name:"negativeHatchFill",Mb:"circle",Sb:"negativeHatchFill",Tb:null,Vb:!0,Bb:!0,zIndex:1E-6};$.cH={name:"rising",Mb:"path",Sb:"risingFill",Tb:"risingStroke",Vb:!0,Bb:!1,zIndex:0};$.dH={name:"rising",Mb:"path",Sb:null,Tb:"risingStroke",Vb:!0,Bb:!1,zIndex:2E-6};$.eH={name:"risingStroke",Mb:"path",Sb:null,Tb:"risingStroke",Vb:!0,Bb:!1,zIndex:2E-6};
$.fH={name:"risingFill",Mb:"path",Sb:"risingFill",Tb:null,Vb:!0,Bb:!1,zIndex:0};$.gH={name:"risingHatchFill",Mb:"path",Sb:"risingHatchFill",Tb:null,Vb:!0,Bb:!0,zIndex:1E-6};$.hH={name:"falling",Mb:"path",Sb:"fallingFill",Tb:"fallingStroke",Vb:!0,Bb:!1,zIndex:0};$.iH={name:"falling",Mb:"path",Sb:null,Tb:"fallingStroke",Vb:!0,Bb:!1,zIndex:2E-6};$.jH={name:"fallingStroke",Mb:"path",Sb:null,Tb:"fallingStroke",Vb:!0,Bb:!1,zIndex:2E-6};
$.kH={name:"fallingFill",Mb:"path",Sb:"fallingFill",Tb:null,Vb:!0,Bb:!1,zIndex:0};$.lH={name:"fallingHatchFill",Mb:"path",Sb:"fallingHatchFill",Tb:null,Vb:!0,Bb:!0,zIndex:1E-6};$.mH={name:"negativeHatchFill",Mb:"path",Sb:"negativeHatchFill",Tb:null,Vb:!0,Bb:!0,zIndex:1E-6};$.nH={name:"highFill",Mb:"path",Sb:"highFill",Tb:null,Vb:!0,Bb:!1,zIndex:0};$.oH={name:"highStroke",Mb:"path",Sb:null,Tb:"highStroke",Vb:!0,Bb:!1,zIndex:2E-6};
$.pH={name:"high",Mb:"path",Sb:"highFill",Tb:"highStroke",Vb:!0,Bb:!1,zIndex:0};$.qH={name:"low",Mb:"path",Sb:"lowFill",Tb:"lowStroke",Vb:!0,Bb:!1,zIndex:0};$.rH={name:"lowFill",Mb:"path",Sb:"lowFill",Tb:null,Vb:!0,Bb:!1,zIndex:0};$.sH={name:"lowStroke",Mb:"path",Sb:null,Tb:"lowStroke",Vb:!0,Bb:!1,zIndex:2E-6};$.tH={name:"path",Mb:"path",Sb:"fill",Tb:"stroke",Vb:!0,Bb:!1,zIndex:0};$.uH={name:"front",Mb:"path",Sb:null,Tb:"stroke",Vb:!0,Bb:!1,zIndex:5*1E-6};var hB,Hz,Vca,Kz;$.tG=8388608;hB=2;Hz=4;Vca=6;Kz=7;$.H(zA,$.Yq);zA.prototype.sa=0;zA.prototype.qa=7;zA.prototype.Ew=function(a){return $.n(a)?(this.b=$.A(a)?(0,$.Wa)(a,function(a){return{name:String(a.name),Mb:String(a.shapeType),Sb:a.fillName,Tb:a.strokeName,Vb:!!a.canBeHoveredSelected,nk:!!a.scrollerSelected,Bb:!!a.isHatchFill,zIndex:+a.zIndex||0}}):null,this.ta(2),this):(0,$.Wa)(this.b||this.Oa.nh.Jb,function(a){return{name:a.name,shapeType:a.Mb,fillName:a.Sb,strokeName:a.Tb,canBeHoveredSelected:a.Vb,scrollerSelected:a.nk,isHatchFill:a.Bb,zIndex:a.zIndex}})};
var vH={};$.hq(vH,[[0,"start",$.Vq],[0,"point",$.Vq],[0,"updatePoint",$.Vq],[0,"finish",$.Vq],[0,"needsZero",$.uq],[0,"needsWidth",$.uq],[0,"yValues",$.Uq]]);$.U(zA,vH);$.g=zA.prototype;$.g.th=function(a){return null!=this.Ma[a]};$.g.F=function(){var a=zA.u.F.call(this);$.Hq(this,vH,a,"Series Rendering Settings");this.b&&(a.shapes=this.Ew());return a};$.g.X=function(a,b){zA.u.X.call(this,a);$.zq(this,vH,a,b);var c=a.shapes;$.n(c)&&this.Ew(c)};
$.g.Ce=function(a,b){return $.E(b)?(this.point(b),!0):!1};$.g.R=function(){zA.u.R.call(this);this.b=this.Oa=null};BA.prototype.Xc=function(a,b,c){if(c){var d={};for(var e=0;e<c.length;e++)d[c[e]]=!0}return this.series.vf.Xc(a||$.Zl,d,b)};BA.prototype.Eg=function(a){var b=this.series;b.Aa.kv();return b.Ia(a)};$.H(AA,BA);AA.prototype.f=function(a){return this.b.get(a)};AA.prototype.eT=function(){var a=this.b.o("stackedValue");return $.n(a)?a:this.b.get("value")};
AA.prototype.fT=function(){var a=this.b.o("stackedZero");return $.n(a)?a:0};var wH=zA.prototype;wH.shapes=wH.Ew;wH=BA.prototype;wH.getShapesGroup=wH.Xc;wH.getStat=wH.Eg;wH=AA.prototype;wH.getDataValue=wH.f;wH.getStackedValue=wH.eT;wH.getStackedZero=wH.fT;$.H($.EA,$.od);$.g=$.EA.prototype;$.g.eO=function(a,b,c){a&&(b?delete a.tag:a.tag={W:this.W,index:c},a.td(b))};$.g.Wu=function(){var a,b;for(a in this.g){var c=this.g[a];for(b=0;b<c.length;b++){var d=c[b];d.parent(null);$.K(d,$.zg)&&(d.clear(),d.jc(1,0,0,1,0,0))}this.G[a]=0;c.length=0}};$.g.Xc=function(a,b,c,d){return $.IA(this,a,b,c,d)};$.g.LE=ba(25);$.g.ct=function(a,b){if($.A(b))for(var c=0;c<b.length;c++)this.ct(a,b[c]);else if(b)for(c in b)b[c].zIndex(this.f[c].zIndex+a)};
$.g.tm=function(a,b){if($.A(b))for(var c=0;c<b.length;c++)JA(this,a,b[c]);else b&&JA(this,a,b)};$.g.Ir=function(a){for(var b in this.g)for(var c=this.g[b],d=0;d<c.length;d++)c[d].clip(a)};$.g.R=function(){for(var a in this.D)$.td(this.D[a]),this.D[a].length=0,this.g[a].length=0;this.f=this.Dd=null;$.EA.u.R.call(this)};$.H($.KA,$.EA);$.KA.prototype.Xc=function(a,b,c,d){var e=this.W.aa();c=c||0;this.W.Rg()&&this.W.Qs()&&(c+=Number(e.o("stateZIndex"))||Number(e.get("zIndex"))||0);a=$.KA.u.Xc.call(this,a,b,c,d);e.o(this.O,a);return a};$.KA.prototype.ct=function(a,b){var c=this.W.aa();a+=this.W.Qs()&&Number(c.get("zIndex"))||0;$.KA.u.ct.call(this,a,b)};
$.KA.prototype.lB=function(a,b){var c=this.W.aa(),d,e,f;for(f in b){var h=this.f[f];if(h&&!h.Bb){var k=h.fill(this.W,+a,void 0,void 0,"fill");h=h.stroke(this.W,+a,void 0,void 0,"stroke");k&&$.Wl(k)&&(d=k);h&&$.Wl(h)&&(e=h)}}c.o("markerFill",d);c.o("markerStroke",e)};$.H($.LA,$.EA);$.g=$.LA.prototype;$.g.eO=function(a,b){$.LA.u.eO.call(this,a,b,!0)};$.g.Wu=function(){$.LA.u.Wu.call(this);this.j={}};$.g.Xc=function(a,b){var c=NA(this,a,b),d=this.W.aa(),e=d.la();this.b=this.j[c];if(!this.b){var f=$.LA.u.Xc.call(this,a,b);this.b=this.j[c]={Ew:[f],rows:[],YT:[]};(0,window.isNaN)(e)||(this.b.YT.push(e),this.b.rows.push(d.current()))}return this.b.Ew[this.b.Ew.length-1]};$.g.LE=ba(24);
$.g.ct=function(a){var b=this.W.aa().current(),c=this.W.aa().la(),d;for(d in this.j)for(var e=this.j[d],f=e.rows,h=0,k=f.length;h<k;h++){this.W.aa().ku(f[h],e.YT[h]);for(var l=e.Ew,m=0;m<l.length;m++)$.LA.u.ct.call(this,a,l[m])}b&&this.W.aa().ku(b,c)};
$.g.tm=function(a){var b=this.W.aa().current();this.N=this.W.aa().la();for(var c in this.j)for(var d=this.j[c],e=d.rows,f=0,h=e.length;f<h;f++){this.W.aa().ku(e[f],d.YT[f]);for(var k=d.Ew,l=0;l<k.length;l++)$.LA.u.tm.call(this,a,k[l])}b&&this.W.aa().ku(b,this.N);this.N=void 0};
$.g.lB=function(a,b){var c=this.W.aa(),d=c.la();d=$.n(this.N)?this.N:d;if(b&&0<=d){var e,f,h;for(h in b){var k=this.f[h];k&&!k.Bb&&(d=k.fill(this.W,a,void 0,void 0,"fill"),k=k.stroke(this.W,a,void 0,void 0,"stroke"),d&&$.Wl(d)&&(e=d),k&&$.Wl(k)&&(f=k))}c.o("markerFill",e);c.o("markerStroke",f)}};$.g.R=function(){this.j=null;$.LA.u.R.call(this)};$.H(OA,$.Yq);$.g=OA.prototype;$.g.qa=5;$.g.sa=16;$.g.mode=function(a){return $.n(a)?(a=$.xk(Bda,a,"both"),this.pm!=a&&(this.pm=a,this.ta(5)),this):this.pm};$.g.xE=function(a){return $.n(a)?(a=$.so(a),this.ba!=a&&(this.ba=a,this.j=this.g=void 0,this.ta(5)),this):this.ba};$.g.zE=function(a){return $.n(a)?(a=$.so(a),this.j!=a&&(this.j=a,this.ta(5)),this):this.j};$.g.yE=function(a){return $.n(a)?(a=$.so(a),this.g!=a&&(this.g=a,this.ta(5)),this):this.g};
$.g.tE=function(a){return $.n(a)?(a=$.so(a),this.N!=a&&(this.N=a,this.f=this.b=void 0,this.ta(5)),this):this.N};$.g.wE=function(a){return $.n(a)?(a=$.so(a),this.f!=a&&(this.f=a,this.ta(5)),this):this.f};$.g.uE=function(a){return $.n(a)?(a=$.so(a),this.b!=a&&(this.b=a,this.ta(5)),this):this.b};$.g.aP=function(a){return $.n(a)?(a=$.N(a),(0,window.isNaN)(a)||this.U==a||(this.U=a,this.ta(1)),this):this.U};
$.g.UO=function(a){return $.n(a)?(a=$.N(a),(0,window.isNaN)(a)||this.G==a||(this.G=a,this.ta(1)),this):this.G};$.g.gJ=function(a,b,c,d,e){if($.n(a)){var f=$.E(a)?a:$.Yb.apply(null,arguments);f!=this.O&&(this.O=f,this.ta(1));return this}return this.O};$.g.$I=function(a,b,c,d,e){if($.n(a)){var f=$.E(a)?a:$.Yb.apply(null,arguments);f!=this.D&&(this.D=f,this.ta(1));return this}return this.D};
$.g.XR=function(a,b,c,d,e,f,h,k){if(PA(a)){a=b?e:d;var l=h!=(b?d:e);d=k!=(b?d:e);e=b?this.aP():this.UO();b^c?(b=e||0,l&&f.moveTo(h,a-b/2).lineTo(h,a+b/2),f.moveTo(h,a).lineTo(k,a),d&&f.moveTo(k,a-b/2).lineTo(k,a+b/2)):(b=e||0,l&&f.moveTo(a-b/2,h).lineTo(a+b/2,h),f.moveTo(a,h).lineTo(a,k),d&&f.moveTo(a-b/2,k).lineTo(a+b/2,k))}};
$.g.$=function(a,b){var c=a?this.Oa.cl():this.Oa.bb(),d=this.Oa.aa(),e=d.o("x"),f=d.o("value"),h=$.N(a?d.get("x"):d.get("value")),k=this.QS(a),l=this.Oa,m=l.aa().la();d=l.xC.length?l.xC.pop():$.nk().zIndex(4E-6);l.va.fc(d);l.vf.eO(d,l.check(524288),m);d.stroke(k);d.fill(null);l.Nz.push(d);k=this.bs(a);l=k[0];k=k[1];if(0!==l||0!==k)l?(l=c.transform(h-l),l=this.Oa.Ie(l,a)):l=a?e:f,k?(h=c.transform(h+k),h=this.Oa.Ie(h,a)):h=a?e:f,this.XR(c,a,b,e,f,d,l,h)};
$.g.QS=function(a){a=this.Oa.QS(a);$.D(a)&&"keys"in a&&!$.D(a.mode)&&(a.mode=this.Oa.lb());return a};$.g.bs=function(a){if(!Jz(this.Oa))return[0,0];a=a?"x":"value";var b=a+"Error",c=a+"LowerError",d=a+"UpperError",e=this.Oa.aa();b=e.get(b)||this[b]();c=e.get(c)||this[c]();d=e.get(d)||this[d]();var f=$.oo(b)||!$.wo(b),h=$.oo(d)||!$.wo(d)||f;f=$.oo(c)||!$.wo(c)||f;a=e.get(a);b=$.M(b,a);c=f?c?$.M(c,a):b/2:0;d=h?d?$.M(d,a):b/2:0;return[c,d]};
$.g.F=function(){var a=OA.u.F.call(this);a.mode=this.mode();a.xError=this.xE();$.n(this.zE())&&(a.xUpperError=this.zE());$.n(this.yE())&&(a.xLowerError=this.yE());a.valueError=this.tE();$.n(this.wE())&&(a.valueUpperError=this.wE());$.n(this.uE())&&(a.valueLowerError=this.uE());a.xErrorWidth=this.aP();a.valueErrorWidth=this.UO();$.E(this.xErrorStroke)&&($.E(this.gJ())?$.el(8,null,["x error stroke"]):a.xErrorStroke=$.Jl(this.gJ()));$.E(this.valueErrorStroke)&&($.E(this.$I())?$.el(8,null,["value error stroke"]):
a.valueErrorStroke=$.Jl(this.$I()));return a};$.g.Od=function(a){return $.z(a)||$.ea(a)||null===a?{xError:a,valueError:a}:$.da(a)?{mode:a}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?("xError"in c?($.V(this),this.xE(c.xError),this.tE(c.valueError),this.da(!0)):"mode"in c&&(c.mode?this.mode("both"):this.mode("none")),!0):!1};
$.g.X=function(a,b){OA.u.X.call(this,a,b);this.mode($.n(a.mode)||"none"!=this.pm?a.mode:"both");this.xE(a.xError);this.zE(a.xUpperError);this.yE(a.xLowerError);this.tE(a.valueError);this.wE(a.valueUpperError);this.uE(a.valueLowerError);this.aP(a.xErrorWidth);this.UO(a.valueErrorWidth);this.gJ(a.xErrorStroke);this.$I(a.valueErrorStroke)};var xH=OA.prototype;xH.mode=xH.mode;xH.xError=xH.xE;xH.xUpperError=xH.zE;xH.xLowerError=xH.yE;xH.valueError=xH.tE;xH.valueUpperError=xH.wE;xH.valueLowerError=xH.uE;
xH.xErrorWidth=xH.aP;xH.valueErrorWidth=xH.UO;xH.xErrorStroke=xH.gJ;xH.valueErrorStroke=xH.$I;$.H($.QA,fv);var yH={};$.gq(yH,0,"text",$.Pq);$.U($.QA,yH);$.g=$.QA.prototype;$.g.reset=function(){this.Ma={};this.Mp=this.Uo=this.Iv=this.Hv=this.Kv=this.RT=this.ST=this.QT=this.UT=this.ms=this.TT=void 0};$.g.ZC=function(a){return $.n(a)?(a=$.wo(a)?5:+a,this.TT!=a&&(this.TT=a,this.ta(1)),this):this.TT};$.g.Xx=function(a){return $.n(a)?(a=!!a,this.ms!=a&&(this.ms=a,this.ta(1)),this):this.ms};$.g.$C=function(a){return $.n(a)?($.z(a)&&(a=$.Pk(a)),this.UT!=a&&(this.UT=a,this.ta(1)),this):this.UT};
$.g.ns=function(a,b,c,d,e,f,h){if($.n(a)){var k=null===a||$.E(a)?a:$.Vb.apply(null,arguments);k!=this.QT&&(this.QT=k,this.ta(1));return this}return this.QT};$.g.ps=function(a,b,c,d,e){if($.n(a)){var f=null===a||$.E(a)?a:$.Yb.apply(null,arguments);f!=this.ST&&(this.ST=f,this.ta(1));return this}return this.ST};$.g.os=function(a,b,c,d){if($.n(a)){var e=$.E(a)?a:$.$b.apply(null,arguments);e!=this.RT&&(this.RT=e,this.ta(1));return this}return this.RT};
$.g.Jv=function(a){return $.n(a)?($.E(a)||(a=$.Ik(a)),this.Kv!=a&&(this.Kv=a,this.ta(1)),this):this.Kv};$.g.Kt=function(a,b,c,d,e,f,h){if($.n(a)){var k=$.Vb.apply(null,arguments);this.Hv!=k&&(this.Hv=k,this.ta(1));return this}return this.Hv};$.g.Lt=function(a,b,c,d,e){if($.n(a)){var f=$.Yb.apply(null,arguments);this.Iv!=f&&(this.Iv=f,this.ta(1));return this}return this.Iv};$.g.Lv=function(a){return $.n(a)?(a=$.N(a),this.Uo!=a&&(this.Uo=a,this.ta(1)),this):this.Uo};$.g.format=function(a){return this.text(a)};
$.g.disabled=function(a){return $.n(a)?(a=!!a,this.Mp!=a&&(this.Mp=a,this.ta(1)),this):this.Mp};
$.g.F=function(){var a=$.QA.u.F.call(this);$.Hq(this,vF,a,"Legend Item Settings");$.n(this.ZC())&&(a.iconTextSpacing=this.ZC());$.n(this.Xx())&&(a.iconEnabled=this.Xx());$.n(this.Lv())&&(a.iconSize=this.Lv());$.z(this.$C())&&(a.iconType=this.$C());$.z(this.Jv())&&(a.iconMarkerType=this.Jv());$.n(this.disabled())&&(a.disabled=this.disabled());$.n(this.ns())&&!$.E(this.ns())&&(a.iconFill=$.Jl(this.ns()));$.n(this.ps())&&!$.E(this.ps())&&(a.iconStroke=$.Jl(this.ps()));$.n(this.os())&&!$.E(this.os())&&
(a.iconHatchFill=$.Jl(this.os()));$.n(this.Kt())&&!$.E(this.Kt())&&(a.iconMarkerFill=this.Kt());$.n(this.Lt())&&!$.E(this.Lt())&&(a.iconMarkerStroke=this.Lt());return a};
$.g.X=function(a,b){$.V(this);$.QA.u.X.call(this,a,b);b?$.yq(this.ma,yH,a):$.zq(this,yH,a);this.ZC(a.iconTextSpacing);this.Xx(a.iconEnabled);this.$C(a.iconType);this.ps(a.iconStroke);this.ns(a.iconFill);this.os(a.iconHatchFill);this.Jv(a.iconMarkerType);this.Kt(a.iconMarkerFill);this.Lt(a.iconMarkerStroke);this.Lv(a.iconSize);this.disabled(a.disabled);this.da(!0)};var zH=$.QA.prototype;zH.iconTextSpacing=zH.ZC;zH.iconEnabled=zH.Xx;zH.iconType=zH.$C;zH.iconFill=zH.ns;zH.iconStroke=zH.ps;
zH.iconHatchFill=zH.os;zH.iconMarkerType=zH.Jv;zH.iconMarkerFill=zH.Kt;zH.iconMarkerStroke=zH.Lt;zH.iconSize=zH.Lv;zH.format=zH.format;zH.disabled=zH.disabled;$.H($.nx,$.iu);$.xq($.nx,"fill negativeFill risingFill fallingFill stroke lowStroke highStroke lowFill highFill negativeStroke risingStroke fallingStroke medianStroke stemStroke whiskerStroke hatchFill negativeHatchFill risingHatchFill fallingHatchFill highHatchFill lowHatchFill whiskerWidth type size".split(" "),"normal");$.nx.prototype.sa=$.iu.prototype.sa|130976;$.nx.prototype.qa=$.iu.prototype.qa|2132;$.nx.prototype.sP=hea;
$.nx.prototype.FE={"%BubbleSize":"size","%RangeStart":"low","%RangeEnd":"high","%XValue":"x"};var WA={};$.g=$.nx.prototype;$.g.VZ=!0;$.g.cV=window.NaN;$.g.s2=window.NaN;$.g.ZN=window.NaN;$.g.YN=window.NaN;$.g.dV=window.NaN;$.g.t2=window.NaN;$.g.Na=function(){return this.je};$.g.Sj=function(a){return $.n(a)?((a=this.Aa.tv(a))&&a[0]!=this.je&&(this.je=a[0],this.mz(a[1],!1),this.B(5664,this.qa)),this):this.je};
$.g.mz=function(a,b){var c=new $.sG[a.Ab](this);this.nh&&this.va&&(!this.check(4)&&this.check(4,a,c)?($.qd(this.va),this.va=null):this.check(4)&&!this.check(4,a,c)&&(this.va=null));this.nh=a;this.St=this.qu=null;$.qd(this.Se);this.Se=c;$.V(this);this.LD();$.E(this.Ze.Sr().O0)?(this.Ye(),c=$.E(this.mc().vM)&&this.mc().vM(),c=this.Ze.Sr().O0(this.je,c),this.Fa(c)):this.ma=this.Ze.Sr()[$.om(this.je)]||{};this.ca.Ye();$.W(this,"normal",this.ca);hy(this.ca);this.ca.ia(!0,{});this.xa.Ye();$.W(this,"hovered",
this.xa);hy(this.xa);this.xa.ia(!0,{});this.Ca.Ye();$.W(this,"selected",this.Ca);hy(this.Ca);this.Ca.ia(!0,{});this.check(256)?this.cH={}:this.cH&&delete this.cH;this.zd.xPointPosition=.5;this.YJ(this.ma,!0,!0,b);this.da(!1);c=this.eu;c.ma=this.ma.rendering||{};c.ma.needsZero=c.Oa.check(1);c.ma.needsWidth=c.Oa.check(1024);c.ma.yValues=$.Ja(c.Oa.Se.ue(),0);$.RA(this)};
$.g.LD=function(){$.qd(this.vf);var a=this.eu;this.vf=new (2==this.nh.Fb?$.KA:$.LA)(this,a.b||a.Oa.nh.Jb,this.check(524288),null,this.nh.Cb,this.Lp)};$.g.YJ=function(a,b,c,d){Jz(this)&&this.error().ia(!!c,a.error);b&&this.ss().reset();this.ss().ia(!!c,a.legendItem);"tooltip"in a&&this.Xa().ia(!!c,a.tooltip);$.n(d)||(d=c);d&&(this.clip(a.clip),this.zIndex(a.zIndex));this.Ys().ia(!!c,a.a11y||this.ma.a11y)};$.g.Aha=function(a){var b=1024,c=1;$.X(a,4)&&(c|=4);$.X(a,2)&&(b|=32768);this.B(b,c)};
$.g.la=function(){return this.fd?-1:(0,$.za)(this.Ze.Te(),this)};$.g.mh=function(a){return $.n(a)?(this.Dq=a,this):this.Dq};$.g.id=function(a){return $.n(a)?(a=String(a),this.Yd!=a&&(this.Yd=a,this.ta(64)),this):this.Yd||String(this.Dq)};$.g.name=function(a){return $.n(a)?(a=String(a),this.kr!=a&&(this.kr=a,this.ta(64),this.Aa.i("categorizedBySeries")&&this.cl().ta(4)),this):this.kr||"Series "+this.la()};
$.g.o=function(a,b){this.ki||(this.ki={});if($.n(a)){if($.n(b)){var c=this.ki[a];$.n(c)&&c==b||(this.ki[a]=b);return this}return $.D(a)?(this.ki!=a&&(this.ki=a),this):this.ki[a]}return this.ki};$.g.check=function(a,b,c){return!!(a&(b||this.nh).zb|a&(c||this.Se).flags)};$.g.Qs=function(){return this.check(1048576)};$.g.jK=function(){return!0};$.g.hk=function(){return this.check(2)};$.g.Yo=function(){return!!this.eu.i("needsWidth")};$.g.jV=function(){return!0};$.g.Rg=function(){return this.check(512)};
$.g.Ii=function(){return!0};$.g.Qt=ba(12);$.g.i1=function(){return this.Tg()};$.g.wG=function(){var a=0;if(this.Yo()){a=this.qG("pointWidth");a=$.M(a,this.Zr());var b=this.qG("maxPointWidth");null!=b&&(b=$.M(b,this.Zr()),a=Math.min(a,b))}return a};$.g.ph=function(){return this.lF||$.$b("diagonal-brick")};$.g.Sq=function(){return this.qa};$.g.sq=function(a){this.zd.color=a;this.ca.Eb().vI(this.wv());this.ca.Eb().wI(this.Ox());this.ca.Kk().vI($.n(void 0)?void 0:$.Vl("fill",1,!1)(this,$.Zl,!0));this.ca.Kk().wI($.Il(this.Sa().Kk().fill()))};
$.g.Cw=function(a){this.lF=$.$b(a)};$.g.wp=function(a,b,c,d){this.Ng||(this.Ng=new $.tu,this.Ng.set(0));return $.n(a)?(this.Ng.K.apply(this.Ng,arguments),this):this.Ng};$.g.sF=function(a){var b=0>a;a=Math.abs(a);a=(a-this.cV)/(this.s2-this.cV);if((0,window.isNaN)(a)||!(0,window.isFinite)(a))a=.5;a=this.dV+a*(this.t2-this.dV);return b?-a:a};$.g.ue=function(){return this.eu.i("yValues")};$.g.jm=function(){return this.va};$.g.mc=function(){return this.Aa};$.g.aa=function(){return this.iterator||this.vc()};
$.g.vc=function(){return this.iterator=this.Qf()};$.g.cl=function(){return this.Aa.Va()};$.g.bb=function(a){if($.n(a)){if(a){if(a=$.Xs(this.wc,a,null,15,null,this.kg,this)){var b=this.wc==a;this.wc=a;this.wc.da(b);b||this.B(1024,5)}}else this.wc&&(this.wc&&$.Zq(this.wc,this.kg,this),this.wc=null,this.B(1024,5));return this}return this.wc||this.Ze.bb()};$.g.kg=function(a){var b=0;$.X(a,4)&&(b|=4);$.X(a,2)?this.B(1024,b|1):this.ta(b)};$.g.sr=function(a,b){return this.Ie(this.cl().transform(a,b),!0)};
$.g.qp=function(a,b){return this.Ie(this.bb().transform(a,b),!1)};$.g.kj=function(a){return $.n(a)?(this.eu.K(a),this):this.eu};$.g.error=function(a){Jz(this)||$.el(12,void 0,[this.Sj()]);this.lv||(this.lv=new OA(this),$.L(this.lv,this.xga,this));return $.n(a)?(this.lv.K(a),this):this.lv};$.g.xga=function(a){var b=0;$.X(a,1)&&(b|=1);$.X(a,4)&&(b|=4);this.B(1024,b)};$.g.bs=function(a){return this.error().bs(a)};
$.g.QS=function(a){var b=a?this.error().gJ():this.error().$I();if($.E(b)){var c=this.Ae();b=$.Yb(b.call(c,c))}if(this.Qs()){var d=this.K0(a?"xErrorStroke":"valueErrorStroke");$.E(d)?(c=this.Ae(b),d=$.Yb(d.call(c,c))):d&&(d=$.Yb(d))}return d||b};
$.g.XR=function(a){if(a=!a.o("missing")){var b=this.error(),c=b.Oa.aa();a=c.get("xError")||b.xE();var d=c.get("xLowerError")||b.yE(),e=c.get("xUpperError")||b.zE(),f=c.get("valueError")||b.tE(),h=c.get("valueLowerError")||b.uE();b=c.get("valueUpperError")||b.wE();f=$.n(h)||$.n(b)||$.oo(f)||!$.wo(f);a=$.n(d)||$.n(e)||$.oo(a)||!$.wo(a)||f}if(a)switch(a=this.error(),d=a.mode(),e=this.i("isVertical"),d){case "x":a.$(!0,e);break;case "value":a.$(!1,e);break;case "both":a.$(!0,e),a.$(!1,e)}};
$.g.clip=function(a){return $.n(a)?(null===a&&(a=!1),this.Nf!=a&&(this.Nf=a,this.B(4096,1)),this):this.Nf};$.g.ss=function(a){this.$o||(this.$o=new $.QA,$.L(this.$o,this.wV,this));return $.n(a)?(this.$o.K(a),this):this.$o};$.g.wV=function(a){var b=64,c=!1;$.X(a,8)&&(b|=8,c=!0);this.ta(b,c)};
$.g.LC=function(a){var b=this.ss();b.I(b.sa);var c=fv.prototype.F.call(b);$.n(b.ZC())&&(c.iconTextSpacing=b.ZC());var d=b.i("text");$.n(d)&&(c.text=d);$.n(b.Xx())&&(c.iconEnabled=b.Xx());$.n(b.$C())&&(c.iconType=b.$C());$.n(b.Lv())&&(c.iconSize=b.Lv());$.n(b.ns())&&(c.iconFill=b.ns());$.n(b.ps())&&(c.iconStroke=b.ps());$.n(b.os())&&(c.iconHatchFill=b.os());$.n(b.Jv())&&(c.iconMarkerType=b.Jv());$.n(b.Kt())&&(c.iconMarkerFill=b.Kt());$.n(b.Lt())&&(c.iconMarkerStroke=b.Lt());$.n(b.disabled())&&(c.disabled=
b.disabled());b=this.i("color");d=this.gC();a=c.text||a;$.z(a)&&(a=$.Bu($.zu.vd(),a));c.text=$.E(a)?a.call(d,d):this.F0(d);c.disabled="disabled"in c?!!c.disabled:!this.enabled();c.meta=this.o();"marker"!=c.iconType||this.check(8192)||(c.iconFill=this.ca.Eb().i("fill"),c.iconStroke=this.ca.Eb().i("stroke"));c.iconType=this.KC(c.iconType,d);c.iconEnabled="iconEnabled"in c?!!c.iconEnabled:!0;c.iconStroke=this.rG(c.iconStroke,2,b,d);c.iconFill=this.rG(c.iconFill,1,b,d);c.iconHatchFill=this.rG(c.iconHatchFill,
3,this.ph(),d);this.check(4194304)&&this.ca.Eb().enabled()?(c.iconMarkerType=c.iconMarkerType||this.ca.Eb().type(),c.iconMarkerFill=c.iconMarkerFill||this.ca.Eb().i("fill"),c.iconMarkerStroke=c.iconMarkerStroke||this.ca.Eb().i("stroke")):(c.iconMarkerType=null,c.iconMarkerFill=null,c.iconMarkerStroke=null);return c};$.g.KC=function(a){"marker"==a?(this.check(8192)?a=this.i("type"):this.check(4194304)?a=this.ca.Eb().type():a="square","line"==a&&(a="v-line")):$.E(a)||(a=$.Pk(a));return a};
$.g.rG=function(a,b,c){if(a)$.E(a)?(b={sourceColor:c},a=a.call(b,b)):a=$.Jl(a);else{if(2==b)var d="stroke";else if(3==b){if(this.check(8))return null;d="hatchFill"}else this.check(8)?(d="stroke",b=2):d="fill";a=this.ca.i(d);var e=this.ca.ma[d];if($.E(a)&&a==e)return b=this.gC([{sourceColor:{value:c,type:"string"}}]),a.call(b,b);a=$.Vl(d,b,!1)(this,$.Zl,!0)}return a};$.g.F0=function(){return this.name()};
$.g.Xa=function(a){if(!this.Ow&&(this.Ow=new $.iw(0),this.Ow.Ye(),this.Aa.J4())){var b=this.Aa,c=b.Xa();this.Ow.parent(c);this.Ow.Aa(b);$.W(this,"tooltip",this.Ow)}return $.n(a)?(this.Ow.K(a),this):this.Ow};$.g.sd=function(a){if($.n(a)){if(null===a&&this.Kb)this.Kb=null,this.B(65536,129);else if(a=$.Xs(this.Kb,a,null,48,null,this.Cp,this)){var b=this.Kb==a;this.Kb=a;this.Kb.da(b);b||this.B(65536,129)}return this}return this.Kb};$.g.nn=ba(26);$.g.Cp=function(a){$.X(a,6)&&this.B(65536,129)};
$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};$.g.K0=function(a){return this.Qs()?this.aa().get(a):void 0};$.g.th=function(a){return null!=this.Ma[a]};$.g.i=function(a){var b=this.Ma[a];null==b&&(b=this.ma[a],null!=b||(b=this.zd[a]));return b};
$.g.qG=function(a){return null!=this.Ma[a]?this.Ma[a]:null!=this.Ze.Ma[a]?this.Ze.Ma[a]:null!=this.Aa.Ma[a]?this.Aa.Ma[a]:null!=this.ma[a]?this.ma[a]:null!=this.Ze.ma[a]?this.Ze.ma[a]:null!=this.Aa.ma[a]?this.Aa.ma[a]:this.zd[a]};
$.g.zc=function(a,b,c,d,e,f,h){var k=0==b?this.ca:1==b?this.xa:this.Ca;if(h)return d(k.i(a));if(this.Qs()){h=c.get(0==b?"normal":1==b?"hovered":"selected");var l=$.Ro($.n(h)?h[a]:void 0,c.get($.$l(b,a)),k.i(a))}if($.n(l))l=d(l);else{a=f||a;if(a in this.ua&&(l=this.i(a),$.n(l)))return d(l);e&&(k=this.Ca);l=k.Ma[a];null==l&&(l=k.ma[a],null!=l||b||(l=this.zd[a]),$.n(l)&&(l=d(l)))}return l};$.g.v0=function(){return this.P()};
$.g.u0=function(a){var b=this.i("isVertical");this.bb().Uf()&&(a=!a);return b?a?0:180:a?270:90};$.g.ZQ=function(a){return"low"==a||"lowest"==a?!1:"high"==a||"highest"==a?!0:0<=(Number(this.aa().get(a))||0)};$.g.I3=function(a){return $.Co(a,180)};$.g.KN=function(a,b){var c=$.Ck(a,null);c?c=this.I3(c):(c=this.ZQ(a),c=this.u0(c),c=$.zo(c));return $.Co(c,b)};
$.g.$Z=function(a,b){var c=$.jn(a.hl(b,void 0,{anchor:b.Vk()})),d=b.Vk(),e=b.ic("rotation");d=$.Co(d,-e);if($.Go(d)&&c.left<this.ea.left||$.Fo(d)&&c.left+c.width>this.ea.left+this.ea.width){var f=d;d=(0,$.za)($.yo,f);0<=d&&(f=$.yo.length,f=$.yo[(f-d)%f]);d=f}if($.Eo(d)&&c.top<this.ea.top||$.Do(d)&&c.top+c.height>this.ea.top+this.ea.height)c=(0,$.za)($.yo,d),0<=c&&(d=$.yo.length,d=$.yo[(d-c+4)%d]);d=$.Co(d,e);b.Vk(d)};
$.g.BW=function(a,b,c,d,e,f,h,k,l,m,p,q,r){$.Qu(a,$.ho([r,0,h,0,q,$.co,f,$.co,p,$.co,e,$.co,m,0,d,0,l,$.co,c,$.co,k,$.co,b,$.co,q,$.eo,f,$.eo,e,$.eo,a,$.co,a,$.fo,l,$.eo,c,$.eo,b,$.eo]))};$.g.vZ=$.ia;
$.g.dL=function(a,b,c,d,e,f,h){if(e){a=a[0];var k=d;(d=a.Vd(c))||(d=a.add(void 0,void 0,c));d.lf(e);k=this.UM(d,k);d.uc(k);d.oi();b.unshift(d);this.BW.apply(this,b);b=d.ic("anchor");Su(d,this.i("isVertical"));$.n(h)&&"auto"==b&&(d.Vk(this.KN(h,Number(d.ic("rotation"))||0)),this.$Z(a,d));this.vZ(d,c);a=d}else b=a[0],(h=b.Vq(c))||(h=b.add(void 0,c)),h.uc(d),h.oi(),c=a[1]||b,d=this.aa(),e=d.o($.K(this.vf,$.KA)?"shapes":"shapeNames"),k=this.Wq(d.la()),this.vf.lB(k,e),d=d.o(this.check(8)?"markerStroke":
"markerFill"),$.n(d)&&(b=b==this.ca.Kk()?$.n(d)?d:$.Vl("fill",1,!1)(this,$.Zl,!0):this.wv(d),!$A("fill",a)&&$.Wl(b)&&(h.vI(b),b=$.Il(b),!$A("stroke",a)&&$.Wl(b)&&h.wI(b))),$.Sx(h,c),h.kd(a[2],a[3]),a=h;f&&a.$();return a};$.g.labels=function(a){return $.n(a)?(this.ca.labels(a),this):this.ca.labels()};$.g.gh=function(a){return $.n(a)?(this.ca.gh(a),this):this.ca.gh()};$.g.fh=function(a){return $.n(a)?(this.ca.fh(a),this):this.ca.fh()};$.g.Zd=function(a){$.X(a,1)&&this.B(256,1025)};
$.g.yf=function(a,b,c){var d=this.mc(),e=[this.ca.labels,this.xa.labels,this.Ca.labels],f=this.jK()?[d.Sa().labels,d.mb().labels,d.selected().labels]:[],h=["label","hoverLabel","selectLabel"];a.o("isMaxPoint")?(e.push(this.ca.fh,this.xa.fh,this.Ca.fh),this.jK()&&f.push(d.Sa().fh,d.mb().fh,d.selected().fh),h.push("maxLabel","hoverMaxLabel","selectMaxLabel")):a.o("isMinPoint")&&(e.push(this.ca.gh,this.xa.gh,this.Ca.gh),this.jK()&&f.push(d.Sa().gh,d.mb().gh,d.selected().gh),h.push("minLabel","hoverMinLabel",
"selectMinLabel"));a.o("label",$.ZA(this,e,f,h,this.DD(),!0,null,a,b,c))};$.g.MP=function(){};$.g.YR=function(a){a.$()};$.g.UM=function(a,b){return b};$.g.Eb=function(a){return $.n(a)?(this.ca.Eb(a),this):this.ca.Eb()};$.g.bp=function(a){$.X(a,1)&&this.B(128,65)};$.g.Op=function(a,b,c){a.o("marker",$.ZA(this,[this.ca.Eb,this.xa.Eb,this.Ca.Eb],[],["marker","hoverMarker","selectMarker"],this.qN(),!1,null,a,b,c))};
$.g.wv=function(a){a=$.n(a)?a:$.Vl(this.check(8)?"stroke":"fill",1,!1)(this,$.Zl,!0,!0);return $.Ml(a,1,!0)};$.g.Ox=function(){return $.Il(this.ca.Eb().i("fill"))};$.g.Kk=function(a){return $.n(a)?(this.ca.Kk(a),this):this.ca.Kk()};$.g.Xga=function(a){$.X(a,1)&&this.B(128,1)};$.g.cL=function(a,b,c){var d=a.o("outliers");d&&d.length&&$.ZA(this,[this.ca.Kk,this.xa.Kk,this.Ca.Kk],[],["outlierMarker","hoverOutlierMarker","selectOutlierMarker"],this.EV(),!1,d,a,b,c)};$.g.DD=function(){return!1};
$.g.qN=function(){return!1};$.g.EV=function(){return!1};$.g.d3=function(){return!1};$.g.Tg=function(){return!1};$.g.BA=function(){return!1};$.g.SD=function(){if(this.Tg()&&this.Rg()&&this.Yo()){var a=this.aa();for(a.reset();a.advance();)aB(a);aB(this.NL());aB(this.ML())}};$.g.remove=function(){this.check(4)?$.FA(this.vf,null):this.va&&this.va.remove();var a=this.ca.labels();a.Kd()&&(a.Kd().remove(),a.B(2));if(a=this.ca.Eb())a.remove(),a.B(2);if(a=this.ca.Kk())a.remove(),a.B(2)};
$.g.Ys=function(a){this.Qk||(this.Qk=new Tw(this),$.L(this.Qk,this.sV,this),$.K(this.Aa,$.gx)&&(Rw(this.Qk,this.Aa.Ys()),Rw(this.Qk).ta(2)));return $.n(a)?(this.Qk.K.apply(this.Qk,arguments),this):this.Qk};$.g.sV=function(){this.B(32,1)};
$.g.$=function(){if(!this.Bc())return this;$.V(this);$.n(this.zd.color)&&this.J(16768)&&this.sq(this.zd.color);this.J(32768)&&(this.LD(),this.I(32768));if(this.J(4)){this.ea=this.lb();this.lx=this.Ng?this.Ng.nj(this.ea):this.ea;var a=Math.min(this.ea.height,this.ea.width);this.dV=$.M(this.Ffa,a);this.t2=$.M(this.yfa,a);this.B(7168)}this.J(512)&&(this.vc(),this.KV(),this.B(68640,2049),this.I(512));this.SZ();this.J(1024)&&this.B(24960);a=[];var b=[],c=!1;this.J(1026)&&(this.LV(),this.GD());if(this.J(1282)){var d=
this.ca.labels();var e=this.ca.gh().enabled()||this.ca.fh().enabled()||this.xa.labels().enabled()||this.Ca.labels().enabled()||this.xa.gh().enabled()||this.Ca.gh().enabled()||this.xa.fh().enabled()||this.Ca.fh().enabled();YA(this,d,e,this.DD(),$.tG,256)&&(e=this.zIndex()+this.sP+(this.Tg()?1:0),d.Mh=e,d.B(8),this.check($.tG)&&a.push(this.yf),b.push(d),c=!0);this.ca.gh().I(4294967295);this.ca.fh().I(4294967295);this.xa.gh().I(4294967295);this.xa.fh().I(4294967295);this.Ca.gh().I(4294967295);this.Ca.fh().I(4294967295);
this.I(256)}this.J(1154)&&(d=this.ca.Eb(),e=this.xa.Eb().enabled()||this.Ca.Eb().enabled(),YA(this,d,e,this.qN(),4194304,128)&&(e=this.zIndex()+1.2E-5+(this.Tg()?1:0),d.Mh=e,this.check(4194304)&&a.push(this.Op),b.push(d)),this.I(128));if(this.J(9218)){this.xC||(this.xC=[]);if(this.Nz)for(;this.Nz.length;)d=this.Nz.pop(),d.clear(),d.parent(null),this.xC.push(d);else this.Nz=[];Jz(this)&&"none"!=this.error().mode()&&(this.d3()||Lz(this.error()))&&a.push(this.XR);this.I(8192)}this.J(17410)&&(d=this.ca.Kk(),
e=this.xa.Kk().enabled()||this.Ca.Kk().enabled(),YA(this,d,e,this.EV(),256,16384)&&(e=this.zIndex()+1.1E-5,d.Mh=e,this.check(256)&&a.push(this.cL),b.push(d)),this.I(16384));d=a.length;if(this.J(1024)){if(e=this.cW()){var f=this.ue();this.hI(e,f);c&&this.MP();if(this.Aa.i("categorizedBySeries")){c=this.vc();var h=this.rfa;var k=this.Aa.i("barsPadding");var l=this.Aa.i("barGroupsPadding");var m=c.Oa.gd.qV;this.pz=1/(l+k*(m-1)+m);$.SA(this,this.pz);this.GD();this.rd(!1)}else h=this.qA,this.rd(),c=this.vc();
if(k=this.NL())this.qA(k,f,e),this.jn(k,this.Wq(k.la()));for(c.reset();c.advance();)for(c.o("destinationValue",window.NaN),l=this.Wq(c.la()),h.call(this,c,f,e),this.jn(c,l),k=0;k<d;k++)a[k].call(this,c,l,!1);if(k=this.ML())this.qA(k,f,e),this.jn(k,this.Wq(k.la()));this.zl()}else for(c=this.vc();c.advance();)this.DH(c,this.ue(),window.NaN);this.I(2056);this.check(4)&&this.B(4096)}else if(d)for(c&&this.MP(),c=this.vc();c.advance();)for(l=this.Wq(c.la()),k=0;k<d;k++)a[k].call(this,c,l,!1);Zca(this,b);
this.I(1026);this.J(2048)&&(this.tm(),this.I(2048));this.J(8)&&(this.OB(),this.I(8));this.J(4096)&&(this.Ir(),this.I(4096));this.J(32)&&(this.Ys().yQ(),this.I(32));this.I(65540);this.da(!1);return this};$.g.rd=function(a){this.Se.rd(this.vf,a)};$.g.jn=function(a,b){this.Se.jn(a,b)};$.g.zl=function(){this.Se.zl()};
$.g.LV=function(){this.check(4)?this.va=this.P():(this.va||(this.va=$.lk(),this.VZ&&$.du(this,this.va)),this.va.zIndex(this.zIndex()),this.va.parent(this.P()));this.J(1024)&&this.vf.Wu();$.FA(this.vf,this.va)};$.g.GD=function(){this.XZ=this.Zr();this.mr=this.wG()};$.g.OB=function(){var a=this.zIndex();this.check(4)?this.Se.yJ(a):this.va.zIndex(a)};
$.g.Ir=function(a){a=a||this.Nf;$.da(a)&&(a?a=cB(this):a=null);a?(this.bi||(this.bi=$.qk()),this.bi.shape(a),a=this.bi):a=null;this.check(4)?this.vf.Ir(a):this.va.clip(a);if(this.check($.tG)){var b=this.ca.labels().Kd();b&&b.clip(a)}this.check(4194304)&&(b=this.ca.Eb().Kd())&&b.clip(a);this.check(256)&&(b=this.ca.Kk().Kd())&&b.clip(a)};$.g.tm=function(){if($.K(this.vf,$.KA))for(var a=this.vc();a.advance();)this.vf.tm(this.Wq(a.la()),a.o("shapes"));else this.vf.tm(this.Nj())};$.g.KV=$.ia;
$.g.SZ=function(){if(this.J(65536)){if(this.Kb){var a=this.ue(),b=this.vc();$.V(this.Kb);for(this.Kb.tg();b.advance();){var c=b.get(a[1]);this.Kb.Uc(c)}this.Kb.Cg();this.Kb.da(!1);this.B(3072,129)}this.I(65536)}};$.g.cW=function(){return this.ue()};$.g.AG=function(){return[]};$.g.Wq=function(){return $.Zl};$.g.Nj=function(){return $.Zl};$.g.iD=function(){return!0};$.g.NL=function(){return null};$.g.ML=function(){return null};
$.g.Ie=function(a,b){if(b^this.i("isVertical")){var c=this.ea.left;var d=this.ea.width}else c=this.ea.Ua(),d=-this.ea.height;return c+a*d};$.g.du=function(a,b){for(var c=[],d=this.Ie(a,!0),e=0;e<b.length;e++)c.push(d,this.Ie(b[e],!1));return c};$.g.wZ=function(a){if(this.i("isVertical")){var b=this.lx.left;var c=b+this.lx.width}else b=this.lx.top,c=b+this.lx.height;return $.Za(a,b,c)};$.g.f_=function(){return!1};
$.g.DH=function(a,b,c){c=this.Ie(c,!0);a.o("x",c);for(var d=0;d<b.length;d++)a.o(b[d],void 0),a.o(b[d]+"X",c)};$.g.pD=function(a,b,c){var d=[],e=[],f;for(f in b)d.push(f),e.push(b[f]);b=this.du(c,e);for(c=0;c<d.length;c++)a.o(d[c]+"X",b[2*c]),a.o(d[c],b[2*c+1]);a.o("x",b[0])};
$.g.ofa=function(a,b,c,d){if(!a.o("missing")){b=a.o("shared");var e=a.o("value"),f=a.o("zero"),h=a.get("value"),k=Number(a.get("value"));c=Math.max(Math.abs(e-f),this.bV);e=f>=e;if(null===h?0:!(0,window.isNaN)(k)&&0==k)e=this.i("isVertical"),h=this.bb().Uf(),e=!(e^h);h=b.eM;k=a.o("valueRatio");k=$.n(k)?!k:!c;e?(c=-c,(0,window.isNaN)(b.CA)?(b.CA=f+c,c=b.CA,h||(k=!1)):(f=Math.min(f,b.CA),c=f+c,b.CA=c)):(0,window.isNaN)(b.wA)?(b.wA=f+c,c=b.wA,h||(k=!1)):(f=Math.max(f,b.wA),c=f+c,b.wA=c);a.o("value",
c);a.o("zero",f);a.o("skipDrawing",k)}return d};$.g.pfa=function(a,b,c,d){if(!a.o("missing")){var e=a.o("value");b=a.o("zero");var f=a.get("value"),h=Number(a.get("value"));c=Math.max(Math.abs(e-b),this.bV);e=b>=e;if(null===f?0:!(0,window.isNaN)(h)&&0==h)f=this.i("isVertical"),h=this.bb().Uf(),e=!(f^h);e&&(c=-c);a.o("value",b+c)}return d};
$.g.nfa=function(a,b,c,d){if(!a.o("missing")){b=a.o("high");c=a.o("low");var e=(b+c)/2,f=Math.max(Math.abs(c-b),this.bV)/2;b>=c&&(f=-f);a.o("high",e-f);a.o("low",e+f)}return d};
$.g.tfa=function(a,b,c,d,e){b=this.bb();b={value:b.transform(a.o("stackedValue"),.5),zero:$.Za(b.transform(a.o("stackedZero"),.5),0,1),prevValue:b.transform(a.o("stackedValuePrev"),.5),prevZero:b.transform(a.o("stackedZeroPrev"),.5),nextValue:b.transform(a.o("stackedValueNext"),.5),nextZero:b.transform(a.o("stackedZeroNext"),.5)};this.pD(a,b,e);a.o("zeroMissing",a.o("stackedMissing"));if(e=a.o("shared")){c=Math.abs(b.value-b.zero);b=e.eM;var f=a.o("valueRatio");c=$.n(f)?!f:!c;e.M_||b||(c=!1,e.M_=
!0);a.o("skipDrawing",c)}return d};$.g.kfa=function(a,b,c,d){for(var e,f,h=this.bb(),k=0;k<c.length;k++){var l=b[k];f=a.Rq(c[k]);var m=this.$B;e=h.o2(f,m);f=h.m2(f,m);a.o(l+"Change",e);a.o(l+"PercentChange",$.Qm(Number(f),2));a.o(l+"RatioChange",Number(f)/100)}return d};
$.g.lfa=function(a,b,c,d,e){var f=!1;b=!1;if(!d&&0<=e&&1>=e){f=window.Infinity;e=-window.Infinity;var h=Math.min.apply(null,this.z3);b=Math.max.apply(null,this.z3);var k;for(k=0;k<c.length;k++){var l;(l=$.K(this.bb(),$.yt)?this.bb().wz():null)&&"none"!=l?"value"==l?l=Number(a.o("valueChange")):(l=Number(a.o("valuePercentChange")),h=$.Qm(h,2),b=$.Qm(b,2)):l=Number(a.Rq(c[k]));(0,window.isNaN)(l)||(e<l&&(e=l),f>l&&(f=l))}f=(0,window.isFinite)(f)&&h>=f;b=(0,window.isFinite)(e)&&b<=e}a.o("isMinPoint",
f);a.o("isMaxPoint",b);return d};$.g.ufa=function(a,b,c,d,e){for(var f=this.bb(),h={},k=0;k<c.length;k++){var l=f.transform(f.iF(a.Rq(c[k]),this.$B),.5);(0,window.isNaN)(l)&&(d|=1);h[b[k]]=l}this.pD(a,h,e);return d};$.g.NM=function(a,b,c,d){a.o("zeroX",a.o("x"));a.o("zero",this.vi);a.o("zeroMissing",!1);return d};$.g.sfa=function(a,b,c,d){a.o("size",this.sF(Number(a.get("size"))));return d};
$.g.qfa=function(a,b,c,d){b=this.bb();c=[];var e=a.get("outliers");if($.A(e))for(var f=0;f<e.length;f++)b.gk(e[f])||c.push(this.Ie(b.transform(b.iF(e[f],this.$B),.5),!1));a.o("outliers",c);return d};
$.g.hI=function(){var a=this.bb();this.Fj.length=0;this.Tg()?this.Fj.push(this.tfa):(this.Fj.push(this.ufa),$.DA(this)&&this.Fj.push(this.NM),$.K(a,$.yt)&&"none"!=a.wz()&&this.Fj.push(this.kfa));this.jV()&&(this.z3=this.AG(!0),this.Fj.push(this.lfa));if(this.Rg()&&this.Yo()&&"percent"!=this.bb().Um()){var b=this.qG("minPointLength"),c=this.i("isVertical")?this.ea.width:this.ea.height;this.bV=Math.abs($.M(b,c));this.check($.Yl|$.wG)?this.Fj.push(this.nfa):this.Tg()?this.Fj.push(this.ofa):this.Fj.push(this.pfa)}this.hk()&&
this.Fj.push(this.sfa);this.check(256)&&this.Fj.push(this.qfa);$.DA(this)&&(b=this.Ze.i("baseline")||0,this.GX=$.Za(a&&a.transform(b,.5)||b,0,1),this.vi=this.wZ(this.Ie(this.GX,!1)))};$.g.iT=function(){return this.i("xPointPosition")};$.g.qA=function(a,b,c){var d=this.f_()?0:(Number(a.o("missing"))||0)&-9;this.iD(a)||(d|=8);var e=this.cl().rr(a.Oh(),a.la(),this.iT());a.o("xRatio",e);if(d)this.DH(a,b,e);else for(var f=0;f<this.Fj.length;f++)d=this.Fj[f].call(this,a,b,c,d,e);a.o("missing",d)};
$.g.rfa=function(a,b,c){var d=(Number(a.o("missing"))||0)&-9;this.iD(a)||(d|=8);var e=this.cl(),f=a.o("ordinalIndex"),h=this.name(),k=e.rr(h,f,0);e=e.rr(h,f,1);h=this.Aa.i("barsPadding");var l=this.Aa.i("barGroupsPadding");f=k+(e-k)*(l/2*this.pz+this.pz/2+f*this.pz*(1+h));a.o("xRatio",f);if(d)this.DH(a,b,f);else for(k=0;k<this.Fj.length;k++)d=this.Fj[k].call(this,a,b,c,d,f);a.o("missing",d)};$.g.sR=function(a){return[this.Rd(a.la()),this,this.mc()]};
$.g.NS=function(a){var b={},c=a.get("high")-a.get("low");b["%Range"]={value:c,type:"number"};b["%Name"]={value:a.get("name"),type:"string"};return b};$.g.Q0=function(){return"string"};
$.g.Em=function(a,b){var c=this.cl(),d=this.bb(),e={chart:{value:this.mc(),type:""},series:{value:this,type:""},xScale:{value:c,type:""},yScale:{value:d,type:""},index:{value:b.la(),type:"number"},x:{value:b.Oh(),type:this.Q0()},seriesName:{value:this.name(),type:"string"}};c&&$.E(c.Na)&&(e.xScaleType={value:c.Na(),type:"string"});this.hk()&&(e.size={value:b.get("size"),type:"number"});if(Jz(this)){c=this.error().mode();if("both"==c||"value"==c){var f=this.bs(!1);e.valueLowerError={value:f[0],type:"number"};
e.valueUpperError={value:f[1],type:"number"}}if("both"==c||"x"==c)f=this.bs(!0),e.xLowerError={value:f[0],type:"number"},e.xUpperError={value:f[1],type:"number"}}var h=this.ue();for(c=0;c<h.length;c++)f=h[c],e[f]={value:b.get(f),type:"number"};if($.K(d,$.yt)&&"none"!=d.wz())for(d=["Change","PercentChange","RatioChange"],c=0;c<h.length;c++){f=h[c];for(var k=0;k<d.length;k++){var l=f+d[k];e[l]={value:b.o(l),type:"number"}}}return e};$.g.DF=function(){return $.eB(this,new $.rw)};
$.g.xk=function(){this.qu||(this.qu=new $.rw);return $.eB(this,this.qu)};$.g.gC=function(a){this.JU||(this.JU=new $.rw(void 0,void 0,[this,this.Aa]));var b={series:{value:this,type:""},chart:{value:this.mc(),type:""},seriesName:{value:this.name(),type:"string"}};if(a)for(var c=0;c<a.length;c++)$.ra(b,a[c]);this.JU.mj([this,this.Aa]);return $.av(this.JU,b)};
$.g.EF=function(a){var b=this.aa(),c=b.o("x"),d=b.o(this.nh.yb),e=b.o(this.nh.wb);c=new $.J(c,Math.min(d,e),0,Math.abs(e-d));this.Yo()&&(c.left-=this.mr/2,c.width+=this.mr);this.hk()&&(b=b.o("size"),c.left-=b,c.top-=b,c.width+=b+b,c.height+=b+b);this.i("isVertical")&&(b=c.left,c.left=c.top,c.top=b,b=c.height,c.height=c.width,c.width=b);return $.xo(c,a)};
$.g.t_=function(a){var b=this.aa(),c=b.o("x"),d=b.o(a);$.n(d)||(d=b.get(a),$.n(d)?(this.Tg()&&(d+=b.o("stackedZero")),d=this.qp(d)):d=window.NaN);var e;this.i("isVertical")?e={x:d,y:c}:e={x:c,y:d};return e};$.g.Ai=function(a,b){if(this.aa().o("missing"))var c={x:window.NaN,y:window.NaN};else{if(c=$.Ck(a,null))c=this.EF(c);else if(c=this.t_(a),(0,window.isNaN)(c.x)||(0,window.isNaN)(c.y))c=this.EF("center-top");if(b&&this.check($.bB)){var d=this.Aa,e=this.la();c.x+=d.RL(e,this.Tg());c.y-=d.SL(e,this.Tg())}}return{value:c}};
var AH={};$.hq(AH,[[0,"color",$.Gq],[0,"xPointPosition",$.qq],[0,"pointWidth",$.Qq],[0,"maxPointWidth",$.Qq],[0,"minPointLength",$.Qq],[0,"maxPointWidth",$.Qq],[0,"minPointLength",$.Qq],[0,"connectMissingPoints",$.uq],[0,"displayNegative",$.uq],[0,"stepDirection",function(a,b){return $.xk(Fda,a,b||"center")}],[0,"isVertical",$.Nq]]);$.U($.nx,AH);$.g=$.nx.prototype;$.g.Ia=function(a,b){return $.n(a)?$.n(b)?(this.Vm[a.toLowerCase()]=b,this):this.Vm[a.toLowerCase()]:this.Vm};$.g.Pn=$.ia;
$.g.Eg=function(a){this.Aa.kv();return this.Ia(a)};
$.g.F=function(){var a=$.nx.u.F.call(this);a.seriesType=this.Sj();a.clip=$.K(this.Nf,$.J)?this.Nf.F():this.Nf;this.ki&&(a.meta=this.o());this.Yd&&(a.id=this.id());this.kr&&(a.name=this.name());this.Dq!=this.la()&&(a.autoIndex=this.mh());if(this.check(524288)){var b=this.Xa().F();$.Jc(b)||(a.tooltip=this.Xa().F());a.legendItem=this.ss().F()}Jz(this)&&(a.error=this.error().F());$.Hq(this,AH,a);a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();a.a11y=this.Ys().F();return a};
$.g.X=function(a,b){$.nx.u.X.call(this,a,b);this.id(a.id);this.mh(a.autoIndex);this.name(a.name);this.o(a.meta);this.clip(a.clip);this.Ys(a.a11y);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected);$.zq(this,AH,a);this.YJ(a,!1,b)};
$.g.R=function(){$.td(this.Nz,this.xC);this.check(4)||$.qd(this.va);$.td(this.vf,this.Se,this.ca,this.xa,this.Ca,this.Ow,this.$o,this.lv,this.eu,this.Ng,this.Qk);this.Ow=this.$o=this.eu=this.lv=this.Qk=this.Ng=this.wc=this.Nz=this.va=this.Ko=this.Ca=this.xa=this.ca=null;delete this.vf;delete this.Aa;delete this.Ze;delete this.iterator;delete this.ma;delete this.zd;delete this.Ma;$.nx.u.R.call(this)};var BH=$.nx.prototype;BH.a11y=BH.Ys;BH.getType=BH.Na;BH.seriesType=BH.Sj;BH.name=BH.name;BH.id=BH.id;
BH.meta=BH.o;BH.getIndex=BH.la;BH.yScale=BH.bb;BH.labels=BH.labels;BH.minLabels=BH.gh;BH.maxLabels=BH.fh;BH.markers=BH.Eb;BH.outlierMarkers=BH.Kk;BH.normal=BH.Sa;BH.hovered=BH.mb;BH.selected=BH.selected;BH.tooltip=BH.Xa;BH.legendItem=BH.ss;BH.clip=BH.clip;BH.error=BH.error;BH.transformX=BH.sr;BH.transformY=BH.qp;BH.getPixelBounds=BH.lb;BH.getPixelPointWidth=BH.wG;BH.getStat=BH.Eg;BH.rendering=BH.kj;BH.colorScale=BH.sd;$.H(fB,$.or);$.g=fB.prototype;$.g.reset=function(){this.oa=this.Oa.gd.data;return fB.u.reset.call(this)};$.g.advance=function(){this.g++;this.Ff=this.oa[this.g];this.f=void 0;return!!this.oa.length&&this.g<this.oa.length};$.g.get=function(a){var b=void 0;if(this.Ff)if(a in this.Ff.data)b=this.Ff.data[a];else{var c=this.Ff.o.rawIndex;if(!this.f)if($.n(c))this.f=this.view.hf(c);else return this.Ff.data[a]=b;this.Ff.data[a]=b=this.view.Cl(c).Aj(this.f,c,a)}return b};$.g.Gb=function(){return this.oa.length};
$.g.o=function(a,b){var c=1<arguments.length;if(!this.Ff)return c?this:void 0;var d=this.Ff.o;return c?(d[a]=b,this):d[a]};var CH=fB.prototype;CH.reset=CH.reset;CH.advance=CH.advance;CH.get=CH.get;CH.meta=CH.o;CH.getRowsCount=CH.Gb;$.H($.gB,$.nx);$.gB.prototype.sa=$.nx.prototype.sa;$.gB.prototype.qa=$.nx.prototype.qa;var DH={};$.hq(DH,[[0,"xMode",function(a){return $.xk(Hda,a,"ordinal")}]]);$.U($.gB,DH);$.g=$.gB.prototype;$.g.YJ=function(a,b,c,d){$.gB.u.YJ.call(this,a,b,c,d);this.Ni(a.selectionMode)};$.g.Zr=function(a){var b;$.n(a)&&$.K(this.Va(),$.Ct)?b=$.Et(this.Va())[a]:b=this.Va().LL();return(b||this.Va().HG()/this.aa().Gb())*(this.i("isVertical")?this.ea.height:this.ea.width)};$.g.AG=function(){return[this.gd.Wt,this.gd.Vt]};
$.g.Va=function(a){if($.n(a)){if(a){if(a=$.Xs(this.cb,a,null,15,null,this.kg,this)){var b=this.cb==a;this.cb=a;this.cb.da(b);b||this.B(1024,5)}}else this.cb&&(this.cb&&$.Zq(this.cb,this.kg,this),this.cb=null,this.B(1024,5));return this}return this.cb||this.Aa.Va()};$.g.cl=function(){return this.Va()};$.g.Wq=function(a){return $.$w(this.state,a)};$.g.Nj=function(){var a=this.state.Nj();return a||this.Rg()||"single"!=this.Fl()?a:$.Zw(this.state,$.qo)?$.qo:$.Zw(this.state,$.po)?$.po:$.Zl};
$.g.KV=function(){if(this.data().$c("state")){for(var a=this.Qf(),b=[];a.advance();)"selected"==String(a.get("state")).toLowerCase()&&b.push(a.la());b.length&&this.Mi(b)}$.gB.u.KV.call(this)};$.g.UM=function(a,b){if("auto"==this.labels().i("position")&&"continuous"==this.Va().mode()){var c=b.value,d=c.x;c=c.y;var e=a.ii();if(e&&e.text()){var f=e.Za.width/2;e=this.lx.$a();var h=this.lx.qb(),k=d+f;f=d-f;h>f&&k>h?d+=h-f:k>e&&f<e&&(d-=k-e);return{value:{x:d,y:c}}}}return $.gB.u.UM.call(this,a,b)};
$.g.YR=function(a){$.gB.u.YR.call(this,a);for(var b=a.tH(),c=0;c<b;c++){var d=a.Vd(c);if(d){var e=this.UM(d,d.uc());d.uc(e)}}a.$()};
$.g.Ae=function(a,b,c){var d=$.VA(this),e=b?this.Qf():this.aa(),f=e.la();d.Ag(e).mj([this.Rd(f),this]);var h;a=a||this.i("color")||"blue";var k=e.Oh();b=e.get("value");var l=$.n(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.Aa,type:""},plot:{value:this.Ze,type:""},series:{value:this,type:""},name:{value:l,type:"string"}};c=$.n(c)&&c;(f=this.sd())&&!c&&
($.n(b)&&(h=f.yq(b)),e.scaledColor={value:h,type:""},e.colorScale={value:f,type:""});e.sourceColor={value:h||a,type:""};return $.av(d,e)};
$.g.Fi=function(a){var b=$.VA(this);a=a?this.Qf():this.aa();var c=a.la();b.Ag(a).mj([this.Rd(c),this]);var d=this.ph(),e=a.Oh(),f=a.get("value"),h=$.n(a.get("name"))?a.get("name"):e;return $.av(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.Ze,type:""},chart:{value:this.Aa,type:""},series:{value:this,type:""},name:{value:h,type:"string"}})};
$.g.data=function(a,b){return $.n(a)?(this.lI!==a&&(this.lI=a,$.qd(this.Ql),$.K(a,$.pr)?this.$d=this.Ql=a.tj():this.$d=$.K(a,$.zr)?this.Ql=a.ie():(this.Ql=new $.zr($.A(a)||$.z(a)?a:null,b)).ie(),this.JF=this.$d,$.L(this.JF,this.Id,this),this.B(1536,85)),this):this.JF};$.g.Id=function(a){$.X(a,16)&&(a=327680,$.K(this.Aa,$.nA)&&(a|=2097152),this.Aa.B(a),this.B(1536,85))};$.g.Qf=function(){return this.gd?new fB(this):this.data().aa()};
$.g.l0=function(a){if(this.gd){if(a=this.gd.data[a])return a.o.size}else return this.data().o(a,"size")};$.g.fT=function(a){if(this.gd){if(a=this.gd.data[a])return this.gd.FI?a.o.stackedZero:0}else return this.data().o(a,"zero")};$.g.eT=function(a){if(this.gd){if(a=this.gd.data[a])return this.gd.FI?a.o.stackedValue:a.data.value}else return this.data().o(a,"value")};$.g.zW=function(a,b,c){this.gd&&(a=(a=this.gd.data[a])&&a.o.rawIndex);this.data().set(a,b,c)};
$.g.Y_=function(a){this.Am||(this.Am=[]);$.A(a)||(a=[a]);for(var b=!1,c=0;c<a.length;c++)b=$.Ua(this.Am,a[c])||b;b&&this.B(1024,5);return b};$.g.XT=function(a){if(!this.Am)return!1;$.A(a)||(a=[a]);for(var b=!1,c=0;c<a.length;c++){var d=this.Am,e=$.Na(d,a[c],void 0);b=(0<=e?Ea(d,e):!1)||b}b&&this.B(1024,5);return b};$.g.IL=function(){return(0,$.Wa)(this.Am||[],this.Rd,this)};$.g.S1=function(a){this.Am?this.Am.length=0:this.Am=[];for(var b=this.aa().Gb(),c=0;c<b;c++)this.Am.push(c);this.XT(a)};
$.g.WT=function(){return this.Am&&this.Am.length?(this.Am.length=0,this.B(1024,5),!0):!1};$.g.DD=function(){return this.gd?this.gd.k1:!0};$.g.qN=function(){return this.gd?this.gd.l1:!0};$.g.EV=function(){return this.gd?this.gd.m1:!0};$.g.d3=function(){return this.gd?this.gd.j1:!0};$.g.Tg=function(){return this.gd?this.gd.FI:!0};$.g.BA=function(){return this.Va().Uf()};
$.g.iD=function(a){a=a.la();"scatter"==this.i("xMode")&&(a=$.ko(this.gd.data[a].data.x),a=this.gd.Tw[a]);return a>=this.gd.Ei&&a<=this.gd.lastIndex};
$.g.OS=function(a,b,c,d){var e=this.data(),f=e.aa(),h=this.bb(),k=!1,l=!1,m=this.hk(),p,q=[];this.Rg()&&this.Qs()&&q.push("zIndex");m&&q.push("size");this.check(256)&&q.push("outliers");Jz(this)&&(PA(this.Va())&&(e.$c("xError")&&(q.push("xError"),k=!0),e.$c("xLowerError")&&(q.push("xLowerError"),k=!0),e.$c("xUpperError")&&(q.push("xUpperError"),k=!0)),PA(this.bb())&&(e.$c("valueError")&&(q.push("valueError"),l=!0),e.$c("valueLowerError")&&(q.push("valueLowerError"),l=!0),e.$c("valueUpperError")&&
(q.push("valueUpperError"),l=!0)));$.K(h,$.Ct)&&(p=$.Ft(h))&&e.$c(p)&&q.push(p);var r=this.Va();$.K(r,$.Ct)&&(p=$.Ft(r))&&e.$c(p)&&q.push(p);r=this.B1();for(var t=0;f.advance();){var u=c(f.get("x"));if(!d(u)){var v={};v.x=u;var w;u=!1;var x=this.ue();var y=0;for(w=x.length;y<w;y++){p=x[y];var B=this.L2(f.get(p));u=u||h.gk(B);v[p]=B}y=0;for(w=q.length;y<w;y++)p=q[y],v[p]=f.get(p);m&&(y=$.N(v.size=f.get("size")),(0,window.isNaN)(y)||0>y&&!this.i("displayNegative"))&&(u=!0);y={};u?y.missing=1:(y.missing=
0,t++);y.rawIndex=f.la();y.ordinalIndex=t-1;v={data:v,o:y};this.j3(f,v,r);b(a,v)}}this.B(512);return this.gd={data:a,W:this,qV:t,k1:this.check($.tG)&&(e.$c("normal")||e.$c("hovered")||e.$c("selected")||e.$c("label")||e.$c("hoverLabel")||e.$c("selectLabel")||e.$c("minLabel")||e.$c("hoverMinLabel")||e.$c("selectMinLabel")||e.$c("maxLabel")||e.$c("hoverMaxLabel")||e.$c("selectMaxLabel")),l1:this.check(4194304)&&(e.$c("normal")||e.$c("hovered")||e.$c("selected")||e.$c("marker")||e.$c("hoverMarker")||
e.$c("selectMarker")),m1:this.check(256)&&(e.$c("outliers")||e.$c("normal")||e.$c("hovered")||e.$c("selected")||e.$c("outlierMarker")||e.$c("hoverOutlierMarker")||e.$c("selectOutlierMarker")),IT:k,n1:l,j1:k||l}};$.g.B1=function(){return null};$.g.j3=function(){};$.g.L2=function(a){return a};
$.g.sL=function(a,b){if(this.gd){var c=[];var d="scatter"==this.i("xMode");if(this.gd.Tw){var e=this.gd.Tw[$.ko(a)];var f=this.gd.Tw[$.ko(b)]}else e=$.Pa(this.gd.data,function(b){return a-b.data.x}),0>e&&(e=~e),f=$.Pa(this.gd.data,function(a){return b-a.data.x}),0>f&&(f=~f);if(!(0,window.isNaN)(e)&&!(0,window.isNaN)(f)){if(e>f){var h=e;e=f;f=h}if(d)for(h=this.gd.data,d=0;d<h.length;d++){var k=h[d],l=this.gd.Tw[$.ko(k.data.x)];l>=e&&l<=f&&c.push(k.o.rawIndex)}else for(f=Math.min(f,this.gd.data.length-
1),d=e;d<=f;d++)c.push(d)}return c}c=this.Va();if(e=$.K(c,$.Ct))a=c.Mx(a),b=c.Mx(b);return this.JF.sL(a,b,e)};$.g.Xj=function(a,b){var c=this.aa();if(8===c.o("missing"))return b;var d=c.o("shapes");this.Rg()&&(this.vf.tm(a,d),this.vf.lB(a,d));this.check(256)&&this.cL(c,a,!0);this.Se.sE(c,a);this.check(4194304)&&this.Op(c,a,!0);this.check($.tG)&&this.yf(c,a,!0);return b};$.g.fm=$.ia;$.g.Uk=function(a){var b=this.aa(),c=b.o("shapes");this.vf.tm(a,c);this.Se.sE(b,a);this.check(256)&&this.cL(b,a,!0)};
$.g.Wp=$.ia;$.g.Ni=function(a){return $.n(a)?(a=null===a?null:$.zk(a),a!=this.Ls&&(this.Ls=a),this):this.Ls};$.g.Fl=function(a){return $.n(a)?this:this.Aa.Vc().i("hoverMode")};$.g.Oj=function(a){$.n(a)?this.Hi(a):this.Ek();return this};$.g.Pd=function(a){var b;if(b=!$.Zw(this.state,$.po))b=!(this.state.Nj()&$.po);if(b||!this.enabled())return this;var c;$.n(a)?c=a:c=this.state.Ac==$.Zl?window.NaN:void 0;this.state.Hh($.po,c);return this};
$.g.Hi=function(a){if(!this.enabled())return this;if($.A(a)){for(var b=$.ex(this.state,$.po),c=0;c<b.length;c++)$.Aa(a,b[c])||this.state.Hh($.po,b[c]);$.cx(this.state,a)}else $.ea(a)&&(this.Pd(),$.cx(this.state,a));return this};$.g.Ek=function(){this.enabled()&&this.state.xh($.po)};$.g.select=function(a){if(!this.enabled())return this;$.n(a)?this.Mi(a):this.iu();return this};
$.g.ae=function(a){if(!this.enabled())return this;var b;$.n(a)?b=a:b=this.state.Ac==$.Zl?window.NaN:void 0;this.state.Hh($.qo,b);return this};$.g.Mi=function(a,b){return $.jB(this,a,!(!b||!b.shiftKey))};$.g.iu=function(){this.enabled()&&this.state.xh($.qo)};
$.g.ig=function(a){a=$.gB.u.ig.call(this,a);var b=this.i("isVertical");if(this.Rg())a.pointIndex=$.N($.mo(a.domTarget).index);else if(this.eia){var c=this.ea||$.gn(0,0,0,0),d=$.Wj(this.P().Ha()),e=a.clientX,f=a.clientY;if(b){var h=f;var k=c.top+d.y+c.height;c=-c.height}else h=e,k=c.left+d.x,c=c.width;c=this.Va().Fc((h-k)/c);k=!!this.Aa.i("categorizedBySeries");if(this.Aa&&k&&!this.Rg()){k=this.Va();var l=this.name(),m=k.rr(l,window.NaN,0);l=k.rr(l,window.NaN,1)-m;var p=this.Aa.i("barsPadding"),q=
this.Aa.i("barGroupsPadding");p*=this.pz;q*=this.pz;k=this.gd.qV;m+=l*(q-p)/2;l=m+l*(this.pz+p)*k;m=this.Ie(m,!0);l=(this.Ie(l,!0)-m)/k;k=m+(b?d.y:d.x);b=Math.floor((h-k)/l);h=-1;for(k=0;k<this.gd.data.length;k++)if(m=this.gd.data[k],!m.o.missing&&++h==b){c=m.data.x;break}}c=$.Nz(this,c);if($.A(c)&&1<c.length){e-=d.x;d=f-d.y;f=this.aa();b=window.Infinity;h=-1;for(k=0;k<c.length;k++)if(f.select(c[k]))for(m=f.o("x"),l=this.ue(),p=0;p<l.length;p++)q=f.o(l[p]),q=$.dn(m,q,e,d),q<b&&(b=q,h=c[k]);c=h}0>
c&&(c=window.NaN);a.pointIndex=c}return a};$.g.sh=function(a){(a=this.Ig(a))&&this.dispatchEvent(a)};
$.g.Ig=function(a){var b=a.type;switch(b){case "mouseout":b="pointmouseout";break;case "mouseover":b="pointmouseover";break;case "mousemove":b="pointmousemove";break;case "mousedown":b="pointmousedown";break;case "mouseup":b="pointmouseup";break;case "click":case "touchstart":b="pointclick";break;case "dblclick":b="pointdblclick";break;default:return null}var c;a.target!=this.Sa().Kk()||(0,window.isNaN)(a.markerIndex)?"pointIndex"in a?c=a.pointIndex:"labelIndex"in a?c=a.labelIndex:"markerIndex"in
a&&(c=a.markerIndex):c=$ca(this,a.markerIndex);c=$.N(c);a.pointIndex=c;var d=this.Qf();d.select(c)||d.reset();return{type:b,actualTarget:a.target,series:this,iterator:d,pointIndex:c,target:this,originalEvent:a,point:this.Rd(c)}};$.g.Rd=function(a){var b;this.hk()?b=new uA(this,a):b=new $.tA(this,a);return b};
$.g.F=function(){var a=$.gB.u.F.call(this);$.Hq(this,DH,a);if(this.gd){for(var b=[],c=this.data(),d=new fB(this);d.advance();){var e=d.o("rawIndex");(0,window.isNaN)(e)?b.push({x:d.get("x")}):b.push(sr(c,e))}a.data=b}else a.data=this.data().F();$.n(this.Ni())&&(a.selectionMode=this.Ni());return a};$.g.X=function(a,b){$.gB.u.X.call(this,a,b);$.zq(this,DH,a,b);"data"in a&&this.data(a.data||null);this.Ni(a.selectionMode)};
$.g.R=function(){$.qd(this.Ql);delete this.JF;this.cb=this.gd=this.state=this.$d=this.Ql=null;$.gB.u.R.call(this)};var EH=$.gB.prototype;EH.data=EH.data;EH.xScale=EH.Va;EH.hover=EH.Oj;EH.unhover=EH.Pd;EH.select=EH.select;EH.unselect=EH.ae;EH.selectionMode=EH.Ni;EH.getPoint=EH.Rd;EH.excludePoint=EH.Y_;EH.includePoint=EH.XT;EH.keepOnlyPoints=EH.S1;EH.includeAllPoints=EH.WT;EH.getExcludedPoints=EH.IL;$.H($.lB,$.Y);var kB=1E6;$.lB.prototype.qa=$.Y.prototype.qa;$.lB.prototype.sa=$.Y.prototype.sa|464;$.lB.prototype.N=function(a){this.U||(this.U=new wB(this),$.W(this,"thumbs",this.U));return $.n(a)?(this.U.K(a),this):this.U};
var FH=function(){function a(a){return function(b){var c=$.so(b,null);return null===b?this.mf(a):null===c?this.i(a):c}}var b={};$.hq(b,[[0,"height",a("height")],[0,"minHeight",a("minHeight")],[0,"maxHeight",a("maxHeight")],[0,"orientation",Sq],[0,"inverted",$.uq],[0,"autoHide",$.uq],[1,"fill",$.Eq],[1,"selectedFill",$.Eq],[1,"outlineStroke",$.Dq],[0,"allowRangeChange",$.uq]]);return b}();$.U($.lB,FH);$.g=$.lB.prototype;
$.g.padding=function(a,b,c,d){this.Pa||(this.Pa=new $.tu,$.L(this.Pa,this.Pl,this),$.W(this,"padding",this.Pa));return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this):this.Pa};$.g.Pl=function(a){$.X(a,2)&&this.B(4,9)};$.g.Hb=function(){return"bottom"==this.i("orientation")||"top"==this.i("orientation")};$.g.remove=function(){this.va&&this.va.remove()};$.g.He=function(){return this.enabled()&&(!this.i("autoHide")||this.i("allowRangeChange")||0!=this.D||this.j!=kB)};
$.g.$=function(){if(!this.Bc())return this;this.I(256);if(!this.He())return this.remove(),this.B(2),this;if(this.ef())return this;this.va||(this.va=$.lk(),this.f=$.nk(),this.f.zIndex(100),this.b=$.nk(),this.b.zIndex(100),this.ba=this.va.rect(),this.ba.zIndex(1),this.ZM=$.qk(),this.ba.clip(this.ZM),this.G=this.va.rect(),this.G.zIndex(50),this.MA=$.qk(),this.G.clip(this.MA),this.O=this.va.path(),this.O.zIndex(99),$.du(this,this.va,this.M9,this.Mfa),this.sc.ra(this.f,"mouseover",this.T4),this.sc.ra(this.f,
"mouseout",this.S4),this.sc.ve(this.f,"mousedown",this.rE),this.sc.ve(this.f,"touchstart",this.rE),this.sc.ra(this.b,"mouseover",this.T4),this.sc.ra(this.b,"mouseout",this.S4),this.sc.ve(this.b,"mousedown",this.rE),this.sc.ve(this.b,"touchstart",this.rE),this.sc.ve(this.G,"mousedown",this.rE),this.sc.ve(this.G,"touchstart",this.rE),this.sc.ra(this.ba,"click",this.hga));this.J(2)&&(this.va.parent(this.P()),this.I(2));this.J(8)&&(this.va.zIndex(this.zIndex()),this.I(8));this.J(128)&&(this.f.cursor(mB(this)),
this.b.cursor(mB(this)),this.G.cursor(mB(this)),this.B(84),this.I(128));this.J(4)&&(this.PO(),this.I(4));if(this.J(64)){var a=(Math.max($.bc(this.i("outlineStroke")),5)-1)/2;if(this.Hb()){var b=this.ea.top;if(this.N().i("enabled"))a=b+this.ea.height/2,this.f.clear().moveTo(-4,a-6).lineTo(-2,a-8).lineTo(2,a-8).lineTo(4,a-6).lineTo(4,a+6).lineTo(2,a+8).lineTo(-2,a+8).lineTo(-4,a+6).close().moveTo(-1,a-5).lineTo(-1,a+5).moveTo(1,a-5).lineTo(1,a+5),this.b.clear().moveTo(-4,a-6).lineTo(-2,a-8).lineTo(2,
a-8).lineTo(4,a-6).lineTo(4,a+6).lineTo(2,a+8).lineTo(-2,a+8).lineTo(-4,a+6).close().moveTo(-1,a-5).lineTo(-1,a+5).moveTo(1,a-5).lineTo(1,a+5);else{var c=b+this.ea.height;this.f.clear().moveTo(-a,b).lineTo(a,b).lineTo(a,c).lineTo(-a,c).close();this.b.clear().moveTo(-a,b).lineTo(a,b).lineTo(a,c).lineTo(-a,c).close()}}else b=this.ea.left,this.N().i("enabled")?(a=b+this.ea.width/2,this.f.clear().moveTo(a-6,-4).lineTo(a-8,-2).lineTo(a-8,2).lineTo(a-6,4).lineTo(a+6,4).lineTo(a+8,2).lineTo(a+8,-2).lineTo(a+
6,-4).close().moveTo(a-5,-1).lineTo(a+5,-1).moveTo(a-5,1).lineTo(a+5,1),this.b.clear().moveTo(a-6,-4).lineTo(a-8,-2).lineTo(a-8,2).lineTo(a-6,4).lineTo(a+6,4).lineTo(a+8,2).lineTo(a+8,-2).lineTo(a+6,-4).close().moveTo(a-5,-1).lineTo(a+5,-1).moveTo(a-5,1).lineTo(a+5,1)):(c=b+this.ea.height,this.f.clear().moveTo(b,-a).lineTo(b,a).lineTo(c,a).lineTo(c,-a).close(),this.b.clear().moveTo(b,-a).lineTo(b,a).lineTo(c,a).lineTo(c,-a).close());this.B(16);this.I(64)}if(this.J(16)){this.ba.uf(this.ea);this.G.uf(this.ea);
this.ZM.shape(this.ea);a=this.i("fill");this.ba.fill("none"==a?$.Ul:a).stroke(null);a=this.i("selectedFill");this.G.fill("none"==a?$.Ul:a).stroke(null);this.O.stroke(this.i("outlineStroke")).fill(null);qB(this,this.f,this.eb);qB(this,this.b,this.Ra);switch(this.i("orientation")){case "top":a=this.ea;c=this.D;b=this.j;this.i("inverted")&&(c=kB-c,b=kB-b);c=a.left+c/kB*a.width;var d=a.left+b/kB*a.width;this.f.jc(1,0,0,1,c,0);this.b.jc(1,0,0,1,d,0);b=Math.min(c,d);c=Math.max(c,d);this.MA.shape(b,a.top,
c-b,a.height);b=$.R(b,1);c=$.R(c,1);d=$.R(a.top,1);var e=$.R(a.top+a.height,1);this.O.clear().moveTo(a.left,d).lineTo(b,d).lineTo(b,e).lineTo(c,e).lineTo(c,d).lineTo(a.left+a.width,d);break;case "right":a=this.ea;b=this.D;c=this.j;this.i("inverted")||(b=kB-b,c=kB-c);b=a.top+b/kB*a.height;d=a.top+c/kB*a.height;this.f.jc(1,0,0,1,0,b);this.b.jc(1,0,0,1,0,d);c=Math.min(b,d);b=Math.max(b,d);this.MA.shape(a.left,c,a.width,b-c);this.O.clear().moveTo(a.left,a.top).lineTo(a.left,c).lineTo(a.left+a.width,c).lineTo(a.left+
a.width,b).lineTo(a.left,b).lineTo(a.left,a.top+a.height);break;case "bottom":a=this.ea;c=this.D;b=this.j;this.i("inverted")&&(c=kB-c,b=kB-b);c=a.left+c/kB*a.width;d=a.left+b/kB*a.width;this.f.jc(1,0,0,1,c,0);this.b.jc(1,0,0,1,d,0);b=Math.min(c,d);c=Math.max(c,d);this.MA.shape(b,a.top,c-b,a.height);b=$.R(b,1);c=$.R(c,1);d=$.R(a.top,1);e=$.R(a.top+a.height,1);this.O.clear().moveTo(a.left,d).lineTo(b,d).lineTo(b,e).lineTo(c,e).lineTo(c,d).lineTo(a.left+a.width,d);break;case "left":a=this.ea,b=this.D,
c=this.j,this.i("inverted")||(b=kB-b,c=kB-c),b=a.top+b/kB*a.height,d=a.top+c/kB*a.height,this.f.jc(1,0,0,1,0,b),this.b.jc(1,0,0,1,0,d),c=Math.min(b,d),b=Math.max(b,d),this.MA.shape(a.left,c,a.width,b-c),this.O.clear().moveTo(a.left+a.width,a.top).lineTo(a.left+a.width,c).lineTo(a.left,c).lineTo(a.left,b).lineTo(a.left+a.width,b).lineTo(a.left+a.width,a.top+a.height)}this.N().i("autoHide")||oB(this);this.I(16)}return this};
$.g.qd=function(){var a=this.ja();a=a?a.clone():$.gn(0,0,0,0);this.He()&&(this.J(4)&&(this.PO(),this.I(4)),this.Hb()?(a.height-=this.g.height,"top"==this.i("orientation")&&(a.top+=this.g.height)):(a.width-=this.g.width,"left"==this.i("orientation")&&(a.left+=this.g.width)));return a};
$.g.PO=function(){var a=this.ja(),b=this.Hb()?a.height:a.width,c=$.M(this.i("height"),b),d=$.M(this.i("maxHeight"),b),e=$.M(this.i("minHeight"),b);b=c;(0,window.isNaN)(e)||(b=Math.max(b,e));(0,window.isNaN)(d)||(b=Math.min(c,d));b=this.Hb()?this.padding().Jj(b):this.padding().rk(b);this.g.left=a.left;this.g.top=a.top;c=this.i("orientation");this.Hb()?(this.g.width=a.width,this.g.height=b,"bottom"==c&&(this.g.top+=a.height-b)):(this.g.width=b,this.g.height=a.height,"right"==c&&(this.g.left+=a.width-
b));this.nb||this.Hb()?this.ea=this.padding().nj(this.g):(b=this.padding(),"left"==c?(c=$.M(b.i("left"),this.g.width),a=$.M(b.i("top"),this.g.height),d=$.M(b.i("right"),this.g.width),b=$.M(b.i("bottom"),this.g.height)):(c=$.M(b.i("right"),this.g.width),a=$.M(b.i("bottom"),this.g.height),d=$.M(b.i("left"),this.g.width),b=$.M(b.i("top"),this.g.height)),this.ea.left=this.g.left+b,this.ea.top=this.g.top+c,this.ea.width=this.g.width-b-a,this.ea.height=this.g.height-c-d);this.B(80)};
$.g.M9=function(a){a.f();!$.no(this.va,a.relatedTarget)&&this.bh(a)&&(this.ab=!0,oB(this))};$.g.Mfa=function(a){a.f();!$.no(this.va,a.relatedTarget)&&this.bh(a)&&(this.ab=!1,pB(this))};$.g.T4=function(a){a=a.target;$.K(a,$.zg)&&(a==this.f?qB(this,this.f,this.eb=!0):a==this.b&&qB(this,this.b,this.Ra=!0))};$.g.S4=function(a){a=a.target;$.K(a,$.zg)&&(a==this.f?qB(this,this.f,this.eb=!1):a==this.b&&qB(this,this.b,this.Ra=!1))};
$.g.rE=function(a){if($.K(a.b,$.hg)){var b=a.b,c;b!=this.f||this.ya?b!=this.b||this.ga?b!=this.G||this.ka||(this.ka=c=new vB(this,this.G,!1)):this.ga=c=new vB(this,this.b,!0):this.ya=c=new vB(this,this.f,!0);c&&(this.sc.ra(c,"start",this.L9),this.sc.ra(c,"end",this.K9),c.Tj(a.Vj))}};$.g.hga=function(a){var b=$.Wj(this.va.Ha());a=this.Hb()?a.clientX-b.x:a.clientY-b.y;rB(this,"background-click","scrollerchangestart")&&(tB(this,!1,a),rB(this,"background-click","scrollerchangefinish"))};
$.g.L9=function(a){if(this.i("allowRangeChange")&&a.f!=this.ka){a=mB(this);var b="thumb-drag"}else a=mB(this),b="selected-range-drag";if(b=rB(this,b,"scrollerchangestart"))this.Ga++,this.f.cursor(null),this.b.cursor(null),this.G.cursor(null),$.uf(window.document.body,"cursor",a);return b};
$.g.K9=function(a){this.Ga=Math.max(this.Ga-1,0);pB(this);this.f.cursor(mB(this));this.b.cursor(mB(this));this.G.cursor(mB(this));$.uf(window.document.body,"cursor","");a=this.i("allowRangeChange")&&a.f!=this.ka?"thumb-drag":"selected-range-drag";rB(this,a,"scrollerchangefinish")};$.g.n2=function(a,b,c,d){return{type:a,startRatio:b,endRatio:c,source:d}};
$.g.R=function(){$.qd(this.va);this.G=this.ba=this.O=this.b=this.f=this.va=null;$.qd(this.ya);this.ya=null;$.qd(this.ga);this.ga=null;$.qd(this.ka);this.ka=null;$.qd(this.U);this.U=null;$.qd(this.Pa);this.Pa=null;$.lB.u.R.call(this)};$.g.F=function(){var a=$.lB.u.F.call(this);$.Hq(this,FH,a,"Scroller");a.thumbs=this.N().F();return a};$.g.X=function(a,b){$.lB.u.X.call(this,a,b);$.zq(this,FH,a,b);"thumbs"in a&&this.N().ia(!!b,a.thumbs)};$.H(vB,$.ag);$.g=vB.prototype;
$.g.J9=function(){$.n(this.zj)&&($.fl.cancelAnimationFrame(this.zj),this.Xr(0))};$.g.Hq=function(){this.g.Hb()?(this.deltaX=uB(this.g,this.b),this.deltaY=0):(this.deltaX=0,this.deltaY=uB(this.g,this.b))};$.g.Rr=function(a,b){this.j=this.g.Hb()?a:b;$.n(this.zj)||(this.zj=$.fl.requestAnimationFrame(this.Xr))};$.g.oA=function(a){return this.g.Hb()?sB(this.g,this.b,a):0};$.g.Yv=function(a){return this.g.Hb()?0:sB(this.g,this.b,a)};$.H(wB,$.Yq);$.xq(wB,["fill","stroke"],"normal");
wB.prototype.B=function(a,b){return this.g.B(a,b)};wB.prototype.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};wB.prototype.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};var GH={};$.hq(GH,[[0,"enabled",$.tq],[0,"autoHide",$.tq]]);$.U(wB,GH);$.g=wB.prototype;$.g.F=function(){var a={};a.normal=this.Sa().F();a.hovered=this.mb().F();$.Hq(this,GH,a,"Scroller thumbs");return a};$.g.X=function(a,b){this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);$.zq(this,GH,a)};
$.g.Od=function(a){return $.da(a)||null===a?{enabled:!!a}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?(this.enabled(c.enabled),!0):!1};$.g.R=function(){$.td(this.ca,this.xa);this.xa=this.ca=null;wB.u.R.call(this)};$.H(xB,$.lB);$.ju(xB,$.lB);xB.prototype.qr=function(a,b){$.nB(this,a,b);return this};xB.prototype.hc=function(a){return $.n(a)?($.nB(this,a,this.j/kB),this):this.D/kB};xB.prototype.Ob=function(a){return $.n(a)?($.nB(this,this.D/kB,a),this):this.j/kB};var HH=$.lB.prototype;
HH.thumbs=HH.N;HH=wB.prototype;HH.normal=HH.Sa;HH.hovered=HH.mb;HH=xB.prototype;$.F("anychart.standalones.scroller",function(){var a=new xB;a.K($.mm("standalones.scroller"));return a});HH.setRange=HH.qr;HH.startRatio=HH.hc;HH.endRatio=HH.Ob;HH.parentBounds=HH.ja;HH.getRemainingBounds=HH.qd;HH.container=HH.P;HH.padding=HH.padding;HH.draw=HH.$;$.H($.yB,$.lB);var IH={};$.gq(IH,0,"position",function(a,b){return $.xk(vda,a,b||"after-axes")});$.U($.yB,IH);$.yB.prototype.F=function(){var a=$.yB.u.F.call(this);$.Hq(this,IH,a);return a};$.yB.prototype.X=function(a,b){$.yB.u.X.call(this,a,b);$.zq(this,IH,a,b)};$.g=zB.prototype;$.g.SA=function(a,b){a=$.Za($.N(a),0,1);(0,window.isNaN)(a)&&(a=this.g);b=$.Za($.N(b),0,1);(0,window.isNaN)(b)&&(b=this.b);this.f=null;if(this.g!=a||this.b!=b)this.g=a,this.b=b,this.Ba.B(268435456,1);return this};$.g.r4=function(a,b,c){this.f={start:a,end:b,scale:c};this.Ba.B(268435456,1);return this};$.g.q4=function(a,b,c){this.f={count:$.O(a),scale:c,eda:!!b};this.Ba.B(268435456,1);return this};$.g.gz=function(){AB(this);return this.g};$.g.fz=function(){AB(this);return this.b};
$.g.jR=function(a){return $.n(a)?(a=!!a,this.j!=a&&(this.j=a),this):this.j};$.g.K=function(a){$.n(a)&&((0,window.isNaN)(+a)?$.D(a)&&(this.jR(a.continuous),$.n(a.startValue)&&$.n(a.endValue)?this.r4(a.startValue,a.endValue,$.K(a.scale,Ks)?a.scale:void 0):$.n(a.pointsCount)?this.q4(a.pointsCount,a.fromEnd,$.K(a.scale,Ks)?a.scale:void 0):this.SA(a.startRatio,a.endRatio)):this.SA(0,1/Math.abs(+a||1)));return this};$.g.F=function(){return{startRatio:this.gz(),endRatio:this.fz(),continuous:this.j}};
var JH=zB.prototype;JH.setTo=JH.SA;JH.setToValues=JH.r4;JH.setToPointsCount=JH.q4;JH.getStartRatio=JH.gz;JH.getEndRatio=JH.fz;JH.continuous=JH.jR;$.H($.BB,$.nA);var KH=function(){var a={};$.hq(a,[[0,"zAngle",function(a){return $.Za($.N(a),0,90)}],[0,"zAspect",function(a){return $.ea(a)?Math.max(a,0):a}],[0,"zDistribution",$.uq],[0,"zPadding",function(a){return Math.max($.N(a),0)||0}]]);return a}();$.U($.BB,KH);$.g=$.BB.prototype;$.g.sa=$.nA.prototype.sa|1879048192;$.g.Aq=function(a){return $.n(a)?($.V(this),this.Ob.K(a),this.da(!0),this):this.Ob};$.g.Bq=function(a){return $.n(a)?($.V(this),this.Tc.K(a),this.da(!0),this):this.Tc};
$.g.rp=function(a){this.j||(this.j=new $.yB,this.j.ib(this),$.L(this.j,this.HY,this),this.sc.ra(this.j,"scrollerchange",this.uJ),this.sc.ra(this.j,"scrollerchangefinish",this.uJ),this.B(536870916,1),$.W(this,"xScroller",this.j));return $.n(a)?(this.j.K(a),this):this.j};
$.g.Br=function(a){this.D||(this.D=new $.yB,this.D.ib(this),$.L(this.D,this.HY,this),this.sc.ra(this.D,"scrollerchange",this.uJ),this.sc.ra(this.D,"scrollerchangefinish",this.uJ),this.B(1073741828,1),$.W(this,"yScroller",this.D));return $.n(a)?(this.D.K(a),this):this.D};$.g.HY=function(a){var b=a.target==this.rp()?536870912:1073741824,c=1;$.X(a,8)&&(b|=4,c|=8);this.B(b,c)};
$.g.uJ=function(a){var b=a.target==this.rp()?this.Ob:this.Tc;b.jR()^"scrollerchangefinish"==a.type&&(a.preventDefault(),$.V(this),b.SA(a.startRatio,a.endRatio),this.da(!0))};$.g.kt=function(a,b){return new $.gB(this,this,a,b,!0)};$.g.zs=function(a){return $.xk(yda,a,"line")};$.g.FC=function(a){a=CB(this.Br(),a);this.Ud=a.Z3;a=CB(this.rp(),a.g_);return $.BB.u.FC.call(this,a.g_,a.Z3)};$.g.zZ=function(a,b){var c=DB(this,a,this.rp(),b),d=this.Br();return DB(this,c,d,this.Ud)};
$.g.zQ=function(a){if(this.J(268435456)){for(var b in this.Xl){var c=this.Aq().gz(),d=1/(this.Aq().fz()-c);Ls(this.Xl[b],d,c)}$.nB(this.rp(),this.Aq().gz(),this.Aq().fz());a||this.B(570687488)}};$.g.AQ=function(a){if(this.J(268435456)){for(var b in this.an){var c=this.Bq().gz(),d=1/(this.Bq().fz()-c);Ls(this.an[b],d,c)}$.nB(this.Br(),this.Bq().gz(),this.Bq().fz());a||this.B(1107296256)}};$.g.xZ=function(){this.J(268435456)&&(this.zQ(!0),this.AQ(!0),this.B(1644167168))};
$.g.ob=function(){$.BB.u.ob.call(this);this.I(268435456)};$.g.lT=function(){return this.Ob.gz()};$.g.kT=function(){return this.Ob.fz()};$.g.JS=function(){return $.BB.u.JS.call(this)|1610612736};$.g.aQ=function(){$.BB.u.aQ.call(this);this.J(536870912)&&(this.rp().P(this.La),this.rp().$(),this.I(536870912));this.J(1073741824)&&(this.Br().P(this.La),this.Br().$(),this.I(1073741824))};
$.g.w4=function(a,b,c){var d=this.q0(b);b=d.transform(c,0);c=d.transform(c,1);return"selected"!=a||1>=Math.min(b,c)&&0<=Math.max(b,c)};$.g.q0=function(a){return a.cl()};
$.g.Ns=function(a,b,c){$.BB.u.Ns.call(this,a,b,c);$.zq(this,KH,a);"xScroller"in a&&this.rp().ia(!!c,a.xScroller);"yScroller"in a&&this.Br().ia(!!c,a.yScroller);var d=a.xZoom;$.D(d)&&($.ea(d.scale)||$.z(d.scale))?(c=d.scale,d.scale=b[d.scale],this.Aq(d),d.scale=c):this.Aq(d);a=a.yZoom;$.D(a)&&($.ea(a.scale)||$.z(a.scale))?(c=a.scale,a.scale=b[a.scale],this.Bq(a),a.scale=c):this.Bq(a)};
$.g.F=function(){var a=$.BB.u.F.call(this);$.Hq(this,KH,a);a.xScroller=this.rp().F();a.yScroller=this.Br().F();a.xZoom=this.Aq().F();a.yZoom=this.Bq().F();return{chart:a}};$.g.R=function(){$.BB.u.R.call(this);$.td(this.j,this.D);this.D=this.j=null};$.g=$.EB.prototype;$.g.gs=ba(27);$.g.Bt=function(){$.GB(this);return this.b.concat()};$.g.Dj=function(){return 0==this.g};$.g.clear=function(){this.f={};this.g=this.b.length=0};$.g.remove=function(a){return $.FB(this.f,a)?(delete this.f[a],this.g--,this.b.length>2*this.g&&$.GB(this),!0):!1};$.g.get=function(a,b){return $.FB(this.f,a)?this.f[a]:b};$.g.set=function(a,b){$.FB(this.f,a)||(this.g++,this.b.push(a));this.f[a]=b};
$.g.forEach=function(a,b){for(var c=this.Bt(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};$.g.clone=function(){return new $.EB(this)};$.H($.HB,nz);$.HB.prototype.update=function(){for(var a=0;a<this.$b.length;a++)this.$b[a].update();this.$b.length&&this.$b[0].HF((0,$.Fn)())};$.H($.IB,$.Yq);$.g=$.IB.prototype;$.g.qa=9;$.g.i=$.Xq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};var iea=$.IB.prototype,LH={};$.gq(LH,1,"stroke",$.Dq);$.gq(LH,1,"fill",$.Eq);iea.dQ=LH;$.U($.IB,$.IB.prototype.dQ);$.g=$.IB.prototype;
$.g.content=function(a){return $.n(a)?(this.Cd!=a&&(this.b=$.K(a,$.hg)||$.K(a,$.Y)?this.Cd:this.Uh,this.Uh=this.Cd=a,this.Kj||(this.Kj=$.lk()),$.K(a,$.hg)?this.Kj.fc(a):$.K(a,$.Y)?($.V(a),a.P(this.Kj)):(a=$.Np(a))?(this.Uh=a,$.V(a),a.P(this.Kj)):this.Uh=null,this.ta(8)),this):this.Cd};$.g.Rd=function(){var a=this.Aa.LS();return{x:a[0],y:a[1]}};$.g.pb=function(){var a=this.Aa.m0();return a?a.clone():$.gn(0,0,0,0)};
$.g.vF=function(){if(this.b){var a=this.b;$.K(a,$.hg)?(this.Kj.Ha().ac("renderfinish",this.Aa.oJ,!1,this.Aa),a.remove()):($.V(a),$.K(a,$.Hu)?$.Nu(a)&&$.Nu(a).clear(a.la()):$.K(a,$.Qx)?$.Rx(a)&&$.Rx(a).clear(a.la()):$.K(a,$.Y)&&(a.P(null),a.remove()),this.Uh.ac("chartdraw",this.Aa.kK,!1,this.Aa),a.da(!1));this.b=null}};$.g.X=function(a,b){$.IB.u.X.call(this,a,b);$.zq(this,this.dQ,a,b);"content"in a&&this.content(a.content)};
$.g.F=function(){var a={};$.Hq(this,this.dQ,a,"Map axes props");this.Uh&&$.K(this.Uh,$.gx)&&(a.content=this.Uh.hB());return a};$.g.R=function(){this.b=this.Uh;this.vF();this.Uh=this.Cd=null;$.td(this.Kj);this.Kj=null;$.IB.u.R.call(this)};var MH=$.IB.prototype;MH.content=MH.content;MH.getPoint=MH.Rd;MH.getBounds=MH.pb;$.H($.JB,$.Eg);$.JB.prototype.clear=function(){for(var a;a=this.Zb();)this.b.push(this.jj(a-1));return this};$.JB.prototype.R=function(){for(var a=this.b.length;a--;)$.qd(this.b[a]);this.b=null;delete this.j;delete this.g;this.f=null;$.JB.u.R.call(this)};$.H(LB,$.xA);$.sG[1]=LB;$.g=LB.prototype;$.g.type=1;$.g.flags=241;$.g.vh={fill:"path",hatchFill:"path",stroke:"path"};$.g.nca=function(a,b,c,d,e,f,h){f=a.o("nextZeroX");var k=a.o("nextZero"),l=a.o("nextValueX");a=a.o("nextValue");(0,window.isNaN)(k)||(0,window.isNaN)(a)?(MB(this,this.b,b,c,d,e,h),this.f=[d,e]):(MB(this,this.b,l,a,f,k,h),this.f=[f,k])};$.g.oca=function(a,b,c,d,e,f,h){MB(this,this.b,b,c,d,e,h);this.g=b;this.vi=e};
$.g.wca=function(a,b,c,d,e,f){var h=this.Wc,k=this.ah(f,this.prevValue),l={};l[k.stroke]=!0;l[k.fill]=!0;l[k.he]=!0;h=h.Xc(this.Ac,l);l=a.o("prevZeroX");var m=a.o("prevZero"),p=a.o("prevValueX"),q=a.o("prevValue");(0,window.isNaN)(m)||(0,window.isNaN)(q)||(NB(this,h,p,q,m,f),this.f.push(l,m),this.vm(),MB(this,h,b,c,d,e,k),this.f=[d,e]);NB(this,h,b,c,e,f);this.f.push(d,e);b=a.o("nextZeroX");c=a.o("nextZero");d=a.o("nextValueX");a=a.o("nextValue");(0,window.isNaN)(c)||(0,window.isNaN)(a)||(this.vm(),
MB(this,h,d,a,b,c,k),this.f=[b,c])};$.g.xca=function(a,b,c,d,e,f){a=this.Wc;var h=this.ah(f,this.prevValue),k={};k[h.stroke]=!0;k[h.fill]=!0;k[h.he]=!0;a=a.Xc(this.Ac,k);NB(this,a,b,c,e,f);this.g=d};$.g.rd=function(a){LB.u.rd.call(this,a);this.hc=!!this.W.i("closed");this.eb=!1;this.Ob=this.G=this.nb=this.D=window.NaN;this.W.i1()?(this.Ra=this.nca,this.ab=this.wca):(this.Ra=this.oca,this.ab=this.xca)};$.g.Jz=function(a,b){(0,window.isNaN)(this.D)&&(this.eb=!0);LB.u.Jz.call(this,a,b)};
$.g.zo=function(a){var b=this.Wc,c=a.get(this.W.ue()[0]),d=this.ah(c,this.prevValue),e={};e[d.stroke]=!0;e[d.fill]=!0;e[d.he]=!0;this.b=b.Xc(this.Ac,e);b=a.o("x");e=a.o("value");var f=a.o("zeroX"),h=a.o("zero");this.Ra(a,b,e,f,h,c,d);(0,window.isNaN)(this.D)&&(this.D=b,this.nb=e,this.G=f,this.Ob=h);this.ka=b;this.U=e;this.prevValue=c;this.Ja=h;this.O=d};
$.g.fg=function(a){var b=a.get(this.W.ue()[0]),c=this.ah(b,this.prevValue),d=a.o("x"),e=a.o("value"),f=a.o("zeroX"),h=a.o("zero");this.ab(a,d,e,f,h,b);this.ka=d;this.U=e;this.prevValue=b;this.Ja=h;this.O=c};
$.g.vm=function(){if(this.N){var a=this.b,b=this.O,c=a[b.fill];a=a[b.he];if(this.f){for(b=this.f.length-1;0<=b;b-=2){var d=this.f[b-1],e=this.f[b];e=$.R(e,1);e=e<this.U?Math.floor(e):Math.ceil(e);$.wA(c,this.za,d,e);$.wA(a,this.za,d,e)}c.close();a.close();this.f=null}else(0,window.isNaN)(this.g)||(b=$.R(this.vi,1),b=b<this.U?Math.floor(b):Math.ceil(b),$.wA(c,this.za,this.g,b),$.wA(a,this.za,this.g,this.vi),c.close(),a.close())}};
$.g.zl=function(){this.hc&&!(0,window.isNaN)(this.D)&&(this.ya||this.N&&!this.eb)&&(NB(this,this.b,this.D,this.nb,this.Ja,this.prevValue),this.W.Tg()?this.f.push(this.G,this.Ob):this.g=this.G);LB.u.zl.call(this)};$.H($.OB,$.xA);$.sG[4]=$.OB;$.g=$.OB.prototype;$.g.type=4;$.g.flags=514;$.g.vh={circle:"circle",hatchFill:"circle",negative:"circle",negativeHatchFill:"circle"};$.g.fg=function(a,b){if(0>a.o("size")){var c="negative";var d="negativeHatchFill"}else c="circle",d="hatchFill";var e={};e[c]=!0;e[d]=!0;c=this.Wc.Xc(b,e);PB(this,a,c)};$.g.bt=function(a){var b=a.o("shapes");PB(this,a,b)};$.H(QB,$.xA);$.sG[5]=QB;$.g=QB.prototype;$.g.type=5;$.g.flags=$.wG|263744;$.g.vh={rising:"path",risingHatchFill:"path",falling:"path",fallingHatchFill:"path"};$.g.sp=["open","high","low","close"];$.g.ol="close";
$.g.fg=function(a,b){var c=Number(a.get("open"))<Number(a.get("close"));if(c){var d="rising";var e="risingHatchFill"}else d="falling",e="fallingHatchFill";var f={};f[d]=!0;f[e]=!0;f=this.Wc.Xc(b,f);var h=a.o("x"),k=a.o("open"),l=a.o("high"),m=a.o("low"),p=a.o("close"),q=this.j/2;d=f[d];$.vA(d,this.za,h,l);$.wA(d,this.za,h,c?p:k);$.vA(d,this.za,h-q,k);$.wA(d,this.za,h+q,k,h+q,p,h-q,p,h-q,k);$.vA(d,this.za,h,m);$.wA(d,this.za,h,c?k:p);d=f[e];$.vA(d,this.za,h,l);$.wA(d,this.za,h,c?p:k);$.vA(d,this.za,
h-q,k);$.wA(d,this.za,h+q,k,h+q,p,h-q,p,h-q,k);$.vA(d,this.za,h,m);$.wA(d,this.za,h,c?k:p)};$.H($.RB,$.xA);$.sG[6]=$.RB;$.g=$.RB.prototype;$.g.type=6;$.g.flags=263905;$.g.vh={path:"path",hatchFill:"path"};$.g.fg=function(a,b){var c=this.Wc,d=a.get(this.W.ue()[0]),e=this.ah(d,this.prevValue),f={};f[e.path]=!0;f[e.he]=!0;a.o("names",e);c=c.Xc(b,f);this.VE(a,c[e.path],c[e.he]);this.prevValue=d};$.g.bt=function(a){var b=a.o("shapes"),c=a.o("names"),d;for(d in b)b[d].clear();this.VE(a,b[c.path],b[c.he])};
$.g.VE=function(a,b,c){if(!a.o("skipDrawing")){var d=a.o("x"),e=a.o("zero");a=a.o("value");d-=this.j/2;var f=d+this.j,h=$.bc(b.stroke());this.Yu&&(d=$.R(d,h),f=$.R(f,h),a=$.R(a,h),this.za?(e=$.R(e,1),e=e<a?Math.floor(e):Math.ceil(e)):e=$.R(e,h));$.vA(b,this.za,d,a);$.wA(b,this.za,f,a,f,e,d,e);b.close();$.vA(c,this.za,d,a);$.wA(c,this.za,f,a,f,e,d,e);c.close()}};$.H(SB,$.xA);$.sG[19]=SB;$.g=SB.prototype;$.g.type=19;$.g.flags=34505;$.g.vh={stroke:"path"};$.g.fg=function(a,b){var c=this.Wc,d=a.get(this.W.ue()[0]),e=this.ah(d,this.prevValue),f={};f[e.stroke]=!0;a.o("names",e);c=c.Xc(b,f);TB(this,a,c,e);this.prevValue=d};$.g.bt=function(a){var b=a.o("shapes"),c=a.o("names"),d;for(d in b)b[d].clear();TB(this,a,b,c)};$.H($.UB,$.xA);$.sG[8]=$.UB;$.g=$.UB.prototype;$.g.type=8;$.g.flags=32985;$.g.vh={stroke:"path"};$.g.rd=function(a){$.UB.u.rd.call(this,a);this.Bd=!!this.W.i("closed");this.hc=!1;this.eb=this.g=window.NaN};$.g.Jz=function(){(0,window.isNaN)(this.g)&&(this.hc=!0)};
$.g.zo=function(a){var b=a.get(this.W.ue()[0]),c=this.ah(b,this.prevValue),d={};d[c.stroke]=!0;this.b=this.Wc.Xc(this.Ac,d);d=a.o("x");a=a.o("value");$.vA(this.b[c.stroke],this.za,d,a);(0,window.isNaN)(this.g)&&(this.g=d,this.eb=a);this.ka=d;this.U=a;this.prevValue=b;this.O=c};
$.g.fg=function(a){var b=this.Wc,c=a.get(this.W.ue()[0]),d=this.ah(c,this.prevValue),e={};e[d.stroke]=!0;b=b.Xc(this.Ac,e);e=a.o("x");var f=a.o("value");if(b!=this.b){var h=this.ka;var k=this.U;var l=yA(this,c);this.ga&&l?(k=a.o("zero"),a=(e-this.ka)*(k-this.U)/(f-this.U)+this.ka):this.Ga&&!this.ga?a=h:(a=h+(e-h)/2,k+=(f-k)/2);$.wA(this.b[this.O.stroke],this.za,a,k);this.b=b;$.vA(this.b[d.stroke],this.za,a,k)}$.wA(this.b[d.stroke],this.za,e,f);this.ka=e;this.U=f;this.prevValue=c;this.O=d};
$.g.zl=function(){this.xY();$.UB.u.zl.call(this)};$.g.xY=function(){this.Bd&&!(0,window.isNaN)(this.g)&&(this.ya||this.N&&!this.hc)&&$.wA(this.b[this.O.stroke],this.za,this.g,this.eb)};$.H($.VB,$.xA);$.sG[9]=$.VB;$.g=$.VB.prototype;$.g.type=9;$.g.flags=8832;$.g.vh={path:"path",hatchFill:"path"};$.g.mB=function(a,b){var c=a.o("shapes"),d=a.o("names");c&&(c[d.path].clear(),c[d.he].clear(),$.WB(this,a,b,c,d))};$.g.fg=function(a,b){var c=this.Wc,d=a.get(this.W.ue()[0]),e=this.ah(d,this.prevValue),f={};f[e.path]=!0;f[e.he]=!0;a.o("names",e);c=c.Xc(b,f);$.WB(this,a,b,c,e);this.prevValue=d};$.H(XB,$.xA);$.sG[10]=XB;$.g=XB.prototype;$.g.type=10;$.g.flags=$.wG|263752;$.g.vh={rising:"path",falling:"path"};$.g.sp=["open","high","low","close"];$.g.ol="close";
$.g.fg=function(a,b){var c=Number(a.get("open"))<Number(a.get("close"))?"rising":"falling",d={};d[c]=!0;var e=this.Wc.Xc(b,d);d=a.o("x");var f=a.o("open"),h=a.o("high"),k=a.o("low"),l=a.o("close"),m=this.j/2;c=e[c];$.vA(c,this.za,d,h);$.wA(c,this.za,d,k);$.vA(c,this.za,d-m,f);$.wA(c,this.za,d,f);$.vA(c,this.za,d+m,l);$.wA(c,this.za,d,l)};$.H(YB,$.xA);$.sG[11]=YB;$.g=YB.prototype;$.g.type=11;$.g.flags=$.Yl|16;$.g.vh={fill:"path",hatchFill:"path",lowStroke:"path",highStroke:"path"};$.g.sp=["low","high"];$.g.ol="high";$.g.ah=function(a,b){var c={},d="fill",e="hatchFill";a>b?this.xc&&(d="highFill",e="highHatchFill"):this.Tc&&(d="lowFill",e="lowHatchFill");c.NT="highStroke";c.LU="lowStroke";c.fill=d;c.he=e;return c};
$.g.zo=function(a){var b=this.Wc,c=this.W.ue(),d=a.get(c[1]);c=a.get(c[0]);d=this.ah(d,c);c={};c[d.NT]=!0;c[d.LU]=!0;c=b.Xc(this.Ac,c);this.O=c[d.NT];this.U=c[d.LU];c={};c[d.fill]=!0;c[d.he]=!0;this.b=b.Xc(this.Ac,c);b=a.o("x");c=a.o("high");a=a.o("low");var e=this.b[d.fill],f=this.b[d.he];$.vA(e,this.za,b,a);$.wA(e,this.za,b,c);$.vA(f,this.za,b,a);$.wA(f,this.za,b,c);$.vA(this.O,this.za,b,c);this.f=[b,a,e,f];this.D=b;this.G=c;this.ka=a;this.g=d};
$.g.fg=function(a){var b=this.Wc,c=this.W.ue(),d=a.get(c[1]);c=a.get(c[0]);d=this.ah(d,c);c={};c[d.fill]=!0;c[d.he]=!0;b=b.Xc(this.Ac,c);c=a.o("x");var e=a.o("high"),f=a.o("low");if(this.b!=b){var h=sn(this.D,this.G,c,e,this.D,this.ka,c,f);if(h){a=this.b[this.g.fill];var k=this.b[this.g.he];$.wA(a,this.za,h.x,h.y);$.wA(k,this.za,h.x,h.y);this.f.push(h.x,h.y,a,k);this.b=b;a=this.b[d.fill];k=this.b[d.he];$.vA(a,this.za,h.x,h.y);$.vA(k,this.za,h.x,h.y);this.f.push(h.x,h.y,a,k)}}a=this.b[d.fill];k=this.b[d.he];
$.wA(a,this.za,c,e);$.wA(k,this.za,c,e);$.wA(this.O,this.za,c,e);this.f.push(c,f,a,k);this.D=c;this.G=e;this.ka=f;this.g=d};$.g.vm=function(){if(this.N&&this.f){for(var a=!0,b=null,c=this.f.length-1;0<=c;c-=4){var d=this.f[c-3],e=this.f[c-2],f=this.f[c-1],h=this.f[c];b&&f!=b?($.vA(f,this.za,d,e),$.vA(h,this.za,d,e)):($.wA(f,this.za,d,e),$.wA(h,this.za,d,e));a?($.vA(this.U,this.za,d,e),a=!1):$.wA(this.U,this.za,d,e);b=f}this.f=null}};$.H($.ZB,$.xA);$.sG[12]=$.ZB;$.g=$.ZB.prototype;$.g.type=12;$.g.flags=$.Yl|263680;$.g.vh={path:"path",hatchFill:"path"};$.g.sp=["low","high"];$.g.ol="high";
$.g.fg=function(a,b){if(!a.o("skipDrawing")){var c=this.W.ue(),d=a.get(c[1]);c=a.get(c[0]);d=this.ah(d,c);c={};c[d.path]=!0;c[d.he]=!0;a.o("name",d.path);c=this.Wc.Xc(b,c);var e=a.o("x"),f=a.o("high"),h=a.o("low");e-=this.j/2;var k=e+this.j,l=$.bc(c[d.path].stroke());this.Yu&&(e=$.R(e,l),k=$.R(k,l));f=$.R(f,l);h=$.R(h,l);l=c[d.path];$.vA(l,this.za,e,h);$.wA(l,this.za,k,h);$.wA(l,this.za,k,f);$.wA(l,this.za,e,f);l.close();l=c[d.he];$.vA(l,this.za,e,h);$.wA(l,this.za,k,h);$.wA(l,this.za,k,f);$.wA(l,
this.za,e,f);l.close()}};$B.prototype.za=function(a){return $.n(a)?(this.N=a,this):this.N};$B.prototype.ba=function(a){return $.n(a)?(this.g=a,this):this.g};
$B.prototype.f=function(a){var b,c,d=arguments;for(b=0;b<this.wa.length;b++){var e=this.wa[b];var f=0;for(c=d.length;f<c;f++)switch(d[f]){case "m":if(this.N){var h=d[f+2];var k=d[f+1]}else h=d[f+1],k=d[f+2];e.moveTo(h,k);f+=2;break;case "bs":if(this.N){h=d[f+2];k=d[f+1];var l=d[f+4];var m=d[f+3]}else h=d[f+1],k=d[f+2],l=d[f+3],m=d[f+4];e.b?(e.moveTo(h,k),e.lineTo(l,m)):e.moveTo(l,m);f+=4;break;case "bc":this.N?(l=d[f+2],m=d[f+1]):(l=d[f+1],m=d[f+2]);e.b&&e.lineTo(l,m);f+=2;break;case "c":this.N?(h=
d[f+2],k=d[f+1],l=d[f+4],m=d[f+3]):(h=d[f+1],k=d[f+2],l=d[f+3],m=d[f+4]);e.pJ(h,k,l,m);f+=4;break;case "l":this.N?(h=d[f+2],k=d[f+1]):(h=d[f+1],k=d[f+2]),e.lineTo(h,k)}}};$.H(iC,$.xA);$.sG[13]=iC;$.g=iC.prototype;$.g.type=13;$.g.flags=$.Yl|16;$.g.vh={fill:"path",hatchFill:"path",lowStroke:"path",highStroke:"path"};$.g.sp=["low","high"];$.g.ah=function(a,b){var c={},d="fill",e="hatchFill";a>b?this.xc&&(d="highFill",e="highHatchFill"):this.Tc&&(d="lowFill",e="lowHatchFill");c.NT="highStroke";c.LU="lowStroke";c.fill=d;c.he=e;return c};
$.g.rd=function(a){iC.u.rd.call(this,a);this.g.za(this.za);a=this.W.BA();$.n(a)&&(this.g.Ga=a);this.D.za(this.za);a=this.W.BA();$.n(a)&&(this.D.Ga=a);this.G=[]};
$.g.zo=function(a){var b=this.Wc,c=this.W.ue(),d=a.get(c[1]);c=a.get(c[0]);var e={highStroke:!0,lowStroke:!0};e=b.Xc(this.Ac,e);this.O=e.highStroke;this.U=e.lowStroke;var f=this.ah(d,c);e={};e[f.fill]=!0;e[f.he]=!0;b.Xc(this.Ac,e);b=a.o("x");e=a.o("high");a=a.o("low");gC(this.g,!1);this.g.wa=[this.O];(e=eC(this.g,b,e))&&this.G.push.apply(this.G,e);e=this.W.aa().current();f=this.W.aa().la();this.f=[b,a,d,c,e,f]};
$.g.fg=function(a){var b=this.Wc,c=this.W.ue(),d=a.get(c[1]);c=a.get(c[0]);var e=this.ah(d,c),f={};f[e.fill]=!0;f[e.he]=!0;b.Xc(this.Ac,f);b=a.o("x");e=a.o("high");a=a.o("low");(e=eC(this.g,b,e))&&this.G.push.apply(this.G,e);e=this.W.aa().current();f=this.W.aa().la();this.f.push(b,a,d,c,e,f)};
$.g.vm=function(){var a=this.Wc;if(this.N){var b=fC(this.g);b&&this.G.push.apply(this.G,b);this.g.wa=[this.U];gC(this.g,!0);gC(this.D,!0);b=[];if(this.f){for(var c=!0,d=this.W.Qf(),e=this.f.length-1;0<=e;e-=6){var f=this.f[e-2],h=this.f[e-3];var k=this.f[e-4];var l=this.f[e-5];d.ku(this.f[e-1],this.f[e]);h=this.ah(h,f);f=a.Xc(this.Ac,d.o("shapeNames"));eC(this.D,l,k);eC(this.g,l,k);c?(this.b=f,k=f[h.fill],l=f[h.he],this.D.wa=[k,l],c=!1):(k=e==this.f.length-7||5==e?6:12,k=$.Ca(this.G,this.G.length-
k,k),$.qa($.Ca,b,void 0,0).apply(null,k),this.b!=f&&(k=f[h.fill],l=f[h.he],h=this.D,k=[k,l],h.b=b.slice(),h.O=k,b.length=0,this.b=f))}$.qa($.Ca,this.D.Ih,void 0,0).apply(null,b);fC(this.D);fC(this.g);this.f=null}}};$.H(jC,$.xA);$.sG[14]=jC;$.g=jC.prototype;$.g.type=14;$.g.flags=$.Yl|131088;$.g.vh={fill:"path",hatchFill:"path",highStroke:"path",lowStroke:"path"};$.g.sp=["low","high"];$.g.ol="high";$.g.rd=function(a){jC.u.rd.call(this,a);this.G=this.W.i("stepDirection")||"center"};
$.g.zo=function(a){var b=this.Wc.Xc(this.Ac),c=a.o("x"),d=a.o("high");a=a.o("low");$.vA(b.fill,this.za,c,a);$.wA(b.fill,this.za,c,d);$.vA(b.hatchFill,this.za,c,a);$.wA(b.hatchFill,this.za,c,d);$.vA(b.highStroke,this.za,c,d);this.D=c;this.g=d;this.f=[c,a]};
$.g.fg=function(a){var b=this.Wc.Xc(this.Ac),c=a.o("x"),d=a.o("high");a=a.o("low");var e=b.fill,f=b.hatchFill;b=b.highStroke;switch(this.G){case "forward":$.wA(e,this.za,c,this.g);$.wA(f,this.za,c,this.g);$.wA(b,this.za,c,this.g);break;case "backward":$.wA(e,this.za,this.D,d);$.wA(f,this.za,this.D,d);$.wA(b,this.za,this.D,d);break;default:var h=(c+this.D)/2;$.wA(e,this.za,h,this.g,h,d);$.wA(f,this.za,h,this.g,h,d);$.wA(b,this.za,h,this.g,h,d)}$.wA(e,this.za,c,d);$.wA(f,this.za,c,d);$.wA(b,this.za,
c,d);this.D=c;this.g=d;this.f.push(c,a)};
$.g.vm=function(){if(this.N&&this.f){var a=this.Wc.Xc(this.Ac),b=a.fill,c=a.hatchFill;a=a.lowStroke;for(var d=window.NaN,e=window.NaN,f=!0,h=this.f.length-1;0<=h;h-=2){var k=this.f[h-1],l=this.f[h];if(f)$.vA(a,this.za,k,l),f=!1;else switch(this.G){case "forward":$.wA(b,this.za,d,l);$.wA(c,this.za,d,l);$.wA(a,this.za,d,l);break;case "backward":$.wA(b,this.za,k,e);$.wA(c,this.za,k,e);$.wA(a,this.za,k,e);break;default:d=(k+d)/2,$.wA(b,this.za,d,e,d,l),$.wA(c,this.za,d,e,d,l),$.wA(a,this.za,d,e,d,l)}$.wA(b,
this.za,k,l);$.wA(c,this.za,k,l);$.wA(a,this.za,k,l);d=k;e=l}b.close();c.close();this.f=null}};$.H(kC,$.xA);$.sG[31]=kC;$.g=kC.prototype;$.g.type=31;$.g.flags=$.Yl|295433;$.g.vh={stroke:"path"};$.g.rd=function(a){kC.u.rd.call(this,a);this.Yu=2<this.j};$.g.sp=["low","high"];$.g.ol="high";$.g.fg=function(a,b){var c=this.W.ue(),d=a.get(c[1]),e=a.get(c[0]),f={};c="stroke";d>e?this.Ud&&(c="highStroke"):this.me&&(c="lowStroke");f[c]=!0;a.o("name",c);d=this.Wc.Xc(b,f);lC(this,a,d,c)};$.g.bt=function(a){var b=a.o("shapes"),c=a.o("name"),d;for(d in b)b[d].clear();lC(this,a,b,c)};$.H(mC,$.xA);$.sG[15]=mC;$.g=mC.prototype;$.g.type=15;$.g.flags=32985;$.g.vh={stroke:"path"};$.g.rd=function(a){mC.u.rd.call(this,a);this.f.za(this.za);a=this.W.BA();$.n(a)&&(this.f.Ga=a)};$.g.zo=function(a){var b=a.get(this.W.ue()[0]),c=this.ah(b,this.prevValue),d=a.o("x");a=a.o("value");var e={};e[c.stroke]=!0;this.b=this.Wc.Xc(this.Ac,e);this.f.wa=[this.b[c.stroke]];gC(this.f,!1);eC(this.f,d,a);this.U=a;this.prevValue=b};
$.g.fg=function(a){var b=a.get(this.W.ue()[0]),c=this.Wc,d=this.ah(b,this.prevValue),e={};e[d.stroke]=!0;c=c.Xc(this.Ac,e);var f=a.o("x");e=a.o("value");eC(this.f,f,e);if(c!=this.b){var h;f=this.U;var k=yA(this,b);this.ga&&k?h=a.o("zero"):this.Ga&&!this.ga?h=f:h="middle";a=this.f;d=[c[d.stroke]];a.b=h;a.O=d;this.b=c}this.U=e;this.prevValue=b};$.g.vm=function(){this.N&&fC(this.f)};$.g.R=function(){this.f.wa=null;mC.u.R.call(this)};$.H(nC,$.xA);$.sG[16]=nC;$.g=nC.prototype;$.g.type=16;$.g.flags=241;$.g.vh={fill:"path",hatchFill:"path",stroke:"path"};$.g.rd=function(a){nC.u.rd.call(this,a);this.g.za(this.za);a=this.W.BA();$.n(a)&&(this.g.Ga=a)};$.g.Jz=function(a){if(this.ya){if(this.W.Tg()){var b=a.o("x"),c=a.o("zero");a=a.o("zeroMissing");this.f.push(b,c,a)}}else this.vm()};
$.g.zo=function(a){var b=a.get(this.W.ue()[0]),c=this.ah(b,this.prevValue),d=a.o("x"),e=a.o("zero"),f=a.o("zeroMissing");a=a.o("value");e=Oo(e);a=Oo(a);gC(this.g,!1);this.g.ba(e);eC(this.g,d,a);var h={};h[c.stroke]=!0;h[c.fill]=!0;h[c.he]=!0;this.b=this.Wc.Xc(this.Ac,h);h=this.b[c.fill];h.b=!0;var k=this.b[c.he];k.b=!0;c=this.b[c.stroke];c.b=!1;this.g.wa=[h,c,k];this.W.Tg()?this.f=[d,e,f]:this.vi=e;this.U=a;this.prevValue=b};
$.g.fg=function(a){var b=this.Wc,c=a.get(this.W.ue()[0]),d=this.D=this.ah(c,this.prevValue),e=a.o("x"),f=a.o("zero"),h=a.o("zeroMissing");a=a.o("value");f=Oo(f);a=Oo(a);eC(this.g,e,a);var k={};k[d.stroke]=!0;k[d.fill]=!0;k[d.he]=!0;b=b.Xc(this.Ac,k);if(b!=this.b){var l;k=this.U;var m=yA(this,c);this.ga&&m?l=f:this.Ga&&!this.ga?l=k:l="middle";k=b[d.fill];k.b=!0;m=b[d.he];m.b=!0;var p=b[d.stroke];p.b=!1;d=this.g;k=[k,p,m];d.b=l;d.O=k;this.g.ba(f);this.b=b}this.W.Tg()&&this.f.push(e,f,h);this.U=a;this.prevValue=
c};
$.g.vm=function(){if(this.N&&(fC(this.g),this.f)){var a=this.D,b={};b[a.stroke]=!0;b[a.fill]=!0;b[a.he]=!0;this.b=this.Wc.Xc(this.Ac,b);b=this.b[a.fill];b.b=!1;var c=this.b[a.he];c.b=!1;a=this.b[a.stroke];a.b=!1;this.g.wa=[b,a,c];gC(this.g,!0);for(var d=a=window.NaN,e=!1,f=!0,h=this.f.length-1;0<=h;h-=3){var k=this.f[h-2],l=this.f[h-1],m=this.f[h];f?($.wA(b,this.za,k,l),$.wA(c,this.za,k,l),m||eC(this.g,k,l),f=!1):m&&e?($.wA(b,this.za,k,l),$.wA(c,this.za,k,l)):m?(fC(this.g),gC(this.g,!0),$.wA(b,this.za,
a,l,k,l),$.wA(c,this.za,a,l,k,l)):(e&&($.wA(b,this.za,k,d,k,l),$.wA(c,this.za,k,d,k,l)),eC(this.g,k,l));a=k;d=l;e=m}fC(this.g);this.f=null}};$.g.R=function(){this.g.wa=null;nC.u.R.call(this)};$.H(oC,$.xA);$.sG[17]=oC;$.g=oC.prototype;$.g.type=17;$.g.flags=131313;$.g.vh={fill:"path",hatchFill:"path",stroke:"path"};$.g.rd=function(a){oC.u.rd.call(this,a);this.G=this.W.i("stepDirection")||"center"};
$.g.zo=function(a){var b=a.get(this.W.ue()[0]),c=this.Wc,d=this.ah(b,this.prevValue),e={};e[d.stroke]=!0;e[d.fill]=!0;e[d.he]=!0;c=this.b=c.Xc(this.Ac,e);e=a.o("x");a.o("zeroX");var f=a.o("zero"),h=a.o("value");if(this.W.Tg()){var k=a.o("nextZero");a=a.o("nextValue");if((0,window.isNaN)(k)||(0,window.isNaN)(a))qC(this,c,d,e,h,f),this.f=[e,f],this.g=h;else{var l=c.stroke;$.vA(l,this.za,e,h);$.wA(l,this.za,e,h);qC(this,c,d,e,a,k);this.f=[e,k];this.g=a}}else qC(this,c,d,e,h,f),this.U=e,this.vi=f,this.g=
h;this.D=e;this.prevValue=b;this.Ja=f;this.O=d};
$.g.fg=function(a){var b=a.get(this.W.ue()[0]),c=this.Wc,d=this.ah(b,this.prevValue),e={};e[d.stroke]=!0;e[d.fill]=!0;e[d.he]=!0;c=c.Xc(this.Ac,e);e=a.o("x");a.o("zeroX");var f=a.o("zero"),h=a.o("value");if(this.W.Tg()){var k=a.o("prevZero"),l=a.o("prevValue"),m=a.o("nextZero");a=a.o("nextValue");(0,window.isNaN)(k)||(0,window.isNaN)(l)?(rC(this,c,d,b,e,h,f),this.f.push(e,f)):(rC(this,c,d,b,e,l,f),this.f.push(e,k),this.D=e,this.g=l,this.vm(),qC(this,c,d,e,h,f),this.f=[e,f]);(0,window.isNaN)(m)||(0,window.isNaN)(a)?
this.g=h:($.wA(c.stroke,this.za,e,h),this.vm(),qC(this,c,d,e,a,m),this.f=[e,m],this.g=a)}else rC(this,c,d,b,e,h,f),this.U=e,this.g=h;this.D=e;this.prevValue=b;this.Ja=f;this.O=d};
$.g.vm=function(){if(this.N){var a=this.b,b=this.O,c=a[b.fill];a=a[b.he];if(!(0,window.isNaN)(this.U))$.wA(c,this.za,this.U,this.vi),$.wA(a,this.za,this.U,this.vi),c.close(),a.close();else if(this.f){var d=window.NaN;b=window.NaN;for(var e=this.f.length-1;0<=e;e-=2){var f=this.f[e-1],h=this.f[e];if(!(0,window.isNaN)(b))switch(this.G){case "forward":$.wA(c,this.za,d,h);$.wA(a,this.za,d,h);break;case "backward":$.wA(c,this.za,f,b);$.wA(a,this.za,f,b);break;default:d=(f+d)/2,$.wA(c,this.za,d,b,d,h),
$.wA(a,this.za,d,b,d,h)}$.wA(c,this.za,f,h);$.wA(a,this.za,f,h);d=f;b=h}c.close();a.close();this.f=null}}};$.H(sC,$.xA);$.sG[18]=sC;$.g=sC.prototype;$.g.type=18;$.g.flags=164057;$.g.vh={stroke:"path"};$.g.rd=function(a){sC.u.rd.call(this,a);this.G=this.W.i("stepDirection")||"center"};$.g.zo=function(a){var b=a.get(this.W.ue()[0]),c=this.ah(b,this.prevValue),d={};d[c.stroke]=!0;this.b=this.Wc.Xc(this.Ac,d);d=a.o("x");a=a.o("value");$.vA(this.b[c.stroke],this.za,d,a);this.D=d;this.g=a;this.prevValue=b;this.O=c};
$.g.fg=function(a){var b=this.Wc,c=a.get(this.W.ue()[0]),d=this.ah(c,this.prevValue),e={};e[d.stroke]=!0;b=b.Xc(this.Ac,e);e=a.o("x");var f=a.o("value"),h=this.g;if(b!=this.b){var k=yA(this,c);this.ga&&k&&(h=a.o("zero"));a=tC(this,this.O,e,this.g,h);this.b=b;$.vA(this.b[d.stroke],this.za,a,h)}tC(this,d,e,h,f);$.wA(this.b[d.stroke],this.za,e,f);this.D=e;this.g=f;this.prevValue=c;this.O=d};$.H(uC,$.xA);$.sG[20]=uC;$.g=uC.prototype;$.g.type=20;$.g.flags=296681;$.g.vh={stroke:"path"};$.g.rd=function(a){uC.u.rd.call(this,a);this.Yu=2<this.j};$.g.fg=function(a,b){var c=this.Wc,d=a.get(this.W.ue()[0]),e=this.ah(d,this.prevValue),f={};f[e.stroke]=!0;a.o("names",e);c=c.Xc(b,f);vC(this,a,c,e);this.prevValue=d};$.g.bt=function(a){var b=a.o("shapes"),c=a.o("names"),d;for(d in b)b[d].clear();vC(this,a,b,c)};var BC={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"caps-lock",27:"esc",32:"space",33:"pg-up",34:"pg-down",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:"semicolon",61:"equals",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",
93:"context",96:"num-0",97:"num-1",98:"num-2",99:"num-3",100:"num-4",101:"num-5",102:"num-6",103:"num-7",104:"num-8",105:"num-9",106:"num-multiply",107:"num-plus",109:"num-minus",110:"num-period",111:"num-division",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",186:"semicolon",187:"equals",189:"dash",188:",",190:".",191:"/",192:"`",219:"open-square-bracket",220:"\\",221:"close-square-bracket",222:"single-quote",224:"win"};var AC;$.H($.xC,$.qf);var bda=[27,112,113,114,115,116,117,118,119,120,121,122,123,19],cda="color date datetime datetime-local email month number password search tel text time url week".split(" ");$.g=$.xC.prototype;$.g.kl=function(a,b){CC(this.g,eda(arguments),a)};$.g.R=function(){$.xC.u.R.call(this);this.g={};$.Sd(this.b,"keydown",this.aM,!1,this);$.wC&&$.Sd(this.b,"keypress",this.g1,!1,this);$.Sd(this.b,"keyup",this.c1,!1,this);this.b=null};
$.g.c1=function(a){$.gd&&fda(this,a);$.wC&&!this.ba&&$.wC&&a.ctrlKey&&a.altKey&&this.aM(a)};$.g.g1=function(a){32<a.keyCode&&$.wC&&a.ctrlKey&&a.altKey&&(this.ba=!0)};
$.g.aM=function(a){a:{var b=a.keyCode;if(""!=a.key){var c=a.key;if("Control"==c||"Shift"==c||"Meta"==c||"AltGraph"==c){b=!1;break a}}else if(16==b||17==b||18==b){b=!1;break a}c=a.target;var d="TEXTAREA"==c.tagName||"INPUT"==c.tagName||"BUTTON"==c.tagName||"SELECT"==c.tagName,e=!d&&(c.isContentEditable||c.ownerDocument&&"on"==c.ownerDocument.designMode);b=!d&&!e||this.ka[b]||this.G?!0:e?!1:this.U&&(a.altKey||a.ctrlKey||a.metaKey)?!0:"INPUT"==c.tagName&&this.ya[c.type]?13==b:"INPUT"==c.tagName||"BUTTON"==
c.tagName?32!=b:!1}if(b)if("keydown"==a.type&&$.wC&&a.ctrlKey&&a.altKey)this.ba=!1;else{b=yp(a.keyCode);c=zC(a.key,b,(a.shiftKey?1:0)|(a.ctrlKey?2:0)|(a.altKey?4:0)|(a.metaKey?8:0));d=DC(this.f,c);if(!d||1500<=(0,$.Fn)()-this.j)this.f=this.g,this.j=(0,$.Fn)();(d=DC(this.f,c))&&d.next&&(this.f=d.next,this.j=(0,$.Fn)());d&&(d.next?a.preventDefault():(this.f=this.g,this.j=(0,$.Fn)(),this.N&&a.preventDefault(),this.O&&a.stopPropagation(),c=d.b,d=a.target,e=this.dispatchEvent(new EC("shortcut",c,d)),(e&=
this.dispatchEvent(new EC("shortcut_"+c,c,d)))||a.preventDefault(),$.gd&&(this.D=b)))}};$.H(EC,ud);$.H(FC,$.or);$.g=FC.prototype;$.g.advance=function(){this.f=this.b[++this.g];var a=this.Gb();return!!a&&this.g<a};$.g.get=function(a){if(!(this.g>=this.Gb())&&$.n(a)&&this.f){if(this.f.o){var b=this.f.o("treemap_type");if(1==b||3==b||4==b)return;if(b=this.f.o(a))return b}if(this.f.get)return this.f.get(a)}};$.g.la=function(){return this.g};$.g.Gb=function(){return this.b.length};$.g.o=function(a,b){if(this.f&&this.f.o)return 1<arguments.length?(this.f.o(a,b),this):this.f.o(a)};$.H(GC,$.sA);$.g=GC.prototype;$.g.la=function(){return this.index};$.g.mc=function(){return this.Aa};$.g.dba=function(){return this.node};$.g.get=function(a){return this.node.get.apply(this.node,arguments)};$.g.set=function(a){this.node.set.apply(this.node,arguments);return this};$.g.mb=function(a){var b=$.fx(this.Aa.state,$.po,this.index);return $.n(a)&&b!=a?(a?this.Aa.Hi(this.index):this.Aa.Pd(this.index),this):b};
$.g.selected=function(a){if(this.node.Zb())return $.n(a)?this:!1;var b=$.fx(this.Aa.state,$.qo,this.index);return $.n(a)&&b!=a?(a?this.Aa.Mi(this.index):this.Aa.ae(this.index),this):b};$.g.Fx=function(){return!0};var NH=GC.prototype;NH.getIndex=NH.la;NH.getChart=NH.mc;NH.getNode=NH.dba;NH.get=NH.get;NH.set=NH.set;NH.hovered=NH.mb;NH.selected=NH.selected;NH.exists=NH.Fx;$.H($.HC,$.ox);$.g=$.HC.prototype;$.g.Rg=function(){return!0};$.g.hk=function(){return!1};$.g.Ii=function(){return!0};$.g.Te=function(){return[this]};$.g.qa=$.HC.prototype.qa|16;$.g.sa=$.ox.prototype.sa|4112;$.g.Xj=$.ia;$.g.Uk=$.ia;$.g.fm=$.ia;$.g.Wp=$.ia;$.g.Fl=function(a){return $.n(a)?(a=$.yk(a),a!=this.N&&(this.N=a),this):this.N};$.g.Ni=function(a){return $.n(a)?(a=null===a?null:$.zk(a),a!=this.Ls&&(this.Ls=a),this):this.Ls};
$.g.HB=function(a){if(a){var b=this.aa().f;a.tag={W:this,index:b.o("index"),node:b}}};$.g.Rd=function(a){a=this.ba[a];var b=null;a&&(b=new GC(this,a));return b};$.g.ig=function(a){a=$.Y.prototype.ig.call(this,a);var b=$.mo(a.domTarget).index;if(!$.n(b)&&$.Zw(this.state,$.po)){var c=$.ex(this.state,$.po);c.length&&(b=c[0])}b=$.N(b);(0,window.isNaN)(b)||(a.pointIndex=b);return a};$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};
$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};$.g.es=function(){return[]};$.g.Hi=function(a){if(!this.enabled())return this;if($.A(a)){for(var b=$.ex(this.state,$.po),c=0;c<b.length;c++)$.Aa(a,b[c])||this.state.Hh($.po,b[c]);$.cx(this.state,a)}else $.ea(a)&&(this.Pd(),$.cx(this.state,a));return this};
$.g.Pd=function(a){var b;(b=$.Zw(this.state,$.po))||(b=!!(this.state.Nj()&$.po));if(b&&this.enabled()){var c;$.n(a)?c=a:c=this.state.Ac==$.Zl?window.NaN:void 0;this.state.Hh($.po,c)}};$.g.Mi=function(a,b){var c=b&&b.shiftKey?void 0:b?$.po:$.Zl;$.A(a)?(b||this.ae(),this.state.xh($.qo,a,c)):$.ea(a)&&this.state.xh($.qo,a,c);return this};
$.g.Pq=function(a){this.jl&&(this.Pd(),this.dispatchEvent(this.Ik("hovered",{target:this},this.jl,!0)),this.jl=null);this.vt();var b=null,c;if($.K(a,$.Qt)||$.K(a,$.Mt))b=a;else if($.A(a)){if((c=this.data())&&c.Zb()){c=c.od(0);for(var d=0;d<a.length;d++)if(c)c=c.od(a[d]);else break;c&&(b=c)}}else(c=this.data())&&c.Zb()&&(b=c.op("id",a)[0]);this.$D(b)};
$.g.data=function(a,b){return $.n(a)?($.K(a,$.Nt)||$.K(a,$.Kt)?a!=this.oa&&(this.oa&&$.Zq(this.oa,this.Id,this),this.oa=a,$.L(this.oa,this.Id,this)):(this.oa&&$.Zq(this.oa,this.Id,this),this.oa=new $.Nt(a,b),$.L(this.oa,this.Id,this)),this.B(4352,1),this):this.oa};$.g.Id=function(a){$.X(a,16)&&this.B(4352,1)};$.g.aa=function(){return this.Nd||this.vc()};$.g.vc=function(){return this.Nd=new FC(this.Tc)};$.g.qk=function(a,b){return $.cu(this.data(),b)};
$.g.F=function(){var a=$.HC.u.F.call(this),b=this.data();b&&(a.treeData=b.OA());b=this.Sz();var c=[];if(b)for(var d,e=1;e<b.length;e++)d=b[e-1].node,c[e-1]=d.pf(b[e].node);c.length&&(a.drillTo=c);a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();return a};$.g.X=function(a,b){$.HC.u.X.call(this,a,b);"treeData"in a&&this.data($.Pt(a.treeData));"drillTo"in a&&this.Pq(a.drillTo);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected)};var OH;$.ja($.JC);var jea={button:"pressed",checkbox:"checked",menuitem:"selected",menuitemcheckbox:"checked",menuitemradio:"checked",radio:"checked",tab:"selected",treeitem:"selected"};$.g=$.JC.prototype;$.g.LG=function(){};$.g.pc=function(a){return a.f.pc("DIV",$.QC(this,a).join(" "),a.Cd)};$.g.sn=function(a){return a};$.g.KG=ba(29);$.g.Ck=ba(32);$.g.WC=function(a){$.py(a)&&this.W0(a.Ta(),!0);a.isEnabled()&&this.MG(a,a.He())};$.g.sT=function(a,b){$.Sf(a,!b,!$.hd&&!$.wf)};
$.g.W0=function(a,b){LC(a,this.rh()+"-rtl",b)};$.g.V0=function(a){var b;return $.NC(a,32)&&(b=a.Ta())?$.hf(b)&&$.jf(b):!1};$.g.MG=function(a,b){var c;if($.NC(a,32)&&(c=a.Ta())){if(!b&&$.OC(a,32)){try{c.blur()}catch(d){}$.OC(a,32)&&a.$L(null)}($.hf(c)&&$.jf(c))!=b&&$.gf(c,b)}};$.g.ri=function(a,b){$.Pf(a,b);a&&$.ky(a,"hidden",!b)};$.g.tT=function(a,b,c){var d=a.Ta();if(d){var e=this.kG(b);e&&LC(a,e,c);this.tu(d,b,c)}};
$.g.tu=function(a,b,c){OH||(OH={1:"disabled",8:"selected",16:"checked",64:"expanded"});b=OH[b];var d=a.getAttribute("role")||null;d&&(d=jea[d]||b,b="checked"==b||"selected"==b?d:b);b&&$.ky(a,b,c)};$.g.Dv=ba(34);$.g.rh=function(){return"anychart-control"};$.g.kG=function(a){this.b||$.SC(this);return this.b[a]};$.g.CG=ba(33);$.H($.TC,$.JC);$.ja($.TC);$.g=$.TC.prototype;$.g.LG=function(){return"button"};$.g.tu=function(a,b,c){switch(b){case 8:case 16:$.ky(a,"pressed",c);break;default:case 64:case 1:$.TC.u.tu.call(this,a,b,c)}};$.g.pc=function(a){var b=$.TC.u.pc.call(this,a);$.UC(b,a.gb);var c=a.ej();c&&this.U0(b,c);$.NC(a,16)&&this.tu(b,16,$.OC(a,16));return b};$.g.Ck=ba(31);$.g.ej=$.ia;$.g.U0=$.ia;$.g.rh=function(){return"anychart-button"};var XC;XC={};$.VC={};$.H($.YC,$.my);$.g=$.YC.prototype;$.g.Cd=null;$.g.Xb=0;$.g.lu=39;$.g.Ku=255;$.g.KI=0;$.g.Si=!0;$.g.ks=null;$.g.HT=!0;$.g.pc=function(){var a=this.g.pc(this);this.pd=a;$.MC(this.g,a,this.xG());this.g.sT(a,!1);this.He()||this.g.ri(a,!1)};$.g.xG=function(){return null};$.g.UC=function(){return this.g.sn(this.Ta())};$.g.JG=ba(16);$.g.Zk=ba(18);
$.g.pg=function(){$.YC.u.pg.call(this);$.PC(this.g,this,this.pd);this.g.WC(this);if(this.lu&-2&&(this.HT&&ZC(this,!0),$.NC(this,32))){var a=this.Ta();if(a){var b=this.Hl||(this.Hl=new $.zp);b.XL(a);$.oy(this).ra(b,"key",this.bo).ra(a,"focus",this.Kda).ra(a,"blur",this.$L)}}};$.g.oh=function(){$.YC.u.oh.call(this);this.Hl&&this.Hl.IG();this.He()&&this.isEnabled()&&this.g.MG(this,!1)};$.g.R=function(){$.YC.u.R.call(this);this.Hl&&(this.Hl.cd(),delete this.Hl);delete this.g;this.N=this.ks=this.Cd=null};
$.g.CL=function(){var a=this.Cd;if(!a)return"";if(!$.z(a))if($.A(a))a=$.Wa(a,$.lf).join("");else{if(BD&&null!==a&&"innerText"in a)a=$.jc(a.innerText);else{var b=[];kf(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");BD||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""))}return $.lc(a)};$.g.He=function(){return this.Si};
$.g.ri=function(a,b){if(b||this.Si!=a&&this.dispatchEvent(a?"show":"hide")){var c=this.Ta();c&&this.g.ri(c,a);this.isEnabled()&&this.g.MG(this,a);this.Si=a;return!0}return!1};$.g.isEnabled=function(){return!$.OC(this,1)};$.g.lj=function(a){var b=this.getParent();b&&"function"==typeof b.isEnabled&&!b.isEnabled()||!dD(this,1,!a)||(a||($.fD(this,!1),this.Xp(!1)),this.He()&&this.g.MG(this,a),eD(this,1,!a,!0))};$.g.Xp=function(a){dD(this,2,a)&&eD(this,2,a)};$.g.$p=function(){return $.OC(this,4)};
$.g.Le=function(){return $.OC(this,8)};$.g.yI=function(a){dD(this,8,a)&&eD(this,8,a)};$.g.ml=function(a){dD(this,64,a)&&eD(this,64,a)};$.g.Tm=function(a,b){if(this.df&&$.OC(this,a)&&!b)throw Error("Component already rendered");!b&&$.OC(this,a)&&eD(this,a,!1);this.lu=b?this.lu|a:this.lu&~a};$.g.co=function(a){!iD(a,this.Ta())&&this.dispatchEvent("enter")&&this.isEnabled()&&hD(this,2)&&this.Xp(!0)};
$.g.Gg=function(a){!iD(a,this.Ta())&&this.dispatchEvent("leave")&&(hD(this,4)&&$.fD(this,!1),hD(this,2)&&this.Xp(!1))};$.g.NG=$.ia;$.g.Cj=function(a){this.isEnabled()&&(hD(this,2)&&this.Xp(!0),a.g()&&(hD(this,4)&&$.fD(this,!0),this.g&&this.g.V0(this)&&this.Ta().focus()));a.g()&&a.preventDefault()};$.g.Zq=function(a){this.isEnabled()&&(hD(this,2)&&this.Xp(!0),this.$p()&&this.Cs(a)&&hD(this,4)&&$.fD(this,!1))};$.g.$0=function(a){this.isEnabled()&&this.Cs(a)};
$.g.Cs=function(a){hD(this,16)&&$.gD(this,!$.OC(this,16));hD(this,8)&&this.yI(!0);hD(this,64)&&this.ml(!$.OC(this,64));var b=new ud("action",this);a&&(b.altKey=a.altKey,b.ctrlKey=a.ctrlKey,b.metaKey=a.metaKey,b.shiftKey=a.shiftKey,b.D=a.D);return this.dispatchEvent(b)};$.g.Kda=function(){hD(this,32)&&dD(this,32,!0)&&eD(this,32,!0)};$.g.$L=function(){hD(this,4)&&$.fD(this,!1);hD(this,32)&&dD(this,32,!1)&&eD(this,32,!1)};
$.g.bo=function(a){return this.He()&&this.isEnabled()&&this.aA(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};$.g.aA=function(a){return 13==a.keyCode&&this.Cs(a)};if(!$.E($.YC))throw Error("Invalid component class "+$.YC);if(!$.E($.JC))throw Error("Invalid renderer class "+$.JC);var kea=$.oa($.YC);XC[kea]=$.JC;$.WC("anychart-control",function(){return new $.YC(null)});$.H(cD,$.od);var jD=!$.hd||$.ed(9);cD.prototype.g=function(){this.b=!1};cD.prototype.j=function(){this.b=!0};
cD.prototype.D=function(a){if(this.b)this.b=!1;else{var b=a.dl,c=b.button,d=b.type,e=kD(b,"mousedown");this.f.Cj(new $.xd(e,a.b));e=kD(b,"mouseup");this.f.Zq(new $.xd(e,a.b));jD||(b.button=c,b.type=d)}};cD.prototype.R=function(){this.f=null;cD.u.R.call(this)};$.H($.lD,$.TC);$.ja($.lD);$.g=$.lD.prototype;$.g.LG=function(){};$.g.pc=function(a){$.$C(a,!1);a.Ku&=-256;a.Tm(32,!1);return a.f.pc("BUTTON",{"class":$.QC(this,a).join(" "),disabled:!a.isEnabled(),title:a.gb||"",value:a.ej()||""},a.CL()||"")};$.g.KG=ba(28);$.g.Ck=ba(30);$.g.WC=function(a){$.oy(a).ra(a.Ta(),"click",a.Cs)};$.g.sT=$.ia;$.g.W0=$.ia;$.g.V0=function(a){return a.isEnabled()};$.g.MG=$.ia;$.g.tT=function(a,b,c){$.lD.u.tT.call(this,a,b,c);(a=a.Ta())&&1==b&&(a.disabled=c)};$.g.ej=function(a){return a.value};
$.g.U0=function(a,b){a&&(a.value=b)};$.g.tu=$.ia;$.H($.mD,$.YC);$.g=$.mD.prototype;$.g.ej=function(){return this.ka};$.g.zW=function(a){this.ka=a};$.g.R=function(){$.mD.u.R.call(this);delete this.ka;delete this.gb};$.g.pg=function(){$.mD.u.pg.call(this);if($.NC(this,32)){var a=this.Ta();a&&$.oy(this).ra(a,"keyup",this.aA)}};$.g.aA=function(a){return 13==a.keyCode&&"key"==a.type||32==a.keyCode&&"keyup"==a.type?this.Cs(a):32==a.keyCode};$.WC("anychart-button",function(){return new $.mD(null)});$.H($.pD,$.mD);$.pD.prototype.pc=function(){$.pD.u.pc.call(this);$.De(this.Ta(),{type:"button"});qD(this)};}).call(this,$)}
if(!_.theme_core){_.theme_core=1;(function($){var RM,dN,eN,jN;$.OM=function(a,b){var c=null===a||"boolean"==typeof a||""==a?window.NaN:+a;return(0,window.isNaN)(c)?a:$.qs(c,b,void 0,void 0,void 0,void 0,void 0,void 0)};$.PM=function(){return $.OM(this.value)};$.QM=function(){return this.name||this.getData("id")};RM=function(){return this.x};$.SM=function(){return this.sourceColor};$.TM=function(){return $.Ml(this.sourceColor,.7,!0)};$.UM=function(){return $.Ml(this.sourceColor,.65,!0)};$.VM=function(){return $.Ml(this.sourceColor,.5,!0)};
$.WM=function(){return $.Ml(this.sourceColor,.85,!0)};$.XM=function(){return $.Il(this.sourceColor)};$.YM=function(){return $.Hl(this.sourceColor)};$.ZM=function(){return $.Ml($.Hl(this.sourceColor),.5,!0)};$.$M=function(){return $.Ol(this.sourceColor,1.5)};$.aN=function(){return $.Ol(this.sourceColor,1)};$.bN=function(){return $.Ol($.Hl(this.sourceColor),1.5)};$.cN=function(){return"High: "+$.OM(this.high)+"\nLow: "+$.OM(this.low)};
dN=function(){return"Open: "+$.OM(this.open)+"\nHigh: "+$.OM(this.high)+"\nLow: "+$.OM(this.low)+"\nClose: "+$.OM(this.close)};eN=function(){return $.Ol(this.sourceColor,1.5)};$.fN=function(){var a=this.chart,b=$.jr(a,"title");b=b&&b.enabled()&&b.text()?b.text():"";return(a.Na()||"Anychart ")+" chart "+(b?" entitled "+b:"")};$.gN=function(){var a=this.chart,b=$.fN.apply(this);b+=", with "+a.Eg("count")+" points. ";return b+="Min value is "+a.Eg("min")+", max value is "+a.Eg("max")+"."};
$.hN=function(){for(var a=this.chart,b=$.fN.call(this),c=a.Mj(),d={},e=0;e<c;e++){var f=a.Nh(e).Sj();d.hasOwnProperty(f)?d[f]+=1:d[f]=1}b+=", with ";for(var h in d)b+=d[h]+" "+h+" series, ";b+=". ";d=a.bb();a=a.Va();c=a.Na();e=d.Na();if("ordinal"==e){d=d.values();b+="Y-scale with "+d.length+" categories: ";for(e=0;e<d.length;e++)b+=d[e]+", ";b+=". "}else f=d.uh(),d=d.Rh(),"date-time"==e&&(f=$.js(f),d=$.js(d)),b+="Y-scale minimum value is "+f+" , maximum value is "+d+". ";if("ordinal"==c){a=a.values();
b+="X-scale with "+a.length+" categories: ";for(c=0;c<a.length;c++)b+=a[c]+", ";b+=". "}else f=a.uh(),d=a.Rh(),"date-time"==c&&(f=$.js(f),d=$.js(d)),b+="X-scale minimum value is "+f+" , maximum value is "+d+". ";return b};
$.iN=function(){for(var a=this.chart,b=$.fN.call(this),c=a.Mj(),d={},e=0;e<c;e++){var f=a.Nh(e).Na();d.hasOwnProperty(f)?d[f]+=1:d[f]=1}b+=", with ";for(var h in d)b+=d[h]+" "+h+" series, ";b+=". ";d=a.bb();a=a.Va();c=a.Na();e=d.Na();if("ordinal"==e){d=d.values();b+="Y-scale with "+d.length+" categories: ";for(e=0;e<d.length;e++)b+=d[e]+", ";b+=". "}else f=d.uh(),d=d.Rh(),"date-time"==e&&(f=$.js(f),d=$.js(d)),b+="Y-scale minimum value is "+f+", maximum value is "+d+". ";if("ordinal"==c){a=a.values();
b+="X-scale with "+a.length+" categories: ";for(c=0;c<a.length;c++)b+=a[c]+", ";b+=". "}else f=a.uh(),d=a.Rh(),"date-time"==c&&(f=$.js(f),d=$.js(d)),b+="X-scale minimum value is "+f+", maximum value is "+d+". ";return b};jN=function(a){switch(a.xScaleType){case "date-time":return $.ks(a.x);default:return $.OM(a.x)}};
$.F("anychart.themes.defaultTheme",{palette:{type:"distinct",items:"#64b5f6 #1976d2 #ef6c00 #ffd54f #455a64 #96a6a6 #dd2c00 #00838f #00bfa5 #ffa000".split(" ")},hatchFillPalette:{items:"backward-diagonal forward-diagonal horizontal vertical dashed-backward-diagonal grid dashed-forward-diagonal dashed-horizontal dashed-vertical diagonal-cross diagonal-brick divot horizontal-brick vertical-brick checker-board confetti plaid solid-diamond zig-zag weave percent-05 percent-10 percent-20 percent-25 percent-30 percent-40 percent-50 percent-60 percent-70 percent-75 percent-80 percent-90".split(" ")},hatchFillPaletteFor3D:{items:"backward-diagonal forward-diagonal dashed-backward-diagonal grid dashed-forward-diagonal dashed-horizontal dashed-vertical diagonal-cross diagonal-brick divot horizontal-brick vertical-brick checker-board confetti plaid solid-diamond zig-zag weave percent-05 percent-10 percent-20 percent-25 percent-30 percent-40 percent-50 percent-60 percent-70 percent-75 percent-80 percent-90 horizontal vertical".split(" ")},
markerPalette:{items:"circle diamond square triangle-down triangle-up diagonal-cross pentagon cross v-line star5 star4 trapezium star7 star6 star10".split(" ")},defaultScaleSettings:{linear:{maxTicksCount:1E3,inverted:!1,maximum:null,minimum:null,minimumGap:.1,maximumGap:.1,softMinimum:null,softMaximum:null,alignMinimum:!0,alignMaximum:!0,ticks:{mode:"linear",base:0,explicit:null,minCount:4,maxCount:6,interval:window.NaN,allowFractional:!0},minorTicks:{mode:"linear",base:0,explicit:null,count:5,interval:window.NaN,
allowFractional:!0},stackMode:"none",stackDirection:"direct",stickToZero:!0},ordinal:{type:"ordinal",inverted:!1,mode:"discrete",names:[],ticks:{maxCount:100}},log:{type:"log",logBase:10,ticks:{mode:"log"},minorTicks:{mode:"log"}},dateTime:{type:"date-time",alignMinimum:!1,alignMaximum:!1,minimumGap:0,maximumGap:0,ticks:{count:4},minorTicks:{count:4}}},defaultFontSettings:{fontSize:13,fontFamily:"Verdana, Helvetica, Arial, sans-serif",fontColor:"#7c868e",textDirection:"ltr",fontOpacity:1,fontDecoration:"none",
fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",letterSpacing:"normal",lineHeight:"normal",textIndent:0,textShadow:"none",maxLength:null,vAlign:"top",hAlign:"start",wordWrap:"normal",wordBreak:"normal",textOverflow:"",selectable:!1,disablePointerEvents:!1,useHtml:!1},defaultBackground:{enabled:!1,fill:"#ffffff",stroke:"none",cornerType:"round",corners:0},defaultSeparator:{enabled:!1,fill:"#CECECE 0.3",width:"100%",height:1,margin:{top:5,right:0,bottom:5,left:0},orientation:"top",stroke:"none",
zIndex:1},defaultLabelFactory:{enabled:!1,offsetX:0,offsetY:0,width:null,height:null,clip:null,fontSize:12,minFontSize:8,maxFontSize:72,textShadow:"none",adjustFontSize:{width:!1,height:!1},anchor:"center",padding:4,rotation:0,format:$.PM,positionFormatter:$.PM},defaultSimpleLabelsSettings:{fontSize:13,fontFamily:"Verdana, Helvetica, Arial, sans-serif",fontColor:"#7c868e",textDirection:"ltr",fontOpacity:1,fontDecoration:"none",fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",letterSpacing:"normal",
lineHeight:"normal",textIndent:0,textShadow:"none",vAlign:"top",hAlign:"left",wordWrap:null,wordBreak:null,textOverflow:!1,selectable:!1,useHtml:!1,allowMultiline:!1,padding:4,width:null,height:null,anchor:"left-top",position:"left-top",offsetX:0,offsetY:0,enabled:!0,disablePointerEvents:!0},defaultMarkerFactory:{anchor:"center",size:6,offsetX:0,offsetY:0,rotation:0,positionFormatter:$.PM},defaultTitle:{enabled:!1,fontSize:16,text:"Title text",maxLength:null,width:null,height:null,align:"center",
hAlign:"center",padding:0,margin:0},defaultTooltip:{enabled:!0,title:{fontColor:"#ffffff",text:"",fontSize:14,rotation:0,align:"left",hAlign:"left",orientation:"top",zIndex:1,background:{fill:"none",stroke:"none"}},contentInternal:{enabled:!0,fontSize:12,minFontSize:9,maxFontSize:13,fontColor:"#ffffff",hAlign:"left",text:"Tooltip Text",width:"100%",height:"100%",anchor:"left-top",offsetX:0,offsetY:0,position:"left-top",adjustFontSize:{width:!1,height:!1},padding:0,rotation:0,zIndex:1,background:{disablePointerEvents:!1,
fill:"none",stroke:"none"}},fontSize:12,minFontSize:9,maxFontSize:13,maxLength:null,fontColor:"#ffffff",text:"Tooltip Text",width:null,height:null,adjustFontSize:{width:!1,height:!1},background:{enabled:!0,fill:"#212121 0.7",corners:3,zIndex:0,cornerType:"round"},offsetX:10,offsetY:10,padding:{top:5,right:10,bottom:5,left:10},valuePrefix:"",valuePostfix:"",position:"left-top",anchor:"left-top",hideDelay:0,titleFormat:$.PM,format:function(){return this.valuePrefix+$.OM(this.value)+this.valuePostfix},
unionFormat:"{%joinedFormattedValues}",zIndex:0,allowLeaveChart:!0,allowLeaveScreen:!1,allowLeaveStage:!1},defaultAxis:{enabled:!0,startAngle:0,drawLastLabel:!0,drawFirstLabel:!0,staggerMaxLines:2,staggerMode:!1,staggerLines:null,width:null,overlapMode:"no-overlap",stroke:"#CECECE",title:{padding:5,fontSize:13,text:"Axis title",fontColor:"#545f69",zIndex:35},labels:{enabled:!0,format:$.PM,position:"outside",zIndex:35},minorLabels:{fontSize:9,format:$.PM,position:"outside",zIndex:35},ticks:{enabled:!0,
length:6,position:"outside",stroke:"#CECECE",zIndex:35},minorTicks:{enabled:!1,length:4,position:"outside",stroke:"#EAEAEA",zIndex:35},zIndex:35},defaultGridSettings:{enabled:!0,isMinor:!1,drawFirstLine:!0,drawLastLine:!0,fill:function(){return this.palette.nc(this.index)},palette:{items:["none"]},stroke:"#CECECE",scale:1,zIndex:11},defaultMinorGridSettings:{isMinor:!0,stroke:"#EAEAEA",zIndex:10},defaultLineMarkerSettings:{enabled:!0,value:0,layout:null,stroke:{color:"#7c868e",thickness:2,opacity:1,
dash:"",lineJoin:"miter",lineCap:"square"},zIndex:25.2,scale:1,scaleRangeMode:"none"},defaultTextMarkerSettings:{fontSize:12,value:0,anchor:"auto",align:"center",layout:null,text:"Text marker",zIndex:25.3,scale:1,scaleRangeMode:"none",rotation:null},defaultRangeMarkerSettings:{enabled:!0,from:0,to:0,layout:null,fill:"#c1c1c1 0.4",zIndex:25.1,scale:1,scaleRangeMode:"none"},defaultLegend:{enabled:!1,vAlign:"bottom",fontSize:12,textOverflow:"...",itemsLayout:"horizontal",itemsHAlign:"left",positionMode:"outside",
itemsSpacing:15,items:null,itemsFormat:null,itemsSourceMode:"default",inverted:!1,hoverCursor:"pointer",iconTextSpacing:5,iconSize:15,width:null,height:null,position:"top",align:"center",padding:{top:0,right:10,bottom:10,left:10},margin:0,title:{fontSize:15},paginator:{enabled:!0,fontSize:12,fontColor:"#545f69",orientation:"right",layout:"horizontal",padding:{top:0,right:0,bottom:0,left:5},margin:0,zIndex:30,buttonsSettings:{normal:{stroke:"#757575",fill:"#9e9e9e"},hover:{stroke:"#546e7a",fill:"#7c868e"},
pushed:{stroke:"#7c868e",fill:"#9e9e9e"},disabled:{stroke:null,fill:"#e0e0e0"}}},titleFormat:null,tooltip:{enabled:!1,allowLeaveScreen:!0},drag:!1,maxWidth:null,maxHeight:null,zIndex:200},defaultCrosshairLabel:{x:0,y:0,axisIndex:0,anchor:null,format:$.PM,enabled:!0,fontSize:12,minFontSize:8,maxFontSize:16,fontColor:"#ffffff",fontWeight:400,disablePointerEvents:!0,text:"Label text",background:{enabled:!0,disablePointerEvents:!0,fill:"#212121 0.7",corners:3,zIndex:0},padding:{top:5,right:10,bottom:5,
left:10},width:null,height:null,offsetX:0,offsetY:0,adjustFontSize:{width:!1,height:!1},rotation:0},defaultCallout:{enabled:!0,orientation:"left",title:{enabled:!1},padding:0,margin:0,align:"center",labels:{enabled:!0,vAlign:"middle",hAlign:"center",positionFormatter:$.PM,adjustFontSize:!1,connectorStroke:null}},defaultScroller:{enabled:!1,fill:"#f7f7f7",selectedFill:"#ddd",outlineStroke:"none",height:16,minHeight:null,maxHeight:null,autoHide:!1,orientation:"bottom",position:"after-axes",allowRangeChange:!0,
thumbs:{enabled:!0,autoHide:!1,normal:{fill:"#E9E9E9",stroke:"#7c868e"},hovered:{fill:"#ffffff",stroke:"#757575"}},inverted:!1,zIndex:35},defaultLabelSettings:{enabled:!0,text:"Chart label",width:null,height:null,anchor:"left-top",position:"left-top",offsetX:0,offsetY:0,minFontSize:8,maxFontSize:72,adjustFontSize:{width:!1,height:!1},rotation:0,zIndex:50},defaultButtonSettings:{padding:[3,5],normal:{hAlign:"center",vAlign:"middle",background:{enabled:!0,stroke:"#dedede",fill:"#e7e7e7",corners:[0]},
content:"Button",disablePointerEvents:!0,selectable:!1,adjustFontSize:{width:!1,height:!1},minFontSize:8,maxFontSize:72},hovered:{},selected:{}},defaultNoDataLabel:{padding:{},disablePointerEvents:!1,enabled:!1,background:{zIndex:0,enabled:!1,visible:!1,disablePointerEvents:!1},fontFamily:"Arial",fontColor:"black",fontWeight:"bold",fontSize:15,position:"center",anchor:"center",zIndex:999999,text:"No data."},stageCredits:{text:"AnyChart",url:"https://www.anychart.com/?utm_source=registered",alt:"AnyChart - JavaScript Charts designed to be embedded and integrated{{anychart-version}}",
imgAlt:"AnyChart - JavaScript Charts",logoSrc:"https://static.anychart.com/logo.png"},chart:{zIndex:0,enabled:!0,padding:{top:10,right:20,bottom:15,left:10},margin:{top:0,right:0,bottom:0,left:0},autoRedraw:!0,background:{enabled:!0,zIndex:.5},contextMenu:{fromTheme:!0,enabled:!0},title:{text:"Chart Title",padding:{top:0,right:0,bottom:10,left:0},zIndex:80,background:{zIndex:0}},animation:{enabled:!1,duration:1E3},interactivity:{hoverMode:"single",selectionMode:"multi-select",spotRadius:2,multiSelectOnClick:!1,
unselectOnClickOutOfPoint:!0},tooltip:{displayMode:"single",positionMode:"float",title:{enabled:!0},separator:{enabled:!0},titleFormat:function(){return jN(this.points[0])},format:function(){return this.formattedValues.join("\n")}},bounds:{top:null,right:null,bottom:null,left:null,width:null,height:null,minWidth:null,minHeight:null,maxWidth:null,maxHeight:null},credits:{},defaultSeriesSettings:{base:{enabled:!0,isVertical:null,background:{enabled:!0},tooltip:{titleFormat:function(){return jN(this)},
format:function(){return this.seriesName+": "+this.valuePrefix+$.OM(this.value)+this.valuePostfix}},normal:{fill:$.UM,stroke:$.$M,lowStroke:$.$M,highStroke:$.$M,lowFill:$.SM,highFill:$.SM,negativeFill:$.SM,negativeStroke:$.$M,risingFill:$.SM,risingStroke:$.$M,fallingFill:$.SM,fallingStroke:$.$M,risingHatchFill:!1,fallingHatchFill:!1,hatchFill:!1,labels:{enabled:null,anchor:"auto",position:"value"},minLabels:{enabled:null},maxLabels:{enabled:null},outlierMarkers:{enabled:null},markers:{enabled:!1,
disablePointerEvents:!1,position:"value",positionFormatter:$.PM,size:4}},hovered:{fill:$.SM,stroke:$.bN,lowFill:$.SM,highFill:$.SM,lowStroke:$.bN,highStroke:$.bN,negativeFill:$.SM,negativeStroke:$.bN,risingFill:$.SM,fallingFill:$.SM,risingStroke:$.bN,fallingStroke:$.bN,risingHatchFill:null,fallingHatchFill:null,hatchFill:null,labels:{enabled:null},minLabels:{enabled:null},maxLabels:{enabled:null},outlierMarkers:{enabled:null},markers:{enabled:null,size:6}},selected:{fill:"#333 0.85",stroke:"#333 0.85",
lowStroke:"#333 0.85",highStroke:"#333 0.85",lowFill:"#333 0.85",highFill:"#333 0.85",negativeFill:"#333 0.85",negativeStroke:"#333 0.85",risingFill:"#333 0.85",risingStroke:"#333 0.85",fallingFill:"#333 0.85",fallingStroke:"#333 0.85",risingHatchFill:null,fallingHatchFill:null,hatchFill:null,labels:{enabled:null},minLabels:{enabled:null},maxLabels:{enabled:null},outlierMarkers:{enabled:null},markers:{enabled:null,fill:"#333 0.85",stroke:"1.5 #212121",size:6}},legendItem:{enabled:!0,iconType:"square"},
clip:!0,color:null,xScale:null,yScale:null,error:{mode:"both",xError:null,xUpperError:null,xLowerError:null,valueError:null,valueUpperError:null,valueLowerError:null,xErrorWidth:10,valueErrorWidth:10,xErrorStroke:$.XM,valueErrorStroke:$.XM},pointWidth:null,connectMissingPoints:!1,a11y:{enabled:!1,titleFormat:"Series named {%SeriesName} with {%SeriesPointsCount} points. Min value is {%SeriesYMin}, max value is {%SeriesYMax}"}},marker:{normal:{fill:$.SM,stroke:eN,size:4,labels:{offsetY:3}},hovered:{fill:$.YM,
stroke:eN,size:6},selected:{fill:"#333 0.85",stroke:"1.5 #212121",size:6},legendItem:{iconStroke:"none"}},bubble:{normal:{fill:$.TM,negativeFill:function(){return $.Il($.Il($.Il(this.sourceColor)))},negativeStroke:function(){return $.Il($.Il($.Il($.Il(this.sourceColor))))},negativeHatchFill:!1,labels:{anchor:"center"}},hovered:{fill:$.VM,negativeFill:function(){return $.Il($.Il($.Il($.Il(this.sourceColor))))},negativeStroke:function(){return $.Il($.Il($.Il($.Il($.Il(this.sourceColor)))))},negativeHatchFill:null},
selected:{negativeFill:function(){return $.Il($.Il($.Il(this.sourceColor)))},negativeStroke:function(){return $.Il($.Il($.Il($.Il(this.sourceColor))))},negativeHatchFill:null},displayNegative:!1,legendItem:{iconStroke:"none"}},areaLike:{normal:{fill:$.UM},hovered:{fill:$.UM,markers:{enabled:!0}},selected:{markers:{enabled:!0}},legendItem:{iconStroke:"none"},stepDirection:"center"},barLike:{normal:{fill:$.WM},hovered:{fill:$.UM},legendItem:{iconStroke:"none"}},lineLike:{hovered:{markers:{enabled:!0}},
selected:{markers:{enabled:!0}},stepDirection:"center"},rangeLike:{normal:{labels:{format:function(){return $.OM(this.high)},position:"high"},markers:{position:"high"}},tooltip:{format:$.cN}},candlestick:{normal:{risingFill:"#64b5f6",risingStroke:"#64b5f6",fallingFill:"#ef6c00",fallingStroke:"#ef6c00",risingHatchFill:!1,fallingHatchFill:!1,markers:{position:"high"},labels:{position:"high",format:RM}},hovered:{risingFill:$.YM,risingStroke:$.XM,fallingFill:$.YM,fallingStroke:$.XM,risingHatchFill:null,
fallingHatchFill:null},selected:{risingFill:"#333 0.85",risingStroke:"#333 0.85",fallingFill:"#333 0.85",fallingStroke:"#333 0.85",risingHatchFill:null,fallingHatchFill:null},tooltip:{format:dN}},column:{isVertical:!1,normal:{labels:{offsetY:3}}},ohlc:{normal:{risingStroke:"#64b5f6",fallingStroke:"#ef6c00",markers:{position:"high"},labels:{position:"high",format:RM}},hovered:{risingStroke:$.XM,fallingStroke:$.XM},selected:{risingStroke:"3 #333 0.85",fallingStroke:"3 #333 0.85"},tooltip:{format:dN}},
stick:{normal:{stroke:$.aN}},jumpLine:{pointWidth:"100%"},hilo:{pointWidth:1}},chartLabels:[],maxBubbleSize:"20%",minBubbleSize:"5%",a11y:{enabled:!0,titleFormat:$.fN,mode:"chart-elements"},normal:{labels:{enabled:!1},minLabels:{enabled:null},maxLabels:{enabled:null}},hovered:{labels:{enabled:null},minLabels:{enabled:null},maxLabels:{enabled:null}},selected:{labels:{enabled:null},minLabels:{enabled:null},maxLabels:{enabled:null}},crossing:{stroke:"none"},baseline:0,defaultQuarterSettings:{enabled:!1,
zIndex:1,fill:"none",stroke:"none",title:{padding:5},defaultLabelSettings:{text:"Quarter label",anchor:"center",position:"center"},margin:{},padding:{}},quarters:{rightTop:{fill:"#e3f2fd",title:{orientation:"top"}},leftTop:{title:{orientation:"top"}},leftBottom:{fill:"#e3f2fd",title:{orientation:"bottom"}},rightBottom:{title:{orientation:"bottom"}}},selectRectangleMarqueeFill:"#d3d3d3 0.4",selectRectangleMarqueeStroke:"#d3d3d3",maxPointWidth:"100%",minPointLength:0,dataArea:{zIndex:10,background:{fill:"none"}}},
cartesianBase:{defaultSeriesSettings:{base:{normal:{labels:{enabled:null,format:"{%Value}{decimalsCount:2}"}}},bar:{isVertical:!0,normal:{labels:{offsetY:3}},tooltip:{anchor:"left-top"}},column:{tooltip:{anchor:"left-top"}},rangeColumn:{isVertical:!1,tooltip:{anchor:"left-top",offsetX:10}},rangeBar:{normal:{labels:{offsetY:3}},isVertical:!0},box:{normal:{medianStroke:$.XM,stemStroke:$.XM,whiskerStroke:$.XM,whiskerWidth:0,outlierMarkers:{enabled:!0,disablePointerEvents:!1,position:"center",rotation:0,
anchor:"center",offsetX:0,offsetY:0,type:"circle",size:3,positionFormatter:$.PM},markers:{position:"median"},labels:{position:"highest",format:function(){return"Highest: "+$.OM(this.highest)+"\nMedian: "+$.OM(this.median)+"\nLowest: "+$.OM(this.lowest)}}},hovered:{medianStroke:$.SM,stemStroke:$.SM,whiskerStroke:$.XM,whiskerWidth:null,outlierMarkers:{enabled:null,size:4}},selected:{medianStroke:"#333 0.85",stemStroke:"#333 0.85",whiskerStroke:"#333 0.85",whiskerWidth:null,outlierMarkers:{enabled:null,
size:4,fill:"#333 0.85",stroke:"1.5 #212121"}},tooltip:{titleFormat:function(){return this.name||this.x},format:function(){return"Lowest: "+this.valuePrefix+$.OM(this.lowest)+this.valuePostfix+"\nQ1: "+this.valuePrefix+$.OM(this.q1)+this.valuePostfix+"\nMedian: "+this.valuePrefix+$.OM(this.median)+this.valuePostfix+"\nQ3: "+this.valuePrefix+$.OM(this.q3)+this.valuePostfix+"\nHighest: "+this.valuePrefix+$.OM(this.highest)+this.valuePostfix}}}},defaultXAxisSettings:{orientation:"bottom",title:{text:"X-Axis",
padding:{top:5,right:0,bottom:0,left:0}},labels:{format:function(){var a=this.tickValue;switch(this.scale.Na()){case "ordinal":return this.value;case "date-time":var b=this.intervalUnit;return $.js(a,$.fs($.es(b,b,"charts")));default:return $.qs(this.value)}}},minorLabels:{format:function(){var a=this.tickValue;switch(this.scale.Na()){case "ordinal":return this.value;case "date-time":var b=this.minorIntervalUnit;return $.js(a,$.fs($.es(b,$.mp(b),"charts")));default:return $.qs(this.value)}}},scale:0},
defaultYAxisSettings:{orientation:"left",title:{text:"Y-Axis",padding:{top:0,right:0,bottom:5,left:0}},labels:{format:"{%Value}"},scale:1},defaultAnnotationSettings:{},annotations:{annotationsList:[],zIndex:2E3},xAxes:[{}],yAxes:[{}],xGrids:[],yGrids:[],xMinorGrids:[],yMinorGrids:[],series:[],lineAxesMarkers:[],rangeAxesMarkers:[],textAxesMarkers:[],xScale:0,yScale:1,barsPadding:.4,barGroupsPadding:.8,maxBubbleSize:"20%",minBubbleSize:"5%",isVertical:!1,scales:[{type:"ordinal"},{type:"linear"}],yScroller:{orientation:"left",
inverted:!1},crosshair:{enabled:!1,displayMode:"float",xStroke:"#969EA5",yStroke:"#969EA5",zIndex:41,xLabels:[{enabled:null}],yLabels:[{enabled:null}]},xZoom:{continuous:!0,startRatio:0,endRatio:1},yZoom:{continuous:!0,startRatio:0,endRatio:1},a11y:{titleFormat:$.hN}},pieFunnelPyramidBase:{mode3d:!1,animation:{duration:500},normal:{fill:$.SM,stroke:"none",hatchFill:null,labels:{enabled:!0,fontColor:null,position:"inside",disablePointerEvents:!1,autoRotate:!1,zIndex:34,format:function(){return this.name?
this.name:this.x}},markers:{enabled:!1,position:"center",positionFormatter:$.PM,zIndex:33}},hovered:{fill:$.YM,stroke:$.SM,labels:{enabled:null},markers:{enabled:null}},selected:{fill:"#333 0.85",stroke:"1.5 #212121",labels:{enabled:null},markers:{enabled:null}},connectorStroke:"#CECECE",overlapMode:"no-overlap",connectorLength:20,baseWidth:"70%",neckWidth:null,neckHeight:null,pointsPadding:0,forceHoverLabels:!0,outsideLabels:{disablePointerEvents:!1,autoColor:"#545f69"},insideLabels:{disablePointerEvents:!0,
autoColor:"#ffffff"},legend:{enabled:!0,padding:{top:10,right:10,bottom:0,left:10},position:"bottom"},tooltip:{title:{enabled:!0},separator:{enabled:!0},titleFormat:function(){return this.name||this.x},format:function(){return"Value: "+$.OM(this.value)+"\nPercent Value: "+(100*this.value/this.getStat("sum")).toFixed(1)+"%"}},interactivity:{hoverMode:"single"}},defaultScrollBar:{barSize:10,backgroundFill:"#e0e0e0",backgroundStroke:"#d5d5d5",sliderFill:"#d5d5d5",sliderStroke:"#656565",mouseOverOpacity:.45,
mouseOutOpacity:.25,handlePositionChange:!0,startRatio:"0",endRatio:"1",buttonsVisible:!1,cornersRadius:5},standalones:{background:{enabled:!0,zIndex:0},label:{enabled:!0,text:"Label text",padding:0,width:null,height:null,anchor:"left-top",position:"left-top",offsetX:0,offsetY:0,minFontSize:8,maxFontSize:72,adjustFontSize:{width:!1,height:!1},rotation:0,zIndex:0},labelsFactory:{enabled:!0,zIndex:0},legend:{enabled:!0,zIndex:0},markersFactory:{enabled:!0,zIndex:0},title:{enabled:!0,zIndex:0},linearAxis:{enabled:!0,
zIndex:0,ticks:{enabled:!0},minorTicks:{enabled:!0}},polarAxis:{enabled:!0,startAngle:0,zIndex:0,ticks:{enabled:!0},minorTicks:{enabled:!0}},radarAxis:{enabled:!0,startAngle:0,zIndex:0,ticks:{enabled:!0},minorTicks:{enabled:!0}},radialAxis:{enabled:!0,startAngle:0,innerRadius:0,zIndex:0,ticks:{enabled:!0},minorTicks:{enabled:!0},minorLabels:{padding:{top:1,right:1,bottom:0,left:1}}},linearGrid:{enabled:!0,scale:null,zIndex:0},polarGrid:{enabled:!0,layout:"circuit",zIndex:0},radarGrid:{enabled:!0,
layout:"circuit",zIndex:0},lineAxisMarker:{enabled:!0,zIndex:0},textAxisMarker:{enabled:!0,zIndex:0},rangeAxisMarker:{enabled:!0,zIndex:0},scroller:{enabled:!0}}});}).call(this,$)}
if(!_.bullet){_.bullet=1;(function($){var woa=function(a,b){return $.xk($.Jk,a,b||"bar")},T7=function(){$.Y.call(this);this.Fa("defaultRangeMarkerSettings");this.f=null;$.T(this.ua,[["type",4,9],["value",4,9],["layout",4,9],["fill",16,1],["stroke",16,1]])},xoa=function(a,b){$.n(b)&&(b=woa(b,a.mf("type")),a.mf("type")!=b&&(a.ma.type=b,$.n(a.dd("type"))||a.B(4,9)))},yoa=function(a,b){if("horizontal"==a)switch(b){default:case "bar":return function(a,b){var c=this.scale().transform(0);c=(0,window.isNaN)(c)?0:$.Za(c,0,1);var d=this.ja(),h=
this.Tp(),k=$.oo(h)?$.M(h,d.height):d.height*h;h=d.left+c*d.width;var l=d.top+k/2;c=(b-c)*d.width;d=d.height-k;a.clear().moveTo(h,l).lineTo(h+c,l).lineTo(h+c,l+d).lineTo(h,l+d).close()};case "line":return function(a,b){var c=this.ja(),d=this.Tp(),h=Math.round(c.left+c.width*b),k=Math.round(c.top+c.height/2);c=c.height-($.oo(d)?$.M(d,c.height):c.height*d);a.clear().moveTo(h-1,k-c/2).lineTo(h-1,k+c/2).lineTo(h+1,k+c/2).lineTo(h+1,k-c/2).close()};case "ellipse":return function(a,b){var c=this.ja(),d=
this.Tp(),h=c.left+c.width*b,k=c.top+c.height/2;c=(c.height-($.oo(d)?$.M(d,c.height):c.height*d))/2;d=c/4;a.clear();a.ze(h,k,d,c,0,360).close()};case "x":return function(a,b){var c=this.ja(),d=this.Tp(),h=Math.round(c.left+c.width*b),k=Math.round(c.top+c.height/2);c=(c.height-($.oo(d)?$.M(d,c.height):c.height*d))/2;d=c/1.5;a.clear().moveTo(h-d-1,k-c).lineTo(h+d-1,k+c).lineTo(h+d+1,k+c).lineTo(h-d+1,k-c).moveTo(h+d-1,k-c).lineTo(h-d-1,k+c).lineTo(h-d+1,k+c).lineTo(h+d+1,k-c).close()}}else switch(b){default:case "bar":return function(a,
b){var c=this.scale().transform(0);c=(0,window.isNaN)(c)?0:$.Za(c,0,1);var d=this.ja(),h=this.Tp(),k=$.oo(h)?$.M(h,d.width):d.width*h;h=d.left+k/2;var l=d.Ua()-d.height*b;k=d.width-k;c=(b-c)*d.height;a.clear().moveTo(h-.25,l-.5).lineTo(h+k+.25,l-.5).lineTo(h+k+.25,l+c-.5).lineTo(h-.25,l+c-.5).close()};case "line":return function(a,b){var c=this.ja(),d=this.Tp(),h=Math.round(c.left+c.width/2),k=Math.round(c.Ua()-c.height*b);c=c.width-($.oo(d)?$.M(d,c.width):c.width*d);a.clear().moveTo(h-c/2,k-1).lineTo(h+
c/2,k-1).lineTo(h+c/2,k+1).lineTo(h-c/2,k+1).close()};case "ellipse":return function(a,b){var c=this.ja(),d=this.Tp(),h=Math.round(c.left+c.width/2),k=Math.round(c.Ua()-c.height*b);c=(c.width-($.oo(d)?$.M(d,c.width):c.width*d))/2;d=c/4;a.clear();a.ze(h,k,c,d,0,360).close()};case "x":return function(a,b){var c=this.ja(),d=this.Tp(),h=Math.round(c.left+c.width/2),k=Math.round(c.Ua()-c.height*b);c=(c.width-($.oo(d)?$.M(d,c.width):c.width*d))/2;d=c/1.5;a.clear().moveTo(h-c-1,k-d).lineTo(h+c-1,k+d).lineTo(h+
c+1,k+d).lineTo(h-c+1,k-d).moveTo(h+c-1,k-d).lineTo(h-c-1,k+d).lineTo(h-c+1,k+d).lineTo(h+c+1,k-d).close()}}},U7=function(a,b){$.gx.call(this);this.Fa("bullet");this.ad=[];this.f=[];this.Zw=!0;this.data(a||null,b);$.iq(this.ua,"layout",114820,9)},Aoa=function(a){(0,$.Qe)(a.f,function(a){$.qd(a)});a.f.length=0;var b=a.oa.aa().reset();for(b.Gb();b.advance();)zoa(a,b)},zoa=function(a,b){var c=b.la(),d=new T7;d.Fa(a.mf("defaultMarkerSettings"));$.V(d);a.f[c]=d;d.scale(a.scale());d.P(a.La);xoa(d,a.sf().nc(c));
d.value(b.get("value"));d.type(b.get("type"));d.Tp(b.get("gap"));d.fill(b.get("fill"));d.stroke(b.get("stroke"));d.da(!1);$.L(d,a.y9,a)},Boa=function(a,b){return new U7(a,b)};$.H(T7,$.Y);var Coa={};$.hq(Coa,[[0,"type",woa],[0,"value",$.N],[0,"layout",$.Ek],[1,"fill",$.Eq],[1,"stroke",$.Dq]]);$.U(T7,Coa);var Doa={x:"30%",line:"30%",ellipse:"30%",bar:"50%"};$.g=T7.prototype;$.g.qa=$.Y.prototype.qa;$.g.sa=$.Y.prototype.sa|20;
$.g.Tp=function(a){return $.n(a)?(this.f!=a&&(this.f=a,this.B(4,9)),this):null===this.f?Doa[this.i("type")]:this.f};$.g.Hb=function(){return"horizontal"==this.i("layout")};$.g.scale=function(a){if($.n(a)){if(a=$.Xs(this.na,a,null,3,null,this.Jga,this)){var b=this.na==a;this.na=a;a.da(b);b||this.B(4,9)}return this}return this.na};$.g.Jga=function(a){var b=0;$.X(a,4)&&(b|=4);$.X(a,2)&&(b|=1);this.B(4,b|8)};
$.g.$=function(){if(!this.scale())return $.cl(2),this;if(!this.Bc())return this;var a=this.P()?this.P().Ha():null,b=a&&!a.ff();b&&a.suspend();this.b||(this.b=$.nk());if(this.J(8)){var c=this.zIndex();this.b.zIndex(c);this.I(8)}this.J(2)&&(c=this.P(),this.b.parent(c),this.I(2));this.J(16)&&(this.b.stroke(this.i("stroke")),this.b.fill(this.i("fill")),this.I(16));this.J(4)&&(c=this.i("value"),c=this.scale().transform(c,0),this.b.clear(),(0,window.isNaN)(c)||(c=$.Za(c,0,1),yoa(this.i("layout"),this.i("type")).call(this,
this.b,c)),this.I(4));b&&a.resume();return this};$.g.remove=function(){this.b&&this.b.parent(null)};$.g.R=function(){$.qd(this.b);this.b=null;T7.u.R.call(this)};$.H(U7,$.gx);U7.prototype.sa=$.gx.prototype.sa|126976;U7.prototype.Na=function(){return"bullet"};U7.prototype.data=function(a,b){return $.n(a)?(this.jg!==a&&(this.jg=a,$.K(a,$.pr)?this.oa=a.tj():$.K(a,$.zr)?this.oa=a.ie():(a=$.A(a)||$.z(a)?a:null,this.oa=(new $.zr(a,b)).ie()),$.L(this.oa,this.Id,this),this.B(127232,1)),this):this.oa};U7.prototype.Id=function(a){$.X(a,16)&&this.B(127232,1)};var V7={};$.gq(V7,0,"layout",$.Ek);$.U(U7,V7);$.g=U7.prototype;$.g.Hb=function(){return"horizontal"==this.i("layout")};
$.g.scale=function(a){if(!this.na&&!$.n(a)){var b=this.mf("scale");this.na=$.Xs(this.na,b,"linear",3);this.na.da(!1)}if($.n(a)){if(a=$.Xs(this.na,a,"linear",3))this.na=a,a.da(!1),this.B(122880,1);return this}return this.na};$.g.axis=function(a){this.b||(this.b=new $.Dy,this.b.ib(this),$.L(this.b,this.ko,this),$.W(this,"axis",this.b),this.B(114692,9));return $.n(a)?(this.b.K(a),this):this.b};$.g.ko=function(a){var b=0,c=0;$.X(a,1)&&(b|=16384,c|=1);$.X(a,8)&&(b|=4);this.B(b,c)};
$.g.qe=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.ad[c];e||(e=new $.Uz,e.Fa(this.mf("defaultRangeMarkerSettings")),this.ad[c]=e,$.L(e,this.Gga,this),this.B(32768,1));return $.n(d)?(e.K(d),this):e};$.g.Gga=function(){this.B(32768,1)};$.g.DN=function(a){this.g||(this.g=new $.vs,$.L(this.g,this.Fga,this),$.W(this,"rangePalette",this.g),this.g.oq(!1));return $.n(a)?(this.g.K(a),this):this.g};$.g.Fga=function(a){$.X(a,2)&&this.B(32768,1)};
$.g.sf=function(a){this.Be||(this.Be=new $.xs,$.L(this.Be,this.Ega,this),$.W(this,"markerPalette",this.Be));return $.n(a)?(this.Be.K(a),this):this.Be};$.g.Ega=function(a){$.X(a,2)&&this.B(65536,1)};$.g.ob=function(){var a,b=this.scale();b.Hf()&&b.tg();var c=0;for(a=this.f.length;c<a;c++){var d=this.f[c];null!=d&&(d.scale(b),"bar"==d.i("type")&&b.Uc(0),b.Uc(d.i("value")))}c=0;for(a=this.ad.length;c<a;c++)d=this.ad[c],null!=d&&(d.scale(b),b.Uc(d.i("from")),b.Uc(d.i("to"))),b.Hf()&&b.Cg();this.axis().scale(this.scale())};
$.g.uj=function(){var a=this.Hb(),b=this.title(),c=this.axis();a?($.Ey(c,"bottom"),$.Qv(b,"left")):($.Ey(c,"left"),$.Qv(b,"bottom"));return U7.u.uj.call(this)};
$.g.ei=function(a){if(this.Bc()){this.J(4096)&&(Aoa(this),this.I(4096));this.J(8192)&&(this.ob(),this.I(8192));var b=this.axis();this.J(16388)&&($.V(b),!b.P()&&b.enabled()&&b.P(this.La),b.ja(a),b.padding(0),b.da(!1),b.$(),this.I(16384));var c=b.enabled()?b.qd():a;if(this.J(32772)){a=0;for(b=this.ad.length;a<b;a++){var d=this.ad[a];if(d){$.V(d);$.Vz(d,this.Hb()?"vertical":"horizontal");var e=d,f=this.DN().nc(a);f=$.Vb(f);f!=e.mf("fill")&&($.yq(e.ma,$.BG,{fill:f}),e.B(16,1));d.ja(c);d.P(this.La);d.wp(0);
d.$();d.da(!1)}}this.I(32768)}if(this.J(65540)){a=0;for(b=this.f.length;a<b;a++)d=this.f[a],$.V(d),d.ja(c),xoa(d,this.sf().nc(a)),e=d,f=this.i("layout"),$.n(f)&&(f=$.Ek(f,e.mf("layout")),e.mf("layout")!=f&&(e.ma.layout=f,$.n(e.dd("layout"))||e.B(4,9))),d.$(),d.da(!1);this.I(65536)}}};$.g.y9=function(){this.B(65536,1)};
$.g.Ig=function(a){var b;"pointIndex"in a?b=a.pointIndex:"labelIndex"in a?b=a.labelIndex:"markerIndex"in a&&(b=a.markerIndex);b=$.N(b);a.pointIndex=b;var c=a.type;switch(c){case "mouseout":c="pointmouseout";break;case "mouseover":c="pointmouseover";break;case "mousemove":c="pointmousemove";break;case "mousedown":c="pointmousedown";break;case "mouseup":c="pointmouseup";break;case "click":c="pointclick";break;case "dblclick":c="pointdblclick";break;default:return null}var d=this.data().aa();d.select(b)||
d.reset();return{type:c,actualTarget:a.target,pie:this,iterator:d,sliceIndex:b,pointIndex:b,target:this,originalEvent:a}};$.g.Mi=function(){return this};$.g.Hi=function(){return this};$.g.Te=function(){return[this]};$.g.Fl=function(a){return $.n(a)?(a=$.yk(a),a!=this.N&&(this.N=a),this):this.N};$.g.Ej=function(){for(var a=this.oa?this.oa.aa().Gb():0,b=0,c=this.f.length,d=0;d<c;d++){var e=this.f[d];if(e&&!e.enabled())b++;else break}return!a||!c||b==c};
$.g.F=function(){var a=U7.u.F.call(this);$.Hq(this,V7,a);a.data=this.data().F();a.rangePalette=this.DN().F();a.markerPalette=this.sf().F();a.scale=this.scale().F();a.axis=this.axis().F();for(var b=[],c=0;c<this.ad.length;c++)b.push(this.ad[c].F());a.ranges=b;return{chart:a}};
$.g.X=function(a,b){U7.u.X.call(this,a,b);this.data(a.data);$.zq(this,V7,a);this.DN().ia(!!b,a.rangePalette);this.sf().ia(!!b,a.markerPalette);var c=a.scale;if($.z(c))var d=$.Rs(c,null);else $.D(c)?(d=$.Rs(c.type,!1),d.K(c)):d=null;d&&this.scale(d);this.axis(a.axis);c=a.ranges;if($.A(c))for(d=0;d<c.length;d++)this.qe(d,c[d])};$.g.R=function(){$.td(this.ad,this.f,this.b,this.g,this.Be);this.ad.length=0;this.f.length=0;this.Be=this.g=this.b=null;U7.u.R.call(this)};var W7=U7.prototype;W7.data=W7.data;
W7.rangePalette=W7.DN;W7.markerPalette=W7.sf;W7.scale=W7.scale;W7.axis=W7.axis;W7.range=W7.qe;W7.isHorizontal=W7.Hb;W7.getType=W7.Na;W7.noData=W7.Pm;$.Jp.bullet=Boa;$.F("anychart.bullet",Boa);}).call(this,$)}
if(!_.theme_bullet){_.theme_bullet=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{bullet:{background:{enabled:!0},layout:"horizontal",defaultRangeMarkerSettings:{enabled:!0,from:0,to:0,zIndex:2,fill:null},padding:{top:5,right:10,bottom:5,left:10},margin:0,defaultMarkerSettings:{fill:"#64b5f6",stroke:"2 #64b5f6",zIndex:2},rangePalette:{type:"distinct",items:["#828282","#a8a8a8","#c2c2c2","#d4d4d4","#e1e1e1"]},markerPalette:{items:["bar","line","x","ellipse"]},axis:{enabled:!1,title:{padding:0,margin:{top:0,right:0,bottom:10,left:0}},labels:{fontSize:9,
padding:0},minorLabels:{padding:0},ticks:{enabled:!1},orientation:null,zIndex:3},title:{rotation:0},scale:{type:"linear",minimumGap:0,maximumGap:0,ticks:{minCount:2,maxCount:5,interval:window.NaN}},ranges:[],a11y:{titleFormat:function(){return $.fN.apply(this)+". "}}}});}).call(this,$)}
if(!_.color_scales){_.color_scales=1;(function($){var nN,qN,rN,sN,vN;$.kN=function(a,b){var c=a.i("fontSize")!=b;null===b?delete a.zd.fontSize:a.zd.fontSize=b;c&&a.B(4)};$.lN=function(a){var b={};$.Dc(a.Ma,function(a,d){if($.n(a)){if("adjustByHeight"==d||"adjustByWidth"==d)d="adjustFontSize";b[d]=this.dd(d)}},a);return b};$.mN=function(a,b){return $.xk(Hea,a,b||"clip")};nN=function(){$.By.call(this)};
$.oN=function(){$.Dy.call(this);this.Fa("defaultColorRange");$.eu(this,this,this.rg,this.Gg,null,this.rg);this.sc.ra(this,"mousedown",this.Fv);this.xe|=1024;$.T(this.ua,[["length",this.xe,9],["align",this.xe,9],["colorLineSize",this.xe,9]])};$.pN=function(a){a.line&&(a.line.ll(),a.line.remove(),a.line=null);a.lines&&(a.lines.length=0)};
qN=function(a){if(a.b){var b=a.scale();if(b&&$.K(b,$.Uy)){a.N={};for(var c=a.b,d=c.vc();d.advance();){var e=($.n(c.ga)?d.o(c.ga):null)||d.get(c.Se?c.Se.ol:c.nr[1]);!(e=b.pn(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.la()))}}}};rN=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):$.n(c)?0<c?"outside"==b?0:d:0>c?"inside"==b?0:d:d:d);return d};
sN=function(a){var b=0,c=$.jr(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=$.n(d)?d:0;c=$.n(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};
$.tN=function(a,b){if(a.b){var c=a.scale(),d=$.jr(a,"marker"),e=a.b,f=e.sd()||(e.nn?e.nn():void 0),h=d&&d.enabled();e=e.enabled()&&f==c;if(a.enabled()&&h&&c&&e&&(c=a.line.pb(),h=$.Za(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}$.V(d);d.pa("rotation",m);d.uc({value:{x:k,y:l}});d.da(!1);d.$();d.Kd().visible(!0)}}};$.uN=function(a){var b=$.jr(a,"marker");a.scale()&&b&&b.Kd().visible(!1)};vN=function(){$.oN.call(this)};$.nx.prototype.nn=$.ca(26,function(){return this.Kb});var Hea={tja:"always-show",oka:"clip",Uka:"drop"};$.H(nN,$.By);
nN.prototype.L_=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.Ua()+d/2,h=a);this.path.moveTo(b,f);this.path.lineTo(b,f+h)};
nN.prototype.aS=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)};
nN.prototype.VR=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.Ua()+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)};
nN.prototype.ZR=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($.oN,$.Dy);var wN={};$.hq(wN,[[0,"colorLineSize",$.qq],$.Z.kJ,$.Z.mJ]);$.U($.oN,wN);$.g=$.oN.prototype;$.g.sa=$.Dy.prototype.sa|1024;$.g.Xk=function(){return new nN};$.g.TE=function(){this.line||($.K(this.scale(),$.Ry)?this.line=$.nk():$.K(this.scale(),$.Uy)&&(this.line=$.lk(),this.lines=[]),this.line.zIndex(this.zIndex()),this.line.parent(this.P()),this.line.cursor("pointer"),$.du(this,this.line));return this.line};
$.g.gr=function(a){this.Jl||(this.Jl=new $.Qx,$.W(this,"marker",this.Jl),this.Jl.uc({value:{x:0,y:0}}),$.L(this.Jl,this.E9,this));return $.n(a)?(this.Jl.K(a),this.B(1024,1),this):this.Jl};$.g.E9=function(a){$.X(a,1)&&this.B(1024,1)};$.g.target=function(a){return $.n(a)?(this.b!=a&&(this.b=a,qN(this),$.L(this.b,this.zia,this)),this):this.b};$.g.zia=function(a){$.X(a,132)&&qN(this)};
$.g.Vp=function(a,b){var c=this.scale(),d={};if($.K(c,$.Ry)){var e=(0,window.parseFloat)(b);var f=c.UD(e);var h="number"}else if($.K(c,$.Uy)){e=b;f=c.Qa().names()[a];h="string";var k=c.pn(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:$.n(c.max)?c.max:null,type:"number"};d.min={value:$.n(c.min)?c.min:null,type:"number"};d.scale={value:c,
type:""};return $.av(new $.rw(d))};
$.g.ZP=function(a,b,c,d,e){c=a.top+a.height+c/2-d;var f=this.scale();if($.K(f,$.Ry))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,$.Uy)){d=f.Xq();f=f.sj();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 p=this.lines[k]?this.lines[k].clear():this.lines[k]=this.line.path(),q=a.left+b+h*k;p.moveTo(q,c).lineTo(q+h,c).lineTo(q+h,c-e).lineTo(q,c-e).close();
p.stroke(this.i("stroke"));p.fill(m)}}};
$.g.SE=function(a,b,c,d,e){c=a.left-c/2+d;var f=this.scale();if($.K(f,$.Ry))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,$.Uy)){d=f.Xq();f=f.sj();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 p=this.lines[k]?this.lines[k].clear():this.lines[k]=this.line.path(),q=a.top+b+h*(d.length-1-k-1);p.moveTo(c,q).lineTo(c,q+h).lineTo(c+e,q+h).lineTo(c+e,q).close();
p.stroke(this.i("stroke"));p.fill(m)}}};
$.g.QE=function(a,b,c,d,e){c=a.top-c/2+d;var f=this.scale();if($.K(f,$.Ry))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,$.Uy)){d=f.Xq();f=f.sj();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 p=this.lines[k]?this.lines[k].clear():this.lines[k]=this.line.path(),q=a.left+b+h*k;p.moveTo(q,c).lineTo(q+h,c).lineTo(q+h,c+e).lineTo(q,c+e).close();p.stroke(this.i("stroke"));
p.fill(m)}}};
$.g.RE=function(a,b,c,d,e){c=a.left+a.width+c/2-d;var f=this.scale();if($.K(f,$.Ry))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,$.Uy)){d=f.Xq();f=f.sj();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 p=this.lines[k]?this.lines[k].clear():this.lines[k]=this.line.path(),q=a.top+b+h*(d.length-1-k-1);p.moveTo(c,q).lineTo(c,q+h).lineTo(c-e,q+h).lineTo(c-
e,q).close();p.stroke(this.i("stroke"));p.fill(m)}}};
$.g.Np=function(){var a=this.TE(),b=this.scale();b||this.scale($.Sy());if($.K(b,$.Ry))a.clear(),a.stroke(this.i("stroke")),b=$.Vb(b.sj()),this.Hb()?b.angle=0:b.angle=90,a.fill(b);else if($.K(b,$.Uy))for(a=0,b=this.lines.length;a<b;a++)this.lines[a].clear();switch(this.i("orientation")){case "top":var c=this.ZP;break;case "right":c=this.SE;break;case "bottom":c=this.QE;break;case "left":c=this.RE}a=this.i("stroke");a=$.Yb(a);a=!a||$.Vo(a)?0:a.thickness?(0,window.parseFloat)(a.thickness):1;b=0==a%2?
0:.5;var d=this.lb(),e=sN(this),f=Math.round(this.i("colorLineSize")),h=rN(this,this.Qa(),1),k=rN(this,this.tb(),1);c.call(this,d,b,a,Math.max(h,k,e),f)};
$.g.lb=function(){if(!this.nq||this.J(4)){var a=this.ja();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.Hb()){var b=a.width;var c=a.height}else b=a.height,c=a.width;var d=this.Dg(b);c=this.width()?$.M(this.width(),c):$.Hy(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.Hb()?(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 p=a.top+f;var q=a.left+m;var r=c;var t=d;break;case "right":p=a.top+m;q=a.left+a.width-c-h;r=d;t=c;break;case "bottom":p=a.top+a.height-c-k;q=a.left+m;r=c;t=d;break;case "left":p=a.top+m,q=a.left+e,r=d,t=c}this.nq=new $.J(Math.round(q),Math.round(p),Math.round(t),Math.round(r))}else this.nq=
new $.J(0,0,0,0);this.I(4)}return this.nq};$.g.Dg=function(a){return $.M(this.i("length"),a)};
$.g.TZ=function(a,b){var c=this.Qa(),d=this.tb(),e=c.i("position"),f=d.i("position");c=rN(this,c);var h=rN(this,d);d=sN(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||$.Vo(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=$.oN.u.scale.call(this,a))||(this.g||(this.g=$.Sy(),this.g.sj("#fff","#000")),a=this.g);return a};$.g.IS=function(){return 48};$.g.kg=function(a){$.X(a,2)&&$.pN(this);$.oN.u.kg.call(this,a)};
$.g.$=function(){if(!this.Bc())return this;var a=$.jr(this,"marker");this.J(1024)&&(a&&(a.P(this.P()),a.zIndex(this.zIndex()+1),a.$(),a.Kd().visible(!1)),this.I(1024));if(a&&(this.J(2)&&a.P(this.P()),this.J(8))){var b=this.zIndex();a.zIndex(b+1)}return $.oN.u.$.call(this)};
$.g.Fv=function(a){if(this.b){var b=this.scale(),c=this.b,d=c&&(c.sd()||(c.nn?c.nn():void 0));if(this.enabled()&&b&&c.enabled()&&d==b){d=this.line.pb();if(this.Hb()){var e=a.clientX;var f=d.left+$.Wj(this.P().Ha()).x;d=(e-f)/d.width}else e=a.clientY,f=d.top+$.Wj(this.P().Ha()).y,d=(d.height-(e-f))/d.height;d=b.Fc(d);a.metaKey||a.shiftKey||!c.map||c.map.ae();if($.K(b,$.Uy))d=b.pn(d),b&&c&&(e=this.N[d.sourceIndex],b=c.mc(),b=b.Vc(),"single"==b.i("hoverMode")?this.Jf={W:c,md:e}:this.Jf=[{W:c,md:e,xn:e[e.length-
1],we:{index:e[e.length-1],Yf:0}}]);else if($.K(b,$.Ry)){a=c.vc();e=window.Infinity;for(var h=window.NaN,k=b.uh(),l=b.Rh();a.advance();){f=a.get(c.Se?c.Se.ol:c.nr[1]);f=$.Za(f,k,l);var m=Math.abs(d-f);e>m&&(e=m,h=f)}e=[];a=c.vc();for(d=h;a.advance();)f=a.get(c.Se?c.Se.ol:c.nr[1]),f=$.Za(f,k,l),f==d&&e.push(a.la());b&&c&&(b=c.mc(),b=b.Vc(),"single"==b.i("hoverMode")?this.Jf={W:c,md:e}:this.Jf=[{W:c,md:e,xn:e[e.length-1],we:{index:e[e.length-1],Yf:0}}])}}}};
$.g.rg=function(a){if(this.b){var b=this.scale(),c=this.b,d=c.sd()||(c.nn?c.nn():void 0);if(this.enabled()&&b&&c.enabled()&&d==b){d=this.line.pb();if(this.Hb()){var e=a.clientX;var f=d.left+$.Wj(this.P().Ha()).x;d=(e-f)/d.width}else e=a.clientY,f=d.top+$.Wj(this.P().Ha()).y,d=(d.height-(e-f))/d.height;d=b.Fc(d);if($.K(b,$.Uy)){a=b.pn(d);var h=this.N[a.sourceIndex];b=c.mc();f=b.Vc();"single"==f.i("hoverMode")?this.Jf={W:c,md:h}:this.Jf=[{W:c,md:h,xn:h[h.length-1],we:{index:h[h.length-1],Yf:0}}]}else if($.K(b,
$.Ry)&&c){f=c.vc();h=window.Infinity;for(var k=window.NaN,l=b.uh(),m=b.Rh();f.advance();){e=f.get(c.Se?c.Se.ol:c.nr[1]);e=$.Za(e,l,m);var p=Math.abs(d-e);h>p&&(h=p,k=e)}h=[];f=c.vc();for(d=k;f.advance();)e=f.get(c.Se?c.Se.ol:c.nr[1]),e=$.Za(e,l,m),e==d&&h.push(f.la());b&&c&&(b=c.mc(),f=b.Vc(),"single"==f.i("hoverMode")?(this.Jf&&!(0,$.RC)(h,function(a){return $.Aa(this.Jf.md,a)},this)&&b.dispatchEvent(b.Ik("hovered",a,[{W:c,md:[],we:{index:this.Jf.md[this.Jf.md.length-1],Yf:0}}],!1)),this.Jf={W:c,
md:h}):this.Jf=[{W:c,md:h,xn:h[h.length-1],we:{index:h[h.length-1],Yf:0}}])}$.tN(this,d)}}};$.g.Gg=function(){$.uN(this);var a=this.b;a&&(this.Oa=a)};$.g.remove=function(){var a=$.jr(this,"marker");a&&a.remove();$.oN.u.remove.call(this)};$.g.F=function(){var a=$.oN.u.F.call(this);$.Hq(this,wN,a);a.marker=this.gr().F();return a};$.g.X=function(a,b){$.oN.u.X.call(this,a,b);$.zq(this,wN,a,b);this.gr(a.marker)};$.g.R=function(){$.td(this.Jl,this.g);this.g=this.Jl=null;$.oN.u.R.call(this)};$.H(vN,$.oN);
$.ju(vN,$.oN);var xN=$.oN.prototype;xN.marker=xN.gr;xN=vN.prototype;$.F("anychart.standalones.colorRange",function(){var a=new vN;a.Fa("standalones.colorRange");return a});xN.padding=xN.padding;xN.draw=xN.$;xN.parentBounds=xN.ja;xN.container=xN.P;}).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:$.PM,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 $.Fl("#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(!_.cartesian){_.cartesian=1;(function($){var KO=function(a,b,c){var d=["whiskerWidth","hoverWhiskerWidth","selectWhiskerWidth"];if(2==c){var e=a.Ca;var f="selected"}else 1==c?(e=a.xa,f="hovered"):(e=a.ca,f="normal");f=b.get(f);b=$.Ro($.n(f)?f[d[0]]:void 0,b.get(d[c]),e.i(d[0]));null!=b||(b=a.ca.i(d[0]));return $.M(b,a.mr)},LO=function(a){$.xA.call(this,a)},MO=function(){$.BB.call(this);this.Fa("cartesian");$.T(this.ua,[["categorizedBySeries",327680,1]]);this.je="cartesian"},NO=function(){var a=new MO;a.pa("defaultSeriesType","line");a.ld();
a.Kg();return a},OO=function(a){var b=new MO;b.Fa("area");b.pa("defaultSeriesType","area");b.je="area";b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.area(arguments[c]);return b},PO=function(a){var b=new MO;b.Fa("bar");b.pa("defaultSeriesType","bar");b.je="bar";b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.bar(arguments[c]);return b},QO=function(a){var b=new MO;b.Fa("box");b.pa("defaultSeriesType","box");b.je="box";b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.box(arguments[c]);
return b},RO=function(a){var b=new MO;b.Fa("column");b.pa("defaultSeriesType","column");b.je="column";b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.column(arguments[c]);return b},SO=function(a){var b=new MO;b.Fa("column");b.pa("defaultSeriesType","hilo");b.je="hilo";b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.hilo(arguments[c]);return b},TO=function(a){$.el(405,null,["anychart.financial()","anychart.ohlc() or anychart.candlestick()"],!0);var b=new MO;b.Fa("financial");b.pa("defaultSeriesType",
"candlestick");b.je="financial";b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.candlestick(arguments[c]);return b},UO=function(a){var b=new MO;b.Fa("line");b.pa("defaultSeriesType","line");b.je="line";b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.line(arguments[c]);return b},VO=function(a){var b=new MO;b.Fa("verticalArea");b.pa("defaultSeriesType","area");b.je="vertical-area";b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.area(arguments[c]);return b},WO=function(a){var b=
new MO;b.Fa("verticalLine");b.pa("defaultSeriesType","line");b.je="vertical-line";b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.line(arguments[c]);return b},XO=function(a){var b=new MO;b.Fa("line","stick");b.pa("defaultSeriesType","stick");b.je="stick";b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.stick(arguments[c]);return b},YO=function(a){var b=new MO;b.Fa("line","jumpLine");b.pa("defaultSeriesType","jump-line");b.je="jump-line";b.Kg();b.ld();for(var c=$.om("jump-line"),d=0,e=
arguments.length;d<e;d++)b[c](arguments[d]);return b},ZO=function(a){var b=new MO;b.Fa("line","stepLine");b.pa("defaultSeriesType","step-line");b.je="step-line";b.Kg();b.ld();for(var c=$.om("step-line"),d=0,e=arguments.length;d<e;d++)b[c](arguments[d]);return b},$O=function(a){var b=new MO;b.Fa("financial","ohlc");b.pa("defaultSeriesType","ohlc");b.je="ohlc";b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.ohlc(arguments[c]);return b},aP=function(a){var b=new MO;b.Fa("financial","candlestick");
b.pa("defaultSeriesType","candlestick");b.je="candlestick";b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.candlestick(arguments[c]);return b};$.nA.prototype.SC=$.ca(23,function(){return this.Wf.length});$.nA.prototype.QC=$.ca(22,function(){return this.b.length});$.bP={name:"median",Mb:"path",Sb:null,Tb:"medianStroke",Vb:!0,Bb:!1,zIndex:2E-6};$.cP={name:"stem",Mb:"path",Sb:null,Tb:"stemStroke",Vb:!0,Bb:!1,zIndex:2E-6};$.dP={name:"whisker",Mb:"path",Sb:null,Tb:"whiskerStroke",Vb:!0,Bb:!1,zIndex:2E-6};
$.H(LO,$.xA);$.sG[3]=LO;$.g=LO.prototype;$.g.type=3;$.g.flags=263936;$.g.vh={path:"path",hatchFill:"path",median:"path",stem:"path",whisker:"path"};$.g.sp=["lowest","q1","median","q3","highest"];
$.g.fg=function(a,b){var c=this.Wc.Xc(b),d=a.o("x"),e=a.o("lowest"),f=a.o("q1"),h=a.o("median"),k=a.o("q3"),l=a.o("highest"),m=KO(this.W,a,b)/2,p=this.j/2,q=c.path;$.vA(q,this.za,d-p,f);$.wA(q,this.za,d+p,f,d+p,k,d-p,k);q.close();q=c.hatchFill;$.vA(q,this.za,d-p,f);$.wA(q,this.za,d+p,f,d+p,k,d-p,k);q.close();q=c.median;$.vA(q,this.za,d-p,h);$.wA(q,this.za,d+p,h);q=c.stem;$.vA(q,this.za,d,e);$.wA(q,this.za,d,f);$.vA(q,this.za,d,k);$.wA(q,this.za,d,l);q=c.whisker;$.vA(q,this.za,d-m,e);$.wA(q,this.za,
d+m,e);$.vA(q,this.za,d-m,l);$.wA(q,this.za,d+m,l)};$.g.mB=function(a,b){var c=a.o("shapes");if(c){var d=a.o("x"),e=a.o("lowest"),f=a.o("highest"),h=KO(this.W,a,b)/2;c=c.whisker;c.clear();$.vA(c,this.za,d-h,e);$.wA(c,this.za,d+h,e);$.vA(c,this.za,d-h,f);$.wA(c,this.za,d+h,f)}};$.H(MO,$.BB);var eP={},fP=$.tG|7864320;eP.area={Ab:1,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG,$.QG,$.kH,$.fH,$.YG,$.TG,$.lH,$.gH,$.mH],Ib:null,Cb:null,zb:fP,yb:"value",wb:"zero"};eP.bar={Ab:6,Fb:2,Jb:[$.tH,$.TG,$.aH,$.mH,$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:fP,yb:"value",wb:"zero"};eP.box={Ab:3,Fb:2,Jb:[$.tH,$.TG,$.bP,$.cP,$.dP],Ib:null,Cb:null,zb:fP,yb:"highest",wb:"lowest"};eP.bubble={Ab:4,Fb:2,Jb:[$.WG,$.XG,$.$G,$.bH],Ib:null,Cb:null,zb:fP,yb:"value",wb:"value"};
eP.candlestick={Ab:5,Fb:2,Jb:[$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:fP,yb:"high",wb:"low"};eP.column={Ab:6,Fb:2,Jb:[$.tH,$.TG,$.aH,$.mH,$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:fP,yb:"value",wb:"zero"};eP["jump-line"]={Ab:19,Fb:2,Jb:[$.RG,$.iH,$.dH,$.SG],Ib:null,Cb:null,zb:fP,yb:"value",wb:"value"};eP.line={Ab:8,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG],Ib:null,Cb:null,zb:fP,yb:"value",wb:"value"};eP.marker={Ab:9,Fb:2,Jb:[$.tH,$.TG,$.aH,$.mH,$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:$.tG|3670016,yb:"value",wb:"value"};
eP.ohlc={Ab:10,Fb:2,Jb:[$.dH,$.iH],Ib:null,Cb:null,zb:fP,yb:"high",wb:"low"};eP["range-area"]={Ab:11,Fb:1,Jb:[$.QG,$.sH,$.oH,$.TG,$.nH,$.rH,$.VG,$.UG],Ib:null,Cb:null,zb:fP,yb:"high",wb:"low"};eP["range-bar"]={Ab:12,Fb:2,Jb:[$.tH,$.TG,$.pH,$.qH,$.VG,$.UG],Ib:null,Cb:null,zb:fP,yb:"high",wb:"low"};eP["range-column"]={Ab:12,Fb:2,Jb:[$.tH,$.TG,$.pH,$.qH,$.VG,$.UG],Ib:null,Cb:null,zb:fP,yb:"high",wb:"low"};
eP["range-spline-area"]={Ab:13,Fb:1,Jb:[$.QG,$.oH,$.sH,$.TG,$.nH,$.rH,$.VG,$.UG],Ib:null,Cb:null,zb:fP,yb:"high",wb:"low"};eP["range-step-area"]={Ab:14,Fb:1,Jb:[$.QG,$.TG,$.oH,$.sH],Ib:null,Cb:null,zb:fP,yb:"high",wb:"low"};eP.spline={Ab:15,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG],Ib:null,Cb:null,zb:fP,yb:"value",wb:"value"};eP["spline-area"]={Ab:16,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG,$.QG,$.kH,$.fH,$.YG,$.TG,$.lH,$.gH,$.mH],Ib:null,Cb:null,zb:fP,yb:"value",wb:"zero"};
eP["step-area"]={Ab:17,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG,$.QG,$.kH,$.fH,$.YG,$.TG,$.lH,$.gH,$.mH],Ib:null,Cb:null,zb:fP,yb:"value",wb:"zero"};eP["step-line"]={Ab:18,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG],Ib:null,Cb:null,zb:fP,yb:"value",wb:"value"};eP.stick={Ab:20,Fb:2,Jb:[$.RG,$.iH,$.dH,$.SG],Ib:null,Cb:null,zb:fP,yb:"value",wb:"zero"};eP.hilo={Ab:31,Fb:2,Jb:[$.RG,$.oH,$.sH],Ib:null,Cb:null,zb:fP,yb:"high",wb:"low"};MO.prototype.Oi=eP;$.yz(MO,MO.prototype.Oi);
MO.prototype.yM=function(a){var b=a.enabled(),c=a.Am||[],d=!0;(a=a.data()?a.data().Gb():0)&&a!=c.length||(d=!1);return b&&d};MO.prototype.JQ=function(a,b,c,d){if(this.i("categorizedBySeries")){d=b.length;var e=[],f={};for(c=0;c<d;c++){var h=b[c].W.name();e.push(h);h=$.ko(h);f[h]=c}a.nB=f;a.Vg=e}else MO.u.JQ.call(this,a,b,c,d)};MO.prototype.qS=function(a,b){this.i("categorizedBySeries")||MO.u.qS.call(this,a,b)};var gP={};$.hq(gP,[[0,"categorizedBySeries",$.uq]]);$.U(MO,gP);
MO.prototype.F=function(){var a=MO.u.F.call(this);$.Hq(this,gP,a.chart);return a};MO.prototype.X=function(a,b){MO.u.X.call(this,a,b);$.zq(this,gP,a)};$.Jp.cartesian=NO;var hP=MO.prototype;$.F("anychart.cartesian",NO);hP.xScale=hP.Va;hP.yScale=hP.bb;hP.crosshair=hP.$g;hP.xGrid=hP.Zm;hP.yGrid=hP.$m;hP.xMinorGrid=hP.xr;hP.yMinorGrid=hP.Ar;hP.xAxis=hP.lh;hP.getXAxesCount=hP.QC;hP.yAxis=hP.ti;hP.getYAxesCount=hP.SC;hP.getSeries=hP.Ue;hP.lineMarker=hP.Jm;hP.rangeMarker=hP.Sm;hP.textMarker=hP.Xm;
hP.palette=hP.cc;hP.markerPalette=hP.sf;hP.hatchFillPalette=hP.oe;hP.getType=hP.Na;hP.addSeries=hP.Rk;hP.getSeriesAt=hP.Nh;hP.getSeriesCount=hP.Mj;hP.removeSeries=hP.mo;hP.removeSeriesAt=hP.Cn;hP.removeAllSeries=hP.kp;hP.getPlotBounds=hP.Rf;hP.xZoom=hP.Aq;hP.yZoom=hP.Bq;hP.xScroller=hP.rp;hP.yScroller=hP.Br;hP.getStat=hP.Eg;hP.annotations=hP.tk;hP.getXScales=hP.Sx;hP.getYScales=hP.Ux;$.Jp.area=OO;$.Jp.bar=PO;$.Jp.box=QO;$.Jp.column=RO;$.Jp.hilo=SO;$.Jp.financial=TO;$.Jp.line=UO;$.Jp["vertical-area"]=VO;$.Jp["vertical-line"]=WO;$.Jp.stick=XO;$.Jp["jump-line"]=YO;$.Jp["step-line"]=ZO;$.Jp.ohlc=$O;$.Jp.candlestick=aP;$.F("anychart.area",OO);$.F("anychart.bar",PO);$.F("anychart.vertical",PO);$.F("anychart.box",QO);$.F("anychart.column",RO);$.F("anychart.hilo",SO);$.F("anychart.financial",TO);$.F("anychart.ohlc",$O);$.F("anychart.candlestick",aP);$.F("anychart.stick",XO);
$.F("anychart.jumpLine",YO);$.F("anychart.stepLine",ZO);$.F("anychart.line",UO);$.F("anychart.verticalArea",VO);$.F("anychart.verticalLine",WO);}).call(this,$)}
if(!_.theme_cartesian){_.theme_cartesian=1;(function($){var L5=function(){return $.ks(this.x)},mna=function(){return $.ks(this.tickValue)};
$.ra($.fa.anychart.themes.defaultTheme,{cartesian:{defaultSeriesType:"line",defaultSeriesSettings:{base:{xMode:"ordinal"}}},area:{defaultSeriesType:"area",tooltip:{displayMode:"union"},interactivity:{hoverMode:"by-x"}},bar:{isVertical:!0,defaultSeriesType:"bar",defaultXAxisSettings:{orientation:"left"},defaultYAxisSettings:{orientation:"bottom"},scales:[{type:"ordinal",inverted:!0},{type:"linear",stackDirection:"reverse"}],tooltip:{displayMode:"single",position:"right-center",anchor:"left-center"},
xScroller:{orientation:"left",inverted:!0},yScroller:{orientation:"bottom",inverted:!1}},column:{defaultSeriesType:"column",tooltip:{displayMode:"single",position:"center-top",anchor:"center-bottom",offsetX:0,offsetY:10},scales:[{type:"ordinal"},{type:"linear",softMinimum:0}]},line:{defaultSeriesType:"line",tooltip:{displayMode:"union"},interactivity:{hoverMode:"by-x"}},box:{defaultSeriesType:"box"},financial:{defaultSeriesType:"candlestick",defaultSeriesSettings:{candlestick:{tooltip:{titleFormat:L5},
normal:{labels:{format:L5}}},ohlc:{tooltip:{titleFormat:L5},normal:{labels:{format:L5}}}},xAxes:[{labels:{format:mna},minorLabels:{format:mna}}],scales:[{type:"date-time"},{type:"linear"}]},candlestick:{defaultSeriesType:"candlestick"},ohlc:{defaultSeriesType:"ohlc"},verticalLine:{isVertical:!0,defaultSeriesType:"line",defaultXAxisSettings:{orientation:"left"},defaultYAxisSettings:{orientation:"bottom"},scales:[{type:"ordinal",inverted:!0},{type:"linear"}],tooltip:{displayMode:"union"},interactivity:{hoverMode:"by-x"},
xScroller:{orientation:"left",inverted:!0},yScroller:{orientation:"bottom",inverted:!1}},verticalArea:{isVertical:!0,defaultSeriesType:"area",defaultXAxisSettings:{orientation:"left"},defaultYAxisSettings:{orientation:"bottom"},scales:[{type:"ordinal",inverted:!0},{type:"linear"}],tooltip:{displayMode:"union"},interactivity:{hoverMode:"by-x"},xScroller:{orientation:"left",inverted:!0},yScroller:{orientation:"bottom",inverted:!1}}});}).call(this,$)}
if(!_.cartesian_3d){_.cartesian_3d=1;(function($){var T9=function(a,b,c){if(a=a.f[b])a.zIndex=c},Xpa=function(a){return $.oa(a.cl())+"_"+$.oa(a.bb())},Ypa=function(a,b){var c=0;(0,$.Qe)(a,function(a,e,f){b.call(void 0,a,e,f)&&++c},void 0);return c},U9=function(){$.Wy.call(this)},V9=function(){$.Wy.call(this)},W9=function(){$.Rz.call(this)},X9=function(){$.Uz.call(this)},Y9=function(){$.Xz.call(this)},Z9=function(a){$.xA.call(this,a)},$9=function(a){$.xA.call(this,a)},Zpa=function(a,b,c){if(!b.o("skipDrawing")){var d=b.o("x"),e=b.o("zero"),f=b.o("value");
a.za||(d+=a.f,e-=a.b,f-=a.b);b=c.bottom;var h=c.back,k=c.left,l=c.right,m=c.front,p=c.top,q=c.rightHatch,r=c.frontHatch;c=c.topHatch;var t=a.g,u=a.D,v=m.stroke().thickness%2/2||0;if(a.za){var w=a.j;var x=Math.min(e,f)+a.f;d=d-w/2-a.b;a=Math.abs(e-f);e=v;f=0}else a=a.j,x=d-a/2,d=Math.min(e,f),w=Math.abs(e-f),f=e=-v;b.moveTo(x+v,d+w).lineTo(x+a,d+w).lineTo(x+a+t-v,d+w-u+v).lineTo(x+t,d+w-u).close();h.moveTo(x+t,d-u).lineTo(x+t+a,d-u).lineTo(x+t+a,d-u+w).lineTo(x+t,d-u+w).close();k.moveTo(x,d).lineTo(x+
t+e,d-u+v).lineTo(x+t,d+w-u).lineTo(x,d+w-v).close();l.moveTo(x+a,d).lineTo(x+a+t+f,d-u+v).lineTo(x+a+t,d+w-u).lineTo(x+a,d+w-v).close();q.moveTo(x+a,d).lineTo(x+a+t+f,d-u+v).lineTo(x+a+t,d+w-u).lineTo(x+a,d+w-v).close();m.moveTo(x,d).lineTo(x+a,d).lineTo(x+a,d+w).lineTo(x,d+w).close();r.moveTo(x,d).lineTo(x+a,d).lineTo(x+a,d+w).lineTo(x,d+w).close();p.moveTo(x+v,d).lineTo(x+a,d).lineTo(x+a+t-v,d-u+v).lineTo(x+t,d-u).close();c.moveTo(x+v,d).lineTo(x+a,d).lineTo(x+a+t-v,d-u+v).lineTo(x+t,d-u).close()}},
a$=function(a){$.xA.call(this,a)},b$=function(){$.BB.call(this);this.Fa("cartesian","cartesian3dBase","cartesian3d");this.ba=0;this.je="cartesian-3d"},c$=function(a){var b=$.mo(a.domTarget);if(b&&b.W&&b.W.check(4)){var c=$.mo(a.relatedDomTarget);c&&c.W&&c.W==b.W&&c.index==b.index||(b=b.W)&&!b.fd&&b.enabled()&&(c=b.Gi(),b.ib(null),b.bh(a.zD),b.ib(c))}},$pa=function(a,b,c){var d,e,f;var h=$.Vl("fill",1,!0)(a,c);c=$.D(h)?h.opacity:1;var k=$.D(h)?h.color:h;h=$.Dl(k);if(null===h)a=k=d=e=f=h="none";else{k=
h.ck;var l=$.wl(k);e=$.Al(l,.2);h=$.Al(l,.25);f=$.zl([255,255,255],l,.1);d=$.Ub($.zl(l,e,.7));f=$.Ub($.zl(e,f,.1));l=$.Ub($.zl(l,e,.1));a={angle:a.i("isVertical")?0:90,opacity:c,keys:[$.Hl(d,.2),$.Hl(k,.3)]};k=$.Hl(l,.2);d=$.Hl(d,.2);e=$.Ub(e);h=$.Ub(h)}b.bottom.fill({color:e,opacity:c});b.back.fill({color:f,opacity:c});b.left.fill({color:h,opacity:c});b.right.fill({color:k,opacity:c});b.top.fill({color:d,opacity:c});b.front.fill(a)},aqa=function(){var a=new b$;a.pa("defaultSeriesType","column");
a.ld();$.rA(a);a.Kg();return a},e$=function(a,b){var c=d$(a),d=a.g,e=a.Zh;!b&&a.i("zDistribution")&&(e=(e-d*(c-1))/c);return e},f$=function(a,b){var c=d$(a),d=a.G,e=a.zh;!b&&a.i("zDistribution")&&(e=(e-d*(c-1))/c);return e},d$=function(a){return Ypa(a.fb,function(a){return!!(a&&a.enabled()&&a.check($.bB))})},bqa=function(a,b){for(var c=0,d=0,e=Math.min(a.fb.length-1,b);d<=e;d++){var f=a.fb[d];f&&f.enabled()&&f.check($.bB)&&c++}return c-1},cqa=function(a){var b=new b$;b.Fa("area3d");b.je="area-3d";
b.pa("defaultSeriesType","area");b.ld();b.Kg();$.rA(b);arguments.length&&b.Rk.apply(b,arguments);return b},dqa=function(a){var b=new b$;b.Fa("bar","bar3d");b.je="bar-3d";b.pa("defaultSeriesType","bar");b.ld();b.Kg();$.rA(b);arguments.length&&b.Rk.apply(b,arguments);return b},eqa=function(a){var b=new b$;b.Fa("column","column3d");b.je="column-3d";b.pa("defaultSeriesType","column");b.ld();b.Kg();$.rA(b);arguments.length&&b.Rk.apply(b,arguments);return b},fqa=function(a){var b=new b$;b.Fa("line3d");
b.je="line-3d";b.pa("defaultSeriesType","line");b.ld();b.Kg();$.rA(b);arguments.length&&b.Rk.apply(b,arguments);return b},gqa={sB:"area",AE:"bar",BE:"column",Xs:"line",zla:"line-2d"},hqa={name:"top",Mb:"path",Sb:null,Tb:"stroke",Vb:!0,Bb:!1,zIndex:3E-6},g$={name:"bottom",Mb:"path",Sb:null,Tb:"stroke",Vb:!0,Bb:!1,zIndex:2E-6},h$={name:"left",Mb:"path",Sb:null,Tb:"stroke",Vb:!0,Bb:!1,zIndex:1E-6},i$={name:"right",Mb:"path",Sb:null,Tb:"stroke",Vb:!0,Bb:!1,zIndex:4E-6},j$={name:"back",Mb:"path",Sb:null,
Tb:"stroke",Vb:!0,Bb:!1,zIndex:0},k$={name:"frontHatch",Mb:"path",Sb:"hatchFill",Tb:null,Vb:!0,Bb:!0,zIndex:8E-6},iqa={name:"rightHatch",Mb:"path",Sb:"hatchFill",Tb:null,Vb:!0,Bb:!0,zIndex:7E-6},jqa={name:"topHatch",Mb:"path",Sb:"hatchFill",Tb:null,Vb:!0,Bb:!0,zIndex:6E-6};$.H(U9,$.Wy);$.g=U9.prototype;$.g.kg=function(a){var b=0;$.X(a,4)&&(b|=4);$.X(a,2)&&(b|=1);this.B(20,b|8)};
$.g.WF=function(a){var b=this.ja()||$.gn(0,0,0,0);a=Math.round(b.Ua()-a*b.height);var c=this.Gh().stroke();c=$.Wo(c);a=$.R(a,c);c=b.qb()+this.Zh;var d=a-this.zh;this.j.moveTo(b.qb(),a).lineTo(c,d).lineTo(b.$a()+this.Zh,d)};$.g.XF=function(a){var b=this.ja()||$.gn(0,0,0,0);a=Math.round(b.qb()+a*b.width);var c=this.Gh().stroke();c=$.Wo(c);a=$.R(a,c);c=a+this.Zh;var d=Math.ceil($.R(b.Ua()-this.zh,1));this.j.moveTo(a,Math.ceil($.R(b.Ua(),1))).lineTo(c,d).lineTo(c,b.bc()-this.zh)};
$.g.TF=function(a,b,c,d){if(!(0,window.isNaN)(b)){var e=this.ja()||$.gn(0,0,0,0);var f=Math.round(e.Ua()-b*e.height);var h=Math.round(e.Ua()-a*e.height);1==a?h-=d:h+=d;1==b?f-=d:f+=d;c.moveTo(e.qb(),f).lineTo(e.qb()+this.Zh,f-this.zh).lineTo(e.$a()+this.Zh,f-this.zh).lineTo(e.$a()+this.Zh,h-this.zh).lineTo(e.qb()+this.Zh,h-this.zh).lineTo(e.qb(),h).close()}};
$.g.UF=function(a,b,c,d){if(!(0,window.isNaN)(b)){var e=this.ja()||$.gn(0,0,0,0);var f=Math.round(e.qb()+b*e.width);var h=Math.round(e.qb()+a*e.width);1==a?h+=d:h-=d;1==b?f+=d:f-=d;c.moveTo(f+this.Zh,e.bc()-this.zh).lineTo(h+this.Zh,e.bc()-this.zh).lineTo(h+this.Zh,e.Ua()-this.zh).lineTo(h,e.Ua()).lineTo(f,e.Ua()).lineTo(f+this.Zh,e.Ua()-this.zh).close()}};$.H(V9,U9);$.ju(V9,U9);var l$=U9.prototype;l$.isHorizontal=l$.Hb;l$.scale=l$.scale;l$.axis=l$.axis;l$=V9.prototype;
$.F("anychart.standalones.grids.linear3d",function(){var a=new V9;a.K($.mm("standalones.linearGrid"));return a});l$.layout=l$.pe;l$.draw=l$.$;l$.parentBounds=l$.ja;l$.container=l$.P;$.H(W9,$.Rz);
W9.prototype.Mr=function(){var a=$.Za(this.scale().transform(this.value(),.5),0,1);if(!(0,window.isNaN)(a)){var b=0==$.zy(this).Nk()%2?0:-.5,c=this.ja(),d=this.wp();$.zy(this).clear();var e=this.mc().Zh,f=this.mc().zh;if("horizontal"==this.pe()){var h=Math.round(c.bc()+c.height-a*c.height);1==a?h-=b:h+=b;$.zy(this).moveTo(c.qb(),h).lineTo(c.qb()+e,h-f).lineTo(c.$a()+e,h-f)}else"vertical"==this.pe()&&(h=Math.round(c.qb()+a*c.width),1==a?h+=b:h-=b,$.zy(this).moveTo(h+e,c.bc()-f).lineTo(h+e,c.Ua()-f).lineTo(h,
c.Ua()));c.top-=f;c.height+=f;c.width+=e;$.zy(this).clip(d.nj(c))}};$.H(X9,$.Uz);
X9.prototype.Mr=function(){var a=this.pe(),b=this.i("from"),c=this.i("to");this.i("from")>this.i("to")&&(b=this.i("to"),c=this.i("from"));var d=$.Za(this.scale().transform(b,0),0,1),e=$.Za(this.scale().transform(c,1),0,1);if(!(0,window.isNaN)(d)&&!(0,window.isNaN)(e)){c=this.ja();b=this.wp();$.zy(this).clear();var f=this.mc().Zh,h=this.mc().zh;if("horizontal"==a){e=Math.floor(c.Ua()-c.height*e);d=Math.ceil(c.Ua()-c.height*d);a=c.qb();var k=c.$a();$.zy(this).moveTo(a,e).lineTo(a+f,e-h).lineTo(k+f,
e-h).lineTo(k+f,d-h).lineTo(a+f,d-h).lineTo(a,d).close()}else"vertical"==a&&(a=c.Ua(),k=c.bc(),d=Math.floor(c.qb()+c.width*d),e=Math.ceil(c.qb()+c.width*e),$.zy(this).moveTo(d,a).lineTo(d+f,a-h).lineTo(d+f,k-h).lineTo(e+f,k-h).lineTo(e+f,a-h).lineTo(e,a).close());c.top-=h;c.height+=h;c.width+=f;$.zy(this).clip(b.nj(c))}};$.H(Y9,$.Xz);Y9.prototype.ja=function(a,b,c,d){b=Y9.u.ja.call(this,a,b,c,d);$.n(a)||(a=this.mc().Zh,c=this.mc().zh,b.top-=c,b.height+=c,b.width+=a);return b};$.H(Z9,$.xA);$.sG[2]=Z9;$.g=Z9.prototype;$.g.type=2;$.g.flags=$.bB|49;$.g.vh={top:"path",bottom:"path",left:"path",right:"path",back:"path",front:"path",cap:"path",frontHatch:"path"};$.g.yJ=function(){for(var a=this.W.Qf();a.advance();){var b=a.o("shapes");if(b){var c=a.o("zIndex");this.Wc.ct(c+1E-8*a.la(),b)}}};
$.g.rd=function(a){Z9.u.rd.call(this,a);this.U=!0;a=this.W.Aa;var b=this.W.la(),c=this.W.Tg(),d=Xpa(this.W);this.Ra=!c||b==a.Y1[d];this.Ja=a.RL(b,c);this.O=a.SL(b,c);this.b=e$(a,c);this.g=f$(a,c);a.Va().Uf()?(T9(this.Wc,"left",4E-6),T9(this.Wc,"right",1E-6)):(T9(this.Wc,"left",1E-6),T9(this.Wc,"right",4E-6));a.bb().Uf()?(T9(this.Wc,"top",2E-6),T9(this.Wc,"bottom",3E-6)):(T9(this.Wc,"top",3E-6),T9(this.Wc,"bottom",2E-6))};
$.g.zo=function(a){var b=this.Wc.Xc(this.Ac,null,this.W.zIndex()),c=a.o("x")+this.Ja,d=a.o("zero")-this.O,e=a.o("zeroMissing");a=a.o("value")-this.O;b.front.moveTo(c,d).lineTo(c,a);b.frontHatch.moveTo(c,d).lineTo(c,a);this.W.Tg()?this.f=[c,d,e]:(b.back.moveTo(c+this.b,d-this.g).lineTo(c+this.b,a-this.g),b.bottom.moveTo(c,d).lineTo(c+this.b,d-this.g),"none"==this.W.bb().Um()&&a>=d&&b.cap.moveTo(c,d).lineTo(c+this.b,d-this.g),b.left.moveTo(c,d).lineTo(c,a).lineTo(c+this.b,a-this.g).lineTo(c+this.b,
d-this.g).close());this.D=c;this.G=a;this.vi=this.ka=d};
$.g.fg=function(a){var b=this.Wc.Xc(this.Ac),c=a.o("x")+this.Ja,d=a.o("zero")-this.O,e=a.o("zeroMissing");a=a.o("value")-this.O;this.W.Tg()?this.f.push(c,d,e):(b.bottom.lineTo(c+this.b,d-this.g),b.back.lineTo(c+this.b,a-this.g));e=b.front.oY();this.Ra&&(this.U?b.top.moveTo(e.x,e.y).lineTo(e.x+this.b,e.y-this.g).lineTo(c+this.b,a-this.g).lineTo(c,a).close():b.top.moveTo(e.x,e.y).lineTo(c,a).lineTo(c+this.b,a-this.g).lineTo(e.x+this.b,e.y-this.g).close(),this.U=!this.U);if("none"==this.W.bb().Um()){var f=
(d-e.y)*(c-e.x)/(a-e.y)+e.x;0<a-e.y&&e.y<=d&&a>d?b.cap.moveTo(f,d).lineTo(f+this.b,d-this.g):0>a-e.y&&e.y>d&&a<=d&&b.cap.lineTo(f+this.b,d-this.g).lineTo(f,d).close()}b.front.lineTo(c,a);b.frontHatch.lineTo(c,a);this.D=c;this.G=a;this.ka=d};
$.g.vm=function(){if(this.N){var a=this.Wc.Xc(this.Ac),b=a.front,c=a.frontHatch;if(this.f){for(var d=window.NaN,e=window.NaN,f=!1,h=this.f.length-1;0<=h;h-=3){var k=this.f[h-2],l=this.f[h-1],m=this.f[h];m&&!(0,window.isNaN)(d)?(b.lineTo(d,l),c.lineTo(d,l)):f&&!(0,window.isNaN)(e)&&(b.lineTo(k,e),c.lineTo(k,e));b.lineTo(k,l);c.lineTo(k,l);d=k;e=l;f=m}b.close();c.close();this.f=null}else(0,window.isNaN)(this.D)||(b.lineTo(this.D,this.vi).close(),c.lineTo(this.D,this.vi).close(),a.back.lineTo(this.D+
this.b,this.vi-this.g).close(),a.bottom.lineTo(this.D,this.vi).close(),"none"==this.W.bb().Um()&&this.G>=this.W.vi&&a.cap.lineTo(this.D+this.b,this.vi-this.g).lineTo(this.D,this.vi).close());(0,window.isNaN)(this.D)||a.right.moveTo(this.D,this.ka).lineTo(this.D,this.G).lineTo(this.D+this.b,this.G-this.g).lineTo(this.D+this.b,this.ka-this.g).close()}};$.H($9,$.xA);$.sG[7]=$9;$.g=$9.prototype;$.g.type=7;$.g.flags=$.bB|263717;$.g.vh={top:"path",bottom:"path",left:"path",right:"path",back:"path",front:"path",frontHatch:"path",rightHatch:"path",topHatch:"path"};$.g.rd=function(a){$9.u.rd.call(this,a);a=this.W.Aa;var b=this.W.la(),c=this.W.Tg();this.f=a.RL(b,c);this.b=a.SL(b,c);this.g=e$(a,c);this.D=f$(a,c)};$.g.yJ=function(a){for(var b=this.W.Qf();b.advance();){var c=b.o("shapes");c&&(a=b.o("zIndex"),this.Wc.ct(a+1E-8*b.la(),c))}};
$.g.fg=function(a,b){var c=a.o("zIndex")+1E-8*(a.o("directIndex")+a.la());c=this.Wc.Xc(b,null,c);Zpa(this,a,c)};$.g.bt=function(a){var b=a.o("shapes"),c;for(c in b)b[c].clear();Zpa(this,a,b)};$.H(a$,$.xA);$.sG[33]=a$;$.g=a$.prototype;$.g.type=33;$.g.flags=$.bB|32848;$.g.vh={path:"path"};$.g.yJ=function(){for(var a=this.W.Qf();a.advance();){var b=a.o("shapes");if(b){var c=a.o("zIndex");this.Wc.ct(c+1E-8*a.la(),b)}}};$.g.rd=function(a){a$.u.rd.call(this,a);this.G=!0;a=this.W.Aa;var b=this.W.la();this.O=a.RL(b,!1);this.U=a.SL(b,!1);this.g=e$(a,!1);this.D=f$(a,!1)};$.g.zo=function(a){this.b=a.o("x")+this.O;this.f=a.o("value")-this.U};
$.g.fg=function(a){var b=this.Wc.Xc(this.Ac),c=a.o("x")+this.O;a=a.o("value")-this.U;this.G?b.path.moveTo(this.b,this.f).lineTo(this.b+this.g,this.f-this.D).lineTo(c+this.g,a-this.D).lineTo(c,a).close():b.path.moveTo(this.b,this.f).lineTo(c,a).lineTo(c+this.g,a-this.D).lineTo(this.b+this.g,this.f-this.D).close();this.G=!this.G;this.b=c;this.f=a};$.H(b$,$.BB);b$.prototype.rg=function(a){c$(a);b$.u.rg.call(this,a)};b$.prototype.Gg=function(a){c$(a);b$.u.Gg.call(this,a)};b$.prototype.Cj=function(a){c$(a);b$.u.Cj.call(this,a)};b$.prototype.sh=function(a){c$(a);b$.u.sh.call(this,a)};var m$={},n$=$.tG|5767168;
m$.area={Ab:2,Fb:1,Jb:[{name:"top",Mb:"path",Sb:null,Tb:null,Vb:!1,Bb:!1,zIndex:3E-6},g$,h$,i$,j$,$.uH,{name:"cap",Mb:"path",Sb:null,Tb:null,Vb:!1,Bb:!1,zIndex:3.5E-6},k$],Ib:null,Cb:function(a,b,c){var d,e,f,h;c=$.Vl("fill",1,!0)(a,c);a=$.D(c)?c.opacity:1;var k=$.D(c)?c.color:c;c=$.Dl(k);if(null===c)k=d=e=f=h=c="none";else{k=c.ck;f=$.wl(k);var l=$.Al(f,.2);e=$.Al(f,.3);c=$.Al(f,.25);h=$.zl([255,255,255],f,.1);d=$.Ub($.zl(f,l,.7));e=$.Ub($.zl(f,e,.7));h=$.Ub($.zl(l,h,.1));f=$.Ub($.zl(f,l,.1));k={angle:90,
opacity:a,keys:[$.Hl(d,.2),$.Hl(k,.3)]};d=$.Hl(e,.2);e=f=$.Hl(f,.2);c=$.Ub(c)}b.bottom.fill({color:f,opacity:a});b.back.fill({color:h,opacity:a});b.left.fill({color:c,opacity:a});b.right.fill({color:e,opacity:a});b.top.fill({color:d,opacity:a});b.cap.fill({color:f,opacity:a});b.front.fill(k);b.top.stroke({color:d,thickness:.8})},zb:n$,yb:"value",wb:"zero"};m$.bar={Ab:7,Fb:2,Jb:[hqa,g$,h$,i$,j$,$.uH,k$,iqa,jqa],Ib:null,Cb:$pa,zb:n$,yb:"value",wb:"zero"};
m$.column={Ab:7,Fb:2,Jb:[hqa,g$,h$,i$,j$,$.uH,k$,iqa,jqa],Ib:null,Cb:$pa,zb:n$,yb:"value",wb:"zero"};m$.line={Ab:33,Fb:1,Jb:[{name:"path",Mb:"path",Sb:null,Tb:null,Vb:!1,Bb:!1,zIndex:0}],Ib:null,Cb:function(a,b,c){c=$.Vl("fill",1,!0)(a,c);a=$.D(c)?c.opacity:1;c=$.D(c)?c.color:c;c=$.Dl(c);null===c?c="none":(c=c.ck,c=$.wl(c),c=$.Ub($.zl(c,$.Al(c,.3),.7)),c=$.Hl(c,.2));b.path.fill({color:c,opacity:a}).stroke({color:c,thickness:.8})},zb:n$,yb:"value",wb:"value"};
m$["line-2d"]={Ab:8,Fb:1,Jb:[{name:"stroke",Mb:"path",Sb:null,Tb:"stroke",Vb:!0,Bb:!1,zIndex:9E-6}],Ib:null,Cb:null,zb:n$|2097152,yb:"value",wb:"value"};b$.prototype.Oi=m$;$.yz(b$,b$.prototype.Oi);$.Jp["cartesian-3d"]=aqa;$.g=b$.prototype;$.g.zs=function(a){return $.xk(gqa,a,"column")};$.g.vM=function(){return!0};$.g.RL=function(a,b){if(b||!this.i("zDistribution"))var c=0;else c=d$(this),a=bqa(this,a),c=c-a-1,c*=e$(this,b)+this.g;return c};
$.g.SL=function(a,b){if(b||!this.i("zDistribution"))var c=0;else c=d$(this),a=bqa(this,a),c=c-a-1,c*=f$(this,b)+this.G;return c};$.g.UE=function(){return new U9};$.g.IY=function(){var a=new W9;a.Ba=this;return a};$.g.JY=function(){var a=new X9;a.Ba=this;return a};$.g.KY=function(){var a=new Y9;a.Ba=this;return a};
$.g.JV=function(){this.Y1={};for(var a=this.Te(),b,c="none"!=this.bb().Um(),d="direct"==this.bb().Iw(),e=[30],f=!0,h=1;h<a.length;h++)a[h].Na()==a[h-1].Na()?e.push(e[h-1]):(e.push(30+(1-1/(h+1))),f=!1);for(h=0;h<a.length;h++){var k=30+(1-1/(h+1));b=a.length-h-1;var l=c&&d?b:h;if((b=a[l])&&b.enabled())if(b.check($.bB)){if(b.Rg())for(l=b.vc();l.advance();){var m=b,p=h;var q=a.length;var r=e[h],t=f,u=m.aa(),v=$.N(u.get("value")),w=u.la();p+=1;var x=.01,y="none"!=this.bb().Um(),B=this.Va().Uf();w=B?u.Gb()-
w:w+1;r=this.i("zDistribution")?30+(1-1/p):t?30:r;this.bb().Uf()^0>v&&(p=-p);m.i("isVertical")?y||this.i("zDistribution")?(m=w,w=p,p=m,m=1-1/Math.abs(w),r=0<w?r+x*(p+m):r-x*(q-p+m)):(B&&(p=q-Math.abs(p)+1),w=w*q-q+Math.abs(p),x*=w,r+=x,this.bb().Uf()&&(v=-v),0>v&&(x=-x),r+=x):(y||this.i("zDistribution")||(B&&(p=q-Math.abs(p)+1),w=w*q-q+Math.abs(p)),x*=w,r+=x);u.o("zIndex",r);u.o("directIndex",w*p);q=r;k<q&&(k=q)}else b.zIndex()!=b.Mh&&b.zIndex()!=k&&(k=b.zIndex()),b.check(32)&&(this.Y1[Xpa(b)]=l);
b.zIndex(k)}else k=1E-5*b.mh()+32,b.Mh=k}};
$.g.n0=function(a){a=a.clone().round();var b=this.FC(a),c=d$(this),d=this.i("zAngle"),e=this.i("zAspect"),f=this.i("zPadding"),h=this.i("zDistribution"),k=$.bb(d);d=$.bb(90-d);if($.oo(e)){var l=(0,window.parseFloat)(e)/100;e=l*Math.sin(d);for(var m=l*Math.sin(k),p=l=0,q=this.Te(),r,t=0;t<q.length;t++)if((r=q[t])&&r.enabled()&&r.check($.bB)){var u=r.Va();u=1/("ordinal"==u.Na()?u.values().length:r.aa().Gb());var v=this.i("barsPadding");var w=this.i("barGroupsPadding");v=r.Tg()||h?1/(1+w):1/(c+(c-1)*
v+w);u*=v;!r.Tg()&&h?(l+=u*e,p+=u*m):l||(l=u*e,p=u*m)}this.g=Math.round(f*Math.sin(d));this.G=Math.round(f*Math.sin(k));f=this.rs?b.height/(1+l):b.width/(1+l);this.Zh=f*l;this.zh=f*p;!this.YC&&h&&(this.Zh+=this.g*(c-1),this.zh+=this.G*(c-1));this.Zh=Math.round(this.Zh);this.zh=Math.round(this.zh)}else this.ba=!this.YC&&h?e*c+f*(c-1):$.N(e),this.Zh=Math.round(this.ba*Math.sin(d)),this.zh=Math.round(this.ba*Math.sin(k)),h=c-1,f*h>=this.ba&&(f=(this.ba-c)/h),this.g=Math.round(f*Math.sin(d)),this.G=Math.round(f*
Math.sin(k));this.Zh=Math.max(this.Zh,0)||0;this.zh=Math.max(this.zh,0)||0;this.g=Math.max(this.g,0)||0;this.G=Math.max(this.G,0)||0;a.top+=this.zh;a.height-=this.zh;a.width-=this.Zh;return a};$.g.VK=function(a,b,c){if(!this.YC&&this.i("zDistribution")){if(0<a){a=1+this.i("barGroupsPadding");for(var d=1/a,e=0;e<b.length;e++)a=b[e].W,a.check(262144)&&c^a.i("isVertical")&&($.TA(a,.5),$.SA(a,d))}}else b$.u.VK.call(this,a,b,c)};
$.g.ig=function(a){var b=$.mo(a.target);return(b=b&&b.W)&&!b.fd&&b.enabled()?b.ig(a):b$.u.ig.call(this,a)};$.g.X=function(a,b){b$.u.X.call(this,a,b)};var o$=b$.prototype;$.F("anychart.cartesian3d",aqa);o$.xScale=o$.Va;o$.yScale=o$.bb;o$.crosshair=o$.$g;o$.xGrid=o$.Zm;o$.yGrid=o$.$m;o$.xMinorGrid=o$.xr;o$.yMinorGrid=o$.Ar;o$.xAxis=o$.lh;o$.getXAxesCount=o$.QC;o$.yAxis=o$.ti;o$.getYAxesCount=o$.SC;o$.getSeries=o$.Ue;o$.zIndex=o$.zIndex;o$.lineMarker=o$.Jm;o$.rangeMarker=o$.Sm;o$.textMarker=o$.Xm;
o$.palette=o$.cc;o$.markerPalette=o$.sf;o$.hatchFillPalette=o$.oe;o$.getType=o$.Na;o$.addSeries=o$.Rk;o$.getSeriesAt=o$.Nh;o$.getSeriesCount=o$.Mj;o$.removeSeries=o$.mo;o$.removeSeriesAt=o$.Cn;o$.removeAllSeries=o$.kp;o$.getPlotBounds=o$.Rf;o$.xZoom=o$.Aq;o$.yZoom=o$.Bq;o$.xScroller=o$.rp;o$.yScroller=o$.Br;o$.getStat=o$.Eg;o$.getXScales=o$.Sx;o$.getYScales=o$.Ux;$.Jp["area-3d"]=cqa;$.Jp["bar-3d"]=dqa;$.Jp["column-3d"]=eqa;$.Jp["line-3d"]=fqa;$.F("anychart.area3d",cqa);$.F("anychart.bar3d",dqa);$.F("anychart.column3d",eqa);$.F("anychart.line3d",fqa);}).call(this,$)}
if(!_.theme_cartesian_3d){_.theme_cartesian_3d=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{cartesian3dBase:{zAngle:45,zAspect:"50%",zDistribution:!1,zPadding:10,defaultSeriesSettings:{base:{normal:{stroke:"none",fill:$.SM},hovered:{stroke:"none",fill:$.YM},selected:{stroke:"none",fill:"#333"},tooltip:{anchor:"left-top",position:"left-top"}},area:{hovered:{markers:{enabled:!0}},selected:{markers:{enabled:!0}}},bar:{isVertical:!0},line:{hovered:{markers:{enabled:!0}},selected:{markers:{enabled:!0}}},line2d:{normal:{stroke:$.SM},hovered:{stroke:$.YM,
markers:{enabled:!0}},selected:{stroke:"#333",markers:{enabled:!0}}}}},bar3d:{xGrids:[{}],yGrids:[{enabled:!0,scale:0}],yScale:{stackDirection:"reverse"}},column3d:{defaultSeriesType:"column"},area3d:{defaultSeriesType:"area",zDistribution:!0,zPadding:5},line3d:{defaultSeriesType:"line",zDistribution:!0,zPadding:5},cartesian3d:{defaultSeriesType:"column",xGrids:[{enabled:!0,scale:0}],yGrids:[{}]}});}).call(this,$)}
if(!_.circular_gauge){_.circular_gauge=1;(function($){var IU=function(a,b,c){a=$.Du.prototype.hl.call(a,b,c,void 0,void 0);return $.jn(a)},JU=function(a,b){return $.xk(Lfa,a,b||"center")},LU=function(a,b){return $.xk(KU,a,b||"bar")},MU=function(a){return null===a?a:$.to(a)},NU=function(){$.Y.call(this);this.hb=new $.Px;this.hb.pa("positionFormatter",$.Xo);this.hb.pa("size",10);this.hb.pa("anchor","center");this.hb.pa("offsetX",0);this.hb.pa("offsetY",0);this.hb.pa("rotation",0);this.hb.ib(this);this.wl={};$.T(this.ua,[["length",0,9],["type",0,9],["stroke",
0,1],["fill",0,1],["hatchFill",0,9],["position",0,9]])},OU=function(a,b){var c=$.Qc(a.wl);return $.E(b)?b.call(c,c):b},PU=function(){$.Y.call(this);this.Fa("defaultAxis");this.Qh=[];this.lk=[];this.V1=[];this.z2=[];this.af=388;$.T(this.ua,[["overlapMode",this.af,1],["startAngle",this.af,9],["sweepAngle",this.af,9],["fill",16,1],["width",this.af,1],["radius",this.af,9],["cornersRounding",this.af,9],["drawFirstLabel",this.af,9],["drawLastLabel",this.af,9]])},QU=function(a){switch($.xk(Mfa,a,"linear")){case "log":return $.Us()}return $.Ts()},
RU=function(a){var b=a.i("sweepAngle");return $.n(b)?b:a.Ke.i("sweepAngle")},SU=function(a,b,c){var d=b?a.Qa():a.tb();b=b?a.labels():a.kb();b=JU(b.i("position"));var e=a.mq,f=d.i("position");"outside"==b?(e+=a.Vi/2+c,d.enabled()&&("outside"==f?e+=d.Es:"center"==f&&(e+=d.Es>a.Vi?(d.Es-a.Vi)/2:0))):"inside"==b&&(e-=a.Vi/2+c,d.enabled()&&("inside"==f?e-=d.Es:"center"==f&&(e-=d.Es>a.Vi?(d.Es-a.Vi)/2:0)));return e},TU=function(a,b,c){var d=c?a.V1:a.z2;if($.n(d[b]))return d[b];var e=c?a.labels():a.kb(),
f=e.Vd(b),h=a.na;c=(c?h.Qa():h.tb()).get()[b];a=a.im(b,c);c={value:{angle:0,radius:0}};d[b]=f?IU(e,f):IU(e,a,c);return d[b]},UU=function(a,b){b=$.ab($.Sm(b,6));var c="center",d=JU(a.labels().i("position"));"inside"==d?b?0<b&&90>b?c="right-bottom":90==b?c="center-bottom":90<b&&180>b?c="left-bottom":180==b?c="left-center":180<b&&270>b?c="left-top":270==b?c="center-top":270<b&&(c="right-top"):c="right-center":"outside"==d&&(b?0<b&&90>b?c="left-top":90==b?c="center-top":90<b&&180>b?c="right-top":180==
b?c="right-center":180<b&&270>b?c="right-bottom":270==b?c="center-bottom":270<b&&(c="left-bottom"):c="left-center");return c},VU=function(){$.Y.call(this);$.T(this.ua,[["fill",16,1],["axisIndex",4,5],["position",4,9],["startSize",4,9],["endSize",4,9],["from",4,1],["to",4,1],["radius",4,1],["cornersRounding",4,9]])},WU=function(a,b,c,d,e,f,h){h=$.n(h)?h:!1;var k=(f-e)/(d-c),l=a.Ke.qc,m=a.Ke.rc;if(d>c)for(a=c;a<=d;a++){var p=e+k*(a-c);var q=a*Math.PI/180;var r=l+p*Math.cos(q);p=m+p*Math.sin(q);h&&a==
c?b.moveTo(r,p):b.lineTo(r,p)}else for(a=c;a>=d;a--)p=e+k*(a-c),q=a*Math.PI/180,r=l+p*Math.cos(q),p=m+p*Math.sin(q),h&&a==c?b.moveTo(r,p):b.lineTo(r,p);q=d*Math.PI/180;r=l+f*Math.cos(q);p=m+f*Math.sin(q);b.lineTo(r,p)},XU=function(a,b,c,d,e){a=a.i("position");return"outside"==a?b*(1+(e?0:d))+c/2:"inside"==a?b*(1-(e?0:d))-c/2:b*(1+(e?-.5:.5)*d)},YU=function(a,b,c,d){var e=a.Ke.rc;d=$.bb(d);b.x=a.Ke.qc+c*Math.cos(d);b.y=e+c*Math.sin(d)},Nfa=function(a,b,c,d,e,f,h,k,l,m,p,q,r,t,u,v,w){var x=(c+d)/2,
y=(e+f)/2,B=(h+k)/2,G=a.Ke.qc,C=a.Ke.rc,I=b[r],P={},Q={},S={},sa={};YU(a,P,e,c);YU(a,Q,f,d);YU(a,S,k,d);YU(a,sa,h,c);var va=$.gn(0,0,0,0);va.left=Math.min(P.x,Q.x,S.x,sa.x);va.top=Math.min(P.y,Q.y,S.y,sa.y);va.width=Math.max(P.x,Q.x,S.x,sa.x)-va.left;va.height=Math.max(P.y,Q.y,S.y,sa.y)-va.top;P=[];Q={};S={};Q.position="0";Q.opacity=m;Q.color=l;P.push(Q);S.position="1";S.opacity=q;S.color=p;P.push(S);m=(l=ZU(a.Ke,a.i("axisIndex")).scale().Uf())?-1:1;p={};p.angle=-(x+90*m);p.keys=P;q=$.nk();WU(a,q,
c,x,(h+e)/2,(B+y)/2,!0);WU(a,q,x,d,(B+y)/2,(k+f)/2,!1);p.mode=q.pb();WU(a,I,c,x,e,y,!0);WU(a,I,x,c,B,h,!1);!r&&t&&(h=G+$.db(c,e),c=C+$.eb(c,e),t<u/2?I.kf(h,c,u-t,u-t,!1,l):I.kf(h,c,t,t,!0,l));WU(a,I,x,d+.1*m,y,f,!0);r==b.length-1&&v&&(h=G+$.db(d+.1,k),c=C+$.eb(d+.1,k),v<w/2?I.kf(h,c,w-v,w-v,!1,l):I.kf(h,c,v,v,!0,l));WU(a,I,d+.1*m,x,k,B,!1);I.fill(p);$.qd(q)},$U=function(a){a.wa&&a.wa.length&&(0,$.Qe)(a.wa,function(a){a.clear()})},Ofa=function(a,b,c,d,e,f){var h=b.Bj();b=XU(a,h,c,e,!0);var k=XU(a,
h,c,f,!0),l=XU(a,h,c,e,!1);h=XU(a,h,c,f,!1);if(l<b){var m=l;l=b;b=m}h<k&&(m=h,h=k,k=m);var p=l-b,q=h-k;b=XU(a,d,c,e,!0);k=XU(a,d,c,f,!0);l=XU(a,d,c,e,!1);h=XU(a,d,c,f,!1);l<b&&(m=l,l=b,b=m);h<k&&(m=h,h=k,k=m);a=(p-(l-b))/2;c=(q-(h-k))/2;return[l+a,b-a,h+c,k-c]},aV=function(){$.Y.call(this);this.Wa=$.lk();this.Jd=$.kk();$.T(this.ua,[["radius",4,9],["stroke",16,1],["fill",16,1],["hatchFill",65536,1]])},bV=function(){$.jv.call(this);this.rc=this.qc=window.NaN},cV=function(){$.Y.call(this);this.j=$.nk();
this.j.stroke("none").fill($.Ul);this.f={};this.state=new $.Vw(this);$.T(this.ua,[["stroke",16,1],["fill",16,1],["hatchFill",65536,1],["axisIndex",4,5]])},dV=function(a,b,c){$.E(b)?(a=b.call(a.f,a.f),a=c?$.Vb(a):$.Yb(a)):a=b;return a},eV=function(a,b){return $.n(b)?(a.G=b,a):a.G},fV=function(a){a.fa||(a.fa=$.nk())},gV=function(a,b){b&&(b.tag={W:a},b.tag.index=a.aa().la())},hV=function(){cV.call(this);$.T(this.ua,[["width",4,9],["position",4,9],["radius",4,9],["barDrawer",4,1]])},iV=function(){cV.call(this);
$.T(this.ua,[["verticesCount",4,9],["verticesCurvature",4,9],["topRatio",4,9],["bottomRatio",4,9],["topRadius",4,9],["bottomRadius",4,9]])},jV=function(a,b,c,d,e,f,h,k,l,m,p,q,r,t){t?(f=$.ab(c+f),d=$.ab(c+d/2-e)):(f=$.ab(c+d-f),d=$.ab(c+d/2+e));c=l+Math.cos($.bb(f))*k;k=m+Math.sin($.bb(f))*k;l+=Math.cos($.bb(d))*h;h=m+Math.sin($.bb(d))*h;d=(c+l)/2;m=(k+h)/2;var u=$.bb(f+90);e=c+1E4*Math.cos(u);var v=k+1E4*Math.sin(u);u=(c*Math.pow(v-k,2)+l*Math.pow(e-c,2)+(e-c)*(v-k)*(h-k))/(Math.pow(v-k,2)+Math.pow(e-
c,2))||0;e=(e-c)*(l-u)/(v-k)+h||0;e=$.cb(Math.atan($.dn(l,h,u,e)/$.dn(c,k,u,e)));u=a.i("topRatio");v=a.i("bottomRatio");p=f+(t?-p:p)+(u<1-v?t?90-e:-(90-e):t?-(90-e):90-e);d+=Math.cos($.bb(p))*q;m+=Math.sin($.bb(p))*q;u=a.i("verticesCurvature");e=.5>u?90:-90;a=d+.5*Math.cos($.bb(p+e))*q;f=m+.5*Math.sin($.bb(p+e))*q;e=.5>u?-90:90;d+=.5*Math.cos($.bb(p+e))*q;q=m+.5*Math.sin($.bb(p+e))*q;t?r?b.yk(a,f,d,q,l,h):b.yk(d,q,a,f,l,h):r?b.yk(a,f,d,q,c,k):b.yk(d,q,a,f,c,k)},kV=function(){cV.call(this);$.T(this.ua,
[["size",4,9],["position",4,9],["radius",4,9],["type",4,9]]);this.fa=new $.Px;this.fa.ib(this);this.fa.pa("positionFormatter",$.Xo);this.fa.pa("size",10);this.fa.pa("anchor","center");this.fa.pa("offsetX",0);this.fa.pa("offsetY",0);this.fa.pa("rotation",0)},lV=function(){cV.call(this);$.T(this.ua,[["startWidth",4,9],["startRadius",4,9],["middleWidth",4,9],["middleRadius",4,9],["endWidth",4,9],["endRadius",4,9]])},mV=function(a,b,c,d){d=d||0;var e=d+d,f=a.Bk(),h=b.scale(),k=f.qc,l=f.rc,m=b.Bj(),p=
b.Dl(),q=RU(b),r=f.Bj();f=$.M(a.i("startRadius"),r);f-=d;b=$.M(a.i("startWidth"),r);b+=e;var t=a.i("endRadius");m=null!=t?$.M(t,r):m;m+=d;d=a.i("endWidth");d=null!=d?$.M(d,r):0;d+=e;t=a.i("middleRadius");t=null!=t?$.M(t,r):.9*m;a=$.M(a.i("middleWidth"),r);a+=e;r=$.Za(h.transform(c),0,1);c=$.ab(p+r*q);h=$.bb(c);e=$.bb($.ab(p+r*q+90));p=$.bb($.ab(p+r*q-90));q=k+f*Math.cos(h);r=l+f*Math.sin(h);var u=k+t*Math.cos(h),v=l+t*Math.sin(h),w=k+m*Math.cos(h);h=l+m*Math.sin(h);return{angle:c,Cc:k,yc:l,gha:f,
hha:b,eha:t,fha:a,cha:m,dha:d,TW:q+b*Math.cos(e),VW:r+b*Math.sin(e),UW:q+b*Math.cos(p),WW:r+b*Math.sin(p),YU:u+a*Math.cos(e),$U:v+a*Math.sin(e),ZU:u+a*Math.cos(p),aV:v+a*Math.sin(p),gS:w+d*Math.cos(e),iS:h+d*Math.sin(e),hS:w+d*Math.cos(p),jS:h+d*Math.sin(p)}},nV=function(a,b){$.V(this);$.gx.call(this);this.Fa("circularGauge");this.D=[];this.O=[];this.f=[];this.ga=[];this.ba=[];this.ad=[];this.g=[];this.Ra=this.Ga=this.eb=0;this.data(a||null,b);$.eu(this,this,this.rg,this.Gg,null,this.rg,null,this.Cj);
$.T(this.ua,[["fill",16,65],["stroke",16,1],["circularPadding",4,1],["encloseWithStraightLine",4,1],["startAngle",4,1],["sweepAngle",4,1],["defaultPointerType",0,0]]);this.da(!0);$.jr(this,"tooltip")},oV=function(a,b){switch(b){case "bar":return a.O;case "marker":return a.f;case "needle":return a.ga;case "knob":return a.ba}return null},pV=function(a,b){return $.xa(a.g,function(a){return a.id()==b})},qV=function(a){return!($.K(a,$.zr)||$.K(a,$.pr)||$.K(a,$.wr)||$.A(a))&&!$.E(a)&&$.D(a)},rV=function(a){for(var b=
0,c=a.g.length;b<c;b++){var d=a.g[b];d&&d.B(4)}},ZU=function(a,b){return a.D[b]},sV=function(a,b,c,d,e){var f=a.i("sweepAngle"),h=a.Dl(),k=h+f,l=$.bb(h),m=$.bb(k);a.U=a.G&&a.G.enabled()?$.M(a.G.i("radius"),e):0;var p=c+e*Math.cos(l);l=d+e*Math.sin(l);var q=c+e*Math.cos(m);m=d+e*Math.sin(m);if(0==f%360&&0!=f)b.ze(c,d,e+a.b,e+a.b,h,f);else if(180<Math.abs(f)&&a.i("encloseWithStraightLine")){var r=90-(360-Math.abs(f))/2;b.ze(p,l,a.b,a.b,0>f?h+90-r:h+270+r,0>f?-90+r:90-r);b.ze(c,d,e+a.b,e+a.b,h,f,!0);
b.ze(q,m,a.b,a.b,k,0>f?-90+r:90-r,!0)}else if(r=360-Math.abs(f)-90,0<r)b.ze(p,l,a.b,a.b,0>f?h+90:h+270,0>f?-90:90),b.ze(c,d,e+a.b,e+a.b,h,f,!0),b.ze(q,m,a.b,a.b,k,0>f?-90:90,!0),b.ze(c,d,a.b+a.U,a.b+a.U,0>f?k-45:k+45,0>f?-r:r,!0);else{r=$.bb(0>f?k-45:k+45);var t=c+Math.cos(r)*(a.b+a.U),u=d+Math.sin(r)*(a.b+a.U);r=$.bb(0>f?k-90:k+90);var v=q+Math.cos(r)*a.b,w=m+Math.sin(r)*a.b;r=$.bb(0>f?k-45+360-f+90:k+405-f-90);var x=c+Math.cos(r)*(a.b+a.U),y=d+Math.sin(r)*(a.b+a.U);r=$.bb(0>f?h+90:h-90);var B=p+
Math.cos(r)*a.b,G=l+Math.sin(r)*a.b;r=u-w;var C=v-t;t=t*w-v*u;u=y-G;v=B-x;y=x*G-B*y;x=(C*y-v*t)/(r*v-u*C);r=(t*u-y*r)/(r*v-u*C);$.dn(x,r,c,d)<e?(b.ze(p,l,a.b,a.b,0>f?h+90:h+270,0>f?-90:90),b.ze(c,d,e+a.b,e+a.b,h,f,!0),b.ze(q,m,a.b,a.b,k,0>f?-90:90,!0),b.lineTo(x,r)):b.ze(c,d,e+a.b,e+a.b,0,360)}b.close()},Pfa=function(a,b){a.N?a.N.clear():a.N=a.La.path();a.ka=1;a.b=$.M(a.i("circularPadding"),a.ka);a.ya=a.ka-a.b;sV(a,a.N,0,0,a.ya);var c=a.N.pb();var d=Math.min(b.width/c.width,b.height/c.height);var e=
b.left+b.width/2-c.width/2*d;var f=b.top+b.height/2-c.height/2*d;a.ka=d;a.qc=e+Math.abs(c.left)*d;a.rc=f+Math.abs(c.top)*d;a.b*=a.ka;a.ya=a.ka-a.b;a.ab=new $.J(e,f,c.width*d,c.height*d);a.Ja=new $.J(e+a.b,f+a.b,c.width*d-a.b,c.height*d-a.b)},tV=function(a){return a.ab?a.ab.clone():$.gn(0,0,0,0)},uV=function(a,b){var c=new nV(a,b);c.pa("defaultPointerType","needle");c.sg();return c},Lfa={rP:"inside",$y:"center",UX:"outside"},KU={AE:"bar",vla:"knob",yu:"marker",Hla:"needle"},Mfa={LINEAR:"linear",g7:"log"};
$.H(NU,$.Y);var vV=function(){var a={};$.hq(a,[[0,"length",function(a){return null===a?a:$.to(a)}],$.Z.lY,$.Z.DE,$.Z.tB,$.Z.qP,[0,"position",function(a){return JU(a)}]]);return a}();$.U(NU,vV);$.g=NU.prototype;$.g.qa=$.Y.prototype.qa;$.g.sa=$.Y.prototype.sa;$.g.remove=function(){this.hb&&this.hb.remove();this.f&&this.f.remove()};
$.g.rd=function(){var a=this.i("length");this.Es=null!=a?$.M(a,this.b.Bj()):this.b.Vi;this.Hc=this.b.Bj();a=this.i("position");"outside"==a?this.Hc+=this.b.Vi/2+this.Es/2:"inside"==a&&(this.Hc-=this.b.Vi/2+this.Es/2);this.wl.length=this.Es;this.wl.radius=this.Hc;this.wl.cx=this.b.Bk().qc;this.wl.cy=this.b.Bk().rc;this.hb.clear();var b=this.i("stroke");a=this.i("fill");$.E(b)||this.hb.pa("stroke",b);$.E(a)||this.hb.fill(a);this.hb.pa("size",this.Es/2);b=this.i("type");this.hb.type(b);var c=this.i("hatchFill");
this.f||!c||$.Vo(c)||(this.f=new $.Px,this.f.pa("positionFormatter",$.Xo),this.f.pa("size",10),this.f.pa("anchor","center"),this.f.pa("offsetX",0),this.f.pa("offsetY",0),this.f.pa("rotation",0),this.f.P(this.P()),this.f.zIndex(wV));this.f&&(this.f.clear(),this.f.td(!0),this.f.pa("size",this.Es/2),this.f.pa("type",b),this.f.pa("fill",a),this.f.pa("stroke",null))};
$.g.Pp=function(a,b){var c=$.bb(a),d=this.b.Bk().qc,e=this.b.Bk().rc;d+=this.Hc*Math.cos(c);c=e+this.Hc*Math.sin(c);e=this.hb.add({value:{x:d,y:c}});var f;$.n(e.i("rotation"))?f=e.i("rotation"):$.n(this.hb.i("rotation"))?f=this.hb.i("rotation"):f=0;this.wl.rotation=f+a+90;this.wl.x=d;this.wl.y=c;this.wl.angle=$.ab(a-xV);this.wl.value=b;e.pa("rotation",f+a+90);var h=this.i("fill"),k=this.i("stroke");$.E(h)&&e.pa("fill",$.Vb(OU(this,h)));$.E(k)&&e.pa("stroke",$.Yb(OU(this,k)));this.f&&this.f.add({value:{x:d,
y:c}}).rotation(f+a+90)};$.g.zl=function(){if(this.Bc()){if(this.J(8)){var a=this.zIndex(),b=.1*yV;this.hb.zIndex(a+Qfa*b);this.f&&this.f.zIndex(a+wV*b);this.I(8)}this.J(2)&&(this.hb.P(this.P()),this.f&&this.f.P(this.P()),this.I(2));this.hb.$();this.f&&this.f.$();this.I(4)}};$.g.F=function(){var a=NU.u.F.call(this);$.Hq(this,vV,a);return a};$.g.X=function(a,b){NU.u.X.call(this,a,b);$.zq(this,vV,a,b)};$.H(PU,$.Y);var zV=function(){function a(a){return null===a?a:$.to(a)}var b={};$.hq(b,[$.Z.az,$.Z.uB,[0,"startAngle",function(a){return null===a?a:$.ab($.N(a)||0)}],[0,"width",a],[0,"sweepAngle",function(a){return null===a?a:$.Za($.N(a)||0,-360,360)}],[0,"radius",a],[0,"cornersRounding",$.to],[0,"drawFirstLabel",$.uq],[0,"drawLastLabel",$.uq]]);return b}();$.U(PU,zV);PU.prototype.qa=$.Y.prototype.qa|2;PU.prototype.sa=$.Y.prototype.sa|912;var Qfa=2,wV=3;$.g=PU.prototype;$.g.Lc=null;$.g.Da=null;
$.g.oc=null;$.g.hb=null;$.g.Nc=null;$.g.scale=function(a){if($.n(a)){if(a=$.Xs(this.na,a,null,3,null,this.Vh,this)){var b=this.na==a;this.na=a;a.da(b);b||this.B(this.af,3)}return this}this.na||(this.na=$.Ts(),$.L(this.na,this.Vh,this));return this.na};$.g.Vh=function(a){$.X(a,2)&&this.B(this.af,3)};$.g.kb=function(a){this.oc||(this.oc=new $.Nx,$.W(this,"minorLabels",this.oc),this.oc.ib(this),$.L(this.oc,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.oc.K(a),this):this.oc};
$.g.labels=function(a){this.Da||(this.Da=new $.Nx,$.W(this,"labels",this.Da),this.Da.ia(!0,this.mf("labels")),this.Da.ib(this),$.L(this.Da,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Da.K(a),this):this.Da};$.g.Zd=function(){this.$i();this.B(384,1)};$.g.tb=function(a){this.Nc||(this.Nc=new NU,$.W(this,"minorTicks",this.Nc),this.Nc.ib(this),this.Nc.b=this,$.L(this.Nc,this.Yh,this));return $.n(a)?(this.Nc.K(a),this):this.Nc};
$.g.Qa=function(a){this.hb||(this.hb=new NU,$.W(this,"ticks",this.hb),this.hb.ib(this),this.hb.b=this,$.L(this.hb,this.Yh,this));return $.n(a)?(this.hb.K(a),this):this.hb};$.g.Yh=function(a){var b=0;$.X(a,8)&&(b=384,this.$i());$.X(a,1)&&(b|=256);this.B(b,1)};$.g.Bj=function(){return this.mq};$.g.Dl=function(){var a=this.i("startAngle");return null!=a?a+xV:this.Ke.Dl()};$.g.$i=function(){this.Qh.length=0;this.lk.length=0;this.V1.length=0;this.z2.length=0;this.Qj=null};
$.g.Px=function(){if(!this.Qj||this.J(512)){if("allow-overlap"==this.i("overlapMode"))return!1;for(var a=this.scale(),b=[],c=[],d=this.i("drawFirstLabel"),e=this.i("drawLastLabel"),f=a.Qa().get(),h=f.length,k=-1,l=e&&!d?h-1:-1,m=-1,p=-1,q,r,t,u,v,w,x,y=this.labels().enabled(),B=a.tb().get(),G=0,C=0,I=B.length,P,Q=this.kb().enabled();G<h||C<I;){q=f[G];t=B[C];r=a.transform(q);P=a.transform(t);t=q=u=v=null;if(-1==m&&y)for(x=G;-1==m&&x<h;)!x&&d||x==h-1&&e||0!=x&&x!=h-1?t=this.hd(x,!0):t=null,-1!=l?q=
this.hd(l,!0):q=null,e&&!d?u=x==h-1?null:this.hd(h-1,!0):x!=k?u=this.hd(k,!0):u=null,$.Zm(t,q)||$.Zm(t,u)||(w=a.transform(f[x]),0>=w&&d||1<=w&&e?m=x:0<w&&1>w&&(m=x)),x++;r<=P&&G<h||C==I?(y&&G==m&&this.labels().enabled()?(-1==k&&(k=G),l=G,m=-1,b.push(!0)):b.push(!1),G++,r==P&&(this.labels().enabled()||this.Qa().enabled())&&(c.push(!1),C++)):(Q?(t=this.hd(C,!1),-1!=l&&(q=this.hd(l,!0)),-1!=m&&(u=this.hd(m,!0)),-1!=p&&(v=this.hd(p,!1)),r=(r=this.kb().Vd(C))?$.n(r.enabled())?r.enabled():!0:!0,$.Zm(t,
q)||$.Zm(t,u)||$.Zm(t,v)||!r?c.push(!1):(w=a.transform(B[C]),0>=w||1<=w?(-1==k&&(k=C),p=C,c.push(!0)):0<w&&1>w?(-1==k&&(k=C),p=C,c.push(!0)):c.push(!1))):c.push(!1),C++)}Q||(c=!1);y||(b=!1);this.Qj={labels:b,kb:c};this.I(512)}return this.Qj};
$.g.hd=function(a,b){var c=b?this.Qh:this.lk;if($.n(c[a]))return c[a];var d=TU(this,a,b),e=b?this.labels():this.kb(),f=this.na,h=(b?f.Qa():f.tb()).get()[a],k=f.transform(h);h=(f=e.Vd(a))&&$.n(f.i("autoRotate"))?f.i("autoRotate"):e.i("autoRotate");var l=f&&$.n(f.i("offsetX"))?f.i("offsetX"):e.i("offsetX"),m=f&&$.n(f.i("offsetY"))?f.i("offsetY"):e.i("offsetY"),p=SU(this,b,h?d.height:0);p+=$.M(m,this.Ke.Bj());var q=this.Dl();m=RU(this);k=$.ab(q+k*m);k+=$.M(l,m);m=$.bb(k);l=this.Ke.qc+p*Math.cos(m);m=
this.Ke.rc+p*Math.sin(m);p=f&&$.n(f.i("rotation"))?f.i("rotation"):e.i("rotation");h&&(p+=0<k&&180>k?k+270:k+90);e=f&&$.n(f.i("anchor"))?f.i("anchor"):h?e.i("anchor"):UU(this,k);d.left=l;d.top=m;f=$.xo(new $.J(0,0,d.width,d.height),e);d.left-=f.x;d.top-=f.y;e=$.xo(d,e);e=$.Jb($.bb(p),e.x,e.y);d=$.hn(d);e.transform(d,0,d,0,4);return c[a]=d};
$.g.im=function(a,b){var c=this.scale();c={axis:{value:this,type:""},index:{value:a,type:"number"},value:{value:c.UD((0,window.parseFloat)(b)),type:"number"},tickValue:{value:(0,window.parseFloat)(b),type:"number"},max:{value:$.n(c.max)?c.max:null,type:"number"},min:{value:$.n(c.min)?c.min:null,type:"number"},scale:{value:c,type:""}};c=new $.rw(c);c.sm({"%AxisScaleMax":"max","%AxisScaleMin":"mix"});return $.av(c)};
$.g.ce=function(a,b,c){var d=this.na,e=c?d.Qa().get():d.tb().get();d=c?this.labels():this.kb();var f=d.Vd(a),h=f&&$.n(f.i("autoRotate"))?f.i("autoRotate"):d.i("autoRotate");f=TU(this,a,c);c=SU(this,c,h?f.height:0);e=this.im(a,e[a]);f=d.add(e,{value:{angle:b,radius:c}},a);h||(a=RU(this),d=f&&$.n(f.offsetX())?f.offsetX():d.offsetX(),b+=$.M(d,a),f.anchor(UU(this,b)))};$.g.Bk=function(a){return $.n(a)?(this.Ke!=a&&(this.Ke=a),this):this.Ke};
$.g.remove=function(){this.Lc&&this.Lc.parent(null);this.Qa().remove();this.labels().remove();this.tb().remove();this.kb().remove()};
$.g.$=function(){if(!this.Bc())return this;var a=this.scale(),b=this.Dl(),c=RU(this),d=this.Ke.qc,e=this.Ke.rc;this.Lc||(this.Lc=$.nk(),$.du(this,this.Lc));if(this.J(4)){var f=this.i("radius"),h=this.i("width");this.mq=$.M(null!=f?f:"100%",this.Ke.Bj());this.Vi=$.M(null!=h?h:"3%",this.Ke.Bj());f=$.M(this.i("cornersRounding"),this.Vi);var k=this.mq-this.Vi/2;var l=this.mq+this.Vi/2;this.Lc.clear();this.Lc.ze(d,e,this.mq-this.Vi/2,this.mq-this.Vi/2,b,c);f&&(h=d+$.db(b+c,l),l=e+$.eb(b+c,l),f<this.Vi/
2?this.Lc.kf(h,l,this.Vi-f,this.Vi-f,!1,!1):this.Lc.kf(h,l,f,f,!0,!1));this.Lc.ze(d,e,this.mq+this.Vi/2,this.mq+this.Vi/2,b+c,-c,!f);f&&(h=d+$.db(b,k),l=e+$.eb(b,k),f<this.Vi/2?this.Lc.kf(h,l,this.Vi-f,this.Vi-f,!1,!1):this.Lc.kf(h,l,f,f,!0,!1));this.Lc.close();this.$i();this.B(384);this.I(4)}$.V(this.labels());$.V(this.kb());$.V(this.Qa());$.V(this.tb());this.J(16)&&(this.Lc.fill(this.i("fill")),this.Lc.stroke(null),this.I(16));if(this.J(256)){var m=this.Qa();m.B(4);m.rd();m=m.Pp;var p=this.tb();
p.B(4);p.rd();p=p.Pp;this.I(256)}if(this.J(128)){var q=this.labels();q.ja(tV(this.Ke));q.Cc(d);q.yc(e);q.lE(b);q.Hy(c);q.qy(this.Ke.Bj());q.clear();q=this.ce;var r=this.kb();r.ja(tV(this.Ke));r.Cc(d);r.yc(e);r.lE(b);r.Hy(c);r.qy(this.Ke.Bj());r.clear();r=this.ce;this.I(128)}this.J(8)&&(d=this.zIndex(),e=.1*yV,this.Lc.zIndex(d+e),this.Qa().zIndex(d),this.tb().zIndex(d),this.labels().zIndex(d+4*e),this.kb().zIndex(d+4*e),this.I(8));this.J(2)&&(d=this.P(),this.Lc.parent(d),this.Qa().P(d),this.tb().P(d),
this.labels().P(d),this.kb().P(d),this.I(2));if(m||q||p||r){var t,u;e=a.Qa().get();f=e.length;h=a.tb().get();k=h.length;l=this.Px();if($.D(l)){d=l.labels;var v=l.kb}else d=!l,v=!l;var w=t=0;for(var x,y,B;t<f||w<k;){var G=e[t];x=h[w];var C=a.transform(G);y=a.transform(x);if(C<=y&&t<f||w==k){l=$.ab(b+C*c);var I=$.A(d)?d[t]:d;(u=$.A(d)&&d[t]||$.da(d))&&m&&m.call(this.hb,l,G);I&&q&&q.call(this,t,l,!0);B=C;t++}else l=$.ab(b+y*c),I=$.A(v)?v[w]:v,(u=$.A(v)&&v[w]||$.da(v))&&p&&B!=y&&p.call(this.Nc,l,x),I&&
r&&B!=y&&r.call(this,w,l,!1),w++}}m&&this.Qa().zl();p&&this.tb().zl();q&&this.labels().$();r&&this.kb().$();this.labels().da(!1);this.kb().da(!1);this.Qa().da(!1);this.tb().da(!1);return this};$.g.F=function(){var a=PU.u.F.call(this);$.Hq(this,zV,a);a.scale=this.scale().F();a.ticks=this.Qa().F();a.minorTicks=this.tb().F();a.labels=this.labels().F();a.minorLabels=this.kb().F();return a};
$.g.X=function(a,b){PU.u.X.call(this,a,b);$.zq(this,zV,a,b);var c=a.scale;if($.z(c))var d=QU(c);else $.D(c)?(d=QU(c.type),d.K(c)):d=null;d&&this.scale(d);this.Qa(a.ticks);this.tb(a.minorTicks);this.labels().ia(!!b,a.labels);this.kb().ia(!!b,a.minorLabels)};$.g.R=function(){$.td(this.Da,this.oc,this.hb,this.Nc,this.Lc);this.Lc=this.Nc=this.hb=this.Da=this.oc=null;PU.u.R.call(this)};var AV=PU.prototype;AV.scale=AV.scale;AV.ticks=AV.Qa;AV.minorTicks=AV.tb;AV.labels=AV.labels;AV.minorLabels=AV.kb;$.H(VU,$.Y);var BV={};$.hq(BV,[[0,"fill",$.Vb],[0,"axisIndex",$.qq],[0,"position",JU],[0,"startSize",MU],[0,"endSize",MU],[0,"from",$.qq],[0,"to",$.qq],[0,"radius",MU],[0,"cornersRounding",$.to]]);$.U(VU,BV);$.g=VU.prototype;$.g.sa=$.Y.prototype.sa|65552;$.g.qa=$.Y.prototype.qa|4;$.g.Bk=function(a){return $.n(a)?(this.Ke!=a&&(this.Ke=a),this):this.Ke};$.g.remove=function(){this.fa&&this.fa.parent(null);this.wa&&this.wa.length&&(0,$.Qe)(this.wa,function(a){a.parent(null)})};
$.g.$=function(){var a=this.Ke,b=ZU(a,this.i("axisIndex"));if(!this.Bc())return this;if(!b||!b.enabled())return this.fa&&this.fa.clear(),$U(this),this;var c=this.i("fill"),d=$.D(c)&&$.n(c.keys)&&!$.n(c.cx)&&!$.n(c.cy);d&&this.B(4);$U(this);if(this.J(4)){var e=b.scale(),f=this.i("from"),h=this.i("to");if(e.gk(f)||e.gk(h))return this.fa&&this.fa.clear(),this.I(4),this;this.fa?this.fa.clear():this.fa=$.nk();this.wa||(this.wa=[]);$U(this);if(f!=h){var k=h<f,l=$.Za(e.transform(k?h:f),0,1),m=$.Za(e.transform(k?
f:h),0,1);if(l==m)return this;f=b.Dl();h=RU(b);e=f+l*h;f+=m*h;(h=f-e)||(h=l==m?0:360);m=$.bb(e);l=$.bb(f);var p=this.i("startSize"),q=this.i("endSize");p=null!=p?p:0;q=null!=q?q:"10%";var r=(0,window.parseFloat)(k?q:p)/100;k=(0,window.parseFloat)(k?p:q)/100;p=this.i("radius");p=Ofa(this,a,null!=p?0:b.Vi,null!=p?$.M(p,a.Bj()):b.Bj(),r,k);var t=p[0];k=p[1];r=p[2];var u=p[3],v=this.i("cornersRounding");p=t-k;q=$.M(v,p);var w=r-u;v=$.M(v,w);var x,y=a.qc;a=a.rc;if(d){for(var B=c.keys,G=c.keys.length,C=
0;C<G-1;C++)this.wa[C]?x=this.wa[C]:this.wa[C]=x=$.nk(),x.clear().stroke("none").fill("none").parent(this.P()).zIndex(this.zIndex());for(C=0;C<G-1;C++){x=B[C];var I=B[C+1],P=x.offset,Q=I.offset;Nfa(this,this.wa,e+h*P,e+h*Q,k+(u-k)*P,k+(u-k)*Q,t+(r-t)*P,t+(r-t)*Q,x.color,$.n(x.opacity)?x.opacity:$.n(c.opacity)?c.opacity:1,I.color,$.n(I.opacity)?I.opacity:$.n(c.opacity)?c.opacity:1,C,q,p,v,w)}}k==u?(c=y+Math.cos(m)*k,x=a+Math.sin(m)*k,this.fa.moveTo(c,x),this.fa.arcTo(k,k,e,h)):(c=y+Math.cos(m)*k,x=
a+Math.sin(m)*k,this.fa.moveTo(c,x),WU(this,this.fa,e,f,k,u));b=b.scale().Uf();v&&(c=y+$.db(f,r),x=a+$.eb(f,r),v<w/2?this.fa.kf(c,x,w-v,w-v,!1,b):this.fa.kf(c,x,v,v,!0,b));r==t?(c=y+Math.cos(l)*r,l=a+Math.sin(l)*r,v||this.fa.lineTo(c,l),this.fa.arcTo(r,r,f,-h)):WU(this,this.fa,f,e,r,t);q&&(c=y+$.db(e,k),x=a+$.eb(e,k),q<p/2?this.fa.kf(c,x,p-q,p-q,!1,b):this.fa.kf(c,x,q,q,!0,b));this.fa.close()}else this.fa.clear();this.I(4)}this.J(16)&&(d?this.fa.fill("none"):this.fa.fill(this.i("fill")),this.fa.stroke("none"),
this.I(16));this.J(8)&&(this.fa.zIndex(this.zIndex()),this.wa&&this.wa.length&&(0,$.Qe)(this.wa,function(a){a.zIndex(this.zIndex())},this),this.I(8));this.J(2)&&(this.fa.parent(this.P()),this.wa&&this.wa.length&&(0,$.Qe)(this.wa,function(a){a.parent(this.P())},this),this.I(2));return this};$.g.F=function(){var a=VU.u.F.call(this);$.Hq(this,BV,a);return a};$.g.X=function(a,b){VU.u.X.call(this,a,b);$.zq(this,BV,a)};$.g.R=function(){$.td(this.wa,this.fa);this.fa=this.wa=null;VU.u.R.call(this)};$.H(aV,$.Y);var CV={};$.hq(CV,[[0,"radius",MU],$.Z.Jn,$.Z.az,$.Z.qP]);$.U(aV,CV);$.g=aV.prototype;$.g.sa=$.Y.prototype.sa|65552;$.g.remove=function(){this.Wa&&this.Wa.parent(null)};$.g.Bk=function(a){return $.n(a)?(this.Ke!=a&&(this.Ke=a),this):this.Ke};
$.g.$=function(){if(!this.Bc())return this;this.J(16)&&(this.Jd.fill(this.i("fill")),this.Jd.stroke(this.i("stroke")),this.I(16));var a=this.i("hatchFill");this.J(65536)&&(this.f||!a||$.Vo(a)||(this.f=$.kk(),this.f.parent(this.Wa),this.f.zIndex(1)),this.f&&(this.f.fill(a),this.f.stroke(null),this.B(4)),this.I(65536));this.J(2)&&(this.Wa.parent(this.P()),this.Jd.parent(this.Wa),this.f&&this.f.parent(this.Wa),this.I(2));this.J(8)&&(this.Wa.zIndex(this.zIndex()),this.Jd.zIndex(0),this.f&&this.f.zIndex(1),
this.I(8));if(this.J(4)){a=$.M(this.i("radius"),this.Ke.Bj());var b=this.Ke.qc,c=this.Ke.rc;this.Jd.zp(b);this.Jd.Ap(c);this.Jd.Wb(0>a?0:a);this.f&&(this.f.zp(b),this.f.Ap(c),this.f.Wb(a));this.I(4)}return this};$.g.F=function(){var a=aV.u.F.call(this);$.Hq(this,CV,a);return a};$.g.X=function(a,b){aV.u.X.call(this,a,b);$.zq(this,CV,a,b)};$.g.R=function(){$.td(this.Jd,this.f,this.Wa);this.Wa=this.f=this.Jd=null;aV.u.R.call(this)};$.H(bV,$.jv);$.g=bV.prototype;$.g.Cc=function(a){return $.n(a)?(a=$.N(a),this.qc!=a&&(this.qc=a,this.B(4,9)),this):this.qc};$.g.yc=function(a){return $.n(a)?(a=$.N(a),this.rc!=a&&(this.rc=a,this.B(4,9)),this):this.rc};$.g.qy=function(a){return $.n(a)?(a=$.N(a),this.D!=a&&(this.D=a,this.B(4,9)),this):this.D};$.g.lE=function(a){$.n(a)&&(a=null===a?a:$.ab($.N(a)||0),this.O!=a&&(this.O=a,this.B(4,1)))};
$.g.Hy=function(a){return $.n(a)?(a=null===a?a:$.Za($.N(a)||0,-360,360),this.G!=a&&(this.G=a,this.B(4,1)),this):this.G};
$.g.yf=function(){var a=this.ja()||$.gn(0,0,0,0),b=a.left,c=a.top,d=a.width,e=a.height;a=new $.J(0,0,this.yi,this.wi);var f=new $.gb(0,0);if(this.ja()||!(0,window.isNaN)(this.qc)&&!(0,window.isNaN)(this.rc)){var h=this.i("offsetX"),k=this.i("offsetY");b=(0,window.isNaN)(this.qc)?b+d/2:this.qc;c=(0,window.isNaN)(this.rc)?c+e/2:this.rc;var l=null!=this.O?this.O:0,m=null!=this.G?this.G:360;d=$.n(this.D)&&!(0,window.isNaN)(this.D)?$.M(k,this.D):this.ja()?$.M(k,Math.min(d,e)/2):0;h=l+$.M(h,m);f.x=b+Math.cos($.bb(h))*
d;f.y=c+Math.sin($.bb(h))*d}else f.x=0,f.y=0;d=this.i("anchor");d=$.xo(new $.J(0,0,this.yi,this.wi),d);f.x-=d.x;f.y-=d.y;this.ug+=f.x;this.vg+=f.y;a.left=f.x;a.top=f.y;this.rb.jc(1,0,0,1,0,0);this.rb.translate(this.ug,this.vg);this.rb.clip(new $.J(0,0,this.Ym,this.Wm));return a};$.H(cV,$.Y);cV.prototype.sa=$.Y.prototype.sa|65552;cV.prototype.qa=$.Y.prototype.qa|4;var DV={};$.hq(DV,[$.Z.DE,$.Z.tB,$.Z.qP,[0,"axisIndex",$.qq]]);$.U(cV,DV);$.g=cV.prototype;$.g.Rg=function(){return!0};$.g.hk=function(){return!1};$.g.Ii=function(){return!0};$.g.Qt=function(){return!1};$.g.Yi=function(a){return $.n(a)?(this.O!=a&&(this.O=a,this.B(4,5)),this):null!=this.O?this.O:this.g?0:eV(this)};$.g.Bk=function(a){return $.n(a)?(this.Ke!=a&&(this.Ke=a),this):this.Ke};
$.g.la=function(){return this.fd?-1:(0,$.za)(this.Ke.Te(),this)};$.g.mh=function(a){return $.n(a)?(this.Dq=a,this):this.Dq};$.g.id=function(a){return $.n(a)?(this.Yd=a,this):this.Yd||String(this.Dq)};$.g.remove=function(){this.fa&&($.K(this.fa,$.zg)?this.fa.parent(null):this.fa.P(null));this.b&&($.K(this.b,$.zg)?this.b.parent(null):this.b.P(null))};
$.g.data=function(a,b){return $.n(a)?(this.lI!==a&&(this.lI=a,$.qd(this.Ql),this.Nd=null,$.K(a,$.pr)?this.g=this.Ql=a.tj():$.K(a,$.zr)?this.g=this.Ql=a.ie():this.g=null===a?null:(this.Ql=new $.zr($.A(a)||$.z(a)?a:null,b)).ie(),this.g&&$.L(this.g,this.Id,this),this.B(4,5)),this):this.g};$.g.Id=function(a){$.X(a,16)&&this.B(4,5)};$.g.aa=function(){return this.g?this.Nd||(this.Nd=this.g.aa()):this.Ke.aa()};$.g.vc=function(){return this.g?this.Nd=this.g.aa():this.Ke.vc()};
$.g.$=function(){if(this.J(16)){var a=this.i("fill"),b=this.i("stroke");this.fa.fill(dV(this,a,!0));this.fa.stroke(dV(this,b,!1));this.I(16)}this.J(8)&&(this.fa.zIndex(this.zIndex()),this.j.zIndex(this.zIndex()+1),this.b&&(this.b.zIndex(this.zIndex()+.1*yV),this.j.zIndex(this.b.zIndex()+1)),this.I(8));this.J(2)&&($.K(this.fa,$.zg)?this.fa.parent(this.P()):this.fa.P(this.P()),this.b&&($.K(this.b,$.zg)?this.b.parent(this.P()):this.b.P(this.P())),this.j.parent(this.P()),this.I(2));return this};
$.g.Ec=function(a){if(!this.de||a)this.de=new $.rw;a=this.aa();var b={series:{value:this,type:""},index:{value:a.la(),type:"number"},value:{value:a.get("value"),type:"number"}};this.de.Ag(a).mj([this]);return $.av(this.de,b)};$.g.xk=function(){return this.Ec()};$.g.Xj=$.ia;$.g.fm=$.ia;$.g.Uk=$.ia;$.g.Wp=$.ia;$.g.ig=function(a){a=cV.u.ig.call(this,a);a.pointIndex=$.N($.mo(a.domTarget).index);return a};
$.g.Ig=function(a){var b=a.type;switch(b){case "mouseout":b="pointmouseout";break;case "mouseover":b="pointmouseover";break;case "mousemove":b="pointmousemove";break;case "mousedown":b="pointmousedown";break;case "mouseup":b="pointmouseup";break;case "click":b="pointclick";break;case "dblclick":b="pointdblclick";break;default:return null}var c;"pointIndex"in a?c=a.pointIndex:"labelIndex"in a?c=a.labelIndex:"markerIndex"in a&&(c=a.markerIndex);c=$.N(c);a.pointIndex=c;var d=this.aa();d.select(c)||d.reset();
return{type:b,actualTarget:a.target,series:this,iterator:d,pointIndex:c,target:this,originalEvent:a}};$.g.sh=function(a){(a=this.Ig(a))&&this.dispatchEvent(a)};$.g.Oj=function(a){$.n(a)?this.Hi(a):this.Ek();return this};$.g.Pd=function(){var a;if(a=!$.Zw(this.state,$.po))a=!(this.state.Nj()&$.po);if(a||!this.enabled())return this;this.state.Hh($.po,this.state.Ac==$.Zl?window.NaN:void 0);return this};
$.g.Hi=function(a){if(!this.enabled())return this;if($.A(a)){for(var b=$.ex(this.state,$.po),c=0;c<b.length;c++)$.Aa(a,b[c])||this.state.Hh($.po,b[c]);$.cx(this.state,a)}else $.ea(a)&&(this.Pd(),$.cx(this.state,a));return this};$.g.Ek=function(){this.enabled()&&this.state.xh($.po)};$.g.ae=function(){return this};$.g.Ni=function(a){return $.n(a)?(a=null===a?null:$.zk(a),a!=this.Ls&&(this.Ls=a),this):this.Ls};$.g.Fl=function(a){return $.n(a)?(a=$.yk(a),a!=this.N&&(this.N=a),this):this.N};
$.g.F=function(){var a=cV.u.F.call(this);$.Hq(this,DV,a);a.pointerType=this.Na();this.g&&(a.data=this.data().F());$.n(this.O)&&(a.dataIndex=this.O);this.Yd&&(a.id=this.id());this.Dq!=this.la()&&(a.autoIndex=this.mh());return a};$.g.X=function(a,b){cV.u.X.call(this,a,b);$.zq(this,DV,a,b);this.id(a.id);this.mh(a.autoIndex);this.Yi(a.dataIndex);"data"in a&&this.data(a.data||null)};$.g.R=function(){$.td(this.fa,this.b,this.j);this.j=this.b=this.fa=null;cV.u.R.call(this)};var EV=cV.prototype;EV.id=EV.id;
EV.data=EV.data;EV.dataIndex=EV.Yi;$.H(hV,cV);hV.prototype.Na=function(){return"bar"};var FV={};$.hq(FV,[[0,"width",MU],[0,"position",JU],[0,"radius",MU],[0,"barDrawer",$.Vq]]);$.U(hV,FV);
hV.prototype.$=function(){var a=this.Bk(),b=ZU(a,this.i("axisIndex"));if(!this.Bc())return this;fV(this);if(!b||!b.enabled())return this.fa&&this.fa.clear(),this.b&&this.b.clear(),this.J(4)&&this.I(4),this;if(this.J(65536)){var c=this.i("hatchFill");this.b||!c||$.Vo(c)||(this.b=$.nk(),this.b.parent(this.P()),this.b.zIndex(this.zIndex()+1));this.b&&(this.b.td(!0),this.b.fill(c),this.b.stroke(null),this.B(4));this.I(65536)}if(this.J(4)){c=a.qc;var d=a.rc,e=b.scale(),f=this.vc();f.select(this.Yi());
var h=(0,window.parseFloat)(f.get("value"));if(e.gk(h))return this.fa&&this.fa.clear(),this.b&&this.b.clear(),this.I(4),this;this.fa?this.fa.clear():this.fa=$.nk();var k=b.Bj(),l=b.Vi;f=b.Dl();var m=RU(b),p=this.i("radius");b=null!=p?$.M(p,a.Bj()):k;k=this.i("width");a=null!=k?$.M(k,a.Bj()):l;l=$.n(p)?a/2:a/2+l/2;p=this.i("position");"outside"==p?b+=l:"inside"==p&&(b-=l);l=$.Za(e.transform(0),0,1);h=$.Za(e.transform(h),0,1);0<=m^h>=l?(e=h,p=l):(e=l,p=h);e=$.ab(f+e*m);(f=$.ab($.ab(f+p*m)-e))||(f=h==
l?0:360);this.f.cx=c;this.f.cy=d;this.f.radius=b;this.f.startAngle=$.ab(e-xV);this.f.sweepAngle=f;this.f.width=a;h={centerX:c,centerY:d,radius:b,startAngle:e,sweepAngle:f,width:a,path:this.fa};m=this.i("barDrawer");m.call(h,h);gV(this,this.fa);this.b&&(c={centerX:c,centerY:d,radius:b,startAngle:e,sweepAngle:f,width:a,path:this.b},m.call(c,c));($.E(this.i("fill"))||$.E(this.i("stroke")))&&this.B(16);this.I(4)}hV.u.$.call(this);return this};
hV.prototype.F=function(){var a=hV.u.F.call(this);$.Hq(this,FV,a,"Bar pointer");return a};hV.prototype.X=function(a,b){hV.u.X.call(this,a,b);$.zq(this,FV,a,b)};$.H(iV,cV);iV.prototype.Na=function(){return"knob"};var GV=function(){var a={};$.hq(a,[[0,"verticesCount",function(a){return(a=$.N(a))?a:this.i("verticesCount")}],[0,"verticesCurvature",$.tq],[0,"topRatio",$.Tq],[0,"bottomRatio",$.Tq],[0,"topRadius",MU],[0,"bottomRadius",MU]]);return a}();$.U(iV,GV);
iV.prototype.$=function(){var a=this.Bk(),b=ZU(a,this.i("axisIndex"));if(!this.Bc())return this;fV(this);if(!b||!b.enabled())return this.fa&&this.fa.clear(),this.b&&this.b.clear(),this.J(4)&&this.I(4),this;if(this.J(65536)){var c=this.i("hatchFill");this.b||!c||$.Vo(c)||(this.b=$.nk(),this.b.parent(this.P()),this.b.zIndex(this.zIndex()+1));this.b&&(this.b.td(!0),this.b.fill(c),this.b.stroke(null),this.B(4));this.I(65536)}if(this.J(4)){c=a.qc;var d=a.rc,e=b.scale(),f=this.vc();f.select(this.Yi());
var h=(0,window.parseFloat)(f.get("value"));if(e.gk(h))return this.fa&&this.fa.clear(),this.b&&this.b.clear(),this.I(4),this;this.fa?this.fa.clear():this.fa=$.nk();f=b.Bj();var k=b.Dl(),l=RU(b);b=this.i("topRadius");b=null!=b?$.M(b,a.Bj()):.7*f;var m=this.i("bottomRadius");a=null!=m?$.M(m,a.Bj()):.6*f;f=this.i("verticesCount");var p=this.i("topRatio"),q=this.i("bottomRatio");m=360/f;p*=m/2;q*=m/2;e=$.Za(e.transform(h),0,1);e=$.ab(k+e*l);this.f.cx=c;this.f.cy=d;this.f.topRadius=b;this.f.bottomRadius=
a;this.f.angle=$.ab(e-xV);l=Math.abs(b-a)/2;k=b<a;var r=this.i("verticesCurvature");h=.5>r?90:-90;l*=Math.abs(.5-r);this.fa.clear();for(r=0;r<f;r++){var t=$.ab(e+r*m);this.fa.ze(c,d,a,a,t,q,0!=r);jV(this,this.fa,t,m,p,q,b,a,c,d,h,l,k,!0);var u=$.ab(t+m/2-p);this.fa.ze(c,d,b,b,u,2*p);jV(this,this.fa,t,m,p,q,b,a,c,d,h,l,k,!1);t=$.ab(t+m-q);this.fa.ze(c,d,a,a,t,q)}this.fa.close();gV(this,this.fa);if(this.b){this.b.clear();for(r=0;r<f;r++)t=$.ab(e+r*m),this.b.ze(c,d,a,a,t,q,0!=r),jV(this,this.b,t,m,p,
q,b,a,c,d,h,l,k,!0),u=$.ab(t+m/2-p),this.b.ze(c,d,b,b,u,2*p),jV(this,this.b,t,m,p,q,b,a,c,d,h,l,k,!1),t=$.ab(t+m-q),this.b.ze(c,d,a,a,t,q);this.b.close()}this.I(4)}iV.u.$.call(this);return this};iV.prototype.F=function(){var a=iV.u.F.call(this);$.Hq(this,GV,a,"Knob pointer");return a};iV.prototype.X=function(a,b){iV.u.X.call(this,a,b);$.zq(this,GV,a,b)};$.H(kV,cV);kV.prototype.Na=function(){return"marker"};var HV=function(){var a={};$.hq(a,[[0,"size",$.to],[0,"position",JU],[0,"radius",MU],[0,"type",function(a){return $.E(a)?a:$.Ik(a,"line")}]]);return a}();$.U(kV,HV);
kV.prototype.$=function(){var a=this.Bk(),b=ZU(a,this.i("axisIndex"));if(!this.Bc())return this;fV(this);if(!b||!b.enabled())return this.fa&&this.fa.clear(),this.b&&this.b.clear(),this.J(4)&&this.I(4),this;var c=this.i("type");if(this.J(65536)){var d=this.i("hatchFill");this.b||!d||$.Vo(d)||(this.b=new $.Px,this.b.pa("positionFormatter",$.Xo),this.b.pa("size",10),this.b.pa("anchor","center"),this.b.pa("offsetX",0),this.b.pa("offsetY",0),this.b.pa("rotation",0),this.b.P(this.P()),this.b.zIndex(this.zIndex()+
1));this.b&&(this.b.td(!0),this.b.pa("fill",d),this.b.pa("stroke",null),this.b.pa("size",this.D),this.b.pa("type",c),this.B(4));this.I(65536)}if(this.J(4)){var e=a.qc;d=a.rc;var f=b.scale(),h=this.vc();h.select(this.Yi());var k=(0,window.parseFloat)(h.get("value"));if(f.gk(k))return this.fa&&this.fa.clear(),this.b&&this.b.clear(),this.I(4),this;var l=b.Bj(),m=b.Vi,p=b.Dl(),q=RU(b);b=this.i("radius");b=null!=b?$.M(b,a.Bj()):l;l=this.i("size");this.D=null!=l?$.M(l,a.Bj()):m;a=this.i("position");"outside"==
a?b+=this.D+m/2:"inside"==a&&(b-=this.D+m/2);a=$.Za(f.transform(k),0,1);a=$.ab(p+a*q);f=$.bb(a);p=e+b*Math.cos(f);f=d+b*Math.sin(f);this.f.cx=e;this.f.cy=d;this.f.radius=b;this.f.size=this.D;this.f.angle=$.ab(a-xV);this.fa.pa("size",this.D);this.fa.pa("type",c);e=this.fa.add({value:{x:p,y:f}},0);e.pa("rotation",a+90);this.b&&(this.b.pa("size",this.D),this.b.pa("type",c),this.b.add({value:{x:p,y:f}},0).pa("rotation",a+90));($.E(this.i("fill"))||$.E(this.i("stroke")))&&this.B(16);this.I(4)}kV.u.$.call(this);
this.fa.$();this.b&&this.b.$();e&&e.Kd()&&(e.Kd().tag=h.la());return this};kV.prototype.F=function(){var a=kV.u.F.call(this);$.Hq(this,HV,a,"Marker pointer");return a};kV.prototype.X=function(a,b){kV.u.X.call(this,a,b);$.zq(this,HV,a,b)};$.H(lV,cV);lV.prototype.Na=function(){return"needle"};var IV={};$.hq(IV,[[0,"startWidth",MU],[0,"startRadius",MU],[0,"middleWidth",MU],[0,"middleRadius",MU],[0,"endWidth",MU],[0,"endRadius",MU]]);$.U(lV,IV);$.g=lV.prototype;$.g.th=function(a){return null!=this.Ma[a]};$.g.remove=function(){lV.u.remove.call(this);this.j.clear()};
$.g.$=function(){var a=ZU(this.Bk(),this.i("axisIndex"));if(!this.Bc())return this;fV(this);if(!a||!a.enabled())return this.j.clear(),this.fa&&this.fa.clear(),this.b&&this.b.clear(),this.J(4)&&this.I(4),this;if(this.J(65536)){var b=this.i("hatchFill");this.b||!b||$.Vo(b)||(this.b=$.nk(),this.b.parent(this.P()),this.b.zIndex(this.zIndex()+1));this.b&&(this.b.td(!0),this.b.fill(b),this.b.stroke(null),this.B(4));this.I(65536)}if(this.J(4)){b=a.scale();var c=this.vc();c.select(this.Yi());c=(0,window.parseFloat)(c.get("value"));
var d=mV(this,a,c);if(b.gk(c))return this.j.clear(),this.fa&&this.fa.clear(),this.b&&this.b.clear(),this.I(4),this;this.fa||(this.fa=$.nk());this.f.cx=d.Cc;this.f.cy=d.yc;this.f.startRadius=d.gha;this.f.startWidth=d.hha;this.f.middleRadius=d.eha;this.f.middleWidth=d.fha;this.f.endRadius=d.cha;this.f.endWidth=d.dha;this.f.angle=$.ab(d.angle-xV);this.fa.clear().moveTo(d.gS,d.iS).lineTo(d.YU,d.$U).lineTo(d.TW,d.VW).lineTo(d.UW,d.WW).lineTo(d.ZU,d.aV).lineTo(d.hS,d.jS).close();this.b&&this.b.clear().moveTo(d.gS,
d.iS).lineTo(d.YU,d.$U).lineTo(d.TW,d.VW).lineTo(d.UW,d.WW).lineTo(d.ZU,d.aV).lineTo(d.hS,d.jS).close();a=mV(this,a,c,5);this.j.clear().moveTo(a.gS,a.iS).lineTo(a.YU,a.$U).lineTo(a.TW,a.VW).lineTo(a.UW,a.WW).lineTo(a.ZU,a.aV).lineTo(a.hS,a.jS).close();gV(this,this.j);($.E(this.i("fill"))||$.E(this.i("stroke")))&&this.B(16);this.I(4)}lV.u.$.call(this);return this};$.g.F=function(){var a=lV.u.F.call(this);$.Hq(this,IV,a,"Needle pointer");return a};
$.g.X=function(a,b){lV.u.X.call(this,a,b);$.zq(this,IV,a,b)};$.H(nV,$.gx);nV.prototype.sa=$.gx.prototype.sa|446480;nV.prototype.Na=function(){return"circular-gauge"};var xV=-90,yV=1E-4;$.g=nV.prototype;$.g.Pn=function(){nV.u.Pn.call(this);for(var a=this.Ia("chartElements")||{},b=0,c=this.D.length;c--;)this.D[c]&&b++;a.axes=b;this.Ia("chartElements",a)};$.g.Te=function(){return this.g};$.g.At=function(){return[this]};$.g.es=function(){return[]};$.g.uu=function(){return!0};$.g.tK=function(){return new bV};
$.g.data=function(a,b){return $.n(a)?(this.jg!==a&&(this.jg=a,$.qd(this.jd),this.Nd=null,$.K(a,$.pr)?this.j=this.jd=a.tj():this.j=$.K(a,$.zr)?this.jd=a.ie():(this.jd=new $.zr($.A(a)||$.z(a)?a:null,b)).ie(),this.oa=this.j,$.L(this.oa,this.Id,this),rV(this),this.B(266496,5)),this):this.oa};$.g.Id=function(a){$.X(a,16)&&(rV(this),this.B(266496,5))};$.g.aa=function(){return this.Nd||this.vc()};$.g.vc=function(){return this.Nd=this.data().aa()};
$.g.Ik=function(a,b,c,d,e){a={type:"hovered"==a?"pointshover":"pointsselect",seriesStatus:this.CF(c,d),currentPoint:this.oD(c,a,d),actualTarget:b.target,target:this,originalEvent:b};e&&(a.BS=!0);return a};$.g.YQ=function(a){this.G||(this.G=new aV,$.W(this,"cap",this.G),this.G.Bk(this),$.L(this.G,this.qga,this),this.B(16384,1));return $.n(a)?(this.G.K(a),this):this.G};$.g.qga=function(a){var b=0,c=0;$.X(a,1)&&(b|=16384,c|=1);$.X(a,8)&&(b|=4);this.B(b,c)};
$.g.qe=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.ad[c];e||(e=new VU,this.ad[c]=e,e.zIndex(30+yV*this.Ga),this.Ga++,e.Bk(this),e.Fa(this.mf("defaultRangeSettings")),$.L(e,this.rga,this),this.B(266240,5));return $.n(d)?(e.K(d),this):e};$.g.rga=function(){this.B(131072,1)};
$.g.Bz=function(a,b,c,d){a=LU(a);var e="knob"==a,f=JV[a],h=oV(this,a);if(f){f=new f;var k=this.g[this.g.length-1];k=k?k.mh()+1:0;this.g.push(f);h[b]=f;b=e?this.Ra++:this.eb++;e=(e?20:40)+yV*b;f.mh(k);eV(f,b);f.zIndex(e);$.ea(c)?f.Yi(c):f.data(c,d);f.Bk(this);c=this.mf("defaultPointerSettings");f.Fa(c.base);f.Fa(c[$.om(a)]);$.L(f,this.nb,this);this.B(266244,5)}else f=null;return f};
$.g.z9=function(a){var b=[],c=this.i("defaultPointerType"),d=arguments.length,e=oV(this,c).length;$.V(this);if(d)for(var f=0;f<d;f++)b.push(this.Bz(c,e+f,arguments[f]));this.da(!0);return b};$.g.D9=function(a){return this.FY(pV(this,a))};$.g.FY=function(a){var b=this.g[a];if(b){$.Fp++;$.Ca(this.g,a,1);a=b.Na();a=oV(this,a);var c=(0,$.za)(a,b);-1!=c&&$.Ca(a,c,1);$.qd(b);this.B(266240,5);$.Ip()}return this};
$.g.C9=function(){if(this.g.length){$.Fp++;var a=this.g;this.g=[];this.O=[];this.ba=[];this.f=[];this.ga=[];this.Ra=this.eb=0;$.td(a);this.B(266240,5);$.Ip()}return this};$.g.A9=function(a){return this.EY(pV(this,a))};$.g.EY=function(a){return this.g[a]||null};$.g.aT=function(a){return $.ya(this.g,function(b){return b.mh()==a})};$.g.B9=function(){return this.g.length};
(function(){function a(a){return function(b,c,d,e){var f=arguments.length;var h=$.A(b)?window.NaN:$.N(b);if(3<f){(0,window.isNaN)(h)&&(h=0);var k=c;var l=d;var t=e}else 2<f?qV(b)?(h=0,k=b,l=c,t=d):((0,window.isNaN)(h)&&(h=0),qV(c)?(k=c,l=d):(l=c,t=d)):1<f?qV(b)?(h=0,k=b,l=c):(0,window.isNaN)(h)?(h=0,l=b,t=c):qV(c)?k=c:l=c:0<f?(0,window.isNaN)(h)&&(h=0,qV(b)?k=b:l=b):h=0;(f=oV(this,a)[h])||(f=this.Bz(a,h,l,t));return $.n(k)?(f.K(k),this):f}}var b=nV.prototype,c;for(c in KU){var d=$.om(KU[c]);b[d]=
a(KU[c])}})();nV.prototype.nb=function(a){var b=0,c=0;$.X(a,1)&&(b|=4096,c|=1);$.X(a,4)&&(b|=266240,c|=5);this.B(b,c)};nV.prototype.axis=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.D[c];e||(e=new PU,e.Fa(this.mf("defaultAxisSettings")),e.Bk(this),this.D[c]=e,$.L(e,this.ko,this),this.B(32772,1));return $.n(d)?(e.K(d),this):e};nV.prototype.ko=function(a){var b=0,c=0;$.X(a,1)&&(b|=32768,c|=1);$.X(a,8)&&(b|=135172);$.X(a,2)&&(b|=262148);this.B(b,c)};var JV={};
JV.bar=hV;JV.knob=iV;JV.marker=kV;JV.needle=lV;var KV=function(){var a={};$.hq(a,[$.Z.az,$.Z.Jn,$.Z.bz,[0,"circularPadding",$.to],[0,"encloseWithStraightLine",$.tq],[0,"sweepAngle",function(a){return $.Za($.N(a)||0,-360,360)}],[0,"defaultPointerType",LU]]);return a}();$.U(nV,KV);$.g=nV.prototype;$.g.Bj=function(){return this.ya};$.g.Dl=function(){return this.i("startAngle")+xV};$.g.gi=function(){return this.Ja?this.Ja.clone():$.gn(0,0,0,0)};
$.g.sW=function(a){a.ja(tV(this));a.qy(this.Bj());a.Cc(this.qc);a.yc(this.rc);a.lE(this.Dl());a.Hy(this.i("sweepAngle"))};
$.g.ei=function(a){var b,c,d=$.Ga(this.O,this.f,this.ga,this.ba);$.kr(this.G,this.D,this.ad,d);if(this.J(262144)){var e=!1;(0,$.Qe)(this.D,function(a){a.scale().tg();e=e||a.scale().Hf()});if(e){var f=0;for(b=d.length;f<b;f++)if(c=d[f]){var h=c.aa();var k=c.i("axisIndex");h.select(c.Yi());if(k=this.D[k])k.scale().Uc(h.get("value")),$.K(c,hV)&&k.scale().Uc(0)}}(0,$.Qe)(this.D,function(a){a.scale().Cg()});rV(this);this.B(32768);this.B(131072);this.I(262144)}if(this.J(4)){Pfa(this,a);this.N.clear();sV(this,
this.N,this.qc,this.rc,this.ya);this.N.zIndex(1);this.N.parent(this.La);this.G&&this.G.B(4);f=0;for(b=this.D.length;f<b;f++)(k=this.D[f])&&k.B(4);rV(this);f=0;for(b=this.ad.length;f<b;f++)(a=this.ad[f])&&a.B(4);this.B(184320)}this.J(16)&&(this.N.stroke(this.i("stroke")),this.N.fill(this.i("fill")),this.I(16));this.J(16384)&&(this.G&&this.G.P(this.La).$(),this.I(16384));if(this.J(32768)){f=0;for(b=this.D.length;f<b;f++)(k=this.D[f])&&k.P(this.La).$();this.I(32768)}if(this.J(4096)){f=0;for(b=d.length;f<
b;f++)if(c=d[f])c.ib(this),c.P(this.La).$();this.I(4096)}if(this.J(131072)){f=0;for(b=this.ad.length;f<b;f++)(a=this.ad[f])&&a.P(this.La).$();this.I(131072)}$.mr(this.G,this.D,this.ad,d)};$.g.Ej=function(){for(var a=this.aa().Gb(),b=0,c=$.Ga(this.O,this.f,this.ga,this.ba),d=c.length,e=0;e<d;e++){var f=c[e];if(f&&!f.enabled())b++;else break}return!a||!d||b==d};
$.g.sg=function(a){a=a?a:this.ma;var b,c=a.axes;if(c){var d=0;for(b=c.length;d<b;d++)c[d]&&this.axis(d,c[d])}if("pointers"in a){if(b=a.pointers,$.A(b))for(d=0;d<b.length;d++){c=b[d];var e=c.pointerType||this.i("defaultPointerType"),f=c.dataIndex,h=c.data||null;if(e=this.Bz(e,oV(this,e).length))e.Yi(f),e.data(h),e.K(c)}}else{if(c=a.bars)for(d=0,b=c.length;d<b;d++)c[d]&&this.bar(d,c[d]);if(c=a.markers)for(d=0,b=c.length;d<b;d++)c[d]&&this.marker(d,c[d]);if(c=a.needles)for(d=0,b=c.length;d<b;d++)c[d]&&
this.needle(d,c[d]);if(c=a.knobs)for(d=0,b=c.length;d<b;d++)c[d]&&this.knob(d,c[d])}if(a=a.ranges)for(d=0,b=a.length;d<b;d++)a[d]&&this.qe(d,a[d])};$.g.X=function(a,b){nV.u.X.call(this,a,b);$.zq(this,KV,a,b);this.data(a.data);$.n(a.cap)&&this.YQ(a.cap);this.Vc(a.interactivity);this.sg(a)};
$.g.F=function(){var a=nV.u.F.call(this);$.Hq(this,KV,a);a.data=this.data().F();this.G&&(a.cap=this.YQ().F());a.interactivity=this.Vc().F();var b,c=[];var d=0;for(b=this.D.length;d<b;d++){var e=this.D[d];e&&c.push(e.F())}c.length&&(a.axes=c);b=[];for(d=0;d<this.g.length;d++)(c=this.g[d])&&b.push(c.F());b.length&&(a.pointers=b);c=[];d=0;for(b=this.ad.length;d<b;d++)(e=this.ad[d])&&c.push(e.F());c.length&&(a.ranges=c);return{gauge:a}};
$.g.R=function(){$.td(this.jd,this.j,this.oa,this.G,this.ad,this.D,this.O,this.f,this.ga,this.ba,this.g);this.G=this.Nd=this.oa=this.j=this.jd=null;this.ad.length=0;this.D.length=0;this.O.length=0;this.f.length=0;this.ga.length=0;this.ba.length=0;this.g.length=0;nV.u.R.call(this)};var LV=nV.prototype;LV.data=LV.data;LV.cap=LV.YQ;LV.axis=LV.axis;LV.addPointer=LV.z9;LV.removePointer=LV.D9;LV.removePointerAt=LV.FY;LV.removeAllPointers=LV.C9;LV.getPointer=LV.A9;LV.getPointerAt=LV.EY;
LV.getPointersCount=LV.B9;LV.range=LV.qe;LV.getType=LV.Na;LV.noData=LV.Pm;$.Kp["circular-gauge"]=uV;$.F("anychart.gauges.circular",uV);}).call(this,$)}
if(!_.theme_circular_gauge){_.theme_circular_gauge=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{circularGauge:{defaultPointerType:"needle",title:{enabled:!1},defaultAxisSettings:{startAngle:null,labels:{position:"inside",adjustFontSize:!0,offsetY:0},minorLabels:{position:"inside",adjustFontSize:!0,offsetY:0},fill:"#CECECE",ticks:{hatchFill:!1,type:"line",position:"center",length:null,fill:"#545f69",stroke:"none"},minorTicks:{hatchFill:!1,type:"line",position:"center",length:null,fill:"#545f69",stroke:"none"},zIndex:10,cornersRounding:"0%"},defaultPointerSettings:{base:{enabled:!0,
fill:"#545f69",stroke:"#545f69",hatchFill:!1,axisIndex:0},bar:{position:"center",barDrawer:function(){this.path.clear();this.path.circularArc(this.centerX,this.centerY,this.radius-this.width/2,this.radius-this.width/2,this.startAngle,this.sweepAngle);this.path.circularArc(this.centerX,this.centerY,this.radius+this.width/2,this.radius+this.width/2,this.startAngle+this.sweepAngle,-this.sweepAngle,!0);this.path.close()}},marker:{size:"4%",hoverSize:6,selectSize:6,position:"inside",type:"triangle-up"},
knob:{fill:"#CECECE",stroke:"#c1c1c1",verticesCount:6,verticesCurvature:.5,topRatio:.5,bottomRatio:.5},needle:{startRadius:"-20%",startWidth:"3%",middleWidth:"1%"}},defaultRangeSettings:{enabled:!0,axisIndex:0,fill:"#7c868e 0.7",position:"center",startSize:0,endSize:"10%",cornersRounding:"0%"},fill:"#f5f5f5",stroke:"#EAEAEA",startAngle:0,sweepAngle:360,cap:{enabled:!1,fill:"#EAEAEA",stroke:"#CECECE",hatchFill:!1,radius:"15%",zIndex:50},circularPadding:"10%",encloseWithStraightLine:!1,axes:[{}],bars:[],
markers:[],needles:[],knobs:[],ranges:[],tooltip:{title:{enabled:!1},separator:{enabled:!1},titleFormat:function(){return this.index},format:function(){return"Value: "+$.OM(this.value)}}}});}).call(this,$)}
if(!_.tree_data){_.tree_data=1;(function($){}).call(this,$)}
if(!_.gantt_base){_.gantt_base=1;(function($){var SH,TH,lea,UH;$.PH=function(){$.Yq.call(this);this.B(4294967295);$.T(this.ua,[["id"],["className"]])};$.QH=function(){$.Yq.call(this);this.Pa=new $.tu;$.L(this.Pa,this.vk,this);this.Rb=this.Y=null;this.I(4294967295);$.vq(this.ua,0,0,9,1);$.T(this.ua,[["fill",0,1],["format",20,9]])};
$.RH=function(){$.Y.call(this);this.Ya=this.b=null;this.G=new $.PH;$.L(this.G,this.V9,this);this.Ka=new $.ku;$.L(this.Ka,this.T9,this);this.Pa=new $.tu;$.L(this.Pa,this.Pl,this);this.D=new $.QH;this.D.parent(this);$.L(this.D,this.Bea,this);this.Rb=this.Y=this.cb=null;this.Da=[];this.N=[];$.vq(this.ua,20,20,9,1);$.T(this.ua,[["format",20,9],["stroke",16,1],["fill",16,1],["levelHeight",16,1],["drawTopLine",256,1],["drawRightLine",256,1],["drawBottomLine",256,1],["drawLeftLine",256,1]])};
SH=function(a,b,c){var d=a.Da[b]||null;if(!d&&c){a.Mz();c=$.mm("defaultLabelFactory.format");var e=$.mm("defaultLabelFactory.positionFormatter");d=new $.Du;d.format(c);d.positionFormatter(e);d.Ye();d.enabled(!0);d.P(a.Fh);a.Da[b]=d}return d};TH=function(a,b,c){return(a=a.N[b])?a.dd(c):void 0};lea=function(a,b,c,d,e,f){for(var h=0,k=f.length;h<k;h++){var l=f[h];d.width=null;d.height=null;if(c.measure(a.im(b,l),void 0,d).width<e.width)return h}return k-1};
UH=function(a,b){$.Yq.call(this);this.Dk=a;this.wd=b;$.vq(this.ua,20,20,9,1);$.T(this.ua,[["format",20,9],["enabled",512,1],["stroke",16,1],["fill",16,1],["height",16,1]])};$.H($.PH,$.Yq);$.PH.prototype.sa=23;$.PH.prototype.qa=$.Yq.prototype.qa|1;var VH={};$.gq(VH,0,"id",$.oq);$.gq(VH,0,"className",$.oq);$.U($.PH,VH);$.g=$.PH.prototype;$.g.enabled=function(a){return $.n(a)?(this.Ma.enabled!=a&&(a=this.Ma.enabled=a,this.B(1,1),a?this.da(!0):(0,window.isNaN)(this.wo)&&$.V(this)),this):this.i("enabled")};
$.g.target=function(a){return $.n(a)?(this.b!=a&&(this.b=a,this.B(2)),this):this.b};$.g.Ta=function(){return this.Jd};$.g.uf=function(a){this.xb=a;this.B(4)};$.g.th=function(a){return null!=this.Ma[a]};$.g.EL=function(){return 16};$.g.fs=function(){return 1};$.g.Bc=function(){if(this.ef()||this.fd)return!1;if(!this.enabled())return this.J(1)&&(this.remove(),this.I(1),this.B(2)),!1;if(!this.target())return this.remove(),this.B(2),$.cl(1),!1;this.I(1);return!0};
$.g.$=function(){if(!this.Bc())return this;this.Jd||(this.Jd=$.Ne("DIV"),$.uf(this.Jd,{position:"absolute","pointer-events":"none"}));this.J(2)&&(this.b.appendChild(this.Jd),this.I(2));if(this.J(16)){var a=this.i("id");$.n(a)&&this.Jd.setAttribute("id",a);a=this.i("className");$.n(a)&&(this.Jd.className=a);this.I(16)}this.J(4)&&($.Bf(this.Jd,this.xb.left,this.xb.top),$.Hf(this.Jd,this.xb.width,this.xb.height),this.I(4));return this};$.g.remove=function(){this.Jd&&$.Xe(this.Jd)};
$.g.Ce=function(a,b){return $.da(b)||null===b?(a?this.ma.enabled=!!b:this.enabled(!!b),!0):!1};$.g.F=function(){var a=$.PH.u.F.call(this);$.Hq(this,VH,a,"Overlay ui element");var b=$.Yq.prototype.i.call(this,"enabled");a.enabled=$.n(b)?b:null;return a};$.g.X=function(a,b){$.PH.u.X.call(this,a,b);b?($.yq(this.ma,VH,a),"enabled"in a&&(this.ma.enabled=a.enabled)):($.zq(this,VH,a),this.enabled(a.enabled))};$.g.R=function(){$.PH.u.R.call(this)};var WH=$.PH.prototype;WH.getElement=WH.Ta;WH.enabled=WH.enabled;$.H($.QH,$.Yq);$.g=$.QH.prototype;$.g.qa=$.Yq.prototype.qa|9;$.g.i=$.Xq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(this.Y&&$.Zq(this.Y,this.Qc,this),(this.Y=a)&&$.L(this.Y,this.Qc,this),this.Pa.parent(this.Y.padding())),this):this.Y};
$.g.Qc=function(a){var b=0,c=0;$.X(a,1)&&(b|=16,c|=1);$.X(a,8)&&(c|=8);$.X(a,32768)&&(b|=1,c|=9);this.B(b,c)};var XH=$.kq();$.gq(XH,0,"format",$.Pq);$.U($.QH,XH);var YH={};$.gq(YH,1,"fill",$.Eq);$.U($.QH,YH);$.g=$.QH.prototype;$.g.padding=function(a,b,c,d){return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this):this.Pa};$.g.vk=function(a){$.X(a,2)&&this.B(4,9)};$.g.X=function(a,b){b?($.yq(this.ma,YH,a),$.yq(this.ma,XH,a)):($.zq(this,XH,a),$.zq(this,YH,a));this.padding().ia(!!b,a.padding)};
$.g.F=function(){var a={};a.padding=this.padding().F();$.Hq(this,XH,a,"Time line holidays settings text props");$.Hq(this,YH,a,"Time line holidays settings props");return a};$.g.R=function(){$.QH.u.R.call(this);$.qd(this.Pa);this.Pa=null};var ZH=$.QH.prototype;ZH.padding=ZH.padding;$.H($.RH,$.iu);$.RH.prototype.sa=$.iu.prototype.sa|2E3;$.RH.prototype.qa=$.iu.prototype.qa;var $H=$.kq();$.gq($H,0,"format",$.Pq);$.U($.RH,$H);var aI={};$.hq(aI,[[1,"stroke",$.Dq],[1,"fill",$.Eq],[0,"levelHeight",$.Qq],[0,"drawTopLine",$.uq],[0,"drawRightLine",$.uq],[0,"drawBottomLine",$.uq],[0,"drawLeftLine",$.uq]]);$.U($.RH,aI);$.g=$.RH.prototype;$.g.Va=function(a){return $.n(a)?(this.cb!=a&&(this.cb&&$.Zq(this.cb,this.PY,this),(this.cb=a)&&$.L(this.cb,this.PY,this),this.B(128,1)),this):this.cb};
$.g.tW=function(a){this.f=a;this.B(512,1)};$.g.level=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.N[c];e||(this.N[c]=e=new UH(this,c));return $.n(d)?(e.K(d),this):e};$.g.background=function(a){return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.padding=function(a,b,c,d){return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this):this.Pa};$.g.dA=function(a){return $.n(a)?(this.D.K(a),this):this.D};$.g.U9=function(a){return $.n(a)?(this.G.K(a),this.B(1024,1),this):this.G};
$.g.th=function(a){return null!=this.Ma[a]};$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(this.Y&&$.Zq(this.Y,this.Qc,this),(this.Y=a)&&$.L(this.Y,this.Qc,this)),this):this.Y};
$.g.Qc=function(a){var b=0,c=0;$.X(a,1)&&(b|=16,c|=1);$.X(a,8)&&(c|=8);$.X(a,32768)&&(b|=1,c|=9);this.B(b,c)};$.g.PY=function(a){var b=0;$.X(a,4)&&(b|=512);$.X(a,2)&&(b|=384);this.B(b,1)};$.g.T9=function(){this.B(64,1)};$.g.Pl=function(a){$.X(a,2)&&this.B(4,9)};$.g.Bea=function(){this.B(16,1)};$.g.V9=function(){this.B(1024,1)};$.g.im=function(a,b){var c=$.js(a,b);return $.av(new $.rw({value:{value:c,type:"string"},tickValue:{value:a,type:"number"},scale:{value:this.cb,type:""}}))};
$.g.fi=function(a){var b=this.Da[a];a=this.ba[a]?this.ba[a]:this.ba[a]=this.ka[a][this.ya];for(var c=0,d=b.tH();c<d;c++){var e=b.Vd(c),f=e.lf().tickValue;e.lf(this.im(f,a));f=b.measure(e);var h=e.ic("hAlign");"left"==h||"start"==h?f.left=e.j.left:"right"==h||"end"==h?f.left=e.j.$a()-f.width:f.left=e.j.left+(e.j.width-f.width)/2;h=e.ic("vAlign");"top"==h?f.top=e.j.top:"bottom"==h?f.top=e.j.Ua()-f.height:f.top=e.j.top+(e.j.height-f.height)/2;f.left=Math.max(e.N.left,Math.min(f.left,e.N.$a()-f.width));
f.top=Math.max(e.N.top,Math.min(f.top,e.N.Ua()-f.height));e.uc({value:{x:f.left,y:f.top}})}$.Mu(b);b.$()};
$.g.$=function(){if(this.Bc()){var a=!1,b=!1,c;this.Mz();this.J(2)&&(this.b.parent(this.P()),this.I(2));this.J(8)&&(this.b.zIndex(this.zIndex()),this.Ka.zIndex(0),this.j.zIndex(1),this.Fh.zIndex(2),this.I(8));this.J(4)&&(this.Ya=this.lb(),$.Po(this.Ya,0),this.Nf.shape(this.Ya),this.ba.length=0,this.B(1472),this.I(4));if(this.J(512)){var d=this.f.length;var e=this.U.length;this.ba.length=0;this.ka.length=0;this.eb.length=0;this.Ra.length=0;var f=this.g.length=0,h=0;d=Math.max(d,e);for(c=0;c<d;c++){var k=
this.f[c];var l=this.U[c];e=this.ga[c];var m=this.Ja[c];var p=this.Ga[c];var q=TH(this,c,"enabled");if(!k||!q&&$.n(q)){l&&l.clear().parent(null);e&&e.clear().parent(null);m&&m.clear().parent(null);p&&p.clear().parent(null);var r=SH(this,c,!1)}else{var t=$.Ro(TH(this,c,"height"),k.height,this.i("levelHeight"),null);null===t?(this.g[c]=null,h++):(this.g[c]=$.M(t,this.Ya.height),f+=this.g[c]);if("formats"in k)this.ka[c]=k.formats;else{t=k.unit;var u=void 0;this.f[c+1]&&(u=this.f[c+1].unit,u!=t&&(u=$.mp(u,
-1)));this.ka[c]=$.is($.es(k.unit,u,"timeline"))}l?l.clear().parent(this.j):(l=this.j.path(),this.U[c]=l);e?e.clear().parent(this.j):(e=this.j.path(),this.ga[c]=e);m?m.clear().parent(this.j):(m=this.j.path(),this.Ja[c]=m);p?p.clear().parent(this.j):(p=this.j.path(),this.Ga[c]=p);r=SH(this,c,!0)}r&&r.clear()}this.O=(this.Ya.height-f)/h;this.B(400);this.I(512)}if(this.J(16)){f=$.mm("defaultLabelFactory");h={};$.Hq(this,$H,h);h.format=this.i("format");h.padding=this.padding();t={};$.Hq(this.D,$H,t);
t.padding=this.D.padding();d=this.f.length;for(c=0;c<d;c++)if(k=this.f[c],q=TH(this,c,"enabled"),k&&(q||!$.n(q))){l=this.U[c];e=this.ga[c];m=this.Ja[c];p=this.Ga[c];var v={};$.Sc(v,f);$.Sc(v,h);u={};$.yq(u,$H,k);"padding"in k&&(u.padding=k.padding);$.Sc(v,u);this.N[c]&&$.yq(v,$H,this.N[c].Ma);v.enabled=!0;v.width=null;v.height=null;this.eb[c]=v;v={};$.Sc(v,f);$.Sc(v,h);$.Sc(v,t);$.Sc(v,u);if(u=k.holiday)$.yq(v,$H,u),"padding"in u&&(v.padding=u.padding);v.enabled=!0;v.width=null;v.height=null;this.Ra[c]=
v;v=$.Ro(TH(this,c,"stroke"),k.stroke,this.i("stroke"));q=$.Ro(TH(this,c,"fill"),k.fill,this.i("fill"));m.fill(null).stroke(v);l.fill(q).stroke(null);(l=$.Ro(TH(this,c,"fill"),u&&u.fill,this.D.dd("fill")))||(l=q);p.fill(null).stroke(v);e.fill(l).stroke(null)}this.B(256);this.I(16)}this.J(64)&&(this.Ka.ja(this.Ya),this.Ka.P(this.b),this.Ka.$(),this.I(64));this.J(128)&&(a=!0,this.I(128));this.J(256)&&(b=!0,this.I(256));this.J(1024)&&(this.G.target(this.P().Ha().Bl()),this.G.uf(this.lb()),this.G.$(),
this.I(1024));if(this.cb&&(a||b))for(d=this.f.length,a=d-1,c=this.Ya.height+this.Ya.top,f=!!this.i("drawTopLine"),h=!!this.i("drawRightLine"),t=!!this.i("drawBottomLine"),u=!!this.i("drawLeftLine"),v=0;v<d;v++)if(k=this.f[v],q=TH(this,v,"enabled"),k&&(q||!$.n(q))){q=v==a;var w=null===this.g[v]?this.g[v]=this.O:this.g[v];l=this.U[v].clear();e=this.ga[v].clear();m=this.Ja[v].clear();p=this.Ga[v].clear();b&&(r=this.Da[v],r.clear());k=this.cb.rn(0,this.Ya.width,k.unit,k.count);r=k.length;var x=r-1,y=
$.bc(m.stroke());var B=!v&&t?y/2:v?Math.ceil(y/2):0;c=$.R(c-B,y);var G=q&&f?y/2:q?0:Math.floor(y/2);w-=(v?B/2:B)+(q?G:G/2);w=$.R(c-w,y,!0);for(B=this.ya=0;B<r;B++){var C=B==x,I=k[B],P=I.holiday,Q=P?p:m;y=$.bc(Q.stroke());G=$.R(this.gn(I.start),y);y=$.R(this.gn(I.end),y);var S=Math.floor(G),sa=Math.ceil(y),va=f||!q?Math.ceil(w):Math.floor(w),Oa=t&&!v?Math.floor(c):Math.ceil(c);u&&!B&&Q.moveTo(G,va).lineTo(G,Oa);!h&&C||Q.moveTo(y,va).lineTo(y,Oa);!f&&q||Q.moveTo(S,w).lineTo(sa,w);t&&!v&&Q.moveTo(S,
c).lineTo(sa,c);(P?e:l).moveTo(S,Oa).lineTo(sa,Oa).lineTo(sa,va).lineTo(S,va).close();b&&(C=v,P=P?this.Ra[C]:this.eb[C],sa=this.g[C],Q=this.Da[C],S=$.gn(G,w,y-G,sa),G=Math.max(G,this.Ya.left),G=$.gn(G,w,Math.min(y,this.Ya.$a())-G,sa),y=Q.add({tickValue:I.start},null,B),(sa=P.padding)?($.K(sa,$.tu)||(this.ab||(this.ab=new $.tu),this.ab.K(P.padding),sa=this.ab),y.N=sa.nj(G),y.j=sa.nj(S)):(y.N=G,y.j=S),P.anchor="left-top",y.ii().clip(y.N),y.kd(P),y.padding(0),this.ba[C]||this.ya==this.ka[C].length-1||
(this.ya=Math.max(this.ya,lea(this,I.start,Q,P,y.j,this.ka[C]))))}b&&this.fi(v);c=w}}};$.g.Mz=function(){this.b||(this.b=$.lk(),this.Nf=$.qk(),this.b.clip(this.Nf),this.j=this.b.Dd(),this.U=[],this.ga=[],this.Ja=[],this.Ga=[],this.Fh=this.b.Dd(),this.g=[],this.eb=[],this.Ra=[],this.ka=[],this.ba=[])};$.g.gn=function(a){return(this.cb.gn?this.cb.gn(a):this.cb.transform(a)*this.Ya.width)+this.Ya.left};$.g.remove=function(){this.b&&this.b.parent(null)};
$.g.F=function(){var a=$.RH.u.F.call(this);$.Hq(this,aI,a,"Resource Timeline");$.Hq(this,$H,a,"Resource Timeline text settings");a.background=this.Ka.F();a.padding=this.Pa.F();a.holidays=this.D.F();a.overlay=this.G.F();this.N.length&&(a.levels=(0,$.Wa)(this.N,function(a){return a?a.F():{}}));return a};
$.g.X=function(a,b){$.RH.u.X.call(this,a,b);b?($.yq(this.ma,aI,a),$.yq(this.ma,$H,a)):($.zq(this,aI,a),$.zq(this,$H,a));"background"in a&&this.Ka.ia(!!b,a.background);"padding"in a&&this.Pa.ia(!!b,a.padding);"holidays"in a&&this.D.X(a.holidays,b);"overlay"in a&&this.G.ia(!!b,a.overlay);var c=a.levels;if($.A(c))for(var d=0;d<c.length;d++)this.level(d,c[d])};
$.g.R=function(){$.qd(this.b);this.b=null;$.qd(this.Ka);this.Ka=null;$.qd(this.Pa);this.Pa=null;$.qd(this.Nf);this.Nf=null;$.qd(this.D);this.D=null;$.td(this.U);this.U=null;$.td(this.ga);this.ga=null;$.td(this.Da);this.Da=null;$.qd(this.G);this.G=null;$.td(this.N);this.Fh=this.j=this.N=null;$.RH.u.R.call(this)};$.H(UH,$.Yq);$.U(UH,$H);var bI={};$.hq(bI,[[0,"enabled",$.uq],[1,"stroke",$.Dq],[1,"fill",$.Eq],[0,"height",$.Qq]]);$.U(UH,bI);$.g=UH.prototype;$.g.B=function(a,b){return this.Dk.B(a,b)};
$.g.mf=function(a){return"enabled"==a?!0:this.Dk.i("height"==a?"levelHeight":a)};$.g.F=function(){var a=UH.u.F.call(this);$.Hq(this,bI,a,"TimeLine Header Level",void 0,!0);$.Hq(this,$H,a,"TimeLine Header Level text settings",void 0,!0);return a};$.g.Ce=function(a,b){return $.da(b)||null===b?(this.enabled(!!b),!0):!1};$.g.X=function(a){UH.u.X.call(this,a);$.zq(this,bI,a);if($.D(a.labels)){var b=this.dd("enabled");$.zq(this,$H,a.labels);this.pa("enabled",b)}$.zq(this,$H,a)};
$.g.R=function(){this.Dk=null;UH.u.R.call(this)};var cI=$.RH.prototype;cI.background=cI.background;cI.padding=cI.padding;cI.holidays=cI.dA;cI.overlay=cI.U9;cI.level=cI.level;cI=UH.prototype;}).call(this,$)}
if(!_.gantt_part){_.gantt_part=1;(function($){var dI=function(a,b){return a.getParent()?a.getParent()==b?!0:dI(a.getParent(),b):!1},mea=function(a,b){$.n(b)&&a.Eq!==b&&(null===b?($.Zq(a.Eq,a.dK,a),a.Eq=null):(a.Eq&&$.Zq(a.Eq,a.dK,a),a.Eq=b,$.L(a.Eq,a.dK,a)))},eI=function(a){return!!a.flatten().useHtml&&!$.Uc()},fI=function(a){var b=a.flatten(),c=null!=b.width;(b=!eI(a)&&c&&"left"!=b.hAlign)||(b=a.flatten(),c=null!=b.width,b=!eI(a)&&c&&"break-word"==b.wordWrap);b||(b=a.flatten(),c=null!=b.width,b=!eI(a)&&c&&b.wordBreak);return b},gI=function(){$.Y.call(this);
this.N=this.O=this.G=this.ba=this.Rc=null;this.f="vertical";this.U=this.nb=1;this.ka=$.Vb("#e0e0e0",this.U);this.ya=$.Yb("#d5d5d5",this.U);this.Ga=$.Vb("#d5d5d5",this.U);this.Ja=$.Yb("#656565",this.U);this.b=0;this.g=1;this.j=this.D=null;this.ga=!1;this.Ra=-1;this.eb=!0;this.ab=5},hI=function(a){return"svg"===$.hk?Math.floor(a)+.5:Math.floor(a)},kI=function(a){if($.n(b)){var b=+b;!(0,window.isNaN)(b)&&a.b!=b&&0<=b&&1>b&&(b==a.g?(a.g=1,a.b=b):(a.b=Math.min(b,a.g),a.g=Math.max(b,a.g)),iI(a),a.B(64,
1),jI(a,"api"));return a}return a.b},lI=function(a){if($.n(b)){var b=+b;!(0,window.isNaN)(b)&&a.g!=b&&0<b&&1>=b&&(b==a.b?(a.b=0,a.g=b):(a.g=Math.max(b,a.b),a.b=Math.min(b,a.b)),iI(a),a.B(64,1),jI(a,"api"));return a}return a.g},mI=function(a,b,c){b=+b;if(!(0,window.isNaN)(b)){b=$.Za(b,0,1);var d=a.g-a.b;b=$.Qm($.Za(b+d,0,1),4);d=$.Qm(b-d,4);if(a.b!=d||a.g!=b)a.b=d,a.g=b,iI(a),a.B(64,1),jI(a,c||"api")}return a},qI=function(a,b){b=+b;var c=(0,window.isNaN)(b)?40:b;if(a.j&&c&&(c+=nI(a)?a.j.top:a.j.left,
c=+c,a.j&&!(0,window.isNaN)(c))){var d=nI(a);c!=(d?a.j.top:a.j.left)&&(d?a.j.top=c:a.j.left=c,oI(a),pI(a),a.B(64,1),jI(a,"user_action"))}},rI=function(a,b){a.ka=$.Ml(a.ka,b,!0);a.ya=$.Ml(a.ya,b,!1);a.Ga=$.Ml(a.Ga,b,!0);a.Ja=$.Ml(a.Ja,b,!1);a.B(16,1)},nea=function(a){a.ba||(a.ba=$.jk());return a.ba},sI=function(a){a.G||(a.G=new $.tv,a.G.Kw(16,!1),$.L(a.G,function(){a.G.$()}),$.wv(a.G,function(){a.WO()?qI(a,40):a.scroll(.05,"user_action")}));return a.G},tI=function(a){a.O||(a.O=new $.tv,a.O.Kw(16,!1),
$.L(a.O,function(){a.O.$()}),$.wv(a.O,function(){a.WO()?qI(a,-40):a.scroll(-.05,"user_action")}));return a.O},oea=function(a){a.N||(a.N=$.jk(),a.N.ib(a.ak()),$.Id(a.N,"drag",a.Vn,!1,a),$.Id(a.N,"end",a.g$,!1,a),$.du(a,a.N,a.JZ,a.IZ,null,null,null,a.dia));return a.N},uI=function(a,b){var c=nI(a),d=a.N.zm(),e=a.N.pb(),f=!!b,h=c?d.top:d.left;d=c?d.height:d.width;var k=c?e.top:e.left,l=k+(c?e.height:e.width);10>=(c?e.height:e.width)?(c=a.g-a.b,a.b=(k-h)*(1-c)/(d-10),a.g=Math.min(a.b+c,1)):(a.b=$.Qm((k-
h)/d,5),a.g=$.Qm((l-h)/d,5));iI(a);f||a.B(64,1);jI(a)},iI=function(a){if(a.D&&a.j)if(nI(a)){var b=a.D.height;var c=$.Qm((a.g-a.b)*b,1);a.j.top=$.Qm(a.b*b,1)+a.D.top;a.j.height=c}else b=a.D.width,c=$.Qm((a.g-a.b)*b,1),a.j.left=$.Qm(a.b*b,1)+a.D.left,a.j.width=c},pI=function(a){if(a.D&&a.j){var b=nI(a),c=b?a.j.top-a.D.top:a.j.left-a.D.left,d=b?c+a.j.height:c+a.j.width;b=b?a.D.height:a.D.width;a.b=$.Qm(c/b,4);a.g=$.Qm(d/b,4)}},oI=function(a){var b=a.j;a=a.D;b.width>a.width&&(b.width=a.width);b.height>
a.height&&(b.height=a.height);b.top+b.height>a.top+a.height&&(b.top-=b.top+b.height-(a.top+a.height));b.left+b.width>a.left+a.width&&(b.left-=b.left+b.width-(a.left+a.width));b.top<a.top&&(b.top=a.top);b.left<a.left&&(b.left=a.left)},nI=function(a){return"horizontal"!=a.f.toLowerCase()},jI=function(a,b){if(a.eb){0<=a.Ra&&((0,window.clearTimeout)(a.Ra),a.Ra=-1);var c={type:"scrollchange",startRatio:a.b,endRatio:a.g,visibleBounds:a.j,source:b||"user_action"};a.Ra=(0,window.setTimeout)(function(){a.dispatchEvent(c);
a.Ra=-1},0)}},vI=function(a){$.Yq.call(this);this.g=!!a;this.ka={};this.ya={};this.ga=[];this.oa=null;this.D=[];this.Gr=[];this.b=[];this.Kh=this.ke=null;this.Ob=1;this.j=this.f=window.NaN;this.Ja=this.O=0;this.xc=!1;this.G=0;this.ED=!1;this.Ga=null;this.ba=this.N=window.NaN;this.hc=0;this.U=null;this.Ra=20;this.ab=this.eb=window.NaN;this.Ky=[];this.nb={}},wI=function(a,b){return $.n(b)&&a.Ra!=b?(a.Ra=b,a.B(128,2),a):a.Ra},xI=function(a,b){return $.N(b.get("rowHeight"))||a.Ra},zI=function(a,b){for(var c=
["actualStart","actualEnd","baselineStart","baselineEnd"],d=0;d<c.length;d++){var e=c[d],f=b.get(e);null!=f?(f=$.cs(f),b.o(e,null===f?window.NaN:+f)):b.o(e,window.NaN);yI(a,b.o(e))}},BI=function(a,b){var c=b.get("periods");if(a.g&&$.A(c)){for(var d=window.NaN,e=window.NaN,f=0,h=c.length;f<h;f++){var k=c[f],l=b.Yn("periods",f,"start"),m=$.cs(k.start);null!==m&&(m=+m,b.Hn("periods",f,"start",m),l=m);m=b.Yn("periods",f,"end");k=$.cs(k.end);null!==k&&(k=+k,b.Hn("periods",f,"end",+k),m=k);d=AI(Math.min,
d,e,l,m);e=AI(Math.max,d,e,l,m);yI(a,l);yI(a,m)}b.o("minPeriodDate",d);b.o("maxPeriodDate",e)}},CI=function(a,b){var c;var d=b.get("markers");for(c=0;d&&c<d.length;c++){var e=d[c];e=e.value;e=$.cs(e);e=null===e?null:+e;b.Hn("markers",c,"value",e);yI(a,e)}},DI=function(a,b){if(b){var c=b.g;b.o("collapsed")?a.nb[c]=b:delete a.nb[c]}},EI=function(a,b,c){b.o("depth",c).o("index",a.hc++);a.Gr.push(b);var d=b.get("progressValue");null!=d?(d=$.oo(d)?(0,window.parseFloat)(d)/100:+d,b.o("progressValue",d)):
b.o("progressValue",null);d=b.get("collapsed");$.da(d)&&b.o("collapsed",d);DI(a,b);zI(a,b);BI(a,b);CI(a,b);for(var e=d=0,f=window.NaN,h=window.NaN,k=0,l=b.Zb();k<l;k++){var m=b.od(k);m.Zb()?EI(a,m,c+1):(m.o("depth",c+1).o("index",a.hc++),zI(a,m),BI(a,m),CI(a,m),a.Gr.push(m));if(!a.g){var p=m.o("actualStart");p=$.ea(p)&&!(0,window.isNaN)(p)?p:m.o("autoStart")||window.NaN;var q=m.o("actualEnd");q=$.ea(q)&&!(0,window.isNaN)(q)?q:m.o("autoEnd")||p;var r=m.get("progressValue");null!=r&&(r=$.oo(r)?(0,window.parseFloat)(r)/
100:+r);r=null!=r?r:m.o("autoProgress")||0;m.o("progressValue",r);f=FI(Math.min,f,h,p,q);h=FI(Math.max,f,h,p,q);(0,window.isNaN)(p)||(0,window.isNaN)(q)||(m=q-p,d+=r*m,e+=m)}}b.Zb()&&!a.g&&(0!=e&&b.o("autoProgress",d/e),b.o("autoStart",f),b.o("autoEnd",h))},AI=function(a,b,c,d,e){var f=[];GI(b)&&f.push(b);GI(c)&&f.push(c);GI(d)&&f.push(d);GI(e)&&f.push(e);return f.length?a.apply(null,f):window.NaN},FI=function(a,b,c,d,e){var f=[];GI(b)&&(f.push(b),GI(c)&&f.push(c));GI(d)&&(f.push(d),GI(e)&&f.push(e));
return f.length?a.apply(null,f):window.NaN},GI=function(a){return $.ea(a)&&!(0,window.isNaN)(a)},yI=function(a,b){$.ea(b)&&!(0,window.isNaN)(b)&&((0,window.isNaN)(a.N)&&(a.N=b,a.ba=b),a.N=Math.min(b,a.N),a.ba=Math.max(b,a.ba))},HI=function(a,b,c){if(!a.b.length)return 0;var d=a.b.length-1;b=Math.min(b,d);c=$.n(c)?Math.min(c,d):d;b>c&&(b-=c,c+=b,b=c-b);return a.b[c]-(a.b[b-1]||0)},II=function(a,b){var c=$.Na(a.b,b);return 0<=c?c:~c},JI=function(a){if(a.D.length){a.f=(0,window.isNaN)(a.f)?a.eb:a.f;
a.j=(0,window.isNaN)(a.j)?a.ab:a.j;a.eb=window.NaN;a.ab=window.NaN;(0,window.isNaN)(a.f)||(a.f=$.Za(a.f,0,a.D.length-1));(0,window.isNaN)(a.j)||(a.j=$.Za(a.j,0,a.D.length-1));var b=HI(a,0,a.b.length-1);a.G>=b?(a.f=0,a.O=0,a.j=a.D.length-1):((0,window.isNaN)(a.f)&&(0,window.isNaN)(a.j)&&(a.f=0),(0,window.isNaN)(a.f)?(b=HI(a,0,a.j),b<a.G?(a.f=0,a.O=0,a.j=II(a,a.G)):(a.f=II(a,a.b[a.j]-a.G),a.O=HI(a,a.f,a.j)-a.G)):(b=HI(a,a.f)-a.O,b<a.G?(a.f=II(a,a.b[a.b.length-1]-a.G),a.j=a.b.length-1,a.O=HI(a,a.f,a.j)-
a.G):a.j=II(a,(a.f?a.b[a.f-1]:0)+a.G+a.O)))}else a.f=0,a.j=0,a.O=0;a.ED=!0;$.Ep()||a.I(256)},KI=function(a,b){return $.n(b)?(a.G!=b&&(a.G=b,a.B(256,2)),a):a.G},LI=function(a,b){$.n(b)&&a.ke!=b&&(a.ke=b,a.B(256,2))},MI=function(a,b){$.n(b)&&a.Kh!=b&&(a.Kh=b,a.B(256,2))},NI=function(a){for(;a.Ky.length;)(0,window.clearTimeout)(a.Ky.pop())},OI=function(a){return a.ke&&a.ke.Db||a.Kh&&a.Kh.Db},PI=function(a){$.Ep()?a.Ky.push($.vp(function(){this.Ky.push($.vp(this.y_,void 0,this));this.Ky.push($.vp(this.Yca,
void 0,this))},void 0,a)):a.y_()},QI=function(a){a.U||(a.U=new gI,a.U.X($.wm("defaultScrollBar")),a.U.pe("vertical"),a.U.ra("scrollchange",function(b){var c=b.startRatio;b=b.endRatio;var d=a.b[a.b.length-1];$.V(a);c?1==b?a.wj(a.b.length):(b=Math.round(c*d),c=II(a,b),b-=c?a.b[c-1]:0,a.mg(c).Wl(b)):a.mg(0).Wl(0);a.da(!0)}));return a.U},RI=function(a,b){if($.n(b)){var c=Math.max(+b,0);if(a.b.length){var d=a.b[a.b.length-1];$.V(a);c>d-a.G?a.wj(a.b.length-1):(d=II(a,c),c-=d?a.b[d-1]:0,a.mg(d).Wl(c));$.Ep()&&
JI(a);a.da(!0)}else a.Ja=c,a.xc=!0;return a}return a.Ja},SI=function(a,b){$.V(a.oa);var c=a.oa.Av();for(c.YM(a.Tea);c.advance();){var d=c.current();d.o("collapsed",b);DI(a,d)}a.oa.da(!0)},TI=function(){$.Y.call(this);this.f="vertical";this.N=this.j=this.G=this.Rc=null;this.Re=.5;this.ga=this.U=this.O=this.D=0;this.Ra=this.Ja=!1;this.ab=$.xf($.Bp.body,"cursor");this.b=3;this.ba=!0;this.g=$.Yb("#acbece");this.ka=$.Vb({keys:["0 #9ccae3","0.5 #a9dbf6","1 #e3f4fc"],angle:-90,opacity:1});this.Ob=$.Vb("#cecece");
this.ya=$.Vb("#ccd7e1 0.3");this.hc=$.Yb(null);this.eb=$.Vb("#fff 0");this.nb=$.Yb(null);this.Ga=!0},pea=function(a){return $.n(!0)?($.da(!0)&&1!=a.ba&&(a.ba=!0,a.position(a.Re)),a):a.ba},qea=function(a){var b=2;return $.n(b)?(b=+b,(0,window.isNaN)(b)||a.b==b||(a.b=b,a.B(64,1)),a):a.b},UI=function(a){var b=0;$.n(b)&&(b=+b,(0,window.isNaN)(b)||(b=Math.abs(b),a.D!=b&&(a.U=b,a.B(64,1))))},rea=function(a){a.Ya||(a.Ya=a.lb());if(a.ba){var b=$.Qm((a.Ya.Xd()-a.b)*a.Re,1);var c=$.Qm((a.Ya.ud()-a.b)*a.Re,
1);if(VI(a))return b+=a.b,new $.J($.Qm(a.Ya.qb()+b,1),$.Qm(a.Ya.bc(),1),$.Qm(a.Ya.Xd()-b,1),$.Qm(a.Ya.ud(),1));c+=a.b;return new $.J($.Qm(a.Ya.qb(),1),$.Qm(a.Ya.bc()+c,1),$.Qm(a.Ya.Xd(),1),$.Qm(a.Ya.ud()-c,1))}if(VI(a))return b=a.Ya.Xd()*a.Re,new $.J($.Qm(a.Ya.qb()+b,1),$.Qm(a.Ya.bc(),1),$.Qm(a.Ya.Xd()-b,1),$.Qm(a.Ya.ud(),1));c=a.Ya.ud()*a.Re;return new $.J($.Qm(a.Ya.qb(),1),$.Qm(a.Ya.bc()+c,1),$.Qm(a.Ya.Xd(),1),$.Qm(a.Ya.ud()-c,1))},WI=function(a,b,c){$.uf($.Bp.body,"cursor",c?a.ab:b?"e-resize":
"n-resize")},XI=function(a){var b=VI(a);a.Rc.cursor(b?"e-resize":"n-resize");var c=a.Ya;if(a.ba){var d=b?c.qb()+a.Re*(c.Xd()-a.b):c.qb();var e=b?c.bc():c.bc()+a.Re*(c.ud()-a.b);var f=b?c.qb()+a.D-3:c.qb();var h=b?c.bc():c.bc()+a.D-3;var k=b?c.Xd()-a.D-a.O+6:c.Xd();var l=b?c.ud():c.ud()-a.D-a.O+6}else d=b?c.qb()+a.Re*c.Xd()-a.b/2:c.qb(),e=b?c.bc():c.bc()+a.Re*c.ud()-a.b/2,f=b?c.qb()+a.D-3-a.b/2:c.qb(),h=b?c.bc():c.bc()+a.D-3-a.b/2,k=b?c.Xd()-a.D-a.O+6+a.b:c.Xd(),l=b?c.ud():c.ud()-a.D-a.O+6+a.b;var m=
b?a.b:c.Xd();var p=b?c.ud():a.b;var q=b?d-3:c.qb();var r=b?c.bc():e-3;var t=b?a.b+6:c.Xd();b=b?c.ud():a.b+6;f=new $.J(f,h,k,l);a.G.ro(d).so(e).qo(m).po(p);a.j.ro(q).so(r).qo(t).po(b).zm(f)},YI=function(a){a.j||(a.j=$.jk().stroke(a.nb).fill(a.eb),$.Id(a.j,"dblclick",a.Lfa,!1,a),$.Id(a.j,"mousemove",a.j$,!1,a),$.Id(a.j,"mouseout",a.k$,!1,a),$.Id(a.j,"start",a.i$,!1,a),$.Id(a.j,"drag",a.Vn,!1,a),$.Id(a.j,"end",a.h$,!1,a));return a.j},ZI=function(a){a.N||(a.N=$.jk().visible(!1));return a.N},sea=function(a){a.G||
(a.G=$.jk().td(!0).fill(a.ka).stroke(a.g));return a.G},VI=function(a){return"horizontal"!=a.f.toLowerCase()},$I=function(){$.Y.call(this);this.j=this.b=this.f=this.Rc=null;this.Re=window.NaN;this.U=this.O=!1;this.ga=$.xf($.Bp.body,"cursor");this.g=$.Yb("1 #acbece");this.ba=$.Yb("1 #acbece");this.D=1;this.G=$.Vb("#ccd7e1 0.3");this.ka=$.Vb("#fff 0.00001");this.N=!0},aJ=function(a,b){$.uf($.Bp.body,"cursor",b?a.ga:"e-resize")},bJ=function(a){a.Rc.cursor("e-resize");var b=a.Ya.left+a.Re+a.D/2,c=new $.J(a.Ya.left-
3,a.Ya.top,a.Ya.width+6,a.Ya.height);a.f.clear().moveTo(b,a.Ya.top).lineTo(b,a.Ya.top+a.Ya.height);b=a.Ya.left+a.Re-3;var d=a.Ya.left+a.Re+a.D+3;a.b.jc(1,0,0,1,0,0);a.b.clear().moveTo(b,a.Ya.top).lineTo(d,a.Ya.top).lineTo(d,a.Ya.top+a.Ya.height).lineTo(b,a.Ya.top+a.Ya.height).close().zm(c)},tea=function(a){a.b||(a.b=$.nk().fill(a.ka).stroke(null),$.Id(a.b,"start",a.O9,!1,a),$.Id(a.b,"drag",a.Vn,!1,a),$.Id(a.b,"end",a.N9,!1,a),$.du(a,a.b,null,a.Q9,null,a.P9,null,a.Nfa));return a.b},cJ=function(a){a.j||
(a.j=$.nk(),a.j.fill(a.G).stroke(null));return a.j},uea=function(a){a.f||(a.f=$.nk().td(!0).stroke(a.g));return a.f},dJ=function(){$.Yq.call(this);this.Rb=null;$.T(this.ua,[["fill",0,2],["stroke",0,2],["placementStroke",0,2],["enabled",0,32768]])},eJ=function(){this.f=this.g=this.b=null},fJ=function(a,b){if(a.b!=b){if(a.b){var c=a.b.xq();$.V(c);a.b.o("selected",!1);c.da(!1)}else a.g=null;b?(c=b.xq(),$.V(c),b.o("selected",!0),c.da(!1)):a.g=null;a.b=b}},gJ=function(a,b){return a.b?b.o("selected")?(fJ(a,
b),!0):a.b.o("selected")?a.b==b:(a.b=null,a.g=null,!1):!1},hJ=function(a,b,c){return gJ(a,b)&&null!=a.g?a.b==b&&a.g===c:!1},iJ=function(a,b,c,d,e,f,h,k){b&&c?(a.f={gda:b,Lia:c,hda:d,Mia:e,h0:f,Y4:h,e_:k||"finish-start"},fJ(a,null),a.g=null):a.f=null},jJ=function(a,b){$.Y.call(this);this.Ml=null;this.hy=$.wk();this.Jg=null;this.Db=this;this.Rt=!0;this.controller=null;a&&$.K(a,vI)?(this.controller=a,this.Rt=!1):(this.controller=new vI(b),$.L(this.controller,this.lV,this),this.sw=new eJ);this.ea=null;
this.oo=1;this.Ud=this.nb=this.Tf=this.Ob=this.xc=this.ab=this.Gq=this.Eh=this.eb=this.Rc=this.Tc=this.Ja=null;this.g=45;this.d5=this.f=0;this.Ra=this.Bd=this.ka=this.ya=null;this.So=[];this.ba=-1;this.dh=this.hj=0;this.di=this.Ay=!1;this.Zi=null;this.altKey=!1;this.Fn=null;this.Bw=this.hu=0;this.lm=!0;this.Gk=this.gb=this.D=this.Ci=null;this.lo=!1;$.eu(this,this,this.SY,this.Z9,this.Y9,this.SY,this.X9);$.T(this.ua,[["backgroundFill",16,1],["rowFill",16,1,void 0,function(){this.pa("rowOddFill",null);
this.pa("rowEvenFill",null)}],["rowStroke",80,1,void 0,function(){this.oo=$.Wo(this.i("rowStroke"));this.Rt||this.controller.oo(this.oo)}],["rowEvenFill",16,1],["rowOddFill",16,1],["rowHoverFill",0,0],["rowSelectedFill",16,1]])},lJ=function(a,b){var c=b||kJ(a);return!a.Zb()&&(c.oH&&!c.nH||c.oH&&c.nH&&c.start==c.end)},mJ=function(a){a=kJ(a);return a.BM||a.pH&&a.NQ},nJ=function(a,b){var c=b||kJ(a);return!!a.Zb()&&c.oH&&c.nH},oJ=function(a,b){var c=window.NaN;$.ea(a)&&!(0,window.isNaN)(a)?c=a:$.ea(b)&&
!(0,window.isNaN)(b)&&(c=b);return c},kJ=function(a){var b=a.o("actualStart"),c=a.o("autoStart"),d=a.o("actualEnd"),e=a.o("autoEnd"),f=a.o("baselineStart"),h=a.o("baselineEnd"),k=a.o("progressValue"),l=a.o("autoProgress"),m=a.get("baselineProgressValue"),p=$.ea(m)||$.oo(m);m=p?$.oo(m)?(0,window.parseFloat)(m)/100:Number(m):window.NaN;b=oJ(b,c);d=oJ(d,e);k=oJ(k,l);l=a.o("minPeriodDate");e=a.o("maxPeriodDate");return{start:b,end:d,MZ:f,KZ:h,LZ:m,Ed:k,oH:!(0,window.isNaN)(b),nH:!(0,window.isNaN)(d),
pH:!(0,window.isNaN)(b)&&!(0,window.isNaN)(d)&&b!=d,Rea:!(0,window.isNaN)(b)&&!(0,window.isNaN)(d)&&b==d&&a.Zb(),BM:$.ea(f)&&!(0,window.isNaN)(f)&&$.ea(h)&&!(0,window.isNaN)(h),tU:!(0,window.isNaN)(k),NQ:p,Yna:l,Xna:e,sU:!(0,window.isNaN)(l)&&!(0,window.isNaN)(e),uM:!!a.get("anychartIsLoadable")}},pJ=function(a,b){var c=a.Yn("periods",b),d=c?c.start:void 0;c=c?c.end:void 0;var e=null!=d&&!(0,window.isNaN)(d),f=null!=c&&!(0,window.isNaN)(c);return{start:d,end:c,NH:$.n(d)?d:c,oH:e,nH:f,sU:e&&f,CM:!!(e^
f)}},qJ=function(a,b,c){if(a.controller.g)var d="periods";else a=c||kJ(b),a.BM?d="baselines":lJ(b,a)?d="milestones":nJ(b,a)?d="grouping-tasks":(a=a||kJ(b),a.oH&&a.nH&&a.start!=a.end&&!b.Zb()&&!a.BM&&(d="tasks"));return d},rJ=function(a,b){a.Db=b;a.Db!=a&&a.bf().parent(a.Db.bf())},sJ=function(a,b){b&&!a.WI?($.Id($.Bp,"mousemove",a.TR,!1,a),a.WI=!0):($.Sd($.Bp,"mousemove",a.TR,!1,a),a.WI=!1)},tJ=function(a){a.Rc||(a.Rc=$.lk(),$.du(a,a.Rc,null,null,null,null,a.RY));return a.Rc},uJ=function(a){a.Gq||
(a.Gq=$.lk(),a.Gq.zIndex(30));return a.Gq},vJ=function(a){a.Ob||(a.Ob=$.lk(),a.Ob.zIndex(35));return a.Ob},wJ=function(a){a.ab||(a.ab=$.lk(),a.ab.zIndex(40));return a.ab},xJ=function(a){a.xc||(a.xc=$.lk(),a.xc.zIndex(45));return a.xc},yJ=function(a){a.nb||(a.nb=$.lk(),a.nb.zIndex(50));return a.nb},zJ=function(a){a.Ud||(a.Ud=$.lk(),a.Ud.zIndex(60));return a.Ud},AJ=function(a){a.ya||(a.ya=uJ(a).path(),a.ya.stroke(null).zIndex(1));return a.ya},BJ=function(a){a.ka||(a.ka=uJ(a).path(),a.ka.stroke(null).zIndex(1));
return a.ka},CJ=function(a){a.Bd||(a.Bd=uJ(a).path(),a.Bd.stroke(null).zIndex(2));return a.Bd},DJ=function(a){a.Ra||(a.Ra=uJ(a).path(),a.Ra.stroke(null).zIndex(3));return a.Ra},EJ=function(a){a.Ja||(a.Ja=uJ(a).path(),a.Ja.stroke(a.i("rowStroke")).zIndex(4));return a.Ja},FJ=function(a){a.Tf||(a.Tf=xJ(a).path());return a.Tf},GJ=function(a){a.Tc||(a.Tc=uJ(a).path(),a.Tc.zIndex(40));return a.Tc},IJ=function(a,b){if(!a)return $.Pl;var c=b+"|"+a+"|false",d=HJ[c];if(!d){switch(b){case 2:d=$.Rl;break;case 3:d=
$.Sl;break;default:case 1:d=$.Tl}HJ[c]=d=$.qa(vea,a,d,3==b,!1)}return d},vea=function(a,b,c,d,e,f,h,k,l,m,p){f=$.Xl(f);if(d&&f!=$.Zl){var q=e.zc(a,f,b);c&&!0===q&&(q=b(e.ph()));if($.n(q)){if(!$.E(q))return q;if(c)return c=e.Fi(),b(q.call(c,c))}}d=e.zc(a,0,b);c&&!0===d&&(d=b(e.ph()));$.E(d)&&(c=c?e.Fi():e.Ae(a,h,k,l,m,p),d=b(d.call(c,c)));q&&(c=e.Ae(a,h,k,l),d=b(q.call(c,c)));return d},JJ=function(a){$.fl.anychart.ui.ContextMenu&&a.Db.contextMenu&&(a=a.Db.contextMenu(),a.He()&&a.Oc())},KJ=function(a){if(!a.Ml){var b=
tJ(a).fa();b&&(a.Ml=new $.rx(b),$.Id(a.Ml,"mousewheel",a.ly,!1,a),$.Id($.fl,"unload",function(){$.Sd(a.Ml,"mousewheel",a.ly,!1,this)}));a.Zp().ra("scrolling",(0,$.pa)(a.KR,a,!0))}},MJ=function(a){a.Db.me||(a.Db.me=new LJ(a.Db,$.Bp),$.Id(a.Db.me,"key",function(a){18==a.keyCode&&(this.altKey=!0);(46==a.keyCode||a.metaKey&&8==a.keyCode)&&this.NF(a)},!1,a.Db))},NJ=function(a){var b=FJ(a);b.fill(a.bf().i("fill"));b.stroke(a.bf().i("stroke"))},OJ=function(a,b){return b?(fJ(a.Db.Sk(),b),a.B(128,1),!0):!1},
PJ=function(a,b){$.ag.call(this,a.fa());this.b=b;this.y=this.x=0;$.bg(this)},LJ=function(a,b,c){$.zp.call(this,b,c);this.b=a},QJ=function(){$.qg.call(this);this.o={}},TJ=function(){$.Y.call(this);this.Fa("defaultButtonSettings");this.Xb=0;$.T(this.ua,wea);this.mE={};this.ca=new $.Yx(this,RJ,0,SJ);this.xa=new $.Yx(this,RJ,1,SJ);this.Ca=new $.Yx(this,RJ,2,SJ);this.mE[0]=this.ca;this.mE[1]=this.xa;this.mE[2]=this.Ca;var a=this.mE[0],b=this.mE[1],c=this.mE[2];this.wO={};this.wO[0]=[a.Ma,a.ma];this.wO[1]=
[b.Ma,b.ma,a.Ma,a.ma];this.wO[2]=[c.Ma,c.ma,a.Ma,a.ma];this.aK={};a=a.background();b=b.background();c=c.background();this.aK[0]=[a.ma,a.Ma];this.aK[1]=[a.ma,a.Ma,b.ma,b.Ma];this.aK[2]=[a.ma,a.Ma,c.ma,c.Ma]},UJ=function(a){TJ.call(this);this.Fa("defaultDataGrid.buttons");this.ke=a;this.b=-1;this.Sa().background().U=!1;this.mb().background().U=!1;this.oE=this.selected().background().U=!1;this.ib(this.ke)},VJ=function(a,b){$.Y.call(this);this.ke=a;$.L(this.ke.controller,this.Rba,this);this.wd=b;this.kw=
[];this.Nf=this.Ly=this.sb=this.Gq=this.TI=this.Rc=this.Il=null;this.nf=0;this.Ya=null;this.CS=this.cca;this.wm=[];this.re=[];this.Gr=[];this.BU=[];this.MV=this.NV=window.NaN;this.mD=this.LF;this.ib(this.ke);$.T(this.ua,[["width",4,9,0,function(){this.Ya=null}],["defaultWidth",0,0],["collapseExpandButtons",128,1],["depthPaddingMultiplier",128,1]]);this.I(1)},WJ=function(a){for(var b=0;b<a.re.length;b++)a.re[b].cd();a.re.length=0},XJ=function(a,b,c,d){var e=a.re[b],f=a.Gr[b];if(c){var h=a.kw[b];h||
(h=new $.ux,h.Ye(!0),h.parent(a.labels()),a.kw[b]=h);a.mD(h,f)}d&&($.xx(e),e.Za=null);if(f){if(c){var k=f.o("index");k=a.kw[k]}else k=a.labels();a=a.ke.Ec(f);a=k.$n(a);e.text(a)}e.style(k.flatten());$.zx(e);$.Cx(e)},YJ=function(a){a.TI||(a.TI=$.lk());return a.TI},ZJ=function(a){a.Ly||(a.Ly=$.nk(),YJ(a).og(a.Ly,0),a.Ly.fill(a.ke.i("headerFill")),a.Ly.stroke(null));return a.Ly},$J=function(a){a.Gq||(a.Gq=$.lk());return a.Gq},aK=function(){$.sy.call(this);this.xb=null},bK=function(a,b,c){return{originalEvent:b,
type:c,value:a.ej()}},dK=function(a){jJ.call(this,a);this.Fa("defaultDataGrid");this.b=[];this.j=[];this.Ga=null;this.U=0;this.N={};LI(this.controller,this);this.hc=this.Pg=this.G=null;this.lw={first:window.NaN,Tv:window.NaN,count:window.NaN,reset:!0};this.tw=[];$.T(this.ua,[["columnStroke",512,1],["headerFill",16,1],["fixedColumns",4,1,0,function(){this.Db.B(4,1)}],["onEditStart",0,0],["onEditEnd",0,0]]);a=this.ma;if("columns"in a)for(var b=0;b<a.columns.length;b++)a.columns[b]&&cK(this,b)},xea=
function(a,b){if(!a.N[b])switch(b){case "direct-numbering":a.N[b]={formatter:a.Dy,width:50};break;case "text":a.N[b]={formatter:a.Dy,width:170};break;case "financial":a.N[b]={formatter:a.zX,textStyle:{hAlign:"right"},width:90};break;case "percent":a.N[b]={formatter:a.AX,textStyle:{hAlign:"right"},width:50};break;case "date-common-log":a.N[b]={formatter:eK("dd/MMM/yyyy"),textStyle:{hAlign:"right"},width:90};break;case "date-iso-8601":a.N[b]={formatter:eK("yyyy-MM-dd"),textStyle:{hAlign:"right"},width:90};
break;case "date-us-short":a.N[b]={formatter:eK("M/dd/yyyy"),textStyle:{hAlign:"right"},width:90};break;case "date-dmy-dots":a.N[b]={formatter:eK("dd.MM.yy"),textStyle:{hAlign:"right"},width:90};break;default:a.N[b]={formatter:a.Dy,width:90}}return a.N[b]},eK=function(a){return function(b){return $.ea(b)?(new $.Rn(a)).format(new $.In(new Date(b))):$.n(b)?String(b):""}},fK=function(a){a.Ga||(a.Ga=$.nk(),uJ(a).og(a.Ga,0),a.Ga.stroke(null));return a.Ga},yea=function(a){for(var b=0,c=0,d=a.b.length;c<
d;c++)a.b[c]&&a.b[c].enabled()&&b++;if(b>a.j.length){var e=new $I;c=IJ("columnStroke",2)(a,0);e.stroke(c);e.ba=c;e.P(yJ(a));$.L(e,function(){e.$();this.i("fixedColumns")&&this.Db.B(4,1)},a);e.ra("splitterpositionchange",(0,$.pa)(a.hia,a,b-1));e.ra("dblclick",(0,$.pa)(a.iia,a,b-1));e.ra("dragstart",(0,$.pa)(a.KR,a,!0));e.ra("drag",(0,$.pa)(a.KR,a,!0));a.j.push(e)}},gK=function(a){a=IJ("columnStroke",2)(a,0);return $.Wo(a)},hK=function(a,b){for(var c=gK(a),d=0,e=0,f=0,h=a.b.length;f<h;f++){var k=a.b[f];
k&&k.enabled()&&!k.fd&&(e=k.width(),$.oo(e)&&(e=90,k.Ya=null,$.V(k),k.da(!1)),k.width(e),e+=c,d+=e)}return d-(b?e:0)},cK=function(a,b,c,d){var e=!1;var f=$.N(b);(0,window.isNaN)(f)?(f=0,c=b):f=b;b=a.b[f];b||(b=new VJ(a,f),e=a.ma,b.Fa(e.defaultColumnSettings),"columns"in e&&b.Fa(e.columns[f]),$.L(b,a.Nba,a),$.ql(b),e=!0);if($.n(c))return e=$.K(c,VJ)?c.F():c,b.ia(!!d,e),b.enabled()&&b.P(wJ(a)),a.b[f]=b,a.B(528,1),a;e&&(b.P(wJ(a)),a.b[f]=b,a.B(528,1),a.i("fixedColumns")&&a.Db.B(4,1));yea(a);return b},
zea=function(a){if(a.lw.reset){a.Db.dispatchEvent("workingstart");for(var b=0,c=0,d=a.b.length;c<d;c++){var e=a.b[c];e&&e.enabled()&&!e.fd&&b++}c=a.controller.Gr;a=a.lw;c.length?(a.first=0,a.count=Math.min(Math.max(1,Math.floor(300/b)),c.length),a.Tv=a.first+Math.max(0,a.count-1),a.reset=!1):(a.first=window.NaN,a.Tv=window.NaN,a.count=window.NaN,a.reset=!0)}},Aea=function(a){a.lw.reset=!0;a.rv(function(a){WJ(a)})},Bea=function(a){var b=a.controller.Gr;a=a.lw;if((0,window.isNaN)(a.Tv)||a.Tv>=b.length-
1)return!1;a.first=a.Tv+1;a.Tv=a.first+Math.min(b.length-1-a.first,a.count);return!0},iK=function(a){a.O||(a.O=new $.jv,a.O.P(zJ(a)),a.O.background().enabled(!0).fill("red 0.5"),a.O.text("Working..."),a.O.anchor("left-top"),a.O.position("left-top"),a.O.padding(5),a.O.enabled(!0),a.O.ja(a.ea));return a.O},Cea=function(a){a.rv(function(a){a.xy();var b=!1,d=!1,e=0;a.J(512)&&(b=!0);a.J(1024)&&(fI(a.labels())&&(e|=$.pE),b=d=!0);a.J(2048)&&(e|=$.oE,b=d=!0);b&&a.NB(d);a.ta(e)})},jK=function(a){a.controller.Ky.push($.vp(function(){zea(this);
var a=!1;this.rv(function(b){if(!b.ef()){a=!0;b.xy();var c=!1,d=!1,h=0;b.J(512)&&(c=!0);b.J(1024)&&(fI(b.labels())&&(h|=$.pE),c=d=!0);b.J(2048)&&(h|=$.oE,c=d=!0);c&&b.NB(d);b.ta(h)}});if(a)if(Bea(this)){var c=Math.round(this.lw.Tv/this.controller.Gr.length*100);(0,window.isNaN)(c)?iK(this).enabled(!1):(iK(this).enabled(!0).ja(this.ea).text("Working: "+c+"%").$(),this.Db.dispatchEvent({type:"working",progress:c}));$.pl.measure();this.rv(function(a){a.B(128);a.$()});jK(this)}else this.rv(function(a){a.I(3584);
a.B(128);a.$()}),this.il(!1),iK(this).enabled(!1).$(),PI(this.controller),this.controller.Ky.push($.vp(function(){NI(this.controller);this.Db.dispatchEvent({type:"working",progress:100});this.Db.dispatchEvent("workingfinish")},void 0,this))},void 0,a))},kK=function(){dK.call(this)},lK=function(a){$.yy.call(this);this.Fa("defaultLineMarkerSettings");this.np(a);$.Zq(a,this.kg,this);$.T(this.ua,[["stroke",16,1],["value",0,0,0,function(){this.B(4,this.OC())}]])},mK=function(a){$.yy.call(this);this.Fa("defaultRangeMarkerSettings");
this.np(a);$.Zq(a,this.kg,this);$.T(this.ua,[["fill",16,1],["from",4,9],["to",4,9]])},nK=function(a){$.Ky.call(this);this.Fa("defaultTextMarkerSettings");this.np(a);$.Zq(a,this.kg,this);$.T(this.ua,[["value",0,0,0,function(){this.B(4,this.OC())}]])},oK=function(a){$.ag.call(this,a.fa());this.element=a;this.y=this.x=0},pK=function(a){$.ag.call(this,a.fa());this.element=a;this.Ed=window.NaN},qK=function(a){pK.call(this,a)},rK=function(a,b,c){$.ag.call(this,b.fa());this.element=b;this.jy=!!c;this.g=
this.b=window.NaN},sK=function(a,b){$.ag.call(this,a.fa());this.element=a;this.b=!!b},tK=function(){$.Yq.call(this);this.Rb=null;$.T(this.ua,[["fill",0,2],["stroke",0,2],["size",0,2],["type",0,2],["verticalOffset",0,2],["horizontalOffset",0,2],["enabled",0,0]])},uK=function(){$.Yq.call(this);this.Rb=this.b=this.f=null},vK=function(a){$.Yq.call(this);this.D=a;this.Rb=null;$.T(this.ua,[["fill",0,2],["stroke",0,2],["enabled",0,2]]);this.b=this.f=this.j=this.g=null},wK=function(){$.Yq.call(this);this.b=
this.Y=null;$.T(this.ua,[["position",0,1,void 0,this.Hs],["offsetY",0,1,void 0,this.Hs],["offsetX",0,1,void 0,this.Hs],["fill",0,1,void 0,this.Hs],["stroke",0,1,void 0,this.Hs],["anchor",0,1,void 0,this.Hs],["size",0,1,void 0,this.Hs],["rotation",0,1,void 0,this.Hs],["type",0,1,void 0,this.Hs],["enabled",0,1,void 0,this.Hs]])},yK=function(a,b,c,d,e,f,h){this.element=a;this.tag=d;this.b=h;this.predictedBounds=c;this.item=b;this.shapes=this.element.vf.Xc(b,d,f?$.qo:$.Zl,void 0,void 0,void 0,e,h);$.n(e)&&
(this.periodIndex=e,this.period=b.get("periods",e));c=a.Na();if("milestones-preview"==c||"milestones"==c)(b=xK(a,b,e))&&(b=b.markerType),this.markerType=b||a.i("markerType")},zK=function(a,b){$.Yq.call(this);this.pd=b;this.Rb=this.Y=null;$.T(this.ua,[["drawer",0,1],["shapes",0,1]])},AK=function(a,b,c,d,e,f,h){b=new yK(a.pd,b,c,d,e,f,h);a.i("drawer").call(b,b)},BK=function(a,b,c){$.od.call(this);this.G=a;this.D=b;this.ub=null;this.b={};this.f={};this.j={};this.g={};if($.A(c))for(a=0;a<c.length;a++){b=
c[a];var d=b.shapeType;switch(String(d).toLowerCase()){case "none":var e=null;break;case "rect":e=$.jk;break;case "circle":e=$.kk;break;case "ellipse":e=$.mk;break;default:e=$.nk}this.b[d]||(this.b[d]=[],this.f[d]=[],this.j[d]=0);this.g[b.name]={zIndex:+b.zIndex,aR:e,Mb:d,td:!!b.disablePointerEvents}}this.CO={}},CK=function(a,b,c,d,e,f,h){b=a.g[b];var k=a.D.Gm(c,f,h);c=a.D.bl(c,f,h);e.fill(k);e.stroke(c);e.ib(a.G);e.td(!!b.td);e.zIndex(b.zIndex+d);e.parent(a.Dd);return e},DK=function(a){$.Yq.call(this);
this.Fa("defaultTimeline.elements");this.Ij=this;this.Kh=a;this.Y=null;$.T(this.ua,[["height",0,1],["anchor",0,1],["position",0,1],["offset",0,1],["enabled",0,1]]);a={};$.T(a,[["fill",0,8192],["stroke",0,8192]]);this.ca=new $.Yx(this.Ij,a,$.Zl);a={};$.T(a,[["fill",0,0],["stroke",0,0]]);this.Ca=new $.Yx(this.Ij,a,$.qo);this.gb=this.Ci=this.Gs=this.Rb=this.Rl=this.uH=this.Da=null},xK=function(a,b,c){if($.n(c))return b.get("periods")[c];a=a.yv();for(c=0;c<a.length;c++){var d=b.get(a[c]);if($.n(d)){var e=
d;break}}return e},EK=function(a){DK.call(this,a);$.T(this.ua,[["drawOverEnd",0,1]])},FK=function(a){EK.call(this,a)},GK=function(a){DK.call(this,a);$.T(this.ua,[["above",0,1],["disableWithRelatedTask",0,1]])},HK=function(a){$.Yq.call(this);this.Ij=this;this.Kh=a;$.T(this.ua,[["previewStroke",0,2]]);a={};$.T(a,[["fill",0,8192],["stroke",0,8192]]);this.ca=new $.Yx(this.Ij,a,$.Zl);a={};$.T(a,[["fill",0,0],["stroke",0,0]]);this.Ca=new $.Yx(this.Ij,a,$.qo)},IK=function(a){DK.call(this,a);this.Fa("defaultTimeline.groupingTasks");
this.mi=null},JK=function(a){DK.call(this,a);this.Tl=null;$.T(this.ua,[["markerType",0,1]])},KK=function(a){JK.call(this,a);$.T(this.ua,[["depth",0,1]])},LK=function(a){DK.call(this,a)},MK=function(a){DK.call(this,a);this.Fa("defaultTimeline.tasks");this.mi=null},NK=function(a,b){$.Y.call(this);this.Dk=a;this.na=this.Dk.U.scale();this.wd=b;this.Da=this.b=null;this.re=[];this.Ka=null;this.hb=[];this.D=[];this.j="yyyy/MM/dd'T'HH:mm:ss.SSS";this.xb={left:0,top:0,width:0,height:0};this.g=this.f=null;
$.T(this.ua,[["enabled",1,32768],["stroke",16,1],["height",4,9]]);this.count=this.ng=void 0},OK=function(a){if(!a.b){var b=null!=a.g;a.Da&&!$.Jc(a.Da.Ma)&&(b=!0);b&&(a.b=new $.Ny,a.b.labels(a.labels()),$.ql(a.b))}},PK=function(a){$.Y.call(this);this.Fa("defaultGanttHeader");this.U=a;this.g=null;this.N=new $.PH;this.Da=this.Ka=null;this.f=[];this.D=new $.QH;this.xb={left:0,top:0,width:0,height:0};this.b=new $.Ny;this.b.labels(this.labels());$.Py(this.b);$.ql(this.b);$.T(this.ua,[["stroke",16,1],["levelHeight",
512,1,void 0,this.afa],["drawTopLine",0,0],["drawRightLine",0,0],["drawBottomLine",0,0],["drawLeftLine",0,0]])},UK=function(a,b){jJ.call(this,a,b);this.Fa("defaultTimeline");this.wC=this.fv=this.iv=this.hv=this.gv=this.Lz=this.Qp=this.WD=this.Ut=this.eh=null;this.IM=void 0;this.JM=window.NaN;this.nI=!1;this.pt=this.ut=this.tt=this.qt=this.ZF=this.st=this.rt=null;this.UR=this.SF=this.wx=!1;this.Ho=this.ux=null;this.dJ=[];this.cJ=0;this.pA=[];this.HA=[];this.eB=[];this.Ur=[];this.NW=this.VG=null;this.na=
new $.et;$.L(this.na,this.Vh,this);mea(this.na,this);this.iC=this.xm=this.Ou=this.Ev=this.Pj=this.mw=this.pk=this.Bx=null;this.hE=[];$.T(this.ua,[["cropLabels",2048,1],["zoomOnMouseWheel",0,0],["columnStroke",16,1],["workingFill",0,0,0,function(){var a=this.i("workingFill");QK(this).fill(a)}],["notWorkingFill",0,0,0,function(){var a=this.i("notWorkingFill");RK(this).fill(a)}],["holidaysFill",0,0,0,function(){var a=this.i("holidaysFill");SK(this).fill(a)}],["weekendsFill",0,0,0,function(){var a=this.i("weekendsFill");
TK(this).fill(a)}]]);MI(this.controller,this);this.cA()},VK=function(a){a.NW||(a.NW=a.controller.g?[a.Ds(),a.Pc()]:[a.Jc(),a.Yp(),a.Pc(),a.Pc().qm(),a.Nn(),a.Jc().Ed(),a.Yp().Ed(),a.Nn().Ed()]);return a.NW},WK=function(a,b,c,d,e){b={Qea:!0,item:a,index:b,type:c,Za:d};$.n(e)&&(b.lq=e,a=a.get("periods"),b.vb=a[e]);return b},SK=function(a){a.iM||(a.iM=XK(a).path(),a.iM.zIndex(0),a.iM.stroke("none").fill(a.i("holidaysFill")));return a.iM},TK=function(a){a.YO||(a.YO=XK(a).path(),a.YO.zIndex(0),a.YO.stroke("none").fill(a.i("weekendsFill")));
return a.YO},QK=function(a){a.ZO||(a.ZO=XK(a).path(),a.ZO.zIndex(1),a.ZO.stroke("none").fill(a.i("workingFill")));return a.ZO},RK=function(a){a.$M||(a.$M=XK(a).path(),a.$M.zIndex(1),a.$M.stroke("none").fill(a.i("notWorkingFill")));return a.$M},YK=function(a){a.WD||(a.WD=yJ(a).path(),a.WD.zIndex(6),a.WD.stroke(IJ("columnStroke",2)(a,0)));return a.WD},ZK=function(a){a.Qp||(a.Qp=xJ(a).path(),a.Qp.zIndex(0).cursor("ew-resize"),a.sc.ra(a.Qp,"mousedown",function(a){a.stopPropagation()}),a.Qp.ve("mousedown",
a.Ica,!1,a));return a.Qp},$K=function(a){a.Lz||(a.Lz=xJ(a).path(),a.Lz.zIndex(10),a.sc.ra(a.Lz,"mousedown",function(a){a.stopPropagation()}),a.Lz.ve("mousedown",a.Jca,!1,a));return a.Lz},aL=function(a){a.$F||(a.$F=xJ(a).path(),a.$F.zIndex(10),a.sc.ra(a.$F,"mousedown",function(a){a.stopPropagation()}),a.$F.ve("mousedown",a.zca,!1,a));return a.$F},bL=function(a){a.gv||(a.gv=xJ(a).path(),a.gv.zIndex(20).cursor("col-resize"),a.gv.qm=ZK(a),a.sc.ra(a.gv,"mousedown",function(a){a.stopPropagation()}),a.gv.ve("mousedown",
a.Hca,!1,a));return a.gv},cL=function(a){a.hv||(a.hv=xJ(a).path(),a.hv.zIndex(30).cursor("col-resize"),a.hv.qm=ZK(a),a.sc.ra(a.hv,"mousedown",function(a){a.stopPropagation()}),a.hv.ve("mousedown",a.Kca,!1,a));return a.hv},dL=function(a){a.iv||(a.iv=xJ(a).path(),a.iv.zIndex(40).cursor("move"),a.sc.ra(a.iv,"mousedown",function(a){a.stopPropagation()}),a.iv.ve("mousedown",a.Lca,!1,a));return a.iv},eL=function(a){a.fv||(a.fv=xJ(a).path(),a.fv.zIndex(50).cursor("move"),a.sc.ra(a.fv,"mousedown",function(a){a.stopPropagation()}),
a.fv.ve("mousedown",a.Cca,!1,a));return a.fv},fL=function(a){a.wC||(a.wC=xJ(a).path(),a.wC.zIndex(60),a.wC.td(!0));return a.wC},gL=function(a,b){for(var c=0;c<a.Ur.length;c++)a.Ur[c].clear().jc(1,0,0,1,0,0);a.Ur.length=0;b||(a.Xa().enabled(a.Ts),a.Ts=void 0)},hL=function(a,b,c,d){var e=b;a=a.Nn().i("above");switch(c){case "tasks":d&&"left-center"==b&&(e=a?"left-top":"left-bottom");break;case "grouping-tasks":e=$.Do(b)?"left-top":"left-bottom";d&&"left-center"==b&&(e=a?"left-top":"left-bottom");break;
case "baselines":"left-center"==b&&(e=a?"left-bottom":"left-top")}return e},iL=function(a,b,c){if(a.ux){var d=a.ux.b?a.gv:a.hv,e=d.tag.item,f=d.tag.lq,h=d.tag.Za;switch(d.tag.type){case "baselines":d=a.ux.b?e.o("baselineEnd"):e.o("baselineStart");break;case "periods":d=a.ux.b?e.Yn("periods",f,"end"):e.Yn("periods",f,"start");break;default:d=kJ(e),d=a.ux.b?d.end:d.start}e=$.Wj(a.P().Ha()).x;b=c?0>c?a.ea.left:a.ea.left+a.ea.width:b.clientX-e;c=$.rt(a.na,d);c=a.ea.left+a.ea.width*c;a.Qp.clear().moveTo(c,
h.top).lineTo(b,h.top).lineTo(b,h.top+h.height).lineTo(c,h.top+h.height).close()}},kL=function(a,b,c,d){if(a.Ho&&a.di){var e=a.Ho.jy?a.iv:a.fv,f=e.tag.index;e=e.tag.lq;var h=$.Wj(a.P().Ha()),k=h.x;h=h.y;c||d?(c=a.Ho.b-k,b=a.Ho.g-h):(c=b.clientX-k,b=b.clientY-h);d=jL(a,f,e);f=a.Sn().previewStroke();k=$.Wo(f)%2&&"svg"===$.hk?.5:0;e=a.Ho.jy?d.left:d.left+d.width;d=d.top+d.height/2+k;fL(a).stroke(f).clear().moveTo(e,d).lineTo(c,b)}},lL=function(a,b){var c="connectorselect";if(b)switch(c=b.type,c){case "mouseout":c=
"connectormouseout";break;case "mouseover":c="connectormouseover";break;case "mousemove":case "touchmove":c="connectormousemove";break;case "mousedown":case "touchstart":c="connectormousedown";break;case "mouseup":case "touchend":c="connectormouseup";break;case "click":c="connectorclick";break;case "dblclick":c="connectordblclick"}return{type:c,actualTarget:b?b.target:null,target:a,originalEvent:b}},mL=function(a,b){if(b&&b.originalEvent){var c=b.originalEvent,d=$.K(c,$.Ni)?c.target:c.domTarget;if(d&&
$.K(d,QJ)&&"connectors"==d.type){c=lL(a,c);for(var e in d.o)c[e]=d.o[e];return c}}return null},nL=function(a,b){switch(b){case "periods":return a.Ds();case "tasks":return a.Jc();case "grouping-tasks":return a.Yp();case "baselines":return a.Nn();case "milestones":return a.Pc();case "milestones-preview":return a.Pc().qm()}return a.elements()},oL=function(a,b){return a.controller.g?a.Ds():lJ(b)?a.Pc():nJ(b)?a.Yp():a.Jc()},pL=function(a,b,c){var d;$.n(c)?d=pJ(b,c).CM?a.Pc():a.Ds():lJ(b)?d=a.Pc():mJ(b)?
d=a.Nn():nJ(b)?d=a.Yp():kJ(b).sU?d=a.Ds():d=a.Jc();return d.Xa()},qL=function(a,b){var c=mL(a,b);return c?(gL(a),a.Db.dispatchEvent(c),!0):!1},sL=function(a,b){var c=b&&b.originalEvent?b.originalEvent.domTarget:null;if(c&&"connectors"==c.type){gL(a);var d=mL(a,b);a.Db.dispatchEvent(d)&&(d=mL(a,b),d.type="connectorselect",a.Db.Sk().f&&rL(a,b.originalEvent),a.Db.dispatchEvent(d)&&(a.Db.qI(b.originalEvent),c=c.o,iJ(a.Db.Sk(),c.fromItem,c.toItem,c.fromItemIndex,c.toItemIndex,c.fromPeriodIndex,c.toPeriodIndex,
c.connType),a.B(128,1)));return!0}return!1},rL=function(a,b){var c=a.Db.Sk();if(c.f){var d=lL(a,b);d.type="connectorselect";a.Db.dispatchEvent(d)&&(iJ(c,null),a.B(128,1))}},Dea=function(a,b){var c=a.So,d=a.bk();d=a.ea.top+$.Wj(a.P().Ha()).y+d;c=$.Na(c,b.clientY-d);c=(0<=c?c:~c)+a.controller.mg();var e=new $.gb(b.offsetX,b.offsetY);return $.ya(a.hE[c]||[],function(a){return a.label.enabled()&&0===tL(a.label).Yf(e)?!0:!1},a)},uL=function(a,b,c){var d=a.Db.Sk();fJ(d,b);d.g=b?c:null;return d.b?(a.B(128,
1),!0):!1},vL=function(a){if(a.cJ<a.dJ.length){var b=a.dJ[a.cJ++];b.reset()}else b=new QJ,b.ib(a),a.dJ.push(b),a.cJ++;b.parent(vJ(a));return b},wL=function(a,b,c){c=c.i("drawOverEnd");a*=b;return c?a:Math.min(a,b)},xL=function(a,b,c,d,e,f){var h="grouping-tasks"==b.Na(),k=b.ud(d,f);h=$.M(k,e||h?c.height/2:c.height);k=b.i("anchor");var l=b.i("position");d=b.MC(d,f);d=$.M(d,c.height);"auto"==k&&(k=hL(a,l,b.Na(),e));a=$.xo(c,l);return new $.J(a.x,a.y+($.Do(k)?0:$.Eo(k)?-h:-h/2)+d,c.width,h)},yL=function(a,
b,c,d,e){a=a.bl(c,e?$.qo:$.Zl,d);a=$.Wo(a)%2&&"svg"===$.hk?.5:0;c=Math.round(b.left)+a;d=Math.round(b.top)+a;return new $.J(c,d,Math.round(b.left+b.width)+a-c,Math.round(b.top+b.height)+a-d)},zL=function(a,b,c,d){$.V(a.controller.data());$.n(d)?($.A(b.o("periodBounds"))||b.Hn("periodBounds",[]),b.Hn("periodBounds",d,c)):b.o("relBounds",c);a.controller.data().da(!1)},BL=function(a,b,c,d,e,f){if(!f){if(!b.b){b.b={};for(var h in AL)f=b.i(h),$.n(f)&&(b.b[h]=f)}f=b.b}b=f;if(b.enabled){a=a.Eb().add({value:c});
c=!("fill"in b);h=!("stroke"in b);if(c||h)b=$.Qc(b),c&&(b.fill=$.Hl(d)),h&&(b.stroke=$.Hl(e));a.K(b)}},CL=function(a,b,c,d,e){var f=xK(c,b,e),h=f&&f.startMarker;f=f&&f.endMarker;var k=d.top+d.height/2,l={x:d.left,y:k};d={x:d.left+d.width,y:k};k=c.Gm(b,$.Zl,e);b=c.bl(b,$.Zl,e);e=c.HI();c=c.bG();BL(a,e,l,k,b,h);BL(a,c,d,k,b,f)},DL=function(a,b,c,d,e){var f=d.i("anchor"),h=d.i("position"),k=a.Nn().i("anchor"),l=a.Nn().i("position");f==k&&h==l&&("auto"==f&&(f=hL(a,h,d.Na(),!0)),"auto"==k&&(k=hL(a,l,a.Nn().Na(),
!0)),h=a.Nn().bl(e,$.Zl),d=d.bl(e,$.Zl),d=$.Wo(d)/2,e=$.Wo(h)/2,d+=e,f==k&&(a.Nn().i("above")?$.Do(f)?b.top+=c.height+d:c.top-=b.height+d:$.Do(f)?c.top+=b.height+d:b.top-=c.height+d))},FL=function(a,b,c,d,e,f){var h=a.Pc().qm().i("depth");if(null==h||b<=h)if(lJ(c))EL(a,c,d,e,void 0,void 0,f);else if(nJ(c))for(h=0;h<c.Zb();h++){var k=c.od(h);FL(a,b+1,k,d,e,f)}},EL=function(a,b,c,d,e,f,h){var k=$.n(h)?a.Pc().qm():a.Pc();e=null!=e?e:$.n(f)?pJ(b,f):kJ(b);e=$.rt(a.na,a.controller.g?e.NH:e.start);if(0<=
e&&1>=e&&k.i("enabled")){var l=k.bl(b,$.Zl);l=($.Vo(l)?0:$.z(l)?1:l.thickness?l.thickness:1)%2&&"svg"===$.hk?.5:0;var m=k.ud(b,f);m=$.M(m,d);c=xL(a,k,new $.J(Math.round(a.ea.left+a.ea.width*e)+l-Math.round(m/2),c,m,d),b,void 0,f);d=$.n(f)?hJ(a.Db.Sk(),b,f):gJ(a.Db.Sk(),b);c=yL(k,c,b,f,d);e=a.Ep(b,k,c,f);zL(a,b,c,f);AK(k.kj(),b,c,e,f,d,h)}},GL=function(a,b){var c=a.ea.top+a.bk()+1,d=a.controller.b,e=a.controller.mg(),f=a.controller.Wl();return(b?d[b-1]:0)-((e?d[e-1]:0)+f)+c},jL=function(a,b,c){var d=
GL(a,b);b=a.controller.D[b];var e=xI(a.controller,b);if(a.controller.g){var f=pJ(b,c),h=0,k=f.CM,l=f.start,m=f.end,p=a.Ds();k&&(p=a.Pc(),m=l=f.NH,h=p.ud(b,c),h=Math.round($.M(h,e)/2));l=$.rt(a.na,l)*a.ea.width+a.ea.left-h;m=$.rt(a.na,m)*a.ea.width+a.ea.left+h;return xL(a,p,new $.J(l,d,m-l,e),b,void 0,c)}c=kJ(b);m=c.start;p=c.end;h=0;if(c=lJ(b,c))p=m,h=a.Pc().ud(b),h=Math.round($.M(h,e)/2);m=$.rt(a.na,m)*a.ea.width+a.ea.left-h;p=$.rt(a.na,p)*a.ea.width+a.ea.left+h;d=new $.J(m,d,p-m,e);c?(e=a.Pc(),
a=xL(a,e,d,b)):mJ(b)?(e=nJ(b)?a.Yp():a.Jc(),c=xL(a,e,d,b,!0),p=a.Nn(),d=xL(a,p,d,b,!0),DL(a,c,d,e,b),a=c):(e=nJ(b)?a.Yp():a.Jc(),a=xL(a,e,d,b));return a},JL=function(a,b,c,d,e,f){d=d||"finish-start";var h=b.index,k=c.index;b=b.periodIndex;c=c.periodIndex;var l=a.controller.D,m=l[h];l=l[k];var p=oL(a,m),q=oL(a,l),r=jL(a,h,b),t=jL(a,k,c),u=xI(a.controller,l);if(r&&t&&p.i("enabled")&&q.i("enabled")){p=a.Db.Sk();q=p.f?p.f.gda==m&&p.f.Lia==l&&p.f.e_==d&&p.f.h0==b&&p.f.Y4==c:!1;p=null!=f;if(e)if(q){var v=
"object"==$.ka(e.selected)?e.selected.fill:void 0;var w="object"==$.ka(e.selected)?e.selected.stroke:void 0}else v=$.n(e.fill)?e.fill:"object"==$.ka(e.normal)?e.normal.fill:void 0,w=$.n(e.stroke)?e.stroke:"object"==$.ka(e.normal)?e.normal.stroke:void 0;e=q?$.qo:$.Zl;w=w||a.Sn().bl(m,l,e,d,b,c);f=f||null;q=p?f:null;var x=$.Wo(w)%2&&"svg"===$.hk?.5:0;switch((d+"").toLowerCase()){case "finish-finish":var y=Math.round(r.left+r.width)+x;var B=Math.round(r.top+r.height/2)+x;var G=Math.round(t.left+t.width)+
x;var C=Math.round(t.top+t.height/2)+x;var I="left";r.top==t.top?(f=HL(a,y,B,G,C,f),y>G&&(I="right")):(r=Math.max(y+9,G+9),f=HL(a,y,B,r,B,f),f=HL(a,r,B,r,C,f),f=HL(a,r,C,G,C,f));q=IL(a,G,C,I,q);break;case "start-finish":y=Math.round(r.left)+x;B=Math.round(r.top+r.height/2)+x;G=Math.round(t.left+t.width)+x;C=Math.round(t.top+t.height/2)+x;I="left";if(y-5-5-4>G)r=G+9,f=HL(a,y,B,r,B,f),f=HL(a,r,B,r,C,f),f=HL(a,r,C,G,C,f);else{var P=t.top>=r.top;r=y-5;t=G+9;var Q=GL(a,k);u=Math.round(P?Q:Q+u)+x;f=HL(a,
y,B,r,B,f);f=HL(a,r,B,r,u,f);f=HL(a,r,u,t,u,f);f=HL(a,t,u,t,C,f);f=HL(a,t,C,G,C,f)}q=IL(a,G,C,I,q);break;case "start-start":y=Math.round(r.left)+x;B=Math.round(r.top+r.height/2)+x;G=Math.round(t.left)+x;C=Math.round(t.top+t.height/2)+x;I="right";r.top==t.top?(f=HL(a,y,B,G,C,f),y>G&&(I="left")):(r=Math.min(y-4-5,G-4-5),f=HL(a,y,B,r,B,f),f=HL(a,r,B,r,C,f),f=HL(a,r,C,G,C,f));q=IL(a,G,C,I,q);break;default:y=Math.round(r.left+r.width)+x,B=Math.round(r.top+r.height/2)+x,G=Math.round(t.left)+x,G>=y?(G=Math.min(G+
5,Math.round(t.left+t.width/2)+x),t.top>r.top?(C=Math.round(t.top)+x,f=HL(a,y,B,G,B,f),f=HL(a,G,B,G,C,f),q=IL(a,G,C,"bottom",q)):t.top<r.top?(C=Math.round(t.top+t.height)+x,f=HL(a,y,B,G,B,f),f=HL(a,G,B,G,C,f),q=IL(a,G,C,"top",q)):(G=Math.round(t.left)+x,C=Math.round(t.top+t.height/2)+x,f=HL(a,y,B,G,C,f),q=IL(a,G,C,"right",q))):(C=Math.round(t.top+t.height/2),Q=GL(a,k)+x,u=Math.round(t.top>r.top?Q:Q+u)+x,r=y+5,t=G-5-4,f=HL(a,y,B,r,B,f),f=HL(a,r,B,r,u,f),f=HL(a,r,u,t,u,f),f=HL(a,t,u,t,C,f),f=HL(a,t,
C,G,C,f),q=IL(a,G,C,"right",q))}h={fromItemIndex:h,toItemIndex:k,connType:d,fromItem:m,toItem:l};a.controller.g&&(h.fromPeriodIndex=b,h.toPeriodIndex=c);k=a.elements().bf().i("enabled")?"pointer":"default";f&&!p&&(f.tag=void 0,f.type="connectors",f.wR=null,f.cursor(k),h.path=f,f.o=h,f.stroke(w));q&&!p&&(q.tag=void 0,q.type="connectors",q.wR=null,q.cursor(k),h.arrow=q,q.o=h,q.fill(v||a.Sn().Gm(m,l,e,d,b,c)),q.stroke(w))}},HL=function(a,b,c,d,e,f){if(f)try{f.lineTo(d,e)}catch(m){f.moveTo(b,c).lineTo(d,
e)}else{var h=Math.max(b,d),k=Math.min(c,e),l=Math.max(c,e);Math.min(b,d)<a.ea.left+a.ea.width&&h>a.ea.left&&k<a.ea.top+a.ea.height&&l>a.ea.top&&(f=vL(a),f.type="connectors",f.zIndex(60).moveTo(b,c).lineTo(d,e))}return f},IL=function(a,b,c,d,e){var f=e||null;if(b>=a.ea.left&&b<=a.ea.left+a.ea.width&&c>=a.ea.top&&c<=a.ea.top+a.ea.height){var h=0,k=0,l=0,m=0;switch(d){case "left":b+=1;h=b+4;k=c-4;l=h;m=c+4;break;case "top":c+=1;h=b-4;k=c+4;l=b+4;m=k;break;case "right":--b;h=b-4;k=c-4;l=h;m=c+4;break;
case "bottom":--c,h=b-4,k=c-4,l=b+4,m=k}null==e&&(f=vL(a),f.type="connectors");f.zIndex(70).moveTo(b,c).lineTo(h,k).lineTo(l,m).lineTo(b,c)}return f},KL=function(a,b,c,d){var e=a.ea.top+a.bk()+1,f=a.ea.top+a.ea.height;c=$.rt(a.na,c);d=$.rt(a.na,d);c=a.ea.left+a.ea.width*c;a=a.ea.left+a.ea.width*d;c=$.R(c,1);a=$.R(a,1);b.moveTo(c,e).lineTo(a,e).lineTo(a,f).lineTo(c,f).close()},ML=function(a,b){if(a.iC&&LL.hour>=LL[a.iC]){var c,d=b.workingIntervals,e=b.notWorkingIntervals;for(c=0;c<e.length;c++){var f=
e[c];KL(a,RK(a),f.from,f.to)}for(c=0;c<d.length;c++)e=d[c],KL(a,QK(a),e.from,e.to)}},NL=function(a){var b=a.na.Dj(),c=a.na.cj(),d=a.controller.N,e=a.controller.ba;$.V(a.na);$.gt(a.na,d,e);a.na.h5=d;a.na.g5=e;!b||(0,window.isNaN)(d)||(0,window.isNaN)(e)||(a.na.G2?a.na.Cm():a.na.YH?(a.na.Ui.apply(a.na,a.na.VH),a.na.YH=!1,a.na.VH=null):a.na.mV?(d=a.na,d.mV&&(d.mV=!1,$.qt(d),d.ta(4))):(d=a.na.dj(),a.na.Ui(d.min,d.min+Math.round((d.max-d.min)/10))));!b&&(b=c.min,d=c.max-b)&&(c=a.na.cj(),b=c.min,a.na.Ui(b,
b+d));a.na.da(!0)},XK=function(a){a.VQ||(a.VQ=$.lk(),a.VQ.zIndex(33));return a.VQ},OL=function(a){a.GA||(a.GA=$.lk(),a.GA.zIndex(34));return a.GA},PL=function(a){a.dB||(a.dB=$.lk(),a.dB.zIndex(36));return a.dB},Eea=function(a,b){var c=a.label.ic("position"),d=b.label.ic("position");c=$.xo(a.Za,c);d=$.xo(b.Za,d);return c.x-d.x||-1},tL=function(a){var b=a.ic("background"),c=a.ii().pb();return b&&b.enabled?(a=a.ic("padding"),$.wu(c,a)):c},QL=function(){UK.call(this)},RL=function(){UK.call(this,void 0,
!0)},TL=function(a){$.ox.call(this);this.Fa("ganttBase",a?"ganttResource":"ganttProject");this.O=!!a;this.ga=this.j=this.b=this.f=this.oa=null;this.U=new eJ;this.D=null;this.g=new vI(this.O);LI(this.g,SL(this));MI(this.g,this.Sf());$.L(this.g,this.h_,this);this.G=QI(this.g);this.G.zIndex(Fea);$.L(this.G,this.Qha,this);this.ve("chartdraw",function(){KJ(this.XE());KJ(this.Sf());MJ(this.XE());MJ(this.Sf())},!1,this);$.T(this.ua,[["headerHeight",4,1],["splitterPosition",4,1],["rowHoverFill",0,0,0,function(){this.Sf().rowHoverFill(this.i("rowHoverFill"));
SL(this).rowHoverFill(this.i("rowHoverFill"))}],["rowSelectedFill",0,0,0,function(){$.kr(this.Sf(),SL(this));this.b.rowSelectedFill(this.i("rowSelectedFill"));this.f.rowSelectedFill(this.i("rowSelectedFill"));$.lr(this.f,this.b)}],["columnStroke",0,0,0,function(){$.kr(this.Sf(),SL(this));this.f.columnStroke(this.i("columnStroke"));this.b.columnStroke(this.i("columnStroke"));$.lr(this.f,this.b)}],["rowStroke",0,0,0,function(){$.kr(this.Sf(),SL(this),this.g);var a=this.i("rowStroke");this.f.rowStroke(a);
this.b.rowStroke(a);this.g.oo($.Wo(a));$.lr(this.f,this.b,this.g)}]])},SL=function(a){a.f||(a.f=new dK(a.g),$.W(a,"dataGrid",a.f),a.f.zIndex($.wm("defaultDataGrid").zIndex),rJ(a.f,a),$.L(a.f,a.$ba,a));return a.f},UL=function(a,b,c){var d=a.oa.op("id",b);d.length?(b=d[0],a.dispatchEvent({type:"rowcollapseexpand",item:b,collapsed:c})&&b.o("collapsed",c)):$.el(404,null,["Task",b]);return a},VL=function(a){a.j||(a.j=new TI,a.j.zIndex(10),$.L(a.j,function(){this.j.$()},a),pea(qea($.V(a.j).pe("vertical").position(a.i("splitterPosition")).H_("#000 0.3").stroke("none")).fill("#cecece")).da(!1),
a.j.ra("splitterpositionchange",function(a){var b=this.padding(),d=this.lb();b=b.wg(d.width);d=VL(this).position();b=Math.floor(d*b);if(this.f.i("fixedColumns")&&"drawing"!=a.src){a=hK(this.f,!0);a=b-a-gK(this.f);a:{d=this.f;for(var e=d.b.length-1;-1<e;e--){var f=d.b[e];if(f&&f.enabled()&&!f.fd){d=f;break a}}d=null}d&&($.V(d),d.width(a),d.da(!1))}a={type:"splitterpositionchange",newPosition:b,oldPosition:this.i("splitterPosition")};this.pa("splitterPosition",b);this.B(4,1);$.up(this,a)},void 0,a));
return $.n(void 0)?(a.j.K(void 0),a):a.j},WL=function(){return new TL(!1)},XL=function(){return new TL(!0)};$.sy.prototype.d0=$.ca(21,function(){this.b=!1});$.Mt.prototype.fD=$.ca(11,function(a){return dI(this.Yk,a.Yk)});$.Qt.prototype.fD=$.ca(10,function(a){return dI(this,a)});
$.et.prototype.dK=$.ca(7,function(a){if($.X(a,8)&&!this.Dj()&&$.pt(this)){var b=$.kt(this),c=$.lt(this);a=this.Ll.isPixels;var d=this.Kl.isPixels,e=this.Eq.lb().width;b&&c?this.Cm():b&&a?(b=$.ht(this.Ll.value,e),e=b*(this.Pe-this.Ch)/(e-b)||0,this.pj=this.Qe=this.Ch-e,d&&(a=$.mt(this,this.Pe-this.Qe,this.Kl),this.oj=this.Bh+a),this.Gc=!0):c&&d?(b=$.ht(this.Kl.value,e),e=b*(this.Bh-this.Qe)/(e-b)||0,this.oj=this.Pe=this.Bh+e,a&&(a=$.mt(this,this.Pe-this.Qe,this.Ll),this.pj=this.Ch-a),this.Gc=!0):$.qt(this);
this.ta(4)}});$.Mh.prototype.uG=$.ca(4,function(){if(null!=this.kc){var a=$.kg().measure(this.text(),this.style());a.left=this.xo;a.top=this.yo;return a}return new $.J(0,0,0,0)});$.Nv.prototype.uG=$.ca(3,function(){return this.kc?this.kc.uG():null});var YL="minFontSize maxFontSize adjustFontSize fontSize fontFamily fontColor fontOpacity fontDecoration fontStyle fontVariant fontWeight letterSpacing textDirection lineHeight textIndent vAlign hAlign wordWrap wordBreak textOverflow selectable disablePointerEvents useHtml format".split(" ");
$.H(gI,$.iu);$.g=gI.prototype;$.g.qa=$.iu.prototype.qa;$.g.sa=$.iu.prototype.sa|80;$.g.pe=function(a){return $.n(a)?(a=$.Ek(a),a!=this.f&&(this.f=a,this.B(4,1)),this):this.f};$.g.bK=function(a,b,c,d,e){if($.n(a)){var f=$.Yb.apply(null,arguments);this.ya!=f&&(this.ya=$.Ml(f,this.U,!1),this.B(16,1));return this}return this.ya||"none"};$.g.$J=function(a,b,c,d,e,f,h){if($.n(a)){var k=$.Vb.apply(null,arguments);this.ka!=k&&(this.ka=$.Ml(k,this.U,!0),this.B(16,1));return this}return this.ka||"none"};
$.g.kO=function(a,b,c,d,e){if($.n(a)){var f=$.Yb.apply(null,arguments);this.Ja!=f&&(this.Ja=$.Ml(f,this.U,!1),this.B(16,1));return this}return this.Ja||"none"};$.g.jO=function(a,b,c,d,e,f,h){if($.n(a)){var k=$.Vb.apply(null,arguments);this.Ga!=k&&(this.Ga=$.Ml(k,this.U,!0),this.B(16,1));return this}return this.Ga||"none"};$.g.TB=function(a){return $.n(a)?(a=$.N(a),this.Ob!=a&&(this.Ob=a,this.B(4,9)),this):this.Ob};
$.g.mR=function(a){return $.n(a)?(a=$.N(a),this.ab!=a&&(this.ab=a,this.B(16,1)),this):this.ab};$.g.To=function(a){return $.n(a)?($.da(a)&&(this.eb=a),this):this.eb};$.g.Xf=function(a,b){return $.n(a)?($.ob(this.D,a)||(this.D=a.clone(),this.j?oI(this):this.j=this.D.clone(),pI(this),this.B(64,1),jI(this,b||"api")),this):this.D};$.g.WO=function(a){return $.n(a)?($.ob(this.j,a)||(this.j=a.clone(),this.D?oI(this):this.D=this.j.clone(),pI(this),this.B(64,1),jI(this,"api")),this):this.j};
$.g.scroll=function(a,b){a=+a;var c=(0,window.isNaN)(a)?.05:$.Za(a,-1,1);return c?mI(this,this.b+c,b):this};$.g.PQ=function(a){return $.n(a)?($.da(a)&&this.ga!=a&&(this.ga=a,this.B(4,1)),this):this.ga};$.g.hV=function(a){return $.n(a)?(this.U!=a&&(this.U=a,rI(this,this.U)),this):this.U};$.g.iV=function(a){return $.n(a)?(this.nb=a,this):this.nb};$.g.ak=function(){this.Rc||(this.Rc=$.lk(),$.du(this,this.Rc,this.JZ,this.IZ,this.rba));return this.Rc};
$.g.JZ=function(a){a.preventDefault();rI(this,this.nb);this.bh(a)};$.g.IZ=function(a){a.preventDefault();rI(this,this.U);this.bh(a)};
$.g.rba=function(a){a.preventDefault();var b=nI(this),c=this.N.pb(),d=this.N.zm(),e=b?a.offsetY:a.offsetX;d=b?$.Qm((e-d.top)/d.height,4):$.Qm((e-d.left)/d.width,4);(b?e<=c.top:e<=c.left)?mI(this,d,"user_action"):(c=+d,(0,window.isNaN)(c)||(c=$.Za(c,0,1),b=this.g-this.b,c=$.Qm($.Za(c-b,0,1),4),b=$.Qm(c+b,4),this.b==c&&this.g==b))||(this.b=c,this.g=b,iI(this),this.B(64,1),jI(this,"user_action"));this.bh(a)};$.g.dia=function(a){a.preventDefault();this.bh(a)};$.g.Vn=function(){uI(this,!0);this.dispatchEvent("scrolling")};
$.g.g$=function(){uI(this,!1);this.dispatchEvent("scrollend")};
$.g.$=function(){if(this.Bc()){var a=this.P(),b=a?a.Ha():null,c=b&&!b.ff();c&&b.suspend();this.ak().Zb()||(this.Rc.fc(nea(this)),this.Rc.fc(oea(this)));this.J(2)&&(this.ak().parent(a),this.I(2));if(this.J(4)){this.Ya=this.lb();this.Ya.left=hI(this.Ya.left);this.Ya.top=hI(this.Ya.top);this.Ya.width=Math.round(this.Ya.width);this.Ya.height=Math.round(this.Ya.height);sI(this).P()||this.G.P(this.Rc);tI(this).P()||this.O.P(this.Rc);sI(this).enabled(this.ga);tI(this).enabled(this.ga);if(this.ga&&this.G&&
this.O){$.V(this.G);$.V(this.O);var d=nI(this);a=this.Ya;var e;var f=3>(d?a.height:a.width)/(d?a.width:a.height);var h=e=d?a.width:a.height;var k=a.left;var l=a.top;f&&(d?e=$.Qm(a.height/3,1):h=$.Qm(a.width/3,1));f=d?a.left:a.left+a.width-h;d=d?a.top+a.height-e:a.top;this.G.ja(a);this.G.position({x:f,y:d}).width(h).height(e).$();this.O.ja(a);this.O.position({x:k,y:l}).width(h).height(e).$();this.G.da(!1);this.O.da(!1)}this.B(80);this.I(4)}this.J(16)&&(a=Math.min(this.ab,Math.min(this.Ya.width,this.Ya.height)/
2),this.ba.fill(this.ka).stroke(this.ya).round(a),this.N.fill(this.Ga).stroke(this.Ja).round(a),this.I(16));this.J(64)&&(0>=this.b&&1<=this.g||this.b==this.g?this.ak().visible(!1):(this.ak().visible(!0),a=nI(this),h=this.Ya,this.ba.uf(h),this.ga?(l=this.G.width(),d=this.G.height(),e=a?h.left:h.left+l+1,k=a?h.top+d+1:h.top,l=a?h.width:h.width-2*(l+1),d=a?h.height-2*(d+1):h.height,e=new $.J(e,k,l,d)):e=h.clone(),l=a?e.height:e.width,k=d=$.Qm(l*(this.g-this.b),1),f=!1,10>d&&(f=!0,k=10),f?(d=this.b*(l-
k)/(1+this.b-this.g),l=a?h.left:$.Qm(e.left+d,1),d=a?$.Qm(e.top+d,1):h.top):(l=a?h.left:$.Qm(e.left+this.b*e.width,1),d=a?$.Qm(e.top+this.b*e.height,1):h.top),f=a?h.width:k,a=a?k:h.height,this.N.ro(hI(l)).so(hI(d)).qo(Math.round(f)).po(Math.round(a)).zm(e),this.N.jc(1,0,0,1,0,0)),this.I(64));this.J(8)&&(this.ak().zIndex(this.zIndex()),this.I(8));c&&b.resume()}return this};$.g.remove=function(){this.Rc&&this.Rc.parent(null)};
$.g.F=function(){var a=gI.u.F.call(this);$.E(this.bK())?$.el(8,null,["ScrollBar background stroke"]):a.backgroundStroke=$.Jl(this.bK());$.E(this.$J())?$.el(8,null,["ScrollBar background fill"]):a.backgroundFill=$.Jl(this.$J());$.E(this.jO())?$.el(8,null,["ScrollBar slider fill"]):a.sliderFill=$.Jl(this.jO());$.E(this.kO())?$.el(8,null,["ScrollBar slider stroke"]):a.sliderStroke=$.Jl(this.kO());a.mouseOverOpacity=this.iV();a.mouseOutOpacity=this.hV();a.buttonsVisible=this.PQ();a.barSize=this.TB();
a.cornersRadius=this.mR();return a};$.g.X=function(a,b){gI.u.X.call(this,a,b);this.$J(a.backgroundFill);this.bK(a.backgroundStroke);this.jO(a.sliderFill);this.kO(a.sliderStroke);this.iV(a.mouseOverOpacity);this.hV(a.mouseOutOpacity);this.PQ(a.buttonsVisible);this.TB(a.barSize);this.mR(a.cornersRadius)};$.g.R=function(){$.td(this.ba,this.G,this.O,this.N,this.Rc);this.Rc=this.N=this.O=this.G=this.ba=null;gI.u.R.call(this)};var ZL=gI.prototype;ZL.barSize=ZL.TB;ZL.backgroundStroke=ZL.bK;
ZL.backgroundFill=ZL.$J;ZL.sliderStroke=ZL.kO;ZL.sliderFill=ZL.jO;ZL.mouseOutOpacity=ZL.hV;ZL.mouseOverOpacity=ZL.iV;ZL.cornersRadius=ZL.mR;ZL.buttonsVisible=ZL.PQ;$.H(vI,$.Yq);$.g=vI.prototype;$.g.qa=18;$.g.sa=448;$.g.Id=function(a){var b=0;$.X(a,32)&&(DI(this,a.item),b|=128);$.X(a,16)&&(b|=64);this.ke&&this.Kh&&this.Kh.Db.B(256);this.B(b,2)};$.g.f$=function(a){return!a.o("collapsed")};$.g.Tea=function(a){return!!a.Zb()};
$.g.data=function(a){if($.n(a)){if(this.oa!=a&&($.K(a,$.Nt)||$.K(a,$.Kt))){var b=!1;this.nb={};this.oa&&($.Zq(this.oa,this.Id,this),b=!0);this.oa=a;$.L(this.oa,this.Id,this);this.Ga=this.oa.Av();this.Ga.j5(this.f$);this.Kh&&this.Kh.scale().reset();$.Ep()?(this.ke&&(NI(this),Aea(this.ke),b&&OI(this).dispatchEvent("workingcancel")),OI(this).B(256)):this.ke&&this.Kh&&this.Kh.Db.B(256);this.B(64,2)}return this}return this.oa};
$.g.Wl=function(a){return $.n(a)?(this.O!=a&&(this.O=a,this.B(256,2)),this):this.O};$.g.mg=function(a){return $.n(a)?((0,window.isNaN)(a)||(this.f=a,this.j=window.NaN,this.eb=a,this.ab=window.NaN,this.O=0,this.B(256,2)),this):this.f};$.g.wj=function(a){return $.n(a)?((0,window.isNaN)(a)||(this.f=window.NaN,this.j=a,this.eb=window.NaN,this.ab=a,this.B(256,2)),this):this.j};$.g.oo=function(a){return $.n(a)?(this.Ob!=a&&(this.Ob=a,this.B(128,2)),this):this.Ob};
$.g.y_=function(){if(($.Ep()||!this.ef())&&this.J(64)){this.hc=0;this.ba=this.N=window.NaN;this.Gr.length=0;$.V(this.oa);for(var a=0,b=this.oa.Zb();a<b;a++){var c=this.oa.od(a);EI(this,c,0)}this.N==this.ba&&(a=this.N,this.N=a-432E5,this.ba=a+432E5);this.oa.da(!1);this.ta(16);this.I(64);this.Kh&&NL(this.Kh);this.B(128)}if($.Ep()||!this.ef()){if(this.J(128)){this.D.length=0;this.b.length=0;this.ga.length=0;this.ka={};this.ya={};a=0;for(this.Ga.reset();this.Ga.advance();){var d=this.Ga.current();this.D.push(d);
a+=xI(this,d)+this.Ob;this.b.push(a);c=d.get("id");b={item:d,index:this.b.length-1};$.n(c)&&!this.ya[c]&&(this.ya[c]=b);if(this.g){if(b=d.get("periods"),$.A(b))for(c=0,d=b.length;c<d;c++){var e=b[c],f=e.id,h={period:e,index:this.b.length-1,periodIndex:c};this.ka[f]||(this.ka[f]=h);if($.A(e.connector)){e=e.connector;for(var k=0;k<e.length;k++){var l=e[k];if(l){var m=this.ka[l.connectTo]||l.connectTo;f=l.connectorType;m={from:h,to:m};f&&(m.type=f);m.connSettings=l;this.ga.push(m)}}}else e.connectTo&&
(m=this.ka[e.connectTo]||e.connectTo,f=e.connectorType,m={from:h,to:m},f&&(m.type=f),e.connector&&(m.connSettings=e.connector),this.ga.push(m))}}else if($.A(d.get("connector")))for(d=d.get("connector"),h=0;h<d.length;h++){if(f=d[h])c=f.connectTo,m=this.ya[c]||c,c=f.connectorType,m={from:b,to:m},c&&(m.type=c),m.connSettings=f,this.ga.push(m)}else d.get("connectTo")&&(c=d.get("connectTo"),m=this.ya[c]||c,c=d.get("connectorType"),m={from:b,to:m},c&&(m.type=c),d.get("connector")&&(m.connSettings=d.get("connector")),
this.ga.push(m))}this.I(128);this.B(256)}this.xc&&(RI(this,this.Ja),this.xc=!1);JI(this);$.Ep()&&this.I(256);(0,window.isNaN)(this.N)||this.N!=this.ba||(this.N-=864E5,this.ba+=864E5)}$.Ep()||(this.ke&&this.ke.ID(),this.Kh&&this.Kh.ID());$.pl.measure();a=null;this.ke&&this.ke.P()&&(a=this.ke.P().Ha());!a&&this.Kh&&this.Kh.P()&&(a=this.Kh.P().Ha());a&&a.suspend();this.ke&&this.ke.uj(this.ED);this.Kh&&this.Kh.uj(this.ED);this.U&&($.V(this.U),this.U.To(!1),c=0,d=1,this.b.length&&(c=this.b[this.f]-HI(this,
this.f,this.f)+this.O,d=c+this.G,this.Ja=c,h=this.b[this.b.length-1],b=new $.J(0,0,0,h),c=$.Qm(c/h,4),d=$.Qm(d/h,4),this.U.Xf(b)),b=this.U,c=+c,h=+d,(0,window.isNaN)(c)||(0,window.isNaN)(h)||(c=$.Za(c,0,1),h=$.Za(h,0,1),d=Math.min(c,h),c=Math.max(c,h),d==c||b.b==d&&b.g==c||(b.b=d,b.g=c,iI(b),b.B(64,1),jI(b,"api"))),b.$().To(!0).da(!1));a&&a.resume();this.ED=!1};
$.g.Yca=function(){var a=this.ke&&this.ke.enabled();a&&this.ke.ID();this.Ky.push($.vp(function(){a&&this.ke.uj(this.ED);this.Kh&&this.Kh.uj(this.ED);if(!a){var b=OI(this);b.dispatchEvent("workingstart");b.dispatchEvent({type:"working",progress:100});b.dispatchEvent("workingfinish")}},void 0,this))};
$.g.F=function(){var a=vI.u.F.call(this);a.isResourceChart=this.g;this.oa&&(a.treeData=this.oa.OA(["collapsed"]));a.verticalOffset=this.Wl();(0,window.isNaN)(this.mg())?(0,window.isNaN)(this.wj())||(a.endIndex=this.wj()):a.startIndex=this.mg();a.scrollTo=this.Ja;return a};
$.g.X=function(a,b){vI.u.X.call(this,a,b);this.g=a.isResourceChart;"treeData"in a&&this.data($.Pt(a.treeData));this.Wl(a.verticalOffset);"startIndex"in a?this.mg(a.startIndex):"endIndex"in a&&this.wj(a.endIndex);"scrollTo"in a&&RI(this,+a.scrollTo)};$.H(TI,$.iu);$.g=TI.prototype;$.g.qa=$.iu.prototype.qa;$.g.sa=$.iu.prototype.sa|80;$.g.pe=function(a){return $.n(a)?(a=$.Ek(a),a!=this.f&&(this.f=a,this.position(this.Re)),this):this.f};$.g.position=function(a){if($.n(a)){a=$.oo(a)?(0,window.parseFloat)(a)/100:a;var b=0,c=1;this.Ya&&(c=VI(this)?this.Ya.Xd():this.Ya.ud(),b=this.D/c,c=(c-this.O)/c);a=$.Za(a,b,c);(0,window.isNaN)(a)||(this.Ya&&(this.Re=a,this.Ga&&this.dispatchEvent("splitterpositionchange")),this.Re=a,this.B(64,1));return this}return this.Re};
$.g.stroke=function(a,b,c,d,e){if($.n(a)){var f=$.Yb.apply(null,arguments);this.g!=f&&(this.g=f,this.B(80,1));return this}return this.g||"none"};$.g.fill=function(a,b,c,d,e,f,h){if($.n(a)){var k=$.Vb.apply(null,arguments);this.ka!=k&&(this.ka=k,this.B(16,1));return this}return this.ka||"none"};$.g.H_=function(a,b,c,d,e,f,h){if($.n(a)){var k=$.Vb.apply(null,arguments);this.ya!=k&&(this.ya=k,this.B(16,1));return this}return this.ya||"none"};
$.g.To=function(a){return $.n(a)?($.da(a)&&(this.Ga=a),this):this.Ga};$.g.ak=function(){this.Rc||(this.Rc=$.lk());return this.Rc};$.g.i$=function(){this.Ja=!0;ZI(this).visible(!0);var a=VI(this);this.ab=$.xf($.Bp.body,"cursor");a?this.N.ro(this.Re*this.Ya.Xd()+this.Ya.qb()).so(this.Ya.bc()).qo(0).po(this.Ya.ud()):this.N.ro(this.Ya.qb()).so(this.Re*this.Ya.ud()+this.Ya.bc()).qo(this.Ya.Xd()).po(0)};
$.g.Vn=function(){var a=this.j.pb(),b=VI(this),c=this.b/2;WI(this,b);var d=b?this.Re*this.Ya.Xd()+this.Ya.qb():this.Re*this.Ya.ud()+this.Ya.bc();a=b?a.qb()+a.Xd()/2:a.bc()+a.ud()/2;b?(this.N.ro(Math.min(d,a)).qo(Math.abs(d-a)),this.G.ro(a-c)):(this.N.so(Math.min(d,a)).po(Math.abs(d-a)),this.G.so(a-c))};
$.g.h$=function(){this.Ja=!1;ZI(this).visible(!1);var a=this.j.pb(),b=VI(this);this.Ra||WI(this,b,!0);this.ba?(a=b?a.left+3-this.Ya.left:a.top+3-this.Ya.top,b=b?a/(this.Ya.width-this.b):a/(this.Ya.height-this.b)):(a=b?a.left+a.width/2-this.Ya.left:a.top+a.height/2-this.Ya.top,b=b?a/this.Ya.width:a/this.Ya.height);this.position($.Qm(b,4))};$.g.j$=function(){this.Ra=!0;this.G.fill("black")};$.g.Lfa=function(a){this.dispatchEvent({type:"dblclick",originalEvent:a})};
$.g.k$=function(){this.Ra=!1;this.Ja||WI(this,VI(this),!0);this.G.fill(this.Ob)};
$.g.$=function(){if(this.Bc()){var a=this.P(),b=a?a.Ha():null,c=b&&!b.ff();c&&b.suspend();this.ak().Zb()||this.ak().fc(ZI(this)).fc(YI(this)).fc(sea(this));this.J(2)&&(this.ak().parent(a),this.I(2));this.J(4)&&(this.Ya=this.lb(),this.Ga&&this.dispatchEvent({type:"splitterpositionchange",src:"drawing"}),this.B(80),this.I(4));this.J(16)&&(this.G.stroke(this.g).fill(this.ka),this.N.fill(this.ya).stroke(this.hc),this.j.fill(this.eb).stroke(this.nb),this.I(16));this.J(64)&&(YI(this).jc(1,0,0,1,0,0),this.D!=
this.U&&(a=VI(this)?this.Ya.Xd():this.Ya.ud(),this.U<=a&&(this.D=this.U,this.U>a-this.O&&(this.ga=a-this.U),this.position(this.Re))),this.O!=this.ga&&(a=VI(this)?this.Ya.Xd():this.Ya.ud(),this.ga<=a&&(this.O=this.ga,this.ga>a-this.D&&(this.U=a-this.ga),this.position(this.Re))),XI(this),this.I(64));this.J(8)&&(this.ak().zIndex(this.zIndex()),XI(this),this.I(8));c&&b.resume()}return this};$.g.remove=function(){this.Rc&&this.Rc.parent(null)};
$.g.R=function(){$.td(this.N,this.j,this.G,this.Rc);this.Rc=this.G=this.j=this.N=null;TI.u.R.call(this)};$.H($I,$.iu);$.g=$I.prototype;$.g.qa=$.iu.prototype.qa;$.g.sa=$.iu.prototype.sa|80;$.g.remove=function(){this.Rc&&this.Rc.parent(null)};$.g.position=function(a){return $.n(a)?(this.Re!=a&&(this.Re=a,this.B(64,1)),this):this.Re};$.g.stroke=function(a,b,c,d,e){if($.n(a)){var f=$.Yb.apply(null,arguments),h=$.Wo(f);if(this.g!=f||h!=this.D)this.g=f,this.D=h,this.B(80,1);return this}return this.g||"none"};
$.g.H_=function(a,b,c,d,e,f,h){if($.n(a)){var k=$.Vb.apply(null,arguments);this.G!=k&&(this.G=k,this.B(16,1));return this}return this.G||"none"};$.g.To=function(a){return $.n(a)?($.da(a)&&(this.N=a),this):this.N};$.g.ak=function(){this.Rc||(this.Rc=$.lk());return this.Rc};$.g.O9=function(){this.dispatchEvent("dragstart");this.O=!0;this.ga=$.xf($.Bp.body,"cursor");cJ(this).clear()};
$.g.Vn=function(){var a=this.b.pb();aJ(this);var b=this.Ya.left+this.Re+this.D/2;a=a.qb()+a.Xd()/2;this.j.clear().moveTo(b,this.Ya.top).lineTo(a,this.Ya.top).lineTo(a,this.Ya.top+this.Ya.height).lineTo(b,this.Ya.top+this.Ya.height).close();this.f.clear().moveTo(a,this.Ya.top).lineTo(a,this.Ya.top+this.Ya.height);this.dispatchEvent("drag")};$.g.N9=function(){this.O=!1;this.j.clear();var a=this.b.pb();this.U||aJ(this,!0);this.position(a.left+3-this.Ya.left);this.dispatchEvent("dragend")};
$.g.Nfa=function(a){a.preventDefault();this.bh(a)};$.g.P9=function(){this.U=!0;this.f.stroke("2 black")};$.g.Q9=function(){this.U=!1;this.O||aJ(this,!0);this.f.stroke(this.ba)};
$.g.$=function(){if(this.Bc()){var a=this.P(),b=a?a.Ha():null,c=b&&!b.ff();c&&b.suspend();this.ak().Zb()||this.ak().fc(cJ(this)).fc(tea(this)).fc(uea(this));this.J(2)&&(this.ak().parent(a),this.I(2));this.J(4)&&(this.Ya=this.lb(),this.N&&this.dispatchEvent("splitterpositionchange"),this.B(80),this.I(4));this.J(16)&&(this.f.stroke(this.g),this.j.fill(this.G),this.b.fill(this.ka),this.I(16));this.J(64)&&((0,window.isNaN)(this.Re)&&(this.Re=Math.round((this.Ya.width-this.D)/2)),this.N&&this.dispatchEvent("splitterpositionchange"),
bJ(this),this.I(64));this.J(8)&&(this.ak().zIndex(this.zIndex()),bJ(this),this.I(8));c&&b.resume()}return this};$.g.R=function(){$.td(this.j,this.b,this.f,this.Rc);this.Rc=this.f=this.b=this.j=null;$I.u.R.call(this)};$.H(dJ,$.Yq);dJ.prototype.qa=32770;dJ.prototype.sa=$.Yq.prototype.sa;var $L={};$.hq($L,[[1,"fill",$.Eq],[1,"stroke",$.Dq],[1,"placementStroke",$.Dq],[0,"enabled",$.Nq]]);$.U(dJ,$L);$.g=dJ.prototype;$.g.i=$.Xq;$.g.Qg=$.Wq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};
$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(this.Rb=null,null===a?($.Zq(this.Y,this.gN),this.Y=null):(this.Y&&$.Zq(this.Y,this.gN,this),this.Y=a,$.L(this.Y,this.gN,this))),this):this.Y};$.g.gN=function(a){var b=0;$.X(a,32768)&&(b|=32768);$.X(a,2)&&(b|=2);this.ta(b)};$.g.Od=function(a){return $.da(a)||null===a?{enabled:!!a}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?(a?this.ma.enabled=c.enabled:this.enabled(c.enabled),!0):!1};
$.g.X=function(a,b){dJ.u.X.call(this,a,b);$.zq(this,$L,a,b)};$.g.F=function(){var a=dJ.u.F.call(this);$.Hq(this,$L,a,void 0,void 0,!0);this.th("enabled")&&null!==a.enabled||delete a.enabled;return a};$.g.R=function(){this.Y&&($.Zq(this.Y,this.gN,this),this.Y=null);this.Rb=null;dJ.u.R.call(this)};$.H(eJ,$.od);eJ.prototype.reset=function(){fJ(this,null);this.f=this.g=null};eJ.prototype.R=function(){this.reset();this.oa=null;eJ.u.R.call(this)};$.H(jJ,$.iu);$.g=jJ.prototype;$.g.qa=$.iu.prototype.qa|$.oE|2;$.g.sa=$.iu.prototype.sa|208;$.g.Sk=function(){return this.sw};
$.g.Ec=function(a,b,c,d,e,f){this.D||(this.D=new $.rw);var h=this.controller.g,k={item:{value:a,type:""},name:{value:a.get("name"),type:"string"},id:{value:a.get("id"),type:"string"},linearIndex:{value:a.o("index")+1,type:"number"}};if(h){if($.n(b)){h=$.Gc(b);for(var l={},m=["start","end"],p=0;p<h.length;p++){var q=h[p];if(!$.Aa(m,q)){var r=b[q],t="";$.ea(r)?t="number":$.oo(r)?t="percent":$.z(r)&&(t="string");l[q]={value:r,type:t}}}this.D.nl(l)}else this.D.nl({});h=pJ(a,c);l=h.CM;(m=qJ(this,a))&&
(k.rowType={value:m,type:"string"});k.minPeriodDate={value:a.o("minPeriodDate"),type:"date-time"};k.maxPeriodDate={value:a.o("maxPeriodDate"),type:"date-time"};k.period={value:b,type:""};k.periodIndex={value:null!=c&&0<=c?c:void 0,type:"number"};k.periodStart={value:b?h.start:void 0,type:"date-time"};k.periodEnd={value:b?h.end:void 0,type:"date-time"};b=l?h.NH:k.periodEnd.value||k.maxPeriodDate.value;k.start={value:l?h.NH:k.periodStart.value||k.minPeriodDate.value,type:"date-time"};k.end={value:b,
type:"date-time"};k.barBounds={value:a.Yn("periodBounds",c),type:""}}else c=kJ(a),(b=qJ(this,a,c))&&(k.rowType={value:b,type:"string"}),k.actualStart={value:a.o("actualStart"),type:"date-time"},k.actualEnd={value:a.o("actualEnd"),type:"date-time"},b=nJ(a,c),k.progressValue={value:c.Ed,type:"percent"},k.autoStart={value:b?a.o("autoStart"):void 0,type:"date-time"},k.autoEnd={value:b?a.o("autoEnd"):void 0,type:"date-time"},k.start={value:c.start,type:"date-time"},k.end={value:c.end,type:"date-time"},
k.autoProgress={value:b?a.o("autoProgress"):void 0,type:"percent"},k.barBounds={value:a.o("relBounds"),type:""},k.progress={value:c.Ed,type:"percent"},k.baselineProgress={value:c.NQ?c.LZ:0,type:"percent"},c.BM&&(k.baselineStart={value:c.MZ,type:"date-time"},k.baselineEnd={value:c.KZ,type:"date-time"});$.n(d)&&(k.elementType={value:d,type:"string"});$.n(e)&&(k.hoverRatio={value:e,type:"number"});$.n(f)&&(k.hoverDateTime={value:f,type:"date-time"});this.D.Ag(a);return $.av(this.D,k)};$.g.Y8=$.ia;
$.g.Z8=$.ia;$.g.vY=$.ia;$.g.uY=$.ia;$.g.wY=$.ia;$.g.tY=$.ia;$.g.Y9=function(a){if(!this.lo)if(this.lm)if((a=this.cs(a))&&!this.Db.altKey){var b=$.Qc(a);b.type="rowMouseUp";b=this.Db.dispatchEvent(b);var c=this.Db.dispatchEvent(a);b&&c&&(this.Db.Q3(a),this.TO=!0)}else this.Db.qI(a);else this.lm=!0;this.lo=!1};$.g.SY=function(a){if(this.TO)this.TO=!1;else{var b=this.cs(a);this.vY(b,a);b&&this.lm&&this.Db.dispatchEvent(b)&&this.Db.U3(b);b||this.Xa().Oc()}};
$.g.X9=function(a){switch(a.type){case "dblclick":a=this.cs(a);this.tY(a);this.lm?a&&this.Db.dispatchEvent(a)&&this.Db.R3(a):this.lm=!0;break;case "mousedown":case "touchstart":this.RY(a);break;case "mouseup":case "touchend":a=this.cs(a);this.wY(a);this.lm&&a&&this.Db.dispatchEvent(a)&&this.Db.PN(a);this.Xa().Oc();break;case "contextmenu":this.Db.dispatchEvent(a)}};$.g.Z9=function(a){this.lm&&(a=this.cs(a))&&this.Db.dispatchEvent(a)&&this.Db.V3(a)};
$.g.RY=function(a){var b=this.cs(a);this.uY(b);this.lm&&(a.preventDefault(),b&&this.Db.dispatchEvent(b)&&this.Db.pI(b))};$.g.Q3=function(a){this.QN(a)};$.g.R3=function(a){this.ON(a)};$.g.QN=function(a){this.lm&&OJ(this,a.item)&&(a=$.Qc(a),a.type="rowSelect",this.Db.dispatchEvent(a))};$.g.ON=function(a){if((a=a.item)&&nJ(a)){var b=!a.o("collapsed");this.Db.dispatchEvent({type:"rowcollapseexpand",item:a,collapsed:b})&&a.o("collapsed",b)}};
$.g.U3=function(a){if(!this.di){this.Db.fo(a.hoveredIndex,a.startY,a.endY);var b=this.Xa(),c=this.Ec(a.item,a.period,a.periodIndex);$.Aw(b,a.originalEvent.clientX,a.originalEvent.clientY,c)}};$.g.V3=function(){this.Db.fo()};$.g.PN=$.ia;$.g.pI=$.ia;$.g.gV=$.ia;
$.g.cs=function(a){if(this.So.length){var b=this.controller.D,c=this.controller.mg(),d,e=a.type;switch(e){case "mouseout":e="rowMouseOut";0<=this.ba&&(d=b[c+this.ba]);break;case "mouseover":e="rowMouseOver";break;case "mousemove":case "touchmove":e="rowMouseMove";break;case "mousedown":case "touchstart":e="rowMouseDown";break;case "mouseup":case "touchend":e="rowMouseUp";break;case "click":e="rowClick";break;case "dblclick":e="rowDblClick"}e={type:e,actualTarget:a.target,target:this,originalEvent:a};
var f=this.ea.top+this.g+1,h=this.ea.top+$.Wj(this.P().Ha()).y+this.g;a=a.clientY-h;h=this.So.length?this.So[this.So.length-1]:0;if(d)e.item=d;else{if(0>a||a>h)return null;d=$.Na(this.So,a);h=(this.ba=d=0<=d?d:~d)?this.So[d-1]:0;f+=h;var k=f+(this.So[d]-h-this.oo);e.item=b[c+d];e.startY=f;e.endY=k;e.hoveredIndex=this.ba;e.index=c+d;e.itemHeightMouseRatio=(a-h)/(this.So[d]-h)}e.item&&(b=qJ(this,e.item))&&(e.rowType=b);return e}return null};
$.g.bf=function(a){this.Ci||(this.Ci=new dJ,$.W(this,"edit",this.Ci),$.L(this.Ci,this.dN,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Ci.K(a),this):this.Ci};$.g.dN=function(a){$.X(a,2)&&NJ(this)};$.g.Ir=function(a){yJ(this).clip(a);this.GA&&this.GA.clip(a);this.dB&&this.dB.clip(a);vJ(this).clip(a)};var aM={};$.hq(aM,[[1,"backgroundFill",$.Eq],[1,"rowFill",$.Eq],[1,"rowStroke",$.Dq],[1,"rowEvenFill",$.Eq],[1,"rowOddFill",$.Eq],[1,"rowHoverFill",$.Bq],[1,"rowSelectedFill",$.Bq]]);
$.U(jJ,aM);var HJ={};$.g=jJ.prototype;$.g.qG=function(a,b){var c=this.i(a);return null!=c?c:this.i(b)};$.g.zc=function(a,b,c){return"rowSelectedFill"==a||"rowHoverFill"==a||"selectedElementFill"==a||"selectedElementStroke"==a?c(this.i(a)):c(this.qG(a,-1!=a.indexOf("Fill")?"baseFill":"baseStroke"))};
$.g.Ae=function(a,b,c,d,e,f){var h=this.Db.cc();switch(a){case "baseFill":a=h.nc(0);break;case "baseStroke":a=$.Hl(h.nc(0));break;case "progressFill":a=h.nc(1);break;case "progressStroke":a={color:"#fff",opacity:1E-5};break;case "baselineFill":a=$.Hl(h.nc(1),.7);break;case "baselineStroke":a=$.Il($.Hl(h.nc(1),.7));break;case "parentFill":a=h.nc(4);break;case "parentStroke":a=$.Hl(h.nc(4));break;case "milestoneFill":a=h.nc(9);break;case "milestoneStroke":a=$.Il(h.nc(9));break;case "selectedElementFill":a=
h.nc(2);break;case "selectedElementStroke":a=$.Il(h.nc(2));break;case "selectedConnectorStroke":a=$.Ol($.Hl(h.nc(2)),2);break;case "rowHoverFill":a=$.wm("ganttBase").defaultRowHoverFill;break;case "rowSelectedFill":a=$.wm("ganttBase").defaultRowSelectedFill;break;default:a="blue"}a={sourceColor:a};null!=b&&($.n(d)?(a.fromItem=b,a.fromItemIndex=b.o("index"),a.toItem=c,a.toItemIndex=c.o("index"),a.connType=d):(a.item=b,a.itemIndex=b.o("index")),$.n(e)&&($.n(f)?(b=b.get("periods")[e],c=c.get("periods")[f],
a.fromPeriod=b,a.fromPeriodIndex=e,a.toPeriod=c,a.toPeriodIndex=f):(f=b.get("periods")[e],a.period=f,a.periodIndex=e)));return a};$.g.Fi=function(){return{sourceHatchFill:this.ph()}};$.g.ph=function(){return $.$b("diagonal-brick")};$.g.cc=function(a){if($.K(a,$.ys))return this.Ic($.ys,a),this;if($.K(a,$.vs))return this.Ic($.vs,a),this;$.D(a)&&"range"==a.type?this.Ic($.ys):($.D(a)||null==this.Ea)&&this.Ic($.vs);return $.n(a)?(this.Ea.K(a),this):this.Ea};
$.g.Ic=function(a,b){if($.K(this.Ea,a))b&&this.Ea.K(b);else{var c=!!this.Ea;$.qd(this.Ea);this.Ea=new a;b&&this.Ea.K(b);$.L(this.Ea,this.If,this);c&&this.B(128,1)}};$.g.If=function(a){$.X(a,2)&&this.B(128,1)};$.g.G_=function(a){$.K(a.b,$.hg)&&!this.Jg&&(this.Jg=new PJ(this.Rc,this),this.Jg.ra("drag",this.Vn,!1,this),this.Jg.ra("end",this.QY,!1,this),this.Jg.Tj(a.Vj))};
$.g.Vn=function(a){this.di=!0;if(this.bf().i("enabled")&&!this.Ge&&(sJ(this,!0),this.lm=!1,this.Db.fo(),this.Xa().Oc(),a=this.cs(a))){var b=a.item,c=a.itemHeightMouseRatio,d=a.startY,e=a.endY;this.Zi?(b&&b!=this.Zi&&!b.fD(this.Zi)?.2>c||.8<c?this.Db.jv(.2>c?d:e,void 0,"auto"):lJ(b)?this.Db.jv(void 0,void 0,"not-allowed"):this.Db.jv(d,e,"auto"):this.Db.jv(void 0,void 0,"not-allowed"),this.Y8(a)):(a=this.ea.top+$.Wj(this.P().Ha()).y+this.g,this.Db.jv(a+this.So[this.So.length-1],void 0,"auto"))}this.Xa().Oc();
this.lo=!0};
$.g.QY=function(a){if(this.bf().enabled()&&!this.Ge){var b=this.cs(a),c=this.controller.data();this.Z8(b);if(b){a=b.item;var d=b.hoveredIndex;d=this.controller.mg()+d;var e=this.controller.D;b=b.itemHeightMouseRatio;var f=.2>b;b=.8<b;if(this.Zi&&a&&a!=this.Zi&&!a.fD(this.Zi))if(f||b)if(f?(f=e[d-1],d=a):(f=a,d=e[d+1]),f&&d){e=f.o("depth");var h=d.o("depth");b?(c=a.getParent()||c,c.og(this.Zi,c.pf(a)+1)):e==h?(c=d.getParent()||d.xq(),a=c.pf(d),b=this.Zi.getParent()||this.Zi.xq(),b==c&&b.pf(this.Zi)<a&&
(a=Math.max(0,a-1)),c.og(this.Zi,a)):e<h?f.og(this.Zi,0):f.fD(this.Zi)||(c=a.getParent()||c,a=c.pf(a),c.og(this.Zi,a))}else d?(c=d.xq(),c.og(this.Zi,0)):f&&(c=f.getParent()||f.xq(),a=c.pf(f)+1,c.og(this.Zi,a));else lJ(a)||a.fc(this.Zi)}else this.Zi&&(b=this.ea.top+$.Wj(this.P().Ha()).y+this.g,a.clientY<b?c.og(this.Zi,0):c.fc(this.Zi));this.Db.jv(void 0,void 0,"auto");this.Zi=null}this.Ge=!1;$.yj(function(){this.lo=!1},10,this);this.Jg.reset();this.di=!1;this.lm=!0;(0,window.clearInterval)(this.Fn);
this.Fn=null;sJ(this,!1)};
$.g.bS=function(){var a=this.ea.top+this.g+1,b=this.controller.Wl(),c=this.controller.mg(),d=this.controller.wj(),e=this.controller.D,f=a-b;this.Db.fo();this.So.length=0;BJ(this).clear();AJ(this).clear();DJ(this).clear();EJ(this).clear();var h=!1,k,l;if(this.Db.ga&&(k=this.Db.ga.sj)&&(l=this.Db.ga.mK)){this.gp=this.gp||{};h=!0;for(var m in k){if(!(m in this.gp)){var p=uJ(this).path();p.stroke(null).zIndex(5);this.gp[m]=p}this.gp[m].clear()}}m=this.oo%2&&"svg"===$.hk?.5:0;for(p=c;p<=d;p++){var q=e[p];
if(!q)break;var r=p==c;f=r?a:f;var t=xI(this.controller,q);t=r?t-b+1:t;var u=p%2?this.ka:this.ya;r=f+t;$.Vo(u.fill())||u.moveTo(this.ea.left,f).lineTo(this.ea.left+this.f,f).lineTo(this.ea.left+this.f,r).lineTo(this.ea.left,r).close();q.o("selected")&&(fJ(this.Db.Sk(),q),this.Ra.clear().moveTo(this.ea.left,f).lineTo(this.ea.left+this.ea.width,f).lineTo(this.ea.left+this.ea.width,r).lineTo(this.ea.left,r).close());if(h){t=this.Db.ga.state;for(var v=0;v<l.length;v++)if((u=(0,l[v])(q,t))&&u in k){q=
k[u];u=this.gp[u];u.moveTo(this.ea.left,f).lineTo(this.ea.left+this.f,f).lineTo(this.ea.left+this.f,r).lineTo(this.ea.left,r).close().fill(q);break}}f=r+this.oo;q=Math.floor(f-this.oo/2)+m;this.Ja.moveTo(this.ea.left,q).lineTo(this.ea.left+this.f,q);q=f-a;this.So.push(q);this.d5=q}a=new $.J(this.ea.left,this.ea.top-1,this.ea.width,f-this.ea.top+1);this.Ir(a);return a};
$.g.ly=function(a){JJ(this);var b=a.deltaX,c=a.deltaY,d=0<Math.abs(c),e=0<Math.abs(b);if($.wC||$.gd)b*=18,c*=18;var f=!$.Bp.body.scrollLeft,h=this.Zp(),k=QI(this.controller),l=!1;var m=!1;d&&(m=0>c,d=kI(k),k=lI(k),m=d||1!=k?0<d&&1>k||!d&&!m&&1!=k||1==k&&m&&0!=d:!1);e&&(e=0>b,l=kI(h),h=lI(h),l=e?l||1!=h?0<l&&1>h||1==h&&0!=l||!l&&f:f:l||1!=h?0<l&&1>h||!l&&1!=h:!1);if(m||l)a.preventDefault(),this.scroll(b,c)};$.g.lV=function(a){$.X(a,2)&&this.ta(1)};$.g.hp=function(){this.Xa().$()};$.g.Iu=$.ia;
$.g.Mr=$.ia;$.g.Fu=function(a){return $.n(a)?(wI(this.controller,a),this):wI(this.controller)};
$.g.uj=function(a){a&&this.B(64);if(!this.Bc())return this;var b=this.P();(a=b?b.Ha():null)&&a.suspend();if(!tJ(this).Zb()){this.eb=this.Rc.rect();this.eb.fill(this.i("backgroundFill")).stroke(null).zIndex(10);this.Eh=this.Rc.rect();this.Eh.fill($.Ul).stroke(null).zIndex(20);this.ZT(this.Rc);if(this.Rt){var c=QI(this.controller);$.L(c.P(zJ(this)),function(a){$.X(a,8)?this.B(4,1):c.$()},this)}var d=this.Zp();$.L(d.P(zJ(this)),function(a){$.X(a,1)&&d.$()},d);this.Rc.ve("mousedown",this.G_,!1,this);
this.Rc.ve("touchstart",this.G_,!1,this);$.Ep()&&this.Rc.ve("mousemove",function(){KJ(this);MJ(this)},!1,this);this.oM();this.Gk=a.rect();this.Gk.stroke("none").fill("#000 0.1").zIndex(1E10)}this.J(2)&&(this.Rc.parent(b),this.I(2));this.J(4)&&(b=this.lb(),this.ea=$.Po(b,0),this.Rc.clip(this.ea),this.eb.uf(this.ea),this.Eh.uf(this.ea),this.f=this.ea.width,this.FX&&this.Gk.uf(this.ea),b=this.ea.top+this.g+.5,GJ(this).clear().moveTo(this.ea.left,b).lineTo(this.ea.left+this.f,b),this.Rt&&(c=QI(this.controller),
b=c.TB(),c.Za(this.ea.left+this.ea.width-b-1,this.ea.top+this.bk()+b+1,b,this.ea.height-this.bk()-2*b-2)),d=this.Zp(),b=d.TB(),d.Za(this.ea.left+b,this.ea.top+this.ea.height-b-1,this.ea.width-2*b,b),this.Ay=!0,this.Mr(),this.I(4));this.J(64)&&(this.Xa().Oc(),this.Ay=!0,this.GV(),this.I(64));if(this.J(16)){this.eb.fill(this.i("backgroundFill"));b=this.i("rowFill");var e=this.i("rowOddFill");e=$.Vo(e)?b:e;var f=this.i("rowEvenFill");f=$.Vo(f)?b:f;AJ(this).fill(e);BJ(this).fill(f);b=this.Db.Sk().b;b=
IJ("rowSelectedFill",1)(this,0,b);DJ(this).fill(b);var h;b=this.i("rowStroke");$.z(b)?h=b:$.D(b)&&b.color&&(h=b.color);h&&GJ(this).stroke(h);EJ(this).stroke(b);this.Iu();NJ(this);this.I(16)}this.J(8)&&(tJ(this).zIndex(this.zIndex()),this.I(8));this.J(128)&&(this.Ay=!0,this.I(128));this.MW();this.Ay&&(this.bS(),this.i3(),this.Ay=!1);this.dr();this.q2();a&&a.resume();this.Rt&&a&&!this.Ml&&a.ve("stagerendered",function(){KJ(this);MJ(this)},void 0,this);return this};$.g.oM=$.ia;$.g.ZT=$.ia;$.g.ID=$.ia;
$.g.yH=function(a){(this.FX=a)?this.Gk.uf(this.ea):this.Gk.uf(new $.J(0,0,0,0))};
$.g.fo=function(a,b,c){var d=!1,e=!1;if($.n(a)&&$.n(b)&&$.n(c)){if(this.hj!=b||this.dh!=c)this.ba=a,this.hj=b,this.dh=c,d=0<=this.ba}else 0<=this.ba&&(this.ba=-1,this.dh=this.hj=window.NaN),e=!0;d?(a=this.controller.D[a],a=IJ("rowHoverFill",1)(this,0,a),CJ(this).clear().fill(a).moveTo(this.ea.left,this.hj).lineTo(this.ea.left+this.ea.width,this.hj).lineTo(this.ea.left+this.ea.width,this.dh).lineTo(this.ea.left,this.dh).close()):e&&CJ(this).clear()};
$.g.jv=function(a,b,c){var d=FJ(this);$.n(a)?$.n(b)?d.clear().moveTo(this.ea.left,a).lineTo(this.ea.left+this.f,a).lineTo(this.ea.left+this.f,b).lineTo(this.ea.left,b).close().stroke(this.bf().i("stroke")):d.clear().moveTo(this.ea.left,a).lineTo(this.ea.left+this.f,a).stroke(this.bf().i("placementStroke")):d.clear();$.n(c)&&$.uf($.Bp.body,"cursor",c)};
$.g.TR=function(a){var b=this.P();if(b){var c=$.Wj(b.Ha());b=this.ea.top+c.y+this.g+10;var d=c.y+this.ea.height-10-10;c=c.x+this.ea.left+10;var e=c+this.ea.width-10-10,f=a.clientX,h=a.clientY;this.Bw=this.hu=0;if(f<c||f>e)this.hu=f-c;if(h<b||h>d)this.Bw=h-b;var k=this;!this.di||this.Fn||this.Ge||(this.Fn=(0,window.setInterval)(function(){k.gV(a)},100))}};$.g.KR=function(a){this.Ge=a};$.g.NF=function(){};$.g.GV=$.ia;$.g.i3=$.ia;$.g.remove=function(){this.Rc&&this.Rc.parent(null)};$.g.MW=function(){};
$.g.dr=$.ia;$.g.q2=$.ia;$.g.qI=function(a){this.controller.data()&&(this.Db==this&&this.dispatchEvent({type:"rowSelect",actualTarget:a?a.target:this,target:this,originalEvent:a,item:null,prevItem:this.Db.Sk().b}),this.Db.Sk().reset(),this.B(64,1))};$.g.data=function(a){var b=this.controller.data();return $.n(a)?(a!=b&&$.K(a,$.Nt)&&this.controller.data(a),this):b};
$.g.$=function(){this.fd||(this.ea&&!this.ea.height&&this.ea.height||(this.ea=this.lb()),PI(KI(this.controller,this.ea.height-this.g-1).oo(this.oo)));return this};$.g.wj=function(a){return $.n(a)?(this.controller.wj(a),this):this.controller.wj()};$.g.W9=function(){return this.controller.D};$.g.mg=function(a){return $.n(a)?(this.controller.mg(a),this):this.controller.mg()};
$.g.bk=function(a){return $.n(a)?(this.g!=a&&(this.g=a,this.ea||(this.ea=this.lb()),this.Rt&&KI($.V(this.controller),this.ea.height-a-1).da(!1),this.B(4,1)),this):this.g};$.g.Xa=function(a){this.gb||(this.gb=new $.iw(0),$.W(this,"tooltip",this.gb),$.L(this.gb,this.hp,this),$.mw(this.gb,this));return $.n(a)?(this.gb.K(a),this):this.gb};$.g.QL=function(a){return this.Xa(a)};$.g.Wl=function(a){return $.n(a)?(this.controller.Wl(a),this):this.controller.Wl()};
$.g.R=function(){$.Sd(window.document,"mousemove",this.TR,!1,this);this.Ci&&$.Zq(this.Ci,this.dN,this);this.gb&&$.Zq(this.gb,this.hp,this);this.Db.me&&(this.Db.me.ll(),$.qd(this.Db.me));$.Zq(this.controller,this.lV,this);this.Jg&&(this.Jg.ac("drag",this.Vn,!1,this),this.Jg.ac("end",this.QY,!1,this));$.td(this.Ea,this.Ci,this.gb,this.Eh,this.eb,this.Jg,this.Tc,this.Tf,this.Ja,this.Ra,this.Bd,this.ka,this.ya,this.Ud,this.nb,this.xc,this.ab,this.Ob,this.GA,this.dB,this.Gq,this.Rc,this.sw);this.sw=this.Ci=
this.Rc=this.Gq=this.dB=this.GA=this.Ob=this.ab=this.xc=this.nb=this.Ud=this.ya=this.ka=this.Bd=this.Ra=this.Ja=this.Tf=this.Tc=this.Jg=this.controller=this.eb=this.Eh=this.gb=null;jJ.u.R.call(this)};$.g.F=function(){var a=jJ.u.F.call(this);if(a.isStandalone=this.Rt)a.controller=this.controller.F(),a.defaultRowHeight=this.Fu(),a.palette=this.cc().F();$.Hq(this,aM,a,void 0,void 0,!0);a.headerHeight=this.g;a.edit=this.bf().F();return a};
$.g.X=function(a,b){jJ.u.X.call(this,a,b);(this.Rt="isStandalone"in a?a.isStandalone:"controller"in a)&&"controller"in a&&(this.controller=new vI(void 0),$.L(this.controller,this.lV,this),this.controller.K(a.controller),this.Fu(a.defaultRowHeight),this.cc(a.palette));$.zq(this,aM,a,b);"tooltip"in a&&this.Xa().ia(!!b,a.tooltip);this.bk(a.headerHeight);"edit"in a&&this.bf().ia(!!b,a.edit)};$.H(PJ,$.ag);PJ.prototype.Hq=function(){this.deltaY=this.deltaX=0};
PJ.prototype.Rr=function(a,b){if(this.b.Db.altKey||!this.b.bf().enabled()&&!this.b.Ge){var c=this.x-a,d=this.y-b;this.x=a;this.y=b;this.b.scroll(c,d)}};PJ.prototype.reset=function(){this.y=this.x=0};$.H(LJ,$.zp);LJ.prototype.TD=function(){LJ.u.TD.call(this);this.b.altKey=!1};LJ.prototype.XL=function(a,b){LJ.u.XL.call(this,a,b);$.Id($.fl,["visibilitychange","blur"],this.TD,!1,this)};LJ.prototype.IG=function(){LJ.u.IG.call(this);$.Sd($.fl,["visibilitychange","blur"],this.TD,!1,this)};$.H(QJ,$.zg);
$.g=QJ.prototype;$.g.reset=function(){this.fill(null).stroke(null).clear();this.wR=null;this.type=void 0;this.label&&(this.label.oi(),this.label.enabled(!1),this.label.$());this.vb=this.item=this.zU=this.label=null;this.lq=void 0};$.g.wR=null;$.g.label=null;$.g.zU=null;$.g.item=null;$.g.vb=null;$.g.lq=void 0;$.H(TJ,$.Y);$.g=TJ.prototype;$.g.sa=$.Y.prototype.sa|208;$.g.qa=$.Y.prototype.qa;$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};$.g.state=function(a){return $.n(a)?(this.Xb!=a&&(this.Xb=a,this.B(20,1)),this):this.Xb};$.g.Le=function(){return 2==this.Xb};$.g.co=function(a){!this.Le()&&this.bh(a)&&this.state(1)};$.g.Gg=function(a){!this.Le()&&this.bh(a)&&this.state(0)};
$.g.Fv=function(a){this.bh(a)&&(this.Le()?this.state(1):this.state(2))};$.g.padding=function(a,b,c,d){this.Pa||(this.Pa=new $.tu,$.L(this.Pa,this.Pl,this));return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this):this.Pa};$.g.Pl=function(a){$.X(a,2)&&this.B(4,9)};var bM={};$.hq(bM,[$.Z.U5,$.Z.nJ,$.Z.lJ]);$.U(TJ,bM);var wea=[["cursor",128,1],["width",4,1],["height",4,1]],SJ=$.jq(),RJ,cM={};$.T(cM,[["background",0,0],["content",20,1]]);$.vq(cM,20,16,1,1);RJ=cM;$.xq(TJ,$.Gc(RJ),"normal");$.g=TJ.prototype;
$.g.remove=function(){this.va&&this.va.parent(null)};
$.g.$=function(){if(!this.Bc())return this;$.V(this);this.va||(this.va=$.lk(),this.Ka=new $.ku,this.Ka.ia(!0,this.zc("background")),this.Ka.zIndex(0),this.Ka.P(this.va),this.Ka.ib(this),this.Jt=this.va.rect().stroke(null).fill($.Ul).zIndex(999),$.du(this,this.Jt,this.co,this.Gg,this.Fv,null));this.Sc||(this.Sc=$.pk().zIndex(1));this.pd||(this.pd=$.nk().zIndex(1).stroke(null).fill(null));var a=this.zc("content");this.zM=$.z(a)||$.ea(a);this.M1=$.E(a);this.pd.parent(null);this.Sc.parent(null);this.zM?
this.Sc.parent(this.va):this.M1&&(this.pca=a,this.pd.parent(this.va));this.J(2)&&(this.va.parent(this.P()),this.I(2));this.J(8)&&(this.va.zIndex(this.zIndex()),this.I(8));this.J(128)&&(this.Jt.cursor(this.i("cursor")),this.I(128));this.J(16)&&this.zM&&this.Lh();this.J(4)&&(this.nx(),this.B(80),this.I(4));this.J(16)&&(this.zM&&this.yx(),this.I(16));this.J(64)&&(this.$K(),this.I(64));this.da(!1);return this};
$.g.Rn=function(a,b,c,d){var e=this.zc("adjustFontSize");if(e)if(e.width&&e.height){if(a>c||b>d)return 1;if(a<c||b<d)return-1}else if(e.width){if(a>c)return 1;if(a<c)return-1}else if(e.height){if(b>d)return 1;if(b<d)return-1}return 0};
$.g.TQ=function(a,b){var c=this.zc("minFontSize"),d=this.zc("maxFontSize"),e=Math.round((d+c)/2),f=d,h=$.pk();h.ee("aria-hidden","true");this.Lh(h);h.fontSize(d);var k=h.pb();k=this.Rn(k.width,k.height,a,b);if(0>=k)return d;h.fontSize(e);k=h.pb();for(d=k=this.Rn(k.width,k.height,a,b);c!=f;){if(0>k)c=Math.min(e+1,f),e+=Math.floor((f-e)/2);else if(0<k)f=Math.max(e-1,c),e-=Math.ceil((e-c)/2);else break;h.fontSize(e);k=h.pb();k=this.Rn(k.width,k.height,a,b);if(0>=d*k)break}if(!k)return $.qd(h),e;do e+=
d,h.fontSize(e),k=h.pb(),k=this.Rn(k.width,k.height,a,b);while(0>d*k);$.qd(h);return e};$.g.AB=function(){var a=this.zc("adjustFontSize");return a&&(a.width||a.height)};$.g.yx=function(){if(this.AB()){var a=this.TQ(this.yi,this.wi);this.Sc.fontSize(a)}this.Sc.x(this.ug);this.Sc.y(this.vg-1);this.Sc.clip(this.vl)};$.g.$K=function(){$.V(this.Ka);this.Ka.ja(this.vl);this.Ka.ia(!1,this.zc("background"));this.Ka.$();this.Ka.da(!1)};$.g.gg=function(a){$.X(a,1)&&(a.target.I(4294967295),this.ta(1))};
$.g.Qg=function(){return this.wO[this.Xb]};$.g.zc=function(a){if("background"==a){a={};var b=$.Ga(a,this.aK[this.Xb]);$.Sc.apply(null,b)}else a=$.Xq.call(this,a);return a};
$.g.Lh=function(a){var b=a||this.Sc;b.color(this.zc("fontColor"));b.opacity(this.zc("fontOpacity"));b.rm(this.zc("selectable"));b.td(this.zc("disablePointerEvents"));if(this.J(4)||a){a=this.zc("content");var c=this.zc("useHtml");$.n(a)&&(c?b.htmlText(a):b.text(a));b.fontFamily(this.zc("fontFamily"));b.fontStyle(this.zc("fontStyle"));b.fontVariant(this.zc("fontVariant"));b.fontWeight(this.zc("fontWeight"));b.fontSize(this.zc("fontSize"));b.Lq(this.zc("fontDecoration"));b.direction(this.zc("textDirection"));
b.wu(this.zc("wordBreak"));b.wordWrap(this.zc("wordWrap"));b.letterSpacing(this.zc("letterSpacing"));b.lineHeight(this.zc("lineHeight"));b.textIndent(this.zc("textIndent"));b.textShadow(this.zc("textShadow"));b.vAlign(this.zc("vAlign"));b.km(this.zc("hAlign"));b.textOverflow(this.zc("textOverflow"))}};
$.g.nx=function(){var a=this.ja(),b,c,d=this.i("width"),e=this.i("height"),f=0,h=0;if(a){var k=a.width;var l=a.height;null!=d?(this.yi=b=$.M(d,k),f=Math.abs(b),a=!1):(b=0,a=!0);if(null!=e){this.wi=c=$.M(e,l);h=Math.abs(c);var m=!1}else c=0,m=!0}else $.wo(d)?(a=!0,b=0):(a=!1,this.yi=b=$.N(d),f=Math.abs(b)),$.wo(e)?(m=!0,c=0):(m=!1,this.wi=c=$.N(e),h=Math.abs(c));var p=$.Pm(this.Re);p.x=k?$.M(p.x,k):0;p.y=l?$.M(p.y,l):0;this.zM&&(k=this.padding(),this.Sc.width(null),this.Sc.height(null),a?(this.Ym=
b+=this.Sc.pb().width,this.yi=k.rk(b)):this.Ym=k.wg(f),this.Sc.width(this.Ym),m?(this.Wm=c+=this.Sc.pb().height,this.wi=k.Jj(c)):this.Wm=k.Jh(h),this.Sc.height(this.Wm),this.ug=$.M(k.i("left"),this.yi),this.vg=$.M(k.i("top"),this.wi),this.ug+=p.x,this.vg+=p.y);this.M1&&(d={path:this.pd,width:d,height:e,state:this.Le()?"selected":1==this.Xb?"hovered":"normal"},this.pca.call(d,this.pd),d=this.pd.pb(),a&&(this.yi=d.left+d.width),m&&(this.wi=d.top+d.height),this.pd.jc(1,0,0,1,p.x,p.y));this.vl=new $.J(p.x,
p.y,this.yi,this.wi);this.Jt.uf(this.vl)};$.g.position=function(a){return $.n(a)?(this.Re=a,this.B(4,9),this):this.Re};$.g.F=function(){var a=TJ.u.F.call(this);$.Hq(this,bM,a,"Button");a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();a.padding=this.padding().F();return a};$.g.X=function(a,b){TJ.u.X.call(this,a,b);$.zq(this,bM,a,b);this.padding().ia(!!b,a.padding);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected)};
$.g.R=function(){$.td(this.Jt,this.Sc,this.pd,this.Ka,this.va,this.Pa);this.Pa=this.va=this.Ka=this.pd=this.Sc=this.Jt=null;$.td(this.ca,this.xa,this.Ca);this.Ca=this.xa=this.ca=null;TJ.u.R.call(this)};var dM=TJ.prototype;dM.normal=dM.Sa;dM.hovered=dM.mb;dM.selected=dM.selected;dM.padding=dM.padding;$.H(UJ,TJ);UJ.prototype.ld=function(){this.ca.Fa(this.ma);$.W(this,"normal",this.ca);this.ca.ia(!0,{});$.W(this.ca,"background",this.ca.background());$.W(this,"hovered",this.xa);this.xa.ia(!0,{});$.W(this.xa,"background",this.xa.background());$.W(this,"selected",this.Ca);this.Ca.ia(!0,{});$.W(this.Ca,"background",this.Ca.background())};
UJ.prototype.Fv=function(a){this.ib(null);if(this.bh(a)){this.Le()?this.state(1):this.state(2);a=this.ke;var b=!this.Le(),c=a.controller.D[this.b];if(c){var d={item:c,collapsed:b};c.get("anychartIsLoadable")&&!c.Zb()?(d.type="ganttloaddata",b=$.n(b)?b:!1,c.o("collapsed",b),$.up(a.Db,d)):c.Zb()&&(d.type="rowcollapseexpand",a.Db.dispatchEvent(d)&&c.o("collapsed",b))}}this.ib(this.ke)};$.H(VJ,$.Y);VJ.prototype.sa=$.Y.prototype.sa|4048;VJ.prototype.qa=$.Y.prototype.qa|$.oE|$.pE|4096;var eM={};$.gq(eM,0,"width",$.Qq);$.gq(eM,0,"defaultWidth",$.qq);$.gq(eM,0,"collapseExpandButtons",$.uq);$.gq(eM,0,"depthPaddingMultiplier",$.qq);$.U(VJ,eM);$.g=VJ.prototype;
$.g.Vha=function(a,b){var c=$.z(b)?xea(this.ke,b):b;if($.D(c)){$.V(this);var d=c.formatter,e=c.width;c=c.textStyle;$.n(d)&&this.labels().format(function(){return d(this.item.get(a))});$.n(e)&&(this.width(e),this.defaultWidth(e));$.n(c)&&this.labels(c);this.da(!0)}return this};$.g.cca=function(){return""};$.g.LF=$.ia;$.g.Rba=function(a){if($.X(a,16)){WJ(this);a=2048;if(fI(this.labels())||this.mD!=this.LF)a|=1024;$.td(this.kw);this.kw.length=0;this.B(a)}};
$.g.xy=function(){var a;this.Gr=this.ke.controller.Gr;if($.Ep()){var b=this.ke.lw,c=[];for(a=b.first;a<=b.Tv;a++)this.re[a]||(this.re[a]=new $.vx),c.push(this.re[a]);return c}if(!this.re.length)for(a=0;a<this.Gr.length;a++)b=new $.vx,this.re.push(b);return this.re};$.g.NB=function(a){var b=this.mD!=this.LF,c;if($.Ep()){var d=this.ke.lw;for(c=d.first;c<=d.Tv;c++)XJ(this,c,b,a)}else for(c=0;c<this.re.length;c++)XJ(this,c,b,a)};$.g.la=function(){return this.wd};
$.g.labels=function(a){this.Il||(this.Il=new $.ux,this.Il.Fa("ganttDefaultSimpleLabelsSettings"),0==this.wd?this.Il.Fa({format:"{%linearIndex}"}):1==this.wd&&this.Il.Fa({format:"{%name}"}),$.L(this.Il,this.AU,this));return $.n(a)?(this.Il.K(a),this.B(128,1),this):this.Il};
$.g.AU=function(a){var b=0,c=1;$.X(a,1)&&(b|=512,$.Ep()&&(c|=4096));$.X(a,8)&&(b|=1024,c|=4096);$.X(a,2)&&(b|=128,c|=4096);$.X(a,32768)&&(b|=128,this.Il.enabled()&&(c|=4096));$.Ep()&&c&4096&&(this.ke.lw.reset=!0,NI(this.ke.controller),this.ke.Db.dispatchEvent("workingcancel"),this.I(b));this.B(b,c)};$.g.X1=function(a){return $.n(a)?(this.mD=a||this.LF,$.td(this.kw),this.kw.length=0,this.B(1024,1),this):this.mD};
$.g.title=function(a){this.sb||(this.sb=new $.Nv,$.W(this,"title",this.sb),$.V(this.sb),this.sb.P(YJ(this)).margin(0),this.sb.da(!1),$.L(this.sb,this.uq,this),this.sb.ib(this));return $.n(a)?($.V(this),this.sb.K(a),this.sb.P(YJ(this)),this.da(!0),this):this.sb};$.g.uq=function(a){$.X(a,1)&&this.ke.B(16,9)};$.g.ak=function(){this.Rc||(this.Rc=$.lk());return this.Rc};$.g.position=function(a){return $.n(a)?(this.Re&&this.Re.x==a.x&&this.Re.y==a.y||(this.Re=a,this.Ya=null,this.B(4,9)),this):this.Re};
$.g.height=function(a){return $.n(a)?(this.nf!=a&&(this.nf=a,this.Ya=null,this.B(4,9)),this):this.nf};$.g.US=function(){this.Fh||(this.nm=$.kg().Jq(),this.Fh=new $.Uh(this.nm));return this.Fh};$.g.remove=function(){this.Rc&&this.Rc.parent(null);this.ke.B(512,1)};$.g.nx=function(){if(this.Ya)return this.Ya;var a=this.ke.lb(),b=$.M(this.i("width")||0,a.width);b=Math.max(fM,b);var c=$.M(this.nf||0,a.height),d=$.Pm(this.Re);return this.Ya=new $.J(a.left+d.x,a.top+d.y,b,c)};$.g.lb=function(){return this.nx()};
$.g.uba=function(a){$.X(a,1)&&this.B(256,1)};
$.g.$=function(){if(this.Bc()){var a=this.P(),b=a?a.Ha():null,c=b&&!b.ff();c&&b.suspend();this.ak().Zb()||this.ak().fc(this.US()).fc($J(this)).fc(YJ(this));this.J(2)&&(this.ak().parent(a),this.I(2));this.J(4)&&(this.nx(),this.ak().clip(this.Ya),this.B(128),this.I(4));$.Ep()||(this.J(2048)&&(this.I(2048),this.B(128)),this.J(512)&&(this.I(512),this.B(128)),this.J(1024)&&(this.I(1024),this.B(128)));var d,e;if(this.J(256)){a=this.ke.controller.D;var f=this.ke.mg();var h=this.ke.wj();var k=-1;for(d=f;d<=
h;d++){var l=a[d];if(!l)break;this.i("collapseExpandButtons")&&l.Zb()&&(k++,(e=this.wm[k])&&e.$())}this.I(256)}if(this.J(128)){k=this.ke.bk();ZJ(this).clear().moveTo(this.Ya.left,this.Ya.top).lineTo(this.Ya.left+this.Ya.width,this.Ya.top).lineTo(this.Ya.left+this.Ya.width,this.Ya.top+k).lineTo(this.Ya.left,this.Ya.top+k).close();a=new $.J(this.Ya.left,this.Ya.top,this.Ya.width,k);$.V(this.title());this.sb.ja(a);this.sb.height(k);this.sb.da(!1);this.B(64);a=this.ke.controller.D;f=this.ke.mg();h=this.ke.wj();
var m=this.ke.Wl(),p=this.labels().padding(),q=this.Ya.top+k+1-m;m=$.M(p.i("left"),this.Ya.width);this.BU.length=0;k=-1;var r=this.ke.buttons();d=r.Sa().i("content");var t=r.mb().i("content"),u=r.selected().i("content"),v=r.F();v.normal.content=d;v.hovered.content=$.Ro(t,d);v.selected.content=$.Ro(u,d);r.I(4294967295);if(!(0,window.isNaN)(this.NV)&&!(0,window.isNaN)(this.MV))for(d=this.NV;d<=this.MV;d++)if(t=this.re[d])$.Dx(t,null),$.Fx(t);this.NV=a[f]?a[f].o("index"):window.NaN;this.MV=a[h]?a[h].o("index"):
window.NaN;for(d=f;d<=h;d++){l=a[d];if(!l)break;f=xI(this.ke.controller,l);t=l.o("depth")||0;t*=this.i("depthPaddingMultiplier");var w=m+t;u=0;var x=kJ(l);if(this.i("collapseExpandButtons")&&(l.Zb()||x.uM)){k++;e=this.wm[k];e||(e=new UJ(this.ke),this.wm.push(e),e.ia(!0,v),e.zIndex(10),e.P($J(this)),$.L(e,this.uba,this));$.V(e);e.K(v);u=(r.i("width")||0)+Gea;var y=q+(f-(r.i("height")||0))/2,B="svg"===$.hk?.5:0;x=x.uM&&!l.Zb()||l.o("collapsed")?1==e.Xb?1:0:2;var G=e.enabled(!0);$.n(d)?G.b=d:G=G.b;G.ja(this.Ya).position({x:Math.floor(this.Ya.left+
w)+B,y:Math.floor(y)+B}).state(x);e.da(!1);e.$()}e=q+f;l=l.o("index");if(w=this.re[l])this.labels().enabled()?(q=p.nj(new $.J(this.Ya.left,q,this.Ya.width,f)),q.left+=u+t,q.width-=u+t,$.Dx(w,this.nm),$.Kx(w,q,b),$.Ex(w),this.BU[l]=w.text()):$.Dx(w,null);q=e+this.ke.oo}for(;++k<this.wm.length&&this.i("collapseExpandButtons")&&this.wm[k].enabled();)this.wm[k].enabled(!1).$();$.Ep()?this.I(128):this.I(1664)}this.J(16)&&(ZJ(this).fill(this.ke.i("headerFill")),this.B(64),this.I(16));this.J(64)&&(this.sb.$(),
this.I(64));this.J(8)&&(this.ak().zIndex(this.zIndex()),this.I(8));c&&b.resume()}return this};$.g.X=function(a,b){VJ.u.X.call(this,a,b);$.zq(this,eM,a,b);this.labels().ia(!!b,a.labels);this.title().ia(!!b,a.title);this.X1(a.labelsOverrider||a.cellTextSettingsOverrider)};$.g.F=function(){var a=VJ.u.F.call(this);$.Hq(this,eM,a,void 0,void 0,!0);a.labels=this.labels().F();a.title=this.title().F();this.mD!=this.LF&&$.el(8,null,["Data Grid Column cellTextSettingsOverrider"]);return a};
$.g.R=function(){WJ(this);$.td(this.Il,this.kw,this.sb,this.Ly,this.TI,this.Gq,this.Rc,this.wm);this.Il=null;this.kw.length=0;this.Rc=this.Gq=this.TI=this.Ly=this.sb=null;this.wm.length=0;VJ.u.R.call(this)};var gM=VJ.prototype;gM.title=gM.title;gM.enabled=gM.enabled;gM.labels=gM.labels;gM.labelsOverrider=gM.X1;gM.setColumnFormat=gM.Vha;gM.draw=gM.$;gM.getPixelBounds=gM.lb;$.H(aK,$.sy);$.g=aK.prototype;$.g.pc=function(){aK.u.pc.call(this);var a=this.Ta();$.Nj(a,"anychart-label-input");this.Hl=new $.zp(this.Ta())};$.g.Za=function(a){if($.n(a)){this.xb=a;if(a=this.Ta()){var b=this.xb;b=$.hc("padding: 0px; position: absolute; left: %spx; top: %spx; width: %spx; height: %spx",b.left,b.top,b.width,b.height);$.De(a,{style:b})}return this}return this.xb};$.g.show=function(a,b){var c=this.Ta();this.Za(b);c&&($.xy(this,a||""),$.Pf(c,!0))};
$.g.Oc=function(){var a=this.Ta();a&&$.Pf(a,!1)};$.g.yU=function(a){var b=bK(this,a,"editinputkeypress");!this.dispatchEvent(b)||13!=a.keyCode&&27!=a.keyCode||(b=bK(this,a,13==a.keyCode?"editinputsubmit":"editinputescape"),this.dispatchEvent(b)&&(this.Ta().blur(),this.Oc()))};$.g.zS=function(a){a=bK(this,a,"editinputfocus");this.dispatchEvent(a)};
$.g.OQ=function(a){var b=bK(this,a,"editinputblur");this.dispatchEvent(b)&&(b=bK(this,a,"editinputbeforehide"),this.dispatchEvent(b)&&(b=bK(this,a,"editinputhide"),this.dispatchEvent(b)&&this.Oc()))};$.g.pg=function(){aK.u.pg.call(this);$.Id(this.Hl,"key",this.yU,!1,this);var a=$.oy(this);a.ra(this.Ta(),"focus",this.zS);a.ra(this.Ta(),"blur",this.OQ)};$.g.oh=function(){var a=$.oy(this);$.Sd(this.Hl,"key",this.yU,!1,this);a.ac(this.Ta(),"focus",this.zS);a.ac(this.Ta(),"blur",this.OQ);aK.u.oh.call(this)};
$.g.R=function(){var a=$.oy(this);$.Sd(this.Hl,"key",this.yU,!1,this);a.ac(this.Ta(),"focus",this.zS);a.ac(this.Ta(),"blur",this.OQ);$.qd(this.Hl);aK.u.R.call(this)};$.H(dK,jJ);dK.prototype.sa=jJ.prototype.sa|512;var Gea=5,fM=20;dK.prototype.Dy=function(a){return $.n(a)?String(a):""};dK.prototype.zX=function(a){return $.n(a)?$.ea(a)?a.toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g,"$1,"):String(a):""};dK.prototype.AX=function(a){return $.ea(a)?$.Qm(100*a,2)+"%":$.n(a)?$.oo(a)?a:a+"%":""};dK.prototype.rX=function(){};var hM={};$.hq(hM,[[1,"columnStroke",$.Dq],[1,"headerFill",$.Eq],[0,"onEditStart",$.Vq],[0,"onEditEnd",$.Vq],[0,"fixedColumns",$.uq]]);$.U(dK,hM);$.g=dK.prototype;
$.g.rv=function(a,b,c){for(var d=-1,e=0,f=this.b.length;e<f;e++){var h=this.b[e];h&&h.enabled()&&!h.fd&&(d++,h=[h,d],h.push.apply(h,$.Ja(arguments,2)),a.apply(b||this,h))}};$.g.eA=function(a){return $.n(a)?(this.U!=a&&(this.U=a,this.B(512,1)),this):this.U};$.g.ZB=function(a,b){return cK(this,a,b)};$.g.sY=function(a){return this.ZB(this.b.length,a)};$.g.pda=function(){for(var a=0,b=0;b<this.b.length;b++){var c=this.b[b];c&&!c.fd&&a++}return a};$.g.ID=function(){$.Ep()?jK(this):Cea(this)};
$.g.hia=function(a,b){var c=b.target;c.Ya||(c.Ya=c.lb());this.rv(this.Dha,this,a,(new $.J($.Qm(c.Ya.left,1),$.Qm(c.Ya.top,1),$.Qm(Math.min(c.Re,c.Ya.width-c.D),1),$.Qm(c.Ya.height,1))).width+fM)};$.g.iia=function(a,b){this.rv(this.bca,this,a,b)};$.g.Dha=function(a,b,c,d){c==b&&(b={type:"splitterpositionchange",columnIndex:a.la(),targetColumn:a,linearColumnIndex:b,oldWidth:a.lb().width,newWidth:d},a.width(d),$.up(this,b))};
$.g.bca=function(a,b,c,d){c==b&&(b=a.title(),c=b.height(),d.offsetY-this.ea.top<c&&(d=b.uG().width,d+=b.padding().i("left")+b.padding().i("right"),a.width(a.defaultWidth()?a.defaultWidth():d),this.i("fixedColumns")&&this.Db.B(4,1)))};$.g.Nba=function(a){var b=0;$.X(a,1)&&(b|=16);$.X(a,8)&&(b|=512);$.X(a,4096)&&(b|=64,$.Ep()&&(this.lw.reset=!0));$.Ep()&&$.X(a,4096)&&this.P()&&this.I(b);var c=!1;this.i("fixedColumns")&&$.X(a,32776)&&(b|=4,c=!0);this.B(b,1);c&&this.Db.B(4,1)};
$.g.Zp=function(a){if(!this.Dh){this.Dh=new gI;this.Dh.X($.wm("defaultScrollBar"));this.Dh.pe("horizontal");var b=this;this.Dh.ra("scrollchange",function(a){b.eA(Math.round(a.startRatio*b.f))});$.L(this.Dh,this.iW,this)}return $.n(a)?(this.Dh.K(a),this):this.Dh};$.g.iW=function(a){$.X(a,8)&&this.B(4,1)};
$.g.scroll=function(a,b){$.kr(this,this.controller);this.eA(this.U+a);var c=this.controller.mg(),d=this.controller.b,e=this.controller.Wl();RI(this.controller,(c?d[c-1]:0)+(e+b));$.lr(this,this.controller);return!0};
$.g.Mr=function(){var a=fK(this),b=this.ea.top+this.bk();a.clear().moveTo(this.ea.left,this.ea.top).lineTo(this.ea.left+this.ea.width,this.ea.top).lineTo(this.ea.left+this.ea.width,b).lineTo(this.ea.left,b).close();a=gK(this);for(var c=b=0,d=this.b.length;c<d;c++){var e=this.b[c];e&&e.enabled()&&($.oo(e.i("width"))&&(e.Ya=null),e=e.nx().width,b+=e+a)}this.f=b;this.B(512)};$.g.Iu=function(){fK(this).fill(this.i("headerFill"));this.rv(function(a){a.B(16);a.$()})};$.g.ZT=function(a){a.fc(uJ(this)).fc(vJ(this)).fc(wJ(this)).fc(xJ(this)).fc(yJ(this)).fc(zJ(this))};
$.g.GV=function(){this.rv(function(a){a.B(128);a.$()})};$.g.lb=function(){var a=dK.u.lb.call(this);this.i("fixedColumns")&&(a.width=hK(this));return a};
$.g.MW=function(){if(this.J(512)){var a=0;var b=this.ea.left;var c=this.ea.top;var d=IJ("columnStroke",2)(this,0),e=$.Wo(d),f=[],h,k;var l=this.tw.length=0;for(h=this.b.length;l<h;l++)if(k=this.b[l])if(k.enabled()){var m=k.nx().width;a+=m+e;f.push(k)}else k.$();this.f=a;this.ea.width>this.f&&(this.U=0);this.U=$.Za(this.U,0,Math.abs(this.ea.width-this.f));a=-this.U;l=0;for(h=f.length;l<h;l++){k=f[l];$.V(k);k.position({x:a,y:0});k.height(this.ea.height);m=k.nx().width;var p=this.j[l],q=m,r=!(this.i("fixedColumns")&&
l==f.length-1);p&&($.V(p),r?(p.stroke(d),p.ba=d,this.tw.push(a+m+e),q+=e,p.Za({left:b+a+fM,top:c,width:q+this.ea.width,height:this.ea.height}).To(!1).enabled(!0).position(m-fM).da(!1).$().To(!0)):p.enabled(!1).da(!1).$());a+=q;k.da(!1);k.$()}for(this.Ay=!0;l<this.j.length&&this.j[l].enabled();)this.j[l].enabled(!1),l++;this.Dh&&(b=new $.J(this.ea.left-this.U,0,this.f,0),c=new $.J(this.ea.left,0,this.ea.width,0),$.V(this.Dh).To(!1).Xf(b).WO(c).$().To(!0).da(!1),this.Dh.P()&&this.Dh.$());this.I(512)}};
$.g.O_=function(a){a={columnIndex:this.Pg.la(),item:this.hc,value:a.value};if($.E(this.i("onEditEnd"))&&(a=this.i("onEditEnd").call(a))&&"object"==$.ka(a)&&!a.cancelEdit&&"object"==$.ka(a.itemMap)&&this.hc){a=a.itemMap;var b=this.controller.data();$.V(b);for(var c in a)a.hasOwnProperty(c)&&this.hc.set(c,a[c]);b.da(!0);this.qE=!0;this.ip=!1}};$.g.Dca=function(a){this.qE||this.ip||(this.O_.call(this,a),this.ip=!1)};$.g.Eca=function(){this.ip=!0};$.g.Fca=function(){this.Db.yH(!0);this.qE=!1};
$.g.Gca=function(){this.qE=this.ip=!1;this.G.reset();this.Db.yH(!1)};
$.g.tY=function(a){if(a&&this.bf().i("enabled")){this.lm=!1;if(!this.G){this.G=new aK;var b=this.Db.P().Ha();this.G.Fd(b.P());this.G.ra("editinputsubmit",this.O_,!1,this);this.G.ra("editinputescape",this.Eca,!1,this);this.G.ra("editinputblur",this.Dca,!1,this);this.G.ra("editinputfocus",this.Fca,!1,this);this.G.ra("editinputhide",this.Gca,!1,this)}this.hc=a.item;b=a.hoveredIndex;var c=a.index,d=!1;if(c==this.controller.mg())$.V(this.controller).mg(c).Wl(0).da(!0);else if(c==this.controller.wj()){this.controller.wj(c);
d=this.So;var e=Math.min(d.length-1,b);var f=this.ea.top+this.bk()+1;c=b?d[e-1]:0;f+=c;e=f+(d[e]-c-this.oo)-2;d=!0}c=~$.Na(this.tw,a.originalEvent.offsetX-this.ea.left);for(var h=null,k=-1,l=0,m=this.b.length;l<m;l++){var p=this.b[l];if(p&&p.enabled()&&(k++,k==c)){h=p.nx();this.Pg=p;break}}c=h;0>c.left&&(this.eA(this.eA()+c.left),c.left=0);h=xI(this.controller,a.item);k=a.hoveredIndex?2:1;if(a=c?new $.J(c.left,a.startY,c.width-2,h-k):null)d&&(a.top=f,a.height=e-f),this.Pg&&(f=this.Pg.BU,e=Math.min(b,
f.length-1),b=f[e],f={columnIndex:this.Pg.la(),item:this.hc,value:b},$.E(this.i("onEditStart"))&&(f=this.i("onEditStart").call(f))&&"object"==$.ka(f)&&!f.cancelEdit&&this.hc&&(this.G.show(null!=f.value?f.value:b,a),b=this.G,a=$.wy(b),b.b=!0,b.Ta().focus(),a||$.uy()||(b.Ta().value=b.g),b.Ta().select(),$.uy()||(b.Bg&&b.Bg.ve(b.Ta(),"click",b.GT),$.yj(b.d0,10,b))))}};$.g.pI=function(a){this.fV(a)};$.g.fV=function(a){this.bf().i("enabled")&&(this.Zi=a.item)};
$.g.gV=function(){if(this.di&&(this.hu||this.Bw)){var a=0,b=0;this.hu&&(a=0<this.hu?30:-30);this.Bw&&(b=0<this.Bw?30:-30);this.scroll(a,b)}};$.g.buttons=function(a){this.wm||(this.wm=new UJ(this),$.W(this,"buttons",this.wm),this.wm.ld(),$.L(this.wm,this.vba,this));return $.n(a)?(this.wm.K(a),this):this.wm};$.g.vba=function(a){$.X(a,1)&&(this.buttons().I(4294967295),this.GV())};
$.g.F=function(){var a=dK.u.F.call(this);$.Hq(this,hM,a,void 0,void 0,!0);a.horizontalOffset=this.eA();a.buttons=this.buttons().F();a.columns=[];for(var b=0;b<this.b.length;b++){var c=this.b[b];a.columns.push(c?c.F():!1)}this.Dh&&(a.horizontalScrollBar=this.Zp().F());a.tooltip=this.Xa().F();return a};
$.g.X=function(a,b){dK.u.X.call(this,a,b);$.zq(this,hM,a,b);this.eA(a.horizontalOffset);this.buttons().ia(!!b,a.buttons);"defaultColumnSettings"in a&&this.rX();this.onEditStart(a.onEditStart);this.onEditEnd(a.onEditEnd);if("columns"in a)for(var c=0,d=a.columns.length;c<d;c++){var e=a.columns[c];e&&cK(this,c,e,b)}"horizontalScrollBar"in a&&this.Zp(a.horizontalScrollBar)};$.g.R=function(){$.td(this.Dh,this.Ga,this.j,this.b,this.wm);this.Ga=this.Dh=this.wm=null;this.j.length=0;this.b.length=0;dK.u.R.call(this)};
$.H(kK,dK);$.ju(kK,dK);kK.prototype.Sw=function(a){return $.n(a)?(QI(this.controller).K(a),this):QI(this.controller)};kK.prototype.F=function(){var a=kK.u.F.call(this);a.verticalScrollBar=this.Sw().F();return a};kK.prototype.X=function(a){kK.u.X.call(this,a);"verticalScrollBar"in a&&this.Sw(a.verticalScrollBar)};var iM=dK.prototype;iM.edit=iM.bf;iM.column=iM.ZB;iM.data=iM.data;iM.addColumn=iM.sY;iM.startIndex=iM.mg;iM.endIndex=iM.wj;iM.getVisibleItems=iM.W9;iM.horizontalScrollBar=iM.Zp;
iM.horizontalOffset=iM.eA;iM.verticalOffset=iM.Wl;iM.tooltip=iM.Xa;iM.draw=iM.$;iM.buttons=iM.buttons;iM.getColumnsCount=iM.pda;iM=kK.prototype;$.F("anychart.standalones.dataGrid",function(){var a=new kK;a.K($.mm("standalones.dataGrid"));return a});iM.draw=iM.$;iM.data=iM.data;iM.addColumn=iM.sY;iM.parentBounds=iM.ja;iM.container=iM.P;iM.headerHeight=iM.bk;iM.verticalScrollBar=iM.Sw;iM.defaultRowHeight=iM.Fu;iM.buttons=iM.buttons;$.H(lK,$.yy);var jM={};$.hq(jM,[[1,"stroke",$.Dq],[0,"value",$.tq]]);$.U(lK,jM);$.g=lK.prototype;$.g.qa=$.yy.prototype.qa;$.g.sa=$.yy.prototype.sa;$.g.scale=function(a){return $.n(a)?($.el(500),this):this.np()};$.g.pe=function(a){return $.n(a)?("horizontal"==a&&$.el(501),this):"vertical"};$.g.Mr=function(){this.Np()};$.g.Iu=function(){$.zy(this).stroke(this.i("stroke"))};$.g.R=function(){this.pa("stroke",null);lK.u.R.call(this)};$.g.F=function(){var a=lK.u.F.call(this);$.Hq(this,jM,a);return a};
$.g.X=function(a,b){lK.u.X.call(this,a,b);$.zq(this,jM,a)};var kM=lK.prototype;kM.scale=kM.scale;kM.layout=kM.pe;kM.isHorizontal=kM.Hb;$.H(mK,$.yy);var lM={};$.hq(lM,[[1,"fill",$.Eq],[0,"from",$.tq],[0,"to",$.tq]]);$.U(mK,lM);$.g=mK.prototype;$.g.bQ=function(){return"From: "+this.i("from")+" to: "+this.i("to")};$.g.qa=$.yy.prototype.qa;$.g.sa=$.yy.prototype.sa;$.g.pe=function(a){return $.n(a)?("horizontal"==a&&$.el(501),this):"vertical"};$.g.scale=function(a){return $.n(a)?($.el(500),this):this.np()};$.g.Mr=function(){$.Ay(this)};$.g.Iu=function(){$.zy(this).stroke(null).fill(this.i("fill"))};
$.g.R=function(){this.pa("fill",null);mK.u.R.call(this)};$.g.F=function(){var a=mK.u.F.call(this);$.Hq(this,lM,a);return a};$.g.X=function(a,b){mK.u.X.call(this,a,b);$.zq(this,lM,a,b)};var mM=mK.prototype;mM.scale=mM.scale;mM.layout=mM.pe;mM.isHorizontal=mM.Hb;$.H(nK,$.Ky);var nM={};$.hq(nM,[[0,"value",$.tq]]);$.U(nK,nM);$.g=nK.prototype;$.g.qa=$.Ky.prototype.qa;$.g.sa=$.Ky.prototype.sa;$.g.scale=function(a){return $.n(a)?($.el(500),this):this.np()};$.g.pe=function(a){return $.n(a)?("horizontal"==a&&$.el(501),this):"vertical"};$.g.F=function(){var a=nK.u.F.call(this);$.Hq(this,nM,a);return a};$.g.X=function(a,b){nK.u.X.call(this,a,b);$.zq(this,nM,a,b)};var oM=nK.prototype;oM.scale=oM.scale;oM.layout=oM.pe;oM.background=oM.background;oM.padding=oM.padding;
oM.isHorizontal=oM.Hb;$.H(oK,$.ag);oK.prototype.Hq=function(){this.deltaY=this.deltaX=0};oK.prototype.Rr=function(a){this.element.jc(1,0,0,1,a,0)};oK.prototype.Yv=function(){return 0};$.H(pK,$.ag);$.g=pK.prototype;$.g.Hq=function(){this.deltaY=this.deltaX=0};$.g.Rr=function(a){this.element.jc(1,0,0,1,a,0);this.Ed=(a-this.f.left)/this.f.width};$.g.M0=function(){var a=this.element.tag.item;return($.n(a.o("progressValue"))?a.o("progressValue"):a.o("autoProgress"))||0};$.g.oA=function(a){var b=this.element.tag.Za,c=this.M0();c*=b.width;this.f.left=-c;this.f.width=b.width;return $.Za(a,-c,b.width-c)};$.g.Yv=function(){return 0};$.H(qK,pK);qK.prototype.M0=function(){var a=this.element.tag.item.get("baselineProgressValue")||0;return $.oo(a)?(0,window.parseFloat)(a)/100:+a};$.H(rK,$.ag);rK.prototype.Hq=function(){this.deltaY=this.deltaX=0};$.H(sK,$.ag);sK.prototype.Yv=function(){return 0};$.H(tK,$.Yq);tK.prototype.qa=2;tK.prototype.sa=$.Yq.prototype.sa;var pM={};$.hq(pM,[[1,"fill",$.Eq],[1,"stroke",$.Dq],[0,"size",$.qq],[0,"type",$.Ik],[0,"verticalOffset",$.qq],[0,"horizontalOffset",$.qq],[0,"enabled",$.Nq]]);$.U(tK,pM);$.g=tK.prototype;$.g.i=$.Xq;$.g.Qg=$.Wq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};
$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(this.Rb=null,null===a?($.Zq(this.Y,this.Qc,this),this.Y=null):(this.Y&&$.Zq(this.Y,this.Qc,this),this.Y=a,$.L(this.Y,this.Qc,this))),this):this.Y};$.g.Qc=function(){this.ta(2)};$.g.Ce=function(a,b){return $.da(b)||null===b?(a?this.ma.enabled=b:this.enabled(b),!0):!1};$.g.X=function(a,b){tK.u.X.call(this,a,b);$.zq(this,pM,a,b)};
$.g.F=function(){var a=tK.u.F.call(this);$.Hq(this,pM,a,void 0,void 0,!0);this.th("enabled")&&null!==a.enabled||delete a.enabled;return a};$.g.R=function(){this.Y&&($.Zq(this.Y,this.Qc,this),this.Y=null);this.Rb=null;tK.u.R.call(this)};$.H(uK,$.Yq);$.g=uK.prototype;$.g.qa=2;$.g.sa=$.Yq.prototype.sa;$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(this.Rb=null,null===a?($.Zq(this.Y,this.Qc,this),this.pu().parent(null),this.it().parent(null),this.Y=null):(this.Y&&$.Zq(this.Y,this.Qc,this),this.Y=a,this.pu().parent(this.Y.pu()),this.it().parent(this.Y.it()),$.L(this.Y,this.Qc,this))),this):this.Y};$.g.Qc=function(){this.ta(2)};$.g.Qg=$.Wq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};
$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};$.g.pu=function(a){this.f||(this.f=new tK,$.W(this,"thumb",this.f),$.L(this.f,this.FJ,this));return $.n(a)?(this.f.K(a),this):this.f};$.g.it=function(a){this.b||(this.b=new tK,$.W(this,"connectorThumb",this.b),$.L(this.b,this.FJ,this));return $.n(a)?(this.b.K(a),this):this.b};$.g.FJ=function(){this.ta(2)};
$.g.X=function(a,b){uK.u.X.call(this,a,b);this.pu().ia(!!b,a.thumb);this.it().ia(!!b,a.connectorThumb)};$.g.F=function(){var a=uK.u.F.call(this);a.thumb=this.pu().F();a.connectorThumb=this.it().F();return a};$.g.R=function(){this.Y&&($.Zq(this.Y,this.Qc,this),this.Y=null);this.Rb=null;$.Zq(this.f,this.FJ,this);$.Zq(this.b,this.FJ,this);$.td(this.f,this.b);this.b=this.f=null;uK.u.R.call(this)};var qM=uK.prototype;qM.thumb=qM.pu;qM.connectorThumb=qM.it;$.H(vK,$.Yq);vK.prototype.qa=2;vK.prototype.sa=$.Yq.prototype.sa;var rM={};$.hq(rM,[[1,"fill",$.Eq],[1,"stroke",$.Dq],[0,"enabled",$.Nq]]);$.U(vK,rM);$.g=vK.prototype;$.g.i=function(a){var b=$.Xq.call(this,a);"enabled"==a&&(b=null!=b?b:this.D.i("enabled"));return b};$.g.Qg=$.Wq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};
$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(this.Rb=null,null===a?($.Zq(this.Y,this.hz),this.ax().parent(null),this.qx().parent(null),this.start().parent(null),this.end().parent(null),this.Y=null):(this.Y&&$.Zq(this.Y,this.hz,this),this.Y=a,this.ax().parent(this.Y.ax()),this.qx().parent(this.Y.qx()),this.start().parent(this.Y.start()),this.end().parent(this.Y.end()),$.L(this.Y,this.hz,this))),this.start().Vf(null),this.end().Vf(null),this):this.Y};
$.g.ax=function(a){this.g||(this.g=new tK,$.W(this,"thumbs",this.g),$.L(this.g,this.hz,this));return $.n(a)?(this.g.K(a),this):this.g};$.g.qx=function(a){this.j||(this.j=new tK,$.W(this,"connectorThumbs",this.j),$.L(this.j,this.hz,this));return $.n(a)?(this.j.K(a),this):this.j};$.g.start=function(a){this.f||(this.f=new uK,$.W(this,"start",this.f),this.f.pu().parent(this.ax()),this.f.it().parent(this.qx()),$.L(this.f,this.hz,this));return $.n(a)?(this.f.K(a),this):this.f};
$.g.end=function(a){this.b||(this.b=new uK,$.W(this,"end",this.b),this.b.pu().parent(this.ax()),this.b.it().parent(this.qx()),$.L(this.b,this.hz,this));return $.n(a)?(this.b.K(a),this):this.b};$.g.hz=function(){this.ta(2)};$.g.Ce=function(a,b){var c=this.Od(b);return c?(a?this.ma.enabled=c.enabled:this.enabled(c.enabled),!0):!1};$.g.Od=function(a){return $.da(a)||null===a?{enabled:!!a}:null};
$.g.X=function(a,b){vK.u.X.call(this,a,b);$.zq(this,rM,a,b);"thumbs"in a&&this.ax().ia(!!b,a.thumbs);"connectorThumbs"in a&&this.qx().ia(!!b,a.connectorThumbs);"start"in a&&this.start().ia(!!b,a.start);"end"in a&&this.end().ia(!!b,a.end)};$.g.F=function(){var a=vK.u.F.call(this);$.Hq(this,rM,a,void 0,void 0,!0);this.th("enabled")&&null!==a.enabled||delete a.enabled;a.thumbs=this.ax().F();a.connectorThumbs=this.qx().F();a.start=this.start().F();a.end=this.end().F();return a};
$.g.R=function(){$.td(this.g,this.j,this.f,this.b);this.b=this.f=this.j=this.g=null;vK.u.R.call(this)};var sM=vK.prototype;sM.thumbs=sM.ax;sM.connectorThumbs=sM.qx;sM.start=sM.start;sM.end=sM.end;$.H(wK,$.Yq);wK.prototype.qa=3;var AL={};$.hq(AL,[$.Z.u7,$.Z.wP,$.Z.vP,$.Z.az,$.Z.Jn,$.Z.HX,$.Z.bY,$.Z.AP,$.Z.mP,[0,"type",$.Ik]]);$.U(wK,AL);$.g=wK.prototype;$.g.i=$.Xq;$.g.Qg=$.Wq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};
$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(this.Rb=null,null===a?($.Zq(this.Y,this.Qc,this),this.Y=null):(this.Y&&$.Zq(this.Y,this.Qc,this),this.Y=a,$.L(this.Y,this.Qc,this))),this):this.Y};$.g.Qc=function(a){$.X(a,2)&&this.Hs()};$.g.Hs=function(){this.b=null;this.ta(2,!0)};$.g.Od=function(a){return $.da(a)||null===a?{enabled:!!a}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?(a?this.ma.enabled=c.enabled:this.enabled(c.enabled),!0):!1};
$.g.X=function(a,b){wK.u.X.call(this,a,b);$.zq(this,AL,a,b)};$.g.F=function(){var a=wK.u.F.call(this);$.Hq(this,AL,a,void 0,void 0,!0);return a};yK.prototype.Xc=function(a,b,c,d){return this.element.vf.Xc(this.item,this.tag,a,b,c,d,this.periodIndex,this.b)};$.H(zK,$.Yq);zK.prototype.qa=1;zK.prototype.sa=$.Yq.prototype.sa;var tM={};$.gq(tM,0,"drawer",$.Vq);$.gq(tM,0,"shapes",$.tq);$.U(zK,tM);$.g=zK.prototype;$.g.i=$.Xq;$.g.Qg=$.Wq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};
$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(this.Rb=null,null===a?($.Zq(this.Y,this.Qc,this),this.Y=null):(this.Y&&$.Zq(this.Y,this.Qc,this),this.Y=a,$.L(this.Y,this.Qc,this))),this):this.Y};$.g.Qc=function(){this.ta(1)};$.g.F=function(){var a=zK.u.F.call(this);$.Hq(this,tM,a,void 0,void 0,!0);return a};$.g.X=function(a,b){zK.u.X.call(this,a);b?$.yq(this.ma,tM,a):$.zq(this,tM,a)};$.g.R=function(){this.Y&&($.Zq(this.Y,this.Qc,this),delete this.Y);this.Rb=null;zK.u.R.call(this)};$.H(BK,$.od);BK.prototype.Wu=function(){var a,b;this.CO={};for(a in this.b){var c=this.b[a];for(b=0;b<c.length;b++){var d=c[b];d.parent(null);$.K(d,$.zg)&&(d.clear(),d.jc(1,0,0,1,0,0))}this.j[a]=0;c.length=0}};
BK.prototype.Xc=function(a,b,c,d,e,f,h,k){var l={};d=d||this.g;var m=$.oa(a)+($.n(h)?"_"+String(h):"");if("milestones-preview"==b.type){for(var p=a;p.getParent();)p=p.getParent(),m+="_"+$.oa(p);$.n(k)&&(m+="_"+k)}this.CO[m]=b;for(var q in d)if("none"==d[q].Mb&&f)$.K(f,$.ng)&&(l[q]=CK(this,q,a,e||0,f,c,h),l[q].tag=b);else{k=q;m=void 0;p=q;var r=a,t=e||0,u=c,v=h,w=this.g[p],x=w.Mb;this.f[x].length>this.j[x]?m=this.f[x][this.j[x]]:this.f[x].push(m=w.aR());this.j[x]++;this.b[x].push(m);m=CK(this,p,r,
t,m,u,v);l[k]=m;l[q].tag=b}return l};BK.prototype.R=function(){for(var a in this.f)$.td(this.f[a]),this.f[a].length=0,this.b[a].length=0;this.CO=this.g=this.Dd=null;BK.u.R.call(this)};$.H(DK,$.Yq);$.xq(DK,["fill","stroke"],"normal");DK.prototype.qa=12291;DK.prototype.sa=$.Yq.prototype.sa;var uM={};$.gq(uM,0,"height",$.Qq);$.gq(uM,0,"anchor",function(a){if(null===a)return null;a=$.Bk(a,"left-center");return"auto"==a?"auto":$.Do(a)?"left-top":$.Eo(a)?"left-bottom":"left-center"});$.gq(uM,0,"position",function(a){if(null===a)return null;a=$.Ck(a,"left-center");return $.Do(a)?"left-top":$.Eo(a)?"left-bottom":"left-center"});$.gq(uM,0,"offset",$.Qq);$.gq(uM,0,"enabled",$.Nq);
$.U(DK,uM);$.g=DK.prototype;$.g.i=$.Xq;$.g.Qg=$.Wq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};
$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(this.Rb=null,null===a?($.Zq(this.Y,this.Qc,this),this.kj().parent(null),this.bf().parent(null),this.Xa().parent(null),this.HI().parent(null),this.bG().parent(null),this.Y=null):(this.Y&&$.Zq(this.Y,this.Qc,this),this.Y=a,this.kj().parent(this.Y.kj()),this.bf().parent(this.Y.bf()),this.Xa().parent(this.Y.Xa()),this.HI().parent(this.Y.HI()),this.bG().parent(this.Y.bG()),$.L(this.Y,this.Qc,this))),this):this.Y};$.g.Qc=function(){};
$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};$.g.ld=function(){this.ca.Fa(this.ma);$.W(this,"normal",this.ca);this.ca.ia(!0,{});$.W(this,"selected",this.Ca);this.Ca.ia(!0,{})};$.g.yv=function(){return this.Rl||(this.Rl=[])};$.g.Ae=function(a,b,c,d){b={sourceColor:"stroke"==b?this.dT(c):this.cT(c),item:a,itemIndex:a.o("index")};$.n(d)&&(b.period=a.get("periods")[d],b.periodIndex=d);return b};
$.g.lG=function(a,b,c,d){var e,f=b===$.Zl,h="stroke"==c?$.Rl:$.Tl,k=xK(this,a,d);k&&(e=f?k[c]:"object"==$.ka(k.selected)?k.selected[c]:void 0);e?e=h(e):(e=(f?this.Sa():this.selected()).i(c),$.E(e)?(a=this.Ae(a,c,b,d),e=h(e.call(a,a))):e=h(e));return e};$.g.Dt=function(){return"blue"};$.g.xv=function(){return"blue"};$.g.ZS=function(){return this.Zn().nc(2)};$.g.$S=function(){return $.Il(this.Zn().nc(2))};$.g.cT=function(a){return a==$.Zl?this.Dt():this.ZS()};
$.g.dT=function(a){return a==$.Zl?this.xv():this.$S()};$.g.Zn=function(){return this.Sf().Db.cc()};$.g.Xa=function(a){this.gb||(this.gb=new $.iw(0),"all"!=this.Na()&&this.gb.Ye(),$.W(this.Kh,"tooltip",this.gb),$.W(this,"tooltip",this.gb),$.mw(this.gb,this.Kh),"all"==this.Na()&&(this.gb.Ra=!0,$.ww(this.gb)));return $.n(a)?(this.gb.K(a),this):this.gb};
$.g.bf=function(a){this.Ci||(this.Ci=new vK(this.Kh.bf()),$.W(this,"edit",this.Ci),$.L(this.Ci,this.dN,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Ci.K(a),this):this.Ci};$.g.dN=function(){this.ta(2)};$.g.HI=function(a){this.II||(this.II=new wK,$.W(this,"startMarker",this.II),$.L(this.II,this.B4,this));return $.n(a)?("object"!==$.ka(a)||"enabled"in a||(a.enabled=!0),this.II.K(a),this):this.II};
$.g.bG=function(a){this.cG||(this.cG=new wK,$.W(this,"endMarker",this.cG),$.L(this.cG,this.B4,this));return $.n(a)?("object"!==$.ka(a)||"enabled"in a||(a.enabled=!0),this.cG.K(a),this):this.cG};$.g.B4=function(a){$.X(a,1)&&this.ta(1)};$.g.Na=function(){return"all"};$.g.Sf=function(){return this.Kh};$.g.Gm=function(a,b,c){return this.lG(a,b,"fill",c)};$.g.bl=function(a,b,c){return this.lG(a,b,"stroke",c)};
$.g.LD=function(){$.qd(this.vf);var a=this.Gs.i("shapes");a=this.vf=new BK(this.Sf(),this,a);var b=vJ(this.Sf());if(a.Dd!=b){a.Dd=b;for(var c in a.b)for(var d=a.b[c],e=0;e<d.length;e++)d[e].parent(b)}};$.g.ej=function(a,b,c){a:{if(c=xK(this,b,c))if(c=c[a],null!=c){b=c;break a}b=b.get(a)}return null!=b?b:this.i(a)};$.g.ud=function(a,b){return this.ej("height",a,b)};$.g.MC=function(a,b){return this.ej("offset",a,b)};
$.g.labels=function(a){this.Da||(this.Da=new $.Du,$.L(this.Da,this.Zd,this),this.Da.Ye(),$.W(this,"labels",this.Da));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Da.K(a),this):this.Da};$.g.Zd=function(){this.ta(4096)};$.g.kj=function(a){this.Gs||(this.Gs=new zK(this.Kh,this),$.W(this,"rendering",this.Gs),$.L(this.Gs,this.G3,this));return $.n(a)?(this.Gs!=a&&this.Gs.K(a),this):this.Gs};$.g.G3=function(){this.LD();this.ta(1)};
$.g.vG=function(a){var b=this.parent();return b?b[a&$.qo?"selected":"normal"]():null};$.g.Od=function(a){return $.da(a)||null===a?{enabled:!!a}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?(a?this.ma.enabled=c.enabled:this.enabled(c.enabled),!0):!1};
$.g.X=function(a,b){DK.u.X.call(this,a,b);$.zq(this,uM,a,b);this.labels().ia(!!b,a.labels);this.Sa().ia(!!b,a);this.Sa().ia(!!b,a.normal);this.selected().ia(!!b,a.selected);this.kj().ia(!!b,a.rendering);this.bf().ia(!!b,a.edit);this.Xa().ia(!!b,a.tooltip)};
$.g.F=function(){var a=DK.u.F.call(this);$.Hq(this,uM,a,void 0,void 0,!0);a.labels=this.labels().F();a.rendering=this.kj().F();a.normal=this.Sa().F();a.selected=this.selected().F();a.edit=this.bf().F();var b=this.Xa().F();$.Jc(b)||(a.tooltip=b);return a};
$.g.R=function(){$.Zq(this.Gs,this.G3,this);$.qd(this.Gs);delete this.Gs;this.Y&&($.Zq(this.Y,this.Qc,this),delete this.Y);this.Rb=null;$.td(this.ca,this.Ca,this.Da,this.uH,this.vf,this.Ci,this.gb);this.uH&&(this.uH.length=0);this.gb=this.Ci=this.vf=this.Da=this.Ca=this.ca=null;DK.u.R.call(this)};var vM=DK.prototype;vM.rendering=vM.kj;vM.normal=vM.Sa;vM.selected=vM.selected;vM.labels=vM.labels;vM.edit=vM.bf;vM.tooltip=vM.Xa;vM.startMarker=vM.HI;vM.endMarker=vM.bG;$.H(EK,DK);var wM={};$.gq(wM,0,"drawOverEnd",$.uq);$.U(EK,wM);EK.prototype.Na=function(){return"progress"};EK.prototype.Dt=function(){return this.Zn().nc(1)};EK.prototype.xv=function(){return $.Ul};EK.prototype.yv=function(){return this.Rl||(this.Rl=[this.Na()])};$.H(FK,EK);FK.prototype.Na=function(){return"baseline-progress"};FK.prototype.Dt=function(){return"green"};FK.prototype.yv=function(){return this.Rl||(this.Rl=[this.Na(),"baselineProgress"])};$.H(GK,DK);var xM={};$.gq(xM,0,"above",$.uq);$.gq(xM,0,"disableWithRelatedTask",$.uq);$.U(GK,xM);$.g=GK.prototype;$.g.Na=function(){return"baselines"};$.g.Dt=function(){return $.Hl(this.Zn().nc(1),.7)};$.g.xv=function(){return $.Il($.Hl(this.Zn().nc(1),.7))};$.g.yv=function(){return this.Rl||(this.Rl=[this.Na(),"baseline"])};$.g.kI=function(a){var b=0;$.X(a,4096)&&(b|=4096);$.X(a,1)&&(b|=1);$.X(a,8192)&&(b|=8192);this.ta(b)};
$.g.Ed=function(a){if(!this.mi){this.mi=new FK(this.Sf());$.W(this,"progress",this.mi);this.mi.ld();var b=this.Sf().elements();this.mi.parent(b);this.mi.bf().parent(this.bf());$.L(this.mi,this.kI,this)}return $.n(a)?(this.mi.K(a),this):this.mi};$.g.X=function(a,b){GK.u.X.call(this,a,b);$.zq(this,xM,a,b);this.Ed().ia(!!b,a.progress)};$.g.F=function(){var a=GK.u.F.call(this);$.Hq(this,xM,a,void 0,void 0,!0);a.progress=this.Ed().F();return a};var yM=GK.prototype;yM.progress=yM.Ed;$.H(HK,$.Yq);$.xq(HK,["fill","stroke"],"normal");HK.prototype.qa=8194;HK.prototype.sa=$.Yq.prototype.sa;var zM={};$.hq(zM,[[1,"previewStroke",$.Dq]]);$.U(HK,zM);$.g=HK.prototype;$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};$.g.ld=function(){this.ca.Fa(this.ma);$.W(this,"normal",this.ca);this.ca.ia(!0,{});$.W(this,"selected",this.Ca);this.Ca.ia(!0,{})};
$.g.Ae=function(a,b,c,d,e,f,h){c={sourceColor:"stroke"==d?this.dT(c):this.cT(c),fromItem:a,fromItemIndex:a.o("index"),toItem:b,toItemIndex:b.o("index"),connType:e||"finish-start"};$.n(f)&&(c.fromPeriod=a.get("periods")[f],c.fromPeriodIndex=f);$.n(h)&&(c.toPeriod=b.get("periods")[h],c.toPeriodIndex=h);return c};$.g.lG=function(a,b,c,d,e,f,h){var k=(c===$.Zl?this.Sa():this.selected()).i(d),l="stroke"==d?$.Rl:$.Tl;$.E(k)?(a=this.Ae(a,b,c,d,e,f,h),k=l(k.call(a,a))):k=l(k);return k};$.g.Dt=function(){return"#545f69"};
$.g.xv=function(){return"#545f69"};$.g.ZS=function(){return"#545f69"};$.g.$S=function(){return $.Ol($.Hl(this.Zn().nc(2)),2)};$.g.cT=function(a){return a==$.Zl?this.Dt():this.ZS()};$.g.dT=function(a){return a==$.Zl?this.xv():this.$S()};$.g.Zn=function(){return this.Sf().Db.cc()};$.g.Na=function(){return"connectors"};$.g.Sf=function(){return this.Kh};$.g.Gm=function(a,b,c,d,e,f){return this.lG(a,b,c,"fill",d,e,f)};$.g.bl=function(a,b,c,d,e,f){return this.lG(a,b,c,"stroke",d,e,f)};
$.g.X=function(a,b){HK.u.X.call(this,a,b);$.zq(this,zM,a,b);this.Sa().ia(!!b,a);this.Sa().ia(!!b,a.normal);this.selected().ia(!!b,a.selected)};$.g.F=function(){var a=HK.u.F.call(this);$.Hq(this,zM,a,void 0,void 0,!0);a.normal=this.Sa().F();a.selected=this.selected().F();return a};$.g.R=function(){$.td(this.ca,this.Ca);HK.u.R.call(this)};var AM=HK.prototype;AM.normal=AM.Sa;AM.selected=AM.selected;$.H(IK,DK);$.g=IK.prototype;$.g.Na=function(){return"grouping-tasks"};$.g.Dt=function(){return this.Zn().nc(4)};$.g.xv=function(){return $.Hl(this.Zn().nc(4))};$.g.yv=function(){return this.Rl||(this.Rl=[this.Na()])};$.g.Ed=function(a){if(!this.mi){this.mi=new EK(this.Sf());$.W(this,"progress",this.mi);$.L(this.mi,this.kI,this);var b=this.Sf().elements();this.mi.parent(b);this.mi.bf().parent(this.bf())}return $.n(a)?(this.mi.K(a),this):this.mi};
$.g.kI=function(a){var b=0;$.X(a,4096)&&(b|=4096);$.X(a,1)&&(b|=1);$.X(a,8192)&&(b|=8192);this.ta(b)};$.g.F=function(){var a=IK.u.F.call(this);a.progress=this.Ed().F();return a};$.g.X=function(a,b){IK.u.X.call(this,a,b);this.Ed().ia(!!b,a.progress)};var BM=IK.prototype;BM.progress=BM.Ed;$.H(JK,DK);var CM={};$.hq(CM,[[0,"markerType",$.Ik]]);$.U(JK,CM);$.g=JK.prototype;$.g.Na=function(){return"milestones"};$.g.Dt=function(){return this.Zn().nc(9)};$.g.xv=function(){return $.Il(this.Zn().nc(9))};$.g.yv=function(){return this.Rl||(this.Rl=[this.Na(),"milestone","actual"])};$.g.qm=function(a){if("milestones-preview"==this.Na())return null;this.Tl||(this.Tl=new KK(this.Sf()),$.W(this,"preview",this.Tl),this.Tl.ld(),this.Tl.parent(this));return $.n(a)?(this.Tl.K(a),this):this.Tl};
$.g.F=function(){var a=JK.u.F.call(this);"milestones"==this.Na()&&(a.preview=this.qm().F());return a};$.g.X=function(a,b){JK.u.X.call(this,a,b);"milestones"==this.Na()&&this.qm().ia(!!b,a.preview)};$.g.R=function(){$.td(this.Tl);JK.u.R.call(this)};$.H(KK,JK);var DM={};$.gq(DM,0,"depth",$.mq);$.U(KK,DM);KK.prototype.Na=function(){return"milestones-preview"};KK.prototype.yv=function(){this.Rl||(this.Rl=[this.Na()],this.Rl.push.apply(this.Rl,this.parent().yv()));return this.Rl};
KK.prototype.X=function(a,b){KK.u.X.call(this,a,b);$.zq(this,DM,a,b)};KK.prototype.F=function(){var a=KK.u.F.call(this);$.Hq(this,DM,a,void 0,void 0,!0);return a};var EM=JK.prototype;EM.preview=EM.qm;EM=KK.prototype;EM.preview=void 0;$.H(LK,DK);LK.prototype.Na=function(){return"periods"};LK.prototype.Dt=function(){return this.Zn().nc(0)};LK.prototype.xv=function(){return $.Hl(this.Zn().nc(0))};LK.prototype.ud=function(a,b){var c=xK(this,a,b);return c&&(c=c.height,null!=c)?c:LK.u.ud.call(this,a,b)};$.H(MK,DK);$.g=MK.prototype;$.g.Na=function(){return"tasks"};$.g.Dt=function(){return this.Zn().nc(0)};$.g.xv=function(){return $.Hl(this.Zn().nc(0))};$.g.kI=function(a){var b=0;$.X(a,4096)&&(b|=4096);$.X(a,1)&&(b|=1);$.X(a,8192)&&(b|=8192);this.ta(b)};$.g.yv=function(){return this.Rl||(this.Rl=[this.Na(),"actual"])};
$.g.Ed=function(a){if(!this.mi){this.mi=new EK(this.Sf());$.W(this,"progress",this.mi);this.mi.ld();var b=this.Sf().elements();this.mi.parent(b);this.mi.bf().parent(this.bf());$.L(this.mi,this.kI,this)}return $.n(a)?(this.mi.K(a),this):this.mi};$.g.F=function(){var a=MK.u.F.call(this);a.progress=this.Ed().F();return a};$.g.X=function(a,b){MK.u.X.call(this,a,b);this.Ed().ia(!!b,a.progress)};var FM=MK.prototype;FM.progress=FM.Ed;$.H(NK,$.Y);NK.prototype.sa=$.Y.prototype.sa|976;NK.prototype.qa=$.Y.prototype.qa;var GM={};$.hq(GM,[[0,"enabled",$.Nq],$.Z.Jn,$.Z.lJ]);$.U(NK,GM);$.xq(NK,YL,"labels");$.xq(NK,["fill"],"background");$.g=NK.prototype;$.g.background=function(a){this.Ka||(this.Ka=new $.ku,this.Ka.Ye(),this.Ka.parent(this.Dk.background()),$.L(this.Ka,this.gg,this));return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.gg=function(a){$.X(a,1)&&this.B(256,1)};
$.g.uf=function(a){var b=this.xb;if(b.left!=a.left||b.top!=a.top||b.width!=a.width||b.height!=a.height)this.xb=a,this.B(4);return this};$.g.UY=function(a){if($.n(a)&&this.g!=a){this.g=a;OK(this);if(this.b){a=this.b;var b=this.g;$.n(b)&&a.b!=b&&(a.b=b,a.reset(),$.Py(a),a.ta($.oE|$.pE))}this.B(576,1);return this}return this.g};
$.g.labels=function(a){this.Da||(this.Da=new $.ux,this.Da.Fa("ganttDefaultSimpleLabelsSettings","defaultLevelsLabelsSettings"),this.Da.parent(this.Dk.labels()),$.L(this.Da,this.Zd,this));return $.n(a)?(this.Da.K(a),this.B(64,1),this):this.Da};$.g.Zd=function(a){var b=!1;this.b||(OK(this),b=!!this.b);b&&(this.b.ta($.oE|$.pE),this.b.dr(a));this.B(64,1)};
$.g.im=function(a,b){var c=a.start,d=a.end,e=$.js(c,b),f=$.js(d,b),h=e,k=this.na.wS();e=this.na.vS();if(1<k)if("year"===this.ng||"semester"===this.ng||"quarter"===this.ng)1<k?(h=new Date(c),e=Date.UTC(h.getUTCFullYear()+(e||0),h.getUTCMonth()-(k-1),h.getUTCDate(),h.getUTCHours(),h.getUTCMinutes(),h.getUTCSeconds(),h.getUTCMilliseconds())):e=c,h=$.js(e,b);else if(-1!=b.indexOf("y")||-1!=b.indexOf("Q"))k=(new $.In(new Date(c))).getMonth()+1<k?-1:0,e=$.No("year",e+k),k=new $.In(new Date(c)),k.add(e),
e=k.getTime(),h=$.js(e,b);return $.av(new $.rw({value:{value:h,type:"string"},tickValue:{value:c,type:"number"},scale:{value:this.na,type:""},end:{value:d,type:"number"},endValue:{value:f,type:"string"},unit:{value:this.ng,type:"string"},count:{value:this.count,type:"number"}}))};$.g.oM=function(){this.Wa||(this.Wa=$.lk(),this.background().P(this.Wa),this.nm=$.kg().Jq(),this.Fh=new $.Uh(this.nm),this.Fh.zIndex(1),this.Fh.parent(this.Wa),this.f=this.Wa.path(),this.f.zIndex(2))};
$.g.$=function(){if(this.Bc()){var a;this.oM();this.J(2)&&(this.Wa.parent(this.P()),this.I(2));this.J(4)&&(this.B(896),this.I(4));if(this.J(256)){var b=this.background();$.V(b);b.ja(this.xb);b.$();b.da(!1);this.I(256)}if(this.J(512)){if(null!=this.g)this.D=$.A(this.g)?this.g:[this.g];else{a:{b=this.Dk.f;for(var c=this.wd;c<b.length;c++)if(a=b[c+1]){b=a;break a}b=null}if(b){var d=b.ng;d!=this.ng&&(d=$.mp(d,-1))}this.D=$.is($.es(this.ng,d,"timeline"))}this.j=this.D[0]||this.j;this.B(128);this.I(512)}if(this.J(128)){this.hb=
this.na.rn(window.NaN,window.NaN,this.ng,this.count);b=this.hb[0];d=this.xb.left+this.na.transform(b.start)*this.xb.width;b=this.xb.left+this.na.transform(b.end)*this.xb.width;b=Math.ceil(this.labels().padding().wg(b-d));c=this.b||this.Dk.b;$.Qy(c);a=!1;var e=window.Infinity,f=this.j;for(d=0;d<this.D.length;d++){var h=this.D[d],k=c.Qz;if(h in k){k=Math.ceil(k[h].width);if(k<=b){this.j=h;a=!0;break}k<=e&&(e=k,f=h)}}a||(this.j=f);this.B(80);this.I(128)}if(this.J(64)){for(d=0;d<this.hb.length;d++)b=
this.hb[d],c=this.re[d]||(this.re[d]=new $.vx),a=this.im(b,this.j),a=this.labels().$n(a),c.text(a),c.style(this.labels().flatten()),$.Cx(c),$.Dx(c,this.nm),a=Math.max(0,this.na.transform(b.start)),a=this.xb.left+a*this.xb.width,a+=this.labels().padding().i("left"),b=this.xb.left+this.na.transform(b.end)*this.xb.width,e=this.labels().padding().i("right"),b=Math.max(0,b-a-e),$.Kx(c,new $.J(a,this.xb.top,b,this.xb.height),this.P().Ha());for(b=this.re.length;d<b;d++)c=this.re[d],$.Dx(c,null),$.Fx(c);
this.I(64)}if(this.J(16)){this.f.clear();d=this.i("stroke")||this.Dk.i("stroke");c=$.Wo(d);e=$.R(this.xb.top,c);this.f.stroke(d).moveTo(this.xb.left,e).lineTo(this.xb.left+this.xb.width,e);for(d=0;d<this.hb.length;d++)b=this.hb[d],a=this.xb.left+this.na.transform(b.start)*this.xb.width,a=$.R(a,c),this.f.moveTo(a,e).lineTo(a,this.xb.top+this.xb.height);this.I(16)}}};$.g.remove=function(){this.Wa&&this.Wa.parent(null)};
$.g.F=function(){var a=NK.u.F.call(this);$.Hq(this,GM,a);$.Jc(this.background().Ma)||(a.background=this.background().F());var b=this.labels().F();$.Jc(b)||(a.labels=b);this.g&&(a.formats=this.g);return a};$.g.X=function(a,b){NK.u.X.call(this,a,b);$.zq(this,GM,a,b);$.V(this.labels());for(var c=0;c<YL.length;c++){var d=YL[c];if(d in a)this.labels()[d](a[d])}this.Da.da(!0);this.background().ia(!!b,a.background);this.Da.ia(!!b,a.labels);"formats"in a&&this.UY(a.formats)};
$.g.R=function(){$.td(this.f,this.Ka);this.b&&$.qd(this.b);this.b=this.na=this.Dk=this.Ka=this.f=null;for(var a=0;a<this.re.length;a++)this.re[a].cd();NK.u.R.call(this)};var HM=NK.prototype;HM.labels=HM.labels;HM.background=HM.background;HM.formats=HM.UY;$.H(PK,$.Y);PK.prototype.sa=$.Y.prototype.sa|528;PK.prototype.qa=$.Y.prototype.qa;var IM={};$.hq(IM,[[1,"stroke",$.Dq],[0,"levelHeight",$.Qq]]);$.U(PK,IM);$.xq(PK,YL,"labels");$.xq(PK,["fill"],"background");$.g=PK.prototype;$.g.background=function(a){this.Ka||(this.Ka=new $.ku,this.Ka.il(!0),this.Ka.Fa("defaultGanttHeader.background"),$.L(this.Ka,this.gg,this));return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.gg=function(a){$.X(a,1)&&this.B(16,1)};
$.g.labels=function(a){this.Da||(this.Da=new $.ux,this.Da.Fa("ganttDefaultSimpleLabelsSettings","defaultLevelsLabelsSettings"),this.Da.il(!0),$.L(this.Da,this.Zd,this));return $.n(a)?(this.Da.K(a),this.B(512,1),this):this.Da};$.g.Zd=function(){this.B(512,1)};
$.g.level=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.f[c];e||(this.f[c]=e=new NK(this,c),e.labels().parent(this.labels()),$.L(e,this.bfa,this),e.Fa("defaultLevelSettings"));return $.n(d)?(e.K(d),this):e};$.g.bfa=function(a){var b=0,c=0;$.X(a,32776)&&(this.O=null,b|=512,c|=1);$.X(a,1)&&(b|=512,c|=1);this.B(b,c)};
$.g.tW=function(a){for(var b=0;b<a.length;b++){var c=a[b],d=this.f[b]||this.level(b);if(d.ng!=c.unit||d.count!=c.count)d.ng=c.unit,d.count=c.count,d.B(512);d.B(128)}this.B(512,1)};$.g.afa=function(){this.O=null};$.g.uf=function(a){var b=this.xb;if(b.left!=a.left||b.top!=a.top||b.width!=a.width||b.height!=a.height)this.xb=a,this.B(4,9);return this};$.g.lb=function(){return this.xb};$.g.dA=function(a){return $.n(a)?(this.D.K(a),this):this.D};
$.g.Mz=function(){this.g||(this.g=$.lk(),this.Nf=$.qk(),this.g.clip(this.Nf),this.j=this.g.Dd())};
$.g.$=function(){if(this.Bc()){var a,b;this.Mz();this.J(2)&&(this.g.parent(this.P()),this.I(2));this.J(8)&&(this.g.zIndex(this.zIndex()),this.I(8));this.J(4)&&($.Qy(this.b),this.Nf.shape(this.xb),this.O=null,this.B(512),this.I(4));var c=!1;if(this.J(512)){c=!0;if(null==this.O){var d=0,e=0;this.G=[];for(a=0;a<this.f.length;a++)(b=this.f[a])&&b.enabled()&&(b=b.i("height")||this.i("levelHeight"),null!=b?(b=$.M(b,this.xb.height),this.G[a]=b,d+=b):(this.G[a]=null,e++));this.O=e?Math.max(0,(this.xb.height-
d)/e):0}d=this.xb.top+this.xb.height;for(a=0;a<this.f.length;a++)if(b=this.f[a])if(b.enabled()){$.V(b);b.P(this.j);e=this.G[a];e=null!=e?e:this.O;var f=new $.J(this.xb.left,d-e,this.xb.width,e);$.Po(f,0);b.uf(f);b.da(!1);d-=e}else b.remove();this.I(512)}if(this.J(16)){c=!0;for(a=0;a<this.f.length;a++)(b=this.f[a])&&b.B(272);this.I(16)}if(c)for(a=0;a<this.f.length;a++)(b=this.f[a])&&b.$()}};
$.g.F=function(){var a=PK.u.F.call(this);$.Hq(this,IM,a);a.levels=[];for(var b=0;b<this.f.length;b++){var c=this.f[b];c&&a.levels.push(c.F())}a.labels=this.labels().F();a.background=this.background().F();return a};$.g.X=function(a,b){PK.u.X.call(this,a,b);$.zq(this,IM,a,b);this.background().ia(!!b,a.background);this.labels().ia(!!b,a.labels);var c=a.levels;if($.A(c))for(var d=0;d<c.length;d++)this.level(d,c[d])};
$.g.R=function(){this.U=null;$.td(this.f,this.b,this.D,this.N);this.f.length=0;this.b=this.N=this.D=null;PK.u.R.call(this)};var JM=PK.prototype;JM.background=JM.background;JM.level=JM.level;JM.labels=JM.labels;JM.getPixelBounds=JM.lb;$.H(UK,jJ);UK.prototype.qa=jJ.prototype.qa;UK.prototype.sa=jJ.prototype.sa|14848;var LL={millisecond:0,second:1,minute:2,hour:3,day:4,week:5,"third-of-month":6,month:7,quarter:8,semester:9,year:10},KM={};$.hq(KM,[[0,"cropLabels",$.uq],[0,"zoomOnMouseWheel",$.uq],[1,"columnStroke",$.Dq],[1,"workingFill",$.Eq],[1,"notWorkingFill",$.Eq],[1,"holidaysFill",$.Eq],[1,"weekendsFill",$.Eq]]);$.U(UK,KM);$.g=UK.prototype;
$.g.elements=function(a){this.Bx||(this.Bx=new DK(this),$.W(this,"elements",this.Bx),this.Bx.ld(),$.L(this.Bx,this.Qy,this));return $.n(a)?(this.Bx.K(a),this):this.Bx};$.g.Ds=function(a){this.mw||(this.mw=new LK(this),$.W(this,"periods",this.mw),this.mw.ld(),this.mw.parent(this.elements()),$.L(this.mw,this.Qy,this));return $.n(a)?(this.mw.K(a),this):this.mw};
$.g.Jc=function(a){this.pk||(this.pk=new MK(this),$.W(this,"tasks",this.pk),this.pk.ld(),this.pk.parent(this.elements()),$.L(this.pk,this.Qy,this));return $.n(a)?(this.pk.K(a),this):this.pk};$.g.Pc=function(a){this.Pj||(this.Pj=new JK(this),$.W(this,"milestones",this.Pj),this.Pj.ld(),this.Pj.parent(this.elements()),$.L(this.Pj,this.Qy,this),$.L(this.Pj.qm(),this.Qy,this));return $.n(a)?(this.Pj.K(a),this):this.Pj};
$.g.Yp=function(a){this.Ev||(this.Ev=new IK(this),$.W(this,"groupingTasks",this.Ev),this.Ev.ld(),this.Ev.parent(this.elements()),$.L(this.Ev,this.Qy,this));return $.n(a)?(this.Ev.K(a),this):this.Ev};$.g.Nn=function(a){this.Ou||(this.Ou=new GK(this),$.W(this,"baselines",this.Ou),this.Ou.ld(),this.Ou.parent(this.elements()),$.L(this.Ou,this.Qy,this));return $.n(a)?(this.Ou.K(a),this):this.Ou};
$.g.Sn=function(a){this.xm||(this.xm=new HK(this),$.W(this,"connectors",this.xm),this.xm.ld(),$.L(this.xm,this.Qy,this));return $.n(a)?(this.xm.K(a),this):this.xm};
$.g.Ep=function(a,b,c,d){var e=a.get("id"),f=b.Na();var h=b.uH||(b.uH=[b.labels(),b.Sf().elements().labels(),b.Sf().labels()]);var k;(b=xK(b,a,d))&&(k=b.label);b=this.controller.Wl()+c.top-this.bk()-this.ea.top;var l=this.controller.mg();b=II(this.controller,(this.controller.b[l-1]||0)+b);c={jH:!0,id:e,type:f,item:a,labels:h,Za:c,zU:k,hf:b};$.n(d)&&(c.lq=d,a=a.get("periods"),c.vb=a[d]);return c};
$.g.Qy=function(a){if(!$.X(a,2)){var b=0;$.X(a,4096)&&(b|=2048);$.X(a,1)&&(b|=64);$.X(a,8192)&&(b|=128);this.B(b,1)}};$.g.scale=function(a){return $.n(a)?(this.na.K(a),this):this.na};$.g.Vh=function(a){var b=0;$.X(a,4)&&(b|=4608);$.X(a,2)&&(b|=8192);this.B(b,1)};$.g.zv=function(){return this.na};$.g.cA=function(a){this.Dk||(this.Dk=new PK(this),this.Dk.zIndex(80),$.L(this.Dk,this.r1,this),this.Dk.b.ta($.oE|$.pE));return $.n(a)?(this.Dk.K(a),this):this.Dk};$.g.r1=function(a){$.X(a,1)&&this.B(512,1)};
$.g.LK=function(a){return $.n(a)?(this.ER=a,this):this.ER||{}};$.g.MK=function(a){return $.n(a)?(this.GR=a,this):this.GR||{}};$.g.QK=function(a){return $.n(a)?(this.IR=a,this):this.IR||{}};$.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.pA[c];e||(e=new lK(this.na),e.Fa(this.ma.defaultLineMarkerSettings),e.ib(this),this.pA[c]=e,$.L(e,this.oy,this),this.B(4096,1));return $.n(d)?(e.K(d),this):e};
$.g.Sm=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.HA[c];e||(e=new mK(this.na),e.Fa(this.ma.defaultRangeMarkerSettings),e.ib(this),this.HA[c]=e,$.L(e,this.oy,this),this.B(4096,1));return $.n(d)?(e.K(d),this):e};
$.g.Xm=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.eB[c];e||(e=new nK(this.na),e.Fa(this.ma.defaultTextMarkerSettings),e.ib(this),this.eB[c]=e,$.L(e,this.oy,this),this.B(4096,1));return $.n(d)?(e.K(d),this):e};$.g.oy=function(){this.B(4096,1)};
$.g.labels=function(a){this.eh||(this.eh=new $.Du,this.eh.ib(this),$.L(this.eh,this.Zd,this),$.W(this,"labels",this.eh));if($.n(a)){var b=!0;$.K(a,$.Du)?this.eh.K(a.F()):$.D(a)?this.eh.K(a):$.Vo(a)?this.eh.enabled(!1):b=!1;b&&this.B(64,1);return this}return this.eh};$.g.Eb=function(a){this.Ut||(this.Ut=new $.Px,this.Ut.Fa("defaultTimeline.markers"),this.Ut.ib(this));if($.n(a)){var b=!0;$.K(a,$.Px)?this.Ut.K(a.F()):$.D(a)?this.Ut.K(a):$.Vo(a)?this.Ut.enabled(!1):b=!1;b&&this.B(64,1);return this}return this.Ut};
$.g.Ica=function(a){this.rt=new oK(ZK(this));this.rt.ra("start",this.Q_,!1,this);this.rt.ra("drag",this.R_,!1,this);this.rt.ra("end",this.S_,!1,this);this.rt.Tj(a.Vj)};$.g.Jca=function(a){this.st=new pK($K(this));this.st.ra("start",this.U_,!1,this);this.st.ra("drag",this.V_,!1,this);this.st.ra("end",this.T_,!1,this);this.st.Tj(a.Vj)};$.g.zca=function(a){this.ZF=new qK(aL(this));this.ZF.ra("start",this.Aca,!1,this);this.ZF.ra("drag",this.Bca,!1,this);this.ZF.ra("end",this.yca,!1,this);this.ZF.Tj(a.Vj)};
$.g.Hca=function(a){this.qt=new sK(bL(this),!0);this.qt.ra("start",this.P_,!1,this);this.qt.ra("drag",this.mL,!1,this);this.qt.ra("end",this.lL,!1,this);this.qt.Tj(a.Vj)};$.g.Kca=function(a){this.tt=new sK(cL(this),!1);this.tt.ra("start",this.W_,!1,this);this.tt.ra("drag",this.mL,!1,this);this.tt.ra("end",this.lL,!1,this);this.tt.Tj(a.Vj)};$.g.Lca=function(a){this.ut=new rK(this,dL(this),!0);this.ut.ra("start",this.jL,!1,this);this.ut.ra("drag",this.kL,!1,this);this.ut.ra("end",this.iL,!1,this);this.ut.Tj(a.Vj)};
$.g.Cca=function(a){this.pt=new rK(this,eL(this),!1);this.pt.ra("start",this.jL,!1,this);this.pt.ra("drag",this.kL,!1,this);this.pt.ra("end",this.iL,!1,this);this.pt.Tj(a.Vj)};$.g.Q_=function(){this.Jg&&this.Jg.lj(!1);this.Ts=this.Xa().enabled();this.Xa().Oc();this.Xa().enabled(!1);this.Db.fo();$K(this).clear();aL(this).clear();bL(this).clear();cL(this).clear();dL(this).clear();eL(this).clear();$.uf($.Bp.body,"cursor","ew-resize");sJ(this,!0)};
$.g.R_=function(){this.di=!0;this.lm=!1;this.lo=this.UR=!0};
$.g.S_=function(a){if(this.di){this.Jg&&this.Jg.lj(!0);var b=ZK(this).pb();gL(this);var c=a.target.element;a=c.tag.item;var d=this.controller.data();$.V(d);b=$.st(this.na,"milestones"==c.tag.type||"milestones-preview"==c.tag.type?(b.left+b.width/2-this.ea.left)/this.ea.width:(b.left-this.ea.left)/this.ea.width);if(!(0,window.isNaN)(b))switch(c.tag.type){case "milestones":case "milestones-preview":if(this.controller.g){c=c.tag.lq;var e=a.Yn("periods",c,"start");e=$.n(e)?"start":"end";a.set("periods",
c,e,b);a.Hn("periods",c,e,b)}else a.set("actualStart",b),a.o("actualStart",b),$.n(a.get("actualEnd"))&&(a.set("actualEnd",b),a.o("actualEnd",b));break;case "periods":c=c.tag.lq;e=a.Yn("periods",c,"start");e=a.Yn("periods",c,"end")+(b-e);(0,window.isNaN)(e)||(a.set("periods",c,"start",b),a.Hn("periods",c,"start",b),a.set("periods",c,"end",e),a.Hn("periods",c,"end",e));break;case "baselines":c=a.o("baselineStart");e=a.o("baselineEnd");c=b-c;(0,window.isNaN)(e+c)||(a.set("baselineStart",b),a.o("baselineStart",
b));a.set("baselineEnd",e+c);a.o("baselineEnd",e+c);break;default:c=kJ(a),e=c.end,c=b-c.start,c=e+c,(0,window.isNaN)(c)||(a.set("actualStart",b),a.o("actualStart",b),a.set("actualEnd",c),a.o("actualEnd",c))}d.da(!0);NL(this);this.UR=this.di=!1;(0,window.clearInterval)(this.Fn);this.Fn=null}$.uf($.Bp.body,"cursor","");sJ(this,!1)};
$.g.U_=function(){this.Jg&&this.Jg.lj(!1);this.SF=!0;this.Ts=this.Xa().enabled();this.Xa().Oc();this.Xa().enabled(!1);bL(this).clear();cL(this).clear();dL(this).clear();eL(this).clear();ZK(this).clear();aL(this).clear()};$.g.V_=function(){this.di=!0;this.lm=!1;this.lo=!0};$.g.T_=function(a){if(this.di){this.Jg&&this.Jg.lj(!0);gL(this);a=a.target;var b=a.element.tag.item;(0,window.isNaN)(a.Ed)||b.set("progressValue",$.Qm(a.Ed,2));this.di=!1;(0,window.clearInterval)(this.Fn);this.Fn=null;this.SF=!1}};
$.g.Aca=function(){this.Jg&&this.Jg.lj(!1);this.SF=!0;var a=this.Xa();this.Ts=a.enabled();a.Oc();a.enabled(!1);bL(this).clear();cL(this).clear();dL(this).clear();eL(this).clear();ZK(this).clear();$K(this).clear()};$.g.Bca=function(){this.di=!0;this.lm=!1;this.lo=!0};
$.g.yca=function(a){if(this.di){this.Jg&&this.Jg.lj(!0);gL(this);a=a.target;var b=a.element.tag.item;(0,window.isNaN)(a.Ed)||b.set("baselineProgressValue",$.Qm(a.Ed,2));this.di=!1;(0,window.clearInterval)(this.Fn);this.Fn=null;this.SF=!1}};
$.g.W_=function(){this.Jg&&this.Jg.lj(!1);this.Ts=this.Xa().enabled();this.Xa().Oc();this.Xa().enabled(!1);$K(this).clear();aL(this).clear();bL(this).clear();cL(this).clear();dL(this).clear();eL(this).clear();$.uf($.Bp.body,"cursor","col-resize");this.Qp.cursor("col-resize");sJ(this,!0)};
$.g.P_=function(){this.Jg&&this.Jg.lj(!1);this.Ts=this.Xa().enabled();this.Xa().Oc();this.Xa().enabled(!1);$K(this).clear();aL(this).clear();bL(this).clear();cL(this).clear();dL(this).clear();eL(this).clear();$.uf($.Bp.body,"cursor","col-resize");this.Qp.cursor("col-resize");sJ(this,!0)};$.g.mL=function(a){this.di=!0;this.lm=!1;this.ux=a.target;this.lo=!0;iL(this,a)};
$.g.lL=function(a){if(this.di){this.Jg&&this.Jg.lj(!0);var b=this.Qp.pb();this.Ur.push(this.Qp);gL(this);a=a.target.element;var c=a.tag.item,d=a.tag.lq,e=this.controller.data();$.V(e);var f=(b.left+b.width-this.ea.left)/this.ea.width;b=$.st(this.na,(b.left-this.ea.left)/this.ea.width);f=$.st(this.na,f);if(!(0,window.isNaN)(b)&&!(0,window.isNaN)(f))switch(a.tag.type){case "periods":c.set("periods",d,"start",b);c.Hn("periods",d,"start",b);c.set("periods",d,"end",f);c.Hn("periods",d,"end",f);break;case "baselines":c.set("baselineStart",
b);c.o("baselineStart",b);c.set("baselineEnd",f);c.o("baselineEnd",f);break;default:c.set("actualStart",b),c.o("actualStart",b),c.set("actualEnd",f),c.o("actualEnd",f)}e.da(!0);NL(this);this.ux=null;this.di=!1;(0,window.clearInterval)(this.Fn);this.Fn=null}$.uf($.Bp.body,"cursor","");this.Qp.cursor("ew-resize");sJ(this,!1)};$.g.jL=function(a){this.Jg&&this.Jg.lj(!1);this.Db.fo();this.Ho=a.target;gL(this);this.Ts=this.Xa().enabled();this.Xa().Oc();this.Xa().enabled(!1);sJ(this,!0)};
$.g.kL=function(a){this.wx=this.di=!0;this.lm=this.rS=!1;this.Ho.b=a.clientX;this.Ho.g=a.clientY;this.lo=!0};$.g.iL=function(){this.di&&(this.Jg&&this.Jg.lj(!0),this.Xa().enabled(this.Ts),this.Ts=void 0,fL(this).clear(),this.wx=this.di=!1,this.rS=!0,(0,window.clearInterval)(this.Fn),this.Fn=null);sJ(this,!1)};
$.g.vY=function(a,b){if(this.di){if(this.wx)if(a&&this.Ho){var c=a.originalEvent.domTarget;if(c&&c.tag&&c.tag.jH){c=c.tag;var d=c.item;if("baselines"!=c.type&&"connectors"!=c.type&&"milestones-preview"!=c.type){var e=this.Ho.element.tag;var f=e.item,h=e.index;var k=a.period;var l=a.periodIndex;k?(e={item:f,period:e.vb,index:h,periodIndex:e.lq},d={item:d,period:k,index:a.hoveredIndex+this.controller.mg(),periodIndex:l}):(e={item:f,index:h},d={item:d,index:a.hoveredIndex+this.controller.mg()});k=b.clientX-
$.Wj(this.P().Ha()).x;c=c.Za;c=.5>(k-c.left)/c.width;c=this.Ho.jy?c?"start-start":"start-finish":c?"finish-start":"finish-finish";fL(this).clear();JL(this,e,d,c,void 0,fL(this))}else kL(this,b)}else kL(this,b)}else kL(this,b)}else if(a&&a.originalEvent){e=a.originalEvent;if((e=e.domTarget)&&e.tag&&e.tag.jH){if(k=e.tag,l=k.item,f=l.get("id"),$.n(this.IM)||(this.IM=f),d=a.periodIndex,$.n(d)&&(0,window.isNaN)(this.JM)&&(this.JM=d),this.IM!=f&&this.JM!=d&&(gL(this,!0),this.IM=f,$.n(d)&&(this.JM=d)),k.Za){if("baseline-progress"!=
k.type){var m=k.type;f=k.Za;var p=k.item;gL(this,!0);h=nL(this,m).bf();h.i("enabled")&&(m=WK(p,null,m,f,d),p=ZK(this),p.tag=m,p.fill(h.i("fill")).stroke(h.i("stroke")).clear().moveTo(f.left,f.top).lineTo(f.left+f.width,f.top).lineTo(f.left+f.width,f.top+f.height).lineTo(f.left,f.top+f.height).close(),this.Ur.push(p))}if(l)if("tasks"==k.type||"grouping-tasks"==k.type||"progress"==k.type){if(m=k.Za,p=k.item,f=nL(this,k.type).Ed().bf(),f.i("enabled")){var q=WK(p,null,"progress",m,void 0);h=$K(this);
h.tag=q;p=$.n(p.o("progressValue"))?p.o("progressValue"):p.o("autoProgress");p=m.left+(p||0)*m.width;m=m.top+m.height;h.fill(f.i("fill")).stroke(f.i("stroke")).clear().moveTo(p,m-5).lineTo(p+5,m).lineTo(p+5,m+5).lineTo(p-5,m+5).lineTo(p-5,m).close();this.Ur.push(h)}}else{if("baselines"==k.type||"baseline-progress"==k.type)m=k.Za,p=k.item,f=nL(this,k.type).Ed().bf(),f.i("enabled")&&(q=WK(p,null,"baseline-progress",m,void 0),h=aL(this),h.tag=q,p=p.get("baselineProgressValue")||0,p=$.oo(p)?(0,window.parseFloat)(p)/
100:+p,p=m.left+p*m.width,m=m.top+m.height,h.fill(f.i("fill")).stroke(f.i("stroke")).clear().moveTo(p,m-5).lineTo(p+5,m).lineTo(p+5,m+5).lineTo(p-5,m+5).lineTo(p-5,m).close(),this.Ur.push(h))}else $K(this).clear(),aL(this).clear();if(l&&"milestones"!=k.type&&"milestones-preview"!=k.type){m=k.type;f=k.Za;p=k.item;h=nL(this,m).bf();m=WK(p,null,m,f,d);p=h.start().pu();q=h.end().pu();var r=f.left+f.width;if(h.i("enabled")&&p.i("enabled")){var t=bL(this);t.tag=m;var u=p.i("size");t.fill(p.i("fill")).stroke(p.i("stroke")).clear().moveTo(f.left-
1,f.top).lineTo(f.left-1+u,f.top).lineTo(f.left-1+u,f.top+f.height).lineTo(f.left-1,f.top+f.height).close();this.Ur.push(t)}h.i("enabled")&&q.i("enabled")&&(t=cL(this),t.tag=m,u=q.i("size"),t.fill(q.i("fill")).stroke(q.i("stroke")).clear().moveTo(r+1,f.top).lineTo(r+1-u,f.top).lineTo(r+1-u,f.top+f.height).lineTo(r+1,f.top+f.height).close(),this.Ur.push(t))}else bL(this).clear(),cL(this).clear();l&&"baselines"!=k.type&&"milestones-preview"!=k.type?(f=a.hoveredIndex+this.controller.mg(),h=k.type,l=
k.Za,m=k.item,k=nL(this,h).bf(),d=WK(m,f,h,l,d),f=l.left+l.width,h=k.start().it(),m=k.end().it(),u=l.top+l.height/2,k.i("enabled")&&h.i("enabled")&&(p=dL(this),p.tag=d,p.fill(h.i("fill")).stroke(h.i("stroke")),t=$.qp(h.i("type")),q=h.i("size")/2,t.call(null,p,l.left-q+h.i("horizontalOffset"),u+h.i("verticalOffset"),q),this.Ur.push(p)),k.i("enabled")&&m.i("enabled")&&(p=eL(this),p.tag=d,p.fill(m.i("fill")).stroke(m.i("stroke")),t=$.qp(m.i("type")),q=m.i("size")/2,t.call(null,p,f+q+m.i("horizontalOffset"),
u+m.i("verticalOffset"),q),this.Ur.push(p))):(eL(this).clear(),dL(this).clear())}}else!e||e.tag&&e.tag.Qea||gL(this,!0);if(d=mL(this,a))this.Db.dispatchEvent(d),this.VG=e.o;else if(this.VG){if(a&&a.originalEvent){e={type:"connectormouseout",actualTarget:a.originalEvent.target,target:this,originalEvent:a.originalEvent};for(c in this.VG)e[c]=this.VG[c];d=e}else d=null;this.Db.dispatchEvent(d);this.VG=null}}else gL(this,!1)};$.g.pI=function(a){this.fV(a)};
$.g.PN=function(){this.Xa().enabled(this.Ts);this.Ts=void 0};$.g.fV=function(a){this.elements().bf().i("enabled")&&(this.Zi=a.item)};$.g.uY=function(a){a&&(a=mL(this,a))&&this.Db.dispatchEvent(a)};
$.g.wY=function(a){if(this.rS&&(this.rS=!1,a)){var b=a.item,c=a.periodIndex,d=a.originalEvent,e=d.domTarget;if((e=e?e.tag:void 0)&&e.jH&&"baselines"!=e.type&&"milestones-preview"!=e.type){d=d.clientX-$.Wj(this.P().Ha()).x;e=e.Za;var f=this.Ho.jy?this.iv:this.fv;e=.5>(d-e.left)/e.width;d=f.tag.item;e=this.Ho.jy?e?"start-start":"start-finish":e?"finish-start":"finish-finish";f=f.tag.lq;e=e||"finish-start";$.K(d,$.Qt)||$.K(d,$.Mt)||(d=this.controller.data().op("id",d),d=d.length?d[0]:null);if(d&&($.K(b,
$.Qt)||$.K(b,$.Mt)||(b=this.controller.data().op("id",b),b=b.length?b[0]:null),b)){$.V(this.controller.data());var h=!1;if(this.controller.g){var k=d.get("periods")[f],l=b.get("periods")[c];if($.n(k)&&$.n(l)){var m=k.connector;var p={};p.connectTo=l.id;p.connectorType=e;if(m)if($.A(m))m=m.length;else{h=$.Qc(m);var q={};q.connectTo=k.connectTo;q.connectorType=k.connectorType||"finish-start";$.Sc(q,h);m=1;h=!0}else m=k.connectTo,$.n(m)?(q={},q.connectTo=m,q.connectorType=k.connectorType||"finish-start",
m=1,h=!0):m=0;c={type:"beforeCreateConnector",target:b,source:d,connectorType:e,targetPeriod:l,targetPeriodIndex:c,sourcePeriod:k,sourcePeriodIndex:f};this.Db.dispatchEvent(c)&&(h&&d.set("periods",f,"connector",[q]),d.set("periods",f,"connector",m,p))}}else m=d.get("connector"),p={},p.connectTo=b.get("id"),p.connectorType=e,m?$.A(m)?m=m.length:(h=$.Qc(m),q={},q.connectTo=d.get("connectTo"),q.connectorType=d.get("connectorType")||"finish-start",$.Sc(q,h),m=1,h=!0):(m=d.get("connectTo"),$.n(m)?(q={},
q.connectTo=m,q.connectorType=d.get("connectorType")||"finish-start",m=1,h=!0):m=0),c={type:"beforeCreateConnector",target:b,source:d,connectorType:e},this.Db.dispatchEvent(c)&&(h&&d.set("connector",[q]),d.set("connector",m,p));this.controller.data().da(!0)}}}(a=mL(this,a))?this.Db.dispatchEvent(a):fL(this).clear();this.wx=!1;this.Ho=null;this.lm=!0};
$.g.gV=function(a){if(this.di&&!this.SF&&(this.hu||this.Bw)){var b=0,c=0;this.hu&&(b=0<this.hu?30:-30);(this.wx||this.Zi)&&this.Bw&&(c=0<this.Bw?30:-30);this.scroll(b,c,!0)&&(iL(this,a,this.hu),kL(this,a,this.hu,this.Bw))}};$.g.Xa=function(a){return $.n(a)?(this.elements().Xa(a),this):this.elements().Xa()};$.g.QL=function(a,b,c){return b?pL(this,b,c):this.Xa()};
$.g.ON=function(a){if(!qL(this,a)&&(a=a.item)&&nJ(a)){var b=!a.o("collapsed");this.Db.dispatchEvent({type:"rowcollapseexpand",item:a,collapsed:b})&&a.o("collapsed",b)}};$.g.QN=function(a){sL(this,a)||(rL(this,a),uL(this,a.item,a.periodIndex)&&(a=$.Qc(a),a.type="rowSelect",this.Db.dispatchEvent(a)))};
$.g.cs=function(a){var b=UK.u.cs.call(this,a),c=b&&b.originalEvent?b.originalEvent.domTarget:null;if(b&&c){var d=this.lb();d=Math.abs(d.left-a.offsetX)/d.width;var e=$.st(this.scale(),d);if(c.tag&&$.n(c.tag.type))var f=c.tag.type;b.hoverRatio=d;b.hoverDateTime=e;f&&(b.elementType=f,"milestones-preview"===f&&(b.tooltipItem=b.originalEvent.domTarget.tag.item));this.controller.g&&c.tag&&(b.period=c.tag.vb,b.periodIndex=c.tag.lq);if(a=Dea(this,a))this.controller.g?(b.period=a.vb,b.periodIndex=a.lq,b.elementType=
a.type):b.tooltipItem=a.item}return b};$.g.aL=function(a,b,c){var d=a.get("markers");if(d)for(var e=0;e<d.length;e++){var f=d[e];if(f){var h=a.Yn("markers",e,"value");if(null!==h){var k=$.rt(this.na,h);if(0<=k&&1>=k){h=.7*c;k=Math.round(this.ea.left+this.ea.width*k);var l=Math.round(b+c/2);k=this.Eb().add({value:{x:k,y:l}});k.pa("size",h/2);k.K(f)}}}}};$.g.bS=function(){var a=UK.u.bS.call(this);a.top+=this.bk();vJ(this).clip(a);return a};$.g.Ir=function(a){UK.u.Ir.call(this,a);XK(this).clip(a)};
$.g.oM=function(){yJ(this).zIndex(33);this.Eb().P(wJ(this));this.labels().P(wJ(this));this.cA().P(tJ(this));NL(this)};$.g.Mr=function(){this.cA().uf({left:this.ea.left,top:this.ea.top,width:this.ea.width,height:this.bk()});this.B(4096);this.nI=!0};$.g.Iu=function(){YK(this).stroke(IJ("columnStroke",2)(this,0))};$.g.ZT=function(a){a.fc(uJ(this)).fc(XK(this)).fc(OL(this)).fc(vJ(this)).fc(PL(this)).fc(wJ(this)).fc(xJ(this)).fc(yJ(this)).fc(zJ(this))};$.g.dr=function(){this.J(2048)&&(this.xx(),this.I(2048))};
$.g.MW=function(){var a=this.cA();this.J(512)&&(this.nI=this.Ay=!0,a.B(512),this.B(8192),this.I(512));var b=$.tt(this.na);if(this.nI){$.V(a);a.tW(b);for(var c=[],d=0;d<b.length;d++)if(a.level(d).enabled()){b=b[d];this.iC=b.unit;c=this.na.rn(window.NaN,window.NaN,b.unit,b.count);break}a.$();a.da(!1);a=c;if(a.length){b=YK(this).clear();c=b.stroke();c=$.Wo(c);d=this.ea.top+this.bk()+1;for(var e=this.ea.top+this.ea.height,f=0,h=a.length;f<h;f++){var k=$.rt(this.na,a[f].start);k=this.ea.left+this.ea.width*
k;k=$.R(k,c);b.moveTo(k,d).lineTo(k,e)}}b=this.na.dj();c=this.na.cj();a=$.rt(this.na,b.min)*this.ea.width;d=$.rt(this.na,b.max)*this.ea.width;b=$.rt(this.na,c.min)*this.ea.width;c=$.rt(this.na,c.max)*this.ea.width;this.Dh&&(a=new $.J(a,0,d-a,0),b=new $.J(b,0,c-b,0),$.V(this.Dh).To(!1).Xf(a).WO(b).$().To(!0).da(!1),this.Dh.P()&&this.Dh.$())}if(this.J(8192)){QK(this).clear();RK(this).clear();SK(this).clear();TK(this).clear();if(this.na.be&&this.iC&&LL.day>=LL[this.iC])for(a=this.na.PC(),b=0;b<a.length;b++)c=
a[b],d=c.start,e=c.end,f=c.isWeekend,c.isHoliday?"day"===this.iC?KL(this,SK(this),d,e):ML(this,c):f?KL(this,TK(this),d,e):ML(this,c);this.I(8192)}};
$.g.i3=function(){if(this.Ay||this.nI){for(var a=VK(this),b=0;b<a.length;b++){var c=a[b];c.vf||c.LD();c.vf.Wu()}vJ(this).Ki();this.cJ=0;this.Eb().clear();if(this.controller.g){if(this.Ds().i("enabled"))for(var d=this.ea.top+this.bk()+1-this.controller.Wl(),e=this.controller.D,f=this.controller.mg();f<=this.controller.wj();f++){var h=e[f];if(!h)break;var k=xI(this.controller,h),l=d+k,m=h,p=d,q=k,r=m.get("periods");if(r)for(var t=0;t<r.length;t++){var u=pJ(m,t),v=u.start,w=u.end;if(u.sU){var x=$.rt(this.na,
v),y=$.rt(this.na,w);if(0<y&&1>x){var B=this.ea.left+this.ea.width*x,G=this.ea.left+this.ea.width*y-B,C=this.Ds(),I=C.ud(m,t),P=$.M(I,q),Q=new $.J(B,p,G,q),S=C.i("anchor"),sa=C.i("position");"auto"==S&&(S=hL(this,sa,"periods"));var va=C.MC(m,t),Oa=$.M(va,q),vb=$.xo(Q,sa),mc=vb.y+($.Do(S)?0:$.Eo(S)?-P:-P/2)+Oa,kb=hJ(this.Db.Sk(),m,t),Qb=yL(C,new $.J(vb.x,mc,G,P),m,t,kb),Gb=this.Ep(m,C,Qb,t);zL(this,m,Qb,t);AK(C.kj(),m,Qb,Gb,t,kb);CL(this,m,C,Qb,t)}}else u.CM&&EL(this,m,p,q,u,t)}this.aL(h,d,k);d=l+
this.oo}}else for(var ic=this.ea.top+this.bk()+1-this.controller.Wl(),ie=this.controller.D,Rb=this.controller.mg();Rb<=this.controller.wj();Rb++){var Fc=ie[Rb];if(!Fc)break;var Wb=xI(this.controller,Fc),Ie=ic+Wb;if(mJ(Fc)){var dd=void 0,Lc=void 0,hb=void 0,zc=Fc,Je=ic,nh=Wb,je=kJ(zc),oh=je.uM||nJ(zc),ve=oh?this.Yp():this.Jc(),Yd=this.Nn(),we=gJ(this.Db.Sk(),zc),af=je.start,rd=je.end;oh&&(rd=(0,window.isNaN)(rd)?af:rd,af=(0,window.isNaN)(af)?rd:af);var ph=je.MZ,ld=je.KZ,Gg=$.rt(this.na,af),Kg=$.rt(this.na,
rd),cm=$.rt(this.na,ph),xe=$.rt(this.na,ld),ke=ve.i("enabled"),sf=Yd.i("disableWithRelatedTask"),If=Yd.i("enabled")&&(sf?ke:!0),zj=0<Kg&&1>Gg&&ke,dm=0<xe&&1>cm&&If;if(zj||dm){var Mc=this.ea;if(zj){var Ui=Mc.left+Mc.width*Gg;hb=xL(this,ve,new $.J(Ui,Je,Mc.left+Mc.width*Kg-Ui,nh),zc,!0)}if(dm){var vi=Mc.left+Mc.width*cm;Lc=xL(this,Yd,new $.J(vi,Je,Mc.left+Mc.width*xe-vi,nh),zc,!0)}hb&&Lc&&DL(this,hb,Lc,ve,zc);if(Lc){Lc=yL(Yd,Lc,zc,void 0,we);var $g=this.Ep(zc,Yd,Lc);AK(Yd.kj(),zc,Lc,$g,void 0,we);CL(this,
zc,Yd,Lc)}if(hb){if(oh&&!hb.width){var wi=hb.height;hb.left-=wi/2;hb.width=wi;je.pH=!0}hb=yL(ve,hb,zc,void 0,we);var ye=this.Ep(zc,ve,hb);oh&&this.Pc().qm().i("enabled")&&0!=this.Pc().qm().i("depth")&&FL(this,0,zc,Je,nh,$.oa(zc));zL(this,zc,hb);if(je.pH){AK(ve.kj(),zc,hb,ye,void 0,we);CL(this,zc,ve,hb);var Jf=ve.Ed();if(je.tU&&Jf.i("enabled")){var Aj=wL(je.Ed,hb.width,Jf),Bj=xL(this,Jf,new $.J(hb.left,hb.top,Aj,hb.height),zc),Vi=this.Ep(zc,Jf,Bj);AK(Jf.kj(),zc,Bj,Vi,void 0,we);Aj&&CL(this,zc,Jf,Bj)}}}Lc?
dd=Lc:hb&&(dd=hb.clone(),dd.top=Je,dd.height=nh,dd=xL(this,Yd,dd,zc,!0),dd.top+=.5,DL(this,hb,dd,ve,zc));if(dd){var ze=Yd.Ed();if(je.NQ&&ze.i("enabled")){var em=wL(je.LZ,dd.width,ze),Cj=xL(this,ze,new $.J(dd.left,dd.top,em,dd.height),zc),Wi=this.Ep(zc,ze,Cj);AK(ze.kj(),zc,Cj,Wi,void 0,we);em&&CL(this,zc,ze,Cj)}}}}else if(nJ(Fc)||Fc.get("anychartIsLoadable")){var Gd=Fc,Xh=ic,Xi=Wb,ah=kJ(Gd);if(this.Yp().i("enabled")&&(ah.pH||ah.Rea||ah.uM)){this.Pc().qm().i("enabled")&&0!=this.Pc().qm().i("depth")&&
FL(this,0,Gd,Xh,Xi,$.oa(Gd));var Yh=ah.start,rh=ah.end;rh=(0,window.isNaN)(rh)?Yh:rh;Yh=(0,window.isNaN)(Yh)?rh:Yh;var bh=$.rt(this.na,Yh),Ke=$.rt(this.na,rh);if(0<Ke&&1>bh){var uk=this.ea,vg=this.Yp(),Kf=uk.left+uk.width*bh,Cd=uk.left+uk.width*Ke-Kf,Qd=xL(this,vg,new $.J(Kf,Xh,Cd,Xi),Gd);if(!Qd.width){var md=Qd.height;Qd.left-=md/2;Cd=md;Qd.width=Cd}var wg=gJ(this.Db.Sk(),Gd);Qd=yL(vg,Qd,Gd,void 0,wg);var Zh=this.Ep(Gd,vg,Qd);zL(this,Gd,Qd);AK(vg.kj(),Gd,Qd,Zh,void 0,wg);CL(this,Gd,vg,Qd);var $h=
vg.Ed();if(ah.tU&&$h.i("enabled")){var Nb=wL(ah.Ed,Cd,$h),Rd=xL(this,$h,new $.J(Qd.left,Qd.top,Nb,Qd.height),Gd),ai=this.Ep(Gd,$h,Rd);AK($h.kj(),Gd,Rd,ai,void 0,wg);Nb&&CL(this,Gd,$h,Rd)}}}}else if(lJ(Fc))EL(this,Fc,ic,Wb);else{var Lf=Fc,Ae=ic,Zd=Wb,sh=kJ(Lf),ch=this.Jc();if(ch.i("enabled")&&sh.pH){var xi=sh.end,bi=$.rt(this.na,sh.start),dh=$.rt(this.na,xi);if(0<dh&&1>bi){var Dj=this.ea,Yi=Dj.left+Dj.width*bi,fm=Dj.left+Dj.width*dh-Yi,Ej=xL(this,ch,new $.J(Yi,Ae,fm,Zd),Lf),rq=gJ(this.Db.Sk(),Lf);
Ej=yL(ch,Ej,Lf,void 0,rq);var xu=this.Ep(Lf,ch,Ej);zL(this,Lf,Ej);AK(ch.kj(),Lf,Ej,xu,void 0,rq);CL(this,Lf,ch,Ej);var gm=ch.Ed();if(sh.tU&&gm.i("enabled")){var hm=wL(sh.Ed,fm,gm),vk=xL(this,gm,new $.J(Ej.left,Ej.top,hm,Ej.height),Lf),im=this.Ep(Lf,gm,vk);AK(gm.kj(),Lf,vk,im,void 0,rq);hm&&CL(this,Lf,gm,vk)}}}}this.aL(Fc,ic,Wb);ic=Ie+this.oo}this.Eb().$();for(var yu=this.controller.ga,Zi=yu.length,sq,dB=this.controller.g?this.controller.ka:this.controller.ya;Zi--;){sq=yu[Zi];var th=sq.to;$.D(th)||
(th=dB[th]);$.n(th)?(sq.to=th,JL(this,sq.from,th,sq.type,sq.connSettings)):$.Ca(yu,Zi,1)}for(var gs=this.cJ,hs=this.dJ.length;gs<hs;gs++)this.dJ[gs].reset();this.B(2048);this.nI=!1}};
$.g.q2=function(){if(this.J(4096)){for(var a=$.Ga(this.pA,this.HA,this.eB),b=this.ea.top+this.bk()+1,c=new $.J(this.ea.left,b,this.ea.width,this.ea.height-this.bk()-1),d=0,e=a.length;d<e;d++){var f=a[d];if(f){var h=c,k=OL(this);$.K(f,nK)&&(h=new $.J(this.ea.left,b,this.ea.width,this.d5),k=PL(this));$.V(f);f.B(4);f.ja(h);f.P(k);f.B(2);f.$();f.da(!1)}}this.I(4096)}};$.g.Zd=function(){this.B(2048,1)};
$.g.xx=function(){$.V(this.labels());this.labels().clear();this.hE=[];for(var a=this.i("cropLabels"),b=VK(this),c=0;c<b.length;c++){var d=b[c];if(d.i("enabled")){d.vf||d.LD();var e=d.vf.CO;for(u in e)if(e.hasOwnProperty(u)){var f=e[u];if(f.jH){var h=this.Ec(f.item,f.vb,f.lq);f.label=this.labels().add(h,{value:{x:0,y:0}});var k=f.zU,l=f.labels,m=l&&l[0]?l[0]:null,p=this.elements().labels(),q=this.labels(),r=k&&$.n(k.enabled)?k.enabled:null;p=d&&$.n(p.enabled())?p.enabled():null;m=m&&$.n(m.enabled())?
m.enabled():null;var t=!1;null===r?null===p?null===m?t=q.enabled():t=m:t=p:t=r;if(t){f.label.oi();f.label.enabled(!0);f.label.state("labelOwnSettings",f.label.Ma,0);f.label.state("pointState",k,1);k=l.length;for(q=0;q<k;q++)p=l[q],r=2+q,f.label.state("st"+r,p,r);for(q=0;q<k;q++)p=l[q],r=2+q+k,f.label.state("st"+r,p.ma,r);l=$.Bk(f.label.ic("position"));l={value:$.xo(f.Za,l)};f.label.uc(l);$.$u(h).label={value:f.label,type:""};$.av(h);f.label.lf(h);$.V(this.controller.data());f.item.o("label",f.label);
this.controller.data().da(!1)}else f.label.enabled(!1);f.label.$();$.A(this.hE[f.hf])||(this.hE[f.hf]=[]);h="periods"===f.type||"milestones"===f.type;l="milestones-preview"===f.type;((k=this.controller.g)&&h||!k&&l)&&$.Ua(this.hE[f.hf],f,Eea)}}}}if(a)for(c=this.controller.mg(),a=this.controller.wj();c<=a;c++)for(d=this.hE[c]||[],e=0;e<d.length;e++){h=d[e-1]||null;var u=d[e];k=d[e+1]||null;f=tL(u.label);l=u;k?(q=k.Za.qb()-l.Za.$a(),r=tL(k.label),l=l.Za.$a()+q/2,l=r.qb()<k.Za.qb()&&0<q?r.qb()<=l?l:
r.qb():k.Za.qb()):l=window.Infinity;(k=h)?(h=k.Za.$a(),k.label.enabled()?(k.label.$(),k=tL(k.label).$a(),k=Math.max(h,k)):k=h):k=-window.Infinity;h=Math.min(l,f.$a());l=Math.max(k,f.qb());k=h-l;"center"===u.label.ic("anchor").split("-")[0]&&(k=u.label.ic("position").split("-")[0],k=$.xo(u.Za,k),k=2*Math.min(k.x-l,h-k.x));20<=k&&k<f.width?(u.label.width(k),u.label.height(f.height)):20>k&&u.label.enabled(!1)}this.labels().da(!0);this.labels().$();this.elements().labels().I(4294967295);for(a=0;a<b.length;a++)b[a].labels().I(4294967295)};
$.g.NF=function(){var a=this.Db.Sk();if(a.f&&this.elements().bf().i("enabled")){var b=a.f,c=b.hda,d=b.Mia,e=b.e_,f=this.controller.D,h=f[c],k=f[d];c={type:"beforeRemoveConnector",fromItem:h,toItem:k,fromItemIndex:c,toItemIndex:d,connectorType:e};if(this.controller.g){d=b.h0;var l=h.get("periods")[d];f=l.connector;b=b.Y4;var m=k.get("periods")[b];k=m.id;c.fromPeriodIndex=d;c.fromPeriod=l;c.toPeriodIndex=b;c.toPeriod=m;if($.A(f))for(b=0;b<f.length;b++){if(l=f[b])m=l.connectorType||"finish-start",l.connectTo==
k&&m==e&&this.Db.dispatchEvent(c)&&(h.Mq("periods",d,"connector",b),iJ(a,null))}else this.Db.dispatchEvent(c)&&(h.Mq("periods",d,"connector"),h.Mq("periods",d,"connectorType"),h.Mq("periods",d,"connectTo"),iJ(a,null))}else if(d=k.get("id"),f=h.get("connector"),$.A(f))for(b=0;b<f.length;b++){if(k=f[b])l=k.connectorType||"finish-start",d==k.connectTo&&l==e&&this.Db.dispatchEvent(c)&&(h.Mq("connector",b),iJ(a,null))}else this.Db.dispatchEvent(c)&&(h.Mq("connector"),h.Mq("connectorType"),h.Mq("connectTo"),
iJ(a,null))}};$.g.Sw=function(a){return $.n(a)?(QI(this.controller).K(a),this):QI(this.controller)};$.g.Zp=function(a){if(!this.Dh){this.Dh=new gI;this.Dh.X($.wm("defaultScrollBar"));this.Dh.pe("horizontal");var b=this.na;this.Dh.ra("scrollchange",function(a){var c=a.startRatio;a=a.endRatio;var e=b.dj(),f=e.min;e=e.max-f;b.qr(Math.round(f+c*e),Math.round(f+a*e))});$.L(this.Dh,this.iW,this)}return $.n(a)?(this.Dh.K(a),this):this.Dh};$.g.iW=function(a){$.X(a,8)&&this.B(4,1)};
$.g.scroll=function(a,b,c){if(a||b){$.kr(this,this.na,this.controller);c||(this.di=!1,(0,window.clearInterval)(this.Fn),this.Fn=null,gL(this));var d=this.controller.mg(),e=this.controller.b,f=this.controller.Wl();RI(this.controller,(d?e[d-1]:0)+(f+b));a/=this.ea.width;if(c&&!this.wx&&(this.ux||this.UR))c=this.na,a&&!c.Dj()&&($.qt(c),c.dj(),b=Math.round((c.Pe-c.Qe)*a),a=c.Qe+b,b=c.Pe+b,!(0,window.isNaN)(c.Lm)&&a<c.Lm||!(0,window.isNaN)(c.Km)&&b>c.Km||(c.Ch=window.NaN,c.Qe=a,c.Bh=window.NaN,c.Pe=b,
c.ta(4)));else if(this.wx||this.di&&this.Zi||!this.di)c=this.na,a&&!c.Dj()&&($.qt(c),b=c.dj(),a=Math.round((c.Pe-c.Qe)*a),a=0<=a?Math.min(b.max-c.Pe,a):Math.max(b.min-c.Qe,a),c.qr(c.Qe+a,c.Pe+a));$.mr(this.na,this.controller,this);this.B(4608,1);return!0}return!1};$.g.HG=function(a){a=$.Za(a,-100,100);return 1.05+Math.abs(a)/100};
$.g.ly=function(a){if(this.i("zoomOnMouseWheel")){a.preventDefault();JJ(this);this.Xa().Oc();var b=a.deltaY,c=this.HG(b);a=a.clientX;var d=$.Wj(this.P().Ha()).x;a=(a-this.xb.left()-d)/this.Za().width();0>b?this.na.Cr(c,a):this.na.Dr(c,a)}else UK.u.ly.call(this,a)};
$.g.F=function(){var a=UK.u.F.call(this);a.scale=this.na.F();a.labels=this.labels().F();a.markers=this.Eb().F();a.header=this.cA().F();$.Hq(this,KM,a,void 0,void 0,!0);a.elements=this.elements().F();a.connectors=this.Sn().F();a.milestones=this.Pc().F();this.controller.g?a.periods=this.Ds().F():(a.tasks=this.Jc().F(),a.groupingTasks=this.Yp().F(),a.baselines=this.Nn().F());var b,c=[];for(b=0;b<this.pA.length;b++){var d=this.pA[b];d&&c.push(d.F())}c.length&&(a.lineAxesMarkers=c);c=[];for(b=0;b<this.HA.length;b++)(d=
this.HA[b])&&c.push(d.F());c.length&&(a.rangeAxesMarkers=c);c=[];for(b=0;b<this.eB.length;b++)(d=this.eB[b])&&c.push(d.F());c.length&&(a.textAxesMarkers=c);this.Dh&&(a.horizontalScrollBar=this.Zp().F());a.verticalScrollBar=this.Sw().F();return a};
$.g.X=function(a,b){UK.u.X.call(this,a,b);"scale"in a&&this.na.K(a.scale);this.labels().ia(!!b,a.labels);"markers"in a&&this.Eb(a.markers);"header"in a&&!b&&this.cA().ia(!1,a.header);$.zq(this,KM,a,b);this.elements().ia(!!b,a.elements);this.Pc().ia(!!b,a.milestones);this.Sn().ia(!!b,a.connectors);this.controller.g?this.Ds().ia(!!b,a.periods):(this.Jc().ia(!!b,a.tasks),this.Yp().ia(!!b,a.groupingTasks),this.Nn().ia(!!b,a.baselines));"defaultLineMarkerSettings"in a&&this.LK(a.defaultLineMarkerSettings);
"defaultRangeMarkerSettings"in a&&this.MK(a.defaultRangeMarkerSettings);"defaultTextMarkerSettings"in a&&this.QK(a.defaultTextMarkerSettings);var c=a.lineAxesMarkers,d=a.rangeAxesMarkers,e=a.textAxesMarkers,f;if($.A(c))for(f=0;f<c.length;f++)this.Jm(f,c[f]);if($.A(d))for(f=0;f<d.length;f++)this.Sm(f,d[f]);if($.A(e))for(f=0;f<e.length;f++)this.Xm(f,e[f]);"horizontalScrollBar"in a&&this.Zp(a.horizontalScrollBar);"verticalScrollBar"in a&&this.Sw(a.verticalScrollBar)};
$.g.R=function(){$.qd(this.Dh);this.Dh=null;$.Zq(this.na,this.Vh);this.Dk&&$.Zq(this.Dk,this.r1);for(var a=$.Ga(this.pA,this.eB,this.HA),b=0;b<a.length;b++){var c=a[b];c&&($.Zq(c,this.oy),$.qd(c))}this.rt&&(this.rt.ac("start",this.Q_,!1,this),this.rt.ac("drag",this.R_,!1,this),this.rt.ac("end",this.S_,!1,this));this.st&&(this.st.ac("start",this.U_,!1,this),this.st.ac("drag",this.V_,!1,this),this.st.ac("end",this.T_,!1,this));this.qt&&(this.qt.ac("start",this.P_,!1,this),this.qt.ac("drag",this.mL,
!1,this),this.qt.ac("end",this.lL,!1,this));this.tt&&(this.tt.ac("start",this.W_,!1,this),this.tt.ac("drag",this.mL,!1,this),this.tt.ac("end",this.lL,!1,this));this.ut&&(this.ut.ac("start",this.jL,!1,this),this.ut.ac("drag",this.kL,!1,this),this.ut.ac("end",this.iL,!1,this));this.pt&&(this.pt.ac("start",this.jL,!1,this),this.pt.ac("drag",this.kL,!1,this),this.pt.ac("end",this.iL,!1,this));$.td(this.Bx,this.mw,this.pk,this.Ev,this.Pj,this.Ou,this.xm,this.na,this.Dk,this.WD,this.Qp,this.Lz,this.gv,
this.hv,this.iv,this.fv,this.wC,this.rt,this.st,this.qt,this.tt,this.ut,this.pt,this.eh,this.Ut);this.xm=this.Ut=this.eh=null;this.pA.length=0;this.HA.length=0;this.eB.length=0;UK.u.R.call(this)};$.H(QL,UK);$.ju(QL,UK);$.H(RL,UK);$.ju(RL,UK);var LM=UK.prototype;LM.edit=LM.bf;LM.horizontalScrollBar=LM.Zp;LM.verticalScrollBar=LM.Sw;LM.tooltip=LM.Xa;LM.labels=LM.labels;LM.markers=LM.Eb;LM.scale=LM.scale;LM.textMarker=LM.Xm;LM.lineMarker=LM.Jm;LM.rangeMarker=LM.Sm;LM.header=LM.cA;LM.elements=LM.elements;
LM.connectors=LM.Sn;LM.tasks=LM.Jc;LM.milestones=LM.Pc;LM.groupingTasks=LM.Yp;LM.baselines=LM.Nn;LM.periods=LM.Ds;LM=QL.prototype;$.F("anychart.standalones.projectTimeline",function(){var a=new QL;a.K($.mm("standalones.projectTimeline"));return a});$.F("anychart.standalones.resourceTimeline",function(){var a=new RL;a.K($.mm("standalones.resourceTimeline"));return a});LM.draw=LM.$;LM.data=LM.data;LM.parentBounds=LM.ja;LM.container=LM.P;LM.headerHeight=LM.bk;LM.defaultRowHeight=LM.Fu;LM.palette=LM.cc;
LM=RL.prototype;LM.draw=LM.$;LM.data=LM.data;LM.parentBounds=LM.ja;LM.container=LM.P;LM.headerHeight=LM.bk;LM.defaultRowHeight=LM.Fu;LM.palette=LM.cc;$.H(TL,$.ox);TL.prototype.Na=function(){return this.O?"gantt-resource":"gantt-project"};TL.prototype.sa=$.ox.prototype.sa|12288;TL.prototype.qa=$.ox.prototype.qa;var Fea=20;$.g=TL.prototype;$.g.Te=function(){return[]};$.g.Ig=function(){return null};$.g.Mi=function(){return this};$.g.Hi=function(){return this};$.g.Fl=function(a){return $.n(a)?(a=$.yk(a),a!=this.N&&(this.N=a),this):this.N};$.g.h_=function(a){$.X(a,2)&&this.B(8192,1)};$.g.Qha=function(a){$.X(a,1)&&a.target.$();$.X(a,8)&&this.B(4,1)};
$.g.$ba=function(a){$.X(a,32768)&&this.B(4,1);PI(this.g)};$.g.data=function(a,b){return $.n(a)?($.K(a,$.Nt)||$.K(a,$.Kt)?this.oa!=a&&(this.oa=a,this.B(4352,1)):(this.oa=new $.Nt(a,b),this.B(4352,1)),this):this.oa};$.g.Fu=function(a){return $.n(a)?(wI(this.g,a),this):wI(this.g)};$.g.yH=function(a){this.f.yH(a);this.b.yH(a)};var MM={};$.gq(MM,0,"headerHeight",$.tq);$.gq(MM,0,"splitterPosition",$.tq);$.gq(MM,1,"rowHoverFill",$.Bq);$.gq(MM,1,"rowSelectedFill",$.Bq);$.gq(MM,1,"columnStroke",$.Dq);
$.gq(MM,1,"rowStroke",$.Dq);$.U(TL,MM);$.g=TL.prototype;$.g.XE=function(a){return $.n(a)?(SL(this).enabled(a),this):SL(this)};$.g.Sf=function(){if(!this.b){this.b=new UK(this.g,this.O);$.W(this,"timeline",this.b);this.b.zIndex($.wm("defaulTimeline").zIndex);rJ(this.b,this);var a=this;$.L(this.b,function(){PI(a.g)},this.g)}return this.b};$.g.Cr=function(a){this.Sf().zv().Cr(a);return this};$.g.Dr=function(a){this.Sf().zv().Dr(a);return this};$.g.Ui=function(a,b,c){this.Sf().zv().Ui(a,b,c);return this};
$.g.Cm=function(){this.Sf().zv().Cm();return this};
$.g.$ca=function(a){var b=this.b.ea;if(b&&b.width){var c=this.oa.op("id",a);if(c.length){c=c[0];var d=c.o("actualStart"),e=c.o("actualEnd");if(!$.n(d)||((0,window.isNaN)(d)||$.n(e))&&d!=e){if(this.Sf().zv().qr(d,e),0<b.width&&(a=c.o("relBounds"),c=c.o("label")))if(d=this.b.labels().measure(c,c.uc()),a&&d){c=d.left<a.left;a=d.left+d.width>a.left+a.width;if(d.width<b.width){b=b.width/(b.width-d.width);if(c&&!a){var f=$.st(this.b.scale(),1-b);var h=$.st(this.b.scale(),1)}a&&!c&&(f=$.st(this.b.scale(),
0),h=$.st(this.b.scale(),b))}else f=$.st(this.b.scale(),0),h=$.st(this.b.scale(),d.width/b.width);this.Sf().zv().qr(f,h)}}else $.el(11,null,[a])}else $.el(404,null,["Task",a])}return this};$.g.c$=function(a){return $.n(a)?(RI(this.g,a),this):RI(this.g)};$.g.e$=function(a){$.V(this.g).mg(a).Wl(0).da(!0);return this};$.g.Va=function(a){return $.n(a)?(this.Sf().scale(a),this):this.Sf().scale()};$.g.d$=function(a){var b=this.g;a=a||b.b.length-1;b.wj(a);return this};$.g.a$=function(){SI(this.g,!0);return this};
$.g.b$=function(){SI(this.g,!1);return this};$.g.oda=function(){return this.g.nb};$.g.Rca=function(a){return UL(this,a,!1)};$.g.Jba=function(a){return UL(this,a,!0)};$.g.TY=function(){this.ga||(this.ga=new $.qx,this.ga.ra("statechange",function(){this.b.B(128,1);this.f.B(128,1)},void 0,this));return this.ga};$.g.bm=function(){return[]};$.g.Q3=function(a){this.QN(a)};$.g.R3=function(a){this.ON(a)};$.g.fo=function(a,b,c){this.f.fo(a,b,c);this.b.fo(a,b,c)};
$.g.jv=function(a,b,c){this.f.jv(a,b,c);this.b.jv(a,b,c)};$.g.Sk=function(){return this.U};
$.g.U3=function(a){var b=a.target;if(!b.di&&!b.wx){this.fo(a.hoveredIndex,a.startY,a.endY);var c=a.tooltipItem?a.tooltipItem:a.item;var d=b.QL(void 0,c,a.periodIndex);if($.K(b,dK)){var e=pL(this.b,c),f=e.i("format");e=e.i("titleFormat");d.Ga.format=f;d.Ga.titleFormat=e}else $.ow(b.Xa());d.enabled()&&(b=b.Ec(c,a.period,a.periodIndex,a.elementType,a.hoverRatio,a.hoverDateTime),d.parent()&&$.ow(d.parent()),$.Aw(d,a.originalEvent.clientX,a.originalEvent.clientY,b))}};
$.g.V3=function(a){this.fo();this.f.QL().Oc();this.b.QL(void 0,a.item,a.periodIndex).Oc()};$.g.QN=function(a){if(!sL(this.b,a)){var b=a.item,c=a.period,d=a.periodIndex,e=this.Sk(),f=this.O?hJ(e,b,d):gJ(e,b);b&&!f&&(f={type:"rowSelect",item:b,prevItem:e.b},$.n(c)&&(f.period=c,f.periodIndex=d),null!=e.g&&e.b&&(c=e.g,f.prevPeriodIndex=c,f.prevPeriod=e.b.get("periods",c)),this.dispatchEvent(f)&&(rL(this.b,a),OJ(this.f,b),uL(this.b,b,d)))}};
$.g.ON=function(a){if(a&&!qL(this.b,a)&&(a=a.item)&&nJ(a)){var b=!a.o("collapsed");this.dispatchEvent({type:"rowcollapseexpand",item:a,collapsed:b})&&a.o("collapsed",b)}};$.g.pI=function(a){a.target.pI(a)};$.g.qI=function(a){var b=this.Sk(),c={type:"rowSelect",actualTarget:a?a.target:this,target:this,originalEvent:a,item:null,prevItem:b.b};if(null!=b.g&&b.b){var d=b.g;c.prevPeriodIndex=d;c.prevPeriod=b.b.get("periods",d)}this.dispatchEvent(c)&&(this.f.qI(a),this.b.qI(a));rL(this.b,a)};$.g.PN=function(a){a.target.PN(a)};
$.g.pN=function(a){var b=a.event,c=a.target;$.K(c,jJ)&&(a.interactivityEvent=c.cs(b));return a};$.g.bf=function(a){this.Ci||(this.Ci=new dJ,$.W(this,"edit",this.Ci));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Ci.K(a),this):this.Ci};$.g.NF=function(a){this.f.NF(a);this.b.NF(a)};
$.g.ei=function(a){$.kr(SL(this),this.Sf(),VL(this),this.g);this.j.P()||(this.f.P(this.La),this.b.P(this.La),this.j.P(this.La),this.G.P(this.La));var b=this.f.i("fixedColumns"),c=this.i("headerHeight");if(this.J(4)&&0<a.width){if(this.f.enabled()){var d=b?hK(this.f):Math.round($.M(this.i("splitterPosition"),a.width));this.j.Za(a);if(b){var e=hK(this.f,!0);if(e){var f=this.j;e+=fM;f.D=e;f.U=e;f.B(64)}else UI(this.j)}else UI(this.j);d=$.Za(d/a.width,0,1);this.j.To(!1);this.j.position(d);this.j.$();
this.j.To(!0);b&&this.j.position()!=d&&(this.j.To(!1),this.j.position(d),this.j.$(),this.j.To(!0))}else this.b.Za().set(a);b=a.height-c-1;KI(this.g)!=b&&(this.b.bk(c),this.f.bk(c),KI(this.g,b));b=this.f.enabled();this.j.enabled(b);b&&(b=this.j,b.Ya||(b.Ya=b.lb()),d=b.ba?b.b:0,b=VI(b)?new $.J($.Qm(b.Ya.qb(),1),$.Qm(b.Ya.bc(),1),$.Qm((b.Ya.Xd()-d)*b.Re,1),$.Qm(b.Ya.ud(),1)):new $.J($.Qm(b.Ya.qb(),1),$.Qm(b.Ya.bc(),1),$.Qm(b.Ya.Xd(),1),$.Qm((b.Ya.ud()-d)*b.Re,1)),d=rea(this.j),this.f.Za().set(b),this.b.Za().set(d));
b=this.b.lb();d=this.G.TB();this.G.Za(a.left+a.width-d-1,b.top+c+d+1,d,b.height-c-2*d-2)}this.J(4096)&&(this.g.data(this.oa),this.B(8192),this.I(4096));$.lr(this.f,this.b,this.j,this.g);$.Ep()&&this.f.il(!0);PI(this.g);0<a.width&&VL(this).$();this.J(8192)&&this.I(8192)};$.g.qk=function(a,b){return $.cu(this.data(),b)};$.g.Ej=function(){return this.oa?!this.oa.Zb():!0};
$.g.cc=function(a){if($.K(a,$.ys))return this.Ic($.ys,a),this;if($.K(a,$.vs))return this.Ic($.vs,a),this;$.D(a)&&"range"==a.type?this.Ic($.ys):($.D(a)||null==this.Ea)&&this.Ic($.vs);return $.n(a)?(this.Ea.K(a),this):this.Ea};$.g.Ic=function(a,b){if($.K(this.Ea,a))b&&this.Ea.K(b);else{var c=!!this.Ea;$.qd(this.Ea);this.Ea=new a;b&&this.Ea.K(b);$.L(this.Ea,this.If,this);c&&(SL(this).B(128),this.Sf().B(128),this.B(8192,1))}};
$.g.If=function(a){$.X(a,2)&&(SL(this).B(128),this.Sf().B(128),this.B(8192,1))};$.g.F=function(){var a=TL.u.F.call(this);$.Hq(this,MM,a,void 0,void 0,!0);a.defaultRowHeight=this.Fu();a.controller=this.g.F();a.dataGrid=this.XE().F();a.timeline=this.Sf().F();a.edit=this.bf().F();a.palette=this.cc().F();return{gantt:a}};
$.g.X=function(a,b){TL.u.X.call(this,a,b);"controller"in a&&this.g.X(a.controller,b);this.data(this.g.data());"dataGrid"in a&&this.XE().X(a.dataGrid,b);"timeline"in a&&this.Sf().X(a.timeline,b);this.cc(a.palette);$.zq(this,MM,a,b);this.Fu(a.defaultRowHeight);"edit"in a&&this.bf().ia(!!b,a.edit)};$.g.R=function(){$.Zq(this.g,this.h_,this);$.td(this.Ea,this.g,this.G,this.f,this.b,this.j,this.Ci,this.U);this.U=this.Ci=this.j=this.b=this.f=this.G=this.g=this.Ea=null;TL.u.R.call(this)};var NM=TL.prototype;
NM.data=NM.data;NM.dataGrid=NM.XE;NM.getTimeline=NM.Sf;NM.zoomIn=NM.Cr;NM.zoomOut=NM.Dr;NM.zoomTo=NM.Ui;NM.fitAll=NM.Cm;NM.fitToTask=NM.$ca;NM.scrollTo=NM.c$;NM.scrollToRow=NM.e$;NM.scrollToEnd=NM.d$;NM.collapseAll=NM.a$;NM.expandAll=NM.b$;NM.expandTask=NM.Rca;NM.collapseTask=NM.Jba;NM.getType=NM.Na;NM.edit=NM.bf;NM.toCsv=NM.qk;NM.xScale=NM.Va;NM.defaultRowHeight=NM.Fu;NM.palette=NM.cc;NM.rowsColoring=NM.TY;NM.statefulColoring=NM.TY;NM.getCollapsedItemsMap=NM.oda;$.Lp["gantt-resource"]=XL;$.Lp["gantt-project"]=WL;$.F("anychart.ganttProject",WL);$.F("anychart.ganttResource",XL);}).call(this,$)}
if(!_.theme_gantt){_.theme_gantt=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{ganttDefaultSimpleLabelsSettings:{fontSize:11,vAlign:"middle",height:"100%",padding:{left:4,top:0,right:4,bottom:0}},defaultLevelsLabelsSettings:{fontSize:10,format:function(){return this.value},textOverflow:!0},defaultGanttHeader:{stroke:"#cecece",background:{fill:"#f7f7f7",enabled:!0}},defaultLevelSettings:{height:null},defaultDataGrid:{isStandalone:!0,headerHeight:25,fixedColumns:!1,backgroundFill:"none",columnStroke:"#cecece",rowHoverFill:$.SM,rowSelectedFill:$.SM,
rowStroke:"#cecece",rowOddFill:"none",rowEvenFill:"none",rowFill:"none",onEditStart:function(){return 1>this.columnIndex?{cancelEdit:!0}:{value:this.value}},onEditEnd:function(){return 1==this.columnIndex?{itemMap:{name:this.value}}:{cancelEdit:!0}},buttons:{padding:[0,0,0,0],width:15,height:15,cursor:"pointer",normal:{hAlign:"center",vAlign:"middle",fontColor:"#7c868e",fontSize:12,content:"▸",background:{fill:"#fff 0.00001",stroke:"none"}},hovered:{},selected:{content:"▾"}},zIndex:5,headerFill:"#f7f7f7",
tooltip:{padding:5,title:{enabled:!0,fontSize:"14px",fontWeight:"normal",fontColor:"#e5e5e5"},separator:{enabled:!0},format:"{%name}"},defaultColumnSettings:{width:90,buttonCursor:"pointer",depthPaddingMultiplier:0,collapseExpandButtons:!1,title:{text:"Column",enabled:!0,margin:0,vAlign:"middle",hAlign:"center",background:{enabled:!1},wordWrap:"normal",wordBreak:"normal"}},columns:[{width:50,title:{text:"#"}},{width:170,collapseExpandButtons:!0,depthPaddingMultiplier:15,title:{text:"Name"}}]},defaultTimeline:{isStandalone:!0,
columnStroke:"#cecece",backgroundFill:"none",rowHoverFill:$.SM,rowSelectedFill:$.SM,rowStroke:"#cecece",rowOddFill:"none",rowEvenFill:"none",rowFill:"none",workingFill:"none",notWorkingFill:"lightblue 0.5",holidaysFill:"#cecece 0.5",weekendsFill:"#cecece 0.5",zIndex:5,headerHeight:70,elements:{enabled:!0,anchor:"auto",position:"left-center",offset:0,height:"70%",normal:{fill:$.SM,stroke:$.SM},selected:{fill:$.SM,stroke:$.SM},labels:{enabled:null},rendering:{drawer:function(){$.HE.vector.primitives.roundedRect(this.shapes.path,
this.predictedBounds,0)},shapes:[{name:"path",shapeType:"path",zIndex:10,disablePointerEvents:!1}]},edit:{thumbs:{fill:"#eaeaea",stroke:"#545f69",size:3,enabled:!0},connectorThumbs:{fill:"#eaeaea",stroke:"#545f69",size:10,type:"circle",verticalOffset:0,horizontalOffset:0,enabled:!0},fill:{color:"#fff",opacity:1E-5},stroke:{color:"#aaa",dash:"3 3"}},tooltip:{padding:5,title:{enabled:!0,fontSize:"14px",fontWeight:"normal",fontColor:"#e5e5e5"},separator:{enabled:!0}},startMarker:{enabled:!1,anchor:"center",
size:6,offsetX:0,offsetY:0,rotation:0,position:"left-center",type:"triangle-right"},endMarker:{enabled:!1,anchor:"center",size:6,offsetX:0,offsetY:0,rotation:0,position:"right-center",type:"triangle-left"}},tasks:{progress:{height:"100%",anchor:"left-center",drawOverEnd:!0,rendering:{shapes:[{name:"path",shapeType:"path",zIndex:11,disablePointerEvents:!0}]},edit:{fill:"#eaeaea",stroke:"#545f69"}}},groupingTasks:{progress:{height:"100%",anchor:"left-center",rendering:{shapes:[{name:"path",shapeType:"path",
zIndex:11,disablePointerEvents:!0}]},edit:{fill:"#eaeaea",stroke:"#545f69"}},rendering:{drawer:function(){var a=this.predictedBounds,b=a.left+a.width,c=a.top+a.height,d=a.top+1.4*a.height;this.shapes.path.moveTo(a.left,a.top).lineTo(b,a.top).lineTo(b,d).lineTo(b-1,d).lineTo(b-1,c).lineTo(a.left+1,c).lineTo(a.left+1,d).lineTo(a.left,d).close()}}},milestones:{rendering:{drawer:function(){var a=this.predictedBounds,b=a.width/2;$.qp(this.markerType)(this.shapes.path,a.left+b,a.top+b,b)}},preview:{enabled:!1,
rendering:{drawer:function(){var a=this.predictedBounds,b=a.width/2;$.qp(this.markerType)(this.shapes.path,a.left+b,a.top+b,b)},shapes:[{name:"path",shapeType:"path",zIndex:12,disablePointerEvents:!1}]},labels:{enabled:!1,format:"{%Name}",background:{enabled:!0,fill:"white 0.7"}},depth:null,position:"left-top",markerType:"diamond"},markerType:"diamond"},baselines:{above:!1,disableWithRelatedTask:!1,progress:{height:"50%",anchor:"left-bottom",position:"left-bottom",drawOverEnd:!0,rendering:{shapes:[{name:"path",
shapeType:"path",zIndex:11,disablePointerEvents:!0}]},labels:{format:"{%baselineProgress}"},edit:{fill:"#eaeaea",stroke:"#545f69"}}},connectors:{previewStroke:{color:"#545f69",dash:"3 3"},normal:{fill:$.SM,stroke:$.SM},selected:{fill:$.SM,stroke:$.SM}},tooltip:{padding:5,title:{enabled:!0,fontSize:"14px",fontWeight:"normal",fontColor:"#e5e5e5"},separator:{enabled:!0},zIndex:100},labels:{enabled:!0,anchor:"left-center",position:"right-center",padding:{top:3,right:5,bottom:3,left:5},vAlign:"middle",
background:null,fontSize:11,zIndex:40,disablePointerEvents:!0},markers:{anchor:"center",zIndex:50,type:"star5",fill:"#ff0",stroke:"2 red"},defaultLineMarkerSettings:{layout:"vertical",zIndex:1.5},defaultRangeMarkerSettings:{layout:"vertical",zIndex:1},defaultTextMarkerSettings:{layout:"vertical",zIndex:2},zoomOnMouseWheel:!1},ganttBase:{defaultRowHoverFill:"#f8fafb",defaultRowSelectedFill:"#ebf1f4",splitterPosition:"30%",headerHeight:70,rowStroke:"#cecece",rowHoverFill:$.SM,rowSelectedFill:$.SM,edit:{fill:{color:"#4285F4",
opacity:.2},stroke:{color:"#4285F4",thickness:2},placementStroke:{color:"#4285F4",dash:"4 4"},enabled:!1},title:{enabled:!1},legend:{enabled:!1},background:{fill:"#fff"},margin:0,padding:0,dataGrid:{isStandalone:!1,backgroundFill:"none",tooltip:{zIndex:100}},timeline:{isStandalone:!1,cropLabels:!1,labels:{padding:[0,4,0,4]}}},ganttResource:{dataGrid:{tooltip:{titleFormat:"{%Name}",format:"Start Date: {%start}\nEnd Date: {%end}"}},timeline:{tooltip:{titleFormat:"{%Name}",format:"Start Date: {%start}\nEnd Date: {%end}"},
labels:{format:"{%Name}",position:"center",anchor:"center",enabled:!1},milestones:{labels:{anchor:"left-center",position:"right-center",enabled:null},tooltip:{format:"{%start}"}}}},ganttProject:{dataGrid:{tooltip:{titleFormat:"{%Name}",format:"Start Date: {%start}\nEnd Date: {%end}\nComplete: {%progress}"}},timeline:{elements:{labels:{format:"{%Progress}",position:"right-center",anchor:"left-center",enabled:null},tooltip:{titleFormat:"{%Name}",format:"Start Date: {%start}\nEnd Date: {%end}\nComplete: {%progress}"}},
tasks:{progress:{labels:{format:"{%Progress}",enabled:!1}}},groupingTasks:{progress:{labels:{format:"{%Progress}",enabled:!1}}},baselines:{labels:{position:"right-center",anchor:"left-center",format:"Baseline Label",enabled:!1},tooltip:{format:"Start Date: {%start}\nEnd Date: {%end}\nBaseline Start: {%baselineStart}\nBaseline End: {%baselineEnd}\nComplete: {%progress}\nBaseline Progress: {%baselineProgress}"}},milestones:{labels:{format:"{%Name}",anchor:"left-center",position:"right-center",enabled:null},
tooltip:{format:"{%start}"}}}}});$.ra($.fa.anychart.themes.defaultTheme.standalones,{projectTimeline:{tooltip:{titleFormat:"{%Name}",format:"Start Date: {%start}\nEnd Date: {%start}\nComplete: {%progress}"}},resourceTimeline:{tooltip:{titleFormat:"{%Name}",format:"Start Date: {%start}\nEnd Date: {%end}"}},dataGrid:{enabled:!0,zIndex:0}});}).call(this,$)}
if(!_.graph){_.graph=1;(function($){var MV=function(a,b,c){c=c||new $.gb(0,0);var d=a.x,e=a.y,f=Math.cos(b);b=Math.sin(b);a.x=(d-c.x)*f-(e-c.y)*b+c.x;a.y=(d-c.x)*b+(e-c.y)*f+c.y},NV=function(a){return new $.gb(a.left+a.width/2,a.top+a.height/2)},OV=function(){return new $.ux(!0)},PV=function(a){function b(a){a.ib(this)}$.Yq.call(this);this.Ba=a;this.g=[];this.Ss=[];this.f={normal:{},hovered:{},selected:{}};a={};$.T(a,[["fill",0,8192],["stroke",0,8192],["shape",0,8200],["labels",0,4096],["width",0,8200],["height",0,8200]]);this.ca=new $.Yx(this,
a,$.Zl);a={};$.T(a,[["fill",0,0],["stroke",0,0],["shape",0,0],["labels",0,0],["width",0,0],["height",0,0]]);this.xa=new $.Yx(this,a,$.po);this.Ca=new $.Yx(this,a,$.qo);this.ca.pa("labelsFactoryConstructor",OV);this.xa.pa("labelsFactoryConstructor",OV);this.Ca.pa("labelsFactoryConstructor",OV);this.ca.pa("labelsAfterInitCallback",$.dy);this.xa.pa("labelsAfterInitCallback",b);this.Ca.pa("labelsAfterInitCallback",b)},QV=function(a,b){var c=a.state(b),d=$.ro(c),e=a.PS(b),f=b.lC,h=a.Ba.group(b.groupId);
if(!a.f[d][e]){var k=a.aa();k.select(f);f=k.get("labels");k=(k=k.get(d))?k.labels?k.labels:{}:{};f=f||{};$.ra(f,k);if(!$.Jc(f)){var l=new $.ux(!0);l.K(f)}k=a[d]().labels();k.parent()||(0==c?k.parent(a.Ba.labels()):k.parent(a.ca.labels()));if(f=h?h[d]().labels():void 0)f.parent()||(0==c?f.parent(a.Ba.tf().labels()):f.parent(h.Sa().labels())),k=f;l&&(k=l.parent(k));k.Vf(null);$.L(k,a.Zd,a);a.f[d][e]=k}return a.f[d][e]},RV=function(a){(a=a.g.pop())||(a=$.nk());a.clear();return a},SV=function(a,b){b.Ji||
(b.Ji=a.$n());return b.Ji},TV=function(a,b){var c=QV(a,b);if(c.enabled()){var d=SV(a,b),e=a.Ec(b);e=c.$n(e);d.text(e);e=c.flatten();"auto"==c.i("anchor")&&(e=$.Qc(e),e.position=b.sH?b.sH:"center-bottom",e.anchor=b.rH?b.rH:"center-top");d.style(e);$.zx(d);$.Cx(d)}},UV=function(a){for(var b in a.f)for(var c in a.f[b])a.f[b][c].R();a.f={normal:{},hovered:{},selected:{}}},WV=function(a){PV.call(this,a);this.Ba=a;this.type=VV;this.D=null;this.b=$.nk();this.G=$.lk();this.j=$.lk();this.Fh||(this.nm=$.kg().Jq(),
this.Fh=new $.Uh(this.nm));this.N=this.Fh;this.j.parent(this.G);this.N.parent(this.G);$.ql(this)},XV=function(a){var b=a.angle+","+a.c3.x+","+a.c3.y;a.Ji.Kd().setAttribute("transform","rotate("+b+")")},YV=function(a,b){if(QV(a,b).enabled()){var c=a.Ba.P().Ha();$.Dx(b.Ji,a.nm);var d=a.al(b);$.Kx(b.Ji,d,c);$.Ex(b.Ji);XV(b)}},ZV=function(a){if(a.Ba.Vc().i("edges"))return RV(a);a.b||(a.b=$.nk());return a.b},$V=function(a,b){var c=a.Ae(b);c=a.bl(c,b);return $.Wo(c)},aW=function(a,b){var c=a.HL();if(b){var d=
b;var e=a.Ba.b[d.from],f=a.Ba.b[d.Cf];c=e.position.x;e=e.position.y;var h=f.position.x;f=f.position.y;d.path.clear().moveTo(c,e).lineTo(h,f);d.jM.clear().moveTo(c,e).lineTo(h,f)}else if(a.Ba.Vc().i("edges"))for(f=0,e=c.length;f<e;f++){d=c[f];h=a;var k=h,l=d;k.clear(l);l.path||(l.path=ZV(k));var m=l.path;m.tag=k.Ep(l);l.Gp=k.state(l);l.path=m;if(k.Ba.Vc().i("edges")){var p=$V(k,l)+k.Ba.Vc().i("hoverGap"),q=ZV(k);q.tag=m.tag;q.fill($.Ul);q.stroke($.Ul,p)}l.jM=q;QV(k,l).enabled()&&(l.Ji=k.$n());k=d.jM;
l=h.Ba.b[d.from];d=h.Ba.b[d.Cf];m.moveTo(l.position.x,l.position.y);m.lineTo(d.position.x,d.position.y);k.moveTo(l.position.x,l.position.y);k.lineTo(d.position.x,d.position.y);m.parent(h.j);k.parent(h.j)}else{f=ZV(a);e=f.fa();e||(f.pc(!0),e=f.fa());h=[];q=0;for(d=c.length;q<d;q++)k=c[q],m=a.Ba.b[k.from].position,k=a.Ba.b[k.Cf].position,h.push("M",m.x,m.y,"L",k.x,k.y);h=h.join(" ");e.setAttribute("d",h);f.parent(a.j);$.ig(f,32)}},bW=function(a){a.path=a.Ba.G.path();if(a.J(16)){for(var b=a.HL(),c=0;c<
b.length;c++)a.clear(b[c]);(b=a.b.fa())&&b.removeAttribute("d");a.I(16)}aW(a)},dW=function(a){PV.call(this,a);this.Ba=a;this.type=cW},eW=function(){$.Yq.call(this);$.T(this.ua,[["enabled",0,0],["zoomOnMouseWheel",0,0,0,function(){this.i("zoomOnMouseWheel")&&this.pa("scrollOnMouseWheel",!1)}],["scrollOnMouseWheel",0,0,0,function(){this.i("scrollOnMouseWheel")&&this.pa("zoomOnMouseWheel",!1)}],["nodes",0,0],["edges",0,2],["magnetize",0,0],["hoverGap",0,2]])},fW=function(a){$.Yq.call(this);this.Ba=a;
$.T(this.ua,[["type",0,1],["iterationCount",0,1]])},hW=function(a){PV.call(this,a);this.Ba=a;this.type=gW;this.G=$.lk();this.b=$.lk();this.Fh||(this.nm=$.kg().Jq(),this.Fh=new $.Uh(this.nm));this.j=this.Fh;this.b.parent(this.G);this.j.parent(this.G);$.ql(this)},iW=function(a,b){if("auto"==QV(a,b).i("anchor")&&"forced"==a.Ba.pe().i("type"))if(0==a.Ba.pe().i("iterationCount")){var c=a.Ba.ka;c=360-$.ab($.cb(Math.atan2(b.position.y-c.y,b.position.x-c.x)));b.rH=90<=c&&270>=c?"right-center":"left-center";
b.sH="left-top"}else 1==b.Os.length?(c=b.Os[0],c=a.Ba.b[c],b.position.x>c.position.x?(b.sH="right-center",b.rH="left-center"):(b.sH="left-center",b.rH="right-center")):(b.sH="center-bottom",b.rH="center-top")},jW=function(a,b){var c=a.Xd(b),d=a.ud(b),e=b.position.x,f=b.position.y,h=b.path;h.clear();h.fa()&&h.fa().removeAttribute("transform");c/=2;d/=2;var k=a.JA(b,"shape");(k==$.Ik(k)?$.qp(k):a.xha)(h,e,f,d,c)},kW=function(a,b){var c=a.Ae(b),d=a.Gm(b,c);c=a.bl(c,b);b.path.fill(d);b.path.stroke(c)},
lW=function(a,b){var c=b.position.x,d=b.position.y,e=a.Xd(b),f=a.ud(b);b.path.setPosition(c-e/2,d-f/2);QV(a,b).enabled()&&(c=a.Ba.P().Ha(),$.Dx(b.Ji,a.nm),b.Ji.Kd().removeAttribute("transform"),$.Kx(b.Ji,a.al(b),c),$.Ex(b.Ji))},mW=function(a){$.gx.call(this);this.Fa("graph");this.b={};this.N={};this.ab={};this.ga=null;this.Ja=[];this.ba=null;this.D={};this.j={};this.O={};this.$e=this.xj=this.U=null;this.oa={nodes:null,edges:null};this.kh=new $.Cb;this.xc=Rfa(this);this.lo=!1;this.Ga=this.ya=this.me=
this.Ra=0;this.oU=this.Bd=!1;this.data(a)},oW=function(a){var b;for(b in a.j){var c=a.j[b];nW(a,c.id,gW,0);delete a.j[b]}for(b in a.O)c=a.O[b],nW(a,c.id,VV,0),delete a.O[b]},Sfa=function(a){(0,$.Qe)(a.Ja,function(a){nW(this,a,gW,2)},a);a.Ja.length=0},Tfa=function(a){var b=null,c=!1;a.sc.ra(a,"touchstart",function(a){c=!1;b=$.yj(function(){this.oU||(this.lo=!1,this.Fv(a));c=!0},300,this)});a.sc.ra(a,"touchend",function(a){$.Fj(b);c||this.d1(a)})},Rfa=function(a){var b;return function(){$.Fj(b);b=$.yj(a.Wha,
500,a)}},pW=function(a,b){var c;if(a.Hg.i("edges")){var d=ZV(a.g);d.clear();var e=0;for(c=b.ht.length;e<c;e++)d=a.D[b.ht[e]],aW(a.g,d),YV(a.g,d)}else for(bW(a.g),e=0,c=b.ht.length;e<c;e++)d=a.D[b.ht[e]],YV(a.g,d)},qW=function(a,b,c){a.position.x+=b;a.position.y+=c;a.position.Wn=b;a.position.em=c},rW=function(a,b){var c=a.Qo(),d=c.ed;return-c.Me*d+b/d},sW=function(a,b){var c=a.Qo(),d=c.ed;return-c.xd*d+b/d},tW=function(a,b,c){b=a.b[b];b.path.tag.Gp=c;a.hh.state(b,c);a.hh.YI(b);a.hh.jX(b)},uW=function(a,
b,c){a.Hg.i("edges")&&(b=a.D[b],b.path.tag.Gp=c,a.g.state(b,c),a.g.YI(b),a.g.jX(b))},nW=function(a,b,c,d){switch(c){case VV:if(a.Hg.i("edges")){uW(a,b,d);b=a.D[b];c=b.from;c in a.j||tW(a,c,d);var e=b.Cf;e in a.j||tW(a,e,d);2==d&&(a.O[b.id]={id:b.id,type:VV},a.j[c]={id:c,type:gW},a.j[e]={id:e,type:gW})}break;case gW:tW(a,b,d);c=a.b[b].ht;for(e=0;e<c.length;e++){var f=c[e];f in a.O||uW(a,f,d);2==d&&(a.O[f]={id:f,type:VV})}2==d&&(a.j[b]={id:b,type:gW})}},wW=function(a){for(var b=vW(a),c=[],d=[],e,f=
0,h=0,k=b.length;h<k;h++)if(e=b[h],-1==(0,$.za)(d,e)){var l=String(f);a.ab[l]=[];c.push(e.id);for(c.push.apply(c,e.Os);e=c.pop();){var m=a.b[e];-1==(0,$.za)(d,m)&&(c.push.apply(c,m.Os),d.push(m),a.ab[l].push(e),m.$W=String(f))}f++}},xW=function(a){var b=a.oa.edges;if(0<a.oa.nodes.Gb()){var c=a.oa.nodes.aa();for(c.reset();c.advance();){var d=c.get("id");if(null!=d)if(d=String(d),a.b[d])$.el(902,null,[d],!0);else{var e=a.b[d]={};e.index=c.la();e.id=d;e.lC=c.la();e.ht=[];e.Os=[];e.Gp=0;e.position={x:c.get("x"),
y:c.get("y")};d=c.get("group");null!=d&&(a.N[d]||(a.N[d]=null),e.groupId=d)}else $.el(907,null,[],!0)}c.reset()}if(0<b.Gb()){b=a.oa.edges.aa();b.reset();for(var f;b.advance();){f=b.get("from");var h=b.get("to");c=b.get("id");null!=c?c=String(c):c=VV+"_"+b.la();if(f!=h)if(e=a.b[f],d=a.b[h],e&&d){h={};h.index=b.la();h.id=c;h.from=e.id;h.Cf=d.id;h.lC=b.la();h.Gp=0;var k=!1;for(f=0;f<e.Os.length;f++){var l=e.Os[f];if(l==e.id||l==d.id){$.el(900,null,[e.id,d.id],!0);k=!0;break}}if(!k)for(f=0;f<d.Os.length;f++)if(l=
d.Os[f],l==e.id||l==d.id){$.el(900,null,[d.id,e.id],!0);k=!0;break}k||(e.ht.push(h.id),d.ht.push(h.id),e.Os.push(d.id),d.Os.push(e.id),a.D[c]=h)}else e||$.el(903,null,[c,f],!0),d||$.el(903,null,[c,h],!0);else $.el(904,null,[c,h],!0)}300<b.Gb()&&a.Vc().Fa({edges:!1});b.reset()}},yW=function(a){if(a.b)for(var b in a.b)a.hh.clear(a.b[b]);if(a.D)for(var c in a.D)a.g.clear(a.D[c]);a.tf().vC();a.aj().vC();a.b={};a.D={};a.ga=null;a.ba=null;a.ab={};for(var d in a.j)delete a.j[d];for(d in a.O)delete a.O[d]},
vW=function(a){if(!a.ga){a.ga=[];for(var b in a.b)a.ga.push(a.b[b])}return a.ga},zW=function(a){if(!a.ba){a.ba=[];for(var b in a.D)a.ba.push(a.D[b])}return a.ba},AW=function(a){a.G.jc(a.kh.ed,a.kh.Me,a.kh.We,a.kh.Ee,a.kh.Ad,a.kh.xd)},BW=function(a){return new mW(a)},Ufa={gla:"fixed",ila:"forced"};$.H(PV,$.Yq);$.xq(PV,"fill stroke labels shape height width".split(" "),"normal");$.g=PV.prototype;$.g.qa=8192|$.oE|$.pE|36875;
$.g.sg=function(){this.ca.Fa(this.ma);$.W(this,"normal",this.ca);$.W(this,"hovered",this.xa);$.W(this,"selected",this.Ca);this.ca.labels().parent(this.Ba.labels());this.xa.labels().parent(this.ca.labels());this.Ca.labels().parent(this.ca.labels())};$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};
$.g.bl=function(a,b){var c=$.n(b)?this.JA(b,"stroke"):this.ca.i("stroke");$.E(c)&&(c=c.call(a,a));return c};$.g.Gm=function(a,b){var c=this.JA(a,"fill");$.E(c)&&(c=c.call(b,b));return c};$.g.Na=function(){return this.type};$.g.state=function(a,b){return null!=b?(a.Gp=b,a):a.Gp||0};
$.g.Zd=function(a){$.X(a,32768)&&this.ta($.oE);var b=this.Ba,c=this.Na(),d=$.X(a,8),e=[];if($.n(c))switch(c){case gW:case cW:e.push("nodes");d&&b.hh.ta($.pE);break;case VV:e.push("edges"),d&&b.g.ta($.pE)}$.X(a,1)&&(e.push("labelsStyle"),e.push("labelsEnabled"));$.X(a,2)&&e.push("labelsEnabled");$.X(a,32768)&&(e.push("labelsEnabled"),e.push("labelsStyle"));$.X(a,8)&&(e.push("labelsBounds"),e.push("labelsEnabled"),e.push("labelsStyle"));$.cr(b,"graph",e,1)};
$.g.$n=function(){var a=this.Ss.pop();a||(a=new $.vx);return a};$.g.hT=function(a){var b={},c=this.aa();c.select(a.lC);this.D.Ag(c);b.type={value:this.Na(),type:"string"};b.id={value:a.id,type:"string"};return b};$.g.Ec=function(a){this.D||(this.D=new $.rw);a=this.hT(a);return $.av(this.D,a)};$.g.Ep=function(a){var b={};b.type=this.Na();b.id=this.PS(a);b.Gp=this.state(a);return b};$.g.HL=function(){return zW(this.Ba)};
$.g.Ae=function(a){var b=this.Na(),c=b==gW?1:0,d=this.Ba.cc();return $.n(a)?{index:a.index,type:b,id:a.id,sourceColor:d.nc(c)}:{sourceColor:d.nc(c)}};$.g.Xa=function(a){this.gb||(this.gb=new $.iw(0),this.gb.Ye(),$.W(this,"tooltip",this.gb),this.gb.parent(this.Ba.Xa()),this.gb.Aa(this.Ba));return $.n(a)?(this.gb.K(a),this):this.gb};$.g.X=function(a,b){PV.u.X.call(this,a,b);"tooltip"in a&&this.Xa().K(a.tooltip);this.ca.K(a);this.ca.K(a.normal);this.xa.K(a.hovered);this.Ca.K(a.selected)};
$.g.F=function(){var a=PV.u.F.call(this);var b=this.ca.F();var c=this.xa.F();var d=this.Ca.F();if(!$.Jc(b)){var e=b.labels;e&&$.Jc(e)&&delete b.labels;$.Jc(b)||(a.normal=b)}$.Jc(c)||((e=c.labels)&&$.Jc(e)&&delete c.labels,$.Jc(c)||(a.hovered=c));$.Jc(d)||((e=d.labels)&&$.Jc(e)&&delete d.labels,$.Jc(d)||(a.selected=d));return a};
$.g.clear=function(a){var b=a.path;b&&(b.tag=null,b.clear(),b.parent(null),this.g.push(b),a.path=null);if(b=a.jM)b.tag=null,b.clear(),b.parent(null),this.g.push(b),a.jM=null;if(b=a.Ji)a.Ji=null,$.Dx(b,null),this.Ss.push(b)};$.g.vC=function(){UV(this)};$.g.R=function(){var a;for(a=0;a<this.Ss.length;a++)this.Ss[a].cd();for(a=0;a<this.g.length;a++)this.g[a].R();this.Ss.length=0;this.g.length=0;UV(this)};var CW=PV.prototype;CW.normal=CW.Sa;CW.hovered=CW.mb;CW.selected=CW.selected;$.H(WV,PV);$.g=WV.prototype;$.g.qa=PV.prototype.qa;$.g.sa=16;$.g.xy=function(){for(var a=[],b=zW(this.Ba),c=0;c<b.length;c++){var d=b[c],e=QV(this,d);d=SV(this,d);e.enabled()&&a.push(d)}return a};
$.g.al=function(a){var b=QV(this,a),c=this.Ba.b,d=c[a.from],e=c[a.Cf];$V(this,a);c=e.position.x;var f=d.position.x;e=e.position.y;var h=d.position.y;c==f?(d=Math.max(e,h),h=d+(Math.min(e,h)-d)/2,e=c):(d=Math.max(c,f),c=Math.min(c,f),f=Math.max(e,h),h=Math.min(e,h),d==c?(e=d,h+=(f-h)/2):(e=c+(d-c)/2,h=(e-c)/(d-c)*(f-h)+h));c=this.Ba.b[a.from];d=this.Ba.b[a.Cf];c=new $.gb(c.position.x,c.position.y);d=new $.gb(d.position.x,d.position.y);e=new $.gb(e,h);h=$V(this,a);f=this.Dg(a);var k=h/2;if(c.x>d.x){var l=
d;d=c;c=l}l=$.ab($.cb(Math.atan2(c.y-d.y,c.x-d.x)));MV(c,$.bb(-l),e);MV(d,$.bb(-l),e);c.y+=k;d.y+=k;MV(c,$.bb(l),e);MV(d,$.bb(l),e);e=$.gn(c.x,c.y,f,h);e=b.padding().nj(e);a.c3=c;a.angle=l?l+180:-270;return e};$.g.yf=function(a){var b=QV(this,a),c=SV(this,a);if(c)if(b.enabled()){var d=this.Ba.P().Ha();b=this.al(a);$.Dx(c,this.nm);$.Kx(c,b,d);$.Ex(c);d=c.Kd();c=+d.getAttribute("x")-b.left;b=+d.getAttribute("y")-b.top;a.Vna=c;a.Wna=b;XV(a)}else $.Dx(c,null),$.xx(c)};
$.g.fi=function(){var a=this.Ba.D;for(b in a){var b=this.Ba.D[b];this.yf(b)}};$.g.NB=function(){for(var a=zW(this.Ba),b=0;b<a.length;b++)TV(this,a[b])};$.g.jX=function(a){QV(this,a).enabled()&&!a.Ji&&SV(this,a);a.Ji&&($.xx(a.Ji),TV(this,a),$.Dx(a.Ji,this.nm),$.Mx(a.Ji),this.yf(a))};$.g.tm=function(a){var b=this.Ae(a);b=this.bl(b,a);a.path.stroke(b)};
$.g.YI=function(a){if($.n(a))this.tm(a);else if(this.Ba.Vc().i("edges")){a=this.HL();for(var b=0;b<a.length;b++)this.tm(a[b])}else a=this.Ae(),a=this.bl(a),this.b.stroke(a)};$.g.JA=function(a,b){var c=$.ro(a.Gp),d=this[c]().i(b),e;if("fill"!=b&&"stroke"!=b){var f=this.normal().dd(b),h=this[c]().dd(b);$.n(h)?d=h:$.n(f)&&(d=f)}f=this.aa();f.select(a.lC);(h=f.get(b))&&(e=h);(h=f.get(c))&&h[b]&&(e=h[b]);return $.n(e)?e:d};$.g.PS=function(a){return a.id};
$.g.Dg=function(a){var b=this.Ba.b[a.from];a=this.Ba.b[a.Cf];return Math.sqrt(Math.pow(a.position.x-b.position.x,2)+Math.pow(a.position.y-b.position.y,2))};$.g.vC=function(){WV.u.vC.call(this);this.Nd=null};$.g.aa=function(){return this.Nd||(this.Nd=this.Ba.data().edges.aa())};$.g.HL=function(){return zW(this.Ba)};$.g.xD=function(a){$.X(a,2)&&this.B(16)};$.g.VS=function(){return this.G};$.g.F=function(){var a=WV.u.F.call(this),b=this.Xa().F();$.Jc(b)||(a.tooltip=b);return a};
$.g.R=function(){for(var a=zW(this.Ba),b=0;b<a.length;b++)this.clear(a[b]);WV.u.R.call(this)};var DW=WV.prototype;DW.tooltip=DW.Xa;$.H(dW,PV);dW.prototype.sg=function(){this.Sa().labels().parent(this.Ba.tf().labels());this.mb().labels().parent(this.Sa().labels());this.selected().labels().parent(this.Sa().labels())};$.H(eW,$.Yq);eW.prototype.qa=2;var EW={};$.hq(EW,[[0,"enabled",$.uq],[0,"zoomOnMouseWheel",$.uq],[0,"scrollOnMouseWheel",$.uq],[0,"magnetize",$.uq],[0,"nodes",$.uq],[0,"edges",$.uq],[0,"hoverGap",$.qq]]);$.U(eW,EW);eW.prototype.Ce=function(a,b){return $.da(b)?(this.enabled(b),!0):!1};eW.prototype.X=function(a,b){eW.u.X.call(this,a,b);$.zq(this,EW,a,b)};eW.prototype.F=function(){var a=eW.u.F.call(this);$.Hq(this,EW,a);return a};$.H(fW,$.Yq);var FW=function(){var a={};$.hq(a,[[0,"type",function(a){return $.xk(Ufa,a,"forced")}],[0,"iterationCount",$.qq]]);return a}();$.U(fW,FW);fW.prototype.qa=1;fW.prototype.Ce=function(a,b){return $.z(b)?(this.type(b),!0):!1};fW.prototype.X=function(a,b){fW.u.X.call(this,a,b);$.zq(this,FW,a,b)};fW.prototype.F=function(){var a=fW.u.F.call(this);$.Hq(this,FW,a);return a};$.H(hW,PV);$.g=hW.prototype;$.g.qa=PV.prototype.qa|1;$.g.vC=function(){hW.u.vC.call(this);this.Nd=null};$.g.aa=function(){return this.Nd||(this.Nd=this.Ba.data().nodes.aa())};$.g.xy=function(){for(var a=[],b=vW(this.Ba),c=0;c<b.length;c++){var d=b[c],e=QV(this,d);d=SV(this,d);e.enabled()&&a.push(d)}return a};$.g.PS=function(a){return a.id};
$.g.JA=function(a,b){var c=$.ro(a.Gp),d=$.ro(0);var e=this[d]()[b]();var f=this[c]()[b]();e=$.n(f)?f:e;if("fill"!=b&&"stroke"!=b){f=this[d]().dd(b);var h=this[c]().dd(b);$.n(h)?e=h:$.n(f)&&(e=f)}f=this.Ba.group(a.groupId);$.n(f)&&(d=f[d]().dd(b),f=f[c]().dd(b),null!=f?e=f:null!=d&&(e=d));f=this.aa();f.select(a.lC);d=f.get(b);e=$.n(d)?d:e;return e=(d=f.get(c))&&$.n(d[b])?d[b]:e};
$.g.hT=function(a){var b=hW.u.hT.call(this,a),c=(0,$.Wa)(a.ht,function(b){var c=this.Ba.D[b];b=c.from;c=c.Cf;return b!=a.id?b:c},this);b.siblings={value:c,type:""};return b};$.g.jX=function(a){QV(this,a).enabled()&&!a.Ji&&(a.Ji=this.$n());a.Ji&&($.xx(a.Ji),iW(this,a),TV(this,a),$.Dx(a.Ji,this.nm),$.Mx(a.Ji),this.yf(a))};$.g.NB=function(){for(var a=vW(this.Ba),b=0;b<a.length;b++){var c=a[b];iW(this,c);TV(this,c)}};
$.g.al=function(a){var b=QV(this,a),c=a.position.x,d=a.position.y,e=this.Ae(a);$.Wo(this.bl(e,a));e=this.ud(a);var f=this.Xd(a);c-=f/2;var h=d-e/2,k=this.Ba.ka;d=b.padding();"auto"==b.i("anchor")&&"forced"==this.Ba.pe().i("type")&&0==this.Ba.pe().i("iterationCount")&&(a=new $.gb(a.position.x,a.position.y),b=$.jb(k,a),c=(b+Math.max(f,e)/2)/b+.025,a.scale(c),b=this.Ba.ka.clone(),b.scale(c),k=b.y-this.Ba.ka.y,c=a.x-=b.x-this.Ba.ka.x,h=a.y-=k);return d.nj($.gn(c,h,f,e))};
$.g.yf=function(a){var b=SV(this,a);if(QV(this,a).enabled()){var c=this.al(a),d=this.Ba.P().Ha();$.Dx(b,this.nm);$.Kx(b,c,d);$.Ex(b);a.Ji&&(d=QV(this,a),b=a.Ji.Kd(),b.removeAttribute("transform"),d.i("autoRotate")&&(d=this.Ba.ka,a=$.ab($.cb(Math.atan2(a.position.y-d.y,a.position.x-d.x))),90<=a&&270>=a&&(a+=180),a=$.ab(a),b.setAttribute("transform","rotate("+a+", "+c.left+", "+(c.top+c.height/2)+")")))}else $.Dx(b,null),$.xx(b)};$.g.fi=function(){for(var a=vW(this.Ba),b=0;b<a.length;b++)this.yf(a[b])};
$.g.ud=function(a){return this.JA(a,"height")};$.g.Xd=function(a){var b=this.JA(a,"shape");return b==$.Ik(b)?this.ud(a):this.JA(a,"width")};$.g.xha=function(a,b,c,d,e){var f=b-e,h=c-d;b+=e;c+=d;a.moveTo(f,h).lineTo(b,h).lineTo(b,c).lineTo(f,c).lineTo(f,h).close();return a};$.g.bL=function(a){a.path||(a.path=RV(this));var b=a.path;b.tag=this.Ep(a);a.Gp=this.state(a);a.path=b;b.parent(this.b)};
$.g.YI=function(a){if($.n(a))jW(this,a),kW(this,a);else{a=vW(this.Ba);for(var b=0;b<a.length;b++){var c=a[b];jW(this,c);kW(this,c)}}};$.g.VS=function(){return this.G};$.g.F=function(){var a=hW.u.F.call(this),b=this.Xa().F();$.Jc(b)||(a.tooltip=b);return a};$.g.R=function(){for(var a=vW(this.Ba),b=0;b<a.length;b++)this.clear(a[b]);hW.u.R.call(this)};var GW=hW.prototype;GW.tooltip=GW.Xa;$.H(mW,$.gx);$.uz(mW,"graph","appearance data edges labelsBounds labelsEnabled labelsStyle layout nodes rotate selection transform".split(" "));var gW="node",cW="group",VV="edge";$.g=mW.prototype;$.g.qa=$.gx.prototype.qa|8194;$.g.sa=$.gx.prototype.sa|16;$.g.Na=function(){return"graph"};$.g.Ej=function(){return!this.oa.nodes||!this.oa.nodes.Gb()};$.g.Te=function(){return[]};$.g.At=function(){return[this]};$.g.qk=function(){};$.g.fC=function(a,b){return a==gW?this.hh.Ec(this.b[b]):this.g.Ec(this.D[b])};
$.g.Fv=function(a){if(!this.lo){var b=a.domTarget.tag;if(b){var c=b.id,d=b.type;if(!$.wd&&a.ctrlKey||$.wd&&a.metaKey){if(2==b.Gp){if(d==gW)for(nW(this,c,gW,0),delete this.j[c],b=this.b[c],a=0;a<b.ht.length;a++)c=b.ht[a],nW(this,c,VV,0),delete this.j[c];else a=this.D[c],nW(this,a.from,gW,0),nW(this,a.Cf,gW,0),nW(this,a.id,VV,0),delete this.j[a.from],delete this.j[a.Cf],delete this.O[a.id];return}nW(this,b.id,b.type,2)}else oW(this);nW(this,b.id,b.type,2)}else oW(this)}this.lo=!1};
$.g.co=function(a){if(!this.$e||!this.$e.Ro){var b=a.domTarget.tag,c;if(b){var d=b.type,e=b.id;b=b.Gp;this.Xa().Oc();2!=b&&nW(this,e,d,1);d==gW?c=this.hh.Xa():d==VV&&this.Hg.i("edges")&&(c=this.g.Xa());c&&$.Aw(c,a.clientX,a.clientY,this.fC(d,e))}else this.Xa().Oc()}};$.g.d1=function(a){if(!this.$e||!this.$e.Ro){var b=a.domTarget.tag,c;if(b){var d=b.type,e=b.id;this.Xa().Oc();b.type==gW?c=this.hh.Xa():b.type==VV&&this.Hg.i("edges")&&(c=this.g.Xa());c&&$.Aw(c,a.clientX,a.clientY,this.fC(d,e))}else this.Xa().Oc()}};
$.g.l$=function(a){a.target.tag||this.bh(a)};$.g.Wha=function(){this.eb.parent(this.nb)};
$.g.m$=function(a){if(!this.$e||!this.$e.Ro){var b=this.Vc();if(b.i("enabled")){var c=a.deltaY;if(b.i("zoomOnMouseWheel")){var d=$.wC&&6>=Math.abs(a.deltaY)?0<a.deltaY?.8:0>a.deltaY?1.2:1:$.Za(1-a.deltaY/120,.7,2);var e=this.Qo().ed*d;if(.4<e&&100>e){e=vW(this).length+zW(this).length;this.Hg.i("edges")&&500<e&&(this.eb.parent(null),this.xc());e=a.clientX;var f=a.clientY;$.Db(this.kh,d,d);$.Eb(this.kh,(e||0)*(1-d),(f||0)*(1-d));AW(this)}}b.i("scrollOnMouseWheel")&&(this.kh.translate(0,c),AW(this));
a.preventDefault()}}};$.g.Qo=function(){return this.kh};$.g.Gg=function(a){this.$e&&this.$e.Ro&&this.Vc().i("enabled")&&this.Vc().i("nodes")||(a=a.domTarget.tag)&&2!=a.Gp&&nW(this,a.id,a.type,0)};$.g.Hw=function(a){var b={};$.Sc(b,$.Kl($.QF["select-marquee"]),a);return b};
$.g.WN=function(a){var b=this.Qo();a=new $.J(a.left,a.top,a.width,a.height);for(var c=new $.gb(0,0),d=vW(this),e=0;e<d.length;e++){var f=d[e];c.x=f.position.x*b.ed+b.Ad;c.y=f.position.y*b.ed+b.xd;$.sb(a,c)||nW(this,f.id,gW,2)}this.lo=!0};$.g.select=function(a){$.n(a)?$.A(a)||(a=[a]):a=$.Gc(this.b);(0,$.Qe)(a,function(a){a in this.b&&this.Ja.push(a)},this);(0,$.Qe)($.Gc(this.j),function(a){$.Aa(this.Ja,a)||this.Ja.push(a)},this);$.br(this,"graph","selection",1)};
$.g.ae=function(a){$.n(a)?$.A(a)||(a=[a]):a=$.Gc(this.j);(0,$.Qe)($.Gc(this.j),function(b){$.Aa(a,b)||this.Ja.push(b)},this);$.br(this,"graph","selection",1)};$.g.tV=function(a){$.X(a,8192)&&$.br(this,"graph","appearance",1)};$.g.Aga=function(a){$.X(a,1)&&(this.B(4),$.cr(this,"graph",["appearance","labelsStyle","labelsBounds","labelsEnabled","layout"],1))};$.g.yga=function(a){$.X(a,2)&&this.B(4,1)};
$.g.Id=function(){yW(this);xW(this);wW(this);this.B(4);$.cr(this,"graph","data appearance labelsStyle labelsBounds labelsEnabled layout".split(" "),1)};$.g.cc=function(a){if($.K(a,$.ys))return this.Ic($.ys,a),this;if($.K(a,$.vs))return this.Ic($.vs,a),this;$.D(a)&&"range"==a.type?this.Ic($.ys):($.D(a)||null==this.Ea)&&this.Ic($.vs);return $.n(a)?(this.Ea.K(a),this):this.Ea};
$.g.Ic=function(a,b){if($.K(this.Ea,a))b&&this.Ea.K(b);else{var c=!!this.Ea;$.qd(this.Ea);this.Ea=new a;$.W(this,"palette",this.Ea);this.Ea.oq();b&&this.Ea.K(b);$.L(this.Ea,this.If,this);c&&$.br(this,"sankey","appearance",1)}};$.g.If=function(a){$.X(a,2)&&$.br(this,"sankey","appearance",1)};$.g.tf=function(a){this.hh||(this.hh=new hW(this),$.W(this,"nodes",this.hh),this.hh.sg(),$.L(this.hh,this.tV,this));return a?(this.hh.K(a),this):this.hh};
$.g.Vc=function(a){this.Hg||(this.Hg=new eW,$.W(this,"interactivity",this.Hg),$.L(this.Hg,this.aj().xD,this.aj()),$.L(this.Hg,this.yga,this));return $.n(a)?(this.Hg.K(a),this):this.Hg};$.g.group=function(a,b){if(null!=a){if($.n(this.N[a])){if(null===this.N[a]){var c=new dW(this);c.sg();$.L(c,this.tV,this);this.N[a]=c}return b?(this.N[a].K(b),this):this.N[a]}$.el(905,null,[a],!0)}};
$.g.pe=function(a){this.f||(this.f=new fW(this),$.W(this,"layout",this.f),$.L(this.f,this.Aga,this));return $.n(a)?(this.f.K(a),this):this.f};$.g.aj=function(a){this.g||(this.g=new WV(this),$.W(this,"edges",this.g),this.g.sg(),$.L(this.g,this.tV,this));return $.n(a)?(this.g.K(a),this):this.g};$.g.labels=function(a){this.Da||(this.Da=new $.ux,$.W(this,"labels",this.Da));return $.n(a)?(this.Da.K(a),this):this.Da};
$.g.$q=function(){if(!this.$e){this.$e=new $.ag(this.va.fa(),this.va);var a,b,c,d,e=null,f,h,k,l,m=[],p,q,r;this.$e.ra("start",function(h){p=this.Vc().i("enabled");q=this.Vc().i("nodes");r=vW(this).length+zW(this).length;if(p)if(e=h.UB.target,f=e.tag,$.wk()&&this.Xa().Oc(),f&&f.type==gW){if(q){var k=f.id;if($.Jc(this.j))l=this.b[k];else if(k in this.j)for(var t in this.j)m.push(this.b[t]);else(!$.wd&&!h.UB.ctrlKey||$.wd&&!h.UB.metaKey)&&oW(this),l=this.b[k];a=rW(this,h.clientX);b=sW(this,h.clientY)}}else oW(this),
a=h.clientX,b=h.clientY;c=h.clientX;d=h.clientY},!1,this);this.$e.ra("drag",function(c){if(p){this.oU=!0;this.Xa().Oc();var d=this.Qo().ed,e=c.clientX;c=c.clientY;if(f&&f.type==gW){if(q)if(e=rW(this,e),c=sW(this,c),h=e-a,k=c-b,a=e,b=c,m.length)for(d=0;d<m.length;d++)e=m[d],qW(e,h,k),lW(this.hh,e),pW(this,e);else qW(l,h,k),lW(this.hh,l),pW(this,l)}else h=(e-a)/d,k=(c-b)/d,a=e,b=c,this.kh.translate(h,k),AW(this);this.Hg.i("edges")&&500<r&&this.eb.parent(null)}},!1,this);this.$e.ra("end",function(a){if(p){this.oU=
!1;if(f&&f.type==gW&&q&&!m.length){if(this.Vc().i("magnetize")){var b=this.hh,e=l,h=b.Ba.ab[e.$W],k;var t=k=window.Infinity;for(var B=e.position.x,G=e.position.y,C=0;C<h.length;C++)if(e.id!=h[C]){var I=b.Ba.b[h[C]].position;if(e.position.x>I.x-5&&e.position.x<I.x+5){var P=e.position.x-I.x;P<t&&(t=P,B=I.x)}e.position.y>I.y-5&&e.position.y<I.y+5&&(P=e.position.y-I.y,P<k&&(k=P,G=I.y))}e.position.x=B;e.position.y=G;lW(this.hh,l)}pW(this,l)}m.length=0}if(a.clientX!=c||d!=a.clientY)this.Hg.i("edges")&&
500<r&&this.xc(),this.lo=!0},!1,this)}};$.g.n$=function(){if(!this.U){var a=this.va.fa();this.U=new $.rx(a,!1);this.U.ra("mousewheel",this.m$,!1,this)}};
$.g.ei=function(a){if(!this.ef()){this.va||(this.va=this.La.Dd(),this.tf(),this.aj(),this.pe(),this.Vc(),this.G=$.lk(),this.hc=$.qk(a),this.Tc=$.lk(),this.xj=$.jk(a.left,a.top,a.width,a.height),this.xj.fill($.Ul),this.xj.stroke(null),this.xj.parent(this.Tc),this.Tc.parent(this.va),this.sc.ve(this,"chartdraw",this.$q),this.sc.ve(this,"chartdraw",this.n$),$.wk()?$.eu(this,this,this.co,this.Gg,this.Fv,this.d1,null,null):(this.sc.ac(this.La,"contextmenu",this.bh),this.sc.ra(this.La,"contextmenu",this.l$),
Tfa(this)),this.Ob=$.lk(),this.Ud=$.lk(),this.nb=$.lk(),this.eb=this.g.VS(),this.Ge=this.hh.VS(),this.eb.parent(this.nb),this.Ge.parent(this.Ud),this.nb.parent(this.Ob),this.Ud.parent(this.Ob),this.Ob.parent(this.G),this.va.zIndex(30),this.va.clip(this.hc),this.G.parent(this.va),this.hh.ta($.oE),this.g.ta($.oE));if($.er(this,"graph","layout")){var b=this.pe();switch(b.i("type")){case "forced":var c=vW(b.Ba),d=b.Ba.ab,e;var f=c.length;var h=0;var k=2*Math.PI/f;for(e=0;e<f;e++){var l=c[e];l.velocityX=
0;l.velocityY=0;l.position.x=10*Math.cos(h);l.position.y=10*Math.sin(h);h+=k}k=b.i("iterationCount");for(var m=0;m<k;m++){e=0;for(f=c.length;e<f;e++)for(l=c[e],l.aW=0,h=l.bW=0;h<f;h++){var p=c[h];if(l!=p&&l.$W==p.$W){var q=void 0,r=void 0,t=l.position.x-p.position.x;p=l.position.y-p.position.y;var u=Math.sqrt(t*t+p*p);0!=u&&(r=t/u/u*.9,q=p/u/u*.9);p=[r,q];l.aW+=p[0];l.bW+=p[1]}}e=0;for(f=c.length;e<f;e++)for(l=c[e],l.HQ=0,l.IQ=0,q=l.Os,h=0;h<q.length;h++){p=b.Ba.b[q[h]];r=u=void 0;t=l.position.x-
p.position.x;p=l.position.y-p.position.y;var v=Math.sqrt(t*t+p*p);0!=v&&(u=v*v/50,r=-t/v*u*10,u=-p/v*u*10);p=[r,u];l.HQ+=p[0];l.IQ+=p[1]}e=0;for(f=c.length;e<f;e++)l=c[e],l.velocityX+=l.aW+l.HQ,l.velocityY+=l.bW+l.IQ,l.velocityX=$.Za(l.velocityX,-.12,.12),l.velocityY=$.Za(l.velocityY,-.12,.12),l.position.x+=l.velocityX,l.position.y+=l.velocityY}if(0<k&&(m=$.Gc(d),1<m.length)){c=[];for(e=0;e<m.length;e++){q=m[e];t=d[q];p=window.Infinity;r=-window.Infinity;k=window.Infinity;u=-window.Infinity;f=t.length;
if(1==f)l=b.Ba.b[t[0]],p=l.position.y-.5,k=l.position.x-.5,r=l.position.y+.5,u=l.position.x+.5;else{for(h=0;h<f;h++)l=b.Ba.b[t[h]],p=Math.min(p,l.position.y),r=Math.max(r,l.position.y),u=Math.max(u,l.position.x),k=Math.min(k,l.position.x);k-=.5;u+=.5;p-=.5;r+=.5}l=Math.abs(k-u);c.push({id:q,mI:new $.J(k,p,l,Math.abs(r-p))})}for(e=f=0;e<c.length;e++)for(l=c[e].mI,k=(new $.gb(l.left,l.top)).Oh(),l=c[e].mI.Xd(),c[e].Wn=f-k,f+=l+.5,c[e].em=-NV(c[e].mI).hs(),k=d[c[e].id],h=0;h<k.length;h++)l=b.Ba.b[k[h]],
l.position.x+=c[e].Wn,l.position.y+=c[e].em}break;case "fixed":for(d=vW(b.Ba),e=0;e<d.length;e++)l=d[e],h=b.Ba.data().nodes.qn(l.lC),f=h.x,h=h.y,null==f&&(f=0,$.el(901,null,[l.id,"x"],!0)),null==h&&(h=0,$.el(901,null,[l.id,"y"],!0)),l.position.x=f,l.position.y=h}$.dr(this,"graph","layout")}if($.er(this,"graph","rotate")){b=vW(this);d=NV(this.Xf);for(e=0;e<b.length;e++)l=b[e],f=new $.gb(l.position.x,l.position.y),MV(f,$.bb(this.me),d),l.position.x=f.Oh(),l.position.y=f.hs();$.dr(this,"graph","rotate")}if(this.J(4)){b=
this.hc.shape();b.ro(a.left);b.so(a.top);b.qo(a.width);b.po(a.height);this.xj.ro(a.left);this.xj.so(a.top);this.xj.qo(a.width);this.xj.po(a.height);if(this.Bd||"forced"==this.pe().type()){l=vW(this);d=a=window.Infinity;b=e=-window.Infinity;f=l.length;for(h=0;h<f;h++)c=l[h].position.x,k=l[h].position.y,a=Math.min(k,a),e=Math.max(c,e),b=Math.max(k,b),d=Math.min(c,d);b+=-a;e+=-d;m=Math.min((this.Xf.width-.2*this.Xf.width)/e,(this.Xf.height-.2*this.Xf.height)/b);m=(0,window.isFinite)(m)?m:1;for(h=0;h<
f;h++)c=l[h].position.x,k=l[h].position.y,c+=-d,k+=-a,c*=m,k*=m,l[h].position.x=c,l[h].position.y=k;b*=m;e*=m;d=a=0;f=NV(this.Xf).Oh();l=NV(this.Xf).hs();d=(e-d)/2+d;a=(b-a)/2+a;this.ka=new $.gb(d,a);b=f-d;a=l-a;(0,window.isFinite)(b)||(b=0);(0,window.isFinite)(a)||(a=0);this.kh.translate(-this.ya,-this.Ga);this.ya=b;this.Ga=a;this.kh.translate(b,a)}else{l=vW(this);f=l.length;d=a=window.Infinity;b=e=-window.Infinity;for(h=0;h<f;h++)c=l[h].position.x,k=l[h].position.y,a=Math.min(k,a),e=Math.max(c,
e),b=Math.max(k,b),d=Math.min(c,d);f=NV(this.Xf).Oh();l=NV(this.Xf).hs();d=f-((e-d)/2+d);a=l-((b-a)/2+a);this.kh.translate(-this.ya,-this.Ga);(0,window.isFinite)(d)||(d=0);(0,window.isFinite)(a)||(a=0);this.ya=d;this.Ga=a;this.kh.translate(d,a)}$.br(this,"graph","transform");bW(this.g);a=this.hh;b=vW(a.Ba);for(d=0;d<b.length;d++)a.bL(b[d]);$.cr(this,"graph","edges nodes labelsStyle labelsEnabled labelsBounds appearance".split(" "));this.I(4)}$.er(this,"graph","appearance")&&(this.g.YI(),this.hh.YI(),
$.dr(this,"graph","appearance"));$.er(this,"graph","selection")&&(oW(this),Sfa(this),$.dr(this,"graph","selection"));a=["labelsStyle","labelsBounds","labelsEnabled"];$.ar(this,"graph")?(a=(0,$.Fg)(a,$.$q,0,this.Pr.graph),a=!!(this.en.graph&a)):a=!1;a&&($.er(this,"graph","labelsStyle")&&($.er(this,"graph","nodes")&&this.hh.NB(),$.er(this,"graph","edges")&&this.g.NB(),$.dr(this,"graph","labelsStyle")),$.er(this,"graph","labelsBounds")&&($.pl.measure(),$.dr(this,"graph","labelsBounds")),$.er(this,"graph",
"labelsEnabled")&&($.er(this,"graph","edges")&&this.g.fi(),$.er(this,"graph","nodes")&&this.hh.fi(),$.dr(this,"graph","labelsEnabled")),a=["edges","nodes"],$.ar(this,"graph")&&(a=(0,$.Fg)(a,$.$q,0,this.Pr.graph),this.en.graph&=~a));$.er(this,"graph","transform")&&(AW(this),$.dr(this,"graph","transform"))}};
$.g.zoom=function(a,b,c){var d=this.Qo();return $.n(a)?(null===a?this.xS():($.ea(b)||this.Xf&&(b=this.Xf.left+this.Xf.width/2),$.ea(c)||this.Xf&&(c=this.Xf.top+this.Xf.height/2),$.Db(this.kh,a,a),$.Eb(this.kh,(b||0)*(1-a),(c||0)*(1-a)),$.br(this,"graph","transform",1)),this):d.ed};$.g.qh=function(){return this};$.g.Cm=function(){this.xS()};$.g.Cr=function(){this.zoom(1.3)};$.g.Dr=function(){this.zoom(1/1.3)};
$.g.move=function(a,b){if($.n(a))return null===a&&(a=-this.kh.Ad,b=-this.kh.xd),this.kh.translate(a?a:0,b?b:0),$.br(this,"graph","transform",1),this;var c=this.Qo();return[c.Ad,c.xd]};$.g.xS=function(a){$.da(a)&&(this.Bd=a,this.B(4));this.kh.setTransform(1,0,0,1,0,0);this.kh.translate(this.ya,this.Ga);$.br(this,"graph","transform",1);return this};
$.g.rotation=function(a){return $.n(a)?(this.Ra!=a&&(null===a&&(a=0),a=$.ab(a),this.me=-this.Ra+a,this.Ra=a,this.B(4),$.cr(this,"graph",["labelsStyle","rotate","appearance"],1)),this):this.Ra};
$.g.data=function(a){if($.n(a)){if(null===a||$.n(a.nodes)&&$.n(a.edges)){var b=a&&a.edges?a.edges:null,c;a=a&&a.nodes?a.nodes:null;this.Tf!==a&&(this.Tf=a,this.oa&&this.oa.nodes&&($.Zq(this.oa.nodes,this.Id),$.qd(this.oa.nodes)),$.K(a,$.zr)?c=a.ie().tj():$.K(a,$.pr)?c=a.tj():c=$.Br(a).ie().tj(),$.L(c,this.Id,this),this.oa.nodes=c);a=b;this.Pg!==a&&(this.Pg=a,this.oa&&this.oa.edges&&($.Zq(this.oa.edges,this.Id),$.qd(this.oa.edges)),$.K(a,$.zr)?c=a.ie().tj():$.K(a,$.pr)?c=a.tj():c=$.Br(a).ie().tj(),
$.L(c,this.Id,this),this.oa.edges=c);yW(this);xW(this);wW(this);this.B(4);$.cr(this,"graph","data appearance labelsStyle labelsBounds labelsEnabled layout".split(" "),1)}else $.el(906,null,[],!0);return this}return this.oa};
$.g.F=function(){var a=mW.u.F.call(this);$.Hq(this,mW.b,a);var b=this.data().nodes;b=b?b.F():b;var c=this.data().edges;c=c?c.F():c;var d;if(b)for(d=0;d<b.length;d++){var e=b[d];if(e&&e.id){var f=this.b[e.id];e.x=f.position.x;e.y=f.position.y}}a.graphData={nodes:b,edges:c};a.nodes=this.tf().F();a.edges=this.aj().F();b=this.labels().F();$.Jc(b)||(a.labels=b);a.groups=[];for(d in this.N)b={},b.id=d,b.settings=this.group(d).F(),a.groups.push(b);a.layout=this.pe().F();a.interactivity=this.Vc().F();d=this.kh.clone();
d.translate(-this.ya,-this.Ga);a.transformationMatrix={m00_:d.ed,m10_:d.Me,m01_:d.We,m11_:d.Ee,m02_:d.Ad,m12_:d.xd};a.rotation=this.rotation();return{chart:a}};
$.g.X=function(a,b){mW.u.X.call(this,a,b);$.zq(this,mW.b,a,b);"graphData"in a&&this.data(a.graphData);"edges"in a&&this.aj().K(a.edges);"nodes"in a&&this.tf().K(a.nodes);if("transformationMatrix"in a){var c=a.transformationMatrix;this.kh.setTransform(c.m00_,c.m10_,c.m01_,c.m11_,c.m02_,c.m12_)}"rotation"in a&&(this.Ra=+a.rotation);"labels"in a&&this.labels().K(a.labels);"layout"in a&&(this.pe().K(a.layout),"forced"==a.layout.type&&$.dr(this,"graph","layout"));if("group"in a){c=a.groups;for(var d=0;d<
c.length;d++){var e=c[d];this.group(e.id,e.settings)}}"interactivity"in a&&this.Vc().K(a.interactivity)};$.g.R=function(){$.td(this.g,this.hh,this.Hg,this.f,this.$e);this.aj().R();this.tf().R();this.f=this.Hg=this.hh=this.g=this.ba=this.ga=null;this.D={};this.b={};this.N={};mW.u.R.call(this)};var HW=mW.prototype;HW.data=HW.data;HW.edges=HW.aj;HW.fit=HW.xS;HW.zoom=HW.zoom;HW.getCurrentScene=HW.qh;HW.fitAll=HW.Cm;HW.zoomIn=HW.Cr;HW.zoomOut=HW.Dr;HW.select=HW.select;HW.unselect=HW.ae;HW.move=HW.move;
HW.getType=HW.Na;HW.group=HW.group;HW.rotation=HW.rotation;HW.nodes=HW.tf;HW.layout=HW.pe;HW.interactivity=HW.Vc;HW.noData=HW.Pm;$.Jp.graph=BW;$.F("anychart.graph",BW);}).call(this,$)}
if(!_.theme_graph){_.theme_graph=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{graph:{labels:{enabled:!1,fontSize:8,fontColor:"#7c868e",disablePointerEvents:!0,selectable:!1,anchor:"center-top",position:"center-bottom",padding:{top:0,left:0,right:0,bottom:0}},padding:10,tooltip:{displayMode:"single",positionMode:"float",separator:{enabled:!1},title:{enabled:!1},titleFormat:""},nodes:{width:12,height:12,shape:"circle",tooltip:{format:"{%id}"},labels:{format:"{%id}",enabled:!1},normal:{fill:$.SM,stroke:$.XM},hovered:{fill:$.YM,stroke:$.SM},
selected:{fill:"#333 0.85",stroke:"1.5 #212121"}},edges:{stroke:$.YM,hovered:{stroke:$.XM},selected:{stroke:"#333 0.85"},labels:{enabled:!1,format:"from {%from} to {%to}"},tooltip:{format:"from: {%from}\nto: {%to}"}},layout:{type:"forced",iterationCount:500},interactivity:{enabled:!0,zoomOnMouseWheel:!0,scrollOnMouseWheel:!1,nodes:!0,edges:!0,magnetize:!1,hoverGap:7}}});}).call(this,$)}
if(!_.heatmap_part){_.heatmap_part=1;(function($){var yN=function(a){$.xA.call(this,a)},zN=function(a,b,c){if(c){var d=b==$.Zl?"normal":b==$.po?"hover":"select";b=a.o(d+"X");var e=a.o(d+"Y"),f=a.o(d+"Width");a=a.o(d+"Height");a=new $.J(b,e,f,a);c.rect.uf(a);c.hatchRect.uf(a)}},AN=function(a,b,c,d,e){$.gB.call(this,a,b,c,d,e);$.Cu(this.Sa().labels(),"same");this.Sa().labels().ib(this);this.b=$.Vl("stroke",2,!0);this.ca.Hn("stroke",[1024,65,4294967295])},BN=function(a,b,c,d,e){if(a=$.ZA(a,[a.Sa().labels,a.mb().labels,a.selected().labels],[],["label",
"hoverLabel","selectLabel"],a.DD(),!0,null,b,c,!1))if(c=$.Iu(a),c.adjustByHeight||c.adjustByHeight){var f=b.o(d+"Width");b=b.o(d+"Height");d=(new $.tu).K(c.padding);f-=d.i("left")+d.i("right");b-=d.i("top")+d.i("bottom");$.qd(d);b=$.Vu(a,f,b,c.minFontSize,c.maxFontSize,c.adjustByWidth,c.adjustByHeight);e=Math.min(e||window.Infinity,b)}return e},CN=function(a,b){$.BB.call(this,!1);this.Fa("heatMap");this.je="heat-map";this.pa("defaultSeriesType","heat-map");this.Oa=this.te(this.i("defaultSeriesType"),
a||null,b);$.T(this.ua,[["labelsDisplayMode",32768,1,0,function(){this.Oa.B(256)}]])},DN=function(a,b){var c={},d=0,e=a.values(),f=[];if(e)for(var h=0;h<e.length;h++){var k=e[h],l=a.transform(k,0),m=a.transform(k,1);if(!b||1>=Math.min(l,m)&&0<=Math.max(l,m))c[$.ko(k)]=d++,f.push(String(k))}return{values:c,names:f}},EN=function(a,b,c){if($.ea(b))var d=c[b];else $.z(b)?(d=$.Rs(b,null))||(d=c[b]):$.D(b)?(d=$.Rs(b.type,null))&&d.K(b):d=null;d&&a.sd(d)},FN=function(a,b){var c=new CN(a,b);EN(c,c.mf("colorScale"),
c.Et());c.Kg();c.ld();return c};$.H(yN,$.xA);$.sG[30]=yN;$.g=yN.prototype;$.g.type=30;$.g.flags=512;$.g.sp=["y"];$.g.vh={rect:"rect",hatchRect:"rect"};$.g.fg=function(a,b){var c=this.Wc.Xc(b);zN(a,b,c)};$.g.mB=function(a,b){var c=a.o("shapes");zN(a,b,c)};$.H(AN,$.gB);$.g=AN.prototype;$.g.sP=1.3E-5;$.g.FE={"%XValue":"x"};$.g.Xa=function(a){var b=this.Aa.Xa(a);return $.n(a)?this:b};
$.g.MP=function(){var a=this.Sa().labels(),b=this.mb().labels(),c=this.selected().labels(),d=a.enabled(),e=d||b.enabled(),f=d||c.enabled(),h=a.AB();e=(h||b.AB())&&e;f=(h||c.AB())&&f;h=d&&h;var k,l;d=k=l=window.NaN;$.kN(a,null);$.kN(b,null);$.kN(c,null);if(h||e||f){var m=this.aa();for(m.reset();m.advance();)m.o("missing")||(h&&(d=BN(this,m,$.Zl,"normal",d)),e&&(k=BN(this,m,$.po,"hover",k)),f&&(l=BN(this,m,$.qo,"select",l)))}h?$.kN(a,d):$.kN(a,null);e?$.kN(b,k):$.kN(b,null);f?$.kN(c,l):$.kN(c,null)};
$.g.mfa=function(a,b,c,d){b=a.o("left");var e=a.o("right");c=a.o("top");var f=a.o("bottom"),h=this.b(this,$.Zl),k=this.b(this,$.po),l=this.b(this,$.qo);h=$.bc(h)/2;k=$.bc(k)/2;l=$.bc(l)/2;e-=b;f-=c;a.o("normalX",b+h);a.o("normalY",c+h);a.o("normalWidth",e-h-h);a.o("normalHeight",f-h-h);a.o("hoverX",b+k);a.o("hoverY",c+k);a.o("hoverWidth",e-k-k);a.o("hoverHeight",f-k-k);a.o("selectX",b+l);a.o("selectY",c+l);a.o("selectWidth",e-l-l);a.o("selectHeight",f-l-l);return d};
$.g.iD=function(a){var b=this.cl(),c=this.bb(),d=a.get("x"),e=a.get("y"),f=b.transform(d,0),h=b.transform(d,1),k=c.transform(e,0);c=c.transform(e,1);if(0>f&&0>h||0>k&&0>c||1<f&&1<h||1<k&&1<c)return!1;var l=Math.round(this.Ie(f,!0)),m=Math.round(this.Ie(k,!1)),p=Math.round(this.Ie(h,!0)),q=Math.round(this.Ie(c,!1));k=this.g/2;f=this.f/2;e=Math.min(l,p);l=Math.max(l,p);p=Math.min(m,q);m=Math.max(m,q);e+=Math.ceil(k);p+=Math.floor(f);l-=1==h?Math.ceil(k):Math.floor(k);m-=1==c?Math.floor(f):Math.ceil(f);
a.o("left",e);a.o("top",p);a.o("right",l);a.o("bottom",m);a.o("x",b.transform(d,.5));return!0};$.g.hI=function(a,b){this.Fj.length=0;this.Fj.push(this.mfa);var c=this.aa();for(c.reset();c.advance();)this.qA(c,a,b);this.Fj.length=0};$.g.EF=function(a){var b=this.aa(),c=b.o("left"),d=b.o("top"),e=b.o("right");b=b.o("bottom");a=$.xo(new $.J(c,d,e-c,b-d),a);a.x=Math.floor(a.x);a.y=Math.floor(a.y);return a};
$.g.yf=function(a,b,c){var d=this.Aa.i("labelsDisplayMode"),e=$.ZA(this,[this.Sa().labels,this.mb().labels,this.selected().labels],[],["label","hoverLabel","selectLabel"],this.DD(),!0,null,a,b,!1);if(e){var f=b==$.Zl?"normal":b==$.po?"hover":"select";b=a.o(f+"X");var h=a.o(f+"Y"),k=a.o(f+"Width");f=a.o(f+"Height");h=$.gn(b,h,k,f);b=this.Sa().labels();"drop"==d&&(k=$.Iu(e),k.width=null,k.height=null,k=b.measure(e.lf(),e.uc(),k),h.left>k.left+.5||h.$a()<k.$a()-.5||h.top>k.top+.5||h.Ua()<k.Ua()-.5)&&
(b.clear(e.la()),e=null);e&&((d="always-show"==d?this.ea:$.pb(this.ea,h))?(e.clip(d),c&&e.$()):b.clear(e.la()))}a.o("label",e)};$.g.BW=function(a,b,c,d,e,f,h){$.Qu(a,$.ho([h,0,f,$.co,d,0,c,$.co,a,$.co,f||c,$.fo,f,$.eo,a,$.fo,c,$.eo]))};$.g.GD=function(){var a=this.mc();a=$.Ga(a.Lg,a.Mg);for(var b=0,c=0,d=0,e=a.length;d<e;d++){var f=a[d];if(f&&f.enabled()){var h=$.bc(f.i("stroke"));f.Hb()?h>c&&(c=h):h>b&&(b=h)}}this.g=b;this.f=c;AN.u.GD.call(this)};
$.g.wZ=function(a){var b=this.ea,c=b.Ua()-this.wp().bottom();b=b.bc()+this.wp().top();return $.Za(a,b,c)};$.g.sR=function(){return[this,this.mc()]};$.g.NS=function(){return{}};
$.g.Em=function(a,b){var c={chart:{value:this.mc(),type:""},series:{value:this,type:""},scale:{value:this.Va(),type:""},index:{value:b.la(),type:"number"},x:{value:b.get("x"),type:"string"},y:{value:b.get("y"),type:"string"},heat:{value:b.get("heat"),type:"number"},seriesName:{value:this.name(),type:"string"}},d=this.mc().sd();if(d){var e=b.get("heat");if($.K(d,$.Uy)){var f=d.pn(e);f&&(c.colorRange={value:{color:f.color,end:f.end,name:f.name,start:f.start,index:f.sourceIndex},type:""});c.color={value:d.yq(e),
type:""}}}return c};$.g.Ae=function(a,b,c){b=AN.u.Ae.call(this,a,b,c);c=$.$u(b);var d=b.Ag();c.x={value:d.get("x"),type:"string"};c.y={value:d.get("y"),type:"string"};c.heat={value:d.get("heat"),type:"number"};var e;a=a||this.i("color")||"blue";var f=this.mc().sd();f&&(d=d.get("heat"),$.n(d)&&(e=f.yq(d)),c.scaledColor={value:e,type:""});c.colorScale={value:f,type:""};c.sourceColor={value:e||a,type:""};return $.av(b,c)};var GN=AN.prototype;GN.tooltip=GN.Xa;$.H(CN,$.BB);CN.prototype.sa=$.BB.prototype.sa|-2147483648;var HN={};HN["heat-map"]={Ab:30,Fb:2,Jb:[{name:"rect",Mb:"rect",Sb:"fill",Tb:"stroke",Vb:!0,Bb:!1,zIndex:0},{name:"hatchRect",Mb:"rect",Sb:"hatchFill",Tb:null,Vb:!0,Bb:!0,zIndex:1E-6}],Ib:null,Cb:null,zb:$.tG|5767168,yb:"y",wb:"y"};CN.prototype.Oi=HN;var IN=["normal","hovered","selected"],JN=["data","tooltip"];
(function(){function a(a,b){for(var c=[],d=1;d<arguments.length;d++)c.push(arguments[d]);d=this.Nh(0);d=d[a].apply(d,c);return $.n(c[0])?this:d}for(var b=0;b<IN.length;b++){var c=IN[b];CN.prototype[c]=$.qa(a,c)}})();$.xq(CN,["fill","stroke","hatchFill","labels","markers"],"normal");var KN={};$.gq(KN,0,"labelsDisplayMode",$.mN);$.U(CN,KN);$.g=CN.prototype;$.g.zs=function(){return"heat-map"};$.g.tv=function(a){return this.Mj()?null:CN.u.tv.call(this,a)};
$.g.kt=function(a,b){return new AN(this,this,a,b,!0)};$.g.Zz=function(){return $.Ps};$.g.RC=function(){return["HeatMap chart scale","ordinal"]};$.g.FG=function(){return"ordinal"};$.g.Yt=function(){this.Oa.B(1024);this.B(8421376,1)};$.g.sd=function(a){if($.n(a)){if(null===a&&this.Kb)this.Kb=null,this.B(-2147483136,1);else if(a=$.Xs(this.Kb,a,null,48,["HeatMap chart color scale","ordinal-color, linear-color"],this.Cp,this)){var b=this.Kb==a;this.Kb=a;this.Kb.da(b);b||this.B(-2147483136,1)}return this}return this.Kb};
$.g.Cp=function(a){$.X(a,6)&&this.B(-2147483136,1)};$.g.bm=function(a){var b,c=[];if("categories"==a){this.ob();var d=this.sd();if(d&&$.K(d,$.Uy)){var e=this.Oa,f=d.Xq();a=0;for(b=f.length;a<b;a++){var h=f[a];"default"!==h.name&&c.push({text:h.name,iconEnabled:!0,iconType:"square",iconFill:h.color,disabled:!this.enabled(),sourceUid:$.oa(this),sourceKey:a,meta:{W:e,scale:d,qe:h}})}}}return c};$.g.ts=function(a){return"categories"==a};
$.g.er=function(a,b){var c=a.o();if("categories"==this.Gf().i("itemsSourceMode")){var d=c.W;var e=c.scale;if(e&&d){var f=[];c=c.qe;for(var h=d.vc();h.advance();){var k=h.get("heat");c==e.pn(k)&&f.push(h.la())}if(e=$.mo(b.domTarget))"single"==this.Vc().i("hoverMode")?e.Jf={W:d,md:f}:e.Jf=[{W:d,md:f,xn:f[f.length-1],we:{index:f[f.length-1],Yf:0}}]}}};
$.g.bq=function(a,b){var c=a.o();if("categories"==this.Gf().i("itemsSourceMode")){var d=c.W;var e=c.scale;if(e&&d){var f=c.qe,h=d.vc();for(c=[];h.advance();){var k=h.get("heat");f==e.pn(k)&&c.push(h.la())}if(e=$.mo(b.domTarget))"single"==this.Vc().i("hoverMode")?e.Jf={W:d,md:c}:e.Jf=[{W:d,md:c,xn:c[c.length-1],we:{index:c[c.length-1],Yf:0}}]}}};$.g.aq=function(a,b){var c=a.o();if("categories"==this.Gf().i("itemsSourceMode")&&"single"==this.Vc().i("hoverMode")){var d=$.mo(b.domTarget);d&&(d.W=c.W)}};
$.g.CF=function(a,b){for(var c=[],d=0,e=a.length;d<e;d++){var f=a[d],h;f.we?h={index:f.we.index,distance:f.we.Yf}:h={index:window.NaN,distance:window.NaN};c.push({series:f.W,points:b?[]:f.md?$.Ha(f.md):[],nearestPointToCursor:h})}return c};$.g.oD=function(a,b,c){a=CN.u.oD.call(this,a,b,c);a.series=this;return a};$.g.Rd=function(a){return this.Oa.Rd(a)};$.g.uu=function(){return!0};$.g.xk=function(){return this.Oa.xk()};
$.g.UQ=function(){var a=this.J(327680);CN.u.UQ.call(this);if(a){var b=null,c=null,d=this.bb(),e=this.Va(),f=$.Ft(e),h=$.Ft(d);if(f||h){if(f){var k=f;b=[]}if(h){var l=h;c=[]}for(var m=this.Oa.vc();m.advance();){if(f){a=e.Mx(m.get("x"));var p=m.get(k);$.n(b[a])||(b[a]=p||m.get("x")||m.get("heat"))}h&&(a=d.Mx(m.get("y")),p=m.get(l),$.n(c[a])||(c[a]=p||m.get("y")||m.get("heat")))}f&&(e.uk=b);h&&(d.uk=c)}this.B(-2147483648)}if(this.J(-2147483648)){if(this.Kb&&this.Kb.Hf()){this.Kb.tg();m=this.Oa.aa();
for(m.reset();m.advance();)this.Kb.Uc(m.get("heat"));this.Kb.Cg()}this.Oa&&this.Oa.B(2048);this.B(32768);this.I(-2147483648)}};$.g.data=function(a,b){if($.n(a)){if(a){var c=a.title||a.caption;c&&this.title(c);a.rows&&(a=a.rows)}this.Oa.data(a,b);return this}return this.Oa.data()};$.g.Oj=function(a){this.Oa.Oj(a);return this};$.g.select=function(a){this.Oa.select(a);return this};
$.g.FL=function(a){this.ob();var b="selected"==a,c=DN(this.Va(),b);a=c.values;var d=c.names;c=DN(this.bb(),b);b=c.values;var e=c.names;c=[];for(var f=0;f<e.length;f++)c.push([e[f]]);for(e=this.Oa.Qf();e.advance();){f=a[$.ko(e.get("x"))];var h=b[$.ko(e.get("y"))],k=String(e.get("heat"));(0,window.isNaN)(f)||(0,window.isNaN)(h)||(c[h][f+1]=k)}d.unshift("#");return{headers:d,data:c}};
$.g.F=function(){var a=CN.u.F.call(this),b=a.chart;delete b.barsPadding;delete b.barGroupsPadding;delete b.crosshair;delete b.defaultSeriesType;return a};$.g.Ns=function(a,b,c){EN(this,a.colorScale,b);CN.u.Ns.call(this,a,b,c);$.zq(this,KN,a)};$.g.Ms=function(a,b,c){CN.u.Ms.call(this,a,b,c);$.Hq(this,KN,a);$.Qz(a,"colorScale",this.sd(),b,c)};
$.g.fO=function(a,b,c){b={};var d=IN,e;for(e=0;e<d.length;e++){var f=d[e];$.n(a[f])&&(b[f]=a[f])}d=JN;for(e=0;e<d.length;e++)f=d[e],$.n(a[f])&&(b[f]=a[f]);this.Oa.X(b,c)};$.g.aO=function(a){var b=this.Oa.F(),c=IN,d;for(d=0;d<c.length;d++){var e=c[d];$.n(b[e])&&(a[e]=b[e])}c=JN;for(d=0;d<c.length;d++)e=c[d],$.n(b[e])&&(a[e]=b[e])};$.g.R=function(){CN.u.R.call(this);this.Oa=null};var LN=CN.prototype;LN.getType=LN.Na;LN.xGrid=LN.Zm;LN.yGrid=LN.$m;LN.xAxis=LN.lh;LN.yAxis=LN.ti;LN.xScale=LN.Va;
LN.yScale=LN.bb;LN.hover=LN.Oj;LN.select=LN.select;LN.unhover=LN.Pd;LN.unselect=LN.ae;LN.data=LN.data;LN.colorScale=LN.sd;LN.xZoom=LN.Aq;LN.yZoom=LN.Bq;LN.xScroller=LN.rp;LN.yScroller=LN.Br;LN.annotations=LN.tk;$.Jp["heat-map"]=FN;$.F("anychart.heatMap",FN);}).call(this,$)}
if(!_.theme_heatmap){_.theme_heatmap=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{heatMap:{annotations:{annotationsList:[],zIndex:2E3},isVertical:!1,scales:[{type:"ordinal"},{type:"ordinal",inverted:!0},{type:"ordinal-color"}],xScale:0,yScale:1,colorScale:2,background:{enabled:!0},xAxes:[{orientation:"top"}],yAxes:[{}],xGrids:[],yGrids:[],tooltip:{enabled:!0,title:{enabled:!0,fontSize:13,fontWeight:"normal"},contentInternal:{fontSize:11},separator:{enabled:!0},titleFormat:function(){return this.name||this.x},format:function(){if(void 0!==
this.heat){var a="Value: "+this.valuePrefix+this.heat+this.valuePostfix;(0,window.isNaN)(+this.heat)||(a+="\nPercent Value: "+(100*this.heat/this.getStat("sum")).toFixed(1)+"%");return a}return"x: "+this.x+"\ny: "+this.y}},legendItem:{iconStroke:null},legend:{itemsSourceMode:"categories"},defaultXAxisSettings:{enabled:!0,orientation:"bottom",ticks:{enabled:!1},title:{text:"X-Axis",padding:5},scale:0},defaultYAxisSettings:{enabled:!0,orientation:"left",ticks:{enabled:!1},title:{text:"Y-Axis",padding:5},
scale:1},defaultSeriesSettings:{heatMap:{normal:{fill:function(){if(this.colorScale){var a=this.iterator.get("heat");a=this.colorScale.valueToColor(a)}else a=$.Ml(this.sourceColor,.85,!0);return a},stroke:"1 #ffffff",labels:{disablePointerEvents:!0,enabled:!0,fontSize:11,anchor:"center",adjustFontSize:{width:!0,height:!0},minFontSize:7,maxFontSize:13,hAlign:"center",vAlign:"middle",fontWeight:"normal",fontColor:"#212121",selectable:!1,background:{enabled:!1},padding:{top:2,right:4,bottom:2,left:4},
position:"center",format:function(){return $.OM(this.heat)}},markers:{enabled:!1,disablePointerEvents:!1,position:"center",rotation:0,anchor:"center",offsetX:0,offsetY:0,size:4,positionFormatter:$.PM,fill:"#dd2c00",type:"circle",stroke:"none"},hatchFill:!1},hovered:{fill:"#757575",stroke:"2 #ffffff",labels:{fontColor:"#f5f5f5",enabled:null},markers:{enabled:null,size:6},hatchFill:null},selected:{fill:"#333 0.85",stroke:"2 #ffffff",labels:{fontColor:"#fff",enabled:null},markers:{enabled:null,size:6,
fill:"#333 0.85",stroke:"1.5 #212121"},hatchFill:null},tooltip:{enabled:!0,title:{enabled:!0,fontSize:13,fontWeight:"normal"},contentInternal:{fontSize:11},separator:{enabled:!0},titleFormat:function(){return this.name||this.x},format:function(){if(void 0!==this.heat){var a="Value: "+this.valuePrefix+this.heat+this.valuePostfix;(0,window.isNaN)(+this.heat)||(a+="\nPercent Value: "+(100*this.heat/this.getStat("sum")).toFixed(1)+"%");return a}return"x: "+this.x+"\ny: "+this.y}}}},labelsDisplayMode:"drop",
clip:!0,xZoom:{continuous:!0,startRatio:0,endRatio:1},yZoom:{continuous:!0,startRatio:0,endRatio:1},yScroller:{orientation:"right",inverted:!0},a11y:{titleFormat:$.fN}}});}).call(this,$)}
if(!_.linear_gauge_part){_.linear_gauge_part=1;(function($){var mqa=function(a,b){return $.xk(q$,a,b||"bar")},r$=function(a){$.Vw.call(this,a)},s$=function(){$.Dy.call(this);$.T(this.ua,[["width",this.xe,9],["offset",16,9]])},t$=function(a,b){$.sA.call(this,a,b)},u$=function(a){$.Y.call(this);this.Bk=a;$.T(this.ua,[["width",16,9],["offset",16,9],["from",20,9],["to",20,9],["points",16,1],["fill",16,1],["stroke",16,1]])},nqa=function(a,b){return a.height-b.height},v$=function(a,b,c,d){var e=a.za();if(e){b=a.Ie(b,d,!e);var f=a.Ie(c,d,e)}else f=a.Ie(b,d,!e),b=
a.Ie(c,d,e);return[b,f]},oqa=function(a,b){var c,d=a.scale().Uf(),e=a.i("points");var f=d?1-e[0].left:e[0].left;var h=d?1-e[0].height:e[0].height;h=v$(a,f,h,b);a.g.moveTo(h[0],h[1]);for(c=1;c<e.length;c++)f=d?1-e[c].left:e[c].left,h=d?1-e[c].height:e[c].height,h=v$(a,f,h,b),a.g.lineTo(h[0],h[1]);for(c=e.length;c--;)f=d?e[c].right:1-e[c].right,h=d?1-e[c].height:e[c].height,h=v$(a,f,h,b),a.g.lineTo(h[0],h[1]);a.g.close()},w$=function(){$.Y.call(this);this.nr=["value"];this.state=new r$(this);this.j=
$.gn(0,0,0,0);this.b=this.path=null;this.xc=8208;$.T(this.ua,[["name",0,64],["width",16,9],["offset",16,9]]);var a={};$.T(a,[["fill",16,65],["stroke",16,65],["hatchFill",16,65],["labels",0,0]]);this.ca=new $.Yx(this,a,$.Zl);this.ca.pa("labelsAfterInitCallback",$.dy);a={};$.T(a,[["fill",0,0],["stroke",0,0],["hatchFill",0,0],["labels",0,0]]);this.xa=new $.Yx(this,a,$.po);this.Ca=new $.Yx(this,a,$.qo);this.Tc=$.Vl("fill",1,!0);this.Bd=$.Vl("stroke",2,!0);this.hc=$.Vl("hatchFill",3,!0);this.data(null)},
pqa=function(a,b){var c=a.scale().Uf();if(a.za())if(c)switch(b){case "left-top":return"left-bottom";case "left-center":return"left-center";case "left-bottom":return"left-top";case "center-top":return"center-bottom";case "center":return"center";case "center-bottom":return"center-top";case "right-top":return"right-bottom";case "right-center":return"right-center";case "right-bottom":return"right-top"}else return b;switch(b){case "left-top":return c?"left-top":"right-top";case "left-center":return"center-top";
case "left-bottom":return c?"right-top":"left-top";case "center-top":return c?"left-center":"right-center";case "center":return"center";case "center-bottom":return c?"right-center":"left-center";case "right-top":return c?"left-bottom":"right-bottom";case "right-center":return"center-bottom";case "right-bottom":return c?"right-bottom":"left-bottom"}return b},x$=function(){w$.call(this)},z$=function(){function a(a){return function(){y$(this,a)}}function b(a,b){return b!=a&&b}w$.call(this);this.D={};
this.xc|=1048576;this.N="";$.T(this.ua,[["dimmer",16,1,0],["gap",16,1,0,a("g"),this,b],["size",16,1,0,a("s"),this,b],["count",16,1,0,a("c"),this,function(a,b){return b!=a&&!(0,window.isNaN)(b)}]])},A$=function(a){for(var b in a.D)$.qd(a.D[b][0]);a.D={}},qqa=function(a,b){var c=a.ja();if(a.za()){var d=c.Ua();c=-c.height}else d=c.left,c=c.width;return(b-d)/c},rqa=function(a){var b=a.i("gap"),c=a.i("size"),d=a.i("count");$.n(b)&&null!==b&&y$(a,"g");$.n(c)&&null!==c&&y$(a,"s");$.n(d)&&null!==d&&y$(a,
"c")},y$=function(a,b){var c=a.N;if(2>c.length)a.N+=b;else if(c.charAt(1)!=b){var d=c.charAt(0);c=(c+b).slice(1);a.N=c;if(d!=b)switch(d){case "g":a.pa("gap",null);break;case "s":a.pa("size",null);break;case "c":a.pa("count",null)}}},B$=function(){w$.call(this)},C$=function(a,b){return $.n(b)?(a.mF=b,a):a.mF},D$=function(){w$.call(this);this.nr=["high","low"]},E$=function(){w$.call(this);this.ga=this.eb=this.ab=this.nb=this.ba=this.Ga=this.ya=this.ka=this.Ja=this.U=this.G=this.D=null;$.fy(this.ca,
[["emptyFill",16,65],["emptyHatchFill",16,65]]);var a=[["emptyFill",0,0],["emptyHatchFill",0,0]];$.fy(this.xa,a);$.fy(this.Ca,a);this.me=$.Vl("emptyFill",1,!0);this.Ge=$.Vl("emptyHatchFill",3,!0)},F$=function(a){return 0>=a?0:a*Math.round(1E15*Math.sin(90*Math.PI/180))/1E15},G$=function(a,b,c){if(a.za()){a=c.width/2;var d=.1488095238*c.width,e=c.left+c.width,f=c.top+c.height;b.moveTo(c.left,c.top).kf(e,c.top,a,d,!1,!0).lineTo(e,f).kf(c.left,f,a,d,!1,!0)}else a=.1488095238*c.height,d=c.height/2,e=
c.top+c.height/2+F$(d),b.moveTo(c.left+(0>=a?0:a*Math.round(1E15*Math.cos(90*Math.PI/180))/1E15),e).kf(c.left,c.top,a,d,!0,!0).lineTo(c.left+c.width,c.top).kf(c.left+c.width,e,a,d,!1,!0)},sqa=function(a,b,c){if(a.za()){a=c.width/2;var d=.1488095238*c.width;b.moveTo(c.left,c.top);b.kf(c.left,c.top-.1,a,d,!0,!1)}else{a=.1488095238*c.height;d=c.height/2;var e=c.top+c.height/2+F$(d);b.moveTo(c.left+c.width+1.5,c.top+1);b.kf(c.left+c.width+1.5,e,a,d,!0,!1)}},tqa=function(a,b,c){if(a.za())b.moveTo(c.left,
c.top),b.kf(c.left,c.top-.1,c.width/2,.1488095238*c.width,!0,!1);else{a=.1488095238*c.height;var d=c.height/2;b.moveTo(c.left+c.width-1,c.top);b.kf(c.left+c.width-1+.1,c.top,a,d,!0,!1)}},H$=function(){w$.call(this);$.T(this.ua,[["bulbRadius",16,9],["bulbPadding",16,9]])},I$=function(a,b){$.ox.call(this);this.Fa("linearGauge");this.f=[];this.b=[];this.g=[];this.D=0;this.data(a||null,b);$.T(this.ua,[["globalOffset",4,1],["layout",4,1],["defaultPointerType",0,0]]);$.jr(this,"tooltip")},uqa=function(a,
b){return $.xa(a.b,function(a){return a.id()==b})},J$=function(a){for(var b=a.b.length;b--;)a.b[b].B(1056784)},K$=function(a,b){return new t$(a,b)},vqa=function(a,b){var c=new I$;c.data(a,b);c.pa("defaultPointerType","bar");c.je="linear-gauge";return c},wqa=function(a,b){var c=new I$;c.Fa("thermometer");c.data(a,b);c.pa("defaultPointerType","thermometer");c.je="thermometer";return c},xqa=function(a,b){var c=new I$;c.Fa("tank");c.data(a,b);c.pa("defaultPointerType","tank");c.je="tank";return c},yqa=
function(a,b){var c=new I$;c.Fa("led");c.data(a,b);c.pa("defaultPointerType","led");c.je="led";return c},q$={AE:"bar",YX:"range-bar",yu:"marker",jna:"thermometer",hna:"tank",yla:"led"};$.H(r$,$.Vw);
r$.prototype.xh=function(a,b,c){var d;if($.n(b)){var e=this.target.aa().Gb(),f=!0;if($.A(b))for($.Qa(b),d=b.length;d--;){var h=+b[d];h<e&&($.Yw(this,a,h,c),f=!1)}else+b<e&&($.Yw(this,a,+b,c),f=!1);f||this.target.fm()}else if(!(this.Ac&a)){b=$.Zl;a==$.Zl||a==$.po?b=$.po:a==$.qo&&(b=$.qo|$.po);for(d=this.b.length;d--;)$.bx(this,b,d)&&(this.target.aa().select(this.f[d])&&this.target.Xj($.Zl),$.Ca(this.b,d,1),$.Ca(this.f,d,1));this.target.fm();$.Xw(this)&&(this.target.ef()&&$.Xw(this,0)&&this.target.Uk(a),
this.Ac=a)}};
r$.prototype.Hh=function(a,b){var c;if($.n(b)){if($.A(b))for($.Qa(b),c=b.length;c--;)$.dx(this,a,+b[c]);else if((0,window.isNaN)(b))for(c=this.f.length;c--;)$.Ww(this,a,c);else $.dx(this,a,+b);this.target.fm();this.target.Rg()||"single"!=this.target.Fl()||this.target.Uk($.Zw(this,$.qo)?$.qo:$.Zw(this,$.po)?$.po:$.Zl)}else{for(c=this.b.length;c--;)$.bx(this,a,c)&&(this.target.aa().select(this.f[c])&&this.target.Xj($.Zl),$.Ca(this.f,c,1),$.Ca(this.b,c,1));this.target.fm();this.Ac&=~a;this.target.ef()&&$.Xw(this,
0)&&this.target.Uk(this.Ac)}};$.H(s$,$.Dy);s$.prototype.sF=function(a){return a};s$.prototype.IS=function(){return 7};var L$={};$.hq(L$,[[0,"width",$.to],[0,"offset",$.to]]);$.U(s$,L$);s$.prototype.F=function(){var a=s$.u.F.call(this);$.Hq(this,L$,a,"Axis");return a};s$.prototype.X=function(a,b){s$.u.X.call(this,a,b);$.zq(this,L$,a,b)};$.H(t$,$.sA);t$.prototype.mb=function(a){var b=this.mc().aT(this.index),c=$.fx(b.state,$.po,0);return $.n(a)&&c!=a?(a?b.Hi():b.Pd(),this):c};t$.prototype.selected=function(a){var b=this.mc().aT(this.index),c=$.fx(b.state,$.qo,0);return $.n(a)&&c!=a?(a?b.Mi():b.ae(),this):c};var M$=t$.prototype;M$.hovered=M$.mb;M$.selected=M$.selected;$.H(u$,$.Y);u$.prototype.sa=$.Y.prototype.sa|16;var N$={};$.hq(N$,[[0,"width",$.to],[0,"offset",$.to],[0,"from",$.tq],[0,"to",$.tq],[0,"points",$.tq],[1,"fill",$.Eq],[1,"stroke",$.Dq]]);$.U(u$,N$);$.g=u$.prototype;
$.g.scale=function(a){if($.n(a)){if(!$.K(a,$.Ys))return $.cl(5,void 0,["ScaleBar scale","scatter","linear, log"]),this;this.na!=a&&(this.na&&$.Zq(this.na,this.Vh,this),(this.na=a)&&$.L(this.na,this.Vh,this),this.B(16,5));return this}this.na||(this.na=this.Bk.scale(),$.L(this.na,this.Vh,this));return this.na};$.g.Vh=function(a){var b=0;$.X(a,4)&&(b|=4);$.X(a,2)?b|=1:this.ta(b);this.B(16,b)};
$.g.sd=function(a){if($.n(a)){if(a=$.Xs(this.Kb,a,null,48,null,this.Cp,this)){var b=this.Kb==a;this.Kb=a;this.Kb.da(b);b||this.B(16,1)}return this}return this.Kb};$.g.Cp=function(a){$.X(a,6)&&this.B(16,1)};$.g.ho=function(){this.B(20)};$.g.pe=function(a){return $.n(a)?(this.f=a,this):this.f};$.g.za=function(){return"vertical"==this.f};$.g.remove=function(){this.va&&this.va.parent(null)};
$.g.ej=function(a,b){var c=this.scale();return $.z(a)?(a=a.toLowerCase(),"min"==a?c.transform(c.uh()):"max"==a?c.transform(c.Rh()):(0,window.parseFloat)($.to(a))/100):$.ea(a)?(a=c.transform(a),$.Za(a,0,1)):b};$.g.Ie=function(a,b,c){b=$.n(b)?b:this.ja();($.n(c)?c:this.za())?(c=b.Ua(),b=-b.height):(c=b.left,b=b.width);return c+a*b};
$.g.$=function(){if(!this.Bc())return this;var a=this.P(),b;this.va||(this.va=$.lk());var c=this.i("points");c||(c=[],this.pa("points",c));$.Qa(c,nqa);c[0]&&0==c[0].height||c.unshift({height:0,left:0,right:0});c[c.length-1]&&1==c[c.length-1].height||c.push({height:1,left:0,right:0});this.J(8)&&(this.va.zIndex(this.zIndex()),this.I(8));this.J(2)&&(this.va.parent(a),this.I(2));if(this.J(4)){a=this.ej(this.i("from"),0);c=this.ej(this.i("to"),1);if(a>c){var d=a;a=c;c=d}this.j=this.Ie(a);this.D=this.Ie(c);
this.I(4)}var e=this.sd();if(this.J(16)){this.g?this.g.clear():this.g=$.nk();if(this.b)for(b=0;b<this.b.length;b++)this.b[b].clear();else this.b=[];var f=this.ja();var h=this.za();if(h){a=f.left;b=f.width;d=a+b;c=this.D;f=this.j;var k=Math.abs(f-c)}else a=this.j,d=this.D,b=Math.abs(a-d),c=f.top,k=f.height,f=c+k;oqa(this,$.gn(a,c,b,k));var l;e&&(l=e.sj());var m=this.scale().Uf();b=this.i("fill");k=this.i("stroke");if(null!=b||null!=k)e=this.b[0]?this.b[0]:this.b[0]=this.va.path(),e.moveTo(a,c).lineTo(d,
c).lineTo(d,f).lineTo(a,f).lineTo(a,c).close(),e.fill(b||null),e.stroke(k||null),e.clip(this.g);else if($.K(e,$.Ry)){var p=(0,$.Wa)(l,function(a){return a.offset});l=m?e.sj().reverse():e.sj();m&&(l=(0,$.Wa)(l,function(a,b){var c={};c.color=a.color;c.offset=p[b];c.opacity=a.opacity;return c}));b=$.Vb(l);b.angle=h?90:0;e=this.b[0]?this.b[0]:this.b[0]=this.va.path();e.moveTo(a,c).lineTo(d,c).lineTo(d,f).lineTo(a,f).lineTo(a,c).close();e.fill(b).stroke("none");e.clip(this.g)}else if($.K(e,$.Uy)){e.Hf()&&
e.tg().Uc(0,1).Cg();k=e.Xq();m=this.scale();var q=k.length-1;for(b=0;b<q;b++){var r=k[b],t=r.color||l[r.sourceIndex]||l[l.length-1];e=this.b[b]?this.b[b]:this.b[b]=this.va.path();e.clear();var u=$.n(r.start)?r.start:m.uh();r=$.n(r.end)?r.end:m.Rh();u=this.Ie(m.transform(u));r=this.Ie(m.transform(r));(0,window.isNaN)(u)||(0,window.isNaN)(r)||(h?e.moveTo(a,u).lineTo(a,r+.5).lineTo(d,r+.5).lineTo(d,u).close():e.moveTo(u,c).lineTo(r+.5,c).lineTo(r+.5,f).lineTo(u,f).close(),e.fill(t).stroke("none"))}this.va.clip(this.g)}this.I(16)}return this};
$.g.F=function(){var a=u$.u.F.call(this);$.Hq(this,N$,a,"ScaleBar");this.sd()&&(a.colorScale=this.sd().F());return a};$.g.X=function(a,b){u$.u.X.call(this,a,b);$.zq(this,N$,a,b);if("colorScale"in a){var c=a.colorScale;var d=null;$.z(c)?d=$.Rs(c,null):$.D(c)&&(d=$.Rs(c.type,null))&&d.K(c);d&&this.sd(d)}};$.g.R=function(){this.b&&($.td(this.b),this.b=null);$.qd(this.Kb);this.Kb=null;$.qd(this.g);this.g=null;this.na&&$.Zq(this.na,this.Vh,this);this.na=null;u$.u.R.call(this)};var O$=u$.prototype;
O$.scale=O$.scale;O$.colorScale=O$.sd;$.H(w$,$.Y);$.xq(w$,["fill","stroke","hatchFill","labels"],"normal");$.g=w$.prototype;$.g.qa=$.Y.prototype.qa|68;$.g.sa=$.Y.prototype.sa|8208;$.g.data=function(a,b){return $.n(a)?(this.jg!==a&&(this.jg=a,$.qd(this.Ql),this.Nd=null,$.K(a,$.pr)?this.g=this.Ql=a.tj():$.K(a,$.zr)?this.g=this.Ql=a.ie():this.g=null===a?null:(this.Ql=new $.zr($.A(a)||$.z(a)?a:null,b)).ie(),this.g&&$.L(this.g,this.Id,this),this.B(1048592,5)),this):this.g};$.g.Id=function(a){$.X(a,16)&&this.B(16,1)};
$.g.ds=function(){var a=this.aa(),b=[];if(a.select(this.Yi()))for(var c=0;c<this.nr.length;c++)b.push(a.get(this.nr[c]));return b};$.g.la=function(){return this.fd?-1:(0,$.za)(this.Ke.Te(),this)};$.g.mh=function(a){return $.n(a)?(this.Dq=a,this):this.Dq};$.g.id=function(a){return $.n(a)?(this.Yd=a,this):this.Yd||String(this.Dq)};$.g.Yi=function(a){return $.n(a)?(this.O!=a&&(this.O=a,this.B(16,1)),this):null!=this.O?this.O:this.g?0:this.mh()};$.g.tda=function(){return this.Bk()};
$.g.Bk=function(a){return $.n(a)?(this.Ke!=a&&(this.Ke=a),this):this.Ke};$.g.aa=function(){return this.g?this.Nd||(this.Nd=this.g.aa()):this.Ke.aa()};$.g.vc=function(){return this.g?this.Nd=this.g.aa():this.Ke.vc()};$.g.pe=function(a){return $.n(a)?(this.f=a,this):this.f};
$.g.scale=function(a){if($.n(a)){if(!$.K(a,$.Ys))return $.cl(5,void 0,["Pointer scale","scatter","linear, log"]),this;this.na!=a&&(this.na&&$.Zq(this.na,this.kg,this),(this.na=a)&&$.L(this.na,this.kg,this),this.B(16,1));return this}this.na||this.scale(this.Ke.scale());return this.na};$.g.kg=function(a){var b=0;$.X(a,4)&&(b|=4);$.X(a,2)?b|=1:this.ta(b);this.B(16,b)};$.g.za=function(){return"vertical"==this.f};$.g.gk=function(){var a=this.aa().get("value");return(0,window.isNaN)(this.scale().transform(a))};
$.g.mQ=function(){var a=this.scale(),b=a.uh();return a.transform(b)};$.g.Gu=function(){var a=this.aa();a.select(this.Yi());a=a.get("value");return $.Za(this.scale().transform(a),0,1)};$.g.Zd=function(a){$.X(a,1)&&this.B(8192,1)};$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};
$.g.zc=function(a,b,c,d,e,f,h){e=(0==b?this.ca:1==b?this.xa:this.Ca).i(a);h?a=e:(h=c.get(0==b?"normal":1==b?"hovered":"selected"),a=$.Ro($.n(h)?h[a]:void 0,c.get($.$l(b,a)),e));$.n(a)&&(a=d(a));return a};$.g.ph=function(){return this.lF||$.$b("diagonal-brick")};$.g.Fi=function(){var a=this.aa().la(),b=this.za(),c=this.ph();return{index:a,isVertical:b,sourceHatchFill:c}};$.g.Ae=function(a){var b=this.aa().la(),c=this.za();a=a||this.color();return{index:b,isVertical:c,sourceColor:a}};
$.g.color=function(a,b,c,d,e,f,h){if($.n(a)){var k=null===a?null:$.Vb.apply(null,arguments);this.Ob!=k&&(this.Ob=k,this.B(16,65));return this}return this.Ob||this.Ud||"blue"};$.g.sq=function(a){this.Ud=a};$.g.Cw=function(a){this.lF=$.$b(a)};$.g.ho=function(){this.B(this.xc)};$.g.Ie=function(a){var b=this.ja();if(this.za()){var c=b.Ua();b=-b.height}else c=b.left,b=b.width;return c+a*b};$.g.bT=function(){return[0,0,0,0]};
$.g.LC=function(a){var b=this.ss();b.I(b.sa);var c=b.F(),d={sourceColor:this.color()};$.E(b.ns())&&(c.iconFill=b.ns().call(d,d));$.E(b.ps())&&(c.iconStroke=b.ps().call(d,d));$.E(b.os())&&(d.sourceColor=this.lF,c.iconHatchFill=b.os().call(d,d));if($.E(a)){b=this.gC();var e=a.call(b,b)}$.z(e)||(e=$.n(this.i("name"))?this.i("name"):"Pointer: "+this.mh());c.iconType=this.KC(c.iconType);a={meta:{},text:e,iconEnabled:!0,iconStroke:this.Bd(this,$.Zl,!0),iconFill:this.Tc(this,$.Zl,!0),iconHatchFill:this.hc(this,
$.Zl,!0),disabled:!this.enabled()};$.Sc(a,c);return a};$.g.KC=function(a){return $.Pk(a)};$.g.gC=function(){this.St||(this.St=new $.rw(void 0,void 0,[this]));return this.St};$.g.ss=function(a){this.$o||(this.$o=new $.QA,$.W(this,"legendItem",this.$o),$.L(this.$o,this.wV,this));return $.n(a)?(this.$o.K(a),this):this.$o};$.g.wV=function(a){var b=64,c=!1;$.X(a,8)&&(b|=8,c=!0);this.ta(b,c)};$.g.remove=function(){this.va&&this.va.parent(null);this.Sa().labels()&&this.Sa().labels().remove()};$.g.ot=$.ia;
$.g.sC=$.ia;$.g.wF=function(a){var b=this.Tc(this,a,!1),c=this.Bd(this,a,!1);a=this.hc(this,a,!1);this.path.fill(b);this.path.stroke(c);this.b.fill(a);this.b.stroke("none")};$.g.rR=function(){this.path?this.path.clear():(this.path=this.va.path(),this.HB(this.path));this.b?this.b.clear():(this.b=this.va.path(),this.b.td(!0))};
$.g.yf=function(a){var b=this.aa(),c=!!(a&$.qo),d=!c&&!!(a&$.po),e=this.Sa().labels(),f=this.mb().labels(),h=this.selected().labels(),k;c?k=h:d?k=f:k=null;var l=this.Sa().labels().Vd(0),m=b.get("normal");m=$.n(m)?m.label:void 0;var p=b.get("hovered");p=$.n(p)?p.label:void 0;var q=b.get("selected");q=$.n(q)?q.label:void 0;m=$.Ro(m,b.get("label"));p=d?$.Ro(p,b.get("hoverLabel")):null;b=c?$.Ro(q,b.get("selectLabel")):null;q=m&&$.n(m.enabled)?m.enabled:null;var r=b&&$.n(b.enabled)?b.enabled:null,t=p&&
$.n(p.enabled)?p.enabled:null;if(d||c?d?null===t?null===f.enabled()?null===q?e.enabled():q:f.enabled():t:null===r?null===h.enabled()?null===q?e.enabled():q:h.enabled():r:null===q?e.enabled():q){c=!!(a&$.qo);a=!c&&!!(a&$.po);f=this.aa();q=f.get("normal");q=$.n(q)?q.label:void 0;r=f.get("hovered");r=$.n(r)?r.label:void 0;h=f.get("selected");h=$.n(h)?h.label:void 0;q=$.Ro(q,f.get("label"));r=a?$.Ro(r,f.get("hoverLabel")):null;t=c?$.Ro(h,f.get("selectLabel")):null;f=q&&q.position?q.position:null;h=r&&
r.position?r.position:null;q=t&&t.position?t.position:null;r=this.Sa().labels();t=this.mb().labels();var u=this.selected().labels();c=a||c?a?h?h:t.i("position")?t.i("position"):f?f:r.i("position"):q?q:u.i("position")?u.i("position"):f?f:r.i("position"):f?f:r.i("position");c=pqa(this,$.Ck(c));c={value:$.xo(this.j,c)};a=this.Ec();l?($.Mu(e,0),l.lf(a),l.uc(c)):l=e.add(a,c,0);l.oi();$.Ou(l,k);l.kd(m,d?p:b);l.$()}else l&&e.clear(l.la())};
$.g.$=function(){if(!this.Bc())return this;var a=this.P();this.va||(this.va=$.lk(),$.du(this,this.va));var b=this.Sa().labels();this.J(8)&&(this.va.zIndex(this.zIndex()),b&&b.zIndex(this.zIndex()),this.I(8));this.J(2)&&(this.va.parent(a),b&&b.P(a),this.I(2));this.J(4)&&this.I(4);a=this.aa();this.J(16)&&(this.rR(),a.select(this.Yi())&&!this.gk()&&(this.za()?this.ot():this.sC(),this.wF($.$w(this.state,0))),this.I(16));this.J(8192)&&(a.select(this.Yi())?(this.yf($.$w(this.state,0)),b.$()):b.clear(),
this.I(8192));return this};$.g.Fl=function(a){return $.n(a)?this:this.Ke.Vc().i("hoverMode")};$.g.Ni=function(a){return $.n(a)?(a=null===a?null:$.zk(a),a!=this.Ls&&(this.Ls=a),this):this.Ls};$.g.Rg=function(){return!0};$.g.hk=function(){return!1};$.g.Uk=function(a){this.wF(a)};$.g.Xj=function(a,b){this.wF(a);this.yf(a);return b};$.g.Wp=$.ia;$.g.fm=$.ia;$.g.Ii=function(){return!0};$.g.HB=function(a){a&&(a.tag={W:this,index:0})};$.g.sh=function(a){(a=this.Ig(a))&&this.dispatchEvent(a)};
$.g.Ig=function(a){var b=a.type;switch(b){case "mouseout":b="pointmouseout";break;case "mouseover":b="pointmouseover";break;case "mousemove":b="pointmousemove";break;case "mousedown":b="pointmousedown";break;case "mouseup":b="pointmouseup";break;case "click":case "touchstart":b="pointclick";break;case "dblclick":b="pointdblclick";break;default:return null}a.pointIndex=0;var c=this.vc();c.select(this.Yi())||c.reset();return{type:b,actualTarget:a.target,series:this,iterator:c,pointIndex:0,target:this,
originalEvent:a}};$.g.Ec=function(a){this.aa().select(this.Yi());if(!this.de||a)this.de=new $.rw;a=this.aa();var b={pointer:{value:this,type:""},index:{value:a.la(),type:"number"},value:{value:a.get("value"),type:"number"},name:{value:this.i("name")||"Pointer "+this.mh(),type:"string"},high:{value:a.get("high"),type:"number"},low:{value:a.get("low"),type:"number"}};this.de.Ag(a);return $.av(this.de,b)};$.g.xk=function(){return this.Ec()};
$.g.Pd=function(){var a;if(a=!$.Zw(this.state,$.po))a=!(this.state.Nj()&$.po);if(a||!this.enabled())return this;this.state.Hh($.po,this.state.Ac==$.Zl?window.NaN:void 0);return this};$.g.Hi=function(a){if(!this.enabled())return this;null!=a||(a=0);$.ea(a)&&(this.Pd(),$.cx(this.state,0));return this};$.g.Ek=function(){this.enabled()&&this.state.xh($.po)};$.g.ae=function(){if(!this.enabled())return this;this.state.Hh($.qo,this.state.Ac==$.Zl?window.NaN:void 0);return this};
$.g.Mi=function(a,b){if(!this.enabled())return this;null!=a||(a=0);var c;$.n(b)&&(c=!(b&&b.shiftKey));$.ea(a)&&this.state.xh($.qo,0,c?$.po:void 0);return this};$.g.iu=function(){this.enabled()&&this.state.xh($.qo)};var P$={};$.hq(P$,[[0,"name",$.tq],[0,"width",$.to],[0,"offset",$.to]]);$.U(w$,P$);
w$.prototype.F=function(){var a=w$.u.F.call(this);$.Hq(this,P$,a,"Pointer");a.pointerType=this.Na();this.g&&(a.data=this.data().F());$.n(this.O)&&(a.dataIndex=this.O);a.legendItem=this.ss().F();this.Yd&&(a.id=this.id());this.Dq!=this.la()&&(a.autoIndex=this.mh());this.Ob&&(a.color=$.Jl(this.Ob));a.normal=this.Sa().F();a.hovered=this.mb().F();a.selected=this.selected().F();return a};
w$.prototype.X=function(a,b){w$.u.X.call(this,a,b);this.id(a.id);this.mh(a.autoIndex);this.Yi(a.dataIndex);"data"in a&&this.data(a.data||null);this.ss().K(a.legendItem);$.zq(this,P$,a,b);this.color(a.color);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected)};w$.prototype.ld=function(){this.ca.Fa(this.ma);$.W(this,"normal",this.ca);this.ca.ia(!0,{});$.W(this,"hovered",this.xa);this.xa.ia(!0,{});$.W(this,"selected",this.Ca);this.Ca.ia(!0,{})};
w$.prototype.R=function(){$.td(this.path,this.b);this.b=this.path=null;$.qd(this.va);this.va=null;this.na&&$.Zq(this.na,this.kg,this);this.na=null;$.td(this.ca,this.xa,this.Ca);this.Ca=this.xa=this.ca=null;$.qd(this.$o);this.$o=null;w$.u.R.call(this)};var Q$=w$.prototype;Q$.scale=Q$.scale;Q$.legendItem=Q$.ss;Q$.id=Q$.id;Q$.dataIndex=Q$.Yi;Q$.getGauge=Q$.tda;Q$.color=Q$.color;Q$.data=Q$.data;Q$.normal=Q$.Sa;Q$.hovered=Q$.mb;Q$.selected=Q$.selected;Q$.hover=Q$.Hi;Q$.unhover=Q$.Pd;Q$.select=Q$.Mi;
Q$.unselect=Q$.ae;$.H(x$,w$);x$.prototype.Na=function(){return"bar"};x$.prototype.ds=function(){var a=x$.u.ds.call(this);a.push(0);return a};
x$.prototype.ot=function(){var a=this.ja(),b=this.za(),c=this.scale().Uf();if(b){b=a.left;var d=b+a.width;var e=this.Ie(this.Gu());a=this.Ie(this.mQ());this.j.left=b;this.j.top=c?a:e}else b=this.Ie(this.mQ()),d=this.Ie(this.Gu()),e=a.top,a=e+a.height,this.j.left=c?d:b,this.j.top=e;this.j.width=Math.abs(d-b);this.j.height=Math.abs(e-a);this.path.clear().moveTo(b,e).lineTo(d,e).lineTo(d,a).lineTo(b,a).lineTo(b,e).close();this.b.fe(this.path.F())};x$.prototype.sC=x$.prototype.ot;$.H(z$,w$);$.g=z$.prototype;$.g.sa=w$.prototype.sa|1048576;$.g.rR=function(){A$(this);this.b?this.b.clear():this.b=this.va.path().zIndex(99);this.G||(this.G=this.va.rect().zIndex(100).stroke("none").fill($.Ul));this.HB(this.G)};
$.g.ot=function(){A$(this);this.J(1048576)&&(this.Kb&&(this.Kb.Hf()?(this.Kb.tg(),this.Kb.Uc(this.scale().uh(),this.scale().Rh()),this.Kb.Cg()):(this.Kb.mp(),this.Kb.Uc(this.scale().uh(),this.scale().Rh()))),this.I(1048576));var a=this.ja();this.j=a;this.G.uf(a);var b=this.za(),c=b?a.height:a.width,d=$.M(this.i("gap"),c),e=$.M(this.i("size"),c),f=$.M(this.i("count"),c);if((0,window.isNaN)(d)||(0,window.isNaN)(e))(0,window.isNaN)(d)||(0,window.isNaN)(f)?(0,window.isNaN)(e)||(0,window.isNaN)(f)||(d=
(c-f*e)/(f-1)):e=(c-(f-1)*d)/f;else{f=Math.floor((c+d)/(e+d));var h=c/(c-(c-(f*(e+d)-d)));e*=h;d*=h}var k=null;if(b){c=a.left;var l=a.left+a.width;var m=a.top+a.height-e;a=m+e}else c=a.left,l=c+e,m=a.top,a=a.top+a.height;var p=this.Gu();for(var q=0;q<f;q++){var r=$.Qm($.Za(qqa(this,b?a:c),0,1),7);h=$.Qm($.Za(qqa(this,b?m:l),0,1),7);var t=this.na.Fc(h);t=this.Kb.yq(t);if(h=this.na.Uf()?h<=p:r>=p)r=this.i("dimmer"),t=$.E(r)?r.call({color:t},t):r;r=$.Ll(t);null===t&&(t="none");if(null===k||t!=k)k=t,
r in this.D?this.D[r][0].clear():this.D[r]=[this.va.path(),t];t=this.D[r][0];t.moveTo(c,m).lineTo(l,m).lineTo(l,a).lineTo(c,a).lineTo(c,m);h||this.b.moveTo(c,m).lineTo(l,m).lineTo(l,a).lineTo(c,a).lineTo(c,m);b?(a=m-d,m=a-e):(c=l+d,l=c+e)}};$.g.sC=z$.prototype.ot;$.g.wF=function(a){var b;for(b in this.D){var c=this.D[b];c[0].stroke("none").fill(c[1])}a=this.hc(this,a,!1);this.b.stroke("none").fill(a)};$.g.Na=function(){return"led"};
var R$=function(){function a(a){return $.to(a,!0)}var b={};$.hq(b,[[0,"dimmer",$.Tl],[0,"gap",a],[0,"size",a],[0,"count",function(a){return $.O(a,window.NaN)}]]);return b}();$.U(z$,R$);$.g=z$.prototype;$.g.sd=function(a){if($.n(a)){if(null===a&&this.Kb)this.Kb=null,this.B(1048592,1);else if(a=$.Xs(this.Kb,a,null,48,null,this.Cp,this)){var b=this.Kb==a;this.Kb=a;$.W(this,"colorScale",this.Kb);this.Kb.da(b);b||this.B(1048592,1)}return this}return this.Kb};
$.g.Cp=function(a){$.X(a,6)&&this.B(1048592,1)};$.g.F=function(){var a=z$.u.F.call(this);a.colorScale=this.sd().F();$.Hq(this,R$,a,"Led pointer");return a};$.g.X=function(a,b){z$.u.X.call(this,a,b);$.zq(this,R$,a,b);rqa(this);if("colorScale"in a){var c=a.colorScale,d=null;$.z(c)?d=$.Rs(c,null):$.D(c)&&(d=$.Rs(c.type,null))&&d.K(c);d&&this.sd(d)}};$.g.R=function(){$.qd(this.G);this.G=null;A$(this);z$.u.R.call(this)};var zqa=z$.prototype;zqa.colorScale=zqa.sd;$.H(B$,w$);$.g=B$.prototype;$.g.ot=function(){var a=this.ja(),b=$.qp(this.type()),c=this.za();if(c){var d=a.left+a.width/2;var e=this.Ie(this.Gu())}else d=this.Ie(this.Gu()),e=a.top+a.height/2;a=c?a.width:a.height;this.j.left=d-a/2;this.j.top=e-a/2;this.j.width=a;this.j.height=a;this.path.clear();b.call(null,this.path,d,e,a/2);this.b.fe(this.path.F())};$.g.sC=B$.prototype.ot;$.g.Na=function(){return"marker"};
$.g.type=function(a){return $.n(a)?(this.je!=a&&(null===a||(a=$.Ik(a,"star5")),this.je=a,this.B(16,1)),this):this.je||this.mF};$.g.X=function(a,b){B$.u.X.call(this,a,b);this.type(a.type)};$.g.F=function(){var a=B$.u.F.call(this);this.je&&(a.type=this.type());return a};var Aqa=B$.prototype;Aqa.type=Aqa.type;$.H(D$,x$);$.g=D$.prototype;$.g.Na=function(){return"range-bar"};$.g.gk=function(){var a=this.aa(),b=this.scale();return(0,window.isNaN)(b.transform(a.get("high")))||(0,window.isNaN)(b.transform(a.get("low")))};$.g.mQ=function(){var a=this.aa();a.select(this.Yi());a=a.get("low");return $.Za(this.scale().transform(a),0,1)};$.g.Gu=function(){var a=this.aa();a.select(this.Yi());a=a.get("high");return $.Za(this.scale().transform(a),0,1)};$.g.ds=function(){var a=D$.u.ds.call(this);a.pop();return a};$.H(E$,w$);$.xq(E$,["emptyFill","emptyHatchFill"],"normal");$.g=E$.prototype;$.g.Na=function(){return"tank"};$.g.bT=function(a){a=.1488095238*$.M(this.i("width"),a);var b,c,d;var e=b=c=d=0;this.za()?b=d=a:e=c=a;return[e,b,c,d]};
$.g.On=function(){var a=this.za(),b=this.ja(),c=this.scale(),d=c.Uf(),e=this.Ie(this.Gu()),f=this.Ie(c.transform(c.uh()));c=this.Ie(c.transform(c.Rh()));a?d?(this.N=$.gn(b.left,f,b.width,e-f),this.Ra=$.gn(b.left,e,b.width,c-e)):(this.N=$.gn(b.left,e,b.width,f-e),this.Ra=$.gn(b.left,c,b.width,e-c)):d?(this.N=$.gn(e,b.top,f-e,b.height),this.Ra=$.gn(c,b.top,e-c,b.height)):(this.N=$.gn(f,b.top,e-f,b.height),this.Ra=$.gn(e,b.top,c-e,b.height));this.j=this.N};
$.g.rR=function(){this.D||(this.D=this.va.Dd());this.G||(this.G=this.va.Dd());this.scale().Uf()?(this.G.zIndex(0),this.D.zIndex(1)):(this.D.zIndex(0),this.G.zIndex(1));this.U?this.U.clear():this.U=this.D.path().zIndex(0);this.Ja?this.Ja.clear():this.Ja=this.D.path().zIndex(1);this.ka?this.ka.clear():this.ka=this.D.path().zIndex(2);this.ya?this.ya.clear():this.ya=this.D.path().zIndex(3);this.Ga?this.Ga.clear():this.Ga=this.D.path().zIndex(4);this.ba?this.ba.clear():this.ba=this.G.path().zIndex(0);
this.nb?this.nb.clear():this.nb=this.G.path().zIndex(1);this.ab?this.ab.clear():this.ab=this.G.path().zIndex(2);this.eb?this.eb.clear():this.eb=this.G.path().zIndex(3);this.b?this.b.clear():this.b=this.va.path();this.ga?this.ga.clear():this.ga=this.G.path();this.HB(this.va)};
$.g.ot=function(){this.On();G$(this,this.U,this.N);sqa(this,this.Ja,this.N);var a=this.ka,b=this.N;if(this.za()){var c=b.width/2,d=.1488095238*b.width,e=b.left+b.width,f=b.top+b.height;a.moveTo(b.left,f-1);a.kf(e,f,c,d,!1,!1)}else c=.1488095238*b.height,d=b.height/2,e=b.top+b.height/2+F$(d),a.moveTo(b.left+1,b.top),a.kf(b.left,e,c,d,!1,!1);G$(this,this.ya,this.N);tqa(this,this.Ga,this.N);G$(this,this.ba,this.Ra);sqa(this,this.nb,this.Ra);G$(this,this.ab,this.Ra);tqa(this,this.eb,this.Ra);this.b.fe(this.U.F());
this.ga.fe(this.ba.F())};$.g.sC=E$.prototype.ot;
var S$={thickness:1,opacity:.3,color:"#FFFFFF"},Bqa={angle:0,keys:[{color:"#FFFFFF",offset:"0",opacity:0},{color:"#FFFFFF",offset:"0.2",opacity:Number(160/255)},{color:"#FFFFFF",offset:"0.25",opacity:Number(140/255)},{color:"#FFFFFF",offset:"0.3",opacity:Number(30/255)},{color:"#FFFFFF",offset:"0.35",opacity:0},{color:"#FFFFFF",offset:"1",opacity:0}]},Cqa={angle:0,keys:[{color:"#FFFFFF",offset:"0",opacity:0},{color:"#FFFFFF",offset:"0.2",opacity:.3*Number(160/255)},{color:"#FFFFFF",offset:"0.25",
opacity:.3*Number(140/255)},{color:"#FFFFFF",offset:"0.3",opacity:.3*Number(30/255)},{color:"#FFFFFF",offset:"0.35",opacity:0},{color:"#FFFFFF",offset:"1",opacity:0}]};
E$.prototype.wF=function(a){var b=this.za(),c=b?0:90,d=this.Tc(this,a,!1),e=$.Nl(d),f=$.Il(d);f=$.z(f)?f:f.color;d=$.Hl(d);d=$.z(d)?d:d.color;d={angle:c,keys:[{color:f,offset:"0",opacity:e},{color:f,offset:"0.05",opacity:e},{color:d,offset:"0.85",opacity:e},{color:d,offset:"0.85",opacity:e},{color:f,offset:"1",opacity:e}]};this.U.fill(d);this.U.stroke("none");this.Ja.fill("none");this.Ja.stroke(S$);Bqa.angle=c;this.ya.fill(Bqa);this.ya.stroke("none");d={angle:b?50:140,keys:[{color:"#FFFFFF",offset:"0",
opacity:.1},{color:f,offset:"1",opacity:1}]};this.Ga.fill(d);this.Ga.stroke("none");this.ka.fill("none");this.ka.stroke(S$);e=this.me(this,a,!1);f=$.Il(e);f=$.z(f)?f:f.color;d=$.Hl(e);d=$.z(d)?d:d.color;e=$.Nl(e);d={angle:-c,keys:[{color:f,offset:"0",opacity:e},{color:f,offset:"0.05",opacity:e},{color:d,offset:"0.85",opacity:e},{color:d,offset:"0.85",opacity:e},{color:f,offset:"1",opacity:e}]};this.ba.fill(d);this.ba.stroke("none");this.nb.fill("none");this.nb.stroke(S$);Cqa.angle=c;this.ab.fill(Cqa);
this.ab.stroke("none");d={angle:b?50:140,keys:[{color:"#FFFFFF",offset:"0",opacity:.1*e},{color:f,offset:"1",opacity:e}]};this.eb.fill(d);this.eb.stroke("none");b=this.hc(this,a,!1);this.b.fill(b);this.b.stroke("none");b=this.Ge(this,a,!1);this.ga.fill(b);this.ga.stroke("none")};E$.prototype.R=function(){this.eb=this.ab=this.nb=this.ba=this.Ga=this.ya=this.ka=this.Ja=this.U=null;$.td(this.D,this.G,this.ga);this.ga=this.G=this.D=null;E$.u.R.call(this)};$.H(H$,w$);H$.prototype.ot=function(){var a=this.ja(),b=this.scale().Uf(),c=a.left,d=a.left+a.width,e=this.Ie(this.Gu());a=b?a.top-this.D:a.top+a.height+this.D;this.j.left=c;this.j.top=b?a:e;this.j.width=Math.abs(d-c);this.j.height=Math.abs(a-e);this.path.clear().moveTo(c,e).lineTo(d,e).lineTo(d,a).kf(c,a,this.mq,this.mq,!0,!b).lineTo(c,e).close();this.b.fe(this.path.F())};
H$.prototype.sC=function(){var a=this.ja(),b=this.scale().Uf(),c=a.top,d=a.top+a.height,e=this.Ie(this.Gu());a=b?a.left+a.width+this.D:a.left-this.D;this.j.left=b?e:a;this.j.top=c;this.j.width=Math.abs(a-e);this.j.height=Math.abs(d-c);this.path.clear().moveTo(e,c).lineTo(e,d).lineTo(a,d).kf(a,c,this.mq,this.mq,!0,!b).lineTo(e,c).close();this.b.fe(this.path.F())};H$.prototype.Na=function(){return"thermometer"};
H$.prototype.bT=function(a,b){var c=$.M(this.i("width"),a),d=$.M(this.i("bulbRadius"),c),e=$.M(this.i("bulbPadding"),b);d<c/2&&(d=c/2);this.mq=d;this.D=e;c=d+Math.sqrt(3)*d/2+e;var f,h;d=e=f=h=0;var k=this.scale().Uf();this.za()?k?e=c:h=c:k?f=c:d=c;return[d,e,f,h]};var T$={};$.hq(T$,[[0,"bulbRadius",$.to],[0,"bulbPadding",$.to]]);$.U(H$,T$);H$.prototype.X=function(a,b){H$.u.X.call(this,a,b);$.zq(this,T$,a,b)};H$.prototype.F=function(){var a=H$.u.F.call(this);$.Hq(this,T$,a,"Thermometer");return a};$.H(I$,$.ox);I$.prototype.qa=$.ox.prototype.qa;I$.prototype.sa=$.ox.prototype.sa|15503360;var U$={};U$.bar=x$;U$.led=z$;U$.marker=B$;U$["range-bar"]=D$;U$.tank=E$;U$.thermometer=H$;var V$={};$.hq(V$,[[0,"globalOffset",$.to],[0,"layout",$.Ek],[0,"defaultPointerType",mqa]]);$.U(I$,V$);$.g=I$.prototype;$.g.sf=function(a){this.Be||(this.Be=new $.xs,$.W(this,"markerPalette",this.Be),$.L(this.Be,this.HH,this));return $.n(a)?(this.Be.K(a),this):this.Be};$.g.HH=function(a){$.X(a,2)&&this.B(524800,1)};
$.g.cc=function(a){if($.K(a,$.ys))return this.Ic($.ys,a),this;if($.K(a,$.vs))return this.Ic($.vs,a),this;$.D(a)&&"range"==a.type?this.Ic($.ys):($.D(a)||null==this.Ea)&&this.Ic($.vs);return $.n(a)?(this.Ea.K(a),this):this.Ea};$.g.Ic=function(a,b){if($.K(this.Ea,a))b&&this.Ea.K(b);else{var c=!!this.Ea;$.qd(this.Ea);this.Ea=new a;$.W(this,"palette",this.Ea);b&&this.Ea.K(b);$.L(this.Ea,this.If,this);c&&this.B(2097664,1)}};$.g.If=function(a){$.X(a,2)&&this.B(2097664,1)};
$.g.oe=function(a){this.Yc||(this.Yc=new $.ws,$.W(this,"hatchFillPalette",this.Yc),$.L(this.Yc,this.TG,this));return $.n(a)?(this.Yc.K(a),this):this.Yc};$.g.TG=function(a){$.X(a,2)&&this.B(4194816,1)};$.g.za=function(a){return $.n(a)?(this.pa("layout",a?"vertical":"horizontal"),this):"vertical"==this.i("layout")};$.g.By=function(){this.Za().Nq()&&this.B(4,9)};$.g.Te=function(){return this.b};$.g.At=function(){return[this]};
$.g.Bz=function(a,b,c){a=mqa(a);var d=U$[a];d?(d=new d,$.ea(b)?d.Yi(b):d.data(b,c),b=(b=this.b[this.b.length-1])?b.mh()+1:0,this.b.push(d),d.Mh=$.Qm(1E-5*b,5),d.mh(b),d.sq(this.cc().nc(b)),$.K(d,B$)&&C$(d,this.sf().nc(this.D++)),d.Cw(this.oe().nc(b)),d.Bk(this),d.ib(this),b=this.mf("defaultPointerSettings"),d.Fa(b.base),d.Fa(b[$.om(a)]),$.E(d.sd)&&(d.sd(d.mf("colorScale")),rqa(d)),d.ld(),$.L(d,this.jha,this),this.B(266756,1)):d=null;return d};
$.g.o$=function(a){var b=[],c=this.i("defaultPointerType"),d=arguments.length;$.V(this);if(d)for(var e=0;e<d;e++)b.push(this.Bz(c,arguments[e]));this.da(!0);return b};$.g.r$=function(a){return this.WY(uqa(this,a))};$.g.WY=function(a){var b=this.b[a];b&&($.Fp++,$.Ca(this.b,a,1),$.qd(b),this.B(266752,1),$.Ip());return this};$.g.q$=function(){if(this.b.length){$.Fp++;var a=this.b;this.b=[];this.D=0;$.td(a);this.B(266752,1);$.Ip()}return this};$.g.GJ=function(a){return this.VY(uqa(this,a))};
$.g.VY=function(a){return this.b[a]||null};$.g.aT=function(a){return $.ya(this.b,function(b){return b.mh()==a})};$.g.p$=function(){return this.b.length};$.g.data=function(a,b){return $.n(a)?(this.jg!==a&&(this.jg=a,$.qd(this.jd),this.Nd=null,$.K(a,$.pr)?this.j=this.jd=a.tj():this.j=$.K(a,$.zr)?this.jd=a.ie():(this.jd=new $.zr($.A(a)||$.z(a)?a:null,b)).ie(),this.oa=this.j,$.L(this.oa,this.Id,this),J$(this),this.B(266496,5)),this):this.oa};$.g.Id=function(a){$.X(a,16)&&(J$(this),this.B(266496,1))};
$.g.aa=function(){return this.Nd||this.vc()};$.g.vc=function(){return this.Nd=this.oa.aa()};$.g.bm=function(a,b){var c,d=[];var e=0;for(c=this.b.length;e<c;e++){var f=this.b[e],h=f.LC(b);h.sourceUid=$.oa(this);h.sourceKey=f.id();d.push(h)}return d};$.g.er=function(a){a=a.si();if(a=this.GJ(a))a.enabled(!a.enabled()),a.enabled()?a.Ek():a.Pd()};$.g.bq=function(a){var b=a.si();(!a||null!=b||(0,window.isNaN)(b))&&(a=this.GJ(b))&&a.Ek()};
$.g.aq=function(a){var b=a.si();(!a||null!=b||(0,window.isNaN)(b))&&(a=this.GJ(b))&&a.Pd()};$.g.PL=function(){for(var a=[],b=this.Te(),c,d,e=0;e<b.length;e++)(c=b[e])&&c.state&&c.enabled()&&(d=!!$.ex(c.state,$.qo).length)&&a.push(K$(this,c.mh()));return a};$.g.oD=function(a,b,c){if(a.length){var d=a[a.length-1];var e=d.W;var f=e.mh();d=$.Aa(d.md,0)}e={index:f,series:e};e[b]=c?!d:d;return e};
$.g.Ik=function(a,b,c,d,e){var f=this.oD(c,a,d),h=K$(this,f.index),k=[];if(!d)for(var l=0,m=c.length;l<m;l++){var p=c[l].W;k.push(K$(this,p.mh()))}a={type:"hovered"==a?"pointshover":"pointsselect",seriesStatus:this.CF(c,d),currentPoint:f,actualTarget:b.target,target:this,point:h,points:k,originalEvent:b};e&&(a.BS=!0);return a};$.g.uu=function(){return!0};
$.g.axis=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.f[c];e||(e=new s$,e.Fa(this.mf("defaultAxisSettings")),e.ib(this),this.f[c]=e,$.L(e,this.ko,this),this.B(32772,1));return $.n(d)?(e.K(d),this):e};$.g.ko=function(a){var b=0,c=0;$.X(a,1)&&(b|=32768,c|=1);$.X(a,8)&&(b|=4);this.B(b,c)};
$.g.scale=function(a){if($.n(a)){if(a=$.Xs(this.na,a,"linear",7,["Linear gauge scale","scatter","linear, log, date-time"]))this.na=a,this.na.da(!1),this.B(262144,1);return this}this.na||(this.na=$.Ts());return this.na};$.g.fW=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.g[c];if(!e){e=new u$(this);var f=this.mf("defaultScaleBarSettings");e.Fa(f);e.sd(f.colorScale);e.ib(this);this.g[c]=e;$.L(e,this.Iga,this);this.B(8388612,1)}return $.n(d)?(e.K(d),this):e};
$.g.Iga=function(a){var b=0,c=0;$.X(a,1)&&(b|=8388608,c|=1);$.X(a,8)&&(b|=4);this.B(b,c)};$.g.ob=function(){var a,b=this.b.length,c;if(this.J(262144)){var d=!1;(0,$.Qe)(this.b,function(a){a=a.scale();a.tg();d=d||a.Hf()});if(d)for(c=0;c<b;c++)if((a=this.b[c])&&a.enabled()){var e=a.scale();e.Uc.apply(e,a.ds())}(0,$.Qe)(this.b,function(a){a.scale().Cg()});this.B(32772);this.I(262144)}};
$.g.Pn=function(){I$.u.Pn.call(this);for(var a=this.Ia("chartElements")||{},b=0,c=this.f.length;c--;)this.f[c]&&b++;a.axes=b;this.Ia("chartElements",a)};
$.g.Pu=function(){if(!this.ef()){var a,b=0,c=this.za();if(this.J(6815744)){$.kr(this.b);for(a=0;a<this.b.length;a++){var d=this.b[a],e=d.mh();d.sq(this.cc().nc(e));d.Cw(this.oe().nc(e));$.K(d,B$)&&C$(d,this.sf().nc(b++))}this.B(4096);J$(this);this.I(6815744);$.mr(this.b);this.D=b}d=c?"left":"top";for(a=0;a<this.f.length;a++)if(b=this.f[a])$.Ey(b,d),b.scale()||b.scale(this.scale());d=this.i("layout");for(a=0;a<this.b.length;a++)b=this.b[a],b.pe(d),b.scale()||b.scale(this.scale()),$.K(b,B$)&&-1!=String(C$(b)).toLowerCase().indexOf("triangle")&&
C$(b,c?"triangle-left":"triangle-up");for(a=0;a<this.g.length;a++)if(b=this.g[a])b.pe(d),b.scale()||b.scale(this.scale())}};
$.g.ei=function(a){if(!this.ef()){var b,c=this.b.length;this.ob();$.kr(this.f,this.b,this.g);if(this.J(32772)){var d;var e=0;for(b=this.f.length;e<b;e++)if(d=this.f[e])$.Mu(d.labels()),$.Mu(d.kb())}this.va||(this.va=this.La.Dd().zIndex(2));if(this.J(4)){b=this.za();var f,h,k;var l=h=k=f=0;if(b){var m=a.width;d=a.height}else m=a.height,d=a.width;for(e=0;e<c;e++){var p=this.b[e];p=p.bT(m,d);f=Math.max(f,p[0]);l=Math.max(l,p[1]);h=Math.max(h,p[2]);k=Math.max(k,p[3])}a=a.clone();a.top+=l;a.height-=l+
k;a.left+=f;a.width-=f+h;a=a.round();l=$.gn(b?0:a.left,b?a.top:0,b?0:a.width,b?a.height:0);m=b?a.width:a.height;d=b?a.height:a.width;h=$.M("100%",d);k=$.Ga(this.f,this.b,this.g);for(e=0;e<k.length;e++)(d=k[e])&&d.enabled()&&(f=$.M($.to(d.i("width")),m),p=$.M($.to(d.i("offset")),m),f=b?$.gn(p,a.top,f,h):$.gn(a.left,p,h,f),$.qb(l,f),d.ja(f));b?(e=a.left+(a.width-l.width)/2-l.left,a=$.M(this.i("globalOffset"),a.width)):(e=a.top+(a.height-l.height)/2-l.top,a=$.M(this.i("globalOffset"),a.height));e+=a;
this.va.jc(1,0,0,1,b?e:0,b?0:e);this.B(8425472)}if(this.J(32768)){e=0;for(b=this.f.length;e<b;e++)if(a=this.f[e])a.P(this.va),a.$();this.I(32768)}if(this.J(4096)){for(e=0;e<c;e++)if(p=this.b[e])p.P(this.va),p.$();this.I(4096)}if(this.J(8388608)){for(e=0;e<this.g.length;e++)if(c=this.g[e])c.P(this.va),c.$();this.I(8388608)}$.mr(this.f,this.b,this.g)}};$.g.Ej=function(){for(var a=this.aa().Gb(),b=0,c=this.b.length,d=0;d<c;d++){var e=this.b[d];if(e&&!e.enabled())b++;else break}return!a||!c||b==c};
$.g.F=function(){var a=I$.u.F.call(this);a.palette=this.cc().F();a.markerPalette=this.sf().F();a.hatchFillPalette=this.oe().F();$.Hq(this,V$,a);a.data=this.data().F();var b={},c=[];var d=this.scale();var e=$.oa(d);b[e]=d.F();c.push(b[e]);a.scale=c.length-1;var f,h=[];for(f=0;f<this.f.length;f++)if(d=this.f[f]){var k=d.F();if(d=d.scale())e=$.oa(d),b[e]?k.scale=(0,$.za)(c,b[e]):(b[e]=d.F(),c.push(b[e]),k.scale=c.length-1);h.push(k)}h.length&&(a.axes=h);h=[];for(f=0;f<this.b.length;f++){d=this.b[f];
k=d.F();if(d=d.scale())e=$.oa(d),b[e]?k.scale=(0,$.za)(c,b[e]):(b[e]=d.F(),c.push(b[e]),k.scale=c.length-1);h.push(k)}h.length&&(a.pointers=h);h=[];for(f=0;f<this.g.length;f++){d=this.g[f];k=d.F();if(d=d.scale())e=$.oa(d),b[e]?k.scale=(0,$.za)(c,b[e]):(b[e]=d.F(),c.push(b[e]),k.scale=c.length-1);h.push(k)}h.length&&(a.scaleBars=h);c.length&&(a.scales=c);return{gauge:a}};
$.g.X=function(a,b){I$.u.X.call(this,a,b);$.zq(this,V$,a);this.data(a.data);"palette"in a&&this.cc(a.palette);"markerPalette"in a&&this.sf(a.markerPalette);"hatchFillPalette"in a&&this.oe(a.hatchFillPalette);var c,d=a.axes,e=a.pointers,f=a.scaleBars,h=a.scales,k=this.Na(),l={};if($.A(h))for(c=0;c<h.length;c++){var m=h[c];$.z(m)&&(m={type:m});m=$.pm(m,c,k);var p=$.Rs(m.type,!1);p.K(m);l[c]=p}else if($.D(h))for(c in h)h.hasOwnProperty(c)&&(m=h[c],$.z(m)&&(m={type:m}),m=$.pm(m,c,k),p=$.Rs(m.type,!1),
p.K(m),l[c]=p);m=a.scale;$.ea(m)?p=l[m]:$.z(m)?(p=$.Rs(m,null))||(p=l[m]):$.D(m)?(p=$.Rs(m.type,!1),p.K(m)):p=null;p&&this.scale(p);if($.A(d))for(c=0;c<d.length;c++)m=d[c],this.axis(c,m),$.D(m)&&"scale"in m&&0<m.scale&&this.axis(c).scale(l[m.scale]);if($.A(e))for(c=0;c<e.length;c++)if(m=e[c],d=m.pointerType||this.i("defaultPointerType"),p=m.data||null,d=this.Bz(d,m.dataIndex))d.data(p),d.K(m),$.D(m)&&"scale"in m&&0<m.scale&&d.scale(l[m.scale]);if($.A(f))for(c=0;c<f.length;c++)m=f[c],this.fW(c,m),
$.D(m)&&"scale"in m&&0<m.scale&&this.fW(c).scale(l[m.scale])};$.g.R=function(){$.td(this.jd,this.j,this.oa,this.b,this.f,this.g,this.Ea,this.Be,this.Yc);this.Nd=this.oa=this.j=this.jd=null;this.b.length=0;this.f.length=0;this.g.length=0;this.Yc=this.Be=this.Ea=null;I$.u.R.call(this)};$.g.jha=function(a){var b=4096,c=1;$.X(a,8)&&(b|=4,c|=8);$.X(a,64)&&(b|=512);$.X(a,4)&&(b|=262144);this.B(b,c)};
(function(){function a(a){return function(b,c){return this.Bz(a,b,c)}}var b=I$.prototype,c;for(c in q$){var d=$.om(q$[c]);b[d]=a(q$[c])}})();var W$=I$.prototype;W$.getType=W$.Na;W$.palette=W$.cc;W$.markerPalette=W$.sf;W$.hatchFillPalette=W$.oe;W$.isVertical=W$.za;W$.addPointer=W$.o$;W$.removePointer=W$.r$;W$.removePointerAt=W$.WY;W$.removeAllPointers=W$.q$;W$.getPointer=W$.GJ;W$.getPointerAt=W$.VY;W$.getPointersCount=W$.p$;W$.getSelectedPoints=W$.PL;W$.data=W$.data;W$.axis=W$.axis;W$.scaleBar=W$.fW;
W$.scale=W$.scale;$.Kp["linear-gauge"]=vqa;$.Kp.bullet=function(a,b){var c=new I$;c.Fa("bullet");c.data(a,b);c.pa("defaultPointerType","bar");c.je="bullet";return c};$.Kp.thermometer=wqa;$.Kp.tank=xqa;$.Kp.led=yqa;$.F("anychart.gauges.linear",vqa);$.F("anychart.gauges.thermometer",wqa);$.F("anychart.gauges.tank",xqa);$.F("anychart.gauges.led",yqa);}).call(this,$)}
if(!_.theme_linear_gauge){_.theme_linear_gauge=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{linearGauge:{padding:10,markerPalette:{items:"circle diamond square triangle-down triangle-up triangle-left triangle-right diagonal-cross pentagon cross v-line star5 star4 trapezium star7 star6 star10".split(" ")},globalOffset:"0%",layout:"vertical",tooltip:{titleFormat:function(){return this.name},format:function(){return this.high?$.cN.call(this):"Value: "+$.OM(this.value)}},scales:[{type:"linear"}],defaultAxisSettings:{enabled:!0,width:"10%",offset:"0%"},
defaultScaleBarSettings:{enabled:!0,width:"10%",offset:"0%",from:"min",to:"max",colorScale:{type:"ordinal-color",inverted:!1,ticks:{maxCount:100}},points:[{height:0,left:0,right:0},{height:1,left:0,right:0}]},defaultPointerSettings:{base:{enabled:!0,selectionMode:"single",width:"10%",offset:"0%",legendItem:{enabled:!0},normal:{stroke:$.$M,fill:$.SM,hatchFill:null,labels:{zIndex:0,position:"center-top"}},hovered:{stroke:$.bN,fill:$.YM,labels:{enabled:null}},selected:{stroke:$.XM,fill:$.XM,labels:{enabled:null}}},
bar:{},rangeBar:{normal:{labels:{format:function(){return $.OM(this.high)}}}},marker:{width:"3%"},tank:{normal:{emptyFill:"#fff 0.3",emptyHatchFill:null},hovered:{emptyFill:$.SM},selected:{emptyFill:$.SM}},thermometer:{normal:{fill:function(){var a=this.sourceColor,b=$.Il(a);return{angle:this.isVertical?0:90,keys:[{color:b},{color:a},{color:b}]}}},width:"3%",bulbRadius:"120%",bulbPadding:"3%"},led:{dimmer:function(a){return $.Il(a)},gap:"1%",size:"2%",count:null,colorScale:{type:"ordinal-color",inverted:!1,
ticks:{maxCount:100}}}}},thermometer:{},tank:{},led:{}});}).call(this,$)}
if(!_.map_part){_.map_part=1;(function($){var uP=function(a,b,c){return a+c*(b-a)},Pea=function(a,b){return a==b?!0:b?a.ed==b.ed&&a.We==b.We&&a.Ad==b.Ad&&a.Me==b.Me&&a.Ee==b.Ee&&a.xd==b.xd:!1},Qea=function(a){var b=a.rj-a.qj;a=a.Xe-a.se;return b*b+a*a},vP=function(a,b){var c=$.Ic(a,b,void 0);return c&&a[c]},wP=function(a){switch(String(a).toLowerCase()){case "hammeraitoff":case "hammer-aitoff":case "hammer":return"hammer";case "wagner":case "wagner6":return"wagner6";case "undefined":case "null":case "none":case "wsg84":case "base":case "+proj=longlat +datum=WGS84 +no_defs":return"wsg84"}return a},
xP=function(a,b,c){$.rx.call(this,a,b);this.b=c||function(){return!0}},yP=function(){},zP=function(a){return 0<a?Math.sqrt(a):0},AP=function(){},BP=function(){},CP=function(){this.f=45*Math.PI/180;this.b=1/Math.tan(this.f)},DP=function(){},EP=function(){},FP=function(){},GP=function(){},HP=function(a,b){this.scale=a;this.angle=b},IP=function(){this.b=2;this.f=new HP(function(a){return Math.sqrt(2/(1+a))},function(a){return 2*Math.asin(a/2)})},JP=function(){},KP=function(){this.b=new HP(function(){return 1},
Math.asin)},LP=function(a){this.f=a;this.b=$.fl.proj4},MP=function(){},NP=function(){},OP=function(a){var b=a(0,0);return $.A(b)?(a=b[0],b=b[1],!$.ea(a)||(0,window.isNaN)(a)||!$.ea(b)||(0,window.isNaN)(b)?!1:!0):!1},QP=function(a){if($.D(a)){var b=new yP;var c=($.E(a.forward)?a.forward:null)||($.E(a)?a:null),d=$.E(a.invert)?a.invert:null;c&&OP(c)&&(b.forward=function(a,b){a=$.bb(a);b=$.bb(b);return c(a,b)},d&&OP(d)&&(b.gj=function(a,b){var c=d(a,-b);c[0]=$.cb(c[0]);c[1]=$.cb(c[1]);return c}));return b}switch(a){case "bonne":b=
new CP;break;case "eckert1":b=new DP;break;case "eckert3":b=new EP;break;case "fahey":b=new GP;break;case "hammer":b=new IP;break;case "aitoff":b=new AP;break;case "mercator":b=new JP;break;case "orthographic":b=new KP;break;case "robinson":b=new MP;break;case "wagner6":b=new NP;break;case "wsg84":b=new yP;break;case "equirectangular":b=new FP;break;case "august":b=new BP;break;default:try{$.fl.proj4?b=new LP(a):(b=new yP,PP||($.el(19,null,null,!0),PP=!0))}catch(e){b=new yP}}return b},RP=function(a){a=
String(a).toLowerCase();switch(a){case "undefined":case "null":case "none":case "wsg84":return!0;case "bonne":case "eckert1":case "eckert3":case "fahey":case "hammer":case "aitoff":case "mercator":case "orthographic":case "robinson":case "wagner6":case "equirectangular":case "august":return!1;default:return!$.fl.proj4}},SP=function(a){$.Uw.call(this,a);$.T(this.ua,[["zoomOnDoubleClick",0,0],["keyboardZoomAndMove",0,0],["drag",0,0],["copyFormat",0,0]])},TP=function(a,b,c,d){$.sA.call(this,a,window.NaN);
this.id=d;this.f=c;this.b=b},UP=function(a,b){$.tA.call(this,a,b)},VP=function(a,b,c,d,e){$.gB.call(this,a,b,c,d,e);this.Yr=[];this.nW=[];$.T(this.ua,[["startSize",1024,1,4294967295],["endSize",1024,1,4294967295],["curvature",1024,1025,4294967295]]);this.Lp=!0;this.XN={};this.WG={};this.VD={};this.fA={}},WP=function(a,b){a.g!=b&&(a.g=b,a.b||a.B(512,1))},XP=function(a){return a.b||a.g},YP=function(a,b){var c=!!(b&$.qo),d=!c&&!!(b&$.po),e=a.aa(),f=e.get("normal");f=$.n(f)?f.label:void 0;var h=e.get("hovered");
h=$.n(h)?h.label:void 0;var k=e.get("selected");k=$.n(k)?k.label:void 0;f=$.Ro(f,e.get("label"));h=d?$.Ro(h,e.get("hoverLabel")):null;k=c?$.Ro(k,e.get("selectLabel")):null;e=f&&$.n(f.position)?f.position:void 0;h=h&&$.n(h.position)?h.position:void 0;k=k&&$.n(k.position)?k.position:void 0;f=a.Sa().labels();var l=a.mb().labels(),m=a.selected().labels();return d||c?d?$.n(h)?h:$.n(l.i("position"))?l.i("position"):$.n(e)?e:f.i("position"):$.n(k)?k:$.n(m.i("position"))?m.i("position"):$.n(e)?e:f.i("position"):
$.n(e)?e:f.i("position")},ZP=function(a){a=$.ab(a);var b="center";a?90>a?b="left-bottom":90==a?b="left-center":180>a?b="left-top":180==a?b="center-top":270>a?b="right-top":270==a?b="right-center":270<a&&(b="right-bottom"):b="center-bottom";return b},Rea=function(a,b){$.n(b)&&!$.Ta(a.f,b)&&(a.f=b,a.B(256,1))},$P=function(a){return 24==a.Se.type},Sea=function(a,b,c){var d=b.Kd();var e=a.aa();c=YP(a,c);var f=a.Ai(c);c=b.ic("rotation");var h=b.ic("anchor");$.n(h)&&null!==h||(h=e.o("labelAnchor"));$.n(c)&&
d.fu(-c,h);var k=b.uc().value;f=f.value;var l=d.Gd;d.translate(-l.Ad+f.x-k.x,-l.xd+f.y-k.y);(k=b.Zg)&&"offset"!=e.o("positionMode")&&(b=b.rA||a.rA,e=a.Aa.gf.qg().clone(),b&&$.wb(e,$.Ib(b)),a=e.ed,b=e.Ad,e=e.xd,e=new $.Cb(a,0,0,a,b,e),$.Hb(e,$.Ib(d.Gd)),a=e.ed,$.Tm(a,1,1E-6)?e=b=0:(b=e.Ad,e=e.xd),k.jc(a,0,0,a,b,e));$.n(c)&&d.fu(c,h)},Tea=function(a,b,c){var d=b.Kd();var e=a.aa();var f=a.aa(),h=!!(c&$.qo);c=!h&&!!(c&$.po);var k=f.get("normal");k=$.n(k)?k.marker:void 0;var l=f.get("hovered");l=$.n(l)?
l.marker:void 0;var m=f.get("selected");m=$.n(m)?m.marker:void 0;k=$.Ro(k,f.get("marker"));l=$.Ro(l,f.get("hoverMarker"));m=$.Ro(m,f.get("selectMarker"));f=k&&$.n(k.position)?k.position:a.Sa().Eb().i("position");k=a.mb().Eb().i("position");l=l&&$.n(l.position)?l.position:$.n(k)?k:f;k=a.selected().Eb().i("position");m=m&&$.n(m.position)?m.position:$.n(k)?k:f;c=a.Ai(c?l:h?m:f);a=b.ic("rotation");if(!$.n(a)||null===a||(0,window.isNaN)(a))a=e.o("markerRotation");h=b.ic("anchor");$.n(h)&&null!==h||(h=
e.o("markerAnchor"));$.n(a)&&d.fu(-a,h);b=b.uc().value;e=c.value;c=d.Gd;d.translate((c?-c.Ad:0)+e.x-b.x,(c?-c.xd:0)+e.y-b.y);$.n(a)&&d.fu(a,h)},Uea=function(a){var b=a.aa(),c=b.la(),d=$.$w(a.state,c);var e=!!(d&$.qo);var f=!e&&!!(d&$.po);var h=a.Se.type;var k=b.o("shapes");if(k)if(a.hk()||22==h){h=b.o("x");var l=b.o("value");var m=aQ(a,b);if(!m)return;var p=m.x;m=m.y;var q=k.path||k.circle||k.negative;q=q.Gd;var r=(q?-q.Ad:0)+p-h;var t=(q?-q.xd:0)+m-l;$.Dc(k,function(a){a.translate(r,t)})}else if(21==
h){l=a.rA;h=a.Aa.gf.qg().clone();l&&$.wb(h,$.Ib(l));var u=h.ed;var v=h.Ad;var w=h.xd;$.Dc(k,function(a){a.jc(u,0,0,u,v,w)})}else 24==h&&(h=a.Aa.gf.qg(),(k=k.hatchFill)&&k.jc(h.ed,h.We,h.Me,h.Ee,h.Ad,h.xd));a.check(4194304)&&(q=b.get("normal"),q=$.n(q)?q.marker:void 0,m=b.get("hovered"),m=$.n(m)?m.marker:void 0,k=b.get("selected"),k=$.n(k)?k.marker:void 0,q=$.Ro(q,b.get("marker")),m=$.Ro(m,b.get("hoverMarker")),k=$.Ro(k,b.get("selectMarker")),h=a.Sa().Eb(),l=a.mb().Eb(),p=a.selected().Eb(),b=h.Vq(c),
q=q&&$.n(q.enabled)?q.enabled:null,m=m&&$.n(m.enabled)?m.enabled:null,k=k&&$.n(k.enabled)?k.enabled:null,(e=f||e?f?null===m?l&&null===l.enabled()?null===q?h.enabled():q:l.enabled():m:null===k?p&&null===p.enabled()?null===q?h.enabled():q:p.enabled():k:null===q?h.enabled():q)&&b&&b.Kd()&&b.uc()&&Tea(a,b,d));(e=(c=a.Sa().labels().Vd(c))&&c.Kd()&&c.uc()&&c.ic("enabled"))&&Sea(a,c,d)},cQ=function(a){var b=a.aa();var c=(c=b.o("features"))&&c.length?c[0]:null;if(!c||!$P(a))return{x:0,y:0};var d=(c=c.properties)&&
c.middleXYMode;var e=b.get("middleXYMode");d=$.n(e)?e:d?d:"relative";"relative"==d?a=bQ(a):"absolute"==d?(d=b.get("middle-x"),e=b.get("middle-y"),b=$.n(d)?d:c?c["middle-x"]:0,c=$.n(e)?e:c?c["middle-y"]:0,b=$.N(b),c=$.N(c),a=a.Aa.scale().transform(b,c),a={x:a[0],y:a[1]}):a={x:0,y:0};return a},aQ=function(a,b){var c=a.Aa.scale(),d=!1,e=a.ue(),f=b.get(e[0]),h=b.get(e[1]);e=b.get(e[2]);var k=$.wo(h)&&h==f;h=(0,window.parseFloat)(h);e=(0,window.parseFloat)(e);c=c.transform(h,e);(0,window.isNaN)(h)||(h=
c[0]);(0,window.isNaN)(e)||k||(e=c[1]);if((0,window.isNaN)(h)||(0,window.isNaN)(e))if((c=b.o("features"))&&c.length&&c[0].properties){if(b.o("regionId",f),f=bQ(a),(0,window.isNaN)(h)&&(h=f.x),(0,window.isNaN)(e)||k)e=f.y}else d=!0;b.o("missing",d);return d?null:{x:h,y:e}},bQ=function(a){var b=a.aa(),c=(a=(a=b.o("features"))&&a.length?a[0]:null)?a.properties:null,d=b.get("middle-x"),e=b.get("middle-y");b=$.n(d)?d:c&&$.n(c["middle-x"])?c["middle-x"]:.5;c=$.n(e)?e:c&&$.n(c["middle-y"])?c["middle-y"]:
.5;(a=a?a.fa:null)?(a=a.Qq(),a={x:a.left+a.width*b,y:a.top+a.height*c}):a=null;return a},Vea=function(a){this.map=a;this.status=0;this.timeout=null;this.Wx=(0,$.pa)(function(a){this.status=a;this.map.dispatchEvent("animationend");this.timeout=null},this)},eQ=function(a,b){if(a.status^b)if(a.timeout&&b)(0,window.clearTimeout)(a.timeout),a.timeout=null;else if(b){a.status=b;var c=dQ(a.map);a.map!=c&&a.map.ib(c);a.map.dispatchEvent("animationstart")}else a.timeout&&(0,window.clearTimeout)(a.timeout),
a.timeout=(0,window.setTimeout)(a.Wx,Wea,b);else a.status&&b&&a.timeout&&((0,window.clearTimeout)(a.timeout),a.timeout=null)},fQ=function(a,b,c,d,e,f){this.map=a;this.g=!!e;$.iz.call(this,b,c,d,f)},gQ=function(a,b,c,d,e,f,h){fQ.call(this,a,[],[],e,f,h);this.Yr=b;this.EI=c;this.Td=d;this.G=h},iQ=function(a,b){$.E(a.G)&&(b=a.G(b));var c=(0,$.pa)(a.QQ,{t:b,Td:a.Td,EI:a.EI,FS:a.map.scale()});a.Td.Eo.ratio(b);$.V(a.map.scale());a.map.scale().tg(!1);hQ(a.map,a.Yr,c,!1,!0);a.map.scale().Cg();a.map.scale().da(!0)},
jQ=function(a,b,c,d,e,f){fQ.call(this,a,b,c,d,e,f);this.G=!1},nQ=function(a,b){if(a.map.Yr()){var c=a.map.gf,d=c.Lj().round(),e=c.pb().round(),f=a.map.Cc,h=a.map.yc,k=a.map.dP/a.map.rB;a.map.ur||(1>k&&!$.rb(e,d)&&(h=kQ(a.map,d,e),f=h[1],h=h[2]),f<e.left?f=e.left:f>e.$a()&&(f=e.$a()),h<e.top?h=e.top:h>e.Ua()&&(h=e.Ua()));e=b/a.map.Fg();c.scale(e,e,f,h);a.map.Sp=b;c=c.Gd;a.map.scale().zoom=c.ed;lQ(a.map.scale(),c.Ad,c.xd);mQ(a.map)}},oQ=function(a,b,c){var d=a.map.gf.Gd;a.map.gf.jc(d.ed,0,0,d.Ee,b,
c);a.map.scale().zoom=d.ed;lQ(a.map.scale(),d.Ad,d.xd);mQ(a.map)},pQ=function(){$.Y.call(this);delete this.ma.enabled;this.Rb=this.Y=null;this.path=$.nk();this.path.Lp(!0);$.du(this,this.path);$.T(this.ua,[["stroke",0,1],["length",0,9],["position",0,9]])},qQ=function(a){switch(a.orientation()){case "top":a.b=a.na.fq();break;case "right":a.b=a.na.eq();break;case "bottom":a.b=a.na.iq();break;case "left":a.b=a.na.hq()}return a.b},rQ=function(a,b,c,d,e){switch(b){case "inside":b=$.$a(c,2*Math.PI)+1.5*
Math.PI;"top"==a.orientation()||"left"==a.orientation()?d[0]<e[0]&&(d[1]<=e[1]||d[1]>=e[1])&&(b=c+.5*Math.PI):d[0]>e[0]&&(d[1]<=e[1]||d[1]>=e[1])&&(b=c+.5*Math.PI);break;case "center":b=rQ(a,"outside",c,d,e);d[0]+=Math.cos(b)*a.length()/2;d[1]+=Math.sin(b)*a.length()/2;b+=Math.PI;break;default:b=$.$a(c-Math.PI/2,2*Math.PI),"top"==a.orientation()||"left"==a.orientation()?d[0]>e[0]&&(d[1]<=e[1]||d[1]>=e[1])&&(b=c-1.5*Math.PI):d[0]<=e[0]&&(d[1]<=e[1]||d[1]>=e[1])&&(b=c-1.5*Math.PI)}return b},sQ=function(a,
b){a.na.ob();b=(0,window.parseFloat)(b);var c=qQ(a);var d=a.i("position"),e=a.i("length");if(a.Hb()){var f=a.na.transform(b,c,null);c=a.na.transform(b+1,c,null)}else f=a.na.transform(c,b,null),c=a.na.transform(c,b+1,null);var h=Math.atan(-(f[1]-c[1])/(c[0]-f[0]));(0,window.isNaN)(h)&&(h=0);d=rQ(a,d,h,f,c);return[f[0],f[1],f[0]+Math.cos(d)*e,f[1]+Math.sin(d)*e,d]},tQ=function(a,b){var c=sQ(a,b);return new $.J(Math.min(c[0],c[2]),Math.min(c[1],c[3]),Math.abs(c[0]-c[2]),Math.abs(c[1]-c[3]))},uQ=function(){$.Y.call(this);
this.Qh=[];this.lk=[];this.Rb=this.Y=null;this.xe=980;$.T(this.ua,[["stroke",16,1],["overlapMode",980,9],["drawFirstLabel",980,9],["drawLastLabel",980,9]])},vQ=function(a,b){var c=(b?a.labels():a.kb()).i("position");if("center"==c)var d="center";else switch(a.ih){case "top":d="center-bottom";break;case "right":d="left-center";break;case "bottom":d="center-top";break;case "left":d="inside"==c?"left-center":"right-center"}return d},wQ=function(a,b){if(!a.nq||a.J(4)){var c=a.ja(),d=a.scale();$.n(b)&&
d.uf(b);d.ob();if(a.Hb()){var e=a.scale().Uw();var f=a.scale().Ty()}else e=a.scale().Vw(),f=a.scale().Uy();e=e.get();var h=f.get();f=a.title();var k=a.labels();var l=a.parent().labels(),m=k.dd("enabled");var p=void 0==m?l.enabled():m;l=a.kb();m=a.parent().kb();var q=l.dd("enabled");m=void 0==q?m.enabled():q;var r=a.Qa();r.na=d;q=a.tb();q.na=d;d=r.i("position");var t=$.Ao(d);d=q.i("position");d=$.Ao(d);var u;a.Qd();if(p)for($.Mu(k),k=0,p=e.length;k<p;k++)r=$.jn(a.hd(k,!0,e)),u?$.qb(u,r):u=r;else if(r.enabled()&&
0<=t)for(k=0,p=e.length;k<p;k++)t=tQ(r,(0,window.parseFloat)(e[k])),u?$.qb(u,t):u=t;if(m)for($.Mu(l),k=0,p=h.length;k<p;k++)r=$.jn(a.hd(k,!1,h)),u?$.qb(u,r):u=r;else if(q.enabled()&&0<=d)for(k=0,p=h.length;k<p;k++)t=tQ(q,h[k]),u?$.qb(u,t):u=t;if(f.enabled()){f.P()||f.P(a.P());$.V(f);$.Qv(f,a.ih);f.ja(c);c=f.gi();switch(a.ih){case "top":u.top-=c.height;u.height+=c.height;break;case "right":u.width+=c.width;break;case "bottom":u.height+=c.height;break;case "left":u.left-=c.width,u.width+=c.width}f.da(!1)}u||
(u=new $.J(0,0,0,0));a.nq=u;a.I(4)}return a.nq.clone()},xQ=function(a){return a.line?a.line:a.line=$.nk().td(!0).Lp(!0)},yQ=function(a){$.Yq.call(this);this.D=a;this.G=[];this.Rb=this.Y=null;this.I(4294967295);$.T(this.ua,[["stroke",0,1],["overlapMode",0,9],["drawFirstLabel",0,9],["drawLastLabel",0,9],["enabled",0,32768]])},zQ=function(){function a(a){a.enabled(null)}$.Y.call(this);this.Fa("defaultCallout");this.f=this.b=null;$.eu(this,this);var b={};$.T(b,[["labels",0,0]]);this.ca=new $.Yx(this,
b,$.Zl);this.ca.pa("labelsFactoryConstructor",$.$x);this.ca.pa("labelsAfterInitCallback",$.dy);this.xa=new $.Yx(this,b,$.po);this.xa.pa("labelsFactoryConstructor",$.$x);this.xa.pa("labelsAfterInitCallback",a);this.Ca=new $.Yx(this,b,$.qo);this.Ca.pa("labelsFactoryConstructor",$.$x);this.Ca.pa("labelsAfterInitCallback",a);this.xe=448;$.T(this.ua,[["orientation",this.xe,9],["align",this.xe,9],["length",this.xe,9],["width",this.xe,9]])},AQ=function(a,b,c,d){var e=b.la(),f=b.Ue(),h=f.vc();h.select(e);
d=$.n(d)?d:$.$w(f.state,e);b.state=d;var k=f.aa(),l=!!(d&$.qo),m=!l&&!!(d&$.po),p=f.Sa().labels();b=(b=k.get("normal"))?b.label:void 0;b=$.Ro(b,k.get("label"));l?(l=(l=k.get("selected"))?l.label:void 0,l=$.Ro(l,k.get("selectLabel")),k=f.selected().labels()):m?(l=(l=k.get("hovered"))?l.label:void 0,l=$.Ro(l,k.get("hoverLabel")),k=f.mb().labels()):k=l=null;m=f.Ec(!0);m.b=f.Rd(e);c.lf(m);$.Nu(c,p);$.Ou(c,k);c.kd(b,l);$.Mu(p);b=!!(d&$.qo);d=!b&&!!(d&$.po);e=a.Sa().labels();d=b?a.selected().labels():d?
a.mb().labels():e;b=$.lN(e);b.enabled=e.enabled();e=$.lN(d);e.enabled=null===d.enabled()?b.enabled:d.enabled();c.kd(b,c.state("pointState")?$.Sc(c.state("pointState"),e):e);e=a.Ai(c.la());e.connectorPoint={value:cQ(f)};c.uc(e);a.Hb()?(c.width(a.b),c.height(a.f)):(c.width(a.f),c.height(a.b));switch(a.i("orientation")){case "top":c.anchor("center-bottom");break;case "right":c.anchor("left-center");break;case "bottom":c.anchor("center-top");break;case "left":c.anchor("right-center")}h.o("shapes")&&(a=
h.o("fill"),h=h.o("stroke"),c.background().enabled(!0).fill(a).stroke(h));return c},Xea=function(a){var b=a.Sa().labels();b.P()||b.P(a.P());b.ja(a.ja());b.clear();for(var c=0,d=a.g.length;c<d;c++){var e=a.g[c],f=b.add(null,null);AQ(a,e,f);if(f.ic("enabled")){f=f.uc();e=f.value.x;f=f.value.y;switch(a.i("orientation")){case "top":e-=a.b/2;f-=a.f;var h=a.b;var k=a.f;break;case "right":f-=a.b/2;h=a.f;k=a.b;break;case "bottom":e-=a.f/2;h=a.b;k=a.f;break;case "left":e-=a.f,f-=a.b/2,h=a.f,k=a.b}if(a.j){var l=
$.KB(a.j);l.moveTo(e,f).lineTo(e+h,f).lineTo(e+h,f+k).lineTo(e,f+k).close();l.Xea=c;l.stroke(null).fill($.Ul)}}}},BQ=function(){$.$z.call(this)},CQ=function(){$.Wy.call(this);this.na=this.g=null;$.T(this.ua,[["minorStroke",16]])},DQ=function(a){$.Yq.call(this);this.Fa("defaultGridSettings");this.Y=null;this.g=a;this.j=[];this.Ea=this.Rb=null;this.I(4294967295);$.T(this.ua,[["stroke",0,1],["minorStroke",0,1],["fill",0,1],["drawFirstLine",0,9],["drawLastLine",0,9],["enabled",0,32768],["zIndex",0,65536]])},
EQ=function(a,b){$.K(b,$.ys)||$.D(b)&&"range"==b.type?a.Ic($.ys):($.K(b,$.vs)||$.D(b)||null==a.Ea)&&a.Ic($.vs)},FQ=function(a,b,c){this.b=c||0;this.f=a;this.QR=b},GQ=function(a){$.Yq.call(this);this.na=a},HQ=function(){$.Yq.call(this);this.Fa("map.geoScale");this.Jk=window.NaN;this.Ja=Number.MAX_VALUE;this.ya=-Number.MAX_VALUE;this.Ra=Number.MAX_VALUE;this.Ga=-Number.MAX_VALUE;this.Eh=Number.MAX_VALUE;this.Pg=-Number.MAX_VALUE;this.Tf=Number.MAX_VALUE;this.Ge=-Number.MAX_VALUE;this.ab=this.eb=this.nb=
this.Ob=!0;this.O=0;this.ga=this.U=this.ka=this.ba=this.Nm=this.gq=this.cq=this.Om=window.NaN;this.xc=this.hc=1;this.Gc=!1;this.Jr=0;this.sw=this.ip=!1;this.xb=null},Yea=function(a,b){a.Td=b;a.Gc=!1},IQ=function(a,b,c,d,e){a.ka=b;a.ba=c;a.ga=d;a.U=e},lQ=function(a,b,c){a.Gk=b;a.Ml=c},JQ=function(a){a.b||a.ob();return a.b},KQ=function(a,b){a.ip=!1;a.sw=b},LQ=function(a){return $.n(a.hj)?a.hj:a.ip},MQ=function(a){return $.n(a.dh)?a.dh:a.sw},OQ=function(a,b,c){var d=Number.MAX_VALUE,e=Number.MAX_VALUE,
f=-Number.MAX_VALUE,h=-Number.MAX_VALUE;var k=a.precision();var l=k[0];var m=k[1];if(c){c=a.f;l=a.j;if(a.Td&&RP(a.Td["default"].zg))c=NQ(a,b,c),c[0]<d&&(d=c[0]),c[0]>f&&(f=c[0]),c[1]<e&&(e=c[1]),c[1]>h&&(h=c[1]);else for(k=c;k<l;)c=NQ(a,b,k),c[0]<d&&(d=c[0]),c[0]>f&&(f=c[0]),c[1]<e&&(e=c[1]),c[1]>h&&(h=c[1]),k+=m;c=NQ(a,b,l)}else{m=a.g;var p=a.D;if(a.Td&&RP(a.Td["default"].zg))c=NQ(a,m,b),c[0]<d&&(d=c[0]),c[0]>f&&(f=c[0]),c[1]<e&&(e=c[1]),c[1]>h&&(h=c[1]);else if(m>p){for(k=m;180>k;)c=NQ(a,k,b),c[0]<
d&&(d=c[0]),c[0]>f&&(f=c[0]),c[1]<e&&(e=c[1]),c[1]>h&&(h=c[1]),k+=l;for(k=-180;k<m;)c=NQ(a,k,b),c[0]<d&&(d=c[0]),c[0]>f&&(f=c[0]),c[1]<e&&(e=c[1]),c[1]>h&&(h=c[1]),k+=l}else for(k=m;k<p;)c=NQ(a,k,b),c[0]<d&&(d=c[0]),c[0]>f&&(f=c[0]),c[1]<e&&(e=c[1]),c[1]>h&&(h=c[1]),k+=l;c=NQ(a,p,b)}c[0]<d&&(d=c[0]);c[0]>f&&(f=c[0]);c[1]<e&&(e=c[1]);c[1]>h&&(h=c[1]);return{Om:d,gq:e,cq:f,Nm:h}},PQ=function(a,b,c){a.ob();if(!a.xb)return[window.NaN,window.NaN];b=$.N(b);c=$.N(c);b=(b-a.Om)*a.ratio;c=(-c+a.Nm)*a.ratio;
return[LQ(a)?a.xb.$a()-a.G-b:a.xb.left+a.G+b,MQ(a)?a.xb.Ua()-a.N-c:a.xb.top+a.N+c]},QQ=function(a,b,c){a.ob();if(!a.xb)return[window.NaN,window.NaN];b=$.N(b);c=$.N(c);return[+(LQ(a)?a.xb.$a()-a.G-b:b-a.xb.left-a.G)/a.ratio+a.Om,-(MQ(a)?a.xb.Ua()-a.N-c:c-a.xb.top-a.N)/a.ratio+a.Nm]},RQ=function(a,b,c,d){a=a.Td["default"];b=(d.Eo||a.Eo).forward(b,c);b[0]*=d.scale||a.scale;b[1]*=d.scale||a.scale;b[0]+=d.$h||0;b[1]+=d.Ti||0;return[b[0],b[1]]},SQ=function(a,b,c){var d,e=!1;var f=0;for(d=c.length-1;f<c.length;d=
f++){var h=c[f][1]>b;var k=c[d][1]>b;h!==k&&a<(c[d][0]-c[f][0])*(b-c[f][1])/(c[d][1]-c[f][1])+c[f][0]&&(e=!e)}return e},TQ=function(a,b,c){if(!a.Td)return null;var d=window.NaN,e=window.NaN,f=$.Ic(a.Td,function(a,f){if("default"!=f&&a.It){var h=RQ(this,b,c,a),k=h[0];h=h[1];var p=a.It;if(p=$.A(p)?SQ(k,h,p):k>=p.left&&k<=p.left+p.width&&h<=p.top&&h>=p.top-p.height)d=k,e=h;return p}return!1},a)||"default";return[a.Td[f],d,e]},UQ=function(a,b,c,d){if(!a.Td)return[];a.ob();if($.n(d))d=null!==d&&d in a.Td?
a.Td[d]:a.Td["default"];else{var e=TQ(a,b,c);d=e[0];var f=e[1];e=e[2]}(0,window.isNaN)(f)&&(b=RQ(a,b,c,d),f=b[0],e=b[1]);if(!a.xb||(0,window.isNaN)(f)||(0,window.isNaN)(e))return[window.NaN,window.NaN];f=(+f-a.Om)*a.ratio;b=(-e+a.Nm)*a.ratio;return[LQ(a)?a.xb.$a()-a.G-f:a.xb.left+a.G+f,MQ(a)?a.xb.Ua()-a.N-b:a.xb.top+a.N+b]},VQ=function(a,b,c,d){if(!a.Td)return[];var e=a.Td["default"],f;$.n(d)?f=d in a.Td?d:"default":f=$.Ic(a.Td,function(a,d){if("default"!=d&&a.It){var e=a.It;return $.A(e)?SQ(b,c,
e):b>=e.left&&b<=e.left+e.width&&c<=e.top&&c>=e.top-e.height}return!1},a)||"default";a=a.Td[f];d=a.Eo||e.Eo;b-=a.$h||e.$h||0;c-=a.Ti||e.Ti||0;f=a.scale||e.scale;return a.zg||e.zg?d.gj(b/f,c/f):[b/f,c/f]},NQ=function(a,b,c){if((0,window.isNaN)(b)||(0,window.isNaN)(c))return[window.NaN,window.NaN];var d=window.NaN,e=window.NaN;if($.n(null))var f=a.Td["default"];else e=TQ(a,b,c),f=e[0],d=e[1],e=e[2];(0,window.isNaN)(d)?(a=a.Td["default"],b=(f.Eo||a.Eo).forward(b,c),b[0]*=f.scale||a.scale,b[1]*=f.scale||
a.scale,-620.8680523857!=f.$h&&(b[0]+=f.$h||0,b[1]+=f.Ti||0),f=[b[0],b[1]]):f=[d,e];return f},XQ=function(a,b){this.f=b||$.Ma;this.b=a;for(var c=Math.floor(a.length/2);c--;)WQ(this,c)},WQ=function(a,b){var c=2*b+1,d=2*b+2,e=b;c<=a.b.length&&0<a.f(a.b[c],a.b[e])&&(e=c);d<=a.b.length&&0<a.f(a.b[d],a.b[e])&&(e=d);e!=b&&(YQ(a,b,e),WQ(a,e))},YQ=function(a,b,c){var d=a.b[b];a.b[b]=a.b[c];a.b[c]=d},ZQ=function(){},$Q=function(a,b,c){var d;if(c&&!c["middle-x"]&&!c["middle-y"]){var e=vP(c,function(a,b){return/middle-x/.test(b)});
var f=vP(c,function(a,b){return/middle-y/.test(b)})||.5;c["middle-x"]=e||.5;c["middle-y"]=f}switch(b.type){case "Point":return{coordinates:[b.coordinates[0],b.coordinates[1]],properties:c};case "MultiPoint":var h=[];a=b.coordinates;b=0;for(e=a.length;b<e;b++)h.push(a[0],a[1]);return{coordinates:h,properties:c};case "LineString":h=[];a=b.coordinates;b=0;for(e=a.length;b<e;b++)f=a[b],h.push(f[0],f[1]);return{paths:[h],properties:c};case "MultiLineString":var k=[];var l=b.coordinates;b=0;for(e=l.length;b<
e;b++){h=[];a=l[b];var m=0;for(d=a.length;m<d;m++)f=a[m],h.push(f[0],f[1]);k.push(h)}return{paths:k,properties:c};case "Polygon":l=[];var p=[];var q=b.coordinates;b=0;for(e=q.length;b<e;b++){0!=b&&(h=[]);a=q[b];m=0;for(d=a.length;m<d;m++)f=a[m],b?h.push(f[0],f[1]):l.push(f[0],f[1]);h&&p.push(h)}return{polygones:[{outerPath:l,holes:p}],properties:c};case "MultiPolygon":k=[];var r=b.coordinates;b=0;for(e=r.length;b<e;b++){l=[];p=[];q=r[b];m=0;for(d=q.length;m<d;m++){0!=m&&(h=[]);a=q[m];for(var t=0,
u=a.length;t<u;t++)f=a[t],m?h.push(f[0],f[1]):l.push(f[0],f[1]);h&&p.push(h)}q={outerPath:l,holes:p};k.push(q)}return{polygones:k,properties:c};case "GeometryCollection":if(b.geometries){h=[];m=b.geometries;b=0;for(e=m.length;b<e;b++)if(f=$Q(a,m[b],m[b].properties),$.n(f))h.push(f);else break;return{geometries:h,properties:c||null}}$.cl(10,"GeometryCollection object missing 'geometries' member.");break;default:$.cl(10,"Geometry object must be one of 'Point', 'LineString', 'Polygon' or 'MultiPolygon'.")}return null},
Zea=function(a,b,c){var d={type:"FeatureCollection",crs:b.crs||{type:"name",properties:{name:c["default"]["src-code"]}},features:[],"ac-tx":{}};$.Dc(c,function(a,b){var c={};$.n(a.zg)&&(c.crs=a.zg);$.n(a.scale)&&(c.scale=a.scale);$.n(a.$h)&&(c.xoffset=a.$h);$.n(a.Ti)&&(c.yoffset=a.Ti);$.n(a.It)&&(c.heatZone=a.It.F());d["ac-tx"][b]=c});a=d.features;for(c=0;c<b.length;c++){for(var e=b[c],f={type:"Feature",properties:e.properties,geometry:{type:"MultiPolygon",coordinates:[]}},h=0;h<e.polygones.length;h++){for(var k=
[],l=e.polygones[h],m=0;m<l.outerPath.length-1;m+=2)k.push([l.outerPath[m],l.outerPath[m+1]]);f.geometry.coordinates.push([k])}a.push(f)}return d},$ea=function(a){this.f=a;this.b=0;this.g=this.f.length;this.j=null;aR(this)},bR=function(a){a=a.f[a.b];return" ">=a&&(" "===a||"\n"===a||"\t"===a||"\r"===a||"\f"===a)},aR=function(a){for(;a.b<a.g&&bR(a);)a.b+=1;return a.b<a.g},cR=function(a){a.b<a.g&&!bR(a)&&","!==a.f[a.b]||!(aR(a)&&a.b<a.g)||","!==a.f[a.b]||(a.b+=1,aR(a))},dR=function(a){var b=0,c=0,d=
[],e=1,f=1,h=a.b;aR(a);a.b<a.g&&"+"===a.f[a.b]?a.b+=1:a.b<a.g&&"-"===a.f[a.b]&&(a.b+=1,e=-1);if(a.b===a.g||("0">a.f[a.b]||"9"<a.f[a.b])&&"."!==a.f[a.b])return null;for(var k=a.b;a.b<a.g&&"0"<=a.f[a.b]&&"9">=a.f[a.b];)a.b+=1;if(a.b!==k)for(var l=a.b-1,m=1;l>=k;)c+=m*(a.f[l]-0),--l,m*=10;if(a.b<a.g&&"."===a.f[a.b]){a.b+=1;if(a.b>=a.g||"0">a.f[a.b]||"9"<a.f[a.b])return null;for(;a.b<a.g&&"0"<=a.f[a.b]&&"9">=a.f[a.b];)d.push(a.f[a.b]-0),a.b+=1}if(a.b!==h&&a.b+1<a.g&&("e"===a.f[a.b]||"E"===a.f[a.b])&&
"x"!==a.f[a.b+1]&&"m"!==a.f[a.b+1]){a.b+=1;"+"===a.f[a.b]?a.b+=1:"-"===a.f[a.b]&&(a.b+=1,f=-1);if(a.b>=a.g||"0">a.f[a.b]||"9"<a.f[a.b])return null;for(;a.b<a.g&&"0"<=a.f[a.b]&&"9">=a.f[a.b];)b*=10,b+=a.f[a.b]-0,a.b+=1}c+=(0,window.parseFloat)("0."+d.join(""));c*=e;b&&(c*=Math.pow(10,f*b));if(h===a.b)return null;cR(a);return c},eR=function(a){if(a.b>=a.g)return null;var b=a.f[a.b];a.b+=1;if("0"===b)b=0;else if("1"===b)b=1;else return null;cR(a);return b},fR=function(){},kR=function(a,b,c,d){var e,
f=$.Ze(b),h=[];var k=0;for(e=f.length;k<e;k++){var l=f[k];if($.bf(l)){var m=l.tagName.toLowerCase();var p=!c||"g"==m||"svg"==m&&c?{}:null;b=gR(a,l,p,d);if(p){if("g"==m||"svg"==m){var q=hR(l,d),r=iR(a,l,"group");l=jR(l);"g"==m?(m=r.id,$.n(m)?l.id=m:$.n(l.id)&&(m=l.id),p.tx=q,p.properties=l,p.attrs=r,p.id=m):(p.properties={},p.attrs={});p.type="group";p.features=b}else p=b;p&&h.push(p)}else c?b&&($.A(b)?h.push.apply(h,b):h.push(b)):("g"==m||"svg"==m)&&b&&h.push.apply(h,b)}}return h},gR=function(a,b,
c,d){var e=b.getAttribute("id");if(e&&a.b[e])var f=$.Kl(a.b[e]);else{var h=lR(a,b);switch(b.tagName.toLowerCase()){case "rect":var k=+b.getAttribute("x");var l=+b.getAttribute("y");var m=+b.getAttribute("width");var p=+b.getAttribute("height");f=mR(a,b,[{type:"M",values:[k,l]},{type:"L",values:[k+m,l]},{type:"L",values:[k+m,l+p]},{type:"L",values:[k,l+p]},{type:"Z"}],d);break;case "circle":var q=+b.getAttribute("cx");var r=+b.getAttribute("cy");var t=+b.getAttribute("r");var u=q-t,v=nR(a,[{type:"M",
values:[u,r]},{type:"A",values:[t,t,0,1,0,u+2*t,r]},{type:"A",values:[t,t,0,1,0,u,r]},{type:"Z"}]);f=mR(a,b,v,d);break;case "ellipse":var w=+b.getAttribute("cx");var x=+b.getAttribute("cy");var y=+b.getAttribute("rx");var B=+b.getAttribute("ry");var G=w-y,C=nR(a,[{type:"M",values:[G,x]},{type:"A",values:[y,B,0,1,0,G+2*y,x]},{type:"A",values:[y,B,0,1,0,G,x]},{type:"Z"}]);f=mR(a,b,C,d);break;case "polygon":for(var I=b.getAttribute("points").trim().split(/\s+|,/),P=[],Q=0,S=I.length-1;Q<S;Q+=2)Q?P.push({type:"L",
values:[+I[Q],+I[Q+1]]}):P.push({type:"M",values:[+I[Q],+I[Q+1]]});P.push({type:"Z"});f=mR(a,b,P,d);break;case "polyline":for(var sa=b.getAttribute("points").trim().split(/\s+|,/),va=[],Oa=0,vb=sa.length-1;Oa<vb;Oa+=2)Oa?va.push({type:"L",values:[+sa[Oa],+sa[Oa+1]]}):va.push({type:"M",values:[+sa[Oa],+sa[Oa+1]]});f=mR(a,b,va,d);break;case "path":var mc=b.getAttribute("d")||"";if(mc&&0!==mc.length){var kb=new $ea(mc),Qb=[];if(kb.b<kb.g){var Gb=kb.f[kb.b];var ic=oR[Gb]?oR[Gb]:null;var ie="M"===ic||
"m"===ic}else ie=!0;if(ie)for(;kb.b<kb.g;){b:{var Rb=kb,Fc=Rb.f[Rb.b],Wb=oR[Fc]?oR[Fc]:null;if(null===Wb){if(null===Rb.j){var Ie=null;break b}("+"===Fc||"-"===Fc||"."===Fc||"0"<=Fc&&"9">=Fc)&&"Z"!==Rb.j?"M"===Rb.j?Wb="L":"m"===Rb.j?Wb="l":Wb=Rb.j:Wb=null;if(null===Wb){Ie=null;break b}}else Rb.b+=1;Rb.j=Wb;var dd=null,Lc=Wb.toUpperCase();"H"===Lc||"V"===Lc?dd=[dR(Rb)]:"M"===Lc||"L"===Lc||"T"===Lc?dd=[dR(Rb),dR(Rb)]:"S"===Lc||"Q"===Lc?dd=[dR(Rb),dR(Rb),dR(Rb),dR(Rb)]:"C"===Lc?dd=[dR(Rb),dR(Rb),dR(Rb),
dR(Rb),dR(Rb),dR(Rb)]:"A"===Lc?dd=[dR(Rb),dR(Rb),dR(Rb),eR(Rb),eR(Rb),dR(Rb),dR(Rb)]:"Z"===Lc&&(aR(Rb),dd=[]);Ie=null===dd||0<=dd.indexOf(null)?null:{type:Wb,values:dd}}if(null===Ie)break;else Qb.push(Ie)}var hb=Qb}else hb=[];var zc=nR(a,afa(hb));f=mR(a,b,zc,d);break;case "line":var Je=+b.getAttribute("x1"),nh=+b.getAttribute("x2"),je=+b.getAttribute("y1"),oh=+b.getAttribute("y2");f=mR(a,b,[{type:"M",values:[Je,je]},{type:"L",values:[nh,oh]}],d);break;case "text":var ve=hR(b,d),Yd=jR(b),we=iR(a,b,
"element");Yd.id=we.id;var af=b.cloneNode(!0);ve.sv&&af.setAttribute("transform",ve.sv.toString());af.removeAttribute("data-ac-wrapper-id");var rd=we.id;$.n(rd)?Yd.id=rd:$.n(Yd.id)&&(rd=Yd.id);f={type:"text",text:b,cloneNode:af,tx:ve,id:rd,properties:Yd,attrs:we};break;case "image":var ph=hR(b,d),ld=jR(b),Gg=iR(a,b,"element"),Kg=+b.getAttribute("x"),cm=+b.getAttribute("y"),xe=+b.getAttribute("width"),ke=+b.getAttribute("height");ld.id=Gg.id;var sf=b.cloneNode(!0);ph.sv&&sf.setAttribute("transform",
ph.sv.toString());sf.removeAttribute("data-ac-wrapper-id");var If=Gg.id;$.n(If)?ld.id=If:$.n(ld.id)&&(If=ld.id);f={type:"image",sourceNode:b,cloneNode:sf,bounds:$.gn(Kg,cm,xe,ke),tx:ph,id:If,properties:ld,attrs:Gg};break;case "use":f=lR(a,b);break;case "clippath":for(var zj=hR(b,d),dm=kR(a,b,!0,zj.sv),Mc=[],Ui=0,vi=dm.length;Ui<vi;Ui++)Mc.push.apply(Mc,dm[Ui].commands);f={clippath:mR(a,b,Mc,d)};break;case "lineargradient":var $g={};if(h){var wi=h.gradientUnits;var ye=h.transform;var Jf=+h.x1;var Aj=
+h.y1;var Bj=+h.x2;var Vi=+h.y2;var ze=(0,window.parseFloat)(h.opacity)}var em=b.getAttribute("gradientUnits")||wi,Cj=hR(b).self||ye,Wi=+b.getAttribute("x1"),Gd=+b.getAttribute("y1"),Xh=+b.getAttribute("x2"),Xi=+b.getAttribute("y2"),ah=(0,window.parseFloat)(b.getAttribute("opacity")),Yh=$.n(Wi)?Wi:$.n(Jf)?Jf:0,rh=$.n(Gd)?Gd:$.n(Aj)?Aj:0,bh=$.n(Xh)?Xh:$.n(Bj)?Bj:0,Ke=$.n(Xi)?Xi:$.n(Vi)?Vi:0,uk=(0,window.isNaN)(ah)?$.n(ze)?ze:1:ah;Yh=$.Qm(Yh,7);rh=$.Qm(rh,7);bh=$.Qm(bh,7);Ke=$.Qm(Ke,7);var vg=bh-Yh,
Kf=Ke-rh;$g.mode=em&&"userspaceonuse"==em.toLowerCase()?$.gn(Math.min(Yh,bh),Math.min(rh,Ke),Math.abs(vg),Math.abs(Kf)):!1;var Cd=Math.round($.cb(Math.atan(Kf/vg)));0<vg&&0>Kf?Cd=Math.abs(Cd):0>=vg&&0>=Kf?Cd=180-Math.abs(Cd):0>=vg&&0<Kf?Cd=180+Math.abs(Cd):0<vg&&0<Kf&&(Cd=360-Math.abs(Cd));$g.opacity=uk;var Qd=$.Ze(b);$g.keys=Qd.length?pR(b):h?h.keys:[];$g.angle=Cd;$g.transform=Cj;f=$g;break;case "radialgradient":var md={};if(h){var wg=h.gradientUnits;var Zh=h.gradientTransform;var $h=+h.r;var Nb=
+h.cx;var Rd=+h.cy;var ai=+h.fx;var Lf=+h.fy;var Ae=(0,window.parseFloat)(h.opacity)}var Zd=b.getAttribute("gradientUnits")||wg,sh=hR(b).self||Zh,ch=+b.getAttribute("r"),xi=+b.getAttribute("cx"),bi=+b.getAttribute("cy"),dh=+b.getAttribute("fx"),Dj=+b.getAttribute("fy"),Yi=(0,window.parseFloat)(b.getAttribute("opacity")),fm=$.n(ch)?ch:$.n($h)?$h:0,Ej=$.n(xi)?xi:$.n(Nb)?Nb:0,rq=$.n(bi)?bi:$.n(Rd)?Rd:0,xu=$.n(dh)?dh:$.n(ai)?ai:0,gm=$.n(Dj)?Dj:$.n(Lf)?Lf:0,hm=(0,window.isNaN)(Yi)?$.n(Ae)?Ae:1:Yi;if(Zd&&
"userspaceonuse"==Zd.toLowerCase()){var vk=2*fm,im=$.gn(Ej-fm,rq-fm,vk,vk);md.cx=.5;md.cy=.5;md.fx=(xu-im.left)/vk;md.fy=(gm-im.top)/vk;md.mode=im}else md.cx=Ej,md.cy=rq,md.fx=xu,md.fy=gm;md.opacity=hm;md.transform=sh;var yu=$.Ze(b);md.keys=yu.length?pR(b):h?h.keys:[];f=md;break;case "pattern":var Zi={},sq=+b.getAttribute("x"),dB=+b.getAttribute("y"),th=+b.getAttribute("width"),gs=+b.getAttribute("height");Zi.type="pattern";Zi.bounds=$.gn(sq,dB,th,gs);Zi.properties=jR(b);Zi.attrs=iR(a,b,"group");
Zi.features=kR(a,b,Zi);Zi.properties.id=Zi.id=Zi.attrs.id;f=Zi;break;case "defs":case "desc":break;default:var hs=hR(b,d);f=kR(a,b,c,hs.sv)}f&&e&&(a.b[e]=f)}return f},lR=function(a,b){var c=b.getAttributeNS("http://www.w3.org/1999/xlink","href"),d=null;c&&(c=c.substring(1,c.length),d=$.Kl(a.b[c]),d||(c=a.g.getElementById(c))&&(d=gR(a,c)));return d},pR=function(a){if(!a)return null;if((a=$.Ze(a))&&a.length){var b=[];for(var c=0,d=a.length;c<d;c++){var e=a[c],f=$.xf(e,"stop-color"),h=(0,window.parseFloat)($.xf(e,
"stop-opacity"));f=f?f:e.getAttribute("stop-color");h=(0,window.isNaN)(h)?(0,window.parseFloat)(e.getAttribute("stop-opacity")):h;e=(0,window.parseFloat)(e.getAttribute("offset"));b.push({offset:e,color:f,opacity:(0,window.isNaN)(h)?1:h})}}return b},qR=function(a,b){for(var c=b?b.clear():$.nk(),d=0,e=a.length;d<e;d++){var f=a[d],h=f.values;switch(f.type){case "M":c.moveTo(+h[0],+h[1]);break;case "L":c.lineTo(+h[0],+h[1]);break;case "C":c.yk(+h[0],+h[1],+h[2],+h[3],+h[4],+h[5]);break;case "Z":c.close()}}return c},
hR=function(a,b){var c=a.tagName.toLowerCase();c="lineargradient"==c||"radialgradient"==c?a.getAttribute("gradientTransform"):a.getAttribute("transform");if(!c)return{self:null,sv:$.n(b)?b:null};c=$.Lb(c);var d=c.clone();b&&$.Hb(d,b);return{self:c,sv:d}},iR=function(a,b,c){var d={},e=b.attributes;d.fill={};d.stroke={};for(var f=0,h=e.length;f<h;f++){var k=e[f];k.name=k.name.toLowerCase();switch(k.name){case "clip-path":var l=k.value.replace(/^url\s*\("*#(.+)"*\)/g,"$1");(l=a.b[l])&&(d[k.name]=l.clippath);
break;case "opacity":$.n(d.fill.opacity)||(d.fill.opacity=k.value);$.n(d.stroke.opacity)||(d.stroke.opacity=k.value);break;case "fill":d.fill.color=k.value;break;case "fill-opacity":d.fill.opacity=k.value;break;case "stroke":d.stroke.color=k.value;break;case "stroke-opacity":d.stroke.opacity=k.value;break;case "stroke-linejoin":d.stroke.lineJoin=k.value;break;case "stroke-linecap":d.stroke.lineCap=k.value;break;case "stroke-width":d.stroke.thickness=k.value;break;case "stroke-dasharray":d.stroke.dash=
k.value;break;default:"style"!=k.name&&"d"!=k.name&&"transform"!=k.name&&"data-ac-wrapper-id"!=k.name&&(d[k.name]=k.value)}}"element"==c&&($.n(d.fill.color)||(b.style?(d.fill.color=$.xf(b,"fill"),$.uf(b,"fill","")):d.fill.color="black"),c=d.fill.color.trim(),$.fc(c,"url")&&(e=c.replace(/"/g,"").replace(/^url\s*\(#(.+)\)/g,"$1"),d.fill=a.b[e]),d.stroke.color||(b.style?(d.stroke.color=$.xf(b,"stroke"),$.uf(b,"stroke","")):d.stroke.color="none"),$.fc(d.stroke.color.trim(),"url")&&(c=c.replace(/"/g,"").replace(/^url\s*\(#(.+)\)/g,
"$1"),d.stroke=a.b[c]));(a=b.getAttribute("style"))&&(d.style=a);return d},jR=function(a){var b={};a=$.Ze(a);for(var c=0,d=a.length;c<d;c++){var e=a[c];if("desc"==e.tagName){a=$.Ze(e);c=0;for(d=a.length;c<d;c++)e=a[c],b[e.tagName]=e.textContent;break}}return b},mR=function(a,b,c,d){d=hR(b,d);if(d.sv){var e=$.fd(c);for(var f=0,h=e.length;f<h;f++){var k=e[f].values;k&&d.sv.transform(k,0,k,0,k.length/2)}}f=jR(b);a=iR(a,b,"element");b=a.id;$.n(b)?f.id=b:$.n(f.id)&&(b=f.id);return{type:"path",properties:f,
id:b,commands:c,commands_tx:e,attrs:a,tx:d}},rR=function(a,b,c,d,e,f,h,k,l,m,p){function q(a,b,c){return{x:a*Math.cos(c)-b*Math.sin(c),y:a*Math.sin(c)+b*Math.cos(c)}}var r=Math.PI*k/180,t=[];if(p){var u=p[0];l=p[1];var v=p[2];var w=p[3]}else{c=q(b,c,-r);b=c.x;c=c.y;e=q(d,e,-r);d=e.x;e=e.y;u=(b-d)/2;v=(c-e)/2;w=u*u/(f*f)+v*v/(h*h);1<w&&(w=Math.sqrt(w),f*=w,h*=w);w=f*f;var x=h*h;l=(l===m?-1:1)*Math.sqrt(Math.abs((w*x-w*v*v-x*u*u)/(w*v*v+x*u*u)));v=l*f*v/h+(b+d)/2;w=l*-h*u/f+(c+e)/2;u=Math.asin(((c-
w)/h).toFixed(9));l=Math.asin(((e-w)/h).toFixed(9));b<v&&(u=Math.PI-u);d<v&&(l=Math.PI-l);0>u&&(u=2*Math.PI+u);0>l&&(l=2*Math.PI+l);m&&u>l&&(u-=2*Math.PI);!m&&l>u&&(l-=2*Math.PI)}if(Math.abs(l-u)>120*Math.PI/180){x=l;var y=d,B=e;l=m&&l>u?u+120*Math.PI/180:u+120*Math.PI/180*-1;d=v+f*Math.cos(l);e=w+h*Math.sin(l);t=rR(a,d,e,y,B,f,h,k,0,m,[l,x,v,w])}a=Math.tan((l-u)/4);f=4/3*f*a;a*=4/3*h;h=[b,c];b=[b+f*Math.sin(u),c-a*Math.cos(u)];c=[d+f*Math.sin(l),e-a*Math.cos(l)];d=[d,e];b[0]=2*h[0]-b[0];b[1]=2*h[1]-
b[1];if(p)return[b,c,d].concat(t);t=[b,c,d].concat(t).join().split(",");var G=[],C=[];t.forEach(function(a,b){b%2?C.push(q(t[b-1],t[b],r).y):C.push(q(t[b],t[b+1],r).x);6===C.length&&(G.push(C),C=[])});return G},afa=function(a){var b=[],c=null,d=null,e=null,f=null;a.forEach(function(a){switch(a.type){case "M":var h=a.values[0],l=a.values[1];b.push({type:"M",values:[h,l]});e=h;f=l;c=h;d=l;break;case "m":h=c+a.values[0];l=d+a.values[1];b.push({type:"M",values:[h,l]});e=h;f=l;c=h;d=l;break;case "L":h=
a.values[0];l=a.values[1];b.push({type:"L",values:[h,l]});c=h;d=l;break;case "l":h=c+a.values[0];l=d+a.values[1];b.push({type:"L",values:[h,l]});c=h;d=l;break;case "C":var m=a.values[0],p=a.values[1],q=a.values[2],r=a.values[3];h=a.values[4];l=a.values[5];b.push({type:"C",values:[m,p,q,r,h,l]});c=h;d=l;break;case "c":m=c+a.values[0];p=d+a.values[1];q=c+a.values[2];r=d+a.values[3];h=c+a.values[4];l=d+a.values[5];b.push({type:"C",values:[m,p,q,r,h,l]});c=h;d=l;break;case "Q":m=a.values[0];p=a.values[1];
h=a.values[2];l=a.values[3];b.push({type:"Q",values:[m,p,h,l]});c=h;d=l;break;case "q":m=c+a.values[0];p=d+a.values[1];h=c+a.values[2];l=d+a.values[3];b.push({type:"Q",values:[m,p,h,l]});c=h;d=l;break;case "A":h=a.values[5];l=a.values[6];b.push({type:"A",values:[a.values[0],a.values[1],a.values[2],a.values[3],a.values[4],h,l]});c=h;d=l;break;case "a":h=c+a.values[5];l=d+a.values[6];b.push({type:"A",values:[a.values[0],a.values[1],a.values[2],a.values[3],a.values[4],h,l]});c=h;d=l;break;case "H":h=
a.values[0];b.push({type:"H",values:[h]});c=h;break;case "h":h=c+a.values[0];b.push({type:"H",values:[h]});c=h;break;case "V":l=a.values[0];b.push({type:"V",values:[l]});d=l;break;case "v":l=d+a.values[0];b.push({type:"V",values:[l]});d=l;break;case "S":q=a.values[0];r=a.values[1];h=a.values[2];l=a.values[3];b.push({type:"S",values:[q,r,h,l]});c=h;d=l;break;case "s":q=c+a.values[0];r=d+a.values[1];h=c+a.values[2];l=d+a.values[3];b.push({type:"S",values:[q,r,h,l]});c=h;d=l;break;case "T":h=a.values[0];
l=a.values[1];b.push({type:"T",values:[h,l]});c=h;d=l;break;case "t":h=c+a.values[0];l=d+a.values[1];b.push({type:"T",values:[h,l]});c=h;d=l;break;case "Z":case "z":b.push({type:"Z",values:[]}),c=e,d=f}});return b},nR=function(a,b){var c=[],d=null,e=null,f=null,h=null,k=null,l=null,m=null;(0,$.Qe)(b,function(a){switch(a.type){case "M":var b=a.values[0],p=a.values[1];c.push({type:"M",values:[b,p]});l=b;m=p;h=b;k=p;break;case "C":var t=a.values[0],u=a.values[1],v=a.values[2],w=a.values[3];b=a.values[4];
p=a.values[5];c.push({type:"C",values:[t,u,v,w,b,p]});e=v;f=w;h=b;k=p;break;case "L":b=a.values[0];p=a.values[1];c.push({type:"L",values:[b,p]});h=b;k=p;break;case "H":b=a.values[0];c.push({type:"L",values:[b,k]});h=b;break;case "V":p=a.values[0];c.push({type:"L",values:[h,p]});k=p;break;case "S":v=a.values[0];w=a.values[1];b=a.values[2];p=a.values[3];if("C"===d||"S"===d){var x=h+(h-e);var y=k+(k-f)}else x=h,y=k;c.push({type:"C",values:[x,y,v,w,b,p]});e=v;f=w;h=b;k=p;break;case "T":b=a.values[0];
p=a.values[1];"Q"===d||"T"===d?(t=h+(h-e),u=k+(k-f)):(t=h,u=k);x=h+2*(t-h)/3;y=k+2*(u-k)/3;c.push({type:"C",values:[x,y,b+2*(t-b)/3,p+2*(u-p)/3,b,p]});e=t;f=u;h=b;k=p;break;case "Q":t=a.values[0];u=a.values[1];b=a.values[2];p=a.values[3];x=h+2*(t-h)/3;y=k+2*(u-k)/3;c.push({type:"C",values:[x,y,b+2*(t-b)/3,p+2*(u-p)/3,b,p]});e=t;f=u;h=b;k=p;break;case "A":t=a.values[0];u=a.values[1];v=a.values[2];w=a.values[3];x=a.values[4];b=a.values[5];p=a.values[6];0===t||0===u?(c.push({type:"C",values:[h,k,b,p,
b,p]}),h=b,k=p):h===b&&k===p||rR(this,h,k,b,p,t,u,v,w,x).forEach(function(a){c.push({type:"C",values:a});h=b;k=p});break;case "Z":c.push(a),h=l,k=m}d=a.type},a);return c},sR=function(){},bfa=function(a){if(!a)return $.ia;var b,c,d=a.scale[0],e=a.scale[1],f=a.translate[0],h=a.translate[1];return function(a,l){l||(b=c=0);b+=a[0];c+=a[1];a[0]=b*d+f;a[1]=c*e+h}},cfa=function(a,b,c){return"GeometryCollection"===c.type?{type:"FeatureCollection",features:(0,$.Wa)(c.geometries,function(a){return tR(b,a)},
a)}:tR(b,c)},tR=function(a,b){var c={type:"Feature",id:b.id,properties:b.properties||{},geometry:dfa(a,b)};null==b.id&&delete c.id;return c},dfa=function(a,b){function c(a){a=$.Ja(a,0);k(a,0);return a}function d(a){for(var b=[],c=0,d=a.length;c<d;++c){var e,f=a[c],h=b;h.length&&h.pop();for(var m=l[0>f?~f:f],p=0,B=m.length;p<B;++p)h.push(e=$.Ja(m[p],0)),k(e,p);0>f&&sR.vd().reverse(h,B)}2>b.length&&b.push($.Ja(b[0],0));return b}function e(a){for(a=d(a);4>a.length;)a.push($.Ja(a[0],0));return a}function f(a){return(0,$.Wa)(a,
e)}function h(a){var b=a.type;return"GeometryCollection"===b?{type:b,geometries:(0,$.Wa)(a.geometries,h)}:b in m?{type:b,coordinates:m[b](a)}:null}var k=bfa(a.transform),l=a.arcs,m={Point:function(a){return c(a.coordinates)},MultiPoint:function(a){return(0,$.Wa)(a.coordinates,c)},LineString:function(a){return d(a.arcs)},MultiLineString:function(a){return(0,$.Wa)(a.arcs,d)},Polygon:function(a){return f(a.arcs)},MultiPolygon:function(a){return(0,$.Wa)(a.arcs,f)}};return h(b)},uR=function(a){this.Y=
a;this.b=!0;this.g=this.f=null},wR=function(){$.xz.call(this);this.Fa("map");this.Dz=this.mt=null;this.cU=[];this.gl=null;this.$v=[];this.zL=this.mn=null;this.ir=0;this.hy=!0;this.pa("zoomFactor",1.3);this.pl=window.NaN;this.p2=new Vea(this);$.Id(this,"animationstart",function(){this.w5=!0},!1,this);$.Id(this,"animationend",function(){this.w5=!1;for(var a,b=this.fb.length;b--;)a=this.fb[b],21==a.Se.type&&(a.rA=this.gf.qg().clone(),a.B(1024),a.$());this.MB=!0;this.oV||vR(this)},!1,this);this.ur=!1;
this.A1=(0,$.pa)(this.Sba,this);this.wia=(0,$.pa)(function(){this.SI&&this.kq(this.BV);this.sc.ac(this,["pointerdown","touchstart"],this.Q4,!1,this);this.Q4=null;this.sc.ac(this,["pointermove","touchmove"],this.P4,!1,this);this.P4=null;this.L4=!1},this);this.lca=(0,$.pa)(function(){this.DM||this.kq(this.BV);this.sc.ac(this,["pointermove","mousemove"],this.N4,!1,this);this.N4=null;this.B2=!1},this);this.X8=(0,$.pa)(this.kq,this);this.dW=this.DK=null;this.nt=[];this.CD=null;this.Qn=[];this.Rw(this.ma.unboundRegions||
"as-is");this.pa("defaultSeriesType","choropleth");this.sc.ra(this,["pointerdown","touchstart"],this.via);$.T(this.ua,[["geoIdField",4194320,1],["overlapMode",8388608,1],["minZoomLevel",0,0],["maxZoomLevel",0,0],["selectPolygonMarqueeFill",0,0,0,function(){this.mM()&&this.mm&&this.mm.fill(this.i("selectPolygonMarqueeFill"))}],["selectPolygonMarqueeStroke",0,0,0,function(){this.mM()&&this.mm&&this.mm.stroke(this.i("selectPolygonMarqueeStroke"))}],["selectPolygonMarqueeMarker",0,0,0,function(){if(this.mM()&&
this.Xo){var a=this.i("selectPolygonMarqueeMarker")||{},b=$.Vb(a.fill),c=$.Yb(a.stroke);a=a.radius||15;this.Xo.stroke(c);this.Xo.fill(b);this.qM=a}}]])},mQ=function(a){a.xf.jc(1,0,0,1,0,0);var b=a.gf.qg(),c;a.Ef&&a.Ef.update();for(c=a.fb.length;c--;){var d=a.fb[c];d.enabled()&&d.My()}for(c=a.Qn.length;c--;)d=a.Qn[c],d.enabled()&&d.My();if($.jr(a,"axesSettings"))for(d=a.xp.hm(),c=0;c<d.length;c++){var e=d[c];e.enabled()&&e.My(b)}if($.jr(a,"gridsSettings"))for(a=a.Vx.hm(),c=a.length;c--;)d=a[c],d.enabled()&&
d.My(b)},yR=function(a){a.w1=!1;xR(a);a.mm.parent(null);a.Ot.parent(null);a.Xo.parent(null);a.La.ac("mousemove",a.g3,!0,a);a.La.ac("dblclick",a.f3,!0,a);a.La.ac("click",a.e3,!0,a);a.fk.length=0;a.hU=a.gU=a.gH=null;a.FA=!1},xR=function(a){a.mm&&(a.mm.clear(),a.Ot.clear(),a.Xo.Wb(0))},zR=function(a,b,c,d){return{type:a,offsetX:d.offsetX,offsetY:d.offsetY,clientX:d.clientX,clientY:d.clientY,screenX:d.screenX,screenY:d.screenY,button:d.button,actionButton:d.actionButton,keyCode:d.keyCode,charCode:d.charCode,
ctrlKey:d.ctrlKey,altKey:d.altKey,shiftKey:d.shiftKey,metaKey:d.metaKey,platformModifierKey:d.platformModifierKey,originalEvent:d,polygon:b,polygonBounds:c}},BR=function(a,b){var c;AR(a)?c=$.lk():c=new $.JB(a.Az,a.b_);c.parent(b);c.jc(1,0,0,1,0,0);return c},CR=function(a,b){for(var c=b.Ki(),d=0,e=c.length;d<e;d++){var f=c[d];$.K(f,$.zg)?a.b_(f):$.K(f,$.Eg)&&CR(a,f)}},AR=function(a){return a.CD?"svg"==a.CD.Na():a.mn?$.z(a.mn)&&$.fc(a.mn,"<")||$.Pe(a.mn):!1},vR=function(a){var b,c,d,e,f,h,k;var l={};
var m={};var p="allow-overlap"!=a.i("overlapMode");a.oV=!0;for(b=a.fb.length;b--;){var q=a.fb[b];var r=q.Na();if($.da(a.MB)?a.MB:a.MB[r]){var t=q.aa();var u=t.Gb();var v=null===q.lN()&&p||"no-overlap"==q.lN();r=l[r]?l[r]:l[r]=[];var w=0;for(c=u;w<c;w++){u={};u.W=q;u.Za=q.al(w,$.Zl);a.oV=a.oV&&!u.Za;u.index=w;u.Wo=[];u.state=!0;t.select(u.index);var x=t.o("currentPointElement"),y;x&&(y=x.properties);x=t.get("overlapMode");x=null!=x?x:y&&null!=y.overlapMode?y.overlapMode:null;u.qU=null==x&&v||null!=
x&&"no-overlap"==$.Ok(x);x=t.get("labelrank");u.EN=(0,window.parseFloat)($.n(x)?x:y&&$.n(y.labelrank)?y.labelrank:0);r.push(u)}m[q.la()]=[]}}$.Dc(l,function(a){b=0;for(c=a.length;b<c;b++){h=a[b];e=h.Za;w=0;for(d=a.length;w<d;w++)k=a[w],f=k.Za,b!=w&&$.Zm(e,f)&&h.Wo.push(k);h.JT=h.Wo.length}for(var l=new XQ(a,function(a,b){a=a?a.JT:window.NaN;b=b?b.JT:window.NaN;return a>b?1:0});a.length;){var p=l.pop();if(p.state&&p.qU){b=0;for(c=p.Wo.length;b<c;b++){var q=p.Wo[b];q.state&&p.state&&(p.qU&&!q.qU?p.state=
!1:p.EN==q.EN?p.W.la()<=q.W.la()&&(p.state=!1):p.EN<q.EN&&(p.state=!1))}if(!p.state)for(b=0,c=p.Wo.length;b<c;b++)q=p.Wo[b],q.JT--,q=(0,$.za)(a,q),-1!=q&&WQ(l,q)}m[p.W.la()][p.index]=p.state}});for(b=a.fb.length;b--;)q=a.fb[b],$.V(q),Rea(q,m[q.la()]),q.$(),q.da(!1)},hQ=function(a,b,c,d,e){var f,h,k;var l=0;for(h=b.length;l<h;l++)if(f=b[l]){if(d){var m={};$.Hc(f,"properties")&&(m.properties=$.Qc(f.properties))}else e&&(m=a.gl[l]);if($.Hc(f,"geometries")){var p=f.geometries;d?k=[]:e&&(k=m.geometries);
var q=p.length;for(f=0;f<q;f++){var r=d?k[f]={}:e?k[f]:null;DR(a,p[f],c,r,d)}}else DR(a,f,c,m,d);d&&(a.gl[l]=m)}},ER=function(a,b,c,d){if(b){var e;if(AR(a)){if($.Hc(b,"type"))if("group"==b.type){b.fa||(b.fa=BR(a,c));var f=b.features;var h=f.length;for(e=0;e<h;e++)ER(a,f[e],b.fa,d);$.Dc(b.attrs,function(a,c){"id"==c?b.fa.id(a):"clip-path"==c?(a.fa=qR(a.commands,a.fa),b.fa.clip(a.fa)):b.fa.ee(c,a)},a)}else"image"==b.type?(b.fa||(b.fa=c.dk()),d=b.bounds,b.fa.x(d.left),b.fa.y(d.top),b.fa.width(d.width),
b.fa.height(d.height),b.fa.src(b.attrs["xlink:href"])):"path"==b.type?(b.fa||(b.fa=a.Az(c)),qR(b.commands,b.fa),$.Dc(b.attrs,function(a,d){if("id"==d)b.fa.id(a);else if("clip-path"==d)a.fa=qR(a.commands,a.fa),b.fa.clip(a.fa);else if("fill"==d){if($.D(a))if(a.type&&"pattern"==a.type){var k=a.bounds;if(!a.fa)for(a.fa=$.Tb(k),a.fa.parent(c),a.fa.jc(1,0,0,1,0,0),f=a.features,h=f.length,e=0;e<h;e++)ER(this,f[e],a.fa,null);k=a.fa}else k=a;else k=a;b.fa.fill(k)}else if("stroke"==d){if($.D(a))if(a.type&&
"pattern"==a.type){k=a.bounds;if(!a.fa)for(a.fa=$.Tb(k),a.fa.parent(c),a.fa.jc(1,0,0,1,0,0),f=a.features,h=f.length,e=0;e<h;e++)ER(this,f[e],a.fa,null);k=a.fa}else k=a;else k=a;b.fa.stroke(k)}else b.fa.ee(d,a)},a)):"text"==b.type&&(b.fa||(b.fa=new $.Uh),d=b.cloneNode.cloneNode(!0),d.removeAttribute("transform"),b.fa.content(d));b.fa&&((d=b.tx?b.tx.self:null)&&b.fa.jc(d.ed,d.Me,d.We,d.Ee,d.Ad,d.xd),b.fa.parent(c),"group"!=b.type&&a.$v.push(b.fa))}else if(d=$.KB(c),b.fa=d,a.$v.push(d),$.Hc(b,"geometries"))for(d=
b.geometries,h=d.length,e=0;e<h;e++)DR(a,d[e],a.I_);else DR(a,b,a.I_);if(a.J(262144)){for(d=a.fb.length;d--;)a.fb[d].Yr=a.gl;a.I(262144)}}},DR=function(a,b,c,d,e){var f,h;if(b)if($.Hc(b,"polygones")){var k=b.polygones;var l=k.length;e?h=[]:d&&(h=d.polygones);for(f=0;f<l;f++){var m=k[f];var p=m.outerPath;var q=m.holes;if(e){p=$.Ha(p);var r={outerPath:p,holes:[]}}else if(d){r=h[f];p=r.outerPath=$.Ha(p);var t=r.holes}var u=p.length;for(m=0;m<u-1;m+=2)c.call(a,p,m,b);u=q.length;for(m=0;m<u;m++){var v=
q[m];e?(v=$.Ha(v),r.holes.push(v)):d&&(v=t[m]=$.Ha(v));for(p=0;p<v.length-1;p+=2)c.call(a,v,p,b)}e&&h.push(r)}e&&(d.polygones=h)}else if($.Hc(b,"paths")){r=b.paths;l=r.length;e?k=[]:d&&(k=d.paths);for(f=0;f<l;f++)for(h=r[f],e?(h=$.Ha(h),k.push(h)):d&&(h=k[f]=$.Ha(h)),u=h.length,m=0;m<u-1;m+=2)c.call(a,h,m,b);e&&(d.paths=k)}else if($.Hc(b,"coordinates"))for(f=b.coordinates,u=f.length,e?(f=$.Ha(f),d.coordinates=f):d&&(f=d.coordinates=$.Ha(f)),m=0;m<u-1;m+=2)c.call(a,f,m,b);else if($.Hc(b,"type"))if("path"==
b.type){if(e||d)d.type=b.type,d.commands=b.commands,d.commands_tx=b.commands_tx,d.attrs=b.attrs,d.properties=b.properties,d.tx=b.tx;c.call(a,null,0,b)}else if("image"==b.type){if(e||d)d.type=b.type,d.bounds=b.bounds,d.attrs=b.attrs,d.properties=b.properties,d.sourceNode=b.sourceNode,d.cloneNode=b.cloneNode,d.tx=b.tx;c.call(a,null,0,b)}else if("text"==b.type){if(e||d)d.type=b.type,d.text=b.text,d.cloneNode=b.cloneNode,d.attrs=b.attrs,d.properties=b.properties,d.tx=b.tx;c.call(a,null,0,b)}else if("group"==
b.type){u=b.features;h=u.length;e?f=[]:d&&(f=d.features);for(m=0;m<h;m++)r=u[m],e?(l={},$.Hc(r,"properties")&&(l.properties=r.properties)):d&&(l=r),DR(a,r,c,l,e),e&&f.push(l);e&&(d.features=f);if(e||d)d.type=b.type,d.attrs=b.attrs,d.tx=b.tx}},FR=function(a,b,c,d){if("group"==b.type)for(var e=0,f=b.features.length;e<f;e++){var h=b.features[e];c.call(d,b);FR(a,h,c,d)}else c.call(d,b)},GR=function(a,b){if(!a.gl)return null;for(var c=0,d=a.gl.length;c<d;c++){var e=a.gl[c];if(e.properties[a.i("geoIdField")]==
b)return e}return null},dQ=function(a){var b=a.dW;b||(a.Pha={},b=a.Pha.root=a,a.hW="root",a.DK=b,a.dW=b);return b},HR=function(a){a=a.Sz();return{type:"drillchange",path:a,current:a[a.length-1]}},IR=function(a,b,c){if(a.P()){var d=dQ(a),e=a.qh();d.dv=!0;var f=GR(e,b);if(f){var h=f.fa.Qq();f=f.properties}else $.el(301,null,[b]),h=(h=d.Rf())?new $.J(h.left+h.width/2-1,h.top+h.height/2-1,1,1):new $.J(0,0,1,1),f={},f[e.i("geoIdField")]=b;var k=$.wm("map");c.i("maxZoomLevel")==k.maxZoomLevel&&c.pa("maxZoomLevel",
e.i("maxZoomLevel"));c.i("minZoomLevel")==k.minZoomLevel&&c.pa("minZoomLevel",e.i("minZoomLevel"));c.Mj()&&!c.Ue(0).sd()&&(k=e.Ue(0).sd(),c.Ue(0).sd(k));if(c.Mj()&&"choropleth"==c.Ue(0).Sj()&&!$.jr(c,"colorRange")&&$.jr(e,"colorRange")){k=e.Yj();c.Yj(k.F());var l=c.Yj();l.labels().format(k.labels().format());l.labels().positionFormatter(k.labels().positionFormatter());l.kb().format(k.kb().format());l.kb().positionFormatter(k.kb().positionFormatter())}!$.jr(c,"legend")&&$.jr(e,"legend")&&(k=e.Gf(),
c.Gf(k.F()));c.$ga=e;c.dW=dQ(a);c.enabled(!0).P(a.P()).$();c.Oc();c.hW=b;c.ib(d);b=kQ(c,h,void 0,!0);c.ur=!0;c.pl=0;c.Ui(1/b[0],b[1],b[2]);a.cv(c,function(a,b,c,d,e){c.dv&&(b.Xa().Oc(null),b.Oc(),b.Pd(),c.DK=a,c.nt.push(new TP(b,a,e,this.hW)),a.show(),a.Xa().Oc(null),b=kQ(a,d,void 0,!0),a.pl=400,a.ur=!0,a.Ui(this.i("minZoomLevel"),b[1],b[2]),this.cv(a,function(a){this.Ui(this.i("minZoomLevel"));a.dv=!1;(0,window.setTimeout)((0,$.pa)(function(){this.dispatchEvent(HR(this))},a),0)},c))},c,e,d,h,f)}},
efa=function(a){a=a.qh();var b=a.gf,c=a.i("minZoomLevel"),d=b.pb();b=b.Qo();var e=(d.left+d.width/2)*(1-c);d=(d.top+d.height/2)*(1-c);return $.Tm(a.Fg(),c)&&$.Tm(b[4],e)&&$.Tm(b[5],d)},JR=function(a,b,c){var d=dQ(a),e=a.qh();if(e!=b){d.dv=!0;e.pl=700;efa(e)||e.Ui(a.i("minZoomLevel"));var f=c||1;a.cv(e,function(a,b){var c=GR(a,b.nt[b.nt.length-f].Lx());if(c){var d=c.fa.Qq();var e=kQ(this,d);c=e[0];d=e[1];e=e[2]}else $.el(301,null,[this.hW]),c=10;this.ur=!0;this.pl=400;this.Ui(1/c,d,e);this.cv(this,
function(a,b){this.Ui(this.i("minZoomLevel"));this.Oc();this.Pd();this.enabled(!1);b.DK=a;b.dv=!1;$.Ca(b.nt,b.nt.length-f,f);a.Xa().Oc(null);this.Xa().Oc(null);a.show();(0,window.setTimeout)((0,$.pa)(function(){this.dispatchEvent(HR(this))},b),0)},a,b)},b,d)}},KR=function(a,b){return{type:b,target:a.qh(),from:a.rB,current:a.Sp,to:a.dP}},kQ=function(a,b,c,d){a=a.qh();var e=b.left+b.width/2,f=b.top+b.height/2,h=$.n(c)?c:a.Rf(),k=h.left+h.width/2;c=h.top+h.height/2;b=1/Math.max(b.width/h.width,b.height/
h.height);d||(b=Math.max(Math.min(b*a.Fg(),a.i("maxZoomLevel")),a.i("minZoomLevel"))/a.Fg());$.Tm(b,1,1E-7)?(d=k-e,f=c-f):(d=(k-b*e)/(1-b),f=(c-b*f)/(1-b));b*=a.Fg();return[b,d,f]},LR=function(a){$.xA.call(this,a)},MR=function(a){$.xA.call(this,a)},NR=function(a){$.xA.call(this,a);this.b=$.XA("curvature",$.N,!1,"curvature");this.g=$.XA("startSize",$.qq,!1,"startSize");this.f=$.XA("endSize",$.qq,!1,"endSize")},OR=function(a,b,c,d,e,f,h,k,l,m,p,q,r,t){var u=Math.abs(d-f);var v=Math.abs(e-h);v=$.Qm($.cb(Math.atan(v/
u)),7);var w;f<d&&h<e?w=v:f<d&&h>e?w=-v:f>d&&h>e?w=v-180:f>d&&h<e&&(w=180-v);var x=p/2;v=0>q?-90:90;var y=d+Math.cos($.bb(w+v))*x,B=e+Math.sin($.bb(w+v))*x;p=d+Math.cos($.bb(w-v))*x;w=e+Math.sin($.bb(w-v))*x;u=Math.abs(b-k);v=Math.abs(c-l);v=$.Qm($.cb(Math.atan(v/u)),7);var G;k<b&&l<c?G=v-180:k<b&&l>c?G=180-v:k>b&&l>c?G=v:k>b&&l<c&&(G=-v);x=m/2;v=0>q?-90:90;u=b+Math.cos($.bb(G+v))*x;var C=c+Math.sin($.bb(G+v))*x;m=b+Math.cos($.bb(G-v))*x;G=c+Math.sin($.bb(G-v))*x;var I=$.dn(u,C,y,B);v=I/2*q;var P=
(u+y)/2+Math.cos($.bb(t))*v*1.2,Q=(C+B)/2+Math.sin($.bb(t))*v*1.2;v=I/2*q;x=0<q?1:-1;x=Math.abs(v)<I/4?I/4*x:Math.abs(v)>I/2?I/2*x:v;v=(0>q?90:-90)*r;I=P+Math.cos($.bb(t+v))*x;var S=Q+Math.sin($.bb(t+v))*x;v=(0>q?-90:90)*r;P+=Math.cos($.bb(t+v))*x;v=Q+Math.sin($.bb(t+v))*x;a.moveTo(y,B);a.yk(I,S,P,v,u,C);u=$.dn(m,G,p,w);B=u/2*q;y=(m+p)/2+Math.cos($.bb(t))*B*1.2;B=(G+w)/2+Math.sin($.bb(t))*B*1.2;v=u/2*q;x=0<q?1:-1;x=Math.abs(v)<u/4?u/4*x:Math.abs(v)>u/2?u/2*x:v;v=(0>q?90:-90)*r;u=y+Math.cos($.bb(t+
v))*x;C=B+Math.sin($.bb(t+v))*x;v=(0>q?-90:90)*r;q=y+Math.cos($.bb(t+v))*x;t=B+Math.sin($.bb(t+v))*x;a.lineTo(m,G);a.yk(q,t,u,C,p,w);a.close();return[b,c,k,l,f,h,d,e]},PR=function(a){$.VB.call(this,a)},QR=function(){var a=new wR;a.ld();return a},RR=function(a){var b=new wR;b.Fa("bubbleMap");b.ld();b.pa("defaultSeriesType","bubble");for(var c=0,d=arguments.length;c<d;c++)b.bubble(arguments[c]);return b},SR=function(a){var b=new wR;b.Fa("choropleth");b.ld();b.pa("defaultSeriesType","choropleth");for(var c=
0,d=arguments.length;c<d;c++)b.choropleth(arguments[c]);return b},TR=function(a){var b=new wR;b.Fa("connector");b.ld();b.pa("defaultSeriesType","connector");for(var c=0,d=arguments.length;c<d;c++)b.connector(arguments[c]);return b},UR=function(a){var b=new wR;b.Fa("markerMap");b.ld();b.pa("defaultSeriesType","marker");for(var c=0,d=arguments.length;c<d;c++)b.marker(arguments[c]);return b},VR=function(a){var b=new wR;b.Fa("seatMap");b.ld();b.pa("defaultSeriesType","choropleth");for(var c=0,d=arguments.length;c<
d;c++)b.choropleth(arguments[c]);return b};$.xd.prototype.k0=$.ca(0,function(){return this.dl});var ffa={Aja:"as-is",ola:"hide"},gfa={mka:"choropleth",hP:"bubble",yu:"marker",qka:"connector"},PP=!1;$.H(xP,$.rx);xP.prototype.handleEvent=function(a){this.b(a)&&(a.preventDefault(),xP.u.handleEvent.call(this,a))};xP.prototype.R=function(){xP.u.R.call(this);this.b=null};$.g=yP.prototype;$.g.asin=function(a){return 1<a?Math.PI/2:-1>a?-Math.PI/2:Math.asin(a)};$.g.acos=function(a){return 1<a?0:-1>a?Math.PI:Math.acos(a)};$.g.sinh=function(a){return.5*(Math.exp(a)-Math.exp(-a))};$.g.cosh=function(a){return.5*(Math.exp(a)+Math.exp(-a))};$.g.forward=function(a,b){return[a,b]};$.g.gj=function(a,b){return[a,b]};$.H(AP,yP);AP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);var c=Math.cos(b);var d=(d=this.acos(c*Math.cos(a/=2)))?d/Math.sin(d):1;a=2*c*Math.sin(a)*d;b=Math.sin(b)*d;return[a,b]};
AP.prototype.gj=function(a,b){if(a*a+4*b*b>Math.PI*Math.PI+1E-6)return[window.NaN,window.NaN];var c=a,d=b,e=25,f=0;do{var h=Math.sin(c),k=Math.sin(c/2),l=Math.cos(c/2),m=Math.sin(d),p=Math.cos(d),q=Math.sin(2*d),r=m*m,t=p*p,u=k*k,v=1-t*l*l,w=v?this.acos(p*l)*Math.sqrt(f=1/v):f=0;v=2*w*p*k-a;var x=w*m-b,y=f*(t*u+w*p*l*r),B=f*(.5*h*q-2*w*m*k);h=.25*f*(q*k-w*m*t*h);p=f*(r*l+w*u*p);l=B*h-p*y;if(!l)break;B=(x*B-v*p)/l;v=(v*h-x*y)/l;c-=B;d-=v}while((1E-6<Math.abs(B)||1E-6<Math.abs(v))&&0<--e);return[$.Za($.cb(c),
-180,180),$.Za($.cb(d),-180,180)]};$.H(BP,yP);BP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);var c=Math.tan(b/2),d=zP(1-c*c),e=1+d*Math.cos(a/=2);d=Math.sin(a)*d/e;c/=e;e=d*d;var f=c*c;return[4/3*d*(3+e-3*f),4/3*c*(3+3*e-f)]};
BP.prototype.gj=function(a,b){a*=.375;b*=.375;if(!a&&1<Math.abs(b))return[window.NaN,window.NaN];var c=1+a*a+b*b,d=Math.sqrt(.5*(c-Math.sqrt(c*c-4*b*b)));c=this.asin(d)/3;d?(d=Math.abs(b/d),d=Math.log(d+zP(d*d-1))/3):(d=Math.abs(a),d=Math.log(d+zP(d*d+1))/3);var e=Math.cos(c),f=this.cosh(d),h=f*f-e*e;a=2*(0<a?1:0>a?-1:0)*Math.atan2(this.sinh(d)*e,.25-h);b=2*(0<b?1:0>b?-1:0)*Math.atan2(f*Math.sin(c),.25+h);return[$.cb(a),$.cb(b)]};$.H(CP,yP);CP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);var c=this.b+this.f-b,d=c?a*Math.cos(b)/c:c;a=c*Math.sin(d);b=this.b-c*Math.cos(d);return[a,b]};CP.prototype.gj=function(a,b){var c=Math.sqrt(a*a+(b=this.b-b)*b),d=this.b+this.f-c;a=c/Math.cos(d)*Math.atan2(a,b);return[$.cb(a),$.cb(d)]};$.H(DP,yP);DP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);var c=Math.sqrt(8/(3*Math.PI));a=c*a*(1-Math.abs(b)/Math.PI);return[a,c*b]};DP.prototype.gj=function(a,b){var c=Math.sqrt(8/(3*Math.PI)),d=b/c;a/=c*(1-Math.abs(d)/Math.PI);return[$.cb(a),$.cb(d)]};$.H(EP,yP);EP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);var c=Math.sqrt(Math.PI*(4+Math.PI));a=2/c*a*(1+Math.sqrt(1-4*b*b/(Math.PI*Math.PI)));return[a,4/c*b]};EP.prototype.gj=function(a,b){var c=Math.sqrt(Math.PI*(4+Math.PI))/2;a=a*c/(1+zP(1-b*b*(4+Math.PI)/(4*Math.PI)));return[$.cb(a),$.cb(b*c/2)]};$.H(FP,yP);FP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);return[a,b]};FP.prototype.gj=function(a,b){return[$.cb(a),$.cb(b)]};$.H(GP,yP);GP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);var c=Math.cos($.bb(35)),d=Math.tan(b/2);a=a*c*zP(1-d*d);return[a,(1+c)*d]};GP.prototype.gj=function(a,b){var c=Math.cos($.bb(35)),d=b/(1+c);a=a?a/(c*zP(1-d*d)):0;b=2*Math.atan(d);return[$.cb(a),$.cb(b)]};$.H(HP,yP);HP.prototype.forward=function(a,b){var c=Math.cos(b),d=this.scale(Math.cos(a)*c);a=d*c*Math.sin(a);b=d*Math.sin(b);return[a,b]};HP.prototype.gj=function(a,b){var c=$.dn(0,0,a,b),d=this.angle(c),e=Math.sin(d);a=Math.atan2(a*e,c*Math.cos(d));b=Math.asin(c&&b*e/c);return[a,b]};$.H(IP,yP);IP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);var c=this.f.forward(a/2,b);c[0]*=this.b;a=c[0];b=c[1];return[a,b]};IP.prototype.gj=function(a,b){var c=this.f.gj(a/this.b,b);c[0]*=2;a=c[0];b=c[1];return[$.cb(a),$.cb(b)]};$.H(JP,yP);JP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);b=Math.log(Math.tan(Math.PI/4+b/2));return[a,b]};JP.prototype.gj=function(a,b){b=2*Math.atan(Math.exp(b))-Math.PI/2;return[$.cb(a),$.cb(b)]};$.H(KP,yP);KP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);var c=this.b.forward(a,b);a=c[0];b=c[1];return[a,b]};KP.prototype.gj=function(a,b){var c=this.b.gj(a,b);a=c[0];b=c[1];return[$.cb(a),$.cb(b)]};$.H(LP,yP);LP.prototype.forward=function(a,b){return this.b(this.f).forward([a,b])};LP.prototype.gj=function(a,b){return this.b(this.f).inverse([a,b])};$.H(MP,yP);var WR=[[.9986,-.062],[1,0],[.9986,.062],[.9954,.124],[.99,.186],[.9822,.248],[.973,.31],[.96,.372],[.9427,.434],[.9216,.4958],[.8962,.5571],[.8679,.6176],[.835,.6769],[.7986,.7346],[.7597,.7903],[.7186,.8435],[.6732,.8936],[.6213,.9394],[.5722,.9761],[.5322,1]];
MP.prototype.forward=function(a,b){if((0,window.isNaN)(a)||(0,window.isNaN)(b))return[window.NaN,window.NaN];a=$.bb(a);b=$.bb(b);var c,d=Math.min(18,36*Math.abs(b)/Math.PI),e=Math.floor(d);d-=e;var f=(c=WR[e])[0],h=c[1],k=(c=WR[++e])[0],l=c[1];e=(c=WR[Math.min(19,++e)])[0];c=c[1];b=(0<b?Math.PI/2:-Math.PI/2)*(l+d*(c-h)/2+d*d*(c-2*l+h)/2);return[a*(k+d*(e-f)/2+d*d*(e-2*k+f)/2),b]};
MP.prototype.gj=function(a,b){if((0,window.isNaN)(a)||(0,window.isNaN)(b))return[window.NaN,window.NaN];var c=b/Math.PI/2,d=90*c,e=Math.min(18,Math.abs(d/5)),f=Math.max(0,Math.floor(e));do{var h=WR[f][1],k=WR[f+1][1],l=WR[Math.min(19,f+2)][1],m=l-h,p=2*(Math.abs(c)-k)/m;h=(l-2*k+h)/m;p*=1-h*p*(1-2*h*p);if(0<=p||1===f){d=(0<=b?5:-5)*(p+e);c=50;do e=Math.min(18,Math.abs(d)/5),f=Math.floor(e),p=e-f,h=WR[f][1],k=WR[f+1][1],l=WR[Math.min(19,f+2)][1],d-=$.cb(e=(0<=b?Math.PI/2:-Math.PI/2)*(k+p*(l-h)/2+p*
p*(l-2*k+h)/2)-b);while(1E-12<Math.abs(e)&&0<--c);break}}while(0<=--f);e=WR[f][0];c=WR[f+1][0];f=WR[Math.min(19,f+2)][0];b=$.bb(d);return[$.cb(a/(c+p*(f-e)/2+p*p*(f-2*c+e)/2)),$.cb(b)]};$.H(NP,yP);NP.prototype.forward=function(a,b){a=$.bb(a);b=$.bb(b);a*=Math.sqrt(1-3*b*b/(Math.PI*Math.PI));return[a,b]};NP.prototype.gj=function(a,b){a/=Math.sqrt(1-3*b*b/(Math.PI*Math.PI));return[$.cb(a),$.cb(b)]};$.H(SP,$.Uw);var XR={};$.hq(XR,[[0,"zoomOnDoubleClick",$.uq],[0,"keyboardZoomAndMove",$.uq],[0,"drag",$.uq],[0,"copyFormat",$.Vq]]);$.U(SP,XR);SP.prototype.F=function(){var a=SP.u.F.call(this);$.Hq(this,XR,a);return a};SP.prototype.X=function(a,b){SP.u.X.call(this,a,b);$.zq(this,XR,a)};$.H(TP,$.sA);$.g=TP.prototype;$.g.get=function(a){return $.E(this.Aa.data)?this.Aa.data().get(this.index,a):void 0};$.g.Lx=function(){return this.id};$.g.s$=function(){return this.f};$.g.r0=function(){return this.b};$.g.wda=function(){return this.mc()};var YR=TP.prototype;YR.getId=YR.Lx;YR.getProperties=YR.s$;YR.getCurrentChart=YR.r0;YR.getParentChart=YR.wda;YR.get=YR.get;$.H(UP,$.tA);$.g=UP.prototype;$.g.Kx=function(){var a=this.W.aa();a.select(this.index);return a.o("features")[0].properties};$.g.sda=function(){var a=this.W.aa();a.select(this.index);return a.o("features")[0].fa.Qq()};$.g.Bfa=function(a){if($.n(a))return this.set("middle-x",a),this;a=this.W.aa();a.select(this.index);a=(a=a.o("features"))&&a.length?a[0].properties:null;var b=this.get("middle-x");return $.n(b)?b:a?a["middle-x"]:.5};
$.g.Cfa=function(a){if($.n(a))return this.set("middle-y",a),this;a=this.W.aa();a.select(this.index);a=(a=a.o("features"))&&a.length?a[0].properties:null;var b=this.get("middle-y");return $.n(b)?b:a?a["middle-y"]:.5};$.g.Oia=function(a,b){var c=this.mc();return $.n(a)||$.n(b)?(c.oS(this.Kx()[XP(this.W)],a,b),this):c.oS(this.Kx()[XP(this.W)])};$.g.translate=function(a,b){this.mc().i5(this.Kx()[XP(this.W)],a,b);return this};
$.g.zg=function(a){var b=this.mc();return $.n(a)?(b.mS(this.Kx()[XP(this.W)],a),this):b.mS(this.Kx()[XP(this.W)],a)};$.g.Oha=function(a){var b=this.mc();return $.n(a)?(b.nS(this.Kx()[XP(this.W)],a),this):b.nS(this.Kx()[XP(this.W)],a)};var ZR=UP.prototype;ZR.getFeatureProp=ZR.Kx;ZR.getFeatureBounds=ZR.sda;ZR.middleX=ZR.Bfa;ZR.middleY=ZR.Cfa;ZR.translation=ZR.Oia;ZR.translate=ZR.translate;ZR.crs=ZR.zg;ZR.scaleFactor=ZR.Oha;$.H(VP,$.gB);$.g=VP.prototype;$.g.qa=$.gB.prototype.qa|1152;$.g.sa=$.gB.prototype.sa|4194304;$.g.sP=1.3E-5;$.g.FE={};$.g.Zr=function(){return 0};$.g.YE=null;
$.g.Ae=function(a,b,c){a=a||this.i("color")||"blue";var d,e=this.aa(),f={},h=this.sd();c=$.n(c)&&c;h&&!c&&(c=e.get(this.Se.ol),$.n(c)&&(d=h.yq(c)),$.Sc(f,{scaledColor:d,colorScale:h}));$P(this)&&(d=e.o("currentPointElement"),h=(h=e.o("features"))&&h.length?h[0]:null,$.Sc(f,{properties:h?h.properties:null,attributes:d?d.attrs:null,element:d?d.domElement:null}));f.sourceColor=a;this.Qs()&&(e=b?this.Qf():e,$.Sc(f,{index:e.la(),sourceColor:a,iterator:e,referenceValueNames:this.ue()}));return f};
$.g.Fi=function(a){var b=this.ph();return this.Qs()?(a=a?this.Qf():this.aa(),{index:a.la(),sourceHatchFill:b,iterator:a,referenceValueNames:this.ue()}):{sourceHatchFill:b}};$.g.EC=function(a){return $.n(a)?(a!=this.b&&(this.b=a,this.B(1536,5)),this):this.b||this.g};
$.g.al=function(a,b){var c=this.aa();c.select(a);var d=$.n(b)?b:$.$w(this.state,a),e=!!(d&$.qo),f=!e&&!!(d&$.po),h,k=c.get("normal");k=$.n(k)?k.label:void 0;var l=(k=$.Ro(k,c.get("label")))&&$.n(k.enabled)?k.enabled:null;var m=this.Sa().labels(),p=null;if(e){var q=c.get("selected");q=$.n(q)?q.label:void 0;var r=(q=$.Ro(q,c.get("selectLabel")))&&$.n(q.enabled)?q.enabled:null;p=this.selected().labels()}else f?(q=c.get("hovered"),q=$.n(q)?q.label:void 0,r=(q=$.Ro(q,c.get("hoverLabel")))&&$.n(q.enabled)?
q.enabled:null,p=this.mb().labels()):q=null;e||f?h=null===r?null===p.enabled()?null===l?m.enabled():l:p.enabled():r:h=null===l?m.enabled():l;return h?(c=YP(this,d),c=this.Ai(c),d=this.Ec(!0),e={},k&&$.Sc(e,k),p&&$.Sc(e,$.lN(p)),q&&$.Sc(e,q),q=e.anchor,$.n(q)&&null!==q||(e.anchor=this.aa().o("labelAnchor")),$.hn(m.measure(d,c,e,a))):null};
$.g.lN=function(a){return $.n(a)?(a=!1===a?"no-overlap":a,a=null===a?a:"allow-overlap"==$.Ok(a),this.YE!=a&&(this.YE=a,this.B(256,1025)),this):null===this.YE?this.Aa.i("overlapMode"):this.YE?"allow-overlap":"no-overlap"};$.g.yf=function(a,b,c){var d=a.la();this.f&&$.n(this.f[d])&&!this.f[d]||VP.u.yf.call(this,a,b,c)};$.g.v0=function(){return this.va};$.g.iD=function(){return!0};
$.g.qA=function(a){if(22==this.Se.type||this.hk()){var b=aQ(this,a);a.o("x",b?b.x:window.NaN);a.o("value",b?b.y:window.NaN)}this.hk()&&a.o("size",this.sF(Number(a.get("size"))))};
$.g.Pn=function(){for(var a=-window.Infinity,b=window.Infinity,c=0,d=0,e=this.vc();e.advance();){var f=this.enabled()?[this.aa().get(this.Se.ol)]:null;f&&(f=$.N(f[0]),(0,window.isNaN)(f)||(a=Math.max(a,f),b=Math.min(b,f),c+=f));d++}e=c/d;this.Ia("seriesMax",a);this.Ia("seriesMin",b);this.Ia("seriesSum",c);this.Ia("seriesAverage",e);this.Ia("seriesPointsCount",d);this.Ia("seriesPointCount",d)};
$.g.My=function(){var a=this.vc(),b=this.P()?this.P().Ha():null,c=b&&!b.ff();for(c&&b.suspend();a.advance()&&this.enabled();)Uea(this);c&&b.resume()};
$.g.Xj=function(a,b){var c=this.aa();if(this.Rg())if($P(this)){var d=c.o("features");if(!d){c.o("beforeDrawState",a);return}for(var e=0,f=d.length;e<f;e++){var h=d[e];$.n(h.fa)&&FR(this.mc(),h,function(b){var d=b.fa;if(d&&$.K(d,$.ng)){var e=c.o("beforeDrawState");$.ea(e)&&(a=e,c.o("beforeDrawState",null));e=a;var f="s"+$.oa(d),h=d.zIndex();switch(e){case $.po:f in this.VD&&(h=this.VD[f]);f in this.fA||(this.fA[f]=h,d.zIndex(1E4),c.o("stateZIndex",1E4),this.WG[f]=d);break;case $.qo:f in this.fA&&(h=
this.fA[f],delete this.WG[f],delete this.fA[f]);f in this.VD||(this.VD[f]=h,d.zIndex(1E3),c.o("stateZIndex",1E3),this.XN[f]=d);break;default:f in this.WG&&(this.WG[f].zIndex(this.fA[f]),c.o("stateZIndex",null),delete this.WG[f],delete this.fA[f]),f in this.XN&&(this.XN[f].zIndex(this.VD[f]),c.o("stateZIndex",null),delete this.XN[f],delete this.VD[f])}c.o("currentPointElement",b);d={foreignFill:d};b.p1&&(d.hatchFill=b.p1);this.vf.tm(a,d);this.vf.lB(a,d)}},this)}}else d=c.o("shapes"),this.vf.tm(a,d),
this.vf.lB(a,d);this.check(256)&&this.cL(c,a,!0);this.Se.sE(c,a);this.check(4194304)&&this.Op(c,a,!0);this.check($.tG)&&this.yf(c,a,!0);return b};$.g.Wp=$.ia;$.g.SZ=function(){this.I(65536)};
$.g.ob=function(){$P(this)||this.I(65536);if(this.J(4194304)||this.J(65536)){var a=this.nn(),b=this.ue();this.nW.length=0;var c=this.vc(),d=this.Aa.dH,e;for(d&&(e=d[this.EC()]);c.advance();){if(this.J(4194304)){if(!e)continue;d=c.get(b[0]);if(!d||!($.ea(d)||$.z(d)||$.A(d)))continue;d=$.A(d)?d:[d];c.o("features",void 0);for(var f=[],h=0,k=d.length;h<k;h++){var l=d[h],m=e[l];m&&(f.push(m),this.nW[c.la()]=l)}c.o("features",f)}a&&this.J(65536)&&a.Uc(c.get(b[1]))}a&&this.J(65536)&&a.Cg();this.I(65536);
this.I(4194304)}};$.g.rd=function(){this.ob();this.rA=this.Aa.gf.qg().clone();VP.u.rd.call(this)};$.g.jn=function(a,b){if(this.J(4)&&$P(this)){var c=a.o("features");if(c){var d=a.o("beforeDrawState");$.ea(d)&&(b=d,this.Xj(b),a.o("beforeDrawState",null));d=0;for(var e=c.length;d<e;d++){var f=c[d];$.n(f.fa)&&$.du(this,f.fa)}}}VP.u.jn.call(this,a,b)};
$.g.LC=function(a){var b=this.ss();b.I(b.sa);var c=b.F(),d={sourceColor:this.i("color")};$.E(b.ns())&&(c.iconFill=b.ns().call(d,d));$.E(b.ps())&&(c.iconStroke=b.ps().call(d,d));$.E(b.os())&&(d.sourceColor=this.lF,c.iconHatchFill=b.os().call(d,d));b=this.gC();var e;$.E(a)&&(e=a.call(b,b));$.z(e)||(e=this.name());"marker"==c.iconType&&this.check(4194304)&&(a=this.Sa().Eb(),c.iconFill=a.fill(),c.iconStroke=a.stroke());c.iconType=this.KC(c.iconType,b);e={text:e,iconEnabled:!0,iconStroke:void 0,iconFill:this.i("color"),
iconHatchFill:void 0,disabled:!this.enabled()};$.Sc(e,c);return e};$.g.sR=function(){return[this,this.mc()]};$.g.NS=function(){return{}};
$.g.Em=function(a,b){var c=this.cl(),d={chart:{value:this.mc(),type:""},series:{value:this,type:""},scale:{value:c,type:""},index:{value:b.la(),type:"number"},seriesName:{value:this.name(),type:"string"},id:{value:b.get("id"),type:"string"}},e=b.get("value");$.n(e)&&(d.value={value:e,type:"number"});c&&$.E(c.Na)&&(d.xScaleType={value:c.Na(),type:"string"});e=this.ue();for(c=0;c<e.length;c++){var f=e[c];f in d||(d[f]={value:b.get(f),type:"number"})}if(21==this.Se.type){var h=b.o("pointsWithoutMissing");
if(h&&h.length){d.startPoint={value:{lat:h[0],"long":h[1]},type:""};d.endPoint={value:{lat:h[h.length-2],"long":h[h.length-1]},type:""};f=[];c=0;for(e=h.length;c<e;c+=2)f.push({lat:h[c],"long":h[c+1]});d.connectorPoints={value:f,type:""}}}else if((c=b.o("regionId"))&&(d.id={value:c,type:"string"}),c=(c=b.o("features"))&&c.length?c[0].properties:null)for(h in d.regionProperties={value:c,type:""},c)!c.hasOwnProperty(h)||h in d||(d[h]={value:c[h]});return d};$.g.MS=function(){return $.eB(this,new $.rw)};
$.g.DF=function(){return this.MS()};$.g.jV=function(){return!1};$.g.t$=function(a,b){var c=this.Aa.scale().transform(a,b);return{x:c[0],y:c[1]}};$.g.Ec=function(a){if(!this.j||a)this.j=new $.rw;return $.eB(this,this.j)};
$.g.dL=function(a,b,c,d,e,f){var h=a[0],k=a[1],l=a[2];a=a[3];if(!d.value)return null;var m=e?h.Vd(c):h.Vq(c);m?(e&&m.lf(e),m.uc(d)):m=e?h.add(e,d,c):h.add(d,c);m.oi();if(e)m.Vk(this.aa().o("labelAnchor")),b.unshift(m),this.BW.apply(this,b);else{$.Sx(m,k||h);l=$.Qc(l||{});a=$.Qc(a||{});b=m.ic("rotation");if(!$.n(b)||null===b||(0,window.isNaN)(b))b=this.aa().o("markerRotation"),"rotation"in l||(l.rotation=b),"rotation"in a||(a.rotation=b);b=m.ic("anchor");$.n(b)&&null!==b||(b=this.aa().o("markerAnchor"),
"anchor"in l||(l.anchor=b),"anchor"in a||(a.anchor=b));m.kd(l,a)}f&&m.$();24==this.Se.type&&(m.rA=this.Aa.gf.qg().clone());return m};
$.g.Ai=function(a){var b=this.aa(),c={x:0,y:0};switch(this.Se.type){case 21:if(b.o("shapes").path){var d=b.o("sumDist"),e=b.o("connectorsDist"),f=b.o("points"),h=0;if($.z(a))switch(a){case "start":var k=0;break;case "middle":k=.5;break;case "end":k=1;break;default:$.oo(a)?k=(0,window.parseFloat)(a)/100:(k=$.N(a),(0,window.isNaN)(k)&&(k=.5))}else k=$.N(a),(0,window.isNaN)(k)&&(k=.5);d*=k;for(var l=0,m=f.length;l<m;l+=8){a=e[l/8];if(d>=h&&d<=h+a){var p=(d-h)/a,q=f[l+2],r=f[l+3],t=f[l+4],u=f[l+5],v=
f[l+6],w=f[l+7];c=t+(q-t)*(1-p);var x=u+(r-u)*(1-p);t=v+(t-v)*(1-p);u=w+(u-w)*(1-p);q=c+(q+(f[l]-q)*(1-p)-c)*(1-p);r=x+(r+(f[l+1]-r)*(1-p)-x)*(1-p);c=t+(c-t)*(1-p);t=u+(x-u)*(1-p);x=c+(q-c)*(1-p);p=t+(r-t)*(1-p);u=$.Qm($.cb(Math.atan(Math.abs(t-r)/Math.abs(c-q))),7);c<q&&t<r?u-=180:c<q&&t>r?u=180-u:c>q&&t>r||c>q&&t<r&&(u=-u);b.o("labelAnchor",ZP($.ab(u+90)));b.o("markerRotation",u);b.o("markerAnchor",1==k?"right-center":k?"center":"left-center")}h+=a}this.Aa.w5||this.Aa.Ofa||21!=this.Se.type?(e=this.rA,
b=this.Aa.gf.qg().clone(),e&&$.wb(b,$.Ib(e)),e=b.ed,c={x:x*e+b.Ad,y:p*e+b.xd}):c={x:x,y:p}}else c={x:0,y:0};break;case 22:case 23:c=aQ(this,b);break;case 24:if(p=(x=b.o("features"))&&x.length?x[0]:null){x=cQ(this);if(a=b.get("label"))l=a.positionMode,k=a.x,f=a.y;if(c=(c=p.properties)&&c.label)m=c&&c.positionMode,d=a.x,h=a.y;l=l||m||"relative";k=$.n(k)?k:d;h=$.n(f)?f:h;$.n(k)&&$.n(h)?(b.o("positionMode",l),e=x.x,f=x.y,"relative"==l?(k=$.so(k),h=$.so(h),k=$.oo(k)?(0,window.parseFloat)(k)/100:k,h=$.oo(h)?
(0,window.parseFloat)(h)/100:h,(p=p.fa)?(p=p.Qq(),k=p.left+p.width*k,h=p.top+p.height*h):h=k=0):"absolute"==l?(h=this.Aa.scale().transform((0,window.parseFloat)(k),(0,window.parseFloat)(h)),k=h[0],h=h[1]):"offset"==l&&(p=$.bb((0,window.parseFloat)(k)-90),h=(0,window.parseFloat)(h),k=e+h*Math.cos(p),h=f+h*Math.sin(p)),p=$.Qm($.cb(Math.atan(Math.abs(f-h)/Math.abs(e-k))),7),e<k&&f<h?p-=180:e<k&&f>h?p=180-p:e>k&&f>h||e>k&&f<h&&(p=-p),e=ZP($.ab(p-90)),b.o("labelAnchor",e),b.o("markerAnchor",e),e={x:k,
y:h}):(b.o("labelAnchor","center"),b.o("markerAnchor","center"))}else x=null;e?(e.connectorPoint={value:x},c=e):c=x;if(b=c&&c.connectorPoint)return delete c.connectorPoint,{connectorPoint:b,value:c}}return{value:c}};$.g.Rd=function(a){return $P(this)?new UP(this,a):VP.u.Rd.call(this,a)};var $R={};$.gq($R,0,"startSize",$.qq);$.gq($R,0,"endSize",$.qq);$.gq($R,0,"curvature",$.qq);$.U(VP,$R);
VP.prototype.F=function(){var a=VP.u.F.call(this);$.Hq(this,$R,a);a.seriesType=this.Na();a.overlapMode=this.YE;$.n(this.b)&&(a.geoIdField=this.b);return a};VP.prototype.X=function(a,b){VP.u.X.call(this,a,b);$.zq(this,$R,a);this.lN(a.overlapMode);this.EC(a.geoIdField)};var aS=VP.prototype;aS.overlapMode=aS.lN;aS.geoIdField=aS.EC;aS.transformXY=aS.t$;aS.getPoint=aS.Rd;$.H(fQ,$.iz);fQ.prototype.jw=function(){this.g||eQ(this.map.p2,1);fQ.u.jw.call(this)};fQ.prototype.Nl=function(){this.g||eQ(this.map.p2,0);fQ.u.Nl.call(this)};fQ.prototype.R=function(){fQ.u.R.call(this);this.map=null};$.H(gQ,fQ);gQ.prototype.QQ=function(a,b){var c=(a[b]-this.Td.$h)/this.Td.scale;var d=(a[b+1]-this.Td.Ti)/this.Td.scale;this.EI&&(d=this.EI.gj(c,d),c=d[0],d=d[1]);c=this.Td.Eo.forward(c,d);a[b]=c[0]*this.Td.scale+this.Td.$h;a[b+1]=c[1]*this.Td.scale+this.Td.Ti;this.FS.qL(a[b],a[b+1])};gQ.prototype.stop=function(a){$.gz(this);this.Xb=$.cz;a&&(this.Ed=1);iQ(this,this.Ed);this.Io("stop");this.Nl()};
gQ.prototype.HF=function(a){this.Xb!=$.cz&&(this.Ed=(a-this.j)/(this.D-this.j),1<=this.Ed&&(this.Ed=1),iQ(this,this.Ed),1==this.Ed?(this.Xb=$.cz,$.gz(this),this.wD(),this.Nl()):1==this.Xb&&this.Qm())};gQ.prototype.R=function(){gQ.u.R.call(this);this.Td=this.EI=this.Yr=null};$.H(jQ,fQ);jQ.prototype.jw=function(){this.G=$.Tm(this.b[0],this.f[0],1E-5)&&this.map.sJ;jQ.u.jw.call(this)};jQ.prototype.Qm=function(){this.G?oQ(this,this.coords[1],this.coords[2]):nQ(this,this.coords[0]);this.g||dQ(this.map).dispatchEvent(KR(this.map,"zoom"));jQ.u.Qm.call(this)};
jQ.prototype.wD=function(){if(this.map.Yr()){var a=this.coords[0],b=this.coords[1],c=this.coords[2];this.G?oQ(this,b,c):(b=this.map.gf.Gd,c=this.map.i("minZoomLevel"),!this.map.ur&&a<=c&&!$.yb(b)||this.map.dP==c?(this.map.gf.jc(c,0,0,c,0,0),this.map.Sp=c,this.map.scale().zoom=c,lQ(this.map.scale(),0,0),mQ(this.map)):nQ(this,a))}this.map.d2=this.map.ur;this.map.ur=!1;this.map.pl=window.NaN;jQ.u.wD.call(this)};
jQ.prototype.Nl=function(){this.g||dQ(this.map).dispatchEvent(KR(this.map,"zoomend"));jQ.u.Nl.call(this);this.map=this.map.ai=null;this.cd()};$.H(pQ,$.Y);$.g=pQ.prototype;$.g.qa=$.Y.prototype.qa;$.g.sa=$.Y.prototype.sa;$.g.i=$.Xq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(this.Y&&$.Zq(this.Y,this.Qc,this),(this.Y=a)&&$.L(this.Y,this.Qc,this)),this):this.Y};
$.g.Qc=function(a){var b=0;$.X(a,1)&&(b|=1);$.X(a,8)&&(b|=8);this.Rb=null;this.ta(b)};var hfa=pQ.prototype,bS={};$.gq(bS,1,"stroke",$.Dq);$.gq(bS,0,"length",$.N);$.gq(bS,0,"position",$.Qk);hfa.HJ=bS;$.U(pQ,pQ.prototype.HJ);$.g=pQ.prototype;$.g.orientation=function(a){return $.n(a)?(a=$.Fk(a),this.ih!=a&&(this.ih=a,this.Ko=null),this):this.ih};$.g.Hb=function(){var a=this.orientation();return"top"==a||"bottom"==a};$.g.remove=function(){this.path&&this.path.parent(null)};
$.g.$=function(){qQ(this);this.path.clear();this.path.stroke(this.i("stroke"));if(!this.Bc())return this;this.J(8)&&(this.path.zIndex(this.zIndex()),this.I(8));this.J(2)&&(this.path.parent(this.P()),this.I(2));return this};$.g.Pp=function(a){a=sQ(this,a);this.path.moveTo(a[0],a[1]);this.path.lineTo(a[2],a[3])};$.g.X=function(a,b){pQ.u.X.call(this,a,b);b?$.yq(this.ma,this.HJ,a):$.zq(this,this.HJ,a)};$.g.F=function(){var a=pQ.u.F.call(this);$.Hq(this,this.HJ,a,"Map axis ticks props");return a};
$.g.R=function(){$.qd(this.path);this.path=null;pQ.u.R.call(this)};$.H(uQ,$.Y);$.g=uQ.prototype;$.g.sa=$.Y.prototype.sa|976;$.g.qa=$.Y.prototype.qa|32768;$.g.line=null;$.g.kr="axis";$.g.Da=null;$.g.hb=null;$.g.oc=null;$.g.Nc=null;$.g.na=null;$.g.Ub=null;$.g.Qh=null;$.g.lk=null;$.g.i=$.Xq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};
$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(this.Y&&$.Zq(this.Y,this.Qc,this),(this.Y=a)&&$.L(this.Y,this.Qc,this)),this):this.Y};$.g.Qc=function(a){var b=0,c=0;$.X(a,1)&&(b|=16,c|=1);$.X(a,8)&&(b|=this.xe,c|=8);$.X(a,32768)&&(b|=1,c|=9);this.Rb=null;this.B(b,c)};var cS={};$.gq(cS,1,"stroke",$.Dq);$.gq(cS,0,"overlapMode",$.Ok);$.gq(cS,0,"drawFirstLabel",$.uq);$.gq(cS,0,"drawLastLabel",$.uq);$.U(uQ,cS);$.g=uQ.prototype;
$.g.title=function(a){this.sb||(this.sb=new $.Nv,this.sb.Ye(),this.sb.padding().Ye(),this.sb.margin().Ye(),$.W(this,"title",this.sb),this.sb.ib(this),this.sb.parent(this.parent().title()),$.L(this.sb,this.uq,this));return $.n(a)?(this.sb.K(a),this):this.sb};$.g.uq=function(a){var b=0,c=0;$.X(a,8)?(b=this.xe,c=9):$.X(a,1)&&(b=64,c=1);this.B(b,c)};
$.g.labels=function(a){this.Da||(this.Da=new $.Du,this.Da.Ye(),$.W(this,"labels",this.Da),this.Da.ib(this),$.L(this.Da,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Da.K(a),this):this.Da};$.g.Zd=function(a){var b=0,c=0;$.X(a,8)?(b=this.xe,c=9):$.X(a,1)&&(b=384,c=1);this.Qd();this.B(b,c)};
$.g.kb=function(a){this.oc||(this.oc=new $.Du,this.oc.Ye(),$.W(this,"minorLabels",this.oc),this.oc.ib(this),$.L(this.oc,this.z$,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.oc.K(a),this):this.oc};$.g.z$=function(a){var b=0,c=0;$.X(a,8)?(b=this.xe,c=9):$.X(a,1)&&(b=384,c=1);this.Qd();this.B(b,c)};$.g.Xk=function(){var a=new pQ;a.orientation(this.ih);a.ib(this);$.L(a,this.A$,this);return a};
$.g.Qa=function(a){this.hb||(this.hb=this.Xk(),this.hb.Ye(),$.W(this,"ticks",this.hb),this.hb.parent(this.parent().Qa()));return $.n(a)?(this.hb.K(a),this):this.hb};$.g.tb=function(a){this.Nc||(this.Nc=this.Xk(),this.Nc.Ye(),$.W(this,"minorTicks",this.Nc),this.Nc.parent(this.parent().tb()));return $.n(a)?(this.Nc.K(a),this):this.Nc};$.g.A$=function(a){var b=0,c=0;$.X(a,8)?(b=this.xe,c=9):$.X(a,1)&&(b=384,c=1);this.Qd();this.B(b,c)};
$.g.scale=function(a){return $.n(a)?(this.vn!=a&&(this.vn&&$.Zq(this.vn,this.Vh,this),(this.vn=a)&&$.L(this.vn,this.Vh,this),this.Qd(),$.Mu(this.labels()),$.Mu(this.kb()),this.Qa().na=this.vn,this.tb().na=this.vn,this.B(this.xe,9)),this):this.vn};$.g.Vh=function(a){$.X(a,2)&&(this.Qd(),$.Mu(this.labels()),$.Mu(this.kb()),this.B(this.xe,9))};$.g.orientation=function(a){return $.n(a)?(this.ih=a,this):this.ih};$.g.Hb=function(){return"top"==this.ih||"bottom"==this.ih};
$.g.My=function(a){this.Wa&&this.Wa.jc(a.ed,a.We,a.Me,a.Ee,a.Ad,a.xd)};
$.g.Px=function(){if(!this.Qj||this.J(512)){if("allow-overlap"==this.i("overlapMode"))return!1;var a=this.scale(),b=[],c=[];if(a){var d=-1,e=-1,f=-1,h=(this.Hb()?this.scale().Uw():this.scale().Vw()).get(),k=h.length,l,m,p,q=this.parent().labels(),r=this.labels().dd("enabled");q=void 0==r?q.enabled():r;var t=this.Hb()?this.scale().Ty():this.scale().Uy();r=this.i("drawFirstLabel");var u=this.i("drawLastLabel"),v=t.get();var w=t=0;var x=v.length,y=this.parent().kb();var B=this.kb().dd("enabled");for(y=
void 0==B?y.enabled():B;t<k||w<x;){var G=(0,window.parseFloat)(h[t]);B=(0,window.parseFloat)(v[w]);if(this.Hb()){var C=a.sr(G);var I=a.sr(B)}else C=a.qp(G),I=a.qp(B);B=G=l=m=null;if(-1==e&&q)for(p=t;-1==e&&p<k;){!p&&r||p==k-1&&u||0!=p&&p!=k-1?B=this.hd(p,!0,h):B=null;-1!=d?G=this.hd(d,!0,h):G=null;p!=k-1&&u?l=this.hd(k-1,!0,h):l=null;if(B&&!$.Zm(B,G)&&!$.Zm(B,l)){var P=this.Hb()?a.sr(h[p]):a.qp(h[p]);0>=P&&r||1<=P&&u?e=p:0<P&&1>P&&(e=p)}p++}C<=I&&t<k||w==x?(q&&t==e?(d=t,e=-1,b.push(!0)):b.push(!1),
t++,C==I&&(q||this.Qa().enabled())&&(c.push(!1),w++)):(y?(B=this.hd(w,!1,v),-1!=d&&(G=this.hd(d,!0,h)),-1!=e&&(l=this.hd(e,!0,h)),-1!=f&&(m=this.hd(f,!1,v)),C=(C=this.kb().Vd(w))?$.n(C.enabled())?C.enabled():!0:!0,$.Zm(B,G)||$.Zm(B,l)||$.Zm(B,m)||!C?c.push(!1):(P=this.Hb()?a.sr(v[w]):P=a.qp(v[w]),0>=P&&r||1<=P&&u?(f=w,c.push(!0)):0<P&&1>P?(f=w,c.push(!0)):c.push(!1))):c.push(!1),w++)}y||(c=!1)}q||(b=!1);this.Qj={labels:b,kb:c};this.I(512)}return this.Qj};
$.g.Vp=function(a,b){b=(0,window.parseFloat)(b);var c=Math.abs(b)%1;var d=Math.floor(Math.abs(b));var e=Math.floor(60*c);c=Math.floor(60*c%1*60);d+="°";if(c||e)10>e&&(e="0"+e),d+=e+"'";e=this.Hb()?0<b?"E":"W":0<b?"N":"S";d+=e;e=this.scale();e={axis:{value:this,type:""},scale:{value:e,type:""},index:{value:a,type:"number"},value:{value:d,type:"string"},tickValue:{value:b,type:"number"},max:{value:$.n(e.max)?e.max:null,type:"number"},min:{value:$.n(e.min)?e.min:null,type:"number"}};d={};d["%AxisName"]=
{value:this.title().text(),type:"string"};e=new $.rw(e);e.sm({"%AxisScaleMax":"max","%AxisScaleMin":"min"}).nl(d);return $.av(e)};$.g.JL=function(a,b){switch(this.ih){case "top":var c=$.cb(a)+90;break;case "right":c=$.cb(a);break;case "bottom":c=$.cb(a)-90;break;case "left":c=$.cb(a)-180}var d=(b?this.Qa():this.tb()).i("position");if("inside"==d||"center"==d)c+=180;return c};
$.g.hd=function(a,b,c){var d=b?this.Qh:this.lk;if($.n(d[a]))return d[a];var e=b?this.Qa():this.tb(),f=b?this.labels():this.kb(),h=b?this.parent().labels():this.parent().kb(),k=(0,window.parseFloat)(c[a]);c=sQ(e,k);var l=f.i("position")||h.i("position");l=$.Ao(l);var m=e.i("position");m=$.Ao(m);e.enabled()?0<m*l?(e=c[2],l=c[3]):0>m*l||m?(e=c[0],l=c[1]):(e=c[0]+(c[2]-c[0])/2,l=c[1]+(c[3]-c[1])/2):(e=c[0],l=c[1]);k=this.Vp(a,k);e={value:{x:e,y:l}};l=$.lN(h);f=$.lN(f);c=this.JL(c[4],b);b=vQ(this,b);$.Sc(l,
f);$.n(l.rotation)||(l.rotation=c);$.n(l.anchor)||(l.anchor=b);h=h.hl(k,e,l,a);return d[a]=h};$.g.qd=function(){var a=this.ja();return a?this.scale()&&this.i("enabled")?wQ(this,a):a.clone():new $.J(0,0,0,0)};$.g.ho=function(){this.Qd();this.B(this.xe,9)};$.g.Qd=function(){this.Qh.length=0;this.lk.length=0;this.Qj=null};
$.g.ce=function(a,b,c){var d=b?this.Qa():this.tb(),e=b?this.labels():this.kb(),f=b?this.parent().labels():this.parent().kb(),h=sQ(d,a),k=e.i("position")||f.i("position");k=$.Ao(k);var l=d.i("position");l=$.Ao(l);if(d.enabled())if(!l&&!k){var m=h[0]+(h[2]-h[0])/2;var p=h[1]+(h[3]-h[1])/2}else if(0<l*k||!l&&0>k)m=h[2],p=h[3];else{if(0>l*k||!k||!l&&0<k)m=h[0],p=h[1]}else m=h[0],p=h[1];a=this.Vp(c,a);c=e.add(a,{value:{x:m,y:p}},c);h=this.JL(h[4],b);$.n(h)&&(h=$.N(h),c.zd.rotation!==h&&(c.zd.rotation=
h,$.n(c.Ma.rotation)&&!(0,window.isNaN)(c.Ma.rotation)||c.B(16,9)));c.Vk(vQ(this,b));b=$.lN(e);$.n(b.enabled)&&null==b.enabled&&delete b.enabled;$.Qu(c,[c,b,"auto",f,e.ma,f.ma])};
$.g.y$=function(){var a=this.scale(),b=a.precision()[0],c=a.hq(),d=a.eq(),e=a.fq(),f=c;if(!(0,window.isNaN)(f))if(RP(a.Td["default"].zg)){var h=a.transform(c,e,null);this.line.moveTo(h[0],h[1]);h=a.transform(d,e,null);this.line.lineTo(h[0],h[1])}else{for(;f<d;){h=a.transform(f,e,null);var k=h[0];h=h[1];f==c?this.line.moveTo(k,h):this.line.lineTo(k,h);f+=b}h=a.transform(d,e,null);k=Math.round(h[0]);h=Math.round(h[1]);this.line.lineTo(k,h)}};
$.g.x$=function(){var a=this.scale(),b=a.precision()[1],c=a.eq(),d=a.iq(),e=a.fq(),f=d;if(!(0,window.isNaN)(f))if(RP(a.Td["default"].zg)){var h=a.transform(c,d,null);this.line.moveTo(h[0],h[1]);h=a.transform(c,e,null);this.line.lineTo(h[0],h[1])}else{for(;f<e;){h=a.transform(c,f,null);var k=h[0];h=h[1];f==d?this.line.moveTo(k,h):this.line.lineTo(k,h);f+=b}h=a.transform(c,e,null);k=Math.round(h[0]);h=Math.round(h[1]);this.line.lineTo(k,h)}};
$.g.v$=function(){var a=this.scale(),b=a.precision()[0],c=a.hq(),d=a.eq(),e=a.iq(),f=c;if(!(0,window.isNaN)(f))if(RP(a.Td["default"].zg)){var h=a.transform(c,e,null);this.line.moveTo(h[0],h[1]);h=a.transform(d,e,null);this.line.lineTo(h[0],h[1])}else{for(;f<d;){h=a.transform(f,e,null);var k=h[0];h=h[1];f==c?this.line.moveTo(k,h):this.line.lineTo(k,h);f+=b}h=a.transform(d,e,null);k=Math.round(h[0]);h=Math.round(h[1]);this.line.lineTo(k,h)}};
$.g.w$=function(){var a=this.scale(),b=a.precision()[1],c=a.hq(),d=a.iq(),e=a.fq(),f=d;if(!(0,window.isNaN)(f))if(RP(a.Td["default"].zg)){var h=a.transform(c,d,null);this.line.moveTo(h[0],h[1]);h=a.transform(c,e,null);this.line.lineTo(h[0],h[1])}else{for(;f<e;){h=a.transform(c,f,null);var k=h[0];h=h[1];f==d?this.line.moveTo(k,h):this.line.lineTo(k,h);f+=b}h=a.transform(c,e,null);k=Math.round(h[0]);h=Math.round(h[1]);this.line.lineTo(k,h)}};
$.g.Np=function(){xQ(this).clear();switch(this.ih){case "top":var a=this.y$;break;case "right":a=this.x$;break;case "bottom":a=this.v$;break;case "left":a=this.w$}a.call(this);this.line.stroke(this.i("stroke"))};$.g.remove=function(){this.Wa&&this.Wa.parent(null)};$.g.Bc=function(){if(this.ef())return!1;if(!this.i("enabled"))return this.J(1)&&(this.remove(),this.I(1),this.title().B(2),this.Qa().B(2),this.tb().B(2),this.labels().B(2),this.kb().B(2),this.B(2|this.xe)),!1;this.I(1);return!0};
$.g.$=function(){var a=this.scale();if(!a)return $.cl(2),this;a.ob();if(!this.Bc())return this;this.Wa||(this.Wa=$.lk(),this.title().P(this.Wa),xQ(this).parent(this.Wa),this.Qa().P(this.Wa),this.tb().P(this.Wa),this.labels().P(this.Wa),this.kb().P(this.Wa));var b=this.ih;$.V(this.title());$.V(this.labels());$.V(this.kb());$.V(this.Qa());$.V(this.tb());this.J(16)&&(this.Np(),this.I(16));if(this.J(8)){var c=this.zIndex();this.Wa.zIndex(c);xQ(this).zIndex(1);this.I(8)}this.J(2)&&(c=this.P(),this.Wa.parent(c),
this.I(2));this.J(64)&&(c=this.title(),c.i("enabled")&&c.ja(wQ(this)),$.Qv(c,b),c.$(),this.I(64));if(this.J(256)){var d=this.Qa();d.$();if(d.enabled())var e=d.Pp;var f=this.tb();f.$();if(f.enabled())var h=d.Pp;this.I(256)}if(this.J(128)){var k=this.labels();k.P()||k.P(this.P());k.ja(this.ja());k.clear();k=this.labels().dd("enabled");k=void 0==k?this.parent().labels().enabled():k;var l=this.kb();l.P()||l.P(this.P());l.ja(this.ja());l.clear();l=this.kb().dd("enabled");l=void 0==l?this.parent().kb().enabled():
l;this.I(128)}if($.n(e)||$.n(h)||k||l){b=(this.Hb()?this.scale().Uw():this.scale().Vw()).get();c=b.length;var m=this.Px();if($.D(m)){l=m.labels;var p=m.kb}else l=!m,p=!m;var q=(this.Hb()?this.scale().Ty():this.scale().Uy()).get();var r=m=0;for(var t=q.length,u;m<c||r<t;){var v=(0,window.parseFloat)(b[m]);var w=(0,window.parseFloat)(q[r]);if(this.Hb()){var x=a.sr(v);u=a.sr(w)}else x=a.qp(v),u=a.qp(w);if(x<=u&&m<c||r==t){var y=$.A(l)?l[m]:l;$.da(l)&&(m||(y=y&&this.i("drawFirstLabel")),m==c-1&&(y=y&&
this.i("drawLastLabel")));(w=$.A(l)&&l[m]||$.da(l))&&e&&e.call(d,v);y&&this.ce(v,!0,m);y=x;m++}else{if(!e&&!k||y!=u)x=$.A(p)?p[r]:p,(v=$.A(p)&&p[r]||$.da(p))&&h&&h.call(f,w),x&&this.ce(w,!1,r);r++}}p&&($.Mu(this.parent().kb()),$.Mu(this.kb()),this.kb().$());$.Mu(this.parent().labels());$.Mu(this.labels());this.labels().$()}this.title().da(!1);this.labels().da(!1);this.kb().da(!1);this.Qa().da(!1);this.tb().da(!1);this.I(4);return this};
$.g.X=function(a,b){uQ.u.X.call(this,a,b);$.zq(this,cS,a,b);this.title().ia(!!b,a.title);this.labels().ia(!!b,a.labels);this.kb().ia(!!b,a.minorLabels);this.Qa().ia(!!b,a.ticks);this.tb().ia(!!b,a.minorTicks)};
$.g.F=function(){var a=uQ.u.F.call(this),b=this.title().F();$.Jc(b)||(a.title=b);b=this.Qa().F();$.Jc(b)||(a.ticks=b);b=this.tb().F();$.Jc(b)||(a.minorTicks=b);b=$.lN(this.labels());$.Jc(b)||(a.labels=b);b=$.lN(this.kb());$.Jc(b)||(a.minorLabels=b);$.Hq(this,cS,a,"Map "+this.ih+" axis props");return a};$.g.R=function(){$.td(this.sb,this.Da,this.oc,this.hb,this.Nc);this.Nc=this.hb=this.oc=this.Da=this.sb=null;uQ.u.R.call(this)};var dS=uQ.prototype;dS.title=dS.title;dS.labels=dS.labels;
dS.minorLabels=dS.kb;dS.ticks=dS.Qa;dS.minorTicks=dS.tb;$.H(yQ,$.Yq);$.g=yQ.prototype;$.g.sa=985;$.g.qa=32777;$.g.i=$.Xq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};var eS={};$.hq(eS,[$.Z.Jn,$.Z.uB,$.Z.kP,$.Z.lP,$.Z.mP]);$.U(yQ,eS);$.g=yQ.prototype;$.g.hm=function(){return this.G};
$.g.top=function(a){this.j||(this.j=new uQ,this.j.Ye(),$.W(this,"top",this.j),this.j.orientation("top"),this.j.parent(this),$.L(this.j,this.D.bN,this.D),this.j.Mh=fS+0*gS,this.G[0]=this.j);return $.n(a)?(this.j.K(a),this):this.j};$.g.right=function(a){this.g||(this.g=new uQ,this.g.Ye(),$.W(this,"right",this.g),this.g.orientation("right"),this.g.parent(this),$.L(this.g,this.D.bN,this.D),this.g.Mh=fS+gS,this.G[1]=this.g);return $.n(a)?(this.g.K(a),this):this.g};
$.g.bottom=function(a){this.b||(this.b=new uQ,this.b.Ye(),$.W(this,"bottom",this.b),this.b.orientation("bottom"),this.b.parent(this),$.L(this.b,this.D.bN,this.D),this.b.Mh=fS+2*gS,this.G[2]=this.b);return $.n(a)?(this.b.K(a),this):this.b};$.g.left=function(a){this.f||(this.f=new uQ,this.f.Ye(),$.W(this,"left",this.f),this.f.orientation("left"),this.f.parent(this),$.L(this.f,this.D.bN,this.D),this.f.Mh=fS+3*gS,this.G[3]=this.f);return $.n(a)?(this.f.K(a),this):this.f};
$.g.title=function(a){this.sb||(this.sb=new $.Nv,$.W(this,"title",this.sb),$.L(this.sb,this.uq,this),this.sb.I(4294967295));return $.n(a)?(this.sb.K(a),this.sb.I(4294967295),this):this.sb};$.g.uq=function(){this.sb.I(4294967295)};$.g.labels=function(a){this.Da||(this.Da=new $.Du,$.W(this,"labels",this.Da),this.Da.X(this.Da.ma,!0),$.L(this.Da,this.Zd,this),this.Da.I(4294967295));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Da.K(a),this.Da.I(4294967295),this):this.Da};
$.g.Zd=function(a){this.Da.I(4294967295);var b=0;$.X(a,8)?b=9:$.X(a,1)&&(b=1);this.ta(b)};$.g.kb=function(a){this.oc||(this.oc=new $.Du,$.W(this,"minorLabels",this.oc),this.oc.X(this.oc.ma,!0),$.L(this.oc,this.u$,this),this.oc.I(4294967295));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.oc.K(a),this.oc.I(4294967295),this):this.oc};$.g.u$=function(a){this.oc.I(4294967295);var b=0;$.X(a,8)?b=9:$.X(a,1)&&(b=1);this.ta(b)};
$.g.Qa=function(a){this.hb||(this.hb=new pQ,$.W(this,"ticks",this.hb),$.L(this.hb,this.Yh,this));return $.n(a)?(this.hb.K(a),this):this.hb};$.g.tb=function(a){this.Nc||(this.Nc=new pQ,$.W(this,"minorTicks",this.Nc),$.L(this.Nc,this.Yh,this));return $.n(a)?(this.Nc.K(a),this):this.Nc};$.g.Yh=function(a){var b=0;$.X(a,8)?b=9:$.X(a,1)&&(b=1);this.ta(b)};$.g.Od=function(a){return $.da(a)||null===a?{enabled:!!a}:null};
$.g.Ce=function(a,b){var c=this.Od(b);return c?(a?this.ma.enabled=c.enabled:this.enabled(c.enabled),!0):!1};$.g.sg=function(a,b){var c=$.n(b)?b:{};this.left().ia(!!a,c.left);this.top().ia(!!a,c.top);this.right().ia(!!a,c.right);this.bottom().ia(!!a,c.bottom)};
$.g.X=function(a,b){$.V(this.D);$.zq(this,eS,a,b);b||this.enabled("enabled"in a?a.enabled:!0);this.title().ia(!!b,a.title);this.Qa().ia(!!b,a.ticks);this.tb().ia(!!b,a.minorTicks);this.labels().ia(!!b,a.labels);this.kb().ia(!!b,a.minorLabels);this.sg(!!b,a);this.D.da(!0)};
$.g.F=function(){var a={};if(this.f){var b=this.f.F();$.Jc(b)||(a.left=b)}this.j&&(b=this.j.F(),$.Jc(b)||(a.top=b));this.g&&(b=this.g.F(),$.Jc(b)||(a.right=b));this.b&&(b=this.b.F(),$.Jc(b)||(a.bottom=b));a.title=this.title().F();a.ticks=this.Qa().F();a.minorTicks=this.tb().F();a.labels=this.labels().F();a.minorLabels=this.kb().F();$.Hq(this,eS,a,"Map axes props");return a};
$.g.R=function(){$.td(this.j,this.g,this.b,this.f,this.sb,this.Da,this.oc,this.hb,this.Nc);this.f=this.b=this.g=this.j=null;this.G.length=0;this.Nc=this.hb=this.oc=this.Da=this.sb=null;yQ.u.R.call(this)};var hS=yQ.prototype;hS.left=hS.left;hS.top=hS.top;hS.right=hS.right;hS.bottom=hS.bottom;hS.title=hS.title;hS.ticks=hS.Qa;hS.minorTicks=hS.tb;hS.labels=hS.labels;hS.minorLabels=hS.kb;$.H(zQ,$.Y);$.xq(zQ,["labels"],"normal");var iS=function(){var a={};$.hq(a,[[0,"orientation",function(a){return $.Fk(a,"right")}],$.Z.kJ,$.Z.mJ,$.Z.nJ]);return a}();$.U(zQ,iS);$.g=zQ.prototype;$.g.sa=$.Y.prototype.sa|448;$.g.qa=$.Y.prototype.qa;$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};
$.g.Zd=function(a){var b=0,c=0;$.X(a,8)?(b=this.xe,c=9):$.X(a,1)&&(b=128,c=1);this.B(b,c)};$.g.padding=function(a,b,c,d){this.Pa||(this.Pa=new $.tu,$.W(this,"padding",this.Pa),$.L(this.Pa,this.vk,this));return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this):this.Pa};$.g.margin=function(a,b,c,d){this.Mc||(this.Mc=new $.zv,$.W(this,"margin",this.Mc),$.L(this.Mc,this.vk,this));return $.n(a)?(this.Mc.K.apply(this.Mc,arguments),this):this.Mc};$.g.vk=function(a){$.X(a,2)&&this.B(4,9)};
$.g.items=function(a){return $.n(a)?(this.Qb!=a&&(this.Qb=a,this.B(16,1)),this):this.Qb||[]};$.g.background=function(a){this.Ka||(this.Ka=new $.ku,$.W(this,"background",this.Ka),$.L(this.Ka,this.gg,this));return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.gg=function(a){$.X(a,1)&&this.B(256,1)};$.g.title=function(a){this.sb||(this.sb=new $.Nv,$.W(this,"title",this.sb),$.L(this.sb,this.uq,this));return $.n(a)?(this.sb.K(a),this):this.sb};
$.g.uq=function(a){var b=0,c=0;$.X(a,8)?(b=this.xe,c=9):$.X(a,1)&&(b=64,c=1);this.B(b,c)};$.g.My=function(){for(var a=0,b=this.Sa().labels().tH();a<b;a++){var c=this.Sa().labels().Vd(a),d=c.Zg,e=this.g[a],f=e.Ue();f.vc().select(e.la());c=this.Ai(c.la()).value;f=cQ(f);d.clear().moveTo(c.x,c.y).lineTo(f.x,f.y)}};$.g.sh=function(a){var b=this.g[$.n(a.labelIndex)?a.labelIndex:a.domTarget.Xea];a.domTarget.tag={W:b.Ue(),index:b.la()};a.pointIndex=b.la()};
$.g.Hb=function(){var a=this.i("orientation");return"top"==a||"bottom"==a};$.g.jm=function(){this.Dd||(this.Dd=$.lk());return this.Dd};$.g.qd=function(){var a=this.ja();if(a){a=a.clone();if(this.enabled()){var b=this.lb(),c=b.height;b=b.width;switch(this.i("orientation")){case "top":a.height-=c;a.top+=c;break;case "right":a.width-=b;break;case "bottom":a.height-=c;break;case "left":a.width-=b,a.left+=b}}return a}return new $.J(0,0,0,0)};
$.g.lb=function(){if(!this.N||this.J(4)){var a=this.ja();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.Hb()){var b=a.width;var c=a.height}else b=a.height,c=a.width;var d=0,e=0;this.f=this.b=null;for(var f=0,h=this.g.length;f<h;f++){var k=this.g[f],l=new $.Hu;AQ(this,k,l);$.Mu($.Nu(l));k=l.ic("enabled")?$.Nu(l).measure(l):$.gn(0,0,0,0);$.Mu($.Nu(l));k.height>e&&(e=k.height);k.width>d&&(d=k.width)}this.Hb()||(f=d,d=e,e=f);f=
this.g.length;var m=null==this.i("length"),p=null==this.i("width"),q=null!=this.i("length")?$.M(this.i("length"),b):d*f,r=null!=this.i("width")?$.M(this.i("width"),c):e;d=e=0;var t=!1,u=!1;h=this.title();h.enabled()&&(h.P()||h.P(this.P()),$.V(h),h.ja(a),$.Qv(h,this.i("orientation")),this.Hb()?(e=h.gi().height,d=h.gi().width):(e=h.gi().width,d=h.gi().height),t=h.i("orientation")||$.Qv(h),"top"==t||"bottom"==t?(t=this.Hb(),u=!this.Hb()):(t=!this.Hb(),u=this.Hb()),h.da(!1));var v=this.padding();l=$.M(v.i("top"),
a.height);k=$.M(v.i("right"),a.width);var w=$.M(v.i("bottom"),a.height);v=$.M(v.i("left"),a.width);var x=this.margin(),y=$.M(x.i("top"),a.height),B=$.M(x.i("right"),a.width),G=$.M(x.i("bottom"),a.height);x=$.M(x.i("left"),a.width);m&&!p?(m=r-(t?e:0),q=Math.min(u?m*f+d:Math.max(m*f,d),b),this.b=(q-(u?d:0))/f,this.f=m):!m&&p?(m=(q-(u?d:0))/f,r=Math.min(t?m+e:Math.max(m,e),c),this.b=m,this.f=r-(t?e:0)):m&&p?(c=Math.min(q,b-(u?d:0))/f,q=Math.max(r,u?e:0),m=Math.max(c,q)*f+w+l+G+y>b?(b-(w+l+G+y)-(u?d:
0))/f:Math.max(c,q),q=u?m*f+d:Math.max(m*f,d),r=t?m+e:Math.max(m,e),this.f=this.b=m):(this.b=(q-(u?d:0))/f,this.f=r-(t?e:0));c=this.i("align");var C;this.Hb()?(q+k+v+B+x>b&&(q=b-(k+v+B+x)),"left"==c||"top"==c?C=v+x:"right"==c||"bottom"==c?C=b-q-k-B:"center"==c&&(C=(b-q)/2)):(q+w+l+G+y>b&&(q=b-(w+l+G+y)),"left"==c||"top"==c?C=l+y:"right"==c||"bottom"==c?C=b-q-w-G:"center"==c&&(C=(b-q)/2));switch(this.i("orientation")){case "top":var I=a.top+l+y;var P=a.left+C;var Q=r;var S=q;this.D=new $.J(P,I,this.b,
this.f);break;case "right":I=a.top+C;P=a.left+a.width-r-k-B;Q=q;S=r;this.D=new $.J(P,I,this.f,this.b);break;case "bottom":I=a.top+a.height-r-w-G;P=a.left+C;Q=r;S=q;this.D=new $.J(P,I,this.b,this.f);break;case "left":I=a.top+C,P=a.left+v+x,Q=q,S=r,this.D=new $.J(P,I,this.f,this.b)}if(h.enabled())switch(t=h.i("orientation")||$.Qv(h),t){case "top":this.D.left=P;this.D.top=I+(this.Hb()?e:d);break;case "left":this.D.left=P+(this.Hb()?d:e),this.D.top=I}this.Xf=new $.J(Math.round(P),Math.round(I),Math.round(S),
Math.round(Q));this.G=new $.J(this.Xf.left-v,this.Xf.top-l,this.Xf.width+v+k,this.Xf.height+l+w);this.N=new $.J(this.G.left-x,this.G.top-y,this.G.width+x+B,this.G.height+y+G)}else this.N=new $.J(0,0,0,0);this.B(this.xe);this.I(4)}return this.N};
$.g.Ai=function(a){if(null===this.b||null===this.f)return{value:{x:0,y:0}};var b=this.D;switch(this.i("orientation")){case "top":var c=b.left+this.b*a+this.b/2;var d=b.top+this.f;break;case "right":c=b.left;d=b.top+this.b*a+this.b/2;break;case "bottom":c=b.left+this.b*a+this.b/2;d=b.top;break;case "left":c=b.left+this.f,d=b.top+this.b*a+this.b/2}return{value:{x:c,y:d}}};
$.g.$=function(){if(!this.Bc())return this;var a=this.Sa().labels();!this.Aa&&this.g&&this.g.length&&(this.Aa=this.g[0].mc(),$.Id(this.Aa,"pointshover",function(b){b=b.seriesStatus;for(var c=0,d=this.g.length;c<d;c++)for(var h=this.g[c],k=h.la(),l=0,m=b.length;l<m;l++){var p=b[l];var q=p.series;if(q==h.Ue()){var r=!1;p=p.points;for(var t=0,u=p.length;t<u;t++){var v=p[t];if(h.la()==v.index){q=AQ(this,h,a.Vd(c),$.$w(q.state,k));q.$();$.Mu($.Nu(q));r=!0;break}}r||h.state!=$.po||(q=AQ(this,h,a.Vd(c),
$.Zl),q.$(),$.Mu($.Nu(q)))}}},!1,this),$.Id(this.Aa,"pointsselect",function(b){b=b.seriesStatus;for(var c=0,d=this.g.length;c<d;c++)for(var h=this.g[c],k=h.la(),l=0,m=b.length;l<m;l++){var p=b[l],q=p.series;if(q==h.Ue()){var r=!1;p=p.points;for(var t=0,u=p.length;t<u;t++){var v=p[t];if(h.la()==v.index){r=AQ(this,h,a.Vd(c),$.$w(q.state,k));r.$();$.Mu($.Nu(r));r=!0;break}}!r&&h.state&$.qo&&(r=AQ(this,h,a.Vd(c),$.$w(q.state,k)),r.$(),$.Mu($.Nu(r)))}}},!1,this));this.jm();this.j||(this.j=new $.JB(function(){return $.nk()},
function(a){a.clear()},void 0,this),$.du(this,this.j),this.j.ib(this));$.V(this.title());$.V(a);if(this.J(8)){var b=this.zIndex();this.Dd.zIndex(b);this.title().zIndex(2);a.zIndex(1);this.background().zIndex(0);this.j.zIndex(1.1);this.I(8)}this.J(2)&&(b=this.P(),this.Dd.parent(b),this.title().P(this.Dd),a.P(this.Dd),this.background().P(this.Dd),this.j.parent(this.Dd),this.I(2));this.J(256)&&(b=this.background(),$.V(b),b.ja(this.G),b.P(this.Dd),b.$(),b.da(!1),this.I(256));this.J(64)&&(b=this.title(),
b.ja(this.Xf),b.$(),this.I(64));if(this.J(128)){this.j.clear();Xea(this);a.B(8);a.$();b=0;for(var c=a.tH();b<c;b++)$.Mu($.Nu(a.Vd(b)));this.I(128)}this.title().da(!1);a.da(!1);return this};$.g.remove=function(){this.sb&&this.sb.remove();this.Da&&this.Da.remove()};$.g.ld=function(){this.ca.Fa(this.ma);$.W(this,"normal",this.ca);this.ca.K(this.ca.ma);$.W(this,"hovered",this.xa);this.xa.K(this.xa.ma);$.W(this,"selected",this.Ca);this.Ca.K(this.Ca.ma)};
$.g.F=function(){var a=zQ.u.F.call(this);$.Hq(this,iS,a);a.title=this.title().F();a.background=this.background().F();a.padding=this.padding().F();a.margin=this.margin().F();a.items=this.items();a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();return a};
$.g.X=function(a,b){$.V(this);zQ.u.X.call(this,a,b);$.zq(this,iS,a);"title"in a&&this.title(a.title);"background"in a&&this.background(a.background);"padding"in a&&this.padding(a.padding);"margin"in a&&this.margin(a.margin);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected);this.items(a.items);this.da(!0)};$.g.R=function(){$.td(this.Pa,this.Mc,this.Ka,this.sb);this.G=this.sb=this.Ka=this.Mc=this.Pa=null;zQ.u.R.call(this)};var jS=zQ.prototype;jS.title=jS.title;
jS.normal=jS.Sa;jS.hovered=jS.mb;jS.selected=jS.selected;jS.background=jS.background;jS.padding=jS.padding;jS.margin=jS.margin;jS.items=jS.items;$.H(BQ,$.$z);$.g=BQ.prototype;
$.g.show=function(a){var b=[],c=$.hA(this);if(a=c.es(a))if((0,$.Qe)(a,function(a){a.series.enabled()&&0!=a.points.length&&b.push(a)},this),0==b.length)this.Oc();else{var d=b[0];(0,$.Qe)(b,function(a){d.nearestPointToCursor.distance>a.nearestPointToCursor.distance&&(d=a)});a=this.i("xStroke");var e=this.i("yStroke"),f=d.series,h=f.aa();h.select(d.nearestPointToCursor.point.index);var k=$.N(h.o("x"));h=$.N(h.o("value"));if((0,window.isNaN)(k)||(0,window.isNaN)(h))h=bQ(f).value,k=h.x,h=h.y;c=c.scale();
h=c.Fc(k,h);k=h[0];h=h[1];f=c.sr(k);c=c.qp(h);this.fi($.aA(this),!0,f,a,k);this.fi($.bA(this),!1,c,e,h)}};
$.g.update=function(a,b){if(this.enabled()){var c,d;$.n(a)?c=(0,window.parseFloat)(a):c=$.n(this.EU)?this.EU:0;$.n(b)?d=(0,window.parseFloat)(b):d=$.n(this.FU)?this.FU:0;c=$.hA(this).mT(c,d);var e=$.hA(this).Fc(c.x,c.y);c=e["long"];d=e.lat;var f=$.hA(this).scale(),h=f.sr(e.x);e=f.qp(e.y);f=this.i("xStroke");var k=this.i("yStroke");0<h&&1>h&&0<e&&1>e?(this.fi($.aA(this),!0,h,f,c),this.fi($.bA(this),!1,h,k,d)):this.Oc()}};
$.g.rg=function(a){this.EU=a.clientX;this.FU=a.clientY;"sticky"!=this.i("displayMode")&&this.update(a.clientX,a.clientY)};$.g.Gg=function(a){if(!$.no($.hA(this),a.relatedTarget)){this.EU=a.clientX;this.FU=a.clientY;a=$.hA(this).mT(a.clientX,a.clientY);var b=$.hA(this).Fc(a.x,a.y),c=$.hA(this).scale();a=c.sr(b.x);b=c.qp(b.y);(0>a||1<a||0>b||1<b)&&this.Oc()}};
$.g.$=function(){if(!this.Bc())return this;this.Wa||(this.Wa=$.lk(),this.wr.parent(this.Wa),this.zr.parent(this.Wa));this.J(16)&&(this.wr.stroke(this.i("xStroke")),this.zr.stroke(this.i("yStroke")),this.I(16));var a=$.Ga($.aA(this),$.bA(this));if(this.J(2)){var b=this.P();this.Wa.parent(b);$.fA(a,this.Wa);this.I(2)}this.J(8)&&(b=this.zIndex(),this.Wa.zIndex(b),this.I(8));this.J(4)&&(b=this.ja(),$.gA(a,b),this.I(4));return this};
$.g.Np=function(a,b,c){var d=$.hA(this).scale(),e=0==this.wr.Nk()%2?0:-.5,f=0==this.zr.Nk()%2?0:-.5;b.clear();if(a.Hb()){var h=d.precision()[1];for(f=d.iq();f<d.fq();)a=d.transform(c,f,null),f==d.iq()?b.moveTo(a[0]-e,a[1]):b.lineTo(a[0]-e,a[1]),f+=h;a=d.transform(c,d.fq(),null);b.lineTo(a[0]-e,a[1])}else{h=d.precision()[0];for(e=d.hq();e<d.eq();)a=d.transform(e,c,null),e==d.hq()?b.moveTo(a[0],a[1]-f):b.lineTo(a[0],a[1]-f),e+=h;a=d.transform(d.eq(),c,null);b.lineTo(a[0],a[1]-f)}};
$.g.yf=function(a,b,c){var d=this.Vp(a,c),e=b.format()||$.Xo;b.text(e.call(d,d));b.Vk($.eA(a));c=sQ(a.Qa(),c);b.x(c[0]).y(c[1]);b.rotation(this.JL(a,c[4]));b.P(this.Wa).$()};$.g.JL=function(a,b){switch(a.orientation()){case "top":var c=$.cb(b)+90;break;case "right":c=$.cb(b);break;case "bottom":c=$.cb(b)-90;break;case "left":c=$.cb(b)-180}return c};
$.g.Vp=function(a,b){b=(0,window.parseFloat)(b);var c=Math.abs(b)%1;var d=Math.floor(Math.abs(b));var e=Math.floor(60*c);c=Math.floor(60*c%1*60);d+="°";if(c||e)10>e&&(e="0"+e),d+=e+"'";e=a.Hb()?0<b?"E":"W":0<b?"N":"S";d+=e;e=a.scale();e={axis:{value:a,type:""},scale:{value:e,type:""},index:{value:window.NaN,type:"number"},value:{value:d,type:"string"},tickValue:{value:b,type:"number"},max:{value:$.n(e.max)?e.max:null,type:"number"},min:{value:$.n(e.min)?e.min:null,type:"number"}};d={};d["%AxisName"]=
{value:a.title().text(),type:"string"};e=new $.rw(e);e.sm({"%AxisScaleMax":"max","%AxisScaleMin":"min"}).nl(d);return $.av(e)};$.g.fi=function(a,b,c,d,e){var f=$.hA(this),h,k=!1,l=b?f.Rx:f.Tx,m=b?this.LT:this.MT;b=b?this.wr:this.zr;var p=d&&"none"!=d;for(d=0;d<a.length;d++)if(h=a[d]){var q=h.i("axisIndex");(q=l.call(f,q))&&$.n(q.scale().Fc(0))&&0<c&&1>c?(!k&&p&&(this.Np(q,b,e),k=!0),h.enabled()&&this.yf(q,h,e)):m.call(this,h)}};$.H(CQ,$.Wy);var ifa=CQ.prototype,kS=$.Wy.prototype.dz;$.gq(kS,1,"minorStroke",$.Dq);ifa.dz=kS;$.U(CQ,CQ.prototype.dz);$.g=CQ.prototype;$.g.scale=function(a){$.n(a)&&this.na!=a&&(this.na&&$.Zq(this.na,this.kg,this),(this.na=a)&&$.L(this.na,this.kg,this),this.B(68,9));return this.na||this.b&&this.b.scale()||null};$.g.kg=function(a){var b=0;$.X(a,4)&&(b|=4);$.X(a,2)&&(b|=1);this.B(20,b)};
$.g.Gh=function(a){var b=a?this.j:this.g;b||(a?(b=this.j=$.nk(),b.zIndex(1)):(b=this.g=$.nk(),b.zIndex(0)),b.td(!0).Lp(!0),b.parent(this.va));return b};$.g.LY=function(){var a=$.nk();a.parent(this.va).zIndex(3).stroke("none");return a};$.g.My=function(a){this.va&&this.va.jc(a.ed,a.We,a.Me,a.Ee,a.Ad,a.xd)};$.g.Pu=function(){this.va||(this.va=$.lk())};$.g.WJ=function(){var a=this.P();this.va.parent(a)};$.g.OB=function(){var a=this.zIndex();this.va.zIndex(a)};
$.g.tca=function(a,b,c,d){c=this.na;var e=c.hq(),f=c.eq();if(RP(c.Td["default"].zg)){var h=c.transform(e,a,null);b.moveTo(h[0],h[1]);h=c.transform(f,a,null);b.lineTo(h[0],h[1])}else{for(var k=e;k<f;)h=c.transform(k,a,null),k==e?b.moveTo(h[0],h[1]):b.lineTo(h[0],h[1]),k+=d;h=c.transform(f,a,null);b.lineTo(h[0],h[1])}};
$.g.sca=function(a,b,c,d){c=this.na;var e=c.iq(),f=c.fq();if(RP(c.Td["default"].zg)){var h=c.transform(a,e,null);b.moveTo(h[0],h[1]);h=c.transform(a,f,null);b.lineTo(h[0],h[1])}else{for(var k=e;k<f;)h=c.transform(a,k,null),k==e?b.moveTo(h[0],h[1]):b.lineTo(h[0],h[1]),k+=d;h=c.transform(a,f,null);b.lineTo(h[0],h[1])}};
$.g.rca=function(a,b,c,d,e,f){c=this.na;e=c.hq();var h=c.eq(),k=c.iq();(0,window.isNaN)(b)&&a!=k&&(b=k);if(!(0,window.isNaN)(b)){var l;if(RP(c.Td["default"].zg))k=c.transform(e,a,null),d.moveTo(k[0],k[1]),k=c.transform(h,a,null),d.lineTo(k[0],k[1]),k=c.transform(h,a,null),d.lineTo(k[0],k[1]),k=c.transform(h,b,null),d.lineTo(k[0],k[1]),k=c.transform(h,b,null),d.lineTo(k[0],k[1]),k=c.transform(e,b,null),d.lineTo(k[0],k[1]),k=c.transform(e,b,null),d.lineTo(k[0],k[1]);else{for(l=e;l<h;)k=c.transform(l,
a,null),l==e?d.moveTo(k[0],k[1]):d.lineTo(k[0],k[1]),l+=f;k=c.transform(h,a,null);d.lineTo(k[0],k[1]);for(l=a;l>b;)k=c.transform(h,l,null),d.lineTo(k[0],k[1]),l-=f;k=c.transform(h,b,null);d.lineTo(k[0],k[1]);for(l=h;l>e;)k=c.transform(l,b,null),d.lineTo(k[0],k[1]),l-=f;k=c.transform(e,b,null);d.lineTo(k[0],k[1]);for(l=b;l<a;)k=c.transform(e,l,null),d.lineTo(k[0],k[1]),l+=f}k=c.transform(e,a,null);d.lineTo(k[0],k[1]);d.close()}};
$.g.qca=function(a,b,c,d,e,f){c=this.na;var h=c.hq();e=c.iq();var k=c.fq();(0,window.isNaN)(b)&&a!=h&&(b=h);if(!(0,window.isNaN)(b)){var l;if(RP(c.Td["default"].zg))h=c.transform(b,e,null),d.moveTo(h[0],h[1]),h=c.transform(a,e,null),d.lineTo(h[0],h[1]),h=c.transform(a,e,null),d.lineTo(h[0],h[1]),h=c.transform(a,k,null),d.lineTo(h[0],h[1]),h=c.transform(a,k,null),d.lineTo(h[0],h[1]),h=c.transform(b,k,null),d.lineTo(h[0],h[1]),h=c.transform(b,k,null),d.lineTo(h[0],h[1]);else{for(l=b;l<a;)h=c.transform(l,
e,null),l==b?d.moveTo(h[0],h[1]):d.lineTo(h[0],h[1]),l+=f;h=c.transform(a,e,null);d.lineTo(h[0],h[1]);for(l=e;l<k;)h=c.transform(a,l,null),d.lineTo(h[0],h[1]),l+=f;h=c.transform(a,k,null);d.lineTo(h[0],h[1]);for(l=a;l>b;)h=c.transform(l,k,null),d.lineTo(h[0],h[1]),l-=f;h=c.transform(b,k,null);d.lineTo(h[0],h[1]);for(l=k;l>e;)h=c.transform(b,l),d.lineTo(h[0],h[1]),l-=f}h=c.transform(b,e,null);d.lineTo(h[0],h[1]);d.close()}};$.g.wJ=function(){this.Gh(!0).stroke(this.i("stroke"));this.Gh(!1).stroke(this.i("minorStroke"))};
$.g.remove=function(){this.va&&this.va.parent(null)};
$.g.uj=function(){var a=this.na,b=this.Gh(!0),c=this.Gh(!1);if(this.J(64)||this.J(4)){var d=window.NaN,e,f=a.precision();if(this.Hb()){var h=a.Vw();var k=a.Uy();f=f[0];a=a.fq();var l=[this.tca,this.rca]}else h=a.Uw(),k=a.Ty(),f=f[1],a=a.eq(),l=[this.sca,this.qca];h=h.get();k=k.get();this.sz();b.clear();c.clear();var m=l[0],p=l[1];var q=-b.Nk()%2/2;var r=0;for(e=h.length;r<e;r++){var t=h[r];r&&(l=$.$y(this,r-1))&&p.call(this,t,d,null,l,q,f);(!r&&this.i("drawFirstLine")||r==e-1&&this.i("drawLastLine")||
0!=r&&r!=e-1)&&m.call(this,t,b,q,f);d=t}t!=a&&(l=$.$y(this,r-1))&&p.call(this,a,d,null,l,q);q=-b.Nk()%2/2;r=0;for(e=k.length;r<e;r++)t=k[r],m.call(this,t,c,q,f);this.I(64);this.I(4)}};$.g.R=function(){$.td(this.j,this.g);this.g=this.j=null;CQ.u.R.call(this)};$.H(DQ,$.Yq);$.g=DQ.prototype;$.g.sa=985;$.g.qa=98313;$.g.i=$.Xq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};var lS={};$.hq(lS,[$.Z.mP,$.Z.Jn,$.Z.tB,[1,"minorStroke",$.Dq],[0,"drawFirstLine",$.uq],[0,"drawLastLine",$.uq],[0,"zIndex",$.N]]);$.U(DQ,lS);$.g=DQ.prototype;
$.g.cc=function(a){this.Ea||(EQ(this,this.ma.palette),$.W(this,"palette",this.Ea),this.Ea.oq(!1));return $.n(a)?(EQ(this,a),this.Ea.K(a),this):this.Ea};$.g.Ic=function(a){if(!$.K(this.Ea,a)){var b=!!this.Ea;$.qd(this.Ea);this.Ea=new a;$.L(this.Ea,this.If,this);b&&this.ta(1)}};$.g.If=function(a){$.X(a,2)&&this.ta(1)};$.g.hm=function(){return this.j};
$.g.vertical=function(a){if(!this.f){this.f=new CQ;$.Yy(this.f,"vertical");this.f.Ye().parent(this);$.W(this,"vertical",this.f);var b=this.i("zIndex")+this.j.length*gS;this.f.Mh=b;$.L(this.f,this.g.N2,this.g);this.j.push(this.f)}return $.n(a)?(this.f.K(a),this):this.f};
$.g.s1=function(a){if(!this.b){this.b=new CQ;$.Yy(this.b,"horizontal");this.b.Ye().parent(this);$.W(this,"horizontal",this.b);var b=this.i("zIndex")+this.j.length*gS;this.b.Mh=b;$.L(this.b,this.g.N2,this.g);this.j.push(this.b)}return $.n(a)?(this.b.K(a),this):this.b};$.g.Od=function(a){return $.da(a)||null===a?{enabled:!!a}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?(a?this.ma.enabled=c.enabled:this.enabled(c.enabled),!0):!1};
$.g.sg=function(a,b){var c=$.n(b)?b:this.ma;this.s1().ia(!!a,c.horizontal);this.vertical().ia(!!a,c.vertical)};$.g.X=function(a,b){$.V(this.g);$.zq(this,lS,a);b&&this.pa("enabled","enabled"in a?a.enabled:!0);a.palette&&this.cc(a.palette);this.sg(!!b,a);this.g.da(!0)};$.g.F=function(){var a={};if(this.f){var b=this.f.F();$.Jc(b)||(a.vertical=b)}this.b&&(b=this.b.F(),$.Jc(b)||(a.horizontal=b));this.Ea&&(a.palette=this.Ea.F());$.Hq(this,lS,a,"Map grids props");return a};
$.g.R=function(){$.td(this.f,this.b,this.Ea);this.Ea=this.b=this.f=null;this.j.length=0;this.g=null;DQ.u.R.call(this)};var mS=DQ.prototype;mS.horizontal=mS.s1;mS.vertical=mS.vertical;mS.palette=mS.cc;$.H(FQ,yP);FQ.prototype.ratio=function(a){return $.n(a)?(a=$.N(a)||0,this.b!=a&&(this.b=a),this):this.b};FQ.prototype.forward=function(a,b){var c=this.f.forward(a,b),d=this.QR.forward(a,b);a=(1-this.b)*c[0]+this.b*d[0];b=(1-this.b)*c[1]+this.b*d[1];return[a,b]};FQ.prototype.gj=function(a,b){var c=this.f.gj(a,b),d=this.QR.gj(a,b);a=(1-this.b)*c[0]+this.b*d[0];b=(1-this.b)*c[1]+this.b*d[1];return[a,b]};$.H(GQ,$.Yq);$.g=GQ.prototype;$.g.qa=2;$.g.ql=window.NaN;$.g.Ah=4;$.g.Yl=6;$.g.Tk=null;$.g.Ao=null;$.g.Rc=0;$.g.C$=function(a){return null!=a?(this.ql!=a&&(a=$.N(a),0>=a?(this.Ah=4,this.Yl=6,this.ql=window.NaN):(this.Yl=this.Ah=window.NaN,this.ql=+a),this.Ao=this.Tk=null,this.ta(2)),this):this.ql};
$.g.count=function(a,b){return $.n(a)?(this.Ah!=a&&(this.ql=window.NaN,this.Ah=Math.ceil($.N(a)),this.Yl=Math.ceil($.N(b)),2<=this.Ah||(this.Ah=4),this.Yl>=this.Ah||(this.Yl=this.Ah),this.Ao=this.Tk=null,this.ta(2)),this):[this.Ah,this.Yl]};$.g.nF=function(a){return $.n(a)?(a=+a||0,this.Rc!=a&&(this.Rc=a,this.Ao=null,this.Tk||this.ta(2)),this):this.Rc};
$.g.set=function(a){$.Ta(this.Tk,a)||(this.ql=this.Yl=this.Ah=window.NaN,this.Tk=$.Ja(a,0),$.Ka(this.Tk),$.Qa(this.Tk,$.jo),this.Ao=null,this.ta(2));return this};$.g.get=function(){var a=this.Aj(),b="horizontal"==this.ih?this.na.sr:this.na.qp;return(0,$.Ye)(a,function(a){a=b.call(this,(0,window.parseFloat)(a));return 0<=a&&1>=a},this.na)};$.g.Aj=function(){if(this.Tk)var a=this.Tk;else this.na.ob(),a=this.Ao;return a||[]};
$.g.UA=function(a,b,c,d){this.Ao=null;var e=[a,b];if(this.Tk)c&&(e[0]=Math.min(a,this.Tk[0]||0)),d&&(e[1]=Math.max(b,this.Tk[this.Tk.length-1]||0));else{var f=[],h=this.ql,k=this.Ah,l=this.Yl;!(0,window.isNaN)(h)&&(b-a)/h>this.na.Mm()&&(this.na.FX||($.el(20,null,[b-a,h]),this.na.FX=!0),h=window.NaN,k=4,l=6);if((0,window.isNaN)(h))for(var m=window.NaN,p=k;p<=l;p++){k=(b-a)/(p-1);var q=Math.log(k),r=Math.pow(10,Math.floor(q*Math.LOG10E)),t=Math.pow(10,Math.ceil(q*Math.LOG10E)),u=k<r+r?r/2:Number.POSITIVE_INFINITY;
q=$.Um(k/t,2);(q=Math.min($.Io(k,r)||window.Infinity,$.Io(k,t)||window.Infinity,$.Io(k,u)||window.Infinity,$.Io(k,Math.pow(2,Math.floor(q))*t)||window.Infinity,$.Io(k,Math.pow(2,Math.ceil(q))*t)||window.Infinity))&&(0,window.isFinite)(q)&&(k=q);q=$.Sm($.Ho(a,k,this.Rc))-a;q*=q;r=$.Sm($.Io(b,k,this.Rc))-b;r*=r;q+=r;if((0,window.isNaN)(m)||q<m)m=q,h=k}l=$.Rm(h);m=$.Sm($.Ho(a,h,this.Rc,l));c?e[0]=a=m:1E-7<a-m&&(f.push(a),e[2]=m);c=$.Sm($.Io(b,h,this.Rc,l));d?e[1]=b=c:1E-7<c-b&&(e[3]=c);for(a=$.Sm($.Io(a,
h,this.Rc,l));a<=b;a=$.Sm(a+h))f.push(a);3 in e&&f.push(b);this.Ao=f}return e};
$.g.VA=function(a,b,c){if(this.Tk)this.Ao=null;else if(this.Ao?this.Ao.length=0:this.Ao=[],!(2>a.length)){var d=this.B$,e=a.length-1,f=this.ql,h=this.Ah;if(!(0,window.isNaN)(this.ql)){var k=a[e];var l=a[0];(k-l)/this.ql>this.na.Mm()&&($.el(20,null,[k-l,this.ql]),this.ql=window.NaN,this.Ah=4)}$.n(b)?(l=a[0],k=a[1],d.call(this,l,k,b,k),l=1):l=0;$.n(c)&&e--;for(b=l;b<=e-1;b++)l=a[b],k=a[b+1],d.call(this,l,k,l,k);$.n(c)&&(l=a[e],k=a[e+1],d.call(this,l,k,l,c));this.ql=f;this.Ah=h}};
$.g.B$=function(a,b,c,d){var e=this.ql;(0,window.isNaN)(e)&&(e=(d-c)/(this.Ah-1));e=Math.max(e,1E-7);c=this.Ao[this.Ao.length-1];b=$.Qm(b,7);for(a=$.Qm(a,7);a<=b;a=$.Qm(a+e,7))c!=a&&this.Ao.push(a),c=a};$.g.F=function(){var a=GQ.u.F.call(this);this.Tk?a.explicit=this.Tk:(this.Ah==this.Yl?(0,window.isNaN)(this.Ah)||(a.count=this.Ah):((0,window.isNaN)(this.Ah)||(a.minCount=this.Ah),(0,window.isNaN)(this.Yl)||(a.maxCount=this.Yl)),(0,window.isNaN)(this.ql)||(a.interval=this.ql));return a};
$.g.Ce=function(a,b){var c=arguments[1];return $.A(c)?(this.set(c),!0):$.Yq.prototype.Ce.apply(this,arguments)};
$.g.X=function(a,b){GQ.u.X.call(this,a,b);(this.Tk=a.explicit||null)&&(0,$.Qe)(this.Tk,function(a,b,e){e[b]=(0,window.parseFloat)(a)});this.Ah=a.count||a.minCount||window.NaN;this.Yl=a.count||a.maxCount||window.NaN;this.ql=a.interval||window.NaN;this.Tk?this.Ah=this.Yl=this.ql=window.NaN:this.ql?this.Ah=this.Yl=window.NaN:(this.Ah=Math.ceil($.N(this.Ah)),this.Yl=Math.ceil($.N(this.Yl)),2<=this.Ah||(this.Ah=4),this.Yl>=this.Ah||(this.Yl=this.Ah))};var nS=GQ.prototype;nS.interval=nS.C$;nS.count=nS.count;
nS.set=nS.set;nS.get=nS.get;$.H(HQ,$.Yq);$.g=HQ.prototype;$.g.qa=6;$.g.Na=function(){return"geo"};$.g.XB=function(a){var b=this.zX!=this.Ja||this.TO!=this.ya||this.AX!=this.Ra||this.rX!=this.Ga;b&&(this.Gc=!1,a||this.ta(2));return b};$.g.pb=function(){return this.xb?this.xb.clone():$.gn(0,0,0,0)};$.g.uf=function(a){this.xb=a;this.Gc=!1;return this};$.g.Uw=function(a){this.Bd||(this.Bd=this.Xk(),this.Bd.ih="horizontal");return $.n(a)?(this.Bd.K(a),this):this.Bd};
$.g.Ty=function(a){this.Tc||(this.Tc=this.Xk(),this.Tc.ih="horizontal");return $.n(a)?(this.Tc.K(a),this):this.Tc};$.g.Vw=function(a){this.me||(this.me=this.Xk(),this.me.ih="vertical");return $.n(a)?(this.me.K(a),this):this.me};$.g.Uy=function(a){this.Ud||(this.Ud=this.Xk(),this.Ud.ih="vertical");return $.n(a)?(this.Ud.K(a),this):this.Ud};$.g.Yh=function(a){$.X(a,2)&&(this.Gc=!1,this.ta(2))};$.g.Xk=function(){var a=new GQ(this);$.L(a,this.Yh,this);return a};
$.g.Mm=function(a){return $.n(a)?(a=$.O(a,1E3,!1),this.Jk!=a&&(this.Jk=a,this.Gc=!1,this.ta(2)),this):this.Jk};$.g.precision=function(a,b){if(0<arguments.length){var c=0;a&&($.A(a)?(1<a.length&&(b=$.N(a[1])),a=$.N(a[0])):1==arguments.length&&(b=a=$.N(a)),0==a||(0,window.isNaN)(a)||this.qE==a||(this.qE=a,c=2));b&&(b=$.N(b))&&this.WI!=b&&(this.WI=b,c=2);this.ta(c);return this}return[this.qE,this.WI]};
$.g.Tp=function(a){return $.n(a)?(a=+a||0,this.O!=a&&(this.O=a,this.Hf()&&(this.Gc=!1,this.ta(2))),this):this.O};$.g.hq=function(a){if($.n(a)){a=$.Za($.N(a),-180,180);var b=(0,window.isNaN)(a);if(b!=this.Ob||!b&&a!=this.g)a>=this.D?this.eq(a):(this.Ob=b,this.g=a,this.Gc=!1,b?this.ta(4):this.ta(2));return this}this.ob();return this.g};
$.g.eq=function(a){if($.n(a)){a=$.Za($.N(a),-180,180);var b=(0,window.isNaN)(a);if(b!=this.eb||!b&&a!=this.D)a<=this.g?this.hq(a):(this.eb=b,this.D=a,this.Gc=!1,b?this.ta(4):this.ta(2));return this}this.ob();return this.D};$.g.iq=function(a){if($.n(a)){a=$.Za($.N(a),-90,90);var b=(0,window.isNaN)(a);if(b!=this.nb||!b&&a!=this.f)a>=this.j?this.fq(a):(this.nb=b,this.f=a,this.Gc=!1,b?this.ta(4):this.ta(2));return this}this.ob();return this.f};
$.g.fq=function(a){if($.n(a)){a=$.Za($.N(a),-90,90);var b=(0,window.isNaN)(a);if(b!=this.ab||!b&&a!=this.j)a<=this.f?this.iq(a):(this.ab=b,this.j=a,this.Gc=!1,b?this.ta(4):this.ta(2));return this}this.ob();return this.j};$.g.Uf=function(a,b){if($.n(a)||$.n(b)){var c=0;$.n(a)&&($.A(a)&&(1<a.length&&(b=a[1]),a=a[0]),this.hj!=a&&(this.hj=!!a,c=2));$.n(b)?(b=!!b,this.dh!=b&&(this.dh=b,c=2)):1==arguments.length&&(a=!!a,this.dh!=a&&(this.dh=a,c=2));this.ta(c);return this}return[LQ(this),MQ(this)]};
$.g.Uc=function(a){for(var b=0;b<arguments.length-1;b+=2){var c=(0,window.parseFloat)(+arguments[b]),d=(0,window.parseFloat)(+arguments[b+1]);(0,window.isNaN)(c)||(0,window.isNaN)(d)||(c<this.Eh&&(this.Eh=c,this.Gc=!1),c>this.Pg&&(this.Pg=c,this.Gc=!1),d<this.Tf&&(this.Tf=d,this.Gc=!1),d>this.Ge&&(this.Ge=d,this.Gc=!1))}this.Gc||this.ta(2);return this};
$.g.qL=function(a){for(var b=arguments,c=0;c<b.length-1;c+=2){var d=+b[c],e=+b[c+1];(0,window.isNaN)(d)&&(d=(0,window.parseFloat)(b[c]));(0,window.isNaN)(e)&&(e=(0,window.parseFloat)(b[c+1]));if(this.gp){var f=VQ(this,d,e,null);this.Uc.apply(this,f)}d<this.Ja&&(this.Ja=d,this.Gc=!1);d>this.ya&&(this.ya=d,this.Gc=!1);e<this.Ra&&(this.Ra=e,this.Gc=!1);e>this.Ga&&(this.Ga=e,this.Gc=!1)}};
$.g.mp=function(){this.gp&&(this.Eh=Number.MAX_VALUE,this.Pg=-Number.MAX_VALUE,this.Tf=Number.MAX_VALUE,this.Ge=-Number.MAX_VALUE);this.zX=this.Ja;this.TO=this.ya;this.AX=this.Ra;this.rX=this.Ga;this.Ja=Number.MAX_VALUE;this.ya=-Number.MAX_VALUE;this.Ra=Number.MAX_VALUE;this.Ga=-Number.MAX_VALUE;this.Gc=!1};$.g.Hf=function(){return this.Ob&&(0,window.isNaN)(this.ka)||this.nb&&(0,window.isNaN)(this.ga)||this.eb&&(0,window.isNaN)(this.ba)||this.ab&&(0,window.isNaN)(this.U)};
$.g.tg=function(a){this.gp=$.n(a)?a:!0;this.Jr||this.mp();this.Jr++;return this};$.g.Cg=function(a){return(this.Jr=Math.max(this.Jr-1,0))?!0:this.XB(!!a)};
$.g.ob=function(){if(!this.Gc&&this.xb){this.Gc=!0;this.RR();var a=[this.g,this.f],b=[this.D,this.j],c=this.Uw().UA(a[0],b[0]);a=this.Vw().UA(a[1],b[1]);this.Ty().VA(this.Uw().Aj(),c[2],c[3]);this.Uy().VA(this.Vw().Aj(),a[2],a[3]);this.hc=this.cq-this.Om;this.xc=this.Nm-this.gq;this.Dy=this.D-this.g;this.tw=this.j-this.f;this.ratio=Math.min(this.xb.height/this.xc,this.xb.width/this.hc);this.G=(this.xb.width-this.hc*this.ratio)/2;this.N=(this.xb.height-this.xc*this.ratio)/2;c=OQ(this,this.g,!0);a=
OQ(this,this.D,!0);b=OQ(this,this.f,!1);var d=OQ(this,this.j,!1);this.Om=Math.min(c.Om,a.Om,b.Om,d.Om,c.cq,a.cq,b.cq,d.cq);this.cq=Math.max(c.Om,a.Om,b.Om,d.Om,c.cq,a.cq,b.cq,d.cq);this.gq=Math.min(c.gq,a.gq,b.gq,d.gq,c.Nm,a.Nm,b.Nm,d.Nm);this.Nm=Math.max(c.gq,a.gq,b.gq,d.gq,c.Nm,a.Nm,b.Nm,d.Nm);this.hc=this.cq-this.Om;this.xc=this.Nm-this.gq;this.Dy=this.D-this.g;this.tw=this.j-this.f;this.ratio=Math.min(this.xb.height/this.xc,this.xb.width/this.hc);this.G=(this.xb.width-this.hc*this.ratio)/2;this.N=
(this.xb.height-this.xc*this.ratio)/2;a:{this.b||(this.b=$.nk());a=this.precision();c=a[0];a=a[1];b=this.hq();d=this.eq();var e=this.iq(),f=this.fq();this.b.clear();if(this.Td&&RP(this.Td["default"].zg)){var h=UQ(this,b,e,null);this.b.moveTo(h[0],h[1]);h=UQ(this,b,f,null);this.b.lineTo(h[0],h[1]);h=UQ(this,d,f,null);this.b.lineTo(h[0],h[1]);h=UQ(this,d,e,null);this.b.lineTo(h[0],h[1])}else{h=UQ(this,b,e,null);if((0,window.isNaN)(h[0])||(0,window.isNaN)(h[1]))break a;this.b.moveTo(h[0],h[1]);for(var k=
e;k<f;)h=UQ(this,b,k,null),this.b.lineTo(h[0],h[1]),k+=a;h=UQ(this,b,f,null);this.b.lineTo(h[0],h[1]);for(k=b;k<d;)h=UQ(this,k,f,null),this.b.lineTo(h[0],h[1]),k+=c;h=UQ(this,d,f,null);this.b.lineTo(h[0],h[1]);for(k=f;k>e;)h=UQ(this,d,k,null),this.b.lineTo(h[0],h[1]),k-=a;h=UQ(this,d,e,null);this.b.lineTo(h[0],h[1]);for(k=d;k>b;)h=UQ(this,k,e,null),this.b.lineTo(h[0],h[1]),k-=c}h=UQ(this,b,e,null);this.b.lineTo(h[0],h[1]);this.b.close()}}};
$.g.RR=function(){var a=(this.eb?(0,window.isNaN)(this.ba)?this.Pg:this.ba:this.D)-(this.Ob?(0,window.isNaN)(this.ka)?this.Eh:this.ka:this.g),b=(this.ab?(0,window.isNaN)(this.U)?this.Ge:this.U:this.j)-(this.nb?(0,window.isNaN)(this.ga)?this.Tf:this.ga:this.f);this.eb&&(this.D=(0,window.isNaN)(this.ba)?this.Pg+a*this.O:this.ba);this.Ob&&(this.g=(0,window.isNaN)(this.ka)?this.Eh-a*this.O:this.ka);this.ab&&(this.j=(0,window.isNaN)(this.U)?this.Ge+b*this.O:this.U);this.nb&&(this.f=(0,window.isNaN)(this.ga)?
this.Tf-b*this.O:this.ga);this.Om=this.Ja;this.gq=this.Ra;this.cq=this.ya;this.Nm=this.Ga};$.g.transform=function(a,b,c){a=UQ(this,a,b,c);a[0]=a[0]*this.zoom+this.Gk;a[1]=a[1]*this.zoom+this.Ml;return a};
$.g.Fc=function(a,b){this.ob();if(!this.xb||(0,window.isNaN)(a)||(0,window.isNaN)(b))return[window.NaN,window.NaN];a=$.N(a);b=$.N(b);a=(a-this.Gk)/this.zoom;b=(b-this.Ml)/this.zoom;return VQ(this,+(LQ(this)?this.xb.$a()-this.G-a:a-this.xb.left-this.G)/this.ratio+this.Om,-(MQ(this)?this.xb.Ua()-this.N-b:b-this.xb.top-this.N)/this.ratio+this.Nm)};$.g.sr=function(a){this.ob();a=$.N(a);a=$.Qm((a-this.g)/this.Dy,3);return LQ(this)?1-a:a};
$.g.qp=function(a){this.ob();a=$.N(a);a=$.Qm((a-this.f)/this.tw,3);return MQ(this)?1-a:a};$.g.F=function(){var a=HQ.u.F.call(this);a.type=this.Na();this.eb||(a.maximumX=this.D);this.ab||(a.maximumY=this.j);this.Ob||(a.minimumX=this.g);this.nb||(a.minimumY=this.f);a.precision=this.precision();a.gap=this.Tp();a.xTicks=this.Uw().F();a.xMinorTicks=this.Ty().F();a.yTicks=this.Vw().F();a.yMinorTicks=this.Uy().F();(0,window.isNaN)(this.Jk)||(a.maxTicksCount=this.Jk);return a};
$.g.X=function(a,b){HQ.u.X.call(this,a,b);this.hq(a.minimumX);this.iq(a.minimumY);this.eq(a.maximumX);this.fq(a.maximumY);this.precision(a.precision);this.Tp(a.gap);this.Uw(a.xTicks);this.Ty(a.xMinorTicks);this.Vw(a.yTicks);this.Uy(a.yMinorTicks);this.Mm(a.maxTicksCount)};$.g.R=function(){$.td(this.Bd,this.Tc,this.me,this.Ud);this.Ud=this.me=this.Tc=this.Bd=null;HQ.u.R.call(this)};var oS=HQ.prototype;oS.maxTicksCount=oS.Mm;oS.getType=oS.Na;oS.gap=oS.Tp;oS.xTicks=oS.Uw;oS.xMinorTicks=oS.Ty;
oS.yTicks=oS.Vw;oS.yMinorTicks=oS.Uy;oS.extendDataRange=oS.Uc;oS.minimumX=oS.hq;oS.maximumX=oS.eq;oS.minimumY=oS.iq;oS.maximumY=oS.fq;oS.precision=oS.precision;XQ.prototype.pop=function(){YQ(this,0,this.b.length-1);var a=this.b.pop();WQ(this,0);return a};$.ja(ZQ);ZQ.prototype.Na=function(){return"geo-json"};
ZQ.prototype.f=function(a){var b,c=[];switch(a.type){case "FeatureCollection":if(a.features){var d=a.features;a=0;for(b=d.length;a<b;a++){var e=d[a];c.push($Q(this,e.geometry,e.properties))}}else $.cl(10,"FeatureCollection object missing 'features' member.");break;case "GeometryCollection":if(a.geometries)for(d=a.geometries,a=0,b=d.length;a<b;a++)c.push($Q(this,d[a],d[a].properties));else $.cl(10,"GeometryCollection object missing 'geometries' member.");break;case "Feature":a.properties&&a.geometry?
c.push($Q(this,a.geometry,a.properties)):$.cl(10,"Feature object missing 'properties' or 'geometry' member.");break;case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":a.coordinates?c.push($Q(this,a,null)):$.cl(10,"Geometry object missing 'coordinates' member.");break;default:$.cl(10,"GeoJSON object must be one of 'Point', 'LineString', 'Polygon', 'MultiPolygon', 'Feature', 'FeatureCollection' or 'GeometryCollection'.")}return c};var oR={Z:"Z",M:"M",L:"L",C:"C",Q:"Q",A:"A",H:"H",V:"V",S:"S",T:"T",z:"Z",m:"m",l:"l",c:"c",q:"q",a:"a",h:"h",v:"v",s:"s",t:"t"};$.ja(fR);fR.prototype.Na=function(){return"svg"};fR.prototype.f=function(a){this.g=$.z(a)?(new window.DOMParser).parseFromString(a,"text/xml"):a;this.b={};a=this.g.getElementsByTagName("defs");var b,c;var d=0;for(b=a.length;d<b;d++){var e=a[d];var f=$.Ze(e);e=0;for(c=f.length;e<c;e++){var h=f[e];if($.bf(h)){var k=h.getAttribute("id");this.b[k]||gR(this,h)}}}return kR(this,this.g,null,null)};$.ja(sR);sR.prototype.Na=function(){return"topo-json"};sR.prototype.f=function(a){var b=[],c=ZQ.vd();$.Dc(a.objects,function(d){d=cfa(this,a,d);b.push.apply(b,c.f(d))},this);return b};sR.prototype.reverse=function(a,b){for(var c,d=a.length,e=d-b;e<--d;)c=a[e],a[e++]=a[d],a[d]=c};$.g=uR.prototype;$.g.stroke=function(a,b,c,d,e){if($.n(a)){var f=$.Yb.apply(null,arguments);f!=this.g&&(this.g=f,this.Y.B(16,1));return this}return this.g};$.g.fill=function(a,b,c,d,e,f,h){if($.n(a)){var k=$.Vb.apply(null,arguments);k!=this.f&&(this.f=k,this.Y.B(16,1));return this}return this.f};$.g.enabled=function(a){return $.n(a)?(a=!!a,this.b!=a&&(this.b=a,this.Y.B(16,1)),this):this.b};
$.g.K=function(a){$.n(a)&&($.V(this.Y),$.da(a)||null===a?this.enabled(!!a):$.D(a)&&(this.stroke(a.stroke),this.fill(a.fill),this.enabled(a.enabled)),this.Y.da(!0));return this};$.g.F=function(){var a={};a.fill=this.fill();a.enabled=this.enabled();a.stroke=this.stroke();return a};var pS=uR.prototype;pS.stroke=pS.stroke;pS.fill=pS.fill;pS.enabled=pS.enabled;$.H(wR,$.xz);var qS={},rS=$.tG|5767168;qS.connector={Ab:21,Fb:2,Jb:[$.tH,$.TG,{name:"eventHandler",Mb:"path",Sb:!0,Tb:null,Vb:!1,Bb:!1,zIndex:0}],Ib:null,Cb:null,zb:rS};qS.marker={Ab:22,Fb:2,Jb:[$.tH,$.TG],Ib:null,Cb:null,zb:$.tG|1572864};qS.bubble={Ab:23,Fb:2,Jb:[$.WG,$.XG,$.$G,$.bH],Ib:null,Cb:null,zb:rS,yb:"value",wb:"value"};qS.choropleth={Ab:24,Fb:2,Jb:[{name:"foreignFill",Mb:"none",Sb:"fill",Tb:"stroke",Vb:!0,Bb:!1,zIndex:0},$.TG],Ib:null,Cb:null,zb:rS};wR.prototype.Oi=qS;$.yz(wR,wR.prototype.Oi);
var sS={};$.hq(sS,[[0,"geoIdField",$.tq],[0,"overlapMode",$.Ok],[0,"minZoomLevel",$.N],[0,"maxZoomLevel",$.N],[1,"selectPolygonMarqueeStroke",$.Dq],[1,"selectPolygonMarqueeFill",$.Eq],[0,"selectPolygonMarqueeMarker",$.tq]]);$.U(wR,sS);wR.prototype.sa=$.xz.prototype.sa|268238864;wR.prototype.qa=$.xz.prototype.qa|1024;var Wea=100,tS={"default":{crs:"wsg84",scale:1}},fS=20,gS=1E-5;$.g=wR.prototype;$.g.aN=0;$.g.Xy=1;$.g.Sp=1;$.g.kk=null;$.g.Na=function(){return"map"};$.g.Rx=function(a){return this.axes().hm()[a]};
$.g.Tx=function(a){return this.axes().hm()[a]};
$.g.Sba=function(){if(!this.fd){var a=this.P();if((a=a?a.Ha():null)&&this.Rf()){a=a.Bl();$.hd&&(a.style["-ms-touch-action"]="none");$.hE||($.hE=$.Ne("textarea"),$.hE.setAttribute("readonly","readonly"),$.uf($.hE,{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",left:0,top:0,width:"1px"}),window.document.body.appendChild($.hE),$.Id($.hE,["focus","focusin","select"],function(a){a.preventDefault()}));this.ra("pointsselect",function(a){$.hE.innerHTML=
this.Vc().i("copyFormat").call(a,a);$.hE.select()},!1,this);this.lg=new $.xC($.hE);this.lg.N=!0;this.lg.O=!0;this.lg.G=!0;this.lg.U=!0;this.lg.kl("zoom_in",187,8);this.lg.kl("zoom_out",189,8);this.lg.kl("zoom_full_out",48,8);this.lg.kl("zoom_in",187,2);this.lg.kl("zoom_out",189,2);this.lg.kl("zoom_full_out",48,2);this.lg.kl("zoom_in",107,8);this.lg.kl("zoom_out",109,8);this.lg.kl("zoom_full_out",96,8);this.lg.kl("zoom_in",107,2);this.lg.kl("zoom_out",109,2);this.lg.kl("zoom_full_out",96,2);this.lg.kl("move_left",
37);this.lg.kl("move_right",39);this.lg.kl("move_up",38);this.lg.kl("move_down",40);this.lg.kl("drill_up",8);this.lg.kl("drill_up",27);var b=this.i("minZoomLevel"),c=this.i("maxZoomLevel");this.lg.ra("shortcut",function(a){if(this.Hg.i("keyboardZoomAndMove")&&(!$.hE.Aa||$.hE.Aa==this)){var c=0;c=0;this.hy=!0;this.pl=100;var d=$.hE.Aa.qh();switch(a.identifier){case "zoom_in":d.Cr();break;case "zoom_out":d.Dr();break;case "zoom_full_out":d.Cm();break;case "move_up":c=10*d.Fg();d.move(0,c);break;case "move_left":c=
10*d.Fg();d.move(c,0);break;case "move_down":c=-10*d.Fg();d.move(0,c);break;case "move_right":c=-10*d.Fg();d.move(c,0);break;case "drill_up":a=d.gf.Gd,$.Tm(d.Fg(),b)&&$.Tm(a.Ad,0)&&$.Tm(a.xd,0)?(d.gf.jc(b,0,0,b,0,0),this.zx()):this.dv||(d.ai&&d.ai.stop(),this.cv(d,function(){this.TC=!0;this.pl=300;this.Ui(b);this.cv(this,function(){this.TC=!1})}))}}},!1,this);this.Sea=(0,$.pa)(function(a){if(!this.P())return!1;var d=$.Wj(this.P().Ha()),e=a.k0?a.dl:a,f=this.qh();e=$.Za(1-e.deltaY/120,.7,2);var m=f.Vc().i("zoomOnMouseWheel"),
p=this.Rf();return(p&&a.clientX>=p.left+d.x&&a.clientX<=p.left+d.x+p.width&&a.clientY>=p.top+d.y&&a.clientY<=p.top+d.y+p.height||!p)&&m&&!(1<e&&f.Sp>=c||1>e&&f.Sp<=b)},this);this.ly=new xP(a,!1,this.Sea);this.ly.ra("mousewheel",function(a){var d=this.qh(),e=d.gf;this.hy=!0;var f=$.Wj(this.P().Ha()),m=this.Rf();m=m&&a.clientX>=m.left+f.x&&a.clientX<=m.left+f.x+m.width&&a.clientY>=m.top+f.y&&a.clientY<=m.top+f.y+m.height;if(this.Hg.i("zoomOnMouseWheel")&&m&&!d.TC){m=$.Za(1-a.deltaY/120,.7,2);this.jI=
this.jJ;this.jJ=1<m?!0:1==m?!this.jI:!1;this.jI!=this.jJ&&d.ai&&1==d.ai.Xb&&d.ai.stop();var p=d.Fg();1>m&&$.Tm(p,b)&&!$.yb(e.Gd)?(e.jc(b,0,0,b,0,0),d.Sp=b,d.TC=!1,d.ai&&1==d.ai.Xb&&d.ai.stop(),d.scale().zoom=b,lQ(d.scale(),0,0),mQ(d)):1<=m&&($.Tm(p,c)||p>c)||1>=m&&($.Tm(p,b)||p<b)||d.zoom(m,a.clientX-f.x,a.clientY-f.y,20)}},!1,this);this.RU=function(a){if(this.P()&&this.P().Ha()){var b=$.Wj(this.P().Ha()),c=this.lb();if(c&&a.clientX>=c.left+b.x&&a.clientX<=c.left+b.x+c.width&&a.clientY>=c.top+b.y&&
a.clientY<=c.top+b.y+c.height&&this.hy){var d=$.Ge($.te($.hE).b),e=d.scrollLeft,f=d.scrollTop;$.hE.select();$.hE.Aa=this;if($.gd){var q=d.scrollLeft,r=d.scrollTop;(0,window.setTimeout)(function(){d.scrollLeft==q&&d.scrollTop==r&&$.fl.scrollTo(e,f)},0)}else $.fl.scrollTo(e,f)}}};this.SU=function(a){if(this.Hg.i("zoomOnDoubleClick")){var b=this.qh(),c=$.Wj(this.P().Ha()),d=b.Rf();d&&a.clientX>=d.left+c.x&&a.clientX<=d.left+c.x+d.width&&a.clientY>=d.top+c.y&&a.clientY<=d.top+c.y+d.height&&(this.hy=!0,
c=this.i("zoomFactor"),d=a.clientX,a=a.clientY,this.pl=100,b.zoom(c,d,a))}};this.FH=function(){this.VI=0;this.Cx();$.Sd(window.document,["pointermove","touchmove"],this.f5,!1,this)};this.TU=function(){this.zm||($.Sd(window.document,"mousemove",this.uA,!1,this),$.Sd(window.document,"mouseup",this.vA,!1,this))};$.Id(this.Gf(),["drag","dragstart"],function(){this.MM=!0},!1,this);$.Id(this.Gf(),"dragend",function(){this.MM=!1},!1,this);$.Id(a,"click",this.RU,!1,this);$.Id(a,"dblclick",this.SU,!1,this);
this.VI=0;$.Id(a,["pointerup","touchend"],this.FH,!1,this);var d,e;this.ra("mousedown",function(a){var b=$.Wj(this.P().Ha()),c=this.Rf();c&&a.clientX>=c.left+b.x&&a.clientX<=c.left+b.x+c.width&&a.clientY>=c.top+b.y&&a.clientY<=c.top+b.y+c.height&&(this.hy=!0,d=a.clientX,e=a.clientY,$.Id(window.document,"mousemove",this.uA,!0,this),$.Id(window.document,"mouseup",this.vA,!0,this))},!1,this);this.uA=function(a){var b=this.qh();this.Hg.i("drag")&&1!=b.Fg()&&!this.MM&&(b.Tj(),b.move(a.clientX-d,a.clientY-
e),this.dispatchEvent("drag"),d=a.clientX,e=a.clientY)};this.vA=function(){if(this.DM){this.Cx();for(var a=this.fb.length;a--;){var b=this.fb[a];21==b.Se.type&&(b.rA=this.gf.qg().clone(),b.B(1024,1),b.My())}}$.Sd(window.document,"mousemove",this.uA,!0,this);$.Sd(window.document,"mouseup",this.vA,!0,this)};$.Id(a,"mouseleave",this.TU,!1,this)}else(0,window.setTimeout)(this.A1,100)}};$.g.Tj=function(){this.zm||(this.zm=!0,this.dispatchEvent("dragstart"))};
$.g.Cx=function(){this.zm&&(this.zm=!1,this.Hg.i("drag")&&1!=this.qh().Fg()&&!this.MM&&this.dispatchEvent("dragend"))};
$.g.via=function(a){this.rg(a);this.hy=!1;var b=$.Wj(this.P().Ha()),c=this.Rf();if(c&&a.clientX>=c.left+b.x&&a.clientX<=c.left+b.x+c.width&&a.clientY>=c.top+b.y&&a.clientY<=c.top+b.y+c.height){b=(a.zD||a).Vj.dl;c=b.touches.length;if(2==c)a=b.touches[0],b=b.touches[1],this.VI=$.dn(a.pageX,a.pageY,b.pageX,b.pageY),this.SI=!1;else if(1==c){this.SI=!0;this.BV=a;if(!this.L4){this.Q4=this.sc.ve(this,"touchstart",function(a){1<a.zD.Vj.dl.touches.length&&(this.SI=!1)});this.P4=this.sc.ve(this,"touchmove",
function(){this.SI=!1});if(this.Hg.i("drag")&&1!=this.Fg()){c=this.gf;var d=c.Lj();$.rb(c.pb(),d)&&b.preventDefault()}this.L4=!0;(0,window.setTimeout)(this.wia,10)}this.D4=a.clientX;this.E4=a.clientY;this.zm=!0}else this.SI=!1;$.Id(window.document,["pointermove","touchmove"],this.f5,!1,this);$.Id(window.document.body,["pointermove","touchmove"],function(){return!1},!1,this)}};
$.g.Cj=function(a){this.FA||(this.DM=!1,this.BV=a,this.Fg()==this.i("minZoomLevel")?(0,window.setTimeout)(this.X8,0,a):this.B2||(this.N4=this.sc.ve(this,"mousemove",function(){this.DM=!this.MM}),this.B2=!0,(0,window.setTimeout)(this.lca,70)))};
$.g.kq=function(a){if("drill-down"==this.Vc().i("selectionMode")){var b=this.qh().cS();if(b){var c=$.mo(a.domTarget),d;if($.K(a.target,$.Du)||$.K(a.target,$.Px)){a=a.target.Gi();a.Ii&&a.Ii()&&(d=a);var e=c}else $.K(a.target,$.Iw)||this.Tu(a.target)?c&&(c.Jf?(d=c.Jf.W,e=c.Jf.md):(d=c.W,e=c.index)):(d=c&&c.W,e=$.ea(c.index)?c.index:a.pointIndex);d&&(c=d.Rd(e).get("id"),b=b[c])&&($.K(b,wR)?this.Pq(c,b):$.D(b)&&(this.fH[c]||(this.fH[c]=$.Np(b)),this.Pq(c,this.fH[c])))}}else wR.u.kq.call(this,a)};
$.g.Gg=function(a){var b=this.qh(),c=b.Vc().i("hoverMode"),d=$.mo(a.domTarget),e=!1,f;if($.K(a.target,$.Du)||$.K(a.target,$.Px)){var h=a.target.Gi();h.Ii&&h.Ii()&&(f=h);h=d}else $.K(a.target,$.Iw)||b.Tu(a.target)?(d&&(d.Jf?(f=d.Jf.W,h=d.Jf.md,$.A(h)&&!h.length&&(h=window.NaN)):(f=d.W,h=d.index)),e=!0):(f=d&&d.W,h=$.ea(d.index)?d.index:a.pointIndex);if(f&&!f.fd&&f.enabled()&&$.E(f.Ig)&&(d=f.Ig(a))){var k=$.mo(a.relatedDomTarget);k=$.N($.D(k)?k.index:k);$.no(f,a.relatedTarget)&&k==h||!f.dispatchEvent(d)||
"single"!=c||(0,window.isNaN)(h)&&!$.A(h)||(f.Pd(),b.Iz(),b.dispatchEvent(b.Ik("hovered",a,[{W:f,md:[],we:{index:$.A(h)?h[0]:h,Yf:0}}],!1,e)))}"single"==c||$.no(b,a.relatedTarget)||(b.Pd(),b.Iz(),b.jl&&b.dispatchEvent(b.Ik("hovered",a,b.jl,!0,e)),b.jl=null)};$.g.sh=function(a){this.DM||wR.u.sh.call(this,a)};
$.g.f5=function(a){var b=a.dl,c=b.touches?b.touches.length:0;this.hy=!1;var d=this.qh(),e=d.gf;if(2==c){c=b.touches[0];var f=b.touches[1];b=$.dn(c.pageX,c.pageY,f.pageX,f.pageY);a=Math.min(c.pageX,f.pageX)+Math.abs(c.pageX-f.pageX)/2;c=Math.min(c.pageY,f.pageY)+Math.abs(c.pageY-f.pageY)/2;var h=25<Math.abs(b-this.VI);f=this.i("minZoomLevel");var k=this.i("maxZoomLevel");this.Hg.i("zoomOnMouseWheel")&&h&&(h=0<b-this.VI?1.3:1/1.3,this.VI=b,this.jI=this.jJ,this.jJ=1<h?!0:1==h?!this.jI:!1,this.jI!=this.jJ&&
d.ai&&1==d.ai.Xb&&d.ai.stop(),1>h&&$.Qm(d.Fg(),2)==f&&!$.yb(e.Gd)?(e.jc(f,0,0,f,0,0),d.Sp=f,d.TC=!1,d.ai&&1==d.ai.Xb&&d.ai.stop(),d.scale().zoom=f,lQ(d.scale(),0,0),mQ(d)):1<h&&d.Fg()>=k||1>h&&d.Fg()<=f||(e=$.Of(this.P().fa()),d.zoom(h,a-e.left,c-e.top)))}else 1==c&&(this.zm&&this.Hg.i("drag")&&1!=this.Fg()?(e=a.clientX-d.D4,b=a.clientY-d.E4,$.uf(window.document.body,"cursor","move"),d.move(e,b),d.D4=a.clientX,d.E4=a.clientY):$.uf(window.document.body,"cursor",""))};
$.g.es=function(a){if($.K(a.target,$.Iw))return $.mo(a.domTarget).md;var b=this.Pf||$.gn(0,0,0,0),c=a.clientX;a=a.clientY;var d=$.Wj(this.P().Ha());c-=d.x;a-=d.y;d=b.left;var e=b.top,f=b.width;b=b.height;if(c<d||c>d+f||a<e||a>e+b)return null;b=[];d=this.Vc();if("by-spot"==d.i("hoverMode")){var h=d.i("spotRadius");e=0;for(f=this.fb.length;e<f;e++){var k=this.fb[e];if(k.enabled()){var l=k.aa(),m=[];l.reset();for(var p=window.Infinity,q;l.advance();)if(l.o("shape")){var r=l.o("x"),t=l.o("value");d=l.la();
r=$.dn(r,t,c,a);r<=h&&(m.push(d),r<p&&(p=r,q=d))}m.length&&b.push({W:k,md:m,xn:m[m.length-1],we:{index:q,Yf:p}})}}}else this.Vc().i("hoverMode");return b};
$.g.CF=function(a,b){for(var c=[],d,e=0,f=a.length;e<f;e++){var h=a[e],k=h.W,l={series:k},m=k.aa(),p=[];if(!b)for(var q=0;q<h.md.length;q++){var r=h.md[q];m.select(r)&&((d=(d=m.o("features"))&&d.length?d[0].properties:null)?(r={id:d[XP(k)],index:m.la(),properties:d},p.push(r)):p.push(r))}l.points=p;h.we?(r=h.we.index,m.select(r)&&(r={},(d=(d=m.o("features"))&&d.length?d[0].properties:null)?(r.id=d[XP(k)],r.index=m.la(),r.properties=d):r.index=m.la()),h={point:r,distance:h.we.Yf}):h={index:window.NaN,
distance:window.NaN};l.nearestPointToCursor=h;c.push(l)}return c};$.g.WK=function(a,b){var c=$.jr(this.qh(),"colorRange");a=$.A(a)?a.length?a[0]:window.NaN:a;if(c&&c.target()&&!(0,window.isNaN)(a)){var d=c.target();if(d==b){var e=d.aa();e.select(a);d=e.get(d.Se.ol);$.tN(c,d)}}};$.g.Iz=function(){var a=$.jr(this.qh(),"colorRange");a&&a.enabled()&&$.uN(a)};$.g.By=function(){this.Za().Nq()&&this.B(4,9)};$.g.qR=function(){return new SP(this)};
$.g.WN=function(a){var b=a.shiftKey||a.ctrlKey||a.metaKey;var c=a.left;var d=a.top;var e=a.width;a=a.height;for(var f=0;f<this.fb.length;f++){var h=this.fb[f],k=h.Ni()||this.Vc().i("selectionMode");if("none"!=k){var l=$.iB(h,c,d,e,a);"single-select"==k&&(b=!1,l=l[0]);$.jB(h,l,b)}}};
$.g.C4=function(a){var b=this.Qga,c=this.Oga,d=this.Pga,e=this.i("selectPolygonMarqueeStroke"),f=this.i("selectPolygonMarqueeFill");if(this.La){e=e||"red 0.5";f=f||"red 0.2";var h=this.i("selectPolygonMarqueeMarker")||{},k=$.Vb(h.fill||f),l=$.Yb(h.stroke||e);h=h.radius||15;this.hU=b;this.gU=c;this.gH=d;this.fk=[];this.by=window.Infinity;this.cD=-window.Infinity;this.dy=window.Infinity;this.dD=-window.Infinity;this.w1=!0;this.qM=h;this.E1=!!a;this.mm||(this.mm=this.La.path(),this.Ot=this.La.path(),
this.Xo=this.La.cn());this.Xo.parent(this.La);this.Xo.stroke(l);this.Xo.fill(k);this.Xo.zIndex(999);this.Ot.parent(this.La);this.Ot.stroke(e,3,"3 3");this.Ot.zIndex(1E3);this.mm.parent(this.La);this.mm.stroke(e);this.mm.fill(f);this.mm.zIndex(1E3);this.La.ra("mousemove",this.g3,!0,this);this.La.ra("dblclick",this.f3,!0,this);this.La.ra("click",this.e3,!0,this);a=!0}else a=!1;this.FA=a;return this};
$.g.g3=function(a){if(this.fk.length){var b=$.Wj(this.P().Ha()),c=a.clientX-b.x;a=a.clientY-b.y;b=$.jb(new $.gb(this.fk[0],this.fk[1]),new $.gb(c,a))<=this.qM;this.Ot.clear();b&&(this.Ot.moveTo(c,a),this.Ot.lineTo(this.fk[0],this.fk[1]));this.mm.clear();this.mm.moveTo(this.fk[0],this.fk[1]);for(b=2;b<this.fk.length;b+=2)this.mm.lineTo(this.fk[b],this.fk[b+1]);this.mm.lineTo(c,a)}};
$.g.e3=function(a){a.stopPropagation();a.preventDefault();var b=$.Wj(this.P().Ha());var c=a.clientX-b.x;b=a.clientY-b.y;this.by=Math.min(c,this.by);this.cD=Math.max(c,this.cD);this.dy=Math.min(b,this.dy);this.dD=Math.max(b,this.dD);this.fk.push(c,b);var d=!1;2<this.fk.length&&(d=$.jb(new $.gb(this.fk[0],this.fk[1]),new $.gb(c,b))<=this.qM);var e=new $.J(this.by,this.dy,this.cD-this.by,this.dD-this.dy);d?($.n(this.gH)&&this.gH.call(this,this.fk,e,a),this.E1?(xR(this),this.fk.length=0,this.cD=this.dD=
-window.Infinity,this.by=this.dy=window.Infinity):yR(this)):2==this.fk.length?(this.Xo.zp(c),this.Xo.Ap(b),this.Xo.Wb(this.qM),$.n(this.hU)&&this.hU.call(this,this.fk,e,a)):$.n(this.gU)&&this.gU.call(this,this.fk,e,a)};$.g.f3=function(a){var b=new $.J(this.by,this.dy,this.cD-this.by,this.dD-this.dy);this.gH&&this.gH.call(this,this.fk,b,a);this.E1?(xR(this),this.fk.length=0,this.cD=this.dD=-window.Infinity,this.by=this.dy=window.Infinity):yR(this);a.stopPropagation();a.preventDefault()};
$.g.zba=function(){yR(this);return this};$.g.mM=function(){return!!this.w1};$.g.Qga=function(a,b,c){return this.dispatchEvent(zR("selectmarqueestart",a,b,c))};$.g.Oga=function(a,b,c){return this.dispatchEvent(zR("selectmarqueechange",a,b,c))};
$.g.Pga=function(a,b,c){var d=zR("selectmarqueefinish",a,b,c);if(a=this.dispatchEvent(d)){var e=this.gf.qg();b=d.polygon;for(c=0;c<b.length;c+=2)b[c]-=e.Ad,b[c]/=e.ed,b[c+1]-=e.xd,b[c+1]/=e.Ee;var f=d.polygonBounds;f.left-=e.Ad;f.left/=e.ed;f.top-=e.xd;f.top/=e.Ee;d=d.shiftKey||d.ctrlKey||d.metaKey;for(c=0;c<this.fb.length;c++){e=this.fb[c];var h=e.Ni()||this.Vc().i("selectionMode");if("none"!=h){var k=e;for(var l=b,m=f,p=k.vc(),q=[];p.advance();){var r;var t=void 0;var u=r=void 0;var v=k;var w=p;
var x=l;var y=m;var B=[];var G=[];if($.K(v.vf,$.KA)&&(u=w.o(v.vf.O)))for(t in u)if(w=u[t],$.K(w,$.zg)){v=$.yg(w);if(0<=v.segments.indexOf(4)||0<=v.segments.indexOf(3))w.AI(),v=$.yg(w);if(0<(0,$.gda)(v.segments,1)){w=[];var C=0;var I,P;var Q=I=window.Infinity;var S=P=-window.Infinity;for(var sa=0;sa<v.segments.length;sa++){var va=v.count[sa];w=w.concat(v.arguments.slice(C,C+2*va));C+=2*va;if(sa+1>=v.segments.length||1==v.segments[sa+1]){for(va=0;va<w.length;va+=2)Q=Math.min(Q,w[va]),S=Math.max(S,w[va]),
I=Math.min(I,w[va+1]),P=Math.max(P,w[va+1]);va=[Q,I,S,I,S,P,Q,P];0<w.length&&$.Zm($.hn(y),va)&&(B.push(w),w=[])}}}else r=w.pb(),$.Zm($.hn(r),$.hn(y))&&B.push(v.arguments)}else $.K(w,$.pg)?(v=w.yp(),w=w.Wb(),B.push([v.x,v.y]),G.push({x:v.x,y:v.y,r:w})):B.push($.hn(r));else u=w.o(v.nh.wb+"X"),r=w.o(v.nh.wb),v.nh.wb==v.nh.yb?B.push([u,r]):(t=w.o(v.nh.yb+"X"),v=w.o(v.nh.yb),B.push([u,r,t,v,u,v,t,r]));u=!1;for(r=0;r<B.length;r++)for(t=B[r],v=0;v<t.length;v+=2){a:{w=t[v];C=t[v+1];Q=window.Infinity;if($.n(y)){if(w<
y.qb()||w>y.$a()||C<y.bc()||C>y.Ua()){w=!1;break a}}else for(S=0;S<x.length;S+=2)Q=Math.min(Q,x[S]);S=$.n(y)?{x:y.left-100,y:0}:{x:Q,y:0};I=x.length-2;P=!1;for(Q=0;Q<x.length;Q+=2)$.bn(x[Q],x[Q+1],x[I],x[I+1],w,C,S.x,S.y)&&(P=!P),I=Q;w=P}if(w){u=!0;break}}if(!(y=u)){r=!1;for(y=0;y<B.length;y++)if(t=B[y],!(4>t.length)){u=t.length-2;for(v=0;v<t.length;v+=2){w=x.length-2;for(C=0;C<x.length;C+=2){if($.bn(t[v],t[v+1],t[u],t[u+1],x[C],x[C+1],x[w],x[w+1])){r=!0;break}w=C}if(r)break;u=v}if(r)break}y=r}if(!y)for(y=
!1,B=0;B<G.length;B++){t=G[B];u=x.length-2;for(r=0;r<x.length;r+=2){Q=x[r];C=x[r+1];w=x[u];S=x[u+1];u=t.x;v=t.y;w=new $.Ai(Q,C,w,S);Q=u;Q instanceof $.gb?(C=Q.y,Q=Q.x):C=v;S=w.qj;I=w.se;C=((Number(Q)-S)*(w.rj-S)+(Number(C)-I)*(w.Xe-I))/Qea(w);C=$.Za(C,0,1);w=new $.gb(uP(w.qj,w.rj,C),uP(w.se,w.Xe,C));if($.jb(w,new $.gb(u,v))<=t.r){y=!0;break}u=r}if(y)break}y&&q.push(p.la())}k=q;"single-select"==h&&(d=!1,k=k[0]);$.jB(e,k,d)}}this.dispatchEvent({type:"pointsselect",points:this.PL(),seriesStatus:[]})}return a};
$.g.vR=function(a,b){this.Zu||(this.Zu=new $.Pw,$.W(this,"crsAnimation",this.Zu),$.L(this.Zu,this.vga,this));return $.n(a)?(this.Zu.K.apply(this.Zu,arguments),this):this.Zu};$.g.vga=function(){};$.g.Yj=function(a){this.Yb||(this.Yb=new $.oN,$.W(this,"colorRange",this.Yb),$.L(this.Yb,this.uz,this),this.B(524292,1));return $.n(a)?(this.Yb.K(a),this):this.Yb};$.g.uz=function(a){var b=0,c=0;$.X(a,1)&&(b|=557072,c|=1,this.Pv());$.X(a,8)&&(b|=4,c|=8);$.X(a,2)&&(b|=524288,c|=8);this.B(b,c)};
$.g.Tu=function(a){return $.K(a,$.oN)};$.g.UZ=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.Qn[c];e||(e=new zQ,e.ib(this),e.Fa(this.z_()),e.ld(),this.Qn[c]=e,$.L(e,this.pga,this),this.B(16777220,1));return $.n(d)?(e.K(d),this):e};$.g.pga=function(a){var b=0,c=0;$.X(a,1)&&(b|=16777216,c|=1);$.X(a,8)&&(b|=4,c|=8);this.B(b,c)};$.g.z_=function(a){this.DR||(this.DR=$.wm("map.defaultCalloutSettings"));return $.n(a)?($.ra(this.DR,a),this):this.DR||{}};
$.g.axes=function(a){if(!this.xp){this.xp=new yQ(this);$.W(this,"axesSettings",this.xp);this.xp.sg(!0);for(var b=this.scale(),c=this.xp.hm(),d=0;d<c.length;d++){var e=c[d];e.scale()!==b&&e.scale(b)}}return $.n(a)?(this.xp.ia(!1,a),this):this.xp};$.g.bN=function(a){var b=0;$.X(a,8)?b|=4:$.X(a,1)&&(b|=33554432);this.B(b,1)};$.g.AT=function(a){this.Vx||(this.Vx=new DQ(this),$.W(this,"gridsSettings",this.Vx),this.Vx.sg(!0));return $.n(a)?(this.Vx.ia(!1,a),this):this.Vx};
$.g.N2=function(){this.B(67108864,1)};$.g.$g=function(a){this.Ef||(this.Ef=new BQ,$.W(this,"crosshair",this.Ef),$.hA(this.Ef,this),$.L(this.Ef,this.yA,this));return $.n(a)?(this.Ef.K(a),this):this.Ef};$.g.yA=function(){this.B(134217728,1)};$.g.BL=function(a){return $P(a)?15:30};$.g.DW=function(a){WP(a,this.i("geoIdField"));this.gl&&(a.Yr=this.gl);wR.u.DW.call(this,a)};$.g.kt=function(a,b){return new VP(this,this,a,b,!0)};$.g.zs=function(a){return $.xk(gfa,a,"choropleth")};
$.g.XD=function(a){var b=0;$.X(a,32768)&&(b|=256);$.X(a,1)&&(b=32768,$P(a.target)&&(b|=16));$.X(a,1024)&&(b|=8388608);$.X(a,4)&&(b|=4194304);$.X(a,2048)&&(b=32);if($.X(a,16)){b|=8422144;$P(a.target)&&(b|=16);for(var c=this.fb.length;c--;)this.fb[c].B(4260356)}$.X(a,64)&&(b|=512,$.X(a,8)&&(b|=4));$.X(a,128)&&(b|=524288,a=$.jr(this,"colorRange"))&&(a.Qd(),a.B(a.xe));this.B(b,1)};$.g.Pv=function(){for(var a=this.fb.length;a--;)this.fb[a].B(4)};$.g.Az=function(a){a=a?a.path():$.nk();a.Lp(!0);return a};
$.g.b_=function(a){a.clear();a.parent(null);a.ll();a.jc(1,0,0,1,0,0);delete a.tag};$.g.clear=function(){this.gf&&(AR(this)?CR(this,this.gf):this.gf.clear());this.$v.length=0};$.g.Rf=function(){return this.Pf};
$.g.scale=function(a){if($.n(a))return a&&$.K(a,HQ)?this.na!=a&&(this.na&&$.Zq(this.na,this.AL,this),this.na=a,$.L(this.na,this.AL,this),this.B(65536,1)):(this.na||(this.na=new HQ,this.na.X(this.na.ma,!0),$.L(this.na,this.AL,this)),this.na.K(a)),this;this.na||(this.na=new HQ,this.na.X(this.na.ma,!0),$.L(this.na,this.AL,this));return this.na};$.g.AL=function(a){var b=0;$.X(a,4)&&(b|=65540);$.X(a,2)&&(b|=4);this.B(b,1)};$.g.Va=function(){return null};$.g.bb=function(){return null};
$.g.Rw=function(a){if($.n(a)){if($.D(a)){if(!this.XI||$.z(this.XI))this.XI=new uR(this);this.XI.K(a)}else this.XI=$.xk(ffa,a,"hide");this.B(16,1);return this}return this.XI};$.g.Yr=function(a){if($.n(a)){if($.z(a)&&!$.fc(a,"<")){this.zL=a;var b=a.split(".");a=$.fl;for(var c=0,d=b.length;c<d;c++)a=a[b[c]]}else this.zL=null;this.mn!=a&&(this.mn=a,this.B(5095440,1));return this}return this.mn};
$.g.I_=function(a,b,c){var d=PQ(this.scale(),a[b],a[b+1]);a=d[0];d=d[1];$.Hc(c,"coordinates")?c.fa.moveTo(a,d).lineTo(a,d):b?c.fa.lineTo(a,d):c.fa.moveTo(a,d)};
$.g.QQ=function(a,b,c){var d=this.FS;if(AR(this.map))"image"==c.type||"text"==c.type?(a=$.kg().VU(c.cloneNode),d.qL(a.qb(),a.bc(),a.$a(),a.Ua())):"path"==c.type&&(this.map.WU||(this.map.WU=$.nk()),qR(c.commands_tx?c.commands_tx:c.commands,this.map.WU),a=this.map.WU.pb(),d.qL(a.qb(),a.bc(),a.$a(),a.Ua()));else{if(this.r3){c=(a[b]-this.Td.$h)/this.Td.scale;var e=(a[b+1]-this.Td.Ti)/this.Td.scale;this.p3&&(e=this.p3.gj(c,e),c=e[0],e=e[1]);e=this.r3.forward(c,e);a[b]=e[0]*this.Td.scale+this.Td.$h;a[b+
1]=e[1]*this.Td.scale+this.Td.Ti}d.qL(a[b],a[b+1])}};$.g.WR=function(a){return this==dQ(this)?wR.u.WR.call(this,a):a};$.g.FC=function(a){var b=a.clone();if($.jr(this,"axesSettings")){var c=0,d=0,e=0,f=0;b=a.clone();for(var h=this.xp.hm(),k,l=0;l<h.length;l++)if(k=h[l],k.i("enabled")){k.ja(a);var m=k.qd(),p=a.left-m.left;c<p&&m.left&&(c=p);p=a.top-m.top;d<p&&m.top&&(d=p);p=m.$a()-a.$a();e<p&&m.$a()&&(e=p);p=m.Ua()-a.Ua();f<p&&m.Ua()&&(f=p);k.B(4)}b.left+=c;b.top+=d;b.width-=c+e;b.height-=d+f}return b};
$.g.ob=function(){var a;var b=this.scale();var c=!1;if(this.J(262144)){var d=this.Yr();if(null!=d){d=$.z(this.mn)&&!$.fc(d,"<")?$.fl.anychart.maps[this.mn]:this.mn;$.z(d)&&$.fc(d,"<")||$.Pe(d)?this.CD=fR.vd():"topology"===d.type.toLowerCase()?this.CD=sR.vd():this.CD=ZQ.vd();this.cU=this.CD.f(d);$.qd(this.gl);this.gl=null;(c=d["ac-geoFieldId"])&&this.pa("geoIdField",c);this.kk={};c=d["ac-tx"]||{};var e=c["default"];e||(e=c["default"]=$.Qc(tS["default"]));$.Dc(c||tS,function(a,b){var c={};c.zg=$.n(a.crs)?
wP(a.crs):e.zg;c.DI=c.zg;c.Eo=QP(c.zg);c.A4=QP(c.DI);c.scale=a.scale||e.scale||1;c.$h=$.n(a.xoffset)?(0,window.parseFloat)(a.xoffset):0;c.Ti=$.n(a.yoffset)?(0,window.parseFloat)(a.yoffset):0;$.n(a.heatZone)&&(c.It=$.A(a.heatZone)?a.heatZone:$.kn(a.heatZone));this.kk[b]=c},this);(c=d.scale)?IQ(b,"minLon"in c?c.minLon:window.NaN,"maxLon"in c?c.maxLon:window.NaN,"minLat"in c?c.minLat:window.NaN,"maxLat"in c?c.maxLat:window.NaN):IQ(b,window.NaN,window.NaN,window.NaN,window.NaN)}this.gf?this.clear():(this.gf=
BR(this,this.La),this.gf.zIndex(10),dQ(this)==this&&this.A1());AR(this)&&!this.Lw&&(this.Lw=BR(this,this.gf));this.xf||(this.xf=this.La.Dd(),this.xf.zIndex(30));c=!0;this.B(65540)}if(this.J(65536)){if(this.kk){Yea(b,this.kk);if(this.gf){var f=this.gf.Gd;b.zoom=f.ed;lQ(b,f.Ad,f.xd)}var h=this.kk?this.kk["default"]:null;var k=!this.Dz,l=null===this.mt?h.DI:this.mt;f=!this.gl;this.xA=null;k&&this.mt?this.xA=this.mt:this.Dz==h.zg&&this.Dz==l||k||AR(this)||(this.xA=l);var m=!!this.xA&&!AR(this);if(h.zg!=
this.xA&&h.DI!=this.xA||$.jr(this,"crsAnimation")&&this.Zu.i("enabled")){if(!RP(h.DI))var p=h.A4;m&&(a=QP(this.xA))}var q=h.Eo;k&&(this.Dz=l);m&&(this.Kq&&1==this.Kq.Xb&&(this.Kq.stop(),this.Kq.cd(),this.Kq=null),this.Dz=this.xA,h.zg=this.Dz,h.Eo=QP(h.zg));f?(d=this.cU,this.gl=[]):m?d=this.cU:d=this.gl;k=$.jr(this,"crsAnimation");if(this.Kq&&this.Kq.Xb==$.cz||!this.Kq)k&&k.i("enabled")&&0<k.i("duration")&&!f&&m?(h.Eo=new FQ(q,a),this.Kq=new gQ(this,d,p,h,k.i("duration"),this!=this.qh()),this.Kq.ve("end",
function(){this.map.Kq.stop();this.map.Kq.cd();this.Td.Eo=this.Td.Eo.QR},!0,{map:this,Td:h}),this.Kq.play()):(a=(0,$.pa)(this.QQ,{Td:h,p3:p,r3:a,FS:this.scale(),map:this}),AR(this),$.V(b),b.tg(c),hQ(this,d,a,f,m),b.Cg(),b.da(!0),AR(this)?(KQ(b,!0),this.Lw.parent(this.gf),this.Lw.jc(1,0,0,1,0,0)):KQ(b,!1));a=-window.Infinity;p=window.Infinity;f=c=0;for(b=this.fb.length;b--;)d=this.fb[b],d.B(512,1),d.Pn(),a=Math.max(a,d.Ia("seriesMax")),p=Math.min(p,d.Ia("seriesMin")),c+=d.Ia("seriesSum"),f+=d.Ia("seriesPointsCount");
m=c/f;for(b=0;b<this.fb.length;b++)d=this.fb[b],d.Ia("max",a),d.Ia("min",p),d.Ia("sum",c),d.Ia("average",m),d.Ia("pointsCount",f),d=$.bc(d.stroke()),d>this.ir&&(this.ir=d)}this.I(65536)}if(this.J(4194304)){a=this.i("geoIdField");this.dH={};this.dH[a]={};if(this.gl){for(b=this.fb.length;b--;)d=this.fb[b],$.n(d.EC())&&d.EC()!=a&&(this.dH[d.EC()]={});b=0;for(d=this.gl.length;b<d;b++)a=this.gl[b],FR(this,a,function(a){var b=a.properties;if(b)for(var c in this.dH)c in b&&(this.dH[c][b[c]]=a)},this)}this.I(4194304)}};
$.g.iE=function(){wR.u.iE.call(this,this.Xf);this.$u().Ir(JQ(this.scale()))};
$.g.ei=function(a){dQ(this);var b,c,d,e=this.i("maxZoomLevel"),f=this.i("minZoomLevel");var h=this.scale();this.ob();if(this.J(32768)){for(b=this.fb.length;b--;){var k=this.fb[b];$.V(k);k.P(this.xf);$P(k)&&k.ob();k.da(!1)}this.MB={};$.zz(this)}if(this.J(4)){b=0;for(d=this.Qn.length;b<d;b++){var l=this.Qn[b];l.B(4)}if($.jr(this,"axesSettings"))for(k=this.xp.hm(),b=0,d=k.length;b<d;b++){var m=k[b];$.Mu(m.labels());$.Mu(m.kb());m.B(m.xe)}if($.jr(this,"gridsSettings"))for(l=this.Vx.hm(),b=0,d=l.length;b<
d;b++)k=l[b],k.B(80);this.B(67108864);this.B(33554432);this.B(16777216)}if(this.J(524288)&&$.jr(this,"colorRange")){b=0;for(d=this.fb.length;b<d;b++)$P(this.fb[b])&&(c=this.fb[b]);c&&($.V(this.Yb),this.Yb.scale(c.sd()),this.Yb.target(c),this.Yb.ib(dQ(this)),this.Yb.da(!1),this.B(4))}if(this.J(16777216))for(b=0,d=this.Qn.length;b<d;b++)if(l=this.Qn[b]){c=[];m=l.items();for(var p=0,q=0,r=m.length;q<r;q++)for(var t=m[q],u=0,v=this.fb.length;u<v;u++){k=this.fb[u];var w=(0,$.za)(k.nW,t);if(k=-1!=w?k.Rd(w):
null)c[p]=k,p++}$.V(l);l.g=c;l.ib(dQ(this));l.P(this.La);l.zIndex(60);l.da(!1)}l=this.gf;if(this.J(4)){if(this.Yb){this.Yb.ja(a.clone().round());var x=this.Yb.qd()}else x=a.clone();this.La.clip(this.lb());a=$.D(this.Rw())?$.bc(this.Rw().stroke()):0;a>this.ir&&(this.ir=a);x.left=x.left+this.ir/2;x.top=x.top+this.ir/2;x.width=x.width-this.ir;x.height=x.height-this.ir;a=x;d=this.Qn;k=a.clone();q=p=m=c=0;for(b=d.length;b--;)(r=d[b])&&r.enabled()&&(r.ja(a),t=r.orientation(),"top"==t?(r=r.qd(),c=a.height-
r.height):"bottom"==t?(r=r.qd(),m=a.height-r.height):"left"==t?(r=r.qd(),p=a.width-r.width):"right"==t&&(r=r.qd(),q=a.width-r.width));k.left+=p;k.top+=c;k.width-=q+p;k.height-=m+c;a=this.FC(k).clone();a.left+=this.ir/2;a.top+=this.ir/2;a.width-=this.ir;a.height-=this.ir;h.uf(a);this.Pf=a;if($.jr(this,"axesSettings"))for(k=this.xp.hm(),b=0,d=k.length;b<d;b++)m=k[b],m.Qd();this.gf&&this.kk&&!this.kk["default"].$h&&this.gf.clip(JQ(h));this.clear();AR(this)&&(h.ob(),this.Lw.parent(this.gf),this.Lw.jc(1,
0,0,1,0,0),this.Lw.scale(h.ratio,h.ratio,0,0),h=PQ(h,0,0),c=new $.Cb(1,0,0,1,h[0],h[1]),$.wb(c,this.Lw.Gd),this.Lw.jc(c.ed,c.Me,c.We,c.Ee,c.Ad,c.xd));if(this.gl)for(a=AR(this)?this.Lw:this.gf,b=0,d=this.gl.length;b<d;b++)h=this.gl[b],ER(this,h,a);for(b=this.fb.length;b--;)k=this.fb[b],k.ja(this.Pf),k.B(4,1);h=8388608;AR(this)&&(h|=16);this.B(h)}if(this.J(2097152)){h=this.Fg();b=this.Xy*h;c=this.gf.qg();var y=c.Ad;var B=c.xd;if(!(h==f&&b<f||h==e&&b>e)&&l||this.ur){k=!($.n(this.Cc)&&$.n(this.yc));if((0,window.isNaN)(this.Cc)||
(0,window.isNaN)(this.yc))a=JQ(this.scale()).Lj(),m=a.top+a.height/2,d=(a.left+a.width/2-y)/c.ed,a=(m-B)/c.Ee,(0,window.isNaN)(this.Cc)&&(this.Cc=d),(0,window.isNaN)(this.yc)&&(this.yc=a);a=1>this.Xy;this.ur||(b>e?(this.Xy=e/this.Fg(),b=this.Xy*h):b<f&&a&&(this.Xy=f/this.Fg(),b=this.Xy*h));e=this.pl||200;this.ai&&this.ai.Xb!=$.cz||k||(this.rB=h,this.dP=b,((a=$.Tm(this.rB,this.dP,1E-5))&&this.sJ||!a)&&this!=this.qh()||dQ(this).dispatchEvent(KR(this,"zoomstart"))?($.fl.anychart.ui.ContextMenu&&(a=this.contextMenu(),
a.He()&&a.Oc()),a=this.gf,k=a.pb(),d=(this.Cc-y)/this.rB,a=(this.yc-B)/this.rB,this.ur||(d<k.left?d=k.left:d>k.$a()&&(d=k.$a()),a<k.top?a=k.top:a>k.Ua()&&(a=k.Ua())),this.ai=new jQ(this,[h,y,B],[b,d*(1-this.rB),a*(1-this.rB)],e,this!=this.qh()),this.ai.play()):a&&(e=this.qh(),a=e.gf.pb(),d=a.left+a.width/2,a=a.top+a.height/2,y=d*(1-e.Sp),B=a*(1-e.Sp),this.gf.jc(e.Sp,0,0,e.Sp,y,B),this.scale().zoom=e.Sp,lQ(this.scale(),y,B),mQ(this)))}this.sJ=!1;this.pl=window.NaN;this.Xy=1;this.I(2097152)}this.J(1048576)&&
(this.Fg()!=f&&l&&(f=l.Lj(),k=l.zt(l.qg()),this.d2?k.left+this.offsetX>=f.left&&0<this.offsetX?y=0:k.$a()+this.offsetX<=f.$a()&&0>this.offsetX?y=0:y=this.offsetX:k.left+this.offsetX>=f.left?y=f.left-k.left:k.$a()+this.offsetX<=f.$a()?y=f.$a()-k.$a():y=this.offsetX,this.d2?k.top+this.offsetY>=f.top&&0<this.offsetY?B=0:k.Ua()+this.offsetY<=f.Ua()&&0>this.offsetY?B=0:B=this.offsetY:k.top+this.offsetY>=f.top?B=f.top-k.top:k.Ua()+this.offsetY<=f.Ua()?B=f.Ua()-k.Ua():B=this.offsetY,y/=this.Fg(),B/=this.Fg(),
this.offsetY=this.offsetX=0,y||B)&&(this.Ofa=!0,l.hF(1,0,0,1,y,B),c=l.Gd,lQ(this.scale(),c.Ad,c.xd),mQ(this)),this.I(1048576));if(this.J(33554432)){if($.jr(this,"axesSettings"))for(k=this.xp.hm(),b=0;b<k.length;b++)m=k[b],$.V(m),m.P(this.La),m.$(),m.da(!1);this.I(33554432)}if(this.J(67108864)){if($.jr(this,"gridsSettings"))for(l=this.Vx.hm(),b=0,d=l.length;b<d;b++)k=l[b],$.V(k),k.scale(this.scale()),k.P(this.La),k.$(),k.da(!1);this.I(67108864)}this.J(134217728)&&(y=this.$g(),$.V(y),y.ja(x),y.P(this.La),
y.$(),y.da(!1),this.I(134217728));if(this.J(16)){y=this.Rw();if("as-is"==y)for(b=0,d=this.$v.length;b<d;b++)x=this.$v[b],x.visible(!0),x.ll(),delete x.tag;else if($.D(y)&&y.enabled())for(b=0,d=this.$v.length;b<d;b++)x=this.$v[b],x.visible(!0),x.ll(),delete x.tag,$.K(x,$.ng)&&x.fill(y.fill()).stroke(y.stroke());else for(b=0,d=this.$v.length;b<d;b++)x=this.$v[b],x.visible(!1),x.ll(),delete x.tag;this.Pv();this.B(32768);this.I(16)}if(this.J(32768)){for(b=this.fb.length;b--;)k=this.fb[b],x=k.Na(),this.MB[x]=
this.MB[x]||!k.ef(),$.V(k),k.ib(dQ(this)),WP(k,this.i("geoIdField")),k.$(),k.da(!1);this.I(32768)}this.J(8388608)&&(vR(this),this.I(8388608));this.J(524288)&&($.jr(this,"colorRange")&&($.V(this.Yb),this.Yb.P(this.La),this.Yb.zIndex(50),this.Yb.$(),this.Yb.da(!1)),this.I(524288));if(this.J(16777216)){b=0;for(d=this.Qn.length;b<d;b++)if(l=this.Qn[b])$.V(l),l.P(this.La),l.zIndex(60),l.$(),l.da(!1);this.I(16777216)}};
$.g.i5=function(a,b,c){var d=GR(this,a);if(d&&!AR(this)){var e=d.fa.Lj();var f=this.scale().Fc(e.left+e.width/2,e.top+e.height/2);f=TQ(this.scale(),f[0],f[1])[0];a=f==this.kk["default"]?this.kk[a]={}:f;b/=this.Fg();c/=this.Fg();var h=QQ(this.scale(),e.left,e.top),k=QQ(this.scale(),e.left+b,e.top+c);f=k[0]-h[0];h=k[1]-h[1];k=0;for(var l=d.polygones.length;k<l;k++){for(var m=d.polygones[k],p=m.outerPath,q=0;q<p.length-1;q+=2)p[q]+=f,p[q+1]+=h;m=m.holes;for(q=0;q<m.length-1;q+=2)m[q]+=f,m[q+1]+=h}a.$h=
a.$h?a.$h+f:f;a.Ti=a.Ti?a.Ti+h:h;e.left+=b;e.top+=c;b=QQ(this.scale(),e.left,e.top);e=QQ(this.scale(),e.left+e.width,e.top+e.height);a.It=$.gn(b[0],b[1],Math.abs(e[0]-b[0]),Math.abs(e[1]-b[1]));this.B(65540,1)}return this};
$.g.oS=function(a,b,c){var d=GR(this,a);if(d){var e=d.fa.Lj();var f=this.scale().Fc(e.left+e.width/2,e.top+e.height/2);f=TQ(this.scale(),f[0],f[1])[0];f=f==this.kk["default"]?this.kk[a]={}:f}if($.n(b)||$.n(c)){if(d&&!AR(this)){var h=f.Ti||0;a=(f.$h||0)*this.scale().ratio;h*=this.scale().ratio;b=$.n(b)?b:a;c=$.n(c)?c:h;b/=this.Fg();c/=this.Fg();for(var k=(b-a)/this.scale().ratio,l=(c-h)/this.scale().ratio,m=0,p=d.polygones.length;m<p;m++){for(var q=d.polygones[m],r=q.outerPath,t=0;t<r.length-1;t+=
2)r[t]+=k,r[t+1]+=l;q=q.holes;for(t=0;t<q.length-1;t+=2)q[t]+=k,q[t+1]+=l}f.$h=f.$h?f.$h+k:k;f.Ti=f.Ti?f.Ti+l:l;e.left+=b-a;e.top+=c-h;b=QQ(this.scale(),e.left,e.top);e=QQ(this.scale(),e.left+e.width,e.top+e.height);f.It=$.gn(b[0],b[1],Math.abs(e[0]-b[0]),Math.abs(e[1]-b[1]));this.B(65540,1)}return this}return d?[f.$h*this.scale().ratio||0,f.Ti*this.scale().ratio||0]:[window.NaN,window.NaN]};
$.g.nS=function(a,b){var c=GR(this,a);if(c){var d=this.scale();var e=c.fa.pb();var f=d.Fc(e.left+e.width/2,e.top+e.height/2);f=TQ(d,f[0],f[1])[0];f=f==this.kk["default"]?this.kk[a]={}:f}if($.n(b)){if(c&&!AR(this)){var h=$.N(b)||1,k=f.$h||0,l=f.Ti||0,m=this.kk["default"].scale||tS["default"].scale;m=f.scale?f.scale:m;var p=QQ(d,e.left,e.top),q=QQ(d,e.left+e.width,e.top+e.height),r=(q[0]-k)/m*h+k;q=(q[1]-l)/m*h+l;p=PQ(d,(p[0]-k)/m*h+k,(p[1]-l)/m*h+l);q=PQ(d,r,q);q=$.gn(p[0],p[1],Math.abs(q[0]-p[0]),
Math.abs(q[1]-p[1]));p=QQ(d,q.left+q.width/2,q.top+q.height/2);r=QQ(d,e.left+e.width/2,e.top+e.height/2);e=r[0]-p[0];r=r[1]-p[1];p=QQ(d,q.left,q.top);q=QQ(d,q.left+q.width,q.top+q.height);p[0]+=e;p[1]+=r;q[0]+=e;q[1]+=r;d=0;for(var t=c.polygones.length;d<t;d++){for(var u=c.polygones[d],v=u.outerPath,w=0;w<v.length-1;w+=2)v[w]=(v[w]-k)/m*h+k+e,v[w+1]=(v[w+1]-l)/m*h+l+r;u=u.holes;for(w=0;w<u.length-1;w+=2)u[w]=(u[w]-k)/m*h+k+e,u[w+1]=(u[w+1]-l)/m*h+l+r}f.It=$.gn(p[0],p[1],Math.abs(q[0]-p[0]),Math.abs(q[1]-
p[1]));f.$h=f.$h?f.$h+e:e;f.Ti=f.Ti?f.Ti+r:r;f.scale=h;this.B(65540,1)}return this}return c?f.scale||this.kk["default"].scale||1:window.NaN};
$.g.mS=function(a,b){var c=GR(this,a);if(c){var d=this.scale();var e=c.fa.pb(),f=d.Fc(e.left+e.width/2,e.top+e.height/2);f=TQ(d,f[0],f[1])[0];if($.n(b)){if(!AR(this)){c.fa.clear();var h=c.properties[this.i("geoIdField")];var k=f==this.kk["default"]?this.kk[h]={}:f,l=k.zg||this.kk["default"].zg||tS["default"].crs;f=QP(l);h=QP(b);for(var m=k.$h||0,p=k.Ti||0,q=k.scale||this.kk["default"].scale||tS["default"].scale,r=0,t=c.polygones.length;r<t;r++){for(var u=c.polygones[r],v=u.outerPath,w=0;w<v.length-
1;w+=2){var x=(v[w]-m)/q;var y=(v[w+1]-p)/q;x=f.gj(x,y);x=h.forward(x[0],x[1]);v[w]=x[0]*q+m;v[w+1]=x[1]*q+p;y=PQ(d,v[w],v[w+1]);x=y[0];y=y[1];w?c.fa.lineTo(x,y):c.fa.moveTo(x,y)}u=u.holes;for(w=0;w<u.length-1;w+=2)x=(u[w]-m)/q,y=(u[w+1]-p)/q,x=f.gj(x,y),x=h.forward(x[0],x[1]),u[w]=x[0]*q+m,u[w+1]=x[1]*q+p,y=PQ(d,u[w],u[w+1]),x=y[0],y=y[1],w?c.fa.lineTo(x,y):c.fa.moveTo(x,y)}p=c.fa.Lj();r=QQ(d,p.left+p.width/2,p.top+p.height/2);t=QQ(d,e.left+e.width/2,e.top+e.height/2);m=t[0]-r[0];q=t[1]-r[1];r=0;
for(t=c.polygones.length;r<t;r++){u=c.polygones[r];v=u.outerPath;for(w=0;w<v.length-1;w+=2)v[w]+=m,v[w+1]+=q;u=u.holes;for(w=0;w<u.length-1;w+=2)u[w]+=m,u[w+1]+=q}c.fa.setPosition(e.left+e.width/2-p.width/2,e.top+e.height/2-p.height/2);p=c.fa.pb();c=QQ(d,p.left,p.top);d=QQ(d,p.left+p.width,p.top+p.height);k.It=$.gn(c[0],c[1],Math.abs(d[0]-c[0]),Math.abs(d[1]-c[1]));k.$h=k.$h?k.$h+m:m;k.Ti=k.Ti?k.Ti+q:q;k.zg=b;k.Eo=h;k.DI=l;k.A4=f;this.B(65540,1)}d=this}else d=$.n(f.zg)?f.zg:this.kk["default"].zg}else d=
null;return d};$.g.zg=function(a){return $.n(a)?(a=wP(a),this.mt!=a&&(this.mt=a,this.B(65540,1)),this):this.mt||this.Dz||tS["default"].crs};$.g.show=function(){this.La.visible(!0)};$.g.Oc=function(){this.La.visible(!1);var a=dQ(this);a.jl&&(a.dispatchEvent(this.Ik("hovered",{target:this},a.jl,!0,!0)),a.jl=null);a.ac("mousemove",a.ZI);(a=$.jr(this,"colorRange"))&&a.enabled()&&$.uN(a)};$.g.qh=function(){return dQ(this).DK};
$.g.cS=function(a){return $.n(a)?($.D(a)&&(this.Ax=a,this.fH&&$.Dc(this.fH,function(a){a.cd()}),this.fH={}),this):this.Ax};$.g.cv=function(a,b,c){var d=$.Ja(arguments,2);a.ai?a.ai.ve("end",function(){b.apply(this,d)},!1,a):b.apply(a,d)};$.g.Sz=function(){var a=dQ(this),b=[new TP(null,this,null,null)];b.push.apply(b,$.Ja(a.nt,0));return b};
$.g.Pq=function(a,b){var c=dQ(this),d=this.qh();if(b==d||c.dv)return this;if(null===a||"null"==a)return JR(this,c,c.nt.length),this;if($.n(b))IR(this,a,b);else if(this.Ax&&this.Ax[a])IR(this,a,this.Ax[a]);else{for(d=c.nt.length;d--;){var e=c.nt[d];if(e.Lx()==a){var f=e.r0();break}}f?JR(this,f,c.nt.length-1-d):$.el(301,null,[a])}return this};$.g.zx=function(){var a=dQ(this),b=this.qh().$ga;if(!b||a.dv)return a.dv=!1,this;JR(this,b);return this};$.g.Fg=function(){return this.Sp};
$.g.Ui=function(a,b,c,d){this.ur||(a=$.Za(a,this.i("minZoomLevel"),this.i("maxZoomLevel")));return this.zoom(a/this.Fg(),b,c,d)};
$.g.lja=function(a,b){var c=this.qh(),d=[];$.A(a)||(a=[a]);for(var e,f,h="",k=0,l=a.length;k<l;k++){var m=a[k];if(f=GR(c,m))h+=m+";",d.push(f)}if(d.length){m=c.gf.qg();var p=this.vN&&h==this.vN&&this.uN&&Pea(m,this.uN);k=0;for(l=d.length;k<l;k++)f=d[k],f=f.fa,e?$.qb(e,p?f.pb():f.Qq()):e=p?f.pb():f.Qq();var q=m.ed,r=m.Ad,t=m.xd;d=kQ(c,e,void 0,p);var u=d[0],v=d[1],w=d[2];this.cv(c,function(){this.sJ=!0;this.pl=$.n(b)?b:(0,window.isNaN)(this.pl)?500:this.pl;p?($.Tm(q,u,1E-5)?dQ(this).dispatchEvent(KR(this,
"zoomstart"))&&(this.ai=new jQ(this,[1,r,t],[1,r+v,t+w],this.pl),this.ai.play()):this.Ui(this.i("minZoomLevel"),v,w,this.pl),this.uN=this.vN=null):($.Tm(q,u,1E-5)?dQ(this).dispatchEvent(KR(this,"zoomstart"))&&(this.ai=new jQ(this,[1,r,t],[1,r+v,t+w],this.pl),this.ai.play()):this.Ui(u,v,w,this.pl),this.vN=h,this.ai&&this.ai.ve("end",function(){this.vN?this.uN=this.qh().gf.qg().clone():this.uN=null},!1,this))})}else $.el(301,null,[a])};
$.g.Cr=function(a){return this.zoom(this.i("zoomFactor"),void 0,void 0,a)};$.g.Dr=function(a){return this.zoom(1/this.i("zoomFactor"),void 0,void 0,a)};$.g.Cm=function(){this.dv||(this.ai&&this.ai.stop(),this.cv(this,function(){this.TC=!0;this.pl=300;var a=this.qh();a.Ui(a.i("minZoomLevel"));this.cv(this,function(){this.TC=!1})}));return this};
$.g.zoom=function(a,b,c,d){if($.n(a)){var e=0,f=0;$.n(d)&&(this.pl=d);a=$.N(a);if((this.Fg()==this.i("minZoomLevel")&&1>a||this.Fg()==this.i("maxZoomLevel")&&1<a)&&!this.ur)return this;1!=a&&(this.Xy=a,e=2097152,f=1);b=$.N(b);c=$.N(c);if(this.Cc!=b||this.yc!=c)this.Cc=b,this.yc=c,e=2097152,f=1;this.sJ=!0;this.B(e,f)}return this};
$.g.move=function(a,b){if($.n(a)||$.n(b)){var c=0,d=0;$.n(a)&&(a=$.N(a),(0,window.isNaN)(a)||(this.offsetX=a,c=1048576,d=1));$.n(b)&&(b=$.N(b),(0,window.isNaN)(b)||(this.offsetY=b,c=1048576,d=1));this.B(c,d)}return this};$.g.transform=function(a,b){var c=this.scale().transform(a,b);return{x:c[0],y:c[1]}};$.g.Fc=function(a,b){var c=this.scale().Fc(a,b);return{x:c[0],"long":c[0],y:c[1],lat:c[1]}};
$.g.bm=function(a,b){var c,d=[];if("default"==a){var e=0;for(c=this.fb.length;e<c;e++){var f=this.fb[e];var h=f.sd();var k=f.LC(b);k.sourceUid=$.oa(this);k.sourceKey=f.id();k.meta={scale:h};d.push(k)}}else if("categories"==a){if(this.Yb&&this.Yb.enabled()&&this.Yb.target()&&$.K(this.Yb.scale(),$.Uy))h=this.Yb.scale(),f=this.Yb.target();else for(e=0,c=this.fb.length;e<c;e++)if(f=this.fb[e],$.K(f.sd(),$.Uy)){h=f.sd();break}if(h)for(k=h.Xq(),e=0,c=k.length;e<c;e++){var l=k[e];"default"!==l.name&&d.push({text:l.name,
iconEnabled:!0,iconType:"square",iconFill:l.color,disabled:!this.enabled(),sourceUid:$.oa(this),sourceKey:e,meta:{W:f,scale:h,qe:l}})}}return d};$.g.ts=function(a){return"default"==a||"categories"==a};
$.g.er=function(a,b){var c=a.o();var d=this.Gf().i("itemsSourceMode");if("default"==d){if(d=a.si(),d=this.Ue(d))d.enabled(!d.enabled()),d.enabled()?d.Ek():d.Pd()}else if("categories"==d){d=c.W;var e=c.scale;if(e&&d){var f=[];c=c.qe;for(var h=d.vc();h.advance();){var k=h.get(d.Se.ol);c==e.pn(k)&&f.push(h.la())}"single"==this.Vc().i("hoverMode")?b.Jf={W:d,md:f}:b.Jf=[{W:d,md:f,xn:f[f.length-1],we:{index:f[f.length-1],Yf:0}}]}}};
$.g.bq=function(a,b){var c=a.o();var d=this.Gf().i("itemsSourceMode");if("default"==d)d=a.si(),(!a||null!=d||(0,window.isNaN)(d))&&(d=this.Ue(d))&&d.Ek();else if("categories"==d){d=c.W;var e=c.scale;if(e&&d){c=c.qe;for(var f=d.vc(),h=[];f.advance();){var k=f.get(d.Se.ol);c==e.pn(k)&&h.push(f.la())}if(e=$.mo(b.domTarget))"single"==this.Vc().i("hoverMode")?e.Jf={W:d,md:h}:e.Jf=[{W:d,md:h,xn:h[h.length-1],we:{index:h[h.length-1],Yf:0}}];this.Yb&&this.Yb.enabled()&&this.Yb.target()&&$.tN(this.Yb,(c.start+
c.end)/2)}}};$.g.aq=function(a,b){var c=a.o(),d=this.Gf().i("itemsSourceMode");"default"==d?(c=a.si(),(!a||null!=c||(0,window.isNaN)(c))&&(c=this.Ue(c))&&c.Pd()):"categories"==d&&("single"==this.Vc().i("hoverMode")&&(d=$.mo(b.domTarget))&&(d.W=c.W),this.Yb&&this.Yb.enabled()&&this.Yb.target()&&$.uN(this.Yb))};$.g.qk=function(a,b){var c=$.mx(this);return $.bp(c.headers,c.data,b)};
var jfa={"select-submenu":{"select-submenu":{index:9,text:"Select points",iconClass:"ac ac-mouse-pointer",subMenu:{"select-polygon":{index:9.2,text:"Polygon",iconClass:"ac ac-pentagon",eventType:"anychart.startSelectPolygonMarquee",action:function(a){a.menuParent.C4(!1)}},"select-marquee":{index:9.3,text:"Marquee",iconClass:"ac ac-square",eventType:"anychart.startSelectMarquee",action:function(a){a.menuParent.vO(!1)}}}}}};$.g=wR.prototype;
$.g.Hw=function(a){var b={};$.Sc(b,$.Kl(jfa["select-submenu"]),a);return b};$.g.Jia=function(){return Zea(ZQ.vd(),this.gl,this.kk)};
$.g.X=function(a,b){wR.u.X.call(this,a,b);"defaultSeriesSettings"in a&&this.Sr(a.defaultSeriesSettings);"defaultCalloutSettings"in a&&this.z_(a.defaultCalloutSettings);"colorRange"in a&&this.Yj().ia(!!b,a.colorRange);"unboundRegions"in a&&this.Rw(a.unboundRegions);$.zq(this,sS,a);var c=a.geoData;c&&this.Yr($.fc(c,"{")?JSON.parse(c):c);this.vR(a.crsAnimation);this.zg(a.crs);var d;if(a.geoScale){var e=new HQ;e.K(a.geoScale);this.scale(e)}if("callouts"in a){c=a.callouts;var f=0;for(var h=c.length;f<
h;f++)(e=c[f])&&this.UZ(f,e)}"axesSettings"in a&&this.axes().ia(!!b,a.axesSettings);"gridsSettings"in a&&this.AT().ia(!!b,a.gridsSettings);"crosshair"in a&&this.$g(a.crosshair);h=a.colorScales;c={};if($.D(h))for(d in h)if(h.hasOwnProperty(d)){f=h[d];e=$.z(f)?f:f.type;e=String(e).toLowerCase();switch(e){case "ordinal-color":e=$.Vy();break;case "linear-color":e=$.Sy();break;default:e=$.Sy()}$.D(f)&&e.K(f);c[d]=e}h=a.series;if($.A(h))for(d=0;d<h.length;d++)if(f=h[d],e=(f.seriesType||this.i("defaultSeriesType")).toLowerCase(),
e=this.te(e,f.data))e.K(f),$.D(f)&&"colorScale"in f&&(f=f.colorScale,$.ea(f)?e.sd(c[f]):(e=$.z(f)?f:f.type,(e=$.Rs(e,null))&&$.D(f)&&e.K(f)));d=a.drillDownMap;$.D(d)&&(this.Ax={},$.Dc(d,function(a,b){this.cS()[b]=$.Np(a)},this))};
$.g.F=function(){var a=wR.u.F.call(this);a.unboundRegions=$.z(this.Rw())?this.Rw():this.Rw().F();$.jr(this,"colorRange")&&(a.colorRange=this.Yj().F());a.geoScale=this.scale().F();$.Hq(this,sS,a);var b;this.zL?b=this.zL:AR(this)?$.z(this.mn)?b=this.mn:b="#document"==this.mn.nodeName?this.mn.documentElement.outerHTML:this.mn.outerHTML:b=JSON.stringify(this.mn);$.n(b)&&(a.geoData=b);a.crsAnimation=this.vR().F();$.D(this.mt)?$.el(8,null,["Map crs"]):this.mt&&(a.crs=this.mt);b=[];for(var c={},d=[],e=0;e<
this.fb.length;e++){var f=this.fb[e],h=f.F();if(f=f.sd()){var k=$.oa(f);c[k]?h.colorScale=(0,$.za)(d,c[k]):(c[k]=f.F(),d.push(c[k]),h.colorScale=d.length-1)}b.push(h)}c=[];e=0;for(h=this.Qn.length;e<h;e++)(f=this.Qn[e])&&(c[e]=f.F());c.length&&(a.callouts=c);b.length&&(a.series=b);d.length&&(a.colorScales=d);$.jr(this,"axesSettings")&&(a.axesSettings=this.axes().F());$.jr(this,"gridsSettings")&&(a.gridsSettings=this.AT().F());$.jr(this,"crosshair")&&(a.crosshair=this.$g().F());this.Ax&&(a.drillDownMap=
{},$.Dc(this.Ax,function(b,c){var d=$.K(b,wR)?b.F():b;a.drillDownMap[c]=d},this.Ax));return{map:a}};
$.g.R=function(){$.td(this.lg,this.ly,this.Ef,this.Yb,this.Qn,this.xp,this.Pda,this.Zu,this.mm,this.Ot,this.Xo);this.Yb=this.Ef=this.ly=this.lg=null;this.Qn.length=0;this.Xo=this.Ot=this.mm=this.Zu=this.Pda=this.xp=null;if(this.P()&&this.P().Ha()){var a=this.P().Ha().Bl();this.RU&&$.Sd(a,"click",this.RU,!1,this);this.SU&&$.Sd(a,"dblclick",this.SU,!1,this);this.FH&&$.Sd(a,"pointerup",this.FH,!1,this);this.FH&&$.Sd(a,"touchend",this.FH,!1,this);this.TU&&$.Sd(a,"mouseleave",this.TU,!1,this)}wR.u.R.call(this)};
var uS=wR.prototype;$.F("anychart.mapModule.Chart.DEFAULT_TX",tS);uS.getType=uS.Na;uS.geoData=uS.Yr;uS.unboundRegions=uS.Rw;uS.toGeoJSON=uS.Jia;uS.toCsv=uS.qk;uS.getSeries=uS.Ue;uS.addSeries=uS.Rk;uS.getSeriesAt=uS.Nh;uS.getSeriesCount=uS.Mj;uS.removeSeries=uS.mo;uS.removeSeriesAt=uS.Cn;uS.removeAllSeries=uS.kp;uS.colorRange=uS.Yj;uS.callout=uS.UZ;uS.axes=uS.axes;uS.grids=uS.AT;uS.crosshair=uS.$g;uS.palette=uS.cc;uS.markerPalette=uS.sf;uS.hatchFillPalette=uS.oe;uS.getPlotBounds=uS.Rf;
uS.crsAnimation=uS.vR;uS.featureTranslation=uS.oS;uS.translateFeature=uS.i5;uS.featureScaleFactor=uS.nS;uS.featureCrs=uS.mS;uS.crs=uS.zg;uS.transform=uS.transform;uS.inverseTransform=uS.Fc;uS.zoom=uS.zoom;uS.move=uS.move;uS.zoomToFeature=uS.lja;uS.zoomTo=uS.Ui;uS.getZoomLevel=uS.Fg;uS.getCurrentScene=uS.qh;uS.fitAll=uS.Cm;uS.zoomIn=uS.Cr;uS.zoomOut=uS.Dr;uS.drillTo=uS.Pq;uS.drillUp=uS.zx;uS.drillDownMap=uS.cS;uS.getDrilldownPath=uS.Sz;uS.startSelectPolygonMarquee=uS.C4;uS.inPolygon=uS.mM;
uS.cancelPolygonMarquee=uS.zba;$.H(LR,$.OB);$.sG[23]=LR;LR.prototype.type=23;LR.prototype.sp=["id","long","lat","size"];LR.prototype.ol="size";$.H(MR,$.xA);$.sG[24]=MR;$.g=MR.prototype;$.g.type=24;$.g.flags=532;$.g.sp=["id","value"];$.g.vh={foreignFill:"none",hatchFill:"path"};$.g.fg=function(a,b){var c=a.o("features");if(c)for(var d=0,e=c.length;d<e;d++){var f=c[d];$.n(f.fa)&&FR(this.W.mc(),f,function(c){var d=c.fa;if(d&&$.K(d,$.ng)){d.visible(!0);a.o("currentPointElement",c);var e=this.Wc.Xc(b,void 0,void 0,d),f=e.foreignFill;f&&(a.o("fill",f.fill()),a.o("stroke",f.stroke()));e=e.hatchFill;e.fe($.yg(d));c.p1=e}},this)}};$.H(NR,$.xA);$.sG[21]=NR;$.g=NR.prototype;$.g.type=21;$.g.flags=528;$.g.sp=["points"];$.g.vh={path:"path",hatchFill:"path"};
$.g.fg=function(a,b){var c=this.g(this.W,a,b),d=this.f(this.W,a,b),e={};e.eventHandler=10>c||10>d;e.path=!0;e.hatchFill=!0;e=this.Wc.Xc(b,e);var f=this.b(this.W,a,0),h=0,k=0,l=[],m=[],p=0,q=10>c||10>d;var r=this.ue();var t=this.W.mc().scale();if((r=a.get(r[0]))&&$.A(r)){var u=[];var v=[];for(var w,x,y,B=0,G=r.length;B<G;B+=2){var C=$.N(r[B]);w=$.N(r[B+1]);y=t.transform(w,C);x=y[0];y=y[1];(0,window.isNaN)(x)||(0,window.isNaN)(y)||(u.push(x,y),v.push(C,w))}a.o("pointsWithoutMissing",v);C=u}else C=null;
t=0;for(r=C.length;t<r;t+=2){w=e.path;x=e.hatchFill;u=C[t];v=C[t+1];var I;q&&(I=e.eventHandler);if(!(0,window.isNaN)(u)&&!(0,window.isNaN)(v)){if(0!=t){B=$.dn(h,k,u,v);var P=B/2*f;y=(h+u)/2;var Q=(k+v)/2;var S=$.Qm($.cb(Math.atan(Math.abs(k-v)/Math.abs(h-u))),7);G=1;if(u<=h&&v<=k)var sa=S-90;else u<=h&&v>=k?sa=270-S:u>=h&&v>=k?(sa=S-90,G=-1):u>=h&&v<=k&&(sa=180-S+90,G=-1);y+=Math.cos($.bb(sa))*P*1.2;P=Q+Math.sin($.bb(sa))*P*1.2;Q=B/2*f;S=0<f?1:-1;var va=Math.abs(Q)<B/4?B/4*S:Math.abs(Q)>B/2?B/2*S:
Q;var Oa=(0>f?90:-90)*G;Oa=$.bb(sa+Oa);Q=y+Math.cos(Oa)*va;S=P+Math.sin(Oa)*va;Oa=(0>f?-90:90)*G;Oa=$.bb(sa+Oa);y+=Math.cos(Oa)*va;P+=Math.sin(Oa)*va;va=OR(w,h,k,u,v,Q,S,y,P,c,d,f,G,sa);q&&OR(I,h,k,u,v,Q,S,y,P,20,20,f,G,sa);x.fe($.yg(w));l.push.apply(l,va);m.push(B);p+=B}h=C[t];k=C[t+1]}}a.o("points",l).o("sumDist",p).o("connectorsDist",m)};$.H(PR,$.VB);$.sG[22]=PR;PR.prototype.type=22;PR.prototype.sp=["id","long","lat"];PR.prototype.mB=function(a,b){PR.u.mB.call(this,a,b);var c=a.o("shapes");this.Wc.ct(b,c)};PR.prototype.fg=function(a,b){var c=this.Wc,d=a.get(this.W.ue()[0]),e=this.ah(d,this.prevValue),f={};f[e.path]=!0;f[e.he]=!0;a.o("names",e);c=c.Xc(b,f,b);$.WB(this,a,b,c,e);this.prevValue=d};$.Mp.map=QR;$.Mp.bubble=RR;$.Mp.choropleth=SR;$.Mp.connector=TR;$.Mp.marker=UR;$.Mp["seat-map"]=VR;$.F("anychart.map",QR);$.F("anychart.bubbleMap",RR);$.F("anychart.choropleth",SR);$.F("anychart.connector",TR);$.F("anychart.markerMap",UR);$.F("anychart.seatMap",VR);}).call(this,$)}
if(!_.theme_map){_.theme_map=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{map:{defaultCalloutSettings:{},defaultSeriesSettings:{base:{normal:{fill:function(){return this.scaledColor||this.sourceColor},stroke:$.XM,hatchFill:!1,labels:{anchor:"center-bottom",enabled:null,adjustFontSize:{width:!0,height:!0},format:function(){return this.getData("name")?this.getData("name"):this.name?this.name:this.getData("id")?this.getData("id"):"lat: "+this.lat+"\nlong: "+this["long"]}},markers:{enabled:!1,disablePointerEvents:!1}},hovered:{fill:"#757575",
stroke:{thickness:.5,color:"#545f69"},labels:{enabled:null},markers:{enabled:null}},selected:{fill:"#333 0.85",stroke:{thickness:.5,color:"#545f69"},labels:{enabled:null},markers:{enabled:null}},color:null,tooltip:{titleFormat:function(){return this.name||this.getData("name")||"Tooltip title"},format:function(){return"Id: "+this.id+"\nValue: "+this.valuePrefix+$.OM(this.value)+this.valuePostfix}},xScale:null,yScale:null,a11y:{titleFormat:"Series named {%SeriesName}"},clip:!1},choropleth:{normal:{labels:{fontColor:"#212121",
anchor:"center"},markers:{anchor:null}},colorScale:{}},connector:{startSize:0,endSize:0,curvature:.3,normal:{stroke:function(){return{thickness:2,color:this.sourceColor,lineJoin:"round"}},markers:{position:"middle",enabled:!0,size:15,stroke:"1.5 #f7f7f7",rotation:null,anchor:null,type:"arrowhead"},labels:{enabled:!1,position:"middle",anchor:null,format:function(){return"from: "+this.startPoint.lat+","+this.startPoint["long"]+"\nto: "+this.endPoint.lat+","+this.endPoint["long"]}}},hovered:{stroke:$.YM,
markers:{stroke:"1.5 #f7f7f7",size:15}},selected:{stroke:"2 #333 0.85",markers:{fill:"#333 0.85",stroke:"1.5 #f7f7f7",size:15}},tooltip:{title:{enabled:!1},separator:{enabled:!1},format:function(){return"from: "+this.startPoint.lat+", "+this.startPoint["long"]+"\nto: "+this.endPoint.lat+", "+this.endPoint["long"]}}},bubble:{normal:{stroke:function(){return{thickness:2,color:$.Il(this.sourceColor)}},labels:{anchor:"center"}},hovered:{fill:"#757575"},selected:{fill:"#333 0.85"},tooltip:{format:function(){var a=
this.id?"Id: "+this.id:"lat: "+this.lat+"\nlong: "+this["long"];this.size&&(a+="\nValue: "+this.valuePrefix+$.OM(this.size)+this.valuePostfix);return a}}},marker:{normal:{labels:{enabled:!0}},hovered:{labels:{fontWeight:"bold"}},selected:{labels:{fontWeight:"bold"}},tooltip:{format:function(){var a=this.id?"Id: "+this.id:"lat: "+this.lat+"\nlong: "+this["long"];this.value&&(a+="\nValue: "+this.valuePrefix+$.OM(this.value)+this.valuePostfix);return a}}}},colorRange:{zIndex:50},geoScale:{maxTicksCount:1E3,
precision:2},callouts:[],axesSettings:{enabled:!1,title:{padding:5,fontSize:13,text:"Axis title",fontColor:"#545f69",zIndex:10},labels:{enabled:!0,padding:2,rotation:null,fontSize:10,anchor:"auto",position:"outside",zIndex:5},minorLabels:{enabled:null,padding:2,rotation:null,fontSize:9,anchor:null,position:"outside",zIndex:4},overlapMode:"no-overlap",ticks:{enabled:!0,length:5,position:"outside",stroke:"#CECECE",zIndex:3},minorTicks:{enabled:!1,length:2,position:"outside",stroke:"#CECECE",zIndex:2},
drawFirstLabel:!0,drawLastLabel:!0,stroke:"#CECECE"},gridsSettings:{enabled:!1,minorStroke:"none",zIndex:5},crosshair:{enabled:!1,xStroke:"#969EA5",yStroke:"#969EA5",zIndex:110,xLabels:[{enabled:null,axisIndex:2}],yLabels:[{enabled:null,axisIndex:3}]},unboundRegions:{enabled:!0,fill:"#F7F7F7",stroke:"#e0e0e0"},maxBubbleSize:"10%",minBubbleSize:"1%",geoIdField:"id",interactivity:{copyFormat:function(a){a=a.seriesStatus;for(var b="",c=0,d=a.length;c<d;c++){var e=a[c];if(e.points.length){b+="Series "+
e.series.getIndex()+":\n";for(var f=0,h=e.points.length;f<h;f++){var k=e.points[f];b+="id: "+k.id+" index: "+k.index;f!=h-1&&(b+="\n")}c!=d-1&&(b+="\n")}}return b||"no selected points"},drag:!0,zoomOnMouseWheel:!1,keyboardZoomAndMove:!0,zoomOnDoubleClick:!1},minZoomLevel:1,maxZoomLevel:10,overlapMode:"no-overlap",crsAnimation:{enabled:!0,duration:300},legend:{enabled:!1,tooltip:{contentInternal:{background:{disablePointerEvents:!1}}}},selectPolygonMarqueeFill:"#d3d3d3 0.4",selectPolygonMarqueeStroke:"#d3d3d3",
selectPolygonMarqueeMarker:{fill:"#d3d3d3 0.4",stroke:"#d3d3d3",radius:15}},choropleth:{},bubbleMap:{},markerMap:{},connector:{},seatMap:{}});}).call(this,$)}
if(!_.mekko){_.mekko=1;(function($){var iP=function(a,b){a.LQ&&$.Dt(a,b)},jP=function(a,b,c,d,e,f){$.gB.call(this,a,b,c,d,e);this.Lu=f},kP=function(a,b){$.nA.call(this,!0);this.Fa("mekko");this.Uv=this.pv=null;this.Yia=!!a;this.Lu=!!b;this.pa("defaultSeriesType","mekko");$.T(this.ua,[["pointsPadding",4294967295,1]])},lP=function(a,b,c,d,e,f){a.data.length&&(a.data[0].o.missing||(c.push(a.W.name()),d.push(a.data[0].data.value)),a.data[b].o.missing||(e.push(a.W.name()),f.push(a.data[b].data.value)))},Oea=function(a){if(a.$j.length){var b=
[],c=[],d=[],e=[],f=a.$j[0].data.length-1,h;if("direct"==a.bb().Iw())for(h=a.$j.length;h--;)lP(a.$j[h],f,b,d,c,e);else for(h=0;h<a.$j.length;h++)lP(a.$j[h],f,b,d,c,e);f=a.sS();f.tg();f.Uc.apply(f,b);f.Cg();iP(f,d);f=a.CU();f.tg();f.Uc.apply(f,c);f.Cg();iP(f,e)}},mP=function(a){$.xA.call(this,a)},nP=function(a,b,c,d){if(0!=b.get("value")&&c){var e=b.o("x"),f=b.o("zero"),h=b.o("value"),k=d?b.o("pointWidth"):a.j;b.o("pointWidth",k);d=Math.abs($.Qm($.M(a.W.Aa.i("pointsPadding"),k)));k-=2*d;e-=k/2;k=e+
k;b=b.o("stroke")?b.o("stroke"):c.path.stroke();b=$.bc(b);var l=b/2;a.za?(e=$.R(e,1),k=$.R(k,1)):(h=$.R(h,1),f=$.R(f,1));e=$.R(e+l,b);k=$.R(k-l,b);h+=a.za?-l:l;f-=a.za?-l:l;h=$.R(h,b);f=$.R(f,b);d&&(b=Math.abs(f-h),d=b>2*d?d:b/2-1,f-=d,h+=d);d=c.path;$.vA(d,a.za,e,h);$.wA(d,a.za,k,h,k,f,e,f);d.close();d=c.hatchFill;$.vA(d,a.za,e,h);$.wA(d,a.za,k,h,k,f,e,f);d.close()}},oP=function(a){var b=new kP(!1);b.je="mekko";b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.mekko(arguments[c]);return b},
pP=function(a){var b=new kP(!0);b.Fa("mosaic");b.je="mosaic";b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.mekko(arguments[c]);return b},qP=function(a){var b=new kP(!1,!0);b.Fa("barmekko");b.je="barmekko";b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.mekko(arguments[c]);return b};$.H(jP,$.gB);jP.prototype.L2=function(a){return!this.Lu&&0>a?0:a};jP.prototype.Op=function(a,b,c){(this.Lu||0<a.get("value"))&&jP.u.Op.call(this,a,b,c)};
jP.prototype.yf=function(a,b,c){(this.Lu||0<a.get("value"))&&jP.u.yf.call(this,a,b,c)};$.H(kP,$.nA);var rP={};rP.mekko={Ab:29,Fb:2,Jb:[$.tH,$.TG],Ib:null,Cb:null,zb:$.tG|5767168,yb:"value",wb:"zero"};kP.prototype.Oi=rP;$.yz(kP,kP.prototype.Oi);$.g=kP.prototype;$.g.sa=$.nA.prototype.sa|268435456;$.g.XD=function(a){kP.u.XD.call(this,a);$.X(a,64)&&this.B(268435456,1)};
$.g.sS=function(){if($.n(void 0)){var a=$.Xs(this.pv,void 0,"ordinal",$.Ps,null,this.hK,this);if(a){var b=this.pv==a;this.pv=a;this.pv.da(b);if(!b){a=458752;if(this.Cu()&&"categories"==this.Gf().i("itemsSourceMode")||this.Lu)a|=512;this.B(a,268435457)}}return this}this.pv||(a=this.Et(),b=this.mf("firstCategoriesScale"),this.pv=$.Xs(this.pv,a[b],null,void 0,null,this.hK,this),this.pv.da(!1));return this.pv};
$.g.CU=function(){if($.n(void 0)){var a=$.Xs(this.Uv,void 0,"ordinal",$.Ps,null,this.hK,this);if(a){var b=this.Uv==a;this.Uv=a;this.Uv.da(b);b||this.B(458752,268435457)}return this}this.Uv||(a=this.Et(),b=this.mf("lastCategoriesScale"),this.Uv=$.Xs(this.Uv,a[b],null,void 0,null,this.hK,this),this.Uv.da(!1));return this.Uv};$.g.hK=function(a){$.V(this);if($.X(a,4)){a=458752;if(this.Cu()&&"categories"==this.Gf().i("itemsSourceMode")||this.Lu)a|=512;this.B(a,268435456)}this.da(!0)};$.g.Zz=function(){return $.Ps};
$.g.RC=function(){return["Mekko chart X scale","ordinal"]};$.g.FG=function(){return"linear"};$.g.EG=function(){return 15};$.g.TL=function(){return["Chart scale","ordinal, linear, log, date-time"]};$.g.Cu=function(){return!0};
$.g.bm=function(a,b){if(this.Lu&&1==this.Mj()&&$.K(this.Va(),$.Ct)){this.ob();var c=[],d,e=this.Va().names(),f=this.Va().values(),h=this.Nh(0);for(d=0;d<f.length;d++){var k=null;$.E(b)&&(k={value:f[d],name:e[d]},k=b.call(k,k));$.z(k)||(k=String(e[d]));var l=this.cc().nc(d);c.push({text:k,iconType:"square",iconStroke:$.Ol(l,1),iconFill:l,iconHatchFill:h.hatchFill()})}return c}return kP.u.bm.call(this,a,b)};
$.g.s4=function(a){if(this.Yia){var b=!this.Va().Uf(),c="left"==a.i("orientation")||"bottom"==a.i("orientation");a.scale(c==b?this.sS():this.CU())}else a.scale(this.bb())};
$.g.ob=function(){var a=this.J(196608);this.J(458752)&&this.B(268435456);kP.u.ob.call(this);if(a){var b,c=[],d=[],e=this.$j.length;for(a=0;a<this.$j.length;a++){var f=this.$j[a].data;for(b=0;b<f.length;b++){$.n(d[b])||(d[b]=0);if(f[b].o.missing){d[b]++;var h=0}else h=$.N(f[b].data.value),h=this.Lu?Math.abs(h):0>h?0:h;void 0==c[b]?c.push(h):c[b]+=h}}for(a=0;a<this.$j.length;a++)for(f=this.$j[a].data,b=h=0;b<f.length;b++)f[b].o.category=d[b]<e?h++:h;c=(0,$.Ye)(c,function(a,b){return d[b]<e});iP(this.Va(),
c)}this.J(268435456)&&(Oea(this),this.I(268435456))};var sP={};$.gq(sP,0,"pointsPadding",$.tq);$.U(kP,sP);$.g=kP.prototype;$.g.kt=function(a,b){return new jP(this,this,a,b,!1,this.Lu)};$.g.zs=function(){return"mekko"};$.g.PK=function(){return 3};$.g.F=function(){var a=kP.u.F.call(this);$.Hq(this,sP,a);return{chart:a}};$.g.Ms=function(a,b,c){kP.u.Ms.call(this,a,b,c)};
$.g.lW=function(a,b,c,d){var e=a.F();(a.scale()==this.sS()&&"left"!=a.i("orientation")||a.scale()==this.CU()&&"right"!=a.i("orientation"))&&$.Qz(e,"scale",a.scale(),b,c);d.push($.oa(a));return e};$.g.X=function(a,b){kP.u.X.call(this,a,b);$.zq(this,sP,a)};var tP=kP.prototype;tP.xScale=tP.Va;tP.yScale=tP.bb;tP.crosshair=tP.$g;tP.xAxis=tP.lh;tP.getXAxesCount=tP.QC;tP.yAxis=tP.ti;tP.getYAxesCount=tP.SC;tP.getSeries=tP.Ue;tP.palette=tP.cc;tP.markerPalette=tP.sf;tP.hatchFillPalette=tP.oe;tP.getType=tP.Na;
tP.addSeries=tP.Rk;tP.getSeriesAt=tP.Nh;tP.getSeriesCount=tP.Mj;tP.removeSeries=tP.mo;tP.removeSeriesAt=tP.Cn;tP.removeAllSeries=tP.kp;tP.getPlotBounds=tP.Rf;tP.annotations=tP.tk;tP.lineMarker=tP.Jm;tP.rangeMarker=tP.Sm;tP.textMarker=tP.Xm;$.H(mP,$.xA);$.sG[29]=mP;$.g=mP.prototype;$.g.type=29;$.g.flags=263905;$.g.vh={path:"path",hatchFill:"path"};$.g.fg=function(a,b){if(!a.o("missing")){var c=this.Wc.Xc(b);nP(this,a,c)}};$.g.bt=function(a){var b=a.o("shapes"),c;for(c in b)b[c].clear();nP(this,a,b,!0)};$.g.mB=function(a){if(!a.o("missing")){var b=a.o("shapes"),c;for(c in b)b[c].clear();nP(this,a,b,!0)}};$.Jp.mekko=oP;$.Jp.mosaic=pP;$.Jp.barmekko=qP;$.F("anychart.mekko",oP);$.F("anychart.mosaic",pP);$.F("anychart.barmekko",qP);}).call(this,$)}
if(!_.theme_mekko){_.theme_mekko=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{mekko:{defaultSeriesType:"mekko",isVertical:!1,normal:{labels:{enabled:!0}},defaultSeriesSettings:{base:{normal:{fill:$.WM,stroke:$.aN,labels:{format:"{%Value}{decimalsCount:2}",position:"center",offsetY:0,fontColor:"#ffffff"},markers:{position:"center",anchor:"center"}},hovered:{fill:$.UM,stroke:function(){return $.Ol($.Hl(this.sourceColor),1)}},legendItem:{iconStroke:"none"},isVertical:!1,tooltip:{anchor:"left-top"}},mekko:{}},defaultXAxisSettings:{orientation:"bottom",
title:{text:"X-Axis",padding:{top:5,right:0,bottom:0,left:0}},labels:{format:"{%Value}"},scale:0},defaultYAxisSettings:{orientation:"left",title:{text:"Y-Axis",padding:{top:0,right:0,bottom:5,left:0}},labels:{format:"{%Value}%"},scale:1},xAxes:[{}],yAxes:[{}],scales:[{type:"ordinal"},{type:"linear",stackMode:"percent",stackDirection:"direct",minimumGap:0,maximumGap:0},{type:"ordinal"},{type:"ordinal"}],crosshair:{enabled:!1,displayMode:"float",xStroke:"#969EA5",yStroke:"#969EA5",zIndex:41,xLabels:[{enabled:null}],
yLabels:[{enabled:null}]},xScale:0,yScale:1,firstCategoriesScale:2,lastCategoriesScale:3,defaultAnnotationSettings:{},annotations:{annotationsList:[],zIndex:2E3},pointsPadding:0,barsPadding:0,barGroupsPadding:0},mosaic:{pointsPadding:5,defaultXAxisSettings:{stroke:0,ticks:{enabled:!1}},defaultYAxisSettings:{stroke:0,ticks:{enabled:!1},labels:{format:"{%Value}"}}},barmekko:{scales:[{type:"ordinal"},{type:"linear",stackMode:"value",softMinimum:0},{type:"ordinal"},{type:"ordinal"}],defaultSeriesSettings:{mekko:{normal:{fill:function(){var a=
1<this.chart.getSeriesCount()?this.sourceColor:this.chart.palette().itemAt(this.iterator.la());a=a?a:this.sourceColor;return $.Ml(a,.85,!0)},stroke:function(){var a=1<this.chart.getSeriesCount()?this.sourceColor:this.chart.palette().itemAt(this.iterator.la());a=a?a:this.sourceColor;return $.Ol(a,1)},labels:{format:"{%Value}{decimalsCount:2}",anchor:"auto",position:"value",fontColor:"#7c868e"},markers:{position:"value",positionFormatter:$.PM}},hovered:{fill:function(){var a=1<this.chart.getSeriesCount()?
this.sourceColor:this.chart.palette().itemAt(this.iterator.la());a=a?a:this.sourceColor;return $.Ml(a,.65,!0)}}}},defaultYAxisSettings:{labels:{format:"{%Value}"}},normal:{labels:{enabled:!1}}}});}).call(this,$)}
if(!_.pareto){_.pareto=1;(function($){var xU=function(a){$.wr.call(this,a);this.g=[];this.f=[];this.Vg=[];this.b=0},yU=function(a,b,c,d,e){$.gB.call(this,a,b,c,d,e)},AU=function(a,b,c){if($.n(c)&&-1<c){var d=null;a=a.data();$.n(a)&&(a=a.Cl(c),$.K(a,xU)||$.K(a,zU))&&(d={},d.cf=$.Qm(a.JC(c),2),d.rf=$.Qm(a.yG(c),2))}d&&(b.cf=d.cf,b.rf=d.rf)},zU=function(a){$.wr.call(this,a)},BU=function(){$.BB.call(this);this.Fa("pareto");this.G=$.Ts();this.G.uh(0).Rh(100);this.je="pareto"},CU=function(a){if($.n(a.g)){var b=a.g;$.qr(b);b=b.b;var c=a.Nh(0),
d;c?d=c.bb():d=a.bb();d.uh(0);b?d.Rh(b):d.Rh(1)}},Kfa=function(a,b){return $.wo(a)?$.wo(b)?-1:1:$.wo(b)?-1:b-a},DU=function(a){var b=new BU;b.pa("defaultSeriesType","column");b.Kg();b.ld();b.data(a);return b};$.H(xU,$.wr);$.g=xU.prototype;$.g.sa=1;$.g.Aj=function(a,b,c){a=xU.u.Aj.call(this,a,b,c);"value"==c&&(a=$.N(a),(0,window.isNaN)(a)||0>a)&&(a=0);return a};
$.g.pF=function(){this.g=[];this.f=[];this.Vg=[];this.b=0;this.I(1);for(var a=this.aa(),b;a.advance();)b=a.get("value"),this.Vg.push(b),this.b+=b;if(this.Vg.length)if(0==this.b)for(a=0;a<this.Vg.length;a++)this.g[a]=0,this.f[a]=0;else for(this.g[0]=this.f[0]=100*this.Vg[0]/this.b,a=1;a<this.Vg.length;a++)this.g[a]=100*this.Vg[a]/this.b,this.f[a]=this.f[a-1]+100*this.Vg[a]/this.b;return null};$.g.dI=function(a){this.et=null;$.X(a,16)&&this.B(1,16)};$.g.JC=function(a){return this.f[a]};$.g.yG=function(a){return this.g[a]};
$.g.ej=function(a){return this.Vg[a]};$.H(yU,$.gB);$.g=yU.prototype;$.g.FE={"%BubbleSize":"size","%RangeStart":"low","%RangeEnd":"high","%XValue":"x","%CF":"cf","%RF":"rf"};$.g.Em=function(a,b){var c=yU.u.Em.call(this,a,b),d=this.data(),e;$.n(d)&&$.n(c.index)&&-1<(e=Number(c.index.value))&&(d=d.Cl(e),$.K(d,xU)||$.K(d,zU))&&(c.cf={value:$.Qm(d.JC(e),2),type:"number"},c.rf={value:$.Qm(d.yG(e),2),type:"number"});return c};$.g.Ae=function(a,b){var c=yU.u.Ae.call(this,a,b);AU(this,c,c.index);return c};
$.g.Fi=function(a){a=yU.u.Fi.call(this,a);AU(this,a,a.index);return a};$.g.Rd=function(a){var b=yU.u.Rd.call(this,a);AU(this,b,a);return b};$.H(zU,$.wr);zU.prototype.Aj=function(a,b,c){return"value"==c?this.$d.JC(b):zU.u.Aj.call(this,a,b,c)};zU.prototype.JC=function(a){return this.$d.JC(a)};zU.prototype.yG=function(a){return this.$d.yG(a)};$.H(BU,$.BB);
BU.prototype.data=function(a,b){if($.n(a)){if(a){var c=a.title||a.caption;c&&this.title(c);a.rows&&(a=a.rows)}if(this.lI!==a){this.lI=a;$.qd(this.Ql);$.K(a,$.pr)?this.$d=this.Ql=a.tj():$.K(a,$.zr)?this.$d=this.Ql=a.ie():this.$d=(this.Ql=new $.zr($.A(a)||$.z(a)?a:null,b)).ie();$.V(this);this.g&&$.Zq(this.g,this.Id,this);$.qd(this.g);this.g=new xU(this.$d.sort("value",Kfa));$.L(this.g,this.Id,this);CU(this);c=this.Nh(0);var d=this.Nh(1);this.ba&&$.qd(this.ba);this.ba=this.g.tj();c||(c=this.column());
c.data(this.ba);this.eb&&$.qd(this.eb);this.eb=new zU(this.g);d||(d=this.line().clip(!1).Eb(!0).bb(this.G));d.data(this.eb);this.da(!0)}return this}return this.g};BU.prototype.Id=function(a){$.X(a,16)&&CU(this)};var EU={},FU=$.tG|7864320;EU.area={Ab:1,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG,$.QG,$.kH,$.fH,$.YG,$.TG,$.lH,$.gH,$.mH],Ib:null,Cb:null,zb:FU,yb:"value",wb:"zero"};EU.bar={Ab:6,Fb:2,Jb:[$.tH,$.TG,$.aH,$.mH,$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:FU,yb:"value",wb:"zero"};
EU.box={Ab:3,Fb:2,Jb:[$.tH,$.TG,$.bP,$.cP,$.dP],Ib:null,Cb:null,zb:FU,yb:"highest",wb:"lowest"};EU.bubble={Ab:4,Fb:2,Jb:[$.WG,$.XG,$.$G,$.bH],Ib:null,Cb:null,zb:FU,yb:"value",wb:"value"};EU.candlestick={Ab:5,Fb:2,Jb:[$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:FU,yb:"high",wb:"low"};EU.column={Ab:6,Fb:2,Jb:[$.tH,$.TG,$.aH,$.mH,$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:FU,yb:"value",wb:"zero"};EU["jump-line"]={Ab:19,Fb:2,Jb:[$.RG,$.iH,$.dH,$.SG],Ib:null,Cb:null,zb:FU,yb:"value",wb:"value"};
EU.stick={Ab:20,Fb:2,Jb:[$.RG,$.iH,$.dH,$.SG],Ib:null,Cb:null,zb:FU,yb:"value",wb:"zero"};EU.line={Ab:8,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG],Ib:null,Cb:null,zb:FU,yb:"value",wb:"value"};EU.marker={Ab:9,Fb:2,Jb:[$.tH,$.TG,$.aH,$.mH,$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:$.tG|3670016,yb:"value",wb:"value"};EU.ohlc={Ab:10,Fb:2,Jb:[$.dH,$.iH],Ib:null,Cb:null,zb:FU,yb:"high",wb:"low"};EU["range-area"]={Ab:11,Fb:1,Jb:[$.QG,$.sH,$.oH,$.TG,$.nH,$.rH,$.VG,$.UG],Ib:null,Cb:null,zb:FU,yb:"high",wb:"low"};
EU["range-bar"]={Ab:12,Fb:2,Jb:[$.tH,$.TG,$.pH,$.qH,$.VG,$.UG],Ib:null,Cb:null,zb:FU,yb:"high",wb:"low"};EU["range-column"]={Ab:12,Fb:2,Jb:[$.tH,$.TG,$.pH,$.qH,$.VG,$.UG],Ib:null,Cb:null,zb:FU,yb:"high",wb:"low"};EU["range-spline-area"]={Ab:13,Fb:1,Jb:[$.QG,$.oH,$.sH,$.TG,$.nH,$.rH,$.VG,$.UG],Ib:null,Cb:null,zb:FU,yb:"high",wb:"low"};EU["range-step-area"]={Ab:14,Fb:1,Jb:[$.QG,$.TG,$.oH,$.sH],Ib:null,Cb:null,zb:FU,yb:"high",wb:"low"};
EU.spline={Ab:15,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG],Ib:null,Cb:null,zb:FU,yb:"value",wb:"value"};EU["spline-area"]={Ab:16,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG,$.QG,$.kH,$.fH,$.YG,$.TG,$.lH,$.gH,$.mH],Ib:null,Cb:null,zb:FU,yb:"value",wb:"zero"};EU["step-area"]={Ab:17,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG,$.QG,$.kH,$.fH,$.YG,$.TG,$.lH,$.gH,$.mH],Ib:null,Cb:null,zb:FU,yb:"value",wb:"zero"};EU["step-line"]={Ab:18,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG],Ib:null,Cb:null,zb:FU,yb:"value",wb:"value"};BU.prototype.Oi=EU;$.yz(BU,BU.prototype.Oi);
$.g=BU.prototype;$.g.kt=function(a,b){return new yU(this,this,a,b,!0)};$.g.Zz=function(){return $.Ps};$.g.RC=function(){return["Pareto chart xScale","ordinal"]};$.g.EG=function(){return 3};$.g.TL=function(){return["Pareto chart yScale","scatter","linear, log"]};$.g.At=function(){return[this]};$.g.mG=function(){return["value","CF","RF"]};$.g.h3=function(a,b,c){b=c.la();c=this.g.Cl(b);a[1]=c.ej(b);a[2]=c.JC(b);a[3]=c.yG(b)};$.g.ob=function(){this.J(131072)&&CU(this);BU.u.ob.call(this)};
$.g.ei=function(a){this.J(131072)&&CU(this);return BU.u.ei.call(this,a)};$.g.q0=function(){return this.Va()};$.g.R=function(){$.td(this.g,this.$d,this.Ql,this.ba,this.eb);this.eb=this.ba=this.Ql=this.$d=this.g=null;$.qd(this.G);this.G=null;BU.u.R.call(this)};$.g.F=function(){var a=BU.u.F.call(this);$.n(this.data())&&(a.chart.data=this.data().F());return a};$.g.Kg=function(a){BU.u.Kg.call(this,a);this.ti(1).scale()||this.ti(1).scale(this.G)};
$.g.X=function(a,b){BU.u.X.call(this,a,b);b&&this.ti(1).scale(this.G);"data"in a&&this.data(a.data)};var GU=BU.prototype;GU.data=GU.data;GU.xScale=GU.Va;GU.yScale=GU.bb;GU.crosshair=GU.$g;GU.xGrid=GU.Zm;GU.yGrid=GU.$m;GU.xMinorGrid=GU.xr;GU.yMinorGrid=GU.Ar;GU.xAxis=GU.lh;GU.getXAxesCount=GU.QC;GU.yAxis=GU.ti;GU.getYAxesCount=GU.SC;GU.getSeries=GU.Ue;GU.lineMarker=GU.Jm;GU.rangeMarker=GU.Sm;GU.textMarker=GU.Xm;GU.palette=GU.cc;GU.markerPalette=GU.sf;GU.hatchFillPalette=GU.oe;GU.getType=GU.Na;
GU.addSeries=GU.Rk;GU.getSeriesAt=GU.Nh;GU.getSeriesCount=GU.Mj;GU.removeSeries=GU.mo;GU.removeSeriesAt=GU.Cn;GU.removeAllSeries=GU.kp;GU.getPlotBounds=GU.Rf;GU.xZoom=GU.Aq;GU.yZoom=GU.Bq;GU.xScroller=GU.rp;GU.yScroller=GU.Br;GU.getStat=GU.Eg;GU.annotations=GU.tk;GU.getXScales=GU.Sx;GU.getYScales=GU.Ux;$.Jp.pareto=DU;$.F("anychart.pareto",DU);}).call(this,$)}
if(!_.theme_pareto){_.theme_pareto=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{pareto:{defaultSeriesType:"column",tooltip:{displayMode:"union"},interactivity:{hoverMode:"by-x"},yAxes:[{orientation:"left"},{orientation:"right",labels:{format:"{%Value}%"}}]}});}).call(this,$)}
if(!_.pert){_.pert=1;(function($){var pha=function(a){return $.xk(oha,a,"circle")},eZ=function(){$.Yq.call(this);this.Rb=this.Y=this.HM=this.gb=null;$.T(this.ua,[["color",0,8192]]);var a={};$.T(a,[["fill",0,8192],["stroke",0,8192],["labels",0,0]]);this.ca=new $.Yx(this,a,$.Zl);this.ca.pa("labelsFactoryConstructor",$.$x);this.ca.pa("labelsAfterInitCallback",this.lD);this.xa=new $.Yx(this,a,$.po);this.xa.pa("labelsFactoryConstructor",$.$x);this.xa.pa("labelsAfterInitCallback",this.lD);this.Ca=new $.Yx(this,a,$.qo);this.Ca.pa("labelsFactoryConstructor",
$.$x);this.Ca.pa("labelsAfterInitCallback",this.lD)},fZ=function(a){var b=a.Xa().F(),c=a.Xa().i("titleFormat");a=a.Xa().i("format");c&&c!=$.Xo&&(b.titleFormat=c);a&&a!=$.Xo&&(b.format=a);return b},gZ=function(){eZ.call(this);this.Fa("milestones");$.T(this.ua,[["size",0,1],["shape",0,1]])},hZ=function(){eZ.call(this);this.Fa("tasks");$.fy(this.ca,[["dummyFill",0,8192],["dummyStroke",0,8192],["lowerLabels",0,0],["upperLabels",0,0]]);this.ca.pa("lowerLabelsAfterInitCallback",this.lD);this.xa.pa("lowerLabelsAfterInitCallback",
this.lD);this.Ca.pa("lowerLabelsAfterInitCallback",this.lD)},iZ=function(){$.Yq.call(this);this.Fa("criticalPath");this.pk=this.Pj=null},jZ=function(){$.ox.call(this);this.Fa("pert");this.oa=null;this.b={};this.g={};this.f=[];this.Ob=[];this.Ra=[];this.Ga=this.ba=this.D=null;this.ga=[];this.j={};this.Ja=this.pk=this.Pj=this.ka=this.Fh=this.ab=this.eb=this.U=this.ya=null;this.O=[];this.N=[];this.G={};this.wa=[];this.Tc=this.nb=0;this.hc=[];this.gb=this.xc=null;$.eu(this,this,this.rg,this.Gg,this.Hba,
this.rg,null,this.Cj);$.T(this.ua,[["expectedTimeCalculator",8192,1],["verticalSpacing",4,1],["horizontalSpacing",4,1]])},qha=function(a,b,c){var d=a.Xa(),e=!0;$.da(a.xc.enabled)&&(e=a.xc.enabled);d.K(a.xc);b&&$.da(b.enabled)&&(e=b.enabled);d.K(b);c&&$.da(c.enabled)&&(e=c.enabled);d.K(c);d.enabled(e)},rha=function(a){var b={type:"pointsselect",selectedTasks:[],selectedMilestones:[]},c;for(c=0;c<a.O.length;c++){var d=a.O[c],e=a.g[d.id];d={item:d.item,name:d.item.get("name"),successors:d.Qi,predecessors:d.mk,
earliestStart:e.dS,earliestFinish:e.Kz,latestStart:e.KM,latestFinish:e.GU,duration:e.duration,slack:e.iO,variance:e.oX};b.selectedTasks.push(d)}for(c=0;c<a.N.length;c++)d=a.N[c],e={successors:d.Qi,predecessors:d.mk,isCritical:d.Ve,isStart:d.jy},d.FF&&(e.creator=d.FF.item),b.selectedMilestones.push(e);return b},sha=function(a){a.g={};if(a.Ob.length&&a.Ra.length)for(var b=0;b<a.Ob.length;b++)kZ(a,String(a.Ob[b].get("id")));b=0;for(var c in a.g){var d=a.g[c];d.iO||(b+=d.oX)}a.Ia("pertChartCriticalPathStandardDeviation",
Math.sqrt(b));a.I(8192)},kZ=function(a,b){var c=a.b[b];if(!(b in a.g)){a.g[b]={};var d=Number(c.item.get("optimistic")),e=Number(c.item.get("pessimistic"));a.g[b].oX=$.Qm(Math.pow((e-d)/6,2),3)}d=a.g[b];$.n(d.duration)||(e=a.Ec(!1,c,d),d.duration=$.Qm(a.i("expectedTimeCalculator").call(e,e),3));e=d.duration;var f;if(!$.n(d.dS)){var h=0;for(f=0;f<c.mk.length;f++){var k=String(c.mk[f].get("id")),l=a.g[k];$.n(l)&&$.n(l.Kz)||kZ(a,k);h=Math.max(h,a.g[k].Kz)}d.dS=$.Qm(h,3);d.Kz=$.Qm(h+e,3)}if(!$.n(d.GU)){if(c.Qi.length)for(h=
window.Infinity,f=0;f<c.Qi.length;f++)k=String(c.Qi[f].get("id")),l=a.g[k],$.n(l)&&$.n(l.KM)||kZ(a,k),h=Math.min(h,a.g[k].KM);else{h=-window.Infinity;for(f=0;f<a.Ra.length;f++)c=String(a.Ra[f].get("id")),k=a.g[c],$.n(k)&&$.n(k.Kz)||kZ(a,c),h=Math.max(h,a.g[c].Kz);a.Ia("pertChartProjectDuration",h)}d.GU=$.Qm(h,3);d.KM=$.Qm(h-e,3);d.iO=$.Qm(h-d.Kz,3)}},lZ=function(a,b){a!=b&&($.Ba(a.fr,b),$.Ba(b.om,a))},mZ=function(a,b,c,d){b={label:d||"",id:"",Qi:[],mk:[],om:[],fr:[],level:-1,Ve:!1,left:0,top:0,jy:c,
FF:b,kn:!1,Dm:!1,aj:[],index:-1};c="m"+$.oa(b);a.j[c]=b;b.id=c;return b},tha=function(a,b,c){var d={from:b,Cf:c,kn:!1,Dm:!1,Sy:null,id:"",Ve:!1},e="e"+$.oa(d);d.id=e;a.G[e]=d;$.Ba(b.aj,d);$.Ba(c.aj,d);return d},uha=function(a,b){var c,d,e=[];for(c in a.G){var f=a.G[c];if(!f.Dm&&f.kn==b){f.kn=!b;var h={aJ:{},aj:{}};h.aJ[f.from.id]=f.from;h.aJ[f.Cf.id]=f.Cf;h.aj[f.id]=f;var k=[];f.from.Dm||f.from.kn!=b||(f.from.kn=!b,k.push(f.from));f.Cf.Dm||f.Cf.kn!=b||(f.Cf.kn=!b,k.push(f.Cf));for(;k.length;){var l=
k.pop();for(d=0;d<l.aj.length;d++)if(f=l.aj[d],!f.Dm&&f.kn==b){f.kn=!b;h.aj[f.id]=f;var m=f.from==l?f.Cf:f.from;m.Dm||m.kn!=b||(m.kn=!b,k.push(m));h.aJ[m.id]=m}}e.push(h)}f.kn=!b}for(c in a.j)a.j[c].kn=!b;return e},vha=function(a,b){var c,d,e,f=null,h=window.Infinity;for(c=0;c<a.length;c++){var k=a[c],l=0,m=-1;for(d=0;d<b.length;d++){var p=b[d],q=!0;for(e in k.aJ){var r=k.aJ[e];if(r.Dm&&0>p.indexOf(r)){q=!1;break}}if(q&&(l++,0>m&&(m=d),l>=h))break}if(!l)throw"non planar!";l<h&&(f=[c,m],h=l)}return f},
wha=function(a,b,c,d){var e=Math.atan((d-b)/(c-a)),f=Math.atan(.3);a=$.dn(0,0,3,10);b=e-f;e+=f;return[c-a*Math.cos(b),d-a*Math.sin(b),c-a*Math.cos(e),d-a*Math.sin(e)]},nZ=function(a,b){return $.da(a.enabled())?a.enabled():b},xha=function(){var a=new jZ;a.ia(!0,$.mm("pert"));return a},oha={iP:"circle",Ama:"rhombus",y7:"rectangle"};$.H(eZ,$.Yq);$.xq(eZ,["fill","stroke","labels"],"normal");eZ.prototype.qa=$.Yq.prototype.qa|28672;eZ.prototype.sa=$.Yq.prototype.sa;var oZ={};$.gq(oZ,1,"color",$.Eq);
$.U(eZ,oZ);$.g=eZ.prototype;$.g.i=$.Xq;$.g.vG=function(a){var b=this.parent();return b?b[a&$.qo?"selected":a&$.po?"hovered":"normal"]():null};$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};
$.g.parent=function(a){return $.n(a)?(this.Y!=a&&(null===a?($.Zq(this.Y,this.Qc,this),this.Y=null):(this.Y&&$.Zq(this.Y,this.Qc,this),this.Y=a,this.Xa().Ye().parent(this.Y.Xa()),$.L(this.Y,this.Qc,this))),this):this.Y};$.g.Qc=function(a){var b=0,c=0;$.X(a,1)&&(b|=16,c|=1);$.X(a,8)&&(b|=4,c|=8);$.X(a,32768)&&(b|=1,c|=1);this.Rb=null;this.B(b,c)};$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};
$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};$.g.vv=function(a,b){return this.Cy("fill",a,b)};$.g.Tq=function(a,b){return this.Cy("stroke",a,b)};$.g.Cy=function(a,b,c){a=(0==b?this.ca:1==b?this.xa:this.Ca).i(a);$.E(a)&&(c.sourceColor=this.i("color"),a=a.call(c));return a};$.g.lD=function(a){$.L(a,this.dr,this)};$.g.dr=function(){this.ta(4096)};
$.g.Xa=function(a){this.gb||(this.gb=new $.iw(0),$.W(this,"tooltip",this.gb),$.L(this.gb,this.hp,this));return $.n(a)?(this.gb.K(a),this):this.gb};$.g.hp=function(){this.ta(16384)};$.g.mA=function(a){return $.n(a)?(this.HM!=a&&(this.HM=a,this.ca.labels().P(this.HM)),this):this.HM};$.g.fi=function(){this.ca.labels().$();return this};$.g.oK=function(){this.ca.labels().clear();return this};
$.g.F=function(){var a=eZ.u.F.call(this);$.Hq(this,oZ,a,"Pert visual element");a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();a.tooltip=this.Xa().F();return a};$.g.X=function(a,b){eZ.u.X.call(this,a,b);$.zq(this,oZ,a);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected);"tooltip"in a&&this.Xa().ia(!!b,a.tooltip)};$.g.R=function(){$.td(this.gb);eZ.u.R.call(this)};var pZ=eZ.prototype;pZ.tooltip=pZ.Xa;pZ.normal=pZ.Sa;pZ.hovered=pZ.mb;
pZ.selected=pZ.selected;$.H(gZ,eZ);gZ.prototype.qa=eZ.prototype.qa|1;var qZ=function(){var a={};$.hq(a,[[0,"size",function(a){return $.so(a,80)||0}],[0,"shape",pha]]);return a}();$.U(gZ,qZ);gZ.prototype.F=function(){var a=gZ.u.F.call(this);$.Hq(this,qZ,a);return a};gZ.prototype.X=function(a,b){gZ.u.X.call(this,a,b);$.zq(this,qZ,a)};$.H(hZ,eZ);$.xq(hZ,["dummyFill","dummyStroke","lowerLabels","upperLabels"],"normal");hZ.prototype.qa=eZ.prototype.qa;hZ.prototype.mA=function(a){hZ.u.mA.call(this,a);(a=hZ.u.mA.call(this))&&this.ca.jk().P(a);return a};hZ.prototype.fi=function(){this.ca.jk().$();return hZ.u.fi.call(this)};hZ.prototype.oK=function(){this.ca.jk().clear();return hZ.u.oK.call(this)};$.H(iZ,$.Yq);$.g=iZ.prototype;$.g.qa=$.Yq.prototype.qa|12289;$.g.Pc=function(a){this.Pj||(this.Pj=new gZ,$.W(this,"milestones",this.Pj));return $.n(a)?(this.Pj.K(a),this):this.Pj};$.g.Jc=function(a){this.pk||(this.pk=new hZ,$.W(this,"tasks",this.pk));return $.n(a)?(this.pk.K(a),this):this.pk};$.g.F=function(){var a=iZ.u.F.call(this);a.tasks=this.Jc().F();a.milestones=this.Pc().F();return a};
$.g.X=function(a,b){iZ.u.X.call(this,a,b);"milestones"in a&&this.Pc().X(a.milestones,b);"tasks"in a&&this.Jc().X(a.tasks,b)};var rZ=iZ.prototype;rZ.tasks=rZ.Jc;rZ.milestones=rZ.Pc;$.H(jZ,$.ox);$.g=jZ.prototype;$.g.qa=$.ox.prototype.qa;$.g.sa=$.ox.prototype.sa|61440;$.g.Na=function(){return"pert"};
$.g.Ec=function(a,b,c,d){if(!this.D||a)this.D=new $.rw;a={};var e=null;if(b){a.item={value:b.item,type:""};e=b.item;a.name={value:b.item.get("name"),type:"string"};var f=b.item.get("pessimistic");$.n(f)&&(a.pessimistic={value:+f,type:"number"});f=b.item.get("optimistic");$.n(f)&&(a.optimistic={value:+f,type:"number"});f=b.item.get("mostLikely");$.n(f)&&(a.mostLikely={value:+f,type:"number"});f=b.item.get("duration");$.n(f)&&(a.duration={value:+f,type:"number"});a.successors={value:b.Qi,type:""};a.predecessors=
{value:b.mk,type:""};a.isCritical={value:b.Ve,type:"string"}}c&&(a.earliestStart={value:c.dS,type:"number"},a.earliestFinish={value:c.Kz,type:"number"},a.latestStart={value:c.KM,type:"number"},a.latestFinish={value:c.GU,type:"number"},$.n(a.duration)||(a.duration={value:c.duration,type:"number"}),a.slack={value:c.iO,type:"number"},a.variance={value:c.oX,type:"number"});d&&(a.successors={value:d.Qi,type:""},a.predecessors={value:d.mk,type:""},a.isCritical={value:d.Ve,type:"string"},d.FF&&(a.creator=
{value:d.FF.item,type:""}),a.isStart={value:d.jy,type:"string"},a.index={value:d.index,type:"number"});this.D.mj([this]).Ag(e);return $.av(this.D,a)};$.g.xK=function(){var a=new $.iw(0);a.Aa(this);$.L(a,this.hp,this);return a};$.g.hp=function(){this.Xa().$()};$.g.data=function(a,b,c){return $.n(a)?($.K(a,$.Nt)||$.K(a,$.Kt)?this.oa!=a&&(this.oa&&$.Zq(this.oa,this.Id,this),this.oa=a):(this.oa&&$.Zq(this.oa,this.Id,this),this.oa=new $.Nt(a,b,c)),$.L(this.oa,this.Id,this),this.B(4352,1),this):this.oa};
$.g.By=function(){this.Za().Nq()&&this.B(-6145,9)};$.g.Id=function(){this.B(4356,1)};$.g.bm=function(){return[]};$.g.Te=function(){return[]};
$.g.rg=function(a){var b=a.domTarget,c=this.Xa();var d=b.tag;var e=!0;if(d)if(null!=d.m){var f=d.m;d=this.Ec(!0,void 0,void 0,f);var h=f.Ve?this.Fe().Pc():this.Pc();var k=f.Le?$.qo:$.po;e=h.vv(k,d);h=h.Tq(k,d);b.fill(e).stroke(h);e=!1;b=f.Ve?fZ(this.Fe().Pc()):void 0;$.V(c);qha(this,fZ(this.Pc()),b);$.Aw(c,a.clientX,a.clientY,d);c.da(!0);if(a=f.XV)b=!0,c=this.Pc().Sa().labels(),a.kd(c.Sd()),b=nZ(c,b),f.Le?(c=this.Pc().selected().labels(),a.kd(c.Sd()),b=nZ(c,b)):(c=this.Pc().mb().labels(),a.kd(c.Sd()),
b=nZ(c,b)),f.Ve&&(c=this.Fe().Pc().Sa().labels(),a.kd(c.Sd()),b=nZ(c,b),f.Le?(c=this.Fe().Pc().selected().labels(),a.kd(c.Sd()),b=nZ(c,b)):(c=this.Fe().Pc().mb().labels(),a.kd(c.Sd()),b=nZ(c,b))),a.enabled(b),a.$()}else null!=d.w&&(f=d.w,b=this.g[f.id],d=this.Ec(!0,f,b,void 0),k=f.Le?$.qo:$.po,h=f.Ve?this.Fe().Jc():this.Jc(),e=h.vv(k,d),h=h.Tq(k,d),f.YV.stroke(h),f.DZ.fill(e).stroke(h),h=f.kX,e=f.MU,h&&(b=!0,k=this.Jc().Sa().um(),h.kd(k.Sd()),b=nZ(k,b),f.Le?(k=this.Jc().selected().um(),h.kd(k.Sd()),
b=nZ(k,b)):(k=this.Jc().mb().um(),h.kd(k.Sd()),b=nZ(k,b)),f.Ve&&(k=this.Fe().Jc().Sa().um(),h.kd(k.Sd()),b=nZ(k,b),f.Le?(k=this.Fe().Jc().selected().um(),h.kd(k.Sd()),b=nZ(k,b)):(k=this.Fe().Jc().mb().um(),h.kd(k.Sd()),b=nZ(k,b))),h.enabled(b),h.$()),e&&(b=!0,h=this.Jc().Sa().jk(),e.kd(h.Sd()),b=nZ(h,b),f.Le?(h=this.Jc().selected().jk(),e.kd(h.Sd()),b=nZ(h,b)):(h=this.Jc().mb().jk(),e.kd(h.Sd()),b=nZ(h,b)),f.Ve&&(h=this.Fe().Jc().Sa().jk(),e.kd(h.Sd()),b=nZ(h,b),f.Le?(h=this.Fe().Jc().selected().jk(),
e.kd(h.Sd()),b=nZ(h,b)):(h=this.Fe().Jc().mb().jk(),e.kd(h.Sd()),b=nZ(h,b))),e.enabled(b),e.$()),e=!1,b=f.Ve?fZ(this.Fe().Jc()):void 0,$.V(c),qha(this,fZ(this.Jc()),b),$.Aw(c,a.clientX,a.clientY,d),c.da(!0));e&&this.Xa().Oc()};
$.g.Gg=function(a){var b=a.domTarget;if(a=b.tag)if(null!=a.m){var c=a.m;a=c.Ve?this.Fe().Pc():this.Pc();var d=this.Ec(!0,void 0,void 0,c);var e=c.Le?$.qo:$.Zl;var f=a.vv(e,d);d=a.Tq(e,d);if(e=c.XV){a=!0;var h=this.Pc().Sa().labels();e.kd(h.Sd());a=nZ(h,a);c.Le&&(h=this.Pc().selected().labels(),e.kd(h.Sd()),a=nZ(h,a));c.Ve&&(h=this.Fe().Pc().Sa().labels(),e.kd(h.Sd()),a=nZ(h,a),c.Le&&(c=this.Fe().Pc().selected().labels(),e.kd(c.Sd()),a=nZ(c,a)));e.enabled(a);e.$()}b.fill(f).stroke(d)}else null!=a.w&&
(b=a.w,d=this.Ec(!0,b,this.g[b.id],void 0),e=b.Le?$.qo:$.Zl,a=b.Ve?this.Fe().Jc():this.Jc(),f=a.vv(e,d),d=a.Tq(e,d),b.YV.stroke(d),b.DZ.fill(f).stroke(d),c=b.kX,f=b.MU,c&&(a=!0,d=this.Jc().Sa().um(),c.kd(d.Sd()),a=nZ(d,a),b.Le&&(d=this.Jc().selected().um(),c.kd(d.Sd()),a=nZ(d,a)),b.Ve&&(d=this.Fe().Jc().Sa().um(),c.kd(d.Sd()),a=nZ(d,a),b.Le&&(d=this.Fe().Jc().selected().um(),c.kd(d.Sd()),a=nZ(d,a))),c.enabled(a),c.$()),f&&(a=!0,c=this.Jc().Sa().jk(),f.kd(c.Sd()),a=nZ(c,a),b.Le&&(c=this.Jc().selected().jk(),
f.kd(c.Sd()),a=nZ(c,a)),b.Ve&&(c=this.Fe().Jc().Sa().jk(),f.kd(c.Sd()),a=nZ(c,a),b.Le&&(b=this.Fe().Jc().selected().jk(),f.kd(b.Sd()),a=nZ(b,a))),f.enabled(a),f.$()))};
$.g.Hba=function(a){var b=a.metaKey||a.ctrlKey,c,d,e=a.domTarget,f=e.tag;$.K(a.target,$.Du)&&(f=a.target.Vd(a.labelIndex).tag);if($.K(e,$.hg)){f&&(null!=f.m?c=f.m:null!=f.w&&(d=f.w));if(c||d)if(b)c&&(c.Le=!c.Le,c.Le?$.Ba(this.N,c):$.Fa(this.N,c)),d&&(d.Le=!d.Le,d.Le?$.Ba(this.O,d):$.Fa(this.O,d));else{for(a=0;a<this.N.length;a++)this.N[a].Le=!1;for(a=0;a<this.O.length;a++)this.O[a].Le=!1;this.N.length=0;this.O.length=0;c&&(c.Le=!0,this.N.push(c));d&&(d.Le=!0,this.O.push(d))}else{for(a=0;a<this.N.length;a++)this.N[a].Le=
!1;for(a=0;a<this.O.length;a++)this.O[a].Le=!1;this.N.length=0;this.O.length=0}this.dispatchEvent(rha(this));this.B(32768,1)}};var sZ=function(){var a={};$.gq(a,0,"expectedTimeCalculator",$.tq);$.gq(a,0,"verticalSpacing",function(a){return $.so(a,20)});$.gq(a,0,"horizontalSpacing",function(a){return $.so(a,20)});return a}();$.U(jZ,sZ);$.g=jZ.prototype;
$.g.ob=function(){if(this.J(4096)){this.b={};this.Ob.length=0;this.Ra.length=0;if(this.oa&&!this.oa.fd){for(var a=this.oa.Rz(),b=0;b<a.length;b++){var c=a[b],d=String(c.get("id"));d in this.b||(this.b[d]={id:d,item:c,Qi:[],mk:[],level:-1,Ve:!1,LR:[],MR:[]},this.Ra.push(c));var e=c.get("dependsOn");if($.n(e)&&"array"==$.ka(e))for(var f=0;f<e.length;f++){var h=String(e[f]);if(h in this.b)h!=d&&(this.b[h].Qi.push(c),this.b[d].mk.push(this.b[h].item),$.Fa(this.Ra,this.b[h].item),$.Ua(this.b[h].MR,d),
$.Ua(this.b[d].LR,h));else{var k=this.oa.op("id",h)[0];if(k){var l=String(k.get("id"));this.b[l]={id:l,item:k,Qi:[c],mk:[],level:-1,Ve:!1,LR:[],MR:[]};$.Fa(this.Ra,k);this.b[d].mk.push(k);$.Ua(this.b[l].MR,d);$.Ua(this.b[d].LR,h)}}}else this.Ob.push(c)}sha(this);this.ga.length=0;this.j={};this.Ga=mZ(this,null,!0,"Start");this.Ga.Ve=!0;this.ba=mZ(this,null,!1,"Finish");this.ba.Ve=!0;var m,p;for(p in this.b){var q=this.b[p],r=this.g[p];q.pp||(q.pp=mZ(this,q,!0,"S"+q.item.get("name")));q.Bm||(q.Bm=mZ(this,
q,!1,"F"+q.item.get("name")),q.Bm.FF=q);$.Ba(q.pp.Qi,q.item);$.Ba(q.Bm.mk,q.item);r.iO||(q.Ve=!0,q.pp.Ve=!0,q.Bm.Ve=!0);if(q.Qi.length)for(m=0;m<q.Qi.length;m++){var t=String(q.Qi[m].get("id")),u=this.b[t];u.pp||(u.pp=mZ(this,u,!0,"S"+u.item.get("name")));u.Bm||(u.Bm=mZ(this,u,!1,"F"+u.item.get("name")));lZ(u.pp,q.Bm)}else lZ(this.ba,q.Bm);if(q.mk.length)for(m=0;m<q.mk.length;m++){var v=String(q.mk[m].get("id")),w=this.b[v];w.pp||(w.pp=mZ(this,w,!0,"Start: "+w.item.get("name")));w.Bm||(w.Bm=mZ(this,
w,!1,"Finish: "+w.item.get("name")));lZ(q.pp,w.Bm)}else lZ(q.pp,this.Ga)}var x,y,B,G=[];for(x in this.j){var C=this.j[x];var I={};for(y=0;y<C.om.length;y++){var P=C.om[y];if(1==P.Qi.length&&2>P.fr.length&&!P.mk.length){var Q=String(P.Qi[0].get("id"));var S=this.b[Q];var sa=S.Bm;for(B=0;B<C.om.length;B++)if(y!=B){var va=C.om[B];if(1==va.Qi.length){var Oa=String(va.Qi[0].get("id"));this.b[Oa].Bm==sa&&(I[sa.id]=sa)}}}else I[P.id]=P}for(y=G.length=0;y<C.om.length;y++)if(P=C.om[y],!(P.id in I)){Q=String(P.Qi[0].get("id"));
S=this.b[Q];var vb=S.pp;S.pp=C;$.Ba(C.Qi,S.item);G.push(vb)}for(y=0;y<G.length;y++){var mc=G[y];$.Fa(C.om,mc);delete this.j[mc.id]}}for(x in this.j){C=this.j[x];I={};for(y=0;y<C.fr.length;y++){var kb=C.fr[y];if(1==kb.mk.length&&2>kb.om.length&&!kb.Qi.length){var Qb=String(kb.mk[0].get("id"));var Gb=this.b[Qb];var ic=Gb.pp;for(B=0;B<C.fr.length;B++)if(y!=B){var ie=C.fr[B];if(1==ie.mk.length){var Rb=String(ie.mk[0].get("id"));this.b[Rb].pp==ic&&(I[kb.id]=kb)}}}else I[kb.id]=kb}for(y=G.length=0;y<C.fr.length;y++)kb=
C.fr[y],kb.id in I||(Qb=String(kb.mk[0].get("id")),Gb=this.b[Qb],vb=Gb.Bm,Gb.Bm=C,$.Ba(C.mk,Gb.item),G.push(vb));for(y=0;y<G.length;y++)mc=G[y],$.Fa(C.fr,mc),delete this.j[mc.id]}this.G={};var Fc;for(Fc in this.j){var Wb=this.j[Fc],Ie;for(Ie=0;Ie<Wb.Qi.length;Ie++){var dd=String(Wb.Qi[Ie].get("id")),Lc=this.b[dd];var hb=tha(this,Wb,Lc.Bm);hb.Sy=Lc;hb.Ve=Lc.Ve}for(Ie=0;Ie<Wb.om.length;Ie++){var zc=Wb.om[Ie];hb=tha(this,Wb,zc);hb.Ve=Wb.Ve&&zc.Ve}}this.wa.length=0;this.Ga.level=0;for(var Je=[this.Ga],
nh=[];Je.length;){var je=Je.pop(),oh=je.level;nh.length>oh&&(nh.length=oh);nh.push(je);je==this.ba&&this.wa.push(nh.slice(0));var ve;for(ve=je.Qi.length;ve--;){var Yd=String(je.Qi[ve].get("id")),we=this.b[Yd].Bm;var af=oh+1;we.level=Math.max(af,we.level);this.nb=Math.max(we.level,this.nb);Je.push(we)}for(ve=je.om.length;ve--;){var rd=je.om[ve];af=oh+1;rd.level=Math.max(af,rd.level);this.nb=Math.max(rd.level,this.nb);Je.push(rd)}}for(var ph in this.G){var ld=this.G[ph];if(!ld.Rv){var Gg=ld.from,Kg=
ld.Cf,cm=Kg.level-Gg.level;if(1<cm){for(var xe=null,ke,sf,If,zj=0;zj<cm-1;zj++){var dm=!xe;xe=xe||Gg;ke={Rv:!0,id:null,label:"Fake milestone "+zj,level:Gg.level+1+zj,Ve:ld.Ve,kn:!1,Dm:!1,aj:[],mha:null,xO:null,fr:[xe],om:[],x3:ld,Qi:[],mk:[],Wb:0};ke.id="fm"+$.oa(ke);this.j[ke.id]=ke;dm?(If={Rv:!0,from:xe,Cf:ke,kn:!1,Dm:!1,Sy:ld.Sy,id:null,Ve:ld.Ve,x3:ld},If.id="fe"+$.oa(If),this.G[If.id]=If):(If=xe.xO,If.Cf=ke);sf={Rv:!0,from:ke,Cf:null,kn:!1,Dm:!1,Sy:ld.Sy,id:null,Ve:ld.Ve,x3:ld};sf.id="fe"+$.oa(sf);
this.G[sf.id]=sf;ke.xO=sf;ke.mha=If;ke.aj=[sf,If];xe.Rv?(xe.om.push(ke),xe.xO.Cf=ke):(ld.Sy||($.Fa(xe.om,Kg),$.Ba(xe.om,ke)),$.Fa(xe.aj,ld),$.Ba(xe.aj,If));xe=ke}sf.Cf=Kg;$.Fa(Kg.fr,Gg);$.Ba(Kg.fr,ke);ke.om.push(Kg);var Mc=(0,$.za)(Kg.aj,ld);0>Mc&&(Mc=0);$.Ca(Kg.aj,Mc,1,sf);delete this.G[ld.id]}}}this.hc.length=0;this.Ga.Dm=this.ba.Dm=!0;for(var Ui=!1,vi=uha(this,Ui),$g=[[this.Ga,this.ba]],wi;wi=vha(vi,$g);){var ye=void 0,Jf=$g,Aj=wi[1],Bj=vi[wi[0]],Vi=null;for(ye in Bj.aj){var ze=Bj.aj[ye].from;
ze.Dm&&(!Vi||Vi.level>ze.level)&&(Vi=ze)}var em=[Vi];for(ze=Vi;ze;){var Cj=ze.aj,Wi=null;for(ye=0;ye<Cj.length;ye++){var Gd=Cj[ye];if(Gd.from==ze&&!Gd.Dm){Gd.Dm=!0;var Xh=Gd.Cf;em.push(Xh);Xh.Dm||(Xh.Dm=!0,Wi=Xh);break}}ze=Wi}var Xi=void 0,ah=void 0,Yh=void 0,rh=void 0,bh=Jf[Aj],Ke=em,uk=bh.indexOf(Ke[0]),vg=bh.indexOf(Ke[Ke.length-1]);uk<vg?(rh=uk,Yh=vg,ah=!1):(rh=vg,Yh=uk,ah=!0);var Kf=bh.slice(0,rh);if(ah)for(Xi=Ke.length;Xi--;)Kf.push(Ke[Xi]);else Kf.push.apply(Kf,Ke);Kf.push.apply(Kf,bh.slice(Yh+
1));var Cd=bh.slice(rh+1,Yh);if(ah)Cd.push.apply(Cd,Ke);else for(Xi=Ke.length;Xi--;)Cd.push(Ke[Xi]);var Qd=[Kf,Cd];$.Ca(Jf,Aj,1,Qd[0],Qd[1]);vi=uha(this,Ui=!Ui)}this.hc=$g;this.ga[0]=[this.Ga];this.ga[this.nb]=[this.ba];this.Tc=1;var md,wg;if(2<this.hc.length)for(md=0;md<this.hc.length;md++){var Zh=this.hc[md];a:{for(var $h=window.Infinity,Nb=0,Rd=0;Rd<Zh.length;Rd++){var ai=Zh[Rd];if(!ai.level){var Lf=Rd;break a}ai.level<$h&&($h=ai.level,Nb=Rd)}Lf=Nb}for(var Ae=0,Zd,sh,ch;;){Ae+=1;ch=[Zh[$.$a(Lf+
Ae,Zh.length)],Zh[$.$a(Lf-Ae,Zh.length)]];Zd=ch[0];sh=ch[1];if(Zd==sh||Zd!=sh&&(Zd==this.ba||sh==this.ba))break;Zd.NU=sh;sh.Wia=Zd}}for(wg in this.j){var xi=this.j[wg];if(xi!=this.Ga&&xi!=this.ba&&!xi.Wia){var bi=xi.level;this.ga[bi]=[xi];for(var dh=xi;dh.NU;)this.ga[bi].push(dh.NU),dh=dh.NU,this.Tc=Math.max(this.Tc,this.ga[bi].length)}}var Dj=0;for(md=0;md<this.ga.length;md++){var Yi=this.ga[md];for(wg=0;wg<Yi.length;wg++){var fm=Yi[wg];fm&&!fm.Rv&&(fm.index=Dj++)}}}this.I(4096)}};
$.g.Q2=function(a){var b=0;$.X(a,4096)&&(b|=16384);$.X(a,8192)&&(b|=32768);$.X(a,1)&&(b|=4);this.B(b,1)};$.g.U2=function(a){var b=0;$.X(a,4096)&&(b|=16384);$.X(a,8192)&&(b|=32768);this.B(b,1)};$.g.Pc=function(a){this.Pj||(this.Pj=new gZ,$.W(this,"milestones",this.Pj),$.L(this.Pj,this.Q2,this));return $.n(a)?(this.Pj.K(a),this):this.Pj};$.g.Jc=function(a){this.pk||(this.pk=new hZ,$.W(this,"tasks",this.pk),$.L(this.pk,this.U2,this));return $.n(a)?(this.pk.K(a),this):this.pk};
$.g.Fe=function(a){this.Ja||(this.Ja=new iZ,$.L(this.Ja.Pc(),this.Q2,this),this.Ja.Pc().parent(this.Pc()),$.L(this.Ja.Jc(),this.U2,this),this.Ja.Jc().parent(this.Jc()));return $.n(a)?(this.Ja.K(a),this):this.Ja};$.g.Dfa=function(a){var b=a.tag;if(b&&null!=b.m){var c=b.m;b=c.Ve?this.Fe().Pc():this.Pc();var d=this.Ec(!0,void 0,void 0,c),e=c.Le?$.qo:$.Zl;c=b.vv(e,d);b=b.Tq(e,d);a.fill(c).stroke(b)}};
$.g.Efa=function(a){if((a=a.tag)&&null!=a.m){var b=a.m;a=b.XV;var c=!0;if(a){var d=this.Pc().Sa().labels();a.kd(d.Sd());c=nZ(d,c);b.Le&&(d=this.Pc().selected().labels(),a.kd(d.Sd()),c=nZ(d,c));b.Ve&&(d=this.Fe().Pc().Sa().labels(),a.kd(d.Sd()),c=nZ(d,c),b.Le&&(b=this.Fe().Pc().selected().labels(),a.kd(b.Sd()),c=nZ(b,c)));a.enabled(c);a.$()}}};
$.g.eja=function(a){if((a=a.tag)&&null!=a.w){a=a.w;var b=a.W1;b.clear();b.jc(1,0,0,1,0,0);var c={width:null,height:null,rotation:0,padding:[0,0,0,0]},d=a.kX,e=a.MU;if(d){var f=!0,h=this.Jc().Sa().um();f=nZ(h,f);d.kd(h.Sd());if(a.Le){var k=this.Jc().selected().um();d.kd(k.Sd());f=nZ(k,f)}a.Ve&&(k=this.Fe().Jc().Sa().um(),d.kd(k.Sd()),f=nZ(k,f),a.Le&&(k=this.Fe().Jc().selected().um(),d.kd(k.Sd()),f=nZ(k,f)));d.enabled(f);d.$();f=$.Lu(h,d,void 0,c);b.moveTo(f.left,f.top).lineTo(f.left+f.width,f.top).lineTo(f.left+
f.width,f.top+f.height).lineTo(f.left,f.top+f.height).close()}e&&(f=!0,d=this.Jc().Sa().jk(),e.kd(d.Sd()),f=nZ(d,f),a.Le&&(h=this.Jc().selected().jk(),e.kd(h.Sd()),f=nZ(h,f)),a.Ve&&(h=this.Fe().Jc().Sa().jk(),e.kd(h.Sd()),f=nZ(h,f),a.Le&&(h=this.Fe().Jc().selected().jk(),e.kd(h.Sd()),f=nZ(h,f))),e.enabled(f),e.$(),c=$.Lu(d,e,void 0,c),b.moveTo(c.left,c.top).lineTo(c.left+c.width,c.top).lineTo(c.left+c.width,c.top+c.height).lineTo(c.left,c.top+c.height).close());b.fu(a.rotation,"center")}};
$.g.dja=function(a){var b=a.tag;if(b)if(null!=b.w){var c=b.w;var d=this.g[c.id];var e=c.Ve?this.Fe().Jc():this.Jc();d=this.Ec(!0,c,d,void 0);var f=c.Le?$.qo:$.Zl;c=e.vv(f,d);e=e.Tq(f,d);b.a&&($.D(e)&&(e=$.Qc(e),delete e.dash),a.fill(c));a.stroke(e)}else null!=b.d&&(e=b.d?this.Fe().Jc():this.Jc(),d=this.Ec(!1,void 0,void 0,void 0),c=e.Cy("dummyFill",0,d),e=e.Cy("dummyStroke",0,d),b.a&&($.D(e)&&(e=$.Qc(e),delete e.dash),a.fill(c)),a.stroke(e))};
$.g.ei=function(a){this.ob();this.J(8192)&&(sha(this),this.I(8192));this.ka||(this.ka=this.La.Dd(),this.U=new $.JB(function(){return $.nk()},function(a){a.clear();a.tag=void 0}),this.U.zIndex(1),this.U.parent(this.ka),this.eb=new $.JB(function(){var a=$.nk();a.fill("none").stroke({color:"#fff",opacity:1E-4,thickness:6});return a},function(a){a.clear();a.tag=void 0}),this.eb.zIndex(3),this.eb.parent(this.ka),this.ya=new $.JB(function(){return $.nk()},function(a){a.clear()}),this.ya.zIndex(3),this.ya.parent(this.ka),
this.Fh=this.ka.Dd(),this.Fh.zIndex(4),this.ab=new $.JB(function(){var a=$.nk();a.fill({color:"#fff",opacity:1E-4}).stroke({color:"#fff",opacity:1E-4,thickness:2});return a},function(a){a.clear();a.tag=void 0;a.jc(1,0,0,1,0,0)}),this.ab.zIndex(5),this.ab.parent(this.ka),this.Pc().mA(this.Fh),this.Fe().Pc().mA(this.Fh),this.Jc().mA(this.Fh),this.Fe().Jc().mA(this.Fh),this.Pc().fi(),this.Jc().fi(),this.Fe().Pc().fi(),this.Fe().Jc().fi());$.mw(this.Xa(),this);$.mw(this.Pc().Xa(),this);$.mw(this.Jc().Xa(),
this);$.mw(this.Fe().Pc().Xa(),this);$.mw(this.Fe().Jc().Xa(),this);if(this.J(4)){this.U.clear();this.eb.clear();this.ya.clear();this.ab.clear();this.Pc().oK();this.Jc().oK();var b=$.M(this.i("verticalSpacing"),a.height),c=$.M(this.i("horizontalSpacing"),a.width),d,e=this.nb>=this.Tc?a.width:a.height;var f=$.M(this.Fe().Pc().i("size"),e);var h=$.M(this.Pc().i("size"),e);var k=Math.max(h,f);h=a.left+k/2;for(f=0;f<this.ga.length;f++){var l=this.ga[f];if(l){var m=a.top+k/2;for(d=0;d<l.length;d++){var p=
l[d];if(p){if(!p.Rv){var q=$.KB(this.ya);var r=p.Ve?this.Fe().Pc():this.Pc();r=p.Le?r.selected().i("stroke"):r.Sa().i("stroke");r=0==$.Wo(r)%2?0:.5;var t=p.Ve?this.Fe().Pc():this.Pc();var u=$.M(t.i("size"),e);var v=Math.round(u/2);p.Wb=v;switch(t.i("shape")){case "rhombus":q.moveTo(h+r-v,m+r).lineTo(h+r,m+r-v).lineTo(h+r+v,m+r).lineTo(h+r,m+r+v).close();break;case "rectangle":q.moveTo(h+r-v,m+r-v).lineTo(h+r+v,m+r-v).lineTo(h+r+v,m+r+v).lineTo(h+r-v,m+r+v).close();break;default:q.moveTo(h+r+v,m+r).arcTo(v,
v,0,360)}q.tag={m:p};p.YV=q;t=this.Ec(!0,void 0,void 0,p);r=p.Ve?this.Fe().Pc():this.Pc();q=this.Pc().Sa().labels().add(t,{value:{x:h-v,y:m-v}});q.kd(r.Sa().labels().Sd());q.width(u);q.height(u);p.XV=q}p.left=h;p.top=m}m+=b}}h+=c}for(f in this.G)if(t=this.G[f],e=t.from,d=t.Cf,c=(b=t.Sy?t.Sy:void 0)?this.g[b.id]:void 0,r=t.Ve,!e.Rv){k=$.KB(this.U);p=$.KB(this.U);l=$.KB(this.eb);k.tag=b?{w:b}:{d:r};p.tag=b?{w:b}:{d:r};p.tag.a=!0;l.tag=b?{w:b}:{d:r};r=t.Ve?this.Fe().Jc():this.Jc();u=this.Ec(!0,b,c,void 0);
b?(r=r.Tq(b.Le?$.qo:$.Zl,u),b.YV=k,b.W1=$.KB(this.ab),b.W1.tag={w:b},b.DZ=p):r=r.Cy("dummyStroke",0,u);r=0==$.Wo(r)%2?0:.5;v=e.left+r+(e.Wb||0);var w=e.top+r;k.moveTo(v,w);l.moveTo(v,w);u=(v+d.left-d.Wb)/2;q=(d.top+w)/2;var x=Math.atan((d.top-e.top)/(d.left-d.Wb-e.left-e.Wb));b&&(b.rotation=180*x/Math.PI);if(t.Rv){for(x=t.Cf;x.Rv;)h=x.left+r,m=x.top+r,k.lineTo(h,m),l.lineTo(h,m),t=x.xO,x=t.Cf;v=h;w=m;t=x.left+r-(x.Wb||0);x=x.top+r;var y=Math.atan((x-w)/(t-v)),B=wha(v,w,t,x),G=t-10*Math.cos(y);y=x-
10*Math.sin(y);var C=B[0],I=B[1],P=B[2];B=B[3];k.moveTo(v,w).lineTo(G,y)}else t=d.left+r-(d.Wb||0),x=d.top+r,y=Math.atan((x-w)/(t-v)),B=wha(v,w,t,x),G=t-10*Math.cos(y),y=x-10*Math.sin(y),C=B[0],I=B[1],P=B[2],B=B[3],k.moveTo(v,w).lineTo(G,y);p.moveTo(G,y).lineTo(C,I).lineTo(t,x).lineTo(P,B).close();l.lineTo(t,x);b&&(e=$.dn(0,0,d.left-d.Wb-e.left-e.Wb,d.top-e.top),t=this.Ec(!0,b,c,void 0),c=this.Jc().Sa().um().add(t,{value:{x:u+r,y:q+r}}),b.kX=c,c.width(e),c.height(a.height),c.rotation(b.rotation),
c.tag={w:b},r=this.Jc().Sa().jk().add(t,{value:{x:u+r,y:q+r}}),r.width(e),r.height(a.height),b.MU=r,r.rotation(b.rotation),r.tag={w:b})}this.B(49152)}this.J(32768)&&(this.ya.yj(this.Dfa,this),this.U.yj(this.dja,this),this.B(16384),this.I(32768));this.J(16384)&&(this.Pc().fi(),this.Jc().fi(),this.Fe().Pc().fi(),this.Fe().Jc().fi(),this.ya.yj(this.Efa,this),this.U.yj(this.eja,this),this.I(16384))};$.g.Ej=function(){return this.oa?!this.oa.Zb():!0};$.g.qk=function(a,b){return $.cu(this.data(),b)};
$.g.R=function(){this.Ob.length=0;this.Ra.length=0;delete this.b;delete this.g;delete this.oa;$.td(this.Pc(),this.Jc(),this.Fe());$.td(this.eb,this.ab,this.ya,this.U,this.Fh,this.ka);this.ka=this.Fh=this.U=this.ya=this.ab=this.eb=null;jZ.u.R.call(this)};$.g.F=function(){var a=jZ.u.F.call(this);this.oa&&(a.treeData=this.oa.OA());a.milestones=this.Pc().F();a.tasks=this.Jc().F();a.criticalPath=this.Fe().F();$.Hq(this,sZ,a);return{chart:a}};
$.g.X=function(a,b){jZ.u.X.call(this,a,b);this.xc=$.mm("defaultTooltip");"treeData"in a&&this.data($.Pt(a.treeData));"milestones"in a&&this.Pc().X(a.milestones,b);"tasks"in a&&this.Jc().X(a.tasks,b);"criticalPath"in a&&this.Fe().X(a.criticalPath,b);$.zq(this,sZ,a)};var tZ=jZ.prototype;tZ.getType=tZ.Na;tZ.tasks=tZ.Jc;tZ.milestones=tZ.Pc;tZ.criticalPath=tZ.Fe;tZ.data=tZ.data;tZ.toCsv=tZ.qk;$.Jp.pert=xha;$.F("anychart.pert",xha);}).call(this,$)}
if(!_.theme_pert){_.theme_pert=1;(function($){var vS=function(){return $.Ol(this.sourceColor,1.5)};
$.ra($.fa.anychart.themes.defaultTheme,{pert:{tooltip:{enabled:!1},horizontalSpacing:"15%",verticalSpacing:"25%",expectedTimeCalculator:function(){return void 0===this.duration?Math.round((this.optimistic+4*this.mostLikely+this.pessimistic)/6*100)/100:Number(this.duration)},background:{zIndex:0},milestones:{shape:"circle",size:"5%",normal:{labels:{enabled:!0,anchor:"left-top",vAlign:"middle",hAlign:"center",fontColor:"#fff",disablePointerEvents:!0,format:function(){return this.creator?this.index:
this.isStart?"S":"F"}},fill:$.WM,stroke:"none"},hovered:{labels:{enabled:null,fontColor:"#fff",fontOpacity:1},fill:$.YM,stroke:vS},selected:{labels:{enabled:null,fontWeight:"bold"},fill:"#333 0.85",stroke:"#333 0.85"},color:"#64b5f6",tooltip:{title:{enabled:!0},separator:{enabled:!0},titleFormat:function(){return this.creator?"Milestone - "+this.index:"Milestone - "+(this.isStart?"Start":"Finish")},format:function(){var a="",b;if(this.successors&&this.successors.length){a+="Successors:";for(b=0;b<
this.successors.length;b++)a+="\n - "+this.successors[b].get("name");this.predecessors&&this.predecessors.length&&(a+="\n\n")}if(this.predecessors&&this.predecessors.length)for(a+="Predecessors:",b=0;b<this.predecessors.length;b++)a+="\n - "+this.predecessors[b].get("name");return a}}},tasks:{color:"#64b5f6",normal:{fill:$.WM,stroke:$.WM,dummyFill:$.WM,dummyStroke:function(){return{color:this.sourceColor,dash:"6 4"}},upperLabels:{enabled:!0,anchor:"center-bottom",vAlign:"bottom",hAlign:"center",fontSize:10,
contColor:"#333",padding:{top:1,right:10,bottom:1,left:10},format:function(){return this.name}},lowerLabels:{enabled:!0,anchor:"center-top",vAlign:"top",hAlign:"center",fontSize:9,fontOpacity:.5,contColor:"#333",padding:{top:1,right:5,bottom:1,left:5},format:function(){return"t: "+$.OM(this.duration)}}},hovered:{fill:$.YM,stroke:vS,upperLabels:{fontWeight:"bold"},lowerLabels:{fontWeight:"bold"}},selected:{fill:"#333 0.85",stroke:"#333 0.85",upperLabels:{fontWeight:"bold"},lowerLabels:{fontWeight:"bold"}},
tooltip:{title:{enabled:!0},separator:{enabled:!0},titleFormat:function(){return this.name},format:function(){var a="Earliest start: "+$.OM(this.earliestStart)+"\nEarliest finish: "+$.OM(this.earliestFinish)+"\nLatest start: "+$.OM(this.latestStart)+"\nLatest finish: "+$.OM(this.latestFinish)+"\nDuration: "+$.OM(this.duration)+"\nSlack: "+$.OM(this.slack);(0,window.isNaN)(this.variance)||(a+="\nStandard deviation: "+Math.round(100*this.variance)/100);return a}}},criticalPath:{tasks:{tooltip:{title:{background:null}},
color:"#e06666",normal:{lowerLabels:{},upperLabels:{}}},milestones:{tooltip:{title:{background:null}}}}}});}).call(this,$)}
if(!_.pie){_.pie=1;(function($){var QN=function(a,b,c,d,e){var f=!1,h;if(!e)return!1;var k=0;for(h=e.length;k<h-1;k+=2){var l=k==h-2?0:k+2;var m=k==h-2?1:k+3;f=f||$.bn(e[k],e[k+1],e[l],e[m],a,b,c,d)}return f},RN=function(a,b,c,d){var e=!1,f;if(!d)return!1;var h=0;for(f=d.length;h<f-1;h+=2)if(!e){e=d[h];var k=d[h+1];e=(a-e)*(a-e)+(b-k)*(b-k)>c*c}return e},Jea=function(){return new $.Nx},SN=function(a,b,c){$.pz.call(this,null,[],[],b,c);this.Aa=a},UN=function(a,b,c,d,e,f){$.pr.call(this,a);this.g=b;this.f=d||null;this.j=e||function(a,
b){a.value+=Math.max(0,+b)||0;return a};this.D=f||function(){return{value:0}};this.b=new TN;this.b.o(0,"groupedPoint",!0);this.b.o(0,"name",c)},TN=function(){$.Yq.call(this);$.vr(this);this.f=void 0},WN=function(a,b,c){$.pz.call(this,null,[],[],b,c);this.Aa=a;this.G=VN(this.Aa);this.g=this.Aa.i("connectorStroke")},XN=function(a,b){$.sA.call(this,a,b)},ZN=function(a,b){$.ox.call(this);this.Fa("pieFunnelPyramidBase","pie");this.contextMenu(this.ma.contextMenu);$.V(this);this.jd=this.j=this.Yc=this.Ea=
this.Tc=null;this.Tf=!0;this.Ob={};this.Gk=function(){var a=this.sourceColor,b=this.aquaStyleObj;return{keys:[{offset:0,color:$.Hl(a,.5)},{offset:.95,color:$.Il(a,.4)},{offset:1,color:$.Il(a,.4)}],cx:.5,cy:.5,fx:b.fx,fy:b.fy,mode:b.mode}};this.D=[];this.state=new $.Vw(this);this.data(a||null,b);this.B(4294967295);$.T(this.ua,[["overlapMode",4096,1],["radius",4,1],["innerRadius",4,1],["startAngle",4112,1],["sort",16,1,0,function(){YN(this)}],["insideLabelsOffset",4100,9],["connectorLength",4100,9],
["outsideLabelsCriticalAngle",4096,1],["forceHoverLabels",4096,1],["connectorStroke",16,1],["mode3d",4116,1],["sliceDrawer",16,1]]);var c={};$.T(c,[["explode",4116,1],["fill",528,1],["stroke",528,1],["hatchFill",528,1],["labels",0,0],["outline",0,0]]);this.ca=new $.Yx(this,c,$.Zl,[[1,"fill",function(a){var b=!1;$.z(a[0])&&(a[0]=a[0].toLowerCase(),b="aquastyle"==a[0]);return this.i("mode3d")&&b?this.i("fill"):$.E(a[0])||b?a[0]:$.Vb.apply(null,a)}]]);this.ca.pa("labelsFactoryConstructor",Jea);this.ca.pa("labelsAfterInitCallback",
function(a){$.L(a,this.Zd,this);a.ib(this);this.B(4096,1)});this.ca.pa("outlineAfterInitCallback",function(a){$.L(a,this.Yga,this);this.B(16,1)});c={};$.T(c,[["explode",4116,1],["fill",16,1],["stroke",16,1],["hatchFill",0,0],["labels",0,0],["outline",16,1]]);this.xa=new $.Yx(this,c,$.po);this.xa.pa("labelsFactoryConstructor",$.ay);c={};$.T(c,[["explode",4116,1],["fill",16,1],["stroke",16,1],["hatchFill",0,0],["labels",0,0],["outline",16,1]]);this.Ca=new $.Yx(this,c,$.qo);this.Ca.pa("labelsFactoryConstructor",
$.ay);this.da(!1)},YN=function(a){$.qd(a.ka);delete a.Nd;a.ka=Kea(a,a.j);$.L(a.ka,a.Id,a);a.B(13104,17)},Kea=function(a,b){if(null!=a.Tc){var c=b;b=new UN(b,"value",a.ip,a.Tc,void 0,function(){return{value:0}});$.sd(c,b);b.gX=!0}c=a.i("sort");"none"!=c&&null!=c&&(b="asc"==c?b.sort("value",function(a,b){return a-b}):b.sort("value",function(a,b){return b-a}),b.gX=!0);return b},aO=function(a,b,c){if(!a)return $.Pl;var d=b+"|"+a+"|"+c,e=$N[d];if(!e){switch(b){case 2:e=$.Rl;break;case 3:e=$.Sl;break;default:case 1:e=
$.Tl}$N[d]=e=$.qa(Lea,a,e,3==b,c)}return e},Lea=function(a,b,c,d,e,f,h,k){if(f!=$.Zl&&d){var l=e.zc(a,f,e.aa(),b,!1,void 0,h);c&&!0===l&&(l=b(e.ph()));if($.n(l)){if(!$.E(l))return l;if(c)return c=e.Fi(h),b(l.call(c,c))}}a=e.zc(a,0,e.aa(),b,!1,void 0,h);d=$.n(k)?k:a;k=$.z(a)&&"aquastyle"==a;c&&!0===a&&(a=b(e.ph()));$.E(a)&&(c=c?e.Fi(h):e.Ae(d,h),a=b(a.call(c,c)));k&&(c=e.aa(),c={aquaStyleObj:e.Ob,sourceColor:e.cc().nc(c.la())},a=e.Gk.call(c));l&&(c=e.Ae(a,h),a=b(l.call(c,c)));return a},bO=function(a,
b,c){c=a.aa().o(c||"hatchSlice");null!=c&&(a=aO("hatchFill",3,!0)(a,b,!1),c.stroke(null).fill(a))},cO=function(a){return $.D(a)&&a.hasOwnProperty("mode")&&a.hasOwnProperty("cx")},dO=function(a){a=null===a?window.NaN:+a;return!($.ea(a)&&!(0,window.isNaN)(a)&&0<a)},VN=function(a){return"outside"==$.Qk(a.labels().i("position"))},eO=function(a,b){var c=b.la();a.Ra&&(a.Ra[c]=null)},Mea=function(a){a.ab=[];var b=a.i("mode3d");a.U?(a.U.clear(),b&&a.hc.clear()):(a.U=new $.JB(function(){return $.nk()},function(a){a.clear()}),
a.U.parent(a.La),a.U.zIndex(32),b&&(a.hc=new $.JB(function(){return $.nk()},function(a){a.clear()}),a.hc.parent(a.La),a.hc.zIndex(29)));a.O=[];b=a.i("connectorStroke");a.Bd||(a.Bd=a.La.path(),a.Bd.stroke(b))},iO=function(a){var b=a.aa(),c=b.la(),d=a.i("mode3d"),e="allow-overlap"==a.i("overlapMode");Mea(a);var f;if(!e){var h={};var k=f=!1}for(b.reset();b.advance();)if(!dO(b.get("value"))){var l=b.la(),m=$.$w(a.state,l);var p=b.o("start");var q=b.o("sweep");var r=(p+q/2)*Math.PI/180;q=$.ab($.cb(r));
p=90>q||270<q;var t=fO(a,l);var u=d?.45*a.b:a.b;var v=t[0]+a.b*Math.cos(r);u=t[1]+u*Math.sin(r);d&&(u+=.2*a.b/2);r=p?5:-5;b.o("connector",r);a.ab[2*l]=v;a.ab[2*l+1]=u;b.o("anchor",p?"left-center":"right-center");v=a.ce(m,!1);eO(a,v);v.ka=q;m=gO(a,m);b.o("explode",m);a.Ud&&-1!=(0,$.za)(a.Ud,l)&&v.enabled(!1);if(e)v&&0!=v.enabled()&&(l=v.la(),eO(a,v),p=a.al(v),q=m?a.Xf:a.Ge,a.Ja=Math.max(q.left-p.left,p.$a()-q.$a(),q.top-p.top,p.Ua()-q.Ua(),a.Ja),a.O[l]||(u=a.ab[2*l+1]-.2*a.b/2,p=d&&u<a.yc?$.KB(a.hc):
$.KB(a.U),a.O[l]=p,p.stroke(a.i("connectorStroke")),hO(a,v,p)));else{if(l=h[m]){u=l[0];r=l[1];t=l[2];var w=l[3]}else l=[],u=[],r=[],t=[],w=[],l.push(u,r,t,w,m),h[m]=l;270<q&&!f&&(u.length||t&&t.length)&&(f=!0);90<q&&!k&&(r.length||w&&w.length)&&(k=!0);p=p?f?w:r:k?t:u;p.push(v)}}a.Ml=window.NaN;if(!e){var x=[];$.wa($.Ec(h),function(a){var b=a[3].concat(a[1]),c=a[2].concat(a[0]);a=a[4];this.mx(c,!1,x,a);this.mx(b,!0,x,a);x=x.concat(c,b)},a)}b.select(c);a.xc||(a.xc=[]);a.Ud||(a.Ud=[]);l=a.Ml;-1!=(0,$.za)(a.xc,
l)?$.ua(a.xc)!=l&&(a.Ud.push(l),a.xc.length=0):a.xc.push(l);a.Ja=Math.round(a.Ja)},jO=function(a){a.b=Math.max(a.b-Math.max(a.Ja,0),0);var b=a.i("innerRadius");a.G=$.E(b)?b(a.b):$.M(b,a.b);b=a.G/Math.pow(2,.5)*2;a.ga=$.gn(a.Cc-b/2,a.yc-b/2,b,b);a.eb=new $.J(a.Cc-a.b,a.yc-a.b,2*a.b,2*a.b);b=a.labels();$.V(b);b.Cc(a.Cc);b.yc(a.yc);b.qy(a.b);b.lE(a.i("startAngle"));b.Hy(360);b.ja(a.eb);b.da(!1);a.mb().labels().ja(a.eb)},kO=function(a,b){a.ya=b;var c=Math.min(a.ga.width/a.ya.width,a.ga.height/a.ya.height);
(0,window.isFinite)(c)||(c=0);a.f.Kj.jc(c,0,0,c,a.ga.left-a.ya.left*c+(a.ga.width-c*a.ya.width)/2,a.ga.top-a.ya.top*c+(a.ga.height-c*a.ya.height)/2)},hO=function(a,b,c){var d=a.data().aa(),e=b.la(),f=a.i("mode3d");if(d.select(e)){var h=a.ab[2*e];e=a.ab[2*e+1];d=d.o("connector");var k=b.uc().value,l=$.n(b.i("offsetY"))?b.i("offsetY"):a.labels().i("offsetY");l||(l=0);l=$.M(l,a.b);(b=$.n(b.i("offsetX"))?b.i("offsetX"):a.labels().i("offsetX"))||(b=0);var m=$.bb(k.angle+$.M(b,360)),p=k.radius+l;b=a.Cc+
p*Math.cos(m)-d;a=a.yc+(f?k.radiusY+l:p)*Math.sin(m);c.clear().moveTo(h,e).lineTo(b,a).lineTo(b+d,a)}},mO=function(a,b,c){var d=a.aa(),e=d.la(),f=d.o("start"),h=d.o("sweep");if(c){var k=d.o("slice");var l=d.o("sliceOutline");var m=d.o("hatchSlice");k&&k.clear();m&&m.clear();l&&l.clear()}else a.xf&&(k=$.KB(a.xf),d.o("slice",k)),a.me&&(l=$.KB(a.me),d.o("sliceOutline",l)),a.g&&(m=$.KB(a.g),d.o("hatchSlice",m));if(k){var p=a.zc("outline.offset",b,d,$.Qq,!1)||0;c=a.zc("outline.width",b,d,$.Qq,!1)||0;p=
$.M(p,a.b);c=$.M(c,a.b);var q=gO(a,b);d.o("explode",q);var r=f+h/2;d=q*Math.cos($.bb(r));q*=Math.sin($.bb(r));var t=a.b;r=t+p;p=t+p+c;t={centerX:a.Cc,centerY:a.yc,innerRadius:a.G,outerRadius:t,innerOutlineRadius:r,outerOutlineRadius:p,startAngle:f,sweepAngle:h,explodeX:d,explodeY:q,path:k};l&&(c?$.si(l,a.Cc+d,a.yc+q,p,r,f,h):l.clear());a.i("sliceDrawer").call(t,t);k.tag={W:a,index:e};if(a.i("mode3d"))for(h=a.D.length,c=a.aa().la(),f=0;f<h;f++)l=a.D[f],l.index==c&&lO(a,l.type+"Path"+("outerFront"==
l.type||"innerBack"==l.type||"outerBack"==l.type||"innerFront"==l.type?l.start:""),b);else if(h=a.aa(),c=h.o("slice"),$.n(c)){d=aO("fill",1,!0);l=d(a,b,!1,null);cO(l)&&null===l.mode&&(l.mode=a.eb?a.eb:null);c.fill(l);d=aO("stroke",2,!0);f=d(a,b,!1,null);cO(f)&&null===f.mode&&(f.mode=a.eb?a.eb:null);c.stroke(f);if(c=a.aa().o("sliceOutline"))d=a.zc("outline.enabled",b,h,$.Nq,!1),null===d&&(d=a.zc("outline.enabled",0,h,$.Nq,!1)),d?(d=aO("outline.fill",1,!0),h=d(a,0,!1,l),l=d(a,b,!1,h),cO(l)&&null===
l.mode&&(l.mode=a.eb?a.eb:null),d=aO("outline.stroke",2,!0),f=d(a,b,!1,f),cO(f)&&null===f.mode&&(f.mode=a.eb?a.eb:null)):l=f="none",c.fill(l).stroke(f);bO(a,b)}m&&(m.fe(k.F()),m.tag={W:a,index:e},bO(a,b))}},nO=function(a,b,c,d,e,f,h,k,l,m){l+=String(e);if(m=a.Az(l,m)){var p=.45*d,q=.2*a.b;f<e&&(f+=360);360==Math.abs(h)&&(e=0,f=180);h=$.bb(e);e=$.bb(f);f=b+d*+Math.cos(h).toFixed(5);h=c+p*+Math.sin(h).toFixed(5);b+=d*+Math.cos(e).toFixed(5);c+=p*+Math.sin(e).toFixed(5);m.moveTo(f,h);m.kf(b,c,d,p,!1,
!0);m.lineTo(b,c+q);m.kf(f,h+q,d,p,!1,!1);m.lineTo(f,h);m.close();lO(a,l,k)}},oO=function(a,b,c,d,e,f,h,k,l,m){l+=String(e);if(m=a.Az(l,m)){var p=.45*d,q=.2*a.b;f<e&&(f+=360);360==Math.abs(h)&&(e=180,f=0);h=$.bb(e);e=$.bb(f);f=b+d*Math.cos(h);h=c+p*Math.sin(h);b+=d*Math.cos(e);c+=p*Math.sin(e);m.moveTo(f,h);m.kf(b,c,d,p,!1,!0);m.lineTo(b,c+q);m.kf(f,h+q,d,p,!1,!1);m.lineTo(f,h);m.close();lO(a,l,k)}},pO=function(a,b,c,d,e,f,h,k,l){var m=$.bb(h);h=.2*a.b;var p=c+f*Math.cos(m);c+=e*Math.cos(m);f=d+.45*
f*Math.sin(m);d+=.45*e*Math.sin(m);if(l=a.Az(b,l))l.moveTo(p,f),l.lineTo(c,d),l.lineTo(c,d+h),l.lineTo(p,f+h),l.lineTo(p,f),l.close(),lO(a,b,k)},qO=function(a,b,c,d){var e=a.labels();$.V(e);e.fontOpacity(b);e.$();e.da(!1);if(d&&a.O)for(b=0;b<a.O.length;b++)if(d=a.O[b])e=a.i("connectorStroke"),e=$.Ml(e,c),d.stroke(e)},uO=function(a){var b=a.aa(),c=b.la(),d=$.$w(a.state,c),e=gO(a,d);d=b.o("start");b=b.o("sweep");var f=d+b;if($.n(d)&&$.n(b)&&b){var h=d+b/2,k=e*Math.cos($.bb(h));e=.45*e*Math.sin($.bb(h));
a.D.push({index:c,type:"top",start:d,Rs:b,Ex:k,Hx:e});a.D.push({index:c,type:"bottom",start:d,Rs:b,Ex:k,Hx:e});360!=Math.abs(b)&&(a.D.push({index:c,type:"start",angle:d,Ex:k,Hx:e}),a.D.push({index:c,type:"end",angle:f,Ex:k,Hx:e}));var l=d;var m=f;if(l==m)h=!1;else{l=$.bb(l);m=$.bb(m);h=$.Qm(Math.cos(l),7);var p=$.Qm(Math.cos(m),7);l=rO(h,Math.sin(l));m=rO(p,Math.sin(m));h=1==l||2==l?!0:3==l?1==m||2==m?!0:3==m?h>=p:!1:4==l?4==m?h>=p:!0:!1}if(h)for(l=sO(d,f),h=a.D.length,p=l.length,a.D.length=h+p,m=
0;m<p;m++)l[m].index=c,l[m].type="outerFront",l[m].Rs=b,l[m].Ex=k,l[m].Hx=e,a.D[h+m]=l[m];l=d;m=f;l!=m&&a.G?(l=$.bb(l),m=$.bb(m),h=$.Qm(Math.cos(l),7),p=$.Qm(Math.cos(m),7),l=rO(h,Math.sin(l)),m=rO(p,Math.sin(m)),h=3==l||4==l?!0:1==l?3==m||4==m?!0:1==m?h<=p:!1:2==l?2==m?h<=p:!0:!1):h=!1;if(h)for(l=tO(d,f),h=a.D.length,p=l.length,a.D.length=h+p,m=0;m<p;m++)l[m].index=c,l[m].type="innerBack",l[m].Rs=b,l[m].Ex=k,l[m].Hx=e,a.D[h+m]=l[m];l=tO(d,f);h=a.D.length;p=l.length;a.D.length=h+p;for(m=0;m<p;m++)l[m].index=
c,l[m].type="outerBack",l[m].Rs=b,l[m].Ex=k,l[m].Hx=e,a.D[h+m]=l[m];l=sO(d,f);h=a.D.length;p=l.length;a.D.length=h+p;for(m=0;m<p;m++)l[m].index=c,l[m].type="innerFront",l[m].Rs=b,l[m].Ex=k,l[m].Hx=e,a.D[h+m]=l[m]}},xO=function(a,b,c){var d=0,e=a.D.length;if($.n(b))for(d=0;d<e;d++){var f=a.D[d];f.index==b&&vO(a,f,c)}else{for(d=0;d<e;d++)switch(f=a.D[d],f.type){case "top":f.Gy=1;break;case "outerFront":f.Gy=f.wn?1:$.Qm(Math.sin($.bb(wO(f.start,f.end))),7);break;case "innerBack":f.Gy=f.wn?-1:$.Qm(Math.sin($.bb(wO(f.start,
f.end))),7);break;case "bottom":f.Gy=-3;break;case "innerFront":f.Gy=0;break;case "outerBack":f.Gy=-2;break;default:f.Gy=$.Qm(Math.sin($.bb(f.angle)),7)}a.D.sort(function(a,b){return a.Gy-b.Gy});for(d=0;d<e;d++)vO(a,a.D[d])}a.D.length=0},vO=function(a,b,c){var d=a.aa();d.select(b.index);var e=$.$w(a.state,b.index),f=gO(a,e);d.o("explode",f);d=a.Cc;var h=a.yc;f&&(d+=b.Ex,h+=b.Hx);f=a.b;var k=a.G;switch(b.type){case "top":yO(a,d,h,f,k,b.start,b.Rs,e,!0,c);break;case "bottom":yO(a,d,h,f,k,b.start,b.Rs,
e,!1,c);break;case "outerFront":nO(a,d,h,f,b.start,b.end,b.Rs,e,"outerFront",c);break;case "innerBack":oO(a,d,h,k,b.start,b.end,b.Rs,e,"innerBack",c);break;case "outerBack":nO(a,d,h,f,b.start,b.end,b.Rs,e,"outerBack",c);break;case "innerFront":oO(a,d,h,k,b.start,b.end,b.Rs,e,"innerFront",c);break;case "start":pO(a,"startPath",d,h,f,k,b.angle,e,c);break;case "end":pO(a,"endPath",d,h,f,k,b.angle,e,c)}},yO=function(a,b,c,d,e,f,h,k,l,m){0>d&&(d=0);0>e&&(e=0);if(d<e){var p=d;d=e;e=p}p=(l?"top":"bottom")+
"Path";c+=l?0:.2*a.b;h=$.Za(h,-360,360);if(l=a.Az(p,m))0>=e?360==Math.abs(h)?l.ze(b,c,d,.45*d,f,h,!1):l.moveTo(b,c).ze(b,c,d,.45*d,f,h,!0).close():(m=360>Math.abs(h),l.ze(b,c,d,.45*d,f,h).ze(b,c,e,.45*e,f+h,-h,m),m&&l.close()),lO(a,p,k)},zO=function(a,b){var c=a.aa(),d=c.la(),e=c.get("normal"),f=$.Ro($.n(e)?e.fill:void 0,c.get("fill"),a.fill());b=$.Xl(b);b==$.qo?(e=c.get("selected"),c=$.Ro($.n(e)?e.fill:void 0,c.get("selectFill"),a.selected().fill(),f),f=a.IJ(c,f)):b==$.po?(e=c.get("hovered"),c=$.Ro($.n(e)?
e.fill:void 0,c.get("hoverFill"),a.mb().fill(),f),f=a.IJ(c,f)):f=a.IJ(f);f=$.z(f)?$.Dl(f):$.Dl(f.color);d=a.cc().nc(d);var h;$.D(d)&&(d.color?h=$.Dl(d.color):d.keys&&d.keys.length&&(h=$.Dl(d.keys[0].color)));h=h?h.ck:d;return f?f.ck:h},lO=function(a,b,c){var d=a.aa(),e=d.la(),f=zO(a,c),h=$.wl(f),k=d.o(b);k.tag={W:a,index:e};var l,m=$.Al(h,.3),p=$.zl([255,255,255],h,.1),q=$.Ub($.zl(h,m,.7));p=$.Ub($.zl(m,p,.1));var r=$.Ub($.zl(h,m,.8)),t=$.Ub($.zl(h,m,.2));h=$.Ub($.zl(h,m,.1));var u=$.Xl(c);m=u==$.po;
u=u==$.qo;var v=$.Nl(m?a.mb().fill():u?a.selected().fill():a.fill());t={color:m||u?$.Hl(t,.2):t,opacity:v};p={angle:45,keys:[{position:0,opacity:v,color:m||u?$.Hl(f,.2):$.Hl(f,.1)},{position:.19,opacity:v,color:m||u?$.Hl(p,.2):p},{position:1,opacity:v,color:m||u?$.Hl(r,.2):r}]};q=f={angle:-50,keys:[{position:0,opacity:v,color:m||u?$.Hl(f,.3):f},{position:1,opacity:v,color:m||u?$.Hl(q,.2):q}]};"topPath"==b?l=f:"bottomPath"==b?l=q:$.fc(b,"outer")?l=p:$.fc(b,"inner")?l=t:l={color:m||u?$.Hl(h,.2):h,opacity:v};
var w;u&&$.Wl(a.selected().stroke())?w=a.selected().stroke():$.Wl(a.stroke())?w=a.stroke():w=l;k.fill(l);k.stroke(w);b="hatch"+String(b.charAt(0)).toUpperCase()+b.substr(1);if(d=d.o(b))d.fe(k.F()),d.tag={W:a,index:e},bO(a,c,b)},rO=function(a,b){return 0<=a&&0<=b?1:0>=a&&0<=b?2:0>=a&&0>b?3:4},sO=function(a,b){var c=$.Qm(Math.cos($.bb(a)),7),d=$.Qm(Math.cos($.bb(b)),7),e=rO(c,Math.sin($.bb(a))),f=rO(d,Math.sin($.bb(b))),h=[];if(1==e)switch(f){case 1:c>=d?h.push({start:a,end:b}):(h.push({start:a,end:180,
wn:!0}),h.push({start:360,end:b}));break;case 2:h.push({start:a,end:b,wn:!0});break;case 3:case 4:h.push({start:a,end:180,wn:!0})}else if(2==e)switch(f){case 1:h.push({start:a,end:180});h.push({start:360,end:b});break;case 2:c>=d?h.push({start:a,end:b}):(h.push({start:a,end:180}),h.push({start:360,end:b,wn:!0}));break;case 3:case 4:h.push({start:a,end:180})}else if(3==e)switch(f){case 1:h.push({start:360,end:b});break;case 2:h.push({start:360,end:b,wn:!0});break;case 3:c>=d&&h.push({start:0,end:180,
wn:!0})}else if(4==e)switch(f){case 1:h.push({start:360,end:b});break;case 2:h.push({start:360,end:b,wn:!0});break;case 3:h.push({start:360,end:180,wn:!0});break;case 4:c>=d&&h.push({start:0,end:180,wn:!0})}return h},tO=function(a,b){var c=$.Qm(Math.cos($.bb(a)),7),d=$.Qm(Math.cos($.bb(b)),7),e=rO(c,Math.sin($.bb(a))),f=rO(d,Math.sin($.bb(b))),h=[];if(1==e)switch(f){case 1:c<=d&&h.push({start:180,end:360});break;case 3:h.push({start:180,end:b});break;case 4:h.push({start:180,end:b,wn:!0})}else if(2==
e)switch(f){case 1:h.push({start:180,end:360,wn:!0});break;case 2:c<=d&&h.push({start:180,end:360,wn:!0});break;case 3:h.push({start:180,end:b});break;case 4:h.push({start:180,end:b,wn:!0})}else if(3==e)switch(f){case 1:case 2:h.push({start:a,end:360,wn:!0});break;case 3:c>=d?(h.push({start:a,end:360}),h.push({start:180,end:b})):h.push({start:a,end:b});break;case 4:h.push({start:a,end:b,wn:!0})}else if(4==e)switch(f){case 1:case 2:h.push({start:a,end:360});break;case 3:h.push({start:a,end:360});h.push({start:180,
end:b});break;case 4:c>=d?(h.push({start:a,end:360}),h.push({start:180,end:b})):h.push({start:a,end:b})}return h},fO=function(a,b){var c=a.aa();c.select(b);var d=a.Cc,e=a.yc,f=$.$w(a.state,b);if(f=gO(a,f)){var h=a.i("mode3d"),k=c.o("start");c=c.o("sweep");c=(k+c/2)*Math.PI/180;h=(h?.45*f:f)*Math.sin(c);d+=f*Math.cos(c);e+=h}return[d,e]},wO=function(a,b){b<a&&(b+=360);return(a+b)/2},gO=function(a,b,c){b=b||0;var d=a.aa();1==d.Gb()?a=0:(c=a.zc("explode",b,d,$.Qq,!1,void 0,c),a=$.n(c)?$.M(c,a.Pg):0);
return a},AO=function(a){var b=a.Xa();a.ac($.wk()?"mousemove":"touchstart",a.nQ);b.Oc()},BO=function(a,b,c,d){this.G=d;this.g=c;this.bg=b;this.labels=[];this.y=this.height=0;this.b=[];this.f=a;this.iH=!1;this.Wk=null},CO=function(a,b){b&&(a.labels.push(b),a.mx())},DO=function(a,b){var c=$.hn(a.pb());return!$.Zm(c,$.hn(b))},Nea=function(a){for(var b=0,c=a.labels.length;b<c;b++){var d=a.labels[b],e=a.b[3*b],f=a.b[3*b+1],h=a.b[3*b+2],k=d.uc().value;k.angle=e;k.radius=f;k.radiusY=h;eO(a.bg,d)}},EO=function(a,
b){var c=new ZN(a,b);c.ld();return c},FO=function(a,b){var c=new ZN(a,b);c.Fa("pie3d");c.ld();return c};$.H(SN,$.pz);$.g=SN.prototype;$.g.update=function(){this.b.length=this.f.length=0;for(var a=this.Aa.Qf();a.advance();)if(!a.o("missing")){var b=a.o("start"),c=a.o("sweep"),d=this.Aa.b,e=this.Aa.J0();this.b.push(this.Aa.Dl(),0,0,0);this.f.push(b,c,d,e)}};$.g.jw=function(){qO(this.Aa,1E-5,1E-5,VN(this.Aa))};
$.g.Qm=function(){for(var a=this.Aa.Qf(),b=0;a.advance();)if(!a.o("missing")){a.o("start",this.coords[b++]);a.o("sweep",this.coords[b++]);a.o("radius",this.coords[b++]);a.o("innerRadius",this.coords[b++]);var c=this.Aa,d=a,e=d.o("slice");e.clear();var f=d.o("start"),h=d.o("sweep"),k=d.o("radius"),l=d.o("innerRadius"),m=$.$w(c.state,d.la());if(m=gO(c,m)){var p=f+h/2;e=$.si(e,c.Cc+m*Math.cos($.bb(p)),c.yc+m*Math.sin($.bb(p)),k,l,f,h)}else e=$.si(e,c.Cc,c.yc,k,l,f,h);if(f=d.o("hatchSlice"))c.aa().select(d.la()),
f.clear(),f.fe(e.F()),c=aO("hatchFill",3,!0)(c,$.$w(c.state,d.la()),!1,null),f.stroke(null).fill(c)}};$.g.Nl=function(){this.Qm()};$.g.R=function(){SN.u.R.call(this);this.Aa=null};$.H(UN,$.pr);$.g=UN.prototype;$.g.pF=function(){var a=[],b=this.$d.aa(),c=void 0,d=void 0;if(this.f)for(;b.advance();){var e=b.get(this.g),f=b.get("name");$.n(f)||(f="Point "+b.la());this.f(e)?a.push(b.la()):c?(c.push(e),d.push(f)):(c=[e],d=[f])}else for(e=0,b=b.Gb();e<b;e++)a.push(e);c?(this.b.hf(0,(0,$.Fg)(c,this.j,this.D())),this.b.o(0,"names",d),this.b.o(0,"values",c)):(this.b.hf(0,c),this.b.o(0,"names",[]),this.b.o(0,"values",[]));return a};
$.g.Gb=function(){$.qr(this);return(this.jo?this.jo.length:this.$d.Gb())+this.b.Gb()};$.g.Cl=function(a){$.qr(this);var b=this.$d.Gb();return a<b?this.$d.Cl(a):this.b.Cl(a-b)};$.g.Ct=function(){return $.Ga(this.$d.Ct(),this.b)};$.g.hf=function(a,b){$.qr(this);var c=this.jo?this.jo.length:this.$d.Gb();if(a<c)return $.pr.prototype.hf.apply(this,arguments);a-=c;return this.b.hf.apply(this.b,arguments)};
$.g.oN=function(a,b,c){var d=this.jo?this.jo.length:this.$d.Gb();if(a>d)throw Error("Index can not be masked by this View");return a>=d?(a-=d,2<arguments.length?(this.b.o.apply(this.b,arguments),this):this.b.o.apply(this.b,arguments)):$.pr.prototype.oN.apply(this,arguments)};$.H(TN,$.wr);TN.prototype.hf=function(a,b){if(!a){var c=this.f;1<arguments.length&&(this.f=b);return c}};TN.prototype.o=function(a,b,c){if(!a)return $.pr.prototype.o.apply(this,arguments)};
TN.prototype.Gb=function(){return $.n(this.f)?1:0};var GO=TN.prototype;GO.row=GO.hf;GO.getRowsCount=GO.Gb;$.H(WN,$.pz);WN.prototype.update=function(){this.b.length=this.f.length=0;this.b.push(1E-5,1E-5);this.f.push(1,this.g.opacity||1)};WN.prototype.Qm=function(){qO(this.Aa,this.coords[0],this.coords[1],this.G)};WN.prototype.Nl=function(){this.Qm()};WN.prototype.R=function(){WN.u.R.call(this);this.g=this.Aa=null;delete this.G};$.H(XN,$.sA);XN.prototype.Dl=function(){return this.Aa.data().o(this.index,"start")};XN.prototype.b=function(){var a=this.Aa.data(),b=a.o(this.index,"start");a=a.o(this.index,"sweep");return b+a};var HO=XN.prototype;HO.getStartAngle=HO.Dl;HO.getEndAngle=HO.b;HO.hovered=HO.mb;$.H(ZN,$.ox);$.xq(ZN,["fill","stroke","hatchFill","outline"],"normal");$.xq(ZN,["explode"],"selected");ZN.prototype.qa=$.ox.prototype.qa|16;ZN.prototype.sa=$.ox.prototype.sa|28688;
var IO=function(){var a={};$.hq(a,[$.Z.uB,$.Z.bz,[0,"radius",function(a){return $.so(a,"100%")}],[0,"innerRadius",function(a){return $.E(a)?a:$.so(a)}],[0,"sort",$.Gk],[0,"insideLabelsOffset",$.so],[0,"connectorLength",function(a){return $.so(a,"20%")}],[0,"outsideLabelsCriticalAngle",function(a){return $.ab($.M(a))}],[0,"forceHoverLabels",$.tq],[1,"connectorStroke",$.Dq],[0,"mode3d",$.uq],[0,"sliceDrawer",$.Vq]]);return a}();$.U(ZN,IO);$.g=ZN.prototype;
$.g.Na=function(){return this.i("mode3d")?"pie-3d":"pie"};$.g.Rg=function(){return!0};$.g.hk=function(){return!1};$.g.Ii=function(){return!0};$.g.Te=function(){return[this]};$.g.data=function(a,b){if($.n(a)){if(a){var c=a.title||a.caption;c&&this.title(c);a.rows&&(a=a.rows)}if(this.jg!==a){this.jg=a;if(this.j!=a||null===a){$.qd(this.jd);if($.K(a,$.pr)){var d=a;this.jd=null}else $.K(a,$.zr)?d=(this.jd=a).ie():d=(this.jd=new $.zr($.A(a)||$.z(a)?a:null,b)).ie();this.j=d.tj()}YN(this)}return this}return this.ka};
$.g.Id=function(a){$.X(a,16)&&this.B(13104,17)};$.g.aa=function(){return this.Nd||(this.Nd=this.ka.aa())};$.g.vc=function(){return this.Nd=this.ka.aa()};$.g.Qf=function(){return this.ka.aa()};$.g.group=function(a,b){return $.n(a)?($.E(a)&&a!=this.Tc?(this.Tc=a,this.ip=b||"Grouped point",YN(this)):$.Vo(a)&&(this.Tc=null,YN(this)),this):this.Tc};
$.g.cc=function(a){if($.K(a,$.ys))return this.Ic($.ys,a),this;if($.K(a,$.vs))return this.Ic($.vs,a),this;$.D(a)&&"range"==a.type?this.Ic($.ys):($.D(a)||null==this.Ea)&&this.Ic($.vs);return $.n(a)?(this.Ea.K(a),this):this.Ea};$.g.Ic=function(a,b){if($.K(this.Ea,a))b&&this.Ea.K(b);else{var c=!!this.Ea;$.qd(this.Ea);this.Ea=new a;$.W(this,"palette",this.Ea);this.Ea.oq();b&&this.Ea.K(b);$.L(this.Ea,this.If,this);c&&this.B(528,1)}};
$.g.oe=function(a){this.Yc||(this.Yc=new $.ws,$.L(this.Yc,this.If,this));return $.n(a)?(this.Yc.K(a),this):this.Yc};$.g.If=function(a){$.X(a,2)&&this.B(528,1)};var $N={};$.g=ZN.prototype;$.g.zc=function(a,b,c,d,e,f,h){var k=!!(b&$.po),l=!!(b&$.qo);f=l?this.Ca:k?this.xa:this.ca;e=a.split(".");f=(0,$.Fg)(e,function(a,b){return a[b]()},f);h?a=f:(h=c.get(l?"selected":k?"hovered":"normal"),h=$.n(h)?(0,$.Fg)(e,function(a,b){return a?a[b]:a},h):void 0,a=$.Ro(h,c.get($.$l(b,a)),f));$.n(a)&&(a=d(a));return a};
$.g.ph=function(){return $.$b(this.oe().nc(this.aa().la())||"none")};$.g.Fi=function(){var a=this.aa();return{index:a.la(),sourceHatchFill:this.ph(),iterator:a}};$.g.Ae=function(a,b){var c=this.aa(),d;b||(d=c.get("fill"));return{index:c.la(),sourceColor:$.Vb(a||d||this.cc().nc(c.la())||"blue"),iterator:c,series:this,chart:this}};
$.g.IJ=function(a,b){var c=this.aa().la();if($.z(a)&&"aquastyle"==a)c={aquaStyleObj:this.Ob,sourceColor:this.cc().nc(c)},c=this.Gk.call(c);else if($.E(a)){var d=1<arguments.length?this.IJ.apply(this,$.Ja(arguments,1)):this.cc().nc(c);c={index:c,sourceColor:d,iterator:this.aa()};c=a.call(c)}else c=a;return c};$.g.Ej=function(){return!this.aa().Gb()};$.g.yp=function(a){this.f||(this.f=new $.IB(this),$.L(this.f,this.bha,this),$.W(this,"center",this.f));return $.n(a)?(this.f.K(a),this):this.f};
$.g.bha=function(a){var b=0,c=0;$.X(a,1)&&(b|=16,c|=1);$.X(a,8)&&(b|=16388,c|=1);this.B(b,c)};$.g.labels=function(a){return $.n(a)?(this.ca.labels(a),this):this.ca.labels()};$.g.al=function(a){this.Ra||(this.Ra=[]);var b=a.la();this.Ra[b]||(this.Ra[b]=$.jn(this.labels().hl(a)));return this.Ra[b]};$.g.Zd=function(a){var b=0,c=0;$.X(a,1)&&(b|=4096,c|=1);$.X(a,8)&&(b|=4100,c|=9);this.B(b,c)};$.g.Yga=function(){this.B(20,1)};
$.g.Ec=function(a){var b=this.aa();if(!this.de||a)this.de=new $.rw;this.de.Ag(b).mj([this.Rd(b.la()),this]);a={x:{value:b.get("x"),type:"string"},value:{value:b.get("value"),type:"number"},name:{value:b.get("name"),type:"string"},index:{value:b.la(),type:"number"},chart:{value:this,type:""}};b.o("groupedPoint")&&(a.name={value:b.o("name"),type:"string"},a.groupedPoint={value:!0,type:"string"},a.names={value:b.o("names"),type:""},a.values={value:b.o("values"),type:""});return $.av(this.de,a)};
$.g.Ai=function(){var a=VN(this),b=this.aa(),c=b.o("start"),d=b.o("sweep"),e=1==b.Gb()||360==d;b=$.$w(this.state,b.la());b=gO(this,b);c+=d/2;var f=this.i("mode3d");d=this.i("insideLabelsOffset");if(f){if(a)e=this.b+this.ba,d=.45*this.b+this.ba,b&&(e+=b,d+=.45*b);else{var h=this.b;a=.45*this.b;var k=this.G;f=.45*this.G;e&&!k?d=e=0:(e=$.M(d,k+h),d=$.oo(d)?$.M(d,f+a):.45*$.M(d,f+a),b&&(e+=b,d+=.45*b))}return{value:{angle:c,radius:e,radiusY:d}}}return{value:{angle:c,radius:a?this.b+this.ba+b:$.M(d,e&&
!this.G?0:this.b-this.G)+this.G+b,outerRadius:this.b,innerRadius:this.G}}};
$.g.mx=function(a,b,c,d){var e,f,h,k,l,m,p=null,q=this.aa(),r=[],t=b?$.wa:$.Qe;t(a,function(a){a&&0!=a.enabled()&&(q.select(a.la()),a.lf(this.Ec()),B=this.al(a),!p||DO(p,B)?(p&&r.push(p),p=new BO(b,this,r,d||0),p.zB(a)):p.zB(a))},this);p&&r.push(p);a=0;for(e=r.length;a<e;a++)(p=r[a])&&p.Mo&&(f||(f=[]),f=$.Ga(f,p.Mo));p=null;f&&($.Qa(f,function(a,b){return a.la()>b.la()?1:a.la()<b.la()?-1:0}),t(f,function(a){if(a){q.select(a.la());a.lf(this.Ec());B=this.al(a);h=!0;k=0;for(l=r.length;k<l;k++)h=h&&DO(r[k],
B);if(h){p||(p=new BO(b,this,[],d||0));CO(p,a);m=p.pb();h=!0;for(k=0;k<l;k++)h=h&&DO(r[k],m);p.iH||!h?(p.labels.pop().enabled(!1),p.mx(),r.push(p),p=null):a.enabled(!0)}else p&&(r.push(p),p=null)}},this),p&&r.push(p));var u,v,w=this.i("mode3d"),x=this.i("connectorStroke");a=0;for(e=r.length;a<e;a++)if(p=r[a]){Nea(p);var y=0;for(u=p.labels.length;y<u;y++)if((f=p.labels[y])&&0!=f.enabled()){eO(this,f);t=f.la();q.select(t);var B=this.al(f);if(c){var G=this.ab[2*t],C=this.ab[2*t+1],I=q.o("connector"),
P=f.uc().value,Q=P.angle;Q=$.bb(Q);P=P.radius;var S=this.Cc+P*Math.cos(Q)-I,sa=this.yc+P*Math.sin(Q);var va=0;for(v=c.length;va<v;va++){Q=c[va];eO(this,Q);var Oa=this.al(Q),vb=Q.la(),mc=fO(this,vb),kb=mc[0],Qb=mc[1],Gb=q.o("start"),ic=q.o("sweep");mc=this.ab[2*vb];vb=this.ab[2*vb+1];I=q.o("connector");P=Q.uc().value;Q=P.angle;Q=$.bb(Q);P=P.radius;I=this.Cc+P*Math.cos(Q)-I;P=this.yc+P*Math.sin(Q);Q=$.bb(Gb);var ie=kb+this.G*Math.cos(Q),Rb=Qb+this.G*Math.sin(Q),Fc=kb+this.b*Math.cos(Q),Wb=Qb+this.b*
Math.sin(Q);Q=$.bb(Gb+ic);Gb=kb+this.G*Math.cos(Q);ic=Qb+this.G*Math.sin(Q);kb+=this.b*Math.cos(Q);Qb+=this.b*Math.sin(Q);Q=$.hn(B);if($.Zm(Q,$.hn(Oa))||QN(ie,Rb,Fc,Wb,Q)||QN(Gb,ic,kb,Qb,Q)||QN(mc,vb,I,P,Q)||$.bn(G,C,S,sa,ie,Rb,Fc,Wb)||$.bn(G,C,S,sa,Gb,ic,kb,Qb)||$.bn(mc,vb,I,P,G,C,S,sa)||$.Zm(Q,[Fc,Wb,ie,Rb])||$.Zm(Q,[kb,Qb,Gb,ic])){f.enabled(!1);break}}}if(0!=f.enabled()){if(this.dh||this.Tf)va=d?this.Xf:this.Ge,va=Math.max(va.left-B.left,B.$a()-va.$a(),va.top-B.top,B.Ua()-va.Ua()),va>this.Ja&&
(this.Ml=t),this.Ja=Math.max(this.Ja,va);this.O[t]||(va=this.ab[2*t+1]-.2*this.b/2,va=w&&va<this.yc?$.KB(this.hc):$.KB(this.U),this.O[t]=va,va.stroke(x),hO(this,f,va))}}}};
$.g.On=function(a){this.Pg=Math.min(a.width,a.height);var b=gO(this,$.Zl,!0),c=gO(this,$.po,!0),d=gO(this,$.qo,!0),e=Math.max(b,c||0,d||0),f=this.aa();for(f.reset();f.advance();)b=gO(this,$.Zl),c=gO(this,$.po),d=gO(this,$.qo),e=Math.max(b,c||0,d||0,e);b=this.ca.labels().enabled()||this.xa.labels().enabled()||this.Ca.labels().enabled();e=VN(this)&&b?e:0;this.Ge=$.gn(a.left+e,a.top+e,a.width-2*e,a.height-2*e);b=this.Pg-2*e;c=Math.max($.M(this.i("radius"),b),0);this.i("mode3d")?this.b=Math.min(Math.min(c,
(a.width-2*e)/2),(a.height-2*e)/1.3):this.b=Math.min(b/2,c);this.ba=$.M(this.i("connectorLength"),this.b);this.gp=this.b;this.Ja=0;this.Cc=this.Ge.left+this.Ge.width/2;this.yc=this.Ge.top+this.Ge.height/2;b=$.bb(-145);c=Math.min(a.width,a.height)/2;e=.5*c*Math.cos(b)/a.width+.5;b=.5*c*Math.sin(b)/a.height+.5;0>a.width&&(a.width=0);0>a.height&&(a.height=0);this.Ob.fx=!(0,window.isNaN)(e)&&(0,window.isFinite)(e)?e:0;this.Ob.fy=!(0,window.isNaN)(b)&&(0,window.isFinite)(b)?b:0;this.Ob.mode=a;jO(this)};
$.g.ob=function(){if(this.J(8192)){this.oI();for(var a=this.data().aa(),b,c=0,d=Number.MAX_VALUE,e=-Number.MAX_VALUE,f=0;a.advance();)b=a.get("value"),dO(b)?c++:(b=+b,d=Math.min(b,d),e=Math.max(b,e),f+=b);a=a.Gb()-c;var h;a?h=f/a:d=e=f=h=void 0;this.Ia("count",a);this.Ia("min",d);this.Ia("max",e);this.Ia("sum",f);this.Ia("average",h);this.I(8192)}};$.g.Pu=function(){this.Ea&&$.K(this.Ea,$.ys)&&$.zs(this.Ea,this.aa().Gb())};$.g.oJ=function(){var a=this.f.Uh.pb();$.ob(a,this.ya)||kO(this,a)};
$.g.kK=function(){this.B(4,1)};
$.g.ei=function(a){this.ob();$.Mu(this.labels());var b=this.aa();b.Gb();var c=this.i("mode3d"),d=this.yp();this.J(16384)&&(d&&d.Kj&&(this.f.vF(),this.f.Kj.parent(this.La),this.f.Kj.zIndex(25),this.f.Kj&&($.K(this.f.Uh,$.hg)?this.f.Kj.Ha().ra("renderfinish",this.oJ,!1,this):$.K(this.f.Uh,$.Y)&&this.f.Kj.ra("chartdraw",this.kK,!1,this))),this.I(16384));this.J(4)&&(this.Tf=!0,this.On(a),this.B(4112));if(this.J(16)){this.dh=!0;var e=this.Dl();var f=0;for(b.reset();b.advance();)if(f=b.get("value"),dO(f))b.o("missing",
!0);else{f=+f;f=f/this.Eg("sum")*360;var h=b.get("state");h="selected"==h?$.qo:"hovered"==h?$.po:"normal"==h?$.Zl:window.NaN;(0,window.isNaN)(h)||this.state.xh(h,b.la());b.o("start",e).o("sweep",f).o("explode",gO(this,h));e+=f}}if(this.J(4096)){this.labels().P()||this.labels().P(this.La);this.labels().clear();this.xc&&(this.xc.length=0);this.Ud&&(this.Ud.length=0);this.U&&(this.U.clear(),c&&this.hc.clear());if(this.labels().enabled()){var k=VN(this)?"outsideLabels":"insideLabels";e=$.jr(this,k,!0,
function(){var a=new $.Yq;$.sd(this,a);$.W(this,k,a);return a}).ma;this.labels().sq(e.autoColor);this.labels().disablePointerEvents(e.disablePointerEvents);if(VN(this)){if(this.dh||this.Tf)this.b=this.gp,this.Ja=Number.NEGATIVE_INFINITY;iO(this);if(this.dh||this.Tf){for(e=5;this.Ja&&(0,window.isFinite)(this.Ja)&&e&&10<Math.abs(this.Ja);)jO(this),this.Ja=Number.NEGATIVE_INFINITY,this.labels().clear(),this.U&&(this.U.clear(),c&&this.hc.clear()),iO(this),e--;this.B(4)}}else for(b.reset();b.advance();)dO(b.get("value"))||
(e=$.$w(this.state,b.la()),this.ce(e,!!(e&$.po)))}this.labels().$();this.labels().Kd().clip(a);this.B(16);this.I(4096)}if(this.J(16)){a=this.ca.at().i("offset")||this.ca.at().i("width")||this.xa.at().i("offset")||this.xa.at().i("width")||this.Ca.at().i("offset")||this.Ca.at().i("width");this.me?this.me.clear():a&&(this.me=new $.JB(function(){return $.nk()},function(a){a.clear()}),this.me.zIndex(30),this.me.parent(this.La));this.xf?this.xf.clear():(this.xf=new $.JB(function(){return $.nk()},function(a){a.clear()}),
this.xf.zIndex(30),this.xf.parent(this.La));this.g?this.g.clear():(this.g=new $.JB(function(){return $.nk()},function(a){a.clear()}),this.g.parent(this.La),this.g.zIndex(31).td(!0));c&&(this.D.length=0);for(b.reset();b.advance();)dO(b.get("value"))||(e=$.$w(this.state,b.la()),c?uO(this):mO(this,e));c&&xO(this);b=this.i("connectorStroke");if(this.O)for(c=0;c<this.O.length;c++)(a=this.O[c])&&a.stroke(b);this.G?(c=this.f.i("fill"),a=this.f.i("stroke"),this.Ga||(this.Ga=$.kk()),e=this.G-$.bc(a)/2,this.Ga.parent(this.La).zIndex(20).stroke(a).fill(c).Wb(e)):
this.Ga&&this.Ga.parent(null);this.Bd&&this.Bd.stroke(b);this.I(16)}this.J(4)&&d&&(b=d.Uh,d=d.Kj,$.K(b,$.hg)?(b=b.pb(),kO(this,b),d.clip(null)):$.K(b,$.Y)&&(b.ja(this.ga),b.da(!1),b.$(),d.jc(1,0,0,1,0,0),d.clip($.kk(this.Cc,this.yc,this.G+2))),this.Ga&&this.G&&this.Ga.zp(this.Cc).Ap(this.yc));this.Tf=!1};
$.g.ce=function(a,b){if(VN(this)){var c=a,d=this.aa();c=$.Xl(c);var e=c==$.po,f=c==$.qo,h=this.labels(),k=f?this.Ca.labels():e?this.xa.labels():null,l=d.get("normal");l=$.n(l)?l.label:void 0;var m=f?d.get("selected"):e?d.get("hovered"):void 0;m=$.n(m)?m.label:void 0;l=$.Ro(l,d.get("label"));m=f?$.Ro(m,d.get("selectLabel")):e?$.Ro(m,d.get("hoverLabel")):null;var p=d.la();c=h.Vd(p);var q=l&&$.n(l.enabled)?l.enabled:null,r=m&&$.n(m.enabled)?m.enabled:null;e=e||f?null===r?null===k.enabled()?null===q?
c&&$.n(c.enabled())?c.enabled():h.enabled():q:k.enabled():r:null===q?c&&$.n(c.enabled())?c.enabled():h.enabled():q;q=this.Ec(!0);r=this.Ai();if(e){if(f=!c)c=h.add(q,r,p);h=c.enabled();c.oi();$.Ou(c,k);c.kd(l,m);c.enabled(h);d=d.o("anchor");$.n(d)&&c.anchor(d);f||c.$()}else c?(h=c.enabled(),c.clear(),c.enabled(h)):(c=h.add(q,r,p),d=d.o("anchor"),$.n(d)&&c.anchor(d),c.enabled(!1));if(b&&(d=c)&&this.O){k=d.la();var t;(t=this.O[k])?d&&0!=d.enabled()&&e?hO(this,d,t):t.clear():e?hO(this,d,this.Bd):this.Bd.clear()}return c}a=
$.Xl(a);t=a==$.po;r=a==$.qo;var u=this.aa();c=this.labels();d=r?this.Ca.labels():t?this.xa.labels():null;k=u.get("normal");k=$.n(k)?k.label:void 0;l=r?u.get("selected"):t?u.get("hovered"):void 0;l=$.n(l)?l.label:void 0;k=$.Ro(k,u.get("label"));l=r?$.Ro(l,u.get("selectLabel")):t?$.Ro(l,u.get("hoverLabel")):null;m=u.la();h=c.Vd(m);p=k&&$.n(k.enabled)?k.enabled:null;e=l&&$.n(l.enabled)?l.enabled:null;f=this.Ai();q=this.Ec(!0);var v=this.i("mode3d");r=t||r;var w=!0;if((!r||r&&!this.i("forceHoverLabels"))&&
"allow-overlap"!=this.i("overlapMode")){var x=u.o("start"),y=u.o("sweep");w=this.Cc;var B=this.yc,G=gO(this,a);if(G){var C=(x+y/2)*Math.PI/180;var I=(v?.45*G:G)*Math.sin(C);w+=G*Math.cos(C);B+=I}C=x*Math.PI/180;G=w+this.b*Math.cos(C);I=B+(v?.45*this.b:this.b)*Math.sin(C);C=(x+y)*Math.PI/180;x=w+this.b*Math.cos(C);C=B+(v?.45*this.b:this.b)*Math.sin(C);this.nb?this.nb.clear():this.nb=new $.Ox;this.nb.lf(q);this.nb.uc(f);this.nb.oi();$.Nu(this.nb,this.labels());$.Ou(this.nb,c);this.nb.kd(k,l);v=this.labels().hl(this.nb,
null,null,m);y=(u=(1==u.Gb()||360==y)&&!this.G)||!QN(w,B,x,C,v);C=!RN(w,B,this.b,v);x=u||RN(w,B,this.G,v);w=(u||!QN(G,I,w,B,v))&&y&&C&&x}(r?null===e?null===d.enabled()?null===p?c.enabled():p:d.enabled():e:null===p?c.enabled():p)&&w?(h?(h.lf(q),h.uc(f)):h=c.add(q,f,m),h.oi(),$.Ou(h,d),h.kd(k,l),t&&!h.P()&&c.Kd()&&(h.P(c.Kd()),h.P().parent()||h.P().parent(c.P()))):h&&c.clear(h.la());return h};
$.g.XK=function(){if(!this.i("mode3d")&&this.DB().i("enabled")&&0<this.DB().i("duration"))if(this.xg&&1==this.xg.Xb)this.xg.update();else if(this.J(2048)){$.qd(this.xg);this.xg=new $.HB;var a=this.DB().i("duration"),b=a*(1-.85);a=new SN(this,.85*a);b=new WN(this,b);this.xg.add(a);this.xg.add(b);this.xg.ra("begin",function(){this.hj=this.i("connectorStroke");this.pa("connectorStroke","none");$.hx(this,!0);$.up(this,{type:"animationstart",chart:this})},!1,this);this.xg.ra("end",function(){this.pa("connectorStroke",
this.hj);$.hx(this,!1);$.up(this,{type:"animationend",chart:this})},!1,this);this.xg.play(!1)}};$.g.Az=function(a,b){var c=this.aa(),d="hatch"+String(a.charAt(0)).toUpperCase()+a.substr(1);if(b){var e=c.o(a);var f=c.o(d);e&&e.clear();f&&f.clear()}else e=$.KB(this.xf),c.o(a,e),f=$.KB(this.xf),c.o(d,f);return e};$.g.LS=function(){return[this.Cc,this.yc]};$.g.m0=function(){return this.ga};$.g.D$=function(){return this.b};$.g.J0=function(){return this.G};$.g.xda=function(a){return gO(this,a)};
$.g.Dl=function(){return this.i("startAngle")+-90};$.g.Rd=function(a){var b=new XN(this,a),c;this.aa().select(a)&&b.Fx()&&!dO(c=b.get("value"))&&(a=c/this.Eg("sum")*100,b.Ia("percentValue",a),b.Ia("yPercentOfTotal",a));return b};
$.g.bm=function(a,b){var c=[],d=this.aa().reset(),e="aquastyle"==this.ca.i("fill");if(e){var f=this.Ob;this.Ob={}}for(;d.advance();){var h=d.la();var k=d.get("legendItem")||{},l=null;$.E(b)&&(l=this.Ec(),l=b.call(l,l),$.ea(l)&&(l=String(l)));$.z(l)||(l=d.o("groupedPoint")?d.o("name"):String($.n(d.get("name"))?d.get("name"):d.get("x")));var m=this.i("mode3d"),p=aO("fill",1,!1),q=aO("stroke",2,!1),r=aO("hatchFill",3,!1);l={enabled:!0,meta:{pointIndex:h,pointValue:d.get("value")},iconType:"square",text:l,
iconStroke:m?$.Il(zO(this,$.Zl),.2):q(this,$.Zl,!1,null),iconFill:m?zO(this,$.Zl):p(this,$.Zl,!1,null),iconHatchFill:r(this,$.Zl,!1,null)};$.Sc(l,k);l.sourceUid=$.oa(this);l.sourceKey=h;c.push(l)}e&&(this.Ob=f);return c};$.g.ts=function(){return!0};$.g.er=function(a){a=a.si();this.data().aa().select(a)&&this.select(a)};$.g.bq=function(a,b){var c=a.si();if(!a||null!=c||(0,window.isNaN)(c))if(c=$.mo(b.domTarget))c.W=this};
$.g.aq=function(a,b){var c=a.si();if(!a||null!=c||(0,window.isNaN)(c))if(c=$.mo(b.domTarget))c.W=this};$.g.es=function(){return[]};$.g.ig=function(a){a=$.Y.prototype.ig.call(this,a);var b=$.mo(a.domTarget).index;if(!$.n(b)&&$.Zw(this.state,$.po)){var c=$.ex(this.state,$.po);c.length&&(b=c[0])}b=$.N(b);(0,window.isNaN)(b)||(a.pointIndex=a.sliceIndex=b);return a};$.g.sh=function(a){(a=this.Ig(a))&&this.dispatchEvent(a)};
$.g.Ig=function(a){var b;"pointIndex"in a?b=a.pointIndex:"labelIndex"in a?b=a.labelIndex:"markerIndex"in a&&(b=a.markerIndex);b=$.N(b);if((0,window.isNaN)(b))return null;a.pointIndex=b;var c=a.type;switch(c){case "mouseout":c="pointmouseout";break;case "mouseover":c="pointmouseover";break;case "mousemove":c="pointmousemove";break;case "mousedown":c="pointmousedown";break;case "mouseup":c="pointmouseup";break;case "click":c="pointclick";break;case "dblclick":c="pointdblclick";break;default:return null}var d=
this.data().aa();d.select(b)||d.reset();return{type:c,actualTarget:a.target,pie:this,iterator:d,sliceIndex:b,pointIndex:b,target:this,originalEvent:a,point:this.Rd(b)}};$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.Fl=function(a){return $.n(a)?(a=$.yk(a),a!=this.N&&(this.N=a),this):this.N};$.g.Oj=function(a){$.n(a)?this.Hi(a):this.Ek();return this};
$.g.Pd=function(a){var b;(b=$.Zw(this.state,$.po))||(b=!!(this.state.Nj()&$.po));b&&this.enabled()&&($.n(a)?this.state.Hh($.po,a):this.state.Hh($.po,!0),AO(this))};$.g.Hi=function(a,b){if(!this.enabled())return this;if($.A(a))for(var c=$.ex(this.state,$.po),d=0;d<c.length;d++)$.Aa(a,c[d])||this.state.Hh($.po,c[d]);$.cx(this.state,a);$.n(b)&&this.nQ(b);return this};$.g.Ek=function(){this.enabled()&&this.state.xh($.po,!0)};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};
$.g.Ni=function(a){return $.n(a)?(a=$.zk(a),a!=this.Eh&&(this.Eh=a),this):this.Eh};$.g.select=function(a){if(!this.enabled())return this;$.n(a)?this.Mi(a):this.iu();return this};$.g.iu=function(){AO(this);this.state.xh($.qo,!0)};$.g.Mi=function(a,b){var c=b&&b.shiftKey?void 0:b?$.po:$.Zl;$.A(a)?(b||this.ae(),this.state.xh($.qo,a,c)):$.ea(a)&&this.state.xh($.qo,a,c);return this};$.g.ae=function(a){$.n(a)?this.state.Hh($.qo,a):this.state.Hh($.qo,!0)};
$.g.Xj=function(a,b){var c=this.aa(),d=c.o("explode");this.i("mode3d")?(uO(this),xO(this,c.la(),!0)):mO(this,a,!0);dO(c.get("value"))||this.ce(a);return b||d!=gO(this,a)};$.g.fm=function(a){var b=this.aa(),c=b.o("sweep"),d=b.get("value"),e=b.la();1==b.Gb()||360==c||dO(d)&&e!=b.Gb()||(a=!!a,c=VN(this),a||c?c?(this.dh=!1,$.V(this.labels()),this.labels().clear(),iO(this),this.labels().$(),this.labels().da(!1)):(this.labels().clear(),b.select(e)):this.labels().$())};$.g.Uk=$.ia;$.g.Wp=$.ia;
$.g.xK=function(){var a=new $.iw(0);a.Aa(this);$.mw(a,this);$.L(a,this.hp,this);$.W(this,"tooltip",a);return a};$.g.hp=function(){this.Xa().$()};$.g.nQ=function(a){var b=$.jr(this,"legend");if(!a||!b||a.target!=b){b=this.Xa();var c=this.Ec();a&&($.V(b),$.Aw(b,a.clientX,a.clientY,c),b.da(!1),this.ra($.wk()?"mousemove":"touchstart",this.nQ))}};$.g.xk=function(){return this.Ec()};
$.g.F=function(){var a=ZN.u.F.call(this);a.data=this.data().F();a.palette=this.cc().F();a.hatchFillPalette=this.oe().F();$.jr(this,"tooltip")&&(a.tooltip=this.Xa().F());this.yp()&&(a.center=this.yp().F());$.Hq(this,IO,a,"Pie");a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();return{chart:a}};
$.g.X=function(a,b){ZN.u.X.call(this,a,b);$.zq(this,IO,a,b);this.group(a.group);this.data(a.data);"center"in a&&this.yp().ia(!!b,a.center);"tooltip"in a&&this.Xa().ia(!!b,a.tooltip);"normal"in a&&this.Sa().ia(!!b,a.normal);"hovered"in a&&this.mb().ia(!!b,a.hovered);"selected"in a&&this.selected().ia(!!b,a.selected);"hatchFillPalette"in a&&this.oe().ia(!!b,a.hatchFillPalette);"palette"in a&&this.cc(a.palette)};
$.g.ld=function(){this.ca.Fa(this.ma);$.W(this,"normal",this.ca);this.ca.ia(!0,{});$.W(this,"hovered",this.xa);this.xa.ia(!0,{});$.W(this,"selected",this.Ca);this.Ca.ia(!0,{})};$.g.R=function(){$.td(this.xg,this.ca,this.xa,this.Ca,this.f,this.jd,this.j,this.ka,this.Ea,this.Yc);this.ka=this.j=this.jd=this.f=this.Ca=this.xa=this.ca=this.xg=null;delete this.Nd;this.Yc=this.Ea=null;ZN.u.R.call(this)};$.g=BO.prototype;$.g.zB=function(a){a&&(this.labels.push(a),this.ob())};
$.g.pb=function(){if(!this.Wk){var a=this.labels[0]?this.bg.al(this.labels[0]).height:0;this.Wk=new $.J(this.x,this.y+a/2,this.width,this.height)}return this.Wk};$.g.Qd=function(){this.Wk=null};
$.g.mx=function(){var a=this.height=0;this.Qd();var b=this.G,c=this.bg.yp(),d=c?c.Rd():this.bg.LS();var e=this.bg.b+b;c=d.x;d=d.y;var f=this.bg.i("mode3d");if(f){var h=d+.45*e+this.bg.ba-.1+.2*this.bg.b/2;var k=d-(.45*e+this.bg.ba)+.1-.2*this.bg.b/2}else h=d+e+this.bg.ba-.1,k=d-(e+this.bg.ba)+.1;for(var l=0,m=this.labels.length;l<m;l++){var p=this.labels[l];e=this.bg.al(p);a+=e.top-this.height-e.height/2;this.height+=e.height}this.y=a/m;a=this.y+this.height;a>h&&(a=h,this.y=h-this.height);0!=this.labels.length&&
(e=this.bg.al(this.labels[0]).height,this.y+e<k&&(a=k-e+this.height,this.y=k-e));h=this.bg.i("outsideLabelsCriticalAngle");this.b.length=0;k=this.bg.data().aa();this.width=this.x=window.NaN;this.N=null;this.j=this.D=window.NaN;this.iH=!1;l=0;for(m=this.labels.length;l<m;l++){p=this.labels[l];e=this.bg.al(p);var q=l==m-1?0:this.bg.al(this.labels[l+1]).height;var r=p.la();k.select(r);var t=k.o("start");var u=k.o("sweep");(r=$.n(p.i("offsetX"))?p.i("offsetX"):this.bg.labels().i("offsetX"))||(r=0);r=
$.M(r,360);var v=$.n(p.i("offsetY"))?p.i("offsetY"):this.bg.labels().i("offsetY");v||(v=0);p=$.M(v,this.bg.b);var w=$.bb(t+u/2+r);u=this.f?5:-5;var x=this.bg.b+b;var y=this.bg.b+this.bg.ba+b+p;if(f){var B=.45*(this.bg.b+b);var G=.45*(this.bg.b+b+p)+this.bg.ba}else B=x,G=y;t=a;var C=x+this.bg.ba;var I=B+this.bg.ba;Math.abs(t-d)>I&&(I=Math.abs(t-d));I=C*Math.sqrt(Math.pow(I,2)-Math.pow(t-d,2))/I;C=c+(this.f?1:-1)*Math.abs(I);x=c+x*Math.cos(w);B=d+B*Math.sin(w);var P=c+y*Math.cos(w);w=d+G*Math.sin(w);
G=Math.floor($.dn(C,t,c,d))+v;v=Math.abs($.Ab(C-x,t-B,P-x,w-B));y=0>I||G>y;if(v>this.j||(0,window.isNaN)(this.j)||y){this.j=0>I?Number.POSITIVE_INFINITY:v;I=window.Infinity;for(G=w=0;G<this.labels.length;G++)k.select(this.labels[G].la()),x=k.get("value"),(0,window.isNaN)(+x)||(x=+x),x<I&&(I=x,w=G);this.N=this.labels[w];this.D=w}if(v>h||y)this.iH=!0;u=C+u;C=this.f?u:u-e.width;this.x=(0,window.isNaN)(this.x)?C:this.x>C?C:this.x;C=this.f?u+e.width:u;this.width=(0,window.isNaN)(this.width)?C:this.width<
C?C:this.width;u-=c;t-=d;f&&(t+=.2*this.bg.b/2);C=Math.sqrt(Math.pow(u,2)+Math.pow(t,2))-p;p=Math.sqrt(Math.pow(u,2)+Math.pow(t,2))-p;y=window.NaN;0<u&&0<=t?y=$.cb(Math.atan(t/u)):0<u&&0>t?y=$.cb(Math.atan(t/u))+360:0>u?y=$.cb(Math.atan(t/u))+180:!u&&0<t?y=90:!u&&0>t&&(y=270);y-=r;this.b.push(y,C,p);a-=e.height/2+q/2}this.width-=this.x};
$.g.ob=function(){this.mx();if(this.iH){var a=this.N,b=this.D;(0,window.isNaN)(b)||(a.enabled(!1),this.Mo||(this.Mo=[]),this.Mo.push(a),$.Ca(this.labels,b,1));var c=this.bg;a=this.labels;var d=this.g,e,f,h=d[d.length-1];if(h!=this){var k=null;b=a.slice();var l=d.length,m=!1;var p=0;for(e=a.length;p<e;p++)if(f=a[p]){var q=c.al(f);!h||DO(h,q)?!k||DO(k,q)?(k&&(d.push(k),h=k),q="left-center"==f.anchor(),k=new BO(q,c,d,this.G),CO(k,f)):(CO(k,f),c.iH?(f.enabled(!1),k.Mo||(k.Mo=[]),k.Mo.push(f),k.labels.pop(),
k.mx()):h&&k&&!DO(h,k.pb())&&(d.pop(),k.labels=$.Ga(h.labels,k.labels),h=null,k.mx(),m=!0)):(f.enabled(!1),k&&(k.Mo||(k.Mo=[]),k.Mo.push(f)))}if(k)if(0<d.length-l||m)this.labels=k.labels;else{c=k;if(c.Mo){d=0;for(p=c.Mo.length;d<p;d++)c.Mo[d].enabled(!0);c.Mo.length=0}b.length!=a.length&&(this.labels=b)}}this.ob()}else if((a=this.g[this.g.length-1])&&(b=a.pb()),b&&!DO(this,b)){this.g.pop();this.labels=$.Ga(a.labels,this.labels);a=0;for(b=this.labels.length;a<b;a++)this.labels[a].enabled(!0);this.ob()}};
var JO=ZN.prototype;JO.center=JO.yp;JO.group=JO.group;JO.data=JO.data;JO.labels=JO.labels;JO.getPixelRadius=JO.D$;JO.getPixelInnerRadius=JO.J0;JO.getPixelExplode=JO.xda;JO.palette=JO.cc;JO.tooltip=JO.Xa;JO.hatchFillPalette=JO.oe;JO.getType=JO.Na;JO.getPoint=JO.Rd;JO.toCsv=JO.qk;JO.hover=JO.Oj;JO.unhover=JO.Pd;JO.select=JO.select;JO.unselect=JO.ae;JO.normal=JO.Sa;JO.hovered=JO.mb;JO.selected=JO.selected;$.Jp.pie=EO;$.Jp["pie-3d"]=FO;$.F("anychart.pie",EO);$.F("anychart.pie3d",FO);}).call(this,$)}
if(!_.theme_pie){_.theme_pie=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{pie:{sliceDrawer:function(){$.HE.vector.primitives.donut(this.path,this.centerX+this.explodeX,this.centerY+this.explodeY,this.outerRadius,this.innerRadius,this.startAngle,this.sweepAngle)},interactivity:{multiSelectOnClick:!0,unselectOnClickOutOfPoint:!1},animation:{duration:2E3},title:{text:"Pie Chart"},group:!1,sort:"none",radius:"45%",innerRadius:0,startAngle:0,outsideLabelsCriticalAngle:60,insideLabelsOffset:"50%",center:{fill:"none",stroke:"none"},normal:{labels:{format:"{%PercentValue}{decimalsCount:1,zeroFillDecimals:true}%"},
explode:0,outline:{enabled:!0,width:0,offset:0,fill:$.ZM,stroke:"none"}},hovered:{explode:0,outline:{enabled:null,width:10,offset:0,fill:$.SM,stroke:"none"}},selected:{explode:"5%",fill:$.SM,stroke:"none",outline:{enabled:null,width:10,offset:0,fill:$.ZM,stroke:"none"}},a11y:{titleFormat:$.gN}},pie3d:{radius:"65%",mode3d:!0,selected:{explode:"5%"},aspect3d:.45,connectorLength:"15%",legendItem:{iconStroke:null}}});}).call(this,$)}
if(!_.radar_polar_base){_.radar_polar_base=1;(function($){var f5,g5,h5,$ma,bna;$.e5=function(){$.By.call(this)};f5=function(){$.V(this);$.Y.call(this);this.Fa($.hr.axis);this.Qh=[];this.lk=[];this.Lc=$.nk();$.du(this,this.Lc);this.af=916;this.da(!1);$.T(this.ua,[["drawFirstLabel",this.af,9],["drawLastLabel",this.af,9],["overlapMode",this.af,9],["stroke",this.af,9],["startAngle",this.af,9,0,function(){this.$i()}],["innerRadius",this.af,9]])};
g5=function(a,b,c){var d=$.ab(a.i("startAngle")-90),e=$.bb(d);c=c?a.Qa():a.tb();var f=c.i("length"),h=c.i("stroke"),k=c.i("position"),l=$.Ao(k),m=h.thickness?(0,window.parseFloat)(h.thickness):1,p=$.Wo(a.i("stroke"));h=k=0;d?90==d?h=0==m%2?0:-.5:180==d?k=0==m%2?0:.5:270==d&&(h=0==m%2?0:.5):k=0==m%2?0:-.5;b||(k*=-1,h*=-1);m=a.b+(a.nA-a.b)*b;b=a.qc+m*Math.cos(e);a=a.rc+m*Math.sin(e);180==d?(b=Math.floor(b),a=Math.floor(a)):(b=Math.ceil(b),a=Math.ceil(a));d=$.bb($.ab(90-d-270));e=0>l?Math.ceil(p/2):
Math.floor(p/2);e=l?l*e:-f/2;l=l?l*f:f;f=e*Math.sin(d);e*=Math.cos(d);k=b+f+k;h=a+e+h;f=l*Math.sin(d);e=l*Math.cos(d);c.Pp(k,h,k+f,h+e)};h5=function(){f5.call(this)};$.i5=function(a){$.Bz.call(this,a);this.Lg=[];this.Mg=[];this.Wg=[];this.Xg=[];$.T(this.ua,[["startAngle",4,1],["innerRadius",32772,1,0,function(){for(var a=0;a<this.fb.length;a++)this.fb[a].B(1024)}]])};
$.j5=function(a,b){var c=a.Et(),d=$.n(b)?b:a.ma,e=$.n(b);a.Ul(d.xGrids,a.Zm,c,e);a.Ul(d.yGrids,a.$m,c,e);a.Ul(d.xMinorGrids,a.xr,c,e);a.Ul(d.yMinorGrids,a.Ar,c,e)};$ma=function(a,b,c,d){var e=a.F();$.Qz(e,"scale",a.scale(),b,c);d.push($.oa(a));return e};$.k5=function(){$.Wy.call(this);this.KK="circuit";$.T(this.ua,[["startAngle",4,9],["innerRadius",4,9]])};$.l5=function(a,b,c,d,e){$.gB.call(this,a,b,c,d,e)};
$.ana=function(a,b,c,d,e){switch(a){case "left-center":case "center":case "right-center":a=(b+d)/2;c=(c+e)/2;break;case "left-bottom":case "center-bottom":case "right-bottom":a=d;c=e;break;default:a=b}return{x:a,y:c}};bna={wma:"radial",nka:"circuit"};$.H($.e5,$.By);$.e5.prototype.Pp=function(a,b,c,d){this.path.moveTo(a,b);this.path.lineTo(c,d)};$.H(f5,$.Y);var m5=function(){var a={};$.hq(a,[$.Z.bz,$.Z.uB,$.Z.Jn,$.Z.kP,$.Z.lP,[0,"innerRadius",function(a){return $.so(a,this.i("innerRadius"))}]]);return a}();$.U(f5,m5);$.g=f5.prototype;$.g.sa=$.Y.prototype.sa|912;$.g.qa=$.Y.prototype.qa;$.g.Lc=null;$.g.kr="axis";$.g.Da=null;$.g.oc=null;$.g.hb=null;$.g.Nc=null;$.g.na=null;$.g.nA=window.NaN;$.g.Qh=null;$.g.lk=null;
$.g.labels=function(a){this.Da||(this.Da=new $.Du,$.W(this,"labels",this.Da),this.Da.ib(this),$.L(this.Da,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Da.K(a),this):this.Da};$.g.Zd=function(a){var b=0,c=0;$.X(a,8)?(b=this.af,c=9):$.X(a,1)&&(b=128,c=1);this.$i();this.B(b,c)};$.g.kb=function(a){this.oc||(this.oc=new $.Du,$.W(this,"minorLabels",this.oc),this.oc.ib(this),$.L(this.oc,this.F$,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.oc.K(a),this):this.oc};
$.g.F$=function(a){var b=0,c=0;$.X(a,8)?(b=this.af,c=9):$.X(a,1)&&(b=128,c=1);this.$i();this.B(b,c)};$.g.Qa=function(a){this.hb||(this.hb=new $.e5,$.W(this,"ticks",this.hb),this.hb.ib(this),$.L(this.hb,this.Yh,this));return $.n(a)?(this.hb.K(a),this):this.hb};$.g.Yh=function(a){var b=0,c=0;$.X(a,8)?(b=this.af,c=9):$.X(a,1)&&(b=276,c=1);this.$i();this.B(b,c)};
$.g.tb=function(a){this.Nc||(this.Nc=new $.e5,$.W(this,"minorTicks",this.Nc),this.Nc.ib(this),$.L(this.Nc,this.Gfa,this));return $.n(a)?(this.Nc.K(a),this):this.Nc};$.g.Gfa=function(a){var b=0,c=0;$.X(a,8)?(b=this.af,c=9):$.X(a,1)&&(b=256,c=1);this.$i();this.B(b,c)};$.g.scale=function(a){if($.n(a)){if(a=$.Xs(this.na,a,null,15,null,this.Vh,this)){var b=this.na==a;this.na=a;this.na.da(b);b||(this.$i(),this.B(this.af,9))}return this}return this.na};
$.g.Vh=function(a){$.X(a,2)&&(this.$i(),this.B(this.af,9))};$.g.ho=function(){this.B(this.af,9)};$.g.$i=function(){this.f&&(this.f.length=0);this.Qh.length=0;this.lk.length=0;this.Qj=null};
$.g.Px=function(){if(!this.Qj||this.J(512)){if("allow-overlap"==this.i("overlapMode"))return!1;var a=this.scale(),b=[],c=[];if(a){var d,e=-1,f=-1,h=-1,k=a.Qa().get(),l=k.length,m,p,q=this.labels().enabled(),r=this.i("drawFirstLabel"),t=this.i("drawLastLabel");if($.K(a,$.Ys)){var u=a.tb().get();var v=d=0;for(var w=u.length,x,y=this.kb().enabled();d<l||v<w;){var B=k[d];var G=u[v];var C=a.transform(B);x=a.transform(G);G=B=m=null;if(-1==f&&q)for(p=d;-1==f&&p<l;){var I=this.hd(p,!0);-1!=e&&(G=this.hd(e,
!0));p!=l-1&&t&&(B=this.hd(l-1,!0));$.Zm(I,G)||$.Zm(I,B)||(I=a.transform(k[p]),0>=I&&r||1<=I&&t?f=p:0<I&&1>I&&(f=p));p++}C<=x&&d<l||v==w?(q&&d==f&&this.labels().enabled()?(e=d,f=-1,b.push(!0)):b.push(!1),d++,C==x&&(this.labels().enabled()||this.Qa().enabled())&&(c.push(!1),v++)):(y?(I=this.hd(v,!1),-1!=e&&(G=this.hd(e,!0)),-1!=f&&(B=this.hd(f,!0)),-1!=h&&(m=this.hd(h,!1)),C=(C=this.kb().Vd(v))?$.n(C.enabled())?C.enabled():!0:!0,$.Zm(I,G)||$.Zm(I,B)||$.Zm(I,m)||!C?c.push(!1):(I=a.transform(u[v]),0>=
I&&r||1<=I&&t?(h=v,c.push(!0)):0<I&&1>I?(h=v,c.push(!0)):c.push(!1))):c.push(!1),v++)}y||(c=!1)}else if($.K(a,$.Ct))for(d=0;d<l;d++)q?(I=this.hd(d,!0),-1!=e&&(G=this.hd(e,!0)),d!=l-1&&t?B=this.hd(l-1,!0):B=null,d?d==l-1?t?(e=d,b.push(!0)):b.push(!1):$.Zm(I,G)||$.Zm(I,B)?b.push(!1):(e=d,b.push(!0)):r?(e=d,b.push(!0)):b.push(!1)):b.push(!1)}q||(b=!1);this.Qj={labels:b,kb:c};this.I(512)}return this.Qj};
$.g.hd=function(a,b){var c=b?this.Qh:this.lk;if($.n(c[a]))return c[a];var d=b?this.Qa():this.tb(),e=d.i("position");e=$.Ao(e);var f=$.Wo(this.i("stroke")),h=0>e?Math.ceil(f/2):Math.floor(f/2);e=b?this.labels():this.kb();f=e.i("position");f=$.Ao(f);var k=this.scale(),l=(b?k.Qa():k.tb()).get()[a];if($.A(l)){var m=(k.transform(l[0],0)+k.transform(l[1],1))/2;l=l[0]}else m=k.transform(l,.5);l=this.im(a,l);k={value:{x:0,y:0}};var p=e.measure(l,k,void 0,a),q=this.b+(this.nA-this.b)*m,r=$.ab(this.i("startAngle")-
90),t=$.bb(r);m=this.qc+q*Math.cos(t);q=this.rc+q*Math.sin(t);var u=$.bb($.ab(90-r-270));t=$.Bo(d,f);d=t*Math.sin(u);t*=Math.cos(u);var v=f*h*Math.sin(u);h=f*h*Math.cos(u);r=$.ab(r+90);u=p.width;p=p.height;var w=this.scale(),x=0,y=0;$.K(w,$.Ys)?r?0<r&&90>r?(x-=u/2,y-=p/2):90==r?y-=p/2:90<r&&180>r?(y-=p/2,x+=u/2):180==r?x+=u/2:180<r&&270>r?(y+=p/2,x+=u/2):270==r?y+=p/2:270<r&&(y+=p/2,x-=u/2):x-=u/2:$.K(w,$.Ct)&&(r?0<r&&45>r?x-=u/2:45==r?(x-=u/2,y-=p/2):45<r&&90>r?y-=p/2:90==r?y-=p/2:90<r&&135>r?y-=
p/2:135==r?(y-=p/2,x+=u/2):135<r&&180>r?x+=u/2:180==r?x+=u/2:180<r&&225>r?x+=u/2:225==r?(y+=p/2,x+=u/2):225<r&&270>r?y+=p/2:270==r?y+=p/2:270<r&&315>r?y+=p/2:315==r?(y+=p/2,x-=u/2):315<r&&(x-=u/2):x-=u/2);k.value.x=m+x*f+d+v;k.value.y=q+y*f+t+h;return c[a]=e.hl(l,k,void 0,a)};
$.g.im=function(a,b){var c=this.scale(),d=!0;if($.K(c,$.Ct)){var e=c.Qa().names()[a];var f=b;d=!1}else $.K(c,$.$s)?(e=$.ks(b),f=b):(e=(0,window.parseFloat)(b),f=(0,window.parseFloat)(b));e={axis:{value:this,type:""},index:{value:a,type:"number"},value:{value:e,type:"number"},tickValue:{value:f,type:"number"},scale:{value:c,type:""}};d&&(e.max={value:$.n(c.max)?c.max:null,type:"number"},e.min={value:$.n(c.min)?c.min:null,type:"number"});c=new $.rw(e);c.sm({"%AxisScaleMax":"max","%AxisScaleMin":"min"});
return $.av(c)};$.g.tC=function(){var a=$.ab(this.i("startAngle")-90),b=$.bb(a),c=0,d=0,e=$.Wo(this.i("stroke"));a?90==a?c=0==e%2?0:-.5:180==a?d=0==e%2?0:.5:270==a&&(c=0==e%2?0:.5):d=0==e%2?0:-.5;a=Math.round(this.qc+this.nA*Math.cos(b));e=Math.round(this.rc+this.nA*Math.sin(b));this.Lc.moveTo(Math.round(this.qc+this.b*Math.cos(b))+c,Math.round(this.rc+this.b*Math.sin(b))+d).lineTo(a+c,e+d)};
$.g.ce=function(a,b){var c=this.scale();if(b){var d=c.Qa();c=this.labels()}else d=c.tb(),c=this.kb();d=d.get();d=this.im(a,d[a]);var e=$.jn(this.hd(a,b));c.add(d,{value:{x:e.left+e.width/2,y:e.top+e.height/2}},a)};$.g.Bc=function(){if(this.ef())return!1;if(!this.enabled())return this.J(1)&&(this.remove(),this.I(1),this.Qa().B(2),this.tb().B(2),this.labels().B(2),this.kb().B(2),this.B(450)),!1;this.I(1);return!0};$.g.gy=function(){return!1};
$.g.$=function(){var a=this.scale();if(!a)return $.cl(2),this;if(!this.Bc())return this;if(this.J(4)){this.$i();var b=this.ja();this.nA=Math.min(b.width,b.height)/2;this.b=$.M(this.i("innerRadius"),this.nA);this.b==this.nA&&this.b--;this.qc=Math.round(b.left+b.width/2);this.rc=Math.round(b.top+b.height/2)}$.V(this.labels());$.V(this.kb());$.V(this.Qa());$.V(this.tb());if(this.J(16)){this.Lc.clear();this.Lc.stroke(this.i("stroke"));var c=this.tC;this.I(16)}this.J(8)&&(b=this.zIndex(),this.Lc.zIndex(b),
this.Qa().zIndex(b),this.tb().zIndex(b),this.labels().zIndex(b),this.kb().zIndex(b),this.I(8));this.J(2)&&(b=this.P(),this.Lc.parent(b),this.Qa().P(b),this.tb().P(b),this.labels().P(b),this.kb().P(b),this.I(2));if(this.J(256)){var d=this.Qa();d.$();d=d.Pp;var e=this.tb();e.$();e=e.Pp;this.I(256)}if(this.J(128)){var f=this.labels();f.P()||f.P(this.P());f.ja(this.ja());f.clear();f=this.ce;var h=this.kb();h.P()||h.P(this.P());h.ja(this.ja());h.clear();h=this.ce;this.I(128)}c&&c.call(this);c=a.Qa().get();
b=c.length;var k;if($.K(a,$.Ys)){if(d||f||e||h){var l=this.Px(void 0);if($.D(l)){var m=l.labels;var p=l.kb}else m=!l,p=!l;var q=a.tb().get();var r=l=0;for(var t=q.length,u,v;l<b||r<t;){var w=c[l];var x=q[r];w=a.transform(w);u=a.transform(x);w<=u&&l<b||r==t?(x=$.A(m)?m[l]:m,(k=$.A(m)&&m[l]||$.da(m))&&d&&g5(this,w,!0),x&&f.call(this,l,!0),v=w,l++):(x=$.A(p)?p[r]:p,(k=$.A(p)&&p[r]||$.da(p))&&e&&v!=u&&g5(this,u,!1),x&&h&&v!=u&&f.call(this,r,!1),r++)}h&&this.kb().$()}}else if($.K(a,$.Ct)&&(d||f))for(v=
this.Px(void 0),m=$.D(v)?v.labels:!l,l=0;l<b;l++)w=c[l],$.A(w)?r=w[0]:r=w,w=a.transform(r,0),d&&(g5(this,w,!0),l==b-1&&(w=a.transform(r,1),g5(this,w,!0)),x=$.A(m)?m[l]:m,f&&x&&f.call(this,l,!0));f&&this.labels().$();this.labels().da(!1);this.kb().da(!1);this.Qa().da(!1);this.tb().da(!1);return this};$.g.remove=function(){this.Lc&&this.Lc.parent(null);this.Qa().remove();this.tb().remove();this.Da&&this.Da.remove();this.oc&&this.oc.remove()};
$.g.F=function(){var a=f5.u.F.call(this);$.Hq(this,m5,a);a.labels=this.labels().F();a.minorLabels=this.kb().F();a.ticks=this.Qa().F();a.minorTicks=this.tb().F();return a};$.g.X=function(a,b){f5.u.X.call(this,a,b);$.zq(this,m5,a,b);this.labels().ia(!!b,a.labels);this.kb().ia(!!b,a.minorLabels);this.Qa(a.ticks);this.tb(a.minorTicks)};$.g.R=function(){$.td(this.Lc,this.Da,this.oc,this.hb,this.Nc);delete this.na;this.oc=this.Da=this.Nc=this.hb=this.Lc=this.lk=this.Qh=null;f5.u.R.call(this)};$.H(h5,f5);
$.ju(h5,f5);var n5=f5.prototype;n5.labels=n5.labels;n5.minorLabels=n5.kb;n5.ticks=n5.Qa;n5.minorTicks=n5.tb;n5.scale=n5.scale;n5=h5.prototype;$.F("anychart.standalones.axes.radial",function(){var a=new h5;a.Fa("standalones.radialAxis");return a});n5.draw=n5.$;n5.parentBounds=n5.ja;n5.container=n5.P;$.H($.i5,$.Bz);$.i5.prototype.sa=$.Bz.prototype.sa|10485760;$.i5.prototype.Pn=function(){$.i5.u.Pn.call(this);var a=this.Ia("chartElements");a.axes={x:1,y:1};a.grids={x:0,y:0,xMinor:0,yMinor:0};for(var b=Math.max(this.Lg.length,this.Mg.length,this.Wg.length,this.Xg.length);b--;)this.Lg[b]&&a.grids.x++,this.Mg[b]&&a.grids.y++,this.Wg[b]&&a.grids.xMinor++,this.Xg[b]&&a.grids.yMinor++;this.Ia("chartElements",a)};
var o5=function(){var a={};$.gq(a,0,"startAngle",function(a){return $.ab($.N(a)||0)});$.gq(a,0,"innerRadius",function(a){return $.so(a,this.i("innerRadius"))});return a}();$.U($.i5,o5);$.g=$.i5.prototype;$.g.Rf=function(){return this.dc};$.g.Po=function(a){return(a?this.Gz():this.Hz()).zIndex+.001*$.Ga(this.Lg,this.Mg,this.Wg,this.Xg).length};
$.g.Zm=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.Lg[c];e||(e=this.ZE(),e.Hj=this,$.Yy(e,"radial"),e.zIndex(this.Po(!0)),this.Lg[c]=e,$.L(e,this.Yt,this),this.B(8388608,1));return $.n(d)?(e.K(d),this):e};$.g.$m=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.Mg[c];e||(e=this.ZE(),e.Hj=this,$.Yy(e,"circuit"),e.zIndex(this.Po(!0)),this.Mg[c]=e,$.L(e,this.Yt,this),this.B(8388608,1));return $.n(d)?(e.K(d),this):e};
$.g.xr=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=this.ZE(),e.Hj=this,$.Yy(e,"radial"),e.Fa("defaultMinorGridSettings"),e.zIndex(this.Po(!1)),this.Wg[c]=e,$.L(e,this.Yt,this),this.B(8388608,1));return $.n(d)?(e.K(d),this):e};
$.g.Ar=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.Xg[c];e||(e=this.ZE(),e.Hj=this,$.Yy(e,"circuit"),e.Fa("defaultMinorGridSettings"),e.zIndex(this.Po(!1)),this.Xg[c]=e,$.L(e,this.Yt,this),this.B(8388608,1));return $.n(d)?(e.K(d),this):e};$.g.Yt=function(){this.B(8388608,1)};$.g.Gz=function(a){this.Ip||(this.Ip=$.wm("defaultGridSettings"));return $.n(a)?(this.Ip=a,this):this.Ip||{}};
$.g.Hz=function(a){this.Jp||(this.Jp=$.wm("defaultMinorGridSettings"));return $.n(a)?(this.Jp=a,this):this.Jp||{}};$.g.lh=function(a){this.ec||(this.ec=this.x_(),$.W(this,"xAxis",this.ec),this.ec.ib(this),$.L(this.ec,this.ko,this),this.B(2097156));return $.n(a)?(this.ec.K(a),this):this.ec};$.g.ti=function(a){this.Uj||(this.Uj=new f5,$.W(this,"yAxis",this.Uj),this.Uj.ib(this),$.L(this.Uj,this.ko,this),this.B(2097156));return $.n(a)?(this.Uj.K(a),this):this.Uj};
$.g.ko=function(a){var b=0,c=0;$.X(a,1)&&(b|=2097152,c|=1);$.X(a,8)&&(b|=4);this.B(b,c)};$.g.jG=function(a){switch(a){case 0:return this.ec;case 1:return this.Uj}};$.g.Rx=function(){return this.ec};$.g.Tx=function(){return this.Uj};$.g.u4=function(a){var b=this.i("startAngle");a.dd("startAngle")!=b&&(a.pa("startAngle",b),a.B(1024))};$.g.PZ=function(){this.SR()};
$.g.ei=function(a){var b;this.ob();if(!this.ef()){$.kr(this.ec,this.Uj);var c=!1;if(this.J(2097156)){c=this.lh();c.scale()||c.scale(this.Va());c.XY();c=this.ti();c.scale()||c.scale(this.bb());var d=c;d.Da&&$.Mu(d.Da);d.oc&&$.Mu(d.oc);c=!0}d=this.i("startAngle");this.J(4)&&(a=a.clone().round(),c=this.lh(),c.startAngle(d),c.ja(a),this.dc=c.qd().round(),this.B(10518528),c=!0);a=this.i("innerRadius");if(this.J(8388608)){var e=$.Ga(this.Lg,this.Mg,this.Wg,this.Xg);var f=0;for(b=e.length;f<b;f++){var h=
e[f];h&&($.V(h),c&&h.B(64),h.ja(this.dc),h.innerRadius(a),h.P(this.La),h.startAngle(d),h.$(),h.da(!1))}this.I(8388608)}this.J(2097152)&&(c=this.lh(),c.P(this.La),c.$(),c=this.ti(),c.P(this.La),c.startAngle(d),c.innerRadius(a),c.ja(this.dc.clone()),c.$(),this.I(2097152));$.Az(this,0,0,0,0);$.mr(this.ec,this.Uj)}};
$.g.es=function(a){var b=a.clientX;a=a.clientY;var c,d=$.Wj(this.P().Ha());b-=d.x;a-=d.y;var e=Math.round(this.dc.left+this.dc.width/2),f=Math.round(this.dc.top+this.dc.height/2);if($.dn(e,f,b,a)>Math.min(this.dc.width,this.dc.height)/2)return null;d=[];var h=this.Vc();if("by-spot"==h.i("hoverMode")){var k=h.i("spotRadius");e=0;for(f=this.fb.length;e<f;e++)if(h=this.fb[e],h.enabled()){var l=[],m=window.Infinity,p=h.ue();for(c=h.Qf();c.advance();)for(var q=c.o("x"),r=0;r<p.length;r++){var t=c.o(p[r]);
var u=$.dn(q,t,b,a);if(u<=k&&(t=c.la(),l.push(t),u<m)){m=u;var v=t}}l.length&&d.push({W:h,md:l,xn:l[l.length-1],we:{index:v,Yf:m}})}}else if("by-x"==this.Vc().i("hoverMode"))for(e=Math.PI/2+Math.atan2(a-f,-(b-e))+$.bb(this.i("startAngle")),e=$.$a(e,2*Math.PI),k=1-e/(2*Math.PI),e=0,f=this.fb.length;e<f;e++)if(h=this.fb[e],c=h.Va().Fc(k),this.Bo?(c=$.Nz(h,c),t=0<=c?[c]:[]):t=$.rr(h.data(),$.N(c),$.K(h.Va(),$.Ct)),c=h.Qf(),m=window.Infinity,t.length){l=[];for(r=0;r<t.length;r++)c.select(t[r])&&(u=c.o("x"),
p=c.o("value"),u=$.dn(u,p,b,a),u<m&&(m=u,v=t[r]),l.push(t[r]));d.push({W:h,md:l,xn:l[t.length-1],we:{index:v,Yf:m}})}return d};$.g.zG=function(){return $.i5.u.zG.call(this)|10485760};$.g.F=function(){return{chart:$.i5.u.F.call(this)}};$.g.Ns=function(a,b,c){$.i5.u.Ns.call(this,a,b,c);$.zq(this,o5,a);var d=a.xAxis;this.lh().ia(!!c,d);$.D(d)&&"scale"in d&&1<d.scale&&this.lh().scale(b[d.scale]);d=a.yAxis;this.ti().ia(!!c,d);$.D(d)&&"scale"in d&&1<d.scale&&this.ti().scale(b[d.scale]);$.j5(this,a)};
$.g.Ms=function(a,b,c){$.i5.u.Ms.call(this,a,b,c);var d=[];$.Hq(this,o5,a);a.xAxis=$ma(this.lh(),b,c,d);a.yAxis=$ma(this.ti(),b,c,d);$.Pz(this,a,"xGrids",this.Lg,this.KJ,b,c,d);$.Pz(this,a,"yGrids",this.Mg,this.KJ,b,c,d);$.Pz(this,a,"xMinorGrids",this.Wg,this.KJ,b,c,d);$.Pz(this,a,"yMinorGrids",this.Xg,this.KJ,b,c,d)};
$.g.KJ=function(a,b,c,d){var e=a.F();$.Qz(e,"scale",a.Va(),b,c);$.Qz(e,"scale",a.bb(),b,c);if(a=a.axis())d=(0,$.za)(d,$.oa(a)),0>d?("layout"in e||(e.layout=$.K(a,f5)?"circuit":"radial"),"scale"in e||$.Qz(e,"scale",a.scale(),b,c)):e.axis=d;return e};$.g.R=function(){$.td(this.ec,this.Uj,this.Lg,this.Mg,this.Wg,this.Xg);this.Xg=this.Wg=this.Mg=this.Lg=this.Uj=this.ec=null;$.i5.u.R.call(this)};var p5=$.i5.prototype;p5.xScale=p5.Va;p5.yScale=p5.bb;p5.xGrid=p5.Zm;p5.yGrid=p5.$m;p5.xMinorGrid=p5.xr;
p5.yMinorGrid=p5.Ar;p5.xAxis=p5.lh;p5.yAxis=p5.ti;p5.getSeries=p5.Ue;p5.palette=p5.cc;p5.markerPalette=p5.sf;p5.hatchFillPalette=p5.oe;p5.addSeries=p5.Rk;p5.getSeriesAt=p5.Nh;p5.getSeriesCount=p5.Mj;p5.removeSeries=p5.mo;p5.removeSeriesAt=p5.Cn;p5.removeAllSeries=p5.kp;p5.getPlotBounds=p5.Rf;p5.getXScales=p5.Sx;p5.getYScales=p5.Ux;$.H($.k5,$.Wy);var cna=function(){var a={};$.hq(a,[$.Z.bz,[0,"innerRadius",function(a){return $.so(a,this.i("innerRadius"))}]]);return a}();$.U($.k5,cna);$.g=$.k5.prototype;$.g.K2=function(a){return $.xk(bna,a,"circuit")};$.g.D0=function(a){return $.K(a,f5)?"circuit":"radial"};$.g.bb=function(a){if($.n(a)){if(a=$.Xs(this.wc,a,null,15,null,this.ija,this)){var b=this.wc==a;this.wc=a;this.wc.da(b);b||this.B(68,9)}return this}return this.wc?this.wc:this.Hj?this.Hj.bb():null};
$.g.ija=function(a){var b=0;$.X(a,4)&&(b|=4);$.X(a,2)&&(b|=1);this.B(20,b|8)};$.g.Va=function(a){if($.n(a)){if(a=$.Xs(this.cb,a,null,$.Ps,null,this.fja,this)){var b=this.cb==a;this.cb=a;this.cb.da(b);b||this.B(68,9)}return this}return this.cb?this.cb:this.Hj?this.Hj.Va():null};$.g.fja=function(a){var b=0;$.X(a,4)&&(b|=4);$.X(a,2)&&(b|=1);this.B(84,b|8)};$.g.wM=function(){return"radial"==this.pe()};$.g.a_=function(){var a=this.Va(),b=this.bb();return a&&(this.wM()||b)?!0:($.cl(2),!1)};var q5=$.k5.prototype;
q5.isRadial=q5.wM;q5.yScale=q5.bb;q5.xScale=q5.Va;q5.axis=q5.axis;$.H($.l5,$.gB);$.g=$.l5.prototype;$.g.i1=function(){return this.Rg()&&!!this.f||this.Tg()};$.g.u0=function(a){var b=this.i("startAngle"),c=this.aa().o("xRatio");b=b-90+360*c;a||(b+=180);this.bb().Uf()&&(b+=180);return $.ab(b)};$.g.$Z=function(a,b){var c=a.measure(b),d=b.Vk();d=$.Co(d,180);var e=$.xo(c,d);c=e.x;e=e.y;(c-this.Cc)*(c-this.Cc)+(e-this.yc)*(e-this.yc)>this.Wb*this.Wb&&b.Vk(d)};
$.g.EF=function(a){var b=this.aa(),c=b.o(this.nh.yb),d=b.o(this.nh.yb+"X"),e=b.o(this.nh.wb);b=b.o(this.nh.wb+"X");return $.ana(a,d,c,b,e)};$.g.t_=function(a){var b=this.aa(),c=b.o(a),d=b.o(a+"X");if(!$.n(c)||!$.n(d))if(d=b.o("x"),c=b.get(a),$.n(c)){this.Tg()&&(c+=b.o("stackedZero"));var e=this.YY(d,c)}else d=c=window.NaN;e||(e={x:d,y:c});return e};
$.g.GD=function(){var a=this.ea,b=this.Aa;this.Wb=Math.min(a.width,a.height)/2;this.f=$.M(b.i("innerRadius"),this.Wb);this.Cc=Math.round(a.left+a.width/2);this.yc=Math.round(a.top+a.height/2);$.l5.u.GD.call(this)};$.g.hI=function(a,b){$.l5.u.hI.call(this,a,b);this.Fj.push(this.vfa);if($.DA(this)&&!this.f){var c=this.du(0,[0]);this.b=c[0];this.vi=c[1]}};$.g.DH=function(a,b){$.l5.u.DH.call(this,a,b,window.NaN)};
$.g.NM=function(a,b,c,d,e){this.f?(b=this.du(e,[this.GX]),a.o("zeroX",b[0]),a.o("zero",b[1])):(a.o("zeroX",this.b),a.o("zero",this.vi));a.o("zeroMissing",!1);return d};$.g.vfa=function(a,b,c,d,e){a.o("xRatio",$.$a(e,1));return d};$.g.pD=function(a,b,c){$.l5.u.pD.call(this,a,b,c);for(var d in b)a.o(d+"Ratio",b[d])};
$.g.du=function(a,b){for(var c=[],d=this.i("startAngle"),e=0;e<b.length;e++){var f=b[e],h=$.$a(d-90+360*a,360),k=$.Qm($.bb(h),4),l=0;h=Math.round(h);90==h?l=-.5:270==h&&(l=.5);f=this.f+(this.Wb-this.f)*f;c.push(this.Cc+f*Math.cos(k)+l,this.yc+f*Math.sin(k))}return c};$.g.iT=function(){return 0};$.g.y4=function(){return!0};
$.g.ig=function(a){var b=$.Y.prototype.ig.call(this,a);if(this.Rg())b.pointIndex=$.N($.mo(b.domTarget).index);else if(this.y4()){var c=a.clientX;a=a.clientY;var d=$.Wj(this.P().Ha());c=Math.PI/2+Math.atan2(a-d.y-Math.round(this.ea.top+this.ea.height/2),-(c-d.x-Math.round(this.ea.left+this.ea.width/2)))+$.bb(this.i("startAngle"));c=$.$a(c,2*Math.PI);c=1-c/(2*Math.PI);c=this.Va().Fc(c);c=$.Nz(this,c);0>c&&(c=window.NaN);b.pointIndex=c}return b};
$.g.YY=function(a,b,c){var d=this.Va(),e=this.bb();a=this.du(d.transform(a,c||0),[e.transform(b,.5)]);return{x:a[0],y:a[1]}};var dna=$.l5.prototype;dna.transformXY=dna.YY;}).call(this,$)}
if(!_.polar_part){_.polar_part=1;(function($){var M5=function(a,b,c,d,e,f,h,k,l,m,p,q,r,t){c=$.Qm(r+c*Math.PI*2,4);h=$.Qm(r+h*Math.PI*2,4);r=(h-c)/3;c=$.Qm(c+r,4);h=$.Qm(h-r,4);r=(k-d)/3;d=q+(d+r)*(p-q);p=q+(k-r)*(p-q);k=$.en(c,d,l);q=$.fn(c,d,m);l=$.en(h,p,l);m=$.fn(h,p,m);t.push((-5*a+18*k-9*l+2*e)/6,(-5*b+18*q-9*m+2*f)/6,(2*a-9*k+18*l-5*e)/6,(2*b-9*q+18*m-5*f)/6,e,f)},nna=function(a,b,c,d,e,f,h,k,l,m,p,q,r,t){t?(c<h&&(c+=1),t=-.25):(h<c&&(h+=1),t=.25);var u=Math.ceil(c/t)*t,v=Math.floor(h/t)*t;c==u&&(u+=t);h==v&&(v-=t);for(var w=(h-c)/(k-
d),x=[];0>=(u-v)*t;u+=t){var y=$.Qm(r+u*Math.PI*2,4),B=(u-c)/w+d,G=q+(p-q)*B,C=$.en(y,G,l);y=$.fn(y,G,m);x.push(0==c%1?1:0);M5(a,b,c,d,C,y,u,B,l,m,p,q,r,x);a=C;b=y;c=u;d=B}x.push(0==c%1?1:0);M5(a,b,c,d,e,f,h,k,l,m,p,q,r,x);return x},N5=function(a,b,c,d,e,f,h,k,l,m,p,q,r,t){t?(c<h&&(c+=1),t=-.25):(h<c&&(h+=1),t=.25);for(var u=(h-c)/(k-d),v=[],w=c+t;0>(w-h)*t;w+=t){var x=$.Qm(r+w*Math.PI*2,4),y=(w-c)/u+d,B=q+(p-q)*y,G=$.en(x,B,l);x=$.fn(x,B,m);M5(a,b,c,d,G,x,w,y,l,m,p,q,r,v);a=G;b=x;c=w;d=y}M5(a,b,
c,d,e,f,h,k,l,m,p,q,r,v);return v},O5=function(){function a(){this.$i()}$.V(this);$.Y.call(this);this.Fa($.hr.axis);this.Qh=[];this.lk=[];this.Ln=$.nk();this.Lc=$.nk();$.du(this,this.Ln);$.du(this,this.Lc);this.af=404;this.da(!1);$.T(this.ua,[["overlapMode",this.af,9,0,a],["fill",16,1],["stroke",this.af,9,0,a],["startAngle",this.af,9,0,a]])},pna=function(a){if(a.J(4)){a.$i();var b=a.scale(),c=a.ja()||$.gn(0,0,0,0);a.Hc=Math.max(Math.round(Math.min(c.width,c.height)/2),0);a.qc=Math.round(c.left+c.width/
2);a.rc=Math.round(c.top+c.height/2);var d=a.labels(),e=d.i("position"),f="normal"==e?1:$.Ao(e),h=a.kb(),k=d.i("position"),l="normal"==k?1:$.Ao(k);d.clear().ja(c);h.clear().ja(c);a.I(4);if(b&&a.Hc&&a.enabled()){var m=a.Qa(),p=$.K(b,$.Ct),q=d.enabled(),r=h.enabled(),t=$.Wo(a.i("stroke")),u=$.Bo(m);if($.oo(u)){var v=!0;u=(0,window.parseFloat)(u)}var w=(0,window.parseFloat)($.Bo(m,f)),x=a.tb(),y=p?0:$.Bo(x);$.oo(y)&&(y=(0,window.parseFloat)(y));var B=p?0:(0,window.parseFloat)($.Bo(x,l)),G=u||q?b.Qa().get():
[],C=p||!y&&!r?[]:b.tb().get();p||P5(0,G,b,0)||(1==P5(C.length-1,C,b,1)&&C.pop(),1==P5(G.length-1,G,b,1)&&G.pop());var I,P,Q=[],S=[],sa=[],va=t/2,Oa="none"!=a.i("fill"),vb=Oa?a.Cba:a.Bba,mc=p?a.i("overlapMode"):"no-overlap",kb=window.NaN,Qb=0;do{var Gb=!1;var ic=I=0;var ie=P5(ic,G,b,.5);for(P=P5(I,C,b,.5);!(0,window.isNaN)(ie)||!(0,window.isNaN)(P);){if((0,window.isNaN)(P)||ie<=P){var Rb=ie;var Fc=!0;var Wb=ic;var Ie=q;var dd=w;var Lc=u;var hb=G;var zc=a.Qh;var Je=d;var nh=S;var je=v}else Rb=P,Fc=
!1,Wb=I,Ie=r,dd=B,Lc=y,hb=C,zc=a.lk,Je=h,nh=sa,je=!1;var oh=p?a.Hc:a.Hc+dd;var ve=Fc?Wb:~Wb;var Yd=$.Qm($.ab(a.i("startAngle")-90+360*Rb),4);var we=$.bb(Yd);var af=$.en(we,1);var rd=$.fn(we,1);if(Ie){var ph=void 0,ld=a,Gg=Je,Kg=Wb,cm=hb,xe=Yd,ke=oh,sf=va,If=cm[Kg],zj="none"!=ld.i("fill"),dm=ld.im(Kg,If),Mc=Gg.Vd(Kg);Mc?($.V(Mc),Mc.lf(dm),Mc.state("pointState",null),Mc.state("seriesState",null)):(Mc=Gg.add(dm,null,Kg),$.V(Mc));Mc.height(null);var Ui={};if("normal"!=Mc.ic("position")){var vi=Mc.ic("padding"),
$g=Mc.ic("vAlign");0<xe&&180>xe&&("top"==Mc.ic("vAlign")?Mc.state("seriesState",{vAlign:"bottom"}):"bottom"==Mc.ic("vAlign")&&Mc.state("seriesState",{vAlign:"top"}));if(zj)Ui.adjustFontSize=!1,ph=-("middle"==$g?sf/2:"bottom"==$g?sf-vi.bottom:vi.top);else{Gg.hl(Mc);ona(ld,Mc,Kg,cm,ke,xe);var wi=Mc.ii().DG();ph=("middle"==$g?wi/2+vi.bottom:"bottom"==$g?vi.top:wi+vi.bottom)-sf}ke+=ph}else Mc.ii().path(null);Mc.uc({value:{angle:xe,radius:ke,x:$.en($.bb(xe),ke,ld.qc),y:$.fn($.bb(xe),ke,ld.rc)}});"auto"==
Mc.ic("anchor")&&(Ui.anchor=$.zo(xe-Mc.ic("rotation")));Mc.state("pointState",Ui);Mc.da(!0);var ye=Je.Vd(Wb);if("normal"==ye.ic("position")||10<Qb){var Jf=Je.hl(ye);zc[Wb]=Jf;va=Math.max(vb.call(a,Yd,af,rd,Jf),va)}else{var Aj=(new $.tu).K(ye.ic("padding"));Je.hl(ye);ona(a,ye,ic,hb);var Bj=va;if(Oa)va=Math.min(Math.max(Aj.Jj(ye.ii().DG()),va),oh/1.25);else{var Vi=Aj.tX(ye.ii().pb());va+=Math.max(c.left-Vi.left,c.top-Vi.top,Vi.$a()-c.$a(),Vi.Ua()-c.Ua(),0)}$.qd(Aj);Aj=null;var ze=va>Bj;if(ze)kb=ve;
else if(kb==ve)break;Gb=Gb||ze}Qb||Q.push(ve)}if(Lc){if(p){var em=P5(Wb,hb,b,0);var Cj=$.Qm($.ab(a.i("startAngle")-90+360*em),4);we=$.bb(Cj);var Wi=$.en(we,1);var Gd=$.fn(we,1)}else Cj=Yd,Wi=af,Gd=rd;Qb||nh.push(Cj);if(!je){var Xh=a.Hc+Lc+t/2;var Xi=Wi*Xh+a.qc,ah=Gd*Xh+a.rc;Bj=va;var Yh=vb.call(a,Cj,Wi,Gd,[Xi,ah]);va=Math.max(Yh,va);va=Math.min(va,a.Hc);(ze=va>Bj)&&(kb=window.NaN);Gb=Gb||ze}}Fc&&ie!=P||(P=P5(++I,C,b,.5));Fc&&(ie=P5(++ic,G,b,.5))}Qb++;10<Qb&&(Gb=!1)}while(Gb);a.b=a.Hc;a.Hc=Math.max(0,
Math.floor(a.Hc-va));a.f=S;a.g=sa;va=Math.min(va,a.b);var rh=ye&&"normal"!=ye.ic("position")&&Oa;if(va){var bh=va;for(ic=0;ic<Q.length;ic++){Wb=Q[ic];0>Wb?(Wb=~Wb,Je=h,zc=a.lk):(Je=d,zc=a.Qh);ye=Je.Vd(Wb);var Ke=ye.uc();Yd=Ke.value.angle;if("normal"==ye.ic("position")){Jf=zc[Wb];we=$.bb(Yd);af=$.en(we,1);rd=$.fn(we,1);if(Oa){var uk=$.Ja(Jf,0);a:{var vg=void 0,Kf=void 0,Cd=void 0,Qd=uk,md=af,wg=rd,Zh=a.qc,$h=a.rc;if(md&&wg){var Nb=md/wg,Rd=wg/md,ai=(($h+wg)*Zh-$h*(Zh+md))/md;for(Cd=0;Cd<Qd.length;Cd+=
2)Qd[Cd]=Kf=(Qd[Cd+1]+Qd[Cd]*Nb+ai)/(Nb+Rd),Qd[Cd+1]=Kf*Rd-ai}else{if(md)Kf=$h,vg=1;else{if(!wg)break a;Kf=Zh;vg=0}for(Cd=0;Cd<Qd.length;Cd+=2)Qd[Cd+vg]=Kf}}var Lf=$.jn(uk);bh=va-(va-$.dn(0,0,Lf.width,Lf.height))/2}af*=bh;rd*=bh;for(I=0;I<Jf.length;I+=2)Jf[I]-=af,Jf[I+1]-=rd;Ke.value.radius-=bh;af=$.en($.bb(Yd),Ke.value.radius,a.qc);rd=$.fn($.bb(Yd),Ke.value.radius,a.rc);Ke.value.x=af;Ke.value.y=rd;ye.uc(null);ye.uc(Ke)}else ye.height(va)}}if("no-overlap"==mc&&Q.length&&!rh){var Ae=[Q[0]],Zd=0>Q[0]?
window.NaN:0,sh=Zd,ch=(0,window.isNaN)(Zd)?null:Q5(a,Zd),xi=Q5(a,Q[0]);for(ic=1;ic<Q.length;ic++){var bi=Q[ic],dh=Q5(a,bi),Dj=!1;if(0>bi)Je=h,Wb=~bi,Dj=$.Zm(dh,xi)||$.Zm(dh,Q5(a,Ae[Ae.length-1]));else if(Je=d,Wb=bi,Dj=!(0,window.isNaN)(Zd)&&($.Zm(dh,ch)||$.Zm(dh,Q5(a,Ae[Zd]))),!Dj){for(I=Ae.length;I--;){var Yi=Ae[I];if(0>Yi&&$.Zm(dh,Q5(a,Ae[I])))h.Vd(~Yi).enabled(!1),Ae.pop();else break}for(I=0;I<sh;I++)if(Yi=Ae[I],0>Yi&&$.Zm(dh,Q5(a,Ae[I])))h.Vd(~Yi).enabled(!1);else break;0<I&&Ae.splice(0,I)}Dj?
Je.Vd(Wb).enabled(!1):(Ae.push(bi),0<=bi&&(Zd=Ae.length-1,ch||(sh=Zd,ch=dh)))}}}else a.b=a.Hc,a.f=[],a.g=[]}},Q5=function(a,b){if(0>b){b=~b;var c=a.lk;var d=a.kb()}else c=a.Qh,d=a.labels();if(c[b])d=c[b];else{var e=d.Vd(b);d=d.hl(e);if("normal"!=e.ic("position"))if(d=e.ii().pb(),e=e.ic("rotation")||0){var f=$.xo(d,"center");e=$.Jb($.bb(e),f.x,f.y);d=$.hn(d)||[];e.transform(d,0,d,0,4)}else d=$.hn(d)||[];c[b]=d}return d},ona=function(a,b,c,d,e,f){var h=a.scale();e=$.n(e)?e:b.uc().value.radius;var k=
$.n(f)?f:b.uc().value.angle,l=(new $.tu).K(b.ic("padding")),m=2*Math.PI*e/360;$.K(h,$.Ct)?(f=a.i("startAngle")-90+360*P5(c,d,h,0),c=a.i("startAngle")-90+360*P5(c,d,h,1),d=a.Qa().i("stroke"),h=Math.abs(c-f),m=(h-(l.wg(h*m)-$.bc(d))/m)/2,f+=m,c-=m):(c=360/d.length,f=k-c,c=k+c);$.qd(l);0<k&&180>k&&(k=f,f=c,c=k);l=$.bb(f);k=$.en(l,e,a.qc);l=$.fn(l,e,a.rc);(m=b.ii().path())?m.clear():(m=$.nk(),$.sd(a,m));m.moveTo(k,l).BQ(e,e,f,c-f);b.ii().path(m)},P5=function(a,b,c,d){return a<b.length?c.transform(b[a],
d):window.NaN},qna=function(a,b,c,d,e,f){var h=b.i("position"),k=$.Ao(h),l=$.bb(c);h=Math.sin(l);l=Math.cos(l);var m=0,p=0;d=0<=k?Math.floor(d/2):Math.ceil(d/2);e%2&&!(c%90)&&(p=-Math.round(l)/2,m=-Math.round(h)/2);c=a.Hc;e=k?k*d:-f/2;f=k?k*f:f;k=Math.round(a.qc+c*l+e*l)+m;a=Math.round(a.rc+c*h+e*h)+p;b.Pp(k,a,k+f*l,a+f*h)},R5=function(){O5.call(this)},S5=function(){$.k5.call(this)},T5=function(a,b){var c=a.g+(a.Hc-a.g)*b;a.j.ze(a.qc,a.rc,c,c,0,360)},U5=function(a,b,c,d){if(!(0,window.isNaN)(c)){var e=
a.g+(a.Hc-a.g)*b;var f=$.bb(0);b=Math.round(a.qc+e*Math.cos(f));f=Math.round(a.rc+e*Math.sin(f));d.moveTo(b,f);d.ze(a.qc,a.rc,e,e,0,360);e=a.g+(a.Hc-a.g)*c;f=$.bb(360);b=Math.round(a.qc+e*Math.cos(f));f=Math.round(a.rc+e*Math.sin(f));d.lineTo(b,f);d.ze(a.qc,a.rc,e,e,360,-360);d.close()}},rna=function(a,b,c,d,e,f){(0,window.isNaN)(d)&&(0,window.isNaN)(e)||(f.ze(a.qc,a.rc,a.Hc,a.Hc,b,-c),a.g?(f.lineTo(a.qc+a.g*Math.cos(b),a.rc+a.g*Math.sin(b)),f.ze(a.qc,a.rc,a.g,a.g,b-c,c)):f.lineTo(a.qc,a.rc),f.close())},
V5=function(){$.k5.call(this)},W5=function(a){$.xA.call(this,a)},sna=function(a,b,c,d){var e=b.fill,f=b.hatchFill;b.stroke.moveTo(c,d);e.moveTo(a.Cc,a.yc).lineTo(c,d);f.moveTo(a.Cc,a.yc).lineTo(c,d)},una=function(a,b,c,d,e){var f=a.Wc.Xc(a.Ac),h=f.stroke,k=f.fill,l=f.hatchFill,m=nna(a.D,a.G,a.Ja,a.Ra,b,c,d,e,a.Cc,a.yc,a.Wb,a.f,a.eb,a.ka);a.ab&&m.length&&(m[0]=0);a.ab=!1;for(var p=a.D,q=a.G,r=0;r<m.length;r+=7)m[r]&&(tna(a,f),f=a.Wc.LE(a.Ac),h=f.stroke,k=f.fill,l=f.hatchFill,sna(a,f,p,q)),h.yk(m[r+
1],m[r+2],m[r+3],m[r+4],m[r+5],m[r+6]),k.yk(m[r+1],m[r+2],m[r+3],m[r+4],m[r+5],m[r+6]),l.yk(m[r+1],m[r+2],m[r+3],m[r+4],m[r+5],m[r+6]),p=m[r+5],q=m[r+6];a.D=b;a.G=c;a.Ja=d;a.Ra=e},tna=function(a,b){var c=b.hatchFill;b.fill.lineTo(a.Cc,a.yc);c.lineTo(a.Cc,a.yc)},X5=function(a){$.xA.call(this,a)},Y5=function(a){$.xA.call(this,a)},vna=function(a,b,c,d,e){var f=a.Wc.Xc(a.Ac);f=f.stroke;var h=nna(a.D,a.G,a.Ja,a.Ra,b,c,d,e,a.Cc,a.yc,a.Wb,a.f,a.Pg,a.Ge);a.ab&&h.length&&(h[0]=0);a.ab=!1;for(var k=a.D,l=a.G,
m=0;m<h.length;m+=7)h[m]&&(f=a.Wc.LE(a.Ac),f=f.stroke,f.moveTo(k,l)),f.yk(h[m+1],h[m+2],h[m+3],h[m+4],k=h[m+5],l=h[m+6]);a.D=b;a.G=c;a.Ja=d;a.Ra=e},Z5=function(a){$.xA.call(this,a)},$5=function(a,b,c,d,e){$.gB.call(this,a,b,c,d,e);$.T(this.ua,[["closed",1024,1,4294967295]])},a6=function(){$.i5.call(this,!1);$.iq(this.ua,"spreadValues",32768,1,void 0,function(){(0,$.Qe)(this.fb,function(a){"marker"==a.Na()&&a.B(4294967295)})},this);this.Fa("polar")},wna=function(a){a.b={};var b=a.i("spreadValues");
"none"!=b&&(0,$.Qe)(a.fb,function(a){if(a.enabled()&&"marker"==a.Na())for(var c=a.vc(),e="value50"==b;c.advance();){var f=c.get("x"),h=c.get("value");h=e?a.bb().Qa().vE(h):h;var k=this.b[f]&&this.b[f][h];k||(this.b[f]||(this.b[f]={}),k=this.b[f][h]={count:0,r9:0});k.count++}},a)},xna=function(a){var b=new a6;b.ld();$.j5(b);arguments.length&&b.Rk.apply(b,arguments);return b};$.EA.prototype.LE=$.ca(25,function(a){return this.Xc(a,void 0,void 0)});
$.LA.prototype.LE=$.ca(24,function(a){a=$.IA(this,a,void 0,void 0);this.b.Ew.push(a);return a});$.ut.prototype.vE=$.ca(9,function(a){var b=this.Aj();if(b.length){var c=Math.min.apply(null,b);var d=Math.max.apply(null,b);c=$.Za(a,c,d);if(c!=a)return c;for(d=0;d<b.length-1;d++){c=b[d];var e=b[d+1];e=(e-c)/2;var f=c+e;if(a>=c-e&&a<f)return c}}return a});
$.At.prototype.vE=$.ca(8,function(a){var b=this.Aj();return b.length?(0,$.Fg)(b,function(b,d){return Math.abs(b-a)>Math.abs(d-a)?d:b},window.Infinity):a});var yna={NONE:"none",sna:"valueEqual",rna:"value50"},zna={sB:"area",Xs:"line",yu:"marker",tma:"polygon",uma:"polyline",BE:"column",yP:"range-column"};$.H(O5,$.Y);var b6={};$.hq(b6,[$.Z.uB,$.Z.az,$.Z.Jn,$.Z.bz]);$.U(O5,b6);$.g=O5.prototype;$.g.sa=$.Y.prototype.sa|400;$.g.qa=$.Y.prototype.qa;$.g.Lc=null;$.g.Ln=null;$.g.kr="axis";$.g.Da=null;
$.g.hb=null;$.g.oc=null;$.g.Nc=null;$.g.na=null;$.g.Hc=window.NaN;$.g.qc=window.NaN;$.g.rc=window.NaN;$.g.Qh=null;$.g.lk=null;$.g.XY=function(){this.Da&&$.Mu(this.Da);this.oc&&$.Mu(this.oc)};$.g.kb=function(a){this.oc||(this.oc=new $.Du,$.W(this,"minorLabels",this.oc),this.oc.ib(this),$.L(this.oc,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.oc.K(a),this):this.oc};
$.g.labels=function(a){this.Da||(this.Da=new $.Du,$.W(this,"labels",this.Da),this.Da.ib(this),$.L(this.Da,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Da.K(a),this):this.Da};$.g.Zd=function(a){var b=0,c=0;$.X(a,8)?(b=this.af,c=9):$.X(a,1)&&(b=128,c=1);this.$i();this.B(b,c)};$.g.tb=function(a){this.Nc||(this.Nc=new $.e5,$.W(this,"minorTicks",this.Nc),this.Nc.ib(this),$.L(this.Nc,this.Yh,this));return $.n(a)?(this.Nc.K(a),this):this.Nc};
$.g.Qa=function(a){this.hb||(this.hb=new $.e5,$.W(this,"ticks",this.hb),this.hb.ib(this),$.L(this.hb,this.Yh,this));return $.n(a)?(this.hb.K(a),this):this.hb};$.g.Yh=function(a){var b=0,c=0;$.X(a,8)&&(b=this.af,c=9);$.X(a,1)&&(b|=276,c|=1);this.$i();this.B(b,c)};$.g.scale=function(a){if($.n(a)){if(a=$.Xs(this.na,a,null,15,null,this.Vh,this)){var b=this.na==a;this.na=a;this.na.da(b);b||(this.$i(),this.B(this.af,9))}return this}return this.na};
$.g.Vh=function(a){$.X(a,2)&&(this.$i(),this.B(this.af,9))};$.g.ho=function(){this.B(this.af,9)};$.g.$i=function(){this.Qh.length=0;this.lk.length=0;this.Qj=null};$.g.Cba=function(a,b,c,d){for(b=a=0;b<d.length;b+=2)a=Math.max(a,$.dn(this.qc,this.rc,d[b],d[b+1])-this.Hc);return a};
$.g.Bba=function(a,b,c,d){var e=this.ja(),f=$.jn(d),h=f.left;d=f.top;var k=h+f.width;f=d+f.height;var l=0;90<a&&270>a?h<e.left&&(l=(e.left-h)/-b):(h=e.left+e.width,k>h&&(l=(k-h)/b));0<a&&180>a?(a=e.top+e.height,f>a&&(l=Math.max(l,(f-a)/c))):d<e.top&&(l=Math.max(l,(e.top-d)/-c));return l};$.g.qd=function(){var a=this.ja();return a?this.enabled()?(pna(this),a=$.bc(this.i("stroke")),a=Math.floor(a/2),new $.J(this.qc-this.Hc+a,this.rc-this.Hc+a,2*(this.Hc-a),2*(this.Hc-a))):a:new $.J(0,0,0,0)};
$.g.im=function(a,b){var c=this.scale(),d=!0;if($.K(c,$.Ct)){var e=c.Qa().names()[a];var f=b;d=!1}else $.K(c,$.$s)?(e=$.ks(b),f=b):(e=(0,window.parseFloat)(b),f=(0,window.parseFloat)(b));e={axis:{value:this,type:""},index:{value:a,type:"number"},value:{value:e,type:"number"},tickValue:{value:f,type:"number"},scale:{value:c,type:""}};d&&(e.min={value:$.n(c.min)?c.min:null,type:"number"},e.max={value:$.n(c.max)?c.max:null,type:"number"});c=new $.rw(e);c.sm({"%AxisScaleMax":"max","%AxisScaleMin":"min"});
return $.av(c)};$.g.gy=function(){return!1};$.g.Bc=function(){if(this.ef())return!1;if(!this.enabled())return this.J(1)&&(this.remove(),this.I(1),this.Qa().B(2),this.labels().B(2),this.B(386)),!1;this.I(1);return!0};
$.g.$=function(){if(!this.scale())return $.cl(2),this;if(!this.Bc())return this;pna(this);$.V(this.labels());$.V(this.kb());$.V(this.Qa());$.V(this.tb());var a=this.i("stroke");this.J(16)&&(this.Lc.stroke(a),this.Lc.fill("none"),this.Lc.clear(),this.Lc.moveTo(this.qc+this.Hc,this.rc),this.Lc.ze(this.qc,this.rc,this.Hc,this.Hc,0,360),this.Ln.stroke("none"),this.Ln.fill(this.i("fill")),this.Ln.clear(),this.Ln.moveTo(this.qc+this.Hc,this.rc),this.Ln.ze(this.qc,this.rc,this.Hc,this.Hc,0,360),this.Ln.moveTo(this.qc+
this.b,this.rc),this.Ln.ze(this.qc,this.rc,this.b,this.b,0,-360),this.I(16));if(this.J(8)){var b=this.zIndex();this.Ln.zIndex(b);this.Lc.zIndex(b);this.Qa().zIndex(b);this.tb().zIndex(b);this.labels().zIndex(b);this.kb().zIndex(b);this.I(8)}b=this.P();this.J(2)&&(this.Ln.parent(b),this.Lc.parent(b),this.Qa().P(b),this.labels().P(b),this.tb().P(b),this.kb().P(b),this.I(2));if(this.J(256)){b=$.K(this.scale(),$.Ct);a=$.bc(a);var c=this.Qa();c.$();var d=$.bc(c.i("stroke")),e=c.i("length");$.oo(e)&&(e=
b?$.M(e,this.b-this.Hc):(0,window.parseFloat)(e));for(b=0;b<this.f.length;b++)qna(this,c,this.f[b],a,d,e);c=this.tb();c.$();d=$.bc(c.i("stroke"));e=c.i("length");$.oo(e)&&(e=(0,window.parseFloat)(e));for(b=0;b<this.g.length;b++)qna(this,c,this.g[b],a,d,e);this.I(256)}this.J(128)&&(this.labels().$(),this.kb().$(),this.I(128));this.labels().da(!1);this.Qa().da(!1);this.kb().da(!1);this.tb().da(!1);return this};
$.g.remove=function(){this.Lc&&this.Lc.parent(null);this.Ln&&this.Ln.parent(null);this.Qa().remove();this.tb().remove();this.Da&&this.Da.remove();this.oc&&this.oc.remove()};$.g.F=function(){var a=O5.u.F.call(this);$.Hq(this,b6,a);a.labels=this.labels().F();a.minorLabels=this.kb().F();a.ticks=this.Qa().F();a.minorTicks=this.tb().F();return a};$.g.X=function(a,b){O5.u.X.call(this,a,b);$.zq(this,b6,a,b);this.labels().ia(!!b,a.labels);this.kb().ia(!!b,a.minorLabels);this.Qa(a.ticks);this.tb(a.minorTicks)};
$.g.R=function(){$.td(this.oc,this.Da,this.Nc,this.hb,this.Lc,this.Ln);delete this.na;this.Qh=this.Lc=this.Ln=this.hb=this.Nc=this.Da=this.oc=null;O5.u.R.call(this)};$.H(R5,O5);$.ju(R5,O5);var c6=O5.prototype;c6.labels=c6.labels;c6.minorLabels=c6.kb;c6.ticks=c6.Qa;c6.minorTicks=c6.tb;c6.scale=c6.scale;c6.getRemainingBounds=c6.qd;c6=R5.prototype;$.F("anychart.standalones.axes.polar",function(){var a=new R5;a.Fa("standalones.polarAxis");return a});c6.draw=c6.$;c6.parentBounds=c6.ja;c6.container=c6.P;$.H(S5,$.k5);
S5.prototype.uj=function(){var a=this.Va(),b=this.bb();this.sz();this.Gh().clear();var c=this.ja();this.Hc=Math.min(c.width,c.height)/2;this.g=$.M(this.i("innerRadius"),this.Hc);this.g==this.Hc&&this.g--;this.qc=Math.round(c.left+c.width/2);this.rc=Math.round(c.top+c.height/2);this.Gh().clip(c);var d=this.i("startAngle")-90;if(this.wM()){var e=$.K(a,$.Ct);c=this.i("isMinor")&&!e?a.tb():a.Qa();c=c.get();var f=c.length;e||0!=a.transform(a.Qa().get()[0])||1!=a.transform(c[f-1])||f--;b=360/f;var h=window.NaN,
k=window.NaN;var l=this.i("stroke");e=l.thickness?l.thickness:1;var m;for(l=0;l<f;l++){var p=a.transform(c[l]);var q=$.ab(d+360*p);p=$.bb(q);var r=m=0;q?90==q?m=0==e%2?0:-.5:180==q?r=0==e%2?0:.5:270==q&&(m=0==e%2?0:.5):r=0==e%2?0:-.5;var t=Math.round(this.qc+this.Hc*Math.cos(p));var u=Math.round(this.rc+this.Hc*Math.sin(p));if(this.g){var v=Math.round(this.qc+this.g*Math.cos(p));var w=Math.round(this.rc+this.g*Math.sin(p))}else v=this.qc,w=this.rc;l&&(p=$.$y(this,l-1),rna(this,q,b,h,k,p));if(l||this.i("drawLastLine"))p=
v,h=w,k=m,this.j.moveTo(t+k,u+r),this.j.lineTo(p+k,h+r);h=t;k=u}p=$.$y(this,l-1);q=$.ab(d);rna(this,q,b,h,k,p)}else for(c=(e=$.K(b,$.Ct))?b.Qa():this.i("isMinor")?b.tb():b.Qa(),c=c.get(),f=c.length,a=window.NaN,l=0;l<f;l++)t=c[l],$.A(t)?(d=t[0],t=t[1]):d=t,d=b.transform(d),0!=l&&(p=$.$y(this,l-1)),l==f-1?e?(U5(this,d,a,p),p=$.$y(this,l),U5(this,b.transform(t,1),d,p),T5(this,d),this.i("drawLastLine")&&T5(this,b.transform(t,1))):(U5(this,d,a,p),this.i("drawLastLine")&&T5(this,d)):(U5(this,d,a,p),(l||
this.g)&&T5(this,d)),a=d};$.H(V5,S5);$.ju(V5,S5);var d6=V5.prototype;$.F("anychart.standalones.grids.polar",function(){var a=new V5;a.Fa("standalones.polarGrid");return a});d6.layout=d6.pe;d6.draw=d6.$;d6.parentBounds=d6.ja;d6.container=d6.P;$.H(W5,$.xA);$.sG[26]=W5;$.g=W5.prototype;$.g.type=26;$.g.flags=209;$.g.vh={fill:"path",hatchFill:"path",stroke:"path"};$.g.rd=function(a){W5.u.rd.call(this,a);a=this.W;this.Cc=a.Cc;this.yc=a.yc;this.Wb=a.Wb;this.f=a.f;this.eb=$.bb($.$a(a.i("startAngle")-90,360));this.ka=a.BA();this.U=!!a.i("closed");this.g=!1;this.Ob=this.nb=this.O=this.b=window.NaN};$.g.Jz=function(a,b){(0,window.isNaN)(this.b)&&(this.g=!0);W5.u.Jz.call(this,a,b)};
$.g.zo=function(a){var b=this.Wc.Xc(this.Ac),c=a.o("x"),d=a.o("value"),e=a.o("xRatio");a=a.o("valueRatio");sna(this,b,c,d);(0,window.isNaN)(this.b)&&(this.b=c,this.O=d,this.nb=e,this.Ob=a);this.D=c;this.G=d;this.Ja=e;this.Ra=a;this.ab=!0};$.g.fg=function(a){var b=a.o("x"),c=a.o("value"),d=a.o("xRatio");a=a.o("valueRatio");una(this,b,c,d,a)};$.g.vm=function(){this.N&&tna(this,this.Wc.Xc(this.Ac))};
$.g.zl=function(){this.U&&!(0,window.isNaN)(this.b)&&(this.ya||this.N&&!this.g)&&una(this,this.b,this.O,this.nb,this.Ob);W5.u.zl.call(this)};$.H(X5,$.RB);$.sG[27]=X5;X5.prototype.type=27;X5.prototype.rd=function(a){X5.u.rd.call(this,a);a=this.W;this.Cc=a.Cc;this.yc=a.yc;this.Wb=a.Wb;this.f=a.f;this.g=$.bb($.$a(a.i("startAngle")-90,360));this.b=this.j/720};
X5.prototype.VE=function(a,b,c){var d=a.o("zeroRatio"),e=a.o("xRatio");a=a.o("valueRatio");var f=e-this.b;e+=this.b;var h=this.W.du(f,[d,a]),k=this.W.du(e,[d,a]);b.moveTo(h[2],h[3]);b.yk.apply(b,N5(h[2],h[3],f,a,k[2],k[3],e,a,this.Cc,this.yc,this.Wb,this.f,this.g,!1));b.lineTo(k[0],k[1]);b.yk.apply(b,N5(k[0],k[1],e,d,h[0],h[1],f,d,this.Cc,this.yc,this.Wb,this.f,this.g,!0));b.close();c.fe($.yg(b))};$.H(Y5,$.UB);$.sG[25]=Y5;$.g=Y5.prototype;$.g.type=25;$.g.rd=function(a){Y5.u.rd.call(this,a);a=this.W;this.Cc=a.Cc;this.yc=a.yc;this.Wb=a.Wb;this.f=a.f;this.Pg=$.bb($.$a(a.i("startAngle")-90,360));this.Ge=this.W.BA()};$.g.zo=function(a){var b=this.Wc.Xc(this.Ac),c=a.o("x"),d=a.o("value"),e=a.o("xRatio");a=a.o("valueRatio");b.stroke.moveTo(c,d);(0,window.isNaN)(this.g)&&(this.g=c,this.eb=d,this.nb=e,this.Ob=a);this.D=c;this.G=d;this.Ja=e;this.Ra=a;this.ab=!0};
$.g.fg=function(a){var b=a.o("x"),c=a.o("value"),d=a.o("xRatio");a=a.o("valueRatio");vna(this,b,c,d,a)};$.g.xY=function(){this.Bd&&!(0,window.isNaN)(this.g)&&(this.ya||this.N&&!this.hc)&&vna(this,this.g,this.eb,this.nb,this.Ob)};$.H(Z5,$.ZB);$.sG[28]=Z5;Z5.prototype.type=28;Z5.prototype.rd=function(a){Z5.u.rd.call(this,a);a=this.W;this.Cc=a.Cc;this.yc=a.yc;this.Wb=a.Wb;this.f=a.f;this.g=$.bb($.$a(a.i("startAngle")-90,360));this.b=this.j/720};
Z5.prototype.fg=function(a,b){var c=this.W.ue(),d=a.get(c[1]);c=a.get(c[0]);d=this.ah(d,c);c={};c[d.path]=!0;c[d.he]=!0;a.o("name",d.path);c=this.Wc.Xc(b,c);var e=a.o("lowRatio"),f=a.o("xRatio"),h=a.o("highRatio"),k=f-this.b;f+=this.b;var l=this.W.du(k,[e,h]),m=this.W.du(f,[e,h]),p=c[d.path];p.moveTo(l[2],l[3]);p.yk.apply(p,N5(l[2],l[3],k,h,m[2],m[3],f,h,this.Cc,this.yc,this.Wb,this.f,this.g,!1));p.lineTo(m[0],m[1]);p.yk.apply(p,N5(m[0],m[1],f,e,l[0],l[1],k,e,this.Cc,this.yc,this.Wb,this.f,this.g,
!0));p.close();c[d.he].fe($.yg(p))};$.H($5,$.l5);var e6={};$.gq(e6,0,"closed",$.uq);$.U($5,e6);$.g=$5.prototype;$.g.Zr=function(a){var b;$.n(a)&&$.K(this.Va(),$.Ct)?b=$.Et(this.Va())[a]:b=this.Va().LL();return 360*(b||this.Va().HG()/this.aa().Gb())};$.g.I3=function(a){if("center"==a)return"center";var b=this.i("startAngle"),c=this.aa().o("xRatio");b=b-90+360*c;this.Yo()&&($.Fo(a)?b-=this.mr/2:$.Go(a)&&(b+=this.mr/2));b=$.zo(b);c=(0,$.za)($.yo,b);0<=c&&(a=(0,$.za)($.yo,a),0<=a&&(b=$.yo[(c+a)%8]));return b};
$.g.EF=function(a){var b=this.aa();if(this.Yo()&&"auto"!=a&&"center-top"!=a&&"center"!=a&&"center-bottom"!=a){var c=this.mr/720;var d=b.o("xRatio");var e=b.o(this.nh.yb+"Ratio");b=b.o(this.nh.wb+"Ratio");d=$.Fo(a)?d-c:d+c;e=this.du(d,[e,b]);d=e[0];c=e[1];b=e[2];e=e[3]}else c=b.o(this.nh.yb),d=b.o(this.nh.yb+"X"),e=b.o(this.nh.wb),b=b.o(this.nh.wb+"X");return $.ana(a,d,c,b,e)};$.g.y4=function(){return this.Aa.lO()};$.g.iT=function(){return this.i("xPointPosition")};
$.g.NM=function(a,b,c,d,e){a.o("zeroRatio",this.GX);return $5.u.NM.call(this,a,b,c,d,e)};$.g.F=function(){var a=$5.u.F.call(this);$.Hq(this,e6,a);return a};$.g.X=function(a,b){$.zq(this,e6,a);$5.u.X.call(this,a,b)};
$.g.pD=function(a,b,c){if("ordinal"==this.Va().Na()){var d=a.get("x"),e=a.get("value");var f=this.Aa;var h=e,k=this.Na(),l=this.Va(),m=this.bb();l=l.Na();var p=f.i("spreadValues");"none"==p||"marker"!=k||"ordinal"!=l?f=1:(h="value50"===p?m.Qa().vE(h):h,f=f.b[d]&&++f.b[d][h].r9);h=this.Aa;k=this.Na();l=this.Va();m=this.bb();l=l.Na();p=h.i("spreadValues");"none"==p||"marker"!=k||"ordinal"!=l?e=1:(e="value50"===p?m.Qa().vE(e):e,e=h.b[d]&&h.b[d][e].count);d=f;f=e;e=this.Va().values().length;e=c-1/(2*
e);c=e+1/(f+1)*(c-e)*2*d}$5.u.pD.call(this,a,b,c);a.o("xRatio",c)};$.H(a6,$.i5);var Ana={};$.gq(Ana,0,"spreadValues",function(a,b){return $.xk(yna,a,b||"none")});$.U(a6,Ana);var f6={},g6=$.tG|5767168;f6.area={Ab:26,Fb:1,Jb:[$.QG,$.RG,$.TG],Ib:null,Cb:null,zb:g6,yb:"value",wb:"zero"};f6.column={Ab:27,Fb:2,Jb:[$.tH,$.TG],Ib:null,Cb:null,zb:g6,yb:"value",wb:"zero"};f6.line={Ab:25,Fb:1,Jb:[$.RG],Ib:null,Cb:null,zb:g6,yb:"value",wb:"value"};f6.polygon={Ab:1,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG,$.QG,$.kH,$.fH,$.YG,$.TG,$.lH,$.gH,$.mH],Ib:null,Cb:null,zb:g6,yb:"value",wb:"zero"};
f6.polyline={Ab:8,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG],Ib:null,Cb:null,zb:g6,yb:"value",wb:"value"};f6["range-column"]={Ab:28,Fb:2,Jb:[$.tH,$.TG,$.pH,$.qH,$.VG,$.UG],Ib:null,Cb:null,zb:g6,yb:"high",wb:"low"};f6.marker={Ab:9,Fb:2,Jb:[$.tH,$.TG,$.aH,$.mH,$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:$.tG|1572864,yb:"value",wb:"value"};a6.prototype.Oi=f6;$.yz(a6,a6.prototype.Oi);$.g=a6.prototype;$.g.lO=function(a){return $.n(a)?(a=!!a,this.Bo!=a&&(this.Bo=a,this.B(327680),$.Cz(this,this.Va())),this):this.Bo};
$.g.Na=function(){return"polar"};$.g.zs=function(a){return $.xk(zna,a,"line")};$.g.ZE=function(){return new S5};$.g.x_=function(){return new O5};$.g.Cu=function(){return!1};$.g.jT=function(){return"linear"};$.g.kt=function(a,b){return new $5(this,this,a,b,!1)};$.g.ob=function(){a6.u.ob.call(this);wna(this)};$.g.Ns=function(a,b,c){a6.u.Ns.call(this,a,b,c);this.lO(a.sortPointsByX)};$.g.Ms=function(a,b,c){a6.u.Ms.call(this,a,b,c);a.sortPointsByX=this.lO()};var h6=a6.prototype;h6.getType=h6.Na;
h6.sortPointsByX=h6.lO;$.Jp.polar=xna;$.F("anychart.polar",xna);}).call(this,$)}
if(!_.theme_polar){_.theme_polar=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{polar:{defaultSeriesType:"marker",defaultSeriesSettings:{base:{closed:!0,clip:!1},area:{},line:{},marker:{},column:{},rangeColumn:{}},xAxis:{scale:0,zIndex:25,fill:"none",labels:{position:"outside",vAlign:"middle",hAlign:"middle",anchor:"auto",zIndex:25},minorLabels:{anchor:"auto",zIndex:25},ticks:{zIndex:25},minorTicks:{zIndex:25}},yAxis:{scale:1},startAngle:0,spreadValues:"none",innerRadius:0,sortPointsByX:!1,xGrids:[{}],yGrids:[{}],minorGrids:[],scales:[{type:"linear"},
{type:"linear"}],xScale:0,yScale:1,barsPadding:0,barGroupsPadding:0,a11y:{titleFormat:$.iN}}});}).call(this,$)}
if(!_.pyramid_funnel){_.pyramid_funnel=1;(function($){var OY=function(a,b,c){$.pz.call(this,null,[],[],b,c);this.Aa=a},QY=function(a,b,c){$.pz.call(this,null,[],[],b,c);this.Aa=a;this.G=!PY(this.Aa);this.g=this.Aa.i("connectorStroke")},RY=function(a,b,c){$.ox.call(this);$.V(this);this.je=a;this.Fa("pieFunnelPyramidBase",a);this.Yc=null;this.D=[];this.Be=null;this.ga=1;this.j=this.Ea=null;this.state=new $.Vw(this);this.data(b||null,c);a={};$.T(a,[["fill",528,1],["stroke",528,1],["hatchFill",528,1],["labels",0,0],["markers",0,0]]);this.ca=new $.Yx(this,
a,$.Zl);this.ca.pa("labelsAfterInitCallback",function(a){$.L(a,this.Zd,this);a.ib(this);this.B(4096,1)});this.ca.pa("markersAfterInitCallback",$.ey);a={};$.T(a,[["fill",16,1],["stroke",16,1],["hatchFill",0,0],["labels",0,0],["markers",0,0]]);this.xa=new $.Yx(this,a,$.po);this.xa.pa("labelsFactoryConstructor",$.$x);this.Ca=new $.Yx(this,a,$.qo);this.Ca.pa("labelsFactoryConstructor",$.$x);$.T(this.ua,[["baseWidth",16,1],["neckHeight",16,1],["neckWidth",16,1],["pointsPadding",16,1],["reversed",16,1],
["overlapMode",4096,1],["connectorLength",4100,9],["connectorStroke",16,1]]);this.da(!1)},SY=function(a,b){var c=a.aa().o("point");if($.n(c)){var d=$.Vl("fill",1,!0)(a,b,!1,!0);c.fill(d);d=$.Vl("stroke",2,!0)(a,b,!1,!0);c.stroke(d)}},TY=function(a,b){var c=a.aa().o("hatchPoint");if(null!=c){var d=$.Vl("hatchFill",3,!0)(a,b,!1);c.stroke(null).fill(d)}},UY=function(a,b){var c=a.G,d=a.f.height,e=a.ab,f=a.ya;return b>d-f||d==f?e:e+(d-f-b)/(d-f)*(c-e)},VY=function(a){a=$.N(a);return 0>=a||!(0,window.isFinite)(a)},
Tga=function(a){var b=a.aa(),c=b.la(),d=a.f,e;var f=b.o("height")/2;var h=b.o("startY");var k=b.o("height")+h;var l=null;if(e=a.Ja)c?c==b.Gb()-1?(h+=e/2,h>k&&(h=k-a.ga)):(h+=e/2,k-=e/2,h>k&&(h=b.o("startY")+f,k=h+a.ga)):(k-=e/2,k<h&&(k=a.ga));var m=UY(a,h);c=a.b-m/2;f=c+m;m=UY(a,k);e=a.b-m/2;m=e+m;h+=d.top;k+=d.top;c=d.left+c;f=d.left+f;0<a.ya&&h<a.Ga&&k>a.Ga&&(l=k,k=a.Ga,m=UY(a,k),e=a.b-m/2,m=e+m);e=d.left+e;m=d.left+m;a.i("reversed")||(h=d.height-(h-d.top)+d.top,k=d.height-(k-d.top)+d.top,l=l?d.height-
(l-d.top)+d.top:null,h=[k,k=h][0],c=[e,e=c][0],f=[m,m=f][0]);b.o("x1",c);b.o("x2",f);b.o("x3",e);b.o("x4",m);b.o("y1",h);b.o("y2",k);b.o("y3",l)},Uga=function(a,b,c,d){var e=a.labels();$.V(e);e.fontOpacity(b);e.$();e.da(!1);if(d&&a.O)for(b=0;b<a.O.length;b++)if(d=a.O[b])e=a.i("connectorStroke"),e=$.Ml(e,c),d.stroke(e)},Vga=function(a){var b=a.aa(),c=b.la(),d=$.KB(a.xf),e=$.KB(a.g);b.o("point",d);b.o("hatchPoint",e);Tga(a);var f=b.o("x1"),h=b.o("x2"),k=b.o("x3"),l=b.o("x4"),m=b.o("y1"),p=b.o("y2"),
q=b.o("y3");d.moveTo(f,m).lineTo(h,m);q?d.lineTo(l,p).lineTo(l,q).lineTo(k,q).lineTo(k,p):d.lineTo(l,p).lineTo(k,p);d.close();b.o("point",d);d.tag={index:c,W:a};b=$.$w(a.state,b.la());SY(a,b);e&&(e.fe(d.F()),e.tag={index:c,W:a},TY(a,b))},ZY=function(a,b,c){var d=WY(a),e=a.aa(),f=a.f,h=$.n(c)?!!(c&$.qo):null,k=$.n(c)?!h&&!!(c&$.po):null,l=e.get("normal");l=$.n(l)?l.label:void 0;var m=e.get("hovered");m=$.n(m)?m.label:void 0;var p=e.get("selected");p=$.n(p)?p.label:void 0;l=$.Ro(l,e.get("label"));m=
k?$.Ro(m,e.get("hoverLabel")):null;h=(p=h?$.Ro(p,e.get("selectLabel")):null)||m||l||{};l=$.N(e.o("x1"));p=$.N(e.o("x2"));m=$.N(e.o("y1"));k=$.N(e.o("y2"));var q=$.N(e.o("y3"));e=p-l;k=q?q-m:k-m;m+=k/2;p=$.N(h.offsetY)||0;b?c=XY(a,b,c):(c=a.labels().hl(a.Ec(),null,h),c=$.jn(c));h=b&&b.i("anchor")||a.labels().i("anchor");b&&(m=b.uc().value.y);b=m+p;c.height>k&&("left-center"==h||"center"==h||"right-center"==h)&&(m+c.height/2>f.top+f.height&&(m=f.top+f.height-c.height/2),m-c.height/2<f.top&&(m=f.top+
c.height/2));b=YY(a,b);switch(d){case "inside":l+=e/2;break;case "outside-left":l=a.b-b/2;l=f.left+l-a.ba-c.width/2;break;case "outside-left-in-column":l=f.left+c.width/2;break;case "outside-right":l=a.b+b/2;l=f.left+l+a.ba+c.width/2;break;case "outside-right-in-column":l=f.left+f.width-c.width/2}if("left-top"==h||"center-top"==h||"right-top"==h)m-=.5;else if("left-bottom"==h||"center-bottom"==h||"right-bottom"==h)m+=.5;return{value:{x:l,y:m}}},XY=function(a,b,c){var d=!!(c&$.qo),e=!d&&!!(c&$.po);
c=a.data().get(b.la(),"label");e=e?a.data().get(b.la(),"hoverLabel"):null;d=(d?a.data().get(b.la(),"selectLabel"):null)||e||c||{};a.data().o(b.la(),"labelWidthForced")&&(d=$.Qc(d),d.width=b.width());a.aa().select(b.la());b.lf(a.Ec());a=a.labels().hl(b.lf(),b.uc(),d);return $.jn(a)},$Y=function(a,b){if("no-overlap"==a.i("overlapMode")&&!PY(a)&&a.labels().enabled()){Wga(a);a.Ra=0;var c=a.state.Nj()|(b?$.$w(a.state,b.la()):0);Xga(a,c,b)}},Xga=function(a,b,c){if(10!=a.Ra){for(var d=a.aa().Gb(),e=!1,f,
h,k,l,m=a.i("reversed"),p=0;p<d-1;p++)if(f=m?p:d-1-p,(f=a.labels().Vd(f))&&0!=f.enabled()&&(h=XY(a,f,b),k=m?Yga(a,f):Zga(a,f))){l=XY(a,k,b);var q=aZ(a,f),r=aZ(a,k);q&&r&&q==r||!(l.top<=h.top+h.height)||(e=!0,q&&r?$ga(a,q,r):!q&&r?aha(a,k,f):aha(a,f,k))}e&&((0,$.Qe)(a.D,function(a){if(2>a.labels.length){var b=a.Aa;b.D.length&&(a.clear(),$.Fa(b.D,a))}else{for(var d,e,f=0,h=0,k=b=0,l=a.labels.length;k<l;k++)d=a.labels[k],e=a.Aa.state.Nj()|$.$w(a.Aa.state,d.la()),e=a.hd(d,e),d=a.Aa.data().o(d.la(),"point"),
d=d.pb(),k||(f=d.top),b+=e.height,h+=d.height;h+=a.Aa.Ja*(l-1);f=f+h/2-b/2;h=a.Aa.f;f+b>h.top+h.height&&(f=h.top+h.height-b);f<h.top&&(f=h.top);a.y=f;bha(a,c)}}),a.Ra++,Xga(a,b,c))}},Yga=function(a,b){if(!b)return null;var c=a.aa().Gb();if(b.la()==c-1)return null;for(var d,e=b.la()+1;e<=c-1;e++)if((d=a.labels().Vd(e))&&!1!==d.enabled())return d;return null},Zga=function(a,b){if(!b||0==b.la())return null;for(var c,d=b.la()-1;0<=d;d--)if((c=a.labels().Vd(d))&&!1!==c.enabled())return c;return null},
aha=function(a,b,c){var d=aZ(a,b);null===d?(d=new bZ(a),d.zB(b),d.zB(c),a.D.push(d)):d.zB(c)},aZ=function(a,b){return a.D.length?$.ya(a.D,function(a){return-1!==(0,$.za)(a.labels,b)}):null},$ga=function(a,b,c){var d=b.labels[0].la(),e=c.labels[0].la();b.labels=a.i("reversed")==d<e?$.Ga(b.labels,c.labels):$.Ga(c.labels,b.labels);$.Fa(a.D,c)},Wga=function(a){a.D.length&&((0,$.Qe)(a.D,function(a){a.clear()}),a.D.length=0)},PY=function(a){return"inside"==WY(a)},cha=function(a){a=WY(a);return"outside-right-in-column"==
a||"outside-left-in-column"==a},dha=function(a){a=WY(a);return"outside-left"==a||"outside-left-in-column"==a},eha=function(a){a=WY(a);return"outside-right"==a||"outside-right-in-column"==a},fha=function(a){if(a.labels().enabled()&&!PY(a)){Tga(a);var b=a.aa();b.o("labelWidthForced",void 0);var c=a.f,d=b.get("label"),e=ZY(a),f=a.Ec();f=a.labels().hl(f,e,d);f=$.jn(f);d=f.left;e=f.left+f.width;f=a.i("reversed")?UY(a,f.top-c.top):UY(a,c.height-(f.top+f.height)+c.top);if(dha(a)){var h=a.b-f/2;h=c.left+
h;var k=a.G/2;k=c.width-a.b-k;cha(a)?e+5>h&&(h=e+5-h,h>k?(a.b+=k,h=a.b-f/2,h=c.left+h,b.o("labelWidthForced",h-5-d)):a.b+=h):d<c.left&&(h=Math.abs(c.left-d),h>k?(a.b+=k,h=a.b-f/2,a=h-a.ba,10>a&&(a=10),b.o("labelWidthForced",a)):a.b+=h)}else if(eha(a))if(h=a.b+f/2,h+=c.left,k=a.G/2,k=c.width-(c.width-a.b)-k,cha(a)){if(0>d||d-5<h)h=Math.abs(h-d+5),0>d||h>k?(a.b=a.b-k,h=a.b+f/2,h+=c.left,b.o("labelWidthForced",e-5-h)):a.b=a.b-h}else e>c.left+c.width&&(h=e-(c.left+c.width),h>k?(a.b=a.b-k,a=c.left+c.width-
d+k,10>a&&(a=10),b.o("labelWidthForced",a)):a.b=a.b-h)}},WY=function(a){a=a.labels().i("position");return $.xk(gha,"outside"==a?"outside-left":a,"outside-left-in-column")},hha=function(a,b,c,d){var e=a.f,f=b.la();f=a.data().o(f,"point").pb();b=XY(a,b,d);d=b.left;var h=b.top+b.height/2;f=f.top+f.height/2;var k=YY(a,f);if(dha(a)){d+=b.width;var l=a.b-k/2;l+=e.left;d>l&&5>Math.abs(f-h)&&(d=l-5)}else eha(a)&&(l=a.b+k/2,l+=e.left,d<l&&5>Math.abs(f-h)&&(d=l+5));c.clear().moveTo(d,h).lineTo(l,f+.001)},iha=
function(a,b,c){var d=b.la();if(a.O[d])hha(a,b,a.O[d],c);else{var e=$.KB(a.U);a.O[d]=e;e.stroke(a.i("connectorStroke"));hha(a,b,e,c)}},jha=function(a,b){b=$.Bk(b);var c=a.f,d=a.aa(),e=d.o("point").pb(),f=d.o("x1"),h=d.o("y1");switch(b){case "left-top":h=d.o("y1");f=d.o("x1");break;case "left-center":h+=e.height/2;d=YY(a,h);f=a.b-d/2;f+=c.left;break;case "left-bottom":h+=e.height;f=d.o("x3");break;case "center-top":f=a.b;f+=c.left;break;case "center":h+=e.height/2;YY(a,h);f=a.b;f+=c.left;break;case "center-bottom":h+=
e.height;YY(a,h);f=a.b;f+=c.left;break;case "right-top":d=YY(a,h);f+=d;break;case "right-center":h+=e.height/2;d=YY(a,h);f=a.b+d/2;f+=c.left;break;case "right-bottom":f=d.o("x4"),h+=e.height}return{value:{x:f,y:h}}},YY=function(a,b){var c=a.f;return a.i("reversed")?UY(a,b-c.top):UY(a,c.height-b+c.top)},kha=function(a){var b=a.Xa();a.ac("mousemove",a.JJ);b.Oc()},bZ=function(a){this.Aa=a;this.labels=[]},bha=function(a,b){var c=0,d=0,e=null,f=null,h=null,k=a.Aa.state.Nj()|(b?$.$w(a.Aa.state,b.la()):
0);(0,$.Qe)(a.labels,function(b){var l=b.uc().value,p=a.hd(b,k),q=a.y+c+d+p.height/2;if(e&&f&&h){var r=h.y+f.height/2+(e.i("offsetY")||0),t=q-p.height/2+(b.i("offsetY")||0);t<r&&(q+=r-t)}b.uc({value:{x:l.x,y:q}});b.$();iha(a.Aa,b,k);c+=p.height;d+=b.i("offsetY")||0;e=b;f=p;h={x:l.x,y:q}})},lha=function(a,b){var c=new RY("funnel",a,b);c.ld();return c},mha=function(a,b){var c=new RY("pyramid",a,b);c.ld();return c},gha={rP:"inside",Rla:"outside-left",Sla:"outside-left-in-column",Tla:"outside-right",
Ula:"outside-right-in-column"};$.H(OY,$.pz);$.g=OY.prototype;$.g.update=function(){this.b.length=this.f.length=0;for(var a=this.Aa.Qf();a.advance();)if(!a.o("missing")){var b=a.o("x1"),c=a.o("x2"),d=a.o("x3"),e=a.o("x4"),f=a.o("y1"),h=a.o("y2"),k=a.o("y3");a.o("neck",!!k);this.b.push(b,c,d,e,0,0,0);this.f.push(b,c,d,e,f,h,k?k:0)}};$.g.jw=function(){Uga(this.Aa,1E-5,1E-5,!PY(this.Aa))};
$.g.Qm=function(){for(var a=this.Aa.Qf(),b=0;a.advance();)if(!a.o("missing")){a.o("x1",this.coords[b++]);a.o("x2",this.coords[b++]);a.o("x3",this.coords[b++]);a.o("x4",this.coords[b++]);a.o("y1",this.coords[b++]);a.o("y2",this.coords[b++]);a.o("y3",this.coords[b++]);var c=this.Aa,d=a,e=d.o("point");e.clear();var f=d.o("x1"),h=d.o("x2"),k=d.o("x3"),l=d.o("x4"),m=d.o("y1"),p=d.o("y2"),q=d.o("y3");e.moveTo(f,m).lineTo(h,m);d.o("neck")?e.lineTo(l,p).lineTo(l,q).lineTo(k,q).lineTo(k,p):e.lineTo(l,p).lineTo(k,
p);e.close();if(f=d.o("hatchPoint"))c.aa().select(d.la()),f.clear(),f.fe(e.F()),d=$.$w(c.state,d.la()),e=$.Vl("hatchFill",3,!0),f.stroke(null).fill(e(c,d,!1))}};$.g.Nl=function(){this.Qm()};$.g.R=function(){OY.u.R.call(this);this.Aa=null};$.H(QY,$.pz);QY.prototype.update=function(){this.b.length=this.f.length=0;this.b.push(1E-5,1E-5);this.f.push(1,this.g.opacity||1)};QY.prototype.Qm=function(){Uga(this.Aa,this.coords[0],this.coords[1],this.G)};QY.prototype.Nl=function(){this.Qm()};QY.prototype.R=function(){QY.u.R.call(this);this.g=this.Aa=null;delete this.G};$.H(RY,$.ox);$.xq(RY,["fill","stroke","hatchFill"],"normal");$.g=RY.prototype;$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};$.g.qa=$.ox.prototype.qa|16;$.g.sa=$.ox.prototype.sa|28688;$.g.Te=function(){return[this]};$.g.Rg=function(){return!0};$.g.hk=function(){return!1};$.g.Ii=function(){return!0};
$.g.data=function(a,b){if($.n(a)){if(a){var c=a.title||a.caption;c&&this.title(c);a.rows&&(a=a.rows)}if(this.jg!==a){this.jg=a;if(this.j!=a||null===a){$.qd(this.jd);delete this.Nd;if($.K(a,$.pr)){var d=a;this.jd=null}else $.K(a,$.zr)?d=(this.jd=a).ie():d=$.A(a)||$.z(a)?(this.jd=new $.zr(a,b)).ie():(this.jd=new $.zr(null)).ie();this.j=d.tj()}$.qd(this.ka);this.ka=this.j;$.L(this.ka,this.Id,this);this.B(29456,17)}return this}return this.ka};$.g.Id=function(a){$.X(a,16)&&this.B(29456,17)};
$.g.aa=function(){return this.Nd||(this.Nd=this.ka.aa())};$.g.vc=function(){return this.Nd=this.ka.aa()};$.g.Qf=function(){return this.ka.aa()};$.g.cc=function(a){if($.K(a,$.ys))return this.Ic($.ys,a),this;if($.K(a,$.vs))return this.Ic($.vs,a),this;$.D(a)&&"range"==a.type?this.Ic($.ys):($.D(a)||null==this.Ea)&&this.Ic($.vs);return $.n(a)?(this.Ea.K(a),this):this.Ea};
$.g.sf=function(a){this.Be||(this.Be=new $.xs,$.W(this,"markerPalette",this.Be),$.L(this.Be,this.HH,this));return $.n(a)?(this.Be.K(a),this):this.Be};$.g.oe=function(a){this.Yc||(this.Yc=new $.ws,$.W(this,"hatchFillPalette",this.Yc),$.L(this.Yc,this.TG,this));return $.n(a)?(this.Yc.K(a),this):this.Yc};$.g.Ic=function(a,b){if($.K(this.Ea,a))b&&this.Ea.K(b);else{var c=!!this.Ea;$.qd(this.Ea);this.Ea=new a;b&&this.Ea.K(b);$.L(this.Ea,this.If,this);c&&this.B(528,1)}};
$.g.If=function(a){$.X(a,2)&&this.B(528,1)};$.g.HH=function(a){$.X(a,2)&&this.B(528,1)};$.g.TG=function(a){$.X(a,2)&&this.B(528,1)};$.g.remove=function(){Wga(this);this.xf&&this.xf.parent(null);RY.u.remove.call(this)};$.g.Pu=function(){var a=this.aa();this.Ea&&$.K(this.Ea,$.ys)&&$.zs(this.Ea,a.Gb())};
$.g.ei=function(a){if(!this.ef()){this.ob();var b=this.aa();this.J(4)&&this.B(4112);if(this.J(16)){this.xf?this.xf.clear():(this.xf=new $.JB(function(){return $.nk()},function(a){a.clear()}),this.xf.zIndex(30),this.xf.parent(this.La));this.g?this.g.clear():(this.g=new $.JB(function(){return $.nk()},function(a){a.clear()}),this.g.parent(this.La),this.g.zIndex(31).td(!0));this.Ja=Math.abs($.Qm($.M(this.i("pointsPadding"),a.height),2));this.G=Math.abs($.Qm($.M(this.i("baseWidth"),a.width),2));this.ab=
Math.abs($.Qm($.M(this.i("neckWidth"),a.width),2));this.ya=Math.abs($.Qm($.M(this.i("neckHeight"),a.height),2));this.Ga=a.top+a.height-this.ya;this.b=a.width/2;this.ba=$.M(this.i("connectorLength"),(a.width-this.G)/2);0>this.ba&&(this.ba=5);this.f=a;var c=0,d=b.Gb()-$.N(this.Ia("count")),e=$.Qm(this.Ja/a.height*100,2);for(b.reset();b.advance();){var f=b.get("value");var h=VY(f);f=VY(f)?0:$.N(f);var k=$.Qm(f/$.N(this.Ia("sum"))*100,2);h&&(k=e);k=$.Qm(a.height/(100+d*e)*k,2);k||(k=this.ga);b.o("value",
f);b.o("height",k);b.o("startY",c);b.o("missing",h);c+=k;fha(this)}for(b.reset();b.advance();)c=b.la(),"selected"==String(b.get("state")).toLowerCase()&&this.state.xh($.qo,c),Vga(this);if(this.O)for(c=0;c<this.O.length;c++)(f=this.O[c])&&f.stroke(this.i("connectorStroke"));this.B(4096);this.B(8192);this.I(16)}if(this.J(8192)){this.Eb().P()||this.Eb().P(this.La);this.Eb().clear();for(b.reset();b.advance();)this.Op(this.state.Ac|$.$w(this.state,b.la()));this.Eb().$();this.I(8192)}if(this.J(4096)){this.labels().P()||
this.labels().P(this.La);this.labels().clear();this.U&&this.U.clear();c=PY(this)?this.ma.insideLabels:this.ma.outsideLabels;this.labels().sq(c.autoColor);this.labels().disablePointerEvents(c.disablePointerEvents);PY(this)||(this.ba=$.M(this.i("connectorLength"),(a.width-this.G)/2),0>this.ba&&(this.ba=5),this.U?this.U.clear():(this.U=new $.JB(function(){return $.nk()},function(a){a.clear()}),this.U.parent(this.La),this.U.zIndex(32)),this.U.clip(a),this.O=[]);for(b.reset();b.advance();)PY(this)&&b.o("labelWidthForced",
void 0),this.ce(this.state.Ac|$.$w(this.state,b.la()));$Y(this);this.labels().$();this.labels().Kd().clip(a);this.I(4096)}}};
$.g.XK=function(){var a=$.jr(this,"animation");if(a&&a.i("enabled")&&0<a.i("duration"))if(this.xg&&1==this.xg.Xb)this.xg.update();else if(this.J(2048)){$.qd(this.xg);this.xg=new $.HB;var b=a.i("duration");a=b*(1-.85);b=new OY(this,.85*b);a=new QY(this,a);this.xg.add(b);this.xg.add(a);this.xg.ra("begin",function(){this.hj=this.i("connectorStroke");this.pa("connectorStroke","none");$.hx(this,!0);$.up(this,{type:"animationstart",chart:this})},!1,this);this.xg.ra("end",function(){this.pa("connectorStroke",
this.hj);$.hx(this,!1);$.up(this,{type:"animationend",chart:this})},!1,this);this.xg.play(!1)}};$.g.ig=function(a){a=$.Y.prototype.ig.call(this,a);var b=$.mo(a.domTarget);a.pointIndex=$.N(b.index);return a};$.g.sh=function(a){(a=this.Ig(a))&&this.dispatchEvent(a)};
$.g.Ig=function(a){var b;"pointIndex"in a?b=a.pointIndex:"labelIndex"in a?b=a.labelIndex:"markerIndex"in a&&(b=a.markerIndex);b=$.N(b);a.pointIndex=b;var c=a.type;switch(c){case "mouseout":c="pointmouseout";break;case "mouseover":c="pointmouseover";break;case "mousemove":c="pointmousemove";break;case "mousedown":c="pointmousedown";break;case "mouseup":c="pointmouseup";break;case "click":c="pointclick";break;case "dblclick":c="pointdblclick";break;default:return null}var d=this.data().aa();d.select(b)||
d.reset();return{type:c,actualTarget:a.target,iterator:d,sliceIndex:b,pointIndex:b,target:this,originalEvent:a,point:this.Rd(b)}};$.g.Rd=function(a){var b=new $.sA(this,a),c;this.aa().select(a)&&b.Fx()&&!VY(c=b.get("value"))&&(a=$.Qm(c/this.Eg("sum")*100,2),b.Ia("percentValue",a),b.Ia("yPercentOfTotal",a));return b};$.g.es=function(){return[]};$.g.Oj=function(a){$.n(a)?this.Hi(a):this.Ek();return this};
$.g.Pd=function(a){var b;(b=$.Zw(this.state,$.po))||(b=!!(this.state.Nj()&$.po));if(b&&this.enabled()){var c;$.n(a)?c=a:c=this.state.Ac==$.Zl?window.NaN:void 0;this.state.Hh($.po,c);a=this.aa();for(a.reset();a.advance();)this.ce($.$w(this.state,a.la()));$Y(this);kha(this)}};
$.g.Hi=function(a,b){if(!this.enabled())return this;if($.A(a)){var c=$.ex(this.state,$.po);for(var d=0;d<c.length;d++)$.Aa(a,c[d])||this.state.Hh($.po,c[d]);$.cx(this.state,a);$.n(b)&&this.JJ(b);for(c=this.vc();c.advance();)this.ce($.$w(this.state,c.la()));$Y(this)}else if($.ea(a)&&(this.Pd(),$.cx(this.state,a),$.n(b)&&this.JJ(b),this.f)){for(c=this.vc();c.advance();)this.ce($.$w(this.state,c.la()));$Y(this,this.labels().Vd(a))}this.aa().select(a[0]||a);return this};
$.g.Ek=function(){this.enabled()&&(this.state.xh($.po),$Y(this,null))};$.g.select=function(a){if(!this.enabled())return this;$.n(a)?this.Mi(a):this.iu();return this};$.g.iu=function(){this.enabled()&&(kha(this),this.state.xh($.qo),$Y(this,null))};
$.g.Mi=function(a,b){if(!this.enabled())return this;var c=!(b&&b.shiftKey);$.A(a)?(b||this.ae(),this.state.xh($.qo,a,c?$.po:void 0)):$.ea(a)&&this.state.xh($.qo,a,c?$.po:void 0);if(this.f){for(c=this.vc();c.advance();)this.ce($.$w(this.state,c.la()));var d;$.ea(a)&&(d=this.labels().Vd(a));$Y(this,d)}this.aa().select(a[0]||a);return this};
$.g.ae=function(a){if(this.enabled()){var b;$.n(a)?b=a:b=this.state.Ac==$.Zl?window.NaN:void 0;this.state.Hh($.qo,b);a=this.aa();for(a.reset();a.advance();)this.ce($.$w(this.state,a.la()));$Y(this)}};$.g.Xj=function(a,b){SY(this,a);TY(this,a);this.Op(a);return b};$.g.Wp=$.ia;$.g.fm=$.ia;$.g.Uk=function(a){this.ce(a);SY(this,a);TY(this,a);this.Op(a)};var cZ={};$.gq(cZ,0,"baseWidth",$.tq);$.gq(cZ,0,"neckHeight",$.tq);$.gq(cZ,0,"neckWidth",$.tq);$.gq(cZ,0,"pointsPadding",$.tq);$.gq(cZ,0,"reversed",$.tq);
$.gq(cZ,0,"overlapMode",$.Ok);$.gq(cZ,0,"connectorLength",$.tq);$.gq(cZ,1,"connectorStroke",$.Dq);$.U(RY,cZ);$.g=RY.prototype;$.g.zc=function(a,b,c,d,e,f,h){e=0==b?this.ca:1==b?this.xa:this.Ca;h?a=e.i(a):(h=c.get(0==b?"normal":1==b?"hovered":"selected"),a=$.Ro($.n(h)?h[a]:void 0,c.get($.$l(b,a)),e.i(a)));$.n(a)&&(a=d(a));return a};$.g.ph=function(){return $.$b(this.oe().nc(this.aa().la())||"diagonal-brick")};$.g.Fi=function(){var a=this.aa();return{index:a.la(),sourceHatchFill:this.ph(),iterator:a}};
$.g.Ae=function(a){var b=this.aa();return{index:b.la(),sourceColor:a||this.cc().nc(b.la())||"blue",iterator:b}};$.g.labels=function(a){return $.n(a)?(this.ca.labels(a),this):this.ca.labels()};$.g.Zd=function(a){var b=0,c=0;$.X(a,1)&&(b|=4096,c|=1);$.X(a,8)&&(b|=4100,c|=9);this.B(b,c)};
$.g.ce=function(a){var b=this.aa(),c=!!(a&$.qo),d=!c&&!!(a&$.po),e=b.get("normal");e=$.n(e)?e.label:void 0;var f=b.get("hovered");f=$.n(f)?f.label:void 0;var h=b.get("selected");h=$.n(h)?h.label:void 0;e=$.Ro(e,b.get("label"));f=d?$.Ro(f,b.get("hoverLabel")):null;h=c?$.Ro(h,b.get("selectLabel")):null;var k=b.la(),l,m=null,p=this.mb().labels(),q=this.selected().labels();c?m=l=q:d?m=l=p:l=this.labels();var r=this.labels().Vd(k),t=e&&$.n(e.enabled)?e.enabled:null,u=f&&$.n(f.enabled)?f.enabled:null,v=
h&&$.n(h.enabled)?h.enabled:null;p=d||c?d?null===u?null===p.enabled()?null===t?this.labels().enabled():t:p.enabled():u:null===v?null===q.enabled()?null===t?this.labels().enabled():t:q.enabled():v:null===t?this.labels().enabled():t;t=ZY(this,null,a);u=this.Ec();q=PY(this);v=!0;if(!d&&!c&&q&&"no-overlap"==this.i("overlapMode")){l=l.hl(u,t,e,k);v=this.aa();var w=[v.o("x1"),v.o("y1"),v.o("x2"),v.o("y1"),v.o("x4"),v.o("y2"),v.o("x3"),v.o("y2")],x=!0,y;var B=0;for(y=w.length;B<y-1;B+=2){var G=B==y-2?0:
B+2;var C=B==y-2?1:B+3;var I=w[B];var P=w[B+1];var Q=w[G];var S=w[C];var sa=l[B];var va=l[B+1];G=l[G];C=l[C];v.o("y3")&&4==B&&(P=$.N(v.o("y3")),S=$.N(v.o("y3")));I==Q&&(Q+=.01);x=(x=x&&1==$.$m(I,P,Q,S,sa,va))&&1==$.$m(I,P,Q,S,G,C)}v=x}p&&v?(r?(r.oi(),r.lf(u),r.uc(t)):r=this.labels().add(u,t,k),$.Ou(r,m),r.kd(e,d?f:h),b.o("labelWidthForced")&&(r.width($.N(b.o("labelWidthForced"))),b=f&&f.anchor?f.anchor:null,h=h&&h.anchor?h.anchor:null,e&&e.anchor&&e.anchor||b||h||(t=ZY(this,r,a),r.uc(t))),r.$(),(d||
c)&&!r.P()&&this.labels().Kd()&&(r.P(this.labels().Kd()),r.P().parent()||r.P().parent(this.labels().P()),r.$())):r&&r.clear();p&&!q&&iha(this,r,a);return r};$.g.Eb=function(a){return $.n(a)?(this.ca.Eb(a),this):this.ca.Eb()};$.g.bp=function(a){$.X(a,1)&&this.B(8192,1)};$.g.wv=function(){var a=$.Vl("fill",1,!1)(this,$.Zl,!0,!0);return $.Ml(a,1,!0)};$.g.Ox=function(){return $.Il(this.wv())};
$.g.Op=function(a){var b=this.aa(),c=!!(a&$.qo);a=!c&&!!(a&$.po);var d=b.get("normal");d=$.n(d)?d.marker:void 0;var e=b.get("hovered");e=$.n(e)?e.marker:void 0;var f=b.get("selected");f=$.n(f)?f.marker:void 0;d=$.Ro(d,b.get("marker"));e=$.Ro(e,b.get("hoverMarker"));f=$.Ro(f,b.get("selectMarker"));var h=this.aa().la(),k=this.mb().Eb(),l=this.selected().Eb();b=c?l:a?k:this.Eb();var m=this.Eb().Vq(h),p=d&&$.n(d.enabled)?d.enabled:null,q=e&&$.n(e.enabled)?e.enabled:null,r=f&&$.n(f.enabled)?f.enabled:
null;if(a||c?a?null===q?null===k.enabled()?null===p?this.Eb().enabled():p:k.enabled():q:null===r?null===l.enabled()?null===p?this.Eb().enabled():p:l.enabled():r:null===p?this.Eb().enabled():p){p=d&&d.position?d.position:null;q=e&&e.position?e.position:null;r=f&&f.position?f.position:null;p=a&&(q||k.i("position"))||c&&(r||l.i("position"))||p||this.Eb().i("position");p=jha(this,p);m?m.uc(p):m=this.Eb().add(p,h);var t={};p="position anchor offsetX offsetY type size fill stroke enabled".split(" ");d&&
(0,$.Qe)(p,function(a){a in d&&(t[a]=d[a])});p=d&&d.type;h=$.n(p)?p:this.Eb().Na()||this.sf().nc(h);p=e&&e.type;p=$.n(p)?p:k.Na();q=f&&f.type;q=$.n(q)?q:l.Na();t.type=c&&$.n(q)?q:a&&$.n(p)?p:h;h=d&&d.fill;h=$.n(h)?h:this.Eb().Gm()||this.wv();p=e&&e.fill;p=$.n(p)?p:k.Gm();q=f&&f.fill;q=$.n(q)?q:l.Gm();t.fill=c&&$.n(q)?q:a&&$.n(p)?p:h;h=d&&d.stroke;h=$.n(h)?h:this.Eb().bl()||this.Ox();p=e&&e.stroke;k=$.n(p)?p:k.bl()||this.Ox();p=f&&f.stroke;l=$.n(p)?p:l.bl()||this.Ox();t.stroke=c&&$.n(l)?l:a&&$.n(k)?
k:h;m.oi();$.Sx(m,b);m.kd(t,a?e:f);m.$()}else m&&m.clear()};$.g.xK=function(){var a=new $.iw(0);$.W(this,"tooltip",a);a.Aa(this);$.L(a,this.hp,this);return a};$.g.hp=function(){this.Xa().$()};$.g.JJ=function(a){var b=$.jr(this,"legend");if(!a||!b||a.target!=b){b=this.Xa();var c=this.Ec();a&&($.Aw(b,a.clientX,a.clientY,c),this.ra("mousemove",this.JJ))}};
$.g.ob=function(){if(this.J(16384)){this.oI();for(var a=this.data().aa(),b,c=0,d=Number.MAX_VALUE,e=-Number.MAX_VALUE,f=0;a.advance();)b=a.get("value"),VY(b)?c++:(b=VY(b)?0:$.N(b),d=Math.min(b,d),e=Math.max(b,e),f+=b);a=a.Gb()-c;var h;a?h=f/a:d=e=f=h=void 0;this.Ia("count",a);this.Ia("min",d);this.Ia("max",e);this.Ia("sum",f);this.Ia("average",$.Qm(h||window.NaN,$.Rm(f||0)));this.I(16384)}};
$.g.Ec=function(){var a=this.aa();this.de||(this.de=new $.rw);this.de.Ag(a).mj([this.Rd(a.la()),this]);a={x:{value:a.get("x"),type:"string"},value:{value:a.get("value"),type:"number"},name:{value:a.get("name"),type:"string"},index:{value:a.la(),type:"number"},chart:{value:this,type:""}};$.av(this.de,a);return this.de};$.g.xk=function(){return this.Ec()};
$.g.bm=function(a,b){for(var c=[],d=this.aa().reset(),e;d.advance();){e=d.la();var f=d.get("legendItem")||{},h=null;$.E(b)&&(h=this.Ec(),h.b=this.Rd(e),h=b.call(h,h));$.z(h)||(h=String($.n(d.get("name"))?d.get("name"):d.get("x")));var k=$.Vl("fill",1,!1),l=$.Vl("stroke",2,!1),m=$.Vl("hatchFill",3,!1);h={enabled:!0,meta:{pointIndex:e,pointValue:d.get("value"),W:this},iconType:"square",text:h,iconStroke:l(this,$.Zl,!1),iconFill:k(this,$.Zl,!1),iconHatchFill:m(this,$.Zl,!1)};$.Sc(h,f);h.sourceUid=$.oa(this);
h.sourceKey=e;c.push(h)}return c};$.g.ts=function(){return!0};$.g.er=function(a,b){var c=a.si();if(!a||null!=c||(0,window.isNaN)(c))if(c=$.mo(b.domTarget))c.W=this};$.g.bq=function(a,b){var c=a.si();if(!a||null!=c||(0,window.isNaN)(c))if(c=$.mo(b.domTarget))c.W=this};$.g.aq=function(a,b){var c=a.si();if(!a||null!=c||(0,window.isNaN)(c))if(c=$.mo(b.domTarget))c.W=this};$.g.Ni=function(){return null};$.g.Fl=function(a){return $.n(a)?(a=$.yk(a),a!=this.N&&(this.N=a),this):this.N};$.g.Ej=function(){return!this.aa().Gb()};
$.g.F=function(){var a=RY.u.F.call(this);a.data=this.data().F();a.palette=this.cc().F();a.hatchFillPalette=this.oe().F();a.markerPalette=this.sf().F();a.tooltip=this.Xa().F();$.Hq(this,cZ,a);a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();return{chart:a}};
$.g.X=function(a,b){RY.u.X.call(this,a,b);$.zq(this,cZ,a);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected);this.data(a.data);this.oe(a.hatchFillPalette);this.sf(a.markerPalette);this.cc(a.palette);"tooltip"in a&&this.Xa().ia(!!b,a.tooltip)};
$.g.R=function(){$.td(this.xg,this.ca,this.xa,this.Ca,this.jd,this.j,this.ka,this.Ea,this.Yc,this.Be,this.xf,this.g,this.U);this.ka=this.j=this.jd=this.Ca=this.xa=this.ca=this.xg=null;delete this.Nd;this.U=this.g=this.xf=this.Be=this.Yc=this.Ea=null;RY.u.R.call(this)};bZ.prototype.zB=function(a){this.labels.push(a);this.Aa.i("reversed")?$.Qa(this.labels,function(a,c){return a.la()-c.la()}):$.Qa(this.labels,function(a,c){return c.la()-a.la()})};bZ.prototype.clear=function(){this.labels.length=0};
bZ.prototype.hd=function(a,b){var c=!!(b&$.qo),d=!c&&!!(b&$.po),e=this.Aa.data().get(a.la(),"label");d=d?this.Aa.data().get(a.la(),"hoverLabel"):null;c=(c?this.Aa.data().get(a.la(),"selectLabel"):null)||d||e||{};this.Aa.data().o(a.la(),"labelWidthForced")&&(c=$.Qc(c),c.width=a.width());this.Aa.aa().select(a.la());a.lf(this.Aa.Ec());c=this.Aa.labels().hl(a.lf(),a.uc(),c);return $.jn(c)};
RY.prototype.ld=function(){this.ca.Fa(this.ma);$.W(this,"normal",this.ca);this.ca.ia(!0,{});$.W(this,"hovered",this.xa);this.xa.ia(!0,{});$.W(this,"selected",this.Ca);this.Ca.ia(!0,{})};var dZ=RY.prototype;dZ.data=dZ.data;dZ.getType=dZ.Na;dZ.palette=dZ.cc;dZ.tooltip=dZ.Xa;dZ.hatchFillPalette=dZ.oe;dZ.markerPalette=dZ.sf;dZ.labels=dZ.labels;dZ.markers=dZ.Eb;dZ.hover=dZ.Oj;dZ.unhover=dZ.Pd;dZ.select=dZ.select;dZ.unselect=dZ.ae;dZ.getPoint=dZ.Rd;dZ.normal=dZ.Sa;dZ.hovered=dZ.mb;dZ.selected=dZ.selected;$.Jp.funnel=lha;$.Jp.pyramid=mha;$.F("anychart.funnel",lha);$.F("anychart.pyramid",mha);}).call(this,$)}
if(!_.theme_pyramid_funnel){_.theme_pyramid_funnel=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{funnel:{title:{text:"Funnel Chart"},neckWidth:"30%",neckHeight:"25%",reversed:!0,normal:{labels:{position:"outside-left-in-column"}}},pyramid:{title:{text:"Pyramid Chart"},legend:{inverted:!0},normal:{labels:{position:"outside-left-in-column"}},reversed:!1}});}).call(this,$)}
if(!_.radar_part){_.radar_part=1;(function($){var I6=function(){$.V(this);$.Y.call(this);this.Fa($.hr.axis);this.Qh=[];this.Lc=$.nk();$.du(this,this.Lc);this.af=404;this.da(!1);$.T(this.ua,[["stroke",this.af,9],["startAngle",this.af,9]])},Rna=function(a){if(!a.Ub||a.J(4)){var b=a.ja();if(b){a.Hc=Math.round(Math.min(b.width,b.height)/2);a.qc=Math.round(b.left+b.width/2);a.rc=Math.round(b.top+b.height/2);var c=a.scale(),d=a.labels(),e=a.Qa();if(c){var f=0;if(a.enabled()){var h,k=c.Qa().get(),l=k.length,m=$.ab(a.i("startAngle")-90),p=f=window.NaN,
q=window.NaN,r=window.NaN,t=window.NaN,u=window.NaN,v=window.NaN,w=window.NaN,x=window.NaN,y=window.NaN,B=window.NaN,G=window.NaN;a.$i();a.IB=window.NaN;for(h=0;h<l;h++){var C=k[h];C=c.transform(C);C=$.ab(m+360*C);var I=C*Math.PI/180;var P=d.i("position");P=$.Ao(P);var Q=$.Bo(e);if(d.enabled()&&0<=P){var S=a.hd(h);P=S.qb();var sa=S.bc();var va=S.$a();S=S.Ua();if(e.enabled()&&Q){var Oa=a.Lc.stroke().thickness?a.Lc.stroke().thickness:1;e.enabled()&&e.i("length");Q=a.Hc+Q+Oa/2;Oa=Math.round(a.qc+Q*Math.cos(I));
I=Math.round(a.rc+Q*Math.sin(I));P=Math.min(P,Oa);va=Math.max(va,Oa);sa=Math.min(sa,I);S=Math.max(S,I)}}else e.enabled()&&Q?(Oa=a.Lc.stroke().thickness?a.Lc.stroke().thickness:1,e.enabled()&&e.i("length"),Q=a.Hc+Q+Oa/2):(Oa=a.Lc.stroke().thickness?a.Lc.stroke().thickness:1,Q=a.Hc+Oa/2),P=va=Math.round(a.qc+Q*Math.cos(I)),sa=S=Math.round(a.rc+Q*Math.sin(I));if((0,window.isNaN)(f)||P<f)f=P,t=h,x=C;if((0,window.isNaN)(p)||sa<p)p=sa,u=h,y=C;if((0,window.isNaN)(q)||va>q)q=va,v=h,B=C;if((0,window.isNaN)(r)||
S>r)r=S,w=h,G=C}h=e=d=c=0;f=Math.round(f);p=Math.round(p);q=Math.round(q);r=Math.round(r);f<b.qb()&&(x=180>x?Math.sin((x-90)*Math.PI/180):Math.cos((x-180)*Math.PI/180),c=Math.round((b.qb()-f)/x));p<b.bc()&&(x=270>y?Math.sin((y-180)*Math.PI/180):Math.cos((y-270)*Math.PI/180),d=Math.round((b.bc()-p)/x));q>b.$a()&&(x=360>B?Math.sin((B-270)*Math.PI/180):Math.cos(B*Math.PI/180),e=Math.round((q-b.$a())/x));r>b.Ua()&&(x=90>G?Math.sin(G*Math.PI/180):Math.cos((G-90)*Math.PI/180),h=Math.round((r-b.Ua())/x));
f=Math.max(c,d,e,h);if(0<f){a.Hc-=f;if(0>a.Hc){p=a.Hc=0;if(a.labels().enabled()){p=window.NaN;if(f==c){p=t;var vb=!0}else f==d?(p=u,vb=!1):f==e?(p=v,vb=!0):f==h&&(p=w,vb=!1);t=a.hd(p);p=vb?t.width:t.height}Oa=a.Lc.stroke().thickness?a.Lc.stroke().thickness:1;a.IB=Math.min(b.width,b.height)/2-p-Oa}a.$i()}}b=a.Hc+f;vb=2*b;a.Ub=new $.fu(a.qc-b,a.rc-b,vb,vb)}else a.Ub=new $.fu(a.qc-a.Hc,a.rc-a.Hc,2*a.Hc,2*a.Hc)}else a.Ub=new $.fu(0,0,0,0);a.I(4)}},Sna=function(a,b){var c=b.width,d=b.height,e={x:0,y:0};
a?0<a&&90>a?(e.x+=c/2,e.y+=d/2):90==a?e.y+=d/2:90<a&&180>a?(e.y+=d/2,e.x-=c/2):180==a?e.x-=c/2:180<a&&270>a?(e.y-=d/2,e.x-=c/2):270==a?e.y-=d/2:270<a&&(e.y-=d/2,e.x+=c/2):e.x+=c/2;return e},Tna=function(a,b){var c=a.Qa().i("stroke"),d=0,e=0;c=0==(c.thickness?(0,window.parseFloat)(c.thickness):1)%2?0:.5;b?90==b?d=-c:180==b?e=c:270==b&&(d=c):e=-c;return[d,e]},J6=function(){I6.call(this)},K6=function(){$.k5.call(this)},L6=function(a,b){var c=a.Va().Qa().get(),d=c.length;if(0!=d){for(var e=a.g+(a.Hc-
a.g)*b,f=a.i("startAngle")-90,h,k,l=0;l<d;l++)h=a.Va().transform(c[l]),h=$.ab(f+360*h),k=$.bb(h),h=Math.round(a.qc+e*Math.cos(k)),k=Math.round(a.rc+e*Math.sin(k)),l?a.j.lineTo(h,k):a.j.moveTo(h,k);h=$.ab(f);k=$.bb(h);h=Math.round(a.qc+e*Math.cos(k));k=Math.round(a.rc+e*Math.sin(k));a.j.lineTo(h,k)}},M6=function(a,b,c,d){if(!(0,window.isNaN)(c)){var e=a.Va().Qa().get(),f=e.length;if(0!=f){var h=a.i("startAngle")-90;var k=a.g+(a.Hc-a.g)*b;for(b=0;b<f;b++){var l=a.Va().transform(e[b]);l=$.ab(h+360*l);
var m=$.bb(l);l=Math.round(a.qc+k*Math.cos(m));var p=Math.round(a.rc+k*Math.sin(m));b?d.lineTo(l,p):d.moveTo(l,p)}l=$.ab(h);m=$.bb(l);l=Math.round(a.qc+k*Math.cos(m));p=Math.round(a.rc+k*Math.sin(m));d.lineTo(l,p);k=a.g+(a.Hc-a.g)*c;l=Math.round(a.qc+k*Math.cos(m));p=Math.round(a.rc+k*Math.sin(m));d.lineTo(l,p);for(b=f-1;0<=b;b--)l=a.Va().transform(e[b]),l=$.ab(h+360*l),m=$.bb(l),l=Math.round(a.qc+k*Math.cos(m)),p=Math.round(a.rc+k*Math.sin(m)),d.lineTo(l,p);d.close()}}},N6=function(){$.k5.call(this)},
O6=function(){$.i5.call(this,!0);this.Fa("radar")},Una=function(a){var b=new O6;b.ld();$.j5(b);arguments.length&&b.Rk.apply(b,arguments);return b},Vna={sB:"area",Xs:"line",yu:"marker"};$.H(I6,$.Y);var P6={};$.hq(P6,[$.Z.Jn,$.Z.bz]);$.U(I6,P6);$.g=I6.prototype;$.g.sa=$.Y.prototype.sa|400;$.g.qa=$.Y.prototype.qa;$.g.Lc=null;$.g.kr="axis";$.g.Da=null;$.g.hb=null;$.g.na=null;$.g.Ub=null;$.g.Hc=window.NaN;$.g.IB=window.NaN;$.g.qc=window.NaN;$.g.rc=window.NaN;$.g.Qh=null;
$.g.labels=function(a){this.Da||(this.Da=new $.Du,$.W(this,"labels",this.Da),this.Da.ib(this),$.L(this.Da,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Da.K(a),this):this.Da};$.g.Zd=function(a){var b=0,c=0;$.X(a,8)?(b=this.af,c=9):$.X(a,1)&&(b=128,c=1);this.$i();this.B(b,c)};$.g.Qa=function(a){this.hb||(this.hb=new $.e5,$.W(this,"ticks",this.hb),this.hb.ib(this),$.L(this.hb,this.Yh,this));return $.n(a)?(this.hb.K(a),this):this.hb};
$.g.Yh=function(a){var b=0,c=0;$.X(a,8)?(b=this.af,c=9):$.X(a,1)&&(b=276,c=1);this.B(b,c)};$.g.scale=function(a){if($.n(a)){if(a=$.Xs(this.na,a,null,15,null,this.Vh,this)){var b=this.na==a;this.na=a;this.na.da(b);b||(this.$i(),this.B(this.af,9))}return this}return this.na};$.g.Vh=function(a){$.X(a,2)&&(this.$i(),this.B(this.af,9))};$.g.ho=function(){this.B(this.af,9)};$.g.$i=function(){this.f&&(this.f.length=0);this.Qh.length=0;this.Qj=null};
$.g.qd=function(){var a=this.ja();return a?this.enabled()?(Rna(this),a=this.Lc.stroke().thickness?this.Lc.stroke().thickness:1,a=Math.floor(a/2),new $.J(this.qc-this.Hc+a,this.rc-this.Hc+a,2*(this.Hc-a),2*(this.Hc-a))):a:new $.J(0,0,0,0)};
$.g.E$=function(a,b,c){var d=this.Qa(),e=d.i("position");e=$.Ao(e);var f=$.bb(a),h=Math.sin(f);f=Math.cos(f);var k=Tna(this,a);a=k[0];k=k[1];var l=this.Hc+(e?0:-c/2),m=Math.round(this.qc+l*f)+a,p=Math.round(this.rc+l*h)+k;l=this.Hc+(e?e*(c+b):c/2);d.Pp(m,p,Math.round(this.qc+l*f)+a,Math.round(this.rc+l*h)+k)};$.g.tC=function(a,b){var c=$.bb(b),d=Math.round(this.qc+this.Hc*Math.cos(c));c=Math.round(this.rc+this.Hc*Math.sin(c));a?this.Lc.lineTo(d,c):this.Lc.moveTo(d,c)};
$.g.ce=function(a,b,c){var d=this.labels(),e=d.i("position");e=$.Ao(e);var f=this.Qa(),h=$.Bo(f,e),k=Sna(b,this.hd(a));f=k.x*e;k=k.y*e;var l=$.bb(b);b=Tna(this,b);e=this.Hc+h+e*c;c=Math.round(this.qc+e*Math.cos(l))+b[0]+f;b=Math.round(this.rc+e*Math.sin(l))+b[1]+k;e=this.scale().Qa().get();e=this.im(a,e[a]);d.add(e,{value:{x:c,y:b}},a)};$.g.gy=function(){return!1};
$.g.Bc=function(){if(this.ef())return!1;if(!this.enabled())return this.J(1)&&(this.remove(),this.I(1),this.Qa().B(2),this.labels().B(2),this.B(386)),!1;this.I(1);return!0};
$.g.$=function(){var a=this.scale();if(!a)return $.cl(2),this;if(!this.Bc())return this;var b=this.Qa(),c=this.labels();$.V(c);$.V(b);if(this.J(16)){this.Lc.clear();this.Lc.stroke(this.i("stroke"));var d=this.tC;this.I(16)}if(this.J(8)){var e=this.zIndex();this.Lc.zIndex(e);b.zIndex(e);c.zIndex(e);this.I(8)}this.J(2)&&(e=this.P(),this.Lc.parent(e),b.P(e),c.P(e),this.I(2));if(this.J(256)){b.$();var f=this.E$;this.I(256)}if(this.J(128)){c.P()||c.P(this.P());c.ja(this.ja());c.clear();var h=this.ce;this.I(128)}if($.n(f)||
$.n(d)||$.n(h)){Rna(this);e=a.Qa().get();var k=e.length,l=$.ab(this.i("startAngle")-90),m=b.enabled()?(0,window.isNaN)(this.IB)?b.i("length"):this.IB:0;var p=this.Lc.stroke().thickness?this.Lc.stroke().thickness:1;var q=Math.floor(p/2);for(p=0;p<k;p++){var r=e[p];r=a.transform(r);r=$.ab(l+360*r);d&&d.call(this,p,r);f&&f.call(this,r,q,m);h&&h.call(this,p,r,q,m)}0!=p&&this.Lc.close();c.$()}c.da(!1);b.da(!1);return this};
$.g.remove=function(){this.Lc&&this.Lc.parent(null);this.Qa().remove();this.Da&&this.Da.remove()};
$.g.hd=function(a){var b=this.Qh;if($.n(b[a]))return b[a];var c=this.Lc.stroke().thickness?this.Lc.stroke().thickness:1,d=this.Qa(),e=this.labels(),f=this.scale(),h=f.Qa().get()[a],k=f.transform(h);f=e.i("position");f=$.Ao(f);var l=$.Bo(d,f);k=$.ab(this.i("startAngle")-90+360*k);var m=k*Math.PI/180;d=d.enabled()?(0,window.isNaN)(this.IB)?l:this.IB:0;d=this.Hc+d+c/2;c=Math.round(this.qc+d*Math.cos(m));d=Math.round(this.rc+d*Math.sin(m));h=this.im(a,h);e=e.measure(h,{value:{x:c,y:d}},void 0,a);h=Sna(k,
e);k=h.y*f;e.left+=h.x*f;e.top+=k;return b[a]=e};
$.g.im=function(a,b){var c=this.scale(),d=!0;if($.K(c,$.Ct)){var e=c.Qa().names()[a];var f=b;d=!1}else $.K(c,$.$s)?(e=$.ks(b),f=b):(e=(0,window.parseFloat)(b),f=(0,window.parseFloat)(b));e={axis:{value:this,type:""},index:{value:a,type:"number"},value:{value:e,type:"number"},tickValue:{value:f,type:"number"},scale:{value:c,type:""}};d&&(e.min={value:$.n(c.min)?c.min:null,type:"number"},e.max={value:$.n(c.max)?c.max:null,type:"number"});c=new $.rw(e);c.sm({"%AxisScaleMax":"max","%AxisScaleMin":"min"});
return $.av(c)};$.g.XY=function(){this.Da&&$.Mu(this.Da)};$.g.F=function(){var a=I6.u.F.call(this);$.Hq(this,P6,a);a.labels=this.labels().F();a.ticks=this.Qa().F();return a};$.g.X=function(a,b){I6.u.X.call(this,a,b);$.zq(this,P6,a,b);this.labels().ia(!!b,a.labels);this.Qa(a.ticks)};$.g.R=function(){delete this.na;this.Qh.length=0;$.td(this.Lc,this.hb,this.Da,this.Ub);this.Da=this.Ub=this.hb=this.Lc=null;I6.u.R.call(this)};$.H(J6,I6);$.ju(J6,I6);var Q6=I6.prototype;Q6.labels=Q6.labels;Q6.ticks=Q6.Qa;
Q6.scale=Q6.scale;Q6.getRemainingBounds=Q6.qd;Q6=J6.prototype;$.F("anychart.standalones.axes.radar",function(){var a=new J6;a.Fa("standalones.radarAxis");return a});Q6.draw=Q6.$;Q6.parentBounds=Q6.ja;Q6.container=Q6.P;$.H(K6,$.k5);
K6.prototype.uj=function(){var a=this.Va(),b=this.bb();this.sz();this.Gh().clear();var c=this.ja();this.Hc=Math.min(c.width,c.height)/2;this.g=$.M(this.i("innerRadius"),this.Hc);this.g==this.Hc&&this.g--;this.qc=Math.round(c.left+c.width/2);this.rc=Math.round(c.top+c.height/2);this.Gh().clip(c);var d,e=this.i("startAngle")-90;if(this.wM()){c=a.Qa();c=c.get();var f=c.length;var h=window.NaN,k=window.NaN;var l=this.i("stroke");var m=l.thickness?l.thickness:1,p;for(d=0;d<f;d++){var q=a.transform(c[d]);b=
$.ab(e+360*q);var r=b*Math.PI/180;var t=p=0;b?90==b?p=0==m%2?0:-.5:180==b?t=0==m%2?0:.5:270==b&&(p=0==m%2?0:.5):t=0==m%2?0:-.5;b=Math.round(this.qc+this.Hc*Math.cos(r));q=Math.round(this.rc+this.Hc*Math.sin(r));if(this.g){var u=Math.round(this.qc+this.g*Math.cos(r));r=Math.round(this.rc+this.g*Math.sin(r))}else u=this.qc,r=this.rc;if(d){l=$.$y(this,d-1);var v=u,w=r;(0,window.isNaN)(h)&&(0,window.isNaN)(k)||(l.moveTo(b,q),l.lineTo(v,w),l.lineTo(h,k),l.close())}if(d||this.i("drawLastLine"))l=u,k=r,
this.j.moveTo(b+p,q+t),this.j.lineTo(l,k);h=b;k=q}l=$.$y(this,d-1);b=$.ab(e);r=b*Math.PI/180;b=Math.round(this.qc+this.Hc*Math.cos(r));q=Math.round(this.rc+this.Hc*Math.sin(r));this.g?(u=Math.round(this.qc+this.g*Math.cos(r)),r=Math.round(this.rc+this.g*Math.sin(r))):(u=this.qc,r=this.rc);c=u;f=r;d=h;a=k;(0,window.isNaN)(d)&&(0,window.isNaN)(a)||(l.moveTo(b,q),l.lineTo(c,f),l.lineTo(d,a),l.close())}else for(c=(a=$.K(b,$.Ct))?b.Qa():this.i("isMinor")?b.tb():b.Qa(),c=c.get(),f=c.length,e=window.NaN,
d=0;d<f;d++)k=c[d],$.A(k)?(q=k[0],k=k[1]):q=k,q=b.transform(q),d&&(l=$.$y(this,d-1)),d==f-1?a?(M6(this,q,e,l),l=$.$y(this,d),M6(this,b.transform(k,1),q,l),L6(this,q),this.i("drawLastLine")&&L6(this,b.transform(k,1))):(M6(this,q,e,l),this.i("drawLastLine")&&L6(this,q)):(M6(this,q,e,l),(d||this.g)&&L6(this,q)),e=q};$.H(N6,K6);$.ju(N6,K6);var R6=N6.prototype;$.F("anychart.standalones.grids.radar",function(){var a=new N6;a.Fa("standalones.radarGrid");return a});R6.layout=R6.pe;R6.draw=R6.$;
R6.parentBounds=R6.ja;R6.container=R6.P;$.H(O6,$.i5);var S6={},Wna=$.tG|5767168;S6.area={Ab:1,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG,$.QG,$.kH,$.fH,$.YG,$.TG,$.lH,$.gH,$.mH],Ib:null,Cb:null,zb:Wna,yb:"value",wb:"zero"};S6.line={Ab:8,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG],Ib:null,Cb:null,zb:Wna,yb:"value",wb:"value"};S6.marker={Ab:9,Fb:2,Jb:[$.tH,$.TG,$.aH,$.mH,$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:$.tG|1572864,yb:"value",wb:"value"};O6.prototype.Oi=S6;$.yz(O6,O6.prototype.Oi);$.g=O6.prototype;$.g.Na=function(){return"radar"};
$.g.zs=function(a){return $.xk(Vna,a,"line")};$.g.ZE=function(){return new K6};$.g.x_=function(){return new I6};$.g.Zz=function(){return $.Ps};$.g.RC=function(){return["Radar chart X scale","ordinal"]};$.g.FG=function(){return"linear"};$.g.EG=function(){return 15};$.g.TL=function(){return["Chart scale","ordinal, linear, log, date-time"]};$.g.kt=function(a,b){var c=new $.l5(this,this,a,b,!0);c.pa("closed",!0);return c};var Xna=O6.prototype;Xna.getType=Xna.Na;$.Jp.radar=Una;$.F("anychart.radar",Una);}).call(this,$)}
if(!_.theme_radar){_.theme_radar=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{radar:{defaultSeriesType:"line",defaultSeriesSettings:{base:{clip:!1},area:{},line:{},marker:{}},xAxis:{scale:0,zIndex:25,labels:{zIndex:25},minorLabels:{zIndex:25},ticks:{zIndex:25},minorTicks:{zIndex:25}},yAxis:{scale:1},startAngle:0,innerRadius:0,xGrids:[{}],yGrids:[{}],minorGrids:[],scales:[{type:"ordinal"},{type:"linear"}],xScale:0,yScale:1,a11y:{titleFormat:$.hN}}});}).call(this,$)}
if(!_.resource){_.resource=1;(function($){var Yna=function(a,b){return(0,window.isNaN)(a)?(0,window.isNaN)(b)?0:1:(0,window.isNaN)(b)?-1:b-a},T6=function(a){$.Yq.call(this);this.Ba=a;this.D=this.f=this.g=this.b=null;a={};$.T(a,[["fill",16,1],["stroke",16,1],["hatchFill",16,1],["labels",0,0]]);this.ca=new $.Yx(this,a,$.Zl);this.ca.pa("labelsAfterInitCallback",$.dy);a={};$.T(a,[["fill",0,0],["stroke",0,0],["hatchFill",0,0],["labels",0,0]]);this.xa=new $.Yx(this,a,$.po);this.xa.pa("labelsFactoryConstructor",$.$x);this.Ca=new $.Yx(this,a,$.qo);
this.Ca.pa("labelsFactoryConstructor",$.$x);$.T(this.ua,[["color",16,1]])},U6=function(a,b){if(!a)return Zna;var c=b+"|"+a+"|true",d=$na[c];if(!d){switch(b){case 2:d=$.Rl;break;case 3:d=$.Sl;break;default:case 1:d=$.Tl}$na[c]=d=$.qa(aoa,a,d,3==b,!0)}return d},aoa=function(a,b,c,d,e,f,h,k){k=$.Xl(k);if(k!=$.Zl&&d){var l=e.zc(a,k,f,b);c&&!0===l&&(l=V6);if($.n(l)){if(!$.E(l))return l;if(c)return c=e.Fi(h,f),b(l.call(c,c))}}a=e.zc(a,0,f,b);c&&!0===a&&(a=V6);$.E(a)&&(c=c?e.Fi(h,f):e.Ae(h,f),a=b(a.call(c,
c)));l&&(c=e.Ae(h,f,a),a=b(l.call(c,c)));return a},Zna=function(){return"none"},doa=function(a){this.D=!0;this.f=this.j=this.b=this.g=this.N=null;var b=a.isWorking;this.D=$.n(b)?b:!0;b=$.xk(boa,a.each,"none");switch(b){case "year":var c=a.on,d=a.from,e=a.to;this.O=this.nba;(c=$.cs(c,W6,X6))?(this.G=this.XU,this.b=new $.In(2E3,c.getUTCMonth(),c.getUTCDate()),e=Y6(d,e),this.j=e[0],this.f=e[1]):(this.G=this.H3,this.b=null,c=(c=$.cs(d,W6,X6))?new $.In(c):Z6,this.j=new $.In(2E3,c.getUTCMonth(),c.getUTCDate()),
c=(c=$.cs(e,W6,X6))?new $.In(c):$6,this.f=new $.In(2E3,c.getUTCMonth(),c.getUTCDate()),this.f.add(a7));break;case "week":coa(this,a.on,a.from,a.to);break;case "day":coa(this,window.NaN,a.from,a.to);break;default:c=a.on,d=a.from,e=a.to,this.O=this.uX,(c=$.cs(c))?(this.G=this.XU,this.b=new $.In(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),e=Y6(d,e),this.j=e[0],this.f=e[1]):(this.G=this.H3,this.b=null,c=(c=$.cs(d))?new $.In(c):Z6,this.j=new $.In(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),
c=(c=$.cs(e))?new $.In(c):$6,this.f=new $.In(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),this.f.add(a7))}"none"==b?this.b?(this.N=this.b.clone(),this.g=this.b.clone(),this.g.add(a7)):(this.N=this.j.clone(),this.g=this.f.clone()):(this.N=(b=$.cs(a.starts))?new $.In(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()):Z6,(b=$.cs(a.ends))?(this.g=new $.In(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()),this.g.add(a7)):this.g=$6)},coa=function(a,b,c,d){a.O=a.oba;a.G=a.XU;b=Math.min($.O(b,window.NaN,
!0),6);a.b=(0,window.isNaN)(b)?null:b;b=Y6(c,d);a.j=b[0];a.f=b[1]},Y6=function(a,b){if($.z(a)){var c=a.split(":",2);var d=[Math.min($.O(c[0],0,!0),23),2==c.length?Math.min($.O(c[1],0,!0),59):0]}else $.ea(a)?d=[Math.max(0,Math.min(23,Math.floor(a))),0]:d=null;if($.z(b)){c=b.split(":",2);var e=[Math.min($.O(c[0],23,!0),23),2==c.length?Math.min($.O(c[1],0,!0),59):0]}else $.ea(b)&&!(0,window.isNaN)(b)?e=[Math.max(0,Math.min(23,Math.floor(b))),0]:e=null;return d&&e?[d,e]:[[0,0],[23,59]]},b7=function(a){$.Yq.call(this);
this.f=[];this.g=[];this.Y=a||null;this.j=0;this.D={};this.b=null;this.O=!0;this.Y?$.L(this.Y,this.e1,this):(a=$.Jo($.Ko()),this.b=$.Ha(a.weekendRange))},d7=function(a,b,c){b=new Date(b);for(b=new $.In(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate());b.getTime()<c;){if(c7(a,b).length)return!0;b.add(a7)}return!1},e7=function(a,b,c,d,e){if((0,window.isNaN)(b)||(0,window.isNaN)(c))return[];b=new Date(b);b=new $.In(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate());for(var f=b.getTime(),h=[];f<c;){b.add(d);
var k=b.getTime();var l=a;var m=k,p=new Date(f);p=new $.In(p.getUTCFullYear(),p.getUTCMonth(),p.getUTCDate());for(var q=[];p.getTime()<m;){for(var r=c7(l,p),t=0;t<r.length;t++){var u=r[t];q.push([u[0]-6E4*l.j,u[1]-6E4*l.j])}p.add(a7)}l=q;e&&!l.length||h.push({start:f,end:k,workingTime:l});f=k}return h},f7=function(a,b,c){b=new Date(b);b=new $.In(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate());if(!a.N){var d=Z6.getTime();if(!a.b||0==a.b[0]&&6==a.b[1])for(var e=0;e<a.f.length;e++){var f=a.f[e];f.dA||
(d=Math.max(d,f.g.getTime()))}else d=$6.getTime();a.N=d}d=5E3;for(e=b.getTime();e<=a.N&&--d;){b.add(c);f=b.getTime();if(d7(a,e,f))return e;e=f}return d&&a.Y?f7(a.Y,b.getTime(),c):window.NaN},g7=function(a,b,c){b=new Date(b);b=new $.In(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate());if(!a.G){var d=$6.getTime();if(!a.b||0==a.b[0]&&6==a.b[1])for(var e=0;e<a.f.length;e++){var f=a.f[e];f.dA||(d=Math.min(d,f.N.getTime()))}else d=Z6.getTime();a.G=d}d=5E3;for(e=b.getTime();e>=a.G&&--d;){b.add(c);f=b.getTime();
if(d7(a,f,e))return f;e=f}return d&&a.Y?g7(a.Y,b.getTime(),c):window.NaN},c7=function(a,b){var c=$.Gn.prototype.UI.call(b),d=a.D[c];if($.n(d))return d;d=null;for(var e=0;e<a.f.length;e++){var f=a.f[e],h=b;d=f.O(h)?f.G(d||[],h):d}!d&&a.b&&(d=[],e=(b.VL()+6)%7,(e<a.b[0]||e>a.b[1])&&d.push([b.getTime(),b.getTime()+864E5-6E4]));!d&&a.Y&&(d=c7(a.Y,b));d||(d=[]);return a.D[c]=d},h7=function(a){a.D={};a.N=null;a.G=null},i7=function(a){$.Y.call(this);this.Ba=a;this.f=new $.JB(function(){return $.jk()});this.g=
new $.JB(function(){return $.jk()});this.j=$.lk();this.Nf=$.qk();this.Wa=$.lk();this.f.parent(this.Wa);this.g.parent(this.Wa);this.j.parent(this.Wa);this.Wa.clip(this.Nf);this.G=[];this.D=null;$.T(this.ua,[["fill",16,1],["stroke",16,1],["hatchFill",16,1],["height",0,2]])},foa=function(a,b,c,d,e){if(c&&c.CB>c.Oy){var f=a.Ec(b,c,d),h=$.Ku(a.Da,a.Da.i("format"),f,++a.O);if(a.b){if(a.b.text==h)return;eoa(a,b)}a.b={index:a.O,text:h,start:b,AN:f,Jna:c,coa:d,top:e}}else eoa(a,b)},eoa=function(a,b){a.b&&
(a.b.end=b,a.G.push(a.b),a.b=null)},goa=function(a,b){var c=b.start,d=b.end,e=a.i("stroke"),f=a.Ba.Va(),h=$.bc(e),k=$.bc(a.Ba.ZY().i("verticalStroke")),l=k/2+h/2;c=$.Za($.R(f.gn(c)+a.N.left,k)+l,a.N.left,a.N.$a());d=$.Za($.R(f.gn(d)+a.N.left,k)-l,a.N.left,a.N.$a());f=$.R(b.top+h/2,h);k=$.R(b.top+a.i("height")-h/2,h);l=$.KB(a.f);l.ro(c).so(f).qo(d-c).po(k-f).fill(a.i("fill")).stroke(e);if(e=a.i("hatchFill"))l=$.KB(a.f),l.ro(c+h/2).so(f+h/2).qo(d-c-h).po(k-f-h).fill(e).stroke(null);a.yf(b.index,b.AN,
new $.J(c,f,d-c,k-f))},j7=function(){$.Y.call(this);this.Ya=this.G=this.D=this.ba=this.ya=this.U=this.ka=this.ga=this.Ga=this.N=this.O=this.b=this.f=null;this.Ka=new $.ku;$.L(this.Ka,this.L$,this);this.j=new $.PH;$.L(this.j,this.N$,this);this.cb=null;this.g=[];this.Ja=0;$.T(this.ua,[["horizontalStroke",16],["verticalStroke",16],["oddFill",16],["evenFill",16],["oddHolidayFill",16],["evenHolidayFill",16],["oddHatchFill",16],["evenHatchFill",16],["oddHolidayHatchFill",16],["evenHolidayHatchFill",16],
["drawTopLine",128],["drawRightLine",128],["drawBottomLine",128],["drawLeftLine",128]])},hoa=function(a,b){$.n(b)&&(a.g=b,a.B(128,1))},ioa=function(a,b){$.n(b)&&(a.Ja=b,a.B(256,1))},k7=function(){$.ku.call(this);this.j=new $.PH;$.L(this.j,this.P$,this)},l7=function(a,b){$.Yq.call(this);this.Ba=a;this.wd=b;this.be=null;this.b=[];this.g={};this.f=0;this.j=!1;this.xb=null;this.B(4294967295)},koa=function(a,b,c,d,e){if(b=a.b[b])for(var f=0;f<b.Im.length;f++){var h=b.Im[f];(0,window.isNaN)(h.XO)||joa(a,
b,h,c,d,e)}},loa=function(a){a.ob();return a.f},joa=function(a,b,c,d,e,f){var h=a.Ba.cz(),k=c.shape,l=c.KT,m=b.data;h.b||(h.b=U6("fill",1));var p=h.b(h,m,c,d);m=b.data;h.g||(h.g=U6("stroke",2));var q=h.g(h,m,c,d);m=b.data;h.f||(h.f=U6("hatchFill",3));var r=h.f(h,m,c,d);var t=$.bc(q);k?m=$.bc(k.stroke())==t:(k=c.shape=$.KB(e),m=!0);k.fill(p);k.stroke(q);p=!1;r?(l||(l=c.KT=$.KB(e),l.td(!0),p=!0),l.fill(r),l.stroke("none")):l&&l.fill("none");e=a.xb;r=a.Ba.Va();a.Ba.me?(q=a.Ba,q.ob(),q=q.Ml):q=a.f;var u=
q,v=$.n(c.top)?c.top:b.top,w=f/2+t/2;q=$.R(r.gn(c.start)+e.left,f)+w;f=$.R(r.gn(c.end+864E5)+e.left,f)-w;r=$.R(v/u*e.height+e.top+t/2,t);v&&r++;t=$.R((v+c.ky)/u*e.height+e.top-t/2,t);m&&(k.clear().moveTo(q,r).lineTo(f,r).lineTo(f,t).lineTo(q,t).close(),k.tag={W:a.Ba,index:c.UL});p&&l.clear().moveTo(q,r).lineTo(f,r).lineTo(f,t).lineTo(q,t).close();h.yf(c.XO,d,h.Ec(c,b.data),new $.J(q,r,f-q,t-r),b.data)},m7=function(){$.Yq.call(this)},n7=function(){$.Yq.call(this);$.T(this.ua,[["size",0,1],["borderRadius",
0,1],["opacity",0,1],["align",0,1],["fittingMode",0,1]])},o7=function(a){$.Y.call(this);this.O=a;this.f=this.j=this.G=this.D=this.g=this.va=null;this.coords={dk:{x:0,y:0,height:0},name:{x:0,y:0,height:0},type:{x:0,y:0,height:0},description:{x:0,y:0,height:0}};this.U={fontColor:"color",fontOpacity:"opacity",fontDecoration:"decoration",textDirection:"direction"};this.index=window.NaN;$.T(this.ua,[["width",0,0],["imageSrc",0,0],["name",0,0],["type",0,0],["description",0,1],["tags",0,1]])},p7=function(a,
b,c){var d=a.i(b);a=a.mf(b);$.A(c)||(c=[c]);for(b=0;b<c.length;b++)d=d?d[c[b]]:void 0,a=a?a[c[b]]:void 0;if(!$.n(a))return d;if(!$.n(d))return a;if(null===d||(0,window.isNaN)(d)&&!$.D(d))return d;if($.ka(d)!=$.ka(a))return d;if($.A(d)){c=[];var e=Math.max(a.length,d.length);for(b=0;b<e;b++)c[b]=$.n(d[b])?d[b]:a[b]}else c={},$.ra(c,a),$.ra(c,d);return c},q7=function(a,b,c){var d;for(d in c){var e=c[d];d in a.U&&(d=a.U[d]);if(b[d])b[d](e)}},moa=function(a){var b=a.g.width();a.b||(a.b=$.jk(0,0));a.b.qo(b).po(b);
var c=0,d=0,e=0,f=0,h=p7(a,"imageSettings","borderRadius");$.A(h)||(h=[h]);if(h&&h.length){for(var k=0;k<h.length;k++)h[k]=Math.min(h[k],b/2);1==h.length?(c=h[0],d=h[0],e=h[0],f=h[0]):2==h.length?(c=h[0],d=h[1],e=h[0],f=h[1]):3==h.length?(c=h[0],d=h[1],e=h[2],f=h[1]):4==h.length&&(c=h[0],d=h[1],e=h[2],f=h[3])}a.b.round(c,d,e,f);return a.b},r7=function(a,b,c,d,e,f){a=a.i("width");var h=$.M(e.top,f)||0,k=$.M(e.right,a)||0;f=$.M(e.bottom,f)||0;c.x=d+($.M(e.left,a)||0);c.y+=h;b.width(a-c.x-k);c.height=
b.ud()+f},s7=function(){$.Yq.call(this);$.T(this.ua,[["fontSize",0,1],["fontFamily",0,1],["fontColor",0,1],["fontOpacity",0,1],["fontDecoration",0,1],["fontStyle",0,1],["fontVariant",0,1],["fontWeight",0,1],["letterSpacing",0,1],["textDirection",0,1],["lineHeight",0,1],["textIndent",0,1],["vAlign",0,1],["hAlign",0,1],["wordWrap",0,1],["wordBreak",0,1],["textOverflow",0,1],["textShadow",0,1],["selectable",0,1],["useHtml",0,1],["disablePointerEvents",0,1]])},t7=function(){s7.call(this)},u7=function(){$.Y.call(this);
this.G=new $.PH;$.L(this.G,this.Q$,this);this.f=this.va=null;this.j=[];this.Qb=[];this.Ja=this.Ga=0;$.T(this.ua,[["stroke",16],["oddFill",16],["evenFill",16],["drawTopLine",256],["drawRightLine",256],["drawBottomLine",256],["drawLeftLine",256]])},v7=function(a,b,c){var d={},e;if(a.length)for(e in b){var f=b[e].QV;var h=f.charAt(0).toUpperCase()+f.substr(1);h=a+h;h=c.get(h);$.n(h)&&(d[f]=h)}else for(e in b)f=b[e].QV,h=c.get(f),$.n(h)&&(d[f]=h);return d},w7=function(a,b,c){for(var d=0;d<a.Qb.length;d++)a.Qb[d].ma[b]=
c},x7=function(){u7.call(this);this.data(null);$.T(this.ua,[["rowHeight",0],["minRowHeight",0],["maxRowHeight",0]])},y7=function(){$.Ys.call(this);this.be=null;this.j=!1;this.G=60;this.f="day";this.b=1;this.N=Date.UTC(2E3,0);this.D={};this.g=null;this.O=0},z7=function(a){if(a.J(1)){var b=a.f+a.b.toFixed(0);a.g=a.D[b];a.g||(a.D[b]=a.g=new noa(a));a.B(2);a.I(1)}a.J(2)&&(a.O=ooa(a.g,a.N),a.I(2))},noa=function(a){this.be=a.calendar();this.iz=a.JW();var b=a.ng(),c=a.count();a=a.uO();this.ev=poa[b]*c||
window.NaN;!this.iz&&this.ev?this.b=$.Mo(a,b,c,2E3):(this.ev=window.NaN,this.bF=this.ln=$.No(b,c),this.Fq=this.ln.b(-1),this.iz?(a=$.Lo(a,this.ln,2E3),this.b=f7(this.be,a,this.ln),(0,window.isNaN)(this.b)&&(this.b=g7(this.be,a,this.Fq),this.ln=null),(0,window.isNaN)(this.b)?(this.gm=this.ik=null,b=window.NaN):(this.ik=new $.In(new Date(this.b)),this.ik.add(this.bF),this.gm=[this.b,this.ik.getTime()],b=g7(this.be,this.b,this.Fq)),(0,window.isNaN)(b)?this.Fq=this.Fk=this.am=null:(c=new $.In(new Date(b)),
c.add(this.bF),this.am=[c.getTime(),b],this.Fk=new $.In(new Date(b)))):(this.b=$.Mo(a,b,c,2E3),this.ik=new $.In(new Date(this.b)),this.ik.add(this.ln),this.gm=[this.b,this.ik.getTime()],this.Fk=new $.In(new Date(this.b)),this.Fk.add(this.Fq),this.am=[this.b,this.Fk.getTime()]))},ooa=function(a,b){if(a.ev)return(b-a.b)/a.ev;if(a.gm&&!a.ev){var c;if(b>=a.b){if(a.ln&&a.ik.getTime()<b)if(a.iz){var d=e7(a.be,a.ik.getTime(),b,a.ln,!0);for(c=0;c<d.length;c++){var e=d[c];a.gm.push(e.start,e.end)}d.length&&
a.ik.setTime(d[d.length-1].end);a.ik.getTime()<b&&(a.ln=null)}else{c=a.ik.getTime();do d=c,a.ik.add(a.ln),c=a.ik.getTime(),a.gm.push(d,c);while(c<b)}}else if(a.am&&a.Fq&&a.Fk.getTime()>b)if(a.iz){d=e7(a.be,b,a.Fk.getTime()-1,a.bF,!0);for(c=d.length;c--;)e=d[c],a.am.push(e.end,e.start);d.length&&a.Fk.setTime(d[0].start);a.Fk.getTime()>b&&(a.Fq=null)}else{c=a.Fk.getTime();do d=c,a.Fk.add(a.Fq),c=a.Fk.getTime(),a.am.push(d,c);while(c>b)}}if(!a.gm)return window.NaN;if(b==a.b)return 0;if(b>a.b){if(a.ik.getTime()<=
b)return a.gm.length/2;d=$.Na(a.gm,b);if(0<=d)return Math.round(d/2);d=~d;return d&1?(d>>1)+(b-a.gm[d-1])/(a.gm[d]-a.gm[d-1]):d>>1}if(!a.am)return 0;if(a.Fk.getTime()>=b)return-(a.am.length/2);d=$.Na(a.am,b,Yna);if(0<=d)return-Math.round(d/2)||0;d=~d;return d&1?-((d>>1)+(b-a.am[d-1])/(a.am[d]-a.am[d-1])):-(d>>1)||0},A7=function(a,b){$.gx.call(this);this.Fa("resource");this.Vc().hoverMode("single").selectionMode("multi-select");this.state=new $.Vw(this);this.Ob=new $.J(0,0,0,0);this.G=new u7;this.G.target(this);
$.L(this.G,this.rea,this);this.xc=new $.J(0,0,0,0);this.ga=new $.RH;$.L(this.ga,this.sea,this);this.Bd=new $.J(0,0,0,0);this.eb=new k7;$.L(this.eb,this.kea,this);this.Ja=new $.PH;$.L(this.Ja,this.K$,this);this.f=new j7;$.L(this.f,this.hea,this);this.dh=new $.J(0,0,0,0);this.D=new $.lB(!0);$.W(this,"horizontalScrollBar",this.D);this.D.ra("scrollerchange",this.wea,!1,this);$.L(this.D,this.xea,this);this.hj=new $.J(0,0,0,0);this.j=new $.lB(!0);$.W(this,"verticalScrollBar",this.j);this.j.pa("inverted",
!0);this.j.ra("scrollerchange",this.yea,!1,this);$.L(this.j,this.zea,this);this.be=new b7;this.cb=new y7;this.cb.calendar(this.be);$.L(this.cb,this.I$,this);this.pa("currentStartDate",window.NaN);this.nb=this.ab=window.NaN;this.gp=this.g=null;this.ya=this.b=0;this.$e=this.xj=null;this.Gk=0;this.ba=[];this.O=[];this.Pg=[];this.hc=null;this.Ml=0;this.Ud=this.me=!1;this.Tf=null;this.Ra=new $.tu;$.L(this.Ra,this.Xda,this);this.Tc=new T6(this);$.L(this.Tc,this.Rda,this);this.ka=new i7(this);$.L(this.ka,
this.Zda,this);this.data(a||null,b);$.eu(this,this,this.rg,this.Gg,null,this.rg,null,this.Cj);$.T(this.ua,[["pixPerHour",524288,1],["minRowHeight",524288,1],["resourceListWidth",4,9],["timeLineHeight",4,9],["defaultMinutesPerDay",524288,1],["currentStartDate",262144,1],["splitterStroke",16777216,1]])},B7=function(a,b,c){$.ag.call(this,b.fa());this.b=c;this.Ba=a;this.zj=void 0;this.Xr=(0,$.pa)(function(){this.zj=void 0;var a=this.Ba,b=this.Ga,c=a.cb.nw(this.ga-a.nb);b/=a.b;$.V(a);c!=a.i("currentStartDate")&&
(a.pa("currentStartDate",c),a.B(262144,1));b!=a.ya&&(a.ya=b,a.B(1048576,1));a.da(!0)},this);$.bg(this);this.ra("start",this.j,!1,this);this.ra("end",this.g,!1,this)},C7=function(a){this.Ba=a;this.reset()},qoa=function(a,b){var c=new A7(a,b);c.ia(!0,$.mm("resource"));return c};$.Gn.prototype.UI=$.ca(6,function(a){return[this.getUTCFullYear(),$.uc(this.getUTCMonth()+1,2),$.uc(this.getUTCDate(),2)].join(a?"-":"")});
$.Hn.prototype.UI=$.ca(5,function(a){var b=$.Gn.prototype.UI.call(this,a);return a?b+" "+$.uc(this.getUTCHours(),2)+":"+$.uc(this.getUTCMinutes(),2)+":"+$.uc(this.nT(),2):b+"T"+$.uc(this.getUTCHours(),2)+$.uc(this.getUTCMinutes(),2)+$.uc(this.nT(),2)});var boa={Ena:"year",zna:"week",Kka:"day",NONE:"none"},roa={Cja:"availability-per-chart",Dja:"availability-per-resource",oja:"activity-per-chart",pja:"activity-per-resource"};$.H(T6,$.Yq);$.xq(T6,["fill","stroke","hatchFill","labels"],"normal");
$.g=T6.prototype;$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};$.g.sa=16;$.g.qa=1;var V6=$.$b("diagonal-brick");$.g=T6.prototype;$.g.Zd=function(a){$.X(a,1)&&this.B(16,1)};
$.g.Ec=function(a,b){this.D||(this.D=new $.rw);return $.av(this.D,{start:{value:a.start,type:"date-time"},end:{value:a.end,type:"date-time"},minutesPerDay:{value:a.ky,type:"number"},hoursPerDay:{value:a.ky/60,type:"number"},hoursPerDayRounded:{value:Math.ceil(a.ky/30)/2,type:"number"},name:{value:b.name||"Unnamed Activity",type:"string"},activityName:{value:b.name,type:"string"},activityInfo:{value:b,type:""}})};
$.g.yf=function(a,b,c,d,e){var f=this.ca.labels(),h=0==b?"normal":1==b?"hovered":"selected",k=e.normal?e.normal.label:void 0,l=k||e.label;k=void 0;b!=$.Zl&&(k=(k=e[h]?e[h].label:void 0)||e[b==$.po?"hoverLabel":"selectLabel"]);e=l&&$.n(l.enabled)?l.enabled:null;h=k&&$.n(k.enabled)?k.enabled:null;b=b==$.qo?this.selected().labels():b==$.po?this.mb().labels():null;(null===h?b&&null!==b.enabled()&&$.n(b.enabled())?b.enabled():null===e?f.enabled():e:h)?(e=k&&k.position||b&&b.i("position")||l&&l.position||
f.i("position"),e={value:$.xo(d,e)},(h=f.Vd(a))?(h.lf(c),h.uc(e)):h=f.add(c,e,a),h.oi(),$.Ou(h,b),h.kd(l,k),h.width(d.width),h.height(d.height),h.clip(d),h.$()):f.clear(a)};$.g.ID=function(a,b){var c=this.ca.labels();$.V(c);this.j||(this.j=$.lk(),this.j.zIndex(4).parent(a),this.Nf=$.qk(),this.j.clip(this.Nf));c.P(this.j);c.clear();c.ja(b);c.Mh=0;this.Nf.shape(b)};$.g.fi=function(){var a=this.ca.labels();a.$();var b=a.jm();b&&b.td(!0);a.da(!1);this.I(16)};var D7={};$.gq(D7,0,"color",$.Gq);$.U(T6,D7);
var $na={};$.g=T6.prototype;$.g.Ae=function(a,b,c){return{sourceColor:c||this.i("color")||"blue",start:a.start,end:a.end,minutesPerDay:a.ky,activityName:b.name,activityInfo:b}};$.g.Fi=function(a,b){return{sourceHatchFill:V6,start:a.start,end:a.end,minutesPerDay:a.ky,activityName:b.name,activityInfo:b}};$.g.th=function(a){return null!=this.Ma[a]};
$.g.zc=function(a,b,c,d){var e=0==b?this.ca:1==b?this.xa:this.Ca,f=c[0==b?"normal":1==b?"hovered":"selected"];b=(f?f[a]:void 0)||c[$.$l(b,a)];$.n(b)?b=d(b):(b=e.dd(a),null==b&&(b=e.mf(a),$.n(b)&&(b=d(b))));return b};$.g.F=function(){var a=T6.u.F.call(this);$.Hq(this,D7,a,"Activities");a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();return a};
$.g.X=function(a,b){T6.u.X.call(this,a);$.zq(this,D7,a);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected)};$.g.R=function(){this.g=this.b=this.f=null;$.td(this.ca,this.xa,this.Ca,this.Nf);this.Nf=this.Ca=this.xa=this.ca=null;T6.u.R.call(this)};var E7=T6.prototype;E7.normal=E7.Sa;E7.hovered=E7.mb;E7.selected=E7.selected;$.g=doa.prototype;$.g.uX=function(a){return a.getTime()>=this.N.getTime()&&a.getTime()<=this.g.getTime()};$.g.oba=function(a){return this.uX(a)&&(null===this.b||(a.VL()+6)%7==this.b)};$.g.nba=function(a){if(!this.uX(a))return!1;if(this.b)return a.getUTCMonth()==this.b.getUTCMonth()&&a.getUTCDate()==this.b.getUTCDate();var b=a.getUTCFullYear();a=a.getTime();var c=this.j.clone();c.oT(b);var d=this.f.clone();d.oT(b);return a>=c.getTime()&&a<=d.getTime()};
$.g.XU=function(a,b){var c=this.j,d=b.getTime()+36E5*c[0]+6E4*c[1];c=this.f;for(var e=b.getTime()+36E5*c[0]+6E4*c[1],f=[],h=0;(c=a[h])&&c[1]<d;)f.push(c),h++;if(h<a.length){if(c[0]>e)this.D&&f.push([d,e]);else{this.D?d=Math.min(d,c[0]):(c[0]<d&&f.push([c[0],d]),d=e);for(;c&&c[1]<=e;)h++,c=a[h];h<a.length&&c[0]<=e&&(f.push([d,c[1]]),h++)}for(;h<a.length;h++)f.push(a[h])}else this.D&&f.push([d,e]);return f};$.g.H3=function(a,b){a.length=0;this.D&&a.push([b.getTime(),b.getTime()+864E5-6E4]);return a};$.H(b7,$.Yq);b7.prototype.sa=0;b7.prototype.qa=2;var W6="dd.MM",X6=new Date(Date.UTC(2E3,0)),Z6=new $.In(0,0,1),$6=new $.In(9999,11,31),a7=new $.An(0,0,1);$.g=b7.prototype;$.g.t5=function(a){if($.n(a)){var b;if($.A(a)){var c=$.O(a[0],window.NaN,!0);c=$.Za(c,0,6);a=$.O(a[1],window.NaN,!0);a=$.Za(a,0,6);(0,window.isNaN)(c)?(0,window.isNaN)(a)?b=null:b=[a,a]:(0,window.isNaN)(a)?b=[c,c]:(c>a&&(b=c,c=a,a=b),b=[c,a])}else b=null;this.O=!1;this.b=b;h7(this);this.ta(2);return this}return this.b};
$.g.V4=function(a){return $.n(a)?(this.j=$.N(a),h7(this),this.ta(2),this):this.j};$.g.GZ=function(a){if($.n(a)){this.g=$.A(a)?a.slice():[];for(a=this.f.length=0;a<this.g.length;a++)this.f.push(new doa(this.g[a]));h7(this);this.ta(2);return this}return this.g};$.g.PC=function(a,b,c,d){return e7(this,$.Rk(a),$.Rk(b),$.No($.Tk(c,"day",!0),$.O(d)))};$.g.e1=function(a){$.X(a,2)&&!this.b&&h7(this)};
$.g.F=function(){var a=b7.u.F.call(this);this.O||(a.weekendRange=this.b?[this.b[0],this.b[1]]:null);a.timezoneOffset=this.j;a.availabilities=this.g.slice();return a};$.g.X=function(a){b7.u.X.call(this,a);this.t5(a.weekendRange);this.V4(a.timezoneOffset);this.GZ(a.availabilities)};$.g.R=function(){this.g=null;this.Y&&$.Zq(this.Y,this.e1,this);this.Y=null;b7.u.R.call(this)};var F7=b7.prototype;$.F("anychart.scales.calendar",function(a){return new b7(a)});F7.weekendRange=F7.t5;F7.timezoneOffset=F7.V4;
F7.availabilities=F7.GZ;F7.getWorkingSchedule=F7.PC;$.H(i7,$.Y);$.g=i7.prototype;$.g.sa=$.Y.prototype.sa|208;$.g.qa=$.Y.prototype.qa|2;$.g.clear=function(){this.f.clear();this.g.clear();this.labels().clear();this.G.length=0;this.b=null;this.O=-1;this.B(192)};
$.g.$=function(){if(this.Bc()){this.J(4)&&(this.N=this.ja(),this.Nf.shape(this.N),this.I(4));if(this.J(128)){for(var a=0;a<this.G.length;a++)goa(this,this.G[a]);this.I(144)}if(this.J(64)){a=this.labels();$.V(a);a.P(this.j);a.ja(this.N);a.Mh=0;this.Nf.shape(this.N);a.$();var b=a.jm();b&&b.td(!0);a.da(!1);this.I(64)}if(this.J(16)){var c=this.i("fill"),d=this.i("stroke");this.f.yj(function(a){a.fill(c);a.stroke(d)});var e=this.i("hatchFill");this.g.yj(function(a){a.fill(e);a.stroke(null)});this.I(16)}this.J(2)&&
(a=this.P(),this.Wa.parent(a),this.I(2));this.J(8)&&(a=this.zIndex(),this.Wa.zIndex(a),this.I(8))}};$.g.labels=function(a){this.Da||(this.Da=new $.Du,this.Da.ib(this),$.L(this.Da,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Da.K(a),this):this.Da};$.g.Zd=function(a){$.X(a,1)&&this.B(16,1)};
$.g.Ec=function(a,b,c){this.D||(this.D=new $.rw);a=b.CB-b.Oy;b={minutes:{value:a,type:"number"},hours:{value:a/60,type:"number"},hoursRounded:{value:Math.ceil(a/30)/2,type:"number"},percent:{value:a/b.Oy*100,type:"number"},allocated:{value:b.CB,type:"number"},vacant:{value:b.Oy,type:"number"},activities:{value:(0,$.Wa)(b.cz,function(a){return(a=c.b[a]||null)?a.data:null}),type:""}};return $.av(this.D,b)};
$.g.yf=function(a,b,c,d){var e=this.labels();if(b){var f=e.Vd(a),h={value:{x:c.left,y:c.top}};f?(f.lf(b),f.uc(h)):f=e.add(b,h,a);f.oi();f.kd(d);f.width(c.width);f.height(c.height);f.clip(c);f.$()}else e.clear(a)};var G7={};$.gq(G7,1,"fill",$.Eq);$.gq(G7,1,"stroke",$.Dq);$.gq(G7,1,"hatchFill",$.Fq);$.gq(G7,0,"height",$.qq);$.U(i7,G7);$.g=i7.prototype;$.g.th=function(a){return null!=this.Ma[a]};$.g.zc=function(a,b,c){b=b[a];$.n(b)?b=c(b):(b=this.Ma[a],null==b&&(b=this.ma[a],$.n(b)&&(b=c(b))));return b};
$.g.F=function(){var a=i7.u.F.call(this);$.Hq(this,G7,a,"Resource Conflicts");return a};$.g.X=function(a,b){i7.u.X.call(this,a);$.zq(this,G7,a);this.labels().ia(!!b,a.labels)};$.g.R=function(){$.td(this.f,this.g,this.Nf);this.f=this.g=this.Nf=null;i7.u.R.call(this)};var soa=i7.prototype;soa.labels=soa.labels;$.H(j7,$.iu);j7.prototype.sa=$.iu.prototype.sa|976;j7.prototype.qa=$.iu.prototype.qa;var H7={};$.gq(H7,1,"horizontalStroke",$.Dq);$.gq(H7,1,"verticalStroke",$.Dq);$.gq(H7,1,"oddFill",$.Eq);$.gq(H7,1,"evenFill",$.Eq);$.gq(H7,1,"oddHolidayFill",$.Eq);$.gq(H7,1,"evenHolidayFill",$.Eq);$.gq(H7,1,"oddHatchFill",$.Fq);$.gq(H7,1,"evenHatchFill",$.Fq);$.gq(H7,1,"oddHolidayHatchFill",$.Fq);$.gq(H7,1,"evenHolidayHatchFill",$.Fq);$.gq(H7,0,"drawTopLine",$.uq);$.gq(H7,0,"drawRightLine",$.uq);
$.gq(H7,0,"drawBottomLine",$.uq);$.gq(H7,0,"drawLeftLine",$.uq);$.U(j7,H7);$.g=j7.prototype;$.g.background=function(a){return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.M$=function(a){return $.n(a)?(this.j.K(a),this.B(512,1),this):this.j};$.g.Va=function(a){return $.n(a)?(this.cb!=a&&(this.cb&&$.Zq(this.cb,this.aZ,this),(this.cb=a)&&$.L(this.cb,this.aZ,this),this.B(128,1)),this):this.cb};$.g.aZ=function(){this.B(128,1)};$.g.L$=function(){this.B(64,1)};$.g.N$=function(){this.B(512,1)};
$.g.$=function(){if(this.Bc()){this.f||(this.f=$.lk(),this.b=this.f.Dd(),this.Nf=$.qk(),this.f.clip(this.Nf),this.O=this.b.path(),this.O.stroke(null),this.N=this.b.path(),this.N.stroke(null),this.Ga=this.b.path(),this.Ga.stroke(null),this.ga=this.b.path(),this.ga.stroke(null),this.ka=this.b.path(),this.ka.stroke(null),this.U=this.b.path(),this.U.stroke(null),this.ya=this.b.path(),this.ya.stroke(null),this.ba=this.b.path(),this.ba.stroke(null),this.D=this.b.path(),this.D.fill(null),this.D.Lp(!0),this.G=
this.b.path(),this.G.fill(null),this.G.Lp(!0));this.J(4)&&(this.Ya=this.lb(),$.Po(this.Ya,0),this.Nf.shape(this.Ya),this.B(960),this.I(4));this.J(64)&&(this.b.zIndex(this.Ka.zIndex()+1),this.Ka.ja(this.Ya),this.Ka.P(this.f),this.Ka.$(),this.I(64));this.J(16)&&(this.O.fill(this.i("oddFill")),this.N.fill(this.i("evenFill")),this.Ga.fill(this.i("oddHolidayFill")),this.ga.fill(this.i("evenHolidayFill")),this.ka.fill(this.i("oddHatchFill")),this.U.fill(this.i("evenHatchFill")),this.ya.fill(this.i("oddHolidayHatchFill")),
this.ba.fill(this.i("evenHolidayHatchFill")),this.D.stroke(this.i("horizontalStroke")),this.G.stroke(this.i("verticalStroke")),this.I(16));if(this.J(128)){this.O.clear();this.N.clear();this.Ga.clear();this.ga.clear();this.ka.clear();this.U.clear();this.ya.clear();this.ba.clear();this.D.clear();this.G.clear();if(this.cb){for(var a=this.cb.rn(0,this.Ya.width),b=this.g.length-1,c=a.length-1,d=$.bc(this.D.stroke()),e=$.bc(this.G.stroke()),f=$.R(0,d),h=0,k=!!this.i("drawTopLine"),l=!!this.i("drawRightLine"),
m=!!this.i("drawBottomLine"),p=!!this.i("drawLeftLine"),q=0;q<=b;q++){var r=q==b;h=$.R(f+this.g[q]-(r?d:0),d);for(var t=0;t<=c;t++){var u=t==c,v=a[t],w=$.R(this.cb.gn(v.start)+this.Ya.left,e),x=$.R(this.cb.gn(v.end)+this.Ya.left-(u?e:0),e);v=v.holiday;if(q&1)if(v){v=this.ga;var y=this.ba}else v=this.N,y=this.U;else v?(v=this.Ga,y=this.ya):(v=this.O,y=this.ka);var B=p&&!t?Math.ceil(w):Math.floor(w),G=l||!u?Math.floor(x):Math.ceil(x),C=k&&!q?Math.ceil(f):Math.floor(f),I=m||!r?Math.floor(h):Math.ceil(h);
v.moveTo(B,C).lineTo(G,C).lineTo(G,I).lineTo(B,I).close();y.moveTo(B,C).lineTo(G,C).lineTo(G,I).lineTo(B,I).close();p&&!t&&this.G.moveTo(w,C).lineTo(w,I);!l&&u||this.G.moveTo(x,C).lineTo(x,I);k&&!q&&this.D.moveTo(B,f).lineTo(G,f);!m&&r||this.D.moveTo(B,h).lineTo(G,h)}f=h}this.Ra=h}else this.Ra=!1;this.I(128)}this.J(256)&&(this.b.jc(1,0,0,1,0,Math.round(this.Ya.top-this.Ja*this.Ra)),this.I(256));this.J(512)&&(this.j.target(this.P().Ha().Bl()),this.j.uf(this.lb()),this.j.$(),this.I(512));this.J(2)&&
(this.f.parent(this.P()),this.I(2));this.J(8)&&(this.f.zIndex(this.zIndex()),this.I(8))}};$.g.remove=function(){this.f&&this.f.parent(null)};$.g.th=function(a){return null!=this.Ma[a]};$.g.fs=function(){return 1};$.g.F=function(){var a=j7.u.F.call(this);$.Hq(this,H7,a,"Resource Grid");a.background=this.Ka.F();a.overlay=this.j.F();return a};$.g.X=function(a,b){j7.u.X.call(this,a,b);$.zq(this,H7,a);$.n(this.Ka)&&this.Ka.ia(!!b,a.background);this.j.ia(!!b,a.overlay)};
$.g.R=function(){$.qd(this.Ka);this.Ka=null;$.qd(this.f);this.G=this.D=this.ba=this.ya=this.U=this.ka=this.ga=this.Ga=this.N=this.O=this.b=this.f=null;$.qd(this.j);this.j=null;j7.u.R.call(this)};var I7=j7.prototype;I7.background=I7.background;I7.overlay=I7.M$;$.H(k7,$.ku);$.g=k7.prototype;$.g.sa=$.ku.prototype.sa|128;$.g.qa=$.ku.prototype.qa;$.g.O$=function(a){return $.n(a)?(this.j.K(a),this.B(128,1),this):this.j};$.g.P$=function(){this.B(128,1)};$.g.$=function(){this.J(4)&&this.B(128);k7.u.$.call(this);this.J(128)&&(this.j.target(this.P().Ha().Bl()),this.j.uf(this.lb()),this.j.$(),this.I(128));return this};$.g.F=function(){var a=k7.u.F.call(this);a.overlay=this.j.F();return a};$.g.X=function(a,b){k7.u.X.call(this,a,b);this.j.ia(!!b,a.overlay)};
$.g.R=function(){k7.u.R.call(this);$.qd(this.j);this.j=null};var toa=k7.prototype;toa.overlay=toa.O$;$.H(l7,$.Yq);$.g=l7.prototype;$.g.sa=3;$.g.qa=0;$.g.calendar=function(a){return $.n(a)?(this.be||(this.be=new b7(this.Ba.calendar())),this.be.K(a),this):this.be||this.Ba.calendar()};
$.g.$=function(a,b,c,d,e,f){this.ob();if(this.j){for(var h=Math.floor(b/864E5),k=Math.floor(c/864E5),l=this.Ba.hR();h<=k;h++)foa(l,864E5*h,this.g[h],this,e.top);foa(l,864E5*h,null,this,e.top);k=l.i("height")+1;e.top+=k;e.height-=k}this.xb=e;for(e=0;e<this.b.length;e++){k=this.b[e];l=b;h=c;for(var m=d,p=f,q=a.UL++,r=0;r<k.Im.length;r++){var t=k.Im[r];t.shape=null;t.KT=null;t.UL=q;t.end+864E5<l||t.start>h?t.XO=window.NaN:(t.XO=a.B3.length,a.B3.push(q),joa(this,k,t,$.$w(this.Ba.state,a.UL),m,p))}}return a};
$.g.ob=function(){if(this.J(1)){this.b.length=0;var a=this.Ba.oa.aa();var b;if(!a.select(this.wd)||!(b=a.get("activities"))||!$.A(b))return;for(a=0;a<b.length;a++){var c=b[a];if($.D(c)){var d=c.intervals;$.A(d)||(d=[c]);for(var e=this.Ba.i("defaultMinutesPerDay"),f=[],h=0;h<d.length;h++){var k=d[h];if(k){var l=$.cs(k.start),m=$.cs(k.end);if(l&&m){if(l.getTime()>m.getTime()){var p=l;l=m;m=p}l=Date.UTC(l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate());m=Date.UTC(m.getUTCFullYear(),m.getUTCMonth(),
m.getUTCDate());p=$.O(k.totalMinutes,window.NaN,!1);f.push({start:l,end:m,ky:(0,window.isNaN)(p)?$.O(k.minutesPerDay,e,!1):p/((m-l)/864E5+1),shape:null,KT:null,XO:window.NaN})}}}c=f.length?{data:c,top:0,Im:f}:null}else c=null;c&&this.b.push(c)}this.B(2);this.I(1)}if(this.J(2)){this.g={};this.f=0;this.j=!1;b=this.Ba.Ud;for(a=0;a<this.b.length;a++)for(c=this.b[a],c=c.Im,d=0;d<c.length;d++){k=c[d];e=Math.floor(k.start/864E5);f=Math.floor(k.end/864E5);m=k.ky;l=0;for(h=e;h<=f;h++){var q=this.g[h];if(!q){p=
h;q=this.calendar();p=new Date(p);p=new $.In(p.getUTCFullYear(),p.getUTCMonth(),p.getUTCDate());q=c7(q,p);for(var r=p=0;r<q.length;r++){var t=q[r];p+=t[1]-t[0]}q=p/6E4;this.g[h]=q={Oy:q,CB:0,cz:q?[]:null,bottom:0}}q.Oy&&(q.cz[q.cz.length-1]!=a&&q.cz.push(a),q.CB+=m,q.CB>q.Oy&&(this.j=!0),q.bottom>l&&(l=q.bottom))}k.top=l;k=l+m;for(h=e;h<=f;h++)this.g[h].bottom=k,b&&this.f<q.Oy&&(this.f=q.Oy),this.f<q.bottom&&(this.f=q.bottom)}this.I(2)}};$.g.F=function(){return l7.u.F.call(this)};
$.g.X=function(a){l7.u.X.call(this,a)};$.g.R=function(){$.td(this.be);this.g=this.be=this.Ba=this.b=null;l7.u.R.call(this)};$.H(m7,$.Yq);$.g=m7.prototype;$.g.margin=function(a,b,c,d){this.Mc||(this.Mc=new $.zv,$.L(this.Mc,this.sA,this));return $.n(a)?(this.Mc.K.apply(this.Mc,arguments),this):this.Mc};$.g.sA=function(){this.ta(1)};$.g.qa=1;$.g.X=function(a,b){m7.u.X.call(this,a,b);this.margin().ia(!!b,a.margin)};$.g.F=function(){var a=m7.u.F.call(this);a.margin=this.margin().F();return a};$.g.R=function(){$.qd(this.Mc);m7.u.R.call(this)};var uoa=m7.prototype;uoa.margin=uoa.margin;$.H(n7,m7);var J7={};$.hq(J7,[[0,"size",$.Qq],[1,"borderRadius",$.Uq],[0,"opacity",$.Tq],[0,"align",$.oq],[0,"fittingMode",$.oq]]);$.U(n7,J7);n7.prototype.X=function(a,b){n7.u.X.call(this,a,b);$.zq(this,J7,a,b)};n7.prototype.F=function(){var a=n7.u.F.call(this);$.Hq(this,J7,a);return a};$.H(o7,$.Y);o7.prototype.qa=$.Y.prototype.qa;o7.prototype.sa=$.Y.prototype.sa;var voa={};$.hq(voa,[[0,"width",$.Qq],[0,"imageSrc",$.oq],[0,"name",$.oq],[0,"type",$.oq],[0,"description",$.oq],[1,"tags",$.Uq]]);$.U(o7,voa);$.g=o7.prototype;$.g.offsetY=function(a){return $.n(a)?(this.aN!=a&&(this.aN=a),this):this.aN};$.g.dZ=function(a){var b={};if(a){var c=a.target,d=(0,$.za)(this.f,c);b.type=a.type;b.target=c;b.index=d;b.text=c.text();return this.dispatchEvent(b)}return!1};
$.g.remove=function(){this.va&&this.va.parent(null)};
$.g.$=function(){if(!this.Bc())return this;var a=this.P(),b=a?a.Ha():null,c=b&&!b.ff();c&&b.suspend();this.va||(this.va=$.lk());this.g||(this.g=this.va.dk(),this.g.zIndex(1));this.D||(this.D=this.va.text(),this.D.zIndex(1));this.G||(this.G=this.va.text(),this.G.zIndex(1));this.j||(this.j=this.va.text(),this.j.zIndex(1));this.f||(this.f=[]);this.J(8)&&(this.va.zIndex(this.zIndex()),this.I(8));this.J(2)&&(this.va.parent(a),this.I(2));var d=this.i("imageSrc");this.g.src(d);q7(this,this.g,p7(this,"imageSettings",
[]));a=this.i("name");p7(this,"nameSettings","useHtml")?this.D.htmlText(a):this.D.text(a);q7(this,this.D,p7(this,"nameSettings",[]));a=this.i("type");p7(this,"typeSettings","useHtml")?this.G.htmlText(a):this.G.text(a);q7(this,this.G,p7(this,"typeSettings",[]));a=this.i("description");p7(this,"descriptionSettings","useHtml")?this.j.htmlText(a):this.j.text(a);q7(this,this.j,p7(this,"descriptionSettings",[]));a=this.i("tags");var e;if(this.f.length){for(e=0;e<this.f.length;e++){var f=this.f[e];this.sc.ac(f,
"click",this.dZ);$.qd(f)}this.f=[]}var h=p7(this,"tagSettings",[]);h.background=p7(this,"tagSettings","background");h.padding=p7(this,"tagSettings","padding");for(e=0;e<a.length;e++)f=new $.jv,this.sc.ra(f,"click",this.dZ),f.K(h),f.jm().cursor("pointer"),f.P(this.va),f.zIndex(1),f.text(a[e]),this.f.push(f);if(this.J(4)){var k=this.i("height");a=this.O.bZ(this,k);h=this.O.H0(k);var l=this.O.G0(k);k=this.i("width");(0,window.isNaN)(a)||((0,window.isNaN)(l)||(a=Math.min(a,l)),(0,window.isNaN)(h)||(a=
Math.max(a,h)));f=p7(this,"imageSettings","margin");this.coords.dk.x=$.M(f.left,k)||0;var m=$.M(f.right,k)||0;this.coords.dk.y=$.M(f.top,a)||0;e=$.M(p7(this,"imageSettings","size"),k)||0;this.g.width(e);this.g.height(e);var p=0,q=0;""!=d&&(this.g.clip(moa(this)),p=this.coords.dk.x+e+m,q=this.coords.dk.y+e+$.M(f.bottom,a)||0);this.coords.name.x=0;this.coords.name.y=0;this.coords.name.height=0;null!=this.i("name")&&(f=p7(this,"nameSettings","margin"),r7(this,this.D,this.coords.name,p,f,a));this.coords.type.y=
this.coords.name.y+this.coords.name.height;null!=this.i("type")&&(f=p7(this,"typeSettings","margin"),r7(this,this.G,this.coords.type,p,f,a));this.coords.description.y=this.coords.type.y+this.coords.type.height;null!=this.i("description")&&(f=p7(this,"descriptionSettings","margin"),r7(this,this.j,this.coords.description,p,f,a));d=k-p;var r=this.coords.description.y+this.coords.description.height;f=r;if(this.f.length){f=p7(this,"tagSettings","margin");var t=$.M(f.left,k);m=$.M(f.right,k);var u=$.M(f.bottom,
a)||0;var v=$.M(f.top,a)||0;var w=p+t;r+=v;var x=!1;for(e=0;e<this.f.length;e++){f=this.f[e];var y=f.gi();x&&w+y.width+m-p>d&&(w=p+t,r=r+y.height+u+v);f.offsetX(w);f.offsetY(r);f.$();x=!0;w+=y.width+m+t}f=r+y.height+u}(0,window.isNaN)(a)?(this.N=Math.max(q,f),(0,window.isNaN)(l)||(this.N=Math.min(this.N,l)),(0,window.isNaN)(h)||(this.N=Math.max(this.N,h))):this.N=a;this.xb=$.gn(0,0,k,this.N);this.g.jc(1,0,0,1,this.coords.dk.x,this.coords.dk.y);this.D.jc(1,0,0,1,this.coords.name.x,this.coords.name.y);
this.G.jc(1,0,0,1,this.coords.type.x,this.coords.type.y);this.j.jc(1,0,0,1,this.coords.description.x,this.coords.description.y);this.va.clip(this.xb);this.I(4)}this.va.jc(1,0,0,1,0,this.aN);c&&b.resume();return this};$.g.F=function(){return o7.u.F.call(this)};$.g.X=function(a,b){o7.u.X.call(this,a,b)};$.g.R=function(){this.O=null;$.td(this.f);this.f=null;$.qd(this.j);this.j=null;$.qd(this.G);this.G=null;$.qd(this.D);this.D=null;$.qd(this.g);this.g=null;$.qd(this.va);this.va=null;o7.u.R.call(this)};$.H(s7,m7);var K7={};$.hq(K7,[[0,"fontSize",$.oq],[0,"fontFamily",$.oq],[0,"fontColor",$.oq],[0,"fontOpacity",$.Tq],[0,"fontDecoration",$.Wk],[0,"fontStyle",$.Xk],[0,"fontVariant",$.Yk],[0,"fontWeight",$.lq],[0,"letterSpacing",$.lq],[0,"textDirection",$.Zk],[0,"lineHeight",$.lq],[0,"textIndent",$.qq],[0,"vAlign",$.Vk],[0,"hAlign",$.Uk],[0,"wordWrap",$.tq],[0,"wordBreak",$.tq],[0,"textOverflow",$.oq],[0,"textShadow",$.ac],[0,"selectable",$.uq],[0,"useHtml",$.uq],[0,"disablePointerEvents",$.uq]]);
$.U(s7,K7);s7.prototype.X=function(a,b){s7.u.X.call(this,a,b);$.zq(this,K7,a,b)};s7.prototype.F=function(){var a=s7.u.F.call(this);$.Hq(this,K7,a);return a};$.H(t7,s7);$.g=t7.prototype;$.g.background=function(a){this.Ka||(this.Ka=new $.ku,this.Ka.U=!1,$.L(this.Ka,this.gg,this));return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.gg=function(){this.ta(1)};$.g.padding=function(a,b,c,d){this.Pa||(this.Pa=new $.tu,$.L(this.Pa,this.Pl,this));return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this):this.Pa};$.g.Pl=function(){this.ta(1)};$.g.X=function(a,b){t7.u.X.call(this,a,b);this.padding().ia(!!b,a.padding);this.background().ia(!!b,a.background)};
$.g.F=function(){var a=t7.u.F.call(this);a.padding=this.padding().F();a.background=this.background().F();a.position="left-top";a.anchor="left-top";a.rotation="0";return a};$.g.R=function(){$.td(this.Pa,this.Ka);t7.u.R.call(this)};var L7=t7.prototype;L7.background=L7.background;L7.padding=L7.padding;$.H(u7,$.iu);u7.prototype.qa=$.Y.prototype.qa;u7.prototype.sa=$.Y.prototype.sa|65488;var M7={};$.hq(M7,[[1,"stroke",$.Dq],[1,"oddFill",$.Eq],[1,"evenFill",$.Eq],[0,"drawTopLine",$.uq],[0,"drawRightLine",$.uq],[0,"drawBottomLine",$.uq],[0,"drawLeftLine",$.uq]]);$.U(u7,M7);$.g=u7.prototype;$.g.th=function(a){return null!=this.Ma[a]};$.g.fs=function(){return 1};$.g.target=function(a){return $.n(a)?(this.b!=a&&(this.b=a,this.B(512,1)),this):this.b};
$.g.background=function(a){this.Ka||(this.Ka=new $.ku,$.L(this.Ka,this.gg,this));return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.gg=function(a){$.X(a,1)&&this.B(64,1)};$.g.Gea=function(){this.B(1024,1)};$.g.$E=function(a){this.O||(this.O=new n7,$.L(this.O,this.Gea,this));return $.n(a)?(this.O.K(a),this):this.O};$.g.Pfa=function(){this.B(2048,1)};$.g.names=function(a){this.U||(this.U=new s7,$.L(this.U,this.Pfa,this));return $.n(a)?(this.U.K(a),this):this.U};$.g.Sia=function(){this.B(4096,1)};
$.g.aF=function(a){this.ga||(this.ga=new s7,$.L(this.ga,this.Sia,this));return $.n(a)?(this.ga.K(a),this):this.ga};$.g.fca=function(){this.B(8192,1)};$.g.PF=function(a){this.N||(this.N=new s7,$.L(this.N,this.fca,this));return $.n(a)?(this.N.K(a),this):this.N};$.g.uia=function(){this.B(16384,1)};$.g.Jy=function(a){this.ba||(this.ba=new t7,$.L(this.ba,this.uia,this));return $.n(a)?(this.ba.K(a),this):this.ba};
$.g.cZ=function(a){return $.n(a)?(a=$.Za($.N(a),0,1),this.Ga!=a&&(this.Ga=a,this.B(128,1)),this):this.Ga};$.g.oQ=function(a){return $.n(a)?(this.G.K(a),this.B(32768,1),this):this.G};$.g.Q$=function(){this.B(32768,1)};$.g.aa=function(){return this.b?this.b.oa.aa():null};$.g.bZ=function(a){return this.g[a.index]};$.g.H0=function(){return window.NaN};$.g.G0=function(){return window.NaN};$.g.remove=function(){this.va&&this.va.parent(null)};
$.g.$=function(){if(!this.Bc())return this;var a=this.P(),b=a?a.Ha():null,c=b&&!b.ff();c&&b.suspend();this.va||(this.va=$.lk(),this.f=this.va.Dd(),this.f.zIndex(1),this.ya=this.f.path(),this.ya.stroke(null),this.ya.zIndex(0),this.ka=this.f.path(),this.ka.stroke(null),this.ka.zIndex(0),this.D=this.f.path(),this.D.fill(null),this.D.zIndex(1));this.J(8)&&(this.va.zIndex(this.zIndex()),this.I(8));this.J(2)&&(this.va.parent(a),this.I(2));this.J(4)&&(this.Wk=this.lb(),this.va.clip(this.Wk),this.B(33216),
this.I(4));this.J(16)&&(this.D.stroke(this.i("stroke")),this.ka.fill(this.i("evenFill")),this.ya.fill(this.i("oddFill")),this.I(16));this.J(64)&&(a=this.background(),$.V(a),a.zIndex(0),a.ja(this.Wk.clone()),this.enabled()&&a.P(this.va),a.da(!1),a.$(),this.I(64));this.J(32768)&&(this.G.target(this.P().Ha().Bl()),this.G.uf(this.lb()),this.G.$(),this.I(32768));if(this.J(512)){var d=this.aa();d.Gb()>this.Qb.length&&this.B(31744);for(d.reset();d.advance();){var e=d.la();this.Qb[e]?a=this.Qb[e]:((a=this.j.pop())||
(a=new o7(this)),this.Qb.push(a),a.index=e);e=d;var f=v7("image",J7,e);var h=e.get("imageMargin");$.n(h)&&(f.margin=$.Dm(h));a.pa("imageSettings",f);f=v7("name",K7,e);h=e.get("nameMargin");$.n(h)&&(f.margin=$.Dm(h));a.pa("nameSettings",f);f=v7("type",K7,e);h=e.get("typeMargin");$.n(h)&&(f.margin=$.Dm(h));a.pa("typeSettings",f);f=v7("description",K7,e);h=e.get("descriptionMargin");$.n(h)&&(f.margin=$.Dm(h));a.pa("descriptionSettings",f);f=v7("tags",K7,e);h=e.get("tagsMargin");$.n(h)&&(f.margin=$.Dm(h));
h=e.get("tagsPadding");$.n(h)&&(f.padding=$.Dm(h));h=e.get("tagsBackground");$.n(h)&&(f.background=h);a.pa("tagSettings",f);a.pa("width",this.Wk.width);a.pa("height",this.Wk.height);a.pa("imageSrc",e.get("image")||"");a.pa("name",e.get("name")||null);a.pa("type",e.get("type")||null);a.pa("description",e.get("description")||null);h=(h=e.get("tags"))?$.A(h)?h.slice():[h]:[];a.pa("tags",h);e=e.get("enabled");e=$.n(e)&&!(0,window.isNaN)(e)?!!e:!0;a.enabled(e).ib(this.Jy())}for(a=(a=d.Gb())||0;this.Qb.length!=
a;)d=this.Qb.pop(),$.V(d).enabled(!1).da(!1).$(),this.j.push(d);this.B(256);this.I(512)}if(this.J(31744)){this.Jy().background().I(4294967295);e=this.$E().F();h=this.names().F();f=this.aF().F();var k=this.PF().F();var l=this.Jy().F();for(d=0;d<this.Qb.length;d++)a=this.Qb[d],a.ma.itemSettings=void 0,a.ma.imageSettings=e,a.ma.nameSettings=h,a.ma.typeSettings=f,a.ma.descriptionSettings=k,a.ma.tagSettings=l;this.B(256);this.I(31744)}this.J(1024)&&(w7(this,"imageSettings",this.$E().F()),this.B(256),this.I(1024));
this.J(2048)&&(w7(this,"nameSettings",this.names().F()),this.B(256),this.I(2048));this.J(4096)&&(w7(this,"typeSettings",this.aF().F()),this.B(256),this.I(4096));this.J(8192)&&(w7(this,"descriptionSettings",this.PF().F()),this.B(256),this.I(8192));this.J(16384)&&(this.Jy().background().I(4294967295),w7(this,"tagSettings",this.Jy().F()),this.B(256),this.I(16384));if(this.J(256)){d=$.bc(this.D.stroke());e=$.R(0,d);h=$.R(this.Wk.width-d,d);l=0;var m=!!this.i("drawTopLine"),p=!!this.i("drawRightLine"),
q=!!this.i("drawBottomLine"),r=!!this.i("drawLeftLine");f=$.R(l,d);var t=this.Qb.length,u=t-1;this.D.clear();this.ka.clear();this.ya.clear();for(k=0;k<t;k++){var v=k==u;a=this.Qb[k];a.pa("width",this.Wk.width);a.pa("height",this.Wk.height);a.B(4);var w=l;$.V(a).P(this.f).offsetY(w).da(!1).$();w=a.enabled()?a.N:0;a=$.R(f+w-(k==t-1?d:0),d);var x=r?Math.ceil(e):Math.floor(e),y=p?Math.floor(h):Math.ceil(h),B=m&&!k?Math.ceil(f):Math.floor(f),G=q||!v?Math.floor(a):Math.ceil(a);(k&1?this.ka:this.ya).moveTo(x,
B).lineTo(y,B).lineTo(y,G).lineTo(x,G).close();r&&this.D.moveTo(e,B).lineTo(e,G);p&&this.D.moveTo(h,B).lineTo(h,G);m&&!k&&this.D.moveTo(x,f).lineTo(y,f);!q&&v||this.D.moveTo(x,a).lineTo(y,a);l+=w;f=a}this.Ja=l;this.I(256)}this.J(128)&&(this.f.jc(1,0,0,1,this.Wk.left,Math.round(this.Wk.top-this.Ja*this.Ga)),this.I(128));c&&b.resume();return this};
$.g.F=function(){var a=u7.u.F.call(this);$.Hq(this,M7,a,"Resource list");a.background=this.background().F();a.images=this.$E().F();a.names=this.names().F();a.types=this.aF().F();a.descriptions=this.PF().F();a.tags=this.Jy().F();a.overlay=this.oQ().F();return a};
$.g.X=function(a,b){u7.u.X.call(this,a,b);$.zq(this,M7,a,b);this.background().ia(!!b,a.background);this.$E().ia(!!b,a.images);this.names().ia(!!b,a.names);this.aF().ia(!!b,a.types);this.PF().ia(!!b,a.descriptions);this.Jy().ia(!!b,a.tags);this.oQ().ia(!!b,a.overlay)};
$.g.R=function(){$.td(this.j);$.td(this.Qb);$.qd(this.f);this.f=null;$.qd(this.Ka);this.Ka=null;$.qd(this.va);this.va=null;$.qd(this.Ra);this.Ra=null;$.qd(this.O);this.O=null;$.qd(this.U);this.U=null;$.qd(this.ga);this.ga=null;$.qd(this.N);this.N=null;$.qd(this.ba);this.ba=null;$.qd(this.G);this.G=null;u7.u.R.call(this)};$.H(x7,u7);$.ju(x7,u7);var N7={};$.gq(N7,0,"rowHeight",$.Qq);$.gq(N7,0,"minRowHeight",$.Qq);$.gq(N7,0,"maxRowHeight",$.Qq);$.U(x7,N7);$.g=x7.prototype;
$.g.data=function(a,b){return $.n(a)?(this.jg!==a&&(this.jg=a,$.qd(this.jd),$.K(a,$.pr)?this.oa=this.jd=a.tj():this.oa=$.K(a,$.zr)?this.jd=a.ie():(this.jd=new $.zr($.A(a)||$.z(a)?a:null,b)).ie(),$.L(this.oa,this.Id,this),this.B(524288,1)),this):this.oa};$.g.Id=function(a){$.X(a,16)&&this.B(512,1)};$.g.aa=function(){return this.oa?this.oa.aa():null};$.g.bZ=function(a,b){var c=this.i("rowHeight");return c=$.M(c,b)};$.g.H0=function(a){var b=this.i("minRowHeight");return b=$.M(b,a)};
$.g.G0=function(a){var b=this.i("maxRowHeight");return b=$.M(b,a)};$.g.F=function(){var a=x7.u.F.call(this);a.data=this.oa?this.oa.F():null;return a};$.g.X=function(a,b){x7.u.X.call(this,a,b);this.data(b?a.data:null)};$.g.R=function(){$.qd(this.jd);this.jd=null;delete this.oa;this.jg=null;x7.u.R.call(this)};var O7=u7.prototype;O7.target=O7.target;O7.background=O7.background;O7.images=O7.$E;O7.names=O7.names;O7.types=O7.aF;O7.descriptions=O7.PF;O7.tags=O7.Jy;O7.overlay=O7.oQ;O7=x7.prototype;
$.F("anychart.standalones.resourceList",function(a){var b=new x7;b.X($.mm("standalones.resourceList"),!0);b.data(a);return b});O7.data=O7.data;O7.draw=O7.$;O7.parentBounds=O7.ja;O7.container=O7.P;O7.verticalScrollBarPosition=O7.cZ;$.H(y7,$.Ys);$.g=y7.prototype;$.g.sa=3;$.g.qa=6;$.g.calendar=function(a){if($.n(a))return this.be!=a&&(this.be&&$.Zq(this.be,this.bA,this),(this.be=a)&&$.L(this.be,this.bA,this),this.D={},this.g=null,this.B(1,6)),this;this.be||(this.be=new b7,$.L(this.be,this.bA,this));return this.be};$.g.JW=function(a){return $.n(a)?(a=!!a,this.j!=a&&(this.j=a,this.D={},this.g=null,this.B(1,6)),this):this.j};$.g.l5=function(a){return $.n(a)?(a=$.uo(a),this.G!=a&&(this.G=a,this.B(2,6)),this):this.G};
$.g.ng=function(a){return $.n(a)?(a=$.Tk(a,"day",!0),this.f!=a&&(this.f=a,this.B(1,6)),this):this.f};$.g.count=function(a){return $.n(a)?(a=$.O(a),this.b!=a&&(this.b=a,this.B(1,6)),this):this.b};$.g.uO=function(a){return $.n(a)?(a=$.Rk(a),this.N!=a&&(this.N=a,this.B(2,2)),this):this.N};$.g.Na=function(){return"date-time-with-calendar"};$.g.gn=function(a){z7(this);return(ooa(this.g,$.Rk(a))-this.O)*this.G};
$.g.nw=function(a){z7(this);var b=this.g;a=a/this.G+this.O;if(b.ev)b=Math.floor(a*b.ev+b.b);else{var c=a;if(b.gm&&!b.ev){var d;if(0<=c){if(c=2*Math.ceil(c)+2,b.ln)if(b.iz)for(;b.gm.length<c;){var e=f7(b.be,b.ik.getTime(),b.ln);if((0,window.isNaN)(e)){b.ln=null;break}else b.ik.setTime(e),b.ik.add(b.ln),b.gm.push(e,b.ik.getTime())}else for(d=b.ik.getTime();b.gm.length<c;)e=d,b.ik.add(b.ln),d=b.ik.getTime(),b.gm.push(e,d)}else if(b.am&&b.Fq)if(c=2*Math.ceil(-c)+2,b.iz)for(;b.am.length<c;)if(e=g7(b.be,
b.Fk.getTime()-1,b.Fq),(0,window.isNaN)(e)){b.Fq=null;break}else b.Fk.setTime(e),b.Fk.add(b.bF),b.am.push(b.Fk.getTime(),e),b.Fk.setTime(e);else for(d=b.Fk.getTime();b.am.length<c;)e=d,b.Fk.add(b.Fq),d=b.Fk.getTime(),b.am.push(e,d)}0>a?(a=-a,c=b.am):c=b.gm;e=Math.floor(a);a-=e;e*=2;b=c?c.length>e?Math.floor(c[e]+(a&&(c[e+1]-c[e])*a)):c[c.length-1]:b.b}return b};
$.g.rn=function(a,b,c,d){z7(this);var e=[];a=$.Mo(this.nw(a),c||this.f,d||this.b,2E3);b=this.nw(b);a=new $.In(new Date(a));c=$.No(c||this.f,d||this.b);for(d=a.getTime();d<b;){var f=d;a.add(c);d=a.getTime();var h=d7(this.be,f,d);this.j&&!h||e.push({start:f,end:d,holiday:!h})}return e};$.g.transform=function(){return window.NaN};$.g.Fc=function(){return window.NaN};
$.g.zI=function(){this.An&&(this.min=$.Mo(this.min,this.f,this.b,2E3));if(this.yn){this.max=$.Mo(this.max,this.f,this.b,2E3);var a=new $.In(new Date(this.max));a.add($.No(this.f,this.b));this.max=a.getTime()}};$.g.Uc=function(a){for(var b=0;b<arguments.length;b++)y7.u.Uc.call(this,$.cs(arguments[b]));return this};$.g.bA=function(a){$.X(a,2)&&(this.D={},this.g=null,this.B(1,2))};$.g.F=function(){var a=y7.u.F.call(this);a.skipHolidays=this.j;return a};$.g.X=function(a){y7.u.X.call(this,a);this.JW(a.skipHolidays)};
$.g.R=function(){$.qd(this.be);this.be=null;y7.u.R.call(this)};var P7={millisecond:1};P7.second=1E3*P7.millisecond;P7.minute=60*P7.second;P7.hour=60*P7.minute;P7.day=24*P7.hour;P7.week=7*P7.day;var poa=P7;$.g=noa.prototype;$.g.be=null;$.g.iz=!1;$.g.ik=null;$.g.Fk=null;$.g.ev=window.NaN;$.g.ln=null;$.g.bF=null;$.g.Fq=null;$.g.gm=null;$.g.am=null;var Q7=y7.prototype;Q7.dateToPix=Q7.gn;Q7.pixToDate=Q7.nw;Q7.calendar=Q7.calendar;Q7.skipHolidays=Q7.JW;Q7.unitPixSize=Q7.l5;Q7.unit=Q7.ng;Q7.count=Q7.count;
Q7.startDate=Q7.uO;Q7.getTicks=Q7.rn;Q7.softMinimum=Q7.aB;Q7.softMaximum=Q7.$A;Q7.minimumGap=Q7.xs;Q7.maximumGap=Q7.vs;Q7.minimum=Q7.uh;Q7.maximum=Q7.Rh;$.H(A7,$.gx);A7.prototype.sa=$.gx.prototype.sa|67104768;A7.prototype.Na=function(){return"resource"};A7.prototype.Te=function(){return[]};
var R7=function(){var a={};$.gq(a,0,"pixPerHour",function(a){a=$.N(a);return(0,window.isNaN)(a)?this.i("pixPerHour"):a});$.gq(a,0,"minRowHeight",function(a){a=$.N(a);return(0,window.isNaN)(a)?this.i("minRowHeight"):a});$.gq(a,0,"resourceListWidth",function(a){a=$.so(a);return null===a?this.i("resourceListWidth"):a});$.gq(a,0,"timeLineHeight",function(a){a=$.so(a);return null===a?this.i("timeLineHeight"):a});$.gq(a,0,"defaultMinutesPerDay",function(a){return $.O(a,60)});$.gq(a,0,"currentStartDate",
function(a){return(a=$.cs(a))?a.getTime():this.i("currentStartDate")});$.gq(a,1,"splitterStroke",$.Dq);return a}();$.U(A7,R7);$.g=A7.prototype;$.g.data=function(a,b){return $.n(a)?(this.jg!==a&&(this.jg=a,$.qd(this.jd),$.K(a,$.pr)?this.oa=this.jd=a.tj():this.oa=$.K(a,$.zr)?this.jd=a.ie():(this.jd=new $.zr($.A(a)||$.z(a)?a:null,b)).ie(),$.L(this.oa,this.Id,this),this.B(524544,1)),this):this.oa};$.g.Va=function(a){return $.n(a)?(this.cb.K(a),this):this.cb};
$.g.cX=function(a){if($.n(a)){var b=$.xk(roa,a,"activity-per-resource");a="availability-per-chart"==b||"activity-per-chart"==b;b="availability-per-chart"==b||"availability-per-resource"==b;if(this.me!=a||this.Ud!=b)this.me=a,this.Ud=b,this.B(524288,1);return this}return this.me?this.Ud?"availability-per-chart":"activity-per-chart":this.Ud?"availability-per-resource":"activity-per-resource"};$.g.G$=function(a,b,c,d){return $.n(a)?(this.Ra.K.apply(this.Ra,arguments),this):this.Ra};
$.g.cz=function(a){return $.n(a)?(this.Tc.K(a),this):this.Tc};$.g.hR=function(a){return $.n(a)?(this.ka.K(a),this):this.ka};$.g.calendar=function(a){return $.n(a)?(this.be.K(a),this):this.be};$.g.Hia=function(a){return $.n(a)?(this.ga.K(a),this):this.ga};$.g.dfa=function(a){return $.n(a)?(this.eb.K(a),this):this.eb};$.g.ZY=function(a){return $.n(a)?(this.f.K(a),this):this.f};$.g.Zp=function(a){return $.n(a)?(this.D.K(a),this):this.D};$.g.Sw=function(a){return $.n(a)?(this.j.K(a),this):this.j};
$.g.Yy=function(a){if($.n(a)){if($.A(a)){for(var b=[],c=0;c<a.length;c++){var d=a[c];var e=d.levels;if($.A(e)&&e.length){for(var f=[],h=0;h<e.length;h++){var k=$.Qc(e[h]);k.unit=$.Tk(k.unit,"day",!0);k.count=$.O(k.count);f.push(k)}d={id:d.id?String(d.id):void 0,unit:$.Tk(d.unit,f[0].unit,!0),count:$.O(d.count,f[0].count,!1),unitPixSize:$.N(d.unitPixSize)||50,levels:f}}else d=null;d&&b.push(d)}b.length&&(this.Ge=b,this.hJ(this.hJ()))}return this}return $.Kl(this.Ge)};
$.g.hJ=function(a){if($.n(a)){var b=window.NaN;if($.z(a))for(var c=0;c<this.Ge.length;c++){var d=this.Ge[c];if(d.id==a){b=c;break}}(0,window.isNaN)(b)&&(b=$.O(a,0,!0));if(d=this.Ge[b])this.Gk=b,a=d,$.V(this),this.cb.ng(a.unit),this.cb.count(a.count),this.cb.l5(a.unitPixSize),this.ga.tW(a.levels),this.da(!0);return this}return(d=this.Ge[this.Gk])&&d.id?d.id:this.Gk};$.g.J$=function(a){return $.n(a)?(this.Ja.K(a),this.B(8388608,1),this):this.Ja};
$.g.Eha=function(a){return $.n(a)?(this.G.K(a),this.B(8388608,1),this):this.G};$.g.Id=function(a){$.X(a,16)&&this.B(256,1)};$.g.I$=function(a){var b=0;$.X(a,4)&&(b|=393216);$.X(a,2)&&(b|=90112);this.B(b,1)};$.g.rea=function(){this.B(4096,1)};$.g.sea=function(){this.B(8192,1)};$.g.kea=function(){this.B(4194304,1)};$.g.hea=function(){this.B(65536,1)};$.g.xea=function(){this.B(16384,1)};$.g.zea=function(){this.B(32768,1)};$.g.K$=function(){this.B(8388608,1)};$.g.Xda=function(){this.B(524288,1)};
$.g.Rda=function(){this.B(2097152,1)};$.g.Zda=function(a){var b=33554432;$.X(a,2)&&(b|=4);this.B(b,1)};$.g.wea=function(a){this.pa("currentStartDate",this.cb.nw(a.startRatio*this.ab-this.nb));this.B(262144,1);return!1};$.g.yea=function(a){this.ya=a.startRatio;this.B(1048576,1);return!1};
$.g.H$=function(a){var b=a.deltaX,c=a.deltaY,d=!1;$.wC?(b*=15,c*=15):b&&(d=!0);b=-this.nb-b;c=-this.ya*this.b-c;b=-$.Za(b,-this.ab+this.Xf.width,0);c=-$.Za(c,-this.b+this.Xf.height,0);b=this.cb.nw(b-this.nb);c/=this.b;$.V(this);b!=this.i("currentStartDate")&&(this.pa("currentStartDate",b),this.B(262144,1));c!=this.ya&&(d=!0,this.ya=c,this.B(1048576,1));d&&a.preventDefault();this.da(!0)};$.g.$q=function(a){this.$e=new B7(this,this.Ga,this.xj);this.$e.Tj(a.Vj)};
$.g.$Y=function(){if(!this.Dy){var a=this.P(),b;a&&(b=a.Ha())?(this.Dy=!0,this.U=new $.rx(b.Bl()),this.sc.ra(this.U,"mousewheel",this.H$)):this.ip||(this.ip=(0,$.pa)(this.$Y,this),(0,window.setTimeout)(this.ip,0))}};$.g.aa=function(){this.sw||(this.sw=new C7(this));return this.sw};$.g.vc=function(){return this.aa().reset()};
$.g.ob=function(){if(this.J(524288)){this.cb.tg();var a=this.oa.aa();a.reset();for(var b=0,c,d=0;a.advance();){(c=this.ba[b])?c.B(1):this.ba[b]=c=new l7(this,b);var e=c,f=this.cb;e.ob();for(var h=0;h<e.b.length;h++)for(var k=e.b[h].Im,l=0;l<k.length;l++){var m=k[l];f.Uc(m.start,m.end)}d=Math.max(d,loa(c));b++}for(b=a.Gb();b<this.ba.length;b++)$.qd(this.ba[b]);this.ba.length=a.Gb();this.cb.Cg();this.Ml=d;this.g=[];this.gp=[];this.b=0;a=this.O.length=0;e=this.ka.i("height");for(b=0;b<this.ba.length;b++)c=
this.ba[b],f=this.me?d:loa(c),f=Math.max(this.i("pixPerHour")*f/60,this.i("minRowHeight")),f=this.Ra.Jj(f),c.j&&(f+=e+1),this.b+=f,this.g.push(f),this.gp.push(this.b),a+=c.b.length,this.O.push(a);this.G.g=this.g;this.G.B(512);this.B(1179648);this.I(524288)}};
$.g.rF=function(a){a=A7.u.rF.call(this,a);a=$.Po(a,0);var b=this.i("splitterStroke");b=b?$.bc(b):0;var c=$.M(this.i("timeLineHeight"),a.height),d=$.M(this.i("resourceListWidth"),a.width),e=$.R(a.top+c,0),f=$.R(a.left+d+b,0);c=e-a.top;d=f-a.left-b;this.xc.top=a.top;this.xc.left=f;this.xc.width=a.left+a.width-f;this.xc.height=c;this.Ob.left=a.left;this.Ob.top=e;this.Ob.width=d;this.Ob.height=a.top+a.height-e;this.Bd.top=a.top;this.Bd.left=a.left;this.Bd.width=d;this.Bd.height=c;a.left=f;a.top=e;a.width=
this.xc.width;a.height=this.Ob.height;return a};
$.g.ei=function(a){this.ob();if(!this.ef()){$.kr(this.D,this.j,this.ga,this.G,this.f,this.ka);this.Ga||(this.Ga=this.La.Dd(),this.Ga.zIndex(3),this.sc.ve(this.Ga,"mousedown",this.$q),this.sc.ve(this.Ga,"touchstart",this.$q),this.Tf=$.qk(),this.Ga.clip(this.Tf),this.xj=this.Ga.rect(),this.xj.zIndex(-1),this.xj.fill($.Ul),this.xj.stroke(null),this.hc=new $.JB(function(){return $.nk()},function(a){a.clear()}),this.hc.parent(this.Ga),this.hc.zIndex(3),this.tw=this.La.path(),this.tw.zIndex(3));this.$Y();
this.J(393220)&&(this.Tf.shape(a),this.xj.uf(a),this.B(66449408));if(this.J(131072)){(0,window.isNaN)(this.i("currentStartDate"))&&(this.pa("currentStartDate",this.cb.uh()),this.cb.uO(this.i("currentStartDate")));var b=this.cb.gn(this.cb.uh()),c=this.cb.gn(this.cb.Rh());this.ab=c-b;var d=this.cb.gn(this.i("currentStartDate"));(0,window.isNaN)(d)&&(d=b);var e=d+a.width;e>c&&(a.width<this.ab?d=c-a.width:(d=b,e=b+this.ab));this.pa("currentStartDate",this.cb.nw(d));this.I(131072)}this.J(262144)&&(this.cb.uO(this.i("currentStartDate")),
this.nb=-this.cb.gn(this.cb.uh()),$.nB(this.D,this.nb/this.ab,(this.nb+a.width)/this.ab));this.J(1048576)&&(d=this.ya*this.b,e=d+a.height,e>this.b&&(a.height<this.b?(e=this.b,d=e-a.height):(d=0,e=this.b)),this.ya=d/this.b||0,this.G.cZ(this.ya),ioa(this.f,this.ya),$.nB(this.j,this.ya,e/this.b||0),this.B(35753984));this.J(1310720)&&(this.D.ja(a),this.j.ja(this.D.qd()),d=this.j.qd(),this.dh=d.clone(),this.dh.height=a.height,this.hj=d.clone(),this.hj.width=a.width,this.I(1310720));this.J(16384)&&(this.D.P(this.La),
this.D.ja(this.dh),this.D.$(),this.I(16384));this.J(32768)&&(this.j.P(this.La),this.j.ja(this.hj),this.j.$(),this.I(32768));this.J(4194304)&&(this.eb.P(this.La),this.eb.ja(this.Bd),this.eb.$(),this.I(4194304));this.J(8192)&&(this.ga.Va(this.Va()),this.ga.P(this.La),this.ga.ja(this.xc),this.ga.$(),this.I(8192));this.J(16777216)&&(e=(d=this.i("splitterStroke"))?$.bc(d):0,e=$.R(this.Ob.$a()+e/2,e),this.tw.clear().moveTo(e,this.xc.top).lineTo(e,a.Ua()).stroke(d),this.I(16777216));this.J(8388608)&&(this.Ja.target(this.P().Ha().Bl()),
this.Ja.uf(this.lb()),this.Ja.$(),this.I(8388608));this.J(4096)&&(this.G.ja(this.Ob),this.G.P(this.La),this.G.$(),this.I(4096));this.J(65536)&&(this.f.Va(this.Va()),this.f.P(this.Ga),this.f.ja(a),hoa(this.f,this.g),this.f.$(),this.I(65536));if(this.J(35651584)){d=$.bc(this.f.i("horizontalStroke"));e=a.clone();b=this.cb.nw(0);c=this.cb.nw(a.width);var f=$.R(Math.round(a.top-this.ya*this.b),d);this.hc.clear();this.ka.clear();this.Tc.ID(this.Ga,a);this.Pg.length=0;for(var h={UL:0,B3:this.Pg},k=$.bc(this.f.i("verticalStroke")),
l=0;l<this.ba.length;l++){var m=this.g[l];var p=f;f=$.R(f+m,d);var q=$.M(this.Ra.i("top"),m);m=$.M(this.Ra.i("bottom"),m);e.top=p+d/2+q;e.height=f-d/2-m-e.top;h=this.ba[l].$(h,b,c,this.hc,e.clone(),k)}this.Tc.fi();this.ka.P(this.Ga);this.ka.ja(a);this.ka.$();this.I(35651584)}$.mr(this.D,this.j,this.ga,this.G,this.f,this.ka)}};$.g.Fl=function(a){return $.n(a)?(a=$.yk(a),a!=this.N&&(this.N=a),this):this.N};$.g.Ni=function(a){return $.n(a)?(a=$.zk(a),a!=this.Eh&&(this.Eh=a),this):this.Eh};$.g.Ii=function(){return!0};
$.g.Rg=function(){return!0};$.g.hk=function(){return!1};$.g.Rd=function(){return null};$.g.Uk=function(a){var b=this.aa(),c=+b.b;b=b.j;var d=$.bc(this.f.i("verticalStroke"));koa(this.ba[c],b,a,this.hc,d)};$.g.Xj=function(a,b){var c=this.aa(),d=+c.b;c=c.j;var e=$.bc(this.f.i("verticalStroke"));koa(this.ba[d],c,a,this.hc,e);return b};$.g.fm=$.ia;$.g.Wp=$.ia;$.g.ig=function(a){a=$.Y.prototype.ig.call(this,a);var b=$.mo(a.domTarget);b=$.N(b.index);(0,window.isNaN)(b)||(a.pointIndex=b);return a};
$.g.Ig=function(a){var b=a.type;switch(b){case "mouseout":b="pointmouseout";break;case "mouseover":b="pointmouseover";break;case "mousemove":b="pointmousemove";break;case "mousedown":b="pointmousedown";break;case "mouseup":b="pointmouseup";break;case "click":case "touchstart":b="pointclick";break;case "dblclick":b="pointdblclick";break;default:return null}var c=window.NaN;"pointIndex"in a?c=$.N(a.pointIndex):("labelIndex"in a?c=a.labelIndex:"markerIndex"in a&&(c=a.markerIndex),c=this.Pg[$.N(c)]);
a.pointIndex=c;var d=this.aa();if(d.select(c)){var e=+d.b;d=d.j;var f=this.ba[e].b[d]||null}else e=d=window.NaN,f=null;return{type:b,actualTarget:a.target,target:this,originalEvent:a,resourceIndex:e,activityIndex:d,pointIndex:c,data:f.data,chart:this}};$.g.Oj=function(a,b){this.Hi((this.O[a-1]||0)+b);return this};$.g.Hi=function(a){this.Pd();$.cx(this.state,a);return this};$.g.Pd=function(a,b){this.state.Hh($.po,$.n(a)?(this.O[+a-1]||0)+ +b:window.NaN)};
$.g.select=function(a,b){this.Mi((this.O[a-1]||0)+b);return this};$.g.Mi=function(a,b){this.state.xh($.qo,a,b&&b.shiftKey?void 0:$.po);return this};$.g.ae=function(a,b){this.state.Hh($.qo,$.n(a)?(this.O[+a-1]||0)+ +b:window.NaN)};$.g.uu=function(){return!0};
$.g.xk=function(){this.qu||(this.qu=new $.rw);var a=this.aa(),b=+a.b,c=a.j,d=(this.ba[b]||null).b[c]||null;a=this.oa.aa();a.select(b);for(var e=window.Infinity,f=-window.Infinity,h=[],k=0;k<d.Im.length;k++){var l=d.Im[k];e=Math.min(e,l.start);f=Math.max(f,l.end);h.push({start:l.start,end:l.end,minutesPerDay:l.ky})}b={chart:{value:this,type:""},resourceIndex:{value:b,type:"number"},activityIndex:{value:c,type:"number"},activity:{value:d.data,type:""},name:{value:d.data.name,type:"string"},intervals:{value:h,
type:""},start:{value:e,type:"number"},end:{value:f,type:"number"},minutesPerDay:{value:1==h.length?h[0].minutesPerDay:window.NaN,type:"number"}};e={"%start":{value:new Date(e),type:"date-time"},"%end":{value:new Date(f),type:"date-time"}};this.qu.mj([this]).Ag(a).nl(e);return $.av(this.qu,b)};$.g.Ej=function(){return!this.oa.aa().Gb()};
$.g.F=function(){var a=A7.u.F.call(this);a.data=this.oa?this.oa.F():null;a.zoomLevels=this.Yy();a.zoomLevel=this.hJ();a.timeLine=this.ga.F();a.calendar=this.be.F();a.xScale=this.cb.F();a.resourceList=this.G.F();a.horizontalScrollBar=this.D.F();a.verticalScrollBar=this.j.F();a.grid=this.f.F();a.timeTrackingMode=this.cX();a.overlay=this.Ja.F();a.cellPadding=this.Ra.F();a.conflicts=this.ka.F();$.Hq(this,R7,a);return{chart:a}};
$.g.X=function(a,b){A7.u.X.call(this,a);"cellPadding"in a&&this.Ra.K(a.cellPadding);this.Tc.ia(!!b,a.activities);this.data(a.data);this.eb.ia(!!b,a.logo);this.Ja.ia(!!b,a.overlay);this.ga.ia(!!b,a.timeLine);this.be.K(a.calendar);this.cb.K(a.xScale);this.G.K(a.resourceList);this.D.K(a.horizontalScrollBar);this.j.K(a.verticalScrollBar);this.f.K(a.grid);this.Yy(a.zoomLevels);this.hJ(a.zoomLevel);this.cX(a.timeTrackingMode);this.hR(a.conflicts);$.zq(this,R7,a)};
$.g.R=function(){$.td(this.$e,this.xj,this.jd,this.ga,this.eb,this.G,this.D,this.j,this.f,this.ba,this.be,this.cb,this.Ja,this.ka);delete this.oa;this.$e=this.xj=this.jd=this.jg=this.ga=this.eb=this.G=this.D=this.j=this.f=this.ba=this.be=this.cb=this.Ja=this.ka=null;A7.u.R.call(this)};$.H(B7,$.ag);B7.prototype.j=function(){return!0};B7.prototype.g=function(){$.n(this.zj)&&($.fl.cancelAnimationFrame(this.zj),this.Xr(0))};
B7.prototype.Hq=function(){var a=this.b.Xd();this.deltaX=-this.Ba.nb;this.f.left=-this.Ba.ab+a;this.f.width=this.Ba.ab-a;a=this.b.ud();this.deltaY=-this.Ba.ya*this.Ba.b;this.f.top=-this.Ba.b+a;this.f.height=this.Ba.b-a};B7.prototype.Rr=function(a,b){this.ga=-a;this.Ga=-b;$.n(this.zj)&&$.fl.cancelAnimationFrame(this.zj);this.zj=$.fl.requestAnimationFrame(this.Xr)};$.H(C7,$.or);$.g=C7.prototype;$.g.reset=function(){this.b=0;this.j=this.g=-1;return this};
$.g.select=function(a){this.g=a;var b=$.Na(this.Ba.O,a);if(0>b)this.b=~b;else{for(;this.Ba.O[++b]==a;);this.b=b}this.j=this.g-(this.Ba.O[this.b-1]||0);return this.b<this.Ba.O.length};$.g.advance=function(){this.g++;for(var a=this.Ba.O.length,b,c=window.NaN;this.b<a&&this.g>=(b=this.Ba.O[this.b]);)c=b,this.b++;(0,window.isNaN)(c)&&(c=this.Ba.O[this.b-1]||0);this.j=this.g-c;return this.b<a};$.g.la=function(){return this.g};$.g.Gb=function(){return this.Ba.O[this.Ba.O.length-1]||0};
$.g.get=function(){throw"Cannot use get on ActivityIterator";};$.g.o=function(){throw"Cannot use meta on ActivityIterator";};A7.prototype.At=function(){return[this]};A7.prototype.qk=function(a,b){var c=$.mx(this);return $.bp(c.headers,c.data,b)};var S7=A7.prototype;S7.getType=S7.Na;S7.data=S7.data;S7.timeTrackingMode=S7.cX;S7.cellPadding=S7.G$;S7.zoomLevels=S7.Yy;S7.zoomLevel=S7.hJ;S7.xScale=S7.Va;S7.horizontalScrollBar=S7.Zp;S7.verticalScrollBar=S7.Sw;S7.grid=S7.ZY;S7.logo=S7.dfa;S7.timeLine=S7.Hia;
S7.calendar=S7.calendar;S7.overlay=S7.J$;S7.activities=S7.cz;S7.conflicts=S7.hR;S7.resourceList=S7.Eha;S7.hover=S7.Oj;S7.hoverPoint=S7.Hi;S7.unhover=S7.Pd;S7.select=S7.select;S7.selectPoint=S7.Mi;S7.unselect=S7.ae;S7.noData=S7.Pm;$.Jp.resource=qoa;$.F("anychart.resource",qoa);}).call(this,$)}
if(!_.theme_resource){_.theme_resource=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{resource:{calendar:{},conflicts:{labels:{enabled:!0,anchor:"left-top",hAlign:"center",fontSize:"8pt",padding:0,fontColor:"#F4F4F4",format:"{%hours}{decimalsCount:1}h ({%percent}{decimalsCount:2}%)"},fill:"#dd2c00",stroke:"none",hatchFill:null,height:15,zIndex:100},overlay:{enabled:!1},activities:{normal:{labels:{enabled:!0,anchor:"left-top",fontColor:"#F4F4F4",format:"{%name} ({%hoursPerDayRounded}{decimalsCount:1}h)",position:"left-top"},fill:"#1976d2",stroke:null,
hatchFill:!1},hovered:{labels:{enabled:null},fill:$.YM,stroke:$.SM,hatchFill:null},selected:{labels:{enabled:null},fill:"#333",stroke:$.SM,hatchFill:null}},resourceList:{oddFill:"none",evenFill:"none",enabled:!0,width:"100%",height:"100%",background:{enabled:!0,fill:"#F3F7FA",stroke:"none",cornerType:"none",corners:0},images:{borderRadius:10,opacity:1,align:"none",fittingMode:"meet",size:"25%",margin:{top:5,right:0,bottom:5,left:5}},baseSettings:{margin:{top:2,right:0,bottom:3,left:5},fontSize:15,
textOverflow:"...",fontFamily:'"Helvetica Neue","Helvetica",sans-serif'},names:{margin:{top:5,right:0,bottom:3,left:5},fontSize:17,fontWeight:"bold",fontColor:"#000"},types:{fontSize:10,fontColor:"#212121"},descriptions:{fontSize:12,fontColor:"#959CA0",fontWeight:"bold"},tags:{fontSize:9,fontColor:"#212121",background:{enabled:!0,fill:"#eee",stroke:"#ccc",cornerType:"round",corners:4},padding:5,margin:{top:2,right:0,bottom:3,left:5}},drawTopLine:!1,drawRightLine:!1,drawBottomLine:!0,drawLeftLine:!1,
stroke:"#ccc",zIndex:2,overlay:!0},logo:{enabled:!0,fill:"#E7ECF0",stroke:"none",bottomStroke:"#ccc",zIndex:2,overlay:!1},timeLine:{enabled:!0,background:{enabled:!1},overlay:{enabled:!1},zIndex:2,vAlign:"middle",hAlign:"center",textOverflow:"",fill:"none",stroke:"#ccc",padding:[2,10,2,10],fontSize:11,fontWeight:"bold",fontFamily:'"Helvetica Neue", Helvetica, sans-serif',drawTopLine:!1,drawRightLine:!1,drawBottomLine:!0,drawLeftLine:!1},grid:{overlay:{enabled:!1},background:{enabled:!1,fill:"#F3F7FA"},
oddFill:"#fff",evenFill:"#fff",oddHolidayFill:"#F4F4F4 .7",evenHolidayFill:"#F4F4F4 .7",oddHatchFill:null,evenHatchFill:null,oddHolidayHatchFill:null,evenHolidayHatchFill:null,horizontalStroke:"#ccc",verticalStroke:"#ccc",drawTopLine:!1,drawRightLine:!1,drawBottomLine:!0,drawLeftLine:!1,zIndex:2},xScale:{minimumGap:.01,maximumGap:.01},horizontalScrollBar:{enabled:!0,allowRangeChange:!1,autoHide:!0,orientation:"bottom",thumbs:!1,fill:null,zIndex:1010},verticalScrollBar:{enabled:!0,allowRangeChange:!1,
autoHide:!0,orientation:"right",thumbs:!1,fill:null,zIndex:1010,inverted:!0},zoomLevels:[{id:"days",levels:[{unit:"day",count:1,formats:["MMM\ndd  EEEE"],format:function(){return this.value.toUpperCase()},hAlign:"left"}],unit:"day",count:1,unitPixSize:220},{id:"weeks",levels:[{unit:"day",count:1,formats:["dd EEE","dd"],hAlign:"left",fill:"#fff",fontColor:"#ABB6BC",format:function(){return this.value.toUpperCase()},height:30},{unit:"week",count:1,formats:["w MMM"],fill:"#F0F5F8",format:function(){return this.value.toUpperCase()}}],
unit:"day",count:1,unitPixSize:100},{id:"months",levels:[{unit:"day",count:1,formats:["d EEE","d"],hAlign:"center",padding:[2,5,2,5],fill:"#fff",format:function(){return this.value.toUpperCase()},height:30},{unit:"week",count:1,formats:["w MMM"],fill:"#F0F5F8",format:function(){return this.value.toUpperCase()}}],unit:"day",count:1,unitPixSize:25}],zoomLevel:0,padding:0,margin:20,resourceListWidth:260,timeLineHeight:52,cellPadding:[2,2,2,2],minRowHeight:50,pixPerHour:25,defaultMinutesPerDay:60,splitterStroke:"#ccc",
timeTrackingMode:"activity-per-resource",background:{enabled:!0,stroke:"#ccc"},tooltip:{allowLeaveScreen:!1,allowLeaveChart:!0,displayMode:"single",positionMode:"float",title:{enabled:!0,fontSize:13},separator:{enabled:!0},titleFormat:"{%name}",format:function(){return"Starts: "+$.ks(this.start)+"\nEnds: "+$.ks(this.end)}}}});
$.ra($.fa.anychart.themes.defaultTheme.standalones,{resourceList:{width:"33%",height:"100%",background:{enabled:!0,fill:"#ccc",stroke:"#ccc",cornerType:"none",corners:0},rowHeight:null,minRowHeight:"20%",maxRowHeight:"50%",images:{borderRadius:10,opacity:1,align:"none",fittingMode:"meet",size:"25%",margin:{top:5,right:0,bottom:5,left:5}},baseSettings:{margin:{top:2,right:0,bottom:3,left:5},fontSize:15,textOverflow:"..."},names:{margin:{top:5,right:0,bottom:3,left:5}},types:{fontSize:10,fontColor:"#212121"},
descriptions:{fontSize:12,fontColor:"#545f69",fontStyle:"oblique"},tags:{fontSize:9,fontColor:"#212121",background:{enabled:!0,fill:"#eee",stroke:"#ccc",cornerType:"round",corners:4},padding:5,margin:{top:2,right:0,bottom:3,left:5}}}});}).call(this,$)}
if(!_.sankey){_.sankey=1;(function($){var SS=function(a,b){$.Yq.call(this);this.Aa=a;this.je=b;this.gb=null;var c={};$.T(c,[["fill",0,8192],["stroke",0,8192],["labels",0,0]]);this.ca=new $.Yx(this,c,$.Zl);$.W(this,"normal",this.ca);this.ca.pa("labelsFactoryConstructor",$.Zx);this.ca.pa("labelsAfterInitCallback",$.dy);this.xa=new $.Yx(this,c,$.po);$.W(this,"hovered",this.xa);this.xa.pa("labelsFactoryConstructor",$.$x);this.xa.pa("labelsAfterInitCallback",function(a){a.I(4294967295)})},TS=function(a,b){$.gx.call(this);this.Fa("sankey");
$.eu(this,this,this.rg,this.Gg,null,this.rg,null,null);$.T(this.ua,qfa);this.data(a||null,b);this.EQ=(0,$.pa)(this.EQ,this);this.CQ=(0,$.pa)(this.CQ,this)},US=function(a,b){for(var c=b.AD,d=0;d<c.length;d++){var e=c[d];b.level>=e.level&&(e.level=b.level+1,US(a,e));e.level>a.G&&(a.G=e.level)}},WS=function(a,b){return b?(a.tf[b]||(a.tf[b]={type:VS,name:b,level:0,nM:0,kN:0,YF:0,aH:[],AD:[],z1:[],W2:[],N_:[],Qna:[],$na:[],Zx:[],py:[],gR:!1}),a.tf[b]):null},YS=function(a,b){var c=b.type,d;if(c==VS){var e=
b.name;a.isConflict={value:b.gR,type:"string"};var f=[];for(d=0;d<b.aH.length;d++){var h=b.aH[d];var k=$.xa(h.AD,function(a){return a==b});f.push({name:h.name,value:h.W2[k]})}a.income={value:f,type:""};f=[];for(d=0;d<b.AD.length;d++)h=b.AD[d],k=$.xa(h.aH,function(a){return a==b}),f.push({name:h.name,value:h.z1[k]});a.outcome={value:f,type:""};a.dropoff={value:b.YF,type:"number"}}else e=c==XS?b.from.name+" -> "+b.Cf.name:b.from.name+" dropoff";a.type={value:rfa[c],type:"string"};a.name={value:e,type:"string"};
a.value={value:b.weight,type:"number"}},ZS=function(a,b,c){c=c?a.node().mb().labels():a.node().Sa().labels();a=a.node().Sa().labels();c=c.i("position");a=a.i("position");a=$.Ck(c||a,"center");var d=c=0,e=(b.qj+b.rj)/2,f=(b.se+b.Xe)/2;switch(a){case "left-top":c=b.qj;d=b.se;break;case "left-center":c=b.qj;d=f;break;case "left-bottom":c=b.qj;d=b.Xe;break;case "center-top":c=e;d=b.se;break;case "center":c=e;d=f;break;case "center-bottom":c=e;d=b.Xe;break;case "right-top":c=b.rj;d=b.se;break;case "right-center":c=
b.rj;d=f;break;case "right-bottom":c=b.rj,d=b.Xe}return{value:{x:c,y:d}}},aT=function(a,b,c,d,e,f){for(var h,k,l=0;l<b.length;l++)h=b[l],k=h.path,$S(a,a.b,k.tag,k,d),h.label.Vk(c),h.label.uc({value:e(h,f)}),a.ce(a.b,h,d)},$S=function(a,b,c,d,e){c=a.Ae(c);a=b.Gm(e,c);b=b.bl(e,c);d.fill(a);d.stroke(b)},bT=function(a,b,c,d,e,f){var h=b.tag;$S(a,a.f,h,b,c);b=h.element;aT(a,b.Zx,d,c,f,"leftTop");aT(a,b.py,e,c,f,"rightTop");b.label.uc(ZS(a,b,c));a.ce(a.f,b,c)},cT=function(a,b,c){b=b.tag;var d=b.element;
$S(a,a.b,b,d.path,c);d.label.Vk("center-bottom");d.label.uc({value:a.iX(d)});$S(a,a.f,d.from.path.tag,d.from.path,c);$S(a,a.f,d.Cf.path.tag,d.Cf.path,c);a.ce(a.b,d,c)},dT=function(a,b,c){var d=b.tag;$S(a,a.j,d,b,c);a.ce(a.j,d.element,c)},eT=function(a){return(a.se+a.Xe)/2},sfa=function(a,b){for(var c=0;c<a.g.length;c++)for(var d=a.g[c].tf,e=0;e<d.length;e++){var f=d[e];if(f.Zx.length){var h=(0,$.Fg)(f.Zx,function(a,b){return a+eT(b.from)*b.weight},0,a),k=(0,$.Fg)(f.Zx,function(a,b){return a+b.weight},
0,a);h=(h/k-eT(f))*b;f.se+=h;f.Xe+=h}}},tfa=function(a,b){for(var c=a.g.slice(),d=0;d<c.length;d++)for(var e=a.g[d].tf,f=0;f<e.length;f++){var h=e[f];if(h.py.length){var k=(0,$.Fg)(h.py,function(a,b){return a+eT(b.Cf)*b.weight},0,a),l=(0,$.Fg)(h.py,function(a,b){return a+b.weight},0,a);k=(k/l-eT(h))*b;h.se+=k;h.Xe+=k}}},fT=function(a,b){for(var c=0;c<a.g.length;c++){var d=a.g[c].tf.slice(),e=b.top,f=e+b.height,h=d.length,k,l=a.i("nodePadding");d.sort(a.DQ);for(k=0;k<h;++k){var m=d[k];e-=m.se;0<e&&
(m.se+=e,m.Xe+=e);e=m.Xe+l}e=e-l-f;if(0<e)for(m.se=m.se-e,m.Xe=m.Xe-e,e=m.se,k=h-2;0<=k;--k)m=d[k],e=m.Xe+l-e,0<e&&(m.se-=e,m.Xe-=e),e=m.se}},gT=function(a,b,c){var d;for(d=0;d<b.length;d++){var e=b[d];$S(a,c,e.tag,e,$.Zl)}},hT=function(a,b){return new TS(a,b)};$.H(SS,$.Yq);$.xq(SS,["fill","stroke","labels"],"normal");$.g=SS.prototype;$.g.qa=$.Yq.prototype.qa|28672;$.g.Na=function(){return this.je};$.g.sg=function(){$.W(this,"normal",this.ca);$.W(this,"hovered",this.xa)};
$.g.Xa=function(a){this.gb||(this.gb=new $.iw(0),this.gb.Ye(),$.W(this,"tooltip",this.gb),this.gb.parent(this.Aa.Xa()),this.gb.Aa(this.Aa));return $.n(a)?(this.gb.K(a),this):this.gb};$.g.hp=function(){this.ta(16384)};$.g.Zd=function(){this.ta(4096)};$.g.GH=function(){this.ca.labels().I(4294967295);this.xa.labels().I(4294967295)};$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.Gm=function(a,b){return this.Cy("fill",a,b)};
$.g.bl=function(a,b){return this.Cy("stroke",a,b)};$.g.Cy=function(a,b,c){a=(b?this.xa:this.ca).i(a)||this.ca.i(a);$.E(a)&&(a=a.call(c,c));return a};$.g.F=function(){var a=SS.u.F.call(this);a.tooltip=this.Xa().F();a.normal=this.ca.F();a.hovered=this.xa.F();return a};$.g.X=function(a,b){SS.u.X.call(this,a,b);"tooltip"in a&&this.Xa().ia(!!b,a.tooltip);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered)};$.g.R=function(){$.td(this.gb,this.ca,this.xa);SS.u.R.call(this)};var iT=SS.prototype;
iT.tooltip=iT.Xa;iT.normal=iT.Sa;iT.hovered=iT.mb;$.H(TS,$.gx);$.uz(TS,"sankey",["appearance","data","flowlabels","nodelabels"]);TS.prototype.qa=$.gx.prototype.qa;var jT={};$.hq(jT,[[0,"nodeWidth",$.Qq],[0,"nodePadding",$.qq],[0,"curveFactor",$.Tq]]);$.U(TS,jT);var qfa=[["nodeWidth",4,1],["nodePadding",4,1],["curveFactor",4,1]];$.g=TS.prototype;
$.g.data=function(a,b){if($.n(a)){if(a){var c=a.title||a.caption;c&&this.title(c);a.rows&&(a=a.rows)}this.jg!==a&&(this.jg=a,$.qd(this.oa),$.qd(this.jd),this.Nd=null,$.K(a,$.pr)?this.oa=a.tj():this.oa=$.K(a,$.zr)?a.ie():(this.jd=new $.zr($.A(a)||$.z(a)?a:null,b)).ie(),$.L(this.oa,this.Id,this),this.B(256),$.br(this,"sankey","data",1));return this}return this.oa};$.g.Id=function(){this.B(256);$.br(this,"sankey","data",1)};$.g.Qf=function(){return this.oa.aa()};$.g.vc=function(){return this.Nd=this.oa.aa()};
$.g.aa=function(){return this.Nd||(this.Nd=this.oa.aa())};$.g.Na=function(){return"sankey"};
$.g.ob=function(){if($.er(this,"sankey","data")){this.tf={};this.D={};this.G=-1;for(var a=this.aa().reset();a.advance();){var b=String(a.get("from"));var c=a.get("to");c=null===c||$.D(c)?null:String(c);var d=$.N(a.get("weight"));var e=!b.length;var f=null!==c&&!c.length;$.ea(d)&&0<d&&!e&&!f&&(b=WS(this,b),e=WS(this,c),c=b,b=e,e=this.aa().la(),this.D[e]={type:b?XS:kT,Yi:e,from:c,Cf:b,weight:d},c.kN+=d,b?(c.py.push(this.D[e]),c.W2.push(d),c.AD.push(b),b.nM+=d,b.z1.push(d),b.aH.push(c),b.Zx.push(this.D[e]),
c.level>=b.level&&(b.level=c.level+1,US(this,b)),b.level>this.G&&(this.G=b.level)):(c.YF+=d,c.N_.push(d)))}this.g=[];this.ya=!0;for(var h in this.tf)d=this.tf[h],d.weight=Math.max(d.nM,d.kN),a=d.AD.length+d.N_.length,this.ya&&!a&&(d.level=this.G),d.aH.length&&a&&(d.gR=d.nM!=d.kN),a=d.level,this.g[a]||(this.g[a]={tf:[],weight:0,top:window.NaN}),a=this.g[a],a.tf.push(d),a.weight+=d.weight;for(d=h=0;d<this.g.length;d++)for(a=this.g[d],c=0;c<a.tf.length;c++)a.tf[c].id=h++;this.B(4);$.dr(this,"sankey",
"data")}};$.g.Ej=function(){return!this.aa().Gb()};$.g.Te=function(){return[]};$.g.hp=function(){this.Xa().$()};$.g.DF=function(a,b){if(!this.U||b)this.U=new $.rw;var c={};YS(c,a);if(a.type!=VS){var d=this.aa();d.select(a.Yi);this.U.Ag(d)}else this.U.Ag(null);return $.av(this.U,c)};$.g.fC=function(a){this.wl||(this.wl=new $.rw);var b={};a=a.element;YS(b,a);if(a.type!=VS){var c=this.aa();c.select(a.Yi);this.wl.Ag(c)}else this.wl.Ag(null);return $.av(this.wl,b)};
$.g.Eea=function(a,b){return{x:a[b].x,y:a[b].y}};$.g.iX=function(a){return{x:(a.left+a.right)/2,y:a.topCenter}};$.g.rg=function(a){var b=a.domTarget,c=b.tag;if(c){var d=c.element.type;d==VS?(d=this.f.Xa(),bT(this,b,$.po,"left-bottom","right-bottom",this.Eea)):d==XS?(d=this.b.Xa(),cT(this,b,$.po)):(d=this.j.Xa(),dT(this,b,$.po));$.Aw(d,a.clientX,a.clientY,this.fC(c))}else this.Xa().Oc()};
$.g.Gg=function(a){a=a.domTarget;var b=a.tag;this.Xa().Oc();b&&(b=b.element.type,b==VS?bT(this,a,$.Zl,"center-bottom","center-bottom",this.iX):b==XS?cT(this,a,$.Zl):dT(this,a,$.Zl))};$.g.eS=function(a){var b=[];$.X(a,8192)&&b.push("appearance");$.X(a,4096)&&(a=a.target.Na()==VS,b.push(a?"nodelabels":"flowlabels"));$.cr(this,"sankey",b,1)};$.g.hL=function(a){this.j||(this.j=new SS(this,kT),$.W(this,"dropoff",this.j),this.j.sg(),$.L(this.j,this.eS,this));return $.n(a)?(this.j.K(a),this):this.j};
$.g.xL=function(a){this.b||(this.b=new SS(this,XS),$.W(this,"flow",this.b),this.b.sg(),$.L(this.b,this.eS,this));return $.n(a)?(this.b.K(a),this):this.b};$.g.node=function(a){this.f||(this.f=new SS(this,VS),$.W(this,"node",this.f),this.f.sg(),$.L(this.f,this.eS,this));return $.n(a)?(this.f.K(a),this):this.f};
$.g.cc=function(a){if($.K(a,$.ys))return this.Ic($.ys,a),this;if($.K(a,$.vs))return this.Ic($.vs,a),this;$.D(a)&&"range"==a.type?this.Ic($.ys):($.D(a)||null==this.Ea)&&this.Ic($.vs);return $.n(a)?(this.Ea.K(a),this):this.Ea};$.g.Ic=function(a,b){if($.K(this.Ea,a))b&&this.Ea.K(b);else{var c=!!this.Ea;$.qd(this.Ea);this.Ea=new a;$.W(this,"palette",this.Ea);this.Ea.oq();b&&this.Ea.K(b);$.L(this.Ea,this.If,this);c&&$.br(this,"sankey","appearance",1)}};
$.g.If=function(a){$.X(a,2)&&$.br(this,"sankey","appearance",1)};$.g.Ae=function(a){var b=a.element;a=a.element.type;var c=this.cc();return a==VS?{id:b.id,name:b.name,sourceColor:c.nc(b.id),conflict:b.gR}:a==XS?{from:b.from.name,to:b.Cf.name,sourceColor:c.nc(b.from.id)}:{from:b.from.name,sourceColor:c.nc(b.from.id)}};var VS=0,XS=1,kT=2,rfa={0:"node",1:"flow",2:"dropoff"};$.g=TS.prototype;$.g.CQ=function(a,b){return this.DQ(a.from,b.from)};$.g.EQ=function(a,b){return this.DQ(a.Cf,b.Cf)};
$.g.DQ=function(a,b){return a.se-b.se};$.g.dU=function(a,b){return function(c){return a*(1-c)+b*c}};
$.g.ei=function(a){if(!this.ef()){this.ob();this.va||(this.va=this.La.Dd(),this.va.zIndex(30),this.node(),this.xL(),this.hL());if(this.J(4)){this.va.Ki();this.f.labels().B(2);this.b.labels().B(2);this.j.labels().B(2);this.N=[];this.ba=[];this.O=[];this.ga=[];var b=this.i("nodePadding"),c=this.i("nodeWidth");if(this.g.length){var d=this.g.length;var e=a.width/d;c=$.M(c,e);e=.3*c}else c=e=d=0;var f,h=[];for(f=0;f<this.g.length;f++){var k=this.g[f];var l=k.tf;var m=l[l.length-1].YF?e:0;l=(a.height-m-
b*(l.length-1))/k.weight;h.push(l)}this.ka=Math.min.apply(null,h);b=(a.width-c)/(d-1);for(f=0;f<this.g.length;f++)for(k=this.g[f],l=k.tf,k=0;k<l.length;k++)d=l[k],d.qj=a.left+d.level*b,d.rj=d.qj+c,d.se=a.top+k,d.Xe=d.se+d.weight*this.ka;for(var p in this.D)l=this.D[p],l.height=l.weight*this.ka;fT(this,a);l=1;for(f=32;0<f;--f)l*=.99,tfa(this,l),fT(this,a),sfa(this,l),fT(this,a);for(v in this.tf)d=this.tf[v],d.py.sort(this.EQ),d.Zx.sort(this.CQ);for(v in this.tf){d=this.tf[v];var q=b=d.se;for(f=0;f<
d.py.length;f++)l=d.py[f],l.se=q+l.height/2,q+=l.height;for(f=0;f<d.Zx.length;f++)l=d.Zx[f],l.Xe=b+l.height/2,b+=l.height}for(v in this.tf)d=this.tf[v],k=this.va.path(),k.zIndex(3),this.ba.push(k),k.tag={element:d},d.path=k,d.qj=$.R($.Qm(d.qj,4),1),d.se=$.R($.Qm(d.se,4),1),d.rj=$.R($.Qm(d.rj,4),1),d.Xe=$.R($.Qm(d.Xe,4),1),k.moveTo(d.qj,d.se).lineTo(d.rj,d.se).lineTo(d.rj,d.Xe).lineTo(d.qj,d.Xe).lineTo(d.qj,d.se).close();d=this.i("curveFactor");for(p in this.D)if(l=this.D[p],l.Cf){k=this.va.path();
k.zIndex(1);this.O.push(k);k.tag={element:l};l.path=k;a=l.from.rj;f=l.Cf.qj;q=l.se;b=l.Xe;m=this.dU(a,f);h=m(d);m=m(1-d);var r=l.height/2;l.left=a;l.right=f;l.topCenter=(q+b)/2-r;l.leftTop={x:a,y:q-r};l.rightTop={x:f,y:b-r};var t=q-r,u=b-r;q+=r;b+=r;k.moveTo(a,t).yk(h,t,m,u,f,u).lineTo(f,b).yk(m,b,h,q,a,q).lineTo(a,t);3>l.height&&(k=this.va.path(),k.zIndex(2),this.ga.push(k),k.fill($.Ul).stroke($.Ul,3),k.moveTo(a,t).yk(h,t,m,u,f,u).lineTo(f,b).yk(m,b,h,q,a,q).lineTo(a,t),k.tag={element:l})}else b=
l.from.YF*this.ka,m=Math.min(b,c/4),a=l.from.rj,f=a+m,h=l.from.Xe,b=h-b,k=this.va.path(),k.zIndex(1),this.N.push(k),k.tag={element:l},l.path=k,l.Hha=f,l.Iha=h,k.moveTo(a,b).arcTo(m,m,-90,90),b+m<h&&k.lineTo(f,h),k.lineTo((a+f)/2,h+e).lineTo(a,h).close();$.cr(this,"sankey",["appearance","nodelabels","flowlabels"]);this.I(4)}$.er(this,"sankey","appearance")&&(gT(this,this.ba,this.f),gT(this,this.O,this.b),gT(this,this.N,this.j),$.dr(this,"sankey","appearance"));if($.er(this,"sankey","nodelabels")){l=
this.f.labels();l.clear().P(this.va).zIndex(3);for(var v in this.tf)d=this.tf[v],a=d.id,c=this.DF(d,!0),e=ZS(this,d,$.Zl),d.label=l.add(c,e,a),this.ce(this.f,d,$.Zl);l.$();this.f.GH();$.dr(this,"sankey","nodelabels")}if($.er(this,"sankey","flowlabels")){v=this.b.labels();f=this.j.labels();v.clear().P(this.va).zIndex(3);f.clear().P(this.va).zIndex(3);for(p in this.D)l=this.D[p],a=$.N(p),d=l.Cf,c=this.DF(l,!0),d?(e={value:this.iX(l)},l.label=v.add(c,e,a),l.label.Vk("center-bottom")):(e={value:{x:l.Hha,
y:l.Iha}},l.label=f.add(c,e,a),l.label.Vk("left-center")),this.ce(d?this.b:this.j,l,$.Zl);v.$();f.$();this.b.GH();this.j.GH();$.dr(this,"sankey","flowlabels")}}};
$.g.ce=function(a,b,c){var d=b.label;if(d){var e=this.aa();a.Na()==VS?e.reset():e.select(b.Yi);b=e.get("normal");b=$.n(b)?b.label:void 0;var f=e.get("hovered");f=$.n(f)?f.label:void 0;b=$.Ro(b,e.get("label"),null);e=$.Ro(f,e.get("hoverLabel"),null);e=c?e:null;f=c?a.mb().labels():null;var h=a.Sa().labels();c=c?a.mb().labels().ma:null;var k=a.Sa().labels().ma,l=e&&$.n(e.enabled)?e.enabled:null,m=b&&$.n(b.enabled)?b.enabled:null,p=f&&null!==f.enabled()?f.enabled():null,q=h&&null!==h.enabled()?h.enabled():
null;a=!1;null!=l?a=l:null!=m?a=m:null!=p?a=p:a=q;a?(d.enabled(!0),d.state("labelOwnSettings",d.Ma,0),d.state("pointState",e,1),d.state("pointNormal",b,2),d.state("elementState",f,3),d.state("elementNormal",h,4),d.state("elementStateTheme",c,5),d.state("auto",d.zd,6),d.state("elementNormalTheme",k,7)):d.enabled(!1);d.$()}};$.g.At=function(){return[this]};$.g.mG=function(){return["from","to","weight"]};
$.g.F=function(){var a=TS.u.F.call(this);a.data=this.data().F();a.tooltip=this.Xa().F();a.palette=this.cc().F();a.dropoff=this.hL().F();a.flow=this.xL().F();a.node=this.node().F();$.Hq(this,jT,a);return{chart:a}};$.g.X=function(a,b){TS.u.X.call(this,a,b);"data"in a&&this.data(a.data);this.cc(a.palette);"tooltip"in a&&this.Xa().ia(!!b,a.tooltip);"dropoff"in a&&this.hL().ia(!!b,a.dropoff);"flow"in a&&this.xL().ia(!!b,a.flow);"node"in a&&this.node().ia(!!b,a.node);$.zq(this,jT,a,b)};
$.g.R=function(){$.td(this.Ea,this.j,this.b,this.f,this.gb,this.N,this.ba,this.O,this.ga,this.oa,this.jd);this.gb=this.f=this.b=this.j=this.Ea=null;this.N.length=0;this.ba.length=0;this.O.length=0;this.ga.length=0;this.Nd=this.jd=this.oa=null;TS.u.R.call(this)};var lT=TS.prototype;lT.getType=lT.Na;lT.data=lT.data;lT.noData=lT.Pm;lT.tooltip=lT.Xa;lT.dropoff=lT.hL;lT.flow=lT.xL;lT.node=lT.node;lT.palette=lT.cc;$.Jp.sankey=hT;$.F("anychart.sankey",hT);}).call(this,$)}
if(!_.theme_sankey){_.theme_sankey=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{sankey:{nodePadding:8,nodeWidth:24,curveFactor:.33,tooltip:{titleFormat:"{%name}",format:"{%Value}"},node:{normal:{fill:$.SM,stroke:"none",labels:{enabled:!0,format:"{%name}",fontColor:"black",fontSize:10,disablePointerEvents:!0}},hovered:{fill:$.SM},tooltip:{titleFormat:"{%name} ({%value})",format:function(){var a=[],b=this.income,c=this.outcome,d=this.dropoff,e;if(b.length)for(a.push("Income:"),e=0;e<b.length;e++){var f=b[e];a.push("- "+f.name+": "+f.value)}if(c.length)for(a.push("Outcome:"),
e=0;e<c.length;e++)f=c[e],a.push("- "+f.name+": "+f.value);d&&a.push("Dropoff: "+d);return a.join("\n")}}},flow:{normal:{fill:"grey 0.3",stroke:"none",labels:{enabled:!1,disablePointerEvents:!0,fontColor:"#000",padding:0}},hovered:{fill:$.XM,labels:{enabled:!0}}},dropoff:{normal:{fill:{angle:-90,keys:[{color:"red",offset:0},{color:"white",offset:1}]},stroke:"none",labels:{enabled:!1,disablePointerEvents:!0,fontColor:"#000",padding:0}},hovered:{labels:{enabled:!0}}}}});}).call(this,$)}
if(!_.scatter){_.scatter=1;(function($){var X$=function(){$.nA.call(this,!1);this.Fa("scatter");this.pa("defaultSeriesType","marker");this.je="scatter"},Y$=function(a){var b=new X$;b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.marker(arguments[c]);return b},Dqa=function(a){var b=new X$;b.Fa("marker");b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.marker(arguments[c]);return b},Eqa=function(a){var b=new X$;b.Fa("bubble");b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.bubble(arguments[c]);return b},Fqa=function(a){var b=
new X$;b.Fa("quadrant");b.je="quadrant";b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.marker(arguments[c]);return b},Gqa={hP:"bubble",Xs:"line",yu:"marker"};$.H(X$,$.nA);var Z$={},Hqa=$.tG|7864320;Z$.bubble={Ab:4,Fb:2,Jb:[$.WG,$.XG,$.$G,$.bH],Ib:null,Cb:null,zb:Hqa,yb:"value",wb:"value"};Z$.line={Ab:8,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG],Ib:null,Cb:null,zb:Hqa,yb:"value",wb:"value"};Z$.marker={Ab:9,Fb:2,Jb:[$.tH,$.TG,$.aH,$.mH,$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:$.tG|3670016,yb:"value",wb:"value"};
X$.prototype.Oi=Z$;$.yz(X$,X$.prototype.Oi);X$.prototype.Cu=function(){return!1};X$.prototype.kt=function(a,b){return new $.gB(this,this,a,b,!1)};X$.prototype.zs=function(a){return $.xk(Gqa,a,"line")};X$.prototype.F=function(){return{chart:X$.u.F.call(this)}};var $$=X$.prototype;$$.crosshair=$$.$g;$$.xScale=$$.Va;$$.yScale=$$.bb;$$.xGrid=$$.Zm;$$.yGrid=$$.$m;$$.xMinorGrid=$$.xr;$$.yMinorGrid=$$.Ar;$$.xAxis=$$.lh;$$.yAxis=$$.ti;$$.getSeries=$$.Ue;$$.lineMarker=$$.Jm;$$.rangeMarker=$$.Sm;
$$.textMarker=$$.Xm;$$.palette=$$.cc;$$.markerPalette=$$.sf;$$.hatchFillPalette=$$.oe;$$.getType=$$.Na;$$.addSeries=$$.Rk;$$.getSeriesAt=$$.Nh;$$.getSeriesCount=$$.Mj;$$.removeSeries=$$.mo;$$.removeSeriesAt=$$.Cn;$$.removeAllSeries=$$.kp;$$.getPlotBounds=$$.Rf;$$.annotations=$$.tk;$$.getXScales=$$.Sx;$$.getYScales=$$.Ux;$$.quarters=$$.CN;$$.crossing=$$.zK;$.Jp.bubble=Eqa;$.Jp.marker=Dqa;$.Jp.quadrant=Fqa;$.Jp.scatter=Y$;$.F("anychart.bubble",Eqa);$.F("anychart.scatter",Y$);$.F("anychart.marker",Dqa);$.F("anychart.quadrant",Fqa);$.F("anychart.scatterChart",Y$);}).call(this,$)}
if(!_.theme_scatter){_.theme_scatter=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{scatter:{defaultSeriesType:"marker",legend:{enabled:!1},defaultSeriesSettings:{base:{clip:!0,color:null,tooltip:{titleFormat:function(){return this.seriesName},format:function(){return"x: "+this.x+"\ny: "+this.valuePrefix+$.OM(this.value)+this.valuePostfix}},xScale:null,yScale:null,a11y:{enabled:!1,titleFormat:"Series named {%SeriesName} with {%SeriesPointsCount} points. Min value is {%SeriesYMin}, max value is {%SeriesYMax}"}},bubble:{normal:{negativeFill:$.XM,
negativeStroke:$.XM,negativeHatchFill:null,labels:{anchor:"center"}},hovered:{negativeFill:$.XM,negativeStroke:$.XM,negativeHatchFill:void 0},displayNegative:!1,hatchFill:!1,tooltip:{format:function(){return"X: "+this.x+"\nY: "+this.valuePrefix+$.OM(this.value)+this.valuePostfix+"\nSize: "+$.OM(this.size)}}},line:{connectMissingPoints:!1},marker:{normal:{size:5},hovered:{size:7},selected:{size:7}}},defaultAnnotationSettings:{},defaultXAxisSettings:{orientation:"bottom",scale:0,title:{text:"X-Axis"}},
defaultYAxisSettings:{orientation:"left",scale:1,title:{text:"Y-Axis"}},series:[],xGrids:[],yGrids:[],xMinorGrids:[],yMinorGrids:[],xAxes:[{}],yAxes:[{}],lineAxesMarkers:[],rangeAxesMarkers:[],textAxesMarkers:[],scales:[{type:"linear"},{type:"linear"}],xScale:0,yScale:1,maxBubbleSize:"20%",minBubbleSize:"5%",crosshair:{enabled:!1,displayMode:"float",xStroke:"#969EA5",yStroke:"#969EA5",zIndex:41,xLabels:[{enabled:null}],yLabels:[{enabled:null}]},a11y:{titleFormat:$.iN},annotations:{annotationsList:[],
zIndex:2E3}},marker:{},bubble:{},quadrant:{scales:[{type:"linear",minimum:0,maximum:100},{type:"linear",minimum:0,maximum:100}],xScale:0,yScale:1,defaultXAxisSettings:{ticks:!1,labels:!1,title:{enabled:!1,align:"left"},stroke:"3 #bbdefb"},defaultYAxisSettings:{ticks:!1,labels:!1,title:{enabled:!1,align:"left"},stroke:"3 #bbdefb"},xAxes:[{},{orientation:"top"}],yAxes:[{},{orientation:"right"}],crossing:{stroke:"#bbdefb"},quarters:{rightTop:{enabled:!0},leftTop:{enabled:!0},leftBottom:{enabled:!0},
rightBottom:{enabled:!0}}}});}).call(this,$)}
if(!_.sparkline){_.sparkline=1;(function($){var Wfa=function(a,b){return $.xk(Vfa,a,b||"line")},IW=function(a){$.V(this);$.Y.call(this);this.Aa=a;this.da(!1)},JW=function(a,b){function c(){this.Oa&&this.Oa.B(16,1)}function d(){this.Oa&&this.Oa.B(64,1)}$.gx.call(this);this.Fa("sparkline");this.nG=this.o0;this.state=new $.Vw(this);this.Oa=this.wc=this.cb=null;this.ag=[];this.cg=[];this.eg=[];this.Pf=null;this.b={};this.Zw=!0;this.O=new $.Px;this.O.pa("positionFormatter",$.Xo);this.O.pa("size",10);this.O.pa("anchor","center");this.O.pa("offsetX",
0);this.O.pa("offsetY",0);this.O.pa("rotation",0);this.O.ib(this);this.O.Mh=Xfa;this.G=new $.Du;this.G.positionFormatter($.Xo);this.G.format($.Xo);this.G.background(null);this.G.rotation(0);this.G.width(null);this.G.height(null);this.G.fontSize(11);this.G.minFontSize(8);this.G.maxFontSize(72);this.G.ib(this);this.G.Mh=Yfa;this.data(a||null,b);$.eu(this,this,this.rg,this.Gg,null,this.rg,null,this.Cj);$.T(this.ua,[["seriesType",8192,1,0,function(){this.Oa&&($.qd(this.Oa),this.Oa=null)}],["pointWidth",
0,0,0,function(){this.Oa&&this.Oa.Yo()&&this.Oa.B(80,1)}],["connectMissingPoints",0,0,0,function(){this.Oa&&!this.Oa.Yo()&&this.Oa.B(80,1)}],["fill",0,0,0,c,this],["negativeFill",0,0,0,c,this],["firstFill",0,0,0,c,this],["lastFill",0,0,0,c,this],["maxFill",0,0,0,c,this],["minFill",0,0,0,c,this],["stroke",0,0,0,c,this],["hatchFill",0,0,0,d,this],["firstHatchFill",0,0,0,d,this],["lastHatchFill",0,0,0,d,this],["maxHatchFill",0,0,0,d,this],["minHatchFill",0,0,0,d,this],["negativeHatchFill",0,0,0,d,this]]);
this.Xa()},KW=function(a,b){var c=a.aa().la();if($.E(b)){var d=$.$b("diagonal-brick");c={index:c,sourceHatchFill:d,iterator:a.aa()};c=$.$b(b.call(c))}else c=$.da(b)?b?$.$b("diagonal-brick"):null:$.$b(b);return c},Zfa=function(a){var b=a.aa(),c=b.get("value"),d=b.la();b=$.n(b.get("hatchFill"))?b.get("hatchFill"):d==b.Gb()-1&&$.n(a.i("lastHatchFill"))?a.i("lastHatchFill"):!d&&$.n(a.i("firstHatchFill"))?a.i("firstHatchFill"):c==a.Eg("max")&&$.n(a.i("maxHatchFill"))?a.i("maxHatchFill"):c==a.Eg("min")&&
$.n(a.i("minHatchFill"))?a.i("minHatchFill"):0>c&&$.n(a.i("negativeHatchFill"))?a.i("negativeHatchFill"):a.i("hatchFill");return KW(a,b)},LW=function(a,b){for(var c={},d=a.length;d--;){var e=a[d];if(e){var f=!$.K(e,$.Y);if(f?e.enabled:e.enabled())for(var h=0,k=b.length;h<k;h++){var l=b[h],m=f?e[l]:e[l]();$.n(m)&&(c[l]=$.K(m,$.Yq)?m.F():m)}}}return c},MW=function(a,b){for(var c={},d=a.length;d--;){var e=a[d];if(e)for(var f=!$.K(e,$.Y),h=0,k=b.length;h<k;h++){var l=b[h],m=f?e[l]:e[l]();$.n(m)&&(c[l]=
$.K(m,$.Yq)?m.F():m)}}return c},NW=function(a,b,c,d){if($.ea(b))var e=c[b];else $.z(b)?(e=$.Rs(b,null))||(e=c[b]):$.D(b)?(e=$.Rs(b.type,!0),e.K(b)):e=null;if(e)a[d](e)},OW=function(a,b,c,d){if($.A(b))for(var e=0;e<b.length;e++){var f=b[e];a[d](e,f);$.D(f)&&"scale"in f&&1<f.scale&&a[d](e).scale(c[f.scale])}},PW=function(a,b){var c=a.Et(b.scales);NW(a,b.xScale,c,"xScale");NW(a,b.yScale,c,"yScale");OW(a,b.lineAxesMarkers,c,"lineMarker");OW(a,b.rangeAxesMarkers,c,"rangeMarker");OW(a,b.textAxesMarkers,
c,"textMarker")},QW=function(a){IW.call(this,a);this.path=$.nk();this.path.zIndex(1);this.f=null;this.b=[this.path]},RW=function(a){QW.call(this,a);this.g=$.nk();this.g.zIndex(1.1);this.b.push(this.g)},SW=function(a){IW.call(this,a)},TW=function(a){QW.call(this,a)},UW=function(a){IW.call(this,a)},VW=function(a,b){var c=new JW(a,b);c.sg();return c},Vfa={sB:"area",BE:"column",Xs:"line",Ana:"win-loss"};$.H(IW,$.iu);var WW={};$.g=IW.prototype;$.g.ea=null;$.g.qa=$.iu.prototype.qa|20;
$.g.sa=$.iu.prototype.sa|976;$.g.Ix=!1;$.g.vi=0;$.g.aa=function(){return this.Aa.aa()};$.g.vc=function(){return this.Aa.vc()};$.g.mc=function(){return this.Aa};$.g.hk=function(){return!1};
$.g.JB=function(){if(!this.enabled())return null;var a=this.Aa.bb(),b=this.Aa.Va(),c=this.aa(),d=!1,e=c.get("x");c=c.get("value");if(!$.n(e)||!$.n(c))return null;a.gk(c)&&(c=window.NaN);b=b.gk(e)?window.NaN:this.Ie(b.transform(e,.5),!0);a=this.Ie(a.transform(c,.5),!1);if((0,window.isNaN)(b)||(0,window.isNaN)(a))d=!0;return d?null:[b,a]};$.g.Yo=function(){return!1};$.g.jn=function(){this.enabled()&&(this.Ix=this.Ix?this.dF():this.MJ())&&this.yf();this.enabled()&&this.Ix&&this.Op()};
$.g.remove=function(){this.Aa.Eb().P(null);this.va&&this.va.remove();this.Aa.labels().P(null);IW.u.remove.call(this)};$.g.rd=function(){this.Ix=!1;this.ea=this.lb();this.va||(this.va=$.lk());this.Bc();var a=this.Aa.G;$.V(a);a.clear();a.P(this.P());a.ja(this.lb());a=this.Aa.O;$.V(a);var b=this.wv();a.vI(b);b=this.Ox();a.wI(b);a.clear();a.P(this.P());a.ja(this.ea)};
$.g.zl=function(){var a=this.Aa.O;a.$();var b=$.da(this.Aa.clip())?this.Aa.clip()?this.Aa.lb():"none":this.Aa.clip();var c=a.Kd();c&&c.clip(b);a.da(!1);a.I(4294967295);a=this.Aa.G;a.$();(c=a.Kd())&&c.clip(b);a.da(!1);a&&a.I(4294967295);this.J(2)?this.I(0):this.I(4294967295)};
$.g.Ec=function(a){if(!this.de||a)this.de=new $.rw;a=this.aa();var b={chart:{value:this.mc(),type:""},series:{value:this,type:""},index:{value:a.la(),type:"number"},value:{value:a.get("value"),type:"number"},x:{value:a.get("x"),type:"string"},seriesName:{value:"Series "+a.la(),type:"string"}};this.de.Ag(a).mj([this,this.mc()]).sm({"%XValue":"x"});return $.av(this.de,b)};$.g.xk=function(){return this.Ec()};
$.g.Ai=function(a){var b=this.aa(),c=b.o("shape");return c?(b=c.pb(),a=$.Bk(a),{value:$.xo(b,a)}):{value:{x:b.o("x"),y:b.o("value")}}};$.g.MJ=function(){return this.dF()};$.g.Ie=function(a,b){if(b){var c=this.ea.left;var d=this.ea.width}else c=this.ea.Ua(),d=-this.ea.height;return c+a*d};
$.g.yf=function(){var a=this.Aa;var b=a.aa(),c=b.get("value"),d=b.la();var e=b.get("label");if(d==b.Gb()-1){var f=a.vH();var h=a.b.lastLabels}else d||(f=a.eG(),h=a.b.firstLabels);if(c==a.Eg("max")){var k=a.fh();var l=a.b.maxLabels}else c==a.Eg("min")&&(k=a.gh(),l=a.b.minLabels);if(0>c){var m=a.$H();var p=a.b.negativeLabels}b=a.labels();h=MW([h,l,p,a.b.labels],XW);e=LW([e,f,k,m,b],XW);e=MW([e,h],XW);f=a.G.Vd(d);k=null;e.enabled?(k=e.position||a.G.i("position"),k=a.Oa.Ai(k),m=a.Oa.Ec(),f?(f.lf(m),f.uc(k)):
f=a.G.add(m,k,d),f.oi(),f.kd(e),k=f):f&&f.clear();(a=k)&&a.$()};
$.g.Op=function(){var a=this.Aa;var b=a.aa(),c=b.get("value"),d=b.la();var e=b.get("marker");if(d==b.Gb()-1){var f=a.wH();var h=a.b.lastMarkers}else d||(f=a.fG(),h=a.b.firstMarkers);if(c==a.Eg("max")){var k=a.JH();var l=a.b.maxMarkers}else c==a.Eg("min")&&(k=a.PH(),l=a.b.minMarkers);if(0>c){var m=a.aI();var p=a.b.negativeMarkers}b=a.Eb();c=a.b.markers;var q=a.vv(!0);q={fill:q,stroke:$.Il(q)};h=MW([h,l,p,c,q],YW);e=LW([e,f,k,m,b],YW);e=MW([e,h],YW);f=a.O.Vq(d);k=null;e.enabled?(k=e.position||a.O.i("position"),
k=a.Oa.Ai(k),f?f.uc(k):f=a.O.add(k,d),f.oi(),$.Sx(f,a.O),f.kd(e),k=f):f&&f.clear();(a=k)&&a.$()};$.g.wv=function(){return $.Vb(this.Aa.cF(this.Aa.i("fill")))};$.g.Ox=function(){return $.Il(this.wv())};$.g.$r=function(){var a=this.Aa.O;a.type("circle");a.pa("size",1.8);a.pa("position","center");return{labels:{background:{enabled:!1},position:"center",anchor:"center-bottom"},color:"#4682B4"}};$.g.R=function(){$.qd(this.va);this.va=null;IW.u.R.call(this)};$.H(JW,$.gx);JW.prototype.Na=function(){return"sparkline"};JW.prototype.sa=$.gx.prototype.sa|28672;var Xfa=40,Yfa=40;$.g=JW.prototype;$.g.ig=function(a){a=JW.u.ig.call(this,a);var b=this.Oa&&this.Oa.ea||$.gn(0,0,0,0),c=a.clientX;var d=b.left+$.Wj(this.P().Ha()).x;b=(c-d)/b.width;b=this.Va().Fc(b);b=this.data().find("x",b);0>b&&(b=window.NaN);a.pointIndex=b;return a};$.g.Pd=function(){};
$.g.es=function(a){var b=this.Oa&&this.Oa.ea||$.gn(0,0,0,0),c=a.clientX;a=a.clientY;var d=$.Wj(this.P().Ha());c-=d.x;a-=d.y;d=b.left;var e=b.top,f=b.width;b=b.height;if(c<d||c>d+f||a<e||a>e+b)return null;b=[];d=(c-d)/f;d=this.Va().Fc(d);d=$.rr(this.data(),d,$.K(this.Va(),$.Ct));d=d.length?d[0]:window.NaN;e=this.aa();e.select(d)&&(f=e.o("x"),e=e.o("value"),c=$.dn(f,e,c,a),(0,window.isNaN)(f)||(0,window.isNaN)(e)||b.push({W:this,md:[d],xn:d,we:{index:d,Yf:c}}));return b};$.g.Ni=function(){return"none"};
$.g.Ec=function(){this.de||(this.de=new $.rw);var a=this.aa();this.de.Ag(a).mj([this]);a={x:{value:a.get("x"),type:"string"},value:{value:a.get("value"),type:"number"},index:{value:a.la(),type:"number"},chart:{value:this,type:""}};$.av(this.de,a);return this.de};$.g.xk=function(){return this.Ec()};$.g.uu=function(){return!0};$.g.sh=function(a){(a=this.Ig(a))&&this.dispatchEvent(a)};
$.g.Ig=function(a){var b;"pointIndex"in a?b=a.pointIndex:"labelIndex"in a?b=a.labelIndex:"markerIndex"in a&&(b=a.markerIndex);b=$.N(b);a.pointIndex=b;var c=a.type;switch(c){case "mouseout":c="pointmouseout";break;case "mouseover":c="pointmouseover";break;case "mousemove":c="pointmousemove";break;case "mousedown":c="pointmousedown";break;case "mouseup":c="pointmouseup";break;case "click":c="pointclick";break;case "dblclick":c="pointdblclick";break;default:return null}var d=this.data().aa();d.select(b)||
d.reset();return{type:c,actualTarget:a.target,pie:this,iterator:d,sliceIndex:b,pointIndex:b,target:this,originalEvent:a}};$.g.Mi=function(){return this};$.g.Hi=function(){return this};$.g.Te=function(){return[this]};$.g.ae=$.ia;$.g.Fl=function(a){return $.n(a)?(a=$.yk(a),a!=this.N&&(this.N=a),this):this.N};$.g.Rd=function(){return null};$.g.Rg=function(){return!1};$.g.hk=function(){return!1};$.g.Uk=$.ia;$.g.Xj=$.ia;$.g.fm=$.ia;$.g.Wp=$.ia;
$.g.Sr=function(a){if($.n(a))return this.Bi=a,this;this.Bi||(this.Bi={});a=$.om(this.i("seriesType"));this.Bi[a]||(this.Bi[a]=$.Qc(this.Oa.ma));return this.Bi};var YW="enabled position anchor offsetX offsetY type size fill stroke".split(" "),XW="enabled background padding position anchor offsetX offsetY rotation width height fontSize fontFamily fontColor fontOpacity fontDecoration fontStyle fontVariant fontWeight letterSpacing textDirection lineHeight textIndent vAlign hAlign wordWrap wordBreak textOverflow selectable disablePointerEvents useHtml".split(" ");
$.g=JW.prototype;$.g.Va=function(a){if($.n(a)){if(a=$.Xs(this.cb,a,null,15))this.cb=a,this.cb.da(!1),this.B(4096,1);return this}this.cb||(this.cb=$.Ws());return this.cb};$.g.bb=function(a){if($.n(a)){if(a=$.Xs(this.wc,a,null,15))this.wc=a,this.wc.da(!1),this.B(4096,1);return this}this.wc||(this.wc=$.Ts());return this.wc};
$.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.ag[c];e||(e=new $.Rz,$.W(this,"lineMarker",e),this.ag[c]=e,e.ib(this),$.L(e,this.oy,this),this.B(16384,1));return $.n(d)?(e.K(d),this):e};$.g.Sm=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.cg[c];e||(e=new $.Uz,this.cg[c]=e,e.ib(this),$.L(e,this.oy,this),this.B(16384,1));return $.n(d)?(e.K(d),this):e};
$.g.Xm=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.eg[c];e||(e=new $.Xz,$.W(this,"textMarker",e),this.eg[c]=e,e.ib(this),$.L(e,this.oy,this),this.B(16384,1));return $.n(d)?(e.K(d),this):e};$.g.oy=function(){this.B(16384,1)};
$.g.data=function(a,b){return $.n(a)?(this.jg!==a&&(this.jg=a,$.qd(this.jd),$.K(a,$.pr)?this.j=this.jd=a.tj():this.j=$.K(a,$.zr)?this.jd=a.ie():(this.jd=new $.zr($.A(a)||$.z(a)?a:null,b)).ie(),this.oa=this.j,$.L(this.oa,this.Id,this),this.Oa&&this.Oa.B(16,21),this.B(256,1)),this):this.oa};$.g.Id=function(a){$.X(a,16)&&(this.Oa&&this.Oa.B(16,21),this.B(256,1))};$.g.aa=function(){return this.Nd||this.vc()};$.g.vc=function(){return this.Nd=this.data().aa()};
$.g.uI=function(a){var b=0;$.X(a,32768)&&(b|=256);$.X(a,2048)&&(b=32);$.X(a,1)&&(b=8192);$.X(a,16)&&(b|=8448,this.Pv());$.X(a,4)&&(b|=4096);this.B(b,1)};
var ZW=function(){var a={};$.hq(a,[$.Z.tB,$.Z.RX,$.Z.DE,$.Z.SX,$.Z.OX,[0,"seriesType",Wfa],[0,"pointWidth",function(a){return $.so(a,this.i("pointWidth"))}],[0,"connectMissingPoints",$.uq],[1,"firstFill",$.Bq],[1,"lastFill",$.Bq],[1,"maxFill",$.Bq],[1,"minFill",$.Bq],[1,"lastHatchFill",$.Cq],[1,"firstHatchFill",$.Cq],[1,"maxHatchFill",$.Cq],[1,"minHatchFill",$.Cq]]);return a}();$.U(JW,ZW);$.g=JW.prototype;
$.g.clip=function(a){return $.n(a)?(null===a&&(a=!1),this.Nf!=a&&(this.Nf=a,this.Oa&&this.Oa.B(4,9)),this):this.Nf};$.g.cF=function(a,b){if($.E(a)){var c=1<arguments.length?this.cF.apply(this,$.Ja(arguments,1)):this.b.color;c={index:this.aa().la(),sourceColor:c,iterator:this.aa()};c=a.call(c)}else c=a;return c};
$.g.i=function(a){var b=JW.u.i.call(this,a);if(!b)switch(a){case "fill":case "negativeFill":case "firstFill":case "lastFill":case "maxFill":case "minFill":case "stroke":case "lastHatchFill":case "firstHatchFill":case "maxHatchFill":case "minHatchFill":b=this.b[a];break;case "hatchFill":case "negativeHatchFill":b=$.n(b)?b:this.b[a]}return b};
$.g.vv=function(a){var b=this.aa(),c=b.get("value"),d=b.la();a=a&&$.n(b.get("fill"))?b.get("fill"):d==b.Gb()-1&&$.n(this.i("lastFill"))?this.i("lastFill"):!d&&$.n(this.i("firstFill"))?this.i("firstFill"):c==this.Eg("max")&&$.n(this.i("maxFill"))?this.i("maxFill"):c==this.Eg("min")&&$.n(this.i("minFill"))?this.i("minFill"):0>c&&$.n(this.i("negativeFill"))?this.i("negativeFill"):this.i("fill");a=this.cF(a);return $.Vb(a)};$.g.Tq=function(){return $.Yb(this.cF(this.i("stroke")))};
$.g.Eb=function(a){this.f||(this.f=new $.Qx,$.W(this,"markers",this.f),$.L(this.f,this.bp,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.f.K(a),this):this.f};$.g.aI=function(a){this.Ra||(this.Ra=new $.Qx,$.W(this,"negativeMarkers",this.Ra),$.L(this.Ra,this.bp,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Ra.K(a),this):this.Ra};
$.g.fG=function(a){this.ba||(this.ba=new $.Qx,$.W(this,"firstMarkers",this.ba),$.L(this.ba,this.bp,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.ba.K(a),this):this.ba};$.g.wH=function(a){this.ka||(this.ka=new $.Qx,$.W(this,"lastMarkers",this.ka),$.L(this.ka,this.bp,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.ka.K(a),this):this.ka};
$.g.JH=function(a){this.ya||(this.ya=new $.Qx,$.W(this,"maxMarkers",this.ya),$.L(this.ya,this.bp,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.ya.K(a),this):this.ya};$.g.PH=function(a){this.Ga||(this.Ga=new $.Qx,$.W(this,"minMarkers",this.Ga),$.L(this.Ga,this.bp,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Ga.K(a),this):this.Ga};$.g.bp=function(a){$.X(a,1)&&this.Oa&&this.Oa.B(128,1)};
$.g.labels=function(a){this.Da||(this.Da=new $.Hu,$.W(this,"labels",this.Da),$.L(this.Da,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Da.K(a),this):this.Da};$.g.$H=function(a){this.Ja||(this.Ja=new $.Hu,$.W(this,"negativeLabels",this.Ja),$.L(this.Ja,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Ja.K(a),this):this.Ja};
$.g.eG=function(a){this.U||(this.U=new $.Hu,$.W(this,"firstLabels",this.U),$.L(this.U,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.U.K(a),this):this.U};$.g.vH=function(a){this.ga||(this.ga=new $.Hu,$.W(this,"lastLabels",this.ga),$.L(this.ga,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.ga.K(a),this):this.ga};
$.g.fh=function(a){this.g||(this.g=new $.Hu,$.W(this,"maxLabels",this.g),$.L(this.g,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.g.K(a),this):this.g};$.g.gh=function(a){this.D||(this.D=new $.Hu,$.W(this,"minLabels",this.D),$.L(this.D,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.D.K(a),this):this.D};$.g.Zd=function(a){$.X(a,1)&&this.Oa&&this.Oa.B(256,1)};
$.g.ob=function(){var a;if(this.J(4096)){this.oI();var b=this.Va(),c=this.bb();b.Hf()&&b.tg();c.Hf()&&c.tg();for(a=this.vc();a.advance();){var d=a.get("x");var e=a.get("value");$.n(d)&&b.Uc(d);$.n(e)&&c.Uc(e)}a=!1;b.Hf()&&(a|=b.Cg());c.Hf()&&(a|=c.Cg());a&&this.Pv();b=-window.Infinity;c=window.Infinity;var f=d=0;for(a=this.vc();a.advance();){var h=this.aa();e=this.bb();h=h.get("value");if(e=e.gk(h)?null:h)e=$.N(e),(0,window.isNaN)(e)||(b=Math.max(b,e),c=Math.min(c,e),d+=e);f++}a=d/f;this.Ia("max",
b);this.Ia("min",c);this.Ia("sum",d);this.Ia("average",a);this.Ia("pointsCount",f);this.I(4096)}};
$.g.ei=function(a){if(this.J(8192)&&!this.Oa){var b=this.i("seriesType"),c=WW[b];if(c){c=new c(this);b=$.om(b);c.Fa("chart.defaultSeriesSettings.base.normal");c.Fa("chart.defaultSeriesSettings."+b+".normal");var d=this.ma.defaultSeriesSettings;d&&c.Fa(d.base);d[b]&&c.Fa(d[b]);this.Oa=c;c.Mh=30;$.L(c,this.uI,this);this.b=this.Sr()[$.om(b)]||this.Oa.$r();this.B(12288,1)}else $.cl(4,null,[b+" series"]),c=null;this.Oa=c}this.ob();if(!this.ef()){$.kr(this.Oa);this.J(4)&&(this.Pf=a.clone().round(),this.Oa.Yo()&&
(c=this.Oa,a=this.Pf,b=c.vc().Gb(),c=c.wG(a),b=(a.width-b*c)%(b-1),0!=a.height%2&&--a.height,0!=b&&(a.left+=Math.floor(b/2),a.width-=b)),this.Pv(),this.B(24576));if(this.J(16384)){a=$.Ga(this.ag,this.cg,this.eg);b=0;for(c=a.length;b<c;b++)if(d=a[b])$.V(d),d.Hb()?d.scale(this.bb()):d.scale(this.Va()),d.ja(this.Pf),d.P(this.La),d.$(),d.da(!1);this.I(16384)}if(this.J(8192)){if(a=this.Oa){a.P(this.La);a.ja(this.Pf);this.Oa.rd();for(a=this.vc();a.advance();)this.Oa.jn();this.Oa.zl();this.Eb().I(4294967295);
this.PH().I(4294967295);this.JH().I(4294967295);this.aI().I(4294967295);this.fG().I(4294967295);this.wH().I(4294967295);this.labels().I(4294967295);this.gh().I(4294967295);this.fh().I(4294967295);this.$H().I(4294967295);this.eG().I(4294967295);this.vH().I(4294967295)}this.I(8192)}$.mr(this.Oa)}};$.g.Pv=function(){this.Oa&&this.Oa.B(80)};$.g.HC=function(){return["x"]};$.g.IC=function(a){return a.get("x")};$.g.GC=function(a){a=a.get("name");return $.z(a)?a:null};
$.g.Ej=function(){return!this.aa().Gb()||!(this.Oa&&this.Oa.enabled())};$.g.Et=function(a){var b,c=this.Na(),d={};if($.A(a))for(b=0;b<a.length;b++){var e=a[b];$.z(e)&&(e={type:e});e=$.pm(e,b,c);var f=$.Rs(e.type,!1);f.K(e);d[b]=f}else if($.D(a))for(b in a)a.hasOwnProperty(b)&&(e=a[b],$.z(e)&&(e={type:e}),e=$.pm(e,b,c),f=$.Rs(e.type,!1),f.K(e),d[b]=f);return d};$.g.sg=function(){PW(this,this.ma)};
$.g.X=function(a,b){JW.u.X.call(this,a,b);"defaultSeriesSettings"in a&&this.Sr(a.defaultSeriesSettings);this.data(a.data);$.zq(this,ZW,a);this.clip(a.clip);this.data(a.data);PW(this,a);a.lastMarkers&&this.wH().ia(!!b,a.lastMarkers);a.firstMarkers&&this.fG().ia(!!b,a.firstMarkers);a.maxMarkers&&this.JH().ia(!!b,a.maxMarkers);a.minMarkers&&this.PH().ia(!!b,a.minMarkers);a.negativeMarkers&&this.aI().ia(!!b,a.negativeMarkers);a.markers&&this.Eb().ia(!!b,a.markers);a.firstLabels&&this.eG().ia(!!b,a.firstLabels);
a.lastLabels&&this.vH().ia(!!b,a.lastLabels);a.maxLabels&&this.fh().ia(!!b,a.maxLabels);a.minLabels&&this.gh().ia(!!b,a.minLabels);a.negativeLabels&&this.$H().ia(!!b,a.negativeLabels);a.labels&&this.labels().ia(!!b,a.labels)};
$.g.F=function(){var a=JW.u.F.call(this);$.Hq(this,ZW,a);var b,c={},d=[],e;c[$.oa(this.Va())]=this.Va().F();d.push(c[$.oa(this.Va())]);a.xScale=d.length-1;this.Va()!=this.bb()&&(c[$.oa(this.bb())]=this.bb().F(),d.push(c[$.oa(this.bb())]));a.yScale=d.length-1;a.clip=$.K(this.Nf,$.J)?this.Nf.F():this.Nf;a.data=this.data().F();a.lastMarkers=this.wH().F();a.lastLabels=this.vH().F();a.firstMarkers=this.fG().F();a.firstLabels=this.eG().F();a.maxMarkers=this.JH().F();a.maxLabels=this.fh().F();a.minMarkers=
this.PH().F();a.minLabels=this.gh().F();a.negativeMarkers=this.aI().F();a.negativeLabels=this.$H().F();a.markers=this.Eb().F();a.labels=this.labels().F();var f=[];for(b=0;b<this.ag.length;b++)if(e=this.ag[b]){var h=e.F();if(e=e.scale()){var k=$.oa(e);c[k]?h.scale=(0,$.za)(d,c[k]):(c[k]=e.F(),d.push(c[k]),h.scale=d.length-1)}f.push(h)}f.length&&(a.lineAxesMarkers=f);f=[];for(b=0;b<this.cg.length;b++)if(e=this.cg[b]){h=e.F();if(e=e.scale())k=$.oa(e),c[k]?h.scale=(0,$.za)(d,c[k]):(c[k]=e.F(),d.push(c[k]),
h.scale=d.length-1);f.push(h)}f.length&&(a.rangeAxesMarkers=f);f=[];for(b=0;b<this.eg.length;b++)if(e=this.eg[b]){h=e.F();if(e=e.scale())k=$.oa(e),c[k]?h.scale=(0,$.za)(d,c[k]):(c[k]=e.F(),d.push(c[k]),h.scale=d.length-1);f.push(h)}f.length&&(a.textAxesMarkers=f);a.scales=d;return{chart:a}};
$.g.R=function(){$.td(this.ag,this.cg,this.eg,this.jd,this.j,this.oa,this.Oa,this.f,this.Ra,this.ba,this.ka,this.ya,this.Ga,this.Da,this.Ja,this.U,this.ga,this.g,this.D);this.ag.length=0;this.cg.length=0;this.eg.length=0;this.j=this.jd=null;delete this.oa;delete this.Nd;this.b=this.D=this.g=this.ga=this.U=this.Ja=this.Da=this.Ga=this.ya=this.ka=this.ba=this.Ra=this.f=this.Oa=null;JW.u.R.call(this)};$.Jp.sparkline=VW;var $W=JW.prototype;$.F("anychart.sparkline",VW);$W.xScale=$W.Va;$W.yScale=$W.bb;
$W.lineMarker=$W.Jm;$W.rangeMarker=$W.Sm;$W.textMarker=$W.Xm;$W.data=$W.data;$W.clip=$W.clip;$W.lastMarkers=$W.wH;$W.lastLabels=$W.vH;$W.firstMarkers=$W.fG;$W.firstLabels=$W.eG;$W.maxMarkers=$W.JH;$W.maxLabels=$W.fh;$W.minMarkers=$W.PH;$W.minLabels=$W.gh;$W.negativeMarkers=$W.aI;$W.negativeLabels=$W.$H;$W.markers=$W.Eb;$W.labels=$W.labels;$W.getType=$W.Na;$W.noData=$W.Pm;$.H(QW,IW);$.g=QW.prototype;$.g.jn=function(){if(this.enabled()){var a;if(a=this.Ix?this.dF():this.MJ())this.Op(),this.yf();this.Ix=this.Aa.i("connectMissingPoints")&&this.Ix||a}};
$.g.rd=function(){QW.u.rd.call(this);if(!this.ef()&&this.enabled()){var a=this.Aa.bb().transform(0);(0,window.isNaN)(a)&&(a=0);this.vi=this.Ie($.Za(a,0,1),!1);var b;a=this.b.length;this.J(8)&&(this.va.zIndex(this.zIndex()),this.I(8));this.J(4)&&(this.Aa.clip()&&($.da(this.Aa.clip())?b=this.ea:b=this.Aa.clip(),this.va.clip(b)),this.I(4));if(this.J(16)){for(b=0;b<a;b++)this.b[b].clear();this.eZ()}if(this.J(2)){b=this.P();this.va.parent(b);for(b=0;b<a;b++)this.b[b].parent(this.va);this.f&&this.f.parent(this.va);
this.I(2)}this.J(64)&&!this.f&&(this.f=$.nk(),this.f.parent(this.va),this.f.zIndex(2),this.f.td(!0))}};$.g.zl=function(){this.pQ();this.c0();QW.u.zl.call(this)};$.g.Ai=function(){var a=this.aa();return{value:{x:a.o("x"),y:a.o("value")}}};$.g.pQ=$.ia;$.g.c0=$.ia;$.g.eZ=function(){this.path.stroke(this.Aa.Tq(),1);this.path.fill(null)};$.g.$r=function(){return QW.u.$r.call(this)};$.H(RW,QW);WW.area=RW;$.g=RW.prototype;$.g.rd=function(){RW.u.rd.call(this);this.j=window.NaN};$.g.eZ=function(){var a=$.Vb(this.Aa.cF(this.Aa.fill()));this.path.stroke(null);this.path.fill(a);this.g.stroke(this.Aa.Tq());this.g.fill(null)};$.g.c0=function(){this.J(64)&&this.f&&(this.f.fe(this.path.F()),this.f&&(this.f.stroke(null),this.f.fill(KW(this.Aa,this.Aa.i("hatchFill")))))};
$.g.MJ=function(){var a=this.JB();if(!a)return!1;if(this.J(16)){var b=a[0];a=a[1];this.pQ();this.path.moveTo(b,this.vi).lineTo(b,a);this.g.moveTo(b,a);this.j=b;this.aa().o("x",b).o("value",a)}return!0};$.g.dF=function(){var a=this.JB();if(!a)return!1;if(this.J(16)){var b=a[0];a=a[1];this.path.lineTo(b,a);this.g.lineTo(b,a);this.j=b;this.aa().o("x",b).o("value",a)}return!0};$.g.pQ=function(){(0,window.isNaN)(this.j)||this.path.lineTo(this.j,this.vi).close()};
$.g.$r=function(){var a=RW.u.$r.call(this);a.stroke={color:"#64b5f6",thickness:1.5};a.fill={color:"#64b5f6",opacity:.5};return a};$.H(SW,IW);WW.column=SW;$.g=SW.prototype;$.g.La=null;$.g.Ht=null;$.g.Yo=function(){return!0};$.g.P3=function(){return $.jk()};$.g.wG=function(a){a=a||this.ea;a=Math.floor((this.Aa.Va().LL()||1/this.aa().Gb())*a.width);a=Math.floor($.M(this.Aa.i("pointWidth"),a));1>a&&(a=1);return a};
$.g.rd=function(){SW.u.rd.call(this);var a=this.Aa.bb().transform(0);(0,window.isNaN)(a)&&(a=0);this.vi=this.Ie($.Za(a,0,1),!1);!this.ef()&&this.enabled()&&(this.La||(this.La=new $.JB(this.P3,$.ia),this.La.zIndex(1)),this.J(8)&&(this.va.zIndex(this.zIndex()),this.I(8)),this.J(4)&&(a=$.da(this.Aa.clip())?this.Aa.clip()?this.ea:"none":this.Aa.clip(),this.va.clip(a),this.I(4)),this.J(16)&&this.La.clear(),this.J(64)&&(this.Ht||(this.Ht=new $.JB(this.P3,$.ia),this.Ht.parent(this.va),this.Ht.zIndex(2),
this.Ht.td(!0)),this.Ht.clear()),this.J(2)&&(this.va.parent(this.P()),this.La.parent(this.va),this.Ht&&this.Ht.parent(this.va),this.I(2)))};
$.g.dF=function(){var a=this.JB();if(!a)return!1;if(this.J(16)){var b=a[0],c=a[1];c=c<this.vi?Math.ceil(c):Math.floor(c);a=$.KB(this.La);var d=this.wG(),e=0==d%2?0:.5;this.aa().o("x",b).o("value",c).o("shape",a);var f=Math.min(this.vi,c);c=Math.abs(this.vi-c);a.ro(Math.ceil(b+e-d/2)).so(f).qo(d).po(c);b=this.aa().o("shape");$.n(b)&&(b.fill(this.Aa.vv(!0)),b.stroke(null))}this.J(64)&&(a=this.aa(),b=this.Ht?$.KB(this.Ht):null,a.o("hatchFillShape",b),a=a.o("shape"),$.n(a)&&b&&b.fe(a.F()),b=this.aa().o("hatchFillShape"),
null!=b&&b.stroke(null).fill(Zfa(this.Aa)));return!0};
$.g.$r=function(){var a=SW.u.$r.call(this);a.markers||(a.markers={});a.markers.position="center-top";a.labels||(a.labels={});a.labels.position="center-top";a.labels.anchor="center-bottom";a.negativeMarkers||(a.negativeMarkers={});a.negativeMarkers.position="center-bottom";a.negativeLabels||(a.negativeLabels={});a.negativeLabels.position="center-bottom";a.negativeLabels.anchor="center-top";a.stroke={color:"#64b5f6",thickness:1.5};a.fill={color:"#64b5f6",opacity:.7};a.negativeFill={color:"#ef6c00",
opacity:.7};return a};$.H(TW,QW);WW.line=TW;$.g=TW.prototype;$.g.MJ=function(){var a=this.JB();if(!a)return!1;if(this.J(16)){var b=a[0];a=a[1];this.path.moveTo(b,a);this.aa().o("x",b).o("value",a)}return!0};$.g.dF=function(){var a=this.JB();if(!a)return!1;if(this.J(16)){var b=a[0];a=a[1];this.path.lineTo(b,a);this.aa().o("x",b).o("value",a)}return!0};$.g.wv=function(){return this.Aa.Tq()};$.g.Ox=function(){return $.Il(this.Aa.Tq())};
$.g.$r=function(){var a=TW.u.$r.call(this);a.stroke={color:"#64b5f6",thickness:1.5};a.fill={color:"#64b5f6",opacity:.5};return a};$.H(UW,SW);WW["win-loss"]=UW;UW.prototype.rd=function(){UW.u.rd.call(this);this.vi=Math.round(this.Ie(.5,!1))};UW.prototype.JB=function(){if(!this.enabled())return null;var a=this.Aa.bb(),b=this.Aa.Va(),c=this.aa(),d=!1,e=c.get("x");c=c.get("value");c=0<c?a.Uf()?0:1:0>c?a.Uf()?1:0:.5;if(!$.n(e)||!$.n(c))return null;a.gk(c)&&(c=window.NaN);a=b.gk(e)?window.NaN:this.Ie(b.transform(e,.5),!0);b=this.Ie(c,!1);if((0,window.isNaN)(a)||(0,window.isNaN)(b))d=!0;return d?null:[a,b]};
UW.prototype.$r=function(){var a=UW.u.$r.call(this);a.markers||(a.markers={});a.markers.position="center-top";a.markers.anchor="center-top";a.labels||(a.labels={});a.labels.position="center-top";a.labels.anchor="center-top";a.negativeMarkers||(a.negativeMarkers={});a.negativeMarkers.position="center-bottom";a.negativeMarkers.anchor="center-bottom";a.negativeLabels||(a.negativeLabels={});a.negativeLabels.position="center-bottom";a.negativeLabels.anchor="center-bottom";a.stroke={color:"#64b5f6",thickness:1.5};
a.fill={color:"#64b5f6",opacity:.7};a.negativeFill={color:"#ef6c00",opacity:.7};return a};$.Jp.sparkline=VW;$.F("anychart.sparkline",VW);}).call(this,$)}
if(!_.theme_sparkline){_.theme_sparkline=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{sparkline:{background:{enabled:!0},title:{enabled:!1,padding:0,margin:0,orientation:"right",rotation:0},margin:0,padding:0,hatchFill:null,markers:{},interactivity:{hoverMode:"by-x"},firstMarkers:{fill:"#64b5f6"},lastMarkers:{fill:"#64b5f6"},negativeMarkers:{fill:"#ef6c00"},minMarkers:{fill:"#455a64"},maxMarkers:{fill:"#dd2c00"},labels:{},firstLabels:{},lastLabels:{},negativeLabels:{},minLabels:{fontSize:9,padding:{top:3,right:0,bottom:3,left:0},fontColor:"#303f46"},
maxLabels:{fontSize:9,padding:{top:3,right:0,bottom:3,left:0},fontColor:"#9b1f00"},lineAxesMarkers:[],rangeAxesMarkers:[],textAxesMarkers:[],scales:[{type:"ordinal"},{type:"linear"}],xScale:0,yScale:1,clip:!0,seriesType:"line",connectMissingPoints:!1,pointWidth:"95%",tooltip:{title:!1,separator:!1,titleFormat:function(){return this.x},format:function(){return"x: "+this.x+"\ny: "+$.OM(this.value)},allowLeaveChart:!0},defaultSeriesSettings:{base:{markers:{enabled:!1,position:"center",anchor:"center",
type:"circle",size:1.8,stroke:"none"},hoverMarkers:{enabled:!0},labels:{enabled:!1,fontSize:8,background:{enabled:!1},position:"center",anchor:"center-bottom"},minLabels:{position:"center-bottom",anchor:"center-bottom"},maxLabels:{position:"center-top",anchor:"center-top"},color:"#64b5f6"},area:{stroke:"#64b5f6",fill:"#64b5f6 0.5"},column:{markers:{position:"center-top"},labels:{position:"center-top",anchor:"center-bottom"},negativeMarkers:{position:"center-bottom"},negativeLabels:{position:"center-bottom",
anchor:"center-top"},fill:"#64b5f6",negativeFill:"#ef6c00"},line:{stroke:"#64b5f6"},winLoss:{markers:{position:"center-top",anchor:"center-top"},labels:{position:"center-top",anchor:"center-top"},negativeMarkers:{position:"center-bottom",anchor:"center-bottom"},negativeLabels:{position:"center-bottom",anchor:"center-bottom"},fill:"#64b5f6",negativeFill:"#ef6c00"}}}});}).call(this,$)}
if(!_.stock){_.stock=1;(function($){var K_=function(a,b){return $.xk(iia,a,b||"line")},L_=function(a,b){return $.xk(jia,a,b||"sma")},kia=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"}},M_=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},N_=function(a){a=Math.floor(a);var b=1;if(a){for(var c=0;c<$.lp.length;c++){var d=$.lp[c];var e=a/d.qe;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.Kr&&100<b&&(d=f,b=Math.round(20*a/d.qe)/20)}return{unit:d?d.ng:"millisecond",count:b}},O_=function(a,
b){switch(a){case "log":return $.Us();case "linear":return $.Ts();case "date-time":return $.Vs();default:return b?null:$.Ts()}},P_=function(a){$.L(a,this.dC,this);a.ib(this)},Q_=function(a,b){this.D=$.Tk(a);this.b=b||1;this.f=new Date(0);switch(this.D){case "year":this.j=315576E5*this.b;this.g=this.p9;this.next=this.fga;break;case "semester":this.j=315576E5*this.b/2;this.g=this.m9;this.next=this.cga;break;case "quarter":this.j=315576E5*this.b/4;this.g=this.k9;this.next=this.aga;break;case "month":this.j=
315576E5*this.b/12;this.g=this.SP;this.next=this.$fa;break;case "third-of-month":this.j=315576E5*this.b/36;this.g=this.n9;this.next=this.dga;break;case "week":this.j=6048E5*this.b;this.g=this.o9;this.next=this.ega;break;default:this.j=864E5*this.b;this.g=this.g9;this.next=this.Ufa;break;case "hour":this.j=36E5*this.b;this.g=this.h9;this.next=this.Wfa;break;case "minute":this.j=6E4*this.b;this.g=this.j9;this.next=this.Zfa;break;case "second":this.j=1E3*this.b;this.g=this.l9;this.next=this.bga;break;
case "millisecond":this.j=this.b,this.g=this.i9,this.next=this.Yfa}},R_=function(a,b,c){a.f.setTime($.Ho(a.f.getTime(),b,c?c.getTime():Date.UTC(2E3,0))-b)},lia=function(a){var b=a.getUTCDate();return 3*(12*a.getUTCFullYear()+a.getUTCMonth())+(10>=b?0:20>=b?1:2)},mia=function(a,b){var c=a.cj()-b.cj();return c?c:b.b-a.b},S_=function(){$.Yq.call(this);this.Fa("defaultGroupingSettings");this.j=!0;this.D=!1;this.b=[];this.f=500;this.g=window.NaN;this.G={unit:"millisecond",count:1};this.N=!1},oia=function(a){for(var b=
[],c=0;c<a.b.length;c++)b.push(nia(a.b[c]));return b},nia=function(a){return{unit:a.D,count:a.b}},T_=function(a,b){this.key=a;this.values=b;this.b=this.next=null;this.g=!1;this.j=pia++},U_=function(a,b){return a.key==b.key?a.j-b.j:a.key-b.key},V_=function(a){return this-a.key},qia=function(a){return this-a.key},W_=function(a,b,c,d,e){this.Zc=a;this.ga=d;this.N=new T_((0,window.isNaN)(b.au)?-1:b.au,[]);this.N.next=b.uS;this.U=b.gI;this.ka=b.lastIndex-b.Ei+1||0;this.ba=(this.g=e||null)?this.Iba:this.d9;
this.ya=this.g?this.nda:this.uda;this.ki=c;this.reset()},X_=function(){this.f=[];this.g=!0;this.b=[];this.O=!0;this.D=[];this.j=0;this.N=[];this.G=0},ria=function(a,b){return a.b.length?1<a.b.length?a.hi($.Za(Math.round(a.zf(b)),0,a.b.length-1)):a.b[0].key:window.NaN},Z_=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 Y_(b,a.b.length>b?a.b[b]:null,d,Math.min(c,a.b.length-1)-Math.min(b,a.b.length))},$_=function(a){return a.b.length?a.b.length-
1:window.NaN},tia=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.yh==b&&m.Di==c)return m}var p=a.zf(b);var q=a.zf(c);m=Math.max(0,Math.ceil(p));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=sia(a);u=$.Za(b,t[2],t[3]);v=$.Za(c,t[2],t[3]);h=a.zf(u);for(var w=a.zf(v),x,y;h<=w;h++)h<m?(x=$.Za(a.b[m].key,t[0],t[1]),y=$.Za(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=N_(x),l[y.unit]?(y=l[y.unit],y.count++,y.qe+=x):l[y.unit]={count:1,qe:x,ng:y.unit});w>d&&(x=$.Za(v,t[0],t[1]),y=$.Za(a.b[d].key,t[0],
t[1]),x-=y,(0,window.isNaN)(x)||0==x||(y=N_(x),l[y.unit]?(y=l[y.unit],y.count++,y.qe+=x):l[y.unit]={count:1,qe:x,ng:y.ng}))}else m=d=r=e=p=q=f=window.NaN;m={Im:l,yh:b,Di:c,mg:p,wj:q,Ei:m,au:r,lastIndex:d,uy:e,OH:f};k&&(a.N[a.G]=m,a.G=(a.G+1)%4);return m},sia=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},Y_=function(a,b,c,d){this.D=
{key:a-1,next:b};this.N=c?c.next:null;this.G=d;this.reset()},c0=function(a){this.Zc=a;this.f=a0(a.Wd());this.j=!0;this.b=uia(this.f);this.g=null;this.G=!1;this.D=[];b0(this)},b0=function(a){for(var b=a.g?a.g.g.b.length:a.f.Gb();a.D.length<b;)a.D.push({})},via=function(a,b){var c=a.f.qn(b);return c?new d0(c,a.Zc,!a.j,b,a.D[b]):null},wia=function(a,b,c,d){if(b>c){var e=b;b=c;c=e}e=a0(a.Zc.Wd(),d);if(a.G||e!=a.f||a.b.yh!=b||a.b.Di!=c)a.G=!1,a.f=e,a.j=!d,a.b=e.select(b,c),b0(a);return a},e0=function(a,
b,c){return b?(c=a.g?a.g.zf(b.key):c,new d0(b,a.Zc,!a.j,c,a.D[c]||{})):null},f0=function(a){return e0(a,a.b.sN,a.b.au)},g0=function(a){return e0(a,a.b.gI,a.b.uy)},xia=function(a,b){var c=a.b.Z1,d=a.b.lastIndex;if($.n(b))for(var e=a.j?h0(a.Zc,b):i0(a.Zc,b);c&&c!=a.b.sN&&(0,window.isNaN)(c.ej(e));)c=c.b,d--;c==a.b.sN&&(c=null);return e0(a,c,d)},yia=function(a,b,c){if("first-visible"==b){var d=a.b.uS,e=a.b.Ei;if($.n(c))for(c=a.j?h0(a.Zc,c):i0(a.Zc,c);d&&d!=a.b.gI&&(0,window.isNaN)(d.ej(c));)d=d.next,
e++;d==a.b.gI&&(d=null);a=e0(a,d,e)}else if("last-visible"==b)a=xia(a,c);else if("series-start"==b){e=a0(a.Zc.Wd());if($.n(c)){c=h0(a.Zc,c);b=0;for(var f=e.Gb();b<f&&(d=e.qn(b),(0,window.isNaN)(d.ej(c)));b++);}else d=e.qn(0);a=d?new d0(d,a.Zc,!1,0,null):null}else if("series-end"==b){d=a0(a.Zc.Wd());if($.n(c))for(c=h0(a.Zc,c),b=d.Gb();b--&&(e=d.qn(b),(0,window.isNaN)(e.ej(c))););else e=d.qn(d.Gb()-1);a=e?new d0(e,a.Zc,!1,0,null):null}else c=a0(a.Zc.Wd()),d=$.n(b)?j0(c,b,"exact"):0,a=(c=c.qn(d))?new d0(c,
a.Zc,!1,d,null):null;return a},k0=function(a,b){return a.j?h0(a.Zc,b):i0(a.Zc,b)},m0=function(a,b,c){return new W_(a.Zc,a.b,a.D,!a.j,b&&a.g?l0(a.g,!!c):null)},d0=function(a,b,c,d,e){this.hf=a;this.Zc=b;this.b=c;this.wd=d;this.ki=e},n0=function(){$.Yq.call(this);this.ga={};this.ka={};this.Ra={};this.U={};this.ya=this.g=this.f=new X_;this.O={};this.b={Im:{},yh:window.NaN,Di:window.NaN,mg:window.NaN,wj:window.NaN,Ei:window.NaN,au:window.NaN,lastIndex:window.NaN,uy:window.NaN,OH:window.NaN,oia:window.NaN,
Oca:window.NaN,nia:window.NaN,Nca:window.NaN};this.ba={Im:{},yh:window.NaN,Di:window.NaN,mg:window.NaN,wj:window.NaN,Ei:window.NaN,au:window.NaN,lastIndex:window.NaN,uy:window.NaN,OH:window.NaN,oia:window.NaN,Oca:window.NaN,nia:window.NaN,Nca:window.NaN};this.ab=this.D=this.j=this.nb=this.eb=window.NaN},o0=function(a,b,c){var d=$.oa(b).toFixed(0);c=c?a.ka:a.Ra;if(!(d in a.ga&&d in c)){a.ga[d]=b;c[d]=b;b.g=a;b=b.Uq().Wd();d=$.oa(b).toFixed(0);d in a.U||(a.U[d]=b,$.L(b,a.K4,a));a.f.g=!0;for(var e in a.O)a.O[e].g=
!0;a.B(16384,16)}},zia=function(a){if(a.J(16384)){p0(a);var b=sia(a.f);if(a.j!=b[2]||a.D!=b[3])return a.eb=b[0],a.nb=b[1],a.j=b[2],a.D=b[3],!0}return!1},Cia=function(a,b,c,d,e){zia(a);q0(a,e);q0(a,d);var f=a.j,h=a.D,k=a.J(16384);a.ab=b;b=0;var l=r0(a,f,h,s0(a),a.Ra,a.ya,a.ba,k);l&&(a.ya=l[0],a.ba=l[1],b+=2);l=a.N.Xn();Aia(e,a.ba.yh,a.ba.Di,l.unit,l.count,a.ba.Im);l=a.b.yh;var m=a.b.Di;!k||!(!c||(0,window.isNaN)(a.b.au)&&!(0,window.isNaN)(a.b.yh)||(0,window.isNaN)(a.b.uy)&&!(0,window.isNaN)(a.b.yh))||
(0,window.isNaN)(a.Ja)||(0,window.isNaN)(a.Ga)||(0,window.isNaN)(f)||(0,window.isNaN)(h)||(l=e.Fc(a.Ja),m=e.Fc(a.Ga));if((0,window.isNaN)(l)||(0,window.isNaN)(a.b.au)&&!(0,window.isNaN)(a.b.yh)&&!(0,window.isNaN)(f))l=f;if((0,window.isNaN)(m)||(0,window.isNaN)(a.b.uy)&&!(0,window.isNaN)(a.b.yh)&&!(0,window.isNaN)(h))m=h;if(!(0,window.isNaN)(l)){if(c=r0(a,l,m,a.G,a.ka,a.g,a.b,k))a.g=c[0],a.b=c[1],b+=1;Bia(a,d)}a.Ja=e.transform(a.b.yh);a.Ga=e.transform(a.b.Di);a.I(16384);return b},r0=function(a,b,c,
d,e,f,h,k){if(b>c){var l=b;b=c;c=l}1>c-b&&(c>a.j?b=c-1:c=b+1);h=b!=h.yh||c!=h.Di;var m=a.ab,p=c-b;l=tia(a.f,b,c);var q=l.lastIndex-l.Ei+1||0;l=l.OH;m=(0,window.isNaN)(d.f)?m/d.g:d.f;var r=-1;if(d.j&&0<d.b.length&&l&&(d.D||q>m)){q=0;for(r=d.b.length;q<r&&d.b[q].cj()<=l;)q++;p/=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].cj()>=p){r=t;break}0>r&&q<m&&(r=m-1)}0>r?(p=null,d.G=l?N_(l):{unit:"millisecond",count:1}):(p=d.b[r],d.G=nia(p));d.N=!!p;d=p;var u;d?(l=d.D+d.b.toFixed(0),
l in a.O?u=a.O[l]:a.O[l]=u=new X_):u=a.f;a=t0(a,u,d)||k;if(h||u!=f||a){var v;f=tia(u,b,c);if(u.O)for(v in e){if(a=e[v],k=b,h=c,l=f.au,p=f.uy,q=d,m=a0(a.Zc.Wd(),q),a.G||m!=a.f||a.b.yh!=k||a.b.Di!=h)a.G=!1,a.f=m,a.j=!q,a.b=u0(m,k,h,l,p),b0(a)}else for(v in e)wia(e[v],b,c,d);return[u,f]}return null},l0=function(a,b,c,d){var e=b?a.ya:a.g;if(e.O&&!d)return null;if(c)return Z_(e,e.b.length?0:window.NaN,$_(e));a=b?a.ba:a.b;return Z_(e,a.Ei,a.lastIndex)},s0=function(a,b){a.N||(a.N=new S_,a.N.Fa("stock.scrollerGrouping"),
a.N.X(a.N.ma,!0),$.L(a.N,a.Y0,a));return $.n(b)?(a.N.K(b),a):a.N},t0=function(a,b,c){if(b.cr()){b.f.length=0;b.g=!0;for(var d in a.U){var e=a0(a.U[d],c);b.f.push(e)}b.update();return!0}return!1},p0=function(a){t0(a,a.f)},Bia=function(a,b){var c=a.tn().Xn();Aia(b,a.b.yh,a.b.Di,c.unit,c.count,a.b.Im)},q0=function(a,b){var c=a.D,d=a.eb,e=a.nb;b.ga=a.j;b.ba=c;b.g=d;b.U=e;b.ta(256)},v0=function(a){t0(a,a.g);return a.g.hi(a.b.Ei)},w0=function(a){t0(a,a.g);return a.g.hi(a.b.lastIndex)},x0=function(a){$.Uw.call(this,
a);$.T(this.ua,[["scrollOnMouseWheel",0,0]])},y0=function(a,b){$.Y.call(this);this.Fa($.hr.axis);this.b=a;this.Wa=this.Ka=this.oc=this.Da=null;this.f=!b;$.T(this.ua,[["height",4,9],["showHelperLabel",16,1],["overlapMode",16,1]])},z0=function(){$.Y.call(this);this.D=this.G=this.j=this.N=null;$.T(this.ua,[["value",4,1],["valueField",4,1],["stroke",20,1],["fallingStroke",20,1],["risingStroke",20,1]])},Dia=function(a,b,c){b=$.n(b)?b:a.ma;a.j||(a.j=new $.Du,$.L(a.j,a.rQ,a),a.g=a.j.add(null,null,0),a.g.zIndex(1),
a.j.I(4294967295));a.G||(a.G=new $.Du,$.L(a.G,a.rQ,a),a.G.I(4294967295));a.D||(a.D=new $.Du,$.L(a.D,a.rQ,a),a.D.I(4294967295));a.j.ia(!!c,b.label);a.G.ia(!!c,b.risingLabel);a.D.ia(!!c,b.fallingLabel)},A0=function(){$.Wy.call(this)},B0=function(a){$.YC.call(this);this.b=a;this.O=null},Eia=function(a){this.lc=a;this.f=[];this.b=0},C0=function(a){this.b=[];this.O=a;this.Ga=[];this.ka=0;this.ya=[];this.ga=0;this.g=-1;this.G=null},D0=function(a){a.G=null;a.Ga.length=0;a.ka=0;a.ya.length=0;a.ga=0},E0=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))},u0=function(a,b,c,d,e){var f,h=a.b.length;if(h){for(f=0;f<a.Ga.length;f++){var k=a.Ga[(a.ka-f-1+4)%4];if(k.yh==b&&k.Di==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 p=a.b[d]||null;k=a.b[l]||null;var q=a.b[m]||null;var r=a.b[e]||null}else k=q=p=r=null,l=m=d=e=window.NaN;var t=a.TS(),u=$.ea(t),v,w,x,y;if(p||k||r){var B=!p&&!r;if(B&&a.G){var G=v=a.G.SM;var C=w=a.G.QM;var I=x=a.G.fK;var P=y=a.G.eK}else{G=M_(t,window.Infinity,!0);C=M_(t,-window.Infinity,!0);I=M_(a.g+1,window.Infinity);P=M_(a.g+1,-window.Infinity);for(v=p?p.next:k;v&&v!=r;)E0(a,v,t,G,C,I,P),v=v.next;
v=$.Qc(G);w=$.Qc(C);x=$.Ja(I,0);y=$.Ja(P,0);p&&E0(a,p,t,v,w,x,y);r&&E0(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++)I[f]==Number.POSITIVE_INFINITY&&(I[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);B&&(a.G={SM:$.Qc(G),QM:$.Qc(C),fK:$.Ja(I,0),eK:$.Ja(P,0)})}}else G=C=v=w=M_(t,window.NaN,!0),I=P=x=y=M_(a.g,window.NaN);k={yh:b,Di:c,au:d,Ei:l,lastIndex:m,uy:e,sN:p,uS:k,Z1:q,gI:r,SM:v,QM:w,eK:y,fK:x,r5:G,q5:C,o5:P,p5:I};h&&(a.Ga[a.ka]=k,a.ka=(a.ka+1)%4);return k},
uia=function(a){var b=a.b.length;return b?u0(a,a.b[0].key,a.b[b-1].key,window.NaN,window.NaN):u0(a,window.NaN,window.NaN,window.NaN,window.NaN)},j0=function(a,b,c){c=c||"exact";for(var d=0;d<a.ya.length;d++){var e=a.ya[(a.ga-d-1+2)%2];if(e.key==b&&e.mode==c)return e.index}d=$.Pa(a.b,V_,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.ya[a.ga]={key:b,mode:c,index:d};a.ga=(a.ga+1)%2;return d},G0=function(a,b){C0.call(this,a);this.D=b||null;this.f=F0;this.j=0},Fia=function(a,b,c,d,e,f){e=e?a.j:c.length;var h;$.n(f)?(f=$.Pa(b,V_,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 p=c[h];p.b(b.values[p.j],b.values[p.D],b.values)}b=b.next}if(m){p=Array(e);for(h=0;h<e;h++)p[h]=
c[h].f();h=new T_(k,p);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++)p=c[h],p.b(b.values[p.j],b.values[p.D],b.values);p=Array(e);for(h=0;h<e;h++)p[h]=c[h].f();h=new T_(b.key,p);f&&(f.next=h);h.b=f;a.b.push(h);f=h;b=b.next}while(b)}},H0=function(a,b,c,d,e,f){C0.call(this,a);this.f=[];this.j=this.v3;this.N=0;this.U=!1;this.nb=$.z(b)?b:$.O(b,0,!0);this.Ra=c;this.ab=$.N(d)||0;this.Ja=$.ma(e)?e.getTime():$.N(e);this.eb=f||null;this.ba=0;this.D=null},Gia=function(a,b){if($.A(b))b=
$.Ja(b,0);else if($.D(b)){var c=b;b={};for(var d in c)b[d]=c[d]}else b=null;c=$.cs(b[a.nb],a.Ra,(0,window.isNaN)(a.Ja)?null:new Date(a.Ja),a.eb);if(d=!(!b||!c))a.ab&&c.setTime(c.getTime()+36E5*a.ab),a.j(new T_(c.getTime(),b));return d},I0=function(a){a.j==a.RV&&(a.f.sort(U_),a.j=a.t3);return a.j!=a.u3},Hia=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($.A(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)},J0=function(a,b,c,d,e){this.lc=a||[];this.j=b||[];d=$.N(d);e=$.N(e);(0,window.isNaN)(e)?this.next=this.gga:(this.next=this.Dba,this.D=e);a=(0,window.isNaN)(d)?0:$.Pa(this.lc,V_,d);this.f=this.lc[0>a?~a:a];c?(this.g=this.Tfa,this.b=(0,window.isNaN)(d)?0:$.Pa(this.j,V_,d),0>this.b&&(this.b=~this.b)):(this.g=
this.Vfa,this.b=(0,window.isNaN)(d)?this.j.length-1:$.Pa(this.j,qia,d),0>this.b&&(this.b=~this.b-1))},K0=function(a,b){$.od.call(this);this.Zc=a;this.wd=b;this.f={};this.b=$.fl;this.g=this.j=$.ia},L0=function(a,b,c,d){d0.call(this,a,b.Zc,c,d,{});this.j=b},M0=function(a,b){$.Yq.call(this);this.Iy=a;this.yC={};if($.D(b)){$.V(this.Iy);for(var c in b){var d=b[c];$.D(d)?this.Hd(c,d.column,d.type,d.context||d.weights):($.ea(d)||$.z(d))&&this.Hd(c,d)}this.Iy.da(!0)}},i0=function(a,b){return b in a.yC?a.yC[b].K3:
window.NaN},h0=function(a,b){return b in a.yC?a.yC[b].z4:window.NaN},N0=function(a,b){$.od.call(this);this.j=a;this.D=$.n(b)?b:window.NaN;this.clear()},O0=function(a){N0.call(this,a)},P0=function(a,b){this.g=b;N0.call(this,a)},Q0=function(a,b,c){this.G=b;this.g=c;N0.call(this,a)},R0=function(a){N0.call(this,a)},S0=function(a){N0.call(this,a)},T0=function(a){N0.call(this,a)},U0=function(a){N0.call(this,a)},V0=function(a){N0.call(this,a)},W0=function(a){N0.call(this,a)},X0=function(a){N0.call(this,
a)},Y0=function(a){N0.call(this,a)},Z0=function(a,b){N0.call(this,a,b)},Iia=function(a,b,c){if($.E(a))return new Q0(b,a,c);if($.D(a))return new P0(b,a);switch(a){case "average":return new O0(b);case "first":return new R0(b);case "first-value":return new S0(b);case "last-value":return new U0(b);case "list":return new V0(b);case "max":return new W0(b);case "min":return new X0(b);case "sum":return new Y0(b);case "weighted-average":return new Z0(b,c);default:case "last":return new T0(b)}},Jia=function(a,
b,c){$.ea(b)&&(b=b.toFixed(0));if($.D(a))return $.oa(a)+"|"+b+"|"+$.ko(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}},$0=function(a,b,c,d,e){$.Yq.call(this);this.lc=new H0(this,a,b,c,d,e);this.Bu={};this.eR={};this.xz=
{};this.AF=0;this.ww=[];this.ME=[];this.px=[];this.BF=[]},a0=function(a,b){var c;if(b){var d=b.D+b.b.toFixed(0);d in a.Bu?c=a.Bu[d]:a.Bu[d]=c=new G0(a,b)}else c=a.lc;c.update();return c},Kia=function(a,b,c){for(var d in a.Bu){var e=a.Bu[d];(e.f|b)!=e.f?(e.f|=b,e=!0):e=!1;c=e||c}c&&($.Fp++,a.ta(16),$.Ip())},a1=function(a,b,c,d){$.nx.call(this,a,b,c,d);this.f=this.D=this.U=this.oa=this.ba=null;this.N=!1;this.O=null;this.VZ=!1},Lia=function(a){var b,c=a.bb();a.check(64)&&!a.Tg()&&$.K(c,$.yt)&&"none"!=
c.wz()&&(b=yia(a.oa,c.d_(),a.Se.ol));a.$B=Number(b&&b.get(a.Se.ol))||0},Mia=function(a){a.f=null;a.N=!1;b1(a,$.Zl);a.aa().reset()},b1=function(a,b){if(a.G&&a.enabled()){var c=a.aa();c.ku(a.G.hf,a.G.la());if(a.Aa.Zs){a.Rg()&&a.vf.tm(b,c.o("shapes"));var d=c.o($.K(a.vf,$.KA)?"shapes":"shapeNames");a.vf.lB(b,d);a.Se.sE(c,b)}a.check(4194304)&&a.Op(c,b,!0);b==$.Zl&&(a.G=null)}},c1=function(a,b){return"number"==typeof b?$.qs(b,a.ba||void 0):b},d1=function(){this.oa=[];this.f=(0,$.pa)(this.f,this)},e1=function(a,
b){return a.key-b.key||a.index-b.index},Nia=function(a,b,c,d){this.oa=a;this.O=b;this.G=c;this.N=d;this.reset()},Oia=function(a,b){var c,d=$.Na(a.oa,b,function(a,b){return a-b.index});if(c=0<=d){var e=a.oa[d];a.b=d;a.j=e.aG;a.D=e.items.length;a.g=0}else a.D=0,a.b=a.oa.length,a.g=0,a.j=window.NaN;return c},f1=function(a){return a.b<a.oa.length?a.oa[a.b].index:window.NaN},k1=function(a,b){$.Y.call(this);this.Ze=a;this.index=b;this.KF=new d1;this.Vl=new $.KA(this,[$.tH,Pia],!1);this.ca=new $.Yx(this,
g1,$.Zl,h1);this.ca.pa("connectorAfterInitCallback",P_);this.xa=new $.Yx(this,i1,$.Zl,h1);this.Ca=new $.Yx(this,i1,$.Zl,h1);this.Da=new $.Du;this.Da.ib(this);$.T(this.ua,j1);this.AA=[];this.Oba=$.Vl("stroke",2,!0,!0)},Qia=function(a,b,c,d){b.o("positionHash")==c&&(a.Da.Vd(b.la()).Kd().translate(0,d),b.o("shapes").path.translate(0,d),b.o("shapes").overlay.translate(0,d),b.o("offset",Number(b.o("offset"))-d))},Ria=function(a,b){var c;var d=a.Ze.mc().Va();var e=a.aa(),f=(c=Number(e.o("state"))||$.Zl)?
1==c?30:20:a.zIndex()+3E-6*e.la(),h=a.zc("type",c,e,$.Lk,!1),k=a.aY[h];var l=a.zc("position",0,e,$.Nk,!1,void 0,!0);var m=window.NaN,p=a.zc("direction",c,e,$.Mk,!1,void 0,!0),q="",r="";if("axis"!=l){q=a.zc("seriesId",0,e,$.oq,!1,void 0,!0);var t=a.Ze.Ue(q)||a.Ze.Nh(0),u;if(t&&(u=via(t.oa,f1(e)))&&!u.o("missing")){if("zero"==l){r="zero";var v=0}else r=a.zc("fieldName",0,e,$.oq,!1,void 0,!0),v=Number(u.get(r));"series-positive"==l&&0>v||"series-negative"==l&&0<v?(v=0,m=Number(u.o("zero")),(0,window.isNaN)(m)&&
(m=t.Ie(t.bb().transform(0),!1)),m=$.Za(m,a.ea.top,a.ea.top+a.ea.height),l=m==a.ea.top+a.ea.height?"axis":"zero"):(m=Number(u.o(r)),(0,window.isNaN)(m)&&!(0,window.isNaN)(v)&&(m=t.Ie(t.bb().transform(v),!1)),m=$.Za(m,a.ea.top,a.ea.top+a.ea.height));"auto"==p&&(p=0>v||!v&&"series-negative"==l?"down":"up")}}(0,window.isNaN)(m)&&(m=a.ea.top+a.ea.height,l="axis",p="up");p="down"!=p;l+="axis"==l?"":q+r+(p?"U":"D");e.o("positionHash",l);r=d.transform(e.Oh(),.5)*a.ea.width+a.ea.left;d=(b?b[l]:Number(e.o("offset")))||
0;e.o("offset",d);q=0;var w=a.Oba(a,c);!d&&w&&(q=$.M(a.zc("length",c,e,$.Qq,!0),a.ea.height),d+=q);m+=p?-d:d;t={group:a,index:e.la()};if(b){var x=a.Vl.Xc(c,null,f);u=x.path;v=x.overlay;e.o("shapes",x)}else x=e.o("shapes"),u=x.path,v=x.overlay,a.Vl.tm(c,x),a.Vl.ct(f,x),u.parent(a.P()),u.clear(),u.jc(1,0,0,1,0,0),v.parent(a.P()),v.clear(),v.jc(1,0,0,1,0,0);x=$.bc(u.stroke());r=$.R(r,x);m=$.R(m,x);u.tag=t;v.tag=t;q&&w&&(w=a.Ze.bj().rC(r,m,m-(p?-q:q),w,b?void 0:e.o("connectorPath")),w.tag=t,e.o("connectorPath",
w));x=Math.round($.M(a.zc("width",c,e,$.Qq,!1),a.ea.width));w=Math.round($.M(a.zc("height",c,e,$.Qq,!1),a.ea.height));k(u,r,m,x,w,p);a.ce(e,c,h,r,m,x,w,p,f+1E-6,!b).Kd().tag=t;(0,a.aY["flag"==h?"flag":"rect"])(v,r,m,x,w,p);d+=w;c=w+q-Number(e.o("totalHeight")||0);e.o("totalHeight",w+q);return[l,b?d:p?-c:c]},l1=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)}},m1=function(a,b){$.Y.call(this);this.Fa("stock.eventMarkers");$.L(b,this.S2,this);this.f=a;this.b=
[];this.g={};this.j=[];this.ca=new $.Yx(this,g1,$.Zl,h1);this.ca.pa("connectorAfterInitCallback",P_);this.ca.Fa("defaultFontSettings","stock.eventMarkers.normal");this.xa=new $.Yx(this,i1,$.Zl,h1);$.W(this,"hovered",this.xa);this.Ca=new $.Yx(this,i1,$.Zl,h1);$.W(this,"selected",this.Ca);$.T(this.ua,j1);this.AA=[];$.eu(this,this)},n1=function(a,b,c,d){var e=4*Math.min(b,$.qo)+2*c+!d,f=a.AA[e];if(!f){f=a.f.mc().bj();if(b)if(1==b){var h=a.xa;var k=f.mb()}else h=a.Ca,k=f.selected();else h=a.ca,k=f.Sa();
d&&(h=h.Zg(),k=k.Zg());f=c?[b||d?null:a.ma,b||d?null:f.ma,h.ma,k.ma]:[b||d?null:a.Ma,b||d?null:f.Ma,h.Ma,k.Ma];a.AA[e]=f}return f},Sia=function(a){a.Bn||(a.Bn=[]);for(var b;b=a.j.pop();)b.clear(),b.parent(null),a.Bn.push(b)},o1=function(a,b,c,d,e){var f=b.aa();if(f.select(c)){c=Number(f.o("state")||0);if($.n(e)&&c!=e)return!1;if(c!=d){f.o("state",d);e=Ria(b);if(d=e[1]){e=e[0];for(c=f1(f);f.advance()&&f1(f)==c;)Qia(b,f,e,d);for(var h=b.index+1;h<a.b.length;h++)if((b=a.b[h])&&b.enabled()&&Oia(f=b.aa(),
c)){do Qia(b,f,e,d);while(f.advance()&&f1(f)==c)}}return!0}}return!1},p1=function(a){$.od.call(this);this.D=a[0];this.Zc=a[1];this.Oa={};this.f=null},q1=function(a,b,c,d){a.Oa[b]={W:null,Sj:K_(c,d),qD:!1,mapping:null,bU:!1}},s1=function(a,b,c){b=a.Oa[b];return b?$.n(c)?(c=K_(c,b.Sj),c!=b.W.Sj()&&(b.Sj=c,b.qD=!1,b.bU=!0,r1(a)),a):b.W:$.n(c)?a:null},r1=function(a){a.f||(a.f=a.Dc(a.Zc));$.V(a.D.mc());for(var b in a.Oa){var c=a.Oa[b];c.W||(c.W=a.D.te(c.Sj),c.W.ba=2,c.qD=!1);$.V(c.W);c.bU&&(c.W.Sj(c.Sj),
c.bU=!1);c.mapping||(c.mapping=a.Zc.Wd().ie(),a.In(c.mapping,a.f,b));c.qD||(c.W.data(c.mapping),$.E(c.W.name)&&c.W.name(a.Of(b)),c.qD=!0);c.W.da(!0)}a.D.mc().da(!0)},t1=function(a){for(var b in a.Oa){var c=a.Oa[b];c.qD=!1;$.qd(c.mapping);c.mapping=null}$.qd(a.f);a.f=null;r1(a)},u1=function(a){this.g=$.O(a,256,!1);this.lc=[];this.b=this.f=0},v1=function(a){return new u1(a)},w1=function(){return{nd:0,dispose:function(){}}},x1=function(a){a.nd=0},y1=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;var f=c-d,h=a.nd;f&&(h+=(b-d-(c-b))/f*e,a.nd=h);return h},Tia=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=y1(b,c,d,e,f);a.set("result",c)},Uia=function(a){a=a.Wd().Dc(a);a.Lf(w1());a.Mf(x1);a.Kf(Tia);a.bd("result");return a},z1=function(a){p1.call(this,a);q1(this,"main",a[2]);r1(this)},Via=function(a,b,c){a=$.O(a,20,!1);b=$.O(b,2,!1);c=$.O(c,30,!1);if(b>c){var d=b;b=c;c=d}return{$b:v1(a+
1),vb:a,Gw:c,nv:b,bu:window.NaN,nd:window.NaN,dispose:function(){this.$b.clear()}}},Wia=function(a){a.$b.clear();a.nd=window.NaN},Xia=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);var d=(0,window.isNaN)(c),e;d||(e=b.$b.enqueue(c));if(d||b.$b.Dg()<=b.vb)c=window.NaN;else{var f=2/(b.Gw+1);var h=2/(b.nv+1);c=b.$b.get(-1);var k=b.$b.get(0);d=b.$b.get(-2);if((0,window.isNaN)(b.nd)||(0,window.isNaN)(b.bu)){b.bu=0;for(e=1;e<=b.vb;e++)b.bu+=Math.abs(b.$b.get(e)-b.$b.get(e-1));b.bu?
(e=Math.abs(c-k)/b.bu,e=e*(h-f)+f):e=f;c=d+e*e*(c-d)}else b.bu+=Math.abs(c-d)-Math.abs(k-e),b.bu?(e=Math.abs(c-k)/b.bu,e=e*(h-f)+f):e=f,c=b.nd+e*e*(c-b.nd);b.nd=c}a.set("result",c)},Yia=function(a,b,c,d){a=a.Wd().Dc(a);a.Lf(Via(b,c,d));a.Mf(Wia);a.Kf(Xia);a.bd("result");return a},A1=function(a){p1.call(this,a);this.g=$.O(a[2],20,!1);this.b=$.O(a[3],2,!1);this.j=$.O(a[4],30,!1);q1(this,"main",a[5]);r1(this)},B1=function(a){a=$.O(a,20,!1);return{$b:v1(a),vb:a,nd:window.NaN,dispose:function(){this.$b.clear()}}},
C1=function(a){a.$b.clear();a.nd=window.NaN},Zia=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);c=D1(b,c);a.set("result",c)},$ia=function(a,b){var c=a.Wd().Dc(a);c.Lf(B1(b));c.Mf(C1);c.Kf(Zia);c.bd("result");return c},D1=function(a,b){if((0,window.isNaN)(b))return window.NaN;a.$b.enqueue(b);var c;if(a.$b.Dg()<a.vb)return window.NaN;if((0,window.isNaN)(a.nd)){for(var d=c=0;d<a.vb;d++)c+=a.$b.get(d);c/=a.vb}else c=a.$b.get(-1),c=a.nd+2/(a.vb+1)*(c-a.nd);return a.nd=c},E1=function(a){a=
$.O(a,20,!1);return{$b:v1(a),vb:a,nd:window.NaN,OF:window.NaN,dispose:function(){this.$b.clear()}}},F1=function(a){a.$b.clear();a.nd=window.NaN;a.OF=window.NaN},aja=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);c=G1(b,c);a.set("result",c)},bja=function(a,b){var c=a.Wd().Dc(a);c.Lf(E1(b));c.Mf(F1);c.Kf(aja);c.bd("result");return c},G1=function(a,b){if((0,window.isNaN)(b))return a.OF=window.NaN;var c=a.$b.enqueue(b);a.OF=c;if(a.$b.Dg()<a.vb)return window.NaN;if((0,window.isNaN)(a.nd)){for(var d=
c=0;d<a.vb;d++)c+=a.$b.get(d);c/=a.vb}else d=a.$b.get(-1),c=a.nd+(d-c)/a.vb;return a.nd=c},cja=function(a,b,c){a=$.O(a,5,!1);b=$.O(b,34,!1);c=L_(c,"sma");if("sma"==c){var d=E1;var e=G1}else d=B1,e=D1;return{mv:d(a),Fw:d(b),io:e,Hk:c,dispose:function(){this.mv.dispose();this.Fw.dispose()}}},dja=function(a){"sma"==a.Hk?(F1(a.mv),F1(a.Fw)):(C1(a.mv),C1(a.Fw))},eja=function(a,b,c){if((0,window.isNaN)(b)||(0,window.isNaN)(c))return window.NaN;c=(b+c)/2;b=a.io(a.mv,c);a=a.io(a.Fw,c);return b-a},fja=function(a,
b){var c=$.N(a.get("high")),d=$.N(a.get("low"));c=eja(b,c,d);a.set("result",c)},gja=function(a,b,c,d){a=a.Wd().Dc(a);a.Lf(cja(b,c,d));a.Mf(dja);a.Kf(fja);a.bd("result");return a},H1=function(a){p1.call(this,a);this.b=$.O(a[2],5,!1);this.g=$.O(a[3],34,!1);this.j=L_(a[4],"sma");q1(this,"main",a[5],"stick");r1(this);var b=new $.Yq;b.Fa("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)},I1=function(a){a=E1($.O(a,14,!1));a.tN=window.NaN;return a},J1=function(a){F1(a);a.tN=window.NaN},K1=function(a,b,c,d){if((0,window.isNaN)(c)||(0,window.isNaN)(d)||(0,window.isNaN)(b))return window.NaN;c=G1(a,Math.max(c,a.tN)-Math.min(d,a.tN));a.tN=b;return c},
hja=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=K1(b,c,d,e);a.set("result",c)},ija=function(a,b){var c=a.Wd().Dc(a);c.Lf(I1(b));c.Mf(J1);c.Kf(hja);c.bd("result");return c},L1=function(a){p1.call(this,a);this.b=$.O(a[2],14,!1);q1(this,"main",a[3]);r1(this)},jja=function(a){a=$.O(a,20,!1);return{Oe:v1(a+1),qf:v1(a+1),vb:a,dispose:function(){this.Oe.clear();this.qf.clear()}}},kja=function(a){a.Oe.clear();a.qf.clear()},lja=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.Oe.enqueue(c),b.qf.enqueue(d));c=b.Oe.Dg();if(e||c<=b.vb)c=e=window.NaN;else{var f=0,h=b.Oe.get(0);for(d=1;d<c;d++){var k=b.Oe.get(d);k>=h&&(h=k,f=d)}e=100*f/b.vb;f=0;h=b.qf.get(0);for(d=1;d<c;d++)k=b.qf.get(d),k<=h&&(h=k,f=d);c=100*f/b.vb}a.set("upResult",e);a.set("downResult",c)},mja=function(a,b){var c=a.Wd().Dc(a);c.Lf(jja(b));c.Mf(kja);c.Kf(lja);c.bd("upResult");c.bd("downResult");return c},M1=function(a){p1.call(this,a);this.b=
$.O(a[2],20,!1);this.j=a[3];this.g=a[4];q1(this,"range",a[5],"range-area");r1(this);this.tQ().lowFill(function(){return $.Ml($.Il(this.sourceColor,.6),.65)});this.tQ().lowStroke(function(){return $.Ml($.Il(this.sourceColor),1)})},N1=function(a,b){var c=E1($.O(a,20,!1));c.Un=$.O(b,2,!1);c.ow=window.NaN;return c},O1=function(a){F1(a);a.ow=window.NaN},P1=function(a,b){var c=a.nd,d=G1(a,b);if((0,window.isNaN)(d))return[window.NaN,window.NaN,window.NaN];var e,f=a.$b,h=a.vb;if((0,window.isNaN)(c))for(c=
e=0;c<h;c++){var k=f.get(c)-d;e+=k*k}else e=a.OF-c,k=f.get(-1)-d,f=c-d,e=a.ow+h*f*f+f*(d+c)-2*a.OF*f+k*k-e*e;0>e&&(e=0);a.ow=e;e=Math.sqrt(e/h)*a.Un;return[d,d+e,d-e]},nja=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);c=P1(b,c);var d=c[1],e=c[2];a.set("middleResult",c[0]);a.set("upperResult",d);a.set("lowerResult",e)},oja=function(a,b,c){a=a.Wd().Dc(a);a.Lf(N1(b,c));a.Mf(O1);a.Kf(nja);a.bd("upperResult");a.bd("lowerResult");a.bd("middleResult");return a},Q1=function(a){p1.call(this,
a);this.g=$.O(a[2],20,!1);this.b=$.O(a[3],2,!1);q1(this,"middle",a[4]);q1(this,"upper",a[5]);q1(this,"lower",a[6]);q1(this,"range",a[7],"range-area");r1(this)},pja=function(a,b){var c=$.O(a,20,!1);return{$b:v1(c),vb:c,Un:$.O(b,2,!1),nd:window.NaN,ow:window.NaN,dispose:function(){this.$b.clear()}}},qja=function(a){a.$b.clear();a.nd=window.NaN;a.ow=window.NaN},rja=function(a,b){var c=b.$b,d=b.vb,e=a.get("value");e=$.n(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.Dg()<d)e=window.NaN;else{if((0,window.isNaN)(b.nd)){for(h=0;h<d;h++)e+=c.get(h);b.nd=e/d;for(h=e=0;h<d;h++)f=c.get(h)-b.nd,e+=f*f;0>e&&(e=0);b.ow=Math.sqrt(e/d);e=b.ow*b.Un}else{e=(c.get(-1)-h)/d;var k=b.nd;f=b.ow;b.nd=k+e;e=f*f*d;var l=h-k;f=c.get(-1)-b.nd;var m=k-b.nd;e=e+d*m*m+m*(b.nd+k)-2*h*m+f*f-l*l;0>e&&(e=0);f=Math.sqrt(e/d);b.ow=f;e=f*b.Un}d=b.nd+e;e=b.nd-e;e=(c.get(-1)-e)/(d-e)}a.set("result",e)},sja=function(a,b,c){a=a.Wd().Dc(a);a.Lf(pja(b,c));a.Mf(qja);a.Kf(rja);a.bd("result");
return a},R1=function(a){p1.call(this,a);this.g=$.O(a[2],20,!1);this.b=$.O(a[3],2,!1);q1(this,"main",a[4]);r1(this)},tja=function(a){O1(a)},uja=function(a,b){var c=P1(a,b);return(c[1]-c[2])/c[0]},vja=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);a.set("result",uja(b,c))},wja=function(a,b,c){a=a.Wd().Dc(a);a.Lf(N1(b,c));a.Mf(tja);a.Kf(vja);a.bd("result");return a},S1=function(a){p1.call(this,a);this.g=$.O(a[2],20,!1);this.b=$.O(a[3],2,!1);q1(this,"main",a[4]);r1(this)},xja=
function(a){return E1($.O(a,20,!1))},yja=function(a){F1(a)},zja=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=G1(a,b);for(var e=d=0;e<a.vb;e++)d+=Math.abs(a.$b.get(e)-a.nd);return(b-c)/(d/a.vb*.015)},Aja=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=zja(b,c,d,e);a.set("result",c)},Bja=function(a,b){var c=a.Wd().Dc(a);c.Lf(xja(b));c.Mf(yja);c.Kf(Aja);c.bd("result");return c},T1=function(a){p1.call(this,
a);this.b=$.O(a[2],20,!1);q1(this,"main",a[3]);r1(this)},Cja=function(a,b,c){a=$.O(a,3,!1);b=$.O(b,10,!1);if(a>b){var d=a;a=b;b=d}c=L_(c,"ema");d=w1();if("sma"==c){a=E1(a);b=E1(b);var e=G1}else a=B1(a),b=B1(b),e=D1;return{NP:d,mv:a,Fw:b,io:e,Hk:c,dispose:function(){this.NP.dispose();this.mv.dispose();this.Fw.dispose()}}},Dja=function(a){x1(a.NP);"sma"==a.Hk?(F1(a.mv),F1(a.Fw)):(C1(a.mv),C1(a.Fw))},Eja=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=y1(a.NP,b,c,d,e);b=a.io(a.mv,c);a=a.io(a.Fw,c);return b-a},Fja=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=Eja(b,c,d,e,f);a.set("result",c)},Gja=function(a,b,c,d){a=a.Wd().Dc(a);a.Lf(Cja(b,c,d));a.Mf(Dja);a.Kf(Fja);a.bd("result");return a},U1=function(a){p1.call(this,a);this.b=$.O(a[2],3,!1);this.g=$.O(a[3],10,!1);this.j=L_(a[4],"ema");q1(this,"main",a[5]);r1(this)},Hja=function(a){a=$.O(a,20,!1);return{tD:v1(a),vu:v1(a),vb:a,vy:window.NaN,
EA:window.NaN,dispose:function(){this.tD.clear();this.vu.clear()}}},Ija=function(a){a.tD.clear();a.vu.clear();a.vy=window.NaN;a.EA=window.NaN},Jja=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.tD.enqueue(c==d?0:(b-d-(c-b))*e/(c-d));e=a.vu.enqueue(e);if(a.tD.Dg()<a.vb)return window.NaN;if((0,window.isNaN)(a.vy))for(a.vy=0,e=a.EA=0;e<a.vb;e++)a.vy+=a.tD.get(e),a.EA+=a.vu.get(e);else a.vy+=a.tD.get(-1)-b,a.EA+=a.vu.get(-1)-
e;return a.vy/a.EA},Kja=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=Jja(b,c,d,e,f);a.set("result",c)},Lja=function(a,b){var c=a.Wd().Dc(a);c.Lf(Hja(b));c.Mf(Ija);c.Kf(Kja);c.bd("result");return c},V1=function(a){p1.call(this,a);this.b=$.O(a[2],20,!1);q1(this,"main",a[3]);r1(this)},Mja=function(a,b,c){a=$.O(a,14,!1);b=$.O(b,14,!1);return{Oe:v1(a+1),qf:v1(a+1),Co:v1(a+1),OP:v1(b),vb:a,BB:b,RO:$.n(c)?!!c:!0,alpha:2/(a+1),e9:2/(b+1),Zt:window.NaN,
gw:window.NaN,Au:window.NaN,eI:window.NaN,UH:window.NaN,iB:window.NaN,dispose:function(){this.Oe.clear();this.qf.clear();this.Co.clear();this.OP.clear()}}},Nja=function(a){a.Oe.clear();a.qf.clear();a.Co.clear();a.OP.clear();a.Zt=window.NaN;a.gw=window.NaN;a.Au=window.NaN},Oja=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.Zt+=a.alpha*(100*d/b-a.Zt),a.gw+=a.alpha*(100*f/b-a.gw)):(a.Zt-=a.alpha*a.Zt,a.gw-=
a.alpha*a.gw);a.eI=a.eI+d-h;a.UH=a.UH+f-k;a.iB=a.iB+b-l},Pja=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.Oe,f=a.qf,h=a.Co,k=a.OP;e.enqueue(c);f.enqueue(d);h.enqueue(b);if(e.Dg()<a.vb+1)return[window.NaN,window.NaN,window.NaN];if((0,window.isNaN)(a.Zt))for(a.Zt=0,a.gw=0,a.eI=0,a.UH=0,a.iB=0,c=e.get(0),d=f.get(0),b=1;b<a.vb+1;b++){var l=c;var m=d;c=e.get(b);d=f.get(b);var p=h.get(b-1);Oja(a,p,c,l,d,m,0,0,0)}else c=
e.get(-1),l=e.get(-2),d=f.get(-1),m=f.get(-2),p=h.get(-2),Oja(a,p,c,l,d,m,a.eI/a.vb,a.UH/a.vb,a.iB/a.vb);a.RO?a.iB?(h=100*a.eI/a.iB,f=100*a.UH/a.iB,e=0<h+f?100*Math.abs(h-f)/(h+f):0):e=f=h=0:(h=a.Zt,f=a.gw,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.Dg()<a.BB)return[e,f,window.NaN];if((0,window.isNaN)(a.Au)){for(b=h=0;b<a.BB;b++)h+=k.get(b);h/=a.BB;a.Au=h}else k=k.get(-1),a.Au=a.RO?a.Au+(k-a.Au)/a.BB:a.Au+a.e9*(k-a.Au);
return[e,f,a.Au]},Qja=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=Pja(b,c,d,e);a.set("pdiResult",c[0]);a.set("ndiResult",c[1]);a.set("adxResult",c[2])},Rja=function(a,b,c,d){a=a.Wd().Dc(a);a.Lf(Mja(b,c,d));a.Mf(Nja);a.Kf(Qja);a.bd("pdiResult");a.bd("ndiResult");a.bd("adxResult");return a},W1=function(a){p1.call(this,a);this.b=$.O(a[2],14,!1);this.g=$.O(a[3],14,!1);this.j=$.n(a[4])?!!a[4]:!0;q1(this,"pdi",a[5]);q1(this,"ndi",a[6]);q1(this,"adx",a[7]);r1(this)},
X1=function(a){p1.call(this,a);this.b=$.O(a[2],20,!1);q1(this,"main",a[3]);r1(this)},Sja=function(a,b,c){a=$.O(a,20,!1);b=$.O(b,10,!1);c=L_(c,"ema");if("ema"==c){var d=B1;var e=D1}else d=E1,e=G1;return{vb:a,Un:b,Hk:c,ap:d(a),io:e,dispose:function(){this.ap.dispose()}}},Tja=function(a){"ema"==a.Hk?C1(a.ap):F1(a.ap)},Uja=function(a,b){if((0,window.isNaN)(b))return[window.NaN,window.NaN];var c=a.io(a.ap,b);return[c*(1+a.Un/100),c*(1-a.Un/100)]},Vja=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");
c=$.N(c);c=Uja(b,c);a.set("upperResult",c[0]);a.set("lowerResult",c[1])},Wja=function(a,b,c,d){a=a.Wd().Dc(a);a.Lf(Sja(b,c,d));a.Mf(Tja);a.Kf(Vja);a.bd("upperResult");a.bd("lowerResult");return a},Y1=function(a){p1.call(this,a);this.g=$.O(a[2],20,!1);this.j=$.O(a[3],10,!1);this.b=L_(a[4],"ema");q1(this,"upper",a[5]);q1(this,"lower",a[6]);r1(this)},Xja=function(){return{cI:v1(1),Co:v1(1),dispose:function(){this.cI.clear();this.Co.clear()}}},Yja=function(){this.cI.clear();this.Co.clear()},Zja=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.cI.Dg()){var f=a.cI.get(0);var h=a.Co.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.cI.enqueue(f);a.Co.enqueue(b);return[f,h,k,b]},$ja=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=Zja(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])},aka=function(a){a=a.Wd().Dc(a);a.Lf(Xja());a.Mf(Yja);a.Kf($ja);a.bd("haOpen");a.bd("haHigh");a.bd("haLow");a.bd("haClose");return a},Z1=function(a){p1.call(this,a);q1(this,"main",a[2],"candlestick");r1(this)},bka=function(a,b,c){a=$.O(a,9,!1);b=$.O(b,26,!1);c=$.O(c,52,!1);var d=Math.max(a,b,c);return{rK:a,oF:b,LM:c,Oe:v1(d),qf:v1(d),HU:v1(b),IU:v1(b),dispose:function(){this.Oe.clear();this.qf.clear();this.HU.clear();this.IU.clear()}}},cka=function(a){a.Oe.clear();
a.qf.clear();a.HU.clear();a.IU.clear()},eka=function(a,b){var c=$.N(a.get("high")),d=$.N(a.get("low")),e=a.la();c=dka(b,c,d,e,a);a.set("conversionResult",c[0]);a.set("baseResult",c[1]);a.set("spanAResult",c[2]);a.set("spanBResult",c[3]);a.set("laggingResult",c[4])},gka=function(a,b,c,d){fka=a=a.Wd().Dc(a);a.Lf(bka(b,c,d));a.Mf(cka);a.Kf(eka);a.bd("conversionResult");a.bd("baseResult");a.bd("spanAResult");a.bd("spanBResult");a.bd("laggingResult");return a},dka=function(a,b,c,d,e){var f=window.NaN,
h=window.NaN,k=window.NaN,l=window.NaN,m=window.NaN,p,q=e.hf;for(p=0;p<a.oF;p++)q&&q.next?q=q.next:q=null;q&&(m=$.N((new L0(q,fka,e.b,d)).get("close")));if(!(0,window.isNaN)(b)||!(0,window.isNaN)(c)){a.Oe.enqueue(b);a.qf.enqueue(c);d=a.Oe.Dg();if(d>=a.rK){b=[];c=[];for(p=d-a.rK;p<d;p++)b.push(a.Oe.get(p)),c.push(a.qf.get(p));b=Math.max.apply(null,b);c=Math.min.apply(null,c);f=(b+c)/2}if(d>=a.oF){b=[];c=[];for(p=d-a.oF;p<d;p++)b.push(a.Oe.get(p)),c.push(a.qf.get(p));b=Math.max.apply(null,b);c=Math.min.apply(null,
c);h=(b+c)/2}if(d>=a.LM){b=[];c=[];for(p=d-a.LM;p<d;p++)b.push(a.Oe.get(p)),c.push(a.qf.get(p));b=Math.max.apply(null,b);c=Math.min.apply(null,c);k=a.HU.enqueue((f+h)/2);l=a.IU.enqueue((b+c)/2)}}return[f,h,k,l,m]},$1=function(a){p1.call(this,a);this.g=$.O(a[2],9,!1);this.b=$.O(a[3],26,!1);this.j=$.O(a[4],52,!1);q1(this,"conversion",a[5]);q1(this,"base",a[6]);q1(this,"leading",a[7],"range-area");q1(this,"lagging",a[8]);r1(this);this.e2().fill(function(){var a=this.getData("low");return this.getData("high")>=
a?{color:this.sourceColor,opacity:.2}:{color:$.Il(this.sourceColor,.7),opacity:.2}})},a2=function(a,b,c,d,e){a=$.O(a,14,!1);d=L_(d,"sma");b=$.O(b,1,!1);e=L_(e,"sma");c=$.O(c,3,!1);if("sma"==d){var f=E1;var h=G1}else f=B1,h=D1;if("sma"==e){var k=E1;var l=G1}else k=B1,l=D1;return{Oe:v1(a),qf:v1(a),kD:a,qH:d,EM:f(b),Wea:h,IF:e,GK:k(c),Yba:l,dispose:function(){this.Oe.clear();this.qf.clear();this.EM.dispose();this.GK.dispose()}}},b2=function(a){a.Oe.clear();a.qf.clear();"sma"===a.qH?F1(a.EM):C1(a.EM);
"sma"===a.IF?F1(a.GK):C1(a.GK)},c2=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.Oe,f=a.qf;e.enqueue(c);f.enqueue(d);var h;if(e.Dg()<a.kD)b=window.NaN;else{c=Number.MAX_VALUE;d=-Number.MIN_VALUE;for(h=0;h<a.kD;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.Wea(a.EM,b);a=a.Yba(a.GK,b);return[b,a]},hka=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=c2(b,c,d,
e);d=c[1];a.set("kResult",c[0]);a.set("dResult",d)},ika=function(a,b,c,d,e,f){a=a.Wd().Dc(a);a.Lf(a2(b,c,d,e,f));a.Mf(b2);a.Kf(hka);a.bd("kResult");a.bd("dResult");return a},jka=function(a,b,c,d,e,f,h){a=$.O(a,14,!1);d=L_(d,"ema");b=$.O(b,5,!1);e=L_(e,"ema");c=$.O(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=a2(a,b,c,d,e);a.vU=f;a.zR=h;return a},kka=function(a){b2(a)},lka=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=c2(a,b,c,d);b.push(a.vU*b[0]+a.zR*b[1]);return b},mka=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=lka(b,c,d,e);d=c[1];e=c[2];a.set("kResult",c[0]);a.set("dResult",d);a.set("jResult",e)},nka=function(a,b,c,d,e,f,h,k){a=a.Wd().Dc(a);a.Lf(jka(b,c,d,e,f,h,k));a.Mf(kka);a.Kf(mka);a.bd("kResult");a.bd("dResult");a.bd("jResult");return a},d2=function(a){p1.call(this,a);this.j=$.O(a[2],14,!1);this.b=$.O(a[3],5,!1);this.g=$.O(a[4],5,!1);this.N=
L_(a[5],"ema");this.G=L_(a[6],"ema");var b=$.N(a[7]);this.U=(0,window.isNaN)(b)?-2:b;b=$.N(a[8]);this.O=(0,window.isNaN)(b)?3:b;q1(this,"kSeries",a[9]);q1(this,"dSeries",a[10]);q1(this,"jSeries",a[11]);r1(this)},oka=function(a,b,c,d){a=$.O(a,20,!1);b=$.O(b,10,!1);d=$.O(d,2,!1);c=L_(c,"ema");if("sma"==c){var e=E1;var f=G1}else e=B1,f=D1;return{ap:e(a),io:f,GQ:I1(b),XM:d,AH:a,EZ:b,Hk:c,dispose:function(){this.ap.dispose();this.GQ.dispose()}}},pka=function(a){"sma"==a.Hk?F1(a.ap):C1(a.ap);J1(a.GQ)},
rka=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=qka(b,c,d,e);a.set("maResult",c[0]);a.set("upperResult",c[1]);a.set("lowerResult",c[2])},ska=function(a,b,c,d,e){a=a.Wd().Dc(a);a.Lf(oka(b,c,d,e));a.Mf(pka);a.Kf(rka);a.bd("maResult");a.bd("upperResult");a.bd("lowerResult");return a},qka=function(a,b,c,d){var e=a.io(a.ap,(c+d+b)/3);b=K1(a.GQ,b,c,d);return[e,e+a.XM*b,e-a.XM*b]},e2=function(a){p1.call(this,a);this.b=$.O(a[2],20,!1);this.j=$.O(a[3],10,!1);this.g=L_(a[4],
"ema");this.G=$.O(a[5],2,!1);q1(this,"ma",a[6]);q1(this,"range",a[7],"range-area");r1(this);this.hZ().fill(function(){return $.Ml(this.sourceColor,.1)})},tka=function(a,b,c){a=$.O(a,12,!1);b=$.O(b,26,!1);if(a>b){var d=a;a=b;b=d}return{lS:B1(a),KW:B1(b),FW:B1($.O(c,9,!1)),dispose:function(){this.lS.dispose();this.KW.dispose();this.FW.dispose()}}},uka=function(a){C1(a.lS);C1(a.KW);C1(a.FW)},wka=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);c=vka(b,c);var d=c[1],e=c[2];a.set("macdResult",
c[0]);a.set("signalResult",d);a.set("histogramResult",e)},vka=function(a,b){if((0,window.isNaN)(b))return[window.NaN,window.NaN,window.NaN];var c=D1(a.lS,b);var d=D1(a.KW,b),e=D1(a.FW,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]},xka=function(a,b,c,d){a=a.Wd().Dc(a);a.Lf(tka(b,c,d));a.Mf(uka);a.Kf(wka);a.bd("macdResult");a.bd("signalResult");a.bd("histogramResult");return a},f2=function(a){p1.call(this,a);this.b=$.O(a[2],12,!1);this.j=$.O(a[3],26,!1);this.g=$.O(a[4],
9,!1);q1(this,"macd",a[5]);q1(this,"signal",a[6]);q1(this,"histogram",a[7],"column");r1(this)},yka=function(a){a=$.O(a,10,!1);return{wN:v1(a),vu:v1(a),vb:a,dispose:function(){this.wN.clear();this.vu.clear()}}},zka=function(a){a.wN.clear();a.vu.clear();a.nd=window.NaN},Aka=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.wN.enqueue(b+c+d);d=a.vu.enqueue(e);e=a.wN;b=a.vu;if(e.Dg()<a.vb)return window.NaN;if((0,window.isNaN)(a.nd)){var f=
c=0;d=e.get(0);for(var h=1;h<a.vb;h++){var k=e.get(h);var l=k*b.get(h);k!=d&&(k>d?c+=l:f+=l,d=k)}a.DU=0;a.FD=c;a.ZH=f;e=100*c/(c+f)}else d*=c,0<a.DU?a.FD-=d:0>a.DU&&(a.ZH-=d),d=e.get(-2),k=e.get(-1),l=k*b.get(-1),k>d?a.FD+=l:k<d&&(a.ZH+=l),a.DU=e.get(0)-c,e=100*a.FD/(a.FD+a.ZH);return a.nd=e},Bka=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=Aka(b,c,d,e,f);a.set("result",c)},Cka=function(a,b){var c=a.Wd().Dc(a);c.Lf(yka(b));c.Mf(zka);c.Kf(Bka);
c.bd("result");return c},g2=function(a){p1.call(this,a);this.b=$.O(a[2],10,!1);q1(this,"series",a[3]);r1(this)},Dka=function(a){a=$.O(a,20,!1);return{$b:v1(a),vb:a,nd:window.NaN,dispose:function(){this.$b.clear()}}},Eka=function(a){a.$b.clear();a.nd=window.NaN},Fka=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);if((0,window.isNaN)(c))var d=window.NaN;else{d=b.vb;var e=b.$b,f=b.nd;e.enqueue(c);if(e.Dg()<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.nd=d}a.set("result",d)},Gka=function(a,b){var c=a.Wd().Dc(a);c.Lf(Dka(b));c.Mf(Eka);c.Kf(Fka);c.bd("result");return c},h2=function(a){p1.call(this,a);this.b=$.O(a[2],20,!1);q1(this,"main",a[3]);r1(this)},Hka=function(a){a=$.O(a,14,!1);return{$b:v1(a+1),vb:a,dispose:function(){this.$b.clear()}}},Ika=function(a){a.$b.clear();a.nd=window.NaN},Jka=function(a,b){if((0,window.isNaN)(b))return window.NaN;var c=a.$b;c.enqueue(b);if(c.Dg()<a.vb+1)return window.NaN;c=
100*b/c.get(0);return a.nd=c},Kka=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);c=Jka(b,c);a.set("result",c)},Lka=function(a,b){var c=a.Wd().Dc(a);c.Lf(Hka(b));c.Mf(Ika);c.Kf(Kka);c.bd("result");return c},i2=function(a){p1.call(this,a);this.b=$.O(a[2],14,!1);q1(this,"series",a[3]);r1(this)},Mka=function(){return{wy:window.NaN,iI:window.NaN,dispose:function(){}}},Nka=function(a){a.wy=window.NaN;a.iI=window.NaN},Pka=function(a,b){var c=a.get("close");c=$.n(c)?c:a.get("value");
var d=a.get("volume");d=$.N(d);c=$.N(c);c=Oka(b,c,d);a.set("result",c)},Qka=function(a){a=a.Wd().Dc(a);a.Lf(Mka());a.Mf(Nka);a.Kf(Pka);a.bd("result");return a},Oka=function(a,b,c){if((0,window.isNaN)(b)||(0,window.isNaN)(c))return window.NaN;(0,window.isNaN)(a.wy)?(a.iI=b,a.wy=c):(b>a.iI?a.wy+=c:b<a.iI&&(a.wy-=c),a.iI=b);return a.wy},j2=function(a){p1.call(this,a);q1(this,"main",a[2]);r1(this)},Rka=function(a,b,c){a=$.O(a,12,!1);b=$.O(b,26,!1);c=$.O(c,9,!1);return{v4:a,j2:b,x4:c,EW:B1(a),KU:B1(b),
LW:B1(c),dispose:function(){this.EW.dispose();this.KU.dispose();this.LW.dispose()}}},Ska=function(a){C1(a.EW);C1(a.KU);C1(a.LW)},Tka=function(a,b){if((0,window.isNaN)(b))return[window.NaN,window.NaN,window.NaN];var c=D1(a.EW,b),d=D1(a.KU,b);c=(c-d)/d*100;d=D1(a.LW,c);return[c,d,c-d]},Uka=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);c=Tka(b,c);a.set("ppoResult",c[0]);a.set("signalResult",c[1]);a.set("histogramResult",c[2])},Vka=function(a,b,c,d){a=a.Wd().Dc(a);a.Lf(Rka(b,c,
d));a.Mf(Ska);a.Kf(Uka);a.bd("ppoResult");a.bd("signalResult");a.bd("histogramResult");return a},k2=function(a){p1.call(this,a);this.g=$.O(a[2],12,!1);this.b=$.O(a[3],26,!1);this.j=$.O(a[4],9,!1);q1(this,"ppoSeries",a[5]);q1(this,"signalSeries",a[6]);q1(this,"histogramSeries",a[7],"column");r1(this)},Wka=function(a,b,c){return{Oe:v1(2),qf:v1(2),TP:$.N(a)||.02,q9:$.N(b)||.02,AY:$.N(c)||.2,dispose:function(){this.Oe.clear();this.qf.clear()}}},Xka=function(a){a.Oe.clear();a.qf.clear();a.nd=window.NaN;
a.Hp=window.NaN;a.Fp=window.NaN;a.alpha=a.TP},Yka=function(a){a.alpha+=a.q9;a.alpha>a.AY&&(a.alpha=a.AY)},Zka=function(a){var b=a.nd+a.alpha*(a.Hp-a.nd);b>a.qf.get(-2)?b=a.qf.get(-2):!(0,window.isNaN)(a.OR)&&b>a.OR&&(b=a.OR);b>a.qf.get(-1)&&(b=a.Hp,a.Hp=window.NaN,a.Fp=window.NaN,a.AM=!1,a.alpha=a.TP);a.nd=b},$ka=function(a){var b=a.nd+a.alpha*(a.Fp-a.nd);b<a.Oe.get(-2)?b=a.Oe.get(-2):!(0,window.isNaN)(a.NR)&&b<a.NR&&(b=a.NR);b<a.Oe.get(-1)&&(b=a.Fp,a.Hp=window.NaN,a.Fp=window.NaN,a.AM=!0,a.alpha=
a.TP);a.nd=b},ala=function(a){var b=a.Oe.get(-2),c=a.qf.get(-2);(0,window.isNaN)(a.Hp)?a.Hp=b:a.Hp<b&&(a.Hp=b,Yka(a));if((0,window.isNaN)(a.Fp)||a.Fp>c)a.Fp=c},bla=function(a){var b=a.Oe.get(-2),c=a.qf.get(-2);(0,window.isNaN)(a.Fp)?a.Fp=c:a.Fp>c&&(a.Fp=c,Yka(a));if((0,window.isNaN)(a.Hp)||a.Hp<b)a.Hp=b},cla=function(a,b,c){if((0,window.isNaN)(b)||(0,window.isNaN)(c))return window.NaN;b=a.NR=a.Oe.enqueue(b);a.OR=a.qf.enqueue(c);if(2>a.Oe.Dg())return window.NaN;(0,window.isNaN)(a.nd)?(a.Hp=window.NaN,
a.Fp=window.NaN,a.AM=b<=a.Oe.get(0),a.AM?(ala(a),a.nd=a.Hp,Zka(a)):(bla(a),a.nd=a.Fp,$ka(a))):a.AM?(ala(a),Zka(a)):(bla(a),$ka(a));return a.nd},dla=function(a,b){var c=$.N(a.get("high")),d=$.N(a.get("low"));c=cla(b,c,d);a.set("result",c)},ela=function(a,b,c,d){a=a.Wd().Dc(a);a.Lf(Wka(b,c,d));a.Mf(Xka);a.Kf(dla);a.bd("result");return a},l2=function(a){p1.call(this,a);this.j=$.N(a[2])||.02;this.g=$.N(a[3])||.02;this.b=$.N(a[4])||.2;q1(this,"series",a[5],"marker");r1(this)},fla=function(a){a=$.O(a,20,
!1);return{$b:v1(a+1),vb:a,dispose:function(){this.$b.clear()}}},gla=function(a){a.$b.clear()},ila=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);c=hla(b,c);a.set("result",c)},jla=function(a,b){var c=a.Wd().Dc(a);c.Lf(fla(b));c.Mf(gla);c.Kf(ila);c.bd("result");return c},hla=function(a,b){if((0,window.isNaN)(b))return window.NaN;var c=window.NaN;a.$b.enqueue(b);if(a.$b.Dg()>=a.vb+1){c=a.$b.get(0);for(var d=0,e=1;e<a.vb+1;e++){var f=a.$b.get(e);f>c&&d++;c=f}c=d/a.vb*100}return c},
m2=function(a){p1.call(this,a);this.b=$.O(a[2],20,!1);q1(this,"main",a[3]);r1(this)},kla=function(a){a=$.O(a,20,!1);return{Oe:v1(a),qf:v1(a),vb:a,dispose:function(){this.Oe.clear();this.qf.clear()}}},lla=function(a){a.Oe.clear();a.qf.clear()},mla=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.Oe.Dg()>=a.vb){d=a.Oe.get(0);f=a.qf.get(0);for(var h,k=1;k<a.vb;k++)e=a.Oe.get(k),h=a.qf.get(k),e>d&&(d=e),
h<f&&(f=h);e=(d+f)/2}a.Oe.enqueue(b);a.qf.enqueue(c);return[d,e,f]},nla=function(a,b){var c=$.N(a.get("high")),d=$.N(a.get("low"));c=mla(b,c,d);a.set("upperResult",c[0]);a.set("middleResult",c[1]);a.set("lowerResult",c[2])},ola=function(a,b){var c=a.Wd().Dc(a);c.Lf(kla(b));c.Mf(lla);c.Kf(nla);c.bd("upperResult");c.bd("middleResult");c.bd("lowerResult");return c},n2=function(a){p1.call(this,a);this.b=$.O(a[2],20,!1);q1(this,"middle",a[3]);q1(this,"range",a[4],"range-area");r1(this);this.iZ().fill(function(){return $.Ml(this.sourceColor,
.1)})},pla=function(a){return{MQ:$.O(a,0,!1),gG:window.NaN,dispose:function(){this.gG=window.NaN}}},qla=function(){this.gG=window.NaN},sla=function(a,b){var c=a.get("priceA");c=$.N(c);var d=a.get("priceB");d=$.N(d);c=rla(b,c,d,a.hf.key);a.set("result",c)},tla=function(a,b){var c=a.Wd().Dc(a);c.Lf(pla(b));c.Mf(qla);c.Kf(sla);c.bd("result");return c},rla=function(a,b,c,d){if((0,window.isNaN)(b)||(0,window.isNaN)(c))return window.NaN;(0,window.isNaN)(a.gG)&&d>=a.MQ&&(a.gG=b/c);return b/c/a.gG*100},o2=
function(a){p1.call(this,a);var b=$.cs(a[2]);this.b=b?b.getTime():0;this.g=a[2]||0;q1(this,"main",a[3]);r1(this)},ula=function(a){a=$.O(a,12,!1);return{$b:v1(a),vb:a,dispose:function(){this.$b.clear()}}},vla=function(a){a.$b.clear()},xla=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);c=wla(b,c);a.set("result",c)},yla=function(a,b){var c=a.Wd().Dc(a);c.Lf(ula(b));c.Mf(vla);c.Kf(xla);c.bd("result");return c},wla=function(a,b){if((0,window.isNaN)(b))return window.NaN;a.$b.enqueue(b);
var c=window.NaN;if(a.$b.Dg()>=a.vb){c=0;for(var d=a.vb,e=0;e<d;e++){for(var f=d-e,h=a,k=d,l=h.$b.get(e),m=1,p=0,q=0;q<k;q++){var r=h.$b.get(q);l<r?m++:l==r&&p++}c+=Math.pow(f-(m+(p-1)/2),2)}c=100*(1-6*c/(a.vb*(Math.pow(a.vb,2)-1)))}return c},p2=function(a){p1.call(this,a);this.b=$.O(a[2],12,!1);q1(this,"main",a[3]);r1(this)},zla=function(a){a=$.O(a,14,!1);return{$b:v1(a),vb:a,Ny:window.NaN,vx:window.NaN,dispose:function(){this.$b.clear()}}},Ala=function(a){a.$b.clear();a.Ny=window.NaN;a.vx=window.NaN},
Bla=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);var d=(0,window.isNaN)(c);d||b.$b.enqueue(c);if(d||b.$b.Dg()<b.vb)c=window.NaN;else{if((0,window.isNaN)(b.Ny)){var e=0,f=0;d=b.$b.get(0);for(var h=1;h<b.vb;h++)c=d,d=b.$b.get(h),d>c?e+=d-c:d<c&&(f+=c-d);b.Ny=e;b.vx=f}else d=b.$b.get(-1),c=b.$b.get(-2),e=(b.vb-1)/b.vb,b.Ny*=e,b.vx*=e,d>c?b.Ny+=d-c:d<c&&(b.vx+=c-d);c=b.vx?100-100/(1+b.Ny/b.vx):100}a.set("result",c)},Cla=function(a,b){var c=a.Wd().Dc(a);c.Lf(zla(b));c.Mf(Ala);
c.Kf(Bla);c.bd("result");return c},q2=function(a){p1.call(this,a);this.b=$.O(a[2],14,!1);q1(this,"main",a[3]);r1(this)},Dla=function(a){a=$.O(a,20,!1);return{$b:v1(a+1),vb:a,dispose:function(){this.$b.clear()}}},Ela=function(a){a.$b.clear()},Fla=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);var d=(0,window.isNaN)(c);d||b.$b.enqueue(c);d||b.$b.Dg()<=b.vb?c=window.NaN:(c=b.$b.get(0),c=100*(b.$b.get(-1)-c)/c);a.set("result",c)},Gla=function(a,b){var c=a.Wd().Dc(a);c.Lf(Dla(b));
c.Mf(Ela);c.Kf(Fla);c.bd("result");return c},r2=function(a){p1.call(this,a);this.b=$.O(a[2],20,!1);q1(this,"main",a[3]);r1(this)},s2=function(a){p1.call(this,a);this.b=$.O(a[2],20,!1);q1(this,"main",a[3]);r1(this)},t2=function(a){p1.call(this,a);this.j=$.O(a[2],14,!1);this.b=$.O(a[3],1,!1);this.g=$.O(a[4],3,!1);this.N=L_(a[5],"sma");this.G=L_(a[6],"sma");q1(this,"kSeries",a[7]);q1(this,"dSeries",a[8]);r1(this)},Hla=function(a,b,c,d){a=$.O(a,15,!1);b=$.O(b,9,!1);if("ema"===c){var e=C1;c=D1;var f=B1}else e=
F1,c=G1,f=E1;if("ema"===d){var h=C1;d=D1;var k=B1}else h=F1,d=G1,k=E1;return{vb:a,hO:b,nd:window.NaN,tS:f(a),jW:f(a),EO:f(a),GW:k(b),io:c,ffa:d,gfa:h,OU:e,dispose:function(){this.tS.dispose();this.jW.dispose();this.EO.dispose();this.GW.dispose()}}},Ila=function(a){a.nd=window.NaN;a.OU(a.tS);a.OU(a.jW);a.OU(a.EO);a.gfa(a.GW)},Kla=function(a,b){var c=a.get("value");c=$.n(c)?c:a.get("close");c=$.N(c);c=Jla(b,c);a.set("trix",c[0]);a.set("signal",c[1])},Lla=function(a,b,c,d,e){a=a.Wd().Dc(a);a.Lf(Hla(b,
c,d,e));a.Mf(Ila);a.Kf(Kla);a.bd("trix");a.bd("signal");return a},Jla=function(a,b){if((0,window.isNaN)(b))return[window.NaN,window.NaN];a.nd=a.EO.nd;var c=a.io(a.tS,b);c=a.io(a.jW,c);c=(a.io(a.EO,c)-a.nd)/a.nd*100;var d=a.ffa(a.GW,c);return[c,d]},u2=function(a){p1.call(this,a);this.b=$.O(a[2],15,!1);this.g=$.O(a[3],9,!1);this.G=L_(a[4],"ema");this.j=L_(a[5],"ema");q1(this,"trix",a[6]);q1(this,"signal",a[7]);r1(this)},Mla=function(){return{BK:0,AK:0,dispose:function(){}}},Nla=function(a){a.BK=0;a.AK=
0},Ola=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;a.BK+=e;a.AK+=(b+c+d)*e/3;return a.AK/a.BK},Pla=function(a,b){var c=$.N(a.get("high")),d=$.N(a.get("low")),e=$.N(a.get("close")),f=$.N(a.get("volume"));c=Ola(b,c,d,e,f);a.set("vwapValue",c)},Qla=function(a){a=a.Wd().Dc(a);a.Lf(Mla());a.Mf(Nla);a.Kf(Pla);a.bd("vwapValue");return a},v2=function(a){p1.call(this,a);q1(this,"vwapSeries",a[2]);r1(this)},Rla=function(a,b){var c=
$.O(a,20,!1),d=L_(b,"sma");if("ema"==d){var e=B1;var f=D1}else e=E1,f=G1;return{AH:c,Hk:d,ap:e(c),io:f,dispose:function(){this.ap.dispose()}}},Sla=function(a){"ema"==a.Hk?C1(a.ap):F1(a.ap)},Tla=function(a,b){if((0,window.isNaN)(b))return[window.NaN,window.NaN];var c=a.io(a.ap,b);return[b,c]},Ula=function(a,b){var c=$.N(a.get("volume"));c=Tla(b,c);a.set("volumeResult",c[0]);a.set("maResult",c[1])},Vla=function(a,b,c){a=a.Wd().Dc(a);a.Lf(Rla(b,c));a.Mf(Sla);a.Kf(Ula);a.bd("volumeResult");a.bd("maResult");
return a},w2=function(a){p1.call(this,a);this.b=$.O(a[2],20,!1);this.g=L_(a[3],"sma");q1(this,"volumeSeries",a[4],"stick");q1(this,"maSeries",a[5]);r1(this)},Wla=function(a){a=$.O(a,10,!1);return{Co:v1(a),Oe:v1(a),qf:v1(a),vb:a,dispose:function(){this.Co.clear();this.Oe.clear();this.qf.clear()}}},Xla=function(a){a.Co.clear();a.Oe.clear();a.qf.clear();a.nd=window.NaN},Yla=function(a,b,c,d){if((0,window.isNaN)(b)||(0,window.isNaN)(c)||(0,window.isNaN)(d))return window.NaN;a.Co.enqueue(b);a.Oe.enqueue(c);
a.qf.enqueue(d);if(a.Co.Dg()<a.vb)return window.NaN;c=Number.MAX_VALUE;b=-Number.MIN_VALUE;for(d=0;d<a.vb;d++){var e=a.Oe.get(d),f=a.qf.get(d);b<e&&(b=e);c>f&&(c=f)}b=-100*(b-a.Co.get(-1))/(b-c);return a.nd=b},Zla=function(a,b){var c=$.N(a.get("close")),d=$.N(a.get("high")),e=$.N(a.get("low"));c=Yla(b,c,d,e);a.set("result",c)},$la=function(a,b){var c=a.Wd().Dc(a);c.Lf(Wla(b));c.Mf(Xla);c.Kf(Zla);c.bd("result");return c},x2=function(a){p1.call(this,a);this.b=$.O(a[2],10,!1);q1(this,"series",a[3]);
r1(this)},ama=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 y2[a](c);this.aD.push(c);return c}}a=a.prototype;for(var c in y2){var d=$.om(c);a[d]=b(c)}},B2=function(a){$.Y.call(this);this.Fa("chart");this.Ba=a;this.Ef=this.Ka=this.sb=null;this.Oa=[];this.aD=[];this.wc=null;this.Wf=[];this.cu=[];this.ec=null;this.ag=[];this.cg=[];this.eg=[];this.Lg=[];this.Mg=[];this.Wg=[];this.Xg=[];this.yl=this.wf=this.xj=null;this.Vm={};this.J1=
this.lH=this.L1=!1;this.zj=void 0;this.Xr=(0,$.pa)(function(){this.zj=void 0;if((0,window.isNaN)(this.yL))this.Ba.hX();else{var a=this.Ba,c=this.yL,d=this.DS,e=this.cda,f=this.dda;a.O=c;a.nb=d;a.Ra=e;a.eb=f;a.Tc=this;bma(a,c,d,e,f,this)}},this);this.mja=(0,$.pa)(function(){this.v5=void 0;var a=this.eP.anchor,c=this.eP.Wn,d=this.eP.Xba;this.eP=null;var e=this.Ba,f=e.Va();d=Math.min(d,1.9);$.K(f,z2)?(f=a.lastIndex-a.Ei,c*=f,f=f*(1-d)/2,d=e.hi(a.Ei-c-f),c=e.hi(a.lastIndex-c+f)):(f=a.Vv-a.Wr,c*=f,f=f*
(1-d)/2,d=a.Wr-c-f,c=a.Vv-c+f);d==e.b.b.yh&&c==e.b.b.Di||A2(e,d,c,a,void 0)},this);this.Aw=null;this.Kp("line");$.T(this.ua,[["pointWidth",128,1,0,this.ay],["maxPointWidth",128,1,0,this.ay],["minPointLength",128,1,0,this.IA],["baseline",128,1,0,this.Cha],["weight",4,9]])},C2=function(a,b){a.sc.ra(b,["touchstart","mousedown"],a.wfa)},E2=function(a){a.Mz();var b;if(a.J(128))for(b=0;b<a.Oa.length;b++){var c=a.Oa[b];c&&(c.O=xia(c.oa))}if(a.J(133124)){c=a.lb();(b=$.jr(a,"background"))&&b.ja(c);(b=$.jr(a,
"title"))&&b.enabled()&&(b.ja(c),c=b.qd());a.ec&&a.ec.enabled()&&($.V(a.ec),a.ec.ja(c),a.ec.da(!1),c=a.ec.qd(),a.B(512));var d;a.J(2048)?d=(0,window.isNaN)(a.hM)?w0(a.Ba.b):a.hM:d=window.NaN;var e=a.Gf();"outside"==e.i("positionMode")&&(D2(a,c,d),a.ta(64,!0),c=a.Gf().qd());var f=0,h=0,k=!e.i("enabled"),l="left"==e.i("position"),m="right"==e.i("position");for(b=0;b<a.Wf.length;b++){var p=a.Wf[b];if(p){$.V(p);var q=p.width();"left"==p.i("orientation")?k||!l?(p.ja(c.left-q-f,c.top,0,c.height),f+=q):
(p.ja(c),c=p.qd()):"right"==p.i("orientation")&&(k||!m?(h+=q,p.ja(c.left,c.top,c.width+h,c.height)):(p.ja(c),c=p.qd()));p.da(!1)}}0>c.width&&(c.width=1);0>c.height&&(c.top+=c.height,c.height=-c.height);a.ec&&a.ec.enabled()&&($.V(a.ec),a.ec.ja(c.left,c.top,c.width,c.height+a.ec.height()),a.ec.da(!1),c=a.ec.qd());"inside"==e.i("positionMode")&&(D2(a,c,d),a.ta(64,!0));a.Wh=c;a.xj.uf(a.Wh);a.$g().ja(c);a.$x(!0,!0);a.I(2052)}},D2=function(a,b,c,d,e){var f=a.Gf();$.V(f);f.P(a.Wa);b&&f.ja(b);b=e?"":a.E0(f.i("titleFormat"),
c,d);null===b||$.Rv(f.title(),b);e?($.Lw(f),f.kA(null)):f.kA()||f.kA(a);f.B(1040);f.$();f.da(!1)},F2=function(a,b){return $.n(b)?(a.L1=b,a):a.L1},G2=function(a,b){return $.n(b)?(a.lH=b,a):a.lH},H2=function(a,b){return $.n(b)?(a.J1=b,a):a.J1},I2=function(a,b,c,d,e,f){var h,k,l,m=[];for(h=0;h<b.length;h++)if(l=b[h]){var p=l.F();if(k=l.scale()){var q=$.oa(k);e[q]?p.scale=(0,$.za)(d,e[q]):(e[q]=k.F(),d.push(e[q]),p.scale=d.length-1)}if(q=l.axis())k=$.oa(q),k=(0,$.za)(f,k),0>k?(k=q.scale(),"layout"in p||
(l=!1,$.K(q,$.Dy)&&(q=q.i("orientation"),l="left"==q||"right"==q),p.layout=l?"horizontal":"vertical"),"scale"in p||(q=$.oa(k),e[q]?p.scale=(0,$.za)(d,e[q]):(e[q]=k.F(),d.push(e[q]),p.scale=d.length-1))):p.axis=k;m.push(p)}m.length&&(c[a]=m)},K2=function(a,b){$.ag.call(this,b.fa());this.b=a;this.zj=void 0;this.Xr=(0,$.pa)(function(){this.zj=void 0;var a=this.b.Ba,b=this.j,e=J2(a,this.ga,b);e&&A2(a,e[0],e[1],b,void 0)},this);$.bg(this);this.ra("start",this.Z$,!1,this);this.ra("beforedrag",this.tba,
!1,this);this.ra("end",this.Y$,!1,this)},L2=function(a,b,c){this.b=this.g=this.j=this.ga=null;a1.call(this,a,a,b,c)},M2=function(){},N2=function(){},P2=function(a){$.Yq.call(this);this.Jk=1E3;this.N=6;this.b=a;this.cw=this.ws=this.cp=this.zn=this.U=this.g=this.ba=this.ga=window.NaN;this.Im={};this.Gc=!1;this.j=this.O=null;this.ad=[];this.D=this.G=null;this.ya=O2(this,null);this.ka=O2(this,null);this.Qa(cma)},O2=function(a,b){var c=a.b.tn().Xn();c={unitType:c.unit,unitCount:c.count,intervalsCount:0};
"object"==$.ka(b)&&(null!=b.unitType&&(c.unitType=$.Tk(b.unitType)),0<b.unitCount&&(c.unitCount=+b.unitCount),b.intervalsCount&&(c.intervalsCount=Math.max(0,b.intervalsCount)));return c},dma=function(a,b){return!!(a.G&&b<a.G.max||a.D&&b>a.D.min)},Aia=function(a,b,c,d,e,f){b=$.Za(b,a.ga,a.ba);c=$.Za(c,a.ga,a.ba);var h=a.b.zf(b),k=a.b.zf(c);(0,window.isNaN)(h)||(0,window.isNaN)(k)?(a.zn=window.NaN,a.cp=window.NaN):(a.zn=b,a.cp=c);a.ws=h;a.cw=k;a.ng=d;a.count=e;a.Gc=!1;a.Im=f;a.ta(512)},fma=function(a){var b=
[];if($.A(a)){for(var c=0;c<a.length;c++){var d=a[c];if($.D(d)){var e=ema(d.minor);d=ema(d.major);e&&d&&b.push({qe:$.kp(e[0],e[1]),SH:e[0],RH:e[1],CH:d[0],BH:d[1]})}}b.sort(function(a,b){return a.qe-b.qe})}return b},ema=function(a){var b=null;if($.z(a)){b=$.Tk(a,null);var c=1}else $.D(a)&&(b=$.Tk(a.unit,null),c=$.O(a.count));return b?[b,c]:null},Q2=function(a){this.na=a;this.N=!0},R2=function(a,b,c){a=a.na;a=a.b.hi(Math.ceil(a.b.zf(b.getTime())));var d=b.getTime();b.add(c);b.getTime()<=a&&(d=$.Lo(a,
c,d),b.setTime(d),b.add(c));return d},z2=function(a){P2.call(this,a)},S2=function(a){$.lB.call(this);this.Ba=a;this.Oa=[];this.aD=[];this.Yc=this.Ea=this.NA=this.PA=this.ec=this.wc=null;this.Kp("line")},T2=function(a){for(var b=0;b<a.Oa.length;b++){var c=a.Oa[b];c&&c.B(1024)}a.ec&&a.ec.B(16);a.B(1536)},gma=function(){$0.call(this)},hma=function(a,b,c,d){for(var e=(new Q_(c.unitType,c.unitCount)).cj(),f=[],h=d?1:-1,k=1;k<=c.intervalsCount;k++){var l=[b+k*h*e];d?f.push(l):$.Da(f,l,0)}a.Fr(f);return f},
U2=function(a){$.Yq.call(this);this.Fa("stock.eventMarkers");this.Ba=a;this.ca=new $.Yx(this,g1,$.Zl,h1);this.ca.pa("connectorAfterInitCallback",P_);this.ca.Fa("defaultFontSettings","stock.eventMarkers.normal");this.xa=new $.Yx(this,i1,$.Zl,h1);$.W(this,"hovered",this.xa);this.Ca=new $.Yx(this,i1,$.Zl,h1);$.W(this,"selected",this.Ca);$.T(this.ua,j1);a.ra("eventmarkermouseover",this.gZ,!1,this);a.ra("eventmarkermousemove",this.gZ,!1,this);a.ra("eventmarkermouseout",this.daa,!1,this);a.ra("eventmarkerclick",
this.caa,!1,this)},V2=function(a,b,c,d,e,f){return{type:c?"eventmarkersselect":"eventmarkershover",status:(0,$.Wa)(d,function(a){return a.group.Vq(a.index)}),eventMarker:e.Vq(f),actualTarget:e,target:a,originalEvent:b}},W2=function(a,b){$.ag.call(this,a.fa());this.yB=a;this.qX=b;this.b=null;this.g=0},X2=function(a,b){$.qf.call(this);this.j=[];this.b=[];this.Ba=b;this.g=[];this.Kc=a;this.wd=0;this.G=[];this.U=[];this.N=[];this.D={};this.O=a.path().stroke("none");this.f=0},Y2=function(a){$.Yq.call(this);
this.Aa=a;this.ub=this.Aa.La.Dd();this.ub.ee("data-name","stock-splitters-layer");this.ub.zIndex(1E5);this.j=new X2(this.ub,this.Aa);this.j.ra("dragStart",function(){this.b=!0},void 0,this);this.j.ra("dragEnd",function(){this.b=!1},void 0,this);this.b=!1},Z2=function(){$.Yq.call(this);$.T(this.ua,[["fill",0,0]])},$2=function(){$.Yq.call(this);$.T(this.ua,[["stroke",0,0]])},a3=function(){$.Yq.call(this);$.T(this.ua,[["stroke",0,1]])},b3=function(){$.Yq.call(this);this.xa=this.ca=this.Tl=null;$.T(this.ua,
[["enabled",0,1]])},c3=function(a){$.gx.call(this);this.Fa("stock");this.f=[];this.g=null;this.b=new n0;$.L(this.b,this.Zba,this);this.ka=!1;this.cb=null;this.Ja=this.Ob=!1;this.G=this.eb=this.Ra=this.nb=this.O=window.NaN;this.yl=this.wf=null;this.D=$.fl.anychart.annotations;this.ab={};this.U=null;this.Bd=(0,$.pa)(this.ica,this);this.Ud=(0,$.pa)(this.jca,this);this.Ga=window.Infinity;this.xc=-1;var b=this.Zs=!!a;a={};var c=$.tG|4194304;c|=b&&1048576;b=b?2:1;a.area={Ab:1,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG,
$.QG,$.kH,$.fH,$.YG,$.TG,$.lH,$.gH,$.mH],Ib:null,Cb:null,zb:c,yb:"value",wb:"zero"};a.candlestick={Ab:5,Fb:b,Jb:[$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:c,yb:"high",wb:"low"};a.column={Ab:6,Fb:b,Jb:[$.tH,$.TG,$.aH,$.mH,$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:c,yb:"value",wb:"zero"};a["jump-line"]={Ab:19,Fb:2,Jb:[$.RG,$.iH,$.dH,$.SG],Ib:null,Cb:null,zb:c,yb:"value",wb:"value"};a.stick={Ab:20,Fb:2,Jb:[$.RG,$.iH,$.dH,$.SG],Ib:null,Cb:null,zb:c,yb:"value",wb:"zero"};a.line={Ab:8,Fb:1,Jb:[$.RG,$.jH,$.eH,
$.ZG],Ib:null,Cb:null,zb:c,yb:"value",wb:"value"};a.marker={Ab:9,Fb:b,Jb:[$.tH,$.TG,$.aH,$.mH,$.cH,$.gH,$.hH,$.lH],Ib:null,Cb:null,zb:c,yb:"value",wb:"value"};a.ohlc={Ab:10,Fb:b,Jb:[$.dH,$.iH],Ib:null,Cb:null,zb:c,yb:"high",wb:"low"};a["range-area"]={Ab:11,Fb:1,Jb:[$.QG,$.sH,$.oH,$.TG,$.nH,$.rH,$.VG,$.UG],Ib:null,Cb:null,zb:c,yb:"high",wb:"low"};a["range-column"]={Ab:12,Fb:b,Jb:[$.tH,$.TG,$.pH,$.qH,$.VG,$.UG],Ib:null,Cb:null,zb:c,yb:"high",wb:"low"};a["range-spline-area"]={Ab:13,Fb:1,Jb:[$.QG,$.oH,
$.sH,$.TG,$.nH,$.rH,$.VG,$.UG],Ib:null,Cb:null,zb:c,yb:"high",wb:"low"};a["range-step-area"]={Ab:14,Fb:1,Jb:[$.QG,$.oH,$.sH,$.TG],Ib:null,Cb:null,zb:c,yb:"high",wb:"low"};a.spline={Ab:15,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG],Ib:null,Cb:null,zb:c,yb:"value",wb:"value"};a["spline-area"]={Ab:16,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG,$.QG,$.kH,$.fH,$.YG,$.TG,$.lH,$.gH,$.mH],Ib:null,Cb:null,zb:c,yb:"value",wb:"zero"};a["step-area"]={Ab:17,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG,$.QG,$.kH,$.fH,$.YG,$.TG,$.lH,$.gH,$.mH],Ib:null,Cb:null,
zb:c,yb:"value",wb:"zero"};a["step-line"]={Ab:18,Fb:1,Jb:[$.RG,$.jH,$.eH,$.ZG],Ib:null,Cb:null,zb:c,yb:"value",wb:"value"};a.hilo={Ab:31,Fb:2,Jb:[$.RG,$.oH,$.sH],Ib:null,Cb:null,zb:c,yb:"high",wb:"low"};this.Oi=a;this.N=null;$.T(this.ua,[["plotsManualBounds",4100,9],["zoomMarqueeFill",0,0],["zoomMarqueeStroke",0,0]]);this.I(65536)},ima=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){var f=d3(a),h=0;if(f.length)for(c=0;c<f.length;c++){var k=f[c].i("weight");k&&(h+=
k)}c=new B2(a);c.Fa("stock.defaultPlotSettings",a.B_());c.$g().parent(a.$g());c.sg(!0);c.ib(a);h&&c.pa("weight",h/f.length);a.f[e]=c;$.L(c,a.iha,a);e>a.xc&&((f=a.f[a.xc])&&G2(f,!1),G2(c,!0),a.xc=e);e<a.Ga&&((f=a.f[a.Ga])&&F2(f,!1),F2(c,!0),a.Ga=e);a.B(4100,9)}return $.n(b)?(c.ia(!!d,b),a):c},d3=function(a){for(var b=[],c=0;c<a.f.length;c++){var d=a.f[c];d&&d.enabled()&&!d.fd&&b.push(d)}return b},jma=function(a,b){for(var c=(0,$.za)(a.f,b)-1;-1<c;c--){var d=a.f[c];if(d&&d.enabled())return d}return null},
kma=function(a,b,c){if(b!==c&&null!==b&&null!==c){var d=(0,$.za)(a.f,c);a.f[(0,$.za)(a.f,b)]=c;a.f[d]=b;G2(b)?(G2(b,!1),G2(c,!0)):G2(c)&&(G2(b,!0),G2(c,!1));F2(b)?(F2(b,!1),F2(c,!0)):F2(c)&&(F2(b,!0),F2(c,!1));a.B(4100,9)}},e3=function(a,b,c){$.V(a);var d=a.Va(),e=a.KB().Va();zia(a.b)&&(q0(a.b,d),q0(a.b,e));a.b.select(b,c,e)&&(Bia(a.b,d),a.$x());a.da(!0)},f3=function(a,b,c,d,e){if($.n(d))return a.dispatchEvent({type:b,source:c,firstSelected:d,lastSelected:e,firstKey:a.b.j,lastKey:a.b.D});d=a.tn();
return a.dispatchEvent({type:b,source:c,firstSelected:a.b.b.yh,lastSelected:a.b.b.Di,firstVisible:v0(a.b),lastVisible:w0(a.b),firstKey:a.b.j,lastKey:a.b.D,dataIntervalUnit:d.Xn().unit,dataIntervalUnitCount:d.Xn().count,dataIsGrouped:d.gD()})},lma=function(a,b,c){var d=b.bb(),e=$.oa(d),f=b.vc(),h=k0(b.oa,"value"),k=c[e];if(!k)for(k=c[e]=[],e=f.Gb(),c=0;c<e+2;c++)k.push({qw:0,jp:0,iw:0,pw:0,fp:0,hw:0,JD:!1,uD:!1,ys:!1});var l=(e="percent"==d.Um())?a.Y2:a.Zia,m=k[c=0],p=f0(b.oa);if(p)if(p.o("stackedMissing",
m.ys),m.ys=p.o("missing"))var q=window.NaN;else{var r=Number(p.Rq(h));l.call(a,d,p,m,r,null,window.NaN);q=r}else q=window.NaN;for(f.reset();f.advance();){var t=m;m=k[++c];f.o("stackedMissing",m.ys);(m.ys=f.o("missing"))?(t.uD=!0,q=window.NaN):(r=Number(f.Rq(h)),l.call(a,d,f,m,r,t,q),q=r)}if(p=g0(b.oa))m=k[++c],p.o("stackedMissing",m.ys),(m.ys=p.o("missing"))||(r=Number(p.Rq(h)),l.call(a,d,p,m,r,t,q));return e},g3=function(a,b,c){a.o("missing")?(a.o("stackedPositiveZero",Number(a.o("stackedPositiveZero"))/
c.jp*100||0),a.o("stackedNegativeZero",Number(a.o("stackedNegativeZero"))/c.fp*100||0)):(0<=Number(a.o("stackedValue"))?(c=c.jp,b.Uc(100)):(c=-c.fp,b.Uc(-100)),a.o("stackedZero",Number(a.o("stackedZero"))/c*100||0),a.o("stackedValue",Number(a.o("stackedValue"))/c*100||0))},mma=function(a,b,c){var d=$.oa(b),e=a.aa();c=c[d];b.Uc(0);var f=f0(a.oa);f&&(d=c[0],g3(f,b,d));var h=1;for(e.reset();e.advance();)d=c[h++],g3(e,b,d);if(f=g0(a.oa))d=c[h],g3(f,b,d)},nma=function(a,b,c,d){var e=0,f=[],h=[],k=[],l=
0,m=!1,p=c-b;for(c=0;c<a.length;c++){var q=a[c];$.V(q);var r=$.M(q.minHeight(),d);var t=$.M(q.maxHeight(),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,(p-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,(p-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.jx!=b,e.jx=b,l&&e.ta(2),q.QA(u),q.da(!0),b+=u},oma=function(a,b){for(var c=!1,d=0;d<a.f.length;d++){var e=a.f[d];if(e&&!e.fd){e=e.Te();for(var f=0;f<e.length;f++)if(e[f].oa==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.ka[d];delete c.Ra[d];e={};for(d in c.ga){f=c.ga[d].Uq().Wd();var h=$.oa(f).toFixed(0);h in e||(e[h]=f)}for(d in c.U)if(!(d in e)){$.Zq(c.U[d],c.K4,c);break}c.U=e;c.f.g=!0;for(var k in c.O)c.O[k].g=!0;c.B(16384,16)}},h3=function(a){a.Ja=!0;pma(a)},i3=function(a){a.Ja=!1;qma(a)},qma=function(a){(0,window.isNaN)(a.O)||bma(a,a.O,a.nb,a.Ra,a.eb,a.Tc)},bma=function(a,b,c,d,e,f){if(!(a.Ja||0>b||1<b)){var h=a.Va().Fc(b),k=ria(a.b.g,h);if(!(0,window.isNaN)(k)){var l;(b=f&&f.enabled()?
f.HD(k):null)&&(l=rma(b,c));for(c=0;c<a.f.length;c++)a.f[c]&&(b=a.f[c],b.fo(k,h,f,e,b==f?l:void 0,b===f));a.Ob=!0;c=a.tn();f={hoveredDate:{value:k,type:"date-time"},rawHoveredDate:{value:h,type:"date-time"},dataIntervalUnit:{value:c.Xn().unit,type:"string"},dataIntervalUnitCount:{value:c.Xn().count,type:"number"},isGrouped:{value:c.gD()}};b=a.Xa();if(dma(a.cb,h))b.Oc();else if("union"==b.i("displayMode")&&"point"!=b.i("positionMode")){l=[];a=(0,$.Wa)(a.f,function(a){return{plot:a,infoBySeries:a&&
a.enabled()?a.HD(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 p=h[m].series;p&&l.push({series:p})}$.zw(b,l,d,e,null,!1,f)}else"single"==b.i("displayMode")&&(l&&.03>l.distance?(a=l.series,$.zw(b,[{series:a}],d,e,a,!1,f)):b.Oc())}}},rma=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=$.So(k.get("value"),k.get("close"),k.get("high")),k=$.N(k),(0,window.isNaN)(k)||(k=l.transform(k),
l=l.Uf()?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},pma=function(a){if(a.Ob){a.Ob=!1;for(var b=0;b<a.f.length;b++){var c=a.f[b];c&&c.hX()}a.Xa().Oc()}},j3=function(a){switch(a){case "thumb-drag":return"scroller-thumb-drag";case "selected-range-drag":return"scroller-drag";default:return"scroller-click"}},A2=function(a,b,c,d,e){f3(a,"selectedrangebeforechange",e||"plot-drag",b,c)&&(e3(a,b,c),d.Ei=a.zf(d.Wr),d.lastIndex=a.zf(d.Vv),d.ws=a.zf(d.zn),
d.cw=a.zf(d.cp),f3(a,"selectedrangechange",e||"plot-drag"))},J2=function(a,b,c){var d=a.Va();$.K(d,z2)?(d=c.lastIndex-c.Ei,d*=b,b=a.hi(c.Ei-d),c=a.hi(c.lastIndex-d)):(d=c.Vv-c.Wr,d*=b,b=c.Wr-d,c=c.Vv-d);b>c&&(d=b,b=c,c=d);return b!=a.b.b.yh||c!=a.b.b.Di?[b,c]:null},sma=function(a,b,c){a=a.Va();if($.K(a,z2)){var d=c.lastIndex-c.Ei;a=(c.ws-c.Ei)/d;c=(c.cw-c.Ei)/d}else d=c.Vv-c.Wr,a=(c.zn-c.Wr)/d,c=(c.cp-c.Wr)/d;return-$.Za(-b,a,c-1)},tma={r7:"no-overlap",sja:"allow-minor-overlap",rja:"allow-major-overlap",
x5:"allow-overlap"},iia={sB:"area",IX:"candlestick",BE:"column",Xs:"line",yu:"marker",TX:"ohlc",XX:"range-area",yP:"range-column",ZX:"range-spline-area",$X:"range-step-area",cY:"spline",dY:"spline-area",jY:"step-area",kY:"step-line",Y6:"jump-line",u8:"stick",W6:"hilo"},jia={Yma:"sma",Vka:"ema"},uma={Zka:"exact-or-prev",Xka:"exact",Yka:"exact-or-next",NEAREST:"nearest"},k3={name:"fill",Mb:"path",Sb:"fill",Tb:null,Vb:!1,Bb:!1,zIndex:0},l3={name:"stroke",Mb:"path",Sb:null,Tb:"stroke",Vb:!1,Bb:!1,zIndex:2E-6},
m3={name:"hatchFill",Mb:"path",Sb:"hatchFill",Tb:null,Vb:!1,Bb:!0,zIndex:1E-6},vma={name:"negativeHatchFill",Mb:"path",Sb:"negativeHatchFill",Tb:null,Vb:!1,Bb:!0,zIndex:1E-6},wma={name:"negative",Mb:"path",Sb:"negativeFill",Tb:"negativeStroke",Vb:!1,Bb:!1,zIndex:0},n3={name:"rising",Mb:"path",Sb:"risingFill",Tb:"risingStroke",Vb:!1,Bb:!1,zIndex:0},o3={name:"risingHatchFill",Mb:"path",Sb:"risingHatchFill",Tb:null,Vb:!1,Bb:!0,zIndex:1E-6},p3={name:"falling",Mb:"path",Sb:"fallingFill",Tb:"fallingStroke",
Vb:!1,Bb:!1,zIndex:0},q3={name:"fallingHatchFill",Mb:"path",Sb:"fallingHatchFill",Tb:null,Vb:!1,Bb:!0,zIndex:1E-6},xma={name:"highFill",Mb:"path",Sb:"highFill",Tb:null,Vb:!1,Bb:!1,zIndex:0},yma={name:"lowFill",Mb:"path",Sb:"lowFill",Tb:null,Vb:!1,Bb:!1,zIndex:0},zma={name:"highFill",Mb:"path",Sb:"highFill",Tb:null,Vb:!1,Bb:!1,zIndex:0},Ama={name:"lowFill",Mb:"path",Sb:"lowFill",Tb:null,Vb:!1,nk:!0,Bb:!1,zIndex:0},r3={name:"highHatchFill",Mb:"path",Sb:"highHatchFill",Tb:null,Vb:!1,Bb:!1,zIndex:0},
s3={name:"lowHatchFill",Mb:"path",Sb:"lowFill",Tb:null,Vb:!1,Bb:!1,zIndex:0},t3={name:"highHatchFill",Mb:"path",Sb:"highHatchFill",Tb:null,Vb:!1,Bb:!1,zIndex:0},u3={name:"lowHatchFill",Mb:"path",Sb:"lowHatchFill",Tb:null,Vb:!1,nk:!0,Bb:!1,zIndex:0},v3={name:"highStroke",Mb:"path",Sb:null,Tb:"highStroke",Vb:!1,nk:!0,Bb:!1,zIndex:2E-6},w3={name:"lowStroke",Mb:"path",Sb:null,Tb:"lowStroke",Vb:!1,Bb:!1,zIndex:2E-6},x3={name:"path",Mb:"path",Sb:"fill",Tb:"stroke",Vb:!1,Bb:!1,zIndex:0},y3={name:"fill",
Mb:"path",Sb:"fill",Tb:null,Vb:!1,nk:!0,Bb:!1,zIndex:0},z3={name:"stroke",Mb:"path",Sb:null,Tb:"stroke",Vb:!1,nk:!0,Bb:!1,zIndex:2E-6},A3={name:"hatchFill",Mb:"path",Sb:"hatchFill",Tb:null,Vb:!1,nk:!0,Bb:!0,zIndex:1E-6},Bma={name:"negativeHatchFill",Mb:"path",Sb:"negativeHatchFill",Tb:null,Vb:!1,nk:!0,Bb:!0,zIndex:1E-6},Cma={name:"negative",Mb:"path",Sb:"negativeFill",Tb:"negativeStroke",Vb:!1,nk:!0,Bb:!1,zIndex:0},B3={name:"rising",Mb:"path",Sb:"risingFill",Tb:"risingStroke",Vb:!1,nk:!0,Bb:!1,zIndex:0},
C3={name:"rising",Mb:"path",Sb:null,Tb:"risingStroke",Vb:!1,nk:!0,Bb:!1,zIndex:2E-6},D3={name:"negative",Mb:"path",Sb:null,Tb:"negativeStroke",Vb:!1,nk:!0,Bb:!1,zIndex:2E-6},E3={name:"risingHatchFill",Mb:"path",Sb:"risingHatchFill",Tb:null,Vb:!1,nk:!0,Bb:!0,zIndex:1E-6},F3={name:"falling",Mb:"path",Sb:"fallingFill",Tb:"fallingStroke",Vb:!1,nk:!0,Bb:!1,zIndex:0},G3={name:"falling",Mb:"path",Sb:null,Tb:"fallingStroke",Vb:!1,nk:!0,Bb:!1,zIndex:2E-6},H3={name:"fallingHatchFill",Mb:"path",Sb:"fallingHatchFill",
Tb:null,Vb:!1,nk:!0,Bb:!0,zIndex:1E-6},I3={name:"highStroke",Mb:"path",Sb:null,Tb:"highStroke",Vb:!1,nk:!0,Bb:!1,zIndex:2E-6},J3={name:"lowStroke",Mb:"path",Sb:null,Tb:"lowStroke",Vb:!1,nk:!0,Bb:!1,zIndex:2E-6},K3={name:"path",Mb:"path",Sb:"fill",Tb:"stroke",Vb:!1,nk:!0,Bb:!1,zIndex:0},Pia={name:"overlay",Mb:"path",Sb:!0,Tb:!0,Vb:!1,Bb:!1,zIndex:2E-6};$.g=Q_.prototype;$.g.p9=function(a){this.f.setTime(Date.UTC($.Ho(this.f.getUTCFullYear(),this.b,a?a.getUTCFullYear():2E3)-this.b,0))};$.g.m9=function(a){var b=this.b;this.b*=6;this.SP(a);this.b=b};$.g.k9=function(a){var b=this.b;this.b*=3;this.SP(a);this.b=b};$.g.SP=function(a){var b=$.Ho(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.n9=function(a){a=$.Ho(lia(this.f),this.b,a?lia(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.o9=function(a){R_(this,6048E5*this.b,a||new Date(Date.UTC(2E3,0,2)))};$.g.g9=function(a){R_(this,864E5*this.b,a)};$.g.h9=function(a){R_(this,36E5*this.b,a)};$.g.j9=function(a){R_(this,6E4*this.b,a)};$.g.l9=function(a){R_(this,1E3*this.b,a)};$.g.i9=function(a){R_(this,this.b,a)};
$.g.fga=function(){this.f.setUTCFullYear(this.f.getUTCFullYear()+this.b);return this.f.getTime()};$.g.cga=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.aga=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.$fa=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.dga=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.ega=function(){var a=this.f.getTime()+6048E5*this.b;this.f.setTime(a);return a};$.g.Ufa=function(){var a=this.f.getTime()+864E5*this.b;this.f.setTime(a);return a};$.g.Wfa=function(){var a=this.f.getTime()+36E5*this.b;this.f.setTime(a);return a};$.g.Zfa=function(){var a=this.f.getTime()+6E4*this.b;this.f.setTime(a);return a};$.g.bga=function(){var a=this.f.getTime()+1E3*this.b;this.f.setTime(a);return a};$.g.Yfa=function(){var a=this.f.getTime()+this.b;this.f.setTime(a);return a};$.g.cj=function(){return this.j};$.H(S_,$.Yq);$.g=S_.prototype;$.g.qa=2;$.g.enabled=function(a){return $.n(a)?(a=!!a,this.j!=a&&(this.j=a,this.ta(2)),this):this.j};$.g.f0=function(a){return $.n(a)?(a=!!a,this.D!=a&&(this.D=a,this.ta(2)),this):this.D};
$.g.sQ=function(a){if($.n(a)){this.b.length=0;if($.A(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=$.O(d.count,1,!1));if(e){d=new Q_(e,f);var h=d.D+d.b.toFixed(0);h in b||(b[h]=!0,this.b.push(d))}}$.Qa(this.b,mia)}this.ta(2);return this}return oia(this)};$.g.r2=function(a){return $.n(a)?(a=Math.max(2,$.N(a)),(0,window.isNaN)(a)||this.f==a||(this.f=a,this.g=window.NaN,this.ta(2)),this):this.f};
$.g.w2=function(a){return $.n(a)?(a=Math.max(.1,$.N(a)),(0,window.isNaN)(a)||this.g==a||(this.g=a,this.f=window.NaN,this.ta(2)),this):this.g};$.g.Xn=function(){return this.G};$.g.gD=function(){return this.N};$.g.R=function(){S_.u.R.call(this)};$.g.F=function(){var a=S_.u.F.call(this);a.enabled=this.j;a.forced=this.D;a.levels=oia(this);a.maxVisiblePoints=(0,window.isNaN)(this.f)?null:this.f;a.minPixPerPoint=(0,window.isNaN)(this.g)?null:this.g;return a};
$.g.Od=function(a){return $.da(a)||null===a?{enabled:!!a}:$.A(a)?{enabled:!0,levels:a}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?(this.enabled(c.enabled),"levels"in c&&this.sQ(c.levels),!0):!1};$.g.X=function(a,b){S_.u.X.call(this,a,b);this.enabled(a.enabled);this.f0(a.forced);this.sQ(a.levels);this.r2(a.maxVisiblePoints);this.w2(a.minPixPerPoint)};var L3=S_.prototype;L3.enabled=L3.enabled;L3.forced=L3.f0;L3.levels=L3.sQ;L3.maxVisiblePoints=L3.r2;L3.minPixPerPoint=L3.w2;
L3.getCurrentDataInterval=L3.Xn;L3.isGrouped=L3.gD;T_.prototype.f=null;var pia=0;T_.prototype.ej=function(a){var b;$.ea(a)&&0>a?this.f&&(b=this.f[~a]):b=this.values[a];return b};$.g=W_.prototype;$.g.reset=function(){this.g&&this.g.reset();this.b=this.N;this.j=this.g?this.g.g():this.N.key;this.G=!1;this.D=window.NaN;this.O=!0;return this};$.g.advance=function(){return this.ba()};$.g.current=function(){return this.b};$.g.ku=function(a,b){if($.n(a))if(this.g)for(this.reset();this.advance()&&a!=this.current(););else this.b=a,this.G=!0,$.n(b)&&(this.j=b)};$.g.get=function(a){return this.Rq(this.ga?i0(this.Zc,a):h0(this.Zc,a))};
$.g.o=function(a,b){var c=this.ki[this.la()];c||(c=this.ki[this.la()]={});return 1<arguments.length?(c[a]=b,this):c[a]};$.g.Rq=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.Oh=function(){return this.D};$.g.la=function(){return this.ya()};$.g.Gb=function(){return this.ka};$.g.$$=function(){return this.D};$.g.uda=function(){return this.j};$.g.nda=function(){return this.g.g()};
$.g.d9=function(){if(this.b){this.j++;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.j=this.D=window.NaN}return!1};$.g.Iba=function(){if(this.g.advance())return this.O&&(this.b=this.b.next),(this.O=!(!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 M3=W_.prototype;M3.reset=M3.reset;M3.advance=M3.advance;M3.get=M3.get;M3.getKey=M3.$$;
M3.getIndex=M3.la;M3.meta=M3.o;$.g=X_.prototype;$.g.hi=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.j-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.j]={key:b,index:a};this.j=(this.j+1)%2}else 1==b?(b=this.b[0].key,b=Math.round(a+b)):b=window.NaN;return b};
$.g.zf=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.j-c-1+2)%2];if(d.key==a)return d.index}c=$.Pa(this.b,V_,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.j]={key:a,index:b};this.j=(this.j+1)%2}else 1==b?(b=this.b[0].key,b=a-b):b=window.NaN;return b};$.g.aa=function(a,b){return Z_(this,this.zf(a),this.zf(b))};$.g.cr=function(){return this.g};
$.g.update=function(){if(this.g){this.j=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.O=!0;for(d=0;d<this.f.length;d++)if(this.f[d].Gb()!=this.b.length){this.O=!1;break}}};Y_.prototype.reset=function(){this.b=this.D;this.f=window.NaN;this.j=this.D.key};
Y_.prototype.advance=function(){if(this.b){this.j++;if((this.b=this.b.next)&&this.b!=this.N)return this.f=this.b.key,!0;this.b=null;this.j=this.f=window.NaN}return!1};Y_.prototype.g=function(){return this.j};Y_.prototype.Gb=function(){return this.G};$.g=c0.prototype;$.g.search=function(a,b){return via(this,j0(this.f,$.Rk(a),$.xk(uma,b,"exact")))};$.g.select=function(a,b,c,d){return wia(this,$.Rk(a),$.Rk(b),$.n(c)?new Q_(c,$.N(d)):void 0)};$.g.baa=function(a,b){var c=$.n(a)?new Q_(a,$.N(b)):void 0,d=a0(this.Zc.Wd(),c);this.f=d;this.j=!c;this.b=uia(d);b0(this);return this};$.g.aa=function(){return m0(this,!0)};$.g.Uq=function(){return this.Zc};$.g=d0.prototype;$.g.get=function(a){return this.Rq(this.b?i0(this.Zc,a):h0(this.Zc,a))};$.g.Rq=function(a){return this.hf.ej(a)};
$.g.la=function(){return this.wd};$.g.Oh=function(){return this.hf.key};$.g.o=function(a,b){return 1<arguments.length?(this.ki&&(this.ki[a]=b),this):this.ki?this.ki[a]:void 0};$.g.aaa=function(){return this.hf.key};var N3=c0.prototype;N3.search=N3.search;N3.select=N3.select;N3.selectAll=N3.baa;N3.getIterator=N3.aa;N3=d0.prototype;N3.meta=N3.o;N3.get=N3.get;N3.getKey=N3.aaa;N3.getColumn=N3.Rq;N3.getIndex=N3.la;$.H(n0,$.Yq);$.g=n0.prototype;$.g.sa=16384;$.g.qa=16;$.g.select=function(a,b,c){(0,window.isNaN)(a)&&(a=this.b.yh);(0,window.isNaN)(b)&&(b=this.b.Di);if((0,window.isNaN)(a)||(0,window.isNaN)(b))return!1;p0(this);if(a=r0(this,a,b,this.tn(),this.ka,this.g,this.b,!1))this.g=a[0],this.b=a[1],this.Ja=c.transform(this.b.yh),this.Ga=c.transform(this.b.Di);return!!a};
$.g.tn=function(a){this.G||(this.G=new S_,this.G.Fa("stock.grouping"),this.G.X(this.G.ma,!0),$.L(this.G,this.Y0,this));return $.n(a)?(this.G.K(a),this):this.G};$.g.Y0=function(){this.ta(16)};$.g.K4=function(a){if($.X(a,16)){this.f.g=!0;for(var b in this.O)this.O[b].g=!0;for(b in this.ka)this.ka[b].G=!0;this.B(16384,16)}};$.g.R=function(){$.td(this.G,this.N);this.N=this.G=null;n0.u.R.call(this)};$.g.hi=function(a){p0(this);return this.g.hi(a)};$.g.zf=function(a){p0(this);return this.g.zf(a)};
$.g.GL=function(){return this.b.OH};$.H(x0,$.Uw);var O3={};$.hq(O3,[[0,"scrollOnMouseWheel",$.uq]]);$.U(x0,O3);x0.prototype.F=function(){var a=x0.u.F.call(this);$.Hq(this,O3,a);return a};x0.prototype.X=function(a,b){x0.u.X.call(this,a,b);$.zq(this,O3,a)};$.H(y0,$.Y);var Dma=y0.prototype,Ema={};$.hq(Ema,[[0,"height",$.qq],[0,"showHelperLabel",$.uq],[0,"overlapMode",function(a,b){return $.xk(tma,a,b||"no-overlap")}]]);Dma.qQ=Ema;$.U(y0,y0.prototype.qQ);$.g=y0.prototype;$.g.sa=$.Y.prototype.sa|80;$.g.qa=$.Y.prototype.qa;$.g.background=function(a){this.Ka||(this.Ka=new $.ku,$.W(this,"background",this.Ka),$.L(this.Ka,this.gg,this));return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.gg=function(a){$.X(a,1)&&this.B(64,1)};
$.g.labels=function(a){this.Da||(this.Da=new $.Du,$.W(this,"labels",this.Da),this.Da.ib(this),$.L(this.Da,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Da.K(a),this):this.Da};$.g.kb=function(a){this.oc||(this.oc=new $.Du,$.W(this,"minorLabels",this.oc),this.oc.ib(this),$.L(this.oc,this.Zd,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.oc.K(a),this):this.oc};$.g.Zd=function(a){var b=0,c=0;$.X(a,1)&&(b=16,c=1);$.X(a,8)&&(b|=4,c|=8);this.B(b,c)};
$.g.Qa=function(a){this.hb||(this.hb=new $.By,this.hb.orientation("top"),this.hb.Ce(!0,!1),this.hb.ib(this),$.W(this,"ticks",this.hb),$.L(this.hb,this.fZ,this));return $.n(a)?(this.hb.K(a),this):this.hb};$.g.tb=function(a){this.Nc||(this.Nc=new $.By,this.Nc.orientation("top"),this.Nc.Ce(!0,!1),this.Nc.ib(this),$.W(this,"minorTicks",this.Nc),$.L(this.Nc,this.fZ,this));return $.n(a)?(this.Nc.K(a),this):this.Nc};$.g.fZ=function(){this.B(16,1)};
$.g.scale=function(a){return $.n(a)?(this.na!=a&&(this.na&&$.Zq(this.na,this.Vh,this),(this.na=a)&&$.L(this.na,this.Vh,this),this.B(16,1)),this):this.na};$.g.Vh=function(a){$.X(a,512)&&this.B(16,1)};$.g.orientation=function(a){return $.n(a)?this:"bottom"};$.g.lb=function(){var a=this.ja();if(!a)return new $.J(0,0,0,0);this.enabled()&&(a.top=a.top+a.height-this.i("height")+1);return a};$.g.qd=function(){var a=this.ja();if(!a)return new $.J(0,0,0,0);this.enabled()&&(a.height-=this.i("height"));return a};
$.g.xx=function(a,b){var c=this.na.jfa,d=this.na.ifa,e=this.na.Ifa,f=this.na.Hfa,h=null,k=[],l=null,m=[],p=[],q=[],r,t=[],u=[],v=[],w=[],x=this.hb&&this.hb.enabled()?$.Cy(this.hb):null,y=this.Nc&&this.Nc.enabled()?$.Cy(this.Nc):null,B=!(!this.Da||!this.Da.enabled()),G=!(!this.oc||!this.oc.enabled()),C=1,I=0;for(b.reset();b.advance();){var P=b.current;(r=B&&b.j)&&x?x.call(this.hb,this.na.HO(P),a,a,0,.5):y&&y.call(this.Nc,this.na.HO(P),a,a,0,.5);if("allow-overlap"==this.i("overlapMode"))r?(t.push(P),
v.push(C),h||(h=this.hd(P,r,a,c,e,f,0))):G&&(u.push(P),w.push(I),k.push(this.hd(P,r,a,c,e,f,0)));else{var Q=this.hd(P,r,a,c,e,f,r?C:I);if(r){if("allow-major-overlap"==this.i("overlapMode")||!l||!l.Wo(Q)){for(l=p.length;l--;)if(Q.Wo(p[l]))m.pop(),p.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,p);l=Q;h||(h=Q)}m.length=p.length=q.length=0}else!G||l&&l.Wo(Q)||"allow-minor-overlap"!=this.i("overlapMode")&&p.length&&p[p.length-1].Wo(Q)||(m.push(P),q.push(I),
p.push(Q))}r?C++:I++}m.length&&(u.push.apply(u,m),w.push.apply(w,q),k.push.apply(k,p));$.Mu(this.labels());$.Mu(this.kb());P=b.f;if(this.i("showHelperLabel")&&!(0,window.isNaN)(P)&&(Q=this.hd(P,!0,a,c,e,f,0))&&(!h||!Q.Wo(h))){if("allow-overlap"!=this.i("overlapMode")){for(l=0;l<k.length&&Q.Wo(k[l]);l++);l&&($.Ca(k,0,l),$.Ca(u,0,l),$.Ca(w,0,l))}this.ce(P,!0,a,c,d,e,f,0)}for(l=0;l<t.length;l++)this.ce(t[l],!0,a,c,d,e,f,v[l]);for(l=0;l<u.length;l++)this.ce(u[l],!1,a,c,d,e,f,w[l])};
$.g.ce=function(a,b,c,d,e,f,h,k){b=b?this.labels():this.kb();var l=this.na.zf(a);"stock-ordinal-date-time"==this.na.Na()&&(l=Math.ceil(l));e=this.na.hi(l);l=this.na.rr(e,l);l=Math.round(c.left+l*c.width);var m=c.top;a=this.im(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),$.Qu(k,[k.Ma,b.Ma,k.zd,b.ma]),$.K(this.b,S2)||(c=b.i("position"),c=$.Ao(c),k.Vk(0>c?"center-bottom":0<c?"center-top":"center")))};
$.g.hd=function(a,b,c,d,e,f,h){b=b?this.labels():this.kb();if(!b.enabled())return null;var k=this.na.zf(a);"stock-ordinal-date-time"==this.na.Na()&&(k=Math.ceil(k));var l=this.na.hi(k);k=this.na.rr(l,k);k=Math.round(c.left+k*c.width);var m=c.top;a=this.im(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.im=function(a,b,c,d,e){var f=$.ks(a),h=this.b.tn();a={dataIntervalUnit:{value:h.Xn().unit,type:"string"},dataIntervalUnitCount:{value:h.Xn().count,type:"number"},dataIsGrouped:{value:h.gD(),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.na.WS(),
type:"number"},min:{value:this.na.XS(),type:"number"},scale:{value:this.na,type:""}};a=new $.rw(a);a.sm({"%AxisScaleMax":"max","%AxisScaleMin":"min"});return $.av(a)};$.g.remove=function(){this.Wa&&this.Wa.remove()};
$.g.$=function(){if(!this.Bc())return this;this.Wa||(this.Wa=$.lk(),this.f||this.Wa.td(!0));var a=$.jr(this,"background"),b=$.jr(this,"labels"),c=$.jr(this,"minorLabels"),d=$.jr(this,"ticks"),e=$.jr(this,"minorTicks");a&&$.V(a);b&&$.V(b);c&&$.V(c);if(this.J(4)){if(a){var f=this.ja().clone().round();f.top=f.top+f.height-this.i("height");f.height=this.i("height");f.width=Math.ceil($.R(f.$a(),1))-f.left;a.ja(f)}this.B(80);this.I(4)}this.J(64)&&(a&&(a.P(this.Wa),a.$()),this.I(64));this.J(16)&&(this.na&&
(a?f=a.qd():(f=this.ja(),f.top=f.top+f.height-this.i("height"),f.height=this.i("height")),b&&(b.clear(),$.Mu(b)),c&&(c.clear(),$.Mu(c)),d&&(d.length(f.height),d.P(this.Wa),d.$()),e&&(e.length(f.height),e.P(this.Wa),e.$()),d=b&&b.enabled(),e=c&&c.enabled(),(d||e)&&this.xx(f,this.na.rn()),this.bi||(this.bi=$.qk()),this.bi.shape(f),b&&(b.P(this.Wa),b.$(),(f=b.jm())&&f.clip("outside"==b.i("position")?this.bi:null)),c&&(c.P(this.Wa),c.$(),(f=c.jm())&&f.clip("outside"==c.i("position")?this.bi:null))),this.I(16));
this.J(8)&&(this.Wa.zIndex(this.zIndex()),this.I(8));this.J(2)&&(this.Wa.parent(this.P()),this.I(2));a&&a.da(!1);b&&b.da(!1);c&&c.da(!1);return this};$.g.Hb=function(){return!0};$.g.gy=function(){return!0};$.g.R=function(){$.td(this.Da,this.oc,this.hb,this.Nc,this.Ka,this.Wa,this.na);this.na=this.Wa=this.Ka=this.Nc=this.hb=this.oc=this.Da=null;y0.u.R.call(this)};
$.g.F=function(){var a=y0.u.F.call(this);$.Hq(this,this.qQ,a);a.labels=this.labels().F();a.minorLabels=this.kb().F();a.ticks=this.Qa().F();a.minorTicks=this.tb().F();a.background=this.background().F();return a};$.g.X=function(a,b){y0.u.X.call(this,a,b);$.zq(this,this.qQ,a,b);this.labels().ia(!!b,a.labels);this.kb().ia(!!b,a.minorLabels);this.Qa(a.ticks);this.tb(a.minorTicks);this.background(a.background)};var P3=y0.prototype;P3.labels=P3.labels;P3.minorLabels=P3.kb;P3.ticks=P3.Qa;P3.minorTicks=P3.tb;
P3.background=P3.background;$.H(z0,$.Y);z0.prototype.sa=$.Y.prototype.sa|208;z0.prototype.qa=$.Y.prototype.qa;var Fma=z0.prototype,Q3={};$.gq(Q3,0,"value",$.Sk);$.gq(Q3,0,"valueField",$.tq);$.gq(Q3,1,"stroke",$.Dq);$.gq(Q3,1,"risingStroke",$.Dq);$.gq(Q3,1,"fallingStroke",$.Dq);Fma.OJ=Q3;$.U(z0,z0.prototype.OJ);$.g=z0.prototype;$.g.kH=function(a){a=a.i("anchor");return"left-top"==a||"left-center"==a||"left-bottom"==a};
$.g.Vp=function(a,b,c){if(!b)return null;var d=b.scale(),e=d.Na();c=d.Fc(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=$.ks(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=$.eB(a,new $.rw,this.f);return $.av(a,$.Sc($.$u(a),b))};
$.g.label=function(a){return $.n(a)?(this.j.K(a),this):this.j};$.g.Sca=function(a){return $.n(a)?(this.D.K(a),this):this.D};$.g.Jha=function(a){return $.n(a)?(this.G.K(a),this):this.G};$.g.rQ=function(){this.B(68,1)};$.g.W=function(a){if($.n(a)){var b=a;$.ea(a)?a=this.N.Nh(a):$.z(a)&&(a=this.N.Ue(a));this.Oa!==a&&(this.ba=b,this.Oa=a,this.B(134,1));return this}return this.Oa};$.g.axis=function(a){if($.n(a)){var b=+a;$.ea(a)&&(a=this.N.ti(a));this.b!==a&&(this.U=b,this.b=a,this.B(4,1));return this}return this.b};
$.g.remove=function(){this.va.parent(null);this.B(2)};
$.g.$=function(){if(!this.Bc())return this;this.va||(this.va=$.lk());var a=this.Oa||this.N.Nh(0);if(a&&!a.fd){var b=this.i("valueField")||a.Se.ol;var c=!!(a.Se.flags&$.wG);var d=(this.f=yia(a.oa,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=$.nk().zIndex(0).parent(this.va);var e=this.i("stroke"),f=this.b||this.N.ti(0);d=f.scale().transform(d);var h=this.N.Rf();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=$.bc(e)||1;this.J(2)&&(m=this.P(),this.va.parent(m),this.I(2));this.J(8)&&(m=this.zIndex(),this.va.zIndex(m),this.I(8));if(this.J(4)){m=h.Ua()-d*h.height;m=$.R(m,l);b.clear();b.moveTo(h.left,m).lineTo(h.$a(),m);b.clip(this.N.Rf());b.parent(this.va);if(this.g.ic("enabled")){h=m;l=this.N.Rf();var p=f.lb(),q=f.enabled();m=q?p.qb():l.$a();p=q?p.$a():l.qb();switch(f.i("orientation")){case "left":var r=(this.kH(this.g),p);break;case "right":r=
(this.kH(this.g),m)}h>=l.bc()&&h<=l.Ua()||(r=h=window.NaN);h={value:{x:r,y:h}};if((0,window.isNaN)(h.value.x))this.O=!0,this.g.clear();else{if(this.O||c)this.B(64),this.O=!1;r=this.Vp(a,f,d);this.g.lf(r);$.Mu(this.j);this.g.uc(h);this.g.Vk("left"==f.i("orientation")?"right-center":"left-center")}}else this.g.clear(),this.O=!0;this.I(4)}this.J(64)&&(this.g.ic("enabled")?(r=this.Vp(a,f,d),this.g.lf(r),$.Mu(this.j),this.g.Vk("left"==f.i("orientation")?"right-center":"left-center"),a=[],c?a.push(k.Ma,
this.j.Ma,this.g.zd,this.j.zd,k.ma,this.j.ma):a.push(this.j.Ma,this.g.zd,this.j.zd,this.j.ma),$.Qu(this.g,a)):(this.g.clear(),this.O=!0),this.I(64));this.J(16)&&(b.stroke(e),this.I(16));this.O||(this.g.P(this.va),this.g.$());this.j.I(4294967295);this.G.I(4294967295);this.D.I(4294967295);return this};
$.g.F=function(){var a=z0.u.F.call(this);$.Hq(this,this.OJ,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.j.F();a.risingLabel=$.lN(this.G);a.fallingLabel=$.lN(this.D);return a};$.g.X=function(a,b){b?$.yq(this.ma,this.OJ,a):$.zq(this,this.OJ,a);this.W(a.series);this.axis(a.axis);Dia(this,a,b);z0.u.X.call(this,a,b)};
$.g.R=function(){this.Oa=this.b=this.N=null;this.remove();this.line&&this.line.cd();this.j.clear();$.td(this.j,this.G,this.D);this.D=this.G=this.j=null;z0.u.R.call(this)};var R3=z0.prototype;R3.label=R3.label;R3.fallingLabel=R3.Sca;R3.risingLabel=R3.Jha;R3.axis=R3.axis;R3.series=R3.W;$.H(A0,$.Wy);$.g=A0.prototype;$.g.kg=function(a){$.X(a,2)&&this.B(80,1)};$.g.WF=function(a){var b=this.ja().round()||$.gn(0,0,0,0);a=b.Ua()-a*b.height;a=$.R(a,this.Gh().Nk());this.j.moveTo($.R(b.qb(),1)-.5,a);this.j.lineTo($.R(b.$a(),1)+.5,a)};$.g.XF=function(a){var b=this.ja().round()||$.gn(0,0,0,0);a=b.qb()+a*b.width;a=$.R(a,this.Gh().Nk());this.j.moveTo(a,$.R(b.Ua(),1)-.5);this.j.lineTo(a,$.R(b.bc(),1)+.5)};
$.g.TF=function(a,b,c){if(!(0,window.isNaN)(b)){var d=this.ja().round()||$.gn(0,0,0,0),e=this.Gh().Nk();b=d.Ua()-b*d.height;b=$.R(b,e);a=d.Ua()-a*d.height;a=$.R(a,e);c.moveTo(d.qb(),b);c.lineTo(d.$a(),b);c.lineTo(d.$a(),a);c.lineTo(d.qb(),a);c.close()}};$.g.UF=function(a,b,c){if(!(0,window.isNaN)(b)){var d=this.ja().round()||$.gn(0,0,0,0),e=this.Gh().Nk();b=d.qb()+b*d.width;b=$.R(b,e);a=d.qb()+a*d.width;a=$.R(a,e);c.moveTo(b,d.bc());c.lineTo(a,d.bc());c.lineTo(a,d.Ua());c.lineTo(b,d.Ua());c.close()}};
$.g.uj=function(){var a=this.scale(),b=window.NaN,c=$.K(a,$.Ct),d=$.K(a,P2);var e=this.i("isMinor");d?(e=a.rn().ga(!e),e=$.Ga(window.NaN,e,window.NaN)):e=c?a.Qa().get():e?a.tb().get():a.Qa().get();var f=this.Hb()?[this.WF,this.TF]:[this.XF,this.UF];this.sz();this.Gh().clear();var h=(this.ja()||$.gn(0,0,0,0)).clone().round();var k=h.Ua();var l=h.$a();k=Math.ceil($.R(k,1));l=Math.ceil($.R(l,1));h.width=l-h.left;h.height=k-h.top;this.Gh().clip(h);h=f[1];l=f[0];for(var m=1==$.bc(this.i("stroke"))%2,p=
0,q=e.length;p<q;p++){var r=e[p];$.A(r)&&(r=r[0]);k=d?p?p==q-1?1:a.HO(r):0:a.transform(r);p&&(f=$.$y(this,p-1))&&h.call(this,k,b,f,m);p?p==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&&$.n(r)&&(k=a.Uf()?0:1,this.i("drawLastLine")&&l.call(this,k,m),(f=$.$y(this,p-1))&&h.call(this,k,b,f,m))};var S3=A0.prototype;S3.isHorizontal=S3.Hb;S3.scale=S3.scale;S3.axis=S3.axis;$.H(B0,$.YC);var T3={up:{tooltip:"Move plot up",icon:"ac ac-caret-up",fallbackSymbol:"▲",model:{type:"up"}},down:{tooltip:"Move plot down",icon:"ac ac-caret-down",fallbackSymbol:"▼",model:{type:"down"}},zoom:{tooltip:"Expand/Collapse plot",icon:"ac ac-enlarge",fallbackSymbol:"⛶",toggle:!0,model:{type:"zoom"}}},Gma={single:[T3.zoom],top:[T3.down,T3.zoom],center:[T3.up,T3.down,T3.zoom],bottom:[T3.up,T3.zoom]};$.g=B0.prototype;$.g.pc=function(){B0.u.pc.call(this);var a=this.Ta();$.Nj(a,"anychart-plot-controls")};
$.g.update=function(){if(this.df){this.Ki(!0);var a=this.b.Rf();$.uf(this.Ta(),{right:this.b.mc().padding().right()+"px",top:a.top+"px"});a=Gma[this.O];for(var b,c,d=H2(this.b),e=0;e<a.length;e++)b=a[e],c=new $.pD,$.aD(c,"anychart-button-standard"),$.nD(c,b.tooltip),$.rD(c,b.icon),c.O=b.fallbackSymbol,c.Sg=b.model,b.toggle&&(d?$.rD(c,"ac ac-dot-square-o"):$.rD(c,"ac ac-enlarge")),1!=a.length&&(e?e==a.length-1?$.oD(c,2):$.oD(c,3):$.oD(c,1)),this.fc(c,!0)}};
$.g.pg=function(){B0.u.pg.call(this);this.update();var a=$.oy(this);a.ra(this,"enter",function(){this.U=!0});a.ra(this,"leave",function(){this.U=!1;this.Oc()});a.ra(this,"action",this.X$)};
$.g.X$=function(a){var b=a.target;if($.K(b,$.pD)){var c=b.Sg.type;a=this.b;var d=a.mc();if("up"==c)b=jma(d,a),kma(d,a,b);else if("down"==c){a:{for(b=(0,$.za)(d.f,a)+1;b<d.f.length;b++)if((c=d.f[b])&&c.enabled()){b=c;break a}b=null}kma(d,a,b)}else if("zoom"==c){c=!H2(a);H2(a,c);$.V(d);for(var e=0;e<d.f.length;e++){var f=d.f[e];f!==a&&f.enabled(!c)}d.da(!0);H2(a)?$.rD(b,"ac ac-dot-square-o"):$.rD(b,"ac ac-enlarge")}this.U=!1}};$.g.show=function(){$.Pj(this.Ta(),"anychart-plot-controls-hidden")};
$.g.Oc=function(){this.U||$.Nj(this.Ta(),"anychart-plot-controls-hidden")};$.g.W$=function(){this.Fd()};$.g.Fd=function(){var a,b=this.b.mc();(b=b.container()?b.container().getStage():null)&&b.container()?a=b.container():a=null;a?B0.u.Fd.call(this,a):(a=(0,$.pa)(this.W$,this),this.b.mc().ve("chartdraw",a,!1,this))};$.g=Eia.prototype;$.g.rw=function(){Gia(this.lc,this.f);this.f.length=0};$.g.OV=function(a,b){this.f.push(b);this.b++};$.g.start=function(){this.b=this.f.length=0};$.g.Ed=$.ia;$.g.EJ=function(){this.f.length&&this.rw()};$.g=C0.prototype;$.g.update=function(){var a=this.O.AF-1;if(this.g<a)if(this.b.length){for(var b=this.O.px,c=$.K(this,G0),d=0;d<b.length;d++)if(this.g<=this.O.BF[d]){var e=b[d];e.j.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 L0(h,e,c,f),e.b);h=h.next;f++}}this.g=a;D0(this)}else this.g=a};
$.g.select=function(a,b){var c=this.b.length;if(c){var d=(0,window.isNaN)(a)?0:j0(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:j0(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 u0(this,a,b,e,d)};$.g.search=function(a,b){return this.qn(j0(this,a,b))};
$.g.rN=function(a,b){var c,d=this.TS();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.qn=function(a){return 0<=a&&a<this.b.length?this.b[a]:null};$.g.Gb=function(){return this.b.length};$.H(G0,C0);var F0=8;G0.prototype.TS=function(){return this.j};
G0.prototype.update=function(){if(0!=this.f){var a=a0(this.O).b,b=this.O.ME;if(this.f>=F0)this.g=-1,this.b.length=0,Fia(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.j;c++){var k=b[c];k.b(e.values[k.j],e.values[k.D],e.values)}e=e.next}for(c=0;c<this.j;c++)d.values[c]=b[c].f()}0<f&&($.Ca(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,Fia(this,a,b,d,!0,f));if(this.f&4&&(a=a[0],e=this.b[0],a&&e)){d=this.j;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.j],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.j=b.length;D0(this)}G0.u.update.call(this)};$.H(H0,C0);$.g=H0.prototype;
$.g.SW=function(){this.U&&$.el(101);this.U=!0};
$.g.zF=function(){this.U=!1;if(this.f.length||this.N){var a=I0(this),b=this.f.length,c=this.b.length,d=this.f[a?0:b-1];c=!b||!c||0<U_(d,this.b[c-1]);b=0;if(c&&2>this.N){c&&(b|=1);if(this.N){b|=2;d=new J0(this.b,null,!0);var e=0;for(c=d.next();c&&c.g;)e++,c=d.next();$.Ca(this.b,0,e);if(c=this.b[0])c.b=null}Hia(this,new J0(null,this.f,a))}else d=new J0(this.b,this.f,a),this.b=[],Hia(this,d),b=F0;this.f.length=0;this.j=this.v3;this.g=-1;this.N=0;D0(this);Kia(this.O,b,!0)}};
$.g.Fr=function(a,b,c){var d=!this.U;d&&this.SW();if($.z(a)){var e=new Eia(this),f=new $.Im;$.D(c)&&(f.sI(c.rowsSeparator),f.yF(c.columnsSeparator),f.$G(c.ignoreTrailingSpaces),f.YG(c.ignoreFirstRow));f.GB(a,e);!0===b&&(b=e.b)}else if($.A(a)){for(e=c=0;e<a.length;e++)Gia(this,a[e])&&c++;!0===b&&(b=c)}b=$.N(b);(0,window.isNaN)(b)||this.HN(b);d&&this.zF();return this};$.g.remove=function(a,b){for(var c=new J0(this.b,this.f,I0(this),a,b),d;d=c.next();)d.g=!0;this.N=2;this.U||this.zF();return this};
$.g.HN=function(a){a=$.O(a);for(var b=new J0(this.b,this.f,I0(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.zF();return this};$.g.TS=function(){return this.D||this.ba};$.g.v3=function(a){this.f.push(a);this.j=this.t3};$.g.t3=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.j=1==b?this.u3:this.RV,this.f.push(a)):this.f[b-1]=a};
$.g.u3=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.j=this.RV,this.f.push(a)):c.key==a.key&&(this.f[b-1]=a)};$.g.RV=function(a){this.f.push(a)};$.g=J0.prototype;$.g.vD=function(){return null};$.g.Tfa=function(){var a=this.f,b=this.j[this.b];if(a){if(b){if(0>U_(a,b))return this.f=this.f.next,a;this.b++;return b}this.f=this.f.next;this.g=this.I2;return a}if(b)return this.b++,this.g=this.Rfa,b;this.next=this.vD;return null};
$.g.Vfa=function(){var a=this.f,b=this.j[this.b];if(a){if(b){if(0>U_(a,b))return this.f=this.f.next,a;this.b--;return b}this.f=this.f.next;this.g=this.I2;return a}if(b)return this.b--,this.g=this.Sfa,b;this.next=this.vD;return null};$.g.I2=function(){var a=this.f;if(a)return this.f=this.f.next,a;this.next=this.vD;return null};$.g.Rfa=function(){var a=this.j[this.b++];if(a)return a;this.next=this.vD;return null};$.g.Sfa=function(){var a=this.j[this.b--];if(a)return a;this.next=this.vD;return null};
$.g.Dba=function(){var a=this.g();return null===a||a.key>this.D?(this.next=this.vD,null):a};$.g.gga=function(){return this.g()};$.H(K0,$.od);$.g=K0.prototype;$.g.la=function(){return this.wd};$.g.ZD=function(a){this.wd=a};$.g.Wd=function(){return this.Zc.Wd()};$.g.bd=function(a,b){if(a in this.f)return $.cl(202,void 0,[a]),window.NaN;a:{var c=this.Wd();if(this.Wd()!=c)c=window.NaN;else{var d=c.ww.length;var e=d?~c.ww[0]:~c.AF;if($.z(b)){if(b in c.xz){$.cl(201,void 0,[b]);c=window.NaN;break a}c.xz[b]=e}c.BF[this.la()]=Math.max(c.BF[this.la()],~e);d?c.ww.shift():c.AF++;c=e}}return(0,window.isNaN)(c)?window.NaN:this.f[a]=c};
$.g.De=function(a){return a in this.f?this.f[a]:window.NaN};$.g.Lf=function(a){this.b=a};$.g.Mf=function(a){this.j=$.E(a)?a:$.ia};$.g.Kf=function(a){this.g=$.E(a)?a:$.ia};
$.g.R=function(){var a=this.Wd(),b=this.la();a.px.splice(b,1);var c;for(c=b;c<a.px.length;c++)a.px[c].ZD(c);a.BF.splice(b,1);b=[];for(var d in this.f)b.push(this.f[d]);if(b.length){$.Qa(a.ww);d=[];var e=Number.POSITIVE_INFINITY;for(c=0;c<b.length;c++){var f=~b[c];e=Math.min(e,f);a.ww.push(f);for(var h in a.xz)if(a.xz[h]==b[c]){d.push(h);break}}$.Qa(a.ww);for(c=a.ww.length;c--&&a.ww[c]==a.AF-1;)a.AF--,a.ww.pop();for(c=0;c<d.length;c++)delete a.xz[d[c]];e--;a.lc.g=Math.min(a.lc.g,e);for(var k in a.Bu)a.Bu[k].g=
Math.min(a.Bu[k].g,e)}$.D(this.b)&&$.E(this.b.dispose)&&this.b.dispose();delete this.b;delete this.g;delete this.j;delete this.Zc;delete this.f;K0.u.R.call(this)};$.H(L0,d0);L0.prototype.set=function(a,b){return this.g(this.j.De(a),b)};L0.prototype.g=function(a,b){var c=!(0,window.isNaN)(a);c&&(this.hf.f[~a]=b);return c};var U3=K0.prototype;U3.addOutputField=U3.bd;U3.getFieldIndex=U3.De;U3.setContext=U3.Lf;U3.setStartFunction=U3.Mf;U3.setCalculationFunction=U3.Kf;U3.dispose=U3.cd;U3=L0.prototype;
U3.set=U3.set;U3.setColumn=U3.g;$.H(M0,$.Yq);M0.prototype.wK=function(){return new c0(this)};
M0.prototype.Hd=function(a,b,c,d){if($.ea(b))var e=Math.round($.N(b));else if($.z(b))e=this.Iy.xz[b]||window.NaN,(0,window.isNaN)(e)&&(e=b);else return this;if($.ea(e)&&0>e)this.yC[a]={z4:e,K3: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:kia($.n(c)?c:a);b=d;"weighted-average"==f&&($.ea(d)?b=Math.round(d):$.z(d)?(b=this.Iy.xz[d]||window.NaN,(0,window.isNaN)(b)&&(b=d)):b=window.NaN,$.ea(b)&&(0,window.isNaN)(b)&&
(f="average"));$.V(this.Iy);d=this.Iy;c=e;var h=b;b=Jia(f,c,h);b in d.eR?b=d.eR[b]:(c=Iia(f,c,h),d.eR[b]=b=d.ME.length,d.ME.push(c),Kia(d,4,!1));this.yC[a]={z4:e,K3:b};this.Iy.da(!0)}return this};M0.prototype.Wd=function(){return this.Iy};var V3=M0.prototype;V3.addField=V3.Hd;V3.createSelectable=V3.wK;$.H(N0,$.od);N0.prototype.clear=function(){this.value=void 0};N0.prototype.f=function(){var a=this.value;this.clear();return a};N0.prototype.R=function(){delete this.value;N0.u.R.call(this)};$.H(O0,N0);O0.prototype.clear=function(){this.value=this.g=0};O0.prototype.b=function(a){a=$.N(a);(0,window.isNaN)(a)||(this.value+=a,this.g++)};O0.prototype.f=function(){var a=this.g?this.value/this.g:window.NaN;this.clear();return a};$.H(P0,N0);P0.prototype.clear=function(){this.g.reset()};P0.prototype.b=function(a,b,c){this.g.considerItem(a,c)};P0.prototype.f=function(){var a=this.g.getResult();this.clear();return a};P0.prototype.R=function(){delete this.g;P0.u.R.call(this)};$.H(Q0,N0);Q0.prototype.clear=function(){this.value=[];this.rows=[]};Q0.prototype.b=function(a,b,c){this.value.push(a);this.rows.push(c)};Q0.prototype.f=function(){var a=this.G.call(this.g,this.value,this.rows);this.clear();return a};Q0.prototype.R=function(){delete this.G;delete this.g;Q0.u.R.call(this)};$.H(R0,N0);R0.prototype.clear=function(){this.value=window.NaN};R0.prototype.b=function(a){(0,window.isNaN)(this.value)&&(this.value=$.N(a))};$.H(S0,N0);S0.prototype.b=function(a){$.n(this.value)||(this.value=a)};$.H(T0,N0);T0.prototype.clear=function(){this.value=window.NaN};T0.prototype.b=function(a){a=$.N(a);(0,window.isNaN)(a)||(this.value=a)};$.H(U0,N0);U0.prototype.b=function(a){$.n(a)&&(this.value=a)};$.H(V0,N0);V0.prototype.clear=function(){this.value=[]};V0.prototype.b=function(a){$.n(a)&&this.value.push(a)};$.H(W0,N0);W0.prototype.clear=function(){this.value=window.NaN};W0.prototype.b=function(a){a=$.N(a);(0,window.isNaN)(a)||this.value>=a||(this.value=a)};$.H(X0,N0);X0.prototype.clear=function(){this.value=window.NaN};X0.prototype.b=function(a){a=$.N(a);(0,window.isNaN)(a)||this.value<=a||(this.value=a)};$.H(Y0,N0);Y0.prototype.clear=function(){this.value=0};Y0.prototype.b=function(a){a=$.N(a);(0,window.isNaN)(a)||(this.value+=a)};$.H(Z0,N0);Z0.prototype.clear=function(){this.value=this.g=0};Z0.prototype.b=function(a,b){a=$.N(a);b=$.N(b)||0;(0,window.isNaN)(a)||(this.value+=a*b,this.g+=b)};Z0.prototype.f=function(){var a=this.g?this.value/this.g:window.NaN;this.clear();return a};$.H($0,$.Yq);$.g=$0.prototype;$.g.qa=16;$.g.SW=function(){this.lc.SW()};$.g.zF=function(){this.lc.zF()};$.g.Fr=function(a,b,c){this.lc.Fr(a,b,c);return this};$.g.remove=function(a,b){this.lc.remove($.Rk(a),$.Rk(b));return this};$.g.HN=function(a){this.lc.HN(a);return this};$.g.ie=function(a){a=new M0(this,a);$.sd(this,a);return a};$.g.Dc=function(a){if($.K(a,M0)){if(a.Wd()!=this)return $.cl(200),null}else a=this.ie(a);a=new K0(a,this.px.length);this.px.push(a);this.BF.push(-1);return a};
$.g.R=function(){$.V(this);delete this.lc;$.td(this.ME,this.px);this.ME.length=0;this.Bu={};this.px.length=0;this.da(!1);$0.u.R.call(this)};var W3=$0.prototype;$.F("anychart.data.table",function(a,b,c,d,e){return new $0(a,b,c,d,e)});W3.addData=W3.Fr;W3.remove=W3.remove;W3.removeFirst=W3.HN;W3.mapAs=W3.ie;W3.createComputer=W3.Dc;$.H(a1,$.nx);$.g=a1.prototype;$.g.Zr=function(){var a=this.cl();return $.K(a,z2)?this.ea.width/(a.cw-a.ws):this.Aa.GL()/(a.WS()-a.XS())*this.ea.width};$.g.Rd=function(){return null};$.g.K0=function(){};$.g.NL=function(){var a=f0(this.oa);a&&this.aa().ku(a.hf);return a};$.g.ML=function(){var a=g0(this.oa);a&&this.aa().ku(a.hf);return a};$.g.tG=function(){return this.Aa};$.g.jK=function(){return!1};
$.g.data=function(a,b,c){if($.n(a)){var d=this.tG();$.V(d);if(this.oa){var e=this.oa;this.oa=null;oma(d,e)}this.D&&($.qd(this.D),this.D=null);this.U=a;$.K(a,$0)||$.K(a,M0)||(e=new $0,a&&e.Fr(a,!1,c),this.D=a=e);$.K(a,$0)&&(a=a.ie(b),b||(a.Hd("value",1,"average"),a.Hd("size",2,"sum"),a.Hd("open",1,"first"),a.Hd("high",2,"max"),a.Hd("low",3,"min"),a.Hd("close",4,"last"),a.Hd("volume",5,"sum")),this.D||(this.D=a));$.K(a,M0)?(this.oa=a.wK(),this.A3()):this.U=null;d.da(!0);return this}return this.U};
$.g.A3=function(){o0(this.tG().b,this.oa,!0)};$.g.Qf=function(){return this.oa.aa()};$.g.f_=function(){return!0};
$.g.Ae=function(a,b,c){var d=$.VA(this),e=b?this.Qf():this.aa(),f=e.la();d.Ag(e).mj([this.Rd(f),this]);var h;a=a||this.i("color")||"blue";var k=e.Oh();b=e.get("value");var l=$.n(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.Aa,type:""},plot:{value:this.Ze,type:""},series:{value:this,type:""},name:{value:l,type:"string"},isIntersection:{value:!!e.o("isIntersection"),
type:"string"}};c=$.n(c)&&c;(f=this.sd())&&!c&&($.n(b)&&(h=f.yq(b)),e.scaledColor={value:h,type:""},e.colorScale={value:f,type:""});e.sourceColor={value:h||a,type:""};return $.av(d,e)};
$.g.Fi=function(a){var b=$.VA(this);a=a?this.Qf():this.aa();var c=a.la();b.Ag(a).mj([this.Rd(c),this]);var d=this.ph(),e=a.Oh(),f=a.get("value"),h=$.n(a.get("name"))?a.get("name"):e;return $.av(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.Ze,type:""},chart:{value:this.Aa,type:""},series:{value:this,type:""},name:{value:h,type:"string"}})};
$.g.cW=function(){if(!this.oa)return null;for(var a=this.ue(),b=[],c=0;c<a.length;c++){var d=k0(this.oa,a[c]);if(!$.z(d)&&(0,window.isNaN)(d))return $.el(201,void 0,[this.Sj(),a[c]]),null;b.push(d)}return b};
$.g.AG=function(a){var b=this.cW(),c=[];if(b){var d=this.bb(),e,f=b.length;for(e=0;e<f;e++){var h=b[e],k=this.oa;k=$.ea(h)&&0>h?a?k.b.p5[~h]:k.b.fK[~h]:a?k.b.r5[h]:k.b.SM[h];c.push(d.iF($.n(k)?k:window.NaN,this.$B));k=this.oa;h=$.ea(h)&&0>h?a?k.b.o5[~h]:k.b.eK[~h]:a?k.b.q5[h]:k.b.QM[h];c.push(d.iF($.n(h)?h:window.NaN,this.$B))}}return c};
$.g.DD=function(){var a=k0(this.oa,"label"),b=k0(this.oa,"minLabel"),c=k0(this.oa,"maxLabel");return $.z(a)||!(0,window.isNaN)(a)||$.z(b)||!(0,window.isNaN)(b)||$.z(c)||!(0,window.isNaN)(c)};$.g.qN=function(){var a=k0(this.oa,"marker");return $.z(a)||!(0,window.isNaN)(a)};$.g.Tg=function(){return this.check(32)&&"none"!=this.bb().Um()};$.g.HD=function(a){return this.oa.search(a,"exact")};$.g.fo=function(a,b){this.f=this.HD(a);this.N=!0;b1(this,$.Zl);this.G=this.f?this.f:this.HD(b);b1(this,$.po)};
$.g.Nj=function(){return this.Ac};$.g.Ek=function(){this.Ac&$.po||(this.Ac=$.po,this.B(2176,1))};$.g.Pd=function(){this.Ac!=$.Zl&&(this.Ac=$.Zl,this.B(2176,1));return this};$.g.Wq=function(){return this.Nj()};$.g.xk=function(){this.qu||(this.qu=new $.rw);return $.eB(this,this.qu,this.N?this.f:this.O)};$.g.gC=function(a){this.St||(this.St=new $.rw);this.St=$.eB(this,this.St,this.N?this.f:this.O);if(a){for(var b=$.$u(this.St),c=0;c<a.length;c++)$.ra(b,a[c]);$.av(this.St)}return this.St};
$.g.Em=function(a,b){var c=this.Aa.tn(),d=a1.u.Em.call(this,a,b);d.defaultDecimalDigitsCount={value:this.ba,type:"number"};d.dataIntervalUnit={value:c.Xn().unit,type:"string"};d.dataIntervalUnitCount={value:c.Xn().count,type:"number"};d.isGrouped={value:c.gD(),type:""};return d};$.g.Q0=function(){return"date-time"};
$.g.rG=function(a,b,c,d){if(!a&&this.check($.wG)){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 $.Vl(a,b,!1)(this,$.Zl,!0)}return a1.u.rG.call(this,a,b,c,d)};
$.g.KC=function(a,b){return"rising-falling"==String(a).toLowerCase()&&this.check($.wG)?b.open<b.close?"triangle-up":"triangle-down":a1.u.KC.call(this,a,b)};
$.g.F0=function(a){if(this.check($.wG)){var b=(0,window.isNaN)(a.high)||(0,window.isNaN)(a.low)||(0,window.isNaN)(a.open)||(0,window.isNaN)(a.close);a=": (O: "+c1(this,a.open)+"; H: "+c1(this,a.high)+"; L: "+c1(this,a.low)+"; C: "+c1(this,a.close)+")"}else this.check($.Yl)?(b=(0,window.isNaN)(a.high)||(0,window.isNaN)(a.low),a=": (H: "+c1(this,a.high)+"; L: "+c1(this,a.low)+")"):(b=(0,window.isNaN)(a.value),a=": "+c1(this,a.value));return this.name()+(b?"":a)};
$.g.zY=function(a){var b=this.Na();b=Hma[b];if(null!==b)return $.n(a)?this:b;b=this.Aa.kda?this.Aa.Zs:!1;return $.n(a)?(a=!!a,$.n(this.Zs)||(this.Zs=b),this.Zs!=a&&(this.Zs=a,a=this.Aa.tv(this.Na())[1],this.mz(a,!1),this.B(5664,this.qa)),this):$.n(this.Zs)?this.Zs:b};$.g.mz=function(a,b){var c=$.Qc(a),d=!$.K(this,L2)&&this.zY();c.zb|=d&&1048576;c.Fb=d?2:1;a1.u.mz.call(this,c,b)};$.g.F=function(){return a1.u.F.call(this)};$.g.X=function(a,b){a1.u.X.call(this,a,b)};
$.g.R=function(){if(this.oa){var a=this.oa;this.oa=null;oma(this.tG(),a)}this.O=this.f=null;a1.u.R.call(this)};var X3=a1.prototype;X3.data=X3.data;X3.allowPointSettings=X3.zY;d1.prototype.getData=function(){return(0,$.Wa)(this.oa||[],function(a){return a.data})};
d1.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.oa.length}else f=~$.Na(this.oa,{key:b,index:-1},e1),h=~$.Na(this.oa,{key:c,index:-window.Infinity},e1);var k;if(this.b&&this.b.LI==d&&this.b.fda==f&&this.b.Kia==h&&this.b.kha==a.Gb()){var l=this.b.data;var m=this.b.efa;var p=this.b.Ei||0;var q=this.b.count||0}else{l=[];m=[];q=0;if(d){p=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.oa[c]).key<
a.f;)u.push(v),c++;if(u.length)if((0,window.isNaN)(r)&&!e)u.length=0;else{l.length||(p=c-u.length);for(k=0;k<u.length;k++)m.push(l.length);l.push({key:r,index:t,items:u,aG: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||(p=c-u.length);for(k=0;k<u.length;k++)m.push(l.length);l.push({key:r,index:t,items:u,aG:c-u.length});q+=u.length}}a=a.Gb()}else{p=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 B=(e[r]-e[t])/2;for(c=0;c<this.oa.length;c++){y=this.oa[c].key<=x&&this.oa[c].key>=b;var G=t==w&&this.oa[c].key<v+B;var C=e[r]+(e[r+1]-e[r])/2;var I=e[r]-(e[r]-e[r-1])/2;C=(0,window.isNaN)(C)?x:C;I=this.oa[c].key<=C&&this.oa[c].key>=I;y&&(G||I)&&(l.push({key:this.oa[c].key,index:I?r:t,items:[this.oa[c]],aG:u}),m.push(u),u++,q++)}v=k;t=r}if(v==
k&&t==w||(0,window.isNaN)(k))for(c=0;c<this.oa.length;c++)if(y=this.oa[c].key<=x&&this.oa[c].key>=b)l.push({key:this.oa[c].key,index:r?r:u,items:[this.oa[c]],aG:u}),m.push(u),u++,q++;a=q}this.b={fda:f,Kia:h,data:l,efa:m,Ei:p,count:q,kha:a,LI:d}}return new Nia(l,m,p,q)};d1.prototype.f=function(a,b,c){var d=$.cs(b instanceof Date||!$.D(b)?b:b.date,this.j,(0,window.isNaN)(this.g)?null:new Date(this.g),this.D);d&&a.push({index:c,key:+d,data:b,o:{}});return a};$.g=Nia.prototype;
$.g.select=function(a){var b;if(b=this.G<=a&&a<this.G+this.N){this.j=a;this.b=this.O[a-this.G];var c=this.oa[this.b];this.D=c.items.length;this.g=a-c.aG}else this.D=0,this.b=this.oa.length,this.g=0,this.j=window.NaN;return b};$.g.ku=function(a){this.select(a)};$.g.current=function(){return this.oa[this.b].items[this.g].data};$.g.reset=function(){this.j=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.oa.length?this.oa[this.b].items.length:0);this.j++;return this.g<this.D};$.g.Gb=function(){return this.N};$.g.la=function(){return this.b<this.oa.length?this.j:window.NaN};$.g.Oh=function(){return this.b<this.oa.length?this.oa[this.b].key:window.NaN};$.g.get=function(a){var b=this.oa[this.b].items[this.g].data;return $.D(b)?b[a]:void 0};$.g.Rq=function(){};
$.g.o=function(a,b){var c=this.oa[this.b].items[this.g].o;return $.n(b)?(c[a]=b,this):c[a]};$.H(k1,$.Y);var Y3={};$.hq(Y3,[$.Z.LX,$.Z.w6,$.Z.O7,$.Z.C6,$.Z.v8]);$.U(k1,Y3);var j1=[["direction",64,1],["position",64,1],["seriesId",64,1],["fieldName",64,1],["stickToLeft",64,1]],Z3=$.jq();Z3.push.apply(Z3,[$.Z.x6,$.Z.nJ,$.Z.lJ,$.Z.Q6,$.Z.tB,$.Z.DE,$.Z.L6]);var h1=Z3,Ima={};$.hq(Ima,h1);var $3=["connector"],Jma;for(Jma in Ima)$3.push(Jma);$.xq(k1,$3,"normal");var a4={};
$.T(a4,[["type",64,1],["width",64,1],["height",64,1],["fill",64,1],["stroke",64,1],["format",64,1],["fontPadding",64,1],["connector",64,1]]);$.vq(a4,64,64,1,1);var g1=a4,b4={};$.T(b4,[["type",0,0],["width",0,0],["height",0,0],["fill",0,0],["stroke",0,0],["format",0,0],["fontPadding",0,0],["connector",0,0]]);$.vq(b4,0,0,0,0);var i1=b4;$.g=k1.prototype;$.g.sa=$.Y.prototype.sa|80;$.g.qa=$.Y.prototype.qa|1;$.g.dC=function(){this.B(80,1)};
$.g.vG=function(a){var b=this.Ze.bj();return a?1==a?b.mb():b.selected():b.Sa()};$.g.data=function(a){if($.n(a)){if($.D(a)&&!$.A(a)){var b=a.dateTimePattern;var c=a.baseDate;var d=a.locale;a=a.data}$.A(a)||(a=[]);var e=this.KF;e.j=b;e.g=$.ma(c)?c.getTime():$.N(c);e.D=d||null;e.b=null;e.oa=(0,$.Fg)(a,e.f,[]);e.oa.sort(e1);this.B(64,1);return this}return this.KF.getData()};$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};
$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};
$.g.$=function(){if(!this.Bc())return this;$.V(this);$.V(this.Da);this.J(4)&&(this.ea=this.ja(),this.lx=this.Ng?this.Ng.nj(this.ea):this.ea,this.B(64),this.I(4));this.J(16)&&(this.AA.length=0,this.B(64),this.I(16));this.J(64)&&(this.Nd=null,this.Vl.Wu(),this.Da.clear());if(this.J(2)){var a=this.P();$.FA(this.Vl,a);this.I(2)}if(this.J(64)){var b={};a=this.Ze.bj();var c=this.aa();for(c.reset();c.advance();){if(!c.g){b=f1(c);var d=a.g[b];d||(d=a.g[b]={});b=d}d=Ria(this,b);b[d[0]]=d[1]}this.I(72)}this.J(8)&&
this.I(8);this.ca.Zg().I(4294967295);this.Da.da(!1);this.da(!1);return this};$.g.remove=function(){this.Vl.Wu();this.B(64)};
$.g.ce=function(a,b,c,d,e,f,h,k,l,m){b=this.Qg(a,b,!1,!1);var p=a.la();a.o("symbol",l1(b,"format",$.oq).charAt(0));a=new $.rw(this.Em(a),a);$.av(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.Da.Vd(p),c.lf(a),c.uc(e)):c=this.Da.add(a,e,p);c.zIndex(l);l=l1(b,"fontPadding",$.Qq);h=e.height||h;f=$.Ga({positionFormatter:$.Xo,anchor:"center",rotation:0,width:f-2*$.M(l,f/2),height:h-2*$.M(l,h/2)},b);$.Qu(c,f);c.P(this.P());
c.$();return c};
$.g.Ig=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.Vq(c)}};$.g.Rg=function(){return!0};$.g.Qs=function(){return!0};$.g.Ae=function(a){a=a||this.i("fill")||"#ccc";var b=this.aa();return{index:b.la(),sourceColor:a,iterator:b,group:this,chart:this.Ze.mc(),plot:this.Ze}};$.g.ph=function(){return null};$.g.aa=function(){this.Nd||(this.Nd=this.Qf());return this.Nd};
$.g.Qf=function(a){var b=l1(this.Qg(null,0,!0,!1),"stickToLeft",$.uq),c=this.Ze.mc();a=[l0(c.b,!1,!1,!0),a?window.NaN:c.b.b.yh,a?window.NaN:c.b.b.Di];a.push(b);return this.KF.aa.apply(this.KF,a)};$.g.Fi=function(){return null};
$.g.Qg=function(a,b,c,d,e){c?c=a=null:(c=a.get("normal"),$.n(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,$.qo);e=2*b+d;d&&($.D(c)&&(c=c.connector),$.D(a)&&(a=a.connector));var f=this.AA[e];if(f)b?(f[0]=a,f[6]=c):f[0]=c;else{var h=this.Ze.bj();f=n1(h,$.Zl,!0,d);var k=n1(h,$.Zl,!1,d),l=d?this.ca.Zg():this.ca;if(b){var m=n1(h,b,!0,d);h=n1(h,b,!1,d);b=b==$.po?this.xa:this.Ca;b=d?b.Zg():b;f=$.Ga([a],b.Ma,h,[c],l.Ma,d?null:this.Ma,
k,b.ma,m,l.ma,d?null:this.ma,f)}else f=$.Ga([c],l.Ma,d?null:this.Ma,k,l.ma,d?null:this.ma,f);this.AA[e]=f}return f};$.g.zc=function(a,b,c,d,e,f,h){b=this.Qg(c,b,!!h,e,a);return l1(b,a,d)};
$.g.aY=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.ze(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.MS=function(a){var b,c=this.aa();c.select(a)?b=this.Em(c):c=null;a=new $.rw(b,c);$.av(a);return a};
$.g.Em=function(a){var b=this.Ze.mc().tn().Xn();return{date:{value:a.b<a.oa.length?a.oa[a.b].items[a.g].key:window.NaN,type:"date-time"},groupedDate:{value:a.Oh(),type:"date-time"},group:{value:this,type:""},index:{value:a.la(),type:"number"},plot:{value:this.Ze,type:""},chart:{value:this.Ze.mc(),type:""},title:{value:a.get("title")||"",type:"string"},description:{value:a.get("description")||"",type:"string"},symbol:{value:a.o("symbol"),type:"string"},dataIntervalUnit:{value:b.unit,type:"string"},
dataIntervalUnitCount:{value:b.count,type:"number"}}};$.g.Vq=function(a){var b=this.Qf(!0);b.select(a)?(a=new $.rw(this.Em(b),b),$.av(a)):a=null;return a};$.g.Xa=function(a){this.gb||(this.gb=new $.iw(0),this.gb.Ye().parent(this.Ze.bj().Xa()),this.gb.zi().position("leftTop"),$.mw(this.gb,this.Ze));return $.n(a)?(this.gb.K(a),this):this.gb};
$.g.F=function(){var a=k1.u.F.call(this);$.Hq(this,Y3,a);a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();a.tooltip=this.Xa().F();a.data=this.KF.getData();return a};$.g.Ce=function(a,b){return $.A(b)?(this.data(b),!0):!1};$.g.X=function(a,b){k1.u.X.call(this,a,b);$.n(a.data)&&this.data(a.data);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected);this.Xa().ia(!!b,a.tooltip);$.zq(this,Y3,a)};
$.g.R=function(){$.td(this.Vl,this.ca,this.xa,this.Ca,this.gb,this.Da);this.ca=this.xa=this.Ca=this.Vl=this.Ze=this.gb=this.Da=null;k1.u.R.call(this)};var c4=k1.prototype;c4.data=c4.data;c4.tooltip=c4.Xa;c4.getMarker=c4.Vq;c4.normal=c4.Sa;c4.hovered=c4.mb;c4.selected=c4.selected;$.H(m1,$.Y);$.U(m1,Y3);$.xq(m1,$3,"normal");$.g=m1.prototype;$.g.sa=$.Y.prototype.sa|64;$.g.dC=function(){this.B(64,1)};$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};
$.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 k1(this.f,c),e.ib(this),e.Mh=10+.01*this.b.length,this.b[c]=e,$.L(e,this.S2,this),this.B(64,1));$.n(d)&&e.K(d);return e};$.g.data=function(a){var b=this.group().data(a);return $.n(a)?this:b};
$.g.$=function(){if(!this.Bc())return this;this.Wa||(this.Wa=$.lk(),$.du(this,this.Wa));var a=this.P();if(this.J(4)){this.ea=this.ja();var b=a.Ha();b=b?b.width():this.ea.width;this.Wa.clip(new $.J(0,this.ea.top,b,this.ea.height));this.B(64);this.I(4)}if(this.J(64)){this.AA.length=0;this.g={};Sia(this);for(b=0;b<this.b.length;b++){var c=this.b[b];$.V(c);c.ja(this.ea);c.P(this.Wa);c.B(64);c.$();c.da(!1)}this.ca.Zg().I(4294967295);this.I(64)}this.J(2)&&(this.Wa.parent(a),this.I(2));this.J(8)&&(this.Wa.zIndex(this.zIndex()),
this.I(8));return this};$.g.S2=function(){this.B(64,1)};$.g.rC=function(a,b,c,d,e){var f=e?e.clear():this.Bn.length?this.Bn.pop():$.nk();$.D(d)&&"keys"in d&&!$.D(d.mode)&&(d=$.Kl(d),d.mode=this.ea);f.stroke(d);f.fill(null);f.zIndex(0);e||(this.Wa.fc(f),this.j.push(f));f.moveTo(a,b).lineTo(a,c);return f};$.g.sh=function(a){var b,c=$.mo(a.domTarget);$.K(a.target,$.Du)?(c=a.target.Gi(),$.K(c,k1)&&(b=c)):$.D(c)&&!$.K(c,m1)&&(b=c.group,a.eventMarkerIndex=c.index);b&&!b.fd&&b.enabled()&&(a=b.Ig(a))&&b.dispatchEvent(a)};
$.g.Xa=function(a){this.gb||(this.gb=new $.iw(0),this.gb.Ye().parent(this.f.mc().bj().Xa()));return $.n(a)?(this.gb.K(a),this):this.gb};$.g.F=function(){var a=m1.u.F.call(this);$.Hq(this,Y3,a);a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();a.tooltip=this.Xa().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.X=function(a,b){m1.u.X.call(this,a,b);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected);this.Xa().ia(!!b,a.tooltip);$.zq(this,Y3,a);var c,d;if($.n(c=a.groups)){if($.td(this.b),this.b.length=0,Sia(this),$.A(c))for(d=0;d<c.length;d++){var e=c[d];null!=e&&this.group(d,e)}}else $.n(d=a.data)&&this.data(d)};$.g.R=function(){$.td(this.b,this.Wa,this.ca,this.xa,this.Ca,this.gb);delete this.b;this.ca=this.xa=this.Ca=this.Wa=this.f=this.gb=null;m1.u.R.call(this)};
var d4=m1.prototype;d4.group=d4.group;d4.data=d4.data;d4.tooltip=d4.Xa;d4.normal=d4.Sa;d4.hovered=d4.mb;d4.selected=d4.selected;$.H(p1,$.od);p1.prototype.In=function(a,b){a.Hd("value",b.De("result"))};p1.prototype.R=function(){for(var a in this.Oa){var b=this.Oa[a];b.W&&this.D.mo(b.W.id());$.qd(b.W);b.qD=!1;$.qd(b.mapping);b.mapping=null}delete this.Oa;$.qd(this.f);this.f=null;delete this.D;delete this.Zc;p1.u.R.call(this)};var Kma=p1.prototype;Kma.dispose=Kma.cd;$.g=u1.prototype;$.g.enqueue=function(a){var b=void 0;if(this.lc.length<this.g)this.lc.push(a),this.b++;else{var c=(this.f+this.b)%this.g;this.b<this.g?this.b++:(b=this.lc[c],this.f=(this.f+1)%this.lc.length);this.lc[c]=a}return b};$.g.eca=function(){if(this.b){var a=this.lc[this.f];this.f=(this.f+1)%this.lc.length;this.b--}return a};$.g.get=function(a){a=($.$a(+a,this.b)+this.f)%this.lc.length;return(0,window.isNaN)(a)?void 0:this.lc[a]};$.g.Dg=function(){return this.b};
$.g.clear=function(a){this.f=this.b=this.lc.length=0;this.g=$.O(a,this.g,!1)};var e4=u1.prototype;$.F("anychart.math.cycledQueue",v1);$.F("anychart.calculations.cycledQueue",v1);e4.enqueue=e4.enqueue;e4.dequeue=e4.eca;e4.get=e4.get;e4.getLength=e4.Dg;e4.clear=e4.clear;$.F("anychart.math.adl.initContext",w1);$.F("anychart.math.adl.startFunction",x1);$.F("anychart.math.adl.calculate",y1);$.F("anychart.math.adl.calculationFunction",Tia);$.F("anychart.math.adl.createComputer",Uia);$.H(z1,p1);z1.prototype.Dc=function(a){return Uia(a)};z1.prototype.Of=function(){return"ADL"};z1.prototype.W=function(a){return s1(this,"main",a)};var Lma=z1.prototype;Lma.series=Lma.W;$.F("anychart.math.ama.initContext",Via);$.F("anychart.math.ama.startFunction",Wia);$.F("anychart.math.ama.calculationFunction",Xia);$.F("anychart.math.ama.createComputer",Yia);$.H(A1,p1);$.g=A1.prototype;$.g.Dc=function(a){return Yia(a,this.g,this.b,this.j)};$.g.Of=function(){return"AMA("+this.g+","+this.b+","+this.j+")"};$.g.W=function(a){return s1(this,"main",a)};$.g.vb=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.nv=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.Gw=function(a){return $.n(a)?(a=$.O(a,this.j,!1),a!=this.j&&(this.j=a,t1(this)),this):this.j};var f4=A1.prototype;
f4.series=f4.W;f4.period=f4.vb;f4.fastPeriod=f4.nv;f4.slowPeriod=f4.Gw;$.F("anychart.math.ema.initContext",B1);$.F("anychart.math.ema.startFunction",C1);$.F("anychart.math.ema.calculate",D1);$.F("anychart.math.ema.calculationFunction",Zia);$.F("anychart.math.ema.createComputer",$ia);$.F("anychart.math.sma.initContext",E1);$.F("anychart.math.sma.startFunction",F1);$.F("anychart.math.sma.calculate",G1);$.F("anychart.math.sma.calculationFunction",aja);$.F("anychart.math.sma.createComputer",bja);$.F("anychart.math.ao.initContext",cja);$.F("anychart.math.ao.startFunction",dja);$.F("anychart.math.ao.calculate",eja);$.F("anychart.math.ao.calculationFunction",fja);$.F("anychart.math.ao.createComputer",gja);$.H(H1,p1);$.g=H1.prototype;$.g.Dc=function(a){return gja(a,this.b,this.g,this.j)};$.g.Of=function(){return"AO("+this.b+", "+this.g+")"};$.g.W=function(a){return s1(this,"main",a)};$.g.nv=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.Gw=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.Hk=function(a){return $.n(a)?(a=L_(a,this.j),a!=this.j&&(this.j=a,t1(this)),this):this.j};var g4=H1.prototype;
g4.series=g4.W;g4.fastPeriod=g4.nv;g4.slowPeriod=g4.Gw;g4.maType=g4.Hk;$.F("anychart.math.atr.initContext",I1);$.F("anychart.math.atr.startFunction",J1);$.F("anychart.math.atr.calculate",K1);$.F("anychart.math.atr.calculationFunction",hja);$.F("anychart.math.atr.createComputer",ija);$.H(L1,p1);L1.prototype.Dc=function(a){return ija(a,this.b)};L1.prototype.Of=function(){return"ATR("+this.b+")"};L1.prototype.W=function(a){return s1(this,"main",a)};L1.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var h4=L1.prototype;h4.series=h4.W;h4.period=h4.vb;$.F("anychart.math.aroon.initContext",jja);$.F("anychart.math.aroon.startFunction",kja);$.F("anychart.math.aroon.calculationFunction",lja);$.F("anychart.math.aroon.createComputer",mja);$.H(M1,p1);$.g=M1.prototype;$.g.Dc=function(a){return mja(a,this.b)};$.g.Of=function(a){switch(a){case "upAroon":return"Aroon up";case "downAroon":return"Aroon down";case "range":return"Aroon"}return""};$.g.In=function(a,b,c){switch(c){case "upAroon":a.Hd("value",b.De("upResult"));break;case "downAroon":a.Hd("value",b.De("downResult"));break;case "range":a.Hd("high",b.De("upResult")),a.Hd("low",b.De("downResult"))}};
$.g.Tia=function(a){null===s1(this,"upAroon")&&(q1(this,"upAroon",this.j),r1(this));return s1(this,"upAroon",a)};$.g.kca=function(a){null===s1(this,"downAroon")&&(q1(this,"downAroon",this.g),r1(this));return s1(this,"downAroon",a)};$.g.tQ=function(a){return s1(this,"range",a)};$.g.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var i4=M1.prototype;i4.period=i4.vb;i4.upSeries=i4.Tia;i4.downSeries=i4.kca;i4.rangeSeries=i4.tQ;$.F("anychart.math.bbands.initContext",N1);$.F("anychart.math.bbands.startFunction",O1);$.F("anychart.math.bbands.calculate",P1);$.F("anychart.math.bbands.calculationFunction",nja);$.F("anychart.math.bbands.createComputer",oja);$.H(Q1,p1);$.g=Q1.prototype;$.g.Dc=function(a){return oja(a,this.g,this.b)};$.g.Of=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.In=function(a,b,c){switch(c){case "upper":a.Hd("value",b.De("upperResult"));break;case "lower":a.Hd("value",b.De("lowerResult"));break;case "middle":a.Hd("value",b.De("middleResult"));break;case "range":a.Hd("high",b.De("upperResult")),a.Hd("low",b.De("lowerResult"))}};
$.g.haa=function(a){return s1(this,"upper",a)};$.g.eaa=function(a){return s1(this,"lower",a)};$.g.faa=function(a){return s1(this,"middle",a)};$.g.gaa=function(a){return s1(this,"range",a)};$.g.vb=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.Un=function(a){return $.n(a)?(a=$.O(a,this.b,!1),this.b!=a&&(this.b=a,t1(this)),this):this.b};var j4=Q1.prototype;j4.period=j4.vb;j4.deviation=j4.Un;j4.upperSeries=j4.haa;j4.lowerSeries=j4.eaa;j4.middleSeries=j4.faa;
j4.rangeSeries=j4.gaa;$.F("anychart.math.bbandsB.initContext",pja);$.F("anychart.math.bbandsB.startFunction",qja);$.F("anychart.math.bbandsB.calculationFunction",rja);$.F("anychart.math.bbandsB.createComputer",sja);$.H(R1,p1);$.g=R1.prototype;$.g.Dc=function(a){return sja(a,this.g,this.b)};$.g.Of=function(){return"BBands %B("+this.g+","+this.b+")"};$.g.W=function(a){return s1(this,"main",a)};$.g.vb=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.Un=function(a){return $.n(a)?(a=$.O(a,this.b,!1),this.b!=a&&(this.b=a,t1(this)),this):this.b};var k4=R1.prototype;k4.period=k4.vb;k4.deviation=k4.Un;k4.series=k4.W;$.F("anychart.math.bbandsWidth.initContext",function(a,b){return N1(a,b)});$.F("anychart.math.bbandsWidth.startFunction",tja);$.F("anychart.math.bbandsWidth.calculate",uja);$.F("anychart.math.bbandsWidth.calculationFunction",vja);$.F("anychart.math.bbandsWidth.createComputer",wja);$.H(S1,p1);$.g=S1.prototype;$.g.Dc=function(a){return wja(a,this.g,this.b)};$.g.Of=function(){return"BBands Width("+this.g+","+this.b+")"};$.g.W=function(a){return s1(this,"main",a)};$.g.vb=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.Un=function(a){return $.n(a)?(a=$.O(a,this.b,!1),this.b!=a&&(this.b=a,t1(this)),this):this.b};var l4=S1.prototype;l4.period=l4.vb;l4.deviation=l4.Un;l4.series=l4.W;$.F("anychart.math.cci.initContext",xja);$.F("anychart.math.cci.startFunction",yja);$.F("anychart.math.cci.calculate",zja);$.F("anychart.math.cci.calculationFunction",Aja);$.F("anychart.math.cci.createComputer",Bja);$.H(T1,p1);T1.prototype.Dc=function(a){return Bja(a,this.b)};T1.prototype.Of=function(){return"CCI("+this.b+")"};T1.prototype.W=function(a){return s1(this,"main",a)};T1.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var m4=T1.prototype;m4.series=m4.W;m4.period=m4.vb;$.F("anychart.math.cho.initContext",Cja);$.F("anychart.math.cho.startFunction",Dja);$.F("anychart.math.cho.calculate",Eja);$.F("anychart.math.cho.calculationFunction",Fja);$.F("anychart.math.cho.createComputer",Gja);$.H(U1,p1);$.g=U1.prototype;$.g.Dc=function(a){return Gja(a,this.b,this.g,this.j)};$.g.Of=function(){return"CHO("+this.b+","+this.g+")"};$.g.W=function(a){return s1(this,"main",a)};$.g.nv=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.Gw=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.Hk=function(a){return $.n(a)?(a=L_(a,this.j),a!=this.j&&(this.j=a,t1(this)),this):this.j};var n4=U1.prototype;
n4.series=n4.W;n4.fastPeriod=n4.nv;n4.slowPeriod=n4.Gw;n4.maType=n4.Hk;$.F("anychart.math.cmf.initContext",Hja);$.F("anychart.math.cmf.startFunction",Ija);$.F("anychart.math.cmf.calculate",Jja);$.F("anychart.math.cmf.calculationFunction",Kja);$.F("anychart.math.cmf.createComputer",Lja);$.H(V1,p1);V1.prototype.Dc=function(a){return Lja(a,this.b)};V1.prototype.Of=function(){return"CMF("+this.b+")"};V1.prototype.W=function(a){return s1(this,"main",a)};V1.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var o4=V1.prototype;o4.series=o4.W;o4.period=o4.vb;$.F("anychart.math.dmi.initContext",Mja);$.F("anychart.math.dmi.startFunction",Nja);$.F("anychart.math.dmi.calculate",Pja);$.F("anychart.math.dmi.calculationFunction",Qja);$.F("anychart.math.dmi.createComputer",Rja);$.H(W1,p1);$.g=W1.prototype;$.g.Dc=function(a){return Rja(a,this.b,this.g,this.j)};$.g.Of=function(a){switch(a){case "pdi":return"+DI("+this.b+")";case "ndi":return"-DI("+this.b+")";case "adx":return"ADX("+this.g+")"}return""};$.g.In=function(a,b,c){switch(c){case "pdi":a.Hd("value",b.De("pdiResult"));break;case "ndi":a.Hd("value",b.De("ndiResult"));break;case "adx":a.Hd("value",b.De("adxResult"))}};$.g.aha=function(a){return s1(this,"pdi",a)};$.g.Qfa=function(a){return s1(this,"ndi",a)};
$.g.f9=function(a){return s1(this,"adx",a)};$.g.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.BB=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.RO=function(a){return $.n(a)?(a=!!a,a!=this.j&&(this.j=a,t1(this)),this):this.j};var p4=W1.prototype;p4.pdiSeries=p4.aha;p4.ndiSeries=p4.Qfa;p4.adxSeries=p4.f9;p4.period=p4.vb;p4.adxPeriod=p4.BB;p4.useWildersSmoothing=p4.RO;$.H(X1,p1);X1.prototype.Dc=function(a){return $ia(a,this.b)};X1.prototype.Of=function(){return"EMA("+this.b+")"};X1.prototype.W=function(a){return s1(this,"main",a)};X1.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var q4=X1.prototype;q4.series=q4.W;q4.period=q4.vb;$.F("anychart.math.env.initContext",Sja);$.F("anychart.math.env.startFunction",Tja);$.F("anychart.math.env.calculate",Uja);$.F("anychart.math.env.calculationFunction",Vja);$.F("anychart.math.env.createComputer",Wja);$.H(Y1,p1);$.g=Y1.prototype;$.g.Dc=function(a){return Wja(a,this.g,this.j,this.b)};$.g.Of=function(a){switch(a){case "upper":return"ENV upper";case "lower":return"ENV lower"}return""};$.g.In=function(a,b,c){switch(c){case "upper":a.Hd("value",b.De("upperResult"));break;case "lower":a.Hd("value",b.De("lowerResult"))}};$.g.jaa=function(a){return s1(this,"upper",a)};$.g.iaa=function(a){return s1(this,"lower",a)};
$.g.vb=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.Hk=function(a){return $.n(a)?(a=L_(a,this.b),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.Un=function(a){return $.n(a)?(a=$.N(a),(0,window.isNaN)(a)||a==this.j||(this.j=a,t1(this)),this):this.j};var r4=Y1.prototype;r4.upperSeries=r4.jaa;r4.lowerSeries=r4.iaa;r4.period=r4.vb;r4.maType=r4.Hk;r4.deviation=r4.Un;$.F("anychart.math.ha.initContext",Xja);$.F("anychart.math.ha.startFunction",Yja);$.F("anychart.math.ha.calculate",Zja);$.F("anychart.math.ha.calculationFunction",$ja);$.F("anychart.math.ha.createComputer",aka);$.H(Z1,p1);Z1.prototype.Dc=function(a){return aka(a)};Z1.prototype.Of=function(){return"HA"};Z1.prototype.In=function(a,b){a.Hd("open",b.De("haOpen"));a.Hd("high",b.De("haHigh"));a.Hd("low",b.De("haLow"));a.Hd("close",b.De("haClose"))};Z1.prototype.W=function(a){return s1(this,"main",a)};var Mma=Z1.prototype;Mma.series=Mma.W;var fka;$.F("anychart.math.ikh.initContext",bka);$.F("anychart.math.ikh.startFunction",cka);$.F("anychart.math.ikh.calculate",dka);$.F("anychart.math.ikh.calculationFunction",eka);$.F("anychart.math.ikh.createComputer",gka);$.H($1,p1);$.g=$1.prototype;$.g.Dc=function(a){return gka(a,this.g,this.b,this.j)};$.g.Of=function(a){switch(a){case "conversion":return"Conversion Line("+this.g+")";case "base":return"Base Line("+this.b+")";case "leading":return"Leading Span("+this.j+")";case "lagging":return"Lagging Span("+this.b+")"}return""};
$.g.In=function(a,b,c){switch(c){case "conversion":a.Hd("value",b.De("conversionResult"));break;case "base":a.Hd("value",b.De("baseResult"));break;case "leading":a.Hd("high",b.De("spanAResult"));a.Hd("low",b.De("spanBResult"));break;case "lagging":a.Hd("value",b.De("laggingResult"))}};$.g.Tba=function(a){return s1(this,"conversion",a)};$.g.sba=function(a){return s1(this,"base",a)};$.g.e2=function(a){return s1(this,"leading",a)};$.g.Zea=function(a){return s1(this,"lagging",a)};
$.g.rK=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.oF=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.LM=function(a){return $.n(a)?(a=$.O(a,this.j,!1),a!=this.j&&(this.j=a,t1(this)),this):this.j};var s4=$1.prototype;s4.conversionSeries=s4.Tba;s4.baseSeries=s4.sba;s4.leadingSeries=s4.e2;s4.laggingSeries=s4.Zea;s4.conversionPeriod=s4.rK;s4.basePeriod=s4.oF;s4.leadingPeriod=s4.LM;$.F("anychart.math.stochastic.initContext",a2);$.F("anychart.math.stochastic.startFunction",b2);$.F("anychart.math.stochastic.calculate",c2);$.F("anychart.math.stochastic.calculationFunction",hka);$.F("anychart.math.stochastic.createComputer",ika);$.F("anychart.math.kdj.initContext",jka);$.F("anychart.math.kdj.startFunction",kka);$.F("anychart.math.kdj.calculate",lka);$.F("anychart.math.kdj.calculationFunction",mka);$.F("anychart.math.kdj.createComputer",nka);$.H(d2,p1);$.g=d2.prototype;$.g.Dc=function(a){return nka(a,this.j,this.b,this.g,this.N,this.G,this.U,this.O)};$.g.Of=function(a){switch(a){case "kSeries":return"%K("+this.j+(1!=this.b?", "+this.b:"")+")";case "dSeries":return"%D("+this.g+")";case "jSeries":return"%J"}return""};$.g.In=function(a,b,c){switch(c){case "kSeries":a.Hd("value",b.De("kResult"));break;case "dSeries":a.Hd("value",b.De("dResult"));break;case "jSeries":a.Hd("value",b.De("jResult"))}};
$.g.naa=function(a){return s1(this,"kSeries",a)};$.g.laa=function(a){return s1(this,"dSeries",a)};$.g.Vea=function(a){return s1(this,"jSeries",a)};$.g.kD=function(a){return $.n(a)?(a=$.O(a,this.j,!1),a!=this.j&&(this.j=a,t1(this)),this):this.j};$.g.qH=function(a){return $.n(a)?(a=L_(a,this.N),a!=this.N&&(this.N=a,t1(this)),this):this.N};$.g.maa=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};
$.g.IF=function(a){return $.n(a)?(a=L_(a,this.G),a!=this.G&&(this.G=a,t1(this)),this):this.G};$.g.kaa=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.vU=function(a){return $.n(a)?(a=$.N(a),(0,window.isNaN)(a)||a==this.U||(this.U=a,t1(this)),this):this.U};$.g.zR=function(a){return $.n(a)?(a=$.N(a),(0,window.isNaN)(a)||a==this.O||(this.O=a,t1(this)),this):this.O};var t4=d2.prototype;t4.kPeriod=t4.kD;t4.kMAType=t4.qH;t4.kMAPeriod=t4.maa;t4.dMAType=t4.IF;
t4.dPeriod=t4.kaa;t4.kMultiplier=t4.vU;t4.dMultiplier=t4.zR;t4.kSeries=t4.naa;t4.dSeries=t4.laa;t4.jSeries=t4.Vea;$.F("anychart.math.keltnerChannels.initContext",oka);$.F("anychart.math.keltnerChannels.startFunction",pka);$.F("anychart.math.keltnerChannels.calculate",qka);$.F("anychart.math.keltnerChannels.calculationFunction",rka);$.F("anychart.math.keltnerChannels.createComputer",ska);$.H(e2,p1);$.g=e2.prototype;$.g.Dc=function(a){return ska(a,this.b,this.j,this.g,this.G)};$.g.Of=function(a){switch(a){case "ma":return this.g.toUpperCase()+"("+this.b+")";case "range":return"KeltnerChannels"}return""};$.g.In=function(a,b,c){switch(c){case "ma":a.Hd("value",b.De("maResult"));break;case "range":a.Hd("high",b.De("upperResult")),a.Hd("low",b.De("lowerResult"))}};$.g.oaa=function(a){return s1(this,"ma",a)};$.g.hZ=function(a){return s1(this,"range",a)};
$.g.AH=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.Hk=function(a){return $.n(a)?(a=L_(a,this.g),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.XM=function(a){return $.n(a)?(a=$.O(a,this.G,!1),a!=this.G&&(this.G=a,t1(this)),this):this.G};$.g.EZ=function(a){return $.n(a)?(a=$.O(a,this.j,!1),a!=this.j&&(this.j=a,t1(this)),this):this.j};var u4=e2.prototype;u4.maPeriod=u4.AH;u4.maType=u4.Hk;u4.atrPeriod=u4.EZ;u4.multiplier=u4.XM;u4.rangeSeries=u4.hZ;
u4.maSeries=u4.oaa;$.F("anychart.math.macd.initContext",tka);$.F("anychart.math.macd.startFunction",uka);$.F("anychart.math.macd.calculate",vka);$.F("anychart.math.macd.calculationFunction",wka);$.F("anychart.math.macd.createComputer",xka);$.H(f2,p1);$.g=f2.prototype;$.g.Dc=function(a){return xka(a,this.b,this.j,this.g)};$.g.Of=function(a){switch(a){case "macd":return"MACD("+this.b+","+this.j+","+this.g+")";case "signal":return"Signal";case "histogram":return"Histogram"}return""};$.g.In=function(a,b,c){switch(c){case "macd":a.Hd("value",b.De("macdResult"));break;case "signal":a.Hd("value",b.De("signalResult"));break;case "histogram":a.Hd("value",b.De("histogramResult"))}};$.g.hfa=function(a){return s1(this,"macd",a)};
$.g.qaa=function(a){return s1(this,"signal",a)};$.g.paa=function(a){return s1(this,"histogram",a)};$.g.nv=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.Gw=function(a){return $.n(a)?(a=$.O(a,this.j,!1),a!=this.j&&(this.j=a,t1(this)),this):this.j};$.g.hO=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};var v4=f2.prototype;v4.macdSeries=v4.hfa;v4.signalSeries=v4.qaa;v4.histogramSeries=v4.paa;v4.fastPeriod=v4.nv;
v4.slowPeriod=v4.Gw;v4.signalPeriod=v4.hO;$.F("anychart.math.mfi.initContext",yka);$.F("anychart.math.mfi.startFunction",zka);$.F("anychart.math.mfi.calculate",Aka);$.F("anychart.math.mfi.calculationFunction",Bka);$.F("anychart.math.mfi.createComputer",Cka);$.H(g2,p1);g2.prototype.Dc=function(a){return Cka(a,this.b)};g2.prototype.Of=function(){return"MFI("+this.b+")"};g2.prototype.W=function(a){return s1(this,"series",a)};g2.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var w4=g2.prototype;w4.period=w4.vb;w4.series=w4.W;$.F("anychart.math.mma.initContext",Dka);$.F("anychart.math.mma.startFunction",Eka);$.F("anychart.math.mma.calculationFunction",Fka);$.F("anychart.math.mma.createComputer",Gka);$.H(h2,p1);h2.prototype.Dc=function(a){return Gka(a,this.b)};h2.prototype.Of=function(){return"MMA("+this.b+")"};h2.prototype.W=function(a){return s1(this,"main",a)};h2.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var x4=h2.prototype;x4.series=x4.W;x4.period=x4.vb;$.F("anychart.math.momentum.initContext",Hka);$.F("anychart.math.momentum.startFunction",Ika);$.F("anychart.math.momentum.calculate",Jka);$.F("anychart.math.momentum.calculationFunction",Kka);$.F("anychart.math.momentum.createComputer",Lka);$.H(i2,p1);i2.prototype.Dc=function(a){return Lka(a,this.b)};i2.prototype.Of=function(){return"Momentum("+this.b+")"};i2.prototype.W=function(a){return s1(this,"series",a)};i2.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var y4=i2.prototype;y4.period=y4.vb;y4.series=y4.W;$.F("anychart.math.obv.initContext",Mka);$.F("anychart.math.obv.startFunction",Nka);$.F("anychart.math.obv.calculate",Oka);$.F("anychart.math.obv.calculationFunction",Pka);$.F("anychart.math.obv.createComputer",Qka);$.H(j2,p1);j2.prototype.Dc=function(a){return Qka(a)};j2.prototype.Of=function(){return"OBV"};j2.prototype.W=function(a){return s1(this,"main",a)};var Nma=j2.prototype;Nma.series=Nma.W;$.F("anychart.math.ppo.initContext",Rka);$.F("anychart.math.ppo.startFunction",Ska);$.F("anychart.math.ppo.calculate",Tka);$.F("anychart.math.ppo.calculationFunction",Uka);$.F("anychart.math.ppo.createComputer",Vka);$.H(k2,p1);$.g=k2.prototype;$.g.Dc=function(a){return Vka(a,this.g,this.b,this.j)};$.g.Of=function(a){switch(a){case "ppoSeries":return"PPO("+this.g+","+this.b+","+this.j+")";case "signalSeries":return"Signal";case "histogramSeries":return"PPO Histogram"}return""};$.g.In=function(a,b,c){switch(c){case "ppoSeries":a.Hd("value",b.De("ppoResult"));break;case "signalSeries":a.Hd("value",b.De("signalResult"));break;case "histogramSeries":a.Hd("value",b.De("histogramResult"))}};
$.g.lha=function(a){return s1(this,"ppoSeries",a)};$.g.saa=function(a){return s1(this,"signalSeries",a)};$.g.raa=function(a){return s1(this,"histogramSeries",a)};$.g.v4=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.j2=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.x4=function(a){return $.n(a)?(a=$.O(a,this.j,!1),a!=this.j&&(this.j=a,t1(this)),this):this.j};var z4=k2.prototype;z4.ppoSeries=z4.lha;
z4.signalSeries=z4.saa;z4.histogramSeries=z4.raa;z4.shortPeriod=z4.v4;z4.longPeriod=z4.j2;z4.smoothingPeriod=z4.x4;$.F("anychart.math.psar.initContext",Wka);$.F("anychart.math.psar.startFunction",Xka);$.F("anychart.math.psar.calculate",cla);$.F("anychart.math.psar.calculationFunction",dla);$.F("anychart.math.psar.createComputer",ela);$.H(l2,p1);$.g=l2.prototype;$.g.Dc=function(a){return ela(a,this.j,this.g,this.b)};$.g.Of=function(){return"PSAR("+this.j+", "+this.g+", "+this.b+")"};$.g.W=function(a){return s1(this,"series",a)};$.g.T8=function(a){return $.n(a)?(a=$.N(a)||this.b,a!=this.j&&(this.j=a,t1(this)),this):this.j};$.g.S8=function(a){return $.n(a)?(a=$.N(a)||this.b,a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.R8=function(a){return $.n(a)?(a=$.N(a)||this.g,a!=this.g&&(this.g=a,t1(this)),this):this.g};var A4=l2.prototype;
A4.accelerationFactorStart=A4.T8;A4.accelerationFactorMaximum=A4.S8;A4.accelerationFactorIncrement=A4.R8;A4.series=A4.W;$.F("anychart.math.psy.initContext",fla);$.F("anychart.math.psy.startFunction",gla);$.F("anychart.math.psy.calculate",hla);$.F("anychart.math.psy.calculationFunction",ila);$.F("anychart.math.psy.createComputer",jla);$.H(m2,p1);m2.prototype.Dc=function(a){return jla(a,this.b)};m2.prototype.Of=function(){return"PSY("+this.b+")"};m2.prototype.W=function(a){return s1(this,"main",a)};m2.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var B4=m2.prototype;B4.series=B4.W;B4.period=B4.vb;$.F("anychart.math.priceChannels.initContext",kla);$.F("anychart.math.priceChannels.startFunction",lla);$.F("anychart.math.priceChannels.calculate",mla);$.F("anychart.math.priceChannels.calculationFunction",nla);$.F("anychart.math.priceChannels.createComputer",ola);$.H(n2,p1);$.g=n2.prototype;$.g.Dc=function(a){return ola(a,this.b)};$.g.Of=function(a){switch(a){case "range":return"PriceChannels";case "middle":return"PriceChannels M"}return""};$.g.In=function(a,b,c){switch(c){case "range":a.Hd("high",b.De("upperResult"));a.Hd("low",b.De("lowerResult"));break;case "middle":a.Hd("value",b.De("middleResult"))}};$.g.taa=function(a){return s1(this,"middle",a)};$.g.iZ=function(a){return s1(this,"range",a)};
$.g.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var C4=n2.prototype;C4.period=C4.vb;C4.middleSeries=C4.taa;C4.rangeSeries=C4.iZ;$.F("anychart.math.rat.initContext",pla);$.F("anychart.math.rat.startFunction",qla);$.F("anychart.math.rat.calculate",rla);$.F("anychart.math.rat.calculationFunction",sla);$.F("anychart.math.rat.createComputer",tla);$.H(o2,p1);o2.prototype.Dc=function(a){return tla(a,this.b)};o2.prototype.Of=function(){return"RAT"};o2.prototype.W=function(a){return s1(this,"main",a)};o2.prototype.MQ=function(a){if($.n(a)){var b=$.cs(a);b=b?b.getTime():0;b!=this.b&&(this.b=b,this.g=a,t1(this));return this}return this.b?this.g:0};var D4=o2.prototype;D4.series=D4.W;D4.baseDate=D4.MQ;$.F("anychart.math.rci.initContext",ula);$.F("anychart.math.rci.startFunction",vla);$.F("anychart.math.rci.calculate",wla);$.F("anychart.math.rci.calculationFunction",xla);$.F("anychart.math.rci.createComputer",yla);$.H(p2,p1);p2.prototype.Dc=function(a){return yla(a,this.b)};p2.prototype.Of=function(){return"RCI("+this.b+")"};p2.prototype.W=function(a){return s1(this,"main",a)};p2.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var E4=p2.prototype;E4.series=E4.W;E4.period=E4.vb;$.F("anychart.math.rsi.initContext",zla);$.F("anychart.math.rsi.startFunction",Ala);$.F("anychart.math.rsi.calculationFunction",Bla);$.F("anychart.math.rsi.createComputer",Cla);$.H(q2,p1);q2.prototype.Dc=function(a){return Cla(a,this.b)};q2.prototype.Of=function(){return"RSI("+this.b+")"};q2.prototype.W=function(a){return s1(this,"main",a)};q2.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var F4=q2.prototype;F4.series=F4.W;F4.period=F4.vb;$.F("anychart.math.roc.initContext",Dla);$.F("anychart.math.roc.startFunction",Ela);$.F("anychart.math.roc.calculationFunction",Fla);$.F("anychart.math.roc.createComputer",Gla);$.H(r2,p1);r2.prototype.Dc=function(a){return Gla(a,this.b)};r2.prototype.Of=function(){return"RoC("+this.b+")"};r2.prototype.W=function(a){return s1(this,"main",a)};r2.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var G4=r2.prototype;G4.series=G4.W;G4.period=G4.vb;$.H(s2,p1);s2.prototype.Dc=function(a){return bja(a,this.b)};s2.prototype.Of=function(){return"SMA("+this.b+")"};s2.prototype.W=function(a){return s1(this,"main",a)};s2.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var H4=s2.prototype;H4.series=H4.W;H4.period=H4.vb;$.H(t2,p1);$.g=t2.prototype;$.g.Dc=function(a){return ika(a,this.j,this.b,this.g,this.N,this.G)};$.g.Of=function(a){switch(a){case "kSeries":return"%K("+this.j+(1!=this.b?", "+this.b:"")+")";case "dSeries":return"%D("+this.g+")"}return""};$.g.In=function(a,b,c){switch(c){case "kSeries":a.Hd("value",b.De("kResult"));break;case "dSeries":a.Hd("value",b.De("dResult"))}};$.g.xaa=function(a){return s1(this,"kSeries",a)};$.g.vaa=function(a){return s1(this,"dSeries",a)};
$.g.kD=function(a){return $.n(a)?(a=$.O(a,this.j,!1),a!=this.j&&(this.j=a,t1(this)),this):this.j};$.g.qH=function(a){return $.n(a)?(a=L_(a,this.N),a!=this.N&&(this.N=a,t1(this)),this):this.N};$.g.waa=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.IF=function(a){return $.n(a)?(a=L_(a,this.G),a!=this.G&&(this.G=a,t1(this)),this):this.G};$.g.uaa=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};var I4=t2.prototype;
I4.kPeriod=I4.kD;I4.kMAType=I4.qH;I4.kMAPeriod=I4.waa;I4.dMAType=I4.IF;I4.dPeriod=I4.uaa;I4.kSeries=I4.xaa;I4.dSeries=I4.vaa;$.F("anychart.math.trix.initContext",Hla);$.F("anychart.math.trix.startFunction",Ila);$.F("anychart.math.trix.calculate",Jla);$.F("anychart.math.trix.calculationFunction",Kla);$.F("anychart.math.trix.createComputer",Lla);$.H(u2,p1);$.g=u2.prototype;$.g.Dc=function(a){return Lla(a,this.b,this.g,this.G,this.j)};$.g.Of=function(a){switch(a){case "trix":return"TRIX("+this.b+")";case "signal":return this.j.toUpperCase()+"("+this.g+")"}return""};$.g.In=function(a,b,c){switch(c){case "trix":a.Hd("value",b.De("trix"));break;case "signal":a.Hd("value",b.De("signal"))}};$.g.Ria=function(a){return s1(this,"trix",a)};$.g.yaa=function(a){return s1(this,"signal",a)};
$.g.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.hO=function(a){return $.n(a)?(a=$.O(a,this.g,!1),a!=this.g&&(this.g=a,t1(this)),this):this.g};$.g.cia=function(a){return $.n(a)?(a=L_(a,this.j),a!=this.j&&(this.j=a,t1(this)),this):this.j};$.g.Hk=function(a){return $.n(a)?(a=L_(a,this.G),a!=this.G&&(this.G=a,t1(this)),this):this.G};var J4=u2.prototype;J4.trixSeries=J4.Ria;J4.signalSeries=J4.yaa;J4.period=J4.vb;J4.signalPeriod=J4.hO;
J4.signalMaType=J4.cia;J4.maType=J4.Hk;$.F("anychart.math.vwap.initContext",Mla);$.F("anychart.math.vwap.startFunction",Nla);$.F("anychart.math.vwap.calculate",Ola);$.F("anychart.math.vwap.calculationFunction",Pla);$.F("anychart.math.vwap.createComputer",Qla);$.H(v2,p1);v2.prototype.Dc=function(a){return Qla(a)};v2.prototype.Of=function(){return"VWAP"};v2.prototype.In=function(a,b){a.Hd("value",b.De("vwapValue"))};v2.prototype.W=function(a){return s1(this,"vwapSeries",a)};var Oma=v2.prototype;Oma.series=Oma.W;$.F("anychart.math.volumeMA.initContext",Rla);$.F("anychart.math.volumeMA.startFunction",Sla);$.F("anychart.math.volumeMA.calculate",Tla);$.F("anychart.math.volumeMA.calculationFunction",Ula);$.F("anychart.math.volumeMA.createComputer",Vla);$.H(w2,p1);$.g=w2.prototype;$.g.Dc=function(a){return Vla(a,this.b,this.g)};$.g.Of=function(a){switch(a){case "volumeSeries":return"Volume";case "maSeries":return this.g.toUpperCase()+"("+this.b+")"}return""};$.g.In=function(a,b,c){switch(c){case "volumeSeries":a.Hd("value",b.De("volumeResult"));break;case "maSeries":a.Hd("value",b.De("maResult"))}};$.g.cja=function(a){return s1(this,"volumeSeries",a)};$.g.zaa=function(a){return s1(this,"maSeries",a)};
$.g.AH=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};$.g.Hk=function(a){return $.n(a)?(a=L_(a,this.g),a!=this.g&&(this.g=a,t1(this)),this):this.g};var K4=w2.prototype;K4.maPeriod=K4.AH;K4.maType=K4.Hk;K4.maSeries=K4.zaa;K4.volumeSeries=K4.cja;$.F("anychart.math.williamsR.initContext",Wla);$.F("anychart.math.williamsR.startFunction",Xla);$.F("anychart.math.williamsR.calculate",Yla);$.F("anychart.math.williamsR.calculationFunction",Zla);$.F("anychart.math.williamsR.createComputer",$la);$.H(x2,p1);x2.prototype.Dc=function(a){return $la(a,this.b)};x2.prototype.Of=function(){return"Williams %R("+this.b+")"};x2.prototype.W=function(a){return s1(this,"series",a)};x2.prototype.vb=function(a){return $.n(a)?(a=$.O(a,this.b,!1),a!=this.b&&(this.b=a,t1(this)),this):this.b};var L4=x2.prototype;L4.period=L4.vb;L4.series=L4.W;var y2={};y2.adl=z1;y2.ama=A1;y2.ao=H1;y2.aroon=M1;y2.atr=L1;y2.bbands=Q1;y2["bbands-b"]=R1;y2["bbands-width"]=S1;y2.cci=T1;y2.cho=U1;y2.cmf=V1;y2.dmi=W1;y2.ema=X1;y2.env=Y1;y2.ha=Z1;y2.ikh=$1;y2.kdj=d2;y2["keltner-channels"]=e2;y2.macd=f2;y2.mfi=g2;y2.mma=h2;y2.momentum=i2;y2.obv=j2;y2.ppo=k2;y2["price-channels"]=n2;y2.psar=l2;y2.psy=m2;y2.rat=o2;y2.rci=p2;y2.roc=r2;y2.rsi=q2;y2.sma=s2;y2.stochastic=t2;y2.trix=u2;y2.vwap=v2;y2["volume-ma"]=w2;y2["williams-r"]=x2;$.H(B2,$.iu);$.uz(B2,"plot","dataarea");B2.prototype.yL=window.NaN;B2.prototype.DS=window.NaN;B2.prototype.qa=$.iu.prototype.qa|68;B2.prototype.sa=$.iu.prototype.sa|17301440;var M4={};$.hq(M4,[[0,"pointWidth",$.so],[0,"maxPointWidth",$.so],[0,"minPointLength",$.so],[0,"baseline",$.qq],[0,"weight",$.qq]]);$.U(B2,M4);$.g=B2.prototype;
$.g.Pn=function(){var a=this.Ia("chartElements")||{axes:{},grids:{}};a.series=this.Oa.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.Wf.length,this.Lg.length,this.Mg.length,this.Wg.length,this.Xg.length);b--;)this.Wf[b]&&a.axes.y++,this.Lg[b]&&a.grids.x++,this.Mg[b]&&a.grids.y++,this.Wg[b]&&a.grids.xMinor++,this.Xg[b]&&a.grids.yMinor++;this.Ia("chartElements",a)};
$.g.Ia=function(a,b){return $.n(a)?$.n(b)?(this.Vm[a.toLowerCase()]=b,this):this.Vm[a.toLowerCase()]:this.Vm};$.g.oI=function(){this.Vm={}};$.g.Eg=function(a){this.Pn();return this.Ia(a)};$.g.QB=function(a,b,c){return this.te("area",a,b,c)};$.g.XQ=function(a,b,c){return this.te("candlestick",a,b,c)};$.g.ZB=function(a,b,c){return this.te("column",a,b,c)};$.g.uU=function(a,b,c){return this.te("jump-line",a,b,c)};$.g.LI=function(a,b,c){return this.te("stick",a,b,c)};
$.g.line=function(a,b,c){return this.te("line",a,b,c)};$.g.gr=function(a,b,c){return this.te("marker",a,b,c)};$.g.rV=function(a,b,c){return this.te("ohlc",a,b,c)};$.g.TV=function(a,b,c){return this.te("range-area",a,b,c)};$.g.UV=function(a,b,c){return this.te("range-column",a,b,c)};$.g.VV=function(a,b,c){return this.te("range-spline-area",a,b,c)};$.g.WV=function(a,b,c){return this.te("range-step-area",a,b,c)};$.g.OW=function(a,b,c){return this.te("spline",a,b,c)};
$.g.PW=function(a,b,c){return this.te("spline-area",a,b,c)};$.g.XW=function(a,b,c){return this.te("step-area",a,b,c)};$.g.YW=function(a,b,c){return this.te("step-line",a,b,c)};$.g.OT=function(a,b,c){return this.te("hilo",a,b,c)};$.g.Rk=function(a){var b=[],c=this.Kp(),d=arguments.length;$.V(this);if(d)for(var e=0;e<d;e++)b.push(this.te(c,arguments[e]));else b.push(this.te(c,null));this.da(!0);return b};$.g.Qx=function(a){return $.xa(this.Oa,function(b){return b.id()==a})};$.g.Ue=function(a){return this.Nh(this.Qx(a))};
$.g.Nh=function(a){return this.Oa[a]||null};$.g.Mj=function(){return this.Oa.length};$.g.mo=function(a){return this.Cn(this.Qx(a))};$.g.Cn=function(a){var b=this.Oa[a];b&&($.Fp++,$.Ca(this.Oa,a,1),$.qd(b),this.B(34944,1),$.Ip());return this};$.g.kp=function(){if(this.Oa.length){$.Fp++;var a=this.Oa;this.Oa=[];$.td(a);this.B(34944,1);$.Ip()}return this};$.g.Te=function(){return this.Oa};
$.g.Sr=function(a){this.Bi||(this.Bi=new $.vz,$.W(this,"defaultSeriesSettings",this.Bi));return $.n(a)?(this.Bi.ma=a,this):this.Bi};$.g.BL=function(a){return a.check(32768)?31:30};$.g.te=function(a,b,c,d){var e=this.Ba.tv(a);e?(a=new a1(this.Ba,this,a,e[1]),e=(e=this.Oa[this.Oa.length-1])?e.mh()+1:0,this.Oa.push(a),a.mh(e),$.RA(a),a.data(b||null,c,d),a.clip(!0),a.sq(this.cc().nc(e)),$.UA(a,this.sf().nc(e)),a.Cw(this.oe().nc(e)),a.ib(this),$.L(a,this.uI,this),this.B(2176,1)):a=null;return a};ama(B2);
$.g=B2.prototype;$.g.Kp=function(a){return $.n(a)?(this.HR=a=K_(a),this):this.HR};$.g.mc=function(){return this.Ba};$.g.Gz=function(a){if($.n(a))return this.Ip=a,this;this.Ip||(this.Ip=$.wm("stock.defaultPlotSettings.defaultGridSettings"));return this.Ip};$.g.Hz=function(a){if($.n(a))return this.Jp=a,this;this.Jp||(this.Jp=$.wm("stock.defaultPlotSettings.defaultMinorGridSettings"));return this.Jp};
$.g.C_=function(a){if($.n(a))return this.FR=a,this;this.FR||(this.FR=$.wm("stock.defaultPlotSettings.defaultPriceIndicatorSettings"));return this.FR};$.g.ay=function(){for(var a=this.Oa.length;a--;)this.Oa[a].Yo()&&this.Oa[a].B(1024)};$.g.Cha=function(a){for(var b=0;b<this.Oa.length;b++){var c=this.Oa[b];c&&c.SD();a||c.B(1024)}};$.g.IA=function(a){for(var b=0;b<this.Oa.length;b++){var c=this.Oa[b];c&&c.SD()}a||this.ay()};
$.g.$x=function(a,b){var c,d=1024;a&&(d|=4);for(c=0;c<this.Oa.length;c++)this.Oa[c]&&this.Oa[c].B(d);this.yl&&this.yl.B(64);this.Ba.D&&this.tk().iA();for(c=0;c<this.Wf.length;c++)if(d=this.Wf[c])$.V(d),d.ho(),d.da(!1);var e=$.Ga(this.Lg,this.Mg,this.Wg,this.Xg);for(c=0;c<e.length;c++)(d=e[c])&&d.B(64);e=$.Ga(this.ag,this.cg,this.eg);for(c=0;c<e.length;c++)(d=e[c])&&d.B(20);d=16;a&&(d|=4);this.ec&&this.ec.B(d);!b&&this.ji&&this.ji.enabled()&&this.ji.B(d);for(c=0;c<this.cu.length;c++)(d=this.cu[c])&&
d.B(20);this.B(388992);$.br(this,"plot","dataarea")};$.g.Rf=function(){E2(this);return this.Wh};$.g.Sq=function(){return 32781};$.g.$u=function(a){this.fn||(this.fn=new $.wz,$.W(this,"dataArea",this.fn),$.L(this.fn,this.AR,this));return $.n(a)?(this.fn.K(a),this):this.fn};$.g.AR=function(a){$.X(a,1)&&$.br(this,"plot","dataarea",1)};
$.g.background=function(a){this.Ka||(this.Ka=new $.ku,this.Ka.enabled(!1),this.Ka.zIndex(1),$.W(this,"background",this.Ka),this.Ka.il(!0),$.L(this.Ka,this.gg,this));return $.n(a)?(this.Ka.K(a),this):this.Ka};$.g.Gf=function(a){this.ji||(this.ji=new $.Iw,$.L(this.ji,this.Bga,this),this.ji.ra("dragstart",function(){h3(this.Ba)},!1,this),this.ji.ra("dragend",function(){i3(this.Ba)},!1,this),this.ji.ib(this),$.W(this,"legend",this.ji));return $.n(a)?(this.ji.K(a),this):this.ji};
$.g.bb=function(a){if($.n(a)){if(a=$.Xs(this.wc,a,null,3,["Stock plot Y scale","scatter","linear, log"],this.Vy,this)){var b=this.wc==a;this.wc=a;this.wc.da(b);b||(this.$x(!1),this.ta(1))}return this}this.wc||(this.wc=$.Ts(),$.L(this.wc,this.Vy,this));return this.wc};$.g.Vy=function(a){for(var b=0,c=0;c<this.Oa.length;c++){var d=this.Oa[c];d&&d.enabled()&&d.bb()==this.wc&&(b|=d.B(1024))}b&&(b=1,$.X(a,4)&&(b|=4),this.B(128,b))};
$.g.ti=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.Wf[c];e||(e=new $.Dy,this.Wf[c]=e,e.Fa("stock.defaultPlotSettings.defaultYAxisSettings",this.MF),e.ib(this),$.L(e,this.hja,this),this.B(260,1));return $.n(d)?(e.K(d),this):e};
$.g.l3=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.cu[c];e||(e=new z0,e.Fa("stock.defaultPlotSettings.defaultPriceIndicatorSettings",this.C_()),Dia(e),this.cu[c]=e,e.zIndex(150),e.N=this,e.ib(this),$.L(e,this.qha,this),this.B(16384,1));return $.n(d)?(e.K(d),this):e};
$.g.lh=function(a){this.ec||(this.ec=new y0(this.Ba),this.ec.ib(this),this.ec.Ce(!0,!1),this.ec.zIndex(35),$.W(this,"xAxis",this.ec),$.L(this.ec,this.wX,this),this.B(516,1));return $.n(a)?(this.ec.K(a),this):this.ec};$.g.jG=function(a){return a?this.Wf[a-1]:this.ec};$.g.Rx=function(){return this.ec};$.g.Tx=function(a){return this.Wf[a]};$.g.Po=function(a){return a.ma.zIndex+.001*(this.Lg.length+this.Mg.length+this.Wg.length+this.Xg.length)};
$.g.Zm=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.Lg[c];e||(e=new A0,e.Hj=this,$.Yy(e,"vertical"),e.Fa("stock.defaultPlotSettings.defaultGridSettings",this.Gz()),e.zIndex(this.Po(e)),this.Lg[c]=e,$.L(e,this.ny,this),this.B(1024,1));return $.n(d)?(e.K(d),this):e};
$.g.$m=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.Mg[c];e||(e=new A0,e.Hj=this,$.Yy(e,"horizontal"),e.Fa("stock.defaultPlotSettings.defaultGridSettings",this.Gz()),e.zIndex(this.Po(e)),this.Mg[c]=e,$.L(e,this.ny,this),this.B(1024,1));return $.n(d)?(e.K(d),this):e};
$.g.xr=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 A0,e.Fa("defaultMinorGridSettings","stock.defaultPlotSettings.defaultMinorGridSettings",this.Hz()),e.Hj=this,$.Yy(e,"vertical"),e.zIndex(this.Po(e)),this.Wg[c]=e,$.L(e,this.ny,this),this.B(1024,1));return $.n(d)?(e.K(d),this):e};
$.g.Ar=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.Xg[c];e||(e=new A0,e.Hj=this,$.Yy(e,"horizontal"),e.Fa("defaultMinorGridSettings","stock.defaultPlotSettings.defaultMinorGridSettings",this.Hz()),e.zIndex(this.Po(e)),this.Xg[c]=e,$.L(e,this.ny,this),this.B(1024,1));return $.n(d)?(e.K(d),this):e};
$.g.title=function(a){if(!this.sb){this.sb=new $.Nv;this.sb.ib(this);var b=this.sb;$.n(!0)&&(b.Q1=!0);$.W(this,"title",this.sb);this.sb.il(!0);$.L(this.sb,this.AV,this)}return $.n(a)?(this.sb.K(a),this):this.sb};$.g.AV=function(a){var b=131072,c=0;$.X(a,1)&&(c|=1);$.X(a,8)&&(b|=4,c|=8);this.B(b,c)};$.g.LK=function(a){return $.n(a)?(this.ER=a,this):this.ER||{}};$.g.QK=function(a){return $.n(a)?(this.IR=a,this):this.IR||{}};$.g.MK=function(a){return $.n(a)?(this.GR=a,this):this.GR||{}};
$.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.ag[c];e||(e=new $.Rz,e.Ba=this,e.Fa("stock.defaultPlotSettings.defaultLineMarkerSettings",this.LK()),$.Sz(e,"horizontal"),this.ag[c]=e,e.ib(this),C2(this,e),$.L(e,this.zA,this),this.B(262144,1));return $.n(d)?(e.K(d),this):e};
$.g.Sm=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.cg[c];e||(e=new $.Uz,e.Ba=this,e.Fa("stock.defaultPlotSettings.defaultRangeMarkerSettings",this.MK()),$.Vz(e,"horizontal"),this.cg[c]=e,e.ib(this),C2(this,e),$.L(e,this.zA,this),this.B(262144,1));return $.n(d)?(e.K(d),this):e};
$.g.Xm=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.eg[c];e||(e=new $.Xz,e.Ba=this,e.Fa("stock.defaultPlotSettings.defaultTextMarkerSettings",this.QK()),$.Ly(e,"horizontal"),this.eg[c]=e,e.ib(this),C2(this,e),$.L(e,this.zA,this),this.B(262144,1));return $.n(d)?(e.K(d),this):e};$.g.zA=function(a){$.X(a,4)&&this.Ba.B(32768);this.B(262144,1)};$.g.remove=function(){this.Wa&&this.Wa.remove()};
$.g.$=function(){if(!this.Bc())return this;$.V(this);var a=this.Pm().label();var b=this.Ej();a.visible()!==b&&this.Wa&&(b=this.dispatchEvent({type:"datachanged",chart:this,hasData:!b})&&b);a.visible(b);this.Mz();this.J(2)&&(this.Wa.parent(this.P()),this.I(2));this.J(8)&&(this.Wa.zIndex(this.zIndex()),this.I(8));if(this.J(4096)){var c=this.cc(),d=this.sf(),e=this.oe();for(b=0;b<this.Oa.length;b++){var f=this.Oa[b];var h=f.mh();f.sq(c.nc(h));$.UA(f,d.nc(h));f.Cw(e.nc(h))}this.$x(!1);this.I(4096)}if(this.J(256))for(b=
0;b<this.Wf.length;b++)if(f=this.Wf[b])$.V(f),f.scale()||f.scale(this.bb()),f.da(!1);this.J(512)&&this.ec&&($.V(this.ec),this.ec.scale(this.Ba.Va()),this.ec.da(!1));E2(this);if(this.J(256)){for(b=0;b<this.Wf.length;b++)if(f=this.Wf[b])$.V(f),$.Mu(f.labels()),$.Mu(f.kb()),f.P(this.Wa),f.$(),f.da(!1);this.I(256)}this.J(512)&&(this.ec&&($.V(this.ec),this.ec.P(this.Wa),this.ec.$(),this.ec.da(!1)),this.I(512));if(this.J(1024)){f=$.Ga(this.Lg,this.Mg,this.Wg,this.Xg);for(b=0;b<f.length;b++)if(c=f[b])$.V(c),
c.scale()||(c.Hb()?c.scale(this.bb()):c.scale(this.Ba.Va())),c.ja(this.Wh),c.P(this.Wa),c.$(),c.da(!1);this.I(1024)}if(this.J(131072)){if(b=$.jr(this,"title"))b.il(!1),$.V(b),b.P(this.Wa),b.$(),b.da(!1);this.I(131072)}if(this.J(262144)){f=$.Ga(this.ag,this.cg,this.eg);for(b=0;b<f.length;b++)if(c=f[b])$.V(c),c.scale()||c.ZJ(c.Hb()?this.bb():this.Ba.Va()),c.ja(this.Wh),c.P(this.Wa),c.$(),c.da(!1);this.I(262144)}if(this.J(64)){if(b=$.jr(this,"background"))b.il(!1),$.V(b),b.P(this.Wa),b.$(),b.da(!1);
this.I(64)}if(this.J(128)){c="direct"==this.bb().Iw();for(b=0;b<this.Oa.length;b++)if(f=this.Oa[c?this.Oa.length-b-1:b])$.V(f),f.ja(this.Wh),f.P(this.Wa),f.$(),f.da(!1);this.IA(!0);this.I(128)}this.J(8192)&&(this.Ba.D&&(b=this.tk(),$.V(b),b.ja(this.Wh),b.P(this.Wa),b.$(),b.da(!1)),this.I(8192));this.J(65536)&&(b=this.bj(),$.V(b),b.ja(this.Wh),b.P(this.Wa),b.Mh=200,b.$(),b.da(!1),this.I(65536));if(this.J(16384)){for(b=0;b<this.cu.length;b++)if(f=this.cu[b])$.V(f),f.ja(this.Wh),f.P(this.Wa),f.$(),f.da(!1);
this.I(16384)}this.J(16777216)&&(b=this.$g(),$.V(b),b.ja(this.Rf()),b.P(this.Wa),b.lh(this.ec),b.$(),b.da(!1),this.I(16777216));this.J(32768)&&($.V(a),a.P(this.Wa),a.ja(this.Wh),a.$(),a.da(!1),this.I(32768));$.er(this,"plot","dataarea")&&(a=this.$u(),$.V(a),a.P()||a.P(this.Wa),a.ja(this.Wh),a.da(!1),a.$(),$.dr(this,"plot","dataarea"));this.da(!1);a=this.Ba;for(f=b=0;f<a.f.length;f++)a.f[f]&&a.f[f].enabled()&&b++;a=1==b?"single":F2(this)?"top":G2(this)?"bottom":"center";this.ty||(b=this.ty=new B0(this),
b.O!=a&&(b.O=a),this.ty.Fd(),this.ty.Oc());b=this.ty;b.O!=a&&(b.O=a);this.ty.update();return this};
$.g.Mz=function(){this.Wa||(this.Wa=$.lk(),$.du(this,this.Wa),this.xj=this.Wa.rect(),this.xj.zIndex(199),this.xj.fill($.Ul),this.xj.stroke(null),this.sc.ve(this,"mousedown",this.$q),this.sc.ve(this,"touchstart",this.$q),this.sc.ra(this,"touchstart",this.uea),this.sc.ra(this,"touchend",this.tea),this.sc.ra(this,"mouseover",this.f1),this.sc.ra(this,"mousemove",this.f1),this.sc.ra(this,"mouseout",this.qea),this.sc.ra(this,"mousedown",this.pea))};
$.g.wfa=function(a){var b=a.zD;!$.n(this.$e)||"mousedown"!==a.type&&"touchstart"!==a.type||this.$e.Tj(b)};
$.g.E0=function(a,b,c){b=b||((0,window.isNaN)(this.hM)?w0(this.Ba.b):this.hM);var d;return!(0,window.isNaN)(b)&&(d=a)&&($.z(d)&&(d=$.Bu($.zu.vd(),d)),$.E(d))?(a=this.Ba.tn(),b={value:{value:b,type:"date-time"},rawValue:{value:c,type:"date-time"},hoveredDate:{value:b,type:"date-time"},dataIntervalUnit:{value:a.Xn().unit,type:"string"},dataIntervalUnitCount:{value:a.Xn().count,type:"number"},isGrouped:{value:a.gD(),type:""}},b=$.av(new $.rw(b)),d.call(b,b)):null};
$.g.Bga=function(a){var b=0,c=1;$.X(a,1)&&(b|=2048);$.X(a,8)&&(b|=4,c|=8);this.B(b,c)};$.g.bm=function(a,b){for(var c=[],d=0;d<this.Oa.length;d++){var e=this.Oa[d];if(e){var f=e.LC(b);f.sourceUid=$.oa(this);f.sourceKey=e.id();c.push(f)}}return c};$.g.ts=function(a){return"default"==a};$.g.er=function(a){a=a.si();if(a=this.Ue(a))a.enabled(!a.enabled()),a.enabled()?a.Ek():a.Pd()};$.g.bq=function(a){var b=a.si();(!a||null!=b||(0,window.isNaN)(b))&&(a=this.Ue(b))&&a.Ek()};
$.g.aq=function(a){var b=a.si();(!a||null!=b||(0,window.isNaN)(b))&&(a=this.Ue(b))&&a.Pd()};$.g.WH=function(){return!0};$.g.HD=function(a){return(0,$.Wa)(this.Oa,function(b){return{series:b,point:b&&b.enabled()&&b.HD(a)||null}})};
$.g.fo=function(a,b,c,d,e,f){if(this.Wa&&this.Wh&&this.enabled()){var h="sticky"==this.$g().i("displayMode"),k=h?a:b,l=this.Ba.Va().transform(k),m=$.bc(this.$g().i("yStroke")),p=this.Wh.left+l*this.Wh.width;p=$.R(p,m);h&&e&&(d=e.pointYRatio,e=$.Wj(this.P().Ha()),d=this.Wh.height-d*this.Wh.height+this.Wh.top+e.y);e=this.$g();h=this.lH;$.n(h)&&(e.xX=h);e=this.$g();h=this.lH;m=c!=this;c=d;e.enabled()&&(m?e.MT():$.n(c)&&(d=$.Wj(e.P().Ha()),c-=d.y,d=$.bA(e),e.xx(d,!1,p,c)),e.tC(e.ec,!0,p,c||0),d=$.aA(e),
e.xx(d,!0,p,c||0,l,h));for(l=0;l<this.Oa.length;l++)if(c=this.Oa[l])Mia(c),c.fo(k,a);this.ji&&this.ji.enabled()&&(k=dma(this.Ba.Va(),k),D2(this,null,a,b,k));this.ta(64);f&&this.ty.show()}};$.g.hX=function(){if(this.enabled()){this.hM=window.NaN;for(var a=0;a<this.Oa.length;a++){var b=this.Oa[a];b&&Mia(b)}this.$g().Oc();this.ji&&this.ji.enabled()&&D2(this,null,w0(this.Ba.b));this.ta(64);this.ty.Oc()}};$.g.MD=function(){this.$e&&this.$e.Ro&&this.$e.MD();this.Zy&&this.Ba.MD(this.Zy.anchor)};
$.g.$q=function(a){a=a.zD.Vj;this.$e=new K2(this,this.xj);this.$e.Tj(a)};$.g.uea=function(a){var b=a.Vj,c=b.dl.touches;if(c&&1<c.length&&(this.$e.Cx(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.Zy={anchor:this.Ba.pG(),x:(b[0]+b[2])/2,y:(b[1]+b[3])/2,Yf:$.dn.apply(null,b),Fea:d};$.Id($.Bp,"touchmove",this.h1,{capture:!0,passive:!1},this);a.preventDefault()}};
$.g.h1=function(a){var b=a.dl.touches;if(this.Zy&&b&&1<b.length){for(var c=[],d=0;d<b.length;d++){var e=b[d];e.identifier in this.Zy.Fea&&(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=$.dn.apply(null,c);this.eP={anchor:this.Zy.anchor,x:b,y:(c[1]+c[3])/2,Yf:d,Wn:(b-this.Zy.x)/this.Wh.width,Xba:d/this.Zy.Yf};$.n(this.v5)||(this.v5=$.fl.requestAnimationFrame(this.mja));a.preventDefault()}};
$.g.tea=function(a){a=a.Vj.dl;var b=a.touches;1==b.length&&($.Sd($.Bp,"touchmove",this.h1,{capture:!0,passive:!1},this),b=b[0],a=new $.xd(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.Zy=null,this.$e.Tj(a))};
$.g.f1=function(a){var b=this.wf&&this.wf.ba;if(this.Wh&&!b){var c=$.Wj(this.P().Ha());b=a.clientX-c.x-this.Wh.left;c=a.clientY-c.y-this.Wh.top;0<=b&&b<=this.Wh.width&&0<=c&&c<=this.Wh.height&&(this.yL=b/this.Wh.width,this.DS=c/this.Wh.height,this.cda=a.clientX,this.dda=a.clientY,a=this.$g(),b=this.lH,$.n(b)&&(a.xX=b),$.n(this.zj)||(this.zj=$.fl.requestAnimationFrame(this.Xr)))}};$.g.qea=function(){this.DS=this.yL=window.NaN;$.n(this.zj)||(this.zj=$.fl.requestAnimationFrame(this.Xr))};
$.g.pea=function(){this.Ba.D&&this.tk().ae()};$.g.$g=function(a){this.Ef||(this.Ef=new $.$z,this.Ef.Gl=this,$.W(this,"crosshair",this.Ef),$.L(this.Ef,this.yA,this),this.B(16777216,1));return $.n(a)?(this.Ef.K(a),this):this.Ef};$.g.yA=function(){this.B(16777216,1)};
$.g.tk=function(a){this.Ba.D?this.wf||(this.wf=new this.Ba.D.PlotController(this.Ba.tk(),this),$.L(this.wf,this.VP,this),this.wf.ib(this),this.wf.K(this.ma.annotations)):$.cl(4,null,["Annotations"]);return $.n(a)?(this.wf&&this.wf.K(a),this):this.wf||null};$.g.bj=function(a){this.yl||(this.yl=new m1(this,this.Ba.bj()),$.L(this.yl,this.Qca,this),this.yl.ib(this.Ba.bj()));return $.n(a)?(this.yl.K(a),this):this.yl};$.g.Qca=function(){this.B(65536,1)};$.g.VP=function(){this.B(8192,1)};
$.g.gg=function(){this.B(64,1)};$.g.uI=function(a){var b=1,c=128;$.X(a,64)&&(c|=2048);$.X(a,4)&&(b|=4);this.B(c,b)};$.g.hja=function(a){var b=256;$.X(a,8)&&(b|=4);this.B(b,1)};$.g.qha=function(){this.B(16384,1)};$.g.wX=function(a){var b=512;$.X(a,8)&&(b|=4);this.B(b,1)};$.g.ny=function(){this.B(1024,1)};
$.g.cc=function(a){if($.K(a,$.ys))return this.Ic($.ys,a),this;if($.K(a,$.vs))return this.Ic($.vs,a),this;$.D(a)&&"range"==a.type?this.Ic($.ys):($.D(a)||null==this.Ea)&&this.Ic($.vs);return $.n(a)?(this.Ea.K(a),this):this.Ea};$.g.sf=function(a){this.Be||(this.Be=new $.xs,$.W(this,"markerPalette",this.Be),$.L(this.Be,this.If,this));return $.n(a)?(this.Be.K(a),this):this.Be};
$.g.oe=function(a){this.Yc||(this.Yc=new $.ws,$.W(this,"hatchFillPalette",this.Yc),$.L(this.Yc,this.If,this));return $.n(a)?(this.Yc.K(a),this):this.Yc};$.g.Ic=function(a,b){if($.K(this.Ea,a))b&&this.Ea.K(b);else{var c=!!this.Ea;$.qd(this.Ea);this.Ea=new a;b&&this.Ea.K(b);$.L(this.Ea,this.If,this);c&&this.B(4608,1)}};$.g.If=function(a){$.X(a,2)&&this.B(4096,1)};$.g.tK=function(){return new $.jv};$.g.nV=function(a){$.X(a,1)&&this.B(32768,1)};
$.g.Pm=function(a){this.jq||(this.jq=new $.bv(this),$.L(this.jq,this.nV,this));return $.n(a)?(this.jq.K(a),this):this.jq};$.g.yM=function(a){var b=a.oa;b=b?b.f.Gb():0;return!(!a.enabled()||!b)};$.g.Ej=function(){for(var a=0,b=this.Oa.length,c=0;c<b&&!this.yM(this.Oa[c]);c++)a++;return a==b};
$.g.R=function(){$.td(this.wf,this.sb,this.yl,this.Ka,this.ec,this.Wf,this.jq,this.Wa,this.Ef,this.Bi,this.Ip,this.Jp,this.MF,this.ji,this.Lg,this.Mg,this.Wg,this.Xg,this.Oa,this.fn,this.aD,this.cu,this.ag,this.cg,this.eg,this.Ea,this.Be,this.Yc);this.Yc=this.Be=this.Ea=this.fn=this.ji=this.MF=this.Jp=this.Ip=this.Bi=this.Ef=this.Wa=this.jq=this.ec=this.Ka=this.yl=this.sb=this.wf=null;this.aD.length=0;this.Oa.length=0;this.Wf.length=0;this.Lg.length=0;this.Mg.length=0;this.Wg.length=0;this.Xg.length=
0;this.ag.length=0;this.cg.length=0;this.eg.length=0;this.cu.length=0;B2.u.R.call(this);var a=this.Ba;$.Fa(a.f,this)&&a.B(4100,9);delete this.Ba};
$.g.F=function(){var a=B2.u.F.call(this),b={},c=[],d=[],e,f;$.Hq(this,M4,a);b[$.oa(this.bb())]=this.bb().F();c.push(b[$.oa(this.bb())]);a.yScale=c.length-1;a.defaultSeriesType=this.Kp();a.background=this.background().F();a.title=this.title().F();a.noDataLabel=this.Pm().label().F();a.dataArea=this.$u().F();d.push($.oa(this.lh()));a.xAxis=this.lh().F();a.palette=this.cc().F();a.markerPalette=this.sf().F();a.hatchFillPalette=this.oe().F();a.crosshair=this.$g().F();var h=[];for(f=0;f<this.Wf.length;f++){var k=
this.Wf[f];var l=k.F();if(e=k.scale()){var m=$.oa(e);b[m]?l.scale=(0,$.za)(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.cu.length;f++)(e=this.cu[f])&&(l[f]=e.F());l.length&&(a.priceIndicators=l);I2("xGrids",this.Lg,a,c,b,d);I2("yGrids",this.Mg,a,c,b,d);I2("xMinorGrids",this.Wg,a,c,b,d);I2("yMinorGrids",this.Xg,a,c,b,d);d=[];for(f=0;f<this.Oa.length;f++){e=this.Oa[f];l=e.F();if(e=e.bb())m=$.oa(e),b[m]?l.yScale=(0,$.za)(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.X=function(a,b){B2.u.X.call(this,a,b);$.zq(this,M4,a,b);"defaultGridSettings"in a&&this.Gz(a.defaultGridSettings);"defaultPriceIndicatorSettings"in a&&this.C_(a.defaultPriceIndicatorSettings);"defaultLineMarkerSettings"in a&&this.LK(a.defaultLineMarkerSettings);"defaultRangeMarkerSettings"in a&&this.MK(a.defaultRangeMarkerSettings);"defaultTextMarkerSettings"in a&&this.QK(a.defaultTextMarkerSettings);"defaultMinorGridSettings"in a&&this.Hz(a.defaultMinorGridSettings);"defaultYAxisSettings"in a&&
(this.MF=a.defaultYAxisSettings);"defaultSeriesSettings"in a&&this.Sr(a.defaultSeriesSettings);this.sg(b,a);this.$u(a.dataArea);this.Kp(a.defaultSeriesType);this.cc(a.palette);this.sf(a.markerPalette);this.oe(a.hatchFillPalette);this.Pm().label(a.noDataLabel);this.background(a.background);"title"in a&&this.title().ia(!!b,a.title);this.Gf(a.legend);var c,d,e=a.priceIndicators;if($.A(e))for(c=0;c<e.length;c++)(d=e[c])&&this.l3(c,d);this.Ba.D&&this.tk(a.annotations);"crosshair"in a&&this.$g(a.crosshair);
this.Ul(a.xGrids,this.Zm);this.Ul(a.yGrids,this.$m);this.Ul(a.xMinorGrids,this.xr);this.Ul(a.yMinorGrids,this.Ar);e=a.series;if($.A(e))for(c=0;c<e.length;c++){d=e[c];var f=(d.seriesType||this.Kp()).toLowerCase();if(f=this.te(f,d.data))f.K(d),$.D(d)&&"yScale"in d&&1<d.yScale&&f.bb(this.Aw[d.yScale])}};
$.g.bE=function(a){var b,c,d=$.Kl(this.mf("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=$.Ga(d,$.Ja(a.scales,d.length)))}var e={};if($.A(d))for(b=0;b<d.length;b++){var f=d[b];$.z(f)&&(f={type:f});c=O_(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=O_(f.type,!1),c.K(f),e[b]=c);f=$.Kl(this.mf("yScale"));a&&$.n(a.yScale)&&("object"==$.ka(a.yScale)&&"object"==$.ka(f)?$.ra(f,a.yScale):
f=a.yScale);$.ea(f)?c=e[f]:$.z(f)?(c=O_(f,!0))||(c=e[f]):$.D(f)?(c=O_(f.type,!1),c.K(f)):c=null;c&&this.bb(c);this.Aw=e};$.g.sg=function(a,b){this.bE(b);this.lh();this.Ul((b||this.ma).yAxes,this.ti)};$.g.Ul=function(a,b,c){if($.A(a))for(var d=0;d<a.length;d++){var e=a[d],f=b.call(this,d);$.Jc(e)||(c?f.K(e):f.Fa(e),e=$.D(e)&&"scale"in e?e.scale:f.mf("scale"),0<e&&f.scale(this.Aw[e]))}};$.H(K2,$.ag);$.g=K2.prototype;
$.g.Z$=function(){var a=this.b.Ba,b=!a.lM()&&f3(a,"selectedrangechangestart","plot-drag");b&&(a.hc=!0,h3(a),$.uf(window.document.body,"cursor","ew-resize"));return b};$.g.Y$=function(){$.n(this.zj)&&($.fl.cancelAnimationFrame(this.zj),this.Xr(0));var a=this.b.Ba;a.hc=!1;$.uf(window.document.body,"cursor","");f3(a,"selectedrangechangefinish","plot-drag");i3(a)};$.g.tba=function(a){return!!J2(this.b.Ba,a.left/this.b.Wh.width,this.g)};$.g.MD=function(){this.b.Ba.MD(this.g)};
$.g.Hq=function(){this.g=this.b.Ba.pG();this.deltaY=this.deltaX=0};$.g.Rr=function(a){this.ga=a/this.b.Wh.width;this.j=this.g;$.n(this.zj)||(this.zj=$.fl.requestAnimationFrame(this.Xr))};$.g.oA=function(a){var b=this.b.Wh.width;return sma(this.b.Ba,a/b,this.g)*b};$.g.Yv=function(){return 0};var N4=B2.prototype;N4.crosshair=N4.$g;N4.background=N4.background;N4.title=N4.title;N4.legend=N4.Gf;N4.area=N4.QB;N4.candlestick=N4.XQ;N4.column=N4.ZB;N4.jumpLine=N4.uU;N4.stick=N4.LI;N4.line=N4.line;
N4.marker=N4.gr;N4.ohlc=N4.rV;N4.rangeArea=N4.TV;N4.rangeColumn=N4.UV;N4.rangeSplineArea=N4.VV;N4.rangeStepArea=N4.WV;N4.spline=N4.OW;N4.splineArea=N4.PW;N4.stepArea=N4.XW;N4.stepLine=N4.YW;N4.hilo=N4.OT;N4.getSeries=N4.Ue;N4.yScale=N4.bb;N4.yAxis=N4.ti;N4.xAxis=N4.lh;N4.xGrid=N4.Zm;N4.yGrid=N4.$m;N4.xMinorGrid=N4.xr;N4.yMinorGrid=N4.Ar;N4.defaultSeriesType=N4.Kp;N4.addSeries=N4.Rk;N4.getSeriesAt=N4.Nh;N4.getSeriesCount=N4.Mj;N4.removeSeries=N4.mo;N4.removeSeriesAt=N4.Cn;N4.removeAllSeries=N4.kp;
N4.palette=N4.cc;N4.markerPalette=N4.sf;N4.hatchFillPalette=N4.oe;N4.annotations=N4.tk;N4.eventMarkers=N4.bj;N4.priceIndicator=N4.l3;N4.lineMarker=N4.Jm;N4.rangeMarker=N4.Sm;N4.textMarker=N4.Xm;N4.noData=N4.Pm;N4.getStat=N4.Eg;N4.dataArea=N4.$u;$.H(L2,a1);$.g=L2.prototype;$.g.mz=function(a,b){if(null===a.Ib||a.zb&4)throw Error("Wrong config for scroller series");$.qd(this.g);$.qd(this.j);this.g=new $.sG[a.Ab](this);this.j=new (2==a.Fb?$.KA:$.LA)(this,a.Ib,!!(a.zb&524288),"secondaryShapes",a.Cb);L2.u.mz.call(this,a,b)};$.g.A3=function(){o0(this.tG().b,this.oa,!1)};$.g.NL=function(){return null};$.g.ML=function(){return null};$.g.tG=function(){return this.Aa.mc()};$.g.Qf=function(){return m0(this.oa,!0,!0)};$.g.Wq=function(){return $.Zl};
$.g.remove=function(){this.b&&this.b.remove();L2.u.remove.call(this)};$.g.rd=function(){L2.u.rd.call(this);this.g.rd(this.j)};$.g.jn=function(a,b){L2.u.jn.call(this,a,b);this.g.jn(a,b)};$.g.zl=function(){L2.u.zl.call(this);this.g.zl()};$.g.LV=function(){L2.u.LV.call(this);this.b||(this.b=$.lk());this.b.zIndex(this.zIndex());this.b.parent(this.ga);this.J(1024)&&this.j.Wu();$.FA(this.j,this.b)};$.g.OB=function(){var a=this.zIndex();this.va.zIndex(a);this.b.zIndex(a)};
$.g.R=function(){this.remove();$.td(this.g,this.j);this.j=this.g=null;L2.u.R.call(this)};M2.prototype.K=function(a){this.tb=[];this.f=[];(0,$.Qe)(a,function(a){$.ea(a)?this.f.push(a):$.D(a)&&(a.Una?this.tb:this.f).push($.N(a.value))},this);this.b=$.Ga(this.tb,this.f);$.Ka(this.b);$.Qa(this.b)};M2.prototype.reset=function(){this.g=-1};M2.prototype.advance=function(){this.g++;this.current=this.b[this.g];this.j=$.Aa(this.f,this.current);this.N=$.Aa(this.tb,this.current);return!!this.current};M2.prototype.ga=function(){return this.b.slice()};N2.prototype.K=function(a,b,c,d,e){this.start=a;this.O=e;this.end=b;this.D=c;this.G=d;this.ba=this.U=null;this.reset()};N2.prototype.reset=function(){var a=$.Lo(this.start,this.D,this.O),b=$.Lo(this.start,this.G,this.O);this.b=new $.In(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 $.In(new Date(b));this.g.getTime()<this.start;)this.g.add(this.G)};
N2.prototype.advance=function(){var a=this.b.getTime(),b=this.g.getTime();this.current=Math.min(a,b);this.j=a==this.current;this.N=b==this.current;if(a=this.current<=this.end)this.j&&this.b.add(this.D),this.N&&this.g.add(this.G);return a};N2.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.j||!a&&this.N)&&b.push(this.current);a?this.U=b:this.ba=b;return b};$.H(P2,$.Yq);$.g=P2.prototype;$.g.qa=784;$.g.Na=function(){return"stock-scatter-date-time"};$.g.Mm=function(a){return $.n(a)?(a=$.O(a,1E3,!1),this.Jk!=a&&(this.Jk=a,this.Gc=!1,this.ta(512)),this):this.Jk};$.g.Gia=function(a){return $.n(a)?(a=$.O(a,this.N,!1),this.N!=a&&(this.N=a,this.Gc=!1,this.ta(512)),this):this.N};$.g.xs=function(a){return $.n(a)&&(a=O2(this,a),!$.Pc(this.ya,a))?(this.ya=a,this.ta(16),this):this.ya};
$.g.vs=function(a){return $.n(a)&&(a=O2(this,a),!$.Pc(this.ka,a))?(this.ka=a,this.ta(16),this):this.ka};$.g.z0=function(){return this.ga};$.g.y0=function(){return this.ba};$.g.XS=function(){return this.zn};$.g.WS=function(){return this.cp};$.g.gk=function(a){return(0,window.isNaN)($.Rk(a))};$.g.transform=function(a){return this.rr(a,window.NaN)};$.g.Fc=function(a){return Math.round(a*(this.cp-this.zn)+this.zn)};$.g.Uu=function(){return!1};$.g.rn=function(){this.ob();return this.f?this.j:this.O};
$.g.ob=function(){if(!this.Gc){this.X_();if(this.cp<=this.g||this.zn>=this.U){var a=this.zn;var b=this.cp}else a=$.Za(this.zn,this.g,this.U),b=$.Za(this.cp,this.g,this.U);var c=.25*(this.cw-this.ws+1),d=[];$.Dc(this.Im,function(a){a.count>c&&d.push(a)});var e=(0,$.Fg)(d,function(a,b){var c=$.kp(a.ng,1),d=$.kp(b.ng,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.qe;var h=$.kp(e.ng,1);$.Dc(this.Im,function(a){a!=e&&(f+=a.count*h)})}else f=Math.abs(b-a);
for(var k=Math.abs(f)/this.N,l=this.ad.length-1,m,p=0;p<l;p++)if(k<=this.ad[p].qe){m=this.ad[p];break}m||(m=this.ad[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.j.K(a)):this.O.K(a,b,$.No(m.CH,m.BH),$.No(m.SH,m.RH),this.g);this.jfa=m.CH;this.ifa=m.BH;this.Ifa=m.SH;this.Hfa=m.RH;this.Gc=!0}};$.g.X_=function(){this.O||(this.O=new N2);!this.j&&this.f&&(this.j=new M2)};$.g.rr=function(a){return($.Rk(a)-this.zn)/(this.cp-this.zn)};
$.g.HO=function(a){return this.transform(a)};$.g.Yh=function(a){$.X(a,2)&&(this.Gc=!1,this.ta(512))};$.g.Qa=function(a){if($.n(a)){if($.E(a))this.f=a,this.Gc=!1,this.ta(512);else{a=fma(a);for(var b=a.length,c=b&&b==this.ad.length,d=0;c&&d<b;d++){c=a[d];var e=this.ad[d];c=c.qe==e.qe&&c.SH==e.SH&&c.RH==e.RH&&c.CH==e.CH&&c.BH==e.BH}c||(this.ad=a,this.f=null,this.Gc=!1,this.ta(512))}return this}return this.f?this.f:(0,$.Wa)(this.ad,function(a){return{minor:{unit:a.SH,count:a.RH},major:{unit:a.CH,count:a.BH}}})};
$.g.hi=function(a){return this.b.hi(a)};$.g.zf=function(a){return this.b.zf(a)};
var cma=[{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}}],O4=P2.prototype;O4.ticks=O4.Qa;O4.ticksCount=O4.Gia;O4.getFullMinimum=O4.z0;O4.getFullMaximum=O4.y0;O4.getMinimum=O4.XS;O4.getMaximum=O4.WS;O4.transform=O4.transform;O4.inverseTransform=O4.Fc;O4.minimumGap=O4.xs;O4.maximumGap=O4.vs;$.H(Q2,N2);Q2.prototype.reset=function(){var a=$.Lo(this.start,this.D,this.O),b=$.Lo(this.start,this.G,this.O);this.b=new $.In(new Date(a));this.f=window.NaN;this.b.getTime()<this.start&&(this.f=R2(this,this.b,this.D),this.f>this.end&&(this.f=window.NaN));for(this.g=new $.In(new Date(b));this.g.getTime()<this.start;)this.g.add(this.G)};
Q2.prototype.advance=function(){var a=this.b.getTime(),b=R2(this,this.g,this.G);this.current=b;this.j=a<=b;(a=this.current<=this.end)&&this.j&&R2(this,this.b,this.D);return a};$.H(z2,P2);$.g=z2.prototype;$.g.Na=function(){return"stock-ordinal-date-time"};$.g.transform=function(a){return this.rr(a,this.b.zf($.Rk(a)))};$.g.Fc=function(a){return Math.round(this.b.hi(a*(this.cw-this.ws)+this.ws))};$.g.rr=function(a,b){return(b-this.ws)/(this.cw-this.ws)};$.g.HO=function(a){return this.rr(a,Math.ceil(this.b.zf($.Rk(a))))};$.g.X_=function(){this.O||(this.O=new Q2(this));!this.j&&this.f&&(this.j=new M2)};var P4=z2.prototype;P4.transform=P4.transform;P4.inverseTransform=P4.Fc;$.H(S2,$.lB);$.g=S2.prototype;$.g.qa=$.lB.prototype.qa|4;$.g.sa=$.lB.prototype.sa|1536;$.g.J4=function(){return!1};
$.g.Oi={area:{Ab:1,Fb:1,Jb:[k3,l3,m3],Ib:[y3,z3,A3],Cb:null,zb:0,yb:"value",wb:"zero"},candlestick:{Ab:5,Fb:1,Jb:[n3,o3,p3,q3],Ib:[B3,E3,F3,H3],Cb:null,zb:0,yb:"high",wb:"low"},column:{Ab:6,Fb:1,Jb:[x3,m3,wma,vma,n3,o3,p3,q3],Ib:[K3,A3,Cma,Bma,B3,E3,F3,H3],Cb:null,zb:0,yb:"value",wb:"zero"},"jump-line":{Ab:19,Fb:2,Jb:[$.RG,$.iH,$.dH,$.SG],Ib:[z3,G3,C3,D3],Cb:null,zb:0,yb:"value",wb:"value"},hilo:{Ab:31,Fb:2,Jb:[$.RG,$.oH,$.sH],Ib:[z3,J3,I3],Cb:null,zb:0,yb:"high",wb:"low"},stick:{Ab:20,Fb:2,Jb:[$.RG,
$.iH,$.dH,$.SG],Ib:[z3,G3,C3,D3],Cb:null,zb:0,yb:"value",wb:"zero"},line:{Ab:8,Fb:1,Jb:[$.RG,$.iH,$.dH,$.SG],Ib:[z3,G3,C3,D3],Cb:null,zb:0,yb:"value",wb:"value"},marker:{Ab:9,Fb:1,Jb:[x3,m3,o3,q3,vma,n3,p3,wma],Ib:[K3,A3,E3,H3,Bma,B3,F3,Cma],Cb:null,zb:0,yb:"value",wb:"value"},ohlc:{Ab:10,Fb:1,Jb:[{name:"rising",Mb:"path",Sb:null,Tb:"risingStroke",Vb:!1,Bb:!1,zIndex:0},{name:"falling",Mb:"path",Sb:null,Tb:"fallingStroke",Vb:!1,Bb:!1,zIndex:0}],Ib:[C3,G3],Cb:null,zb:0,yb:"high",wb:"low"},"range-area":{Ab:11,
Fb:1,Jb:[k3,w3,v3,m3,xma,yma,r3,s3],Ib:[y3,J3,I3,A3,zma,Ama,t3,u3],Cb:null,zb:0,yb:"high",wb:"low"},"range-column":{Ab:12,Fb:1,Jb:[x3,m3,{name:"high",Mb:"path",Sb:"highFill",Tb:"highStroke",Vb:!1,Bb:!1,zIndex:0},{name:"low",Mb:"path",Sb:"lowFill",Tb:"lowStroke",Vb:!1,Bb:!1,zIndex:0},r3,s3],Ib:[K3,A3,{name:"high",Mb:"path",Sb:"highFill",Tb:"highStroke",Vb:!1,Bb:!1,zIndex:0},{name:"low",Mb:"path",Sb:"lowFill",Tb:"lowStroke",Vb:!1,nk:!0,Bb:!1,zIndex:0},t3,u3],Cb:null,zb:0,yb:"high",wb:"low"},"range-spline-area":{Ab:13,
Fb:1,Jb:[k3,w3,v3,m3,xma,yma,r3,s3],Ib:[y3,J3,I3,A3,zma,Ama,t3,u3],Cb:null,zb:0,yb:"high",wb:"low"},"range-step-area":{Ab:14,Fb:1,Jb:[k3,v3,w3,m3],Ib:[y3,I3,J3,A3],Cb:null,zb:0,yb:"high",wb:"low"},spline:{Ab:15,Fb:1,Jb:[$.RG,$.iH,$.dH,$.SG],Ib:[z3,G3,C3,D3],Cb:null,zb:0,yb:"value",wb:"value"},"spline-area":{Ab:16,Fb:1,Jb:[k3,l3,m3],Ib:[y3,z3,A3],Cb:null,zb:0,yb:"value",wb:"zero"},"step-area":{Ab:17,Fb:1,Jb:[k3,l3,m3],Ib:[y3,z3,A3],Cb:null,zb:0,yb:"value",wb:"zero"},"step-line":{Ab:18,Fb:1,Jb:[$.RG,
$.iH,$.dH,$.SG],Ib:[z3,G3,C3,D3],Cb:null,zb:0,yb:"value",wb:"value"}};$.g.Kp=function(a){return $.n(a)?(this.HR=a=K_(a),this):this.HR};$.g.QB=function(a,b,c){return this.te("area",a,b,c)};$.g.XQ=function(a,b,c){return this.te("candlestick",a,b,c)};$.g.ZB=function(a,b,c){return this.te("column",a,b,c)};$.g.uU=function(a,b,c){return this.te("jump-line",a,b,c)};$.g.OT=function(a,b,c){return this.te("hilo",a,b,c)};$.g.LI=function(a,b,c){return this.te("stick",a,b,c)};
$.g.line=function(a,b,c){return this.te("line",a,b,c)};$.g.gr=function(a,b,c){return this.te("marker",a,b,c)};$.g.rV=function(a,b,c){return this.te("ohlc",a,b,c)};$.g.TV=function(a,b,c){return this.te("range-area",a,b,c)};$.g.UV=function(a,b,c){return this.te("range-column",a,b,c)};$.g.VV=function(a,b,c){return this.te("range-spline-area",a,b,c)};$.g.WV=function(a,b,c){return this.te("range-step-area",a,b,c)};$.g.OW=function(a,b,c){return this.te("spline",a,b,c)};
$.g.PW=function(a,b,c){return this.te("spline-area",a,b,c)};$.g.XW=function(a,b,c){return this.te("step-area",a,b,c)};$.g.YW=function(a,b,c){return this.te("step-line",a,b,c)};$.g.Rk=function(a){var b=[],c=this.Kp(),d=arguments.length;$.V(this);if(d)for(var e=0;e<d;e++)b.push(this.te(c,arguments[e]));else b.push(this.te(c,null));this.da(!0);return b};$.g.Qx=function(a){return $.xa(this.Oa,function(b){return b.id()==a})};$.g.Ue=function(a){return this.Nh(this.Qx(a))};
$.g.Nh=function(a){return this.Oa[a]||null};$.g.Mj=function(){return this.Oa.length};$.g.mo=function(a){return this.Cn(this.Qx(a))};$.g.Cn=function(a){var b=this.Oa[a];b&&($.Fp++,$.Ca(this.Oa,a,1),$.qd(b),this.B(512,1),$.Ip());return this};$.g.kp=function(){if(this.Oa.length){var a=this.Oa;$.Fp++;this.Oa=[];$.td(a);this.B(512,1);$.Ip()}return this};$.g.Te=function(){return this.Oa};
$.g.Sr=function(a){this.Bi||(this.Bi=new $.vz,this.Bi.Fa("chart.defaultSeriesSettings","stock.scroller.defaultSeriesSettings"));return $.n(a)?(this.Bi.ma=a,this):this.Bi};$.g.tv=function(a){a=K_(a);var b=this.Oi[a];b&&b.Ab in $.sG?a=[a,b]:($.cl(4,null,[a+" series"]),a=null);return a};$.g.ob=$.ia;$.g.kv=$.ia;$.g.BL=function(a){return a.check(32768)?31:30};
$.g.te=function(a,b,c,d){var e=this.tv(a);e?(a=new L2(this,a,e[1]),e=(e=this.Oa[this.Oa.length-1])?e.mh()+1:0,this.Oa.push(a),a.mh(e),a.data(b||null,c,d),$.RA(a),a.clip(!0),$.SA(a,.9),a.sq(this.cc().nc(e)),a.Cw(this.oe().nc(e)),a.ib(this),$.L(a,this.uI,this),this.B(512,1)):a=null;return a};$.g.uI=function(a){var b=1;$.X(a,4)&&(b|=4);this.B(512,b)};$.g.IA=function(){for(var a=0;a<this.Oa.length;a++){var b=this.Oa[a];b&&b.SD()}};$.g.Pv=function(){for(var a=0;a<this.Oa.length;a++)this.Oa[a].B(2116)};
ama(S2);$.g=S2.prototype;$.g.mc=function(){return this.Ba};$.g.lb=function(){return this.ea};$.g.Rf=function(){return this.lb()};$.g.Va=function(a){if($.n(a))return this.cb=a,T2(this),this;this.cb||(this.cb=new z2(this));return this.cb};$.g.PO=function(){S2.u.PO.call(this);T2(this)};$.g.GL=function(){return this.Ba.b.ba.OH};$.g.tn=function(){return this.Ba.NJ()};$.g.za=function(){return!1};
$.g.bb=function(a){if($.n(a)){if(a=$.Xs(this.wc,a,null,3,["Scroller Y scale","scatter","linear, log"],this.Vy,this)){var b=this.wc==a;this.wc=a;this.wc.da(b);if(!b){for(a=0;a<this.Oa.length;a++)(b=this.Oa[a])&&b.enabled()&&b.bb()==this.wc&&(b.B(1024),this.B(512));this.ta(1)}}return this}this.wc||(this.wc=$.Ts(),$.L(this.wc,this.Vy,this));return this.wc};
$.g.Vy=function(a){for(var b=0,c=0;c<this.Oa.length;c++){var d=this.Oa[c];d&&d.enabled()&&d.bb()==this.wc&&(b|=d.B(1024))}b&&(b=1,$.X(a,4)&&(b|=4),this.B(512,b))};$.g.lh=function(a){this.ec||(this.ec=new y0(this,!0),this.ec.ib(this),this.ec.zIndex(52),$.W(this,"xAxis",this.ec),$.L(this.ec,this.wX,this),this.B(1024,1));return $.n(a)?(this.ec.K(a),this):this.ec};$.g.wX=function(){this.B(1024,1)};$.g.Rx=function(){return this.ec};$.g.Tx=function(){return null};
$.g.$=function(){S2.u.$.call(this);if(!this.Bc())return this;this.PA||(this.PA=this.va.Dd(),this.PA.zIndex(1),this.PA.clip(this.ZM),this.NA=this.va.Dd(),this.NA.td(!0),this.NA.zIndex(51),this.NA.clip(this.MA));if(this.J(512)){for(var a=0;a<this.Oa.length;a++){var b=this.Oa[a];if(b){$.V(b);b.ja(this.ea);b.P(this.PA);var c=b,d=this.NA;$.n(d)&&c.ga!=d&&(c.ga=d,c.B(2,1));b.sq(this.cc().nc(a));b.Cw(this.oe().nc(a));b.$();b.da(!1)}}this.IA();this.I(512)}this.J(1024)&&(this.ec&&($.V(this.ec),this.ec.scale(this.Va()),
this.ec.P(this.va),this.ec.ja(this.ea),this.ec.height(this.ea.height),this.ec.$(),this.ec.da(!1)),this.I(1024));return this};$.g.cc=function(a){if($.K(a,$.ys))return this.Ic($.ys,a),this;if($.K(a,$.vs))return this.Ic($.vs,a),this;$.D(a)&&"range"==a.type?this.Ic($.ys):($.D(a)||null==this.Ea)&&this.Ic($.vs);return $.n(a)?(this.Ea.K(a),this):this.Ea};
$.g.Ic=function(a,b){this.Pv();if($.K(this.Ea,a))b&&this.Ea.K(b);else{var c=!!this.Ea;$.qd(this.Ea);this.Ea=new a;b&&this.Ea.K(b);$.L(this.Ea,this.If,this);c&&this.B(512,1)}};$.g.oe=function(a){this.Yc||(this.Yc=new $.ws,$.W(this,"hatchFillPalette",this.Yc),$.L(this.Yc,this.If,this));return $.n(a)?(this.Yc.K(a),this.Pv(),this.B(512,1),this):this.Yc};$.g.If=function(a){$.X(a,2)&&this.B(512,1)};$.g.hi=function(a){var b=this.Ba.b;p0(b);return b.ya.hi(a)};$.g.zf=function(a){var b=this.Ba.b;p0(b);return b.ya.zf(a)};
$.g.n2=function(a,b,c,d){return{type:a,startRatio:b,endRatio:c,startKey:this.Va().Fc(b),endKey:this.Va().Fc(c),source:d}};$.g.R=function(){$.td(this.Ea,this.Yc,this.PA,this.NA,this.ec,this.cb,this.wc,this.Oa,this.aD,this.Bi);this.Bi=this.wc=this.cb=this.ec=this.NA=this.PA=this.Yc=this.Ea=null;this.Oa.length=0;this.aD.length=0;delete this.Ba;S2.u.R.call(this)};$.g.F=function(){var a=S2.u.F.call(this);a.defaultSeriesType=this.Kp();a.palette=this.cc().F();a.hatchFillPalette=this.oe().F();return a};
$.g.X=function(a,b){S2.u.X.call(this,a,b);this.sg(!1,a);"xAxis"in a&&this.lh(a.xAxis);this.cc(a.palette);this.oe(a.hatchFillPalette);this.Kp(a.defaultSeriesType);"defaultSeriesSettings"in a&&this.Sr(a.defaultSeriesSettings);var c=a.series;if($.A(c))for(var d=0;d<c.length;d++){var e=c[d],f=(e.seriesType||this.Kp()).toLowerCase();if(f=this.te(f,e.data))f.K(e),$.D(e)&&"yScale"in e&&1<e.yScale&&f.bb(this.Aw[e.yScale])}};
$.g.bE=function(a){var b,c,d=$.Kl(this.mf("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=$.Ga(d,$.Ja(a.scales,d.length)))}var e={};if($.A(d))for(b=0;b<d.length;b++){c=d[b];$.z(c)&&(c={type:c});var f=O_(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=O_(c.type,!1),f.K(c),e[b]=f);c=$.Kl(this.mf("yScale"));a&&$.n(a.yScale)&&("object"==$.ka(a.yScale)&&"object"==$.ka(c)?$.ra(c,a.yScale):
c=a.yScale);$.ea(c)?f=e[c]:$.z(c)?(f=O_(c,!0))||(f=e[c]):$.D(c)?(f=O_(c.type,!1),f.K(c)):f=null;f&&this.bb(f);this.Aw=e};$.g.sg=function(a,b){this.bE(b);this.lh()};var Q4=S2.prototype;Q4.area=Q4.QB;Q4.candlestick=Q4.XQ;Q4.column=Q4.ZB;Q4.stick=Q4.LI;Q4.jumpLine=Q4.uU;Q4.hilo=Q4.OT;Q4.line=Q4.line;Q4.marker=Q4.gr;Q4.ohlc=Q4.rV;Q4.rangeArea=Q4.TV;Q4.rangeColumn=Q4.UV;Q4.rangeSplineArea=Q4.VV;Q4.rangeStepArea=Q4.WV;Q4.spline=Q4.OW;Q4.splineArea=Q4.PW;Q4.stepArea=Q4.XW;Q4.stepLine=Q4.YW;
Q4.getSeries=Q4.Ue;Q4.yScale=Q4.bb;Q4.xAxis=Q4.lh;Q4.defaultSeriesType=Q4.Kp;Q4.addSeries=Q4.Rk;Q4.getSeriesAt=Q4.Nh;Q4.getSeriesCount=Q4.Mj;Q4.removeSeries=Q4.mo;Q4.removeSeriesAt=Q4.Cn;Q4.removeAllSeries=Q4.kp;Q4.palette=Q4.cc;Q4.hatchFillPalette=Q4.oe;$.H(gma,$0);$.H(U2,$.Yq);$.U(U2,Y3);$.xq(U2,$3,"normal");$.g=U2.prototype;$.g.sa=64;$.g.qa=1;$.g.dC=function(){this.B(64,1)};$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};$.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.Ze().bj().group(c,d)};
$.g.data=function(a){var b=this.Ba.Ze().bj().group().data(a);return $.n(a)?this:b};$.g.gZ=function(a){var b=a.group;if(b){var c=a.index;a=a.originalEvent;if(this.g!=b||this.j!=c)this.dispatchEvent(V2(this,a,!1,[{group:b,index:c}],b,c))&&o1(b.Ze.bj(),b,c,$.po,$.Zl)?(this.g=b,this.j=c):(this.g=null,this.j=window.NaN);$.Aw(b.Xa(),a.clientX,a.clientY,b.MS(c))}};
$.g.daa=function(a){var b=a.group;if(b){var c=a.index;this.dispatchEvent(V2(this,a.originalEvent,!1,[],b,c));o1(b.Ze.bj(),b,c,$.Zl,$.po);b.Xa().Oc(!0);this.g=null;this.j=window.NaN}};
$.g.caa=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(V2(this,a,!0,[],this.b,this.f))&&o1(this.b.Ze.bj(),this.b,this.f,d?$.po:$.Zl,$.qo);!d&&this.dispatchEvent(V2(this,a,!0,[{group:b,index:c}],b,c))&&o1(b.Ze.bj(),b,c,$.qo)?(this.b=b,this.f=c):(this.b=null,this.f=window.NaN)}};$.g.Xa=function(a){this.gb||(this.gb=new $.iw(0),$.W(this,"tooltip",this.gb));return $.n(a)?(this.gb.K(a),this):this.gb};
$.g.F=function(){var a=U2.u.F.call(this);$.Hq(this,Y3,a);a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();a.tooltip=this.Xa().F();return a};
$.g.X=function(a,b){U2.u.X.call(this,a,b);this.Xa().ia(!!b,a.tooltip);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected);$.zq(this,Y3,a);var c;if($.n(c=a.groups)){var d=this.Ba.Ze().bj();$.td(d.b);d.b.length=0;if($.A(c))for(d=0;d<c.length;d++){var e=c[d];null!=e&&this.group(d,e)}}else $.n(d=a.data)&&this.data(d)};$.g.R=function(){$.td(this.ca,this.xa,this.Ca,this.gb);this.ca=this.xa=this.Ca=this.Ba=this.gb=null;U2.u.R.call(this)};var R4=U2.prototype;
R4.group=R4.group;R4.data=R4.data;R4.tooltip=R4.Xa;R4.normal=R4.Sa;R4.hovered=R4.mb;R4.selected=R4.selected;$.H(W2,$.ag);W2.prototype.Hq=function(){this.deltaY=this.deltaX=0};W2.prototype.Rr=function(a,b){this.yB.jc(1,0,0,1,0,b);this.qX.jc(1,0,0,1,0,b)};W2.prototype.oA=function(){return 0};W2.prototype.Yv=function(a){var b=this.b.top+this.b.height,c=this.b.top,d=Number(this.yB.ee("ac-top"));a=$.Za(a,c-d,b-d);this.g=a+d;return a};$.H(X2,$.qf);$.g=X2.prototype;$.g.$q=function(a){var b=a.target,c=b.tag;b=new W2(b,this.b[c]);b.b=this.G[c];b.ra("start",this.Baa,!1,this);b.ra("drag",this.mca,!1,this);b.ra("end",this.Aaa,!1,this);this.g[c]=b;b.Tj(a.Vj)};$.g.Baa=function(){this.dispatchEvent("dragStart")};$.g.mca=function(a){a=a.f;var b=Number(a.yB.ee("ac-top")),c=a.b.left,d=a.b.left+a.b.width;this.f=a.g;this.O.fill(this.Ba.jE().qm().fill()).clear().moveTo(c,b).lineTo(d,b).lineTo(d,this.f).lineTo(c,this.f).close()};
$.g.Aaa=function(a){this.O.clear();this.dispatchEvent("dragEnd");var b=a.f;a=Number(b.yB.tag);b=b.b;var c=this.U[a];b=(this.f-b.top+c)/(b.height+c+this.N[a]);a=this.D[a];c=a.m5.i("weight");var d=a.k2.i("weight");c+=d;b*=c;c-=b;this.Ba.oz(!1);a.m5.weight(b);a.k2.weight(c);this.Ba.oz(!0)};$.g.reset=function(){for(var a=this.wd=0;a<this.j.length;a++){var b=this.j[a];b.clear();b.jc(1,0,0,1,0,0);b=this.b[a];b.clear();b.jc(1,0,0,1,0,0)}};
$.g.add=function(){var a=this.j[this.wd],b=this.b[this.wd];a||(b=this.Kc.path(),b.zIndex(0),this.b.push(b),a=this.Kc.path(),a.zIndex(1),a.stroke($.Ul,10),a.cursor("ns-resize"),this.j.push(a),a.tag=this.wd,a.ve("mousedown",this.$q,!1,this),a.ra("mousemove",this.jia,!1,this),a.ra("mouseout",this.kia,!1,this));this.wd++;b.stroke(this.Ba.jE().Sa().stroke());return{yB:a,qX:b}};$.g.jia=function(a){this.b[Number(a.target.tag)].stroke(this.Ba.jE().mb().stroke())};$.g.kia=function(a){this.b[Number(a.target.tag)].stroke(this.Ba.jE().Sa().stroke())};
$.g.R=function(){this.Kc=null;$.td(this.j,this.g,this.b);this.j.length=0;this.b.length=0;this.g.length=0;this.D=null;X2.u.R.call(this)};$.H(Y2,$.Yq);
Y2.prototype.sync=function(){this.j.reset();if(!this.Aa.i("plotsManualBounds")&&!this.b){var a=d3(this.Aa),b,c=!1;for(b=0;b<a.length;b++){var d=a[b];if(H2(d)){c=!0;break}}if(!c&&this.Aa.jE().enabled()){for(b=0;b<a.length;b++)if(d=a[b],!F2(d)){c=d.lb();var e=jma(this.Aa,d),f=e.lb(),h=this.j.add();h.yB.moveTo(c.left,c.top).lineTo(c.left+c.width,c.top).ee("ac-top",c.top);h.qX.moveTo(c.left,c.top+.5).lineTo(c.left+c.width,c.top+.5);h=this.j;h.D[h.wd-1]={m5:e,k2:d};h=d.Rf();d=e.Rf();d=f.height-d.height+
20;e=c.height-h.height+20;f&&c?(f=new $.J(f.left,f.top,f.width,f.height),$.qb(f,c)):f=null;f.top+=d;f.height-=d+e;c=this.j;h=c.wd-1;var k=c.g[h];k?k.b=f:c.G[h]=f;c.U[h]=d;c.N[h]=e}a=this.j;for(b=a.wd;b<a.j.length;b++)a.j[b].clear(),a.b[b].clear()}}};Y2.prototype.R=function(){this.Aa=null;$.td(this.ub,this.j);this.j=this.ub=null;Y2.u.R.call(this)};$.H(Z2,$.Yq);var S4={};$.hq(S4,[[1,"fill",$.Eq]]);$.U(Z2,S4);Z2.prototype.X=function(a,b){Z2.u.X.call(this,a,b);$.zq(this,S4,a,b)};Z2.prototype.F=function(){var a=Z2.u.F.call(this);$.Hq(this,S4,a,void 0,void 0,!0);return a};$.H($2,$.Yq);var T4={};$.hq(T4,[[1,"stroke",$.Dq]]);$.U($2,T4);$2.prototype.X=function(a,b){$2.u.X.call(this,a,b);$.zq(this,T4,a,b)};$2.prototype.F=function(){var a=$2.u.F.call(this);$.Hq(this,T4,a,void 0,void 0,!0);return a};$.H(a3,$.Yq);a3.prototype.qa=1;var U4={};$.hq(U4,[[1,"stroke",$.Dq]]);$.U(a3,U4);a3.prototype.X=function(a,b){a3.u.X.call(this,a,b);$.zq(this,U4,a,b)};a3.prototype.F=function(){var a=a3.u.F.call(this);$.Hq(this,U4,a,void 0,void 0,!0);return a};$.H(b3,$.Yq);$.xq(b3,["stroke"],"normal");b3.prototype.qa=1;var V4={};$.hq(V4,[[0,"enabled",$.uq]]);$.U(b3,V4);$.g=b3.prototype;$.g.qm=function(a){this.Tl||(this.Tl=new Z2,$.L(this.Tl,this.y3,this),$.W(this,"preview",this.Tl));return $.n(a)?(this.Tl.K(a),this):this.Tl};$.g.y3=function(){this.ta(1)};$.g.Sa=function(a){this.ca||(this.ca=new a3,this.ca.Fa(this.ma),$.W(this,"normal",this.ca),$.L(this.ca,this.y3,this));return $.n(a)?(this.ca.K(a),this):this.ca};
$.g.mb=function(a){this.xa||(this.xa=new $2,$.W(this,"hovered",this.xa));return $.n(a)?(this.xa.K(a),this):this.xa};$.g.Od=function(a){return $.da(a)||null===a?{enabled:!!a}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?(a?this.ma.enabled=c.enabled:this.enabled(c.enabled),!0):!1};$.g.X=function(a,b){b3.u.X.call(this,a,b);$.zq(this,V4,a,b);"normal"in a&&this.Sa().ia(!!b,a.normal);"hovered"in a&&this.mb().ia(!!b,a.hovered);"preview"in a&&this.qm().ia(!!b,a.normal)};
$.g.F=function(){var a=b3.u.F.call(this);$.Hq(this,V4,a,void 0,void 0,!0);this.ca&&(a.normal=this.ca.F());this.xa&&(a.hovered=this.xa.F());this.Tl&&(a.preview=this.Tl.F());return a};$.g.R=function(){$.td(this.ca,this.xa,this.Tl);this.Tl=this.xa=this.ca=null;b3.u.R.call(this)};var W4=b3.prototype;W4.normal=W4.Sa;W4.hovered=W4.mb;W4.preview=W4.qm;$.H(c3,$.gx);c3.prototype.qa=$.gx.prototype.qa;c3.prototype.sa=$.gx.prototype.sa|258048;var Hma={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=c3.prototype;$.g.yO=function(){return!1};$.g.Na=function(){return"stock"};
$.g.Te=function(){for(var a=[],b=0;b<this.f.length;b++){var c=this.f[b];c&&a.push.apply(a,c.Te())}return a};$.g.tv=function(a){a=K_(a);var b=this.Oi[a];b&&b.Ab in $.sG?a=[a,b]:($.cl(4,null,[a+" series"]),a=null);return a};$.g.za=function(){return!1};$.g.ob=$.ia;$.g.Gf=function(a){$.cl(51);return $.n(a)?this:null};$.g.Ze=function(a,b){return ima(this,a,b,!$.n(b))};
$.g.KB=function(a){this.g||(this.g=new S2(this),this.g.ib(this),$.W(this,"scroller",this.g),this.g.sg(!0),$.L(this.g,this.V$,this),this.sc.ra(this.g,"scrollerchangestart",this.Tha),this.sc.ra(this.g,"scrollerchange",this.Sha),this.sc.ra(this.g,"scrollerchangefinish",this.Rha),this.B(8196,1));return $.n(a)?(this.g.K(a),this):this.g};
$.g.c4=function(a,b,c,d){var e=this.b.D;var f=window.NaN;var h=$.xk($.jE,a,$.n(null)?null:"max");if("points"==h){a=Math.max(+b||0,10);var k=$.$k(c);h=-1;if("last-visible-date"==k){e=this.b;var l=w0(this.b);p0(e);e=e.f.zf(l)}else"first-visible-date"==k?(e=this.b,h=v0(this.b),p0(e),e=e.f.zf(h),h=1):"first-date"==k?(e=this.b.f.b.length?0:window.NaN,h=1):e=$_(this.b.f);a=e+h*(a-1)+h/2;l=this.b;e-=h/2;p0(l);e=l.f.hi(e);h=this.b;a=$.Za(a,this.b.f.b.length?0:window.NaN,$_(this.b.f));p0(h);f=h.f.hi(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.j}else if(f=$.Tk(a,null)){a=b||1;k=$.$k(c);h=-1;"last-visible-date"==k?e=w0(this.b):"first-visible-date"==k?(e=v0(this.b),h=1):"first-date"==k&&(e=this.b.j,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=$.Rk(a),f=$.Rk(b);this.B(16384);e3(this,e,f);($.da(b)&&b||$.da(c)&&c||d)&&f3(this,"selectedrangechange","select-range");return this};$.g.zda=function(){return{firstSelected:this.b.b.yh,lastSelected:this.b.b.Di,firstVisible:v0(this.b),lastVisible:w0(this.b)}};
$.g.Va=function(a){if($.n(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,z2);var c=$.jr(this,"scroller");c&&$.Zq(c,this.yX,this);a!=b&&(a?(this.cb=new P2(this),c&&c.Va(new P2(c))):(this.cb=new z2(this),c&&c.Va(new z2(c))),$.W(this,"xScale",this.cb),this.cb.K(this.cb.ma),$.L(this.cb,this.yX,this),this.$x());return this}this.cb||(this.cb=new z2(this),$.W(this,"xScale",this.cb),this.cb.K(this.cb.ma),$.L(this.cb,this.yX,
this));return this.cb};$.g.yX=function(a){$.X(a,16)&&(this.N&&this.N.remove(),this.B(81920,1))};$.g.tn=function(a){return $.n(a)?(this.b.tn(a),this):this.b.tn()};$.g.NJ=function(a){return $.n(a)?(s0(this.b,a),this):s0(this.b)};$.g.nha=function(a){return $.n(a)?(this.ka=!!a,this):this.ka};$.g.B_=function(a){return $.n(a)?(this.Pg=!!a,this):this.Pg||{}};$.g.By=function(){this.Za().Nq()&&this.B(4,9)};$.g.GL=function(){return this.b.GL()};
$.g.yda=function(){for(var a=0,b=0;b<this.f.length;b++)this.f[b]&&a++;return a};$.g.I4=function(){return!1};$.g.kda=function(){return this.Zs};
$.g.ei=function(a){var b;this.D&&this.tk().Eu(!0);this.ya||(this.ya=new Y2(this));if(this.J(4)){if(b=$.jr(this,"scroller"))b.ja(a),a=b.qd();if(this.i("plotsManualBounds")){var c;b=0;for(var d=window.NaN,e=[],f=0;f<this.f.length;f++)if((c=this.f[f])&&c.enabled()){c.ja(a);c=c.Za();var h=!1;null!==c.top()?d=$.M(c.top(),a.height):null!==c.bottom()&&(h=!0,e.push(c),d=$.M(c.bottom(),a.height,!0));(0,window.isNaN)(d)||(e.length&&nma(e,b,d,a.height),b=d,d=window.NaN,e.length=0);h||e.push(c)}e.length&&nma(e,
b,a.height,a.height)}else{var k=this.dh=a;b=d3(this);h=0;var l=[];d=k.height;if(e=b.length){var m=d/e,p=0;for(a=0;a<e;a++){c=b[a];c.ja(k);var q=window.NaN;f=c.Za();var r=$.M(f.minHeight(),d),t=$.M(f.height(),d),u=$.M(f.maxHeight(),d);(0,window.isNaN)(r)||(q=Math.max(r,m),c.pa("weight",null));(0,window.isNaN)(t)||(q=(0,window.isNaN)(q)?t:Math.max(t,q),c.pa("weight",null));(0,window.isNaN)(u)||(q=(0,window.isNaN)(q)?Math.min(u,m):Math.min(u,q),c.pa("weight",null));(0,window.isNaN)(q)?p+=1:h+=q;l.push(q);
$.V(f);f.top(null).bottom(null).height(null).minHeight(null).maxHeight(null);f.da(!1)}f=h>d;k=0;q=[];for(a=0;a<e;a++)c=b[a],t=l[a],r=c.i("weight"),null!=r||(r=f?(0,window.isNaN)(t)?m:t:(0,window.isNaN)(t)?(d-h)/p:t),q.push(r),k+=r;for(a=h=0;a<e;a++)c=b[a],f=c.Za(),$.V(f),r=q[a],c.pa("weight",r),c=Math.round(r/k*d),l=f,m=l.jx!=h,l.jx=h,m&&l.ta(2),f.QA(c),h+=c,f.da(!0)}}this.G=window.Infinity;for(a=0;a<this.f.length;a++)(b=this.f[a])&&b.enabled()&&(E2(b),b=b.Wh.width,this.G>b&&(this.G=b));(0,window.isFinite)(this.G)||
(this.G=window.NaN);this.B(16384)}if(this.J(16384)||this.J(32768)){a=this.Va();b=this.KB().Va();d=Cia(this.b,this.G,this.hc||this.ka,a,b);this.J(65536)&&(this.N||(this.N=new gma,o0(this.b,this.N.ie().wK(),!1)),d=this.N,e=this.Va(),f=e.y0(),c=e.z0(),l=e.xs(),h=e.vs(),$.V(d),l.intervalsCount?(l=hma(d,c,l),l=l[0][0],$.ea(l)?e.G={min:l,max:c}:e.G=null):$.ea(null)?e.G={min:null,max:void 0}:e.G=null,h.intervalsCount?(l=hma(d,f,h,!0),$.ea(f)?e.D={min:f,max:l[l.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=Cia(this.b,this.G,this.hc||this.ka,a,b));if(d&1)for(this.$x(),a=0;a<this.f.length;a++)(b=this.f[a])&&b.MD();d&2&&(T2(this.g),this.B(8192),f3(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().Iw();d=$.Ga(e.ag,e.cg,e.eg);f=e.Te();m={};p=!1;for(e=0;e<f.length;e++)l=f[h?f.length-e-1:e],Lia(l),c=l.bb(),c.Hf()&&(c.tg(),a.push(c)),l.enabled()&&(l.Tg()?
p=lma(this,l,m)||p:l.enabled()&&c.Uc.apply(c,l.AG()));if(p)for(e=0;e<f.length;e++)l=f[e],l.enabled()&&(c=l.bb(),"percent"==c.Um()&&mma(l,c,m));for(e=0;e<f.length;e++)if(l=f[e],l.enabled())for(c=l.bb(),h=0;h<d.length;h++)l=d[h],m=l.Hb()?c:this.Va(),m=l.scale()||m,l&&l.enabled()&&c==m&&"consider"==l.i("scaleRangeMode")&&c.Uc.apply(c,l.ds())}if((b=$.jr(this,"scroller"))&&b.He()){f=b.Te();m={};p=!1;for(e=0;e<f.length;e++)l=f[e],Lia(l),c=l.bb(),c.Hf()&&(c.tg(),a.push(c)),l.enabled()&&(l.Tg()?p=lma(this,
l,m)||p:l.enabled()&&c.Uc.apply(c,l.AG()));if(p)for(e=0;e<f.length;e++)l=f[e],l.enabled()&&(c=l.bb(),"percent"==c.Um()&&mma(l,c,m))}for(b=0;b<a.length;b++)a[b].Cg();this.I(32768)}this.J(8192)&&(a=this.KB(),b=this.b.b.yh,d=this.b.b.Di,b=a.Va().transform(b),b=(0,window.isNaN)(b)?0:$.Za(b,0,1),d=a.Va().transform(d),d=(0,window.isNaN)(d)?1:$.Za(d,0,1),$.nB(a,b,d),a.P(this.La).$(),this.I(8192));if(this.J(4096)){d=!1;for(a=0;a<this.f.length;a++)if(b=this.f[a])b.enabled()&&(F2(b,!d),d=!0),b.P(this.La).$();
this.I(4096)}qma(this);this.J(131072)&&this.I(131072);this.ya.sync();this.U||(this.U=new $.rx(this.P().Ha().Bl(),!1),this.U.ra("mousewheel",this.U$,!1,this));this.bj().I(4294967295);this.bj().Sa().Zg().I(4294967295)};
$.g.Zia=function(a,b,c,d,e,f){this.Y2(a,b,c,d,e,f);var h=0<=d;c.gE=c.gE||{CA:window.NaN,wA:window.NaN};b.o("shared")||b.o("shared",c.gE);c.JD?h?(b.o("stackedZeroPrev",c.qw),b.o("stackedValuePrev",c.qw+d)):(b.o("stackedZeroPrev",c.pw),b.o("stackedValuePrev",c.pw+d)):(b.o("stackedZeroPrev",window.NaN),b.o("stackedValuePrev",window.NaN));c.uD?h?(b.o("stackedZeroNext",c.iw),b.o("stackedValueNext",c.iw+d)):(b.o("stackedZeroNext",c.hw),b.o("stackedValueNext",c.hw+d)):(b.o("stackedZeroNext",window.NaN),
b.o("stackedValueNext",window.NaN));a.Uc(b.o("stackedValuePrev"));a.Uc(b.o("stackedValue"));a.Uc(b.o("stackedValueNext"));e&&(e.ys?c.JD=!0:h?c.qw+=d:c.pw+=d,(0,window.isNaN)(f)||(0<=f?e.iw+=f:e.hw+=f))};$.g.Y2=function(a,b,c,d){0<=d?(b.o("stackedZero",c.jp),c.jp+=d,b.o("stackedValue",c.jp)):(b.o("stackedZero",c.fp),c.fp+=d,b.o("stackedValue",c.fp))};$.g.iha=function(a){if(!$.X(a,64)){var b=4096;$.X(a,8)&&(b|=4);$.X(a,4)&&(b|=32768);this.B(b,1)}};
$.g.V$=function(a){var b=8192,c=1;$.X(a,8)&&(b|=32772,c|=8);$.X(a,4)&&(b|=32768);this.B(b,c)};$.g.Zba=function(a){$.X(a,16)&&this.B(16384,1)};$.g.$x=function(){for(var a=0;a<this.f.length;a++){var b=this.f[a];b&&b.$x(!1)}this.B(45056,1)};$.g.hi=function(a){return this.b.hi(a)};$.g.zf=function(a){return this.b.zf(a)};$.g.tk=function(a){this.D?this.wf||(this.wf=new this.D.ChartController(this)):$.cl(4,null,["Annotations"]);return $.n(a)?(this.wf&&this.wf.K(a),this):this.wf};
$.g.CR=function(a){return $.n(a)?(this.ab=a,this):this.ab};$.g.bj=function(a){this.yl||(this.yl=new U2(this),this.yl.ib(this),$.L(this.yl,this.Pca,this));return $.n(a)?(this.yl.K(a),this):this.yl};$.g.Pca=function(){$.V(this);for(var a=0;a<this.f.length;a++)this.f[a].bj().B(64,1);this.da(!0)};$.g.xD=$.ia;$.g.hX=function(){this.eb=this.Ra=this.nb=this.O=window.NaN;this.Tc=null;pma(this)};$.g.qR=function(){return new x0(this)};
$.g.$g=function(a){this.Ef||(this.Ef=new $.$z,this.Ef.il(!0),$.W(this,"crosshair",this.Ef),$.L(this.Ef,this.yA,this),this.B(16777216,1));return $.n(a)?(this.Ef.K(a),this):this.Ef};$.g.yA=function(){this.B(16777216,1)};$.g.OL=function(){for(var a=[],b=0;b<this.f.length;b++){var c=this.f[b];a.push(c&&c.enabled()?c.Rf():null)}return a};
$.g.Cz=function(a,b,c,d,e,f,h){a=c3.u.Cz.call(this,a,b,c,d,e,f,h);c=this.f[b];d=c.Rf();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.Va(),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.Fc(e);a.rightX=l.Fc(f);a.maxValue=m.Fc(h);a.minValue=m.Fc(k);m.Uf()&&(b=a.minValue,a.minValue=a.maxValue,a.maxValue=b);return a};var X4={};$.gq(X4,0,"plotsManualBounds",$.uq);
$.gq(X4,1,"zoomMarqueeFill",$.Eq);$.gq(X4,1,"zoomMarqueeStroke",$.Dq);$.U(c3,X4);$.g=c3.prototype;$.g.G4=function(a,b){$.jx(this,this.Wga,null,this.Vga,this.OL(),"crosshair",a,this.i("zoomMarqueeStroke"),this.i("zoomMarqueeFill"),!b);return this};$.g.Wga=function(){h3(this);return!0};
$.g.Vga=function(a,b,c,d){if(5<Math.abs(d)){var e=this.f[a].Rf();a=this.Va();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.Fc(c);a=a.Fc(b);b=this.b.zf(c);d=this.b.zf(a);1>d-b&&(c=this.b.hi(Math.floor(b)),a=this.b.hi(Math.ceil(d)));(0,window.isNaN)(c)||(0,window.isNaN)(a)||c==this.b.b.yh&&a==this.b.b.Di||!f3(this,"selectedrangechangestart","marquee")||!f3(this,"selectedrangebeforechange","marquee",c,a)||(e3(this,c,a),f3(this,"selectedrangechange",
"marquee"),f3(this,"selectedrangechangefinish","marquee"))}i3(this);return!0};$.g.jE=function(a){this.j||(this.j=new b3,$.W(this,"splitters",this.j),$.L(this.j,this.lia,this));return $.n(a)?(this.j.K(a),this):this.j};$.g.lia=function(){this.B(131072,1)};
$.g.U$=function(a){var b=this.OL(),c=$.Wj(this.P().Ha()),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=$.jr(this,"scroller");!f&&b&&b.He()&&(f=(e=b.lb())&&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.Vc(),b)?!c.i("zoomOnMouseWheel")||
(h=$.K(this.Va(),z2),f=this.b.j,e=this.b.D,h?(f=this.b.zf(f),e=this.b.zf(e),b=this.b.b.mg,c=this.b.b.wj):(b=this.b.b.yh,c=this.b.b.Di),(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.hi(b),c=this.b.hi(c)):(d=this.b.zf(b),f=this.b.zf(c),1>f-d&&(d=Math.round(d),f=d+1,b=this.b.hi(d),c=this.b.hi(f))),b==this.b.b.yh&&c==this.b.b.Di))||(a.preventDefault(),this.Ge=b,this.me=c,$.n(this.ba)&&
($.fl.cancelAnimationFrame(this.ba),this.Bd()),$.n(this.ga)||(this.ga=$.fl.requestAnimationFrame(this.Ud))):c.i("scrollOnMouseWheel")&&(b=this.pG(),!(0,window.isNaN)(b.Ei)&&!(0,window.isNaN)(b.lastIndex)&&(d=sma(this,.025*-d,b)))&&(a.preventDefault(),this.Eh=d,this.Tf=b,$.n(this.ga)&&($.fl.cancelAnimationFrame(this.ga),this.Ud()),$.n(this.ba)||(this.ba=$.fl.requestAnimationFrame(this.Bd))))};
$.g.jca=function(){this.ga=void 0;f3(this,"selectedrangechangestart","mouse-wheel")&&f3(this,"selectedrangebeforechange","mouse-wheel",this.Ge,this.me)&&(e3(this,this.Ge,this.me),f3(this,"selectedrangechange","mouse-wheel"),f3(this,"selectedrangechangefinish","mouse-wheel"))};$.g.ica=function(){this.ba=void 0;if(f3(this,"selectedrangechangestart","mouse-wheel")){var a=this.Tf,b=J2(this,this.Eh,a);b&&A2(this,b[0],b[1],a,"mouse-wheel");f3(this,"selectedrangechangefinish","mouse-wheel")}};
var Pma={stock:{"zoom-marquee-start":{index:8,text:"Start zoom marquee",eventType:"anychart.startZoomMarquee",action:function(a){a.menuParent.G4(!1)}},"stock-specific-separator":{index:9.4}}};$.g=c3.prototype;$.g.Hw=function(a){$.Sc(a,$.Kl(Pma.stock));return a};$.g.Tha=function(a){(a=f3(this,"selectedrangechangestart",j3(a.source)))&&h3(this);return a};
$.g.Sha=function(a){a.preventDefault();var b=a.startKey,c=a.endKey;a=j3(a.source);f3(this,"selectedrangebeforechange",a,Math.min(b,c),Math.max(b,c))&&(e3(this,b,c),f3(this,"selectedrangechange",a))};$.g.Rha=function(a){a.preventDefault();f3(this,"selectedrangechangefinish",j3(a.source));i3(this)};$.g.pG=function(){var a=this.b,b=a.j,c=a.D,d=this.zf(b),e=this.zf(c);return{Wr:a.b.yh,Vv:a.b.Di,Ei:a.b.mg,lastIndex:a.b.wj,zn:b,cp:c,ws:d,cw:e}};
$.g.MD=function(a){var b=this.b,c=b.j,d=b.D,e=this.zf(c),f=this.zf(d),h=b.b.Di,k=b.b.mg,l=b.b.wj;a.Wr=b.b.yh;a.Vv=h;a.Ei=k;a.lastIndex=l;a.zn=c;a.cp=d;a.ws=e;a.cw=f};$.g.R=function(){$.td(this.f,this.g,this.b,this.wf,this.yl,this.U,this.Ef,this.j,this.ya);this.ya=this.j=this.Ef=this.U=this.yl=this.wf=this.g=this.f=null;delete this.b;delete this.ab;c3.u.R.call(this)};
$.g.F=function(){var a=c3.u.F.call(this);delete a.noDataLabel;a.grouping=this.tn().F();a.scrollerGrouping=this.NJ().F();a.xScale=this.Va().F();a.scroller=this.KB().F();a.plots=(0,$.Wa)(this.f,function(a){return a?a.F():null});a.crosshair=this.$g().F();a.eventMarkers=this.bj().F();$.Hq(this,X4,a);a.interactivity=this.Vc().F();return a};
$.g.X=function(a,b){c3.u.X.call(this,a,b);var c;"xScale"in a&&this.Va(a.xScale);this.sg(b,a);this.$g(a.crosshair);"defaultPlotSettings"in a&&this.B_(a.defaultPlotSettings);this.KB(a.scroller);this.tn(a.grouping);this.NJ(a.scrollerGrouping);"defaultAnnotationSettings"in a&&this.CR(a.defaultAnnotationSettings);(c=a.eventMarkers)&&this.bj().ia(!!b,c);c=a.selectedRange;$.D(c)&&this.c4(c.start,c.end);$.zq(this,X4,a);this.Vc(a.interactivity)};
$.g.sg=function(a,b){var c=(b||this.ma).plots;if($.A(c))for(var d=0;d<c.length;d++)ima(this,d,c[d],a)};$.g.N0=function(){var a=this.b.U,b=[],c;for(c in a)b.push(a0(a[c]));return b};$.g.HC=function(){return["_","x"]};$.g.nG=function(a,b,c,d){var e=$.ko(a);e in d?d=d[e]:(d=d[e]=c.length,c.push([a,b]));return c[d]};$.g.FV=function(a,b,c){c3.u.FV.call(this,a,b.values,c)};$.g.IC=function(a){return a.Oh()};$.g.GC=function(a,b){var c=b.oa.Uq().Wd().lc.Ra||"yyyy-MM-ddTHH:mm:ss.SSS";return $.js(a.Oh(),c)};
$.g.p0=function(a,b){switch(b){case "selected":var c=a.Qf();break;case "grouped":c=a.oa;var d=c.g?l0(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 W_(c.Zc,{yh:window.NaN,Di:window.NaN,au:window.NaN,Ei:f,lastIndex:h,uy:window.NaN,sN:null,uS:k,Z1:e,gI:null,SM:{},QM:{},eK:[],fK:[],r5:{},q5:{},p5:[],o5:[]},c.D,!c.j,d);break;default:c=m0(a.oa.Uq().wK(),!1)}return c};$.g.u1=function(){return""};
$.g.FL=function(a){a=c3.u.FL.call(this,a);a.headers.shift();a.data.sort(function(a,c){return a[0]-c[0]});(0,$.Qe)(a.data,function(a){a.shift()});return a};var Y4=c3.prototype;$.F("anychart.stock",function(a){a=new c3(a);a.sg(!0);return a});Y4.plot=Y4.Ze;Y4.crosshair=Y4.$g;Y4.scroller=Y4.KB;Y4.splitters=Y4.jE;Y4.xScale=Y4.Va;Y4.selectRange=Y4.c4;Y4.getSelectedRange=Y4.zda;Y4.getType=Y4.Na;Y4.legend=Y4.Gf;Y4.grouping=Y4.tn;Y4.scrollerGrouping=Y4.NJ;Y4.annotations=Y4.tk;Y4.eventMarkers=Y4.bj;
Y4.getPlotsCount=Y4.yda;Y4.startZoomMarquee=Y4.G4;Y4.interactivity=Y4.Vc;Y4.preserveSelectedRangeOnDataUpdate=Y4.nha;}).call(this,$)}
if(!_.theme_stock){_.theme_stock=1;(function($){var kqa=function(){var a=this.defaultDecimalDigitsCount||void 0;return this.seriesName+":\n  Open: "+$.OM(this.open,a)+"\n  High: "+$.OM(this.high,a)+"\n  Low: "+$.OM(this.low,a)+"\n  Close: "+$.OM(this.close,a)},p$=function(){return $.js(this.x,$.fs($.es(this.dataIntervalUnit,void 0,"full")))},lqa=function(){return $.js(this.hoveredDate,$.fs($.es(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=$.OM(this.value,this.defaultDecimalDigitsCount||void 0);return this.seriesName+": "+this.valuePrefix+a+this.valuePostfix},titleFormat:lqa},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: "+$.OM(this.high,a)+"\n  Low: "+$.OM(this.low,a)}}},candlestick:{normal:{labels:{format:p$}},tooltip:{format:kqa}},column:{normal:{labels:{format:p$},stroke:"none"}},rangeColumn:{normal:{labels:{format:p$},stroke:"none"}},ohlc:{normal:{labels:{format:p$}},tooltip:{format:kqa}}},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 $.js(this.dataValue,$.fs($.es(this.majorIntervalUnit)))}},minorLabels:{enabled:!0,anchor:"center-top",fontSize:"11px",padding:{top:5,right:0,bottom:5,left:0},format:function(){return $.js(this.dataValue,$.fs($.es(this.minorIntervalUnit,this.majorIntervalUnit)))}}},dateTimeHighlighter:"#B9B9B9",legend:{enabled:!0,vAlign:"bottom",
iconSize:13,position:"top",titleFormat:function(){return $.js(this.value,$.fs($.es(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,weight:null},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:$.YM},selected:{fill:"#dd2c00"},tooltip:{title:{fontColor:"#fff",enabled:!0},titleFormat:function(){var a=$.js(this.date,$.fs($.es(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:$.SM,stroke:$.SM,lowStroke:$.SM,highStroke:$.SM},pointWidth:"75%"},marker:{normal:{fill:"#999 0.6",stroke:"#999 0.6"},selected:{fill:$.SM,stroke:$.SM}},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:$.aN}},jumpLine:{normal:{stroke:"#999 0.6"},selected:{stroke:$.aN}}},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 $.js(this.dataValue,
$.fs($.es(this.majorIntervalUnit)))}},minorLabels:{enabled:!0,anchor:"left-top",fontSize:"11px",padding:5,format:function(){return $.js(this.dataValue,$.fs($.es(this.minorIntervalUnit,this.majorIntervalUnit)))}},ticks:{position:"center"},minorTicks:{enabled:!0,stroke:"#cecece",position:"center"},zIndex:75,showHelperLabel:!0}},splitters:{enabled:!0,normal:{stroke:"1 #ddd 0.5"},hovered:{stroke:"1 #ddd 0.8"},preview:{fill:"#000 0.1"}},plotsManualBounds:!1,tooltip:{allowLeaveScreen:!0,displayMode:"union",
title:{fontSize:13},titleFormat:lqa},a11y:{titleFormat:$.fN},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,$)}
if(!_.sunburst){_.sunburst=1;(function($){var uZ=function(a){$.Yq.call(this);this.target=a;this.Rb=this.Y=null;this.I(4294967295);$.T(this.ua,[["thickness",0,1],["enabled",0,1]]);a={};$.T(a,[["labels",0,0]]);this.ca=new $.Yx(this,a,$.Zl);this.ca.pa("labelsFactoryConstructor",$.ay);this.ca.pa("labelsAfterInitCallback",function(a){$.L(a,this.Yea,this);a.ib(this);this.B(16,1)});a={};$.T(a,[["labels",0,0]]);this.xa=new $.Yx(this,a,$.po);this.xa.pa("labelsFactoryConstructor",$.ay);a={};$.T(a,[["labels",0,0]]);this.Ca=new $.Yx(this,a,$.qo);this.Ca.pa("labelsFactoryConstructor",
$.ay);this.ca.labels().I(4294967295)},vZ=function(a,b){$.HC.call(this,a,b);this.Fa("sunburst");this.state=new $.Vw(this);this.O={};this.j=[];this.D=[];this.hc=[];this.Ob=[];this.U=this.Yc=this.Ea=null;this.Ge={};this.B(4294967295);$.T(this.ua,[["radius",4,1],["innerRadius",4,1],["startAngle",16,1],["calculationMode",16,1],["sort",16,1]]);var c={};$.T(c,[["fill",528,1],["stroke",528,1],["hatchFill",528,1],["labels",0,0]]);this.ca=new $.Yx(this,c,$.Zl);this.ca.pa("labelsFactoryConstructor",$.ay);this.ca.pa("labelsAfterInitCallback",
function(a){$.L(a,this.dr,this);a.ib(this);this.B(16,1)});c={};$.T(c,[["fill",16,1],["stroke",16,1],["hatchFill",0,0],["labels",0,0]]);this.xa=new $.Yx(this,c,$.po);this.xa.pa("labelsFactoryConstructor",$.ay);c={};$.T(c,[["fill",16,1],["stroke",16,1],["hatchFill",0,0],["labels",0,0]]);this.Ca=new $.Yx(this,c,$.qo);this.Ca.pa("labelsFactoryConstructor",$.ay);this.Gk=(0,$.pa)(this.Iea,this)},yha=function(a,b){var c=this.calculationMode(),d=!!a.o("isLeaf"),e=!!b.o("isLeaf");d=$.N("parent-independent"==
c?d?a.get("value"):a.o("sunburst_visibleLeavesSum"):a.get("value"));return $.N("parent-independent"==c?e?b.get("value"):b.o("sunburst_visibleLeavesSum"):b.get("value"))-d},zha=function(a,b){return-yha.call(this,a,b)},Aha=function(a){for(var b=0;b<a.ba.length;b++){var c=a.ba[b];c&&c.o("labelIndex",void 0)}},wZ=function(a,b){if(!a)return $.Pl;var c=b+"|"+a+"|true",d=Bha[c];if(!d){switch(b){case 2:d=$.Rl;break;case 3:d=$.Sl;break;default:case 1:d=$.Tl}Bha[c]=d=$.qa(Cha,a,d,3==b,!0)}return d},Cha=function(a,
b,c,d,e,f,h,k){var l=e.aa();if(f!=$.Zl&&d){var m=e.zc(a,f,l.f,b,!1,void 0,h);c&&!0===m&&(m=b(e.ph()));if($.n(m)){if(!$.E(m))return m;if(c)return c=e.Fi(h),b(m.call(c,c))}}a=e.zc(a,0,l.f,b,!1,void 0,h);k=$.n(k)?k:a;c&&!0===a&&(a=b(e.ph()));$.E(a)&&(c=c?e.Fi(h):e.Ae(k,h),c.sourceColor=b(c.sourceColor),a=b(a.call(c,c)));m&&(c=e.Ae(a,h),a=b(m.call(c,c)));b=a;$.D(b)&&b.hasOwnProperty("mode")&&b.hasOwnProperty("cx")&&null===a.mode&&(a.mode=e.Pf?e.Pf:null);return a},xZ=function(a,b){var c=wZ("stroke",2)(a,
b,!1,null);b||a.aa().f.o("stroke",c);return c},Dha=function(a,b){var c=a.aa(),d=c.o("path"),e=wZ("fill",1)(a,b,!1,null);b||a.aa().f.o("fill",e);var f=xZ(a,b);var h=wZ("hatchFill",3)(a,b,!1,null);b||a.aa().f.o("hatchFill",h);h=h||null;$.n(d)&&(d.fill(e),d.stroke(f),e=c.o("hatchPath"),h||e)&&(e||(e=$.KB(a.g),c.o("hatchPath",e)),e.clear().fe($.yg(d)),e.stroke(null).fill(h))},Eha=function(a,b){a.ya=b;var c=Math.min(a.ga.width/a.ya.width,a.ga.height/a.ya.height);(0,window.isFinite)(c)||(c=0);a.f.Kj.jc(c,
0,0,c,a.ga.left-a.ya.left*c+(a.ga.width-c*a.ya.width)/2,a.ga.top-a.ya.top*c+(a.ga.height-c*a.ya.height)/2)},Fha=function(a){var b=a.O;a.Ja=window.NaN;a.nb=[];var c;for(c=0;c<=a.eb;c++){var d=a.hc[c],e=a.Ob[a.eb-c],f=b[c]?b[c]:b[c]={},h=!0,k=window.NaN;if(d){var l=d.i("enabled");d=d.i("thickness");h=null!=l?!!l:h;k=null!=d?d:k}e&&(l=e.i("enabled"),d=e.i("thickness"),h=null!=l?!!l:h,k=null!=d?d:k);f.display=h;f.Eia=k;h&&a.nb.push(c)}},Gha=function(a){if(a.nb.length!=a.eb+1){var b=a.Wv().i("enabled");
b=null!=b?b:!0;for(var c=0;c<a.eb;c++){var d=a.O[c];if(d){var e=$.xa(a.nb,function(a){return a>c}),f=a.O[a.nb[e]];$.Dc(d.nE,function(a,d){for(var e=f?f.nE[d]:null,h=0;h<a.tf.length;h++){var k=a.tf[h],q=k.Al(),r=[];if(e)for(var t=e.tf,u=0;u<t.length;u++){var v=t[u];(!v.o("isLeaf")||b)&&(v=v.o("pathFromRoot")[c+1])&&$.Aa(q,v)&&!$.Aa(r,v)&&r.push(v)}k.o("attendingOnNextVisLevel",r)}})}}}},yZ=function(a,b,c){var d,e=0,f=b.Zb();if($.K(b,$.Nt)||$.K(b,$.Kt))for(d=0;d<f;d++){var h=b.od(d);h.o("pathFromRoot",
[h]);h=yZ(a,h,c);e=Math.max(e,h)}else{d=a.Eh++;b.o("index",d).o("depth",c).o("isLeaf",!f);if(h=b.getParent())h=$.Ha(h.o("pathFromRoot")),h.push(b),b.o("pathFromRoot",h);a.ba[d]=b;a.Tc[d]=b;if(f){for(d=0;d<f;d++)h=b.od(d),h=yZ(a,h,c+1),e=Math.max(e,h);e+=1}b.o("nodeMaxDepth",e)}return e},zZ=function(a,b){var c,d=0,e=0,f=0,h=0,k=b.Zb();if($.K(b,$.Nt)||$.K(b,$.Kt))for(c=0;c<k;c++){var l=b.od(c);var m=zZ(a,l);d+=m.nD;e+=m.e5;f+=m.uF}else{if(k){var p=0;for(c=0;c<k;c++)l=b.od(c),m=zZ(a,l),d+=m.nD,e+=m.e5,
f+=m.uF,h+=m.bja,l.o("isLeaf")&&p++;m=$.N(b.get("value"));l=5;b.o("sunburst_leavesCount",e);b.o("sunburst_childrenLeavesCount",p)}else d=b.o("depth"),e=$.Aa(a.nb,d),d=m=$.N(b.get("value"))||0,l=0,e?(e=1,h=m,b.o("sunburst_leavesCount",1)):(h=e=0,b.o("sunburst_leavesCount",0)),b.o("sunburst_childrenLeavesCount",1);b.o("sunburst_value",m);b.o("sunburst_leavesSum",d);b.o("sunburst_childSum",f);b.o("sunburst_visibleLeavesSum",h);b.o("sunburst_type",l);k=a.O;f=$.N(b.get("value"));var q=b.o("depth");p=b.o("pathFromRoot")[0];
c=(0,$.za)(a.j,p);p=!b.Zb();l=a.Wv().i("enabled");l=null!=l?!!l:!0;k=k[q]?k[q]:k[q]={};k.OI=(k.OI||0)+(p?l?f:0:f);k.my=(k.my||0)+1;k.xH=(k.xH||0)+(p&&l?1:0);k.rz=(k.rz||0)+(p?0:1);k.Ju||(k.Ju=[]);-1!=(0,$.za)(k.Ju,c)||0==k.rz&&!l||k.Ju.push(c);k=k.nE?k.nE:k.nE={};c=k[c]?k[c]:k[c]={};c.OI=(c.OI||0)+(p?l?f:0:f);c.my=(c.my||0)+1;c.xH=(c.xH||0)+(p&&l?1:0);c.rz=(c.rz||0)+(p&&l?0:1);c.uF=(c.uF||0)+b.o("sunburst_childSum");c.nD=(c.nD||0)+b.o("sunburst_leavesSum");c.tf=c.tf?c.tf:c.tf=[];c.tf.push(b);f=m}return{uF:f,
nD:d,e5:e,bja:h}},Hha=function(a){a.xf||(a.xf=new $.JB(function(){return $.nk()},function(a){a.clear()}),a.xf.zIndex(30),a.xf.parent(a.La),a.Gk(),a.g=new $.JB(function(){return $.nk()},function(a){a.clear()}),a.g.zIndex(31),a.g.parent(a.La),a.g.td(!0),a.dh=a.La.Dd(),a.dh.zIndex(32),a.dh.td(!0))},Iha=function(a){if(a.U){var b=a.U.sj;if(b&&a.U.mK)for(var c in b)c in a.Ge||(b=a.dh.path(),b.stroke(null),a.Ge[c]=b),a.Ge[c].clear()}},Jha=function(a,b,c,d,e,f){if(b.o("sunburst_missing"))return 0;var h=b.o("depth"),
k=d,l=b.o("index"),m=a.aa();m.select(l);var p=a.aa().f,q=null,r=null;if(a.U){var t=a.U.sj;if(t){var u=a.U.mK;if(u)for(var v=a.U.state,w=0;w<u.length;w++){var x=(0,u[w])(p,v);x&&x in t&&(q=t[x],r=x)}}}p.o("statefulFill",q);p.o("statefulName",r);p=$.$w(a.state,l);l=b.Zb();q=a.O[h];r=q.display;q=q.jf;b.o("isLeaf")&&(u=a.Wv(),t=u.i("enabled"),u=u.i("thickness"),r=null!=t?r&&t:r,q=null!=u?u:q);u=r;v=a.i("calculationMode");w=b.Zb();x=b.o("depth");t=-1!=(0,$.za)(a.D,b)?null:b.getParent();var y=b.o("depth");
var B=(0,$.za)(a.j,b.o("pathFromRoot")[0]);y=a.O[y].nE[B];if("parent-independent"==v){var G=(0,window.parseFloat)(b.o("sunburst_leavesSum"));c=G/c;if((0,window.isNaN)(c)||!u)t?u?c=G/y.nD:(c=b.o("sunburst_visibleLeavesSum"),u=t.o("sunburst_visibleLeavesSum"),t=(t=t.o("attendingOnNextVisLevel"))&&t.length,c=(v=(v=b.o("attendingOnNextVisLevel"))&&v.length)&&t?c/u:0):(G=window.NaN,c=(c=a.O[a.Ja])?1/c.Ju.length:0)}else"parent-dependent"==v?(u?(G=(0,window.parseFloat)(b.o("sunburst_value")),(0,window.isNaN)(G)&&
(G=(0,window.parseFloat)(b.o("sunburst_leavesSum"))),c=(0,window.isNaN)(c)&&t?G/y.OI:t?G/c:(c=a.O[a.Ja])?1/c.Ju.length:0):w?x>=a.Ja?(G=(0,window.parseFloat)(b.o("sunburst_value")),c=G/c):c=(c=a.O[x+1])&&c.display?1/c.Ju.length:1:c=0,(0,window.isNaN)(c)&&(c=1)):"ordinal-from-root"==v?(v=a.Wv().i("enabled"),v=null!=v?v:!0,c=a.O[a.Ja],w=t&&t.o("sunburst_childrenLeavesCount"),t?u?c=1/(t.Zb()-(v?0:w)):(t=(t=t.o("attendingOnNextVisLevel"))&&t.length,c=(v=(v=b.o("attendingOnNextVisLevel"))&&v.length)&&t?
1/t:0):c=c?1/c.Ju.length:0):t?(c=b.o("sunburst_leavesCount"),c=(t=t.o("sunburst_leavesCount"))?c/t:0):c=(c=a.O[a.Ja])?1/c.Ju.length:0;G=[c,G];c=G[0];G=G[1];e*=(0,window.isNaN)(c)?1:c;c=f;r?(r=xZ(a,0),r=$.Wo(r),r=Math.floor(r/2),q=$.M(q,a.Bd),(0,window.isNaN)(q)&&(q=a.me),c=f+q,q=$.KB(a.xf),$.si(q,a.Cc,a.yc,f+r,c-r,d,e),m.o("path",q),m.o("start",d),m.o("sweep",e),m.o("innerRadius",f),m.o("outerRadius",c),m.o("halfStrokeThickness",r),a.HB(q),a.ce(p),f=a.aa(),r=f.o("statefulFill"),q=f.o("statefulName"),
q in a.Ge&&(q=a.Ge[q],t=xZ(a,p),q.fill(r),q.stroke(t),r=f.o("innerRadius"),t=f.o("outerRadius"),u=f.o("halfStrokeThickness"),v=f.o("start"),f=f.o("sweep"),$.si(q,a.Cc,a.yc,r+u,t-u,v,f))):m.o("path",void 0);m.o("hatchPath",void 0);Dha(a,p);if(l)for(m=b.Al(),a.xc&&$.Qa(m,a.xc),b=0;b<l;b++)k=$.ab(Jha(a,m[b],G,k,e,c));return d=h>=a.Ja?d+e:k},Kha=function(a,b){var c=b.o("pathFromRoot");return 1==a.j.length&&b!=a.j[0]?c[1]:c[0]},Lha=function(a,b,c){if(!b)return a.j;var d=b.o("depth"),e=b.o("nodeMaxDepth");
e=d+e;if(c)if(d<a.nb[0])b=a.j;else{for(c=a.O[d].display;!c&&0<d;)--d,c=a.O[d].display,b=b.getParent();b=[b]}else for(b=[b];d<=e&&!(c=a.O[d].display);d++){c=[];for(var f=0;f<b.length;f++)c.push(b[f].Al());b=c}return b},AZ=function(a,b){var c=$.ka(b);if($.K(b,$.Qt)||$.K(b,$.Mt))return a.Rd(b.o("index"));if("array"==c){c=[];for(var d=0;d<b.length;d++)d in b&&(c[d]=AZ(a,b[d]))}else if("object"==c)for(d in c={},b){if(b.hasOwnProperty(d)){var e=b[d];d in Mha&&(d=Mha[d]);c[d]=AZ(a,e)}}else return b;return c},
Nha=function(a,b){var c=new vZ(a,b);c.ia(!0,$.mm("sunburst"));return c};$.H(uZ,$.Yq);$.xq(uZ,["labels"],"normal");uZ.prototype.qa=9;var BZ=function(){var a={};$.gq(a,0,"thickness",function(a){return null===a?a:$.so(a)});$.gq(a,0,"enabled",$.Nq);return a}();$.U(uZ,BZ);$.g=uZ.prototype;$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};
$.g.Yea=function(a){this.ca.labels().I(4294967295);this.target.dr(a)};$.g.i=$.Xq;$.g.Vf=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Qg=$.Wq;$.g.Md=function(){var a=[this.ma];this.Y&&(a=$.Ga(a,this.Y.Md()));return a};$.g.Ld=function(){var a=[this.Ma];this.Y&&(a=$.Ga(a,this.Y.Ld()));return a};$.g.Od=function(a){return $.da(a)||null===a?{enabled:!!a}:null};$.g.Ce=function(a,b){var c=this.Od(b);return c?(a?this.ma.enabled=c.enabled:this.enabled(c.enabled),!0):!1};
$.g.X=function(a,b){$.zq(this,BZ,a);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected)};$.g.F=function(){var a={};$.Hq(this,BZ,a,"Sunburst level");a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();return a};$.g.R=function(){$.td(this.ca,this.xa,this.Ca);this.Ca=this.xa=this.ca=null;uZ.u.R.call(this)};var CZ=uZ.prototype;CZ.normal=CZ.Sa;CZ.hovered=CZ.mb;CZ.selected=CZ.selected;$.H(vZ,$.HC);$.xq(vZ,["fill","stroke","hatchFill","labels"],"normal");vZ.prototype.sa=$.HC.prototype.sa|40960;var DZ=function(){var a={};$.hq(a,[[0,"sort",function(a){return $.E(a)?a:$.Gk(a)}],[0,"calculationMode",$.tq],[0,"radius",function(a){return $.so(a,"100%")}],[0,"innerRadius",function(a){return $.E(a)?a:$.so(a)}],$.Z.bz]);return a}();$.U(vZ,DZ);
var Mha={OI:"sum",my:"nodesCount",xH:"leavesCount",rz:"branchesCount",uF:"childSum",nD:"leavesSum",tf:"nodes",Ju:"attendingRoots",display:"display",jf:"thickness",nE:"statsByRoot"};$.g=vZ.prototype;$.g.Na=function(){return"sunburst"};
$.g.Iea=function(){if(!this.fd){var a=this.P();(a=a?a.Ha():null)&&this.Rf()?(a=a.Bl(),$.hE||($.hE=$.Ne("textarea"),$.hE.setAttribute("readonly","readonly"),$.uf($.hE,{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",left:0,top:0,width:"1px"}),window.document.body.appendChild($.hE),$.Id($.hE,["focus","focusin","select"],function(a){a.preventDefault()})),this.lg=new $.xC($.hE),this.lg.N=!0,this.lg.O=!0,this.lg.G=!0,this.lg.U=!0,this.lg.kl("drill_up",
8),this.lg.kl("drill_up",27),this.lg.ra("shortcut",function(a){$.hE.Aa&&$.hE.Aa!=this||"drill_up"==a.identifier&&this.eF(this.D[0].getParent())},!1,this),this.ip=function(a){if(this.P()&&this.P().Ha()){var b=$.Wj(this.P().Ha()),d=this.lb();if(d&&a.clientX>=d.left+b.x&&a.clientX<=d.left+b.x+d.width&&a.clientY>=d.top+b.y&&a.clientY<=d.top+b.y+d.height){var e=$.Ge($.te($.hE).b),f=e.scrollLeft,h=e.scrollTop;$.hE.select();$.hE.Aa=this;if($.gd){var k=e.scrollLeft,l=e.scrollTop;(0,window.setTimeout)(function(){e.scrollLeft==
k&&e.scrollTop==l&&$.fl.scrollTo(f,h)},0)}else $.fl.scrollTo(f,h)}}},$.Id(a,"mouseup",this.ip,!1,this)):(0,window.setTimeout)(this.Gk,100)}};$.g.ig=function(a){a=$.Y.prototype.ig.call(this,a);var b=$.mo(a.domTarget).index;if(!$.n(b)&&$.Zw(this.state,$.po)){var c=$.ex(this.state,$.po);c.length&&(b=c[0])}b=$.N(b);(0,window.isNaN)(b)||(a.pointIndex=b);return a};$.g.sh=function(a){(a=this.Ig(a))&&this.dispatchEvent(a)};
$.g.Ig=function(a){var b=a.type;switch(b){case "mouseout":b="pointmouseout";break;case "mouseover":b="pointmouseover";break;case "mousemove":b="pointmousemove";break;case "mousedown":b="pointmousedown";break;case "mouseup":b="pointmouseup";break;case "click":b="pointclick";break;case "dblclick":b="pointdblclick";break;default:return null}var c;"pointIndex"in a?c=a.pointIndex:"labelIndex"in a&&(c=a.labelIndex);c=$.N(c);a.pointIndex=c;return{type:b,actualTarget:a.target,series:this,pointIndex:c,target:this,
originalEvent:a,point:this.Rd(c)}};$.g.Oj=function(a){$.n(a)?this.Hi(a):this.Ek();return this};$.g.Ek=function(){this.enabled()&&this.state.xh($.po,!0)};$.g.select=function(a){if(!this.enabled())return this;$.n(a)?this.Mi(a):this.iu();return this};$.g.iu=function(){this.state.xh($.qo,!0)};$.g.ae=function(a){$.n(a)?this.state.Hh($.qo,a):this.state.Hh($.qo,!0)};$.g.Xj=function(a){Dha(this,a);this.ce(a)};
$.g.$D=function(a){a&&(this.D.length=0,$.A(a)?Array.prototype.push.apply(this.D,a):this.D.push(a),this.B(33300,1))};$.g.zx=function(){this.vt();if(this.D.length&&(this.D.length!=this.j.length||-1==(0,$.za)(this.j,this.D[0]))){var a=Lha(this,this.D[0].getParent(),!0);this.$D(a)}};
$.g.kq=function(a){if("drill-down"==this.Vc().i("selectionMode")){if(a.button==$.Mi){var b=$.mo(a.domTarget),c;if($.K(a.target,$.Du)){var d=a.target.Gi();d.Ii&&d.Ii()&&(c=d)}else c=b&&b.W,b=$.ea(b.index)?b.index:a.pointIndex;c&&!c.fd&&c.enabled()&&$.E(c.Ig)?(c=this.aa(),c.select(b),c=c.f,d=(b=-1!=(0,$.za)(this.j,c))&&1<this.j.length&&1==this.D.length,-1!=(0,$.za)(this.D,c)&&!b||d?this.eF(c.getParent()):c.o("isLeaf")?vZ.u.kq.call(this,a):this.eF(c)):vZ.u.kq.call(this,a)}}else vZ.u.kq.call(this,a)};
$.g.eF=function(a,b){b=b||{target:this};if(a){var c=a.o("depth")<this.D[0].o("depth");c=Lha(this,a,c)}else c=this.j;var d=$.IC(this,a);d={type:"drillchange",path:d,current:d[d.length-1]};this.Pd();this.ae();this.Sl&&(this.dispatchEvent(this.Ik("selected",b,this.Sl,!0)),this.Sl=null);this.dispatchEvent(d)&&this.$D(c)};$.g.Sz=function(){this.vt();return this.j?$.IC(this,this.D[0]):null};$.g.xk=function(){return this.Ec()};$.g.uu=function(){return!0};
$.g.cc=function(a){if($.K(a,$.ys))return this.Ic($.ys,a),this;if($.K(a,$.vs))return this.Ic($.vs,a),this;$.D(a)&&"range"==a.type?this.Ic($.ys):($.D(a)||null==this.Ea)&&this.Ic($.vs);return $.n(a)?(this.Ea.K(a),this):this.Ea};$.g.Ic=function(a,b){if($.K(this.Ea,a))b&&this.Ea.K(b);else{var c=!!this.Ea;$.qd(this.Ea);this.Ea=new a;$.W(this,"palette",this.Ea);this.Ea.oq();b&&this.Ea.K(b);$.L(this.Ea,this.If,this);c&&this.B(528,1)}};
$.g.oe=function(a){this.Yc||(this.Yc=new $.ws,$.L(this.Yc,this.If,this));return $.n(a)?(this.Yc.K(a),this):this.Yc};$.g.If=function(a){$.X(a,2)&&this.B(528,1)};var Bha={};$.g=vZ.prototype;$.g.zc=function(a,b,c,d,e,f,h){var k=!!(b&$.po),l=!!(b&$.qo);f=l?this.Ca:k?this.xa:this.ca;e=a.split(".");f=(0,$.Fg)(e,function(a,b){return a[b]()},f);h?a=f:(h=c.get(l?"selected":k?"hovered":"normal"),h=$.n(h)?(0,$.Fg)(e,function(a,b){return a?a[b]:a},h):void 0,a=$.Ro(h,c.get($.$l(b,a)),f));$.n(a)&&(a=d(a));return a};
$.g.ph=function(){var a=this.aa().f,b=a.o("pathFromRoot"),c=1<b.length?b[b.length-2]:null,d=a.o("depth");if(1<this.j.length)a=(0,$.za)(this.j,a),0>a&&(a=(0,$.za)(this.j,b[0]));else{var e=this.j[0];e==a?a=0:(a=e.Al(),a=(0,$.za)(a,b[1])+1)}b=this.oe().nc(a);var f;c?f=c.o("hatchFill"):f=b;var h;c?h=1<this.j.length?c.o("hatchFill"):1==d?b:f:h=b;return h||vZ.b};
$.g.Fi=function(a){var b=this.aa(),c=b.f,d=c.o("index"),e=this.oe(),f=c.o("depth"),h;a||(h=c.get("hatchFill"));a=c.o("pathFromRoot");var k=1<a.length?a[a.length-2]:null,l=Kha(this,c);if(1<this.j.length){var m=(0,$.za)(this.j,c);0>m&&(m=(0,$.za)(this.j,a[0]))}else m=this.j[0],m==c?m=0:(m=m.Al(),m=(0,$.za)(m,a[1])+1);e=e.nc(m);var p;l!=c?p=l.o("hatchFill"):p=e;var q;k?q=k.o("hatchFill"):q=e;var r;k?r=1<this.j.length?k.o("hatchFill"):1==f?e:q:r=e;return{index:b.la(),level:c.o("depth"),isLeaf:0==c.Zb(),
parent:k,point:this.Rd(d),path:a,mainColor:p,autoColor:e,parentColor:q,sourceHatchFill:h||r||vZ.b,iterator:b,series:this,chart:this}};
$.g.Ae=function(a,b){var c=this.aa(),d=c.f,e=d.o("index"),f=this.cc(),h=d.o("depth"),k;b||(k=d.get("fill"));var l=d.o("pathFromRoot"),m=1<l.length?l[l.length-2]:null,p=Kha(this,d);if(1<this.j.length){var q=(0,$.za)(this.j,d);0>q&&(q=(0,$.za)(this.j,l[0]))}else q=this.j[0],q==d?q=0:(q=q.Al(),q=(0,$.za)(q,l[1])+1);q=f.nc(q);var r;p!=d?r=p.o("fill"):r=a||q;var t;m?t=m.o("fill"):t=a||q;var u;m?1<this.j.length?u=m.o("fill"):u=1==h?q:t:u=q;return{index:c.la(),level:d.o("depth"),isLeaf:0==d.Zb(),parent:m,
point:this.Rd(e),path:l,mainColor:r,autoColor:q,parentColor:t,sourceColor:a||k||u||f.nc(0),iterator:c,series:this,chart:this}};$.g.Caa=function(){this.U||(this.U=new $.qx,this.U.ra("statechange",function(){this.B(16,1)},void 0,this));return this.U};$.g.yp=function(a){this.f||(this.f=new $.IB(this),$.L(this.f,this.Aba,this));return $.n(a)?(this.f.K(a),this):this.f};$.g.Aba=function(a){var b=0,c=0;$.X(a,1)&&(b|=16,c|=1);$.X(a,8)&&(b|=8196,c|=1);this.B(b,c)};
$.g.oJ=function(){var a=this.f.Uh.pb();$.ob(a,this.ya)||Eha(this,a)};$.g.kK=function(){this.B(4,1)};$.g.dr=function(a){var b=0,c=0;$.X(a,1)&&(b|=16,c|=1);$.X(a,8)&&(b|=20,c|=9);this.B(b,c)};$.g.al=function(a){this.Ra||(this.Ra=[]);var b=a.la();this.Ra[b]||(this.Ra[b]=$.jn(this.ca.labels().hl(a)));return this.Ra[b]};
$.g.level=function(a,b){if($.n(a)){a=$.N(a);if((0,window.isNaN)(a))return this;if(0<=a)var c=this.hc;else c=this.Ob,a=Math.abs(a)-1;var d=c[a];d||(d=c[a]=new uZ(this),d.ia(!0,$.mm("sunburst.level")),$.L(d,this.h2,this));return $.n(b)?(d.K(b),this):d}return this};$.g.Wv=function(a){this.ab||(this.ab=new uZ(this),this.ab.ia(!0,$.mm("sunburst.level")),$.L(this.ab,this.h2,this));return $.n(a)?(this.ab.K(a),this):this.ab};$.g.h2=function(){this.B(32788,1)};
$.g.On=function(a){this.Pg=Math.min(a.width,a.height);this.Tf=a.clone();this.gp=this.b=Math.min(this.Pg/2,Math.max($.M(this.i("radius"),this.Pg),0));this.Cc=this.Tf.left+this.Tf.width/2;this.yc=this.Tf.top+this.Tf.height/2;a=this.i("innerRadius");this.G=Math.max(Math.floor($.E(a)?a(this.b):$.M(a,this.b)),0);a=this.G/Math.pow(2,.5)*2;this.ga=$.gn(this.Cc-a/2,this.yc-a/2,a,a);this.Pf=new $.J(this.Cc-this.b,this.yc-this.b,2*this.b,2*this.b);this.Bd=this.b-this.G;this.Ml=0;this.hj=this.Bd;a=this.Wv();
var b=a.i("enabled");b=null!=b?b:!0;a=a.i("thickness");a=$.M(a,this.Bd);for(var c=-1,d,e,f=this.ka,h=this.Ud+f,k=f;k<=h;k++){d=this.O[k];e=d.xH;d.jf=Math.min($.M(d.Eia,this.Bd),this.Bd);var l=0==d.rz&&!b;d.display&&!l&&(0<e&&(c=k),(0,window.isNaN)(d.jf)&&this.Ml++);d.display&&!(0,window.isNaN)(d.jf)&&(this.hj-=d.jf)}this.me=Math.floor(this.hj/this.Ml);if(0!=b&&!(0,window.isNaN)(a)){e=b=0;for(k=f;k<=c;k++)d=this.O[k],d.display&&(k==c?b+=Math.max(a,d.rz&&k!=h?(0,window.isNaN)(d.jf)?this.me:d.jf:0):
(0,window.isNaN)(d.jf)?(e++,b+=this.me):b+=d.jf);e&&(this.me-=(b-this.Bd)/e)}a=this.ca.labels();$.V(a);a.Cc(this.Cc);a.yc(this.yc);a.qy(this.b);a.lE(this.Dl());a.Hy(360);a.ja(this.Pf);a.da(!1);this.mb().labels().ja(this.Pf)};
$.g.vt=function(){if(this.J(4096)){Aha(this);this.Eh=0;this.ba=[];this.Tc=[];this.D.length=0;var a=this.data();a&&(this.O={},this.vc(),this.j=a.Al(),this.D=$.Ja(this.j,0),this.eb=yZ(this,a,0),this.D.length?this.Ud=(this.ka=this.D[0].o("depth"))||1==this.D.length?this.D[0].o("nodeMaxDepth"):this.eb:this.Ud=this.ka=0,Fha(this),this.Ja=this.nb[0],zZ(this,a),Gha(this),this.Ia("treeMaxDepth",this.eb),a=AZ(this,this.O),this.Ia("levels",a),this.Ia("currentMaxDepth",this.Ud),this.Ia("currentRootDepth",this.ka));
this.B(20);this.I(36864)}};$.g.ob=function(){this.vt();if(this.J(32768)){if(this.D.length){this.Ud=(this.ka=this.D[0].o("depth"))||1==this.D.length?this.D[0].o("nodeMaxDepth"):this.eb;this.O={};Fha(this);this.Ja=$.ya(this.nb,function(a){return a>=this.ka},this);(0,$.Qe)(this.D,function(a){zZ(this,a)},this);Gha(this);var a=AZ(this,this.O);this.Ia("levels",a);this.Ia("currentMaxDepth",this.Ud);this.Ia("currentRootDepth",this.ka)}this.I(32768)}};
$.g.ei=function(a){if(!this.ef()){this.ob();Hha(this);this.J(8192)&&(this.f.Kj&&(this.f.vF(),this.f.Kj.parent(this.La),this.f.Kj.zIndex(25),this.f.Kj&&($.K(this.f.Uh,$.hg)?this.f.Kj.Ha().ra("renderfinish",this.oJ,!1,this):$.K(this.f.Uh,$.Y)&&this.f.Kj.ra("chartdraw",this.kK,!1,this))),this.I(8192));this.J(4)&&(this.On(a),this.xf.clip(this.Pf),this.g.clip(this.Pf),this.dh.clip(this.Pf),this.B(16));if(this.J(16)){this.xf.clear();this.g.clear();Iha(this);a=this.ca.labels();a.clear();this.ca.labels().P()||
(a.P(this.La),a.zIndex(32));Aha(this);var b=this.Dl(),c=this.G;$.V(this.ca.labels());var d;a=this.i("sort");"desc"==a?d=yha:"asc"==a?d=zha:$.E(a)?d=a:d=null;this.xc=d?(0,$.pa)(d,this):null;d=this.D.slice();this.xc&&$.Qa(d,this.xc);(0,$.Qe)(d,function(a){b=$.ab(Jha(this,a,window.NaN,b,360,c))},this);this.ca.labels().da(!1);this.ca.labels().$();if(this.G){d=this.f.i("fill");a=this.f.i("stroke");this.Ga||(this.Ga=$.kk());var e=this.G-$.bc(a)/2;this.Ga.parent(this.La).zIndex(20).stroke(a).fill(d).Wb(e)}else this.Ga&&
this.Ga.parent(null);this.I(16)}this.J(4)&&(a=this.f.Uh,d=this.f.Kj,$.K(a,$.hg)?(a=a.pb(),Eha(this,a),d.clip(null)):$.K(a,$.Y)&&(a.ja(this.ga),a.da(!1),a.$(),d.jc(1,0,0,1,0,0),d.clip($.kk(this.Cc,this.yc,this.G+2))),this.Ga&&this.G&&this.Ga.zp(this.Cc).Ap(this.yc))}};
$.g.ce=function(a){a=$.Xl(a);var b=a==$.po,c=a==$.qo,d=this.aa(),e=d.o("sweep"),f=d.o("innerRadius"),h=d.o("outerRadius");a=(h+f)/2*Math.sin($.bb(e/2));if((180>=e?5<=a:10<=h)&&20<=h-f){var k=d.f;a=this.ca.labels();var l=c?this.Ca.labels():b?this.xa.labels():null,m=k.get("normal");m=$.n(m)?m.label:void 0;m=$.Ro(m,k.get("label"));var p=c?k.get("selected"):b?k.get("hovered"):void 0;p=$.n(p)?p.label:void 0;p=c?$.Ro(p,k.get("selectLabel")):b?$.Ro(p,k.get("hoverLabel")):null;var q=d.la();(d=a.Vd(q))||(d=
a.add(null,null,q));var r=k.o("depth");q=this.hc[r];r=this.Ob[this.eb-r];if(q){var t=q.Sa().labels();var u=c?q.selected().labels():b?q.mb().labels():null}if(r){var v=r.Sa().labels();var w=c?r.selected().labels():b?r.mb().labels():null}if(k.o("isLeaf")){var x=this.Wv();var y=x.Sa().labels();x=c?x.selected().labels():b?x.mb().labels():null}d.oi();$.Qu(d,$.ho([p,0,x,$.co,w,$.co,u,$.co,l,$.co,m,0,y,$.co,v,$.co,t,$.co,a,$.co,d,$.co,x,$.eo,u,$.eo,w,$.eo,l,$.eo,y,$.eo,v,$.eo,t,$.eo,a,$.eo]));if(b=d.ic("enabled"))c=
y=null,t=this.Ai(),u=this.Ec(!0),d.lf(u),d.height(c).width(y),x=d.ic("position"),u=(new $.tu).K(d.ic("padding")),h-=f,w=t.value.angle,v=t.value.radius,"circular"==x||"radial"==x&&360==e?360!=e||f?(f=d,y=this.aa(),w=$.n(v)?v:f.uc().value.radius,x=y.o("sweep"),c=y.o("start"),c=360==x?-90:c,l=(new $.tu).K(f.ic("padding")),m=2*Math.PI*w/360,y=c,c+=x,p=Math.abs(c-y),k=this.i("stroke"),m=(p-(l.wg(p*m)-$.bc(k))/m)/2,$.qd(l),y+=m,c-=m,l=x,m=$.ab(y+l/2),(0,window.isNaN)(l)&&(l=x),360==l&&(m=(-90+l)/2),0<m&&
180>m&&(x=y,y=c,c=x,x=f.ic("vAlign"),"top"==x?f.pa("vAlign","bottom"):"bottom"==x&&f.pa("vAlign","top")),l=$.bb(y),x=$.en(l,w,this.Cc),l=$.fn(l,w,this.yc),(m=f.ii().path())?m.clear():(m=$.nk(),$.sd(this,m)),c!=y&&m.moveTo(x,l).BQ(w,w,y,c-y),f.ii().path(m),f=m,d.ii().path(f),e=Math.PI*v*e/180,y=u.wg(e),c=u.Jh(h)-15):(e=d.ii(),(f=e.path())&&e.path(null),y=c=2*h,y=u.wg(y),c=u.Jh(c)):"radial"==x&&(f=d,p=this.aa(),l=p.f,c=$.n(w)?w:f.uc().value.angle,m=p.o("start"),x=p.o("sweep"),y=p.o("innerRadius"),w=
p.o("outerRadius"),(l=l.getParent())&&360==l.o("sweep")?l=c:(l=$.ab(m+x/2),360==x&&(l=(-90+x)/2),(0,window.isNaN)(l)&&(l=c)),x=w-y,m=f.ic("padding"),w-=$.M(m.left,x),y+=$.M(m.right,x),90<l&&270>l&&(x=y,y=w,w=x,x=f.ic("hAlign"),"start"==x||"left"==x?f.pa("hAlign","end"):("end"==x||"right"==x)&&f.pa("hAlign","start")),l=$.bb(c),c=$.en(l,y,this.Cc),y=$.fn(l,y,this.yc),x=$.en(l,w,this.Cc),w=$.fn(l,w,this.yc),(f=f.ii().path())?f.clear():(f=$.nk(),$.sd(this,f)),f.moveTo(c,y).lineTo(x,w),d.ii().path(f),
e=Math.PI*v*e/180,c=u.Jh(e),y=u.wg(h)),$.qd(u),d.width(y).height(c).uc(t);b?d.$():a.clear(d.la())}};
$.g.Ec=function(a){var b=this.aa(),c=b.f;if(!this.de||a)this.de=new $.rw;this.de.Ag(b).mj([this.Rd(b.la()),this]);a=this.i("calculationMode");b=!!c.o("isLeaf");c={value:{value:$.N("parent-independent"==a?b?c.get("value"):c.o("sunburst_visibleLeavesSum"):c.get("value")),type:"number"},name:{value:c.get("name"),type:"string"},index:{value:c.o("index"),type:"number"},chart:{value:this,type:""},item:{value:c,type:""},depth:{value:c.o("depth"),type:"number"}};return $.av(this.de,c)};
$.g.Ai=function(){var a=this.aa(),b=a.o("start"),c=a.o("sweep"),d=a.o("innerRadius");a=a.o("outerRadius");b=$.ab(b+c/2);c=360!=c||d?d+(a-d)/2:0;return{value:{angle:b,radius:c,x:$.en($.bb(b),c,this.Cc),y:$.fn($.bb(b),c,this.yc)}}};$.g.Dl=function(){return this.i("startAngle")+-90};$.g.Ej=function(){this.vt();return!this.j.length};$.g.LS=function(){return[this.Cc,this.yc]};$.g.m0=function(){return this.ga};
$.g.Hw=function(a,b){var c=$.mo(b.event.domTarget);if($.K(b.target,$.Du)){var d=this.aa();d.select(c);c=d.f}else c=c.node;d={};!c||!c.Zb()||-1!=(0,$.za)(this.D,c)&&1==this.D.length||(d["drill-down-to"]={index:7,text:"Drill down",eventType:"anychart.drillTo",action:(0,$.pa)(this.eF,this,c)});if(0!=this.ka||-1!=(0,$.za)(this.j,this.D[0])&&1<this.j.length&&1==this.D.length)d["drill-down-up"]={index:7,text:"Drill up",eventType:"anychart.drillUp",action:(0,$.pa)(this.eF,this,this.D[0].getParent())};$.Jc(d)||
(d["drill-down-separator"]={index:7.1});$.Sc(d,a);return d};$.g.F=function(){var a=vZ.u.F.call(this);$.Hq(this,DZ,a,"Sunburst");a.palette=this.cc().F();a.hatchFillPalette=this.oe().F();a.center=this.yp().F();if(this.hc.length||this.Ob.length){var b=[];(0,$.Qe)(this.hc,function(a,d){b.push({index:d,level:a.F()})});(0,$.Qe)(this.Ob,function(a,d){b.push({index:-(d+1),level:a.F()})});a.levels=b}this.ab&&(a.leaves=this.Wv().F());return{chart:a}};
$.g.R=function(){$.td(this.ca,this.xa,this.Ca,this.f,this.Ea,this.Yc,this.hc,this.Ob,this.ab,this.lg);this.lg=this.ab=this.Ob=this.hc=this.Yc=this.Ea=this.Ca=this.xa=this.ca=null;vZ.u.R.call(this)};$.g.X=function(a,b){vZ.u.X.call(this,a,b);$.zq(this,DZ,a);this.cc(a.palette);this.oe(a.hatchFillPalette);this.yp().ia(!!b,a.center);$.A(a.levels)&&(0,$.Qe)(a.levels,function(a){this.level(a.index,a.level)},this);this.Wv().ia(!!b,a.leaves);"drillTo"in a&&this.Pq(a.drillTo)};var EZ=vZ.prototype;
EZ.getType=EZ.Na;EZ.data=EZ.data;EZ.level=EZ.level;EZ.leaves=EZ.Wv;EZ.center=EZ.yp;EZ.normal=EZ.Sa;EZ.hovered=EZ.mb;EZ.selected=EZ.selected;EZ.drillTo=EZ.Pq;EZ.drillUp=EZ.zx;EZ.getDrilldownPath=EZ.Sz;EZ.palette=EZ.cc;EZ.hatchFillPalette=EZ.oe;EZ.toCsv=EZ.qk;EZ.statefulColoring=EZ.Caa;$.Jp.sunburst=Nha;$.F("anychart.sunburst",Nha);}).call(this,$)}
if(!_.theme_sunburst){_.theme_sunburst=1;(function($){var nha=function(){var a=this.chart.calculationMode();return this.name+("parent-dependent"==a||"parent-independent"==a?"\n"+$.OM(this.value):"")};
$.ra($.fa.anychart.themes.defaultTheme,{sunburst:{animation:{duration:2E3},title:{text:"Sunburst Chart"},interactivity:{selectionMode:"drill-down"},radius:"45%",innerRadius:0,startAngle:0,a11y:{titleFormat:$.gN},center:{fill:"none",stroke:"none"},calculationMode:"ordinal-from-root",tooltip:{enabled:!0,title:!1,separator:!1,titleFormat:$.QM,format:nha},leaves:{enabled:null,normal:{labels:{padding:"10%",hAlign:"center",position:"radial",format:$.QM}}},sort:"none",normal:{fill:$.SM,stroke:"#fff",labels:{adjustFontSize:[!0,
!0],maxFontSize:14,minFontSize:1,padding:[1,"5%",1,"5%"],enabled:!0,hAlign:"center",vAlign:"middle",position:"circular",anchor:"center",fontColor:"#ffffff",format:nha}},hovered:{fill:$.YM,stroke:$.SM,labels:{enabled:null}},selected:{fill:"#333 0.85",stroke:$.SM,labels:{enabled:null}}}});}).call(this,$)}
if(!_.surface){_.surface=1;(function($){var o6=function(){$.By.call(this);this.j=[];this.G=[]},Mna=function(a,b,c){var d=a.j.slice(),e=a.G.slice(),f=a.i("length"),h=a.i("stroke"),k=$.Wo(h),l=d[0]*(1-b)+b*e[0];b=d[1]*(1-b)+b*e[1]+c/2;b=$.R(b,1)-.5;l=$.R(l,k);a.path.moveTo(l,b);a.path.lineTo(l,b+f);a.path.stroke(h)},p6=function(a,b){a*=Math.PI/180;b*=Math.PI/180;var c=Math.sin(a),d=Math.cos(a),e=Math.sin(b),f=Math.cos(b);return[d*f,-c*f,e,c,d,0,-e*d,c*e,f]},q6=function(a,b){return[b[0]*a[0]+b[1]*a[1]+b[2]*a[2],b[0]*a[3]+b[1]*a[4]+b[2]*a[5],
b[0]*a[6]+b[1]*a[7]+b[2]*a[8]]},r6=function(a,b){var c=q6(p6(0,a),[-1,0,0]),d=c[0],e=c[1];c=c[2];for(var f=d*d+e*e+c*c,h=0,k=0;k<b.length;k++){var l=b[k];h+=Math.abs(d*l[0]+e*l[1]+c*l[2]-f)/Math.sqrt(f)}return h/=b.length},s6=function(a,b){a=a.slice();for(var c=0;c<a.length;c++){var d=a,e=c,f=a[c],h=b;f=f.slice();f[1]=h.left+f[1]*h.width/1.48+h.width/2;f[2]=h.top+f[2]*h.height/1.75+h.height/2;d[e]=f}return a},t6=function(){$.Dy.call(this);this.U=[[-.5,-.5,.5],[-.5,.5,.5],[.5,.5,.5],[.5,-.5,.5]];this.b=
[]},u6=function(a){a.b=p6(a.N,a.g)},v6=function(a){u6(a);for(var b=[],c=[0,0,0],d=[0,0,0],e=0;e<a.U.length;e++){var f=a.U[e];b.push(q6(a.b,f));b[e][1]<d[1]&&(c=f,d=b[e])}return c},w6=function(a){u6(a);for(var b=[],c=window.Infinity,d=0,e=0;e<a.U.length;e++){var f=r6(a.g,[q6(a.b,a.U[e])]);f<c&&(c=f,d=e);b.push(f)}return a.U[d]},x6=function(a,b,c,d){b=q6(a.b,b);c=q6(a.b,c);a.j=b.slice();a.G=c.slice();var e=s6([b,c],d),f=e[0][1],h=e[0][2];d=e[1][1];e=e[1][2];b=a.zIndex()+2-r6(a.g,[b,c]);c=a.TE();c.clear();
c.moveTo(f,h).lineTo(d,e);c=a.Qa();a=a.tb();$.kr(c,a);var k=[f,h],l=[d,e];$.n(k)&&$.n(l)&&(c.j=k,c.G=l,c.ta(1));c.zIndex(b);f=[f,h];d=[d,e];$.n(f)&&$.n(d)&&(a.j=f,a.G=d,a.ta(1));a.zIndex(b);$.lr(c,a)},y6=function(){$.Wy.call(this);this.G=null;this.O={lX:[],ES:[]};this.ba=!1},z6=function(a){if(0==a.O.ES.length){var b=$.nk();b.parent(a.P()).zIndex(a.zIndex());b.stroke("none");a.O.lX.push(b);return b}b=a.O.ES.pop();a.O.lX.push(b);b.parent(a.P());return b},Nna=function(a,b){return $.n(b)?(a.ba=!!b,a):
a.ba},A6=function(a){a.G=a.G?a.G:$.nk();return a.G},Ona=function(a,b){var c=a.ja(),d=p6(a.N,a.g),e=[];e[0]=q6(d,b[0]);e[1]=q6(d,b[1]);if(r6(a.g,[e[0]])>r6(a.g,[e[1]])){var f=b[1];b[1]=b[0];b[0]=f;f=e[1];e[1]=e[0];e[0]=f}b[2]=[b[1][0],b[1][1],-.5];e[2]=q6(d,b[2]);c=s6(e,c);a.j.moveTo(c[0][1],c[0][2]);a.j.lineTo(c[1][1],c[1][2]);a.G.moveTo(c[1][1],c[1][2]);a.G.lineTo(c[2][1],c[2][2])},B6=function(a,b){function c(){var a=this.i("rotationZ"),b=this.i("rotationY"),c=$.jr(this,"xGrid"),h=$.jr(this,"yGrid"),
k=$.jr(this,"zGrid"),l=$.jr(this,"xAxis"),m=$.jr(this,"yAxis"),p=$.jr(this,"zAxis");$.kr(l,m,p,c,h,k);c&&c.rq(a).qq(b);h&&h.rq(a).qq(b);k&&k.rq(a).qq(b);p&&p.rq(a).qq(b);l&&l.rq(a).qq(b);m&&m.rq(a).qq(b);$.mr(l,m,p,c,h,k)}$.ox.call(this);this.Fa("surface");this.nr=["z","value"];this.nX=[];this.Py=[];this.VO=[];this.wa=[];this.qz=[];this.data(a||null,b);$.T(this.ua,[["rotationZ",10485776,1,null,c],["rotationY",10485776,1,null,c],["box",16,1],["stroke",16,1]])},C6=function(a,b){var c=a.Va().transform(b[0])-
.5,d=a.bb().transform(b[1])-.5,e=1-a.Ww().transform(b[2])-.5;return[c,d,e]},D6=function(a,b){for(var c=0,d=0;d<b.length;d++){var e=a.xba,f=b[d],h=e[0],k=e[1];e=e[2];var l=h*h+k*k+e*e;c+=Math.abs(h*f[0]+k*f[1]+e*f[2]-l)/Math.sqrt(l)}c/=b.length;return 2-c},Pna=function(a){for(var b=0,c=0,d=0,e=0,f=-window.Infinity,h=0,k=window.Infinity,l=0,m=0;m<a.length;m++){a[m][1]<b&&(b=a[m][1],c=m);a[m][1]>d&&(d=a[m][1],e=m);var p=a[m][0];f<p&&(f=a[m][0],h=m);k>p&&(k=a[m][0],l=m)}return{left:a[c],right:a[e],Ona:a[h],
D2:a[l]}},E6=function(a,b,c,d){var e=$.oa(b.scale());$.Aa(a,e)||(d[c].scale=b.scale().F())},F6=function(a,b,c){c in b&&(a[c](b[c]),"scale"in b[c]&&a[c]().scale(b[c].scale))},Qna=function(a,b){var c=new B6(a,b);c.sd(c.mf("colorScale"));return c};$.H(o6,$.By);$.g=o6.prototype;$.g.qa=$.By.prototype.qa;$.g.sa=$.By.prototype.sa|16;
$.g.ZR=function(a,b,c,d){b=this.i("length");c=this.j.slice();var e=this.j[1],f=this.G[1],h=Math.abs(e-f);c[1]=Math.min(e,f)+h-h*a;a=this.i("stroke");e=$.Wo(a);d=c[0]-d/2;d=$.R(d,1)+.5;c=c[1];c=$.R(c,e);this.path.moveTo(d,c);this.path.lineTo(d-b,c);this.path.stroke(a)};$.g.VR=function(a,b,c,d){Mna(this,a,d)};$.g.aS=function(a,b,c,d){Mna(this,a,d)};$.H(t6,$.Dy);$.g=t6.prototype;$.g.qa=$.Dy.prototype.qa;$.g.sa=$.Dy.prototype.sa;$.g.K_=function(){var a=$.jr(this,"title");if(a){var b=this.TE().pb().clone(),c=this.ja();switch(this.i("orientation")){case "left":$.Qv(a,"left");break;case "bottom":$.Qv(a,"bottom");b.height=c.Ua()-b.top;break;case "right":$.Qv(a,"bottom"),b.height=c.Ua()-b.top}a.ja(b);a.$()}};$.g.RE=function(a){u6(this);var b=v6(this);x6(this,b,[b[0],b[1],-.5],a)};
$.g.SE=function(a){u6(this);var b=w6(this),c=[-.5==b[0]?.5:-.5,b[1],b[2]];if(-.5==c[0]){var d=c;c=b;b=d}x6(this,b,c,a)};$.g.QE=function(a){u6(this);var b=w6(this),c=[b[0],-.5==b[1]?.5:-.5,b[2]];if(-.5==c[1]){var d=c;c=b;b=d}x6(this,b,c,a)};$.g.$P=function(){t6.u.$P.call(this);var a=this.zIndex()+2-r6(this.g,[this.j,this.G]);this.line.zIndex(a);this.Qa().zIndex(a);this.tb().zIndex(a)};
$.g.Np=function(){var a=this.i("orientation");if("left"==a)var b=this.RE;else"right"==a?b=this.SE:"bottom"==a&&(b=this.QE);b.call(this,this.ja(),0,1,0,0);this.line.stroke(this.i("stroke"))};
$.g.A0=function(a,b,c,d,e,f,h){e=this.ja();h=h?this.labels():this.kb();var k=0,l=0;c=this.zIndex();var m=this.i("orientation");f=w6(this);switch(m){case "right":k=[-.5==f[0]?.5:-.5,f[1],f[2]];-.5==k[0]&&(c=f,f=k,k=c);f=q6(this.b,f);k=q6(this.b,k);c=this.zIndex()+(0>this.g?2:-2);l=s6([f,k],e);e=l[0][1];f=l[0][2];k=l[1][1];l=l[1][2];k=e*(1-a)+a*k;l=f*(1-a)+a*l+d+b.height/2;break;case "bottom":k=[f[0],-.5==f[1]?.5:-.5,f[2]];-.5==k[1]&&(c=f,f=k,k=c);f=q6(this.b,f);k=q6(this.b,k);c=1-a;l=[];l.push(a*k[0]+
c*f[0]);l.push(a*k[1]+c*f[1]);l.push(a*k[2]+c*f[2]);c=this.zIndex()+(0>this.g?2:-2);l=s6([f,k],e);e=l[0][1];f=l[0][2];k=l[1][1];l=l[1][2];k=e*(1-a)+a*k;l=f*(1-a)+a*l+d+b.height/2;break;case "left":f=v6(this),k=[f[0],f[1],-.5],f=q6(this.b,f),k=q6(this.b,k),c=this.zIndex()+2,l=s6([f,k],e),e=l[0][1],f=l[0][2],l=l[1][2],k=Math.abs(f-l),l=Math.min(f,l)+k-k*a,k=e-d-b.width/2}h.zIndex(c);return{x:k,y:l}};$.g.qq=function(a){a=Number(a);$.n(a)&&this.g!=a&&(this.g=a,this.B(16|this.xe,9),this.Qd())};
$.g.rq=function(a){a=Number(a);return $.n(a)?(this.N!=a&&(this.N=a,this.B(16|this.xe,9),this.Qd()),this):this.N};$.g.Xk=function(){return new o6};
$.g.B0=function(a,b,c,d){a=this.ja();var e=0,f=0;this.zIndex();var h=this.i("orientation");c=w6(this);switch(h){case "right":e=[-.5==c[0]?.5:-.5,c[1],c[2]];-.5==e[0]&&(f=c,c=e,e=f);c=q6(this.b,c);e=q6(this.b,e);this.zIndex();f=s6([c,e],a);a=f[0][1];c=f[0][2];e=f[1][1];f=f[1][2];e=a*(1-b)+b*e;f=c*(1-b)+b*f+d;break;case "bottom":e=[c[0],-.5==c[1]?.5:-.5,c[2]];-.5==e[1]&&(f=c,c=e,e=f);c=q6(this.b,c);e=q6(this.b,e);f=1-b;h=[];h.push(b*e[0]+f*c[0]);h.push(b*e[1]+f*c[1]);h.push(b*e[2]+f*c[2]);this.zIndex();
f=s6([c,e],a);a=f[0][1];c=f[0][2];e=f[1][1];f=f[1][2];e=a*(1-b)+b*e;f=c*(1-b)+b*f+d;break;case "left":c=v6(this),e=[c[0],c[1],-.5],c=q6(this.b,c),e=q6(this.b,e),this.zIndex(),f=s6([c,e],a),a=f[0][1],c=f[0][2],f=f[1][2],e=Math.abs(c-f),f=Math.min(c,f)+e-e*b,e=a-d}return{x:e,y:f}};$.H(y6,$.Wy);$.g=y6.prototype;$.g.sz=function(){y6.u.sz.call(this);for(var a;a=this.O.lX.pop();)a.clear(),this.O.ES.push(a)};$.g.wJ=function(){y6.u.wJ.call(this);A6(this).stroke(this.i("stroke"))};$.g.WJ=function(){y6.u.WJ.call(this);var a=this.P();A6(this).parent(a)};$.g.OB=function(){var a=this.zIndex()-1,b=0>=this.g?a+2:a;this.Gh().zIndex(b);A6(this).zIndex(a);$.Dc(this.D,function(a){a.zIndex(b)})};$.g.remove=function(){y6.u.remove.call(this);A6(this).parent(null)};
$.g.uj=function(){A6(this).clear();y6.u.uj.call(this)};
$.g.WF=function(a){a-=.5;if(this.ba){a=-a;var b=[[-.5,-.5,a],[-.5,.5,a],[.5,.5,a],[.5,-.5,a]];a=p6(this.N,this.g);for(var c=[],d=-window.Infinity,e=0,f=0;f<b.length;f++){c[f]=q6(a,b[f]);var h=r6(this.g,[c[f]]);h>d&&(d=h,e=f)}c=b[e];c=[[-c[0],c[1],c[2]],[c[0],c[1],c[2]],[c[0],-c[1],c[2]]];for(f=0;f<c.length;f++)c[f]=q6(a,c[f]);a=this.ja();a=s6(c,a);this.G.moveTo(a[0][1],a[0][2]);this.G.lineTo(a[1][1],a[1][2]);this.G.lineTo(a[2][1],a[2][2])}else a=[[a,-.5,.5],[a,.5,.5]],Ona(this,a)};
$.g.XF=function(a){a-=.5;Ona(this,[[-.5,a,.5],[.5,a,.5]])};
$.g.TF=function(a,b,c){if(Nna(this)){var d=z6(this),e=-(a-.5);a=-(b-.5);var f=[[-.5,-.5,e],[-.5,.5,e],[.5,.5,e],[.5,-.5,e]];e=p6(this.N,this.g);b=[];for(var h=-window.Infinity,k=0,l=0;l<f.length;l++){b[l]=q6(e,f[l]);var m=r6(this.g,[b[l]]);m>h&&(h=m,k=l)}l=f[k];b=[[-l[0],l[1],l[2]],[l[0],l[1],l[2]],[l[0],-l[1],l[2]]];a=[[-l[0],l[1],a],[l[0],l[1],a],[l[0],-l[1],a]];for(l=0;l<b.length;l++)b[l]=q6(e,b[l]),a[l]=q6(e,a[l]);e=this.ja();b=s6(b,e);a=s6(a,e);d.moveTo(b[0][1],b[0][2]);d.lineTo(b[1][1],b[1][2]);
d.lineTo(b[2][1],b[2][2]);d.lineTo(a[2][1],a[2][2]);d.lineTo(a[1][1],a[1][2]);d.lineTo(a[0][1],a[0][2]);d.close();d.fill(c.fill());d.zIndex(20)}else{d=p6(this.N,this.g);a-=.5;b-=.5;a=[[a,-.5,.5],[a,.5,.5]];a.push([b,.5,.5]);a.push([b,-.5,.5]);f=[];for(h=0;h<a.length;h++)f.push(q6(d,a[h]));e=this.ja();l=s6(f,e);c.moveTo(l[0][1],l[0][2]);c.lineTo(l[1][1],l[1][2]);c.lineTo(l[2][1],l[2][2]);c.lineTo(l[3][1],l[3][2]);c.close();l=z6(this);k=[];f[0][0]>f[1][0]?k.push(a[0]):k.push(a[1]);k.push([k[0][0],k[0][1],
-.5]);k.push([b,k[0][1],-.5]);k.push([b,k[0][1],.5]);b=[];for(h=0;h<a.length;h++)b.push(q6(d,k[h]));d=s6(b,e);l.moveTo(d[0][1],d[0][2]);l.lineTo(d[1][1],d[1][2]);l.lineTo(d[2][1],d[2][2]);l.lineTo(d[3][1],d[3][2]);l.close();l.fill(c.fill());l.zIndex(20)}};
$.g.UF=function(a,b,c){var d=p6(this.N,this.g);a-=.5;b-=.5;a=[[-.5,a,.5],[.5,a,.5]];a.push([.5,b,.5]);a.push([-.5,b,.5]);for(var e=[],f=0;f<a.length;f++)e.push(q6(d,a[f]));var h=this.ja(),k=s6(e,h);c.moveTo(k[0][1],k[0][2]);c.lineTo(k[1][1],k[1][2]);c.lineTo(k[2][1],k[2][2]);c.lineTo(k[3][1],k[3][2]);c.close();k=z6(this);k.clear();var l=[];e[0][0]>e[1][0]?l.push(a[0]):l.push(a[1]);l.push([l[0][0],l[0][1],-.5]);l.push([l[0][0],b,-.5]);l.push([l[0][0],b,.5]);b=[];for(f=0;f<a.length;f++)b.push(q6(d,
l[f]));d=s6(b,h);k.moveTo(d[0][1],d[0][2]);k.lineTo(d[1][1],d[1][2]);k.lineTo(d[2][1],d[2][2]);k.lineTo(d[3][1],d[3][2]);k.close();k.fill(c.fill());k.zIndex(20)};$.g.rq=function(a){return $.n(a)?(this.N=+a,this.B(28,1),this):this.N};$.g.qq=function(a){$.n(a)&&(this.g=+a,this.B(28,1))};$.g.R=function(){$.qd(this.G);this.G=null;y6.u.R.call(this)};$.H(B6,$.ox);var G6=function(){var a={};$.hq(a,[[0,"rotationZ",$.qq],[0,"rotationY",function(a){a=Number(a);return $.Za(a,-90,90)}],[1,"box",$.Dq],[1,"stroke",$.Dq]]);return a}();$.U(B6,G6);$.g=B6.prototype;$.g.qa=$.ox.prototype.qa;$.g.sa=$.ox.prototype.sa|10580496;$.g.CX=function(a){this.xu||(this.xu=new t6,$.L(this.xu,this.ko,this),this.xu.rq(this.i("rotationZ")),this.xu.qq(this.i("rotationY")),$.W(this,"zAxis",this.xu));return $.n(a)?(this.xu.K(a),this):this.xu};
$.g.lh=function(a){this.ec||(this.ec=new t6,$.L(this.ec,this.ko,this),this.ec.rq(this.i("rotationZ")),this.ec.qq(this.i("rotationY")),$.W(this,"xAxis",this.ec));return $.n(a)?(this.ec.K(a),this):this.ec};$.g.ti=function(a){this.Uj||(this.Uj=new t6,$.L(this.Uj,this.ko,this),this.Uj.rq(this.i("rotationZ")),this.Uj.qq(this.i("rotationY")),$.W(this,"yAxis",this.Uj));return $.n(a)?(this.Uj.K(a),this):this.Uj};$.g.ko=function(){this.B(2097152,1)};$.g.Qf=function(){return this.oa.aa()};
$.g.vc=function(){return this.Nd=this.oa.aa()};$.g.aa=function(){return this.Nd||(this.Nd=this.oa.aa())};$.g.Ej=function(){return!this.oa.aa().Gb()};$.g.data=function(a,b){return $.n(a)?(this.jg!==a&&(this.jg=a,this.oa&&$.Zq(this.oa,this.Id,this),$.qd(this.oa),$.qd(this.jd),$.K(a,$.pr)?this.oa=a.tj():this.oa=$.K(a,$.zr)?a.ie():(this.jd=new $.zr($.A(a)||$.z(a)?a:null,b)).ie(),$.L(this.oa,this.Id,this),this.B(4608,1)),this):this.oa};$.g.Id=function(){this.B(4352,1)};
$.g.pS=function(a,b,c){return(0,$.za)(c,a)===b};
$.g.ob=function(){if(this.J(4096)){this.B(16384);var a=this.data().aa();a.reset();for(var b=[],c=[],d=[];a.advance();){var e=$.N(a.get("x")),f=$.N(a.get("y")),h=$.N(a.get("z"));b.push(e);c.push(f);d.push(h)}b=(0,$.Ye)(b,this.pS);c=(0,$.Ye)(c,this.pS);d=(0,$.Ye)(d,this.pS);this.nX=b;this.Py=c;this.VO=d;a=a.Gb();3E3<a&&$.el(800,null,[a],!0);(b.length*c.length!=a||4>a)&&0!=a?($.cl(400),this.n3=!0):this.n3=!1;this.I(4096)}this.J(16384)&&this.Kb&&(this.Kb.Hf()?(this.Kb.tg(),this.Kb.Uc.apply(this.Kb,this.VO),
this.Kb.Cg()):(this.Kb.mp(),this.Kb.Uc.apply(this.Kb,this.VO)),$.K(this.Kb,$.Uy)&&$.Bt(this.Kb.Qa()),this.B(16),this.I(16384));b=this.Va();c=this.bb();a=this.Ww();d=!1;b.Hf()&&b.tg();c.Hf()&&c.tg();a.Hf()&&a.tg();b.Uc.apply(b,this.nX);c.Uc.apply(c,this.Py);a.Uc.apply(a,this.VO);b.Hf()&&(d|=b.Cg());c.Hf()&&(d|=c.Cg());a.Hf()&&(d|=a.Cg());d&&this.B(65536)};
$.g.bm=function(){this.ob();for(var a=this.Ww().Qa().get(),b=[],c=0;c<a.length;c++){var d=this.sd()?this.sd().yq(a[c]):this.cc().nc(0);d={index:0,text:a[c],iconEnabled:!0,iconType:"square",iconStroke:$.Ol(d,1),iconFill:d,disabled:!this.enabled()};b.push(d)}return b};$.g.Te=function(){return[]};$.g.Va=function(a){if($.n(a)){if(a=$.Xs(this.cb,a,null,15))this.cb=a,this.cb.da(!1),this.B(16,1);$.L(this.cb,this.yD,this);return this}this.cb||(this.cb=$.Ts(),$.L(this.cb,this.yD,this));return this.cb};
$.g.bb=function(a){if($.n(a)){if(a=$.Xs(this.wc,a,null,15))this.wc=a,this.wc.da(!1),this.B(16,1);$.L(this.wc,this.yD,this);return this}this.wc||(this.wc=$.Ts(),$.L(this.wc,this.yD,this));return this.wc};$.g.Ww=function(a){if($.n(a)){if(a=$.Xs(this.Wy,a,null,15))this.Wy=a,this.Wy.da(!1),this.B(16,1);$.L(this.Wy,this.yD,this);return this}this.Wy||(this.Wy=$.Ts(),$.L(this.Wy,this.yD,this));return this.Wy};
$.g.sd=function(a){if($.n(a)){if(null===a&&this.Kb)this.Kb=null,this.B(16400,1);else if(a=$.Xs(this.Kb,a,null,48,null,this.Cp,this)){var b=this.Kb==a;this.Kb=a;this.Kb.da(b);b||this.B(16400,1)}return this}return this.Kb};$.g.Cp=function(a){$.X(a,6)&&this.B(16896,1)};$.g.yD=function(){this.B(16,1)};
$.g.Yj=function(a){this.Yb||(this.Yb=new $.oN,$.W(this,"colorRange",this.Yb),this.Yb.ia(!0,this.Yb.ma),this.Yb.gr().Fa("defaultMarkerFactory","surface.colorRange.marker"),this.Yb.gr().ia(!0,this.Yb.gr().ma),this.Yb.ib(this),this.Yb.P(this.La),$.L(this.Yb,this.uz,this),this.B(8196,1));return $.n(a)?(this.Yb.K(a),this):this.Yb};$.g.uz=function(a){var b=0,c=0;$.X(a,1)&&(b|=8208,c|=1);$.X(a,8)&&(b|=4,c|=8);this.B(b,c)};
$.g.kq=function(a){a.button==$.Mi&&(this.C2=!0,this.pia=a.clientX,this.qia=a.clientY,this.sia=this.i("rotationY"),this.tia=this.i("rotationZ"))};$.g.sh=function(a){"mouseup"==a.type&&(this.C2=!1)};$.g.rg=function(a){if(this.C2){$.V(this);var b=this.lb();this.rotationY(this.sia-(this.qia-a.clientY)/b.height*110);this.rotationZ(this.tia+(this.pia-a.clientX)/b.width*110);this.da(!0)}};
$.g.ei=function(a){if(!this.ef()){var b=this.i("rotationZ"),c=this.i("rotationY"),d=[-1,0,0];this.xba=d=q6(p6(0,c),d);b*=Math.PI/180;c*=Math.PI/180;d=Math.sin(b);b=Math.cos(b);var e=Math.sin(c);c=Math.cos(c);this.kh=[b*c,-d*c,e,d,b,0,-e*b,d*e,c];c=$.jr(this,"xGrid");d=$.jr(this,"yGrid");b=$.jr(this,"zGrid");e=$.jr(this,"xAxis");var f=$.jr(this,"yAxis"),h=$.jr(this,"zAxis");this.Wa||(this.Wa=this.La.Dd(),this.Wa.zIndex(36),this.pE=this.Wa.Dd(),this.pE.zIndex(36));var k=$.jr(this,"colorRange");this.ob();
this.J(65536)&&(h&&!h.scale()&&h.scale(this.Ww()),e&&!e.scale()&&e.scale(this.Va()),f&&!f.scale()&&f.scale(this.bb()),c&&c.scale(this.Va()),d&&d.scale(this.bb()),b&&b.scale(this.Ww()),this.I(65536));this.J(8192)&&k&&($.V(k),k.scale(this.sd()),k.target(this),k.da(!1),this.B(4));this.J(4)&&(k?(k.ja(a.clone()),this.Pf=k.qd()):this.Pf=a.clone(),this.Pf.left+=10,this.Pf.width-=10,h&&h.ja(this.Pf),f&&f.ja(this.Pf),e&&e.ja(this.Pf),c&&c.ja(this.Pf),d&&d.ja(this.Pf),b&&b.ja(this.Pf),this.B(512),this.I(4));
this.J(8192)&&(k&&($.V(k),k.P(this.La),k.$(),k.da(!1)),this.I(8192));a=this.Pf;var l=[[-.5,-.5,.5],[-.5,.5,.5],[.5,.5,.5],[.5,-.5,.5]];h=[[-.5,-.5,-.5],[-.5,.5,-.5],[.5,.5,-.5],[.5,-.5,-.5]];if(0==this.qz.length)for(f=0;12>f;f++)this.qz[f]=this.Wa.path();else for(f=0;f<this.qz.length;f++)this.qz[f].clear();e=this.i("box");var m=[],p=[];for(f=0;f<l.length;f++)m[f]=q6(this.kh,l[f]),p[f]=q6(this.kh,h[f]);f=Pna(m);h=f.D2;k=Pna(p).D2;var q=f.left,r=[];for(f=0;f<m.length;f++){var t=f==m.length-1?0:f+1,
u=m[t],v=m[f],w=Math.abs(l[f][0]-l[t][0]),x=Math.abs(l[f][1]-l[t][1]),y=$.jr(this,"xAxis"),B=$.jr(this,"yAxis");t=$.jr(this,"zAxis");(y&&y.enabled(),B&&B.enabled(),y&&y.enabled()&&w>x&&0<=[v,u].indexOf(h))||B&&B.enabled()&&x>w&&0<=[v,u].indexOf(h)||r.push([m[f],u])}for(f=0;f<p.length;f++)u=f==p.length-1?p[0]:p[f+1],r.push([p[f],u]);for(f=0;f<m.length;f++)t&&t.enabled()&&m[f]==q||r.push([m[f],p[f]]);for(f=0;f<r.length;f++){t=r[f][0];l=r[f][1];m=Math.min(D6(this,[t]),D6(this,[l]));if(t==h||l==h||t==
k||l==k)m=100;this.Np(this.qz[f],s6(r[f],a),m,e)}this.J(8388608)&&(c&&(c.P(this.La),c.$()),d&&(d.P(this.La),d.$()),b&&(b.P(this.La),b.$()),this.I(8388608));if(this.J(16)){t=this.Pf;c=this.data().aa();c.reset();d=this.i("stroke");this.pE.Ki();if(!this.n3){this.Wa.suspend();for(b=0;b<this.nX.length-1;b++)for(a=0;a<this.Py.length-1;a++){f=b*(this.Py.length-1)+a;(e=this.wa[f])?(e.parent(this.pE),e.clear()):(e=this.wa[f]=this.pE.path(),e.stroke(null));c.select(b*this.Py.length+a);f=[$.N(c.get("x")),$.N(c.get("y")),
$.N(c.get("z"))];c.select((b+1)*this.Py.length+a);h=[$.N(c.get("x")),$.N(c.get("y")),$.N(c.get("z"))];c.select((b+1)*this.Py.length+a+1);k=[$.N(c.get("x")),$.N(c.get("y")),$.N(c.get("z"))];c.select(b*this.Py.length+a+1);r=[$.N(c.get("x")),$.N(c.get("y")),$.N(c.get("z"))];l=[f,h,k,r];p=this.Ww();m=p.uh();p=p.Rh();u=this.bb();q=u.uh();u=u.Rh();w=this.Va();v=w.uh();w=w.Rh();x=0;y=[];for(B=0;B<l.length;B++){var G=l[B];if(!(G[2]>=m&&G[2]<=p&&G[1]<=u&&G[1]>=q&&G[0]>=v&&G[0]<=w)){x++;if(G[2]<m||G[2]>p)G[2]=
Math.max(Math.min(G[2],p),m);if(G[1]<u||G[1]>q)G[1]=Math.max(Math.min(G[1],u),q);if(G[0]>v||G[0]<w)G[0]=Math.max(Math.min(G[0],w),v)}y.push(G)}if(l=x==l.length?null:y){m=q6(this.kh,C6(this,l[0]));p=q6(this.kh,C6(this,l[1]));q=q6(this.kh,C6(this,l[2]));u=q6(this.kh,C6(this,l[3]));l=36+D6(this,[m,p,q,u]);m=s6([m,p,q,u],t);p=this.sd();var C;p?C=p.yq((f[2]+h[2]+k[2]+r[2])/4):C=this.cc().nc(0);f=C;this.Np(e,m,l,d);e.close();e.fill(f||"white")}}this.Wa.resume()}this.I(16)}this.J(2097152)&&(C=$.jr(this,
"xAxis"),t=$.jr(this,"yAxis"),c=$.jr(this,"zAxis"),C&&C.P(this.La).$(),t&&t.P(this.La).$(),c&&c.P(this.La).$(),this.I(2097152))}};$.g.Np=function(a,b,c,d){a.clear();a.moveTo(b[0][1],b[0][2]);for(var e=1;e<b.length;e++)a.lineTo(b[e][1],b[e][2]);a.zIndex(c);a.stroke(d)};$.g.Zm=function(a){this.Vs||(this.Vs=new y6,this.Vs.Hj=this,$.L(this.Vs,this.ny,this),this.Vs.rq(this.i("rotationZ")),this.Vs.qq(this.i("rotationY")),$.W(this,"xGrid",this.Vs),this.B(8388608,1));return $.n(a)?(this.Vs.K(a),this):this.Vs};
$.g.$m=function(a){this.yr||(this.yr=new y6,this.yr.Hj=this,$.L(this.yr,this.ny,this),this.yr.rq(this.i("rotationZ")),this.yr.qq(this.i("rotationY")),$.Yy(this.yr,"vertical"),$.W(this,"yGrid",this.yr),this.B(8388608,1));return $.n(a)?(this.yr.K(a),this):this.yr};
$.g.DX=function(a){this.Cq||(this.Cq=new y6,this.Cq.Hj=this,$.L(this.Cq,this.ny,this),this.Cq.rq(this.i("rotationZ")),this.Cq.qq(this.i("rotationY")),$.Yy(this.Cq,"horizontal"),Nna(this.Cq,!0),$.W(this,"zGrid",this.Cq),this.B(8388608,1));return $.n(a)?(this.Cq.K(a),this):this.Cq};$.g.ny=function(){this.B(8388624,1)};$.g.mc=function(){return this};$.g.Rd=function(){return null};
$.g.cc=function(a){if($.K(a,$.ys))return this.Ic($.ys,a),this;if($.K(a,$.vs))return this.Ic($.vs,a),this;$.D(a)&&"range"==a.type?this.Ic($.ys):($.D(a)||null==this.Ea)&&this.Ic($.vs);return $.n(a)?(this.Ea.K(a),this):this.Ea};$.g.Ic=function(a,b){if($.K(this.Ea,a))b&&this.Ea.K(b);else{var c=!!this.Ea;$.qd(this.Ea);this.Ea=new a;$.W(this,"palette",this.Ea);this.Ea.oq();b&&this.Ea.K(b);$.L(this.Ea,this.If,this);c&&this.B(16,1)}};$.g.If=function(a){$.X(a,2)&&this.B(16,1)};$.g.Na=function(){return"surface"};
$.g.F=function(){var a=B6.u.F.call(this);this.oa&&(a.data=this.data().F());var b=[];this.cb&&(a.xScale=this.Va().F(),b.push($.oa(this.Va())));this.wc&&(a.yScale=this.bb().F(),b.push($.oa(this.bb())));this.Wy&&(a.zScale=this.Ww().F(),b.push($.oa(this.Ww())));this.ec&&(a.xAxis=this.lh().F(),E6(b,this.lh(),"xAxis",a));this.Uj&&(a.yAxis=this.ti().F(),E6(b,this.ti(),"yAxis",a));this.xu&&(a.zAxis=this.CX().F(),E6(b,this.CX(),"zAxis",a));this.Vs&&(a.xGrid=this.Zm().F(),E6(b,this.Zm(),"xGrid",a));this.yr&&
(a.yGrid=this.$m().F(),E6(b,this.$m(),"yGrid",a));this.Cq&&(a.zGrid=this.DX().F(),E6(b,this.DX(),"zGrid",a));a.colorScale=this.Kb?this.sd().F():null;this.Yb&&(a.colorRange=this.Yj().F());$.Hq(this,G6,a);return{chart:a}};
$.g.X=function(a,b){B6.u.X.call(this,a,b);"data"in a&&this.data(a.data);F6(this,a,"xScale");F6(this,a,"yScale");F6(this,a,"zScale");F6(this,a,"xAxis");F6(this,a,"yAxis");F6(this,a,"zAxis");F6(this,a,"xGrid");F6(this,a,"yGrid");F6(this,a,"zGrid");"colorScale"in a&&this.sd(a.colorScale);"colorRange"in a&&this.Yj(a.colorRange);$.zq(this,G6,a,b)};
$.g.R=function(){$.td(this.ec,this.Uj,this.xu,this.wa,this.Vs,this.yr,this.Cq,this.qz,this.pE,this.Wa,this.Yb,this.Ea,this.oa,this.jd);this.qz.length=0;this.wa.length=0;this.Cq=this.yr=this.Vs=this.xu=this.Uj=this.ec=this.jd=this.oa=this.Ea=this.Yb=this.Wa=this.pE=null;B6.u.R.call(this)};$.g.At=function(){return[this]};$.g.mG=function(){return["x","y","z"]};var H6=B6.prototype;H6.colorScale=H6.sd;H6.colorRange=H6.Yj;H6.xGrid=H6.Zm;H6.yGrid=H6.$m;H6.zGrid=H6.DX;H6.xAxis=H6.lh;H6.yAxis=H6.ti;
H6.zAxis=H6.CX;H6.xScale=H6.Va;H6.yScale=H6.bb;H6.zScale=H6.Ww;H6.getType=H6.Na;H6.palette=H6.cc;$.Jp.surface=Qna;$.F("anychart.surface",Qna);}).call(this,$)}
if(!_.theme_surface){_.theme_surface=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{surface:{rotationZ:17,rotationY:35,box:null,stroke:{color:""},colorScale:{type:"linear-color"},colorRange:{marker:{enabled:!1,type:"triangle-down"},labels:{useHtml:!0}},xAxis:{enabled:!0,orientation:"right",stroke:"red",labels:{useHtml:!0},ticks:{stroke:"red"},minorLabels:{useHtml:!0},minorTicks:{stroke:$.Hl("red")}},yAxis:{enabled:!0,orientation:"bottom",stroke:"green",labels:{useHtml:!0},minorLabels:{useHtml:!0},ticks:{stroke:"green"},minorTicks:{stroke:$.Hl("green")}},
zAxis:{enabled:!0,orientation:"left",stroke:"blue",labels:{useHtml:!0},minorLabels:{useHtml:!0},ticks:{stroke:"blue"},minorTicks:{stroke:$.Hl("blue")}},xGrid:{zIndex:35,enabled:!0},yGrid:{zIndex:35,enabled:!0},zGrid:{zIndex:35,enabled:!0}}});}).call(this,$)}
if(!_.tag_cloud_part){_.tag_cloud_part=1;(function($){var Eoa=function(a){var b=new $.vh;b.parent(a);return b},Foa=function(a,b){a.Mn=b;a.Mn.push("#000");a.QU=!!b;a.reset()},X7=function(a,b){$.ox.call(this);this.Fa("tagCloud");this.nr=["x","value"];this.ga="category";this.Ja=this.O=window.NaN;var c=[$.Z.D6],d={};$.T(d,[["fill",16,1],["fontFamily",16388,1],["fontStyle",16388,1],["fontVariant",16388,1],["fontWeight",16388,1],["fontSize",16388,1]]);var e={};$.T(e,[["fill",0,0],["fontFamily",0,0],["fontStyle",0,0],["fontVariant",0,0],["fontWeight",0,0],
["fontSize",0,0]]);this.ca=new $.Yx(this,d,$.Zl,c);this.xa=new $.Yx(this,e,$.po,c);this.Ca=new $.Yx(this,e,$.qo,c);this.ca.Fa(this.ma);$.W(this,"normal",this.ca);$.W(this,"hovered",this.xa);$.W(this,"selected",this.Ca);this.state=new $.Vw(this);this.data(a||null,b);$.T(this.ua,[["mode",4,1],["fromAngle",8192,1],["toAngle",8192,1],["anglesCount",8192,1],["textSpacing",4,1]]);this.Xa()},Y7=function(a,b){$.z(b)?(a.ee("fill",b),a.ee("fill-opacity",1)):(a.ee("fill",b.color),a.ee("fill-opacity",b.opacity))},
Z7=function(a,b,c){if(c!=$.Zl){var d=c==$.po?a.xa:a.Ca;d=d.i(b);var e=$.oo(d);if(null!=d&&!$.E(d)&&!e)return d}var f=a.aa().o("item");c=a.ca.i(b);var h=$.oo(c);if(null==c||h){switch(b){case "fontFamily":var k=f.font;break;case "fill":k=f.fill;break;case "fontStyle":k=f.style;break;case "fontVariant":k=f.variant;break;case "fontWeight":k=f.weight;break;case "fontSize":k=f.size}c=k}else $.E(c)&&("fill"==b?k=a.Ae():(k=a.Ec(),k.sourceValue=c),c=c.call(k,k));if(d){if(e)return c*(0,window.parseFloat)(d)/
100;"fill"==b?k=a.Ae(c):(k=a.Ec(),k.sourceValue=c);return d.call(k,k)}return c},Goa=function(a,b){if(b){var c=a.f/3,d=a.g/3,e=a.g/50,f=$.Va(e,~~d+1),h=$.Pa(f,function(a){a=$.kg().measure(b.text,{fontStyle:b.style,fontFamily:b.font,fontSize:a,fontWeight:b.weight,fontVariant:b.variant});var e=$.xo(a,"center");e=$.Jb($.bb(b.rotate),e.x,e.y);a=$.hn(a)||[];e.transform(a,0,a,0,4);a=$.jn(a);e=a.width;a=a.height;return e>c||a>d?-1:e==c||a==d?0:1});0>h&&(h=~h-1);a.O=e;a.Ja=f[$.Za(h,0,f.length)]}},Hoa=function(a,
b,c,d,e){if(!c.kE){var f=b.context,h=b.ratio;f.clearRect(0,0,2048/h,2048/h);var k=b=0,l=0,m=d.length;--e;for(var p=a.i("textSpacing");++e<m;){c=d[e];f.save();a="";"normal"!=c.style&&(a+=c.style+" ");"normal"!=c.weight&&(a+=c.weight+" ");"normal"!=c.variant&&(a+=c.variant+" ");f.font=a+~~((c.size+1)/h)+"px "+c.font;a=f.measureText(c.text).width*h;var q=c.size<<1;if(c.rotate){var r=Math.sin($.bb(c.rotate)),t=Math.cos($.bb(c.rotate)),u=a*t,v=a*r;t*=q;a=q*r;a=Math.max(Math.abs(u+a),Math.abs(u-a))+31>>
5<<5;q=~~Math.max(Math.abs(v+t),Math.abs(v-t))}else a=a+31>>5<<5;q>l&&(l=q);2048<=b+a&&(b=0,k+=l,l=0);if(2048<=k+q)break;f.translate((b+(a>>1))/h,(k+(q>>1))/h);c.rotate&&f.rotate($.bb(c.rotate));f.fillText(c.text,0,0);p&&(f.lineWidth=2*p,f.strokeText(c.text,0,0));f.restore();c.width=a;c.height=q;c.gja=b;c.jja=k;c.rj=a>>1;c.Xe=q>>1;c.qj=-c.rj;c.se=-c.Xe;c.o1=!0;b+=a}f=f.getImageData(0,0,2048/h,2048/h).data;for(h=[];0<=--e;)if(c=d[e],c.o1){a=c.width;l=a>>5;q=c.Xe-c.se;for(m=0;m<q*l;m++)h[m]=0;b=c.gja;
if(null==b)break;k=c.jja;p=0;u=-1;for(v=0;v<q;v++){for(m=0;m<a;m++)r=f[2048*(k+v)+(b+m)<<2]?1<<31-m%32:0,h[l*v+(m>>5)]|=r,p|=r;p?u=v:(c.se++,q--,v--,k++)}c.Xe=c.se+u;c.kE=h.slice(0,(c.Xe-c.se)*l)}}},Ioa=function(a,b){var c=a[0],d=a[1];b.x+b.qj<c.x&&(c.x=b.x+b.qj);b.y+b.se<c.y&&(c.y=b.y+b.se);b.x+b.rj>d.x&&(d.x=b.x+b.rj);b.y+b.Xe>d.y&&(d.y=b.y+b.Xe)},Joa=function(a){var b=4*a.f/a.g,c=0,d=0;return function(a){var e=0>a?-1:1;switch(Math.sqrt(1+4*e*a)-e&3){case 0:c+=b;break;case 1:d+=4;break;case 2:c-=
b;break;default:d-=4}return[c,d]}},Koa=function(a){for(var b=[],c=-1;++c<a;)b[c]=0;return b},Loa=function(a,b,c,d,e){for(var f=c.x,h=c.y,k=0,l,m;l=a.ab(k);){k+=1;m=~~l[0];l=~~l[1];if(Math.min(Math.abs(m),Math.abs(l))>=e)break;c.x=f+m;c.y=h+l;if(!(m=0>c.x+c.qj||0>c.y+c.se||c.x+c.rj>a.f||c.y+c.Xe>a.g)&&(m=d))a:{m=a.f;m>>=5;l=c.kE;var p=c.width>>5;var q=c.x-(p<<4);for(var r=q&127,t=32-r,u=c.Xe-c.se,v=(c.y+c.se)*m+(q>>5),w=0;w<u;w++){for(var x=q=0;x<=p;x++)if((q<<t|(x<p?(q=l[w*p+x])>>>r:0))&b[v+x]){m=
!0;break a}v+=m}m=!1}if(!m&&(!d||c.x+c.rj>d[0].x&&c.x+c.qj<d[1].x&&c.y+c.Xe>d[0].y&&c.y+c.se<d[1].y)){d=c.kE;e=c.width>>5;a=a.f>>5;m=c.x-(e<<4);f=m&127;h=32-f;k=c.Xe-c.se;m=(c.y+c.se)*a+(m>>5);for(p=0;p<k;p++){for(r=l=0;r<=e;r++)b[m+r]=b[m+r]|l<<h|(r<e?(l=d[p*e+r])>>>f:0);m+=a}delete c.kE;return!0}}return!1},Moa=function(a){var b=a.aa(),c=a.nn(),d=a.na,e=a.Mn,f=(0,window.parseFloat)(b.get("value")),h=b.get("category"),k=b.la();if($.K(c,$.Uy)&&$.n(h)){var l=h;b.o("category",h);b=a.ca.i("fill");$.E(b)&&
(a={sourceColor:a.cc().nc(k),category:h},b=b.call(a,a));e.push($.Vb(b))}else a.Kb?l=f:(b.o("category",void 0),l=$.Vb(Z7(a,"fill",0)),e.push(l),l=$.D(l)?l.color:l,b.o("category",l));c.Uc(l);d.Uc(f)},Noa=function(a,b){var c=new X7(a,b);c.bE(c.ma);return c},Ooa={ana:"spiral",x7:"rect"};$.H(X7,$.ox);$.xq(X7,"fill fontFamily fontStyle fontVariant fontWeight fontSize".split(" "),"normal");X7.prototype.sa=$.ox.prototype.sa|258064;var $7={};
$.hq($7,[[0,"mode",function(a,b){return $.xk(Ooa,a,b||"spiral")}],[0,"fromAngle",$.qq],[0,"toAngle",$.qq],[0,"anglesCount",$.qq],[0,"textSpacing",$.qq]]);$.U(X7,$7);$.g=X7.prototype;$.g.Na=function(){return"tag-cloud"};$.g.mc=function(){return this};$.g.Rg=function(){return!0};$.g.hk=function(){return!1};$.g.Ii=function(){return!0};$.g.Te=function(){return[this]};
$.g.Rd=function(a){var b=new $.sA(this,a);this.aa().select(a)&&b.Fx()&&(a=b.get("value")/this.Eg("sum"),b.Ia("yPercentOfTotal",$.Qm(100*a,2)),b.Ia("percentValue",a));return b};$.g.es=function(){return null};$.g.aa=function(){return this.Nd||(this.Nd=this.oa.aa())};$.g.vc=function(){return this.Nd=this.oa.aa()};
$.g.cc=function(a){if($.K(a,$.ys))return this.Ic($.ys,a),this;if($.K(a,$.vs))return this.Ic($.vs,a),this;$.D(a)&&"range"==a.type?this.Ic($.ys):($.D(a)||null==this.Ea)&&this.Ic($.vs);return $.n(a)?(this.Ea.K(a),this):this.Ea};$.g.Ic=function(a,b){if($.K(this.Ea,a))b&&this.Ea.K(b);else{var c=!!this.Ea;$.qd(this.Ea);this.Ea=new a;$.W(this,"palette",this.Ea);this.Ea.oq();b&&this.Ea.K(b);$.L(this.Ea,this.If,this);c&&this.B(512,1)}};$.g.If=function(a){$.X(a,2)&&this.B(65536,129)};
$.g.Ae=function(a){var b=this.aa(),c=b.la();a=a||this.cc().nc(c)||"blue";c={};var d=this.nn(),e=b.get("value");b=b.o("category");c.value=e;c.category=b;if(d){e=$.K(d,$.Uy)&&$.n(b)?b:e;if(this.Kb||$.n(b))var f=d.yq(e);$.Sc(c,{scaledColor:f,colorScale:this.Kb})}c.sourceColor=a;return c};$.g.nn=function(){return this.Kb||this.Ra||(this.Ra=$.Vy())};
$.g.Ec=function(){var a=this.aa();this.de||(this.de=new $.rw);this.de.Ag(a).mj([this.Rd(a.la()),this]);a={x:{value:a.get("x"),type:"string"},value:{value:a.get("value"),type:"number"},name:{value:a.get("name"),type:"string"},index:{value:a.la(),type:"number"},chart:{value:this,type:""}};$.av(this.de,a);return this.de};$.g.xk=function(){return this.Ec()};$.g.Ai=function(){var a=this.aa().o("item");return{value:{x:this.ka+a.x*this.Ga,y:this.ya+a.y*this.Ga}}};$.g.Uk=function(){};
$.g.Xj=function(a,b){var c=this.aa().o("item");if(c&&c.uC){var d=$.Xl(a),e=$.Vb(Z7(this,"fill",d)),f=Z7(this,"fontFamily",d),h=Z7(this,"fontStyle",d),k=Z7(this,"fontVariant",d),l=Z7(this,"fontWeight",d),m=Z7(this,"fontSize",d),p=this.P()?this.P().Ha():null,q=p&&!p.ff();q&&p.suspend();Y7(c.Ri,e);c.Ri.ee("font-family",f);c.Ri.ee("font-style",h);c.Ri.ee("font-variant",k);c.Ri.ee("font-weight",l);c.Ri.ee("font-size",m);c.Ri.zIndex(d==$.Zl?0:1E-6);q&&p.resume();return b}};$.g.Wp=$.ia;
$.g.WK=function(a){var b=this.Yj();a=$.A(a)?a.length?a[0]:window.NaN:a;if(b&&b.target()&&!(0,window.isNaN)(a)){var c=b.target().aa();c.select(a);a=this.nn();c=$.K(a,$.Uy)?c.o("category"):c.get(this.nr[1]);$.tN(b,c)}};$.g.Iz=function(){var a=this.Yj();a&&a.enabled()&&$.uN(a)};
$.g.Ig=function(a){var b=a.type;switch(b){case "mouseout":b="pointmouseout";break;case "mouseover":b="pointmouseover";break;case "mousemove":b="pointmousemove";break;case "mousedown":b="pointmousedown";break;case "mouseup":b="pointmouseup";break;case "click":b="pointclick";break;case "dblclick":b="pointdblclick";break;default:return null}var c;"pointIndex"in a?c=a.pointIndex:"labelIndex"in a?c=a.labelIndex:"markerIndex"in a&&(c=a.markerIndex);c=$.N(c);a.pointIndex=c;return{type:b,actualTarget:a.target,
series:this,pointIndex:c,target:this,originalEvent:a,point:this.Rd(c)}};$.g.ig=function(a){a=$.Y.prototype.ig.call(this,a);var b=$.mo(a.domTarget).index;if(!$.n(b)&&$.Zw(this.state,$.po)){var c=$.ex(this.state,$.po);c.length&&(b=c[0])}b=$.N(b);(0,window.isNaN)(b)||(a.pointIndex=b);return a};$.g.fm=function(){};$.g.Fl=function(a){return $.n(a)?(a=$.yk(a),a!=this.N&&(this.N=a),this):this.N};$.g.Ni=function(a){return $.n(a)?(this.Vc().selectionMode(a),this):this.Vc().i("selectionMode")};
$.g.Mi=function(a,b){if(!this.enabled())return this;var c=this.P()?this.P().Ha():null,d=c&&!c.ff();d&&c.suspend();var e=!(b&&b.shiftKey);$.A(a)?(b||this.ae(),this.state.xh($.qo,a,e?$.po:void 0)):$.ea(a)&&this.state.xh($.qo,a,e?$.po:void 0);d&&c.resume();return this};$.g.ae=function(a){if(this.enabled()){var b=this.P()?this.P().Ha():null,c=b&&!b.ff();c&&b.suspend();var d;$.n(a)?d=a:d=this.state.Ac==$.Zl?window.NaN:void 0;this.state.Hh($.qo,d);c&&b.resume()}};
$.g.Hi=function(a){if(!this.enabled())return this;var b=this.P()?this.P().Ha():null,c=b&&!b.ff();c&&b.suspend();if($.A(a)){for(var d=$.ex(this.state,$.po),e=0;e<d.length;e++)$.Aa(a,d[e])||this.state.Hh($.po,d[e]);$.cx(this.state,a)}else $.ea(a)&&(this.Pd(),$.cx(this.state,a));c&&b.resume();return this};
$.g.Pd=function(a){var b;(b=$.Zw(this.state,$.po))||(b=!!(this.state.Nj()&$.po));if(b&&this.enabled()){var c=(b=this.P()?this.P().Ha():null)&&!b.ff();c&&b.suspend();var d;$.n(a)?d=a:d=this.state.Ac==$.Zl?window.NaN:void 0;this.state.Hh($.po,d);c&&b.resume()}};
$.g.data=function(a,b){if($.n(a)){if(a){var c=a.title||a.caption;c&&this.title(c);a.rows&&(a=a.rows)}this.jg!==a&&(this.jg=a,$.qd(this.jd),$.K(a,$.pr)?this.oa=this.jd=a.tj():$.K(a,$.zr)?this.oa=this.jd=a.ie():this.oa=(this.jd=new $.zr($.A(a)||$.z(a)?a:null,b)).ie(),$.L(this.oa,this.Id,this),this.B(4352,1));return this}return this.oa};$.g.Id=function(){this.B(4352,1)};$.g.BY=function(a){return $.n(a)?(a=$.A(a)?$.Ha(a):null,this.D!=a&&(this.D=a,this.B(16388,1)),this):this.D};
$.g.scale=function(a){if($.n(a)){if(a=$.Xs(this.na,a,null,3,null,this.kg,this)){var b=this.na==a;this.na=a;this.na.da(b);b||this.B(131072,1)}return this}return this.na};$.g.kg=function(){this.B(131072,1)};$.g.sd=function(a){if($.n(a)){if(null===a&&this.Kb)this.Kb=null,this.B(65536,129);else if(a=$.Xs(this.Kb,a,null,48,null,this.Cp,this)){var b=this.Kb==a;this.Kb=a;this.Kb.da(b);b||($.pN(this.Yj()),this.B(65536,129))}return this}return this.Kb};$.g.Cp=function(a){$.X(a,6)&&this.B(65536,129)};
$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};$.g.Yj=function(a){this.Yb||(this.Yb=new $.oN,$.W(this,"colorRange",this.Yb),$.L(this.Yb,this.uz,this),this.B(32772,1));return $.n(a)?(this.Yb.K(a),this):this.Yb};$.g.uz=function(a){var b=0,c=0;$.X(a,1)&&(b|=32772,c|=1);$.X(a,8)&&(b|=4,c|=8);$.X(a,2)&&(b|=32768,c|=8);this.B(b,c)};
$.g.Tu=function(a){return $.no(this.Yj(),a)};$.g.bm=function(a){var b,c=[],d;if("categories"==a&&(d=$.K(this.nn(),$.Uy)?this.nn():void 0)){var e=d.Xq();a=0;for(b=e.length;a<b;a++){var f=e[a];"default"!==f.name&&c.push({text:f.name,iconEnabled:!0,iconType:"square",iconFill:f.color,disabled:!this.enabled(),sourceUid:$.oa(this),sourceKey:a,meta:{W:this,scale:d,qe:f}})}}return c};$.g.ts=function(a){return"categories"==a};
$.g.er=function(a,b){var c=a.o();if("categories"==this.Gf().i("itemsSourceMode")){var d=c.W;var e=c.scale;if(e&&d){var f=[];c=c.qe;for(var h=d.vc();h.advance();){var k=h.get("value"),l=h.o("category");c==e.pn($.n(l)?l:k)&&f.push(h.la())}"single"==this.Vc().i("hoverMode")?b.Jf={W:d,md:f}:b.Jf=[{W:d,md:f,xn:f[f.length-1],we:{index:f[f.length-1],Yf:0}}]}}};
$.g.bq=function(a,b){var c=a.o();if("categories"==this.Gf().i("itemsSourceMode")){var d=c.W;var e=c.scale;if(e&&d){c=c.qe;for(var f=d.vc(),h=[];f.advance();){var k=f.get("value"),l=f.o("category");c==e.pn($.n(l)?l:k)&&h.push(f.la())}if(e=$.mo(b.domTarget))"single"==this.Vc().i("hoverMode")?e.Jf={W:d,md:h}:e.Jf=[{W:d,md:h,xn:h[h.length-1],we:{index:h[h.length-1],Yf:0}}];(d=$.jr(this,"colorRange"))&&d.enabled()&&d.target()&&$.tN(d,$.n(c.No)?c.No:(c.start+c.end)/2)}}};
$.g.aq=function(a,b){var c=a.o();if("categories"==this.Gf().i("itemsSourceMode")){if("single"==this.Vc().i("hoverMode")){var d=$.mo(b.domTarget);d&&(d.W=c.W)}(c=$.jr(this,"colorRange"))&&c.enabled()&&c.target()&&$.uN(c)}};$.g.pba=function(a){return[this.f/this.g*(a*=.1)*Math.cos(a),a*Math.sin(a)]};
$.g.getContext=function(a){a.width=a.height=1;var b=Math.sqrt(a.getContext("2d").getImageData(0,0,1,1).data.length>>2);a.width=2048/b;a.height=2048/b;a=a.getContext("2d");a.fillStyle=a.strokeStyle="red";a.textAlign="center";return{context:a,ratio:b}};
$.g.ob=function(){var a=this.na;if(a){var b,c=this.nn();if(this.J(8192)){var d=this.i("anglesCount");var e=this.i("fromAngle");var f=this.i("toAngle");f-=e;this.ba=[];for(b=0;b<d;b++)this.ba.push(e+f/(1==d?d:d-1)*b);this.D||this.B(16388);this.I(8192)}if(this.J(4096)){var h=this.vc();this.U=[];this.b&&this.b.forEach(function(a,b){a.Ri.parent(null);a.$k.parent(null);a.$k.ll();this.U[b]=a},this);this.b=[];this.Mn=[];a.tg();for(c.tg();h.advance();){b=String(h.get("x")).toLowerCase();e=(0,window.parseFloat)(h.get("value"));
f=h.get("category");var k=h.la();var l=this.U[k]?this.U[k]:{};l.rowIndex=k;l.text=b;l.value=e;l.uC=!1;l.Lna=f;this.b.push(l);h.o("item",l);Moa(this)}a.Cg();c.Cg();this.Kb||($.Ka(this.Mn,void 0,function(a){return $.D(a)?a.color+" "+a.opacity:a}),Foa(c,this.Mn));$.Ra(this.b,function(a,b){return b.value-a.value});this.B(16388);this.I(200704)}if(this.J(196608)){this.Mn=[];h=this.vc();a.tg();for(c.tg();h.advance();)Moa(this);c.Cg();this.Kb||($.Ka(this.Mn,void 0,function(a){return $.D(a)?a.color+" "+a.opacity:
a}),Foa(c,this.Mn));this.J(65536)&&this.B(49680);this.J(131072)&&this.B(49156);this.I(196608)}if(this.J(16384)){var m=this.D?this.D:this.ba;var p=Math.max((0,$.za)(m,0),0);d=m.length;a=this.b.length?this.b[0].value:window.NaN;h=this.aa();c=this.b.length;var q=0;this.b.forEach(function(a,b){var c=$.Xl($.$w(this.state,a.rowIndex));h.select(a.rowIndex);var e=Z7(this,"fontFamily",c),f=Z7(this,"fontStyle",c),k=Z7(this,"fontVariant",c),l=Z7(this,"fontWeight",c);c=$.Vb(Z7(this,"fill",c));a.font=e;a.style=
f;a.variant=k;a.weight=l;a.fill=c;a.rotate=m[(b+p+d)%d];q+=a.value},this);this.Ia("sum",q);this.Ia("max",a);this.Ia("min",this.b.length?this.b[c-1].value:window.NaN);this.Ia("average",q/c);this.Ia("pointsCount",c);this.I(16384)}}};$.g.Pu=function(){this.ob()};
$.g.ei=function(a){var b=this.scale(),c=$.jr(this,"colorRange");this.J(32768)&&c&&($.V(c),c.scale(this.nn()),c.target(this),c.ib(this),c.da(!1),c.enabled()&&this.B(4));if(this.J(4)){c&&c.enabled()?(c.ja(a.clone().round()),this.j=c.qd()):this.j=a.clone();this.f=this.j.width;this.g=this.j.height;this.ab="spiral"==this.i("mode")?this.pba:Joa(this);a=this.b.length;var d=this.b[0],e=-1,f=null,h=this.getContext(this.canvas?this.canvas:this.canvas=window.document.createElement("canvas")),k=Koa((this.f>>
5)*this.g),l=Math.sqrt(this.f*this.f+this.g*this.g);Goa(this,d);for(this.b.forEach(function(a){this.aa().select(a.rowIndex);delete a.size;delete a.kE;var c=$.Xl($.$w(this.state,a.rowIndex));c=Z7(this,"fontSize",c);var d=$.Za(b.transform(a.value),0,1);d=~~(this.O+d*(this.Ja-this.O));a.size=null!=c?$.oo(c)?d*(0,window.parseFloat)(c)/100:c:d},this);++e<a;)d=this.b[e],d.x=this.f>>1,d.y=this.g>>1,Hoa(this,h,d,this.b,e),d.o1&&Loa(this,k,d,f,l)&&(f?Ioa(f,d):f=[{x:d.x+d.qj,y:d.y+d.se},{x:d.x+d.rj,y:d.y+d.Xe}],
d.x-=this.f>>1,d.y-=this.g>>1);a=f?Math.min(this.f/Math.abs(f[1].x-this.f/2),this.f/Math.abs(f[0].x-this.f/2),this.g/Math.abs(f[1].y-this.g/2),this.g/Math.abs(f[0].y-this.g/2))/2:1;this.ub||(this.ub=this.La.Dd());(e=$.jr(this,"background"))&&this.ub.zIndex((e.zIndex()||0)+1);this.G||(this.G=this.ub.Dd(),$.du(this,this.G));this.re||(this.re=this.ub.Dd());this.ka=this.j.left+(this.f>>1);this.ya=this.j.top+(this.g>>1);this.Ga=a;this.ub.jc(a,0,0,a,this.ka,this.ya);var m=this.ub.Gd;this.b.forEach(function(a){var b=
[a.x,a.y];m.transform(b,0,b,0,1);if(b[0]+a.qj<this.j.left||b[0]+a.rj>this.j.$a()||b[1]+a.se<this.j.top||b[1]+a.Xe>this.j.Ua())a.uC&&(a.Ri.parent(null),a.$k.parent(null)),a.uC=!1;else{a.uC||(a.Ri=a.Ri?a.Ri.parent(this.re):Eoa(this.re),a.Ri.ee("text-anchor","middle"),a.Ri.td(!0),a.Ri.text(a.text.toLowerCase()),a.Ri.cursor("default"),a.$k=a.$k?a.$k.parent(this.G):Eoa(this.G),a.$k&&(a.$k.tag={W:this,index:a.rowIndex}),a.$k.ee("fill","#fff"),a.$k.ee("opacity",1E-6),a.$k.ee("text-anchor","middle"),a.$k.text(a.text.toLowerCase()),
a.$k.cursor("default"),a.uC=!0);var c=$.Xl($.$w(this.state,a.rowIndex));this.aa().select(a.rowIndex);b=$.Vb(Z7(this,"fill",c));var d=Z7(this,"fontFamily",c),e=Z7(this,"fontStyle",c),f=Z7(this,"fontVariant",c),h=Z7(this,"fontWeight",c);c=Z7(this,"fontSize",c);Y7(a.Ri,b);a.Ri.ee("font-family",d);a.Ri.ee("font-style",e);a.Ri.ee("font-variant",f);a.Ri.ee("font-weight",h);a.Ri.ee("font-size",c);a.Ri.ee("transform","translate("+[a.x,a.y]+")rotate("+a.rotate+")");a.Ri.zIndex(0);a.$k.ee("font-family",d);
a.$k.ee("font-style",e);a.$k.ee("font-variant",f);a.$k.ee("font-weight",h);a.$k.ee("font-size",c);a.$k.ee("transform","translate("+[a.x,a.y]+")rotate("+a.rotate+")");a.$k.zIndex(0)}},this);this.I(16);this.I(4)}this.J(32768)&&(c&&($.V(c),c.P(this.La),c.$(),c.da(!1)),this.I(32768));if(this.J(16)){var p=this.vc();this.b.forEach(function(a){var b=$.Xl($.$w(this.state,a.rowIndex));p.select(a.rowIndex);a.uC&&a.Ri&&Y7(a.Ri,$.Vb(Z7(this,"fill",b)))},this);this.I(16)}};$.g.HC=function(){return["x"]};
$.g.IC=function(a){return a.get("x")};$.g.GC=function(a){a=a.get("name");return $.z(a)?a:null};$.g.mG=function(){return this.data().$c("category")?["value","category"]:["value"]};$.g.Ej=function(){return!this.aa().Gb()};$.g.zv=function(a){var b;$.z(a)?(b=$.Rs(a,null))||(b=null):$.D(a)?(b=$.Rs(a.type,!0),b.K(a)):b=null;return b};$.g.bE=function(a){var b=a.scale;(b=this.zv(b))&&this.scale(b);b=a.colorScale;(b=this.zv(b))&&this.sd(b)};
$.g.X=function(a,b){X7.u.X.call(this,a,b);$.zq(this,$7,a,b);this.bE(a);this.data(a.data);this.BY(a.angles);this.cc(a.palette);this.Yj().ia(!!b,a.colorRange);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected)};
$.g.F=function(){var a=X7.u.F.call(this);$.Hq(this,$7,a);a.data=this.data().F();$.n(this.D)&&(a.angles=this.D);a.scale=this.scale().F();this.sd()&&(a.colorScale=this.sd().F());a.colorRange=this.Yj().F();a.palette=this.cc().F();a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();return{chart:a}};
$.g.R=function(){for(var a=0;a<this.b.length;a++){var b=this.b[a];$.qd(b.Ri);$.qd(b.$k);$.qd(b.kE)}$.td(this.re,this.G,this.ub,this.ca,this.xa,this.Ca,this.Yb,this.state,this.Ea,this.oa,this.jd);this.Ea=this.state=this.na=this.Kb=this.Yb=this.Ca=this.xa=this.ca=this.ub=this.G=this.re=null;delete this.oa;this.jd=null;X7.u.R.call(this)};var a8=X7.prototype;a8.getType=a8.Na;a8.data=a8.data;a8.angles=a8.BY;a8.scale=a8.scale;a8.colorScale=a8.sd;a8.colorRange=a8.Yj;a8.palette=a8.cc;a8.normal=a8.Sa;
a8.hovered=a8.mb;a8.selected=a8.selected;a8.hover=a8.Hi;a8.unhover=a8.Pd;a8.select=a8.Mi;a8.unselect=a8.ae;a8.getPoint=a8.Rd;$.Jp["tag-cloud"]=Noa;$.F("anychart.tagCloud",Noa);}).call(this,$)}
if(!_.theme_tag_cloud){_.theme_tag_cloud=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{tagCloud:{anglesCount:7,fromAngle:-90,toAngle:90,mode:"spiral",textSpacing:1,scale:{type:"linear"},colorRange:{},colorScale:null,normal:{fontFamily:"Verdana, Helvetica, Arial, sans-serif",fontOpacity:1,fontDecoration:"none",fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",fill:function(){return $.Ml(this.scaledColor||this.sourceColor,.85,!0)}},hovered:{fill:$.UM},selected:{fill:"#333 0.85"},tooltip:{enabled:!0,title:{enabled:!0},separator:{enabled:!0},
titleFormat:function(){return this.name||this.x},format:function(){return"Frequency: "+$.OM(this.value)+"\nPercent of total: "+(100*this.value/this.getStat("sum")).toFixed(1)+"%"}},legend:{enabled:!1,itemsSourceMode:"categories",tooltip:{contentInternal:{background:{disablePointerEvents:!1}}}}}});}).call(this,$)}
if(!_.timeline){_.timeline=1;(function($){var r5=function(){$.Y.call(this);this.path=$.nk();$.T(this.ua,[["stroke",0,1]])},s5=function(){$.Y.call(this);this.G=0;this.re=[];this.g=0;this.D=new $.rw;$.T(this.ua,[["stroke",16,1],["fill",16,1],["height",276,5]])},t5=function(){this.ad=[]},u5=function(){$.Yq.call(this);$.T(this.ua,[["length",0,1],["stroke",0,1]])},v5=function(a){$.xA.call(this,a)},w5=function(a,b,c,d,e){$.gB.call(this,a,b,c,d,e);this.f="up";$.T(this.ua,[["direction",2048,1,4294967295]])},x5=function(a,b){return $.n(b)?(a.f=b,
a):a.f},y5=function(a){var b=a.i("direction");return"auto"==b||"odd-even"==b?a.f:b},z5=function(a,b,c,d,e){w5.call(this,a,b,c,d,e)},A5=function(a){$.xA.call(this,a)},B5=function(a,b,c,d,e){w5.call(this,a,b,c,d,e);$.T(this.ua,[["height",0,0]])},C5=function(){$.xz.call(this);this.Fa("timeline");this.cb=new $.et;$.W(this,"scale",this.cb);this.cb.Yy([[{unit:"minute",count:10},{unit:"hour",count:1},{unit:"day",count:1}],[{unit:"hour",count:4},{unit:"hour",count:12},{unit:"day",count:1}],[{unit:"day",count:1},
{unit:"day",count:2},{unit:"week",count:1}],[{unit:"day",count:2},{unit:"week",count:1},{unit:"month",count:1}],[{unit:"month",count:1},{unit:"quarter",count:1},{unit:"year",count:1}],[{unit:"quarter",count:1},{unit:"year",count:1},{unit:"year",count:10}],[{unit:"year",count:1},{unit:"year",count:10},{unit:"year",count:50}],[{unit:"year",count:10},{unit:"year",count:50},{unit:"year",count:200}]]);this.axis().scale(this.cb);$.L(this.cb,this.Vh,this);this.ag=[];this.eg=[];this.cg=[];this.fj=this.D=
0;this.O={SB:0,YD:0};this.Ra=this.ab=0;this.ga=[];this.eb=[]},D5=function(a){for(var b=a.length-1;0<=b;b--){var c=a[b];$.n(c)&&c.fd&&$.Ca(a,b,1)}},E5=function(a){return a.axis().enabled()?a.axis().i("height"):0},F5=function(a,b,c){!$.n(b)||b==a.ab&&c==a.Ra||(a.ab=b,a.Ra=c,$.br(a,"timelinechart","scroll",1))},ena=function(a,b){var c=a.Li-b.Li;return 0==c?b.vj-a.vj:c},fna=function(a,b){var c=a.Li-b.Li;return 0==c?a.vj-b.vj:c},G5=function(a,b){a.f.Li=Math.min(a.f.Li,b.Li);a.f.vj=Math.max(a.f.vj,b.vj);
a.f.dg=Math.min(a.f.dg,b.dg);a.f.Zf=Math.max(a.f.Zf,b.Zf)},gna=function(a){var b=new C5;b.Fa("timeline");b.pa("defaultSeriesType","moment");for(var c=0,d=arguments.length;c<d;c++)b.moment(arguments[c]);return b};$.H(r5,$.Y);var hna={};$.hq(hna,[$.Z.Jn]);$.U(r5,hna);r5.prototype.$=function(){this.path.clear();this.path.stroke(this.i("stroke"));if(!this.Bc())return this;this.J(8)&&(this.path.zIndex(this.zIndex()),this.I(8));this.J(2)&&(this.path.parent(this.P()),this.I(2));return this};
r5.prototype.Pp=function(a,b){if(0!=b.height){var c=$.Wo(this.i("stroke"));c=$.R(b.left+a*b.width,c);var d=Math.floor($.R(b.top,1));this.path.moveTo(c,Math.ceil($.R(b.Ua(),1))).lineTo(c,d)}};r5.prototype.remove=function(){this.path&&this.path.parent(null)};r5.prototype.R=function(){$.td(this.path);this.path=null;r5.u.R.call(this)};$.H(s5,$.Y);var ina={};$.hq(ina,[$.Z.Jn,$.Z.az,[0,"height",$.qq]]);$.U(s5,ina);$.g=s5.prototype;$.g.sa=$.Y.prototype.sa|464;$.g.qa=$.Y.prototype.qa|4;$.g.offset=function(a){return $.n(a)?(this.g!=a&&(this.g=a,this.B(400)),this):this.g};$.g.scale=function(a){return $.n(a)?(a!=this.na&&(this.na&&$.Zq(this.na,this.Vh,this),this.na=a,$.L(this.na,this.Vh,this)),this):this.na};$.g.Vh=function(){this.B(400,0)};
$.g.Qa=function(a){this.hb||(this.hb=new r5,$.W(this,"ticks",this.hb),$.L(this.hb,this.Yh,this));return $.n(a)?(this.hb.K(a),this):this.hb};$.g.Yh=function(){this.B(256,1)};$.g.labels=function(a){this.Il||(this.Il=new $.ux,$.L(this.Il,this.AU,this),$.W(this,"labels",this.Il));return $.n(a)?(this.Il.K(a),this):this.Il};$.g.AU=function(){this.B(128,1)};
$.g.$=function(){var a=this.scale();this.xy();if(!a)return $.cl(2),this;if(!this.Bc())return this;this.La||(this.La=this.P().Dd(),this.f||(this.f=this.La.path(),this.j=this.La.path(),this.j.zIndex(37)),this.La.fc(this.US()));this.b||(this.b=new $.Ny,this.b.labels(this.labels()),$.Py(this.b),$.ql(this.b),this.b.ta($.oE|$.pE));this.J(2)&&(this.La.parent(this.P()),this.I(2));this.J(8)&&(this.La.zIndex(this.zIndex()),this.I(8));if(this.J(4)){var b=this.ja();this.G=b.top+b.height/2;b=this.ja();var c=b.left,
d=this.i("height");this.N=new $.J(c,this.G-d/2,b.width,d);this.B(400);this.I(4)}if(this.J(16)){var e=this.ja(),f=this.G;b=this.i("height");var h=b/2;this.f.clear();this.j.clear();c=this.i("stroke");d=this.i("fill");var k=$.Wo(c),l=this.scale().dj(),m=this.scale().transform(l.min);l=this.scale().transform(l.max+this.g);m*=e.width;l*=e.width;m+=e.left;e=l+e.left;m=$.R(m,k);e=$.R(e,k);l=$.R(f-h,k);f=$.R(f+h,k);this.La.clip(new $.J(Math.floor(m),Math.floor(l),Math.ceil(e)-Math.floor(m),Math.ceil(f)-Math.floor(l)));
0!=b&&(this.f.moveTo(m,l).lineTo(e,l).lineTo(e,f).lineTo(m,f).close(),this.j.moveTo(m,l).lineTo(e,l).lineTo(e,f).lineTo(m,f).close(),this.j.stroke(c),this.f.fill(d),this.f.stroke("none"));this.I(16)}if(this.J(256)){if(b=$.jr(this,"ticks"))for(b.P(this.La),b.$(),c=this.rn(),d=this.scale().dj(),a.Dj()&&(c.length=1),a=0;a<c.length;a++)f=c[a],h=this.scale().transform(f.start),f.start>=d.min&&b.Pp(h,this.N);this.I(256)}this.J(64)&&this.I(64);this.J(128)&&(this.labels().enabled()?(this.Fh.parent(this.La),
this.fi()):this.Fh.parent(null),this.I(128));return this};$.g.rn=function(){var a,b=this.scale(),c=$.tt(b),d=b.cj();for(a=0;a<c.length;a++){var e=b.rn(void 0,void 0,c[a].unit,c[a].count,d);if(10>=e.length){4>e.length&&0<a&&(b.rn(void 0,void 0,c[a-1].unit,c[a-1].count,d),a--);break}}a==c.length&&a--;e=c[a].unit;a=c[a].count;this.O={unit:e,count:a};d.min+=this.g;d.max+=this.g;return e=b.rn(void 0,void 0,e,a,d)};$.g.US=function(){this.Fh||(this.nm=$.kg().Jq(),this.Fh=new $.Uh(this.nm));return this.Fh};
$.g.fi=function(){var a=this.rn(),b=this.scale(),c=this.ja(),d=this.i("height"),e=b.dj(),f=this.labels(),h=this.O.unit,k=b.Dj();k&&(a.length=1);$.pl.measure();$.Qy(this.b);for(var l=0;l<a.length;l++){var m=this.re[l];m.text(C);m.style(f.flatten());$.Cx(m);l<a.length-1&&$.Fx(this.re[l+1]);var p=a[l];if(p.start<e.min)$.Dx(m,null);else{switch(h){case "minute":var q="hour";break;case "hour":q="day";break;case "day":q="month";break;default:q="year"}k&&(h="day",q="year");C=$.is($.es(h,q,"timeline"));q=
c.left+c.width*b.transform(p.start);for(var r=k?c.left+c.width:c.left+c.width*b.transform(p.end),t=this.labels().padding().wg(r-q),u,v=!1,w=window.Infinity,x="yyyy/MM/dd'T'HH:mm:ss.SSS",y=0;y<C.length;y++){var B=C[y],G=this.b.Qz;if(B in G){G=Math.ceil(G[B].width);if(G<=t){u=B;v=!0;break}G<=w&&(w=G,x=B)}}v||(u=x);var C=this.labels().$n($.av(this.D,{value:{value:$.js(p.start,u),type:"string"},tickValue:{value:p.start,type:"number"}}));m.text(C);m.style(f.flatten());$.Cx(m);t=b.transform(p.start);b.transform(Math.min(p.end,
e.max+this.g));0!=d?$.Dx(m,this.nm):$.Dx(m,null);p=this.labels().padding();v=$.R(c.left+c.width*t,1);w=Math.floor(this.G-d/2);x=d;t=r-q;q=p.nj(new $.J(v,w,t,x));$.Kx(m,q,this.La.Ha())}}for(l=a.length;l<this.re.length;l++)$.Dx(this.re[l],null)};$.g.Bc=function(){if(this.ef())return!1;if(!this.enabled())return this.J(1)&&(this.remove(),this.I(1),this.B(450)),!1;this.I(1);return!0};$.g.remove=function(){this.La&&this.La.parent(null)};
$.g.xy=function(){var a=this.rn();if(!this.re.length)for(var b=0;b<a.length;b++){var c=new $.vx;this.re.push(c)}if(this.re.length<a.length)for(b=this.re.length;b<a.length;b++)this.re.push(new $.vx);return this.re};$.g.R=function(){$.td(this.hb,this.f,this.j,this.Il,this.re);this.Il=this.j=this.f=this.hb=null;this.re.length=0;s5.u.R.call(this)};var H5=s5.prototype;H5.ticks=H5.Qa;H5.labels=H5.labels;t5.prototype.b=function(a,b){var c=a.Li-b.Li;return 0==c?(c=a.vj-b.vj,0==c?-1:c):a.Li-b.Li};t5.prototype.f=function(a,b){return 0==a.dg-b.dg?a.Zf-b.Zf:a.dg-b.dg};
t5.prototype.add=function(a,b){var c=a.Zf-a.dg;a.dg=0;a.Zf=c;$.Ua(this.ad,a,this.b);var d=[],e=[],f=!0,h;for(h=0;h<this.ad.length;h++){var k=this.ad[h];if(k!=a){if(k.vj>a.Li&&f||k.Li<a.vj&&!f)d.push(k),$.Ua(e,k,this.f)}else f=!1}for(h=0;h<e.length;h++)if(k=e[h],a.dg<=k.Zf&&a.dg>=k.dg||a.Zf<=k.Zf&&a.Zf>=k.dg||k.dg<=a.Zf&&k.dg>=a.dg||k.Zf<=a.Zf&&k.Zf>=a.dg)b?a.Zf=k.Zf+c:(a.dg=k.Zf,a.Zf=a.dg+c)};$.H(u5,$.Yq);u5.prototype.qa=$.Yq.prototype.qa|1;var jna={};$.hq(jna,[$.Z.Jn,$.Z.mJ]);$.U(u5,jna);$.H(v5,$.xA);$.sG[34]=v5;v5.prototype.type=34;v5.prototype.flags=521;v5.prototype.fg=function(a,b){var c=this.Wc,d=a.get(this.W.ue()[0]);d=this.ah(d,this.prevValue);var e={};e[d.stroke]=!0;a.o("names",d);c=c.Xc(b,e)[d.stroke];d=a.o("x");e=a.o("zero");var f=a.o("minLength"),h=$.Wo(c.stroke()),k=a.o("axisHeight"),l="up"==(a.get("direction")||a.o("direction"));e+=l?-k/2:k/2;d=$.R(d,h);$.vA(c,this.za,d,e);$.wA(c,this.za,d,l?e-f:e+f)};$.H(w5,$.gB);w5.prototype.sa=$.gB.prototype.sa;var I5={};$.hq(I5,[$.Z.LX]);$.U(w5,I5);$.g=w5.prototype;$.g.Zr=function(){return 0};$.g.jV=function(){return!1};$.g.iD=function(a){a=$.Rk(a.Oh());var b=this.Aa.Va().cj();return a>=b.min||a<=b.max?!0:!1};$.g.Tg=function(){return!1};$.g.SV=$.ia;
$.g.OS=function(a,b,c){var d=this.data();d.aa();this.SV(a,b,c);this.B(512);return this.gd={data:a,W:this,qV:0,k1:this.check($.tG)&&(d.$c("normal")||d.$c("hovered")||d.$c("selected")||d.$c("label")||d.$c("hoverLabel")||d.$c("selectLabel")||d.$c("minLabel")||d.$c("hoverMinLabel")||d.$c("selectMinLabel")||d.$c("maxLabel")||d.$c("hoverMaxLabel")||d.$c("selectMaxLabel")),l1:this.check(4194304)&&(d.$c("normal")||d.$c("hovered")||d.$c("selected")||d.$c("marker")||d.$c("hoverMarker")||d.$c("selectMarker")),
m1:this.check(256)&&(d.$c("outliers")||d.$c("normal")||d.$c("hovered")||d.$c("selected")||d.$c("outlierMarker")||d.$c("hoverOutlierMarker")||d.$c("selectOutlierMarker")),IT:!1,n1:!1,j1:!1}};$.g.EH=function(a){var b=this.i("direction");if("auto"==b||"odd-even"==b)b=x5(this);a.o("direction",b);b=this.ja();a.o("zero",b.top+b.height/2)};$.g.hI=function(){this.Fj.push(this.EH)};$.g.F=function(){var a=w5.u.F.call(this);$.Hq(this,I5,a);return a};$.g.X=function(a,b){w5.u.X.call(this,a,b);$.zq(this,I5,a,b)};$.H(z5,w5);$.g=z5.prototype;$.g.EH=function(a,b,c,d,e){z5.u.EH.call(this,a,b,c,d,e);b=this.ja();c=this.Zg().i("length");a.o("length",$.M(c,b.height));a.o("x",b.left+b.width*e)};$.g.qA=function(a,b,c){var d=this.cl().transform(a.Oh());a.o("xRatio",d);for(var e=0;e<this.Fj.length;e++)this.Fj[e].call(this,a,b,c,0,d)};$.g.Zg=function(a){this.b||(this.b=new u5,this.b.ib(this),$.L(this.b,this.dC,this),$.W(this,"connector",this.b));return $.n(a)?(this.b.K(a),this):this.b};$.g.dC=function(){this.B(2048,1)};
$.g.SV=function(a,b,c){for(var d=this.data().aa();d.advance();){var e=c(d.get("x")),f={},h={};f.x=e;h.rawIndex=d.la();b(a,{data:f,o:h})}};$.g.qp=function(){var a=this.aa(),b=a.o("minLength"),c=this.ja();c=c.top+c.height/2;var d="up"==(a.get("direction")||y5(this));a=a.o("axisHeight")/2;return d?c-b-a:c+b+a};$.g.KN=function(){return"up"==(this.aa().get("direction")||y5(this))?"center-bottom":"center-top"};
$.g.Em=function(a,b){var c=z5.u.Em.call(this,a,b);c.date={value:$.cs(b.get("x")),type:"date-time"};return c};$.g.R=function(){this.b&&($.Zq(this.b,this.dC,this),$.td(this.b),this.b=null);z5.u.R.call(this)};$.H(A5,$.xA);$.sG[35]=A5;A5.prototype.type=35;A5.prototype.flags=1537;
A5.prototype.fg=function(a,b){var c=this.Wc,d=a.get(this.W.ue()[0]);d=this.ah(d,this.prevValue);var e={};e[d.path]=!0;a.o("names",d);c=c.Xc(b,e)[d.path];d=a.o("startX");e=a.o("endX");var f=a.o("zero"),h=a.o("axisHeight");a.o("stackLevel");var k=a.get("direction")||a.o("direction"),l=a.o("startY"),m=a.o("endY");"up"==k?(f-=h/2,h=f-l-m):(f+=h/2,h=f+l+m);k=$.Wo(c.stroke());d=$.R(d,k);e=$.R(e,k);c.moveTo(d,f).lineTo(d,h).lineTo(e,h).lineTo(e,f).close()};$.H(B5,w5);var kna={};$.hq(kna,[$.Z.lJ]);$.U(B5,kna);$.g=B5.prototype;$.g.qA=function(a,b,c){var d=this.cl(),e=d.transform(a.get("start"));d=d.transform(a.get("end"));a.o("startXRatio",e);a.o("endXRatio",d);for(e=0;e<this.Fj.length;e++)this.Fj[e].call(this,a,b,c,0)};
$.g.EH=function(a,b,c,d,e){B5.u.EH.call(this,a,b,c,d,e);b=this.ja();c=a.o("startXRatio");c=b.left+b.width*c;d=a.o("endXRatio");if(!$.ea(d)||(0,window.isNaN)(d))d=this.cl(),e=d.dj().max,d=d.transform(e);d=b.left+b.width*d;a.o("startX",c);a.o("endX",d);b=$.M(this.i("height"),b.height);a.o("height",b)};$.g.SV=function(a,b,c){for(var d=this.data().aa();d.advance();){var e=c(d.get("start")),f=c(d.get("end")),h={},k={};h.start=e;h.end=f;k.rawIndex=d.la();b(a,{data:h,o:k})}};
$.g.Ai=function(){var a=this.aa(),b=a.o("height");var c=a.o("zero");var d=a.o("axisHeight");var e=a.o("startX");var f=a.o("endY");a="up"==(a.get("direction")||y5(this));d/=2;b=f-b/2;c=c+(a?-d:d)+(a?-b:b);a=this.Aa.dc.clone().left+this.Aa.fj;a>e&&(e=a);return{value:{x:e||0,y:c||0}}};$.g.Em=function(a,b){var c=B5.u.Em.call(this,a,b);c.start={value:$.cs(b.get("start")),type:"date-time"};c.end={value:$.cs(b.get("end")),type:"date-time"};return c};
$.g.vZ=function(a,b){var c=this.Qf();c.select(b);var d=c.o("startX"),e=this.Aa.dc.clone().left+this.Aa.fj;e>d&&(d=e);e=c.o("endX");c=c.o("height");a.width(e-d);a.height(c)};$.H(C5,$.xz);var J5={},lna=$.tG|1572864;J5.moment={Ab:34,Fb:2,Jb:[$.RG],Ib:null,Cb:null,zb:lna|4194304,wb:"zero"};J5.range={Ab:35,Fb:2,Jb:[$.tH],Ib:null,Cb:null,zb:lna,wb:"zero"};C5.prototype.Oi=J5;$.yz(C5,C5.prototype.Oi);C5.prototype.sa=$.xz.prototype.sa|543227904;C5.prototype.qa=$.ox.prototype.qa;$.uz(C5,"timelinechart",["scroll"]);$.g=C5.prototype;
$.g.Sm=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.cg[c];if(!e){e=new $.Uz;$.n(!0)&&(e.g=!0);var f=$.gr($.fr(this),"defaultRangeMarkerSettings");e.Fa(f);e.Ba=this;$.Vz(e,"vertical");this.cg[c]=e;e.ib(this);$.L(e,this.QJ,this);$.pd(e,this.OM,this);this.B(4194304,1)}return $.n(d)?(e.K(d),this):e};
$.g.Xm=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.eg[c];if(!e){e=new $.Xz;var f=e;$.n(!0)&&(f.G=!0);f=$.gr($.fr(this),"defaultTextMarkerSettings");e.Fa(f);e.Ba=this;$.Ly(e,"vertical");this.eg[c]=e;e.ib(this);$.L(e,this.QJ,this);$.pd(e,this.OM,this);this.B(4194304,1)}return $.n(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.ag[c];if(!e){e=new $.Rz;$.n(!0)&&(e.g=!0);var f=$.gr($.fr(this),"defaultLineMarkerSettings");e.Fa(f);e.Ba=this;$.Sz(e,"vertical");this.ag[c]=e;e.ib(this);$.L(e,this.QJ,this);$.pd(e,this.OM,this);this.B(4194304,1)}return $.n(d)?(e.K(d),this):e};$.g.QJ=function(a){var b=4194304;$.X(a,4)&&(b|=65536);this.B(b,1)};$.g.OM=function(){this.B(65536,1)};
$.g.c5=function(a){if(!this.j){this.j=new $.Rz;$.n(!0)&&(this.j.g=!0);var b=$.gr($.fr(this),"defaultLineMarkerSettings");this.j.Fa(b);$.W(this,"todayMarker",this.j);this.j.Ba=this;$.Sz(this.j,"vertical");this.j.ib(this);$.L(this.j,this.QJ,this);$.pd(this.j,this.OM,this);b=new Date;this.j.value(Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDay()));this.B(4259840,1)}return $.n(a)?(this.j.K(a),this):this.j};
$.g.ei=function(a){if(!this.ef()){this.G||(this.G=this.La.Dd(),this.G.zIndex(1),this.sc.ve(this,"chartdraw",this.Jea));this.N||(this.N=this.La.Dd(),this.N.zIndex(.5));this.ba||(this.ba=this.La.Dd(),this.ba.zIndex(1));this.J(4)&&(this.dc=a.clone(),this.B(543195136),$.br(this,"timelinechart","scroll"),this.I(4));this.$j=[];this.Ob=[];this.nb=[];var b=E5(this);if(0==this.Mj())this.scale().reset(),this.axis().B(400),this.Ga=window.Infinity,this.Ja=-window.Infinity,this.eb.length=0,this.ga.length=0,this.f=
{Li:0,vj:this.dc.width,dg:-this.dc.height/2,Zf:this.dc.height/2},F5(this,0,0);else if(this.J(98304)){this.eb=[];this.ga=[];for(var c=window.Infinity,d=-window.Infinity,e=0,f=0,h=["up","down"],k=0;k<this.fb.length;k++){var l=this.fb[k],m=l.Sj();switch(l.i("direction")){case "odd-even":"range"==m?(x5(l,h[e&1]),e++):"moment"==m&&(x5(l,h[f&1]),f++);break;case "auto":"range"==m?x5(l,"up"):"moment"==m&&x5(l,"up")}switch(m){case "moment":this.eb.push(l);break;case "range":this.ga.push(l)}var p=$.Fz(l,!1,
!0),q=l,r=window.Infinity,t=-window.Infinity,u=q.vc(),v=q.Sj();if("moment"==v)for(;u.advance();){var w=$.Rk(u.get("x"));r=Math.min(r,w);t=Math.max(t,w)}else if("range"==v)for(;u.advance();){var x=$.Rk(u.get("start")),y=$.Rk(u.get("end"));(0,window.isNaN)(x)||((0,window.isNaN)(y)||(r=Math.min(r,y),t=Math.max(t,y)),r=Math.min(r,x),t=Math.max(t,x))}var B=r;var G=t;c=Math.min(c,B);d=Math.max(d,G);this.$j.push(p);"range"==m?this.Ob.push(p):this.nb.push(p)}var C=c;var I=d;var P=C;var Q=I;D5(this.ag);D5(this.cg);
D5(this.eg);this.j&&this.j.fd&&(this.j=void 0);for(var S=$.Ga(this.ag,this.cg,this.eg,[this.j]),sa=[],va=0;va<S.length;va++){var Oa=S[va];if(Oa&&Oa.enabled()&&"consider"==Oa.i("scaleRangeMode"))for(var vb=Oa.ds(),mc=0;mc<vb.length;mc++)sa.push($.cs(vb[mc]).getTime())}var kb=Math.min.apply(null,sa),Qb=Math.max.apply(null,sa);P=Math.min(P,kb);Q=Math.max(Q,Qb);if(P==Q){var Gb=$.kp("day",1);P-=Gb/2;Q+=Gb/2}if(this.Ja!=P||this.Ga!=Q)this.Ja=P,this.Ga=Q,$.gt(this.scale(),this.Ja,this.Ga),this.cb.YH?(this.cb.Ui.apply(this.cb,
this.cb.VH),this.cb.YH=!1,this.cb.VH=null):($.V(this.scale()),this.scale().Cm(),this.scale().da(!1));for(var ic=this.$j,ie,Rb,Fc,Wb,Ie,dd=[],Lc=[],hb=[],zc=[],Je=[],nh=[],je=[],oh=0;oh<ic.length;oh++){Ie=ic[oh];Wb=Ie.W;var ve=Wb.Sj();if("range"==ve){for(var Yd,we,af,rd=Ie,ph=rd.W,ld=rd.data,Gg=[],Kg=[],cm=[],xe=E5(this),ke=this.scale().dj().max,sf=ph.vc(),If=0;If<ld.length;If++){sf.select(If);var zj=ld[If],dm=sf.get("start"),Mc=sf.get("name")||sf.get("x");if(null==dm||(0,window.isNaN)(dm)||null==
Mc)sf.o("missing",!0);else{af=this.scale().transform(zj.data.start)*this.dc.width;we=(0,window.isNaN)(zj.data.end)?this.scale().transform(ke)*this.dc.width:this.scale().transform(zj.data.end)*this.dc.width;Yd=$.M(ph.i("height"),this.dc.height);var Ui=sf.get("direction")||y5(ph),vi={Li:af,vj:we,dg:0,Zf:Yd,direction:Ui,W:ph,fI:If,gd:rd};Gg.push(vi);"up"==Ui?Kg.push(vi):cm.push(vi);zj.o.axisHeight=xe}}ie=Gg;Rb=Kg;Fc=cm;dd=$.Ga(dd,ie);Lc=$.Ga(Lc,ie);hb=$.Ga(hb,Rb);zc=$.Ga(zc,Fc)}else if("moment"==ve){var $g=
Ie,wi=$g.W,ye=$g.data,Jf=[],Aj=[],Bj=[],Vi=E5(this),ze=wi.labels();$.Mu(ze);for(var em=wi.Eb(),Cj=em.enabled()?em.i("size"):0,Wi=wi.aa(),Gd=0;Gd<ye.length;Gd++)if(Wi.select(Gd),null!=Wi.get("value")&&null!=Wi.get("x")){var Xh=ze.Vd(Gd),Xi=$.eB(wi,new $.rw);null===Xh?Xh=ze.add(Xi,{value:{x:0,y:0}},Gd):Xh.lf(Xi);Xh.b=null;var ah=ze.measure(Xh),Yh=ze.i("offsetX")||0,rh=ye[Gd];var bh=this.scale().transform(rh.data.x)*this.dc.width-Cj;var Ke=bh+ah.width+Yh+Cj;var uk=50-ah.height/2;var vg=50+ah.height/
2;var Kf=Wi.get("direction")||y5(wi),Cd={Li:bh,vj:Ke,dg:uk,Zf:vg,direction:Kf,W:wi,fI:Gd,gd:$g};Jf.push(Cd);"up"==Kf?Aj.push(Cd):Bj.push(Cd);rh.o.axisHeight=Vi}else Wi.o("missing",!0);ie=Jf;Rb=Aj;Fc=Bj;dd=$.Ga(dd,ie);Je=$.Ga(Je,ie);nh=$.Ga(nh,Rb);je=$.Ga(je,Fc)}}var Qd=hb;var md=zc;var wg=nh;var Zh=je;$.Qa(Qd,ena);$.Qa(md,ena);$.Qa(wg,fna);$.Qa(Zh,fna);var $h=this.scale().dj();this.f={Li:window.Infinity,vj:-window.Infinity,dg:window.Infinity,Zf:-window.Infinity};this.f.Li=Math.min(this.f.Li,this.scale().transform($h.min)*
this.dc.width);this.f.vj=Math.max(this.f.vj,this.scale().transform($h.max)*this.dc.width);var Nb,Rd,ai=[],Lf=new t5;for(Rd=0;Rd<Qd.length;Rd++){(Nb=Qd[Rd])&&-1==ai.indexOf(Nb.W)&&(Nb.W.zIndex(34-ai.length/100),ai.push(Nb.W));var Ae=Nb.fI;var Zd=Nb.gd.data[Ae];Lf.add(Nb,!0);G5(this,Nb);Zd.o.startY=Nb.dg;Zd.o.endY=Nb.Zf;Zd.o.stateZIndex=1-Nb.Zf/1E6}for(Rd=wg.length-1;0<=Rd;Rd--)Nb=wg[Rd],Ae=Nb.fI,Lf.add(Nb),G5(this,Nb),Zd=Nb.gd.data[Ae],Zd.o.minLength=Nb.dg+(Nb.Zf-Nb.dg)/2;var sh=new t5;ai=[];for(Rd=
0;Rd<md.length;Rd++)(Nb=md[Rd])&&-1==ai.indexOf(Nb.W)&&(Nb.W.zIndex(34-ai.length/100),ai.push(Nb.W)),Ae=Nb.fI,Zd=Nb.gd.data[Ae],sh.add(Nb,!0),Zd.o.startY=Nb.dg,Zd.o.endY=Nb.Zf,Zd.o.stateZIndex=1-Nb.Zf/1E6,G5(this,{Li:Nb.Li,vj:Nb.vj,dg:-Nb.Zf,Zf:-Nb.dg});for(Rd=Zh.length-1;0<=Rd;Rd--)Nb=Zh[Rd],Ae=Nb.fI,sh.add(Nb),Zd=Nb.gd.data[Ae],Zd.o.minLength=Nb.dg+(Nb.Zf-Nb.dg)/2,G5(this,{Li:Nb.Li,vj:Nb.vj,dg:-Nb.Zf,Zf:-Nb.dg});var ch=b/2;this.f.dg-=ch;this.f.Zf+=ch;var xi=$.jr(this,"scroller"),bi=0,dh=0;if(xi&&
xi.enabled()){var Dj=xi.i("orientation");var Yi=xi.i("height");switch(Dj){case "top":bi=Yi;break;case "bottom":dh=Yi}}var fm=this.dc.height/2,Ej=fm-Math.abs(this.f.dg)-dh,rq=this.f.Zf-fm-bi;if(this.f.Zf-this.f.dg<=this.dc.height){var xu=wg.length+Qd.length,gm=Zh.length+md.length;xu&&!gm?F5(this,Ej,Ej):!xu&&gm?F5(this,rq,rq):xu&&gm&&F5(this,0,0)}else F5(this,Ej,rq)}var hm=$.jr(this,"scroller"),vk=$.jr(this,"axis");this.J(536870912)&&(hm&&(hm.P(this.La),hm.ja(this.dc),hm.$()),this.I(536870912));if($.er(this,
"timelinechart","scroll")){var im=this.G.Qo(),yu=this.O,Zi=yu.SB,sq=yu.YD,dB=Zi*(this.dc.height-this.axis().height());.5==Math.abs(Zi)&&(dB+=sq);this.D=dB;this.f&&this.fj+this.dc.$a()>this.f.vj+this.dc.left?this.fj=this.f.vj-this.dc.$a()+this.dc.left:this.f&&this.fj+this.dc.qb()<this.f.Li+this.dc.left&&(this.fj=this.f.Li-this.dc.qb()+this.dc.left);this.D=$.Za(this.D,this.ab,this.Ra);im[4]=-this.fj;im[5]=this.D;this.G.jc.apply(this.G,im);var th=this.dc.clone();th.left+=this.fj;th.top-=this.D;this.G.clip(th);
im[5]=0;this.N.jc.apply(this.N,im);th.top=this.dc.top;this.N.clip(th);var gs=this.D,hs=0;vk&&(hs=vk.i("height")/2);var fY=0,gY=0;if(hm&&hm.enabled()){var Ffa=hm.i("height");var Gfa=hm.i("orientation");"top"==Gfa?fY=Ffa:"bottom"==Gfa&&(gY=Ffa)}th=this.dc.clone();th.left+=this.fj;this.D>this.dc.height/2-hs-gY?gs=this.dc.height/2-hs-gY:this.D<-(this.dc.height/2)+hs+fY&&(gs=-(this.dc.height/2)+hs+fY);im[5]=gs;this.ba.jc.apply(this.ba,im);this.ba.clip(th);for(var ap=0;ap<this.ga.length;ap++){var vv=this.ga[ap];
vv.B(256);vv.ja(this.dc);vv.P(this.G);vv.$()}$.dr(this,"timelinechart","scroll")}this.J(65536)&&(this.B(6324224),this.I(65536));if(this.J(32768)){for(ap=0;ap<this.fb.length;ap++)vv=this.fb[ap],vv.ja(this.dc),vv.P(this.G),vv.$();this.I(32768)}this.J(2097152)&&(vk&&(vk.ja(this.dc),vk.P(this.ba),vk.$()),this.I(2097152));if(this.J(4194304)){var Hfa=$.Ga(this.ag,this.cg,this.eg,[this.j]);for(ap=0;ap<Hfa.length;ap++){var Gs=Hfa[ap];Gs&&(Gs.B(4),$.V(Gs),Gs.scale()||Gs.ZJ(this.cb),Gs.ja(this.dc),Gs.P(this.N),
Gs.$(),Gs.da(!1))}this.I(4194304)}}};
$.g.qZ=function(a){var b=this.scale().cj(),c=this.scale().dj(),d=a.deltaY;$.wC&&(d*=15);if(!a.shiftKey&&this.Vc().i("zoomOnMouseWheel")){a.preventDefault();var e=0>a.deltaY;if(b.min<=c.min&&b.max>=c.max&&!e)return;b=a.clientX;this.scale().Fc((b+this.fj)/this.dc.width);this.scale().Fc(this.fj/this.dc.width);this.scale().Fc((this.fj+this.dc.width)/this.dc.width);$.V(this);b=(b-this.dc.left)/this.dc.width;e?this.Cr(1.2,b):this.Dr(1.2,b);this.da(!0)}this.Vc().i("scrollOnMouseWheel")&&(a.preventDefault(),
this.move(0,d))};$.g.move=function(a,b){this.moveTo(this.fj+a,this.D-b)};
$.g.moveTo=function(a,b){var c=this.scale().cj(),d=this.scale().dj(),e=a-this.fj,f=b-this.D;if(this.G){this.fj=a;this.D=b;0!=e&&(this.fj+this.dc.$a()>this.f.vj+this.dc.left?this.fj=this.f.vj-this.dc.$a()+this.dc.left:this.fj+this.dc.qb()<this.f.Li+this.dc.left&&(this.fj=this.f.Li-this.dc.qb()+this.dc.left));0!=f&&(this.D=$.Za(b,this.ab,this.Ra));e=this.dc.height-E5(this);f=this.D/e;var h=$.Za(f,-.5,.5);this.O.SB=h;this.O.YD=(f-h)*e;e=this.scale().Fc(this.fj/this.dc.width);f=this.scale().Fc((this.fj+
this.dc.width)/this.dc.width);c=e-c.min;h=d.max-d.min;$.nB(this.rZ(),(e-d.min)/h,(f-d.min)/h);$.V(this);this.B(2097152);this.axis().offset(c);$.br(this,"timelinechart","scroll",1);this.da(!0)}};$.g.Jea=function(){this.U||(this.U=new $.rx(this.P().Ha().Bl(),!1),this.U.ra("mousewheel",this.qZ,!1,this));this.La.ra("mousedown",this.A2,!0,this)};
$.g.A2=function(a){var b=this.dc,c=$.jr(this,"scroller");c&&c.enabled()&&(b=c.qd());c=$.Wj(this.P().Ha());b&&a.clientX>=b.left+c.x&&a.clientX<=b.left+c.x+b.width&&a.clientY>=b.top+c.y&&a.clientY<=b.top+c.y+b.height&&(this.ka=a.clientX,this.ya=a.clientY,this.La.ra("mousemove",this.uA,!0,this),$.Id($.Bp,"mouseup",this.vA,!0,this))};$.g.uA=function(a){this.move(this.ka-a.clientX,this.ya-a.clientY);this.ka=a.clientX;this.ya=a.clientY};
$.g.vA=function(){this.La.ac("mousemove",this.uA,!0,this);$.Sd(window.document,"mouseup",this.vA,!0,this)};$.g.axis=function(a){this.b||(this.b=new s5,$.L(this.b,this.pZ,this),$.ql(this.b),$.W(this,"axis",this.b));return $.n(a)?(this.b.K(a),this):this.b};$.g.Va=function(){return this.scale()};$.g.pZ=function(a){var b=2097152;$.X(a,32772)&&(b|=32772);this.B(b,1)};$.g.scale=function(a){return $.n(a)?(this.cb.K(a),this):this.cb};
$.g.Vh=function(a){$.X(a,4)&&(a=this.scale(),a.dj(),a.cj(),this.moveTo(0,this.D),this.B(2162688,1))};$.g.kt=function(a,b){return"moment"==a?new z5(this,this,a,b,!0):new B5(this,this,a,b,!0)};$.g.Tx=function(){return null};$.g.Rx=function(){return null};$.g.bb=function(){this.wc||(this.wc=new $.yt);return this.wc};$.g.za=function(){return!1};
$.g.Ui=function(a,b){$.V(this);var c=$.Rk(a),d=$.Rk(b);this.scale().Ui(c,d);var e=$.jr(this,"scroller");if(e){var f=this.scale().dj(),h=f.max-f.min;$.nB(e,(c-f.min)/h,(d-f.min)/h)}this.da(!0);return this};$.g.Cm=function(){$.V(this);this.scroll(0);this.scale().Cm();this.B(65536,1);this.da(!0);return this};$.g.scroll=function(a){return $.n(a)&&(a=+a,this.D!=a)?(this.moveTo(this.fj,a),this):this.D};
$.g.pX=function(a){if($.n(a)){var b=$.n(a.SB)?$.Za(a.SB,-.5,.5):0;a=$.n(a.YD)&&.5==Math.abs(b)?a.YD:0;if(this.O.SB!==b||this.O.YD!==a)this.O={SB:b,YD:a},$.br(this,"timelinechart","scroll");return this}return this.O};$.g.Na=function(){return"timeline"};
$.g.rZ=function(a){this.g||(this.g=new $.yB,this.g.ib(this),$.L(this.g,this.cba,this),this.sc.ra(this.g,"scrollerchange",this.sZ),this.sc.ra(this.g,"scrollerchangefinish",this.sZ),$.W(this,"scroller",this.g),this.B(536870916,1));return $.n(a)?(this.g.K(a),this):this.g};$.g.cba=function(a){var b=536870912,c=1;$.X(a,8)&&(b|=4,c|=8);this.B(b,c)};$.g.sZ=function(a){var b=this.scale().dj(),c=b.max-b.min;this.Ui(b.min+a.startRatio*c,b.min+a.endRatio*c)};$.g.qh=function(){return this};
$.g.Cr=function(a,b){var c=this.scale(),d=c.cj(),e=$.n(b)?b:.5,f=c.dj().max-c.dj().min,h=c.Fc(this.fj/this.dc.width);d={min:h,max:h+(d.max-d.min)};h=d.max-d.min;if(2E-4>h/f)return this;h=Math.round(h*((a?1/a:.625)-1));f=d.min-h*e;h=d.max+h*(1-e);6E4>=Math.abs(f-h)&&(d=(d.min+d.max)/2,f=d-6E4*e,h=d+6E4*(1-e));c.Ui(f,h);return this};
$.g.Dr=function(a,b){a=a||1.6;var c=this.scale(),d=c.cj(),e=$.n(b)?b:.5,f=c.Fc(this.fj/this.dc.width);d={min:f,max:f+(d.max-d.min)};f=Math.round((d.max-d.min)*(a-1));c.Ui(d.min-f*e,d.max+f*(1-e));return this};
$.g.X=function(a,b){C5.u.X.call(this,a,b);a.scale&&(this.scale(a.scale),this.Ja=a.scale.dataMinimum,this.Ga=a.scale.dataMaximum);a.axis&&this.axis(a.axis);this.pX(a.verticalRelativeOffset);this.sg(a.lineAxesMarkers,this.Jm);this.sg(a.textAxesMarkers,this.Xm);this.sg(a.rangeAxesMarkers,this.Sm);a.todayMarker&&this.c5(a.todayMarker);this.fO(a)};$.g.fO=function(a){var b=a.series;if($.A(b))for(var c=0;c<b.length;c++){a=b[c];var d=a.seriesType||this.i("defaultSeriesType");(d=this.te(d,a))&&d.K(a)}};
$.g.sg=function(a,b){for(var c=0;c<a.length;c++)b.call(this,c).K(a[c])};
$.g.F=function(){var a=C5.u.F.call(this);a.scale=this.scale().F();a.axis=this.axis().F();var b;a.lineAxesMarkers=[];for(b=0;b<this.ag.length;b++)a.lineAxesMarkers.push(this.ag[b].F());a.textAxesMarkers=[];for(b=0;b<this.eg.length;b++)a.textAxesMarkers.push(this.eg[b].F());a.rangeAxesMarkers=[];for(b=0;b<this.cg.length;b++)a.rangeAxesMarkers.push(this.cg[b].F());$.n(this.j)&&(a.todayMarker=this.j.F());this.aO(a);a.type=this.Na();a.verticalRelativeOffset=this.pX();return{chart:a}};
$.g.aO=function(a){var b,c=[];for(b=0;b<this.fb.length;b++){var d=this.fb[b].F();c.push(d)}c.length&&(a.series=c)};$.g.bda=function(){var a=this.P0();this.scale().qr(a.min,a.max);return this};$.g.P0=function(){var a=this.scale(),b=a.cj();a=a.Fc(this.fj/this.dc.width);return{min:a,max:a+(b.max-b.min)}};
$.g.R=function(){$.Zq(this.cb,this.Vh,this);$.Zq(this.b,this.pZ,this);this.La.ac("mousedown",this.A2,!0,this);this.La.ac("mousemove",this.uA,!0,this);$.Sd($.Bp,"mouseup",this.vA,!0,this);this.U.ac("mousewheel",this.qZ,!1,this);$.td(this.b,this.cb,this.wc,this.ag,this.eg,this.cg,this.G,this.j,this.N);this.wc=this.cb=this.b=null;this.ag.length=0;this.eg.length=0;this.cg.length=0;this.N=this.G=this.j=null;C5.u.R.call(this)};var K5=C5.prototype;K5.axis=K5.axis;K5.scale=K5.scale;K5.fitAll=K5.Cm;
K5.fit=K5.Cm;K5.zoomTo=K5.Ui;K5.getType=K5.Na;K5.getCurrentScene=K5.qh;K5.zoomIn=K5.Cr;K5.zoomOut=K5.Dr;K5.getSeries=K5.Ue;K5.addSeries=K5.Rk;K5.getSeriesAt=K5.Nh;K5.getSeriesCount=K5.Mj;K5.removeSeries=K5.mo;K5.removeSeriesAt=K5.Cn;K5.removeAllSeries=K5.kp;K5.scroll=K5.scroll;K5.lineMarker=K5.Jm;K5.textMarker=K5.Xm;K5.rangeMarker=K5.Sm;K5.todayMarker=K5.c5;K5.scroller=K5.rZ;K5.forceScaleUpdate=K5.bda;K5.getVisibleRange=K5.P0;K5.verticalRelativeOffset=K5.pX;$.Jp.timeline=gna;$.F("anychart.timeline",gna);}).call(this,$)}
if(!_.theme_timeline){_.theme_timeline=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{timeline:{interactivity:{zoomOnMouseWheel:!0,scrollOnMouseWheel:!0},defaultRangeMarkerSettings:{zIndex:30.1,scaleRangeMode:"consider"},defaultLineMarkerSettings:{zIndex:30.2,scaleRangeMode:"consider"},defaultTextMarkerSettings:{zIndex:30.3,scaleRangeMode:"consider",align:"top"},legend:{enabled:!1},axis:{enabled:!0,zIndex:35,height:32,stroke:"#004e72",fill:"#004e72",ticks:{enabled:!0,stroke:"2 #60899b",zIndex:36},labels:{padding:7.5,fontSize:12,fontColor:"#d6f8ff",
textOverflow:!0,format:"{%Value}",selectable:!1}},defaultSeriesSettings:{base:{direction:"auto",clip:!1},moment:{direction:"odd-even",connector:{length:"4%"},normal:{stroke:function(){return{color:$.Hl(this.sourceColor),thickness:1,dash:"2 2"}},markers:{enabled:!0},labels:{fontColor:"#212121",padding:5,enabled:!0,anchor:"left-center",width:120,background:{enabled:!0,fill:"#f2f8ff .7",corners:2,stroke:"#CECECE"},fontSize:11,offsetX:5}},zIndex:33,tooltip:{titleFormat:function(){return $.ks(this.x)}}},
range:{direction:"up",zIndex:34,height:25,normal:{labels:{enabled:!0,anchor:"left-center",format:"{%x}",fontColor:"#000"},fill:function(){return this.sourceColor+" 0.3"}},tooltip:{format:"Start: {%start}{type:date}\nEnd: {%end}{type:date}"}}}}});}).call(this,$)}
if(!_.treemap_part){_.treemap_part=1;(function($){var b8=function(a,b){function c(a){a.enabled(null)}$.HC.call(this,a,b);this.Fa("treeMap");this.b=null;this.O=[];this.j=[];this.state=new $.Vw(this);this.D={};this.G={};this.data(a,b);var d={};$.T(d,[["fill",16,65],["stroke",16,65],["hatchFill",16,65],["labels",0,0],["markers",0,0],["headers",0,0]]);this.ca=new $.Yx(this,d,$.Zl);this.ca.pa("labelsAfterInitCallback",$.dy);this.ca.pa("markersFactoryConstructor",$.cy);this.ca.pa("markersAfterInitCallback",function(a){a.ib(this);a.mF="star5";$.L(a,this.bp,
this)});d={};$.T(d,[["fill",16,65],["stroke",16,65],["hatchFill",16,65],["labels",0,0],["markers",0,0]]);this.Ca=new $.Yx(this,d,$.qo);this.Ca.pa("labelsFactoryConstructor",$.$x);this.Ca.pa("labelsAfterInitCallback",c);this.xa=new $.Yx(this,d,$.po);this.xa.pa("labelsFactoryConstructor",$.$x);this.xa.Hn("headers",[0,0]);this.xa.pa("labelsAfterInitCallback",c);$.T(this.ua,[["maxDepth",16912,129],["hintDepth",16400,1],["hintOpacity",65536,1],["maxHeadersHeight",16,1],["sort",16,1],["headersDisplayMode",
16,1],["labelsDisplayMode",16,1]])},Poa=function(a,b){var c=a.o(c8);return b.o(c8)-c},Qoa=function(a,b){return-Poa(a,b)},Roa=function(a){for(var b=0;b<a.ba.length;b++){var c=a.ba[b];c&&(c.o("labelIndex",void 0),c.o("markerIndex",void 0))}a.D={};a.G={}},Soa=function(a,b,c){b.o("index",a.Eh++).o("depth",c);a.ba.push(b);var d=b.Zb();if(d){var e=0;var f=0;for(var h,k=0;k<d;k++)h=Soa(a,b.od(k),c+1),e+=h[0],f+=h[1];c=e;a.gk(f)&&b.o(d8,!0)}else c=b.get("value"),f=b.get("size"),c=$.N(c),f=$.N(f)||c,a.gk(f)&&
(b.o(d8,!0),f=c=0);b.o(c8,f);b.o(e8,c);return[c,f]},Uoa=function(a,b,c){"none"!=a.i("sort")&&b.sort(a.xc);a=Array(b.length);var d=c.left,e=c.top,f=c.width,h=c.height,k=f,l=h,m=(0,$.Fg)(b,function(a,b){return a+b.o(c8)},0);c=a.length;var p=f*h/m;for(m=0;m<c;m++)a[m]||(a[m]={}),a[m].mX=$.Qm(b[m].o(c8)*p,4);var q=p=0,r=k>l;m=Number.MAX_VALUE;for(var t,u=0,v=0,w;q<c;)if(t=Toa(a,k,l,p,q,r),t>m){l=k=0;for(m=p;m<q;m++)w=a[m],w.x=d+u+k,w.y=e+v+l,r?l+=w.height:k+=w.width;r?u+=a[p].width:v+=a[p].height;k=f-
u;l=h-v;r=k>l;q=p=q;m=Number.MAX_VALUE}else{for(m=p;m<=q;m++)w=a[m],w.width=1>w.fJ?1:$.Qm(w.fJ,4),w.height=1>w.UG?1:$.Qm(w.UG,4);m=t;q++}h=f=0;for(m=p;m<q;m++)w=a[m],w.x=d+u+f,w.y=e+v+h,r?h+=w.height:f+=w.width;for(m=0;m<c;m++)w=a[m],b[m].o("treemap_pointBounds",$.gn(w.x,w.y,w.width,w.height))},Toa=function(a,b,c,d,e,f){var h=0,k;for(k=d;k<=e;k++)h+=a[k].mX;f?(b=c/h,c=h/c):(c=b/h,b=h/b);for(k=d;k<=e;k++)d=a[k],f?(d.UG=b*d.mX,d.fJ=c):(d.fJ=c*d.mX,d.UG=b);d=a[e];return Math.max(d.UG/d.fJ,d.fJ/d.UG)},
f8=function(a){$.K(a,$.Mt)&&(a=a.Yk);return a==a.xq().od(0)},Voa=function(a,b){var c=a.aa().f,d=c.o("treemap_pointBounds"),e=c.o(g8);if(0==e||2==e){var f=!!(b&$.qo);e=!f&&!!(b&$.po);var h=a.Sa().Eb(),k=a.mb().Eb(),l=a.selected().Eb();var m=f?l:e?k:h;var p=c.get("normal");p=$.n(p)?p.marker:void 0;var q=c.get("hovered");q=$.n(q)?q.marker:void 0;var r=c.get("selected");r=$.n(r)?r.marker:void 0;p=$.Ro(p,c.get("marker"));q=$.Ro(q,c.get("hoverMarker"));r=$.Ro(r,c.get("selectMarker"));var t=c.o("markerIndex");
t=$.n(t)?h.Vq(t):null;var u=p&&$.n(p.enabled)?p.enabled:null,v=q&&$.n(q.enabled)?q.enabled:null,w=r&&$.n(r.enabled)?r.enabled:null;(e||f?e?null===v?k&&null===k.enabled()?null===u?h.enabled():u:k.enabled():v:null===w?l&&null===l.enabled()?null===u?h.enabled():u:l.enabled():w:null===u?h.enabled():u)?(l=a.aa().f,f=!!(b&$.qo),k=!f&&!!(b&$.po),v=l.get("normal"),v=$.n(v)?v.marker:void 0,w=l.get("hovered"),w=$.n(w)?w.marker:void 0,u=l.get("selected"),u=$.n(u)?u.marker:void 0,v=$.Ro(v,l.get("marker"),null),
w=$.Ro(w,l.get("hoverMarker"),null),l=$.Ro(u,l.get("selectMarker"),null),u=v&&v.position?v.position:null,v=w&&w.position?w.position:null,l=l&&l.position?l.position:null,f=k&&(v||a.mb().Eb().i("position"))||f&&(l||a.selected().Eb().i("position"))||u||a.Sa().Eb().i("position"),f=$.Bk(f),d={value:$.xo(d,f)},t?t.uc(d):(t=h.add(d),c.o("markerIndex",t.la()),a.G[t.la()]=c.o("index")),t.oi(),$.Sx(t,m),t.kd(p,e?q:r),t.$()):t&&(h.clear(t.la()),c.o("markerIndex",void 0))}},Woa=function(a,b){var c=null===a||
a&&$.n(a.enabled)&&!a.enabled||$.da(a)&&!a,d=!b.enabled();return c||d},Xoa=function(a,b){var c=a.aa().f,d=c.o(h8);if(d){var e=c.o(g8),f=c.o(e8);c=$.Vl("fill",1,!0)(a,b,!1);2==e?c=$.Ml(c,a.i("hintOpacity"),!0):4==e&&(c=a.f?a.f.yq(f):c);e=$.Vl("stroke",2,!0)(a,b,!1);d.stroke(e);d.fill(c)}},Yoa=function(a,b){var c=a.aa().f.o("treemap_hatchShape");if(null!=c){var d=$.Vl("hatchFill",3,!0)(a,b,!1);c.stroke(null).fill(d)}},Zoa=function(a,b,c,d){if(!(b.o(d8)||(c=c.clone(),1>c.width||1>c.height))){var e=b.Zb(),
f=b.Al(),h=null,k=b.o(g8);if(0==k||4==k)h=c.clone(),b.o("treemap_pointBounds",h);else{if(1==k){h=c;var l=b.o("index");var m=b.get("header");var p=a.Sa().headers();if(Woa(m,p))h=$.gn(h.left,h.top,h.width,0);else{m=m||{};m.width||(m.width=h.width);a.aa().select(l);var q=a.Ec();l=$.M(a.i("maxHeadersHeight"),h.height);m=p.measure(q,void 0,m);m.height>l&&(m.height=l);h=$.gn(h.left,h.top,h.width,m.height)}m=$.gn(c.left,c.top+h.height,c.width,c.height-h.height);b.o("treemap_pointBounds",h);b.o("treemap_contentBounds",
m)}if(2==k||3==k)h=c.clone(),b.o("treemap_pointBounds",h),b.o("treemap_contentBounds",h);Uoa(a,f,m||h);for(c=0;c<e;c++)f=b.od(c),h=f.o("treemap_pointBounds"),Zoa(a,f,h,d+1)}b=b.o("index");a.aa().select(b);b=$.$w(a.state,b);if(3!=k)if(1==k)a.ce(b);else{d=a.aa().f;f=d.o("treemap_pointBounds");e=d.o(g8);c=$.KB(a.xf);d.o(h8,c);Xoa(a,b);f=$.gn($.Qm(f.left,4),$.Qm(f.top,4),$.Qm(f.width,4),$.Qm(f.height,4));h=c.stroke();var r=0;h&&(r=$.bc(h));f.left+=r/2;f.width-=r;f.top+=r/2;f.height-=r;h=$.R(f.left,r);
m=h-f.left;p=$.R(f.width,r);l=p-f.width;q=$.R(f.top,r);var t=q-f.top;r=$.R(f.height,r);var u=r-f.height;f.left=h;f.width=p-m-l;f.top=q;f.height=r-t-u;c.uf(f);if(a.ca.i("hatchFill")||a.xa.i("hatchFill")||a.Ca.i("hatchFill"))f=$.KB(a.g),f.fe(c.F()),d.o("treemap_hatchShape",f),Yoa(a,b);4!=e&&a.HB(c);4!=k&&(a.ce(b),Voa(a,b))}}},$oa=function(a,b,c){var d=a.i("maxDepth"),e=a.i("hintDepth");if(!(c>d+e)){var f;d=b.Zb();e=a.i("maxDepth");var h=a.i("hintDepth");d?c<e?f=1:c==e?f=h?2:0:c>e&&(f=c==e+h?4:3):f=
c<=e?0:4;b.o(g8,f);a.Tc[b.o("index")]=b;if(d=b.Zb())for(e=0;e<d;e++)$oa(a,b.od(e),c+1);b=b.o(e8);0==f||2==f?a.O.push(b):4==f&&a.j.push(b)}},apa=function(a,b){var c=new b8(a,b);c.ia(!0,$.mm("treeMap"));return c};$.H(b8,$.HC);$.xq(b8,"fill stroke hatchFill labels markers headers".split(" "),"normal");b8.prototype.qa=$.HC.prototype.qa|128;b8.prototype.sa=$.HC.prototype.sa|122880;
var i8=function(){var a={};$.hq(a,[[0,"maxDepth",function(a){return $.O(a,1,!1)}],[0,"hintDepth",function(a){return $.O(a,0,!1)}],[0,"hintOpacity",$.Tq],[0,"maxHeadersHeight",$.tq],[0,"sort",function(a){return $.Gk(a,"desc")}],[0,"headersDisplayMode",$.mN],[0,"labelsDisplayMode",$.mN]]);return a}();$.U(b8,i8);$.g=b8.prototype;$.g.Na=function(){return"tree-map"};
$.g.Xj=function(a,b){var c=this.aa().f;if($.n(c)&&!c.o(d8))if(1==c.o(g8))this.ce(a);else return c.o(h8)&&(Xoa(this,a),Yoa(this,a)),this.ce(a),Voa(this,a),b};
$.g.Ig=function(a){var b=a.type;switch(b){case "mouseout":b="pointmouseout";break;case "mouseover":b="pointmouseover";break;case "mousemove":b="pointmousemove";break;case "mousedown":b="pointmousedown";break;case "mouseup":b="pointmouseup";break;case "click":b="pointclick";break;case "dblclick":b="pointdblclick";break;default:return null}if("pointIndex"in a)var c=a.pointIndex;else if("labelIndex"in a){c=a.labelIndex;var d=a.target===this.Sa().headers();c=$.n(c)&&this.D?this.D[(d?"h":"l")+c]:null}else"markerIndex"in
a&&(c=a.markerIndex,c=$.n(c)&&this.G?this.G[c]:null);c=$.N(c);a.pointIndex=c;return{type:b,actualTarget:a.target,series:this,pointIndex:c,target:this,originalEvent:a,point:this.Rd(c)}};$.g.WK=function(a,b){a=$.A(a)&&a.length?a[0]:a;if(this.Yb&&this.Yb.target()){var c=this.Yb.target();c==b&&(c=c.aa(),c.select(a),c=c.o(e8),$.tN(this.Yb,c))}};$.g.Iz=function(){this.Yb&&this.Yb.enabled()&&$.uN(this.Yb)};$.g.Tu=function(a){return $.K(a,$.oN)};
$.g.RJ=function(a,b){b=b||{target:this};var c=$.IC(this,a);c={type:"drillchange",path:c,current:c[c.length-1]};this.ae();this.Sl&&(this.dispatchEvent(this.Ik("selected",b,this.Sl,!0)),this.Sl=null);this.dispatchEvent(c)&&this.$D(a)};
$.g.Cj=function(a){if(a.button==$.Mi&&!$.K(a.target,$.Iw)&&!this.Tu(a.target)){var b=$.mo(a.domTarget),c,d=$.K(a.target,$.Du),e=$.K(a.target,$.Px);if(d||e){var f=a.target.Gi();f.Ii&&f.Ii()&&(c=f);if(d){var h=a.target===this.Sa().headers();h=this.D[(h?"h":"l")+b]}else e&&(h=this.G[b])}else c=b&&b.W,h=$.ea(b.index)?b.index:a.pointIndex;c&&!c.fd&&c.enabled()&&$.E(c.Ig)&&(b=this.aa(),b.select(h),b=b.f,b==this.b?f8(b)||this.RJ(b.getParent()):b.Zb()?this.RJ(b):b8.u.Cj.call(this,a))}};
$.g.Sz=function(){this.vt();return this.b?$.IC(this,this.b):null};$.g.ae=function(a){if(this.enabled()){var b;$.n(a)?b=a:b=this.state.Ac==$.Zl?window.NaN:void 0;this.state.Hh($.qo,b)}};$.g.uu=function(){return!0};$.g.zx=function(){this.vt();this.b&&!f8(this.b)&&this.$D(this.b.getParent())};$.g.ts=function(a){return"categories"==a};
$.g.bq=function(a,b){var c=a.o();if("categories"==this.Gf().i("itemsSourceMode")){var d=c.W;var e=c.scale;if(e&&d){c=c.qe;for(var f=d.vc(),h=[];f.advance();){var k=f.get(e8);c==e.pn(k)&&h.push(f.la())}if(e=$.mo(b.domTarget))"single"==this.Vc().i("hoverMode")?e.Jf={W:d,md:h}:e.Jf=[{W:d,md:h,xn:h[h.length-1],we:{index:h[h.length-1],Yf:0}}];this.Yb&&this.Yb.enabled()&&this.Yb.target()&&$.tN(this.Yb,(c.start+c.end)/2)}}};
$.g.aq=function(a,b){var c=a.o();if("categories"==this.Gf().i("itemsSourceMode")){if("single"==this.Vc().i("hoverMode")){var d=$.mo(b.domTarget);d&&(d.W=c.W)}this.Yb&&this.Yb.enabled()&&this.Yb.target()&&$.uN(this.Yb)}};
$.g.bm=function(a){var b,c=[];this.ob();if("categories"==a){var d=this.sd();if(d&&$.K(d,$.Uy)){var e=d.Xq();a=0;for(b=e.length;a<b;a++){var f=e[a];"default"!==f.name&&c.push({text:f.name,iconEnabled:!0,iconType:"square",iconFill:f.color,disabled:!this.enabled(),sourceUid:$.oa(this),sourceKey:a,meta:{W:this,scale:d,qe:f}})}}}return c};$.g.mc=function(){return this};var c8="treemap_size",e8="treemap_value",g8="treemap_type",d8="treemap_missing",h8="treemap_shape";$.g=b8.prototype;
$.g.gk=function(a){return(0,window.isNaN)(a)||0>=a};$.g.$D=function(a){this.b=a;this.B(16912,129)};$.g.Aea=function(a){$.X(a,1)&&this.B(16,1)};$.g.Zd=function(a){$.X(a,1)&&this.B(16,1)};$.g.bp=function(a){$.X(a,1)&&this.B(16,1)};$.g.sd=function(a){if($.n(a)){if(null===a&&this.Kb)this.Kb=null,this.B(8704,1);else if(a=$.Xs(this.Kb,a,null,48,null,this.Cp,this)){var b=this.Kb==a;this.Kb=a;$.qd(this.f);this.Kb?this.f=$.Rs(this.Kb.Na(),null):this.f=null;this.Kb.da(b);b||this.B(8704,1)}return this}return this.Kb};
$.g.Cp=function(a){$.X(a,6)&&this.B(8704,1)};$.g.Yj=function(a){this.Yb||(this.Yb=new $.oN,this.Yb.Ye(),this.Yb.ib(this),$.L(this.Yb,this.uz,this),this.B(32772,1));return $.n(a)?(this.Yb.K(a),this):this.Yb};$.g.uz=function(a){var b=0,c=0;$.X(a,1)&&(b|=32784,c|=1);$.X(a,8)&&(b|=4,c|=8);this.B(b,c)};
$.g.Ec=function(a){if(!this.de||a)this.de=new $.rw;var b=this.aa();a=b.f;b={chart:{value:this,type:""},index:{value:b.la(),type:"number"},name:{value:a.get("name"),type:"string"},value:{value:a.o(e8),type:"number"},size:{value:a.o(c8),type:"number"}};this.de.Ag(a).mj([this]);return $.av(this.de,b)};$.g.xk=function(){return this.Ec()};$.g.Ai=function(a){var b=this.aa().o("treemap_pointBounds");a=$.Ck(a);return{value:$.xo(b,a)}};
$.g.ce=function(a){var b=this.aa().f,c=b.o("treemap_pointBounds"),d=b.o(g8);if(0==d||2==d)d=!1;else if(1==d)d=!0;else return;var e;d?e=this.Sa().headers():e=this.Sa().labels();var f=d?this.i("headersDisplayMode"):this.i("labelsDisplayMode"),h;var k=d;var l=this.aa().f,m=l.o("index"),p="label",q="hoverLabel",r="selectLabel";if(k){var t=this.Sa().headers();var u=this.mb().headers();var v=null;p="header";q="hoverHeader";r=null}else t=this.Sa().labels(),u=this.mb().labels(),v=this.selected().labels();
var w=!!(a&$.qo),x=!w&&!!(a&$.po),y=l.o("labelIndex");y=$.n(y)?t.Vd(y):null;var B,G=null;w?G=B=v:x?G=B=u:B=t;var C=l.get("normal");C=$.n(C)?C[p]:void 0;var I=l.get("hovered");I=$.n(I)?I[p]:void 0;var P=l.get("selected");P=$.n(P)?k?void 0:P[p]:void 0;p=$.Ro(C,l.get(p));q=x?$.Ro(I,l.get(q)):null;r=w?$.Ro(P,l.get(r)):null;P=p&&$.n(p.enabled)?p.enabled:null;I=r&&$.n(r.enabled)?r.enabled:null;C=q&&$.n(q.enabled)?q.enabled:null;var Q;k?Q=!Woa(x?q:p,B):Q=x||w?x?null===C?null===u.enabled()?null===P?t.enabled():
P:u.enabled():C:null===I?null===v.enabled()?null===P?t.enabled():P:v.enabled():I:null===P?t.enabled():P;if(Q){w=this.aa().f;var S="label";I="hoverLabel";P="selectLabel";k?(B=this.Sa().headers(),Q=this.mb().headers(),u=null,S="header",I="hoverHeader",P=null):(B=this.Sa().labels(),Q=this.mb().labels(),u=this.selected().labels());v=!!(a&$.qo);a=!v&&!!(a&$.po);var sa=w.get("normal");sa=$.n(sa)?sa[S]:void 0;var va=w.get("hovered");va=$.n(va)?va[S]:void 0;C=w.get("selected");C=$.n(C)?k?void 0:C[S]:void 0;
S=$.Ro(sa,w.get(S));I=a?$.Ro(va,w.get(I)):null;w=v?$.Ro(C,w.get(P)):null;P=S&&S.position?S.position:null;I=I&&I.position?I.position:null;w=w&&w.position?w.position:null;a=a||v?a?I?I:Q.i("position")?Q.i("position"):P?P:B.i("position"):w?w:u.i("position")?u.i("position"):P?P:B.i("position"):P?P:B.i("position");a=this.Ai(a);B=this.Ec();y?($.Mu(t,m),y.lf(B),y.uc(a)):(y=t.add(B,a,m),l.o("labelIndex",y.la()),this.D[(k?"h":"l")+y.la()]=l.o("index"));y.oi();$.Ou(y,G);y.kd(p,x?q:r);k=y}else y&&(t.clear(y.la()),
l.o("labelIndex",void 0)),k=null;if(k){l=$.Iu(k);(m=l.adjustByHeight||l.adjustByHeight)&&"same"==$.Cu(e)&&(h=$.Vu(k,c.width,c.height,l.minFontSize,l.maxFontSize,l.adjustByWidth,l.adjustByHeight));m?$.kN(e,h):$.kN(e,null);l.width=null;l.height=null;if(l.adjustByWidth||l.adjustByHeight)l.fontSize=$.Nu(k).zd.fontSize;h=e.measure(k.lf(),k.uc(),l);h=!(c.left<=h.left&&c.$a()>=h.$a()&&c.top<=h.top&&c.Ua()>=h.Ua());d&&(k.width(c.width),k.height(c.height));h&&"drop"==f&&(e.clear(k.la()),b.o("labelIndex",void 0),
k=null);k&&("always-show"!=f?(k.width(c.width),k.height(c.height),k.clip(c)):(d||(k.width(null),k.height(null)),k.clip(null)),k.$())}};$.g.ph=function(){return $.$b($.mm("hatchFillPalette.items.0"))};$.g.Fi=function(){var a=this.aa(),b=this.ph();return{index:a.la(),sourceHatchFill:b}};$.g.Ae=function(a){var b=this.aa().f;a=a||$.mm("palette.items.0");return{value:b.o(e8),sourceColor:a,colorScale:this.sd()}};
$.g.zc=function(a,b,c,d,e,f,h){e=(0==b?this.ca:1==b?this.xa:this.Ca).i(a);h?a=e:(c=c.f,h=c.get(0==b?"normal":1==b?"hovered":"selected"),a=$.Ro($.n(h)?h[a]:void 0,c.get($.$l(b,a)),e));$.n(a)&&(a=d(a));return a};$.g.vt=function(){if(this.J(4096)){Roa(this);this.Eh=0;this.ba=[];this.Tc=[];this.O=[];this.j=[];this.b=null;this.I(4096);var a=this.data();if(a){var b=a.Zb();if(1<b)$.el(18);else if(!b)return;a=a.od(0);this.b||(this.b=a);Soa(this,a,0);this.B(24592)}}};
$.g.ob=function(){this.vt();this.b&&(this.J(16384)&&(this.O=[],this.j=[],this.Tc=[],$oa(this,this.b,0),this.vc(),this.I(16384),this.B(8192)),this.J(8192)&&(this.Kb&&(this.Kb.Hf()?(this.Kb.tg(),this.Kb.Uc.apply(this.Kb,this.O),this.Kb.Cg()):(this.Kb.mp(),this.Kb.Uc.apply(this.Kb,this.O)),$.K(this.Kb,$.Uy)&&$.Bt(this.Kb.Qa()),this.f.K(this.Kb.F())),this.f&&(this.f.Hf()?(this.f.tg(),this.f.Uc.apply(this.f,this.j),this.f.Cg()):(this.f.mp(),this.f.Uc.apply(this.f,this.j))),this.B(16),this.I(8192)))};
$.g.ei=function(a){if(!this.ef()&&(this.ob(),this.b)){this.J(32768)&&this.Yb&&($.V(this.Yb),this.Yb.scale(this.sd()),this.Yb.target(this),this.Yb.da(!1),this.B(4));var b=this.Sa();this.J(4)&&(this.Yb?(this.Yb.ja(a.clone().round()),this.Pf=this.Yb.qd()):this.Pf=a.clone(),this.xf&&this.xf.clip(this.Pf),b.headers()&&b.headers().clip(this.Pf));this.J(32768)&&(this.Yb&&($.V(this.Yb),this.Yb.P(this.La),this.Yb.zIndex(50),this.Yb.$(),this.Yb.da(!1)),this.I(32768));this.J(16)&&(this.xf?this.xf.clear():(this.xf=
new $.JB(function(){return $.jk()},$.ia),this.xf.clip(this.Pf),this.xf.zIndex(30),this.xf.parent(this.La),b.headers().P(this.La).zIndex(41),b.headers().clip(this.Pf),b.labels().P(this.La).zIndex(40),b.Eb().P(this.La).zIndex(40)),this.g?this.g.clear():(this.g=new $.JB(function(){return $.jk()},$.ia),this.g.zIndex(31),this.g.parent(this.La),this.g.td(!0)),b.headers().clear(),b.labels().clear(),b.Eb().clear(),Roa(this),a=this.i("sort"),"desc"==a?this.xc=Poa:"asc"==a&&(this.xc=Qoa),Zoa(this,this.b,this.Pf,
0),b.headers().$(),b.labels().$(),b.Eb().$(),this.I(65552));if(this.J(65536)){b=this.aa();for(b.reset();b.advance();)if(2==b.o(g8)&&(a=b.o(h8))){var c=$.Vl("fill",1,!1)(this,$.Zl,!1);c=$.Ml(c,this.i("hintOpacity"),!0);a.fill(c)}this.I(65536)}}};$.g.By=function(){this.Za().Nq()&&this.B(4,9)};
$.g.Hw=function(a,b){var c=$.mo(b.event.domTarget),d;$.K(b.target,$.Du)||$.K(b.target,$.Px)?d=this.ba[c]:d=c.node;c={};var e=1==d.o(g8);!d.Zb()||e&&d==this.b||(c["drill-down-to"]={index:7,text:"Drill down",eventType:"anychart.drillTo",action:(0,$.pa)(this.RJ,this,d)});f8(this.b)||(c["drill-down-up"]={index:7,text:"Drill up",eventType:"anychart.drillUp",action:(0,$.pa)(this.RJ,this,this.b.getParent())});$.Jc(c)||(c["drill-down-separator"]={index:7.1});$.Sc(c,$.Kl($.QF["select-marquee"]),a);return c};
$.g.Ej=function(){this.vt();if(this.b){var a=this.b.o(c8),b=this.b.o(e8);return this.b.o(d8)||!a&&!b}return!0};$.g.X=function(a,b){b8.u.X.call(this,a,b);if("colorScale"in a){var c=a.colorScale,d=null;$.z(c)?d=$.Rs(c,null):$.D(c)&&(d=$.Rs(c.type,null))&&d.K(c);d&&this.sd(d)}$.zq(this,i8,a);this.Fl(a.hoverMode);this.Ni(a.selectionMode);"colorRange"in a&&this.Yj(a.colorRange)};
$.g.F=function(){var a=b8.u.F.call(this);this.sd()&&(a.colorScale=this.sd().F());a.colorRange=this.Yj().F();$.Hq(this,i8,a,"TreeMap");return{chart:a}};$.g.R=function(){$.td(this.ca,this.xa,this.Ca);this.Ca=this.xa=this.ca=null;b8.u.R.call(this)};var j8=b8.prototype;j8.getType=j8.Na;j8.data=j8.data;j8.selectionMode=j8.Ni;j8.hoverMode=j8.Fl;j8.normal=j8.Sa;j8.hovered=j8.mb;j8.selected=j8.selected;j8.colorScale=j8.sd;j8.colorRange=j8.Yj;j8.drillTo=j8.Pq;j8.drillUp=j8.zx;j8.getDrilldownPath=j8.Sz;
j8.toCsv=j8.qk;$.Jp["tree-map"]=apa;$.F("anychart.treeMap",apa);}).call(this,$)}
if(!_.theme_treemap){_.theme_treemap=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{treeMap:{sort:"desc",labelsDisplayMode:"clip",headersDisplayMode:"always-show",colorRange:{zIndex:50},colorScale:{type:"ordinal-color"},tooltip:{enabled:!0,titleFormat:$.QM,format:$.PM},legend:{itemsSourceMode:"categories"},maxDepth:1,hintDepth:0,hintOpacity:.4,maxHeadersHeight:"25",normal:{fill:function(){var a;this.colorScale?a=this.colorScale.valueToColor(this.value):a=$.Ml(this.sourceColor,.85,!0);return a},stroke:"#e0e0e0",hatchFill:!1,labels:{enabled:!0,
hAlign:"center",vAlign:"middle",position:"center",anchor:"center",fontColor:"#212121",format:function(){return(this.name||this.getData("id"))+"\n"+$.OM(this.value)}},markers:{enabled:!1,position:"center",size:6,fill:"#dd2c00",type:"circle"},headers:{enabled:!0,hAlign:"center",vAlign:"middle",position:"center",anchor:"center",background:{enabled:!0,fill:"#F7F7F7",stroke:"#e0e0e0"},format:$.QM}},hovered:{fill:$.YM,stroke:$.XM,hatchFill:!1,labels:{enabled:null,fontWeight:"bold"},markers:{enabled:null,
size:8},headers:{enabled:!0,fontColor:"#333 0.85",background:{fill:"#e0e0e0",stroke:"#e0e0e0"}}},selected:{fill:"#333 0.85",stroke:"1.5 #212121",hatchFill:!1,labels:{enabled:null,fontColor:"#fafafa"},markers:{enabled:null,size:8,fill:"#333 0.85",stroke:"1.5 #212121"}}}});}).call(this,$)}
if(!_.venn){_.venn=1;(function($){var mT=function(a){function b(a){a.I(4294967295)}$.Yq.call(this);this.Fa("venn.intersections");this.Ba=a;a={};$.T(a,[["fill",0,8256],["stroke",0,8256],["hatchFill",0,8256],["labels",0,0],["markers",0,0]]);this.ca=new $.Yx(this,a,$.Zl);this.ca.pa("markersFactoryConstructor",$.cy);this.ca.pa("markersAfterInitCallback",$.ey);this.ca.pa("labelsFactoryConstructor",$.$x);this.ca.pa("labelsAfterInitCallback",function(a){$.L(a,this.Zd,this)});a={};$.T(a,[["fill",0,8192],["stroke",0,8192],["hatchFill",0,8192],
["labels",0,0],["markers",0,0]]);this.xa=new $.Yx(this,a,$.po);this.xa.pa("labelsFactoryConstructor",$.$x);this.xa.pa("markersFactoryConstructor",$.cy);this.Ca=new $.Yx(this,a,$.qo);this.Ca.pa("labelsFactoryConstructor",$.$x);this.Ca.pa("markersFactoryConstructor",$.cy);this.xa.pa("labelsAfterInitCallback",b);this.xa.pa("markersAfterInitCallback",b);this.Ca.pa("labelsAfterInitCallback",b);this.Ca.pa("markersAfterInitCallback",b)},ufa=function(a,b){var c=0;var d=d||{};var e=d.IH||100;d=d.goa||1E-10;
var f=a(c),h=a(b),k=b-c;if(0<f*h)throw"Initial points must have opposite signs";if(0===f)return c;if(0===h)return b;for(h=0;h<e;++h){k/=2;var l=c+k,m=a(l);0<=m*f&&(c=l);if(Math.abs(k)<d||0===m)return l}return c+k},nT=function(a){for(var b=Array(a),c=0;c<a;++c)b[c]=0;return b},oT=function(a,b){return(0,$.Wa)(nT(a),function(){return nT(b)})},pT=function(a,b){for(var c=0,d=0;d<a.length;++d)c+=a[d]*b[d];return c},qT=function(a){return Math.sqrt(pT(a,a))},rT=function(a,b){for(var c=0;c<b.length;++c)a[c]=
-1*b[c]},sT=function(a,b,c,d,e){for(var f=0;f<a.length;++f)a[f]=b*c[f]+d*e[f]},vfa=function(a,b,c,d,e){function f(f,m,q){for(var u=0;16>u;++u)if(e=(f+m)/2,sT(d.x,1,c.x,e,b),l=d.Je=a(d.x,d.Ak),p=pT(d.Ak,b),l>h+r*e*k||l>=q)m=e;else{if(Math.abs(p)<=-t*k)return e;0<=p*(m-f)&&(m=f);f=e;q=l}return 0}var h=c.Je,k=pT(c.Ak,b),l=h,m=h,p=k,q=0;e=e||1;var r=r||1E-6;var t=t||.1;for(var u=0;10>u;++u){sT(d.x,1,c.x,e,b);l=d.Je=a(d.x,d.Ak);p=pT(d.Ak,b);if(l>h+r*e*k||u&&l>=m)return f(q,e,m);if(Math.abs(p)<=-t*k)break;
if(0<=p)return f(e,q,l);m=l;q=e;e*=2}return e},wfa=function(a,b,c){var d={x:b.slice(),Je:0,Ak:b.slice()},e={x:b.slice(),Je:0,Ak:b.slice()},f=b.slice(),h=1;c=c||{};var k=c.IH||20*b.length;d.Je=a(d.x,d.Ak);b=d.Ak.slice();rT(b,d.Ak);for(var l=0;l<k;++l){h=vfa(a,b,d,e,h);c.history&&c.history.push({x:d.x.slice(),Je:d.Je,Ak:d.Ak.slice(),alpha:h});if(h){sT(f,1,e.Ak,-1,d.Ak);sT(b,Math.max(0,pT(f,e.Ak)/pT(d.Ak,d.Ak)),b,-1,e.Ak);var m=d;d=e;e=m}else rT(b,d.Ak);if(1E-5>=qT(d.Ak))break}c.history&&c.history.push({x:d.x.slice(),
Je:d.Je,Ak:d.Ak.slice(),alpha:h});return d},tT=function(a,b,c){function d(a,b){return a.Je-b.Je}function e(a){for(var b=0;b<a.length;b++)w[v][b]=a[b];w[v].Je=a.Je}c=c||{};var f=c.IH||200*b.length,h=c.Zna||1.05,k=c.ioa||.001,l=c.v2||1E-6,m=c.v2||1E-5,p=void 0!==c.Gha?c.Gha:1,q=void 0!==c.Eba?c.Eba:2,r=void 0!==c.tha?c.tha:-.5,t=void 0!==c.aia?c.aia:.5,u,v=b.length,w=Array(v+1);w[0]=b;w[0].Je=a(b);for(var x=w[0].id=0;x<v;++x){var y=b.slice();y[x]=y[x]?y[x]*h:k;w[x+1]=y;w[x+1].Je=a(y);w[x+1].id=x+1}h=
b.slice();k=b.slice();y=b.slice();b=b.slice();for(var B=0;B<f;++B){w.sort(d);c.history&&(x=(0,$.Wa)(w,function(a){var b=a.slice();b.Je=a.Je;b.id=a.id;return b}),x.sort(function(a,b){return a.id-b.id}),c.history.push({x:w[0].slice(),Je:w[0].Je,foa:x}));for(x=u=0;x<v;++x)u=Math.max(u,Math.abs(w[0][x]-w[1][x]));if(Math.abs(w[0].Je-w[v].Je)<l&&u<m)break;for(x=0;x<v;++x){for(u=h[x]=0;u<v;++u)h[x]+=w[u][x];h[x]/=v}x=w[v];sT(k,1+p,h,-p,x);k.Je=a(k);if(k.Je<w[0].Je)sT(b,1+q,h,-q,x),b.Je=a(b),b.Je<k.Je?e(b):
e(k);else if(k.Je>=w[v-1].Je){if(u=!1,k.Je>x.Je?(sT(y,1+r,h,-r,x),y.Je=a(y),y.Je<x.Je?e(y):u=!0):(sT(y,1-r*p,h,r*p,x),y.Je=a(y),y.Je<k.Je?e(y):u=!0),u){if(1<=t)break;for(x=1;x<w.length;++x)sT(w[x],1-t,w[0],t,w[x]),w[x].Je=a(w[x])}}else e(k)}w.sort(d);return{Je:w[0].Je,x:w[0]}},xT=function(a,b){var c=xfa(a),d=(0,$.Ye)(c,function(b){a:{for(var c=0;c<a.length;++c)if(uT(b,a[c])>a[c].Wb+1E-10){b=!1;break a}b=!0}return b}),e=0,f=0,h=[],k;if(1<d.length){var l=vT(d);for(k=0;k<d.length;++k){var m=d[k];m.angle=
Math.atan2(m.x-l.x,m.y-l.y)}d.sort(function(a,b){return b.angle-a.angle});l=d[d.length-1];for(k=0;k<d.length;++k){m=d[k];f+=(l.x+m.x)*(m.y-l.y);for(var p={x:(m.x+l.x)/2,y:(m.y+l.y)/2},q=null,r=0;r<m.nN.length;++r)if(-1<l.nN.indexOf(m.nN[r])){var t=a[m.nN[r]],u=Math.atan2(l.x-t.x,l.y-t.y),v=u-Math.atan2(m.x-t.x,m.y-t.y);0>v&&(v+=2*Math.PI);u-=v/2;u=uT(p,{x:t.x+t.Wb*Math.sin(u),y:t.y+t.Wb*Math.cos(u)});if(null===q||q.width>u)q={cn:t,width:u,Th:m,Lk:l}}null!==q&&(h.push(q),e+=wT(q.cn.Wb,q.width),l=m)}}else{l=
a[0];for(k=1;k<a.length;++k)a[k].Wb<l.Wb&&(l=a[k]);e=!1;for(k=0;k<a.length;++k)if(uT(a[k],l)>Math.abs(l.Wb-a[k].Wb)){e=!0;break}e?e=f=0:(e=l.Wb*l.Wb*Math.PI,h.push({cn:l,Th:{x:l.x,y:l.y+l.Wb},Lk:{x:l.x-1E-10,y:l.y+l.Wb},width:2*l.Wb}))}f/=2;b&&(b.QB=e+f,b.Kna=e,b.boa=f,b.PB=h,b.Sna=d,b.Tna=c);return e+f},xfa=function(a){for(var b=[],c=0;c<a.length;++c)for(var d=c+1;d<a.length;++d)for(var e=yT(a[c],a[d]),f=0;f<e.length;++f){var h=e[f];h.nN=[c,d];b.push(h)}return b},zT=function(a,b){var c=Math.sqrt(a*
a-b*b);return b*c+a*a*Math.atan2(b,c)},wT=function(a,b){return zT(a,b-a)-zT(a,-a)},uT=function(a,b){return Math.sqrt((a.x-b.x)*(a.x-b.x)+(a.y-b.y)*(a.y-b.y))},AT=function(a,b,c){return c>=a+b?0:c<=Math.abs(a-b)?Math.PI*Math.min(a,b)*Math.min(a,b):wT(a,a-(c*c-b*b+a*a)/(2*c))+wT(b,b-(c*c-a*a+b*b)/(2*c))},yT=function(a,b){var c=uT(a,b),d=a.Wb,e=b.Wb;if(c>=d+e||c<=Math.abs(d-e))return[];var f=(d*d-e*e+c*c)/(2*c);e=Math.sqrt(d*d-f*f);d=a.x+f*(b.x-a.x)/c;f=a.y+f*(b.y-a.y)/c;var h=e/c*-(b.y-a.y);c=e/c*-(b.x-
a.x);return[{x:d+h,y:f-c},{x:d-h,y:f+c}]},vT=function(a){for(var b={x:0,y:0},c=0;c<a.length;++c)b.x+=a[c].x,b.y+=a[c].y;b.x/=a.length;b.y/=a.length;return b},Afa=function(a){var b=b||{};b.IH=b.IH||500;var c=b.Rna||yfa;a=zfa(a);var d=c(a);c=[];var e=[];for(f in d)d.hasOwnProperty(f)&&(c.push(d[f].x),c.push(d[f].y),e.push(f));b=tT(function(b){for(var c={},f=0;f<e.length;++f){var h=e[f];c[h]={x:b[2*f],y:b[2*f+1],Wb:d[h].Wb}}return BT(c,a)},c,b).x;for(c=0;c<e.length;++c){var f=e[c];d[f].x=b[2*c];d[f].y=
b[2*c+1]}return d},CT=function(a,b,c){return Math.min(a,b)*Math.min(a,b)*Math.PI<=c+1E-10?Math.abs(a-b):ufa(function(d){return AT(a,b,d)-c},a+b)},zfa=function(a){a=a.slice();var b=[],c={},d;for(d=0;d<a.length;++d){var e=a[d];if(1==e.Xh.length)b.push(e.Xh[0]);else if(2==e.Xh.length){var f=e.Xh[0];var h=e.Xh[1];c[[f,h]]=!0;c[[h,f]]=!0}}for(d=0;d<b.length;++d)for(f=b[d],e=d+1;e<b.length;++e)h=b[e],[f,h]in c||a.push({Xh:[f,h],size:0,jD:window.NaN});return a},Bfa=function(a,b,c){var d=oT(b.length,b.length),
e=oT(b.length,b.length);a=(0,$.Ye)(a,function(a){return 2==a.Xh.length});(0,$.Wa)(a,function(a){var f=c[a.Xh[0]],k=c[a.Xh[1]],l=CT(Math.sqrt(b[f].size/Math.PI),Math.sqrt(b[k].size/Math.PI),a.size);d[f][k]=d[k][f]=l;l=0;a.size+1E-10>=Math.min(b[f].size,b[k].size)?l=1:1E-10>=a.size&&(l=-1);e[f][k]=e[k][f]=l});return{hca:d,Pba:e}},yfa=function(a,b){var c=Cfa(a);if(8<=a.length){var d=Dfa(a,b),e=BT(d,a),f=BT(c,a);e+1E-8<f&&(c=d)}return c},Dfa=function(a,b){function c(a,b){var c=l,d=0,e;for(e=0;e<b.length;++e)b[e]=
0;for(e=0;e<c.length;++e)for(var f=a[2*e],h=a[2*e+1],k=e+1;k<c.length;++k){var p=a[2*k],q=a[2*k+1],r=c[e][k],t=m[e][k],Q=(p-f)*(p-f)+(q-h)*(q-h),S=Math.sqrt(Q);Q-=r*r;0<t&&S<=r||0>t&&S>=r||(d+=2*Q*Q,b[2*e]+=4*Q*(f-p),b[2*e+1]+=4*Q*(h-q),b[2*k]+=4*Q*(p-f),b[2*k+1]+=4*Q*(q-h))}return d}b=b||{};var d=b.doa||10,e=[],f={},h;for(h=0;h<a.length;++h){var k=a[h];1==k.Xh.length&&(f[k.Xh[0]]=e.length,e.push(k))}h=Bfa(a,e,f);var l=h.hca,m=h.Pba,p=qT((0,$.Wa)(l,qT))/l.length;l=(0,$.Wa)(l,function(a){return(0,$.Wa)(a,
function(a){return a/p})});for(h=0;h<d;++h){f=[];for(k=0;k<2*l.length;k++)f.push(1/(k+1)*Math.abs(Math.sin(h)));f=wfa(c,f,b);if(!q||f.Je<q.Je)var q=f}d=q.x;q={};for(h=0;h<e.length;++h)f=e[h],q[f.Xh[0]]={x:d[2*h]*p,y:d[2*h+1]*p,Wb:Math.sqrt(f.size/Math.PI)};return q},Cfa=function(a){function b(a,b){return b.size-a.size}function c(a){return a.set in r}function d(a,b){e[b].x=a.x;e[b].y=a.y;r[b]=!0}for(var e={},f={},h,k=0;k<a.length;++k){var l=a[k];1==l.Xh.length&&(h=l.Xh[0],e[h]={x:1E10,y:1E10,eoa:e.length,
size:l.size,Wb:Math.sqrt(l.size/Math.PI)},f[h]=[])}a=(0,$.Ye)(a,function(a){return 2==a.Xh.length});for(k=0;k<a.length;++k){l=a[k];var m=$.n(l.weight)?l.weight:1,p=l.Xh[0],q=l.Xh[1];l.size+1E-10>=Math.min(e[p].size,e[q].size)&&(m=0);f[p].push({set:q,size:l.size,weight:m});f[q].push({set:p,size:l.size,weight:m})}l=[];for(h in f)if(f.hasOwnProperty(h)){for(k=m=0;k<f[h].length;++k)m+=f[h][k].size*f[h][k].weight;l.push({set:h,size:m})}l.sort(b);var r={};d({x:0,y:0},l[0].set);for(k=1;k<l.length;++k){m=
l[k].set;var t=(0,$.Ye)(f[m],c);h=e[m];t.sort(b);if(0===t.length)throw"ERROR: missing pairwise overlap information";p=[];for(q=0;q<t.length;++q){var u=e[t[q].set],v=CT(h.Wb,u.Wb,t[q].size);p.push({x:u.x+v,y:u.y});p.push({x:u.x-v,y:u.y});p.push({y:u.y+v,x:u.x});p.push({y:u.y-v,x:u.x});for(var w=q+1;w<t.length;++w){var x=e[t[w].set],y=CT(h.Wb,x.Wb,t[w].size);x=yT({x:u.x,y:u.y,Wb:v},{x:x.x,y:x.y,Wb:y});for(y=0;y<x.length;++y)p.push(x[y])}}h=1E50;t=p[0];for(q=0;q<p.length;++q)e[m].x=p[q].x,e[m].y=p[q].y,
u=BT(e,a),u<h&&(h=u,t=p[q]);d(t,m)}return e},BT=function(a,b){function c(b){return(0,$.Wa)(b,function(b){return a[b]})}for(var d=0,e=0;e<b.length;++e){var f=b[e];if(1!=f.Xh.length){if(2==f.Xh.length){var h=a[f.Xh[0]];var k=a[f.Xh[1]];h=AT(h.Wb,k.Wb,uT(h,k))}else h=xT(c(f.Xh));d+=($.n(f.weight)?f.weight:1)*(h-f.size)*(h-f.size)}}return d},Efa=function(a,b){a.sort(function(a,b){return b.Wb-a.Wb});var c;if(0<a.length){var d=a[0].x,e=a[0].y;for(c=0;c<a.length;++c)a[c].x-=d,a[c].y-=e}if(1<a.length)for(c=
Math.atan2(a[1].x,a[1].y)-b,d=Math.cos(c),e=Math.sin(c),c=0;c<a.length;++c){var f=a[c].x;var h=a[c].y;a[c].x=d*f-e*h;a[c].y=e*f+d*h}if(2<a.length){for(c=Math.atan2(a[2].x,a[2].y)-b;0>c;)c+=2*Math.PI;for(;c>2*Math.PI;)c-=2*Math.PI;if(c>Math.PI)for(d=a[1].y/(1E-10+a[1].x),c=0;c<a.length;++c)e=(a[c].x+d*a[c].y)/(1+d*d),a[c].x=2*e-a[c].x,a[c].y=2*e*d-a[c].y}},Ifa=function(a){function b(a){a.parent!==a&&(a.parent=b(a.parent));return a.parent}function c(a,c){b(a).parent=b(c)}a=(0,$.Wa)(a,function(a){return a.parent=
a});for(var d=0;d<a.length;++d)for(var e=d+1;e<a.length;++e)uT(a[d],a[e])+1E-10<a[d].Wb+a[e].Wb&&c(a[e],a[d]);e={};for(d=0;d<a.length;++d){var f=b(a[d]).parent.t4;f in e||(e[f]=[]);e[f].push(a[d])}(0,$.Wa)(a,function(a){delete a.parent});a=[];for(f in e)e.hasOwnProperty(f)&&a.push(e[f]);return a},DT=function(a){function b(b){var c=Math.max.apply(null,(0,$.Wa)(a,function(a){return a[b]+a.Wb})),e=Math.min.apply(null,(0,$.Wa)(a,function(a){return a[b]-a.Wb}));return{max:c,min:e}}return{zq:b("x"),Ws:b("y")}},
Jfa=function(a){function b(a,b,c){if(a){var e=a.Za;if(b)b=h.zq.max-e.zq.min+k;else{b=h.zq.max-e.zq.max;var f=(e.zq.max-e.zq.min)/2-(h.zq.max-h.zq.min)/2;0>f&&(b+=f)}c?c=h.Ws.max-e.Ws.min+k:(c=h.Ws.max-e.Ws.max,f=(e.Ws.max-e.Ws.min)/2-(h.Ws.max-h.Ws.min)/2,0>f&&(c+=f));for(e=0;e<a.length;++e)a[e].x+=b,a[e].y+=c,d.push(a[e])}}var c=Math.PI/2;null===c&&(c=Math.PI/2);var d=[];for(f in a)if(a.hasOwnProperty(f)){var e=a[f];d.push({x:e.x,y:e.y,Wb:e.Wb,t4:f})}var f=Ifa(d);for(a=0;a<f.length;++a)Efa(f[a],
c),e=DT(f[a]),f[a].size=(e.zq.max-e.zq.min)*(e.Ws.max-e.Ws.min),f[a].Za=e;f.sort(function(a,b){return b.size-a.size});d=f[0];var h=d.Za,k=(h.zq.max-h.zq.min)/50;for(c=1;c<f.length;)b(f[c],!0,!1),b(f[c+1],!1,!0),b(f[c+2],!0,!0),c+=3,h=DT(d);c={};for(a=0;a<d.length;++a)c[d[a].t4]=d[a];return c},ET=function(a,b,c){var d=b[0].Wb-uT(b[0],a),e;for(e=1;e<b.length;++e){var f=b[e].Wb-uT(b[e],a);f<=d&&(d=f)}for(e=0;e<c.length;++e)f=uT(c[e],a)-c[e].Wb,f<=d&&(d=f);return d},FT=function(a,b){var c=[],d;for(d=
0;d<a.length;++d){var e=a[d];c.push({x:e.x,y:e.y});c.push({x:e.x+e.Wb/2,y:e.y});c.push({x:e.x-e.Wb/2,y:e.y});c.push({x:e.x,y:e.y+e.Wb/2});c.push({x:e.x,y:e.y-e.Wb/2})}e=c[0];var f=ET(c[0],a,b);for(d=1;d<c.length;++d){var h=ET(c[d],a,b);h>=f&&(e=c[d],f=h)}d=tT(function(c){return-1*ET({x:c[0],y:c[1]},a,b)},[e.x,e.y],{IH:500,v2:1E-10}).x;c={x:d[0],y:d[1]};e=!0;for(d=0;d<a.length;++d)if(uT(c,a[d])>a[d].Wb){e=!1;break}for(d=0;d<b.length;++d)if(uT(c,b[d])<b[d].Wb){e=!1;break}e||(1==a.length?c={x:a[0].x,
y:a[0].y}:(d={},xT(a,d),0===d.PB.length?c={x:0,y:-1E3,gca:!0}:1==d.PB.length?c={x:d.PB[0].cn.x,y:d.PB[0].cn.y}:c=b.length?FT(a,[]):vT((0,$.Wa)(d.PB,function(a){return a.Th}))));return c},GT=function(a,b){function c(a){a.I(4294967295)}$.ox.call(this);this.Fa("venn");this.Nd=null;this.data(a||null,b);this.b=[];this.Ea=this.Vl=null;this.g={};this.j=this.D=null;this.state=new $.Vw(this);this.f=null;$.eu(this,this,this.rg,this.Gg,null,this.rg,null,this.Cj);var d={};$.T(d,[["fill",16896,1],["hatchFill",
16896,1],["stroke",16896,1],["labels",0,0],["markers",0,0]]);this.ca=new $.Yx(this,d,$.Zl);this.ca.Fa(this.ma);$.W(this,"normal",this.ca);this.ca.pa("labelsAfterInitCallback",$.dy);this.ca.pa("markersAfterInitCallback",$.ey);d={};$.T(d,[["fill",16384,1],["hatchFill",16384,1],["stroke",16384,1],["labels",0,0],["markers",0,0]]);this.xa=new $.Yx(this,d,$.po);$.W(this,"hovered",this.xa);this.Ca=new $.Yx(this,d,$.qo);$.W(this,"selected",this.Ca);this.xa.pa("markersAfterInitCallback",c);this.Ca.pa("markersAfterInitCallback",
c);this.ca.pa("labelsFactoryConstructor",$.Zx);this.xa.pa("labelsFactoryConstructor",$.$x);this.Ca.pa("labelsFactoryConstructor",$.$x);this.ca.pa("markersFactoryConstructor",$.by);this.xa.pa("markersFactoryConstructor",$.cy);this.Ca.pa("markersFactoryConstructor",$.cy);$.T(this.ua,[["dataSeparator",4096,1]])},HT=function(a,b){if(!b||b.target!=a.Gf()){var c=a.aa().o("tooltip");c.Oc(!0);var d=a.Ec();b&&$.Aw(c,b.clientX,b.clientY,d)}},IT=function(a){if(a.J(16384))for(var b=a.vc(),c=0;c<a.b.length;c++){var d=
a.b[c];b.select(d.jD);d=d.Xh;var e=!1,f=a.Xa(),h=$.Vl("fill",1,!1);if(1==d.length){var k=a.cc().nc(c);b.o("paletteFill",k);var l=d[0];a.g[l].aoa=k;a.g[l].J3=h(a,$.Zl,!0)}else{e=[];f={};for(h=0;h<d.length;h++)l=d[h],k=a.g[l],e.push(k.J3),f[l]=k.J3;b.o("parentColors",e);b.o("parentColorsMap",f);e=!0;f=a.Nt().Xa()}d=b.get("normal");d=$.Ro($.n(d)?d.hatchFill:void 0,b.get("hatchFill"),a.oe().nc(c));b.o("hatchFillPaletteFill",d);b.o("isIntersection",e);b.o("paletteMarkerType",a.sf().nc(c));b.o("tooltip",
f)}},JT=function(a){if(a.length){for(var b,c=0;c<a.length;c++){var d=$.Vb(a[c]);b=b?$.Cl(b,d):d}return b||"black"}return"black"},KT=function(a,b,c){b=b.PB;if(b.length)if(1==b.length)b=b[0].cn,a.moveTo(b.x+b.Wb+c.left,b.y+c.top).arcTo(b.Wb,b.Wb,0,360);else if(1<b.length){a.moveTo(b[0].Lk.x+c.left,b[0].Lk.y+c.top);for(var d=0;d<b.length;++d){var e=b[d];a.kf(e.Th.x+c.left,e.Th.y+c.top,e.cn.Wb,e.cn.Wb,e.width>e.cn.Wb,!0)}a.close()}},LT=function(a,b,c){var d=c.o("marker");if(d&&!c.o("isMissing")){var e=
!!c.o("isIntersection"),f=e?a.Nt():a,h=a.Sa().Eb();b=$.Xl(b);var k=!!(b&$.po);b=!!(b&$.qo);var l=c.get("normal");l=$.n(l)?l.marker:void 0;var m=c.get("hovered");m=$.n(m)?m.marker:void 0;var p=c.get("selected");p=$.n(p)?p.marker:void 0;var q=$.Ro(l,c.get("marker"),{});m=$.Ro(m,c.get("hoverMarker"));l=$.Ro(p,c.get("selectMarker"));b?$.Sc(q,l||{}):k&&$.Sc(q,m||{});p=q;m=b?l:k?m:q;f=b?f.selected().Eb():k?f.mb().Eb():f.Sa().Eb();l=b?a.selected().Eb():k?a.mb().Eb():a.Sa().Eb();q=m&&$.n(m.enabled)?m.enabled:
null;var r=f.enabled(),t=!1;null===q?null===r?t=h.enabled():t=r:t=q;t?(h=a.Sa().Eb().F(),k=b?a.selected().Eb().F():k?a.mb().Eb().F():{},a=e?a.Nt().Sa().Eb().F():{},b=e?f.F():{},$.Sc(h,k,a,b,p),q=h,$.n(q.type)||(q.type=f.Na()||l.Na()||c.o("paletteMarkerType")),$.n(q.fill)||(a=c.o("paletteFill"),e&&(c=c.o("parentColors"),a=JT(c),a.opacity=1),q.fill=f.Gm()||l.Gm()||a),d.oi(),d.enabled(!0),$.Sx(d,f),d.kd(q,m)):($.Sx(d,f),d.enabled(!1));d.$()}},MT=function(a,b){return new GT(a,b)};$.H(mT,$.Yq);
$.xq(mT,["fill","stroke","hatchFill","labels","markers"],"normal");$.g=mT.prototype;$.g.qa=$.Yq.prototype.qa|274496;$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};$.g.Zd=function(){this.ta(4096)};$.g.GH=function(){this.Sa().labels().I(4294967295);this.mb().labels().I(4294967295);this.selected().labels().I(4294967295)};$.g.bp=function(){this.ta(262144)};
$.g.Xa=function(a){if(!this.gb){this.gb=new $.iw(0);var b=this.Ba.Xa();$.W(this,"tooltip",this.gb);this.gb.parent(b);this.gb.Aa(this.Ba)}return $.n(a)?(this.gb.K(a),this):this.gb};$.g.sg=function(){$.W(this,"normal",this.ca);$.W(this,"hovered",this.xa);$.W(this,"selected",this.Ca)};$.g.F=function(){var a=mT.u.F.call(this);a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();a.tooltip=this.Xa().F();return a};
$.g.X=function(a,b){mT.u.X.call(this,a,b);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected);this.Xa().ia(!!b,a.tooltip)};$.g.R=function(){$.td(this.ca,this.xa,this.Ca,this.gb);mT.u.R.call(this);this.gb=this.Ca=this.xa=this.ca=null};var NT=mT.prototype;NT.normal=NT.Sa;NT.hovered=NT.mb;NT.selected=NT.selected;NT.tooltip=NT.Xa;$.H(GT,$.ox);$.xq(GT,["fill","stroke","hatchFill","labels","markers"],"normal");$.g=GT.prototype;$.g.qa=$.ox.prototype.qa;$.g.sa=$.ox.prototype.sa|61440;$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};$.g.Na=function(){return"venn"};$.g.Te=function(){return[this]};$.g.hk=function(){return!1};$.g.Qs=function(){return!0};
$.g.Uk=function(a){var b=this.aa();this.Vl.tm(a,b.o("shapes"))};var OT={};$.gq(OT,0,"dataSeparator",$.oq);$.U(GT,OT);$.g=GT.prototype;$.g.Rg=function(){return!0};$.g.aa=function(){return this.Nd||(this.Nd=this.oa.aa())};
$.g.zc=function(a,b,c,d,e,f,h){f=this.aa().o("isIntersection")?this.Nt():this;e=0==b?this.ca:1==b?this.xa:this.Ca;f=0==b?f.Sa():1==b?f.mb():f.selected();if(h)return e.i(a);h=c.get(0==b?"normal":1==b?"hovered":"selected");a=$.Ro($.n(h)?h[a]:void 0,c.get($.$l(b,a)),f.dd(a),e.dd(a),f.mf(a),e.mf(a));$.n(a)&&(a=d(a));return a};$.g.ph=function(){return this.aa().o("hatchFillPaletteFill")||$.$b("diagonal-brick")};$.g.Fi=function(){var a=this.aa(),b=this.ph();return{index:a.la(),sourceHatchFill:b,iterator:a}};
$.g.Ae=function(a){var b=this.aa();a=a||b.o("paletteFill")||this.i("color")||"blue";a={index:b.la(),sourceColor:a,iterator:b};b.o("isIntersection")&&(a.parentColors=b.o("parentColors"),a.parentColorsMap=b.o("parentColorsMap"));return a};$.g.cc=function(a){if($.K(a,$.ys))return this.Ic($.ys,a),this;if($.K(a,$.vs))return this.Ic($.vs,a),this;$.D(a)&&"range"==a.type?this.Ic($.ys):($.D(a)||null==this.Ea)&&this.Ic($.vs);return $.n(a)?(this.Ea.K(a),this):this.Ea};
$.g.Ic=function(a,b){if($.K(this.Ea,a))b&&this.Ea.K(b);else{var c=!!this.Ea;$.qd(this.Ea);this.Ea=new a;$.W(this,"palette",this.Ea);b&&this.Ea.K(b);$.L(this.Ea,this.If,this);c&&this.B(528,1)}};$.g.oe=function(a){this.Yc||(this.Yc=new $.ws,$.W(this,"hatchFillPalette",this.Yc),$.L(this.Yc,this.If,this));return $.n(a)?(this.Yc.K(a),this):this.Yc};$.g.sf=function(a){this.Be||(this.Be=new $.xs,$.W(this,"markerPalette",this.Be),$.L(this.Be,this.If,this));return $.n(a)?(this.Be.K(a),this):this.Be};
$.g.If=function(a){$.X(a,2)&&this.B(528,1)};$.g.Zd=function(a){$.X(a,1)&&this.B(8192,1)};$.g.bp=function(a){$.X(a,1)&&this.B(33280,65)};
$.g.bm=function(a,b){var c=[];if(this.Ej())return c;this.ob();IT(this);for(var d=this.aa().reset(),e;d.advance();)if(!d.o("isMissing")){e=d.la();var f=d.get("legendItem")||{},h=null;$.E(b)&&(h=this.Ec(),h.b=this.Rd(e),h=b.call(h,h));$.z(h)||(h=String($.n(d.get("name"))?d.get("name"):d.get("x")));var k=$.Vl("fill",1,!1),l=$.Vl("stroke",2,!1),m=$.Vl("hatchFill",3,!1);if(d.o("isIntersection")){var p=d.o("parentColors");p=JT(p)}h={enabled:!0,meta:{pointIndex:e,pointValue:d.get("value"),series:this},iconType:this.Sa().Eb().enabled()?
d.o("paletteMarkerType"):"square",text:h,iconStroke:d.get("stroke")||l(this,$.Zl,!0),iconFill:d.get("fill")||p||k(this,$.Zl,!0),iconHatchFill:d.get("hatchFill")||m(this,$.Zl,!0)};$.Sc(h,f);h.sourceUid=$.oa(this);h.sourceKey=e;c.push(h)}return c};$.g.ts=function(){return!0};$.g.er=function(a,b){var c=a.si();if(!a||null!=c||(0,window.isNaN)(c))if(c=$.mo(b.domTarget))c.W=this};$.g.bq=function(a,b){var c=a.si();if(!a||null!=c||(0,window.isNaN)(c))if(c=$.mo(b.domTarget))c.W=this};
$.g.aq=function(a,b){var c=a.si();if(!a||null!=c||(0,window.isNaN)(c))if(c=$.mo(b.domTarget))c.W=this};$.g.data=function(a,b){if($.n(a)){if(a){var c=a.title||a.caption;c&&this.title(c);a.rows&&(a=a.rows)}this.jg!==a&&(this.jg=a,$.qd(this.jd),$.K(a,$.pr)?this.oa=this.jd=a.tj():$.K(a,$.zr)?this.oa=this.jd=a.ie():this.oa=(this.jd=new $.zr($.A(a)||$.z(a)?a:null,b)).ie(),$.L(this.oa,this.Id,this),this.B(4356,1));return this}return this.oa};$.g.Id=function(){this.B(4352,1)};
$.g.vc=function(){return this.Nd=this.oa.aa()};$.g.aca=function(a,b){return a.Xh.length-b.Xh.length};$.g.Nt=function(a){this.f||(this.f=new mT(this),this.f.sg(),$.L(this.f,this.Mea,this));return $.n(a)?(this.f.K(a),this):this.f};$.g.Mea=function(a){var b=0;$.X(a,4096)&&(b|=8192);$.X(a,262144)&&(b|=32768);$.X(a,8192)&&(b|=16384);$.X(a,64)&&(b|=512);this.B(b,1)};$.g.ig=function(a){a=$.Y.prototype.ig.call(this,a);var b=$.mo(a.domTarget);a.pointIndex=$.N(b.index);return a};
$.g.Ig=function(a){var b;"pointIndex"in a?b=a.pointIndex:"labelIndex"in a?b=a.labelIndex:"markerIndex"in a&&(b=a.markerIndex);b=$.N(b);a.pointIndex=b;var c=a.type;switch(c){case "mouseout":c="pointmouseout";break;case "mouseover":c="pointmouseover";break;case "mousemove":c="pointmousemove";break;case "mousedown":c="pointmousedown";break;case "mouseup":c="pointmouseup";break;case "click":c="pointclick";break;case "dblclick":c="pointdblclick";break;default:return null}var d=this.data().aa();d.select(b)||
d.reset();return{type:c,actualTarget:a.target,iterator:d,sliceIndex:b,pointIndex:b,target:this,originalEvent:a,point:this.Rd(b)}};$.g.Rd=function(a){return new $.sA(this,a)};$.g.Hi=function(a,b){if(!this.enabled())return this;if($.A(a)){for(var c=$.ex(this.state,$.po),d=0;d<c.length;d++)$.Aa(a,c[d])||this.state.Hh($.po,c[d]);$.cx(this.state,a);$.n(b)&&HT(this,b)}else $.ea(a)&&(this.Pd(),$.cx(this.state,a),$.n(b)&&HT(this,b));return this};$.g.Ek=function(){this.enabled()&&this.state.xh($.po)};
$.g.Oj=function(a){$.n(a)?this.Hi(a):this.Ek();return this};$.g.Pd=function(a){var b;(b=$.Zw(this.state,$.po))||(b=!!(this.state.Nj()&$.po));if(b&&this.enabled()){var c;$.n(a)?c=a:c=this.state.Ac==$.Zl?window.NaN:void 0;this.state.Hh($.po,c)}};$.g.Xj=function(a,b){var c=this.aa();this.Vl.tm(a,c.o("shapes"));this.ce(a,c);LT(this,a,c);return b};$.g.fm=$.ia;$.g.Wp=$.ia;$.g.Fl=function(a){return this.Vc().hoverMode(a)};$.g.Ni=function(a){return this.Vc().selectionMode(a)};
$.g.Mi=function(a,b){var c=!(b&&b.shiftKey);$.A(a)?(b||this.ae(),this.state.xh($.qo,a,c?$.po:void 0)):$.ea(a)&&this.state.xh($.qo,a,c?$.po:void 0);HT(this,b);return this};$.g.iu=function(){this.enabled()&&this.state.xh($.qo)};$.g.select=function(a){if(!this.enabled())return this;$.n(a)?this.Mi(a):this.iu();return this};$.g.ae=function(a){if(this.enabled()){var b;$.n(a)?b=a:b=this.state.Ac==$.Zl?window.NaN:void 0;this.state.Hh($.qo,b)}};$.g.Wq=function(a){return $.$w(this.state,a)};
$.g.Ec=function(a){var b=this.aa();if(!this.de||a)this.de=new $.rw;this.de.Ag(b).mj([this.Rd(b.la()),this]);var c=b.la();a=0;for(var d=$.ex(this.state,$.qo),e=0;e<d.length;e++)b.select(d[e]),a+=b.get("value");b.select(c);c=b.get("x");d=$.n(b.get("name"))?b.get("name"):c;b={x:{value:c,type:"string"},value:{value:b.get("value"),type:"number"},index:{value:b.la(),type:"number"},chart:{value:this,type:""},name:{value:d,type:"string"},isIntersection:{value:!!b.o("isIntersection"),type:"string"},selectedPointsSum:{value:a,
type:"number"}};return $.av(this.de,b)};$.g.ZI=function(a){this.aa().o("tooltip").QO(a.clientX,a.clientY)};
$.g.ob=function(){if(this.J(4096)&&!this.Ej()){this.B(16384);for(var a=this.vc(),b={},c=[],d,e;a.advance();)if(d=a.get("x"),e=a.la(),$.A(d))1==d.length&&(b[String(d[0])]=d),c[e]=d;else{d=String(d);var f=this.i("dataSeparator");f=d.split(f);1==f.length&&(b[d]=d);c[e]=f}for(e=0;e<c.length;e++)if((d=c[e])&&1<d.length)for(f=0;f<d.length;f++)if(!(d[f]in b)){a.select(e);a.o("isMissing",!0);break}this.b.length=0;this.g={};this.j=null;a=this.vc();for(b=this.i("dataSeparator");a.advance();)a.o("isMissing")||
(c=a.get("x"),e=Number(a.get("value")),d=a.la(),e={size:e,jD:d},$.A(c)?(e.Xh=c,1==c.length&&(this.g[c.join(b)]=e)):(c=String(c),d=c.split(b),e.Xh=d,1==d.length&&(this.g[c]=e)),this.b.push(e));$.Ra(this.b,this.aca);IT(this);a=Afa(this.b);this.j=Jfa(a);this.I(4096)}};
$.g.ei=function(a){this.ob();var b;this.Vl||(this.Vl=new $.KA(this,[$.QG,$.RG,$.TG],!0),$.FA(this.Vl,this.La));if(0<a.width&&0<a.height){if(this.J(4)){this.Vl.Wu();var c=this.j;var d=a.width,e=a.height;var f=[];var h=[];for(var k in c)c.hasOwnProperty(k)&&(h.push(k),f.push(c[k]));k=DT(f);c=k.zq;k=k.Ws;var l=Math.min(e/(k.max-k.min),d/(c.max-c.min));d=(d-(c.max-c.min)*l)/2;var m=(e-(k.max-k.min)*l)/2;e={};for(var p=0;p<f.length;++p){var q=f[p];e[h[p]]={Wb:l*q.Wb,x:d+(q.x-c.min)*l,y:m+(q.y-k.min)*l}}f=
this.b;h=[];c={};k=[];for(var r in e)k.push(r),c[r]=[];for(r=0;r<k.length;r++)for(l=e[k[r]],d=r+1;d<k.length;++d)m=e[k[d]],p=uT(l,m),p+m.Wb<=l.Wb+1E-10?c[k[d]].push(k[r]):p+l.Wb<=m.Wb+1E-10&&c[k[r]].push(k[d]);for(r=0;r<f.length;++r){k=f[r].Xh;d={};m={};l=f[r].jD;for(p=0;p<k.length;++p){d[k[p]]=!0;q=c[k[p]];for(var t=0;t<q.length;++t)m[q[t]]=!0}p=[];q=[];for(b in e)b in d?p.push(e[b]):b in m||q.push(e[b]);d=FT(p,q);h[l]=d;d.gca&&0<f[r].size&&$.el(22,null,[String(k)])}this.D=h;for(b=0;b<this.b.length;b++){c=
this.b[b];f=c.jD;h=this.aa();h.select(f);c=c.Xh;h=[];if(1==c.length)r=c[0],h.push(e[r]);else for(k=0;k<c.length;k++)r=c[k],h.push(e[r]);c={};xT(h,c);f=this.Vl.Xc(this.Wq(f));h=f.hatchFill;r=f.stroke;KT(f.fill,c,a);KT(h,c,a);KT(r,c,a)}this.B(40960);this.I(16384)}if(this.J(8192)){e=this.Sa().labels();e.clear();e.P(this.La);for(b=0;b<this.b.length;b++)c=this.b[b],f=c.jD,h=this.aa(),h.select(f),c=this.D[f],r=this.Ec(!0),c={value:{x:a.left+c.x,y:a.top+c.y}},c=e.add(r,c,f),h.o("label",c),this.ce($.$w(this.state,
f),h);e.$();this.Nt().GH();this.I(8192)}if(this.J(32768)){e=this.Sa().Eb();$.V(e);e.P(this.La);e.clear();for(b=0;b<this.b.length;b++)c=this.b[b],f=c.jD,h=this.aa(),h.select(f),c=this.D[f],c={value:{x:a.left+c.x+.5,y:a.top+c.y+.5}},c=e.add(c,f),h.o("marker",c),LT(this,$.$w(this.state,f),h);e.da(!1);e.$();a=this.Nt();a.Sa().Eb().I(4294967295);a.mb().Eb().I(4294967295);a.selected().Eb().I(4294967295);this.I(32768)}if(this.J(16384)){IT(this);for(h=this.vc();h.advance();)this.Vl.tm(this.Wq(h.la()),h.o("shapes"));
this.I(16384)}}};
$.g.ce=function(a,b){var c=b.o("label");if(c&&!b.o("isMissing")){var d=b.o("isIntersection")?this.Nt():this;a=$.Xl(a);var e=!!(a&$.po),f=!!(a&$.qo),h=b.get("normal");h=$.n(h)?h.label:void 0;var k=b.get("hovered");k=$.n(k)?k.label:void 0;var l=b.get("selected");l=$.n(l)?l.label:void 0;h=$.Ro(h,b.get("label"),null);k=$.Ro(k,b.get("hoverLabel"),null);l=$.Ro(l,b.get("selectLabel"),null);l=f?l:e?k:null;k=f?d.selected().labels():e?d.mb().labels():null;var m=d.Sa().labels(),p=f?this.selected().labels():e?
this.mb().labels():null,q=this.Sa().labels(),r=f?d.selected().labels().ma:e?d.mb().labels().ma:null;d=d.Sa().labels().ma;e=f?this.selected().labels().ma:e?this.mb().labels().ma:null;f=this.Sa().labels().ma;var t=l&&$.n(l.enabled)?l.enabled:null,u=h&&$.n(h.enabled)?h.enabled:null,v=k&&null!==k.enabled()?k.enabled():null,w=m&&null!==m.enabled()?m.enabled():null,x=p?p.enabled():null,y=q.enabled(),B=!1;null===t?null===u?null===v?null===w?null===x?B=y:B=x:B=w:B=v:B=u:B=t;B?(c.oi(),c.enabled(!0),c.state("labelOwnSettings",
c.Ma,0),c.state("pointState",l,1),c.state("pointNormal",h,2),c.state("intersectionsState",k,3),c.state("intersectionsNormal",m,4),c.state("chartState",p,5),c.state("chartNormal",q,6),c.state("intersectionsStateTheme",r,7),c.state("chartStateTheme",e,8),c.state("auto",c.zd,9),c.state("intersectionsNormalTheme",d||null,10),c.state("chartNormalTheme",f||null,11)):c.enabled(!1);c.$()}};$.g.HC=function(){return["x"]};$.g.IC=function(a){return a.get("x")};
$.g.GC=function(a){a=a.get("name");return $.z(a)?a:null};$.g.Ej=function(){return!this.aa().Gb()};$.g.F=function(){var a=GT.u.F.call(this);$.Hq(this,OT,a,"Venn");a.data=this.data().F();a.normal=this.Sa().F();a.hovered=this.mb().F();a.selected=this.selected().F();a.palette=this.cc().F();a.hatchFillPalette=this.oe().F();a.markerPalette=this.sf().F();a.intersections=this.Nt().F();return{chart:a}};
$.g.X=function(a,b){GT.u.X.call(this,a,b);$.zq(this,OT,a,b);this.data(a.data);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected);this.cc().ia(!!b,a.palette);this.sf().ia(!!b,a.markerPalette);this.oe().ia(!!b,a.hatchFillPalette);this.Nt().ia(!!b,a.intersections)};
$.g.R=function(){$.td(this.ca,this.xa,this.Ca,this.Ea,this.Yc,this.Be,this.Vl,this.f,this.jd,this.oa);this.jd=this.f=this.Vl=this.Be=this.Yc=this.Ea=this.Ca=this.xa=this.ca=null;delete this.oa;this.Nd=null;GT.u.R.call(this)};var PT=GT.prototype;PT.data=PT.data;PT.getType=PT.Na;PT.intersections=PT.Nt;PT.normal=PT.Sa;PT.hovered=PT.mb;PT.selected=PT.selected;PT.palette=PT.cc;PT.hatchFillPalette=PT.oe;PT.markerPalette=PT.sf;PT.hover=PT.Oj;PT.unhover=PT.Pd;PT.select=PT.select;PT.unselect=PT.ae;$.Jp.venn=MT;$.F("anychart.venn",MT);}).call(this,$)}
if(!_.theme_venn){_.theme_venn=1;(function($){var HU={titleFormat:"{%Name}",format:"Value: {%Value}"};
$.ra($.fa.anychart.themes.defaultTheme,{venn:{dataSeparator:"&",background:{zIndex:0},padding:{top:15,right:5,bottom:15,left:5},a11y:{enabled:!0,titleFormat:$.fN,mode:"chart-elements"},color:"#64b5f6",normal:{fill:$.VM,stroke:"none",hatchFill:!1,labels:{fontColor:"#f4f4f4",format:"{%Name}",enabled:!0,disablePointerEvents:!0,zIndex:100,fontWeight:"bold"},markers:{enabled:!1,zIndex:99,disablePointerEvents:!0,stroke:"none"}},hovered:{fill:$.ZM,stroke:"none",hatchFill:!1,labels:{enabled:null},markers:{enabled:null}},
selected:{fill:"#333 0.85",stroke:"none",hatchFill:!1,labels:{enabled:null},markers:{enabled:null}},tooltip:HU,intersections:{normal:{fill:"#fff 0.00001",stroke:"none",labels:{fontWeight:"normal",format:"{%Value}",enabled:null},markers:{enabled:null}},hovered:{fill:"#fff 0.5",stroke:"none",labels:{enabled:null},hoverMarkers:{enabled:null}},selected:{fill:"#333 0.85",stroke:"none",labels:{enabled:null},markers:{enabled:null}},tooltip:HU},legend:{enabled:!0,zIndex:0,tooltip:{enabled:!1},padding:{top:10,
right:10,bottom:0,left:10},position:"bottom"}}});}).call(this,$)}
if(!_.waterfall){_.waterfall=1;(function($){var i6=function(a,b,c,d,e){$.gB.call(this,a,b,c,d,e)},j6=function(){$.BB.call(this);this.Fa("waterfall");this.je="waterfall";$.T(this.ua,[["dataMode",360448,1],["connectorStroke",32768,1]])},k6=function(a,b){var c=a.bb().transform(b),d=a.dc;if(a.za()){var e=d.left;d=d.width}else e=d.Ua(),d=-d.height;return e+c*d},Bna=function(a,b){for(var c=a.length;c--;){var d=a[c].data;if(d.length&&!d[b].o.missing)return c}return window.NaN},Gna=function(a){a.xc||(a.xc=a.La.Dd(),a.xc.zIndex(40),a.g.P(a.xc));for(var b=
a.Nh(0).vc(),c=a.g.anchor(),d=a.g.position();b.advance();){var e=b.la();if(Cna(a,e)){var f=a;var h=c,k=d;"auto"==h&&(h="auto"==k?0<=Dna(f,e)?"center-bottom":"center-top":"center"==k?"center":$.Co(k,180));f=$.Co(h,f.za()?-90:0);h=d;k="auto"==h?0<=Dna(a,e)?"center-top":"center-bottom":h;h=a;var l=Ena(h,e);l=$.xo(l,k);k=l.x;l=l.y;var m=k;k=h.za()?l:k;l=h.za()?m:l;h={value:{x:k,y:l}};m=a;k=e;l=new $.rw;m=Fna(m,k);k=$.av(l,{index:{value:k,type:"number"},value:{value:m,type:"number"}});l=(l=a.g.Vd(e))?
l:a.g.add(null,null,e);l.lf(k);l.uc(h);l.anchor(f)}}a.g.$()},Ena=function(a,b){var c=(0,$.Fg)(a.$j,function(a,b){return Math.max(b.W.mr,a)},-window.Infinity),d=a.$j[0].data[b].o.valueX-c/2,e=k6(a,Hna(a,b)),f=k6(a,Ina(a,b));return $.gn(d,e,c,f-e)},Dna=function(a,b){return(0,$.Fg)(a.fb,function(a,d){if(d.enabled()){var c=d.aa();c.select(b);c=c.get("value")||0;return a+c}return a},0)},Fna=function(a,b){return(0,$.Fg)(a.fb,function(a,d){if(d.enabled()){var c=d.aa();c.select(b);c=c.o("absolute")||0;return a+
c}return a},0)},Cna=function(a,b){return(0,$.Fg)(a.$j,function(a,d){return a||!d.data[b].o.missing},!1)},Hna=function(a,b){return(0,$.Fg)(a.fb,function(a,d){if(d.enabled()){var c=d.aa();c.select(b);var f=c.o("stackedValue")||0;c=c.o("stackedZero")||0;return Math.max(a,f,c)}return a},-window.Infinity)},Ina=function(a,b){return(0,$.Fg)(a.fb,function(a,d){if(d.enabled()){var c=d.aa();c.select(b);var f=c.o("stackedValue")||0;c=c.o("stackedZero")||0;return Math.min(f,c,a)}return a},window.Infinity)},l6=
function(a){$.xA.call(this,a)},Jna=function(a){var b=new j6;b.Kg();b.ld();for(var c=0,d=arguments.length;c<d;c++)b.waterfall(arguments[c]);return b},Kna={nja:"absolute",Nka:"diff"};$.H(i6,$.gB);$.g=i6.prototype;$.g.FE={"%BubbleSize":"size","%RangeStart":"low","%RangeEnd":"high","%XValue":"x","%Diff":"diff","%Absolute":"absolute","%IsTotal":"isTotal"};$.g.KN=function(a,b){if("auto"==a){if(1<this.Aa.Mj())return"center";a="value"}return i6.u.KN.call(this,a,b)};
$.g.Ai=function(a,b){"auto"==a&&(1<this.Aa.Mj()?a="center":a="value");return i6.u.Ai.call(this,a,b)};$.g.Em=function(a,b){var c=i6.u.Em.call(this,a,b);c.diff={value:b.o("diff"),type:"number"};c.absolute={value:b.o("absolute"),type:"number"};c.isTotal={value:b.o("isTotal"),type:""};return c};$.g.B1=function(){return{prevValue:0,Z0:!1,Jfa:"absolute"==this.Aa.i("dataMode")}};
$.g.j3=function(a,b,c){var d=-1<(0,$.za)(this.Am||[],b.o.rawIndex);a=a.get("isTotal");d=!!b.o.missing||d;var e=!(c.Z0||d);a=e||($.n(a)?!!a:d);!d||!e&&a?(d=c.Jfa?d?c.prevValue:+b.data.value:c.prevValue+(d?0:+b.data.value),b.o.absolute=d,b.o.diff=d-c.prevValue,b.o.isTotal=a,b.o.missing=0,c.Z0=!0,c.prevValue=d):b.o.missing=1};$.g.ZQ=function(a){return"value"==a?0<=(Number(this.aa().o("diff"))||0):i6.u.ZQ.call(this,a)};$.H(j6,$.BB);$.uz(j6,"waterfall","stackLabels");var Lna={};Lna.waterfall={Ab:32,Fb:2,Jb:[$.cH,$.gH,$.hH,$.lH,$.tH,$.TG],Ib:null,Cb:null,zb:$.tG|5767168,yb:"value",wb:"zero"};j6.prototype.Oi=Lna;$.yz(j6,j6.prototype.Oi);$.g=j6.prototype;$.g.zs=function(){return"waterfall"};$.g.GG=function(){return"value"};$.g.Vr=function(){};$.g.L0=function(a){return+a.o[a.o.isTotal?"absolute":"diff"]};
$.g.k3=function(a,b,c,d){var e=0,f;if(b)for(f=0;f<a.length;f++){var h=a[f].data[b-1];e+=Number(h.o.diff)||0}this.eb=[];for(f=b;f<=c;f++){for(var k=b=0;k<a.length;k++)h=a[k].data[f],h.o.isTotal||(h.o.stackedZero+=e,h.o.stackedValue+=e,h.o.stackedZeroPrev+=e,h.o.stackedValuePrev+=e,h.o.stackedZeroNext+=e,h.o.stackedValueNext+=e),d.Uc(h.o.stackedValue),d.Uc(h.o.stackedValuePrev),d.Uc(h.o.stackedValueNext),b+=h.o.missing?0:Number(h.o.diff)||0;e+=b;this.eb.push(e)}};
$.g.ei=function(a){j6.u.ei.call(this,a);(this.J(4)||$.er(this,"waterfall","stackLabels"))&&this.fi()};
$.g.PP=function(){j6.u.PP.call(this);this.G?this.G.clear():this.G=$.nk();var a=this.Va(),b=this.Lo[String($.oa(a))];if(b&&b.length){var c=this.i("connectorStroke");this.G.stroke(c);c=$.bc(c);this.G.parent(this.P());this.G.zIndex(1E3);this.G.clip(this.Rf());var d=this.za();a=a.Uu();var e=b[0].Ei,f=b[0].lastIndex,h;var k=Bna(b,e);if((0,window.isNaN)(k))var l=h=window.NaN;else{var m=b[k];k=m.data[e].o;var p=a?m.W.Zr($.n(k.category)?k.category:e):m.W.mr;h=$.R(k6(this,this.eb[0]),c);l=k.valueX+p/2}for(var q=
e+1;q<=f;q++){a:{for(k=0;k<b.length;k++)if(!b[k].data[q].o.missing)break a;k=window.NaN}(0,window.isNaN)(k)?k=m=window.NaN:(m=b[k],k=m.data[q].o,p=a?m.W.Zr($.n(k.category)?k.category:e):m.W.mr,m=$.R(k6(this,this.eb[q-e-1]),c),k=k.valueX-p/2);if(!(0,window.isNaN)(l)&&!(0,window.isNaN)(h))if((0,window.isNaN)(k)||(0,window.isNaN)(m))continue;else $.vA(this.G,d,l,h),$.wA(this.G,d,k,m);k=Bna(b,q);(0,window.isNaN)(k)?l=h=window.NaN:(m=b[k],k=m.data[q].o,p=a?m.W.Zr($.n(k.category)?k.category:e):m.W.mr,h=
$.R(k6(this,this.eb[q-e]),c),l=k.valueX+p/2)}}};$.g.kt=function(a,b){return new i6(this,this,a,b,!0)};var m6={};$.gq(m6,0,"dataMode",function(a,b){return $.xk(Kna,a,b||"absolute")});$.gq(m6,1,"connectorStroke",$.Dq);$.U(j6,m6);$.g=j6.prototype;$.g.fi=function(){this.bB().clear();1<(0,$.Fg)(this.fb,function(a,b){return b.enabled()?a+1:a},0)&&this.bB().i("enabled")&&Gna(this);this.bB().I(this.bB().sa);$.dr(this,"waterfall","stackLabels")};$.g.mia=function(){$.br(this,"waterfall","stackLabels",1)};
$.g.bB=function(a){this.g||(this.g=new $.Du,$.W(this,"stackLabels",this.g),this.g.I(this.g.sa),$.L(this.g,this.mia,this));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.g.K(a),this):this.g};$.g.ts=function(){return!0};
$.g.bm=function(a,b){var c=[];if("categories"==a){this.ba={};for(var d=this.Te(),e,f,h,k={},l=0,m=0;m<d.length;m++)e=d[m],f=$.Vl("risingFill",1,!1),f=f(e,$.Zl,!0,!0),h=$.ko(f),h in k?this.ba[k[h]].W.push(e):(k[h]=l,this.ba[l]={W:[e],type:"rising"},c.push({text:"Increase",categoryType:"increase",iconEnabled:!0,iconFill:f,sourceUid:$.oa(this),sourceKey:l++})),f=$.Vl("fallingFill",1,!1),f=f(e,$.Zl,!0,!0),h=$.ko(f),h in k?this.ba[k[h]].W.push(e):(k[h]=l,this.ba[l]={W:[e],type:"falling"},c.push({text:"Decrease",
categoryType:"decrease",iconEnabled:!0,iconFill:f,sourceUid:$.oa(this),sourceKey:l++})),f=$.Vl("fill",1,!1),f=f(e,$.Zl,!0,!0),h=$.ko(f),h in k?this.ba[k[h]].W.push(e):(k[h]=l,this.ba[l]={W:[e],type:"total"},c.push({text:"Total",categoryType:"total",iconEnabled:!0,iconFill:f,sourceUid:$.oa(this),sourceKey:l++}))}else c=j6.u.bm.call(this,a,b);return c};
$.g.bq=function(a,b){if("categories"==this.Gf().i("itemsSourceMode")){var c=a.si(),d=this.ba[c];c=d.W;d=d.type;for(var e,f,h,k,l,m,p=0;p<c.length;p++){e=c[p];f=e.Qf();for(m=[];f.advance();){var q=f.la();f.o("missing")||(h=f.o("isTotal"),k=0<=f.o("diff")&&!h,l=0>f.o("diff")&&!h,(h=h&&"total"==d||k&&"rising"==d||l&&"falling"==d)&&m.push(q))}e.Oj(m)}}else return j6.u.bq.call(this,a,b)};$.g.aq=function(a,b){if("categories"==this.Gf().i("itemsSourceMode"))this.Pd();else return j6.u.aq.call(this,a,b)};
$.g.er=function(a,b){if("default"==this.Gf().i("itemsSourceMode"))return j6.u.er.call(this,a,b)};$.g.XD=function(a){$.br(this,"waterfall","stackLabels");j6.u.XD.call(this,a)};$.g.F=function(){var a=j6.u.F.call(this);$.Hq(this,m6,a.chart);a.chart.stackLabels=this.bB().F();return a};$.g.X=function(a,b){j6.u.X.call(this,a,b);var c=a.stackLabels;c&&this.bB().ia(!!b,c);$.zq(this,m6,a)};$.g.R=function(){$.td(this.g,this.xc,this.G);j6.u.R.call(this)};var n6=j6.prototype;n6.stackLabels=n6.bB;n6.xScale=n6.Va;
n6.yScale=n6.bb;n6.crosshair=n6.$g;n6.xGrid=n6.Zm;n6.yGrid=n6.$m;n6.xMinorGrid=n6.xr;n6.yMinorGrid=n6.Ar;n6.xAxis=n6.lh;n6.getXAxesCount=n6.QC;n6.yAxis=n6.ti;n6.getYAxesCount=n6.SC;n6.getSeries=n6.Ue;n6.lineMarker=n6.Jm;n6.rangeMarker=n6.Sm;n6.textMarker=n6.Xm;n6.palette=n6.cc;n6.markerPalette=n6.sf;n6.hatchFillPalette=n6.oe;n6.getType=n6.Na;n6.addSeries=n6.Rk;n6.getSeriesAt=n6.Nh;n6.getSeriesCount=n6.Mj;n6.removeSeries=n6.mo;n6.removeSeriesAt=n6.Cn;n6.removeAllSeries=n6.kp;n6.getPlotBounds=n6.Rf;
n6.xZoom=n6.Aq;n6.yZoom=n6.Bq;n6.xScroller=n6.rp;n6.yScroller=n6.Br;n6.getStat=n6.Eg;n6.annotations=n6.tk;n6.getXScales=n6.Sx;n6.getYScales=n6.Ux;n6.data=n6.data;$.H(l6,$.RB);$.sG[32]=l6;$.g=l6.prototype;$.g.type=32;$.g.flags=263713;$.g.vh={rising:"path",risingHatchFill:"path",falling:"path",fallingHatchFill:"path",path:"path",hatchFill:"path"};$.g.bt=function(a){var b=a.o("shapes");for(c in b)b[c].clear();var c=0<=a.o("diff");if(a.o("isTotal")){c="path";var d="hatchFill"}else c?(c="rising",d="risingHatchFill"):(c="falling",d="fallingHatchFill");this.VE(a,b[c],b[d])};
$.g.fg=function(a,b){var c=0<=a.o("diff");if(a.o("isTotal")){c="path";var d="hatchFill"}else c?(c="rising",d="risingHatchFill"):(c="falling",d="fallingHatchFill");var e={};e[c]=e[d]=!0;e=this.Wc.Xc(b,e);this.VE(a,e[c],e[d])};$.Jp.waterfall=Jna;$.F("anychart.waterfall",Jna);}).call(this,$)}
if(!_.theme_waterfall){_.theme_waterfall=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{waterfall:{dataMode:"diff",connectorStroke:"#697474",defaultSeriesType:"waterfall",defaultSeriesSettings:{waterfall:{normal:{fill:"#96a6a6",stroke:"#697474",risingFill:"#64b5f6",fallingFill:"#ef6c00",risingStroke:"#467fac",fallingStroke:"#a74c00",risingHatchFill:!1,fallingHatchFill:!1,labels:{enabled:!0,format:function(){return $.OM(this.isTotal?this.absolute:this.diff)}}},hovered:{risingFill:$.UM,fallingFill:$.UM,risingStroke:$.bN,fallingStroke:$.bN,risingHatchFill:null,
fallingHatchFill:null},selected:{risingFill:"#333 0.85",fallingFill:"#333 0.85",risingStroke:"#333 0.85",fallingStroke:"#333 0.85",risingHatchFill:null,fallingHatchFill:null},tooltip:{format:function(){return this.isTotal?"Absolute: "+$.OM(this.absolute):"Absolute: "+$.OM(this.absolute)+"\nDifference: "+$.OM(this.diff)}}}},legend:{enabled:!0,itemsSourceMode:"categories"},scales:[{type:"ordinal"},{type:"linear",softMinimum:0,stackDirection:"reverse"}],stackLabels:{anchor:"auto",enabled:!1,format:function(a){return a.value},
position:"auto"}}});}).call(this,$)}
if(!_.wordtree){_.wordtree=1;(function($){var Z4=function(){$.Yq.call(this);$.T(this.ua,Qma)},$4=function(a,b){$.gx.call(this);$.eu(this,this,this.rg,this.Gg,this.Fv,this.rg,null,null);this.pr=null;this.ou=[];this.hh=[];this.VN=this.gL=null;this.jg=[];this.Ss=[];$.T(this.ua,[["minFontSize",4,1],["maxFontSize",4,1],["postfix",4,1],["fontFamily",4,1],["fontStyle",16,1],["fontWeight",4,1],["fontColor",16,1],["fontOpacity",16,1],["fontDecoration",16,1]]);this.data(a,b)},Rma=function(a,b){var c=b.getParent();if(c){for(var d=0;d<c.Zb();d++){var e=
c.od(d);e!=b&&e.o("hidden",!0)}Rma(a,c)}},Sma=function(a){for(var b=0;b<a.hh.length;b++)a.hh[b].o("hidden",!1)},Tma=function(a,b,c){if(c.length){for(var d=b.Al(),e=!1,f=0;f<b.Zb();f++)if(d[f].get("value")==c[0]){e=!0;break}e?(c.shift(),b=d[f]):(b=b.fc({value:c[0]}),c.shift());return Tma(a,b,c)}return b},Uma=function(a){a=a.split(/\s*(.+?(?:[?!]+|$|\.(?=\s+[A-Z]|$)))\s*/);return a=(0,$.Ye)(a,function(a){return!!a.length})},a5=function(a){a=a.split(/([!?,;:.&"-]+|\S*[A-Z]\.|\S*(?:[^!?,;:.\s&-]))/);
return a=(0,$.Ye)(a,function(a){return a.length&&" "!=a})},Vma=function(a,b){null!=a.oa&&($.Zq(a.oa,a.Id,a),a.oa.cd());a.oa=b;$.L(a.oa,a.Id,a);a.B(4100,1)},Wma=function(a,b,c){if(b){var d=b.get("fontSize");if(null==d){if((d=b.getParent())&&(1==d.Zb()||c))return d=Wma(a,d,c),b.o("fontSize",d),d;c=a.i("maxFontSize");a=a.i("minFontSize");d=b.o("height")/1.5;d=$.Za(d,a,c);b.o("fontSize",d)}return d}return 0},Xma=function(a,b){if(b){var c=b.Zb(),d=0;if(c)for(var e=0;e<c;e++)d+=Xma(a,b.od(e));else d=b.get("weight")||
1;b.o("leafCount",d).o("weight",d);return d}return 0},Yma=function(a,b,c,d,e,f){if(b){b.o("connectorInXPosition",c[0]).o("connectorInYPosition",c[1]).o("connectorOutXPosition",c[0]+a.pV(b)).o("connectorOutYPosition",c[1]);var h=a.Xf.$a();if(d<h){c=a.Sn();var k=b.Zb(),l=c.i("length"),m=c.i("offset");c=c.i("curveFactor");var p=a.i("minFontSize");if(k){if(1<k){var q=p/10;e+=q;f-=q}q=e;for(var r=!1,t,u=0;u<k;u++)if(t=b.od(u),t.o("hidden")){r=!0;break}if((f-e)/k<1.5*p&&1<k){k="+"+b.o("leafCount")+" "+
a.i("postfix");var v=(f+e)/2;m=d;d=a.yx(m,v,k,b.o("fontSize")||p,a.i("fontFamily"),a.i("fontWeight"));v-=d.DG()/2;d.y(v);d.tag.node=b;d.tag.O1=!0;k=d.gT();m+k>=h&&d.visible(!1);a.rC(b.o("connectorOutXPosition"),b.o("connectorOutYPosition"),b.o("connectorOutXPosition")+20,(f+e)/2,c)}else for(r&&(d-=l+m),u=0;u<k;u++)if(t=b.od(u),!t.o("hidden")){m=t.o("leafCount");h=b.o("leafCount");h=r?f-e:(f-e)*Math.max(1,m)/Math.max(1,h);p=q;var w=0;q=p+h;m=d;v=p+h/2;var x=[m,v];t.o("height",h).o("nodePositionX",
m).o("nodePositionY",v);a.bL(t,r);v=b.o("textHeight")/2;x[1]-=v;1!=t.Zb()&&(w+=l);m=a.pV(t);v=[x[0],x[1]+v];w+=x[0]+m;Yma(a,t,v,w,p,p+h);1<b.Zb()&&!r&&a.rC(b.o("connectorOutXPosition"),b.o("connectorOutYPosition"),t.o("connectorInXPosition"),t.o("connectorInYPosition"),c)}}}}},Zma=function(a,b){var c=new $4(a,b);c.Fa("wordtree");return c};$.H(Z4,$.Yq);var b5={};$.hq(b5,[[0,"curveFactor",$.Tq],[0,"offset",$.Qq],[0,"length",$.Qq],[1,"stroke",$.Dq]]);$.U(Z4,b5);Z4.prototype.qa=8201;
var Qma=[["curveFactor",0,8],["offset",0,8],["length",0,8],["stroke",0,8192]];Z4.prototype.F=function(){var a=Z4.u.F.call(this);$.Hq(this,b5,a);return a};Z4.prototype.X=function(a,b){Z4.u.X.call(this,a,b);$.zq(this,b5,a,b)};$.H($4,$.gx);$4.prototype.qa=$.gx.prototype.qa;$4.prototype.sa=$.gx.prototype.sa|4112;var c5=function(){var a={};$.hq(a,[[0,"minFontSize",$.Qq],[0,"maxFontSize",$.Qq],[0,"fontFamily",$.oq],[0,"fontStyle",$.Xk],[0,"fontWeight",$.lq],[0,"fontColor",$.pq],[0,"fontOpacity",$.qq],[0,"fontDecoration",$.Wk],[0,"postfix",function(a){if($.n(a))return null===a&&(a=this.mf("postfix")),String(a)}]]);return a}();$.U($4,c5);$.g=$4.prototype;$.g.Na=function(){return"wordtree"};
$.g.Ej=function(){return!(this.oa&&(!this.oa||this.oa.Zb()))};$.g.Te=function(){return[]};$.g.At=function(){return[this]};$.g.dU=function(a,b){return function(c){return a*(1-c)+b*c}};$.g.qk=function(a,b){return $.cu(this.data(),b)};$.g.Sn=function(a){this.xm||(this.xm=new Z4,$.W(this,"connectors",this.xm),$.L(this.xm,this.sga,this));return a?(this.xm.K(a),this):this.xm};
$.g.fC=function(a){this.wl||(this.wl=new $.rw);var b={};a&&(b.value={value:a.get("value"),type:"string"},b.weight={value:a.o("weight"),type:"number"});this.wl.Ag(a);return $.av(this.wl,b)};$.g.Pq=function(a){if(a){"array"==$.ka(a)&&(a=a[0]);if(!$.K(a,$.Qt)&&(a=this.data().op("value",a)[0],!a))return;this.gL=a;Rma(this,a);this.B(20,1)}};$.g.zx=function(){Sma(this);this.gL&&this.gL.getParent()&&this.Pq(this.gL.getParent());return this};
$.g.sga=function(a){var b=0;$.X(a,8192)&&(b|=16);$.X(a,8)&&(b|=4);this.B(b,1)};$.g.Id=function(a){$.X(a,16)&&this.B(4100,9)};$.g.Fv=function(a){a.button==$.Mi&&(a=a.domTarget.tag)&&a.node&&(Sma(this),this.Pq(a.node))};$.g.rg=function(a){var b=a.domTarget.tag;if(b&&b.node&&!b.O1){var c=b.node;b=this.Xa();$.Aw(b,a.clientX,a.clientY,this.fC(c))}else this.Xa().Oc()};$.g.Gg=function(){this.Xa().Oc()};
$.g.vX=function(a){if("implicit"==this.je){if($.n(a)){if(this.VN!=a||this.e0){this.e0=!1;if(null===a||/^[\s\xa0]*$/.test(a))a=this.Ov[0][0];this.VN=a;for(var b=[],c=0;c<this.Ov.length;c++){var d=(0,$.za)(this.Ov[c],a);-1!=d&&b.push($.Ja(this.Ov[c],d))}b.length||(b[0]=[a]);a=b[0][0];$.V(this.data());this.data().Zb()&&this.data().jj(0);c={value:a};c=this.data().og(c,0);for(d=0;d<b.length;d++){var e=b[d];e[0]==a&&(e.shift(),Tma(this,c,e))}this.data().da(!0)}return this}return this.VN}return this};
$.g.data=function(a,b){if($.n(a)){if($.K(a,$.Nt)||$.K(a,$.Kt))this.oa!=a&&(this.oa&&$.Zq(this.oa,this.Id,this),this.oa=a,$.L(this.oa,this.Id,this),this.je="explicit",this.B(4100,1));else if("array"==$.ka(a)&&"object"==$.ka(a[0]))this.data($.au(a,b));else if(null===a)this.oa&&($.Zq(this.oa,this.Id),this.oa.cd()),this.oa=null,this.B(4100,1);else{this.je="implicit";this.jg=a;if("array"==$.ka(a)&&a.length)if(this.Ov=[],"array"==$.ka(a[0]))for(var c=0;c<a.length;c++)this.Ov.push(a5(a[c][0]));else{if("string"==
$.ka(a[0]))for(c=0;c<a.length;c++)this.Ov.push(a5(a[c]))}else if("string"==$.ka(a)){c=Uma(a);for(var d=[],e=0;e<c.length;e++)d.push(a5(c[e]));this.Ov=d}else this.Ov=[[a.toString()]];this.oa||Vma(this,$.au());this.e0=!0;this.vX(this.Ov[0][0])}return this}return this.oa};$.g.ii=function(){var a;0<this.Ss.length?a=this.Ss.pop():a=new $.Mh;return a};$.g.pV=function(a){if(a){var b=a.o("textWidth"),c=this.Sn().i("offset"),d=a.getParent();d&&1<d.Zb()&&(b+=c);1<a.Zb()&&(b+=c);return b}return 0};
$.g.depth=function(a){if(a){var b=a.Zb(),c=0,d=a.getParent();d&&(c=d.o("depth")+1);a.o("depth",c);for(c=0;c<b;c++)this.depth(a.od(c))}};$.g.yx=function(a,b,c,d,e,f){var h=this.ii();h.tag||(h.tag={});h.text(c);h.y(b);h.x(a);h.fontSize(d);h.fontFamily(e);h.fontWeight(f);h.width(null);h.visible(!0);this.ou.push(h);return h};$.g.rC=function(a,b,c,d,e){var f=this.cC,h=this.dU(a,c),k=h(e);e=h(1-e);f.moveTo(a,b).yk(k,b,e,d,c,d)};
$.g.bL=function(a,b){var c=0,d=a.getParent();d&&1<d.Zb()&&(c+=this.Sn().i("offset"));var e=a.get("value");1==a.Zb()&&(e+=" ");c=a.o("nodePositionX")+c;d=a.o("nodePositionY");var f=a.get("fontFamily")||this.i("fontFamily");var h=a.get("fontWeight")||this.i("fontWeight");var k=Wma(this,a,b);f=this.yx(c,d,e,k,f,h);f.tag={node:a,type:"node",O1:!1};h=f.DG();e=f.gT();a.o("textHeight",h).o("textWidth",e);d-=h/2;h=c+e;k=this.Xf.$a();h>k&&f.width(e-(h-k)-.05*e);f.x(c).y(d)};
$.g.ei=function(a){if(!this.ef())if(this.va||(this.va=this.La.Dd(),this.cC=new $.zg,this.va.zIndex(30)),this.Ej())this.va.Ki();else{var b=this.pr=this.oa.od(0);this.J(4096)&&(Xma(this,this.pr),this.depth(this.pr),this.hh.length=0,this.hh=this.data().Av().LB(),this.I(4096));if(this.J(4)){this.va.Ki();var c=a.left;var d=a.top;a=a.height;for(var e=this.Sn(),f=e.i("offset"),h=0;h<this.ou.length;h++){var k=this.ou[h];this.Ss.push(k)}this.ou.length=0;this.cC.clear();this.va.suspend();k=[c+f,d+a/2];b.o("nodePositionX",
k[0]).o("nodePositionY",k[1]).o("height",a);this.bL(b,!1);c=c+f+this.pV(b)+(1<b.Zb()?e.i("length"):0);Yma(this,b,k,c,d,d+a);this.cC.parent(this.va);this.I(4);for(h=0;h<this.ou.length;h++)this.ou[h].parent(this.va);this.va.resume();this.B(16)}if(this.J(16)){this.va.suspend();this.cC.stroke(this.Sn().i("stroke"));d=this.i("fontColor");c=this.i("fontDecoration");a=this.i("fontStyle");e=this.i("fontOpacity");for(f=0;f<this.ou.length;f++){b=this.ou[f];if(b.tag&&b.tag.node){var l=b.tag.node;var m=l.get("fontColor")||
d;var p=l.get("fontDecoration")||c;var q=l.get("fontStyle")||a;l=l.get("fontOpacity")||e}b.color(m);b.Lq(p);b.fontStyle(q);b.opacity(l);b.rm(!1)}this.va.resume();this.I(16)}}};$.g.F=function(){var a=$4.u.F.call(this);$.Hq(this,c5,a);"implicit"==this.je&&(a.wordTreeRawData=JSON.stringify(this.jg),a.word=this.VN);a.treeData=this.data().OA(["hidden"]);a.connectors=this.Sn().F();return{chart:a}};
$.g.X=function(a,b){$4.u.X.call(this,a,b);$.zq(this,c5,a,b);"wordTreeRawData"in a?(this.data(JSON.parse(a.wordTreeRawData)),"word"in a&&this.vX(a.word),"treeData"in a&&Vma(this,$.Pt(a.treeData))):"treeData"in a&&this.data($.Pt(a.treeData));"connectors"in a&&this.Sn().ia(!!b,a.connectors)};$.g.R=function(){$4.u.R.call(this);$.td(this.xm,this.cC,this.ou,this.Ss,this.oa,this.va);this.oa=this.cC=this.xm=null;this.ou.length=0;this.Ss.length=0;this.va=null};var d5=$4.prototype;d5.connectors=d5.Sn;
d5.word=d5.vX;d5.getType=d5.Na;d5.drillTo=d5.Pq;d5.drillUp=d5.zx;d5.toCsv=d5.qk;d5.noData=d5.Pm;$.Jp.wordtree=Zma;$.F("anychart.wordtree",Zma);}).call(this,$)}
if(!_.theme_wordtree){_.theme_wordtree=1;(function($){$.ra($.fa.anychart.themes.defaultTheme,{wordtree:{maxFontSize:36,minFontSize:7,fontFamily:"Verdana, Helvetica, Arial, sans-serif",fontColor:"#7c868e",fontDecoration:"none",fontOpacity:1,fontStyle:"normal",fontWeight:400,postfix:"more",connectors:{stroke:"2 #888888",curveFactor:.5,length:30,offset:5},tooltip:{titleFormat:"{%Value}",format:"Weight: {%weight}"}}});}).call(this,$)}
if(!_.annotations){_.annotations=1;(function($){var FZ=function(a,b,c,d,e){var f=e.left+e.width,h=e.top+e.height,k=(d-b)/(c-a),l,m,p=!1;if((0,window.isNaN)(k))if(a<e.left||a>f||b<e.top||b>h)p=!0;else{var q=l=a;var r=m=b}else if(k)if((0,window.isFinite)(k)){var t=b-a*k,u=k*e.left+t,v=k*f+t;u<e.top&&v<e.top||u>h&&v>h?p=!0:(l=(e.top-t)/k,k=(h-t)/k,u<e.top?(q=l,r=e.top):u>h?(q=k,r=h):(q=e.left,r=u),v<e.top?m=e.top:v>h?(l=k,m=h):(l=f,m=v))}else a<e.left||a>f?p=!0:(q=l=a,r=e.top,m=h);else b<e.top||b>h?p=!0:(q=e.left,l=f,r=m=b);if(p)return null;if(a>
c||a==c&&b>d)a=q,q=l,l=a,a=r,r=m,m=a;return[q,r,l,m]},GZ=function(a,b,c,d,e){if(e=FZ(a,b,c,d,e)){if(c-=a){d=e[0]-a;var f=e[2]-a}else if(c=d-b)d=e[1]-b,f=e[3]-b;else return e;0>f*c?e=null:0>c*d&&(e[0]=a,e[1]=b)}return e},HZ=function(a,b,c,d,e){if(e=FZ(a,b,c,d,e)){var f;if(f=c-a){var h=e[0]-a;var k=e[2]-a;var l=e[0]-c;var m=e[2]-c}else if(f=d-b)h=e[1]-b,k=e[3]-b,l=e[1]-d,m=e[3]-d;else return e;0>k*f||0<l*f?e=null:(0>h*f&&(e[0]=a,e[1]=b),0<m*f&&(e[2]=c,e[3]=d))}return e},IZ=function(a){function b(){return new $.Px(!0,
!0,!0)}$.Y.call(this);this.Fa("chart.defaultAnnotationSettings.base");this.nb=a;this.va=this.O=null;this.state=$.Zl;this.ya=0;this.ba=this.ye&1?"xAnchor":null;this.ga=this.ye&2?"valueAnchor":null;this.Ra=7<=this.ye;this.He=!1;this.coords={};this.coords.xAnchor=window.NaN;this.coords.valueAnchor=window.NaN;this.coords.secondXAnchor=window.NaN;this.coords.secondValueAnchor=window.NaN;this.coords.thirdXAnchor=window.NaN;this.coords.thirdValueAnchor=window.NaN;this.ka=null;this.ea=new $.J(0,0,0,0);this.hc=
!0;$.T(this.ua,Oha);a={};$.T(a,this.$f());this.ca=new $.Yx(this,a,$.Zl);this.ca.pa("markersFactoryConstructor",function(){return new $.Px(!0,!0)});this.ca.pa("markersAfterInitCallback",$.ey);a={};$.T(a,this.$f());this.xa=new $.Yx(this,a,$.po);this.xa.pa("labelsFactoryConstructor",$.$x);this.xa.pa("markersFactoryConstructor",b);a={};$.T(a,this.$f());this.Ca=new $.Yx(this,a,$.qo);this.Ca.pa("labelsFactoryConstructor",$.$x);this.Ca.pa("markersFactoryConstructor",b)},Pha=function(a){a.ob();a.ba&&(a.Ma[a.ba]=
a.Va().Fc((a.D-a.ea.left)/a.ea.width));a.ga&&(a.Ma[a.ga]=a.bb().Fc((a.ea.Ua()-a.G)/a.ea.height));a.D=a.G=window.NaN;a.Ja=!1;a.B(64)},JZ=function(a,b,c,d,e){b&&(a.coords[b]=a.ka[b]+d,a.Ma[b]=a.Va().Fc((a.coords[b]-a.ea.left)/a.ea.width));c&&(a.coords[c]=a.ka[c]+e,a.Ma[c]=a.bb().Fc((a.ea.Ua()-a.coords[c])/a.ea.height))},KZ=function(a){a.ob();return!a.ba&&!a.ga},LZ=function(a,b){return a.ea.left+b*a.ea.width},MZ=function(a,b){return a.ea.Ua()-b*a.ea.height},NZ=function(a,b){if(!a)return Qha;var c=b+
"|"+a+"|true",d=Rha[c];if(!d){switch(b){case 2:d=$.Rl;break;case 3:d=$.Sl;break;default:case 1:d=$.Tl}Rha[c]=d=$.qa(Sha,a,d,3==b,!0)}return d},Sha=function(a,b,c,d,e,f,h){f=$.Xl(f);if(d&&f!=$.Zl){var k=e.zc(a,f,b);c&&!0===k&&(k=b(e.ph()));if($.n(k)){if(!$.E(k))return k;if(c)return c=e.Fi(),b(k.call(c,c))}}a=e.zc(a,0,b);c&&!0===a&&(a=b(e.ph()));$.E(a)&&(c=c?e.Fi():e.Ae(void 0,h),a=b(a.call(c,c)));k&&(c=e.Ae(a,h),a=b(k.call(c,c)));return a},Qha=function(){return"none"},OZ=function(a){$.Yq.call(this);
this.Ba=a;this.g=this.b=null;this.j=!1;this.f=[];this.Eu(!1)},PZ=function(a,b){if(a.j!=b){a.j=b;$.V(a.Ba);for(var c=0;c<a.f.length;c++){var d=a.f[c],e=b;d.ba!=e&&(d.ba=e,!e&&d.g&&(d.g.ac("mouseout",d.ET,!1,d),d.g.ac("mousedown",d.CT,!1,d),$.Sd($.fl,"mouseup",d.FT,!1,d),$.Sd($.fl,"mousemove",d.DT,!1,d)),d.B(128,1))}a.Ba.da(!0)}},RZ=function(a,b){if($.z(b)){var c=b;var d=void 0}else $.D(b)&&(c=b.type,d=b);c=$.xk(Tha,c,"line");c=new QZ[c](a);c.Fa("chart.defaultAnnotationSettings."+$.om(c.Na()));c.RA();
c.K(d);return c},WZ=function(a){IZ.call(this,a);this.wa=null;this.b=NZ("stroke",2);$.T(this.ua,SZ);$.T(this.ua,TZ);$.T(this.ua,UZ);$.T(this.ua,VZ)},XZ=function(a){IZ.call(this,a);this.wa=null;this.j=NZ("stroke",2);this.b=NZ("fill",1);this.f=NZ("hatchFill",3);$.T(this.ua,SZ);$.T(this.ua,TZ);$.T(this.ua,UZ);$.T(this.ua,VZ)},YZ=function(a){IZ.call(this,a);this.f=this.b=null;this.N=[];this.ab=NZ("stroke",2);this.xc=NZ("trend",2);this.eb=!1;$.T(this.ua,SZ);$.T(this.ua,TZ);$.T(this.ua,UZ);this.ca.pa("labelsAfterInitCallback",
$.dy)},ZZ=function(a,b){var c=a.EB().Rf();c=1-(b-c.top)/c.height;return a.bb().Fc(c)},Uha=function(a,b){var c=a.EB().Rf();c=(b-c.left)/c.width;return a.Va().Fc(c)},$Z=function(a){YZ.call(this,a)},a_=function(a){YZ.call(this,a);this.Ga=[];this.j=null;this.Ob=NZ("grid",2)},b_=function(a){YZ.call(this,a)},c_=function(a){YZ.call(this,a)},d_=function(a){IZ.call(this,a);this.b=!1;this.wa=null;this.N=NZ("stroke",2);this.f=NZ("fill",1);this.j=NZ("hatchFill",3);$.iq(this.ua,"channelWidth",320,1);$.T(this.ua,
SZ);$.T(this.ua,TZ);$.T(this.ua,UZ)},e_=function(a){var b=a.bb().Fc(.5),c=a.i("channelWidth");return(.5-a.bb().transform(b+c))*a.ea.height},Vha=function(a,b){var c=a.bb().Fc(.5),d=.5+b/a.ea.height;d=a.bb().Fc(d);return c-d},Wha=function(a){for(var b=0;b<a.wa.length;b++)a.wa[b].clear()},f_=function(a){IZ.call(this,a);this.wa=null;this.b=NZ("stroke",2);$.T(this.ua,TZ)},g_=function(a){IZ.call(this,a);this.wa=null;this.j=NZ("stroke",2);this.b=NZ("fill",1);this.f=NZ("hatchFill",3);$.T(this.ua,SZ);$.T(this.ua,
TZ);$.T(this.ua,UZ)},h_=function(a){IZ.call(this,a);this.wa=null;this.b=NZ("stroke",2);$.T(this.ua,SZ);$.T(this.ua,TZ);$.T(this.ua,UZ)},i_=function(a){IZ.call(this,a);this.Fa("defaultFontSettings");$.T(this.ua,SZ);$.T(this.ua,TZ);$.T(this.ua,Xha);$.vq(this.ua,256,16,1,1);delete this.ua.fontFamily;delete this.ua.fontStyle;delete this.ua.fontVariant;delete this.ua.fontWeight;delete this.ua.fontSize;delete this.ua.fontColor;delete this.ua.fontOpacity},j_=function(a){return"left-top"==a||"left-center"==
a||"left-bottom"==a},Yha=function(a){return"right-top"==a||"right-center"==a||"right-bottom"==a},Zha=function(a){return"left-top"==a||"center-top"==a||"right-top"==a},$ha=function(a){return"left-bottom"==a||"center-bottom"==a||"right-bottom"==a},k_=function(a){IZ.call(this,a);this.wa=null;this.b=NZ("stroke",2);$.T(this.ua,SZ);$.T(this.ua,TZ);$.T(this.ua,UZ)},l_=function(a){IZ.call(this,a);this.hc=!1;this.wa=null;this.j=NZ("stroke",2);this.b=NZ("fill",1);this.f=NZ("hatchFill",3);$.T(this.ua,SZ);$.T(this.ua,
TZ);$.T(this.ua,aia)},m_=function(a){IZ.call(this,a);this.wa=null;this.b=NZ("stroke",2);$.T(this.ua,SZ);$.T(this.ua,TZ);$.T(this.ua,UZ)},n_=function(a){IZ.call(this,a);this.wa=null;this.j=NZ("stroke",2);this.b=NZ("fill",1);this.f=NZ("hatchFill",3);$.T(this.ua,SZ);$.T(this.ua,TZ);$.T(this.ua,UZ)},o_=function(a){IZ.call(this,a);this.wa=null;this.j=NZ("stroke",2);this.b=NZ("fill",1);this.f=NZ("hatchFill",3);$.T(this.ua,SZ);$.T(this.ua,TZ);$.T(this.ua,UZ);$.T(this.ua,VZ)},p_=function(a){IZ.call(this,
a);this.wa=null;this.j=NZ("stroke",2);this.b=NZ("fill",1);this.f=NZ("hatchFill",3);$.T(this.ua,SZ);$.T(this.ua,TZ);$.T(this.ua,UZ);$.T(this.ua,VZ)},q_=function(a){IZ.call(this,a);this.wa=null;this.b=NZ("stroke",2);$.T(this.ua,SZ)},r_=function(a){IZ.call(this,a);this.wa=null;this.j=NZ("stroke",2);this.b=NZ("fill",1);this.f=NZ("hatchFill",3);$.T(this.ua,SZ);$.T(this.ua,TZ);$.T(this.ua,UZ)},s_=function(a,b){$.Y.call(this);this.b=a;a.f&&a.f.push(this);this.Ga=b;this.wf=[];this.g=this.f=null;this.ba=!1;
this.G=this.D=window.NaN;this.j=this.$e=null},t_=function(a,b){var c=$.Wj(a.P().Ha());a.D=b.clientX-c.x;a.G=b.clientY-c.y},u_=function(a,b,c){var d=!c||b!=a.j;c?(a.wf.push(b),a.j=null,a.f&&b.P(a.f)):a.j=b;var e=b.O!=a;b.Ja=!c;b.O=a;e&&b.B(64);b.ib(a);$.L(b,a.CY,a);d&&a.B(64,1)},v_=function(a,b){if($.n(b)){$.td(a.wf);a.wf.length=0;if($.A(b))for(var c=0;c<b.length;c++)u_(a,RZ(a.b,b[c]),!0);return a}return(0,$.Wa)(a.wf,function(a){return a.F()})},w_=function(a){this.g=a;this.b=null;this.j=window.NaN;
$.ag.call(this,a.f.fa());this.ra("start",this.dea,!1,this);this.ra("end",this.bea,!1,this)},Tha={yma:"ray",Xs:"line",tla:"infinite-line",vna:"vertical-line",rla:"horizontal-line",y7:"rectangle",s6:"ellipse",lna:"triangle",kna:"trend-channel",ela:"finite-trend-channel",uja:"andrews-pitchfork",bla:"fibonacci-fan",ala:"fibonacci-arc",cla:"fibonacci-retracement",dla:"fibonacci-timezones",yu:"marker",wla:"label",sla:"horizontal-range",wna:"vertical-range"},QZ={},x_={};$.gq(x_,0,"color",$.Gq);
$.gq(x_,0,"allowEdit",$.uq);$.gq(x_,0,"hoverGap",function(a){return $.O(a,window.NaN,!0)});var Oha=[["color",16,1],["allowEdit",1024,1],["hoverGap",256,1]],y_={};$.gq(y_,0,"xAnchor",$.tq);var SZ=[["xAnchor",192,1]],z_={};$.gq(z_,0,"valueAnchor",$.tq);var TZ=[["valueAnchor",192,1]],A_={};$.gq(A_,0,"secondXAnchor",$.tq);$.gq(A_,0,"secondValueAnchor",$.tq);var UZ=[["secondXAnchor",192,1],["secondValueAnchor",192,1]],B_={};$.gq(B_,0,"thirdXAnchor",$.tq);$.gq(B_,0,"thirdValueAnchor",$.tq);
var VZ=[["thirdXAnchor",192,1],["thirdValueAnchor",192,1]],C_={};$.gq(C_,0,"markerType",$.Ik);$.gq(C_,0,"anchor",$.Bk);$.gq(C_,0,"offsetX",$.qq);$.gq(C_,0,"offsetY",$.qq);var aia=[["markerType",256,1],["anchor",256,1],["offsetX",256,1],["offsetY",256,1]],D_=$.kq();delete D_.fontFamily;delete D_.fontStyle;delete D_.fontVariant;delete D_.fontWeight;delete D_.fontSize;delete D_.fontColor;delete D_.fontOpacity;
$.hq(D_,[[0,"text",$.oq],[0,"anchor",$.Bk],[0,"offsetX",$.qq],[0,"offsetY",$.qq],[0,"width",$.mq],[0,"height",$.mq]]);
var Xha=[["text",256,1],["anchor",256,1],["offsetX",256,1],["offsetY",256,1],["width",256,1],["height",256,1]],E_=[["stroke",272,1]],bia=[["grid",16,1]],cia=[["size",256,1]],dia=[["fontFamily",256,1],["fontStyle",256,1],["fontVariant",256,1],["fontWeight",256,1],["fontSize",256,1],["fontColor",16,1],["fontOpacity",16,1],["fontDecoration",256,1]],F_=$.Ga([["fill",16,1],["hatchFill",16,1]],E_),eia=$.Ga(E_,[["trend",16,1]]),fia=[["labels",0,0]];$.H(IZ,$.iu);$.xq(IZ,["markers"],"normal");$.U(IZ,x_);$.g=IZ.prototype;$.g.$f=function(){return[["markers",0,0]]};$.g.Sa=function(a){return $.n(a)?(this.ca.K(a),this):this.ca};$.g.mb=function(a){return $.n(a)?(this.xa.K(a),this):this.xa};$.g.selected=function(a){return $.n(a)?(this.Ca.K(a),this):this.Ca};$.g.zc=function(a,b){return(0==b?this.ca:1==b?this.xa:this.Ca).i(a)};$.g.sa=$.iu.prototype.sa|2E3;$.g.qa=$.iu.prototype.qa;$.g.ye=0;var Rha={};$.g=IZ.prototype;$.g.wc=null;$.g.cb=null;$.g.Na=function(){return this.type};
$.g.mc=function(){return this.nb.mc()};$.g.EB=function(){return this.O&&this.O.Ga};$.g.bb=function(a){if($.n(a)){var b=$.Xs(this.wc,a,null,15,null,this.UN,this);if(b||null===a)a=this.wc==b,b||$.Zq(this.wc,this.UN,this),(this.wc=b)&&b.da(a),a||this.B(64,1);return this}return(this.wc?this.wc:this.EB()&&this.EB().bb())||null};
$.g.Va=function(a){if($.n(a)){var b=a&&$.E(a.Na)&&a.Na(),c=(b="stock-scatter-date-time"==b||"stock-ordinal-date-time"==b)?a:$.Xs(this.cb,a,null,15,null,this.UN,this);if(c||null===a)a=this.cb==c,c||$.Zq(this.cb,this.UN,this),(this.cb=c)&&!b&&c.da(a),a||this.B(64,1);return this}return this.cb||this.mc().Va()};$.g.kB=function(a,b){this.D=a;this.G=b;this.B(128)};$.g.tI=function(){this.ka=this.coords;this.coords=$.Qc(this.coords)};
$.g.TH=function(a,b,c){switch(a){case -1:this.ye&3&&(JZ(this,this.ye&1?"xAnchor":null,this.ye&2?"valueAnchor":null,b,c),this.ye&7&&(JZ(this,"secondXAnchor","secondValueAnchor",b,c),this.ye&15&&JZ(this,"thirdXAnchor","thirdValueAnchor",b,c)));break;case 0:JZ(this,this.ye&1?"xAnchor":null,this.ye&2?"valueAnchor":null,b,c);break;case 1:JZ(this,"secondXAnchor","secondValueAnchor",b,c);break;case 2:JZ(this,"thirdXAnchor","thirdValueAnchor",b,c)}this.B(768);this.$();return this};
$.g.$s=function(a){this.state=a;this.B(528)};
$.g.ob=function(){if(this.J(64)){var a=this.Va();var b=this.bb();if(!a||!b)return!1;var c,d,e,f,h;var k=c=d=e=f=h=window.NaN;var l=0,m=0;this.ye&1&&(k=LZ(this,a.transform(this.dd("xAnchor"),.5)),(0,window.isNaN)(k)?m|=1:l|=1);this.ye&2&&(c=MZ(this,b.transform(this.dd("valueAnchor"),.5)),(0,window.isNaN)(c)?m|=2:l|=2);this.ye&4&&(d=LZ(this,a.transform(this.dd("secondXAnchor"),.5)),e=MZ(this,b.transform(this.dd("secondValueAnchor"),.5)),(0,window.isNaN)(d)||(0,window.isNaN)(e)?m|=4:l|=4);this.ye&8&&
(f=LZ(this,a.transform(this.dd("thirdXAnchor"),.5)),h=MZ(this,b.transform(this.dd("thirdValueAnchor"),.5)),(0,window.isNaN)(f)||(0,window.isNaN)(h)?m|=8:l|=8);a=!1;var p=b=null;m&3?(b=this.ye&1?"xAnchor":null,p=this.ye&2?"valueAnchor":null,a=3<this.ye,this.U=this.ye&3):m&4?(b="secondXAnchor",p="secondValueAnchor",a=7<this.ye,this.U=4):m&8?(b="thirdXAnchor",p="thirdValueAnchor",this.U=8):this.U=0;this.coords.xAnchor=k;this.coords.valueAnchor=c;this.coords.secondXAnchor=d;this.coords.secondValueAnchor=
e;this.coords.thirdXAnchor=f;this.coords.thirdValueAnchor=h;this.ya=l;this.ba=b;this.ga=p;this.Ra=a;this.He=this.wk();(0,window.isNaN)(this.D)||(0,window.isNaN)(this.G)||this.B(128);this.B(768);this.I(64)}this.J(128)&&((0,window.isNaN)(this.D)||(0,window.isNaN)(this.G)?this.g=this.ya:(this.ba&&(this.coords[this.ba]=this.D),this.ga&&(this.coords[this.ga]=this.G),this.g=this.ya|this.U),this.B(768),this.I(128));return this.He||!(0,window.isNaN)(this.D)&&!(0,window.isNaN)(this.G)};
$.g.wk=function(){var a=this.ea;if(2==this.ye){var b=this.coords.valueAnchor;return b>=a.top&&b<=a.Ua()}b=[];b.push(this.coords.xAnchor);b.push(this.coords.secondXAnchor);b.push(this.coords.thirdXAnchor);for(var c=!0,d=!0,e=0;e<b.length;e++)(0,window.isNaN)(b[e])||(c=c&&b[e]<a.left,d=d&&b[e]>a.$a());return!c&&!d};
$.g.$=function(){if(!this.Bc())return this;$.V(this);this.J(4)&&(this.ea=this.lb(),this.B(64),this.I(4));this.yg();var a=this.ob();this.LN();this.J(16)&&(this.hg(this.state),this.I(16));if(this.J(256)){if(a)15==this.ye&&15==this.g?this.eL(this.coords.xAnchor,this.coords.valueAnchor,this.coords.secondXAnchor,this.coords.secondValueAnchor,this.coords.thirdXAnchor,this.coords.thirdValueAnchor):7<=this.ye&&7<=this.g?this.Jo(this.coords.xAnchor,this.coords.valueAnchor,this.coords.secondXAnchor,this.coords.secondValueAnchor):
(3<=this.ye&&3<=this.g||this.g==this.ye)&&this.dm(this.coords.xAnchor,this.coords.valueAnchor);else return this.remove(),this.B(2),this.da(!1),this;this.I(256)}this.J(1024)&&(this.va.td(!this.i("allowEdit")),this.I(1024));if(this.J(512)){if(this.hc){a=this.Sa().Eb();var b=this.mb().Eb().enabled()||this.selected().Eb().enabled();$.V(a);!1!==a.enabled()||b?(a.P(this.va),a.clear(),a.ja(this.ea),a.Mh=5,this.aL(this.state)):(a.clear(),a.P(null));a.$();a.da(!1)}this.I(512)}this.J(8)&&(this.va.zIndex(this.zIndex()),
this.I(8));this.J(2)&&(this.va.parent(this.P()),this.I(2));this.da(!1);return this};$.g.LN=function(){};$.g.Bc=function(){var a=IZ.u.Bc.call(this);!a||this.O&&this.Va()&&this.bb()||(this.remove(),this.B(2),a=!1);return a};$.g.remove=function(){this.va&&this.va.remove();var a=this.Sa().Eb();a.remove();a.B(2)};$.g.yg=function(){this.va||(this.va=$.lk(),this.va.cursor("move"),this.va.tag=this)};$.g.dm=function(){};$.g.Jo=function(a,b){this.dm(a,b)};$.g.eL=function(a,b,c,d){this.Jo(a,b,c,d)};$.g.hg=function(){};
$.g.Ae=function(a){return{sourceColor:a||this.i("color")||"blue"}};$.g.Fi=function(){return{sourceHatchFill:this.ph()}};$.g.ph=function(){return $.$b("diagonal-brick")};$.g.UN=function(a){$.X(a,2)&&this.B(64,1)};$.g.bp=function(a){$.X(a,1)&&this.B(512,1)};$.g.xI=$.ia;
$.g.aL=function(a){var b=this.Sa().Eb();a=$.Xl(a);switch(a){case $.po:a=this.mb().Eb();break;case $.qo:a=this.selected().Eb();break;default:a=null}if(a&&null!==a.enabled()?a.enabled():b.enabled())for(var c=this.hC(),d=0;d<c.length;d++){var e=c[d],f=b.Vq(d);f?f.uc(e):f=b.add(e,d);f.oi();$.Sx(f,a||b);f.kd();f.$();this.xI(f,d)}else b.clear()};
$.g.hC=function(){var a=[];if(1==this.ye){var b=this.coords.xAnchor;(0,window.isNaN)(b)||a.push({x:b,y:this.ea.top+this.ea.height/2})}else 2==this.ye?(b=this.coords.valueAnchor,(0,window.isNaN)(b)||a.push({x:this.ea.left+this.ea.width/2,y:b})):this.ye&this.g&3&&(a.push({x:this.coords.xAnchor,y:this.coords.valueAnchor}),this.ye&this.g&4&&(a.push({x:this.coords.secondXAnchor,y:this.coords.secondValueAnchor}),this.ye&this.g&8&&a.push({x:this.coords.thirdXAnchor,y:this.coords.thirdValueAnchor})));return(0,$.Wa)(a,
function(a){return{value:a}})};$.g.select=function(){this.O.b.select(this)};$.g.ae=function(){this.O.b.ae()};$.g.th=function(a){return null!=this.Ma[a]};$.g.RA=function(){"label"==$.om(this.Na())&&this.ca.Fa("defaultFontSettings");$.W(this,"normal",this.ca);this.ca.ia(!0,{});$.W(this,"hovered",this.xa);this.xa.ia(!0,{});$.W(this,"selected",this.Ca);this.Ca.ia(!0,{})};
$.g.F=function(){var a=IZ.u.F.call(this);a.type=this.Na();$.Hq(this,x_,a,"Annotation");a.normal=this.ca.F();a.hovered=this.xa.F();a.selected=this.Ca.F();return a};$.g.X=function(a,b){IZ.u.X.call(this,a,b);$.zq(this,x_,a);this.ca.ia(!!b,a);this.ca.ia(!!b,a.normal);this.xa.ia(!!b,a.hovered);this.Ca.ia(!!b,a.selected)};$.g.R=function(){$.qd(this.va);this.va=null;delete this.nb;this.wc=this.cb=this.O=null;delete this.Ma;delete this.ma;IZ.u.R.call(this)};var G_=IZ.prototype;G_.getType=G_.Na;
G_.getChart=G_.mc;G_.getPlot=G_.EB;G_.yScale=G_.bb;G_.xScale=G_.Va;G_.select=G_.select;G_.normal=G_.Sa;G_.hovered=G_.mb;G_.selected=G_.selected;$.H(OZ,$.Yq);$.g=OZ.prototype;$.g.mc=function(){return this.Ba};$.g.Oj=function(a){this.b!=a&&this.g!=a&&(this.Pd(),a.$s($.po),this.Eu()&&a.$());this.g=a};$.g.Pd=function(){this.g&&(this.g!=this.b&&(this.g.$s($.Zl),this.Eu()&&this.g.$()),this.g=null)};$.g.select=function(a){if(this.b!=a){this.ae();if(this.b)return this;this.Ba.dispatchEvent({type:"annotationSelect",annotation:a})&&(this.b=a,a.$s($.qo),this.Eu()&&KZ(a)?a.$():PZ(this,!0))}return this};
$.g.ae=function(){this.b&&this.Ba.dispatchEvent({type:"annotationUnselect",annotation:this.b})&&(this.b.$s(this.g==this.b?$.po:$.Zl),this.Eu()&&this.b.$(),this.b=null,PZ(this,!1));return this};$.g.t9=function(){return this.b};$.g.Eu=function(a){return $.n(a)?(this.D=!!a,this):this.D};$.g.u9=function(){for(var a=0;a<this.f.length;a++)this.f[a].DY();return this};$.g.v9=function(a){var b=a.O;this.b==a&&(this.b=null,PZ(this,!1));b?b.XP(a):$.qd(a);return this};
$.g.rd=function(a){return this.Eu()?(this.WP(),a=RZ(this,a),this.select(a),this.b||($.qd(a),a=null),a):null};$.g.WP=function(){$.V(this.Ba);if(this.b&&!KZ(this.b)){var a=this.b.O;a?a.XP(this.b):$.qd(this.b);this.b=null}PZ(this,!1);this.Ba.da(!0)};$.g.R=function(){$.td(this.f);this.f=null;OZ.u.R.call(this)};var H_=OZ.prototype;H_.startDrawing=H_.rd;H_.cancelDrawing=H_.WP;H_.getSelectedAnnotation=H_.t9;H_.removeAnnotation=H_.v9;H_.removeAllAnnotations=H_.u9;H_.select=H_.select;H_.unselect=H_.ae;
$.F("anychart.annotations.ChartController",OZ);$.H(WZ,IZ);$.xq(WZ,["stroke"],"normal");$.U(WZ,y_);$.U(WZ,z_);$.U(WZ,A_);$.U(WZ,B_);QZ["andrews-pitchfork"]=WZ;$.g=WZ.prototype;$.g.type="andrews-pitchfork";$.g.ye=15;$.g.$f=function(){var a=WZ.u.$f.call(this);return $.Ga(a,E_)};$.g.yg=function(){WZ.u.yg.call(this);this.wa||(this.wa=[this.va.path(),this.va.path()],this.wa[0].zIndex(0),this.wa[1].zIndex(3))};$.g.dm=function(a,b){for(var c=0;c<this.wa.length;c++){var d=this.wa[c];d.clear();d.moveTo(a,b).lineTo(a,b)}};
$.g.Jo=function(a,b,c,d){for(var e=0;e<this.wa.length;e++){var f=this.wa[e];f.clear();f.moveTo(a,b).lineTo(a,b);f.moveTo(c,d).lineTo(c,d)}};
$.g.eL=function(a,b,c,d,e,f){var h=(c+e)/2-a,k=(d+f)/2-b;h||k||(h=10);a=GZ(a,b,a+h,b+k,this.ea);b=GZ(c,d,c+h,d+k,this.ea);h=GZ(e,f,e+h,f+k,this.ea);c=HZ(c,d,e,f,this.ea);for(d=0;d<this.wa.length;d++)e=this.wa[d],e.clear(),f=!1,b&&(e.moveTo(b[2],b[3]).lineTo(b[0],b[1]),f=!0),c?(f?e.lineTo(c[0],c[1]):e.moveTo(c[0],c[1]),e.lineTo(c[2],c[3]),f=!0):f=!1,h&&(f?e.lineTo(h[0],h[1]):e.moveTo(h[0],h[1]),e.lineTo(h[2],h[3])),a&&e.moveTo(a[0],a[1]).lineTo(a[2],a[3])};
$.g.hg=function(a){WZ.u.hg.call(this,a);this.wa[0].fill(null).stroke(this.b(this,a));this.wa[1].fill($.Ul).stroke($.Ul,2*this.hoverGap())};$.g.wk=function(){var a=WZ.u.wk.call(this);if(!a){a=this.coords.xAnchor;var b=(this.coords.secondXAnchor+this.coords.thirdXAnchor)/2-a;a=!(0,window.isNaN)(b)&&!(a<this.ea.left&&0>=b||a>this.ea.$a()&&0<=b)}return a};
$.g.F=function(){var a=WZ.u.F.call(this);$.Hq(this,y_,a,"Annotation");$.Hq(this,z_,a,"Annotation");$.Hq(this,A_,a,"Annotation");$.Hq(this,B_,a,"Annotation");return a};$.g.X=function(a,b){$.zq(this,y_,a);$.zq(this,z_,a);$.zq(this,A_,a);$.zq(this,B_,a);WZ.u.X.call(this,a,b)};$.g.R=function(){WZ.u.R.call(this);$.td(this.wa);delete this.b};$.H(XZ,IZ);$.xq(XZ,["fill","hatchFill","stroke"],"normal");$.U(XZ,y_);$.U(XZ,z_);$.U(XZ,A_);$.U(XZ,B_);QZ.ellipse=XZ;$.g=XZ.prototype;$.g.type="ellipse";$.g.ye=7;$.g.$f=function(){var a=XZ.u.$f.call(this);return $.Ga(a,F_)};$.g.yg=function(){XZ.u.yg.call(this);this.wa||(this.wa=[this.va.path(),this.va.path(),this.va.path()],this.wa[0].zIndex(0),this.wa[1].zIndex(1),this.wa[2].zIndex(3))};$.g.dm=function(a,b){for(var c=0;c<this.wa.length;c++){var d=this.wa[c];d.clear();d.moveTo(a,b).lineTo(a,b)}};
$.g.Jo=function(a,b,c,d){var e=(b+d)/2;c=(a-c)/2;b=(b-d)/2;for(d=0;d<this.wa.length;d++){var f=this.wa[d];f.clear();f.moveTo(a,e);f.arcTo(c,b,0,360)}};$.g.hg=function(a){XZ.u.hg.call(this,a);this.wa[0].stroke(this.j(this,a));this.wa[0].fill(this.b(this,a));this.wa[1].stroke(null).fill(this.f(this,a));this.wa[2].fill($.Ul).stroke($.Ul,2*this.hoverGap())};$.g.F=function(){var a=XZ.u.F.call(this);$.Hq(this,y_,a,"Annotation");$.Hq(this,z_,a,"Annotation");$.Hq(this,A_,a,"Annotation");return a};
$.g.X=function(a,b){XZ.u.X.call(this,a,b);$.zq(this,y_,a);$.zq(this,z_,a);$.zq(this,A_,a)};$.g.R=function(){XZ.u.R.call(this);$.td(this.wa);delete this.j;delete this.b;delete this.f};$.H(YZ,IZ);$.xq(YZ,["stroke","trend","labels"],"normal");$.U(YZ,y_);$.U(YZ,z_);$.U(YZ,A_);$.g=YZ.prototype;$.g.sa=IZ.prototype.sa|6144;$.g.ye=7;$.g.tJ=function(a){if($.n(a)){if($.A(a)){for(var b=this.N.length=0;b<a.length;b++){var c=$.N(a[b]);(0,window.isNaN)(c)||this.N.push(c)}this.B(6400,1)}return this}return $.Ja(this.N,0)};$.g.$f=function(){var a=YZ.u.$f.call(this);return $.Ga(a,fia,eia,fia)};$.g.$s=function(a){YZ.u.$s.call(this,a);this.B(2048)};
$.g.yg=function(){YZ.u.yg.call(this);this.b||(this.b=[this.va.path(),this.va.path()],this.b[0].zIndex(2),this.b[1].zIndex(3))};
$.g.LN=function(){if(this.J(4096)){this.f||(this.f=[]);var a;for(a=this.f.length;a<this.N.length;a++)this.f.push(this.va.path().zIndex(0));for(a=this.N.length;a<this.f.length;a++)$.qd(this.f[a]);this.f.length=this.N.length;this.B(2304);this.I(4096)}this.J(256)&&this.B(2048);if(this.J(2048)){this.eb=!1;a=this.Sa().labels();var b=this.mb().labels().enabled()||this.selected().labels().enabled();$.V(a);7!=this.g||!1===a.enabled()&&!b?(a.clear(),a.P(null)):(a.P(this.va),a.clear(),a.ja(this.ea),a.Mh=4,
this.eb=!0,this.B(256));a.$();(b=a.jm())&&b.td(!0);a.da(!1);this.I(2048)}};$.g.dm=function(a,b){for(var c=0;c<this.b.length;c++){var d=this.b[c];d.clear();d.moveTo(a,b).lineTo(a,b)}};
$.g.Jo=function(a,b,c,d){for(var e=0;e<this.b.length;e++){var f=this.b[e];f.clear();f.moveTo(a,b).lineTo(c,d)}for(e=0;e<this.f.length;e++)this.f[e].clear();a=this.Sa().labels();var h;this.state&$.qo?h=this.selected().labels():this.state&$.po?h=this.mb().labels():h=null;b=!this.eb||h&&null!==h.enabled()?h.enabled():a.enabled();$.V(a);this.$R(a,h,b);b||a.clear();a.$();a.da(!1)};
$.g.$R=function(a,b,c){for(var d=0;d<this.N.length;d++){var e=this.f[d],f=e.stroke();this.VF(d,this.N[d],e,this.b[1],a,b,c,$.Wo(f))}};$.g.VF=function(){};$.g.hg=function(a){YZ.u.hg.call(this,a);var b=this.xc(this,a);$.n(b)||(b=this.ab(this,a));this.b[0].fill(null).stroke(b);this.b[1].fill($.Ul).stroke($.Ul,2*this.hoverGap());for(b=0;b<this.f.length;b++)this.f[b].fill(null).stroke(this.ab(this,a,b))};$.g.Ae=function(a,b){var c=YZ.u.Ae.call(this,a,b);$.n(b)&&(c.level=this.N[b]);return c};
$.g.Zd=function(a){$.X(a,1)&&this.B(2048,1)};$.g.Ec=function(a,b,c){this.de||(this.de=new $.rw);$.av(this.de,{annotation:{value:this,type:""},level:{value:a,type:"number"},levelValue:{value:c?b:this.bb().UD(b,2),type:c?"date-time":"number"},rawLevelValue:{value:b,type:c?"date-time":"number"}});return this.de};
$.g.yf=function(a,b,c,d,e,f){if(d&&e){var h=b.Vd(a);h?(h.lf(d),h.uc(e)):h=b.add(d,e,a);h.oi();$.Ou(h,c);f&&h.Vk(f);h.$();if((a=b.hl(h))&&a.length){b=this.b[1];b.moveTo(a[0],a[1]);for(c=2;c<a.length;c+=2)b.lineTo(a[c],a[c+1]);b.close()}}else b.clear(a)};$.g.RA=function(a){YZ.u.RA.call(this,a);this.tJ(this.i("levels"))};$.g.F=function(){var a=YZ.u.F.call(this);a.levels=this.tJ();$.Hq(this,y_,a,"Annotation");$.Hq(this,z_,a,"Annotation");$.Hq(this,A_,a,"Annotation");return a};
$.g.X=function(a,b){YZ.u.X.call(this,a,b);this.tJ(a.levels);$.zq(this,y_,a);$.zq(this,z_,a);$.zq(this,A_,a)};$.g.R=function(){YZ.u.R.call(this);$.td(this.b);$.td(this.f);this.f=this.b=null;delete this.ab;delete this.xc};var gia=YZ.prototype;gia.levels=gia.tJ;$.H($Z,YZ);QZ["fibonacci-arc"]=$Z;$Z.prototype.type="fibonacci-arc";$Z.prototype.VF=function(a,b,c,d,e,f,h){var k=this.coords.valueAnchor,l=this.coords.secondXAnchor,m=this.coords.secondValueAnchor,p=m+b*(k-m),q=$.dn(l+b*(this.coords.xAnchor-l),p,l,m);p<m?(c.ze(l,m,q,q,180,180),d.ze(l,m,q,q,180,180)):(c.ze(l,m,q,q,0,180),d.ze(l,m,q,q,0,180));h&&(k<m?(d=m-q,c="center-bottom"):(d=m+q,c="center-top"),l={x:l,y:d},this.yf(a,e,f,this.Ec(b,ZZ(this,d),!1),{value:l},c))};
$Z.prototype.wk=function(){var a=$Z.u.wk.call(this);if(!a){var b=this.coords.xAnchor,c=this.coords.valueAnchor;a=this.coords.secondXAnchor;var d=this.coords.secondValueAnchor,e=Math.max.apply(Math,this.N);b=$.dn(a+e*(b-a),d+e*(c-d),a,d);a=!(0,window.isNaN)(b)&&!(a+b<this.ea.left||a-b>this.ea.$a())}return a};$.H(a_,YZ);$.xq(a_,["grid"],"normal");QZ["fibonacci-fan"]=a_;$.g=a_.prototype;$.g.type="fibonacci-fan";$.g.FO=function(a){if($.n(a)){if($.A(a)){for(var b=this.Ga.length=0;b<a.length;b++){var c=$.N(a[b]);(0,window.isNaN)(c)||this.Ga.push(c)}this.B(6400,1)}return this}return $.Ja(this.Ga,0)};$.g.$f=function(){var a=a_.u.$f.call(this);return $.Ga(a,bia)};
$.g.$R=function(a,b,c){var d,e;for(d=0;d<this.j.length;d++)this.j[d].clear();a_.u.$R.call(this,a,b,c);d=0;for(e=this.N.length;d<this.Ga.length;d++,e++){var f=this.f[e],h=f.stroke(),k=e,l=this.Ga[d],m=f,p=this.b[1];f=a;var q=b,r=c,t=$.Wo(h),u=this.coords.xAnchor;h=this.coords.valueAnchor;var v=this.coords.secondXAnchor,w=this.coords.secondValueAnchor,x=u+(v-u)*l,y=this.j[k],B=y.stroke();v=x;u==v&&(v=u=$.R(u,t));x=$.R(x,$.Wo(B));t=GZ(u,h,v,w,this.ea);u=HZ(x,h,x,w,this.ea);t&&(m.moveTo(t[0],t[1]).lineTo(t[2],
t[3]),p.moveTo(t[0],t[1]).lineTo(t[2],t[3]));u&&(y.moveTo(u[0],u[1]).lineTo(u[2],u[3]),p.moveTo(u[0],u[1]).lineTo(u[2],u[3]));r&&this.ea.left<=x&&x<=this.ea.$a()&&(m={value:{x:x,y:h}},this.yf(k,f,q,this.Ec(l,Uha(this,x),!0),m,h<w?"center-bottom":"center-top"))}};
$.g.VF=function(a,b,c,d,e,f,h,k){var l=this.coords.xAnchor,m=this.coords.valueAnchor,p=this.coords.secondXAnchor,q=this.coords.secondValueAnchor,r=m+(q-m)*b,t=this.j[a],u=t.stroke();q=r;m==q&&(q=m=$.R(m,k));r=$.R(r,$.Wo(u));k=GZ(l,m,p,q,this.ea);m=HZ(l,r,p,r,this.ea);k&&(c.moveTo(k[0],k[1]).lineTo(k[2],k[3]),d.moveTo(k[0],k[1]).lineTo(k[2],k[3]));m&&(t.moveTo(m[0],m[1]).lineTo(m[2],m[3]),d.moveTo(m[0],m[1]).lineTo(m[2],m[3]));h&&this.ea.left<=l&&l<=this.ea.$a()&&(c={value:{x:l,y:r}},this.yf(a,e,f,
this.Ec(b,ZZ(this,r),!1),c,l<p?"right-center":"left-center"))};$.g.wk=function(){var a=a_.u.wk.call(this);if(!a){a=this.coords.xAnchor;var b=this.coords.secondXAnchor-a;a=!(0,window.isNaN)(b)&&!(a<this.ea.left&&0>=b||a>this.ea.$a()&&0<=b)}return a};$.g.hg=function(a){a_.u.hg.call(this,a);for(var b=0;b<this.j.length;b++){var c=this.Ob(this,a,b);$.n(c)||(c=this.ab(this,a,b));this.j[b].fill(null).stroke(c)}};
$.g.Ae=function(a,b){var c={sourceColor:a||this.i("color")||"blue"};if($.n(b)){c.isTimeLevel=b>=this.N.length;var d=c.isTimeLevel?this.Ga[b-this.N.length]:this.N[b];c.levelRatio=d;c.isTimeLevel?c.timeLevel=d:c.level=d}return c};
$.g.Ec=function(a,b,c){this.de||(this.de=new $.rw);a={annotation:{value:this,type:""},level:{value:a,type:"number"},levelRatio:{value:a,type:"number"},levelValue:{value:c?b:this.bb().UD(b,2),type:c?"date-time":"number"},rawLevelValue:{value:b,type:c?"date-time":"number"}};a.isTimeLevel={value:c,type:""};$.av(this.de,a);return this.de};
$.g.LN=function(){if(this.J(4096)){this.f||(this.f=[]);this.j||(this.j=[]);var a,b=this.N.length+this.Ga.length;for(a=this.f.length;a<b;a++)this.f.push(this.va.path().zIndex(0));for(a=b;a<this.f.length;a++)$.qd(this.f[a]);this.f.length=b;for(a=this.j.length;a<b;a++)this.j.push(this.va.path().zIndex(0));for(a=b;a<this.j.length;a++)$.qd(this.j[a]);this.j.length=b;this.B(2304);this.I(4096)}a_.u.LN.call(this)};$.g.RA=function(a){a_.u.RA.call(this,a);this.FO(this.i("timeLevels"))};
$.g.F=function(){var a=a_.u.F.call(this);a.timeLevels=this.FO();return a};$.g.X=function(a,b){a_.u.X.call(this,a,b);this.FO(a.timeLevels)};$.g.R=function(){a_.u.R.call(this);$.td(this.j);this.j=null;delete this.Ob};var hia=a_.prototype;hia.timeLevels=hia.FO;$.H(b_,YZ);QZ["fibonacci-retracement"]=b_;b_.prototype.type="fibonacci-retracement";b_.prototype.VF=function(a,b,c,d,e,f,h,k){var l=this.coords.secondValueAnchor,m=Math.min(this.coords.xAnchor,this.coords.secondXAnchor);k=$.R(l+(this.coords.valueAnchor-l)*b,k);if(l=GZ(m,k,m+10,k,this.ea))c.moveTo(l[0],l[1]).lineTo(l[2],l[3]),d.moveTo(l[0],l[1]).lineTo(l[2],l[3]);h&&(c={value:{x:m,y:k}},this.yf(a,e,f,this.Ec(b,ZZ(this,k),!1),c))};
b_.prototype.wk=function(){var a=b_.u.wk.call(this);a||(a=Math.min(this.coords.xAnchor,this.coords.secondXAnchor),a=!(0,window.isNaN)(a)&&a<=this.ea.$a());return a};$.H(c_,YZ);QZ["fibonacci-timezones"]=c_;c_.prototype.type="fibonacci-timezones";c_.prototype.VF=function(a,b,c,d,e,f,h,k){var l=this.coords.secondXAnchor;k=$.R(l+Math.abs(this.coords.xAnchor-l)*b,k);if(this.ea.left<=k&&k<=this.ea.$a()){l=this.ea.top;var m=this.ea.Ua();c.moveTo(k,l).lineTo(k,m);d.moveTo(k,l).lineTo(k,m);h&&(c={value:{x:k,y:m}},this.yf(a,e,f,this.Ec(b,Uha(this,k),!0),c,"left-bottom"))}};
c_.prototype.wk=function(){var a=c_.u.wk.call(this);a||(a=Math.min(this.coords.xAnchor,this.coords.secondXAnchor),a=!(0,window.isNaN)(a)&&a<=this.ea.$a());return a};$.H(d_,IZ);QZ["finite-trend-channel"]=d_;$.xq(d_,["fill","hatchFill","stroke"],"normal");$.U(d_,y_);$.U(d_,z_);$.U(d_,A_);d_.prototype.ye=7;var I_={};$.gq(I_,0,"channelWidth",$.qq);$.U(d_,I_);$.g=d_.prototype;$.g.type="finite-trend-channel";$.g.dm=function(a,b){Wha(this);this.wa[0].moveTo(a,b).lineTo(a,b)};
$.g.Jo=function(a,b,c,d){KZ(this)&&this.b&&(this.pa("channelWidth",Vha(this,(d-b)/2)),this.b=!1);Wha(this);var e=this.wa[0],f=e_(this);e.moveTo(a,b).lineTo(c,d);e.moveTo(a,b+f).lineTo(c,d+f);for(e=1;e<this.wa.length;e++){var h=this.wa[e];h.moveTo(a,b);h.lineTo.apply(h,[c,d,c,d+f,a,b+f]);h.close()}};
$.g.hg=function(a){d_.u.hg.call(this,a);this.wa[0].fill(null).stroke(this.N(this,a));this.wa[1].stroke(null).fill(this.f(this,a));this.wa[2].stroke(null).fill(this.j(this,a));this.wa[3].fill($.Ul).stroke($.Ul,2*this.hoverGap())};$.g.tI=function(){d_.u.tI.call(this);this.Ga=e_(this)};$.g.TH=function(a,b,c){if(2>a)return d_.u.TH.call(this,a,b,c);this.pa("channelWidth",Vha(this,this.Ga+c));this.B(768);this.$();return this};
$.g.yg=function(){d_.u.yg.call(this);this.wa||(this.wa=[this.va.path(),this.va.path(),this.va.path(),this.va.path()],this.wa[0].zIndex(2),this.wa[1].zIndex(0),this.wa[2].zIndex(1),this.wa[3].zIndex(3))};$.g.hC=function(){var a=d_.u.hC.call(this);if(!(0,window.isNaN)(this.coords.secondXAnchor)){var b=e_(this);b={x:(this.coords.xAnchor+this.coords.secondXAnchor)/2,y:(this.coords.valueAnchor+this.coords.secondValueAnchor)/2+b};b={x:b.x,y:b.y};a.push({value:b})}return a};
$.g.$f=function(){var a=d_.u.$f.call(this);return $.Ga(a,F_)};$.g.X=function(a,b){d_.u.X.call(this,a,b);$.zq(this,I_,a);$.zq(this,y_,a);$.zq(this,z_,a);$.zq(this,A_,a)};$.g.F=function(){var a=d_.u.F.call(this);$.Hq(this,I_,a,"Annotation");$.Hq(this,y_,a,"Annotation");$.Hq(this,z_,a,"Annotation");$.Hq(this,A_,a,"Annotation");return a};$.g.R=function(){d_.u.R.call(this);$.td(this.wa);delete this.N;delete this.f;delete this.j};$.g.kB=function(a,b){this.b=!0;d_.u.kB.call(this,a,b)};$.H(f_,IZ);$.xq(f_,["stroke"],"normal");$.U(f_,z_);QZ["horizontal-line"]=f_;$.g=f_.prototype;$.g.type="horizontal-line";$.g.ye=2;$.g.$f=function(){var a=f_.u.$f.call(this);return $.Ga(a,E_)};$.g.yg=function(){f_.u.yg.call(this);this.wa||(this.wa=[this.va.path(),this.va.path()],this.wa[0].zIndex(0),this.wa[1].zIndex(3))};$.g.dm=function(a,b){b=$.R(b,$.Wo(this.wa[0].stroke()));for(var c=0;c<this.wa.length;c++){var d=this.wa[c];d.clear();d.moveTo(this.ea.left,b).lineTo(this.ea.$a(),b)}};
$.g.hg=function(a){f_.u.hg.call(this,a);this.wa[0].fill(null).stroke(this.b(this,a));this.wa[1].fill($.Ul).stroke($.Ul,2*this.hoverGap())};$.g.F=function(){var a=f_.u.F.call(this);$.Hq(this,z_,a,"Annotation");return a};$.g.X=function(a,b){f_.u.X.call(this,a,b);$.zq(this,z_,a)};$.g.R=function(){f_.u.R.call(this);$.td(this.wa);delete this.b};$.H(g_,IZ);$.xq(g_,["fill","hatchFill","stroke"],"normal");$.U(g_,y_);$.U(g_,z_);$.U(g_,A_);QZ["horizontal-range"]=g_;$.g=g_.prototype;$.g.type="horizontal-range";$.g.ye=7;$.g.$f=function(){var a=g_.u.$f.call(this);return $.Ga(a,F_)};
$.g.ob=function(){if(this.J(64)){var a=this.Va();var b=this.bb();if(!a||!b)return!1;var c=0,d=0;a=MZ(this,b.transform(this.dd("valueAnchor"),.5));(0,window.isNaN)(a)?d|=3:c|=3;b=MZ(this,b.transform(this.dd("secondValueAnchor"),.5));(0,window.isNaN)(b)?d|=4:c|=4;var e=!1,f=null;d&3?(f="valueAnchor",e=!0,this.U=3):d&4?(f="secondValueAnchor",e=!1,this.U=7):this.U=0;this.coords.valueAnchor=a;this.coords.secondValueAnchor=b;this.ya=c;this.ba=null;this.ga=f;this.Ra=e;this.He=this.wk();(0,window.isNaN)(this.D)||
(0,window.isNaN)(this.G)||this.B(128);this.B(768);this.I(64)}this.J(128)&&((0,window.isNaN)(this.D)||(0,window.isNaN)(this.G)?this.g=this.ya:(this.ba&&(this.coords[this.ba]=this.D),this.ga&&(this.coords[this.ga]=this.G),this.g=this.ya|this.U),this.I(128),this.B(768),this.I(128));return this.He||!(0,window.isNaN)(this.D)&&!(0,window.isNaN)(this.G)};
$.g.hC=function(){var a=[],b=this.ea.left+this.ea.width/2;this.ye&this.g&3&&(a.push({x:b,y:this.coords.valueAnchor}),this.ye&this.g&4&&a.push({x:b,y:this.coords.secondValueAnchor}));return(0,$.Wa)(a,function(a){return{value:a}})};$.g.wk=function(){var a=[];a.push(this.coords.valueAnchor);a.push(this.coords.secondValueAnchor);for(var b=this.ea,c=!0,d=!0,e=0;e<a.length;e++)(0,window.isNaN)(a[e])||(c=c&&a[e]<b.top,d=d&&a[e]>b.Ua());return!c&&!d};
$.g.yg=function(){g_.u.yg.call(this);this.wa||(this.wa=[this.va.path(),this.va.path(),this.va.path(),this.va.path()],this.wa[0].zIndex(2),this.wa[1].zIndex(0),this.wa[2].zIndex(1),this.wa[3].zIndex(3))};$.g.xI=function(a){a.Kd().cursor("ns-resize")};$.g.dm=function(a,b){b=$.R(b,$.Wo(this.wa[0].stroke()));this.wa[0].clear();this.wa[0].moveTo(this.ea.left,b).lineTo(this.ea.$a(),b)};
$.g.Jo=function(a,b,c,d){a=$.Wo(this.wa[0].stroke());b=$.R(b,a);d=$.R(d,a);a=this.ea.left;c=this.ea.$a();var e=this.wa[0];e.clear().moveTo(a,b).lineTo(c,b).moveTo(a,d).lineTo(c,d);for(var f=1;f<this.wa.length;f++)e=this.wa[f],e.clear().moveTo(a,b).lineTo(c,b).lineTo(c,d).lineTo(a,d).close()};$.g.hg=function(a){g_.u.hg.call(this,a);this.wa[0].stroke(this.j(this,a)).fill(null);this.wa[1].stroke(null).fill(this.b(this,a));this.wa[2].stroke(null).fill(this.f(this,a));this.wa[3].stroke($.Ul,2*this.hoverGap()).fill($.Ul)};
$.g.F=function(){var a=g_.u.F.call(this);$.Hq(this,y_,a,"Annotation");$.Hq(this,z_,a,"Annotation");$.Hq(this,A_,a,"Annotation");return a};$.g.X=function(a,b){g_.u.X.call(this,a,b);$.zq(this,y_,a);$.zq(this,z_,a);$.zq(this,A_,a)};$.g.R=function(){g_.u.R.call(this);$.td(this.wa);delete this.j;delete this.b;delete this.f};$.H(h_,IZ);$.xq(h_,["stroke"],"normal");$.U(h_,y_);$.U(h_,z_);$.U(h_,A_);QZ["infinite-line"]=h_;$.g=h_.prototype;$.g.type="infinite-line";$.g.ye=7;$.g.$f=function(){var a=h_.u.$f.call(this);return $.Ga(a,E_)};$.g.yg=function(){h_.u.yg.call(this);this.wa||(this.wa=[this.va.path(),this.va.path()],this.wa[0].zIndex(0),this.wa[1].zIndex(3))};$.g.dm=function(a,b){for(var c=0;c<this.wa.length;c++){var d=this.wa[c];d.clear();d.moveTo(a,b).lineTo(a,b)}};
$.g.Jo=function(a,b,c,d){var e=$.Wo(this.wa[0].stroke());a==c&&(a=c=$.R(a,e));b==d&&(b=d=$.R(b,e));a=FZ(a,b,c,d,this.ea);for(b=0;b<this.wa.length;b++)c=this.wa[b],c.clear(),a&&c.moveTo(a[0],a[1]).lineTo(a[2],a[3])};$.g.hg=function(a){h_.u.hg.call(this,a);this.wa[0].fill(null).stroke(this.b(this,a));this.wa[1].fill($.Ul).stroke($.Ul,2*this.hoverGap())};$.g.wk=function(){return!0};
$.g.F=function(){var a=h_.u.F.call(this);$.Hq(this,y_,a,"Annotation");$.Hq(this,z_,a,"Annotation");$.Hq(this,A_,a,"Annotation");return a};$.g.X=function(a,b){h_.u.X.call(this,a,b);$.zq(this,y_,a);$.zq(this,z_,a);$.zq(this,A_,a)};$.g.R=function(){h_.u.R.call(this);$.td(this.wa);delete this.b};$.H(i_,IZ);$.U(i_,y_);$.U(i_,z_);$.U(i_,D_);$.xq(i_,"fontFamily fontStyle fontVariant fontWeight fontSize fontColor fontOpacity fontDecoration textShadow".split(" "),"normal");QZ.label=i_;$.g=i_.prototype;$.g.type="label";$.g.ye=3;$.g.background=function(a){this.Ka||(this.Ka=new $.ku,$.L(this.Ka,this.gg,this),$.W(this,"background",this.Ka));return $.n(a)?(this.Ka.K(a),this):this.Ka};
$.g.padding=function(a,b,c,d){this.Pa||(this.Pa=new $.tu,$.L(this.Pa,this.Pl,this),$.W(this,"padding",this.Pa));return $.n(a)?(this.Pa.K.apply(this.Pa,arguments),this):this.Pa};$.g.Pl=function(a){$.X(a,2)&&this.B(256,1)};$.g.gg=function(a){$.X(a,1)&&this.B(256,1)};$.g.$f=function(){var a=i_.u.$f.call(this);return $.Ga(a,dia)};$.g.$s=function(a){i_.u.$s.call(this,a);this.B(256)};$.g.zc=function(a,b){var c=0==b?this.Sa():1==b?this.mb():this.selected(),d=this.Sa().i(a);return(b?c.i(a):d)||d};
$.g.hC=function(){var a=[];a.push({x:this.coords.xAnchor,y:this.coords.valueAnchor},{x:this.vl.left,y:this.vl.top},{x:this.vl.$a(),y:this.vl.top},{x:this.vl.$a(),y:this.vl.Ua()},{x:this.vl.left,y:this.vl.Ua()});return(0,$.Wa)(a,function(a){return{value:a}})};
$.g.wk=function(){this.J(256)&&(this.Lh(this.state),this.On(0,0));var a=this.ea,b=Math.abs(this.vl.width),c=this.coords.xAnchor,d=this.i("anchor");j_(d)?(d=c,b=c+b):"center-top"==d||"center"==d||"center-bottom"==d?(d=c-b/2,b=c+b/2):(d=c-b,b=c);return!(b<a.left||d>a.$a())};$.g.xI=function(a,b){if(1>b)i_.u.xI.call(this,a,b);else{var c=0>this.vl.width*this.vl.height,d=c?"nesw-resize":"nwse-resize";c=c?"nwse-resize":"nesw-resize";a.Kd().cursor(b%2?d:c)}};$.g.tI=function(){i_.u.tI.call(this);this.b=this.vl.clone()};
$.g.TH=function(a,b,c){if(1>a)return i_.u.TH.call(this,a,b,c);var d=this.i("anchor");switch(a){case 1:this.Ma.width=this.b.width-b;this.Ma.height=this.b.height-c;j_(d)&&(this.coords.xAnchor=this.ka.xAnchor+b);Zha(d)&&(this.coords.valueAnchor=this.ka.valueAnchor+c);break;case 2:this.Ma.width=this.b.width+b;this.Ma.height=this.b.height-c;Yha(d)&&(this.coords.xAnchor=this.ka.xAnchor+b);Zha(d)&&(this.coords.valueAnchor=this.ka.valueAnchor+c);break;case 3:this.Ma.width=this.b.width+b;this.Ma.height=this.b.height+
c;Yha(d)&&(this.coords.xAnchor=this.ka.xAnchor+b);$ha(d)&&(this.coords.valueAnchor=this.ka.valueAnchor+c);break;case 4:this.Ma.width=this.b.width-b,this.Ma.height=this.b.height+c,j_(d)&&(this.coords.xAnchor=this.ka.xAnchor+b),$ha(d)&&(this.coords.valueAnchor=this.ka.valueAnchor+c)}this.Ma.xAnchor=this.Va().Fc((this.coords.xAnchor-this.ea.left)/this.ea.width);this.Ma.valueAnchor=this.bb().Fc((this.ea.Ua()-this.coords.valueAnchor)/this.ea.height);this.B(768);this.$();return this};
$.g.Lh=function(a){var b=this.i("text"),c=this.i("useHtml");$.n(b)&&(c?this.Sc.htmlText(b):this.Sc.text(b));this.Sc.fontFamily(this.zc("fontFamily",a,null));this.Sc.fontStyle(this.zc("fontStyle",a,null));this.Sc.fontVariant(this.zc("fontVariant",a,null));this.Sc.fontWeight(this.zc("fontWeight",a,null));this.Sc.fontSize(this.zc("fontSize",a,null));this.Sc.Lq(this.zc("fontDecoration",a,null));this.Sc.textShadow(this.zc("textShadow",a,null));this.Sc.direction(this.i("textDirection"));this.Sc.wu(this.i("wordBreak"));
this.Sc.wordWrap(this.i("wordWrap"));this.Sc.letterSpacing(this.i("letterSpacing"));this.Sc.lineHeight(this.i("lineHeight"));this.Sc.textIndent(this.i("textIndent"));this.Sc.vAlign(this.i("vAlign"));this.Sc.km(this.i("hAlign"));this.Sc.textOverflow(this.i("textOverflow"));this.Sc.rm(this.i("selectable"));this.Sc.td(this.i("disablePointerEvents"))};
$.g.yg=function(){i_.u.yg.call(this);this.Sc||(this.Sc=this.va.text(),this.Sc.zIndex(2));this.Jt||(this.Jt=this.va.rect(),this.Jt.fill($.Ul).zIndex(3));this.background().P(this.va).zIndex(0)};
$.g.On=function(a,b){var c=this.ja();var d=this.i("width");var e=this.i("height");var f=0,h=0;if(c){var k=c.width;c=c.height;null!=d?(this.yi=d=$.M(d,k),f=Math.abs(d),k=!1):(d=0,k=!0);null!=e?(this.wi=e=$.M(e,c),h=Math.abs(e),c=!1):(e=0,c=!0)}else $.wo(d)?(k=!0,d=0):(k=!1,this.yi=d=$.N(d),f=Math.abs(d)),$.wo(e)?(c=!0,e=0):(c=!1,this.wi=e=$.N(e),h=Math.abs(e));var l=this.padding();this.Sc.width(null);this.Sc.height(null);k?(this.Ym=d+=this.Sc.pb().width,this.yi=l.rk(d)):this.Ym=l.wg(f);this.Sc.width(this.Ym);
c?(this.Wm=e+=this.Sc.pb().height,this.wi=l.Jj(e)):this.Wm=l.Jh(h);this.Sc.height(this.Wm);this.ug=$.M(l.i("left"),this.yi);this.vg=$.M(l.i("top"),this.wi);k=this.i("anchor");e={x:a,y:b};d=$.xo($.gn(0,0,this.yi,this.wi),k);e.x-=d.x;e.y-=d.y;$.Qo(e,k,this.i("offsetX")||0,this.i("offsetY")||0);this.ug+=e.x-(0>this.yi?f:0);this.vg+=e.y-(0>this.wi?h:0);this.vl=new $.J(e.x,e.y,this.yi,this.wi)};
$.g.dm=function(a,b){this.Lh(this.state);this.On(a,b);this.Sc.x(this.ug);this.Sc.y(this.vg);this.Sc.clip(this.vl);this.Jt.stroke($.Ul,2*this.hoverGap()).uf(this.vl);$.V(this.background()).ja(this.vl).$().da(!1);this.B(512)};$.g.hg=function(a){i_.u.hg.call(this,a);this.Sc.color(this.zc("fontColor",a,null));this.Sc.textShadow(this.zc("textShadow",a,null));this.Sc.opacity(this.zc("fontOpacity",a,null))};
$.g.F=function(){var a=i_.u.F.call(this);$.Hq(this,D_,a,"Annotation");$.Hq(this,y_,a,"Annotation");$.Hq(this,z_,a,"Annotation");a.background=this.background().F();a.padding=this.padding().F();return a};$.g.RA=function(a){i_.u.RA.call(this,a)};$.g.X=function(a,b){i_.u.X.call(this,a,b);this.background().ia(!!b,a.background);this.padding().ia(!!b,a.padding);b?$.yq(this.ma,D_,a):$.zq(this,D_,a);$.zq(this,y_,a);$.zq(this,z_,a)};$.g.R=function(){$.td(this.Sc,this.Jt,this.Ka,this.Pa);i_.u.R.call(this)};$.H(k_,IZ);$.xq(k_,["stroke"],"normal");$.U(k_,y_);$.U(k_,z_);$.U(k_,A_);QZ.line=k_;$.g=k_.prototype;$.g.type="line";$.g.ye=7;$.g.$f=function(){var a=k_.u.$f.call(this);return $.Ga(a,E_)};$.g.yg=function(){k_.u.yg.call(this);this.wa||(this.wa=[this.va.path(),this.va.path()],this.wa[0].zIndex(0),this.wa[1].zIndex(3))};$.g.dm=function(a,b){for(var c=0;c<this.wa.length;c++){var d=this.wa[c];d.clear();d.moveTo(a,b).lineTo(a,b)}};
$.g.Jo=function(a,b,c,d){var e=$.Wo(this.wa[0].stroke());a==c&&(a=c=$.R(a,e));b==d&&(b=d=$.R(b,e));a=HZ(a,b,c,d,this.ea);for(b=0;b<this.wa.length;b++)c=this.wa[b],c.clear(),a&&c.moveTo(a[0],a[1]).lineTo(a[2],a[3])};$.g.hg=function(a){k_.u.hg.call(this,a);this.wa[0].fill(null).stroke(this.b(this,a));this.wa[1].fill($.Ul).stroke($.Ul,2*this.hoverGap())};$.g.F=function(){var a=k_.u.F.call(this);$.Hq(this,y_,a,"Annotation");$.Hq(this,z_,a,"Annotation");$.Hq(this,A_,a,"Annotation");return a};
$.g.X=function(a,b){k_.u.X.call(this,a,b);$.zq(this,y_,a);$.zq(this,z_,a);$.zq(this,A_,a)};$.g.R=function(){k_.u.R.call(this);$.td(this.wa);delete this.b};$.H(l_,IZ);$.xq(l_,["stroke","fill","hatchFill","size"],"normal");$.U(l_,y_);$.U(l_,z_);$.U(l_,C_);QZ.marker=l_;$.g=l_.prototype;$.g.type="marker";$.g.ye=3;$.g.$f=function(){return $.Ga(F_,cia)};$.g.$s=function(a){l_.u.$s.call(this,a);this.B(256)};$.g.yg=function(){l_.u.yg.call(this);this.wa||(this.wa=[this.va.path(),this.va.path(),this.va.path()],this.wa[0].zIndex(0),this.wa[1].zIndex(1),this.wa[2].zIndex(3))};
$.g.dm=function(a,b){var c;this.state&$.qo?c=this.Ca.i("size"):this.state&$.po&&(c=this.xa.i("size"));c=(0,window.isNaN)(c)?this.ca.i("size"):c;var d=$.qp(this.i("markerType")),e=this.i("anchor"),f={x:a,y:b};$.Qo(f,e,this.i("offsetX"),this.i("offsetY"));var h=c/2;switch(e){case "left-top":case "center-top":case "right-top":f.y+=h;break;case "left-bottom":case "center-bottom":case "right-bottom":f.y-=h}switch(e){case "left-top":case "left-center":case "left-bottom":f.x+=h;break;case "right-top":case "right-center":case "right-bottom":f.x-=
h}e=$.Wo(this.wa[0].stroke());for(h=0;h<this.wa.length;h++){var k=this.wa[h];k.clear();d(k,f.x,f.y,c,e)}};$.g.hg=function(a){l_.u.hg.call(this,a);this.wa[0].stroke(this.j(this,a));this.wa[0].fill(this.b(this,a));this.wa[1].stroke(null).fill(this.f(this,a));this.wa[2].fill($.Ul).stroke($.Ul,2*this.hoverGap())};$.g.F=function(){var a=l_.u.F.call(this);$.Hq(this,C_,a,"Annotation");$.Hq(this,y_,a,"Annotation");$.Hq(this,z_,a,"Annotation");return a};
$.g.X=function(a,b){l_.u.X.call(this,a,b);$.zq(this,C_,a);$.zq(this,y_,a);$.zq(this,z_,a)};$.g.R=function(){l_.u.R.call(this);$.td(this.wa);delete this.j;delete this.b;delete this.f};$.H(m_,IZ);$.xq(m_,["stroke"],"normal");$.U(m_,y_);$.U(m_,z_);$.U(m_,A_);QZ.ray=m_;$.g=m_.prototype;$.g.type="ray";$.g.ye=7;$.g.$f=function(){var a=m_.u.$f.call(this);return $.Ga(a,E_)};$.g.yg=function(){m_.u.yg.call(this);this.wa||(this.wa=[this.va.path(),this.va.path()],this.wa[0].zIndex(0),this.wa[1].zIndex(3))};$.g.dm=function(a,b){for(var c=0;c<this.wa.length;c++){var d=this.wa[c];d.clear();d.moveTo(a,b).lineTo(a,b)}};
$.g.Jo=function(a,b,c,d){var e=$.Wo(this.wa[0].stroke());a==c&&(a=c=$.R(a,e));b==d&&(b=d=$.R(b,e));a=GZ(a,b,c,d,this.ea);for(b=0;b<this.wa.length;b++)c=this.wa[b],c.clear(),a&&c.moveTo(a[0],a[1]).lineTo(a[2],a[3])};$.g.hg=function(a){m_.u.hg.call(this,a);this.wa[0].fill(null).stroke(this.b(this,a));this.wa[1].fill($.Ul).stroke($.Ul,2*this.hoverGap())};
$.g.wk=function(){var a=m_.u.wk.call(this);if(!a){a=this.coords.xAnchor;var b=this.coords.secondXAnchor-a;a=!(0,window.isNaN)(b)&&!(a<this.ea.left&&0>=b||a>this.ea.$a()&&0<=b)}return a};$.g.F=function(){var a=m_.u.F.call(this);$.Hq(this,y_,a,"Annotation");$.Hq(this,z_,a,"Annotation");$.Hq(this,A_,a,"Annotation");return a};$.g.X=function(a,b){m_.u.X.call(this,a,b);$.zq(this,y_,a);$.zq(this,z_,a);$.zq(this,A_,a)};$.g.R=function(){m_.u.R.call(this);$.td(this.wa);delete this.b};$.H(n_,IZ);$.xq(n_,["fill","hatchFill","stroke"],"normal");$.U(n_,y_);$.U(n_,z_);$.U(n_,A_);QZ.rectangle=n_;$.g=n_.prototype;$.g.type="rectangle";$.g.ye=7;$.g.$f=function(){var a=n_.u.$f.call(this);return $.Ga(a,F_)};$.g.yg=function(){n_.u.yg.call(this);this.wa||(this.wa=[this.va.path(),this.va.path(),this.va.path()],this.wa[0].zIndex(0),this.wa[1].zIndex(1),this.wa[2].zIndex(3))};$.g.dm=function(a,b){for(var c=0;c<this.wa.length;c++){var d=this.wa[c];d.clear();d.moveTo(a,b).lineTo(a,b)}};
$.g.Jo=function(a,b,c,d){var e=$.Wo(this.wa[0].stroke());a=$.R(a,e);b=$.R(b,e);c=$.R(c,e);d=$.R(d,e);for(e=0;e<this.wa.length;e++){var f=this.wa[e];f.clear();f.moveTo(a,b).lineTo(c,b).lineTo(c,d).lineTo(a,d).close()}};$.g.hg=function(a){n_.u.hg.call(this,a);this.wa[0].stroke(this.j(this,a));this.wa[0].fill(this.b(this,a));this.wa[1].stroke(null).fill(this.f(this,a));this.wa[2].fill($.Ul).stroke($.Ul,2*this.hoverGap())};
$.g.F=function(){var a=n_.u.F.call(this);$.Hq(this,y_,a,"Annotation");$.Hq(this,z_,a,"Annotation");$.Hq(this,A_,a,"Annotation");return a};$.g.X=function(a,b){n_.u.X.call(this,a,b);$.zq(this,y_,a);$.zq(this,z_,a);$.zq(this,A_,a)};$.g.R=function(){n_.u.R.call(this);$.td(this.wa);delete this.j;delete this.b;delete this.f};$.H(o_,IZ);$.xq(o_,["fill","hatchFill","stroke"],"normal");$.U(o_,y_);$.U(o_,z_);$.U(o_,A_);$.U(o_,B_);QZ["trend-channel"]=o_;$.g=o_.prototype;$.g.type="trend-channel";$.g.ye=15;$.g.$f=function(){var a=o_.u.$f.call(this);return $.Ga(a,F_)};$.g.yg=function(){o_.u.yg.call(this);this.wa||(this.wa=[this.va.path(),this.va.path(),this.va.path(),this.va.path()],this.wa[0].zIndex(2),this.wa[1].zIndex(0),this.wa[2].zIndex(1),this.wa[3].zIndex(3))};
$.g.dm=function(a,b){for(var c=0;c<this.wa.length;c++)this.wa[c].clear();this.wa[0].moveTo(a,b).lineTo(a,b);this.wa[3].moveTo(a,b).lineTo(a,b)};$.g.Jo=function(a,b,c,d){a=GZ(a,b,c,d,this.ea);for(b=0;b<this.wa.length;b++)this.wa[b].clear();a&&(this.wa[0].moveTo(a[0],a[1]).lineTo(a[2],a[3]),this.wa[3].moveTo(a[0],a[1]).lineTo(a[2],a[3]))};
$.g.eL=function(a,b,c,d,e,f){var h=this.ea.left,k=this.ea.$a();var l=this.ea.top;var m=this.ea.Ua();if(c==a)d=d-b||1,a<h&&e<h||a>k&&e>k?c=f=d=l=null:(c=FZ(a,b,a,b+d,this.ea),f=FZ(e,f,e,f+d,this.ea),b=Math.max(Math.min(a,e),h),a=Math.min(Math.max(a,e),k),d=[b,l],l=[a,l,a,m,b,m,b,l]);else{d=(d-b)/(c-a);b-=d*a;var p=f-d*e;b>p&&(f=b,b=p,p=f);a=c>a?Math.min(a,e):Math.max(a,e);e=c;e>a&&a>k||e<a&&a<h?c=f=d=l=null:(e>a?(a=Math.max(a,h),e=k):(e=Math.min(a,k),a=h),c=d*a+b,f=d*a+p,h=d*e+b,k=d*e+p,f<l&&k<l||
c>m&&h>m?c=f=d=l=null:(c=HZ(a,c,e,h,this.ea),f=HZ(a,f,e,k,this.ea),0>d?(k=Math.max(a,(m-b)/d),b=Math.min(e,(l-p)/d),c?(d=[c[0],c[1]],l=[c[2],c[3],b,c[3]]):(d=[a,l],l=[b,l]),f?l.push(b,f[3],f[0],f[1],k,f[1]):l.push(b,m,k,m)):0<d?(k=Math.max(a,(l-p)/d),b=Math.min(e,(m-b)/d),c?(d=[c[2],c[3]],l=[c[0],c[1],k,c[1]]):(d=[e,l],l=[k,l]),f?l.push(k,f[1],f[2],f[3],b,f[3]):l.push(k,m,b,m)):(l=c?c[1]:l,m=f?f[1]:m,d=[a,l],l=[e,l,e,m,a,m])))}for(m=0;m<this.wa.length;m++)this.wa[m].clear();m=this.wa[0];c&&m.moveTo(c[0],
c[1]).lineTo(c[2],c[3]);f&&m.moveTo(f[0],f[1]).lineTo(f[2],f[3]);if(d&&l)for(m=1;m<this.wa.length;m++)c=this.wa[m],c.moveTo(d[0],d[1]),c.lineTo.apply(c,l),c.close()};$.g.hg=function(a){o_.u.hg.call(this,a);this.wa[0].fill(null).stroke(this.j(this,a));this.wa[1].stroke(null).fill(this.b(this,a));this.wa[2].stroke(null).fill(this.f(this,a));this.wa[3].fill($.Ul).stroke($.Ul,2*this.hoverGap())};
$.g.wk=function(){var a=o_.u.wk.call(this);if(!a&&15==this.ya){var b=this.coords.xAnchor,c=this.coords.secondXAnchor,d=this.coords.thirdXAnchor;b!=c&&(a=c>b?Math.min(b,d):Math.max(b,d),a=!(a<this.ea.left&&c>a||a>this.ea.$a()&&c<a))}return a};$.g.F=function(){var a=o_.u.F.call(this);$.Hq(this,y_,a,"Annotation");$.Hq(this,z_,a,"Annotation");$.Hq(this,A_,a,"Annotation");$.Hq(this,B_,a,"Annotation");return a};
$.g.X=function(a,b){o_.u.X.call(this,a,b);$.zq(this,y_,a);$.zq(this,z_,a);$.zq(this,A_,a);$.zq(this,B_,a)};$.g.R=function(){o_.u.R.call(this);$.td(this.wa);delete this.j;delete this.b;delete this.f};$.H(p_,IZ);$.xq(p_,["fill","hatchFill","stroke"],"normal");$.U(p_,y_);$.U(p_,z_);$.U(p_,A_);$.U(p_,B_);QZ.triangle=p_;$.g=p_.prototype;$.g.type="triangle";$.g.ye=15;$.g.$f=function(){var a=p_.u.$f.call(this);return $.Ga(a,F_)};$.g.yg=function(){p_.u.yg.call(this);this.wa||(this.wa=[this.va.path(),this.va.path(),this.va.path()],this.wa[0].zIndex(0),this.wa[1].zIndex(1),this.wa[2].zIndex(3))};$.g.dm=function(a,b){for(var c=0;c<this.wa.length;c++){var d=this.wa[c];d.clear();d.moveTo(a,b).lineTo(a,b)}};
$.g.Jo=function(a,b,c,d){for(var e=0;e<this.wa.length;e++){var f=this.wa[e];f.clear();f.moveTo(a,b).lineTo(c,d)}};$.g.eL=function(a,b,c,d,e,f){for(var h=0;h<this.wa.length;h++){var k=this.wa[h];k.clear();k.moveTo(a,b).lineTo(c,d).lineTo(e,f).close()}};$.g.hg=function(a){p_.u.hg.call(this,a);this.wa[0].stroke(this.j(this,a));this.wa[0].fill(this.b(this,a));this.wa[1].stroke(null).fill(this.f(this,a));this.wa[2].fill($.Ul).stroke($.Ul,2*this.hoverGap())};
$.g.F=function(){var a=p_.u.F.call(this);$.Hq(this,y_,a,"Annotation");$.Hq(this,z_,a,"Annotation");$.Hq(this,A_,a,"Annotation");$.Hq(this,B_,a,"Annotation");return a};$.g.X=function(a,b){p_.u.X.call(this,a,b);$.zq(this,y_,a);$.zq(this,z_,a);$.zq(this,A_,a);$.zq(this,B_,a)};$.g.R=function(){p_.u.R.call(this);$.td(this.wa);delete this.j;delete this.b;delete this.f};$.H(q_,IZ);$.xq(q_,["stroke"],"normal");$.U(q_,y_);QZ["vertical-line"]=q_;$.g=q_.prototype;$.g.type="vertical-line";$.g.ye=1;$.g.$f=function(){var a=q_.u.$f.call(this);return $.Ga(a,E_)};$.g.yg=function(){q_.u.yg.call(this);this.wa||(this.wa=[this.va.path(),this.va.path()],this.wa[0].zIndex(0),this.wa[1].zIndex(3))};$.g.dm=function(a){a=$.R(a,$.Wo(this.wa[0].stroke()));for(var b=0;b<this.wa.length;b++){var c=this.wa[b];c.clear();c.moveTo(a,this.ea.top).lineTo(a,this.ea.Ua())}};
$.g.hg=function(a){q_.u.hg.call(this,a);this.wa[0].fill(null).stroke(this.b(this,a));this.wa[1].fill($.Ul).stroke($.Ul,2*this.hoverGap())};$.g.F=function(){var a=q_.u.F.call(this);$.Hq(this,y_,a,"Annotation");return a};$.g.X=function(a,b){q_.u.X.call(this,a,b);$.zq(this,y_,a)};$.g.R=function(){q_.u.R.call(this);$.td(this.wa);delete this.b};$.H(r_,IZ);$.xq(r_,["fill","hatchFill","stroke"],"normal");$.U(r_,y_);$.U(r_,z_);$.U(r_,A_);QZ["vertical-range"]=r_;$.g=r_.prototype;$.g.type="vertical-range";$.g.ye=7;$.g.$f=function(){var a=r_.u.$f.call(this);return $.Ga(a,F_)};
$.g.ob=function(){if(this.J(64)){var a=this.Va();var b=this.bb();if(!a||!b)return!1;var c=0,d=0;b=LZ(this,a.transform(this.dd("xAnchor"),.5));(0,window.isNaN)(b)?d|=3:c|=3;a=LZ(this,a.transform(this.dd("secondXAnchor"),.5));(0,window.isNaN)(a)?d|=4:c|=4;var e=!1,f=null;d&3?(f="xAnchor",e=!0,this.U=3):d&4?(f="secondXAnchor",e=!1,this.U=7):this.U=0;this.coords.xAnchor=b;this.coords.secondXAnchor=a;this.ya=c;this.ba=f;this.ga=null;this.Ra=e;this.He=this.wk();(0,window.isNaN)(this.D)||(0,window.isNaN)(this.G)||
this.B(128);this.B(768);this.I(64)}this.J(128)&&((0,window.isNaN)(this.D)||(0,window.isNaN)(this.G)?this.g=this.ya:(this.ba&&(this.coords[this.ba]=this.D),this.ga&&(this.coords[this.ga]=this.G),this.g=this.ya|this.U),this.I(128),this.B(768),this.I(128));return this.He||!(0,window.isNaN)(this.D)&&!(0,window.isNaN)(this.G)};
$.g.hC=function(){var a=[],b=this.ea.top+this.ea.height/2;this.ye&this.g&3&&(a.push({x:this.coords.xAnchor,y:b}),this.ye&this.g&4&&a.push({x:this.coords.secondXAnchor,y:b}));return(0,$.Wa)(a,function(a){return{value:a}})};$.g.wk=function(){var a=[];a.push(this.coords.xAnchor);a.push(this.coords.secondXAnchor);for(var b=this.ea,c=!0,d=!0,e=0;e<a.length;e++)(0,window.isNaN)(a[e])||(c=c&&a[e]<b.left,d=d&&a[e]>b.$a());return!c&&!d};
$.g.yg=function(){r_.u.yg.call(this);this.wa||(this.wa=[this.va.path(),this.va.path(),this.va.path(),this.va.path()],this.wa[0].zIndex(2),this.wa[1].zIndex(0),this.wa[2].zIndex(1),this.wa[3].zIndex(3))};$.g.xI=function(a){a.Kd().cursor("ew-resize")};$.g.dm=function(a){a=$.R(a,$.Wo(this.wa[0].stroke()));this.wa[0].clear();this.wa[0].moveTo(a,this.ea.top).lineTo(a,this.ea.Ua())};
$.g.Jo=function(a,b,c){b=$.Wo(this.wa[0].stroke());a=$.R(a,b);c=$.R(c,b);b=this.ea.top;var d=this.ea.Ua(),e=this.wa[0];e.clear().moveTo(a,b).lineTo(a,d).moveTo(c,b).lineTo(c,d);for(var f=1;f<this.wa.length;f++)e=this.wa[f],e.clear().moveTo(a,b).lineTo(c,b).lineTo(c,d).lineTo(a,d).close()};$.g.hg=function(a){r_.u.hg.call(this,a);this.wa[0].stroke(this.j(this,a)).fill(null);this.wa[1].stroke(null).fill(this.b(this,a));this.wa[2].stroke(null).fill(this.f(this,a));this.wa[3].stroke($.Ul,2*this.hoverGap()).fill($.Ul)};
$.g.F=function(){var a=r_.u.F.call(this);$.Hq(this,y_,a,"Annotation");$.Hq(this,z_,a,"Annotation");$.Hq(this,A_,a,"Annotation");return a};$.g.X=function(a,b){r_.u.X.call(this,a,b);$.zq(this,y_,a);$.zq(this,z_,a);$.zq(this,A_,a)};$.g.R=function(){r_.u.R.call(this);$.td(this.wa);delete this.j;delete this.b;delete this.f};$.H(s_,$.Y);$.g=s_.prototype;$.g.sa=$.Y.prototype.sa|192;$.g.iA=function(){for(var a=0;a<this.wf.length;a++)this.wf[a].B(64);this.j&&this.j.B(64);this.B(64)};
$.g.$=function(){if(this.Bc()){$.V(this);this.f||(this.f=$.lk(),this.f.ve("mouseover",this.$q,!1,this),this.f.ve("touchstart",this.$q,!1,this),this.f.ra("mouseover",this.Vda,!1,this),this.f.ra("mouseout",this.Uda,!1,this),this.f.ra("mousemove",this.Tda,!1,this),this.g=$.jk(0,0,0,0),this.g.cursor("crosshair"),this.g.fill($.Ul),this.g.stroke(null),this.g.ra("mouseover",this.eea,!1,this),this.N=$.jk(0,0,0,0),this.N.fill($.Ul),this.N.stroke(null),this.N.zIndex(1E3));this.J(4)&&(this.O=this.ja(),this.f.clip(this.O),
this.g.uf(this.O),this.N.uf(this.O),this.B(64),this.I(4));if(this.J(64)){for(var a=0,b=this.wf.length;a<b;a++){var c=this.wf[a];$.V(c);c.ja(this.O);c.P(this.f);c.$();c.da(!1)}this.j&&($.V(this.j),this.j.ja(this.O),this.j.P(this.f),this.j.$(),this.j.da(!1));this.I(64)}this.J(2)&&(this.f.parent(this.P()),this.B(128),this.I(2));this.J(8)&&(a=this.zIndex(),this.f.zIndex(a),this.g.zIndex(a+100),this.I(8));this.J(128)&&(this.ba?this.g.parent(this.P()):this.g.remove(),this.I(128));this.da(!1)}};
$.g.$q=function(a){this.$e||(this.$e=new w_(this),"touchstart"==a.type&&this.$e.Tj(a.Vj))};$.g.Vda=function(a){a.stopPropagation();a.f();a.preventDefault();a=a.target;for(var b;$.K(a,$.hg);){b=a.tag;if($.K(b,IZ)){this.b.Oj(b);return}a=a.parent()}this.b.Pd()};$.g.Uda=function(a){a.stopPropagation();a.f();a.preventDefault();this.b.Pd()};$.g.Tda=function(a){a.stopPropagation();a.f();a.preventDefault()};
$.g.eea=function(a){var b=this.b.b,c=b.O;c&&c!=this||(KZ(b)?PZ(this.b,!1):(this.g.ra("mouseout",this.ET,!1,this),this.g.ra("mousedown",this.CT,!1,this),$.Id($.fl,"mousemove",this.DT,!1,this),a.stopPropagation(),a.f(),a.preventDefault(),t_(this,a),this.ya=!1,b.kB(this.D,this.G),b.EB()?b.$():u_(this,b,!1)))};
$.g.ET=function(a){this.g.ac("mouseout",this.ET,!1,this);this.g.ac("mousedown",this.CT,!1,this);a.stopPropagation();a.f();a.preventDefault();t_(this,a);this.ya=!0;if(!this.U){$.Sd($.fl,"mousemove",this.DT,!1,this);a=this.b.b;a.D=window.NaN;a.G=window.NaN;a.B(128);if(a.Ja){var b=null!=a.O;a.Ja=!0;a.O=null;b&&a.B(64);a.ib(null);$.Zq(a,this.CY,this);this.j=null;this.B(64,1)}a.$()}};
$.g.CT=function(a){$.Id($.fl,"mouseup",this.FT,!1,this);a.stopPropagation();a.f();a.preventDefault();t_(this,a);this.ga=this.D;this.ka=this.G;this.U=!1;a=this.b.b;a.kB(this.D,this.G);a.$()};
$.g.FT=function(a){$.Sd($.fl,"mouseup",this.FT,!1,this);a.stopPropagation();a.preventDefault();t_(this,a);this.ka=this.ga=window.NaN;this.U=!1;a=this.b.b;a.Ja&&u_(this,a,!0);Pha(a);var b=!1;KZ(a)?b=!0:this.ya||a.kB(this.D,this.G);a.$();b&&(PZ(this.b,!1),this.b.mc().dispatchEvent({type:"annotationDrawingFinish",annotation:a}))};
$.g.DT=function(a){a.stopPropagation();a.preventDefault();t_(this,a);a=this.b.b;a.ob();!a.Ra||(0,window.isNaN)(this.ga)||(0,window.isNaN)(this.ka)||this.U?(a.kB(this.D,this.G),a.$()):16<=(this.ga-this.D)*(this.ga-this.D)+(this.ka-this.G)*(this.ka-this.G)&&(this.U=!0,a.Ja&&u_(this,a,!0),Pha(a),a.kB(this.D,this.G),a.$())};$.g.remove=function(){this.f&&(this.f.remove(),this.g.remove())};$.g.select=function(a){this.b.select(a);return this};$.g.ae=function(){this.b.ae();return this};$.g.x9=function(){return this.b.b};
$.g.lda=function(a){return this.wf[a]||null};$.g.mda=function(){return this.wf.length};$.g.XP=function(a){if(this.j==a)return this.j=null,$.qd(a),this;var b=this.b;b.b==a&&(b.b=null,PZ(b,!1));return this.C3((0,$.za)(this.wf,a))};$.g.C3=function(a){var b=this.wf[a];b&&($.Ca(this.wf,a,1),$.qd(b),this.B(64,1));return this};$.g.DY=function(){this.wf.length&&($.td(this.wf),this.wf.length=0,this.B(64,1));return this};
$.g.rd=function(a){return this.b.Eu()?($.V(this.b.mc()),a=RZ(this.b,a),u_(this,a,!0),this.b.select(a),this.b.b||($.qd(a),a=null),this.b.mc().da(!0),a):null};$.g.add=function(a){$.V(this.b.mc());a=RZ(this.b,a);u_(this,a,!0);this.b.mc().da(!0);return a};$.g.w9=function(){this.b.WP()};$.g.wha=function(a){var b=RZ(this.b,"ray");b.K(a);u_(this,b,!0);return b};$.g.line=function(a){var b=RZ(this.b,"line");b.K(a);u_(this,b,!0);return b};
$.g.Hea=function(a){var b=RZ(this.b,"infinite-line");b.K(a);u_(this,b,!0);return b};$.g.$ia=function(a){var b=RZ(this.b,"vertical-line");b.K(a);u_(this,b,!0);return b};$.g.Cea=function(a){var b=RZ(this.b,"horizontal-line");b.K(a);u_(this,b,!0);return b};$.g.aja=function(a){var b=RZ(this.b,"vertical-range");b.K(a);u_(this,b,!0);return b};$.g.Dea=function(a){var b=RZ(this.b,"horizontal-range");b.K(a);u_(this,b,!0);return b};$.g.mI=function(a){var b=RZ(this.b,"rectangle");b.K(a);u_(this,b,!0);return b};
$.g.ellipse=function(a){var b=RZ(this.b,"ellipse");b.K(a);u_(this,b,!0);return b};$.g.Qia=function(a){var b=RZ(this.b,"triangle");b.K(a);u_(this,b,!0);return b};$.g.Pia=function(a){var b=RZ(this.b,"trend-channel");b.K(a);u_(this,b,!0);return b};$.g.Zca=function(a){var b=RZ(this.b,"finite-trend-channel");b.K(a);u_(this,b,!0);return b};$.g.s9=function(a){var b=RZ(this.b,"andrews-pitchfork");b.K(a);u_(this,b,!0);return b};$.g.Uca=function(a){var b=RZ(this.b,"fibonacci-fan");b.K(a);u_(this,b,!0);return b};
$.g.Tca=function(a){var b=RZ(this.b,"fibonacci-arc");b.K(a);u_(this,b,!0);return b};$.g.Vca=function(a){var b=RZ(this.b,"fibonacci-retracement");b.K(a);u_(this,b,!0);return b};$.g.Wca=function(a){var b=RZ(this.b,"fibonacci-timezones");b.K(a);u_(this,b,!0);return b};$.g.gr=function(a){var b=RZ(this.b,"marker");b.K(a);u_(this,b,!0);return b};$.g.label=function(a){var b=RZ(this.b,"label");b.K(a);u_(this,b,!0);return b};$.g.CY=function(a){$.X(a,1)&&this.B(64,1)};
$.g.F=function(){var a=s_.u.F.call(this);a.annotationsList=v_(this);return a};$.g.Ce=function(a,b){return $.A(b)?(v_(this,b),!0):!1};$.g.X=function(a,b){s_.u.X.call(this,a,b);var c=a.annotationsList;$.A(c)&&v_(this,c)};$.g.hB=function(a){var b=this.fd?{}:{annotationsList:v_(this)},c={defaultAnnotationSettings:this.b.mc().CR()};b=$.ym(b,c)||{};return a?$.ao(b):b};$.g.GO=function(a){var b=this.hB(!1);return $.hp(b,"annotations",a)};
$.g.g0=function(a){var b;$.z(a)?b=$.bo(a):$.D(a)&&!$.E(a)&&(b=a);b=$.D(b)?b.annotationsList:b;v_(this,b);return this};$.g.jda=function(a){a=$.ep(a);this.g0(a);return this};$.g.R=function(){var a=this.b;a.f&&$.Fa(a.f,this);$.td(this.wf,this.j,this.g,this.f,this.$e,this.N);this.wf.length=0;this.N=this.$e=this.f=this.g=this.j=null;s_.u.R.call(this)};$.H(w_,$.ag);$.g=w_.prototype;
$.g.Tj=function(a){var b;if(b=!this.Ro)a:{b=$.Li(a.target,this.g.f.Ha());for(var c,d=window.NaN;$.K(b,$.hg);){c=b.tag;if(!$.wo(c))d=$.N(c);else if($.K(c,IZ)){this.b=c;(0,window.isNaN)(d)&&(d=-1);this.j=d;b=!0;break a}b=b.parent()}this.b=null;this.j=window.NaN;b=!1}b&&(KZ(this.b)?this.g.b.mc().dispatchEvent({type:"annotationChangeStart",annotation:this.b})?(w_.u.Tj.call(this,a),this.Ro&&a.stopPropagation()):(this.b=null,this.j=window.NaN,a.stopPropagation()):(this.g.b.select(this.b),this.b=null,this.j=
window.NaN))};$.g.Hq=function(){this.b.tI();this.deltaY=this.deltaX=0};$.g.Rr=function(a,b){this.g.b.mc().dispatchEvent({type:"annotationChange",annotation:this.b})&&this.b.TH(this.j,a,b)};$.g.dea=function(){this.g.b.select(this.b);var a=this.g;a.N.parent(a.f)};$.g.bea=function(){var a=this.b;this.b.B(64);this.b.$();this.b=null;this.j=window.NaN;this.g.N.remove();this.g.b.mc().dispatchEvent({type:"annotationChangeFinish",annotation:a})};var J_=s_.prototype;J_.add=J_.add;J_.startDrawing=J_.rd;
J_.cancelDrawing=J_.w9;J_.getAnnotationAt=J_.lda;J_.getAnnotationsCount=J_.mda;J_.removeAnnotation=J_.XP;J_.removeAnnotationAt=J_.C3;J_.removeAllAnnotations=J_.DY;J_.getSelectedAnnotation=J_.x9;J_.select=J_.select;J_.unselect=J_.ae;J_.ray=J_.wha;J_.line=J_.line;J_.infiniteLine=J_.Hea;J_.verticalLine=J_.$ia;J_.verticalRange=J_.aja;J_.horizontalLine=J_.Cea;J_.horizontalRange=J_.Dea;J_.rectangle=J_.mI;J_.ellipse=J_.ellipse;J_.triangle=J_.Qia;J_.trendChannel=J_.Pia;J_.finiteTrendChannel=J_.Zca;
J_.andrewsPitchfork=J_.s9;J_.fibonacciFan=J_.Uca;J_.fibonacciArc=J_.Tca;J_.fibonacciRetracement=J_.Vca;J_.fibonacciTimezones=J_.Wca;J_.marker=J_.gr;J_.label=J_.label;J_.fromJson=J_.g0;J_.toJson=J_.hB;J_.fromXml=J_.jda;J_.toXml=J_.GO;$.F("anychart.annotations.PlotController",s_);}).call(this,$)}
if(!_.theme_annotations){_.theme_annotations=1;(function($){$.ra($.fa.anychart.themes.defaultTheme.chart,{defaultAnnotationSettings:{base:{enabled:!0,normal:{fill:$.VM,stroke:$.SM,hatchFill:null,markers:{enabled:!1,size:5,type:"square",fill:"#ffff66",stroke:"#333333"},labels:{enabled:!0,position:"center-top",anchor:"center-top",format:function(){return this.level}}},hovered:{fill:$.TM,stroke:$.XM,markers:{enabled:null},labels:{enabled:null}},selected:{fill:$.TM,stroke:$.XM,markers:{enabled:!0},labels:{enabled:null}},color:"#e06666",allowEdit:!0,hoverGap:5},
ray:{},line:{},infiniteLine:{},verticalLine:{},horizontalLine:{},rectangle:{},ellipse:{},triangle:{},trendChannel:{},finiteTrendChannel:{channelWidth:0},andrewsPitchfork:{},fibonacciFan:{levels:[0,.382,.5,.618,1],timeLevels:[0,.382,.5,.618,1],labels:{anchor:null}},fibonacciArc:{levels:[.236,.382,.5,.618,.764,1],labels:{anchor:null}},fibonacciRetracement:{levels:[0,.236,.382,.5,.618,.764,1,1.236,1.382,1.5,1.618,1.764,2.618,4.236],normal:{labels:{position:"left-center",anchor:"right-center"}}},fibonacciTimezones:{levels:[0,
1,2,3,5,8,13,21,34,55,89,144,233,377,610,987,1597,2584,4181,6765,10946,17711,28657,46368,75025,121393,196418,317811,514229,832040,1346269,2178309,3524578,5702887,9227465,14930352,24157817,39088169],labels:{anchor:"left-bottom"}},marker:{markerType:"arrow-up",normal:{size:20},anchor:"center-top",offsetX:0,offsetY:0},label:{text:"Label",offsetX:0,offsetY:0,anchor:"left-top",hAlign:"start",vAlign:"top",width:null,height:null,background:{enabled:!0,fill:"#eee 0.4",stroke:$.Il("#eee")},padding:5,normal:{markers:{size:3}}},
horizontalRange:{},verticalRange:{}}});}).call(this,$)}
if(!_.exports){_.exports=1;(function($){var bX,cX,dX,fX,$fa,hX,jX,kX,lX,mX,nX,oX,qX,bga,rX,sX,dga,ega,tX,gga,uX,vX,wX,hga,xX,yX,zX,iga,jga,kga,AX,BX,CX,DX,lga,FX,GX,HX,JX,LX,oga,KX,MX,pga,PX,NX,OX,mga,RX,WX,rga,YX,TX,XX,ZX,VX,$X,aY,cY,dY,eY,bY,hY,wga,zga,xga,Aga,Bga,pY,lY,mY,nY,Dga,tY,uY,vY,wY,yY,zY,AY,BY,CY,Ega,DY,Fga,FY,Gga,Hga,IY,Iga,JY,GY;
bX=function(a,b,c){$.n(c)||(c="a4");c=aX[c];$.n(a)&&$.n(b)?$.z(a)&&$.da(b)?(a=a.toLowerCase(),(a=aX[a])&&(b?c={width:a.height,height:a.width}:c=a)):(c.width=String(a),c.height=String(b)):$.n(a)&&(a=aX[String(a)])&&(c=a);$.gc(c.width,"px")||$.gc(c.width,"mm")||(c.width+="px");$.gc(c.height,"px")||$.gc(c.height,"mm")||(c.height+="px");return c};cX=function(a,b){$.tj(a,null,b,void 0)};
dX=function(a,b){if(a){var c=$.Ne("STYLE");c.type="text/css";c.styleSheet?c.styleSheet.cssText=a:c.appendChild(window.document.createTextNode(String(a)));$.We($.Be(window.document,"head",void 0,b)[0],c,0)}};fX=function(){eX&&(window.document.body.removeChild(eX),eX=null)};
$fa=function(){if(eX){var a=eX,b=a.contentWindow;$.wp?(gX=$.fa.open(),gX.document.write(b.document.documentElement.innerHTML),fX(),gX.onafterprint=function(){(0,window.setTimeout)(function(){gX.close()},0)},(0,window.setTimeout)(function(){gX.focus();gX.print()},0)):$.hd?(0,window.setTimeout)(function(){$.uf(a,"visibility","");b.onafterprint=fX;b.focus();b.print()},0):($.yj(fX,6),b.focus(),b.print())}};
hX=function(){if(!eX){var a=window.document.createElement("iframe");eX=a;$.uf(a,{visibility:"hidden",position:"fixed",right:0,bottom:0});window.document.body.appendChild(a);for(var b=$.dk(),c,d=0,e=b.length;d<e;d++)if(c=b[d],c.type==aga){var f="";c.cssText?f=c.cssText:c.style&&c.style.cssText&&c.selectorText&&(f=c.style.cssText.replace(/\s*-closure-parent-stylesheet:\s*\[object\];?\s*/gi,"").replace(/\s*-closure-rule-index:\s*[\d]+;?\s*/gi,""),f=c.selectorText+" { "+f+" }");dX(f,a.contentWindow.document)}dX("body{padding:0;margin:0;height:100%;}@page {size: auto; margin: 0; padding:0}",
a.contentWindow.document)}return eX};jX=function(a){if(iX[a])return iX[a];a=String(a);if(!iX[a]){var b=/function ([^\(]+)/.exec(a);iX[a]=b?b[1]:"[Anonymous]"}return iX[a]};
kX=function(a,b){var c=[];if($.Aa(b,a))c.push("[...circular reference...]");else if(a&&50>b.length){c.push(jX(a)+"(");for(var d=a.arguments,e=0;d&&e<d.length;e++){0<e&&c.push(", ");var f=d[e];switch(typeof f){case "object":f=f?"object":"null";break;case "string":break;case "number":f=String(f);break;case "boolean":f=f?"true":"false";break;case "function":f=(f=jX(f))?f:"[fn]";break;default:f=typeof f}40<f.length&&(f=f.substr(0,40)+"...");c.push(f)}b.push(a);c.push(")\n");try{c.push(kX(a.caller,b))}catch(h){c.push("[exception trying to get caller]\n")}}else a?
c.push("[...long stack...]"):c.push("[end]");return c.join("")};lX=function(a){var b=Error();if(Error.captureStackTrace)Error.captureStackTrace(b,a||lX),b=String(b.stack);else{try{throw b;}catch(c){b=c}b=(b=b.stack)?String(b):null}b||(b=kX(a||arguments.callee.caller,[]));return b};mX=function(a){return a instanceof $.ce&&a.constructor===$.ce&&a.f===$.be?a.b:"type_error:Const"};
nX=function(){var a=$.n($.fa.URL)&&$.n($.fa.URL.createObjectURL)?$.fa.URL:$.n($.fa.webkitURL)&&$.n($.fa.webkitURL.createObjectURL)?$.fa.webkitURL:$.n($.fa.createObjectURL)?$.fa:null;if(null!=a)return a;throw Error("This browser doesn't seem to support blob URLs");};oX=function(a){return nX().createObjectURL(a)};qX=function(){this.b=pX};bga=function(a){if(a instanceof qX&&a.constructor===qX&&a.b===pX)return"";$.ka(a);return"type_error:TrustedResourceUrl"};
rX=function(a){if(a instanceof $.fe&&a.constructor===$.fe&&a.f===$.ee)return a.b;$.ka(a);return"type_error:SafeUrl"};sX=function(a){if(a instanceof $.fe)return a;a=a.Yx?a.Ft():String(a);cga.test(a)||(a="about:invalid#zClosurez");return $.ge(a)};dga=function(a){if(a instanceof $.le&&a.constructor===$.le&&a.f===$.he)return a.b;$.ka(a);return"type_error:SafeStyle"};
ega=function(a){return a.replace($.CD,function(a,c,d,e){var b="";d=d.replace(/^(['"])(.*)\1$/,function(a,c,d){b=c;return d});a=sX(d).Ft();return c+b+a+b+e})};tX=function(a){if(a instanceof $.fe)a='url("'+rX(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';else if(a instanceof $.ce)a=mX(a);else{a=String(a);var b=a.replace($.pda,"$1").replace($.CD,"url");if(b=fga.test(b)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}b=b&&c}a=b?ega(a):"zClosurez"}return a};
gga=function(a){var b="",c;for(c in a){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("Name allows only [-_a-zA-Z0-9], got: "+c);var d=a[c];null!=d&&(d=$.A(d)?(0,$.Wa)(d,tX).join(" "):tX(d),b+=c+":"+d+";")}return b?$.me(b):$.oda};uX=function(a){if(a instanceof $.oe&&a.constructor===$.oe&&a.g===$.ne)return a.b;$.ka(a);return"type_error:SafeHtml"};vX=function(a){if(a instanceof $.oe)return a;var b=null;a.VT&&(b=a.Jx());a=$.pc(a.Yx?a.Ft():String(a));return $.pe(a,b)};
wX=function(a){if(a instanceof $.oe)return a;a=vX(a);var b=uX(a);b=$.oc(b.replace(/  /g," &#160;"),void 0);return $.pe(b,a.Jx())};hga=function(a){if(!$.D(a))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof a+" given: "+a);a instanceof $.le||(a=gga(a));return dga(a)};xX=function(a){function b(a){$.A(a)?(0,$.Qe)(a,b):(a=vX(a),d+=uX(a),a=a.Jx(),0==c?c=a:0!=a&&c!=a&&(c=null))}var c=0,d="";(0,$.Qe)(arguments,b);return $.pe(d,c)};
yX=function(a,b){return(b||window.document).getElementsByTagName(String(a))};zX=function(a){return a.contentDocument||a.contentWindow.document};iga=function(a,b,c){$.uj(a,b,c,null)||$.bj($.qa(b,a))};jga=function(a){return new $.jj(function(b,c){var d=a.length,e=[];if(d)for(var f=function(a,c){d--;e[a]=c;0==d&&b(e)},h=function(a){c(a)},k=0,l;k<a.length;k++)l=a[k],iga(l,$.qa(f,k),h);else b(e)})};kga=function(){var a=new $.jj($.ia);$.gj(a,$.hj,void 0);return a};
AX=function(a,b,c){var d={};b="object"==$.ka(b)?b:null;$.Dc(a,function(a,f){d[f]=b?$.n(b[f])?b[f]:void 0:a;$.n(c)&&(d[f]=$.n(d[f])?d[f]:c[f])});return d};BX=function(a){if(a.gs&&"function"==typeof a.gs)return a.gs();if($.z(a))return a.split("");if($.la(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return $.Ec(a)};CX=function(a){if(a.Bt&&"function"==typeof a.Bt)return a.Bt();if(!a.gs||"function"!=typeof a.gs){if($.la(a)||$.z(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return $.Gc(a)}};
DX=function(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if($.la(a)||$.z(a))(0,$.Qe)(a,b,void 0);else for(var c=CX(a),d=BX(a),e=d.length,f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)};lga=function(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),f=null;if(0<=e){var h=c[d].substring(0,e);f=c[d].substring(e+1)}else h=c[d];b(h,f?(0,window.decodeURIComponent)(f.replace(/\+/g," ")):"")}};
$.EX=function(a){this.D=this.O=this.j="";this.N=null;this.G=this.b="";this.f=!1;var b;a instanceof $.EX?(this.f=$.n(void 0)?void 0:a.f,FX(this,a.j),this.O=a.O,this.D=a.D,GX(this,a.N),this.b=a.b,HX(this,a.g.clone()),this.G=a.G):a&&(b=String(a).match(IX))?(this.f=!1,FX(this,b[1]||"",!0),this.O=JX(b[2]||""),this.D=JX(b[3]||"",!0),GX(this,b[4]),this.b=JX(b[5]||"",!0),HX(this,b[6]||"",!0),this.G=JX(b[7]||"")):(this.f=!1,this.g=new KX(null,this.f))};
FX=function(a,b,c){a.j=c?JX(b,!0):b;a.j&&(a.j=a.j.replace(/:$/,""))};GX=function(a,b){if(b){b=Number(b);if((0,window.isNaN)(b)||0>b)throw Error("Bad port number "+b);a.N=b}else a.N=null};HX=function(a,b,c){b instanceof KX?(a.g=b,mga(a.g,a.f)):(c||(b=LX(b,nga)),a.g=new KX(b,a.f))};JX=function(a,b){return a?b?(0,window.decodeURI)(a.replace(/%25/g,"%2525")):(0,window.decodeURIComponent)(a):""};
LX=function(a,b,c){return $.z(a)?(a=(0,window.encodeURI)(a).replace(b,oga),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};oga=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};KX=function(a,b){this.f=this.b=null;this.g=a||null;this.j=!!b};MX=function(a){a.b||(a.b=new $.EB,a.f=0,a.g&&lga(a.g,function(b,c){a.add((0,window.decodeURIComponent)(b.replace(/\+/g," ")),c)}))};
pga=function(a){var b=CX(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new KX(null,void 0);a=BX(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];$.A(f)?NX(c,e,f):c.add(e,f)}return c};PX=function(a,b){MX(a);b=OX(a,b);return $.FB(a.b.f,b)};NX=function(a,b,c){a.remove(b);0<c.length&&(a.g=null,a.b.set(OX(a,b),$.Ha(c)),a.f+=c.length)};OX=function(a,b){var c=String(b);a.j&&(c=c.toLowerCase());return c};
mga=function(a,b){b&&!a.j&&(MX(a),a.g=null,a.b.forEach(function(a,b){var c=b.toLowerCase();b!=c&&(this.remove(b),NX(this,c,a))},a));a.j=b};RX=function(){$.qf.call(this);this.kr="closure_frame"+qga++;this.f=[];QX[this.kr]=this};
WX=function(a,b){var c=new RX;$.Id(c,"ready",c.cd,!1,c);if(c.Bv)throw Error("[goog.net.IframeIo] Unable to send, already active.");var d=new $.EX(a);if(!SX){SX=$.Ne("FORM");SX.acceptCharset="utf-8";var e=SX.style;e.position="absolute";e.visibility="hidden";e.top=e.left="-10px";e.width=e.height="10px";e.overflow="hidden";window.document.body.appendChild(SX)}c.zk=SX;b&&rga(c.zk,b);c.zk.action=d.toString();c.zk.method="POST";c.Bv=!0;c.hA=c.kr+"_"+(c.Xfa++).toString(36);c.fl=$.te(c.zk).pc("IFRAME",{name:c.hA,
id:c.hA});$.hd&&7>Number($.ad)&&(c.fl.src='javascript:""');d=c.fl.style;d.visibility="hidden";d.width=d.height="10px";d.display="none";$.vd?d.marginTop=d.marginLeft="-10px":(d.position="absolute",d.top=d.left="-10px");if($.hd&&!$.bd("11")){c.zk.target=c.hA||"";$.te(c.zk).b.body.appendChild(c.fl);$.Id(c.fl,"readystatechange",c.uV,!1,c);try{c.b=!1,c.zk.submit()}catch(Gb){$.Sd(c.fl,"readystatechange",c.uV,!1,c),TX(c)}}else{$.te(c.zk).b.body.appendChild(c.fl);d=c.hA+"_inner";e=zX(c.fl);if(window.document.baseURI){var f=
$.pc(d);$.de("Short HTML snippet, input escaped, safe URL, for performance");f='<head><base href="'+$.pc(window.document.baseURI)+'"></head><body><iframe id="'+f+'" name="'+f+'"></iframe>';f=$.pe(f,null)}else f=$.pc(d),$.de("Short HTML snippet, input escaped, for performance"),f=$.pe('<body><iframe id="'+f+'" name="'+f+'"></iframe>',null);$.wf&&!$.vd?e.documentElement.innerHTML=uX(f):e.write(uX(f));$.Id(e.getElementById(d),"load",c.eN,!1,c);var h=yX("TEXTAREA",c.zk);f=0;for(var k=h.length;f<k;f++){var l=
h[f].value;$.lf(h[f])!=l&&($.ef(h[f],l),h[f].value=l)}h=e.importNode(c.zk,!0);h.target=d;h.action=c.zk.action;e.body.appendChild(h);l=yX("SELECT",c.zk);var m=yX("SELECT",h);f=0;for(k=l.length;f<k;f++)for(var p=yX("OPTION",l[f]),q=yX("OPTION",m[f]),r=0,t=p.length;r<t;r++)q[r].selected=p[r].selected;l=yX("INPUT",c.zk);m=yX("INPUT",h);f=0;for(k=l.length;f<k;f++)if("file"==l[f].type&&l[f].value!=m[f].value){c.zk.target=d;h=c.zk;break}try{c.b=!1,h.submit(),e.close(),$.gd&&$.yj(c.O4,250,c)}catch(Gb){try{var u=
$.ha("window.location.href");if($.z(Gb))var v={message:Gb,name:"Unknown error",lineNumber:"Not available",fileName:u,stack:"Not available"};else{f=!1;try{var w=Gb.lineNumber||Gb.line||"Not available"}catch(ic){w="Not available",f=!0}try{var x=Gb.fileName||Gb.filename||Gb.sourceURL||$.fa.$googDebugFname||u}catch(ic){x="Not available",f=!0}v=!f&&Gb.lineNumber&&Gb.fileName&&Gb.stack&&Gb.message&&Gb.name?Gb:{message:Gb.message||"Not available",name:Gb.name||"UnknownError",lineNumber:w,fileName:x,stack:Gb.stack||
"Not available"}}var y=v.fileName;null!=y||(y="");if(/^https?:\/\//i.test(y)){var B=sX(y);$.de("view-source scheme plus HTTP/HTTPS URL");var G="view-source:"+rX(B);var C=$.ge(G)}else{var I=$.de("sanitizedviewsrc");C=$.ge(mX(I))}var P=wX("Message: "+v.message+"\nUrl: ");u={href:C,target:"_new"};var Q=v.fileName;if(!UX.test("a"))throw Error("Invalid tag name <a>.");if("A"in sga)throw Error("Tag name <a> is not allowed for SafeHtml.");w=null;x="";if(u)for(var S in u){if(!UX.test(S))throw Error('Invalid attribute name "'+
S+'".');var sa=u[S];if(null!=sa){C=x;y=S;B=sa;if(B instanceof $.ce)B=mX(B);else if("style"==y.toLowerCase())B=hga(B);else{if(/^on/i.test(y))throw Error('Attribute "'+y+'" requires goog.string.Const value, "'+B+'" given.');if(y.toLowerCase()in tga)if(B instanceof qX)B=bga(B);else if(B instanceof $.fe)B=rX(B);else if($.z(B))B=sX(B).Ft();else throw Error('Attribute "'+y+'" on tag "a" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+B+'" given.');}B.Yx&&(B=B.Ft());var va=y+'="'+$.pc(String(B))+
'"';x=C+(" "+va)}}var Oa="<a"+x;null!=Q?$.A(Q)||(Q=[Q]):Q=[];if(!0===uga.a)Oa+=">";else{var vb=xX(Q);Oa+=">"+uX(vb)+"</a>";w=vb.Jx()}var mc=u&&u.dir;mc&&(/^(ltr|rtl|auto)$/i.test(mc)?w=0:w=null);var kb=$.pe(Oa,w);var Qb=xX(P,kb,wX("\nLine: "+v.lineNumber+"\n\nBrowser stack:\n"+v.stack+"-> [end]\n\nJS stack traversal:\n"+lX(void 0)+"-> "))}catch(ic){Qb=wX("Exception trying to expose exception! You win, we lose. "+ic)}uX(Qb);$.Sd(e.getElementById(d),"load",c.eN,!1,c);e.close();TX(c)}}VX(c)};
rga=function(a,b){var c=$.te(a);DX(b,function(b,e){$.A(b)||(b=[b]);(0,$.Qe)(b,function(b){b=c.pc("INPUT",{type:"hidden",name:e,value:b});a.appendChild(b)})})};YX=function(a,b){a.Bv=!1;var c,d;c||"function"!=typeof a.g||(d=a.g(b))&&(c=4);c?TX(a):(a.dispatchEvent("complete"),a.dispatchEvent("success"),XX(a))};TX=function(a){a.b||(a.Bv=!1,a.dispatchEvent("complete"),a.dispatchEvent("error"),XX(a),a.b=!0)};XX=function(a){ZX(a);VX(a);a.zk=null;a.dispatchEvent("ready")};
ZX=function(a){var b=a.fl;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.f.push(b));a.gA&&($.Fj(a.gA),a.gA=null);$.gd||$.wf&&!$.vd?a.gA=$.yj(a.F_,2E3,a):a.F_();a.fl=null;a.hA=null};VX=function(a){a.zk&&a.zk==SX&&$.Ve(a.zk)};$X=function(a){return a.fl?$.hd&&!$.bd("11")?a.fl:zX(a.fl).getElementById(a.hA+"_inner"):null};aY=function(){};cY=function(a){var b;(b=a.b)||(b={},bY(a)&&(b[0]=!0,b[1]=!0),b=a.b=b);return b};dY=function(){};
eY=function(a){return(a=bY(a))?new window.ActiveXObject(a):new window.XMLHttpRequest};bY=function(a){if(!a.f&&"undefined"==typeof window.XMLHttpRequest&&"undefined"!=typeof window.ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new window.ActiveXObject(d),a.f=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.f};
hY=function(a){$.qf.call(this);this.headers=new $.EB;this.ba=a||null;this.f=!1;this.U=this.b=null;this.ka="";this.g=0;this.D="";this.j=this.ya=this.N=this.ga=!1;this.G=0;this.O=null;this.Ra=vga;this.Ga=this.Ja=!1};$.jY=function(a,b,c,d,e,f,h){var k=new hY;iY.push(k);b&&k.ra("complete",b);k.ve("ready",k.Fba);f&&(k.G=Math.max(0,f));h&&(k.Ja=h);wga(k,a,c,d,e)};
wga=function(a,b,c,d,e){if(a.b)throw Error("[goog.net.XhrIo] Object is active with another request="+a.ka+"; newUri="+b);c=c?c.toUpperCase():"GET";a.ka=b;a.D="";a.g=0;a.ga=!1;a.f=!0;a.b=a.ba?eY(a.ba):eY(kY);a.U=a.ba?cY(a.ba):cY(kY);a.b.onreadystatechange=(0,$.pa)(a.R2,a);try{a.ya=!0,a.b.open(c,String(b),!0),a.ya=!1}catch(h){a.lv(5,h);return}b=d||"";var f=a.headers.clone();e&&DX(e,function(a,b){f.set(b,a)});e=$.ya(f.Bt(),xga);d=$.fa.FormData&&b instanceof $.fa.FormData;!$.Aa(yga,c)||e||d||f.set("Content-Type",
"application/x-www-form-urlencoded;charset=utf-8");f.forEach(function(a,b){this.b.setRequestHeader(b,a)},a);a.Ra&&(a.b.responseType=a.Ra);"withCredentials"in a.b&&a.b.withCredentials!==a.Ja&&(a.b.withCredentials=a.Ja);try{lY(a),0<a.G&&(a.Ga=zga(a.b),a.Ga?(a.b.timeout=a.G,a.b.ontimeout=(0,$.pa)(a.U4,a)):a.O=$.yj(a.U4,a.G,a)),a.N=!0,a.b.send(b),a.N=!1}catch(h){a.lv(5,h)}};zga=function(a){return $.hd&&$.bd(9)&&$.ea(a.timeout)&&$.n(a.ontimeout)};xga=function(a){return"content-type"==a.toLowerCase()};
Aga=function(a){a.ga||(a.ga=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};Bga=function(a){if(a.f&&"undefined"!=typeof $.sD&&(!a.U[1]||4!=mY(a)||2!=nY(a)))if(a.N&&4==mY(a))$.yj(a.R2,0,a);else if(a.dispatchEvent("readystatechange"),4==mY(a)){a.f=!1;try{if($.oY(a))a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.g=6;try{var b=2<mY(a)?a.b.statusText:""}catch(c){b=""}a.D=b+" ["+nY(a)+"]";Aga(a)}}finally{pY(a)}}};
pY=function(a,b){if(a.b){lY(a);var c=a.b,d=a.U[0]?$.ia:null;a.b=null;a.U=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}};lY=function(a){a.b&&a.Ga&&(a.b.ontimeout=null);a.O&&($.Fj(a.O),a.O=null)};
$.oY=function(a){var b=nY(a);a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}if(!c){if(b=0===b)a=String(a.ka).match(IX)[1]||null,!a&&$.fa.self&&$.fa.self.location&&(a=$.fa.self.location.protocol,a=a.substr(0,a.length-1)),b=!Cga.test(a?a.toLowerCase():"");c=b}return c};mY=function(a){return a.b?a.b.readyState:0};nY=function(a){try{return 2<mY(a)?a.b.status:-1}catch(b){return-1}};$.qY=function(a){if(a.b)return $.bo(a.b.responseText)};
$.rY=function(a){return $.z(a.D)?a.D:String(a.D)};Dga=function(a,b,c){var d=a.width()/a.height();b=$.n(b)?b:c?Math.round(c*d):a.width();c=$.n(c)?c:b?Math.round(b/d):a.height();return{width:b,height:c}};tY=function(a,b,c,d,e,f){c&&(b.responseType="base64");d&&(b.save=!0);var h=f||$.ia,k=d?"url":"result";b=pga(new $.EB(b));$.jY(sY+"/"+a,function(a){a=a.target;$.oY(a)?e($.qY(a)[k]):h($.rY(a))},"POST",b.toString())};
uY=function(a,b,c,d,e,f){c=Dga(a,c,d);b.data=a.vq(c.width,c.height);b.dataType="svg";b.responseType="file";b.width=c.width;b.height=c.height;$.n(e)&&(b.quality=e);$.n(f)&&(b["file-name"]=f)};vY=function(a,b,c,d,e,f,h){c=Dga(a,c,d);b.data=a.vq(c.width,c.height);b.dataType="svg";b.responseType="file";b.width=c.width;b.height=c.height;$.n(e)&&(b.quality=e);$.n(f)&&(b["force-transparent-white"]=f);$.n(h)&&(b["file-name"]=h)};
wY=function(a,b,c,d,e){b.data=a.vq(c,d);b.dataType="svg";b.responseType="file";$.n(e)&&(b["file-name"]=e)};
yY=function(a,b,c,d,e,f,h){var k=null;$.n(c)?$.ea(c)?(b["pdf-width"]=c,b["pdf-height"]=$.ea(d)?d:a.height()):$.z(c)?(b["pdf-size"]=c||"a4",b.landscape=!!d,k=xY[b["pdf-size"]],b.landscape&&(k={width:k.height,height:k.width})):(b["pdf-width"]=a.width(),b["pdf-height"]=a.height()):(b["pdf-width"]=a.width(),b["pdf-height"]=a.height());$.n(e)&&(b["pdf-x"]=e);$.n(f)&&(b["pdf-y"]=f);$.n(h)&&(b["file-name"]=h);k?(c=k.width,k=k.height,d=a.width(),h=a.height(),k=c<k?[c,c/d*h]:c>k?[k/h*d,k]:[c,k],k[0]-=e||0,
k[1]-=f||0,a=a.vq(k[0],k[1])):a=a.vq(b["pdf-width"],b["pdf-height"]);b.data=a;b.dataType="svg";b.responseType="file"};zY=function(a,b,c,d,e){if("svg"==$.hk){var f={};uY(a,f,b,c,d,e);WX(sY+"/png",f)}else(0,window.alert)($.jd(15))};AY=function(a,b,c,d,e,f){if("svg"==$.hk){var h={};vY(a,h,b,c,d,e,f);WX(sY+"/jpg",h)}else(0,window.alert)($.jd(15))};BY=function(a,b,c,d,e,f){if("svg"==$.hk){var h={};yY(a,h,b,c,d,e,f);WX(sY+"/pdf",h)}else(0,window.alert)($.jd(15))};
CY=function(a,b,c,d){if("svg"==$.hk){var e={};wY(a,e,b,c,d);WX(sY+"/svg",e)}else(0,window.alert)($.jd(15))};Ega=function(a){var b="";a&&(b=(new window.XMLSerializer).serializeToString(a));return b};DY=function(){this.b={};this.g={};this.G={};this.j={};this.D={};this.ga=["svg2pdf.min.js","jspdf.min.js","canvg.min.js","xlsx.core.min.js"];this.K1=!1;this.N={}};
Fga=function(a){var b=EY,c=$.fa.anychart.exports;if(c.K1)return kga();var d=b.ga,e=c.ic(a,"clientside").path;e+=$.gc(e,"/")?"":"/";a=[];for(var f=0;f<d.length;f++)b=new $.jj(function(a,b){var c=e+d[f],h=$.Se(window.document,"script");h.setAttribute("src",c);h.onload=h.onreadystatechange=function(){$.bl("info","Loaded external exporting script "+c);a()};h.onerror=function(){$.bl("warn","Failed tp load external script "+c);b()};$.Bp.head.appendChild(h)}),a.push(b);return jga(a).then(function(){c.K1=
!0})};FY=function(a,b,c){if($.D(c)){var d={};$.Dc(c,function(a,b){$.n(a)&&(d[b]=a)});$.Jc(d)||(a[b]=d)}else $.n(c)&&(a[b]=c)};Gga=function(a,b,c,d){cX(Fga(a).then(function(){var a=$.fa.XLSX,d=a.utils,h=$.Om().GB(b),k=d.book_new();h=d.aoa_to_sheet(h);d.book_append_sheet(k,h,"data");a=a.write(k,{type:"array"});GY(new window.Blob([a],{type:HY.xlsx}),c,"xlsx")}),function(){d()})};
Hga=function(a,b,c,d){var e=c.paperSize,f=c.landscape,h=c.x||0,k=c.y||0,l=c.filename||"anychart";l+=".pdf";try{if($.n(e)||$.n(f)){var m=bX(e,f);if($.z(e)){var p=xY[e].width;var q=xY[e].height;if(f&&q>p||!f&&q<p)p=[q,q=p][0]}else p=(0,window.parseFloat)(m.width),q=(0,window.parseFloat)(m.height);var r=new $.fa.jsPDF(f?"l":"p","pt",e||[p,q]);$.z(b)?r.addImage(b,"png",h,k,p,q):$.fa.svg2pdf(b,r,{xOffset:h,yOffset:k,scale:1})}else{var t=a.width(),u=a.height();r=new $.fa.jsPDF(t>u?"l":"p","pt",[t,u]);$.z(b)?
r.addImage(b,"png",h,k,t,u):$.fa.svg2pdf(b,r,{xOffset:h,yOffset:k,scale:1})}r.save(l)}catch(v){d(c)}};
IY=function(a,b,c,d,e,f,h){var k=HY[c],l=$.Se(window.document,"canvas");l.width=d;l.height=e;$.uf(l,{width:d,height:e,visibility:"hidden",position:"fixed",right:0,bottom:0});$.Bp.body.appendChild(l);var m=l.getContext("2d"),p=new window.Image,q=b.quality||.92;a.setAttribute("width",d);a.setAttribute("height",e);var r=(new window.XMLSerializer).serializeToString(a),t=oX(new window.Blob([r],{type:"image/svg+xml"}));p.onload=function(){try{if(l.msToBlob&&m.drawSvg){m.drawSvg(r,0,0,d,e);var a=l.toDataURL(k,
q)}else m.drawImage(p,0,0,d,e),a=l.toDataURL(k,q);f(a);$.Xe(l);nX().revokeObjectURL(t)}catch(v){h(b)}};p.src=t};
Iga=function(a,b,c,d,e,f,h){function k(a){GY(a,l,c)}var l=d.filename||"anychart",m=0<b.getElementsByTagName("image").length;try{switch(c){case "svg":var p=(new window.XMLSerializer).serializeToString(b);GY(new window.Blob([p],{type:"image/svg+xml"}),l,c);break;case "png":IY(b,d,c,e,f,k,h);break;case "jpg":IY(b,d,c,e,f,k,h);break;case "pdf":m?IY(b,d,c,e,f,function(b){Hga(a,b,d,h)},h):Hga(a,b,d,h)}}catch(q){h(d)}};
JY=function(a,b,c,d){cX(Fga(a).then(function(){function e(a){var b=a.getAttribute("href"),c=new window.Image,d=(0,window.parseFloat)(a.getAttribute("width")),e=(0,window.parseFloat)(a.getAttribute("height"));d=d||1;e=e||1;c.onload=function(){var b=$.Se(window.document,"CANVAS");$.Bp.body.appendChild(b);var h=b.getContext("2d");b.width=d;b.height=e;h.drawImage(c,0,0,d,e);h=b.toDataURL();a.setAttribute("href",h);a.setAttribute("src",h);u++;u==v.length&&f();$.Xe(b)};c.crossOrigin="anonymous";c.src=b}
function f(){Iga(h,t,b,c,m,p,d)}var h=$.K(a,$.Vj)?a:a.P().Ha(),k=c.paperSize,l=c.landscape;if($.z(k)){var m=xY[k].width;var p=xY[k].height}else m=c.width||h.width(),p=c.height||h.height();var q=h.width(),r=h.height();"pdf"==b&&$.z(k)&&(l&&p>m||!l&&p<m)&&(m=[p,p=m][0]);h.resize(m,p);var t=h.fa().cloneNode(!0);h.resize($.z(q)?q:"100%",$.z(r)?r:"100%");t.setAttribute("width",m);t.setAttribute("height",p);var u=0,v=t.getElementsByTagName("image");k=$.Aa(["png","jpg","pdf"],b);try{if(0<v.length){if(($.Cc("Trident")||
$.Cc("MSIE"))&&k)throw"Internet explorer can't export chart with images to pdf, jpg or png";for(k=0;k<v.length;k++)e(v[k])}else f()}catch(w){d(c)}}),function(){d(c)})};
GY=function(a,b,c){var d=$.Se(window.document,"a");if($.z(a)){var e=(0,window.atob)(a.split(",")[1]);a=a.split(",")[0].split(":")[1].split(";")[0];for(var f=new window.ArrayBuffer(e.length),h=new window.Uint8Array(f),k=0;k<e.length;k++)h[k]=e.charCodeAt(k);e=new window.Blob([f],{type:a})}else e=a;b=b+"."+c;c=oX(e);$.n(d.download)?($.Bp.body.appendChild(d),d.href=c,d.download=b,d.click(),$.Xe(d)):$.n($.fa.navigator.msSaveOrOpenBlob)?$.fa.navigator.msSaveOrOpenBlob(e,b):$.Cp.open(c,b);nX().revokeObjectURL(c)};
$.EB.prototype.gs=$.ca(27,function(){$.GB(this);for(var a=[],b=0;b<this.b.length;b++)a.push(this.f[this.b[b]]);return a});$.fe.prototype.Jx=$.ca(2,function(){return 1});$.oe.prototype.Jx=$.ca(1,function(){return this.f});
var aX={"us-letter":{width:"215.9mm",height:"279.4mm"},a0:{width:"841mm",height:"1189mm"},a1:{width:"594mm",height:"841mm"},a2:{width:"420mm",height:"594mm"},a3:{width:"297mm",height:"420mm"},a4:{width:"210mm",height:"297mm"},a5:{width:"148mm",height:"210mm"},a6:{width:"105mm",height:"148mm"}},eX=null,gX=null,aga=5,iX={},uga={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},pX={};qX.prototype.Yx=!0;
qX.prototype.Ft=function(){return""};qX.prototype.VT=!0;qX.prototype.Jx=function(){return 1};
var cga=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,fga=/^[-,."'%_!# a-zA-Z0-9]+$/,UX=/^[a-zA-Z0-9-]+$/,tga={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},sga={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},xY={a0:{width:2384,height:3370},a1:{width:1684,height:2384},a2:{width:1191,height:1684},a3:{width:842,height:1191},a4:{width:595,height:842},a5:{width:420,height:595},a6:{width:297,height:420},
a7:{width:210,height:297},a8:{width:48,height:210},a9:{width:105,height:148},b0:{width:2834,height:4008},b1:{width:2004,height:2834},b2:{width:1417,height:2004},b3:{width:1E3,height:1417},b4:{width:708,height:1E3},b5:{width:498,height:708},b6:{width:354,height:498},b7:{width:249,height:354},b8:{width:175,height:249},b9:{width:124,height:175},"arch-a":{width:648,height:864},"arch-b":{width:864,height:1296},"arch-c":{width:1296,height:1728},"arch-d":{width:1728,height:2592},"arch-e":{width:2592,height:3456},
"crown-octavo":{width:348,height:527},"crown-quarto":{width:535,height:697},"demy-octavo":{width:391,height:612},"demy-quarto":{width:620,height:782},"royal-octavo":{width:442,height:663},"royal-quarto":{width:671,height:884},executive:{width:522,height:756},halfletter:{width:396,height:612},ledger:{width:1224,height:792},legal:{width:612,height:1008},letter:{width:612,height:792},tabloid:{width:792,height:1224}};var IX=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;$.EX.prototype.toString=function(){var a=[],b=this.j;b&&a.push(LX(b,Jga,!0),":");var c=this.D;if(c||"file"==b)a.push("//"),(b=this.O)&&a.push(LX(b,Jga,!0),"@"),a.push((0,window.encodeURIComponent)(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.N,null!=c&&a.push(":",String(c));if(c=this.b)this.D&&"/"!=c.charAt(0)&&a.push("/"),a.push(LX(c,"/"==c.charAt(0)?Kga:Lga,!0));(c=this.g.toString())&&a.push("?",c);(c=this.G)&&a.push("#",LX(c,Mga));return a.join("")};$.EX.prototype.clone=function(){return new $.EX(this)};
var Jga=/[#\/\?@]/g,Lga=/[#\?:]/g,Kga=/[#\?]/g,nga=/[#\?@]/g,Mga=/#/g;$.g=KX.prototype;$.g.add=function(a,b){MX(this);this.g=null;a=OX(this,a);var c=this.b.get(a);c||this.b.set(a,c=[]);c.push(b);this.f+=1;return this};$.g.remove=function(a){MX(this);a=OX(this,a);return $.FB(this.b.f,a)?(this.g=null,this.f-=this.b.get(a).length,this.b.remove(a)):!1};$.g.clear=function(){this.b=this.g=null;this.f=0};$.g.Dj=function(){MX(this);return 0==this.f};
$.g.forEach=function(a,b){MX(this);this.b.forEach(function(c,d){(0,$.Qe)(c,function(c){a.call(b,c,d,this)},this)},this)};$.g.Bt=function(){MX(this);for(var a=this.b.gs(),b=this.b.Bt(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};$.g.gs=function(a){MX(this);var b=[];if($.z(a))PX(this,a)&&(b=$.Ga(b,this.b.get(OX(this,a))));else{a=this.b.gs();for(var c=0;c<a.length;c++)b=$.Ga(b,a[c])}return b};
$.g.set=function(a,b){MX(this);this.g=null;a=OX(this,a);PX(this,a)&&(this.f-=this.b.get(a).length);this.b.set(a,[b]);this.f+=1;return this};$.g.get=function(a,b){var c=a?this.gs(a):[];return 0<c.length?String(c[0]):b};
$.g.toString=function(){if(this.g)return this.g;if(!this.b)return"";for(var a=[],b=this.b.Bt(),c=0;c<b.length;c++){var d=b[c],e=(0,window.encodeURIComponent)(String(d));d=this.gs(d);for(var f=0;f<d.length;f++){var h=e;""!==d[f]&&(h+="="+(0,window.encodeURIComponent)(String(d[f])));a.push(h)}}return this.g=a.join("&")};$.g.clone=function(){var a=new KX;a.g=this.g;this.b&&(a.b=this.b.clone(),a.f=this.f);return a};var SX;$.H(RX,$.qf);var QX={},qga=0;$.g=RX.prototype;$.g.zk=null;$.g.fl=null;$.g.hA=null;$.g.Xfa=0;$.g.Bv=!1;$.g.gA=null;$.g.abort=function(){this.Bv&&($.Ud($X(this)),this.Bv=!1,this.dispatchEvent("abort"),XX(this))};$.g.R=function(){this.Bv&&this.abort();RX.u.R.call(this);this.fl&&ZX(this);VX(this);delete this.g;this.zk=null;delete QX[this.kr]};$.g.$p=function(){return this.Bv};
$.g.uV=function(){if("complete"==this.fl.readyState){$.Sd(this.fl,"readystatechange",this.uV,!1,this);try{var a=zX(this.fl);if($.hd&&"about:blank"==a.location&&!window.navigator.onLine){TX(this);return}}catch(b){TX(this);return}YX(this,a)}};$.g.eN=function(){if(!$.wf||$.vd||"about:blank"!=(this.fl?zX($X(this)):null).location){$.Sd($X(this),"load",this.eN,!1,this);try{YX(this,this.fl?zX($X(this)):null)}catch(a){TX(this)}}};
$.g.F_=function(){this.gA&&($.Fj(this.gA),this.gA=null);for(;0!=this.f.length;){var a=this.f.pop();$.Xe(a)}};$.g.O4=function(){if(this.Bv){var a=this.fl?zX($X(this)):null;a&&!$.Zc(a,"documentUri")?($.Sd($X(this),"load",this.eN,!1,this),TX(this)):$.yj(this.O4,250,this)}};aY.prototype.b=null;var kY;$.H(dY,aY);kY=new dY;$.H(hY,$.qf);var vga="",Cga=/^https?$/i,yga=["POST","PUT"],iY=[];$.g=hY.prototype;$.g.Fba=function(){this.cd();$.Fa(iY,this)};$.g.U4=function(){"undefined"!=typeof $.sD&&this.b&&(this.D="Timed out after "+this.G+"ms, aborting",this.g=8,this.dispatchEvent("timeout"),this.abort(8))};$.g.lv=function(a,b){this.f=!1;this.b&&(this.j=!0,this.b.abort(),this.j=!1);this.D=b;this.g=a;Aga(this);pY(this)};
$.g.abort=function(a){this.b&&this.f&&(this.f=!1,this.j=!0,this.b.abort(),this.j=!1,this.g=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),pY(this))};$.g.R=function(){this.b&&(this.f&&(this.f=!1,this.j=!0,this.b.abort(),this.j=!1),pY(this,!0));hY.u.R.call(this)};$.g.R2=function(){this.fd||(this.ya||this.N||this.j?Bga(this):this.Hga())};$.g.Hga=function(){Bga(this)};$.g.$p=function(){return!!this.b};var sY="//export.anychart.com";$.g=$.Vj.prototype;$.g.Xia=function(a){return $.n(a)?(this.Gx=(this.n5=!!a)?$.fa.anychart.exports:null,this):!!this.n5};$.g.ju=function(a,b,c,d,e,f,h){if("svg"==$.hk){var k={};uY(this,k,d,e,f,h);tY("png",k,!!c,!0,a,b)}else(0,window.alert)($.jd(15))};$.g.WA=function(a,b,c,d,e,f,h,k){if("svg"==$.hk){var l={};vY(this,l,d,e,f,h,k);tY("jpg",l,!!c,!0,a,b)}else(0,window.alert)($.jd(15))};
$.g.YA=function(a,b,c,d,e,f){if("svg"==$.hk){var h={};wY(this,h,d,e,f);tY("svg",h,!!c,!0,a,b)}else(0,window.alert)($.jd(15))};$.g.XA=function(a,b,c,d,e,f,h,k){if("svg"==$.hk){var l={};yY(this,l,d,e,f,h,k);tY("pdf",l,!!c,!0,a,b)}else(0,window.alert)($.jd(15))};$.g.Wz=function(a,b,c,d,e){if("svg"==$.hk){var f={};uY(this,f,c,d,e);tY("png",f,!0,!1,a,b)}else(0,window.alert)($.jd(15))};$.g.Uz=function(a,b,c,d,e,f){if("svg"==$.hk){var h={};vY(this,h,c,d,e,f);tY("jpg",h,!0,!1,a,b)}else(0,window.alert)($.jd(15))};
$.g.Yz=function(a,b,c,d){if("svg"==$.hk){var e={};wY(this,e,c,d);tY("svg",e,!0,!1,a,b)}else(0,window.alert)($.jd(15))};$.g.Vz=function(a,b,c,d,e,f){if("svg"==$.hk){var h={};yY(this,h,c,d,e,f);tY("pdf",h,!0,!1,a,b)}else(0,window.alert)($.jd(15))};$.g.gu=function(a,b,c,d){this.Gx?this.Gx.gu(this,this,a,b,c,d):zY(this,a,b,c,d)};$.g.xw=function(a,b,c,d,e){this.Gx?this.Gx.saveAsJpg(this,this,a,b,c,d,e):AY(this,a,b,c,d,e)};
$.g.yw=function(a,b,c,d,e){this.Gx?this.Gx.saveAsPdf(this,this,a,b,c,d,e):BY(this,a,b,c,d,e)};$.g.zw=function(a,b,c){this.Gx?this.Gx.saveAsSvg(this,this,a,b,c):CY(this,a,b,c)};
$.g.print=function(a,b){if($.n(a)||$.n(b)){var c=bX(a,b,"us-letter"),d=hX().contentWindow.document;dX("html, body {height: 100%; overflow: hidden}",d);var e=$.Ne("DIV");$.uf(e,{width:c.width,height:c.height});d.body.appendChild(e);c=this.width();d=this.height();var f=$.Wf(e);this.resize(f.width,f.height);f=this.fa();"svg"==f.tagName&&f.cloneNode?(f=f.cloneNode(!0),e.appendChild(f)):$.ik(e).data(this.data());this.resize(c,d)}else e=hX().contentWindow.document,d=this.fa(),"svg"==d.tagName?d.cloneNode?
c=d.cloneNode(!0):(d=$.ik(e.body),d.data(this.data()),c=d.fa()):(d=$.ik(e.body),d.data(this.data())),d=$.kg(),f=c,d.gc(f,"width","100%"),d.gc(f,"height","100%"),d.gc(f,"viewBox","0 0 "+this.width()+" "+this.height()),$.uf(f,"width","100%"),$.uf(f,"height",""),$.uf(f,"max-height","100%"),e.body.appendChild(c);$fa()};
$.g.vq=function(a,b){if("svg"!=$.hk)return"";if($.n(a)||$.n(b)){var c=bX(a,b);var d=$.cf(this.fa()),e=$.xf(d,"width");d=$.xf(d,"height");this.resize(c.width,c.height);c=Ega(this.fa());this.resize(e,d)}else $.kg().dO(this.fa(),this.width(),this.height()),c=Ega(this.fa()),$.kg().dO(this.fa(),"100%","100%");return'<?xml version="1.0" encoding="UTF-8" standalone="no"?>'+c};$.F("acgraph.server",function(a){$.n(a)&&(sY=a);return sY});var KY=$.Vj.prototype;KY.useAnychartExporting=KY.Xia;KY.saveAsPNG=KY.gu;
KY.saveAsJPG=KY.xw;KY.saveAsPDF=KY.yw;KY.saveAsSVG=KY.zw;KY.saveAsPng=KY.gu;KY.saveAsJpg=KY.xw;KY.saveAsPdf=KY.yw;KY.saveAsSvg=KY.zw;KY.shareAsPng=KY.ju;KY.shareAsJpg=KY.WA;KY.shareAsPdf=KY.XA;KY.shareAsSvg=KY.YA;KY.getPngBase64String=KY.Wz;KY.getJpgBase64String=KY.Uz;KY.getSvgBase64String=KY.Yz;KY.getPdfBase64String=KY.Vz;KY.print=KY.print;KY.toSvg=KY.vq;$.g=DY.prototype;$.g.c_=function(a){return"object"==$.ka(a)?($.ra(this.N,a),this):this.N};$.g.filename=function(a){$.n(a)&&(this.U=a);return this.U};$.g.dk=function(a,b){return this.b=AX({width:a,height:b},a,this.b)};$.g.$_=function(a,b,c,d,e,f,h){return this.g=AX({caption:a,link:b,name:c,description:d,width:e,height:f,appId:h},a,this.g)};$.g.k5=function(a,b,c){return this.G=AX({url:a,width:b,height:c},a,this.G)};
$.g.i2=function(a,b,c,d){return this.j=AX({caption:a,description:b,width:c,height:d},a,this.j)};$.g.Z2=function(a,b,c,d){return this.D=AX({link:a,description:b,width:c,height:d},a,this.D)};
$.g.XJ=function(){this.U="anychart";this.b={width:void 0,height:void 0};this.g={caption:$.fl.location?$.fl.location.hostname:"",link:void 0,name:void 0,description:void 0,appId:0x42607363aa4b7,width:1200,height:630};this.G={url:"https://export.anychart.com/sharing/twitter",width:1024,height:800};this.j={caption:"AnyChart",description:void 0,width:1200,height:630};this.D={link:void 0,description:void 0,width:1200,height:800};this.N={path:"https://cdn.anychart.com/3rd/",enabled:!0,fallback:!0}};
$.g.F=function(){var a={};FY(a,"filename",this.U);FY(a,"image",this.b);FY(a,"facebook",this.g);FY(a,"twitter",this.G);FY(a,"linkedin",this.j);FY(a,"pinterest",this.D);FY(a,"clientside",this.N);return a};$.g.X=function(a){this.filename(a.filename);this.dk(a.image);this.$_(a.facebook);this.k5(a.twitter);this.i2(a.linkedin);this.Z2(a.pinterest);this.c_(a.clientside)};var LY=DY.prototype;LY.filename=LY.filename;LY.image=LY.dk;LY.facebook=LY.$_;LY.twitter=LY.k5;LY.linkedin=LY.i2;LY.pinterest=LY.Z2;
LY.clientside=LY.c_;var HY={png:"image/png",jpg:"image/jpeg",svg:"image/svg+xml",csv:"text/csv",pdf:"application/pdf",json:"application/json",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xml:"text/xml"};var EY=new DY;EY.XJ();EY.create=function(){return new DY};EY.ic=function(a,b){var c=a&&a.exports?a.exports()[b]():void 0,d=$.fa.anychart.exports[b](),e;"object"==$.ka(c)?e=AX(d,c,d):e=$.n(c)?c:d;return e};EY.ka=$.fl.acgraph.server;EY.ba=function(a,b,c){return function(){WX(sY+"/"+c,{"file-name":b,data:a,dataType:c,responseType:"file"})}};EY.f=function(a,b){return function(c){a.fallback?($.el(1E3,null,[],!0),b.call(null,arguments)):$.el(1002,null,[],!0)}};
EY.gu=function(a,b,c,d,e,f){var h=b?b.Ha():null;h&&(b=EY.ic(a,"image"),c=AX({width:c,height:d,quality:e,filename:f},c,{width:b.width,height:b.height,filename:EY.ic(a,"filename")}),d=EY.ic(a,"clientside"),e=EY.f(d,function(a){zY(h,a.width,a.height,a.quality,a.filename)}),d.enabled?JY(a,"png",c,e):d.fallback?zY(h,c.width,c.height,c.quality,c.filename):$.el(1001,null,[],!0))};
EY.xw=function(a,b,c,d,e,f,h){var k=b?b.Ha():null;k&&(b=EY.ic(a,"image"),c=AX({width:c,height:d,quality:e,forceTransparentWhite:f,filename:h},c,{width:b.width,height:b.height,filename:EY.ic(a,"filename")}),d=EY.ic(a,"clientside"),e=EY.f(d,function(a){AY(k,a.width,a.height,a.quality,a.forceTransparentWhite,a.filename)}),d.enabled?JY(a,"jpg",c,e):d.fallback?AY(k,c.width,c.height,c.quality,c.forceTransparentWhite,c.filename):$.el(1001,null,[],!0))};
EY.yw=function(a,b,c,d,e,f,h){var k=b?b.Ha():null;k&&(b=EY.ic(a,"image"),c=AX({paperSize:c,width:c,landscape:d,height:d,x:e,y:f,filename:h},c,{width:b.width,height:b.height,filename:EY.ic(a,"filename")}),d=EY.ic(a,"clientside"),e=EY.f(d,function(a){BY(k,a.paperSize||a.width,a.landscape||a.height,a.x,a.y,a.filename)}),d.enabled?JY(a,"pdf",c,e):d.fallback?BY(k,c.paperSize||c.width,c.landscape||c.height,c.x,c.y,c.filename):$.el(1001,null,[],!0))};
EY.zw=function(a,b,c,d,e){var f=b?b.Ha():null;f&&(b=EY.ic(a,"image"),c=AX({paperSize:c,width:c,landscape:d,height:d,filename:e},c,{width:b.width,height:b.height,filename:EY.ic(a,"filename")}),d=EY.ic(a,"clientside"),e=EY.f(d,function(a){CY(f,a.paperSize||a.width,a.landscape||a.height,a.filename)}),d.enabled?JY(a,"svg",c,e):d.fallback?CY(f,c.paperSize||c.width,c.landscape||c.height,c.filename):$.el(1001,null,[],!0))};
EY.vq=function(a,b,c,d){return(b=b?b.Ha():null)?(a=EY.ic(a,"image"),c=AX({paperSize:c,width:c,landscape:d,height:d},c,{width:a.width,height:a.height}),b.vq(c.paperSize||c.width,c.landscape||c.height)):""};EY.O=function(a,b,c,d){d=d||EY.ic(a,"filename");a=EY.ic(a,"clientside");var e=EY.ba(b,d,c),f=EY.f(a,e);if(a.enabled)try{GY(new window.Blob([b],{type:HY[c]||""}),d,c)}catch(h){f()}else a.fallback?e():$.el(1001,null,[],!0)};EY.SN=function(a,b,c){EY.O(a,b,"xml",c)};
EY.RN=function(a,b,c){EY.O(a,b,"json",c)};EY.Ey=function(a,b,c){EY.O(a,b,"csv",c)};EY.Fy=function(a,b,c){var d=EY.ic(a,"clientside");c=c||EY.ic(a,"filename");var e=EY.ba(b,c,"xlsx"),f=EY.f(d,e);d.enabled?Gga(a,b,c,f):d.fallback?e():$.el(1001,null,[],!0)};
EY.ju=function(a,b,c,d,e,f,h,k,l){if(b=b?b.Ha():null){var m=EY.ic(a,"image");a=AX({onSuccess:c,onError:d,asBase64:e,width:f,height:h,quality:k,filename:l},c,{width:m.width,height:m.height,filename:EY.ic(a,"filename")});b.ju(a.onSuccess,a.onError,a.asBase64,a.width,a.height,a.quality,a.filename)}};
EY.WA=function(a,b,c,d,e,f,h,k,l,m){if(b=b?b.Ha():null){var p=EY.ic(a,"image");a=AX({onSuccess:c,onError:d,asBase64:e,width:f,height:h,quality:k,forceTransparentWhite:l,filename:m},c,{width:p.width,height:p.height,filename:EY.ic(a,"filename")});b.WA(a.onSuccess,a.onError,a.asBase64,a.width,a.height,a.quality,a.forceTransparentWhite,a.filename)}};
EY.YA=function(a,b,c,d,e,f,h,k){if(b=b?b.Ha():null){var l=EY.ic(a,"image");a=AX({onSuccess:c,onError:d,asBase64:e,paperSize:f,width:f,landscape:h,height:h,filename:k},c,{width:l.width,height:l.height,filename:EY.ic(a,"filename")});b.YA(a.onSuccess,a.onError,a.asBase64,a.paperSize||a.width,a.landscape||a.height,a.filename)}};
EY.XA=function(a,b,c,d,e,f,h,k,l,m){if(b=b?b.Ha():null){var p=EY.ic(a,"image");a=AX({onSuccess:c,onError:d,asBase64:e,paperSize:f,width:f,landscape:h,height:h,x:k,y:l,filename:m},c,{width:p.width,height:p.height,filename:EY.ic(a,"filename")});b.XA(a.onSuccess,a.onError,a.asBase64,a.paperSize||a.width,a.landscape||a.height,a.x,a.y,a.filename)}};
EY.Wz=function(a,b,c,d,e,f,h){if(b=b?b.Ha():null)a=EY.ic(a,"image"),c=AX({onSuccess:c,onError:d,width:e,height:f,quality:h},c,{width:a.width,height:a.height}),b.Wz(c.onSuccess,c.onError,c.width,c.height,c.quality)};EY.Uz=function(a,b,c,d,e,f,h,k){if(b=b?b.Ha():null)a=EY.ic(a,"image"),c=AX({onSuccess:c,onError:d,width:e,height:f,quality:h,forceTransparentWhite:k},c,{width:a.width,height:a.height}),b.Uz(c.onSuccess,c.onError,c.width,c.height,c.quality,c.forceTransparentWhite)};
EY.Yz=function(a,b,c,d,e,f){if(b=b?b.Ha():null)a=EY.ic(a,"image"),c=AX({onSuccess:c,onError:d,paperSize:e,width:e,landscape:f,height:f},c,{width:a.width,height:a.height}),b.Yz(c.onSuccess,c.onError,c.paperSize||c.width,c.landscape||c.height)};EY.Vz=function(a,b,c,d,e,f,h,k){if(b=b?b.Ha():null)a=EY.ic(a,"image"),c=AX({onSuccess:c,onError:d,paperSize:e,width:e,landscape:f,height:f,x:h,y:k},c,{width:a.width,height:a.height}),b.Vz(c.onSuccess,c.onError,c.paperSize||c.width,c.landscape||c.height,c.x,c.y)};
EY.print=function(a,b,c,d){if(a=b?b.Ha():null)c=AX({paperSize:c,landscape:d},c),a.print(c.paperSize,c.landscape)};
EY.cE=function(a,b,c,d,e,f){var h=EY.ic(a,"facebook"),k=AX({caption:c,link:d,name:e,description:f},c,h),l=$.fl.open("","_blank","scrollbars=yes, width=550, height=550, top="+Number(window.screen.height/2-275)+", left="+Number(window.screen.width/2-275));EY.ju(a,b,function(a){a={app_id:h.appId,display:"popup",picture:a};a.caption=k.caption;k.link&&(a.link=k.link,k.name&&(a.name=k.name),k.description&&(a.description=k.description));var b="",c;for(c in a)b+=b?"&":"",b+=c+"="+a[c];l.location.href="https://www.facebook.com/dialog/feed?"+
b},void 0,!1,h.width,h.height)};
EY.fE=function(a,b){var c=EY.ic(a,"twitter"),d=Number(window.screen.width/2-300),e=Number(window.screen.height/2-260);var f=$.Be(window.document,"INPUT","ac-share-twitter-data-input",void 0);if(0<f.length){var h=f[0];f=$.Be(window.document,"FORM","ac-share-twitter-form",void 0)[0]}else{f=$.Se(window.document,"FORM");$.Nj(f,"ac-share-twitter-form");f.target="Map";f.method="POST";f.action=c.url;h=$.Se(window.document,"INPUT");$.Nj(h,"ac-share-twitter-data-input");h.type="hidden";h.name="data";var k=
$.Se(window.document,"INPUT");k.type="hidden";k.name="dataType";k.value="svg";f.appendChild(h);f.appendChild(k);yX("BODY")[0].appendChild(f)}$.n(f)&&$.n(h)&&(h.value=EY.vq(a,b,c.width,c.height),$.fl.open("","Map","status=0,title=0,height=520,width=600,scrollbars=1, width=600, height=520, top="+e+", left="+d)&&f.submit())};
EY.dE=function(a,b,c,d){var e=EY.ic(a,"linkedin"),f=AX({caption:c,description:d},c,e),h=$.fl.open("","_blank","scrollbars=yes, width=550, height=520, top="+Number(window.screen.height/2-260)+", left="+Number(window.screen.width/2-275));EY.ju(a,b,function(a){a={mini:"true",url:a};a.title=f.caption;f.description&&(a.summary=f.description);var b="",c;for(c in a)b+=b?"&":"",b+=c+"="+a[c];h.location.href="https://www.linkedin.com/shareArticle?"+b},void 0,!1,e.width,e.height)};
EY.eE=function(a,b,c,d){var e=EY.ic(a,"pinterest"),f=AX({link:c,description:d},c,e),h=$.fl.open("","_blank","scrollbars=yes, width=550, height=520, top="+Number(window.screen.height/2-260)+", left="+Number(window.screen.width/2-275));EY.ju(a,b,function(a){a={media:a};f.link&&(a.url=f.link);f.description&&(a.description=f.description);var b="",c;for(c in a)b+=b?"&":"",b+=c+"="+a[c];h.location.href="https://pinterest.com/pin/create/link?"+b},void 0,!1,e.width,e.height)};$.F("anychart.exports",EY);
$.F("anychart.exports.server",EY.ka);}).call(this,$)}
if(!_.data_adapter){_.data_adapter=1;(function($){var Nga=function(a){try{return a.b?a.b.responseText:""}catch(b){return""}},MY=function(a,b,c,d,e,f,h,k,l){var m=Oga("fromXml",c,l);m&&(b=(0,$.pa)(MY.b,void 0,b,c,l,m),$.jY(a,b,d,e,f,h,k))},Oga=function(a,b,c){var d=$.fl.anychart;if(!d)return b&&b.call(c,500,"AnyChart in not present on the page."),null;d=d[a];return d?d:(b&&b.call(c,500,$.hc("anychart.%s is not available.",a)),null)},Pga=function(a){return[$.qY(a)||null]},Qga=function(a){try{var b=a.b?a.b.responseXML:null}catch(c){b=null}return[$.fl.anychart.utils.xml2json(b).data]},
Rga=function(a){a=$.qY(a);for(var b=a.feed.entry,c={title:a.feed.title.$t,rows:[]},d=0,e=b.length;d<e;d++){var f=b[d],h=f.gs$cell.$t,k=f.gs$cell.col-1;f=f.gs$cell.row-1;c.rows[f]||(c.rows[f]=[]);c.rows[f][k]=h}c.header=c.rows.shift();return[c,a]},Sga=function(a){return[Nga(a)]},NY=function(a,b,c,d,e){e=e.target;if($.oY(e)){try{var f=a(e)}catch(h){c&&c.call(d,500,h)}b.apply(d,f)}else c&&c.call(d,e.g,$.rY(e))};$.fl.anychart.exports||$.cl(4,null,["Exporting"]);
MY.b=function(a,b,c,d,e){e=e.target;if($.oY(e)){try{var f=d(Nga(e))}catch(h){b&&b.call(c,500,h)}a?$.z(a)?(f.container(a),f.draw()):$.E(a)&&a.call(c,f):f.container()&&f.draw()}else b&&b.call(c,e.g,$.rY(e))};$.F("anychart.fromXmlFile",MY);$.F("anychart.fromJsonFile",function(a,b,c,d,e,f,h,k,l){var m=Oga("fromJson",c,l);m&&(b=(0,$.pa)(MY.b,void 0,b,c,l,m),$.jY(a,b,d,e,f,h,k))});
$.F("anychart.data.parseHtmlTable",function(a,b,c,d,e,f){var h=window.document.querySelector(a||"table");a=null;var k;if(h){d=d||"tr:first-child th";c=c||"td, th";b=b||"tr";a={};(e=h.querySelector(e||"caption"))&&(k=f?f.call(void 0,e):e.innerText);k&&(a.title=k);var l=h.querySelectorAll(d),m=[];e=null;d=0;for(k=l.length;d<k;d++){var p=l[d];p&&!e&&(e=$.cf(p));m.push(f?f.call(void 0,p):p.innerText)}m.length&&(a.header=m);if((b=h.querySelectorAll(b))&&b.length){h=[];d=0;for(k=b.length;d<k;d++)if(m=b[d],
m!=e){l=[];if((m=m.querySelectorAll(c))&&m.length){p=0;for(var q=m.length;p<q;p++){var r=m[p];f?l.push(f.call(void 0,r)):l.push(r.innerText)}}l.length&&h.push(l)}a.rows=h}}return a});$.F("anychart.data.loadJsonFile",function(a,b,c,d,e,f,h,k,l){b=(0,$.pa)(NY,void 0,Pga,b,c,l);$.jY(a,b,d,e,f,h,k)});$.F("anychart.data.loadXmlFile",function(a,b,c,d,e,f,h,k,l){b=(0,$.pa)(NY,void 0,Qga,b,c,l);$.jY(a,b,d,e,f,h,k)});
$.F("anychart.data.loadCsvFile",function(a,b,c,d,e,f,h,k,l){b=(0,$.pa)(NY,void 0,Sga,b,c,l);$.jY(a,b,d,e,f,h,k)});
$.F("anychart.data.loadGoogleSpreadsheet",function(a,b,c,d,e){b=(0,$.pa)(NY,void 0,Rga,b,c,e);$.z(a)?(c=a,a="od6"):(c=a.key,a=$.n(a.sheet)?a.sheet:"od6");a=new $.EX("https://spreadsheets.google.com/feeds/cells/"+c+"/"+a+"/public/values");a.g.set("alt","json");c=Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^(0,$.Fn)()).toString(36);a.g.set("zx",c);$.jY(a.toString(),b,"GET",null,null,d)});}).call(this,$)}
if(!_.table){_.table=1;(function($){var ST=function(a,b){this.Y=a;this.Bf=b?QT:RT},TT=function(a){this.Y=a},UT=function(a){$.od.call(this);this.g=a;this.U=this.O=null},VT=function(a,b,c){UT.call(this,a);this.reset(b,c)},WT=function(a,b){UT.call(this,a);this.wd=b;this.b=null},XT=function(a,b){UT.call(this,a);this.wd=b;this.b=null},YT=function(a,b){$.Y.call(this);this.b=[];this.f=$.O(b,4);this.g=$.O(a,5);this.j=0;this.O=[];this.N=[];this.G=[];this.ba=[];this.U=[];this.D={fill:"none",cellBorder:"black",topPadding:0,rightPadding:0,bottomPadding:0,
leftPadding:0,hAlign:"start",vAlign:"top",enabled:!0,wordWrap:"break-word",wordBreak:"normal"};this.D.fill="#fff"},$T=function(a){if(a.J(2048)){var b=[],c=a.j?a.b.length/a.j:0,d,e,f=Math.min(c,a.g),h=Math.min(a.j,a.f);for(d=0;d<f;d++){for(e=0;e<h;e++)b.push(a.b[d*a.j+e]);for(e=h;e<a.f;e++)b.push(ZT(a,d,e));for(e=h;e<a.j;e++){var k=a,l=a.b[d*a.j+e];l.content(null);k.O.push(l)}}for(d=f;d<a.g;d++)for(e=0;e<a.f;e++)b.push(ZT(a,d,e));for(d=f;d<c;d++)for(e=0;e<a.j;e++)f=a,h=a.b[d*a.j+e],h.content(null),
f.O.push(h);a.b=b;a.j=window.NaN;a.I(2048);a.B(1984)}},bU=function(a){if(a.J(64)){var b=a.lb(),c=aU(a.f,a.G,a.Or,a.Nr,a.JK,a.IK,a.HK,b.width,a.U);b=aU(a.g,a.N,a.Ks,a.Js,a.PJ,a.OK,a.NK,b.height,a.ba);a.I(64);if(c||b)a.U=c||a.U,a.ba=b||a.ba,a.B(1792)}},dU=function(a,b,c,d,e,f,h){if(f&&"none"!=f){var k=(f.thickness?f.thickness:1)%2?.5:0;b=cU(a,b,c,d,e);c=$.Ll(f);c in a.Ru?a=a.Ru[c]:(d=a.Bn.length?a.Bn.pop():$.nk(),a.ub.fc(d),$.D(f)&&"keys"in f&&!$.D(f.mode)&&(f=$.Kl(f),f.mode=a.lb()),d.stroke(f),d.fill(null),
a=a.Ru[c]=d);switch(h){case 0:a.moveTo(b.qb(),b.bc()+k);a.lineTo(b.$a()+1,b.bc()+k);break;case 1:a.moveTo(b.$a()+k,b.bc());a.lineTo(b.$a()+k,b.Ua()+1);break;case 2:a.moveTo(b.qb(),b.Ua()+k);a.lineTo(b.$a()+1,b.Ua()+k);break;case 3:a.moveTo(b.qb()+k,b.bc()),a.lineTo(b.qb()+k,b.Ua()+1)}}},eU=function(a,b,c){if(b||c){var d;if((d=b&&b.jb("bottomBorder"))||(d=c&&c.jb("topBorder"))||(d=b&&b.jb("border"))||(d=c&&c.jb("border")))return d;if(a.En){var e=a.En[(b||window.NaN)&&b.f],f=a.En[(c||window.NaN)&&c.f];
if((d=e&&e.jb("bottomBorder"))||(d=f&&f.jb("topBorder"))||(d=e&&e.jb("border"))||(d=f&&f.jb("border"))||(d=e&&e.jb("cellBottomBorder"))||(d=f&&f.jb("cellTopBorder"))||(d=e&&e.jb("cellBorder"))||(d=f&&f.jb("cellBorder")))return d}if(e=a.dn&&a.dn[(b||c).D])if((d=!b&&(e.jb("topBorder")||e.jb("border"))||!c&&(e.jb("bottomBorder")||e.jb("border")))||(d=e.jb("cellBottomBorder"))||(d=e.jb("cellTopBorder"))||(d=e.jb("cellBorder"))||(d=e.jb("cellBorder")))return d;return(d=!b&&(a.jb("topBorder")||a.jb("border"))||
!c&&(a.jb("bottomBorder")||a.jb("border")))||(d=b&&a.jb("cellBottomBorder"))?d:(d=c&&a.jb("cellTopBorder"))?d:a.jb("cellBorder")||"none"}return"none"},fU=function(a,b,c){if(b||c){var d;if((d=b&&b.jb("rightBorder"))||(d=c&&c.jb("leftBorder"))||(d=b&&b.jb("border"))||(d=c&&c.jb("border")))return d;var e=a.En&&a.En[(b||c).f];if(e&&((d=!b&&(e.jb("leftBorder")||e.jb("border"))||!c&&(e.jb("rightBorder")||e.jb("border")))||(d=e.jb("cellRightBorder"))||(d=e.jb("cellLeftBorder"))||(d=e.jb("cellBorder"))||
(d=e.jb("cellBorder"))))return d;if(a.dn){e=a.dn[(b||window.NaN)&&b.D];var f=a.dn[(c||window.NaN)&&c.D];if((d=e&&e.jb("rightBorder"))||(d=f&&f.jb("leftBorder"))||(d=e&&e.jb("border"))||(d=f&&f.jb("border"))||(d=e&&e.jb("cellRightBorder"))||(d=f&&f.jb("cellLeftBorder"))||(d=e&&e.jb("cellBorder"))||(d=f&&f.jb("cellBorder")))return d}return(d=!b&&(a.jb("leftBorder")||a.jb("border"))||!c&&(a.jb("rightBorder")||a.jb("border")))||(d=b&&a.jb("cellRightBorder"))?d:(d=c&&a.jb("cellLeftBorder"))?d:a.jb("cellBorder")||
"none"}return"none"},gU=function(a,b,c){if($.n(c)){var d=!1;null===c?a.Ks&&b in a.Ks&&(delete a.Ks[b],d=!0):(a.Ks||(a.Ks=[]),a.Ks[b]!=c&&(a.Ks[b]=c,d=!0));d&&a.B(64,1);return a}return a.Ks&&b in a.Ks?a.Ks[b]:null},hU=function(a,b,c){if($.n(c)){var d=!1;null===c?a.Js&&b in a.Js&&(delete a.Js[b],d=!0):(a.Js||(a.Js=[]),a.Js[b]!=c&&(a.Js[b]=c,d=!0));d&&a.B(64,1);return a}return a.Js&&b in a.Js?a.Js[b]:null},iU=function(a,b,c){return $.n(c)?(a.G[b]!=c&&(null===c?delete a.G[b]:a.G[b]=c,a.B(64,1)),a):b in
a.G?a.G[b]:null},jU=function(a,b,c){if($.n(c)){var d=!1;null===c?a.Or&&b in a.Or&&(delete a.Or[b],d=!0):(a.Or||(a.Or=[]),a.Or[b]!=c&&(a.Or[b]=c,d=!0));d&&a.B(64,1);return a}return a.Or&&b in a.Or?a.Or[b]:null},kU=function(a,b,c){if($.n(c)){var d=!1;null===c?a.Nr&&b in a.Nr&&(delete a.Nr[b],d=!0):(a.Nr||(a.Nr=[]),a.Nr[b]!=c&&(a.Nr[b]=c,d=!0));d&&a.B(64,1);return a}return a.Nr&&b in a.Nr?a.Nr[b]:null},cU=function(a,b,c,d,e,f){$T(a);bU(a);var h=a.lb();f=$.K(f,$.J)?f:new $.J(0,0,0,0);var k=a.U[c-1]+1||
0;c=a.U[Math.min(c+e,a.f)-1];f.width=c-k;f.left=h.left+k;k=a.ba[b-1]+1||0;c=a.ba[Math.min(b+d,a.g)-1];f.height=c-k;f.top=h.top+k;return f},aU=function(a,b,c,d,e,f,h,k,l){var m,p=!1,q=0,r=[],t=[],u=[],v=0;e=$.M(e,k);f=$.M(f,k);h=$.M(h,k);var w=!1;for(m=0;m<a;m++){var x=c?$.M(c[m],k):window.NaN;var y=d?$.M(d[m],k):window.NaN;var B=b[m];var G=x,C=y;B=$.M(B,k);G=$.M(G,k);C=$.M(C,k);(0,window.isNaN)(B)&&(B=e);(0,window.isNaN)(G)&&(G=f);(0,window.isNaN)(C)&&(C=h);(0,window.isNaN)(G)||(B=Math.max(B,G));
(0,window.isNaN)(C)||(B=Math.min(B,C));(0,window.isNaN)(B)?(v++,(0,window.isNaN)(x)?(0,window.isNaN)(f)||(t[m]=f,w=!0):(t[m]=x,w=!0),(0,window.isNaN)(y)?(0,window.isNaN)(h)||(u[m]=h,w=!0):(u[m]=y,w=!0)):(q+=B,r[m]=B)}if(w&&0<v){var I=[];c=v*v;do for(d=!1,b=Math.max(3*v,k-q)/v,m=0;m<a;m++)if(!(m in r))if(m in I){if(I[m]==t[m]&&t[m]<b){q-=t[m];v++;delete I[m];d=!0;break}if(I[m]==u[m]&&u[m]>b){q-=u[m];v++;delete I[m];d=!0;break}}else{if(m in t&&t[m]>b){q+=I[m]=t[m];v--;d=!0;break}if(m in u&&u[m]<b){q+=
I[m]=u[m];v--;d=!0;break}}while(d&&0<v&&c--)}t=0;u=[];b=Math.max(3*v,k-q)/v;for(m=0;m<a;m++)m in r?B=r[m]:I&&m in I?B=I[m]:B=b,t+=B,k=Math.round(t)-1,u[m]=k,k!=l[m]&&(p=!0);return p?u:null},ZT=function(a,b,c){return a.O.length?a.O.pop().reset(b,c):new VT(a,b,c)},lU=function(a,b,c,d,e,f){return c.j&&c.j[b]||d&&d.j&&d.j[b]||e&&e.j&&e.j[b]||a.D&&a.D[b]||f},mU=function(a,b){YT.call(this,a,b)};$.gx.prototype.Qt=$.ca(13,function(){return!0});$.nx.prototype.Qt=$.ca(12,function(){return!1});
var RT=["topBorder","rightBorder","bottomBorder","leftBorder"],QT=["cellTopBorder","cellRightBorder","cellBottomBorder","cellLeftBorder"];ST.prototype.top=function(a,b,c,d,e){null!=a&&(a=$.Yb.apply(null,arguments));return this.Y.jb(this.Bf[0],a,256)};ST.prototype.right=function(a,b,c,d,e){null!=a&&(a=$.Yb.apply(null,arguments));return this.Y.jb(this.Bf[1],a,256)};ST.prototype.bottom=function(a,b,c,d,e){null!=a&&(a=$.Yb.apply(null,arguments));return this.Y.jb(this.Bf[2],a,256)};
ST.prototype.left=function(a,b,c,d,e){null!=a&&(a=$.Yb.apply(null,arguments));return this.Y.jb(this.Bf[3],a,256)};var nU=ST.prototype;nU.top=nU.top;nU.right=nU.right;nU.bottom=nU.bottom;nU.left=nU.left;var oU=["topPadding","rightPadding","bottomPadding","leftPadding"];TT.prototype.top=function(a){$.n(a)&&(a=$.uo(a)||0);return this.Y.jb(oU[0],a,1024)};TT.prototype.right=function(a){$.n(a)&&(a=$.uo(a)||0);return this.Y.jb(oU[1],a,1024)};TT.prototype.bottom=function(a){$.n(a)&&(a=$.uo(a)||0);return this.Y.jb(oU[2],a,1024)};TT.prototype.left=function(a){$.n(a)&&(a=$.uo(a)||0);return this.Y.jb(oU[3],a,1024)};var pU=TT.prototype;pU.top=pU.top;pU.right=pU.right;pU.bottom=pU.bottom;pU.left=pU.left;$.H(UT,$.od);$.g=UT.prototype;$.g.jb=function(a,b,c){if($.n(a)){if($.n(b)){var d=!1;null===b?this.j&&this.j[a]&&(delete this.j[a],d=!0):(this.j||(this.j={}),this.j[a]!=b&&(this.j[a]=b,d=!0));d&&this.g.B(+c||1024,1);return this}return this.j&&this.j[a]}return this.j||{}};$.g.fontSize=function(a){$.n(a)&&(a=$.uo(a));return this.jb("fontSize",a)};$.g.fontFamily=function(a){$.n(a)&&(a=String(a));return this.jb("fontFamily",a)};$.g.Naa=function(a){$.n(a)&&(a=String(a));return this.jb("fontColor",a)};
$.g.Paa=function(a){$.n(a)&&(a=$.Za(+a,0,1));return this.jb("fontOpacity",a)};$.g.Oaa=function(a){$.n(a)&&(a=$.Wk(a));return this.jb("fontDecoration",a)};$.g.fontStyle=function(a){$.n(a)&&(a=$.Xk(a));return this.jb("fontStyle",a)};$.g.fontVariant=function(a){$.n(a)&&(a=$.Yk(a));return this.jb("fontVariant",a)};$.g.fontWeight=function(a){$.n(a)&&(a=$.uo(a));return this.jb("fontWeight",a)};$.g.letterSpacing=function(a){$.n(a)&&(a=$.uo(a));return this.jb("letterSpacing",a)};
$.g.Qaa=function(a){$.n(a)&&(a=$.Zk(a));return this.jb("textDirection",a)};$.g.textShadow=function(a){$.n(a)&&(a=$.ac(a));return this.jb("textShadow",a)};$.g.lineHeight=function(a){$.n(a)&&(a=$.uo(a));return this.jb("lineHeight",a)};$.g.textIndent=function(a){$.n(a)&&(a=(0,window.parseFloat)($.uo(a)));return this.jb("textIndent",a)};$.g.vAlign=function(a){$.n(a)&&(a=$.Vk(a));return this.jb("vAlign",a)};$.g.km=function(a){$.n(a)&&(a=$.Uk(a));return this.jb("hAlign",a)};
$.g.wordWrap=function(a){return this.jb("wordWrap",a)};$.g.wu=function(a){return this.jb("wordBreak",a)};$.g.textOverflow=function(a){$.n(a)&&(a=String(a));return this.jb("textOverflow",a)};$.g.rm=function(a){$.n(a)&&(a=!!a);return this.jb("selectable",a)};$.g.td=function(a){$.n(a)&&(a=!!a);return this.jb("disablePointerEvents",a)};$.g.Raa=function(a){$.n(a)&&(a=!!a);return this.jb("useHtml",a)};
$.g.Maa=function(a,b,c,d,e){if($.n(a)){null===a||(a=$.Yb.apply(null,arguments));$.V(this.g);this.jb("border",a,256);for(var f=0;4>f;f++)this.jb(RT[f],null,256);this.g.da(!0);return this}return this.O||(this.O=new ST(this,!1))};
$.g.CV=function(a,b,c,d){if($.n(a)){var e,f,h;if($.A(a)){var k=a;a=k[0];b=k[1];c=k[2];d=k[3];k=k.length}else k=arguments.length;if(k)$.D(a)?(e=$.uo(a.top)||0,f=$.uo(a.right)||0,h=$.uo(a.bottom)||0,l=$.uo(a.left)||0):1==k?l=h=f=e=$.uo(a)||0:2==k?(h=e=$.uo(a)||0,l=f=$.uo(b)||0):3==k?(e=$.uo(a)||0,l=f=$.uo(b)||0,h=$.uo(c)||0):4<=k&&(e=$.uo(a)||0,f=$.uo(b)||0,h=$.uo(c)||0,l=$.uo(d)||0);else var l=h=f=e=0;$.V(this.g);this.jb(oU[0],e,1024);this.jb(oU[1],f,1024);this.jb(oU[2],h,1024);this.jb(oU[3],l,1024);
this.g.da(!0);return this}return this.U||(this.U=new TT(this))};var qU=UT.prototype;qU.fontSize=qU.fontSize;qU.fontFamily=qU.fontFamily;qU.fontColor=qU.Naa;qU.fontOpacity=qU.Paa;qU.fontDecoration=qU.Oaa;qU.fontStyle=qU.fontStyle;qU.fontVariant=qU.fontVariant;qU.fontWeight=qU.fontWeight;qU.letterSpacing=qU.letterSpacing;qU.textDirection=qU.Qaa;qU.lineHeight=qU.lineHeight;qU.textIndent=qU.textIndent;qU.vAlign=qU.vAlign;qU.hAlign=qU.km;qU.wordWrap=qU.wordWrap;qU.wordBreak=qU.wu;qU.textOverflow=qU.textOverflow;
qU.selectable=qU.rm;qU.disablePointerEvents=qU.td;qU.useHtml=qU.Raa;qU.border=qU.Maa;$.H(VT,UT);$.g=VT.prototype;$.g.reset=function(a,b){($.ea(this.Cd)||$.z(this.Cd))&&$.qd(this.Uh);this.G=this.N=1;this.f=a;this.D=b;this.Uh=this.Cd=null;this.b=window.NaN;delete this.j;return this};
$.g.content=function(a){if($.n(a)){if(this.Cd!=a){this.Cd=a;this.Uh&&this.g.vF(this.Uh);if($.ea(a)||$.z(a)){var b=this.g;b.eh||(b.eh=new $.Du,b.eh.K($.mm("standalones.labelsFactory")),b.eh.anchor("center"),b.eh.position("center"));this.Uh=b.eh.add({value:String(a)},{value:{x:0,y:0}})}else $.K(a,$.hg)?(this.Uh=$.lk(),this.Uh.fc(a)):this.Uh=a;this.g.B(1024,1)}return this}return this.Cd};$.g.ex=function(a){return $.n(a)?(a=$.O(a,this.G),a!=this.G&&(this.G=a,this.g.B(128,1)),this):this.G};
$.g.gx=function(a){return $.n(a)?(a=$.O(a,this.N),a!=this.N&&(this.N=a,this.g.B(128,1)),this):this.N};$.g.Uaa=function(){return this.f};$.g.Taa=function(){return this.D};$.g.qn=function(){return this.g.qn(this.f)};$.g.Saa=function(){return this.g.lZ(this.D)};$.g.pb=function(){return cU(this.g,this.f,this.D,this.N,this.G)};$.g.fill=function(a,b,c,d,e,f,h){null!=a&&(a=$.Vb.apply(null,arguments));return this.jb("fill",a,512)};$.g.padding=function(a,b,c,d){return this.CV.apply(this,arguments)};
$.g.R=function(){($.ea(this.Cd)||$.z(this.Cd))&&$.qd(this.Uh);VT.u.R.call(this)};var rU=VT.prototype;rU.content=rU.content;rU.rowSpan=rU.gx;rU.colSpan=rU.ex;rU.padding=rU.padding;rU.getBounds=rU.pb;rU.getRowNum=rU.Uaa;rU.getColNum=rU.Taa;rU.getRow=rU.qn;rU.getCol=rU.Saa;rU.fill=rU.fill;$.H(WT,UT);$.g=WT.prototype;$.g.Yaa=function(){return this.wd};$.g.Xaa=function(a){return this.g.lz(a,this.wd)};$.g.width=function(a){return $.n(a)?(iU(this.g,this.wd,a),this):iU(this.g,this.wd)};$.g.minWidth=function(a){return $.n(a)?(jU(this.g,this.wd,a),this):jU(this.g,this.wd)};$.g.maxWidth=function(a){return $.n(a)?(kU(this.g,this.wd,a),this):kU(this.g,this.wd)};$.g.nZ=function(a,b,c,d,e,f,h){null!=a&&(a=$.Vb.apply(null,arguments));return this.jb("fill",a,512)};
$.g.Vaa=function(a,b,c,d,e){if($.n(a)){null===a||(a=$.Yb.apply(null,arguments));$.V(this.g);this.jb("cellBorder",a,256);for(var f=0;4>f;f++)this.jb(QT[f],null,256);this.g.da(!0);return this}return this.b||(this.b=new ST(this,!0))};$.g.Waa=function(a,b,c,d){return this.CV.apply(this,arguments)};var sU=WT.prototype;sU.width=sU.width;sU.maxWidth=sU.maxWidth;sU.minWidth=sU.minWidth;sU.getCell=sU.Xaa;sU.getColNum=sU.Yaa;sU.cellFill=sU.nZ;sU.cellBorder=sU.Vaa;sU.cellPadding=sU.Waa;$.H(XT,UT);$.g=XT.prototype;$.g.bba=function(){return this.wd};$.g.aba=function(a){return this.g.lz(this.wd,a)};$.g.height=function(a){return $.n(a)?(this.g.T3(this.wd,a),this):this.g.T3(this.wd)};$.g.minHeight=function(a){return $.n(a)?(gU(this.g,this.wd,a),this):gU(this.g,this.wd)};$.g.maxHeight=function(a){return $.n(a)?(hU(this.g,this.wd,a),this):hU(this.g,this.wd)};$.g.oZ=function(a,b,c,d,e,f,h){null!=a&&(a=$.Vb.apply(null,arguments));return this.jb("fill",a,512)};
$.g.Zaa=function(a,b,c,d,e){if($.n(a)){null===a||(a=$.Yb.apply(null,arguments));$.V(this.g);this.jb("cellBorder",a,256);for(var f=0;4>f;f++)this.jb(QT[f],null,256);this.g.da(!0);return this}return this.b||(this.b=new ST(this,!0))};$.g.$aa=function(a,b,c,d){return this.CV.apply(this,arguments)};var tU=XT.prototype;tU.height=tU.height;tU.maxHeight=tU.maxHeight;tU.minHeight=tU.minHeight;tU.getCell=tU.aba;tU.getRowNum=tU.bba;tU.cellFill=tU.oZ;tU.cellBorder=tU.Zaa;tU.cellPadding=tU.$aa;$.H(YT,$.iu);$.g=YT.prototype;$.g.qa=$.iu.prototype.qa;$.g.sa=$.iu.prototype.sa|4032;$.g.eh=null;$.g.ub=null;$.g.fF=null;$.g.Ru=null;$.g.ov=null;$.g.Bn=null;$.g.eC=null;$.g.jZ=null;$.g.kZ=null;$.g.mZ=null;$.g.En=null;$.g.dn=null;$.g.Ks=null;$.g.Js=null;$.g.Or=null;$.g.Nr=null;$.g.PJ=null;$.g.OK=null;$.g.NK=null;$.g.JK=null;$.g.IK=null;$.g.HK=null;$.g.eW=function(a){return $.n(a)?(a=$.O(a,this.g),this.g!=a&&((0,window.isNaN)(this.j)&&(this.j=this.f),this.g=a,this.B(2176,1)),this):this.g};
$.g.dR=function(a){return $.n(a)?(a=$.O(a,this.f),this.f!=a&&((0,window.isNaN)(this.j)&&(this.j=this.f),this.f=a,this.B(2176,1)),this):this.f};$.g.lz=function(a,b){$T(this);a=$.O(a,window.NaN,!0);b=$.O(b,window.NaN,!0);return this.b[a*this.f+b]||null};$.g.qn=function(a){$T(this);a=$.O(a,window.NaN,!0);if((0,window.isNaN)(a)||a>=this.g)return null;this.En||(this.En=[]);a in this.En||(this.En[a]=new XT(this,a));return this.En[a]};
$.g.lZ=function(a){$T(this);a=$.O(a,window.NaN,!0);if((0,window.isNaN)(a)||a>=this.f)return null;this.dn||(this.dn=[]);a in this.dn||(this.dn[a]=new WT(this,a));return this.dn[a]};$.g.Lha=function(a){return $.n(a)?(this.PJ!=a&&(this.PJ=a,this.B(64,1)),this):this.PJ};$.g.Nha=function(a){return $.n(a)?(this.OK!=a&&(this.OK=a,this.B(64,1)),this):this.OK};$.g.Mha=function(a){return $.n(a)?(this.NK!=a&&(this.NK=a,this.B(64,1)),this):this.NK};
$.g.Mba=function(a){return $.n(a)?(this.JK!=a&&(this.JK=a,this.B(64,1)),this):this.JK};$.g.Lba=function(a){return $.n(a)?(this.IK!=a&&(this.IK=a,this.B(64,1)),this):this.IK};$.g.Kba=function(a){return $.n(a)?(this.HK!=a&&(this.HK=a,this.B(64,1)),this):this.HK};$.g.Daa=function(a,b,c,d,e){if($.n(a)){null===a||(a=$.Yb.apply(null,arguments));$.V(this);this.jb("border",a,256);for(var f=0;4>f;f++)this.jb(RT[f],null,256);this.da(!0);return this}return this.jZ||(this.jZ=new ST(this,!1))};
$.g.Qba=function(a,b){var c;if($.n(a)){var d=!$.A(a);var e=0;if(!d){var f=a.length;for(c=0;c<f;c++){var h=a[c];if($.A(h))h.length>e&&(e=h.length);else{d=!0;break}}}if(!d&&f&&e){$.V(this);this.eW(f);this.dR(e);if(b)for(c=0;c<f;c++)for(d=0;d<e;d++){var k=this.lz(c,d);k.gx(1);k.ex(1)}for(c=0;c<f;c++)for(h=a[c],d=0;d<e;d++){k=this.lz(c,d);var l=h[d];k.content($.n(l)?l:null)}this.da(!0)}else $.cl(3);return this}e=[];for(c=0;c<this.g;c++){h=[];for(d=0;d<this.f;d++)h.push(this.lz(c,d).content());e.push(h)}return e};
$.g.$=function(){if(!this.Bc())return this;this.ub||(this.ub=$.lk(),$.du(this,this.ub),this.fF=this.ub.Dd());var a=this.ub.Ha(),b=a&&!a.ff();b&&a.suspend();this.J(4)&&(this.B(64),($.oo(this.left())||$.oo(this.top()))&&this.B(1792),this.I(4));this.eh&&$.V(this.eh);$T(this);bU(this);if(this.J(128)){var c,d;for(c=0;c<this.b.length;c++)this.b[c].b=window.NaN;for(var e=0;e<this.g;e++)for(var f=0;f<this.f;f++){var h=e*this.f+f,k=this.b[h];if((0,window.isNaN)(k.b)&&(1<k.ex()||1<k.gx())){for(c=Math.min(this.g,
e+k.gx());c-- >e;)for(d=Math.min(this.f,f+k.ex());d-- >f;)this.b[c*this.f+d].b=h;k.b=window.NaN}}this.I(128);this.B(1792)}if(this.J(512)){this.Bn||(this.Bn=[]);if(this.ov)for(var l in this.ov)c=this.ov[l],c.clear(),c.parent(null),this.Bn.push(c),delete this.ov[l];else this.ov={};for(l=0;l<this.g;l++)for(c=0;c<this.f;c++)if(f=this.b[l*this.f+c],(0,window.isNaN)(f.b)){var m=cU(this,l,c,f.gx(),f.ex(),m);d=l;e=c;d=(f=f.fill())?f:(f=this.En&&this.En[d]&&this.En[d].oZ())?f:(f=this.dn&&this.dn[e]&&this.dn[e].nZ())?
f:(f=d%2?this.W3():this.S3())?f:this.jb("fill");d&&(e=$.Ll(d),e in this.ov?d=this.ov[e]:(f=this.Bn.length?this.Bn.pop():$.nk(),this.ub.og(f,0),f.fill(d),f.stroke(null),d=this.ov[e]=f),e=m.qb(),f=m.$a()+1,h=m.bc(),k=m.Ua()+1,d.moveTo(e,h),d.lineTo(f,h),d.lineTo(f,k),d.lineTo(e,k),d.close())}this.I(512)}if(this.J(256)){this.Bn||(this.Bn=[]);if(this.Ru)for(var p in this.Ru)m=this.Ru[p],m.clear(),m.parent(null),this.Bn.push(m),delete this.Ru[p];else this.Ru={};for(m=0;m<this.f;m++)l=this.b[m],(0,window.isNaN)(l.b)&&
dU(this,0,m,1,l.ex(),eU(this,void 0,l),0);for(p=0;p<this.g;p++)l=this.b[p*this.f],(0,window.isNaN)(l.b)&&dU(this,p,0,l.gx(),1,fU(this,void 0,l),3);for(p=0;p<this.g;p++)for(m=0;m<this.f;m++)d=p*this.f+m,l=this.b[d],(c=this.b[d+this.f])?(0,window.isNaN)(l.b)?(0,window.isNaN)(c.b)||(c.b==d?l=c=void 0:c=this.b[c.b]):(0,window.isNaN)(c.b)?l=this.b[l.b]:l.b==c.b?l=c=void 0:(l=this.b[l.b],c=this.b[c.b]):(0,window.isNaN)(l.b)||(l=this.b[l.b]),dU(this,p,m,1,1,eU(this,l,c),2),d=p*this.f+m,l=this.b[d],(c=m+
1==this.f?void 0:this.b[d+1])?(0,window.isNaN)(l.b)?(0,window.isNaN)(c.b)||(c.b==d?l=c=void 0:c=this.b[c.b]):(0,window.isNaN)(c.b)?l=this.b[l.b]:l.b==c.b?l=c=void 0:(l=this.b[l.b],c=this.b[c.b]):(0,window.isNaN)(l.b)||(l=this.b[l.b]),dU(this,p,m,1,1,fU(this,l,c),1);this.I(256)}if(this.J(1024)){if(this.eC)for(;this.eC.length;){var q=this.eC.pop();$.K(q,$.hg)?q.remove():($.V(q),$.K(q,$.Hu)?(f=q,$.Nu(f)&&$.Nu(f).clear(f.la())):$.K(q,$.Qx)?(d=q,$.Rx(d)&&$.Rx(d).clear(d.la())):$.K(q,$.Y)&&(q.Qt&&q.Qt()&&
(d=q,d.oz(d.V2)),q.P(null),q.remove()),$.Zq(q,this.BT),q.da(!1))}p=this.g*this.f;for(m=0;m<p;m++)d=this.b[m],!(0,window.isNaN)(d.b)&&(q=d.Uh)&&($.K(q,$.Eg)?(q.Ki(),$.qd(q)):($.V(q),$.Zq(q,this.BT),$.K(q,$.Hu)||$.K(q,$.Qx)?q.enabled(!1):q.Qt&&q.Qt()&&(d=q,d.oz(d.V2)),q.P(null),q.remove(),q.da(!1)));p=new $.tu;$.V(p);for(m=0;m<this.g;m++)for(l=0;l<this.f;l++)if(d=this.b[m*this.f+l],q=d.Uh,c=$.K(q,$.hg),q){e=this.En&&this.En[m];h=this.dn&&this.dn[l];c||$.V(q);if((0,window.isNaN)(d.b)){var r=cU(this,
m,l,d.gx(),d.ex(),r);p.top(this.KL("topPadding",d,e,h,this));p.right(this.KL("rightPadding",d,e,h,this));p.bottom(this.KL("bottomPadding",d,e,h,this));p.left(this.KL("leftPadding",d,e,h,this));r=p.nj(r);if(c){q.parent(this.fF);f=q.od(0);var t=lU(this,"hAlign",d,e,h,"start");k=lU(this,"vAlign",d,e,h,"top");"start"==t?t="rtl"==lU(this,"textDirection",d,e,h,"rtl")?"right":"left":"end"==t&&(t="rtl"==lU(this,"textDirection",d,e,h,"rtl")?"left":"right");switch(t){case "right":d=r.left+r.width-f.HS();break;
case "center":d=r.left+(r.width-f.HS())/2;break;default:d=r.left}switch(k){case "bottom":e=r.top+r.height-f.GS();break;case "middle":e=r.top+(r.height-f.GS())/2;break;default:e=r.top}f.setPosition(d,e);q.clip(r)}else{q.P(this.fF);if($.K(q,$.Hu))if(f=q,f.uc({value:{x:r.left,y:r.top}}),$.Nu(f)==this.eh){f.anchor("left-top");f.width(r.width);f.height(r.height);(q=h&&h.j)&&f.K(q);(q=e&&e.j)&&f.K(q);(q=d.j)&&f.K(q);f.da(!1);continue}else e=f.i("position")||$.Ou(f)&&$.Ou(f).i("position")||$.Nu(f)&&$.Nu(f).i("position"),
e={value:$.xo(r,e)},f.uc(e),f.$();else $.K(q,$.Qx)?(d=q,e=d.i("position")||$.Sx(d)&&$.Sx(d).i("position")||$.Rx(d)&&$.Rx(d).i("position"),e={value:$.xo(r,e)},d.uc(e),d.$()):$.K(q,$.Y)&&(q.Qt&&q.Qt()&&(d=q,d.V2=d.oz(),d.oz(!1)),d=q,d.ja(r),d.$&&d.$());$.L(q,this.BT)}}c||q.da(!1)}p.da(!1);this.eh&&($.V(this.eh),this.eh.K(this.D),this.eh.P(this.fF),this.eh.ja(this.lb()),this.eh.$(),this.eh.da(!1));this.I(1024)}this.eh&&this.eh.da(!1);this.J(8)&&(this.ub.zIndex(this.zIndex()),this.I(8));this.J(2)&&(this.ub.parent(this.P()),
this.I(2));this.Zj||this.contextMenu({Pna:!0,enabled:!0});b&&a.resume();return this};$.g.bh=function(a){return"contextmenu"==a.type?this.dispatchEvent(a):!1};$.g.remove=function(){this.ub&&this.ub.parent(null)};$.g.fontSize=function(a){$.n(a)&&(a=$.uo(a));return this.jb("fontSize",a)};$.g.fontFamily=function(a){$.n(a)&&(a=String(a));return this.jb("fontFamily",a)};$.g.Haa=function(a){$.n(a)&&(a=String(a));return this.jb("fontColor",a)};
$.g.Jaa=function(a){$.n(a)&&(a=$.Za(+a,0,1));return this.jb("fontOpacity",a)};$.g.Iaa=function(a){$.n(a)&&(a=$.Wk(a));return this.jb("fontDecoration",a)};$.g.fontStyle=function(a){$.n(a)&&(a=$.Xk(a));return this.jb("fontStyle",a)};$.g.fontVariant=function(a){$.n(a)&&(a=$.Yk(a));return this.jb("fontVariant",a)};$.g.fontWeight=function(a){$.n(a)&&(a=$.uo(a));return this.jb("fontWeight",a)};$.g.letterSpacing=function(a){$.n(a)&&(a=$.uo(a));return this.jb("letterSpacing",a)};
$.g.Kaa=function(a){$.n(a)&&(a=$.Zk(a));return this.jb("textDirection",a)};$.g.textShadow=function(a){$.n(a)&&(a=$.ac(a));return this.jb("textShadow",a)};$.g.lineHeight=function(a){$.n(a)&&(a=$.uo(a));return this.jb("lineHeight",a)};$.g.textIndent=function(a){$.n(a)&&(a=(0,window.parseFloat)($.uo(a)));return this.jb("textIndent",a)};$.g.vAlign=function(a){$.n(a)&&(a=$.Vk(a));return this.jb("vAlign",a)};$.g.km=function(a){$.n(a)&&(a=$.Uk(a));return this.jb("hAlign",a)};
$.g.wu=function(a){return this.jb("wordBreak",a)};$.g.wordWrap=function(a){return this.jb("wordWrap",a)};$.g.textOverflow=function(a){$.n(a)&&(a=String(a));return this.jb("textOverflow",a)};$.g.rm=function(a){$.n(a)&&(a=!!a);return this.jb("selectable",a)};$.g.td=function(a){$.n(a)&&(a=!!a);return this.jb("disablePointerEvents",a)};$.g.Laa=function(a){$.n(a)&&(a=!!a);return this.jb("useHtml",a)};$.g.Faa=function(a,b,c,d,e,f,h){null!=a&&(a=$.Vb.apply(null,arguments));return this.jb("fill",a,512)};
$.g.W3=function(a,b,c,d,e,f,h){null!=a&&(a=$.Vb.apply(null,arguments));return this.jb("rowOddFill",a,512)};$.g.S3=function(a,b,c,d,e,f,h){null!=a&&(a=$.Vb.apply(null,arguments));return this.jb("rowEvenFill",a,512)};$.g.Eaa=function(a,b,c,d,e){if($.n(a)){a=$.Yb.apply(null,arguments);$.V(this);this.jb("cellBorder",a,256);for(var f=0;4>f;f++)this.jb(QT[f],null,256);this.da(!0);return this}return this.kZ||(this.kZ=new ST(this,!0))};
$.g.Gaa=function(a,b,c,d){if($.n(a)){var e,f,h;if($.A(a)){var k=a;a=k[0];b=k[1];c=k[2];d=k[3];k=k.length}else k=arguments.length;if(k)$.D(a)?(e=$.uo(a.top)||0,f=$.uo(a.right)||0,h=$.uo(a.bottom)||0,l=$.uo(a.left)||0):1==k?l=h=f=e=$.uo(a)||0:2==k?(h=e=$.uo(a)||0,l=f=$.uo(b)||0):3==k?(e=$.uo(a)||0,l=f=$.uo(b)||0,h=$.uo(c)||0):4<=k&&(e=$.uo(a)||0,f=$.uo(b)||0,h=$.uo(c)||0,l=$.uo(d)||0);else var l=h=f=e=0;$.V(this);this.jb(oU[0],e,1024);this.jb(oU[1],f,1024);this.jb(oU[2],h,1024);this.jb(oU[3],l,1024);
this.da(!0);return this}return this.mZ||(this.mZ=new TT(this))};$.g.BT=function(a){$.E(a.target.$)&&a.target.$()};$.g.jb=function(a,b,c){if($.n(a)){if($.n(b)){var d=!1;null===b?this.D[a]&&(delete this.D[a],d=!0):this.D[a]!=b&&(this.D[a]=b,d=!0);d&&this.B(+c||1024,1);return this}return this.D&&this.D[a]}return this.D||{}};$.g.T3=function(a,b){return $.n(b)?(this.N[a]!=b&&(null===b?delete this.N[a]:this.N[a]=b,this.B(64,1)),this):a in this.N?this.N[a]:null};$.g.vF=function(a){this.eC=this.eC||[];this.eC.push(a)};
$.g.KL=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d&&(d=d.jb(a),null!=d))return d}return 0};$.g.R=function(){$.td(this.b,this.O,this.En,this.dn,this.ov,this.Ru,this.Bn);$.qd(this.eh);$.qd(this.ub);$.qd(this.fF);$.qd(this.Zj);delete this.D;YT.u.R.call(this)};$.g.dG=function(a){var b=$.fa.anychart.exports;b?this.wt||(this.wt=b.create()):$.cl(4,null,["Exporting"]);return $.n(a)&&this.wt?(this.wt.X(a),this):this.wt};
$.g.qk=function(a){var b=$.D(a)?a:{};a=b.rowsSeparator||"\n";$.Zo(a);var c=b.columnsSeparator||",";$.Zo(c);b=b.ignoreFirstRow||!1;var d=this.eW(),e=this.dR(),f,h,k,l=Array(d);for(f=0;f<d;f++)l[f]=Array(e);var m={},p=[];for(f=0;f<d;f++){for(h=0;h<e;h++)if(!(f*e+h in m)){var q=this.lz(f,h);var r=q.content();r=$.z(r)||$.ea(r)||$.da(r)?String(r):"";-1!=r.indexOf(c)?(r=r.split('"').join('""'),r='"'+r+'"'):-1!=r.indexOf(a)&&(r=r.split('"').join('""'),r='"'+r+'"');l[f][h]=r;r=q.ex();var t=q.gx();if(2!=t+
r)for(q=0;q<t;q++)for(k=0;k<r;k++)if(0!=q||0!=k)l[f+q][h+k]="",m[(f+q)*e+(h+k)]=!0}p.push(l[f].join(c))}b&&p.shift();return p.join(a)};$.g.Fy=function(a){var b=$.fl.anychart.exports;if(b){var c=this.qk({rowsSeparator:"\n",columnsSeparator:",",ignoreFirstRow:!1});b.Fy(this,c,a)}else $.cl(4,null,["Exporting"])};$.g.Ey=function(a,b){var c=$.fl.anychart.exports;if(c){var d=this.qk(a);c.Ey(this,d,b)}else $.cl(4,null,["Exporting"])};$.H(mU,YT);$.ju(mU,YT);
YT.prototype.contextMenu=function(a){!this.Zj&&(this.Zj=$.fl.anychart.ui.contextMenu(!0))&&(this.Zj.itemsProvider(this.iR),this.Zj.attach(this));return $.n(a)?(this.Zj&&this.Zj.setup(a),this):this.Zj};YT.prototype.iR=function(a){var b={};$.fl.anychart.exports&&$.Sc(b,$.Kl(uU.exporting));$.Qj()&&a.menuParent&&$.Sc(b,$.Kl(uU[a.menuParent.fullScreen()?"full-screen-exit":"full-screen-enter"]));$.Sc(b,$.Kl(uU.main));return a.menuParent.Hw(b,a)};YT.prototype.Hw=function(a){return a};
var vU={"save-table-as":{index:10,text:"Save table as...",iconClass:"ac ac-file-image-o",subMenu:{"save-table-as-png":{index:10,text:".png",iconClass:"ac ac-file-image-o",eventType:"anychart.saveAsPng",action:function(a){a.menuParent.gu()}},"save-table-as-jpg":{index:20,text:".jpg",iconClass:"ac ac-file-image-o",eventType:"anychart.saveAsJpg",action:function(a){a.menuParent.xw()}},"save-table-as-pdf":{index:30,text:".pdf",iconClass:"ac ac-file-pdf-o",eventType:"anychart.saveAsPdf",action:function(a){a.menuParent.yw()}},
"save-table-as-svg":{index:40,text:".svg",iconClass:"ac ac-file-code-o",eventType:"anychart.saveAsSvg",action:function(a){a.menuParent.zw()}}}},"save-data-as":{index:20,text:"Save data as...",iconClass:"ac ac-save",subMenu:{"save-data-as-text":{index:10,text:".csv",iconClass:"ac ac-file-excel-o",eventType:"anychart.saveAsCsv",action:function(a){a.menuParent.Ey()}},"save-data-as-xlsx":{index:20,text:".xlsx",iconClass:"ac ac-file-excel-o",eventType:"anychart.saveAsXlsx",action:function(a){a.menuParent.Fy()}}}},
"share-with":{index:30,text:"Share with...",iconClass:"ac ac-net",subMenu:{"share-with-facebook":{index:10,text:"Facebook",iconClass:"ac ac-facebook",eventType:"anychart.shareWithFacebook",action:function(a){a.menuParent.cE()}},"share-with-twitter":{index:20,text:"Twitter",iconClass:"ac ac-twitter",eventType:"anychart.shareWithTwitter",action:function(a){a.menuParent.fE()}},"share-with-linkedin":{index:30,text:"LinkedIn",iconClass:"ac ac-linkedin",eventType:"anychart.shareWithLinkedIn",action:function(a){a.menuParent.dE()}},
"share-with-pinterest":{index:40,text:"Pinterest",iconClass:"ac ac-pinterest",eventType:"anychart.shareWithPinterest",action:function(a){a.menuParent.eE()}}}},"print-table":{index:50,text:"Print",iconClass:"ac ac-print",eventType:"anychart.print",action:function(a){a.menuParent.print()}},"full-screen-enter":{index:60,text:"Enter full screen",action:function(a){a.menuParent.fullScreen(!0)}},"full-screen-exit":{index:60,text:"Exit full screen",action:function(a){a.menuParent.fullScreen(!1)}},about:{index:80,
iconClass:"ac ac-cog",text:"AnyChart "+$.hc.apply(null,["v%s.%s.%s.%s"].concat(["8","9","0","1932"])),href:"https://anychart.com"},"link-to-help":{index:110,iconClass:"ac ac-question",text:"Need help? Go to support center!",href:"https://anychart.com/support"},"version-history":{index:120,text:"Version History",href:""}},uU={exporting:{"save-table-as":vU["save-table-as"],"save-data-as":vU["save-data-as"],"share-with":vU["share-with"],"print-table":vU["print-table"],"exporting-separator":{index:51}},
"full-screen-enter":{"full-screen-enter":vU["full-screen-enter"],"full-screen-separator":{index:61}},"full-screen-exit":{"full-screen-exit":vU["full-screen-exit"],"full-screen-separator":{index:61}},main:{about:vU.about}};YT.prototype.pN=function(a){return a};YT.prototype.fullScreen=function(a){var b=this.P();b=b?b.Ha():null;return $.n(a)?(b&&b.fullScreen(a),this):b?b.fullScreen():!1};YT.prototype.iy=function(){var a=this.P();return(a=a?a.Ha():null)?a.iy():!1};var wU=YT.prototype;wU.rowsCount=wU.eW;
wU.colsCount=wU.dR;wU.getCell=wU.lz;wU.getRow=wU.qn;wU.getCol=wU.lZ;wU.rowsHeight=wU.Lha;wU.rowsMinHeight=wU.Nha;wU.rowsMaxHeight=wU.Mha;wU.colsWidth=wU.Mba;wU.colsMinWidth=wU.Lba;wU.colsMaxWidth=wU.Kba;wU.border=wU.Daa;wU.contents=wU.Qba;wU.contextMenu=wU.contextMenu;wU.draw=wU.$;wU.fullScreen=wU.fullScreen;wU.isFullScreenAvailable=wU.iy;wU.fontSize=wU.fontSize;wU.fontFamily=wU.fontFamily;wU.fontColor=wU.Haa;wU.fontOpacity=wU.Jaa;wU.fontDecoration=wU.Iaa;wU.fontStyle=wU.fontStyle;
wU.fontVariant=wU.fontVariant;wU.fontWeight=wU.fontWeight;wU.letterSpacing=wU.letterSpacing;wU.textDirection=wU.Kaa;wU.textShadow=wU.textShadow;wU.lineHeight=wU.lineHeight;wU.textIndent=wU.textIndent;wU.vAlign=wU.vAlign;wU.hAlign=wU.km;wU.wordBreak=wU.wu;wU.wordWrap=wU.wordWrap;wU.textOverflow=wU.textOverflow;wU.selectable=wU.rm;wU.disablePointerEvents=wU.td;wU.useHtml=wU.Laa;wU.cellFill=wU.Faa;wU.rowEvenFill=wU.S3;wU.rowOddFill=wU.W3;wU.cellBorder=wU.Eaa;wU.cellPadding=wU.Gaa;wU.saveAsPng=wU.gu;
wU.saveAsJpg=wU.xw;wU.saveAsPdf=wU.yw;wU.saveAsSvg=wU.zw;wU.shareAsPng=wU.ju;wU.shareAsJpg=wU.WA;wU.shareAsPdf=wU.XA;wU.shareAsSvg=wU.YA;wU.getPngBase64String=wU.Wz;wU.getJpgBase64String=wU.Uz;wU.getSvgBase64String=wU.Yz;wU.getPdfBase64String=wU.Vz;wU.toSvg=wU.vq;wU.toCsv=wU.qk;wU.saveAsCsv=wU.Ey;wU.saveAsXlsx=wU.Fy;wU.exports=wU.dG;wU.shareWithFacebook=wU.cE;wU.shareWithTwitter=wU.fE;wU.shareWithLinkedIn=wU.dE;wU.shareWithPinterest=wU.eE;wU.parentBounds=wU.ja;wU.container=wU.P;wU=mU.prototype;
wU.draw=wU.$;$.F("anychart.standalones.table",function(a,b){return new mU(a,b)});}).call(this,$)}
if(!_.ui){_.ui=1;(function($){var k8=function(a,b){a.Y&&a.Y.D&&($.Nc(a.Y.D,a.Yd),$.Oc(a.Y.D,b,a));a.Yd=b},bpa=function(a,b){a.Cd=b},cpa=function(a,b){a.Sg=b},l8=function(a,b){a.g.Dv(a.Ta(),b);a.Cd=b},m8=function(a,b){return new $.gb(a.x-b.x,a.y-b.y)},dpa=function(a){if($.hd&&!$.ed(8))return a.offsetParent;var b=$.re(a),c=$.zf(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=$.zf(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>
a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null},n8=function(a){for(var b=new $.lb(0,window.Infinity,window.Infinity,0),c=$.te(a),d=c.b.body,e=c.b.documentElement,f=$.Ge(c.b);a=dpa(a);)if(!($.hd&&0==a.clientWidth||$.vd&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=$.zf(a,"overflow")){var h=$.Ef(a),k=new $.gb(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,
h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,f);c=$.Fe($.He(c.b)||window);b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null},epa=function(a,b){var c=b||$.Ge(window.document);var d=c||$.Ge(window.document);var e=$.Ef(a),f=$.Ef(d),h=$.Vf(d);if(d==$.Ge(window.document)){var k=e.x-d.scrollLeft;e=e.y-d.scrollTop;$.hd&&!$.ed(10)&&(k+=h.left,
e+=h.top)}else k=e.x-f.x-h.left,e=e.y-f.y-h.top;h=$.Mf(a);f=d.clientHeight-h.height;var l=d.scrollLeft,m=d.scrollTop;l+=Math.min(k,Math.max(k-(d.clientWidth-h.width),0));m+=Math.min(e,Math.max(e-f,0));d=new $.gb(l,m);c.scrollLeft=d.x;c.scrollTop=d.y},o8=function(a,b){$.qf.call(this);this.f=a||1;this.b=b||$.xj;this.g=(0,$.pa)(this.Fia,this);this.j=(0,$.Fn)()},fpa=function(a,b){var c="";b&&(c=b.id);$.ky(a,"activedescendant",c)},p8=function(){this.f=[]},q8=function(a,b){var c=a.f[b];if(!c){switch(b){case 0:c=
a.rh()+"-highlight";break;case 1:c=a.rh()+"-checkbox";break;case 2:c=a.rh()+"-content"}a.f[b]=c}return c},gpa=function(a,b,c){a=q8(a,2);return c.pc("DIV",a,b)},r8=function(a,b){var c=a.sn(b);if(c){c=c.firstChild;var d=q8(a,1);return!!c&&$.bf(c)&&$.Mj(c,d)}return!1},s8=function(a,b,c,d){$.MC(a,c,b.xG());$.PC(a,b,c);d!=r8(a,c)&&(d?$.Nj(c,"anychart-option"):$.Pj(c,"anychart-option"),c=a.sn(c),d?(a=q8(a,1),c.insertBefore(b.f.pc("DIV",a),c.firstChild||null)):c.removeChild(c.firstChild))},t8=function(a,
b,c,d){$.YC.call(this,a,d||p8.vd(),c);this.Sg=b},u8=function(a,b,c,d){t8.call(this,a,b,c,d);this.O=!1},v8=function(a){this.b=a},w8=function(a,b){a&&(a.tabIndex=b?0:-1)},jpa=function(a,b,c){c.id&&k8(b,c.id);var d=a.VC(),e=!1,f=$.Lj(c);f&&(0,$.Qe)(f,function(a){a==d?e=!0:a&&(a==d+"-disabled"?b.lj(!1):a==d+"-horizontal"?hpa(b,x8):a==d+"-vertical"&&hpa(b,y8))},a);e||$.Nj(c,d);ipa(a,b,c);return c},ipa=function(a,b,c){if(c)for(var d=c.firstChild,e;d&&d.parentNode==c;){e=d.nextSibling;if(1==d.nodeType){var f=
a.oG(d);f&&(f.pd=d,b.isEnabled()||f.lj(!1),b.fc(f),f.js(d))}else d.nodeValue&&""!=(0,$.vc)(d.nodeValue)||c.removeChild(d);d=e}},kpa=function(a,b){var c=a.VC(),d=[c,b.ih==x8?c+"-horizontal":c+"-vertical"];b.isEnabled()||d.push(c+"-disabled");return d},z8=function(a,b,c){$.my.call(this,c);this.Cv=b||v8.vd();this.ih=a||this.Cv.s0()},A8=function(a){return a.xU||a.Ta()},lpa=function(a,b){var c=$.oy(a),d=A8(a);b?c.ra(d,"focus",a.ZL).ra(d,"blur",a.YL).ra(a.Hl||(a.Hl=new $.zp(A8(a))),"key",a.bo):c.ac(d,"focus",
a.ZL).ac(d,"blur",a.YL).ac(a.Hl||(a.Hl=new $.zp(A8(a))),"key",a.bo)},mpa=function(a,b){var c=b.Ta();c=c.id||(c.id=b.Lx());a.Vu||(a.Vu={});a.Vu[c]=b},hpa=function(a,b){if(a.Ta())throw Error("Component already rendered");a.ih=b},B8=function(a,b){b!=a.DC&&a.df&&lpa(a,b);a.DC=b;a.$z&&a.Si&&w8(A8(a),b)},C8=function(a){return a.od(a.el)},E8=function(a){D8(a,function(a,c){return(a+1)%c},$.qy(a)-1)},npa=function(a){D8(a,function(a,c){a--;return 0>a?c-1:a},0)},F8=function(a){D8(a,function(a,c){return(a+1)%
c},a.el)},G8=function(a){D8(a,function(a,c){a--;return 0>a?c-1:a},a.el)},D8=function(a,b,c){c=0>c?a.pf(a.Ol):c;var d=$.qy(a);c=b.call(a,c,d);for(var e=0;e<=d;){var f=a.od(c);if(f&&a.WZ(f)){a.Gn(c);break}e++;c=b.call(a,c,d)}},H8=function(){},opa=function(a,b,c){$.YC.call(this,a,c||H8.vd(),b);this.Tm(1,!1);this.Tm(2,!1);this.Tm(4,!1);this.Tm(32,!1);this.Xb=1},I8=function(){},J8=function(a,b){$.YC.call(this,null,a||I8.vd(),b);this.Tm(1,!1);this.Tm(2,!1);this.Tm(4,!1);this.Tm(32,!1);this.Xb=1},K8=function(a){this.b=
a||"menu"},L8=function(a){J8.call(this,I8.vd(),a)},M8=function(a,b){z8.call(this,y8,b||K8.vd(),a);B8(this,!1)},N8=function(a,b){(a.PE=b)&&B8(a,!0)},O8=function(a,b){M8.call(this,a,b);this.O=null},Q8=function(a,b,c,d,e,f,h,k,l){var m=ppa(c),p=$.Of(a),q=n8(a);if(q){var r=new $.J(q.left,q.top,q.right-q.left,q.bottom-q.top);q=Math.max(p.left,r.left);var t=Math.min(p.left+p.width,r.left+r.width);if(q<=t){var u=Math.max(p.top,r.top);r=Math.min(p.top+p.height,r.top+r.height);u<=r&&(p.left=q,p.top=u,p.width=
t-q,p.height=r-u)}}q=$.te(a);u=$.te(c);if(q.b!=u.b){t=q.b.body;u=$.He(u.b);r=new $.gb(0,0);var v=(v=$.re(t))?$.He(v):window;if($.Zc(v,"parent")){var w=t;do{var x=v==u?$.Ef(w):$.Ff(w);r.x+=x.x;r.y+=x.y}while(v&&v!=u&&v!=v.parent&&(w=v.frameElement)&&(v=v.parent))}t=m8(r,$.Ef(t));!$.hd||$.ed(9)||$.Ee(q.b)||(t=m8(t,$.Le(q.b)));p.left+=t.x;p.top+=t.y}a=qpa(a,b);b=p.left;a&4?b+=p.width:a&2&&(b+=p.width/2);p=new $.gb(b,p.top+(a&1?p.height:0));p=m8(p,m);e&&(p.x+=(a&4?-1:1)*e.x,p.y+=(a&1?-1:1)*e.y);if(h)if(l)var y=
l;else if(y=n8(c))y.top-=m.y,y.right-=m.x,y.bottom-=m.y,y.left-=m.x;return P8(p,c,d,f,y,h,k)},ppa=function(a){if(a=a.offsetParent){var b="HTML"==a.tagName||"BODY"==a.tagName;if(!b||"static"!=$.zf(a,"position")){var c=$.Ef(a);if(!b){b=$.Qf(a);var d;if(d=b){d=$.GD&&0<=$.xc($.uda,10);var e=$.mda&&0<=$.xc($.qda,10);d=$.gd||d||e}b=d?-a.scrollLeft:!b||$.hda&&$.bd("8")||"visible"==$.zf(a,"overflowX")?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft;c=m8(c,new $.gb(b,a.scrollTop))}}}return c||new $.gb},
P8=function(a,b,c,d,e,f,h){a=a.clone();var k=qpa(b,c);c=$.Nf(b);h=h?h.clone():c.clone();a=a.clone();h=h.clone();var l=0;if(d||0!=k)k&4?a.x-=h.width+(d?d.right:0):k&2?a.x-=h.width/2:d&&(a.x+=d.left),k&1?a.y-=h.height+(d?d.bottom:0):d&&(a.y+=d.top);if(f){if(e){d=a;k=h;l=0;65==(f&65)&&(d.x<e.left||d.x>=e.right)&&(f&=-2);132==(f&132)&&(d.y<e.top||d.y>=e.bottom)&&(f&=-5);d.x<e.left&&f&1&&(d.x=e.left,l|=1);if(f&16){var m=d.x;d.x<e.left&&(d.x=e.left,l|=4);d.x+k.width>e.right&&(k.width=Math.min(e.right-d.x,
m+k.width-e.left),k.width=Math.max(k.width,0),l|=4)}d.x+k.width>e.right&&f&1&&(d.x=Math.max(e.right-k.width,e.left),l|=1);f&2&&(l|=(d.x<e.left?16:0)|(d.x+k.width>e.right?32:0));d.y<e.top&&f&4&&(d.y=e.top,l|=2);f&32&&(m=d.y,d.y<e.top&&(d.y=e.top,l|=8),d.y+k.height>e.bottom&&(k.height=Math.min(e.bottom-d.y,m+k.height-e.top),k.height=Math.max(k.height,0),l|=8));d.y+k.height>e.bottom&&f&4&&(d.y=Math.max(e.bottom-k.height,e.top),l|=2);f&8&&(l|=(d.y<e.top?64:0)|(d.y+k.height>e.bottom?128:0));e=l}else e=
256;l=e}f=new $.J(0,0,0,0);f.left=a.x;f.top=a.y;f.width=h.width;f.height=h.height;e=l;if(e&496)return e;$.Bf(b,new $.gb(f.left,f.top));h=new $.mb(f.width,f.height);$.nb(c,h)||(c=h,a=$.Ee($.te($.re(b)).b),!$.hd||$.bd("10")||a&&$.bd("8")?(b=b.style,$.gd?b.MozBoxSizing="border-box":$.vd?b.WebkitBoxSizing="border-box":b.boxSizing="border-box",b.width=Math.max(c.width,0)+"px",b.height=Math.max(c.height,0)+"px"):(h=b.style,a?(a=$.Uf(b,"padding"),b=$.Vf(b),h.pixelWidth=c.width-b.left-a.left-a.right-b.right,
h.pixelHeight=c.height-b.top-a.top-a.bottom-b.bottom):(h.pixelWidth=c.width,h.pixelHeight=c.height)));return e},qpa=function(a,b){return(b&8&&$.Qf(a)?b^4:b)&-9},R8=function(){},S8=function(a,b,c){this.element=a;this.g=b;this.N=c},T8=function(a,b,c,d){S8.call(this,a,b);this.j=c?5:0;this.D=d||void 0},U8=function(a,b){a&48&&(b^=4);a&192&&(b^=1);return b},V8=function(){this.f=[]},spa=function(a,b,c){var d=b.f.pc("SPAN");d.className="anychart-submenu-arrow";rpa(b,d);a.sn(c).appendChild(d)},rpa=function(a,
b){$.py(a)?($.Nj(b,"anychart-submenu-arrow-rtl"),$.ef(b,"◄")):($.Pj(b,"anychart-submenu-arrow-rtl"),$.ef(b,"►"))},W8=function(a,b,c,d){t8.call(this,a,b,c,d||V8.vd())},tpa=function(a){a.getParent().yj(function(a){a!=this&&"function"==typeof a.xl&&(a.xl(),a.Bp())},a)},upa=function(a,b){!b&&X8(a)&&X8(a).Gn(-1);a.dispatchEvent($.ny(64,b));var c=X8(a);if(b!=a.xT){var d=a.Ta();b?$.Nj(d,"anychart-submenu-open"):$.Pj(d,"anychart-submenu-open")}if(b!=c.He()&&(b&&(c.df||c.Fd(),c.Gn(-1)),c.ri(b),b)){c=new T8(a.Ta(),
12,!1);d=X8(a);var e=d.Ta();d.He()||(e.style.visibility="hidden",$.Pf(e,!0));c.b(e,8);d.He()||($.Pf(e,!1),e.style.visibility="visible")}a.xT=b},Y8=function(a,b,c){var d=$.oy(a);(c?d.ra:d.ac).call(d,b,"enter",a.Oda)},X8=function(a){a.El?a.bM&&a.El.getParent()!=a&&a.El.Mk(a):Z8(a,new M8(a.f));a.El.Ta()||a.El.pc();return a.El},Z8=function(a,b){var c=a.El;b!=c&&(c&&(a.xl(),a.df&&Y8(a,c,!1)),a.El=b,a.bM=!1,b&&(b.Mk(a),b.ri(!1,!0),N8(b,!1),B8(b,!1),a.df&&Y8(a,b,!0)))},$8=function(){this.f=[]},vpa=function(a,
b,c){b=b.f.pc("span");b.className="anychart-submenu-arrow";b.innerHTML="&nbsp;";a.sn(c).appendChild(b)},a9=function(a,b,c){t8.call(this,a,void 0,void 0,$8.vd());this.O=c||!1;this.b=b||null},wpa=function(a){a.getParent().yj(function(a){a!=this&&"function"==typeof a.xl&&(a.xl(),a.Bp())},a)},xpa=function(a,b){!b&&b9(a)&&b9(a).Gn(-1);a.dispatchEvent($.ny(64,b));var c=b9(a);if(b!=a.vQ){var d=a.Ta();b?$.Nj(d,"anychart-submenu-open"):$.Pj(d,"anychart-submenu-open")}if(b!=c.He()&&(b&&(c.df||c.Fd(a.b),c.Gn(-1)),
c.ri(b),b)){c=new T8(a.Ta(),12,!1);var e=b9(a),f=e.Ta();e.He()||(f.style.visibility="hidden",$.Pf(f,!0));c.b(f,8);e.He()||($.Pf(f,!1),f.style.visibility="visible");c=$.Fe(window);d=$.Of(f);f=$.Gf(f);e=e.O;var h=$.Of(e);e.style.maxHeight=c.height-f.y-(d.height-h.height)-15+"px"}a.vQ=b},c9=function(a,b,c){var d=$.oy(a);(c?d.ra:d.ac).call(d,b,"enter",a.mba)},b9=function(a){if(a.ul)a.UJ&&a.ul.getParent()!=a&&a.ul.Mk(a);else{var b=a.O?d9.vd():void 0;b=new O8(a.f,b);var c=a.ul;b!=c&&(c&&(a.xl(),a.df&&c9(a,
c,!1)),a.ul=b,a.UJ=!1,b&&(b.Mk(a),b.ri(!1,!0),N8(b,!1),B8(b,!1),a.df&&c9(a,b,!0)))}a.ul.Ta()||a.ul.pc();return a.ul},e9=function(a,b){this.g=a instanceof $.gb?a:new $.gb(a,b)},f9=function(a,b){e9.call(this,a,b)},ypa=function(a,b,c,d){T8.call(this,a,b,c||d);(c||d)&&this.f(65|(d?32:132))},g9=function(a,b){M8.call(this,a,b);N8(this,!0);this.ri(!1,!0);this.g=new $.EB},zpa=function(a,b,c,d){var e=a.He();a.He()||(0,$.Fn)();a.dispatchEvent("beforeshow")&&(c="undefined"!=typeof c?c:8,e||(a.Ta().style.visibility=
"hidden"),$.Pf(a.Ta(),!0),b.b(a.Ta(),c,d),e||(a.Ta().style.visibility="visible"),a.Gn(-1),a.ri(!0))},Apa=function(a,b){for(var c=a.g.Bt(),d=0;d<c.length;d++){var e=a.g.get(c[d]);if(e.pd==b.b){c=a;d=$.n(e.M4)?new T8(e.pd,e.M4,!0):new f9(b.clientX,b.clientY);d.f&&d.f(5);zpa(c,d,e.Afa,e.Mc);b.preventDefault();b.stopPropagation();break}}},h9=function(){g9.call(this);this.N=!1;this.b=this.ij=this.qK=null;this.ka=!1;this.ba=$.Ne("div",{id:"anychart-menu-wrapper"});this.U=function(a){return a};this.ga=function(){return{}};
cpa(this,{});this.Ga=(0,$.pa)(this.show,this);this.ra("action",function(a){var b=a.target.Sg;a={type:b.eventType||"action",event:a,target:this.qK,item:b};this.ij&&(a.menuParent=this.ij,$.E(this.ij.getSelectedPoints)&&(a.selectedPoints=this.ij.getSelectedPoints()||[]));$.E(b.action)&&b.action.call(a,a);b.eventType&&this.dispatchEvent(a)})},Bpa=function(a,b,c){b={event:b,target:c,menu:a};if(a.ij){c=a.ij.container()?a.ij.container().getStage():null;if(null===c||"none"==$.yf(c.domElement(),"border-style"))return!1;
b.menuParent=a.ij;b.chart=a.ij;$.E(a.ij.getSelectedPoints)&&(b.selectedPoints=a.ij.getSelectedPoints()||[]);b=a.ij.pN(b)}c=$.Kl(a.ga.call(b,b));b=a.U.call(c,c,b);a.Sg=b;a.ka=!0;return!$.Jc(b)},Cpa=function(a,b,c){var d=[],e;for(e in c){var f=c[e];c.hasOwnProperty(e)&&$.Ua(d,f,a.Uea)}for(e=0;e<d.length;e++){c=d[e];if(null!=c)var h=$.z(c.classNames)?c.classNames.split(" "):c.classNames||[];f=$.ds(c.text)||"";c.text?c.subMenu?(f=new a9(f,a.ba),h.length&&$.aD(f,h.join(" ")),$.da(c.enabled)&&f.lj(c.enabled),
Cpa(a,f,c.subMenu),i9(b,f),$.n(c.iconClass)&&Dpa(f,c.iconClass)):(c.href&&(f=$.Ne("A",{href:c.href,target:c.target||"_blank"},f),h.unshift("anychart-menuitem-link")),f=new u8(f,c),h.length&&$.aD(f,h.join(" ")),$.da(c.enabled)&&f.lj(c.enabled),$.da(c.scrollable)&&f.b(c.scrollable),i9(b,f),$.n(c.iconClass)&&Dpa(f,c.iconClass)):i9(b,new L8)}},i9=function(a,b){$.K(a,a9)?a.TJ(b):a.fc(b,!0)},Dpa=function(a,b){var c=a.Ta();if(c){var d=$.Be(window.document,"I",null,c)[0];b?d?(d.className=b,$.Pf(d,!0)):(d=
$.Ne("I",b),$.ky(d,"hidden",!0),$.We(c,d,0)):d&&$.Pf(d,!1)}},d9=function(a){K8.call(this,a)},j9=function(){},Epa=function(a,b){if(a)for(var c=b?a.firstChild:a.lastChild,d;c&&c.parentNode==a;){d=b?c.nextSibling:c.previousSibling;if(3==c.nodeType){var e=c.nodeValue;if(""==(0,$.vc)(e))a.removeChild(c);else{c.nodeValue=b?$.nc(e):e.replace(/[\s\xa0]+$/,"");break}}else break;c=d}},k9=function(){},l9=function(){},m9=function(){},o9=function(a,b,c,d,e){$.mD.call(this,a,c||k9.vd(),d);this.Tm(64,!0);this.U=
new ypa(null,9);b&&n9(this,b);this.O=new o8(500);!$.ED&&!$.FD||$.bd("533.17.9")||(this.tM=!0);this.Ga=e||K8.vd()},n9=function(a,b){var c=a.b;b!=c&&(c&&(a.ml(!1),a.df&&p9(a,c,!1),delete a.b),a.df&&$.ky(a.pd,"haspopup",!!b),b&&(a.b=b,b.Mk(a),b.ri(!1),N8(b,a.tM),a.df&&p9(a,b,!0)))},Fpa=function(a){if(a.b.df){var b=a.Ja||a.Ta(),c=a.U;a.U.element=b;b=a.b.Ta();a.b.He()||(b.style.visibility="hidden",$.Pf(b,!0));!a.ba&&a.U.G&&a.U.j&32&&(a.ba=$.Nf(b));c.b(b,c.g^1,null,a.ba);a.b.He()||($.Pf(b,!1),b.style.visibility=
"visible")}},p9=function(a,b,c){var d=$.oy(a);c=c?d.ra:d.ac;c.call(d,b,"action",a.lea);c.call(d,b,"close",a.Lda);c.call(d,b,"highlight",a.Mda);c.call(d,b,"unhighlight",a.Nda)},Gpa=function(a,b){var c=$.oy(a);(b?c.ra:c.ac).call(c,a.Ta(),"keydown",a.iea)},Hpa=function(a,b){var c=a.Ta(),d=b.getAttribute("aria-activedescendant");d=$.re(b).getElementById(null==d||void 0==d?"":String(d))||b;if(!d.id){var e=$.ly.vd();d.id=":"+(e.b++).toString(36)}fpa(c,d);$.ky(c,"owns",d.id)},q9=function(a,b,c,d){o9.call(this,
a,b,c||l9.vd(),d)},r9=function(a,b,c,d){q9.call(this,a,b,c||m9.vd(),d)},s9=function(){},t9=function(){},u9=function(a,b){J8.call(this,a||t9.vd(),b)},v9=function(){this.b="toolbar"},w9=function(a,b,c){z8.call(this,b,a||v9.vd(),c)},x9=function(){w9.call(this)},y9=function(){},z9=function(a,b,c){$.mD.call(this,a,b||y9.vd(),c)},E9=function(){w9.call(this);this.ga="us-letter a0 a1 a2 a3 a4 a5 a6".split(" ");this.N="all";this.b=[];this.g=[];Ipa(this);this.fc(new u9,!0);this.O=new O8(void 0,d9.vd());var a=
new u8("SVG");$.aD(a,"anychart-toolbar-saveAsSvg");a.Sg={yt:"saveAsSvg",icon:"ac-file-code-o",text:"SVG"};this.O.fc(a,!0);A9(a,!0,!0);this.g.push(a);a=new u8("PNG");$.aD(a,"anychart-toolbar-saveAsPng");a.Sg={yt:"saveAsPng",icon:"ac-file-image-o",text:"PNG"};this.O.fc(a,!0);A9(a,!0,!0);this.g.push(a);a=new u8("JPG");$.aD(a,"anychart-toolbar-saveAsJpg");a.Sg={yt:"saveAsJpg",icon:"ac-file-image-o",text:"JPG"};this.O.fc(a,!0);A9(a,!0,!0);this.g.push(a);a=new a9("PDF",void 0,!0);$.aD(a,"anychart-toolbar-saveAsPdf");
for(var b=1;b<this.ga.length;b++){var c=this.ga[b],d=new u8(c.toUpperCase());d.Sg={yt:"saveAsPdf",CZ:[c]};$.aD(d,"anychart-toolbar-saveAsPdf");a.TJ(d)}this.O.fc(a,!0);a.Sg={icon:"ac-file-pdf-o",text:"PDF"};A9(a,!0,!0);this.g.push(a);a=B9("saveAs");b=new r9(a,this.O);$.aD(b,"anychart-toolbar-saveAs");b.Sg={id:"saveAs",text:a,icon:"ac-save"};this.fc(b,!0);this.b.push(b);this.fc(new u9,!0);a=B9("zoomIn");b=new z9(a);$.aD(b,"anychart-toolbar-zoomIn");b.Sg={id:"zoomIn",yt:"zoomIn",text:a,icon:"ac-zoom-in"};
this.fc(b,!0);this.b.push(b);a=B9("zoomOut");b=new z9(a);$.aD(b,"anychart-toolbar-zoomOut");b.Sg={id:"zoomOut",yt:"zoomOut",text:a,icon:"ac-zoom-out"};this.fc(b,!0);this.b.push(b);a=B9("fitAll");b=new z9(a);$.aD(b,"anychart-toolbar-fitAll");b.Sg={id:"fitAll",yt:"fitAll",text:a,icon:"ac-dot-square-o"};this.fc(b,!0);this.b.push(b);this.fc(new u9,!0);a=B9("expandAll");b=new z9(a);$.aD(b,"anychart-toolbar-expandAll");b.Sg={id:"expandAll",yt:"expandAll",text:a,icon:"ac-expand"};this.fc(b,!0);this.b.push(b);
a=B9("collapseAll");b=new z9(a);$.aD(b,"anychart-toolbar-collapseAll");b.Sg={id:"collapseAll",yt:"collapseAll",text:a,icon:"ac-collapse"};this.fc(b,!0);this.b.push(b);this.xN={qe:C9,pe:D9};this.U=null;this.ra("action",this.Qda)},Jpa=function(a,b,c,d,e){b=new a9(b,void 0,!0);var f=(0,$.Wa)(c,function(a){var b=a.value;a=new u8(a.caption);a.Sg=b;a.Tm(8,!0);a.yI(b==e);return a});(0,$.Qe)(f,b.TJ,b);b.ra("action",function(a){var b=a.target,c=b.ej();(0,$.Qe)(f,function(a){a.yI(a==b)});d.call(this,c);a.stopPropagation()},
void 0,a);return b},Ipa=function(a){a.Fs=new O8(void 0,d9.vd());var b=Jpa(a,B9("changeLayout"),[{caption:B9("landscape"),value:D9},{caption:B9("portrait"),value:"portrait"}],function(a){this.xN.pe=a;this.Fs.ri(!0,!0)},D9),c=Jpa(a,B9("changeRange"),[{caption:B9("allDates"),value:"full"},{caption:B9("visibleDates"),value:C9}],function(a){this.xN.qe=a;this.Fs.ri(!0,!0)},C9);a.Fs.fc(b,!0);a.Fs.fc(c,!0);a.Fs.fc(new L8,!0);b=B9("print");a.ba=new r9(b,a.Fs);$.aD(a.ba,"anychart-toolbar-print");cpa(a.ba,{id:"print",
text:b,icon:"ac-print"});a.fc(a.ba,!0);a.b.push(a.ba)},F9=function(a){for(var b,c=0;c<a.b.length;c++)switch(b=a.b[c],a.N){case "all":A9(b,!0,!0);break;case "icon":A9(b,!0,!1);break;case "text":A9(b,!1,!0)}for(c=0;c<a.g.length;c++)switch(b=a.g[c],a.N){case "text":A9(b,!1,!0);break;case "all":case "icon":A9(b,!0,!0)}},A9=function(a,b,c){var d=a.Ta(),e=a.Sg,f=e.icon,h=e.text,k=$.K(a,r9)||$.K(a,z9);if(d){e=$.Be(window.document,"I","anychart-toolbar-item-icon",d)[0];var l=$.Be(window.document,"SPAN","anychart-toolbar-item-text",
d)[0];e&&l||(e||(e=$.Ne("I",["anychart-toolbar-item-icon",f]),$.ky(e,"hidden",!0)),l||(l=$.Ne("SPAN","anychart-toolbar-item-text"),$.ef(l,h||"")),k?(d=$.Ne("DIV"),$.We(d,e,0),$.We(d,l,1),l8(a,d)):(l8(a,l),$.We(d,e,0)));$.da(c)&&$.Pf(l,c);$.da(b)&&$.Pf(e,b)}},B9=function(a){return $.ds(Kpa[a])},G9=function(){$.my.call(this)},Lpa=function(a,b){var c=a.f,d=b||a.Ta();$.Nj(d,"anychart-loader");c=c.pc("DIV","anychart-loader-rotating-cover",c.pc("DIV","anychart-loader-rotating-plane",c.pc("DIV","anychart-loader-chart-row",
c.pc("DIV",["anychart-loader-chart-col","anychart-loader-green"]),c.pc("DIV",["anychart-loader-chart-col","anychart-loader-orange"]),c.pc("DIV",["anychart-loader-chart-col","anychart-loader-red"]))));a.Si=!1;$.Pf(a.Ta(),a.Si);d.appendChild(c)},Mpa=function(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}},H9=function(){$.my.call(this);this.b=null;this.CS="yyyy MMM dd";this.ba=null;this.ka="From:";this.O=null;this.Ga="To:";this.Ra=!1;this.Ja=this.ya=window.NaN},Npa=function(a){a.g&&
$.xy(a.g,$.fl.anychart.format.dateTime(a.ya,a.format()));a.N&&$.xy(a.N,$.fl.anychart.format.dateTime(a.Ja,a.format()))},Opa=function(a){var b=a.f,c=a.Ta();$.Nj(c,"anychart-range-picker");a.Ra&&$.Nj(c,"anychart-range-picker-inside");a.ba=b.pc("LABEL",["anychart-inline-block","anychart-input-label"],$.fl.anychart.format.getMessage(a.ka));c.appendChild(a.ba);a.g=new $.sy;a.fc(a.g,!0);$.Oj(a.g.Ta(),["anychart-label-input"]);a.O=b.pc("LABEL",["anychart-inline-block","anychart-input-label"],$.fl.anychart.format.getMessage(a.Ga));
c.appendChild(a.O);a.N=new $.sy;a.fc(a.N,!0);$.Oj(a.N.Ta(),["anychart-label-input"]);a.b&&a.uQ(a.b.getSelectedRange())},Ppa=function(a){return a&&$.E(a.getType)&&"stock"==a.getType()},Rpa=function(a,b,c){$.pD.call(this,a,b,c);$.aD(this,"anychart-inline-block");$.aD(this,"anychart-button-standard");$.aD(this,Qpa);this.Tm(16,!0);this.Ku&=-17},I9=function(a){$.qf.call(this);this.Qb=[];Spa(this,a)},Spa=function(a,b){b&&((0,$.Qe)(b,function(a){J9(this,a,!1)},a),$.Ia(a.Qb,b))},K9=function(a,b){b!=a.OG&&
(J9(a,a.OG,!1),a.OG=b,J9(a,b,!0));a.dispatchEvent("select")},J9=function(a,b,c){b&&("function"==typeof a.wT?a.wT(b,c):"function"==typeof b.yI&&b.yI(c))},L9=function(){$.my.call(this);this.b=null;this.U=!1;this.N=null;this.O="Zoom:";this.ad=[];this.yy([{type:"unit",unit:"Day",count:10,text:"10D"},{type:"unit",unit:"Month",count:1,text:"1M"},{type:"unit",unit:"Month",count:3,text:"3M"},{type:"ytd",text:"YTD"},{type:"unit",unit:"Year",count:1,text:"1Y"},{type:"unit",unit:"Year",count:2,text:"2Y"},{type:"unit",
unit:"Year",count:5,text:"5Y"},{type:"max",text:"MAX"}]);this.g=new I9;this.g.wT=this.jba},Tpa=function(a){var b=a.Ta();$.Nj(b,"anychart-range-selector");a.U&&$.Nj(b,"anychart-range-selector-inside");a.N=$.Ne("LABEL",["anychart-inline-block","anychart-input-label"],$.fl.anychart.format.getMessage(a.O));b.appendChild(a.N)},Upa=function(a){return a&&$.E(a.getType)&&"stock"==a.getType()},M9=function(){$.my.call(this);this.b=null},Vpa=function(a){var b=a.Ta();$.Nj(b,"anychart-zoom");a.g=new $.pD;a.g.Sg=
{type:"fitAll"};$.nD(a.g,"Fit All");$.aD(a.g,"anychart-zoom-zoomFitAll");$.rD(a.g,"ac ac-dot-square-o disable-selection");a.fc(a.g,!0);a.N=new $.pD;a.N.Sg={type:"zoomIn"};$.nD(a.N,"Zoom In");$.aD(a.N,"anychart-zoom-zoomIn");$.rD(a.N,"ac ac-plus disable-selection");a.fc(a.N,!0);a.O=new $.pD;a.O.Sg={type:"zoomOut"};$.nD(a.O,"Zoom Out");$.aD(a.O,"anychart-zoom-zoomOut");$.rD(a.O,"ac ac-minus disable-selection");a.fc(a.O,!0)},Wpa=function(a){return a&&$.E(a.getType)&&"map"==a.getType()};
$.JC.prototype.Dv=$.ca(34,function(a,b){var c=this.sn(a);if(c&&($.Ve(c),b))if($.z(b))$.ef(c,b);else{var d=function(a){if(a){var b=$.re(c);c.appendChild($.z(a)?b.createTextNode(a):a)}};$.A(b)?(0,$.Qe)(b,d):!$.la(b)||"nodeType"in b?d(b):(0,$.Qe)($.Ha(b),d)}});$.JC.prototype.CG=$.ca(33,function(a){if(!this.g){this.b||$.SC(this);var b=this.b,c={},d;for(d in b)c[b[d]]=d;this.g=c}a=(0,window.parseInt)(this.g[a],10);return(0,window.isNaN)(a)?0:a});
$.JC.prototype.Ck=$.ca(32,function(a,b){b.id&&k8(a,b.id);var c=this.sn(b);c&&c.firstChild?bpa(a,c.firstChild.nextSibling?$.Ha(c.childNodes):c.firstChild):a.Cd=null;var d=0,e=this.rh(),f=this.rh(),h=!1,k=!1,l=!1,m=$.Ha($.Lj(b));(0,$.Qe)(m,function(a){h||a!=e?k||a!=f?d|=this.CG(a):k=!0:(h=!0,f==e&&(k=!0));1==this.CG(a)&&$.hf(c)&&$.jf(c)&&$.gf(c,!1)},this);a.Xb=d;h||(m.push(e),f==e&&(k=!0));k||m.push(f);var p=a.ks;p&&m.push.apply(m,p);if($.hd&&!$.bd("7")){var q=$.KC(m);0<q.length&&(m.push.apply(m,q),
l=!0)}if(!h||!k||p||l)b.className=m.join(" ");return b});$.TC.prototype.Ck=$.ca(31,function(a,b){b=$.TC.u.Ck.call(this,a,b);a.zW(this.ej(b));a.gb=b.title;$.NC(a,16)&&this.tu(b,16,$.OC(a,16));return b});$.lD.prototype.Ck=$.ca(30,function(a,b){$.$C(a,!1);a.Ku&=-256;a.Tm(32,!1);if(b.disabled){var c=this.kG(1);$.Nj(b,c)}return $.lD.u.Ck.call(this,a,b)});$.JC.prototype.KG=$.ca(29,function(){return!0});
$.lD.prototype.KG=$.ca(28,function(a){return"BUTTON"==a.tagName||"INPUT"==a.tagName&&("button"==a.type||"submit"==a.type||"reset"==a.type)});$.my.prototype.Zk=$.ca(20,function(a){this.pd=a});$.sy.prototype.Zk=$.ca(19,function(a){$.sy.u.Zk.call(this,a);this.g||(this.g=a.getAttribute("label")||"");a:{var b=$.re(a);try{var c=b&&b.activeElement;break a}catch(d){}c=null}c==a&&(this.SG=!0,a=this.Ta(),$.Pj(a,"label-input-label"));$.uy()&&(this.Ta().placeholder=this.g);a=this.Ta();$.ky(a,"label",this.g)});
$.YC.prototype.Zk=$.ca(18,function(a){this.pd=a=this.g.Ck(this,a);$.MC(this.g,a,this.xG());this.g.sT(a,!1);this.Si="none"!=a.style.display});$.my.prototype.JG=$.ca(17,function(){return!0});$.YC.prototype.JG=$.ca(16,function(a){return this.g.KG(a)});$.my.prototype.js=$.ca(15,function(a){if(this.df)throw Error("Component already rendered");if(a&&this.JG(a)){this.eb=!0;var b=$.re(a);this.f&&this.f.b==b||(this.f=$.te(a));this.Zk(a);this.pg()}else throw Error("Invalid element to decorate");});
$.gx.prototype.pN=$.ca(14,function(a){return a});$.H(o8,$.qf);$.g=o8.prototype;$.g.enabled=!1;$.g.Gt=null;$.g.Fia=function(){if(this.enabled){var a=(0,$.Fn)()-this.j;0<a&&a<.8*this.f?this.Gt=this.b.setTimeout(this.g,this.f-a):(this.Gt&&(this.b.clearTimeout(this.Gt),this.Gt=null),this.dispatchEvent("tick"),this.enabled&&(this.Gt=this.b.setTimeout(this.g,this.f),this.j=(0,$.Fn)()))}};$.g.start=function(){this.enabled=!0;this.Gt||(this.Gt=this.b.setTimeout(this.g,this.f),this.j=(0,$.Fn)())};
$.g.stop=function(){this.enabled=!1;this.Gt&&(this.b.clearTimeout(this.Gt),this.Gt=null)};$.g.R=function(){o8.u.R.call(this);this.stop();delete this.b};$.H(p8,$.JC);$.ja(p8);$.g=p8.prototype;$.g.LG=function(){return"menuitem"};$.g.pc=function(a){var b=a.f.pc("DIV",$.QC(this,a).join(" "),gpa(this,a.Cd,a.f));s8(this,a,b,$.NC(a,8)||$.NC(a,16));return b};$.g.sn=function(a){return a&&a.firstChild};
$.g.Ck=function(a,b){var c=$.$e(b),d=q8(this,2);c&&$.Mj(c,d)||b.appendChild(gpa(this,b.childNodes,a.f));$.Mj(b,"anychart-option")&&(a.Tm(16,!0),a&&b&&s8(this,a,b,!0));return p8.u.Ck.call(this,a,b)};$.g.Dv=function(a,b){var c=this.sn(a),d=r8(this,a)?c.firstChild:null;p8.u.Dv.call(this,a,b);d&&!r8(this,a)&&c.insertBefore(d,c.firstChild||null)};$.g.kG=function(a){switch(a){case 2:return q8(this,0);case 16:case 8:return"anychart-option-selected";default:return p8.u.kG.call(this,a)}};
$.g.CG=function(a){var b=q8(this,0);switch(a){case "anychart-option-selected":return 16;case b:return 2;default:return p8.u.CG.call(this,a)}};$.g.rh=function(){return"anychart-menuitem"};$.H(t8,$.YC);$.g=t8.prototype;$.g.ej=function(){var a=this.Sg;return null!=a?a:this.CL()};$.g.Tm=function(a,b){t8.u.Tm.call(this,a,b);switch(a){case 8:$.OC(this,16)&&!b&&$.gD(this,!1);var c=this.Ta();c&&this&&c&&s8(this.g,this,c,b);break;case 16:(c=this.Ta())&&this&&c&&s8(this.g,this,c,b)}};$.g.CL=function(){var a=this.Cd;return $.A(a)?(a=(0,$.Wa)(a,function(a){return $.bf(a)&&($.Mj(a,"anychart-menuitem-accel")||$.Mj(a,"anychart-menuitem-mnemonic-separator"))?"":$.lf(a)}).join(""),$.lc(a)):t8.u.CL.call(this)};
$.g.Zq=function(a){var b=this.getParent();if(b){var c=b.ya;b.ya=null;if(c&&$.ea(a.clientX)&&$.ib(c,new $.gb(a.clientX,a.clientY)))return}t8.u.Zq.call(this,a)};$.g.aA=function(a){return a.keyCode==this.TM&&this.Cs(a)?!0:t8.u.aA.call(this,a)};$.g.vda=function(){return this.TM};$.WC("anychart-menuitem",function(){return new t8(null)});t8.prototype.xG=function(){return $.NC(this,16)?"menuitemcheckbox":$.NC(this,8)?"menuitemradio":t8.u.xG.call(this)};t8.prototype.getParent=function(){return $.YC.prototype.getParent.call(this)};
t8.prototype.Gi=function(){return $.YC.prototype.Gi.call(this)};$.H(u8,t8);u8.prototype.b=function(a){return $.n(a)?(this.O=a,this):this.O};u8.prototype.PD=function(a,b){this.b()&&$.n(this.getParent().Ja)?u8.u.PD.call(this,this.getParent().O,b):u8.u.PD.call(this,a,b)};$.ja(v8);$.g=v8.prototype;$.g.pc=function(a){return a.f.pc("DIV",kpa(this,a).join(" "))};$.g.pT=function(a){return"DIV"==a.tagName};$.g.oG=function(a){a:{a=$.Lj(a);for(var b=0,c=a.length;b<c;b++){var d=a[b];if(d=d in $.VC?$.VC[d]():null){a=d;break a}}a=null}return a};$.g.qT=function(a){a=a.Ta();$.Sf(a,!0,$.gd);$.hd&&(a.hideFocus=!0);var b=this.b;b&&$.iy(a,b)};$.g.VC=function(){return"anychart-container"};$.g.s0=function(){return y8};$.H(z8,$.my);var x8="horizontal",y8="vertical";$.g=z8.prototype;$.g.xU=null;$.g.Hl=null;$.g.Cv=null;$.g.ih=null;$.g.Si=!0;$.g.$z=!0;$.g.DC=!0;$.g.el=-1;$.g.Ol=null;$.g.Xt=!1;$.g.Vu=null;$.g.pc=function(){this.pd=this.Cv.pc(this)};$.g.UC=function(){return this.Ta()};$.g.JG=function(a){return this.Cv.pT(a)};$.g.Zk=function(a){this.pd=jpa(this.Cv,this,a);"none"==a.style.display&&(this.Si=!1)};
$.g.pg=function(){z8.u.pg.call(this);this.yj(function(a){a.df&&mpa(this,a)},this);var a=this.Ta();this.Cv.qT(this);this.ri(this.Si,!0);$.oy(this).ra(this,"enter",this.RG).ra(this,"highlight",this.Ida).ra(this,"unhighlight",this.Jda).ra(this,"open",this.oea).ra(this,"close",this.Hda).ra(a,"mousedown",this.Cj).ra($.re(a),"mouseup",this.aea).ra(a,["mousedown","mouseup","mouseover","mouseout","contextmenu"],this.Yda);this.DC&&lpa(this,!0)};
$.g.oh=function(){this.Gn(-1);this.Ol&&this.Ol.ml(!1);this.Xt=!1;z8.u.oh.call(this)};$.g.R=function(){z8.u.R.call(this);this.Hl&&(this.Hl.cd(),this.Hl=null);this.Cv=this.Ol=this.Vu=this.xU=null};$.g.RG=function(){return!0};$.g.Ida=function(a){var b=this.pf(a.target);if(-1<b&&b!=this.el){var c=C8(this);c&&c.Xp(!1);this.el=b;c=C8(this);this.Xt&&$.fD(c,!0);this.Ol&&c!=this.Ol&&($.NC(c,64)?c.ml(!0):this.Ol.ml(!1))}b=this.Ta();null!=a.target.Ta()&&$.ky(b,"activedescendant",a.target.Ta().id)};
$.g.Jda=function(a){a.target==C8(this)&&(this.el=-1);this.Ta().removeAttribute("aria-activedescendant")};$.g.oea=function(a){(a=a.target)&&a!=this.Ol&&a.getParent()==this&&(this.Ol&&this.Ol.ml(!1),this.Ol=a)};$.g.Hda=function(a){a.target==this.Ol&&(this.Ol=null);var b=this.Ta(),c=a.target.Ta();b&&$.OC(a.target,2)&&c&&fpa(b,c)};$.g.Cj=function(a){this.$z&&(this.Xt=!0);var b=A8(this);b&&$.hf(b)&&$.jf(b)?b.focus():a.preventDefault()};$.g.aea=function(){this.Xt=!1};
$.g.Yda=function(a){a:{var b=a.target;if(this.Vu)for(var c=this.Ta();b&&b!==c;){var d=b.id;if(d in this.Vu){b=this.Vu[d];break a}b=b.parentNode}b=null}if(b)switch(a.type){case "mousedown":b.Cj(a);break;case "mouseup":b.Zq(a);break;case "mouseover":b.co(a);break;case "mouseout":b.Gg(a);break;case "contextmenu":b.NG(a)}};$.g.ZL=function(){};$.g.YL=function(){this.Gn(-1);this.Xt=!1;this.Ol&&this.Ol.ml(!1)};
$.g.bo=function(a){return this.isEnabled()&&this.He()&&(0!=$.qy(this)||this.xU)&&this.rT(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};
$.g.rT=function(a){var b=C8(this);if(b&&"function"==typeof b.bo&&b.bo(a)||this.Ol&&this.Ol!=b&&"function"==typeof this.Ol.bo&&this.Ol.bo(a))return!0;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return!1;switch(a.keyCode){case 27:if(this.DC)A8(this).blur();else return!1;break;case 36:E8(this);break;case 35:npa(this);break;case 38:if(this.ih==y8)G8(this);else return!1;break;case 37:if(this.ih==x8)$.py(this)?F8(this):G8(this);else return!1;break;case 40:if(this.ih==y8)F8(this);else return!1;break;case 39:if(this.ih==
x8)$.py(this)?G8(this):F8(this);else return!1;break;default:return!1}return!0};$.g.fc=function(a,b){z8.u.fc.call(this,a,b)};$.g.og=function(a,b,c){a.KI|=2;a.KI|=64;a.Tm(32,!1);$.$C(a,!1);var d=a.getParent()==this?this.pf(a):-1;z8.u.og.call(this,a,b,c);a.df&&this.df&&mpa(this,a);a=d;-1==a&&(a=$.qy(this));a==this.el?this.el=Math.min($.qy(this)-1,b):a>this.el&&b<=this.el?this.el++:a<this.el&&b>this.el&&this.el--};
$.g.removeChild=function(a,b){if(a=$.z(a)?$.ry(this,a):a){var c=this.pf(a);-1!=c&&(c==this.el?(a.Xp(!1),this.el=-1):c<this.el&&this.el--);(c=a.Ta())&&c.id&&this.Vu&&$.Nc(this.Vu,c.id)}a=z8.u.removeChild.call(this,a,b);$.$C(a,!0);return a};$.g.He=function(){return this.Si};$.g.ri=function(a,b){if(b||this.Si!=a&&this.dispatchEvent(a?"show":"hide")){this.Si=a;var c=this.Ta();c&&($.Pf(c,a),this.DC&&w8(A8(this),this.$z&&this.Si),b||this.dispatchEvent(this.Si?"aftershow":"afterhide"));return!0}return!1};
$.g.isEnabled=function(){return this.$z};$.g.lj=function(a){this.$z!=a&&this.dispatchEvent(a?"enable":"disable")&&(a?(this.$z=!0,this.yj(function(a){a.s5?delete a.s5:a.lj(!0)})):(this.yj(function(a){a.isEnabled()?a.lj(!1):a.s5=!0}),this.Xt=this.$z=!1),this.DC&&w8(A8(this),a&&this.Si))};$.g.Gn=function(a){(a=this.od(a))?a.Xp(!0):-1<this.el&&C8(this).Xp(!1)};$.g.WZ=function(a){return a.He()&&a.isEnabled()&&$.NC(a,2)};$.H(H8,$.JC);$.ja(H8);H8.prototype.rh=function(){return"anychart-menuheader"};$.H(opa,$.YC);$.WC("anychart-menuheader",function(){return new opa(null)});$.H(I8,$.JC);$.ja(I8);I8.prototype.pc=function(a){return a.f.pc("DIV",this.rh())};I8.prototype.Ck=function(a,b){b.id&&k8(a,b.id);if("HR"==b.tagName){var c=b;b=this.pc(a);c.parentNode&&c.parentNode.insertBefore(b,c);$.Xe(c)}else $.Nj(b,this.rh());return b};I8.prototype.Dv=function(){};I8.prototype.rh=function(){return"anychart-menuseparator"};$.H(J8,$.YC);J8.prototype.pg=function(){J8.u.pg.call(this);var a=this.Ta();$.iy(a,"separator")};$.WC("anychart-menuseparator",function(){return new J8});$.H(K8,v8);$.ja(K8);$.g=K8.prototype;$.g.pT=function(a){return"UL"==a.tagName||K8.u.pT.call(this,a)};$.g.oG=function(a){return"HR"==a.tagName?new J8:K8.u.oG.call(this,a)};$.g.Iq=function(a,b){return $.df(a.Ta(),b)};$.g.VC=function(){return"anychart-menu"};$.g.qT=function(a){K8.u.qT.call(this,a);a=a.Ta();$.ky(a,"haspopup","true")};$.H(L8,J8);$.WC("anychart-menuseparator",function(){return new J8});$.H(M8,z8);$.g=M8.prototype;$.g.PE=!0;$.g.Iq=function(a){if(this.Cv.Iq(this,a))return!0;for(var b=0,c=$.qy(this);b<c;b++){var d=this.od(b);if("function"==typeof d.Iq&&d.Iq(a))return!0}return!1};$.g.TJ=function(a){this.fc(a,!0)};$.g.Nx=function(a){return this.od(a)};$.g.hm=function(){var a=[];this.yj(function(b){a.push(b)});return a};
$.g.setPosition=function(a,b){var c=this.He();c||$.Pf(this.Ta(),!0);var d=this.Ta(),e=a,f=b,h=$.Ef(d);e instanceof $.gb&&(f=e.y,e=e.x);$.Bf(d,d.offsetLeft+(e-h.x),d.offsetTop+(Number(f)-h.y));c||$.Pf(this.Ta(),!1)};$.g.ri=function(a,b,c){(b=M8.u.ri.call(this,a,b))&&a&&this.df&&this.PE&&A8(this).focus();a&&c&&$.ea(c.clientX)?this.ya=new $.gb(c.clientX,c.clientY):this.ya=null;return b};$.g.RG=function(a){this.PE&&A8(this).focus();return M8.u.RG.call(this,a)};
$.g.WZ=function(a){return a.isEnabled()&&a.He()&&$.NC(a,2)};$.g.Zk=function(a){for(var b=this.Cv,c=$.Be(this.f.b,"DIV",b.VC()+"-content",a),d=c.length,e=0;e<d;e++)ipa(b,this,c[e]);M8.u.Zk.call(this,a)};$.g.rT=function(a){var b=M8.u.rT.call(this,a);b||this.yj(function(c){!b&&c.vda&&c.TM==a.keyCode&&(this.isEnabled()&&this.Gn(this.pf(c)),b=c.bo(a))},this);return b};$.g.Gn=function(a){M8.u.Gn.call(this,a);(a=this.od(a))&&epa(a.Ta(),this.Ta())};$.H(O8,M8);O8.prototype.RG=function(){if(this.PE){var a=A8(this);0!=a.offsetWidth&&a.focus()}return!0};O8.prototype.Ja=function(){return this.O};O8.prototype.pc=function(){O8.u.pc.call(this);this.O=this.f.pc("DIV","anychart-menu-scrollable");$.We(this.Ta(),this.O,0)};O8.prototype.Gn=function(a){O8.u.Gn.call(this,a);(a=this.od(a))&&epa(a.Ta(),this.O)};R8.prototype.b=function(){};$.H(S8,R8);S8.prototype.b=function(a,b,c){Q8(this.element,this.g,a,b,void 0,c,this.N)};$.H(T8,S8);T8.prototype.G=function(){return this.j};T8.prototype.f=function(a){this.j=a};T8.prototype.b=function(a,b,c,d){var e=Q8(this.element,this.g,a,b,null,c,10,d,this.D);if(e&496){var f=U8(e,this.g);b=U8(e,b);e=Q8(this.element,f,a,b,null,c,10,d,this.D);e&496&&(f=U8(e,f),b=U8(e,b),Q8(this.element,f,a,b,null,c,this.j,d,this.D))}};$.H(V8,p8);$.ja(V8);V8.prototype.pc=function(a){var b=V8.u.pc.call(this,a);$.Nj(b,"anychart-submenu");spa(this,a,b);return b};V8.prototype.Ck=function(a,b){b=V8.u.Ck.call(this,a,b);$.Nj(b,"anychart-submenu");spa(this,a,b);var c=$.Be(window.document,"DIV","anychart-menu",b);if(c.length){var d=new M8(a.f);c=c[0];$.Pf(c,!1);a.f.b.body.appendChild(c);d.js(c);Z8(a,d)}return b};
V8.prototype.Dv=function(a,b){var c=this.sn(a),d=c&&c.lastChild;V8.u.Dv.call(this,a,b);d&&c.lastChild!=d&&$.Mj(d,"anychart-submenu-arrow")&&c.appendChild(d)};V8.prototype.WC=function(a){V8.u.WC.call(this,a);var b=a.UC(),c=$.Be(a.f.b,"SPAN","anychart-submenu-arrow",b)[0];rpa(a,c);c!=b.lastChild&&b.appendChild(c);a=a.Ta();$.ky(a,"haspopup","true")};$.H(W8,t8);$.g=W8.prototype;$.g.PG=null;$.g.zT=null;$.g.xT=!1;$.g.El=null;$.g.bM=!1;$.g.pg=function(){W8.u.pg.call(this);$.oy(this).ra(this.getParent(),"hide",this.X0);this.El&&Y8(this,this.El,!0)};$.g.oh=function(){$.oy(this).ac(this.getParent(),"hide",this.X0);this.El&&(Y8(this,this.El,!1),this.bM||(this.El.oh(),$.Xe(this.El.Ta())));W8.u.oh.call(this)};$.g.R=function(){this.El&&!this.bM&&this.El.cd();this.El=null;W8.u.R.call(this)};
$.g.Xp=function(a){W8.u.Xp.call(this,a);a||(this.PG&&$.Fj(this.PG),this.PG=$.yj(this.xl,218,this))};$.g.yT=function(){var a=this.getParent();a&&C8(a)==this&&(upa(this,!0),tpa(this))};$.g.xl=function(){var a=this.El;a&&a.getParent()==this&&(upa(this,!1),a.yj(function(a){"function"==typeof a.xl&&a.xl()}))};$.g.Bp=function(){this.PG&&$.Fj(this.PG);this.zT&&$.Fj(this.zT)};$.g.ri=function(a,b){var c=W8.u.ri.call(this,a,b);c&&!this.He()&&this.xl();return c};
$.g.bo=function(a){var b=a.keyCode,c=$.py(this)?37:39,d=$.py(this)?39:37;if(!this.xT){if(!this.isEnabled()||b!=c&&b!=this.TM)return!1;this.yT();E8(X8(this));this.Bp()}else if(!X8(this).bo(a))if(b==d)this.xl();else return!1;a.preventDefault();return!0};$.g.Oda=function(){if(this.El.getParent()==this){this.Bp();var a=this.Gi();a.Gn(a.pf(this));tpa(this)}};$.g.X0=function(a){a.target==this.Gi()&&(this.xl(),this.Bp())};
$.g.co=function(a){this.isEnabled()&&(this.Bp(),this.zT=$.yj(this.yT,218,this));W8.u.co.call(this,a)};$.g.Cs=function(a){this.Bp();if($.NC(this,8)||$.NC(this,16))return W8.u.Cs.call(this,a);this.yT();return!0};$.g.Nx=function(a){return X8(this).od(a)};$.g.hm=function(){return X8(this).hm()};$.g.Iq=function(a){return X8(this).Iq(a)};$.WC("anychart-submenu",function(){return new W8(null)});$.H($8,p8);$.ja($8);$.g=$8.prototype;$.g.pc=function(a){var b=$8.u.pc.call(this,a);$.Nj(b,"anychart-submenu");vpa(this,a,b);return b};$.g.Ck=function(a,b){b=$8.u.Ck.call(this,a,b);$.Nj(b,"anychart-submenu");vpa(this,a,b);var c=$.Be(window.document,"div","anychart-menu",b);if(c.length){var d=new O8(a.f);c=c[0];$.Pf(c,!1);a.f.b.body.appendChild(c);d.js(c);Z8(a,d)}return b};
$.g.Dv=function(a,b){var c=this.sn(a),d=c&&c.lastChild;$8.u.Dv.call(this,a,b);d&&c.lastChild!=d&&$.Mj(d,"anychart-submenu-arrow")&&c.appendChild(d)};$.g.WC=function(a){$8.u.WC.call(this,a);var b=a.UC(),c=$.Be(a.f.b,"span","anychart-submenu-arrow",b)[0];c.innerHTML="&nbsp;";c!=b.lastChild&&b.appendChild(c);a=a.Ta();$.ky(a,"haspopup","true")};$.g.sn=function(a){a=a&&a.firstChild;return"I"==a.tagName?a.nextSibling:a};$.H(a9,t8);$.g=a9.prototype;$.g.gF=null;$.g.xQ=null;$.g.vQ=!1;$.g.ul=null;$.g.UJ=!1;$.g.pg=function(){a9.u.pg.call(this);$.oy(this).ra(this.getParent(),"hide",this.uZ);this.ul&&c9(this,this.ul,!0)};$.g.oh=function(){$.oy(this).ac(this.getParent(),"hide",this.uZ);this.ul&&(c9(this,this.ul,!1),this.UJ||(this.ul.oh(),$.Xe(this.ul.Ta())));a9.u.oh.call(this)};$.g.R=function(){this.b=null;this.ul&&!this.UJ&&this.ul.cd();this.ul=null;a9.u.R.call(this)};
$.g.Xp=function(a){a9.u.Xp.call(this,a);a||(this.gF&&$.Fj(this.gF),this.gF=$.yj(this.xl,218,this))};$.g.wQ=function(){var a=this.getParent();a&&C8(a)==this&&(xpa(this,!0),wpa(this))};$.g.xl=function(){var a=this.ul;a&&a.getParent()==this&&(xpa(this,!1),a.yj(function(a){"function"==typeof a.xl&&a.xl()}))};$.g.Bp=function(){this.gF&&$.Fj(this.gF);this.xQ&&$.Fj(this.xQ)};$.g.ri=function(a,b){var c=a9.u.ri.call(this,a,b);c&&!this.He()&&this.xl();return c};
$.g.bo=function(a){var b=a.keyCode,c=$.py(this)?37:39,d=$.py(this)?39:37;if(!this.vQ){if(!this.isEnabled()||b!=c&&b!=this.TM)return!1;this.wQ();E8(b9(this));this.Bp()}else if(!b9(this).bo(a))if(b==d)this.xl();else return!1;a.preventDefault();return!0};$.g.mba=function(){if(this.ul.getParent()==this){this.Bp();var a=this.Gi();a.Gn(a.pf(this));wpa(this)}};$.g.uZ=function(a){a.target==this.Gi()&&(this.xl(),this.Bp())};
$.g.co=function(a){this.isEnabled()&&(this.Bp(),this.xQ=$.yj(this.wQ,218,this));a9.u.co.call(this,a)};$.g.Cs=function(a){this.Bp();if($.NC(this,8)||$.NC(this,16))return a9.u.Cs.call(this,a);this.wQ();return!0};$.g.TJ=function(a){b9(this).fc(a,!0)};$.g.Nx=function(a){return b9(this).od(a)};$.g.Iq=function(a){return b9(this).Iq(a)};$.H(e9,R8);e9.prototype.b=function(a,b,c,d){var e=$.re(a);var f=e.body;e=e.documentElement;e=new $.gb(f.scrollLeft||e.scrollLeft,f.scrollTop||e.scrollTop);f=this.g.x+e.x;e=this.g.y+e.y;var h=ppa(a);f-=h.x;e-=h.y;P8(new $.gb(f,e),a,b,c,null,null,d)};$.H(f9,e9);f9.prototype.j=0;f9.prototype.f=function(a){this.j=a};f9.prototype.b=function(a,b,c,d){var e=$.Cf(a);e=n8(e);var f=$.Ge($.te(a).b);f=new $.gb(this.g.x+f.scrollLeft,this.g.y+f.scrollTop);var h=b,k=P8(f,a,h,c,e,10,d);if(0!=(k&496)){if(k&16||k&32)h^=4;if(k&64||k&128)h^=1;k=P8(f,a,h,c,e,10,d);0!=(k&496)&&P8(f,a,b,c,e,this.j,d)}};$.H(ypa,T8);$.H(g9,M8);$.g=g9.prototype;$.g.Zk=function(a){g9.u.Zk.call(this,a);(a=a.getAttribute("for")||a.htmlFor)&&this.uT(this.f.Ta(a),1)};$.g.pg=function(){g9.u.pg.call(this);this.g.forEach(this.FZ,this);var a=$.oy(this);a.ra(this,"action",this.nga);a.ra(this.f.b,"mousedown",this.wga,!0)};
$.g.uT=function(a,b,c,d,e){var f;(f=!a)||(f=$.oa(a),f=!$.FB(this.g.f,f));f&&(a?(b={pd:a,M4:b,Afa:c,kS:d?"contextmenu":"mousedown",Mc:e},this.g.set($.oa(a),b)):b=null,this.df&&this.FZ(b),a=$.qa(this.Cga,a),this.Ta()&&$.oy(this).ra(this.Ta(),"keydown",a))};$.g.Cga=function(a,b){if(27==b.keyCode)a.focus();else{var c=this.od(this.el);if(c){c=c.Ta();var d=new $.xd(b.dl,c);d.target=c;if(32==b.keyCode||13==b.keyCode)$.Ad(c)?$.rf(c,"keydown",!1,d):$.$d(c,"keydown",!1,d);32==b.keyCode&&this.Oc()}}};
$.g.FZ=function(a){$.oy(this).ra(a.pd,a.kS,this.T2);"contextmenu"!=a.kS&&$.oy(this).ra(a.pd,"keydown",this.Sga)};$.g.vT=function(a){var b;(b=!a)||(b=$.oa(a),b=!$.FB(this.g.f,b));if(b)throw Error("Menu not attached to provided element, unable to detach.");a=$.oa(a);this.df&&(b=this.g.get(a),$.oy(this).ac(b.pd,b.kS,this.T2));this.g.remove(a)};$.g.Oc=function(){this.He()&&(this.ri(!1),this.He()||(0,$.Fn)())};$.g.nga=function(){this.Oc()};$.g.T2=function(a){Apa(this,a)};
$.g.Sga=function(a){32!=a.keyCode&&13!=a.keyCode&&40!=a.keyCode||Apa(this,a);40==a.keyCode&&E8(this)};$.g.wga=function(a){this.He()&&!this.Iq(a.target)&&this.Oc()};$.g.YL=function(a){g9.u.YL.call(this,a);this.Oc()};$.g.R=function(){g9.u.R.call(this);this.g&&(this.g.clear(),delete this.g)};$.H(h9,g9);$.g=h9.prototype;$.g.RG=function(){if(this.PE){var a=A8(this);0!=a.offsetWidth&&a.focus()}return!0};$.g.oL=!0;$.g.enabled=function(a){return $.n(a)?(this.oL!=a&&(this.oL=a),this):this.oL};$.g.tZ=function(a){a&&(this.b?$.Aa(this.b,a)||this.b.push(a):this.b=[a]);this.Ta()&&this.b&&this.b.length&&$.Oj(this.Ta(),this.b)};$.g.fba=function(a){a&&this.b&&$.Fa(this.b,a)&&(this.Ta()&&$.Pj(this.Ta(),a),this.b.length||(this.b=null))};
$.g.items=function(a){return null!=a?(this.R1(function(){return a}),a.length||this.Oc(),this.Sg=a,this):this.Sg};$.g.R1=function(a){return $.E(a)?(this.ga!=a&&(this.ga=a,this.ka=!1),this):this.ga};$.g.eba=function(a){return $.n(a)?(this.U!=a&&(this.U=a),this):this.U};
$.g.QG=function(a){this.oL&&(this.Ba&&this.Ba.Xa().Oc(),this.qK=a.target,Bpa(this,a,this.qK),$.D(this.items())&&!$.Jc(this.items())&&($.E(a.getOriginalEvent)?a.getOriginalEvent().preventDefault():a.preventDefault(),this.ij&&$.E(this.ij.getType)&&"map"==this.ij.getType()?(0,window.setTimeout)(this.Ga,0,a.clientX,a.clientY):this.show(a.clientX,a.clientY)))};$.g.Fd=function(a){h9.u.Fd.call(this,a);this.b&&this.b.length&&$.Oj(this.Ta(),this.b)};
$.g.uT=function(a,b){a&&!this.N&&(this.N=!0,$.D(a)&&$.E(a.listen)?(this.ij=a,this.ij.listen("contextmenu",this.QG,b,this)):$.oy(this).ra(a,"contextmenu",this.QG,b));return this};$.g.vT=function(a,b){this.N&&(null!=this.ij&&$.E(this.ij.unlisten)?this.N=!this.ij.unlisten("contextmenu",this.QG,b,this):$.Vd(a,"contextmenu",this.QG,b,this)&&($.oy(this).ac(a,"contextmenu",this.QG,b),this.N=!1),this.N||this.Oc());return this};
$.g.show=function(a,b){if(this.ka&&!$.Jc(this.items())||Bpa(this,null,this.ij)){var c=this.ij?this.ij.P().Ha():null;c=c&&c.fullScreen()?c.Bl():$.Bp.body;this.ba.parentNode!=c&&c.appendChild(this.ba);for(this.df||this.Fd(this.ba);this.j&&0!=this.j.length;)c=this.od(0),this.removeChild(c),c.cd();Cpa(this,this,this.items());c=new f9(a,b);c.f(197);zpa(this,c)}};$.g.Uea=function(a,b){return $.ea(a.index)?$.ea(b.index)?a.index-b.index||1:-1:1};
$.g.R=function(){null!=this.ij&&this.vT();this.ba=this.b=this.ij=this.qK=null;h9.u.R.call(this)};$.g.F=function(){var a={};a.enabled=this.enabled();this.b&&(a.extraClassNames=$.Ha(this.b));return a};$.g.K=function(a){$.n(a)&&!this.Ce(a)&&$.D(a)&&this.X(a);return this};$.g.Od=function(a){return $.da(a)||null===a?{enabled:!!a}:null};$.g.Ce=function(a){return(a=this.Od(a))?(this.enabled(a.enabled),!0):!1};
$.g.X=function(a){this.enabled("enabled"in a?a.enabled:!0);if(a=a.extraClassNames)for(var b=0,c=a.length;b<c;b++)this.tZ(a[b])};var N9=h9.prototype;$.F("anychart.ui.contextMenu",function(){return new h9});N9.serialize=N9.F;N9.setup=N9.K;N9.enabled=N9.enabled;N9.addClassName=N9.tZ;N9.removeClassName=N9.fba;N9.attach=N9.uT;N9.detach=N9.vT;N9.listen=N9.ra;N9.unlisten=N9.ac;N9.show=N9.show;N9.hide=N9.Oc;N9.items=N9.items;N9.itemsProvider=N9.R1;N9.itemsFormatter=N9.eba;$.H(d9,K8);$.ja(d9);d9.prototype.VC=function(){return"anychart-toolbar-menu"};$.H(j9,$.TC);$.ja(j9);$.g=j9.prototype;$.g.pc=function(a){var b=$.QC(this,a);b=a.f.pc("DIV","anychart-inline-block "+b.join(" "),this.sK(a.Cd,a.f));$.UC(b,a.gb);return b};$.g.LG=function(){return"button"};$.g.sn=function(a){return a&&a.firstChild&&a.firstChild.firstChild};$.g.sK=function(a,b){return b.pc("DIV","anychart-inline-block "+(this.rh()+"-outer-box"),b.pc("DIV","anychart-inline-block "+(this.rh()+"-inner-box"),a))};$.g.KG=function(a){return"DIV"==a.tagName};
$.g.Ck=function(a,b){Epa(b,!0);Epa(b,!1);a:{var c=a.f.x0(b);var d=this.rh()+"-outer-box";if(c&&$.Mj(c,d)&&(c=a.f.x0(c),d=this.rh()+"-inner-box",c&&$.Mj(c,d))){c=!0;break a}c=!1}c||b.appendChild(this.sK(b.childNodes,a.f));$.Oj(b,["anychart-inline-block",this.rh()]);return j9.u.Ck.call(this,a,b)};$.g.rh=function(){return"anychart-custom-button"};$.H(k9,j9);$.ja(k9);$.g=k9.prototype;$.g.sn=function(a){return k9.u.sn.call(this,a&&a.firstChild)};$.g.Ck=function(a,b){var c=$.Be(window.document,"*","anychart-menu",b)[0];if(c){$.Pf(c,!1);$.re(c).body.appendChild(c);var d=new M8;d.js(c);n9(a,d)}return k9.u.Ck.call(this,a,b)};$.g.sK=function(a,b){return k9.u.sK.call(this,[b.pc("DIV","anychart-inline-block "+(this.rh()+"-caption"),a),this.m_(b)],b)};$.g.m_=function(a){return a.pc("DIV","anychart-inline-block "+(this.rh()+"-dropdown")," ")};
$.g.rh=function(){return"anychart-menu-button"};$.H(l9,k9);$.ja(l9);l9.prototype.rh=function(){return"anychart-toolbar-menu-button"};$.H(m9,l9);$.ja(m9);m9.prototype.m_=function(a){a=a.pc("DIV","anychart-inline-block "+(this.rh()+"-dropdown"));a.innerHTML="&nbsp;";return a};$.H(o9,$.mD);$.g=o9.prototype;$.g.tM=!1;$.g.pg=function(){o9.u.pg.call(this);Gpa(this,!0);this.b&&p9(this,this.b,!0);$.ky(this.pd,"haspopup",!!this.b)};$.g.oh=function(){o9.u.oh.call(this);Gpa(this,!1);if(this.b){this.ml(!1);this.b.oh();p9(this,this.b,!1);var a=this.b.Ta();a&&$.Xe(a)}};$.g.R=function(){o9.u.R.call(this);this.b&&(this.b.cd(),delete this.b);delete this.Ja;this.O.cd()};$.g.Cj=function(a){o9.u.Cj.call(this,a);this.$p()&&(this.ml(!$.OC(this,64),a),this.b&&(this.b.Xt=$.OC(this,64)))};
$.g.Zq=function(a){o9.u.Zq.call(this,a);this.b&&!this.$p()&&(this.b.Xt=!1)};$.g.Cs=function(){$.fD(this,!1);return!0};$.g.$da=function(a){this.b&&this.b.He()&&!this.Iq(a.target)&&this.ml(!1)};$.g.Iq=function(a){return a&&$.df(this.Ta(),a)||this.b&&this.b.Iq(a)||!1};
$.g.aA=function(a){if(32==a.keyCode){if(a.preventDefault(),"keyup"!=a.type)return!0}else if("key"!=a.type)return!1;if(this.b&&this.b.He()){var b=13==a.keyCode||32==a.keyCode,c=this.b.bo(a);return 27==a.keyCode||b?(this.ml(!1),!0):c}return 40==a.keyCode||38==a.keyCode||32==a.keyCode||13==a.keyCode?(this.ml(!0,a),!0):!1};$.g.lea=function(){this.ml(!1)};$.g.mea=function(){this.$p()||this.ml(!1)};$.g.$L=function(a){this.tM||this.ml(!1);o9.u.$L.call(this,a)};
$.g.Nx=function(a){return this.b?this.b.od(a):null};$.g.ri=function(a,b){var c=o9.u.ri.call(this,a,b);c&&!this.He()&&this.ml(!1);return c};$.g.lj=function(a){o9.u.lj.call(this,a);this.isEnabled()||this.ml(!1)};
$.g.ml=function(a,b){o9.u.ml.call(this,a);if(this.b&&$.OC(this,64)==a){if(a)this.b.df||this.b.Fd(),this.ya=n8(this.Ta()),this.ga=$.Of(this.Ta()),Fpa(this),!b||40!=b.keyCode&&38!=b.keyCode?this.b.Gn(-1):E8(this.b);else{$.fD(this,!1);this.b.Xt=!1;var c=this.Ta();c&&($.ky(c,"activedescendant",""),$.ky(c,"owns",""));null!=this.ba&&(this.ba=void 0,(c=this.b.Ta())&&$.Hf(c,"",""))}this.b.ri(a,!1,b);if(!this.fd){c=$.oy(this);var d=a?c.ra:c.ac;d.call(c,this.f.b,"mousedown",this.$da,!0);this.tM&&d.call(c,this.b,
"blur",this.mea);d.call(c,this.O,"tick",this.Tga);a?this.O.start():this.O.stop()}}this.b&&this.b.Ta()&&this.b.pd.removeAttribute("aria-hidden")};$.g.Tga=function(){var a=$.Of(this.Ta()),b=n8(this.Ta()),c;(c=!$.ob(this.ga,a))||(c=this.ya,c=!(c==b||c&&b&&c.top==b.top&&c.right==b.right&&c.bottom==b.bottom&&c.left==b.left));c&&(this.ga=a,this.ya=b,Fpa(this))};$.g.Mda=function(a){(a=a.target.Ta())&&Hpa(this,a)};$.g.iea=function(a){$.NC(this,32)&&this.Ta()&&this.b&&this.b.He()&&a.stopPropagation()};
$.g.Nda=function(){if(!C8(this.b)){var a=this.Ta();$.ky(a,"activedescendant","");$.ky(a,"owns","")}};$.g.Lda=function(a){if($.OC(this,64)&&a.target instanceof t8){a=a.target;var b=a.Ta();a.He()&&$.OC(a,2)&&null!=b&&Hpa(this,b)}};$.WC("anychart-menu-button",function(){return new o9(null)});$.H(q9,o9);$.WC("anychart-toolbar-menu-button",function(){return new q9(null)});$.H(r9,q9);r9.prototype.aA=function(a){if(32==a.keyCode){if(a.preventDefault(),"keyup"!=a.type)return!0}else if("key"!=a.type)return!1;var b;this.b||n9(this,new M8(this.f,this.Ga));return(b=this.b||null)&&b.He()?b.bo(a):40==a.keyCode||38==a.keyCode||32==a.keyCode||13==a.keyCode?(this.ml(!0,a),!0):!1};$.H(s9,I8);$.ja(s9);s9.prototype.pc=function(a){return a.f.pc("DIV",$.QC(this,a).join(" ")+" anychart-inline-block"," ")};s9.prototype.Ck=function(a,b){b=s9.u.Ck.call(this,a,b);$.Nj(b,"anychart-inline-block");return b};s9.prototype.rh=function(){return"anychart-toolbar-separator"};$.H(t9,s9);$.ja(t9);t9.prototype.pc=function(a){a=a.f.pc("DIV",$.QC(this,a).join(" ")+" anychart-inline-block");a.innerHTML="&nbsp;";return a};$.H(u9,J8);$.H(v9,v8);$.ja(v9);v9.prototype.oG=function(a){return"HR"==a.tagName?new J8(s9.vd()):v9.u.oG.call(this,a)};v9.prototype.VC=function(){return"anychart-toolbar"};v9.prototype.s0=function(){return x8};$.H(w9,z8);w9.prototype.ZL=function(a){w9.u.ZL.call(this,a);this.Xt||E8(this)};$.H(x9,w9);x9.prototype.P=function(a){return $.n(a)?(a=$.ue(window.document,a),this.Kc!=a&&(this.oh(),this.Kc=a,this.$()),this):this.Kc};x9.prototype.target=function(a){return $.n(a)?(this.ka=a,this):this.ka};x9.prototype.$=function(){if(this.Kc)if(this.Kc.firstChild){var a=this.Kc.firstChild;this.PD(a.parentNode,a)}else this.Fd(this.Kc);else $.el(13);return this};$.H(y9,j9);$.ja(y9);y9.prototype.rh=function(){return"anychart-toolbar-button"};$.H(z9,$.mD);$.WC("anychart-toolbar-button",function(){return new z9(null)});$.H(E9,x9);var Kpa={print:"Print",changeLayout:"Layout",changeRange:"Range",allDates:"All dates",visibleDates:"Visible dates",portrait:"Portrait",landscape:"Landscape",saveAs:"Save As",zoomIn:"Zoom In",zoomOut:"Zoom Out",fitAll:"Fit All",expandAll:"Expand All",collapseAll:"Collapse All"},D9="landscape",C9="visible";$.g=E9.prototype;$.g.wba=function(a){return $.n(a)?(a!=this.N&&(this.N=a,F9(this)),this):this.N};
$.g.Qda=function(a){a=a.target.Sg;var b=a.yt,c=a&&a.CZ||[];a=this.target();if("print"==b)if(b=this.xN.qe,c=[c[0],"landscape"==this.xN.pe],$.E(this.U))c.push(b),this.U.apply(null,$.Ga([a],c));else if(a){var d=a.print;if($.E(d)){var e=a.Sf().scale().cj();"full"==b&&a.Cm();d.apply(a,c);a.Ui(e.min,e.max)}else $.el(14,null,["print"])}else $.el(15);else a?(d=a[b],$.E(d)?d.apply(a,c):$.el(14,null,[b])):$.el(15)};
$.g.m3=function(a){if($.n(a)){for(this.ga=a;3<$.qy(this.Fs);)this.Fs.jj(3,!0);this.oh();this.$();return this}return this.ga};$.g.$=function(){F9(this);if(!this.df){for(var a=this.m3(),b=0;b<a.length;b++){var c=a[b],d=new u8("us-letter"==c?"US Letter":$.Ac(c));d.Sg={yt:"print",CZ:[c]};$.aD(d,"anychart-toolbar-print-"+c);this.Fs.fc(d,!0)}return E9.u.$.call(this)}return this};$.g.rha=function(a){return $.n(a)?(this.U=a,this):this.U};
$.g.Uia=function(){for(var a=this.b,b=0;b<a.length;b++){var c=a[b],d=c.Sg,e=B9(d.id);e&&(l8(c,e),d.text=e)}c=this.Fs.od(0);a=this.Fs.od(1);l8(c,B9("changeLayout"));l8(a,B9("changeRange"));b=c.Nx(0);c=c.Nx(1);l8(b,B9("landscape"));l8(c,B9("portrait"));b=a.Nx(0);a=a.Nx(1);l8(b,B9("allDates"));l8(a,B9("visibleDates"));F9(this);return this};$.F("anychart.ui.ganttToolbar",function(){return new E9});var O9=E9.prototype;O9.draw=O9.$;O9.printPaperSizes=O9.m3;O9.container=O9.P;O9.target=O9.target;
O9.buttonsMode=O9.wba;O9.printFunction=O9.rha;O9.updateLocalizedCaptions=O9.Uia;$.H(G9,$.my);$.g=G9.prototype;$.g.Si=!1;$.g.visible=function(a){if($.n(a)){if(a==this.Si)return this;a?(this.df||this.Fd(),this.Si=!0):this.Si=!1;$.Pf(this.Ta(),this.Si);return this}return this.Si};$.g.pc=function(){G9.u.pc.call(this);Lpa(this)};$.g.Zk=function(a){G9.u.Zk.call(this,a);Lpa(this,a)};$.g.pg=function(){G9.u.pg.call(this)};$.g.oh=function(){G9.u.oh.call(this)};$.g.R=function(){G9.u.R.call(this)};var P9=G9.prototype;$.F("anychart.ui.preloader",function(){return new G9});P9.render=P9.Fd;
P9.decorate=P9.js;P9.visible=P9.visible;$.H(H9,$.my);$.g=H9.prototype;$.g.target=function(a){this.b=a};$.g.uQ=function(a){this.ya=a.firstVisible;this.Ja=a.lastVisible;Npa(this)};$.g.format=function(a){$.n(a)&&(this.CS=a,Npa(this));return this.CS||$.fl.anychart.format.outputDateTimeFormat()};$.g.pc=function(){H9.u.pc.call(this);Opa(this)};$.g.gba=function(a){this.Fd(a)};$.g.Zk=function(a){Ppa(a)?this.Fd(a):(H9.u.Zk.call(this,a),Opa(this))};
$.g.ida=function(a){return $.n(a)?(this.ka!=a&&(this.ka=a,this.ba&&$.ef(this.ba,$.fl.anychart.format.getMessage(this.ka))),this):this.ka};$.g.Nia=function(a){return $.n(a)?(this.Ga!=a&&(this.Ga=a,this.O&&$.ef(this.O,$.fl.anychart.format.getMessage(this.Ga))),this):this.Ga};
$.g.Fd=function(a){a=a||this.b;if(Ppa(a)){this.target(a);this.Ra=!0;var b=this.b.container()?this.b.container().getStage():null;b&&b.container()?a=b.container():a=null}b=this.b?!(0,window.isNaN)(this.b.getSelectedRange().firstSelected):!1;a&&b?H9.u.Fd.call(this,a):(a=(0,$.pa)(this.gba,this,a||this.b),this.b.ve("chartdraw",a,!1,this))};
$.g.pg=function(){H9.u.pg.call(this);if(this.b){if(this.Ra){var a=($.Wf(this.Ta()).height||21)+15,b=this.b.padding().bottom();a>b&&this.b.padding().bottom(b+a)}this.b.listen("selectedrangechange",this.uQ,!1,this);a=$.oy(this);a.ra(this.g.Ta(),"blur",this.vV);a.ra(this.N.Ta(),"blur",this.vV);this.U||(this.U=new $.zp(this.g.Ta()),a.ra(this.U,"key",this.fN));this.ga||(this.ga=new $.zp(this.N.Ta()),a.ra(this.ga,"key",this.fN))}};
$.g.vV=function(){var a=this.g.ej(),b=this.N.ej(),c=this.format();a=$.fl.anychart.format.parseDateTime(a,c);b=$.fl.anychart.format.parseDateTime(b,c);if(a&&b){c=a.getTime();var d=b.getTime();c>d&&(a=[b,b=a][0],c=[d,d=c][0]);if(c!=this.ya||d!=this.Ja){this.ya=c;this.Ja=d;this.b.selectRange(a,b,!0);return}}$.xy(this.g,$.fl.anychart.format.dateTime(this.ya,this.format()));$.xy(this.N,$.fl.anychart.format.dateTime(this.Ja,this.format()))};
$.g.fN=function(a){if(13==a.keyCode){a=a.target.T1.Ta();var b;a:{var c=b=0;if(Mpa(a))b=a.selectionStart,c=-1;else if($.hd&&!$.bd("9")){var d=a.ownerDocument||a.document;var e=d.selection.createRange();"textarea"==a.type?(d=d.body.createTextRange(),d.moveToElementText(a)):d=a.createTextRange();d=[d,e];e=d[0];d=d[1];if(e.inRange(d)){e.setEndPoint("EndToStart",d);if("textarea"==a.type){d.duplicate();c=b=e.text;for(d=!1;!d;)0==e.compareEndPoints("StartToEnd",e)?d=!0:(e.moveEnd("character",-1),e.text==
b?c+="\r\n":d=!0);b=[c.length,-1];break a}b=e.text.length;c=-1}}b=[b,c]}b=b[0];this.vV();Mpa(a)?(a.selectionStart=b,a.selectionEnd=b):$.hd&&!$.bd("9")&&("textarea"==a.type&&(b=$.jc(a.value.substring(0,b)).length),a=a.createTextRange(),a.collapse(!0),a.move("character",b),a.select())}};$.g.oh=function(){H9.u.oh.call(this)};
$.g.R=function(){this.b.unlisten("selectedrangechange",this.uQ,!1,this);this.b=null;this.O&&($.Xe(this.ba),this.ba=null);this.O&&($.Xe(this.O),this.O=null);this.U&&($.oy(this).ac(this.U,"key",this.fN),this.U.cd(),this.U=null);this.ga&&($.oy(this).ac(this.ga,"key",this.fN),this.ga.cd(),this.ga=null);H9.u.R.call(this)};var Q9=H9.prototype;$.F("anychart.ui.rangePicker",function(){return new H9});Q9.render=Q9.Fd;Q9.decorate=Q9.js;Q9.target=Q9.target;Q9.format=Q9.format;Q9.dispose=Q9.cd;
Q9.getElement=Q9.Ta;Q9.toLabelText=Q9.Nia;Q9.fromLabelText=Q9.ida;$.H(Rpa,$.pD);var Qpa="anychart-button-toggle";$.H(I9,$.qf);$.g=I9.prototype;$.g.OG=null;$.g.wT=null;$.g.Nx=function(a){return this.Qb[a]||null};$.g.hm=function(){return $.Ha(this.Qb)};$.g.clear=function(){var a=this.Qb;if(!$.A(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0;this.OG=null};$.g.R=function(){I9.u.R.call(this);delete this.Qb;this.OG=null};$.H(L9,$.my);$.g=L9.prototype;$.g.target=function(a){this.b=a};$.g.SJ=function(a){if(a.firstSelected==a.firstKey&&a.lastSelected==a.lastKey&&(a=$.ry(this,"max"))){K9(this.g,a);return}K9(this.g,null)};$.g.jba=function(a,b){a&&$.gD(a,b)};
$.g.yy=function(a){$.n(a)&&$.A(a)&&(this.ad=(0,$.Fg)(a,function(a,c){c=$.Qc(c);var b=$.n(c.startDate)&&$.n(c.endDate);"unit"==c.type||"points"==c.type?(c.count=c.count||1,c.anchor=$.$k(c.anchor),a.push(c)):b?(c.type="range",a.push(c)):"range"!=c.type&&a.push(c);return a},[]),this.update());return this.ad};$.g.pc=function(){L9.u.pc.call(this);Tpa(this)};$.g.Zk=function(a){Upa(a)?this.Fd(a):(L9.u.Zk.call(this,a),Tpa(this))};
$.g.update=function(){this.df&&(this.Ki(!0),this.g.clear(),(0,$.Qe)(this.ad,function(a,b){var c=new Rpa(a.text);c.Sg=a;"max"==a.type&&k8(c,"max");c.Ku&=-17;var d=this.g,e=d.Qb.length;c&&(J9(d,c,!1),$.Da(d.Qb,c,e));b?b==this.ad.length-1?$.oD(c,1):$.oD(c,3):$.oD(c,2);this.fc(c,!0)},this))};$.g.kja=function(a){return $.n(a)?(this.O!=a&&(this.O=a,this.N&&$.ef(this.N,$.fl.anychart.format.getMessage(this.O))),this):this.O};$.g.hba=function(a){this.Fd(a)};
$.g.Fd=function(a){a=a||this.b;if(Upa(a)){this.target(a);this.U=!0;var b=this.b.container()?this.b.container().getStage():null;b&&b.container()?a=b.container():a=null}b=this.b?!(0,window.isNaN)(this.b.getSelectedRange().firstSelected):!1;a&&b?(L9.u.Fd.call(this,a),(a=this.b?this.b.pG():null)&&this.SJ({firstKey:a.zn,lastKey:a.cp,firstSelected:a.Wr,lastSelected:a.Vv})):(a=(0,$.pa)(this.hba,this,a||this.b),this.b.ve("chartdraw",a,!1,this))};
$.g.js=function(a){L9.u.js.call(this,a);this.b&&(a=this.b?this.b.pG():null)&&this.SJ({firstKey:a.zn,lastKey:a.cp,firstSelected:a.Wr,lastSelected:a.Vv})};$.g.pg=function(){L9.u.pg.call(this);if(this.b){this.update();if(this.U){var a=($.Wf(this.Ta()).height||21)+15,b=this.b.padding().bottom();a>b&&this.b.padding().bottom(b+a)}this.b.listen("selectedrangechange",this.SJ,!1,this);$.oy(this).ra(this,"action",this.iba)}};
$.g.iba=function(a){var b=a.target.Sg,c=$.xk($.jE,b.type,$.n(null)?null:"max");"unit"==c?this.b.selectRange(b.unit,b.count,b.anchor,!0):"points"==c?this.b.selectRange("points",b.count,b.anchor,!0):"ytd"==c||"qtd"==c||"mtd"==c||"max"==c?this.b.selectRange(c,!0):(c=$.fl.anychart.format.parseDateTime(b.startDate),b=$.fl.anychart.format.parseDateTime(b.endDate),c&&b&&this.b.selectRange(c,b,!0));K9(this.g,a.target)};$.g.oh=function(){L9.u.oh.call(this)};
$.g.R=function(){this.b.unlisten("selectedrangechange",this.SJ,!1,this);this.b=null;this.g.clear();this.N&&($.Xe(this.N),this.N=null);L9.u.R.call(this)};var R9=L9.prototype;$.F("anychart.ui.rangeSelector",function(){return new L9});R9.render=R9.Fd;R9.decorate=R9.js;R9.target=R9.target;R9.ranges=R9.yy;R9.dispose=R9.cd;R9.getElement=R9.Ta;R9.zoomLabelText=R9.kja;$.H(M9,$.my);$.g=M9.prototype;$.g.target=function(a){this.b=a};$.g.pc=function(){M9.u.pc.call(this);Vpa(this)};$.g.Zk=function(a){Wpa(a)?this.Fd(a):(M9.u.Zk.call(this,a),Vpa(this))};$.g.kba=function(a){this.Fd(a)};
$.g.Fd=function(a){a=a||this.b;var b;(b=Wpa(a))||(b=(b=a)&&$.E(b.getType)&&"timeline"==b.getType());b||(b=(b=a)&&$.E(b.getType)&&"graph"==b.getType());b&&(this.target(a),(b=this.b.container()?this.b.container().getStage():null)&&b.container()?a=b.container():a=null);a?M9.u.Fd.call(this,a):(a=(0,$.pa)(this.kba,this,a||this.b),this.b.listenOnce("chartdraw",a,!1,this))};$.g.pg=function(){M9.u.pg.call(this);this.b&&$.oy(this).ra(this,"action",this.lba)};
$.g.lba=function(a){a=a.target.Sg;this.b.pl=100;var b=this.b.getCurrentScene();switch(a.type){case "fitAll":b.fitAll();break;case "zoomIn":b.zoomIn();break;case "zoomOut":b.zoomOut()}};$.g.oh=function(){M9.u.oh.call(this)};$.g.R=function(){this.b=null;this.g.cd();this.g=null;this.N.cd();this.N=null;this.O.cd();this.O=null;M9.u.R.call(this)};var S9=M9.prototype;$.F("anychart.ui.zoom",function(){return new M9});S9.render=S9.Fd;S9.decorate=S9.js;S9.target=S9.target;S9.dispose=S9.cd;}).call(this,$)}
if(!_.binding){_.binding=1;(function($){var MN=function(a){var b=a.type;switch($.z(b)&&b.toLowerCase()){case "checkbox":case "radio":return a.checked?a.value:null;case "select-one":return b=a.selectedIndex,0<=b?a.options[b].value:null;case "select-multiple":b=[];for(var c,d=0;c=a.options[d];d++)c.selected&&b.push(c.value);return b.length?b:null;default:return null!=a.value?a.value:null}},NN=function(a,b,c,d){if($.z(a)){for(var e=[$.fl],f=0;f<arguments.length;f++)e.push(arguments[f]);return NN.apply(null,e)}var h=b;var k=/\s*\.?\s*(([\w_]+)(\(\s*(,?\s*([\d\.]+|".+"|'.+'|\{\d+\}))*\s*\))?)/,
l=[],m=!1;do{var p=h.match(k);if(!p){m=!0;break}var q=p[3],r=void 0;q&&(q=/\(\s*(.*)\s*\)/.exec(q),q[1]&&(r=q[1].split(/\s*,\s*/)),q=!0);l.push([p[2],q,r]);h=h.replace(p[0],"")}while(h.length);if(h=m?!1:l){k=[];for(l=3;l<arguments.length;l++)k.push(arguments[l]);a:{l=a;try{for(m=0;m<h.length;m++){var t=h[m];var u=t[0];e=t[1];if(f=t[2])for(p=0;p<f.length;p++){var v=f[p].replace(/^'(.*)'$/,"$1");v=v.replace(/^"(.*)"$/,"$1");if(v==f[p]){var w=f[p].match(/^\{(\d+)\}$/);if(w){var x=Number(w[1]);f[p]=$.n(k[x])?
k[x]:void 0}}else f[p]=v}void 0!=c&&m==h.length-1&&(f=f?f:[],f.push(c));l=e?l[u].apply(l,f):l[u]}}catch(y){t="Could not apply key '"+u;e&&(t+="()");t+="'";f&&(t+=" with arguments ["+f+"]");if(e=$.fl.console)f=e.warn||e.log,"object"!=typeof f&&f.call(e,t);e=null;break a}e=l}return e}},PN=function(a){$.n(a)||(a=".ac-control");if($.bf(a)){var b=a;a=b.type;if($.n(a)){a=a.toLowerCase();var c="change";switch(a){case "button":case "submit":c="click";break;case "text":case "textarea":case "range":c="input"}ON(b);
$.Id(b,c,Iea,!1);a=b.getAttribute("ac-chart-id");a=$.fl.anychart.getChartById(a);$.Id(a,"chartdraw",function(){ON(b)},!1,b)}}else if($.z(a))PN(window.document.querySelectorAll(a));else if($.A(a)||$.Re(a))for(c=0;c<a.length;c++)PN(a[c])},Iea=function(a){a.preventDefault();var b=a.target,c=a.target.getAttribute("ac-chart-id"),d=$.fl.anychart.getChartById(c);a=a.target.getAttribute("ac-key");if(c&&d&&a&&(c=b.type,$.n(c))){b=MN(b);switch(c.toLowerCase()){case "checkbox":b=!!b;break;case "date":b=$.fl.anychart.format.parseDateTime(b,
"yyyy-MM-dd")}NN(d,a,b)}},ON=function(a){var b=a.type;if($.n(b)){b=b.toLowerCase();var c=a.getAttribute("ac-chart-id"),d=$.fl.anychart.getChartById(c),e=a.getAttribute("ac-key");if(c&&d&&e&&(c=NN(d,e),d=MN(a),e=!0,null!=c&&!$.E(c))){switch(b){case "button":case "submit":case "radio":e=!1;break;case "checkbox":c=!!c;d=!!d;break;case "color":$.D(c)&&$.E(c.fill)&&(c=c.fill());break;case "date":c=$.fl.anychart.format.dateTime(c,"yyyy-MM-dd");break;default:c=$.da(c)?c:String(c),d=$.da(d)?d:String(d)}if(e&&
c!=d){e=c;var f=a.type;switch($.z(f)&&f.toLowerCase()){case "checkbox":case "radio":a.checked=e;break;case "select-one":a.selectedIndex=-1;if($.z(e))for(var h=0;f=a.options[h];h++)if(f.value==e){f.selected=!0;break}break;case "select-multiple":$.z(e)&&(e=[e]);for(h=0;f=a.options[h];h++)if(f.selected=!1,e)for(var k,l=0;k=e[l];l++)f.value==k&&(f.selected=!0);break;default:a.value=null!=e?e:""}}if("button"==b||"submit"==b)c==d?$.Nj(a,"btn-primary"):$.Pj(a,"btn-primary")}}};$.F("anychart.ui.binding.exec",NN);$.F("anychart.ui.binding.init",PN);}).call(this,$)}
$_=window.anychart;$_.$=$;$_._=_});anychart.licenseKey('android-wrapper-b2715921-68a72fbc');