$wnd.jsme.runAsyncCallback9('function J7(a){a=a.md.b.c++;return oi+a}x(470,471,$Y);_.nf=function(){return J7(this)};_.yf=function(){this.wd=new K7((NG(),n),this)};_.Ef=function(){return(null==this.td&&(this.td=J7(this)),this.td)+xb+this.wd.wf()+xb+this.wd.xf()+xb+this.Bd+Wl+this.qd+(this.Ad?n:",hidden")+",title="+this.r+(this.q?",resizable":n)+(this.wd.c.B?",modal":n)};function L7(a,b){var c;if(0<b.a){a.c=b;c="Atom "+b.a;var d=a.d;d.r=c;d.wd&&d.wd.lg(c);WI(a.b.wd,n+GR(b.e,b.a));k1(a.d);c=a.d;!xG(c)&&S0(c);M0(c)}}\nfunction M7(){var a,b,c;b=new f1(jZ);a=new f1("Cancel");this.b=new VI(Ec,4);this.a=qj;new n1;this.d=new N7(this,b);this.d.wd.c.cb=!0;aH(this.d,new gH);O0(this.d,new v1("New atom "+this.a),null);O0(this.d,b,null);O0(this.d,a,null);aH(this.d,new b1(2));c=new fH;O0(c,new w1("atom "+this.a,1),null);O0(c,this.b,null);O0(this.d,c,QY);c=new fH;O0(c,b,null);O0(c,a,null);O0(this.d,c,PY);tH(this.d.s,new O7(this))}x(674,1,{},M7);_.a=null;_.b=null;_.c=null;_.d=null;\nfunction N7(a,b){this.a=a;this.b=b;m1.call(this);this.r=n;this.wd&&this.wd.lg(n);this.wd.c.cb=!1;l1(this,!0)}x(675,470,$Y,N7);_.mf=function(a){var b;j1(this);if(tB(a.f)===tB(this.b))try{b=Rr(ox(this.a.b.wd.a.ob,Pl),10);var c=this.a.c,d=c.d,e=c.a,f;f=c.e.b[e];0>=b?FK(f):!d.$b.e?f.j=b:f.B=b;iM(d,"changeAtomMap",Us(d._b,d.r),e,0,!0);yP(d)}catch(g){if(g=Eo(g),E(g,107))z1(this.a.c.d,"invalid atom "+this.a.a);else throw g;}return!0};_.a=null;_.b=null;function O7(a){this.a=a}x(676,516,YY,O7);_.cg=function(){j1(this.a.d)};\n_.a=null;x(695,598,mn);_.ce=function(){if(this.b.a==(eL(),qe)||this.b.a==re)!this.a.b&&(this.a.b=new M7),this.a.b.a=qj,L7(this.a.b,this.a);"Change atom charge"==this.b.a&&(!this.a.b&&(this.a.b=new M7),L7(this.a.b,this.a))};function K7(a,b){vX();p1.call(this,a,b)}x(822,823,{},K7);Z(674);Z(470);Z(675);Z(676);Z(822);U(XY)(9);\n//@ sourceURL=9.js\n')
