function ljf(){}
function jjf(a){this.b=a}
function Eif(a){this.b=a}
function Gif(a){this.a=a}
function Uif(a){this.a=a}
function Xif(a){this.a=a}
function tjf(a){this.a=a}
function Ajf(){this.b=false}
function fjf(){NXd.call(this)}
function njf(){Vdd.call(this)}
function pjf(){Vdd.call(this)}
function rjf(a){tbd.call(this,a)}
function vjf(a){tbd.call(this,a)}
function xjf(a,b){this.a=a;this.b=b}
function Rif(a,b){this.a=a;this.b=b}
function Qcf(a,b){SUd(a.a,b)}
function Jjf(a,b){QBd(a.a).Xq(b)}
function Kjf(a,b){QBd(a.a).Zq(b)}
function ijf(a,b){Hwd(a.a,b);spg(a.c)}
function cjf(a,b){a.f=b;ijf(a.c,b)}
function cef(a,b){Ldf.call(this,(Udf(),Sdf),b);this.b=a}
function Sjf(a){var b;if(!a.d){b=new fjf;a.d=b}return a.d}
function Bif(a){adf(a.j);adf(a.c);adf(a.d);Bld(a.f,d$j);adf(a.e);adf(a.a)}
function Dif(a,b){$cf(a.j,b.f);$cf(a.c,b.d);$cf(a.d,b.c);Bld(a.f,d$j+rf(b.c.a,2));$cf(a.e,b.e);$cf(a.a,b.a)}
function ejf(a,b){b.b?Dif(a.a,b):FWd('Metric not enabled on '+(AWd(),a.b[0]))}
function Cif(a,b){a.i=b;xld(a.g,'Persistence Unit Metrics: '+b[0]+uxj+b[1])}
function zjf(a,b,d,e,g){this.f=a;this.d=b;this.c=d;this.e=e;this.a=g;this.b=true}
function Mif(a,b,d,e,g,i,j){s7d.call(this,a,b,d,e);this.d=g;this.c=j;this.b=i;this.a=new qZi(fsb)}
function djf(a,b){var d,e;a.b=b;if(null==b)D$i(a.d,0);else{Cif(a.a,b);if(a.f){for(e=a.f.oc();e.gc();){d=e.hc();if(GNd(d.Vq(),b[1])){break}}}Iif(a.e,b);D$i(a.d,1)}}
function Wif(a,b){var d;d=wkj(b);if(d.b.ZM(qDj)&&D4i(d,qDj).b.b!=(Zij(),Yij)&&!GNd(D4i(d,qDj).b.Ze(),rDj)){GWd(TYj+(AWd(),l$j),F4i(d))}else{HWd(UYj+(AWd(),l$j));Lif(a.a,false)}}
function Rjf(a){var b;if(!a.c){b=new Mif(HDd(tae(a.a)),Sjf(a),Qjf(a),(Rkj(_be(a.a)),Ulj(bce(a.a))),(c$i(Zbe(a.a)),fKg(nbe(a.a))),o5e(Vae(a.a)),bHd(vae(a.a)));TDd((uae(a.a),b),QEd(uae(a.a)));a.c=b}return a.c}
function Qif(a,b){var d,e,g,i,j;d=wkj(b);if(d.b.ZM(qDj)&&D4i(d,qDj).b.b!=(Zij(),Yij)&&!GNd(D4i(d,qDj).b.Ze(),rDj)){dd((MXj+(AWd(),'JPA Deployments'),F4i(d)))}else{g=new os;e=D4i(d,cDj);i=D4i(e,i$j);j=D4i(e,j$j);Kif(a.a,i,g);Kif(a.a,j,g);cjf(a.a.A,g)}a.b&&djf(a.a.A,a.a.e)}
function Iif(a,b){var d,e;d=new a5i;S4i(D4i(d,XCj),Wcf());if(b[0].indexOf(wxj)!=-1){e=SNd(b[0],wxj,0);v4i(D4i(d,XCj),CIj,e[0]);v4i(D4i(d,XCj),e$j,e[1])}else{v4i(D4i(d,XCj),CIj,b[0])}v4i(D4i(d,XCj),kEj,mBj);v4i(D4i(d,XCj),f$j,b[0]+uxj+b[1]);N4i(D4i(d,VCj),HXj);V4i(D4i(d,IXj),true);Ckj(new Ujj(d),new Uif(a))}
function Jif(a,b,d){var e,g,i;e=new a5i;S4i(D4i(e,XCj),Wcf());if(b.Uq().indexOf(wxj)!=-1){i=SNd(b.Uq(),wxj,0);v4i(D4i(e,XCj),CIj,i[0]);v4i(D4i(e,XCj),e$j,i[1])}else{v4i(D4i(e,XCj),CIj,b.Uq())}v4i(D4i(e,XCj),kEj,mBj);v4i(D4i(e,XCj),f$j,b.Uq()+uxj+b.Vq());g=fZi(a.a,d,e,sL(q0c,auj,281,[]));Ckj(new Ujj(g),new Xif(a))}
function Kif(a,b,d){var e,g,i,j,k,n,o,p,q,r,s,t;j=D4i(b,cDj).b.PM();for(g=j.oc();g.gc();){e=g.hc();i=D4i(e,cDj).b.RM();if(i.b.ZM(f$j)&&D4i(i,f$j).b.b!=(Zij(),Yij)){t=D4i(i,f$j).b.TM();for(r=t.oc();r.gc();){q=r.hc();n=(new Djf(a.b)).a;s=q.b;o=q.a;p=SNd(o,uxj,0);Jjf(n,p[0]);Kjf(n,p[1]);k=s.b.ZM(pEj)&&D4i(s,pEj).b.b!=(Zij(),Yij)&&D4i(s,pEj).b.KM();QBd(n.a).Yq(k);DLd();d.a[d.b++]=n}}}}
function Lif(a,b){var d,e,g,i;Bif(a.A.a);cjf(a.A,(DSd(),ASd));djf(a.A,null);e=new a5i;D4i(e,XCj).b=new Dij;N4i(D4i(e,VCj),WCj);g=new os;d=new a5i;N4i(D4i(d,VCj),HXj);S4i(D4i(d,XCj),Wcf());v4i(D4i(d,XCj),CIj,Hzj);v4i(D4i(d,XCj),kEj,mBj);V4i(D4i(d,IXj),true);V4i(D4i(d,kXj),true);i=new a5i;N4i(D4i(i,VCj),HXj);S4i(D4i(i,XCj),Wcf());v4i(D4i(i,XCj),CIj,Hzj);v4i(D4i(i,XCj),e$j,Hzj);v4i(D4i(i,XCj),kEj,mBj);V4i(D4i(i,IXj),true);V4i(D4i(i,kXj),true);g.a[g.b++]=d;g.a[g.b++]=i;R4i(D4i(e,bDj),g);Ckj(new Ujj(e),new Rif(a,b))}
function Tif(a,b){var d,e,g,i,j,k,n,o;k=wkj(b);if(k.b.ZM(qDj)&&D4i(k,qDj).b.b!=(Zij(),Yij)&&!GNd(D4i(k,qDj).b.Ze(),rDj)){GWd(MXj+(AWd(),k$j),F4i(k))}else{g=D4i(k,cDj).b.RM();e=D4i(g,pEj).b.KM();if(e){o=new Scf(sL(B$c,juj,-1,[D4i(g,OZj).b.QM(),D4i(g,PZj).b.QM()]));j=new Scf(sL(B$c,juj,-1,[D4i(g,VZj).b.QM(),D4i(g,WZj).b.QM()]));Qcf(j,D4i(g,'query-execution-max-time-query-string').b.Ze());i=new Scf(sL(B$c,juj,-1,[D4i(g,RZj).b.QM(),D4i(g,TZj).b.QM(),D4i(g,UZj).b.QM()]));n=new Scf(sL(B$c,juj,-1,[D4i(g,XZj).b.QM(),D4i(g,YZj).b.QM(),D4i(g,ZZj).b.QM()]));d=new Scf(sL(B$c,juj,-1,[D4i(g,_Zj).b.QM(),D4i(g,a$j).b.QM(),D4i(g,'connect-count').b.QM()]));ejf(a.a.A,new zjf(o,i,j,n,d))}else{ejf(a.a.A,new Ajf)}}}
function hjf(a){var b,d,e,g,i,j,k,n,o,p,q,r;a.c=new wpg(8,new ljf);n=new njf;r=new pjf;q=new rjf(new en);o=new vjf(new M_i((AWd(),qZj),new tjf(a)));H5c(a.c,r,n$j);H5c(a.c,n,o$j);H5c(a.c,q,p$j);H5c(a.c,o,rZj);upg(a.c,new Pxd);a.a=new Iwd;Zvd(a.a,a.c);e=new mZf(fsb);e.k=false;!!e.f&&y_d(e);b=new Bej(fOj,o$j);p=new Bej(q$j,'Unit');d=new tVf(ZVj,p$j);v_d(e,gDj,sL(o0c,Svj,262,[b,p,d]));j=new VXd('metric-enabled: Wether or nor statistics should be collected for a persistence unit.');o_d(e,a.c);i=new JZi(e,new xjf(a,e));g=new dvd;avd(g,HZi(i));avd(g,TXd(j));avd(g,p_d(e));k=Yze(eAe(_ze(cAe(iAe(hAe(new kAe),k$j),'Persistence Units'),'Available persistence units. You may need to enable statistics per deployment in order view the metrics.'),'Available Persistence Units',a.c),n$j,g);return Zze(k)}
function Aif(a){var b,d,e,g,i,j,k,n,o,p,q,r,s,t,u,v;u=new Ydf(OZj,'Completed');b=sL(T_c,auj,196,[(u.c=true,u),Kdf(new Ydf(PZj,'Successful'),u)]);AWd();a.j=hdf(new idf(QZj,cYj),b);j=new Ydf(RZj,SZj);i=sL(T_c,auj,196,[(j.c=true,j),Kdf(new Ydf(TZj,eYj),j),Kdf(new Ydf(UZj,fYj),j)]);a.c=hdf(new jdf('Query Cache',cYj,false),i);n=new Ydf(VZj,'Execution Count');k=sL(T_c,auj,196,[n,new Ydf(WZj,'Max Time')]);a.d=hdf(new jdf('Query Execution',cYj,false),k);r=new Ydf(XZj,SZj);q=sL(T_c,auj,196,[(r.c=true,r),Kdf(new Ydf(YZj,eYj),r),Kdf(new cef(ZZj,fYj),r)]);a.e=hdf(new idf($Zj,cYj),q);t=new Ydf(_Zj,'Sessions opened');d=sL(T_c,auj,196,[(t.c=true,t),Kdf(new cef(a$j,'Closed'),t)]);a.a=hdf(new idf(b$j,cYj),d);a.g=new Cld;Pq(a.g,oZj);e=new dvd;Ky((ked(),e.gb),dYj);avd(e,_cf(a.a));v=new dvd;Ky(v.gb,dYj);avd(v,_cf(a.j));o=new dvd;Ky(o.gb,dYj);a.f=new Cld;Pq(a.f,c$j);Jy(Dq(a.f),nYj,'padding:5px');avd(o,_cf(a.d));avd(o,_cf(a.c));s=new dvd;Ky(s.gb,dYj);avd(s,_cf(a.e));p=new Fld(hYj);Ky(p.gb,iYj);p.gb.style[Yyj]=(TB(),fzj);p.gb.style[bzj]=-65+(PC(),Kxj);p.gb.style[jYj]=kYj;lA(p.gb.style,JA());p.gb.style[azj]=lYj;p.th(new Gif(a));g=BAe(BAe(BAe(BAe(BAe(EAe(GAe(HAe(new KAe),a.g),'Runtime information about Hibernate use in the deployment.'),Hwj,p),b$j,e),QZj,v),'Queries',o),$Zj,s);return CAe(g)}
var d$j='<b>Max Time Query<\/b>: ',l$j='JPA Deployment',p$j='Metrics Enabled?',SZj='Put Count',$Zj='Second Level Cache',OZj='completed-transaction-count',g$j='dpl',TZj='query-cache-hit-count',UZj='query-cache-miss-count',RZj='query-cache-put-count',VZj='query-execution-count',WZj='query-execution-max-time',YZj='second-level-cache-hit-count',ZZj='second-level-cache-miss-count',XZj='second-level-cache-put-count',a$j='session-close-count',_Zj='session-open-count',PZj='successful-transaction-count';G1c(2501,2497,fwj,cef);G1c(2580,1,{},Eif);G1c(2581,1,vuj,Gif);_.he=function(a){Iif(this.a.b,this.a.i)};G1c(2582,1390,ivj,Mif);_.Ri=function(){this.A.e=this;r7d(this,_wh(Ybe((AWd(),yWd).a)))};_.Wi=function(){this.B&&Lif(this,true)};_.Zi=function(a){var b;b=eHd(a,g$j,null);b!=null?(this.e=sL(x_c,huj,1,[b,eHd(a,h$j,null)])):(this.e=null)};_.$i=function(){Etf(this.d,this)};G1c(2584,1643,{},Rif);_.dh=function(a){Qif(this,a)};_.b=false;G1c(2585,1643,{},Uif);_.dh=function(a){Tif(this,a)};G1c(2586,1643,{},Xif);_.dh=function(a){Wif(this,a)};G1c(2589,1197,Rvj,fjf);_.Ah=function(){var a,b,d;this.d=new E$i;this.c=new jjf(this.e);this.a=new Eif(this.e);B$i(this.d,(AWd(),WYj),hjf(this.c));B$i(this.d,'Basic Metrics',Aif(this.a));D$i(this.d,0);a=new mnd;d=new Lfj(m$j);cnd(a,d,a.n.c);b=C$i(this.d);cnd(a,b,a.n.c);knd(a,d,0,(PC(),OC),40,OC);knd(a,b,40,OC,100,MC);return a};G1c(2590,1,{},jjf);G1c(2591,1,{},ljf);_.ai=function(a){return a.Uq()+qYj+a.Vq()};G1c(2592,662,Ruj,njf);_.md=function(a){return a.Uq()};G1c(2593,662,Ruj,pjf);_.md=function(a){return a.Vq()};G1c(2594,630,Ruj,rjf);_.md=function(a){var b;return a.Wq()?(b=(ffj(),_ej)):(b=(efj(),$ej)),b};G1c(2595,1,{},tjf);_.gd=function(a){OFd(this.a.b.c,gHd(gHd(new hHd(KAj),g$j,a.Uq()),h$j,a.Vq()),true)};G1c(2596,630,Ruj,vjf);_.md=function(a){return a};G1c(2597,1,{},xjf);_.Fk=function(a){Jif(this.a.b,this.b.c,a)};G1c(2598,1,{},zjf,Ajf);_.b=false;G1c(2600,1,{});_.Xq=function(a){Jjf(this,a)};_.Zq=function(a){Kjf(this,a)};G1c(2601,1,{});_.Xq=function(a){RBd(this.a,fOj,a)};_.Zq=function(a){RBd(this.a,q$j,a)};G1c(2604,1,Qvj);_.pd=function(){pFd(this.b,Rjf(this.a.a))};var Trb=iMd(2582),Orb=iMd(2584),Prb=iMd(2585),Qrb=iMd(2586),Urb=iMd(2589),asb=iMd(2590),Vrb=iMd(2591),Wrb=iMd(2592),Xrb=iMd(2593),Yrb=iMd(2594),Zrb=iMd(2595),$rb=iMd(2596),_rb=iMd(2597),Mrb=iMd(2580),Lrb=iMd(2581),lqb=iMd(2501),bsb=iMd(2598);Cwj(so)(6);