function lgf(){}
function ngf(a){this.a=a}
function xgf(a){this.a=a}
function zgf(a){this.a=a}
function Bgf(a){this.a=a}
function Fff(a){this.a=a}
function Hff(a){this.a=a}
function Rff(a){this.a=a}
function Tff(a){this.a=a}
function mtk(a){Vc(a.$b())}
function ltk(a){return a.cr()}
function ggf(a,b){ref(a.a,b)}
function hgf(a,b){ref(a.d,b)}
function fgf(a){tef(a.d);tef(a.a)}
function $ff(a){fgf(a.a);fgf(a.d)}
function pgf(a){ddd.call(this,a)}
function rgf(a){ddd.call(this,a)}
function tgf(a){ddd.call(this,a)}
function vgf(a){ddd.call(this,a)}
function cgf(){JZd.call(this)}
function Hgf(a,b){this.a=a;this.b=b}
function Mff(a,b){this.a=a;this.b=b}
function Pff(a,b){this.a=a;this.b=b}
function jgf(a,b){this.e=a;this.c=b}
function Egf(){this.a=new N0i(EHb)}
function igf(a,b){tyd(a.b,b);drg(a.f)}
function agf(a,b,d){d?hgf(a.d,b):hgf(a.a,b)}
function bgf(a,b,d){d?igf(a.d,b):igf(a.a,b)}
function _ff(a,b,d){d?ggf(a.d,b):ggf(a.a,b)}
function Ngf(a,b,d,e,g,i){return new Dff(a,b,d,e,g,i)}
function Mgf(a){var b;if(!a.d){b=new cgf;a.d=b}return a.d}
function Dff(a,b,d,e,g,i){o9d.call(this,a,b,d,e);this.b=g;this.e=i;this.a=new Egf}
function Aff(a){$ff(a.A);bgf(a.A,(xUd(),uUd),true);bgf(a.A,uUd,false);Dgf(a.a,new Fff(a),false);Dgf(a.a,new Hff(a),true)}
function xff(a,b){var d,e;e=b?DZj:uMj;d=new u8i;k8i(Y7i(d,QGj),nef());R7i(Y7i(d,QGj),dIj,UFj);R7i(Y7i(d,QGj),e,a);f8i(Y7i(d,OGj),E_j);Tnj(new knj(d),new Tff(a))}
function Cff(a,b){var d,e;e=b?DZj:uMj;d=new u8i;k8i(Y7i(d,QGj),nef());R7i(Y7i(d,QGj),dIj,UFj);R7i(Y7i(d,QGj),e,a);f8i(Y7i(d,OGj),M_j);Tnj(new knj(d),new Rff(a))}
function Dgf(a,b,d){var e,g,i;e=nef();g8i(M7i(e),dIj,UFj);i=d?DZj:uMj;g=new u8i;f8i(Y7i(g,OGj),m0j);k8i(Y7i(g,QGj),e);f8i(Y7i(g,n_j),i);Tnj(new knj(g),new Hgf(a,b))}
function Bff(a,b,d){if(!b.on()){zYd(L_j+(uYd(),b.Ad()));$ff(a.A);return}if(d){a.d=b;!!a.d&&(zff(a,true),yff(a,true))}else{a.c=b;!!a.c&&(zff(a,false),yff(a,false))}}
function Ggf(a,b){var d,e;e=Nnj(b);if(e.b.iN(jHj)&&Y7i(e,jHj).b.b!=(omj(),nmj)&&!zPd(Y7i(e,jHj).b.bf(),kHj)){a.b.sd(new oo('Failed to read DS metrics: '+$7i(e)))}else{d=E0i(a.a.a,Y7i(e,XGj).b._M());a.b.eh(d)}}
function Lgf(a){var b;if(!a.c){b=Ngf(vFd(sce(a.a)),Mgf(a),Kgf(a),(VId(uce(a.a)),voj(Zde(a.a)),ypj(_de(a.a))),(z1i(Xde(a.a)),SLg(lde(a.a))),fzh(Wde(a.a)),H6e(Tce(a.a)));HFd((tce(a.a),b),EGd(tce(a.a)));a.c=b}return a.c}
function yff(a,b){var d,e,g,i;i=b?a.d:a.c;if(!i)throw new oo(F_j);$ff(a.A);g=b?DZj:uMj;d=i.Ad();e=new u8i;k8i(Y7i(e,QGj),nef());R7i(Y7i(e,QGj),dIj,UFj);R7i(Y7i(e,QGj),g,d);R7i(Y7i(e,QGj),G_j,H_j);f8i(Y7i(e,OGj),I_j);n8i(Y7i(e,J_j),true);Tnj(new knj(e),new Pff(a,b))}
function zff(a,b){var d,e,g,i;i=b?a.d:a.c;if(!i)throw new oo(F_j);$ff(a.A);g=b?DZj:uMj;d=i.Ad();e=new u8i;k8i(Y7i(e,QGj),nef());R7i(Y7i(e,QGj),dIj,UFj);R7i(Y7i(e,QGj),g,d);R7i(Y7i(e,QGj),G_j,K_j);f8i(Y7i(e,OGj),I_j);n8i(Y7i(e,J_j),true);Tnj(new knj(e),new Mff(a,b))}
function Off(a,b){var d,e,g,i,j,k;i=Nnj(b);if(i.b.iN(jHj)&&Y7i(i,jHj).b.b!=(omj(),nmj)&&!zPd(Y7i(i,jHj).b.bf(),kHj)){AYd(N_j+(uYd(),O_j),$7i(i))}else{j=Y7i(i,XGj).b.bN();k=Y7i(j,R_j).b.aN();d=Y7i(j,S_j).b.aN();g=Y7i(j,T_j).b.aN();e=new jef(jM(r0c,Gxj,-1,[k,d,g]));_ff(a.a.A,e,a.b)}}
function Lff(a,b){var d,e,g,i,j,k;j=Nnj(b);if(j.b.iN(jHj)&&Y7i(j,jHj).b.b!=(omj(),nmj)&&!zPd(Y7i(j,jHj).b.bf(),kHj)){AYd(N_j+(uYd(),O_j),$7i(j))}else{k=Y7i(j,XGj).b.bN();e=Y7i(k,P_j).b.aN();d=Y7i(k,'ActiveCount').b.aN();g=Y7i(k,Q_j).b.aN();i=new jef(jM(r0c,Gxj,-1,[e,d,g]));agf(a.a.A,i,a.b)}}
function egf(a){var b,d,e,g,i,j,k,n,o,p,q,r,s,t,u,v;a.f=new hrg(5,new lgf);frg(a.f,new Bzd);a.b=new uyd;Lxd(a.b,a.f);k=new pgf(new _n);o=new rgf(new _n);s=new tgf(new _n);r=new vgf(new _n);s7c(a.f,k,rIj);s7c(a.f,o,$_j);s7c(a.f,s,__j);s7c(a.f,r,'Statistics Enabled?');a.f.Z.k.fi(new xgf(a));u=new sjj;v=new ijj((uYd(),a0j),new zgf(a));i=new ijj(b0j,new Bgf(a));Lr((Wfd(),v.gb),true);vr(v,c0j);a.c?(v.b=$Ej,v.a=M_j):(v.b=ZEj,v.a=M_j);Lr(i.gb,true);vr(i,c0j);mjj(u,v);mjj(u,i);Lr(u.gb,true);b=new pff(P_j,'Available Connections');e=jM(J1c,Hxj,195,[(b.c=true,b),bff(new pff(P_j,'Active'),b),bff(new pff(Q_j,'Max Used'),b)]);a.d=Aef(new Cef('Connection Pool',d0j,true),e);n=new NAe;MAe(n,a.f);t=new Hwd;Az(t.gb,e0j);Ewd(t,a.f);Ewd(t,n);d=new pff(R_j,'Access Count');g=jM(J1c,Hxj,195,[(d.c=true,d),bff(new pff(S_j,f0j),d),bff(new pff(T_j,g0j),d)]);a.a=Aef(new Bef(h0j,d0j),g);p=new snd(i0j);Az(p.gb,j0j);p.gb.style[k0j]=30+(ED(),rBj);p.gb.style[l0j]='-20px';p.th(new ngf(a));j=VBe(VBe(VBe(VBe(VBe(YBe(ZBe(aCe(_Be(new cCe),a.c?Z_j:Y_j),a.c?'XA Data Source Metrics':'Data Source Metrics'),'Datasources runtime utilisation.'),nAj,u),lQj,t),nAj,p),'Pool Usage',sef(a.d)),h0j,sef(a.a));q=WBe(j);_z(p.gb).style['textAlign']=(iD(),OCj);return q}
var P_j='AvailableCount',Y_j='Data Sources',F_j='DataSource selection is null!',Q_j='MaxUsedCount',h0j='Prepared Statement Cache',R_j='PreparedStatementCacheAccessCount',S_j='PreparedStatementCacheHitCount',T_j='PreparedStatementCacheMissCount',Z_j='XA Data Sources',G_j='statistics';w3c(2509,1406,Oyj,Dff);_.Ti=function(){this.A.b=this;n9d(this,this.e)};_.Yi=function(){Aff(this)};_.aj=function(){Zuf(this.b,this)};w3c(2510,1648,{},Fff);_.sd=mtk;_.eh=function(a){bgf(this.a.A,a,false)};w3c(2511,1648,{},Hff);_.sd=mtk;_.eh=function(a){bgf(this.a.A,a,true)};w3c(2513,1648,{},Mff);_.eh=function(a){Lff(this,a)};_.b=false;w3c(2514,1648,{},Pff);_.eh=function(a){Off(this,a)};_.b=false;w3c(2515,1,{},Rff);_.sd=function(a){xGe((new OSf(new t1f(a))).a)};_.eh=function(a){var b,d,e;b=Nnj(a);d=new S5e((vNd(),b.b.iN(jHj)&&Y7i(b,jHj).b.b!=(omj(),nmj)&&!zPd(Y7i(b,jHj).b.bf(),kHj)?tNd:uNd),b);d.b.a?(e=new u1f(true,U_j+(uYd(),this.a)+FDj)):(e=new v1f(false,V_j+(uYd(),this.a),$7i(b)));xGe((new OSf(e)).a)};w3c(2516,1648,{},Tff);_.eh=function(a){var b;b=Nnj(a);b.b.iN(jHj)&&Y7i(b,jHj).b.b!=(omj(),nmj)&&!zPd(Y7i(b,jHj).b.bf(),kHj)?AYd(N_j+(uYd(),'Flush connections error for '+this.a),$7i(b)):BYd(W_j+(uYd(),'Flush connections for '+this.a))};w3c(2519,1213,vzj,cgf);_.Bh=function(){this.a=new jgf(this.b,false);this.d=new jgf(this.b,true);this.c=new q3i((ED(),DD));pr(this.c,X_j);$td(this.c,egf(this.a),Y_j);$td(this.c,egf(this.d),Z_j);o3i(this.c,0);return this.c};w3c(2520,1,{},jgf);_.c=false;w3c(2521,1,{},lgf);_.di=ltk;w3c(2522,1,ayj,ngf);_.le=function(a){Bff(this.a.e,yzd(this.a.f.Z.k),this.a.c)};w3c(2523,644,wyj,pgf);_.qd=function(a){return a.Ad()};w3c(2524,644,wyj,rgf);_.qd=ltk;w3c(2525,644,wyj,tgf);_.qd=function(a){return nAj+a.on()};w3c(2526,644,wyj,vgf);_.qd=function(a){return nAj+a.cy()};w3c(2527,1,ayj,xgf);_.Sg=function(a){var b;b=yzd(this.a.f.Z.k);Bff(this.a.e,b,this.a.c)};w3c(2528,1,ayj,zgf);_.le=function(a){Cff(yzd(this.a.f.Z.k).Ad(),this.a.c)};w3c(2529,1,ayj,Bgf);_.le=function(a){xff(yzd(this.a.f.Z.k).Ad(),this.a.c)};w3c(2530,1,{},Egf);w3c(2531,1648,{},Hgf);_.eh=function(a){Ggf(this,a)};w3c(2534,1,uzj);_.td=function(){dHd(this.b,Lgf(this.a.a))};var wrb=bOd(2509),nrb=bOd(2510),orb=bOd(2511),qrb=bOd(2513),rrb=bOd(2514),srb=bOd(2515),trb=bOd(2516),xrb=bOd(2519),Jrb=bOd(2530),Irb=bOd(2531),Hrb=bOd(2520),zrb=bOd(2521),Arb=bOd(2523),Brb=bOd(2524),Crb=bOd(2525),Drb=bOd(2526),Erb=bOd(2527),Frb=bOd(2528),Grb=bOd(2529),yrb=bOd(2522);iAj(fp)(1);