var yNc="AvailableCount",zNc="Data Sources",ANc="DataSource selection is null!",BNc="MaxUsedCount",Y8="Pool Usage",CNc="PreparedStatementCacheCurrentSize",DNc="PreparedStatementCacheHitCount",ENc="PreparedStatementCacheMissCount",FNc="XA Data Sources",GNc="jdbc",HNc="pool",INc="statistics";
function JNc(a,b){var d,e,h;d=b?a.d:a.c;if(!d)throw new Iw(ANc);Z8(a.y);h=b?Jt:Ff;d=d.oc();e=new H;dI(K(e,l),w1());T(K(e,l),xr,Jf);T(K(e,l),h,d);T(K(e,l),INc,GNc);I(K(e,q),rN);NE(K(e,PM),!0);PE(new QE(e),new KNc(a,b))}function LNc(a,b){var d,e,h;d=b?a.d:a.c;if(!d)throw new Iw(ANc);Z8(a.y);h=b?Jt:Ff;d=d.oc();e=new H;dI(K(e,l),w1());T(K(e,l),xr,Jf);T(K(e,l),h,d);T(K(e,l),INc,HNc);I(K(e,q),rN);NE(K(e,PM),!0);PE(new QE(e),new MNc(a,b))}
function NNc(a){Z8(a.y);ONc(a.y,(ev(),Cy),!0);ONc(a.y,Cy,!1);PNc(a.a,new QNc(a),!1);PNc(a.a,new RNc(a),!0)}function SNc(a,b,d){b.nm()?d?(a.d=b,a.d&&(LNc(a,!0),JNc(a,!0))):(a.c=b,a.c&&(LNc(a,!1),JNc(a,!1))):(BW(vmb+(G(),b.oc())),Z8(a.y))}function TNc(a,b,d,e){$V.call(this,a,b,d,null);this.b=e;this.a=new UNc}v(2390,931,fu,TNc);_.hi=function(){this.y.b=this;Dy(this.v,(Q1(),R1),this)};_.mi=function(){NNc(this)};_.yk=function(){Z8(this.y);$w((Xw(),Yw),new VNc(this))};_.qi=function(){W1(this.b,this)};
_.a=null;_.b=null;_.c=null;_.d=null;function VNc(a){this.a=a}v(2391,1,Bu,VNc);_.kc=function(){this.a.z&&NNc(this.a)};_.a=null;function QNc(a){this.a=a}v(2392,1558,{},QNc);_.hc=KC;_.og=function(a){ONc(this.a.y,a,!1)};_.a=null;function RNc(a){this.a=a}v(2393,1558,{},RNc);_.hc=KC;_.og=function(a){ONc(this.a.y,a,!0)};_.a=null;function MNc(a,b){this.a=a;this.b=b}v(2394,1558,{},MNc);
_.og=function(a){var b,d,a=TE(a);a.b.vL(r)&&K(a,r).b.b!=(L(),M)&&!w(K(a,r).b.le(),yr)?uD(OK+(G(),"Datasource Metrics"),UE(a)):(d=K(a,qp).b.nL(),b=K(d,yNc).b.mL(),a=K(d,"ActiveCount").b.mL(),d=K(d,BNc).b.mL(),a=new v1(z(hW,Du,-1,[b,a,d])),b=this.a.y,this.b?b.d.d.rp(a):b.a.d.rp(a))};_.a=null;_.b=!1;function KNc(a,b){this.a=a;this.b=b}v(2395,1558,{},KNc);
_.og=function(a){var b,d,a=TE(a);a.b.vL(r)&&K(a,r).b.b!=(L(),M)&&!w(K(a,r).b.le(),yr)?uD(OK+(G(),"Datasource Metrics"),UE(a)):(b=K(a,qp).b.nL(),d=K(b,CNc).b.mL(),a=K(b,DNc).b.mL(),b=K(b,ENc).b.mL(),a=new v1(z(hW,Du,-1,[d,a,b])),d=this.a.y,this.b?d.d.a.rp(a):d.a.a.rp(a))};_.a=null;_.b=!1;function WNc(a){this.a=a}v(2396,1,{},WNc);_.hc=function(a){z0((new uec(new f4(a))).a)};
_.og=function(a){var b,a=TE(a);(new j1((C(),a.b.vL(r)&&K(a,r).b.b!=(L(),M)&&!w(K(a,r).b.le(),yr)?E:D),a)).b.a?b=new h4(!0,Rob+(G(),this.a)+ua):b=new g4(!1,eob+(G(),this.a),UE(a));z0((new uec(b)).a)};_.a=null;function XNc(a){this.a=a}v(2397,1558,{},XNc);_.og=function(a){a=TE(a);a.b.vL(r)&&K(a,r).b.b!=(L(),M)&&!w(K(a,r).b.le(),yr)?uD(OK+(G(),"Flush connections error for "+this.a),UE(a)):DW(YL+(G(),"Flush connections for "+this.a))};_.a=null;
function Z8(a){var b=a.a;b.d.Ak();b.a.Ak();a=a.d;a.d.Ak();a.a.Ak()}function ONc(a,b,d){d?YNc(a.d,b):YNc(a.a,b)}function ZNc(){}v(2400,1130,uu,ZNc);_.Ti=function(){this.a=new $Nc(this.b,!1);this.d=new $Nc(this.b,!0);this.c=new n6((iy(),jy));EO(this.c,AM);ET(this.c,aOc(this.a),zNc);ET(this.c,aOc(this.d),FNc);GT(this.c,0);return this.c};_.a=null;_.b=null;_.c=null;_.d=null;
function aOc(a){var b,d,e,h,j,m;j=new GX;HX(j,new IX((G(),nL),new bOc(a)));a.f=new G0(5);$W(a.f,new BU);a.b=new mU;aU(a.b,a.f);h=new cOc(new zO);d=new dOc(new zO);b=new eOc(new zO);PQ(a.f,h,Vb);PQ(a.f,d,XK);PQ(a.f,b,JK);a.f.W.k.mh(new fOc(a));a.f.db.setAttribute(EN,"margin-top:15px;margin-bottom:0px;");d=a.c?Jt:Ff;b=new gOc(a,d);h=new GX;m=new IX(aM,new hOc(a));e=new IX(bnb,new iOc(a));nx(m.db,!0);GO(m,oub);nx(e.db,!0);GO(e,oub);HX(h,m);HX(h,e);nx(h.db,!0);e=new B1(yNc,"Available");e=z(N1,Ju,183,
[(e.c=!0,e),z1(new B1(yNc,"Active Count"),e),z1(new B1(BNc,"Max Used"),e)]);EW()?a.d=x1(new y1(Y8,zf),e):a.d=F1(E1(new G1(Y8,b),e));b=new uY;JR(b,a.f);e=new nS;e.db[Je]=JM;V(e,a.f);V(e,b);d=new jOc(a,d);b=new B1(CNc,"Current Size");b=z(N1,Ju,183,[(b.c=!0,b),z1(new B1(DNc,gnb),b),z1(new B1(ENc,"Miss Used"),b)]);EW()?a.a=x1(new y1(Y8,zf),b):a.a=F1(E1(new G1(Y8,d),b));d=new gO(pv(jO(new fO,"Datasources runtime utilisation.").a.a));a=CY(CY(MY(LY(iXb(gXb(JY(OY(NY(new PY),a.c?FNc:zNc),a.c?"XA Data Source Metrics":
"Data Source Metrics"),d),j),ib,a.f),h),Y8,a.d.nc()),"Prepared Statement Cache",a.a.nc());return EY(a)}function YNc(a,b){kU(a.b,b);b.Wc()||a.f.W.k.ph(b.ad(0),!0)}function $Nc(a,b){this.e=a;this.c=b}v(2401,1,{},$Nc);_.a=null;_.b=null;_.c=!1;_.d=null;_.e=null;_.f=null;function bOc(a){this.a=a}v(2402,1,t,bOc);_.vd=function(){SNc(this.a.e,yU(this.a.f.W.k),this.a.c)};_.a=null;function cOc(a){this.c=a}v(2403,574,BJ,cOc);_.gc=function(a){return a.oc()};function dOc(a){this.c=a}v(2404,574,BJ,dOc);_.gc=function(a){return a.Jp()};
function eOc(a){this.c=a}v(2405,574,BJ,eOc);_.gc=function(a){return g+a.nm()};function fOc(a){this.a=a}v(2406,1,t,fOc);_.bg=function(){var a;a=yU(this.a.f.W.k);SNc(this.a.e,a,this.a.c)};_.a=null;function gOc(a,b){this.a=a;this.b=b}v(2407,1,{},gOc);_.gk=function(){var a;a=new H;dI(K(a,l),w1());T(K(a,l),xr,Jf);T(K(a,l),this.b,yU(this.a.f.W.k).oc());T(K(a,l),INc,HNc);return a};_.a=null;_.b=null;function hOc(a){this.a=a}v(2408,1,t,hOc);
_.vd=function(){var a=yU(this.a.f.W.k).oc(),b,d;d=this.a.c?Jt:Ff;b=new H;dI(K(b,l),w1());T(K(b,l),xr,Jf);T(K(b,l),d,a);I(K(b,q),Utb);PE(new QE(b),new WNc(a))};_.a=null;function iOc(a){this.a=a}v(2409,1,t,iOc);_.vd=function(){var a=yU(this.a.f.W.k).oc(),b,d;d=this.a.c?Jt:Ff;b=new H;dI(K(b,l),w1());T(K(b,l),xr,Jf);T(K(b,l),d,a);I(K(b,q),nrb);PE(new QE(b),new XNc(a))};_.a=null;function jOc(a,b){this.a=a;this.b=b}v(2410,1,{},jOc);
_.gk=function(){var a;a=new H;dI(K(a,l),w1());T(K(a,l),xr,Jf);T(K(a,l),this.b,yU(this.a.f.W.k).oc());T(K(a,l),INc,GNc);return a};_.a=null;_.b=null;function PNc(a,b,d){var e,h;e=w1();CI(BI(e),xr,Jf);h=d?Jt:Ff;d=new H;I(K(d,q),qN);dI(K(d,l),e);I(K(d,De),h);PE(new QE(d),new kOc(a,b))}function UNc(){this.a=new uE(VF)}v(2411,1,{},UNc);_.a=null;function kOc(a,b){this.a=a;this.b=b}v(2412,1558,{},kOc);
_.og=function(a){a=TE(a);a.b.vL(r)&&K(a,r).b.b!=(L(),M)&&!w(K(a,r).b.le(),yr)?this.b.hc(new Iw("Failed to read DS metrics: "+UE(a))):(a=p2(this.a.a,K(a,qp).b.lL()),this.b.og(a))};_.a=null;_.b=null;v(2415,1,vu);_.ic=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=vA(wB(b.a));var e;b.d||(e=new ZNc,b.d=e);e=b.d;var h=bva(b),j=(uB(xB(b.a)),zE(oE(b.a)),BE(nE(b.a)),Z4(pX(b.a)));eF(mE(b.a));lE(b.a);d=new TNc(d,e,h,j);yA((iE(b.a),d),KA(iE(b.a)));b.c=d}RA(a,b.c)};F(2390);F(2391);F(2392);F(2393);F(2394);F(2395);
F(2396);F(2397);F(2400);F(2411);F(2412);F(2401);F(2402);F(2403);F(2404);F(2405);F(2406);F(2407);F(2408);F(2409);F(2410);vw(jJ)(2);function KC(a){jv(a.Lb())};