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,$)}
