$wnd.jsme.runAsyncCallback9('function z9(a){a=a.md.b.c++;return Ji+a}y(493,494,Y_);_.xf=function(){return z9(this)};_.If=function(){this.wd=new A9((GI(),m),this)};_.Of=function(){return(null==this.td&&(this.td=z9(this)),this.td)+Xb+this.wd.Gf()+Xb+this.wd.Hf()+Xb+this.Bd+qm+this.qd+(this.Ad?m:",hidden")+",title="+this.r+(this.q?",resizable":m)+(this.wd.c.B?",modal":m)};function B9(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.vg(c);NK(a.b.wd,m+HT(b.e,b.a));g3(a.d);c=a.d;!qI(c)&&O2(c);I2(c)}}\nfunction C9(){var a,b,c;b=new b3(j0);a=new b3("Cancel");this.b=new MK(jd,4);this.a=Qj;new j3;this.d=new D9(this,b);this.d.wd.c.cb=!0;UI(this.d,new $I);K2(this.d,new r3("New atom "+this.a),null);K2(this.d,b,null);K2(this.d,a,null);UI(this.d,new Y2(2));c=new ZI;K2(c,new s3("atom "+this.a,1),null);K2(c,this.b,null);K2(this.d,c,Q_);c=new ZI;K2(c,b,null);K2(c,a,null);K2(this.d,c,P_);mJ(this.d.s,new E9(this))}y(704,1,{},C9);_.a=null;_.b=null;_.c=null;_.d=null;\nfunction D9(a,b){this.a=a;this.b=b;i3.call(this);this.r=m;this.wd&&this.wd.vg(m);this.wd.c.cb=!1;h3(this,!0)}y(705,493,Y_,D9);_.wf=function(a){var b;f3(this);if(SC(a.f)===SC(this.b))try{b=ns(Nx(this.a.b.wd.a.ob,km),10);var c=this.a.c,d=c.d,e=c.a,f;f=c.e.b[e];0>=b?wM(f):!d.$b.e?f.j=b:f.B=b;mO(d,"changeAtomMap",rt(d._b,d.r),e,0,!0);AR(d)}catch(g){if(g=$o(g),E(g,108))v3(this.a.c.d,"invalid atom "+this.a.a);else throw g;}return!0};_.a=null;_.b=null;function E9(a){this.a=a}y(706,539,d0,E9);_.mg=function(){f3(this.a.d)};\n_.a=null;y(725,628,En);_.ge=function(){if(this.b.a==(iN(),Ze)||this.b.a==$e)!this.a.b&&(this.a.b=new C9),this.a.b.a=Qj,B9(this.a.b,this.a);"Change atom charge"==this.b.a&&(!this.a.b&&(this.a.b=new C9),B9(this.a.b,this.a))};function A9(a,b){uZ();l3.call(this,a,b)}y(851,852,{},A9);Y(704);Y(493);Y(705);Y(706);Y(851);N(X_)(9);\n//@ sourceURL=9.js\n')
