$wnd.jsme.runAsyncCallback9('function B9(a){a=a.md.b.c++;return Ji+a}y(493,494,Y_);_.xf=function(){return B9(this)};_.If=function(){this.wd=new C9((GI(),m),this)};_.Of=function(){return(null==this.td&&(this.td=B9(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 D9(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));h3(a.d);c=a.d;!qI(c)&&P2(c);J2(c)}}\nfunction E9(){var a,b,c;b=new c3(j0);a=new c3("Cancel");this.b=new MK(jd,4);this.a=Qj;new k3;this.d=new F9(this,b);this.d.wd.c.cb=!0;UI(this.d,new $I);L2(this.d,new s3("New atom "+this.a),null);L2(this.d,b,null);L2(this.d,a,null);UI(this.d,new Z2(2));c=new ZI;L2(c,new t3("atom "+this.a,1),null);L2(c,this.b,null);L2(this.d,c,Q_);c=new ZI;L2(c,b,null);L2(c,a,null);L2(this.d,c,P_);mJ(this.d.s,new G9(this))}y(704,1,{},E9);_.a=null;_.b=null;_.c=null;_.d=null;\nfunction F9(a,b){this.a=a;this.b=b;j3.call(this);this.r=m;this.wd&&this.wd.vg(m);this.wd.c.cb=!1;i3(this,!0)}y(705,493,Y_,F9);_.wf=function(a){var b;g3(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))w3(this.a.c.d,"invalid atom "+this.a.a);else throw g;}return!0};_.a=null;_.b=null;function G9(a){this.a=a}y(706,539,d0,G9);_.mg=function(){g3(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 E9),this.a.b.a=Qj,D9(this.a.b,this.a);"Change atom charge"==this.b.a&&(!this.a.b&&(this.a.b=new E9),D9(this.a.b,this.a))};function C9(a,b){uZ();m3.call(this,a,b)}y(851,852,{},C9);Y(704);Y(493);Y(705);Y(706);Y(851);N(X_)(9);\n//@ sourceURL=9.js\n')
