function qgf(){}
function sgf(a){this.a=a}
function Cgf(a){this.a=a}
function Egf(a){this.a=a}
function Ggf(a){this.a=a}
function Kff(a){this.a=a}
function Mff(a){this.a=a}
function Wff(a){this.a=a}
function Yff(a){this.a=a}
function Hsk(a){cd(a._b())}
function Gsk(a){return a.ar()}
function lgf(a,b){wef(a.a,b)}
function mgf(a,b){wef(a.d,b)}
function kgf(a){yef(a.d);yef(a.a)}
function dgf(a){kgf(a.a);kgf(a.d)}
function ugf(a){bdd.call(this,a)}
function wgf(a){bdd.call(this,a)}
function ygf(a){bdd.call(this,a)}
function Agf(a){bdd.call(this,a)}
function hgf(){jZd.call(this)}
function Mgf(a,b){this.a=a;this.b=b}
function Rff(a,b){this.a=a;this.b=b}
function Uff(a,b){this.a=a;this.b=b}
function ogf(a,b){this.e=a;this.c=b}
function Jgf(){this.a=new f0i(GHb)}
function ngf(a,b){byd(a.b,b);grg(a.f)}
function egf(a,b,d){d?lgf(a.d,b):lgf(a.a,b)}
function fgf(a,b,d){d?mgf(a.d,b):mgf(a.a,b)}
function ggf(a,b,d){d?ngf(a.d,b):ngf(a.a,b)}
function Sgf(a,b,d,e,g,i){return new Iff(a,b,d,e,g,i)}
function Rgf(a){var b;if(!a.d){b=new hgf;a.d=b}return a.d}
function Iff(a,b,d,e,g,i){Q8d.call(this,a,b,d,e);this.b=g;this.e=i;this.a=new Jgf}
function Fff(a){dgf(a.A);ggf(a.A,(ZTd(),WTd),true);ggf(a.A,WTd,false);Igf(a.a,new Kff(a),false);Igf(a.a,new Mff(a),true)}
function Cff(a,b){var d,e;e=b?YYj:KLj;d=new P7i;F7i(q7i(d,gGj),sef());j7i(q7i(d,gGj),vHj,XEj);j7i(q7i(d,gGj),e,a);A7i(q7i(d,eGj),_$j);nnj(new Gmj(d),new Yff(a))}
function Hff(a,b){var d,e;e=b?YYj:KLj;d=new P7i;F7i(q7i(d,gGj),sef());j7i(q7i(d,gGj),vHj,XEj);j7i(q7i(d,gGj),e,a);A7i(q7i(d,eGj),h_j);nnj(new Gmj(d),new Wff(a))}
function Igf(a,b,d){var e,g,i;e=sef();B7i(e7i(e),vHj,XEj);i=d?YYj:KLj;g=new P7i;A7i(q7i(g,eGj),J_j);F7i(q7i(g,gGj),e);A7i(q7i(g,K$j),i);nnj(new Gmj(g),new Mgf(a,b))}
function Gff(a,b,d){if(!b.on()){_Xd(g_j+(WXd(),b.xd()));dgf(a.A);return}if(d){a.d=b;!!a.d&&(Eff(a,true),Dff(a,true))}else{a.c=b;!!a.c&&(Eff(a,false),Dff(a,false))}}
function Lgf(a,b){var d,e;e=hnj(b);if(e.b.iN(BGj)&&q7i(e,BGj).b.b!=(Klj(),Jlj)&&!_Od(q7i(e,BGj).b.$e(),CGj)){a.b.pd(new qo('Failed to read DS metrics: '+s7i(e)))}else{d=Y_i(a.a.a,q7i(e,nGj).b._M());a.b.eh(d)}}
function Qgf(a){var b;if(!a.c){b=Sgf(_Ed(Ube(a.a)),Rgf(a),Pgf(a),(vId(Wbe(a.a)),Rnj(Ade(a.a)),Uoj(Cde(a.a))),(T0i(yde(a.a)),VLg(Oce(a.a))),Oyh(xde(a.a)),M6e(uce(a.a)));lFd((Vbe(a.a),b),iGd(Vbe(a.a)));a.c=b}return a.c}
function Dff(a,b){var d,e,g,i;i=b?a.d:a.c;if(!i)throw new qo(a_j);dgf(a.A);g=b?YYj:KLj;d=i.xd();e=new P7i;F7i(q7i(e,gGj),sef());j7i(q7i(e,gGj),vHj,XEj);j7i(q7i(e,gGj),g,d);j7i(q7i(e,gGj),b_j,c_j);A7i(q7i(e,eGj),d_j);I7i(q7i(e,e_j),true);nnj(new Gmj(e),new Uff(a,b))}
function Eff(a,b){var d,e,g,i;i=b?a.d:a.c;if(!i)throw new qo(a_j);dgf(a.A);g=b?YYj:KLj;d=i.xd();e=new P7i;F7i(q7i(e,gGj),sef());j7i(q7i(e,gGj),vHj,XEj);j7i(q7i(e,gGj),g,d);j7i(q7i(e,gGj),b_j,f_j);A7i(q7i(e,eGj),d_j);I7i(q7i(e,e_j),true);nnj(new Gmj(e),new Rff(a,b))}
function Tff(a,b){var d,e,g,i,j,k;i=hnj(b);if(i.b.iN(BGj)&&q7i(i,BGj).b.b!=(Klj(),Jlj)&&!_Od(q7i(i,BGj).b.$e(),CGj)){aYd(i_j+(WXd(),j_j),s7i(i))}else{j=q7i(i,nGj).b.bN();k=q7i(j,m_j).b.aN();d=q7i(j,n_j).b.aN();g=q7i(j,o_j).b.aN();e=new oef(hM(i0c,axj,-1,[k,d,g]));egf(a.a.A,e,a.b)}}
function Qff(a,b){var d,e,g,i,j,k;j=hnj(b);if(j.b.iN(BGj)&&q7i(j,BGj).b.b!=(Klj(),Jlj)&&!_Od(q7i(j,BGj).b.$e(),CGj)){aYd(i_j+(WXd(),j_j),s7i(j))}else{k=q7i(j,nGj).b.bN();e=q7i(k,k_j).b.aN();d=q7i(k,'ActiveCount').b.aN();g=q7i(k,l_j).b.aN();i=new oef(hM(i0c,axj,-1,[e,d,g]));fgf(a.a.A,i,a.b)}}
function jgf(a){var b,d,e,g,i,j,k,n,o,p,q,r,s,t,u,v;a.f=new krg(5,new qgf);irg(a.f,new jzd);a.b=new cyd;txd(a.b,a.f);k=new ugf(new bo);o=new wgf(new bo);s=new ygf(new bo);r=new Agf(new bo);o7c(a.f,k,OHj);o7c(a.f,o,v_j);o7c(a.f,s,w_j);o7c(a.f,r,'Statistics Enabled?');a.f.Z.k.di(new Cgf(a));u=new Oij;v=new Eij((WXd(),x_j),new Egf(a));i=new Eij(y_j,new Ggf(a));Nr((Ufd(),v.gb),true);xr(v,z_j);Nr(i.gb,true);xr(i,z_j);Iij(u,v);Iij(u,i);Nr(u.gb,true);b=new uff(k_j,'Available Connections');e=hM(A1c,bxj,196,[(b.c=true,b),gff(new uff(k_j,'Active'),b),gff(new uff(l_j,'Max Used'),b)]);a.d=Fef(new Hef('Connection Pool',A_j,true),e);n=new RAe;QAe(n,a.f);t=new Cwd;zz(t.gb,B_j);zwd(t,a.f);zwd(t,n);d=new uff(m_j,'Access Count');g=hM(A1c,bxj,196,[(d.c=true,d),gff(new uff(n_j,C_j),d),gff(new uff(o_j,D_j),d)]);a.a=Fef(new Gef(E_j,A_j),g);p=new nnd(F_j);zz(p.gb,G_j);p.gb.style[H_j]=30+(BD(),JAj);p.gb.style[I_j]='-20px';p.th(new sgf(a));j=ZBe(ZBe(ZBe(ZBe(ZBe(aCe(bCe(eCe(dCe(new gCe),a.c?u_j:t_j),a.c?'XA Data Source Metrics':'Data Source Metrics'),'Datasources runtime utilisation.'),Gzj,u),BPj,t),Gzj,p),'Pool Usage',xef(a.d)),E_j,xef(a.a));q=$Be(j);$z(p.gb).style['textAlign']=(fD(),dCj);return q}
var k_j='AvailableCount',t_j='Data Sources',a_j='DataSource selection is null!',l_j='MaxUsedCount',E_j='Prepared Statement Cache',m_j='PreparedStatementCacheAccessCount',n_j='PreparedStatementCacheHitCount',o_j='PreparedStatementCacheMissCount',u_j='XA Data Sources',b_j='statistics';n3c(2516,1403,hyj,Iff);_.Ri=function(){this.A.b=this;P8d(this,this.e)};_.Wi=function(){Fff(this)};_.$i=function(){avf(this.b,this)};n3c(2517,1657,{},Kff);_.pd=Hsk;_.eh=function(a){ggf(this.a.A,a,false)};n3c(2518,1657,{},Mff);_.pd=Hsk;_.eh=function(a){ggf(this.a.A,a,true)};n3c(2520,1657,{},Rff);_.eh=function(a){Qff(this,a)};_.b=false;n3c(2521,1657,{},Uff);_.eh=function(a){Tff(this,a)};_.b=false;n3c(2522,1,{},Wff);_.pd=function(a){BGe((new RSf(new w1f(a))).a)};_.eh=function(a){var b,d,e;b=hnj(a);d=new X5e((XMd(),b.b.iN(BGj)&&q7i(b,BGj).b.b!=(Klj(),Jlj)&&!_Od(q7i(b,BGj).b.$e(),CGj)?VMd:WMd),b);d.b.a?(e=new x1f(true,p_j+(WXd(),this.a)+WCj)):(e=new y1f(false,q_j+(WXd(),this.a),s7i(b)));BGe((new RSf(e)).a)};n3c(2523,1657,{},Yff);_.eh=function(a){var b;b=hnj(a);b.b.iN(BGj)&&q7i(b,BGj).b.b!=(Klj(),Jlj)&&!_Od(q7i(b,BGj).b.$e(),CGj)?aYd(i_j+(WXd(),'Flush connections error for '+this.a),s7i(b)):bYd(r_j+(WXd(),'Flush connections for '+this.a))};n3c(2526,1210,Qyj,hgf);_.Bh=function(){this.a=new ogf(this.b,false);this.d=new ogf(this.b,true);this.c=new K2i((BD(),AD));rr(this.c,s_j);Utd(this.c,jgf(this.a),t_j);Utd(this.c,jgf(this.d),u_j);I2i(this.c,0);return this.c};n3c(2527,1,{},ogf);_.c=false;n3c(2528,1,{},qgf);_.bi=Gsk;n3c(2529,1,vxj,sgf);_.ie=function(a){Gff(this.a.e,gzd(this.a.f.Z.k),this.a.c)};n3c(2530,645,Rxj,ugf);_.nd=function(a){return a.xd()};n3c(2531,645,Rxj,wgf);_.nd=Gsk;n3c(2532,645,Rxj,ygf);_.nd=function(a){return Gzj+a.on()};n3c(2533,645,Rxj,Agf);_.nd=function(a){return Gzj+a.ay()};n3c(2534,1,vxj,Cgf);_.Sg=function(a){var b;b=gzd(this.a.f.Z.k);Gff(this.a.e,b,this.a.c)};n3c(2535,1,vxj,Egf);_.ie=function(a){Hff(gzd(this.a.f.Z.k).xd(),this.a.c)};n3c(2536,1,vxj,Ggf);_.ie=function(a){Cff(gzd(this.a.f.Z.k).xd(),this.a.c)};n3c(2537,1,{},Jgf);n3c(2538,1657,{},Mgf);_.eh=function(a){Lgf(this,a)};n3c(2541,1,Pyj);_.qd=function(){JGd(this.b,Qgf(this.a.a))};var yrb=DNd(2516),prb=DNd(2517),qrb=DNd(2518),srb=DNd(2520),trb=DNd(2521),urb=DNd(2522),vrb=DNd(2523),zrb=DNd(2526),Lrb=DNd(2537),Krb=DNd(2538),Jrb=DNd(2527),Brb=DNd(2528),Crb=DNd(2530),Drb=DNd(2531),Erb=DNd(2532),Frb=DNd(2533),Grb=DNd(2534),Hrb=DNd(2535),Irb=DNd(2536),Arb=DNd(2529);Bzj(hp)(1);