Lines Matching refs:Gn
5 Gn(b)|0,(f|0)!=0):0)break;f=Hm(b,c,d,e,0)|0}while(0);return f|0}function Ah(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();k=m;if(!a){c[k>>2]=77646;c[k+4>>2]=10788;Zc(21,13648,k);f=21}else{l=c[a+24>>2]|0;k=a+20|0;h=c[k>>2]|0;do if((f|e|0)>=0?(o=fw(f|0,((f|0)<0)<<31>>31|0,e|0,((e|0)<0)<<31>>31|0)|0,q=C,n=c[a+4>>2]|0,p=((n|0)<0)<<31>>31,!((q|0)>(p|0)|(q|0)==(p|0)&o>>>0>n>>>0)):0)if(h){f=lc[g&31](c[a+16>>2]|0,(c[a+8>>2]|0)+f|0,e,d)|0;if((f|0)==4){Jg(h)|0;c[k>>2]=0;f=4;break}else{c[h+80>>2]=f;break}}else f=4;else f=1;while(0);c[l+52>>2]=f;h=c[l+236>>2]|0;do if(h){k=h+8|0;if(!(b[k>>1]&9312)){b[k>>1]=1;break}else{rg(h);break}}while(0);f=Kg(l,f)|0}i=m;return f|0}function Bh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;h=b+73|0;g=a[h>>0]|0;if((g&255)>2){g=Gn[k>>2]|0)+20>>2]&127](k,x&19)|0,(k|0)!=0):0)break}else m=F+8|0;c[z>>2]=F;s=c[m>>2]|0;c[z+4>>2]=s;t=z+8|0;u=t;c[u>>2]=0;c[u+4>>2]=0;c[z+16>>2]=x;c[z+20>>2]=G;u=G+24|0;v=((u|0)<0)<<31>>31;n=ow(q|0,0,u|0,v|0)|0;n=fw(n|0,C|0,32,0)|0;k=C;if(!f){l=n;r=0}else{o=k;l=q;r=f;while(1){q=l+1|0;if(w)l=0;else l=(c[r+12>>2]|0)==0?g:0;k=Uo(z,r,l,n,o)|0;if(k)break a;n=fw(n|0,o|0,u|0,v|0)|0;k=C;p=c[r+12>>2]|0;if(!p){l=n;break}else{o=k;l=q;r=p}}}w=(h|0)!=0;do if(!((x&32|0)==0|w^1)){if(!(a[F+49>>0]|0)){m=0;k=nc[c[(c[s>>2]|0)+20>>2]&127](s,x&19)|0;break}n=c[m>>2]|0;m=c[(c[n>>2]|0)+44>>2]|0;if(m){n=hc[m&127](n)|0;if((n|0)<32){m=512;n=0}else y=37}else{n=4096;y=37}if((y|0)==37){y=(n|0)>65536;m=y?65536:n;n=y?0:((n|0)<0)<<31>>31}y=fw(l|0,k|0,-1,-1)|0;y=fw(y|0,C|0,m|0,n|0)|0;p=C;o=nw(y|0,p|0,m|0,n|0)|0;o=$v(y|0,p|0,o|0,C|0)|0;p=C;y=t;c[y>>2]=o;c[y+4>>2]=p;if((k|0)<(p|0)|(k|0)==(p|0)&l>>>0<o>>>0){n=k;m=0;while(1){k=Uo(z,r,g,l,n)|0;if(k)break a;l=fw(l|0,n|0,u|0,v|0)|0;n=C;m=m+1|0;if(!((n|0)<(p|0)|(n|0)==(p|0)&l>>>0<o>>>0)){k=0;break}}}else{m=0;k=0}}else{m=0;k=0}while(0);if((w?(A=F+47|0,(a[A>>0]|0)!=0):0)?(D=F+16|0,B=c[D>>2]|0,D=c[D+4>>2]|0,(D|0)>-1|(D|0)==-1&B>>>0>4294967295):0){h=ow(m+q|0,0,u|0,v|0)|0;h=fw(h|0,C|0,32,0)|0;z=C;y=(z|0)>(D|0)|(z|0)==(D|0)&h>>>0>B>>>0;Vo(F,y?h:B,y?z:D);a[A>>0]=0}l=c[E>>2]|0;if((f|0)!=0&(k|0)==0)do{l=l+1|0;k=Wo(F,l,c[f+20>>2]|0)|0;f=c[f+12>>2]|0}while((f|0)!=0&(k|0)==0);f=(k|0)==0;if(f&(m|0)>0){n=r+20|0;do{l=l+1|0;m=m+-1|0;k=Wo(F,l,c[n>>2]|0)|0;f=(k|0)==0}while(f&(m|0)>0)}if(f){b[F+66>>1]=G&65280|G>>>16;c[E>>2]=l;if(w){E=F+60|0;c[E>>2]=(c[E>>2]|0)+1;c[F+72>>2]=g;Xo(F);c[F+12>>2]=l}}else if(k)break;l=e+88|0;k=c[l>>2]|0;if((k|0)!=0?(I=c[H>>2]|0,(I|0)!=0):0){f=k;k=I;while(1){Yo(f,c[k+20>>2]|0,c[k+4>>2]|0);k=c[k+12>>2]|0;if(!k){k=0;break a}f=c[l>>2]|0}}else k=0}while(0);i=J;return k|0}function tl(d){d=d|0;var f=0,g=0;f=d+24|0;if(((b[f>>1]&2)!=0?(Mo(d,1),b[f>>1]=e[f>>1]&65529,(b[d+26>>1]|0)==0):0)?(g=c[d+28>>2]|0,(a[g+28>>0]|0)!=0):0){if((c[d+20>>2]|0)==1)c[g+44>>2]=0;ic[c[8744+136>>2]&63](c[g+40>>2]|0,c[d>>2]|0,0)}return}function ul(b){b=b|0;var e=0,f=0,g=0,h=0,i=0;f=c[b+16>>2]|0;f=((d[f+105>>0]|0)<<16|(d[f+104>>0]|0)<<24|(d[f+106>>0]|0)<<8|(d[f+107>>0]|0))+1|0;b=b+4|0;e=c[b>>2]|0;i=f>>>24&255;a[e+24>>0]=i;h=f>>>16&255;a[e+25>>0]=h;g=f>>>8&255;a[e+26>>0]=g;f=f&255;a[e+27>>0]=f;e=c[b>>2]|0;a[e+92>>0]=i;a[e+93>>0]=h;a[e+94>>0]=g;a[e+95>>0]=f;b=c[b>>2]|0;a[b+96>>0]=0;a[b+97>>0]=45;a[b+98>>0]=-26;a[b+99>>0]=9;return}function vl(f,g){f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+32|0;if((i|0)>=(j|0))ba();o=v+16|0;r=v;k=Zo(f)|0;a:do if(!k){do if(!(a[f+7>>0]|0)){t=f+64|0;if((c[c[t>>2]>>2]|0)!=0?(a[f+5>>0]|0)!=4:0){n=c[f+60>>2]|0;n=hc[c[(c[n>>2]|0)+48>>2]&127](n)|0;s=(n&512|0)==0;if(s){l=r;c[l>>2]=-117058087;c[l+4>>2]=-681336544;l=c[f+44>>2]|0;a[r+8>>0]=l>>>24;a[r+9>>0]=l>>>16;a[r+10>>0]=l>>>8;a[r+11>>0]=l;l=f+72|0;k=c[l>>2]|0;l=c[l+4>>2]|0;if((k|0)==0&(l|0)==0){l=0;k=0}else{k=fw(k|0,l|0,-1,-1)|0;l=c[f+148>>2]|0;k=mw(k|0,C|0,l|0,0)|0;k=fw(k|0,C|0,1,0)|0;l=ow(k|0,C|0,l|0,0)|0;k=C}m=c[t>>2]|0;m=pc[c[(c[m>>2]|0)+8>>2]&31](m,o,8,l,k)|0;if(!m){if(!(Vv(o,14808,8)|0)){p=c[t>>2]|0;p=pc[c[(c[p>>2]|0)+12>>2]&31](p,14976,1,l,k)|0;q=12}}else{p=m;q=12}if((q|0)==12?!((p|0)==0|(p|0)==522):0){h=p;break a}k=n&1024;if((a[f+8>>0]|0)!=0&(k|0)==0?(h=c[t>>2]|0,h=nc[c[(c[h>>2]|0)+20>>2]&127](h,d[f+11>>0]|0)|0,(h|0)!=0):0)break a;q=c[t>>2]|0;h=f+80|0;h=pc[c[(c[q>>2]|0)+12>>2]&31](q,r,12,c[h>>2]|0,c[h+4>>2]|0)|0;if(h)break a}else k=n&1024;if((k|0)==0?(r=c[t>>2]|0,u=a[f+11>>0]|0,u=nc[c[(c[r>>2]|0)+20>>2]&127](r,(u<<24>>24==3?16:0)|u&255)|0,(u|0)!=0):0){h=u;break a}p=f+72|0;q=c[p+4>>2]|0;r=f+80|0;c[r>>2]=c[p>>2];c[r+4>>2]=q;if((g|0)==0|s^1)break;c[f+44>>2]=0;h=Oo(f)|0;if(!h)break;else break a}q=f+72|0;r=c[q+4>>2]|0;s=f+80|0;c[s>>2]=c[q>>2];c[s+4>>2]=r}while(0);k=c[f+204>>2]|0;h=c[k>>2]|0;if(h)do{s=h+24|0;b[s>>1]=e[s>>1]&65531;h=c[h+32>>2]|0}while((h|0)!=0);c[k+8>>2]=c[k+4>>2];a[f+16>>0]=4;h=0}else h=k;while(0);i=v;return h|0}function wl(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();l=v;u=d+60|0;g=c[u>>2]|0;if(!((c[g>>2]|0)==0?(f=c[d>>2]|0,f=pc[c[f+24>>2]&31](f,0,g,c[d+144>>2]&556897|30,0)|0,(f|0)!=0):0)){g=d+36|0;f=c[g>>2]|0;h=d+24|0;k=c[h>>2]|0;do if(f>>>0<k>>>0){if((c[e+12>>2]|0)==0?(c[e+20>>2]|0)>>>0<=f>>>0:0)break;n=c[d+152>>2]|0;n=ow(k|0,0,n|0,((n|0)<0)<<31>>31|0)|0;o=l;c[o>>2]=n;c[o+4>>2]=C;o=c[u>>2]|0;Yb[c[(c[o>>2]|0)+40>>2]&63](o,5,l)|0;c[g>>2]=c[h>>2]}while(0);if(!e)f=0;else{p=d+24|0;q=d+152|0;r=d+104|0;s=d+32|0;t=d+192|0;o=d+88|0;do{n=c[e+20>>2]|0;if(n>>>0<=(c[p>>2]|0)>>>0?(b[e+24>>1]&32)==0:0){l=c[q>>2]|0;d=ow(l|0,((l|0)<0)<<31>>31|0,n+-1|0,0)|0;k=C;h=(n|0)==1;if(h){ul(e);l=c[q>>2]|0}m=e+4|0;g=c[m>>2]|0;f=c[u>>2]|0;f=pc[c[(c[f>>2]|0)+12>>2]&31](f,g,l,d,k)|0;if(h){d=r+0|0;l=g+24|0;k=d+16|0;do{a[d>>0]=a[l>>0]|0;d=d+1|0;l=l+1|0}while((d|0)<(k|0))}if(n>>>0>(c[s>>2]|0)>>>0)c[s>>2]=n;c[t>>2]=(c[t>>2]|0)+1;Yo(c[o>>2]|0,n,c[m>>2]|0)}else f=0;e=c[e+12>>2]|0}while((f|0)==0&(e|0)!=0)}}i=v;return f|0}function xl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();m=q;n=b+60|0;f=c[n>>2]|0;g=c[f>>2]|0;do if((g|0)!=0?((a[b+16>>0]|0)+-1&255)>2:0){o=c[b+152>>2]|0;g=nc[c[g+24>>2]&127](f,m)|0;h=((o|0)<0)<<31>>31;k=ow(o|0,h|0,d|0,0)|0;l=C;if(!g){f=m;g=c[f>>2]|0;f=c[f+4>>2]|0;if((g|0)==(k|0)&(f|0)==(l|0))e=0;else{if(!((f|0)>(l|0)|(f|0)==(l|0)&g>>>0>k>>>0)){m=fw(g|0,f|0,o|0,h|0)|0;g=C;if(!((g|0)>(l|0)|(g|0)==(l|0)&m>>>0>k>>>0)){p=c[b+200>>2]|0;bw(p|0,0,o|0)|0;n=c[n>>2]|0;e=$v(k|0,l|0,o|0,h|0)|0;e=pc[c[(c[n>>2]|0)+12>>2]&31](n,p,o,e,C)|0;p=9}}else{e=c[n>>2]|0;e=Yb[c[(c[e>>2]|0)+16>>2]&63](e,k,l)|0;p=9}if((p|0)==9?(e|0)!=0:0)break;c[b+32>>2]=d;e=0}}else e=g}else e=0;while(0);i=q;return e|0}
8 else{if((Qo(e)|0)!=0?(f=Ro(e)|0,(f|0)!=0):0)break;f=sl(d,e,0,0)|0;k=16}while(0);if((k|0)==16)if(!f){tl(e);f=0;break}g=f&255;if((g|0)==10|(g|0)==13){c[j>>2]=f;a[d+16>>0]=6}}else f=0;while(0);return f|0}function up(d){d=d|0;var e=0;e=c[d+8>>2]|0;if((a[e>>0]|0)!=0?(a[e>>0]=0,(b[d+26>>1]|0)>1):0)Xp(e)|0;return}function vp(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();n=o;m=o+8|0;do if(!(c[h>>2]|0)){if(!e){c[n>>2]=53856;c[n+4>>2]=10788;Zc(11,13600,n);c[h>>2]=11;break}if(e>>>0<2)k=0;else{k=e+-2|0;k=k-((k>>>0)%(((((c[b+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;k=((k+1|0)==(((c[2514]|0)>>>0)/((c[b+32>>2]|0)>>>0)|0|0)?3:2)+k|0}l=vg(c[b>>2]|0,k,m,0)|0;if(l){c[h>>2]=l;break}e=(e-k|0)*5|0;l=e+-5|0;do if((l|0)>=0){k=c[m>>2]|0;b=c[k+4>>2]|0;l=b+l|0;if((a[l>>0]|0)==f<<24>>24?(d[b+(e+-3)>>0]<<16|d[b+(e+-4)>>0]<<24|d[b+(e+-2)>>0]<<8|d[b+(e+-1)>>0]|0)==(g|0):0)break;m=Cg(k)|0;c[h>>2]=m;if(!m){a[l>>0]=f;a[b+(e+-4)>>0]=g>>>24;a[b+(e+-3)>>0]=g>>>16;a[b+(e+-2)>>0]=g>>>8;a[b+(e+-1)>>0]=g}}else{c[n>>2]=53867;c[n+4>>2]=10788;Zc(11,13600,n);c[h>>2]=11;k=c[m>>2]|0}while(0);if(k)xg(k)}while(0);i=o;return}function wp(a,b,c){a=a|0;b=b|0;c=c|0;return Gm(a,b,c,0)|0}function xp(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;j=d[f>>0]&63;h=f+j|0;l=c[g+8>>2]|0;k=c[l>>2]|0;l=c[l+4>>2]|0;switch(d[f+1>>0]|0){case 1:{h=a[h>>0]|0;i=((h|0)<0)<<31>>31;m=11;break}case 6:{i=d[f+(j+1)>>0]<<16|d[h>>0]<<24|d[f+(j+2)>>0]<<8|d[f+(j+3)>>0];h=d[f+(j+5)>>0]<<16|d[f+(j+4)>>0]<<24|d[f+(j+6)>>0]<<8|d[f+(j+7)>>0];m=11;break}case 7:case 0:{h=Gm(b,f,g,0)|0;break}case 9:{i=0;h=1;m=11;break}case 3:{h=d[f+(j+1)>>0]<<8|a[h>>0]<<16|d[f+(j+2)>>0];i=((h|0)<0)<<31>>31;m=11;break}case 4:{h=d[f+(j+1)>>0]<<16|d[h>>0]<<24|d[f+(j+2)>>0]<<8|d[f+(j+3)>>0];i=((h|0)<0)<<31>>31;m=11;break}case 8:{i=0;h=0;m=11;break}case 2:{h=a[h>>0]<<8|d[f+(j+1)>>0];i=((h|0)<0)<<31>>31;m=11;break}case 5:{i=a[h>>0]<<8|d[f+(j+1)>>0];h=d[f+(j+3)>>0]<<16|d[f+(j+2)>>0]<<24|d[f+(j+4)>>0]<<8|d[f+(j+5)>>0];m=11;break}default:h=Gm(b,f,g,0)|0}do if((m|0)==11){if((l|0)>(i|0)|(l|0)==(i|0)&k>>>0>h>>>0){h=c[g+12>>2]|0;break}if((l|0)<(i|0)|(l|0)==(i|0)&k>>>0<h>>>0){h=c[g+16>>2]|0;break}if((e[g+4>>1]|0)>1){h=Gm(b,f,g,1)|0;break}else{h=a[g+6>>0]|0;break}}while(0);return h|0}function yp(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();n=o;l=o+8|0;h=f+1|0;k=a[h>>0]|0;if(k<<24>>24>-1){h=k&255;c[l>>2]=h}else{im(h,l)|0;h=c[l>>2]|0}do if((h|0)>=12){if(!(h&1)){h=c[g+16>>2]|0;break}l=d[f>>0]|0;m=(h+-12|0)/2|0;if((l+m|0)>(b|0)){c[n>>2]=68550;c[n+4>>2]=10788;Zc(11,13600,n);a[g+7>>0]=11;h=0;break}h=c[g+8>>2]|0;k=c[h+12>>2]|0;h=Vv(f+l|0,c[h+16>>2]|0,(m|0)>(k|0)?k:m)|0;if(h)if((h|0)>0){h=c[g+16>>2]|0;break}else{h=c[g+12>>2]|0;break}if((m|0)==(k|0))if((e[g+4>>1]|0)>1){h=Gm(b,f,g,1)|0;break}else{h=a[g+6>>0]|0;break}else if((m-k|0)>0){h=c[g+16>>2]|0;break}else{h=c[g+12>>2]|0;break}}else h=c[g+12>>2]|0;while(0);i=o;return h|0}function zp(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=f+73|0;h=a[m>>0]|0;do if(h<<24>>24!=1){if((h&255)>2){h=Gn(f)|0;if(h)break;h=a[m>>0]|0}if(!(h<<24>>24)){c[g>>2]=1;h=0;break}h=f+68|0;i=c[h>>2]|0;if((i|0)!=0?(a[m>>0]=1,c[h>>2]=0,(i|0)>0):0)h=0;else n=9}else n=9;while(0);do if((n|0)==9){l=f+76|0;h=b[l>>1]|0;i=c[f+(h<<2)+120>>2]|0;h=f+(h<<1)+78|0;j=(b[h>>1]|0)+1<<16>>16;b[h>>1]=j;h=(a[i+5>>0]|0)!=0;if((j&65535)<(e[i+18>>1]|0)){if(h){h=0;break}h=Rm(f)|0;break}if(!h){h=d[i+6>>0]|0;i=c[i+56>>2]|0;h=nm(f,d[i+(h+9)>>0]<<16|d[i+(h+8)>>0]<<24|d[i+(h+10)>>0]<<8|d[i+(h+11)>>0])|0;if(h)break;h=Rm(f)|0;break}j=f+44|0;k=f+72|0;i=b[l>>1]|0;do{if(!(i<<16>>16)){n=15;break}h=c[f+(i<<16>>16<<2)+120>>2]|0;if(h){xg(c[h+68>>2]|0);i=b[l>>1]|0}i=i+-1<<16>>16;b[l>>1]=i;b[j>>1]=0;a[k>>0]=d[k>>0]&249;o=i<<16>>16;h=c[f+(o<<2)+120>>2]|0}while((e[f+(o<<1)+78>>1]|0)>=(e[h+18>>1]|0));if((n|0)==15){c[g>>2]=1;a[m>>0]=0;h=0;break}if(!(a[h+2>>0]|0))h=0;else h=zm(f,g)|0}while(0);return h|0}function Ap(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=f+73|0;h=a[p>>0]|0;do if(h<<24>>24!=1){if((h&255)>2){h=Gn
9 eak}}}else{j=0;l=0}while(0);e:do if(f>>>0<r>>>0){e=0;while(1){b=a[f>>0]|0;if(((b&255)+-48|0)>>>0>=10){m=e;break}f=f+p|0;g=g+1|0;b=e+1|0;if(f>>>0<r>>>0)e=b;else{n=l;m=b;b=0;l=1;e=1;break e}}f:do if(b<<24>>24==46){e=f+p|0;g:do if(e>>>0<r>>>0){n=e;while(1){b=a[n>>0]|0;if(!(((b&255)+-48|0)>>>0<10&((l|0)<214748364|(l|0)==214748364&j>>>0<3435973835))){e=n;n=l;break g}j=ow(j|0,l|0,10,0)|0;l=(b<<24>>24)+-48|0;j=fw(l|0,((l|0)<0)<<31>>31|0,j|0,C|0)|0;l=C;g=g+1|0;b=m+-1|0;e=f+(p<<1)|0;if(e>>>0<r>>>0){f=n;n=e;m=b}else{f=n;n=l;m=b;break}}}else n=l;while(0);if(e>>>0<r>>>0){l=p<<1;while(1){if(((d[e>>0]|0)+-48|0)>>>0>=10)break f;b=f+l|0;g=g+1|0;if(b>>>0<r>>>0){f=e;e=b}else{e=b;break}}}}else{e=f;n=l}while(0);if(e>>>0<r>>>0){o=a[e>>0]|0;h:do if(o<<24>>24==69|o<<24>>24==101){f=e+p|0;if(f>>>0>=r>>>0){b=0;l=0;e=1;break e}b=a[f>>0]|0;if(b<<24>>24==45){f=e+(p<<1)|0;o=-1}else if(b<<24>>24==43){f=e+(p<<1)|0;o=1}else o=1;if(f>>>0<r>>>0){e=0;l=0}else{b=0;l=0;e=o;break e}while(1){b=a[f>>0]|0;if(((b&255)+-48|0)>>>0>=10){b=e;e=o;break h}if((e|0)<1e4)b=(e*10|0)+-48+(b<<24>>24)|0;else b=1e4;f=f+p|0;if(f>>>0<r>>>0){e=b;l=1}else{l=1;e=o;break}}}else{f=e;b=0;l=1;e=1}while(0);if((g|0)!=0&(l|0)!=0&f>>>0<r>>>0)do{if(!(a[10368+(d[f>>0]|0)>>0]&1))break e;f=f+p|0}while(f>>>0<r>>>0)}else{f=e;b=0;l=1;e=1}}else{n=l;m=0;b=0;l=1;e=1}while(0);b=(_(b,e)|0)+m|0;o=(b|0)<0;e=o?0-b|0:b;do if((j|0)==0&(n|0)==0)if((q|0)<0)i=(g|0)!=0?-0.0:0.0;else i=0.0;else{if((b>>31|1|0)>0)if(((n|0)<214748364|(n|0)==214748364&j>>>0<3435973836)&(e|0)>0){b=n;do{e=e+-1|0;j=ow(j|0,b|0,10,0)|0;b=C}while(((b|0)<214748364|(b|0)==214748364&j>>>0<3435973836)&(e|0)>0)}else b=n;else{m=nw(j|0,n|0,10,0)|0;if((m|0)==0&(C|0)==0&(e|0)>0){b=n;do{e=e+-1|0;j=mw(j|0,b|0,10,0)|0;b=C;n=nw(j|0,b|0,10,0)|0}while((n|0)==0&(C|0)==0&(e|0)>0)}else b=n}n=(q|0)<0;m=$v(0,0,j|0,b|0)|0;m=n?m:j;n=n?C:b;if(!e){i=+(m>>>0)+4294967296.0*+(n|0);break}if((e+-308|0)>>>0<34){if(!((e|0)%308|0))k=1.0;else{i=1.0;do{i=i*10.0;e=e+-1|0}while(((e|0)%308|0|0)!=0);k=i}i=+(m>>>0)+4294967296.0*+(n|0);if(o){i=i/k/1.e+308;break}else{i=i*k*1.e+308;break}}if((e|0)>341){i=+(m>>>0)+4294967296.0*+(n|0);if(o){i=i*0.0;break}else{i=i*s;break}}if(!((e|0)%22|0)){j=e;i=1.0}else{j=e;i=1.0;do{i=i*10.0;j=j+-1|0}while(((j|0)%22|0|0)!=0)}if((j|0)>0){do{i=i*1.0e22;j=j+-22|0}while((j|0)>0);k=i}else k=i;i=+(m>>>0)+4294967296.0*+(n|0);if(o){i=i/k;break}else{i=i*k;break}}while(0);h[c>>3]=i;f=f>>>0>=r>>>0&(g|0)>0&(l|0)!=0&(t|0)==0&1}else f=0;while(0);return f|0}function Ql(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=f&255;if(f<<24>>24==1){g=b;h=e;n=1;e=0}else{h=3-i|0;a:do if((h|0)<(e|0))while(1){f=h+2|0;if(a[b+h>>0]|0){e=1;break a}if((f|0)<(e|0))h=f;else{e=0;h=f;break}}else e=0;while(0);g=b+(i&1)|0;h=i+-3+h|0;n=2}k=b+h|0;b:do if(g>>>0<k>>>0){while(1){h=a[g>>0]|0;if(!(a[10368+(h&255)>>0]&1))break;g=g+n|0;if(g>>>0>=k>>>0){l=0;break b}}if(h<<24>>24==45){g=g+n|0;l=1;break}else if(h<<24>>24==43){g=g+n|0;l=0;break}else{l=0;break}}else l=0;while(0);c:do if(g>>>0<k>>>0){h=g;while(1){if((a[h>>0]|0)!=48){m=h;break c}h=h+n|0;if(h>>>0>=k>>>0){m=h;break}}}else m=g;while(0);do if(m>>>0<k>>>0){b=m;j=0;i=0;h=0;while(1){f=a[b>>0]|0;if((f+-48&255)>=10){b=0;k=i;break}i=ow(j|0,i|0,10,0)|0;j=f<<24>>24;i=fw(i|0,C|0,-48,-1)|0;j=fw(i|0,C|0,j|0,((j|0)<0)<<31>>31|0)|0;i=C;h=h+n|0;b=m+h|0;if(b>>>0>=k>>>0){b=1;k=i;break}}i=f<<24>>24;f=(l|0)!=0;if((k|0)>=0)if(f){f=k;p=22;break}else{f=k;p=23;break}else{j=d;c[j>>2]=f?0:-1;c[j+4>>2]=f?-2147483648:2147483647;j=f?0:2;break}}else if(!l){b=1;j=0;f=0;i=0;h=0;p=23}else{b=1;j=0;f=0;i=0;h=0;p=22}while(0);if((p|0)==22){l=$v(0,0,j|0,f|0)|0;j=d;c[j>>2]=l;c[j+4>>2]=C;j=0}else if((p|0)==23){l=d;c[l>>2]=j;c[l+4>>2]=f;j=2}if(((i|0)==0|b?!((h|0)==0&(g|0)==(m|0)):0)?(o=n*19|0,!((h|0)>(o|0)|(e|0)!=0)):0)if((h|0)>=(o|0)){h=0;do{g=a[m+(_(h,n)|0)>>0]|0;e=a[11192+h>>0]|0;h=h+1|0;f=g<<24>>24==e<<24>>24}while(f&(h|0)<18);if(f)g=(a[m+(n*18|0)>>0]|0)+-56|0;else g=((g<<24>>24)-(e<<24>>24)|0)*10|0;if((g|0)>=0)return ((g|0)>0?1:j)|0;else g=0}else g=0;else g=1;return g|0}function Rl(d){d=d|0;var f=0,g=0;g=d+8|0;f=b[g>>1]|0;if(f&16384){Ng(d)|0;f=b[g>>1]|0}do if(f&18){if((c[d+24>>2]|0)!=0?(c[d+16>>2]|0)==(c[d+20>>2]|0):0){f=0;break}f=d+12|0;if(!(ah(d,(c[f>>2]|0)+2|0,1)|0)){d=d+16|0;a[(c[d>>2]|0)+(c[f>>2]|0)>>0]=0;a[(c[d>>2]|0)+((c[f>>2]|0)+1)>>0]=0;b[g>>1]=e[g>>1]|0|512;f=0}else f=7}else f=0;while(0);return f|0}function Sl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=no(a,b,c,d)|0;if(!c)ig(a,b);return c|0}function Tl(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;d=c[a>>2]|0;c[d+200>>2]=c[a+20>>2];c[d+196>>2]=c[a+56>>2];c[d+4>>2]=c[a+8>>2];c[d+32>>2]=c[a+48>>2];c[d+8>>2]=c[a+16>>2];c[d+28>>2]=c[a+52>>2];c[d+56>>2]=c[a+24>>2];c[d+36>>2]=c[a+40>>2];g=a+32|0;f=c[g+4>>2]|0;b=c[d>>2]|0;e=b+32|0;c[e>>2]=c[g>>2];c[e+4>>2]=f;c[d+92>>2]=c[a+68>>2];c[b+80>>2]=c[a+72>>2];return c[a+44>>2]|0}function Ul(a,c){a=a|0;c=c|0;if((b[a+8>>1]&2)!=0?(d[a+10>>0]|0|0)!=(c|0):0)c=xn(a,c&255)|0;else c=0;return c|0}function Vl(a,d,f){a=a|0;d=d|0;f=f|0;var g=0;g=a+8|0;if(b[g>>1]&9312)rg(a);c[a+0>>2]=c[d+0>>2];c[a+4>>2]=c[d+4>>2];c[a+8>>2]=c[d+8>>2];c[a+12>>2]=c[d+12>>2];c[a+16>>2]=c[d+16>>2];if(!(b[d+8>>1]&2048))b[g>>1]=(e[g>>1]|0)&58367|f;return}function Wl(a,d){a=a|0;d=d|0;var e=0,f=0;if(!((b[a+8>>1]&9312)==0?(c[a+24>>2]|0)==0:0))Mg(a);a=a+0|0;e=d+0|0;f=a+40|0;do{c[a>>2]=c[e>>2];a=a+4|0;e=e+4|0}while((a|0)<(f|0));b[d+8>>1]=1;c[d+24>>2]=0;return}function Xl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=c[a>>2]|0;m=p+500|0;f=c[m>>2]|0;do if((f|0)!=0?(n=a+104|0,e=c[n>>2]|0,(e|0)!=0):0){o=e+-1|0;k=p+20|0;e=c[k>>2]|0;if((e|0)>0){i=p+16|0;j=(b|0)==2;g=e;h=0;e=0;do{f=c[(c[i>>2]|0)+(h<<4)+4>>2]|0;if(f){if(j?(l=qm(f,2,o)|0,(l|0)!=0):0)f=l;else f=qm(f,1,o)|0;g=c[k>>2]|0;e=(e|0)==0?f:e}h=h+1|0}while((h|0)<(g|0));c[m>>2]=(c[m>>2]|0)+-1;c[n>>2]=0;if(!e)e=13;else{d=e;e=16}}else{c[m>>2]=f+-1;c[n>>2]=0;e=13}do if((e|0)==13){if((b|0)==2?(d=om(p,2,o)|0,(d|0)!=0):0)break;d=om(p,1,o)|0;e=16}while(0);if((e|0)==16)if((b|0)!=2)break;m=a+152|0;l=c[m+4>>2]|0;k=p+504|0;c[k>>2]=c[m>>2];c[k+4>>2]=l;k=a+160|0;l=c[k+4>>2]|0;m=p+512|0;c[m>>2]=c[k>>2];c[m+4>>2]=l}else d=0;while(0);return d|0}function Yl(d){d=d|0;var f=0,g=0;f=d+12|0;if(!(ah(d,(c[f>>2]|0)+2|0,1)|0)){g=d+16|0;a[(c[g>>2]|0)+(c[f>>2]|0)>>0]=0;a[(c[g>>2]|0)+((c[f>>2]|0)+1)>>0]=0;f=d+8|0;b[f>>1]=e[f>>1]|0|512;f=0}else f=7;return f|0}function Zl(d,f,g){d=d|0;f=f|0;g=g|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();o=q;p=d+8|0;m=b[p>>1]|0;if(!(bh(d,32)|0)){l=d+16|0;n=c[l>>2]|0;if(!(m&4)){h[k>>3]=+h[d>>3];c[o>>2]=c[k>>2];c[o+4>>2]=c[k+4>>2];Yc(32,n,20272,o)|0}else{s=d;r=c[s+4>>2]|0;m=o;c[m>>2]=c[s>>2];c[m+4>>2]=r;Yc(32,n,19920,o)|0}m=c[l>>2]|0;if(!m)l=0;else{l=m;while(1)if(!(a[l>>0]|0))break;else l=l+1|0;l=l-m&1073741823}c[d+12>>2]=l;a[d+10>>0]=1;l=e[p>>1]|514;b[p>>1]=g<<24>>24==0?l:l&65523;Ul(d,f&255)|0;l=0}else l=7;i=q;return l|0}function _l(a){a=a|0;var b=0,c=0;b=e[a+8>>1]|0;c=b&12;if(!c)if(!(b&18))b=0;else b=jp(a)|0;else b=c&65535;return b|0}function $l(a){a=a|0;var d=0.0,f=0,g=0,i=0,j=0;d=+h[a>>3];if(!(d<=-9223372036854775808.0)&!(d>=9223372036854775808.0)?(f=~~d>>>0,g=+N(d)>=1.0?(d>0.0?~~+$(+M(d/4294967296.0),4294967295.0)>>>0:~~+Z((d-+(~~d>>>0))/4294967296.0)>>>0):0,i=fw(f|0,g|0,1,-2147483648)|0,j=C,!(d!=+(f>>>0)+4294967296.0*+(g|0)|(j>>>0<0|(j|0)==0&i>>>0<2))):0){i=a;c[i>>2]=f;c[i+4>>2]=g;f=a+8|0;b[f>>1]=(e[f>>1]|0)&48640|4}return}function am(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=a+204|0;e=c[f>>2]|0;a:do if(e){h=(b|0)<0;do{while(1){if(!h){if((c[e>>2]|0)!=(b|0))break;g=c[e+4>>2]|0;if((g|0)<=31?(1<<g&d|0)!=0:0)break}g=c[e+12>>2]|0;if(g)_b[g&31](c[e+8>>2]|0);c[f>>2]=c[e+16>>2];ig(c[a>>2]|0,e);e=c[f>>2]|0;if(!e)break a}f=e+16|0;e=c[f>>2]|0}while((e|0)!=0)}while(0);return}function bm(a,b,c){a=a|0;b=b|0;c=c|0;do if(b<<24>>24>66){b=e[a+8>>1]|0;if(!(b&4)){if(b&8){$l(a);break}if(b&2)nh(a,1)}}else if(b<<24>>24==66?(b=e[a+8>>1]|0,!((b&2|0)!=0|(b&12|0)==0)):0)Zl(a,c,1)|0;while(0);return}function cm(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,i=0,j=0;j=a+8|0;g=b[j>>1]|0;i=g&65535;do if(!(i&1)){d=d&255;if((d|0)==67){kp(a);break}else if((d|0)==65){if(i&16){b[j>>1]=i&65040;break}if(!((i&2|0)!=0|(i&12|0)==0)){Zl(a,f,1)|0;g=b[j>>1]|0}b[j>>1]=g&48640|16;break}else if((d|0)==68){d=Rg(a)|0;g=a;c[g>>2]=d;c[g+4>>2]=C;b[j>>1]=(e[j>>1]|0)&48640|4;break}else if((d|0)==69){h[a>>3]=+Qg(a);b[j>>1]=(e[j>>1]|0)&48640|8;break}else{d=i>>>3&2|i;g=d&65535;b[j>>1]=g;if(!((d&2|0)!=0|(i&12|0)==0)){Zl(a,f,1)|0;g=b[j>>1]|0}b[j>>1]=g&49123;break}}while(0);return}function dm(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0.0,i=0,j=0.0,k=0,l=0,m=0;l=b[a+8>>1]|0;k=l&65535;i=b[d+8>>1]|0;m=i&65535;f=(i|l)&65535;do if(!(f&1)){if(!(f&12)){if(f&2){if(!(k&2)){f=1;break}if(!(m&2)){f=-1;break}if(e){f=lp(a,d,e,0)|0;break}}f=mp(a,d)|0;break}if((l&4&i)<<16>>16){l=a;k=c[l>>2]|0;l=c[l+4>>2]|0;i=d;f=c[i>>2]|0;i=c[i+4>>2]|0;if((l|0)<(i|0)|(l|0)==(i|0)&k>>>0<f>>>0){f=-1;break}f=((l|0)>(i|0)|(l|0)==(i|0)&k>>>0>f>>>0)&1;break}if(!(k&8)){if(!(k&4)){f=1;break}f=a;j=+((c[f>>2]|0)>>>0)+4294967296.0*+(c[f+4>>2]|0)}else j=+h[a>>3];if(!(m&8)){if(!(m&4)){f=-1;break}f=d;g=+((c[f>>2]|0)>>>0)+4294967296.0*+(c[f+4>>2]|0)}else g=+h[d>>3];if(j<g)f=-1;else f=j>g&1}else f=(m&1)-(k&1)|0;while(0);return f|0}function em(b){b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;e=g+8|0;d=b+48|0;d=ym(c[b>>2]|0,0,c[d>>2]|0,c[d+4>>2]|0,0,e)|0;do if(!d)if(!(c[e>>2]|0)){a[b+26>>0]=0;c[b+60>>2]=0;d=0;break}else{c[f>>2]=67421;c[f+4>>2]=10788;Zc(11,13600,f);d=11;break}while(0);i=g;return d|0}function fm(b){b=b|0;var d=0,e=0,f=0;e=c[b>>2]|0;f=e+73|0;d=a[f>>0]|0;do if((d&255)>2){d=Gn;Ok(e,l,f-l&1073741823)}og(e,1,d,k);if((a[b+65>>0]|0)==1)c[b+24>>2]=1}i=m;return}function cn(b){b=b|0;var d=0,e=0;d=b+8|0;e=c[d>>2]|0;do if((e|0)!=(c[b+4>>2]|0))if((a[b+24>>0]|0)==1){ig(c[b>>2]|0,e);break}else{Sc(e);break}while(0);c[d>>2]=0;return}function dn(d){d=d|0;var f=0,g=0,h=0,i=0;g=c[d+32>>2]|0;i=d+8|0;if(!((b[i>>1]&9312)==0?(c[d+24>>2]|0)==0:0))Mg(d);f=ih(g,64,0)|0;h=d+20|0;c[h>>2]=f;if(!(a[g+65>>0]|0)){do if(!g)f=hc[c[8744+48>>2]&127](f)|0;else{if((c[g+276>>2]|0)>>>0<=f>>>0?(c[g+280>>2]|0)>>>0>f>>>0:0){f=e[g+248>>1]|0;break}f=hc[c[8744+48>>2]&127](f)|0}while(0);c[d+24>>2]=f;h=c[h>>2]|0;c[h>>2]=0;c[h+4>>2]=g;c[h+8>>2]=0;c[h+12>>2]=0;c[h+20>>2]=0;c[h+16>>2]=h+32;b[h+24>>1]=(f+1048544|0)>>>4;b[h+26>>1]=1;c[h+28>>2]=0;c[d>>2]=h;b[i>>1]=32}else{b[i>>1]=1;c[d+24>>2]=0}return}function en(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;i=kn(a)|0;if(i){j=i;c[j>>2]=d;c[j+4>>2]=f;c[i+8>>2]=0;j=a+12|0;h=c[j>>2]|0;if(!h)c[a+8>>2]=i;else{a=a+26|0;g=e[a>>1]|0;if((g&1|0)!=0?(k=h,l=c[k+4>>2]|0,!((l|0)<(f|0)|((l|0)==(f|0)?(c[k>>2]|0)>>>0<d>>>0:0))):0)b[a>>1]=g&65534;c[h+8>>2]=i}c[j>>2]=i}return}function fn(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+160|0;if((i|0)>=(j|0))ba();g=h;bw(g|0,0,160)|0;a:do if(!a){a=0;b=0}else{b=0;while(1){d=a+8|0;f=c[d>>2]|0;c[d>>2]=0;if(!b)b=g;else{d=b;b=g;e=0;do{a=hn(d,a)|0;c[b>>2]=0;e=e+1|0;b=g+(e<<2)|0;d=c[b>>2]|0}while((d|0)!=0)}c[b>>2]=a;if(!f){a=0;b=0;break a}a=f;b=c[g>>2]|0}}while(0);do{a=hn(a,c[g+(b<<2)>>2]|0)|0;b=b+1|0}while((b|0)!=40);i=h;return a|0}function gn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;f=c[a+12>>2]|0;if(!f)c[b>>2]=a;else{gn(f,b,e);c[(c[e>>2]|0)+8>>2]=a}e=a+8|0;f=c[e>>2]|0;if(!f)c[d>>2]=a;else gnGn(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;e=b+73|0;if((a[e>>0]|0)!=4){a[e>>0]=0;f=b+56|0;d=b+48|0;d=Cp(b,c[f>>2]|0,c[d>>2]|0,c[d+4>>2]|0,0,g)|0;if(!d){Sc(c[f>>2]|0);c[f>>2]=0;f=b+68|0;d=c[f>>2]|c[g>>2];c[f>>2]=d;if((d|0)!=0?(a[e>>0]|0)==1:0){a[e>>0]=2;d=0}else d=0}}else d=c[b+68>>2]|0;i=h;return d|0}function Hn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;a=c[a+8>>2]|0;a:do if(!a)a=0;else{e=(b|0)==0;while(1){if((a|0)!=(d|0)){if(e)break;if((c[a+60>>2]|0)==(b|0))break}a=c[a+8>>2]|0;if(!a){a=0;break a}}a=Bl(a,b,d)|0}while(0);return a|0}function In(b){b=b|0;var e=0,f=0,g=0,h=0;f=c[b>>2]|0;g=f+1|0;c[b>>2]=g;h=a[f>>0]|0;e=h&255;if((h&255)<=191)return e|0;e=d[15360+(e+-192)>>0]|0;if((a[g>>0]&-64)<<24>>24==-128)while(1){f=f+2|0;c[b>>2]=f;e=(d[g>>0]|0)&63|e<<6;if((a[f>>0]&-64)<<24>>24==-128){h=g;g=f;f=h}else break}return (e>>>0<128|(e&-2048|0)==55296|(e&-2|0)==65534?65533:e)|0}function Jn(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if((c|0)>-1)g=b+c|0;else g=-1;c=a[b>>0]|0;if(c<<24>>24!=0&g>>>0>b>>>0){d=c;c=0;do{f=b+1|0;if((d&255)>191){e=b;b=f;while(1){d=a[b>>0]|0;if((d&-64)<<24>>24==-128){d=b;b=e+2|0;e=d}else break}}else{d=a[f>>0]|0;b=f}c=c+1|0}while(d<<24>>24!=0&b>>>0<g>>>0)}else c=0;return c|0}function Kn(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+48|0;if((i|0)>=(j|0))ba();t=x+32|0;u=x+16|0;v=x;k=c[d>>2]|0;if((k|0)<0){c[d>>2]=0;c[d+4>>2]=-1;b[d+12>>1]=0;a[d+14>>0]=0;k=0}p=g;o=c[p+4>>2]|0;q=v;c[q>>2]=c[p>>2];c[q+4>>2]=o;q=d+8|0;c[q>>2]=h;o=f&255;p=(f|0)==254;do{n=b[d+(k<<4)+12>>1]|0;h=n&65535;g=37184+(h<<1)|0;a:do if((n&65535)>429)w=6;else{n=o;while(1){m=b[g>>1]|0;l=m<<16>>16;if(m<<16>>16==-86){w=6;break a}m=n&255;k=l+m|0;if(k>>>0<=1496?(a[39336+k>>0]|0)==n<<24>>24:0){w=16;break}if(!(n<<24>>24))break;if((n&255)>=70){r=l;w=12;break}n=a[40840+m>>0]|0;if(!(n<<24>>24)){r=l;w=12;break}}if((w|0)==16){w=0;k=e[22184+(k<<1)>>1]|0;break}if(((w|0)==12?(w=0,s=r+70|0,(s|0)>-1):0)?(a[39336+s>>0]|0)==70:0){k=e[22184+(s<<1)>>1]|0;break}k=e[38048+(h<<1)>>1]|0}while(0);if((w|0)==6){w=0;k=e[38048+(h<<1)>>1]|0}if(k>>>0<642){w=18;break}if(k>>>0>=969){w=20;break}iq(d,k+-642|0);if(p)break;k=c[d>>2]|0}while((k|0)>-1);if((w|0)==18){gq(d,k,f,v);r=d+4|0;c[r>>2]=(c[r>>2]|0)+-1}else if((w|0)==20){c[u+0>>2]=c[v+0>>2];c[u+4>>2]=c[v+4>>2];c[u+8>>2]=c[v+8>>2];r=c[q>>2]|0;c[t>>2]=u;ph(r,20432,t);c[q>>2]=r;hq(d,o,v)}i=x;return}function Ln(b){b=b|0;var d=0;d=c[b>>2]|0;if((d|0)>=0){hq(b,a[b+(d<<4)+14>>0]|0,b+(d<<4)+16|0);c[b>>2]=(c[b>>2]|0)+-1}return}function Mn(a,b){a=a|0;b=b|0;var d=0;if(b){if((c[b>>2]|0)>0){d=0;do{Jk(a,c[b+(d<<4)+12>>2]|0);Ik(a,c[b+(d<<4)+16>>2]|0,1);ig(a,c[b+(d<<4)+8>>2]|0);d=d+1|0}while((d|0)<(c[b>>2]|0))}ig(a,b)}return}function Nn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=a+328|0;d=c[h>>2]|0;if(d){i=a+304|0;if((c[i>>2]|0)>0){f=0;do{e=c[d+(f<<2)>>2]|0;d=c[e+8>>2]|0;if((d|0)!=0?(g=c[(c[d>>2]|0)+b>>2]|0,(g|0)!=0):0)hc[g&127](d)|0;c[e+20>>2]=0;wn(e);f=f+1|0;d=c[h>>2]|0}while((f|0)<(c[i>>2]|0))}ig(a,d);c[i>>2]=0;c[h>>2]=0}return}function On(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0;do if((d|0)==-2)if(!(c[a+12>>2]|0))d=(c[a+16>>2]|0)==0?0:6;else d=6;else{h=b[a>>1]|0;g=h<<16>>16;if(!((g|0)!=(d|0)&h<<16>>16>-1)){h=(g|0)==(d|0)?4:1;g=f&255;d=e[a+2>>1]|0;if((g|0)==(d&3|0)){d=h|2;break}else return ((d&g)>>>1&1)+h|0}else d=0}while(0);return d|0}
13 0;if(G>>>0<=F>>>0){S=E+(G>>>3)|0;a[S>>0]=d[S>>0]|1<<(G&7)}c[ra>>2]=Kd;c[sa>>2]=Kd;c[qa>>2]=0;c[ta>>2]=0;c[ua>>2]=100;c[va>>2]=1e9;a[xa>>0]=0;a[wa>>0]=2;c[oa>>2]=43592;z=c[(c[O+12>>2]|0)+56>>2]|0;_m(Pd,1,d[z+33>>0]<<16|d[z+32>>0]<<24|d[z+34>>0]<<8|d[z+35>>0],d[z+37>>0]<<16|d[z+36>>0]<<24|d[z+38>>0]<<8|d[z+39>>0]);c[oa>>2]=0;z=c[la>>2]|0;if(!((K|0)<1|(z|0)==0)){D=O+17|0;E=0;do{F=n+(E<<2)|0;G=c[F>>2]|0;if(G){if((a[D>>0]|0)!=0&(G|0)>1){$m(Pd,G,1,0);G=c[F>>2]|0}c[oa>>2]=43608;an(Pd,G,0,0)|0;c[oa>>2]=0;z=c[la>>2]|0}E=E+1|0}while(!((E|0)>=(K|0)|(z|0)==0))}if(!((c[ka>>2]|0)==0|(z|0)==0)){B=O+17|0;z=O+36|0;J=1;do{E=J>>>3;G=a[(c[pa>>2]|0)+E>>0]|0;D=1<<(J&7);do if(!(G&255&D)){if(J>>>0<2)F=0;else{F=J+-2|0;F=F-((F>>>0)%(((((c[z>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;F=((F+1|0)==(((c[2514]|0)>>>0)/((c[L>>2]|0)>>>0)|0|0)?3:2)+F|0}if((F|0)==(J|0)?(a[B>>0]|0)!=0:0)break;c[ge>>2]=J;bn(Pd,43632,ge);G=a[(c[pa>>2]|0)+E>>0]|0}while(0);do if(G&255&D){if(J>>>0<2)G=0;else{G=J+-2|0;G=G-((G>>>0)%(((((c[z>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;G=((G+1|0)==(((c[2514]|0)>>>0)/((c[L>>2]|0)>>>0)|0|0)?3:2)+G|0}if((G|0)!=(J|0))break;if(!(a[B>>0]|0))break;c[ge>>2]=J;bn(Pd,43656,ge)}while(0);J=J+1|0}while(!((c[la>>2]|0)==0?1:J>>>0>(c[ka>>2]|0)>>>0))}z=c[(c[(c[O>>2]|0)+204>>2]|0)+12>>2]|0;if((s|0)!=(z|0)){c[ge>>2]=s;c[ge+4>>2]=z;bn(Pd,43696,ge)}Sc(c[pa>>2]|0);if(c[na>>2]|0){cn(qa);x=0;z=(c[ma>>2]|0)+1|0;break}z=c[ma>>2]|0;if(!z)cn(qa);x=pg(qa)|0}while(0);ig(he,n);S=P;S=$v(c[S>>2]|0,c[S+4>>2]|0,z|0,((z|0)<0)<<31>>31|0)|0;w=P;c[w>>2]=S;c[w+4>>2]=C;w=v+(I*40|0)+8|0;if(!(b[w>>1]&9312))b[w>>1]=1;else rg(H);if(z){if(!x){u=ce;v=fe;n=m;m=t;ee=1317;break a}Tg(H,x,-1,1,1)|0}Ul(H,ub)|0;Q=v;w=o;R=T;S=U;n=p;break}case 947:{ee=0;s=c[o+(p*20|0)+4>>2]|0;n=v+(s*40|0)|0;r=c[o+(p*20|0)+8>>2]|0;s=v+(s*40|0)+8|0;if((b[s>>1]&32)==0?(dn(n),(b[s>>1]&32)==0):0){u=ce;v=fe;n=m;m=t;ee=1317;break a}Q=v+(r*40|0)|0;en(c[n>>2]|0,c[Q>>2]|0,c[Q+4>>2]|0);Q=v;w=o;R=T;S=U;r=G;n=p;break}case 966:{ee=0;w=c[o+(p*20|0)+4>>2]|0;P=v+(w*40|0)|0;O=v+((c[o+(p*20|0)+12>>2]|0)*40|0)|0;L=c[o+(p*20|0)+16>>2]|0;w=v+(w*40|0)+8|0;if((b[w>>1]&32)==0?(dn(P),(b[w>>1]&32)==0):0){u=ce;v=fe;n=m;m=t;ee=1317;break a}if(L){J=c[P>>2]|0;H=O;K=c[H>>2]|0;H=c[H+4>>2]|0;s=J+28|0;if((c[s>>2]|0)!=(L|0)){n=J+8|0;G=c[n>>2]|0;if(G){F=J+20|0;I=J+26|0;if(!(b[I>>1]&1))G=fn(G)|0;E=c[F>>2]|0;A:do if(!E){id=G;od=F;ee=978}else{while(1){F=E+12|0;D=c[F>>2]|0;if(!D)break;B=E+8|0;gn