var tcd="Server Configuration",L9="Server Configuration ";function ucd(a,b,d,e){this.e=a;this.d=b;this.c=d;this.a=e}v(1526,1,{},ucd);_.a=null;_.b=null;_.c=null;_.d=null;_.e=null;function vcd(a){vX.call(this,o,a)}v(1527,1422,HJ,vcd);_.oj=Dw;_.Aj=VC;_.ek=dD;function wcd(){}v(1528,1,{},wcd);_.fk=bw;function xcd(a,b){this.a=a;this.b=b}v(1529,1,u,xcd);
_.zd=function(){var a;a=SZ(this.b);if(!(0<this.b.Mj().a.b)){var b=this.a.e,d=EX(this.a.b),e=this.a.d,h;RZ(b.j);h=new G;H(I(h,q),mN);I(h,l).b=new DE;T(I(h,l),yi,YE(b.a));T(I(h,l),Vp,e.sc());JE(I(h,Mo),!0);K(new YX(h),new ycd(b,e,a,d))}};_.a=null;_.b=null;function zcd(a){this.a=a}v(1530,1,u,zcd);_.zd=function(){Acd(this.a.e)};_.a=null;function Bcd(a,b){this.b=a;this.c=b}v(1560,1,{},Bcd);_.a=null;_.b=null;_.c=null;function Ccd(a){vX.call(this,o,a)}v(1561,1422,HJ,Ccd);_.oj=Dw;_.Aj=VC;_.ek=dD;
function Dcd(){}v(1562,1,{},Dcd);_.fk=bw;function Ecd(a,b){this.a=a;this.b=b}v(1563,1,u,Ecd);_.zd=function(){var a;a=SZ(this.b);if(!(0<this.b.Mj().a.b)){var b=a.Lk(),d,e,h;d=null;for(h=this.a.c.Rc();h.Uc();)if(e=h.Vc(),w(e.sc(),b)){d=e;break}a.Zk(d.Qk());a.Vk(null);a.Yk((ev(),zy));hx((Xw(),Yw),new Fcd(this,a))}};_.a=null;_.b=null;function Fcd(a,b){this.a=a;this.b=b}v(1564,1,Au,Fcd);
_.oc=function(){var a=this.a.a.b,b=this.b;a.j&&a.j.I&&RZ(a.j);b.sc();var d=YE(a.a),a=new Gcd(a,b),e;e=new G;H(I(e,q),gM);T(I(e,l),yi,d);T(I(e,l),Vp,b.sc());H(I(e,o),b.sc());H(I(e,Zh),b.Lk());JE(I(e,Kea),b.Rk());b.Mk()&&H(I(e,Lj),b.Mk().sc());H(I(e,qq),b.Qk());IE(I(e,aja),b.Nk());K(new LE(e),new Hcd(a))};_.a=null;_.b=null;function Icd(a){this.a=a}v(1565,1,u,Icd);_.zd=function(){Acd(this.a.b)};_.a=null;function Jcd(a){this.c=(ev(),zy);this.d=a}v(1566,1,{},Jcd);_.a=null;_.b=null;_.d=null;_.e=null;
function Kcd(a){this.a=a}v(1567,1,{},Kcd);_.Wj=function(a){var b=this.a.d,d=SZ(this.a.a),e,h;a.Ii(co)&&a.ai(sq,d.Qk());a.Ii(sq)&&a.ai(co,MB(d.Nk()));d=d.sc();h=new G;H(I(h,q),ON);T(I(h,l),yi,YE(b.a));T(I(h,l),Vp,d);e=(cF(),N).$h(rE);a=c1(h,a,e);K(new LE(a),new Lcd(b,d))};_.a=null;function Mcd(a){IX.call(this,sq,a)}v(1568,1569,hJ,Mcd);_.oj=function(){return(F(),Bsb)+" or portOffset undefined"};_.ek=function(){return!(this.u&&w(EX(this),g))};function Ncd(a){this.a=a}v(1570,1,{},Ncd);
_.fk=function(){var a;a=new G;T(a,yi,YE(this.a.d.a));xI(wI(a),Vp,oa);return a};_.a=null;function Ocd(a,b){this.a=a;this.b=b}v(1571,1,u,Ocd);_.cg=function(){var a,b,d;if((d=sU(this.b.W.k))&&w(g,d.Qk()))for(b=this.a.c.Rc();b.Uc();)if(a=b.Vc(),w(a.sc(),d.Lk())){hx((Xw(),Yw),new Pcd(this,a));break}};_.a=null;_.b=null;function Pcd(a,b){this.a=a;this.b=b}v(1572,1,Au,Pcd);_.oc=function(){FX(this.a.a.e,this.b.Qk())};_.a=null;_.b=null;function Acd(a){a.j&&a.j.I&&RZ(a.j)}
function Qcd(a){a.j=new q0(uK+(F(),tcd));r0(a.j,480);s0(a.j,360);bY(a.g,new Rcd(a))}function M9(a){nY(a.a,new Scd(a));bY(a.g,new Tcd(a))}function Ucd(a,b,d,e,h,j,m,p){VV.call(this,a,b,d,null);this.c=e;this.g=h;this.b=j;this.e=m;this.a=p;this.d=new p5b}v(1573,926,ou,Ucd);_.gk=function(){RZ(this.f)};_.hk=function(a){this.f=new q0(uK+(F(),"System Property"));r0(this.f,480);s0(this.f,360);t0(this.f,l1(new n1(this,a,!0)));VR(this.f);u0(this.f)};
_.hi=function(){this.y.c=this;Ay(this.v,(Vcd(),Wcd),this);Ay(this.v,(J1(),K1),this)};_.ik=function(){};_.jk=function(a,b){var d;d=new G;T(d,yi,YE(this.a));xI(wI(d),Vp,a);T(d,Lj,b.sc());Z6b(new a7b(this.b,d),b,new Xcd(this))};_.kk=function(a,b){var d;this.f&&this.f.I&&RZ(this.f);d=new G;T(d,yi,YE(this.a));xI(wI(d),Vp,a);T(d,AN,b.Uo());X7b(new j1(this.b,d),b,new Ycd(this))};_.lk=function(a,b){var d;d=new G;T(d,yi,YE(this.a));xI(wI(d),Vp,a);T(d,Lj,b.sc());b7b(new d7b(this.b,d),new Zcd(this))};
_.mk=function(a,b){var d;d=new G;T(d,yi,YE(this.a));xI(wI(d),Vp,a);T(d,AN,b.Uo());Z7b(new k1(this.b,d),b,new $cd(this))};_.Gk=fw;_.mi=fw;_.nk=function(a,b,d){var e;0<d.ad()&&(e=new G,T(e,yi,YE(this.a)),xI(wI(e),Vp,a),xI(wI(e),Lj,b),a=new t7b(this.b,e),r7b(a,d,new add(this)))};_.pi=function(a){var b;b=VA(a,"action",null);w("new",b)&&Qcd(this);VA(a,"config",null)};_.qi=function(){wA(this,new WV((xX(),yX),this))};_.a=null;_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;_.g=null;_.i=null;_.j=null;
function bdd(a){this.a=a}v(1574,1209,{},bdd);_.pg=function(a){var b=this.a.y;b.a&&(b=b.a,pVb(b.e),MS(b.e.d,0),GX(b.e,a));M9(this.a)};_.a=null;function Zcd(a){this.a=a}v(1575,1209,{},Zcd);_.pg=function(){M9(this.a)};_.a=null;function add(a){this.a=a}v(1576,1209,{},add);_.pg=function(){M9(this.a)};_.a=null;function Ycd(a){this.a=a}v(1577,1209,{},Ycd);_.pg=function(){M9(this.a)};_.a=null;function $cd(a){this.a=a}v(1578,1209,{},$cd);_.pg=function(){M9(this.a)};_.a=null;
function cdd(a,b){this.a=a;this.b=b}v(1579,1209,{},cdd);_.pg=function(){this.b.Qk()};_.a=null;_.b=null;function ddd(a,b){var d=a.b.sc();Z0(a.a.y.b,d,b)}function edd(a,b){this.a=a;this.b=b}v(1580,1209,{},edd);_.pg=function(a){ddd(this,a)};_.a=null;_.b=null;function fdd(a,b){var d=a.b.sc();D0(a.a.y.d,d,b)}function gdd(a,b){this.a=a;this.b=b}v(1581,1209,{},gdd);_.pg=function(a){fdd(this,a)};_.a=null;_.b=null;function hdd(a,b){this.a=a;this.b=b}v(1582,1209,{},hdd);
_.pg=function(a){var b=this.a.j,d=new ucd(this.a,this.b,a,YE(this.a.a)),e,h,j,m,p,t,A,J,a=new hS;a.db[Ke]=NN;V(a,new AY("<h3>Create copy</h3> You are about to create a copy of server-configuration <b>'"+d.d.sc()+"'</b>. Please verify the port offset to avoid conflicts when starting the server."));e=new sZ(rE);t=new vcd((F(),Yb));sX(t,d.d.sc()+"_copy");A=new H0(co,"Port Offset");j=new Vx(d.c.ad());J=1;m=0;for(p=d.c.Rc();p.Uc();)h=p.Vc(),h=h.sc(),Tw(j.a,j.b++,h),w(h,d.a)&&(J=m),++m;d.b=new IX(yi,MK);
GX(d.b,j);j=d.b;J+=1;m=w(JS(j.d,J),g);j.v=m;LS(j.d,J,!0);cX(e,Uf,y($W,pJ,211,[t,A,d.b]));V(a,sY(new tZ(new wcd,e)));V(a,VW(e));d=new VZ(new xcd(d,e),new zcd(d));a=PZ(new QZ(a,d));t0(b,a);VR(this.a.j);u0(this.a.j)};_.a=null;_.b=null;function ycd(a,b,d,e){this.a=a;this.c=b;this.b=d;this.d=e}v(1583,1,{},ycd);_.lc=function(a){qD("Failed to read server-config: "+this.c.sc(),a.Lb())};
_.pg=function(a){var b,d,e,a=OE(a);a.b.uL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?qD("Failed to read server-config: "+this.c.sc(),PE(a)):(b=I(a,op).b.mL(),IE(I(b,aja),this.b.Nk()),b.b.vL(o),a=new G,H(I(a,q),af),I(a,l).b=new DE,e=new x,d=new G,H(I(d,q),gM),T(I(d,l),yi,this.d),T(I(d,l),Vp,this.b.sc()),Tw(e.a,e.b++,d),emc(b,d,e),KE(I(a,er),e),K(new LE(a),new idd(this,this.b)))};_.a=null;_.b=null;_.c=null;_.d=null;function idd(a,b){this.a=a;this.b=b}v(1584,1209,{},idd);
_.pg=function(a){a=OE(a);a.b.uL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?qD("Failed to copy server-config",PE(a)):xW("Successfully copied server-config '"+this.b.sc()+la);M9(this.a.a)};_.a=null;_.b=null;function Scd(a){this.a=a}v(1585,1209,{},Scd);_.pg=function(a){var b=this.a.a,a=a.b.sc();pWb(b.c,a,new jdd(b,new kdd(this)))};_.a=null;function ldd(a,b){var d=a.a.a.y;kU(d.e.a);jU(d.e.a,b.a);aLb(d.e);o0(d.b.d);C0(d.d);p0(d.f)}function kdd(a){this.a=a}v(1586,1209,{},kdd);
_.pg=function(a){ldd(this,a)};_.a=null;function Tcd(a){this.a=a}v(1587,1209,{},Tcd);_.pg=function(a){var b=this.a.y.a,d,e;b.c=a;d=new Vx(a.ad());for(e=a.Rc();e.Uc();)a=e.Vc(),Lv(d,a.sc());GX(b.b,d)};_.a=null;function Rcd(a){this.a=a}v(1588,1209,{},Rcd);
_.pg=function(a){this.a.i=a;var a=this.a.j,b,d=new Bcd(this.a,this.a.i),e,h,j,m,p,t,A;b=new hS;b.db[Ke]=NN;e=new sZ(rE);j=new Ccd((F(),Yb));A=new xZ(Sd,"Auto Start?");m=new H0(co,"Port Offset");h=new Vx(d.c.ad());for(t=d.c.Rc();t.Uc();)p=t.Vc(),Lv(h,p.sc());d.a=new IX(Zh,RL);d.a.c=!0;GX(d.a,h);cX(e,Uf,y($W,pJ,211,[j,d.a,m,A]));V(b,sY(new tZ(new Dcd,e)));V(b,VW(e));d=new VZ(new Ecd(d,e),new Icd(d));b=PZ(new QZ(b,d));t0(a,b);VR(this.a.j);u0(this.a.j)};_.a=null;
function mdd(a){F();rD(sD(tD(pD.a)),new wW("Failed to add Server Configuration "+a.b.sc(),(vD(),wD)))}function ndd(a,b){b.a?(xW(jK+(F(),L9)+a.b.sc()),M9(a.a)):(Acd(a.a),vW(FK+(F(),L9)+a.b.sc()));wA(a.a,new qX(wtb))}function Gcd(a,b){this.a=a;this.b=b}v(1589,1,{},Gcd);_.lc=function(){mdd(this)};_.pg=function(a){ndd(this,a)};_.a=null;_.b=null;function Lcd(a,b){this.a=a;this.b=b}v(1590,1209,{},Lcd);
_.pg=function(a){a=OE(a);a.b.uL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?qD(GK+(F(),L9)+this.b,PE(a)):xW(YK+(F(),L9)+this.b);M9(this.a)};_.a=null;_.b=null;function odd(a,b){this.a=a;this.b=b}v(1591,1,{},odd);_.lc=function(){var a=this.a,b=this.b;pdd(YE(a.a),b,new qdd(a,b))};
_.pg=function(a){var b,d,a=OE(a);b=I(a,r).b.pe();d=w(b,xr)?(B(),C):(B(),D);w(b,xr)&&(d=(B(),PB(I(I(a,op),"server-state").b.pe(),Gp)?C:D));d.a?qD(HK+(F(),tcd),"The server instance is still running: "+this.b.sc()):(a=this.a,b=this.b,pdd(YE(a.a),b,new qdd(a,b)))};_.a=null;_.b=null;function rdd(a){F();rD(sD(tD(pD.a)),new wW("Failed to remove Server Configuration "+a.b.sc(),(vD(),wD)))}function sdd(a,b){b.a?(xW(kL+(F(),L9)+a.b.sc()),M9(a.a)):vW(HK+(F(),L9)+a.b.sc());wA(a.a,new qX(wtb))}
function qdd(a,b){this.a=a;this.b=b}v(1592,1,{},qdd);_.lc=function(){rdd(this)};_.pg=function(a){sdd(this,a)};_.a=null;_.b=null;function Xcd(a){this.a=a}v(1593,1209,{},Xcd);_.pg=function(){M9(this.a)};_.a=null;function tdd(){this.f=new l0(8,new udd);this.e=new gU;VT(this.e,this.f)}v(1596,1125,xu,tdd);
_.Ti=function(){var a,b,d,e;b=new AX;a=new CX((F(),iK),new vdd(this));a.b=za;a.a=gM;zO(a,"addBtnServerConfigView");BX(b,a);a=new F0(jL);KO(a,new wdd(this),(BP(),BP(),CP));a.b=za;a.a=nN;zO(a,"deleteBtnServerConfigView");BX(b,a);a=new F0("Copy");KO(a,new xdd(this),CP);a.b=za;a.a=gM;BX(b,a);b.a=za;d=new ydd(new sO);a=new zdd(new sO);e=new Add(new sO);JQ(this.f,d,"Configuration Name");JQ(this.f,a,RL);JQ(this.f,e,"Auto Start?");this.a=new Jcd(this.c);this.b=new l7b(this.c,!0,!0);this.b.a=new Bdd(this);
this.d=new E0(this.c,!0);b=HY(GY(CY(EY(JY(new KY,"Group Configurations"),Gob),"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 hS;d.db[Ke]=FM;e.a=new sZ(rE);h=new n0(e.a,new Kcd(e));V(d,rY(h));h=new UZ(o,Yb);m=new xZ(Sd,(F(),"Auto Start?"));e.b=new IX(Zh,RL);j=new H0(co,"Port Offset");e.e=new Mcd(SL);
cX(e.a,Uf,y($W,pJ,211,[h,m,e.b,e.e,j]));V(d,sY(new tZ(new Ncd(e),e.a)));aX(e.a,!1);V(d,VW(e.a));e=e.a;e.f&&(e.f.a=za);b=xY(xY(xY(b,a,d),"JVM Configuration",h7b(this.b)),UL,A0(this.d));a=this.b;a.n&&(a.n.b=za);a.d&&(a=a.d,a.f&&(a.f.a=za));a=this.a;d=this.f;TW(a.a,d);d.W.k.nh(new Ocd(a,d));this.f.W.k.nh(new Cdd(this));return zY(b)};_.a=null;_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;function udd(){}v(1597,1,{},udd);_.jh=ew;function vdd(a){this.a=a}v(1598,1,u,vdd);_.zd=function(){Qcd(this.a.c)};
_.a=null;function wdd(a){this.a=a}v(1599,1,u,wdd);_.zd=function(){var a;a=sU(this.a.f.W.k);EZ((F(),"Remove Server Config"),'"Do you want to remove server config '+a.sc()+Sa,new Ddd(this,a))};_.a=null;function Ddd(a,b){this.a=a;this.b=b}v(1600,1,{},Ddd);_.Xj=function(a){if(a){var a=this.a.a.c,b=this.b,d;d=new G;T(I(d,l),yi,YE(a.a));T(I(d,l),Up,b.sc());JE(I(d,LM),!0);H(I(d,q),mN);K(new LE(d),new odd(a,b))}};_.a=null;_.b=null;function xdd(a){this.a=a}v(1601,1,u,xdd);
_.zd=function(){var a=this.a.c,b=sU(this.a.f.W.k);a.j=new q0("New Server Configuration");r0(a.j,480);s0(a.j,380);nWb(a.c,new hdd(a,b))};_.a=null;function ydd(a){this.c=a}v(1602,571,vJ,ydd);_.kc=ew;function zdd(a){this.c=a}v(1603,571,vJ,zdd);_.kc=function(a){return a.Lk()};function Add(a){this.c=a}v(1604,571,vJ,Add);_.kc=function(a){return g+a.Rk()};function Bdd(a){this.a=a}v(1605,1,{},Bdd);_.fk=function(){var a;a=new G;T(a,yi,YE(this.a.c.a));xI(wI(a),Vp,oa);xI(wI(a),Lj,oa);return a};_.a=null;
function Cdd(a){this.a=a}v(1606,1,u,Cdd);_.cg=function(){var a=this.a.c,b=sU(this.a.f.W.k);if(b){var d=a.c,e=YE(a.a),h=new edd(a,b),j;j=new G;H(I(j,q),lN);T(I(j,l),yi,e);T(I(j,l),Vp,b.sc());H(I(j,Fe),Lj);K(new LE(j),new Edd(d,h));d=a.c;e=YE(a.a);h=new gdd(a,b);j=new G;H(I(j,q),lN);T(I(j,l),yi,e);T(I(j,l),Vp,b.sc());H(I(j,Fe),AN);K(new LE(j),new Fdd(d,h));null!=b.Qk()&&!w(b.Qk(),g)&&n5b(a.d,b.Qk(),new cdd(a,b));NE();wA(a,new Izc(za,y(z,s,1,[b.sc()])))}};_.a=null;function Vcd(){Vcd=Nu;Wcd=new uw}var Wcd;
v(1655,1,nu);_.mc=function(){var a=this.b,b=this.a.a,d;if(!b.j){d=rA(sB(b.a));var e;b.k||(e=new tdd,b.k=e);d=new Ucd(d,b.k,rwa(b),uE(fE(b.a)),iY(fE(b.a)),(vE(kE(b.a)),xE(jE(b.a)),wE(hE(b.a))),qB(tB(b.a)),$E(iE(b.a)));uA((eE(b.a),d),GA(eE(b.a)));b.j=d}NA(a,b.j)};v(1665,1,{});_.Vk=function(a){Z(this.a).Vk(a)};_.Yk=function(a){Z(this.a).Yk(a)};v(1666,1,{});_.Vk=function(a){$(this.a,Lj,a)};_.Yk=function(a){$(this.a,ro,a)};
function pdd(a,b,d){var e;e=new G;H(I(e,q),nN);T(I(e,l),yi,a);T(I(e,l),Vp,b.sc());K(new LE(e),new Gdd(d))}function Hcd(a){this.a=a}v(1679,1,{},Hcd);_.lc=function(){mdd(this.a)};_.pg=function(a){a=OE(a);a=I(a,r).b.pe();a=w(a,xr)?(B(),C):(B(),D);ndd(this.a,a)};_.a=null;function Gdd(a){this.a=a}v(1680,1,{},Gdd);_.lc=function(){rdd(this.a)};_.pg=function(a){a=OE(a);a=(B(),a.b.uL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?D:C);sdd(this.a,a)};_.a=null;function Edd(a,b){this.a=a;this.b=b}
v(1681,1209,{},Edd);_.pg=function(a){var b,a=OE(a);a.b.uL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr)?AD(new aw("Failed to load jvms: "+PE(a))):(a=I(a,op).b.oL(),a.$c()?ddd(this.b,null):(b=a.ed(0),a=aY(this.a.b,b.b.b.mL()),a.xd(b.a),ddd(this.b,a)))};_.a=null;_.b=null;function Fdd(a,b){this.a=a;this.b=b}v(1682,1209,{},Fdd);
_.pg=function(a){var b,d,e,a=OE(a);if(a.b.uL(r)&&I(a,r).b.b!=(L(),M)&&!w(I(a,r).b.pe(),xr))AD(new aw("Failed to load server:"+PE(a)));else{d=I(a,op).b.oL();a=new Vx(d.ad());for(d=d.Rc();d.Uc();)b=d.Vc(),e=(new dY(this.a.a)).a,q1(e,b.a),b=b.b.b.mL(),fY(e,I(b,it).b.pe()),gY(e,I(b,qM).b.fL()),Tw(a.a,a.b++,e);fdd(this.b,a)}};_.a=null;_.b=null;function jdd(a,b){this.a=a;this.b=b}v(2596,1209,{},jdd);
_.pg=function(a){if(a.$c())a=(new HVb(this.a.b)).a,Z(a.a).xd(Fm),ldd(this.b,new Hdd((ev(),zy)));else{var b=this.a,d,e,h;if(a.$c())throw new Xv("No sever configs available!");d=null;for(h=a.Rc();h.Uc();)if(e=h.Vc(),b.e&&w(e.sc(),b.e.a)){d=e;break}!d&&(d=a.ed(0));b.e=new U9b(d.sc(),d.Sk());ldd(this.b,new Hdd(a))}};_.a=null;_.b=null;function Hdd(a){this.a=a}v(2608,1,{},Hdd);_.a=null;E(1573);E(1574);E(1585);E(1586);E(1587);E(1588);E(1589);E(1590);E(1591);E(1592);E(1593);E(1575);E(1576);E(1577);E(1578);
E(1579);E(1580);E(1581);E(1582);E(1583);E(1584);E(1596);E(1597);E(1598);E(1599);E(1600);E(1601);E(1602);E(1603);E(1604);E(1605);E(1606);E(2596);E(1679);E(1680);E(1681);E(1682);E(2608);E(1566);E(1567);E(1568);E(1570);E(1571);E(1572);E(1560);E(1561);E(1562);E(1563);E(1564);E(1565);E(1526);E(1527);E(1528);E(1529);E(1530);pw(eJ)(44);function Dw(){return F(),Unb}function VC(){}function bw(){var a;a=new G;T(a,yi,YE($E(iE((F(),pD).a))));xI(wI(a),Vp,oa);return a}function ew(a){return a.sc()}
function fw(){w(RA(this.e).a,this.r.yi())&&CWb(new bdd(this))}function dD(a){var b;b=uX(this,a);a=-1!=a.indexOf(ba);return b&&!a};