var fPc="AvailableCount",gPc="Data Sources",hPc="DataSource selection is null!",iPc="MaxUsedCount",jPc="Prepared Statement Cache",kPc="PreparedStatementCacheAccessCount",lPc="PreparedStatementCacheHitCount",mPc="PreparedStatementCacheMissCount",nPc="XA Data Sources",oPc="statistics";
function pPc(a,b){var d,e,h;d=b?a.d:a.c;if(!d)throw new $w(hPc);qPc(a.A);h=b?st:Kf;d=d.Ad();e=new H;FI(J(e,n),y1());T(J(e,n),xr,Of);T(J(e,n),h,d);T(J(e,n),oPc,Yvb);I(J(e,jn),xO);JE(J(e,mN),!0);LE(new ME(e),new rPc(a,b))}function sPc(a,b){var d,e,h;d=b?a.d:a.c;if(!d)throw new $w(hPc);qPc(a.A);h=b?st:Kf;d=d.Ad();e=new H;FI(J(e,n),y1());T(J(e,n),xr,Of);T(J(e,n),h,d);T(J(e,n),oPc,$wb);I(J(e,jn),xO);JE(J(e,mN),!0);LE(new ME(e),new tPc(a,b))}
function uPc(a){qPc(a.A);vPc(a.A,(Yu(),Py),!0);vPc(a.A,Py,!1);wPc(a.a,new xPc(a),!1);wPc(a.a,new yPc(a),!0)}function zPc(a,b,d){b.mn()?d?(a.d=b,a.d&&(sPc(a,!0),pPc(a,!0))):(a.c=b,a.c&&(sPc(a,!1),pPc(a,!1))):(ST(Hpb+(G(),b.Ad())),qPc(a.A))}function APc(a,b,d,e,h,l){cY.call(this,a,b,d,e);this.b=h;this.e=l;this.a=new BPc}x(2503,1400,gu,APc);_.Ri=function(){this.A.b=this;bY(this,this.e)};_.Wi=function(){uPc(this)};_.$i=function(){M1(this.b,this)};function xPc(a){this.a=a}x(2504,1642,{},xPc);_.sd=CPc;
_.eh=function(a){vPc(this.a.A,a,!1)};function yPc(a){this.a=a}x(2505,1642,{},yPc);_.sd=CPc;_.eh=function(a){vPc(this.a.A,a,!0)};function tPc(a,b){this.a=a;this.b=b}x(2507,1642,{},tPc);_.eh=function(a){var b,d;a=PE(a);a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&!y(J(a,t).b.bf(),yr)?FD(AL+(G(),Gpb),QE(a)):(d=J(a,hp).b._M(),b=J(d,fPc).b.$M(),a=J(d,"ActiveCount").b.$M(),d=J(d,iPc).b.$M(),a=new x1(A(aX,Bu,-1,[b,a,d])),b=this.a.A,this.b?EY(b.d.d,a):EY(b.a.d,a))};_.b=!1;function rPc(a,b){this.a=a;this.b=b}
x(2508,1642,{},rPc);_.eh=function(a){var b,d;a=PE(a);a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&!y(J(a,t).b.bf(),yr)?FD(AL+(G(),Gpb),QE(a)):(b=J(a,hp).b._M(),d=J(b,kPc).b.$M(),a=J(b,lPc).b.$M(),b=J(b,mPc).b.$M(),a=new x1(A(aX,Bu,-1,[d,a,b])),d=this.a.A,this.b?EY(d.d.a,a):EY(d.a.a,a))};_.b=!1;function DPc(a){this.a=a}x(2509,1,{},DPc);_.sd=function(a){g_((new tmc(new O3(a))).a)};
_.eh=function(a){var b;a=PE(a);(new r1((D(),a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&!y(J(a,t).b.bf(),yr)?VB:E),a)).b.a?b=new Q3(!0,Asb+(G(),this.a)+ua):b=new P3(!1,Krb+(G(),this.a),QE(a));g_((new tmc(b)).a)};function EPc(a){this.a=a}x(2510,1642,{},EPc);_.eh=function(a){a=PE(a);a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&!y(J(a,t).b.bf(),yr)?FD(AL+(G(),"Flush connections error for "+this.a),QE(a)):tX(fM+(G(),"Flush connections for "+this.a))};function qPc(a){var b=a.a;wY(b.d);wY(b.a);a=a.d;wY(a.d);wY(a.a)}
function vPc(a,b,d){a=d?a.d:a.a;wV(a.b,b);J0(a.f)}function FPc(){}x(2513,1207,Au,FPc);_.Bh=function(){this.a=new GPc(this.b,!1);this.d=new GPc(this.b,!0);this.c=new X1((vy(),wy));XP(this.c,VM);RU(this.c,HPc(this.a),gPc);RU(this.c,HPc(this.d),nPc);TU(this.c,0);return this.c};
function HPc(a){var b,d,e,h;a.f=new E0(5,new IPc);QX(a.f,new NV);a.b=new yV;oV(a.b,a.f);e=new JPc(new SP);b=new KPc(new SP);h=new LPc(new SP);d=new MPc(new SP);qS(a.f,e,Ub);qS(a.f,b,IL);qS(a.f,h,vL);qS(a.f,d,"Statistics Enabled?");a.f.Z.k.di(new NPc(a));e=new B0;d=new C0((G(),iM),new OPc(a));b=new C0(oqb,new PPc(a));Ax((B(),d.gb),!0);cQ(d,zyb);a.c?(d.b=Aaa,d.a=SO):(d.b=zaa,d.a=SO);Ax(b.gb,!0);cQ(b,zyb);D0(e,d);D0(e,b);Ax(e.gb,!0);b=new zY(fPc,"Available Connections");b=A(AY,xu,195,[(b.c=!0,b),B1(new zY(fPc,
"Active"),b),B1(new zY(iPc,"Max Used"),b)]);a.d=z1(new A1("Connection Pool",WO,!0),b);d=new nZ;mZ(d,a.f);b=new HT;b.gb.className=fN;V(b,a.f);V(b,d);d=new zY(kPc,"Access Count");d=A(AY,xu,195,[(d.c=!0,d),B1(new zY(lPc,vqb),d),B1(new zY(mPc,irb),d)]);a.a=z1(new CY(jPc,WO),d);d=new aU(RK);d.gb.className=kN;d.gb.style[wN]=30+(vy(),io);d.gb.style[vN]="-20px";d.th(new QPc(a));a=QZ(QZ(QZ(QZ(QZ(SZ(TZ(WZ(VZ(new XZ),a.c?nPc:gPc),a.c?"XA Data Source Metrics":"Data Source Metrics"),"Datasources runtime utilisation."),
g,e),hb,b),g,d),"Pool Usage",DY(a.d)),jPc,DY(a.a));a=RZ(a);dy(d.gb).style.textAlign=(lEb(),mp);return a}function GPc(a,b){this.e=a;this.c=b}x(2514,1,{},GPc);_.c=!1;function IPc(){}x(2515,1,{},IPc);_.bi=RPc;function QPc(a){this.a=a}x(2516,1,v,QPc);_.le=function(){zPc(this.a.e,MV(this.a.f.Z.k),this.a.c)};function JPc(a){this.d=a}x(2517,641,iK,JPc);_.qd=function(a){return a.Ad()};function KPc(a){this.d=a}x(2518,641,iK,KPc);_.qd=RPc;function LPc(a){this.d=a}x(2519,641,iK,LPc);
_.qd=function(a){return g+a.mn()};function MPc(a){this.d=a}x(2520,641,iK,MPc);_.qd=function(a){return g+a.ay()};function NPc(a){this.a=a}x(2521,1,v,NPc);_.Sg=function(){var a;a=MV(this.a.f.Z.k);zPc(this.a.e,a,this.a.c)};function OPc(a){this.a=a}x(2522,1,v,OPc);_.le=function(){var a=MV(this.a.f.Z.k).Ad(),b,d;d=this.a.c?st:Kf;b=new H;FI(J(b,n),y1());T(J(b,n),xr,Of);T(J(b,n),d,a);I(J(b,jn),SO);LE(new ME(b),new DPc(a))};function PPc(a){this.a=a}x(2523,1,v,PPc);
_.le=function(){var a=MV(this.a.f.Z.k).Ad(),b,d;d=this.a.c?st:Kf;b=new H;FI(J(b,n),y1());T(J(b,n),xr,Of);T(J(b,n),d,a);I(J(b,jn),dvb);LE(new ME(b),new EPc(a))};function wPc(a,b,d){var e,h;e=y1();AI(zI(e),xr,Of);h=d?st:Kf;d=new H;I(J(d,jn),wO);FI(J(d,n),e);I(J(d,Ke),h);LE(new ME(d),new SPc(a,b))}function BPc(){this.a=new qE(KG)}x(2524,1,{},BPc);function SPc(a,b){this.a=a;this.b=b}x(2525,1642,{},SPc);
_.eh=function(a){a=PE(a);a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&!y(J(a,t).b.bf(),yr)?this.b.sd(new $w("Failed to read DS metrics: "+QE(a))):(a=m2(this.a.a,J(a,hp).b.ZM()),this.b.eh(a))};x(2528,1,fu);_.td=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=NA(GB(b.a));var e;b.d||(e=new FPc,b.d=e);e=b.d;var h=Qwa(b),l=(EB(MD(b.a)),vE(jE(b.a)),AX(BX(b.a))),p=(xE(hE(b.a)),L4(iY(b.a))),s=dF(gE(b.a));fE(b.a);d=new APc(d,e,h,l,p,s);$A((cE(b.a),d),lB(cE(b.a)));b.c=d}sB(a,b.c)};F(2503);F(2504);F(2505);F(2507);F(2508);
F(2509);F(2510);F(2513);F(2524);F(2525);F(2514);F(2515);F(2517);F(2518);F(2519);F(2520);F(2521);F(2522);F(2523);F(2516);Aw(MJ)(1);function CPc(a){cv(a.$b())}function RPc(a){return a.ar()};