var DKd="background:none",EKd="cssText";function FKd(a,b,d,e){SCb(a,b,d);a=CQ(a,b,d,null==e);null!=e&&cy(a,e)}function GKd(a,b,d){a=bU(a.c,a.a);d=0==b||0==d?0:Hz(cz(Math.round(d/b*100)));0<d?(a.setAttribute(yr,Lyb+d+ha),a.setAttribute(EKd,Lyb+d+ha)):(a.setAttribute(yr,DKd),a.setAttribute(EKd,DKd));b=new CP;HP(JR((U(b.a,"\x3cspan style\x3d'padding-right:5px;'\x3e"),b),d+ha),MK);cy(a,(new DP(b.a.a.a)).a)}function HKd(){this.b=fy();this.a=fy()}x(2502,1,{},HKd);
function IKd(){this.c=new vD;wy();this.d=g}x(2673,1,{},IKd);_.a=null;_.e=100;function JKd(a){var b,d;b=v1();wI(vI(b),Ar,Hr);d=new H;I(J(d,kn),"engine-statistics");BI(J(d,n),b);EE(new FE(d),new KKd(a))}function LKd(a,b,d,e){PW.call(this,a,b,d,null);this.a=e;this.b=new jE(gF)}x(4577,1006,uu,LKd);_.Ri=function(){this.A.a=this;Ry(this.v,(Rgc(),Sgc),this)};_.Sk=function(){nx((ox(),px),new MKd(this))};_.Wi=function(){this.B&&JKd(this)};_.$i=function(){L1(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){yD("Failed to retrieve query engine statistics for Teiid",a.$b())};_.eh=function(a){a=IE(a);J(a,mp).b.b!=(L(),M)?(a=$Y(this.a.b,J(a,mp)),NKd(this.a.A,a)):NKd(this.a.A,null)};
function NKd(a,b){var d;d=new u1(A(YW,Gu,-1,[dz(b.rI().a),b.sI().a,b.tI().a,b.nI().a,b.pI().a,b.lI().a,b.mI().a,b.oI().a,dz(b.kI().a),dz(b.uI().a),dz(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 Yw(Jqb+h+aob+d.a.b);l=BW(0<=h?(new XW(DW(kw(d.a,h)))).a:Ht);s=e.a;w=0;for(z=s.length;w<z;++w){p=s[w];K=S-1;h=kw(d.a,K);if(null==h)throw new Yw(qrb+K+Znb);FQ(e.b,S,1,h);if(p.a&&Cz(l.a,It))GKd(kw(e.c,K),Hz(l.a),
(new dC(WW(h))).a);else if(p.a&&!fz(l.a,It))throw new Yw(Cpb);++S}}function OKd(){}x(4582,1410,Iu,OKd);
_.Bh=function(){var a,b,d,e,h,l,p,s,w,z,K,S,$;S=new y0;A0(S,new z0((G(),"Refresh"),new PKd(this)));z=new wY(oia,"Session Count");w=new wY(Yia,"Memory in Use(KB)");s=new wY(Xia,"Memory Used By Active Plans(KB)");e=new wY(Rea,"Buffer Disk Reads");h=new wY(Sea,"Buffer Disk Writes");b=new wY(Pea,"Buffer Cache Reads");d=new wY(Qea,"Buffer Cache Writes");K=new wY(Tea,"Disk Space In Use(MB)");a=new wY(wea,"Active Plan Count");$=new wY(Vja,"Waiting Plan Count");p=new wY(Uga,"Maximum Plans Waiting Water Mark");
a=A(xY,Cu,195,[z,w,s,e,h,b,d,K,a,$,p]);b=new IKd;b.a=a;wy();b.e=100;this.b=b;a=QZ(TZ(new UZ,kM),"Teiid Metrics");a.i=S;S=PZ(a,"Metrics for teiid subsystem");a=this.b;b=new GT;(B(),b.gb).className=iN;V(b,new $T("\x3cdiv class\x3d'metric-table-title'\x3e"+a.d+IK));a.b=new HQ;bQ(a.b).setAttribute(ot,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=(eU(),gU);d.a.oe(0,1);d.a.c.rows[0].cells[1][HM]=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),oD(a.c,new HKd),s.a?(w=kw(a.c,p-1),z=a.b,K=p,$=new CP,HP($,"\x3cdiv id\x3d'"+w.b+"'\x3e\x3cdiv id\x3d'"+w.a+"'/\x3e\x3c/div\x3e"),w.c=new dU(new DP($.a.a.a)),$=bU(w.c,w.b),mQ($,"stacked-bar-total"),$.setAttribute(yr,fP),$.setAttribute(EKd,"width:100%!important"),GQ(z,K,2,(l=bU(w.c,w.a),mQ(l,"stacked-bar-actual"),ey(l,g),w.c)),GKd(w,0,0)):FQ(a.b,p,2,g),w=a.b.d,z=p,K=gU,w.a.oe(z,1),w.a.c.rows[z].cells[1][HM]=K.a,s.c&&(s=a.b.f,w=p,aQ((s.a.pe(w),B(),EQ(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][ot]=EK;V(b,a.b);l=NZ(S,"Teiid Metrics",b);return OZ(l)};function PKd(a){this.a=a}x(4583,1,v,PKd);_.le=function(){JKd(this.a.a)};x(4739,1,ku);_.td=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=FA(EB(b.a));var e;b.d||(e=new OKd,b.d=e);d=new LKd(d,b.d,eza(b),(oE(cE(b.a)),qE(aE(b.a)),J4(fY(b.a))));MA((WD(b.a),d),jB(WD(b.a)));b.c=d}qB(a,b.c)};
F(4577);F(4578);F(4579);F(4582);F(4583);F(2673);F(2502);Bw(PJ)(75);