var ycd="Server Configuration",L9="Server Configuration ";function zcd(a,b,d,e){this.e=a;this.d=b;this.c=d;this.a=e}v(1531,1,{},zcd);_.a=null;_.b=null;_.c=null;_.d=null;_.e=null;function Acd(a){BX.call(this,o,a)}v(1532,1427,yJ,Acd);_.oj=Ru;_.Aj=KC;_.fk=fD;function Bcd(){}v(1533,1,{},Bcd);_.gk=Tu;function Ccd(a,b){this.a=a;this.b=b}v(1534,1,t,Ccd);
_.vd=function(){var a;a=XZ(this.b);if(!(0<this.b.Nj().a.b)){var b=this.a.e,d=KX(this.a.b),e=this.a.d,h;WZ(b.j);h=new H;I(K(h,q),rN);K(h,l).b=new HE;T(K(h,l),yi,cF(b.a));T(K(h,l),Xp,e.oc());NE(K(h,Mo),!0);PE(new dY(h),new Dcd(b,e,a,d))}};_.a=null;_.b=null;function Ecd(a){this.a=a}v(1535,1,t,Ecd);_.vd=function(){Fcd(this.a.e)};_.a=null;function Gcd(a,b){this.b=a;this.c=b}v(1565,1,{},Gcd);_.a=null;_.b=null;_.c=null;function Hcd(a){BX.call(this,o,a)}v(1566,1427,yJ,Hcd);_.oj=Ru;_.Aj=KC;_.fk=fD;
function Icd(){}v(1567,1,{},Icd);_.gk=Tu;function Jcd(a,b){this.a=a;this.b=b}v(1568,1,t,Jcd);_.vd=function(){var a;a=XZ(this.b);if(!(0<this.b.Nj().a.b)){var b=a.Mk(),d,e,h;d=null;for(h=this.a.c.Nc();h.Qc();)if(e=h.Rc(),w(e.oc(),b)){d=e;break}a.$k(d.Rk());a.Wk(null);a.Zk((ev(),Cy));$w((Xw(),Yw),new Kcd(this,a))}};_.a=null;_.b=null;function Kcd(a,b){this.a=a;this.b=b}v(1569,1,Bu,Kcd);
_.kc=function(){var a=this.a.a.b,b=this.b;a.j&&a.j.I&&WZ(a.j);b.oc();var d=cF(a.a),a=new Lcd(a,b),e;e=new H;I(K(e,q),lM);T(K(e,l),yi,d);T(K(e,l),Xp,b.oc());I(K(e,o),b.oc());I(K(e,Yh),b.Mk());NE(K(e,Jea),b.Sk());b.Nk()&&I(K(e,Lj),b.Nk().oc());I(K(e,sq),b.Rk());ME(K(e,Zia),b.Ok());PE(new QE(e),new Mcd(a))};_.a=null;_.b=null;function Ncd(a){this.a=a}v(1570,1,t,Ncd);_.vd=function(){Fcd(this.a.b)};_.a=null;function Ocd(a){this.c=(ev(),Cy);this.d=a}v(1571,1,{},Ocd);_.a=null;_.b=null;_.d=null;_.e=null;
function Pcd(a){this.a=a}v(1572,1,{},Pcd);_.Xj=function(a){var b=this.a.d,d=XZ(this.a.a),e,h;a.Ii(Sn)&&a.ai(uq,d.Rk());a.Ii(uq)&&a.ai(Sn,RB(d.Ok()));d=d.oc();h=new H;I(K(h,q),UN);T(K(h,l),yi,cF(b.a));T(K(h,l),Xp,d);e=(hF(),N).$h(vE);a=g1(h,a,e);PE(new QE(a),new Qcd(b,d))};_.a=null;function Rcd(a){OX.call(this,uq,a)}v(1573,1574,LJ,Rcd);_.oj=function(){return(G(),Bsb)+" or portOffset undefined"};_.fk=function(){return!(this.u&&w(KX(this),g))};function Scd(a){this.a=a}v(1575,1,{},Scd);
_.gk=function(){var a;a=new H;T(a,yi,cF(this.a.d.a));CI(BI(a),Xp,oa);return a};_.a=null;function Tcd(a,b){this.a=a;this.b=b}v(1576,1,t,Tcd);_.bg=function(){var a,b,d;if((d=yU(this.b.W.k))&&w(g,d.Rk()))for(b=this.a.c.Nc();b.Qc();)if(a=b.Rc(),w(a.oc(),d.Mk())){$w((Xw(),Yw),new Ucd(this,a));break}};_.a=null;_.b=null;function Ucd(a,b){this.a=a;this.b=b}v(1577,1,Bu,Ucd);_.kc=function(){LX(this.a.a.e,this.b.Rk())};_.a=null;_.b=null;function Fcd(a){a.j&&a.j.I&&WZ(a.j)}
function Vcd(a){a.j=new v0(zK+(G(),ycd));w0(a.j,480);x0(a.j,360);hY(a.g,new Wcd(a))}function M9(a){sY(a.a,new Xcd(a));hY(a.g,new Ycd(a))}function Zcd(a,b,d,e,h,j,m,p){$V.call(this,a,b,d,null);this.c=e;this.g=h;this.b=j;this.e=m;this.a=p;this.d=new m5b}v(1578,931,fu,Zcd);_.hk=function(){WZ(this.f)};_.ik=function(a){this.f=new v0(zK+(G(),"System Property"));w0(this.f,480);x0(this.f,360);y0(this.f,p1(new r1(this,a,!0)));cS(this.f);z0(this.f)};
_.hi=function(){this.y.c=this;Dy(this.v,($cd(),add),this);Dy(this.v,(O1(),P1),this)};_.jk=function(){};_.kk=function(a,b){var d;d=new H;T(d,yi,cF(this.a));CI(BI(d),Xp,a);T(d,Lj,b.oc());W6b(new Y6b(this.b,d),b,new bdd(this))};_.lk=function(a,b){var d;this.f&&this.f.I&&WZ(this.f);d=new H;T(d,yi,cF(this.a));CI(BI(d),Xp,a);T(d,GN,b.Vo());V7b(new n1(this.b,d),b,new cdd(this))};_.mk=function(a,b){var d;d=new H;T(d,yi,cF(this.a));CI(BI(d),Xp,a);T(d,Lj,b.oc());Z6b(new a7b(this.b,d),new ddd(this))};
_.nk=function(a,b){var d;d=new H;T(d,yi,cF(this.a));CI(BI(d),Xp,a);T(d,GN,b.Vo());X7b(new o1(this.b,d),b,new edd(this))};_.Hk=XC;_.mi=XC;_.ok=function(a,b,d){var e;0<d.Yc()&&(e=new H,T(e,yi,cF(this.a)),CI(BI(e),Xp,a),CI(BI(e),Lj,b),a=new r7b(this.b,e),p7b(a,d,new fdd(this)))};_.pi=function(a){var b;b=ZA(a,"action",null);w("new",b)&&Vcd(this);ZA(a,"config",null)};_.qi=function(){AA(this,new aW((DX(),EX),this))};_.a=null;_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;_.g=null;_.i=null;_.j=null;
function gdd(a){this.a=a}v(1579,1214,{},gdd);_.og=function(a){var b=this.a.y;b.a&&(b=b.a,mVb(b.e),bT(b.e.d,0),MX(b.e,a));M9(this.a)};_.a=null;function ddd(a){this.a=a}v(1580,1214,{},ddd);_.og=function(){M9(this.a)};_.a=null;function fdd(a){this.a=a}v(1581,1214,{},fdd);_.og=function(){M9(this.a)};_.a=null;function cdd(a){this.a=a}v(1582,1214,{},cdd);_.og=function(){M9(this.a)};_.a=null;function edd(a){this.a=a}v(1583,1214,{},edd);_.og=function(){M9(this.a)};_.a=null;
function hdd(a,b){this.a=a;this.b=b}v(1584,1214,{},hdd);_.og=function(){this.b.Rk()};_.a=null;_.b=null;function idd(a,b){var d=a.b.oc();i7b(a.a.y.b,d,b)}function jdd(a,b){this.a=a;this.b=b}v(1585,1214,{},jdd);_.og=function(a){idd(this,a)};_.a=null;_.b=null;function kdd(a,b){var d=a.b.oc();I0(a.a.y.d,d,b)}function ldd(a,b){this.a=a;this.b=b}v(1586,1214,{},ldd);_.og=function(a){kdd(this,a)};_.a=null;_.b=null;function mdd(a,b){this.a=a;this.b=b}v(1587,1214,{},mdd);
_.og=function(a){var b=this.a.j,d=new zcd(this.a,this.b,a,cF(this.a.a)),e,h,j,m,p,u,A,J,a=new nS;a.db[Je]=TN;V(a,new FY("<h3>Create copy</h3> You are about to create a copy of server-configuration <b>'"+d.d.oc()+"'</b>. Please verify the port offset to avoid conflicts when starting the server."));e=new xZ(vE);u=new Acd((G(),Vb));yX(u,d.d.oc()+"_copy");A=new M0(Sn,"Port Offset");j=new Wx(d.c.Yc());J=1;m=0;for(p=d.c.Nc();p.Qc();)h=p.Rc(),h=h.oc(),Tw(j.a,j.b++,h),w(h,d.a)&&(J=m),++m;d.b=new OX(yi,RK);
MX(d.b,j);j=d.b;J+=1;m=w(PS(j.d,J),g);j.v=m;aT(j.d,J,!0);iX(e,Uf,z(fX,zJ,212,[u,A,d.b]));V(a,xY(new yZ(new Bcd,e)));V(a,aX(e));d=new $Z(new Ccd(d,e),new Ecd(d));a=UZ(new VZ(a,d));y0(b,a);cS(this.a.j);z0(this.a.j)};_.a=null;_.b=null;function Dcd(a,b,d,e){this.a=a;this.c=b;this.b=d;this.d=e}v(1588,1,{},Dcd);_.hc=function(a){uD("Failed to read server-config: "+this.c.oc(),a.Lb())};
_.og=function(a){var b,d,e,a=TE(a);a.b.vL(r)&&K(a,r).b.b!=(L(),M)&&!w(K(a,r).b.le(),yr)?uD("Failed to read server-config: "+this.c.oc(),UE(a)):(b=K(a,qp).b.nL(),ME(K(b,Zia),this.b.Ok()),b.b.wL(o),a=new H,I(K(a,q),$e),K(a,l).b=new HE,e=new x,d=new H,I(K(d,q),lM),T(K(d,l),yi,this.d),T(K(d,l),Xp,this.b.oc()),Tw(e.a,e.b++,d),fmc(b,d,e),OE(K(a,gr),e),PE(new QE(a),new ndd(this,this.b)))};_.a=null;_.b=null;_.c=null;_.d=null;function ndd(a,b){this.a=a;this.b=b}v(1589,1214,{},ndd);
_.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("Failed to copy server-config",UE(a)):DW("Successfully copied server-config '"+this.b.oc()+la);M9(this.a.a)};_.a=null;_.b=null;function Xcd(a){this.a=a}v(1590,1214,{},Xcd);_.og=function(a){var b=this.a.a,a=a.b.oc();mWb(b.c,a,new odd(b,new pdd(this)))};_.a=null;function pdd(a){this.a=a}v(1591,1214,{},pdd);_.og=function(a){qdd(this.a.a.y,a)};_.a=null;function Ycd(a){this.a=a}v(1592,1214,{},Ycd);
_.og=function(a){var b=this.a.y.a,d,e;b.c=a;d=new Wx(a.Yc());for(e=a.Nc();e.Qc();)a=e.Rc(),Mv(d,a.oc());MX(b.b,d)};_.a=null;function Wcd(a){this.a=a}v(1593,1214,{},Wcd);
_.og=function(a){this.a.i=a;var a=this.a.j,b,d=new Gcd(this.a,this.a.i),e,h,j,m,p,u,A;b=new nS;b.db[Je]=TN;e=new xZ(vE);j=new Hcd((G(),Vb));A=new CZ(Qd,"Auto Start?");m=new M0(Sn,"Port Offset");h=new Wx(d.c.Yc());for(u=d.c.Nc();u.Qc();)p=u.Rc(),Mv(h,p.oc());d.a=new OX(Yh,WL);d.a.c=!0;MX(d.a,h);iX(e,Uf,z(fX,zJ,212,[j,d.a,m,A]));V(b,xY(new yZ(new Icd,e)));V(b,aX(e));d=new $Z(new Jcd(d,e),new Ncd(d));b=UZ(new VZ(b,d));y0(a,b);cS(this.a.j);z0(this.a.j)};_.a=null;
function rdd(a){G();vD(wD(xD(tD.a)),new CW("Failed to add Server Configuration "+a.b.oc(),(zD(),AD)))}function sdd(a,b){b.a?(DW(oK+(G(),L9)+a.b.oc()),M9(a.a)):(Fcd(a.a),BW(KK+(G(),L9)+a.b.oc()));AA(a.a,new wX(xtb))}function Lcd(a,b){this.a=a;this.b=b}v(1594,1,{},Lcd);_.hc=function(){rdd(this)};_.og=function(a){sdd(this,a)};_.a=null;_.b=null;function Qcd(a,b){this.a=a;this.b=b}v(1595,1214,{},Qcd);
_.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(LK+(G(),L9)+this.b,UE(a)):DW(cL+(G(),L9)+this.b);M9(this.a)};_.a=null;_.b=null;function tdd(a,b){this.a=a;this.b=b}v(1596,1,{},tdd);_.hc=function(){var a=this.a,b=this.b;udd(cF(a.a),b,new vdd(a,b))};
_.og=function(a){var b,d,a=TE(a);b=K(a,r).b.le();d=w(b,yr)?(C(),D):(C(),E);w(b,yr)&&(d=(C(),UB(K(K(a,qp),"server-state").b.le(),Ip)?D:E));d.a?uD(MK+(G(),ycd),"The server instance is still running: "+this.b.oc()):(a=this.a,b=this.b,udd(cF(a.a),b,new vdd(a,b)))};_.a=null;_.b=null;function wdd(a){G();vD(wD(xD(tD.a)),new CW("Failed to remove Server Configuration "+a.b.oc(),(zD(),AD)))}function xdd(a,b){b.a?(DW(pL+(G(),L9)+a.b.oc()),M9(a.a)):BW(MK+(G(),L9)+a.b.oc());AA(a.a,new wX(xtb))}
function vdd(a,b){this.a=a;this.b=b}v(1597,1,{},vdd);_.hc=function(){wdd(this)};_.og=function(a){xdd(this,a)};_.a=null;_.b=null;function bdd(a){this.a=a}v(1598,1214,{},bdd);_.og=function(){M9(this.a)};_.a=null;function qdd(a,b){qU(a.e.a);pU(a.e.a,b.a);WKb(a.e);t0(a.b.d);H0(a.d);u0(a.f)}function ydd(){this.f=new q0(8,new zdd);this.e=new mU;aU(this.e,this.f)}v(1601,1130,uu,ydd);
_.Ti=function(){var a,b,d,e;b=new GX;a=new IX((G(),nK),new Add(this));a.b=ya;a.a=lM;GO(a,"addBtnServerConfigView");HX(b,a);a=new K0(oL);RO(a,new Bdd(this),(IP(),IP(),JP));a.b=ya;a.a=sN;GO(a,"deleteBtnServerConfigView");HX(b,a);a=new K0("Copy");RO(a,new Cdd(this),JP);a.b=ya;a.a=lM;HX(b,a);b.a=ya;d=new Ddd(new zO);a=new Edd(new zO);e=new Fdd(new zO);PQ(this.f,d,"Configuration Name");PQ(this.f,a,WL);PQ(this.f,e,"Auto Start?");this.a=new Ocd(this.c);this.b=new j7b(this.c,!0,!0);this.b.a=new Gdd(this);
this.d=new J0(this.c,!0);b=MY(LY(HY(JY(OY(new PY,"Group Configurations"),Dob),"A server configuration does specify the overall configuration of a server. A server configuration can be started and perform work. Server configurations belong to server groups."),"Available Server Configurations",this.f),b);a=i;e=this.a;var h,j,m;d=new nS;d.db[Je]=JM;e.a=new xZ(vE);h=new s0(e.a,new Pcd(e));V(d,wY(h));h=new ZZ(o,Vb);m=new CZ(Qd,(G(),"Auto Start?"));e.b=new OX(Yh,WL);j=new M0(Sn,"Port Offset");e.e=new Rcd(XL);
iX(e.a,Uf,z(fX,zJ,212,[h,m,e.b,e.e,j]));V(d,xY(new yZ(new Scd(e),e.a)));gX(e.a,!1);V(d,aX(e.a));e=e.a;e.f&&(e.f.a=ya);b=CY(CY(CY(b,a,d),"JVM Configuration",e7b(this.b)),ZL,F0(this.d));a=this.b;a.n&&(a.n.b=ya);a.d&&(a=a.d,a.f&&(a.f.a=ya));a=this.a;d=this.f;ZW(a.a,d);d.W.k.mh(new Tcd(a,d));this.f.W.k.mh(new Hdd(this));return EY(b)};_.a=null;_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;function zdd(){}v(1602,1,{},zdd);_.ih=ew;function Add(a){this.a=a}v(1603,1,t,Add);_.vd=function(){Vcd(this.a.c)};
_.a=null;function Bdd(a){this.a=a}v(1604,1,t,Bdd);_.vd=function(){var a;a=yU(this.a.f.W.k);JZ((G(),"Remove Server Config"),'"Do you want to remove server config '+a.oc()+Sa,new Idd(this,a))};_.a=null;function Idd(a,b){this.a=a;this.b=b}v(1605,1,{},Idd);_.Yj=function(a){if(a){var a=this.a.a.c,b=this.b,d;d=new H;T(K(d,l),yi,cF(a.a));T(K(d,l),Wp,b.oc());NE(K(d,PM),!0);I(K(d,q),rN);PE(new QE(d),new tdd(a,b))}};_.a=null;_.b=null;function Cdd(a){this.a=a}v(1606,1,t,Cdd);
_.vd=function(){var a=this.a.c,b=yU(this.a.f.W.k);a.j=new v0("New Server Configuration");w0(a.j,480);x0(a.j,380);kWb(a.c,new mdd(a,b))};_.a=null;function Ddd(a){this.c=a}v(1607,574,BJ,Ddd);_.gc=ew;function Edd(a){this.c=a}v(1608,574,BJ,Edd);_.gc=function(a){return a.Mk()};function Fdd(a){this.c=a}v(1609,574,BJ,Fdd);_.gc=function(a){return g+a.Sk()};function Gdd(a){this.a=a}v(1610,1,{},Gdd);_.gk=function(){var a;a=new H;T(a,yi,cF(this.a.c.a));CI(BI(a),Xp,oa);CI(BI(a),Lj,oa);return a};_.a=null;
function Hdd(a){this.a=a}v(1611,1,t,Hdd);_.bg=function(){var a=this.a.c,b=yU(this.a.f.W.k);if(b){var d=a.c,e=cF(a.a),h=new jdd(a,b),j;j=new H;I(K(j,q),qN);T(K(j,l),yi,e);T(K(j,l),Xp,b.oc());I(K(j,De),Lj);PE(new QE(j),new Jdd(d,h));d=a.c;e=cF(a.a);h=new ldd(a,b);j=new H;I(K(j,q),qN);T(K(j,l),yi,e);T(K(j,l),Xp,b.oc());I(K(j,De),GN);PE(new QE(j),new Kdd(d,h));null!=b.Rk()&&!w(b.Rk(),g)&&k5b(a.d,b.Rk(),new hdd(a,b));SE();AA(a,new Dzc(ya,z(B,s,1,[b.oc()])))}};_.a=null;
function $cd(){$cd=Nu;add=new uw}var add;v(1660,1,vu);_.ic=function(){var a=this.b,b=this.a.a,d;if(!b.j){d=vA(wB(b.a));var e;b.k||(e=new ydd,b.k=e);d=new Zcd(d,b.k,nwa(b),yE(jE(b.a)),nY(jE(b.a)),(zE(oE(b.a)),BE(nE(b.a)),AE(lE(b.a))),uB(xB(b.a)),eF(mE(b.a)));yA((iE(b.a),d),KA(iE(b.a)));b.j=d}RA(a,b.j)};v(1670,1,{});_.Wk=function(a){Z(this.a).Wk(a)};_.Zk=function(a){Z(this.a).Zk(a)};v(1671,1,{});_.Wk=function(a){$(this.a,Lj,a)};_.Zk=function(a){$(this.a,ro,a)};
function udd(a,b,d){var e;e=new H;I(K(e,q),sN);T(K(e,l),yi,a);T(K(e,l),Xp,b.oc());PE(new QE(e),new Ldd(d))}function Mcd(a){this.a=a}v(1684,1,{},Mcd);_.hc=function(){rdd(this.a)};_.og=function(a){a=TE(a);a=K(a,r).b.le();a=w(a,yr)?(C(),D):(C(),E);sdd(this.a,a)};_.a=null;function Ldd(a){this.a=a}v(1685,1,{},Ldd);_.hc=function(){wdd(this.a)};_.og=function(a){a=TE(a);a=(C(),a.b.vL(r)&&K(a,r).b.b!=(L(),M)&&!w(K(a,r).b.le(),yr)?E:D);xdd(this.a,a)};_.a=null;function Jdd(a,b){this.a=a;this.b=b}
v(1686,1214,{},Jdd);_.og=function(a){var b,a=TE(a);a.b.vL(r)&&K(a,r).b.b!=(L(),M)&&!w(K(a,r).b.le(),yr)?ED(new aw("Failed to load jvms: "+UE(a))):(a=K(a,qp).b.pL(),a.Wc()?idd(this.b,null):(b=a.ad(0),a=gY(this.a.b,b.b.b.nL()),a.td(b.a),idd(this.b,a)))};_.a=null;_.b=null;function Kdd(a,b){this.a=a;this.b=b}v(1687,1214,{},Kdd);
_.og=function(a){var b,d,e,a=TE(a);if(a.b.vL(r)&&K(a,r).b.b!=(L(),M)&&!w(K(a,r).b.le(),yr))ED(new aw("Failed to load server:"+UE(a)));else{d=K(a,qp).b.pL();a=new Wx(d.Yc());for(d=d.Nc();d.Qc();)b=d.Rc(),e=(new jY(this.a.a)).a,u1(e,b.a),b=b.b.b.nL(),lY(e,K(b,it).b.le()),mY(e,K(b,uM).b.gL()),Tw(a.a,a.b++,e);kdd(this.b,a)}};_.a=null;_.b=null;function odd(a,b){this.a=a;this.b=b}v(2601,1214,{},odd);
_.og=function(a){if(a.Wc())a=(new EVb(this.a.b)).a,Z(a.a).td(wm),a=new Mdd((ev(),Cy)),qdd(this.b.a.a.y,a);else{var b=this.a,d,e,h;if(a.Wc())throw new Yv("No sever configs available!");d=null;for(h=a.Nc();h.Qc();)if(e=h.Rc(),b.e&&w(e.oc(),b.e.a)){d=e;break}!d&&(d=a.ad(0));b.e=new S9b(d.oc(),d.Tk());qdd(this.b.a.a.y,new Mdd(a))}};_.a=null;_.b=null;function Mdd(a){this.a=a}v(2613,1,{},Mdd);_.a=null;F(1578);F(1579);F(1590);F(1591);F(1592);F(1593);F(1594);F(1595);F(1596);F(1597);F(1598);F(1580);F(1581);
F(1582);F(1583);F(1584);F(1585);F(1586);F(1587);F(1588);F(1589);F(1601);F(1602);F(1603);F(1604);F(1605);F(1606);F(1607);F(1608);F(1609);F(1610);F(1611);F(2601);F(1684);F(1685);F(1686);F(1687);F(2613);F(1571);F(1572);F(1573);F(1575);F(1576);F(1577);F(1565);F(1566);F(1567);F(1568);F(1569);F(1570);F(1531);F(1532);F(1533);F(1534);F(1535);vw(jJ)(44);function KC(){}function Tu(){var a;a=new H;T(a,yi,cF(eF(mE((G(),tD).a))));CI(BI(a),Xp,oa);return a}function ew(a){return a.oc()}
function Ru(){return G(),Rnb}function XC(){w(VA(this.e).a,this.r.yi())&&zWb(new gdd(this))}function fD(a){var b;b=AX(this,a);a=-1!=a.indexOf(ba);return b&&!a};