text: $wnd.jsme.runAsyncCallback1('var QZ={10:1,89:1,93:1,104:1},RZ="   ",SZ="   1",TZ="   2",UZ="   3",VZ="  0",WZ="  1",XZ="  2",YZ="Assignment of aromatic double bonds failed";function ZZ(a,b){var c,d,e,f;1==a.d.B[b]&&(iR(a.d,b,2),a.e+=2);for(e=0;2>e;++e){c=W(a.d,e,b);for(f=0;f<a.d.f[c];++f)d=NP(a.d,c,f),a.c[d]&&(a.c[d]=!1,--a.b)}}\nfunction $Z(a){var b,c,d,e,f,g,j;do{j=!1;for(c=0;c<a.d.d;++c)if(a.c[c]){f=!1;for(e=0;2>e;++e){d=W(a.d,e,c);b=!1;for(g=0;g<a.d.f[d];++g)if(c!=NP(a.d,d,g)&&a.c[NP(a.d,d,g)]){b=!0;break}if(!b){f=!0;break}}f&&(j=!0,ZZ(a,c))}}while(j)}function a_(a,b){var c,d;--a.a;for(d=0;d<a.d.f[b];++d)c=NP(a.d,b,d),a.c[c]&&(a.c[c]=!1,--a.b)}function b_(a){this.d=a}u(6,1,{},b_);_.a=0;_.b=0;_.c=null;_.d=null;_.e=0;function c_(a,b){return 0!=(a.s[b]&262144)}\nfunction d_(a,b){var c;c=a.x[b];return 3<=c&&4>=c||11<=c&&13>=c||19<=c&&31>=c||37<=c&&51>=c||55<=c&&84>=c||87<=c&&103>=c}function e_(a,b,c){c?a.s[b]|=262144:a.s[b]&=-262145}function f_(a,b,c){a.D[b].a=c;a.K&=3}function g_(a,b,c){a.D[b].b=c;a.K&=3}function h_(a,b,c){a.D[b].c=c;a.K&=3}function i_(a,b){var c;for(c=a-b;-3.141592653589793>c;)c+=6.283185307179586;for(;3.141592653589793<c;)c-=6.283185307179586;return c}\nfunction j_(a,b,c){return 1!=GP(a,b)?0:16-a.f[a.o+c]+(1==a.x[c]?4096:0)+(0==(a.B[b]&24)||a.y[0][b]!=c?2048:0)+(0==(a.s[c]&3)?1024:0)+(0!=(a.z[b]&64)?0:512)+(6!=a.x[c]?256:0)}\nfunction k_(a){var b;EQ(a,3);for(b=0;b<a.c;++b){var c=a,d=b,e=void 0,f=void 0,g=f=void 0,j=void 0,h=e=e=void 0,l=g=void 0,l=void 0;if(!(0==(c.s[d]&3)||3==(c.s[d]&3)))if(2==c.k[d]&&2==c.f[d]){var o=l=g=h=void 0,m=h=void 0,s=j=j=g=void 0,t=l=l=void 0,r=e=f=t=o=void 0,j=void 0;if(2!=c.f[d]||2!=c.j[d][0]||2!=c.j[d][1]||2>c.f[c.e[d][0]]||2>c.f[c.e[d][1]]||1!=c.k[c.e[d][0]]||1!=c.k[c.e[d][1]])WR(c,d,0,!1);else{l=t=f=e=-1;for(j=o=0;2>j;++j){g=c.e[d][j];for(s=0;s<c.f[c.o+g];++s)h=c.e[g][s],h!=d&&(m=c.i[g][s],\nr=j_(c,m,h),o<r&&(o=r,f=h,e=m,t=g,l=c.e[d][1-j]))}if(-1!=f){for(j=0;2>j;++j)for(s=0;s<yP(c,c.e[d][j]);++s)c.e[c.e[d][j]][s]!=d&&(c.B[c.i[c.e[d][j]][s]]=1);c.y[1][e]!=f&&(c.y[0][e]=c.y[1][e],c.y[1][e]=f);g=2147483647;for(j=0;j<c.f[t];++j)h=c.e[t][j],h!=d&&g>h&&(g=h);t=x(D,q,-1,2,1);for(j=o=0;j<c.f[l];++j)h=c.e[l][j],h!=d&&(t[o++]=h);h=NR(c.D[d].a,c.D[d].b,c.D[l].a,c.D[l].b);2==o?(t[0]>t[1]&&(j=t[0],t[0]=t[1],t[1]=j),j=i_(h,PP(c,l,t[0])),l=i_(h,PP(c,l,t[1])),l=j-l):l=i_(h,PP(c,l,t[0]));0>l^1==(c.s[d]&\n3)^g==f?c.B[e]=17:c.B[e]=9}}}else if(3>c.f[d]||4<c.f[d])WR(c,d,0,!1);else{f=c;e=d;g=h=l=void 0;l=f.f[f.o+e];g=x(D,q,-1,l,1);for(h=0;h<l;++h)g[h]=(f.e[e][h]<<16)+h;sQ(g);for(h=0;h<l;++h)g[h]&=65535;l=g;e=c.f[c.o+d];f=x(oG,hl,-1,e,1);for(j=0;j<e;++j)f[j]=PP(c,c.e[d][l[j]],d);for(j=0;j<e;++j)c.y[0][c.i[d][j]]==d&&1==GP(c,c.i[d][j])&&(c.B[c.i[d][j]]=1);var h=c,g=d,j=l,t=f,v=m=r=s=o=void 0,s=void 0,o=h.f[h.o+g],m=x(D,q,-1,o,1),s=QP(h,g,j,t,m);if(3==s)h=!1;else{r=(h.s[g]&3)==s?17:9;for(v=0;v<o;++v)1==(m[v]&\n1)&&(s=h.i[g][j[v]],h.B[s]=r,h.y[0][s]!=g&&(h.y[1][s]=h.y[0][s],h.y[0][s]=g));h=!0}if(!h){h=-1;for(j=0;j<e;++j)if(g=c.i[d][j],(17==c.B[g]||9==c.B[g])&&c.y[0][g]==d)c.B[c.i[d][j]]=1,-1==h?h=g:h=-2;if(0>h)a:{for(var h=c,g=d,C=m=t=m=r=r=o=v=r=o=j=void 0,s=r=s=void 0,j=h.f[h.o+g],o=x(oG,hl,-1,j,1),t=0;t<j;++t)o[t]=PP(h,g,h.e[g][t]);for(t=1;t<j;++t)for(m=0;m<t;++m)if(s=mH(i_(o[t],o[m])),0.08>s||3.061592653589793<s){for(C=v=r=0;C<j;++C)C!=t&&C!=m&&(r+=mH(l_(o[t],o[C])),v+=mH(l_(o[m],o[C])));r=r<v?h.i[g][t]:\nh.i[g][m];if(1==GP(h,r)){h=r;break a}}s=-1;for(t=o=0;t<j;++t)r=h.e[g][t],m=h.i[g][t],r=j_(h,m,r),o<r&&(o=r,s=m);h=s}c.y[0][h]!=d&&(c.y[1][h]=c.y[0][h],c.y[0][h]=d);g=-1;for(j=0;j<e;++j)if(h==c.i[d][l[j]]){g=j;break}l=B(nI,Yl,87,[B(D,q,-1,[2,1,2,1]),B(D,q,-1,[1,2,2,1]),B(D,q,-1,[1,1,2,2]),B(D,q,-1,[2,1,1,2]),B(D,q,-1,[2,2,1,1]),B(D,q,-1,[1,2,1,2])]);for(j=1;j<e;++j)f[j]<f[0]&&(f[j]+=6.283185307179586);if(3==e){e=!1;switch(g){case 0:e=f[1]<f[2]&&3.141592653589793>f[2]-f[1]||f[1]>f[2]&&3.141592653589793<\nf[1]-f[2];break;case 1:e=3.141592653589793<f[2]-f[0];break;case 2:e=3.141592653589793>f[1]-f[0]}f=1==(c.s[d]&3)^e?17:9}else e=0,f[1]<=f[2]&&f[2]<=f[3]?e=0:f[1]<=f[3]&&f[3]<=f[2]?e=1:f[2]<=f[1]&&f[1]<=f[3]?e=2:f[2]<=f[3]&&f[3]<=f[1]?e=3:f[3]<=f[1]&&f[1]<=f[2]?e=4:f[3]<=f[2]&&f[2]<=f[1]&&(e=5),f=1==(c.s[d]&3)^1==l[e][g]?9:17;c.B[h]=f}}}for(b=0;b<a.d;++b)if(d=a,c=b,j=r=e=j=f=l=o=t=l=s=g=j=h=m=t=g=o=h=l=void 0,!(0==(d.z[c]&3)||3==(d.z[c]&3))&&DP(d,c)){l=j=f=e=-1;for(g=o=0;2>g;++g){h=d.y[g][c];for(s=0;s<\nd.f[d.o+h];++s)m=d.i[h][s],m!=c&&1==GP(d,m)&&(t=d.e[h][s],r=j_(d,m,t),o<r&&(o=r,f=t,e=m,j=h,l=d.y[1-g][c]))}if(-1!=f){for(g=0;2>g;++g)for(s=0;s<yP(d,d.y[g][c]);++s)m=d.i[d.y[g][c]][s],m!=c&&1==GP(d,m)&&(d.B[m]=1);d.y[1][e]!=f&&(d.y[0][e]=d.y[1][e],d.y[1][e]=f);h=2147483647;for(g=0;g<d.f[j];++g)t=d.e[j][g],d.i[j][g]!=c&&h>t&&(h=t);t=x(D,q,-1,2,1);for(g=o=0;g<d.f[l];++g)d.i[l][g]!=c&&(t[o++]=d.e[l][g]);g=NR(d.D[j].a,d.D[j].b,d.D[l].a,d.D[l].b);2==o?(t[0]>t[1]&&(j=t[0],t[0]=t[1],t[1]=j),j=i_(g,PP(d,\nl,t[0])),l=i_(g,PP(d,l,t[1])),l=j-l):l=i_(g,PP(d,l,t[0]));0>l^2==(d.z[c]&3)^h==f?d.B[e]=17:d.B[e]=9}}}function Z(a,b){var c,d;c=b;for(d=0;0!=b;)0==a.c&&(a.e=(a.a[++a.d]&63)<<11,a.c=6),d|=~~(65536&a.e)>>16-c+b,a.e<<=1,--b,--a.c;return d}function m_(a,b,c){a.c=6;a.d=c;a.a=b;a.e=(b[a.d]&63)<<11}function n_(a,b){var c,d;c=~~(b/2);(d=a>=c)&&(a-=c);c=~~(b/32)*a/(c-a);return d?-c:c}function o_(){this.b=!0}u(24,1,{},o_);_.a=null;_.b=!1;_.c=0;_.d=0;_.e=0;_.f=null;\nfunction p_(a,b){var c,d;c=b;var e,f;9.0E-4>(0>=c?0-c:c)&&(c=0);c=J(I(O(c*Math.pow(10,4))))/Math.pow(10,4);d=n+(new UK(c)).a;e=Yx(d,Zx(46));0>e&&(d+=bc,e=Yx(d,Zx(46)));f=d.length;for(c=1;c<=4-f+e+1;++c)d+=oc;10<d.length&&(d=vd);e=n;for(c=1;c<=10-d.length;++c)e+=ba;d=e+d;for(c=d.length;10>c;++c)yE(a.a,32);GO(a.a,d)}function q_(a,b){var c,d,e;if(0>b||999<b)GO(a.a,"  ?");else{c=!1;for(d=0;3>d;++d)e=~~(b/100),0==e?2==d||c?yE(a.a,48):yE(a.a,32):(yE(a.a,48+e&65535),c=!0),b=10*(b%100)}}\nfunction r_(a){var b=new xE,c,d,e,f,g,j,h,l;EQ(a,7);f=!0;for(c=0;c<a.c;++c)if(0!=(a.s[c]&3)&&3!=(a.s[c]&3)&&1!=~~(a.s[c]&1572864)>>19){f=!1;break}l=-1;if(f){d=x(D,q,-1,32,1);for(c=0;c<a.c;++c)if(0!=(a.s[c]&3)&&3!=(a.s[c]&3)&&1==~~(a.s[c]&1572864)>>19){c=1!=~~(a.s[c]&1572864)>>19&&2!=~~(a.s[c]&1572864)>>19?-1:~~(a.s[c]&65011712)>>21;++d[c];0<d[c]&&(l=c);break}}this.a=b;GO(this.a,(null!=a.I?a.I:n)+aa);GO(this.a,"Actelion Java MolfileCreator 1.0\\n\\n");q_(this,a.o);q_(this,a.p);GO(this.a,ia);q_(this,\nf?0:1);GO(this.a,"  0  0  0  0  0999 V2000\\n");b=1==a.o;for(c=1;c<a.o;++c)if(a.D[c].a!=a.D[0].a||a.D[c].b!=a.D[0].b||a.D[c].c!=a.D[0].c){b=!0;break}d=1;if(b)if(c=MR(a,a.o,a.p,24),0!=c)(1>c||3<c)&&(d=1.5/c);else{e=1.7976931348623157E308;for(c=1;c<a.o;++c)for(d=0;d<c;++d)g=a.D[d].a-a.D[c].a,j=a.D[d].b-a.D[c].b,h=a.D[d].c-a.D[c].c,g=g*g+j*j+h*h,e>g&&(e=g);d=3/e}for(c=0;c<a.o;++c)b?(p_(this,d*a.D[c].a),p_(this,d*-a.D[c].b),p_(this,d*-a.D[c].c)):GO(this.a,"    0.0000    0.0000    0.0000"),null!=(null==\na.t?null:a.t[c])?GO(this.a," L  "):0!=(a.w[c]&1)?GO(this.a," A  "):(e=(fQ(),BR)[a.x[c]],GO(this.a,ba+e),1==e.length?GO(this.a,ha):2==e.length&&GO(this.a,ba)),GO(this.a," 0  0  0"),e=1920&a.w[c],0==e?GO(this.a,VZ):384==e?GO(this.a,"  3"):128==e?GO(this.a,XZ):1792==e?GO(this.a,WZ):1664==e&&GO(this.a,XZ),GO(this.a,0!=(a.w[c]&8192)?WZ:VZ),e=(~~(a.s[c]&-268435456)>>>28)-1,-1==e?GO(this.a,VZ):0==e?GO(this.a," 15"):q_(this,e),GO(this.a,ka),q_(this,nH(a.u[c])),GO(this.a,"  0  0\\n");for(c=0;c<a.p;++c){switch(a.B[c]){case 1:b=\n1;d=0;break;case 2:b=2;d=0;break;case 4:b=3;d=0;break;case 9:b=1;d=6;break;case 17:d=b=1;break;case 26:b=2;d=3;break;case 64:b=4;d=0;break;default:b=1,d=0}f&&(1==d||6==d)&&YQ(a,a.y[0][c])!=l&&(d=0);e=a.A[c]&15;0!=e&&(8==e?b=4:3==e?b=5:9==e?b=6:10==e?b=7:b=8);e=a.A[c]&48;e=0==e?0:32==e?1:2;q_(this,1+a.y[0][c]);q_(this,1+a.y[1][c]);q_(this,b);q_(this,d);GO(this.a,VZ);q_(this,e);GO(this.a,"  0\\n")}for(c=f=0;c<a.o;++c)0!=a.q[c]&&++f;if(0!=f){GO(this.a,Se);q_(this,f);for(c=0;c<a.o;++c)0!=a.q[c]&&(GO(this.a,\nba),q_(this,c+1),f=a.q[c],0>f?(GO(this.a,"  -"),f=-f):GO(this.a,RZ),yE(this.a,48+f&65535));GO(this.a,aa)}for(c=f=0;c<a.o;++c)0==a.v[c]||++f;if(0!=f){GO(this.a,Ve);q_(this,f);for(c=0;c<a.o;++c)0!=a.v[c]&&(GO(this.a,ba),q_(this,c+1),GO(this.a,ba),q_(this,a.v[c]));GO(this.a,aa)}for(c=f=0;c<a.o;++c)0!=(a.s[c]&48)&&++f;if(0!=f){GO(this.a,cP);q_(this,f);for(c=0;c<a.o;++c)if(0!=(a.s[c]&48))switch(GO(this.a,ba),q_(this,c+1),a.s[c]&48){case 16:GO(this.a,SZ);break;case 32:GO(this.a,TZ);break;case 48:GO(this.a,\nUZ)}GO(this.a,aa)}if(a.E){for(c=f=0;c<a.o;++c)0!=(a.w[c]&120)&&++f;if(0!=f){GO(this.a,dP);q_(this,f);for(c=0;c<a.o;++c)if(f=a.w[c]&120,0!=f)switch(GO(this.a,ba),q_(this,c+1),f){case 112:GO(this.a,"  -1");break;case 8:GO(this.a,SZ);break;case 104:GO(this.a,TZ);break;case 88:GO(this.a,UZ);break;case 56:GO(this.a,"   4")}GO(this.a,aa)}for(c=0;c<a.o;++c)if(f=null==a.t?null:a.t[c],null!=f){GO(this.a,"M  ALS ");q_(this,c+1);q_(this,f.length);GO(this.a,0!=(a.w[c]&1)?" T ":" F ");for(l=0;l<f.length;++l)switch(b=\n(fQ(),BR)[f[l]],b.length){case 1:GO(this.a,b+RZ);break;case 2:GO(this.a,b+ha);break;case 3:GO(this.a,b+ba);break;default:GO(this.a,"   ?")}GO(this.a,aa)}for(c=f=0;c<a.o;++c)0!=(a.w[c]&6144)&&++f;if(0!=f){GO(this.a,eP);q_(this,f);for(c=0;c<a.o;++c)f=a.w[c]&6144,0!=f&&(GO(this.a,ba),q_(this,c+1),0!=(f&4096)?GO(this.a,RZ+(a.f[a.o+c]+1)):GO(this.a,"  -2"));GO(this.a,aa)}}GO(this.a,Ue)}u(25,1,{},r_);_.a=null;\nfunction s_(a,b){var c,d,e;1==a.b.B[b]&&iR(a.b,b,2);for(d=0;2>d;++d){c=W(a.b,d,b);e_(a.b,c,!1);for(e=0;e<a.b.f[c];++e)a.a[NP(a.b,c,e)]=!1}}function t_(a){var b,c,d,e,f,g,j;do{j=!1;for(c=0;c<a.b.d;++c)if(a.a[c]){f=!1;for(e=0;2>e;++e){b=!1;d=W(a.b,e,c);for(g=0;g<a.b.f[d];++g)if(c!=NP(a.b,d,g)&&a.a[NP(a.b,d,g)]){b=!0;break}if(!b){f=!0;break}}f&&(j=!0,s_(a,c))}}while(j)}function u_(){}u(29,1,{},u_);_.a=null;_.b=null;\nfunction v_(a,b,c,d){a.b||(4==a.i||3==a.i&&-1!=a.c?a.b=!0:(a.j[a.i]=d,a.f[a.i]=b,a.k[a.i]=c,++a.i))}\nfunction w_(a,b){var c,d,e,f;if(a.b)return 3;-1!=a.c&&(a.c=b[a.c]);for(e=0;e<a.i;++e)2147483647!=a.f[e]&&(a.f[e]=b[a.f[e]]);if(-1==a.c&&0==a.d){d=2147483647;f=-1;for(e=0;e<a.i;++e)d>a.k[e]&&(d=a.k[e],f=e);a.c=a.f[f];for(e=f+1;e<a.i;++e)a.f[e-1]=a.f[e],a.k[e-1]=a.k[e],a.j[e-1]=a.j[e];--a.i}f=(-1==a.c?0:1)+a.d+a.i;if(4<f||3>f)return 3;c=-1==a.c&&1==a.d||-1!=a.c&&kS(a.n.b,a.c);d=-1;for(e=0;e<a.i;++e)if(a.j[e]){if(-1!=d||c)return 3;d=e}f=!1;if(-1!=d)for(e=0;e<a.i;++e)!a.j[e]&&a.f[d]<a.f[e]&&(f=!f);d=\n!1;if(-1!=a.c&&!c)for(e=0;e<a.i;++e)a.c<a.f[e]&&(d=!d);e=a.f;c=a.k;var g,j,h;j=!1;for(g=1;g<a.i;++g)for(h=0;h<g;++h)e[h]>e[g]&&(j=!j),c[h]>c[g]&&(j=!j);return a.e^j^d^f?2:1}function x_(a,b,c,d,e,f){this.n=a;0!=d&&1!=d?this.b=!0:(this.a=b,this.c=c,this.d=d,this.e=f,this.i=0,this.j=x(cq,gl,-1,4,2),this.f=x(D,q,-1,4,1),this.k=x(D,q,-1,4,1),-1!=c&&1==d&&(v_(this,2147483647,e,!0),this.d=0))}u(30,1,{},x_);_.a=0;_.b=!1;_.c=0;_.d=0;_.e=!1;_.f=null;_.i=0;_.j=null;_.k=null;_.n=null;\nfunction y_(a){EQ(a,15);if(a.b){var a=a.b,b;for(b=0;b<a.H.c;++b)if(0==(a.H.s[b]&67108864)&&3==a.S[b]){var c=a.H;c.s[b]|=67108864;c.K&=3}for(b=0;b<a.H.d;++b)3==a.k[b]&&2==GP(a.H,b)&&iR(a.H,b,26)}}\nfunction z_(a,b,c){var d,e,f;f=b.length;d=new A_(a.f,f,a.e);d.a[0]=0;for(e=d.b[0]=0;e<f;++e)d.n[e]=128-f,d.e[e]=b[e];if(8>f)B_(d);else a:{var g,j,h,l,o,m,s;f=B(nI,Yl,87,[B(D,q,-1,[627]),null,B(D,q,-1,[2457]),null,B(D,q,-1,[2451,8643,2519]),null,B(D,q,-1,[34377,-2147448999]),null,B(D,q,-1,[37449,137313,95703,34371,37815,54891,132867,-2147309741,54857,55129,-2147449005,-2147449065]),null,B(D,q,-1,[530697,531819,899169,137289,694617,-2146951863,-2146952797,-2146939175,-2146929547,-2146929564,-2146625111,\n-2146931799,-2146940503,-2146931935]),null,B(D,q,-1,[542985,137283,2122017,530691,2206773,-2144711351,219209,2840841,137555,-2146871031,-2147264167,613705,-2145360543,-2146625271,694611,2454837,-2145356703,-2147345133,-2146928951,-2146931805,-2144641719,-2146951869,-2146625237,-2146624183,2841963,1074905,-2146625117,2799955,-2144723645,138583,859225,-2145264843,-2145216253,-2146624149,-2144700727,-2146928917,-2143905527,-2144045771,-2146789097,2288547,544407,2104323,-2146911977,-2144479405,3633737,\n-2146870089,-2146952169]),null,B(D,q,-1,[8487297,2172633,2116611,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8829813])]);m=d.e.length-10;if(10<=d.e.length&&24>=d.e.length&&null!=f[m]){l=1<<d.e.length;for(h=e=b=0;h<d.e.length;++h)2==GP(a.f,c[h])&&(j=a.f.z[c[h]]&3,1==j&&(b+=l),2==j&&(e+=l)),b>>>=1,e>>>=1;for(s=0;s<f[m].length;++s){j=0==(-2147483648&f[m][s]);c=2147483647&f[m][s];for(h=!1;!h;h=!h){if(h){if(j)break;o=0;for(g=1;g!=l;g<<=1)o<<=1,0!=(c&g)&&(o|=1);c=o}for(g=0;g<d.e.length;++g){if(0==(c&b)&&0==(~c&e)){b=\n0;e=!0;for(h=1;h<d.e.length;++h)d.a[h]=d.a[h-1]+Math.sin(b),d.b[h]=d.b[h-1]+Math.cos(b),0==(c&1)&&(e=!e),b+=e?1.0471975511965976:-1.0471975511965976,c>>>=1;break a}0!=(c&1)&&(c|=l);c>>>=1}}}}B_(d)}rm(a.c,d)}function D_(a,b){var c,d;d=0;TP(a,a.length,(UP(),UP(),VP));for(c=0;c<a.length;++c)(0==c||0!=WP(a[c],a[c-1]))&&++d,b[a[c].a]=d;return d}\nfunction E_(a){var b,c,d,e,f,g,j,h,l;h=new om;l=new om;c=new om;for(e=new qv(a.c);e.b<e.d.Tf();){d=rv(e);f=0;c.og();for(g=0;g<d.e.length;++g)b=d.e[g],b=a.j[b],0!=b&&(rm(c,new F_(d,g,b)),f+=b);if(0!=f){G_(c,new H_);for(j=new qv(c);j.b<j.d.Tf()&&!(g=rv(j),0<f*g.b&&(b=(0>f?-f:f)>=nH(g.b)?g.b:f,f-=b,rm(0>b?h:l,new F_(d,g.a,b)),0==f)););}}if(0==h.c||0==l.c)return null;G_(l,new I_);G_(h,new J_);for(f=new qv(l);f.b<f.d.Tf();){e=rv(f);for(d=new qv(h);d.b<d.d.Tf();)if(c=rv(d),e.b==-c.b)return a.j[e.c.e[e.a]]-=\ne.b,a.j[c.c.e[c.a]]-=c.b,new K_(e.c,c.c,e.a,c.a)}for(f=new qv(l);f.b<f.d.Tf();){e=rv(f);for(d=new qv(h);d.b<d.d.Tf();)if(c=rv(d),e.b>-c.b)return a.j[e.c.e[e.a]]+=c.b,a.j[c.c.e[c.a]]-=c.b,new K_(e.c,c.c,e.a,c.a)}for(f=new qv(l);f.b<f.d.Tf();){e=rv(f);for(d=new qv(h);d.b<d.d.Tf();)if(c=rv(d),e.b<-c.b)return a.j[e.c.e[e.a]]-=e.b,a.j[c.c.e[c.a]]+=e.b,new K_(e.c,c.c,e.a,c.a)}return null}function L_(a){return 2>a.c.c?null:new M_(ox(a.c,0),ox(a.c,1))}\nfunction N_(a){var b,c,d,e,f,g,j,h;h=b=null;for(f=0;f<a.f.d;++f)if(32==a.f.B[f]){c=W(a.f,0,f);e=-1;for(g=0;g<a.c.c&&!(e=O_(ox(a.c,g),c),-1!=e);++g);d=W(a.f,1,f);c=-1;for(j=0;j<a.c.c&&!(c=O_(ox(a.c,j),d),-1!=c);++j);g!=j&&(g>j&&(d=g,g=j,j=d,d=e,e=c,c=d),null==h&&(h=x(P_,Sl,10,a.c.c,0)),null==h[j]&&(h[j]=x(Q_,QZ,9,j,0)),h[j][g]?(h[j][g].c[0]+=h[j][g].b[0].a[e],h[j][g].d[0]+=h[j][g].b[0].b[e],h[j][g].c[1]+=h[j][g].b[1].a[c],h[j][g].d[1]+=h[j][g].b[1].b[c],++h[j][g].a[0],++h[j][g].a[1]):(h[j][g]=new K_(ox(a.c,\ng),ox(a.c,j),e,c),!b&&(b=new om),rm(b,h[j][g])))}return b}function B_(a){var b,c;b=3.141592653589793-3.141592653589793*(a.e.length-2)/a.e.length;for(c=1;c<a.e.length;++c)a.a[c]=a.a[c-1]+Math.sin(b*(c-1)),a.b[c]=a.b[c-1]+Math.cos(b*(c-1))}function R_(a,b,c){var d,e;for(e=d=0;e<yP(a.f,c);++e)S_(b,xP(a.f,c,e))&&++d;return d}\nfunction T_(a,b,c,d){var e,f,d=new A_(a.f,b.e.length+c.e.length-d,a.e);for(e=a=0;e<b.e.length;++e)d.e[a]=b.e[e],d.n[a]=b.n[e],d.a[a]=b.a[e],d.b[a++]=b.b[e];for(e=0;e<c.e.length;++e)f=O_(b,c.e[e]),-1==f?(d.e[a]=c.e[e],d.n[a]=c.n[e],d.a[a]=c.a[e],d.b[a++]=c.b[e]):d.n[f]<c.n[e]&&(d.n[f]=c.n[e]);return d}\nfunction U_(a,b){var c,d,e,f,g,j;!a.i&&(a.i=new V_);if(0!=(a.e&1)){var h,l,o,m,s;m=!1;EQ(b,7);b.o=b.c;b.p=b.d;for(l=0;l<b.c;++l)b.f[b.o+l]!=b.f[l]&&(b.f[b.o+l]!=b.f[2*b.o+l]&&(m=!0),h=NQ(b,l,!1),b.f[b.o+l]=b.f[l],-1!=h&&(s=NQ(b,l,!0),h!=s&&(o=(~~(b.s[l]&-268435456)>>>28)-1,(-1==o||o<h)&&SR(b,l,h))));k_(b);m&&(b.K=0)}a.f=b;EQ(a.f,3);a.c=new om;a.a=x(cq,gl,-1,a.f.o,2);a.b=x(cq,gl,-1,a.f.p,2);a.d=x(cq,gl,-1,a.f.p,2);for(d=0;d<a.f.p;++d)a.d[d]=32!=a.f.B[d];a.j=x(D,q,-1,a.f.o,1);for(c=0;c<a.f.o;++c)a.j[c]=\na.f.q[c];if(0!=(a.e&6)){for(d=0;d<a.f.p;++d)a.d[d]=!a.d[d]&&c_(a.f,W(a.f,0,d))&&c_(a.f,W(a.f,1,d));var t,r,v,C,y,F,N,M,$,U,L,fa;for(C=v=y=0;C<a.f.p;++C)if(c_(a.f,W(a.f,0,C))&&c_(a.f,W(a.f,1,C))){a.b[C]=!0;var vb=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a.f,Ra),a.e);ea.a[yP(a.f,Ra)]=0;ea.b[yP(a.f,Ra)]=0;ea.n[yP(a.f,Ra)]=32;ea.e[yP(a.f,Ra)]=Ra;a.a[Ra]=!0;for(T=0;T<yP(a.f,Ra);++T)Fb=xP(a.f,Ra,T),ea.a[T]=Math.sin(1.0471975511965976*T-2.0943951023931953),ea.b[T]=\nMath.cos(1.0471975511965976*T-2.0943951023931953),ea.n[T]=32,ea.e[T]=Fb,a.a[Fb]=!0,a.b[NP(a.f,Ra,T)]=!0;rm(a.c,ea)}Md=yQ(a.f);for(Nc=0;Nc<Md.i.c;++Nc){dc=ox(Md.j,Nc).length;Ka=ox(Md.i,Nc);Oc=!1;if(0!=(a.e&6)){Oc=!0;for(T=0;T<dc;++T)if(!c_(a.f,Ka[T])){Oc=!1;break}}if(!Oc){K=!1;for(T=0;T<dc;++T)if(HQ(a.f,Ka[T])==dc){K=!0;break}if(K){cb=ox(Md.j,Nc);z_(a,Ka,cb);for(T=0;T<dc;++T)a.a[Ka[T]]=!0,a.b[cb[T]]=!0}}}for(bb=0;bb<a.f.p;++bb)if(MP(a.f,bb)&&!a.b[bb]){a:{var ec=a,G=bb,eb=void 0,Vc=void 0,Nd=void 0,\nDb=void 0,xc=void 0,hd=void 0,Od=void 0,ae=void 0,Cd=void 0,ja=void 0,Ib=void 0,Pd=void 0,fe=void 0,eb=W(ec.f,0,G),Vc=W(ec.f,1,G),xc=x(D,q,-1,ec.f.o,1),hd=x(D,q,-1,ec.f.o,1),Od=x(D,q,-1,ec.f.o,1),ae=x(D,q,-1,ec.f.o,1);xc[0]=eb;xc[1]=Vc;hd[1]=G;Od[eb]=1;Od[Vc]=2;ae[0]=-1;ae[1]=0;for(Cd=Db=1;Db<=Cd;){for(ja=0;ja<yP(ec.f,xc[Db]);++ja){Nd=xP(ec.f,xc[Db],ja);if(1<Db&&Nd==eb){fe=new X_(Od[xc[Db]]);hd[0]=NP(ec.f,xc[Db],ja);Ib=Db;for(Pd=0;Pd<f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tc[2]=Uc);ea=new A_(a.f,4,a.e);for(T=0;3>T;++T)a.a[Ba[T]]=!0,a.b[Tc[T]]=!0,ea.e[T]=Ba[T],ea.n[T]=32;ea.a[0]=-1;ea.b[0]=0;ea.a[1]=1;ea.b[1]=0;ea.a[2]=0;ea.b[2]=1;ea.a[3]=0;ea.b[3]=0;ea.n[3]=32;ea.e[3]=Ra;rm(a.c,ea)}}Y_(a);for(var nb,le,xb,yc,fb,Sa;;){yc=null;for(nb=0;nb<a.f.o;++nb){for(xb=Sa=0;xb<yP(a.f,nb);++xb)a.b[NP(a.f,nb,xb)]||++Sa;if(1==Sa){a:{var od=a,Jb=nb,Kb=void 0,zc=void 0,xa=void 0,Wc=void 0,fc=void 0,Hc=void 0,Ac=void 0,Gb=void 0,Lb=void 0,\nid=void 0,be=void 0,pd=void 0,xa=x(D,q,-1,od.f.o,1),Wc=x(D,q,-1,od.f.o,1),fc=x(D,q,-1,od.f.o,1),Hc=x(D,q,-1,od.f.o,1);xa[0]=Jb;fc[Jb]=1;Hc[0]=-1;for(Ac=zc=0;zc<=Ac;){if(0==zc||!od.a[xa[zc]])for(Gb=0;Gb<yP(od.f,xa[zc]);++Gb)Kb=xP(od.f,xa[zc],Gb),be=NP(od.f,xa[zc],Gb),0==fc[Kb]&&!od.b[be]&&(xa[++Ac]=Kb,Wc[Ac]=be,fc[Kb]=fc[xa[zc]]+1,Hc[Ac]=zc);if(zc==Ac){pd=new X_(fc[xa[zc]]);Lb=zc;for(id=0;id<pd.a.length;++id)pd.a[id]=xa[Lb],pd.b[id]=Wc[Lb],Lb=Hc[Lb];fb=pd;break a}++zc}fb=null}(!yc||fb.a.length>yc.a.length)&&\n(yc=fb)}}if(!yc)break;le=new A_(a.f,yc.a.length,a.e);for(xb=0;xb<yc.a.length;++xb)a.a[yc.a[xb]]=!0,xb<yc.a.length-1&&(a.b[yc.b[xb]]=!0),le.e[xb]=yc.a[xb],le.a[xb]=Math.cos(0.5235987755982988)*xb,le.b[xb]=1==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length,1);bd=0;if(32>Pa)for(yb=1;yb<kd.length-1;++yb)3==Ce[kd[yb]]&&(Cc[bd++]=\nkd[yb]);else if(96>Pa)for(yb=1;yb<kd.length-1;++yb)2<=Ce[kd[yb]]&&(Cc[bd++]=kd[yb]);else for(yb=1;yb<kd.length-1;++yb)1<=Ce[kd[yb]]&&(Cc[bd++]=kd[yb]);if(0!=bd){ya=Cc[0];if(1<bd){do ya=Cc[c0(a.i,bd)];while(ya==Oe)}ya!=Oe&&(Oe=ya,$_(ic,ya),me=a0(ic),Yc>ic.c&&(Yc=ic.c,yd=new b0(ic,a.e)))}}hD(a.c,sd,yd);ic=yd;Td=1;do{Ta=9999;for(yb=0;yb<ic.e.length;++yb)if(Qb=df[ic.e[yb]],Qb==Td){for(var kc=ic,Eg=yb,ck=void 0,xl=void 0,ah=void 0,Ih=void 0,lg=void 0,bh=void 0,Jh=void 0,Fg=void 0,mg=void 0,Gg=void 0,aj=\nvoid 0,yl=void 0,Ud=void 0,Ee=void 0,qe=void 0,Sb=void 0,hf=void 0,Ig=void 0,ok=void 0,gv=void 0,Ud=kc.a[Eg],hf=kc.b[Eg],Ih=x(d0,Sl,11,4,0),Gg=mg=0;Gg<kc.f.length&&!(4<=mg);++Gg)Eg==kc.i[W(kc.k,0,kc.f[Gg])]||Eg==kc.i[W(kc.k,1,kc.f[Gg])]||(Ee=kc.a[kc.i[W(kc.k,0,kc.f[Gg])]],Ig=kc.b[kc.i[W(kc.k,0,kc.f[Gg])]],qe=kc.a[kc.i[W(kc.k,1,kc.f[Gg])]],ok=kc.b[kc.i[W(kc.k,1,kc.f[Gg])]],bh=Math.sqrt((Ee-Ud)*(Ee-Ud)+(Ig-hf)*(Ig-hf)),Jh=Math.sqrt((qe-Ud)*(qe-Ud)+(ok-hf)*(ok-hf)),ah=Math.sqrt((qe-Ee)*(qe-Ee)+(ok-Ig)*\n(ok-Ig)),bh<ah&&Jh<ah?Ee==qe?(lg=0>=Ud-Ee?0-(Ud-Ee):Ud-Ee,0.5>lg&&(Ih[mg++]=new e0(Z_(Ee,hf,Ud,hf),(0.5-lg)/2))):Ig==ok?(lg=0>=hf-Ig?0-(hf-Ig):hf-Ig,0.5>lg&&(Ih[mg++]=new e0(Z_(Ud,Ig,Ud,hf),(0.5-lg)/2))):(aj=(ok-Ig)/(qe-Ee),yl=-1/aj,ck=Ig-aj*Ee,xl=hf-yl*Ud,Sb=(xl-ck)/(aj-yl),gv=aj*Sb+ck,lg=Math.sqrt((Sb-Ud)*(Sb-Ud)+(gv-hf)*(gv-hf)),0.5>lg&&(Ih[mg++]=new e0(Z_(Sb,gv,Ud,hf),(0.5-lg)/2))):0.5>bh?Ih[mg++]=new e0(Z_(Ee,Ig,Ud,hf),(0.5-bh)/2):0.5>Jh&&(Ih[mg++]=new e0(Z_(qe,ok,Ud,hf),(0.5-Jh)/2)));0<mg&&\n(Fg=f0(Ih,mg),kc.a[Eg]+=Fg.b*Math.sin(Fg.a),kc.b[Eg]+=Fg.b*Math.cos(Fg.a))}else Qb>Td&&Qb<Ta&&(Ta=Qb);Td=Ta}while(9999!=Ta)}var Ll,En;for(Ll=0;Ll<a.f.o;++Ll)!c_(a.f,Ll)&&0==yP(a.f,Ll)&&(En=new A_(a.f,1,a.e),a.a[Ll]=!0,En.e[0]=Ll,En.a[0]=0,En.b[0]=0,En.n[0]=0,rm(a.c,En));var C_,hv;for(hv=N_(a);hv;){for(var Fn=void 0,iv=void 0,jD=void 0,kD=void 0,kD=0,jD=null,iv=new qv(hv);iv.b<iv.d.Tf();)Fn=rv(iv),kD<Fn.b[0].e.length*Fn.b[1].e.length&&(kD=Fn.b[0].e.length*Fn.b[1].e.length,jD=Fn);C_=jD;g0(a,C_,1.2);\nhv=N_(a)}var jv;for(jv=E_(a);jv;)g0(a,jv,1.5),jv=E_(a);var kv;for(kv=L_(a);kv;)g0(a,kv,1.8),kv=L_(a);for(g=0;g<a.c.c;++g){e=ox(a.c,g);for(j=0;j<e.e.length;++j)f_(a.f,e.e[j],e.a[j]),g_(a.f,e.e[j],e.b[j]),h_(a.f,e.e[j],0)}}\nfunction g0(a,b,c){var d;d=0!=(a.e&6);var e,f,g,j,h,l,o;e=x(oG,hl,-1,2,1);for(h=0;2>h;++h){b.c[h]/=b.a[h];b.d[h]/=b.a[h];o=e;g=h;f=b.b[h];j=b.c[h];l=b.d[h];var m=void 0,s=m=void 0,t=void 0,r=void 0,v=void 0,C=void 0,y=C=void 0,F=r=m=v=r=void 0,N=void 0,M=s=void 0,$=r=m=void 0,U=void 0;if(1==f.e.length)f=0;else{M=c+Math.sqrt(b.b[1-h].e.length);t=x(oG,hl,-1,36,1);for(y=0;y<f.e.length;++y)m=Z_(j,l,f.a[y],f.b[y]),m=J(I(Math.round(36*m/6.283185307179586))),m=0>m?m+36:36<=m?m-36:m,r=j-f.a[y],v=l-f.b[y],\nr=r*r+v*v,t[m]<r&&(t[m]=r);m=r=-1;for(y=0;36>y;++y)t[y]=Math.sqrt(t[y]),r<t[y]&&(r=t[y],m=y);m=0>m-18?m-18+36:36<=m-18?m-18-36:m-18;for(y=0;18>=y;++y)t[0>m+y?m+y+36:36<=m+y?m+y-36:m+y]+=0.01*y,t[0>m-y?m-y+36:36<=m-y?m-y-36:m-y]+=0.01*y;$=x(oG,hl,-1,9,1);for(y=1;9>y;++y)$[y]=Math.sin(0.17453292519943295*y);U=M*M;N=1.7976931348623157E308;F=-1;for(m=0;36>m;++m)if(!(t[m]>=N)){v=t[m];for(y=1;9>y;++y){for(r=-1;1>=r&&!(s=0>m+r*y?m+r*y+36:36<=m+r*y?m+r*y-36:m+r*y,!(t[s]<=v)&&(C=t[s]*$[y],C<M&&(C*=C,s=Math.sqrt(U-\nC)+Math.sqrt(t[s]*t[s]-C)-M,v<s&&(v=s,N<=s))));r+=2);if(N<=v)break}N>v&&(N=v,F=m)}f=6.283185307179586*F/36}o[g]=f}h0(b.b[0],b.c[0],b.d[0],1.5707963267948966-e[0]);h0(b.b[1],b.c[1],b.d[1],4.71238898038469-e[1]);o=1.7976931348623157E308;f=-1.7976931348623157E308;g=b.d[0]-b.d[1];for(h=0;h<b.b[1].b.length;++h)b.b[1].b[h]+=g,o>b.b[1].b[h]&&(o=b.b[1].b[h]),f<b.b[1].b[h]&&(f=b.b[1].b[h]);h=f-o+2*c;f=H(Math.ceil(h));o+=(h-f)/2-c;g=x(oG,hl,-1,f,1);for(h=0;h<f;++h)g[h]=b.c[1]+c;for(h=0;h<b.b[1].b.length;++h){j=\nb.b[1].b[h]-o;l=H(j-c);for(j=MQ(H(j+c),f-1);l<=j;++l)g[l]>b.b[1].a[h]&&(g[l]=b.b[1].a[h])}for(h=0;h<f;++h)g[h]-=c;c=b.c[0]-b.c[1];for(h=0;h<b.b[0].a.length;++h)f=H(b.b[0].b[h]-o),0<=f&&f<g.length&&c<b.b[0].a[h]-g[f]&&(c=b.b[0].a[h]-g[f]);for(h=0;h<b.b[1].a.length;++h)b.b[1].a[h]+=c;d&&(h0(b.b[0],b.c[0],b.d[0],e[0]-1.5707963267948966),h0(b.b[1],b.c[0],b.d[0],e[0]-1.5707963267948966));d=T_(a,b.b[0],b.b[1],0);i0(a,b.b[0],b.b[1],d)}\nfunction Y_(a){for(var b,c,d,e,f,g,j,h,l,o,m,s,t,r,v;;){o=v=0;r=t=null;for(f=1;f<a.c.c;++f){d=ox(a.c,f);for(g=0;g<f;++g){e=ox(a.c,g);for(h=s=m=c=b=0;h<d.e.length;++h)for(l=0;l<e.e.length;++l)d.e[h]==e.e[l]&&(++c,b=d.e[h],m<d.n[h]&&(m=d.n[h]),s<e.n[l]&&(s=e.n[l]));if(0<c&&(b=1==c&&1==R_(a,d,b)&&1==R_(a,e,b)?0:1,m>s?j=(b<<24)+(m<<16)+(s<<8)+c:j=(b<<24)+(s<<16)+(m<<8)+c,v<j)){v=j;o=c;for(h=s=m=0;h<d.e.length;++h)m<d.n[h]&&(m=d.n[h]);for(h=0;h<e.e.length;++h)s<e.n[h]&&(s=e.n[h]);m>s?(t=d,r=e):(t=e,r=\nd)}}}if(0==v)break;if(o==t.e.length)Bm(a.c,t);else if(o==r.e.length)Bm(a.c,r);else{c=a;f=o;s=m=e=d=o=o=h=b=v=g=void 0;g=x(D,q,-1,f,1);for(b=v=0;b<t.e.length;++b)for(h=0;h<r.e.length;++h)t.e[b]==r.e[h]&&(g[v++]=t.e[b]);if(1==f)f=(o=O_(t,g[0]),d=O_(r,g[0]),j0(r,t.a[o]-r.a[d],t.b[o]-r.b[d]),e=k0(c,t,g[0]),m=k0(c,r,g[0]),s=0,1==R_(c,t,g[0])&&1==R_(c,r,g[0])&&(s=1.0471975511965976),h0(r,r.a[d],r.b[d],e-m+s+3.141592653589793),T_(c,t,r,1));else{o=c;d=t;e=r;s=g;var C=void 0,y=v=void 0,F=void 0,N=void 0,M=\nvoid 0,$=void 0,U=void 0,L=l=h=b=N=void 0,fa=y=C=m=v=g=l=h=b=v=C=void 0,$=void 0;h=x(D,q,-1,f,1);l=x(D,q,-1,f,1);for(b=0;b<f;++b)h[b]=O_(d,s[b]),l[b]=O_(e,s[b]);for(b=C=v=m=g=0;b<f;++b)g+=d.a[h[b]],m+=d.b[h[b]],v+=e.a[l[b]],C+=e.b[l[b]];g/=f;m/=f;v/=f;C/=f;j0(e,g-v,m-C);N=x(d0,Sl,11,f,0);$=x(d0,Sl,11,f,0);C=x(d0,Sl,11,f,0);v=x(d0,Sl,11,f,0);for(b=0;b<f;++b)N[b]=new l0(g,m,d.a[h[b]],d.b[h[b]]),$[b]=new l0(g,m,e.a[l[b]],e.b[l[b]]),C[b]=new e0(N[b].a-$[b].a,N[b].b*$[b].b),v[b]=new e0(N[b].a+$[b].a,N[b].b*\n$[b].b);C=f0(C,f);v=f0(v,f);for(b=$=fa=0;b<f;++b)for(L=0;L<yP(o.f,s[b]);++L)y=xP(o.f,s[b],L),S_(d,y)&&!S_(e,y)&&++fa,!S_(d,y)&&S_(e,y)&&++$;M=x(d0,Sl,11,fa,0);U=x(d0,Sl,11,$,0);N=x(d0,Sl,11,$,0);for(b=$=fa=0;b<f;++b)for(L=0;L<yP(o.f,s[b]);++L)y=xP(o.f,s[b],L),S_(d,y)&&!S_(e,y)&&(F=O_(d,y),M[fa]=new l0(d.a[h[b]],d.b[h[b]],d.a[F],d.b[F]),++fa),!S_(d,y)&&S_(e,y)&&(F=O_(e,y),y=new l0(e.a[l[b]],e.b[l[b]],e.a[F],e.b[F]),U[$]=new e0(C.a+y.a,y.b),N[$]=new e0(v.a-y.a,y.b),++$);b=f0(M,fa);h=f0(U,$);l=f0(N,\n$);if(mH(i_(b.a,h.a))>mH(i_(b.a,l.a)))h0(e,g,m,C.a);else{s=g;b=m;C=l=h=void 0;for(C=0;C<e.e.length;++C)l=cL((e.a[C]-s)*(e.a[C]-s)+(e.b[C]-b)*(e.b[C]-b)),h=0-Z_(s,b,e.a[C],e.b[C]),e.a[C]=s+l*Math.sin(h),e.b[C]=b+l*Math.cos(h);h0(e,g,m,v.a)}f=T_(o,d,e,f)}o=f;i0(c,t,r,o)}}}\nfunction k0(a,b,c){var d,e,f,g,j,h,l,o;d=x(oG,hl,-1,yP(a.f,c)+1,1);f=x(D,q,-1,yP(a.f,c)+1,1);g=x(D,q,-1,yP(a.f,c)+1,1);l=O_(b,c);for(j=e=0;j<yP(a.f,c);++j)f[e]=xP(a.f,c,j),g[e]=NP(a.f,c,j),h=O_(b,f[e]),-1!=h&&(d[e++]=Z_(b.a[l],b.b[l],b.a[h],b.b[h]));if(1==e)return d[0]+3.141592653589793;for(j=e-1;0<j;--j)for(b=0;b<j;++b)d[b]>d[b+1]&&(h=d[b],d[b]=d[b+1],d[b+1]=h,h=f[b],f[b]=f[b+1],f[b+1]=h,h=g[b],g[b]=g[b+1],g[b+1]=h);d[e]=d[0]+6.283185307179586;f[e]=f[0];g[e]=g[0];h=-100;for(j=l=0;j<e;++j){b=d[j+\n1]-d[j];if(2<e&&MP(a.f,g[j])&&MP(a.f,g[j+1])){a:{o=a;var m=f[j],s=c,t=f[j+1],r=void 0,v=void 0,C=void 0,y=void 0,F=void 0,N=void 0,C=x(D,q,-1,o.f.o,1),y=x(D,q,-1,o.f.o,1);C[0]=s;C[1]=m;y[s]=1;y[m]=2;for(F=v=1;v<=F;){for(N=0;N<yP(o.f,C[v]);++N){r=xP(o.f,C[v],N);if(r==t){o=1+y[C[v]];break a}0==y[r]&&0!=(o.f.s[r]&3072)&&(C[++F]=r,y[r]=y[C[v]]+1)}++v}o=0}0!=o&&(b-=100-o)}h<b&&(h=b,l=j)}return(d[l]+d[l+1])/2}function i0(a,b,c,d){var e;e=MQ(rA(a.c,b),rA(a.c,c));zD(a.c,e,d);Bm(a.c,b);Bm(a.c,c)}\nfunction m0(){this.e=1}function f0(a,b){var c,d,e;for(d=c=e=0;d<b;++d)e+=a[d].b*Math.sin(a[d].a),c+=a[d].b*Math.cos(a[d].a);0==c?d=0<e?1.5707963267948966:-1.5707963267948966:(d=Math.atan(e/c),0>c&&(d+=3.141592653589793));c=Math.sqrt(e*e+c*c)/b;return new e0(d,c)}u(33,1,{},m0);_.a=null;_.b=null;_.c=null;_.d=null;_.e=0;_.f=null;_.i=null;_.j=null;function H_(){}u(34,1,{},H_);_.ad=function(a,b){var c,d;return c=nH(a.b),d=nH(b.b),c<d?-1:c==d?0:1};function I_(){}u(35,1,{},I_);\n_.ad=function(a){var b,a=b=a.c.e.length;return b<a?1:b==a?0:-1};function J_(){}u(36,1,{},J_);_.ad=function(a){var b,a=b=a.c.e.length;return b<a?-1:b==a?0:1};function M_(a,b){var c,d;this.b=x(W_,Sl,12,2,0);this.b[0]=a;this.b[1]=b;this.c=x(oG,hl,-1,2,1);this.d=x(oG,hl,-1,2,1);this.a=x(D,q,-1,2,1);for(c=0;2>c;++c){for(d=0;d<this.b[c].e.length;++d)this.c[c]+=this.b[c].a[d],this.d[c]+=this.b[c].b[d];this.a[c]=this.b[c].e.length}}\nfunction K_(a,b,c,d){this.b=x(W_,Sl,12,2,0);this.b[0]=a;this.b[1]=b;this.c=x(oG,hl,-1,2,1);this.d=x(oG,hl,-1,2,1);this.c[0]=this.b[0].a[c];this.d[0]=this.b[0].b[c];this.c[1]=this.b[1].a[d];this.d[1]=this.b[1].b[d];this.a=x(D,q,-1,2,1);this.a[0]=1;this.a[1]=1}u(37,1,{9:1},M_,K_);_.a=null;_.b=null;_.c=null;_.d=null;function e0(a,b){this.a=a;this.b=b}function l0(a,b,c,d){this.a=Z_(a,b,c,d);a=c-a;b=d-b;this.b=Math.sqrt(a*a+b*b)}\nfunction Z_(a,b,c,d){a=c-a;d-=b;0!=d?(b=Math.atan(a/d),0>d&&(0>a?b-=3.141592653589793:b+=3.141592653589793)):b=0<a?1.5707963267948966:-1.5707963267948966;return b}u(38,1,{11:1},e0,l0);_.a=0;_.b=0;function X_(a){this.a=x(D,q,-1,a,1);this.b=x(D,q,-1,a,1)}u(39,1,{},X_);_.a=null;_.b=null;function F_(a,b,c){this.c=a;this.a=b;this.b=c}u(40,1,{},F_);_.a=0;_.b=0;_.c=null;\nfunction $_(a,b){var c,d,e,f,g,j,h,l;null==a.d&&(a.d=x(nI,Yl,87,a.k.p,0));if(null==a.d[b]){g=x(D,q,-1,a.e.length,1);l=x(cq,gl,-1,a.k.o,2);c=W(a.k,0,b);d=W(a.k,1,b);g[0]=c;l[c]=!0;for(j=f=0;f<=j;){for(h=0;h<yP(a.k,g[f]);++h)e=xP(a.k,g[f],h),!l[e]&&e!=d&&(g[++j]=e,l[e]=!0);if(f==j)break;++f}e=j+1>~~(a.e.length/2);if(0!=(a.j&6)){f=g=!1;for(h=0;h<a.e.length;++h)c_(a.k,a.e[h])&&(l[a.e[h]]?g=!0:f=!0);g!=f&&(e=g)}f=2;a.d[b]=x(D,q,-1,e?a.e.length-j:j+2,1);for(h=0;h<a.e.length;++h)a.e[h]==c?a.d[b][e?0:1]=\nh:a.e[h]==d?a.d[b][e?1:0]=h:e^l[a.e[h]]&&(a.d[b][f++]=h)}e=a.a[a.d[b][0]];f=a.b[a.d[b][0]];l=Z_(e,f,a.a[a.d[b][1]],a.b[a.d[b][1]]);for(h=2;h<a.d[b].length;++h)j=a.d[b][h],d=cL((a.a[j]-e)*(a.a[j]-e)+(a.b[j]-f)*(a.b[j]-f)),c=2*l-Z_(e,f,a.a[j],a.b[j]),a.a[j]=e+d*Math.sin(c),a.b[j]=f+d*Math.cos(c)}\nfunction a0(a){var b,c,d,e,f;a.c=0;c=new om;for(e=1;e<a.e.length;++e)for(f=0;f<e;++f)b=mH(a.a[e]-a.a[f]),d=mH(a.b[e]-a.b[f]),d=Math.sqrt(b*b+d*d),0.8>d&&(b=x(D,q,-1,2,1),b[0]=a.e[e],b[1]=a.e[f],aq(c.b,c.c++,b)),b=1-(1>d?d:1),a.c+=b*b;return c}function O_(a,b){var c;for(c=0;c<a.e.length;++c)if(b==a.e[c])return c;return-1}function S_(a,b){var c;for(c=0;c<a.e.length;++c)if(b==a.e[c])return!0;return!1}\nfunction h0(a,b,c,d){var e,f,g;for(g=0;g<a.e.length;++g)f=cL((a.a[g]-b)*(a.a[g]-b)+(a.b[g]-c)*(a.b[g]-c)),e=Z_(b,c,a.a[g],a.b[g])+d,a.a[g]=b+f*Math.sin(e),a.b[g]=c+f*Math.cos(e)}function j0(a,b,c){var d;for(d=0;d<a.e.length;++d)a.a[d]+=b,a.b[d]+=c}function A_(a,b,c){this.k=a;this.j=c;this.e=x(D,q,-1,b,1);this.n=x(D,q,-1,b,1);this.a=x(oG,hl,-1,b,1);this.b=x(oG,hl,-1,b,1)}\nfunction b0(a,b){var c;this.k=a.k;this.j=b;this.e=x(D,q,-1,a.e.length,1);this.n=x(D,q,-1,a.e.length,1);this.a=x(oG,hl,-1,a.e.length,1);this.b=x(oG,hl,-1,a.e.length,1);for(c=0;c<a.e.length;++c)this.e[c]=a.e[c],this.n[c]=a.n[c],this.a[c]=a.a[c],this.b[c]=a.b[c];if(null!=a.f){this.f=x(D,q,-1,a.f.length,1);for(c=0;c<a.f.length;++c)this.f[c]=a.f[c]}if(null!=a.i){this.i=x(D,q,-1,a.i.length,1);for(c=0;c<a.i.length;++c)this.i[c]=a.i[c]}}u(41,1,{12:1},A_,b0);_.a=null;_.b=null;_.c=0;_.d=null;_.e=null;_.f=null;\n_.i=null;_.j=0;_.k=null;_.n=null;function l_(a,b){var c;c=a-b;3.141592653589793<=c?c-=6.283185307179586:-3.141592653589793>c&&(c+=6.283185307179586);return c}\nfunction n0(a){var b;b=new nS;var c=new u_,d=gL($x(a)),e,f,g,j,h,l,o,m,s,t,r,v,C,y,F,N,M,$,U,L,fa,vb,Q,Ha,da,Qa,uc,R,Eb,pb,Ca,Va,Lc,nd,ra,hb,wc;c.b=b;KR(c.b);Q=null;j=x(D,q,-1,64,1);j[0]=-1;Qa=x(D,q,-1,64,1);uc=x(D,q,-1,64,1);for(C=0;64>C;++C)Qa[C]=-1;f=da=0;R=Ha=pb=!1;l=0;Eb=d.length;for(h=1;32>=d[da];)++da;for(;da<Eb;)if(Ca=d[da++]&65535,o0(Ca)||42==Ca){g=0;r=-1;y=vb=F=!1;if(pb)82==Ca&&dF(d[da]&65535)?($=null!=String.fromCharCode(d[da+1]&65535).match(/\\d/)?2:1,g=cS(LR(d,da-1,1+$)),da+=$):(N=String.fromCharCode(d[da]&\n65535).toLowerCase().charCodeAt(0)==(d[da]&65535)&&o0(d[da]&65535)?2:1,g=cS(LR(d,da-1,N)),da+=N-1,r=0),64==d[da]&&(++da,64==d[da]&&(y=!0,++da),vb=!0),72==d[da]&&(++da,r=1,dF(d[da]&65535)&&(r=d[da]-48,++da));else if(42==Ca)g=6,F=!0;else switch(String.fromCharCode(Ca).toUpperCase().charCodeAt(0)){case 66:da<Eb&&114==d[da]?(g=35,++da):g=5;break;case 67:da<Eb&&108==d[da]?(g=17,++da):g=6;break;case 70:g=9;break;case 73:g=53;break;case 78:g=7;break;case 79:g=8;break;case 80:g=15;break;case 83:g=16}if(0==\ng)throw new qp("SmilesParser: unknown element label found");e=FR(c.b,g);F?(R=!0,XR(c.b,e,1)):e_(c.b,e,String.fromCharCode(Ca).toLowerCase().charCodeAt(0)==Ca&&o0(Ca));if(-1!=r&&1!=g){o=x(hL,ml,-1,1,1);o[0]=~~(r<<24)>>24;var Y=c.b,Ra=e,Tb=o;null!=Tb&&0==Tb.length&&(Tb=null);null==Tb?null!=Y.r&&(Y.r[Ra]=null):(null==Y.r&&(Y.r=x(ER,Sl,3,Y.G,0)),Y.r[Ra]=Tb)}v=j[l];-1!=j[l]&&128!=h&&JR(c.b,e,j[l],h);h=1;j[l]=e;0!=f&&(VR(c.b,e,f),f=0);(L=!Q?null:GV(Q,KH(v)))&&v_(L,e,da,1==g);vb&&(!Q&&(Q=new RV),MV(Q,KH(e),\nnew x_(c,e,v,r,da,y)))}else if(46==Ca)h=128;else if(61==Ca)h=2;else if(35==Ca)h=4;else if(dF(Ca))if(U=Ca-48,pb){for(;da<Eb&&dF(d[da]&65535);)U=10*U+d[da]-48,++da;f=U}else{Ha&&da<Eb&&dF(d[da]&65535)&&(U=10*U+d[da]-48,++da);Ha=!1;if(64<=U)throw new qp("SmilesParser: ringClosureAtom number out of range");if(-1==Qa[U])Qa[U]=j[l],uc[U]=da-1;else{if(Qa[U]==j[l])throw new qp("SmilesParser: ring closure to same atom");Q&&((L=GV(Q,KH(Qa[U])))&&v_(L,j[l],uc[U],!1),(L=GV(Q,KH(j[l])))&&v_(L,Qa[U],da-1,!1));JR(c.b,\nj[l],Qa[U],h);Qa[U]=-1}h=1}else if(43==Ca){if(!pb)throw new qp("SmilesParser: \'+\' found outside brackets");for(m=1;43==d[da];)++m,++da;1==m&&dF(d[da]&65535)&&(m=d[da]-48,++da);TR(c.b,j[l],m)}else if(45==Ca){if(pb){for(m=-1;45==d[da];)--m,++da;-1==m&&dF(d[da]&65535)&&(m=48-d[da],++da);TR(c.b,j[l],m)}}else if(40==Ca){if(-1==j[l])throw new qp("Smiles with leading parenthesis are not supported");j[l+1]=j[l];++l}else if(41==Ca)--l;else if(91==Ca){if(pb)throw new qp("SmilesParser: nested square brackets found");\npb=!0}else if(93==Ca){if(!pb)throw new qp("SmilesParser: closing bracket without opening one");pb=!1}else if(37==Ca)Ha=!0;else if(58==Ca)if(pb){for(M=0;dF(d[da]&65535);)M=10*M+d[da]-48,++da;c.b.u[j[l]]=M}else h=64;else if(47==Ca)h=17;else if(92==Ca)h=9;else throw new qp("SmilesParser: unexpected character found: \'"+String.fromCharCode(Ca)+Oa);if(1!=h)throw new qp("SmilesParser: dangling open bond");for(C=0;64>C;++C)if(-1!=Qa[C])throw new qp("SmilesParser: dangling ring closure");var Pb=c.b,bb,Fb,\nMc,nc,ea,Gc;Gc=x(D,q,-1,Pb.o,1);nc=x(cq,gl,-1,Pb.o,2);for(Fb=0;Fb<Pb.p;++Fb)for(Mc=0;2>Mc;++Mc)kS(Pb,Pb.y[Mc][Fb])&&!kS(Pb,Pb.y[1-Mc][Fb])&&(nc[Pb.y[Mc][Fb]]=!0);for(ea=Pb.o-1;0<=ea&&nc[ea];)Gc[ea]=ea,--ea;for(bb=0;bb<=ea;++bb)if(nc[bb]){Gc[bb]=ea;Gc[ea]=bb;for(--ea;0<=ea&&nc[ea];)Gc[ea]=ea,--ea}else Gc[bb]=bb;c.b.J=!0;EQ(c.b,1);for(e=0;e<c.b.o;++e)if(null!=(null==b.r?null:null==b.r[e]?null:LR(b.r[e],0,b.r[e].length))&&!c_(c.b,e))if(t=(null==c.b.r?null:c.b.r[e])[0],c.b.x[e]<(fQ(),DR).length&&null!=\nDR[c.b.x[e]]){s=!1;Va=OQ(c.b,e);Va-=QQ(c.b,e,Va);for(nd=DR[c.b.x[e]],ra=0,hb=nd.length;ra<hb;++ra)if(Lc=nd[ra],Va<=Lc){s=!0;Lc!=Va+t&&SR(c.b,e,Va+t);break}s||SR(c.b,e,Va+t)}var T,K,Cb,Ub;for(T=0;T<c.b.c;++T)if(7==c.b.x[T]&&0==c.b.q[T]&&3<OQ(c.b,T)&&0<c.b.k[T])for(Ub=0;Ub<c.b.f[T];++Ub)if(K=xP(c.b,T,Ub),Cb=NP(c.b,T,Ub),1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b,hd)&&0==Ib[hd]&&(++fe,Cd[fe]=hd,ja[fe]=Od,Ib[hd]=Ib[xb]+1,Pd[hd]=xb)}++ae}}EQ(c.b,\n3);for(db=0;db<eb.i.c;++db)if(Nc[db]){ec=ox(eb.i,db);for(cb=0;cb<ec.length;++cb){var yc;var fb=c,Sa=ec[cb],od=void 0;16==fb.b.x[Sa]&&0>=fb.b.q[Sa]||6==fb.b.x[Sa]&&0!=fb.b.q[Sa]||!c_(fb.b,Sa)?yc=!1:(od=null==UQ(fb.b,Sa)?0:(null==fb.b.r?null:fb.b.r[Sa])[0],yc=1>PR(fb.b,Sa)-OQ(fb.b,Sa)-od||5!=fb.b.x[Sa]&&6!=fb.b.x[Sa]&&7!=fb.b.x[Sa]&&8!=fb.b.x[Sa]&&15!=fb.b.x[Sa]&&16!=fb.b.x[Sa]&&33!=fb.b.x[Sa]&&34!=fb.b.x[Sa]?!1:!0);if(!yc){e_(c.b,ec[cb],!1);for(dc=0;dc<c.b.f[ec[cb]];++dc)c.a[NP(c.b,ec[cb],dc)]=!1}}}t_(c);\nfor(db=0;db<eb.i.c;++db)if(Nc[db]&&6==ox(eb.j,db).length){G=ox(eb.j,db);Md=!0;for(Tc=0,ad=G.length;Tc<ad;++Tc)if(Ba=G[Tc],!c.a[Ba]){Md=!1;break}Md&&(s_(c,G[0]),s_(c,G[2]),s_(c,G[4]),t_(c))}for(Uc=5;4<=Uc;--Uc){do{Oc=!1;for(Ba=0;Ba<c.b.d;++Ba)if(c.a[Ba]){for(cb=V=0;2>cb;++cb){Ka=W(c.b,cb,Ba);for(dc=0;dc<c.b.f[Ka];++dc)c.a[NP(c.b,Ka,dc)]&&++V}if(V==Uc){s_(c,Ba);t_(c);Oc=!0;break}}}while(Oc)}for(Ba=0;Ba<c.b.d;++Ba)if(c.a[Ba])throw new qp(YZ);for(ib=0;ib<c.b.c;++ib)if(c_(c.b,ib))throw new qp(YZ);c.b.r=\nnull;c.b.J=!1;var Jb,Kb,zc,xa,Wc,fc,Hc,Ac,Gb,Lb,id;EQ(c.b,3);Gb=!1;Lb=x(D,q,-1,2,1);id=x(D,q,-1,2,1);Ac=x(D,q,-1,2,1);for(Kb=0;Kb<c.b.d;++Kb)if(!YP(c.b,Kb)&&2==c.b.B[Kb]){for(xa=0;2>xa;++xa){Lb[xa]=-1;Ac[xa]=-1;Jb=W(c.b,xa,Kb);for(Hc=0;Hc<c.b.f[Jb];++Hc)zc=NP(c.b,Jb,Hc),zc!=Kb&&(17==c.b.B[zc]||9==c.b.B[zc]?(Lb[xa]=xP(c.b,Jb,Hc),id[xa]=zc):Ac[xa]=xP(c.b,Jb,Hc));if(-1==Lb[xa])break}if(-1!=Lb[0]&&-1!=Lb[1]){fc=c.b.B[id[0]]!=c.b.B[id[1]];Wc=!1;for(xa=0;2>xa;++xa)-1!=Ac[xa]&&Ac[xa]<Lb[xa]&&(Wc=!Wc);$R(c.b,\nKb,fc^Wc?2:1,!1);Gb=!0}}for(Kb=0;Kb<c.b.d;++Kb)(17==c.b.B[Kb]||9==c.b.B[Kb])&&iR(c.b,Kb,1);Gb&&(c.b.K|=4);U_(new m0,c.b);if(Q){for(fa=p0((wc=new SV(Q),new q0(Q,wc)));yL(fa.a.a);)L=(fa.a.b=rv(fa.a.a)).rh(),WR(c.b,L.a,w_(L,Gc),!1);c.b.K|=4}k_(c.b);y_(c.b);R&&bS(c.b,!0);return(new r_(b)).a.a.a}function o0(a){return null!=String.fromCharCode(a).match(/[A-Z]/i)}function p0(a){a=new VV(a.b.a);return new r0(a)}function q0(a,b){this.a=a;this.b=b}u(649,637,{},q0);\n_.oh=function(a){a:{var b,c;for(c=new VV((new SV(this.a)).a);yL(c.a);)if(b=c.b=rv(c.a),b=b.rh(),null==a?null==b:xp(a,b)){a=!0;break a}a=!1}return a};_.xe=function(){return p0(this)};_.Tf=function(){return this.b.a.c};_.a=null;_.b=null;function r0(a){this.a=a}u(650,1,{},r0);_.Yd=function(){return yL(this.a.a)};_.Zd=function(){return(this.a.b=rv(this.a.a)).rh()};_.$d=function(){UV(this.a)};_.a=null;\nfunction G_(a,b){zv();var c;c=Iv(a.b,a.c);TP(c,c.length,b?b:(UP(),UP(),VP));var d,e;e=a.c;for(d=0;d<e;++d)hD(a,d,c[d])}function s0(){s0=w;var a,b;t0=x(oG,hl,-1,25,1);u0=x(oG,hl,-1,33,1);b=1.52587890625E-5;for(a=32;0<=a;--a)u0[a]=b,b*=0.5;b=1;for(a=24;0<=a;--a)t0[a]=b,b*=0.5}function c0(a,b){var c,d;if(0<b){if((b&-b)==b)return H(4.6566128730773926E-10*b*v0(a));do c=v0(a),d=c%b;while(0>c-d+(b-1));return H(d)}throw new nC;}\nfunction v0(a){var b,c,d;c=15525485*a.a+1502*a.b;d=15525485*a.b+11;b=Math.floor(5.9604644775390625E-8*d);a.a=(c+b)%16777216;a.b=d-16777216*b;a=128*a.a+Math.floor(a.b*u0[31]);2147483648<=a&&(a-=4294967296);return a}function V_(){s0();var a,b;b=w0++ +(new Date).getTime();a=H(Math.floor(5.9604644775390625E-8*b))&16777215;b=H(b-16777216*a);this.a=a^1502;this.b=b^15525485}function x0(){s0();this.a=6122;this.b=12230397}u(666,1,{},V_,x0);_.a=0;_.b=0;var t0,u0,w0=0;u(699,695,Pl);\n_.zd=function(){var a,b,c,d;c=null;a=zf;try{var e=this.a,f,g=this.b,j,h,l,o;f=-1!=g.indexOf(">>")?(j=eL(g,">>"),h=n0(j[0]),l=n0(j[1]),o=n,o+=Ea,o+=oI(1,3)+oI(1,3)+aa,o+=Da+h,o+=Da+l,o):n0(g);d=QH(e,f,!0)}catch(m){if(m=kq(m),A(m,97)){if(b=m,d=!1,c=b,this.a.yc)try{var s=this.a,t,r=new o_,v=$x(this.b),C;if(null==v||0==v.length)C=null;else{var y=gL(v),F,N,M,$,U;if(null==y)C=null;else{m_(r,y,0);F=Z(r,4);$=Z(r,4);8<F&&(F=$);N=Z(r,F);M=Z(r,$);U=new oS(N,M);var L=null,fa,vb,Q,Ha,da,Qa,uc,R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=1;G<Ha;++G)Tc=Z(r,ib),0==Tc?(Ba&&(f_(r.f,G,r.f.D[0].a+8*(L[2*G-2]-83)),g_(r.f,G,r.f.D[0].b+8*(L[2*G-1]-83)),K&&h_(r.f,G,r.f.D[0].c+8*(L[2*Ha-3+G]-83))),++ea):(ra+=Tc-1,Ba&&(f_(r.f,G,IP(r.f,ra)+L[2*G-2]-83),g_(r.f,G,JP(r.f,ra)+L[2*G-1]-83),K&&h_(r.f,G,KP(r.f,ra)+(L[2*Ha-3+G]-83))),JR(r.f,ra,G,1));for(G=0;G<ea;++G)JR(r.f,Z(r,Q),Z(r,Q),1);Nd=x(cq,gl,-1,da,2);for(Y=0;Y<da;++Y)switch(Pb=Z(r,2),Pb){case 0:d_(r.f,W(r.f,0,Y))||d_(r.f,W(r.f,1,Y))?\niR(r.f,Y,32):Nd[Y]=!0;break;case 2:iR(r.f,Y,2);break;case 3:iR(r.f,Y,4)}vb=Z(r,Q);for(G=0;G<vb;++G)if(R=Z(r,Q),8==od)nb=Z(r,2),3==nb?(UR(r.f,R,1,0),WR(r.f,R,1,!1)):WR(r.f,R,nb,!1);else switch(nb=Z(r,3),nb){case 4:WR(r.f,R,1,!1);UR(r.f,R,1,Z(r,3));break;case 5:WR(r.f,R,2,!1);UR(r.f,R,1,Z(r,3));break;case 6:WR(r.f,R,1,!1);UR(r.f,R,2,Z(r,3));break;case 7:WR(r.f,R,2,!1);UR(r.f,R,2,Z(r,3));break;default:WR(r.f,R,nb,!1)}8==od&&0==Z(r,1)&&(r.f.F=!0);fa=Z(r,hb);for(G=0;G<fa;++G)if(Y=Z(r,hb),1==r.f.B[Y])switch(nb=\nZ(r,3),nb){case 4:$R(r.f,Y,1,!1);ZR(r.f,Y,1,Z(r,3));break;case 5:$R(r.f,Y,2,!1);ZR(r.f,Y,1,Z(r,3));break;case 6:$R(r.f,Y,1,!1);ZR(r.f,Y,2,Z(r,3));break;case 7:$R(r.f,Y,2,!1);ZR(r.f,Y,2,Z(r,3));break;default:$R(r.f,Y,nb,!1)}else $R(r.f,Y,Z(r,2),!1);bS(r.f,1==Z(r,1));uc=null;for(Ib=0;1==Z(r,1);)switch(V=Ib+Z(r,4),V){case 0:ja=Z(r,Q);for(G=0;G<ja;++G)R=Z(r,Q),XR(r.f,R,2048);break;case 1:ja=Z(r,Q);for(G=0;G<ja;++G)R=Z(r,Q),Od=Z(r,8),VR(r.f,R,Od);break;case 2:ja=Z(r,hb);for(G=0;G<ja;++G)Y=Z(r,hb),iR(r.f,\nY,64);break;case 3:ja=Z(r,Q);for(G=0;G<ja;++G)R=Z(r,Q),XR(r.f,R,4096);break;case 4:ja=Z(r,Q);for(G=0;G<ja;++G)R=Z(r,Q),fb=Z(r,4)<<3,XR(r.f,R,fb);break;case 5:ja=Z(r,Q);for(G=0;G<ja;++G)R=Z(r,Q),Qa=Z(r,2)<<1,XR(r.f,R,Qa);break;case 6:ja=Z(r,Q);for(G=0;G<ja;++G)R=Z(r,Q),XR(r.f,R,1);break;case 7:ja=Z(r,Q);for(G=0;G<ja;++G)R=Z(r,Q),db=Z(r,4)<<7,XR(r.f,R,db);break;case 8:ja=Z(r,Q);for(G=0;G<ja;++G){R=Z(r,Q);Ca=Z(r,4);Eb=x(D,q,-1,Ca,1);for(Db=0;Db<Ca;++Db)pb=Z(r,8),Eb[Db]=pb;var Hc=r.f,Ac=R,Gb=Eb;null==\nHc.t&&(Hc.t=x(nI,Yl,87,Hc.G,0));null!=Gb&&sQ(Gb);Hc.t[Ac]=Gb;Hc.K=0;Hc.E=!0}break;case 9:ja=Z(r,hb);for(G=0;G<ja;++G)Y=Z(r,hb),fb=Z(r,2)<<4,aS(r.f,Y,fb);break;case 10:ja=Z(r,hb);for(G=0;G<ja;++G)Y=Z(r,hb),bb=Z(r,4),aS(r.f,Y,bb);break;case 11:ja=Z(r,Q);for(G=0;G<ja;++G)R=Z(r,Q),XR(r.f,R,8192);break;case 12:ja=Z(r,hb);for(G=0;G<ja;++G)Y=Z(r,hb),Fb=Z(r,8)<<6,aS(r.f,Y,Fb);break;case 13:ja=Z(r,Q);for(G=0;G<ja;++G)R=Z(r,Q),le=Z(r,3)<<14,XR(r.f,R,le);break;case 14:ja=Z(r,Q);for(G=0;G<ja;++G)R=Z(r,Q),ae=\nZ(r,5)<<17,XR(r.f,R,ae);break;case 15:Ib=16;break;case 16:ja=Z(r,Q);for(G=0;G<ja;++G)R=Z(r,Q),yc=Z(r,3)<<22,XR(r.f,R,yc);break;case 17:ja=Z(r,Q);for(G=0;G<ja;++G)R=Z(r,Q),SR(r.f,R,Z(r,4));break;case 18:ja=Z(r,Q);hd=Z(r,4);for(G=0;G<ja;++G){R=Z(r,Q);Ub=Z(r,hd);xc=x(hL,ml,-1,Ub,1);for(Db=0;Db<Ub;++Db)xc[Db]=~~(Z(r,7)<<24)>>24;var Lb=r.f,id=R,be=LR(xc,0,xc.length),pd=void 0;if(null!=be)if(0==be.length)be=null;else if(pd=cS(be),0!=pd&&E(be,BR[pd])||E(be,vd))IR(Lb,id,pd),be=null;null==be?null!=Lb.r&&(Lb.r[id]=\nnull):(null==Lb.r&&(Lb.r=x(ER,Sl,3,Lb.G,0)),Lb.r[id]=gL(be))}break;case 19:ja=Z(r,Q);for(G=0;G<ja;++G)R=Z(r,Q),Mc=Z(r,3)<<25,XR(r.f,R,Mc);break;case 20:ja=Z(r,hb);for(G=0;G<ja;++G)Y=Z(r,hb),yc=Z(r,3)<<14,aS(r.f,Y,yc);break;case 21:ja=Z(r,Q);for(G=0;G<ja;++G)R=Z(r,Q),YR(r.f,R,Z(r,2)<<4);break;case 22:ja=Z(r,Q);for(G=0;G<ja;++G)R=Z(r,Q),XR(r.f,R,268435456);break;case 23:ja=Z(r,hb);for(G=0;G<ja;++G)Y=Z(r,hb),aS(r.f,Y,131072);break;case 24:ja=Z(r,hb);for(G=0;G<ja;++G)Y=Z(r,hb),Qa=Z(r,2)<<18,aS(r.f,Y,\nQa);break;case 25:for(G=0;G<Ha;++G)if(1==Z(r,1)){var Xc=r.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na]&&(6==X.d.x[Na]&&-1==X.d.q[Na]||7==X.d.x[Na]&&0==X.d.q[Na]&&3==yP(X.d,Na)||8==X.d.x[Na]&&0==X.d.q[Na]&&2==X.d.f[Na]||16==X.d.x[Na]&&0==X.d.q[Na]&&2==X.d.f[Na])&&a_(X,Na))}var Sd;for(Sd=0;Sd<X.d.d;++Sd){var me;if(me=X.c[Sd])b:{for(var rd=void 0,Td=void 0,ic=void 0,Pa=void 0,sd=void 0,yb=void 0,sd=0;2>sd;++sd)if(rd=W(Bc.f,sd,Sd),7==Bc.f.x[rd]&&\n2==Bc.f.f[rd]){Td=W(Bc.f,1-sd,Sd);for(yb=0;yb<Bc.f.f[Td];++yb)if(ic=xP(Bc.f,Td,yb),Pa=NP(Bc.f,Td,yb),(8==Bc.f.x[ic]||16==Bc.f.x[ic])&&2==GP(Bc.f,Pa)&&1==Bc.f.f[ic]){me=!0;break b}}me=!1}me&&(a_(X,W(X.d,0,Sd)),a_(X,W(X.d,1,Sd)))}var Oe,yd,Yc,Ta,ya;for(yd=0;yd<X.d.d;++yd)if(2==GP(X.d,yd))for(Ta=0;2>Ta;++Ta){Oe=W(X.d,Ta,yd);for(ya=0;ya<X.d.f[Oe];++ya)if(Yc=NP(X.d,Oe,ya),X.c[Yc]){a_(X,Oe);break}}for($Z(X);0!=X.b;){Qd=!1;for(Wa=0;Wa<X.d.d;++Wa)if(X.c[Wa]){for(Dd=qd=0;2>Dd;++Dd){xd=W(X.d,Dd,Wa);for(Mf=\n0;Mf<X.d.f[xd];++Mf)X.c[NP(X.d,xd,Mf)]&&++qd}if(4==qd){ZZ(X,Wa);$Z(X);Qd=!0;break}}if(!Qd)for(Ya=0;Ya<Bc.i.c;++Ya)if(6==ox(Bc.j,Ya).length){Xa=!0;bf=ox(Bc.j,Ya);for(jb=0;6>jb;++jb)if(!X.c[bf[jb]]){Xa=!1;break}if(Xa){for(jb=0;6>jb;jb+=2)ZZ(X,bf[jb]);Qd=!0;break}}if(!Qd)for(Wa=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for(R=0;R<Ha;++R)f_(r.f,R,dc*IP(r.f,R)),g_(r.f,R,dc*JP(r.f,R)),K&&h_(r.f,R,dc*KP(r.f,R))}}else if(K&&!Cb&&0==Sa&&(Sa=1.5),0!=Sa&&0!=r.f.p){for(Y=\nVa=0;Y<r.f.p;++Y)ad=IP(r.f,W(r.f,0,Y))-IP(r.f,W(r.f,1,Y)),Ka=JP(r.f,W(r.f,0,Y))-JP(r.f,W(r.f,1,Y)),cb=K?KP(r.f,W(r.f,0,Y))-KP(r.f,W(r.f,1,Y)):0,Va+=Math.sqrt(ad*ad+Ka*Ka+cb*cb);Va/=r.f.p;Md=Sa/Va;for(R=0;R<r.f.o;++R)f_(r.f,R,IP(r.f,R)*Md+Kb),g_(r.f,R,JP(r.f,R)*Md+xa),K&&h_(r.f,R,KP(r.f,R)*Md+fc)}}catch(jc){if(jc=kq(jc),A(jc,97))Nc=jc,Nc.xd(),L=null,K=!1;else throw jc;}if((T=null!=L&&!K)||r.b){EQ(r.f,3);for(Y=0;Y<r.f.d;++Y)if(2==GP(r.f,Y)&&!YP(r.f,Y)&&0==(r.f.z[Y]&3)){var ca=r.f;ca.z[Y]|=16777216}}!T&&\nr.b&&(r.f.K|=4,Vc=new m0,Vc.i=new x0,U_(Vc,r.f),T=!0);T?(k_(r.f),y_(r.f)):K||(r.f.K|=4)}C=U}}t=(new r_(C)).a.a.a;d=QH(s,t,!0);a="OCL ID code"}catch(Fd){if(Fd=kq(Fd),!A(Fd,97))throw Fd;}}else throw m;}d?(this.c&&RH(this.c),bu(this.a,a+" conversion provided by OpenChemLib")):this.c&&SH(this.c,c)};S(649);S(650);S(25);S(24);S(29);S(30);S(33);var y0=S(41),W_=KK(952,y0),z0=S(38),d0=KK(953,z0),A0=S(37),Q_=KK(955,A0),P_=KK(956,Q_);S(34);S(35);S(36);S(6);S(666);S(39);S(40);Em(JO)(1);\n//@ sourceURL=1.js\n')
  