$wnd.jsme.runAsyncCallback9('function N7(a){a=a.md.b.c++;return Fi+a}x(473,474,kZ);_.nf=function(){return N7(this)};_.yf=function(){this.wd=new O7(($G(),n),this)};_.Ef=function(){return(null==this.td&&(this.td=N7(this)),this.td)+Xb+this.wd.wf()+Xb+this.wd.xf()+Xb+this.Bd+gm+this.qd+(this.Ad?n:",hidden")+",title="+this.r+(this.q?",resizable":n)+(this.wd.c.B?",modal":n)};function P7(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);fJ(a.b,n+VR(b.e,b.a));s1(a.d);c=a.d;!KG(c)&&$0(c);U0(c)}}\nfunction Q7(){var a,b,c;b=new n1(uZ);a=new n1("Cancel");this.b=new hJ(od,4);this.a=Ij;new v1;this.d=new R7(this,b);this.d.wd.c.cb=!0;nH(this.d,new tH);W0(this.d,new D1("New atom "+this.a),null);W0(this.d,b,null);W0(this.d,a,null);nH(this.d,new j1(2));c=new sH;W0(c,new E1("atom "+this.a,1),null);W0(c,this.b,null);W0(this.d,c,aZ);c=new sH;W0(c,b,null);W0(c,a,null);W0(this.d,c,$Y);GH(this.d.s,new S7(this))}x(677,1,{},Q7);_.a=null;_.b=null;_.c=null;_.d=null;\nfunction R7(a,b){this.a=a;this.b=b;u1.call(this);this.r=n;this.wd&&this.wd.lg(n);this.wd.c.cb=!1;t1(this,!0)}x(678,473,kZ,R7);_.mf=function(a){var b;r1(this);if(AB(a.f)===AB(this.b))try{b=bs(Bx(this.a.b.wd.a.ob,am),10);var c=this.a.c,d=c.d,e=c.a,f;f=c.e.b[e];0>=b?RK(f):!d.$b.e?f.j=b:f.B=b;uM(d,"changeAtomMap",et(d._b,d.r),e,0,!0);NP(d)}catch(g){if(g=Po(g),E(g,107))H1(this.a.c.d,"invalid atom "+this.a.a);else throw g;}return!0};_.a=null;_.b=null;function S7(a){this.a=a}x(679,519,iZ,S7);_.cg=function(){r1(this.a.d)};\n_.a=null;x(698,601,zn);_.ce=function(){if(this.b.a==(qL(),We)||this.b.a==Xe)!this.a.b&&(this.a.b=new Q7),this.a.b.a=Ij,P7(this.a.b,this.a);"Change atom charge"==this.b.a&&(!this.a.b&&(this.a.b=new Q7),P7(this.a.b,this.a))};function O7(a,b){GX();x1.call(this,a,b)}x(826,827,{},O7);Z(677);Z(473);Z(678);Z(679);Z(826);U(hZ)(9);\n//@ sourceURL=9.js\n')
