Lines Matching refs:PF
7325 function zD(b,e,f,g,h,j,k,l,m,n,o){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,ea=0;p=i;w=i;i=i+8|0;E=i;i=i+8|0;K=i;i=i+8|0;I=i;i=i+8|0;J=I;R=i;i=i+8|0;P=i;i=i+8|0;S=P;O=i;i=i+8|0;U=i;i=i+8|0;x=U;y=i;i=i+8|0;T=y;M=i;i=i+8|0;N=M;G=i;i=i+8|0;H=G;C=i;i=i+8|0;B=C;F=i;i=i+8|0;D=F;Q=i;i=i+8|0;L=Q;A=i;i=i+8|0;z=A;V=i;i=i+8|0;W=i;i=i+8|0;q=FW(24)|0;c[q+4>>2]=0;c[q>>2]=177856;v=q+8|0;c[v>>2]=f;u=q+12|0;c[u>>2]=g;s=f+7>>3;r=q+16|0;c[r>>2]=s;do{if((f|0)<1){t=5}else{if((g|0)<1|(s|0)<1){t=5;break}if((2147483646/(s|0)|0|0)<=(g|0)){t=5;break}s=we((da(s,g)|0)+1|0)|0;W=q+20|0;c[W>>2]=s;a[s+(da(c[r>>2]|0,c[u>>2]|0)|0)|0]=0;W=c[W>>2]|0;s=q+20|0;if((W|0)==0){break}bX(W|0,0,da(c[r>>2]|0,c[u>>2]|0)|0)|0;if(e){j=b+148|0;ea=c[j>>2]|0;c[ea+4>>2]=0;c[ea+8>>2]=0;c[ea+12>>2]=0;if((f|0)>2147483645){f=c[b+64>>2]|0;Qe(jd[c[(c[f>>2]|0)+48>>2]&511](f)|0,182160,V);f=-3}h=f+1|0;n=ye(h,4)|0;t=ye(f+2|0,4)|0;if((f|0)>-1){k=0;do{c[n+(k<<2)>>2]=f;k=k+1|0;}while((k|0)<(h|0))}if((g|0)>0){h=b+64|0;k=0;do{v=c[n>>2]|0;if((v|0)<(f|0)){u=0;while(1){c[t+(u<<2)>>2]=v;u=u+1|0;v=c[n+(u<<2)>>2]|0;if((v|0)<(f|0)){}else{break}}}else{u=0}c[t+(u<<2)>>2]=f;c[t+(u+1<<2)>>2]=f;c[n>>2]=0;if((f|0)>0){l=n;m=0;u=0;v=0;do{a:do{switch(PC(c[j>>2]|0)|0){case 1:{if((v|0)==0){e=0;while(1){ea=QC(c[j>>2]|0)|0;e=ea+e|0;if((ea|0)>63){}else{V=0;break}}while(1){ea=RC(c[j>>2]|0)|0;V=ea+V|0;if((ea|0)>63){}else{break}}}else{e=0;while(1){ea=RC(c[j>>2]|0)|0;e=ea+e|0;if((ea|0)>63){}else{V=0;break}}while(1){ea=QC(c[j>>2]|0)|0;V=ea+V|0;if((ea|0)>63){}else{break}}}l=(c[l>>2]|0)+e|0;if((e|0)>0){if((l|0)>(f|0)){ea=c[h>>2]|0;ea=jd[c[(c[ea>>2]|0)+48>>2]&511](ea)|0;c[Q>>2]=l;Qe(ea,182680,L);l=f}m=m+((m&1|0)!=(v|0))|0;c[n+(m<<2)>>2]=l}else{l=c[n+(m<<2)>>2]|0}do{if((l|0)<(f|0)){e=l+V|0;if((V|0)<=0){break}if((e|0)>(f|0)){l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+48>>2]&511](l)|0;c[F>>2]=e;Qe(l,182680,D);l=f}else{l=e}m=m+((m&1|0)!=(v^1|0))|0;c[n+(m<<2)>>2]=l}}while(0);while(1){ea=c[t+(u<<2)>>2]|0;if((ea|0)<=(l|0)&(ea|0)<(f|0)){u=u+2|0}else{break}}break};case 7:{V=(c[t+(u<<2)>>2]|0)+3|0;if((c[l>>2]|0)<(V|0)){if((V|0)>(f|0)){l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+48>>2]&511](l)|0;c[C>>2]=V;Qe(l,182680,B);l=f}else{l=V}m=m+((m&1|0)!=(v|0))|0;c[n+(m<<2)>>2]=l}else{l=c[n+(m<<2)>>2]|0}v=v^1;if((l|0)>=(f|0)){break a}u=u+1|0;while(1){ea=c[t+(u<<2)>>2]|0;if((ea|0)<=(l|0)&(ea|0)<(f|0)){u=u+2|0}else{break}}break};case 0:{V=t+(u+1<<2)|0;e=c[V>>2]|0;if((c[l>>2]|0)<(e|0)){if((e|0)>(f|0)){ea=c[h>>2]|0;ea=jd[c[(c[ea>>2]|0)+48>>2]&511](ea)|0;c[A>>2]=e;Qe(ea,182680,z);e=f}m=m+((m&1|0)!=(v|0))|0;c[n+(m<<2)>>2]=e;e=c[V>>2]|0}u=(e|0)<(f|0)?u+2|0:u;break};case 2:{V=c[t+(u<<2)>>2]|0;if((c[l>>2]|0)<(V|0)){if((V|0)>(f|0)){l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+48>>2]&511](l)|0;c[y>>2]=V;Qe(l,182680,T);l=f}else{l=V}m=m+((m&1|0)!=(v|0))|0;c[n+(m<<2)>>2]=l}else{l=c[n+(m<<2)>>2]|0}v=v^1;if((l|0)>=(f|0)){break a}u=u+1|0;while(1){ea=c[t+(u<<2)>>2]|0;if((ea|0)<=(l|0)&(ea|0)<(f|0)){u=u+2|0}else{break}}break};case 8:{V=(c[t+(u<<2)>>2]|0)+ -3|0;l=c[l>>2]|0;do{if((l|0)<(V|0)){if((V|0)>(f|0)){l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+48>>2]&511](l)|0;c[U>>2]=V;Qe(l,182680,x);l=f}else{l=V}m=m+((m&1|0)!=(v|0))|0;c[n+(m<<2)>>2]=l}else{if((l|0)<=(V|0)){l=c[n+(m<<2)>>2]|0;break}if((V|0)<0){l=c[h>>2]|0;Qe(jd[c[(c[l>>2]|0)+48>>2]&511](l)|0,182720,O);l=0}else{l=V}b:do{if((m|0)>0){while(1){V=m+ -1|0;if((l|0)>(c[n+(V<<2)>>2]|0)){break b}if((V|0)>0){m=V}else{m=V;break}}}}while(0);c[n+(m<<2)>>2]=l}}while(0);v=v^1;if((l|0)>=(f|0)){break a}if((u|0)>0){u=u+ -1|0}else{u=u+1|0}while(1){ea=c[t+(u<<2)>>2]|0;if((ea|0)<=(l|0)&(ea|0)<(f|0)){u=u+2|0}else{break}}break};case 6:{V=(c[t+(u<<2)>>2]|0)+ -2|0;l=c[l>>2]|0;do{if((l|0)<(V|0)){if((V|0)>(f|0)){l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+48>>2]&511](l)|0;c[P>>2]=V;Qe(l,182680,S);l=f}else{l=V}m=m+((m&1|0)!=(v|0))|0;c[n+(m<<2)>>2]=l}else{if((l|0)<=(V|0)){l=c[n+(m<<2)>>2]|0;break}if((V|0)<0){l=c[h>>2]|0;Qe(jd[c[(c[l>>2]|0)+48>>2]&511](l)|0,182720,R);l=0}else{l=V}c:do{if((m|0)>0){while(1){V=m+ -1|0;if((l|0)>(c[n+(V<<2)>>2]|0)){break c}if((V|0)>0){m=V}else{m=V;break}}}}while(0);c[n+(m<<2)>>2]=l}}while(0);v=v^1;if((l|0)>=(f|0)){break a}if((u|0)>0){u=u+ -1|0}else{u=u+1|0}while(1){ea=c[t+(u<<2)>>2]|0;if((ea|0)<=(l|0)&(ea|0)<(f|0)){u=u+2|0}else{break}}break};case 5:{V=(c[t+(u<<2)>>2]|0)+2|0;if((c[l>>2]|0)<(V|0)){if((V|0)>(f|0)){l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+48>>2]&511](l)|0;c[G>>2]=V;Qe(l,182680,H);l=f}else{l=V}m=m+((m&1|0)!=(v|0))|0;c[n+(m<<2)>>2]=l}else{l=c[n+(m<<2)>>2]|0}v=v^1;if((l|0)>=(f|0)){break a}u=u+1|0;while(1){ea=c[t+(u<<2)>>2]|0;if((ea|0)<=(l|0)&(ea|0)<(f|0)){u=u+2|0}else{break}}break};case 4:{V=c[t+(u<<2)>>2]|0;e=V+ -1|0;l=c[l>>2]|0;do{if((l|0)<(e|0)){if((e|0)>(f|0)){l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+48>>2]&511](l)|0;c[I>>2]=e;Qe(l,182680,J);l=f}else{l=e}m=m+((m&1|0)!=(v|0))|0;c[n+(m<<2)>>2]=l}else{if((l|0)<=(e|0)){l=c[n+(m<<2)>>2]|0;break}if((V|0)<1){l=c[h>>2]|0;Qe(jd[c[(c[l>>2]|0)+48>>2]&511](l)|0,182720,K);l=0}else{l=e}d:do{if((m|0)>0){while(1){V=m+ -1|0;if((l|0)>(c[n+(V<<2)>>2]|0)){break d}if((V|0)>0){m=V}else{m=V;break}}}}while(0);c[n+(m<<2)>>2]=l}}while(0);v=v^1;if((l|0)>=(f|0)){break a}if((u|0)>0){u=u+ -1|0}else{u=u+1|0}while(1){ea=c[t+(u<<2)>>2]|0;if((ea|0)<=(l|0)&(ea|0)<(f|0)){u=u+2|0}else{break}}break};case 3:{e=c[t+(u<<2)>>2]|0;V=e+1|0;if((c[l>>2]|0)<(V|0)){if((e|0)<(f|0)){l=V}else{l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+48>>2]&511](l)|0;c[M>>2]=V;Qe(l,182680,N);l=f}m=m+((m&1|0)!=(v|0))|0;c[n+(m<<2)>>2]=l}else{l=c[n+(m<<2)>>2]|0}v=v^1;if((l|0)>=(f|0)){break a}u=u+1|0;while(1){ea=c[t+(u<<2)>>2]|0;if((ea|0)<=(l|0)&(ea|0)<(f|0)){u=u+2|0}else{break}}break};case-1:{if((c[l>>2]|0)>=(f|0)){break a}m=m+(m&1)|0;c[n+(m<<2)>>2]=f;break};default:{ea=c[h>>2]|0;Qe(jd[c[(c[ea>>2]|0)+48>>2]&511](ea)|0,182200,E);if((c[l>>2]|0)>=(f|0)){break a}m=m+(m&1)|0;c[n+(m<<2)>>2]=f}}}while(0);l=n+(m<<2)|0;}while((c[l>>2]|0)<(f|0));m=c[n>>2]|0;u=0}else{m=0;u=0}do{v=n+((u|1)<<2)|0;l=c[v>>2]|0;if((m|0)<(l|0)){while(1){l=(da(c[r>>2]|0,k)|0)+(m>>3)|0;l=(c[s>>2]|0)+l|0;a[l]=d[l]|0|1<<(m&7^7);m=m+1|0;l=c[v>>2]|0;if((m|0)<(l|0)){}else{break}}}if((l|0)>=(f|0)){break}u=u+2|0;m=c[n+(u<<2)>>2]|0;}while((m|0)<(f|0));k=k+1|0;}while((k|0)<(g|0))}r=c[j>>2]|0;do{if((o|0)>-1){g=r+12|0;if((c[g>>2]|0)>>>0>=o>>>0){break}do{ea=c[r>>2]|0;jd[c[(c[ea>>2]|0)+20>>2]&511](ea)|0;ea=(c[g>>2]|0)+1|0;c[g>>2]=ea;}while(ea>>>0<o>>>0)}else{s=r+8|0;j=c[s>>2]|0;g=r+4|0;k=c[g>>2]|0;if(j>>>0<24){f=r+12|0;while(1){j=c[r>>2]|0;k=(jd[c[(c[j>>2]|0)+20>>2]&511](j)|0)&255|k<<8;c[g>>2]=k;j=(c[s>>2]|0)+8|0;c[s>>2]=j;c[f>>2]=(c[f>>2]|0)+1;if(j>>>0<24){}else{break}}}if((k>>>(j+ -24|0)&16777215|0)==4097){break}ea=c[b+64>>2]|0;Qe(jd[c[(c[ea>>2]|0)+48>>2]&511](ea)|0,182240,w)}}while(0);Fe(t);Fe(n);ea=q;i=p;return ea|0}do{if(j){if((h|0)==0){o=14675;break}else if((h|0)==1){o=1946;break}else if((h|0)==2){o=227;break}else if((h|0)==3){o=394;break}else{o=0;break}}else{o=0}}while(0);if((g|0)<=0){ea=q;i=p;return ea|0}w=b+76|0;B=b+80|0;D=m+4|0;E=n+4|0;b=m+8|0;C=n+8|0;z=m+12|0;A=n+12|0;y=(f|0)>0;x=l+8|0;F=l+12|0;G=l+16|0;H=l+20|0;J=0;I=0;do{do{if(j){if(!(J^(II(c[w>>2]|0,o,c[B>>2]|0)|0)!=0)){J=0;t=156;break}if((I|0)<=0){J=1;break}ea=c[s>>2]|0;J=c[r>>2]|0;$W(ea+(da(J,I)|0)|0,ea+(da(J,I+ -1|0)|0)|0,J|0)|0;J=1}else{t=156}}while(0);do{if((t|0)==156){t=0;if((h|0)==3){K=I+ -1|0;do{if((I|0)<1){R=0;L=0;K=0;N=0;M=0}else{if((c[u>>2]|0)<=(K|0)){R=0;L=0;K=0;N=0;M=0;break}L=c[v>>2]|0;if((L|0)<=0){R=0;L=0;K=0;N=0;M=0;break}K=da(c[r>>2]|0,K)|0;K=(c[s>>2]|0)+K|0;if((K|0)==0){R=0;L=7;K=0;N=0;M=0;break}M=d[K]|0;N=M>>>7;if((L|0)==1){R=1;L=7;K=0;M=0;break}O=(L|0)==2;R=2;L=O?6:5;K=O?0:K;M=M>>>6&1}}while(0);T=M|N<<1;M=c[m>>2]|0;N=(c[n>>2]|0)+I|0;do{if((N|0)<0){Q=0;P=0;M=0}else{if((c[u>>2]|0)<=(N|0)){Q=0;P=0;M=0;break}if((c[v>>2]|0)<=(M|0)){Q=0;P=0;M=0;break}N=da(c[r>>2]|0,N)|0;if((M|0)<0){Q=M;P=7;M=(c[s>>2]|0)+N|0;break}else{Q=M;P=M&7^7;M=(c[s>>2]|0)+(N+(M>>3))|0;break}}}while(0);if(y){N=0;O=0}else{break}while(1){S=T<<5|N;do{if((M|0)==0){M=0;U=0}else{if((Q|0)<0){Q=Q+1|0;U=0;break}U=(d[M]|0)>>>P&1;Q=Q+1|0;if((Q|0)==(c[v>>2]|0)){M=0;break}if((P|0)==0){P=7;M=M+1|0;break}else{P=P+ -1|0;break}}}while(0);S=S|U;do{if(k){if((c[x>>2]|0)<=(O|0)){t=370;break}if((c[F>>2]|0)<=(I|0)){t=370;break}ea=(da(c[G>>2]|0,I)|0)+(O>>3)|0;if(((d[(c[H>>2]|0)+ea|0]|0)&1<<(O&7^7)|0)==0){t=370}else{S=0}}else{t=370}}while(0);do{if((t|0)==370){t=0;S=II(c[w>>2]|0,S,c[B>>2]|0)|0;if((S|0)==0){S=0;break}ea=(da(c[r>>2]|0,I)|0)+(O>>3)|0;ea=(c[s>>2]|0)+ea|0;a[ea]=d[ea]|0|1<<(O&7^7)}}while(0);T=T<<1;do{if((K|0)==0){K=0;U=0}else{if((R|0)<0){R=R+1|0;U=0;break}U=(d[K]|0)>>>L&1;R=R+1|0;if((R|0)==(c[v>>2]|0)){K=0;break}if((L|0)==0){L=7;K=K+1|0;break}else{L=L+ -1|0;break}}}while(0);O=O+1|0;if((O|0)<(f|0)){T=U|T&30;N=(S|N)<<1&30}else{break}}}else if((h|0)==0){K=I+ -2|0;do{if((K|0)<0){Q=0;R=0;V=0;L=0;K=0}else{if((c[u>>2]|0)<=(K|0)){Q=0;R=0;V=0;L=0;K=0;break}N=c[v>>2]|0;if((N|0)<=0){Q=0;R=0;V=0;L=0;K=0;break}M=da(c[r>>2]|0,K)|0;M=(c[s>>2]|0)+M|0;if((M|0)==0){Q=0;R=7;V=0;L=0;K=0;break}K=d[M]|0;L=K>>>7;if((N|0)==1){Q=1;R=7;V=0;K=0;break}N=(N|0)==2;Q=2;R=N?6:5;V=N?0:M;K=K>>>6&1}}while(0);Z=K|L<<1;K=I+ -1|0;do{if((I|0)<1){P=0;O=0;L=0;t=168}else{if((c[u>>2]|0)<=(K|0)){P=0;O=0;L=0;t=168;break}M=c[v>>2]|0;if((M|0)<=0){P=0;O=0;L=0;t=168;break}K=da(c[r>>2]|0,K)|0;K=(c[s>>2]|0)+K|0;if((K|0)==0){P=0;O=7;L=0;t=168;break}N=d[K]|0;L=N>>>7;if((M|0)==1){P=1;O=7;t=168;break}L=(N>>>6&1|L<<1)<<1;if((M|0)==2){P=2;O=6;M=0;K=0;break}if((K|0)==0){P=2;O=5;M=0;K=0;break}M=(c[v>>2]|0)==3;P=3;O=M?5:4;M=M?0:K;K=(d[K]|0)>>>5&1}}while(0);if((t|0)==168){t=0;L=L<<2;M=0;K=0}Y=K|L;K=c[m>>2]|0;L=(c[n>>2]|0)+I|0;do{if((L|0)<0){T=0;l=0;e=0}else{if((c[u>>2]|0)<=(L|0)){T=0;l=0;e=0;break}if((c[v>>2]|0)<=(K|0)){T=0;l=0;e=0;break}L=da(c[r>>2]|0,L)|0;if((K|0)<0){T=K;l=7;e=(c[s>>2]|0)+L|0;break}else{T=K;l=K&7^7;e=(c[s>>2]|0)+(L+(K>>3))|0;break}}}while(0);K=c[D>>2]|0;L=(c[E>>2]|0)+I|0;do{if((L|0)<0){$=0;aa=0;ba=0}else{if((c[u>>2]|0)<=(L|0)){$=0;aa=0;ba=0;break}if((c[v>>2]|0)<=(K|0)){$=0;aa=0;ba=0;break}L=da(c[r>>2]|0,L)|0;if((K|0)<0){$=K;aa=7;ba=(c[s>>2]|0)+L|0;break}else{$=K;aa=K&7^7;ba=(c[s>>2]|0)+(L+(K>>3))|0;break}}}while(0);K=c[b>>2]|0;L=(c[C>>2]|0)+I|0;do{if((L|0)<0){X=0;U=0;S=0}else{if((c[u>>2]|0)<=(L|0)){X=0;U=0;S=0;break}if((c[v>>2]|0)<=(K|0)){X=0;U=0;S=0;break}L=da(c[r>>2]|0,L)|0;if((K|0)<0){X=K;U=7;S=(c[s>>2]|0)+L|0;break}else{X=K;U=K&7^7;S=(c[s>>2]|0)+(L+(K>>3))|0;break}}}while(0);K=c[z>>2]|0;L=(c[A>>2]|0)+I|0;do{if((L|0)<0){N=0;L=0;K=0}else{if((c[u>>2]|0)<=(L|0)){N=0;L=0;K=0;break}if((c[v>>2]|0)<=(K|0)){N=0;L=0;K=0;break}W=da(c[r>>2]|0,L)|0;if((K|0)<0){N=K;L=7;K=(c[s>>2]|0)+W|0;break}else{N=K;L=K&7^7;K=(c[s>>2]|0)+(W+(K>>3))|0;break}}}while(0);if(y){W=R;_=Q;Q=0;R=0}else{break}while(1){ca=Y<<8|Z<<13|Q<<4;do{if((e|0)==0){e=0;ea=0}else{if((T|0)<0){T=T+1|0;ea=0;break}ea=(d[e]|0)>>>l&1;T=T+1|0;if((T|0)==(c[v>>2]|0)){e=0;break}if((l|0)==0){l=7;e=e+1|0;break}else{l=l+ -1|0;break}}}while(0);ca=ca|ea<<3;do{if((ba|0)==0){ba=0;ea=0}else{if(($|0)<0){$=$+1|0;ea=0;break}ea=(d[ba]|0)>>>aa&1;$=$+1|0;if(($|0)==(c[v>>2]|0)){ba=0;break}if((aa|0)==0){aa=7;ba=ba+1|0;break}else{aa=aa+ -1|0;break}}}while(0);ca=ca|ea<<2;do{if((S|0)==0){S=0;ea=0}else{if((X|0)<0){X=X+1|0;ea=0;break}ea=(d[S]|0)>>>U&1;X=X+1|0;if((X|0)==(c[v>>2]|0)){S=0;break}if((U|0)==0){U=7;S=S+1|0;break}else{U=U+ -1|0;break}}}while(0);ca=ca|ea<<1;do{if((K|0)==0){K=0;ea=0}else{if((N|0)<0){N=N+1|0;ea=0;break}ea=(d[K]|0)>>>L&1;N=N+1|0;if((N|0)==(c[v>>2]|0)){K=0;break}if((L|0)==0){L=7;K=K+1|0;break}else{L=L+ -1|0;break}}}while(0);ca=ca|ea;do{if(k){if((c[x>>2]|0)<=(R|0)){t=229;break}if((c[F>>2]|0)<=(I|0)){t=229;break}ea=(da(c[G>>2]|0,I)|0)+(R>>3)|0;if(((d[(c[H>>2]|0)+ea|0]|0)&1<<(R&7^7)|0)==0){t=229}else{ca=0}}else{t=229}}while(0);do{if((t|0)==229){t=0;ca=II(c[w>>2]|0,ca,c[B>>2]|0)|0;if((ca|0)==0){ca=0;break}ea=(da(c[r>>2]|0,I)|0)+(R>>3)|0;ea=(c[s>>2]|0)+ea|0;a[ea]=d[ea]|0|1<<(R&7^7)}}while(0);Z=Z<<1;do{if((V|0)==0){V=0;ea=0}else{if((_|0)<0){_=_+1|0;ea=0;break}ea=(d[V]|0)>>>W&1;_=_+1|0;if((_|0)==(c[v>>2]|0)){V=0;break}if((W|0)==0){W=7;V=V+1|0;break}else{W=W+ -1|0;break}}}while(0);Z=ea|Z&6;Y=Y<<1;do{if((M|0)==0){M=0;ea=0}else{if((P|0)<0){P=P+1|0;ea=0;break}ea=(d[M]|0)>>>O&1;P=P+1|0;if((P|0)==(c[v>>2]|0)){M=0;break}if((O|0)==0){O=7;M=M+1|0;break}else{O=O+ -1|0;break}}}while(0);R=R+1|0;if((R|0)<(f|0)){Y=ea|Y&30;Q=(ca|Q<<1)&15}else{break}}}else if((h|0)==2){K=I+ -2|0;do{if((K|0)<0){O=0;P=0;S=0;L=0;K=0}else{if((c[u>>2]|0)<=(K|0)){O=0;P=0;S=0;L=0;K=0;break}N=c[v>>2]|0;if((N|0)<=0){O=0;P=0;S=0;L=0;K=0;break}M=da(c[r>>2]|0,K)|0;M=(c[s>>2]|0)+M|0;if((M|0)==0){O=0;P=7;S=0;L=0;K=0;break}K=d[M]|0;L=K>>>7;if((N|0)==1){O=1;P=7;S=0;K=0;break}N=(N|0)==2;O=2;P=N?6:5;S=N?0:M;K=K>>>6&1}}while(0);U=K|L<<1;K=I+ -1|0;do{if((I|0)<1){M=0;L=0;K=0;Q=0;N=0}else{if((c[u>>2]|0)<=(K|0)){M=0;L=0;K=0;Q=0;N=0;break}L=c[v>>2]|0;if((L|0)<=0){M=0;L=0;K=0;Q=0;N=0;break}K=da(c[r>>2]|0,K)|0;K=(c[s>>2]|0)+K|0;if((K|0)==0){M=0;L=7;K=0;Q=0;N=0;break}N=d[K]|0;Q=N>>>7;if((L|0)==1){M=1;L=7;K=0;N=0;break}R=(L|0)==2;M=2;L=R?6:5;K=R?0:K;N=N>>>6&1}}while(0);l=N|Q<<1;N=c[m>>2]|0;Q=(c[n>>2]|0)+I|0;do{if((Q|0)<0){Q=0;R=0;N=0}else{if((c[u>>2]|0)<=(Q|0)){Q=0;R=0;N=0;break}if((c[v>>2]|0)<=(N|0)){Q=0;R=0;N=0;break}T=da(c[r>>2]|0,Q)|0;if((N|0)<0){Q=N;R=7;N=(c[s>>2]|0)+T|0;break}else{Q=N;R=N&7^7;N=(c[s>>2]|0)+(T+(N>>3))|0;break}}}while(0);if(y){T=P;V=O;e=U;O=0;P=0}else{break}while(1){U=l<<3|e<<7|O;do{if((N|0)==0){N=0;W=0}else{if((Q|0)<0){Q=Q+1|0;W=0;break}W=(d[N]|0)>>>R&1;Q=Q+1|0;if((Q|0)==(c[v>>2]|0)){N=0;break}if((R|0)==0){R=7;N=N+1|0;break}else{R=R+ -1|0;break}}}while(0);U=U|W;do{if(k){if((c[x>>2]|0)<=(P|0)){t=329;break}if((c[F>>2]|0)<=(I|0)){t=329;break}ea=(da(c[G>>2]|0,I)|0)+(P>>3)|0;if(((d[(c[H>>2]|0)+ea|0]|0)&1<<(P&7^7)|0)==0){t=329}else{U=0}}else{t=329}}while(0);do{if((t|0)==329){t=0;U=II(c[w>>2]|0,U,c[B>>2]|0)|0;if((U|0)==0){U=0;break}ea=(da(c[r>>2]|0,I)|0)+(P>>3)|0;ea=(c[s>>2]|0)+ea|0;a[ea]=d[ea]|0|1<<(P&7^7)}}while(0);e=e<<1;do{if((S|0)==0){S=0;W=0}else{if((V|0)<0){V=V+1|0;W=0;break}W=(d[S]|0)>>>T&1;V=V+1|0;if((V|0)==(c[v>>2]|0)){S=0;break}if((T|0)==0){T=7;S=S+1|0;break}else{T=T+ -1|0;break}}}while(0);e=W|e&6;l=l<<1;do{if((K|0)==0){K=0;W=0}else{if((M|0)<0){M=M+1|0;W=0;break}W=(d[K]|0)>>>L&1;M=M+1|0;if((M|0)==(c[v>>2]|0)){K=0;break}if((L|0)==0){L=7;K=K+1|0;break}else{L=L+ -1|0;break}}}while(0);P=P+1|0;if((P|0)<(f|0)){l=W|l&14;O=(U|O)<<1&6}else{break}}}else if((h|0)==1){K=I+ -2|0;do{if((K|0)<0){N=0;P=0;L=0;t=251}else{if((c[u>>2]|0)<=(K|0)){N=0;P=0;L=0;t=251;break}M=c[v>>2]|0;if((M|0)<=0){N=0;P=0;L=0;t=251;break}K=da(c[r>>2]|0,K)|0;K=(c[s>>2]|0)+K|0;if((K|0)==0){N=0;P=7;L=0;t=251;break}N=d[K]|0;L=N>>>7;if((M|0)==1){N=1;P=7;t=251;break}L=(N>>>6&1|L<<1)<<1;if((M|0)==2){N=2;P=6;T=0;K=0;break}if((K|0)==0){N=2;P=5;T=0;K=0;break}M=(c[v>>2]|0)==3;N=3;P=M?5:4;T=M?0:K;K=(d[K]|0)>>>5&1}}while(0);if((t|0)==251){t=0;L=L<<2;T=0;K=0}Q=K|L;L=I+ -1|0;do{if((I|0)<1){M=0;L=0;R=0;t=260}else{if((c[u>>2]|0)<=(L|0)){M=0;L=0;R=0;t=260;break}K=c[v>>2]|0;if((K|0)<=0){M=0;L=0;R=0;t=260;break}O=da(c[r>>2]|0,L)|0;O=(c[s>>2]|0)+O|0;if((O|0)==0){M=0;L=7;R=0;t=260;break}L=d[O]|0;R=L>>>7;if((K|0)==1){M=1;L=7;t=260;break}R=(L>>>6&1|R<<1)<<1;if((K|0)==2){M=2;L=6;K=0;O=0;break}if((O|0)==0){M=2;L=5;K=0;O=0;break}K=(c[v>>2]|0)==3;M=3;L=K?5:4;K=K?0:O;O=(d[O]|0)>>>5&1}}while(0);if((t|0)==260){t=0;R=R<<2;K=0;O=0}V=O|R;O=c[m>>2]|0;R=(c[n>>2]|0)+I|0;do{if((R|0)<0){R=0;S=0;O=0}else{if((c[u>>2]|0)<=(R|0)){R=0;S=0;O=0;break}if((c[v>>2]|0)<=(O|0)){R=0;S=0;O=0;break}U=da(c[r>>2]|0,R)|0;if((O|0)<0){R=O;S=7;O=(c[s>>2]|0)+U|0;break}else{R=O;S=O&7^7;O=(c[s>>2]|0)+(U+(O>>3))|0;break}}}while(0);if(y){U=P;e=Q;P=0;Q=0}else{break}while(1){l=V<<4|e<<9|P;do{if((O|0)==0){O=0;W=0}else{if((R|0)<0){R=R+1|0;W=0;break}W=(d[O]|0)>>>S&1;R=R+1|0;if((R|0)==(c[v>>2]|0)){O=0;break}if((S|0)==0){S=7;O=O+1|0;break}else{S=S+ -1|0;break}}}while(0);l=l|W;do{if(k){if((c[x>>2]|0)<=(Q|0)){t=282;break}if((c[F>>2]|0)<=(I|0)){t=282;break}ea=(da(c[G>>2]|0,I)|0)+(Q>>3)|0;if(((d[(c[H>>2]|0)+ea|0]|0)&1<<(Q&7^7)|0)==0){t=282}else{l=0}}else{t=282}}while(0);do{if((t|0)==282){t=0;l=II(c[w>>2]|0,l,c[B>>2]|0)|0;if((l|0)==0){l=0;break}ea=(da(c[r>>2]|0,I)|0)+(Q>>3)|0;ea=(c[s>>2]|0)+ea|0;a[ea]=d[ea]|0|1<<(Q&7^7)}}while(0);e=e<<1;do{if((T|0)==0){T=0;W=0}else{if((N|0)<0){N=N+1|0;W=0;break}W=(d[T]|0)>>>U&1;N=N+1|0;if((N|0)==(c[v>>2]|0)){T=0;break}if((U|0)==0){U=7;T=T+1|0;break}else{U=U+ -1|0;break}}}while(0);e=W|e&14;V=V<<1;do{if((K|0)==0){K=0;W=0}else{if((M|0)<0){M=M+1|0;W=0;break}W=(d[K]|0)>>>L&1;M=M+1|0;if((M|0)==(c[v>>2]|0)){K=0;break}if((L|0)==0){L=7;K=K+1|0;break}else{L=L+ -1|0;break}}}while(0);Q=Q+1|0;if((Q|0)<(f|0)){V=W|V&30;P=(l|P)<<1&14}else{break}}}else{break}}}while(0);I=I+1|0;}while((I|0)<(g|0));i=p;return q|0}}while(0);do{if((t|0)==5){Qe(-1,177872,W);c[q+20>>2]=0;if((q|0)==0){q=0}else{break}i=p;return q|0}}while(0);fd[c[(c[q>>2]|0)+4>>2]&511](q);ea=0;i=p;return ea|0}function AD(a){a=a|0;i=i;return 0}function BD(a){a=a|0;i=i;return 1}function CD(a){a=a|0;i=i;return 2}function DD(a){a=a|0;i=i;return 3}function ED(a){a=a|0;i=i;return 9}function FD(b,d){b=b|0;d=d|0;var e=0;e=i;uj(b,d);c[b>>2]=182752;a[b+72|0]=0;a[b+92|0]=0;a[b+112|0]=0;a[b+132|0]=0;c[b+196>>2]=0;bX(b+12|0,0,16)|0;bX(b+180|0,0,13)|0;i=e;return}function GD(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=182752;KD(a);d=c[a+8>>2]|0;if((d|0)==0){HW(a);i=b;return}fd[c[(c[d>>2]|0)+4>>2]&511](d);HW(a);i=b;return}function HD(a){a=a|0;var b=0;b=i;c[a>>2]=182752;KD(a);a=c[a+8>>2]|0;if((a|0)==0){i=b;return}fd[c[(c[a>>2]|0)+4>>2]&511](a);i=b;return}function ID(a){a=a|0;var b=0,d=0;b=i;d=c[a+8>>2]|0;fd[c[(c[d>>2]|0)+12>>2]&511](d);if(JD(a)|0){c[a+204>>2]=c[a+148>>2]}else{c[a+204>>2]=c[a+140>>2]}c[a+200>>2]=c[a+144>>2];c[a+208>>2]=0;c[a+216>>2]=0;i=b;return}function JD(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0;d=i;g=i;i=i+8|0;u=i;i=i+8|0;t=i;i=i+8|0;h=i;i=i+8|0;j=i;i=i+8|0;k=i;i=i+8|0;l=i;i=i+8|0;m=i;i=i+8|0;o=i;i=i+8|0;p=i;i=i+8|0;q=i;i=i+8|0;n=i;i=i+8|0;f=i;i=i+8|0;e=i;i=i+8|0;A=i;i=i+8|0;s=i;i=i+8|0;z=s;y=i;i=i+8|0;v=i;i=i+8|0;x=v;r=b+28|0;a[r]=0;w=b+8|0;$=c[w>>2]|0;if((jd[c[(c[$>>2]|0)+24>>2]&511]($)|0)==255){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182848,A);TD(b,0)|0;h=c[b+168>>2]|0;g=b+12|0;c[g>>2]=h;h=ye(h,4)|0;f=b+16|0;c[f>>2]=h;a:do{if((c[g>>2]|0)!=0){e=b+180|0;j=0;while(1){c[h+(j<<2)>>2]=c[(c[(c[e>>2]|0)+48>>2]|0)+(j*88|0)+4>>2];j=j+1|0;if(j>>>0>=(c[g>>2]|0)>>>0){break a}h=c[f>>2]|0}}}while(0);c[b+20>>2]=(c[b+136>>2]|0)-(c[b+144>>2]|0);c[b+24>>2]=(c[b+140>>2]|0)-(c[b+148>>2]|0);$=1;i=d;return $|0}if(!(SD(b,z,y,x)|0)){$=1;i=d;return $|0}I=b+24|0;H=b+20|0;F=b+12|0;G=b+16|0;P=b+76|0;Q=b+80|0;R=b+84|0;S=b+88|0;T=b+92|0;L=b+96|0;O=b+100|0;N=b+104|0;M=b+108|0;K=b+112|0;E=b+116|0;B=b+120|0;C=b+124|0;D=b+128|0;A=b+132|0;J=b+72|0;b:while(1){U=c[s>>2]|0;do{if((U|0)==1768449138){U=c[w>>2]|0;U=jd[c[(c[U>>2]|0)+20>>2]&511](U)|0;if((U|0)==-1){r=25;break b}V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=25;break b}W=c[w>>2]|0;W=jd[c[(c[W>>2]|0)+20>>2]&511](W)|0;if((W|0)==-1){r=25;break b}X=c[w>>2]|0;X=jd[c[(c[X>>2]|0)+20>>2]&511](X)|0;if((X|0)==-1){r=25;break b}c[I>>2]=V<<16|U<<24|W<<8|X;X=c[w>>2]|0;X=jd[c[(c[X>>2]|0)+20>>2]&511](X)|0;if((X|0)==-1){r=25;break b}W=c[w>>2]|0;W=jd[c[(c[W>>2]|0)+20>>2]&511](W)|0;if((W|0)==-1){r=25;break b}U=c[w>>2]|0;U=jd[c[(c[U>>2]|0)+20>>2]&511](U)|0;if((U|0)==-1){r=25;break b}V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=25;break b}c[H>>2]=W<<16|X<<24|U<<8|V;U=c[w>>2]|0;U=jd[c[(c[U>>2]|0)+20>>2]&511](U)|0;if((U|0)==-1){r=25;break b}V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=25;break b}c[F>>2]=V|U<<8;U=c[w>>2]|0;U=jd[c[(c[U>>2]|0)+20>>2]&511](U)|0;if((U|0)==-1){r=25;break b}V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=25;break b}$=c[w>>2]|0;if((jd[c[(c[$>>2]|0)+20>>2]&511]($)|0)==-1){r=25;break b}$=c[w>>2]|0;if((jd[c[(c[$>>2]|0)+20>>2]&511]($)|0)==-1){r=25;break b}if((V|0)!=7){r=27;break b}V=ye(c[F>>2]|0,4)|0;c[G>>2]=V;c:do{if((c[F>>2]|0)!=0){W=0;while(1){c[V+(W<<2)>>2]=U;W=W+1|0;if(W>>>0>=(c[F>>2]|0)>>>0){break c}V=c[G>>2]|0}}}while(0);a[r]=1}else if((U|0)==1668246642){if(!(UD(b,c[v>>2]|0)|0)){b=0;r=92;break b}}else if((U|0)==1651532643){if((a[r]&1)==0){r=33;break b}U=c[v>>2]|0;if((U|0)!=(c[F>>2]|0)){r=36;break b}if((U|0)==0){break}else{W=0}do{U=c[G>>2]|0;V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=38;break b}c[U+(W<<2)>>2]=V;W=W+1|0;}while(W>>>0<(c[F>>2]|0)>>>0)}else if((U|0)==1785737827){if((c[G>>2]|0)==0){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183096,t)}if((a[J]&1)==0){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183144,u)}if(!(TD(b,0)|0)){b=0;r=92;break b}}else if((U|0)==1668112752){$=(c[v>>2]|0)>>>2;c[L>>2]=$;c[O>>2]=ye($,4)|0;c[N>>2]=ye(c[L>>2]|0,4)|0;c[M>>2]=ye(c[L>>2]|0,4)|0;if((c[L>>2]|0)!=0){U=0;do{W=(c[O>>2]|0)+(U<<2)|0;V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=67;break b}X=c[w>>2]|0;X=jd[c[(c[X>>2]|0)+20>>2]&511](X)|0;if((X|0)==-1){r=67;break b}c[W>>2]=X|V<<8;V=c[N>>2]|0;W=c[w>>2]|0;W=jd[c[(c[W>>2]|0)+20>>2]&511](W)|0;if((W|0)==-1){r=67;break b}c[V+(U<<2)>>2]=W;V=c[M>>2]|0;W=c[w>>2]|0;W=jd[c[(c[W>>2]|0)+20>>2]&511](W)|0;if((W|0)==-1){r=67;break b}c[V+(U<<2)>>2]=W;U=U+1|0;}while(U>>>0<(c[L>>2]|0)>>>0)}a[K]=1}else if((U|0)==1885564018){U=c[w>>2]|0;U=jd[c[(c[U>>2]|0)+20>>2]&511](U)|0;if((U|0)==-1){r=44;break b}V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=44;break b}c[P>>2]=V|U<<8;U=c[w>>2]|0;U=jd[c[(c[U>>2]|0)+20>>2]&511](U)|0;if((U|0)==-1){r=44;break b}c[Q>>2]=U;c[R>>2]=ye(U,4)|0;c[S>>2]=ye(da(c[Q>>2]|0,c[P>>2]|0)|0,4)|0;if((c[Q>>2]|0)==0){W=0}else{V=0;do{U=c[R>>2]|0;W=c[w>>2]|0;W=jd[c[(c[W>>2]|0)+20>>2]&511](W)|0;if((W|0)==-1){r=47;break b}c[U+(V<<2)>>2]=W;W=(c[R>>2]|0)+(V<<2)|0;c[W>>2]=(c[W>>2]|0)+1;V=V+1|0;W=c[Q>>2]|0;}while(V>>>0<W>>>0)}V=c[P>>2]|0;if((V|0)!=0){U=0;do{if((W|0)==0){W=0}else{V=0;do{X=c[(c[R>>2]|0)+(V<<2)>>2]|0;Y=((X&127)+7|0)>>>3;X=(X&128|0)==0;W=(da(W,U)|0)+V|0;W=(c[S>>2]|0)+(W<<2)|0;if((Y|0)==0){_=0}else{Z=0;_=0;do{$=c[w>>2]|0;$=jd[c[(c[$>>2]|0)+20>>2]&511]($)|0;if(($|0)==-1){r=57;break b}_=$+(_<<8)|0;Z=Z+1|0;}while((Z|0)<(Y|0))}do{if(!X){X=Y<<3;if((_&1<<X+ -1|0)==0){break}_=_|-1<<X}}while(0);c[W>>2]=_;V=V+1|0;W=c[Q>>2]|0;}while(V>>>0<W>>>0);V=c[P>>2]|0}U=U+1|0;}while(U>>>0<V>>>0)}a[T]=1}else if((U|0)==1667523942){U=c[w>>2]|0;U=jd[c[(c[U>>2]|0)+20>>2]&511](U)|0;if((U|0)==-1){r=72;break b}V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=72;break b}$=V|U<<8;c[E>>2]=$;c[B>>2]=ye($,4)|0;c[C>>2]=ye(c[E>>2]|0,4)|0;c[D>>2]=ye(c[E>>2]|0,4)|0;if((c[E>>2]|0)!=0){U=0;do{V=(c[B>>2]|0)+(U<<2)|0;X=c[w>>2]|0;X=jd[c[(c[X>>2]|0)+20>>2]&511](X)|0;if((X|0)==-1){r=80;break b}W=c[w>>2]|0;W=jd[c[(c[W>>2]|0)+20>>2]&511](W)|0;if((W|0)==-1){r=80;break b}c[V>>2]=W|X<<8;W=(c[C>>2]|0)+(U<<2)|0;X=c[w>>2]|0;X=jd[c[(c[X>>2]|0)+20>>2]&511](X)|0;if((X|0)==-1){r=80;break b}V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=80;break b}c[W>>2]=V|X<<8;W=(c[D>>2]|0)+(U<<2)|0;X=c[w>>2]|0;X=jd[c[(c[X>>2]|0)+20>>2]&511](X)|0;if((X|0)==-1){r=80;break b}V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=80;break b}c[W>>2]=V|X<<8;U=U+1|0;}while(U>>>0<(c[E>>2]|0)>>>0)}a[A]=1}else if((U|0)!=1785737832){V=c[v>>2]|0;if((V|0)==0){break}else{U=0}do{$=c[w>>2]|0;U=U+1|0;if((jd[c[(c[$>>2]|0)+20>>2]&511]($)|0)==-1){r=91;break b}}while(U>>>0<V>>>0)}}while(0);if(!(SD(b,z,y,x)|0)){b=1;r=92;break}}if((r|0)==25){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182904,e);$=0;i=d;return $|0}else if((r|0)==27){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182936,f);$=0;i=d;return $|0}else if((r|0)==33){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182976,n);$=0;i=d;return $|0}else if((r|0)==36){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183048,q);$=0;i=d;return $|0}else if((r|0)==38){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182904,p);$=0;i=d;return $|0}else if((r|0)==44){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182904,o);$=0;i=d;return $|0}else if((r|0)==47){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182904,m);$=0;i=d;return $|0}else if((r|0)==57){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182904,l);$=0;i=d;return $|0}else if((r|0)==67){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182904,k);$=0;i=d;return $|0}else if((r|0)==72){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182904,j);$=0;i=d;return $|0}else if((r|0)==80){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182904,h);$=0;i=d;return $|0}else if((r|0)==91){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182904,g);$=0;i=d;return $|0}else if((r|0)==92){i=d;return b|0}return 0}function KD(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=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,w=0,x=0;d=i;e=b+16|0;Fe(c[e>>2]|0);c[e>>2]=0;e=b+92|0;if((a[e]&1)!=0){Fe(c[b+84>>2]|0);Fe(c[b+88>>2]|0);a[e]=0}e=b+112|0;if((a[e]&1)!=0){Fe(c[b+100>>2]|0);Fe(c[b+104>>2]|0);Fe(c[b+108>>2]|0);a[e]=0}e=b+132|0;if((a[e]&1)!=0){Fe(c[b+120>>2]|0);Fe(c[b+124>>2]|0);Fe(c[b+128>>2]|0);a[e]=0}e=b+180|0;k=c[e>>2]|0;if((k|0)==0){wj(b);i=d;return}g=b+172|0;m=c[g>>2]|0;f=b+176|0;l=c[f>>2]|0;if((da(l,m)|0)!=0){h=b+168|0;o=k;j=0;while(1){k=o+(j*52|0)+48|0;n=c[k>>2]|0;if((n|0)==0){k=o}else{if((c[h>>2]|0)!=0){m=0;while(1){Fe(c[n+(m*88|0)+44>>2]|0);Fe(c[n+(m*88|0)+76>>2]|0);Fe(c[n+(m*88|0)+80>>2]|0);l=n+(m*88|0)+84|0;p=c[l>>2]|0;if((p|0)!=0){n=n+(m*88|0)+20|0;o=0;while(1){q=c[p+(o*76|0)+72>>2]|0;if((q|0)!=0){p=(o|0)==0?1:3;q=q+16|0;u=c[q>>2]|0;if((u|0)!=0){r=0;do{Fe(c[u+(r*40|0)+28>>2]|0);Fe(c[u+(r*40|0)+32>>2]|0);t=u+(r*40|0)+36|0;w=c[t>>2]|0;if((w|0)!=0){s=u+(r*40|0)+16|0;u=u+(r*40|0)+20|0;if((da(c[u>>2]|0,c[s>>2]|0)|0)!=0){v=0;do{Fe(c[w+(v*56|0)+44>>2]|0);x=c[w+(v*56|0)+48>>2]|0;if((x|0)!=0){DI(x);HW(x)}w=c[w+(v*56|0)+52>>2]|0;if((w|0)!=0){yI(w);HW(w)}v=v+1|0;x=v>>>0<(da(c[u>>2]|0,c[s>>2]|0)|0)>>>0;w=c[t>>2]|0}while(x)}Fe(w)}r=r+1|0;u=c[q>>2]|0}while(r>>>0<p>>>0);Fe(u)}Fe(c[(c[(c[(c[e>>2]|0)+(j*52|0)+48>>2]|0)+(m*88|0)+84>>2]|0)+(o*76|0)+72>>2]|0)}o=o+1|0;if(o>>>0>(c[n>>2]|0)>>>0){break}p=c[l>>2]|0}Fe(c[(c[(c[e>>2]|0)+(j*52|0)+48>>2]|0)+(m*88|0)+84>>2]|0)}m=m+1|0;if(m>>>0>=(c[h>>2]|0)>>>0){break}n=c[k>>2]|0}n=c[(c[e>>2]|0)+(j*52|0)+48>>2]|0}Fe(n);k=c[e>>2]|0;l=c[f>>2]|0;m=c[g>>2]|0}j=j+1|0;if(j>>>0<(da(l,m)|0)>>>0){o=k}else{break}}}Fe(k);c[e>>2]=0;wj(b);i=d;return}function LD(a){a=a|0;var b=0,d=0,e=0,f=0;d=i;b=a+216|0;e=c[b>>2]|0;if(e>>>0<8){MD(a);e=c[b>>2]|0}if((e|0)==8){e=c[a+212>>2]&255;c[b>>2]=0;i=d;return e|0}if(e>>>0>8){f=e+ -8|0;e=(c[a+212>>2]|0)>>>f&255;c[b>>2]=f;i=d;return e|0}if((e|0)==0){f=-1;i=d;return f|0}f=c[a+212>>2]<<8-e&255;c[b>>2]=0;i=d;return f|0}function MD(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0;b=i;g=a+204|0;l=a+164|0;m=a+156|0;n=a+172|0;f=a+200|0;d=a+160|0;p=a+152|0;h=a+208|0;q=a+180|0;r=a+168|0;j=a+136|0;e=a+144|0;o=a+212|0;k=a+216|0;a=c[a+140>>2]|0;u=c[g>>2]|0;while(1){if(u>>>0>=a>>>0){d=10;break}B=u-(c[l>>2]|0)|0;A=c[m>>2]|0;s=da(c[n>>2]|0,(B>>>0)/(A>>>0)|0)|0;v=c[f>>2]|0;y=v-(c[d>>2]|0)|0;x=c[p>>2]|0;w=c[h>>2]|0;s=c[(c[q>>2]|0)+((((y>>>0)/(x>>>0)|0)+s|0)*52|0)+48>>2]|0;t=c[s+(w*88|0)+8>>2]|0;z=c[s+(w*88|0)+12>>2]|0;t=(da((c[s+(w*88|0)+60>>2]|0)-(c[s+(w*88|0)+52>>2]|0)|0,((((B>>>0)%(A>>>0)|0)+ -1+z|0)>>>0)/(z>>>0)|0)|0)+(((((y>>>0)%(x>>>0)|0)+ -1+t|0)>>>0)/(t>>>0)|0)|0;t=c[(c[s+(w*88|0)+76>>2]|0)+(t<<2)>>2]|0;s=c[s+(w*88|0)+4>>2]|0;w=w+1|0;c[h>>2]=w;do{if((w|0)==(c[r>>2]|0)){c[h>>2]=0;B=v+1|0;c[f>>2]=B;if((B|0)!=(c[j>>2]|0)){break}c[f>>2]=c[e>>2];u=u+1|0;c[g>>2]=u}}while(0);v=c[o>>2]|0;if((s|0)==8){t=v<<8|t&255}else{t=v<<s|(1<<s)+ -1&t}c[o>>2]=t;B=(c[k>>2]|0)+s|0;c[k>>2]=B;if(B>>>0>=8){d=10;break}}if((d|0)==10){i=b;return}}function ND(a){a=a|0;var b=0,d=0,e=0;b=i;d=a+216|0;e=c[d>>2]|0;if(e>>>0<8){MD(a);e=c[d>>2]|0}if((e|0)==8){e=c[a+212>>2]&255;i=b;return e|0}if(e>>>0>8){e=(c[a+212>>2]|0)>>>(e+ -8|0)&255;i=b;return e|0}if((e|0)==0){e=-1;i=b;return e|0}e=c[a+212>>2]<<8-e&255;i=b;return e|0}function OD(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return 0}function PD(a,b){a=a|0;b=b|0;var d=0;d=i;b=c[a+8>>2]|0;b=Bd[c[(c[b>>2]|0)+60>>2]&255](b,1)|0;i=d;return b|0}function QD(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;m=i;e=i;i=i+8|0;j=e;f=i;i=i+8|0;h=i;i=i+8|0;g=h;l=a+8|0;u=c[l>>2]|0;fd[c[(c[u>>2]|0)+12>>2]&511](u);u=c[l>>2]|0;if((jd[c[(c[u>>2]|0)+24>>2]&511](u)|0)==255){RD(a,b,d);u=l;u=c[u>>2]|0;t=u;t=c[t>>2]|0;t=t+16|0;t=c[t>>2]|0;fd[t&511](u);i=m;return}if(SD(a,j,f,g)|0){p=0;n=0;o=0}else{u=l;u=c[u>>2]|0;t=u;t=c[t>>2]|0;t=t+16|0;t=c[t>>2]|0;fd[t&511](u);i=m;return}a:while(1){q=c[e>>2]|0;b:do{if((q|0)==1785737827){break a}else if((q|0)==1768449138){u=c[l>>2]|0;if((jd[c[(c[u>>2]|0)+20>>2]&511](u)|0)==-1){break}u=c[l>>2]|0;if((jd[c[(c[u>>2]|0)+20>>2]&511](u)|0)==-1){break}u=c[l>>2]|0;if((jd[c[(c[u>>2]|0)+20>>2]&511](u)|0)==-1){break}u=c[l>>2]|0;if((jd[c[(c[u>>2]|0)+20>>2]&511](u)|0)==-1){break}u=c[l>>2]|0;if((jd[c[(c[u>>2]|0)+20>>2]&511](u)|0)==-1){break}u=c[l>>2]|0;if((jd[c[(c[u>>2]|0)+20>>2]&511](u)|0)==-1){break}u=c[l>>2]|0;if((jd[c[(c[u>>2]|0)+20>>2]&511](u)|0)==-1){break}u=c[l>>2]|0;if((jd[c[(c[u>>2]|0)+20>>2]&511](u)|0)==-1){break}u=c[l>>2]|0;if((jd[c[(c[u>>2]|0)+20>>2]&511](u)|0)==-1){break}u=c[l>>2]|0;if((jd[c[(c[u>>2]|0)+20>>2]&511](u)|0)==-1){break}q=c[l>>2]|0;q=jd[c[(c[q>>2]|0)+20>>2]&511](q)|0;if((q|0)==-1){break}u=c[l>>2]|0;if((jd[c[(c[u>>2]|0)+20>>2]&511](u)|0)==-1){break}u=c[l>>2]|0;if((jd[c[(c[u>>2]|0)+20>>2]&511](u)|0)==-1){break}u=c[l>>2]|0;if((jd[c[(c[u>>2]|0)+20>>2]&511](u)|0)==-1){break}c[b>>2]=q+1;n=1}else if((q|0)!=1785737832)if((q|0)==1668246642){r=c[l>>2]|0;r=jd[c[(c[r>>2]|0)+20>>2]&511](r)|0;if((r|0)==-1){break}q=c[l>>2]|0;q=jd[c[(c[q>>2]|0)+20>>2]&511](q)|0;if((q|0)==-1){break}q=(q&128|0)==0?q:q|-256;u=c[l>>2]|0;if((jd[c[(c[u>>2]|0)+20>>2]&511](u)|0)==-1){break}if((((r&128|0)==0?r:r|-256)|0)!=1){q=c[h>>2]|0;if((q|0)==3){break}q=q+ -3|0;r=0;while(1){u=c[l>>2]|0;jd[c[(c[u>>2]|0)+20>>2]&511](u)|0;r=r+1|0;if(r>>>0<q>>>0){}else{break b}}}u=c[l>>2]|0;u=jd[c[(c[u>>2]|0)+20>>2]&511](u)|0;if((u|0)==-1){break}t=c[l>>2]|0;t=jd[c[(c[t>>2]|0)+20>>2]&511](t)|0;if((t|0)==-1){break}s=c[l>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){break}r=c[l>>2]|0;r=jd[c[(c[r>>2]|0)+20>>2]&511](r)|0;if((r|0)==-1){break}r=t<<16|u<<24|s<<8|r;if((r|0)==0|(r|0)==17){r=1;k=35}else if((r|0)==12){r=3;k=35}else{if(!((r|0)!=21&(r&-5|0)!=16)){r=2;k=35}}do{if((k|0)==35){k=0;if(!((q|0)>(p|0)|o^1)){o=1;break}c[d>>2]=r;p=q;o=1}}while(0);q=c[h>>2]|0;if((q|0)==7){break}q=q+ -7|0;r=0;while(1){u=c[l>>2]|0;jd[c[(c[u>>2]|0)+20>>2]&511](u)|0;r=r+1|0;if(r>>>0<q>>>0){}else{break}}}else{q=c[h>>2]|0;if((q|0)==0){break}else{r=0}while(1){u=c[l>>2]|0;jd[c[(c[u>>2]|0)+20>>2]&511](u)|0;r=r+1|0;if(r>>>0<q>>>0){}else{break}}}}while(0);if(!(SD(a,j,f,g)|0)){k=44;break}}if((k|0)==44){u=l;u=c[u>>2]|0;t=u;t=c[t>>2]|0;t=t+16|0;t=c[t>>2]|0;fd[t&511](u);i=m;return}if(n&o){u=l;u=c[u>>2]|0;t=u;t=c[t>>2]|0;t=t+16|0;t=c[t>>2]|0;fd[t&511](u);i=m;return}RD(a,b,d);u=l;u=c[u>>2]|0;t=u;t=c[t>>2]|0;t=t+16|0;t=c[t>>2]|0;fd[t&511](u);i=m;return}function RD(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;a=a+8|0;a:while(1){f=c[a>>2]|0;f=jd[c[(c[f>>2]|0)+20>>2]&511](f)|0;if((f|0)==-1){f=54;break}else if((f|0)!=255){continue}while(1){f=c[a>>2]|0;f=jd[c[(c[f>>2]|0)+20>>2]&511](f)|0;if((f|0)==0){continue a}else if((f|0)==-1){f=54;break a}else if((f|0)!=255){break}}if((f+ -48|0)>>>0<16){continue}if((f|0)==79|(f|0)==146|(f|0)==147|(f|0)==217){g=0}else{g=c[a>>2]|0;g=jd[c[(c[g>>2]|0)+20>>2]&511](g)|0;if((g|0)==-1){f=54;break}h=c[a>>2]|0;h=jd[c[(c[h>>2]|0)+20>>2]&511](h)|0;if((h|0)==-1){f=54;break}g=h|g<<8}if((f|0)==81){f=10;break}if(g>>>0<=2){continue}f=g+ -2|0;if((f|0)==0){continue}else{g=0}while(1){h=c[a>>2]|0;jd[c[(c[h>>2]|0)+20>>2]&511](h)|0;g=g+1|0;if(g>>>0<f>>>0){}else{continue a}}}if((f|0)==10){h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}h=c[a>>2]|0;if((jd[c[(c[h>>2]|0)+20>>2]&511](h)|0)==-1){i=e;return}g=c[a>>2]|0;g=jd[c[(c[g>>2]|0)+20>>2]&511](g)|0;if((g|0)==-1){i=e;return}f=c[a>>2]|0;f=jd[c[(c[f>>2]|0)+20>>2]&511](f)|0;if((f|0)==-1){i=e;return}a=c[a>>2]|0;a=jd[c[(c[a>>2]|0)+20>>2]&511](a)|0;if((a|0)==-1){i=e;return}f=f|g<<8;c[b>>2]=(a&127)+1;if((f|0)==4){c[d>>2]=3;i=e;return}else if((f|0)==1){c[d>>2]=1;i=e;return}else if((f|0)==3){c[d>>2]=2;i=e;return}else{i=e;return}}else if((f|0)==54){i=e;return}}function SD(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;g=i;f=i;i=i+8|0;h=a+8|0;m=c[h>>2]|0;m=jd[c[(c[m>>2]|0)+20>>2]&511](m)|0;if((m|0)==-1){o=0;i=g;return o|0}l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+20>>2]&511](l)|0;if((l|0)==-1){o=0;i=g;return o|0}k=c[h>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((k|0)==-1){o=0;i=g;return o|0}j=c[h>>2]|0;j=jd[c[(c[j>>2]|0)+20>>2]&511](j)|0;if((j|0)==-1){o=0;i=g;return o|0}k=l<<16|m<<24|k<<8|j;l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+20>>2]&511](l)|0;if((l|0)==-1){o=0;i=g;return o|0}m=c[h>>2]|0;m=jd[c[(c[m>>2]|0)+20>>2]&511](m)|0;if((m|0)==-1){o=0;i=g;return o|0}n=c[h>>2]|0;n=jd[c[(c[n>>2]|0)+20>>2]&511](n)|0;if((n|0)==-1){o=0;i=g;return o|0}j=c[h>>2]|0;j=jd[c[(c[j>>2]|0)+20>>2]&511](j)|0;if((j|0)==-1){o=0;i=g;return o|0}c[b>>2]=m<<16|l<<24|n<<8|j;if((k|0)==0){c[d>>2]=0;c[e>>2]=0;o=1;i=g;return o|0}else if((k|0)==1){k=c[h>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((k|0)==-1){o=0;i=g;return o|0}j=c[h>>2]|0;j=jd[c[(c[j>>2]|0)+20>>2]&511](j)|0;if((j|0)==-1){o=0;i=g;return o|0}b=c[h>>2]|0;b=jd[c[(c[b>>2]|0)+20>>2]&511](b)|0;if((b|0)==-1){o=0;i=g;return o|0}l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+20>>2]&511](l)|0;if((l|0)==-1){o=0;i=g;return o|0}m=c[h>>2]|0;m=jd[c[(c[m>>2]|0)+20>>2]&511](m)|0;if((m|0)==-1){o=0;i=g;return o|0}n=c[h>>2]|0;n=jd[c[(c[n>>2]|0)+20>>2]&511](n)|0;if((n|0)==-1){o=0;i=g;return o|0}o=c[h>>2]|0;o=jd[c[(c[o>>2]|0)+20>>2]&511](o)|0;if((o|0)==-1){o=0;i=g;return o|0}h=c[h>>2]|0;h=jd[c[(c[h>>2]|0)+20>>2]&511](h)|0;if((h|0)==-1){o=0;i=g;return o|0}h=n<<16|m<<24|o<<8|h;if((j<<16|k<<24|b<<8|l|0)==0){c[d>>2]=h;c[e>>2]=h+ -16;o=1;i=g;return o|0}else{Qe(jd[c[(c[a>>2]|0)+48>>2]&511](a)|0,185016,f);o=0;i=g;return o|0}}else{c[d>>2]=k;c[e>>2]=k+ -8;o=1;i=g;return o|0}return 0}function TD(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0;h=i;m=i;i=i+8|0;l=i;i=i+8|0;J=i;i=i+8|0;I=i;i=i+8|0;H=i;i=i+8|0;V=i;i=i+8|0;W=V;G=i;i=i+8|0;F=i;i=i+8|0;E=i;i=i+8|0;D=i;i=i+8|0;C=i;i=i+8|0;B=i;i=i+8|0;A=i;i=i+8|0;z=i;i=i+8|0;y=i;i=i+8|0;x=i;i=i+8|0;w=i;i=i+8|0;v=i;i=i+8|0;u=i;i=i+8|0;t=i;i=i+8|0;s=i;i=i+8|0;r=i;i=i+8|0;ja=i;i=i+8|0;ha=i;i=i+8|0;ga=i;i=i+8|0;Y=i;i=i+8|0;S=i;i=i+8|0;Q=i;i=i+8|0;P=i;i=i+8|0;O=i;i=i+8|0;N=i;i=i+8|0;M=i;i=i+8|0;L=i;i=i+8|0;R=i;i=i+8|0;k=b+8|0;X=b+136|0;K=b+140|0;Z=b+144|0;_=b+148|0;$=b+152|0;aa=b+156|0;ba=b+160|0;ca=b+164|0;g=b+168|0;ea=b+28|0;e=b+172|0;d=b+176|0;f=b+180|0;fa=b+12|0;U=c[p>>2]|0;la=0;ma=0;T=0;a:while(1){b:while(1){na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=10;break a}else if((na|0)!=255){continue}while(1){oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=10;break a}else if((oa|0)==0){continue b}else if((oa|0)!=255){break b}}}do{if((oa+ -48|0)>>>0<16){na=0}else{if((oa|0)==79|(oa|0)==146|(oa|0)==147|(oa|0)==217){na=0;break}na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=10;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=10;break a}na=pa|na<<8}}while(0);switch(oa|0){case 85:{na=na+ -2|0;if((na|0)==0){pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}else{oa=0}while(1){ra=c[k>>2]|0;oa=oa+1|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=215;break a}if(oa>>>0<na>>>0){}else{pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}}break};case 87:{na=na+ -2|0;if((na|0)==0){pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}else{oa=0}while(1){ra=c[k>>2]|0;oa=oa+1|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=218;break a}if(oa>>>0<na>>>0){}else{pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}}break};case 79:{pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a};case 82:{oa=c[(c[f>>2]|0)+48>>2]|0;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=81;break a}c[oa+16>>2]=na;oa=c[f>>2]|0;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=81;break a}c[oa>>2]=na;oa=(c[f>>2]|0)+4|0;pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=81;break a}na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=81;break a}c[oa>>2]=na|pa<<8;oa=c[f>>2]|0;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=81;break a}c[oa+8>>2]=na;oa=c[(c[f>>2]|0)+48>>2]|0;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=81;break a}c[oa+20>>2]=na;oa=c[(c[f>>2]|0)+48>>2]|0;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=81;break a}c[oa+24>>2]=na;oa=c[(c[f>>2]|0)+48>>2]|0;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=81;break a}c[oa+28>>2]=na;oa=c[(c[f>>2]|0)+48>>2]|0;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=81;break a}c[oa+32>>2]=na;oa=c[(c[f>>2]|0)+48>>2]|0;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=81;break a}c[oa+36>>2]=na;ra=(c[(c[f>>2]|0)+48>>2]|0)+24|0;c[ra>>2]=(c[ra>>2]|0)+2;ra=(c[(c[f>>2]|0)+48>>2]|0)+28|0;c[ra>>2]=(c[ra>>2]|0)+2;if((da(c[d>>2]|0,c[e>>2]|0)|0)!=0){pa=0;do{if((pa|0)!=0){ra=c[f>>2]|0;c[ra+(pa*52|0)>>2]=c[ra>>2];ra=c[f>>2]|0;c[ra+(pa*52|0)+4>>2]=c[ra+4>>2];ra=c[f>>2]|0;c[ra+(pa*52|0)+8>>2]=c[ra+8>>2]}if((c[g>>2]|0)!=0){oa=0;do{if((oa|pa|0)!=0){ra=c[f>>2]|0;c[(c[ra+(pa*52|0)+48>>2]|0)+(oa*88|0)+16>>2]=c[(c[ra+48>>2]|0)+16>>2];ra=c[f>>2]|0;c[(c[ra+(pa*52|0)+48>>2]|0)+(oa*88|0)+20>>2]=c[(c[ra+48>>2]|0)+20>>2];ra=c[f>>2]|0;c[(c[ra+(pa*52|0)+48>>2]|0)+(oa*88|0)+24>>2]=c[(c[ra+48>>2]|0)+24>>2];ra=c[f>>2]|0;c[(c[ra+(pa*52|0)+48>>2]|0)+(oa*88|0)+28>>2]=c[(c[ra+48>>2]|0)+28>>2];ra=c[f>>2]|0;c[(c[ra+(pa*52|0)+48>>2]|0)+(oa*88|0)+32>>2]=c[(c[ra+48>>2]|0)+32>>2];ra=c[f>>2]|0;c[(c[ra+(pa*52|0)+48>>2]|0)+(oa*88|0)+36>>2]=c[(c[ra+48>>2]|0)+36>>2]}qa=ye((c[(c[(c[f>>2]|0)+(pa*52|0)+48>>2]|0)+(oa*88|0)+20>>2]|0)+1|0,76)|0;c[(c[(c[f>>2]|0)+(pa*52|0)+48>>2]|0)+(oa*88|0)+84>>2]=qa;qa=c[(c[f>>2]|0)+(pa*52|0)+48>>2]|0;na=0;do{c[(c[qa+(oa*88|0)+84>>2]|0)+(na*76|0)+72>>2]=0;na=na+1|0;qa=c[(c[f>>2]|0)+(pa*52|0)+48>>2]|0;}while(na>>>0<=(c[qa+(oa*88|0)+20>>2]|0)>>>0);oa=oa+1|0;}while(oa>>>0<(c[g>>2]|0)>>>0)}pa=pa+1|0;}while(pa>>>0<(da(c[d>>2]|0,c[e>>2]|0)|0)>>>0)}pa=c[(c[f>>2]|0)+48>>2]|0;na=0;do{if((c[pa+16>>2]&1|0)==0){c[(c[pa+84>>2]|0)+(na*76|0)>>2]=15;c[(c[(c[(c[f>>2]|0)+48>>2]|0)+84>>2]|0)+(na*76|0)+4>>2]=15}else{oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=95;break a}c[(c[(c[(c[f>>2]|0)+48>>2]|0)+84>>2]|0)+(na*76|0)>>2]=oa&15;c[(c[(c[(c[f>>2]|0)+48>>2]|0)+84>>2]|0)+(na*76|0)+4>>2]=oa>>>4&15}na=na+1|0;oa=c[f>>2]|0;pa=c[oa+48>>2]|0;}while(na>>>0<=(c[pa+20>>2]|0)>>>0);qa=c[e>>2]|0;pa=c[d>>2]|0;if((da(pa,qa)|0)==0){qa=T;ra=ma;la=1;T=qa;ma=ra;continue a}ra=c[g>>2]|0;na=ra;la=0;while(1){if((ra|0)==0){ra=0}else{pa=0;while(1){if((pa|la|0)==0){ra=na}else{na=c[oa+(la*52|0)+48>>2]|0;qa=0;do{c[(c[na+(pa*88|0)+84>>2]|0)+(qa*76|0)>>2]=c[(c[(c[oa+48>>2]|0)+84>>2]|0)+(qa*76|0)>>2];ra=c[f>>2]|0;c[(c[(c[ra+(la*52|0)+48>>2]|0)+(pa*88|0)+84>>2]|0)+(qa*76|0)+4>>2]=c[(c[(c[ra+48>>2]|0)+84>>2]|0)+(qa*76|0)+4>>2];qa=qa+1|0;oa=c[f>>2]|0;na=c[oa+(la*52|0)+48>>2]|0;}while(qa>>>0<=(c[na+(pa*88|0)+20>>2]|0)>>>0);ra=c[g>>2]|0}pa=pa+1|0;if(pa>>>0<ra>>>0){na=ra}else{break}}na=ra;pa=c[d>>2]|0;qa=c[e>>2]|0}la=la+1|0;if(la>>>0>=(da(pa,qa)|0)>>>0){qa=T;ra=ma;la=1;T=qa;ma=ra;continue a}}break};case 92:{oa=c[(c[f>>2]|0)+48>>2]|0;pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=144;break a}c[oa+40>>2]=pa;pa=c[(c[f>>2]|0)+48>>2]|0;oa=c[pa+40>>2]&31;do{if((oa|0)==0){c[pa+48>>2]=na+ -3;oa=c[(c[f>>2]|0)+48>>2]|0;oa=Ce(c[oa+44>>2]|0,c[oa+48>>2]|0,4)|0;c[(c[(c[f>>2]|0)+48>>2]|0)+44>>2]=oa;oa=c[(c[f>>2]|0)+48>>2]|0;if((c[oa+48>>2]|0)==0){break}else{na=0}do{pa=c[oa+44>>2]|0;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=148;break a}c[pa+(na<<2)>>2]=oa;na=na+1|0;oa=c[(c[f>>2]|0)+48>>2]|0;}while(na>>>0<(c[oa+48>>2]|0)>>>0)}else if((oa|0)==1){c[pa+48>>2]=1;oa=c[(c[f>>2]|0)+48>>2]|0;oa=Ce(c[oa+44>>2]|0,c[oa+48>>2]|0,4)|0;c[(c[(c[f>>2]|0)+48>>2]|0)+44>>2]=oa;oa=c[(c[(c[f>>2]|0)+48>>2]|0)+44>>2]|0;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=153;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=153;break a}c[oa>>2]=pa|na<<8}else if((oa|0)==2){c[pa+48>>2]=(na+ -3|0)>>>1;oa=c[(c[f>>2]|0)+48>>2]|0;oa=Ce(c[oa+44>>2]|0,c[oa+48>>2]|0,4)|0;c[(c[(c[f>>2]|0)+48>>2]|0)+44>>2]=oa;oa=c[(c[f>>2]|0)+48>>2]|0;if((c[oa+48>>2]|0)==0){break}else{na=0}do{pa=(c[oa+44>>2]|0)+(na<<2)|0;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=157;break a}qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=157;break a}c[pa>>2]=qa|oa<<8;na=na+1|0;oa=c[(c[f>>2]|0)+48>>2]|0;}while(na>>>0<(c[oa+48>>2]|0)>>>0)}else{o=159;break a}}while(0);pa=c[e>>2]|0;oa=c[d>>2]|0;if((da(oa,pa)|0)==0){qa=T;ra=la;ma=1;T=qa;la=ra;continue a}qa=c[g>>2]|0;na=qa;ma=0;while(1){if((qa|0)==0){qa=0}else{oa=0;while(1){if((oa|ma|0)==0){qa=na}else{pa=c[f>>2]|0;c[(c[pa+(ma*52|0)+48>>2]|0)+(oa*88|0)+40>>2]=c[(c[pa+48>>2]|0)+40>>2];pa=c[f>>2]|0;c[(c[pa+(ma*52|0)+48>>2]|0)+(oa*88|0)+48>>2]=c[(c[pa+48>>2]|0)+48>>2];pa=c[f>>2]|0;pa=Ce(c[(c[pa+(ma*52|0)+48>>2]|0)+(oa*88|0)+44>>2]|0,c[(c[pa+48>>2]|0)+48>>2]|0,4)|0;c[(c[(c[f>>2]|0)+(ma*52|0)+48>>2]|0)+(oa*88|0)+44>>2]=pa;pa=c[f>>2]|0;na=c[pa+48>>2]|0;if((c[na+48>>2]|0)!=0){qa=0;do{c[(c[(c[pa+(ma*52|0)+48>>2]|0)+(oa*88|0)+44>>2]|0)+(qa<<2)>>2]=c[(c[na+44>>2]|0)+(qa<<2)>>2];qa=qa+1|0;pa=c[f>>2]|0;na=c[pa+48>>2]|0;}while(qa>>>0<(c[na+48>>2]|0)>>>0)}qa=c[g>>2]|0}oa=oa+1|0;if(oa>>>0<qa>>>0){na=qa}else{break}}na=qa;oa=c[d>>2]|0;pa=c[e>>2]|0}ma=ma+1|0;if(ma>>>0>=(da(oa,pa)|0)>>>0){qa=T;ra=la;ma=1;T=qa;la=ra;continue a}}break};case 81:{ra=c[k>>2]|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=52;break a}ra=c[k>>2]|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=52;break a}na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=52;break a}oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=52;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=52;break a}qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=52;break a}c[X>>2]=oa<<16|na<<24|pa<<8|qa;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=52;break a}oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=52;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=52;break a}qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=52;break a}c[K>>2]=oa<<16|na<<24|pa<<8|qa;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=52;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=52;break a}qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=52;break a}na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=52;break a}c[Z>>2]=pa<<16|oa<<24|qa<<8|na;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=52;break a}oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=52;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=52;break a}qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=52;break a}c[_>>2]=oa<<16|na<<24|pa<<8|qa;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=52;break a}oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=52;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=52;break a}qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=52;break a}c[$>>2]=oa<<16|na<<24|pa<<8|qa;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=52;break a}oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=52;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=52;break a}qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=52;break a}c[aa>>2]=oa<<16|na<<24|pa<<8|qa;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=52;break a}oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=52;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=52;break a}qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=52;break a}c[ba>>2]=oa<<16|na<<24|pa<<8|qa;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=52;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=52;break a}qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=52;break a}na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=52;break a}c[ca>>2]=pa<<16|oa<<24|qa<<8|na;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=52;break a}na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=52;break a}na=na|oa<<8;c[g>>2]=na;if((a[ea]&1)!=0){if((na|0)!=(c[fa>>2]|0)){o=55;break a}}oa=c[$>>2]|0;oa=(((c[X>>2]|0)+ -1-(c[ba>>2]|0)+oa|0)>>>0)/(oa>>>0)|0;c[e>>2]=oa;na=c[aa>>2]|0;na=(((c[K>>2]|0)+ -1-(c[ca>>2]|0)+na|0)>>>0)/(na>>>0)|0;c[d>>2]=na;if((oa|0)==0|(na|0)==0){o=58;break a}if(oa>>>0>=(2147483647/(na>>>0)|0)>>>0){o=58;break a}c[f>>2]=ye(da(oa,na)|0,52)|0;ra=(da(c[d>>2]|0,c[e>>2]|0)|0)==0;oa=c[g>>2]|0;if(!ra){na=0;do{ra=ye(oa,88)|0;c[(c[f>>2]|0)+(na*52|0)+48>>2]=ra;if((c[g>>2]|0)==0){oa=0}else{pa=0;while(1){c[(c[(c[f>>2]|0)+(na*52|0)+48>>2]|0)+(pa*88|0)+44>>2]=0;c[(c[(c[f>>2]|0)+(na*52|0)+48>>2]|0)+(pa*88|0)+76>>2]=0;c[(c[(c[f>>2]|0)+(na*52|0)+48>>2]|0)+(pa*88|0)+80>>2]=0;c[(c[(c[f>>2]|0)+(na*52|0)+48>>2]|0)+(pa*88|0)+84>>2]=0;pa=pa+1|0;oa=c[g>>2]|0;if(pa>>>0<oa>>>0){}else{break}}}na=na+1|0;}while(na>>>0<(da(c[d>>2]|0,c[e>>2]|0)|0)>>>0)}if((oa|0)==0){qa=ma;ra=la;T=1;ma=qa;la=ra;continue a}else{na=0}while(1){pa=c[(c[f>>2]|0)+48>>2]|0;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=67;break a}c[pa+(na*88|0)+4>>2]=oa;pa=c[(c[f>>2]|0)+48>>2]|0;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=67;break a}c[pa+(na*88|0)+8>>2]=oa;pa=c[(c[f>>2]|0)+48>>2]|0;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=67;break a}c[pa+(na*88|0)+12>>2]=oa;ra=c[(c[f>>2]|0)+48>>2]|0;a[ra+(na*88|0)|0]=(c[ra+(na*88|0)+4>>2]|0)>>>7&1;ra=(c[(c[f>>2]|0)+48>>2]|0)+(na*88|0)+4|0;c[ra>>2]=(c[ra>>2]&127)+1;if((da(c[d>>2]|0,c[e>>2]|0)|0)>>>0>1){oa=1;do{ra=c[f>>2]|0;$W((c[ra+(oa*52|0)+48>>2]|0)+(na*88|0)|0,(c[ra+48>>2]|0)+(na*88|0)|0,88)|0;oa=oa+1|0;}while(oa>>>0<(da(c[d>>2]|0,c[e>>2]|0)|0)>>>0)}na=na+1|0;if(na>>>0>=(c[g>>2]|0)>>>0){qa=ma;ra=la;T=1;ma=qa;la=ra;continue a}}break};case 99:{na=na+ -2|0;if((na|0)==0){pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}else{oa=0}while(1){ra=c[k>>2]|0;oa=oa+1|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=221;break a}if(oa>>>0<na>>>0){}else{pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}}break};case 100:{na=na+ -2|0;if((na|0)==0){pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}else{oa=0}while(1){ra=c[k>>2]|0;oa=oa+1|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=224;break a}if(oa>>>0<na>>>0){}else{pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}}break};case 93:{if(!ma){o=171;break a}if((c[g>>2]|0)>>>0>256){oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=180;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=180;break a}qa=c[g>>2]|0;if(qa>>>0<257){o=176}else{q=qa;ia=pa|oa<<8}}else{o=176}if((o|0)==176){o=0;ia=c[k>>2]|0;ia=jd[c[(c[ia>>2]|0)+20>>2]&511](ia)|0;if((ia|0)==-1){o=180;break a}q=c[g>>2]|0}if(ia>>>0>=q>>>0){o=180;break a}pa=c[(c[f>>2]|0)+48>>2]|0;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=180;break a}c[pa+(ia*88|0)+40>>2]=oa;oa=c[(c[f>>2]|0)+48>>2]|0;pa=c[oa+(ia*88|0)+40>>2]&31;do{if((pa|0)==0){c[oa+(ia*88|0)+48>>2]=na-((c[g>>2]|0)>>>0>256?5:4);oa=c[(c[f>>2]|0)+48>>2]|0;oa=Ce(c[oa+(ia*88|0)+44>>2]|0,c[oa+(ia*88|0)+48>>2]|0,4)|0;c[(c[(c[f>>2]|0)+48>>2]|0)+(ia*88|0)+44>>2]=oa;oa=c[(c[f>>2]|0)+48>>2]|0;if((c[oa+(ia*88|0)+48>>2]|0)==0){break}else{na=0}do{pa=c[oa+(ia*88|0)+44>>2]|0;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=184;break a}c[pa+(na<<2)>>2]=oa;na=na+1|0;oa=c[(c[f>>2]|0)+48>>2]|0;}while(na>>>0<(c[oa+(ia*88|0)+48>>2]|0)>>>0)}else if((pa|0)==1){c[oa+(ia*88|0)+48>>2]=1;oa=c[(c[f>>2]|0)+48>>2]|0;oa=Ce(c[oa+(ia*88|0)+44>>2]|0,c[oa+(ia*88|0)+48>>2]|0,4)|0;c[(c[(c[f>>2]|0)+48>>2]|0)+(ia*88|0)+44>>2]=oa;oa=c[(c[(c[f>>2]|0)+48>>2]|0)+(ia*88|0)+44>>2]|0;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=189;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=189;break a}c[oa>>2]=pa|na<<8}else if((pa|0)==2){c[oa+(ia*88|0)+48>>2]=(na-((c[g>>2]|0)>>>0>256?5:4)|0)>>>1;oa=c[(c[f>>2]|0)+48>>2]|0;oa=Ce(c[oa+(ia*88|0)+44>>2]|0,c[oa+(ia*88|0)+48>>2]|0,4)|0;c[(c[(c[f>>2]|0)+48>>2]|0)+(ia*88|0)+44>>2]=oa;oa=c[(c[f>>2]|0)+48>>2]|0;if((c[oa+(ia*88|0)+48>>2]|0)==0){break}else{na=0}do{pa=(c[oa+(ia*88|0)+44>>2]|0)+(na<<2)|0;qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=193;break a}oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=193;break a}c[pa>>2]=oa|qa<<8;na=na+1|0;oa=c[(c[f>>2]|0)+48>>2]|0;}while(na>>>0<(c[oa+(ia*88|0)+48>>2]|0)>>>0)}else{o=195;break a}}while(0);if((da(c[d>>2]|0,c[e>>2]|0)|0)>>>0<=1){qa=T;ra=la;ma=1;T=qa;la=ra;continue a}pa=c[f>>2]|0;ma=1;while(1){c[(c[pa+(ma*52|0)+48>>2]|0)+(ia*88|0)+40>>2]=c[(c[pa+48>>2]|0)+(ia*88|0)+40>>2];pa=c[f>>2]|0;c[(c[pa+(ma*52|0)+48>>2]|0)+(ia*88|0)+48>>2]=c[(c[pa+48>>2]|0)+(ia*88|0)+48>>2];pa=c[f>>2]|0;pa=Ce(c[(c[pa+(ma*52|0)+48>>2]|0)+(ia*88|0)+44>>2]|0,c[(c[pa+48>>2]|0)+(ia*88|0)+48>>2]|0,4)|0;c[(c[(c[f>>2]|0)+(ma*52|0)+48>>2]|0)+(ia*88|0)+44>>2]=pa;pa=c[f>>2]|0;oa=c[pa+48>>2]|0;if((c[oa+(ia*88|0)+48>>2]|0)!=0){na=0;while(1){c[(c[(c[pa+(ma*52|0)+48>>2]|0)+(ia*88|0)+44>>2]|0)+(na<<2)>>2]=c[(c[oa+(ia*88|0)+44>>2]|0)+(na<<2)>>2];na=na+1|0;pa=c[f>>2]|0;oa=c[pa+48>>2]|0;if(na>>>0<(c[oa+(ia*88|0)+48>>2]|0)>>>0){}else{break}}}ma=ma+1|0;if(ma>>>0>=(da(c[d>>2]|0,c[e>>2]|0)|0)>>>0){qa=T;ra=la;ma=1;T=qa;la=ra;continue a}}break};case 94:{Rb(183600,4,1,U|0)|0;na=na+ -2|0;if((na|0)==0){pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}else{oa=0}while(1){ra=c[k>>2]|0;oa=oa+1|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=204;break a}if(oa>>>0<na>>>0){}else{pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}}break};case 95:{Rb(183640,4,1,U|0)|0;na=na+ -2|0;if((na|0)==0){pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}else{oa=0}while(1){ra=c[k>>2]|0;oa=oa+1|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=208;break a}if(oa>>>0<na>>>0){}else{pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}}break};case 96:{Rb(183648,4,1,U|0)|0;na=na+ -2|0;if((na|0)==0){pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}else{oa=0}while(1){ra=c[k>>2]|0;oa=oa+1|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=212;break a}if(oa>>>0<na>>>0){}else{pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}}break};case 83:{if(!la){o=110;break a}if((c[g>>2]|0)>>>0>256){oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=124;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=124;break a}na=c[g>>2]|0;if(na>>>0<257){o=115}else{n=na;ka=pa|oa<<8}}else{o=115}if((o|0)==115){o=0;ka=c[k>>2]|0;ka=jd[c[(c[ka>>2]|0)+20>>2]&511](ka)|0;if((ka|0)==-1){o=124;break a}n=c[g>>2]|0}if(ka>>>0>=n>>>0){o=124;break a}na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=124;break a}oa=c[(c[f>>2]|0)+48>>2]|0;pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=124;break a}c[oa+(ka*88|0)+20>>2]=pa;oa=c[(c[f>>2]|0)+48>>2]|0;pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=124;break a}c[oa+(ka*88|0)+24>>2]=pa;oa=c[(c[f>>2]|0)+48>>2]|0;pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=124;break a}c[oa+(ka*88|0)+28>>2]=pa;pa=c[(c[f>>2]|0)+48>>2]|0;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=124;break a}c[pa+(ka*88|0)+32>>2]=oa;oa=c[(c[f>>2]|0)+48>>2]|0;pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=124;break a}c[oa+(ka*88|0)+36>>2]=pa;ra=(c[(c[f>>2]|0)+48>>2]|0)+(ka*88|0)+16|0;c[ra>>2]=c[ra>>2]&-2|na&1;ra=(c[(c[f>>2]|0)+48>>2]|0)+(ka*88|0)+24|0;c[ra>>2]=(c[ra>>2]|0)+2;ra=(c[(c[f>>2]|0)+48>>2]|0)+(ka*88|0)+28|0;c[ra>>2]=(c[ra>>2]|0)+2;if((da(c[d>>2]|0,c[e>>2]|0)|0)==0){na=c[f>>2]|0}else{qa=0;do{if((qa|0)!=0){ra=c[f>>2]|0;c[(c[ra+(qa*52|0)+48>>2]|0)+(ka*88|0)+16>>2]=c[(c[ra+48>>2]|0)+(ka*88|0)+16>>2];ra=c[f>>2]|0;c[(c[ra+(qa*52|0)+48>>2]|0)+(ka*88|0)+20>>2]=c[(c[ra+48>>2]|0)+(ka*88|0)+20>>2];ra=c[f>>2]|0;c[(c[ra+(qa*52|0)+48>>2]|0)+(ka*88|0)+24>>2]=c[(c[ra+48>>2]|0)+(ka*88|0)+24>>2];ra=c[f>>2]|0;c[(c[ra+(qa*52|0)+48>>2]|0)+(ka*88|0)+28>>2]=c[(c[ra+48>>2]|0)+(ka*88|0)+28>>2];ra=c[f>>2]|0;c[(c[ra+(qa*52|0)+48>>2]|0)+(ka*88|0)+32>>2]=c[(c[ra+48>>2]|0)+(ka*88|0)+32>>2];ra=c[f>>2]|0;c[(c[ra+(qa*52|0)+48>>2]|0)+(ka*88|0)+36>>2]=c[(c[ra+48>>2]|0)+(ka*88|0)+36>>2]}oa=c[(c[f>>2]|0)+(qa*52|0)+48>>2]|0;oa=Ce(c[oa+(ka*88|0)+84>>2]|0,(c[oa+(ka*88|0)+20>>2]|0)+1|0,76)|0;c[(c[(c[f>>2]|0)+(qa*52|0)+48>>2]|0)+(ka*88|0)+84>>2]=oa;oa=c[(c[f>>2]|0)+(qa*52|0)+48>>2]|0;pa=0;do{c[(c[oa+(ka*88|0)+84>>2]|0)+(pa*76|0)+72>>2]=0;pa=pa+1|0;na=c[f>>2]|0;oa=c[na+(qa*52|0)+48>>2]|0;}while(pa>>>0<=(c[oa+(ka*88|0)+20>>2]|0)>>>0);qa=qa+1|0;}while(qa>>>0<(da(c[d>>2]|0,c[e>>2]|0)|0)>>>0)}oa=c[na+48>>2]|0;na=0;do{if((c[oa+(ka*88|0)+16>>2]&1|0)==0){c[(c[oa+(ka*88|0)+84>>2]|0)+(na*76|0)>>2]=15;c[(c[(c[(c[f>>2]|0)+48>>2]|0)+(ka*88|0)+84>>2]|0)+(na*76|0)+4>>2]=15}else{oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=135;break a}c[(c[(c[(c[f>>2]|0)+48>>2]|0)+(ka*88|0)+84>>2]|0)+(na*76|0)>>2]=oa&15;c[(c[(c[(c[f>>2]|0)+48>>2]|0)+(ka*88|0)+84>>2]|0)+(na*76|0)+4>>2]=oa>>>4&15}na=na+1|0;pa=c[f>>2]|0;oa=c[pa+48>>2]|0;}while(na>>>0<=(c[oa+(ka*88|0)+20>>2]|0)>>>0);if((da(c[d>>2]|0,c[e>>2]|0)|0)>>>0>1){la=pa;oa=1}else{qa=T;ra=ma;la=1;T=qa;ma=ra;continue a}while(1){na=c[la+(oa*52|0)+48>>2]|0;pa=0;do{c[(c[na+(ka*88|0)+84>>2]|0)+(pa*76|0)>>2]=c[(c[(c[la+48>>2]|0)+(ka*88|0)+84>>2]|0)+(pa*76|0)>>2];ra=c[f>>2]|0;c[(c[(c[ra+(oa*52|0)+48>>2]|0)+(ka*88|0)+84>>2]|0)+(pa*76|0)+4>>2]=c[(c[(c[ra+48>>2]|0)+(ka*88|0)+84>>2]|0)+(pa*76|0)+4>>2];pa=pa+1|0;la=c[f>>2]|0;na=c[la+(oa*52|0)+48>>2]|0;}while(pa>>>0<=(c[na+(ka*88|0)+20>>2]|0)>>>0);oa=oa+1|0;if(oa>>>0>=(da(c[d>>2]|0,c[e>>2]|0)|0)>>>0){qa=T;ra=ma;la=1;T=qa;ma=ra;continue a}}break};case 144:{o=225;break a};default:{ra=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0;c[V>>2]=oa;Qe(ra,183784,W);na=na+ -2|0;if((na|0)==0){pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}else{oa=0}while(1){ra=c[k>>2]|0;oa=oa+1|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)!=-1&oa>>>0<na>>>0){}else{pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}}}}}if((o|0)==10){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183208,R);ra=0;i=h;return ra|0}else if((o|0)==52){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183232,L);ra=0;i=h;return ra|0}else if((o|0)==55){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183264,M);ra=0;i=h;return ra|0}else if((o|0)==58){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183328,N);ra=0;i=h;return ra|0}else if((o|0)==67){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183232,O);ra=0;i=h;return ra|0}else if((o|0)==81){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183376,P);ra=0;i=h;return ra|0}else if((o|0)==95){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183376,Q);ra=0;i=h;return ra|0}else if((o|0)==110){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183408,S);ra=0;i=h;return ra|0}else if((o|0)==124){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183456,Y);ra=0;i=h;return ra|0}else if((o|0)==135){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183376,ga);ra=0;i=h;return ra|0}else if((o|0)==144){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183488,ha);ra=0;i=h;return ra|0}else if((o|0)==148){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183488,ja);ra=0;i=h;return ra|0}else if((o|0)==153){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183488,r);ra=0;i=h;return ra|0}else if((o|0)==157){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183488,s);ra=0;i=h;return ra|0}else if((o|0)==159){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183488,t);ra=0;i=h;return ra|0}else if((o|0)==171){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183520,u);ra=0;i=h;return ra|0}else if((o|0)==180){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183568,v);ra=0;i=h;return ra|0}else if((o|0)==184){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183568,w);ra=0;i=h;return ra|0}else if((o|0)==189){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183568,x);ra=0;i=h;return ra|0}else if((o|0)==193){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183488,y);ra=0;i=h;return ra|0}else if((o|0)==195){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183568,z);ra=0;i=h;return ra|0}else if((o|0)==204){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183608,A);ra=0;i=h;return ra|0}else if((o|0)==208){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183608,B);ra=0;i=h;return ra|0}else if((o|0)==212){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183608,C);ra=0;i=h;return ra|0}else if((o|0)==215){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183656,D);ra=0;i=h;return ra|0}else if((o|0)==218){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183688,E);ra=0;i=h;return ra|0}else if((o|0)==221){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183720,F);ra=0;i=h;return ra|0}else if((o|0)==224){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183752,G);ra=0;i=h;return ra|0}else if((o|0)==225){if(!T){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183832,H);ra=0;i=h;return ra|0}if(!la){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183880,I);ra=0;i=h;return ra|0}if(!ma){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183928,J);ra=0;i=h;return ra|0}c:while(1){if(!(VD(b)|0)){j=0;o=249;break}d:while(1){n=c[k>>2]|0;n=jd[c[(c[n>>2]|0)+20>>2]&511](n)|0;if((n|0)==-1){o=241;break c}else if((n|0)!=255){continue}while(1){n=c[k>>2]|0;n=jd[c[(c[n>>2]|0)+20>>2]&511](n)|0;if((n|0)==-1){o=241;break c}else if((n|0)==0){continue d}else if((n|0)!=255){break d}}}if((n+ -48|0)>>>0>=16){if((n|0)==217){o=238;break}else if((n|0)==147|(n|0)==146|(n|0)==79){o=243;break}ra=c[k>>2]|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=241;break}ra=c[k>>2]|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=241;break}}if((n|0)==217){o=238;break}else if((n|0)!=144){o=243;break}}if((o|0)==238){if((da(c[d>>2]|0,c[e>>2]|0)|0)==0){ra=1;i=h;return ra|0}else{k=0}while(1){l=c[f>>2]|0;j=l+(k*52|0)|0;if((c[g>>2]|0)!=0){l=l+(k*52|0)+48|0;m=0;do{WD(b,(c[l>>2]|0)+(m*88|0)|0);m=m+1|0;}while(m>>>0<(c[g>>2]|0)>>>0)}k=k+1|0;if(!(XD(b,j)|0)){j=0;o=249;break}if(k>>>0>=(da(c[d>>2]|0,c[e>>2]|0)|0)>>>0){j=1;o=249;break}}if((o|0)==249){i=h;return j|0}}else if((o|0)==241){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183208,l);ra=0;i=h;return ra|0}else if((o|0)==243){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183976,m);ra=0;i=h;return ra|0}else if((o|0)==249){i=h;return j|0}}return 0}function UD(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;e=i;g=i;i=i+8|0;j=b+8|0;h=c[j>>2]|0;h=jd[c[(c[h>>2]|0)+20>>2]&511](h)|0;a:do{if((h|0)!=-1){f=c[j>>2]|0;f=jd[c[(c[f>>2]|0)+20>>2]&511](f)|0;if((f|0)==-1){break}f=(f&128|0)==0?f:f|-256;J=c[j>>2]|0;if((jd[c[(c[J>>2]|0)+20>>2]&511](J)|0)==-1){break}if((h|0)==1){h=c[j>>2]|0;h=jd[c[(c[h>>2]|0)+20>>2]&511](h)|0;if((h|0)==-1){break}k=c[j>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((k|0)==-1){break}l=c[j>>2]|0;l=jd[c[(c[l>>2]|0)+20>>2]&511](l)|0;if((l|0)==-1){break}m=c[j>>2]|0;m=jd[c[(c[m>>2]|0)+20>>2]&511](m)|0;if((m|0)==-1){break}h=k<<16|h<<24|l<<8|m;b:do{switch(h|0){case 23:case 22:case 21:case 20:case 24:case 18:case 17:case 16:case 13:case 12:case 11:case 9:case 4:case 3:case 1:case 0:{g=0;j=0;z=0;v=0;r=0;n=0;l=0;break};case 14:{if((d|0)==7){g=4470064;j=96;z=255;v=128;r=255;n=0;l=100;break b}else if((d|0)!=35){break a}m=c[j>>2]|0;m=jd[c[(c[m>>2]|0)+20>>2]&511](m)|0;if((m|0)==-1){break a}l=c[j>>2]|0;l=jd[c[(c[l>>2]|0)+20>>2]&511](l)|0;if((l|0)==-1){break a}k=c[j>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((k|0)==-1){break a}d=c[j>>2]|0;d=jd[c[(c[d>>2]|0)+20>>2]&511](d)|0;if((d|0)==-1){break a}p=c[j>>2]|0;p=jd[c[(c[p>>2]|0)+20>>2]&511](p)|0;if((p|0)==-1){break a}n=c[j>>2]|0;n=jd[c[(c[n>>2]|0)+20>>2]&511](n)|0;if((n|0)==-1){break a}q=c[j>>2]|0;q=jd[c[(c[q>>2]|0)+20>>2]&511](q)|0;if((q|0)==-1){break a}o=c[j>>2]|0;o=jd[c[(c[o>>2]|0)+20>>2]&511](o)|0;if((o|0)==-1){break a}r=c[j>>2]|0;r=jd[c[(c[r>>2]|0)+20>>2]&511](r)|0;if((r|0)==-1){break a}u=c[j>>2]|0;u=jd[c[(c[u>>2]|0)+20>>2]&511](u)|0;if((u|0)==-1){break a}t=c[j>>2]|0;t=jd[c[(c[t>>2]|0)+20>>2]&511](t)|0;if((t|0)==-1){break a}s=c[j>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){break a}w=c[j>>2]|0;w=jd[c[(c[w>>2]|0)+20>>2]&511](w)|0;if((w|0)==-1){break a}v=c[j>>2]|0;v=jd[c[(c[v>>2]|0)+20>>2]&511](v)|0;if((v|0)==-1){break a}y=c[j>>2]|0;y=jd[c[(c[y>>2]|0)+20>>2]&511](y)|0;if((y|0)==-1){break a}x=c[j>>2]|0;x=jd[c[(c[x>>2]|0)+20>>2]&511](x)|0;if((x|0)==-1){break a}C=c[j>>2]|0;C=jd[c[(c[C>>2]|0)+20>>2]&511](C)|0;if((C|0)==-1){break a}B=c[j>>2]|0;B=jd[c[(c[B>>2]|0)+20>>2]&511](B)|0;if((B|0)==-1){break a}A=c[j>>2]|0;A=jd[c[(c[A>>2]|0)+20>>2]&511](A)|0;if((A|0)==-1){break a}z=c[j>>2]|0;z=jd[c[(c[z>>2]|0)+20>>2]&511](z)|0;if((z|0)==-1){break a}G=c[j>>2]|0;G=jd[c[(c[G>>2]|0)+20>>2]&511](G)|0;if((G|0)==-1){break a}D=c[j>>2]|0;D=jd[c[(c[D>>2]|0)+20>>2]&511](D)|0;if((D|0)==-1){break a}F=c[j>>2]|0;F=jd[c[(c[F>>2]|0)+20>>2]&511](F)|0;if((F|0)==-1){break a}E=c[j>>2]|0;E=jd[c[(c[E>>2]|0)+20>>2]&511](E)|0;if((E|0)==-1){break a}H=c[j>>2]|0;H=jd[c[(c[H>>2]|0)+20>>2]&511](H)|0;if((H|0)==-1){break a}I=c[j>>2]|0;I=jd[c[(c[I>>2]|0)+20>>2]&511](I)|0;if((I|0)==-1){break a}J=c[j>>2]|0;J=jd[c[(c[J>>2]|0)+20>>2]&511](J)|0;if((J|0)==-1){break a}j=c[j>>2]|0;j=jd[c[(c[j>>2]|0)+20>>2]&511](j)|0;if((j|0)==-1){break a}g=I<<16|H<<24|J<<8|j;j=D<<16|G<<24|F<<8|E;z=B<<16|C<<24|A<<8|z;v=v<<16|w<<24|y<<8|x;r=u<<16|r<<24|t<<8|s;n=n<<16|p<<24|q<<8|o;l=l<<16|m<<24|k<<8|d;break};default:{break a}}}while(0);k=b+72|0;d=b+36|0;do{if((a[k]&1)!=0){if((f|0)>(c[d>>2]|0)){break}else{b=1}i=e;return b|0}}while(0);c[b+32>>2]=1;c[d>>2]=f;c[b+40>>2]=h;c[b+44>>2]=l;c[b+48>>2]=n;c[b+52>>2]=r;c[b+56>>2]=v;c[b+60>>2]=z;c[b+64>>2]=j;c[b+68>>2]=g;a[k]=1;J=1;i=e;return J|0}else if((h|0)==4|(h|0)==3|(h|0)==2){f=d+ -3|0;if((f|0)==0){J=1;i=e;return J|0}else{h=0}while(1){J=c[j>>2]|0;h=h+1|0;if((jd[c[(c[J>>2]|0)+20>>2]&511](J)|0)==-1){break a}if(h>>>0<f>>>0){}else{b=1;break}}i=e;return b|0}else{J=1;i=e;return J|0}}}while(0);Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183184,g);J=0;i=e;return J|0}function VD(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;f=i;F=i;i=i+8|0;G=F;C=i;i=i+8|0;B=i;i=i+8|0;A=i;i=i+8|0;z=i;i=i+8|0;y=i;i=i+8|0;x=i;i=i+8|0;w=i;i=i+8|0;v=i;i=i+8|0;u=i;i=i+8|0;t=i;i=i+8|0;s=i;i=i+8|0;r=i;i=i+8|0;q=i;i=i+8|0;o=i;i=i+8|0;n=i;i=i+8|0;m=i;i=i+8|0;l=i;i=i+8|0;I=i;i=i+8|0;H=i;i=i+8|0;E=i;i=i+8|0;h=i;i=i+8|0;j=i;i=i+8|0;D=d+8|0;k=c[D>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;do{if((k|0)!=-1){g=c[D>>2]|0;g=jd[c[(c[g>>2]|0)+20>>2]&511](g)|0;if((g|0)==-1){break}g=g|k<<8;k=c[D>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((k|0)==-1){break}L=c[D>>2]|0;L=jd[c[(c[L>>2]|0)+20>>2]&511](L)|0;if((L|0)==-1){break}K=c[D>>2]|0;K=jd[c[(c[K>>2]|0)+20>>2]&511](K)|0;if((K|0)==-1){break}J=c[D>>2]|0;J=jd[c[(c[J>>2]|0)+20>>2]&511](J)|0;if((J|0)==-1){break}k=L<<16|k<<24|K<<8|J;K=c[D>>2]|0;K=jd[c[(c[K>>2]|0)+20>>2]&511](K)|0;if((K|0)==-1){break}X=c[D>>2]|0;if((jd[c[(c[X>>2]|0)+20>>2]&511](X)|0)==-1){break}J=d+172|0;if(g>>>0>=(da(c[d+176>>2]|0,c[J>>2]|0)|0)>>>0){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,184048,h);X=0;i=f;return X|0}h=(k|0)==0;L=d+180|0;j=d+168|0;M=c[p>>2]|0;k=k+ -12|0;a:while(1){b:while(1){N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=21;break a}else if((N|0)!=255){continue}while(1){N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==0){continue b}else if((N|0)==-1){e=21;break a}else if((N|0)!=255){break b}}}do{if((N+ -48|0)>>>0<16){O=0}else{if((N|0)==79|(N|0)==146|(N|0)==147|(N|0)==217){O=0;break}P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=21;break a}O=c[D>>2]|0;O=jd[c[(c[O>>2]|0)+20>>2]&511](O)|0;if((O|0)==-1){e=21;break a}O=O|P<<8}}while(0);k=k+ -2-O|0;switch(N|0){case 93:{if((c[j>>2]|0)>>>0>256){Q=c[D>>2]|0;Q=jd[c[(c[Q>>2]|0)+20>>2]&511](Q)|0;if((Q|0)==-1){e=105;break a}N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=105;break a}P=c[j>>2]|0;if(P>>>0<257){e=101}else{N=N|Q<<8}}else{e=101}if((e|0)==101){e=0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=105;break a}P=c[j>>2]|0}if(N>>>0>=P>>>0){e=105;break a}Q=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=105;break a}c[Q+(N*88|0)+40>>2]=P;Q=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=c[Q+(N*88|0)+40>>2]&31;if((P|0)==0){c[Q+(N*88|0)+48>>2]=O-((c[j>>2]|0)>>>0>256?5:4);P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=Ce(c[P+(N*88|0)+44>>2]|0,c[P+(N*88|0)+48>>2]|0,4)|0;c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+44>>2]=P;P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;if((c[P+(N*88|0)+48>>2]|0)==0){continue a}else{O=0}while(1){Q=c[P+(N*88|0)+44>>2]|0;P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=109;break a}c[Q+(O<<2)>>2]=P;O=O+1|0;P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;if(O>>>0>=(c[P+(N*88|0)+48>>2]|0)>>>0){continue a}}}else if((P|0)==1){c[Q+(N*88|0)+48>>2]=1;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;O=Ce(c[O+(N*88|0)+44>>2]|0,c[O+(N*88|0)+48>>2]|0,4)|0;c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+44>>2]=O;O=c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+44>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=114;break a}P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=114;break a}c[O>>2]=P|N<<8;continue a}else if((P|0)==2){c[Q+(N*88|0)+48>>2]=(O-((c[j>>2]|0)>>>0>256?5:4)|0)>>>1;P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=Ce(c[P+(N*88|0)+44>>2]|0,c[P+(N*88|0)+48>>2]|0,4)|0;c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+44>>2]=P;P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;if((c[P+(N*88|0)+48>>2]|0)==0){continue a}else{O=0}while(1){Q=(c[P+(N*88|0)+44>>2]|0)+(O<<2)|0;R=c[D>>2]|0;R=jd[c[(c[R>>2]|0)+20>>2]&511](R)|0;if((R|0)==-1){e=118;break a}P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=118;break a}c[Q>>2]=P|R<<8;O=O+1|0;P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;if(O>>>0>=(c[P+(N*88|0)+48>>2]|0)>>>0){continue a}}}else{e=120;break a}break};case 82:{O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=35;break a}c[O+16>>2]=N;O=c[L>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=35;break a}c[O+(g*52|0)>>2]=N;O=(c[L>>2]|0)+(g*52|0)+4|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=35;break a}P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=35;break a}c[O>>2]=P|N<<8;O=c[L>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=35;break a}c[O+(g*52|0)+8>>2]=N;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=35;break a}c[O+20>>2]=N;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=35;break a}c[O+24>>2]=N;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=35;break a}c[O+28>>2]=N;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=35;break a}c[O+32>>2]=N;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=35;break a}c[O+36>>2]=N;X=(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+24|0;c[X>>2]=(c[X>>2]|0)+2;X=(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+28|0;c[X>>2]=(c[X>>2]|0)+2;if((c[j>>2]|0)==0){N=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;O=0}else{O=0;while(1){if((O|0)!=0){X=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;c[X+(O*88|0)+16>>2]=c[X+16>>2];X=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;c[X+(O*88|0)+20>>2]=c[X+20>>2];X=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;c[X+(O*88|0)+24>>2]=c[X+24>>2];X=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;c[X+(O*88|0)+28>>2]=c[X+28>>2];X=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;c[X+(O*88|0)+32>>2]=c[X+32>>2];X=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;c[X+(O*88|0)+36>>2]=c[X+36>>2]}N=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;N=Ce(c[N+(O*88|0)+84>>2]|0,(c[N+(O*88|0)+20>>2]|0)+1|0,76)|0;c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(O*88|0)+84>>2]=N;N=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=0;do{c[(c[N+(O*88|0)+84>>2]|0)+(P*76|0)+72>>2]=0;P=P+1|0;N=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;}while(P>>>0<=(c[N+(O*88|0)+20>>2]|0)>>>0);O=O+1|0;if(O>>>0>=(c[j>>2]|0)>>>0){O=0;break}}}do{if((c[N+16>>2]&1|0)==0){c[(c[N+84>>2]|0)+(O*76|0)>>2]=15;c[(c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+84>>2]|0)+(O*76|0)+4>>2]=15}else{N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=45;break a}c[(c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+84>>2]|0)+(O*76|0)>>2]=N&15;c[(c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+84>>2]|0)+(O*76|0)+4>>2]=N>>>4&15}O=O+1|0;N=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;}while(O>>>0<=(c[N+20>>2]|0)>>>0);if((c[j>>2]|0)>>>0>1){O=1}else{continue a}while(1){P=0;do{c[(c[N+(O*88|0)+84>>2]|0)+(P*76|0)>>2]=c[(c[N+84>>2]|0)+(P*76|0)>>2];X=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;c[(c[X+(O*88|0)+84>>2]|0)+(P*76|0)+4>>2]=c[(c[X+84>>2]|0)+(P*76|0)+4>>2];P=P+1|0;N=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;}while(P>>>0<=(c[N+(O*88|0)+20>>2]|0)>>>0);O=O+1|0;if(O>>>0>=(c[j>>2]|0)>>>0){continue a}}break};case 88:{N=O+ -2|0;break};case 100:{N=O+ -2|0;if((N|0)==0){continue a}else{O=0}while(1){X=c[D>>2]|0;O=O+1|0;if((jd[c[(c[X>>2]|0)+20>>2]&511](X)|0)==-1){e=139;break a}if(O>>>0<N>>>0){}else{continue a}}break};case 83:{if((c[j>>2]|0)>>>0>256){N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=66;break a}P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=66;break a}O=c[j>>2]|0;if(O>>>0<257){e=57}else{N=P|N<<8}}else{e=57}if((e|0)==57){e=0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=66;break a}O=c[j>>2]|0}if(N>>>0>=O>>>0){e=66;break a}O=c[D>>2]|0;O=jd[c[(c[O>>2]|0)+20>>2]&511](O)|0;if((O|0)==-1){e=66;break a}Q=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=66;break a}c[Q+(N*88|0)+20>>2]=P;Q=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=66;break a}c[Q+(N*88|0)+24>>2]=P;Q=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=66;break a}c[Q+(N*88|0)+28>>2]=P;Q=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=66;break a}c[Q+(N*88|0)+32>>2]=P;Q=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=66;break a}c[Q+(N*88|0)+36>>2]=P;P=(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+16|0;c[P>>2]=c[P>>2]&-2|O&1;P=(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+24|0;c[P>>2]=(c[P>>2]|0)+2;P=(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+28|0;c[P>>2]=(c[P>>2]|0)+2;P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=Ce(c[P+(N*88|0)+84>>2]|0,(c[P+(N*88|0)+20>>2]|0)+1|0,76)|0;c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+84>>2]=P;P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;O=0;while(1){c[(c[P+(N*88|0)+84>>2]|0)+(O*76|0)+72>>2]=0;O=O+1|0;P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;if(O>>>0>(c[P+(N*88|0)+20>>2]|0)>>>0){O=0;break}else{}}while(1){if((c[P+(N*88|0)+16>>2]&1|0)==0){c[(c[P+(N*88|0)+84>>2]|0)+(O*76|0)>>2]=15;c[(c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+84>>2]|0)+(O*76|0)+4>>2]=15}else{P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=71;break a}c[(c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+84>>2]|0)+(O*76|0)>>2]=P&15;c[(c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+84>>2]|0)+(O*76|0)+4>>2]=P>>>4&15}O=O+1|0;P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;if(O>>>0>(c[P+(N*88|0)+20>>2]|0)>>>0){continue a}}break};case 95:{Rb(183640,4,1,M|0)|0;N=O+ -2|0;if((N|0)==0){continue a}else{O=0}while(1){X=c[D>>2]|0;O=O+1|0;if((jd[c[(c[X>>2]|0)+20>>2]&511](X)|0)==-1){e=128;break a}if(O>>>0<N>>>0){}else{continue a}}break};case 97:{Rb(184120,4,1,M|0)|0;N=O+ -2|0;if((N|0)==0){continue a}else{O=0}while(1){X=c[D>>2]|0;O=O+1|0;if((jd[c[(c[X>>2]|0)+20>>2]&511](X)|0)==-1){e=132;break a}if(O>>>0<N>>>0){}else{break}}break};case 94:{Rb(183600,4,1,M|0)|0;N=O+ -2|0;if((N|0)==0){continue a}else{O=0}while(1){X=c[D>>2]|0;O=O+1|0;if((jd[c[(c[X>>2]|0)+20>>2]&511](X)|0)==-1){e=124;break a}if(O>>>0<N>>>0){}else{continue a}}break};case 147:{e=142;break a};case 92:{P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=76;break a}c[P+40>>2]=N;N=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=c[N+40>>2]&31;do{if((P|0)==2){c[N+48>>2]=(O+ -3|0)>>>1;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;O=Ce(c[O+44>>2]|0,c[O+48>>2]|0,4)|0;c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+44>>2]=O;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;if((c[O+48>>2]|0)==0){break}else{N=0}do{P=(c[O+44>>2]|0)+(N<<2)|0;O=c[D>>2]|0;O=jd[c[(c[O>>2]|0)+20>>2]&511](O)|0;if((O|0)==-1){e=89;break a}Q=c[D>>2]|0;Q=jd[c[(c[Q>>2]|0)+20>>2]&511](Q)|0;if((Q|0)==-1){e=89;break a}c[P>>2]=Q|O<<8;N=N+1|0;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;}while(N>>>0<(c[O+48>>2]|0)>>>0)}else if((P|0)==1){c[N+48>>2]=1;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;O=Ce(c[O+44>>2]|0,c[O+48>>2]|0,4)|0;c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+44>>2]=O;O=c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+44>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=85;break a}P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=85;break a}c[O>>2]=P|N<<8}else if((P|0)==0){c[N+48>>2]=O+ -3;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;O=Ce(c[O+44>>2]|0,c[O+48>>2]|0,4)|0;c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+44>>2]=O;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;if((c[O+48>>2]|0)==0){break}else{N=0}do{P=c[O+44>>2]|0;O=c[D>>2]|0;O=jd[c[(c[O>>2]|0)+20>>2]&511](O)|0;if((O|0)==-1){e=80;break a}c[P+(N<<2)>>2]=O;N=N+1|0;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;}while(N>>>0<(c[O+48>>2]|0)>>>0)}else{e=91;break a}}while(0);if((c[j>>2]|0)>>>0<=1){continue a}Q=c[L>>2]|0;N=1;while(1){Q=c[Q+(g*52|0)+48>>2]|0;c[Q+(N*88|0)+40>>2]=c[Q+40>>2];Q=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;c[Q+(N*88|0)+48>>2]=c[Q+48>>2];Q=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;Q=Ce(c[Q+(N*88|0)+44>>2]|0,c[Q+48>>2]|0,4)|0;c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+44>>2]=Q;Q=c[L>>2]|0;O=c[Q+(g*52|0)+48>>2]|0;if((c[O+48>>2]|0)!=0){P=0;while(1){c[(c[O+(N*88|0)+44>>2]|0)+(P<<2)>>2]=c[(c[O+44>>2]|0)+(P<<2)>>2];P=P+1|0;Q=c[L>>2]|0;O=c[Q+(g*52|0)+48>>2]|0;if(P>>>0<(c[O+48>>2]|0)>>>0){}else{break}}}N=N+1|0;if(N>>>0>=(c[j>>2]|0)>>>0){continue a}}break};default:{X=jd[c[(c[d>>2]|0)+48>>2]&511](d)|0;c[F>>2]=N;Qe(X,184192,G);N=O+ -2|0;if((N|0)==0){continue a}else{O=0}while(1){X=c[D>>2]|0;O=O+1|0;if((jd[c[(c[X>>2]|0)+20>>2]&511](X)|0)!=-1&O>>>0<N>>>0){}else{continue a}}}}if((N|0)==0){continue}else{O=0}while(1){X=c[D>>2]|0;O=O+1|0;if((jd[c[(c[X>>2]|0)+20>>2]&511](X)|0)==-1){e=136;break a}if(O>>>0<N>>>0){}else{continue a}}}if((e|0)==21){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,184080,E);X=0;i=f;return X|0}else if((e|0)==35){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183376,H);X=0;i=f;return X|0}else if((e|0)==45){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183376,I);X=0;i=f;return X|0}else if((e|0)==66){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183456,l);X=0;i=f;return X|0}else if((e|0)==71){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183376,m);X=0;i=f;return X|0}else if((e|0)==76){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183488,n);X=0;i=f;return X|0}else if((e|0)==80){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183488,o);X=0;i=f;return X|0}else if((e|0)==85){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183488,q);X=0;i=f;return X|0}else if((e|0)==89){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183488,r);X=0;i=f;return X|0}else if((e|0)==91){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183488,s);X=0;i=f;return X|0}else if((e|0)==105){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183568,t);X=0;i=f;return X|0}else if((e|0)==109){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183568,u);X=0;i=f;return X|0}else if((e|0)==114){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183568,v);X=0;i=f;return X|0}else if((e|0)==118){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183488,w);X=0;i=f;return X|0}else if((e|0)==120){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183568,x);X=0;i=f;return X|0}else if((e|0)==124){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183608,y);X=0;i=f;return X|0}else if((e|0)==128){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183608,z);X=0;i=f;return X|0}else if((e|0)==132){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,184128,A);X=0;i=f;return X|0}else if((e|0)==136){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,184160,B);X=0;i=f;return X|0}else if((e|0)==139){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183752,C);X=0;i=f;return X|0}else if((e|0)==142){c:do{if((K|0)==0){r=c[L>>2]|0;t=c[J>>2]|0;o=(g>>>0)/(t>>>0)|0;t=(g>>>0)%(t>>>0)|0;n=d+160|0;u=d+152|0;q=(da(c[u>>2]|0,t)|0)+(c[n>>2]|0)|0;l=r+(g*52|0)+12|0;c[l>>2]=q;m=c[d+144>>2]|0;c[l>>2]=q>>>0<m>>>0?m:q;s=d+164|0;q=d+156|0;w=(da(c[q>>2]|0,o)|0)+(c[s>>2]|0)|0;m=r+(g*52|0)+16|0;c[m>>2]=w;v=c[d+148>>2]|0;c[m>>2]=w>>>0<v>>>0?v:w;u=(da(c[u>>2]|0,t+1|0)|0)+(c[n>>2]|0)|0;n=r+(g*52|0)+20|0;c[n>>2]=u;t=c[d+136>>2]|0;c[n>>2]=u>>>0>t>>>0?t:u;q=(da(c[q>>2]|0,o+1|0)|0)+(c[s>>2]|0)|0;o=r+(g*52|0)+24|0;c[o>>2]=q;s=c[d+140>>2]|0;c[o>>2]=q>>>0>s>>>0?s:q;q=r+(g*52|0)+28|0;bX(q|0,0,20)|0;if((c[j>>2]|0)==0){break}r=r+(g*52|0)+48|0;u=0;t=0;while(1){C=c[r>>2]|0;s=C+(t*88|0)+20|0;v=c[s>>2]|0;if(v>>>0>u>>>0){c[q>>2]=v}W=c[C+(t*88|0)+8>>2]|0;D=(((c[l>>2]|0)+ -1+W|0)>>>0)/(W>>>0)|0;v=C+(t*88|0)+52|0;c[v>>2]=D;X=(((c[m>>2]|0)+ -1+W|0)>>>0)/(W>>>0)|0;B=C+(t*88|0)+56|0;c[B>>2]=X;E=(((c[n>>2]|0)+ -1+W|0)>>>0)/(W>>>0)|0;y=C+(t*88|0)+60|0;c[y>>2]=E;W=(((c[o>>2]|0)+ -1+W|0)>>>0)/(W>>>0)|0;A=C+(t*88|0)+64|0;c[A>>2]=W;w=C+(t*88|0)+24|0;x=C+(t*88|0)+68|0;c[x>>2]=1<<c[w>>2];u=C+(t*88|0)+28|0;z=C+(t*88|0)+72|0;c[z>>2]=1<<c[u>>2];c[C+(t*88|0)+76>>2]=ye(da(W-X|0,E-D|0)|0,4)|0;D=(c[y>>2]|0)-(c[v>>2]|0)|0;E=(c[A>>2]|0)-(c[B>>2]|0)|0;c[C+(t*88|0)+80>>2]=ye((D>>>0>E>>>0?D:E)+8|0,4)|0;E=C+(t*88|0)+84|0;P=c[s>>2]|0;C=0;do{D=c[E>>2]|0;F=(C|0)==0;if(!F){P=1-C+P|0}K=(1<<P)+ -1|0;O=(K+(c[v>>2]|0)|0)>>>P;H=D+(C*76|0)+8|0;c[H>>2]=O;L=(K+(c[B>>2]|0)|0)>>>P;G=D+(C*76|0)+12|0;c[G>>2]=L;N=(K+(c[y>>2]|0)|0)>>>P;J=D+(C*76|0)+16|0;c[J>>2]=N;M=(K+(c[A>>2]|0)|0)>>>P;I=D+(C*76|0)+20|0;c[I>>2]=M;if(F){c[D+24>>2]=O;c[D+36>>2]=c[G>>2];c[D+48>>2]=c[J>>2];c[D+60>>2]=c[I>>2]}else{X=K+(-1<<P+ -1)|0;c[D+(C*76|0)+24>>2]=(X+(c[v>>2]|0)|0)>>>P;c[D+(C*76|0)+36>>2]=L;c[D+(C*76|0)+48>>2]=(X+(c[y>>2]|0)|0)>>>P;c[D+(C*76|0)+60>>2]=M;c[D+(C*76|0)+28>>2]=O;c[D+(C*76|0)+40>>2]=(X+(c[B>>2]|0)|0)>>>P;c[D+(C*76|0)+52>>2]=N;c[D+(C*76|0)+64>>2]=(X+(c[A>>2]|0)|0)>>>P;c[D+(C*76|0)+32>>2]=(X+(c[v>>2]|0)|0)>>>P;c[D+(C*76|0)+44>>2]=(X+(c[B>>2]|0)|0)>>>P;c[D+(C*76|0)+56>>2]=(X+(c[y>>2]|0)|0)>>>P;c[D+(C*76|0)+68>>2]=(X+(c[A>>2]|0)|0)>>>P}K=ye(1,20)|0;c[D+(C*76|0)+72>>2]=K;F=F?1:3;c[K>>2]=c[H>>2];c[K+4>>2]=c[G>>2];c[K+8>>2]=c[J>>2];c[K+12>>2]=c[I>>2];O=ye(F,40)|0;G=K+16|0;c[G>>2]=O;N=0;while(1){H=c[D+(C*76|0)+24+(N<<2)>>2]|0;L=O+(N*40|0)|0;c[L>>2]=H;M=c[D+(C*76|0)+36+(N<<2)>>2]|0;J=O+(N*40|0)+4|0;c[J>>2]=M;Q=c[D+(C*76|0)+48+(N<<2)>>2]|0;K=O+(N*40|0)+8|0;c[K>>2]=Q;R=c[D+(C*76|0)+60+(N<<2)>>2]|0;I=O+(N*40|0)+12|0;c[I>>2]=R;P=c[w>>2]|0;P=((Q+ -1+(1<<P)|0)>>>P)-(H>>>P)|0;H=O+(N*40|0)+16|0;c[H>>2]=P;Q=c[u>>2]|0;Q=((R+ -1+(1<<Q)|0)>>>Q)-(M>>>Q)|0;M=O+(N*40|0)+20|0;c[M>>2]=Q;R=O+(N*40|0)+24|0;c[R>>2]=0;T=(P>>>0>Q>>>0?P:Q)+ -1|0;if((T|0)==0){S=0;R=0;e=157}else{S=0;do{S=S+1|0;T=T>>>1;}while((T|0)!=0);c[R>>2]=S;if((S|0)>-1){R=0;e=157}else{R=0}}if((e|0)==157){while(1){e=0;X=(1<<S)+ -1|0;R=(da((X+Q|0)>>>S,(X+P|0)>>>S)|0)+R|0;if((S|0)>0){S=S+ -1|0;e=157}else{break}}}P=O+(N*40|0)+28|0;c[P>>2]=ye(R,8)|0;Q=O+(N*40|0)+32|0;c[Q>>2]=ye(R,8)|0;if((R|0)!=0){S=0;do{a[(c[P>>2]|0)+(S<<3)|0]=0;c[(c[P>>2]|0)+(S<<3)+4>>2]=0;a[(c[Q>>2]|0)+(S<<3)|0]=0;c[(c[Q>>2]|0)+(S<<3)+4>>2]=0;S=S+1|0;}while(S>>>0<R>>>0)}R=ye(da(c[M>>2]|0,c[H>>2]|0)|0,56)|0;c[O+(N*40|0)+36>>2]=R;O=(c[L>>2]|0)>>>(c[w>>2]|0);P=(c[J>>2]|0)>>>(c[u>>2]|0);S=c[M>>2]|0;if((S|0)!=0){T=c[H>>2]|0;Q=0;do{if((T|0)==0){T=0}else{S=Q+P|0;T=0;do{X=T+O<<c[w>>2];c[R>>2]=X;V=X+(c[x>>2]|0)|0;U=R+8|0;c[U>>2]=V;W=c[L>>2]|0;if(W>>>0>X>>>0){c[R>>2]=W}W=c[K>>2]|0;if(W>>>0<V>>>0){c[U>>2]=W}Y=S<<c[u>>2];W=R+4|0;c[W>>2]=Y;U=Y+(c[z>>2]|0)|0;V=R+12|0;c[V>>2]=U;X=c[J>>2]|0;if(X>>>0>Y>>>0){c[W>>2]=X}W=c[I>>2]|0;if(W>>>0<U>>>0){c[V>>2]=W}a[R+16|0]=0;c[R+20>>2]=3;c[R+24>>2]=2;c[R+28>>2]=0;U=ye(1<<(c[u>>2]|0)+(c[w>>2]|0),8)|0;V=R+44|0;c[V>>2]=U;W=0;while(1){b[U+(W<<3)>>1]=0;b[(c[V>>2]|0)+(W<<3)+2>>1]=0;c[(c[V>>2]|0)+(W<<3)+4>>2]=0;W=W+1|0;if(W>>>0>=1<<(c[u>>2]|0)+(c[w>>2]|0)>>>0){break}U=c[V>>2]|0}c[R+48>>2]=0;c[R+52>>2]=0;R=R+56|0;T=T+1|0;U=c[H>>2]|0;}while(T>>>0<U>>>0);S=c[M>>2]|0;T=U}Q=Q+1|0;}while(Q>>>0<S>>>0)}N=N+1|0;if(N>>>0>=F>>>0){break}O=c[G>>2]|0}C=C+1|0;P=c[s>>2]|0;}while(C>>>0<=P>>>0);t=t+1|0;if(t>>>0>=(c[j>>2]|0)>>>0){break c}u=c[q>>2]|0}}}while(0);Y=YD(d,g,k,h)|0;i=f;return Y|0}}}while(0);Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,184016,j);Y=0;i=f;return Y|0}function WD(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0.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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;f=i;g=d+84|0;k=c[(c[(c[g>>2]|0)+72>>2]|0)+16>>2]|0;h=c[d+40>>2]|0;l=h>>>5&7;h=(h&31|0)==0;if(h){j=0.0;m=l+ -1+((c[c[d+44>>2]>>2]|0)>>>3&31)|0}else{j=+((c[c[d+44>>2]>>2]&2047|2048)>>>0)*.00048828125;m=l+ -1+(c[d+4>>2]|0)|0}l=d+36|0;n=(c[l>>2]|0)==0?m+16|0:m;o=k+20|0;v=c[o>>2]|0;if((v|0)!=0){q=k+16|0;m=k+4|0;r=d+60|0;s=d+52|0;p=d+76|0;t=d+68|0;x=c[q>>2]|0;y=x;u=0;w=c[k+36>>2]|0;do{if((x|0)==0){x=0}else{v=0;while(1){B=c[w+4>>2]|0;x=w+12|0;C=c[x>>2]|0;if(B>>>0<C>>>0){y=w+8|0;z=w+28|0;F=c[y>>2]|0;A=c[w+44>>2]|0;while(1){D=da((c[r>>2]|0)-(c[s>>2]|0)|0,B-(c[m>>2]|0)|0)|0;E=c[w>>2]|0;D=(c[p>>2]|0)+(E-(c[k>>2]|0)+D<<2)|0;if(E>>>0<F>>>0){if(h){C=A;while(1){G=c[C+4>>2]|0;if((G|0)==0){F=0}else{F=n-(c[z>>2]|0)-(e[C+2>>1]|0)|0;if((F|0)>0){F=(1<<F+ -1)+(G<<F)|0}else{F=G>>0-F}F=(c[l>>2]|0)==0?F&-65536:F;F=(b[C>>1]&128)==0?F:0-F|0}c[D>>2]=F;E=E+1|0;F=c[y>>2]|0;if(E>>>0<F>>>0){C=C+8|0;D=D+4|0}else{break}}}else{C=A;while(1){G=c[C+4>>2]|0;if((G|0)==0){F=0}else{F=n-(c[z>>2]|0)-(e[C+2>>1]|0)|0;if((F|0)>0){F=(1<<F+ -1)+(G<<F)|0}else{F=G>>0-F}F=~~(j*+(F|0));F=(b[C>>1]&128)==0?F:0-F|0}c[D>>2]=F;E=E+1|0;F=c[y>>2]|0;if(E>>>0<F>>>0){C=C+8|0;D=D+4|0}else{break}}}C=c[x>>2]|0}B=B+1|0;if(B>>>0>=C>>>0){break}A=A+(c[t>>2]<<3)|0}x=c[q>>2]|0}else{x=y}w=w+56|0;v=v+1|0;if(v>>>0<x>>>0){y=x}else{break}}y=x;v=c[o>>2]|0}u=u+1|0;}while(u>>>0<v>>>0)}l=d+20|0;r=c[l>>2]|0;if((r|0)==0){i=f;return}n=d+52|0;k=d+56|0;m=d+60|0;h=d+64|0;p=1;while(1){q=c[g>>2]|0;o=p+1|0;if((p|0)==(r|0)){s=n;u=m;r=k;t=h}else{s=q+(o*76|0)+8|0;u=q+(o*76|0)+16|0;r=q+(o*76|0)+12|0;t=q+(o*76|0)+20|0}_D(a,d,p,q+(p*76|0)|0,c[s>>2]|0,c[r>>2]|0,c[u>>2]|0,c[t>>2]|0);r=c[l>>2]|0;if(o>>>0>r>>>0){break}else{p=o}}i=f;return}function XD(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=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.0,w=0.0,x=0.0;e=i;b=b+168|0;do{if((c[d+8>>2]|0)==1){if((c[b>>2]|0)>>>0<3){u=0;i=e;return u|0}f=d+48|0;h=c[f>>2]|0;j=c[h+8>>2]|0;if((j|0)!=(c[h+96>>2]|0)){u=0;i=e;return u|0}g=c[h+12>>2]|0;if((g|0)!=(c[h+100>>2]|0)){u=0;i=e;return u|0}if((j|0)!=(c[h+184>>2]|0)){u=0;i=e;return u|0}if((g|0)!=(c[h+188>>2]|0)){u=0;i=e;return u|0}g=(c[h+64>>2]|0)==(c[h+56>>2]|0);if((c[h+36>>2]|0)==0){if(g){break}else{j=0;g=0}do{if((c[h+60>>2]|0)!=(c[h+52>>2]|0)){k=h;h=0;while(1){t=(c[k+76>>2]|0)+(j<<2)|0;u=c[(c[k+164>>2]|0)+(j<<2)>>2]|0;w=+(c[t>>2]|0);x=+(c[(c[k+252>>2]|0)+(j<<2)>>2]|0);c[t>>2]=~~(w+x*1.402+.5);v=+(u|0);c[(c[(c[f>>2]|0)+164>>2]|0)+(j<<2)>>2]=~~(w-v*.34413-x*.71414+.5);c[(c[(c[f>>2]|0)+252>>2]|0)+(j<<2)>>2]=~~(w+v*1.772+.5);j=j+1|0;h=h+1|0;k=c[f>>2]|0;if(h>>>0<((c[k+60>>2]|0)-(c[k+52>>2]|0)|0)>>>0){}else{h=k;break}}}g=g+1|0;}while(g>>>0<((c[h+64>>2]|0)-(c[h+56>>2]|0)|0)>>>0)}else{if(g){break}else{j=0;g=0}do{if((c[h+60>>2]|0)!=(c[h+52>>2]|0)){k=0;while(1){s=(c[h+164>>2]|0)+(j<<2)|0;u=c[s>>2]|0;t=c[(c[h+252>>2]|0)+(j<<2)>>2]|0;h=(c[(c[h+76>>2]|0)+(j<<2)>>2]|0)-(t+u>>2)|0;c[s>>2]=h;c[(c[(c[f>>2]|0)+76>>2]|0)+(j<<2)>>2]=h+t;c[(c[(c[f>>2]|0)+252>>2]|0)+(j<<2)>>2]=h+u;j=j+1|0;k=k+1|0;h=c[f>>2]|0;if(k>>>0<((c[h+60>>2]|0)-(c[h+52>>2]|0)|0)>>>0){}else{break}}}g=g+1|0;}while(g>>>0<((c[h+64>>2]|0)-(c[h+56>>2]|0)|0)>>>0)}}}while(0);if((c[b>>2]|0)==0){u=1;i=e;return u|0}d=d+48|0;f=0;while(1){o=c[d>>2]|0;h=c[o+(f*88|0)+4>>2]|0;do{if((a[o+(f*88|0)|0]&1)==0){g=(1<<h)+ -1|0;l=1<<h+ -1;k=o+(f*88|0)+64|0;r=c[k>>2]|0;j=o+(f*88|0)+56|0;p=c[j>>2]|0;if((r|0)==(p|0)){break}h=o+(f*88|0)+60|0;n=o+(f*88|0)+52|0;m=o+(f*88|0)+36|0;s=c[n>>2]|0;t=c[h>>2]|0;u=c[o+(f*88|0)+76>>2]|0;o=0;while(1){if((t|0)==(s|0)){q=s;t=s}else{p=0;while(1){q=c[u>>2]|0;q=((c[m>>2]|0)==0?q>>16:q)+l|0;if((q|0)<0){q=0}else{q=(q|0)>(g|0)?g:q}s=u+4|0;c[u>>2]=q;p=p+1|0;t=c[h>>2]|0;q=c[n>>2]|0;if(p>>>0<(t-q|0)>>>0){u=s}else{break}}p=c[j>>2]|0;r=c[k>>2]|0;u=s}o=o+1|0;if(o>>>0<(r-p|0)>>>0){s=q}else{break}}}else{h=1<<h+ -1;l=0-h|0;h=h+ -1|0;k=o+(f*88|0)+64|0;p=c[k>>2]|0;j=o+(f*88|0)+56|0;r=c[j>>2]|0;if((p|0)==(r|0)){break}m=o+(f*88|0)+60|0;n=o+(f*88|0)+52|0;g=o+(f*88|0)+36|0;s=c[n>>2]|0;t=c[m>>2]|0;u=c[o+(f*88|0)+76>>2]|0;o=0;while(1){if((t|0)==(s|0)){q=s;t=s}else{p=0;while(1){q=c[u>>2]|0;q=(c[g>>2]|0)==0?q>>16:q;if((q|0)<(l|0)){q=l}else{q=(q|0)>(h|0)?h:q}s=u+4|0;c[u>>2]=q;p=p+1|0;t=c[m>>2]|0;q=c[n>>2]|0;if(p>>>0<(t-q|0)>>>0){u=s}else{break}}r=c[j>>2]|0;p=c[k>>2]|0;u=s}o=o+1|0;if(o>>>0<(p-r|0)>>>0){s=q}else{break}}}}while(0);f=f+1|0;if(f>>>0>=(c[b>>2]|0)>>>0){b=1;break}}i=e;return b|0}function YD(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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,Q=0,R=0,S=0,T=0,U=0,V=0;g=i;j=i;i=i+8|0;x=c[b+180>>2]|0;o=f^1;if((e|0)==0&o){V=1;i=g;return V|0}l=x+(d*52|0)+32|0;s=x+(d*52|0)+48|0;q=x+(d*52|0)+36|0;t=x+(d*52|0)+40|0;r=b+188|0;u=b+192|0;v=b+196|0;f=b+8|0;w=b+184|0;k=x+(d*52|0)|0;m=b+168|0;p=x+(d*52|0)+28|0;n=x+(d*52|0)+44|0;x=x+(d*52|0)+4|0;A=c[q>>2]|0;a:while(1){z=c[l>>2]|0;V=c[s>>2]|0;d=V+(z*88|0)|0;y=c[t>>2]|0;z=c[(c[V+(z*88|0)+84>>2]|0)+(A*76|0)+72>>2]|0;c[r>>2]=0;a[u]=0;c[v>>2]=e;do{if((e|0)==0){break a}A=c[f>>2]|0;A=jd[c[(c[A>>2]|0)+20>>2]&511](A)|0;if((A|0)==-1){break a}e=(c[v>>2]|0)+ -1|0;c[v>>2]=e;B=c[w>>2]|0;if((a[u]&1)==0){B=B<<8|A&255;c[w>>2]=B;C=(c[r>>2]|0)+8|0}else{B=B<<7|A&127;c[w>>2]=B;C=(c[r>>2]|0)+7|0}c[r>>2]=C;a[u]=(A|0)==255|0;}while((C|0)<1);V=C+ -1|0;c[r>>2]=V;A=z+(y*20|0)+16|0;if((1<<V&B|0)==0){D=0;do{E=c[A>>2]|0;B=E+(D*40|0)+20|0;F=c[B>>2]|0;if((F|0)!=0){C=E+(D*40|0)+16|0;E=E+(D*40|0)+36|0;G=c[C>>2]|0;e=0;do{if((G|0)==0){G=0}else{F=0;do{V=(da(G,e)|0)+F|0;c[(c[E>>2]|0)+(V*56|0)+32>>2]=0;F=F+1|0;G=c[C>>2]|0;}while(F>>>0<G>>>0);F=c[B>>2]|0}e=e+1|0;}while(e>>>0<F>>>0)}D=D+1|0;}while(D>>>0<((c[q>>2]|0)==0?1:3)>>>0)}else{e=0;do{G=c[A>>2]|0;B=G+(e*40|0)+20|0;I=c[B>>2]|0;if((I|0)!=0){D=G+(e*40|0)+16|0;F=G+(e*40|0)+36|0;E=G+(e*40|0)+24|0;C=G+(e*40|0)+28|0;G=G+(e*40|0)+32|0;J=c[D>>2]|0;O=J;H=0;do{if((J|0)==0){J=0}else{I=0;while(1){K=(da(J,H)|0)+I|0;J=c[F>>2]|0;do{if((c[J+(K*56|0)>>2]|0)>>>0<(c[J+(K*56|0)+8>>2]|0)>>>0){if((c[J+(K*56|0)+4>>2]|0)>>>0>=(c[J+(K*56|0)+12>>2]|0)>>>0){h=23;break}L=J+(K*56|0)+16|0;if((a[L]&1)==0){N=c[E>>2]|0;b:do{if((N|0)>-1){M=0;R=0;while(1){Q=(1<<N)+ -1|0;P=(Q+O|0)>>>N;O=(Q+(c[B>>2]|0)|0)>>>N;Q=(I>>>N)+M+(da(P,H>>>N)|0)|0;U=c[C>>2]|0;T=a[U+(Q<<3)|0]|0;V=U+(Q<<3)+4|0;S=c[V>>2]|0;if((T&1)==0&(S|0)==0){c[V>>2]=R;U=c[C>>2]|0;T=a[U+(Q<<3)|0]|0}else{R=S}c:do{if((T&1)==0){do{while(1){if(R>>>0>(c[n>>2]|0)>>>0){break c}U=c[r>>2]|0;if((U|0)<1){S=c[v>>2]|0;while(1){if((S|0)==0){break a}T=c[f>>2]|0;T=jd[c[(c[T>>2]|0)+20>>2]&511](T)|0;if((T|0)==-1){break a}S=(c[v>>2]|0)+ -1|0;c[v>>2]=S;U=c[w>>2]|0;if((a[u]&1)==0){V=U<<8|T&255;c[w>>2]=V;U=(c[r>>2]|0)+8|0}else{V=U<<7|T&127;c[w>>2]=V;U=(c[r>>2]|0)+7|0}c[r>>2]=U;a[u]=(T|0)==255|0;if((U|0)>=1){S=V;break}}}else{S=c[w>>2]|0}V=U+ -1|0;c[r>>2]=V;if((1<<V&S|0)==0){break}a[(c[C>>2]|0)+(Q<<3)|0]=1;U=c[C>>2]|0;if((a[U+(Q<<3)|0]&1)!=0){break c}}R=R+1|0;U=c[C>>2]|0;}while((a[U+(Q<<3)|0]&1)==0)}}while(0);c[U+(Q<<3)+4>>2]=R;if(R>>>0>(c[n>>2]|0)>>>0){break b}Q=N+ -1|0;if((N|0)<=0){N=Q;break b}N=(da(O,P)|0)+M|0;O=c[D>>2]|0;M=N;N=Q}}}while(0);M=N>>>31;c[J+(K*56|0)+32>>2]=M}else{M=J+(K*56|0)+32|0;P=c[r>>2]|0;if((P|0)<1){O=c[v>>2]|0;do{if((O|0)==0){break a}N=c[f>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){break a}O=(c[v>>2]|0)+ -1|0;c[v>>2]=O;P=c[w>>2]|0;if((a[u]&1)==0){Q=P<<8|N&255;c[w>>2]=Q;P=(c[r>>2]|0)+8|0}else{Q=P<<7|N&127;c[w>>2]=Q;P=(c[r>>2]|0)+7|0}c[r>>2]=P;a[u]=(N|0)==255|0;}while((P|0)<1)}else{Q=c[w>>2]|0}c[M>>2]=Q>>>(P+ -1|0)&1;c[r>>2]=(c[r>>2]|0)+ -1;M=c[M>>2]|0}if((M|0)==0){break}if((a[L]&1)==0){L=c[E>>2]|0;if((L|0)>-1){M=0;Q=0;while(1){O=(1<<L)+ -1|0;N=(O+(c[D>>2]|0)|0)>>>L;O=(O+(c[B>>2]|0)|0)>>>L;P=(I>>>L)+M+(da(N,H>>>L)|0)|0;S=c[G>>2]|0;T=a[S+(P<<3)|0]|0;U=S+(P<<3)+4|0;R=c[U>>2]|0;if((T&1)==0&(R|0)==0){c[U>>2]=Q;S=c[G>>2]|0;T=a[S+(P<<3)|0]|0}else{Q=R}d:do{if((T&1)==0){do{while(1){R=c[r>>2]|0;if((R|0)<1){S=c[v>>2]|0;while(1){if((S|0)==0){break a}T=c[f>>2]|0;T=jd[c[(c[T>>2]|0)+20>>2]&511](T)|0;if((T|0)==-1){break a}S=(c[v>>2]|0)+ -1|0;c[v>>2]=S;R=c[w>>2]|0;if((a[u]&1)==0){U=R<<8|T&255;c[w>>2]=U;R=(c[r>>2]|0)+8|0}else{U=R<<7|T&127;c[w>>2]=U;R=(c[r>>2]|0)+7|0}c[r>>2]=R;a[u]=(T|0)==255|0;if((R|0)>=1){S=U;break}}}else{S=c[w>>2]|0}V=R+ -1|0;c[r>>2]=V;if((1<<V&S|0)==0){break}a[(c[G>>2]|0)+(P<<3)|0]=1;S=c[G>>2]|0;if((a[S+(P<<3)|0]&1)!=0){break d}}Q=Q+1|0;S=c[G>>2]|0;}while((a[S+(P<<3)|0]&1)==0)}}while(0);c[S+(P<<3)+4>>2]=Q;M=(da(O,N)|0)+M|0;if((L|0)>0){L=L+ -1|0}else{break}}}else{Q=0}c[J+(K*56|0)+28>>2]=Q}N=c[r>>2]|0;if((N|0)<1){N=c[v>>2]|0;while(1){if((N|0)==0){break a}M=c[f>>2]|0;M=jd[c[(c[M>>2]|0)+20>>2]&511](M)|0;if((M|0)==-1){break a}N=(c[v>>2]|0)+ -1|0;c[v>>2]=N;L=c[w>>2]|0;if((a[u]&1)==0){L=L<<8|M&255;c[w>>2]=L;O=(c[r>>2]|0)+8|0}else{L=L<<7|M&127;c[w>>2]=L;O=(c[r>>2]|0)+7|0}c[r>>2]=O;a[u]=(M|0)==255|0;if((O|0)>=1){N=O;break}}}else{L=c[w>>2]|0}M=N+ -1|0;c[r>>2]=M;do{if((1<<M&L|0)==0){c[J+(K*56|0)+36>>2]=1}else{if((N|0)<2){M=c[v>>2]|0;while(1){if((M|0)==0){break a}N=c[f>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){break a}M=(c[v>>2]|0)+ -1|0;c[v>>2]=M;L=c[w>>2]|0;if((a[u]&1)==0){L=L<<8|N&255;c[w>>2]=L;O=(c[r>>2]|0)+8|0}else{L=L<<7|N&127;c[w>>2]=L;O=(c[r>>2]|0)+7|0}c[r>>2]=O;a[u]=(N|0)==255|0;if((O|0)>=1){M=O;break}}}N=M+ -1|0;c[r>>2]=N;if((1<<N&L|0)==0){c[J+(K*56|0)+36>>2]=2;break}if((M|0)<3){M=c[v>>2]|0;while(1){if((M|0)==0){break a}N=c[f>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){break a}M=(c[v>>2]|0)+ -1|0;c[v>>2]=M;L=c[w>>2]|0;if((a[u]&1)==0){L=L<<8|N&255;c[w>>2]=L;O=(c[r>>2]|0)+8|0}else{L=L<<7|N&127;c[w>>2]=L;O=(c[r>>2]|0)+7|0}c[r>>2]=O;a[u]=(N|0)==255|0;if((O|0)>=2){M=O;break}}}else{M=N}O=M+ -2|0;M=L>>>O&3;c[r>>2]=O;if((M|0)!=3){c[J+(K*56|0)+36>>2]=M+3;break}if((O|0)<5){M=c[v>>2]|0;do{if((M|0)==0){break a}L=c[f>>2]|0;L=jd[c[(c[L>>2]|0)+20>>2]&511](L)|0;if((L|0)==-1){break a}M=(c[v>>2]|0)+ -1|0;c[v>>2]=M;N=c[w>>2]|0;if((a[u]&1)==0){N=N<<8|L&255;c[w>>2]=N;O=(c[r>>2]|0)+8|0}else{N=N<<7|L&127;c[w>>2]=N;O=(c[r>>2]|0)+7|0}c[r>>2]=O;a[u]=(L|0)==255|0;}while((O|0)<5)}else{N=L}L=O+ -5|0;M=N>>>L&31;c[r>>2]=L;if((M|0)!=31){c[J+(K*56|0)+36>>2]=M+6;break}if((L|0)<7){M=c[v>>2]|0;while(1){if((M|0)==0){break a}N=c[f>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){break a}M=(c[v>>2]|0)+ -1|0;c[v>>2]=M;L=c[w>>2]|0;if((a[u]&1)==0){O=L<<8|N&255;c[w>>2]=O;L=(c[r>>2]|0)+8|0}else{O=L<<7|N&127;c[w>>2]=O;L=(c[r>>2]|0)+7|0}c[r>>2]=L;a[u]=(N|0)==255|0;if((L|0)>=7){N=O;break}}}V=L+ -7|0;c[r>>2]=V;c[J+(K*56|0)+36>>2]=(N>>>V&127)+37}}while(0);M=J+(K*56|0)+20|0;while(1){O=c[r>>2]|0;if((O|0)<1){L=c[v>>2]|0;do{if((L|0)==0){break a}N=c[f>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){break a}L=(c[v>>2]|0)+ -1|0;c[v>>2]=L;O=c[w>>2]|0;if((a[u]&1)==0){P=O<<8|N&255;c[w>>2]=P;O=(c[r>>2]|0)+8|0}else{P=O<<7|N&127;c[w>>2]=P;O=(c[r>>2]|0)+7|0}c[r>>2]=O;a[u]=(N|0)==255|0;}while((O|0)<1)}else{P=c[w>>2]|0}N=O+ -1|0;c[r>>2]=N;L=c[M>>2]|0;if((1<<N&P|0)==0){break}c[M>>2]=L+1}M=c[J+(K*56|0)+36>>2]|0;while(1){M=M>>>1;if((M|0)==0){break}else{L=L+1|0}}J=J+(K*56|0)+40|0;if((O|0)<=(L|0)){K=c[v>>2]|0;do{if((K|0)==0){break a}M=c[f>>2]|0;M=jd[c[(c[M>>2]|0)+20>>2]&511](M)|0;if((M|0)==-1){break a}K=(c[v>>2]|0)+ -1|0;c[v>>2]=K;N=c[w>>2]|0;if((a[u]&1)==0){P=N<<8|M&255;c[w>>2]=P;N=(c[r>>2]|0)+8|0}else{P=N<<7|M&127;c[w>>2]=P;N=(c[r>>2]|0)+7|0}c[r>>2]=N;a[u]=(M|0)==255|0;}while((N|0)<(L|0))}c[J>>2]=P>>>(N-L|0)&(1<<L)+ -1;c[r>>2]=(c[r>>2]|0)-L}else{h=23}}while(0);if((h|0)==23){h=0;c[J+(K*56|0)+32>>2]=0}I=I+1|0;J=c[D>>2]|0;if(I>>>0<J>>>0){O=J}else{break}}O=J;I=c[B>>2]|0}H=H+1|0;}while(H>>>0<I>>>0)}e=e+1|0;}while(e>>>0<((c[q>>2]|0)==0?1:3)>>>0)}if((a[u]&1)==0){e=c[v>>2]|0}else{e=c[f>>2]|0;jd[c[(c[e>>2]|0)+20>>2]&511](e)|0;e=(c[v>>2]|0)+ -1|0;c[v>>2]=e}y=z+(y*20|0)+16|0;z=0;do{C=c[y>>2]|0;B=C+(z*40|0)+20|0;F=c[B>>2]|0;if((F|0)!=0){A=C+(z*40|0)+16|0;C=C+(z*40|0)+36|0;G=c[A>>2]|0;E=G;D=0;do{if((G|0)==0){G=0}else{F=0;while(1){H=(da(G,D)|0)+F|0;G=c[C>>2]|0;if((c[G+(H*56|0)+32>>2]|0)==0){G=E}else{ZD(b,d,0,0,0,c[q>>2]|0,z,G+(H*56|0)|0)|0;e=e-(c[G+(H*56|0)+40>>2]|0)|0;a[G+(H*56|0)+16|0]=1;G=c[A>>2]|0}F=F+1|0;if(F>>>0<G>>>0){E=G}else{break}}E=G;F=c[B>>2]|0}D=D+1|0;}while(D>>>0<F>>>0)}z=z+1|0;A=c[q>>2]|0;}while(z>>>0<((A|0)==0?1:3)>>>0);e:do{switch(c[k>>2]|0){case 0:{V=(c[l>>2]|0)+1|0;c[l>>2]=V;if((V|0)!=(c[m>>2]|0)){break e}c[l>>2]=0;d=A+1|0;c[q>>2]=d;if((A|0)!=(c[p>>2]|0)){A=d;break e}c[q>>2]=0;d=(c[n>>2]|0)+1|0;c[n>>2]=(d|0)==(c[x>>2]|0)?0:d;A=0;break};case 1:{V=(c[l>>2]|0)+1|0;c[l>>2]=V;if((V|0)!=(c[m>>2]|0)){break e}c[l>>2]=0;V=(c[n>>2]|0)+1|0;c[n>>2]=V;if((V|0)!=(c[x>>2]|0)){break e}c[n>>2]=0;A=(A|0)==(c[p>>2]|0)?0:A+1|0;c[q>>2]=A;break};case 2:{V=(c[n>>2]|0)+1|0;c[n>>2]=V;if((V|0)!=(c[x>>2]|0)){break e}c[n>>2]=0;V=(c[l>>2]|0)+1|0;c[l>>2]=V;if((V|0)!=(c[m>>2]|0)){break e}c[l>>2]=0;A=(A|0)==(c[p>>2]|0)?0:A+1|0;c[q>>2]=A;break};case 3:{V=(c[n>>2]|0)+1|0;c[n>>2]=V;if((V|0)!=(c[x>>2]|0)){break e}c[n>>2]=0;d=A+1|0;c[q>>2]=d;if((A|0)!=(c[p>>2]|0)){A=d;break e}c[q>>2]=0;d=(c[l>>2]|0)+1|0;c[l>>2]=d;c[l>>2]=(d|0)==(c[m>>2]|0)?0:d;A=0;break};case 4:{V=(c[n>>2]|0)+1|0;c[n>>2]=V;if((V|0)!=(c[x>>2]|0)){break e}c[n>>2]=0;d=A+1|0;c[q>>2]=d;if((A|0)!=(c[p>>2]|0)){A=d;break e}c[q>>2]=0;d=(c[l>>2]|0)+1|0;c[l>>2]=d;c[l>>2]=(d|0)==(c[m>>2]|0)?0:d;A=0;break};default:{}}}while(0);if((e|0)==0&o){b=1;h=186;break}}if((h|0)==186){i=g;return b|0}Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,184248,j);V=0;i=g;return V|0}function ZD(d,f,g,h,j,k,l,m){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;g=i;h=m+48|0;j=c[h>>2]|0;if((j|0)==0){H=FW(36)|0;CI(H);c[h>>2]=H;I=c[m+40>>2]|0;c[H+24>>2]=c[d+8>>2];c[H+28>>2]=I;a[H+32|0]=1;FI(H);H=FW(8)|0;wI(H,19);I=m+52|0;c[I>>2]=H;BI(H,0,4,0);BI(c[I>>2]|0,17,3,0);BI(c[I>>2]|0,18,46,0)}else{HI(j,c[m+40>>2]|0)}r=m+36|0;if((c[r>>2]|0)==0){I=h;I=c[I>>2]|0;EI(I);i=g;return-1}d=m+24|0;p=m+4|0;j=m+44|0;s=m+12|0;q=m+8|0;o=f+24|0;f=f+68|0;k=(k|0)==0?1:l;l=m+52|0;u=c[d>>2]|0;t=0;do{if((u|0)==0){v=c[p>>2]|0;w=c[s>>2]|0;if(v>>>0<w>>>0){y=c[q>>2]|0;u=c[j>>2]|0;while(1){x=c[m>>2]|0;if(x>>>0<y>>>0){w=u;while(1){y=w;z=0;while(1){A=z+v|0;B=c[s>>2]|0;if(A>>>0>=B>>>0){break}do{if((b[y>>1]&1)==0){do{if(x>>>0>(c[m>>2]|0)>>>0){C=e[y+ -8>>1]|0;if((C&1|0)==0){D=2;E=0}else{D=C>>>6&2^3;E=1}if(A>>>0>(c[p>>2]|0)>>>0){C=b[y+(~c[f>>2]<<3)>>1]&1}else{C=0}if(A>>>0>=(B+ -1|0)>>>0){break}C=(b[y+((c[f>>2]|0)+ -1<<3)>>1]&1)+C|0}else{C=0;D=2;E=0}}while(0);do{if(x>>>0<((c[q>>2]|0)+ -1|0)>>>0){F=e[y+8>>1]|0;if((F&1|0)!=0){D=D+ -1+(F>>>6&2^2)|0;E=E+1|0}F=c[p>>2]|0;if(A>>>0>F>>>0){C=(b[y+(1-(c[f>>2]|0)<<3)>>1]&1)+C|0}if(A>>>0>=(B+ -1|0)>>>0){break}C=(b[y+((c[f>>2]|0)+1<<3)>>1]&1)+C|0}else{F=c[p>>2]|0}}while(0);do{if(A>>>0>F>>>0){F=e[y+(0-(c[f>>2]|0)<<3)>>1]|0;if((F&1|0)==0){G=2;F=0;break}G=F>>>6&2^3;F=1}else{G=2;F=0}}while(0);do{if(A>>>0<(B+ -1|0)>>>0){A=e[y+(c[f>>2]<<3)>>1]|0;if((A&1|0)==0){break}G=G+ -1+(A>>>6&2^2)|0;F=F+1|0}}while(0);A=c[184272+(E*180|0)+(F*60|0)+(C*12|0)+(k<<2)>>2]|0;if((A|0)==0){break}do{if((II(c[h>>2]|0,A,c[l>>2]|0)|0)!=0){b[y>>1]=b[y>>1]|5;I=y+4|0;c[I>>2]=c[I>>2]<<1|1;I=c[184816+(D*40|0)+(G<<3)+4>>2]|0;if((II(c[h>>2]|0,c[184816+(D*40|0)+(G<<3)>>2]|0,c[l>>2]|0)|0)==(I|0)){break}b[y>>1]=b[y>>1]|128}}while(0);I=y+2|0;b[I>>1]=(b[I>>1]|0)+1<<16>>16;b[y>>1]=b[y>>1]|2}}while(0);z=z+1|0;if(z>>>0>=4){break}y=y+(c[f>>2]<<3)|0}x=x+1|0;y=c[q>>2]|0;if(x>>>0<y>>>0){w=w+8|0}else{break}}w=c[s>>2]|0}v=v+4|0;if(v>>>0>=w>>>0){break}u=u+(4<<c[o>>2]<<3)|0}u=(c[d>>2]|0)+1|0}else{u=1}c[d>>2]=u}else if((u|0)==1){v=c[p>>2]|0;w=c[s>>2]|0;if(v>>>0<w>>>0){y=c[q>>2]|0;u=c[j>>2]|0;while(1){x=c[m>>2]|0;if(x>>>0<y>>>0){w=u;while(1){y=w;z=0;while(1){B=z+v|0;A=c[s>>2]|0;if(B>>>0>=A>>>0){break}C=e[y>>1]|0;if((C&3|0)==1){if((C&4|0)==0){A=16}else{do{if(x>>>0>(c[m>>2]|0)>>>0){C=b[y+ -8>>1]&1;if(B>>>0>(c[p>>2]|0)>>>0){C=(b[y+(~c[f>>2]<<3)>>1]&1)+C|0}if(B>>>0>=(A+ -1|0)>>>0){break}C=(b[y+((c[f>>2]|0)+ -1<<3)>>1]&1)+C|0}else{C=0}}while(0);do{if(x>>>0<((c[q>>2]|0)+ -1|0)>>>0){C=(b[y+8>>1]&1)+C|0;if(B>>>0>(c[p>>2]|0)>>>0){C=(b[y+(1-(c[f>>2]|0)<<3)>>1]&1)+C|0}if(B>>>0>=(A+ -1|0)>>>0){break}C=(b[y+((c[f>>2]|0)+1<<3)>>1]&1)+C|0}}while(0);if(B>>>0>(c[p>>2]|0)>>>0){C=(b[y+(0-(c[f>>2]|0)<<3)>>1]&1)+C|0}if(B>>>0<(A+ -1|0)>>>0){C=(b[y+(c[f>>2]<<3)>>1]&1)+C|0}A=(C|0)!=0?15:14}I=y+4|0;H=c[I>>2]<<1;c[I>>2]=II(c[h>>2]|0,A,c[l>>2]|0)|0|H;I=y+2|0;b[I>>1]=(b[I>>1]|0)+1<<16>>16;b[y>>1]=b[y>>1]&-7|2}z=z+1|0;if(z>>>0>=4){break}y=y+(c[f>>2]<<3)|0}x=x+1|0;y=c[q>>2]|0;if(x>>>0<y>>>0){w=w+8|0}else{break}}w=c[s>>2]|0}v=v+4|0;if(v>>>0>=w>>>0){break}u=u+(4<<c[o>>2]<<3)|0}u=(c[d>>2]|0)+1|0}else{u=2}c[d>>2]=u}else if((u|0)==2){v=c[p>>2]|0;A=c[s>>2]|0;a:do{if(v>>>0<A>>>0){C=c[q>>2]|0;u=c[j>>2]|0;while(1){z=c[m>>2]|0;if(z>>>0<C>>>0){x=v+3|0;w=v+4|0;y=u;while(1){b:do{if(x>>>0<A>>>0){if((b[y>>1]&2)!=0){B=0;n=119;break}B=c[f>>2]|0;if((b[y+(B<<3)>>1]&2)!=0){B=0;n=119;break}F=B<<1;if((b[y+(F<<3)>>1]&2)!=0){B=0;n=119;break}E=B*3|0;if((b[y+(E<<3)>>1]&2)!=0){B=0;n=119;break}D=(z|0)==(c[m>>2]|0);G=c[p>>2]|0;do{if(!D){if((v|0)==(G|0)){G=v;break}if((b[y+(~B<<3)>>1]&1)!=0){B=0;n=119;break b}}}while(0);G=(v|0)==(G|0);if(!G){if((b[y+(0-B<<3)>>1]&1)!=0){B=0;n=119;break}}C=(z|0)==(C+ -1|0);if(!(C|G)){if((b[y+(1-B<<3)>>1]&1)!=0){B=0;n=119;break}}if(!D){if((b[y+ -8>>1]&1)!=0){B=0;n=119;break}if((b[y+(B+ -1<<3)>>1]&1)!=0){B=0;n=119;break}if((b[y+(F+ -1<<3)>>1]&1)!=0){B=0;n=119;break}if((b[y+(E+ -1<<3)>>1]&1)!=0){B=0;n=119;break}}if(!C){if((b[y+8>>1]&1)!=0){B=0;n=119;break}if((b[y+(B+1<<3)>>1]&1)!=0){B=0;n=119;break}if((b[y+((F|1)<<3)>>1]&1)!=0){B=0;n=119;break}if((b[y+(E+1<<3)>>1]&1)!=0){B=0;n=119;break}}do{if(!D){if((w|0)==(A|0)){A=w;break}if((b[y+((B<<2)+ -1<<3)>>1]&1)!=0){B=0;n=119;break b}}}while(0);A=(w|0)==(A|0);if(!A){if((b[y+(B<<2<<3)>>1]&1)!=0){B=0;n=119;break}}if(!(C|A)){if((b[y+((B<<2|1)<<3)>>1]&1)!=0){B=0;n=119;break}}if((II(c[h>>2]|0,17,c[l>>2]|0)|0)==0){I=y+2|0;b[I>>1]=(b[I>>1]|0)+1<<16>>16;I=c[f>>2]|0;H=y+(I<<3)+2|0;b[H>>1]=(b[H>>1]|0)+1<<16>>16;I=I+(c[f>>2]|0)|0;H=y+(I<<3)+2|0;b[H>>1]=(b[H>>1]|0)+1<<16>>16;I=y+(I+(c[f>>2]|0)<<3)+2|0;b[I>>1]=(b[I>>1]|0)+1<<16>>16;break}A=(II(c[h>>2]|0,18,c[l>>2]|0)|0)<<1;A=II(c[h>>2]|0,18,c[l>>2]|0)|0|A;if((A|0)==0){B=y}else{B=y;C=0;while(1){I=B+2|0;b[I>>1]=(b[I>>1]|0)+1<<16>>16;C=C+1|0;B=B+(c[f>>2]<<3)|0;if(C>>>0<A>>>0){}else{break}}}b[B>>1]=b[B>>1]|5;I=B+4|0;c[I>>2]=c[I>>2]<<1|1;I=B+2|0;b[I>>1]=(b[I>>1]|0)+1<<16>>16;if((II(c[h>>2]|0,9,c[l>>2]|0)|0)!=0){b[B>>1]=b[B>>1]|128}B=A+1|0;if(B>>>0<4){n=119}}else{B=0;n=119}}while(0);c:do{if((n|0)==119){n=0;A=y+(B<<c[o>>2]<<3)|0;while(1){C=B+v|0;D=c[s>>2]|0;if(C>>>0>=D>>>0){break c}E=b[A>>1]|0;if((E&2)==0){do{if(z>>>0>(c[m>>2]|0)>>>0){E=e[A+ -8>>1]|0;if((E&1|0)==0){F=2;H=0}else{F=E>>>6&2^3;H=1}if(C>>>0>(c[p>>2]|0)>>>0){E=b[A+(~c[f>>2]<<3)>>1]&1}else{E=0}if(C>>>0>=(D+ -1|0)>>>0){break}E=(b[A+((c[f>>2]|0)+ -1<<3)>>1]&1)+E|0}else{E=0;F=2;H=0}}while(0);do{if(z>>>0<((c[q>>2]|0)+ -1|0)>>>0){G=e[A+8>>1]|0;if((G&1|0)!=0){F=F+ -1+(G>>>6&2^2)|0;H=H+1|0}G=c[p>>2]|0;if(C>>>0>G>>>0){E=(b[A+(1-(c[f>>2]|0)<<3)>>1]&1)+E|0}if(C>>>0>=(D+ -1|0)>>>0){break}E=(b[A+((c[f>>2]|0)+1<<3)>>1]&1)+E|0}else{G=c[p>>2]|0}}while(0);do{if(C>>>0>G>>>0){G=e[A+(0-(c[f>>2]|0)<<3)>>1]|0;if((G&1|0)==0){I=2;G=0;break}I=G>>>6&2^3;G=1}else{I=2;G=0}}while(0);do{if(C>>>0<(D+ -1|0)>>>0){C=e[A+(c[f>>2]<<3)>>1]|0;if((C&1|0)==0){break}I=I+ -1+(C>>>6&2^2)|0;G=G+1|0}}while(0);do{if((II(c[h>>2]|0,c[184272+(H*180|0)+(G*60|0)+(E*12|0)+(k<<2)>>2]|0,c[l>>2]|0)|0)!=0){b[A>>1]=b[A>>1]|5;H=A+4|0;c[H>>2]=c[H>>2]<<1|1;H=c[184816+(F*40|0)+(I<<3)+4>>2]|0;if((II(c[h>>2]|0,c[184816+(F*40|0)+(I<<3)>>2]|0,c[l>>2]|0)|0)==(H|0)){break}b[A>>1]=b[A>>1]|128}}while(0);I=A+2|0;b[I>>1]=(b[I>>1]|0)+1<<16>>16}else{b[A>>1]=E&-3}B=B+1|0;if(B>>>0>=4){break c}A=A+(c[f>>2]<<3)|0}}}while(0);z=z+1|0;C=c[q>>2]|0;if(z>>>0>=C>>>0){break}A=c[s>>2]|0;y=y+8|0}A=c[s>>2]|0;v=w}else{v=v+4|0}if(v>>>0>=A>>>0){break a}u=u+(4<<c[o>>2]<<3)|0}}}while(0);c[d>>2]=0;u=0}t=t+1|0;}while(t>>>0<(c[r>>2]|0)>>>0);I=h;I=c[I>>2]|0;EI(I);i=g;return-1}function _D(a,d,f,g,h,j,k,l){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0.0,y=0,z=0,A=0,B=0,C=0,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,Q=0;a=i;s=(c[g+20>>2]|0)+ -1|0;p=g+12|0;v=c[p>>2]|0;if((s|0)<(v|0)){m=d+60|0;n=d+52|0;o=d+76|0}else{r=g+16|0;q=g+8|0;m=d+60|0;n=d+52|0;o=d+76|0;u=c[q>>2]|0;do{w=(c[r>>2]|0)+ -1|0;if((w|0)>=(u|0)){t=(s<<1)-j|0;while(1){Q=(c[m>>2]|0)-(c[n>>2]|0)|0;v=w-u+(da(Q,s-v|0)|0)|0;u=c[o>>2]|0;c[u+((w<<1)-h+(da(Q,t)|0)<<2)>>2]=c[u+(v<<2)>>2];w=w+ -1|0;u=c[q>>2]|0;v=c[p>>2]|0;if((w|0)<(u|0)){break}else{}}}s=s+ -1|0;}while((s|0)>=(v|0))}q=c[d+40>>2]|0;y=q&31;q=q>>>5&7;p=(y|0)==0;t=(f*3|0)+ -2|0;f=d+44|0;r=q+ -1|0;s=d+36|0;u=(c[g+72>>2]|0)+16|0;w=d+68|0;g=d+4|0;y=(y|0)==1;v=0;do{if(p){x=0.0;z=r+((c[(c[f>>2]|0)+(t+v<<2)>>2]|0)>>>3&31)|0}else{x=+((c[(c[f>>2]|0)+((y?0:t+v|0)<<2)>>2]&2047|2048)>>>0)*.00048828125;z=((v|0)==2)+q+(c[g>>2]|0)|0}A=(c[s>>2]|0)==0?z+16|0:z;B=v&1;z=(v|0)!=0|0;G=c[u>>2]|0;C=G+(v*40|0)+20|0;H=c[C>>2]|0;if((H|0)!=0){D=G+(v*40|0)+16|0;I=c[D>>2]|0;F=I;E=0;G=c[G+(v*40|0)+36>>2]|0;do{if((I|0)==0){I=0}else{I=F;F=0;do{L=c[G+4>>2]|0;H=G+12|0;M=c[H>>2]|0;if(L>>>0<M>>>0){I=G+8|0;J=G+28|0;P=c[I>>2]|0;K=c[G+44>>2]|0;while(1){N=da((c[m>>2]|0)-(c[n>>2]|0)|0,(L<<1|z)-j|0)|0;O=c[G>>2]|0;N=(c[o>>2]|0)+(N-h+((O<<1|B)^1)<<2)|0;if(O>>>0<P>>>0){if(p){M=K;while(1){Q=c[M+4>>2]|0;if((Q|0)==0){P=0}else{P=A-(c[J>>2]|0)-(e[M+2>>1]|0)|0;if((P|0)>0){P=(1<<P+ -1)+(Q<<P)|0}else{P=Q>>0-P}P=(c[s>>2]|0)==0?P&-65536:P;P=(b[M>>1]&128)==0?P:0-P|0}c[N>>2]=P;O=O+1|0;P=c[I>>2]|0;if(O>>>0<P>>>0){M=M+8|0;N=N+8|0}else{break}}}else{M=K;while(1){Q=c[M+4>>2]|0;if((Q|0)==0){P=0}else{P=A-(c[J>>2]|0)-(e[M+2>>1]|0)|0;if((P|0)>0){P=(1<<P+ -1)+(Q<<P)|0}else{P=Q>>0-P}P=~~(x*+(P|0));P=(b[M>>1]&128)==0?P:0-P|0}c[N>>2]=P;O=O+1|0;P=c[I>>2]|0;if(O>>>0<P>>>0){M=M+8|0;N=N+8|0}else{break}}}M=c[H>>2]|0}L=L+1|0;if(L>>>0>=M>>>0){break}K=K+(c[w>>2]<<3)|0}I=c[D>>2]|0}G=G+56|0;F=F+1|0;}while(F>>>0<I>>>0);F=I;H=c[C>>2]|0}E=E+1|0;}while(E>>>0<H>>>0)}v=v+1|0;}while(v>>>0<3);p=l-j|0;if((l|0)!=(j|0)){q=c[o>>2]|0;f=0;while(1){$D(0,d,q,1,h,k);f=f+1|0;if(f>>>0<p>>>0){q=q+((c[m>>2]|0)-(c[n>>2]|0)<<2)|0}else{break}}}p=k-h|0;if((k|0)==(h|0)){i=a;return}k=c[o>>2]|0;h=1;while(1){$D(0,d,k,(c[m>>2]|0)-(c[n>>2]|0)|0,j,l);if(h>>>0>=p>>>0){break}k=k+4|0;h=h+1|0}i=a;return}function $D(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0;j=i;a=g-f|0;m=f&1;if((a|0)==1){if((m|0)==0){i=j;return}c[d>>2]=c[d>>2]>>1;i=j;return}h=m+3|0;l=a+h|0;k=c[b+80>>2]|0;g=(g|0)==(f|0);if(!g){f=0;do{c[k+(f+h<<2)>>2]=c[d+((da(f,e)|0)<<2)>>2];f=f+1|0;}while(f>>>0<a>>>0)}c[k+(l<<2)>>2]=c[k+(l+ -2<<2)>>2];do{if((a|0)==2){f=k+((m|4)<<2)|0;c[k+(l+1<<2)>>2]=c[f>>2];c[k+(l+2<<2)>>2]=c[k+(h<<2)>>2];c[k+(l+3<<2)>>2]=c[f>>2]}else{c[k+(l+1<<2)>>2]=c[k+(a+m<<2)>>2];if((a|0)==3){f=k+((m|4)<<2)|0;c[k+(l+2<<2)>>2]=c[f>>2];c[k+(l+3<<2)>>2]=c[k+(m+5<<2)>>2];break}c[k+(l+2<<2)>>2]=c[k+(l+ -4<<2)>>2];if((a|0)==4){f=k+((m|4)<<2)|0;c[k+(l+3<<2)>>2]=c[f>>2];break}else{c[k+(l+3<<2)>>2]=c[k+(l+ -5<<2)>>2];f=k+((m|4)<<2)|0;break}}}while(0);c[k+((m|2)<<2)>>2]=c[f>>2];c[k+(m+1<<2)>>2]=c[k+(m+5<<2)>>2];c[k+(m<<2)>>2]=c[k+((m|6)<<2)>>2];if((h|0)==4){c[k>>2]=c[k+(m+7<<2)>>2]}do{if((c[b+36>>2]|0)==0){b=l+2|0;m=(b|0)==0;if(!m){f=1;do{n=k+(f<<2)|0;c[n>>2]=~~(+(c[n>>2]|0)*1.230174104914001);f=f+2|0;}while(f>>>0<=b>>>0)}n=l+3|0;f=0;do{o=k+(f<<2)|0;c[o>>2]=~~(+(c[o>>2]|0)*.8128930661159609);f=f+2|0;}while(f>>>0<=n>>>0);if(!m){f=c[k>>2]|0;n=1;while(1){o=k+(n<<2)|0;m=c[k+(n+1<<2)>>2]|0;c[o>>2]=~~(+(c[o>>2]|0)- +(m+f|0)*.443506852043971);n=n+2|0;if(n>>>0>b>>>0){break}else{f=m}}}b=l+1|0;if(b>>>0>=2){m=2;do{o=k+(m<<2)|0;c[o>>2]=~~(+(c[o>>2]|0)- +((c[k+((m|1)<<2)>>2]|0)+(c[k+(m+ -1<<2)>>2]|0)|0)*.882911075530934);m=m+2|0;}while(m>>>0<=b>>>0)}if(l>>>0>=3){f=c[k+8>>2]|0;m=3;while(1){o=k+(m<<2)|0;b=c[k+(m+1<<2)>>2]|0;c[o>>2]=~~(+(c[o>>2]|0)- +(b+f|0)*-.052980118572961);m=m+2|0;if(m>>>0>l>>>0){break}else{f=b}}}b=l+ -1|0;if(b>>>0<4){break}else{l=4}do{o=k+(l<<2)|0;c[o>>2]=~~(+(c[o>>2]|0)- +((c[k+((l|1)<<2)>>2]|0)+(c[k+(l+ -1<<2)>>2]|0)|0)*-1.586134342059924);l=l+2|0;}while(l>>>0<=b>>>0)}else{if(l>>>0<3){break}m=c[k+8>>2]|0;f=3;while(1){b=c[k+(f+1<<2)>>2]|0;o=k+(f<<2)|0;c[o>>2]=(c[o>>2]|0)-(m+2+b>>2);f=f+2|0;if(f>>>0>l>>>0){break}else{m=b}}if(l>>>0>4){b=4}else{break}do{o=k+(b<<2)|0;c[o>>2]=((c[k+((b|1)<<2)>>2]|0)+(c[k+(b+ -1<<2)>>2]|0)>>1)+(c[o>>2]|0);b=b+2|0;}while(b>>>0<l>>>0)}}while(0);if(g){i=j;return}else{l=0}do{c[d+((da(l,e)|0)<<2)>>2]=c[k+(l+h<<2)>>2];l=l+1|0;}while(l>>>0<a>>>0);i=j;return}function aE(a){a=a|0;i=i;return 10}function bE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;f=i;j=i;i=i+8|0;h=j;m=i;i=i+16|0;l=m;k=b+16|0;c[k>>2]=13;g=b+24|0;c[g>>2]=0;c[g+4>>2]=0;c[m>>2]=13;m=l+8|0;c[m>>2]=0;c[m+4>>2]=0;c[b>>2]=-3;m=b+164|0;c[m>>2]=d;Lf(k,e)|0;d=FW(20)|0;rt(d,c[m>>2]|0);c[b+4>>2]=d;tt(d,Mf(k,l)|0);c[b+8>>2]=0;a[b+32|0]=1;b=c[k>>2]|0;if((b|0)==8){m=c[g>>2]|0;fd[c[(c[m>>2]|0)+12>>2]&511](m);i=f;return}else{c[j>>2]=b;c[h+4>>2]=8;Qe(0,185712,h);tc()}}function cE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=i;g=i;i=i+8|0;h=g;n=i;i=i+8|0;o=n;k=i;i=i+16|0;m=k;l=b+16|0;c[l>>2]=13;f=b+24|0;c[f>>2]=0;c[f+4>>2]=0;c[k>>2]=13;k=m+8|0;c[k>>2]=0;c[k+4>>2]=0;c[b>>2]=-3;c[b+164>>2]=d;k=c[e>>2]|0;if((k|0)==6){p=c[e+8>>2]|0;c[b+4>>2]=p;a[b+32|0]=0}else if((k|0)==8){o=FW(20)|0;rt(o,d);p=b+4|0;c[p>>2]=o;a[b+32|0]=1;tt(o,Mf(e,m)|0);p=c[p>>2]|0}else{c[n>>2]=k;c[o+4>>2]=6;Qe(0,185712,o);tc()}c[b+8>>2]=0;if((c[p+12>>2]|0)<=0){i=j;return}ut(p,0,l)|0;k=c[l>>2]|0;if((k|0)!=8){c[g>>2]=k;c[h+4>>2]=8;Qe(0,185712,h);tc()}p=c[f>>2]|0;fd[c[(c[p>>2]|0)+12>>2]&511](p);i=j;return}function dE(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;g=i;i=i+8|0;h=g;e=b+16|0;f=c[e>>2]|0;if((f|0)==8){h=c[b+24>>2]|0;fd[c[(c[h>>2]|0)+16>>2]&511](h);Of(e)}else if((f|0)!=13){c[g>>2]=f;c[h+4>>2]=8;Qe(0,185712,h);tc()}if((a[b+32|0]&1)==0){i=d;return}b=c[b+4>>2]|0;if((b|0)==0){i=d;return}st(b);HW(b);i=d;return}function eE(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;f=i;k=i;i=i+8|0;g=k;h=i;i=i+8|0;j=h;e=i;i=i+8|0;d=e;l=c[a>>2]|0;if((l|0)!=-3){c[a>>2]=-3;o=l;i=f;return o|0}n=a+16|0;m=a+24|0;l=a+8|0;a=a+4|0;if(b){b=c[n>>2]|0;if((b|0)==8){o=c[m>>2]|0;o=jd[c[(c[o>>2]|0)+20>>2]&511](o)|0;i=f;return o|0}else if((b|0)==13){o=-1;i=f;return o|0}else{o=e;c[o>>2]=b;o=d+4|0;c[o>>2]=8;o=185712;Qe(0,o,d);tc()}}while(1){b=c[n>>2]|0;if((b|0)==13){b=-1;l=15;break}else if((b|0)!=8){l=7;break}b=c[m>>2]|0;b=jd[c[(c[b>>2]|0)+20>>2]&511](b)|0;if((b|0)!=-1){l=15;break}b=c[n>>2]|0;if((b|0)!=8){l=10;break}b=c[m>>2]|0;fd[c[(c[b>>2]|0)+16>>2]&511](b);Of(n);b=(c[l>>2]|0)+1|0;c[l>>2]=b;o=c[a>>2]|0;if((b|0)>=(c[o+12>>2]|0)){continue}ut(o,b,n)|0;b=c[n>>2]|0;if((b|0)!=8){l=13;break}o=c[m>>2]|0;fd[c[(c[o>>2]|0)+12>>2]&511](o)}if((l|0)==7){o=e;c[o>>2]=b;o=d+4|0;c[o>>2]=8;o=185712;Qe(0,o,d);tc()}else if((l|0)==10){c[h>>2]=b;c[j+4>>2]=8;Qe(0,185712,j);tc()}else if((l|0)==13){c[k>>2]=b;c[g+4>>2]=8;Qe(0,185712,g);tc()}else if((l|0)==15){i=f;return b|0}return 0}function fE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0.0,C=0,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,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0.0,ba=0.0,ca=0.0,da=0.0,ea=0.0;f=i;P=i;i=i+8|0;R=i;i=i+8|0;Q=R;_=i;i=i+8|0;$=_;S=i;i=i+8|0;T=i;i=i+8|0;Z=T;O=i;i=i+8|0;N=O;M=i;i=i+8|0;W=i;i=i+8|0;V=W;J=i;i=i+8|0;H=i;i=i+8|0;L=i;i=i+8|0;K=i;i=i+8|0;E=K;F=i;i=i+8|0;G=F;j=i;i=i+8|0;o=i;i=i+8|0;m=o;k=i;i=i+8|0;w=i;i=i+8|0;t=w;u=i;i=i+8|0;v=u;s=i;i=i+8|0;r=s;l=i;i=i+8|0;n=i;i=i+8|0;p=i;i=i+8|0;q=p;D=i;i=i+8|0;C=D;a:while(1){Y=eE(b,0)|0;if((Y|0)==37){while(1){Y=eE(b,0)|0;if((Y|0)==10|(Y|0)==13){continue a}else if((Y|0)==-1){g=4;break a}}}else if((Y|0)==-1){g=4;break}else{if((a[185104+Y|0]|0)==1){continue}else{break}}}if((g|0)==4){$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=12;i=f;return d|0}switch(Y|0){case 40:{n=b+33|0;y=b+16|0;x=b+24|0;q=(e|0)>0;p=b+164|0;A=0;D=1;C=n;z=0;b:while(1){c:while(1){d:while(1){F=eE(b,0)|0;E=F&255;if((F|0)==40){g=64;break c}else if((F|0)==-1){g=61;break b}else if((F|0)==41){g=65;break}else if((F|0)!=92){F=0;g=96;break c}E=eE(b,0)|0;switch(E|0){case 102:{g=69;break c};case 110:{E=10;F=0;g=96;break c};case 13:{break};case 116:{g=67;break c};case 98:{g=68;break c};case 10:{continue d};case 114:{E=13;F=0;break c};case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:{g=71;break d};case 41:case 40:case 92:{g=70;break c};case-1:{g=91;break b};default:{F=0;break d}}E=c[b>>2]|0;if((E|0)==-3){E=c[y>>2]|0;if((E|0)==8){E=c[x>>2]|0;E=jd[c[(c[E>>2]|0)+20>>2]&511](E)|0}else if((E|0)==13){E=-1}else{g=87;break b}c[b>>2]=(E|0)==-1?-3:E}if((E|0)!=10){continue}eE(b,0)|0}do{if((g|0)==65){g=0;D=D+ -1|0;F=(D|0)==0;E=F?-1:41}else if((g|0)==71){g=0;E=E+ -48|0;F=c[b>>2]|0;if((F|0)==-3){F=c[y>>2]|0;if((F|0)==13){F=-1}else if((F|0)==8){F=c[x>>2]|0;F=jd[c[(c[F>>2]|0)+20>>2]&511](F)|0}else{g=74;break b}c[b>>2]=(F|0)==-1?-3:F}if((F+ -48|0)>>>0>=8){F=0;break}eE(b,0)|0;E=(E<<3)+ -48+F|0;F=c[b>>2]|0;if((F|0)==-3){F=c[y>>2]|0;if((F|0)==8){F=c[x>>2]|0;F=jd[c[(c[F>>2]|0)+20>>2]&511](F)|0}else if((F|0)==13){F=-1}else{g=80;break b}c[b>>2]=(F|0)==-1?-3:F}if((F+ -48|0)>>>0>=8){F=0;break}eE(b,0)|0;E=(E<<3)+ -48+F|0;F=0}}while(0);if((E|0)!=-1){g=95;break}if(F){g=113;break b}}if((g|0)==64){g=0;E=40;F=0;D=D+1|0}else if((g|0)==67){g=0;E=9;F=0}else if((g|0)==68){g=0;E=8;F=0}else if((g|0)==69){g=0;E=12;F=0}else if((g|0)==70){g=0;E=E&255;F=0}else if((g|0)==95){E=E&255;g=96}if((g|0)==96){g=0}do{if((A|0)==128){if((z|0)==0){z=FW(32)|0;ge(z,n,128)}else{ne(z,n,128)|0}if(!q){A=0;C=n;break}A=c[p>>2]|0;if((A|0)==0){A=0;C=n;break}C=c[y>>2]|0;if((C|0)!=8){g=104;break b}$=c[x>>2]|0;if((nn(A,jd[c[(c[$>>2]|0)+48>>2]&511]($)|0)|0)==(e|0)){A=0;C=n}else{g=106;break b}}}while(0);a[C]=E;A=A+1|0;if(F){g=113;break}else{C=C+1|0}}if((g|0)==61){if((c[y>>2]|0)==8){b=c[x>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}else{b=-1}Qe(b,185384,l);g=113}else if((g|0)==74){c[s>>2]=F;c[r+4>>2]=8;Qe(0,185712,r);tc()}else if((g|0)==80){c[u>>2]=F;c[v+4>>2]=8;Qe(0,185712,v);tc()}else if((g|0)==87){c[w>>2]=E;c[t+4>>2]=8;Qe(0,185712,t);tc()}else if((g|0)==91){if((c[y>>2]|0)==8){b=c[x>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}else{b=-1}Qe(b,185384,k);g=113}else if((g|0)==104){c[o>>2]=C;c[m+4>>2]=8;Qe(0,185712,m);tc()}else if((g|0)==106){if((c[y>>2]|0)==8){b=c[x>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}else{b=-1}Qe(b,185384,j);if((z|0)!=0){ke(z);HW(z)}a[n]=E}do{if((g|0)==113){if((A|0)<=-1){break}if((z|0)==0){z=FW(32)|0;ge(z,n,A)}else{ne(z,n,A)|0}$=d+8|0;c[$+4>>2]=0;c[d>>2]=3;c[$>>2]=z;i=f;return d|0}}while(0);$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=12;i=f;return d|0};case 47:{j=b+33|0;m=b+16|0;g=b+24|0;n=0;l=j;k=0;e:while(1){e=c[b>>2]|0;if((e|0)==-3){o=c[m>>2]|0;if((o|0)==13){e=-1}else if((o|0)==8){e=c[g>>2]|0;e=jd[c[(c[e>>2]|0)+20>>2]&511](e)|0}else{g=123;break}c[b>>2]=(e|0)==-1?-3:e}if((e|0)==-1){g=154;break}if((a[185104+e|0]|0)!=0){g=154;break}eE(b,0)|0;o=e&255;f:do{if((e|0)==35){e=c[b>>2]|0;if((e|0)==-3){e=c[m>>2]|0;if((e|0)==8){e=c[g>>2]|0;e=jd[c[(c[e>>2]|0)+20>>2]&511](e)|0}else if((e|0)==13){e=-1}else{g=131;break e}c[b>>2]=(e|0)==-1?-3:e}p=e+ -48|0;do{if(p>>>0>=10){if((e+ -65|0)>>>0<6){p=e+ -55|0;break}if((e+ -97|0)>>>0>=6){break f}p=e+ -87|0}}while(0);eE(b,0)|0;o=p<<4;e=eE(b,0)|0;if((e+ -48|0)>>>0<10){o=o+208+e&255;break}if((e+ -65|0)>>>0<6){o=o+201+e&255;break}if((e+ -97|0)>>>0<6){o=o+169+e&255;break}if((c[m>>2]|0)==8){e=c[g>>2]|0;e=jd[c[(c[e>>2]|0)+48>>2]&511](e)|0}else{e=-1}Qe(e,185408,L);o=o&255}}while(0);if((n|0)==128){if((c[m>>2]|0)==8){n=c[g>>2]|0;n=jd[c[(c[n>>2]|0)+48>>2]&511](n)|0}else{n=-1}if((k|0)!=0){g=152;break}Qe(n,185448,H);k=FW(32)|0;ge(k,j,128);n=0;l=j}a[l]=o;n=n+1|0;l=l+1|0}do{if((g|0)==123){c[F>>2]=o;c[G+4>>2]=8;Qe(0,185712,G);tc()}else if((g|0)==131){c[K>>2]=e;c[E+4>>2]=8;Qe(0,185712,E);tc()}else if((g|0)==152){Qe(n,185528,J);a[l]=0;I=128}else if((g|0)==154){a[l]=0;if((k|0)!=0){I=n;break}$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=4;c[$>>2]=Ge(j)|0;i=f;return d|0}}while(0);ne(k,j,I)|0;_=c[k+28>>2]|0;$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=4;c[$>>2]=Ge(_)|0;ke(k);HW(k);i=f;return d|0};case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:case 43:{j=0;e=(Y|0)==43?0:Y+ -48|0;g=9;break};case 62:{g=c[b>>2]|0;if((g|0)==-3){g=c[b+16>>2]|0;if((g|0)==8){U=c[b+24>>2]|0;U=jd[c[(c[U>>2]|0)+20>>2]&511](U)|0}else if((g|0)==13){U=-1}else{c[T>>2]=g;c[Z+4>>2]=8;Qe(0,185712,Z);tc()}c[b>>2]=(U|0)==-1?-3:U}else{U=g}if((U|0)==62){eE(b,0)|0;a[b+34|0]=62;_=b+33|0;a[_]=62;a[b+35|0]=0;$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=10;c[$>>2]=Ge(_)|0;i=f;return d|0}if((c[b+16>>2]|0)==8){b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}else{b=-1}Qe(b,185616,S);$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=11;i=f;return d|0};case 46:{y=b+16|0;z=b+24|0;x=b;A=0;e=0;g=39;break};case 41:case 123:case 125:{if((c[b+16>>2]|0)==8){b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}else{b=-1}c[_>>2]=Y;Qe(b,185640,$);$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=11;i=f;return d|0};case 60:{j=c[b>>2]|0;if((j|0)==-3){j=c[b+16>>2]|0;if((j|0)==8){X=c[b+24>>2]|0;X=jd[c[(c[X>>2]|0)+20>>2]&511](X)|0}else if((j|0)==13){X=-1}else{c[W>>2]=j;c[V+4>>2]=8;Qe(0,185712,V);tc()}c[b>>2]=(X|0)==-1?-3:X}else{X=j}if((X|0)==60){eE(b,0)|0;a[b+34|0]=60;_=b+33|0;a[_]=60;a[b+35|0]=0;$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=10;c[$>>2]=Ge(_)|0;i=f;return d|0}j=b+33|0;l=b+16|0;k=b+24|0;m=0;o=j;n=0;g:while(1){p=0;e=0;do{do{q=eE(b,0)|0;if((q|0)==62){break g}else if((q|0)==-1){g=169;break g}}while((a[185104+q|0]|0)==1);p=p<<4;do{if((q+ -48|0)>>>0<10){p=p+ -48+q|0}else{if((q+ -65|0)>>>0<6){p=p+ -55+q|0;break}if((q+ -97|0)>>>0<6){p=p+ -87+q|0;break}if((c[l>>2]|0)==8){r=c[k>>2]|0;r=jd[c[(c[r>>2]|0)+48>>2]&511](r)|0}else{r=-1}c[O>>2]=q;Qe(r,185576,N)}}while(0);e=e+1|0;}while((e|0)!=2);do{if((m|0)==128){if((n|0)==0){n=FW(32)|0;ge(n,j,128);m=0;o=j;break}else{ne(n,j,128)|0;m=0;o=j;break}}}while(0);a[o]=p;m=m+1|0;o=o+1|0}if((g|0)==169){if((c[l>>2]|0)==8){b=c[k>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}else{b=-1}Qe(b,185552,M)}if((n|0)==0){n=FW(32)|0;ge(n,j,m)}else{ne(n,j,m)|0}if((e|0)==1){me(n,p<<4&255)|0}$=d+8|0;c[$+4>>2]=0;c[d>>2]=3;c[$>>2]=n;i=f;return d|0};case 91:case 93:{_=b+33|0;a[_]=Y;a[b+34|0]=0;$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=10;c[$>>2]=Ge(_)|0;i=f;return d|0};case 45:{j=1;e=0;g=9;break};default:{j=b+33|0;a[j]=Y;m=b+16|0;n=b+24|0;l=2;k=b+34|0;while(1){o=c[b>>2]|0;if((o|0)==-3){o=c[m>>2]|0;if((o|0)==13){o=-1}else if((o|0)==8){o=c[n>>2]|0;o=jd[c[(c[o>>2]|0)+20>>2]&511](o)|0}else{g=211;break}c[b>>2]=(o|0)==-1?-3:o}if((o|0)==-1){break}if((a[185104+o|0]|0)!=0){break}eE(b,0)|0;if((l|0)==128){g=216;break}a[k]=o;l=l+1|0;k=k+1|0}if((g|0)==211){c[R>>2]=o;c[Q+4>>2]=8;Qe(0,185712,Q);tc()}if((g|0)==216){if((c[m>>2]|0)==8){b=c[n>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}else{b=-1}Qe(b,185664,P)}a[k]=0;b=a[j]|0;do{if(b<<24>>24==110){if((Qc(j|0,185704)|0)!=0){break}$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=5;i=f;return d|0}else if(b<<24>>24==102){if((Qc(j|0,185696)|0)!=0){break}$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=0;a[$]=0;i=f;return d|0}else if(b<<24>>24==116){if((Qc(j|0,185688)|0)!=0){break}$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=0;a[$]=1;i=f;return d|0}}while(0);$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=10;c[$>>2]=Ge(j)|0;i=f;return d|0}}do{if((g|0)==9){l=b+16|0;k=b+24|0;r=0;o=0;ca=0.0;m=0;h:while(1){aa=+(m>>>0);ba=aa*10.0;while(1){while(1){if(!r){break}s=c[b>>2]|0;if((s|0)==-3){s=c[l>>2]|0;if((s|0)==13){s=-1}else if((s|0)==8){s=c[k>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0}else{g=21;break h}c[b>>2]=(s|0)==-1?-3:s}if((s+ -48|0)>>>0>=10){r=1;g=32;break h}eE(b,0)|0;if(o){g=25;break}o=1;ca=ba+ +(s+ -48|0)}if((g|0)==25){g=0;r=1;o=1;ca=ca*10.0+ +(s+ -48|0);continue}while(1){s=c[b>>2]|0;if((s|0)==-3){s=c[l>>2]|0;if((s|0)==13){s=-1}else if((s|0)==8){s=c[k>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0}else{g=21;break h}c[b>>2]=(s|0)==-1?-3:s}if((s+ -48|0)>>>0>=10){r=0;g=32;break h}eE(b,0)|0;if((e|0)>214748363){ea=+(e|0);if(ea>+(-2147483601-s|0)/10.0){break}}e=(e*10|0)+ -48+s|0}da=ea*10.0+ +(s+ -48|0);if(ea>+((47-s|0)>>>0)/10.0){r=1;o=1;ca=da}else{break}}r=1;m=~~da>>>0}if((g|0)==21){c[D>>2]=s;c[C+4>>2]=8;Qe(0,185712,C);tc()}else if((g|0)==32){if((s|0)==46){eE(b,0)|0;if(!r){y=l;z=k;x=b;A=j;g=39;break}x=b;y=l;z=k;A=j;B=o?ca:aa;break}b=d+8|0;if(!r){c[b+4>>2]=0;c[d>>2]=1;c[b>>2]=j?0-e|0:e;i=f;return d|0}if(o){c[b>>2]=0;c[b+4>>2]=0;c[d>>2]=11;i=f;return d|0}else{c[b+4>>2]=0;c[d>>2]=14;c[b>>2]=m;i=f;return d|0}}}}while(0);if((g|0)==39){B=+(e|0)}aa=.1;i:while(1){while(1){j=c[x>>2]|0;if((j|0)==-3){j=c[y>>2]|0;if((j|0)==13){j=-1}else if((j|0)==8){j=c[z>>2]|0;j=jd[c[(c[j>>2]|0)+20>>2]&511](j)|0}else{g=46;break i}c[x>>2]=(j|0)==-1?-3:j}if((j|0)!=45){break}if((c[y>>2]|0)==8){j=c[z>>2]|0;j=jd[c[(c[j>>2]|0)+48>>2]&511](j)|0}else{j=-1}Qe(j,185360,n);eE(b,0)|0}j=j+ -48|0;if(j>>>0>=10){break}eE(b,0)|0;ea=B+aa*+(j|0);aa=aa*.1;B=ea}if((g|0)==46){c[p>>2]=j;c[q+4>>2]=8;Qe(0,185712,q);tc()}if(A){B=-0.0-B}c[d>>2]=2;h[d+8>>3]=B;i=f;return d|0}function gE(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=i;d=i;i=i+8|0;e=d;while(1){h=eE(a,0)|0;if((h|0)==13){break}else if((h|0)==10|(h|0)==-1){g=10;break}}if((g|0)==10){i=b;return}g=c[a>>2]|0;if((g|0)==-3){g=c[a+16>>2]|0;if((g|0)==8){f=c[a+24>>2]|0;f=jd[c[(c[f>>2]|0)+20>>2]&511](f)|0}else if((g|0)==13){f=-1}else{c[d>>2]=g;c[e+4>>2]=8;Qe(0,185712,e);tc()}c[a>>2]=(f|0)==-1?-3:f}else{f=g}if((f|0)!=10){i=b;return}eE(a,0)|0;i=b;return}function hE(b){b=b|0;var c=0;c=i;if(b>>>0>=256){b=0;i=c;return b|0}b=(a[185104+b|0]|0)==1;i=c;return b|0}function iE(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0,u=0,v=0,w=0,x=0;n=i;u=i;i=i+16|0;k=u;s=i;i=i+16|0;j=s;r=i;i=i+16|0;g=r;p=i;i=i+16|0;l=p;m=a+8|0;d=m+4|0;c[u>>2]=13;v=k+8|0;c[v>>2]=0;f=v+4|0;c[f>>2]=0;c[s>>2]=13;q=j+8|0;c[q>>2]=0;c[q+4>>2]=0;c[r>>2]=13;q=g+8|0;c[q>>2]=0;c[q+4>>2]=0;c[p>>2]=13;o=l+8|0;c[o>>2]=0;c[o+4>>2]=0;c[m>>2]=0;c[d>>2]=0;c[a>>2]=5;fd[c[(c[b>>2]|0)+12>>2]&511](b);c[v>>2]=0;c[f>>2]=0;c[u>>2]=5;f=FW(56)|0;v=FW(168)|0;w=c[b>>2]|0;x=c[w+96>>2]|0;w=jd[c[w+108>>2]&511](b)|0;bE(v,0,Cd[x&63](b,w,0,0,k)|0);aG(f,0,v,0);cG(f,k,0,0,0,0,0)|0;cG(f,j,0,0,0,0,0)|0;cG(f,g,0,0,0,0,0)|0;cG(f,a,0,0,0,0,0)|0;do{if((c[u>>2]|0)==1){if((c[s>>2]|0)!=1){break}if((c[r>>2]|0)!=10){break}if((Qc(c[q>>2]|0,185784)|0)!=0){break}if((c[a>>2]|0)!=7){break}Yu(c[m>>2]|0,185792,l,0)|0;p=c[p>>2]|0;if((p+ -1|0)>>>0<2){if((p|0)==1){t=+(c[o>>2]|0)}else{t=+h[o>>3]}if(t<=0.0){e=11}}else{e=11}if((e|0)==11){Of(a);c[m>>2]=0;c[d>>2]=0;c[a>>2]=5}Of(l)}}while(0);Of(g);Of(j);Of(k);if((f|0)==0){i=n;return}bG(f);HW(f);i=n;return}function jE(a){a=a|0;var b=0;b=i;Of(a);i=b;return}function kE(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=i;i=i+8|0;e=i;i=i+8|0;if((c[a>>2]|0)!=7){e=0;i=b;return e|0}f=_u(c[a+8>>2]|0,185808,0,e)|0;a=c[e>>2]|0;if(f&(a|0)>0){f=a;i=b;return f|0}Qe(-1,185816,d);f=0;i=b;return f|0}function lE(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;d=i;f=i;i=i+8|0;g=i;i=i+8|0;j=g;m=i;i=i+8|0;n=m;o=i;i=i+16|0;b=o;k=i;i=i+16|0;e=k;c[o>>2]=13;l=b+8|0;c[l>>2]=0;c[l+4>>2]=0;c[k>>2]=13;h=e+8|0;c[h>>2]=0;c[h+4>>2]=0;do{if((c[a>>2]|0)==7){if((c[(Yu(c[a+8>>2]|0,185864,b,0)|0)>>2]|0)!=6){break}a=c[o>>2]|0;if((a|0)!=6){c[m>>2]=a;c[n+4>>2]=6;Qe(0,186424,n);tc()}l=c[l>>2]|0;if((c[l+12>>2]|0)<=1){break}if((c[(ut(l,0,e)|0)>>2]|0)!=1){break}k=c[k>>2]|0;if((k|0)!=1){c[g>>2]=k;c[j+4>>2]=1;Qe(0,186424,j);tc()}g=c[h>>2]|0;if((g|0)<=0){break}Of(e);Of(b);i=d;return g|0}}while(0);Qe(-1,185872,f);o=0;Of(e);Of(b);i=d;return o|0}function mE(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;d=i;f=i;i=i+8|0;g=i;i=i+8|0;j=g;m=i;i=i+8|0;n=m;o=i;i=i+16|0;b=o;k=i;i=i+16|0;e=k;c[o>>2]=13;l=b+8|0;c[l>>2]=0;c[l+4>>2]=0;c[k>>2]=13;h=e+8|0;c[h>>2]=0;c[h+4>>2]=0;do{if((c[a>>2]|0)==7){if((c[(Yu(c[a+8>>2]|0,185864,b,0)|0)>>2]|0)!=6){break}a=c[o>>2]|0;if((a|0)!=6){c[m>>2]=a;c[n+4>>2]=6;Qe(0,186424,n);tc()}l=c[l>>2]|0;if((c[l+12>>2]|0)<=1){break}if((c[(ut(l,1,e)|0)>>2]|0)!=1){break}k=c[k>>2]|0;if((k|0)!=1){c[g>>2]=k;c[j+4>>2]=1;Qe(0,186424,j);tc()}g=c[h>>2]|0;if((g|0)<=0){break}Of(e);Of(b);i=d;return g|0}}while(0);Qe(-1,185928,f);o=0;Of(e);Of(b);i=d;return o|0}function nE(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;e=i;f=i;i=i+8|0;g=i;i=i+8|0;j=g;m=i;i=i+8|0;n=m;o=i;i=i+16|0;d=o;k=i;i=i+16|0;b=k;c[o>>2]=13;l=d+8|0;c[l>>2]=0;c[l+4>>2]=0;c[k>>2]=13;h=b+8|0;c[h>>2]=0;c[h+4>>2]=0;if((c[a>>2]|0)!=7){o=0;Of(b);Of(d);i=e;return o|0}if((c[(Yu(c[a+8>>2]|0,185864,d,0)|0)>>2]|0)!=6){o=0;Of(b);Of(d);i=e;return o|0}a=c[o>>2]|0;if((a|0)!=6){c[m>>2]=a;c[n+4>>2]=6;Qe(0,186424,n);tc()}l=c[l>>2]|0;if((c[l+12>>2]|0)<=3){o=0;Of(b);Of(d);i=e;return o|0}do{if((c[(ut(l,2,b)|0)>>2]|0)==1){k=c[k>>2]|0;if((k|0)!=1){c[g>>2]=k;c[j+4>>2]=1;Qe(0,186424,j);tc()}g=c[h>>2]|0;if((g|0)<=0){break}Of(b);Of(d);i=e;return g|0}}while(0);Qe(-1,185984,f);o=0;Of(b);Of(d);i=e;return o|0}function oE(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;e=i;f=i;i=i+8|0;g=i;i=i+8|0;j=g;m=i;i=i+8|0;n=m;o=i;i=i+16|0;d=o;k=i;i=i+16|0;b=k;c[o>>2]=13;l=d+8|0;c[l>>2]=0;c[l+4>>2]=0;c[k>>2]=13;h=b+8|0;c[h>>2]=0;c[h+4>>2]=0;if((c[a>>2]|0)!=7){o=0;Of(b);Of(d);i=e;return o|0}if((c[(Yu(c[a+8>>2]|0,185864,d,0)|0)>>2]|0)!=6){o=0;Of(b);Of(d);i=e;return o|0}a=c[o>>2]|0;if((a|0)!=6){c[m>>2]=a;c[n+4>>2]=6;Qe(0,186424,n);tc()}l=c[l>>2]|0;if((c[l+12>>2]|0)<=3){o=0;Of(b);Of(d);i=e;return o|0}do{if((c[(ut(l,3,b)|0)>>2]|0)==1){k=c[k>>2]|0;if((k|0)!=1){c[g>>2]=k;c[j+4>>2]=1;Qe(0,186424,j);tc()}g=c[h>>2]|0;if((g|0)<=0){break}Of(b);Of(d);i=e;return g|0}}while(0);Qe(-1,186048,f);o=0;Of(b);Of(d);i=e;return o|0}function pE(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=i;i=i+8|0;e=i;i=i+8|0;c[e>>2]=0;do{if((c[a>>2]|0)==7){f=_u(c[a+8>>2]|0,186112,0,e)|0;a=c[e>>2]|0;if(!(f&(a|0)>0)){break}i=b;return a|0}}while(0);Qe(-1,186120,d);f=0;i=b;return f|0}function qE(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=i;i=i+8|0;e=i;i=i+8|0;c[e>>2]=0;do{if((c[a>>2]|0)==7){f=_u(c[a+8>>2]|0,186184,0,e)|0;a=c[e>>2]|0;if(!(f&(a|0)>0)){break}i=b;return a|0}}while(0);Qe(-1,186192,d);f=0;i=b;return f|0}function rE(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=i;i=i+8|0;e=i;i=i+8|0;c[e>>2]=0;do{if((c[a>>2]|0)==7){f=_u(c[a+8>>2]|0,186248,0,e)|0;a=c[e>>2]|0;if(!(f&(a|0)>0)){break}i=b;return a|0}}while(0);Qe(-1,186256,d);f=0;i=b;return f|0}function sE(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=i;i=i+8|0;e=i;i=i+8|0;c[e>>2]=0;do{if((c[a>>2]|0)==7){f=_u(c[a+8>>2]|0,186304,0,e)|0;a=c[e>>2]|0;if(!(f&(a|0)>0)){break}i=b;return a|0}}while(0);Qe(-1,186312,d);f=0;i=b;return f|0}function tE(a){a=a|0;var b=0,d=0,e=0;b=i;d=i;i=i+8|0;e=i;i=i+8|0;c[e>>2]=0;if((c[a>>2]|0)!=7){e=0;i=b;return e|0}_u(c[a+8>>2]|0,186368,0,e)|0;a=c[e>>2]|0;if((a|0)>=0){e=a;i=b;return e|0}Qe(-1,186376,d);e=0;i=b;return e|0}function uE(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;d=i;z=i;i=i+8|0;y=z;m=i;i=i+8|0;l=m;k=i;i=i+8|0;o=k;p=i;i=i+8|0;q=p;s=i;i=i+8|0;t=s;v=i;i=i+8|0;w=v;x=i;i=i+8|0;u=x;n=i;i=i+8|0;C=n;A=i;i=i+16|0;e=A;h=i;i=i+16|0;f=h;D=i;i=i+16|0;r=D;c[A>>2]=13;B=e+8|0;c[B>>2]=0;c[B+4>>2]=0;c[h>>2]=13;g=f+8|0;c[g>>2]=0;c[g+4>>2]=0;c[D>>2]=13;D=r+8|0;c[D>>2]=0;c[D+4>>2]=0;if((c[a>>2]|0)!=7){if((b|0)==0){e=186544}else{e=c[b+28>>2]|0}c[n>>2]=e;Qe(-1,186496,C);D=0;i=d;return D|0}n=a+8|0;Yu(c[n>>2]|0,186552,e,0)|0;if((c[A>>2]|0)!=4){if((b|0)==0){f=186544}else{f=c[b+28>>2]|0}c[z>>2]=f;Qe(-1,186696,y);Of(e);D=0;i=d;return D|0}y=c[B>>2]|0;do{if((Qc(y|0,186560)|0)==0){g=c[a>>2]|0;if((g|0)==7){Yu(c[n>>2]|0,186568,f,0)|0;j=FW(12)|0;wE(j,f);Of(f);break}else{c[x>>2]=g;c[u+4>>2]=7;Qe(0,188448,u);tc()}}else{if((Qc(y|0,186576)|0)==0){u=c[a>>2]|0;if((u|0)!=7){c[v>>2]=u;c[w+4>>2]=7;Qe(0,188448,w);tc()}Yu(c[n>>2]|0,186584,f,0)|0;u=c[a>>2]|0;if((u|0)==7){Yu(c[n>>2]|0,186568,r,0)|0;j=FW(16)|0;zE(j,f,r);Of(f);Of(r);break}else{c[s>>2]=u;c[t+4>>2]=7;Qe(0,188448,t);tc()}}if((Qc(y|0,186592)|0)==0){j=FW(12)|0;CE(j,a);break}if((Qc(y|0,186600)|0)==0){r=c[a>>2]|0;if((r|0)==7){Yu(c[n>>2]|0,186600,f,0)|0;j=FW(8)|0;FE(j,f,b);Of(f);break}else{c[p>>2]=r;c[q+4>>2]=7;Qe(0,188448,q);tc()}}if((Qc(y|0,186608)|0)==0){j=c[a>>2]|0;if((j|0)!=7){c[k>>2]=j;c[o+4>>2]=7;Qe(0,188448,o);tc()}Yu(c[n>>2]|0,186616,f,0)|0;j=FW(8)|0;c[j>>2]=187200;k=j+4|0;c[k>>2]=0;if((c[h>>2]|0)==4){D=FW(32)|0;fe(D,c[g>>2]|0);c[k>>2]=D}Of(f);break}if((Qc(y|0,186624)|0)==0){j=FW(20)|0;KE(j,a);break}if((Qc(y|0,186632)|0)==0){j=FW(56)|0;QE(j,a);break}if((Qc(y|0,186648)|0)==0){j=FW(24)|0;NE(j,a);break}if((Qc(y|0,186656)|0)==0){g=c[a>>2]|0;if((g|0)==7){Yu(c[n>>2]|0,186672,f,0)|0;j=FW(8)|0;TE(j,f);Of(f);break}else{c[m>>2]=g;c[l+4>>2]=7;Qe(0,188448,l);tc()}}else{if((Qc(y|0,186680)|0)==0){j=FW(12)|0;WE(j,a);break}else{j=FW(8)|0;c[j>>2]=188048;D=FW(32)|0;fe(D,y);c[j+4>>2]=D;break}}}}while(0);Of(e);if((j|0)==0){D=0;i=d;return D|0}if(jd[c[(c[j>>2]|0)+8>>2]&511](j)|0){D=j;i=d;return D|0}fd[c[(c[j>>2]|0)+4>>2]&511](j);D=0;i=d;return D|0}function vE(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0.0;j=i;T=i;i=i+8|0;N=i;i=i+8|0;S=i;i=i+8|0;L=i;i=i+8|0;V=i;i=i+8|0;W=i;i=i+8|0;p=i;i=i+16|0;o=p;s=i;i=i+8|0;v=i;i=i+16|0;t=v;z=i;i=i+8|0;D=i;i=i+16|0;C=D;F=i;i=i+8|0;K=i;i=i+16|0;I=K;O=i;i=i+8|0;R=i;i=i+8|0;H=i;i=i+8|0;Q=i;i=i+8|0;J=i;i=i+8|0;U=i;i=i+8|0;P=i;i=i+8|0;u=i;i=i+8|0;B=i;i=i+8|0;M=i;i=i+8|0;Z=i;i=i+8|0;$=i;i=i+8|0;X=i;i=i+16|0;e=X;m=i;i=i+16|0;g=m;c[X>>2]=13;_=e+8|0;c[_>>2]=0;Y=_+4|0;c[Y>>2]=0;c[m>>2]=13;l=g+8|0;c[l>>2]=0;c[l+4>>2]=0;q=b+48|0;k=b+40|0;r=b+32|0;y=b+24|0;n=b+16|0;w=b+58|0;x=b+57|0;E=b+56|0;f=b+59|0;A=d+12|0;bX(n|0,0,44)|0;if((c[A>>2]|0)<2){Qe(-1,186760,$);i=j;return}vt(d,0,e)|0;$=c[X>>2]|0;if(($|0)==9){c[b+8>>2]=c[_>>2];c[b+12>>2]=c[Y>>2];a[b+4|0]=1;G=7}else if(($|0)==1){c[b+8>>2]=(c[_>>2]|0)+1;a[b+4|0]=0;G=7}else{Qe(-1,186808,Z)}a:do{if((G|0)==7){Of(e);ut(d,1,e)|0;b:do{if((c[X>>2]|0)==4){X=c[_>>2]|0;c:do{if((Qc(X|0,186840)|0)==0){c[b>>2]=0;do{if((c[A>>2]|0)<3){a[E]=0;G=20}else{ut(d,2,g)|0;b=c[m>>2]|0;if((b|0)==5){a[E]=0}else{if((b+ -1|0)>>>0>=2){Qe(-1,186848,M);break}a[E]=1;if((b|0)==1){aa=+(c[l>>2]|0)}else{aa=+h[l>>3]}h[n>>3]=aa}Of(g);G=20}}while(0);do{if((G|0)==20){if((c[A>>2]|0)<4){a[x]=0}else{ut(d,3,g)|0;b=c[m>>2]|0;if((b|0)==5){a[x]=0}else{if((b+ -1|0)>>>0>=2){Qe(-1,186848,B);break}a[x]=1;if((b|0)==1){aa=+(c[l>>2]|0)}else{aa=+h[l>>3]}h[k>>3]=aa}Of(g)}if((c[A>>2]|0)<5){a[w]=0;break c}ut(d,4,g)|0;k=c[m>>2]|0;if((k|0)==5){a[w]=0}else{if((k+ -1|0)>>>0>=2){Qe(-1,186848,u);break}a[w]=1;if((k|0)==1){aa=+(c[l>>2]|0)}else{aa=+h[l>>3]}h[q>>3]=aa}Of(g);break c}}while(0);Of(g);break a}else{if((Qc(X|0,186888)|0)==0){if((c[A>>2]|0)<2){Qe(-1,186760,P);break a}else{c[b>>2]=1;break}}if((Qc(X|0,186896)|0)==0){if((c[A>>2]|0)<3){Qe(-1,186760,U);break a}c[b>>2]=2;ut(d,2,g)|0;d=c[m>>2]|0;do{if((d|0)==5){a[x]=0}else{if((d+ -1|0)>>>0>=2){Qe(-1,186848,J);c[b>>2]=1;break}a[x]=1;if((d|0)==1){aa=+(c[l>>2]|0)}else{aa=+h[l>>3]}h[k>>3]=aa}}while(0);Of(g);break}if((Qc(X|0,186904)|0)==0){if((c[A>>2]|0)<3){Qe(-1,186760,Q);break a}c[b>>2]=3;ut(d,2,g)|0;k=c[m>>2]|0;do{if((k|0)==5){a[E]=0}else{if((k+ -1|0)>>>0>=2){Qe(-1,186848,H);c[b>>2]=1;break}a[E]=1;if((k|0)==1){aa=+(c[l>>2]|0)}else{aa=+h[l>>3]}h[n>>3]=aa}}while(0);Of(g);break}if((Qc(X|0,186912)|0)!=0){if((Qc(X|0,186920)|0)==0){if((c[A>>2]|0)<2){Qe(-1,186760,W);break a}else{c[b>>2]=5;break}}if((Qc(X|0,186928)|0)==0){if((c[A>>2]|0)<3){Qe(-1,186760,V);break a}c[b>>2]=6;ut(d,2,g)|0;d=c[m>>2]|0;do{if((d|0)==5){a[x]=0}else{if((d+ -1|0)>>>0>=2){Qe(-1,186848,L);c[b>>2]=1;break}a[x]=1;if((d|0)==1){aa=+(c[l>>2]|0)}else{aa=+h[l>>3]}h[k>>3]=aa}}while(0);Of(g);break}if((Qc(X|0,186936)|0)!=0){break b}if((c[A>>2]|0)<3){Qe(-1,186760,S);break a}c[b>>2]=7;ut(d,2,g)|0;k=c[m>>2]|0;do{if((k|0)==5){a[E]=0}else{if((k+ -1|0)>>>0>=2){Qe(-1,186848,N);c[b>>2]=1;break}a[E]=1;if((k|0)==1){aa=+(c[l>>2]|0)}else{aa=+h[l>>3]}h[n>>3]=aa}}while(0);Of(g);break}if((c[A>>2]|0)<6){Qe(-1,186760,R);break a}c[b>>2]=4;if(((c[(ut(d,2,g)|0)>>2]|0)+ -1|0)>>>0>=2){Qe(-1,186848,O);c[b>>2]=1}q=c[m>>2]|0;if((q+ -1|0)>>>0>=2){c[K>>2]=q;c[I+4>>2]=1;c[I+8>>2]=2;Qe(0,188520,I);tc()}if((q|0)==1){aa=+(c[l>>2]|0)}else{aa=+h[l>>3]}h[n>>3]=aa;Of(g);if(((c[(ut(d,3,g)|0)>>2]|0)+ -1|0)>>>0>=2){Qe(-1,186848,F);c[b>>2]=1}n=c[m>>2]|0;if((n+ -1|0)>>>0>=2){c[D>>2]=n;c[C+4>>2]=1;c[C+8>>2]=2;Qe(0,188520,C);tc()}if((n|0)==1){aa=+(c[l>>2]|0)}else{aa=+h[l>>3]}h[y>>3]=aa;Of(g);if(((c[(ut(d,4,g)|0)>>2]|0)+ -1|0)>>>0>=2){Qe(-1,186848,z);c[b>>2]=1}n=c[m>>2]|0;if((n+ -1|0)>>>0>=2){c[v>>2]=n;c[t+4>>2]=1;c[t+8>>2]=2;Qe(0,188520,t);tc()}if((n|0)==1){aa=+(c[l>>2]|0)}else{aa=+h[l>>3]}h[r>>3]=aa;Of(g);if(((c[(ut(d,5,g)|0)>>2]|0)+ -1|0)>>>0>=2){Qe(-1,186848,s);c[b>>2]=1}d=c[m>>2]|0;if((d+ -1|0)>>>0>=2){c[p>>2]=d;c[o+4>>2]=1;c[o+8>>2]=2;Qe(0,188520,o);tc()}if((d|0)==1){aa=+(c[l>>2]|0)}else{aa=+h[l>>3]}h[k>>3]=aa;Of(g)}}while(0);Of(e);a[f]=1;i=j;return}}while(0);Qe(-1,186944,T)}}while(0);Of(e);i=j;return}function wE(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;g=i;i=i+8|0;c[b>>2]=186992;f=b+4|0;c[f>>2]=0;b=b+8|0;c[b>>2]=0;h=c[d>>2]|0;if((h|0)==4){h=FW(32)|0;fe(h,c[d+8>>2]|0);c[b>>2]=h;i=e;return}else if((h|0)==3){g=c[d+8>>2]|0;h=FW(32)|0;ie(h,g);c[b>>2]=h;i=e;return}else if((h|0)==6){g=FW(64)|0;vE(g,c[d+8>>2]|0);c[f>>2]=g;if((a[g+59|0]&1)!=0){i=e;return}if((g|0)!=0){HW(g)}c[f>>2]=0;i=e;return}else{Qe(-1,187008,g);i=e;return}}function xE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=186992;d=c[a+4>>2]|0;if((d|0)!=0){HW(d)}d=c[a+8>>2]|0;if((d|0)==0){HW(a);i=b;return}ke(d);HW(d);HW(a);i=b;return}function yE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=186992;d=c[a+4>>2]|0;if((d|0)!=0){HW(d)}a=c[a+8>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function zE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;f=i;h=i;i=i+8|0;j=i;i=i+8|0;k=j;o=i;i=i+16|0;m=o;c[b>>2]=187048;l=b+4|0;c[l>>2]=0;g=b+8|0;c[g>>2]=0;b=b+12|0;c[b>>2]=0;c[o>>2]=13;n=m+8|0;c[n>>2]=0;c[n+4>>2]=0;do{if(CH(d,m)|0){o=c[o>>2]|0;if((o|0)==3){o=c[n>>2]|0;d=FW(32)|0;ie(d,o);c[l>>2]=d;Of(m);break}else{c[j>>2]=o;c[k+4>>2]=3;Qe(0,188448,k);tc()}}}while(0);j=c[e>>2]|0;if((j|0)==3){o=c[e+8>>2]|0;d=FW(32)|0;ie(d,o);c[b>>2]=d;i=f;return}else if((j|0)==4){d=FW(32)|0;fe(d,c[e+8>>2]|0);c[b>>2]=d;i=f;return}else if((j|0)==6){h=FW(64)|0;vE(h,c[e+8>>2]|0);c[g>>2]=h;if((a[h+59|0]&1)!=0){i=f;return}if((h|0)!=0){HW(h)}c[g>>2]=0;i=f;return}else{Qe(-1,187008,h);i=f;return}}function AE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187048;d=c[a+4>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+8>>2]|0;if((d|0)!=0){HW(d)}d=c[a+12>>2]|0;if((d|0)==0){HW(a);i=b;return}ke(d);HW(d);HW(a);i=b;return}function BE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187048;d=c[a+4>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+8>>2]|0;if((d|0)!=0){HW(d)}a=c[a+12>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function CE(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0;d=i;x=i;i=i+8|0;h=i;i=i+8|0;g=h;p=i;i=i+8|0;k=p;r=i;i=i+8|0;t=r;v=i;i=i+8|0;w=v;y=i;i=i+8|0;z=y;A=i;i=i+8|0;B=A;s=i;i=i+16|0;e=s;l=i;i=i+16|0;f=l;u=i;i=i+16|0;n=u;c[a>>2]=187072;c[s>>2]=13;o=e+8|0;c[o>>2]=0;c[o+4>>2]=0;c[l>>2]=13;j=f+8|0;c[j>>2]=0;c[j+4>>2]=0;c[u>>2]=13;q=n+8|0;c[q>>2]=0;c[q+4>>2]=0;m=a+4|0;c[m>>2]=0;a=a+8|0;c[a>>2]=0;if((c[b>>2]|0)!=7){i=d;return}C=b+8|0;do{if((c[(Yu(c[C>>2]|0,186584,e,0)|0)>>2]|0)==5){Of(e);A=c[b>>2]|0;if((A|0)!=7){c[y>>2]=A;c[z+4>>2]=7;Qe(0,188448,z);tc()}if((c[(Yu(c[C>>2]|0,187088,e,0)|0)>>2]|0)!=7){Qe(-1,187104,x);break}x=c[s>>2]|0;if((x|0)!=7){c[v>>2]=x;c[w+4>>2]=7;Qe(0,188448,w);tc()}Yu(c[o>>2]|0,186584,f,0)|0;do{if(CH(f,n)|0){u=c[u>>2]|0;if((u|0)==3){b=c[q>>2]|0;C=FW(32)|0;ie(C,b);c[m>>2]=C;Of(n);break}else{c[r>>2]=u;c[t+4>>2]=3;Qe(0,188448,t);tc()}}}while(0);Of(f);m=c[s>>2]|0;if((m|0)!=7){c[p>>2]=m;c[k+4>>2]=7;Qe(0,188448,k);tc()}do{if((c[(Yu(c[o>>2]|0,187096,f,0)|0)>>2]|0)==3){k=c[l>>2]|0;if((k|0)==3){b=c[j>>2]|0;C=FW(32)|0;ie(C,b);c[a>>2]=C;break}else{c[h>>2]=k;c[g+4>>2]=3;Qe(0,188448,g);tc()}}}while(0);Of(f)}else{if(!(CH(e,n)|0)){break}f=c[u>>2]|0;if((f|0)==3){b=c[q>>2]|0;C=FW(32)|0;ie(C,b);c[m>>2]=C;Of(n);break}else{c[A>>2]=f;c[B+4>>2]=3;Qe(0,188448,B);tc()}}}while(0);Of(e);i=d;return}function DE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187072;d=c[a+4>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+8>>2]|0;if((d|0)==0){HW(a);i=b;return}ke(d);HW(d);HW(a);i=b;return}function EE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187072;d=c[a+4>>2]|0;if((d|0)!=0){ke(d);HW(d)}a=c[a+8>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function FE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;f=i;g=i;i=i+8|0;c[b>>2]=187144;b=b+4|0;c[b>>2]=0;if((c[d>>2]|0)!=3){Qe(-1,187168,g);i=f;return}j=c[d+8>>2]|0;d=FW(32)|0;ie(d,j);do{if((e|0)!=0){if((c[e+24>>2]|0)<=0){break}g=d+28|0;j=c[g>>2]|0;h=Kc(j|0,187160)|0;do{if((h|0)!=(c[d+24>>2]|0)){if((a[j+h|0]|0)==47){break}c[b>>2]=d;i=f;return}}while(0);h=FW(32)|0;ie(h,e);c[b>>2]=h;j=a[(c[h+28>>2]|0)+((c[h+24>>2]|0)+ -1)|0]|0;do{if(j<<24>>24==63|j<<24>>24==47){if((a[c[g>>2]|0]|0)==47){re(d,0,1)|0;h=c[b>>2]|0}oe(h,d)|0}else{if((a[c[g>>2]|0]|0)!=47){me(h,47)|0;h=c[b>>2]|0}oe(h,d)|0;if((d|0)!=0){break}i=f;return}}while(0);ke(d);HW(d);i=f;return}}while(0);c[b>>2]=d;i=f;return}function GE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187144;d=c[a+4>>2]|0;if((d|0)==0){HW(a);i=b;return}ke(d);HW(d);HW(a);i=b;return}function HE(a){a=a|0;var b=0;b=i;c[a>>2]=187144;a=c[a+4>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function IE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187200;d=c[a+4>>2]|0;if((d|0)==0){HW(a);i=b;return}ke(d);HW(d);HW(a);i=b;return}function JE(a){a=a|0;var b=0;b=i;c[a>>2]=187200;a=c[a+4>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function KE(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=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,w=0,x=0;d=i;g=i;i=i+8|0;h=g;j=i;i=i+8|0;k=j;o=i;i=i+8|0;m=i;i=i+8|0;n=m;s=i;i=i+8|0;r=s;u=i;i=i+8|0;t=u;v=i;i=i+8|0;x=v;l=i;i=i+16|0;e=l;c[a>>2]=187224;p=a+4|0;c[p>>2]=-1;q=a+12|0;c[q>>2]=0;c[l>>2]=13;f=e+8|0;c[f>>2]=0;c[f+4>>2]=0;w=c[b>>2]|0;if((w|0)!=7){c[v>>2]=w;c[x+4>>2]=7;Qe(0,188448,x);tc()}v=b+8|0;do{if((c[(Zu(c[v>>2]|0,187240,e)|0)>>2]|0)==9){w=c[l>>2]|0;if((w|0)==9){u=f;w=c[u+4>>2]|0;x=p;c[x>>2]=c[u>>2];c[x+4>>2]=w;break}else{c[u>>2]=w;c[t+4>>2]=9;Qe(0,188448,t);tc()}}}while(0);Of(e);t=c[b>>2]|0;if((t|0)!=7){c[s>>2]=t;c[r+4>>2]=7;Qe(0,188448,r);tc()}do{if((c[(Yu(c[v>>2]|0,187256,e,0)|0)>>2]|0)==3){r=c[l>>2]|0;if((r|0)==3){w=c[f>>2]|0;x=FW(32)|0;ie(x,w);c[q>>2]=x;break}else{c[m>>2]=r;c[n+4>>2]=3;Qe(0,188448,n);tc()}}}while(0);Of(e);do{if((c[q>>2]|0)==0){if((c[p>>2]|0)!=-1){break}Qe(-1,187264,o)}}while(0);m=c[b>>2]|0;if((m|0)!=7){c[j>>2]=m;c[k+4>>2]=7;Qe(0,188448,k);tc()}if((c[(Yu(c[v>>2]|0,187320,e,0)|0)>>2]|0)!=4){Of(e);i=d;return}j=c[l>>2]|0;if((j|0)!=4){c[g>>2]=j;c[h+4>>2]=4;Qe(0,188448,h);tc()}f=c[f>>2]|0;if((Qc(f|0,187336)|0)==0){c[a+16>>2]=0;Of(e);i=d;return}if((Qc(f|0,187344)|0)==0){c[a+16>>2]=3;Of(e);i=d;return}if((Qc(f|0,187352)|0)==0){c[a+16>>2]=1;Of(e);i=d;return}if((Qc(f|0,187360)|0)!=0){Of(e);i=d;return}c[a+16>>2]=2;Of(e);i=d;return}function LE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187224;d=c[a+12>>2]|0;if((d|0)==0){HW(a);i=b;return}ke(d);HW(d);HW(a);i=b;return}function ME(a){a=a|0;var b=0;b=i;c[a>>2]=187224;a=c[a+12>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function NE(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=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,w=0,x=0,y=0.0;j=i;g=i;i=i+8|0;e=g;m=i;i=i+8|0;k=m;q=i;i=i+8|0;p=q;u=i;i=i+8|0;v=u;l=i;i=i+16|0;f=l;c[b>>2]=187376;w=b+8|0;h[w>>3]=1.0;t=b+16|0;a[t]=0;s=b+17|0;a[s]=0;n=b+18|0;a[n]=0;b=b+20|0;c[b>>2]=0;if((c[d>>2]|0)!=7){i=j;return}c[l>>2]=13;r=f+8|0;c[r>>2]=0;c[r+4>>2]=0;o=d+8|0;Yu(c[o>>2]|0,187392,f,0)|0;x=c[l>>2]|0;if((x+ -1|0)>>>0<2){if((x|0)==1){y=+(c[r>>2]|0)}else{y=+h[r>>3]}h[w>>3]=y}Of(f);w=c[d>>2]|0;if((w|0)!=7){c[u>>2]=w;c[v+4>>2]=7;Qe(0,188448,v);tc()}Yu(c[o>>2]|0,187400,f,0)|0;if((c[l>>2]|0)==0){a[t]=a[r]&1}Of(f);t=c[d>>2]|0;if((t|0)!=7){c[q>>2]=t;c[p+4>>2]=7;Qe(0,188448,p);tc()}Yu(c[o>>2]|0,187416,f,0)|0;if((c[l>>2]|0)==0){a[s]=a[r]&1}Of(f);p=c[d>>2]|0;if((p|0)!=7){c[m>>2]=p;c[k+4>>2]=7;Qe(0,188448,k);tc()}Yu(c[o>>2]|0,187424,f,0)|0;if((c[l>>2]|0)==0){a[n]=a[r]&1}Of(f);k=c[d>>2]|0;if((k|0)!=7){c[g>>2]=k;c[e+4>>2]=7;Qe(0,188448,e);tc()}Yu(c[o>>2]|0,186648,f,0)|0;c[b>>2]=HG(f)|0;Of(f);i=j;return}function OE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187376;d=c[a+20>>2]|0;if((d|0)==0){HW(a);i=b;return}JG(d);HW(d);HW(a);i=b;return}function PE(a){a=a|0;var b=0;b=i;c[a>>2]=187376;a=c[a+20>>2]|0;if((a|0)==0){i=b;return}JG(a);HW(a);i=b;return}function QE(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;f=i;A=i;i=i+8|0;g=i;i=i+8|0;h=g;l=i;i=i+8|0;m=l;n=i;i=i+8|0;p=n;q=i;i=i+8|0;r=q;u=i;i=i+8|0;t=u;w=i;i=i+8|0;x=w;B=i;i=i+8|0;y=B;F=i;i=i+8|0;D=i;i=i+4096|0;C=i;i=i+16|0;e=C;c[b>>2]=187440;j=b+8|0;c[j>>2]=13;o=b+16|0;c[o>>2]=0;c[o+4>>2]=0;o=b+24|0;c[o>>2]=13;k=b+32|0;c[k>>2]=0;c[k+4>>2]=0;k=b+40|0;c[k>>2]=-1;s=b+44|0;c[s>>2]=0;v=b+48|0;c[v>>2]=0;if((c[d>>2]|0)!=7){i=f;return}c[C>>2]=13;z=e+8|0;c[z>>2]=0;c[z+4>>2]=0;b=d+8|0;a:do{if((c[(Yu(c[b>>2]|0,186672,e,0)|0)>>2]|0)!=5){G=c[C>>2]|0;if((G|0)==8){F=c[z>>2]|0;G=FW(32)|0;ee(G);c[v>>2]=G;fd[c[(c[F>>2]|0)+12>>2]&511](F);while(1){b:do{if(jd[c[(c[F>>2]|0)+88>>2]&511](F)|0){H=sd[c[(c[F>>2]|0)+92>>2]&127](F,4096,D)|0;E=10}else{H=0;while(1){I=jd[c[(c[F>>2]|0)+20>>2]&511](F)|0;if((I|0)==-1){E=10;break b}a[D+H|0]=I;H=H+1|0;if((H|0)>=4096){H=4096;break}}}}while(0);if((E|0)==10){E=0;if((H|0)==0){break a}}ne(G,D,H)|0}}else if((G|0)==3){I=FW(32)|0;ie(I,c[z>>2]|0);c[v>>2]=I;break}else{Qe(-1,187456,F);break}}}while(0);Of(e);D=c[d>>2]|0;if((D|0)!=7){c[B>>2]=D;c[y+4>>2]=7;Qe(0,188448,y);tc()}do{if((c[(Yu(c[b>>2]|0,187512,e,0)|0)>>2]|0)==1){y=c[C>>2]|0;if((y|0)!=1){c[w>>2]=y;c[x+4>>2]=1;Qe(0,188448,x);tc()}w=c[z>>2]|0;c[k>>2]=w;if((c[v>>2]|0)==0&w>>>0>4){c[u>>2]=w;Qe(-1,187520,t);break}t=c[d>>2]|0;if((t|0)!=7){c[q>>2]=t;c[r+4>>2]=7;Qe(0,188448,r);tc()}do{if((c[(Yu(c[b>>2]|0,187584,o,0)|0)>>2]|0)==7){I=FW(232)|0;GG(I,o);c[s>>2]=I}else{q=c[k>>2]|0;if(!((q|0)==4|(q|0)==0)){break}c[n>>2]=q;Qe(-1,187592,p);Of(o)}}while(0);n=c[d>>2]|0;if((n|0)!=7){c[l>>2]=n;c[m+4>>2]=7;Qe(0,188448,m);tc()}if((c[(Zu(c[b>>2]|0,187648,j)|0)>>2]|0)==9){break}k=c[k>>2]|0;if(k>>>0>=5){break}c[g>>2]=k;Qe(-1,187656,h);Of(j)}else{if((c[v>>2]|0)!=0){break}Qe(-1,187712,A)}}while(0);Of(e);i=f;return}function RE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187440;Of(a+24|0);Of(a+8|0);d=c[a+48>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+44>>2]|0;if((d|0)==0){HW(a);i=b;return}FG(d);HW(d);HW(a);i=b;return}function SE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187440;Of(a+24|0);Of(a+8|0);d=c[a+48>>2]|0;if((d|0)!=0){ke(d);HW(d)}a=c[a+44>>2]|0;if((a|0)==0){i=b;return}FG(a);HW(a);i=b;return}function TE(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;g=i;f=i;i=i+4096|0;c[b>>2]=187776;h=b+4|0;c[h>>2]=0;b=c[d>>2]|0;if((b|0)==8){b=c[d+8>>2]|0;d=FW(32)|0;ee(d);c[h>>2]=d;fd[c[(c[b>>2]|0)+12>>2]&511](b);while(1){a:do{if(jd[c[(c[b>>2]|0)+88>>2]&511](b)|0){h=sd[c[(c[b>>2]|0)+92>>2]&127](b,4096,f)|0;e=8}else{h=0;while(1){j=jd[c[(c[b>>2]|0)+20>>2]&511](b)|0;if((j|0)==-1){e=8;break a}a[f+h|0]=j;h=h+1|0;if((h|0)>=4096){h=4096;break}}}}while(0);if((e|0)==8){e=0;if((h|0)==0){break}}ne(d,f,h)|0}i=g;return}else if((b|0)==3){j=FW(32)|0;ie(j,c[d+8>>2]|0);c[h>>2]=j;i=g;return}else{i=g;return}}function UE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187776;d=c[a+4>>2]|0;if((d|0)==0){HW(a);i=b;return}ke(d);HW(d);HW(a);i=b;return}function VE(a){a=a|0;var b=0;b=i;c[a>>2]=187776;a=c[a+4>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function WE(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;h=i;e=i;i=i+8|0;j=e;m=i;i=i+8|0;k=m;z=i;i=i+8|0;x=i;i=i+8|0;s=i;i=i+8|0;v=i;i=i+8|0;w=v;q=i;i=i+8|0;r=q;o=i;i=i+8|0;p=o;t=i;i=i+8|0;A=t;l=i;i=i+16|0;g=l;u=i;i=i+16|0;y=u;c[b>>2]=187800;c[l>>2]=13;f=g+8|0;c[f>>2]=0;c[f+4>>2]=0;B=FW(16)|0;wo(B);n=b+4|0;c[n>>2]=B;b=b+8|0;a[b]=1;B=c[d>>2]|0;if((B|0)!=7){c[t>>2]=B;c[A+4>>2]=7;Qe(0,188448,A);tc()}t=d+8|0;do{if((c[(Yu(c[t>>2]|0,187816,g,0)|0)>>2]|0)==6){z=c[l>>2]|0;if((z|0)!=6){G=z;H=o;c[H>>2]=G;H=p+4|0;c[H>>2]=6;H=188448;Qe(0,H,p);tc()}B=y+8|0;A=B+4|0;z=0;C=0;a:while(1){D=c[f>>2]|0;if((z|0)>=(c[D+12>>2]|0)){s=32;break}c[u>>2]=13;c[B>>2]=0;c[A>>2]=0;vt(D,z,y)|0;D=c[u>>2]|0;do{if((D|0)==9){if((C|0)==0){Qe(-1,187896,s);C=0;break}else{G=B;F=c[G>>2]|0;G=c[G+4>>2]|0;H=FW(8)|0;E=H;c[E>>2]=0;c[E+4>>2]=0;c[H>>2]=F;c[H+4>>2]=G;yo(c[C+4>>2]|0,H);break}}else if((D|0)==4){if((C|0)!=0){yo(c[n>>2]|0,C);C=c[u>>2]|0;if((C|0)!=4){s=11;break a}}E=c[B>>2]|0;C=FW(8)|0;D=C+4|0;c[D>>2]=0;H=FW(16)|0;wo(H);c[D>>2]=H;if((Qc(E|0,187824)|0)==0){c[C>>2]=0;break}if((Qc(E|0,187832)|0)==0){c[C>>2]=1;break}if((Qc(E|0,187840)|0)==0){c[C>>2]=2;break}c[v>>2]=E;Qe(-1,187848,w);if((C|0)==0){C=0;break}D=c[D>>2]|0;if((D|0)!=0){E=D+8|0;G=c[E>>2]|0;if((G|0)>0){F=0;do{H=c[(c[D>>2]|0)+(F<<2)>>2]|0;if((H|0)!=0){HW(H);G=c[E>>2]|0}F=F+1|0;}while((F|0)<(G|0))}xo(D);HW(D)}HW(C);C=0}else{Qe(-1,187960,x)}}while(0);Of(y);D=c[l>>2]|0;if((D|0)==6){z=z+1|0}else{s=6;break}}if((s|0)==6){H=o;c[H>>2]=D;H=p+4|0;c[H>>2]=6;H=188448;Qe(0,H,p);tc()}else if((s|0)==11){c[q>>2]=C;c[r+4>>2]=4;Qe(0,188448,r);tc()}else if((s|0)==32){if((C|0)==0){break}yo(c[n>>2]|0,C);break}}else{Qe(-1,188e3,z);o=c[n>>2]|0;if((o|0)!=0){xo(o);HW(o)}c[n>>2]=0}}while(0);Of(g);d=c[d>>2]|0;if((d|0)!=7){c[m>>2]=d;c[k+4>>2]=7;Qe(0,188448,k);tc()}if((c[(Yu(c[t>>2]|0,188024,g,0)|0)>>2]|0)!=0){Of(g);i=h;return}k=c[l>>2]|0;if((k|0)!=0){c[e>>2]=k;c[j+4>>2]=0;Qe(0,188448,j);tc()}a[b]=a[f]&1;Of(g);i=h;return}function XE(a){a=a|0;var b=0;b=i;YE(a);HW(a);i=b;return}function YE(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;b=i;c[a>>2]=187800;a=c[a+4>>2]|0;if((a|0)==0){i=b;return}d=a+8|0;g=c[d>>2]|0;if((g|0)>0){e=0;do{f=c[(c[a>>2]|0)+(e<<2)>>2]|0;if((f|0)!=0){g=c[f+4>>2]|0;if((g|0)!=0){h=g+8|0;j=c[h>>2]|0;if((j|0)>0){k=0;do{l=c[(c[g>>2]|0)+(k<<2)>>2]|0;if((l|0)!=0){HW(l);j=c[h>>2]|0}k=k+1|0;}while((k|0)<(j|0))}xo(g);HW(g)}HW(f);g=c[d>>2]|0}e=e+1|0;}while((e|0)<(g|0))}xo(a);HW(a);i=b;return}function ZE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=188048;d=c[a+4>>2]|0;if((d|0)==0){HW(a);i=b;return}ke(d);HW(d);HW(a);i=b;return}function _E(a){a=a|0;var b=0;b=i;c[a>>2]=188048;a=c[a+4>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function $E(a){a=a|0;var b=0;b=i;if((c[a+4>>2]|0)!=0){a=1;i=b;return a|0}a=(c[a+8>>2]|0)!=0;i=b;return a|0}function aF(a){a=a|0;i=i;return 0}function bF(a){a=a|0;var b=0;b=i;if((c[a+4>>2]|0)==0){a=0;i=b;return a|0}if((c[a+8>>2]|0)!=0){a=1;i=b;return a|0}a=(c[a+12>>2]|0)!=0;i=b;return a|0}function cF(a){a=a|0;i=i;return 1}function dF(a){a=a|0;i=i;return(c[a+4>>2]|0)!=0|0}function eF(a){a=a|0;i=i;return 2}function fF(a){a=a|0;i=i;return(c[a+4>>2]|0)!=0|0}function gF(a){a=a|0;i=i;return 3}function hF(a){a=a|0;i=i;return(c[a+4>>2]|0)!=0|0}function iF(a){a=a|0;i=i;return 4}function jF(a){a=a|0;var b=0;b=i;if((c[a+4>>2]|0)>-1){a=1;i=b;return a|0}a=(c[a+12>>2]|0)!=0;i=b;return a|0}function kF(a){a=a|0;i=i;return 5}function lF(a){a=a|0;i=i;return-1}function mF(a){a=a|0;i=i;return 6}function nF(a){a=a|0;i=i;return(c[a+20>>2]|0)!=0|0}function oF(a){a=a|0;i=i;return 7}function pF(a){a=a|0;i=i;return(c[a+4>>2]|0)!=0|0}function qF(a){a=a|0;i=i;return 8}function rF(a){a=a|0;i=i;return(c[a+4>>2]|0)!=0|0}function sF(a){a=a|0;i=i;return 9}function tF(a){a=a|0;i=i;return(c[a+4>>2]|0)!=0|0}function uF(a){a=a|0;i=i;return 10}function vF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;a=i;g=(ue(b,188600,7)|0)==0;f=FW(32)|0;ie(f,b);if(g){re(f,0,7)|0;g=FW(68)|0;Sf(g,f,c,d,e);i=a;return g|0}else{g=FW(68)|0;Sf(g,f,c,d,e);i=a;return g|0}return 0}function wF(a,b){a=a|0;b=b|0;a=i;if((ue(b,188600,7)|0)==0){b=1;i=a;return b|0}b=(nb(c[b+28>>2]|0,188608)|0)==0;i=a;return b|0}function xF(a){a=a|0;i=i;return}function yF(a){a=a|0;var b=0;b=i;HW(a);i=b;return}function zF(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0.0;e=i;k=i;i=i+16|0;j=k;m=i;i=i+16|0;n=m;q=i;i=i+8|0;p=q;r=i;i=i+8|0;s=r;v=i;i=i+8|0;w=v;y=i;i=i+8|0;z=y;C=i;i=i+8|0;B=C;D=i;i=i+8|0;E=D;G=i;i=i+8|0;F=G;H=i;i=i+8|0;I=H;J=i;i=i+8|0;K=J;L=i;i=i+8|0;M=L;N=i;i=i+8|0;O=N;P=i;i=i+8|0;Q=P;R=i;i=i+16|0;S=R;T=i;i=i+8|0;U=T;W=i;i=i+16|0;V=W;X=i;i=i+8|0;Y=X;$=i;i=i+8|0;aa=$;da=i;i=i+8|0;A=da;t=i;i=i+16|0;f=t;ba=i;i=i+16|0;ca=ba;Z=i;i=i+16|0;_=Z;x=i;i=i+16|0;u=x;l=i;i=i+16|0;g=l;c[t>>2]=13;o=f+8|0;c[o>>2]=0;c[o+4>>2]=0;ea=c[d>>2]|0;if((ea|0)!=7){c[da>>2]=ea;c[A+4>>2]=7;Qe(0,188872,A);tc()}A=d+8|0;do{if((c[(Yu(c[A>>2]|0,188680,f,0)|0)>>2]|0)!=5){da=c[t>>2]|0;if((da|0)==1){c[b>>2]=c[o>>2];break}else if((da|0)!=6){break}ea=c[o>>2]|0;c[ba>>2]=13;da=ca+8|0;c[da>>2]=0;c[da+4>>2]=0;ut(ea,0,ca)|0;if((c[ba>>2]|0)==1){c[b>>2]=c[da>>2]}Of(ca);ut(ea,1,ca)|0;if((c[ba>>2]|0)==1){c[b+4>>2]=c[da>>2]}Of(ca)}}while(0);Of(f);ba=c[d>>2]|0;if((ba|0)!=7){c[$>>2]=ba;c[aa+4>>2]=7;Qe(0,188872,aa);tc()}do{if((c[(Yu(c[A>>2]|0,188688,f,0)|0)>>2]|0)!=5){$=c[t>>2]|0;if(($|0)==1){c[b+8>>2]=c[o>>2];break}else if(($|0)!=6){break}$=c[o>>2]|0;c[Z>>2]=13;aa=_+8|0;c[aa>>2]=0;c[aa+4>>2]=0;ut($,0,_)|0;if((c[Z>>2]|0)==1){c[b+8>>2]=c[aa>>2]}Of(_);ut($,1,_)|0;if((c[Z>>2]|0)==1){c[b+12>>2]=c[aa>>2]}Of(_)}}while(0);Of(f);Z=c[d>>2]|0;if((Z|0)!=7){c[X>>2]=Z;c[Y+4>>2]=7;Qe(0,188872,Y);tc()}if(((c[(Yu(c[A>>2]|0,188704,f,0)|0)>>2]|0)+ -1|0)>>>0<2){X=c[t>>2]|0;if((X+ -1|0)>>>0>=2){c[W>>2]=X;c[V+4>>2]=1;c[V+8>>2]=2;Qe(0,188944,V);tc()}if((X|0)==1){fa=+(c[o>>2]|0)}else{fa=+h[o>>3]}h[b+16>>3]=fa}Of(f);V=c[d>>2]|0;if((V|0)!=7){c[T>>2]=V;c[U+4>>2]=7;Qe(0,188872,U);tc()}if(((c[(Yu(c[A>>2]|0,188712,f,0)|0)>>2]|0)+ -1|0)>>>0<2){T=c[t>>2]|0;if((T+ -1|0)>>>0>=2){c[R>>2]=T;c[S+4>>2]=1;c[S+8>>2]=2;Qe(0,188944,S);tc()}if((T|0)==1){fa=+(c[o>>2]|0)}else{fa=+h[o>>3]}c[b+24>>2]=~~((fa+1.0)*50.0)}Of(f);R=c[d>>2]|0;if((R|0)!=7){c[P>>2]=R;c[Q+4>>2]=7;Qe(0,188872,Q);tc()}do{if((c[(Yu(c[A>>2]|0,188720,f,0)|0)>>2]|0)==0){P=c[t>>2]|0;if((P|0)==0){a[b+28|0]=a[o]&1;break}else{c[N>>2]=P;c[O+4>>2]=0;Qe(0,188872,O);tc()}}}while(0);Of(f);N=c[d>>2]|0;if((N|0)!=7){c[L>>2]=N;c[M+4>>2]=7;Qe(0,188872,M);tc()}do{if((c[(Yu(c[A>>2]|0,188736,f,0)|0)>>2]|0)==0){L=c[t>>2]|0;if((L|0)==0){a[b+29|0]=a[o]&1;break}else{c[J>>2]=L;c[K+4>>2]=0;Qe(0,188872,K);tc()}}}while(0);Of(f);J=c[d>>2]|0;if((J|0)!=7){c[H>>2]=J;c[I+4>>2]=7;Qe(0,188872,I);tc()}do{if((c[(Yu(c[A>>2]|0,188752,f,0)|0)>>2]|0)==4){H=c[t>>2]|0;if((H|0)!=4){c[G>>2]=H;c[F+4>>2]=4;Qe(0,188872,F);tc()}F=c[o>>2]|0;if((Qc(F|0,188760)|0)==0){c[b+32>>2]=0;break}if((Qc(F|0,188768)|0)==0){c[b+32>>2]=1;break}if((Qc(F|0,188776)|0)==0){c[b+32>>2]=2;break}if((Qc(F|0,188784)|0)!=0){break}c[b+32>>2]=3}}while(0);Of(f);F=c[d>>2]|0;if((F|0)!=7){c[D>>2]=F;c[E+4>>2]=7;Qe(0,188872,E);tc()}do{if((c[(Yu(c[A>>2]|0,188800,f,0)|0)>>2]|0)==6){a[b+36|0]=1;D=c[t>>2]|0;if((D|0)!=6){c[C>>2]=D;c[B+4>>2]=6;Qe(0,188872,B);tc()}C=c[o>>2]|0;if((c[C+12>>2]|0)<=1){break}c[x>>2]=13;B=u+8|0;c[B>>2]=0;c[B+4>>2]=0;do{if((c[(ut(C,0,u)|0)>>2]|0)==1){D=c[x>>2]|0;if((D|0)==1){c[b+56>>2]=c[B>>2];break}else{c[y>>2]=D;c[z+4>>2]=1;Qe(0,188872,z);tc()}}}while(0);Of(u);do{if((c[(ut(C,1,u)|0)>>2]|0)==1){x=c[x>>2]|0;if((x|0)==1){c[b+60>>2]=c[B>>2];break}else{c[v>>2]=x;c[w+4>>2]=1;Qe(0,188872,w);tc()}}}while(0);Of(u)}}while(0);Of(f);d=c[d>>2]|0;if((d|0)!=7){c[r>>2]=d;c[s+4>>2]=7;Qe(0,188872,s);tc()}if((c[(Yu(c[A>>2]|0,188808,f,0)|0)>>2]|0)!=6){Of(f);i=e;return}r=c[t>>2]|0;if((r|0)!=6){c[q>>2]=r;c[p+4>>2]=6;Qe(0,188872,p);tc()}p=c[o>>2]|0;if((c[p+12>>2]|0)<=1){Of(f);i=e;return}c[l>>2]=13;o=g+8|0;c[o>>2]=0;c[o+4>>2]=0;if(((c[(ut(p,0,g)|0)>>2]|0)+ -1|0)>>>0<2){q=c[l>>2]|0;if((q+ -1|0)>>>0>=2){c[m>>2]=q;c[n+4>>2]=1;c[n+8>>2]=2;Qe(0,188944,n);tc()}if((q|0)==1){fa=+(c[o>>2]|0)}else{fa=+h[o>>3]}h[b+40>>3]=fa}Of(g);if(((c[(ut(p,1,g)|0)>>2]|0)+ -1|0)>>>0<2){l=c[l>>2]|0;if((l+ -1|0)>>>0>=2){c[k>>2]=l;c[j+4>>2]=1;c[j+8>>2]=2;Qe(0,188944,j);tc()}if((l|0)==1){fa=+(c[o>>2]|0)}else{fa=+h[o>>3]}h[b+48>>3]=fa}Of(g);Of(f);i=e;return}function AF(d,e){d=d|0;e=e|0;var f=0,g=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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.0;f=i;j=i;i=i+8|0;k=j;p=i;i=i+8|0;m=p;r=i;i=i+8|0;s=r;x=i;i=i+16|0;w=x;z=i;i=i+16|0;A=z;C=i;i=i+8|0;D=C;M=i;i=i+8|0;E=i;i=i+8|0;F=E;I=i;i=i+8|0;J=I;O=i;i=i+8|0;t=O;q=i;i=i+16|0;n=q;L=i;i=i+16|0;H=L;B=i;i=i+16|0;v=B;G=d+36|0;c[G>>2]=0;l=d+2|0;b[l>>1]=0;y=d+4|0;c[y>>2]=-1;u=d+8|0;c[u>>2]=-1;g=d+32|0;a[g]=0;c[q>>2]=13;o=n+8|0;c[o>>2]=0;c[o+4>>2]=0;c[L>>2]=13;K=H+8|0;c[K>>2]=0;c[K+4>>2]=0;N=c[e>>2]|0;if((N|0)!=7){c[O>>2]=N;c[t+4>>2]=7;Qe(0,188872,t);tc()}t=e+8|0;if(!(CH(Yu(c[t>>2]|0,188824,n,0)|0,H)|0)){Qe(-1,188832,M);a[d]=0;Of(n);i=f;return}L=c[L>>2]|0;if((L|0)!=3){c[I>>2]=L;c[J+4>>2]=3;Qe(0,188872,J);tc()}N=c[K>>2]|0;O=FW(32)|0;ie(O,N);c[G>>2]=O;Of(H);Of(n);G=c[e>>2]|0;if((G|0)!=7){c[E>>2]=G;c[F+4>>2]=7;Qe(0,188872,F);tc()}do{if((c[(Yu(c[t>>2]|0,188848,n,0)|0)>>2]|0)==6){E=c[q>>2]|0;if((E|0)!=6){c[C>>2]=E;c[D+4>>2]=6;Qe(0,188872,D);tc()}C=c[o>>2]|0;if((c[C+12>>2]|0)<=1){break}c[B>>2]=13;O=v+8|0;c[O>>2]=0;c[O+4>>2]=0;if(((c[(ut(C,0,v)|0)>>2]|0)+ -1|0)>>>0<2){D=ut(C,0,v)|0;B=c[D>>2]|0;if((B+ -1|0)>>>0>=2){c[z>>2]=B;c[A+4>>2]=1;c[A+8>>2]=2;Qe(0,188944,A);tc()}z=D+8|0;if((B|0)==1){P=+(c[z>>2]|0)}else{P=+h[z>>3]}c[y>>2]=~~+R(+(P+.5))}Of(v);if(((c[(ut(C,1,v)|0)>>2]|0)+ -1|0)>>>0<2){z=ut(C,1,v)|0;y=c[z>>2]|0;if((y+ -1|0)>>>0>=2){c[x>>2]=y;c[w+4>>2]=1;c[w+8>>2]=2;Qe(0,188944,w);tc()}w=z+8|0;if((y|0)==1){P=+(c[w>>2]|0)}else{P=+h[w>>3]}c[u>>2]=~~+R(+(P+.5))}Of(v)}}while(0);Of(n);u=c[e>>2]|0;if((u|0)!=7){c[r>>2]=u;c[s+4>>2]=7;Qe(0,188872,s);tc()}do{if((c[(Yu(c[t>>2]|0,188856,n,0)|0)>>2]|0)==1){q=c[q>>2]|0;if((q|0)==1){b[l>>1]=((((c[o>>2]|0)+360|0)%360|0|0)%90|0)*90;break}else{c[p>>2]=q;c[m+4>>2]=1;Qe(0,188872,m);tc()}}}while(0);Of(n);l=d+16|0;e=c[e>>2]|0;if((e|0)!=7){c[j>>2]=e;c[k+4>>2]=7;Qe(0,188872,k);tc()}if((c[(Zu(c[t>>2]|0,188864,l)|0)>>2]|0)==5){i=f;return}j=c[l>>2]|0;if((j|0)==8|(j|0)==9){a[g]=1;i=f;return}else if((j|0)==0){a[g]=a[d+24|0]&1;Of(l);i=f;return}else{Of(l);i=f;return}}function BF(a){a=a|0;var b=0,d=0;b=i;d=c[a+36>>2]|0;if((d|0)!=0){ke(d);HW(d)}Of(a+16|0);i=b;return}function CF(b,d){b=b|0;d=d|0;var e=0,f=0;e=i;c[b+16>>2]=13;f=b+24|0;c[f>>2]=0;c[f+4>>2]=0;c[b+44>>2]=0;c[b+52>>2]=0;a[b+76|0]=0;h[b+80>>3]=.5;h[b+88>>3]=.5;h[b+56>>3]=1.0;c[b+64>>2]=100;a[b+68|0]=0;a[b+69|0]=0;c[b+72>>2]=0;c[b+40>>2]=0;c[b+48>>2]=0;c[b+96>>2]=1;c[b+100>>2]=1;a[b]=1;if((c[d>>2]|0)==7){AF(b,d);i=e;return}else{a[b]=0;i=e;return}}function DF(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;c[b+16>>2]=13;g=b+24|0;c[g>>2]=0;c[g+4>>2]=0;g=b+40|0;c[b+44>>2]=0;c[b+52>>2]=0;a[b+76|0]=0;h[b+80>>3]=.5;h[b+88>>3]=.5;h[b+56>>3]=1.0;c[b+64>>2]=100;a[b+68|0]=0;a[b+69|0]=0;c[b+72>>2]=0;c[g>>2]=0;c[b+48>>2]=0;c[b+96>>2]=1;c[b+100>>2]=1;a[b]=1;if((c[d>>2]|0)!=7){a[b]=0;i=f;return}AF(b,d);if((c[e>>2]|0)!=7){i=f;return}zF(g,e);i=f;return}function EF(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0;f=i;g=i;i=i+8|0;h=g;m=i;i=i+8|0;n=m;y=i;i=i+8|0;w=i;i=i+8|0;q=w;z=i;i=i+8|0;x=z;B=i;i=i+8|0;A=B;I=i;i=i+8|0;H=i;i=i+8|0;J=H;E=i;i=i+8|0;F=E;N=i;i=i+8|0;M=N;S=i;i=i+8|0;Q=i;i=i+8|0;R=Q;ba=i;i=i+8|0;T=ba;L=i;i=i+8|0;aa=L;Y=i;i=i+8|0;_=i;i=i+8|0;$=_;ea=i;i=i+8|0;da=i;i=i+8|0;fa=da;Z=i;i=i+16|0;X=Z;U=i;i=i+16|0;k=U;W=i;i=i+16|0;V=W;p=i;i=i+16|0;j=p;P=i;i=i+16|0;O=P;C=i;i=i+16|0;K=C;D=i;i=i+16|0;G=D;r=i;i=i+16|0;v=r;u=i;i=i+16|0;s=u;o=b+8|0;c[o>>2]=13;l=b+16|0;c[l>>2]=0;c[l+4>>2]=0;l=b+24|0;c[l>>2]=13;ca=b+32|0;c[ca>>2]=0;c[ca+4>>2]=0;c[b+40>>2]=e;a[b]=1;ca=FW(16)|0;wo(ca);e=b+4|0;c[e>>2]=ca;c[U>>2]=13;ca=k+8|0;c[ca>>2]=0;c[ca+4>>2]=0;ga=c[d>>2]|0;if((ga|0)!=7){c[da>>2]=ga;c[fa+4>>2]=7;Qe(0,189600,fa);tc()}da=d+8|0;Yu(c[da>>2]|0,189024,k,0)|0;if((c[U>>2]|0)!=6){Qe(-1,189032,ea);Of(k);a[b]=0;i=f;return}ga=V+8|0;fa=ga+4|0;ea=X+8|0;ia=ea+4|0;ha=0;while(1){ja=c[ca>>2]|0;if((ha|0)>=(c[ja+12>>2]|0)){break}c[W>>2]=13;c[ga>>2]=0;c[fa>>2]=0;ut(ja,ha,V)|0;if((c[W>>2]|0)!=7){t=9;break}ja=FW(20)|0;la=c[ga>>2]|0;ka=ja+4|0;c[ka>>2]=0;c[Z>>2]=13;c[ea>>2]=0;c[ia>>2]=0;Yu(la,189512,X,0)|0;if((c[Z>>2]|0)==3){la=FW(32)|0;ie(la,c[ea>>2]|0);c[ka>>2]=la}else{Qe(-1,189520,Y)}Of(X);Of(V);ka=c[U>>2]|0;if((ka|0)!=6){t=14;break}vt(c[ca>>2]|0,ha,V)|0;ka=c[W>>2]|0;if((ka|0)!=9){t=16;break}ma=ga;ka=c[ma+4>>2]|0;la=ja+8|0;c[la>>2]=c[ma>>2];c[la+4>>2]=ka;Of(V);c[ja+16>>2]=0;yo(c[e>>2]|0,ja);ja=c[U>>2]|0;if((ja|0)==6){ha=ha+1|0}else{t=6;break}}if((t|0)==6){c[_>>2]=ja;c[$+4>>2]=6;Qe(0,189600,$);tc()}else if((t|0)==9){Of(V)}else if((t|0)==14){c[L>>2]=ka;c[aa+4>>2]=6;Qe(0,189600,aa);tc()}else if((t|0)==16){c[ba>>2]=ka;c[T+4>>2]=9;Qe(0,189600,T);tc()}c[p>>2]=13;L=j+8|0;c[L>>2]=0;c[L+4>>2]=0;d=c[d>>2]|0;if((d|0)!=7){c[Q>>2]=d;c[R+4>>2]=7;Qe(0,189600,R);tc()}Yu(c[da>>2]|0,189128,j,0)|0;if((c[p>>2]|0)!=7){Qe(-1,189136,S);Of(j);Of(k);a[b]=0;i=f;return}c[P>>2]=13;Q=O+8|0;c[Q>>2]=0;c[Q+4>>2]=0;Yu(c[L>>2]|0,189224,O,0)|0;do{if((c[P>>2]|0)==4){if((Qc(c[Q>>2]|0,189240)|0)!=0){break}Q=c[e>>2]|0;if((c[Q+8>>2]|0)>0){P=0}else{break}do{c[(c[(c[Q>>2]|0)+(P<<2)>>2]|0)+16>>2]=1;P=P+1|0;Q=c[e>>2]|0;}while((P|0)<(c[Q+8>>2]|0))}}while(0);Of(O);c[C>>2]=13;O=K+8|0;c[O>>2]=0;c[O+4>>2]=0;P=c[p>>2]|0;if((P|0)!=7){c[N>>2]=P;c[M+4>>2]=7;Qe(0,189600,M);tc()}Yu(c[L>>2]|0,189248,K,0)|0;a:do{if((c[C>>2]|0)==6){N=G+8|0;P=N+4|0;M=0;b:while(1){Q=c[O>>2]|0;if((M|0)>=(c[Q+12>>2]|0)){break a}c[D>>2]=13;c[N>>2]=0;c[P>>2]=0;vt(Q,M,G)|0;if((c[D>>2]|0)!=9){t=33;break}R=N;S=c[R>>2]|0;R=c[R+4>>2]|0;b=c[e>>2]|0;Q=c[b+8>>2]|0;if((Q|0)<=0){t=39;break}b=c[b>>2]|0;T=0;while(1){d=c[b+(T<<2)>>2]|0;U=d+8|0;if((c[U>>2]|0)==(S|0)){if((c[U+4>>2]|0)==(R|0)){break}}T=T+1|0;if((T|0)>=(Q|0)){t=39;break b}}Of(G);if((d|0)==0){break}c[d+16>>2]=0;Q=c[C>>2]|0;if((Q|0)==6){M=M+1|0}else{t=30;break}}if((t|0)==30){c[E>>2]=Q;c[F+4>>2]=6;Qe(0,189600,F);tc()}else if((t|0)==33){Of(G);break}else if((t|0)==39){c[H>>2]=S;c[J+4>>2]=R;Qe(-1,189368,J);Of(G)}Qe(-1,189256,I)}}while(0);Of(K);c[r>>2]=13;C=v+8|0;c[C>>2]=0;c[C+4>>2]=0;D=c[p>>2]|0;if((D|0)!=7){c[B>>2]=D;c[A+4>>2]=7;Qe(0,189600,A);tc()}Yu(c[L>>2]|0,189240,v,0)|0;c:do{if((c[r>>2]|0)==6){A=s+8|0;B=A+4|0;D=0;d:while(1){E=c[C>>2]|0;if((D|0)>=(c[E+12>>2]|0)){break c}c[u>>2]=13;c[A>>2]=0;c[B>>2]=0;vt(E,D,s)|0;if((c[u>>2]|0)!=9){t=50;break}F=A;E=c[F>>2]|0;F=c[F+4>>2]|0;H=c[e>>2]|0;G=c[H+8>>2]|0;if((G|0)<=0){t=56;break}H=c[H>>2]|0;J=0;while(1){K=c[H+(J<<2)>>2]|0;I=K+8|0;if((c[I>>2]|0)==(E|0)){if((c[I+4>>2]|0)==(F|0)){break}}J=J+1|0;if((J|0)>=(G|0)){t=56;break d}}Of(s);if((K|0)==0){break}c[K+16>>2]=1;E=c[r>>2]|0;if((E|0)==6){D=D+1|0}else{t=47;break}}if((t|0)==47){c[z>>2]=E;c[x+4>>2]=6;Qe(0,189600,x);tc()}else if((t|0)==50){Of(s);break}else if((t|0)==56){c[w>>2]=E;c[q+4>>2]=F;Qe(-1,189368,q);Of(s)}Qe(-1,189296,y)}}while(0);Of(v);q=c[p>>2]|0;if((q|0)!=7){c[m>>2]=q;c[n+4>>2]=7;Qe(0,189600,n);tc()}Yu(c[L>>2]|0,189344,o,0)|0;m=c[p>>2]|0;if((m|0)!=7){c[g>>2]=m;c[h+4>>2]=7;Qe(0,189600,h);tc()}Yu(c[L>>2]|0,189352,l,0)|0;Of(k);Of(j);i=f;return}function FF(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;d=i;b=c[a+4>>2]|0;e=b+8|0;g=c[e>>2]|0;if((g|0)>0){f=0;do{h=c[(c[b>>2]|0)+(f<<2)>>2]|0;if((h|0)!=0){g=c[h+4>>2]|0;if((g|0)!=0){ke(g);HW(g)}HW(h);g=c[e>>2]|0}f=f+1|0;}while((f|0)<(g|0))}if((b|0)==0){h=a+8|0;Of(h);h=a+24|0;Of(h);i=d;return}xo(b);HW(b);h=a+8|0;Of(h);h=a+24|0;Of(h);i=d;return}function GF(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=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,w=0,x=0,y=0;d=i;k=i;i=i+8|0;n=k;q=i;i=i+8|0;p=q;l=i;i=i+8|0;m=l;x=i;i=i+8|0;y=i;i=i+16|0;e=y;u=i;i=i+16|0;f=u;t=i;i=i+16|0;h=t;r=i;i=i+16|0;j=r;c[y>>2]=13;w=e+8|0;c[w>>2]=0;c[w+4>>2]=0;c[u>>2]=13;v=f+8|0;c[v>>2]=0;c[v+4>>2]=0;c[t>>2]=13;o=h+8|0;c[o>>2]=0;c[o+4>>2]=0;c[r>>2]=13;s=j+8|0;c[s>>2]=0;c[s+4>>2]=0;Nf(b,c[a+40>>2]|0,e,0)|0;y=c[y>>2]|0;if((y|0)!=7){c[x>>2]=y;Qe(-1,189408,x);Of(e);y=1;i=d;return y|0}w=c[w>>2]|0;Yu(w,189448,f,0)|0;a:do{if((c[u>>2]|0)==4){u=c[v>>2]|0;if((Qc(u|0,189456)|0)!=0){if((Qc(u|0,189504)|0)!=0){g=1;break}h=c[b>>2]|0;if((h|0)!=9){c[q>>2]=h;c[p+4>>2]=9;Qe(0,189600,p);tc()}h=b+8|0;j=c[h>>2]|0;h=c[h+4>>2]|0;m=c[a+4>>2]|0;l=c[m+8>>2]|0;b:do{if((l|0)>0){m=c[m>>2]|0;p=0;while(1){o=c[m+(p<<2)>>2]|0;a=o+8|0;if((c[a>>2]|0)==(j|0)){if((c[a+4>>2]|0)==(h|0)){break}}p=p+1|0;if((p|0)>=(l|0)){g=33;break b}}if((o|0)==0){break}if((c[o+16>>2]|0)!=1){g=1;break a}}else{g=33}}while(0);if((g|0)==33){c[k>>2]=j;c[n+4>>2]=h;Qe(-1,189368,n)}g=0;break}Yu(w,189464,j,0)|0;Zu(w,189024,h)|0;k=c[t>>2]|0;c:do{if((k|0)==9){n=o;k=c[n>>2]|0;n=c[n+4>>2]|0;o=c[a+4>>2]|0;a=c[o+8>>2]|0;d:do{if((a|0)>0){o=c[o>>2]|0;r=0;while(1){q=c[o+(r<<2)>>2]|0;p=q+8|0;if((c[p>>2]|0)==(k|0)){if((c[p+4>>2]|0)==(n|0)){break}}r=r+1|0;if((r|0)>=(a|0)){g=20;break d}}if((q|0)==0){break}if((c[q+16>>2]|0)==1){g=0;break c}}else{g=20}}while(0);if((g|0)==20){c[l>>2]=k;c[m+4>>2]=n;Qe(-1,189368,m)}g=1}else if((k|0)==6){do{if((c[r>>2]|0)==4){g=c[s>>2]|0;if((Qc(g|0,189472)|0)==0){g=HF(a,c[o>>2]|0)|0;break c}if((Qc(g|0,189480)|0)==0){g=IF(a,c[o>>2]|0)|0;break c}if((Qc(g|0,189488)|0)==0){g=JF(a,c[o>>2]|0)|0;break c}else{if((Qc(g|0,189496)|0)==0){break}else{g=1;break c}}}}while(0);g=KF(a,c[o>>2]|0)|0}else{g=1}}while(0);Of(h);Of(j)}else{g=1}}while(0);Of(f);Of(e);y=g;i=d;return y|0}function HF(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;d=i;g=i;i=i+8|0;h=g;j=i;i=i+16|0;k=j;f=b+12|0;if((c[f>>2]|0)<=0){t=1;i=d;return t|0}l=k+8|0;e=l+4|0;a=a+4|0;n=0;a:while(1){c[j>>2]=13;c[l>>2]=0;c[e>>2]=0;vt(b,n,k)|0;b:do{if((c[j>>2]|0)==9){o=l;p=c[o>>2]|0;o=c[o+4>>2]|0;q=c[a>>2]|0;m=c[q+8>>2]|0;c:do{if((m|0)>0){q=c[q>>2]|0;r=0;while(1){s=c[q+(r<<2)>>2]|0;t=s+8|0;if((c[t>>2]|0)==(p|0)){if((c[t+4>>2]|0)==(o|0)){break}}r=r+1|0;if((r|0)>=(m|0)){break c}}if((s|0)==0){break b}if((c[s+16>>2]|0)==1){f=0;e=13;break a}else{break b}}}while(0);c[g>>2]=p;c[h+4>>2]=o;Qe(-1,189368,h)}}while(0);n=n+1|0;if((n|0)>=(c[f>>2]|0)){f=1;e=13;break}}if((e|0)==13){i=d;return f|0}return 0}function IF(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;d=i;g=i;i=i+8|0;h=g;j=i;i=i+16|0;k=j;f=b+12|0;if((c[f>>2]|0)<=0){t=1;i=d;return t|0}l=k+8|0;e=l+4|0;a=a+4|0;n=0;a:while(1){c[j>>2]=13;c[l>>2]=0;c[e>>2]=0;vt(b,n,k)|0;b:do{if((c[j>>2]|0)==9){o=l;p=c[o>>2]|0;o=c[o+4>>2]|0;q=c[a>>2]|0;m=c[q+8>>2]|0;c:do{if((m|0)>0){q=c[q>>2]|0;r=0;while(1){s=c[q+(r<<2)>>2]|0;t=s+8|0;if((c[t>>2]|0)==(p|0)){if((c[t+4>>2]|0)==(o|0)){break}}r=r+1|0;if((r|0)>=(m|0)){break c}}if((s|0)==0){break b}if((c[s+16>>2]|0)==0){f=0;e=13;break a}else{break b}}}while(0);c[g>>2]=p;c[h+4>>2]=o;Qe(-1,189368,h)}}while(0);n=n+1|0;if((n|0)>=(c[f>>2]|0)){f=1;e=13;break}}if((e|0)==13){i=d;return f|0}return 0}function JF(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;d=i;g=i;i=i+8|0;h=g;j=i;i=i+16|0;k=j;f=b+12|0;if((c[f>>2]|0)<=0){t=0;i=d;return t|0}l=k+8|0;e=l+4|0;a=a+4|0;n=0;a:while(1){c[j>>2]=13;c[l>>2]=0;c[e>>2]=0;vt(b,n,k)|0;b:do{if((c[j>>2]|0)==9){o=l;p=c[o>>2]|0;o=c[o+4>>2]|0;q=c[a>>2]|0;m=c[q+8>>2]|0;c:do{if((m|0)>0){q=c[q>>2]|0;r=0;while(1){s=c[q+(r<<2)>>2]|0;t=s+8|0;if((c[t>>2]|0)==(p|0)){if((c[t+4>>2]|0)==(o|0)){break}}r=r+1|0;if((r|0)>=(m|0)){break c}}if((s|0)==0){break b}if((c[s+16>>2]|0)==1){f=1;e=13;break a}else{break b}}}while(0);c[g>>2]=p;c[h+4>>2]=o;Qe(-1,189368,h)}}while(0);n=n+1|0;if((n|0)>=(c[f>>2]|0)){f=0;e=13;break}}if((e|0)==13){i=d;return f|0}return 0}function KF(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;d=i;g=i;i=i+8|0;h=g;j=i;i=i+16|0;k=j;f=b+12|0;if((c[f>>2]|0)<=0){t=0;i=d;return t|0}l=k+8|0;e=l+4|0;a=a+4|0;n=0;a:while(1){c[j>>2]=13;c[l>>2]=0;c[e>>2]=0;vt(b,n,k)|0;b:do{if((c[j>>2]|0)==9){o=l;p=c[o>>2]|0;o=c[o+4>>2]|0;q=c[a>>2]|0;m=c[q+8>>2]|0;c:do{if((m|0)>0){q=c[q>>2]|0;r=0;while(1){s=c[q+(r<<2)>>2]|0;t=s+8|0;if((c[t>>2]|0)==(p|0)){if((c[t+4>>2]|0)==(o|0)){break}}r=r+1|0;if((r|0)>=(m|0)){break c}}if((s|0)==0){break b}if((c[s+16>>2]|0)==0){f=1;e=13;break a}else{break b}}}while(0);c[g>>2]=p;c[h+4>>2]=o;Qe(-1,189368,h)}}while(0);n=n+1|0;if((n|0)>=(c[f>>2]|0)){f=0;e=13;break}}if((e|0)==13){i=d;return f|0}return 0}function LF(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;a=c[a>>2]|0;if((a|0)==0){i=b;return}d=a+8|0;f=c[d>>2]|0;if((f|0)>0){e=0;do{g=c[(c[a>>2]|0)+(e<<2)>>2]|0;if((g|0)!=0){MF(g);HW(g);f=c[d>>2]|0}e=e+1|0;}while((e|0)<(f|0))}xo(a);HW(a);i=b;return}function MF(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;b=i;d=a+68|0;f=c[d>>2]|0;if((f|0)!=0){e=f+8|0;g=c[e>>2]|0;if((g|0)>0){h=0;do{j=c[(c[f>>2]|0)+(h<<2)>>2]|0;if((j|0)!=0){MF(j);HW(j);g=c[e>>2]|0}h=h+1|0;}while((h|0)<(g|0))}xo(f);HW(f);c[d>>2]=0}d=c[a+4>>2]|0;if((d|0)!=0){Fe(d)}d=c[a+12>>2]|0;if((d|0)==0){j=a+16|0;Of(j);j=a+32|0;Of(j);j=a+48|0;Of(j);i=b;return}fd[c[(c[d>>2]|0)+4>>2]&511](d);j=a+16|0;Of(j);j=a+32|0;Of(j);j=a+48|0;Of(j);i=b;return}function NF(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0.0,g=0.0,j=0.0,k=0.0;d=+h[b>>3];h[a+8>>3]=d;f=+h[b+8>>3];h[a+16>>3]=f;k=+h[b+16>>3];h[a+24>>3]=k;j=+h[b+24>>3];h[a+32>>3]=j;e=+h[b+32>>3];h[a+40>>3]=e;c=+h[b+40>>3];h[a+48>>3]=c;g=1.0/(d*j-f*k);h[a+56>>3]=j*g;h[a+64>>3]=-0.0-g*f;h[a+72>>3]=-0.0-g*k;h[a+80>>3]=g*d;h[a+88>>3]=g*(k*c-j*e);h[a+96>>3]=g*(f*e-d*c);i=i;return}function OF(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;h[d>>3]=+h[a+88>>3]+(+h[a+56>>3]*b+ +h[a+72>>3]*c);h[e>>3]=+h[a+96>>3]+(+h[a+64>>3]*b+ +h[a+80>>3]*c);i=i;return}function PF(a,b,d,e,f){a=a|0;b=+b;d=+d;e=e|0;f=f|0;c[e>>2]=~~(+h[a+40>>3]+(+h[a+8>>3]*b+ +h[a+24>>3]*d)+.5);c[f>>2]=~~(+h[a+48>>3]+(+h[a+16>>3]*b+ +h[a+32>>3]*d)+.5);i=i;return}function QF(a,b){a=a|0;b=b|0;i=i;return}function RF(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return}function SF(a,b){a=a|0;b=b|0;i=i;return}function TF(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return}function UF(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return}function VF(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return}function WF(a){a=a|0;var b=0,d=0;b=i;a=a+104|0;d=c[a>>2]|0;if((d|0)!=0){ko(d);HW(d)}d=FW(16)|0;jo(d,1);c[a>>2]=d;i=b;return}function XF(a){a=a|0;var b=0;b=a+104|0;a=c[b>>2]|0;c[b>>2]=0;i=i;return a|0}function YF(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=b;c[a+4>>2]=d;c[a+8>>2]=-1;i=i;return}function ZF(a){a=a|0;i=i;return}function _F(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;g=i;j=b+8|0;h=b+4|0;a:while(1){l=c[j>>2]|0;if((l|0)<0){l=jd[c[b>>2]&511](c[h>>2]|0)|0}else{c[j>>2]=-1}if((l|0)==-1){k=10;break}else if((l|0)!=37){if((a[190720+l|0]|0)==1){continue}else{break}}while(1){l=c[j>>2]|0;if((l|0)<0){l=jd[c[b>>2]&511](c[h>>2]|0)|0}else{c[j>>2]=-1}if((l|0)==10|(l|0)==13){continue a}else if((l|0)==-1){k=10;break a}}}if((k|0)==10){a[d]=0;m=0;k=0;l=f;c[l>>2]=k;i=g;return m|0}e=e+ -1|0;a[d]=l;b:do{if((l|0)==40){l=1;k=1;while(1){m=c[j>>2]|0;if((m|0)<0){m=jd[c[b>>2]&511](c[h>>2]|0)|0;c[j>>2]=m;if((m|0)==-1){break b}}c[j>>2]=-1;if((k|0)<(e|0)){a[d+k|0]=m;k=k+1|0}if((m|0)==92){l=0;continue}if(l&(m|0)==41){break}else{l=1}}}else if((l|0)==60){k=1;do{l=c[j>>2]|0;if((l|0)<0){l=jd[c[b>>2]&511](c[h>>2]|0)|0;c[j>>2]=l;if((l|0)==-1){break b}}c[j>>2]=-1;do{if((k|0)<(e|0)){if((a[190720+l|0]|0)==1){break}a[d+k|0]=l;k=k+1|0}}while(0);}while((l|0)!=62)}else if((l|0)==91|(l|0)==93){k=1}else{k=1;while(1){l=c[j>>2]|0;if((k|0)>=(e|0)){break}if((l|0)<0){l=jd[c[b>>2]&511](c[h>>2]|0)|0;c[j>>2]=l;if((l|0)==-1){break b}}if((a[190720+l|0]|0)!=0){break b}c[j>>2]=-1;a[d+k|0]=l;k=k+1|0}while(1){if((l|0)<0){l=jd[c[b>>2]&511](c[h>>2]|0)|0;c[j>>2]=l;if((l|0)==-1){break b}}if((a[190720+l|0]|0)!=0){break b}c[j>>2]=-1;l=-1}}}while(0);a[d+k|0]=0;m=1;l=f;c[l>>2]=k;i=g;return m|0}function $F(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;d=a+8|0;f=c[d>>2]|0;if((f|0)<=0){xo(a);i=b;return}e=0;do{g=c[(c[a>>2]|0)+(e<<2)>>2]|0;if((g|0)!=0){f=c[g>>2]|0;if((f|0)!=0){ke(f);HW(f)}HW(g);f=c[d>>2]|0}e=e+1|0;}while((e|0)<(f|0));xo(a);i=b;return}function aG(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;g=i;j=b+16|0;c[j>>2]=13;h=b+24|0;c[h>>2]=0;c[h+4>>2]=0;h=b+32|0;c[h>>2]=13;k=b+40|0;c[k>>2]=0;c[k+4>>2]=0;c[b>>2]=d;d=b+4|0;c[d>>2]=e;c[b+48>>2]=0;a[b+8|0]=f&1;fE(e,j,-1)|0;fE(c[d>>2]|0,h,-1)|0;i=g;return}function bG(a){a=a|0;var b=0;b=i;Of(a+16|0);Of(a+32|0);a=c[a+4>>2]|0;if((a|0)==0){i=b;return}dE(a);HW(a);i=b;return}function cG(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0;j=i;l=i;i=i+16|0;k=l;m=k+4|0;c[m>>2]=0;c[k+8>>2]=0;c[l>>2]=m;a=dG(a,b,d,e,f,g,h,k)|0;xn(k,c[k+4>>2]|0);i=j;return a|0}function dG(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var 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,y=0,z=0,A=0,B=0,C=0,D=0;l=i;A=i;i=i+8|0;B=A;q=i;i=i+8|0;r=i;i=i+8|0;s=r;t=i;i=i+8|0;u=i;i=i+8|0;w=i;i=i+8|0;v=w;x=i;i=i+16|0;m=x;c[x>>2]=13;z=m+8|0;c[z>>2]=0;y=z+4|0;c[y>>2]=0;p=b+48|0;n=b+16|0;if((c[p>>2]|0)==2){Of(n);D=b+32|0;Of(D);C=b+4|0;fE(c[C>>2]|0,n,-1)|0;fE(c[C>>2]|0,D,-1)|0;c[p>>2]=0}C=c[n>>2]|0;do{if((C|0)==10){p=b+24|0;D=c[p>>2]|0;if((Qc(D|0,190976)|0)==0){fG(b,-1);If(d,c[b>>2]|0)|0;q=d+8|0;while(1){r=c[n>>2]|0;if((r|0)==10){if((Qc(c[p>>2]|0,190984)|0)==0){break}}else if((r|0)==12){o=11;break}s=dG(b,m,e,f,g,h,j,k)|0;r=c[d>>2]|0;if((r|0)!=6){o=9;break}tt(c[q>>2]|0,s)}if((o|0)==9){c[w>>2]=r;c[v+4>>2]=6;Qe(0,191224,v);tc()}if((o|0)==11){j=c[b+4>>2]|0;if((c[j+16>>2]|0)==8){j=c[j+24>>2]|0;j=jd[c[(c[j>>2]|0)+48>>2]&511](j)|0}else{j=-1}Qe(j,190992,u)}fG(b,-1);i=l;return d|0}if((Qc(D|0,191024)|0)!=0){if((C|0)==1){o=38;break}else{break}}fG(b,h);Jf(d,c[b>>2]|0)|0;v=b+4|0;u=d+8|0;while(1){w=c[n>>2]|0;if((w|0)==10){if((Qc(c[p>>2]|0,191032)|0)==0){break}}else if((w|0)==4){w=Ge(c[p>>2]|0)|0;fG(b,-1);if(((c[n>>2]|0)+ -11|0)>>>0<2){o=26;break}y=dG(b,m,e,f,g,h,j,k)|0;x=c[d>>2]|0;if((x|0)!=7){o=24;break}Tu(c[u>>2]|0,w,y);continue}else if((w|0)==12){o=27;break}w=c[v>>2]|0;if((c[w+16>>2]|0)==8){w=c[w+24>>2]|0;w=jd[c[(c[w>>2]|0)+48>>2]&511](w)|0}else{w=-1}Qe(w,191040,t);fG(b,-1)}if((o|0)==24){c[r>>2]=x;c[s+4>>2]=7;Qe(0,191224,s);tc()}else if((o|0)==26){Fe(w);if((c[n>>2]|0)==12){o=27}}if((o|0)==27){m=c[v>>2]|0;if((c[m+16>>2]|0)==8){m=c[m+24>>2]|0;m=jd[c[(c[m>>2]|0)+48>>2]&511](m)|0}else{m=-1}Qe(m,191080,q)}do{if((a[b+8|0]&1)!=0){if((c[b+32>>2]|0)!=10){break}if((Qc(c[b+40>>2]|0,191112)|0)!=0){break}b=gG(b,d,e,f,g,h,j,k)|0;if((b|0)==0){Of(d);c[u>>2]=0;c[u+4>>2]=0;c[d>>2]=11;i=l;return d|0}else{Lf(d,b)|0;i=l;return d|0}}}while(0);fG(b,-1);i=l;return d|0}else if((C|0)==1){o=38}}while(0);if((o|0)==38){g=b+24|0;j=c[g>>2]|0;fG(b,-1);do{if((c[n>>2]|0)==1){if((c[b+32>>2]|0)!=10){break}if((Qc(c[b+40>>2]|0,191120)|0)!=0){break}C=c[g>>2]|0;D=d+8|0;c[d>>2]=9;c[D>>2]=j;c[D+4>>2]=C;fG(b,-1);fG(b,-1);i=l;return d|0}}while(0);D=d+8|0;c[D+4>>2]=0;c[d>>2]=1;c[D>>2]=j;i=l;return d|0}k=(C|0)==3;if((e|0)==0|k^1){$W(d|0,n|0,16)|0;D=b+24|0;c[D>>2]=0;c[D+4>>2]=0;c[n>>2]=5;fG(b,-1);i=l;return d|0}if(!k){c[A>>2]=C;c[B+4>>2]=3;Qe(0,191224,B);tc()}C=c[b+24>>2]|0;n=FW(32)|0;ee(n);c[z>>2]=0;c[y>>2]=0;c[x>>2]=5;k=FW(316)|0;D=FW(56)|0;Tj(D,c[C+28>>2]|0,0,c[C+24>>2]|0,m);Fu(k,D,e,f,g,h,j);fd[c[(c[k>>2]|0)+12>>2]&511](k);j=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((j|0)!=-1){j=j&255;while(1){me(n,j)|0;j=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((j|0)==-1){break}else{j=j&255}}}if((k|0)!=0){fd[c[(c[k>>2]|0)+4>>2]&511](k)}D=d+8|0;c[D+4>>2]=0;c[d>>2]=3;c[D>>2]=n;fG(b,-1);i=l;return d|0}function eG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;a=dG(a,b,0,0,0,0,0,c)|0;i=d;return a|0}function fG(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=i;e=a+48|0;f=c[e>>2]|0;do{if((f|0)>0){if((f|0)<2){c[e>>2]=f+1;break}else{c[e>>2]=0;break}}else{if((c[a+32>>2]|0)!=10){break}if((Qc(c[a+40>>2]|0,191216)|0)!=0){break}eE(c[a+4>>2]|0,0)|0;c[e>>2]=1}}while(0);g=a+16|0;Of(g);f=a+32|0;$W(g|0,f|0,16)|0;if((c[e>>2]|0)>0){g=a+40|0;c[g>>2]=0;c[g+4>>2]=0;c[f>>2]=5;i=d;return}else{fE(c[a+4>>2]|0,f,b)|0;i=d;return}}function gG(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|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,y=0,z=0,A=0,B=0;k=i;m=i;i=i+8|0;l=m;u=i;i=i+8|0;z=i;i=i+8|0;A=i;i=i+8|0;s=A;q=i;i=i+16|0;o=q;y=i;i=i+8|0;x=y;c[q>>2]=13;r=o+8|0;c[r>>2]=0;p=r+4|0;c[p>>2]=0;t=a+4|0;gE(c[t>>2]|0);w=c[t>>2]|0;if((c[w+16>>2]|0)==8){w=c[w+24>>2]|0;w=jd[c[(c[w>>2]|0)+48>>2]&511](w)|0}else{w=-1}B=c[b>>2]|0;if((B|0)!=7){c[A>>2]=B;c[s+4>>2]=7;Qe(0,191224,s);tc()}s=b+8|0;Yu(c[s>>2]|0,191128,o,j)|0;if((c[q>>2]|0)==1){z=c[r>>2]|0;Of(o)}else{j=c[t>>2]|0;if((c[j+16>>2]|0)==8){j=c[j+24>>2]|0;j=jd[c[(c[j>>2]|0)+48>>2]&511](j)|0}else{j=-1}Qe(j,191136,z);Of(o);z=0}j=c[a>>2]|0;do{if((j|0)!=0){if(!(mn(j,w,x)|0)){break}z=(c[y>>2]|0)-w|0}}while(0);x=c[t>>2]|0;if((c[x+16>>2]|0)!=8){B=0;i=k;return B|0}x=c[x+24>>2]|0;if((x|0)==0){B=0;i=k;return B|0}x=jd[c[(c[x>>2]|0)+64>>2]&511](x)|0;y=c[t>>2]|0;if((c[y>>2]|0)!=-3){c[y>>2]=-3;y=c[t>>2]|0;w=w+ -1|0}if((c[y+16>>2]|0)==8){B=c[y+24>>2]|0;Gd[c[(c[B>>2]|0)+52>>2]&255](B,w+z|0,0)}fG(a,-1);fG(a,-1);y=a+16|0;do{if((c[y>>2]|0)==10){if((Qc(c[a+24>>2]|0,191176)|0)!=0){v=22;break}fG(a,-1);n=z}else{v=22}}while(0);do{if((v|0)==22){v=c[t>>2]|0;if((c[v+16>>2]|0)==8){v=c[v+24>>2]|0;v=jd[c[(c[v>>2]|0)+48>>2]&511](v)|0}else{v=-1}Qe(v,191192,u);if((c[a>>2]|0)==0){n=z+5e3|0;break}u=a+24|0;while(1){if((c[y>>2]|0)==10){if((Qc(c[u>>2]|0,191176)|0)==0){break}}v=c[a>>2]|0;z=c[t>>2]|0;if((c[z+16>>2]|0)==8){z=c[z+24>>2]|0;z=jd[c[(c[z>>2]|0)+48>>2]&511](z)|0}else{z=-1}if((nn(v,z)|0)!=(g|0)){break}if((c[y>>2]|0)==12){break}fG(a,-1)}a=c[t>>2]|0;if((c[a+16>>2]|0)==8){a=c[a+24>>2]|0;a=jd[c[(c[a>>2]|0)+48>>2]&511](a)|0}else{a=-1}a=a-w|0;if((c[y>>2]|0)!=10){n=a;break}if((Qc(c[u>>2]|0,191176)|0)!=0){n=a;break}c[p>>2]=0;c[q>>2]=1;c[r>>2]=a;p=c[b>>2]|0;if((p|0)==7){Wu(c[s>>2]|0,191128,o);Of(o);n=a;break}else{c[m>>2]=p;c[l+4>>2]=7;Qe(0,191224,l);tc()}}}while(0);l=Cd[c[(c[x>>2]|0)+96>>2]&63](x,w,1,n,b)|0;if((d|0)!=0){B=FW(316)|0;Fu(B,l,d,e,f,g,h);l=B}B=qj(l,b)|0;i=k;return B|0}function hG(a){a=a|0;i=i;return}function iG(a){a=a|0;i=i;return}function jG(a,b){a=a|0;b=b|0;var d=0;d=i;c[a+12>>2]=b;b=b>>>0>1073741823?-1:b<<2;c[a>>2]=GW(b)|0;c[a+4>>2]=GW(b)|0;c[a+8>>2]=-1;i=d;return}function kG(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;d=a+8|0;g=c[a>>2]|0;if((c[d>>2]|0)>=0){e=a+4|0;f=0;while(1){g=c[g+(f<<2)>>2]|0;if((g|0)!=0){fd[c[(c[g>>2]|0)+4>>2]&511](g)}g=c[(c[e>>2]|0)+(f<<2)>>2]|0;if((g|0)!=0){fd[c[(c[g>>2]|0)+4>>2]&511](g)}g=c[a>>2]|0;if((f|0)<(c[d>>2]|0)){f=f+1|0}else{break}}}if((g|0)!=0){IW(g)}a=c[a+4>>2]|0;if((a|0)==0){i=b;return}IW(a);i=b;return}function lG(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;f=a+8|0;if((c[f>>2]|0)<0){j=0;i=d;return j|0}j=c[c[a>>2]>>2]|0;if(Bd[c[(c[j>>2]|0)+8>>2]&255](j,b)|0){j=c[c[a+4>>2]>>2]|0;i=d;return j|0}if((c[f>>2]|0)<1){j=0;i=d;return j|0}else{g=1}while(1){j=c[(c[a>>2]|0)+(g<<2)>>2]|0;if(Bd[c[(c[j>>2]|0)+8>>2]&255](j,b)|0){break}if((g|0)<(c[f>>2]|0)){g=g+1|0}else{a=0;e=10;break}}if((e|0)==10){i=d;return a|0}j=c[a>>2]|0;f=c[j+(g<<2)>>2]|0;b=a+4|0;e=c[(c[b>>2]|0)+(g<<2)>>2]|0;if((g|0)>0){while(1){h=g+ -1|0;c[j+(g<<2)>>2]=c[j+(h<<2)>>2];j=c[b>>2]|0;c[j+(g<<2)>>2]=c[j+(h<<2)>>2];j=c[a>>2]|0;if((h|0)>0){g=h}else{break}}}c[j>>2]=f;c[c[b>>2]>>2]=e;j=e;i=d;return j|0}function mG(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;g=a+8|0;h=c[g>>2]|0;j=h+1|0;f=a+12|0;if((h|0)==((c[f>>2]|0)+ -1|0)){j=c[(c[a>>2]|0)+(h<<2)>>2]|0;if((j|0)!=0){fd[c[(c[j>>2]|0)+4>>2]&511](j);h=c[g>>2]|0}g=c[(c[a+4>>2]|0)+(h<<2)>>2]|0;if((g|0)!=0){fd[c[(c[g>>2]|0)+4>>2]&511](g)}j=(c[f>>2]|0)+ -1|0}else{c[g>>2]=j}f=a+4|0;if((j|0)<=0){j=a;j=c[j>>2]|0;c[j>>2]=b;j=f;j=c[j>>2]|0;c[j>>2]=d;i=e;return}while(1){g=j+ -1|0;h=c[a>>2]|0;c[h+(j<<2)>>2]=c[h+(g<<2)>>2];h=c[f>>2]|0;c[h+(j<<2)>>2]=c[h+(g<<2)>>2];if((g|0)>0){j=g}else{break}}j=a;j=c[j>>2]|0;c[j>>2]=b;j=f;j=c[j>>2]|0;c[j>>2]=d;i=e;return}function nG(a){a=a|0;i=i;return c[a+12>>2]|0}function oG(a){a=a|0;i=i;return(c[a+8>>2]|0)+1|0}function pG(a,b){a=a|0;b=b|0;i=i;return c[(c[a+4>>2]|0)+(b<<2)>>2]|0}function qG(a,b){a=a|0;b=b|0;i=i;return c[(c[a>>2]|0)+(b<<2)>>2]|0}function rG(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;f=FW(16)|0;c[f+12>>2]=b;b=b>>>0>1073741823?-1:b<<2;c[f>>2]=GW(b)|0;c[f+4>>2]=GW(b)|0;c[f+8>>2]=-1;c[a+4>>2]=f;c[a>>2]=d;i=e;return}function sG(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;a=c[a+4>>2]|0;if((a|0)==0){i=b;return}e=a+8|0;g=c[a>>2]|0;if((c[e>>2]|0)>=0){d=a+4|0;f=0;while(1){g=c[g+(f<<2)>>2]|0;if((g|0)!=0){fd[c[(c[g>>2]|0)+4>>2]&511](g)}g=c[(c[d>>2]|0)+(f<<2)>>2]|0;if((g|0)!=0){fd[c[(c[g>>2]|0)+4>>2]&511](g)}g=c[a>>2]|0;if((f|0)<(c[e>>2]|0)){f=f+1|0}else{break}}}if((g|0)!=0){IW(g)}d=c[a+4>>2]|0;if((d|0)!=0){IW(d)}HW(a);i=b;return}function tG(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;g=i;i=i+16|0;f=g;c[g>>2]=13;g=f+8|0;c[g>>2]=0;c[g+4>>2]=0;g=b+4|0;_m(c[a>>2]|0,c[b>>2]|0,c[g>>2]|0,f,0)|0;d=FW(12)|0;b=c[b>>2]|0;g=c[g>>2]|0;c[d>>2]=191416;c[d+4>>2]=b;c[d+8>>2]=g;g=FW(24)|0;c[g>>2]=191368;b=g+8|0;c[b>>2]=13;c[g+16>>2]=0;c[g+20>>2]=0;Mf(f,b)|0;h=c[a+4>>2]|0;l=h+8|0;j=c[l>>2]|0;k=j+1|0;a=h+12|0;if((j|0)==((c[a>>2]|0)+ -1|0)){k=c[(c[h>>2]|0)+(j<<2)>>2]|0;if((k|0)!=0){fd[c[(c[k>>2]|0)+4>>2]&511](k);j=c[l>>2]|0}k=h+4|0;j=c[(c[k>>2]|0)+(j<<2)>>2]|0;if((j|0)!=0){fd[c[(c[j>>2]|0)+4>>2]&511](j)}j=h;h=k;k=(c[a>>2]|0)+ -1|0}else{c[l>>2]=k;j=h;h=h+4|0}if((k|0)<=0){l=j;l=c[l>>2]|0;c[l>>2]=d;l=h;l=c[l>>2]|0;c[l>>2]=g;Of(f);i=e;return b|0}while(1){a=k+ -1|0;l=c[j>>2]|0;c[l+(k<<2)>>2]=c[l+(a<<2)>>2];l=c[h>>2]|0;c[l+(k<<2)>>2]=c[l+(a<<2)>>2];if((a|0)>0){k=a}else{break}}l=j;l=c[l>>2]|0;c[l>>2]=d;l=h;l=c[l>>2]|0;c[l>>2]=g;Of(f);i=e;return b|0}function uG(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;j=i;i=i+16|0;f=j;k=c[b>>2]|0;b=c[b+4>>2]|0;c[j>>2]=191416;c[f+4>>2]=k;c[f+8>>2]=b;a=c[a+4>>2]|0;b=a+8|0;a:do{if((c[b>>2]|0)>=0){k=c[c[a>>2]>>2]|0;if(Bd[c[(c[k>>2]|0)+8>>2]&255](k,f)|0){f=c[c[a+4>>2]>>2]|0}else{if((c[b>>2]|0)<1){break}else{h=1}while(1){k=c[(c[a>>2]|0)+(h<<2)>>2]|0;if(Bd[c[(c[k>>2]|0)+8>>2]&255](k,f)|0){break}if((h|0)<(c[b>>2]|0)){h=h+1|0}else{break a}}k=c[a>>2]|0;b=c[k+(h<<2)>>2]|0;g=a+4|0;f=c[(c[g>>2]|0)+(h<<2)>>2]|0;if((h|0)>0){while(1){j=h+ -1|0;c[k+(h<<2)>>2]=c[k+(j<<2)>>2];k=c[g>>2]|0;c[k+(h<<2)>>2]=c[k+(j<<2)>>2];k=c[a>>2]|0;if((j|0)>0){h=j}else{break}}}c[k>>2]=b;c[c[g>>2]>>2]=f}if((f|0)==0){break}k=Mf(f+8|0,d)|0;i=e;return k|0}}while(0);k=d+8|0;c[k>>2]=0;c[k+4>>2]=0;c[d>>2]=5;k=d;i=e;return k|0}function vG(a){a=a|0;i=i;return}function wG(a){a=a|0;var b=0;b=i;c[a>>2]=191368;Of(a+8|0);i=b;return}function xG(a){a=a|0;var b=0;b=i;c[a>>2]=191368;Of(a+8|0);HW(a);i=b;return}function yG(a){a=a|0;var b=0;b=i;HW(a);i=b;return}function zG(a,b){a=a|0;b=b|0;var d=0;d=i;if((c[b+4>>2]|0)!=(c[a+4>>2]|0)){a=0;i=d;return a|0}a=(c[b+8>>2]|0)==(c[a+8>>2]|0);i=d;return a|0}function AG(a){a=a|0;var b=0;b=i;c[a>>2]=0;bX(a+8|0,0,24)|0;i=b;return}function BG(a,b){a=a|0;b=+b;var d=0,e=0,f=0;e=i;d=c[a>>2]|0;f=a+16|0;do{if((d|0)==0){h[f>>3]=b;h[a+24>>3]=b}else{if(+h[f>>3]>b){h[f>>3]=b}f=a+24|0;if(+h[f>>3]>=b){break}h[f>>3]=b}}while(0);f=a+8|0;h[f>>3]=+h[f>>3]+b;c[a>>2]=d+1;i=e;return}function CG(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;j=i;f=i;i=i+8|0;e=f;n=i;i=i+8|0;m=n;o=i;i=i+8|0;p=o;q=i;i=i+8|0;r=q;u=i;i=i+8|0;s=u;w=i;i=i+8|0;v=w;y=i;i=i+8|0;x=y;z=i;i=i+8|0;A=z;C=i;i=i+8|0;B=C;D=i;i=i+8|0;E=D;F=i;i=i+8|0;G=F;I=i;i=i+8|0;J=I;M=i;i=i+8|0;L=M;O=i;i=i+8|0;t=O;l=i;i=i+16|0;k=l;K=i;i=i+16|0;H=K;c[l>>2]=13;g=k+8|0;c[g>>2]=0;c[g+4>>2]=0;N=c[d>>2]|0;if((N|0)!=7){c[O>>2]=N;c[t+4>>2]=7;Qe(0,191704,t);tc()}t=d+8|0;do{if((c[(Yu(c[t>>2]|0,191464,k,0)|0)>>2]|0)==6){N=c[l>>2]|0;if((N|0)!=6){c[M>>2]=N;c[L+4>>2]=6;Qe(0,191704,L);tc()}M=c[g>>2]|0;if((c[M+12>>2]|0)<=1){break}c[K>>2]=13;L=H+8|0;c[L>>2]=0;c[L+4>>2]=0;do{if((c[(ut(M,0,H)|0)>>2]|0)==1){N=c[K>>2]|0;if((N|0)==1){c[b+4>>2]=c[L>>2];break}else{c[I>>2]=N;c[J+4>>2]=1;Qe(0,191704,J);tc()}}}while(0);Of(H);do{if((c[(ut(M,1,H)|0)>>2]|0)==1){I=c[K>>2]|0;if((I|0)==1){c[b+8>>2]=c[L>>2];break}else{c[F>>2]=I;c[G+4>>2]=1;Qe(0,191704,G);tc()}}}while(0);Of(H)}}while(0);Of(k);F=c[d>>2]|0;if((F|0)!=7){c[D>>2]=F;c[E+4>>2]=7;Qe(0,191704,E);tc()}do{if((c[(Yu(c[t>>2]|0,191472,k,0)|0)>>2]|0)==1){D=c[l>>2]|0;if((D|0)!=1){c[C>>2]=D;c[B+4>>2]=1;Qe(0,191704,B);tc()}B=c[g>>2]|0;if((B|0)==1){c[b+12>>2]=1;break}else if((B|0)==2){c[b+12>>2]=2;break}else if((B|0)==0){c[b+12>>2]=0;break}else{break}}}while(0);Of(k);B=c[d>>2]|0;if((B|0)!=7){c[z>>2]=B;c[A+4>>2]=7;Qe(0,191704,A);tc()}a:do{if((c[(Yu(c[t>>2]|0,191480,k,0)|0)>>2]|0)==1){z=c[l>>2]|0;if((z|0)!=1){c[y>>2]=z;c[x+4>>2]=1;Qe(0,191704,x);tc()}switch(c[g>>2]|0){case 3:{h[b+16>>3]=0.0;h[b+24>>3]=.5;break a};case 1:{h[b+16>>3]=.5;h[b+24>>3]=0.0;break a};case 6:{h[b+16>>3]=0.0;h[b+24>>3]=1.0;break a};case 5:{h[b+16>>3]=1.0;h[b+24>>3]=.5;break a};case 2:{h[b+16>>3]=1.0;h[b+24>>3]=0.0;break a};case 8:{h[b+16>>3]=1.0;h[b+24>>3]=1.0;break a};case 4:{h[b+16>>3]=.5;h[b+24>>3]=.5;break a};case 7:{h[b+16>>3]=.5;h[b+24>>3]=1.0;break a};case 0:{bX(b+16|0,0,16)|0;break a};default:{break a}}}}while(0);Of(k);x=c[d>>2]|0;if((x|0)!=7){c[w>>2]=x;c[v+4>>2]=7;Qe(0,191704,v);tc()}do{if((c[(Yu(c[t>>2]|0,191488,k,0)|0)>>2]|0)==0){v=c[l>>2]|0;if((v|0)==0){a[b+32|0]=a[g]&1;break}else{c[u>>2]=v;c[s+4>>2]=0;Qe(0,191704,s);tc()}}}while(0);Of(k);s=c[d>>2]|0;if((s|0)!=7){c[q>>2]=s;c[r+4>>2]=7;Qe(0,191704,r);tc()}do{if((c[(Yu(c[t>>2]|0,191496,k,0)|0)>>2]|0)==0){q=c[l>>2]|0;if((q|0)==0){a[b+33|0]=a[g]&1;break}else{c[o>>2]=q;c[p+4>>2]=0;Qe(0,191704,p);tc()}}}while(0);Of(k);d=c[d>>2]|0;if((d|0)!=7){c[n>>2]=d;c[m+4>>2]=7;Qe(0,191704,m);tc()}if((c[(Yu(c[t>>2]|0,191504,k,0)|0)>>2]|0)!=1){Of(k);i=j;return}l=c[l>>2]|0;if((l|0)!=1){c[f>>2]=l;c[e+4>>2]=1;Qe(0,191704,e);tc()}a[b+34|0]=(c[g>>2]|0)!=0|0;Of(k);i=j;return}function DG(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0.0;f=i;g=i;i=i+16|0;j=g;m=i;i=i+8|0;l=m;o=i;i=i+8|0;p=o;q=i;i=i+8|0;r=q;x=i;i=i+16|0;w=x;y=i;i=i+8|0;A=y;C=i;i=i+8|0;B=C;F=i;i=i+8|0;E=F;G=i;i=i+8|0;H=G;J=i;i=i+8|0;K=J;M=i;i=i+8|0;L=M;O=i;i=i+8|0;N=O;Q=i;i=i+8|0;P=Q;R=i;i=i+8|0;S=R;T=i;i=i+8|0;U=T;W=i;i=i+8|0;V=W;n=i;i=i+16|0;e=n;I=i;i=i+16|0;v=I;D=i;i=i+16|0;u=D;z=i;i=i+16|0;s=z;c[n>>2]=13;k=e+8|0;c[k>>2]=0;c[k+4>>2]=0;t=c[d>>2]|0;if((t|0)!=7){c[W>>2]=t;c[V+4>>2]=7;Qe(0,191704,V);tc()}t=d+8|0;do{if((c[(Yu(c[t>>2]|0,191512,e,0)|0)>>2]|0)==1){V=c[n>>2]|0;if((V|0)==1){c[b+4>>2]=c[k>>2];break}else{c[T>>2]=V;c[U+4>>2]=1;Qe(0,191704,U);tc()}}}while(0);Of(e);T=c[d>>2]|0;if((T|0)!=7){c[R>>2]=T;c[S+4>>2]=7;Qe(0,191704,S);tc()}do{if((c[(Yu(c[t>>2]|0,191520,e,0)|0)>>2]|0)==0){R=c[n>>2]|0;if((R|0)==0){a[b+56|0]=a[k]&1;break}else{c[Q>>2]=R;c[P+4>>2]=0;Qe(0,191704,P);tc()}}}while(0);Of(e);P=c[d>>2]|0;if((P|0)!=7){c[O>>2]=P;c[N+4>>2]=7;Qe(0,191704,N);tc()}a:do{if((c[(Yu(c[t>>2]|0,191528,e,0)|0)>>2]|0)==1){N=c[n>>2]|0;if((N|0)!=1){c[M>>2]=N;c[L+4>>2]=1;Qe(0,191704,L);tc()}switch(c[k>>2]|0){case 1:{c[b+8>>2]=1;break a};case 4:{c[b+8>>2]=4;break a};case 0:{c[b+8>>2]=0;break a};case 3:{c[b+8>>2]=3;break a};case 2:{c[b+8>>2]=2;break a};case 5:{c[b+8>>2]=5;break a};default:{break a}}}}while(0);Of(e);L=c[d>>2]|0;if((L|0)!=7){c[J>>2]=L;c[K+4>>2]=7;Qe(0,191704,K);tc()}if((c[(Yu(c[t>>2]|0,191464,e,0)|0)>>2]|0)==7){c[I>>2]=13;L=v+8|0;c[L>>2]=0;c[L+4>>2]=0;c[D>>2]=13;K=u+8|0;c[K>>2]=0;c[K+4>>2]=0;c[z>>2]=13;J=s+8|0;c[J>>2]=0;c[J+4>>2]=0;M=c[n>>2]|0;if((M|0)!=7){c[G>>2]=M;c[H+4>>2]=7;Qe(0,191704,H);tc()}do{if((c[(Yu(c[k>>2]|0,191536,v,0)|0)>>2]|0)==4){G=c[I>>2]|0;if((G|0)!=4){c[F>>2]=G;c[E+4>>2]=4;Qe(0,191704,E);tc()}E=c[L>>2]|0;if((Qc(E|0,191528)|0)==0){c[b>>2]=-1;break}if((Qc(E|0,191488)|0)!=0){break}E=c[n>>2]|0;if((E|0)!=7){c[C>>2]=E;c[B+4>>2]=7;Qe(0,191704,B);tc()}if((c[(Yu(c[k>>2]|0,191488,u,0)|0)>>2]|0)==7){B=c[D>>2]|0;if((B|0)!=7){c[y>>2]=B;c[A+4>>2]=7;Qe(0,191704,A);tc()}if(((c[(Yu(c[K>>2]|0,191512,s,0)|0)>>2]|0)+ -1|0)>>>0<2){y=c[z>>2]|0;if((y+ -1|0)>>>0>=2){c[x>>2]=y;c[w+4>>2]=1;c[w+8>>2]=2;Qe(0,191776,w);tc()}if((y|0)==1){X=+(c[J>>2]|0)}else{X=+h[J>>3]}c[b>>2]=~~X>>>0}Of(s)}Of(u)}}while(0);Of(v)}Of(e);s=c[d>>2]|0;if((s|0)!=7){c[q>>2]=s;c[r+4>>2]=7;Qe(0,191704,r);tc()}do{if((c[(Yu(c[t>>2]|0,191544,e,0)|0)>>2]|0)==0){q=c[n>>2]|0;if((q|0)==0){a[b+12|0]=a[k]&1;break}else{c[o>>2]=q;c[p+4>>2]=0;Qe(0,191704,p);tc()}}}while(0);Of(e);o=c[d>>2]|0;if((o|0)!=7){c[m>>2]=o;c[l+4>>2]=7;Qe(0,191704,l);tc()}if(((c[(Yu(c[t>>2]|0,191552,e,0)|0)>>2]|0)+ -1|0)>>>0>=2){Of(e);i=f;return}l=c[n>>2]|0;if((l+ -1|0)>>>0>=2){c[g>>2]=l;c[j+4>>2]=1;c[j+8>>2]=2;Qe(0,191776,j);tc()}if((l|0)==1){X=+(c[k>>2]|0)}else{X=+h[k>>3]}h[b+16>>3]=X;Of(e);i=f;return}function EG(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0.0;f=i;e=i;i=i+8|0;d=e;l=i;i=i+16|0;o=l;p=i;i=i+8|0;q=p;t=i;i=i+16|0;u=t;x=i;i=i+16|0;w=x;z=i;i=i+16|0;y=z;A=i;i=i+8|0;B=A;D=i;i=i+8|0;C=D;E=i;i=i+8|0;F=E;H=i;i=i+8|0;G=H;r=i;i=i+16|0;k=r;v=i;i=i+16|0;s=v;j=i;i=i+16|0;g=j;c[r>>2]=13;m=k+8|0;c[m>>2]=0;c[m+4>>2]=0;n=c[b>>2]|0;if((n|0)!=7){c[H>>2]=n;c[G+4>>2]=7;Qe(0,191704,G);tc()}n=b+8|0;do{if((c[(Yu(c[n>>2]|0,191560,k,0)|0)>>2]|0)==1){G=c[r>>2]|0;if((G|0)!=1){c[E>>2]=G;c[F+4>>2]=1;Qe(0,191704,F);tc()}E=c[m>>2]|0;if((E|0)==3){c[a+64>>2]=3;break}else if((E|0)==2){c[a+64>>2]=2;break}else if((E|0)==1){c[a+64>>2]=1;break}else if((E|0)==0){c[a+64>>2]=0;break}else{break}}}while(0);Of(k);E=c[b>>2]|0;if((E|0)!=7){c[D>>2]=E;c[C+4>>2]=7;Qe(0,191704,C);tc()}if((c[(Yu(c[n>>2]|0,191568,k,0)|0)>>2]|0)==6){C=c[r>>2]|0;if((C|0)!=6){c[A>>2]=C;c[B+4>>2]=6;Qe(0,191704,B);tc()}B=c[m>>2]|0;c[v>>2]=13;A=s+8|0;c[A>>2]=0;c[A+4>>2]=0;ut(B,0,s)|0;C=c[v>>2]|0;if((C+ -1|0)>>>0>=2){c[z>>2]=C;c[y+4>>2]=1;c[y+8>>2]=2;Qe(0,191776,y);tc()}if((C|0)==1){I=+(c[A>>2]|0)}else{I=+h[A>>3]}h[a+24>>3]=I;Of(s);ut(B,1,s)|0;y=c[v>>2]|0;if((y+ -1|0)>>>0>=2){c[x>>2]=y;c[w+4>>2]=1;c[w+8>>2]=2;Qe(0,191776,w);tc()}if((y|0)==1){I=+(c[A>>2]|0)}else{I=+h[A>>3]}h[a+32>>3]=I;Of(s);ut(B,2,s)|0;v=c[v>>2]|0;if((v+ -1|0)>>>0>=2){c[t>>2]=v;c[u+4>>2]=1;c[u+8>>2]=2;Qe(0,191776,u);tc()}if((v|0)==1){I=+(c[A>>2]|0)}else{I=+h[A>>3]}h[a+40>>3]=I;Of(s)}Of(k);s=c[b>>2]|0;if((s|0)!=7){c[p>>2]=s;c[q+4>>2]=7;Qe(0,191704,q);tc()}if(((c[(Yu(c[n>>2]|0,191576,k,0)|0)>>2]|0)+ -1|0)>>>0<2){p=c[r>>2]|0;if((p+ -1|0)>>>0>=2){c[l>>2]=p;c[o+4>>2]=1;c[o+8>>2]=2;Qe(0,191776,o);tc()}if((p|0)==1){I=+(c[m>>2]|0)}else{I=+h[m>>3]}h[a+48>>3]=I}Of(k);k=a+64|0;if((c[k>>2]|0)!=0){i=f;return}c[j>>2]=13;H=g+8|0;c[H>>2]=0;c[H+4>>2]=0;b=c[b>>2]|0;if((b|0)!=7){c[e>>2]=b;c[d+4>>2]=7;Qe(0,191704,d);tc()}if((c[(Yu(c[n>>2]|0,191528,g,0)|0)>>2]|0)==7){CG(k,g)}Of(g);i=f;return}function FG(a){a=a|0;var b=0,d=0,e=0;b=i;d=c[a+228>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+220>>2]|0;if((d|0)!=0){ke(d);HW(d)}a=a+224|0;d=c[a>>2]|0;if((d|0)==0){i=b;return}e=d+4|0;d=(c[e>>2]|0)+ -1|0;c[e>>2]=d;if((d|0)!=0){i=b;return}a=c[a>>2]|0;if((a|0)==0){i=b;return}fd[c[(c[a>>2]|0)+4>>2]&511](a);i=b;return}function GG(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0;g=i;m=i;i=i+8|0;j=m;n=i;i=i+8|0;p=n;s=i;i=i+8|0;r=s;D=i;i=i+8|0;u=i;i=i+8|0;v=u;x=i;i=i+8|0;y=x;A=i;i=i+8|0;z=A;ha=i;i=i+8|0;E=i;i=i+8|0;F=E;K=i;i=i+8|0;L=K;da=i;i=i+8|0;N=i;i=i+8|0;M=N;U=i;i=i+8|0;R=U;W=i;i=i+8|0;X=W;Z=i;i=i+8|0;_=Z;$=i;i=i+8|0;aa=$;ca=i;i=i+8|0;ba=ca;ea=i;i=i+8|0;ga=ea;ja=i;i=i+8|0;ka=ja;la=i;i=i+8|0;ma=la;ia=i;i=i+16|0;I=ia;q=i;i=i+16|0;f=q;J=i;i=i+16|0;G=J;V=i;i=i+16|0;Q=V;T=i;i=i+16|0;P=T;B=i;i=i+16|0;w=B;t=i;i=i+16|0;l=t;o=b+8|0;c[b+72>>2]=3;c[b+76>>2]=-1;c[b+80>>2]=-1;c[b+84>>2]=0;h[b+88>>3]=.5;h[b+96>>3]=.5;a[b+104|0]=1;a[b+105|0]=1;a[b+106|0]=1;c[b+12>>2]=100;c[b+16>>2]=5;a[b+20|0]=1;h[b+24>>3]=1.0;h[b+56>>3]=1.0;a[b+64|0]=0;c[o>>2]=0;k=b+112|0;c[b+176>>2]=3;c[b+180>>2]=-1;c[b+184>>2]=-1;c[b+188>>2]=0;h[b+192>>3]=.5;h[b+200>>3]=.5;a[b+208|0]=1;a[b+209|0]=1;a[b+210|0]=1;c[b+116>>2]=100;c[b+120>>2]=5;a[b+124|0]=1;h[b+128>>3]=1.0;h[b+160>>3]=1.0;a[b+168|0]=0;c[k>>2]=0;c[ia>>2]=13;fa=I+8|0;c[fa>>2]=0;c[fa+4>>2]=0;c[q>>2]=13;e=f+8|0;c[e>>2]=0;c[e+4>>2]=0;a[b]=1;Y=b+228|0;c[Y>>2]=0;H=b+220|0;c[H>>2]=0;S=b+216|0;a[S]=0;O=b+224|0;c[O>>2]=0;C=c[d>>2]|0;if((C|0)!=7){c[la>>2]=C;c[ma+4>>2]=7;Qe(0,191704,ma);tc()}C=d+8|0;if((c[(Yu(c[C>>2]|0,191520,f,0)|0)>>2]|0)==7){la=c[q>>2]|0;if((la|0)!=7){c[ja>>2]=la;c[ka+4>>2]=7;Qe(0,191704,ka);tc()}do{if((c[(Yu(c[e>>2]|0,191536,I,0)|0)>>2]|0)==4){ha=c[ia>>2]|0;if((ha|0)!=4){c[ea>>2]=ha;c[ga+4>>2]=4;Qe(0,191704,ga);tc()}if((Qc(c[fa>>2]|0,191584)|0)!=0){break}c[J>>2]=13;ea=G+8|0;c[ea>>2]=0;c[ea+4>>2]=0;c[V>>2]=13;fa=Q+8|0;c[fa>>2]=0;c[fa+4>>2]=0;ga=c[q>>2]|0;if((ga|0)!=7){c[ca>>2]=ga;c[ba+4>>2]=7;Qe(0,191704,ba);tc()}if((c[(Yu(c[e>>2]|0,191464,G,0)|0)>>2]|0)==7){ba=c[J>>2]|0;if((ba|0)!=7){c[$>>2]=ba;c[aa+4>>2]=7;Qe(0,191704,aa);tc()}do{if((c[(Yu(c[ea>>2]|0,191528,Q,0)|0)>>2]|0)==3){$=c[V>>2]|0;if(($|0)==3){la=c[fa>>2]|0;ma=FW(32)|0;ie(ma,la);c[Y>>2]=ma;break}else{c[Z>>2]=$;c[_+4>>2]=3;Qe(0,191704,_);tc()}}}while(0);Of(Q);Y=c[J>>2]|0;if((Y|0)!=7){c[W>>2]=Y;c[X+4>>2]=7;Qe(0,191704,X);tc()}if((c[(Yu(c[ea>>2]|0,191592,Q,0)|0)>>2]|0)==7){c[T>>2]=13;W=P+8|0;c[W>>2]=0;c[W+4>>2]=0;V=c[V>>2]|0;if((V|0)!=7){c[U>>2]=V;c[R+4>>2]=7;Qe(0,191704,R);tc()}do{if((c[(Yu(c[fa>>2]|0,191528,P,0)|0)>>2]|0)==8){a[S]=1;R=c[T>>2]|0;if((R|0)==8){ma=c[W>>2]|0;c[O>>2]=ma;ma=ma+4|0;c[ma>>2]=(c[ma>>2]|0)+1;break}else{c[N>>2]=R;c[M+4>>2]=8;Qe(0,191704,M);tc()}}}while(0);Of(P)}Of(Q)}else{Qe(-1,191600,da);a[b]=0}Of(G);M=c[q>>2]|0;if((M|0)!=7){c[K>>2]=M;c[L+4>>2]=7;Qe(0,191704,L);tc()}do{if((c[(Yu(c[e>>2]|0,191624,G,0)|0)>>2]|0)==3){J=c[J>>2]|0;if((J|0)==3){la=c[ea>>2]|0;ma=FW(32)|0;ie(ma,la);c[H>>2]=ma;break}else{c[E>>2]=J;c[F+4>>2]=3;Qe(0,191704,F);tc()}}}while(0);Of(G)}else{Qe(-1,191632,ha);a[b]=0}}while(0);Of(I);E=1}else{E=0}Of(f);if((a[b]&1)==0){i=g;return}F=c[d>>2]|0;if((F|0)!=7){c[A>>2]=F;c[z+4>>2]=7;Qe(0,191704,z);tc()}do{if((c[(Yu(c[C>>2]|0,191480,f,0)|0)>>2]|0)==7){c[B>>2]=13;z=w+8|0;c[z>>2]=0;c[z+4>>2]=0;z=c[q>>2]|0;if((z|0)!=7){c[x>>2]=z;c[y+4>>2]=7;Qe(0,191704,y);tc()}if((c[(Yu(c[e>>2]|0,191656,w,0)|0)>>2]|0)==7){DG(o,w)}Of(w);x=c[q>>2]|0;if((x|0)!=7){c[u>>2]=x;c[v+4>>2]=7;Qe(0,191704,v);tc()}if((c[(Yu(c[e>>2]|0,191664,w,0)|0)>>2]|0)==7){DG(k,w)}Of(w)}else{if(!E){break}Qe(-1,191672,D);a[b]=0}}while(0);Of(f);u=c[d>>2]|0;if((u|0)!=7){c[s>>2]=u;c[r+4>>2]=7;Qe(0,191704,r);tc()}if((c[(Yu(c[C>>2]|0,191696,f,0)|0)>>2]|0)==7){c[t>>2]=13;r=l+8|0;c[r>>2]=0;c[r+4>>2]=0;r=c[q>>2]|0;if((r|0)!=7){c[n>>2]=r;c[p+4>>2]=7;Qe(0,191704,p);tc()}if((c[(Yu(c[e>>2]|0,191656,l,0)|0)>>2]|0)==7){EG(o,l)}Of(l);n=c[q>>2]|0;if((n|0)!=7){c[m>>2]=n;c[j+4>>2]=7;Qe(0,191704,j);tc()}if((c[(Yu(c[e>>2]|0,191664,l,0)|0)>>2]|0)==7){EG(k,l)}Of(l)}Of(f);i=g;return}function HG(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;d=i;i=i+16|0;e=d;if((c[a>>2]|0)!=8){f=0;i=b;return f|0}f=c[a+8>>2]|0;f=jd[c[(c[f>>2]|0)+72>>2]&511](f)|0;if((f|0)==0){f=0;i=b;return f|0}c[d>>2]=13;g=e+8|0;c[g>>2]=0;c[g+4>>2]=0;Yu(f,191856,e,0)|0;if(((c[d>>2]|0)+ -1|0)>>>0>=2){g=0;i=b;return g|0}g=FW(40)|0;IG(g,a,1);i=b;return g|0}function IG(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,j=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.0;e=i;n=i;i=i+8|0;o=n;s=i;i=i+8|0;r=s;g=i;i=i+16|0;f=g;p=i;i=i+16|0;m=p;q=FW(16)|0;c[a>>2]=q;c[q+8>>2]=0;c[q+12>>2]=0;c[q>>2]=5;Mf(b,q)|0;q=a+8|0;c[q>>2]=0;j=a+16|0;h[j>>3]=0.0;k=a+24|0;c[k>>2]=1;l=a+28|0;c[l>>2]=8;b=a+32|0;c[b>>2]=0;if(!d){i=e;return}c[g>>2]=13;d=f+8|0;c[d>>2]=0;c[d+4>>2]=0;t=c[a>>2]|0;u=c[t>>2]|0;if((u|0)!=8){c[s>>2]=u;c[r+4>>2]=8;Qe(0,191928,r);tc()}r=c[t+8>>2]|0;r=jd[c[(c[r>>2]|0)+72>>2]&511](r)|0;Yu(r,191864,f,0)|0;do{if((c[g>>2]|0)==5){c[a+4>>2]=0}else{c[p>>2]=13;s=m+8|0;c[s>>2]=0;c[s+4>>2]=0;c[a+4>>2]=1;if(!(CH(f,m)|0)){break}p=c[p>>2]|0;if((p|0)==3){t=c[s>>2]|0;u=FW(32)|0;ie(u,t);c[q>>2]=u;Of(m);break}else{c[n>>2]=p;c[o+4>>2]=3;Qe(0,191928,o);tc()}}}while(0);Of(f);Yu(r,191856,f,0)|0;m=c[g>>2]|0;if((m+ -1|0)>>>0<2){if((m|0)==1){v=+(c[d>>2]|0)}else{v=+h[d>>3]}h[j>>3]=v}Of(f);Yu(r,191872,f,0)|0;if((c[g>>2]|0)==1){c[k>>2]=c[d>>2]}Of(f);Yu(r,191880,f,0)|0;if((c[g>>2]|0)==1){c[l>>2]=c[d>>2]}Of(f);Yu(r,191888,f,0)|0;do{if((c[g>>2]|0)==4){g=c[d>>2]|0;if((Qc(191896,g|0)|0)==0){c[b>>2]=0;break}if((Qc(191904,g|0)|0)==0){c[b>>2]=1;break}if((Qc(191912,g|0)|0)==0){c[b>>2]=2;break}if((Qc(191920,g|0)|0)!=0){break}c[b>>2]=3}}while(0);Of(f);i=e;return}function JG(a){a=a|0;var b=0,d=0;b=i;d=c[a+8>>2]|0;if((d|0)!=0){ke(d);HW(d)}Of(c[a>>2]|0);a=c[a>>2]|0;if((a|0)==0){i=b;return}HW(a);i=b;return}function KG(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;a=i;b=i;i=i+8192|0;e=i;i=i+16|0;Vt(e,d,0);d=c[q>>2]|0;f=0;do{g=Ta(b|0,1,8192,d|0)|0;Xt(e,b,8192)|0;f=g+f|0;}while((g|0)==8192);i=a;return f|0}function LG(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return 0}function MG(a){a=a|0;i=i;return}function NG(a){a=a|0;var b=0;b=i;HW(a);i=b;return}function OG(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;c[b>>2]=192104;c[b+8>>2]=d;c[b+4>>2]=d;c[b+12>>2]=e;a[b+16|0]=f&1;i=i;return}function PG(b){b=b|0;var d=0;d=i;c[b>>2]=192104;if((a[b+16|0]&1)==0){HW(b);i=d;return}Fe(c[b+4>>2]|0);HW(b);i=d;return}function QG(b){b=b|0;var d=0;d=i;c[b>>2]=192104;if((a[b+16|0]&1)==0){i=d;return}Fe(c[b+4>>2]|0);i=d;return}function RG(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;f=i;i=i+8|0;h=i;i=i+8|0;g=i;i=i+8|0;e=yc(a|0,192112)|0;if((e|0)==0){c[g>>2]=a;Qe(-1,192120,g);h=0;i=d;return h|0}if((jc(e|0,0,2)|0)!=0){c[h>>2]=a;Qe(-1,192144,h);mc(e|0)|0;h=0;i=d;return h|0}g=jb(e|0)|0;if((jc(e|0,0,0)|0)!=0){c[f>>2]=a;Qe(-1,192176,f);mc(e|0)|0;h=0;i=d;return h|0}a=we(g)|0;if((Ta(a|0,1,g|0,e|0)|0)==(g|0)){mc(e|0)|0;c[b>>2]=g;h=a;i=d;return h|0}else{Fe(a);mc(e|0)|0;h=0;i=d;return h|0}return 0}function SG(b,e,f){b=b|0;e=e|0;f=f|0;var g=0;g=i;do{if((e|0)>=0){if((c[b+12>>2]|0)<=(e|0)){break}e=d[(c[b+8>>2]|0)+e|0]|0;i=g;return e|0}}while(0);a[f]=0;e=0;i=g;return e|0}function TG(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0;g=i;do{if((e|0)>=0){h=e+1|0;if((h|0)>=(c[b+12>>2]|0)){break}f=c[b+8>>2]|0;b=(d[f+e|0]|0)<<8;f=b|(d[f+h|0]|0);h=(b&32768|0)==0?f:f|-65536;i=g;return h|0}}while(0);a[f]=0;h=0;i=g;return h|0}function UG(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0;g=i;do{if((e|0)>=0){h=e+1|0;if((h|0)>=(c[b+12>>2]|0)){break}b=c[b+8>>2]|0;h=(d[b+e|0]|0)<<8|(d[b+h|0]|0);i=g;return h|0}}while(0);a[f]=0;h=0;i=g;return h|0}function VG(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0;g=i;do{if((e|0)>=0){h=e+3|0;if((h|0)>=(c[b+12>>2]|0)){break}b=c[b+8>>2]|0;h=(((d[b+e|0]|0)<<8|(d[b+(e+1)|0]|0))<<8|(d[b+(e+2)|0]|0))<<8|(d[b+h|0]|0);i=g;return h|0}}while(0);a[f]=0;h=0;i=g;return h|0}function WG(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;do{if((e|0)>=0){if((f+e|0)>(c[b+12>>2]|0)){break}if((f|0)<=0){j=0;i=h;return j|0}b=c[b+8>>2]|0;g=0;j=0;while(1){j=d[b+(g+e)|0]|0|j<<8;g=g+1|0;if((g|0)<(f|0)){}else{break}}i=h;return j|0}}while(0);a[g]=0;j=0;i=h;return j|0}function XG(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;if((d|b|0)<=-1){a=0;i=e;return a|0}a=(d+b|0)<=(c[a+12>>2]|0);i=e;return a|0}function YG(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;e=FW(32)|0;OG(e,b,d,0);c[e>>2]=201656;c[e+20>>2]=0;c[e+24>>2]=0;a[e+28|0]=0;i=f;return e|0}function ZG(b){b=b|0;var d=0,e=0,f=0;d=i;e=i;i=i+8|0;b=RG(b,e)|0;if((b|0)==0){b=0;i=d;return b|0}f=FW(32)|0;OG(f,b,c[e>>2]|0,1);c[f>>2]=201656;c[f+20>>2]=0;c[f+24>>2]=0;a[f+28|0]=0;b=f;i=d;return b|0}function _G(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;c[a>>2]=201656;d=c[a+20>>2]|0;if((d|0)!=0){Fe(d)}d=a+24|0;e=c[d>>2]|0;if((e|0)==0|(e|0)==193784){QG(a);HW(a);i=b;return}else{f=0}do{Fe(c[e+(f<<2)>>2]|0);f=f+1|0;e=c[d>>2]|0}while((f|0)<256);Fe(e);QG(a);HW(a);i=b;return}function $G(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;c[a>>2]=201656;d=c[a+20>>2]|0;if((d|0)!=0){Fe(d)}d=a+24|0;e=c[d>>2]|0;if((e|0)==0|(e|0)==193784){QG(a);i=b;return}else{f=0}do{Fe(c[e+(f<<2)>>2]|0);f=f+1|0;e=c[d>>2]|0}while((f|0)<256);Fe(e);QG(a);i=b;return}function aH(b){b=b|0;var d=0;d=i;if((a[b+28|0]&1)==0){bH(b)}i=d;return c[b+20>>2]|0}function bH(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=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,w=0,x=0;j=i;h=i;i=i+8|0;g=i;i=i+8|0;f=i;i=i+256|0;e=i;i=i+8|0;o=b+8|0;s=c[o>>2]|0;p=b+24|0;if((s|0)==0){x=b+28|0;a[x]=1;i=j;return}l=b+20|0;m=f+255|0;n=f+9|0;k=b+12|0;d=1;a:while(1){do{if((c[l>>2]|0)==0){if((vc(s|0,201704,9)|0)!=0){if((c[p>>2]|0)==0){q=18;break}else{q=76;break}}hX(f|0,s|0,255)|0;a[m]=0;r=Fb(n|0,47)|0;do{if((r|0)!=0){r=Mb(r+1|0,201720,e|0)|0;if((r|0)==0){break}c[l>>2]=Ge(r)|0}}while(0);r=(c[o>>2]|0)+(c[k>>2]|0)|0;b:do{if(r>>>0>s>>>0){do{x=a[s]|0;if(x<<24>>24==10|x<<24>>24==13){break b}s=s+1|0;}while(s>>>0<r>>>0)}}while(0);if(s>>>0<r>>>0){s=(a[s]|0)==13?s+1|0:s}if(s>>>0<r>>>0){s=(a[s]|0)==10?s+1|0:s}s=s>>>0<r>>>0?s:0}else{if((c[p>>2]|0)==0){q=18}else{q=86;break a}}}while(0);c:do{if((q|0)==18){q=0;if((vc(s|0,201664,30)|0)==0){c[p>>2]=193784;break}if((vc(s|0,201728,19)|0)!=0){q=76;break}r=ye(256,4)|0;c[p>>2]=r;t=0;while(1){c[r+(t<<2)>>2]=0;t=t+1|0;if((t|0)>=256){break}r=c[p>>2]|0}r=c[o>>2]|0;u=c[k>>2]|0;t=r+u|0;d:do{if(t>>>0>s>>>0){do{x=a[s]|0;if(x<<24>>24==10|x<<24>>24==13){break d}s=s+1|0;}while(s>>>0<t>>>0)}}while(0);if(s>>>0<t>>>0){s=(a[s]|0)==13?s+1|0:s}if(s>>>0<t>>>0){s=(a[s]|0)==10?s+1|0:s}if((s|0)==0|s>>>0>=t>>>0){q=86;break a}else{t=r;r=0}while(1){t=t+u|0;e:do{if(t>>>0>s>>>0){u=s;do{x=a[u]|0;if(x<<24>>24==10|x<<24>>24==13){break e}u=u+1|0;}while(u>>>0<t>>>0)}else{u=s}}while(0);if(u>>>0<t>>>0){u=(a[u]|0)==13?u+1|0:u}if(u>>>0<t>>>0){u=(a[u]|0)==10?u+1|0:u}t=u>>>0<t>>>0?u:0;if((t|0)==0){break c}u=t-s|0;if((u|0)>255){Qe(-1,201752,g);u=255}hX(f|0,s|0,u|0)|0;a[f+u|0]=0;u=f;while(1){x=a[u]|0;if(!(x<<24>>24==9|x<<24>>24==32)){break}u=u+1|0}f:do{if((vc(u|0,201832,3)|0)==0){v=u+3|0;while(1){w=a[v]|0;if(!(w<<24>>24==9|w<<24>>24==32)){x=v;break}v=v+1|0}while(1){u=x+1|0;if((w+ -48<<24>>24&255)>=10){break}w=a[u]|0;x=u}if(w<<24>>24==0){s=t;break}a[x]=0;v=ec(v|0)|0;a[x]=w;do{if((v|0)==8&w<<24>>24==35){w=a[u]|0;if((w+ -48<<24>>24&255)<8){v=0}else{v=0;break}while(1){v=(v<<3)+ -48+(w<<24>>24)|0;u=u+1|0;w=a[u]|0;if((w+ -48<<24>>24&255)<8){}else{q=55;break}}}else{u=x;q=55}}while(0);if((q|0)==55){q=0;if(v>>>0>=256){s=t;break}}while(1){if(w<<24>>24==47){break}else if(!(w<<24>>24==9|w<<24>>24==32)){s=t;break f}x=u+1|0;w=a[x]|0;u=x}w=u+1|0;u=w;while(1){x=a[u]|0;if(x<<24>>24==9|x<<24>>24==32|x<<24>>24==0){break}u=u+1|0}a[u]=0;w=Ge(w)|0;c[(c[p>>2]|0)+(v<<2)>>2]=w;a[u]=x;while(1){if(!(x<<24>>24==9|x<<24>>24==32)){break}w=u+1|0;x=a[w]|0;u=w}if((vc(u|0,201840,3)|0)!=0){Qe(-1,201848,h);s=t;break}u=u+3|0;g:while(1){switch(a[u]|0){case 13:case 10:case 9:case 32:{break};case 0:{s=t;break f};default:{break g}}u=u+1|0}s=s+(u-f)|0}else{if((Mb(f|0,201888,e|0)|0)==0){s=t;break}u=Mb(0,201720,e|0)|0;if((u|0)==0){s=t;break}if((Qc(u|0,201696)|0)==0){break c}else{s=t}}}while(0);if((r|0)>298|(s|0)==0){break c}u=c[k>>2]|0;t=c[o>>2]|0;r=r+1|0}}}while(0);if((q|0)==76){q=0;r=(c[o>>2]|0)+(c[k>>2]|0)|0;h:do{if(r>>>0>s>>>0){do{x=a[s]|0;if(x<<24>>24==10|x<<24>>24==13){break h}s=s+1|0;}while(s>>>0<r>>>0)}}while(0);if(s>>>0<r>>>0){s=(a[s]|0)==13?s+1|0:s}if(s>>>0<r>>>0){s=(a[s]|0)==10?s+1|0:s}s=s>>>0<r>>>0?s:0}if((d|0)>99|(s|0)==0){q=86;break}d=d+1|0}if((q|0)==86){x=b+28|0;a[x]=1;i=j;return}}function cH(b){b=b|0;var d=0;d=i;if((a[b+28|0]&1)==0){bH(b)}i=d;return c[b+24>>2]|0}function dH(b){b=b|0;var c=0;c=i;Vb(b|0,0)|0;a[b+16|0]=1;i=c;return}function eH(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0.0;d=i;g=b+8|0;if((a[b+16|0]&1)!=0){Vb(g|0,0)|0}e=c[b+4>>2]|0;h=b+12|0;f=c[h>>2]|0;if((e|0)>(f|0)){f=f+1e6|0;c[h>>2]=f;h=(c[g>>2]|0)+ -1|0;c[g>>2]=h;g=h}else{g=c[g>>2]|0}j=+(f-e|0)/1.0e6+ +(g-(c[b>>2]|0)|0);i=d;return+(j<0.0?0.0:j)}function fH(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;k=i;i=i+8|0;h=i;i=i+8|0;g=i;i=i+8|0;j=i;i=i+8|0;if((FL(j)|0)!=0){k=0;i=e;return k|0}f=FW(12)|0;j=c[j>>2]|0;a[f]=b&1;a[f+1|0]=d&1;c[f+4>>2]=j;qK(j,k,h,g);b=c[k>>2]|0;do{if((b|0)>2){g=1}else{if((b|0)!=2){g=0;break}h=c[h>>2]|0;if((h|0)>1){g=1;break}if((h|0)!=1){g=0;break}g=(c[g>>2]|0)>7|0}}while(0);a[f+8|0]=g;k=f;i=e;return k|0}function gH(a){a=a|0;var b=0;b=i;GL(c[a+4>>2]|0)|0;i=b;return}function hH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=i;a=nH(a,b,c,d)|0;i=e;return a|0}function iH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=i;a=nH(a,b,c,d)|0;i=e;return a|0}function jH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=i;a=nH(a,b,c,d)|0;i=e;return a|0}function kH(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;f=i;g=i;i=i+8|0;h=g;do{if((a[b+8|0]&1)==0){if((a[e]&1)==0){j=Tn(c[e+8>>2]|0,c[e+12>>2]|0)|0}else{j=Vn(c[(c[e+4>>2]|0)+28>>2]|0)|0}if((j|0)==0){c[g>>2]=0;h=0;g=0;break}else{k=_n(j,h)|0;fd[c[(c[j>>2]|0)+4>>2]&511](j);h=c[g>>2]|0;g=k;break}}else{c[g>>2]=0;h=0;g=0}}while(0);b=oH(b,d,e,g,h)|0;if((b|0)!=0){i=f;return b|0}Fe(g);i=f;return b|0}function lH(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;f=i;g=i;i=i+8|0;j=g;c[g>>2]=0;do{if((a[b+8|0]&1)==0){if((a[e]&1)==0){h=Cn(c[e+8>>2]|0,c[e+12>>2]|0,0)|0}else{h=Dn(c[(c[e+4>>2]|0)+28>>2]|0,0)|0}if((h|0)==0){h=0;break}if((a[h+64|0]&1)==0){j=0}else{j=Mn(h,j)|0}fd[c[(c[h>>2]|0)+4>>2]&511](h);h=j}else{h=0}}while(0);b=oH(b,d,e,h,c[g>>2]|0)|0;if((b|0)!=0){i=f;return b|0}Fe(h);i=f;return b|0}function mH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;a=pH(a,b,c,d,e,f)|0;i=g;return a|0}function nH(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0;h=i;j=i;i=i+8|0;l=j;k=c[d+4>>2]|0;do{if((a[f]&1)==0){if((NJ(k,c[f+8>>2]|0,c[f+12>>2]|0,0,l)|0)==0){break}else{d=0}i=h;return d|0}else{if((LJ(k,c[(c[f+4>>2]|0)+28>>2]|0,0,l)|0)==0){break}else{d=0}i=h;return d|0}}while(0);k=ye(256,4)|0;l=0;do{m=k+(l<<1)|0;b[m>>1]=0;n=c[g+(l<<2)>>2]|0;if((n|0)!=0){b[m>>1]=gK(c[j>>2]|0,n)|0}l=l+1|0;}while((l|0)<256);n=FW(40)|0;m=c[j>>2]|0;Wp(n,e,f);c[n>>2]=201936;c[n+20>>2]=d;c[n+24>>2]=m;c[n+28>>2]=k;c[n+32>>2]=256;a[n+36|0]=0;i=h;return n|0}function oH(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;h=i;j=i;i=i+8|0;k=j;l=c[b+4>>2]|0;do{if((a[e]&1)==0){if((NJ(l,c[e+8>>2]|0,c[e+12>>2]|0,0,k)|0)==0){break}else{d=0}i=h;return d|0}else{if((LJ(l,c[(c[e+4>>2]|0)+28>>2]|0,0,k)|0)==0){break}else{d=0}i=h;return d|0}}while(0);l=FW(40)|0;k=c[j>>2]|0;Wp(l,d,e);c[l>>2]=201936;c[l+20>>2]=b;c[l+24>>2]=k;c[l+28>>2]=f;c[l+32>>2]=g;a[l+36|0]=0;g=l;i=h;return g|0}function pH(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0;j=i;m=i;i=i+8|0;k=m;l=c[b+4>>2]|0;do{if((a[e]&1)==0){if((NJ(l,c[e+8>>2]|0,c[e+12>>2]|0,h,k)|0)==0){break}else{e=0}i=j;return e|0}else{if((LJ(l,c[(c[e+4>>2]|0)+28>>2]|0,h,k)|0)==0){break}else{e=0}i=j;return e|0}}while(0);h=FW(40)|0;m=c[m>>2]|0;Wp(h,d,e);c[h>>2]=201936;c[h+20>>2]=b;c[h+24>>2]=m;c[h+28>>2]=f;c[h+32>>2]=g;a[h+36|0]=1;i=j;return h|0}function qH(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=201936;d=c[a+24>>2]|0;if((d|0)!=0){SJ(d)|0}d=c[a+28>>2]|0;if((d|0)==0){Yp(a);HW(a);i=b;return}Fe(d);Yp(a);HW(a);i=b;return}function rH(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=201936;d=c[a+24>>2]|0;if((d|0)!=0){SJ(d)|0}d=c[a+28>>2]|0;if((d|0)==0){Yp(a);i=b;return}Fe(d);Yp(a);i=b;return}function sH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;d=FW(184)|0;LI(d,a,b,c);uH(d);i=e;return d|0}function tH(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var j=0;j=i;c[b>>2]=202e3;c[b+4>>2]=d;_p(d);h[b+8>>3]=+h[e>>3];h[b+16>>3]=+h[e+8>>3];h[b+24>>3]=+h[e+16>>3];h[b+32>>3]=+h[e+24>>3];h[b+40>>3]=+h[f>>3];h[b+48>>3]=+h[f+8>>3];h[b+56>>3]=+h[f+16>>3];h[b+64>>3]=+h[f+24>>3];a[b+72|0]=g&1;bX(b+76|0,0,24)|0;i=j;return}function uH(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;e=(c[b+84>>2]|0)+3-(c[b+76>>2]|0)|0;c[b+100>>2]=e;f=(c[b+88>>2]|0)-(c[b+80>>2]|0)+3|0;c[b+104>>2]=f;if((a[b+72|0]&1)==0){g=da(e+7>>3,f)|0;c[b+108>>2]=g}else{g=da(e,f)|0;c[b+108>>2]=g}e=b+116|0;c[e>>2]=8;do{if((g|0)<65){c[b+112>>2]=32;h=256}else{if((g|0)<129){c[b+112>>2]=16;h=128;break}if((g|0)<257){c[b+112>>2]=8;h=64;break}if((g|0)<513){c[b+112>>2]=4;h=32;break}f=b+112|0;if((g|0)<1025){c[f>>2]=2;h=16;break}else{c[f>>2]=1;h=8;break}}}while(0);f=b+112|0;j=ze(h,g)|0;c[b+92>>2]=j;if((j|0)==0){c[e>>2]=0;i=d;return}g=ye(da(c[e>>2]|0,c[f>>2]|0)|0,28)|0;b=b+96|0;c[b>>2]=g;h=c[e>>2]|0;if((da(h,c[f>>2]|0)|0)>0){j=0}else{i=d;return}while(1){c[g+(j*28|0)+8>>2]=h+ -1&j;j=j+1|0;h=c[e>>2]|0;if((j|0)>=(da(h,c[f>>2]|0)|0)){break}g=c[b>>2]|0}i=d;return}function vH(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=202e3;$p(c[a+4>>2]|0);d=c[a+92>>2]|0;if((d|0)!=0){Fe(d)}d=c[a+96>>2]|0;if((d|0)==0){HW(a);i=b;return}Fe(d);HW(a);i=b;return}function wH(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=202e3;$p(c[a+4>>2]|0);d=c[a+92>>2]|0;if((d|0)!=0){Fe(d)}a=c[a+96>>2]|0;if((a|0)==0){i=b;return}Fe(a);i=b;return}function xH(d,e,f,g,h,j,k,l,m){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;n=i;q=i;i=i+32|0;r=q;s=d+72|0;if((a[s]&1)==0){o=3}else{if((c[d+104>>2]|0)>50){o=3}}if((o|0)==3){f=0;g=0}o=d+116|0;w=c[o>>2]|0;p=da((c[d+112>>2]|0)+ -1&e,w)|0;a:do{if((w|0)>0){t=d+96|0;x=c[t>>2]|0;u=0;b:while(1){v=u+p|0;do{if((c[x+(v*28|0)+8>>2]|0)<0){if((c[x+(v*28|0)>>2]|0)!=(e|0)){break}if((b[x+(v*28|0)+4>>1]|0)!=(f|0)){break}if((b[x+(v*28|0)+6>>1]|0)==(g|0)){break b}}}while(0);u=u+1|0;if((u|0)>=(w|0)){break a}}c[h>>2]=c[x+(v*28|0)+12>>2];e=h+4|0;c[e>>2]=c[(c[t>>2]|0)+(v*28|0)+16>>2];r=h+8|0;c[r>>2]=c[(c[t>>2]|0)+(v*28|0)+20>>2];q=h+12|0;c[q>>2]=c[(c[t>>2]|0)+(v*28|0)+24>>2];g=c[o>>2]|0;if((g|0)>0){f=0;do{do{if((f|0)!=(u|0)){A=c[t>>2]|0;w=A+((f+p|0)*28|0)+8|0;x=c[w>>2]|0;if((x&2147483647)>>>0>=(c[A+(v*28|0)+8>>2]&2147483647)>>>0){break}c[w>>2]=x+1;g=c[o>>2]|0}}while(0);f=f+1|0;}while((f|0)<(g|0))}c[(c[t>>2]|0)+(v*28|0)+8>>2]=-2147483648;a[h+16|0]=a[s]&1;c[h+20>>2]=(c[d+92>>2]|0)+(da(c[d+108>>2]|0,v)|0);a[h+24|0]=0;z=j-(c[h>>2]|0)|0;A=k-(c[e>>2]|0)|0;c[m>>2]=Jp(l,z,A,z+ -1+(c[r>>2]|0)|0,A+ -1+(c[q>>2]|0)|0)|0;A=1;i=n;return A|0}}while(0);if(!(Fd[c[(c[d>>2]|0)+12>>2]&7](d,e,f,g,r,j,k,l,m)|0)){A=0;i=n;return A|0}if((c[m>>2]|0)==1){a[h+24|0]=0;if((a[r+24|0]&1)==0){A=1;i=n;return A|0}Fe(c[r+20>>2]|0);A=1;i=n;return A|0}j=r+8|0;m=c[j>>2]|0;do{if((m|0)<=(c[d+100>>2]|0)){k=r+12|0;l=c[k>>2]|0;if((l|0)>(c[d+104>>2]|0)){break}if((a[s]&1)==0){m=m+7>>3}s=da(m,l)|0;v=c[o>>2]|0;if((v|0)==0){$W(h|0,q|0,28)|0;A=1;i=n;return A|0}if((v|0)>0){l=d+96|0;m=f&65535;t=g&65535;f=r+4|0;g=d+92|0;u=d+108|0;d=r+20|0;w=0;z=0;do{y=w+p|0;x=(c[l>>2]|0)+(y*28|0)+8|0;A=c[x>>2]|0;if((A&2147483647|0)==(v+ -1|0)){c[x>>2]=-2147483648;c[(c[l>>2]|0)+(y*28|0)>>2]=e;b[(c[l>>2]|0)+(y*28|0)+4>>1]=m;b[(c[l>>2]|0)+(y*28|0)+6>>1]=t;c[(c[l>>2]|0)+(y*28|0)+12>>2]=c[q>>2];c[(c[l>>2]|0)+(y*28|0)+16>>2]=c[f>>2];c[(c[l>>2]|0)+(y*28|0)+20>>2]=c[j>>2];c[(c[l>>2]|0)+(y*28|0)+24>>2]=c[k>>2];z=(c[g>>2]|0)+(da(c[u>>2]|0,y)|0)|0;$W(z|0,c[d>>2]|0,s|0)|0}else{c[x>>2]=A+1}w=w+1|0;v=c[o>>2]|0;}while((w|0)<(v|0))}else{z=0}$W(h|0,q|0,28)|0;c[h+20>>2]=z;a[h+24|0]=0;if((a[r+24|0]&1)==0){A=1;i=n;return A|0}Fe(c[r+20>>2]|0);A=1;i=n;return A|0}}while(0);$W(h|0,q|0,28)|0;A=1;i=n;return A|0}function yH(a,b){a=a|0;b=b|0;i=i;return -1.0}function zH(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;g=i;f=b+4|0;c[f>>2]=e;h=ye(e,4)|0;c[b>>2]=h;a:do{if((c[f>>2]|0)>0){j=0;while(1){c[h+(j<<2)>>2]=0;j=j+1|0;if((j|0)>=(c[f>>2]|0)){break a}h=c[b>>2]|0}}}while(0);if((e|0)>0){j=0}else{i=g;return}do{h=d+(j*12|0)|0;m=c[h>>2]|0;k=a[m]|0;if(k<<24>>24==0){l=0}else{l=0;while(1){l=(l*17|0)+(k&255)|0;m=m+1|0;k=a[m]|0;if(k<<24>>24==0){break}else{}}}m=(l>>>0)%((c[f>>2]|0)>>>0)|0;c[d+(j*12|0)+8>>2]=c[(c[b>>2]|0)+(m<<2)>>2];c[(c[b>>2]|0)+(m<<2)>>2]=h;j=j+1|0;}while((j|0)<(e|0));i=g;return}function AH(a){a=a|0;var b=0;b=i;Fe(c[a>>2]|0);i=b;return}function BH(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;h=i;j=a[e]|0;if(j<<24>>24==0){l=0}else{l=0;k=e;while(1){l=(l*17|0)+(j&255)|0;k=k+1|0;j=a[k]|0;if(j<<24>>24==0){break}else{}}}d=c[(c[d>>2]|0)+(((l>>>0)%((c[d+4>>2]|0)>>>0)|0)<<2)>>2]|0;if((d|0)==0){l=0;i=h;return l|0}while(1){if((Qc(c[d>>2]|0,e|0)|0)==0){break}d=c[d+8>>2]|0;if((d|0)==0){f=0;g=7;break}}if((g|0)==7){i=h;return f|0}b[f>>1]=b[d+4>>1]|0;l=1;i=h;return l|0}function CH(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;g=i;l=i;i=i+8|0;d=i;i=i+8|0;e=i;i=i+8|0;f=e;j=i;i=i+8|0;h=j;k=c[a>>2]|0;if((k|0)==3){Mf(a,b)|0;l=1;i=g;return l|0}else if((k|0)==7){k=a+8|0;if((c[(Yu(c[k>>2]|0,202048,b,0)|0)>>2]|0)==3){l=1;i=g;return l|0}Of(b);l=c[a>>2]|0;if((l|0)!=7){c[j>>2]=l;c[h+4>>2]=7;Qe(0,202096,h);tc()}if((c[(Yu(c[k>>2]|0,202056,b,0)|0)>>2]|0)==3){l=1;i=g;return l|0}Of(b);h=c[a>>2]|0;if((h|0)!=7){c[e>>2]=h;c[f+4>>2]=7;Qe(0,202096,f);tc()}if((c[(Yu(c[k>>2]|0,202064,b,0)|0)>>2]|0)==3){l=1;i=g;return l|0}Of(b);Qe(-1,202072,d);l=0;i=g;return l|0}else{Qe(-1,202072,l);l=0;i=g;return l|0}return 0}function DH(a){a=a|0;i=i;return}function EH(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;e=i;i=i+16|0;d=e;f=d+4|0;c[f>>2]=0;c[d+8>>2]=0;c[e>>2]=f;a=FH(a,d)|0;xn(d,c[d+4>>2]|0);i=b;return a|0}function FH(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;e=i;f=i;i=i+8|0;g=f;k=i;i=i+8|0;l=k;n=i;i=i+8|0;r=i;i=i+8|0;o=i;i=i+16|0;j=o;c[o>>2]=13;m=j+8|0;c[m>>2]=0;c[m+4>>2]=0;q=c[b>>2]|0;do{if((q|0)==8){q=c[b+8>>2]|0;q=jd[c[(c[q>>2]|0)+72>>2]&511](q)|0}else if((q|0)==7){q=c[b+8>>2]|0}else if((q|0)==4){if((Qc(c[b+8>>2]|0,202168)|0)!=0){p=8;break}b=FW(1048)|0;c[b>>2]=202568;c[b+4>>2]=32;c[b+8>>2]=32;f=0;do{h[b+16+(f<<4)>>3]=0.0;h[b+16+(f<<4)+8>>3]=1.0;f=f+1|0;}while((f|0)<32);a[b+1040|0]=0;r=b;i=e;return r|0}else{p=8}}while(0);if((p|0)==8){Qe(-1,202184,r);r=0;i=e;return r|0}if((c[(Yu(q,202224,j,0)|0)>>2]|0)!=1){Qe(-1,202240,n);Of(j);r=0;i=e;return r|0}n=c[o>>2]|0;if((n|0)!=1){c[k>>2]=n;c[l+4>>2]=1;Qe(0,205232,l);tc()}k=c[m>>2]|0;Of(j);if((k|0)==4){r=FW(1072)|0;WH(r,b,q);b=r}else if((k|0)==3){b=FW(1072)|0;QH(b,0,q,d)}else if((k|0)==2){b=FW(1576)|0;NH(b,0,q)}else if((k|0)==0){r=FW(2600)|0;JH(r,b,q);b=r}else{c[f>>2]=k;Qe(-1,202280,g);r=0;i=e;return r|0}if(jd[c[(c[b>>2]|0)+20>>2]&511](b)|0){r=b;i=e;return r|0}if((b|0)==0){r=0;i=e;return r|0}fd[c[(c[b>>2]|0)+4>>2]&511](b);r=0;i=e;return r|0}function GH(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0.0;o=i;g=i;i=i+8|0;p=i;i=i+8|0;e=p;q=i;i=i+8|0;s=i;i=i+8|0;r=s;u=i;i=i+8|0;t=u;w=i;i=i+8|0;v=w;y=i;i=i+8|0;A=i;i=i+8|0;B=A;z=i;i=i+8|0;C=i;i=i+8|0;x=C;E=i;i=i+8|0;F=E;D=i;i=i+8|0;G=D;H=i;i=i+8|0;k=i;i=i+16|0;f=k;l=i;i=i+16|0;j=l;c[k>>2]=13;m=f+8|0;c[m>>2]=0;c[m+4>>2]=0;c[l>>2]=13;n=j+8|0;c[n>>2]=0;c[n+4>>2]=0;a:do{if((c[(Yu(d,202320,f,0)|0)>>2]|0)==6){H=c[k>>2]|0;if((H|0)!=6){c[D>>2]=H;c[G+4>>2]=6;Qe(0,205232,G);tc()}G=c[(c[m>>2]|0)+12>>2]|0;D=b+4|0;c[D>>2]=(G|0)/2|0;if((G|0)>65){c[E>>2]=32;Qe(-1,202360,F);break}b:do{if((G|0)>1){G=6;E=0;while(1){F=E<<1;if((G|0)!=6){D=10;break}ut(c[m>>2]|0,F,j)|0;G=c[l>>2]|0;if((G+ -1|0)>>>0>=2){D=12;break}if((G|0)==1){I=+(c[n>>2]|0)}else{I=+h[n>>3]}h[b+16+(E<<4)>>3]=I;Of(j);G=c[k>>2]|0;if((G|0)!=6){D=17;break}ut(c[m>>2]|0,F|1,j)|0;F=c[l>>2]|0;if((F+ -1|0)>>>0>=2){D=19;break}if((F|0)==1){I=+(c[n>>2]|0)}else{I=+h[n>>3]}h[b+16+(E<<4)+8>>3]=I;Of(j);E=E+1|0;if((E|0)>=(c[D>>2]|0)){D=25;break b}G=c[k>>2]|0}if((D|0)==10){c[C>>2]=G;c[x+4>>2]=6;Qe(0,205232,x);tc()}else if((D|0)==12){Qe(-1,202416,z);break}else if((D|0)==17){c[A>>2]=G;c[B+4>>2]=6;Qe(0,205232,B);tc()}else if((D|0)==19){Qe(-1,202416,y);break}}else{D=25}}while(0);c:do{if((D|0)==25){Of(f);y=b+1040|0;a[y]=0;x=b+8|0;c[x>>2]=0;d:do{if((c[(Yu(d,202456,f,0)|0)>>2]|0)==6){a[y]=1;d=c[k>>2]|0;if((d|0)!=6){c[w>>2]=d;c[v+4>>2]=6;Qe(0,205232,v);tc()}v=c[(c[m>>2]|0)+12>>2]|0;c[x>>2]=(v|0)/2|0;if((v|0)>65){c[u>>2]=32;Qe(-1,202464,t);break a}if((v|0)<=1){break}v=6;t=0;while(1){u=t<<1;if((v|0)!=6){D=33;break}ut(c[m>>2]|0,u,j)|0;v=c[l>>2]|0;if((v+ -1|0)>>>0>=2){D=35;break}if((v|0)==1){I=+(c[n>>2]|0)}else{I=+h[n>>3]}h[b+528+(t<<4)>>3]=I;Of(j);v=c[k>>2]|0;if((v|0)!=6){D=40;break}ut(c[m>>2]|0,u|1,j)|0;u=c[l>>2]|0;if((u+ -1|0)>>>0>=2){D=42;break}if((u|0)==1){I=+(c[n>>2]|0)}else{I=+h[n>>3]}h[b+528+(t<<4)+8>>3]=I;Of(j);t=t+1|0;if((t|0)>=(c[x>>2]|0)){break d}v=c[k>>2]|0}if((D|0)==33){c[s>>2]=v;c[r+4>>2]=6;Qe(0,205232,r);tc()}else if((D|0)==35){Qe(-1,202520,q);break c}else if((D|0)==40){c[p>>2]=v;c[e+4>>2]=6;Qe(0,205232,e);tc()}else if((D|0)==42){Qe(-1,202520,g);break c}}}while(0);Of(f);H=1;i=o;return H|0}}while(0);Of(j)}else{Qe(-1,202328,H)}}while(0);Of(f);H=0;i=o;return H|0}function HH(a){a=a|0;var b=0;b=i;HW(a);i=b;return}function IH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=i;d=0;do{h[c+(d<<3)>>3]=+h[b+(d<<3)>>3];d=d+1|0;}while((d|0)<32);i=a;return}function JH(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,k=0,l=0.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,y=0,z=0,A=0,B=0,C=0,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,Q=0,R=0,S=0,T=0,U=0,V=0.0;f=i;u=i;i=i+8|0;p=i;i=i+8|0;t=p;x=i;i=i+8|0;v=i;i=i+8|0;o=v;A=i;i=i+8|0;z=A;D=i;i=i+8|0;H=i;i=i+8|0;I=H;G=i;i=i+8|0;E=i;i=i+8|0;F=E;K=i;i=i+8|0;J=K;L=i;i=i+8|0;n=L;M=i;i=i+8|0;O=i;i=i+8|0;C=i;i=i+8|0;N=C;P=i;i=i+8|0;B=i;i=i+8|0;Q=B;T=i;i=i+8|0;S=i;i=i+8|0;k=i;i=i+8|0;s=i;i=i+16|0;m=s;r=i;i=i+16|0;y=r;c[b>>2]=202600;c[s>>2]=13;q=m+8|0;c[q>>2]=0;c[q+4>>2]=0;c[r>>2]=13;w=y+8|0;c[w>>2]=0;c[w+4>>2]=0;j=b+2584|0;c[j>>2]=0;R=b+2592|0;c[R>>2]=0;g=b+2596|0;a[g]=0;if(!(GH(b,e)|0)){i=f;return}if((a[b+1040|0]&1)==0){Qe(-1,202624,k);i=f;return}k=b+4|0;U=c[k>>2]|0;if((U|0)>16){c[S>>2]=16;Qe(-1,202664,S);i=f;return}c[R>>2]=ye(1<<U,8)|0;if((c[d>>2]|0)!=8){Qe(-1,202728,T);i=f;return}d=c[d+8>>2]|0;a:do{if((c[(Yu(e,202760,m,0)|0)>>2]|0)==6){R=c[s>>2]|0;if((R|0)!=6){c[B>>2]=R;c[Q+4>>2]=6;Qe(0,205232,Q);tc()}B=c[(c[q>>2]|0)+12>>2]|0;if((B|0)!=(c[k>>2]|0)){B=14;break}b:do{if((B|0)>0){P=6;B=0;while(1){if((P|0)!=6){B=16;break}ut(c[q>>2]|0,B,y)|0;if((c[r>>2]|0)!=1){B=18;break}c[b+1044+(B<<2)>>2]=c[w>>2];Of(y);B=B+1|0;if((B|0)>=(c[k>>2]|0)){B=21;break b}P=c[s>>2]|0}if((B|0)==16){c[C>>2]=P;c[N+4>>2]=6;Qe(0,205232,N);tc()}else if((B|0)==18){Qe(-1,202816,O);break}}else{B=21}}while(0);c:do{if((B|0)==21){Of(m);C=b+8|0;O=c[C>>2]|0;c[b+2456>>2]=O;if((c[k>>2]|0)>1){N=1;do{O=da(c[b+1044+(N+ -1<<2)>>2]|0,O)|0;c[b+2456+(N<<2)>>2]=O;N=N+1|0;}while((N|0)<(c[k>>2]|0))}if((c[(Yu(e,202856,m,0)|0)>>2]|0)!=1){Qe(-1,202872,M);break a}M=c[s>>2]|0;if((M|0)!=1){c[L>>2]=M;c[n+4>>2]=1;Qe(0,205232,n);tc()}n=c[q>>2]|0;l=1.0/(+lW(1.0,n)+-1.0);Of(m);d:do{if((c[(Yu(e,202920,m,0)|0)>>2]|0)==6){L=c[s>>2]|0;if((L|0)!=6){c[K>>2]=L;c[J+4>>2]=6;Qe(0,205232,J);tc()}J=c[k>>2]|0;if((c[(c[q>>2]|0)+12>>2]|0)!=(J<<1|0)){B=29;break}if((J|0)<=0){break}L=6;J=0;while(1){K=J<<1;if((L|0)!=6){B=36;break}ut(c[q>>2]|0,K,y)|0;L=c[r>>2]|0;if((L+ -1|0)>>>0>=2){B=38;break}if((L|0)==1){V=+(c[w>>2]|0)}else{V=+h[w>>3]}h[b+1176+(J<<4)>>3]=V;Of(y);L=c[s>>2]|0;if((L|0)!=6){B=43;break}ut(c[q>>2]|0,K|1,y)|0;K=c[r>>2]|0;if((K+ -1|0)>>>0>=2){B=45;break}if((K|0)==1){V=+(c[w>>2]|0)}else{V=+h[w>>3]}h[b+1176+(J<<4)+8>>3]=V;Of(y);J=J+1|0;if((J|0)>=(c[k>>2]|0)){break d}L=c[s>>2]|0}if((B|0)==36){c[E>>2]=L;c[F+4>>2]=6;Qe(0,205232,F);tc()}else if((B|0)==38){Qe(-1,202928,G);break c}else if((B|0)==43){c[H>>2]=L;c[I+4>>2]=6;Qe(0,205232,I);tc()}else if((B|0)==45){Qe(-1,202928,D);break c}}else{J=c[k>>2]|0;B=29}}while(0);do{if((B|0)==29){if((J|0)>0){D=0}else{break}do{h[b+1176+(D<<4)>>3]=0.0;h[b+1176+(D<<4)+8>>3]=+((c[b+1044+(D<<2)>>2]|0)+ -1|0);D=D+1|0;}while((D|0)<(c[k>>2]|0))}}while(0);Of(m);if((c[k>>2]|0)>0){D=b+16|0;E=0;do{h[b+2200+(E<<3)>>3]=(+h[b+1176+(E<<4)+8>>3]- +h[b+1176+(E<<4)>>3])/(+h[D+(E<<4)+8>>3]- +h[D+(E<<4)>>3]);E=E+1|0;}while((E|0)<(c[k>>2]|0))}e:do{if((c[(Yu(e,202968,m,0)|0)>>2]|0)==6){e=c[s>>2]|0;if((e|0)!=6){c[A>>2]=e;c[z+4>>2]=6;Qe(0,205232,z);tc()}z=c[C>>2]|0;if((c[(c[q>>2]|0)+12>>2]|0)!=(z<<1|0)){B=57;break}if((z|0)<=0){break}e=6;z=0;while(1){A=z<<1;if((e|0)!=6){B=65;break}ut(c[q>>2]|0,A,y)|0;e=c[r>>2]|0;if((e+ -1|0)>>>0>=2){B=67;break}if((e|0)==1){V=+(c[w>>2]|0)}else{V=+h[w>>3]}h[b+1688+(z<<4)>>3]=V;Of(y);e=c[s>>2]|0;if((e|0)!=6){B=72;break}ut(c[q>>2]|0,A|1,y)|0;A=c[r>>2]|0;if((A+ -1|0)>>>0>=2){B=74;break}if((A|0)==1){V=+(c[w>>2]|0)}else{V=+h[w>>3]}h[b+1688+(z<<4)+8>>3]=V;Of(y);z=z+1|0;if((z|0)>=(c[C>>2]|0)){break e}e=c[s>>2]|0}if((B|0)==65){c[v>>2]=e;c[o+4>>2]=6;Qe(0,205232,o);tc()}else if((B|0)==67){Qe(-1,202976,x);break c}else if((B|0)==72){c[p>>2]=e;c[t+4>>2]=6;Qe(0,205232,t);tc()}else if((B|0)==74){Qe(-1,202976,u);break c}}else{z=c[C>>2]|0;B=57}}while(0);do{if((B|0)==57){if((z|0)<=0){break}p=b+528|0;o=0;do{h[b+1688+(o<<4)>>3]=+h[p+(o<<4)>>3];h[b+1688+(o<<4)+8>>3]=+h[p+(o<<4)+8>>3];o=o+1|0;}while((o|0)<(c[C>>2]|0))}}while(0);Of(m);p=c[C>>2]|0;m=b+2588|0;c[m>>2]=p;k=c[k>>2]|0;if((k|0)>0){o=0;while(1){p=da(p,c[b+1044+(o<<2)>>2]|0)|0;c[m>>2]=p;o=o+1|0;if((o|0)<(k|0)){}else{break}}}c[j>>2]=ye(p,8)|0;b=(1<<n)+ -1|0;fd[c[(c[d>>2]|0)+12>>2]&511](d);if((c[m>>2]|0)>0){if((n|0)==8){b=0;do{V=l*+((jd[c[(c[d>>2]|0)+20>>2]&511](d)|0)>>>0);h[(c[j>>2]|0)+(b<<3)>>3]=V;b=b+1|0;}while((b|0)<(c[m>>2]|0))}else if((n|0)==16){b=0;do{U=(jd[c[(c[d>>2]|0)+20>>2]&511](d)|0)<<8;V=l*+(((jd[c[(c[d>>2]|0)+20>>2]&511](d)|0)+U|0)>>>0);h[(c[j>>2]|0)+(b<<3)>>3]=V;b=b+1|0;}while((b|0)<(c[m>>2]|0))}else{p=0;o=0;k=0;do{if((n|0)==32){q=(jd[c[(c[d>>2]|0)+20>>2]&511](d)|0)<<8;q=(jd[c[(c[d>>2]|0)+20>>2]&511](d)|0)+q<<8;q=(jd[c[(c[d>>2]|0)+20>>2]&511](d)|0)+q<<8;q=(jd[c[(c[d>>2]|0)+20>>2]&511](d)|0)+q|0}else{if((p|0)<(n|0)){while(1){o=(jd[c[(c[d>>2]|0)+20>>2]&511](d)|0)&255|o<<8;p=p+8|0;if((p|0)<(n|0)){}else{q=o;break}}}else{q=o}U=p-n|0;p=U;o=q;q=q>>>U&b}h[(c[j>>2]|0)+(k<<3)>>3]=l*+(q>>>0);k=k+1|0;}while((k|0)<(c[m>>2]|0))}}fd[c[(c[d>>2]|0)+16>>2]&511](d);a[g]=1;i=f;return}}while(0);Of(y)}else{B=14}}while(0);if((B|0)==14){Qe(-1,202768,P)}Of(m);i=f;return}function KH(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=202600;d=c[a+2584>>2]|0;if((d|0)!=0){Fe(d)}d=c[a+2592>>2]|0;if((d|0)==0){HW(a);i=b;return}Fe(d);HW(a);i=b;return}function LH(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=202600;d=c[a+2584>>2]|0;if((d|0)!=0){Fe(d)}a=c[a+2592>>2]|0;if((a|0)==0){i=b;return}Fe(a);i=b;return}function MH(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,j=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,w=0.0,x=0.0;j=i;l=i;i=i+256|0;f=i;i=i+256|0;g=i;i=i+256|0;e=a+4|0;q=c[e>>2]|0;if((q|0)>0){m=a+16|0;n=0;do{w=(+h[b+(n<<3)>>3]- +h[m+(n<<4)>>3])*+h[a+2200+(n<<3)>>3]+ +h[a+1176+(n<<4)>>3];o=c[a+1044+(n<<2)>>2]|0;do{if(w<0.0){w=0.0}else{x=+(o+ -1|0);if(w<=x){break}w=x}}while(0);p=~~w;c[l+(n<<3)>>2]=p;r=p+1|0;c[l+(n<<3)+4>>2]=(r|0)<(o|0)?r:p;x=w- +(p|0);h[g+(n<<3)>>3]=x;h[f+(n<<3)>>3]=1.0-x;n=n+1|0;}while((n|0)<(q|0))}p=a+8|0;if((c[p>>2]|0)<=0){i=j;return}b=a+2592|0;m=a+528|0;o=a+2588|0;n=a+2584|0;s=q;q=0;while(1){t=1<<s;if((t|0)>0){r=0;do{if((s|0)>0){u=q;v=0;t=r;while(1){u=(da(c[l+(v<<3)+((t&1)<<2)>>2]|0,c[a+2456+(v<<2)>>2]|0)|0)+u|0;v=v+1|0;if((v|0)<(s|0)){t=t>>1}else{break}}}else{u=q}do{if((u|0)>-1){if((u|0)>=(c[o>>2]|0)){k=15;break}h[(c[b>>2]|0)+(r<<3)>>3]=+h[(c[n>>2]|0)+(u<<3)>>3]}else{k=15}}while(0);if((k|0)==15){k=0;h[(c[b>>2]|0)+(r<<3)>>3]=0.0}r=r+1|0;s=c[e>>2]|0;t=1<<s;}while((r|0)<(t|0))}if((s|0)>0){r=0;while(1){if((t|0)>0){x=+h[f+(r<<3)>>3];w=+h[g+(r<<3)>>3];s=0;do{v=c[b>>2]|0;h[v+(s>>1<<3)>>3]=x*+h[v+(s<<3)>>3]+w*+h[v+((s|1)<<3)>>3];s=s+2|0;}while((s|0)<(t|0));s=c[e>>2]|0}r=r+1|0;if((r|0)<(s|0)){t=t>>1}else{break}}}w=+h[a+1688+(q<<4)>>3];w=w+ +h[c[b>>2]>>3]*(+h[a+1688+(q<<4)+8>>3]-w);r=d+(q<<3)|0;h[r>>3]=w;x=+h[m+(q<<4)>>3];do{if(w<x){h[r>>3]=x}else{x=+h[m+(q<<4)+8>>3];if(w<=x){break}h[r>>3]=x}}while(0);q=q+1|0;if((q|0)>=(c[p>>2]|0)){break}s=c[e>>2]|0}i=j;return}function NH(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0.0;d=i;k=i;i=i+16|0;l=k;q=i;i=i+8|0;y=i;i=i+8|0;s=i;i=i+8|0;t=i;i=i+8|0;o=t;v=i;i=i+8|0;x=i;i=i+8|0;w=x;I=i;i=i+8|0;B=i;i=i+8|0;z=i;i=i+8|0;A=z;D=i;i=i+8|0;F=D;G=i;i=i+8|0;H=i;i=i+8|0;C=H;E=i;i=i+8|0;m=i;i=i+16|0;f=m;r=i;i=i+16|0;p=r;c[b>>2]=203024;c[m>>2]=13;j=f+8|0;c[j>>2]=0;c[j+4>>2]=0;c[r>>2]=13;n=p+8|0;c[n>>2]=0;c[n+4>>2]=0;g=b+1569|0;a[g]=0;if(!(GH(b,e)|0)){i=d;return}if((c[b+4>>2]|0)!=1){Qe(-1,203048,E);i=d;return}J=(c[(Yu(e,203096,f,0)|0)>>2]|0)==6;E=(a[b+1040|0]&1)!=0;a:do{if(J){I=c[m>>2]|0;J=(I|0)==6;do{if(E){if(!J){c[H>>2]=I;c[C+4>>2]=6;Qe(0,205232,C);tc()}if((c[(c[j>>2]|0)+12>>2]|0)==(c[b+8>>2]|0)){break}Qe(-1,203104,G);break a}else{if(J){break}c[D>>2]=I;c[F+4>>2]=6;Qe(0,205232,F);tc()}}while(0);J=c[(c[j>>2]|0)+12>>2]|0;u=b+8|0;c[u>>2]=J;if((J|0)<=0){u=27;break}C=6;D=0;while(1){if((C|0)!=6){u=15;break}ut(c[j>>2]|0,D,p)|0;C=c[r>>2]|0;if((C+ -1|0)>>>0>=2){u=17;break}if((C|0)==1){K=+(c[n>>2]|0)}else{K=+h[n>>3]}h[b+1048+(D<<3)>>3]=K;Of(p);D=D+1|0;if((D|0)>=(c[u>>2]|0)){u=27;break a}C=c[m>>2]|0}if((u|0)==15){c[z>>2]=C;c[A+4>>2]=6;Qe(0,205232,A);tc()}else if((u|0)==17){Qe(-1,203144,B);u=54;break}}else{z=b+8|0;do{if(E){if((c[z>>2]|0)==1){break}Qe(-1,203104,I);break a}}while(0);c[z>>2]=1;h[b+1048>>3]=0.0;u=27}}while(0);b:do{if((u|0)==27){Of(f);c:do{if((c[(Yu(e,203184,f,0)|0)>>2]|0)==6){y=c[m>>2]|0;if((y|0)!=6){c[x>>2]=y;c[w+4>>2]=6;Qe(0,205232,w);tc()}x=c[(c[j>>2]|0)+12>>2]|0;w=b+8|0;if((x|0)!=(c[w>>2]|0)){Qe(-1,203192,v);break b}if((x|0)<=0){break}x=6;v=0;while(1){if((x|0)!=6){u=35;break}ut(c[j>>2]|0,v,p)|0;x=c[r>>2]|0;if((x+ -1|0)>>>0>=2){u=37;break}if((x|0)==1){K=+(c[n>>2]|0)}else{K=+h[n>>3]}h[b+1304+(v<<3)>>3]=K;Of(p);v=v+1|0;if((v|0)>=(c[w>>2]|0)){break c}x=c[m>>2]|0}if((u|0)==35){c[t>>2]=x;c[o+4>>2]=6;Qe(0,205232,o);tc()}else if((u|0)==37){Qe(-1,203232,s);u=54;break b}}else{if((c[b+8>>2]|0)==1){h[b+1304>>3]=1.0;break}else{Qe(-1,203192,y);break b}}}while(0);Of(f);if(((c[(Yu(e,203272,f,0)|0)>>2]|0)+ -1|0)>>>0>=2){Qe(-1,203280,q);break}e=c[m>>2]|0;if((e+ -1|0)>>>0>=2){c[k>>2]=e;c[l+4>>2]=1;c[l+8>>2]=2;Qe(0,205304,l);tc()}if((e|0)==1){K=+(c[j>>2]|0)}else{K=+h[j>>3]}J=b+1560|0;h[J>>3]=K;Of(f);a[b+1568|0]=+S(+(+h[J>>3]+-1.0))<1.0e-10|0;a[g]=1;i=d;return}}while(0);if((u|0)==54){Of(p)}Of(f);i=d;return}function OH(a){a=a|0;var b=0;b=i;HW(a);i=b;return}function PH(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,k=0.0,l=0,m=0,n=0,o=0.0,p=0.0;f=i;o=+h[d>>3];k=+h[b+16>>3];if(o>=k){k=+h[b+24>>3];k=o>k?k:o}m=b+8|0;if((c[m>>2]|0)<=0){i=f;return}l=b+1568|0;d=b+1560|0;j=b+1040|0;g=0;do{o=+h[b+1048+(g<<3)>>3];if((a[l]&1)==0){p=+U(+k,+(+h[d>>3]))}else{p=k}o=o+p*(+h[b+1304+(g<<3)>>3]-o);n=e+(g<<3)|0;h[n>>3]=o;do{if((a[j]&1)!=0){p=+h[b+528+(g<<4)>>3];if(o<p){h[n>>3]=p;break}p=+h[b+528+(g<<4)+8>>3];if(o<=p){break}h[n>>3]=p}}while(0);g=g+1|0;}while((g|0)<(c[m>>2]|0));i=f;return}function QH(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0.0,la=0.0;l=i;T=i;i=i+8|0;_=T;w=i;i=i+16|0;t=w;r=i;i=i+8|0;u=i;i=i+8|0;v=u;y=i;i=i+8|0;z=i;i=i+8|0;A=z;F=i;i=i+16|0;G=F;E=i;i=i+8|0;C=i;i=i+8|0;D=C;K=i;i=i+8|0;I=i;i=i+8|0;L=I;U=i;i=i+8|0;W=i;i=i+8|0;V=W;Y=i;i=i+8|0;X=Y;x=i;i=i+8|0;$=x;ba=i;i=i+8|0;aa=i;i=i+8|0;Q=i;i=i+8|0;R=Q;O=i;i=i+8|0;P=O;N=i;i=i+8|0;m=i;i=i+16|0;q=m;o=i;i=i+16|0;s=o;S=i;i=i+16|0;Z=S;c[b>>2]=203328;c[m>>2]=13;p=q+8|0;c[p>>2]=0;c[p+4>>2]=0;c[o>>2]=13;n=s+8|0;c[n>>2]=0;c[n+4>>2]=0;k=b+1064|0;M=b+1048|0;j=b+1052|0;g=b+1056|0;d=b+1060|0;bX(M|0,0,17)|0;a:do{if(GH(b,e)|0){if((c[b+4>>2]|0)!=1){Qe(-1,203352,aa);break}if((c[(Yu(e,203400,q,0)|0)>>2]|0)!=6){Qe(-1,203416,ba);break}aa=c[m>>2]|0;if((aa|0)!=6){c[x>>2]=aa;c[$+4>>2]=6;Qe(0,205232,$);tc()}ja=c[(c[p>>2]|0)+12>>2]|0;x=b+1044|0;c[x>>2]=ja;c[M>>2]=ye(ja,4)|0;c[j>>2]=ye((c[x>>2]|0)+1|0,8)|0;c[g>>2]=ye(c[x>>2]<<1,8)|0;c[d>>2]=ye(c[x>>2]|0,8)|0;b:do{if((c[x>>2]|0)>0){$=0;do{c[(c[M>>2]|0)+($<<2)>>2]=0;$=$+1|0;aa=c[x>>2]|0;}while(($|0)<(aa|0));if((aa|0)<=0){H=56;break}ca=Z+4|0;ba=Z+8|0;$=f+4|0;aa=Z+4|0;da=0;c:while(1){c[ca>>2]=0;c[ba>>2]=0;c[S>>2]=ca;ea=c[f>>2]|0;if((ea|0)!=($|0)){do{ha=ea+16|0;c[N>>2]=ca;$W(T|0,N|0,4)|0;ga=Xv(Z,_,P,ha)|0;if((c[ga>>2]|0)==0){fa=FW(20)|0;c[fa+16>>2]=c[ha>>2];ha=c[O>>2]|0;c[fa>>2]=0;c[fa+4>>2]=0;c[fa+8>>2]=ha;c[ga>>2]=fa;ha=c[c[S>>2]>>2]|0;if((ha|0)!=0){c[S>>2]=ha;fa=c[ga>>2]|0}un(c[aa>>2]|0,fa);c[ba>>2]=(c[ba>>2]|0)+1}fa=c[ea+4>>2]|0;if((fa|0)==0){while(1){fa=c[ea+8>>2]|0;if((ea|0)==(c[fa>>2]|0)){ea=fa;break}else{ea=fa}}}else{ea=fa;while(1){fa=c[ea>>2]|0;if((fa|0)==0){break}else{ea=fa}}}}while((ea|0)!=($|0))}ea=c[m>>2]|0;if((ea|0)!=6){H=23;break}vt(c[p>>2]|0,da,s)|0;if((c[o>>2]|0)==9){ea=c[n>>2]|0;ga=c[ca>>2]|0;fa=(ga|0)==0;do{if(fa){H=40}else{ja=ga;ia=ca;d:while(1){ha=ja;while(1){if((c[ha+16>>2]|0)>=(ea|0)){break}ha=c[ha+4>>2]|0;if((ha|0)==0){ha=ia;break d}}ja=c[ha>>2]|0;if((ja|0)==0){break}else{ia=ha}}if((ha|0)!=(ca|0)){if((ea|0)>=(c[ha+16>>2]|0)){J=ga;break c}}if(fa){H=40;break}while(1){H=c[ga+16>>2]|0;if((ea|0)<(H|0)){H=c[ga>>2]|0;if((H|0)==0){H=35;break}else{ga=H;continue}}if((H|0)>=(ea|0)){H=39;break}fa=ga+4|0;H=c[fa>>2]|0;if((H|0)==0){H=38;break}else{ga=H}}if((H|0)==35){H=0;c[Q>>2]=ga;break}else if((H|0)==38){H=0;c[Q>>2]=ga;ga=fa;break}else if((H|0)==39){H=0;c[Q>>2]=ga;ga=R;break}}}while(0);if((H|0)==40){H=0;c[Q>>2]=ca;ga=ca}if((c[ga>>2]|0)==0){fa=FW(20)|0;c[fa+16>>2]=ea;ea=c[Q>>2]|0;c[fa>>2]=0;c[fa+4>>2]=0;c[fa+8>>2]=ea;c[ga>>2]=fa;ea=c[c[S>>2]>>2]|0;if((ea|0)!=0){c[S>>2]=ea;fa=c[ga>>2]|0}un(c[aa>>2]|0,fa);c[ba>>2]=(c[ba>>2]|0)+1}Of(s);ea=c[m>>2]|0;if((ea|0)!=6){H=46;break}ut(c[p>>2]|0,da,s)|0}ja=FH(s,Z)|0;c[(c[M>>2]|0)+(da<<2)>>2]=ja;if((ja|0)==0){H=49;break}if((da|0)>0){fa=c[M>>2]|0;ea=c[fa+(da<<2)>>2]|0;if((c[ea+4>>2]|0)!=1){H=53;break}if((c[ea+8>>2]|0)!=(c[(c[fa>>2]|0)+8>>2]|0)){H=53;break}}Of(s);xn(Z,c[aa>>2]|0);da=da+1|0;if((da|0)>=(c[x>>2]|0)){H=56;break b}}if((H|0)==23){c[Y>>2]=ea;c[X+4>>2]=6;Qe(0,205232,X);tc()}else if((H|0)==46){c[W>>2]=ea;c[V+4>>2]=6;Qe(0,205232,V);tc()}else if((H|0)==49){J=c[aa>>2]|0}else if((H|0)==53){Qe(-1,203464,U);xn(Z,c[aa>>2]|0);break}xn(Z,J)}else{H=56}}while(0);e:do{if((H|0)==56){Of(q);do{if((c[(Yu(e,203512,q,0)|0)>>2]|0)==6){H=c[m>>2]|0;if((H|0)!=6){c[I>>2]=H;c[L+4>>2]=6;Qe(0,205232,L);tc()}if((c[(c[p>>2]|0)+12>>2]|0)!=((c[x>>2]|0)+ -1|0)){break}h[c[j>>2]>>3]=+h[b+16>>3];H=c[x>>2]|0;f:do{if((H|0)>1){H=1;while(1){I=c[m>>2]|0;if((I|0)!=6){H=64;break}if(((c[(ut(c[p>>2]|0,H+ -1|0,s)|0)>>2]|0)+ -1|0)>>>0>=2){H=66;break}I=c[o>>2]|0;if((I+ -1|0)>>>0>=2){H=68;break}if((I|0)==1){ka=+(c[n>>2]|0)}else{ka=+h[n>>3]}h[(c[j>>2]|0)+(H<<3)>>3]=ka;Of(s);H=H+1|0;I=c[x>>2]|0;if((H|0)>=(I|0)){B=I;break f}}if((H|0)==64){c[C>>2]=I;c[D+4>>2]=6;Qe(0,205232,D);tc()}else if((H|0)==66){Qe(-1,203576,E);break e}else if((H|0)==68){c[F>>2]=I;c[G+4>>2]=1;c[G+8>>2]=2;Qe(0,205304,G);tc()}}else{B=H}}while(0);h[(c[j>>2]|0)+(B<<3)>>3]=+h[b+24>>3];Of(q);do{if((c[(Yu(e,202920,q,0)|0)>>2]|0)==6){B=c[m>>2]|0;if((B|0)!=6){c[z>>2]=B;c[A+4>>2]=6;Qe(0,205232,A);tc()}z=c[x>>2]|0;if((c[(c[p>>2]|0)+12>>2]|0)!=(z<<1|0)){break}g:do{if((z|0)>0){y=6;z=0;while(1){if((y|0)!=6){H=81;break}if(((c[(ut(c[p>>2]|0,z,s)|0)>>2]|0)+ -1|0)>>>0>=2){H=83;break}y=c[o>>2]|0;if((y+ -1|0)>>>0>=2){H=85;break}if((y|0)==1){ka=+(c[n>>2]|0)}else{ka=+h[n>>3]}h[(c[g>>2]|0)+(z<<3)>>3]=ka;Of(s);z=z+1|0;if((z|0)>=(c[x>>2]<<1|0)){break g}y=c[m>>2]|0}if((H|0)==81){c[u>>2]=y;c[v+4>>2]=6;Qe(0,205232,v);tc()}else if((H|0)==83){Qe(-1,203688,r);break e}else if((H|0)==85){c[w>>2]=y;c[t+4>>2]=1;c[t+8>>2]=2;Qe(0,205304,t);tc()}}}while(0);Of(q);if((c[x>>2]|0)>0){m=0;while(1){ja=c[j>>2]|0;la=+h[ja+(m<<3)>>3];n=m+1|0;ka=+h[ja+(n<<3)>>3];if(la==ka){h[(c[d>>2]|0)+(m<<3)>>3]=0.0}else{ja=m<<1;ia=c[g>>2]|0;h[(c[d>>2]|0)+(m<<3)>>3]=(+h[ia+((ja|1)<<3)>>3]- +h[ia+(ja<<3)>>3])/(ka-la)}if((n|0)<(c[x>>2]|0)){m=n}else{break}}}a[k]=1;i=l;return}}while(0);Qe(-1,203632,y);break a}}while(0);Qe(-1,203520,K);break a}}while(0);Of(s)}}while(0);Of(q);i=l;return}function RH(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;f=i;c[b>>2]=203328;$W(b|0,d|0,1072)|0;k=c[d+1044>>2]|0;e=b+1044|0;c[e>>2]=k;g=b+1048|0;c[g>>2]=ye(k,4)|0;k=c[e>>2]|0;if((k|0)>0){h=d+1048|0;j=0;while(1){k=c[(c[h>>2]|0)+(j<<2)>>2]|0;k=jd[c[(c[k>>2]|0)+8>>2]&511](k)|0;c[(c[g>>2]|0)+(j<<2)>>2]=k;j=j+1|0;k=c[e>>2]|0;if((j|0)<(k|0)){}else{break}}}k=ye(k+1|0,8)|0;c[b+1052>>2]=k;$W(k|0,c[d+1052>>2]|0,(c[e>>2]<<3)+8|0)|0;k=ye(c[e>>2]<<1,8)|0;c[b+1056>>2]=k;$W(k|0,c[d+1056>>2]|0,c[e>>2]<<4|0)|0;k=ye(c[e>>2]|0,8)|0;c[b+1060>>2]=k;$W(k|0,c[d+1060>>2]|0,c[e>>2]<<3|0)|0;a[b+1064|0]=1;i=f;return}function SH(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;b=i;c[a>>2]=203328;d=a+1048|0;f=c[d>>2]|0;do{if((f|0)==0){f=0}else{e=a+1044|0;h=c[e>>2]|0;if((h|0)>0){g=0}else{break}do{j=c[f+(g<<2)>>2]|0;if((j|0)!=0){fd[c[(c[j>>2]|0)+4>>2]&511](j);h=c[e>>2]|0;f=c[d>>2]|0}g=g+1|0;}while((g|0)<(h|0))}}while(0);Fe(f);Fe(c[a+1052>>2]|0);Fe(c[a+1056>>2]|0);Fe(c[a+1060>>2]|0);HW(a);i=b;return}function TH(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=i;c[a>>2]=203328;d=a+1048|0;f=c[d>>2]|0;do{if((f|0)==0){f=0}else{e=a+1044|0;h=c[e>>2]|0;if((h|0)>0){g=0}else{break}do{f=c[f+(g<<2)>>2]|0;if((f|0)!=0){fd[c[(c[f>>2]|0)+4>>2]&511](f);h=c[e>>2]|0}g=g+1|0;f=c[d>>2]|0}while((g|0)<(h|0))}}while(0);Fe(f);Fe(c[a+1052>>2]|0);Fe(c[a+1056>>2]|0);Fe(c[a+1060>>2]|0);i=b;return}function UH(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0.0;f=i;j=i;i=i+8|0;e=j;p=+h[b>>3];k=+h[a+16>>3];do{if(p<k){h[j>>3]=k}else{k=+h[a+24>>3];if(p>k){h[j>>3]=k;break}else{h[j>>3]=p;k=p;break}}}while(0);o=(c[a+1044>>2]|0)+ -1|0;n=a+1052|0;b=0;while(1){if((b|0)>=(o|0)){g=8;break}m=b+1|0;l=c[n>>2]|0;if(k<+h[l+(m<<3)>>3]){break}else{b=m}}if((g|0)==8){l=c[n>>2]|0}h[j>>3]=+h[(c[a+1056>>2]|0)+(b<<1<<3)>>3]+(k- +h[l+(b<<3)>>3])*+h[(c[a+1060>>2]|0)+(b<<3)>>3];o=c[(c[a+1048>>2]|0)+(b<<2)>>2]|0;Gd[c[(c[o>>2]|0)+16>>2]&255](o,e,d);i=f;return}function VH(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;f=i;e=i;i=i+16|0;if((b|0)==0){i=f;return}if((d|0)>-1){d=(d|0)%(b|0)|0}else{d=(0-d|0)%(b|0)|0;d=(d|0)==0?0:b-d|0}if((b|0)<1|(d|0)==0){i=f;return}if((d|0)>((b|0)/2|0|0)){d=b-d|0;if((d|0)<=0){i=f;return}g=a+1600|0;j=b+ -1|0;h=0;do{m=c[g>>2]|0;$W(e|0,a+(j+m<<4)|0,16)|0;l=m+b|0;k=l+ -1|0;if((k|0)>(m|0)){m=l;while(1){$W(a+(k<<4)|0,a+(m+ -2<<4)|0,16)|0;l=k+ -1|0;m=c[g>>2]|0;if((l|0)>(m|0)){m=k;k=l}else{break}}}$W(a+(m<<4)|0,e|0,16)|0;h=h+1|0;}while((h|0)<(d|0));i=f;return}else{if((d|0)<=0){i=f;return}g=a+1600|0;h=b+ -1|0;b=0;do{j=c[g>>2]|0;$W(e|0,a+(j<<4)|0,16)|0;k=h+j|0;if((j|0)<(k|0)){k=j;while(1){j=k+1|0;$W(a+(k<<4)|0,a+(j<<4)|0,16)|0;k=h+(c[g>>2]|0)|0;if((j|0)<(k|0)){k=j}else{break}}}$W(a+(k<<4)|0,e|0,16)|0;b=b+1|0;}while((b|0)<(d|0));i=f;return}}function WH(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;g=i;j=i;i=i+8|0;h=i;i=i+8|0;l=i;i=i+8|0;m=i;i=i+8|0;f=i;i=i+8|0;c[b>>2]=203792;k=b+1044|0;bX(k|0,0,17)|0;n=FW(16)|0;jG(n,5);c[b+1064>>2]=n;if(!(GH(b,e)|0)){i=g;return}if((a[b+1040|0]&1)==0){Qe(-1,203816,m);i=g;return}if((c[d>>2]|0)!=8){Qe(-1,203856,l);i=g;return}l=c[d+8>>2]|0;n=FW(32)|0;ee(n);c[k>>2]=n;fd[c[(c[l>>2]|0)+12>>2]&511](l);k=XH(b,l)|0;if((k|0)==0){Qe(-1,203896,j);i=g;return}if((te(k,203888)|0)!=0){Qe(-1,203896,h);ke(k);HW(k);i=g;return}ke(k);HW(k);c[f>>2]=0;if(YH(b,l,f)|0){fd[c[(c[l>>2]|0)+16>>2]&511](l);a[b+1060|0]=1;n=FW(1608)|0;c[n+1600>>2]=100;c[b+1052>>2]=n}fd[c[(c[l>>2]|0)+16>>2]&511](l);i=g;return}function XH(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;e=FW(32)|0;ee(e);a=a+1044|0;j=0;a:while(1){while(1){k=jd[c[(c[b>>2]|0)+20>>2]&511](b)|0;if((k|0)==-1){f=-1;break a}g=k&255;me(c[a>>2]|0,g)|0;if(j){break}if((k|0)==37){j=1;continue a}if((xc(k|0)|0)==0){h=9;break a}}if(!((k|0)==10|(k|0)==13)){j=1;continue}j=0}do{if((h|0)==9){if(!((k|0)==123|(k|0)==125)){f=k;break}me(e,g)|0;i=d;return e|0}}while(0);me(e,f&255)|0;g=jd[c[(c[b>>2]|0)+24>>2]&511](b)|0;h=(g|0)==-1;if((f+ -48|0)>>>0<10|(f+ -45|0)>>>0<2){if(h){i=d;return e|0}while(1){if(!((g+ -48|0)>>>0<10|(g+ -45|0)>>>0<2)){h=18;break}jd[c[(c[b>>2]|0)+20>>2]&511](b)|0;g=g&255;me(c[a>>2]|0,g)|0;me(e,g)|0;g=jd[c[(c[b>>2]|0)+24>>2]&511](b)|0;if((g|0)==-1){h=18;break}}if((h|0)==18){i=d;return e|0}}else{if(h){i=d;return e|0}while(1){if((Qa(g|0)|0)==0){h=18;break}jd[c[(c[b>>2]|0)+20>>2]&511](b)|0;g=g&255;me(c[a>>2]|0,g)|0;me(e,g)|0;g=jd[c[(c[b>>2]|0)+24>>2]&511](b)|0;if((g|0)==-1){h=18;break}}if((h|0)==18){i=d;return e|0}}return 0}function YH(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=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,w=0,x=0,y=0,z=0.0;f=i;n=i;i=i+8|0;o=n;m=i;i=i+8|0;l=i;i=i+8|0;r=i;i=i+8|0;q=i;i=i+8|0;p=i;i=i+8|0;s=i;i=i+8|0;u=XH(b,d)|0;a:do{if((u|0)!=0){j=b+1056|0;g=b+1048|0;b:while(1){t=u+28|0;v=c[t>>2]|0;y=a[v]|0;do{if(((y<<24>>24)+ -48|0)>>>0<10|(y+ -45<<24>>24&255)<2){while(1){v=v+1|0;w=a[v]|0;if(w<<24>>24==46){v=1;break}else if(w<<24>>24==0){k=6;break}else{}}if((k|0)==6){k=0;v=0}x=c[e>>2]|0;w=c[j>>2]|0;if((w|0)>(x|0)){w=c[g>>2]|0}else{w=w+64|0;c[j>>2]=w;w=Ce(c[g>>2]|0,w,16)|0;c[g>>2]=w;x=c[e>>2]|0}w=w+(x<<4)|0;if(v){c[w>>2]=2;z=+Ie(c[t>>2]|0);h[(c[g>>2]|0)+(c[e>>2]<<4)+8>>3]=z}else{c[w>>2]=1;y=ec(c[t>>2]|0)|0;c[(c[g>>2]|0)+(c[e>>2]<<4)+8>>2]=y}c[e>>2]=(c[e>>2]|0)+1;ke(u);HW(u)}else{if((te(u,203888)|0)!=0){if((te(u,204192)|0)==0){k=38;break b}else{v=-1;w=40;x=0}c:while(1){while(1){if((w-v|0)<=1){break c}y=(w+v|0)/2|0;x=te(u,c[204200+(y<<2)>>2]|0)|0;if((x|0)>0){v=y}else{break}}v=(x|0)<0?v:y;w=y}if((x|0)!=0){k=47;break b}ke(u);HW(u);u=c[e>>2]|0;t=c[j>>2]|0;if((t|0)>(u|0)){t=c[g>>2]|0}else{t=t+64|0;c[j>>2]=t;t=Ce(c[g>>2]|0,t,16)|0;c[g>>2]=t;u=c[e>>2]|0}c[t+(u<<4)>>2]=3;c[(c[g>>2]|0)+(c[e>>2]<<4)+8>>2]=v;c[e>>2]=(c[e>>2]|0)+1;u=XH(b,d)|0;if((u|0)==0){break a}else{continue b}}ke(u);HW(u);u=c[e>>2]|0;c[e>>2]=u+3;t=u+2|0;v=c[j>>2]|0;if((v|0)<=(t|0)){y=v+64|0;c[j>>2]=y;c[g>>2]=Ce(c[g>>2]|0,y,16)|0}if(!(YH(b,d,e)|0)){g=0;k=52;break b}w=XH(b,d)|0;if((w|0)==0){k=19;break b}if((te(w,203888)|0)==0){v=c[e>>2]|0;if(!(YH(b,d,e)|0)){g=0;k=52;break b}ke(w);HW(w);w=XH(b,d)|0;if((w|0)==0){k=23;break b}}else{v=-1}if((te(w,203992)|0)==0){if((v|0)>-1){k=26;break b}c[(c[g>>2]|0)+(u<<4)>>2]=3;c[(c[g>>2]|0)+(u<<4)+8>>2]=40;c[(c[g>>2]|0)+(t<<4)>>2]=4;c[(c[g>>2]|0)+(t<<4)+8>>2]=c[e>>2]}else{if((te(w,204064)|0)!=0){k=32;break b}if((v|0)<0){k=30;break b}c[(c[g>>2]|0)+(u<<4)>>2]=3;c[(c[g>>2]|0)+(u<<4)+8>>2]=41;y=u+1|0;c[(c[g>>2]|0)+(y<<4)>>2]=4;c[(c[g>>2]|0)+(y<<4)+8>>2]=v;c[(c[g>>2]|0)+(t<<4)>>2]=4;c[(c[g>>2]|0)+(t<<4)+8>>2]=c[e>>2]}if((w|0)==0){break}ke(w);HW(w)}}while(0);u=XH(b,d)|0;if((u|0)==0){break a}}if((k|0)==19){Qe(-1,203944,p);y=0;i=f;return y|0}else if((k|0)==23){Qe(-1,203944,q);y=0;i=f;return y|0}else if((k|0)==26){Qe(-1,204e3,r);y=0;i=f;return y|0}else if((k|0)==30){Qe(-1,204072,l);y=0;i=f;return y|0}else if((k|0)==32){Qe(-1,204136,m);if((w|0)==0){y=0;i=f;return y|0}ke(w);HW(w);y=0;i=f;return y|0}else if((k|0)==38){ke(u);HW(u);k=c[e>>2]|0;l=c[j>>2]|0;if((l|0)>(k|0)){j=c[g>>2]|0}else{k=l+64|0;c[j>>2]=k;j=Ce(c[g>>2]|0,k,16)|0;c[g>>2]=j;k=c[e>>2]|0}c[j+(k<<4)>>2]=3;c[(c[g>>2]|0)+(c[e>>2]<<4)+8>>2]=42;c[e>>2]=(c[e>>2]|0)+1;y=1;i=f;return y|0}else if((k|0)==47){c[n>>2]=c[t>>2];Qe(-1,204360,o);ke(u);HW(u);y=0;i=f;return y|0}else if((k|0)==52){i=f;return g|0}}}while(0);Qe(-1,203944,s);y=0;i=f;return y|0}function ZH(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0;e=i;c[b>>2]=203792;$W(b|0,d|0,1072)|0;n=b+1056|0;o=ye(c[n>>2]|0,16)|0;c[b+1048>>2]=o;$W(o|0,c[d+1048>>2]|0,c[n>>2]<<4|0)|0;n=c[d+1044>>2]|0;o=FW(32)|0;ie(o,n);c[b+1044>>2]=o;o=FW(1608)|0;c[o+1600>>2]=100;c[b+1052>>2]=o;$W(o|0,c[d+1052>>2]|0,1608)|0;o=FW(16)|0;d=d+1064|0;jG(o,nG(c[d>>2]|0)|0);b=b+1064|0;c[b>>2]=o;if((oG(c[d>>2]|0)|0)>0){f=0}else{i=e;return}do{g=FW(16)|0;o=qG(c[d>>2]|0,f)|0;c[g>>2]=205072;n=c[o+8>>2]|0;j=c[o+12>>2]|0;o=a[o+4|0]&1;a[g+4|0]=o;l=g+8|0;c[l>>2]=n;a:do{if(o<<24>>24==0){c[g+12>>2]=j}else{m=GW(n>>>0>536870911?-1:n<<3)|0;k=g+12|0;c[k>>2]=m;if((n|0)<=0){break}h[m>>3]=+h[j>>3];if((n|0)<=1){break}h[m+8>>3]=+h[j+8>>3];if((n|0)<=2){break}h[m+16>>3]=+h[j+16>>3];if((n|0)>3){n=3}else{break}while(1){h[m+(n<<3)>>3]=+h[j+(n<<3)>>3];n=n+1|0;if((n|0)>=(c[l>>2]|0)){break a}m=c[k>>2]|0}}}while(0);m=FW(12)|0;k=pG(c[d>>2]|0,f)|0;c[m>>2]=205136;n=c[k+4>>2]|0;k=c[k+8>>2]|0;j=m+4|0;c[j>>2]=n;o=GW(n>>>0>536870911?-1:n<<3)|0;l=m+8|0;c[l>>2]=o;b:do{if((n|0)>0){h[o>>3]=+h[k>>3];if((n|0)<=1){break}h[o+8>>3]=+h[k+8>>3];if((n|0)<=2){break}h[o+16>>3]=+h[k+16>>3];if((n|0)>3){n=3}else{break}while(1){h[o+(n<<3)>>3]=+h[k+(n<<3)>>3];n=n+1|0;if((n|0)>=(c[j>>2]|0)){break b}o=c[l>>2]|0}}}while(0);mG(c[b>>2]|0,g,m);f=f+1|0;}while((f|0)<(oG(c[d>>2]|0)|0));i=e;return}function _H(a){a=a|0;var b=0;b=i;$H(a);HW(a);i=b;return}function $H(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=203792;Fe(c[a+1048>>2]|0);d=c[a+1044>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+1052>>2]|0;if((d|0)!=0){HW(d)}a=c[a+1064>>2]|0;if((a|0)==0){i=b;return}kG(a);HW(a);i=b;return}function aI(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=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.0,w=0,x=0.0;f=i;n=i;i=i+8|0;o=i;i=i+8|0;q=i;i=i+8|0;j=i;i=i+16|0;p=j;m=b+4|0;g=c[m>>2]|0;c[j>>2]=205072;k=p+4|0;a[k]=0;c[p+8>>2]=g;g=p+12|0;c[g>>2]=d;l=b+1064|0;p=lG(c[l>>2]|0,p)|0;do{if((p|0)==0){p=b+1052|0;c[(c[p>>2]|0)+1600>>2]=100;r=c[p>>2]|0;if((c[m>>2]|0)>0){s=0;do{u=r+1600|0;t=c[u>>2]|0;if((t|0)<1){Qe(-1,205192,q)}else{x=+h[d+(s<<3)>>3];w=t+ -1|0;c[u>>2]=w;c[r+(w<<4)>>2]=2;h[r+(c[u>>2]<<4)+8>>3]=x}s=s+1|0;r=c[p>>2]|0}while((s|0)<(c[m>>2]|0))}bI(b,r,0);q=b+8|0;r=c[q>>2]|0;if((r|0)>0){b=b+528|0;do{r=r+ -1|0;w=c[p>>2]|0;t=w+1600|0;s=c[t>>2]|0;do{if((s|0)==100){Qe(-1,203744,o);v=0.0}else{u=c[w+(s<<4)>>2]|0;if((u+ -1|0)>>>0>=2){Qe(-1,204688,n);v=0.0;break}w=w+(s<<4)+8|0;if((u|0)==1){v=+(c[w>>2]|0)}else{v=+h[w>>3]}c[t>>2]=s+1}}while(0);s=e+(r<<3)|0;h[s>>3]=v;x=+h[b+(r<<4)>>3];do{if(v<x){h[s>>3]=x}else{x=+h[b+(r<<4)+8>>3];if(v<=x){break}h[s>>3]=x}}while(0);}while((r|0)>0)}n=FW(16)|0;p=c[m>>2]|0;c[n>>2]=205072;a[n+4|0]=1;m=n+8|0;c[m>>2]=p;b=GW(p>>>0>536870911?-1:p<<3)|0;o=n+12|0;c[o>>2]=b;a:do{if((p|0)>0){h[b>>3]=+h[d>>3];if((p|0)<=1){break}h[b+8>>3]=+h[d+8>>3];if((p|0)<=2){break}h[b+16>>3]=+h[d+16>>3];if((p|0)>3){p=3}else{break}while(1){h[b+(p<<3)>>3]=+h[d+(p<<3)>>3];p=p+1|0;if((p|0)>=(c[m>>2]|0)){break a}b=c[o>>2]|0}}}while(0);d=FW(12)|0;p=c[q>>2]|0;c[d>>2]=205136;o=d+4|0;c[o>>2]=p;q=GW(p>>>0>536870911?-1:p<<3)|0;m=d+8|0;c[m>>2]=q;b:do{if((p|0)>0){h[q>>3]=+h[e>>3];if((p|0)<=1){break}h[q+8>>3]=+h[e+8>>3];if((p|0)<=2){break}h[q+16>>3]=+h[e+16>>3];if((p|0)>3){p=3}else{break}while(1){h[q+(p<<3)>>3]=+h[e+(p<<3)>>3];p=p+1|0;if((p|0)>=(c[o>>2]|0)){break b}q=c[m>>2]|0}}}while(0);mG(c[l>>2]|0,n,d)}else{l=b+8|0;if((c[l>>2]|0)<=0){break}d=p+8|0;m=0;do{h[e+(m<<3)>>3]=+h[(c[d>>2]|0)+(m<<3)>>3];m=m+1|0;}while((m|0)<(c[l>>2]|0))}}while(0);c[j>>2]=205072;if((a[k]&1)==0){i=f;return}g=c[g>>2]|0;if((g|0)==0){i=f;return}IW(g);i=f;return}function bI(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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,Q=0,X=0,Y=0,Z=0,_=0,aa=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0.0,zd=0,Ad=0,Bd=0.0,Cd=0;g=i;Xb=i;i=i+8|0;Tb=i;i=i+8|0;Sb=i;i=i+8|0;Vb=i;i=i+8|0;Ub=i;i=i+8|0;qd=i;i=i+8|0;sd=i;i=i+8|0;rd=i;i=i+8|0;ud=i;i=i+8|0;td=i;i=i+8|0;Rb=i;i=i+8|0;Qb=i;i=i+8|0;Pb=i;i=i+8|0;Ob=i;i=i+8|0;pd=i;i=i+8|0;od=i;i=i+8|0;Nb=i;i=i+8|0;Mb=i;i=i+8|0;nd=i;i=i+8|0;md=i;i=i+8|0;ld=i;i=i+8|0;kd=i;i=i+8|0;jd=i;i=i+8|0;Ib=i;i=i+8|0;Hb=i;i=i+8|0;Gb=i;i=i+8|0;Fb=i;i=i+8|0;Lb=i;i=i+8|0;Kb=i;i=i+8|0;Jb=i;i=i+8|0;Eb=i;i=i+8|0;Db=i;i=i+8|0;Cb=i;i=i+8|0;id=i;i=i+8|0;hd=i;i=i+8|0;Bb=i;i=i+8|0;zb=i;i=i+8|0;yb=i;i=i+8|0;xb=i;i=i+8|0;wb=i;i=i+8|0;Ab=i;i=i+8|0;cd=i;i=i+8|0;ed=i;i=i+8|0;dd=i;i=i+8|0;gd=i;i=i+8|0;fd=i;i=i+8|0;vb=i;i=i+8|0;ub=i;i=i+8|0;tb=i;i=i+8|0;sb=i;i=i+8|0;rb=i;i=i+8|0;bd=i;i=i+8|0;qb=i;i=i+8|0;pb=i;i=i+8|0;ad=i;i=i+8|0;$c=i;i=i+8|0;ob=i;i=i+8|0;nb=i;i=i+8|0;Wc=i;i=i+8|0;Yc=i;i=i+8|0;Xc=i;i=i+8|0;_c=i;i=i+8|0;Zc=i;i=i+8|0;mb=i;i=i+8|0;lb=i;i=i+8|0;kb=i;i=i+8|0;jb=i;i=i+8|0;ib=i;i=i+8|0;hb=i;i=i+8|0;gb=i;i=i+8|0;fb=i;i=i+8|0;Vc=i;i=i+8|0;Uc=i;i=i+8|0;Tc=i;i=i+8|0;f=i;i=i+8|0;Rc=i;i=i+8|0;xa=i;i=i+8|0;wa=i;i=i+8|0;va=i;i=i+8|0;ua=i;i=i+8|0;ta=i;i=i+8|0;sa=i;i=i+8|0;ra=i;i=i+8|0;qa=i;i=i+8|0;pa=i;i=i+8|0;Qc=i;i=i+8|0;Pc=i;i=i+8|0;Oc=i;i=i+8|0;Nc=i;i=i+8|0;Mc=i;i=i+8|0;oa=i;i=i+8|0;na=i;i=i+8|0;ma=i;i=i+8|0;la=i;i=i+8|0;ka=i;i=i+8|0;ja=i;i=i+8|0;ia=i;i=i+8|0;ha=i;i=i+8|0;ga=i;i=i+8|0;fa=i;i=i+8|0;Kc=i;i=i+8|0;Jc=i;i=i+8|0;Ic=i;i=i+8|0;Hc=i;i=i+8|0;Gc=i;i=i+8|0;Ya=i;i=i+8|0;Xa=i;i=i+8|0;Wa=i;i=i+8|0;Va=i;i=i+8|0;Ua=i;i=i+8|0;Ta=i;i=i+8|0;Sa=i;i=i+8|0;ea=i;i=i+8|0;aa=i;i=i+8|0;_=i;i=i+8|0;Z=i;i=i+8|0;Y=i;i=i+8|0;Fc=i;i=i+8|0;Ec=i;i=i+8|0;Dc=i;i=i+8|0;Cc=i;i=i+8|0;Bc=i;i=i+8|0;ab=i;i=i+8|0;$a=i;i=i+8|0;_a=i;i=i+8|0;Za=i;i=i+8|0;Ac=i;i=i+8|0;zc=i;i=i+8|0;yc=i;i=i+8|0;xc=i;i=i+8|0;wc=i;i=i+8|0;Ba=i;i=i+8|0;Aa=i;i=i+8|0;za=i;i=i+8|0;ya=i;i=i+8|0;vc=i;i=i+8|0;uc=i;i=i+8|0;E=i;i=i+8|0;D=i;i=i+8|0;Ra=i;i=i+8|0;Qa=i;i=i+8|0;Pa=i;i=i+8|0;Oa=i;i=i+8|0;Na=i;i=i+8|0;pc=i;i=i+8|0;rc=i;i=i+8|0;qc=i;i=i+8|0;tc=i;i=i+8|0;sc=i;i=i+8|0;Ma=i;i=i+8|0;La=i;i=i+8|0;Ka=i;i=i+8|0;Ja=i;i=i+8|0;Ia=i;i=i+8|0;Ha=i;i=i+8|0;Ga=i;i=i+8|0;Fa=i;i=i+8|0;x=i;i=i+8|0;w=i;i=i+8|0;C=i;i=i+8|0;B=i;i=i+8|0;A=i;i=i+8|0;z=i;i=i+8|0;y=i;i=i+8|0;oc=i;i=i+8|0;nc=i;i=i+8|0;k=i;i=i+8|0;mc=i;i=i+8|0;lc=i;i=i+8|0;F=i;i=i+8|0;Ea=i;i=i+8|0;Da=i;i=i+8|0;Ca=i;i=i+8|0;v=i;i=i+8|0;u=i;i=i+8|0;t=i;i=i+8|0;s=i;i=i+8|0;kc=i;i=i+8|0;jc=i;i=i+8|0;X=i;i=i+8|0;Q=i;i=i+8|0;P=i;i=i+8|0;O=i;i=i+8|0;N=i;i=i+8|0;M=i;i=i+8|0;L=i;i=i+8|0;K=i;i=i+8|0;r=i;i=i+8|0;q=i;i=i+8|0;p=i;i=i+8|0;o=i;i=i+8|0;n=i;i=i+8|0;ec=i;i=i+8|0;gc=i;i=i+8|0;fc=i;i=i+8|0;ic=i;i=i+8|0;hc=i;i=i+8|0;eb=i;i=i+8|0;db=i;i=i+8|0;cb=i;i=i+8|0;bb=i;i=i+8|0;dc=i;i=i+8|0;cc=i;i=i+8|0;bc=i;i=i+8|0;ac=i;i=i+8|0;$b=i;i=i+8|0;J=i;i=i+8|0;I=i;i=i+8|0;H=i;i=i+8|0;G=i;i=i+8|0;_b=i;i=i+8|0;Zb=i;i=i+8|0;m=i;i=i+8|0;l=i;i=i+8|0;Wb=i;i=i+8|0;Yb=i;i=i+8|0;Sc=i;i=i+16|0;j=b+1048|0;vd=d+1600|0;a:while(1){zd=c[j>>2]|0;xd=c[zd+(e<<4)>>2]|0;if((xd|0)==3){xd=e+1|0;switch(c[zd+(e<<4)+8>>2]|0){case 9:{e=c[vd>>2]|0;do{if((e|0)<100){if((c[d+(e<<4)>>2]|0)==2){e=xd;continue a}else{wd=191}}else{if((e|0)!=100){wd=191;break}Qe(-1,203744,k);wd=197}}while(0);do{if((wd|0)==191){wd=0;zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,nc);wd=197;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==197){wd=0;e=c[vd>>2]|0;yd=0.0}if((e|0)<1){Qe(-1,205192,oc);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=yd;e=xd;continue a}break};case 0:{e=c[vd>>2]|0;do{if((e|0)<100){if((c[d+(e<<4)>>2]|0)!=1){wd=17;break}c[vd>>2]=e+1;zd=c[d+(e<<4)+8>>2]|0;if((e|0)<0){Qe(-1,205192,l);e=xd;continue a}else{c[vd>>2]=e;c[d+(e<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=(zd|0)>-1?zd:0-zd|0;e=xd;continue a}}else{if((e|0)!=100){wd=17;break}Qe(-1,203744,m);wd=23}}while(0);do{if((wd|0)==17){wd=0;zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,Zb);wd=23;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==23){wd=0;e=c[vd>>2]|0;yd=0.0}if((e|0)<1){Qe(-1,205192,_b);e=xd;continue a}else{Bd=+S(+yd);e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=Bd;e=xd;continue a}break};case 3:{e=c[vd>>2]|0;do{if((e|0)==100){Qe(-1,203744,n);wd=99}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,o);wd=99;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==99){wd=0;e=c[vd>>2]|0;yd=0.0}do{if((e|0)==100){Qe(-1,203744,p);Bd=0.0}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,q);Bd=0.0;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){Bd=+(c[Ad>>2]|0)}else{Bd=+h[Ad>>3]}c[vd>>2]=e+1}}while(0);yd=+$(+Bd,+yd)*180.0/3.141592653589793;if(yd<0.0){yd=yd+360.0}e=c[vd>>2]|0;if((e|0)<1){Qe(-1,205192,r);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=yd;e=xd;continue a}break};case 6:{e=c[vd>>2]|0;do{if((e|0)==100){Qe(-1,203744,s);e=0}else{if((c[d+(e<<4)>>2]|0)==1){c[vd>>2]=e+1;e=c[d+(e<<4)+8>>2]|0;break}else{Qe(-1,204688,t);e=0;break}}}while(0);zd=c[vd>>2]|0;Ad=zd+e|0;if((Ad|0)>100){Qe(-1,203744,u);e=xd;continue a}if((zd-e|0)<0){Qe(-1,205192,v);e=xd;continue a}if((e|0)>0){while(1){Ad=Ad+ -1|0;$W(d+(Ad-e<<4)|0,d+(Ad<<4)|0,16)|0;zd=c[vd>>2]|0;if((Ad|0)>(zd|0)){}else{break}}}c[vd>>2]=zd-e;e=xd;continue a};case 11:{e=c[vd>>2]|0;if((e|0)>99){Qe(-1,203744,w);e=xd;continue a}if((e|0)<1){Qe(-1,205192,x);e=xd;continue a}zd=e+1|0;while(1){e=zd+ -1|0;$W(d+(zd+ -2<<4)|0,d+(e<<4)|0,16)|0;zd=c[vd>>2]|0;if((e|0)>(zd|0)){zd=e}else{break}}c[vd>>2]=zd+ -1;e=xd;continue a};case 10:{e=c[vd>>2]|0;do{if((e|0)==100){Qe(-1,203744,y);wd=209}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,z);wd=209;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==209){wd=0;e=c[vd>>2]|0;yd=0.0}do{if((e|0)==100){Qe(-1,203744,A);wd=218}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,B);wd=218;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){Bd=+(c[Ad>>2]|0)}else{Bd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==218){wd=0;e=c[vd>>2]|0;Bd=0.0}if((e|0)<1){Qe(-1,205192,C);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=Bd/yd;e=xd;continue a}break};case 15:{e=c[vd>>2]|0;if((e|0)<1){Qe(-1,205192,D);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=0;e=xd;continue a}break};case 16:{e=c[vd>>2]|0;do{if((e|0)<100){if((c[d+(e<<4)>>2]|0)==1){e=xd;continue a}else{wd=308}}else{if((e|0)!=100){wd=308;break}Qe(-1,203744,E);wd=314}}while(0);do{if((wd|0)==308){wd=0;zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,uc);wd=314;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==314){wd=0;e=c[vd>>2]|0;yd=0.0}if((e|0)<1){Qe(-1,205192,vc);e=xd;continue a}else{Bd=+R(+yd);e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=Bd;e=xd;continue a}break};case 8:{e=c[vd>>2]|0;do{if((e|0)<100){if((c[d+(e<<4)>>2]|0)==1){e=xd;continue a}else{wd=177}}else{if((e|0)!=100){wd=177;break}Qe(-1,203744,F);wd=183}}while(0);do{if((wd|0)==177){wd=0;zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,lc);wd=183;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==183){wd=0;e=c[vd>>2]|0;yd=0.0}if((e|0)<1){Qe(-1,205192,mc);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=~~yd;e=xd;continue a}break};case 13:{zd=c[vd>>2]|0;$W(Sc|0,d+(zd<<4)|0,16)|0;if((zd|0)==2147483647){zd=zd+1|0}else{while(1){e=zd+1|0;$W(d+(zd<<4)|0,d+(e<<4)|0,16)|0;zd=(c[vd>>2]|0)+1|0;if((e|0)<(zd|0)){zd=e}else{break}}}$W(d+(zd<<4)|0,Sc|0,16)|0;e=xd;continue a};case 1:{e=c[vd>>2]|0;do{if((e|0)<99){if((c[d+(e<<4)>>2]|0)!=1){wd=44;break}zd=e+1|0;if((c[d+(zd<<4)>>2]|0)!=1){wd=42;break}if((e|0)==100){Qe(-1,203744,G);zd=c[vd>>2]|0;e=0}else{c[vd>>2]=zd;e=c[d+(e<<4)+8>>2]|0}do{if((zd|0)==100){Qe(-1,203744,H);wd=38}else{if((c[d+(zd<<4)>>2]|0)==1){Ad=zd+1|0;c[vd>>2]=Ad;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,I);wd=38;break}}}while(0);if((wd|0)==38){wd=0;Ad=c[vd>>2]|0;zd=0}if((Ad|0)<1){Qe(-1,205192,J);e=xd;continue a}else{Cd=Ad+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=zd+e;e=xd;continue a}}else{wd=42}}while(0);do{if((wd|0)==42){if((e|0)!=100){wd=44;break}Qe(-1,203744,$b);wd=50}}while(0);do{if((wd|0)==44){wd=0;zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,ac);wd=50;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==50){wd=0;e=c[vd>>2]|0;yd=0.0}do{if((e|0)==100){Qe(-1,203744,bc);wd=59}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,cc);wd=59;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){Bd=+(c[Ad>>2]|0)}else{Bd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==59){wd=0;e=c[vd>>2]|0;Bd=0.0}if((e|0)<1){Qe(-1,205192,dc);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=yd+Bd;e=xd;continue a}break};case 4:{e=c[vd>>2]|0;do{if((e|0)==100){Qe(-1,203744,K);wd=118}else{if((c[d+(e<<4)>>2]|0)==1){zd=e+1|0;c[vd>>2]=zd;e=c[d+(e<<4)+8>>2]|0;break}else{Qe(-1,204688,L);wd=118;break}}}while(0);if((wd|0)==118){wd=0;zd=c[vd>>2]|0;e=0}do{if((zd|0)==100){Qe(-1,203744,M);zd=0}else{if((c[d+(zd<<4)>>2]|0)==1){c[vd>>2]=zd+1;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,N);zd=0;break}}}while(0);if((e|0)>0){Ad=c[vd>>2]|0;if((Ad|0)<1){Qe(-1,205192,O);e=xd;continue a}else{Cd=Ad+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=zd<<e;e=xd;continue a}}Ad=c[vd>>2]|0;Cd=(Ad|0)<1;if((e|0)<0){if(Cd){Qe(-1,205192,P);e=xd;continue a}else{Cd=Ad+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=zd>>>e;e=xd;continue a}}else{if(Cd){Qe(-1,205192,Q);e=xd;continue a}else{e=Ad+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=zd;e=xd;continue a}}break};case 5:{e=c[vd>>2]|0;do{if((e|0)<100){if((c[d+(e<<4)>>2]|0)==1){e=xd;continue a}else{wd=139}}else{if((e|0)!=100){wd=139;break}Qe(-1,203744,X);wd=145}}while(0);do{if((wd|0)==139){wd=0;zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,jc);wd=145;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==145){wd=0;e=c[vd>>2]|0;yd=0.0}if((e|0)<1){Qe(-1,205192,kc);e=xd;continue a}else{Bd=+ca(+yd);e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=Bd;e=xd;continue a}break};case 19:{e=c[vd>>2]|0;do{if((e|0)==100){Qe(-1,203744,Y);wd=395}else{if((c[d+(e<<4)>>2]|0)==1){zd=e+1|0;c[vd>>2]=zd;e=c[d+(e<<4)+8>>2]|0;break}else{Qe(-1,204688,Z);wd=395;break}}}while(0);if((wd|0)==395){wd=0;zd=c[vd>>2]|0;e=0}do{if((zd|0)==100){Qe(-1,203744,_);wd=401}else{if((c[d+(zd<<4)>>2]|0)==1){Ad=zd+1|0;c[vd>>2]=Ad;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,aa);wd=401;break}}}while(0);if((wd|0)==401){wd=0;Ad=c[vd>>2]|0;zd=0}if((Ad|0)<1){Qe(-1,205192,ea);e=xd;continue a}else{Cd=Ad+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=(zd|0)/(e|0)|0;e=xd;continue a}break};case 22:{e=c[vd>>2]|0;do{if((e|0)==100){Qe(-1,203744,fa);wd=458}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,ga);wd=458;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==458){wd=0;e=c[vd>>2]|0;yd=0.0}if((e|0)<1){Qe(-1,205192,ha);e=xd;continue a}else{Bd=+ba(+yd);e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=Bd;e=xd;continue a}break};case 23:{e=c[vd>>2]|0;do{if((e|0)==100){Qe(-1,203744,ia);yd=0.0}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,ja);yd=0.0;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}c[vd>>2]=e+1}}while(0);yd=+Lc(+yd);e=c[vd>>2]|0;if((e|0)<1){Qe(-1,205192,ka);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=yd;e=xd;continue a}break};case 24:{e=c[vd>>2]|0;do{if((e|0)<99){if((c[d+(e<<4)>>2]|0)!=1){wd=490;break}zd=e+1|0;if((c[d+(zd<<4)>>2]|0)!=1){wd=488;break}if((e|0)==100){Qe(-1,203744,la);zd=c[vd>>2]|0;e=0}else{c[vd>>2]=zd;e=c[d+(e<<4)+8>>2]|0}do{if((zd|0)==100){Qe(-1,203744,ma);wd=484}else{if((c[d+(zd<<4)>>2]|0)==1){Ad=zd+1|0;c[vd>>2]=Ad;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,na);wd=484;break}}}while(0);if((wd|0)==484){wd=0;Ad=c[vd>>2]|0;zd=0}if((Ad|0)<1){Qe(-1,205192,oa);e=xd;continue a}else{Cd=Ad+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=(zd|0)<(e|0)|0;e=xd;continue a}}else{wd=488}}while(0);do{if((wd|0)==488){if((e|0)!=100){wd=490;break}Qe(-1,203744,Mc);wd=496}}while(0);do{if((wd|0)==490){wd=0;zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,Nc);wd=496;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==496){wd=0;e=c[vd>>2]|0;yd=0.0}do{if((e|0)==100){Qe(-1,203744,Oc);wd=505}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,Pc);wd=505;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){Bd=+(c[Ad>>2]|0)}else{Bd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==505){wd=0;e=c[vd>>2]|0;Bd=0.0}if((e|0)<1){Qe(-1,205192,Qc);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=Bd<yd|0;e=xd;continue a}break};case 25:{e=c[vd>>2]|0;do{if((e|0)==100){Qe(-1,203744,pa);wd=514}else{if((c[d+(e<<4)>>2]|0)==1){zd=e+1|0;c[vd>>2]=zd;e=c[d+(e<<4)+8>>2]|0;break}else{Qe(-1,204688,qa);wd=514;break}}}while(0);if((wd|0)==514){wd=0;zd=c[vd>>2]|0;e=0}do{if((zd|0)==100){Qe(-1,203744,ra);wd=520}else{if((c[d+(zd<<4)>>2]|0)==1){Ad=zd+1|0;c[vd>>2]=Ad;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,sa);wd=520;break}}}while(0);if((wd|0)==520){wd=0;Ad=c[vd>>2]|0;zd=0}if((Ad|0)<1){Qe(-1,205192,ta);e=xd;continue a}else{Cd=Ad+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=(zd|0)%(e|0)|0;e=xd;continue a}break};case 26:{e=c[vd>>2]|0;do{if((e|0)<99){if((c[d+(e<<4)>>2]|0)!=1){wd=541;break}zd=e+1|0;if((c[d+(zd<<4)>>2]|0)!=1){wd=539;break}if((e|0)==100){Qe(-1,203744,ua);zd=c[vd>>2]|0;e=0}else{c[vd>>2]=zd;e=c[d+(e<<4)+8>>2]|0}do{if((zd|0)==100){Qe(-1,203744,va);wd=535}else{if((c[d+(zd<<4)>>2]|0)==1){Ad=zd+1|0;c[vd>>2]=Ad;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,wa);wd=535;break}}}while(0);if((wd|0)==535){wd=0;Ad=c[vd>>2]|0;zd=0}if((Ad|0)<1){Qe(-1,205192,xa);e=xd;continue a}else{e=da(zd,e)|0;Cd=Ad+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=e;e=xd;continue a}}else{wd=539}}while(0);do{if((wd|0)==539){if((e|0)!=100){wd=541;break}Qe(-1,203744,Rc);wd=547}}while(0);do{if((wd|0)==541){wd=0;zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,f);wd=547;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==547){wd=0;e=c[vd>>2]|0;yd=0.0}do{if((e|0)==100){Qe(-1,203744,Tc);wd=556}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,Uc);wd=556;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){Bd=+(c[Ad>>2]|0)}else{Bd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==556){wd=0;e=c[vd>>2]|0;Bd=0.0}if((e|0)<1){Qe(-1,205192,Vc);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=yd*Bd;e=xd;continue a}break};case 17:{e=c[vd>>2]|0;do{if((e|0)<99){if((c[d+(e<<4)>>2]|0)!=1){wd=335;break}zd=e+1|0;if((c[d+(zd<<4)>>2]|0)!=1){wd=333;break}if((e|0)==100){Qe(-1,203744,ya);zd=c[vd>>2]|0;e=0}else{c[vd>>2]=zd;e=c[d+(e<<4)+8>>2]|0}do{if((zd|0)==100){Qe(-1,203744,za);wd=329}else{if((c[d+(zd<<4)>>2]|0)==1){Ad=zd+1|0;c[vd>>2]=Ad;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,Aa);wd=329;break}}}while(0);if((wd|0)==329){wd=0;Ad=c[vd>>2]|0;zd=0}if((Ad|0)<1){Qe(-1,205192,Ba);e=xd;continue a}else{Cd=Ad+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=(zd|0)>=(e|0)|0;e=xd;continue a}}else{wd=333}}while(0);do{if((wd|0)==333){if((e|0)!=100){wd=335;break}Qe(-1,203744,wc);wd=341}}while(0);do{if((wd|0)==335){wd=0;zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,xc);wd=341;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==341){wd=0;e=c[vd>>2]|0;yd=0.0}do{if((e|0)==100){Qe(-1,203744,yc);wd=350}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,zc);wd=350;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){Bd=+(c[Ad>>2]|0)}else{Bd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==350){wd=0;e=c[vd>>2]|0;Bd=0.0}if((e|0)<1){Qe(-1,205192,Ac);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=Bd>=yd|0;e=xd;continue a}break};case 7:{e=c[vd>>2]|0;do{if((e|0)==100){Qe(-1,203744,Ca);wd=169}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,Da);wd=169;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==169){wd=0;e=c[vd>>2]|0;yd=0.0}if((e|0)<1){Qe(-1,205192,Ea);e=xd;continue a}else{Bd=+V(+(yd*3.141592653589793/180.0));e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=Bd;e=xd;continue a}break};case 12:{e=c[vd>>2]|0;b:do{if((e|0)<99){Ad=c[d+(e<<4)>>2]|0;zd=(Ad|0)==1;do{if(zd){Ad=e+1|0;if((c[d+(Ad<<4)>>2]|0)!=1){break}if((e|0)==100){Qe(-1,203744,Fa);zd=c[vd>>2]|0;e=0}else{c[vd>>2]=Ad;zd=Ad;e=c[d+(e<<4)+8>>2]|0}do{if((zd|0)==100){Qe(-1,203744,Ga);wd=240}else{if((c[d+(zd<<4)>>2]|0)==1){Ad=zd+1|0;c[vd>>2]=Ad;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,Ha);wd=240;break}}}while(0);if((wd|0)==240){wd=0;Ad=c[vd>>2]|0;zd=0}if((Ad|0)<1){Qe(-1,205192,Ia);e=xd;continue a}else{Cd=Ad+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=(zd|0)==(e|0)|0;e=xd;continue a}}else{if((Ad+ -1|0)>>>0>=2){wd=266;break b}}}while(0);Ad=e+1|0;if(((c[d+(Ad<<4)>>2]|0)+ -1|0)>>>0>=2){wd=264;break}if((e|0)==100){Qe(-1,203744,Ja);e=c[vd>>2]|0;yd=0.0}else{e=d+(e<<4)+8|0;if(zd){yd=+(c[e>>2]|0)}else{yd=+h[e>>3]}c[vd>>2]=Ad;e=Ad}do{if((e|0)==100){Qe(-1,203744,Ka);wd=260}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,La);wd=260;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){Bd=+(c[Ad>>2]|0)}else{Bd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==260){wd=0;e=c[vd>>2]|0;Bd=0.0}if((e|0)<1){Qe(-1,205192,Ma);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=Bd==yd|0;e=xd;continue a}}else{wd=264}}while(0);do{if((wd|0)==264){wd=0;if((e|0)!=100){wd=266;break}Qe(-1,203744,sc);e=0}}while(0);do{if((wd|0)==266){wd=0;if((c[d+(e<<4)>>2]|0)==0){c[vd>>2]=e+1;e=(a[d+(e<<4)+8|0]&1)!=0;break}else{Qe(-1,204688,tc);e=0;break}}}while(0);zd=c[vd>>2]|0;do{if((zd|0)==100){Qe(-1,203744,qc);Ad=0}else{if((c[d+(zd<<4)>>2]|0)==0){c[vd>>2]=zd+1;Ad=(a[d+(zd<<4)+8|0]&1)!=0;break}else{Qe(-1,204688,rc);Ad=0;break}}}while(0);zd=c[vd>>2]|0;if((zd|0)<1){Qe(-1,205192,pc);e=xd;continue a}else{Cd=zd+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=(Ad^e)&1^1;e=xd;continue a}break};case 14:{e=c[vd>>2]|0;do{if((e|0)==100){Qe(-1,203744,Na);wd=288}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,Oa);wd=288;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==288){wd=0;e=c[vd>>2]|0;yd=0.0}do{if((e|0)==100){Qe(-1,203744,Pa);wd=297}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,Qa);wd=297;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){Bd=+(c[Ad>>2]|0)}else{Bd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==297){wd=0;e=c[vd>>2]|0;Bd=0.0}if((e|0)<1){Qe(-1,205192,Ra);e=xd;continue a}else{Bd=+U(+Bd,+yd);e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=Bd;e=xd;continue a}break};case 20:{zd=c[vd>>2]|0;do{if((zd|0)==100){Qe(-1,203744,Sa);wd=410}else{if((c[d+(zd<<4)>>2]|0)==1){e=zd+1|0;c[vd>>2]=e;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,Ta);wd=410;break}}}while(0);if((wd|0)==410){wd=0;e=c[vd>>2]|0;zd=0}if((e|0)<1){Qe(-1,205192,Ua);e=xd;continue a}else{Cd=e+ -1|0;c[vd>>2]=Cd;$W(d+(Cd<<4)|0,d+(zd+e<<4)|0,16)|0;e=xd;continue a}break};case 21:{e=c[vd>>2]|0;do{if((e|0)<99){if((c[d+(e<<4)>>2]|0)!=1){wd=431;break}zd=e+1|0;if((c[d+(zd<<4)>>2]|0)!=1){wd=429;break}if((e|0)==100){Qe(-1,203744,Va);zd=c[vd>>2]|0;e=0}else{c[vd>>2]=zd;e=c[d+(e<<4)+8>>2]|0}do{if((zd|0)==100){Qe(-1,203744,Wa);wd=425}else{if((c[d+(zd<<4)>>2]|0)==1){Ad=zd+1|0;c[vd>>2]=Ad;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,Xa);wd=425;break}}}while(0);if((wd|0)==425){wd=0;Ad=c[vd>>2]|0;zd=0}if((Ad|0)<1){Qe(-1,205192,Ya);e=xd;continue a}else{Cd=Ad+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=(zd|0)<=(e|0)|0;e=xd;continue a}}else{wd=429}}while(0);do{if((wd|0)==429){if((e|0)!=100){wd=431;break}Qe(-1,203744,Gc);wd=437}}while(0);do{if((wd|0)==431){wd=0;zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,Hc);wd=437;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==437){wd=0;e=c[vd>>2]|0;yd=0.0}do{if((e|0)==100){Qe(-1,203744,Ic);wd=446}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,Jc);wd=446;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){Bd=+(c[Ad>>2]|0)}else{Bd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==446){wd=0;e=c[vd>>2]|0;Bd=0.0}if((e|0)<1){Qe(-1,205192,Kc);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=Bd<=yd|0;e=xd;continue a}break};case 18:{e=c[vd>>2]|0;do{if((e|0)<99){if((c[d+(e<<4)>>2]|0)!=1){wd=371;break}zd=e+1|0;if((c[d+(zd<<4)>>2]|0)!=1){wd=369;break}if((e|0)==100){Qe(-1,203744,Za);zd=c[vd>>2]|0;e=0}else{c[vd>>2]=zd;e=c[d+(e<<4)+8>>2]|0}do{if((zd|0)==100){Qe(-1,203744,_a);wd=365}else{if((c[d+(zd<<4)>>2]|0)==1){Ad=zd+1|0;c[vd>>2]=Ad;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,$a);wd=365;break}}}while(0);if((wd|0)==365){wd=0;Ad=c[vd>>2]|0;zd=0}if((Ad|0)<1){Qe(-1,205192,ab);e=xd;continue a}else{Cd=Ad+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=(zd|0)>(e|0)|0;e=xd;continue a}}else{wd=369}}while(0);do{if((wd|0)==369){if((e|0)!=100){wd=371;break}Qe(-1,203744,Bc);wd=377}}while(0);do{if((wd|0)==371){wd=0;zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,Cc);wd=377;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==377){wd=0;e=c[vd>>2]|0;yd=0.0}do{if((e|0)==100){Qe(-1,203744,Dc);wd=386}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,Ec);wd=386;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){Bd=+(c[Ad>>2]|0)}else{Bd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==386){wd=0;e=c[vd>>2]|0;Bd=0.0}if((e|0)<1){Qe(-1,205192,Fc);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=Bd>yd|0;e=xd;continue a}break};case 2:{e=c[vd>>2]|0;do{if((e|0)<99){if((c[d+(e<<4)>>2]|0)!=1){wd=80;break}zd=e+1|0;if((c[d+(zd<<4)>>2]|0)!=1){wd=78;break}if((e|0)==100){Qe(-1,203744,bb);zd=c[vd>>2]|0;e=0}else{c[vd>>2]=zd;e=c[d+(e<<4)+8>>2]|0}do{if((zd|0)==100){Qe(-1,203744,cb);wd=74}else{if((c[d+(zd<<4)>>2]|0)==1){Ad=zd+1|0;c[vd>>2]=Ad;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,db);wd=74;break}}}while(0);if((wd|0)==74){wd=0;Ad=c[vd>>2]|0;zd=0}if((Ad|0)<1){Qe(-1,205192,eb);e=xd;continue a}else{Cd=Ad+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=zd&e;e=xd;continue a}}else{wd=78}}while(0);do{if((wd|0)==78){wd=0;if((e|0)!=100){wd=80;break}Qe(-1,203744,hc);e=0}}while(0);do{if((wd|0)==80){wd=0;if((c[d+(e<<4)>>2]|0)==0){c[vd>>2]=e+1;e=(a[d+(e<<4)+8|0]&1)!=0;break}else{Qe(-1,204688,ic);e=0;break}}}while(0);zd=c[vd>>2]|0;do{if((zd|0)==100){Qe(-1,203744,fc);Ad=0}else{if((c[d+(zd<<4)>>2]|0)==0){c[vd>>2]=zd+1;Ad=(a[d+(zd<<4)+8|0]&1)!=0;break}else{Qe(-1,204688,gc);Ad=0;break}}}while(0);zd=c[vd>>2]|0;if((zd|0)<1){Qe(-1,205192,ec);e=xd;continue a}else{Cd=zd+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=Ad&e&1;e=xd;continue a}break};case 27:{e=c[vd>>2]|0;c:do{if((e|0)<99){Ad=c[d+(e<<4)>>2]|0;zd=(Ad|0)==1;do{if(zd){Ad=e+1|0;if((c[d+(Ad<<4)>>2]|0)!=1){break}if((e|0)==100){Qe(-1,203744,fb);zd=c[vd>>2]|0;e=0}else{c[vd>>2]=Ad;zd=Ad;e=c[d+(e<<4)+8>>2]|0}do{if((zd|0)==100){Qe(-1,203744,gb);wd=571}else{if((c[d+(zd<<4)>>2]|0)==1){Ad=zd+1|0;c[vd>>2]=Ad;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,hb);wd=571;break}}}while(0);if((wd|0)==571){wd=0;Ad=c[vd>>2]|0;zd=0}if((Ad|0)<1){Qe(-1,205192,ib);e=xd;continue a}else{Cd=Ad+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=(zd|0)!=(e|0)|0;e=xd;continue a}}else{if((Ad+ -1|0)>>>0>=2){wd=597;break c}}}while(0);Ad=e+1|0;if(((c[d+(Ad<<4)>>2]|0)+ -1|0)>>>0>=2){wd=595;break}if((e|0)==100){Qe(-1,203744,jb);e=c[vd>>2]|0;yd=0.0}else{e=d+(e<<4)+8|0;if(zd){yd=+(c[e>>2]|0)}else{yd=+h[e>>3]}c[vd>>2]=Ad;e=Ad}do{if((e|0)==100){Qe(-1,203744,kb);wd=591}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,lb);wd=591;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){Bd=+(c[Ad>>2]|0)}else{Bd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==591){wd=0;e=c[vd>>2]|0;Bd=0.0}if((e|0)<1){Qe(-1,205192,mb);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=Bd!=yd|0;e=xd;continue a}}else{wd=595}}while(0);do{if((wd|0)==595){wd=0;if((e|0)!=100){wd=597;break}Qe(-1,203744,Zc);e=0}}while(0);do{if((wd|0)==597){wd=0;if((c[d+(e<<4)>>2]|0)==0){c[vd>>2]=e+1;e=(a[d+(e<<4)+8|0]&1)!=0;break}else{Qe(-1,204688,_c);e=0;break}}}while(0);zd=c[vd>>2]|0;do{if((zd|0)==100){Qe(-1,203744,Xc);Ad=0}else{if((c[d+(zd<<4)>>2]|0)==0){c[vd>>2]=zd+1;Ad=(a[d+(zd<<4)+8|0]&1)!=0;break}else{Qe(-1,204688,Yc);Ad=0;break}}}while(0);zd=c[vd>>2]|0;if((zd|0)<1){Qe(-1,205192,Wc);e=xd;continue a}else{Cd=zd+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=(Ad^e)&1;e=xd;continue a}break};case 28:{e=c[vd>>2]|0;do{if((e|0)<100){if((c[d+(e<<4)>>2]|0)!=1){wd=615;break}c[vd>>2]=e+1;if((e|0)<0){Qe(-1,205192,nb);e=xd;continue a}else{Cd=0-(c[d+(e<<4)+8>>2]|0)|0;c[vd>>2]=e;c[d+(e<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=Cd;e=xd;continue a}}else{if((e|0)!=100){wd=615;break}Qe(-1,203744,ob);wd=621}}while(0);do{if((wd|0)==615){wd=0;Ad=c[d+(e<<4)>>2]|0;if((Ad+ -1|0)>>>0>=2){Qe(-1,204688,$c);wd=621;break}zd=d+(e<<4)+8|0;if((Ad|0)==1){yd=+(c[zd>>2]|0)}else{yd=+h[zd>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==621){wd=0;e=c[vd>>2]|0;yd=0.0}if((e|0)<1){Qe(-1,205192,ad);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=-0.0-yd;e=xd;continue a}break};case 29:{e=c[vd>>2]|0;do{if((e|0)<100){if((c[d+(e<<4)>>2]|0)!=1){wd=632;break}c[vd>>2]=e+1;if((e|0)<0){Qe(-1,205192,pb);e=xd;continue a}else{Cd=~c[d+(e<<4)+8>>2];c[vd>>2]=e;c[d+(e<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=Cd;e=xd;continue a}}else{if((e|0)!=100){wd=632;break}Qe(-1,203744,qb);e=1}}while(0);do{if((wd|0)==632){wd=0;if((c[d+(e<<4)>>2]|0)==0){c[vd>>2]=e+1;e=a[d+(e<<4)+8|0]&1^1;break}else{Qe(-1,204688,bd);e=1;break}}}while(0);zd=c[vd>>2]|0;if((zd|0)<1){Qe(-1,205192,rb);e=xd;continue a}else{Cd=zd+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=e;e=xd;continue a}break};case 30:{e=c[vd>>2]|0;do{if((e|0)<99){if((c[d+(e<<4)>>2]|0)!=1){wd=655;break}zd=e+1|0;if((c[d+(zd<<4)>>2]|0)!=1){wd=653;break}if((e|0)==100){Qe(-1,203744,sb);zd=c[vd>>2]|0;Ad=0}else{c[vd>>2]=zd;Ad=c[d+(e<<4)+8>>2]|0}do{if((zd|0)==100){Qe(-1,203744,tb);wd=649}else{if((c[d+(zd<<4)>>2]|0)==1){e=zd+1|0;c[vd>>2]=e;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,ub);wd=649;break}}}while(0);if((wd|0)==649){wd=0;e=c[vd>>2]|0;zd=0}if((e|0)<1){Qe(-1,205192,vb);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=zd|Ad;e=xd;continue a}}else{wd=653}}while(0);do{if((wd|0)==653){wd=0;if((e|0)!=100){wd=655;break}Qe(-1,203744,fd);e=0}}while(0);do{if((wd|0)==655){wd=0;if((c[d+(e<<4)>>2]|0)==0){c[vd>>2]=e+1;e=(a[d+(e<<4)+8|0]&1)!=0;break}else{Qe(-1,204688,gd);e=0;break}}}while(0);zd=c[vd>>2]|0;do{if((zd|0)==100){Qe(-1,203744,dd);zd=0}else{if((c[d+(zd<<4)>>2]|0)==0){c[vd>>2]=zd+1;zd=(a[d+(zd<<4)+8|0]&1)!=0;break}else{Qe(-1,204688,ed);zd=0;break}}}while(0);Ad=c[vd>>2]|0;if((Ad|0)<1){Qe(-1,205192,cd);e=xd;continue a}else{Cd=Ad+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=(zd|e)&1;e=xd;continue a}break};case 32:{zd=c[vd>>2]|0;do{if((zd|0)==100){Qe(-1,203744,wb);wd=674}else{if((c[d+(zd<<4)>>2]|0)==1){e=zd+1|0;c[vd>>2]=e;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,xb);wd=674;break}}}while(0);if((wd|0)==674){wd=0;e=c[vd>>2]|0;zd=0}do{if((e|0)==100){Qe(-1,203744,yb);e=0}else{if((c[d+(e<<4)>>2]|0)==1){c[vd>>2]=e+1;e=c[d+(e<<4)+8>>2]|0;break}else{Qe(-1,204688,zb);e=0;break}}}while(0);VH(d,e,zd);e=xd;continue a};case 31:{e=c[vd>>2]|0;if((e|0)==100){Qe(-1,203744,Ab);e=xd;continue a}else{c[vd>>2]=e+1;e=xd;continue a}break};case 33:{e=c[vd>>2]|0;do{if((e|0)<100){if((c[d+(e<<4)>>2]|0)==1){e=xd;continue a}else{wd=685}}else{if((e|0)!=100){wd=685;break}Qe(-1,203744,Bb);yd=0.0;wd=691}}while(0);do{if((wd|0)==685){wd=0;Ad=c[d+(e<<4)>>2]|0;if((Ad+ -1|0)>>>0>=2){Qe(-1,204688,hd);yd=0.0;wd=691;break}zd=d+(e<<4)+8|0;if((Ad|0)==1){yd=+(c[zd>>2]|0)}else{yd=+h[zd>>3]}e=e+1|0;c[vd>>2]=e;if(yd>=0.0){wd=691;break}yd=+ca(+(yd+-.5))}}while(0);if((wd|0)==691){wd=0;yd=+R(+(yd+.5));e=c[vd>>2]|0}if((e|0)<1){Qe(-1,205192,id);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=yd;e=xd;continue a}break};case 34:{e=c[vd>>2]|0;do{if((e|0)==100){Qe(-1,203744,Cb);wd=704}else{Ad=c[d+(e<<4)>>2]|0;if((Ad+ -1|0)>>>0>=2){Qe(-1,204688,Db);wd=704;break}zd=d+(e<<4)+8|0;if((Ad|0)==1){yd=+(c[zd>>2]|0)}else{yd=+h[zd>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==704){wd=0;e=c[vd>>2]|0;yd=0.0}if((e|0)<1){Qe(-1,205192,Eb);e=xd;continue a}else{Bd=+W(+(yd*3.141592653589793/180.0));e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=Bd;e=xd;continue a}break};case 36:{e=c[vd>>2]|0;do{if((e|0)<99){if((c[d+(e<<4)>>2]|0)!=1){wd=737;break}zd=e+1|0;if((c[d+(zd<<4)>>2]|0)!=1){wd=735;break}if((e|0)==100){Qe(-1,203744,Fb);zd=c[vd>>2]|0;Ad=0}else{c[vd>>2]=zd;Ad=c[d+(e<<4)+8>>2]|0}do{if((zd|0)==100){Qe(-1,203744,Gb);wd=731}else{if((c[d+(zd<<4)>>2]|0)==1){e=zd+1|0;c[vd>>2]=e;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,Hb);wd=731;break}}}while(0);if((wd|0)==731){wd=0;e=c[vd>>2]|0;zd=0}if((e|0)<1){Qe(-1,205192,Ib);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=zd-Ad;e=xd;continue a}}else{wd=735}}while(0);do{if((wd|0)==735){if((e|0)!=100){wd=737;break}Qe(-1,203744,jd);wd=743}}while(0);do{if((wd|0)==737){wd=0;zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,kd);wd=743;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==743){wd=0;e=c[vd>>2]|0;yd=0.0}do{if((e|0)==100){Qe(-1,203744,ld);wd=752}else{Ad=c[d+(e<<4)>>2]|0;if((Ad+ -1|0)>>>0>=2){Qe(-1,204688,md);wd=752;break}zd=d+(e<<4)+8|0;if((Ad|0)==1){Bd=+(c[zd>>2]|0)}else{Bd=+h[zd>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==752){wd=0;e=c[vd>>2]|0;Bd=0.0}if((e|0)<1){Qe(-1,205192,nd);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=Bd-yd;e=xd;continue a}break};case 35:{e=c[vd>>2]|0;do{if((e|0)==100){Qe(-1,203744,Jb);wd=716}else{Ad=c[d+(e<<4)>>2]|0;if((Ad+ -1|0)>>>0>=2){Qe(-1,204688,Kb);wd=716;break}zd=d+(e<<4)+8|0;if((Ad|0)==1){yd=+(c[zd>>2]|0)}else{yd=+h[zd>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==716){wd=0;e=c[vd>>2]|0;yd=0.0}if((e|0)<1){Qe(-1,205192,Lb);e=xd;continue a}else{Bd=+T(+yd);e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=Bd;e=xd;continue a}break};case 37:{e=c[vd>>2]|0;if((e|0)<1){Qe(-1,205192,Mb);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=1;e=xd;continue a}break};case 38:{e=c[vd>>2]|0;do{if((e|0)<100){if((c[d+(e<<4)>>2]|0)==1){e=xd;continue a}else{wd=763}}else{if((e|0)!=100){wd=763;break}Qe(-1,203744,Nb);yd=0.0;wd=769}}while(0);do{if((wd|0)==763){wd=0;Ad=c[d+(e<<4)>>2]|0;if((Ad+ -1|0)>>>0>=2){Qe(-1,204688,od);yd=0.0;wd=769;break}zd=d+(e<<4)+8|0;if((Ad|0)==1){yd=+(c[zd>>2]|0)}else{yd=+h[zd>>3]}e=e+1|0;c[vd>>2]=e;if(yd>=0.0){wd=769;break}yd=+ca(+yd)}}while(0);if((wd|0)==769){wd=0;yd=+R(+yd);e=c[vd>>2]|0}if((e|0)<1){Qe(-1,205192,pd);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=yd;e=xd;continue a}break};case 39:{e=c[vd>>2]|0;do{if((e|0)<99){if((c[d+(e<<4)>>2]|0)!=1){wd=791;break}zd=e+1|0;if((c[d+(zd<<4)>>2]|0)!=1){wd=789;break}if((e|0)==100){Qe(-1,203744,Ob);zd=c[vd>>2]|0;Ad=0}else{c[vd>>2]=zd;Ad=c[d+(e<<4)+8>>2]|0}do{if((zd|0)==100){Qe(-1,203744,Pb);wd=785}else{if((c[d+(zd<<4)>>2]|0)==1){e=zd+1|0;c[vd>>2]=e;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,Qb);wd=785;break}}}while(0);if((wd|0)==785){wd=0;e=c[vd>>2]|0;zd=0}if((e|0)<1){Qe(-1,205192,Rb);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=zd^Ad;e=xd;continue a}}else{wd=789}}while(0);do{if((wd|0)==789){wd=0;if((e|0)!=100){wd=791;break}Qe(-1,203744,td);e=0}}while(0);do{if((wd|0)==791){wd=0;if((c[d+(e<<4)>>2]|0)==0){c[vd>>2]=e+1;e=(a[d+(e<<4)+8|0]&1)!=0;break}else{Qe(-1,204688,ud);e=0;break}}}while(0);zd=c[vd>>2]|0;do{if((zd|0)==100){Qe(-1,203744,rd);Ad=0}else{if((c[d+(zd<<4)>>2]|0)==0){c[vd>>2]=zd+1;Ad=(a[d+(zd<<4)+8|0]&1)!=0;break}else{Qe(-1,204688,sd);Ad=0;break}}}while(0);zd=c[vd>>2]|0;if((zd|0)<1){Qe(-1,205192,qd);e=xd;continue a}else{Cd=zd+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=(Ad^e)&1;e=xd;continue a}break};case 41:{zd=c[vd>>2]|0;do{if((zd|0)==100){Qe(-1,203744,Sb);wd=815}else{if((c[d+(zd<<4)>>2]|0)!=0){Qe(-1,204688,Tb);wd=815;break}c[vd>>2]=zd+1;if((a[d+(zd<<4)+8|0]&1)==0){wd=815;break}bI(b,d,e+3|0)}}while(0);if((wd|0)==815){wd=0;bI(b,d,c[(c[j>>2]|0)+(xd<<4)+8>>2]|0)}e=c[(c[j>>2]|0)+(e+2<<4)+8>>2]|0;continue a};case 40:{xd=c[vd>>2]|0;do{if((xd|0)==100){Qe(-1,203744,Ub)}else{if((c[d+(xd<<4)>>2]|0)!=0){Qe(-1,204688,Vb);break}c[vd>>2]=xd+1;if((a[d+(xd<<4)+8|0]&1)==0){break}bI(b,d,e+3|0)}}while(0);e=c[(c[j>>2]|0)+(e+2<<4)+8>>2]|0;continue a};case 42:{break a};default:{e=xd;continue a}}}else if((xd|0)==2){Ad=e+1|0;xd=c[vd>>2]|0;if((xd|0)<1){Qe(-1,205192,Wb);e=Ad;continue}else{Bd=+h[zd+(e<<4)+8>>3];Cd=xd+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=Bd;e=Ad;continue}}else if((xd|0)==1){Ad=e+1|0;xd=c[vd>>2]|0;if((xd|0)<1){Qe(-1,205192,Yb);e=Ad;continue}else{Cd=c[zd+(e<<4)+8>>2]|0;zd=xd+ -1|0;c[vd>>2]=zd;c[d+(zd<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=Cd;e=Ad;continue}}else{Qe(-1,204408,Xb);continue}}i=g;return}function cI(b){b=b|0;var d=0;d=i;c[b>>2]=205072;if((a[b+4|0]&1)==0){i=d;return}b=c[b+12>>2]|0;if((b|0)==0){i=d;return}IW(b);i=d;return}function dI(b){b=b|0;var d=0,e=0;d=i;b=FW(1048)|0;c[b>>2]=202568;c[b+4>>2]=32;c[b+8>>2]=32;e=0;do{h[b+16+(e<<4)>>3]=0.0;h[b+16+(e<<4)+8>>3]=1.0;e=e+1|0;}while((e|0)<32);a[b+1040|0]=0;i=d;return b|0}function eI(a){a=a|0;i=i;return-1}function fI(a){a=a|0;i=i;return-1}function gI(a){a=a|0;var b=0,d=0,e=0,f=0;d=i;b=FW(2600)|0;$W(b|0,a|0,2600)|0;e=c[b+2588>>2]|0;f=ye(e,8)|0;c[b+2584>>2]=f;$W(f|0,c[a+2584>>2]|0,e<<3|0)|0;c[b+2592>>2]=ye(1<<c[b+4>>2],8)|0;i=d;return b|0}function hI(a){a=a|0;i=i;return 0}function iI(b){b=b|0;i=i;return(a[b+2596|0]&1)!=0|0}function jI(a){a=a|0;var b=0,c=0;c=i;b=FW(1576)|0;$W(b|0,a|0,1576)|0;i=c;return b|0}function kI(a){a=a|0;i=i;return 2}function lI(b){b=b|0;i=i;return(a[b+1569|0]&1)!=0|0}function mI(a){a=a|0;var b=0,c=0;c=i;b=FW(1072)|0;RH(b,a);i=c;return b|0}function nI(a){a=a|0;i=i;return 3}function oI(b){b=b|0;i=i;return(a[b+1064|0]&1)!=0|0}function pI(a){a=a|0;var b=0,c=0;c=i;b=FW(1072)|0;ZH(b,a);i=c;return b|0}function qI(a){a=a|0;i=i;return 4}function rI(b){b=b|0;i=i;return(a[b+1060|0]&1)!=0|0}function sI(b){b=b|0;var d=0,e=0;d=i;c[b>>2]=205072;do{if((a[b+4|0]&1)!=0){e=c[b+12>>2]|0;if((e|0)==0){break}IW(e)}}while(0);HW(b);i=d;return}function tI(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;e=c[a+8>>2]|0;if((e|0)!=(c[b+8>>2]|0)){f=0;i=d;return f|0}a=a+12|0;b=b+12|0;f=0;while(1){if((f|0)>=(e|0)){a=1;e=5;break}if(+h[(c[a>>2]|0)+(f<<3)>>3]==+h[(c[b>>2]|0)+(f<<3)>>3]){f=f+1|0}else{a=0;e=5;break}}if((e|0)==5){i=d;return a|0}return 0}function uI(a){a=a|0;var b=0;b=i;c[a>>2]=205136;a=c[a+8>>2]|0;if((a|0)==0){i=b;return}IW(a);i=b;return}function vI(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=205136;d=c[a+8>>2]|0;if((d|0)==0){HW(a);i=b;return}IW(d);HW(a);i=b;return}function wI(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;e=a+4|0;c[e>>2]=b;b=ye(b,1)|0;c[a>>2]=b;bX(b|0,0,c[e>>2]|0)|0;i=d;return}function xI(a){a=a|0;var b=0;b=i;bX(c[a>>2]|0,0,c[a+4>>2]|0)|0;i=b;return}function yI(a){a=a|0;var b=0;b=i;Fe(c[a>>2]|0);i=b;return}function zI(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;d=i;b=FW(8)|0;e=a+4|0;g=c[e>>2]|0;c[b+4>>2]=g;f=ye(g,1)|0;c[b>>2]=f;bX(f|0,0,g|0)|0;$W(f|0,c[a>>2]|0,c[e>>2]|0)|0;i=d;return b|0}function AI(a,b){a=a|0;b=b|0;var d=0;d=i;$W(c[a>>2]|0,c[b>>2]|0,c[a+4>>2]|0)|0;i=d;return}function BI(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;a[(c[b>>2]|0)+d|0]=(e<<1)+f;i=i;return}function CI(b){b=b|0;c[b+24>>2]=0;c[b+28>>2]=0;a[b+32|0]=0;i=i;return}function DI(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;j=i;f=b+32|0;k=a[f]|0;if((k&1)==0){i=j;return}h=b+28|0;l=c[h>>2]|0;if((l|0)<=0){i=j;return}d=b+4|0;g=b+24|0;m=c[d>>2]|0;while(1){c[b>>2]=m;if((k&1)==0){e=6}else{k=l+ -1|0;c[h>>2]=k;if((l|0)<1){l=k;m=255}else{e=6}}if((e|0)==6){e=0;m=c[g>>2]|0;m=(jd[c[(c[m>>2]|0)+20>>2]&511](m)|0)&255;l=c[h>>2]|0}c[d>>2]=m;if((l|0)<=0){break}k=a[f]|0}i=j;return}function EI(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;j=i;f=b+32|0;k=a[f]|0;if((k&1)==0){i=j;return}h=b+28|0;l=c[h>>2]|0;if((l|0)<=0){i=j;return}d=b+4|0;g=b+24|0;m=c[d>>2]|0;while(1){c[b>>2]=m;if((k&1)==0){e=6}else{k=l+ -1|0;c[h>>2]=k;if((l|0)<1){l=k;m=255}else{e=6}}if((e|0)==6){e=0;m=c[g>>2]|0;m=(jd[c[(c[m>>2]|0)+20>>2]&511](m)|0)&255;l=c[h>>2]|0}c[d>>2]=m;if((l|0)<=0){break}k=a[f]|0}i=j;return}function FI(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;f=b+32|0;g=a[f]|0;if((g&1)==0){e=3}else{j=b+28|0;h=c[j>>2]|0;c[j>>2]=h+ -1;if((h|0)<1){f=255}else{e=3}}if((e|0)==3){j=c[b+24>>2]|0;j=(jd[c[(c[j>>2]|0)+20>>2]&511](j)|0)&255;g=a[f]|0;f=j}c[b>>2]=f;if((g&1)==0){e=6}else{h=b+28|0;j=c[h>>2]|0;c[h>>2]=j+ -1;if((j|0)<1){g=255}else{e=6}}if((e|0)==6){g=c[b+24>>2]|0;g=(jd[c[(c[g>>2]|0)+20>>2]&511](g)|0)&255;f=c[b>>2]|0}c[b+4>>2]=g;j=b+8|0;c[j>>2]=f<<16^16711680;GI(b);c[j>>2]=c[j>>2]<<7;j=b+16|0;c[j>>2]=(c[j>>2]|0)+ -7;c[b+12>>2]=-2147483648;i=d;return}function GI(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;e=i;d=b+4|0;h=c[d>>2]|0;if((c[b>>2]|0)!=255){c[b>>2]=h;if((a[b+32|0]&1)==0){f=10}else{j=b+28|0;g=c[j>>2]|0;c[j>>2]=g+ -1;if((g|0)<1){g=255}else{f=10}}if((f|0)==10){g=c[b+24>>2]|0;g=(jd[c[(c[g>>2]|0)+20>>2]&511](g)|0)&255;h=c[b>>2]|0}c[d>>2]=g;j=b+8|0;c[j>>2]=(c[j>>2]|0)+65280-(h<<8);c[b+16>>2]=8;i=e;return}if(h>>>0>143){c[b+16>>2]=8;i=e;return}c[b>>2]=h;if((a[b+32|0]&1)==0){f=6}else{g=b+28|0;j=c[g>>2]|0;c[g>>2]=j+ -1;if((j|0)<1){g=255}else{f=6}}if((f|0)==6){g=c[b+24>>2]|0;g=(jd[c[(c[g>>2]|0)+20>>2]&511](g)|0)&255;h=c[b>>2]|0}c[d>>2]=g;j=b+8|0;c[j>>2]=(c[j>>2]|0)+65024-(h<<9);c[b+16>>2]=7;i=e;return}function HI(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;f=i;g=b+28|0;h=c[g>>2]|0;c[g>>2]=d;if((h|0)==-1){if((a[b+32|0]&1)==0){e=4}else{c[g>>2]=d+ -1;if((d|0)<1){g=255}else{e=4}}if((e|0)==4){g=c[b+24>>2]|0;g=(jd[c[(c[g>>2]|0)+20>>2]&511](g)|0)&255}c[b+4>>2]=g;i=f;return}if((h|0)>=-1){i=f;return}h=b+32|0;j=a[h]|0;if((j&1)==0){e=9}else{c[g>>2]=d+ -1;if((d|0)<1){d=255}else{e=9}}if((e|0)==9){d=c[b+24>>2]|0;d=(jd[c[(c[d>>2]|0)+20>>2]&511](d)|0)&255;j=a[h]|0}c[b>>2]=d;if((j&1)==0){e=12}else{j=c[g>>2]|0;c[g>>2]=j+ -1;if((j|0)<1){g=255}else{e=12}}if((e|0)==12){g=c[b+24>>2]|0;g=(jd[c[(c[g>>2]|0)+20>>2]&511](g)|0)&255}c[b+4>>2]=g;i=f;return}function II(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;g=i;m=d[(c[f>>2]|0)+e|0]|0;l=m>>>1;m=m&1;k=c[205384+(l<<2)>>2]|0;h=b+12|0;o=(c[h>>2]|0)-k|0;c[h>>2]=o;j=b+8|0;n=c[j>>2]|0;if(n>>>0>=o>>>0){c[j>>2]=n-o;do{if(o>>>0<k>>>0){a[(c[f>>2]|0)+e|0]=c[205576+(l<<2)>>2]<<1|m}else{n=m^1;o=c[205768+(l<<2)>>2]<<1;if((c[205960+(l<<2)>>2]|0)==0){a[(c[f>>2]|0)+e|0]=o|m;m=n;break}else{a[(c[f>>2]|0)+e|0]=o|n;m=n;break}}}while(0);c[h>>2]=k;l=b+16|0;f=c[l>>2]|0;do{if((f|0)==0){GI(b);f=c[l>>2]|0;k=c[h>>2]|0}k=k<<1;c[h>>2]=k;c[j>>2]=c[j>>2]<<1;f=f+ -1|0;c[l>>2]=f;}while((k|0)>-1);i=g;return m|0}if((o|0)<0){o=m;i=g;return o|0}do{if(o>>>0<k>>>0){n=m^1;k=c[205768+(l<<2)>>2]<<1;if((c[205960+(l<<2)>>2]|0)==0){a[(c[f>>2]|0)+e|0]=k|m;m=n;break}else{a[(c[f>>2]|0)+e|0]=k|n;m=n;break}}else{a[(c[f>>2]|0)+e|0]=c[205576+(l<<2)>>2]<<1|m}}while(0);k=b+16|0;l=c[k>>2]|0;do{if((l|0)==0){GI(b);l=c[k>>2]|0}o=c[h>>2]<<1;c[h>>2]=o;c[j>>2]=c[j>>2]<<1;l=l+ -1|0;c[k>>2]=l;}while((o|0)>-1);i=g;return m|0}function JI(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;e=i;g=a+20|0;c[g>>2]=1;f=II(a,1,d)|0;n=c[g>>2]|0;h=n<<1|f;if(n>>>0>=256){h=h&255|256}c[g>>2]=h;j=II(a,h,d)|0;n=c[g>>2]|0;h=n<<1|j;if(n>>>0>=256){h=h&255|256}c[g>>2]=h;h=II(a,h,d)|0;n=c[g>>2]|0;k=n<<1|h;if(n>>>0>=256){k=k&255|256}c[g>>2]=k;do{if((j|0)==0){a=II(a,k,d)|0;n=c[g>>2]|0;d=n<<1|a;if(n>>>0>=256){d=d&255|256}c[g>>2]=d;g=a|h<<1}else{j=II(a,k,d)|0;n=c[g>>2]|0;k=n<<1|j;if(n>>>0>=256){k=k&255|256}c[g>>2]=k;if((h|0)==0){h=II(a,k,d)|0;n=c[g>>2]|0;k=n<<1|h;if(n>>>0>=256){k=k&255|256}c[g>>2]=k;k=II(a,k,d)|0;n=c[g>>2]|0;l=n<<1|k;if(n>>>0>=256){l=l&255|256}c[g>>2]=l;a=II(a,l,d)|0;n=c[g>>2]|0;d=n<<1|a;if(n>>>0>=256){d=d&255|256}c[g>>2]=d;g=(a|(k|(h|j<<1)<<1)<<1)+4|0;break}h=II(a,k,d)|0;k=c[g>>2]|0;l=k>>>0<256;k=k<<1|h;if((j|0)==0){if(!l){k=k&255|256}c[g>>2]=k;j=II(a,k,d)|0;n=c[g>>2]|0;k=n<<1|j;if(n>>>0>=256){k=k&255|256}c[g>>2]=k;k=II(a,k,d)|0;n=c[g>>2]|0;l=n<<1|k;if(n>>>0>=256){l=l&255|256}c[g>>2]=l;l=II(a,l,d)|0;n=c[g>>2]|0;m=n<<1|l;if(n>>>0>=256){m=m&255|256}c[g>>2]=m;m=II(a,m,d)|0;o=c[g>>2]|0;n=o<<1|m;if(o>>>0>=256){n=n&255|256}c[g>>2]=n;a=II(a,n,d)|0;o=c[g>>2]|0;d=o<<1|a;if(o>>>0>=256){d=d&255|256}c[g>>2]=d;g=(a|(m|(l|(k|(j|h<<1)<<1)<<1)<<1)<<1)+20|0;break}if(l){j=k}else{j=k&255|256}c[g>>2]=j;if((h|0)==0){h=0;k=0;do{l=II(a,j,d)|0;o=c[g>>2]|0;j=o<<1|l;if(o>>>0>=256){j=j&255|256}c[g>>2]=j;k=l|k<<1;h=h+1|0;}while((h|0)<8);g=k+84|0;break}h=II(a,j,d)|0;o=c[g>>2]|0;j=o<<1|h;if(o>>>0>=256){j=j&255|256}c[g>>2]=j;if((h|0)==0){h=0;k=0;do{l=II(a,j,d)|0;o=c[g>>2]|0;j=o<<1|l;if(o>>>0>=256){j=j&255|256}c[g>>2]=j;k=l|k<<1;h=h+1|0;}while((h|0)<12);g=k+340|0;break}else{h=0;k=0;do{l=II(a,j,d)|0;o=c[g>>2]|0;j=o<<1|l;if(o>>>0>=256){j=j&255|256}c[g>>2]=j;k=l|k<<1;h=h+1|0;}while((h|0)<32);g=k+4436|0;break}}}while(0);do{if((f|0)!=0){if((g|0)==0){o=0;i=e;return o|0}else{g=0-g|0;break}}}while(0);c[b>>2]=g;o=1;i=e;return o|0}function KI(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;f=a+20|0;c[f>>2]=1;if((b|0)==0){g=1;h=1<<b;h=g-h|0;i=e;return h|0}else{h=1;g=0}while(1){h=II(a,h,d)|0;h=c[f>>2]<<1|h;c[f>>2]=h;g=g+1|0;if(g>>>0<b>>>0){}else{break}}g=1<<b;h=h-g|0;i=e;return h|0}function LI(b,d,f,g){b=b|0;d=d|0;f=f|0;g=g|0;var j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0,s=0.0,t=0,u=0.0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;j=i;w=d+20|0;tH(b,d,f,g,(a[c[w>>2]|0]&1)!=0);c[b>>2]=206160;a[b+176|0]=a[(c[w>>2]|0)+1|0]&1;w=c[d+24>>2]|0;d=b+120|0;if((RJ(w,d)|0)!=0){i=j;return}c[w+88>>2]=c[d>>2];d=b+24|0;u=+h[d>>3];f=b+32|0;k=+h[f>>3];k=+T(+(u*u+k*k));g=b+168|0;u=(~~k|0)<1?1.0:k;h[g>>3]=u;if((bK(w,0,~~u)|0)!=0){i=j;return}l=+h[b+56>>3];k=+h[b+64>>3];n=+T(+(l*l+k*k));o=+h[g>>3];n=n/o;h[b+160>>3]=n;t=w+60|0;u=(c[t>>2]|0)>2e4?65536.0:1.0;m=+h[b+8>>3];z=w+52|0;p=+h[d>>3];x=w+56|0;v=w+68|0;A=~~((m*+(c[z>>2]|0)+p*+(c[x>>2]|0))/(u*+(e[v>>1]|0|0)));d=b+84|0;c[d>>2]=A;g=b+76|0;c[g>>2]=A;q=+h[b+16>>3];s=+h[f>>3];B=~~((q*+(c[z>>2]|0)+s*+(c[x>>2]|0))/(u*+(e[v>>1]|0|0)));r=b+88|0;c[r>>2]=B;f=b+80|0;c[f>>2]=B;w=w+64|0;C=~~((m*+(c[z>>2]|0)+p*+(c[w>>2]|0))/(u*+(e[v>>1]|0|0)));do{if((C|0)<(A|0)){c[g>>2]=C;y=A}else{if((C|0)<=(A|0)){y=A;C=A;break}c[d>>2]=C;y=C;C=A}}while(0);A=~~((q*+(c[z>>2]|0)+s*+(c[w>>2]|0))/(u*+(e[v>>1]|0|0)));do{if((A|0)<(B|0)){c[f>>2]=A;z=B}else{if((A|0)<=(B|0)){z=B;A=B;break}c[r>>2]=A;z=A;A=B}}while(0);B=~~((m*+(c[t>>2]|0)+p*+(c[x>>2]|0))/(u*+(e[v>>1]|0|0)));do{if((B|0)<(C|0)){c[g>>2]=B;C=B}else{if((B|0)<=(y|0)){break}c[d>>2]=B;y=B}}while(0);B=~~((q*+(c[t>>2]|0)+s*+(c[x>>2]|0))/(u*+(e[v>>1]|0|0)));do{if((B|0)<(A|0)){c[f>>2]=B;x=z;A=B}else{if((B|0)<=(z|0)){x=z;break}c[r>>2]=B;x=B}}while(0);z=~~((m*+(c[t>>2]|0)+p*+(c[w>>2]|0))/(u*+(e[v>>1]|0|0)));do{if((z|0)<(C|0)){c[g>>2]=z;C=z}else{if((z|0)<=(y|0)){break}c[d>>2]=z;y=z}}while(0);t=~~((q*+(c[t>>2]|0)+s*+(c[w>>2]|0))/(u*+(e[v>>1]|0|0)));do{if((t|0)<(A|0)){c[f>>2]=t;A=t}else{if((t|0)<=(x|0)){break}c[r>>2]=t;x=t}}while(0);if((y|0)==(C|0)){c[g>>2]=0;c[d>>2]=~~o}if((x|0)==(A|0)){c[f>>2]=0;c[r>>2]=~~(o*1.2)}c[b+124>>2]=~~(m/o*65536.0);c[b+132>>2]=~~(q/o*65536.0);c[b+128>>2]=~~(p/o*65536.0);c[b+136>>2]=~~(s/o*65536.0);u=o*n;c[b+140>>2]=~~(+h[b+40>>3]/u*65536.0);c[b+148>>2]=~~(+h[b+48>>3]/u*65536.0);c[b+144>>2]=~~(l/u*65536.0);c[b+152>>2]=~~(k/u*65536.0);i=j;return}function MI(a){a=a|0;var b=0;b=i;wH(a);HW(a);i=b;return}function NI(a){a=a|0;var b=0;b=i;wH(a);i=b;return}function OI(a,b,c,d,e,f,g,h,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;d=xH(a,b,c,0,e,f,g,h,j)|0;i=k;return d|0}function PI(b,d,f,g,h,j,k,l,m){b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=i;s=i;i=i+8|0;r=s;q=i;i=i+16|0;n=q;o=c[b+4>>2]|0;p=o+24|0;c[(c[p>>2]|0)+88>>2]=c[b+120>>2];c[s>>2]=~~(+(f|0)*.25*64.0);c[r+4>>2]=0;FJ(c[p>>2]|0,b+124|0,r);r=c[p>>2]|0;f=c[r+84>>2]|0;s=c[o+28>>2]|0;do{if((s|0)!=0){if((c[o+32>>2]|0)<=(d|0)){break}d=e[s+(d<<1)>>1]|0}}while(0);o=b+72|0;s=(a[o]&1)!=0;u=(a[b+176|0]&1)!=0;t=s^1;b=u^1;do{if(t|b){if(!(u|t)){b=10;break}b=s|b?2:0}else{b=8}}while(0);if((YI(r,d,b)|0)!=0){u=0;i=g;return u|0}zK((c[(c[p>>2]|0)+84>>2]|0)+108|0,n);d=c[q>>2]|0;s=((d|0)/-64|0)+2|0;c[h>>2]=s;u=c[n+12>>2]|0;t=((u|0)/64|0)+2|0;q=h+4|0;c[q>>2]=t;d=(((c[n+8>>2]|0)-d|0)/64|0)+4|0;p=h+8|0;c[p>>2]=d;u=((u-(c[n+4>>2]|0)|0)/64|0)+4|0;n=h+12|0;c[n>>2]=u;s=j-s|0;t=k-t|0;u=Jp(l,s,t,d+s|0,t+u|0)|0;c[m>>2]=u;if((u|0)==1){a[h+24|0]=0;u=1;i=g;return u|0}if((JJ(f,(a[o]&1)!=0?0:2)|0)!=0){u=0;i=g;return u|0}c[h>>2]=0-(c[f+100>>2]|0);c[q>>2]=c[f+104>>2];m=c[f+80>>2]|0;c[p>>2]=m;l=c[f+76>>2]|0;c[n>>2]=l;a[h+16|0]=a[o]&1;if((a[o]&1)==0){m=m+7>>3}l=ze(m,l)|0;c[h+20>>2]=l;if((l|0)==0){u=0;i=g;return u|0}a[h+24|0]=1;if((c[n>>2]|0)<=0){u=1;i=g;return u|0}h=f+84|0;k=0;f=c[f+88>>2]|0;while(1){$W(l|0,f|0,m|0)|0;k=k+1|0;if((k|0)<(c[n>>2]|0)){f=f+(c[h>>2]|0)|0;l=l+m|0}else{f=1;break}}i=g;return f|0}function QI(b,d){b=b|0;d=d|0;var f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0.0;g=i;f=i;i=i+8|0;k=f;m=i;i=i+16|0;n=m;j=c[b+4>>2]|0;c[m>>2]=65536;c[n+4>>2]=0;c[n+8>>2]=0;c[n+12>>2]=65536;c[f>>2]=0;c[k+4>>2]=0;f=j+24|0;c[(c[f>>2]|0)+88>>2]=c[b+120>>2];FJ(c[f>>2]|0,n,k);k=c[j+28>>2]|0;do{if((k|0)!=0){if((c[j+32>>2]|0)<=(d|0)){break}d=e[k+(d<<1)>>1]|0}}while(0);if((a[j+36|0]&1)!=0&(d|0)==0){o=-1.0;i=g;return+o}j=c[f>>2]|0;k=(a[b+72|0]&1)!=0;n=(a[b+176|0]&1)!=0;m=k^1;l=n^1;do{if(m|l){if(!(n|m)){k=10;break}k=k|l?2:0}else{k=8}}while(0);if((YI(j,d,k)|0)!=0){o=-1.0;i=g;return+o}o=+(c[(c[(c[f>>2]|0)+84>>2]|0)+40>>2]|0)*.015625/+h[b+168>>3];i=g;return+o}function RI(b,d){b=b|0;d=d|0;var f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;n=i;k=i;i=i+24|0;l=k;f=i;i=i+8|0;g=f;o=c[b+4>>2]|0;j=o+24|0;c[(c[j>>2]|0)+88>>2]=c[b+120>>2];FJ(c[j>>2]|0,b+140|0,0);j=c[j>>2]|0;m=c[j+84>>2]|0;p=c[o+28>>2]|0;do{if((p|0)!=0){if((c[o+32>>2]|0)<=(d|0)){break}d=e[p+(d<<1)>>1]|0}}while(0);if((a[o+36|0]&1)!=0&(d|0)==0){r=0;i=n;return r|0}q=(a[b+72|0]&1)!=0;o=(a[b+176|0]&1)!=0;p=q^1;r=o^1;do{if(p|r){if(!(o|p)){o=10;break}o=q|r?2:0}else{o=8}}while(0);if((YI(j,d,o)|0)!=0){r=0;i=n;return r|0}if((DL(m,g)|0)!=0){r=0;i=n;return r|0}r=FW(32)|0;gq(r);c[k>>2]=r;h[l+8>>3]=+h[b+160>>3];r=l+16|0;a[r]=0;uK((c[f>>2]|0)+20|0,206184,l)|0;if((a[r]&1)!=0){mq(c[k>>2]|0)|0}CL(c[f>>2]|0);r=c[k>>2]|0;i=n;return r|0}function SI(b,d){b=b|0;d=d|0;var e=0,f=0,g=0.0;e=i;f=d+16|0;if((a[f]&1)!=0){mq(c[d>>2]|0)|0;a[f]=0}g=+h[d+8>>3];jq(c[d>>2]|0,+(c[b>>2]|0)*g*.015625,g*+(c[b+4>>2]|0)*.015625)|0;i=e;return 0}function TI(b,d){b=b|0;d=d|0;var e=0,f=0.0;e=i;f=+h[d+8>>3];kq(c[d>>2]|0,+(c[b>>2]|0)*f*.015625,f*+(c[b+4>>2]|0)*.015625)|0;a[d+16|0]=1;i=e;return 0}function UI(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,k=0.0,l=0.0,m=0.0,n=0.0;f=i;g=i;i=i+8|0;j=i;i=i+8|0;if(!(pq(c[e>>2]|0,g,j)|0)){i=f;return 0}m=+h[e+8>>3];l=m*+(c[d>>2]|0)*.015625;k=m*+(c[d+4>>2]|0)*.015625;n=+(c[b>>2]|0)*m*.015625*2.0;m=m*+(c[b+4>>2]|0)*.015625*2.0;lq(c[e>>2]|0,(n+ +h[g>>3])*.3333333333333333,(+h[j>>3]+m)*.3333333333333333,(n+l)*.3333333333333333,(m+k)*.3333333333333333,l,k)|0;a[e+16|0]=1;i=f;return 0}function VI(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,j=0.0;g=i;j=+h[f+8>>3];lq(c[f>>2]|0,+(c[b>>2]|0)*j*.015625,j*+(c[b+4>>2]|0)*.015625,j*+(c[d>>2]|0)*.015625,j*+(c[d+4>>2]|0)*.015625,j*+(c[e>>2]|0)*.015625,j*+(c[e+4>>2]|0)*.015625)|0;a[f+16|0]=1;i=g;return 0}function WI(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;if((a|0)==0){g=35;i=f;return g|0}if((c[a+16>>2]|0)>>>0<=b>>>0){g=16;i=f;return g|0}g=c[(c[(c[a+96>>2]|0)+20>>2]|0)+92>>2]|0;do{if((g|0)!=0){if(!((d&3|0)!=0|(d&983040|0)==65536)){break}g=Cd[g&63](a,b,1,d,e)|0;if((g|0)==7){break}else if((g|0)!=0){i=f;return g|0}if((d&1|0)!=0){g=0;i=f;return g|0}a=c[a+88>>2]|0;if((a|0)==0){g=36;i=f;return g|0}c[e>>2]=_I(c[e>>2]|0,c[((d&16|0)==0?a+16|0:a+20|0)>>2]|0,64)|0;g=0;i=f;return g|0}}while(0);g=XI(a,b,1,d,e)|0;i=f;return g|0}function XI(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;g=i;if((a|0)==0){k=35;i=g;return k|0}k=c[a+16>>2]|0;h=d+b|0;if(k>>>0<=b>>>0|h>>>0<b>>>0|h>>>0>k>>>0){k=16;i=g;return k|0}if((d|0)==0){k=0;i=g;return k|0}h=c[(c[(c[a+96>>2]|0)+20>>2]|0)+92>>2]|0;do{if((h|0)==0){j=7}else{if(!((e&3|0)!=0|(e&983040|0)==65536)){j=7;break}k=Cd[h&63](a,b,d,e,f)|0;if((k|0)==0){h=e;break}else if((k|0)==7){j=7;break}i=g;return k|0}}while(0);a:do{if((j|0)==7){if((e&536870912|0)!=0){k=7;i=g;return k|0}h=e|256;j=a+84|0;if((e&16|0)==0){e=0;while(1){k=YI(a,e+b|0,h)|0;if((k|0)!=0){break}c[f+(e<<2)>>2]=c[(c[j>>2]|0)+64>>2];e=e+1|0;if(e>>>0>=d>>>0){break a}}i=g;return k|0}else{e=0;while(1){k=YI(a,e+b|0,h)|0;if((k|0)!=0){break}c[f+(e<<2)>>2]=c[(c[j>>2]|0)+68>>2];e=e+1|0;if(e>>>0>=d>>>0){break a}}i=g;return k|0}}}while(0);if((h&1|0)!=0){k=0;i=g;return k|0}a=c[a+88>>2]|0;if((a|0)==0){k=36;i=g;return k|0}a=c[((h&16|0)==0?a+16|0:a+20|0)>>2]|0;b=0;while(1){k=f+(b<<2)|0;c[k>>2]=_I(c[k>>2]|0,a,64)|0;b=b+1|0;if(b>>>0<d>>>0){}else{k=0;break}}i=g;return k|0}function YI(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;g=i;if((d|0)==0){t=35;i=g;return t|0}l=d+88|0;if((c[l>>2]|0)==0){t=35;i=g;return t|0}h=c[d+84>>2]|0;if((h|0)==0){t=35;i=g;return t|0}p=h+156|0;n=c[p>>2]|0;do{if((n|0)==0){k=9}else{if((c[n+4>>2]&1|0)==0){k=9;break}m=c[(c[h+4>>2]|0)+100>>2]|0;j=h+88|0;o=c[j>>2]|0;if((o|0)!=0){hd[c[m+8>>2]&127](m,o);n=c[p>>2]|0}c[j>>2]=0;t=n+4|0;c[t>>2]=c[t>>2]&-2}}while(0);if((k|0)==9){c[h+88>>2]=0}m=h+24|0;a[h+94|0]=0;j=h+72|0;bX(m|0,0,40)|0;bX(j|0,0,16)|0;bX(h+100|0,0,56)|0;n=c[d+96>>2]|0;o=c[(c[n+4>>2]|0)+168>>2]|0;f=(f&1024|0)==0?f:f|2049;if((f&1|0)!=0){f=f&-15|10}a:do{if((o|0)==0){k=28}else{if((f&32770|0)!=0){k=28;break}p=c[c[n>>2]>>2]|0;if((p&768|0)!=256){k=28;break}q=c[d+8>>2]|0;if((q&8192|0)!=0){k=28;break}r=d+128|0;s=c[r>>2]|0;t=(c[s+4>>2]|0)==0;if((c[s+12>>2]|0)==0){if(t){k=28;break}}else{if(!t){k=28;break}}do{if((f&32|0)==0){if((p&1024|0)==0){break}if((f&983040|0)==65536){break}if((a[s+56|0]|0)==0){k=28;break a}}}while(0);do{if((q&2|0)!=0){if((f&8|0)!=0){break}if((pd[c[(c[n+20>>2]|0)+80>>2]&63](h,c[l>>2]|0,e,f|16384)|0)!=0){break}if((c[j>>2]|0)==1651078259){m=0;break a}}}while(0);t=(c[r>>2]|0)+28|0;s=c[t>>2]|0;c[t>>2]=0;m=Cd[c[(c[(c[o>>2]|0)+20>>2]|0)+12>>2]&63](o,h,c[l>>2]|0,e,f)|0;c[t>>2]=s}}while(0);do{if((k|0)==28){k=pd[c[(c[n+20>>2]|0)+80>>2]&63](h,c[l>>2]|0,e,f)|0;if((k|0)!=0){t=k;i=g;return t|0}if((c[j>>2]|0)!=1869968492){m=0;break}n=b[h+110>>1]|0;k=n<<16>>16;o=b[h+108>>1]|0;e=o<<16>>16;do{if((o|n)<<16>>16!=0){if(n<<16>>16<1|o<<16>>16<1){t=6;i=g;return t|0}b:do{if(o<<16>>16>0){q=c[h+120>>2]|0;o=-1;r=0;while(1){t=b[q+(r<<1)>>1]|0;p=t<<16>>16;r=r+1|0;if(!((p|0)>(o|0)&t<<16>>16<n<<16>>16)){h=6;break}if((r|0)<(e|0)){o=p}else{break b}}i=g;return h|0}else{p=-1}}while(0);if((p|0)==(k+ -1|0)){break}else{h=6}i=g;return h|0}}while(0);if((f&2|0)!=0){m=0;break}if((f&16|0)==0){n=h+44|0;c[n>>2]=c[n>>2]&-64;n=h+48|0;c[n>>2]=c[n>>2]&-64;n=h+32|0;q=c[n>>2]|0;p=q+63+(c[m>>2]|0)&-64;o=h+36|0;r=c[o>>2]|0;t=h+28|0;s=r-(c[t>>2]|0)&-64;q=q&-64;c[n>>2]=q;r=r+63&-64;c[o>>2]=r;c[m>>2]=p-q;c[t>>2]=r-s}else{n=h+32|0;c[n>>2]=c[n>>2]&-64;n=h+36|0;c[n>>2]=(c[n>>2]|0)+63&-64;n=h+44|0;q=c[n>>2]|0;p=q+63+(c[m>>2]|0)&-64;o=h+48|0;s=c[o>>2]|0;t=h+28|0;r=s+63+(c[t>>2]|0)&-64;q=q&-64;c[n>>2]=q;s=s&-64;c[o>>2]=s;c[m>>2]=p-q;c[t>>2]=r-s}m=h+40|0;c[m>>2]=(c[m>>2]|0)+32&-64;m=h+52|0;c[m>>2]=(c[m>>2]|0)+32&-64;m=0}}while(0);if((f&16|0)==0){c[h+64>>2]=c[h+40>>2];c[h+68>>2]=0}else{c[h+64>>2]=0;c[h+68>>2]=c[h+52>>2]}do{if((f&8192|0)==0){if((c[d+8>>2]&1|0)==0){break}s=c[l>>2]|0;t=h+56|0;c[t>>2]=_I(c[t>>2]|0,c[s+16>>2]|0,64)|0;t=h+60|0;c[t>>2]=_I(c[t>>2]|0,c[s+20>>2]|0,64)|0}}while(0);do{if((f&2048|0)==0){d=c[d+128>>2]|0;if((c[d+28>>2]|0)==0){break}l=c[(c[(c[h+4>>2]|0)+96>>2]|0)+4>>2]|0;k=c[l+164>>2]|0;if((k|0)==0){e=c[j>>2]|0;k=53}else{e=c[j>>2]|0;if((c[k+24>>2]|0)==(e|0)){m=k;k=58}else{k=53}}c:do{if((k|0)==53){d:do{if((l|0)!=0){n=c[l+156>>2]|0;if((n|0)==0){break}while(1){l=c[n+8>>2]|0;if((c[l+24>>2]|0)==(e|0)){break}n=c[n+4>>2]|0;if((n|0)==0){break d}}if((l|0)!=0){m=l;k=58;break c}}}while(0);l=d+4|0;if((e|0)!=1869968492){break}n=h+112|0;p=c[n>>2]|0;e=h+110|0;t=b[e>>1]|0;o=p+(t<<16>>16<<3)|0;if(t<<16>>16<=0){break}do{IJ(p,l);p=p+8|0;}while(p>>>0<o>>>0);o=c[d+20>>2]|0;d=c[d+24>>2]|0;if((b[e>>1]|0)<=0){break}p=0;n=c[n>>2]|0;while(1){c[n>>2]=(c[n>>2]|0)+o;t=n+4|0;c[t>>2]=(c[t>>2]|0)+d;p=p+1<<16>>16;if((p&65535|0)<(b[e>>1]|0)){n=n+8|0}else{break}}}}while(0);if((k|0)==58){t=d+4|0;l=t;m=pd[c[(c[m+20>>2]|0)+44>>2]&63](m,h,t,d+20|0)|0}IJ(h+64|0,l)}}while(0);if((m|0)!=0){t=m;i=g;return t|0}t=c[j>>2]|0;if((t|0)==1668246896|(t|0)==1651078259){t=0;i=g;return t|0}if((f&4|0)==0){t=0;i=g;return t|0}j=f>>>16&15;k=c[h+4>>2]|0;if((k|0)==0){t=6;i=g;return t|0}t=jK(c[(c[k+96>>2]|0)+4>>2]|0,h,(j|0)!=0|(f&4096|0)==0?j:2)|0;i=g;return t|0}function ZI(a){a=a|0;var b=0;b=i;if((a|0)>-1){a=a+32768&-65536;i=b;return a|0}else{a=0-(32768-a&-65536)|0;i=b;return a|0}return 0}function _I(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;if((a|0)==0|(b|0)==(c|0)){i=d;return a|0}g=(a|0)<0?0-a|0:a;f=(b|0)<0?0-b|0:b;b=b^a^c;c=(c|0)<0?0-c|0:c;do{if((g|0)<46341&(f|0)<46341){if((c+ -1|0)>>>0>=176095){e=5;break}g=((c>>1)+(da(f,g)|0)|0)/(c|0)|0}else{e=5}}while(0);do{if((e|0)==5){if((c|0)<=0){g=2147483647;break}a=g&65535;j=g>>>16;e=f&65535;k=f>>>16;f=da(e,j)|0;h=(da(k,a)|0)+f|0;g=h<<16;a=g+(da(e,a)|0)|0;e=a+(c>>1)|0;a=(h>>>16)+(da(k,j)|0)+((h>>>0<f>>>0)<<16)+(a>>>0<g>>>0)+(e>>>0<a>>>0)|0;if(a>>>0<c>>>0){f=32;g=0}else{g=2147483647;break}while(1){g=g<<1;a=a<<1|e>>>31;if(a>>>0>=c>>>0){g=g|1;a=a-c|0}f=f+ -1|0;if((f|0)==0){break}else{e=e<<1}}}}while(0);k=(b|0)<0?0-g|0:g;i=d;return k|0}function $I(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;d=i;if((a|0)==0|(b|0)==(c|0)){g=a;i=d;return g|0}f=(a|0)<0?0-a|0:a;e=(b|0)<0?0-b|0:b;b=b^a^c;c=(c|0)<0?0-c|0:c;a=(c|0)>0;do{if((f|0)<46341&(e|0)<46341&a){a=(da(e,f)|0)/(c|0)|0}else{if(!a){a=2147483647;break}k=f&65535;h=f>>>16;l=e&65535;j=e>>>16;a=da(l,h)|0;f=(da(j,k)|0)+a|0;g=f<<16;e=g+(da(l,k)|0)|0;g=(f>>>16)+(da(j,h)|0)+((f>>>0<a>>>0)<<16)+(e>>>0<g>>>0)|0;if(g>>>0<c>>>0){f=32;a=0}else{a=2147483647;break}while(1){a=a<<1;g=g<<1|e>>>31;if(g>>>0>=c>>>0){a=a|1;g=g-c|0}f=f+ -1|0;if((f|0)==0){break}else{e=e<<1}}}}while(0);l=(b|0)<0?0-a|0:a;i=d;return l|0}function aJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=i;if((a|0)==0|(b|0)==65536){e=a;i=c;return e|0}d=(a|0)<0?0-a|0:a;e=(b|0)<0?0-b|0:b;if(d>>>0<2049&e>>>0<1048577){d=((da(e,d)|0)+32768|0)>>>16}else{f=d&65535;d=(da(e>>>16,f)|0)+(da(d>>>16,e)|0)+(((da(e&65535,f)|0)+32768|0)>>>16)|0}f=(b^a|0)<0?0-d|0:d;i=c;return f|0}function bJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=i;d=(a|0)<0?0-a|0:a;a=b^a;b=(b|0)<0?0-b|0:b;do{if((b|0)==0){f=2147483647}else{e=d>>16;f=d<<16;d=(b>>1)+f|0;if((e|0)==0){f=(d>>>0)/(b>>>0)|0;break}g=(d>>>0<f>>>0)+e|0;if(g>>>0<b>>>0){e=32;f=0}else{f=2147483647;break}while(1){f=f<<1;g=g<<1|d>>>31;if(g>>>0>=b>>>0){f=f|1;g=g-b|0}e=e+ -1|0;if((e|0)==0){break}else{d=d<<1}}}}while(0);i=c;return((a|0)<0?0-f|0:f)|0}function cJ(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;b=i;if((a|0)==0){r=6;i=b;return r|0}f=c[a>>2]|0;d=a+12|0;j=c[d>>2]|0;if((f|0)==0|(j|0)==65536){h=f}else{e=(f|0)<0?0-f|0:f;g=(j|0)<0?0-j|0:j;if(e>>>0<2049&g>>>0<1048577){e=((da(g,e)|0)+32768|0)>>>16}else{r=e&65535;e=(da(g>>>16,r)|0)+(da(e>>>16,g)|0)+(((da(g&65535,r)|0)+32768|0)>>>16)|0}h=(j^f|0)<0?0-e|0:e}m=a+4|0;e=c[m>>2]|0;k=a+8|0;l=c[k>>2]|0;if((e|0)==0|(l|0)==65536){n=e}else{n=(e|0)<0?0-e|0:e;g=(l|0)<0?0-l|0:l;if(n>>>0<2049&g>>>0<1048577){g=((da(g,n)|0)+32768|0)>>>16}else{r=n&65535;g=(da(g>>>16,r)|0)+(da(n>>>16,g)|0)+(((da(g&65535,r)|0)+32768|0)>>>16)|0}n=(l^e|0)<0?0-g|0:g}g=h-n|0;if((h|0)==(n|0)){r=6;i=b;return r|0}o=(e|0)<0?0-e|0:e;n=e^g;e=(g|0)<0?0-g|0:g;h=(e|0)==0;do{if(h){q=2147483647}else{p=o>>16;q=o<<16;o=q+(e>>1)|0;if((p|0)==0){q=(o>>>0)/(e>>>0)|0;break}r=(o>>>0<q>>>0)+p|0;if(r>>>0<e>>>0){p=32;q=0}else{q=2147483647;break}while(1){q=q<<1;r=r<<1|o>>>31;if(r>>>0>=e>>>0){q=q|1;r=r-e|0}p=p+ -1|0;if((p|0)==0){break}else{o=o<<1}}}}while(0);c[m>>2]=0-((n|0)<0?0-q|0:q);m=(l|0)<0?0-l|0:l;l=l^g;do{if(h){o=2147483647}else{n=m>>16;o=m<<16;m=o+(e>>1)|0;if((n|0)==0){o=(m>>>0)/(e>>>0)|0;break}p=(m>>>0<o>>>0)+n|0;if(p>>>0<e>>>0){n=32;o=0}else{o=2147483647;break}while(1){o=o<<1;p=p<<1|m>>>31;if(p>>>0>=e>>>0){o=o|1;p=p-e|0}n=n+ -1|0;if((n|0)==0){break}else{m=m<<1}}}}while(0);c[k>>2]=0-((l|0)<0?0-o|0:o);k=(j|0)<0?0-j|0:j;j=j^g;do{if(h){n=2147483647}else{l=k>>16;m=k<<16;k=m+(e>>1)|0;if((l|0)==0){n=(k>>>0)/(e>>>0)|0;break}m=(k>>>0<m>>>0)+l|0;if(m>>>0<e>>>0){l=32;n=0}else{n=2147483647;break}while(1){n=n<<1;m=m<<1|k>>>31;if(m>>>0>=e>>>0){n=n|1;m=m-e|0}l=l+ -1|0;if((l|0)==0){break}else{k=k<<1}}}}while(0);c[a>>2]=(j|0)<0?0-n|0:n;a=(f|0)<0?0-f|0:f;f=f^g;do{if(h){j=2147483647}else{g=a>>16;h=a<<16;a=h+(e>>1)|0;if((g|0)==0){j=(a>>>0)/(e>>>0)|0;break}h=(a>>>0<h>>>0)+g|0;if(h>>>0<e>>>0){g=32;j=0}else{j=2147483647;break}while(1){j=j<<1;h=h<<1|a>>>31;if(h>>>0>=e>>>0){j=j|1;h=h-e|0}g=g+ -1|0;if((g|0)==0){break}else{a=a<<1}}}}while(0);c[d>>2]=(f|0)<0?0-j|0:j;r=0;i=b;return r|0}function dJ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=i;d=d<<16;if((a|0)==0|(b|0)==0){i=e;return}j=c[a>>2]|0;p=c[b>>2]|0;k=_I(j,p,d)|0;o=c[a+4>>2]|0;g=b+8|0;q=c[g>>2]|0;k=(_I(o,q,d)|0)+k|0;h=b+4|0;l=c[h>>2]|0;j=_I(j,l,d)|0;f=b+12|0;m=c[f>>2]|0;j=(_I(o,m,d)|0)+j|0;o=c[a+8>>2]|0;p=_I(o,p,d)|0;n=c[a+12>>2]|0;a=(_I(n,q,d)|0)+p|0;l=_I(o,l,d)|0;d=(_I(n,m,d)|0)+l|0;c[b>>2]=k;c[h>>2]=j;c[g>>2]=a;c[f>>2]=d;i=e;return}function eJ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;d=d<<16;if((a|0)==0|(b|0)==0){i=e;return}h=c[a>>2]|0;g=_I(h,c[b>>2]|0,d)|0;f=a+4|0;j=c[f>>2]|0;g=(_I(j,c[b+4>>2]|0,d)|0)+g|0;h=_I(h,c[b+8>>2]|0,d)|0;d=(_I(j,c[b+12>>2]|0,d)|0)+h|0;c[a>>2]=g;c[f>>2]=d;i=e;return}function fJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=i;if((a|0)>0){c=24;e=0;f=0}else{f=0;i=b;return f|0}while(1){e=a>>>30|e<<2;d=f<<1;f=f<<2|1;if(e>>>0>=f>>>0){e=e-f|0;d=d|1}c=c+ -1|0;if((c|0)==0){break}else{f=d;a=a<<2}}i=b;return d|0}function gJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;if((b|0)==0){i=e;return((a|0)>-1?d:0-d|0)|0}if((a|0)==0){a=(b|0)>-1?0-c|0:c;i=e;return a|0}if((d|0)==0){a=(c|0)>-1?b:0-b|0;i=e;return a|0}if((c|0)==0){a=(d|0)>-1?0-a|0:a;i=e;return a|0}f=a&65535;l=a>>>16;g=d&65535;j=d>>>16;k=da(g,l)|0;h=(da(j,f)|0)+k|0;a=h<<16;d=a+(da(g,f)|0)|0;a=(h>>>16)+(da(j,l)|0)+((h>>>0<k>>>0)<<16)+(d>>>0<a>>>0)|0;k=b&65535;h=b>>>16;l=c&65535;j=c>>>16;f=da(l,h)|0;g=(da(j,k)|0)+f|0;b=g<<16;c=b+(da(l,k)|0)|0;b=(g>>>16)+(da(j,h)|0)+((g>>>0<f>>>0)<<16)+(c>>>0<b>>>0)|0;if(a>>>0>b>>>0){l=1;i=e;return l|0}if(a>>>0<b>>>0){l=-1;i=e;return l|0}if(d>>>0>c>>>0){l=1;i=e;return l|0}l=(d>>>0<c>>>0)<<31>>31;i=e;return l|0}function hJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=c+a|0;f=d+b|0;e=((f|0)<0?0-f|0:f)+((e|0)<0?0-e|0:e)|0;i=i;return(((b|0)<0?0-b|0:b)+((a|0)<0?0-a|0:a)+((c|0)<0?0-c|0:c)+((d|0)<0?0-d|0:d)-e|0)<(e>>4|0)|0}function iJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=i;e=Bd[c[a+4>>2]&255](a,96)|0;f=(e|0)==0;g=f?64:0;if(f){i=d;return g|0}bX(e|0,0,96)|0;c[e>>2]=a;c[b>>2]=e;i=d;return g|0}function jJ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=i;do{if((b|0)>0){f=Bd[c[a+4>>2]&255](a,b)|0;g=(f|0)==0;a=g?64:0;if(g){f=0;break}bX(f|0,0,b|0)|0}else{f=0;a=b>>31&6}}while(0);c[d>>2]=a;i=e;return f|0}function kJ(a){a=a|0;var d=0,e=0;d=i;e=a+20|0;b[a+22>>1]=0;b[e>>1]=0;c[a+48>>2]=0;$W(a+56|0,e|0,36)|0;i=d;return}function lJ(a,b){a=a|0;b=b|0;var d=0;d=i;if((b|0)==0){i=d;return}hd[c[a+8>>2]&127](a,b);i=d;return}function mJ(a){a=a|0;var d=0,e=0,f=0,g=0;e=i;if((a|0)==0){i=e;return}d=c[a>>2]|0;f=a+24|0;g=c[f>>2]|0;if((g|0)!=0){hd[c[d+8>>2]&127](d,g)}c[f>>2]=0;f=a+28|0;g=c[f>>2]|0;if((g|0)!=0){hd[c[d+8>>2]&127](d,g)}c[f>>2]=0;f=a+32|0;g=c[f>>2]|0;if((g|0)!=0){hd[c[d+8>>2]&127](d,g)}c[f>>2]=0;f=a+40|0;g=c[f>>2]|0;if((g|0)!=0){hd[c[d+8>>2]&127](d,g)}c[f>>2]=0;g=a+52|0;f=c[g>>2]|0;if((f|0)!=0){hd[c[d+8>>2]&127](d,f)}c[g>>2]=0;c[a+44>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;g=a+20|0;b[a+22>>1]=0;b[g>>1]=0;c[a+48>>2]=0;$W(a+56|0,g|0,36)|0;hd[c[d+8>>2]&127](d,a);i=e;return}function nJ(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;k=c[d>>2]|0;f=d+4|0;j=c[f>>2]|0;h=j<<1;a:do{if((h|0)<0){f=6}else{do{if((h|0)==0){k=0;g=10}else{if((h|0)>268435455){f=10;break a}j=j<<4;do{if((j|0)>0){k=Bd[c[k+4>>2]&255](k,j)|0;l=(k|0)==0;m=l?64:0;if(l){k=0;break}bX(k|0,0,j|0)|0}else{k=0;m=j>>31&6}}while(0);l=(m|0)==0;if(l&(h|0)>0){bX(k|0,0,j|0)|0;g=10;break}h=d+40|0;c[h>>2]=k;if(l){break}i=e;return m|0}}while(0);if((g|0)==10){h=d+40|0;c[h>>2]=k}a[d+16|0]=1;k=c[h>>2]|0;l=c[f>>2]|0;c[d+44>>2]=k+(l<<3);m=b[d+22>>1]|0;c[d+60>>2]=(c[d+24>>2]|0)+(m<<3);c[d+64>>2]=(c[d+28>>2]|0)+m;c[d+68>>2]=(c[d+32>>2]|0)+(b[d+20>>1]<<1);c[d+76>>2]=(c[h>>2]|0)+(m<<3);c[d+80>>2]=k+(l+m<<3);m=0;i=e;return m|0}}while(0);c[d+40>>2]=0;m=f;i=e;return m|0}function oJ(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;h=i;a:do{if((d|b|e|0)<0){a=6}else{do{if((e|0)==0|(b|0)==0){if((f|0)==0){f=0;a=0;break}hd[c[a+8>>2]&127](a,f);f=0;a=0}else{if((2147483647/(b|0)|0|0)<(e|0)){a=10;break a}if((d|0)!=0){k=da(d,b)|0;j=da(e,b)|0;a=pd[c[a+12>>2]&63](a,k,j,f)|0;j=(a|0)==0;f=j?f:a;a=j?64:0;break}j=da(e,b)|0;if((j|0)<=0){f=0;a=j>>31&6;break}f=Bd[c[a+4>>2]&255](a,j)|0;k=(f|0)==0;a=k?64:0;if(k){f=0;break}bX(f|0,0,j|0)|0}}while(0);if(!((a|0)==0&(e|0)>(d|0))){break}bX(f+(da(d,b)|0)|0,0,da(e-d|0,b)|0)|0;a=0}}while(0);c[g>>2]=a;i=h;return f|0}function pJ(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;g=i;j=c[d>>2]|0;h=d+22|0;l=(b[h>>1]|0)+e+(b[d+58>>1]|0)|0;e=d+4|0;k=c[e>>2]|0;a:do{if(l>>>0>k>>>0){m=l+7|0;l=m&-8;if(l>>>0>32767){s=10;i=g;return s|0}p=d+24|0;q=c[p>>2]|0;b:do{if((m|k|0)<0){d=6}else{o=(l|0)==0;do{if(o){if((q|0)==0){q=0;r=0;break}hd[c[j+8>>2]&127](j,q);q=0;r=0}else{if((l|0)>268435455){d=10;break b}if((k|0)!=0){r=pd[c[j+12>>2]&63](j,k<<3,l<<3,q)|0;n=(r|0)==0;q=n?q:r;r=n?64:0;break}s=l<<3;if((l|0)<=0){q=0;r=m>>>28&6;break}q=Bd[c[j+4>>2]&255](j,s)|0;r=(q|0)==0;n=r?64:0;if(r){q=0;r=n;break}bX(q|0,0,s|0)|0;r=n}}while(0);s=(r|0)==0;n=(l|0)>(k|0);do{if(s&n){bX(q+(k<<3)|0,0,l-k<<3|0)|0;c[p>>2]=q}else{c[p>>2]=q;if(s){break}else{q=r}i=g;return q|0}}while(0);p=d+28|0;q=c[p>>2]|0;do{if(o){if((q|0)==0){o=0;q=0;break}hd[c[j+8>>2]&127](j,q);o=0;q=0}else{if((k|0)!=0){o=pd[c[j+12>>2]&63](j,k,l,q)|0;m=(o|0)==0;o=m?q:o;q=m?64:0;break}if((l|0)<=0){o=0;q=m>>31&6;break}o=Bd[c[j+4>>2]&255](j,l)|0;m=(o|0)==0;q=m?64:0;if(m){o=0;break}bX(o|0,0,l|0)|0}}while(0);m=(q|0)==0;do{if(m&n){bX(o+k|0,0,l-k|0)|0;c[p>>2]=o}else{c[p>>2]=o;if(m){break}i=g;return q|0}}while(0);c:do{if((a[d+16|0]|0)!=0){o=k<<1;n=l<<1;m=d+40|0;p=c[m>>2]|0;d:do{if((n|o|0)<0){d=6}else{do{if((n|0)==0){if((p|0)==0){p=0;q=0;break}hd[c[j+8>>2]&127](j,p);p=0;q=0}else{if((n|0)>268435455){d=10;break d}if((o|0)!=0){r=pd[c[j+12>>2]&63](j,k<<4,l<<4,p)|0;q=(r|0)==0;p=q?p:r;q=q?64:0;break}r=l<<4;if((r|0)<=0){p=0;q=r>>31&6;break}p=Bd[c[j+4>>2]&255](j,r)|0;s=(p|0)==0;q=s?64:0;if(s){p=0;break}bX(p|0,0,r|0)|0}}while(0);r=(q|0)==0;do{if(r&(n|0)>(o|0)){bX(p+(k<<4)|0,0,n-o<<3|0)|0;c[m>>2]=p}else{c[m>>2]=p;if(r){break}i=g;return q|0}}while(0);aX(p+(l<<3)|0,p+(k<<3)|0,k<<3|0)|0;c[d+44>>2]=(c[m>>2]|0)+(l<<3);break c}}while(0);c[m>>2]=p;s=d;i=g;return s|0}}while(0);c[e>>2]=l;n=1;break a}}while(0);c[p>>2]=q;s=d;i=g;return s|0}else{n=0}}while(0);k=d+8|0;l=c[k>>2]|0;e=d+20|0;m=b[e>>1]|0;f=(m<<16>>16)+f+(b[d+56>>1]|0)|0;e:do{if(f>>>0>l>>>0){o=f+3|0;f=o&-4;if(f>>>0>32767){s=10;i=g;return s|0}m=d+32|0;n=c[m>>2]|0;f:do{if((o|l|0)<0){d=6}else{do{if((f|0)==0){if((n|0)==0){j=0;q=0;break}hd[c[j+8>>2]&127](j,n);j=0;q=0}else{if((f|0)>1073741823){d=10;break f}if((l|0)!=0){j=pd[c[j+12>>2]&63](j,l<<1,f<<1,n)|0;o=(j|0)==0;j=o?n:j;q=o?64:0;break}n=f<<1;if((f|0)<=0){j=0;q=o>>30&6;break}j=Bd[c[j+4>>2]&255](j,n)|0;o=(j|0)==0;q=o?64:0;if(o){j=0;break}bX(j|0,0,n|0)|0}}while(0);n=(q|0)==0;do{if(n&(f|0)>(l|0)){bX(j+(l<<1)|0,0,f-l<<1|0)|0;c[m>>2]=j}else{c[m>>2]=j;if(n){break}i=g;return q|0}}while(0);c[k>>2]=f;m=b[e>>1]|0;break e}}while(0);c[m>>2]=n;s=d;i=g;return s|0}else{if(n<<24>>24==0){s=0;i=g;return s|0}else{j=c[d+32>>2]|0;break}}}while(0);h=b[h>>1]|0;c[d+60>>2]=(c[d+24>>2]|0)+(h<<3);c[d+64>>2]=(c[d+28>>2]|0)+h;c[d+68>>2]=j+(m<<16>>16<<1);if((a[d+16|0]|0)==0){s=0;i=g;return s|0}c[d+76>>2]=(c[d+40>>2]|0)+(h<<3);c[d+80>>2]=(c[d+44>>2]|0)+(h<<3);s=0;i=g;return s|0}function qJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;d=i;k=c[a>>2]|0;e=a+48|0;f=(c[e>>2]|0)+b+(c[a+84>>2]|0)|0;b=a+12|0;h=c[b>>2]|0;if(f>>>0<=h>>>0){m=0;i=d;return m|0}l=f+1|0;g=l&-2;f=a+52|0;j=c[f>>2]|0;a:do{if((l|h|0)<0){a=6}else{do{if((g|0)==0){if((j|0)==0){j=0;k=0;break}hd[c[k+8>>2]&127](k,j);j=0;k=0}else{if((g|0)>67108863){a=10;break a}if((h|0)!=0){l=pd[c[k+12>>2]&63](k,h<<5,g<<5,j)|0;k=(l|0)==0;j=k?j:l;k=k?64:0;break}j=g<<5;if((g|0)<=0){j=0;k=l>>>26&6;break}m=Bd[c[k+4>>2]&255](k,j)|0;l=(m|0)==0;k=l?64:0;if(l){j=0;break}bX(m|0,0,j|0)|0;j=m}}while(0);l=(k|0)==0;do{if(l&(g|0)>(h|0)){bX(j+(h<<5)|0,0,g-h<<5|0)|0;c[f>>2]=j}else{c[f>>2]=j;if(l){break}i=d;return k|0}}while(0);c[b>>2]=g;c[a+88>>2]=j+(c[e>>2]<<5);m=0;i=d;return m|0}}while(0);c[f>>2]=j;m=a;i=d;return m|0}function rJ(d){d=d|0;var e=0,f=0,g=0;e=i;b[d+58>>1]=0;b[d+56>>1]=0;c[d+84>>2]=0;f=b[d+22>>1]|0;c[d+60>>2]=(c[d+24>>2]|0)+(f<<3);c[d+64>>2]=(c[d+28>>2]|0)+f;c[d+68>>2]=(c[d+32>>2]|0)+(b[d+20>>1]<<1);if((a[d+16|0]|0)==0){f=d+52|0;f=c[f>>2]|0;g=d+48|0;g=c[g>>2]|0;g=g<<5;g=f+g|0;f=d+88|0;c[f>>2]=g;i=e;return}c[d+76>>2]=(c[d+40>>2]|0)+(f<<3);c[d+80>>2]=(c[d+44>>2]|0)+(f<<3);g=d+52|0;g=c[g>>2]|0;f=d+48|0;f=c[f>>2]|0;f=f<<5;f=g+f|0;g=d+88|0;c[g>>2]=f;i=e;return}function sJ(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=i;if((d|0)==0){i=g;return}j=d+56|0;r=b[j>>1]|0;n=r<<16>>16;l=d+22|0;o=b[l>>1]|0;h=d+58|0;p=(b[h>>1]|0)+o<<16>>16;b[l>>1]=p;m=d+20|0;q=r+(b[m>>1]|0)<<16>>16;b[m>>1]=q;k=d+84|0;f=d+48|0;c[f>>2]=(c[f>>2]|0)+(c[k>>2]|0);e=d+68|0;if(r<<16>>16!=0){p=0;do{r=(c[e>>2]|0)+(p<<1)|0;b[r>>1]=(b[r>>1]|0)+o<<16>>16;p=p+1|0;}while(p>>>0<n>>>0);q=b[m>>1]|0;p=b[l>>1]|0}b[h>>1]=0;b[j>>1]=0;c[k>>2]=0;h=p<<16>>16;c[d+60>>2]=(c[d+24>>2]|0)+(h<<3);c[d+64>>2]=(c[d+28>>2]|0)+h;c[e>>2]=(c[d+32>>2]|0)+(q<<16>>16<<1);if((a[d+16|0]|0)!=0){c[d+76>>2]=(c[d+40>>2]|0)+(h<<3);c[d+80>>2]=(c[d+44>>2]|0)+(h<<3)}c[d+88>>2]=(c[d+52>>2]|0)+(c[f>>2]<<5);i=g;return}function tJ(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=i;g=b[e+22>>1]|0;j=g<<16>>16;h=b[e+20>>1]|0;k=h<<16>>16;l=pJ(d,j,k)|0;if((l|0)!=0){i=f;return l|0}m=d+24|0;q=j<<3;$W(c[m>>2]|0,c[e+24>>2]|0,q|0)|0;n=d+28|0;$W(c[n>>2]|0,c[e+28>>2]|0,j|0)|0;o=d+32|0;$W(c[o>>2]|0,c[e+32>>2]|0,k<<1|0)|0;r=d+16|0;p=a[r]|0;do{if(p<<24>>24==0){p=0}else{if((a[e+16|0]|0)==0){break}$W(c[d+40>>2]|0,c[e+40>>2]|0,q|0)|0;$W(c[d+44>>2]|0,c[e+44>>2]|0,q|0)|0;p=a[r]|0}}while(0);b[d+22>>1]=g;b[d+20>>1]=h;c[d+60>>2]=(c[m>>2]|0)+(j<<3);c[d+64>>2]=(c[n>>2]|0)+j;c[d+68>>2]=(c[o>>2]|0)+(k<<1);if(p<<24>>24==0){i=f;return l|0}c[d+76>>2]=(c[d+40>>2]|0)+(j<<3);c[d+80>>2]=(c[d+44>>2]|0)+(j<<3);i=f;return l|0}function uJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;a:do{if((a|0)==0|(b|0)==0){b=0}else{e=c[a>>2]|0;if((e|0)==0){b=0;break}else{f=a}while(1){a=f+8|0;if((Qc(e|0,b|0)|0)==0){break}e=c[a>>2]|0;if((e|0)==0){b=0;break a}else{f=a}}b=c[f+4>>2]|0}}while(0);i=d;return b|0}function vJ(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a>>2]=b;c[a+4>>2]=d;c[a+8>>2]=e;c[a+12>>2]=0;i=i;return}function wJ(a,b){a=a|0;b=b|0;c[a+12>>2]=b;_a(a+16|0,1)}function xJ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;c[d>>2]=0;if((a|0)==0){h=33;i=e;return h|0}if((b|0)==0){h=6;i=e;return h|0}a=c[a>>2]|0;f=Bd[c[a+4>>2]&255](a,40)|0;h=(f|0)==0;g=h?64:0;if(h){h=64;i=e;return h|0}bX(f|0,0,40)|0;c[f+28>>2]=a;h=c[b>>2]|0;do{if((h&1|0)==0){if((h&4|0)!=0){b=b+12|0;g=HL(f,c[b>>2]|0)|0;c[f+16>>2]=c[b>>2];b=12;break}if((h&2|0)==0){g=6;b=13;break}h=b+16|0;b=c[h>>2]|0;if((b|0)==0){g=6;b=13;break}if((f|0)==0){f=b;b=12;break}hd[c[a+8>>2]&127](a,f);f=c[h>>2]|0;b=12}else{h=c[b+8>>2]|0;c[f>>2]=c[b+4>>2];c[f+4>>2]=h;c[f+8>>2]=0;c[f+32>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;b=12}}while(0);do{if((b|0)==12){if((g|0)!=0){b=13;break}c[f+28>>2]=a;g=0}}while(0);do{if((b|0)==13){if((f|0)==0){f=0;break}hd[c[a+8>>2]&127](a,f);f=0}}while(0);c[d>>2]=f;h=g;i=e;return h|0}function yJ(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=b;c[a+4>>2]=d;c[a+8>>2]=0;c[a+32>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;i=i;return}function zJ(a){a=a|0;var b=0,d=0;b=i;do{if((a|0)!=0){d=c[a+24>>2]|0;if((d|0)==0){break}fd[d&511](a)}}while(0);i=b;return}function AJ(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;e=a+156|0;d=c[e>>2]|0;do{if((d|0)!=0){if((c[d+4>>2]&1|0)==0){break}f=c[(c[a+4>>2]|0)+100>>2]|0;a=a+88|0;g=c[a>>2]|0;if((g|0)!=0){hd[c[f+8>>2]&127](f,g);d=c[e>>2]|0}c[a>>2]=0;g=d+4|0;c[g>>2]=c[g>>2]&-2;i=b;return}}while(0);c[a+88>>2]=0;i=b;return}function BJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;g=a+156|0;f=c[g>>2]|0;do{if((f|0)!=0){if((c[f+4>>2]&1|0)==0){break}j=c[(c[a+4>>2]|0)+100>>2]|0;e=a+88|0;h=c[e>>2]|0;if((h|0)!=0){hd[c[j+8>>2]&127](j,h);f=c[g>>2]|0}c[e>>2]=0;j=f+4|0;c[j>>2]=c[j>>2]&-2;j=a+88|0;c[j>>2]=b;i=d;return}}while(0);c[a+88>>2]=0;j=a+88|0;c[j>>2]=b;i=d;return}function CJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=i;e=c[(c[a+4>>2]|0)+100>>2]|0;g=(c[a+156>>2]|0)+4|0;f=c[g>>2]|0;if((f&1|0)==0){c[g>>2]=f|1}else{g=a+88|0;f=c[g>>2]|0;if((f|0)!=0){hd[c[e+8>>2]&127](e,f)}c[g>>2]=0}do{if((b|0)>0){f=Bd[c[e+4>>2]&255](e,b)|0;g=(f|0)==0;e=g?64:0;if(g){f=0;break}bX(f|0,0,b|0)|0}else{f=0;e=b>>31&6}}while(0);c[a+88>>2]=f;i=d;return e|0}function DJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;f=i;if((a|0)==0){n=6;i=f;return n|0}j=a+96|0;g=c[j>>2]|0;if((g|0)==0){n=6;i=f;return n|0}e=c[g+8>>2]|0;k=c[(c[g+20>>2]|0)+44>>2]|0;do{if((k|0)>0){g=Bd[c[e+4>>2]&255](e,k)|0;l=(g|0)==0;h=l?64:0;if(l){g=0;break}bX(g|0,0,k|0)|0}else{g=0;h=k>>31&6}}while(0);if((h|0)!=0){if((b|0)==0){n=h;i=f;return n|0}c[b>>2]=0;n=h;i=f;return n|0}h=g+4|0;c[h>>2]=a;m=c[j>>2]|0;j=c[m+20>>2]|0;k=c[m+8>>2]|0;c[g>>2]=c[m+4>>2];n=k+4|0;l=Bd[c[n>>2]&255](k,40)|0;do{if((l|0)==0){b=64}else{bX(l|0,0,40)|0;c[g+156>>2]=l;if((c[c[m>>2]>>2]&512|0)==0){m=Bd[c[n>>2]&255](k,96)|0;if((m|0)==0){b=64;break}bX(m|0,0,96)|0;c[m>>2]=k;c[l>>2]=m}j=c[j+64>>2]|0;if((j|0)!=0){j=jd[j&511](g)|0;if((j|0)!=0){b=j;break}}n=a+84|0;c[g+8>>2]=c[n>>2];c[n>>2]=g;if((b|0)==0){n=0;i=f;return n|0}c[b>>2]=g;n=0;i=f;return n|0}}while(0);k=c[(c[h>>2]|0)+96>>2]|0;a=c[k+8>>2]|0;j=c[(c[k+20>>2]|0)+68>>2]|0;if((j|0)!=0){fd[j&511](g)}j=g+156|0;l=c[j>>2]|0;do{if((l|0)==0){d=21}else{if((c[l+4>>2]&1|0)==0){d=21;break}m=c[(c[h>>2]|0)+100>>2]|0;h=g+88|0;n=c[h>>2]|0;if((n|0)!=0){hd[c[m+8>>2]&127](m,n);l=c[j>>2]|0}c[h>>2]=0;l=l+4|0;c[l>>2]=c[l>>2]&-2;l=c[j>>2]|0}}while(0);if((d|0)==21){c[g+88>>2]=0}if((l|0)!=0){if((c[c[k>>2]>>2]&512|0)==0){mJ(c[l>>2]|0);c[c[j>>2]>>2]=0;l=c[j>>2]|0;if((l|0)!=0){d=25}}else{d=25}if((d|0)==25){hd[c[a+8>>2]&127](a,l)}c[j>>2]=0}if((g|0)==0){n=b;i=f;return n|0}hd[c[e+8>>2]&127](e,g);n=b;i=f;return n|0}function EJ(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;if((a|0)==0){i=e;return}g=a+4|0;f=c[g>>2]|0;d=c[(c[f+96>>2]|0)+8>>2]|0;f=f+84|0;j=c[f>>2]|0;if((j|0)==0){i=e;return}else{h=0}while(1){if((j|0)==(a|0)){break}h=c[j+8>>2]|0;if((h|0)==0){b=22;break}else{m=j;j=h;h=m}}if((b|0)==22){i=e;return}j=c[a+8>>2]|0;if((h|0)==0){c[f>>2]=j}else{c[h+8>>2]=j}j=c[(c[g>>2]|0)+96>>2]|0;f=c[j+8>>2]|0;h=c[(c[j+20>>2]|0)+68>>2]|0;if((h|0)!=0){fd[h&511](a)}h=a+156|0;k=c[h>>2]|0;do{if((k|0)==0){b=15}else{if((c[k+4>>2]&1|0)==0){b=15;break}l=c[(c[g>>2]|0)+100>>2]|0;g=a+88|0;m=c[g>>2]|0;if((m|0)!=0){hd[c[l+8>>2]&127](l,m);k=c[h>>2]|0}c[g>>2]=0;k=k+4|0;c[k>>2]=c[k>>2]&-2;k=c[h>>2]|0}}while(0);if((b|0)==15){c[a+88>>2]=0}if((k|0)!=0){if((c[c[j>>2]>>2]&512|0)==0){mJ(c[k>>2]|0);c[c[h>>2]>>2]=0;k=c[h>>2]|0;if((k|0)!=0){b=19}}else{b=19}if((b|0)==19){hd[c[f+8>>2]&127](f,k)}c[h>>2]=0}hd[c[d+8>>2]&127](d,a);i=e;return}function FJ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;if((a|0)==0){i=e;return}f=c[a+128>>2]|0;a=f+28|0;c[a>>2]=0;h=f+4|0;if((b|0)==0){c[h>>2]=65536;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=65536;b=h}else{$W(h|0,b|0,16)|0}do{if((c[b+8>>2]|c[b+4>>2]|0)==0){if((c[b>>2]|0)!=65536){g=8;break}if((c[b+12>>2]|0)==65536){b=2}else{g=8}}else{g=8}}while(0);if((g|0)==8){c[a>>2]=1;b=3}g=f+20|0;if((d|0)==0){c[g>>2]=0;c[f+24>>2]=0;f=0;d=g}else{j=d;h=c[j+4>>2]|0;f=g;c[f>>2]=c[j>>2];c[f+4>>2]=h;f=c[d>>2]|0}if((c[d+4>>2]|f|0)==0){i=e;return}c[a>>2]=b;i=e;return}function GJ(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=i;if((a|0)==0|(d|0)==0){i=e;return}f=c[a+4>>2]|0;g=b[a+2>>1]|0;a=f+(g<<16>>16<<3)|0;if(g<<16>>16<=0){i=e;return}do{IJ(f,d);f=f+8|0;}while(f>>>0<a>>>0);i=e;return}function HJ(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;f=i;if((a|0)==0){i=f;return}g=a+2|0;if((b[g>>1]|0)<=0){i=f;return}h=0;a=c[a+4>>2]|0;while(1){c[a>>2]=(c[a>>2]|0)+d;j=a+4|0;c[j>>2]=(c[j>>2]|0)+e;h=h+1<<16>>16;if((h&65535|0)<(b[g>>1]|0)){a=a+8|0}else{break}}i=f;return}function IJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;d=i;if((a|0)==0|(b|0)==0){i=d;return}g=c[a>>2]|0;e=c[b>>2]|0;j=(g|0)==0;if(j|(e|0)==65536){k=g}else{h=(g|0)<0?0-g|0:g;f=(e|0)<0?0-e|0:e;if(h>>>0<2049&f>>>0<1048577){f=((da(f,h)|0)+32768|0)>>>16}else{n=h&65535;f=(da(f>>>16,n)|0)+(da(h>>>16,f)|0)+(((da(f&65535,n)|0)+32768|0)>>>16)|0}k=(e^g|0)<0?0-f|0:f}e=a+4|0;f=c[e>>2]|0;l=c[b+4>>2]|0;h=(f|0)==0;if(h|(l|0)==65536){l=f}else{m=(f|0)<0?0-f|0:f;n=(l|0)<0?0-l|0:l;if(m>>>0<2049&n>>>0<1048577){m=((da(n,m)|0)+32768|0)>>>16}else{o=m&65535;m=(da(n>>>16,o)|0)+(da(m>>>16,n)|0)+(((da(n&65535,o)|0)+32768|0)>>>16)|0}l=(l^f|0)<0?0-m|0:m}k=l+k|0;l=c[b+8>>2]|0;if(!(j|(l|0)==65536)){j=(g|0)<0?0-g|0:g;m=(l|0)<0?0-l|0:l;if(j>>>0<2049&m>>>0<1048577){j=((da(m,j)|0)+32768|0)>>>16}else{o=j&65535;j=(da(m>>>16,o)|0)+(da(j>>>16,m)|0)+(((da(m&65535,o)|0)+32768|0)>>>16)|0}g=(l^g|0)<0?0-j|0:j}b=c[b+12>>2]|0;if(!(h|(b|0)==65536)){h=(f|0)<0?0-f|0:f;j=(b|0)<0?0-b|0:b;if(h>>>0<2049&j>>>0<1048577){h=((da(j,h)|0)+32768|0)>>>16}else{o=h&65535;h=(da(j>>>16,o)|0)+(da(h>>>16,j)|0)+(((da(j&65535,o)|0)+32768|0)>>>16)|0}f=(b^f|0)<0?0-h|0:h}c[a>>2]=k;c[e>>2]=f+g;i=d;return}function JJ(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;if((a|0)==0){e=6;i=d;return e|0}e=c[a+4>>2]|0;if((e|0)==0){e=6;i=d;return e|0}e=jK(c[(c[e+96>>2]|0)+4>>2]|0,a,b)|0;i=d;return e|0}function KJ(a,b){a=a|0;b=b|0;var d=0;d=i;if((a|0)==0){a=0;i=d;return a|0}a=c[a+92>>2]|0;if((a|0)==0){a=0;i=d;return a|0}a=Bd[c[(c[a+12>>2]|0)+12>>2]&255](a,b)|0;i=d;return a|0}function LJ(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;g=i;i=i+32|0;h=g;if((b|0)==0){e=6;i=f;return e|0}c[g>>2]=4;c[h+12>>2]=b;c[h+16>>2]=0;e=MJ(a,h,d,e)|0;i=f;return e|0}function MJ(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;h=i;r=i;i=i+40|0;o=r;v=i;i=i+40|0;w=i;i=i+40|0;s=i;i=i+32|0;t=s;u=i;i=i+8|0;x=u;m=i;i=i+8|0;l=i;i=i+8|0;F=l;C=i;i=i+8|0;D=C;c[m>>2]=0;c[l>>2]=0;y=(g|0)!=0;E=(f|0)>-1;if(E&(y^1)|(e|0)==0){O=6;i=h;return O|0}if((c[e>>2]&2|0)==0){k=0}else{k=(c[e+16>>2]|0)!=0|0}G=xJ(d,e,m)|0;a:do{if((G|0)==0){G=c[d>>2]|0;I=c[e>>2]|0;do{if((I&8|0)==0){q=17}else{H=c[e+20>>2]|0;if((H|0)==0){q=17;break}if((c[c[H>>2]>>2]&1|0)==0){I=c[m>>2]|0;p=32}else{if((I&16|0)==0){J=0;K=0}else{J=c[e+24>>2]|0;K=c[e+28>>2]|0}I=c[m>>2]|0;H=OJ(H,I,f,J,K,F)|0;if((H|0)==0){break}else{p=H}}if((I|0)==0){break a}C=c[I+28>>2]|0;y=c[I+24>>2]|0;if((y|0)!=0){fd[y&511](I)}if(k<<24>>24!=0){break a}hd[c[C+8>>2]&127](C,I);break a}}while(0);b:do{if((q|0)==17){O=c[d+24>>2]|0;H=d+28+(O<<2)|0;if((O|0)<=0){n=0;q=36;break a}I=e+24|0;J=e+28|0;L=0;K=d+28|0;c:while(1){M=c[K>>2]|0;if((c[c[M>>2]>>2]&1|0)==0){M=L}else{if((c[e>>2]&16|0)==0){O=0;N=0}else{O=c[I>>2]|0;N=c[J>>2]|0}L=c[m>>2]|0;M=OJ(M,L,f,O,N,F)|0;if((M|0)==0){break b}do{if((Qc(c[(c[c[K>>2]>>2]|0)+8>>2]|0,206240)|0)==0){if((M&255|0)!=142){break}N=c[L+20>>2]|0;if((N|0)!=0){if((pd[N&63](L,0,0,0)|0)!=0){B=M;q=35;break a}}c[L+8>>2]=0;M=QJ(d,L,f,g)|0;if((M|0)==0){break c}}}while(0);if((M&255|0)!=2){B=M;q=35;break a}}K=K+4|0;if(K>>>0<H>>>0){L=M}else{B=M;q=35;break a}}if((L|0)==0){O=0;i=h;return O|0}j=c[L+28>>2]|0;l=c[L+24>>2]|0;if((l|0)!=0){fd[l&511](L)}if(k<<24>>24!=0){O=0;i=h;return O|0}hd[c[j+8>>2]&127](j,L);O=0;i=h;return O|0}}while(0);if(k<<24>>24!=0){O=(c[l>>2]|0)+8|0;c[O>>2]=c[O>>2]|1024}H=Bd[c[G+4>>2]&255](G,12)|0;F=(H|0)==0;p=F?64:0;if(F){p=64;break}F=H;G=F;F=F+4|0;a[G]=0;a[G+1|0]=0;a[G+2|0]=0;a[G+3|0]=0;a[F]=0;a[F+1|0]=0;a[F+2|0]=0;a[F+3|0]=0;F=c[l>>2]|0;c[H+8>>2]=F;G=F+96|0;I=c[G>>2]|0;K=I+28|0;J=c[K>>2]|0;c[H+4>>2]=0;c[H>>2]=J;if((J|0)==0){c[I+24>>2]=H}else{c[J+4>>2]=H}c[K>>2]=H;if(E){p=DJ(F,0)|0;if((p|0)!=0){break}p=RJ(F,D)|0;if((p|0)!=0){break}c[F+88>>2]=c[C>>2];p=0}k=c[F+8>>2]|0;do{if((k&1|0)!=0){m=F+74|0;l=b[m>>1]|0;if(l<<16>>16<0){l=0-l<<16>>16;b[m>>1]=l}if((k&32|0)!=0){break}b[F+78>>1]=l}}while(0);do{if((k&2|0)!=0){k=F+28|0;if((c[k>>2]|0)>0){l=0}else{break}do{m=c[F+32>>2]|0;n=m+(l<<4)|0;o=b[n>>1]|0;if(o<<16>>16<0){b[n>>1]=0-o<<16>>16}o=m+(l<<4)+8|0;n=c[o>>2]|0;if((n|0)<0){c[o>>2]=0-n<<16>>16}n=m+(l<<4)+12|0;m=c[n>>2]|0;if((m|0)<0){c[n>>2]=0-m}l=l+1|0;}while((l|0)<(c[k>>2]|0))}}while(0);k=F+128|0;O=c[k>>2]|0;c[O+4>>2]=65536;c[O+8>>2]=0;c[O+12>>2]=0;c[O+16>>2]=65536;c[O+20>>2]=0;c[O+24>>2]=0;c[O+60>>2]=1;if(y){c[g>>2]=F;O=p;i=h;return O|0}if((F|0)==0){O=p;i=h;return O|0}if((c[G>>2]|0)==0){O=p;i=h;return O|0}O=(c[k>>2]|0)+60|0;c[O>>2]=(c[O>>2]|0)+ -1;if((c[(c[k>>2]|0)+60>>2]|0)!=0){O=p;i=h;return O|0}l=c[G>>2]|0;k=c[l+8>>2]|0;m=l+24|0;n=c[m>>2]|0;if((n|0)==0){O=p;i=h;return O|0}while(1){if((c[n+8>>2]|0)==(F|0)){break}o=c[n+4>>2]|0;if((o|0)==0){j=p;q=134;break}else{n=o}}if((q|0)==134){i=h;return j|0}o=c[n>>2]|0;j=c[n+4>>2]|0;if((o|0)==0){c[m>>2]=j}else{c[o+4>>2]=j}if((j|0)==0){c[l+28>>2]=o}else{c[j>>2]=o}if((n|0)!=0){hd[c[k+8>>2]&127](k,n)}UJ(k,F,l);O=p;i=h;return O|0}else{B=G;q=35}}while(0);do{if((q|0)==35){O=B&255;if(!((O|0)==85|(O|0)==2|(O|0)==81)){n=B;q=36;break}y=c[m>>2]|0;z=oL(d,y,f,g)|0;if((z&255|0)==2){z=pL(d,y,0,f,g)|0}O=z&255;do{if((O|0)==85|(O|0)==2){if((c[e>>2]&4|0)==0){o=z;break}z=c[d>>2]|0;c[u>>2]=0;e=e+12|0;B=c[e>>2]|0;E=(y|0)==0;D=y+20|0;C=y+8|0;F=0;do{G=o+(F<<2)|0;c[G>>2]=0;d:do{if(E){c[w+(F<<2)>>2]=0;q=48}else{A=c[D>>2]|0;do{if((A|0)!=0){if((pd[A&63](y,0,0,0)|0)==0){break}c[w+(F<<2)>>2]=85;break d}}while(0);c[C>>2]=0;c[w+(F<<2)>>2]=0;q=48}}while(0);if((q|0)==48){q=0;c[w+(F<<2)>>2]=Cd[c[206320+(F<<3)>>2]&63](d,y,B,G,v+(F<<2)|0)|0}F=F+1|0;}while((F|0)<9);q=t+12|0;D=2;A=0;C=0;e:while(1){B=((c[206324+(A<<3)>>2]|0)+ -3|0)>>>0<2;do{if(C<<24>>24==0|B^1){if((c[w+(A<<2)>>2]|0)!=0){break}c[s>>2]=4;D=c[o+(A<<2)>>2]|0;if((D|0)==0){D=c[e>>2]|0}c[q>>2]=D;D=xJ(d,t,x)|0;C=B&(D|0)==81?1:C;if((D|0)!=0){break}F=c[u>>2]|0;G=pL(d,F,c[v+(A<<2)>>2]|0,f,g)|0;if((F|0)!=0){E=c[F+28>>2]|0;D=c[F+24>>2]|0;if((D|0)!=0){fd[D&511](F)}hd[c[E+8>>2]&127](E,F)}if((G|0)==0){g=0;break e}D=G;C=B?1:C}}while(0);A=A+1|0;if((A|0)>=9){g=D;break}}q=z+8|0;s=c[r>>2]|0;if((s|0)!=0){hd[c[q>>2]&127](z,s);c[r>>2]=0}r=o+4|0;s=c[r>>2]|0;if((s|0)!=0){hd[c[q>>2]&127](z,s);c[r>>2]=0}r=o+8|0;s=c[r>>2]|0;if((s|0)!=0){hd[c[q>>2]&127](z,s);c[r>>2]=0}r=o+12|0;s=c[r>>2]|0;if((s|0)!=0){hd[c[q>>2]&127](z,s);c[r>>2]=0}s=o+16|0;r=c[s>>2]|0;if((r|0)!=0){hd[c[q>>2]&127](z,r);c[s>>2]=0}s=o+20|0;r=c[s>>2]|0;if((r|0)!=0){hd[c[q>>2]&127](z,r);c[s>>2]=0}r=o+24|0;s=c[r>>2]|0;if((s|0)!=0){hd[c[q>>2]&127](z,s);c[r>>2]=0}s=o+28|0;r=c[s>>2]|0;if((r|0)!=0){hd[c[q>>2]&127](z,r);c[s>>2]=0}o=o+32|0;r=c[o>>2]|0;if((r|0)!=0){hd[c[q>>2]&127](z,r);c[o>>2]=0}o=(g|0)==0?0:2}else{o=z}}while(0);if((o|0)!=0){z=y;A=(o&255|0)==2?2:o;q=73;break}if((y|0)==0){O=0;i=h;return O|0}j=c[y+28>>2]|0;l=c[y+24>>2]|0;if((l|0)!=0){fd[l&511](y)}if(k<<24>>24!=0){O=0;i=h;return O|0}hd[c[j+8>>2]&127](j,y);O=0;i=h;return O|0}}while(0);if((q|0)==36){z=c[m>>2]|0;A=n;q=73}do{if((q|0)==73){if((z|0)==0){p=A;break}m=c[z+28>>2]|0;n=c[z+24>>2]|0;if((n|0)!=0){fd[n&511](z)}if(k<<24>>24!=0){p=A;break}hd[c[m+8>>2]&127](m,z);p=A}}while(0);k=c[l>>2]|0;if((k|0)==0){O=p;i=h;return O|0}l=k+96|0;if((c[l>>2]|0)==0){O=p;i=h;return O|0}O=k+128|0;N=(c[O>>2]|0)+60|0;c[N>>2]=(c[N>>2]|0)+ -1;if((c[(c[O>>2]|0)+60>>2]|0)!=0){O=p;i=h;return O|0}n=c[l>>2]|0;m=c[n+8>>2]|0;l=n+24|0;o=c[l>>2]|0;if((o|0)==0){O=p;i=h;return O|0}while(1){if((c[o+8>>2]|0)==(k|0)){break}g=c[o+4>>2]|0;if((g|0)==0){j=p;q=134;break}else{o=g}}if((q|0)==134){i=h;return j|0}j=c[o>>2]|0;q=c[o+4>>2]|0;if((j|0)==0){c[l>>2]=q}else{c[j+4>>2]=q}if((q|0)==0){c[n+28>>2]=j}else{c[q>>2]=j}if((o|0)!=0){hd[c[m+8>>2]&127](m,o)}UJ(m,k,n);O=p;i=h;return O|0}function NJ(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;g=i;h=i;i=i+32|0;j=h;if((b|0)==0){f=6;i=g;return f|0}c[h>>2]=1;c[j+4>>2]=b;c[j+8>>2]=d;c[j+16>>2]=0;f=MJ(a,j,e,f)|0;i=g;return f|0}function OJ(a,d,e,f,g,h){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=i;m=c[a+20>>2]|0;l=c[a+8>>2]|0;p=c[m+36>>2]|0;do{if((p|0)>0){k=Bd[c[l+4>>2]&255](l,p)|0;q=(k|0)==0;o=q?64:0;if(q){k=0;break}bX(k|0,0,p|0)|0}else{k=0;o=p>>31&6}}while(0);do{if((o|0)==0){o=Bd[c[l+4>>2]&255](l,64)|0;q=(o|0)==0;p=q?64:0;if(q){n=64;f=0;break}bX(o|0,0,64)|0;q=k+128|0;c[q>>2]=o;c[k+96>>2]=a;c[k+100>>2]=l;c[k+104>>2]=d;c[o+52>>2]=0;a:do{if((f|0)>0){r=0;do{a=(c[q>>2]|0)+52|0;if((c[a>>2]|0)!=0){break a}if((c[g+(r<<3)>>2]|0)==1768842098){c[a>>2]=c[g+(r<<3)+4>>2]}r=r+1|0;}while((r|0)<(f|0))}}while(0);a=c[m+48>>2]|0;if((a|0)!=0){p=Cd[a&63](d,k,e,f,g)|0}if((p|0)!=0){n=p;f=o;break}l=c[k+40>>2]|0;if((l|0)==0){c[h>>2]=k;r=0;i=j;return r|0}m=(c[k+36>>2]|0)+ -1|0;b:do{if((m|0)>=0){m=l+(m<<2)|0;g=m;c:do{f=c[g>>2]|0;do{if((c[f+4>>2]|0)==1970170211){e=b[f+8>>1]|0;if(e<<16>>16==3){if((b[f+10>>1]|0)!=10){break}}else if(e<<16>>16==0){if((b[f+10>>1]|0)!=4){break}}else{break}if((g-l|0)<=60){n=25;break c}}}while(0);g=g+ -4|0;}while(g>>>0>=l>>>0);if((n|0)==25){c[k+92>>2]=f;break}while(1){n=c[m>>2]|0;if((c[n+4>>2]|0)==1970170211){if((m-l|0)<=60){break}}m=m+ -4|0;if(m>>>0<l>>>0){break b}}c[k+92>>2]=n}}while(0);c[h>>2]=k;r=0;i=j;return r|0}else{n=o;f=0}}while(0);e=(k|0)==0;if(!e){g=k+36|0;d=k+40|0;o=c[d>>2]|0;if((c[g>>2]|0)>0){a=0;do{p=c[o+(a<<2)>>2]|0;q=c[(c[p>>2]|0)+100>>2]|0;o=c[(c[p+12>>2]|0)+8>>2]|0;if((o|0)!=0){fd[o&511](p)}hd[c[q+8>>2]&127](q,p);c[(c[d>>2]|0)+(a<<2)>>2]=0;a=a+1|0;o=c[d>>2]|0}while((a|0)<(c[g>>2]|0))}if((o|0)!=0){hd[c[l+8>>2]&127](l,o)}c[d>>2]=0;c[g>>2]=0}m=c[m+52>>2]|0;if((m|0)!=0){fd[m&511](k)}if((f|0)!=0){hd[c[l+8>>2]&127](l,f)}if(!e){hd[c[l+8>>2]&127](l,k)}c[h>>2]=0;r=n;i=j;return r|0}function PJ(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;e=c[a+20>>2]|0;if((e|0)==0){e=(c[a+4>>2]|0)>>>0<b>>>0?85:0}else{e=(pd[e&63](a,b,0,0)|0)==0;e=e?0:85}if((e|0)!=0){i=d;return e|0}c[a+8>>2]=b;i=d;return e|0}function QJ(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,j=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,w=0,x=0,y=0,z=0;g=i;o=i;i=i+8|0;n=i;i=i+8|0;m=c[a>>2]|0;j=b+8|0;h=c[j>>2]|0;k=b+4|0;if((h+3|0)>>>0>=(c[k>>2]|0)>>>0){z=85;i=g;return z|0}l=b+20|0;q=c[l>>2]|0;do{if((q|0)==0){r=(c[b>>2]|0)+h|0;if((r|0)!=0){q=h;p=7;break}c[j>>2]=h+4}else{if((pd[q&63](b,h,n,4)|0)==4){q=c[j>>2]|0;r=n;p=7;break}else{z=85;i=g;return z|0}}}while(0);do{if((p|0)==7){z=(d[r+1|0]|0)<<16|(d[r]|0)<<24|(d[r+2|0]|0)<<8|(d[r+3|0]|0);p=q+4|0;c[j>>2]=p;if((z|0)!=1954115633){break}r=c[k>>2]|0;if((q+5|0)>>>0>=r>>>0){z=85;i=g;return z|0}s=c[l>>2]|0;do{if((s|0)==0){o=(c[b>>2]|0)+p|0;if((o|0)!=0){r=0;s=p;p=14;break}c[j>>2]=q+6;o=r;r=q+12|0;q=0;p=17}else{if((pd[s&63](b,p,o,2)|0)==2){r=c[l>>2]|0;s=c[j>>2]|0;p=14;break}else{z=85;i=g;return z|0}}}while(0);do{if((p|0)==14){q=((d[o]|0)<<8&65535|(d[o+1|0]|0))&65535;c[j>>2]=s+2;s=s+8|0;if((r|0)==0){o=c[k>>2]|0;r=s;p=17;break}else{z=(pd[r&63](b,s,0,0)|0)==0;o=z?0:85;break}}}while(0);if((p|0)==17){s=r;o=o>>>0<r>>>0?85:0}if((o|0)!=0){z=o;i=g;return z|0}c[j>>2]=s;if((q|0)==0){z=142;i=g;return z|0}r=(e|0)>-1;o=(e|0)<0;p=s;u=0;s=1;t=-1;a:while(1){x=c[k>>2]|0;if((p+3|0)>>>0>=x>>>0){x=85;p=71;break}v=c[l>>2]|0;do{if((v|0)==0){v=(c[b>>2]|0)+p|0;if((v|0)!=0){x=0;z=p;p=29;break}c[j>>2]=p+4;y=p+8|0;z=p;v=0;p=32}else{if((pd[v&63](b,p,n,4)|0)!=4){x=85;p=71;break a}x=c[l>>2]|0;z=c[j>>2]|0;v=n;p=29}}while(0);do{if((p|0)==29){p=0;v=(d[v+1|0]|0)<<16|(d[v]|0)<<24|(d[v+2|0]|0)<<8|(d[v+3|0]|0);c[j>>2]=z+4;w=z+8|0;if((x|0)==0){x=c[k>>2]|0;y=w;p=32;break}else{y=(pd[x&63](b,w,0,0)|0)==0;x=y?0:85;break}}}while(0);if((p|0)==32){p=0;w=y;x=x>>>0<y>>>0?85:0}if((x|0)!=0){p=71;break}c[j>>2]=w;y=c[k>>2]|0;if((z+11|0)>>>0>=y>>>0){x=85;p=71;break}x=c[l>>2]|0;if((x|0)==0){x=(c[b>>2]|0)+w|0;if((x|0)==0){x=0}else{p=39}}else{if((pd[x&63](b,w,n,4)|0)!=4){x=85;p=71;break}y=c[k>>2]|0;w=c[j>>2]|0;x=n;p=39}if((p|0)==39){p=0;x=(d[x+1|0]|0)<<16|(d[x]|0)<<24|(d[x+2|0]|0)<<8|(d[x+3|0]|0)}z=w+4|0;c[j>>2]=z;if((w+7|0)>>>0>=y>>>0){x=85;p=71;break}w=c[l>>2]|0;if((w|0)==0){w=(c[b>>2]|0)+z|0;if((w|0)==0){w=0}else{p=45}}else{if((pd[w&63](b,z,n,4)|0)!=4){x=85;p=71;break}z=c[j>>2]|0;w=n;p=45}if((p|0)==45){w=(d[w+1|0]|0)<<16|(d[w]|0)<<24|(d[w+2|0]|0)<<8|(d[w+3|0]|0)}p=z+4|0;c[j>>2]=p;if((v|0)==1415139377){x=x+24|0;w=w+ -24|0;if(o){n=w;u=0;p=50;break}else{u=0;t=t+1|0}}else if((v|0)==1128875040){x=x+22|0;w=w+ -22|0;if(o){n=w;u=1;p=50;break}else{u=1;t=t+1|0}}if(r&(t|0)==(e|0)){n=w;p=50;break}if((s|0)>=(q|0)){x=142;p=71;break}s=s+1|0}if((p|0)==50){p=x+h|0;q=c[l>>2]|0;if((q|0)==0){q=(c[k>>2]|0)>>>0<p>>>0?85:0}else{z=(pd[q&63](b,p,0,0)|0)==0;q=z?0:85}if((q|0)!=0){z=0;i=g;return z|0}c[j>>2]=p;do{if((n|0)>0){m=Bd[c[m+4>>2]&255](m,n)|0;p=(m|0)==0;x=p?64:0;if(p){m=0;break}bX(m|0,0,n|0)|0}else{m=0;x=n>>31&6}}while(0);do{if((x|0)==0){p=c[j>>2]|0;r=c[k>>2]|0;if(r>>>0<=p>>>0){z=85;i=g;return z|0}q=c[l>>2]|0;if((q|0)==0){q=r-p|0;q=q>>>0>n>>>0?n:q;$W(m|0,(c[b>>2]|0)+p|0,q|0)|0}else{q=pd[q&63](b,p,m,n)|0}c[j>>2]=q+p;if(q>>>0<n>>>0){z=85;i=g;return z|0}else{x=qL(a,m,n,o?e:0,u<<24>>24!=0?206512:206504,f)|0;break}}}while(0);if((x|0)==2){break}i=g;return x|0}else if((p|0)==71){i=g;return x|0}}}while(0);l=c[l>>2]|0;if((l|0)==0){b=(c[k>>2]|0)>>>0<h>>>0?85:0}else{z=(pd[l&63](b,h,0,0)|0)==0;b=z?0:85}if((b|0)!=0){z=b;i=g;return z|0}c[j>>2]=h;z=2;i=g;return z|0}function RJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;if((a|0)==0){k=35;i=d;return k|0}if((b|0)==0){k=36;i=d;return k|0}e=a+96|0;if((c[e>>2]|0)==0){k=34;i=d;return k|0}c[b>>2]=0;g=c[(c[e>>2]|0)+20>>2]|0;e=c[a+100>>2]|0;h=c[g+40>>2]|0;do{if((h|0)>0){f=Bd[c[e+4>>2]&255](e,h)|0;k=(f|0)==0;j=k?64:0;if(k){f=0;break}bX(f|0,0,h|0)|0}else{f=0;j=h>>31&6}}while(0);a:do{if((j|0)==0){h=Bd[c[e+4>>2]&255](e,12)|0;if((h|0)==0){j=64;break}bX(h|0,0,12)|0;c[f>>2]=a;c[f+40>>2]=0;g=c[g+56>>2]|0;do{if((g|0)!=0){j=jd[g&511](f)|0;if((j|0)==0){break}if((h|0)==0){break a}hd[c[e+8>>2]&127](e,h);break a}}while(0);c[b>>2]=f;c[h+8>>2]=f;b=a+112|0;e=c[b>>2]|0;c[h+4>>2]=0;c[h>>2]=e;if((e|0)==0){c[a+108>>2]=h}else{c[e+4>>2]=h}c[b>>2]=h;k=0;i=d;return k|0}}while(0);if((f|0)==0){k=j;i=d;return k|0}hd[c[e+8>>2]&127](e,f);k=j;i=d;return k|0}function SJ(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;b=i;if((a|0)==0){j=35;i=b;return j|0}d=a+96|0;if((c[d>>2]|0)==0){j=35;i=b;return j|0}j=a+128|0;h=(c[j>>2]|0)+60|0;c[h>>2]=(c[h>>2]|0)+ -1;if((c[(c[j>>2]|0)+60>>2]|0)!=0){j=0;i=b;return j|0}g=c[d>>2]|0;f=c[g+8>>2]|0;d=g+24|0;h=c[d>>2]|0;if((h|0)==0){j=35;i=b;return j|0}while(1){if((c[h+8>>2]|0)==(a|0)){break}h=c[h+4>>2]|0;if((h|0)==0){a=35;e=16;break}}if((e|0)==16){i=b;return a|0}e=c[h>>2]|0;j=c[h+4>>2]|0;if((e|0)==0){c[d>>2]=j}else{c[e+4>>2]=j}if((j|0)==0){c[g+28>>2]=e}else{c[j>>2]=e}if((h|0)!=0){hd[c[f+8>>2]&127](f,h)}UJ(f,a,g);j=0;i=b;return j|0}function TJ(a,b){a=a|0;b=b|0;var d=0;d=i;a=c[a>>2]|0;if((a|0)==0){a=0;i=d;return a|0}while(1){if((c[a+8>>2]|0)==(b|0)){b=4;break}a=c[a+4>>2]|0;if((a|0)==0){a=0;b=4;break}}if((b|0)==4){i=d;return a|0}return 0}function UJ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;e=i;f=d+20|0;d=c[f>>2]|0;g=c[b+120>>2]|0;if((g|0)!=0){fd[g&511](c[b+116>>2]|0)}g=b+84|0;h=c[g>>2]|0;if((h|0)!=0){do{EJ(h);h=c[g>>2]|0;}while((h|0)!=0)}h=b+108|0;l=c[h>>2]|0;if((l|0)!=0){g=a+8|0;while(1){j=c[l+4>>2]|0;k=c[l+8>>2]|0;m=c[k+8>>2]|0;if((m|0)!=0){fd[m&511](k)}m=c[(c[f>>2]|0)+60>>2]|0;if((m|0)!=0){fd[m&511](k)}m=k+40|0;n=c[m>>2]|0;if((n|0)!=0){hd[c[g>>2]&127](a,n)}c[m>>2]=0;if((k|0)!=0){hd[c[g>>2]&127](a,k)}if((l|0)!=0){hd[c[g>>2]&127](a,l)}if((j|0)==0){break}else{l=j}}}c[h>>2]=0;c[b+112>>2]=0;c[b+88>>2]=0;f=c[b+48>>2]|0;if((f|0)!=0){fd[f&511](b)}f=(b|0)==0;if(!f){h=b+36|0;g=b+40|0;k=c[g>>2]|0;if((c[h>>2]|0)>0){j=0;do{m=c[k+(j<<2)>>2]|0;k=c[(c[m>>2]|0)+100>>2]|0;l=c[(c[m+12>>2]|0)+8>>2]|0;if((l|0)!=0){fd[l&511](m)}hd[c[k+8>>2]&127](k,m);c[(c[g>>2]|0)+(j<<2)>>2]=0;j=j+1|0;k=c[g>>2]|0}while((j|0)<(c[h>>2]|0))}if((k|0)!=0){hd[c[a+8>>2]&127](a,k)}c[g>>2]=0;c[h>>2]=0}d=c[d+52>>2]|0;if((d|0)!=0){fd[d&511](b)}j=b+104|0;h=c[j>>2]|0;g=c[b+8>>2]&1024;do{if((h|0)!=0){k=c[h+28>>2]|0;d=c[h+24>>2]|0;if((d|0)!=0){fd[d&511](h)}if((g|0)!=0){break}hd[c[k+8>>2]&127](k,h)}}while(0);c[j>>2]=0;d=b+128|0;g=c[d>>2]|0;if((g|0)!=0){hd[c[a+8>>2]&127](a,g);c[d>>2]=0}if(f){i=e;return}hd[c[a+8>>2]&127](a,b);i=e;return}function VJ(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0;b=i;if((a|0)==0){k=36;i=b;return k|0}g=c[a>>2]|0;if((g|0)==0){k=35;i=b;return k|0}e=c[g+96>>2]|0;if((e|0)==0){k=34;i=b;return k|0}d=c[e+8>>2]|0;f=g+108|0;j=c[f>>2]|0;if((j|0)==0){k=36;i=b;return k|0}while(1){if((c[j+8>>2]|0)==(a|0)){break}j=c[j+4>>2]|0;if((j|0)==0){a=36;h=25;break}}if((h|0)==25){i=b;return a|0}k=c[j>>2]|0;h=c[j+4>>2]|0;if((k|0)==0){c[f>>2]=h}else{c[k+4>>2]=h}if((h|0)==0){c[g+112>>2]=k}else{c[h>>2]=k}if((j|0)!=0){hd[c[d+8>>2]&127](d,j)}g=g+88|0;do{if((c[g>>2]|0)==(a|0)){c[g>>2]=0;f=c[f>>2]|0;if((f|0)==0){break}c[g>>2]=c[f+8>>2]}}while(0);f=c[a+8>>2]|0;if((f|0)!=0){fd[f&511](a)}e=c[(c[e+20>>2]|0)+60>>2]|0;if((e|0)!=0){fd[e&511](a)}e=a+40|0;f=c[e>>2]|0;if((f|0)!=0){hd[c[d+8>>2]&127](d,f)}c[e>>2]=0;hd[c[d+8>>2]&127](d,a);k=0;i=b;return k|0}function WJ(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;g=i;if((c[a+8>>2]&2|0)==0){l=35;i=g;return l|0}if((c[b>>2]|0)!=0){l=7;i=g;return l|0}h=c[b+12>>2]|0;j=c[b+4>>2]|0;if((h|0)==0){h=j}else{h=((da(j,h)|0)+36|0)/72|0}l=c[b+16>>2]|0;k=c[b+8>>2]|0;if((l|0)==0){b=k}else{b=((da(k,l)|0)+36|0)/72|0}j=(j|0)==0;k=(k|0)==0?h:b;h=(j?k:h)+32|0;j=(j?b:k)+32|0;b=c[a+28>>2]|0;if((b|0)<=0){l=23;i=g;return l|0}a=c[a+32>>2]|0;d=d<<24>>24==0;k=0;while(1){if(((c[a+(k<<4)+12>>2]|0)+32^j)>>>0<=63){if(!(((c[a+(k<<4)+8>>2]|0)+32^h)>>>0>63&d)){break}}k=k+1|0;if((k|0)>=(b|0)){e=23;f=14;break}}if((f|0)==14){i=g;return e|0}if((e|0)==0){l=0;i=g;return l|0}c[e>>2]=k;l=0;i=g;return l|0}function XJ(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[a+4>>2]|0;d=c[a+12>>2]|0;if((d|0)<0){d=(e|0)<(d|0)?d:e}else{d=e-((d|0)>0?d:0)|0}if((b|0)==0){b=(d*12|0)/10|0}c[a+20>>2]=(c[a+8>>2]|0)-((c[a+16>>2]|0)/2|0);c[a+24>>2]=(b-d|0)/2|0;c[a+28>>2]=b;i=i;return}function YJ(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;g=i;e=c[a+88>>2]|0;f=e+12|0;j=c[a+32>>2]|0;k=j+(d<<4)+8|0;b[f>>1]=((c[k>>2]|0)+32|0)>>>6;h=j+(d<<4)+12|0;b[e+14>>1]=((c[h>>2]|0)+32|0)>>>6;if((c[a+8>>2]&1|0)==0){c[e+16>>2]=65536;c[e+20>>2]=65536;c[e+24>>2]=c[h>>2];c[e+28>>2]=0;c[e+32>>2]=b[j+(d<<4)>>1]<<6;c[e+36>>2]=c[k>>2];i=g;return}l=c[k>>2]|0;j=a+68|0;m=b[j>>1]|0;d=m&65535;k=(l|0)<0;l=k?0-l|0:l;do{if(m<<16>>16==0){o=2147483647}else{m=l>>16;n=l<<16;l=d>>>1|n;if((m|0)==0){o=(l>>>0)/(d>>>0)|0;break}n=(l>>>0<n>>>0)+m|0;if(n>>>0<d>>>0){m=32;o=0}else{o=2147483647;break}while(1){o=o<<1;n=n<<1|l>>>31;if(n>>>0>=d>>>0){o=o|1;n=n-d|0}m=m+ -1|0;if((m|0)==0){break}else{l=l<<1}}}}while(0);c[e+16>>2]=k?0-o|0:o;k=c[h>>2]|0;d=b[j>>1]|0;j=d&65535;h=(k|0)<0;k=h?0-k|0:k;do{if(d<<16>>16==0){l=2147483647}else{d=k>>16;l=k<<16;k=j>>>1|l;if((d|0)==0){l=(k>>>0)/(j>>>0)|0;break}m=(k>>>0<l>>>0)+d|0;if(m>>>0<j>>>0){d=32;l=0}else{l=2147483647;break}while(1){l=l<<1;m=m<<1|k>>>31;if(m>>>0>=j>>>0){l=l|1;m=m-j|0}d=d+ -1|0;if((d|0)==0){break}else{k=k<<1}}}}while(0);c[e+20>>2]=h?0-l|0:l;ZJ(a,f);i=g;return}function ZJ(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;j=b[a+70>>1]|0;h=j<<16>>16;f=c[d+8>>2]|0;g=(f|0)==65536;if(!(j<<16>>16==0|g)){k=j<<16>>16<0?0-h|0:h;j=(f|0)<0?0-f|0:f;if(k>>>0<2049&j>>>0<1048577){j=((da(j,k)|0)+32768|0)>>>16}else{l=k&65535;j=(da(j>>>16,l)|0)+(da(k>>>16,j)|0)+(((da(j&65535,l)|0)+32768|0)>>>16)|0}h=(f^h|0)<0?0-j|0:j}c[d+12>>2]=h+63&-64;j=b[a+72>>1]|0;h=j<<16>>16;if(!(j<<16>>16==0|g)){j=j<<16>>16<0?0-h|0:h;k=(f|0)<0?0-f|0:f;if(j>>>0<2049&k>>>0<1048577){j=((da(k,j)|0)+32768|0)>>>16}else{l=j&65535;j=(da(k>>>16,l)|0)+(da(j>>>16,k)|0)+(((da(k&65535,l)|0)+32768|0)>>>16)|0}h=(f^h|0)<0?0-j|0:j}c[d+16>>2]=h&-64;j=b[a+74>>1]|0;h=j<<16>>16;if(!(j<<16>>16==0|g)){g=j<<16>>16<0?0-h|0:h;j=(f|0)<0?0-f|0:f;if(g>>>0<2049&j>>>0<1048577){g=((da(j,g)|0)+32768|0)>>>16}else{l=g&65535;g=(da(j>>>16,l)|0)+(da(g>>>16,j)|0)+(((da(j&65535,l)|0)+32768|0)>>>16)|0}h=(f^h|0)<0?0-g|0:g}c[d+20>>2]=h+32&-64;g=b[a+76>>1]|0;a=g<<16>>16;f=c[d+4>>2]|0;if(g<<16>>16==0|(f|0)==65536){k=a;k=k+32|0;k=k&-64;l=d+24|0;c[l>>2]=k;i=e;return}g=g<<16>>16<0?0-a|0:a;h=(f|0)<0?0-f|0:f;if(g>>>0<2049&h>>>0<1048577){g=((da(h,g)|0)+32768|0)>>>16}else{l=g&65535;g=(da(h>>>16,l)|0)+(da(g>>>16,h)|0)+(((da(h&65535,l)|0)+32768|0)>>>16)|0}k=(f^a|0)<0?0-g|0:g;k=k+32|0;k=k&-64;l=d+24|0;c[l>>2]=k;i=e;return}function _J(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;f=i;h=c[a+88>>2]|0;g=h+12|0;if((c[a+8>>2]&1|0)==0){bX(g|0,0,28)|0;c[h+16>>2]=65536;c[h+20>>2]=65536;i=f;return}a:do{switch(c[d>>2]|0){case 2:{j=(c[a+64>>2]|0)-(c[a+56>>2]|0)|0;l=(c[a+60>>2]|0)-(c[a+52>>2]|0)|0;k=11;break};case 4:{o=c[d+4>>2]|0;k=h+16|0;c[k>>2]=o;j=c[d+8>>2]|0;l=h+20|0;c[l>>2]=j;if((o|0)==0){c[k>>2]=j;p=j;o=j;q=0;l=0;k=44;break a}if((j|0)!=0){p=j;q=0;l=0;k=44;break a}c[l>>2]=o;p=o;q=0;l=0;k=44;break};case 1:{l=(b[a+70>>1]|0)-(b[a+72>>1]|0)|0;j=l;k=11;break};case 0:{l=e[a+68>>1]|0;j=l;k=11;break};case 3:{j=(b[a+70>>1]|0)-(b[a+72>>1]|0)|0;l=b[a+76>>1]|0;k=11;break};default:{j=0;l=0;k=11}}}while(0);do{if((k|0)==11){n=(l|0)<0?0-l|0:l;m=(j|0)<0?0-j|0:j;j=c[d+12>>2]|0;o=c[d+4>>2]|0;if((j|0)==0){l=o}else{l=((da(o,j)|0)+36|0)/72|0}p=c[d+16>>2]|0;q=d+8|0;j=c[q>>2]|0;if((p|0)!=0){j=((da(j,p)|0)+36|0)/72|0}if((o|0)==0){o=(j|0)<0?0-j|0:j;k=j^m;l=(m|0)<0?0-m|0:m;do{if((l|0)==0){r=2147483647}else{p=o>>16;q=o<<16;o=q+(l>>1)|0;if((p|0)==0){r=(o>>>0)/(l>>>0)|0;break}q=(o>>>0<q>>>0)+p|0;if(q>>>0<l>>>0){p=32;r=0}else{r=2147483647;break}while(1){r=r<<1;q=q<<1|o>>>31;if(q>>>0>=l>>>0){r=r|1;q=q-l|0}p=p+ -1|0;if((p|0)==0){break}else{o=o<<1}}}}while(0);o=(k|0)<0?0-r|0:r;c[h+20>>2]=o;c[h+16>>2]=o;p=o;q=j;l=_I(j,n,m)|0;k=44;break}r=(l|0)<0?0-l|0:l;o=l^n;p=(n|0)<0?0-n|0:n;do{if((p|0)==0){t=2147483647}else{s=r>>16;t=r<<16;r=t+(p>>1)|0;if((s|0)==0){t=(r>>>0)/(p>>>0)|0;break}u=(r>>>0<t>>>0)+s|0;if(u>>>0<p>>>0){s=32;t=0}else{t=2147483647;break}while(1){t=t<<1;u=u<<1|r>>>31;if(u>>>0>=p>>>0){t=t|1;u=u-p|0}s=s+ -1|0;if((s|0)==0){break}else{r=r<<1}}}}while(0);o=(o|0)<0?0-t|0:t;p=h+16|0;c[p>>2]=o;if((c[q>>2]|0)==0){c[h+20>>2]=o;p=o;q=_I(l,m,n)|0;k=44;break}q=(j|0)<0?0-j|0:j;n=j^m;m=(m|0)<0?0-m|0:m;do{if((m|0)==0){s=2147483647}else{r=q>>16;s=q<<16;q=s+(m>>1)|0;if((r|0)==0){s=(q>>>0)/(m>>>0)|0;break}t=(q>>>0<s>>>0)+r|0;if(t>>>0<m>>>0){r=32;s=0}else{s=2147483647;break}while(1){s=s<<1;t=t<<1|q>>>31;if(t>>>0>=m>>>0){s=s|1;t=t-m|0}r=r+ -1|0;if((r|0)==0){break}else{q=q<<1}}}}while(0);m=(n|0)<0?0-s|0:s;q=h+20|0;c[q>>2]=m;n=c[d>>2]|0;if((n|0)!=3){break}if((m|0)>(o|0)){c[q>>2]=o;p=o;q=j;k=44;break}else{c[p>>2]=m;p=m;o=m;q=j;k=44;break}}}while(0);if((k|0)==44){m=p;n=c[d>>2]|0;j=q}do{if((n|0)!=0){d=b[a+68>>1]|0;j=d&65535;k=d<<16>>16==0;if(k|(o|0)==65536){l=j}else{l=(o|0)<0;n=l?0-o|0:o;if((d&65535)<2049&n>>>0<1048577){n=((da(n,j)|0)+32768|0)>>>16}else{n=(((da(n&65535,j)|0)+32768|0)>>>16)+(da(n>>>16,j)|0)|0}l=l?0-n|0:n}if(k|(m|0)==65536){break}k=(m|0)<0;m=k?0-m|0:m;if((d&65535)<2049&m>>>0<1048577){d=((da(m,j)|0)+32768|0)>>>16}else{d=(((da(m&65535,j)|0)+32768|0)>>>16)+(da(m>>>16,j)|0)|0}j=k?0-d|0:d}}while(0);b[g>>1]=(l+32|0)>>>6;b[h+14>>1]=(j+32|0)>>>6;ZJ(a,g);i=f;return}function $J(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;if((a|0)==0){e=35;i=d;return e|0}if((c[a+8>>2]&2|0)==0){e=35;i=d;return e|0}if((b|0)<0){e=6;i=d;return e|0}if((c[a+28>>2]|0)<=(b|0)){e=6;i=d;return e|0}e=c[(c[(c[a+96>>2]|0)+20>>2]|0)+100>>2]|0;if((e|0)==0){YJ(a,b);e=0;i=d;return e|0}else{e=Bd[e&255](c[a+88>>2]|0,b)|0;i=d;return e|0}return 0}function aK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;if((a|0)==0){k=35;i=d;return k|0}if((b|0)==0){k=6;i=d;return k|0}h=c[b+4>>2]|0;if((h|0)<0){k=6;i=d;return k|0}g=c[b+8>>2]|0;if((g|0)<0){k=6;i=d;return k|0}j=c[b>>2]|0;if(j>>>0>4){k=6;i=d;return k|0}f=c[(c[a+96>>2]|0)+20>>2]|0;k=c[f+96>>2]|0;if((k|0)!=0){k=Bd[k&255](c[a+88>>2]|0,b)|0;i=d;return k|0}k=c[a+8>>2]|0;if((k&3|0)!=2){_J(a,b);k=0;i=d;return k|0}if((k&2|0)==0){k=35;i=d;return k|0}if((j|0)!=0){k=7;i=d;return k|0}j=c[b+12>>2]|0;if((j|0)==0){j=h}else{j=((da(j,h)|0)+36|0)/72|0}b=c[b+16>>2]|0;if((b|0)==0){b=g}else{b=((da(g,b)|0)+36|0)/72|0}h=(h|0)==0;k=(g|0)==0?j:b;g=(h?k:j)+32|0;b=(h?b:k)+32|0;h=c[a+28>>2]|0;if((h|0)<=0){k=23;i=d;return k|0}k=c[a+32>>2]|0;j=0;while(1){if(((c[k+(j<<4)+12>>2]|0)+32^b)>>>0<=63){if(((c[k+(j<<4)+8>>2]|0)+32^g)>>>0<=63){break}}j=j+1|0;if((j|0)>=(h|0)){a=23;e=25;break}}if((e|0)==25){i=d;return a|0}if(!((j|0)>-1&(h|0)>(j|0))){k=6;i=d;return k|0}e=c[f+100>>2]|0;if((e|0)==0){YJ(a,j);k=0;i=d;return k|0}else{k=Bd[e&255](c[a+88>>2]|0,j)|0;i=d;return k|0}return 0}function bK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=i;g=i;i=i+24|0;e=g;if((b|0)==0){h=d;b=d}else{h=(d|0)==0?b:d}d=(b|0)==0?1:b;h=(h|0)==0?1:h;c[g>>2]=0;c[e+4>>2]=d>>>0<65535?d<<6:4194240;c[e+8>>2]=h>>>0<65535?h<<6:4194240;c[e+12>>2]=0;c[e+16>>2]=0;b=aK(a,e)|0;i=f;return b|0}function cK(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;g=i;if((a|0)==0){m=35;i=g;return m|0}if((d|0)==0){m=6;i=g;return m|0}else if((d|0)==1970170211){d=c[a+40>>2]|0;if((d|0)==0){m=38;i=g;return m|0}j=(c[a+36>>2]|0)+ -1|0;if((j|0)<0){m=38;i=g;return m|0}j=d+(j<<2)|0;l=j;a:while(1){k=c[l>>2]|0;do{if((c[k+4>>2]|0)==1970170211){m=b[k+8>>1]|0;if(m<<16>>16==3){if((b[k+10>>1]|0)!=10){break}}else if(m<<16>>16==0){if((b[k+10>>1]|0)!=4){break}}else{break}if((l-d|0)<=60){e=12;break a}}}while(0);l=l+ -4|0;if(l>>>0<d>>>0){h=j;break}}if((e|0)==12){c[a+92>>2]=k;m=0;i=g;return m|0}while(1){j=c[h>>2]|0;if((c[j+4>>2]|0)==1970170211){if((h-d|0)<=60){break}}h=h+ -4|0;if(h>>>0<d>>>0){f=38;e=23;break}}if((e|0)==23){i=g;return f|0}c[a+92>>2]=j;m=0;i=g;return m|0}else{h=c[a+40>>2]|0;if((h|0)==0){m=38;i=g;return m|0}m=c[a+36>>2]|0;k=h+(m<<2)|0;if((m|0)>0){l=h}else{m=6;i=g;return m|0}while(1){j=c[l>>2]|0;if((c[j+4>>2]|0)==(d|0)){if((l-h|0)<=60){break}}l=l+4|0;if(l>>>0>=k>>>0){f=6;e=23;break}}if((e|0)==23){i=g;return f|0}c[a+92>>2]=j;m=0;i=g;return m|0}return 0}function dK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;e=i;h=i;i=i+8|0;if((a|0)==0){k=35;i=e;return k|0}f=a+40|0;g=c[f>>2]|0;if((g|0)==0){k=38;i=e;return k|0}do{if((b|0)!=0){j=c[b>>2]|0;if((j|0)==0){break}j=c[j+96>>2]|0;k=c[(c[j>>2]|0)+32>>2]|0;if((k|0)==0){break}j=Bd[k&255](j,206272)|0;if((j|0)==0){break}if((Bd[c[j>>2]&255](b,h)|0)!=0){break}if((c[h+4>>2]|0)==14){b=6}else{break}i=e;return b|0}}while(0);k=c[a+36>>2]|0;h=g+(k<<2)|0;if((k|0)<=0){k=6;i=e;return k|0}while(1){if((c[g>>2]|0)==(b|0)){if((g-(c[f>>2]|0)|0)<=60){break}}g=g+4|0;if(g>>>0>=h>>>0){b=6;d=14;break}}if((d|0)==14){i=e;return b|0}c[a+92>>2]=b;k=0;i=e;return k|0}function eK(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;g=i;if((b|0)==0|(e|0)==0){o=6;i=g;return o|0}k=c[e>>2]|0;if((k|0)==0){o=6;i=g;return o|0}j=c[k+100>>2]|0;n=c[b>>2]|0;do{if((n|0)>0){h=Bd[c[j+4>>2]&255](j,n)|0;o=(h|0)==0;m=o?64:0;if(o){h=0;break}bX(h|0,0,n|0)|0}else{h=0;m=n>>31&6}}while(0);a:do{if((m|0)==0){$W(h|0,e|0,12)|0;e=h+12|0;c[e>>2]=b;b=c[b+4>>2]|0;if((b|0)==0){l=10}else{m=Bd[b&255](h,d)|0;if((m|0)==0){l=10}}if((l|0)==10){l=k+36|0;d=c[l>>2]|0;m=d+1|0;k=k+40|0;b=c[k>>2]|0;b:do{if((m|d|0)<0){m=6}else{do{if((m|0)==0){if((b|0)==0){b=0;break}hd[c[j+8>>2]&127](j,b);b=0}else{if((d|0)>536870910){m=10;break b}do{if((d|0)==0){b=m<<2;n=Bd[c[j+4>>2]&255](j,b)|0;j=(n|0)==0;m=j?64:0;if(j){b=0;break}bX(n|0,0,b|0)|0;b=n}else{m=pd[c[j+12>>2]&63](j,d<<2,m<<2,b)|0;j=(m|0)==0;b=j?b:m;m=j?64:0}}while(0);if((m|0)!=0){break b}}}while(0);m=b+(d<<2)|0;a[m]=0;a[m+1|0]=0;a[m+2|0]=0;a[m+3|0]=0;c[k>>2]=b;m=c[l>>2]|0;c[l>>2]=m+1;c[b+(m<<2)>>2]=h;m=0;break a}}while(0);c[k>>2]=b}j=c[(c[h>>2]|0)+100>>2]|0;e=c[(c[e>>2]|0)+8>>2]|0;if((e|0)!=0){fd[e&511](h)}hd[c[j+8>>2]&127](j,h);h=0}}while(0);if((f|0)==0){o=m;i=g;return o|0}c[f>>2]=h;o=m;i=g;return o|0}function fK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;f=i;i=i+8|0;g=f;do{if((a|0)==0){g=0;f=0}else{h=c[a+92>>2]|0;if((h|0)==0){g=0;f=0;break}a=a+16|0;if((c[a>>2]|0)==0){g=0;f=0;break}c[f>>2]=b;j=h+12|0;do{b=Bd[c[(c[j>>2]|0)+16>>2]&255](h,g)|0;}while(b>>>0>=(c[a>>2]|0)>>>0);g=b;f=(b|0)==0?0:c[f>>2]|0}}while(0);if((d|0)==0){i=e;return f|0}c[d>>2]=g;i=e;return f|0}function gK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;if((a|0)==0){h=0;i=d;return h|0}if((c[a+8>>2]&512|0)==0){h=0;i=d;return h|0}e=a+128|0;f=(c[e>>2]|0)+40|0;h=c[f>>2]|0;if((h|0)==-2){h=0;i=d;return h|0}else if((h|0)==0){g=4}do{if((g|0)==4){h=c[a+96>>2]|0;g=c[(c[h>>2]|0)+32>>2]|0;if((g|0)==0){c[f>>2]=-2;h=0;i=d;return h|0}else{h=Bd[g&255](h,206256)|0;c[(c[e>>2]|0)+40>>2]=(h|0)!=0?h:-2;if((h|0)==0){a=0}else{break}i=d;return a|0}}}while(0);e=c[h+4>>2]|0;if((e|0)==0){h=0;i=d;return h|0}h=Bd[e&255](a,b)|0;i=d;return h|0}function hK(a){a=a|0;var b=0,d=0;b=i;do{if((a|0)==0){a=6}else{d=c[a>>2]|0;if((d|0)==0){a=6;break}if((c[d+96>>2]|0)==0){a=6;break}c[d+88>>2]=a;a=0}}while(0);i=b;return a|0}function iK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=i;if((a|0)==0){h=0;i=f;return h|0}h=c[a+156>>2]|0;a=(d|0)!=0;if(a){g=c[d>>2]|0;if((g|0)!=0){h=c[g+4>>2]|0}c[d>>2]=0}if((h|0)==0){h=0;i=f;return h|0}while(1){g=c[h+8>>2]|0;if((c[g+24>>2]|0)==(b|0)){break}h=c[h+4>>2]|0;if((h|0)==0){b=0;e=11;break}}if((e|0)==11){i=f;return b|0}if(!a){h=g;i=f;return h|0}c[d>>2]=h;h=g;i=f;return h|0}function jK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;g=b+72|0;j=c[g>>2]|0;a:do{if((j|0)==1869968492){m=a+156|0;h=m;m=c[m>>2]|0;l=c[a+164>>2]|0;f=8}else if((j|0)==1651078259){m=0;i=e;return m|0}else{h=a+156|0;if((a|0)==0){j=7;l=0;k=0}else{m=c[h>>2]|0;if((m|0)==0){m=0;l=0;f=8;break}while(1){l=c[m+8>>2]|0;if((c[l+24>>2]|0)==(j|0)){break}m=c[m+4>>2]|0;if((m|0)==0){m=0;l=0;break}}if((a|0)==0){j=7;k=0}else{f=8;break}}while(1){if((l|0)==0){break}j=pd[c[l+68>>2]&63](l,b,d,0)|0;if((j|0)!=0&(j&255|0)==19){l=0;k=1}else{d=1;b=l;break a}}i=e;return j|0}}while(0);b:do{if((f|0)==8){j=7;k=0;c:while(1){if((l|0)==0){break}j=pd[c[l+68>>2]&63](l,b,d,0)|0;if(!((j|0)!=0&(j&255|0)==19)){d=0;b=l;break b}k=c[g>>2]|0;m=c[((m|0)==0?h:m+4|0)>>2]|0;if((m|0)==0){m=0;l=0;k=1;continue}while(1){l=c[m+8>>2]|0;if((c[l+24>>2]|0)==(k|0)){k=1;continue c}m=c[m+4>>2]|0;if((m|0)==0){m=0;l=0;k=1;continue c}}}i=e;return j|0}}while(0);if((j|0)!=0|(k|0)==0|d|(b|0)==0){m=j;i=e;return m|0}d=c[h>>2]|0;if((d|0)==0){m=0;i=e;return m|0}while(1){if((c[d+8>>2]|0)==(b|0)){break}d=c[d+4>>2]|0;if((d|0)==0){j=0;f=27;break}}if((f|0)==27){i=e;return j|0}j=c[d>>2]|0;g=d+4|0;f=c[g>>2]|0;if((j|0)!=0){c[j+4>>2]=f;if((f|0)==0){c[a+160>>2]=j}else{c[f>>2]=j}c[d>>2]=0;c[g>>2]=c[h>>2];c[c[h>>2]>>2]=d;c[h>>2]=d}if((c[b+24>>2]|0)!=1869968492){m=0;i=e;return m|0}c[a+164>>2]=b;m=0;i=e;return m|0}function kK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;d=i;if((a|0)==0){n=33;i=d;return n|0}if((b|0)==0){n=6;i=d;return n|0}if((c[b+16>>2]|0)>131076){n=4;i=d;return n|0}e=a+24|0;k=c[e>>2]|0;do{if((k|0)==0){j=a}else{j=c[b+8>>2]|0;l=0;while(1){g=c[a+28+(l<<2)>>2]|0;f=c[g>>2]|0;l=l+1|0;if((Qc(c[f+8>>2]|0,j|0)|0)==0){h=9;break}if(l>>>0<k>>>0){}else{break}}do{if((h|0)==9){if((c[b+12>>2]|0)>(c[f+12>>2]|0)){lK(a,g)|0;k=c[e>>2]|0;break}else{n=5;i=d;return n|0}}}while(0);if(k>>>0>31){e=48}else{j=a;break}i=d;return e|0}}while(0);f=c[j>>2]|0;k=c[b+4>>2]|0;do{if((k|0)>0){g=Bd[c[f+4>>2]&255](f,k)|0;m=(g|0)==0;l=m?64:0;if(m){g=0;break}bX(g|0,0,k|0)|0}else{g=0;l=k>>31&6}}while(0);if((l|0)!=0){n=l;i=d;return n|0}c[g+4>>2]=a;c[g+8>>2]=f;c[g>>2]=b;k=c[b>>2]|0;a:do{if((k&2|0)==0){j=b;h=31}else{k=c[j>>2]|0;j=Bd[c[k+4>>2]&255](k,12)|0;if((j|0)==0){n=64;break}bX(j|0,0,12)|0;m=c[g>>2]|0;c[g+20>>2]=m;n=m+36|0;c[g+24>>2]=c[n>>2];do{if((c[n>>2]|0)==1869968492){l=m+56|0;n=c[(c[l>>2]|0)+4>>2]|0;if((n|0)==0){break}n=Bd[n&255](k,g+60|0)|0;if((n|0)==0){c[g+64>>2]=c[(c[l>>2]|0)+16>>2];c[g+68>>2]=c[m+40>>2];break}else{hd[c[k+8>>2]&127](k,j);break a}}}while(0);c[j+8>>2]=g;h=a+160|0;k=c[h>>2]|0;c[j+4>>2]=0;c[j>>2]=k;if((k|0)==0){c[a+156>>2]=j;c[h>>2]=j}else{c[k+4>>2]=j;c[h>>2]=j;j=c[a+156>>2]|0}b:do{if((j|0)==0){h=0}else{while(1){h=c[j+8>>2]|0;if((c[h+24>>2]|0)==1869968492){break b}j=c[j+4>>2]|0;if((j|0)==0){h=0;break}}}}while(0);c[a+164>>2]=h;j=c[g>>2]|0;k=c[j>>2]|0;h=31}}while(0);c:do{if((h|0)==31){if((k&4|0)==0){h=k}else{c[a+168>>2]=g;j=c[g>>2]|0;h=c[j>>2]|0}do{if((h&1|0)!=0){c[g+20>>2]=j;if((c[j>>2]&512|0)!=0){break}h=Bd[c[f+4>>2]&255](f,96)|0;if((h|0)==0){n=64;break c}bX(h|0,0,96)|0;c[h>>2]=f;c[g+36>>2]=h}}while(0);b=c[b+24>>2]|0;if((b|0)!=0){n=jd[b&511](g)|0;if((n|0)!=0){break}}n=c[e>>2]|0;c[e>>2]=n+1;c[a+28+(n<<2)>>2]=g;n=0;i=d;return n|0}}while(0);e=c[c[g>>2]>>2]|0;if((e&513|0)==1){mJ(c[g+36>>2]|0);e=c[c[g>>2]>>2]|0}do{if((e&2|0)!=0){a=c[g+20>>2]|0;if((c[a+36>>2]|0)!=1869968492){break}e=c[g+60>>2]|0;if((e|0)==0){break}fd[c[(c[a+56>>2]|0)+20>>2]&511](e)}}while(0);if((g|0)==0){i=d;return n|0}hd[c[f+8>>2]&127](f,g);i=d;return n|0}function lK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;d=i;if((a|0)==0){m=33;i=d;return m|0}if((b|0)==0){m=34;i=d;return m|0}j=a+24|0;h=c[j>>2]|0;k=a+28+(h<<2)|0;if((h|0)<=0){m=34;i=d;return m|0}e=a+28|0;while(1){g=e+4|0;if((c[e>>2]|0)==(b|0)){break}if(g>>>0<k>>>0){e=g}else{b=34;f=46;break}}if((f|0)==46){i=d;return b|0}f=h+ -1|0;c[j>>2]=f;f=a+28+(f<<2)|0;if(e>>>0<f>>>0){while(1){g=e+4|0;c[e>>2]=c[g>>2];if(g>>>0<f>>>0){e=g}else{break}}}c[f>>2]=0;g=b+8|0;e=c[g>>2]|0;f=c[b>>2]|0;a=b+4|0;j=c[a>>2]|0;h=c[b+16>>2]|0;if((h|0)!=0){fd[h&511](b)}do{if((j|0)!=0){h=j+168|0;if((c[h>>2]|0)!=(b|0)){break}c[h>>2]=0}}while(0);l=c[b>>2]|0;m=c[l>>2]|0;a:do{if((m&2|0)!=0){a=c[a>>2]|0;h=c[a>>2]|0;j=a+156|0;k=c[j>>2]|0;if((k|0)==0){break}while(1){if((c[k+8>>2]|0)==(b|0)){break}k=c[k+4>>2]|0;if((k|0)==0){break a}}l=c[b+20>>2]|0;do{if((c[l+36>>2]|0)==1869968492){m=c[b+60>>2]|0;if((m|0)==0){break}fd[c[(c[l+56>>2]|0)+20>>2]&511](m)}}while(0);m=c[k>>2]|0;l=c[k+4>>2]|0;if((m|0)==0){c[j>>2]=l}else{c[m+4>>2]=l}if((l|0)==0){c[a+160>>2]=m}else{c[l>>2]=m}if((k|0)!=0){hd[c[h+8>>2]&127](h,k)}b:do{if((a|0)==0){j=0}else{h=c[j>>2]|0;if((h|0)==0){j=0;break}while(1){j=c[h+8>>2]|0;if((c[j+24>>2]|0)==1869968492){break b}h=c[h+4>>2]|0;if((h|0)==0){j=0;break}}}}while(0);c[a+164>>2]=j;l=c[b>>2]|0;m=c[l>>2]|0}}while(0);do{if((m&1|0)!=0){a=c[g>>2]|0;g=b+24|0;j=c[g>>2]|0;if((j|0)!=0){h=a+8|0;while(1){k=c[j+4>>2]|0;UJ(a,c[j+8>>2]|0,b);if((j|0)!=0){hd[c[h>>2]&127](a,j)}if((k|0)==0){break}else{j=k}}l=c[b>>2]|0}c[g>>2]=0;c[b+28>>2]=0;if((c[l>>2]&512|0)!=0){break}mJ(c[b+36>>2]|0)}}while(0);f=c[f+28>>2]|0;if((f|0)!=0){fd[f&511](b)}hd[c[e+8>>2]&127](e,b);m=0;i=d;return m|0}function mK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;if((a|0)==0|(b|0)==0){f=0;i=d;return f|0}f=c[a+24>>2]|0;e=a+28+(f<<2)|0;if((f|0)<=0){f=0;i=d;return f|0}f=a+28|0;while(1){a=c[f>>2]|0;f=f+4|0;if((Qc(c[(c[a>>2]|0)+8>>2]|0,b|0)|0)==0){b=6;break}if(f>>>0<e>>>0){}else{a=0;b=6;break}}if((b|0)==6){i=d;return a|0}return 0}function nK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=i;if((a|0)==0|(b|0)==0){h=0;i=e;return h|0}h=c[a+24>>2]|0;f=a+28+(h<<2)|0;if((h|0)<=0){h=0;i=e;return h|0}h=a+28|0;while(1){g=c[h>>2]|0;a=c[g>>2]|0;h=h+4|0;if((Qc(c[a+8>>2]|0,b|0)|0)==0){break}if(h>>>0<f>>>0){}else{b=0;d=8;break}}if((d|0)==8){i=e;return b|0}if((g|0)==0){h=0;i=e;return h|0}h=c[a+20>>2]|0;i=e;return h|0}function oK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;if((a|0)==0){h=0;i=d;return h|0}e=c[(c[a>>2]|0)+32>>2]|0;do{if((e|0)!=0){g=Bd[e&255](a,b)|0;if((g|0)==0){break}i=d;return g|0}}while(0);f=c[a+4>>2]|0;h=c[f+24>>2]|0;e=f+28+(h<<2)|0;if((h|0)<=0){h=0;i=d;return h|0}f=f+28|0;a:while(1){h=c[f>>2]|0;do{if((h|0)!=(a|0)){g=c[(c[h>>2]|0)+32>>2]|0;if((g|0)==0){break}g=Bd[g&255](h,b)|0;if((g|0)!=0){a=10;break a}}}while(0);f=f+4|0;if(f>>>0>=e>>>0){g=0;a=10;break}}if((a|0)==10){i=d;return g|0}return 0}function pK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=i;if((a|0)==0){g=6;i=d;return g|0}f=a+4|0;e=Bd[c[f>>2]&255](a,200)|0;if((e|0)==0){g=64;i=d;return g|0}bX(e|0,0,200)|0;c[e>>2]=a;c[e+176>>2]=16384;g=Bd[c[f>>2]&255](a,16384)|0;f=(g|0)==0;if(f){c[e+172>>2]=0;hd[c[a+8>>2]&127](a,e);g=f?64:0;i=d;return g|0}else{bX(g|0,0,16384)|0;c[e+172>>2]=g;c[e+12>>2]=2;c[e+16>>2]=4;c[e+20>>2]=4;c[e+196>>2]=1;c[b>>2]=e;g=0;i=d;return g|0}return 0}function qK(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;if((a|0)==0){h=0;g=0;a=0}else{h=c[a+12>>2]|0;g=c[a+16>>2]|0;a=c[a+20>>2]|0}if((b|0)!=0){c[b>>2]=h}if((d|0)!=0){c[d>>2]=g}if((e|0)==0){i=f;return}c[e>>2]=a;i=f;return}function rK(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=i;if((a|0)==0){s=33;i=d;return s|0}r=a+196|0;s=(c[r>>2]|0)+ -1|0;c[r>>2]=s;if((s|0)!=0){s=0;i=d;return s|0}b=c[a>>2]|0;f=c[a+8>>2]|0;if((f|0)!=0){fd[f&511](a)}f=a+24|0;h=c[f>>2]|0;m=h;g=0;do{if((h|0)==0){h=0}else{h=(g|0)==0;j=206296+(g<<2)|0;k=0;while(1){l=c[a+28+(k<<2)>>2]|0;n=c[l>>2]|0;if(h){if((Qc(c[n+8>>2]|0,c[j>>2]|0)|0)==0){e=11}else{l=m}}else{e=11}do{if((e|0)==11){e=0;if((c[n>>2]&1|0)==0){l=m;break}l=l+24|0;n=c[l>>2]|0;if((n|0)==0){l=m;break}do{m=c[n+8>>2]|0;a:do{if((m|0)!=0){n=m+96|0;if((c[n>>2]|0)==0){break}s=m+128|0;r=(c[s>>2]|0)+60|0;c[r>>2]=(c[r>>2]|0)+ -1;if((c[(c[s>>2]|0)+60>>2]|0)!=0){break}o=c[n>>2]|0;n=c[o+8>>2]|0;p=o+24|0;s=c[p>>2]|0;if((s|0)==0){break}while(1){if((c[s+8>>2]|0)==(m|0)){break}s=c[s+4>>2]|0;if((s|0)==0){break a}}q=c[s>>2]|0;r=c[s+4>>2]|0;if((q|0)==0){c[p>>2]=r}else{c[q+4>>2]=r}if((r|0)==0){c[o+28>>2]=q}else{c[r>>2]=q}if((s|0)!=0){hd[c[n+8>>2]&127](n,s)}UJ(n,m,o)}}while(0);n=c[l>>2]|0;}while((n|0)!=0);l=c[f>>2]|0}}while(0);k=k+1|0;if(k>>>0<l>>>0){m=l}else{m=l;h=l;break}}}g=g+1|0;}while(g>>>0<2);if((m|0)!=0){do{lK(a,c[a+28+(m+ -1<<2)>>2]|0)|0;m=c[f>>2]|0;}while((m|0)!=0)}e=a+172|0;f=c[e>>2]|0;if((f|0)!=0){hd[c[b+8>>2]&127](b,f)}c[e>>2]=0;c[a+176>>2]=0;hd[c[b+8>>2]&127](b,a);s=0;i=d;return s|0}function sK(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;j=i;k=i;i=i+24|0;g=k;h=(c[(c[a>>2]|0)+96>>2]|0)+20|0;if((c[(c[h>>2]|0)+96>>2]|0)==0){d=0;i=j;return d|0}c[k>>2]=0;c[g+4>>2]=b;c[g+8>>2]=d;k=(e|0)==0?f:e;e=(k|0)==0;c[g+12>>2]=e?72:k;c[g+16>>2]=e?72:(f|0)==0?k:f;d=Bd[c[(c[h>>2]|0)+96>>2]&255](a,g)|0;i=j;return d|0}function tK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;f=i;i=i+24|0;g=f;h=(c[(c[a>>2]|0)+96>>2]|0)+20|0;if((c[(c[h>>2]|0)+96>>2]|0)==0){a=0;i=e;return a|0}c[f>>2]=0;c[g+4>>2]=b<<6;c[g+8>>2]=d<<6;c[g+12>>2]=0;c[g+16>>2]=0;a=Bd[c[(c[h>>2]|0)+96>>2]&255](a,g)|0;i=e;return a|0}function uK(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;g=i;l=i;i=i+8|0;y=l;t=i;i=i+8|0;s=t;o=i;i=i+8|0;p=o;k=i;i=i+8|0;j=k;m=i;i=i+8|0;n=m;q=i;i=i+8|0;v=q;r=i;i=i+8|0;w=r;u=i;i=i+8|0;x=u;if((d|0)==0|(e|0)==0){Z=6;i=g;return Z|0}h=c[e+16>>2]|0;z=c[e+20>>2]|0;if((b[d>>1]|0)<=0){Z=0;i=g;return Z|0}N=d+12|0;L=d+4|0;K=s+4|0;M=d+8|0;F=e+4|0;I=v+4|0;J=w+4|0;G=x+4|0;H=e+12|0;E=p+4|0;D=y+4|0;C=j+4|0;B=n+4|0;A=e+8|0;U=0;P=0;a:while(1){Z=b[(c[N>>2]|0)+(P<<1)>>1]|0;O=Z<<16>>16;if(Z<<16>>16<0){S=20;Q=29;break}R=c[L>>2]|0;Q=R+(O<<3)|0;V=R+(U<<3)|0;Z=c[V>>2]|0;V=c[V+4>>2]|0;X=t;c[X>>2]=Z;c[X+4>>2]=V;c[t>>2]=(Z<<h)-z;V=(V<<h)-z|0;c[K>>2]=V;Z=(c[R+(O<<3)>>2]<<h)-z|0;X=(c[R+(O<<3)+4>>2]<<h)-z|0;T=t;Y=c[T>>2]|0;T=c[T+4>>2]|0;S=l;c[S>>2]=Y;c[S+4>>2]=T;S=c[M>>2]|0;T=S+U|0;W=a[T]&3;if((W|0)==2){S=20;Q=29;break}else if((W|0)==0){if((a[S+O|0]&3)==1){c[t>>2]=Z;c[K>>2]=X;Q=R+(O+ -1<<3)|0}else{c[t>>2]=(Y+Z|0)/2|0;c[K>>2]=(V+X|0)/2|0}T=U+ -1|0;U=T;T=S+T|0}S=R+(U<<3)|0;R=Bd[c[e>>2]&255](s,f)|0;if((R|0)!=0){S=R;Q=29;break}b:do{if(S>>>0<Q>>>0){U=T;c:while(1){R=S+8|0;T=U+1|0;V=a[T]&3;if((V|0)==0){U=(c[R>>2]<<h)-z|0;c[l>>2]=U;S=(c[S+12>>2]<<h)-z|0;c[D>>2]=S;if(R>>>0<Q>>>0){V=R}else{Q=20;break}while(1){R=V+8|0;T=T+1|0;X=a[T]&3;W=(c[R>>2]<<h)-z|0;c[k>>2]=W;V=(c[V+12>>2]<<h)-z|0;c[C>>2]=V;if((X|0)==1){break}else if((X|0)!=0){S=20;Q=29;break a}c[m>>2]=(W+U|0)/2|0;c[B>>2]=(V+S|0)/2|0;S=sd[c[A>>2]&127](y,n,f)|0;if((S|0)!=0){Q=29;break a}S=k;U=c[S>>2]|0;S=c[S+4>>2]|0;Z=l;c[Z>>2]=U;c[Z+4>>2]=S;if(R>>>0<Q>>>0){S=S|0;V=R}else{Q=20;break c}}S=sd[c[A>>2]&127](y,j,f)|0;if((S|0)!=0){Q=29;break a}}else if((V|0)==1){c[o>>2]=(c[R>>2]<<h)-z;c[E>>2]=(c[S+12>>2]<<h)-z;S=Bd[c[F>>2]&255](p,f)|0;if((S|0)!=0){Q=29;break a}}else{if((S+16|0)>>>0>Q>>>0){S=20;Q=29;break a}if((a[U+2|0]&3)!=2){S=20;Q=29;break a}R=S+24|0;c[q>>2]=(c[S+8>>2]<<h)-z;c[I>>2]=(c[S+12>>2]<<h)-z;c[r>>2]=(c[S+16>>2]<<h)-z;c[J>>2]=(c[S+20>>2]<<h)-z;if(R>>>0>Q>>>0){Q=25;break}c[u>>2]=(c[R>>2]<<h)-z;c[G>>2]=(c[S+28>>2]<<h)-z;S=pd[c[H>>2]&63](v,w,x,f)|0;if((S|0)==0){T=U+3|0}else{Q=29;break a}}if(R>>>0<Q>>>0){S=R;U=T}else{Q=26;break b}}if((Q|0)==20){Q=0;S=sd[c[A>>2]&127](y,s,f)|0;break}else if((Q|0)==25){Q=0;S=pd[c[H>>2]&63](v,w,s,f)|0;break}}else{Q=26}}while(0);if((Q|0)==26){S=Bd[c[F>>2]&255](s,f)|0}if((S|0)!=0){Q=29;break}P=P+1|0;if((P|0)<(b[d>>1]|0)){U=O+1|0}else{S=0;Q=29;break}}if((Q|0)==29){i=g;return S|0}return 0}function vK(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;g=i;if((f|0)==0|(a|0)==0){m=6;i=g;return m|0}bX(f|0,0,20)|0;a:do{if((d|0)<0){e=6;h=10}else{k=(d|0)==0;do{if(k){m=0}else{if((d|0)>268435455){e=10;h=10;break a}j=d<<3;m=Bd[c[a+4>>2]&255](a,j)|0;l=(m|0)==0;if(l){m=0}else{bX(m|0,0,j|0)|0}if(l){j=f+4|0;c[j>>2]=m;e=64;break a}else{bX(m|0,0,j|0)|0;break}}}while(0);j=f+4|0;c[j>>2]=m;do{if(k){m=0;h=18}else{l=(d|0)>0;if(!l){k=d>>31&6;c[f+8>>2]=0;if((k|0)==0){break}else{e=k;break a}}m=Bd[c[a+4>>2]&255](a,d)|0;k=(m|0)==0;if(k){m=0}else{bX(m|0,0,d|0)|0}if(l&(k^1)){bX(m|0,0,d|0)|0;h=18;break}else{c[f+8>>2]=m;if(k){e=64;break a}else{break}}}}while(0);if((h|0)==18){c[f+8>>2]=m}b:do{if((e|0)<0){e=6}else{do{if((e|0)==0){m=0}else{if((e|0)>1073741823){e=10;break b}k=e<<1;m=Bd[c[a+4>>2]&255](a,k)|0;l=(m|0)==0;if(l){m=0}else{bX(m|0,0,k|0)|0}if(l){c[f+12>>2]=m;e=64;break a}else{bX(m|0,0,k|0)|0;break}}}while(0);c[f+12>>2]=m;b[f+2>>1]=d;b[f>>1]=e;m=f+16|0;c[m>>2]=c[m>>2]|1;m=0;i=g;return m|0}}while(0);c[f+12>>2]=0}}while(0);if((h|0)==10){j=f+4|0;c[j>>2]=0}h=f+16|0;c[h>>2]=c[h>>2]|1;h=c[j>>2]|0;if((h|0)!=0){hd[c[a+8>>2]&127](a,h)}c[j>>2]=0;h=f+8|0;d=c[h>>2]|0;if((d|0)!=0){hd[c[a+8>>2]&127](a,d)}c[h>>2]=0;h=c[f+12>>2]|0;if((h|0)!=0){hd[c[a+8>>2]&127](a,h)}bX(f|0,0,20)|0;m=e;i=g;return m|0}function wK(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;if((a|0)==0){e=33;i=f;return e|0}e=vK(c[a>>2]|0,b,d,e)|0;i=f;return e|0}function xK(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=i;if((a|0)==0|(d|0)==0){g=6;i=e;return g|0}g=a+2|0;f=b[g>>1]|0;if(f<<16>>16!=(b[d+2>>1]|0)){g=6;i=e;return g|0}if((b[a>>1]|0)!=(b[d>>1]|0)){g=6;i=e;return g|0}if((a|0)==(d|0)){g=0;i=e;return g|0}$W(c[d+4>>2]|0,c[a+4>>2]|0,f<<16>>16<<3|0)|0;$W(c[d+8>>2]|0,c[a+8>>2]|0,b[g>>1]|0)|0;$W(c[d+12>>2]|0,c[a+12>>2]|0,b[a>>1]<<1|0)|0;g=d+16|0;c[g>>2]=c[a+16>>2]&-2|c[g>>2]&1;g=0;i=e;return g|0}function yK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;if((a|0)==0){f=33;i=d;return f|0}a=c[a>>2]|0;if((a|0)==0|(b|0)==0){f=6;i=d;return f|0}if((c[b+16>>2]&1|0)!=0){e=b+4|0;f=c[e>>2]|0;if((f|0)!=0){hd[c[a+8>>2]&127](a,f)}c[e>>2]=0;e=b+8|0;f=c[e>>2]|0;if((f|0)!=0){hd[c[a+8>>2]&127](a,f)}c[e>>2]=0;e=b+12|0;f=c[e>>2]|0;if((f|0)!=0){hd[c[a+8>>2]&127](a,f)}c[e>>2]=0}bX(b|0,0,20)|0;f=0;i=d;return f|0}function zK(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;if((a|0)==0|(d|0)==0){i=e;return}h=b[a+2>>1]|0;do{if(h<<16>>16==0){l=0;g=0;h=0;j=0}else{f=c[a+4>>2]|0;a=f+(h<<16>>16<<3)|0;g=c[f>>2]|0;j=c[f+4>>2]|0;if(h<<16>>16<=1){l=g;h=j;break}k=f;f=f+8|0;l=g;h=j;while(1){m=c[f>>2]|0;g=(m|0)<(g|0)?m:g;l=(m|0)>(l|0)?m:l;k=c[k+12>>2]|0;j=(k|0)<(j|0)?k:j;h=(k|0)>(h|0)?k:h;k=f+8|0;if(k>>>0<a>>>0){m=f;f=k;k=m}else{break}}}}while(0);c[d>>2]=g;c[d+8>>2]=l;c[d+4>>2]=j;c[d+12>>2]=h;i=e;return}function AK(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,j=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,w=0,x=0,y=0,z=0;d=i;k=i;i=i+16|0;h=k;g=i;i=i+16|0;e=g;$W(g|0,206304,12)|0;if((a|0)==0){z=0;i=d;return z|0}if((b[a+2>>1]|0)<1){z=0;i=d;return z|0}j=b[a>>1]|0;if(j<<16>>16<=0){z=0;i=d;return z|0}p=c[a+12>>2]|0;l=c[a+4>>2]|0;n=p+(j<<16>>16<<1)|0;o=l;r=32768;j=0;a=0;s=-32768;q=32768;while(1){m=b[p>>1]|0;t=l+(m<<3)|0;if(t>>>0>=(o+16|0)>>>0){if(o>>>0>t>>>0){y=-32768;u=32768;x=-32768;v=32768}else{y=-32768;u=32768;x=-32768;v=32768;w=o;while(1){z=c[w>>2]|0;u=(z|0)<(u|0)?z:u;y=(z|0)>(y|0)?z:y;z=c[w+4>>2]|0;v=(z|0)<(v|0)?z:v;x=(z|0)>(x|0)?z:x;w=w+8|0;if(w>>>0>t>>>0){break}else{}}}w=(u|0)>=(r|0)|(u|0)==(y|0)|(v|0)==(x|0);r=w?r:u;j=w?j:o;a=w?a:t;s=w?s:x;q=w?q:v}p=p+2|0;if(p>>>0<n>>>0){o=l+(m+1<<3)|0}else{break}}if((r|0)==32768){z=0;i=d;return z|0}c[k>>2]=(q*3|0)+s>>2;c[h+4>>2]=s+q>>1;c[h+8>>2]=(s*3|0)+q>>2;l=j>>>0>a>>>0;k=0;do{a:do{if(!l){m=h+(k<<2)|0;o=c[m>>2]|0;p=0;r=0;q=32768;n=j;s=a;u=0;t=0;v=-32768;while(1){x=c[n+4>>2]|0;do{if((x|0)==(o|0)){f=16}else{w=c[s+4>>2]|0;if((w|0)==(o|0)){f=16;break}do{if(!((x|0)<(o|0)&(w|0)<(o|0))){if((x|0)>(o|0)&(w|0)>(o|0)){break}y=c[s>>2]|0;w=(_I((c[n>>2]|0)-y|0,o-w|0,x-w|0)|0)+y|0;y=(w|0)<(q|0);x=(w|0)>(v|0);p=y?s:p;r=y?n:r;q=y?w:q;u=x?s:u;t=x?n:t;v=x?w:v}}while(0);w=n+8|0;s=n}}while(0);if((f|0)==16){f=0;o=o+1|0;c[m>>2]=o;p=0;r=0;q=32768;w=j;s=a;u=0;t=0;v=-32768}if(w>>>0>a>>>0){break}else{n=w}}if((p|0)==0|(u|0)==0){break}m=c[p+4>>2]|0;n=c[r+4>>2]|0;do{if((m|0)<(n|0)){if((c[u+4>>2]|0)<=(c[t+4>>2]|0)){break}c[e+(k<<2)>>2]=0;break a}}while(0);do{if((m|0)>(n|0)){if((c[u+4>>2]|0)>=(c[t+4>>2]|0)){break}c[e+(k<<2)>>2]=1;break a}}while(0);c[e+(k<<2)>>2]=2}}while(0);k=k+1|0;}while((k|0)<3);g=c[g>>2]|0;f=e+4|0;do{if((g|0)!=2){if((g|0)==(c[f>>2]|0)){z=g;i=d;return z|0}if((g|0)!=(c[e+8>>2]|0)){break}i=d;return g|0}}while(0);g=c[f>>2]|0;do{if((g|0)!=2){if((g|0)!=(c[e+8>>2]|0)){break}i=d;return g|0}}while(0);z=0;i=d;return z|0}function BK(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;b=i;l=i;i=i+8|0;q=i;i=i+16|0;o=q;p=i;i=i+16|0;n=p;m=e+20|0;j=c[m>>2]|0;if((j|0)==0){j=(c[e+4>>2]|0)>>>0<f>>>0?85:0}else{s=(pd[j&63](e,f,0,0)|0)==0;j=s?0:85}if((j|0)!=0){s=j;i=b;return s|0}j=e+8|0;c[j>>2]=f;k=e+4|0;r=c[k>>2]|0;if(r>>>0<=f>>>0){s=85;i=b;return s|0}s=c[m>>2]|0;if((s|0)==0){r=r-f|0;r=r>>>0>16?16:r;$W(q|0,(c[e>>2]|0)+f|0,r|0)|0}else{r=pd[s&63](e,f,o,16)|0}c[j>>2]=r+f;if(r>>>0<=15){s=85;i=b;return s|0}r=(d[o+1|0]<<16|d[q]<<24|d[o+2|0]<<8|d[o+3|0])+f|0;c[h>>2]=r;s=d[o+5|0]<<16|d[o+4|0]<<24|d[o+6|0]<<8|d[o+7|0];h=s+f|0;if(((d[o+9|0]<<16|d[o+8|0]<<24|d[o+10|0]<<8|d[o+11|0])+r|0)!=(h|0)|(s|0)==0){s=2;i=b;return s|0}f=c[m>>2]|0;if((f|0)==0){f=(c[k>>2]|0)>>>0<h>>>0?85:0}else{s=(pd[f&63](e,h,0,0)|0)==0;f=s?0:85}if((f|0)!=0){s=f;i=b;return s|0}c[j>>2]=h;a[n+15|0]=(a[o+15|0]|0)+1<<24>>24;f=c[k>>2]|0;if(f>>>0<=h>>>0){s=85;i=b;return s|0}q=c[m>>2]|0;if((q|0)==0){f=f-h|0;f=f>>>0>16?16:f;$W(p|0,(c[e>>2]|0)+h|0,f|0)|0}else{f=pd[q&63](e,h,n,16)|0}p=f+h|0;c[j>>2]=p;if(f>>>0>15){q=1;f=1;r=0}else{s=85;i=b;return s|0}do{s=a[n+r|0]|0;f=s<<24>>24==0?f:0;q=s<<24>>24==(a[o+r|0]|0)?q:0;r=r+1|0;}while((r|0)<16);if((q|f|0)==0){s=2;i=b;return s|0}o=p+8|0;n=c[m>>2]|0;if((n|0)==0){n=(c[k>>2]|0)>>>0<o>>>0?85:0}else{s=(pd[n&63](e,o,0,0)|0)==0;n=s?0:85}if((n|0)==0){c[j>>2]=o}else{o=c[j>>2]|0}if((o+1|0)>>>0>=(c[k>>2]|0)>>>0){s=85;i=b;return s|0}n=c[m>>2]|0;do{if((n|0)==0){l=(c[e>>2]|0)+o|0;if((l|0)!=0){n=0;m=34;break}c[j>>2]=o+2;m=36}else{if((pd[n&63](e,o,l,2)|0)==2){n=c[m>>2]|0;o=c[j>>2]|0;m=34;break}else{s=85;i=b;return s|0}}}while(0);do{if((m|0)==34){s=(d[l]<<8&65535|d[l+1|0])&65535;c[j>>2]=o+2;h=s+h|0;if((n|0)==0){m=36;break}s=(pd[n&63](e,h,0,0)|0)==0;e=h;k=s?0:85}}while(0);if((m|0)==36){e=h;k=(c[k>>2]|0)>>>0<h>>>0?85:0}if((k|0)!=0){s=k;i=b;return s|0}c[j>>2]=e;c[g>>2]=e;s=0;i=b;return s|0}function CK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;g=a+8|0;f=c[g>>2]|0;h=c[a+4>>2]|0;if(h>>>0<=f>>>0){j=85;i=e;return j|0}j=c[a+20>>2]|0;if((j|0)==0){h=h-f|0;j=h>>>0>d>>>0?d:h;$W(b|0,(c[a>>2]|0)+f|0,j|0)|0;b=j}else{b=pd[j&63](a,f,b,d)|0}c[g>>2]=b+f;j=b>>>0<d>>>0?85:0;i=e;return j|0}function DK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;if((b|0)<0){f=85;i=d;return f|0}e=a+8|0;b=(c[e>>2]|0)+b|0;f=c[a+20>>2]|0;if((f|0)==0){a=(c[a+4>>2]|0)>>>0<b>>>0?85:0}else{f=(pd[f&63](a,b,0,0)|0)==0;a=f?0:85}if((a|0)!=0){f=a;i=d;return f|0}c[e>>2]=b;f=0;i=d;return f|0}function EK(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0;f=i;j=i;i=i+8|0;c[b>>2]=0;g=a+8|0;h=c[g>>2]|0;do{if((h+1|0)>>>0<(c[a+4>>2]|0)>>>0){k=c[a+20>>2]|0;if((k|0)==0){j=(c[a>>2]|0)+h|0;if((j|0)==0){j=0}else{e=6}}else{if((pd[k&63](a,h,j,2)|0)!=2){break}h=c[g>>2]|0;e=6}if((e|0)==6){j=(d[j]|0)<<8&65535|(d[j+1|0]|0)}c[g>>2]=h+2;k=j;i=f;return k|0}}while(0);c[b>>2]=85;k=0;i=f;return k|0}function FK(a,e,f,g,h,j,k){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var 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,y=0;l=i;o=i;i=i+8|0;n=i;i=i+8|0;a=c[a>>2]|0;p=e+20|0;q=c[p>>2]|0;if((q|0)==0){q=(c[e+4>>2]|0)>>>0<f>>>0?85:0}else{y=(pd[q&63](e,f,0,0)|0)==0;q=y?0:85}if((q|0)!=0){y=q;i=l;return y|0}q=e+8|0;c[q>>2]=f;r=e+4|0;if((f+1|0)>>>0>=(c[r>>2]|0)>>>0){y=85;i=l;return y|0}s=c[p>>2]|0;do{if((s|0)==0){t=(c[e>>2]|0)+f|0;if((t|0)!=0){s=f;m=11;break}u=f+2|0;c[q>>2]=u;s=1}else{if((pd[s&63](e,f,n,2)|0)==2){s=c[q>>2]|0;t=n;m=11;break}else{y=85;i=l;return y|0}}}while(0);if((m|0)==11){y=(((d[t]|0)<<8&65535|(d[t+1|0]|0))&65535)+1|0;u=s+2|0;c[q>>2]=u;s=y}t=1;while(1){v=c[r>>2]|0;if((u+3|0)>>>0>=v>>>0){j=85;m=80;break}w=c[p>>2]|0;if((w|0)==0){w=(c[e>>2]|0)+u|0;if((w|0)==0){x=u;u=0}else{m=20}}else{if((pd[w&63](e,u,o,4)|0)!=4){j=85;m=80;break}v=c[r>>2]|0;u=c[q>>2]|0;w=o;m=20}if((m|0)==20){m=0;x=u;u=(d[w+1|0]|0)<<16|(d[w]|0)<<24|(d[w+2|0]|0)<<8|(d[w+3|0]|0)}w=x+4|0;c[q>>2]=w;if((x+5|0)>>>0>=v>>>0){j=85;m=80;break}x=c[p>>2]|0;if((x|0)==0){x=(c[e>>2]|0)+w|0;if((x|0)==0){x=v;v=1}else{y=x;m=26}}else{if((pd[x&63](e,w,n,2)|0)!=2){j=85;m=80;break}v=c[r>>2]|0;w=c[q>>2]|0;y=n;m=26}if((m|0)==26){m=0;x=v;v=(((d[y]|0)<<8&65535|(d[y+1|0]|0))&65535)+1|0}y=w+2|0;c[q>>2]=y;if((w+3|0)>>>0>=x>>>0){j=85;m=80;break}w=c[p>>2]|0;if((w|0)==0){w=(c[e>>2]|0)+y|0;if((w|0)==0){w=0}else{m=32}}else{if((pd[w&63](e,y,n,2)|0)!=2){j=85;m=80;break}y=c[q>>2]|0;w=n;m=32}if((m|0)==32){m=0;w=((d[w]|0)<<8&65535|(d[w+1|0]|0))&65535}x=y+2|0;c[q>>2]=x;if((u|0)==(h|0)){m=34;break}if((t|0)>=(s|0)){j=1;m=80;break}u=x;t=t+1|0}if((m|0)==34){c[k>>2]=v;h=w+f|0;f=c[p>>2]|0;if((f|0)==0){f=(c[r>>2]|0)>>>0<h>>>0?85:0}else{y=(pd[f&63](e,h,0,0)|0)==0;f=y?0:85}if((f|0)!=0){y=f;i=l;return y|0}c[q>>2]=h;h=c[k>>2]|0;if((h|0)<0){y=6;i=l;return y|0}do{if((h|0)==0){h=0}else{if((h|0)>268435455){y=10;i=l;return y|0}s=h<<3;h=Bd[c[a+4>>2]&255](a,s)|0;f=(h|0)==0;if(f){h=0}else{bX(h|0,0,s|0)|0}if(f){y=64;i=l;return y|0}else{bX(h|0,0,s|0)|0;break}}}while(0);s=c[k>>2]|0;a:do{if((s|0)>0){f=0;while(1){s=c[q>>2]|0;if((s+1|0)>>>0>=(c[r>>2]|0)>>>0){break}t=c[p>>2]|0;if((t|0)==0){t=(c[e>>2]|0)+s|0;if((t|0)==0){t=0}else{m=51}}else{if((pd[t&63](e,s,n,2)|0)!=2){break}s=c[q>>2]|0;t=n;m=51}if((m|0)==51){m=0;t=(d[t]|0)<<8&65535|(d[t+1|0]|0)}c[q>>2]=s+2;b[h+(f<<3)>>1]=t;t=c[q>>2]|0;s=t+2|0;u=c[p>>2]|0;if((u|0)==0){u=(c[r>>2]|0)>>>0<s>>>0?85:0}else{y=(pd[u&63](e,s,0,0)|0)==0;u=y?0:85}if((u|0)!=0){break a}c[q>>2]=s;if((t+5|0)>>>0>=(c[r>>2]|0)>>>0){u=85;break a}u=c[p>>2]|0;do{if((u|0)==0){m=(c[e>>2]|0)+s|0;if((m|0)!=0){t=0;u=s;s=m;m=63;break}c[q>>2]=t+6;u=t+10|0;s=0;m=65}else{if((pd[u&63](e,s,o,4)|0)!=4){u=85;break a}t=c[p>>2]|0;u=c[q>>2]|0;s=o;m=63}}while(0);do{if((m|0)==63){m=0;s=(d[s+2|0]|0)<<8|(d[s+1|0]|0)<<16|(d[s+3|0]|0);c[q>>2]=u+4;u=u+8|0;if((t|0)==0){m=65;break}y=(pd[t&63](e,u,0,0)|0)==0;t=u;u=y?0:85}}while(0);if((m|0)==65){m=0;t=u;u=(c[r>>2]|0)>>>0<u>>>0?85:0}if((u|0)!=0){break a}c[q>>2]=t;c[h+(f<<3)+4>>2]=s;f=f+1|0;s=c[k>>2]|0;if((f|0)>=(s|0)){m=68;break a}}b[h+(f<<3)>>1]=0;u=85}else{m=68}}while(0);do{if((m|0)==68){pb(h|0,s|0,8,189);m=c[k>>2]|0;if((m|0)<0){u=6;break}if((m|0)==0){o=0}else{if((m|0)>536870911){u=10;break}m=m<<2;o=Bd[c[a+4>>2]&255](a,m)|0;n=(o|0)==0;if(n){o=0}else{bX(o|0,0,m|0)|0}if(n){u=64;break}bX(o|0,0,m|0)|0}if((c[k>>2]|0)>0){m=0;do{c[o+(m<<2)>>2]=(c[h+(m<<3)+4>>2]|0)+g;m=m+1|0;}while((m|0)<(c[k>>2]|0))}c[j>>2]=o;u=0}}while(0);if((h|0)==0){y=u;i=l;return y|0}hd[c[a+8>>2]&127](a,h);y=u;i=l;return y|0}else if((m|0)==80){i=l;return j|0}return 0}function GK(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0;f=i;j=i;i=i+8|0;c[b>>2]=0;g=a+8|0;h=c[g>>2]|0;do{if((h+3|0)>>>0<(c[a+4>>2]|0)>>>0){k=c[a+20>>2]|0;if((k|0)==0){j=(c[a>>2]|0)+h|0;if((j|0)==0){j=0}else{e=6}}else{if((pd[k&63](a,h,j,4)|0)!=4){break}h=c[g>>2]|0;e=6}if((e|0)==6){j=(d[j+1|0]|0)<<16|(d[j]|0)<<24|(d[j+2|0]|0)<<8|(d[j+3|0]|0)}c[g>>2]=h+4;k=j;i=f;return k|0}}while(0);c[b>>2]=85;k=0;i=f;return k|0}function HK(a,c){a=a|0;c=c|0;var d=0;d=i;a=b[a>>1]|0;c=b[c>>1]|0;if((a&65535)<(c&65535)){a=-1;i=d;return a|0}a=(a&65535)>(c&65535)|0;i=d;return a|0}function IK(a){a=a|0;i=i;return c[a+8>>2]|0}function JK(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;g=c[a+4>>2]|0;if(g>>>0<=b>>>0){h=85;i=f;return h|0}h=c[a+20>>2]|0;if((h|0)==0){g=g-b|0;h=g>>>0>e>>>0?e:g;$W(d|0,(c[a>>2]|0)+b|0,h|0)|0;d=h}else{d=pd[h&63](a,b,d,e)|0}c[a+8>>2]=d+b;h=d>>>0<e>>>0?85:0;i=f;return h|0}function KK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;f=a+8|0;g=c[f>>2]|0;h=c[a+4>>2]|0;if(g>>>0>=h>>>0){j=0;i=e;return j|0}j=c[a+20>>2]|0;if((j|0)==0){h=h-g|0;j=h>>>0>d>>>0?d:h;$W(b|0,(c[a>>2]|0)+g|0,j|0)|0;b=j}else{b=pd[j&63](a,g,b,d)|0}c[f>>2]=(c[f>>2]|0)+b;j=b;i=e;return j|0}function LK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;b=MK(a,b)|0;if((b|0)!=0){i=e;return b|0}f=a+32|0;c[d>>2]=c[f>>2];c[f>>2]=0;c[a+36>>2]=0;i=e;return b|0}function MK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;g=a+20|0;if((c[g>>2]|0)==0){e=a+8|0;f=c[e>>2]|0;h=c[a+4>>2]|0;if(f>>>0>=h>>>0|(h-f|0)>>>0<b>>>0){h=85;i=d;return h|0}g=c[a>>2]|0;c[a+32>>2]=g+f;h=f+b|0;c[a+36>>2]=g+h;c[e>>2]=h;h=0;i=d;return h|0}f=c[a+28>>2]|0;if((c[a+4>>2]|0)>>>0<b>>>0){h=85;i=d;return h|0}if((b|0)>0){e=Bd[c[f+4>>2]&255](f,b)|0;h=e;e=(e|0)==0?64:0}else{h=0;e=b>>31&6}c[a>>2]=h;if((e|0)!=0){h=e;i=d;return h|0}e=a+8|0;g=pd[c[g>>2]&63](a,c[e>>2]|0,h,b)|0;h=c[a>>2]|0;if(g>>>0<b>>>0){if((h|0)!=0){hd[c[f+8>>2]&127](f,h)}c[a>>2]=0;h=0;f=85}else{f=0}c[a+32>>2]=h;c[a+36>>2]=h+b;c[e>>2]=(c[e>>2]|0)+g;h=f;i=d;return h|0}function NK(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;do{if((a|0)!=0){if((c[a+20>>2]|0)==0){break}e=c[a+28>>2]|0;a=c[b>>2]|0;if((a|0)!=0){hd[c[e+8>>2]&127](e,a)}c[b>>2]=0}}while(0);c[b>>2]=0;i=d;return}function OK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;if((b|0)>0){b=Bd[c[a+4>>2]&255](a,b)|0;a=b;b=(b|0)==0?64:0}else{a=0;b=b>>31&6}c[d>>2]=b;i=e;return a|0}function PK(a){a=a|0;var b=0,d=0,e=0;b=i;if((c[a+20>>2]|0)!=0){e=c[a+28>>2]|0;d=c[a>>2]|0;if((d|0)!=0){hd[c[e+8>>2]&127](e,d)}c[a>>2]=0}c[a+32>>2]=0;c[a+36>>2]=0;i=b;return}function QK(b){b=b|0;var d=0,e=0,f=0;d=i;f=b+32|0;e=c[f>>2]|0;if(e>>>0>=(c[b+36>>2]|0)>>>0){f=0;i=d;return f|0}c[f>>2]=e+1;f=a[e]|0;i=d;return f|0}function RK(a){a=a|0;var b=0,e=0,f=0,g=0;b=i;e=a+32|0;f=c[e>>2]|0;g=f+1|0;if(g>>>0>=(c[a+36>>2]|0)>>>0){a=f;g=0;f=e;c[f>>2]=a;i=b;return g|0}a=f+2|0;g=(d[f]|0)<<8&65535|(d[g]|0);f=e;c[f>>2]=a;i=b;return g|0}function SK(a){a=a|0;var b=0,e=0,f=0,g=0;b=i;e=a+32|0;f=c[e>>2]|0;g=f+1|0;if(g>>>0>=(c[a+36>>2]|0)>>>0){a=f;g=0;f=e;c[f>>2]=a;i=b;return g|0}a=f+2|0;g=(d[g]|0)<<8&65535|(d[f]|0);f=e;c[f>>2]=a;i=b;return g|0}function TK(a){a=a|0;var b=0,e=0,f=0,g=0;b=i;e=a+32|0;f=c[e>>2]|0;g=f+3|0;if(g>>>0>=(c[a+36>>2]|0)>>>0){a=f;g=0;f=e;c[f>>2]=a;i=b;return g|0}a=f+4|0;g=(d[f+1|0]|0)<<16|(d[f]|0)<<24|(d[f+2|0]|0)<<8|(d[g]|0);f=e;c[f>>2]=a;i=b;return g|0}function UK(a){a=a|0;var b=0,e=0,f=0,g=0;b=i;e=a+32|0;f=c[e>>2]|0;g=f+3|0;if(g>>>0>=(c[a+36>>2]|0)>>>0){a=f;g=0;f=e;c[f>>2]=a;i=b;return g|0}a=f+4|0;g=(d[f+2|0]|0)<<16|(d[g]|0)<<24|(d[f+1|0]|0)<<8|(d[f]|0);f=e;c[f>>2]=a;i=b;return g|0}function VK(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;f=i;h=i;i=i+8|0;j=h;a[h]=0;c[d>>2]=0;k=c[b+20>>2]|0;e=b+8|0;g=c[e>>2]|0;do{if((k|0)==0){if(g>>>0>=(c[b+4>>2]|0)>>>0){h=7;break}d=a[(c[b>>2]|0)+g|0]|0;a[h]=d;h=6}else{if((pd[k&63](b,g,j,1)|0)!=1){h=7;break}d=a[h]|0;g=c[e>>2]|0;h=6}}while(0);if((h|0)==6){c[e>>2]=g+1;b=d;i=f;return b|0}else if((h|0)==7){c[d>>2]=85;b=0;i=f;return b|0}return 0}function WK(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0;f=i;j=i;i=i+8|0;c[b>>2]=0;g=a+8|0;h=c[g>>2]|0;do{if((h+1|0)>>>0<(c[a+4>>2]|0)>>>0){k=c[a+20>>2]|0;if((k|0)==0){j=(c[a>>2]|0)+h|0;if((j|0)==0){j=0}else{e=6}}else{if((pd[k&63](a,h,j,2)|0)!=2){break}h=c[g>>2]|0;e=6}if((e|0)==6){j=(d[j+1|0]|0)<<8&65535|(d[j]|0)}c[g>>2]=h+2;k=j;i=f;return k|0}}while(0);c[b>>2]=85;k=0;i=f;return k|0}function XK(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;g=i;k=i;i=i+8|0;c[e>>2]=0;h=b+8|0;j=c[h>>2]|0;do{if((j+2|0)>>>0<(c[b+4>>2]|0)>>>0){l=c[b+20>>2]|0;if((l|0)==0){k=(c[b>>2]|0)+j|0;if((k|0)==0){k=0}else{f=6}}else{if((pd[l&63](b,j,k,3)|0)!=3){break}j=c[h>>2]|0;f=6}if((f|0)==6){k=d[k+1|0]<<8|a[k]<<16|d[k+2|0]}c[h>>2]=j+3;l=k;i=g;return l|0}}while(0);c[e>>2]=85;l=0;i=g;return l|0}function YK(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0;f=i;j=i;i=i+8|0;c[b>>2]=0;g=a+8|0;h=c[g>>2]|0;do{if((h+3|0)>>>0<(c[a+4>>2]|0)>>>0){k=c[a+20>>2]|0;if((k|0)==0){j=(c[a>>2]|0)+h|0;if((j|0)==0){j=0}else{e=6}}else{if((pd[k&63](a,h,j,4)|0)!=4){break}h=c[g>>2]|0;e=6}if((e|0)==6){j=(d[j+2|0]|0)<<16|(d[j+3|0]|0)<<24|(d[j+1|0]|0)<<8|(d[j]|0)}c[g>>2]=h+4;k=j;i=f;return k|0}}while(0);c[b>>2]=85;k=0;i=f;return k|0}function ZK(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;l=i;if((g|0)==0|(f|0)==0){r=6;i=l;return r|0}k=f+32|0;j=f+36|0;n=0;a:while(1){q=c[k>>2]|0;b:while(1){p=a[g]|0;c:do{switch(p&255|0){case 9:case 8:{o=q+1|0;r=24;q=d[q]|0;m=18;break};case 18:case 19:{o=q+4|0;r=0;q=(d[q+2|0]|0)<<16|(d[q+3|0]|0)<<24|(d[q+1|0]|0)<<8|(d[q]|0);m=18;break};case 25:case 24:{r=d[g+1|0]|0;o=q+r|0;if(o>>>0>(c[j>>2]|0)>>>0){h=85;break a}if(p<<24>>24!=24){break c}$W(h+(e[g+2>>1]|0)|0,q|0,r|0)|0;break};case 22:case 23:{o=q+3|0;r=8;q=(d[q+1|0]|0)<<8|(d[q+2|0]|0)<<16|(d[q]|0);m=18;break};case 12:case 13:{o=q+2|0;r=16;q=((d[q]|0)<<8&65535|(d[q+1|0]|0))&65535;m=18;break};case 16:case 17:{o=q+4|0;r=0;q=(d[q+1|0]|0)<<16|(d[q]|0)<<24|(d[q+2|0]|0)<<8|(d[q+3|0]|0);m=18;break};case 14:case 15:{o=q+2|0;r=16;q=((d[q+1|0]|0)<<8&65535|(d[q]|0))&65535;m=18;break};case 20:case 21:{o=q+3|0;r=8;q=(d[q+1|0]|0)<<8|(d[q]|0)<<16|(d[q+2|0]|0);m=18;break};case 4:{break b};default:{m=17;break a}}}while(0);do{if((m|0)==18){m=0;if((p&1)!=0){q=q<<r>>r}r=h+(e[g+2>>1]|0)|0;p=d[g+1|0]|0;if((p|0)==1){a[r]=q;break}else if((p|0)==2){b[r>>1]=q;break}else if((p|0)==4){c[r>>2]=q;break}else{c[r>>2]=q;break}}}while(0);g=g+4|0;q=o}o=MK(f,e[g+2>>1]|0)|0;if((o|0)!=0){h=o;break}g=g+4|0;n=1}if((m|0)==17){c[k>>2]=q;h=0}if(n<<24>>24==0){r=h;i=l;return r|0}if((c[f+20>>2]|0)!=0){n=c[f+28>>2]|0;m=c[f>>2]|0;if((m|0)!=0){hd[c[n+8>>2]&127](n,m)}c[f>>2]=0}c[k>>2]=0;c[j>>2]=0;r=h;i=l;return r|0}function _K(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=i;d=a;a=c[d>>2]|0;d=c[d+4>>2]|0;if((a|0)==0){g=(d|0)>-1?d:0-d|0;i=b;return g|0}e=(a|0)>-1?a:0-a|0;if((d|0)==0){g=e;i=b;return g|0}e=((d|0)>-1?d:0-d|0)|e;f=(e|0)>65535;e=f?e>>16:e;f=f?16:0;if((e|0)>255){f=f|8;e=e>>8}if((e|0)>15){f=f+4|0;e=e>>4}if((e|0)>3){f=f+2|0;e=e>>2}f=((e|0)>1)+f|0;if((f|0)<28){g=27-f|0;d=d<<g;e=a<<g;a=g}else{e=f+ -27|0;d=d>>e;e=a>>e;a=27-f|0}if((e|0)<0){e=0-e|0;g=0-d|0}else{g=d}f=e<<1;if((g|0)<0){d=0;e=e-(g<<1)|0;f=g+f|0}else{d=0;e=(g<<1)+e|0;f=g-f|0}do{g=e>>d;if((f|0)<0){e=e-(f>>d)|0;f=f+g|0}else{e=(f>>d)+e|0;f=f-g|0}d=d+1|0;}while((d|0)<23);d=(e|0)>-1;e=d?e:0-e|0;f=e>>>16;e=e&65535;g=(e*17797|0)+(f*47593|0)|0;e=(e*47593|0)>>>16;h=g+e|0;f=(h>>>16)+(f*17797|0)|0;e=h>>>0<(g>>>0>=e>>>0?g:e)>>>0?f+65536|0:f;d=d?e:0-e|0;if((a|0)>0){h=d+(1<<a+ -1)>>a;i=b;return h|0}else{h=d<<0-a;i=b;return h|0}return 0}
7343 var dd=[$X,bQ];var ed=[aY,LM,xW,wW];var fd=[bY,Te,Se,tg,sg,Gg,Fg,Jg,Ig,Pg,Og,Sg,hi,WF,Oi,Pi,hj,ij,tj,sj,kj,jj,vj,wj,rm,Fj,Ej,Hj,Ij,Ql,Nj,Mj,Pj,Qj,dm,Vj,Uj,Xj,Yj,km,ak,Pm,Rm,ik,hk,jk,ok,nk,pk,vk,uk,Bk,Fk,Ek,Gk,Kk,Jk,Mk,Lk,Vk,Uk,Xk,$k,Wk,sl,rl,ul,tl,Hl,Gl,Cm,yn,zn,ln,An,Gn,Fn,Xn,Wn,Yp,Xp,fq,eq,sq,rq,uq,jt,kt,lt,mt,sr,rr,nt,ot,pt,qt,Cr,Br,Kr,Jr,Or,Nr,Rr,Qr,Wr,Vr,_r,Zr,bs,as,fs,es,ks,js,us,ts,zs,ys,Cs,Bs,Fs,Es,Js,Is,Ms,Ls,Ps,Os,Ss,Rs,Ws,Vs,$s,_s,Hu,Gu,Iu,iv,hv,Sv,lv,kv,ov,Tv,Uv,qv,sv,rv,Vv,Wv,xv,wv,zv,Dv,Cv,Gv,Fv,Jv,Iv,Kv,Wx,Vx,ey,dy,oy,ny,Iy,Uy,az,hz,pz,wz,Cz,Kz,Jz,Uz,Tz,bA,aA,iA,hA,pA,oA,zA,yA,DA,CA,GA,FA,PA,OA,UA,TA,ZA,YA,cB,bB,jB,iB,TC,SC,YC,XC,_C,ZC,aD,$C,dD,cD,eD,gD,HD,GD,ID,KD,yE,xE,BE,AE,EE,DE,HE,GE,JE,IE,ME,LE,PE,OE,SE,RE,VE,UE,YE,XE,_E,ZE,xF,yF,wG,xG,vG,yG,MG,NG,QG,PG,$G,_G,rH,qH,wH,vH,DH,HH,LH,KH,OH,TH,SH,$H,_H,cI,sI,uI,vI,NI,MI,tL,xL,QL,VL,cM,kM,mM,vM,xM,zM,AM,BM,MM,SM,UM,XM,_M,dN,hN,tN,dO,jP,IP,SP,UP,cQ,dQ,kQ,IQ,aR,dR,fR,mS,pS,rS,tS,dT,gT,iT,kT,yT,BT,DT,FT,WT,tU,MU,RU,eV,hV,jV,lV,sV,wV,nW,qW,oW,pW,rW,KW,JW,rL,IL,KL,IN,DN,vN,mO,rO,yO,vO,UQ,YR,wU,cW,iW,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY];var gd=[cY,Ph,Bi,cY];var hd=[dY,wg,zh,NF,Tg,Ug,Vg,Xg,Yg,Zg,_g,$g,ah,bh,ii,ji,ki,li,ch,eh,fh,gh,hh,mi,ni,oi,ih,qi,ri,si,ti,ui,vi,wi,kh,mh,nh,oh,ph,qh,Ei,Fi,Hi,th,wh,xh,QF,SF,Ki,Ih,Lh,Nh,Kj,Sj,_j,nm,gk,$y,fz,oz,uz,Bz,Hz,Rz,_z,gA,nA,uA,vL,AL,HM,FS,GS,HS,IS,JS,KS,LS,MS,NS,OS,oT,pT,qT,JT,KT,LT,MT,gU,kU,oU,LL,GN,fW,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY];var id=[eY,UN,$P,eY];var jd=[fY,vg,yg,zg,Ag,Bg,Cg,Dg,Eg,Sh,Uh,Vh,Wh,Qh,Rh,Yh,Zh,_h,ai,bi,ci,di,Mi,XF,Mh,lj,Tl,Ul,Vl,Il,Kl,Ll,Yl,Zl,qm,sm,tm,um,vm,wm,Ml,Nl,Ol,Pl,Rl,Wl,_l,$l,am,bm,cm,em,fm,gm,hm,im,jm,lm,mm,Om,ck,dk,Qm,Sm,fk,om,pm,kk,xm,ym,qk,Hm,wk,yk,Ak,Im,Jm,Km,zm,Am,Nk,Lm,al,cl,Mm,vl,xl,Al,Nm,Bm,Dm,Em,wq,xq,et,gt,ht,it,Ou,Ku,Mu,Ju,Pu,xy,yy,gy,zy,ry,qy,Vy,dC,eC,fC,gC,cC,bz,pC,aC,bC,qC,iz,hC,iC,jC,kC,qz,rC,sC,xz,lC,mC,Dz,tC,uC,Lz,vC,Qz,wC,Vz,xC,yC,zC,cA,AC,BC,CC,jA,DC,EC,FC,qA,nC,oC,AA,EA,QA,VA,_A,dB,lB,AD,BD,CD,DD,ED,hD,iD,jD,aE,LD,ND,$E,aF,bF,cF,dF,eF,fF,gF,hF,iF,jF,kF,nF,oF,lF,mF,pF,qF,rF,sF,tF,uF,dI,eI,fI,gI,hI,iI,jI,kI,lI,mI,nI,oI,pI,qI,rI,lM,CM,QM,YM,LN,MN,NN,sN,TN,XN,YN,eO,CP,JQ,$Q,eR,gR,lS,qS,sS,bT,ZS,cT,hT,jT,wT,xT,CT,ET,RT,PT,sU,dV,iV,kV,GV,HV,IV,JV,XV,VV,LW,zt,At,nu,pu,VR,WR,XR,nR,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY];var kd=[gY,uh];var ld=[hY,OF,PF,hY];var md=[iY,rh];var nd=[jY,yi];var od=[kY,Hg];var pd=[lY,Th,Kg,vq,VI,WL,gM,nM,oM,wM,GM,WM,fO,gO,mP,xP,JP,ZP,yP,KQ,LQ,OQ,PQ,YQ,hR,iR,uS,vS,$S,WS,lT,rT,GT,ST,XT,SU,mV,nV,TV,PV,NL,qN,eK,UR,dW,hW,lY,lY,lY,lY,lY,lY,lY,lY,lY,lY,lY,lY,lY,lY,lY,lY,lY,lY];var qd=[mY,sh];var rd=[nY,Xh];var sd=[oY,ug,zi,Ai,Ci,Oh,Di,oj,pj,mj,Xl,lk,rk,Ck,Hk,Sk,ol,Bl,wl,Fm,kD,OD,KG,LG,sH,UI,tK,$L,aM,hM,qM,rM,sM,tM,uM,FM,PM,RM,VM,bO,iO,nP,pP,qP,KP,MP,aQ,AP,eQ,gQ,iQ,lQ,mQ,vP,wP,NQ,XQ,iS,kS,dS,SS,TS,VS,tT,eU,iU,mU,qU,bV,cV,RV,sW,Ve,We,Ch,Bh,Eh,HN,uK,BR,wR,ER,FR,xR,yR,CR,DR,IR,JR,KR,LR,zS,eW,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY];var td=[pY,gi];var ud=[qY,Kh,zW,yW,kO,lO,pO,qO];var vd=[rY,Fh,Gh,rY];var wd=[sY,ft];var xd=[tY,fy,py,tY];var yd=[uY,Hh];var zd=[vY,Ah];var Ad=[wY,Dh];var Bd=[xY,xg,$h,ei,fi,Ji,Qi,gj,Sl,mk,sk,Dk,Ik,Tk,pl,Cl,Gm,Bn,Nu,lD,PD,wF,zG,tI,RI,SI,TI,sL,uL,wL,yL,BL,PL,RL,SL,TL,XL,YL,bM,dM,eM,iM,DM,NM,ZM,$M,aN,bN,cN,eN,fN,gN,iN,jN,VN,WN,SN,$N,cO,AO,BO,CO,DO,EO,FO,GO,HO,IO,JO,KO,LO,MO,NO,OO,PO,QO,RO,SO,TO,UO,VO,WO,XO,YO,ZO,_O,$O,aP,bP,cP,dP,eP,fP,gP,hP,iP,kP,lP,oP,rP,sP,tP,LP,NP,OP,PP,QP,RP,TP,VP,WP,XP,YP,_P,fQ,hQ,jQ,EP,zP,uP,FQ,HQ,VQ,WQ,bR,kR,lR,jS,nS,wS,yS,aT,XS,YS,_S,RS,US,eT,mT,uT,vT,sT,zT,HT,IT,TT,NT,OT,QT,UT,YT,ZT,$T,aU,bU,cU,dU,fU,hU,jU,lU,nU,pU,LU,NU,OU,PU,TU,UU,fV,pV,qV,rV,tV,uV,vV,xV,yV,WV,UV,SV,QV,yh,Dq,Xq,gr,cv,ly,my,HK,JL,lN,oN,wN,ZN,tQ,uQ,oR,rR,BS,AS,nT,aV,zV,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY];var Cd=[yY,fj,Gj,Oj,Wj,bk,vF,dL,eL,fL,gL,hL,iL,jL,kL,lL,UL,sK,fM,jM,EM,JM,KM,GP,HP,DP,nQ,FP,cR,jR,oS,xS,fT,AT,VT,rU,QU,gV,oV,rN,WU,ZU,$U,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY];var Dd=[zY,yH,QI,zY];var Ed=[AY,Wg,vh,AY];var Fd=[BY,xH,OI,PI,TM,BY,BY,BY];var Gd=[CY,Re,Rg,Gi,Ii,RF,TF,UF,VF,Li,Jh,Ni,nj,Jl,xj,Jj,Rj,Zj,ek,zk,zl,Gr,Sr,Xr,cs,gs,qs,vs,Gs,Ts,Xs,Yv,Zv,_v,$v,aw,bw,cw,dw,ew,fw,gw,hw,iw,jw,kw,lw,mw,nw,ow,pw,qw,rw,sw,tw,uw,vw,ww,xw,yw,zw,Aw,Bw,Cw,Dw,Ew,Fw,Gw,Hw,Iw,Jw,Kw,Lw,Mw,Nw,Ow,Pw,Qw,Rw,Sw,Tw,Uw,Vw,Ww,Xw,Yw,Zw,_w,$w,ax,bx,cx,dx,ex,fx,gx,hx,ix,jx,kx,lx,Wy,Yy,_y,cz,dz,ez,jz,lz,nz,rz,sz,tz,yz,zz,Az,Ez,Fz,Gz,Mz,Nz,Pz,Wz,Xz,Zz,dA,eA,fA,kA,lA,mA,rA,sA,tA,QD,IH,MH,PH,UH,aI,zL,pN,aO,hO,GQ,MQ,EN,FN,zN,jO,oO,pR,qR,sR,tR,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY];var Hd=[DY,EY];var Id=[FY,pi,xi,FY];var Jd=[GY,Ri,Si,Ti,Ui,Vi,Wi,Xi,Yi,Zi,_i,$i,aj,bj,cj,dj,Xy,Zy,Sy,_B,$B,kz,mz,Iz,Oz,Sz,Yz,$z,yM,IM,OM,tW,uW,xN,yN,vJ,RQ,MR,NR,OR,PR,QR,RR,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY];return{_saveSetjmp:YW,_memcmp:iX,_strncasecmp:XW,_strcat:cX,_free:BW,_main:_d,_realloc:CW,_i64Add:gX,_memmove:aX,_tolower:WW,_strlen:ZW,_memset:bX,_malloc:AW,_bitshift64Ashr:_W,_memcpy:$W,_strncpy:hX,_bitshift64Lshr:jX,_bitshift64Shl:dX,_i64Subtract:fX,_strcpy:eX,_testSetjmp:kX,runPostSets:VW,stackAlloc:Kd,stackSave:Ld,stackRestore:Md,setThrew:Nd,setTempRet0:Qd,setTempRet1:Rd,setTempRet2:Sd,setTempRet3:Td,setTempRet4:Ud,setTempRet5:Vd,setTempRet6:Wd,setTempRet7:Xd,setTempRet8:Yd,setTempRet9:Zd,dynCall_iiiiiiii:uX,dynCall_viiiii:vX,dynCall_vi:wX,dynCall_iiiidd:xX,dynCall_vii:yX,dynCall_iiiiiii:zX,dynCall_ii:AX,dynCall_viidd:BX,dynCall_viddii:CX,dynCall_viiddddddiiii:DX,dynCall_iiiiiiiiiiiidd:EX,dynCall_vidii:FX,dynCall_iiiii:GX,dynCall_iiiddddiii:HX,dynCall_viiiiiiiiiii:IX,dynCall_iiii:JX,dynCall_iiiddiiiiiiiiiii:KX,dynCall_viiiiii:LX,dynCall_viiiiiiiiiiiii:MX,dynCall_di:NX,dynCall_iiiiiiiiiii:OX,dynCall_viiiiiii:PX,dynCall_viiiiiiiii:QX,dynCall_viiiiiiiiii:RX,dynCall_iii:SX,dynCall_iiiiii:TX,dynCall_dii:UX,dynCall_viidddddd:VX,dynCall_iiiiiiiiii:WX,dynCall_viii:XX,dynCall_v:YX,dynCall_viid:ZX,dynCall_viiii:_X}})