$wnd.jsme.runAsyncCallback9('function L7(a){a=a.md.b.c++;return Fi+a}x(473,474,kZ);_.nf=function(){return L7(this)};_.yf=function(){this.wd=new M7(($G(),n),this)};_.Ef=function(){return(null==this.td&&(this.td=L7(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 N7(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));r1(a.d);c=a.d;!KG(c)&&Z0(c);T0(c)}}\nfunction O7(){var a,b,c;b=new m1(uZ);a=new m1("Cancel");this.b=new hJ(od,4);this.a=Ij;new u1;this.d=new P7(this,b);this.d.wd.c.cb=!0;nH(this.d,new tH);V0(this.d,new C1("New atom "+this.a),null);V0(this.d,b,null);V0(this.d,a,null);nH(this.d,new i1(2));c=new sH;V0(c,new D1("atom "+this.a,1),null);V0(c,this.b,null);V0(this.d,c,aZ);c=new sH;V0(c,b,null);V0(c,a,null);V0(this.d,c,$Y);GH(this.d.s,new Q7(this))}x(677,1,{},O7);_.a=null;_.b=null;_.c=null;_.d=null;\nfunction P7(a,b){this.a=a;this.b=b;t1.call(this);this.r=n;this.wd&&this.wd.lg(n);this.wd.c.cb=!1;s1(this,!0)}x(678,473,kZ,P7);_.mf=function(a){var b;q1(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))G1(this.a.c.d,"invalid atom "+this.a.a);else throw g;}return!0};_.a=null;_.b=null;function Q7(a){this.a=a}x(679,519,iZ,Q7);_.cg=function(){q1(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 O7),this.a.b.a=Ij,N7(this.a.b,this.a);"Change atom charge"==this.b.a&&(!this.a.b&&(this.a.b=new O7),N7(this.a.b,this.a))};function M7(a,b){GX();w1.call(this,a,b)}x(826,827,{},M7);Z(677);Z(473);Z(678);Z(679);Z(826);U(hZ)(9);\n//@ sourceURL=9.js\n')
