function Uef(){}
function mef(a){this.a=a}
function oef(a){this.a=a}
function yef(a){this.a=a}
function Aef(a){this.a=a}
function Wef(a){this.a=a}
function eff(a){this.a=a}
function gff(a){this.a=a}
function iff(a){this.a=a}
function upk(a){cd(a._b())}
function Pef(a,b){$cf(a.a,b)}
function Qef(a,b){$cf(a.d,b)}
function Oef(a){adf(a.d);adf(a.a)}
function Hef(a){Oef(a.a);Oef(a.d)}
function Yef(a){tbd.call(this,a)}
function $ef(a){tbd.call(this,a)}
function aff(a){tbd.call(this,a)}
function cff(a){tbd.call(this,a)}
function Lef(){NXd.call(this)}
function tef(a,b){this.a=a;this.b=b}
function wef(a,b){this.a=a;this.b=b}
function off(a,b){this.a=a;this.b=b}
function Sef(a,b){this.e=a;this.c=b}
function lff(){this.a=new qZi(DGb)}
function tpk(a){return a.ar()}
function Ref(a,b){Hwd(a.b,b);spg(a.f)}
function Ief(a,b,d){d?Pef(a.d,b):Pef(a.a,b)}
function Jef(a,b,d){d?Qef(a.d,b):Qef(a.a,b)}
function Kef(a,b,d){d?Ref(a.d,b):Ref(a.a,b)}
function uff(a,b,d,e,g,i){return new kef(a,b,d,e,g,i)}
function tff(a){var b;if(!a.d){b=new Lef;a.d=b}return a.d}
function kef(a,b,d,e,g,i){s7d.call(this,a,b,d,e);this.b=g;this.e=i;this.a=new lff}
function hef(a){Hef(a.A);Kef(a.A,(DSd(),ASd),true);Kef(a.A,ASd,false);kff(a.a,new mef(a),false);kff(a.a,new oef(a),true)}
function eef(a,b){var d,e;e=b?EVj:nIj;d=new a5i;S4i(D4i(d,XCj),Wcf());v4i(D4i(d,XCj),kEj,ABj);v4i(D4i(d,XCj),e,a);N4i(D4i(d,VCj),DXj);Ckj(new Ujj(d),new Aef(a))}
function jef(a,b){var d,e;e=b?EVj:nIj;d=new a5i;S4i(D4i(d,XCj),Wcf());v4i(D4i(d,XCj),kEj,ABj);v4i(D4i(d,XCj),e,a);N4i(D4i(d,VCj),LXj);Ckj(new Ujj(d),new yef(a))}
function kff(a,b,d){var e,g,i;e=Wcf();O4i(q4i(e),kEj,ABj);i=d?EVj:nIj;g=new a5i;N4i(D4i(g,VCj),mYj);S4i(D4i(g,XCj),e);N4i(D4i(g,uXj),i);Ckj(new Ujj(g),new off(a,b))}
function ief(a,b,d){if(!b.on()){FWd(KXj+(AWd(),b.wd()));Hef(a.A);return}if(d){a.d=b;!!a.d&&(gef(a,true),fef(a,true))}else{a.c=b;!!a.c&&(gef(a,false),fef(a,false))}}
function nff(a,b){var d,e;e=wkj(b);if(e.b.ZM(qDj)&&D4i(e,qDj).b.b!=(Zij(),Yij)&&!GNd(D4i(e,qDj).b.Ze(),rDj)){a.b.od(new An('Failed to read DS metrics: '+F4i(e)))}else{d=hZi(a.a.a,D4i(e,cDj).b.PM());a.b.dh(d)}}
function sff(a){var b;if(!a.c){b=uff(HDd(tae(a.a)),tff(a),rff(a),(bHd(vae(a.a)),Rkj(_be(a.a)),Ulj(bce(a.a))),(c$i(Zbe(a.a)),fKg(nbe(a.a))),_wh(Ybe(a.a)),o5e(Vae(a.a)));TDd((uae(a.a),b),QEd(uae(a.a)));a.c=b}return a.c}
function fef(a,b){var d,e,g,i;i=b?a.d:a.c;if(!i)throw new An(EXj);Hef(a.A);g=b?EVj:nIj;d=i.wd();e=new a5i;S4i(D4i(e,XCj),Wcf());v4i(D4i(e,XCj),kEj,ABj);v4i(D4i(e,XCj),g,d);v4i(D4i(e,XCj),FXj,GXj);N4i(D4i(e,VCj),HXj);V4i(D4i(e,IXj),true);Ckj(new Ujj(e),new wef(a,b))}
function gef(a,b){var d,e,g,i;i=b?a.d:a.c;if(!i)throw new An(EXj);Hef(a.A);g=b?EVj:nIj;d=i.wd();e=new a5i;S4i(D4i(e,XCj),Wcf());v4i(D4i(e,XCj),kEj,ABj);v4i(D4i(e,XCj),g,d);v4i(D4i(e,XCj),FXj,JXj);N4i(D4i(e,VCj),HXj);V4i(D4i(e,IXj),true);Ckj(new Ujj(e),new tef(a,b))}
function vef(a,b){var d,e,g,i,j,k;i=wkj(b);if(i.b.ZM(qDj)&&D4i(i,qDj).b.b!=(Zij(),Yij)&&!GNd(D4i(i,qDj).b.Ze(),rDj)){GWd(MXj+(AWd(),NXj),F4i(i))}else{j=D4i(i,cDj).b.RM();k=D4i(j,QXj).b.QM();d=D4i(j,RXj).b.QM();g=D4i(j,SXj).b.QM();e=new Scf(sL(B$c,juj,-1,[k,d,g]));Ief(a.a.A,e,a.b)}}
function sef(a,b){var d,e,g,i,j,k;j=wkj(b);if(j.b.ZM(qDj)&&D4i(j,qDj).b.b!=(Zij(),Yij)&&!GNd(D4i(j,qDj).b.Ze(),rDj)){GWd(MXj+(AWd(),NXj),F4i(j))}else{k=D4i(j,cDj).b.RM();e=D4i(k,OXj).b.QM();d=D4i(k,'ActiveCount').b.QM();g=D4i(k,PXj).b.QM();i=new Scf(sL(B$c,juj,-1,[e,d,g]));Jef(a.a.A,i,a.b)}}
function Nef(a){var b,d,e,g,i,j,k,n,o,p,q,r,s,t,u;a.f=new wpg(5,new Uef);upg(a.f,new Pxd);a.b=new Iwd;Zvd(a.b,a.f);k=new Yef(new mn);o=new $ef(new mn);r=new aff(new mn);q=new cff(new mn);H5c(a.f,k,EEj);H5c(a.f,o,ZXj);H5c(a.f,r,$Xj);H5c(a.f,q,'Statistics Enabled?');a.f.Z.k.ci(new eff(a));t=new _fj;u=new Rfj((AWd(),_Xj),new gff(a));i=new Rfj(aYj,new iff(a));Yq((ked(),u.gb),true);Iq(u,bYj);Yq(i.gb,true);Iq(i,bYj);Vfj(t,u);Vfj(t,i);Yq(t.gb,true);b=new Ydf(OXj,'Available Connections');e=sL(T_c,auj,196,[(b.c=true,b),Kdf(new Ydf(OXj,'Active'),b),Kdf(new Ydf(PXj,'Max Used'),b)]);a.d=hdf(new jdf('Connection Pool',cYj,true),e);n=new tze;sze(n,a.f);s=new dvd;Ky(s.gb,dYj);avd(s,a.f);avd(s,n);d=new Ydf(QXj,'Access Count');g=sL(T_c,auj,196,[(d.c=true,d),Kdf(new Ydf(RXj,eYj),d),Kdf(new Ydf(SXj,fYj),d)]);a.a=hdf(new idf(gYj,cYj),g);p=new Fld(hYj);Ky(p.gb,iYj);p.gb.style[Yyj]=(TB(),fzj);p.gb.style[bzj]=40+(PC(),Kxj);p.gb.style[jYj]=kYj;lA(p.gb.style,JA());p.gb.style[azj]=lYj;p.th(new Wef(a));j=BAe(BAe(BAe(BAe(BAe(EAe(FAe(IAe(HAe(new KAe),a.c?YXj:XXj),a.c?'XA Data Source Metrics':'Data Source Metrics'),'Datasources runtime utilisation.'),Hwj,t),eMj,a.f),Hwj,p),'Pool Usage',_cf(a.d)),gYj,_cf(a.a));return CAe(j)}
var OXj='AvailableCount',XXj='Data Sources',EXj='DataSource selection is null!',PXj='MaxUsedCount',gYj='Prepared Statement Cache',QXj='PreparedStatementCacheAccessCount',RXj='PreparedStatementCacheHitCount',SXj='PreparedStatementCacheMissCount',YXj='XA Data Sources',FXj='statistics';G1c(2502,1390,ivj,kef);_.Ri=function(){this.A.b=this;r7d(this,this.e)};_.Wi=function(){hef(this)};_.$i=function(){Etf(this.b,this)};G1c(2503,1643,{},mef);_.od=upk;_.dh=function(a){Kef(this.a.A,a,false)};G1c(2504,1643,{},oef);_.od=upk;_.dh=function(a){Kef(this.a.A,a,true)};G1c(2506,1643,{},tef);_.dh=function(a){sef(this,a)};_.b=false;G1c(2507,1643,{},wef);_.dh=function(a){vef(this,a)};_.b=false;G1c(2508,1,{},yef);_.od=function(a){dFe((new tRf(new $_f(a))).a)};_.dh=function(a){var b,d,e;b=wkj(a);d=new z4e((DLd(),b.b.ZM(qDj)&&D4i(b,qDj).b.b!=(Zij(),Yij)&&!GNd(D4i(b,qDj).b.Ze(),rDj)?BLd:CLd),b);d.b.a?(e=new __f(true,TXj+(AWd(),this.a)+Vzj)):(e=new a0f(false,UXj+(AWd(),this.a),F4i(b)));dFe((new tRf(e)).a)};G1c(2509,1643,{},Aef);_.dh=function(a){var b;b=wkj(a);b.b.ZM(qDj)&&D4i(b,qDj).b.b!=(Zij(),Yij)&&!GNd(D4i(b,qDj).b.Ze(),rDj)?GWd(MXj+(AWd(),'Flush connections error for '+this.a),F4i(b)):HWd(VXj+(AWd(),'Flush connections for '+this.a))};G1c(2512,1197,Rvj,Lef);_.Ah=function(){this.a=new Sef(this.b,false);this.d=new Sef(this.b,true);this.c=new V_i((PC(),OC));Cq(this.c,WXj);vsd(this.c,Nef(this.a),XXj);vsd(this.c,Nef(this.d),YXj);T_i(this.c,0);return this.c};G1c(2513,1,{},Sef);_.c=false;G1c(2514,1,{},Uef);_.ai=tpk;G1c(2515,1,vuj,Wef);_.he=function(a){ief(this.a.e,Mxd(this.a.f.Z.k),this.a.c)};G1c(2516,630,Ruj,Yef);_.md=function(a){return a.wd()};G1c(2517,630,Ruj,$ef);_.md=tpk;G1c(2518,630,Ruj,aff);_.md=function(a){return Hwj+a.on()};G1c(2519,630,Ruj,cff);_.md=function(a){return Hwj+a.Wx()};G1c(2520,1,vuj,eff);_.Rg=function(a){var b;b=Mxd(this.a.f.Z.k);ief(this.a.e,b,this.a.c)};G1c(2521,1,vuj,gff);_.he=function(a){jef(Mxd(this.a.f.Z.k).wd(),this.a.c)};G1c(2522,1,vuj,iff);_.he=function(a){eef(Mxd(this.a.f.Z.k).wd(),this.a.c)};G1c(2523,1,{},lff);G1c(2524,1643,{},off);_.dh=function(a){nff(this,a)};G1c(2527,1,Qvj);_.pd=function(){pFd(this.b,sff(this.a.a))};var vqb=iMd(2502),mqb=iMd(2503),nqb=iMd(2504),pqb=iMd(2506),qqb=iMd(2507),rqb=iMd(2508),sqb=iMd(2509),wqb=iMd(2512),Iqb=iMd(2523),Hqb=iMd(2524),Gqb=iMd(2513),yqb=iMd(2514),zqb=iMd(2516),Aqb=iMd(2517),Bqb=iMd(2518),Cqb=iMd(2519),Dqb=iMd(2520),Eqb=iMd(2521),Fqb=iMd(2522),xqb=iMd(2515);Cwj(so)(1);