function kgf(){}
function mgf(a){this.a=a}
function wgf(a){this.a=a}
function ygf(a){this.a=a}
function Agf(a){this.a=a}
function Eff(a){this.a=a}
function Gff(a){this.a=a}
function Qff(a){this.a=a}
function Sff(a){this.a=a}
function Psk(a){cd(a.$b())}
function Qsk(a){return a.cr()}
function fgf(a,b){qef(a.a,b)}
function ggf(a,b){qef(a.d,b)}
function egf(a){sef(a.d);sef(a.a)}
function Zff(a){egf(a.a);egf(a.d)}
function ogf(a){ddd.call(this,a)}
function qgf(a){ddd.call(this,a)}
function sgf(a){ddd.call(this,a)}
function ugf(a){ddd.call(this,a)}
function bgf(){JZd.call(this)}
function Ggf(a,b){this.a=a;this.b=b}
function Lff(a,b){this.a=a;this.b=b}
function Off(a,b){this.a=a;this.b=b}
function igf(a,b){this.e=a;this.c=b}
function Dgf(){this.a=new p0i(MHb)}
function hgf(a,b){tyd(a.b,b);crg(a.f)}
function agf(a,b,d){d?hgf(a.d,b):hgf(a.a,b)}
function $ff(a,b,d){d?fgf(a.d,b):fgf(a.a,b)}
function _ff(a,b,d){d?ggf(a.d,b):ggf(a.a,b)}
function Mgf(a,b,d,e,g,i){return new Cff(a,b,d,e,g,i)}
function Lgf(a){var b;if(!a.d){b=new bgf;a.d=b}return a.d}
function Cff(a,b,d,e,g,i){o9d.call(this,a,b,d,e);this.b=g;this.e=i;this.a=new Dgf}
function zff(a){Zff(a.A);agf(a.A,(xUd(),uUd),true);agf(a.A,uUd,false);Cgf(a.a,new Eff(a),false);Cgf(a.a,new Gff(a),true)}
function wff(a,b){var d,e;e=b?eZj:WLj;d=new Y7i;O7i(A7i(d,sGj),mef());t7i(A7i(d,sGj),HHj,nFj);t7i(A7i(d,sGj),e,a);J7i(A7i(d,qGj),g_j);vnj(new Omj(d),new Sff(a))}
function Bff(a,b){var d,e;e=b?eZj:WLj;d=new Y7i;O7i(A7i(d,sGj),mef());t7i(A7i(d,sGj),HHj,nFj);t7i(A7i(d,sGj),e,a);J7i(A7i(d,qGj),o_j);vnj(new Omj(d),new Qff(a))}
function Cgf(a,b,d){var e,g,i;e=mef();K7i(o7i(e),HHj,nFj);i=d?eZj:WLj;g=new Y7i;J7i(A7i(g,qGj),Q_j);O7i(A7i(g,sGj),e);J7i(A7i(g,R$j),i);vnj(new Omj(g),new Ggf(a,b))}
function Aff(a,b,d){if(!b.on()){zYd(n_j+(uYd(),b.Ad()));Zff(a.A);return}if(d){a.d=b;!!a.d&&(yff(a,true),xff(a,true))}else{a.c=b;!!a.c&&(yff(a,false),xff(a,false))}}
function Fgf(a,b){var d,e;e=pnj(b);if(e.b.iN(NGj)&&A7i(e,NGj).b.b!=(Slj(),Rlj)&&!zPd(A7i(e,NGj).b.bf(),OGj)){a.b.sd(new wo('Failed to read DS metrics: '+C7i(e)))}else{d=g0i(a.a.a,A7i(e,zGj).b._M());a.b.eh(d)}}
function Kgf(a){var b;if(!a.c){b=Mgf(vFd(sce(a.a)),Lgf(a),Jgf(a),(VId(uce(a.a)),Znj(Zde(a.a)),apj(_de(a.a))),(b1i(Xde(a.a)),RLg(lde(a.a))),azh(Wde(a.a)),G6e(Tce(a.a)));HFd((tce(a.a),b),EGd(tce(a.a)));a.c=b}return a.c}
function xff(a,b){var d,e,g,i;i=b?a.d:a.c;if(!i)throw new wo(h_j);Zff(a.A);g=b?eZj:WLj;d=i.Ad();e=new Y7i;O7i(A7i(e,sGj),mef());t7i(A7i(e,sGj),HHj,nFj);t7i(A7i(e,sGj),g,d);t7i(A7i(e,sGj),i_j,j_j);J7i(A7i(e,qGj),k_j);R7i(A7i(e,l_j),true);vnj(new Omj(e),new Off(a,b))}
function yff(a,b){var d,e,g,i;i=b?a.d:a.c;if(!i)throw new wo(h_j);Zff(a.A);g=b?eZj:WLj;d=i.Ad();e=new Y7i;O7i(A7i(e,sGj),mef());t7i(A7i(e,sGj),HHj,nFj);t7i(A7i(e,sGj),g,d);t7i(A7i(e,sGj),i_j,m_j);J7i(A7i(e,qGj),k_j);R7i(A7i(e,l_j),true);vnj(new Omj(e),new Lff(a,b))}
function Nff(a,b){var d,e,g,i,j,k;i=pnj(b);if(i.b.iN(NGj)&&A7i(i,NGj).b.b!=(Slj(),Rlj)&&!zPd(A7i(i,NGj).b.bf(),OGj)){AYd(p_j+(uYd(),q_j),C7i(i))}else{j=A7i(i,zGj).b.bN();k=A7i(j,t_j).b.aN();d=A7i(j,u_j).b.aN();g=A7i(j,v_j).b.aN();e=new ief(rM(r0c,ixj,-1,[k,d,g]));$ff(a.a.A,e,a.b)}}
function Kff(a,b){var d,e,g,i,j,k;j=pnj(b);if(j.b.iN(NGj)&&A7i(j,NGj).b.b!=(Slj(),Rlj)&&!zPd(A7i(j,NGj).b.bf(),OGj)){AYd(p_j+(uYd(),q_j),C7i(j))}else{k=A7i(j,zGj).b.bN();e=A7i(k,r_j).b.aN();d=A7i(k,'ActiveCount').b.aN();g=A7i(k,s_j).b.aN();i=new ief(rM(r0c,ixj,-1,[e,d,g]));_ff(a.a.A,i,a.b)}}
function dgf(a){var b,d,e,g,i,j,k,n,o,p,q,r,s,t,u,v;a.f=new grg(5,new kgf);erg(a.f,new Bzd);a.b=new uyd;Lxd(a.b,a.f);k=new ogf(new io);o=new qgf(new io);s=new sgf(new io);r=new ugf(new io);s7c(a.f,k,$Hj);s7c(a.f,o,C_j);s7c(a.f,s,D_j);s7c(a.f,r,'Statistics Enabled?');a.f.Z.k.fi(new wgf(a));u=new Wij;v=new Mij((uYd(),E_j),new ygf(a));i=new Mij(F_j,new Agf(a));Tr((Wfd(),v.gb),true);Dr(v,G_j);a.c?(v.b=EEj,v.a=o_j):(v.b=DEj,v.a=o_j);Tr(i.gb,true);Dr(i,G_j);Qij(u,v);Qij(u,i);Tr(u.gb,true);b=new off(r_j,'Available Connections');e=rM(J1c,jxj,195,[(b.c=true,b),aff(new off(r_j,'Active'),b),aff(new off(s_j,'Max Used'),b)]);a.d=zef(new Bef('Connection Pool',H_j,true),e);n=new MAe;LAe(n,a.f);t=new Hwd;Iz(t.gb,I_j);Ewd(t,a.f);Ewd(t,n);d=new off(t_j,'Access Count');g=rM(J1c,jxj,195,[(d.c=true,d),aff(new off(u_j,J_j),d),aff(new off(v_j,K_j),d)]);a.a=zef(new Aef(L_j,H_j),g);p=new snd(M_j);Iz(p.gb,N_j);p.gb.style[O_j]=30+(MD(),VAj);p.gb.style[P_j]='-20px';p.th(new mgf(a));j=UBe(UBe(UBe(UBe(UBe(XBe(YBe(_Be($Be(new bCe),a.c?B_j:A_j),a.c?'XA Data Source Metrics':'Data Source Metrics'),'Datasources runtime utilisation.'),Rzj,u),NPj,t),Rzj,p),'Pool Usage',ref(a.d)),L_j,ref(a.a));q=VBe(j);hA(p.gb).style['textAlign']=(qD(),qCj);return q}
var r_j='AvailableCount',A_j='Data Sources',h_j='DataSource selection is null!',s_j='MaxUsedCount',L_j='Prepared Statement Cache',t_j='PreparedStatementCacheAccessCount',u_j='PreparedStatementCacheHitCount',v_j='PreparedStatementCacheMissCount',B_j='XA Data Sources',i_j='statistics';w3c(2508,1405,qyj,Cff);_.Ti=function(){this.A.b=this;n9d(this,this.e)};_.Yi=function(){zff(this)};_.aj=function(){Yuf(this.b,this)};w3c(2509,1647,{},Eff);_.sd=Psk;_.eh=function(a){agf(this.a.A,a,false)};w3c(2510,1647,{},Gff);_.sd=Psk;_.eh=function(a){agf(this.a.A,a,true)};w3c(2512,1647,{},Lff);_.eh=function(a){Kff(this,a)};_.b=false;w3c(2513,1647,{},Off);_.eh=function(a){Nff(this,a)};_.b=false;w3c(2514,1,{},Qff);_.sd=function(a){wGe((new NSf(new s1f(a))).a)};_.eh=function(a){var b,d,e;b=pnj(a);d=new R5e((vNd(),b.b.iN(NGj)&&A7i(b,NGj).b.b!=(Slj(),Rlj)&&!zPd(A7i(b,NGj).b.bf(),OGj)?tNd:uNd),b);d.b.a?(e=new t1f(true,w_j+(uYd(),this.a)+hDj)):(e=new u1f(false,x_j+(uYd(),this.a),C7i(b)));wGe((new NSf(e)).a)};w3c(2515,1647,{},Sff);_.eh=function(a){var b;b=pnj(a);b.b.iN(NGj)&&A7i(b,NGj).b.b!=(Slj(),Rlj)&&!zPd(A7i(b,NGj).b.bf(),OGj)?AYd(p_j+(uYd(),'Flush connections error for '+this.a),C7i(b)):BYd(y_j+(uYd(),'Flush connections for '+this.a))};w3c(2518,1212,Zyj,bgf);_.Bh=function(){this.a=new igf(this.b,false);this.d=new igf(this.b,true);this.c=new U2i((MD(),LD));xr(this.c,z_j);$td(this.c,dgf(this.a),A_j);$td(this.c,dgf(this.d),B_j);S2i(this.c,0);return this.c};w3c(2519,1,{},igf);_.c=false;w3c(2520,1,{},kgf);_.di=Qsk;w3c(2521,1,Exj,mgf);_.le=function(a){Aff(this.a.e,yzd(this.a.f.Z.k),this.a.c)};w3c(2522,643,$xj,ogf);_.qd=function(a){return a.Ad()};w3c(2523,643,$xj,qgf);_.qd=Qsk;w3c(2524,643,$xj,sgf);_.qd=function(a){return Rzj+a.on()};w3c(2525,643,$xj,ugf);_.qd=function(a){return Rzj+a.cy()};w3c(2526,1,Exj,wgf);_.Sg=function(a){var b;b=yzd(this.a.f.Z.k);Aff(this.a.e,b,this.a.c)};w3c(2527,1,Exj,ygf);_.le=function(a){Bff(yzd(this.a.f.Z.k).Ad(),this.a.c)};w3c(2528,1,Exj,Agf);_.le=function(a){wff(yzd(this.a.f.Z.k).Ad(),this.a.c)};w3c(2529,1,{},Dgf);w3c(2530,1647,{},Ggf);_.eh=function(a){Fgf(this,a)};w3c(2533,1,Yyj);_.td=function(){dHd(this.b,Kgf(this.a.a))};var Erb=bOd(2508),vrb=bOd(2509),wrb=bOd(2510),yrb=bOd(2512),zrb=bOd(2513),Arb=bOd(2514),Brb=bOd(2515),Frb=bOd(2518),Rrb=bOd(2529),Qrb=bOd(2530),Prb=bOd(2519),Hrb=bOd(2520),Irb=bOd(2522),Jrb=bOd(2523),Krb=bOd(2524),Lrb=bOd(2525),Mrb=bOd(2526),Nrb=bOd(2527),Orb=bOd(2528),Grb=bOd(2521);Mzj(np)(1);