var DKd="background:none",EKd="cssText";function FKd(a,b,d,e){PCb(a,b,d);a=DQ(a,b,d,null==e);null!=e&&dy(a,e)}function GKd(a,b,d){a=$T(a.c,a.a);d=0==b||0==d?0:Fz(az(Math.round(d/b*100)));0<d?(a.setAttribute(yr,Iyb+d+ha),a.setAttribute(EKd,Iyb+d+ha)):(a.setAttribute(yr,DKd),a.setAttribute(EKd,DKd));b=new DP;IP(HR((U(b.a,"\x3cspan style\x3d'padding-right:5px;'\x3e"),b),d+ha),NK);dy(a,(new EP(b.a.a.a)).a)}function HKd(){this.b=gy();this.a=gy()}x(2502,1,{},HKd);
function IKd(){this.c=new uD;uy();this.d=g}x(2673,1,{},IKd);_.a=null;_.e=100;function JKd(a){var b,d;b=t1();vI(uI(b),Ar,Hr);d=new H;I(J(d,ln),"engine-statistics");AI(J(d,n),b);DE(new EE(d),new KKd(a))}function LKd(a,b,d,e){NW.call(this,a,b,d,null);this.a=e;this.b=new iE(gF)}x(4577,1006,su,LKd);_.Ri=function(){this.A.a=this;Py(this.v,(Rgc(),Sgc),this)};_.Sk=function(){ox((px(),qx),new MKd(this))};_.Wi=function(){this.B&&JKd(this)};_.$i=function(){J1(this.a,this)};function MKd(a){this.a=a}
x(4578,1,{},MKd);_.vd=function(){JKd(this.a)};function KKd(a){this.a=a}x(4579,1293,{},KKd);_.sd=function(a){xD("Failed to retrieve query engine statistics for Teiid",a.$b())};_.eh=function(a){a=HE(a);J(a,kp).b.b!=(L(),M)?(a=YY(this.a.b,J(a,kp)),NKd(this.a.A,a)):NKd(this.a.A,null)};
function NKd(a,b){var d;d=new s1(A(WW,Eu,-1,[bz(b.rI().a),b.sI().a,b.tI().a,b.nI().a,b.pI().a,b.lI().a,b.mI().a,b.oI().a,bz(b.kI().a),bz(b.uI().a),bz(b.qI().a)]));var e=a.b,h,l,p,s,w,z,K,S;S=1;z=0;w=!1;l=e.a;p=0;for(s=l.length;p<s;++p){h=l[p];if(h.c){w=!0;break}++z}h=w?z:-1;if(h>d.a.b)throw new Zw(Gqb+h+Ynb+d.a.b);l=zW(0<=h?(new VW(BW(jw(d.a,h)))).a:It);s=e.a;w=0;for(z=s.length;w<z;++w){p=s[w];K=S-1;h=jw(d.a,K);if(null==h)throw new Zw(nrb+K+Wnb);GQ(e.b,S,1,h);if(p.a&&Az(l.a,Jt))GKd(jw(e.c,K),Fz(l.a),
(new cC(UW(h))).a);else if(p.a&&!dz(l.a,Jt))throw new Zw(zpb);++S}}function OKd(){}x(4582,1410,Gu,OKd);
_.Bh=function(){var a,b,d,e,h,l,p,s,w,z,K,S,$;S=new w0;y0(S,new x0((G(),"Refresh"),new PKd(this)));z=new uY(oia,"Session Count");w=new uY(Yia,"Memory in Use(KB)");s=new uY(Xia,"Memory Used By Active Plans(KB)");e=new uY(Rea,"Buffer Disk Reads");h=new uY(Sea,"Buffer Disk Writes");b=new uY(Pea,"Buffer Cache Reads");d=new uY(Qea,"Buffer Cache Writes");K=new uY(Tea,"Disk Space In Use(MB)");a=new uY(wea,"Active Plan Count");$=new uY(Sja,"Waiting Plan Count");p=new uY(Uga,"Maximum Plans Waiting Water Mark");
a=A(vY,Au,195,[z,w,s,e,h,b,d,K,a,$,p]);b=new IKd;b.a=a;uy();b.e=100;this.b=b;a=OZ(RZ(new SZ,lM),"Teiid Metrics");a.i=S;S=NZ(a,"Metrics for teiid subsystem");a=this.b;b=new ET;(B(),b.gb).className=jN;V(b,new YT("\x3cdiv class\x3d'metric-table-title'\x3e"+a.d+JK));a.b=new IQ;cQ(a.b).setAttribute(pt,a.e+ha);FKd(a.b,0,0,"Metric");FKd(a.b,0,1,"Actual");FKd(a.b,0,2,ka);d=a.b.d;e=(cU(),eU);d.a.oe(0,1);d.a.c.rows[0].cells[1][IM]=e.a;p=1;d=a.a;e=0;for(h=d.length;e<h;++e)s=d[e],FKd(a.b,p,0,"\x3cdiv class\x3d'metric-table-label'\x3e"+
s.d+":\x3c/div\x3e"),FKd(a.b,p,1,g),nD(a.c,new HKd),s.a?(w=jw(a.c,p-1),z=a.b,K=p,$=new DP,IP($,"\x3cdiv id\x3d'"+w.b+"'\x3e\x3cdiv id\x3d'"+w.a+"'/\x3e\x3c/div\x3e"),w.c=new bU(new EP($.a.a.a)),$=$T(w.c,w.b),nQ($,"stacked-bar-total"),$.setAttribute(yr,gP),$.setAttribute(EKd,"width:100%!important"),HQ(z,K,2,(l=$T(w.c,w.a),nQ(l,"stacked-bar-actual"),fy(l,g),w.c)),GKd(w,0,0)):GQ(a.b,p,2,g),w=a.b.d,z=p,K=eU,w.a.oe(z,1),w.a.c.rows[z].cells[1][IM]=K.a,s.c&&(s=a.b.f,w=p,bQ((s.a.pe(w),B(),FQ(s.a.c,w)),"metric-table-baseline",
!0)),++p;JMb(a.b.d,0,0,"metric-table-header");JMb(a.b.d,0,1,"metric-table-header");JMb(a.b.d,0,2,"metric-table-header");l=a.b.d;l.a.oe(0,2);l.a.c.rows[0].cells[2][pt]=FK;V(b,a.b);l=LZ(S,"Teiid Metrics",b);return MZ(l)};function PKd(a){this.a=a}x(4583,1,v,PKd);_.le=function(){JKd(this.a.a)};x(4739,1,iu);_.td=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=EA(DB(b.a));var e;b.d||(e=new OKd,b.d=e);d=new LKd(d,b.d,bza(b),(nE(bE(b.a)),pE($D(b.a)),J4(dY(b.a))));KA((VD(b.a),d),iB(VD(b.a)));b.c=d}pB(a,b.c)};
F(4577);F(4578);F(4579);F(4582);F(4583);F(2673);F(2502);Aw(QJ)(75);