var uKd="background:none",vKd="cssText";function wKd(a,b,d,e){JCb(a,b,d);a=zQ(a,b,d,null==e);null!=e&&ey(a,e)}function xKd(a,b,d){a=cU(a.c,a.a);d=0==b||0==d?0:Gz(bz(Math.round(d/b*100)));0<d?(a.setAttribute(vr,Cyb+d+ha),a.setAttribute(vKd,Cyb+d+ha)):(a.setAttribute(vr,uKd),a.setAttribute(vKd,uKd));b=new zP;EP(KR((U(b.a,"\x3cspan style\x3d'padding-right:5px;'\x3e"),b),d+ha),JK);ey(a,(new AP(b.a.a.a)).a)}function yKd(){this.b=hy();this.a=hy()}x(2501,1,{},yKd);
function zKd(){this.c=new CD;vy();this.d=g}x(2672,1,{},zKd);_.a=null;_.e=100;function AKd(a){var b,d;b=y1();AI(zI(b),xr,Er);d=new H;I(J(d,jn),"engine-statistics");FI(J(d,n),b);LE(new ME(d),new BKd(a))}function CKd(a,b,d,e){SW.call(this,a,b,d,null);this.a=e;this.b=new qE(nF)}x(4576,1005,pu,CKd);_.Ri=function(){this.A.a=this;Qy(this.v,(Ggc(),Hgc),this)};_.Sk=function(){px((qx(),rx),new DKd(this))};_.Wi=function(){this.B&&AKd(this)};_.$i=function(){M1(this.a,this)};function DKd(a){this.a=a}
x(4577,1,{},DKd);_.vd=function(){AKd(this.a)};function BKd(a){this.a=a}x(4578,1292,{},BKd);_.sd=function(a){FD("Failed to retrieve query engine statistics for Teiid",a.$b())};_.eh=function(a){a=PE(a);J(a,hp).b.b!=(L(),M)?(a=cZ(this.a.b,J(a,hp)),EKd(this.a.A,a)):EKd(this.a.A,null)};
function EKd(a,b){var d;d=new x1(A(aX,Bu,-1,[cz(b.rI().a),b.sI().a,b.tI().a,b.nI().a,b.pI().a,b.lI().a,b.mI().a,b.oI().a,cz(b.kI().a),cz(b.uI().a),cz(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 $w(Aqb+h+Snb+d.a.b);l=EW(0<=h?(new $W(GW(jw(d.a,h)))).a:Ct);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 $w(hrb+K+Qnb);CQ(e.b,S,1,h);if(p.a&&Bz(l.a,Dt))xKd(jw(e.c,K),Gz(l.a),
(new fC(ZW(h))).a);else if(p.a&&!ez(l.a,Dt))throw new $w(tpb);++S}}function FKd(){}x(4581,1409,Du,FKd);
_.Bh=function(){var a,b,d,e,h,l,p,s,w,z,K,S,Z;S=new B0;D0(S,new C0((G(),"Refresh"),new GKd(this)));z=new zY(oia,"Session Count");w=new zY(Yia,"Memory in Use(KB)");s=new zY(Xia,"Memory Used By Active Plans(KB)");e=new zY(Rea,"Buffer Disk Reads");h=new zY(Sea,"Buffer Disk Writes");b=new zY(Pea,"Buffer Cache Reads");d=new zY(Qea,"Buffer Cache Writes");K=new zY(Tea,"Disk Space In Use(MB)");a=new zY(wea,"Active Plan Count");Z=new zY(Vja,"Waiting Plan Count");p=new zY(Uga,"Maximum Plans Waiting Water Mark");
a=A(AY,xu,195,[z,w,s,e,h,b,d,K,a,Z,p]);b=new zKd;b.a=a;vy();b.e=100;this.b=b;a=TZ(WZ(new XZ,hM),"Teiid Metrics");a.i=S;S=SZ(a,"Metrics for teiid subsystem");a=this.b;b=new HT;(B(),b.gb).className=fN;V(b,new aU("\x3cdiv class\x3d'metric-table-title'\x3e"+a.d+FK));a.b=new EQ;ZP(a.b).setAttribute(jt,a.e+ha);wKd(a.b,0,0,"Metric");wKd(a.b,0,1,"Actual");wKd(a.b,0,2,ka);d=a.b.d;e=(fU(),hU);d.a.oe(0,1);d.a.c.rows[0].cells[1][EM]=e.a;p=1;d=a.a;e=0;for(h=d.length;e<h;++e)s=d[e],wKd(a.b,p,0,"\x3cdiv class\x3d'metric-table-label'\x3e"+
s.d+":\x3c/div\x3e"),wKd(a.b,p,1,g),yD(a.c,new yKd),s.a?(w=jw(a.c,p-1),z=a.b,K=p,Z=new zP,EP(Z,"\x3cdiv id\x3d'"+w.b+"'\x3e\x3cdiv id\x3d'"+w.a+"'/\x3e\x3c/div\x3e"),w.c=new eU(new AP(Z.a.a.a)),Z=cU(w.c,w.b),jQ(Z,"stacked-bar-total"),Z.setAttribute(vr,cP),Z.setAttribute(vKd,"width:100%!important"),DQ(z,K,2,(l=cU(w.c,w.a),jQ(l,"stacked-bar-actual"),gy(l,g),w.c)),xKd(w,0,0)):CQ(a.b,p,2,g),w=a.b.d,z=p,K=hU,w.a.oe(z,1),w.a.c.rows[z].cells[1][EM]=K.a,s.c&&(s=a.b.f,w=p,YP((s.a.pe(w),B(),BQ(s.a.c,w)),"metric-table-baseline",
!0)),++p;wMb(a.b.d,0,0,"metric-table-header");wMb(a.b.d,0,1,"metric-table-header");wMb(a.b.d,0,2,"metric-table-header");l=a.b.d;l.a.oe(0,2);l.a.c.rows[0].cells[2][jt]=BK;V(b,a.b);l=QZ(S,"Teiid Metrics",b);return RZ(l)};function GKd(a){this.a=a}x(4582,1,v,GKd);_.le=function(){AKd(this.a.a)};x(4738,1,fu);_.td=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=NA(GB(b.a));var e;b.d||(e=new FKd,b.d=e);d=new CKd(d,b.d,eza(b),(vE(jE(b.a)),xE(hE(b.a)),L4(iY(b.a))));$A((cE(b.a),d),lB(cE(b.a)));b.c=d}sB(a,b.c)};
F(4576);F(4577);F(4578);F(4581);F(4582);F(2672);F(2501);Aw(MJ)(75);