function V5g(){}
function X5g(){}
function Rtf(){Qtf()}
function Ctf(a){this.a=a}
function Htf(a){this.a=a}
function J5g(a){this.a=a}
function L5g(a){this.a=a}
function O5g(a){this.a=a}
function T5g(a){this.a=a}
function i6g(a){this.a=a}
function k6g(a){this.a=a}
function g6g(){this.a=new bhf}
function R5g(a,b){this.a=a;this.b=b}
function Etf(a,b){this.a=a;this.b=b}
function Atf(a){this.a=a;this.c=10}
function Ztf(a){a.b.Ub();a.a=0}
function Gtf(a,b){a.a.a.b=b.a}
function N5g(a,b){E5g(a.a,b)}
function c6g(a,b){_gf(a.a,b)}
function d6g(a,b){a.d=b;ahf(a.a,b)}
function f6g(a,b){UZf(a.b,b);a.c.ge('Server: '+r5g(b))}
function h7g(a){var b;if(!a.g){b=new g6g;a.g=b}return a.g}
function F5g(a){var b;b=new r7i;c7i(V6i(b,IFj),Vgk);V6i(b,KFj).b=new Rkj;Qmj(new hmj(b),new L5g(a))}
function E5g(a,b){var d;d=new r7i;c7i(V6i(d,IFj),y_j);c7i(V6i(d,aAj),oek);V6i(d,KFj).b=new Rkj;Qmj(new hmj(d),new R5g(a,b))}
function G5g(a){var b,d;b=new Atf(new O5g(a));d=Iij((PXd(),b9j),c9j,new Ctf(b));xq((iq(),new Etf(b,d)),500)}
function H5g(a,b,d,e,g,i){GFd.call(this,a,b,d);this.b=e;this.d=g;this.a=i;this.c=new nhf(e)}
function g7g(a){var b;if(!a.f){b=new H5g(QEd(Nbe(a.a)),h7g(a),f7g(a),(oId(Pbe(a.a)),snj(sde(a.a)),_5e(mce(a.a))),iuf(Fce(a.a)),$ee(Ybe(a.a)));aFd((Obe(a.a),b),ZFd(Obe(a.a)));a.f=b}return a.f}
function e6g(a,b){var d,e,g,i;if(b.b.rc()>0){i=b.b;e=new OPd;g=CTd(zTd(jh(i)));d=g.b?'The server configuration needs to be reloaded!':'The server needs to be restarted!';KPd((Jq(e.a,d),e),sGj);Wmd(a.f,e.a.a);Hr(a.e,g.b)}a.g.mh(b.b.rc()>0?1:0)}
function Q5g(a,b){var d,e,g;g=Kmj(b);if(g.b.gN(dGj)&&V6i(g,dGj).b.b!=(llj(),klj)&&!UOd(V6i(g,dGj).b.Ze(),eGj)){j3d(new qo('Failed to poll server state'))}else{e=V6i(g,RFj).b.Ze();d=!VOd(e,YUj);if(!d){Ztf(a.a.d);WXd(Q$j+(PXd(),Zgk));e6g(a.a.A,a.a.d);$H(a.a.v,new Rtf)}Gtf(a.b,(QMd(),d?PMd:OMd))}}
var whk='padding:15px;vertical-align:middle',vhk='padding:15px;vertical-align:middle;width:20%',uhk='status-panel';f3c(1472,1,Ywj);_.Sk=function(){this.b=null;_r(this.e)};f3c(2762,1,{},Atf);_.b=true;_.c=0;_.d=0;f3c(2763,1,{},Ctf);_.Rc=function(){this.a.b=false};f3c(2764,1,{},Etf);_.qd=function(){++this.a.d;if(this.a.d>this.a.c){PXd();dee(Vee($be(NXd.a)),new Hde(ehk,(Xde(),Wde)));this.a.b=false}else{N5g(this.a.a,new Htf(this))}!this.a.b&&!!this.b&&SFe(this.b);return this.a.b};f3c(2765,1293,{},Htf);_.dh=function(a){Gtf(this,a)};f3c(2768,425,{},Rtf);_.ve=function(a){a.Sk()};_.we=function(){return Ptf};f3c(4437,1006,Kxj,H5g);_.Qi=function(){d6g(this.A,this)};_.gm=function(){lhf(this.c,new V5g)};_.Vi=function(){var a;a=new r7i;c7i(V6i(a,IFj),C$j);k7i(V6i(a,D$j),true);V6i(a,KFj).b=new Rkj;Qmj(new hmj(a),new J5g(this));mhf(this.c,new T5g(this));e6g(this.A,this.d)};_.Zi=function(){vFd(this,new VHd((A7g(),z7g),this))};f3c(4438,1293,{},J5g);_.dh=function(a){var b,d,e;b=Kmj(a);d=(new n5g(this.a.b)).a;e=V6i(b,RFj).b._M();w5g(d,V6i(e,aAj).b.Ze());x5g(d,V6i(e,qhk).b.Ze());y5g(d,this.a.a.k);z5g(d,V6i(e,oek).b.Ze());f6g(this.a.A,d);e6g(this.a.A,this.a.d)};f3c(4439,1,{},L5g);_.od=function(a){VXd(H$j+(PXd(),Zgk),a.$b())};_.dh=function(a){var b;b=Kmj(a);b.b.gN(dGj)&&V6i(b,dGj).b.b!=(llj(),klj)&&!UOd(V6i(b,dGj).b.Ze(),eGj)?VXd(H$j+(PXd(),Zgk),X6i(b)):G5g(this.a)};f3c(4440,1,{},O5g);f3c(4441,1293,{},R5g);_.dh=function(a){Q5g(this,a)};f3c(4442,1293,{},T5g);_.dh=function(a){c6g(this.a.A,a)};f3c(4443,1293,{},V5g);_.dh=function(a){var b,d;b=new YFe(dhk);VFe(b,480);TFe(b,360);Qr(b,new X5g,dH?dH:(dH=new WF));d=new jud;zz((Mfd(),d.gb),l_j);d.gb[vAj]=a!=null?a:jzj;_r(b.n);vod(b.n,d);ykd(b);RFe(b)};f3c(4444,1,zxj,X5g);_.Ie=function(a){};f3c(4447,1410,Jxj,g6g);_.Ah=function(){var a,b,d,e,g,i,j,k,n,o,p,q,r,s,t,u,v;this.e=new fij((PXd(),rhk),new i6g(this));xr(this.e,'reloadBtnStandaloneServerView');t=new pij;jij(t,this.e);g=true;p=$ee(Ybe(NXd.a)).n;for(k=sTd(gh(p.a));k.a.gc()&&g;){o=vTd(k);g=VOd('superuser',o)||VOd('administrator',o)||VOd('maintainer',o)||VOd(shk,o)}if(!g){Nr((Mfd(),t.gb),false);oz(t.gb,thk)}this.c=new Zmd(E8j);Er(this.c,i0j);this.b=new _Zf(A0b);K0d(this.b,false);a=new Sgj(rVj,'Code Name');v=new Sgj(qVj,Uek);r=new Sgj(sVj,'Server State');M0d(this.b,VFj,gM(P1c,syj,262,[a,v,r]));this.g=new hkd;Er(this.g,$$j);d=new rwd;u=new Vnd;zz((Mfd(),u.gb),uhk);Lr(u.gb,'serverUptoDate',true);i=new qfd((whj(),qhj));e=new cnd('The server configuration is  up to date!');Qnd(u,e);Qnd(u,i);$z(i.gb).setAttribute(h_j,vhk);$z(e.gb).setAttribute(h_j,whk);owd(d,u);b=new rwd;owd(b,t);q=new Vnd;zz(q.gb,uhk);Lr(q.gb,'serverNeedsUpdate',true);j=new qfd((xhj(),rhj));this.f=new cnd('The server configuration needs to be reloaded or the server restarted!');Qnd(q,this.f);Qnd(q,j);$z(j.gb).setAttribute(h_j,vhk);$z(sr(this.f)).setAttribute(h_j,whk);owd(b,q);this.g.Sd(d);this.g.Sd(b);this.g.mh(0);n=cBe(hBe(eBe(gBe(jBe(kBe(new lBe,tGj)),this.c),'Server configuration status. In some cases the configuration needs to be reloaded in order to become effective.'),yak,G0d(this.b)),xhk,this.g);s=new n2i((AD(),zD));Lr(s.gb,R$j,true);Jtd(s,dBe(n),xWj);Jtd(s,$gf(this.a),mhk);l2i(s,0);return s};f3c(4448,1,Ywj,i6g);_.he=function(a){Hij((PXd(),'Reload server configuration'),'Do you want to reload the server configuration for server '+this.a.b.c.wd()+Zzj,new k6g(this))};f3c(4449,1,{},k6g);_.Ek=function(a){a&&F5g(this.a.a.d)};f3c(4470,1,qyj);_.pd=function(){yGd(this.b,g7g(this.a.a))};var w0b=wNd(4437),n0b=wNd(4438),o0b=wNd(4439),p0b=wNd(4440),q0b=wNd(4441),r0b=wNd(4442),s0b=wNd(4443),t0b=wNd(4444),ewb=wNd(2768),z0b=wNd(4447),y0b=wNd(4448),x0b=wNd(4449),awb=wNd(2762),Zvb=wNd(2763),_vb=wNd(2764),$vb=wNd(2765);ezj(hp)(71);