var EKd="background:none",FKd="cssText";function GKd(a,b,d,e){NCb(a,b,d);a=AQ(a,b,d,null==e);null!=e&&jy(a,e)}function HKd(a,b,d){a=$T(a.c,a.a);d=0==b||0==d?0:Jz(ez(Math.round(d/b*100)));0<d?(a.setAttribute(Hr,Hyb+d+ia),a.setAttribute(FKd,Hyb+d+ia)):(a.setAttribute(Hr,EKd),a.setAttribute(FKd,EKd));b=new zP;EP(MR((V(b.a,"\x3cspan style\x3d'padding-right:5px;'\x3e"),b),d+ia),MK);jy(a,(new AP(b.a.a.a)).a)}function IKd(){this.b=my();this.a=my()}w(2513,1,{},IKd);
function JKd(){this.c=new yD;yy();this.d=g}w(2684,1,{},JKd);_.a=null;_.e=100;function KKd(a){var b,d;b=w1();yI(xI(b),Jr,Qr);d=new I;K(L(d,vn),"engine-statistics");DI(L(d,n),b);IE(new JE(d),new LKd(a))}function MKd(a,b,d,e){NW.call(this,a,b,d,null);this.a=e;this.b=new nE(jF)}w(4587,1009,Bu,MKd);_.Ti=function(){this.A.a=this;Ty(this.v,(Pgc(),Qgc),this)};_.Vk=function(){vx((wx(),xx),new NKd(this))};_.Yi=function(){this.B&&KKd(this)};_.aj=function(){K1(this.a,this)};function NKd(a){this.a=a}
w(4588,1,{},NKd);_.wd=function(){KKd(this.a)};function LKd(a){this.a=a}w(4589,1294,{},LKd);_.td=function(a){BD("Failed to retrieve query engine statistics for Teiid",a._b())};_.fh=function(a){a=ME(a);L(a,wp).b.b!=(M(),N)?(a=YY(this.a.b,L(a,wp)),OKd(this.a.A,a)):OKd(this.a.A,null)};
function OKd(a,b){var d;d=new v1(z(WW,Nu,-1,[fz(b.sI().a),b.tI().a,b.uI().a,b.oI().a,b.qI().a,b.mI().a,b.nI().a,b.pI().a,fz(b.lI().a),fz(b.vI().a),fz(b.rI().a)]));var e=a.b,h,l,p,s,x,D,J,S;S=1;D=0;x=!1;l=e.a;p=0;for(s=l.length;p<s;++p){h=l[p];if(h.c){x=!0;break}++D}h=x?D:-1;if(h>d.a.b)throw new fx(yqb+h+Pnb+d.a.b);l=zW(0<=h?(new VW(BW(vw(d.a,h)))).a:Qt);s=e.a;x=0;for(D=s.length;x<D;++x){p=s[x];J=S-1;h=vw(d.a,J);if(null==h)throw new fx(frb+J+Nnb);DQ(e.b,S,1,h);if(p.a&&Ez(l.a,Rt))HKd(vw(e.c,J),Jz(l.a),
(new hC(UW(h))).a);else if(p.a&&!hz(l.a,Rt))throw new fx(rpb);++S}}function PKd(){}w(4592,1411,Pu,PKd);
_.Dh=function(){var a,b,d,e,h,l,p,s,x,D,J,S,ba;S=new y0;A0(S,new z0((H(),"Refresh"),new QKd(this)));D=new uY(nia,"Session Count");x=new uY(Xia,"Memory in Use(KB)");s=new uY(Wia,"Memory Used By Active Plans(KB)");e=new uY(Pea,"Buffer Disk Reads");h=new uY(Qea,"Buffer Disk Writes");b=new uY(Nea,"Buffer Cache Reads");d=new uY(Oea,"Buffer Cache Writes");J=new uY(Rea,"Disk Space In Use(MB)");a=new uY(tea,"Active Plan Count");ba=new uY(Vja,"Waiting Plan Count");p=new uY(Tga,"Maximum Plans Waiting Water Mark");
a=z(vY,Ju,195,[D,x,s,e,h,b,d,J,a,ba,p]);b=new JKd;b.a=a;yy();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 JT;(A(),b.gb).className=jN;W(b,new YT("\x3cdiv class\x3d'metric-table-title'\x3e"+a.d+IK));a.b=new FQ;ZP(a.b).setAttribute(xt,a.e+ia);GKd(a.b,0,0,"Metric");GKd(a.b,0,1,"Actual");GKd(a.b,0,2,la);d=a.b.d;e=(cU(),eU);d.a.pe(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],GKd(a.b,p,0,"\x3cdiv class\x3d'metric-table-label'\x3e"+
s.d+":\x3c/div\x3e"),GKd(a.b,p,1,g),uD(a.c,new IKd),s.a?(x=vw(a.c,p-1),D=a.b,J=p,ba=new zP,EP(ba,"\x3cdiv id\x3d'"+x.b+"'\x3e\x3cdiv id\x3d'"+x.a+"'/\x3e\x3c/div\x3e"),x.c=new bU(new AP(ba.a.a.a)),ba=$T(x.c,x.b),kQ(ba,"stacked-bar-total"),ba.setAttribute(Hr,cP),ba.setAttribute(FKd,"width:100%!important"),EQ(D,J,2,(l=$T(x.c,x.a),kQ(l,"stacked-bar-actual"),ly(l,g),x.c)),HKd(x,0,0)):DQ(a.b,p,2,g),x=a.b.d,D=p,J=eU,x.a.pe(D,1),x.a.c.rows[D].cells[1][IM]=J.a,s.c&&(s=a.b.f,x=p,YP((s.a.qe(x),A(),CQ(s.a.c,
x)),"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.pe(0,2);l.a.c.rows[0].cells[2][xt]=EK;W(b,a.b);l=LZ(S,"Teiid Metrics",b);return MZ(l)};function QKd(a){this.a=a}w(4593,1,v,QKd);_.me=function(){KKd(this.a.a)};w(4749,1,pu);
_.ud=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=ZA(IB(b.a));var e;b.d||(e=new PKd,b.d=e);d=new MKd(d,b.d,eza(b),(sE(gE(b.a)),uE(eE(b.a)),O4(dY(b.a))));cB(($D(b.a),d),nB($D(b.a)));b.c=d}uB(a,b.c)};G(4587);G(4588);G(4589);G(4592);G(4593);G(2684);G(2513);Mw(PJ)(76);