var nPc="AvailableCount",oPc="Data Sources",pPc="DataSource selection is null!",qPc="MaxUsedCount",rPc="Prepared Statement Cache",sPc="PreparedStatementCacheAccessCount",tPc="PreparedStatementCacheHitCount",uPc="PreparedStatementCacheMissCount",vPc="XA Data Sources",wPc="statistics";
function xPc(a,b){var d,e,h;d=b?a.d:a.c;if(!d)throw new Zw(pPc);yPc(a.A);h=b?yt:Kf;d=d.Ad();e=new H;AI(J(e,n),t1());T(J(e,n),Ar,Of);T(J(e,n),h,d);T(J(e,n),wPc,dwb);I(J(e,ln),BO);BE(J(e,qN),!0);DE(new EE(e),new zPc(a,b))}function APc(a,b){var d,e,h;d=b?a.d:a.c;if(!d)throw new Zw(pPc);yPc(a.A);h=b?yt:Kf;d=d.Ad();e=new H;AI(J(e,n),t1());T(J(e,n),Ar,Of);T(J(e,n),h,d);T(J(e,n),wPc,fxb);I(J(e,ln),BO);BE(J(e,qN),!0);DE(new EE(e),new BPc(a,b))}
function CPc(a){yPc(a.A);DPc(a.A,(av(),Oy),!0);DPc(a.A,Oy,!1);EPc(a.a,new FPc(a),!1);EPc(a.a,new GPc(a),!0)}function HPc(a,b,d){b.mn()?d?(a.d=b,a.d&&(APc(a,!0),xPc(a,!0))):(a.c=b,a.c&&(APc(a,!1),xPc(a,!1))):(PT(Npb+(G(),b.Ad())),yPc(a.A))}function IPc(a,b,d,e,h,l){YX.call(this,a,b,d,e);this.b=h;this.e=l;this.a=new JPc}x(2504,1401,ju,IPc);_.Ri=function(){this.A.b=this;XX(this,this.e)};_.Wi=function(){CPc(this)};_.$i=function(){J1(this.b,this)};function FPc(a){this.a=a}x(2505,1643,{},FPc);_.sd=KPc;
_.eh=function(a){DPc(this.a.A,a,!1)};function GPc(a){this.a=a}x(2506,1643,{},GPc);_.sd=KPc;_.eh=function(a){DPc(this.a.A,a,!0)};function BPc(a,b){this.a=a;this.b=b}x(2508,1643,{},BPc);_.eh=function(a){var b,d;a=HE(a);a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&!y(J(a,t).b.bf(),Br)?xD(EL+(G(),Mpb),IE(a)):(d=J(a,kp).b._M(),b=J(d,nPc).b.$M(),a=J(d,"ActiveCount").b.$M(),d=J(d,qPc).b.$M(),a=new s1(A(WW,Eu,-1,[b,a,d])),b=this.a.A,this.b?zY(b.d.d,a):zY(b.a.d,a))};_.b=!1;function zPc(a,b){this.a=a;this.b=b}
x(2509,1643,{},zPc);_.eh=function(a){var b,d;a=HE(a);a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&!y(J(a,t).b.bf(),Br)?xD(EL+(G(),Mpb),IE(a)):(b=J(a,kp).b._M(),d=J(b,sPc).b.$M(),a=J(b,tPc).b.$M(),b=J(b,uPc).b.$M(),a=new s1(A(WW,Eu,-1,[d,a,b])),d=this.a.A,this.b?zY(d.d.a,a):zY(d.a.a,a))};_.b=!1;function LPc(a){this.a=a}x(2510,1,{},LPc);_.sd=function(a){b_((new Emc(new L3(a))).a)};
_.eh=function(a){var b;a=HE(a);(new m1((D(),a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&!y(J(a,t).b.bf(),Br)?SB:E),a)).b.a?b=new N3(!0,Gsb+(G(),this.a)+ua):b=new M3(!1,Qrb+(G(),this.a),IE(a));b_((new Emc(b)).a)};function MPc(a){this.a=a}x(2511,1643,{},MPc);_.eh=function(a){a=HE(a);a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&!y(J(a,t).b.bf(),Br)?xD(EL+(G(),"Flush connections error for "+this.a),IE(a)):oX(jM+(G(),"Flush connections for "+this.a))};function yPc(a){var b=a.a;rY(b.d);rY(b.a);a=a.d;rY(a.d);rY(a.a)}
function DPc(a,b,d){a=d?a.d:a.a;iV(a.b,b);E0(a.f)}function NPc(){}x(2514,1208,Du,NPc);_.Bh=function(){this.a=new OPc(this.b,!1);this.d=new OPc(this.b,!0);this.c=new U1((uy(),vy));aQ(this.c,ZM);OU(this.c,PPc(this.a),oPc);OU(this.c,PPc(this.d),vPc);QU(this.c,0);return this.c};
function PPc(a){var b,d,e,h;a.f=new z0(5,new QPc);LX(a.f,new IV);a.b=new qV;dV(a.b,a.f);e=new RPc(new WP);b=new SPc(new WP);h=new TPc(new WP);d=new UPc(new WP);nS(a.f,e,Tb);nS(a.f,b,ML);nS(a.f,h,zL);nS(a.f,d,"Statistics Enabled?");a.f.Z.k.di(new VPc(a));e=new w0;d=new x0((G(),mM),new WPc(a));b=new x0(uqb,new XPc(a));zx((B(),d.gb),!0);gQ(d,Fyb);a.c?(d.b=Aaa,d.a=WO):(d.b=zaa,d.a=WO);zx(b.gb,!0);gQ(b,Fyb);y0(e,d);y0(e,b);zx(e.gb,!0);b=new uY(nPc,"Available Connections");b=A(vY,Au,195,[(b.c=!0,b),w1(new uY(nPc,
"Active"),b),w1(new uY(qPc,"Max Used"),b)]);a.d=u1(new v1("Connection Pool",$O,!0),b);d=new iZ;hZ(d,a.f);b=new ET;b.gb.className=jN;V(b,a.f);V(b,d);d=new uY(sPc,"Access Count");d=A(vY,Au,195,[(d.c=!0,d),w1(new uY(tPc,Bqb),d),w1(new uY(uPc,orb),d)]);a.a=u1(new xY(rPc,$O),d);d=new YT(VK);d.gb.className=oN;d.gb.style[AN]=30+(uy(),mo);d.gb.style[zN]="-20px";d.th(new YPc(a));a=LZ(LZ(LZ(LZ(LZ(NZ(OZ(RZ(QZ(new SZ),a.c?vPc:oPc),a.c?"XA Data Source Metrics":"Data Source Metrics"),"Datasources runtime utilisation."),
g,e),hb,b),g,d),"Pool Usage",yY(a.d)),rPc,yY(a.a));a=MZ(a);cy(d.gb).style.textAlign=(sEb(),rp);return a}function OPc(a,b){this.e=a;this.c=b}x(2515,1,{},OPc);_.c=!1;function QPc(){}x(2516,1,{},QPc);_.bi=ZPc;function YPc(a){this.a=a}x(2517,1,v,YPc);_.le=function(){HPc(this.a.e,HV(this.a.f.Z.k),this.a.c)};function RPc(a){this.d=a}x(2518,642,mK,RPc);_.qd=function(a){return a.Ad()};function SPc(a){this.d=a}x(2519,642,mK,SPc);_.qd=ZPc;function TPc(a){this.d=a}x(2520,642,mK,TPc);
_.qd=function(a){return g+a.mn()};function UPc(a){this.d=a}x(2521,642,mK,UPc);_.qd=function(a){return g+a.ay()};function VPc(a){this.a=a}x(2522,1,v,VPc);_.Sg=function(){var a;a=HV(this.a.f.Z.k);HPc(this.a.e,a,this.a.c)};function WPc(a){this.a=a}x(2523,1,v,WPc);_.le=function(){var a=HV(this.a.f.Z.k).Ad(),b,d;d=this.a.c?yt:Kf;b=new H;AI(J(b,n),t1());T(J(b,n),Ar,Of);T(J(b,n),d,a);I(J(b,ln),WO);DE(new EE(b),new LPc(a))};function XPc(a){this.a=a}x(2524,1,v,XPc);
_.le=function(){var a=HV(this.a.f.Z.k).Ad(),b,d;d=this.a.c?yt:Kf;b=new H;AI(J(b,n),t1());T(J(b,n),Ar,Of);T(J(b,n),d,a);I(J(b,ln),jvb);DE(new EE(b),new MPc(a))};function EPc(a,b,d){var e,h;e=t1();vI(uI(e),Ar,Of);h=d?yt:Kf;d=new H;I(J(d,ln),AO);AI(J(d,n),e);I(J(d,Ke),h);DE(new EE(d),new $Pc(a,b))}function JPc(){this.a=new iE(yG)}x(2525,1,{},JPc);function $Pc(a,b){this.a=a;this.b=b}x(2526,1643,{},$Pc);
_.eh=function(a){a=HE(a);a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&!y(J(a,t).b.bf(),Br)?this.b.sd(new Zw("Failed to read DS metrics: "+IE(a))):(a=e2(this.a.a,J(a,kp).b.ZM()),this.b.eh(a))};x(2529,1,iu);_.td=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=EA(DB(b.a));var e;b.d||(e=new NPc,b.d=e);e=b.d;var h=Nwa(b),l=(BB(ED(b.a)),nE(bE(b.a)),vX(wX(b.a))),p=(pE($D(b.a)),J4(dY(b.a))),s=WE(ZD(b.a));YD(b.a);d=new IPc(d,e,h,l,p,s);KA((VD(b.a),d),iB(VD(b.a)));b.c=d}pB(a,b.c)};F(2504);F(2505);F(2506);F(2508);F(2509);
F(2510);F(2511);F(2514);F(2525);F(2526);F(2515);F(2516);F(2518);F(2519);F(2520);F(2521);F(2522);F(2523);F(2524);F(2517);Aw(QJ)(1);function KPc(a){fv(a.$b())}function ZPc(a){return a.ar()};