function Zjf(){}
function qjf(a){this.b=a}
function Xjf(a){this.b=a}
function sjf(a){this.a=a}
function Gjf(a){this.a=a}
function Jjf(a){this.a=a}
function fkf(a){this.a=a}
function mkf(){this.b=false}
function bkf(){vfd.call(this)}
function _jf(){vfd.call(this)}
function Tjf(){cZd.call(this)}
function dkf(a){Ucd.call(this,a)}
function hkf(a){Ucd.call(this,a)}
function jkf(a,b){this.a=a;this.b=b}
function Djf(a,b){this.a=a;this.b=b}
function Qjf(a,b){a.f=b;Wjf(a.c,b)}
function Cdf(a,b){fWd(a.a,b)}
function wkf(a,b){ZCd(a.a).Xq(b)}
function xkf(a,b){ZCd(a.a).Zq(b)}
function Wjf(a,b){Sxd(a.a,b);yqg(a.c)}
function Qef(a,b){xef.call(this,(Gef(),Eef),b);this.b=a}
function Fkf(a){var b;if(!a.d){b=new Tjf;a.d=b}return a.d}
function njf(a){Odf(a.j);Odf(a.c);Odf(a.d);$md(a.f,y1j);Odf(a.e);Odf(a.a)}
function pjf(a,b){Mdf(a.j,b.f);Mdf(a.c,b.d);Mdf(a.d,b.c);$md(a.f,y1j+$f(b.c.a,2));Mdf(a.e,b.e);Mdf(a.a,b.a)}
function Sjf(a,b){b.b?pjf(a.a,b):UXd('Metric not enabled on '+(PXd(),a.b[0]))}
function lkf(a,b,d,e,g){this.f=a;this.d=b;this.c=d;this.e=e;this.a=g;this.b=true}
function yjf(a,b,d,e,g,i,j){J8d.call(this,a,b,d,e);this.d=g;this.c=j;this.b=i;this.a=new h0i(Rsb)}
function ojf(a,b){var d;a.i=b;d=(QMd(),VOd(DAj,b[2])?PMd:OMd).a?b[1]:b[0]+vAj+b[1];Wmd(a.g,'Persistence Unit Metrics: '+d)}
function Rjf(a,b){var d,e;a.b=b;if(null==b)u1i(a.d,0);else{ojf(a.a,b);if(a.f){for(e=a.f.oc();e.gc();){d=e.hc();if(UOd(d.Tq(),b[1])){break}}}ujf(a.e,b);u1i(a.d,1)}}
function Ijf(a,b){var d;d=hnj(b);if(d.b.gN(CGj)&&s7i(d,CGj).b.b!=(Klj(),Jlj)&&!UOd(s7i(d,CGj).b.Ze(),DGj)){VXd(k0j+(PXd(),H1j),u7i(d))}else{WXd(l0j+(PXd(),H1j));xjf(a.a,false)}}
function Ekf(a){var b;if(!a.c){b=new yjf(QEd(Nbe(a.a)),Fkf(a),Dkf(a),(Rnj(sde(a.a)),Uoj(ude(a.a))),(V0i(qde(a.a)),lLg(Gce(a.a))),a6e(mce(a.a)),oId(Pbe(a.a)));aFd((Obe(a.a),b),ZFd(Obe(a.a)));a.c=b}return a.c}
function Cjf(a,b){var d,e,g,i,j;d=hnj(b);if(d.b.gN(CGj)&&s7i(d,CGj).b.b!=(Klj(),Jlj)&&!UOd(s7i(d,CGj).b.Ze(),DGj)){Wc((e_j+(PXd(),'JPA Deployments'),u7i(d)))}else{g=new Xs;e=s7i(d,oGj);i=s7i(e,E1j);j=s7i(e,F1j);wjf(a.a,i,g);wjf(a.a,j,g);Qjf(a.a.A,g)}a.b&&Rjf(a.a.A,a.a.e)}
function ujf(a,b){var d,e,g;d=new Q7i;G7i(s7i(d,hGj),Idf());if(b[0].indexOf(xAj)!=-1){e=ePd(b[0],xAj,0);l7i(s7i(d,hGj),aMj,e[0]);l7i(s7i(d,hGj),z1j,e[1])}else{l7i(s7i(d,hGj),aMj,b[0])}l7i(s7i(d,hGj),wHj,BFj);g=(QMd(),VOd(DAj,b[2])?PMd:OMd).a?b[1]:b[0]+vAj+b[1];l7i(s7i(d,hGj),A1j,g);B7i(s7i(d,fGj),_$j);J7i(s7i(d,a_j),true);nnj(new Gmj(d),new Gjf(a))}
function vjf(a,b,d){var e,g,i,j,k;e=new Q7i;G7i(s7i(e,hGj),Idf());g=b.Sq();if(b.Uq()){k=b.Tq();l7i(s7i(e,hGj),aMj,b.Sq())}else{if(g.indexOf(xAj)!=-1){j=ePd(g,xAj,0);l7i(s7i(e,hGj),aMj,j[0]);l7i(s7i(e,hGj),z1j,j[1])}else{l7i(s7i(e,hGj),aMj,g)}k=g+vAj+b.Tq()}l7i(s7i(e,hGj),wHj,BFj);l7i(s7i(e,hGj),A1j,k);i=Y_i(a.a,d,e,$L(R1c,bxj,281,[]));nnj(new Gmj(i),new Jjf(a))}
function xjf(a,b){var d,e,g,i;njf(a.A.a);Qjf(a.A,(STd(),PTd));Rjf(a.A,null);e=new Q7i;s7i(e,hGj).b=new olj;B7i(s7i(e,fGj),gGj);g=new Xs;d=new Q7i;B7i(s7i(d,fGj),_$j);G7i(s7i(d,hGj),Idf());l7i(s7i(d,hGj),aMj,ICj);l7i(s7i(d,hGj),wHj,BFj);J7i(s7i(d,a_j),true);J7i(s7i(d,A$j),true);i=new Q7i;B7i(s7i(i,fGj),_$j);G7i(s7i(i,hGj),Idf());l7i(s7i(i,hGj),aMj,ICj);l7i(s7i(i,hGj),z1j,ICj);l7i(s7i(i,hGj),wHj,BFj);J7i(s7i(i,a_j),true);J7i(s7i(i,A$j),true);g.a[g.b++]=d;g.a[g.b++]=i;F7i(s7i(e,nGj),g);nnj(new Gmj(e),new Djf(a,b))}
function wjf(a,b,d){var e,g,i,j,k,n,o,p,q,r,s,t,u,v;k=s7i(b,oGj).b.ZM();for(g=k.oc();g.gc();){e=g.hc();i=s7i(s7i(e,hGj).b._M(),aMj).b.Ze();j=s7i(e,oGj).b._M();if(j.b.gN(A1j)&&s7i(j,A1j).b.b!=(Klj(),Jlj)){v=s7i(j,A1j).b.bN();for(t=v.oc();t.gc();){s=t.hc();o=(new pkf(a.b)).a;u=s.b;q=s.a;r=ePd(q,vAj,0);p=q.indexOf(i)==-1;if(r.length>1&&!p){wkf(o,r[0]);xkf(o,r[1])}else{ZCd(o.a).Wq(true);QMd();ZCd(o.a).Xq(i);ZCd(o.a).Zq(q)}n=u.b.gN(BHj)&&s7i(u,BHj).b.b!=(Klj(),Jlj)&&s7i(u,BHj).b.UM();ZCd(o.a).Yq(n);QMd();d.a[d.b++]=o}}}}
function Fjf(a,b){var d,e,g,i,j,k,n,o;k=hnj(b);if(k.b.gN(CGj)&&s7i(k,CGj).b.b!=(Klj(),Jlj)&&!UOd(s7i(k,CGj).b.Ze(),DGj)){VXd(e_j+(PXd(),G1j),u7i(k))}else{g=s7i(k,oGj).b._M();e=s7i(g,BHj).b.UM();if(e){o=new Edf($L(a0c,axj,-1,[s7i(g,h1j).b.$M(),s7i(g,i1j).b.$M()]));j=new Edf($L(a0c,axj,-1,[s7i(g,o1j).b.$M(),s7i(g,p1j).b.$M()]));Cdf(j,s7i(g,'query-execution-max-time-query-string').b.Ze());i=new Edf($L(a0c,axj,-1,[s7i(g,k1j).b.$M(),s7i(g,m1j).b.$M(),s7i(g,n1j).b.$M()]));n=new Edf($L(a0c,axj,-1,[s7i(g,q1j).b.$M(),s7i(g,r1j).b.$M(),s7i(g,s1j).b.$M()]));d=new Edf($L(a0c,axj,-1,[s7i(g,u1j).b.$M(),s7i(g,v1j).b.$M(),s7i(g,'connect-count').b.$M()]));Sjf(a.a.A,new lkf(o,i,j,n,d))}else{Sjf(a.a.A,new mkf)}}}
function Vjf(a){var b,d,e,g,i,j,k,n,o,p,q,r;a.c=new Cqg(8,new Zjf);n=new _jf;r=new bkf;q=new dkf(new On);o=new hkf(new D2i((PXd(),J0j),new fkf(a)));g7c(a.c,r,J1j);g7c(a.c,n,K1j);g7c(a.c,q,L1j);g7c(a.c,o,K0j);Aqg(a.c,new $yd);a.a=new Txd;ixd(a.a,a.c);e=new a$f(Rsb);e.k=false;!!e.f&&P0d(e);b=new phj(DRj,K1j);p=new phj(M1j,'Unit');d=new hWf(pZj,L1j);M0d(e,sGj,$L(P1c,Ryj,262,[b,p,d]));j=new kZd('metric-enabled: Wether or nor statistics should be collected for a persistence unit.');F0d(e,a.c);i=new A0i(e,new jkf(a,e));g=new rwd;owd(g,y0i(i));owd(g,iZd(j));owd(g,G0d(e));k=LAe(TAe(OAe(RAe(XAe(WAe(new ZAe),G1j),'Persistence Units'),'Available persistence units. You may need to enable statistics per deployment in order view the metrics.'),'Available Persistence Units',a.c),J1j,g);return MAe(k)}
function mjf(a){var b,d,e,g,i,j,k,n,o,p,q,r,s,t,u,v;u=new Kef(h1j,'Completed');b=$L(s1c,bxj,196,[(u.c=true,u),wef(new Kef(i1j,'Successful'),u)]);PXd();a.j=Vdf(new Wdf(j1j,w_j),b);j=new Kef(k1j,l1j);i=$L(s1c,bxj,196,[(j.c=true,j),wef(new Kef(m1j,y_j),j),wef(new Kef(n1j,z_j),j)]);a.c=Vdf(new Xdf('Query Cache',w_j,false),i);n=new Kef(o1j,'Execution Count');k=$L(s1c,bxj,196,[n,new Kef(p1j,'Max Time')]);a.d=Vdf(new Xdf('Query Execution',w_j,false),k);r=new Kef(q1j,l1j);q=$L(s1c,bxj,196,[(r.c=true,r),wef(new Kef(r1j,y_j),r),wef(new Qef(s1j,z_j),r)]);a.e=Vdf(new Wdf(t1j,w_j),q);t=new Kef(u1j,'Sessions opened');d=$L(s1c,bxj,196,[(t.c=true,t),wef(new Qef(v1j,'Closed'),t)]);a.a=Vdf(new Wdf(w1j,w_j),d);a.g=new _md;wr(a.g,H0j);e=new rwd;rz((Mfd(),e.gb),x_j);owd(e,Ndf(a.a));v=new rwd;rz(v.gb,x_j);owd(v,Ndf(a.j));o=new rwd;rz(o.gb,x_j);a.f=new _md;wr(a.f,x1j);qz(kr(a.f),G_j,'padding:5px');owd(o,Ndf(a.d));owd(o,Ndf(a.c));s=new rwd;rz(s.gb,x_j);owd(s,Ndf(a.e));p=new cnd(B_j);rz(p.gb,C_j);p.gb.style[$Bj]=(wC(),hCj);p.gb.style[dCj]=-65+(sD(),LAj);p.gb.style[D_j]=f1j;QA(p.gb.style,mB());p.gb.style[cCj]=g1j;p.sh(new sjf(a));g=oBe(oBe(oBe(oBe(oBe(rBe(tBe(uBe(new xBe),a.g),'Runtime information about Hibernate use in the deployment.'),Izj,p),w1j,e),j1j,v),'Queries',o),t1j,s);return pBe(g)}
var y1j='<b>Max Time Query<\/b>: ',H1j='JPA Deployment',L1j='Metrics Enabled?',l1j='Put Count',t1j='Second Level Cache',h1j='completed-transaction-count',D1j='custom',B1j='dpl',m1j='query-cache-hit-count',n1j='query-cache-miss-count',k1j='query-cache-put-count',o1j='query-execution-count',p1j='query-execution-max-time',r1j='second-level-cache-hit-count',s1j='second-level-cache-miss-count',q1j='second-level-cache-put-count',v1j='session-close-count',u1j='session-open-count',i1j='successful-transaction-count';f3c(2504,2500,gzj,Qef);f3c(2583,1,{},qjf);f3c(2584,1,vxj,sjf);_.he=function(a){ujf(this.a.b,this.a.i)};f3c(2585,1402,hyj,yjf);_.Qi=function(){this.A.e=this;I8d(this,Byh(pde((PXd(),NXd).a)))};_.Vi=function(){this.B&&xjf(this,true)};_.Yi=function(a){var b;b=rId(a,B1j,null);b!=null?(this.e=$L(Y0c,ixj,1,[b,rId(a,C1j,null),rId(a,D1j,null)])):(this.e=null)};_.Zi=function(){suf(this.d,this)};f3c(2587,1644,{},Djf);_.dh=function(a){Cjf(this,a)};_.b=false;f3c(2588,1644,{},Gjf);_.dh=function(a){Fjf(this,a)};f3c(2589,1644,{},Jjf);_.dh=function(a){Ijf(this,a)};f3c(2592,1209,Qyj,Tjf);_.Ah=function(){var a,b,d;this.d=new v1i;this.c=new Xjf(this.e);this.a=new qjf(this.e);s1i(this.d,(PXd(),n0j),Vjf(this.c));s1i(this.d,'Basic Metrics',mjf(this.a));u1i(this.d,0);a=new God;d=new zij(I1j);wod(a,d,a.n.c);b=t1i(this.d);wod(a,b,a.n.c);Eod(a,d,0,(sD(),rD),40,rD);Eod(a,b,40,rD,100,pD);return a};f3c(2593,1,{},Xjf);f3c(2594,1,{},Zjf);_.ai=function(a){return a.Sq()+J_j+a.Tq()};f3c(2595,676,Rxj,_jf);_.md=function(a){return a.Sq()};f3c(2596,676,Rxj,bkf);_.md=function(a){return a.Tq()};f3c(2597,644,Rxj,dkf);_.md=function(a){var b;return a.Vq()?(b=(Vhj(),Phj)):(b=(Uhj(),Ohj)),b};f3c(2598,1,{},fkf);_.gd=function(a){XGd(this.a.b.c,tId(tId(tId(new uId(uEj),B1j,a.Sq()),C1j,a.Tq()),D1j,Izj+a.Uq()),true)};f3c(2599,644,Rxj,hkf);_.md=function(a){return a};f3c(2600,1,{},jkf);_.Dk=function(a){vjf(this.a.b,this.b.c,a)};f3c(2601,1,{},lkf,mkf);_.b=false;f3c(2603,1,{});_.Wq=function(a){ZCd(this.a).Wq(a);QMd()};_.Xq=function(a){wkf(this,a)};_.Zq=function(a){xkf(this,a)};f3c(2604,1,{});_.Wq=function(a){$Cd(this.a,N1j,(QMd(),a?PMd:OMd))};_.Xq=function(a){$Cd(this.a,DRj,a)};_.Zq=function(a){$Cd(this.a,M1j,a)};f3c(2607,1,Pyj);_.pd=function(){yGd(this.b,Ekf(this.a.a))};var Dsb=wNd(2585),ysb=wNd(2587),zsb=wNd(2588),Asb=wNd(2589),Esb=wNd(2592),Msb=wNd(2593),Fsb=wNd(2594),Gsb=wNd(2595),Hsb=wNd(2596),Isb=wNd(2597),Jsb=wNd(2598),Ksb=wNd(2599),Lsb=wNd(2600),wsb=wNd(2583),vsb=wNd(2584),Xqb=wNd(2504),Nsb=wNd(2601);Dzj(_o)(6);