$wnd.jsme.runAsyncCallback9('function W9(a){a=a.md.b.c++;return Gi+a}y(497,498,r0);_.vf=function(){return W9(this)};_.Gf=function(){this.wd=new X9((YI(),m),this)};_.Mf=function(){return(null==this.td&&(this.td=W9(this)),this.td)+Wb+this.wd.Ef()+Wb+this.wd.Ff()+Wb+this.Bd+rm+this.qd+(this.Ad?m:",hidden")+",title="+this.r+(this.q?",resizable":m)+(this.wd.c.B?",modal":m)};function Y9(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.tg(c);eL(a.b.wd,m+ZT(b.e,b.a));C3(a.d);c=a.d;!II(c)&&j3(c);d3(c)}}\nfunction Z9(){var a,b,c;b=new x3(D0);a=new x3("Cancel");this.b=new dL(kd,4);this.a=Sj;new F3;this.d=new $9(this,b);this.d.wd.c.cb=!0;lJ(this.d,new rJ);f3(this.d,new N3("New atom "+this.a),null);f3(this.d,b,null);f3(this.d,a,null);lJ(this.d,new t3(2));c=new qJ;f3(c,new O3("atom "+this.a,1),null);f3(c,this.b,null);f3(this.d,c,i0);c=new qJ;f3(c,b,null);f3(c,a,null);f3(this.d,c,h0);EJ(this.d.s,new a$(this))}y(708,1,{},Z9);_.a=null;_.b=null;_.c=null;_.d=null;\nfunction $9(a,b){this.a=a;this.b=b;E3.call(this);this.r=m;this.wd&&this.wd.tg(m);this.wd.c.cb=!1;D3(this,!0)}y(709,497,r0,$9);_.uf=function(a){var b;B3(this);if(oD(a.f)===oD(this.b))try{b=qs(Vx(this.a.b.wd.a.ob,lm),10);var c=this.a.c,d=c.d,e=c.a,f;f=c.e.b[e];0>=b?OM(f):!d.$b.e?f.j=b:f.B=b;EO(d,"changeAtomMap",tt(d._b,d.r),e,0,!0);SR(d)}catch(g){if(g=bp(g),E(g,109))R3(this.a.c.d,"invalid atom "+this.a.a);else throw g;}return!0};_.a=null;_.b=null;function a$(a){this.a=a}y(710,543,u0,a$);_.kg=function(){B3(this.a.d)};\n_.a=null;y(729,632,Gn);_.ge=function(){if(this.b.a==(AN(),Re)||this.b.a==Se)!this.a.b&&(this.a.b=new Z9),this.a.b.a=Sj,Y9(this.a.b,this.a);"Change atom charge"==this.b.a&&(!this.a.b&&(this.a.b=new Z9),Y9(this.a.b,this.a))};function X9(a,b){MZ();H3.call(this,a,b)}y(855,856,{},X9);Y(708);Y(497);Y(709);Y(710);Y(855);N(p0)(9);\n//@ sourceURL=9.js\n')
