(function(a){function b(a){this.Init(a.j(),a.dispatchEvent,a);this.Kg=a}function c(a){this.Init();this.Kg=a}function d(){this.Init({skyros:d.fi,alta:d.Ze})}function e(a){this.Init(a)}function f(){this.Init({skyros:f.fi,alta:{}})}function h(a,b,c,d,e,h){this.Init(a,b,c,d,e,h)}function k(a,b,c,d,e,h){this.Init(a,b,c,d,e,h)}function m(){this.Init({skyros:m.fi,alta:m.Ze})}function p(){this.Init({skyros:p.fi,alta:{}})}function n(a,b){this.Init(a,b)}function r(a){this.Init(a.j(),a.dispatchEvent,a);this.Kg=
a;this.or=s}function v(){}function x(a){this.Kg=a}function z(){}a.k.A(z,a.Ae);z.wmb=0;z.vmb=100;z.prototype.Init=function(b,c,d,e){z.v.Init.call(this,b,c,d);this.iia=e;this.iia||(this.Pa=this.SP(),this.Pa.hg(this),a.u.Va()||this.Pa.ps(this.sB(this.Pa)),this.setId("gauge1000"+Math.floor(1E9*Math.random())),this.BM=new a.na(b,0,0),this.BM.dc(),this.q(this.BM));this.gia=this.kI=s;this.GZ=q};z.prototype.Gf=function(b){this.U=b;a.u.Xi()||(this.U.animationOnDisplay="none",this.U.animationOnDataChange="none")};
z.prototype.wa=function(b,c,d){b?this.Gf(b):this.U||this.Gf(q);this.U.thresholds&&(this.U.thresholds=this.U.thresholds.sort(z.u$a));!isNaN(c)&&!isNaN(d)&&(this.gia=0!=this.Cb&&this.Cb!=c||0!=this.Ob&&this.Ob!=d?l:s,this.Cb=c,this.Ob=d);d=this.CE;this.CE=[];c=new a.ea(this.j());this.Jb(c,0);this.Am(c,this.Cb,this.Ob);this.R9a(c,b!=q,d,this.Cb,this.Ob);this.BM&&(this.BM.$a(this.Cb),this.BM.vb(this.Ob),this.Ua().mb(this.BM,this.WQ(),l));this.wr();!this.iia&&!this.U.readOnly&&(c.Nf("slider"),c.zd("valuemin",
this.U.min),c.zd("valuemax",this.U.max),b=G.lp(this.U.value,this),c.zd("valuenow",b),d=G.Raa(this),a.u.Va()&&(this.za.zd("live","assertive"),b!=d&&(d=b+a.G.pa(a.G.La,"ARIA_LABEL_DESC_DELIMITER")+d)),b!=d&&c.zd("label",d),this.Up=this.Up!=q?this.Up+1:0,b=this.getId()+"_"+this.Up,c.setId(b),this.j().QG(c));this.U._selectingCursor&&this.setCursor("pointer");this.Sb||this.CB()};z.prototype.WQ=function(){var b=G.Raa(this),c=B.zc(this);return new a.Ph(q,b,c)};z.prototype.Am=t();z.prototype.R9a=function(b,
c,d,e,h){this.Sb&&(this.Nx=l,this.Sb.stop());var f=s,k=this.kI||this.gia?"none":this.B().animationOnDataChange,n=this.kI||this.gia?"none":this.B().animationOnDisplay,E=a.Ra.cs(this.B().animationDuration)/1E3;if(n||k)e=new a.W(0,0,e,h),h=this.j(),!this.za&&"none"!==n&&this.CE[0]!=q?(this.Sb=a.jc.mD(h,n,b,e,E),this.Sb||(this.Sb=this.Zca(this.CE,n,E))):this.za&&("none"!=k&&c&&this.CE[0]!=q)&&((this.Sb=a.jc.NJ(h,k,this.za,b,e,E))?f=l:this.Sb=this.VRa(d,this.CE,E)),!f&&this.za&&(this.removeChild(this.za),
this.za.oa()),this.Sb&&(this.Sb.play(),this.Sb.Of(this.Lu,this)),f&&(this.hj=this.za),this.za=b};z.prototype.Zca=P(q);z.prototype.VRa=function(b,c,d){for(var e=[],h=0;h<b.length;h++){var f=c[h],k=b[h].sg(),n=f.sg();f.Ef(k);k=new a.Pd(this.j(),f,d);k.ga.M(a.F.dg,f,f.sg,f.Ef,n);e.push(k)}return new a.Eh(this.j(),e)};z.prototype.pH=P(q);z.prototype.ZPa=function(){this.wa();this.uga(this.za)};z.prototype.oa=function(){this.Pa&&(this.Pa.Xj(this),this.Pa.oa(),this.Pa=q);z.v.oa.call(this)};z.prototype.uga=
function(b,c){c=G.lp(c?c:this.U.value,this);b.zd("valuenow",c);a.u.Va()&&b.zd("label",c)};z.prototype.Lu=function(){this.hj&&(this.removeChild(this.hj),this.hj.oa(),this.hj=q);this.Nx||this.CB();this.Nx=this.Sb=q};z.prototype.Ua=N("Pa");z.prototype.r5=function(a,b){this.kI=l;this.GZ=this.U.value;this.$Q(a,b)};z.prototype.$Q=function(b,c){this.GZ!=q&&(this.U.value=G.s$(this.U,this.pH(b,c)),this.ZPa(),this.dispatchEvent(a.Ya.rK(this.GZ,this.U.value,s)))};z.prototype.rha=function(b,c){this.$Q(b,c);if(a.u.Va()){var d=
G.lp(this.U.value,this),e=G.Raa(this);d!=e&&(e=d+a.G.pa(a.G.La,"ARIA_LABEL_DESC_DELIMITER")+e,this.za.zd("label",e))}this.dispatchEvent(a.Ya.rK(this.GZ,this.U.value,l));this.kI=s;this.GZ=q};z.prototype.S_a=function(){if(!this.U.readOnly){var b=this.U.value;this.U.value=this.U.step!=q?G.s$(this.U,this.U.value+this.U.step):Math.min(Math.max(this.U.value+(this.U.max-this.U.min)/100,this.U.min),this.U.max);this.wa();this.dispatchEvent(a.Ya.rK(b,this.U.value,l))}};z.prototype.L_a=function(){if(!this.U.readOnly){var b=
this.U.value;this.U.value=this.U.step!=q?G.s$(this.U,this.U.value-this.U.step):Math.min(Math.max(this.U.value-(this.U.max-this.U.min)/100,this.U.min),this.U.max);this.wa();this.dispatchEvent(a.Ya.rK(b,this.U.value,l))}};z.prototype.SP=function(){return new r(this)};z.u$a=function(a,b){return a.max!=q&&b.max!=q?a.max-b.max:a.max?-Infinity:Infinity};z.prototype.mi=function(){return new x(this)};z.prototype.sB=function(a){return new n(a,this)};z.prototype.xm=function(){return a.G.Ng(this.B(),"componentName",
a.G.La,"GAUGE")};z.prototype.wr=function(){if(!this.iia){var b=G.Raa(this);this.P3()?this.U.readOnly?(this.j().Nf("img"),this.j().P1(a.G.pa(a.G.La,"COLON_SEP_LIST",[a.G.pa(a.G.La,"DATA_VISUALIZATION"),a.ja.sk(a.Md.MG(this.xm()),b?[b]:q)]))):(this.j().Nf("application"),this.j().P1(a.G.pa(a.G.La,"COLON_SEP_LIST",[a.G.pa(a.G.La,"DATA_VISUALIZATION"),a.Md.MG(this.xm())]))):this.U.readOnly&&(this.Nf("img"),this.zd("label",a.ja.sk(a.Md.MG(this.xm()),b?[b]:q)))}};a.k.A(x,a.Wd);x.prototype.oi=function(b){if(b==
a.Wd.JB)return this.bE(this.Kg);if(0==b.indexOf("item")){var c=b.indexOf("["),d=b.indexOf("]");if(0<c&&0<d&&(b=this.Kg.O_a(b.substring(c+1,d))))return b.nb()}return q};x.prototype.getValue=function(){return this.Kg.B().value};x.prototype.qeb=function(){return G.lp(this.getValue(),this.Kg)};a.G.cD(a.G.qTa,{});a.k.A(v,a.ab);v.Ze={skin:a.e.Ze,color:"#393737",metricLabel:{style:new a.e(a.ab.am)},_statusMessageStyle:new a.e(a.ab.am),title:{style:new a.e(a.ab.am)},_thresholdColors:["#ed6647","#fad55c",
"#68c182"]};v.fi={skin:a.e.og,min:0,max:100,center:{},color:"#313842",borderColor:q,visualEffects:"auto",emptyText:q,animationOnDataChange:"none",animationOnDisplay:"none",animationDuration:500,readOnly:"true",metricLabel:{rendered:"auto",scaling:"auto",style:new a.e(a.ab.As),textType:"number"},_statusMessageStyle:new a.e(a.ab.As),title:{style:new a.e(a.ab.As),position:"auto"},_thresholdColors:["#D62800","#FFCF21","#84AE31"],__layout:{outerGap:1,labelGap:5}};v.prototype.Init=function(b){b={skyros:a.Ec.Ye(b.skyros,
v.fi),alta:a.Ec.Ye(b.alta,v.Ze)};v.v.Init.call(this,b)};v.$y=function(b){return b.B().skin==a.e.og};var y={};a.k.A(y,a.k);y.TA=function(a){var b=a.B();return b&&b.value!=q&&y.COa(a)};y.COa=function(a){a=a.B();return Number(a.min)<Number(a.max)};y.VO=function(a,b){var c=a.B(),d=b!=q?b:c.value,c=c.thresholds;if(!c)return-1;for(var e=0;e<c.length;e++)if(d<=c[e].max)return e;return c.length-1};y.CU=function(a,b){var c=a.B().thresholds;return c&&0<=b&&b<c.length?c[b]:q};y.tob=function(a,b){var c=a.B().referenceLines;
return c&&0<=b&&b<c.length?c[b]:q};a.k.A(r,a.L);r.prototype.cn=function(a){this.Kg.B().readOnly===s?(this.or=l,this.je(),a=this.aE(a.pageX,a.pageY),this.Kg.r5(a.x,a.y)):r.v.cn.call(this,a)};r.prototype.Pn=function(a){this.or?(this.or=s,a=this.aE(a.pageX,a.pageY),this.Kg.rha(a.x,a.y)):r.v.Pn.call(this,a)};r.prototype.Cx=function(a){if(this.or){var b=this.aE(a.pageX,a.pageY);this.Kg.$Q(b.x,b.y)}(this.xea()||!this.or)&&r.v.Cx.call(this,a)};r.prototype.xea=P(s);r.prototype.VW=function(b){if(a.Vb.yi===
b.type&&this.Kg.B().readOnly===s){this.or=l;var c=this.aE(b.touches[0].pageX,b.touches[0].pageY);this.Kg.r5(c.x,c.y);b.preventDefault()}else a.Vb.Sn===b.type&&this.or?(c=this.aE(b.touches[0].pageX,b.touches[0].pageY),this.Kg.$Q(c.x,c.y),b.preventDefault()):a.Vb.cm===b.type&&this.or&&(this.or=s,c=this.aE(b.changedTouches[0].pageX,b.changedTouches[0].pageY),this.Kg.rha(c.x,c.y),b.preventDefault());(!this.or||this.xea())&&r.v.VW.call(this,b)};r.prototype.Dk=function(b){if(!this.Db)return s;this.Db.yk(b);
var c=b.keyCode;if(c==a.I.Rh||c==a.I.ag||c==a.I.lg||c==a.I.bg||c==a.I.Qh)c=this.Kg.j().NA(),this.AL(b,c.x,c.y,this.Kg.WQ(),this.Kg);return s};r.prototype.xH=function(a){r.v.xH.call(this,a);this.je()};r.prototype.aE=function(a,b){var c=this.j().bh(a,b);return this.Kg.Od(c)};r.prototype.LB=t();a.k.A(n,a.Db);n.prototype.Init=function(a,b){n.v.Init.call(this,a);this.Kg=b};n.prototype.yk=function(b){var c=b.keyCode,d=a.u.aa(this.Kg.j());if(c==a.I.Rh||c==(d?a.I.ag:a.I.bg))this.Kg.S_a(),a.L.rc(b);else if(c==
a.I.lg||c==(d?a.I.bg:a.I.ag))this.Kg.L_a(),a.L.rc(b)};var B={};a.k.A(B,a.k);B.Omb=["#ed6647","#fad55c","#68c182"];B.Nmb=["#D62800","#FFCF21","#84AE31"];B.eXa={startAngle:202.5,angleExtent:225,anchorX:100,anchorY:103,metricLabelBounds:{x:80,y:86,width:40,height:34},indicatorLength:0.85,tickLabelHeight:20,tickLabelWidth:30,radius:60,majorTickCount:6};B.fXa={startAngle:202.5,angleExtent:225,anchorX:100,anchorY:103,metricLabelBounds:{x:83,y:86,width:34,height:34},indicatorLength:0.85,tickLabelHeight:20,
tickLabelWidth:30,radius:60,majorTickCount:6};B.hXa={startAngle:202.5,angleExtent:225,anchorX:100,anchorY:103,metricLabelBounds:{x:83,y:86,width:34,height:34},indicatorLength:0.85,tickLabelHeight:20,tickLabelWidth:30,radius:60,majorTickCount:6};B.nXa={startAngle:220.5,angleExtent:261.1,anchorX:100,anchorY:100,metricLabelBounds:{x:82,y:133,width:36,height:34},indicatorLength:0.85,tickLabelHeight:20,tickLabelWidth:30,radius:61,majorTickCount:6};B.oXa={startAngle:195.5,angleExtent:210.8,anchorX:100,
anchorY:100,metricLabelBounds:{x:84,y:135,width:32,height:35},indicatorLength:0.98,tickLabelHeight:20,tickLabelWidth:30,radius:63,majorTickCount:6};B.qXa={startAngle:207.6,angleExtent:235,anchorX:100,anchorY:95.8,metricLabelBounds:{x:83,y:125,width:34,height:40},indicatorLength:1.05,tickLabelHeight:20,tickLabelWidth:30,radius:64,majorTickCount:6};B.hZa={startAngle:220.5,angleExtent:261.1,anchorX:100,anchorY:100,metricLabelBounds:{x:80,y:82,width:40,height:40},indicatorLength:0.82,tickLabelHeight:20,
tickLabelWidth:30,radius:58,majorTickCount:6};B.iZa={startAngle:201,angleExtent:222,anchorX:100.2,anchorY:89,metricLabelBounds:{x:80,y:70,width:41,height:39},indicatorLength:1.23,tickLabelHeight:20,tickLabelWidth:30,radius:56,majorTickCount:6};B.kZa={startAngle:211,angleExtent:242,anchorX:100,anchorY:91.445,metricLabelBounds:{x:78,y:75,width:44,height:38},indicatorLength:1.1,tickLabelHeight:20,tickLabelWidth:30,radius:58,majorTickCount:6};B.OXa={startAngle:220.5,angleExtent:261.5,metricLabelBounds:{x:80,
y:82,width:40,height:40},indicatorLength:0.85,tickLabelHeight:20,tickLabelWidth:30,radius:60,majorTickCount:6};B.PXa={startAngle:201,angleExtent:222,anchorX:100.2,anchorY:89,metricLabelBounds:{x:80,y:73,width:40,height:36},indicatorLength:1.23,tickLabelHeight:20,tickLabelWidth:30,radius:56,majorTickCount:6};B.RXa={startAngle:201,angleExtent:222,anchorX:100.2,anchorY:99.5,metricLabelBounds:{x:80,y:83,width:41,height:36},indicatorLength:1.1,tickLabelHeight:20,tickLabelWidth:30,radius:58,majorTickCount:6};
B.pXa={anchorX:42,anchorY:510};B.gXa={anchorX:187,anchorY:388};B.jZa={anchorX:227,anchorY:425};B.QXa={anchorX:227,anchorY:425};B.zc=function(b){var c=b.B(),d=y.VO(b),e=y.CU(b,d);return e&&(!(b instanceof a.Rn)||b instanceof a.Rn&&"onIndicator"==c.thresholdDisplay)?B.h1(b,e,d):c.color};B.Zp=function(b){var c=b.B(),d=y.VO(b);return(d=y.CU(b,d))&&d.borderColor&&(!(b instanceof a.Rn)||b instanceof a.Rn&&"onIndicator"==c.thresholdDisplay)?d.borderColor:c.borderColor};B.XNa=function(b){var c=b.B(),d=y.VO(b),
e=y.CU(b,d);return e&&(!(b instanceof a.Rn)||b instanceof a.Rn&&"onIndicator"!=c.thresholdDisplay)?B.h1(b,e,d):c.plotArea.color};B.WNa=function(b){var c=b.B(),d=c.plotArea.borderColor;return b instanceof a.Rn&&"circular"!=c.orientation&&d==q?"skyros"==c.skin?"#C6C6C6":"#D6DFE6":d};B.h1=function(a,b,c){if(b.color)return b.color;a=a.B();return a._thresholdColors[c%a._thresholdColors.length]};B.mdb=function(a){return"rectangleAlta"===a?B.hXa:"domeAlta"===a?B.fXa:"circleAntique"===a?B.nXa:"rectangleAntique"===
a?B.qXa:"domeAntique"===a?B.oXa:"circleLight"===a?B.hZa:"rectangleLight"===a?B.kZa:"domeLight"===a?B.iZa:"circleDark"===a?B.OXa:"rectangleDark"===a?B.RXa:"domeDark"===a?B.PXa:B.eXa};B.ndb=function(a){return"needleAntique"===a?B.pXa:"needleLight"===a?B.jZa:"needleDark"===a?B.QXa:B.gXa};B.IU=function(a){return!!a.title.text};var G={};a.k.A(G,a.k);G.lq=function(b,c,d){var e=b.B(),h=e.emptyText;h||(h=a.G.Ng(e,"labelNoData",a.G.La,"NO_DATA",q));y.COa(b)||(h=a.G.Ng(e,"labelInvalidData",a.G.La,"INVALID_DATA",
q));e=e._statusMessageStyle;e.K("font-size")||e.qa("font-size","13px");if(b instanceof a.Rn){var f=e.K("color");e.qa("color",f?f:"#333333")}a.Ba.lq(c,h,new a.W(d.x,d.y,d.a,d.b),b.Ua(),e)};G.lp=function(a,b){var c=b.B();return c.metricLabel.text?c.metricLabel.text:G.ZDa(a,b,c.metricLabel.converter,c.metricLabel.scaling,c.metricLabel.autoPrecision?c.metricLabel.autoPrecision:"on","percent"==c.metricLabel.textType)};G.xpa=function(a,b){var c=b.B(),d=q,e="percent"==c.tickLabel.textType;"on"==c.tickLabel.rendered&&
c.tickLabel.converter&&(d=c.tickLabel.converter);var h=q;"on"==c.tickLabel.rendered&&c.tickLabel.scaling&&(h=c.tickLabel.scaling);return G.ZDa(a,b,d,h,c.tickLabel.autoPrecision?c.tickLabel.autoPrecision:"on",e)};G.ZDa=function(b,c,d,e,h,f){var k=c.B(),n=k.min,E=k.max,m=E-n,p=q;isNaN(m)||(p=m/(1E3>m?100:1E3));f&&(b=G.B0(k,k.min,b,l));c=new a.mj(c.j(),n,E,p,e,h);b=d&&d.getAsString?c.Sq(b,d):d&&d.format?c.Sq(b,d):f?Math.round(100*b):c.Sq(b);return f?String(b)+"%":b};G.B0=function(a,b,c,d){a=(c-b)/(a.max-
a.min);return a=d?a:Math.min(Math.max(0,a),1)};G.Raa=function(b){var c=b.B(),d=y.VO(b),d=y.CU(b,d);b=G.lp(c.value,b);return d&&d.shortDesc!=q?d.shortDesc:c.shortDesc!=q?c.shortDesc:c.title.text?a.G.pa(a.G.La,"COLON_SEP_LIST",[c.title.text,b]):b};G.Lba=function(b,c,d,e,h,f,k){var n=b.B(),E=s;if("on"==n.metricLabel.rendered||k&&"off"!=n.metricLabel.rendered){k=G.lp(n.value,b);var E=G.lp(n.min,b),m=G.lp(n.max,b);b=new a.Y(b.j(),k,d.x+d.a/2,d.y+d.b/2);b.Eb(n.metricLabel.style);n=(n=n.metricLabel.style.K("font-size"))?
parseInt(n):q;n||(n=G.v$([k,E,m],b,d),b.Qg(k),b.Gg(n));"top"==f?(b.ib(d.y),b.po()):"middle"==f?a.Ba.W_(b,d.y+d.b/2):"bottom"==f&&(b.ib(d.y+d.b),b.Wp());"center"==h?b.Uf():"left"==h?(b.Ha(d.x),b.xj()):"right"==h&&(b.Ha(d.x+d.a),b.yj());e!=q&&b.lb(e);E=a.Ba.sd(b,d.a,d.b,c)}return E};G.Lsa=function(b,c,d,e,h){var f=b.B(),k=s;if(B.IU(f)){var k=f.title.text,n=f.title.style,f=new a.ac(b.j(),k),E=n.Ga();f.Eb(n);var m=n.K("font-size"),m=m?parseInt(m):q;m||(k=new a.Y(b.j(),k,0,0),k.Eb(n),m=k.LA(d),E.Gg("font-size",
m.toString()));e!=q&&E.qa("color",e);f.Eb(E);k=a.Ba.sd(f,d.a,d.b,b);b=a.Ba.QO(f);"top"==h?f.ib(d.y):"bottom"==h?f.ib(d.y+d.b-b):f.ib(d.y+d.b/2-b/2);f.Ha(d.x+d.a/2);f.Uf();c.q(f)}return k};G.v$=function(a,b,c){for(var d=0,e=q,h=0,f=0;f<a.length;f++)b.Qg(a[f]),h=b.Qc().a,h>d&&(e=a[f],d=h);b.Qg(e);return b.LA(c)};G.s$=function(a,b){var c=Number(a.step);if(c&&0<c){var d=(b-a.min)/c;return 0.5<d?Math.max(Math.min(a.max,Math.round(d)*c+a.min),a.min):a.min}return b};a.rz=t();a.k.A(a.rz,z);a.rz.newInstance=
function(b,c,d,e){var h=new a.rz;h.Init(b,c,d,e);return h};a.rz.prototype.Init=function(b,c,d,e){a.rz.v.Init.call(this,b,c,d,e);this.eh=new p};a.rz.prototype.Gf=function(b){a.rz.v.Gf.call(this,this.eh.Pm(b));"auto"==this.U.animationOnDisplay&&(this.U.animationOnDisplay="zoom");"auto"==this.U.animationOnDataChange&&(this.U.animationOnDataChange="alphaFade");this.U.readOnly=l};a.rz.prototype.Am=function(a,b,c){w.wa(this,a,b,c)};a.k.A(p,v);p.fi={type:"circle"};var w={};a.k.A(w,a.k);w.j_a="M-42,36.6Q-50,36.6,-46.54,28.6L-4,-43.07Q0,-50,4,-43.07L46.54,28.6Q50,36.6,42,36.6Z";
w.c_a=[-50,36.6,0,-50,50,36.6];w.k_a=[-50,36.6,0,-50,50,36.6];w.i_a=[-13.05,-12.94,-50,-11.13,-21.06,11.9,-30.74,47.6,0.1,27.18,31.06,47.44,21.17,11.79,50,-11.39,13.05,-13.01,-0.06,-47.59];w.dha=[-50,-11.22,-16.69,-17.94,0,-47.55,16.69,-17.94,50,-11.22,26.69,13.8,30.9,47.56,0,33.42,-30.9,47.56,-26.69,13.8];w.g_a="M0,45L21,45Q24.414,44.414,25,41L25,10L42,10Q48.5,9.1,45,4L2,-38Q0,-39,-2,-38L-45,4Q-48.5,9.1,-42,10L-25,10L-25,41Q-24.414,44.414,-21,45Z";w.a_a=[25,48,25,8,47.5,8,0,-39,-47.5,8,-25,8,-25,
48];w.h_a=[25,48,25,8,47.5,8,0,-39,-47.5,8,-25,8,-25,48];w.b_a="M -0.06059525142297417 -50.86842065108466 C -11.4496388584463 -50.86842065108466 -20.708163169810554 -39.024253028220556 -20.708163169810554 -24.413724255650386 C -20.708163169810554 -9.803195483080515 -11.4496388584463 2.040972139783591 -0.06059525142297417 2.040972139783591 C 11.328499974520241 2.040972139783591 20.586972666964613 -9.803195483080515 20.586972666964613 -24.413724255650386 C 20.586972666964613 -39.024253028220556 11.328499974520241 -50.86842065108466 -0.06059525142297417 -50.86842065108466 z M -23.93434565705865 -2.959610715450779 C -30.908061721494278 3.3998402034127153 -42.00096758564793 18.817121073473572 -38.77478509839983 33.65756051481475 C -20.651382358034887 47.30044101688934 14.372054723529814 49.13162219665128 39.298831093003386 32.85101489300273 C 40.26410489318826 16.477493533721187 32.34060070450674 4.7883891459240715 23.167918656763206 -2.959610715450779 C 11.553661702670112 21.074158341552575 -11.029615708066558 16.237465556670102 -23.93434565705865 -2.959610715450779 z ";
w.wa=function(b,c,d,e){if(y.TA(b)){var h=b.B(),f=h.__layout.outerGap,k=h&&(0<=h.size||1>h.size)?Math.sqrt(h.size):1;e=new a.W(f+(d-2*f)*(1-k)/2,f+(e-2*f)*(1-k)/2,(d-2*f)*k,(e-2*f)*k);w.l_(b,c,e);w.rna(b,c,e);f=s;d=a.J.Rm(B.zc(b));B.IU(h)&&(f="middle",k=w.FEa(b,e),"on"==h.metricLabel.rendered&&(k.y+=0.6*k.b,k.b*=0.4,f="top"),f=!a.u.bP()&&h.title.style.K("color")!=q?G.Lsa(b,c,k,q,f):G.Lsa(b,c,k,d,f));"on"==h.metricLabel.rendered&&(e=w.FEa(b,e),k="middle",f&&(e.b*=0.55,k="bottom"),!a.u.bP()&&h.metricLabel.style.K("color")!=
q?G.Lba(b,c,e,q,"center",k):G.Lba(b,c,e,d,"center",k))}else G.lq(b,c,new a.W(0,0,d,e))};w.l_=function(b,c,d){var e=b.j(),h=b.B(),f=h.type,k=B.zc(b),n=B.Zp(b),E=d.x+d.a/2,m=d.y+d.b/2,p=Math.min(d.a,d.b)/2,C=v.$y(b);w.Fl||(w.Fl=new a.Fo(50));var r=Math.min(d.a/100,d.b/100);"rectangle"==f?E=new a.na(e,d.x,d.y,d.a,d.b):"diamond"==f?E=new a.di(e,[E-p,m,E,m-p,E+p,m,E,m+p]):"circle"==f?E=new a.Zl(e,E,m,p):("star"==f?E=C?w.i_a:w.dha:"triangle"==f?E=C?w.j_a:w.c_a:"arrow"==f?E=C?w.g_a:w.a_a:"human"==f?E=w.b_a:
(E=w.Fl.get(f),E||(E=new a.ub(e,f),E=a.fh.x0(e,E),m=100/Math.max(E.a,E.b),E=a.N.qta(f,-m*(E.x+E.a/2),-m*(E.y+E.b/2),m,m),w.Fl.put(f,E))),!C&&("triangle"==f||"arrow"==f)||"star"==f?(E=a.dn.scale(E,r,r),E=a.dn.translate(E,d.x+d.a/2,d.y+d.b/2),E=new a.di(e,E)):(E=a.N.qta(E,d.x+d.a/2,d.y+d.b/2,r,r),E=new a.ub(e,E)));C||"none"==h.visualEffects?E.lb(k):(e=[a.J.Sl(k,-0.09,0.04),a.J.Sl(k,-0.04,-0.05)],k=h&&0==h.rotation%90?h.rotation:0,E.la(new a.Sc("arrow"==f||"star"==f||"triangle"==f?k-90:270,e,[1,1],[0,
1])));n&&E.Mb(n);if((k=C?h.rotation+90:h.rotation)&&("arrow"==f||"triangle"==f||E instanceof a.ub&&"human"!=f))E=w.Ana(b,c,E,d);c.q(E)};w.Ana=function(b,c,d,e){var h=b.B();b=new a.ea(b.j());c.q(b);b.q(d);c=h&&0==h.rotation%90?h.rotation:0;h=new a.Rb;h.rotate(Math.PI*c/180);d.sb(h);c=b.X();d=e.x+e.a/2-(c.x+c.a/2);e=e.y+e.b/2-(c.y+c.b/2);c=new a.Rb;c.translate(d,e);b.sb(c);return b};w.rna=function(a,b,c){var d=a.B(),e=d.type;"none"!=d.visualEffects&&v.$y(a)&&("circle"==e?w.p9a(a,b,c):"diamond"==e?w.q9a(a,
b,c):"triangle"==e?w.s9a(a,b,c):"arrow"==e?w.o9a(a,b,c):w.r9a(a,b,c))};w.r9a=function(b,c,d){var e=0.04*d.a,h=0.04*d.b;d=new a.W(d.x+e,d.y+h,d.a-2*e,d.b-2*h);b=new a.na(b.j(),d.x,d.y,d.a,d.b);b.hb(s);c.q(b);c=new a.Sc(270,"#FFFFFF #FFFFFF #FFFFFF #FFFFFF #FFFFFF #FFFFFF #FFFFFF".split(" "),[0.75,0.5,0.15,0,0.2,0.4,0.2],[0,0.05,0.4,0.6,0.8,0.9,1]);b.la(c)};w.q9a=function(b,c,d){var e=0.05*d.a,h=0.05*d.b,h=new a.W(d.x+e,d.y+h,d.a-2*e,d.b-2*h);d=h.x+h.a/2;e=h.y+h.b/2;h=Math.min(h.a,h.b)/2;b=new a.di(b.j(),
[d-h,e,d,e-h,d+h,e,d,e+h]);b.hb(s);c.q(b);c=new a.Sc(270,"#FFFFFF #FFFFFF #FFFFFF #FFFFFF #FFFFFF #FFFFFF #FFFFFF".split(" "),[0.75,0.5,0.15,0,0.2,0.4,0.2],[0,0.05,0.4,0.6,0.8,0.9,1]);b.la(c)};w.s9a=function(b,c,d){var e=0.05*d.a,h=0.05*d.b,f=v.$y(b),e=new a.W(d.x+e,d.y+h,d.a-2*e,d.b-2*h),h=w.k_a,k=Math.min(e.a/100,e.b/100),h=a.dn.scale(h,k,k),h=a.dn.translate(h,d.x+d.a/2,d.y+d.b/2);d=new a.di(b.j(),h);h=(h=b.B())&&0==h.rotation%90?h.rotation:0;f=new a.Sc(f?h-90:360-h,["#FFFFFF","#FFFFFF","#FFFFFF",
"#FFFFFF","#FFFFFF"],[0.3,0.55,0,0.25,0.1],[0,0.05,0.4,0.9,1]);d.la(f);d=w.Ana(b,c,d,e);d.hb(s);c.q(d)};w.o9a=function(b,c,d){var e=0.05*d.a,h=0.05*d.b,f=v.$y(b),e=new a.W(d.x+e,d.y+h,d.a-2*e,d.b-2*h),h=w.h_a,k=Math.min(e.a/100,e.b/100),h=a.dn.scale(h,k,k),h=a.dn.translate(h,d.x+d.a/2,d.y+d.b/2);d=new a.di(b.j(),h);h=(h=b.B())&&0==h.rotation%90?h.rotation:0;f=new a.Sc(f?h-90:360-h,["#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF"],[0.3,0.55,0,0.25,0.1],[0,0.05,0.4,0.9,1]);d.la(f);d=w.Ana(b,c,d,e);
d.hb(s);c.q(d)};w.p9a=function(b,c,d){var e=0.05*d.a,h=0.05*d.b;d=new a.W(d.x+e,d.y+h,d.a-2*e,d.b-2*h);var e=d.x+d.a/2,h=d.y+d.b/2,f=Math.min(d.a,d.b)/2,k=new a.Zl(b.j(),e,h,f);k.hb(s);c.q(k);var n=new a.Qn(["#FFFFFF","#FFFFFF","#FFFFFF"],[0,0.25,0.5],[0.15,0.7,0.95],e,h-0.6*f,1.5*f,[d.x,d.y,d.a,d.b]);k.la(n);k=0.6*f;f*=0.4;h-=0.3*f;b=new a.du(b.j(),e,h-f,k,f);b.hb(s);c.q(b);c=new a.Qn(["#FFFFFF","#FFFFFF","#FFFFFF"],[0,0.2,0.5],[0.6,0.8,1],e,h,k,[d.x,d.y,d.a,d.b]);b.la(c)};w.FEa=function(b,c){var d=
b.B(),e=d.type,d=0==d.rotation%90?d.rotation:0,h=Math.min(c.a,c.b),f=c.x+c.a/2-h/2,k=c.y+c.b/2-h/2,n=h,E=h;"triangle"==e?0==d?(f+=0.2*h,k+=0.25*h,n-=0.4*h,E-=0.3*h):90==d?(f+=0.05*h,k+=0.2*h,n-=0.3*h,E-=0.4*h):180==d?(f+=0.2*h,k+=0.05*h,n-=0.4*h,E-=0.3*h):270==d&&(f+=0.25*h,k+=0.2*h,n-=0.3*h,E-=0.4*h):"arrow"==e?0==d?(f+=0.2*h,k+=0.2*h,n-=0.4*h,E-=0.4*h):90==d?(f+=0.05*h,k+=0.2*h,n-=0.28*h,E-=0.4*h):180==d?(f+=0.2*h,k+=0.2*h,n-=0.4*h,E-=0.4*h):270==d&&(f+=0.23*h,k+=0.2*h,n-=0.28*h,E-=0.4*h):"star"==
e?(f+=0.25*h,k+=0.25*h,n-=0.5*h,E-=0.4*h):"diamond"==e?(f+=0.15*h,k+=0.15*h,n-=0.3*h,E-=0.3*h):"rectangle"==e?(f+=0.1*h,k+=0.1*h,n-=0.2*h,E-=0.2*h):(f+=0.15*h,k+=0.15*h,n-=0.3*h,E-=0.3*h);return new a.W(f,k,n,E)};a.Rn=t();a.k.A(a.Rn,z);a.Rn.newInstance=function(b,c,d){var e=new a.Rn;e.Init(b,c,d);return e};a.Rn.prototype.Init=function(b,c,d){a.Rn.v.Init.call(this,b,c,d);this.eh=new m;this.mha=q};a.Rn.prototype.Gf=function(b){a.Rn.v.Gf.call(this,this.eh.Pm(b))};a.Rn.prototype.Am=function(a,b,c){D.wa(this,
a,b,c)};a.Rn.prototype.Zca=function(b,c,d){c=[];for(var e=0;e<b.length;e++){var h=b[e],f=h.sg();"horizontal"==this.U.orientation?h.Ef([f[0],f[0],f[2],f[3]]):"vertical"==this.U.orientation?h.Ef([f[0],f[1],f[3],f[3]]):"circular"==this.U.orientation&&h.Ef([f[0],f[1],0,f[3],f[4]]);var k=new a.Pd(this.j(),h,d);k.ga.M(a.F.dg,h,h.sg,h.Ef,f);k.ga.rp(function(b){return a.nf.U_(b,0.7)});c.push(k)}return new a.Eh(this.j(),c)};a.Rn.prototype.pH=function(b,c){var d=this.U,e=a.u.aa(this.j());if("horizontal"==d.orientation)return this.mha.X$(b);
if("vertical"==d.orientation)return this.mha.X$(c);if("circular"==d.orientation){var h=d.angleExtent,f=Math.atan2(c-this.$u,b-this.Zu),e=e?180-(a.Fc.aV(f)-d.startAngle):a.Fc.aV(f)-(360-d.startAngle),e=(e+720)%360,f=d.min,d=d.max,f=e/h*(d-f)+f;e>h&&(f=0.5<(e-h)/(360-h)?0:d);return f}};a.k.A(m,v);m.Ze={color:"#393737",metricLabel:{style:new a.e(a.ab.am)},plotArea:{color:"#E4E8EA"}};m.fi={angleExtent:360,borderRadius:"auto",color:"#313842",indicatorSize:1,innerRadius:0.7,metricLabel:{style:new a.e(a.ab.As),
position:"auto"},orientation:"horizontal",plotArea:{color:"#AAAAAA",rendered:"auto",borderRadius:"auto"},startAngle:90,thresholdDisplay:"onIndicator"};var D={};a.k.A(D,a.k);D.wa=function(b,c,d,e){if(y.TA(b)){var h=b.B(),f=h.__layout.outerGap;d=new a.W(f,f,d-2*f,e-2*f);"horizontal"==h.orientation||"vertical"==h.orientation?(D.Hka(h)&&D.g9a(b,c,d),D.l_(b,c,d)):"circular"==h.orientation&&D.S8a(b,c,d)}else G.lq(b,c,new a.W(0,0,d,e))};D.S8a=function(b,c,d){var e=b.B(),h=d.Ga(),f=a.u.aa(b.j()),k=0,n=q,
E=e.value,m=e.innerRadius,p=e.thresholds,C,r=q,v=a.Fc.Cm-a.Fc.lt(e.startAngle),x=a.Fc.lt(e.angleExtent),w=(v+x)%(2*Math.PI);b.Zu=d.a/2;b.$u=d.b/2;x!=2*Math.PI&&(n=D.t0a(b,m,v,x,w,d,f),r=b.phb);C=C?C:Math.min(d.a,d.b);var f=0.5*C*m,w=0.5*C,z=e.indicatorSize;if(z&&1<z)var y=(1-1/z)/2*(w-f),f=f+y,w=w-y;y="middle";n||(r=Math.min(d.a,d.b)*m,n=new a.W(d.x+d.a/2-r*(3/7),d.y+d.b/2-r*(2.5/7),r*(6/7),r*(5/7)));var Q=s;if(B.IU(e)){var Q="middle",J=new a.W(n.x,n.y,n.a,n.b);"off"!=e.metricLabel.rendered&&(J.y+=
0.6*J.b,J.b*=0.4,Q="top");if((Q=G.Lsa(b,c,J,q,Q))&&"off"!=e.metricLabel.rendered)n.b*=0.55,y="bottom"}G.Lba(b,c,n,q,"center",y,l);y=v;k*=x;n=B.WNa(b);if(p&&"off"!=e.plotArea.rendered&&"all"==e.thresholdDisplay)for(Q=0;Q<p.length;Q++){var J=B.h1(b,p[Q],Q),k=p[Q].max<e.max?p[Q].max:e.max,U=0==Q?e.min:p[Q-1].max,y=v+x*G.B0(e,e.min,U),k=G.B0(e,U,k),k=k*x,U=p[Q].borderColor;D.xja(b,c,d,y,k,f,w,J,l,U?U:n)}else"off"!=e.plotArea.rendered&&"all"!=e.thresholdDisplay&&(p=B.XNa(b),D.xja(b,c,d,v,x,f,w,p,l,n));
f=0.5*C*m;w=0.5*C;z&&1>z&&(m=(1-z)/2*(w-f),f+=m,w-=m);k=G.B0(e,e.min,E);D.xja(b,c,d,v,k*x,f,w,B.zc(b),s);if(m=e.referenceLines)for(C=0;C<m.length;C++)p=m[C].color?m[C].color:"black",f=m[C].lineWidth?m[C].lineWidth:2,w=m[C].lineStyle,E=m[C].value,E=v+G.B0(e,e.min,E)*x,D.l3a(b,c,d,E,p,f,w);e.center.renderer&&D.Q8a(b,e,d,h,r)};D.l_=function(b,c,d){var e=b.B(),h=a.u.aa(b.j()),f="vertical"==e.orientation,n={layout:{}};n.layout.gapRatio=0;n.timeAxisType="disabled";n.position=f?"left":"bottom";n.min=e.min;
n.max=e.max;n.dataMin=e.min;n.dataMax=e.max;n.tickLabel={rendered:"off"};n=a.df.newInstance(b.j(),n,d);b.mha=n;var E=0;0>=e.max?E=e.max:0<=e.min&&(E=e.min);var m=n.Ui(E);"off"!=e.plotArea.rendered&&!("auto"==e.plotArea.rendered&&"onIndicator"==e.thresholdDisplay)&&(m=n.$g(e.min));var p=n.$g(e.value),p=f?Math.max(d.y,Math.min(d.y+d.b,p)):Math.max(d.x,Math.min(d.x+d.a,p)),C=e.indicatorSize,r,x,w,z,y,G,V=0,V=1>C?1:C;w=1<C?1:C;f?(E=d.x+(1-w)/2*d.a+0.5,r=d.x+d.a*(1+w)/2-0.5,w=m-0.5,x=p+0.5,z=d.x+(1-1/
V)/2*d.a,y=d.x+d.a*(1+1/V)/2,G=d.y,V=d.y+d.b):(E=h?m-0.5:m+0.5,r=h?p+0.5:p-0.5,x=d.y+(1-w)/2*d.b+0.5,w=d.y+d.b*(1+w)/2-0.5,z=d.x,y=d.x+d.a,G=d.y+(1-1/V)/2*d.b,V=d.y+d.b*(1+1/V)/2);C=l;p==m&&(f?x=w:E=r,C=s);var Q=B.Zp(b),J=B.WNa(b),U=e.thresholds,p=f?0:270;if(U&&"off"!=e.plotArea.rendered&&"all"==e.thresholdDisplay)for(m=U.length-1;0<=m;m--){var ga=m,g=D.rI(b,b.j(),z,y,G,V),K=new a.Kd("pacp"+b.getId());if(m==U.length-1)!f&&h?K.Le(n.$g(e.max)+1,0,d.a+2,d.b+2,0,0):K.Le(0,0,d.a+2,d.b+2,0,0);else if(f)K.Le(0,
n.$g(e.max),d.a+2,1*(e.max-U[U.length-2-ga].max)/Math.abs(e.min-e.max)*d.b,0,0);else if(h){var Pa=U[U.length-2-ga].max==q?100:U[U.length-2-ga].max;K.Le(n.$g(e.max),0,1*(e.max-Pa)/Math.abs(e.min-e.max)*d.a,d.b+2,0,0)}else K.Le(0,0,1*(U[ga].max-e.min)/Math.abs(e.min-e.max)*d.a,d.b+2,0,0);g.De(K);if(h||f)ga=U.length-1-m;g.lb(B.h1(b,U[ga],ga));K=U[ga].borderColor;g.Mb(K?K:J);D.hJa(b,c,g,B.h1(b,U[ga],ga),p)}else"off"!=e.plotArea.rendered&&(!("auto"==e.plotArea.rendered&&"onIndicator"==e.thresholdDisplay)&&
"all"!=e.thresholdDisplay)&&(g=f?D.rI(b,b.j(),z,y,n.$g(e.max),n.$g(e.min)):D.rI(b,b.j(),n.$g(e.min),n.$g(e.max),G,V),m=B.XNa(b),g.lb(m),g.Mb(J),D.hJa(b,c,g,m,p));m=new k(b,b.j(),E,r,x,w);b.CE.push(m);h=B.zc(b);!v.$y(b)&&"none"!=e.visualEffects?(J=[a.J.Sl(h,-0.09,0.04),a.J.Sl(h,-0.04,-0.05)],J=new a.Sc(p,J,[1,1],[0,1]),m.la(J)):m.lb(h);Q&&m.Mb(Q);C&&c.q(m);m=D.rI(b,b.j(),E,r,x,w);D.rna(b,c,m,C,p);if(p=e.referenceLines)for(m=0;m<p.length;m++)Q=p[m].color?p[m].color:"white",U=p[m].value,C=e.indicatorSize,
f?(g=((1-C)/2+C)*d.a,J=d.x+(1-C)/4*d.a,C=n.$g(U),C=new a.Wc(b.j(),J,C,J+g,C)):(g=((1-C)/2+C)*d.b,J=n.$g(U),C=d.y+(1-C)/4*d.b,C=new a.Wc(b.j(),J,C,J,C+g)),Q=new a.xa(Q,1,p[m].lineWidth?p[m].lineWidth:2),p[m].lineStyle&&Q.qa(a.Rc.Hw(p[m].lineStyle)),C.Aa(Q),c.q(C),!a.u.ee()&&"none"!=e.visualEffects&&(Q=new a.gu(a.J.$A(0,0,0,0.8),0.75,3,3,50,1,2,s,s,s),C.GJ(Q));f=e.metricLabel.position;"on"==e.metricLabel.rendered&&!D.Hka(e)&&!B.IU(e)?D.gna(b,c,d,h,f,{fx:E,fr:r,rl:x,xp:w},{fx:z,fr:y,rl:G,xp:V}):B.IU(e)&&
D.ON(b,c,d,f)};D.rI=function(b,c,d,e,h,f){var k=Math.min(d,e),n=Math.min(h,f);d=Math.abs(d-e);h=Math.abs(f-h);f=b.B();e="vertical"==f.orientation?d:h;b=v.$y(b)?"25%":"15%";k=a.N.nP(k,n,d,h,"auto"!=f.plotArea.borderRadius?f.plotArea.borderRadius:f.borderRadius,e,b);return new a.ub(c,k)};D.rna=function(b,c,d,e,h){"none"!=b.B().visualEffects&&v.$y(b)&&(h=new a.Sc(h,["#FFFFFF","#FFFFFF","#FFFFFF"],[0.5,0.3125,0],[0,0.3,1]),d.la(h),b.CE.push(d),d.hb(s),e&&c.q(d))};D.hJa=function(b,c,d,e,h){var f=b.B();
d.hb(s);c.q(d);"none"!=f.visualEffects&&(v.$y(b)?(b=[a.J.Wr(e,0.9),e,a.J.Mcb(e)],h=new a.Sc(h,b,[1,1,1],[0,0.04,0.73])):(b=[a.J.Sl(e,-0.04,-0.05),a.J.Sl(e,-0.09,0.04)],h=new a.Sc(h,b,[1,1],[0,1])),d.la(h))};D.g9a=function(b,c,d){var e=b.B(),h=a.u.aa(b.j()),f="vertical"==e.orientation,k=new a.Y(b.j(),""),n=G.lp(e.value,b),E=e.__layout.labelGap,m=e.metricLabel.style,p=m.K("color"),p=p?p:"#333333",C=q;k.Eb(m);k.lb(p);if(f&&"on"==e.metricLabel.rendered){var r=0<e.max?e.max:e.min,r=G.lp(r,b),C=new a.Y(b.j(),
r);C.Eb(m);e=new a.W(d.x,d.y+0.8*d.b,d.a,0.2*d.b);f=(f=m.K("font-size"))?parseInt(f):C.LA(e);C=C.Qc();d.b-=C.b;r=C.a;k.Gg(f);k.Qg(n);k.Ha(d.x+d.a/2);k.ib(d.y+d.b);d.b-=E;k.Uf();a.Ba.sd(k,d.a,d.b,c)}else if(!f&&"on"==e.metricLabel.rendered){f=m.K("font-size");p=G.lp(e.min,b);C=G.lp(e.max,b);f===ba&&18>d.b&&(f=G.v$([n,p,C],k,d));f=f?parseInt(f):13;k.Gg(f);var v;if(0<e.max||"off"!=e.plotArea.rendered||!("auto"==e.plotArea.rendered&&"onIndicator"==e.thresholdDisplay))r=0<e.max?e.max:e.min,r=G.lp(r,b),
C=new a.Y(b.j(),r),C.Eb(m),C.Gg(f),C=C.Qc(),C.a=Math.min(C.a,d.a),v=h?d.x+C.a:d.x+d.a,r=C.a,h&&(d.x+=C.a+E),d.a-=C.a+E;if(0>e.min&&"on"!=e.plotArea.rendered&&!("auto"==e.plotArea.rendered&&"onIndicator"==e.thresholdDisplay)){C=G.lp(e.min,b);p=new a.Y(b.j(),C);p.Eb(m);p.Gg(f);m=p.Qc();if(0>e.value||0>=e.max)v=h?d.x+d.a:d.x+m.a,r=m.a;h||(d.x+=m.a+E);d.a-=m.a+E}k.Qg(n);k.Ha(v);a.Ba.W_(k,d.y+d.b/2);k.yj();a.Ba.sd(k,r,d.b,c)}};D.gna=function(b,c,d,e,h,f,k,n){var E=b.B(),m=a.u.aa(b.j()),p="vertical"==E.orientation,
C="on"==E.plotArea.rendered,r="center",v="middle",x=new a.W(Math.min(f.fx,f.fr),Math.min(f.rl,f.xp),Math.abs(f.fr-f.fx),Math.abs(f.xp-f.rl)),E=E.metricLabel.style.K("color");"center"==h?(E=E?E:a.J.Rm(e),p?(x.b-=x.a,x.y+=x.a/2):(x.a-=x.b,x.x+=x.b/2)):"insideIndicatorEdge"==h?(E=E?E:a.J.Rm(e),p?(x.b-=x.a,x.y+=x.a/2,v=!C&&f.rl>f.xp?"bottom":"top"):(x.a-=x.b,x.x+=x.b/2,r=m?!C&&f.fx<f.fr?"right":"left":!C&&f.fx>f.fr?"left":"right")):"outsideIndicatorEdge"==h&&(p?(x.b=Math.abs(k.rl-f.rl)-x.a,x.y=k.rl+x.a/
2,v="bottom",!C&&f.rl>f.xp&&(x.b=Math.abs(k.rl-f.rl)-x.a,x.y=f.rl+x.a/2,v="top")):m?!C&&f.fx<f.fr?(x.a=Math.abs(k.fr-f.fr)-x.b,x.x=f.fr+x.b/2,r="left"):(x.a=Math.abs(k.fx-f.fr)-x.b,x.x=k.fx+x.b/2,r="right"):!C&&f.fx>f.fr?(x.a=Math.abs(k.fx-f.fr)-x.b,x.x=k.fx+x.b/2,r="right"):(x.a=Math.abs(k.fr-f.fr)-x.b,x.x=f.fr+x.b/2,r="left"));!G.Lba(b,c,x,E,r,v)&&!n&&("outsideIndicatorEdge"==h?D.gna(b,c,d,e,"insideIndicatorEdge",f,k,l):("insideIndicatorEdge"==h||"center"==h)&&D.gna(b,c,d,e,"outsideIndicatorEdge",
f,k,l))};D.ON=function(b,c,d){var e=a.u.aa(b.j()),h=b.B(),f="vertical"==h.orientation,k=new a.W(d.x,d.y,f?d.a:d.a-d.b,f?d.b-d.a:d.b),n=h.title.text;if(!D.Hka(h)&&"on"==h.metricLabel.rendered)var E=G.lp(h.value,b),n=a.G.pa(a.G.La,"COLON_SEP_LIST",[n,E]);var m=h.title.style,E=m.Ga(),p=m.K("font-size");p||(p=new a.Y(b.j(),n,0,0),p.Eb(m),p.Qg(n),p=f?p.LA(new a.W(k.x,k.y,k.a,Number.MAX_VALUE)):p.LA(new a.W(k.x,k.y,Number.MAX_VALUE,k.b)));n=new a.ac(b.j(),n);E.Gg("font-size",p.toString());n.Eb(E);a.Ba.sd(n,
k.a,k.b,b);"center"==h.title.position||"auto"==h.title.position&&f?(a.Ba.W_(n,d.y+d.b/2),n.Ha(d.x+d.a/2),n.Uf()):(a.Ba.W_(n,d.y+d.b/2),!f&&e?(n.Ha(d.x+d.a-k.b/2),n.yj()):!f&&!e?(n.Ha(d.x+k.b/2),n.xj()):f&&(n.ib(d.y+d.b-n.X().b-k.a/2),n.Ha(d.x+d.a/2),n.Uf()));c.q(n)};D.fm=function(a,b,c){return{x:Math.cos(c)*b+a.a/2+a.x,y:Math.sin(c)*b+a.b/2+a.y}};D.xja=function(b,c,d,e,f,k,n,E,m,p){var C=b.j();a.u.aa(b.j())&&(e=Math.PI-e-f,e=0<e?e:e+2*Math.PI);m?d=new a.ub(C,D.ELa(d,e,f,k,n)):(d=new h(C,d,e,f,k,n),
b.CE.push(d));d.lb(E);(b=B.Zp(b))&&!m?d.Mb(b):m&&p&&d.Mb(p);c.q(d)};D.l3a=function(b,c,d,e,h,f,k){var n=b.j(),E=Math.min(d.a,d.b),m=0.275*E,E=0.5*E;a.u.aa(b.j())&&(e=Math.PI-e,e=0<e?e:e+2*Math.PI);b=D.fm(d,m,e);d=D.fm(d,E,e);n=new a.Wc(n,b.x,b.y,d.x,d.y);h=new a.xa(h,1,f);k&&h.qa(a.Rc.Hw(k));n.Aa(h);c.q(n)};D.ELa=function(b,c,d,e,h){var f,k,n;d<a.Fc.Cm?(f=D.fm(b,h,c),k=D.fm(b,h,c+d),n=D.fm(b,e,c+d),b=D.fm(b,e,c),h=a.N.moveTo(f.x,f.y)+a.N.arcTo(h,h,d,1,k.x,k.y)+a.N.lineTo(n.x,n.y)+a.N.arcTo(e,e,d,
0,b.x,b.y)+a.N.closePath()):(f=D.fm(b,h,c),k=D.fm(b,h,c+d/2),n=D.fm(b,e,c),b=D.fm(b,e,c+d/2),h=a.N.moveTo(f.x,f.y)+a.N.arcTo(h,h,d/2,1,k.x,k.y)+a.N.arcTo(h,h,d/2,1,f.x,f.y),0<e&&(h+=a.N.moveTo(b.x,b.y)+a.N.arcTo(e,e,d/2,0,n.x,n.y)+a.N.arcTo(e,e,d/2,0,b.x,b.y)),h+=a.N.closePath());return h};D.nMa=function(b,c){var d=1;if(c)b>=a.Fc.jL&&b<Math.PI?d=2:b>=Math.PI&&b<1.5*Math.PI?d=3:b>=1.5*Math.PI&&b<a.Fc.Cm&&(d=4);else if(b>a.Fc.jL&&b<=Math.PI)d=2;else if(b>Math.PI&&b<=1.5*Math.PI)d=3;else if(b>1.5*Math.PI&&
b<a.Fc.Cm||0==b)d=4;return d};D.Hka=function(a){var b=a.metricLabel.position;return"auto"==b||"outsidePlotArea"==b||"withTitle"==b&&!B.IU(a)};D.t0a=function(b,c,d,e,h,f,k){var n=q,E=D.nMa(d,l),m=D.nMa(h,s),p=f.a,C=f.b,r=p/2,v=C/2,x;if(E==m&&e<=a.Fc.jL)if(d=2*Math.min(f.a,f.b),f.a+=d/2,f.b+=d/2,x=d*c,!k&&1==E||k&&2==E)f.x-=d/2,f.y-=d/2,r=p/2-d/4+1,v=C/2-d/4+1,n=new a.W(f.x+f.a/2-1,f.y+f.b/2-1,x*(3/7)-2,x*(2.5/7)-2);else if(!k&&2==E||k&&1==E)f.y-=d/2,r=p/2+d/4-1,v=C/2-d/4+1,n=new a.W(f.x+f.a/2-x*(3/
7)+1,f.y+f.b/2-1,x*(3/7)-2,x*(2.5/7)-2);else if(!k&&3==E||k&&4==E)r=p/2+d/4-1,v=C/2+d/4-1,n=new a.W(f.x+f.a/2-x*(3/7)+1,f.y+f.b/2-x*(2.5/7)+1,x*(3/7)-2,x*(2.5/7)-2);else{if(!k&&4==E||k&&3==E)f.x-=d/2,r=p/2-d/4+1,v=C/2+d/4-1,n=new a.W(f.x+f.a/2-1,f.y+f.b/2-x*(2.5/7)+1,x*(3/7)-2,x*(2.5/7)-2)}else E%4+1==m&&e<=Math.PI?1==E||3==E?(d=Math.min(f.a,2*f.b),x=d*c,f.a>f.b&&(n=new a.W(f.x+f.a/2-x*(3/7),f.y+f.b-(f.b-d/2)/2-x*(2.75/7),x*(6/7),x*(2.5/7)),1==E?(n.y=f.y+(f.b-d/2)/2+x*(0.5/7),f.y-=d/2-(f.b-d/2)/2,
v=C/2-d/4+1):(f.y+=(f.b-d/2)/2,v=C/2+d/4-1),f.b=d)):(d=Math.min(2*f.a,f.b),x=d*c,f.a<f.b&&(n=new a.W(f.x+f.a-(f.a-d/2)/2-x*(3.25/7),f.y+f.b/2-x*(2.5/7),x*(3/7),x*(5/7)),!k&&4==E||k&&2==E?(n.x=f.x+(f.a-d/2)/2+x*(0.25/7),f.x-=d/2-(f.a-d/2)/2,r=p/2-d/4+1):(f.x+=(f.a-d/2)/2,r=p/2+d/4-1),f.a=d)):m%4+1==E&&e>Math.PI&&(1==E&&f.b>f.a?(d=Math.min(2*(f.a/(Math.cos(d)+1)),2*(f.a/(Math.sin(h-1.5*Math.PI)+1)),f.b),x=d*c,c=x*(3/7)*(2*f.a/d-1),k?(n=new a.W(f.x+f.a-d/2-c,f.y+f.b/2-x*(2.5/7),x*(3/7)+c,x*(5/7)),f.x-=
d-f.a,r=-d/2+p):(n=new a.W(f.x+d/2-x*(3/7),f.y+f.b/2-x*(2.5/7),x*(3/7)*(1+(2*f.a/d-1)),x*(5/7)),r=d/2),f.a=d):2==E&&f.b<f.a?(d=Math.min(2*(f.b/(Math.cos(d-a.Fc.jL)+1)),2*(f.b/(Math.sin(h)+1)),f.a),x=d*c,n=new a.W(f.x+f.a/2-x*(3/7),f.y+d/2-x*(2.5/7),x*(6/7),x*(2.5/7)*(1+(2*f.b/d-1))),f.b=d,v=d/2):3==E&&f.b>f.a?(d=Math.min(2*(f.a/(Math.cos(d-Math.PI)+1)),2*(f.a/(Math.sin(h-a.Fc.jL)+1)),f.b),x=d*c,c=x*(3/7)*(2*f.a/d-1),k?(n=new a.W(f.x+d/2-x*(3/7),f.y+f.b/2-x*(2.5/7),x*(3/7)*(1+(2*f.a/d-1)),x*(5/7)),
r=d/2):(n=new a.W(f.x+f.a-d/2-c,f.y+f.b/2-x*(2.5/7),x*(3/7)+c,x*(5/7)),f.x-=d-f.a,r=-d/2+p),f.a=d):4==E&&f.b<f.a&&(d=Math.min(2*(f.b/(Math.cos(d-1.5*Math.PI)+1)),2*(f.b/(Math.sin(a.Fc.Cm-h)+1)),f.a),x=d*c,c=x*(2.5/7)*(2*f.b/d-1),n=new a.W(f.x+f.a/2-x*(3/7),f.y+f.b-d/2-c,x*(6/7),x*(2.5/7)+c),f.y-=d-f.b,f.b=d,v=-d/2+C));b.Zu=r;b.$u=v;b.phb=x;return n};D.Q8a=function(b,c,d,e,h){var f=new a.W(d.x+0.5*(d.a-h),d.y+0.5*(d.b-h),h,h),f=f.eNa(e);d=new a.W(d.x+0.5*(d.a-h/Math.sqrt(2)),d.y+0.5*(d.b-h/Math.sqrt(2)),
h/Math.sqrt(2),h/Math.sqrt(2));d=d.eNa(e);if(e=c.center.renderer)if(d={outerBounds:{x:f.x,y:f.y,width:f.a,height:f.b},innerBounds:{x:d.x,y:d.y,width:d.a,height:d.b},metricLabel:G.lp(c.value,b),component:c._widgetConstructor},c=b.j(),f=c.JC,(h=b.Uab)&&f.removeChild(h),d=e(d))e=c.OLa(),e.appendChild(d),b.Uab=e,f.appendChild(e),(b=c.WHa)&&b(e)};a.k.A(k,a.ub);k.prototype.Init=function(a,b,c,d,e,h){k.v.Init.call(this,b);this.Kg=a;this.AK(c,d,e,h)};k.prototype.AK=function(b,c,d,e){this.li=b;this.Jh=c;this.cG=
d;this.dG=e;var h=Math.min(b,c),f=Math.min(d,e);b=Math.abs(b-c);d=Math.abs(e-d);e=this.Kg.B();c="vertical"==e.orientation?b:d;var k=v.$y(this.Kg)?"25%":"15%",h=a.N.nP(h,f,b,d,e.borderRadius,c,k);this.Wl(h)};k.prototype.sg=function(){return[this.li,this.Jh,this.cG,this.dG]};k.prototype.Ef=function(a){a&&4==a.length&&this.AK(a[0],a[1],a[2],a[3])};a.k.A(h,a.ub);h.prototype.Init=function(a,b,c,d,e,f){h.v.Init.call(this,a);this.AQa(b,c,d,e,f)};h.prototype.AQa=function(b,c,d,e,h){b&&b instanceof a.W?this.me=
b:b=this.me;this.Tf=c;this.If=d;this.fo=e;this.jm=h;this.Wl(D.ELa(b,c,d,e,h))};h.prototype.sg=function(){return[this.me,this.Tf,this.If,this.fo,this.jm]};h.prototype.Ef=function(a){a&&5==a.length&&this.AQa(a[0],a[1],a[2],a[3],a[4])};a.nq=t();a.k.A(a.nq,z);a.nq.newInstance=function(b,c,d){var e=new a.nq;e.Init(b,c,d);return e};a.nq.prototype.Init=function(b,c,d){a.nq.v.Init.call(this,b,c,d);this.eh=new f;this.kha=q};a.nq.prototype.Gf=function(b){var c=b.background,d=b.indicator;"string"===typeof c&&
(b.background=B.mdb(c),b.background.images=b._backgroundImages);"string"===typeof d&&(b.indicator=B.ndb(d),b.indicator.images=b._indicatorImages);a.nq.v.Gf.call(this,this.eh.Pm(b))};a.nq.prototype.Am=function(a,b,c){C.wa(this,a,b,c)};a.nq.prototype.ZPa=function(){C.Skb(this,this.za,this.Cb,this.Ob);var a=this.Ua();a&&a.mb(this.BM,this.WQ(),l);this.uga(this.za)};a.nq.prototype.Zca=function(b,c,d){c=[];for(var e=0;e<b.length;e++){var h=b[e],f=h.sg(),k=C.P_a(this);h.ql(k);k=new a.Pd(this.j(),h,d);k.ga.M(a.F.dg,
h,h.sg,h.Ef,f);k.ga.rp(function(b){return a.nf.U_(b,0.7)});c.push(k)}return new a.Eh(this.j(),c)};a.nq.prototype.pH=function(b,c){var d=a.Fc.aV(Math.atan2(c-this.kha.y,b-this.kha.x));0>=d&&(d+=360);var e=a.u.aa(this.j()),h=this.B().background,f=e?180+h.startAngle:360-h.startAngle,h=h.angleExtent,k=f+h;if(e){k=f;for(f-=h;0>f;)f+=360,k+=360}d+360>=f&&d+360<=k?d+=360:d>=f&&d<=k||(d=d>k?f+360-d<d-k?f:k:f-d<d+360-k?f:k);d=(d-f)/h;e&&(d=1-d);e=this.U.min;return d*(this.U.max-e)+e};a.k.A(f,v);f.fi={background:{startAngle:180,
angleExtent:180,indicatorLength:0.7},metricLabel:{style:new a.e(a.ab.am)},tickLabel:{scaling:"auto",style:new a.e(a.ab.am)}};var C={};a.k.A(C,a.k);C.wa=function(b,c,d,e){y.TA(b)?(d=new a.W(0,0,d,e),C.l_(b,c,d),C.NN(b,c,d)):G.lq(b,c,new a.W(0,0,d,e))};C.Skb=function(b,c,d,e){b.T_a.ql(C.uka(b,b.B().value));c.removeChild(b.V_a);C.NN(b,c,new a.W(0,0,d,e))};C.l_=function(b,c,d){var h=b.B(),f=C.o2a(b,d);c.q(f);h.background.majorTickCount&&h.background.radius&&C.A9a(b,c,d);var f=C.A2a(b,d),k=new a.ea(b.j()),
n=new e(b.j());c.q(k);k.q(n);n.q(f);var E=f.X(),h=C.uka(b,h.value);c=C.iEa(b,d);var m=C.z4a(b,E);d=C.A4a(b,d,E);E=new a.Rb;E.translate(-m.x,-m.y);E.scale(d,d);f.sb(E);n.ql(h);E=new a.Rb;E.translate(c.x,c.y);k.sb(E);b.CE.push(n);b.T_a=n;b.kha=c};C.o2a=function(b,c){var d=b.B().background,e=a.u.aa(b.j()),h=a.u.Va(),f=h?2*c.a:c.a,k=h?2*c.b:c.b,n=d.images;if(n&&0<n.length){var E,m,p,h=[];for(E=0;E<n.length;E++){var C="rtl"==n[E].dir;e&&C?h.push(n[E]):!e&&!C&&h.push(n[E])}n=0<h.length?h:n;for(E=0;E<n.length;E++){var r=
n[E],C=r.src,h=r.width,r=r.height,v=C&&-1<C.search(".svg");0==E&&(m=h,p=r);if(v||h>=f&&r>=k||E==n.length-1){var f=new a.Bb(b.j(),C,0,0,h,r),x=new a.Rb,k=Math.min(c.a/h,c.b/r),n=(c.a-k*h)/2;E=(c.b-k*r)/2;x.scale(k,k);x.translate(n,E);f.sb(x);v&&a.u.XA()&&(C=a.nr.br(b.j(),C,a.k.Kh(f,f.uha)))&&f.uha(C);c.x+=n;c.y+=E;c.a=k*h;c.b=k*r;!isNaN(d.anchorX)&&!isNaN(d.anchorY)&&(d._anchorX=e?c.x+c.a-c.a*d.anchorX/m:c.x+c.a*d.anchorX/m,d._anchorY=c.y+c.b*d.anchorY/p);d.metricLabelBounds&&(h={},h.width=c.a*d.metricLabelBounds.width/
m,h.height=c.b*d.metricLabelBounds.height/p,h.y=c.y+c.b*d.metricLabelBounds.y/p,h.x=e?c.x+c.a-c.a*d.metricLabelBounds.x/m-h.width:c.x+c.a*d.metricLabelBounds.x/m,d._metricLabelBounds=h);e=Math.min(c.a/m,c.b/p);d._radius=d.radius*e;d._tickLabelHeight=d.tickLabelHeight*c.b/p;d._tickLabelWidth=d.tickLabelWidth*c.a/m;return f}}}return q};C.A2a=function(b,c){var d=b.B().indicator,e=C.yEa(b,c),h=a.u.Va()?2*e:e,f,k,n=d.images;if(n&&0<n.length)for(var E=0;E<n.length;E++){var m=n[E],e=m.src,p=m.width,m=m.height,
r=e&&-1<e.search(".svg");0==E&&(f=p,k=m);if(r||m>=h||E==n.length-1)return h=new a.Bb(b.j(),e,0,0,p,m),r&&a.u.XA()&&a.nr.br(b.j(),e,a.k.Kh(h,h.uha))&&(h.$a(p),h.vb(m)),!isNaN(d.anchorX)&&!isNaN(d.anchorY)&&(d._anchorX=d.anchorX*p/f,d._anchorY=d.anchorY*m/k),h}return q};C.P_a=function(b){var c=b.B().background;b=a.u.aa(b.j())?180-c.startAngle:c.startAngle;return Math.PI*(90-b)/180};C.uka=function(b,c){var d=b.B(),e=d.background,h=d.min,d=d.max;c=Math.max(Math.min(c,d),h);h=(c-h)/(d-h);d=a.u.aa(b.j());
return Math.PI*(90-((d?180-e.startAngle:e.startAngle)-h*(d?-e.angleExtent:e.angleExtent)))/180};C.iEa=function(b,c){var d=b.B().background,e=d._anchorX,d=d._anchorY;return!isNaN(e)&&!isNaN(d)?new a.O(e,d):new a.O(c.x+c.a/2,c.y+c.b/2)};C.yEa=function(a,b){var c=Math.min(b.a,b.b)/2;return a.B().background.indicatorLength*c};C.z4a=function(b,c){var d=b.B().indicator,e=d._anchorX,d=d._anchorY;return!isNaN(e)&&!isNaN(d)?new a.O(e,d):new a.O(c.x+c.a/2,c.y+c.b)};C.A4a=function(a,b,c){return C.yEa(a,b)/c.b};
C.NN=function(b,c,d){var e=b.B();if("on"==e.metricLabel.rendered){var h=G.lp(e.value,b),f=G.lp(e.min,b),k=G.lp(e.max,b),n=d.x+d.a/2,E=d.y+d.b/2,m=d.a,p=d.b,C=e.background._metricLabelBounds;C&&(n=C.x+C.width/2,E=C.y+C.height/2,d.a=C.width,d.b=C.height);n=new a.Y(b.j(),h,n,E);!e.metricLabel.style.K("color")&&e.background._isDark&&e.metricLabel.style.qa("color","#CCCCCC");n.Eb(e.metricLabel.style);e=(e=parseInt(e.metricLabel.style.nG()))?parseInt(e):q;e||(e=G.v$([h,f,k],n,d),n.Qg(h),n.Gg(e));n.Uf();
n.rg();a.Ba.sd(n,m,p,c)&&(b.V_a=n)}};C.A9a=function(b,c,d){var e=b.B(),h=a.u.aa(b.j());if(e.background.radius&&e.background.majorTickCount){var f=e.background._radius,k=e.min,n=e.max,E=e.background.majorTickCount,m=12,p=new a.W(z,x,d.a,d.b),r=e.metricLabel.style.K("font-size");e.background._tickLabelHeight&&!r&&(p.b=e.background._tickLabelHeight);e.background._tickLabelWidth&&!r&&(p.a=e.background._tickLabelWidth);if(!r)var v=new a.Y(b.j(),"",z,x),m=G.v$([G.xpa(e.max,b),G.xpa(e.min,b)],v,p);for(r=
0;r<E;r++){z=k+Math.abs(n-k)*r/(E-1);h&&(z=k+Math.abs(n-k)*(E-1-r)/(E-1));var v=G.xpa(z,b),x=C.uka(b,z),w=C.iEa(b,d),z=w.x+f*Math.cos(x-Math.PI/2),x=w.y+f*Math.sin(x-Math.PI/2),v=new a.Y(b.j(),v,z,x);!e.tickLabel.style.K("color")&&e.background._isDark&&e.tickLabel.style.qa("color","#CCCCCC");v.Eb(e.tickLabel.style);e.tickLabel.style.K("font-size")||v.Gg(m);v.Uf();v.rg();a.Ba.sd(v,p.a+0.5,p.b+0.5,c)}}};a.k.A(e,a.ea);e.prototype.ql=function(b){var c=new a.Rb;c.rotate(b);this.sb(c);this.E0a=b};e.prototype.sg=
function(){return[this.E0a]};e.prototype.Ef=function(a){a&&1==a.length&&this.ql(a[0])};a.Lo=t();a.k.A(a.Lo,z);a.Lo.newInstance=function(b,c,d){var e=new a.Lo;e.Init(b,c,d);return e};a.Lo.prototype.Init=function(b,c,e){a.Lo.v.Init.call(this,b,c,e);this.eh=new d};a.Lo.prototype.Gf=function(b){a.Lo.v.Gf.call(this,this.eh.Pm(b))};a.Lo.prototype.Am=function(b,c,d){var e=this.U.__layout.outerGap,h=this.U.max,f="vertical"==this.U.orientation,k="none"!=this.U.preserveAspectRatio;this.U.selectedState.source&&
k?a.nr.br(this.j(),this.U.selectedState.source,a.k.Kh(this,function(k){a.u.ee()&&(11==a.u.BG()&&k&&0==k.width&&0==k.height)&&(k.width=1,k.height=1);k&&(k.width&&k.height)&&(k=k.width/k.height,this.Cz=f?Math.min(c-2*e,(d-2*e)*k/h):Math.min((d-2*e)*k,(c-2*e)/h),this.BE=this.Cz/k,this.kf=f?new a.W(e,(d-this.BE*h)/2,c-2*e,this.BE*h):new a.W((c-this.Cz*h)/2,e,this.Cz*h,d-2*e),E.wa(this,b,c,d))})):(k?this.BE=this.Cz=f?Math.min(c-2*e,(d-2*e)/h):Math.min(d-2*e,(c-2*e)/h):(this.Cz=f?c-2*e:(c-2*e)/h,this.BE=
f?(d-2*e)/h:d-2*e),this.kf=f?new a.W(e,(d-this.BE*h)/2,c-2*e,this.BE*h):new a.W((c-this.Cz*h)/2,e,this.Cz*h,d-2*e),E.wa(this,b,c,d))};a.Lo.prototype.WQ=function(){return new c(this)};a.Lo.prototype.pH=function(b,c){var d="vertical"==this.U.orientation?this.BE:this.Cz;if(y.TA(this)){if("vertical"==this.U.orientation)c=Math.max(Math.min(c,this.kf.y+this.kf.b),this.kf.y),e=Math.max((this.kf.y+this.kf.b-c)/d,this.U.min);else{b=Math.max(Math.min(b,this.kf.x+this.kf.a),this.kf.x);var e=0,e=a.u.aa(this.j())?
Math.max((this.kf.x+this.kf.a-b)/d,this.U.min):Math.max((b-this.kf.x)/d,this.U.min)}return G.s$(this.U,e)}return q};a.Lo.prototype.Z_a=function(){this.vha(this.U.value,"render");this.dispatchEvent(a.Ya.rK(this.U.value,this.U.value,s))};a.Lo.prototype.r5=function(a,b){this.$Q(a,b)};a.Lo.prototype.$Q=function(b,c){var d=this.pH(b,c);this.vha(d,"hover");this.dispatchEvent(a.Ya.rK(this.U.value,d,s))};a.Lo.prototype.rha=function(b,c){var d=this.U.value;this.U.value=this.pH(b,c);this.U.changed=l;this.wa();
this.dispatchEvent(a.Ya.rK(d,this.U.value,s));this.dispatchEvent(a.Ya.rK(d,this.U.value,l))};a.Lo.prototype.vha=function(b,c,d){if(y.TA(this)){d||(d=this.za);var e=a.u.aa(this.j()),h="vertical"==this.U.orientation,f=h?this.BE:this.Cz;b=Math.max(Math.min(b,this.U.max),0);var k=0,n=b*f,E=b*f;"render"==c&&(k=b*f,n=0);if(h){if(c=d.bb(0),e=new a.Kd,e.Le(this.kf.x,this.kf.y,this.kf.a,this.kf.b-E),c.De(e),c=d.bb(1),e=new a.Kd,e.Le(this.kf.x,this.kf.y+this.kf.b-k,this.kf.a,k),c.De(e),k=d.bb(2))c=new a.Kd,
c.Le(this.kf.x,this.kf.y+this.kf.b-n,this.kf.a,n),k.De(c)}else if(e){if(c=d.bb(0),e=new a.Kd,e.Le(this.kf.x,this.kf.y,this.kf.a-E,this.kf.b),c.De(e),c=d.bb(1),e=new a.Kd,e.Le(this.kf.x+this.kf.a-E,this.kf.y,k,this.kf.b),c.De(e),k=d.bb(2))c=new a.Kd,c.Le(this.kf.x+this.kf.a-E,this.kf.y,n,this.kf.b),k.De(c)}else if(c=d.bb(0),e=new a.Kd,e.Le(this.kf.x+E,this.kf.y,this.kf.a-E,this.kf.b),c.De(e),c=d.bb(1),e=new a.Kd,e.Le(this.kf.x,this.kf.y,k,this.kf.b),c.De(e),k=d.bb(2))c=new a.Kd,c.Le(this.kf.x,this.kf.y,
n,this.kf.b),k.De(c);this.uga(d,b)}};a.Lo.prototype.O_a=function(a){return this.za.bb(0).bb(a)};a.Lo.prototype.SP=function(){return new b(this)};a.k.A(d,v);d.Ze={unselectedState:{shape:"star",color:"#C4CED7",borderColor:q},selectedState:{shape:"star",color:"#F8C15A",borderColor:q},hoverState:{shape:"star",color:"#007CC8",borderColor:q},changedState:{shape:"star",color:"#ED2C02",borderColor:q}};d.fi={min:0,max:5,orientation:"horizontal",unselectedState:{shape:"star",color:"#F2F2F2",borderColor:"#B6B6B6"},
selectedState:{shape:"star",color:"#F8C15A",borderColor:"#F5A700"},hoverState:{shape:"star",color:"#66A7DA",borderColor:"#4A86C5"},changedState:{shape:"star",color:"#F8C15A",borderColor:"#959595"},preserveAspectRatio:"meet",step:1};a.k.A(c,a.Ph);c.prototype.ug=function(a,b,c){a=this.Kg.B();b=this.Kg.Ua().or?y.VO(this.Kg,this.Kg.pH(b,c)):y.VO(this.Kg);return(b=y.CU(this.Kg,b))&&b.shortDesc?b.shortDesc:a.shortDesc};var E={};a.k.A(E,a.k);E.wa=function(b,c,d,e){if(y.TA(b)){d=b.B();e=y.VO(b);e=y.CU(b,
e);var h=d.selectedState.color,f=d.changedState.color,k=d.selectedState.borderColor,n=d.changedState.borderColor;e&&e.color&&(f=h=e.color);e&&e.borderColor&&(n=k=e.borderColor);e={value:0,type:d.unselectedState.shape,color:d.unselectedState.color,borderColor:d.unselectedState.borderColor,visualEffects:d.visualEffects,source:d.unselectedState.source};h={value:0,type:d.selectedState.shape,color:h,borderColor:k,visualEffects:d.visualEffects,source:d.selectedState.source};f={value:0,type:d.changedState.shape,
color:f,borderColor:n,visualEffects:d.visualEffects,source:d.changedState.source};n={value:0,type:d.hoverState.shape,color:d.hoverState.color,borderColor:d.hoverState.borderColor,visualEffects:d.visualEffects,source:d.hoverState.source};"dot"==d.unselectedState.shape&&(e.type="circle",e.visualEffects="none",e.size=0.05);E.cja(b,c,e);E.cja(b,c,d.changed?f:h);d.readOnly||E.cja(b,c,n);b.vha(d.value,"render",c)}else G.lq(b,c,new a.W(0,0,d,e))};E.cja=function(b,c,d){var e=b.j(),h=new a.ea(e);c.q(h);c=
b.B();var f=b.kf,k=b.Cz;b=b.BE;var n;d.source?(n=new a.wf(e,k/2,b/2,k,b,q,d.source),n.oca("none")):"none"!=d.type&&(n=a.rz.newInstance(e,q,q,l),n.wa(d,k,b));for(d=0;d<c.max;d++){var E,m;"vertical"==c.orientation?(E=f.x+f.a/2-k/2,m=f.y+f.b-(d+1)*b):(E=a.u.aa(e)?f.x+f.a-(d+1)*k:f.x+d*k,m=f.y+f.b/2-b/2);n&&(E=new a.Jx(e,E,m,n),h.q(E))}};a.k.A(b,r);b.prototype.Dx=function(a){if(this.Kg.B().readOnly===s){var c=this.aE(a.pageX,a.pageY);this.Kg.r5(c.x,c.y);this.or=l}b.v.Dx.call(this,a)};b.prototype.On=function(a){this.Kg.B().readOnly===
s&&(this.aE(a.pageX,a.pageY),this.Kg.Z_a(),this.or=s);b.v.On.call(this,a)};b.prototype.Cx=function(a){var c=this.aE(a.pageX,a.pageY);this.Kg.B().readOnly===s&&(!this.or&&this.Kg.B().value!=this.Kg.pH(c.x,c.y))&&(this.or=l);b.v.Cx.call(this,a)};b.prototype.cn=function(a){r.v.cn.call(this,a)};b.prototype.Dk=function(a){this.or=s;return b.v.Dk.call(this,a)};b.prototype.xea=P(l);a.Ta(a,"DialGauge",a.nq);a.Ta(a,"LedGauge",a.rz);a.Ta(a,"RatingGauge",a.Lo);a.Ta(a,"StatusMeterGauge",a.Rn);a.Ta(a.nq,"DialGauge",
a.nq);a.Ta(a.nq,"LedGauge",a.rz);a.Ta(a.nq,"RatingGauge",a.Lo);a.Ta(a.nq,"StatusMeterGauge",a.Rn);a.Ta(z.prototype,"getAutomation",z.prototype.mi);a.Ta(z.prototype,"destroy",z.prototype.oa);a.Ta(z.prototype,"render",z.prototype.wa);a.Ta(x.prototype,"getDomElementForSubId",x.prototype.oi);a.Ta(x.prototype,"getValue",x.prototype.getValue);a.Ta(x.prototype,"getMetricLabel",x.prototype.qeb);a.Xwa=w})(dvt);