Lines Matching refs:Hd
7313 >>2]|0;if((k|0)==0){break b}}p=l<<3;p=j+p|0;p=p+4|0;c[p>>2]=e;p=f;p=c[p>>2]|0;p=p+1|0;q=f;c[q>>2]=p;i=g;return}}while(0);q=Ge(d)|0;c[(c[b>>2]|0)+(l<<3)>>2]=q;q=c[b>>2]|0;p=l;p=p<<3;p=q+p|0;p=p+4|0;c[p>>2]=e;p=f;p=c[p>>2]|0;p=p+1|0;q=f;c[q>>2]=p;i=g;return}function Hf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;f=i;h=a[d]|0;if(h<<24>>24==0){j=0}else{j=0;g=d;while(1){j=(j*17|0)+(h&255)|0;g=g+1|0;h=a[g]|0;if(h<<24>>24==0){break}else{}}}g=c[b+4>>2]|0;h=(j>>>0)%(g>>>0)|0;b=c[b>>2]|0;j=c[b+(h<<3)>>2]|0;if((j|0)==0){j=0;i=f;return j|0}while(1){if((Qc(j|0,d|0)|0)==0){break}h=h+1|0;h=(h|0)==(g|0)?0:h;j=c[b+(h<<3)>>2]|0;if((j|0)==0){d=0;e=7;break}}if((e|0)==7){i=f;return d|0}j=c[b+(h<<3)+4>>2]|0;i=f;return j|0}function If(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;e=a+8|0;c[e>>2]=0;c[e+4>>2]=0;c[a>>2]=6;f=FW(20)|0;rt(f,b);c[e>>2]=f;i=d;return a|0}function Jf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;e=a+8|0;c[e>>2]=0;c[e+4>>2]=0;c[a>>2]=7;f=FW(24)|0;Qu(f,b);c[e>>2]=f;i=d;return a|0}function Kf(a,b){a=a|0;b=b|0;var d=0;d=a+8|0;c[d+4>>2]=0;c[a>>2]=7;c[d>>2]=b;b=b+20|0;c[b>>2]=(c[b>>2]|0)+1;i=i;return a|0}function Lf(a,b){a=a|0;b=b|0;var d=0;d=a+8|0;c[d+4>>2]=0;c[a>>2]=8;c[d>>2]=b;i=i;return a|0}function Mf(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;$W(b|0,a|0,16)|0;switch(c[a>>2]|0){case 3:{e=c[a+8>>2]|0;a=FW(32)|0;ie(a,e);c[b+8>>2]=a;i=d;return b|0};case 10:{c[b+8>>2]=Ge(c[a+8>>2]|0)|0;i=d;return b|0};case 4:{c[b+8>>2]=Ge(c[a+8>>2]|0)|0;i=d;return b|0};case 6:{e=(c[a+8>>2]|0)+16|0;c[e>>2]=(c[e>>2]|0)+1;i=d;return b|0};case 8:{e=(c[a+8>>2]|0)+4|0;c[e>>2]=(c[e>>2]|0)+1;i=d;return b|0};case 7:{e=(c[a+8>>2]|0)+20|0;c[e>>2]=(c[e>>2]|0)+1;i=d;return b|0};default:{i=d;return b|0}}return 0}function Nf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;if(!((c[a>>2]|0)!=9|(b|0)==0)){a=a+8|0;a=_m(b,c[a>>2]|0,c[a+4>>2]|0,d,e)|0;i=f;return a|0}$W(d|0,a|0,16)|0;switch(c[a>>2]|0){case 10:{c[d+8>>2]=Ge(c[a+8>>2]|0)|0;a=d;i=f;return a|0};case 3:{b=c[a+8>>2]|0;a=FW(32)|0;ie(a,b);c[d+8>>2]=a;a=d;i=f;return a|0};case 6:{a=(c[a+8>>2]|0)+16|0;c[a>>2]=(c[a>>2]|0)+1;a=d;i=f;return a|0};case 4:{c[d+8>>2]=Ge(c[a+8>>2]|0)|0;a=d;i=f;return a|0};case 7:{a=(c[a+8>>2]|0)+20|0;c[a>>2]=(c[a>>2]|0)+1;a=d;i=f;return a|0};case 8:{a=(c[a+8>>2]|0)+4|0;c[a>>2]=(c[a>>2]|0)+1;a=d;i=f;return a|0};default:{a=d;i=f;return a|0}}return 0}function Of(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;a:do{switch(c[a>>2]|0){case 6:{d=a+8|0;f=(c[d>>2]|0)+16|0;e=(c[f>>2]|0)+ -1|0;c[f>>2]=e;if((e|0)!=0){break a}d=c[d>>2]|0;if((d|0)==0){break a}st(d);HW(d);break};case 3:{d=c[a+8>>2]|0;if((d|0)==0){break a}ke(d);HW(d);break};case 7:{d=a+8|0;e=(c[d>>2]|0)+20|0;f=(c[e>>2]|0)+ -1|0;c[e>>2]=f;if((f|0)!=0){break a}d=c[d>>2]|0;if((d|0)==0){break a}Su(d);HW(d);break};case 10:{Fe(c[a+8>>2]|0);break};case 8:{d=a+8|0;e=(c[d>>2]|0)+4|0;f=(c[e>>2]|0)+ -1|0;c[e>>2]=f;if((f|0)!=0){break a}d=c[d>>2]|0;if((d|0)==0){break a}fd[c[(c[d>>2]|0)+4>>2]&511](d);break};case 4:{Fe(c[a+8>>2]|0);break};default:{}}}while(0);c[a>>2]=13;i=b;return}function Pf(a){a=a|0;i=i;return c[32256+(c[a>>2]<<2)>>2]|0}function Qf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=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;e=i;z=i;i=i+8|0;y=z;x=i;i=i+8|0;w=x;n=i;i=i+8|0;o=n;q=i;i=i+8|0;r=q;g=i;i=i+8|0;j=g;p=i;i=i+8|0;s=p;l=i;i=i+8|0;m=l;u=i;i=i+8|0;t=u;A=i;i=i+8|0;v=i;i=i+8|0;B=i;i=i+16|0;f=B;c[B>>2]=13;B=f+8|0;c[B>>2]=0;c[B+4>>2]=0;switch(c[b>>2]|0){case 0:{_c(((a[b+8|0]&1)!=0?32320:32328)|0,d|0)|0;i=e;return};case 2:{B=A;h[k>>3]=+h[b+8>>3];c[B>>2]=c[k>>2];c[B+4>>2]=c[k+4>>2];Gc(d|0,32344,A|0)|0;i=e;return};case 3:{sc(40,d|0)|0;B=c[b+8>>2]|0;Rb(c[B+28>>2]|0,1,c[B+24>>2]|0,d|0)|0;sc(41,d|0)|0;i=e;return};case 1:{c[v>>2]=c[b+8>>2];Gc(d|0,32336,v|0)|0;i=e;return};case 6:{sc(91,d|0)|0;g=c[b>>2]|0;if((g|0)!=6){A=g;B=l;c[B>>2]=A;B=m+4|0;c[B>>2]=6;B=32448;Qe(0,B,m);tc()}n=b+8|0;g=0;while(1){if((g|0)>=(c[(c[n>>2]|0)+12>>2]|0)){b=16;break}if((g|0)>0){sc(32,d|0)|0;j=c[b>>2]|0;if((j|0)!=6){b=14;break}}vt(c[n>>2]|0,g,f)|0;Qf(f,d);Of(f);j=c[b>>2]|0;if((j|0)==6){g=g+1|0}else{b=10;break}}if((b|0)==10){B=l;c[B>>2]=j;B=m+4|0;c[B>>2]=6;B=32448;Qe(0,B,m);tc()}else if((b|0)==14){c[p>>2]=j;c[s+4>>2]=6;Qe(0,32448,s);tc()}else if((b|0)==16){sc(93,d|0)|0;i=e;return}break};case 5:{Rb(32360,4,1,d|0)|0;i=e;return};case 4:{c[u>>2]=c[b+8>>2];Gc(d|0,32352,t|0)|0;i=e;return};case 7:{Rb(32368,2,1,d|0)|0;l=c[b>>2]|0;if((l|0)!=7){A=l;B=g;c[B>>2]=A;B=j+4|0;c[B>>2]=7;B=32448;Qe(0,B,j);tc()}l=b+8|0;m=0;while(1){p=c[l>>2]|0;if((m|0)>=(c[p+16>>2]|0)){b=24;break}c[q>>2]=$u(p,m)|0;Gc(d|0,32376,r|0)|0;p=c[b>>2]|0;if((p|0)!=7){b=22;break}bv(c[l>>2]|0,m,f)|0;Qf(f,d);Of(f);p=c[b>>2]|0;if((p|0)==7){m=m+1|0}else{b=19;break}}if((b|0)==19){B=g;c[B>>2]=p;B=j+4|0;c[B>>2]=7;B=32448;Qe(0,B,j);tc()}else if((b|0)==22){c[n>>2]=p;c[o+4>>2]=7;Qe(0,32448,o);tc()}else if((b|0)==24){Rb(32384,3,1,d|0)|0;i=e;return}break};case 8:{Rb(32392,8,1,d|0)|0;i=e;return};case 11:{Rb(32416,7,1,d|0)|0;i=e;return};case 10:{_c(c[b+8>>2]|0,d|0)|0;i=e;return};case 12:{Rb(32424,5,1,d|0)|0;i=e;return};case 13:{Rb(32432,6,1,d|0)|0;i=e;return};case 9:{A=b+8|0;B=c[A+4>>2]|0;c[x>>2]=c[A>>2];c[w+4>>2]=B;Gc(d|0,32408,w|0)|0;i=e;return};case 14:{c[z>>2]=c[b+8>>2];Gc(d|0,32440,y|0)|0;i=e;return};default:{i=e;return}}}function Rf(a){a=a|0;i=i;return}function Sf(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;l=i;q=i;i=i+8|0;j=q;o=i;i=i+16|0;p=o;t=i;i=i+80|0;c[o>>2]=13;m=p+8|0;c[m>>2]=0;n=m+4|0;c[n>>2]=0;r=b+52|0;a[r]=0;k=b+56|0;c[k>>2]=0;s=b+4|0;c[s>>2]=0;h=b+8|0;c[h>>2]=0;c[b+28>>2]=0;c[b+24>>2]=0;c[b+36>>2]=0;c[b+40>>2]=0;c[b+44>>2]=0;c[b+64>>2]=-1;c[b+32>>2]=0;c[b+48>>2]=0;c[b>>2]=d;c[b+12>>2]=g;if((Nb(c[d+28>>2]|0,t|0)|0)==0){t=c[t+36>>2]|0}else{t=0}d=yc(c[(c[b>>2]|0)+28>>2]|0,32632)|0;c[s>>2]=d;if((d|0)==0){g=Pc()|0;c[b+60>>2]=c[g>>2];d=c[(c[b>>2]|0)+28>>2]|0;g=Xc(c[g>>2]|0)|0;c[q>>2]=d;c[j+4>>2]=g;Qe(-1,32640,j);c[k>>2]=1;i=l;return}else{c[m>>2]=0;c[n>>2]=0;c[o>>2]=5;g=FW(320)|0;Dj(g,d,0,0,t,p);c[h>>2]=g;a[r]=(Tf(b,e,f)|0)&1;i=l;return}}function Tf(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;f=i;i=i+8|0;l=i;i=i+8|0;j=i;i=i+8|0;k=i;i=i+8|0;h=b+8|0;m=c[h>>2]|0;Gd[c[(c[m>>2]|0)+52>>2]&255](m,0,-1);m=c[h>>2]|0;if((jd[c[(c[m>>2]|0)+48>>2]&511](m)|0)<0){Qe(-1,32672,j);m=0;i=g;return m|0}m=c[h>>2]|0;fd[c[(c[m>>2]|0)+12>>2]&511](m);Vf(b);a[k]=0;m=FW(128)|0;n=c[h>>2]|0;j=Wf(b)|0;an(m,n,j,Xf(b)|0,k,0);j=b+28|0;c[j>>2]=m;if((a[m+28|0]&1)==0){Qe(-1,32712,l);c[b+56>>2]=c[(c[j>>2]|0)+32>>2];n=0;i=g;return n|0}if(!(Yf(b,d,e)|0)){c[b+56>>2]=4;n=0;i=g;return n|0}l=FW(184)|0;Zt(l,c[j>>2]|0);d=b+36|0;c[d>>2]=l;if((l|0)==0){n=1;i=g;return n|0}if((a[l+164|0]&1)!=0){n=1;i=g;return n|0}if((a[k]&1)==0){$t(l);HW(l);k=c[j>>2]|0;if((k|0)!=0){en(k);HW(k)}n=FW(128)|0;an(n,c[h>>2]|0,0,0,0,1);c[j>>2]=n;l=FW(184)|0;Zt(l,n);c[d>>2]=l}if((l|0)==0){n=1;i=g;return n|0}if((a[l+164|0]&1)!=0){n=1;i=g;return n|0}Qe(-1,32744,f);c[b+56>>2]=2;n=0;i=g;return n|0}function Uf(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=b+52|0;a[j]=0;c[b+56>>2]=0;c[b>>2]=0;c[b+4>>2]=0;k=b+8|0;c[k>>2]=0;c[b+28>>2]=0;c[b+24>>2]=0;c[b+36>>2]=0;c[b+40>>2]=0;c[b+44>>2]=0;c[b+64>>2]=-1;c[b+32>>2]=0;c[b+48>>2]=0;c[b+12>>2]=g;if((jd[c[(c[d>>2]|0)+100>>2]&511](d)|0)==0){l=0;g=b;c[g>>2]=l;g=k;c[g>>2]=d;d=Tf(b,e,f)|0;d=d&1;g=j;a[g]=d;i=h;return}g=jd[c[(c[d>>2]|0)+100>>2]&511](d)|0;l=FW(32)|0;ie(l,g);g=b;c[g>>2]=l;g=k;c[g>>2]=d;g=Tf(b,e,f)|0;g=g&1;l=j;a[l]=g;i=h;return}function Vf(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;d=i;g=i;i=i+8|0;j=g;e=i;i=i+8|0;l=i;i=i+8|0;m=i;i=i+1032|0;n=i;i=i+8|0;f=b+16|0;c[f>>2]=0;h=b+20|0;c[h>>2]=0;b=b+8|0;o=0;do{p=c[b>>2]|0;a[m+o|0]=jd[c[(c[p>>2]|0)+20>>2]&511](p)|0;o=o+1|0;}while((o|0)<1024);a[m+1024|0]=0;o=0;while(1){p=o+1|0;if((vc(m+o|0,32776,5)|0)==0){k=6;break}if((p|0)<1019){o=p}else{break}}do{if((k|0)==6){if((o|0)>1018){break}k=c[b>>2]|0;hdhd[c[(c[a>>2]|0)+16>>2]&127](a,b)}if(d){g=1;i=f;return g|0}b=0;g=0;do{d=jd[c[(c[a>>2]|0)+12>>2]&511](a)|0;if((d|0)==0){break}g=Bd[c[(c[a>>2]|0)+20>>2]&255](a,d)|0;hd[c[(c[a>>2]|0)+16>>2]&127](a,d);b=b+1|0;}while((b|0)<3&(g^1));if(g){g=1;i=f;return g|0}Qe(-1,34056,e);g=0;i=f;return g|0}function rg(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,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,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;Oa=c[e>>2]|0;if((Oa|0)!=7){c[Ma>>2]=Oa;c[Na+4>>2]=7;Qe(0,34440,Na);tc()}Yu(c[fa>>2]|0,34184,f,0)|0;if((c[M>>2]|0)==14){Ya=c[O>>2]|0;Of(f);c[Pa>>2]=0;c[M>>2]=1;c[O>>2]=Ya}Ma=c[(c[La>>2]|0)+28>>2]|0;La=c[Ma+40>>2]|0;if((La|0)!=7){c[Ga>>2]=La;c[Ja+4>>2]=7;Qe(0,34440,Ja);tc()}Yu(c[Ma+48>>2]|0,34192,n,0)|0;a:do{if((c[Fa>>2]|0)==1){if((c[Ha>>2]|0)!=1){o=85;break}if((c[J>>2]|0)!=3){o=85;break}if((c[(c[K>>2]|0)+24>>2]|0)!=32){o=85;break}if((c[G>>2]|0)!=3){o=85;break}if((c[(c[D>>2]|0)+24>>2]|0)!=32){o=85;break}if((c[M>>2]|0)!=1){o=85;break}Ha=c[Ka>>2]|0;Fa=b+36|0;c[Fa>>2]=Ha;Ia=c[Ea>>2]|0;Ea=b+40|0;c[Ea>>2]=Ia;Ga=b+48|0;c[Ga>>2]=0;do{if((Ia|0)==2){o=26}else{if((c[Ca>>2]|0)!=1){o=26;break}c[b+32>>2]=(c[Da>>2]|0)/8|0}}while(0);if((o|0)==26){c[b+32>>2]=5}Ca=b+44|0;a[Ca]=1;do{if((Ha|0)==4&(Ia|0)==4){Da=c[e>>2]|0;if((Da|0)!=7){c[Ba>>2]=Da;c[Aa+4>>2]=7;Qe(0,34440,Aa);tc()}Yu(c[fa>>2]|0,34200,_,0)|0;Aa=c[e>>2]|0;if((Aa|0)!=7){c[za>>2]=Aa;c[ya+4>>2]=7;Qe(0,34440,ya);tc()}Yu(c[fa>>2]|0,34208,Y,0)|0;ya=c[e>>2]|0;if((ya|0)!=7){c[qa>>2]=ya;c[va+4>>2]=7;Qe(0,34440,va);tc()}Yu(c[fa>>2]|0,34216,W,0)|0;do{if((c[ra>>2]|0)==7){if((c[sa>>2]|0)!=4){break}if((c[ta>>2]|0)!=4){break}qa=c[xa>>2]|0;if((Qc(qa|0,c[ua>>2]|0)|0)!=0){break}if((c[(Yu(c[wa>>2]|0,qa,Z,0)|0)>>2]|0)==7){qa=c[la>>2]|0;if((qa|0)!=7){c[oa>>2]=qa;c[ma+4>>2]=7;Qe(0,34440,ma);tc()}Yu(c[ga>>2]|0,34224,V,0)|0;do{if((c[na>>2]|0)==4){ma=c[pa>>2]|0;if((Qc(ma|0,34232)|0)==0){c[Fa>>2]=2;c[Ea>>2]=3;ca=c[la>>2]|0;if((ca|0)!=7){c[ha>>2]=ca;c[ia+4>>2]=7;Qe(0,34440,ia);tc()}do{if((c[(Yu(c[ga>>2]|0,34160,X,0)|0)>>2]|0)==1){ca=c[ea>>2]|0;if((ca|0)==1){c[b+32>>2]=c[$>>2];break}else{c[ba>>2]=ca;c[aa+4>>2]=1;Qe(0,34440,aa);tc()}}}while(0);Of(X);break}if((Qc(ma|0,34240)|0)!=0){break}c[Fa>>2]=2;c[Ea>>2]=3;c[Ga>>2]=1;aa=c[la>>2]|0;if((aa|0)!=7){c[ka>>2]=aa;c[ja+4>>2]=7;Qe(0,34440,ja);tc()}do{if((c[(Yu(c[ga>>2]|0,34160,X,0)|0)>>2]|0)==1){aa=c[ea>>2]|0;if((aa|0)==1){c[b+32>>2]=c[$>>2];break}else{c[da>>2]=aa;c[ca+4>>2]=1;Qe(0,34440,ca);tc()}}}while(0);Of(X)}}while(0);Of(V)}Of(Z)}}while(0);Of(W);Of(Y);Of(_);V=c[e>>2]|0;if((V|0)!=7){c[S>>2]=V;c[T+4>>2]=7;Qe(0,34440,T);tc()}do{if((c[(Yu(c[fa>>2]|0,34248,P,0)|0)>>2]|0)==0){R=c[R>>2]|0;if((R|0)==0){a[Ca]=a[U]&1;break}else{c[Q>>2]=R;c[N+4>>2]=0;Qe(0,34440,N);tc()}}}while(0);Of(P);M=c[M>>2]|0;if((M|0)==1){break}c[I>>2]=M;c[H+4>>2]=1;Qe(0,34440,H);tc()}}while(0);c[b+8>>2]=c[O>>2];H=c[J>>2]|0;if((H|0)!=3){c[F>>2]=H;c[E+4>>2]=3;Qe(0,34440,E);tc()}Ya=c[K>>2]|0;E=FW(32)|0;ie(E,Ya);c[L>>2]=E;E=c[G>>2]|0;if((E|0)!=3){c[A>>2]=E;c[B+4>>2]=3;Qe(0,34440,B);tc()}B=c[D>>2]|0;A=FW(32)|0;ie(A,B);c[C>>2]=A;A=c[Fa>>2]|0;B=c[Ea>>2]|0;do{if((A+ -1|0)>>>0<2){if((B+ -2|0)>>>0>=2){break}if((c[w>>2]|0)==6){do{if((c[(ut(c[z>>2]|0,0,q)|0)>>2]|0)==3){t=c[v>>2]|0;if((t|0)==3){Ya=c[u>>2]|0;p=FW(32)|0;ie(p,Ya);break}else{c[r>>2]=t;c[s+4>>2]=3;Qe(0,34440,s);tc()}}else{p=FW(32)|0;ee(p)}}while(0);c[d>>2]=p;Of(q)}else{Ya=FW(32)|0;ee(Ya);c[d>>2]=Ya}a[y]=1;break a}}while(0);c[x>>2]=A;c[t+4>>2]=B;Qe(-1,34264,t)}else{o=85}}while(0);if((o|0)==85){Qe(-1,34336,Ia)}o=b+32|0;if((c[o>>2]|0)<=16){Of(n);Of(f);Of(m);Of(l);Of(k);Of(j);Of(h);i=g;return}c[o>>2]=16;Of(n);Of(f);Of(m);Of(l);Of(k);Of(j);Of(h);i=g;return}function sg(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=34088;d=c[a+60>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+52>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+56>>2]|0;if((d|0)==0){HW(a);i=b;return}ke(d);HW(d);HW(a);i=b;return}function tg(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=34088;d=c[a+60>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+52>>2]|0;if((d|0)!=0){ke(d);HW(d)}a=c[a+56>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function ug(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;a=FW(8)|0;if((b|0)==0){b=0}else{f=FW(32)|0;ie(f,b);b=f}if((d|0)==0){d=0}else{f=FW(32)|0;ie(f,d);d=f}c[a>>2]=b;c[a+4>>2]=d;i=e;return a|0}function vg(a){a=a|0;i=i;return 0}function wg(a,b){a=a|0;b=b|0;var d=0;a=i;if((b|0)==0){i=a;return}d=c[b>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[b+4>>2]|0;if((d|0)!=0){ke(d);HW(d)}HW(b);i=a;return}function xg(b,d){b=b|0;d=d|0;var e=0,f=0;e=i;if((a[b+64|0]&1)==0){d=0;i=e;return d|0}if((d|0)==0){f=0;d=0}else{f=c[d>>2]|0;d=c[d+4>>2]|0}d=Cu(c[b+36>>2]|0,c[b+40>>2]|0,c[b+32>>2]|0,c[b+52>>2]|0,c[b+56>>2]|0,c[b+8>>2]|0,c[b+60>>2]|0,f,d,b+13|0,(a[b+44|0]&1)!=0,b+12|0)|0;i=e;return d|0}function yg(a){a=a|0;i=i;return c[a+8>>2]|0}function zg(b){b=b|0;i=i;return(a[b+12|0]&1)!=0|0}function Ag(a){a=a|0;i=i;return a+13|0}function Bg(a){a=a|0;i=i;return c[a+32>>2]|0}function Cg(a){a=a|0;i=i;return c[a+36>>2]|0}function Dg(a){a=a|0;i=i;return c[a+40>>2]|0}function Eg(a){a=a|0;i=i;return c[a+48>>2]|0}function Fg(a){a=a|0;var b=0;b=i;HW(a);i=b;return}function Gg(a){a=a|0;i=i;return}function Hg(b,d,e,f){b=b|0;d=+d;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;j=i;i=i+8|0;h=i;i=i+16|0;k=h;m=i;i=i+128|0;n=m;o=c[b+4>>2]|0;l=c[o+8>>2]|0;fB(o,d,n);if((a[b+12|0]&1)!=0){a[f]=(((c[m>>2]|0)*255|0)+32768|0)>>>16;a[f+1|0]=(((c[n+4>>2]|0)*255|0)+32768|0)>>>16;a[f+2|0]=(((c[n+8>>2]|0)*255|0)+32768|0)>>>16;i=g;return}switch(e|0){case 1:case 0:{Gd[c[(c[l>>2]|0)+16>>2]&255](l,n,j);l=0;k=0;h=(((c[j>>2]|0)*255|0)+32768|0)>>>16&255;break};case 2:case 3:case 4:{Gd[c[(c[l>>2]|0)+20>>2]&255](l,n,k);l=(((c[k+8>>2]|0)*255|0)+32768|0)>>>16&255;k=(((c[k+4>>2]|0)*255|0)+32768|0)>>>16&255;h=(((c[h>>2]|0)*255|0)+32768|0)>>>16&255;break};default:{l=0;k=0;h=0}}a[f]=h;a[f+1|0]=k;a[f+2|0]=l;i=g;return}function Ig(a){a=a|0;var b=0;b=i;HW(a);i=b;return}function Jg(a){a=a|0;i=i;return}function Kg(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.0,r=0,s=0,t=0.0;g=i;k=i;i=i+8|0;m=k;j=i;i=i+16|0;l=j;o=i;i=i+128|0;n=o;s=i;i=i+8|0;r=i;i=i+8|0;Hy(b+8|0,+(d|0),+(e|0),s,r);q=+h[b+104>>3]*((+h[s>>3]- +h[b+56>>3])*+h[b+88>>3]+(+h[r>>3]- +h[b+64>>3])*+h[b+96>>3]);do{if(q<0.0){d=c[b+128>>2]|0;if((a[d+364|0]&1)==0){p=4;break}q=+h[b+112>>3]}else{p=4}}while(0);a:do{if((p|0)==4){do{if(q>1.0){d=c[b+128>>2]|0;if((a[d+365|0]&1)==0){break}q=+h[b+120>>3];break a}}while(0);if(q>=0.0&q<=1.0){t=+h[b+112>>3];d=c[b+128>>2]|0;q=t+q*(+h[b+120>>3]-t);break}else{s=0;i=g;return s|0}}}while(0);WA(d,q,n);n=b+132|0;$W((c[n>>2]|0)+124|0,o|0,128)|0;n=c[n>>2]|0;o=c[n+116>>2]|0;n=n+124|0;switch(c[b+136>>2]|0){case 2:case 3:case 4:{Gd[c[(c[o>>2]|0)+20>>2]&255](o,n,l);m=(((c[l+8>>2]|0)*255|0)+32768|0)>>>16&255;l=(((c[l+4>>2]|0)*255|0)+32768|0)>>>16&255;j=(((c[j>>2]|0)*255|0)+32768|0)>>>16&255;break};case 1:case 0:{Gd[c[(c[o>>2]|0)+16>>2]&255](o,n,m);m=0;l=0;j=(((c[k>>2]|0)*255|0)+32768|0)>>>16&255;break};default:{m=0;l=0;j=0}}a[f]=j;a[f+1|0]=l;a[f+2|0]=m;s=1;i=g;return s|0}function Lg(d,e,f,g,j,k,l,m,n,o,p,q){d=d|0;e=e|0;f=+f;g=+g;j=+j;k=+k;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;var r=0,s=0,t=0,u=0;r=i;s=i;i=i+8|0;u=e;t=c[u+4>>2]|0;e=d;c[e>>2]=c[u>>2];c[e+4>>2]=t;h[d+8>>3]=f;h[d+16>>3]=g;h[d+24>>3]=j;h[d+32>>3]=k;c[d+40>>2]=l;c[d+44>>2]=m;c[d+48>>2]=n;c[d+52>>2]=o;a[d+56|0]=p&1;if(q){m=da(o,n)|0;c[d+60>>2]=m}else{m=da(n+7>>3,o)|0;c[d+60>>2]=m}p=d+68|0;c[p>>2]=8;do{if((m|0)<257){c[d+64>>2]=8;e=8;l=8}else{if((m|0)<513){c[d+64>>2]=4;e=4;l=8;break}if((m|0)<1025){c[d+64>>2]=2;e=2;l=8;break}if((m|0)<2049){c[d+64>>2]=1;c[p>>2]=4;e=1;l=4;break}c[d+64>>2]=1;if((m|0)<4097){c[p>>2]=2;e=1;l=2;break}else{c[p>>2]=1;e=1;l=1;break}}}while(0);q=d+64|0;do{if((m|0)<(((10485760/(l>>>0)|0)>>>0)/(e>>>0)|0|0)){u=ze(da(e,l)|0,m)|0;c[d+72>>2]=u;if((u|0)==0){break}s=ye(da(c[p>>2]|0,c[q>>2]|0)|0,4)|0;d=d+76|0;c[d>>2]=s;m=c[p>>2]|0;if((da(m,c[q>>2]|0)|0)>0){l=0}else{i=r;return}while(1){b[s+(l<<2)+2>>1]=m+65535&l;l=l+1|0;m=c[p>>2]|0;if((l|0)>=(da(m,c[q>>2]|0)|0)){break}s=c[d>>2]|0}i=r;return}else{Qe(-1,34592,s);c[d+72>>2]=0}}while(0);c[d+76>>2]=0;i=r;return}function Mg(b,d,e,f,g,h,j){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;k=i;c[b+104>>2]=0;c[b>>2]=34864;l=b+112|0;c[l>>2]=d;d=b+116|0;c[d>>2]=e;e=b+120|0;a[e]=h&1;a[b+121|0]=j&1;do{if(j){if(!(kf(c[834]|0)|0)){h=0;break}h=(c[l>>2]|0)!=0|0}else{h=0}}while(0);j=b+122|0;a[j]=h;a[b+123|0]=0;Ng(b,72.0,72.0);a[b+124|0]=f&1;h=(g|0)==0;f=b+125|0;if(h){a[f]=0;a[b+126|0]=0;a[b+127|0]=0}else{a[f]=a[g]|0;a[b+126|0]=a[g+1|0]|0;a[b+127|0]=a[g+2|0]|0}a[b+109|0]=h&1;c[b+176>>2]=0;g=FW(28)|0;h=c[l>>2]|0;Ke(g,1,1,c[d>>2]|0,h,(h|0)!=0,(a[e]&1)!=0);c[b+180>>2]=g;h=FW(192)|0;Jo(h,g,(a[j]&1)!=0,b+136|0);c[b+184>>2]=h;ep(h,f,0);c[b+188>>2]=0;c[b+240>>2]=0;a[b+108|0]=0;c[b+244>>2]=0;bX(b+224|0,0,13)|0;i=k;return}function Ng(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0,g=0,j=0;e=i;g=a+136|0;f=a+140|0;c[f>>2]=nf(c[834]|0)|0;j=a+144|0;c[j>>2]=of(c[834]|0)|0;h[a+152>>3]=+pf(c[834]|0);h[a+160>>3]=+qf(c[834]|0);h[a+168>>3]=+rf(c[834]|0);a=mf(c[834]|0)|0;if((a|0)==2){c[g>>2]=1;if((c[f>>2]|0)>=0){i=e;return}c[f>>2]=10;i=e;return}else if((a|0)==1){c[g>>2]=0;if((c[f>>2]|0)>=0){i=e;return}c[f>>2]=4;i=e;return}else if((a|0)==3){c[g>>2]=2;if((c[f>>2]|0)<0){c[f>>2]=100}if((c[j>>2]|0)>=0){i=e;return}c[j>>2]=2;i=e;return}else{if(!(b>299.9&d>299.9)){c[g>>2]=0;if((c[f>>2]|0)>=0){i=e;return}c[f>>2]=4;i=e;return}c[g>>2]=2;if((c[f>>2]|0)<0){c[f>>2]=100}if((c[j>>2]|0)>=0){i=e;return}c[j>>2]=2;i=e;return}}function Og(a){a=a|0;var b=0;b=i;Pg(a);HW(a);i=b;return}function Pg(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;c[a>>2]=34864;d=a+224|0;f=c[d>>2]|0;if((f|0)>0){e=0;do{g=c[a+192+(e<<2)>>2]|0;if((g|0)!=0){Fe(c[g+72>>2]|0);Fe(c[g+76>>2]|0);HW(g);f=c[d>>2]|0}e=e+1|0;}while((e|0)<(f|0))}d=c[a+188>>2]|0;if((d|0)!=0){Np(d);HW(d)}d=c[a+184>>2]|0;if((d|0)!=0){Lo(d);HW(d)}a=c[a+180>>2]|0;if((a|0)==0){i=b;return}Le(a);HW(a);i=b;return}function Qg(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;c[b+176>>2]=d;d=b+188|0;f=c[d>>2]|0;if((f|0)!=0){Np(f);HW(f)}f=FW(68)|0;g=hf(c[834]|0)|0;h=(a[b+123|0]&1)!=0;do{if((a[b+121|0]&1)==0){j=0}else{if(!(jf(c[834]|0)|0)){j=0;break}j=(c[b+112>>2]|0)!=0}}while(0);Mp(f,g,h,j);c[d>>2]=f;d=b+224|0;g=c[d>>2]|0;if((g|0)>0){f=0}else{j=d;c[j>>2]=0;i=e;return}do{h=c[b+192+(f<<2)>>2]|0;if((h|0)!=0){Fe(c[h+72>>2]|0);Fe(c[h+76>>2]|0);HW(h);g=c[d>>2]|0}f=f+1|0;}while((f|0)<(g|0));j=d;c[j>>2]=0;i=e;return}function Rg(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;d=i;j=i;i=i+48|0;g=j;k=i;i=i+8|0;l=k;m=(e|0)!=0;if(m){Ng(b,+h[e>>3],+h[e+8>>3]);n=~~(+h[e+96>>3]+.5);o=~~(+h[e+104>>3]+.5);o=(o|0)<1?1:o;p=(n|0)<1?1:n}else{o=1;p=1}n=b+184|0;q=c[n>>2]|0;if((q|0)!=0){Lo(q);HW(q)}q=b+180|0;r=c[q>>2]|0;do{if((r|0)==0){f=9}else{if((p|0)==(c[r>>2]|0)){if((o|0)==(c[r+4>>2]|0)){break}}Le(r);HW(r);f=9}}while(0);if((f|0)==9){r=FW(28)|0;s=c[b+112>>2]|0;Ke(r,p,o,c[b+116>>2]|0,s,(s|0)!=0,(a[b+120|0]&1)!=0);c[q>>2]=r}o=FW(192)|0;Jo(o,r,(a[b+122|0]&1)!=0,b+136|0);c[n>>2]=o;if(m){h[j>>3]=+h[e+16>>3];h[g+8>>3]=+h[e+24>>3];h[g+16>>3]=+h[e+32>>3];h[g+24>>3]=+h[e+40>>3];h[g+32>>3]=+h[e+48>>3];h[g+40>>3]=+h[e+56>>3];Po(o,g)}switch(c[b+112>>2]|0){case 1:case 0:{a[k]=0;break};case 4:{a[l+3|0]=-1;f=16;break};case 3:case 2:{f=16;break};default:{}}if((f|0)==16){a[l+2|0]=0;a[l+1|0]=0;a[k]=0}s=c[n>>2]|0;r=FW(8)|0;tq(r,l);Qo(s,r);r=c[n>>2]|0;s=FW(8)|0;tq(s,l);Ro(r,s);Wo(c[n>>2]|0,0);Xo(c[n>>2]|0,0);_o(c[n>>2]|0,0,0,0.0);Yo(c[n>>2]|0,10.0);Zo(c[n>>2]|0,1.0);s=c[n>>2]|0;$o(s,lf(c[834]|0)|0);ep(c[n>>2]|0,b+125|0,0);i=d;return}function Sg(b){b=b|0;var d=0;d=i;if((c[b+112>>2]|0)==0){i=d;return}if((a[b+109|0]&1)!=0){i=d;return}Ap(c[b+184>>2]|0,b+125|0);i=d;return}function Tg(a,b){a=a|0;b=b|0;b=i;dp(c[a+184>>2]|0);i=b;return}function Ug(b,d){b=b|0;d=d|0;d=i;Mo(c[b+184>>2]|0)|0;a[b+236|0]=1;i=d;return}function Vg(b,d){b=b|0;d=d|0;var e=0;e=i;hd[c[(c[b>>2]|0)+96>>2]&127](b,d);hd[c[(c[b>>2]|0)+104>>2]&127](b,d);hd[c[(c[b>>2]|0)+108>>2]&127](b,d);hd[c[(c[b>>2]|0)+116>>2]&127](b,d);hd[c[(c[b>>2]|0)+100>>2]&127](b,d);hd[c[(c[b>>2]|0)+112>>2]&127](b,d);hd[c[(c[b>>2]|0)+120>>2]&127](b,d);hd[c[(c[b>>2]|0)+140>>2]&127](b,d);hdhd[c[(c[b>>2]|0)+80>>2]&127](b,d);i=e;return}function xh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=i;f=b+108|0;do{if((a[f]&1)!=0){a[f]=0;g=c[d+116>>2]|0;if((jd[c[(c[g>>2]|0)+12>>2]&511](g)|0)==10){break}f=b+240|0;g=c[f>>2]|0;if((g|0)!=0){op(c[b+184>>2]|0,g,1)|0;g=c[f>>2]|0;if((g|0)!=0){hq(g);HW(g)}c[f>>2]=0}hd[c[(c[b>>2]|0)+84>>2]&127](b,d);hdhd0,0.0,0.0,0.0,0.0,0.0);i=d;return}function Jh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;d=i;f=b+244|0;g=c[f>>2]|0;e=c[g+8>>2]|0;zp(c[b+184>>2]|0,e,0,0,c[g>>2]|0,c[g+4>>2]|0,c[e>>2]|0,c[e+4>>2]|0,0,(a[g+16|0]&1)==0)|0;b=c[f>>2]|0;c[f>>2]=c[b+28>>2];if((b|0)!=0){HW(b)}if((e|0)==0){i=d;return}Le(e);HW(e);i=d;return}function Kh(b,e,f,g,j,k){b=b|0;e=e|0;f=f|0;g=g|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,E=0.0;l=i;o=i;i=i+8|0;m=o;w=i;i=i+8|0;v=w;y=i;i=i+16|0;z=y;n=i;i=i+8|0;r=n;p=i;i=i+8|0;q=p;e=b+244|0;B=c[e>>2]|0;t=c[B>>2]|0;u=c[B+4>>2]|0;f=c[B+8>>2]|0;do{if(!g){A=b+112|0;if((c[A>>2]|0)==0){break}if((c[B+12>>2]|0)==0){break}x=FW(192)|0;D=(a[b+122|0]&1)!=0;Ko(x,f,D,Oo(c[B+24>>2]|0)|0);A=c[A>>2]|0;if((A|0)==1){D=c[(c[e>>2]|0)+12>>2]|0;Gd[c[(c[D>>2]|0)+16>>2]&255](D,k,v);a[o]=(((c[w>>2]|0)*255|0)+32768|0)>>>16;Ap(x,m)}else if((A|0)==2|(A|0)==3){s=7}else if((A|0)==4){a[m+3|0]=-1;s=7}if((s|0)==7){D=c[(c[e>>2]|0)+12>>2]|0;Gd[c[(c[D>>2]|0)+20>>2]&255](D,k,z);a[o]=(((c[y>>2]|0)*255|0)+32768|0)>>>16;a[m+1|0]=(((c[z+4>>2]|0)*255|0)+32768|0)>>>16;a[m+2|0]=(((c[z+8>>2]|0)*255|0)+32768|0)>>>16;Ap(x,m)}if((x|0)==0){break}Lo(x);HW(x)}}while(0);s=FW(28)|0;y=b+180|0;x=c[y>>2]|0;Ke(s,c[x>>2]|0,c[x+4>>2]|0,1,1,0,1);x=c[(c[e>>2]|0)+12>>2]|0;if((x|0)==0){v=0}else{Gd[c[(c[x>>2]|0)+16>>2]&255](x,k,v);v=(((c[w>>2]|0)*255|0)+32768|0)>>>16&255}x=s+20|0;k=s+12|0;bX(c[x>>2]|0,v|0,da(c[s+4>>2]|0,c[k>>2]|0)|0)|0;v=c[f>>2]|0;w=c[f+4>>2]|0;y=c[y>>2]|0;z=c[y>>2]|0;v=(v+t|0)>(z|0)?z-t|0:v;y=c[y+4>>2]|0;w=(w+u|0)>(y|0)?y-u|0:w;if((w|0)>0){C=c[k>>2]|0;B=(da(C,u)|0)+t|0;z=(v|0)>0;t=b+112|0;A=(j|0)==0;y=m+1|0;u=m+2|0;x=(c[x>>2]|0)+B|0;B=0;while(1){if(z){a:do{if(g){C=0;do{a[x+C|0]=Pe(f,C,B)|0;C=C+1|0;}while((C|0)<(v|0))}else{C=0;while(1){Oe(f,C,B,m);switch(c[t>>2]|0){case 3:case 2:case 4:{h[n>>3]=+(d[o]|0|0)*.001176470588235294+ +(d[y]|0|0)*.002313725490196078+ +(d[u]|0|0)*.00043137254901960784;break};case 1:case 0:{h[n>>3]=+(d[o]|0|0)/255.0;break};default:{}}if(A){E=+h[n>>3];h[p>>3]=E}else{Gd[c[(c[j>>2]|0)+16>>2]&255](j,r,q);E=+h[p>>3]}a[x+C|0]=~~(E*255.0+.5);C=C+1|0;if((C|0)>=(v|0)){break a}}}}while(0);D=c[k>>2]|0}else{D=C}B=B+1|0;if((B|0)<(w|0)){C=D;x=x+D|0}else{break}}}bp(c[b+184>>2]|0,s);j=c[e>>2]|0;c[e>>2]=c[j+28>>2];if((j|0)!=0){HW(j)}if((f|0)==0){i=l;return}Le(f);HW(f);i=l;return}function Lh(a,b){a=a|0;b=b|0;b=i;bp(c[a+184>>2]|0,0);i=b;return}function Mh(b){b=b|0;i=i;return(a[(c[b+184>>2]|0)+188|0]&1)!=0|0}function Nh(b,d){b=b|0;d=d|0;a[(c[b+184>>2]|0)+188|0]=d&1;i=i;return}function Oh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;h=c[e+8>>2]|0;h=jd[c[(c[h>>2]|0)+12>>2]&511](h)|0;h=(c[b+112>>2]|0)==2&(h|0)==2;g=FW(16)|0;qq(g);c[g>>2]=34520;c[g+8>>2]=d;c[g+4>>2]=e;a[g+12|0]=h&1;if((c[e+324>>2]|0)<=0){h=0;i=f;return h|0}d=jd[c[(c[b>>2]|0)+404>>2]&511](b)|0;hd[c[(c[b>>2]|0)+408>>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h[l+80>>3]=o;f=p-f;h[l+88>>3]=f;g=o-g;h[l+96>>3]=g;h[l+104>>3]=1.0/(f*f+g*g);h[l+112>>3]=+h[n+216>>3];h[l+120>>3]=+h[n+224>>3];e=(Dp(c[b+184>>2]|0,k,(a[e+176|0]&1)!=0,l)|0)==0;hd[t>>2]|0;u=c[q>>2]|0;w=u+132|0;x=c[w>>2]|0;v=c[x+44>>2]|0;if((y|0)<(v|0)){c[t>>2]=v;x=c[w>>2]|0}else{v=y}w=c[x+52>>2]|0;if((c[m>>2]|0)>(w|0)){c[m>>2]=w}jp(b,j,0,v,f,0,+h[u+72>>3],(a[b+188|0]&1)!=0&(e^1),0);e=c[t>>2]|0;if((e|0)>(c[m>>2]|0)){break}t=(s|0)==0;while(1){hr(d,c[n>>2]|0,o,p,e);if(!t){Lp(c[(c[q>>2]|0)+132>>2]|0,c[n>>2]|0,o,p,e)}pp(b,j,c[k>>2]|0,c[l>>2]|0,e);if((e|0)<(c[m>>2]|0)){e=e+1|0}else{break}}}}while(0);c[b+184>>2]=s;if((d|0)!=0){ar(d);HW(d)}if((g|0)==0){y=0;i=r;return y|0}Uq(g);HW(g);y=0;i=r;return y|0}function Ep(b,d,e,f,g,j){b=b|0;d=+d;e=+e;f=+f;g=+g;j=j|0;var k=0,l=0.0,m=0;k=i;a[b]=j&1;j=b+8|0;if(d<f){h[j>>3]=d;h[b+24>>3]=f;l=f}else{h[j>>3]=f;h[b+24>>3]=d;l=d;d=f}j=b+16|0;if(e<g){h[j>>3]=e;h[b+32>>3]=g;f=g}else{h[j>>3]=g;h[b+32>>3]=e;f=e;e=g}if(d<=0.0){d=+R(+d)}c[b+40>>2]=~~d;if(e<=0.0){e=+R(+e)}c[b+44>>2]=~~e;if(l<=0.0){l=+R(+l)}c[b+48>>2]=~~l;if(f>0.0){d=f;m=~~d;j=b+52|0;c[j>>2]=m;j=b+56|0;bX(j|0,0,20)|0;i=k;return}d=+R(+f);j=~~d;m=b+52|0;c[m>>2]=j;m=b+56|0;bX(m|0,0,20)|0;i=k;return}function Fp(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;e=i;a[b]=a[d]&1;h[b+8>>3]=+h[d+8>>3];h[b+16>>3]=+h[d+16>>3];h[b+24>>3]=+h[d+24>>3];h[b+32>>3]=+h[d+32>>3];c[b+40>>2]=c[d+40>>2];c[b+44>>2]=c[d+44>>2];c[b+48>>2]=c[d+48>>2];c[b+52>>2]=c[d+52>>2];j=b+68|0;c[j>>2]=c[d+68>>2];g=c[d+72>>2]|0;l=b+72|0;c[l>>2]=g;f=b+56|0;c[f>>2]=ye(g,4)|0;g=b+60|0;c[g>>2]=ye(c[l>>2]|0,1)|0;b=b+64|0;c[b>>2]=ye(c[l>>2]|0,4)|0;if((c[j>>2]|0)<=0){i=e;return}k=d+56|0;d=d+60|0;l=0;do{n=c[(c[k>>2]|0)+(l<<2)>>2]|0;m=FW(12)|0;Tq(m,n);c[(c[f>>2]|0)+(l<<2)>>2]=m;a[(c[g>>2]|0)+l|0]=a[(c[d>>2]|0)+l|0]|0;m=FW(52)|0;$q(m,c[(c[f>>2]|0)+(l<<2)>>2]|0,(a[(c[g>>2]|0)+l|0]&1)!=0);c[(c[b>>2]|0)+(l<<2)>>2]=m;l=l+1|0;}while((l|0)<(c[j>>2]|0));i=e;return}function Gp(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;d=i;e=a+68|0;f=a+56|0;h=c[f>>2]|0;b=a+64|0;if((c[e>>2]|0)>0){g=0;do{h=c[h+(g<<2)>>2]|0;if((h|0)!=0){Uq(h);HW(h)}h=c[(c[b>>2]|0)+(g<<2)>>2]|0;if((h|0)!=0){ar(h);HW(h)}g=g+1|0;h=c[f>>2]|0}while((g|0)<(c[e>>2]|0))}Fe(h);Fe(c[a+60>>2]|0);Fe(c[b>>2]|0);i=d;return}function Hp(a,b,d,e,f){a=a|0;b=+b;d=+d;e=+e;f=+f;var g=0,j=0,k=0.0;g=i;j=a+8|0;k=+h[j>>3];do{if(b<e){if(k<b){h[j>>3]=b;if(b<=0.0){b=+R(+b)}c[a+40>>2]=~~b}j=a+24|0;if(+h[j>>3]<=e){break}h[j>>3]=e;if(e<=0.0){e=+R(+e)}c[a+48>>2]=~~e}else{if(k<e){h[j>>3]=e;if(e<=0.0){e=+R(+e)}c[a+40>>2]=~~e}j=a+24|0;if(+h[j>>3]<=b){break}h[j>>3]=b;if(b<=0.0){b=+R(+b)}c[a+48>>2]=~~b}}while(0);j=a+16|0;e=+h[j>>3];if(d<f){if(e<d){h[j>>3]=d;if(d<=0.0){d=+R(+d)}c[a+44>>2]=~~d}j=a+32|0;if(+h[j>>3]<=f){i=g;return 0}h[j>>3]=f;if(f<=0.0){f=+R(+f)}c[a+52>>2]=~~f;i=g;return 0}else{if(e<f){h[j>>3]=f;if(f<=0.0){f=+R(+f)}c[a+44>>2]=~~f}j=a+32|0;if(+h[j>>3]<=d){i=g;return 0}h[j>>3]=d;if(d<=0.0){d=+R(+d)}c[a+52>>2]=~~d;i=g;return 0}return 0}
7317 hd[O&127](P,1);Lf(f,P)|0;i=g;return}n=c[q>>2]|0;if((n|0)!=7){c[l>>2]=n;c[k+4>>2]=7;Qe(0,72520,k);tc()}Wu(c[j>>2]|0,55992,e);P=FW(56)|0;N=a;N=c[N>>2]|0;N=N+28|0;N=c[N>>2]|0;N=Ge(N)|0;O=a;O=c[O>>2]|0;O=O+24|0;O=c[O>>2]|0;Tj(P,N,0,O,m);O=P;O=c[O>>2]|0;O=O+116|0;O=c[O>>2]|0;hd[k+4>>2];pe(xa,64856,Z)|0}do{if((q|0)!=0){c[r>>2]=0;if((c[t>>2]|0)>0){l=0}else{break}do{me(oe(c[aa>>2]|0,c[(c[u>>2]|0)+(l<<2)>>2]|0)|0,32)|0;l=(c[r>>2]|0)+1|0;c[r>>2]=l;}while((l|0)<(c[t>>2]|0))}}while(0);if((P|0)<0){xa=c[aa>>2]|0;ra=V;h[k>>3]=la;c[ra>>2]=c[k>>2];c[ra+4>>2]=c[k+4>>2];ra=U+8|0;h[k>>3]=sa;c[ra>>2]=c[k>>2];c[ra+4>>2]=c[k+4>>2];pe(xa,64920,U)|0}v=c[T+28>>2]|0;l=c[T+24>>2]|0;c[r>>2]=0;if((l|0)<=0){break}sa=+h[s>>3];while(1){h[L>>3]=0.0;n=xd[c[(c[z>>2]|0)+12>>2]&3](z,v,l,K,J,I,B,H,G,F)|0;la=pa*+h[L>>3];h[L>>3]=la;wa=+h[s>>3];la=(wa-la)*.5;w=c[aa>>2]|0;xa=E;h[k>>3]=wa+(la-sa);c[xa>>2]=c[k>>2];c[xa+4>>2]=c[k+4>>2];pe(w,64952,D)|0;w=FW(32)|0;ge(w,v,n);ms(0,w,c[aa>>2]|0);ne(c[aa>>2]|0,64912,-1)|0;if((w|0)!=0){ke(w);HW(w)}xa=(c[r>>2]|0)+1|0;c[r>>2]=xa;l=l-n|0;if((xa|0)<(j|0)&(l|0)>0){v=v+n|0;sa=la}else{break}}}}while(0);ne(c[aa>>2]|0,64968,-1)|0;ne(c[aa>>2]|0,63808,-1)|0;if(m){ne(c[aa>>2]|0,64976,-1)|0}if((q|0)!=0){m=c[t>>2]|0;if((m|0)>0){r=0;do{s=c[(c[u>>2]|0)+(r<<2)>>2]|0;if((s|0)!=0){ke(s);HW(s);m=c[t>>2]|0}r=r+1|0;}while((r|0)<(m|0))}xo(q);HW(q)}if(!(o|(d|0)==0)){ke(d);HW(d)}if((T|0)!=0){ke(T);HW(T)}if(!A){i=p;return}Yx(z);i=p;return}}while(0);if((T|0)==37){Qe(-1,64784,u)}if((q|0)==0){i=p;return}r=q+8|0;s=c[r>>2]|0;if((s|0)>0){m=0;do{t=c[(c[q>>2]|0)+(m<<2)>>2]|0;if((t|0)!=0){ke(t);HW(t);s=c[r>>2]|0}m=m+1|0;}while((m|0)<(s|0))}xo(q);HW(q);i=p;return}function os(b,d,e,f,g,j,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|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.0,G=0,H=0,I=0,J=0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0,S=0,T=0,U=0,V=0;n=i;x=i;i=i+16|0;y=x;v=i;i=i+8|0;w=v;A=i;i=i+8|0;u=A;s=i;i=i+32|0;t=s;C=i;i=i+8|0;D=C;I=i;i=i+8|0;H=i;i=i+8|0;G=i;i=i+8|0;r=i;i=i+8|0;q=r;z=i;i=i+8|0;p=z;do{if((j|0)==0){o=0;E=28}else{o=FW(16)|0;wo(o);B=j+24|0;T=c[B>>2]|0;if((T|0)>0){J=j+28|0;S=0;do{a:do{if((S|0)<(T|0)){while(1){V=hE(a[(c[J>>2]|0)+S|0]|0)|0;U=S+1|0;T=c[B>>2]|0;if(!V){break a}if((U|0)<(T|0)){S=U}else{S=U;break}}}}while(0);if((S|0)<(T|0)){U=S+1|0;c[z>>2]=U;b:do{if((U|0)<(T|0)){do{V=hE(a[(c[J>>2]|0)+U|0]|0)|0;U=c[z>>2]|0;if(V){break b}U=U+1|0;c[z>>2]=U;}while((U|0)<(c[B>>2]|0))}}while(0);T=FW(32)|0;he(T,j,S,U-S|0);yo(o,T);T=c[B>>2]|0;S=c[z>>2]|0}}while((S|0)<(T|0))}B=o+8|0;if((c[B>>2]|0)<=2){E=28;break}S=2;J=-1;j=-1;do{do{if((S|0)>1){if((te(c[(c[o>>2]|0)+(S<<2)>>2]|0,64640)|0)==0){J=S+ -2|0;break}if((S|0)<=5){break}V=(te(c[(c[o>>2]|0)+(S<<2)>>2]|0,64648)|0)==0;j=V?S+ -6|0:j}}while(0);S=S+1|0;}while((S|0)<(c[B>>2]|0));if((J|0)<=-1){E=28;break}I=c[(c[o>>2]|0)+(J<<2)>>2]|0;do{if((c[I+24>>2]|0)>0){I=c[I+28>>2]|0;if((a[I]|0)!=47){E=27;break}if((l|0)!=0){l=wy(l,I+1|0)|0;if((l|0)!=0){break}}Qe(-1,64688,G);l=0}else{E=27}}while(0);if((E|0)==27){Qe(-1,64728,H);l=0}G=J+1|0;L=+Ie(c[(c[(c[o>>2]|0)+(G<<2)>>2]|0)+28>>2]|0);if((l|0)==0){break}E=FW(32)|0;ee(E);H=c[b+128>>2]|0;if((H|0)==0){F=0.0}else{F=+wd[c[(c[H>>2]|0)+12>>2]&1](H)}if(L==0.0){if((f|0)>0){H=0;K=0.0;while(1){c[z>>2]=0;ls(0,c[d+(H<<2)>>2]|0,E,p,l,q,0.0,0,0);L=+h[r>>3];K=L>K?L:K;H=H+1|0;if((H|0)<(f|0)){}else{break}}}else{K=0.0}H=b+28|0;V=c[H>>2]|0;Q=F*2.0;L=+h[V+24>>3]- +h[V+8>>3]-Q;K=(+h[V+16>>3]- +h[V>>3]+-4.0-Q)/K;L=+R(+(K<L?K:L));V=c[(c[o>>2]|0)+(G<<2)>>2]|0;le(V)|0;h[k>>3]=L;c[C>>2]=c[k>>2];c[C+4>>2]=c[k+4>>2];pe(V,64856,D)|0;C=H}else{C=b+28|0}J=c[C>>2]|0;K=L*1.1;if((g|0)<(f|0)){I=b+124|0;M=F+2.0;b=(j|0)>-1;G=j+4|0;D=j+5|0;H=(o|0)==0;j=(j|0)<0;N=L*.2;O=F*2.0;P=+h[J+24>>3]- +h[J+8>>3];do{P=P-K;ne(c[I>>2]|0,56352,-1)|0;J=e+g|0;if((a[J]&1)!=0){ne(c[I>>2]|0,64984,-1)|0;V=c[I>>2]|0;U=c[C>>2]|0;Q=+h[U+16>>3]- +h[U>>3]-O;U=s;h[k>>3]=F;c[U>>2]=c[k>>2];c[U+4>>2]=c[k+4>>2];U=t+8|0;h[k>>3]=P-N;c[U>>2]=c[k>>2];c[U+4>>2]=c[k+4>>2];U=t+16|0;h[k>>3]=Q;c[U>>2]=c[k>>2];c[U+4>>2]=c[k+4>>2];U=t+24|0;h[k>>3]=K;c[U>>2]=c[k>>2];c[U+4>>2]=c[k+4>>2];pe(V,64992,t)|0}ne(c[I>>2]|0,64848,-1)|0;c[z>>2]=0;ls(0,c[d+(g<<2)>>2]|0,E,p,l,q,0.0,0,0);Q=L*+h[r>>3];h[r>>3]=Q;if((m|0)==1){V=c[C>>2]|0;Q=(+h[V+16>>3]- +h[V>>3]-Q)*.5}else if((m|0)==2){V=c[C>>2]|0;Q=+h[V+16>>3]- +h[V>>3]-F+-2.0-Q}else{Q=M}if(b){V=c[(c[o>>2]|0)+(G<<2)>>2]|0;le(V)|0;U=A;h[k>>3]=Q;c[U>>2]=c[k>>2];c[U+4>>2]=c[k+4>>2];pe(V,64856,u)|0;V=c[(c[o>>2]|0)+(D<<2)>>2]|0;le(V)|0;U=v;h[k>>3]=P;c[U>>2]=c[k>>2];c[U+4>>2]=c[k+4>>2];pe(V,64856,w)|0}do{if(!H){c[z>>2]=0;if((c[B>>2]|0)>0){S=0}else{break}do{me(oe(c[I>>2]|0,c[(c[o>>2]|0)+(S<<2)>>2]|0)|0,32)|0;S=(c[z>>2]|0)+1|0;c[z>>2]=S;}while((S|0)<(c[B>>2]|0))}}while(0);if(j){V=c[I>>2]|0;U=x;h[k>>3]=Q;c[U>>2]=c[k>>2];c[U+4>>2]=c[k+4>>2];U=y+8|0;h[k>>3]=P;c[U>>2]=c[k>>2];c[U+4>>2]=c[k+4>>2];pe(V,64920,y)|0}if((a[J]&1)!=0){ne(c[I>>2]|0,65032,-1)|0}ms(0,E,c[I>>2]|0);ne(c[I>>2]|0,64912,-1)|0;ne(c[I>>2]|0,64968,-1)|0;ne(c[I>>2]|0,63808,-1)|0;g=g+1|0;}while((g|0)<(f|0))}if((o|0)!=0){q=c[B>>2]|0;if((q|0)>0){p=0;do{r=c[(c[o>>2]|0)+(p<<2)>>2]|0;if((r|0)!=0){ke(r);HW(r);q=c[B>>2]|0}p=p+1|0;}while((p|0)<(q|0))}xo(o);HW(o)}if((E|0)==0){i=n;return}ke(E);HW(E);i=n;return}}while(0);if((E|0)==28){Q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0;if((c[B>>2]|0)==0){qn(y,C,M);ge=w;he=c[ge+4>>2]|0;je=B;c[je>>2]=c[ge>>2];c[je+4>>2]=he}else{ge=B;he=c[ge+4>>2]|0;je=x;c[je>>2]=c[ge>>2];c[je+4>>2]=he;$W(z|0,x|0,8)|0;pn(C,M,v)}c[u>>2]=13;v=p+8|0;c[v>>2]=0;c[v+4>>2]=0;Jf(p,c[ha>>2]|0)|0;je=q+8|0;ge=c[B>>2]|0;he=c[b+56>>2]|0;c[t>>2]=9;c[je>>2]=ge;c[je+4>>2]=he;t=c[u>>2]|0;if((t|0)==7){Wu(c[v>>2]|0,55416,q);Wu(A,55616,p);je=FW(24)|0;Ru(je,A);de=je+20|0;c[de>>2]=(c[de>>2]|0)+ -1;c[s>>2]=13;de=o+8|0;c[de>>2]=0;c[de+4>>2]=0;Kf(o,je)|0;je=c[ha>>2]|0;de=b+116|0;ge=c[de+4>>2]|0;he=r;c[he>>2]=c[de>>2];c[he+4>>2]=ge;$W(d|0,r|0,8)|0;pn(je,o,m);Of(o);break}else{c[l>>2]=t;c[j+4>>2]=7;Qe(0,72520,j);tc()}}}while(0);if((g|0)!=0){vy(g);HW(g)}Of(n);Of(e);i=f;return}function qs(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;g=i;r=i;i=i+16|0;f=r;m=i;i=i+16|0;q=m;k=i;i=i+16|0;l=k;n=i;i=i+16|0;o=n;p=i;i=i+16|0;j=p;c[r>>2]=13;r=f+8|0;c[r>>2]=0;c[r+4>>2]=0;r=c[b+48>>2]|0;if((r&2|0)!=0){i=g;return}do{if(e){if((r&4|0)!=0){break}i=g;return}else{if((r&32|0)==0){break}i=g;return}}while(0);r=c[b+88>>2]|0;do{if((r|0)!=0){e=b+96|0;if((c[e>>2]|0)!=9){break}if(GF(r,e)|0){break}i=g;return}}while(0);r=b+177|0;a[r]=0;ps(b);e=b+112|0;Nf(b+64|0,c[e>>2]|0,f,0)|0;do{if((a[r]&1)!=0){u=q+8|0;c[k>>2]=13;s=l+8|0;c[s>>2]=0;t=s+4|0;c[t>>2]=0;c[u>>2]=0;c[u+4>>2]=0;c[m>>2]=4;c[u>>2]=Ge(64672)|0;c[s>>2]=0;c[t>>2]=0;c[k>>2]=4;c[s>>2]=Ge(65376)|0;c[n>>2]=13;k=o+8|0;c[k>>2]=0;c[k+4>>2]=0;k=FW(24)|0;Qu(k,c[e>>2]|0);n=k+20|0;c[n>>2]=(c[n>>2]|0)+ -1;Tu(k,Ge(65384)|0,q);Tu(k,Ge(55944)|0,l);Kf(o,k)|0;c[p>>2]=13;k=j+8|0;c[k>>2]=0;c[k+4>>2]=0;k=FW(24)|0;Qu(k,c[e>>2]|0);q=k+20|0;c[q>>2]=(c[q>>2]|0)+ -1;Tu(k,Ge(64664)|0,o);Kf(j,k)|0;k=FW(24)|0;Qu(k,c[e>>2]|0);Tu(k,Ge(65280)|0,j);Px(d,k);if((k|0)==0){break}Su(k);HW(k)}}while(0);u=c[b+28>>2]|0;Tx(d,f,0,c[b+132>>2]|0,+h[u>>3],+h[u+8>>3],+h[u+16>>3],+h[u+24>>3]);if((a[r]&1)!=0){ux(d)}Of(f);i=g;return}function rs(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;e=i;m=i;i=i+8|0;n=i;i=i+8|0;h=n;p=i;i=i+16|0;j=p;k=i;i=i+16|0;d=k;o=i;i=i+16|0;g=o;c[p>>2]=13;l=j+8|0;c[l>>2]=0;c[l+4>>2]=0;do{if((c[(Yu(f,56120,j,0)|0)>>2]|0)==3){p=c[p>>2]|0;if((p|0)==3){n=c[l>>2]|0;p=FW(32)|0;ie(p,n);c[b+148>>2]=p;break}else{c[n>>2]=p;c[h+4>>2]=3;Qe(0,72520,h);tc()}}else{c[b+148>>2]=0}}while(0);Of(j);c[k>>2]=13;p=d+8|0;c[p>>2]=0;c[p+4>>2]=0;if((c[(Yu(f,65424,d,0)|0)>>2]|0)!=7){Qe(-1,65432,m);c[b+152>>2]=0;a[b+144|0]=0;Of(d);i=e;return}c[o>>2]=13;p=g+8|0;c[p>>2]=0;c[p+4>>2]=0;Yu(f,55424,g,0)|0;p=(c[o>>2]|0)==7;f=FW(104)|0;if(p){DF(f,d,g);c[b+152>>2]=f}else{CF(f,d);c[b+152>>2]=f}h=b+152|0;if((a[f]&1)==0){if((f|0)!=0){BF(f);HW(f)}c[h>>2]=0;a[b+144|0]=0}Of(g);Of(d);i=e;return}function ss(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,m=0;l=i;k=i;i=i+8|0;j=k;c[b>>2]=55512;h=b+8|0;c[h>>2]=13;c[b+16>>2]=0;c[b+20>>2]=0;c[b+64>>2]=13;c[b+72>>2]=0;c[b+76>>2]=0;c[b+96>>2]=13;c[b+104>>2]=0;c[b+108>>2]=0;m=b+145|0;do{if((c[g>>2]|0)==9){a[m]=1;m=c[g>>2]|0;if((m|0)==9){k=g+8|0;g=c[k+4>>2]|0;m=b+116|0;c[m>>2]=c[k>>2];c[m+4>>2]=g;break}else{c[k>>2]=m;c[j+4>>2]=9;Qe(0,72520,j);tc()}}else{a[m]=0}}while(0);c[b+48>>2]=0;m=b+24|0;c[m>>2]=0;Kf(h,e)|0;zr(b,d,e,f);c[b>>2]=65408;c[m>>2]=19;rs(b,0,0,e);i=l;return}function ts(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=65408;d=c[a+148>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+152>>2]|0;if((d|0)==0){Cr(a);HW(a);i=b;return}BF(d);HW(d);Cr(a);HW(a);i=b;return}function us(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=65408;d=c[a+148>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+152>>2]|0;if((d|0)==0){Cr(a);i=b;return}BF(d);HW(d);Cr(a);i=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&32|0)==0){break}i=g;return}}while(0);e=c[b+88>>2]|0;do{if((e|0)!=0){J=b+96|0;if((c[J>>2]|0)!=9){break}if(GF(e,J)|0){break}i=g;return}}while(0);e=b+64|0;do{if((c[e>>2]|0)==5){J=b+152|0;N=c[J>>2]|0;if((a[N+32|0]&1)==0){break}c[P>>2]=13;xa=j+8|0;c[xa>>2]=0;c[xa+4>>2]=0;Mf(N+16|0,j)|0;J=c[J>>2]|0;N=c[J+4>>2]|0;J=c[J+8>>2]|0;do{if(!((N|0)==-1|(J|0)==-1)){if((c[P>>2]|0)==13){break}xa=FW(32)|0;ee(xa);P=b+124|0;c[P>>2]=xa;ne(xa,56352,-1)|0;xa=c[P>>2]|0;c[X>>2]=N;c[wa+4>>2]=J;pe(xa,65448,wa)|0;ne(c[P>>2]|0,65472,-1)|0;ne(c[P>>2]|0,63808,-1)|0;c[va>>2]=13;wa=ra+8|0;c[wa>>2]=0;c[wa+4>>2]=0;X=b+112|0;Jf(ra,c[X>>2]|0)|0;va=c[va>>2]|0;if((va|0)!=7){c[ea>>2]=va;c[ua+4>>2]=7;Qe(0,72520,ua);tc()}Wu(c[wa>>2]|0,65488,j);c[x>>2]=13;ea=v+8|0;c[ea>>2]=0;c[ea+4>>2]=0;Jf(v,c[X>>2]|0)|0;ua=c[x>>2]|0;if((ua|0)!=7){c[ta>>2]=ua;c[sa+4>>2]=7;Qe(0,72520,sa);tc()}Wu(c[ea>>2]|0,56040,ra);c[G>>2]=13;ra=D+8|0;c[ra>>2]=0;c[ra+4>>2]=0;c[Q>>2]=13;sa=F+8|0;c[sa>>2]=0;va=sa+4|0;c[va>>2]=0;c[S>>2]=13;ua=K+8|0;c[ua>>2]=0;ta=ua+4|0;c[ta>>2]=0;Jf(D,c[X>>2]|0)|0;wa=c[(c[P>>2]|0)+24>>2]|0;c[va>>2]=0;c[Q>>2]=1;c[sa>>2]=wa;wa=c[G>>2]|0;if((wa|0)!=7){c[qa>>2]=wa;c[pa+4>>2]=7;Qe(0,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k>>2]=n;c[l+4>>2]=1;c[l+8>>2]=2;Qe(0,162328,l);tc()}k=d+24|0;if((n|0)==1){q=+(c[k>>2]|0)}else{q=+h[k>>3]}h[m+544>>3]=q;k=c[j>>2]|0;s=+h[k+608>>3];l=k+616|0;q=+h[l>>3]- +h[k+568>>3];h[l>>3]=q;h[k+592>>3]=+h[k+528>>3]+(s*+h[k+496>>3]+q*+h[k+512>>3]);h[k+600>>3]=+h[k+536>>3]+(s*+h[k+504>>3]+q*+h[k+520>>3]);k=b+8|0;l=c[k>>2]|0;hd[c[(c[l>>2]|0)+196>>2]&127](l,c[j>>2]|0);l=c[k>>2]|0;hd[c[(c[l>>2]|0)+184>>2]&127](l,c[j>>2]|0);l=c[k>>2]|0;hd[c[(c[l>>2]|0)+204>>2]&127](l,c[j>>2]|0);l=c[k>>2]|0;hd[c[(c[l>>2]|0)+268>>2]&127](l,c[j>>2]|0);l=c[d+32>>2]|0;if((l|0)!=3){c[f>>2]=l;c[g+4>>2]=3;Qe(0,162256,g);tc()}Ox(b,c[d+40>>2]|0);r=c[k>>2]|0;hd[c[(c[r>>2]|0)+272>>2]&127](r,c[j>>2]|0);i=e;return}function Zv(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.0,p=0.0;e=i;g=i;i=i+8|0;j=g;k=i;i=i+8|0;f=b+28|0;l=c[f>>2]|0;if((c[l+484>>2]|0)==0){b=c[b+120>>2]|0;do{if((b|0)==0){b=-1}else{b=c[b+4>>2]|0;if((c[b+16>>2]|0)!=8){b=-1;break}b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}}while(0);Qe(b,161112,k);i=e;return}m=b+48|0;k=b+8|0;if((a[m]&1)!=0){n=c[k>>2]|0;hd[c[(c[n>>2]|0)+176>>2]&127](n,l);a[m]=0;l=c[f>>2]|0}p=+h[l+608>>3];n=l+616|0;o=+h[n>>3]- +h[l+568>>3];h[n>>3]=o;h[l+592>>3]=+h[l+528>>3]+(p*+h[l+496>>3]+o*+h[l+512>>3]);h[l+600>>3]=+h[l+536>>3]+(p*+h[l+504>>3]+o*+h[l+520>>3]);l=c[k>>2]|0;hd[c[(c[l>>2]|0)+204>>2]&127](l,c[f>>2]|0);l=c[k>>2]|0;hd[c[(c[l>>2]|0)+268>>2]&127](l,c[f>>2]|0);l=c[d>>2]|0;if((l|0)!=3){c[g>>2]=l;c[j+4>>2]=3;Qe(0,162256,j);tc()}Ox(b,c[d+8>>2]|0);n=c[k>>2]|0;hd[c[(c[n>>2]|0)+272>>2]&127](n,c[f>>2]|0);i=e;return}function _v(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;e=i;d=b+28|0;g=c[d>>2]|0;h=c[g+588>>2]|0;a:do{if((c[h+28>>2]|0)>0){h=c[b+116>>2]|0;b:do{if((h|0)!=0){if((a[h]&1)!=0){break a}while(1){h=c[h+4>>2]|0;if((h|0)==0){break b}if((a[h]&1)!=0){break a}}}}while(0);h=c[g+116>>2]|0;if((jd[c[(c[h>>2]|0)+12>>2]&511](h)|0)==10){Bx(b,0)}else{h=c[b+8>>2]|0;hd[c[(c[h>>2]|0)+216>>2]&127](h,c[d>>2]|0)}h=c[(c[d>>2]|0)+120>>2]|0;if((jd[c[(c[h>>2]|0)+12>>2]&511](h)|0)==10){Cx(b);break}else{h=c[b+8>>2]|0;hd[c[(c[h>>2]|0)+212>>2]&127](h,c[d>>2]|0);break}}else{if((a[h]&1)!=0){break}i=e;return}}while(0);g=c[d>>2]|0;h=c[g+588>>2]|0;do{if((c[h+28>>2]|0)>0){f=16}else{if((a[h]&1)!=0){f=16;break}b=b+52|0}}while(0);do{if((f|0)==16){f=b+52|0;if((c[f>>2]|0)==0){b=f;break}TB(g);b=c[b+8>>2]|0;g=c[b>>2]|0;if((c[f>>2]|0)==1){hd[c[g+256>>2]&127](b,c[d>>2]|0);b=f;break}else{hd[c[g+260>>2]&127](b,c[d>>2]|0);b=f;break}}}while(0);c[b>>2]=0;SB(c[d>>2]|0);i=e;return}function $v(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;e=i;d=b+28|0;g=c[d>>2]|0;h=c[g+588>>2]|0;a:do{if((c[h+28>>2]|0)>0){h=c[b+116>>2]|0;b:do{if((h|0)!=0){if((a[h]&1)!=0){break a}while(1){h=c[h+4>>2]|0;if((h|0)==0){break b}if((a[h]&1)!=0){break a}}}}while(0);h=c[g+116>>2]|0;if((jd[c[(c[h>>2]|0)+12>>2]&511](h)|0)==10){Bx(b,1)}else{h=c[b+8>>2]|0;hd[c[(c[h>>2]|0)+220>>2]&127](h,c[d>>2]|0)}h=c[(c[d>>2]|0)+120>>2]|0;if((jd[c[(c[h>>2]|0)+12>>2]&511](h)|0)==10){Cx(b);break}else{h=c[b+8>>2]|0;hd[c[(c[h>>2]|0)+212>>2]&127](h,c[d>>2]|0);break}}else{if((a[h]&1)!=0){break}i=e;return}}while(0);g=c[d>>2]|0;h=c[g+588>>2]|0;do{if((c[h+28>>2]|0)>0){f=16}else{if((a[h]&1)!=0){f=16;break}b=b+52|0}}while(0);do{if((f|0)==16){f=b+52|0;if((c[f>>2]|0)==0){b=f;break}TB(g);b=c[b+8>>2]|0;g=c[b>>2]|0;if((c[f>>2]|0)==1){hd[c[g+256>>2]&127](b,c[d>>2]|0);b=f;break}else{hd[c[g+260>>2]&127](b,c[d>>2]|0);b=f;break}}}while(0);c[b>>2]=0;SB(c[d>>2]|0);i=e;return}function aw(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,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;f=i;j=i;i=i+8|0;k=j;g=i;i=i+8|0;h=g;m=i;i=i+8|0;p=m;o=i;i=i+8|0;n=o;D=i;i=i+8|0;s=i;i=i+8|0;q=s;w=i;i=i+8|0;t=w;A=i;i=i+8|0;z=A;C=i;i=i+8|0;B=C;F=i;i=i+8|0;E=F;v=i;i=i+16|0;y=v;x=FW(8)|0;u=x;c[u>>2]=0;c[u+4>>2]=0;a[x]=0;u=b+116|0;c[x+4>>2]=c[u>>2];c[u>>2]=x;x=c[(c[b+4>>2]|0)+160>>2]|0;l=c[d>>2]|0;if((l|0)!=4){c[F>>2]=l;c[E+4>>2]=4;Qe(0,162256,E);tc()}l=d+8|0;a:do{if(!((vc(c[l>>2]|0,161320,2)|0)!=0|(x|0)==0)){if((e|0)<=1){q=c[b+120>>2]|0;do{if((q|0)==0){q=-1}else{q=c[q+4>>2]|0;if((c[q+16>>2]|0)!=8){q=-1;break}q=c[q+24>>2]|0;q=jd[c[(c[q>>2]|0)+48>>2]&511](q)|0}}while(0);Qe(q,162112,D);break}D=d+16|0;E=c[D>>2]|0;do{if((E|0)!=4){F=c[b+120>>2]|0;do{if((F|0)==0){F=-1}else{F=c[F+4>>2]|0;if((c[F+16>>2]|0)!=8){F=-1;break}F=c[F+24>>2]|0;F=jd[c[(c[F>>2]|0)+48>>2]&511](F)|0;E=c[D>>2]|0}}while(0);c[C>>2]=E;Qe(F,162072,B);B=c[D>>2]|0;if((B|0)==4){break}c[A>>2]=B;c[z+4>>2]=4;Qe(0,162256,z);tc()}}while(0);z=c[d+24>>2]|0;c[v>>2]=13;A=y+8|0;c[A>>2]=0;c[A+4>>2]=0;A=c[b+20>>2]|0;b:do{if((A|0)!=0){while(1){if((c[A+96>>2]|0)==7){if((c[(Zu(c[A+104>>2]|0,z,y)|0)>>2]|0)!=5){break}Of(y)}A=c[A+112>>2]|0;if((A|0)==0){break b}}if((c[v>>2]|0)!=9){break a}F=GF(x,y)|0;a[c[u>>2]|0]=F&1^1;break a}}while(0);c[w>>2]=z;Qe(-1,159320,t);t=c[b+120>>2]|0;do{if((t|0)==0){t=-1}else{t=c[t+4>>2]|0;if((c[t+16>>2]|0)!=8){t=-1;break}t=c[t+24>>2]|0;t=jd[c[(c[t>>2]|0)+48>>2]&511](t)|0}}while(0);c[s>>2]=z;Qe(t,162096,q)}}while(0);if((a[b+13|0]&1)!=0){q=c[d>>2]|0;if((q|0)!=4){c[o>>2]=q;c[n+4>>2]=4;Qe(0,162256,n);tc()}c[m>>2]=c[l>>2];Kb(162160,p|0)|0;if((e|0)==2){m=c[r>>2]|0;Qf(d+16|0,m)}else{m=c[r>>2]|0}Hb(10)|0;Fc(m|0)|0}if((e|0)==1){g=c[b+8>>2]|0;d=c[d>>2]|0;if((d|0)!=4){c[j>>2]=d;c[k+4>>2]=4;Qe(0,162256,k);tc()}Gd[c[(c[g>>2]|0)+332>>2]&255](g,c[l>>2]|0,0);i=f;return}else if((e|0)==2){if((c[d+16>>2]|0)!=7){i=f;return}j=c[b+8>>2]|0;k=c[d>>2]|0;if((k|0)!=4){c[g>>2]=k;c[h+4>>2]=4;Qe(0,162256,h);tc()}Gd[c[(c[j>>2]|0)+332>>2]&255](j,c[l>>2]|0,c[d+24>>2]|0);i=f;return}else{i=f;return}}function bw(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;b=i;d=Sx(a)|0;if((d|0)==0){i=b;return}Qx(a,0,d,1);e=jd[c[(c[d>>2]|0)+68>>2]&511](d)|0;e=jd[c[(c[e>>2]|0)+20>>2]&511](e)|0;a=jd[c[(c[d>>2]|0)+68>>2]&511](d)|0;a=jd[c[(c[a>>2]|0)+20>>2]&511](a)|0;while(1){if((e|0)==69){if((a|0)==73|(a|0)==-1){break}}else{if((a|0)==-1){break}}f=jd[c[(c[d>>2]|0)+68>>2]&511](d)|0;e=a;a=jd[c[(c[f>>2]|0)+20>>2]&511](f)|0}fd[c[(c[d>>2]|0)+4>>2]&511](d);i=b;return}function cw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;d=i;e=b+8|0;g=c[e>>2]|0;f=b+28|0;hd[c[(c[g>>2]|0)+300>>2]&127](g,c[f>>2]|0);a[b+16|0]=1;g=c[f>>2]|0;h[g+496>>3]=1.0;bX(g+504|0,0,16)|0;h[g+520>>3]=1.0;bX(g+528|0,0,16)|0;g=c[f>>2]|0;bX(g+608|0,0,16)|0;h[g+592>>3]=+h[g+528>>3]+(+h[g+496>>3]*0.0+ +h[g+512>>3]*0.0);h[g+600>>3]=+h[g+536>>3]+(+h[g+504>>3]*0.0+ +h[g+520>>3]*0.0);g=c[e>>2]|0;hd[c[(c[g>>2]|0)+180>>2]&127](g,c[f>>2]|0);g=c[e>>2]|0;hd[c[(c[g>>2]|0)+204>>2]&127](g,c[f>>2]|0);a[b+48|0]=1;f=c[f>>2]|0;if((c[f+584>>2]&4|0)!=0){i=d;return}g=c[e>>2]|0;if(!(Bd[c[(c[g>>2]|0)+40>>2]&255](g,f)|0)){i=d;return}a[b+15|0]=1;i=d;return}function dw(a,b,d){a=a|0;b=b|0;d=d|0;d=a+56|0;c[d>>2]=(c[d>>2]|0)+1;i=i;return}function ew(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;d=i;e=i;i=i+8|0;r=i;i=i+8|0;q=r;l=i;i=i+16|0;h=l;g=i;i=i+128|0;j=g;c[l>>2]=13;n=h+8|0;c[n>>2]=0;m=n+4|0;c[m>>2]=0;k=a+28|0;OB(c[k>>2]|0,0);o=c[a+20>>2]|0;p=c[b>>2]|0;if((p|0)!=4){c[r>>2]=p;c[q+4>>2]=4;Qe(0,162256,q);tc()}p=c[b+8>>2]|0;a:do{if((o|0)==0){f=8}else{while(1){if((c[o+24>>2]|0)==7){if((c[(Yu(c[o+32>>2]|0,p,h,0)|0)>>2]|0)!=5){break}Of(h)}o=c[o+112>>2]|0;if((o|0)==0){f=8;break a}}if((c[l>>2]|0)==5){f=10;break}b=Jy(h,a)|0}}while(0);if((f|0)==8){c[n>>2]=0;c[m>>2]=0;c[l>>2]=5;f=10}if((f|0)==10){b=Jy(b,a)|0}Of(h);if((b|0)!=0){MB(c[k>>2]|0,b);r=a+8|0;q=c[r>>2]|0;hd[c[(c[q>>2]|0)+136>>2]&127](q,c[k>>2]|0);hd[c[(c[b>>2]|0)+48>>2]&127](b,j);$W((c[k>>2]|0)+252|0,g|0,128)|0;r=c[r>>2]|0;hd[c[(c[r>>2]|0)+144>>2]&127](r,c[k>>2]|0);i=d;return}a=c[a+120>>2]|0;do{if((a|0)==0){a=-1}else{a=c[a+4>>2]|0;if((c[a+16>>2]|0)!=8){a=-1;break}a=c[a+24>>2]|0;a=jd[c[(c[a>>2]|0)+48>>2]&511](a)|0}}while(0);Qe(a,160520,e);i=d;return}function fw(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;f=i;j=i;i=i+8|0;k=j;g=i;i=i+8|0;h=g;n=i;i=i+8|0;o=n;l=i;i=i+8|0;m=l;if((a[b+13|0]&1)!=0){p=c[d>>2]|0;if((p|0)!=4){c[l>>2]=p;c[m+4>>2]=4;Qe(0,162256,m);tc()}c[n>>2]=c[d+8>>2];Kb(162184,o|0)|0;if((e|0)==2){l=c[r>>2]|0;Qf(d+16|0,l)}else{l=c[r>>2]|0}Hb(10)|0;Fc(l|0)|0}do{if((e|0)==2){if((c[d+16>>2]|0)!=7){break}j=c[b+8>>2]|0;k=c[d>>2]|0;if((k|0)!=4){c[g>>2]=k;c[h+4>>2]=4;Qe(0,162256,h);tc()}Gd[c[(c[j>>2]|0)+340>>2]&255](j,c[d+8>>2]|0,c[d+24>>2]|0);i=f;return}}while(0);g=c[b+8>>2]|0;h=c[d>>2]|0;if((h|0)!=4){c[j>>2]=h;c[k+4>>2]=4;Qe(0,162256,k);tc()}hdhd[Y&127](Z,z)}else{k=50}}while(0);if((k|0)==50){Rx(a,d)}Of(m)}else{k=60}}while(0);do{if((k|0)==60){k=c[a+120>>2]|0;do{if((k|0)==0){k=-1}else{k=c[k+4>>2]|0;if((c[k+16>>2]|0)!=8){k=-1;break}k=c[k+24>>2]|0;k=jd[c[(c[k>>2]|0)+48>>2]&511](k)|0}}while(0);if(!O){Qe(k,161448,F);break}l=c[D>>2]|0;if((l|0)==4){c[u>>2]=c[v>>2];Qe(k,161416,t);break}else{c[s>>2]=l;c[n+4>>2]=4;Qe(0,162256,n);tc()}}}while(0);Of(h);if((c[j>>2]|0)==7){Z=c[a+8>>2]|0;Gd[c[(c[Z>>2]|0)+348>>2]&255](Z,c[a+28>>2]|0,c[g>>2]|0)}Of(f);Of(d);i=e;return}}while(0);c[W>>2]=b;Qe(-1,159296,X);i=e;return}function hw(a,b,d){a=a|0;b=b|0;d=d|0;d=i;b=i;i=i+8|0;a=c[a+120>>2]|0;do{if((a|0)==0){a=-1}else{a=c[a+4>>2]|0;if((c[a+16>>2]|0)!=8){a=-1;break}a=c[a+24>>2]|0;a=jd[c[(c[a>>2]|0)+48>>2]&511](a)|0}}while(0);Qe(a,162040,b);i=d;return}function iw(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;b=i;e=a+116|0;d=c[e>>2]|0;if((d|0)!=0){c[e>>2]=c[d+4>>2];HW(d)}e=c[a+8>>2]|0;hd[c[(c[e>>2]|0)+328>>2]&127](e,c[a+28>>2]|0);i=b;return}function jw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;d=i;f=b+8|0;h=c[f>>2]|0;g=b+28|0;h=Bd[c[(c[h>>2]|0)+304>>2]&255](h,c[g>>2]|0)|0;e=c[f>>2]|0;hd[c[(c[e>>2]|0)+308>>2]&127](e,c[g>>2]|0);a[b+16|0]=0;e=b+15|0;if((a[e]&1)==0){h=e;a[h]=0;i=d;return}if(h){Bx(b,1)}h=c[f>>2]|0;hd[c[(c[h>>2]|0)+84>>2]&127](h,c[g>>2]|0);h=e;a[h]=0;i=d;return}function kw(a,b,d){a=a|0;b=b|0;d=d|0;b=i;d=a+56|0;a=c[d>>2]|0;if((a|0)<=0){i=b;return}c[d>>2]=a+ -1;i=b;return}function lw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;e=i;d=b+28|0;g=c[d>>2]|0;h=c[g+588>>2]|0;a:do{if((c[h+28>>2]|0)>0){h=c[b+116>>2]|0;b:do{if((h|0)!=0){if((a[h]&1)!=0){break a}while(1){h=c[h+4>>2]|0;if((h|0)==0){break b}if((a[h]&1)!=0){break a}}}}while(0);h=c[g+116>>2]|0;if((jd[c[(c[h>>2]|0)+12>>2]&511](h)|0)==10){Bx(b,0);break}else{h=c[b+8>>2]|0;hd[c[(c[h>>2]|0)+216>>2]&127](h,c[d>>2]|0);break}}else{if((a[h]&1)!=0){break}i=e;return}}while(0);g=c[d>>2]|0;h=c[g+588>>2]|0;do{if((c[h+28>>2]|0)>0){f=13}else{if((a[h]&1)!=0){f=13;break}b=b+52|0}}while(0);do{if((f|0)==13){f=b+52|0;if((c[f>>2]|0)==0){b=f;break}TB(g);b=c[b+8>>2]|0;g=c[b>>2]|0;if((c[f>>2]|0)==1){hd[c[g+256>>2]&127](b,c[d>>2]|0);b=f;break}else{hd[c[g+260>>2]&127](b,c[d>>2]|0);b=f;break}}}while(0);c[b>>2]=0;SB(c[d>>2]|0);i=e;return}function mw(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.0,m=0;e=i;k=i;i=i+16|0;j=k;d=i;i=i+128|0;f=a+28|0;OB(c[f>>2]|0,0);m=c[f>>2]|0;g=FW(4)|0;Ty(g);MB(m,g);a=a+8|0;g=c[a>>2]|0;hd[c[(c[g>>2]|0)+136>>2]&127](g,c[f>>2]|0);g=c[b>>2]|0;if((g+ -1|0)>>>0>=2){c[k>>2]=g;c[j+4>>2]=1;c[j+8>>2]=2;Qe(0,162328,j);tc()}b=b+8|0;if((g|0)==1){l=+(c[b>>2]|0)}else{l=+h[b>>3]}m=c[f>>2]|0;c[m+252>>2]=~~(l*65536.0);$W(m+256|0,d|0,124)|0;m=c[a>>2]|0;hd[c[(c[m>>2]|0)+144>>2]&127](m,c[f>>2]|0);i=e;return}function nw(a,b,d){a=a|0;b=b|0;d=d|0;d=i;b=i;i=i+8|0;a=c[a+120>>2]|0;do{if((a|0)==0){a=-1}else{a=c[a+4>>2]|0;if((c[a+16>>2]|0)!=8){a=-1;break}a=c[a+24>>2]|0;a=jd[c[(c[a>>2]|0)+48>>2]&511](a)|0}}while(0);Qe(a,162008,b);i=d;return}function ow(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;d=i;g=i;i=i+8|0;f=g;e=a+28|0;h=c[b>>2]|0;if((h|0)==1){c[(c[e>>2]|0)+464>>2]=c[b+8>>2];h=c[a+8>>2]|0;hd[c[(c[h>>2]|0)+108>>2]&127](h,c[e>>2]|0);i=d;return}else{c[g>>2]=h;c[f+4>>2]=1;Qe(0,162256,f);tc()}}function pw(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.0;g=i;j=i;i=i+16|0;d=j;f=i;i=i+128|0;k=f;e=a+28|0;OB(c[e>>2]|0,0);n=c[e>>2]|0;l=FW(4)|0;vz(l);MB(n,l);a=a+8|0;l=c[a>>2]|0;hd[c[(c[l>>2]|0)+136>>2]&127](l,c[e>>2]|0);l=0;while(1){m=c[b+(l<<4)>>2]|0;if((m+ -1|0)>>>0>=2){b=3;break}n=b+(l<<4)+8|0;if((m|0)==1){o=+(c[n>>2]|0)}else{o=+h[n>>3]}c[k+(l<<2)>>2]=~~(o*65536.0);l=l+1|0;if((l|0)>=4){b=8;break}}if((b|0)==3){c[j>>2]=m;c[d+4>>2]=1;c[d+8>>2]=2;Qe(0,162328,d);tc()}else if((b|0)==8){$W((c[e>>2]|0)+252|0,f|0,128)|0;n=c[a>>2]|0;hd[c[(c[n>>2]|0)+144>>2]&127](n,c[e>>2]|0);i=g;return}}function qw(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.0;e=i;j=i;i=i+16|0;k=j;d=a+28|0;f=c[d>>2]|0;g=c[b>>2]|0;if((g+ -1|0)>>>0>=2){c[j>>2]=g;c[k+4>>2]=1;c[k+8>>2]=2;Qe(0,162328,k);tc()}b=b+8|0;if((g|0)==1){l=+(c[b>>2]|0)}else{l=+h[b>>3]}h[f+472>>3]=l;k=c[a+8>>2]|0;hd[c[(c[k>>2]|0)+112>>2]&127](k,c[d>>2]|0);i=e;return}function rw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;e=i;d=i;i=i+8|0;f=b+32|0;h=c[b+36>>2]|0;do{if((c[f>>2]|0)>(c[h+(((c[b+40>>2]|0)-h>>2)+ -1<<2)>>2]|0)){h=b+28|0;g=c[h>>2]|0;if((c[g+656>>2]|0)==0){break}g=YB(g)|0;c[h>>2]=g;h=c[b+8>>2]|0;hd[c[(c[h>>2]|0)+84>>2]&127](h,g);c[f>>2]=(c[f>>2]|0)+ -1;i=e;return}}while(0);Qe(-1,162208,d);a[b+18|0]=1;i=e;return}function sw(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.0;g=i;j=i;i=i+16|0;d=j;f=i;i=i+128|0;k=f;e=a+28|0;OB(c[e>>2]|0,0);n=c[e>>2]|0;l=FW(4)|0;gz(l);MB(n,l);a=a+8|0;l=c[a>>2]|0;hd[c[(c[l>>2]|0)+136>>2]&127](l,c[e>>2]|0);l=0;while(1){m=c[b+(l<<4)>>2]|0;if((m+ -1|0)>>>0>=2){b=3;break}n=b+(l<<4)+8|0;if((m|0)==1){o=+(c[n>>2]|0)}else{o=+h[n>>3]}c[k+(l<<2)>>2]=~~(o*65536.0);l=l+1|0;if((l|0)>=3){b=8;break}}if((b|0)==3){c[j>>2]=m;c[d+4>>2]=1;c[d+8>>2]=2;Qe(0,162328,d);tc()}else if((b|0)==8){$W((c[e>>2]|0)+252|0,f|0,128)|0;n=c[a>>2]|0;hd[c[(c[n>>2]|0)+144>>2]&127](n,c[e>>2]|0);i=g;return}}function tw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;e=i;d=b+28|0;g=c[d>>2]|0;h=c[g+588>>2]|0;a:do{if((c[h+28>>2]|0)>0){h=c[b+116>>2]|0;b:do{if((h|0)!=0){if((a[h]&1)!=0){break a}while(1){h=c[h+4>>2]|0;if((h|0)==0){break b}if((a[h]&1)!=0){break a}}}}while(0);h=c[g+120>>2]|0;if((jd[c[(c[h>>2]|0)+12>>2]&511](h)|0)==10){Cx(b);break}else{h=c[b+8>>2]|0;hd[c[(c[h>>2]|0)+212>>2]&127](h,c[d>>2]|0);break}}else{if((a[h]&1)!=0){break}i=e;return}}while(0);g=c[d>>2]|0;h=c[g+588>>2]|0;do{if((c[h+28>>2]|0)>0){f=13}else{if((a[h]&1)!=0){f=13;break}b=b+52|0}}while(0);do{if((f|0)==13){f=b+52|0;if((c[f>>2]|0)==0){b=f;break}TB(g);b=c[b+8>>2]|0;g=c[b>>2]|0;if((c[f>>2]|0)==1){hd[c[g+256>>2]&127](b,c[d>>2]|0);b=f;break}else{hd[c[g+260>>2]&127](b,c[d>>2]|0);b=f;break}}}while(0);c[b>>2]=0;SB(c[d>>2]|0);i=e;return}function uw(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.0;e=i;f=i;i=i+16|0;g=f;m=i;i=i+8|0;k=i;i=i+128|0;l=k;j=a+28|0;o=c[(c[j>>2]|0)+120>>2]|0;if((jd[c[(c[o>>2]|0)+44>>2]&511](o)|0)!=(d|0)){d=c[a+120>>2]|0;do{if((d|0)==0){d=-1}else{d=c[d+4>>2]|0;if((c[d+16>>2]|0)!=8){d=-1;break}d=c[d+24>>2]|0;d=jd[c[(c[d>>2]|0)+48>>2]&511](d)|0}}while(0);Qe(d,160600,m);i=e;return}OB(c[j>>2]|0,0);a:do{if((d|0)>0){m=0;while(1){n=c[b+(m<<4)>>2]|0;if((n+ -1|0)>>>0>=2){break}o=b+(m<<4)+8|0;if((n|0)==1){p=+(c[o>>2]|0)}else{p=+h[o>>3]}c[l+(m<<2)>>2]=~~(p*65536.0);m=m+1|0;if((m|0)>=(d|0)){break a}}c[f>>2]=n;c[g+4>>2]=1;c[g+8>>2]=2;Qe(0,162328,g);tc()}}while(0);$W((c[j>>2]|0)+252|0,k|0,128)|0;o=c[a+8>>2]|0;hd[c[(c[o>>2]|0)+144>>2]&127](o,c[j>>2]|0);i=e;return}function vw(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.0;e=i;l=i;i=i+8|0;k=i;i=i+8|0;g=i;i=i+128|0;j=g;f=a+28|0;m=c[(c[f>>2]|0)+120>>2]|0;if((jd[c[(c[m>>2]|0)+12>>2]&511](m)|0)!=10){m=c[(c[f>>2]|0)+120>>2]|0;if((jd[c[(c[m>>2]|0)+44>>2]&511](m)|0)!=(d|0)){f=c[a+120>>2]|0;do{if((f|0)==0){f=-1}else{f=c[f+4>>2]|0;if((c[f+16>>2]|0)!=8){f=-1;break}f=c[f+24>>2]|0;f=jd[c[(c[f>>2]|0)+48>>2]&511](f)|0}}while(0);Qe(f,160696,l);i=e;return}OB(c[f>>2]|0,0);if((d|0)>0){k=0;do{m=c[b+(k<<4)>>2]|0;if((m+ -1|0)>>>0<2){l=b+(k<<4)+8|0;if((m|0)==1){n=+(c[l>>2]|0)}else{n=+h[l>>3]}c[j+(k<<2)>>2]=~~(n*65536.0)}else{c[j+(k<<2)>>2]=0}k=k+1|0;}while((k|0)<(d|0)&(k|0)<32)}$W((c[f>>2]|0)+252|0,g|0,128)|0;m=c[a+8>>2]|0;hd[c[(c[m>>2]|0)+144>>2]&127](m,c[f>>2]|0);i=e;return}a:do{if((d|0)>1){l=c[(c[(c[f>>2]|0)+120>>2]|0)+4>>2]|0;do{if((l|0)!=0){d=d+ -1|0;if((d|0)!=(jd[c[(c[l>>2]|0)+44>>2]&511](l)|0)){break}if((d|0)>0){k=0;do{m=c[b+(k<<4)>>2]|0;if((m+ -1|0)>>>0<2){l=b+(k<<4)+8|0;if((m|0)==1){n=+(c[l>>2]|0)}else{n=+h[l>>3]}c[j+(k<<2)>>2]=~~(n*65536.0)}else{c[j+(k<<2)>>2]=0}k=k+1|0;}while((k|0)<(d|0)&(k|0)<32)}$W((c[f>>2]|0)+252|0,g|0,128)|0;m=c[a+8>>2]|0;hd[c[(c[m>>2]|0)+144>>2]&127](m,c[f>>2]|0);break a}}while(0);f=c[a+120>>2]|0;do{if((f|0)==0){f=-1}else{f=c[f+4>>2]|0;if((c[f+16>>2]|0)!=8){f=-1;break}f=c[f+24>>2]|0;f=jd[c[(c[f>>2]|0)+48>>2]&511](f)|0}}while(0);Qe(f,160696,k);i=e;return}else{d=d+ -1|0}}while(0);if((c[b+(d<<4)>>2]|0)!=4){i=e;return}b=ox(c[a+20>>2]|0,c[b+(d<<4)+8>>2]|0,a)|0;if((b|0)==0){i=e;return}OB(c[f>>2]|0,b);i=e;return}function ww(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,g=0.0,j=0;d=i;b=a+28|0;e=c[b>>2]|0;g=+h[e+608>>3];j=e+616|0;f=+h[j>>3]- +h[e+568>>3];h[j>>3]=f;h[e+592>>3]=+h[e+528>>3]+(g*+h[e+496>>3]+f*+h[e+512>>3]);h[e+600>>3]=+h[e+536>>3]+(g*+h[e+504>>3]+f*+h[e+520>>3]);a=c[a+8>>2]|0;hd[c[(c[a>>2]|0)+204>>2]&127](a,c[b>>2]|0);i=d;return}function xw(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.0;e=i;g=i;i=i+16|0;j=g;m=i;i=i+16|0;n=m;d=a+28|0;f=c[d>>2]|0;k=+h[f+608>>3];l=c[b>>2]|0;if((l+ -1|0)>>>0>=2){c[m>>2]=l;c[n+4>>2]=1;c[n+8>>2]=2;Qe(0,162328,n);tc()}m=b+8|0;if((l|0)==1){o=+(c[m>>2]|0)}else{o=+h[m>>3]}k=k+o;l=c[b+16>>2]|0;if((l+ -1|0)>>>0>=2){c[g>>2]=l;c[j+4>>2]=1;c[j+8>>2]=2;Qe(0,162328,j);tc()}b=b+24|0;if((l|0)==1){o=+(c[b>>2]|0)}else{o=+h[b>>3]}h[f+568>>3]=-0.0-o;n=c[d>>2]|0;m=n+616|0;o=o+ +h[m>>3];h[n+608>>3]=k;h[m>>3]=o;h[n+592>>3]=+h[n+528>>3]+(k*+h[n+496>>3]+o*+h[n+512>>3]);h[n+600>>3]=+h[n+536>>3]+(k*+h[n+504>>3]+o*+h[n+520>>3]);n=c[a+8>>2]|0;hd[c[(c[n>>2]|0)+204>>2]&127](n,c[d>>2]|0);i=e;return}function yw(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.0,v=0;e=i;m=i;i=i+8|0;n=i;i=i+16|0;f=n;q=i;i=i+8|0;p=q;o=i;i=i+8|0;l=i;i=i+16|0;j=l;c[l>>2]=13;k=j+8|0;c[k>>2]=0;c[k+4>>2]=0;g=b+28|0;r=c[g>>2]|0;if((c[r+484>>2]|0)==0){b=c[b+120>>2]|0;do{if((b|0)==0){b=-1}else{b=c[b+4>>2]|0;if((c[b+16>>2]|0)!=8){b=-1;break}b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}}while(0);Qe(b,161168,o);i=e;return}s=b+48|0;o=b+8|0;if((a[s]&1)!=0){v=c[o>>2]|0;hd[c[(c[v>>2]|0)+176>>2]&127](v,r);a[s]=0;r=c[g>>2]|0}s=c[o>>2]|0;hd[c[(c[s>>2]|0)+268>>2]&127](s,r);r=c[(c[g>>2]|0)+484>>2]|0;r=jd[c[(c[r>>2]|0)+8>>2]&511](r)|0;s=c[d>>2]|0;if((s|0)!=6){c[q>>2]=s;c[p+4>>2]=6;Qe(0,162256,p);tc()}p=c[d+8>>2]|0;d=p+12|0;a:do{if((c[d>>2]|0)>0){r=(r|0)==0;q=b+120|0;s=0;b:while(1){ut(p,s,j)|0;v=c[l>>2]|0;do{if((v+ -1|0)>>>0<2){t=c[g>>2]|0;if((v|0)==1){u=+(c[k>>2]|0)}else{u=+h[k>>3]}u=u*-.001*+S(+(+h[t+488>>3]));if(r){VB(t,u,0.0)}else{VB(t,0.0,u)}t=c[o>>2]|0;v=c[l>>2]|0;if((v+ -1|0)>>>0>=2){break b}if((v|0)==1){u=+(c[k>>2]|0)}else{u=+h[k>>3]}Id[c[(c[t>>2]|0)+208>>2]&3](t,c[g>>2]|0,u)}else{if((v|0)==3){Ox(b,c[k>>2]|0);break}t=c[q>>2]|0;do{if((t|0)==0){t=-1}else{t=c[t+4>>2]|0;if((c[t+16>>2]|0)!=8){t=-1;break}t=c[t+24>>2]|0;t=jd[c[(c[t>>2]|0)+48>>2]&511](t)|0}}while(0);Qe(t,161192,m)}}while(0);Of(j);s=s+1|0;if((s|0)>=(c[d>>2]|0)){break a}}c[n>>2]=v;c[f+4>>2]=1;c[f+8>>2]=2;Qe(0,162328,f);tc()}}while(0);v=c[o>>2]|0;hd[c[(c[v>>2]|0)+272>>2]&127](v,c[g>>2]|0);i=e;return}function zw(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,j=0.0;d=i;g=i;i=i+16|0;f=g;a=c[a+28>>2]|0;e=c[b>>2]|0;if((e+ -1|0)>>>0>=2){c[g>>2]=e;c[f+4>>2]=1;c[f+8>>2]=2;Qe(0,162328,f);tc()}b=b+8|0;if((e|0)==1){j=+(c[b>>2]|0);g=a+568|0;h[g>>3]=j;i=d;return}else{j=+h[b>>3];g=a+568|0;h[g>>3]=j;i=d;return}}function Aw(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.0;e=i;j=i;i=i+16|0;k=j;d=a+28|0;f=c[d>>2]|0;g=c[b>>2]|0;if((g+ -1|0)>>>0>=2){c[j>>2]=g;c[k+4>>2]=1;c[k+8>>2]=2;Qe(0,162328,k);tc()}b=b+8|0;if((g|0)==1){l=+(c[b>>2]|0)}else{l=+h[b>>3]}h[f+544>>3]=l;k=c[a+8>>2]|0;hd[c[(c[k>>2]|0)+184>>2]&127](k,c[d>>2]|0);i=e;return}function Bw(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.0,m=0.0,n=0,o=0,p=0,q=0.0;e=i;j=i;i=i+16|0;k=j;o=i;i=i+16|0;p=o;d=a+28|0;f=c[d>>2]|0;g=f+608|0;l=+h[g>>3];n=c[b>>2]|0;if((n+ -1|0)>>>0>=2){c[o>>2]=n;c[p+4>>2]=1;c[p+8>>2]=2;Qe(0,162328,p);tc()}o=b+8|0;if((n|0)==1){m=+(c[o>>2]|0)}else{m=+h[o>>3]}m=l+m;n=f+616|0;l=+h[n>>3];o=c[b+16>>2]|0;if((o+ -1|0)>>>0>=2){c[j>>2]=o;c[k+4>>2]=1;c[k+8>>2]=2;Qe(0,162328,k);tc()}b=b+24|0;if((o|0)==1){q=+(c[b>>2]|0)}else{q=+h[b>>3]}q=l+q;h[g>>3]=m;h[n>>3]=q;h[f+592>>3]=+h[f+528>>3]+(m*+h[f+496>>3]+q*+h[f+512>>3]);h[f+600>>3]=+h[f+536>>3]+(m*+h[f+504>>3]+q*+h[f+520>>3]);p=c[a+8>>2]|0;hd[c[(c[p>>2]|0)+204>>2]&127](p,c[d>>2]|0);i=e;return}function Cw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0.0;e=i;f=i;i=i+16|0;g=f;j=i;i=i+16|0;l=j;o=i;i=i+16|0;n=o;p=i;i=i+16|0;q=p;t=i;i=i+8|0;s=t;u=i;i=i+8|0;w=u;m=c[b+20>>2]|0;v=c[d>>2]|0;if((v|0)!=4){c[u>>2]=v;c[w+4>>2]=4;Qe(0,162256,w);tc()}u=c[d+8>>2]|0;a:do{if((m|0)!=0){v=m;while(1){m=c[v>>2]|0;if((m|0)!=0){m=wy(m,u)|0;if((m|0)!=0){break}}v=c[v+112>>2]|0;if((v|0)==0){break a}}if((a[b+13|0]&1)==0){s=d+16|0}else{p=c[(c[m+8>>2]|0)+28>>2]|0;q=c[m+20>>2]|0;if((q|0)==0){q=161088}else{q=c[q+28>>2]|0}s=d+16|0;t=c[s>>2]|0;if((t+ -1|0)>>>0>=2){c[o>>2]=t;c[n+4>>2]=1;c[n+8>>2]=2;Qe(0,162328,n);tc()}n=d+24|0;if((t|0)==1){x=+(c[n>>2]|0)}else{x=+h[n>>3]}c[j>>2]=p;c[l+4>>2]=q;w=l+8|0;h[k>>3]=x;c[w>>2]=c[k>>2];c[w+4>>2]=c[k+4>>2];Kb(161056,l|0)|0;Fc(c[r>>2]|0)|0}Xx(m);j=c[b+28>>2]|0;l=c[s>>2]|0;if((l+ -1|0)>>>0>=2){c[f>>2]=l;c[g+4>>2]=1;c[g+8>>2]=2;Qe(0,162328,g);tc()}d=d+24|0;if((l|0)==1){x=+(c[d>>2]|0)}else{x=+h[d>>3]}PB(j,m,x);a[b+48|0]=1;i=e;return}}while(0);c[t>>2]=u;Qe(-1,159272,s);f=c[b+28>>2]|0;g=c[d+16>>2]|0;if((g+ -1|0)>>>0>=2){c[p>>2]=g;c[q+4>>2]=1;c[q+8>>2]=2;Qe(0,162328,q);tc()}d=d+24|0;if((g|0)==1){x=+(c[d>>2]|0)}else{x=+h[d>>3]}PB(f,0,x);a[b+48|0]=1;i=e;return}function Dw(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;e=i;g=i;i=i+8|0;h=g;j=i;i=i+8|0;f=b+28|0;k=c[f>>2]|0;if((c[k+484>>2]|0)==0){b=c[b+120>>2]|0;do{if((b|0)==0){b=-1}else{b=c[b+4>>2]|0;if((c[b+16>>2]|0)!=8){b=-1;break}b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}}while(0);Qe(b,161096,j);i=e;return}l=b+48|0;j=b+8|0;if((a[l]&1)!=0){m=c[j>>2]|0;hd[c[(c[m>>2]|0)+176>>2]&127](m,k);a[l]=0;k=c[f>>2]|0}m=c[j>>2]|0;hd[c[(c[m>>2]|0)+268>>2]&127](m,k);k=c[d>>2]|0;if((k|0)!=3){c[g>>2]=k;c[h+4>>2]=3;Qe(0,162256,h);tc()}Ox(b,c[d+8>>2]|0);m=c[j>>2]|0;hd[c[(c[m>>2]|0)+272>>2]&127](m,c[f>>2]|0);i=e;return}function Ew(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.0,p=0,q=0,r=0,s=0,t=0.0,u=0,v=0,w=0,x=0.0,y=0,z=0,A=0.0,B=0.0;f=i;k=i;i=i+16|0;j=k;n=i;i=i+16|0;m=n;q=i;i=i+16|0;p=q;s=i;i=i+16|0;r=s;v=i;i=i+16|0;u=v;z=i;i=i+16|0;y=z;g=b+28|0;e=c[g>>2]|0;w=c[d>>2]|0;if((w+ -1|0)>>>0>=2){c[z>>2]=w;c[y+4>>2]=1;c[y+8>>2]=2;Qe(0,162328,y);tc()}y=d+8|0;if((w|0)==1){l=+(c[y>>2]|0)}else{l=+h[y>>3]}w=c[d+16>>2]|0;if((w+ -1|0)>>>0>=2){c[v>>2]=w;c[u+4>>2]=1;c[u+8>>2]=2;Qe(0,162328,u);tc()}u=d+24|0;if((w|0)==1){o=+(c[u>>2]|0)}else{o=+h[u>>3]}u=c[d+32>>2]|0;if((u+ -1|0)>>>0>=2){c[s>>2]=u;c[r+4>>2]=1;c[r+8>>2]=2;Qe(0,162328,r);tc()}r=d+40|0;if((u|0)==1){t=+(c[r>>2]|0)}else{t=+h[r>>3]}r=c[d+48>>2]|0;if((r+ -1|0)>>>0>=2){c[q>>2]=r;c[p+4>>2]=1;c[p+8>>2]=2;Qe(0,162328,p);tc()}p=d+56|0;if((r|0)==1){x=+(c[p>>2]|0)}else{x=+h[p>>3]}p=c[d+64>>2]|0;if((p+ -1|0)>>>0>=2){c[n>>2]=p;c[m+4>>2]=1;c[m+8>>2]=2;Qe(0,162328,m);tc()}m=d+72|0;if((p|0)==1){A=+(c[m>>2]|0)}else{A=+h[m>>3]}m=c[d+80>>2]|0;if((m+ -1|0)>>>0>=2){c[k>>2]=m;c[j+4>>2]=1;c[j+8>>2]=2;Qe(0,162328,j);tc()}d=d+88|0;if((m|0)==1){B=+(c[d>>2]|0)}else{B=+h[d>>3]}h[e+496>>3]=l;h[e+504>>3]=o;h[e+512>>3]=t;h[e+520>>3]=x;h[e+528>>3]=A;h[e+536>>3]=B;z=c[g>>2]|0;bX(z+608|0,0,16)|0;h[z+592>>3]=+h[z+528>>3]+(+h[z+496>>3]*0.0+ +h[z+512>>3]*0.0);h[z+600>>3]=+h[z+536>>3]+(+h[z+504>>3]*0.0+ +h[z+520>>3]*0.0);z=b+8|0;y=c[z>>2]|0;hd[c[(c[y>>2]|0)+180>>2]&127](y,c[g>>2]|0);z=c[z>>2]|0;hdhd[c[(c[n>>2]|0)+308>>2]&127](n,c[f>>2]|0);if(o){Bx(b,1)}o=c[h>>2]|0;hd[c[(c[o>>2]|0)+84>>2]&127](o,c[f>>2]|0);o=c[h>>2]|0;hd[c[(c[o>>2]|0)+300>>2]&127](o,c[f>>2]|0);o=c[h>>2]|0;hd[c[(c[o>>2]|0)+180>>2]&127](o,c[f>>2]|0);o=c[h>>2]|0;hd[c[(c[o>>2]|0)+204>>2]&127](o,c[f>>2]|0);a[j]=0}}while(0);do{if((g|0)==11){if((h&4|0)==0|k^1){break}g=b+8|0;o=c[g>>2]|0;if(!(Bd[c[(c[o>>2]|0)+40>>2]&255](o,c[f>>2]|0)|0)){break}if((a[b+16|0]&1)==0){break}o=c[g>>2]|0;hd[c[(c[o>>2]|0)+300>>2]&127](o,c[f>>2]|0);a[b+15|0]=1}}while(0);o=c[b+8>>2]|0;hd[c[(c[o>>2]|0)+188>>2]&127](o,c[f>>2]|0);i=e;return}function Gw(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.0;e=i;j=i;i=i+16|0;k=j;d=a+28|0;f=c[d>>2]|0;g=c[b>>2]|0;if((g+ -1|0)>>>0>=2){c[j>>2]=g;c[k+4>>2]=1;c[k+8>>2]=2;Qe(0,162328,k);tc()}b=b+8|0;if((g|0)==1){l=+(c[b>>2]|0)}else{l=+h[b>>3]}h[f+576>>3]=l;k=c[a+8>>2]|0;hd[c[(c[k>>2]|0)+192>>2]&127](k,c[d>>2]|0);i=e;return}function Hw(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.0;e=i;j=i;i=i+16|0;k=j;d=a+28|0;f=c[d>>2]|0;g=c[b>>2]|0;if((g+ -1|0)>>>0>=2){c[j>>2]=g;c[k+4>>2]=1;c[k+8>>2]=2;Qe(0,162328,k);tc()}b=b+8|0;if((g|0)==1){l=+(c[b>>2]|0)}else{l=+h[b>>3]}h[f+552>>3]=l;k=c[a+8>>2]|0;hd[c[(c[k>>2]|0)+196>>2]&127](k,c[d>>2]|0);i=e;return}function Iw(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.0;f=i;k=i;i=i+16|0;l=k;e=b+28|0;g=c[e>>2]|0;j=c[d>>2]|0;if((j+ -1|0)>>>0>=2){c[k>>2]=j;c[l+4>>2]=1;c[l+8>>2]=2;Qe(0,162328,l);tc()}d=d+8|0;if((j|0)==1){m=+(c[d>>2]|0)}else{m=+h[d>>3]}h[g+560>>3]=m*.01;l=c[b+8>>2]|0;hd[c[(c[l>>2]|0)+200>>2]&127](l,c[e>>2]|0);a[b+48|0]=1;i=f;return}function Jw(a,b,d){a=a|0;b=b|0;d=d|0;c[a+52>>2]=1;i=i;return}function Kw(a,b,d){a=a|0;b=b|0;d=d|0;c[a+52>>2]=2;i=i;return}function Lw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,k=0,l=0;e=i;d=b+28|0;g=c[d>>2]|0;j=g+588|0;k=c[j>>2]|0;a:do{if((c[k+28>>2]|0)>0){l=c[b+116>>2]|0;b:do{if((l|0)!=0){if((a[l]&1)!=0){break a}while(1){l=c[l+4>>2]|0;if((l|0)==0){break b}if((a[l]&1)!=0){break a}}}}while(0);xB(k);k=c[j>>2]|0;l=k+28|0;k=k+24|0;j=c[(c[k>>2]|0)+((c[l>>2]|0)+ -1<<2)>>2]|0;h[g+592>>3]=+h[(c[j>>2]|0)+((c[j+12>>2]|0)+ -1<<3)>>3];l=c[(c[k>>2]|0)+((c[l>>2]|0)+ -1<<2)>>2]|0;h[g+600>>3]=+h[(c[l+4>>2]|0)+((c[l+12>>2]|0)+ -1<<3)>>3];l=c[(c[d>>2]|0)+116>>2]|0;if((jd[c[(c[l>>2]|0)+12>>2]&511](l)|0)==10){Bx(b,0)}else{l=c[b+8>>2]|0;hd[c[(c[l>>2]|0)+216>>2]&127](l,c[d>>2]|0)}l=c[(c[d>>2]|0)+120>>2]|0;if((jd[c[(c[l>>2]|0)+12>>2]&511](l)|0)==10){Cx(b);break}else{l=c[b+8>>2]|0;hd[c[(c[l>>2]|0)+212>>2]&127](l,c[d>>2]|0);break}}else{if((a[k]&1)!=0){break}i=e;return}}while(0);g=c[d>>2]|0;j=c[g+588>>2]|0;do{if((c[j+28>>2]|0)>0){f=16}else{if((a[j]&1)!=0){f=16;break}b=b+52|0}}while(0);do{if((f|0)==16){f=b+52|0;if((c[f>>2]|0)==0){b=f;break}TB(g);g=c[b+8>>2]|0;b=c[g>>2]|0;if((c[f>>2]|0)==1){hd[c[b+256>>2]&127](g,c[d>>2]|0);b=f;break}else{hd[c[b+260>>2]&127](g,c[d>>2]|0);b=f;break}}}while(0);c[b>>2]=0;SB(c[d>>2]|0);i=e;return}function Mw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,k=0,l=0;e=i;d=b+28|0;g=c[d>>2]|0;j=g+588|0;k=c[j>>2]|0;a:do{if((c[k+28>>2]|0)>0){l=c[b+116>>2]|0;b:do{if((l|0)!=0){if((a[l]&1)!=0){break a}while(1){l=c[l+4>>2]|0;if((l|0)==0){break b}if((a[l]&1)!=0){break a}}}}while(0);xB(k);k=c[j>>2]|0;l=k+28|0;k=k+24|0;j=c[(c[k>>2]|0)+((c[l>>2]|0)+ -1<<2)>>2]|0;h[g+592>>3]=+h[(c[j>>2]|0)+((c[j+12>>2]|0)+ -1<<3)>>3];l=c[(c[k>>2]|0)+((c[l>>2]|0)+ -1<<2)>>2]|0;h[g+600>>3]=+h[(c[l+4>>2]|0)+((c[l+12>>2]|0)+ -1<<3)>>3];l=c[(c[d>>2]|0)+116>>2]|0;if((jd[c[(c[l>>2]|0)+12>>2]&511](l)|0)==10){Bx(b,1)}else{l=c[b+8>>2]|0;hd[c[(c[l>>2]|0)+220>>2]&127](l,c[d>>2]|0)}l=c[(c[d>>2]|0)+120>>2]|0;if((jd[c[(c[l>>2]|0)+12>>2]&511](l)|0)==10){Cx(b);break}else{l=c[b+8>>2]|0;hd[c[(c[l>>2]|0)+212>>2]&127](l,c[d>>2]|0);break}}else{if((a[k]&1)!=0){break}i=e;return}}while(0);g=c[d>>2]|0;j=c[g+588>>2]|0;do{if((c[j+28>>2]|0)>0){f=16}else{if((a[j]&1)!=0){f=16;break}b=b+52|0}}while(0);do{if((f|0)==16){f=b+52|0;if((c[f>>2]|0)==0){b=f;break}TB(g);g=c[b+8>>2]|0;b=c[g>>2]|0;if((c[f>>2]|0)==1){hd[c[b+256>>2]&127](g,c[d>>2]|0);b=f;break}else{hd[c[b+260>>2]&127](g,c[d>>2]|0);b=f;break}}}while(0);c[b>>2]=0;SB(c[d>>2]|0);i=e;return}function Nw(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.0,o=0,p=0,q=0.0,r=0,s=0,t=0,u=0,v=0.0,w=0,x=0,y=0,z=0.0,A=0.0,B=0.0;e=i;j=i;i=i+16|0;k=j;m=i;i=i+16|0;l=m;p=i;i=i+16|0;o=p;s=i;i=i+16|0;r=s;u=i;i=i+16|0;t=u;y=i;i=i+16|0;x=y;w=i;i=i+8|0;g=c[b+28>>2]|0;f=c[g+588>>2]|0;do{if((c[f+28>>2]|0)<=0){if((a[f]&1)!=0){break}f=c[b+120>>2]|0;do{if((f|0)==0){f=-1}else{f=c[f+4>>2]|0;if((c[f+16>>2]|0)!=8){f=-1;break}f=c[f+24>>2]|0;f=jd[c[(c[f>>2]|0)+48>>2]&511](f)|0}}while(0);Qe(f,160776,w);i=e;return}}while(0);w=c[d>>2]|0;if((w+ -1|0)>>>0>=2){c[y>>2]=w;c[x+4>>2]=1;c[x+8>>2]=2;Qe(0,162328,x);tc()}b=d+8|0;if((w|0)==1){n=+(c[b>>2]|0)}else{n=+h[b>>3]}w=c[d+16>>2]|0;if((w+ -1|0)>>>0>=2){c[u>>2]=w;c[t+4>>2]=1;c[t+8>>2]=2;Qe(0,162328,t);tc()}t=d+24|0;if((w|0)==1){q=+(c[t>>2]|0)}else{q=+h[t>>3]}t=c[d+32>>2]|0;if((t+ -1|0)>>>0>=2){c[s>>2]=t;c[r+4>>2]=1;c[r+8>>2]=2;Qe(0,162328,r);tc()}r=d+40|0;if((t|0)==1){v=+(c[r>>2]|0)}else{v=+h[r>>3]}r=c[d+48>>2]|0;if((r+ -1|0)>>>0>=2){c[p>>2]=r;c[o+4>>2]=1;c[o+8>>2]=2;Qe(0,162328,o);tc()}o=d+56|0;if((r|0)==1){z=+(c[o>>2]|0)}else{z=+h[o>>3]}o=c[d+64>>2]|0;if((o+ -1|0)>>>0>=2){c[m>>2]=o;c[l+4>>2]=1;c[l+8>>2]=2;Qe(0,162328,l);tc()}l=d+72|0;if((o|0)==1){A=+(c[l>>2]|0)}else{A=+h[l>>3]}l=c[d+80>>2]|0;if((l+ -1|0)>>>0>=2){c[j>>2]=l;c[k+4>>2]=1;c[k+8>>2]=2;Qe(0,162328,k);tc()}d=d+88|0;if((l|0)==1){B=+(c[d>>2]|0)}else{B=+h[d>>3]}h[g+592>>3]=A;h[g+600>>3]=B;wB(f,n,q,v,z,A,B);i=e;return}function Ow(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.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0,N=0.0;g=i;f=i;i=i+16|0;e=f;j=i;i=i+16|0;k=j;l=i;i=i+16|0;m=l;o=i;i=i+16|0;n=o;q=i;i=i+16|0;p=q;r=i;i=i+16|0;s=r;F=i;i=i+16|0;D=F;G=i;i=i+16|0;E=G;B=i;i=i+16|0;C=B;A=i;i=i+16|0;y=A;x=i;i=i+16|0;w=x;u=i;i=i+16|0;M=u;t=b+28|0;z=c[t>>2]|0;v=c[d>>2]|0;if((v+ -1|0)>>>0>=2){c[u>>2]=v;c[M+4>>2]=1;c[M+8>>2]=2;Qe(0,162328,M);tc()}u=d+8|0;if((v|0)==1){H=+(c[u>>2]|0)}else{H=+h[u>>3]}v=d+16|0;M=c[v>>2]|0;if((M+ -1|0)>>>0>=2){c[x>>2]=M;c[w+4>>2]=1;c[w+8>>2]=2;Qe(0,162328,w);tc()}x=d+24|0;if((M|0)==1){I=+(c[x>>2]|0)}else{I=+h[x>>3]}w=d+32|0;M=c[w>>2]|0;if((M+ -1|0)>>>0>=2){c[A>>2]=M;c[y+4>>2]=1;c[y+8>>2]=2;Qe(0,162328,y);tc()}y=d+40|0;if((M|0)==1){J=+(c[y>>2]|0)}else{J=+h[y>>3]}A=d+48|0;M=c[A>>2]|0;if((M+ -1|0)>>>0>=2){c[B>>2]=M;c[C+4>>2]=1;c[C+8>>2]=2;Qe(0,162328,C);tc()}B=d+56|0;if((M|0)==1){K=+(c[B>>2]|0)}else{K=+h[B>>3]}C=d+64|0;M=c[C>>2]|0;if((M+ -1|0)>>>0>=2){c[G>>2]=M;c[E+4>>2]=1;c[E+8>>2]=2;Qe(0,162328,E);tc()}G=d+72|0;if((M|0)==1){L=+(c[G>>2]|0)}else{L=+h[G>>3]}E=d+80|0;M=c[E>>2]|0;if((M+ -1|0)>>>0>=2){c[F>>2]=M;c[D+4>>2]=1;c[D+8>>2]=2;Qe(0,162328,D);tc()}D=d+88|0;if((M|0)==1){N=+(c[D>>2]|0)}else{N=+h[D>>3]}JB(z,H,I,J,K,L,N);z=c[b+8>>2]|0;F=c[(c[z>>2]|0)+92>>2]|0;t=c[t>>2]|0;d=c[d>>2]|0;if((d+ -1|0)>>>0>=2){c[r>>2]=d;c[s+4>>2]=1;c[s+8>>2]=2;Qe(0,162328,s);tc()}if((d|0)==1){H=+(c[u>>2]|0)}else{H=+h[u>>3]}r=c[v>>2]|0;if((r+ -1|0)>>>0>=2){c[q>>2]=r;c[p+4>>2]=1;c[p+8>>2]=2;Qe(0,162328,p);tc()}if((r|0)==1){I=+(c[x>>2]|0)}else{I=+h[x>>3]}p=c[w>>2]|0;if((p+ -1|0)>>>0>=2){c[o>>2]=p;c[n+4>>2]=1;c[n+8>>2]=2;Qe(0,162328,n);tc()}if((p|0)==1){J=+(c[y>>2]|0)}else{J=+h[y>>3]}n=c[A>>2]|0;if((n+ -1|0)>>>0>=2){c[l>>2]=n;c[m+4>>2]=1;c[m+8>>2]=2;Qe(0,162328,m);tc()}if((n|0)==1){K=+(c[B>>2]|0)}else{K=+h[B>>3]}l=c[C>>2]|0;if((l+ -1|0)>>>0>=2){c[j>>2]=l;c[k+4>>2]=1;c[k+8>>2]=2;Qe(0,162328,k);tc()}if((l|0)==1){L=+(c[G>>2]|0)}else{L=+h[G>>3]}j=c[E>>2]|0;if((j+ -1|0)>>>0>=2){c[f>>2]=j;c[e+4>>2]=1;c[e+8>>2]=2;Qe(0,162328,e);tc()}if((j|0)==1){N=+(c[D>>2]|0);M=F;Ed[M&3](z,t,H,I,J,K,L,N);M=b+48|0;a[M]=1;i=g;return}else{N=+h[D>>3];M=F;Ed[M&3](z,t,H,I,J,K,L,N);M=b+48|0;a[M]=1;i=g;return}}function Pw(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;e=i;h=i;i=i+8|0;q=i;i=i+8|0;p=q;l=i;i=i+16|0;k=l;g=i;i=i+128|0;f=g;c[l>>2]=13;n=k+8|0;c[n>>2]=0;m=n+4|0;c[m>>2]=0;o=c[b+20>>2]|0;r=c[d>>2]|0;if((r|0)!=4){c[q>>2]=r;c[p+4>>2]=4;Qe(0,162256,p);tc()}p=c[d+8>>2]|0;a:do{if((o|0)==0){j=8}else{while(1){if((c[o+24>>2]|0)==7){if((c[(Yu(c[o+32>>2]|0,p,k,0)|0)>>2]|0)!=5){break}Of(k)}o=c[o+112>>2]|0;if((o|0)==0){j=8;break a}}if((c[l>>2]|0)==5){j=10;break}d=Jy(k,b)|0}}while(0);if((j|0)==8){c[n>>2]=0;c[m>>2]=0;c[l>>2]=5;j=10}if((j|0)==10){d=Jy(d,b)|0}Of(k);if((d|0)==0){b=c[b+120>>2]|0;do{if((b|0)==0){b=-1}else{b=c[b+4>>2]|0;if((c[b+16>>2]|0)!=8){b=-1;break}b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}}while(0);Qe(b,160496,h);i=e;return}h=b+15|0;do{if((a[h]&1)!=0){if((a[b+16|0]&1)==0){break}j=b+8|0;r=c[j>>2]|0;k=b+28|0;r=Bd[c[(c[r>>2]|0)+304>>2]&255](r,c[k>>2]|0)|0;q=c[j>>2]|0;hd[c[(c[q>>2]|0)+308>>2]&127](q,c[k>>2]|0);if(r){Bx(b,1)}r=c[j>>2]|0;hd[c[(c[r>>2]|0)+84>>2]&127](r,c[k>>2]|0)}}while(0);j=b+28|0;NB(c[j>>2]|0,0);LB(c[j>>2]|0,d);k=b+8|0;r=c[k>>2]|0;hd[c[(c[r>>2]|0)+132>>2]&127](r,c[j>>2]|0);hd[c[(c[d>>2]|0)+48>>2]&127](d,f);$W((c[j>>2]|0)+124|0,g|0,128)|0;r=c[k>>2]|0;hd[c[(c[r>>2]|0)+140>>2]&127](r,c[j>>2]|0);if((a[h]&1)!=0){r=c[k>>2]|0;hd[c[(c[r>>2]|0)+300>>2]&127](r,c[j>>2]|0);r=c[k>>2]|0;hd[c[(c[r>>2]|0)+188>>2]&127](r,c[j>>2]|0);r=c[k>>2]|0;hd[c[(c[r>>2]|0)+180>>2]&127](r,c[j>>2]|0);r=c[k>>2]|0;hd[c[(c[r>>2]|0)+204>>2]&127](r,c[j>>2]|0);a[h]=(jd[c[(c[d>>2]|0)+12>>2]&511](d)|0)==10|0;i=e;return}if((a[b+16|0]&1)==0){i=e;return}r=c[k>>2]|0;if(!(Bd[c[(c[r>>2]|0)+40>>2]&255](r,c[j>>2]|0)|0)){i=e;return}r=c[k>>2]|0;hd[c[(c[r>>2]|0)+300>>2]&127](r,c[j>>2]|0);a[h]=1;i=e;return}function Qw(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.0;d=i;f=i;i=i+16|0;g=f;l=i;i=i+16|0;k=l;o=i;i=i+8|0;n=o;j=i;i=i+16|0;m=j;c[j>>2]=13;j=m+8|0;c[j>>2]=0;c[j+4>>2]=0;j=c[b>>2]|0;if((j|0)!=6){c[o>>2]=j;c[n+4>>2]=6;Qe(0,162256,n);tc()}n=c[b+8>>2]|0;j=c[n+12>>2]|0;a:do{if((j|0)==0){e=0}else{o=ye(j,8)|0;if((j|0)>0){p=0}else{e=o;break}while(1){r=ut(n,p,m)|0;q=c[r>>2]|0;if((q+ -1|0)>>>0>=2){break}r=r+8|0;if((q|0)==1){s=+(c[r>>2]|0)}else{s=+h[r>>3]}h[o+(p<<3)>>3]=s;Of(m);p=p+1|0;if((p|0)>=(j|0)){e=o;break a}}c[l>>2]=q;c[k+4>>2]=1;c[k+8>>2]=2;Qe(0,162328,k);tc()}}while(0);l=a+28|0;k=c[l>>2]|0;m=c[b+16>>2]|0;if((m+ -1|0)>>>0>=2){c[f>>2]=m;c[g+4>>2]=1;c[g+8>>2]=2;Qe(0,162328,g);tc()}b=b+24|0;if((m|0)==1){s=+(c[b>>2]|0);RB(k,e,j,s);q=a+8|0;q=c[q>>2]|0;p=q;p=c[p>>2]|0;p=p+96|0;p=c[p>>2]|0;r=l;r=c[r>>2]|0;hd[p&127](q,r);i=d;return}else{s=+h[b>>3];RB(k,e,j,s);q=a+8|0;q=c[q>>2]|0;p=q;p=c[p>>2]|0;p=p+96|0;p=c[p>>2]|0;r=l;r=c[r>>2]|0;hd[p&127](q,r);i=d;return}}function Rw(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.0,o=0.0;e=i;g=i;i=i+16|0;j=g;m=i;i=i+16|0;l=m;d=c[a+8>>2]|0;f=c[(c[d>>2]|0)+352>>2]|0;a=c[a+28>>2]|0;k=c[b>>2]|0;if((k+ -1|0)>>>0>=2){c[m>>2]=k;c[l+4>>2]=1;c[l+8>>2]=2;Qe(0,162328,l);tc()}l=b+8|0;if((k|0)==1){n=+(c[l>>2]|0)}else{n=+h[l>>3]}k=c[b+16>>2]|0;if((k+ -1|0)>>>0>=2){c[g>>2]=k;c[j+4>>2]=1;c[j+8>>2]=2;Qe(0,162328,j);tc()}b=b+24|0;if((k|0)==1){o=+(c[b>>2]|0);m=f;kd[m&1](d,a,n,o);i=e;return}else{o=+h[b>>3];m=f;kd[m&1](d,a,n,o);i=e;return}}function Sw(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.0,n=0,o=0,p=0.0,q=0,r=0,s=0,t=0,u=0.0,v=0,w=0,x=0,y=0.0,z=0.0,A=0.0;e=i;j=i;i=i+16|0;g=j;k=i;i=i+16|0;l=k;n=i;i=i+16|0;o=n;r=i;i=i+16|0;q=r;t=i;i=i+16|0;s=t;x=i;i=i+16|0;w=x;f=c[a+8>>2]|0;d=c[(c[f>>2]|0)+356>>2]|0;a=c[a+28>>2]|0;v=c[b>>2]|0;if((v+ -1|0)>>>0>=2){c[x>>2]=v;c[w+4>>2]=1;c[w+8>>2]=2;Qe(0,162328,w);tc()}w=b+8|0;if((v|0)==1){m=+(c[w>>2]|0)}else{m=+h[w>>3]}v=c[b+16>>2]|0;if((v+ -1|0)>>>0>=2){c[t>>2]=v;c[s+4>>2]=1;c[s+8>>2]=2;Qe(0,162328,s);tc()}s=b+24|0;if((v|0)==1){p=+(c[s>>2]|0)}else{p=+h[s>>3]}s=c[b+32>>2]|0;if((s+ -1|0)>>>0>=2){c[r>>2]=s;c[q+4>>2]=1;c[q+8>>2]=2;Qe(0,162328,q);tc()}q=b+40|0;if((s|0)==1){u=+(c[q>>2]|0)}else{u=+h[q>>3]}q=c[b+48>>2]|0;if((q+ -1|0)>>>0>=2){c[n>>2]=q;c[o+4>>2]=1;c[o+8>>2]=2;Qe(0,162328,o);tc()}n=b+56|0;if((q|0)==1){y=+(c[n>>2]|0)}else{y=+h[n>>3]}n=c[b+64>>2]|0;if((n+ -1|0)>>>0>=2){c[k>>2]=n;c[l+4>>2]=1;c[l+8>>2]=2;Qe(0,162328,l);tc()}k=b+72|0;if((n|0)==1){z=+(c[k>>2]|0)}else{z=+h[k>>3]}k=c[b+80>>2]|0;if((k+ -1|0)>>>0>=2){c[j>>2]=k;c[g+4>>2]=1;c[g+8>>2]=2;Qe(0,162328,g);tc()}b=b+88|0;if((k|0)==1){A=+(c[b>>2]|0);x=d;Ed[x&3](f,a,m,p,u,y,z,A);i=e;return}else{A=+h[b>>3];x=d;Ed[x&3](f,a,m,p,u,y,z,A);i=e;return}}function Tw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;e=i;d=b+28|0;g=c[d>>2]|0;h=c[g+588>>2]|0;a:do{if((c[h+28>>2]|0)>0){h=c[b+116>>2]|0;b:do{if((h|0)!=0){if((a[h]&1)!=0){break a}while(1){h=c[h+4>>2]|0;if((h|0)==0){break b}if((a[h]&1)!=0){break a}}}}while(0);h=c[g+116>>2]|0;if((jd[c[(c[h>>2]|0)+12>>2]&511](h)|0)==10){Bx(b,1);break}else{h=c[b+8>>2]|0;hd[c[(c[h>>2]|0)+220>>2]&127](h,c[d>>2]|0);break}}else{if((a[h]&1)!=0){break}i=e;return}}while(0);g=c[d>>2]|0;h=c[g+588>>2]|0;do{if((c[h+28>>2]|0)>0){f=13}else{if((a[h]&1)!=0){f=13;break}b=b+52|0}}while(0);do{if((f|0)==13){f=b+52|0;if((c[f>>2]|0)==0){b=f;break}TB(g);b=c[b+8>>2]|0;g=c[b>>2]|0;if((c[f>>2]|0)==1){hd[c[g+256>>2]&127](b,c[d>>2]|0);b=f;break}else{hd[c[g+260>>2]&127](b,c[d>>2]|0);b=f;break}}}while(0);c[b>>2]=0;SB(c[d>>2]|0);i=e;return}function Uw(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.0,o=0,p=0;e=i;k=i;i=i+16|0;j=k;g=i;i=i+128|0;f=b+15|0;do{if((a[f]&1)!=0){if((a[b+16|0]&1)==0){break}l=b+8|0;o=c[l>>2]|0;m=b+28|0;o=Bd[c[(c[o>>2]|0)+304>>2]&255](o,c[m>>2]|0)|0;p=c[l>>2]|0;hd[c[(c[p>>2]|0)+308>>2]&127](p,c[m>>2]|0);if(o){Bx(b,1)}p=c[l>>2]|0;hd[c[(c[p>>2]|0)+84>>2]&127](p,c[m>>2]|0)}}while(0);l=b+28|0;NB(c[l>>2]|0,0);p=c[l>>2]|0;m=FW(4)|0;Ty(m);LB(p,m);b=b+8|0;m=c[b>>2]|0;hd[c[(c[m>>2]|0)+132>>2]&127](m,c[l>>2]|0);m=c[d>>2]|0;if((m+ -1|0)>>>0>=2){c[k>>2]=m;c[j+4>>2]=1;c[j+8>>2]=2;Qe(0,162328,j);tc()}d=d+8|0;if((m|0)==1){n=+(c[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b=c[m>>2]|0;if((Mb+ -1|0)>>>0>=2){c[Ib>>2]=Mb;c[Gb+4>>2]=1;c[Gb+8>>2]=2;Qe(0,162328,Gb);tc()}if((Mb|0)==1){ac=+(c[j>>2]|0)}else{ac=+h[j>>3]}h[Lb+400>>3]=ac;$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+156>>2]&127]($b,c[Jb>>2]|0)}Of(g);Gb=c[t>>2]|0;if((Gb|0)!=7){c[Eb>>2]=Gb;c[Fb+4>>2]=7;Qe(0,162256,Fb);tc()}Eb=(c[(Yu(c[p>>2]|0,159872,g,0)|0)>>2]|0)==0;do{if(Eb){Gb=b+28|0;Fb=c[m>>2]|0;if((Fb|0)==0){a[(c[Gb>>2]|0)+408|0]=a[j]&1;$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+160>>2]&127]($b,c[Gb>>2]|0);break}else{c[Db>>2]=Fb;c[Cb+4>>2]=0;Qe(0,162256,Cb);tc()}}}while(0);Of(g);Cb=c[t>>2]|0;if((Cb|0)!=7){c[Bb>>2]=Cb;c[Ab+4>>2]=7;Qe(0,162256,Ab);tc()}do{if((c[(Yu(c[p>>2]|0,159880,g,0)|0)>>2]|0)==0){Ab=b+28|0;Bb=c[m>>2]|0;if((Bb|0)!=0){c[yb>>2]=Bb;c[zb+4>>2]=0;Qe(0,162256,zb);tc()}a[(c[Ab>>2]|0)+409|0]=a[j]&1;yb=b+8|0;$b=c[yb>>2]|0;hd[c[(c[$b>>2]|0)+164>>2]&127]($b,c[Ab>>2]|0);if(Eb){break}zb=c[m>>2]|0;if((zb|0)==0){a[(c[Ab>>2]|0)+408|0]=a[j]&1;$b=c[yb>>2]|0;hd[c[(c[$b>>2]|0)+160>>2]&127]($b,c[Ab>>2]|0);break}else{c[xb>>2]=zb;c[wb+4>>2]=0;Qe(0,162256,wb);tc()}}}while(0);Of(g);wb=c[t>>2]|0;if((wb|0)!=7){c[vb>>2]=wb;c[ub+4>>2]=7;Qe(0,162256,ub);tc()}do{if((c[(Yu(c[p>>2]|0,159888,g,0)|0)>>2]|0)==0){ub=b+28|0;vb=c[m>>2]|0;if((vb|0)==0){a[(c[ub>>2]|0)+480|0]=a[j]&1;$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+120>>2]&127]($b,c[ub>>2]|0);break}else{c[sb>>2]=vb;c[tb+4>>2]=0;Qe(0,162256,tb);tc()}}}while(0);Of(g);sb=c[t>>2]|0;if((sb|0)!=7){c[rb>>2]=sb;c[qb+4>>2]=7;Qe(0,162256,qb);tc()}do{if((c[(Yu(c[p>>2]|0,159896,g,0)|0)>>2]|0)==5){Of(g);qb=c[t>>2]|0;if((qb|0)==7){Yu(c[p>>2]|0,159904,g,0)|0;break}else{c[ob>>2]=qb;c[pb+4>>2]=7;Qe(0,162256,pb);tc()}}}while(0);pb=c[m>>2]|0;a:do{switch(pb|0){case 6:{jb=71;break};case 5:{break};case 4:{ob=c[j>>2]|0;do{if((Qc(ob|0,159912)|0)!=0){if((Qc(ob|0,159920)|0)==0){break}switch(pb|0){case 6:{jb=71;break a};case 5:{break a};case 8:case 7:case 4:{jb=79;break a};default:{jb=81;break a}}}}while(0);$b=b+28|0;bX(xa|0,0,16)|0;QB(c[$b>>2]|0,nb);_b=c[b+8>>2]|0;hd[c[(c[_b>>2]|0)+168>>2]&127](_b,c[$b>>2]|0);break};case 8:case 7:{jb=79;break};default:{jb=81}}}while(0);do{if((jb|0)==71){if((c[(c[j>>2]|0)+12>>2]|0)==4){mb=6;ob=0}else{jb=81;break}while(1){if((mb|0)!=6){jb=75;break}ut(c[j>>2]|0,ob,oa)|0;$b=nb+(ob<<2)|0;c[$b>>2]=EH(oa)|0;Of(oa);pb=ob+1|0;if((c[$b>>2]|0)==0){ib=ob;break}if((pb|0)>=4){ib=pb;break}mb=c[m>>2]|0;ob=pb}if((jb|0)==75){c[lb>>2]=mb;c[kb+4>>2]=6;Qe(0,162256,kb);tc()}if((ib|0)!=4){break}$b=b+28|0;QB(c[$b>>2]|0,nb);_b=c[b+8>>2]|0;hd[c[(c[_b>>2]|0)+168>>2]&127](_b,c[$b>>2]|0)}else if((jb|0)==79){$b=EH(g)|0;c[xa>>2]=$b;if(($b|0)==0){break}c[nb+12>>2]=0;c[nb+8>>2]=0;c[nb+4>>2]=0;$b=b+28|0;QB(c[$b>>2]|0,nb);_b=c[b+8>>2]|0;hd[c[(c[_b>>2]|0)+168>>2]&127](_b,c[$b>>2]|0)}}while(0);if((jb|0)==81){ib=c[b+120>>2]|0;do{if((ib|0)==0){ib=-1}else{ib=c[ib+4>>2]|0;if((c[ib+16>>2]|0)!=8){ib=-1;break}ib=c[ib+24>>2]|0;ib=jd[c[(c[ib>>2]|0)+48>>2]&511](ib)|0}}while(0);Qe(ib,159936,mb)}Of(g);ib=c[t>>2]|0;if((ib|0)!=7){c[hb>>2]=ib;c[gb+4>>2]=7;Qe(0,162256,gb);tc()}do{if((c[(Yu(c[p>>2]|0,159976,g,0)|0)>>2]|0)==0){gb=b+28|0;hb=c[m>>2]|0;if((hb|0)==0){a[(c[gb>>2]|0)+481|0]=a[j]&1;$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+124>>2]&127]($b,c[gb>>2]|0);break}else{c[fb>>2]=hb;c[eb+4>>2]=0;Qe(0,162256,eb);tc()}}}while(0);Of(g);eb=c[t>>2]|0;if((eb|0)!=7){c[db>>2]=eb;c[cb+4>>2]=7;Qe(0,162256,cb);tc()}do{if((c[(Yu(c[p>>2]|0,159984,g,0)|0)>>2]|0)==0){db=b+28|0;cb=c[m>>2]|0;if((cb|0)==0){a[(c[db>>2]|0)+482|0]=a[j]&1;$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+128>>2]&127]($b,c[db>>2]|0);break}else{c[bb>>2]=cb;c[ab+4>>2]=0;Qe(0,162256,ab);tc()}}}while(0);Of(g);ab=c[t>>2]|0;if((ab|0)!=7){c[$a>>2]=ab;c[_a+4>>2]=7;Qe(0,162256,_a);tc()}b:do{if((c[(Yu(c[p>>2]|0,159992,g,0)|0)>>2]|0)!=5){_a=c[m>>2]|0;do{if((_a|0)==5){break b}else if((_a|0)==4){if((Qc(c[j>>2]|0,16e4)|0)!=0){break}$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+396>>2]&127]($b,c[b+28>>2]|0);break b}else if((_a|0)==7){Ya=Yu(c[j>>2]|0,160008,oa,0)|0;if((c[Ya>>2]|0)==4){Ya=(Qc(c[Ya+8>>2]|0,160016)|0)==0}else{Ya=0}Of(oa);c[xa>>2]=0;_a=c[m>>2]|0;if((_a|0)!=7){c[Xa>>2]=_a;c[Za+4>>2]=7;Qe(0,162256,Za);tc()}do{if((c[(Yu(c[j>>2]|0,159904,oa,0)|0)>>2]|0)!=5){Xa=EH(oa)|0;c[xa>>2]=Xa;if((c[Xa+4>>2]|0)==1){if((c[Xa+8>>2]|0)==1){break}}Xa=c[b+120>>2]|0;do{if((Xa|0)==0){Xa=-1}else{Xa=c[Xa+4>>2]|0;if((c[Xa+16>>2]|0)!=8){Xa=-1;break}Xa=c[Xa+24>>2]|0;Xa=jd[c[(c[Xa>>2]|0)+48>>2]&511](Xa)|0}}while(0);Qe(Xa,160024,Wa);Wa=c[xa>>2]|0;if((Wa|0)!=0){fd[c[(c[Wa>>2]|0)+4>>2]&511](Wa)}c[xa>>2]=0}}while(0);Of(oa);Wa=c[m>>2]|0;if((Wa|0)!=7){c[Va>>2]=Wa;c[Ua+4>>2]=7;Qe(0,162256,Ua);tc()}Ua=(c[(Yu(c[j>>2]|0,160080,oa,0)|0)>>2]|0)==6;c:do{if(Ua){bX(ta|0,0,128)|0;Va=c[Pa>>2]|0;if((Va|0)!=6){_b=Va;$b=Sa;c[$b>>2]=_b;$b=Ta+4|0;c[$b>>2]=6;$b=162256;Qe(0,$b,Ta);tc()}Va=0;while(1){Wa=c[Oa>>2]|0;if(!((Va|0)<(c[Wa+12>>2]|0)&(Va|0)<32)){break c}ut(Wa,Va,pa)|0;Wa=c[Da>>2]|0;if((Wa+ -1|0)>>>0<2){if((Wa|0)==1){ac=+(c[Aa>>2]|0)}else{ac=+h[Aa>>3]}c[ya+(Va<<2)>>2]=~~(ac*65536.0)}Of(pa);Wa=c[Pa>>2]|0;if((Wa|0)==6){Va=Va+1|0}else{break}}$b=Sa;c[$b>>2]=Wa;$b=Ta+4|0;c[$b>>2]=6;$b=162256;Qe(0,$b,Ta);tc()}}while(0);Of(oa);Sa=c[m>>2]|0;if((Sa|0)!=7){c[Qa>>2]=Sa;c[Ra+4>>2]=7;Qe(0,162256,Ra);tc()}if((c[(Yu(c[j>>2]|0,160088,oa,0)|0)>>2]|0)==8){Ja=c[Pa>>2]|0;if((Ja|0)!=8){c[Na>>2]=Ja;c[Ma+4>>2]=8;Qe(0,162256,Ma);tc()}$b=c[Oa>>2]|0;do{if((c[(Yu(jd[c[(c[$b>>2]|0)+72>>2]&511]($b)|0,160096,pa,0)|0)>>2]|0)==7){Ga=c[Da>>2]|0;if((Ga|0)!=7){c[La>>2]=Ga;c[Ka+4>>2]=7;Qe(0,162256,Ka);tc()}if((c[(Yu(c[Aa>>2]|0,160104,ua,0)|0)>>2]|0)==5){Ga=0}else{Ga=Jy(ua,b)|0}Of(ua);Ja=c[Da>>2]|0;if((Ja|0)!=7){c[Ia>>2]=Ja;c[Ha+4>>2]=7;Qe(0,162256,Ha);tc()}do{if((c[(Yu(c[Aa>>2]|0,160112,ua,0)|0)>>2]|0)==0){Ha=c[za>>2]|0;if((Ha|0)==0){ra=(a[va]&1)!=0;break}else{c[Ea>>2]=Ha;c[Fa+4>>2]=0;Qe(0,162256,Fa);tc()}}else{ra=0}}while(0);Of(ua);Da=c[Da>>2]|0;if((Da|0)!=7){c[Ba>>2]=Da;c[Ca+4>>2]=7;Qe(0,162256,Ca);tc()}do{if((c[(Yu(c[Aa>>2]|0,160120,ua,0)|0)>>2]|0)==0){za=c[za>>2]|0;if((za|0)==0){qa=(a[va]&1)!=0;break}else{c[wa>>2]=za;c[sa+4>>2]=0;Qe(0,162256,sa);tc()}}else{qa=0}}while(0);Of(ua);do{if(!Ua){if((Ga|0)==0){bX(ta|0,0,128)|0;break}else{hd[c[(c[Ga>>2]|0)+48>>2]&127](Ga,ya);break}}}while(0);zx(b,oa,Ya,Ga,ra,qa,c[xa>>2]|0,ya);qa=c[xa>>2]|0;if((qa|0)==0){break}fd[c[(c[qa>>2]|0)+4>>2]&511](qa)}else{qa=c[b+120>>2]|0;do{if((qa|0)==0){qa=-1}else{qa=c[qa+4>>2]|0;if((c[qa+16>>2]|0)!=8){qa=-1;break}qa=c[qa+24>>2]|0;qa=jd[c[(c[qa>>2]|0)+48>>2]&511](qa)|0}}while(0);Qe(qa,160128,Ga)}}while(0);Of(pa)}else{pa=c[b+120>>2]|0;do{if((pa|0)==0){pa=-1}else{pa=c[pa+4>>2]|0;if((c[pa+16>>2]|0)!=8){pa=-1;break}pa=c[pa+24>>2]|0;pa=jd[c[(c[pa>>2]|0)+48>>2]&511](pa)|0}}while(0);Qe(pa,160128,Ja)}Of(oa);break b}}while(0);oa=c[b+120>>2]|0;do{if((oa|0)==0){oa=-1}else{oa=c[oa+4>>2]|0;if((c[oa+16>>2]|0)!=8){oa=-1;break}oa=c[oa+24>>2]|0;oa=jd[c[(c[oa>>2]|0)+48>>2]&511](oa)|0}}while(0);Qe(oa,160176,Ya)}}while(0);Of(g);oa=c[t>>2]|0;if((oa|0)!=7){c[na>>2]=oa;c[ma+4>>2]=7;Qe(0,162256,ma);tc()}do{if((c[(Yu(c[p>>2]|0,159192,g,0)|0)>>2]|0)==6){ma=c[m>>2]|0;if((ma|0)!=6){c[la>>2]=ma;c[ka+4>>2]=6;Qe(0,162256,ka);tc()}la=c[j>>2]|0;if((c[la+12>>2]|0)!=2){T=c[b+120>>2]|0;do{if((T|0)==0){T=-1}else{T=c[T+4>>2]|0;if((c[T+16>>2]|0)!=8){T=-1;break}T=c[T+24>>2]|0;T=jd[c[(c[T>>2]|0)+48>>2]&511](T)|0}}while(0);Qe(T,160208,ja);break}c[fa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]=ac;$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+116>>2]&127]($b,c[R>>2]|0)}Of(g);P=c[t>>2]|0;if((P|0)!=7){c[N>>2]=P;c[O+4>>2]=7;Qe(0,162256,O);tc()}do{if((c[(Yu(c[p>>2]|0,160264,g,0)|0)>>2]|0)==1){O=b+28|0;N=c[m>>2]|0;if((N|0)==1){c[(c[O>>2]|0)+464>>2]=c[j>>2];$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+108>>2]&127]($b,c[O>>2]|0);break}else{c[M>>2]=N;c[L+4>>2]=1;Qe(0,162256,L);tc()}}}while(0);Of(g);L=c[t>>2]|0;if((L|0)!=7){c[J>>2]=L;c[K+4>>2]=7;Qe(0,162256,K);tc()}do{if((c[(Yu(c[p>>2]|0,160272,g,0)|0)>>2]|0)==1){J=b+28|0;K=c[m>>2]|0;if((K|0)==1){c[(c[J>>2]|0)+460>>2]=c[j>>2];$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+104>>2]&127]($b,c[J>>2]|0);break}else{c[I>>2]=K;c[H+4>>2]=1;Qe(0,162256,H);tc()}}}while(0);Of(g);H=c[t>>2]|0;if((H|0)!=7){c[F>>2]=H;c[G+4>>2]=7;Qe(0,162256,G);tc()}if(((c[(Yu(c[p>>2]|0,160280,g,0)|0)>>2]|0)+ -1|0)>>>0<2){G=b+28|0;F=c[G>>2]|0;H=c[m>>2]|0;if((H+ -1|0)>>>0>=2){c[E>>2]=H;c[D+4>>2]=1;c[D+8>>2]=2;Qe(0,162328,D);tc()}if((H|0)==1){ac=+(c[j>>2]|0)}else{ac=+h[j>>3]}h[F+472>>3]=ac;$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+112>>2]&127]($b,c[G>>2]|0)}Of(g);D=c[t>>2]|0;if((D|0)!=7){c[C>>2]=D;c[B+4>>2]=7;Qe(0,162256,B);tc()}do{if((c[(Yu(c[p>>2]|0,160288,g,0)|0)>>2]|0)==6){B=c[m>>2]|0;if((B|0)!=6){c[A>>2]=B;c[z+4>>2]=6;Qe(0,162256,z);tc()}z=c[j>>2]|0;if((c[z+12>>2]|0)!=2){v=c[b+120>>2]|0;do{if((v|0)==0){v=-1}else{v=c[v+4>>2]|0;if((c[v+16>>2]|0)!=8){v=-1;break}v=c[v+24>>2]|0;v=jd[c[(c[v>>2]|0)+48>>2]&511](v)|0}}while(0);Qe(v,160296,u);break}c[y>>2]=13;u=x+8|0;c[u>>2]=0;c[u+4>>2]=0;c[x+16>>2]=13;u=x+24|0;c[u>>2]=0;c[u+4>>2]=0;vt(z,0,x)|0;u=x+16|0;z=c[m>>2]|0;if((z|0)!=6){c[w>>2]=z;c[v+4>>2]=6;Qe(0,162256,v);tc()}ut(c[j>>2]|0,1,u)|0;do{if((c[y>>2]|0)==6){if((c[u>>2]|0)!=1){break}Qw(b,x,0)}}while(0);Of(x);Of(u)}}while(0);Of(g);u=c[t>>2]|0;if((u|0)!=7){c[s>>2]=u;c[q+4>>2]=7;Qe(0,162256,q);tc()}Yu(c[p>>2]|0,160344,g,0)|0;Of(g);q=c[t>>2]|0;if((q|0)!=7){c[o>>2]=q;c[n+4>>2]=7;Qe(0,162256,n);tc()}if(((c[(Yu(c[p>>2]|0,160352,g,0)|0)>>2]|0)+ -1|0)>>>0<2){o=b+28|0;n=c[o>>2]|0;m=c[m>>2]|0;if((m+ -1|0)>>>0>=2){c[l>>2]=m;c[k+4>>2]=1;c[k+8>>2]=2;Qe(0,162328,k);tc()}if((m|0)==1){ac=+(c[j>>2]|0)}else{ac=+h[j>>3]}c[n+456>>2]=~~ac;$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+100>>2]&127]($b,c[o>>2]|0)}Of(g);Of(e);i=f;return}function Ww(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0;e=i;d=i;i=i+8|0;f=c[b+28>>2]|0;g=f+588|0;j=c[g>>2]|0;do{if((c[j+28>>2]|0)<=0){if((a[j]&1)!=0){break}b=c[b+120>>2]|0;do{if((b|0)==0){b=-1}else{b=c[b+4>>2]|0;if((c[b+16>>2]|0)!=8){b=-1;break}b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}}while(0);Qe(b,160872,d);i=e;return}}while(0);xB(j);g=c[g>>2]|0;j=g+28|0;g=g+24|0;b=c[(c[g>>2]|0)+((c[j>>2]|0)+ -1<<2)>>2]|0;h[f+592>>3]=+h[(c[b>>2]|0)+((c[b+12>>2]|0)+ -1<<3)>>3];j=c[(c[g>>2]|0)+((c[j>>2]|0)+ -1<<2)>>2]|0;h[f+600>>3]=+h[(c[j+4>>2]|0)+((c[j+12>>2]|0)+ -1<<3)>>3];i=e;return}function Xw(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.0;e=i;j=i;i=i+16|0;k=j;d=a+28|0;f=c[d>>2]|0;g=c[b>>2]|0;if((g+ -1|0)>>>0>=2){c[j>>2]=g;c[k+4>>2]=1;c[k+8>>2]=2;Qe(0,162328,k);tc()}b=b+8|0;if((g|0)==1){l=+(c[b>>2]|0)}else{l=+h[b>>3]}c[f+456>>2]=~~l;k=c[a+8>>2]|0;hd[c[(c[k>>2]|0)+100>>2]&127](k,c[d>>2]|0);i=e;return}function Yw(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;d=i;g=i;i=i+8|0;f=g;e=a+28|0;h=c[b>>2]|0;if((h|0)==1){c[(c[e>>2]|0)+460>>2]=c[b+8>>2];h=c[a+8>>2]|0;hd[c[(c[h>>2]|0)+104>>2]&127](h,c[e>>2]|0);i=d;return}else{c[g>>2]=h;c[f+4>>2]=1;Qe(0,162256,f);tc()}}function Zw(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.0;m=i;e=i;i=i+16|0;g=e;k=i;i=i+128|0;j=k;l=b+15|0;do{if((a[l]&1)!=0){if((a[b+16|0]&1)==0){break}o=b+8|0;q=c[o>>2]|0;n=b+28|0;q=Bd[c[(c[q>>2]|0)+304>>2]&255](q,c[n>>2]|0)|0;p=c[o>>2]|0;hd[c[(c[p>>2]|0)+308>>2]&127](p,c[n>>2]|0);if(q){Bx(b,1)}q=c[o>>2]|0;hd[c[(c[q>>2]|0)+84>>2]&127](q,c[n>>2]|0)}}while(0);n=b+28|0;NB(c[n>>2]|0,0);q=c[n>>2]|0;o=FW(4)|0;vz(o);LB(q,o);b=b+8|0;o=c[b>>2]|0;hd[c[(c[o>>2]|0)+132>>2]&127](o,c[n>>2]|0);o=0;do{p=c[d+(o<<4)>>2]|0;if((p+ -1|0)>>>0>=2){f=8;break}q=d+(o<<4)+8|0;if((p|0)==1){r=+(c[q>>2]|0)}else{r=+h[q>>3]}c[j+(o<<2)>>2]=~~(r*65536.0);o=o+1|0;}while((o|0)<4);if((f|0)==8){c[e>>2]=p;c[g+4>>2]=1;c[g+8>>2]=2;Qe(0,162328,g);tc()}$W((c[n>>2]|0)+124|0,k|0,128)|0;q=c[b>>2]|0;hd[c[(c[q>>2]|0)+140>>2]&127](q,c[n>>2]|0);if((a[l]&1)==0){i=m;return}q=c[b>>2]|0;hd[c[(c[q>>2]|0)+300>>2]&127](q,c[n>>2]|0);q=c[b>>2]|0;hd[c[(c[q>>2]|0)+188>>2]&127](q,c[n>>2]|0);q=c[b>>2]|0;hd[c[(c[q>>2]|0)+180>>2]&127](q,c[n>>2]|0);q=c[b>>2]|0;hd[c[(c[q>>2]|0)+204>>2]&127](q,c[n>>2]|0);a[l]=0;i=m;return}function _w(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.0,p=0.0;e=i;j=i;i=i+16|0;k=j;n=i;i=i+16|0;m=n;l=i;i=i+8|0;f=c[b+28>>2]|0;g=c[f+588>>2]|0;do{if((c[g+28>>2]|0)<=0){if((a[g]&1)!=0){break}f=c[b+120>>2]|0;do{if((f|0)==0){f=-1}else{f=c[f+4>>2]|0;if((c[f+16>>2]|0)!=8){f=-1;break}f=c[f+24>>2]|0;f=jd[c[(c[f>>2]|0)+48>>2]&511](f)|0}}while(0);Qe(f,160744,l);i=e;return}}while(0);l=c[d>>2]|0;if((l+ -1|0)>>>0>=2){c[n>>2]=l;c[m+4>>2]=1;c[m+8>>2]=2;Qe(0,162328,m);tc()}m=d+8|0;if((l|0)==1){o=+(c[m>>2]|0)}else{o=+h[m>>3]}l=c[d+16>>2]|0;if((l+ -1|0)>>>0>=2){c[j>>2]=l;c[k+4>>2]=1;c[k+8>>2]=2;Qe(0,162328,k);tc()}d=d+24|0;if((l|0)==1){p=+(c[d>>2]|0)}else{p=+h[d>>3]}h[f+592>>3]=o;h[f+600>>3]=p;vB(g,o,p);i=e;return}function $w(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.0,m=0.0;d=i;e=i;i=i+16|0;f=e;k=i;i=i+16|0;j=k;a=c[a+28>>2]|0;g=c[b>>2]|0;if((g+ -1|0)>>>0>=2){c[k>>2]=g;c[j+4>>2]=1;c[j+8>>2]=2;Qe(0,162328,j);tc()}j=b+8|0;if((g|0)==1){l=+(c[j>>2]|0)}else{l=+h[j>>3]}g=c[b+16>>2]|0;if((g+ -1|0)>>>0>=2){c[e>>2]=g;c[f+4>>2]=1;c[f+8>>2]=2;Qe(0,162328,f);tc()}b=b+24|0;if((g|0)==1){m=+(c[b>>2]|0);k=a+588|0;k=c[k>>2]|0;j=a+592|0;h[j>>3]=l;j=a+600|0;h[j>>3]=m;uB(k,l,m);i=d;return}else{m=+h[b>>3];k=a+588|0;k=c[k>>2]|0;j=a+592|0;h[j>>3]=l;j=a+600|0;h[j>>3]=m;uB(k,l,m);i=d;return}}function ax(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;e=i;d=b+28|0;g=c[d>>2]|0;h=c[g+588>>2]|0;do{if((c[h+28>>2]|0)>0){f=4}else{if((a[h]&1)!=0){f=4;break}b=b+52|0}}while(0);do{if((f|0)==4){f=b+52|0;if((c[f>>2]|0)==0){b=f;break}TB(g);b=c[b+8>>2]|0;g=c[b>>2]|0;if((c[f>>2]|0)==1){hd[c[g+256>>2]&127](b,c[d>>2]|0);b=f;break}else{hd[c[g+260>>2]&127](b,c[d>>2]|0);b=f;break}}}while(0);c[b>>2]=0;SB(c[d>>2]|0);i=e;return}function bx(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;d=i;e=c[a+8>>2]|0;b=a+28|0;hdhd[c[(c[p>>2]|0)+308>>2]&127](p,c[n>>2]|0);if(q){Bx(b,1)}q=c[o>>2]|0;hd[c[(c[q>>2]|0)+84>>2]&127](q,c[n>>2]|0)}}while(0);n=b+28|0;NB(c[n>>2]|0,0);q=c[n>>2]|0;o=FW(4)|0;gz(o);LB(q,o);b=b+8|0;o=c[b>>2]|0;hd[c[(c[o>>2]|0)+132>>2]&127](o,c[n>>2]|0);o=0;do{p=c[d+(o<<4)>>2]|0;if((p+ -1|0)>>>0>=2){f=8;break}q=d+(o<<4)+8|0;if((p|0)==1){r=+(c[q>>2]|0)}else{r=+h[q>>3]}c[j+(o<<2)>>2]=~~(r*65536.0);o=o+1|0;}while((o|0)<3);if((f|0)==8){c[e>>2]=p;c[g+4>>2]=1;c[g+8>>2]=2;Qe(0,162328,g);tc()}$W((c[n>>2]|0)+124|0,k|0,128)|0;q=c[b>>2]|0;hd[c[(c[q>>2]|0)+140>>2]&127](q,c[n>>2]|0);if((a[l]&1)==0){i=m;return}q=c[b>>2]|0;hd[c[(c[q>>2]|0)+300>>2]&127](q,c[n>>2]|0);q=c[b>>2]|0;hd[c[(c[q>>2]|0)+188>>2]&127](q,c[n>>2]|0);q=c[b>>2]|0;hd[c[(c[q>>2]|0)+180>>2]&127](q,c[n>>2]|0);q=c[b>>2]|0;hd[c[(c[q>>2]|0)+204>>2]&127](q,c[n>>2]|0);a[l]=0;i=m;return}function ex(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return}function fx(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,k=0,l=0;e=i;d=b+28|0;j=c[d>>2]|0;g=j+588|0;k=c[g>>2]|0;do{if((c[k+28>>2]|0)<=0){if((a[k]&1)!=0){break}i=e;return}}while(0);xB(k);k=c[g>>2]|0;g=k+28|0;k=k+24|0;l=c[(c[k>>2]|0)+((c[g>>2]|0)+ -1<<2)>>2]|0;h[j+592>>3]=+h[(c[l>>2]|0)+((c[l+12>>2]|0)+ -1<<3)>>3];g=c[(c[k>>2]|0)+((c[g>>2]|0)+ -1<<2)>>2]|0;h[j+600>>3]=+h[(c[g+4>>2]|0)+((c[g+12>>2]|0)+ -1<<3)>>3];g=c[d>>2]|0;a:do{if((c[(c[g+588>>2]|0)+28>>2]|0)>0){j=c[b+116>>2]|0;b:do{if((j|0)!=0){if((a[j]&1)!=0){break a}while(1){j=c[j+4>>2]|0;if((j|0)==0){break b}if((a[j]&1)!=0){break a}}}}while(0);l=c[g+120>>2]|0;if((jd[c[(c[l>>2]|0)+12>>2]&511](l)|0)==10){Cx(b);break}else{l=c[b+8>>2]|0;hd[c[(c[l>>2]|0)+212>>2]&127](l,c[d>>2]|0);break}}}while(0);g=c[d>>2]|0;j=c[g+588>>2]|0;do{if((c[j+28>>2]|0)>0){f=14}else{if((a[j]&1)!=0){f=14;break}b=b+52|0}}while(0);do{if((f|0)==14){f=b+52|0;if((c[f>>2]|0)==0){b=f;break}TB(g);b=c[b+8>>2]|0;g=c[b>>2]|0;if((c[f>>2]|0)==1){hd[c[g+256>>2]&127](b,c[d>>2]|0);b=f;break}else{hd[c[g+260>>2]&127](b,c[d>>2]|0);b=f;break}}}while(0);c[b>>2]=0;SB(c[d>>2]|0);i=e;return}function gx(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.0;e=i;f=i;i=i+16|0;g=f;m=i;i=i+8|0;k=i;i=i+128|0;l=k;j=a+28|0;o=c[(c[j>>2]|0)+116>>2]|0;if((jd[c[(c[o>>2]|0)+44>>2]&511](o)|0)!=(d|0)){d=c[a+120>>2]|0;do{if((d|0)==0){d=-1}else{d=c[d+4>>2]|0;if((c[d+16>>2]|0)!=8){d=-1;break}d=c[d+24>>2]|0;d=jd[c[(c[d>>2]|0)+48>>2]&511](d)|0}}while(0);Qe(d,160552,m);i=e;return}NB(c[j>>2]|0,0);a:do{if((d|0)>0){m=0;while(1){n=c[b+(m<<4)>>2]|0;if((n+ -1|0)>>>0>=2){break}o=b+(m<<4)+8|0;if((n|0)==1){p=+(c[o>>2]|0)}else{p=+h[o>>3]}c[l+(m<<2)>>2]=~~(p*65536.0);m=m+1|0;if((m|0)>=(d|0)){break a}}c[f>>2]=n;c[g+4>>2]=1;c[g+8>>2]=2;Qe(0,162328,g);tc()}}while(0);$W((c[j>>2]|0)+124|0,k|0,128)|0;o=c[a+8>>2]|0;hd[c[(c[o>>2]|0)+140>>2]&127](o,c[j>>2]|0);i=e;return}function hx(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.0;e=i;l=i;i=i+8|0;k=i;i=i+8|0;g=i;i=i+128|0;j=g;f=a+28|0;m=c[(c[f>>2]|0)+116>>2]|0;if((jd[c[(c[m>>2]|0)+12>>2]&511](m)|0)!=10){m=c[(c[f>>2]|0)+116>>2]|0;if((jd[c[(c[m>>2]|0)+44>>2]&511](m)|0)!=(d|0)){f=c[a+120>>2]|0;do{if((f|0)==0){f=-1}else{f=c[f+4>>2]|0;if((c[f+16>>2]|0)!=8){f=-1;break}f=c[f+24>>2]|0;f=jd[c[(c[f>>2]|0)+48>>2]&511](f)|0}}while(0);Qe(f,160648,l);i=e;return}NB(c[f>>2]|0,0);if((d|0)>0){k=0;do{m=c[b+(k<<4)>>2]|0;if((m+ -1|0)>>>0<2){l=b+(k<<4)+8|0;if((m|0)==1){n=+(c[l>>2]|0)}else{n=+h[l>>3]}c[j+(k<<2)>>2]=~~(n*65536.0)}else{c[j+(k<<2)>>2]=0}k=k+1|0;}while((k|0)<(d|0)&(k|0)<32)}$W((c[f>>2]|0)+124|0,g|0,128)|0;m=c[a+8>>2]|0;hd[c[(c[m>>2]|0)+140>>2]&127](m,c[f>>2]|0);i=e;return}a:do{if((d|0)>1){l=c[(c[(c[f>>2]|0)+116>>2]|0)+4>>2]|0;do{if((l|0)!=0){d=d+ -1|0;if((d|0)!=(jd[c[(c[l>>2]|0)+44>>2]&511](l)|0)){break}if((d|0)>0){k=0;do{m=c[b+(k<<4)>>2]|0;if((m+ -1|0)>>>0<2){l=b+(k<<4)+8|0;if((m|0)==1){n=+(c[l>>2]|0)}else{n=+h[l>>3]}c[j+(k<<2)>>2]=~~(n*65536.0)}else{c[j+(k<<2)>>2]=0}k=k+1|0;}while((k|0)<(d|0)&(k|0)<32)}$W((c[f>>2]|0)+124|0,g|0,128)|0;m=c[a+8>>2]|0;hd[c[(c[m>>2]|0)+140>>2]&127](m,c[f>>2]|0);break a}}while(0);f=c[a+120>>2]|0;do{if((f|0)==0){f=-1}else{f=c[f+4>>2]|0;if((c[f+16>>2]|0)!=8){f=-1;break}f=c[f+24>>2]|0;f=jd[c[(c[f>>2]|0)+48>>2]&511](f)|0}}while(0);Qe(f,160648,k);i=e;return}else{d=d+ -1|0}}while(0);if((c[b+(d<<4)>>2]|0)!=4){i=e;return}b=ox(c[a+20>>2]|0,c[b+(d<<4)+8>>2]|0,a)|0;if((b|0)==0){i=e;return}NB(c[f>>2]|0,b);i=e;return}function ix(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.0,u=0,v=0.0,w=0.0,x=0.0;e=i;g=i;i=i+8|0;k=i;i=i+8|0;l=k;j=c[d>>2]|0;if((j|0)!=4){c[k>>2]=j;c[l+4>>2]=4;Qe(0,162256,l);tc()}m=px(c[b+20>>2]|0,c[d+8>>2]|0,b)|0;if((m|0)==0){i=e;return}l=b+28|0;d=c[(c[l>>2]|0)+588>>2]|0;j=FW(40)|0;tB(j,(a[d]&1)!=0,+h[d+8>>3],+h[d+16>>3],c[d+24>>2]|0,c[d+28>>2]|0,c[d+32>>2]|0);d=b+8|0;n=c[d>>2]|0;hd[c[(c[n>>2]|0)+80>>2]&127](n,c[l>>2]|0);n=XB(c[l>>2]|0)|0;c[l>>2]=n;k=b+32|0;c[k>>2]=(c[k>>2]|0)+1;if((a[m+176|0]&1)!=0){v=+h[m+144>>3];x=+h[m+152>>3];w=+h[m+160>>3];t=+h[m+168>>3];s=c[n+588>>2]|0;h[n+592>>3]=v;h[n+600>>3]=x;uB(s,v,x);s=c[l>>2]|0;n=c[s+588>>2]|0;h[s+592>>3]=w;h[s+600>>3]=x;vB(n,w,x);n=c[l>>2]|0;s=c[n+588>>2]|0;h[n+592>>3]=w;h[n+600>>3]=t;vB(s,w,t);s=c[l>>2]|0;n=c[s+588>>2]|0;h[s+592>>3]=v;h[s+600>>3]=t;vB(n,v,t);n=c[l>>2]|0;s=n+588|0;xB(c[s>>2]|0);s=c[s>>2]|0;u=s+28|0;s=s+24|0;r=c[(c[s>>2]|0)+((c[u>>2]|0)+ -1<<2)>>2]|0;h[n+592>>3]=+h[(c[r>>2]|0)+((c[r+12>>2]|0)+ -1<<3)>>3];u=c[(c[s>>2]|0)+((c[u>>2]|0)+ -1<<2)>>2]|0;h[n+600>>3]=+h[(c[u+4>>2]|0)+((c[u+12>>2]|0)+ -1<<3)>>3];TB(c[l>>2]|0);n=c[d>>2]|0;hd[c[(c[n>>2]|0)+256>>2]&127](n,c[l>>2]|0);SB(c[l>>2]|0);n=c[l>>2]|0}q=m+8|0;u=c[q>>2]|0;LB(n,jd[c[(c[u>>2]|0)+8>>2]&511](u)|0);n=c[d>>2]|0;hd[c[(c[n>>2]|0)+132>>2]&127](n,c[l>>2]|0);n=c[d>>2]|0;n=jd[c[(c[n>>2]|0)+404>>2]&511](n)|0;if(n){u=c[d>>2]|0;hd[c[(c[u>>2]|0)+408>>2]&127](u,0)}a:do{switch(c[m+4>>2]|0){case 1:{Fx(b,m);break};case 2:{Gx(b,m);break};case 3:{Hx(b,m);break};case 7:case 6:{o=m+184|0;p=c[o>>2]|0;do{if((p|0)>128){p=3}else{if((p|0)>64){p=2;break}p=(p|0)>16|0}}while(0);r=c[q>>2]|0;r=jd[c[(c[r>>2]|0)+44>>2]&511](r)|0;s=m+316|0;u=(c[s>>2]|0)>0;if(u){q=c[m+188>>2]|0;t=(+h[q+24>>3]- +h[q+16>>3])*.005}else{t=768.0}if((c[o>>2]|0)<=0){break a}q=m+180|0;Nx(b,c[q>>2]|0,r,u?1:r,t,p,m);if((c[o>>2]|0)>1){u=1}else{break a}do{Nx(b,(c[q>>2]|0)+(u*1280|0)|0,r,(c[s>>2]|0)>0?1:r,t,p,m);u=u+1|0;}while((u|0)<(c[o>>2]|0));break};case 5:case 4:{Ix(b,m);break};default:{}}}while(0);if(n){u=c[d>>2]|0;hd[c[(c[u>>2]|0)+408>>2]&127](u,1)}u=c[b+36>>2]|0;do{if((c[k>>2]|0)>(c[u+(((c[b+40>>2]|0)-u>>2)+ -1<<2)>>2]|0)){n=c[l>>2]|0;if((c[n+656>>2]|0)==0){f=25;break}u=YB(n)|0;c[l>>2]=u;s=c[d>>2]|0;hd[c[(c[s>>2]|0)+84>>2]&127](s,u);c[k>>2]=(c[k>>2]|0)+ -1}else{f=25}}while(0);if((f|0)==25){Qe(-1,162208,g);a[b+18|0]=1}GB(c[l>>2]|0,j);fd[c[(c[m>>2]|0)+4>>2]&511](m);i=e;return}function jx(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.0,o=0,p=0,q=0.0,r=0,s=0,t=0,u=0.0,v=0,w=0.0,x=0.0;e=i;g=i;i=i+16|0;j=g;p=i;i=i+16|0;o=p;r=i;i=i+16|0;s=r;v=i;i=i+16|0;t=v;l=i;i=i+8|0;m=c[b+28>>2]|0;f=c[m+588>>2]|0;do{if((c[f+28>>2]|0)<=0){if((a[f]&1)!=0){break}f=c[b+120>>2]|0;do{if((f|0)==0){f=-1}else{f=c[f+4>>2]|0;if((c[f+16>>2]|0)!=8){f=-1;break}f=c[f+24>>2]|0;f=jd[c[(c[f>>2]|0)+48>>2]&511](f)|0}}while(0);Qe(f,160808,l);i=e;return}}while(0);l=m+592|0;k=+h[l>>3];m=m+600|0;n=+h[m>>3];b=c[d>>2]|0;if((b+ -1|0)>>>0>=2){c[v>>2]=b;c[t+4>>2]=1;c[t+8>>2]=2;Qe(0,162328,t);tc()}t=d+8|0;if((b|0)==1){q=+(c[t>>2]|0)}else{q=+h[t>>3]}t=c[d+16>>2]|0;if((t+ -1|0)>>>0>=2){c[r>>2]=t;c[s+4>>2]=1;c[s+8>>2]=2;Qe(0,162328,s);tc()}r=d+24|0;if((t|0)==1){u=+(c[r>>2]|0)}else{u=+h[r>>3]}r=c[d+32>>2]|0;if((r+ -1|0)>>>0>=2){c[p>>2]=r;c[o+4>>2]=1;c[o+8>>2]=2;Qe(0,162328,o);tc()}o=d+40|0;if((r|0)==1){w=+(c[o>>2]|0)}else{w=+h[o>>3]}o=c[d+48>>2]|0;if((o+ -1|0)>>>0>=2){c[g>>2]=o;c[j+4>>2]=1;c[j+8>>2]=2;Qe(0,162328,j);tc()}d=d+56|0;if((o|0)==1){x=+(c[d>>2]|0)}else{x=+h[d>>3]}h[l>>3]=w;h[m>>3]=x;wB(f,k,n,q,u,w,x);i=e;return}function kx(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.0;e=i;j=i;i=i+16|0;k=j;d=a+28|0;f=c[d>>2]|0;g=c[b>>2]|0;if((g+ -1|0)>>>0>=2){c[j>>2]=g;c[k+4>>2]=1;c[k+8>>2]=2;Qe(0,162328,k);tc()}b=b+8|0;if((g|0)==1){l=+(c[b>>2]|0)}else{l=+h[b>>3]}h[f+432>>3]=l;k=c[a+8>>2]|0;hd[c[(c[k>>2]|0)+116>>2]&127](k,c[d>>2]|0);i=e;return}function lx(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.0,o=0,p=0,q=0,r=0.0,s=0,t=0,u=0.0,v=0.0;e=i;j=i;i=i+16|0;k=j;l=i;i=i+16|0;m=l;o=i;i=i+16|0;p=o;s=i;i=i+16|0;t=s;q=i;i=i+8|0;f=c[b+28>>2]|0;g=c[f+588>>2]|0;do{if((c[g+28>>2]|0)<=0){if((a[g]&1)!=0){break}f=c[b+120>>2]|0;do{if((f|0)==0){f=-1}else{f=c[f+4>>2]|0;if((c[f+16>>2]|0)!=8){f=-1;break}f=c[f+24>>2]|0;f=jd[c[(c[f>>2]|0)+48>>2]&511](f)|0}}while(0);Qe(f,160840,q);i=e;return}}while(0);q=c[d>>2]|0;if((q+ -1|0)>>>0>=2){c[s>>2]=q;c[t+4>>2]=1;c[t+8>>2]=2;Qe(0,162328,t);tc()}s=d+8|0;if((q|0)==1){n=+(c[s>>2]|0)}else{n=+h[s>>3]}q=c[d+16>>2]|0;if((q+ -1|0)>>>0>=2){c[o>>2]=q;c[p+4>>2]=1;c[p+8>>2]=2;Qe(0,162328,p);tc()}o=d+24|0;if((q|0)==1){r=+(c[o>>2]|0)}else{r=+h[o>>3]}o=c[d+32>>2]|0;if((o+ -1|0)>>>0>=2){c[l>>2]=o;c[m+4>>2]=1;c[m+8>>2]=2;Qe(0,162328,m);tc()}l=d+40|0;if((o|0)==1){u=+(c[l>>2]|0)}else{u=+h[l>>3]}l=c[d+48>>2]|0;if((l+ -1|0)>>>0>=2){c[j>>2]=l;c[k+4>>2]=1;c[k+8>>2]=2;Qe(0,162328,k);tc()}d=d+56|0;if((l|0)==1){v=+(c[d>>2]|0)}else{v=+h[d>>3]}h[f+592>>3]=u;h[f+600>>3]=v;wB(g,n,r,u,v,u,v);i=e;return}function mx(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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((x|0)==7){I=FW(8)|0;uy(I,b,0,c[s>>2]|0);c[a>>2]=I}Of(j);Yu(d,159200,f,0)|0;Yu(d,159208,q,0)|0;Yu(d,159224,n,0)|0;Yu(d,159232,k,0)|0;Yu(d,159240,h,0)|0;Yu(d,159256,g,0)|0;I=a+112|0;c[I>>2]=e;i=t;return}function nx(a){a=a|0;var b=0,d=0;b=i;d=c[a>>2]|0;if((d|0)!=0){vy(d);HW(d)}Of(a+8|0);Of(a+24|0);Of(a+40|0);Of(a+56|0);Of(a+72|0);Of(a+96|0);sG(a+88|0);i=b;return}function ox(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;f=i;g=i;i=i+8|0;h=g;j=i;i=i+16|0;e=j;c[j>>2]=13;j=e+8|0;c[j>>2]=0;c[j+4>>2]=0;a:do{if((a|0)!=0){while(1){if((c[a+40>>2]|0)==7){if((c[(Yu(c[a+48>>2]|0,b,e,0)|0)>>2]|0)!=5){break}Of(e)}a=c[a+112>>2]|0;if((a|0)==0){break a}}j=vA(e,d)|0;Of(e);i=f;return j|0}}while(0);c[g>>2]=b;Qe(-1,159352,h);j=0;i=f;return j|0}function px(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;f=i;g=i;i=i+8|0;h=g;j=i;i=i+16|0;e=j;c[j>>2]=13;j=e+8|0;c[j>>2]=0;c[j+4>>2]=0;a:do{if((a|0)!=0){while(1){if((c[a+56>>2]|0)==7){if((c[(Yu(c[a+64>>2]|0,b,e,0)|0)>>2]|0)!=5){break}Of(e)}a=c[a+112>>2]|0;if((a|0)==0){break a}}j=BA(e,d)|0;Of(e);i=f;return j|0}}while(0);c[g>>2]=b;Qe(-1,159376,h);j=0;i=f;return j|0}function qx(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;h=i;i=i+8|0;j=h;g=i;i=i+8|0;f=g;a:do{if((a|0)!=0){k=a;while(1){if((c[k+72>>2]|0)==7){if((c[(Zu(c[k+80>>2]|0,b,d)|0)>>2]|0)!=5){break}Of(d)}k=c[k+112>>2]|0;if((k|0)==0){break a}}if((c[d>>2]|0)!=9){k=1;i=e;return k|0}b=d+8|0;k=c[b+4>>2]|0;c[g>>2]=c[b>>2];c[g+4>>2]=k;g=a+88|0;if((c[(uG(g,f,d)|0)>>2]|0)!=5){k=1;i=e;return k|0}Of(d);Mf(tG(g,f)|0,d)|0;k=1;i=e;return k|0}}while(0);c[h>>2]=b;Qe(-1,159400,j);k=0;i=e;return k|0}function rx(b,d,e,f,g,j,k,l,m,n,o,p,q){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;k=+k;l=+l;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;var r=0,s=0,t=0;r=i;c[b+36>>2]=0;s=b+40|0;c[s>>2]=0;t=b+44|0;c[t>>2]=0;c[b>>2]=d;c[b+4>>2]=j;a[b+12|0]=0;a[b+13|0]=(uf(c[834]|0)|0)&1;a[b+14|0]=(vf(c[834]|0)|0)&1;a[b+15|0]=0;a[b+16|0]=0;a[b+17|0]=0;c[b+116>>2]=0;c[b+120>>2]=0;d=FW(120)|0;mx(d,c[b>>2]|0,g,0);c[b+20>>2]=d;g=b+8|0;c[g>>2]=e;d=FW(664)|0;DB(d,k,l,m,o,jd[c[(c[e>>2]|0)+8>>2]&511](e)|0);m=b+28|0;c[m>>2]=d;o=b+32|0;c[o>>2]=1;e=c[s>>2]|0;if((e|0)==(c[t>>2]|0)){eu(b+36|0,o)}else{if((e|0)==0){e=0}else{c[e>>2]=1;e=c[s>>2]|0}c[s>>2]=e+4}a[b+48|0]=0;c[b+52>>2]=0;c[b+56>>2]=0;s=c[g>>2]|0;Gd[c[(c[s>>2]|0)+60>>2]&255](s,f,c[m>>2]|0);s=c[g>>2]|0;hd[c[(c[s>>2]|0)+52>>2]&127](s,(c[m>>2]|0)+16|0);s=c[g>>2]|0;hd[c[(c[s>>2]|0)+88>>2]&127](s,c[m>>2]|0);s=c[m>>2]|0;h[b+64>>3]=+h[s+16>>3];h[b+72>>3]=+h[s+24>>3];h[b+80>>3]=+h[s+32>>3];h[b+88>>3]=+h[s+40>>3];h[b+96>>3]=+h[s+48>>3];h[b+104>>3]=+h[s+56>>3];c[b+112>>2]=0;c[b+124>>2]=p;c[b+128>>2]=q;if((n|0)==0){i=r;return}l=+h[n>>3];d=n+8|0;k=+h[d>>3];j=c[s+588>>2]|0;h[s+592>>3]=l;h[s+600>>3]=k;uB(j,l,k);j=c[m>>2]|0;t=n+16|0;k=+h[t>>3];l=+h[d>>3];d=c[j+588>>2]|0;h[j+592>>3]=k;h[j+600>>3]=l;vB(d,k,l);d=c[m>>2]|0;l=+h[t>>3];t=n+24|0;k=+h[t>>3];j=c[d+588>>2]|0;h[d+592>>3]=l;h[d+600>>3]=k;vB(j,l,k);j=c[m>>2]|0;k=+h[n>>3];l=+h[t>>3];t=c[j+588>>2]|0;h[j+592>>3]=k;h[j+600>>3]=l;vB(t,k,l);t=c[m>>2]|0;j=t+588|0;xB(c[j>>2]|0);j=c[j>>2]|0;d=j+28|0;j=j+24|0;o=c[(c[j>>2]|0)+((c[d>>2]|0)+ -1<<2)>>2]|0;h[t+592>>3]=+h[(c[o>>2]|0)+((c[o+12>>2]|0)+ -1<<3)>>3];d=c[(c[j>>2]|0)+((c[d>>2]|0)+ -1<<2)>>2]|0;h[t+600>>3]=+h[(c[d+4>>2]|0)+((c[d+12>>2]|0)+ -1<<3)>>3];TB(c[m>>2]|0);t=c[g>>2]|0;hd[c[(c[t>>2]|0)+256>>2]&127](t,c[m>>2]|0);SB(c[m>>2]|0);i=r;return}function sx(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;e=i;h=i;i=i+8|0;j=i;i=i+8|0;d=b+40|0;p=c[d>>2]|0;f=b+36|0;n=c[f>>2]|0;g=b+28|0;if((p|0)!=(n|0)){m=b+32|0;l=b+8|0;o=c[m>>2]|0;do{a:do{if((o|0)>(c[n+((p-n>>2)+ -1<<2)>>2]|0)){do{q=c[g>>2]|0;if((c[q+656>>2]|0)==0){break a}o=YB(q)|0;c[g>>2]=o;p=c[l>>2]|0;hd[c[(c[p>>2]|0)+84>>2]&127](p,o);o=(c[m>>2]|0)+ -1|0;c[m>>2]=o;p=c[d>>2]|0;n=c[f>>2]|0;}while((o|0)>(c[n+((p-n>>2)+ -1<<2)>>2]|0))}}while(0);p=p+ -4|0;c[d>>2]=p;}while((p|0)!=(n|0))}if((c[(c[g>>2]|0)+656>>2]|0)!=0){m=b+32|0;l=b+8|0;n=b+18|0;do{Qe(-1,159432,j);q=c[f>>2]|0;do{if((c[m>>2]|0)>(c[q+(((c[d>>2]|0)-q>>2)+ -1<<2)>>2]|0)){o=c[g>>2]|0;if((c[o+656>>2]|0)==0){k=11;break}q=YB(o)|0;c[g>>2]=q;p=c[l>>2]|0;hdhd[c[(c[h>>2]|0)+84>>2]&127](h,g);c[f>>2]=(c[f>>2]|0)+ -1;i=e;return}}while(0);Qe(-1,162208,d);a[b+18|0]=1;i=e;return}function ux(a){a=a|0;var b=0,d=0,e=0;b=i;a=a+20|0;e=c[a>>2]|0;d=c[e+112>>2]|0;if((e|0)!=0){nx(e);HW(e)}c[a>>2]=d;i=b;return}function vx(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;n=i;i=i+8|0;l=i;i=i+8|0;h=i;i=i+8|0;j=h;g=i;i=i+16|0;f=g;c[g>>2]=13;m=f+8|0;c[m>>2]=0;c[m+4>>2]=0;m=c[b>>2]|0;if((m|0)==6){k=2}else if((m|0)!=8){Qe(-1,159480,n);i=e;return}a:do{if((k|0)==2){m=b+8|0;n=0;while(1){o=c[m>>2]|0;if((n|0)>=(c[o+12>>2]|0)){break a}ut(o,n,f)|0;if((c[g>>2]|0)!=8){break}Of(f);o=c[b>>2]|0;if((o|0)==6){n=n+1|0}else{k=3;break}}if((k|0)==3){c[h>>2]=o;c[j+4>>2]=6;Qe(0,162256,j);tc()}Qe(-1,159480,l);Of(f);i=e;return}}while(0);o=FW(56)|0;n=c[a>>2]|0;f=FW(168)|0;cE(f,n,b);aG(o,n,f,0);f=a+120|0;c[f>>2]=o;wx(a,d);a=c[f>>2]|0;if((a|0)!=0){bG(a);HW(a)}c[f>>2]=0;i=e;return}
7321 function $K(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;h=i;do{if((d|b|e|0)<0){a=6}else{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;break}if((2147483647/(b|0)|0|0)<(e|0)){a=10;break}if((d|0)!=0){d=da(d,b)|0;b=da(e,b)|0;b=pd[c[a+12>>2]&63](a,d,b,f)|0;a=(b|0)==0;f=a?f:b;a=a?64:0;break}b=da(e,b)|0;if((b|0)<=0){f=0;a=b>>31&6;break}f=Bd[c[a+4>>2]&255](a,b)|0;e=(f|0)==0;a=e?64:0;if(e){f=0;break}bX(f|0,0,b|0)|0}}while(0);c[g>>2]=a;i=h;return f|0}function aL(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;g=i;e=(b|0)==0;do{if(e){j=0;f=4}else{h=(ZW(b|0)|0)+1|0;if((h|0)<=0){j=h;f=4;break}j=Bd[c[a+4>>2]&255](a,h)|0;a=j;j=(j|0)==0?64:0}}while(0);if((f|0)==4){h=j;a=0;j=j>>31&6}if((j|0)!=0|e){h=d;c[h>>2]=j;i=g;return a|0}$W(a|0,b|0,h|0)|0;h=d;c[h>>2]=j;i=g;return a|0}function bL(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=i;a:do{if(d>>>0>1){while(1){g=a[c]|0;if(g<<24>>24==0){break a}c=c+1|0;f=b+1|0;a[b]=g;d=d+ -1|0;if(d>>>0>1){b=f}else{b=f;break}}}}while(0);a[b]=0;i=e;return(a[c]|0)!=0|0}function cL(a){a=a|0;var b=0,c=0;b=i;while(1){c=a+ -1&a;if((c|0)==0){break}else{a=c}}i=b;return a|0}function dL(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;a=i;c[e>>2]=0;if((b|0)==0){d=81;i=a;return d|0}d=nL(b,333319,f)|0;i=a;return d|0}function eL(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;a=i;c[e>>2]=0;if((b|0)==0){d=81;i=a;return d|0}d=nL(b,333312,f)|0;i=a;return d|0}function fL(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;k=i;i=i+32|0;j=k;h=i;i=i+8|0;b=c[a>>2]|0;d=mL(b,d,206480)|0;if((d|0)==0){k=64;i=g;return k|0}c[k>>2]=4;c[j+12>>2]=d;a=xJ(a,j,h)|0;do{if((a|0)==0){a=c[h>>2]|0;if((a|0)==0){f=81;break}f=nL(a,333319,f)|0;h=c[a+28>>2]|0;j=c[a+24>>2]|0;if((j|0)!=0){fd[j&511](a)}hd[c[h+8>>2]&127](h,a);if((f|0)!=0){break}c[e>>2]=d;k=0;i=g;return k|0}else{f=a}}while(0);hd[c[b+8>>2]&127](b,d);k=f;i=g;return k|0}function gL(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;b=ZW(d|0)|0;h=b+18|0;a=c[a>>2]|0;do{if((h|0)>0){j=Bd[c[a+4>>2]&255](a,h)|0;k=(j|0)==0;a=k?64:0;if(k){j=0;break}bX(j|0,0,h|0)|0}else{j=0;a=h>>31&6}}while(0);if((a|0)!=0){k=a;i=g;return k|0}$W(j|0,d|0,b|0)|0;$W(j+b|0,206456,18)|0;c[e>>2]=j;c[f>>2]=0;k=0;i=g;return k|0}function hL(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;b=ZW(d|0)|0;h=b+6|0;a=c[a>>2]|0;do{if((h|0)>0){j=Bd[c[a+4>>2]&255](a,h)|0;k=(j|0)==0;a=k?64:0;if(k){j=0;break}bX(j|0,0,h|0)|0}else{j=0;a=h>>31&6}}while(0);if((a|0)!=0){k=a;i=g;return k|0}$W(j|0,d|0,b|0)|0;$W(j+b|0,206448,6)|0;c[e>>2]=j;c[f>>2]=0;k=0;i=g;return k|0}function iL(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;b=i;d=mL(c[a>>2]|0,d,206432)|0;if((d|0)==0){a=64;i=b;return a|0}c[e>>2]=d;c[f>>2]=0;a=0;i=b;return a|0}function jL(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;b=i;d=mL(c[a>>2]|0,d,206416)|0;if((d|0)==0){a=64;i=b;return a|0}c[e>>2]=d;c[f>>2]=0;a=0;i=b;return a|0}function kL(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;k=i;i=i+32|0;j=k;h=i;i=i+8|0;b=c[a>>2]|0;d=mL(b,d,206408)|0;if((d|0)==0){k=64;i=g;return k|0}c[k>>2]=4;c[j+12>>2]=d;a=xJ(a,j,h)|0;do{if((a|0)==0){a=c[h>>2]|0;if((a|0)==0){f=81;break}f=nL(a,333319,f)|0;h=c[a+28>>2]|0;j=c[a+24>>2]|0;if((j|0)!=0){fd[j&511](a)}hd[c[h+8>>2]&127](h,a);if((f|0)!=0){break}c[e>>2]=d;k=0;i=g;return k|0}else{f=a}}while(0);hd[c[b+8>>2]&127](b,d);k=f;i=g;return k|0}function lL(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;k=i;i=i+32|0;j=k;h=i;i=i+8|0;b=c[a>>2]|0;d=mL(b,d,206392)|0;if((d|0)==0){k=64;i=g;return k|0}c[k>>2]=4;c[j+12>>2]=d;a=xJ(a,j,h)|0;do{if((a|0)==0){a=c[h>>2]|0;if((a|0)==0){f=81;break}f=nL(a,333319,f)|0;h=c[a+28>>2]|0;j=c[a+24>>2]|0;if((j|0)!=0){fd[j&511](a)}hd[c[h+8>>2]&127](h,a);if((f|0)!=0){break}c[e>>2]=d;k=0;i=g;return k|0}else{f=a}}while(0);hd[c[b+8>>2]&127](b,d);k=f;i=g;return k|0}function mL(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;f=i;g=ZW(d|0)|0;g=g+1+(ZW(e|0)|0)|0;do{if((g|0)>0){b=Bd[c[b+4>>2]&255](b,g)|0;j=(b|0)==0;h=j?64:0;if(j){b=0;break}bX(b|0,0,g|0)|0}else{b=0;h=g>>31&6}}while(0);if((h|0)!=0){j=0;i=f;return j|0}g=Sa(d|0,47)|0;if((g|0)==0){a[b]=0}else{j=g-d+1|0;hX(b|0,d|0,j|0)|0;a[b+j|0]=0;d=g+1|0}cX(b|0,e|0)|0;cX(b|0,d|0)|0;j=b;i=f;return j|0}function nL(a,b,e){a=a|0;b=b|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;f=i;m=i;i=i+8|0;h=i;i=i+8|0;g=a+8|0;o=c[g>>2]|0;k=a+4|0;if((o+3|0)>>>0>=(c[k>>2]|0)>>>0){q=85;i=f;return q|0}j=a+20|0;n=c[j>>2]|0;do{if((n|0)==0){n=(c[a>>2]|0)+o|0;if((n|0)==0){p=0}else{l=6}}else{if((pd[n&63](a,o,h,4)|0)==4){o=c[g>>2]|0;n=h;l=6;break}else{q=85;i=f;return q|0}}}while(0);if((l|0)==6){p=(d[n+1|0]|0)<<16|(d[n]|0)<<24|(d[n+2|0]|0)<<8|(d[n+3|0]|0)}n=o+4|0;c[g>>2]=n;if((p|0)!=(b|0)){q=2;i=f;return q|0}if((o+7|0)>>>0>=(c[k>>2]|0)>>>0){q=85;i=f;return q|0}b=c[j>>2]|0;do{if((b|0)==0){c[g>>2]=o+8;o=o+24|0;l=14}else{if((pd[b&63](a,n,h,4)|0)!=4){q=85;i=f;return q|0}n=c[g>>2]|0;o=c[j>>2]|0;c[g>>2]=n+4;b=n+20|0;if((o|0)==0){o=b;l=14;break}q=(pd[o&63](a,b,0,0)|0)==0;o=q?0:85}}while(0);if((l|0)==14){b=o;o=(c[k>>2]|0)>>>0<o>>>0?85:0}if((o|0)!=0){q=o;i=f;return q|0}c[g>>2]=b;if((n+21|0)>>>0>=(c[k>>2]|0)>>>0){q=85;i=f;return q|0}l=c[j>>2]|0;do{if((l|0)==0){m=(c[a>>2]|0)+b|0;if((m|0)!=0){break}c[g>>2]=n+22;q=2;i=f;return q|0}else{if((pd[l&63](a,b,m,2)|0)==2){b=c[g>>2]|0;break}else{q=85;i=f;return q|0}}}while(0);q=(d[m]|0)<<8&65535|(d[m+1|0]|0);p=b+2|0;c[g>>2]=p;m=q&65535;if(q<<16>>16==0){q=2;i=f;return q|0}b=1;a:while(1){if((p+3|0)>>>0>=(c[k>>2]|0)>>>0){o=85;l=49;break}l=c[j>>2]|0;do{if((l|0)==0){n=(c[a>>2]|0)+p|0;if((n|0)!=0){l=30;break}c[g>>2]=p+4;o=p+12|0;l=44}else{if((pd[l&63](a,p,h,4)|0)!=4){o=85;l=49;break a}p=c[g>>2]|0;n=h;l=30}}while(0);do{if((l|0)==30){l=0;q=(d[n+1|0]|0)<<16|(d[n]|0)<<24|(d[n+2|0]|0)<<8|(d[n+3|0]|0);n=p+4|0;c[g>>2]=n;if((q|0)!=2){l=c[j>>2]|0;n=p+12|0;if((l|0)==0){o=n;l=44;break}q=(pd[l&63](a,n,0,0)|0)==0;o=q?0:85;l=45;break}o=c[k>>2]|0;if((p+7|0)>>>0>=o>>>0){break}p=c[j>>2]|0;if((p|0)==0){p=(c[a>>2]|0)+n|0;if((p|0)==0){p=0}else{l=36}}else{if((pd[p&63](a,n,h,4)|0)!=4){break}o=c[k>>2]|0;n=c[g>>2]|0;p=h;l=36}if((l|0)==36){l=0;p=(d[p+1|0]|0)<<16|(d[p]|0)<<24|(d[p+2|0]|0)<<8|(d[p+3|0]|0)}q=n+4|0;c[g>>2]=q;if((n+7|0)>>>0>=o>>>0){break}n=c[j>>2]|0;if((n|0)==0){break a}if((pd[n&63](a,q,h,4)|0)==4){l=40;break a}}}while(0);if((l|0)==44){n=o;o=(c[k>>2]|0)>>>0<o>>>0?85:0;l=45}if((l|0)==45){if((o|0)!=0){l=49;break}c[g>>2]=n}if((b|0)>=(m|0)){o=2;l=49;break}p=c[g>>2]|0;b=b+1|0}if((l|0)==40){q=c[g>>2]|0}else if((l|0)==49){i=f;return o|0}c[g>>2]=q+4;c[e>>2]=p;q=0;i=f;return q|0}function oL(b,e,f,g){b=b|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;k=i;i=i+128|0;j=k;if((e|0)==0){n=85;i=h;return n|0}l=e+20|0;m=c[l>>2]|0;do{if((m|0)!=0){m=(pd[m&63](e,0,0,0)|0)==0;if(m){break}else{g=m?0:85}i=h;return g|0}}while(0);m=e+8|0;c[m>>2]=0;n=c[e+4>>2]|0;if((n|0)==0){n=85;i=h;return n|0}l=c[l>>2]|0;if((l|0)==0){l=n>>>0>128?128:n;$W(k|0,c[e>>2]|0,l|0)|0}else{l=pd[l&63](e,0,j,128)|0}c[m>>2]=l;if(l>>>0<=127){n=85;i=h;return n|0}if((a[k]|0)!=0){n=2;i=h;return n|0}if((a[j+74|0]|0)!=0){n=2;i=h;return n|0}if((a[j+82|0]|0)!=0){n=2;i=h;return n|0}k=a[j+1|0]|0;if(k<<24>>24==0|(k&255)>33){n=2;i=h;return n|0}if((a[j+63|0]|0)!=0){n=2;i=h;return n|0}if((a[j+((k&255)+2)|0]|0)!=0){n=2;i=h;return n|0}n=pL(b,e,(d[j+84|0]<<16|d[j+83|0]<<24|d[j+85|0]<<8|d[j+86|0])+255&-128,f,g)|0;i=h;return n|0}function pL(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,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;k=i;p=i;i=i+8|0;n=i;i=i+8|0;t=i;i=i+8|0;s=i;i=i+8|0;l=i;i=i+8|0;o=l;q=i;i=i+8|0;r=q;j=c[b>>2]|0;f=BK(0,e,f,t,s)|0;if((f|0)!=0){F=f;i=k;return F|0}t=c[t>>2]|0;s=c[s>>2]|0;if((FK(b,e,t,s,1347375956,o,r)|0)!=0){o=FK(b,e,t,s,1936092788,o,r)|0;if((o|0)!=0){F=o;i=k;return F|0}o=c[q>>2]|0;p=(g|0)%(o|0)|0;s=c[b>>2]|0;f=(p|0)==-1?0:p;p=c[l>>2]|0;a:do{if((f|0)<(o|0)){t=c[p+(f<<2)>>2]|0;r=e+20|0;q=c[r>>2]|0;if((q|0)==0){q=(c[e+4>>2]|0)>>>0<t>>>0?85:0}else{F=(pd[q&63](e,t,0,0)|0)==0;q=F?0:85}if((q|0)!=0){m=q;break}q=e+8|0;c[q>>2]=t;g=e+4|0;if((t+3|0)>>>0>=(c[g>>2]|0)>>>0){m=85;break}u=c[r>>2]|0;do{if((u|0)==0){n=(c[e>>2]|0)+t|0;if((n|0)!=0){u=t;m=77;break}c[q>>2]=t+4;n=0}else{if((pd[u&63](e,t,n,4)|0)!=4){m=85;break a}u=c[q>>2]|0;m=77}}while(0);if((m|0)==77){n=(d[n+1|0]|0)<<16|(d[n]|0)<<24|(d[n+2|0]|0)<<8|(d[n+3|0]|0);c[q>>2]=u+4;if((n|0)==-1){m=1;break}}m=QJ(b,e,f,h)|0;if((m|0)==0){m=0;break}t=t+4|0;f=c[r>>2]|0;if((f|0)==0){f=(c[g>>2]|0)>>>0<t>>>0?85:0}else{F=(pd[f&63](e,t,0,0)|0)==0;f=F?0:85}if((f|0)!=0){break}c[q>>2]=t;do{if((n|0)>0){m=Bd[c[s+4>>2]&255](s,n)|0;t=(m|0)==0;s=t?64:0;if(t){m=0;break}bX(m|0,0,n|0)|0}else{m=0;s=n>>31&6}}while(0);if((s|0)!=0){m=s;break}s=c[q>>2]|0;g=c[g>>2]|0;if(g>>>0<=s>>>0){m=85;break}r=c[r>>2]|0;if((r|0)==0){r=g-s|0;F=r>>>0>n>>>0?n:r;$W(m|0,(c[e>>2]|0)+s|0,F|0)|0;e=F}else{e=pd[r&63](e,s,m,n)|0}c[q>>2]=e+s;if(e>>>0<n>>>0){m=85;break}if((n|0)>4){F=(iX(m|0,206488,4)|0)!=0;e=F?206240:206496}else{e=206240}m=qL(b,m,n,0,e,h)|0}else{m=1}}while(0);if((p|0)!=0){hd[c[j+8>>2]&127](j,p)}c[l>>2]=0;if((m|0)!=0){F=m;i=k;return F|0}c[c[h>>2]>>2]=o;F=0;i=k;return F|0}o=c[l>>2]|0;r=c[q>>2]|0;q=c[b>>2]|0;b:do{if((g|0)==0|(g|0)==-1){f=(r|0)>0;do{if(f){v=e+20|0;g=e+4|0;u=e+8|0;s=0;t=0;do{w=c[o+(s<<2)>>2]|0;x=c[v>>2]|0;if((x|0)==0){C=(c[g>>2]|0)>>>0<w>>>0?85:0}else{F=(pd[x&63](e,w,0,0)|0)==0;C=F?0:85}if((C|0)!=0){break b}c[u>>2]=w;if((w+3|0)>>>0>=(c[g>>2]|0)>>>0){C=85;break b}x=c[v>>2]|0;if((x|0)==0){x=(c[e>>2]|0)+w|0;if((x|0)==0){x=6}else{m=15}}else{if((pd[x&63](e,w,n,4)|0)!=4){C=85;break b}w=c[u>>2]|0;x=n;m=15}if((m|0)==15){m=0;x=((d[x+1|0]|0)<<16|(d[x]|0)<<24|(d[x+2|0]|0)<<8|(d[x+3|0]|0))+6|0}c[u>>2]=w+4;t=x+t|0;s=s+1|0;}while((s|0)<(r|0));u=t+2|0;if((u|0)>0){g=u;m=19;break}g=u;s=0;C=u>>31&6}else{g=2;t=0;m=19}}while(0);do{if((m|0)==19){s=Bd[c[q+4>>2]&255](q,g)|0;u=(s|0)==0;C=u?64:0;if(u){s=0;break}bX(s|0,0,g|0)|0}}while(0);if((C|0)!=0){break}a[s]=-128;a[s+1|0]=1;F=s+2|0;a[F]=0;a[F+1|0]=0;a[F+2|0]=0;a[F+3|0]=0;c:do{if(f){v=e+20|0;f=e+4|0;u=e+8|0;w=0;z=0;y=2;x=6;A=1;do{B=c[o+(w<<2)>>2]|0;C=c[v>>2]|0;if((C|0)==0){C=(c[f>>2]|0)>>>0<B>>>0?85:0}else{F=(pd[C&63](e,B,0,0)|0)==0;C=F?0:85}if((C|0)!=0){break c}c[u>>2]=B;D=c[f>>2]|0;if((B+3|0)>>>0>=D>>>0){C=85;break b}C=c[v>>2]|0;if((C|0)==0){C=(c[e>>2]|0)+B|0;if((C|0)==0){C=B;B=0}else{E=C;m=33}}else{if((pd[C&63](e,B,n,4)|0)!=4){C=85;break b}D=c[f>>2]|0;B=c[u>>2]|0;E=n;m=33}if((m|0)==33){m=0;C=B;B=(d[E+1|0]|0)<<16|(d[E]|0)<<24|(d[E+2|0]|0)<<8|(d[E+3|0]|0)}E=C+4|0;c[u>>2]=E;if((C+5|0)>>>0>=D>>>0){C=85;break b}D=c[v>>2]|0;do{if((D|0)==0){D=(c[e>>2]|0)+E|0;if((D|0)!=0){m=40;break}c[u>>2]=C+6}else{if((pd[D&63](e,E,p,2)|0)!=2){C=85;break b}E=c[u>>2]|0;D=p;m=40}}while(0);do{if((m|0)==40){m=0;C=((d[D]|0)<<8&65535)>>>8;c[u>>2]=E+2;if((C|0)==0){break}B=(B|0)>2?B+ -2|0:0;if((C|0)==(A|0)){z=B+z|0;D=x}else{E=y+3|0;if((E|0)>(g|0)){C=0;break c}F=z&255;a[s+y|0]=F;A=z>>>8&255;a[s+(y+1)|0]=A;D=z>>>16&255;a[s+(y+2)|0]=D;z=z>>>24&255;a[s+E|0]=z;if((C|0)==5){e=z;m=56;break c}y=x+4|0;if((y|0)>(t|0)){C=0;break c}a[s+x|0]=-128;D=x+2|0;a[s+(x+1)|0]=C;a[s+D|0]=0;a[s+(x+3)|0]=0;a[s+y|0]=0;a[s+(x+5)|0]=0;z=B;y=D;D=x+6|0;A=C}if((D|0)>(t|0)){C=1;break c}x=D+B|0;if((x|0)>(t|0)){C=1;break c}D=s+D|0;C=c[u>>2]|0;E=c[f>>2]|0;if(E>>>0<=C>>>0){C=85;break c}F=c[v>>2]|0;if((F|0)==0){E=E-C|0;F=E>>>0>B>>>0?B:E;$W(D|0,(c[e>>2]|0)+C|0,F|0)|0;D=F}else{D=pd[F&63](e,C,D,B)|0}c[u>>2]=D+C;if(D>>>0<B>>>0){C=85;break c}}}while(0);w=w+1|0;}while((w|0)<(r|0));F=z&255;D=z>>>16&255;e=z>>>24&255;A=z>>>8&255;m=56}else{F=0;D=0;e=0;A=0;y=2;x=6;m=56}}while(0);do{if((m|0)==56){if((x|0)>(t|0)){C=0;break}a[s+x|0]=-128;a[s+(x+1)|0]=3;m=y+3|0;if((m|0)>(g|0)){C=0;break}a[s+y|0]=F;a[s+(y+1)|0]=A;a[s+(y+2)|0]=D;a[s+m|0]=e;C=qL(b,s,x+2|0,0,206504,h)|0;break b}}while(0);if((s|0)==0){break}hd[c[q+8>>2]&127](q,s)}else{C=1}}while(0);if((o|0)!=0){hd[c[j+8>>2]&127](j,o)}c[l>>2]=0;if((C|0)!=0){F=C;i=k;return F|0}c[c[h>>2]>>2]=1;F=0;i=k;return F|0}function qL(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;h=i;m=i;i=i+32|0;l=m;j=c[a>>2]|0;k=(b|0)==0;do{if((a|0)==0){if(k){j=33}else{g=33;break}i=h;return j|0}else{if(k){n=6;i=h;return n|0}k=Bd[c[j+4>>2]&255](j,40)|0;if((k|0)==0){g=64;break}bX(k|0,0,40)|0;c[k>>2]=b;c[k+4>>2]=d;c[k+8>>2]=0;c[k+32>>2]=0;c[k+20>>2]=0;b=k+24|0;c[b>>2]=329;c[m>>2]=2;c[l+16>>2]=k;if((f|0)!=0){c[m>>2]=10;n=c[a+24>>2]|0;d=a+28+(n<<2)|0;a:do{if((n|0)>0){n=a+28|0;while(1){m=c[n>>2]|0;n=n+4|0;if((Qc(c[(c[m>>2]|0)+8>>2]|0,f|0)|0)==0){break a}if(n>>>0<d>>>0){}else{m=0;break}}}else{m=0}}while(0);c[l+20>>2]=m}e=MJ(a,l,e,g)|0;if((e|0)==0){n=(c[g>>2]|0)+8|0;c[n>>2]=c[n>>2]&-1025;n=0;i=h;return n|0}g=c[b>>2]|0;if((g|0)!=0){fd[g&511](k)}hd[c[j+8>>2]&127](j,k);n=e;i=h;return n|0}}while(0);hd[c[j+8>>2]&127](j,b);n=g;i=h;return n|0}function rL(a){a=a|0;var b=0,d=0,e=0;b=i;e=c[a+28>>2]|0;d=c[a>>2]|0;if((d|0)!=0){hdhdd:do{switch(a[F]|0){case 37:{E=37;while(1){if(E<<24>>24==10|E<<24>>24==13){break d}F=F+1|0;if(F>>>0>=w>>>0){break d}E=a[F]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{break c}}}while(0);F=F+1|0;if(F>>>0>=w>>>0){break c}}}}while(0);c[r>>2]=F;e:do{switch(c[u>>2]|0){case 4:{C=mN(o,w,3)|0;k=31;break};case 3:{C=mN(o,w,0)|0;k=31;break};case 7:{c[t>>2]=F;f:do{if(F>>>0<w>>>0){E=a[F]|0;if(E<<24>>24==91){E=93;k=48}else{if(E<<24>>24==123){E=125;k=48}else{H=F;F=0;E=0}}if((k|0)==48){k=0;H=F+1|0;c[t>>2]=H;F=1}G=0;while(1){if(H>>>0<w>>>0){I=H}else{break}g:while(1){h:do{switch(a[I]|0){case 37:{H=37;while(1){if(H<<24>>24==10|H<<24>>24==13){break h}I=I+1|0;if(I>>>0>=w>>>0){break h}H=a[I]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{H=I;break g}}}while(0);H=I+1|0;if(H>>>0<w>>>0){I=H}else{break}}c[t>>2]=H;if(H>>>0>=w>>>0){break}if((a[H]|0)==E<<24>>24){k=58;break}if((G|0)>=4){F=H;k=63;break f}c[m+(G<<2)>>2]=mN(l,w,0)|0;I=c[t>>2]|0;if((H|0)==(I|0)){k=61;break b}G=G+1|0;if(F){H=I;F=1}else{H=I;break}}if((k|0)==58){k=0;H=H+1|0;c[t>>2]=H}c[r>>2]=H;if((G|0)<0){break b}}else{k=63}}while(0);if((k|0)==63){k=0;c[r>>2]=F}c[B>>2]=ZI(c[n>>2]|0)|0;c[C+(D+4)>>2]=ZI(c[y>>2]|0)|0;c[C+(D+8)>>2]=ZI(c[e>>2]|0)|0;c[C+(D+12)>>2]=ZI(c[x>>2]|0)|0;break};case 6:case 5:{E=c[z>>2]|0;D=w-F|0;if(F>>>0>=w>>>0){break e}if((s|0)==2){C=F+1|0;c[r>>2]=C;D=D+ -2|0}else if((s|0)==4){C=F+1|0;c[r>>2]=C;D=D+ -1|0}else{k=40;break b}F=c[B>>2]|0;if((F|0)!=0){lJ(E,F);c[B>>2]=0}F=jJ(E,D+1|0,p)|0;E=c[q>>2]|0;if((E|0)!=0){k=70;break b}$W(F|0,C|0,D|0)|0;a[F+D|0]=0;c[B>>2]=F;break};case 1:{C=F+3|0;do{if(C>>>0<w>>>0){if((a[F]|0)!=116){k=21;break}if((a[F+1|0]|0)!=114){k=21;break}if((a[F+2|0]|0)!=117){k=21;break}if((a[C]|0)!=101){k=21;break}F=F+5|0;C=1}else{k=21}}while(0);do{if((k|0)==21){k=F+4|0;if(k>>>0>=w>>>0){C=0;break}if((a[F]|0)!=102){C=0;break}if((a[F+1|0]|0)!=97){C=0;break}if((a[F+2|0]|0)!=108){C=0;break}if((a[C]|0)!=115){C=0;break}F=(a[k]|0)==101?F+6|0:F;C=0}}while(0);c[r>>2]=F;k=31;break};case 2:{C=nN(o,w)|0;k=31;break};default:{break a}}}while(0);do{if((k|0)==31){k=0;D=d[f]|0;if((D|0)==2){b[B>>1]=C;break}else if((D|0)==1){a[B]=C;break}else if((D|0)==4){c[B>>2]=C;break}else{c[B>>2]=C;break}}}while(0);h=h+ -1|0;if((h|0)==0){k=69;break}F=c[r>>2]|0;A=A+1|0}if((k|0)==40){c[q>>2]=3;I=3;i=j;return I|0}else if((k|0)==61){c[r>>2]=H}else if((k|0)==69){c[q>>2]=0;I=0;i=j;return I|0}else if((k|0)==70){i=j;return E|0}c[q>>2]=3;I=3;i=j;return I|0}}while(0);c[q>>2]=3;I=3;i=j;return I|0}function KM(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,t=0,u=0;j=i;t=i;i=i+16|0;s=t;q=i;i=i+16|0;p=q;n=i;i=i+384|0;k=i;i=i+40|0;h=k;$W(k|0,e|0,36)|0;k=h+8|0;c[k>>2]=2;o=e+8|0;r=c[o>>2]|0;if((r|0)==7|(r|0)==9){c[k>>2]=3}HM(b,s);if((c[s+8>>2]|0)!=3){t=162;i=j;return t|0}m=c[b>>2]|0;k=b+8|0;l=c[k>>2]|0;r=n+384|0;u=(c[t>>2]|0)+1|0;c[b>>2]=u;t=(c[s+4>>2]|0)+ -1|0;c[k>>2]=t;a:do{if(u>>>0<t>>>0){s=p+8|0;t=n;do{HM(b,p);if((c[s>>2]|0)==0){break a}if(t>>>0<r>>>0){$W(t|0,q|0,12)|0}t=t+12|0;}while((c[b>>2]|0)>>>0<(c[k>>2]|0)>>>0)}else{t=n}}while(0);u=t-n|0;q=(u|0)/12|0;c[b>>2]=m;c[k>>2]=l;if((u|0)<0){u=162;i=j;return u|0}p=c[e+24>>2]|0;p=q>>>0>p>>>0?p:q;do{if((c[o>>2]|0)!=7){e=c[e+28>>2]|0;if((e|0)==0){break}a[(c[f>>2]|0)+e|0]=p}}while(0);if((p|0)>0){o=h+20|0;e=h+16|0;while(1){c[b>>2]=c[n>>2];c[k>>2]=c[n+4>>2];JM(b,h,f,g,0)|0;c[e>>2]=(c[e>>2]|0)+(d[o]|0);p=p+ -1|0;if((p|0)>0){n=n+12|0}else{break}}}c[b>>2]=m;c[k>>2]=l;u=0;i=j;return u|0}function LM(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;c[b+64>>2]=0;a[b+68|0]=1;c[b+4>>2]=d;c[b+8>>2]=f;c[b>>2]=c[d+100>>2];do{if((f|0)!=0){f=f+156|0;d=c[c[f>>2]>>2]|0;c[b+12>>2]=d;c[b+16>>2]=d+20;c[b+20>>2]=d+56;kJ(d);c[b+76>>2]=c[e+40>>2];e=b+72|0;c[e>>2]=0;if(g<<24>>24==0){break}c[e>>2]=c[(c[f>>2]|0)+36>>2]}}while(0);bX(b+24|0,0,24)|0;$W(b+80|0,207832,32)|0;i=h;return}function MM(a){a=a|0;var b=0,d=0;b=i;d=c[a+8>>2]|0;if((d|0)==0){i=b;return}$W(d+108|0,c[a+16>>2]|0,20)|0;i=b;return}function NM(a,d){a=a|0;d=d|0;var e=0;e=i;if((d|0)==0){a=0;i=e;return a|0}a=c[a+12>>2]|0;if(((b[a+22>>1]|0)+d+(b[a+58>>1]|0)|0)>>>0<=(c[a+4>>2]|0)>>>0){a=0;i=e;return a|0}a=pJ(a,d,0)|0;i=e;return a|0}function OM(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;h=i;j=c[d+20>>2]|0;if((a[d+68|0]|0)==0){d=j+2|0;j=d;j=b[j>>1]|0;j=j+1<<16>>16;b[d>>1]=j;i=h;return}else{l=c[j+4>>2]|0;d=j+2|0;k=b[d>>1]|0;j=(c[j+8>>2]|0)+k|0;c[l+(k<<3)>>2]=(ZI(e)|0)>>16;c[l+(k<<3)+4>>2]=(ZI(f)|0)>>16;a[j]=g<<24>>24!=0?1:2;l=d;k=l;k=b[k>>1]|0;k=k+1<<16>>16;b[l>>1]=k;i=h;return}}function PM(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;g=i;h=c[d+12>>2]|0;do{if(((b[h+22>>1]|0)+1+(b[h+58>>1]|0)|0)>>>0>(c[h+4>>2]|0)>>>0){h=pJ(h,1,0)|0;if((h|0)==0){break}i=g;return h|0}}while(0);h=c[d+20>>2]|0;if((a[d+68|0]|0)==0){d=h+2|0}else{k=c[h+4>>2]|0;d=h+2|0;j=b[d>>1]|0;h=(c[h+8>>2]|0)+j|0;c[k+(j<<3)>>2]=(ZI(e)|0)>>16;c[k+(j<<3)+4>>2]=(ZI(f)|0)>>16;a[h]=1}b[d>>1]=(b[d>>1]|0)+1<<16>>16;k=0;i=g;return k|0}function QM(d){d=d|0;var e=0,f=0;e=i;f=c[d+20>>2]|0;if((f|0)==0){d=3;i=e;return d|0}if((a[d+68|0]|0)==0){b[f>>1]=(b[f>>1]|0)+1<<16>>16;d=0;i=e;return d|0}d=c[d+12>>2]|0;do{if(((b[d+20>>1]|0)+1+(b[d+56>>1]|0)|0)>>>0>(c[d+8>>2]|0)>>>0){d=pJ(d,0,1)|0;if((d|0)==0){break}i=e;return d|0}}while(0);d=b[f>>1]|0;if(d<<16>>16>0){b[(c[f+12>>2]|0)+((d<<16>>16)+ -1<<1)>>1]=(b[f+2>>1]|0)+ -1<<16>>16;d=b[f>>1]|0}b[f>>1]=d+1<<16>>16;d=0;i=e;return d|0}function RM(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;g=i;h=d+64|0;if((c[h>>2]|0)==3){l=0;i=g;return l|0}c[h>>2]=3;j=d+20|0;k=c[j>>2]|0;if((k|0)==0){l=3;i=g;return l|0}h=d+68|0;if((a[h]|0)==0){b[k>>1]=(b[k>>1]|0)+1<<16>>16;d=d+12|0}else{d=d+12|0;l=c[d>>2]|0;do{if(((b[l+20>>1]|0)+1+(b[l+56>>1]|0)|0)>>>0>(c[l+8>>2]|0)>>>0){l=pJ(l,0,1)|0;if((l|0)==0){break}i=g;return l|0}}while(0);l=b[k>>1]|0;if(l<<16>>16>0){b[(c[k+12>>2]|0)+((l<<16>>16)+ -1<<1)>>1]=(b[k+2>>1]|0)+ -1<<16>>16;l=b[k>>1]|0}b[k>>1]=l+1<<16>>16}k=c[d>>2]|0;do{if(((b[k+22>>1]|0)+1+(b[k+58>>1]|0)|0)>>>0>(c[k+4>>2]|0)>>>0){l=pJ(k,1,0)|0;if((l|0)==0){break}i=g;return l|0}}while(0);j=c[j>>2]|0;if((a[h]|0)==0){e=j+2|0}else{h=c[j+4>>2]|0;l=j+2|0;k=b[l>>1]|0;d=(c[j+8>>2]|0)+k|0;c[h+(k<<3)>>2]=(ZI(e)|0)>>16;c[h+(k<<3)+4>>2]=(ZI(f)|0)>>16;a[d]=1;e=l}b[e>>1]=(b[e>>1]|0)+1<<16>>16;l=0;i=g;return l|0}function SM(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;f=c[d+20>>2]|0;if((f|0)==0){i=e;return}g=b[f>>1]|0;if(g<<16>>16<2){h=0}else{h=(b[(c[f+12>>2]|0)+((g<<16>>16)+ -2<<1)>>1]|0)+1|0}d=f+2|0;j=b[d>>1]|0;do{if(j<<16>>16>1){l=c[f+4>>2]|0;k=(j<<16>>16)+ -1|0;if((c[l+(h<<3)>>2]|0)!=(c[l+(k<<3)>>2]|0)){break}if((c[l+(h<<3)+4>>2]|0)!=(c[l+(k<<3)+4>>2]|0)){break}if((a[(c[f+8>>2]|0)+k|0]|0)!=1){break}j=j+ -1<<16>>16;b[d>>1]=j}}while(0);if(g<<16>>16<=0){i=e;return}k=(j<<16>>16)+ -1|0;if((h|0)==(k|0)){b[f>>1]=g+ -1<<16>>16;b[d>>1]=j+ -1<<16>>16;i=e;return}else{b[(c[f+12>>2]|0)+((g<<16>>16)+ -1<<1)>>1]=k;i=e;return}}function TM(b,d,e,f,g,h,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0;m=i;bX(b|0,0,1500)|0;n=oK(c[d+96>>2]|0,209568)|0;if((n|0)==0){n=7;i=m;return n|0}c[b+1348>>2]=n;c[b+64>>2]=0;a[b+68|0]=1;c[b+4>>2]=d;c[b+8>>2]=f;c[b>>2]=c[d+100>>2];do{if((f|0)!=0){f=f+156|0;n=c[c[f>>2]>>2]|0;c[b+12>>2]=n;c[b+16>>2]=n+20;c[b+20>>2]=n+56;kJ(n);c[b+76>>2]=c[e+40>>2];e=b+72|0;c[e>>2]=0;if(j<<24>>24==0){break}c[e>>2]=c[(c[f>>2]|0)+36>>2]}}while(0);bX(b+24|0,0,24)|0;$W(b+80|0,207832,32)|0;c[b+1352>>2]=c[d+16>>2];c[b+1356>>2]=g;c[b+1468>>2]=k;c[b+1464>>2]=h;c[b+1472>>2]=l;$W(b+1476|0,207864,12)|0;n=0;i=m;return n|0}function UM(a){a=a|0;var b=0,d=0;b=i;d=c[a+8>>2]|0;if((d|0)==0){i=b;return}$W(d+108|0,c[a+16>>2]|0,20)|0;i=b;return}function VM(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,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;j=i;l=i;i=i+8|0;p=i;i=i+8|0;k=i;i=i+8|0;c[l>>2]=f;c[p>>2]=g;m=p^l^k;m=(m>>>10^m^m>>20)&65535;c[k>>2]=(m|0)==0?29572:m;c[f+1136>>2]=f+112;D=f+1140|0;c[f+1344>>2]=D;n=f+64|0;c[n>>2]=0;m=c[f+72>>2]|0;q=c[f+1492>>2]|0;if((q|0)!=0){bX(c[f+1488>>2]|0,0,q<<2|0)|0;g=c[p>>2]|0}c[f+1144>>2]=g;E=g+h|0;c[f+1148>>2]=E;c[D>>2]=g;q=f+24|0;H=c[q>>2]|0;r=f+28|0;G=c[r>>2]|0;p=(m|0)!=0;if(p){fd[c[m+4>>2]&511](c[m>>2]|0)}if((h|0)<=0){R=0;i=j;return R|0}B=f+12|0;y=f+20|0;z=f+68|0;A=m+20|0;v=f+32|0;x=f+40|0;u=f+44|0;w=f+70|0;h=f+36|0;s=m+12|0;t=m+16|0;I=0;F=0;C=H;J=0;a:while(1){b:while(1){N=g;L=F;while(1){M=c[l>>2]|0;K=c[M+1136>>2]|0;g=N+1|0;O=a[N]|0;F=O&255;c:do{switch(F|0){case 11:{F=L;O=24;N=0;break};case 13:{F=L;O=2;N=0;break};case 255:{F=N+5|0;if(F>>>0>E>>>0){M=160;o=238;break a}N=d[N+2|0]<<16|d[g]<<24|d[N+3|0]<<8|d[N+4|0];P=L<<24>>24!=0;if((N+32e3|0)>>>0>64e3){g=F;F=P?L:1;O=0;break c}else{g=F;F=L;O=0;N=P?N:N<<16;break c}break};case 30:{F=L;O=12;N=0;break};case 31:{F=L;O=8;N=0;break};case 3:{F=L;O=18;N=0;break};case 4:{F=L;O=14;N=0;break};case 5:{F=L;O=9;N=0;break};case 6:{F=L;O=6;N=0;break};case 1:{F=L;O=16;N=0;break};case 14:{F=L;O=1;N=0;break};case 15:{F=L;O=26;N=0;break};case 9:{F=L;O=5;N=0;break};case 10:{F=L;O=22;N=0;break};case 7:{F=L;O=13;N=0;break};case 8:{F=L;O=11;N=0;break};case 21:{F=L;O=10;N=0;break};case 22:{F=L;O=7;N=0;break};case 12:{if(g>>>0>E>>>0){M=160;o=238;break a}F=N+2|0;switch(d[g]|0){case 2:{g=F;F=L;O=17;N=0;break c};case 12:{g=F;F=L;O=20;N=0;break c};case 16:{g=F;F=L;O=21;N=0;break c};case 0:{g=F;F=L;O=15;N=0;break c};case 6:{g=F;F=L;O=3;N=0;break c};case 7:{g=F;F=L;O=4;N=0;break c};case 1:{g=F;F=L;O=19;N=0;break c};case 17:{g=F;F=L;O=23;N=0;break c};case 33:{g=F;F=L;O=25;N=0;break c};default:{M=160;o=238;break a}}break};default:{if((O&255)<=31){M=160;o=238;break a}do{if((O&255)<247){N=g;P=F+ -139|0}else{N=N+2|0;if(N>>>0>E>>>0){M=160;o=238;break a}F=F<<8;if((O&255)<251){P=(d[g]|F+ -63232)+108|0;break}else{P=-108-(d[g]|F+ -64256)|0;break}}}while(0);g=N;F=L;O=0;N=L<<24>>24==0?P<<16:P}}}while(0);do{if((J|0)>0){if((O|0)==23|(O|0)==0|(O|0)==24|(O|0)==22){break}J=0}}while(0);do{if(F<<24>>24==0){F=0}else{if((O|0)==0|(O|0)==20){break}F=0}}while(0);if((O|0)==21){break}else if((O|0)!=0){break b}if((K-(M+112)|0)>1020){M=160;o=238;break a}c[K>>2]=N;c[(c[l>>2]|0)+1136>>2]=K+4;if(g>>>0<E>>>0){N=g;L=F}else{M=0;o=238;break a}}O=M+112|0;if((K-O|0)<8){M=161;o=238;break a}R=K+ -8|0;I=c[K+ -4>>2]>>16;J=c[R>>2]>>16;if((J|0)>(R-O>>2|0)){M=161;o=238;break a}N=-2-J|0;L=K+(N<<2)|0;d:do{switch(I|0){case 2:{if((J|0)!=0){M=160;o=238;break a}R=M+1404|0;I=c[R>>2]|0;c[R>>2]=I+1;if((I+ -1|0)>>>0>=6){I=0;J=0;break d}if((I|0)==3){J=1}else{J=(I|0)==6|0}K=c[y>>2]|0;if((a[z]|0)==0){I=K+2|0}else{Q=c[K+4>>2]|0;I=K+2|0;R=b[I>>1]|0;K=(c[K+8>>2]|0)+R|0;c[Q+(R<<3)>>2]=(ZI(H)|0)>>16;c[Q+(R<<3)+4>>2]=(ZI(G)|0)>>16;a[K]=J<<24>>24!=0?1:2}b[I>>1]=(b[I>>1]|0)+1<<16>>16;I=0;J=0;break};case 19:{I=c[M+1464>>2]|0;if((J|0)!=1|(I|0)==0){M=160;o=238;break a}J=c[L>>2]>>16;if((J|0)<0){M=160;o=238;break a}K=c[I>>2]|0;if((K+J|0)>>>0>(c[M+1492>>2]|0)>>>0){M=160;o=238;break a}$W((c[M+1488>>2]|0)+(J<<2)|0,c[I+136>>2]|0,K<<2|0)|0;I=0;J=0;break};case 3:{if((J|0)!=1){M=160;o=238;break a}if(!p){I=1;J=0;break d}hdhd
7325 4;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>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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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){hdhd[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}hdhd[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){hdhd[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{hdhd[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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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){hdhd[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}
7329 function wx(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,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;l=i;i=i+8|0;m=l;k=i;i=i+8|0;n=i;i=i+8|0;p=i;i=i+8|0;o=i;i=i+8|0;w=o;u=i;i=i+16|0;v=u;j=i;i=i+528|0;t=i;i=i+24|0;c[u>>2]=13;q=v+8|0;c[q>>2]=0;c[q+4>>2]=0;f=j+528|0;g=j;do{c[g>>2]=13;J=g+8|0;c[J>>2]=0;c[J+4>>2]=0;g=g+16|0;}while((g|0)!=(f|0));g=b+32|0;f=b+40|0;h=c[f>>2]|0;if((h|0)==(c[b+44>>2]|0)){eu(b+36|0,g)}else{if((h|0)==0){h=0}else{c[h>>2]=c[g>>2];h=c[f>>2]|0}c[f>>2]=h+4}h=b+24|0;c[h>>2]=0;A=b+120|0;cG(c[A>>2]|0,v,0,0,0,0,0)|0;H=c[u>>2]|0;a:do{if((H|0)==12){Of(v)}else{C=b+18|0;y=b+13|0;x=b+14|0;B=b+8|0;D=b+124|0;E=b+128|0;z=c[r>>2]|0;F=0;G=0;b:while(1){a[C]=0;do{if((H|0)==10){if((a[y]&1)!=0){Qf(v,z);if((G|0)>0){H=0;do{Hb(32)|0;Qf(j+(H<<4)|0,z);H=H+1|0;}while((H|0)<(G|0))}Hb(10)|0;Fc(z|0)|0}dH(t);xx(b,v,j,G);do{if((a[x]&1)!=0){I=c[B>>2]|0;I=jd[c[(c[I>>2]|0)+372>>2]&511](I)|0;if((I|0)==0){break}H=FW(32)|0;J=c[u>>2]|0;if((J|0)!=10){s=19;break b}fe(H,c[q>>2]|0);J=oo(I,H)|0;if((J|0)==0){J=FW(32)|0;AG(J);lo(I,H,J)}BG(J,+eH(t))}}while(0);Of(v);if((G|0)>0){H=0;do{Of(j+(H<<4)|0);H=H+1|0;}while((H|0)<(G|0))}J=c[h>>2]|0;H=J+1|0;c[h>>2]=H;if((J|0)>19998){H=c[B>>2]|0;fd[c[(c[H>>2]|0)+68>>2]&511](H);c[h>>2]=0;H=0}if((a[C]&1)!=0){s=28;break b}G=c[D>>2]|0;if((G|0)==0){G=0;break}if((H-F|0)<=10){G=0;break}if(jd[G&511](c[E>>2]|0)|0){break b}F=c[h>>2]|0;G=0}else{if((G|0)<33){$W(j+(G<<4)|0,u|0,16)|0;G=G+1|0;break}H=c[A>>2]|0;do{if((H|0)==0){H=-1}else{H=c[H+4>>2]|0;if((c[H+16>>2]|0)!=8){H=-1;break}H=c[H+24>>2]|0;H=jd[c[(c[H>>2]|0)+48>>2]&511](H)|0}}while(0);Qe(H,159504,p);if((a[y]&1)!=0){Kb(159536,n|0)|0;Qf(v,z);Hb(10)|0;Fc(z|0)|0}Of(v)}}while(0);cG(c[A>>2]|0,v,0,0,0,0,0)|0;H=c[u>>2]|0;if((H|0)==12){s=43;break}}if((s|0)==19){c[o>>2]=J;c[w+4>>2]=10;Qe(0,162256,w);tc()}else if((s|0)==28){a[C]=0}else if((s|0)==43){Of(v);if((G|0)<=0){break}n=c[A>>2]|0;do{if((n|0)==0){n=-1}else{n=c[n+4>>2]|0;if((c[n+16>>2]|0)!=8){n=-1;break}n=c[n+24>>2]|0;n=jd[c[(c[n>>2]|0)+48>>2]&511](n)|0}}while(0);Qe(n,159560,k);if((a[b+13|0]&1)==0){k=0}else{c[l>>2]=G;Kb(159592,m|0)|0;l=c[r>>2]|0;k=0;do{Hb(32)|0;Qf(j+(k<<4)|0,l);k=k+1|0;}while((k|0)<(G|0));Hb(10)|0;Fc(c[r>>2]|0)|0;k=0}while(1){Of(j+(k<<4)|0);k=k+1|0;if((k|0)>=(G|0)){break a}}}Of(v)}}while(0);k=b+28|0;n=c[f>>2]|0;j=b+36|0;J=c[j>>2]|0;c:do{if((c[g>>2]|0)>(c[J+((n-J>>2)+ -1<<2)>>2]|0)){l=b+8|0;do{m=c[k>>2]|0;if((c[m+656>>2]|0)==0){break c}I=YB(m)|0;c[k>>2]=I;n=c[l>>2]|0;hd[c[(c[n>>2]|0)+84>>2]&127](n,I);I=(c[g>>2]|0)+ -1|0;c[g>>2]=I;n=c[f>>2]|0;J=c[j>>2]|0;}while((I|0)>(c[J+((n-J>>2)+ -1<<2)>>2]|0))}}while(0);c[f>>2]=n+ -4;if(!d){i=e;return}if((c[h>>2]|0)<=0){i=e;return}J=c[b+8>>2]|0;fd[c[(c[J>>2]|0)+68>>2]&511](J);i=e;return}function xx(b,e,f,g){b=b|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;h=i;k=i;i=i+16|0;l=k;n=i;i=i+8|0;o=n;p=i;i=i+8|0;m=p;r=i;i=i+8|0;q=r;j=i;i=i+8|0;s=j;t=c[e>>2]|0;if((t|0)!=10){c[j>>2]=t;c[s+4>>2]=10;Qe(0,162256,s);tc()}j=c[e+8>>2]|0;s=-1;t=73;u=0;a:while(1){while(1){if((t-s|0)<=1){break a}e=(s+t|0)/2|0;u=Qc(148384+(e*148|0)|0,j|0)|0;if((u|0)<0){s=e}else{break}}s=(u|0)>0?s:e;t=e}do{if((u|0)==0){if((148384+(s*148|0)|0)==0){break}q=c[148388+(s*148|0)>>2]|0;do{if((q|0)>-1){if((q|0)<=(g|0)){if((q|0)>=(g|0)){m=g;break}m=q;f=f+(g-q<<4)|0;break}k=c[b+120>>2]|0;do{if((k|0)==0){k=-1}else{k=c[k+4>>2]|0;if((c[k+16>>2]|0)!=8){k=-1;break}k=c[k+24>>2]|0;k=jd[c[(c[k>>2]|0)+48>>2]&511](k)|0}}while(0);c[p>>2]=g;c[m+4>>2]=j;Qe(k,159632,m);a[b+18|0]=1;i=h;return}else{if((g|0)<=(0-q|0)){m=g;break}b=c[b+120>>2]|0;do{if((b|0)==0){b=-1}else{b=c[b+4>>2]|0;if((c[b+16>>2]|0)!=8){b=-1;break}b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}}while(0);c[n>>2]=g;c[o+4>>2]=j;Qe(b,159672,o);i=h;return}}while(0);b:do{if((m|0)>0){g=0;c:while(1){n=f+(g<<4)|0;switch(c[148392+(s*148|0)+(g<<2)>>2]|0){case 2:{if(((c[n>>2]|0)+ -1|0)>>>0>=2){break c}break};case 1:{if((c[n>>2]|0)!=1){break c}break};case 6:{u=c[n>>2]|0;if(!((u|0)==4|(u|0)==7)){break c}break};case 0:{if((c[n>>2]|0)!=0){break c}break};case 3:{if((c[n>>2]|0)!=3){break c}break};case 5:{if((c[n>>2]|0)!=6){break c}break};case 7:{u=c[n>>2]|0;if(!((u+ -1|0)>>>0<2|(u|0)==4)){break c}break};case 4:{if((c[n>>2]|0)!=4){break c}break};default:{break c}}g=g+1|0;if((g|0)>=(m|0)){break b}}b=c[b+120>>2]|0;do{if((b|0)==0){b=-1}else{b=c[b+4>>2]|0;if((c[b+16>>2]|0)!=8){b=-1;break}b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}}while(0);u=Pf(n)|0;c[k>>2]=g;c[l+4>>2]=j;c[l+8>>2]=u;Qe(b,159712,l);i=h;return}}while(0);u=148524+(s*148|0)|0;k=u;k=d[k]|d[k+1|0]<<8|d[k+2|0]<<16|d[k+3|0]<<24;u=u+4|0;u=d[u]|d[u+1|0]<<8|d[u+2|0]<<16|d[u+3|0]<<24;j=b+(u>>1)|0;if((u&1|0)!=0){k=c[(c[j>>2]|0)+k>>2]|0}Gd[k&255](j,f,m);i=h;return}}while(0);if((c[b+56>>2]|0)!=0){i=h;return}b=c[b+120>>2]|0;do{if((b|0)==0){b=-1}else{b=c[b+4>>2]|0;if((c[b+16>>2]|0)!=8){b=-1;break}b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}}while(0);c[r>>2]=j;Qe(b,159608,q);i=h;return}function yx(a){a=a|0;var b=0,d=0,e=0;b=i;e=c[a+8>>2]|0;d=a+28|0;hdhd[c[(c[A>>2]|0)+80>>2]&127](A,c[t>>2]|0);A=XB(c[t>>2]|0)|0;c[t>>2]=A;y=b+32|0;c[y>>2]=(c[y>>2]|0)+1;SB(A);A=b+120|0;z=c[A>>2]|0;K=f+8|0;J=f+16|0;G=f+24|0;E=f+32|0;F=f+40|0;JB(c[t>>2]|0,+h[f>>3],+h[K>>3],+h[J>>3],+h[G>>3],+h[E>>3],+h[F>>3]);L=c[e>>2]|0;Ed[c[(c[L>>2]|0)+92>>2]&3](L,c[t>>2]|0,+h[f>>3],+h[K>>3],+h[J>>3],+h[G>>3],+h[E>>3],+h[F>>3]);f=c[t>>2]|0;H=+h[g>>3];F=g+8|0;I=+h[F>>3];E=c[f+588>>2]|0;h[f+592>>3]=H;h[f+600>>3]=I;uB(E,H,I);E=c[t>>2]|0;f=g+16|0;I=+h[f>>3];H=+h[F>>3];F=c[E+588>>2]|0;h[E+592>>3]=I;h[E+600>>3]=H;vB(F,I,H);F=c[t>>2]|0;H=+h[f>>3];f=g+24|0;I=+h[f>>3];E=c[F+588>>2]|0;h[F+592>>3]=H;h[F+600>>3]=I;vB(E,H,I);E=c[t>>2]|0;I=+h[g>>3];H=+h[f>>3];f=c[E+588>>2]|0;h[E+592>>3]=I;h[E+600>>3]=H;vB(f,I,H);f=c[t>>2]|0;E=f+588|0;xB(c[E>>2]|0);E=c[E>>2]|0;F=E+28|0;E=E+24|0;G=c[(c[E>>2]|0)+((c[F>>2]|0)+ -1<<2)>>2]|0;h[f+592>>3]=+h[(c[G>>2]|0)+((c[G+12>>2]|0)+ -1<<3)>>3];F=c[(c[E>>2]|0)+((c[F>>2]|0)+ -1<<2)>>2]|0;h[f+600>>3]=+h[(c[F+4>>2]|0)+((c[F+12>>2]|0)+ -1<<3)>>3];TB(c[t>>2]|0);f=c[e>>2]|0;hd[c[(c[f>>2]|0)+256>>2]&127](f,c[t>>2]|0);SB(c[t>>2]|0);f=k|j;if(f){F=c[t>>2]|0;E=F+388|0;if((c[E>>2]|0)==0){E=F}else{c[E>>2]=0;E=c[e>>2]|0;hd[c[(c[E>>2]|0)+148>>2]&127](E,c[t>>2]|0);E=c[t>>2]|0}F=E+392|0;if(+h[F>>3]!=1.0){h[F>>3]=1.0;E=c[e>>2]|0;hd[c[(c[E>>2]|0)+152>>2]&127](E,c[t>>2]|0);E=c[t>>2]|0}F=E+400|0;if(+h[F>>3]!=1.0){h[F>>3]=1.0;E=c[e>>2]|0;hd[c[(c[E>>2]|0)+156>>2]&127](E,c[t>>2]|0);E=c[t>>2]|0}L=c[e>>2]|0;hd[c[(c[L>>2]|0)+396>>2]&127](L,E);L=c[e>>2]|0;yd[c[(c[L>>2]|0)+380>>2]&1](L,c[t>>2]|0,g,l,m,n,k)}l=b+64|0;h[x>>3]=+h[l>>3];m=c[t>>2]|0;h[l>>3]=+h[m+16>>3];L=b+72|0;h[D+8>>3]=+h[L>>3];h[L>>3]=+h[m+24>>3];L=b+80|0;h[D+16>>3]=+h[L>>3];h[L>>3]=+h[m+32>>3];L=b+88|0;h[D+24>>3]=+h[L>>3];h[L>>3]=+h[m+40>>3];L=b+96|0;h[D+32>>3]=+h[L>>3];h[L>>3]=+h[m+48>>3];L=b+104|0;h[D+40>>3]=+h[L>>3];h[L>>3]=+h[m+56>>3];vx(b,d,0);D=c[t>>2]|0;do{if((m|0)!=(D|0)){while(1){D=c[D+656>>2]|0;if((D|0)==(m|0)){break}if((D|0)==0){v=19;break}else{}}if((v|0)==19){Qe(-1,161872,C);break}Qe(-1,161816,B);d=c[t>>2]|0;if((m|0)==(d|0)){break}C=b+40|0;B=b+36|0;D=b+18|0;do{L=c[B>>2]|0;do{if((c[y>>2]|0)>(c[L+(((c[C>>2]|0)-L>>2)+ -1<<2)>>2]|0)){if((c[d+656>>2]|0)==0){v=16;break}L=YB(d)|0;c[t>>2]=L;K=c[e>>2]|0;hd[c[(c[K>>2]|0)+84>>2]&127](K,L);c[y>>2]=(c[y>>2]|0)+ -1}else{v=16}}while(0);if((v|0)==16){v=0;Qe(-1,162208,w);a[D]=1}d=c[t>>2]|0;}while((m|0)!=(d|0))}}while(0);if(f){L=c[e>>2]|0;hd[c[(c[L>>2]|0)+384>>2]&127](L,c[t>>2]|0)}$W(l|0,x|0,48)|0;c[A>>2]=z;L=c[b+36>>2]|0;do{if((c[y>>2]|0)>(c[L+(((c[b+40>>2]|0)-L>>2)+ -1<<2)>>2]|0)){w=c[t>>2]|0;if((c[w+656>>2]|0)==0){v=24;break}L=YB(w)|0;c[t>>2]=L;K=c[e>>2]|0;hd[c[(c[K>>2]|0)+84>>2]&127](K,L);c[y>>2]=(c[y>>2]|0)+ -1}else{v=24}}while(0);if((v|0)==24){Qe(-1,162208,u);a[b+18|0]=1}b=c[s>>2]|0;u=c[b+112>>2]|0;if((b|0)!=0){nx(b);HW(b)}c[s>>2]=u;if(k){L=c[e>>2]|0;ud[c[(c[L>>2]|0)+392>>2]&7](L,c[t>>2]|0,g,o,p,q);i=r;return}if(!j){i=r;return}L=c[e>>2]|0;Gd[c[(c[L>>2]|0)+388>>2]&255](L,c[t>>2]|0,g);i=r;return}function Bx(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;f=i;d=i;i=i+8|0;e=d;j=c[a+8>>2]|0;if(!(jd[c[(c[j>>2]|0)+36>>2]&511](j)|0)){i=f;return}j=c[(c[a+28>>2]|0)+380>>2]|0;if((j|0)==0){i=f;return}h=j+4|0;g=c[h>>2]|0;if((g|0)==1){Dx(a,j,0,b);i=f;return}else if((g|0)==2){Ex(a,j,0,b);i=f;return}else{j=c[a+120>>2]|0;do{if((j|0)==0){h=-1}else{j=c[j+4>>2]|0;if((c[j+16>>2]|0)!=8){h=-1;break}b=c[j+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0;g=c[h>>2]|0;h=b}}while(0);c[d>>2]=g;Qe(h,160904,e);i=f;return}}function Cx(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;e=i;b=i;i=i+8|0;d=b;h=c[a+8>>2]|0;if(!(jd[c[(c[h>>2]|0)+36>>2]&511](h)|0)){i=e;return}h=c[(c[a+28>>2]|0)+384>>2]|0;if((h|0)==0){i=e;return}g=h+4|0;f=c[g>>2]|0;if((f|0)==2){Ex(a,h,1,0);i=e;return}else if((f|0)==1){Dx(a,h,1,0);i=e;return}else{a=c[a+120>>2]|0;do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p=I*(F*E-C*D)+(M*K+p*A);h[m+40>>3]=p;K=1.0/(N*B-L*J);D=B*K;C=-0.0-L*K;E=-0.0-J*K;F=N*K;B=K*(J*A-B*M);A=K*(L*M-N*A);w=c[(c[k>>2]|0)+588>>2]|0;m=FW(40)|0;tB(m,(a[w]&1)!=0,+h[w+8>>3],+h[w+16>>3],c[w+24>>2]|0,c[w+28>>2]|0,c[w+32>>2]|0);w=b+8|0;U=c[w>>2]|0;hd[c[(c[U>>2]|0)+80>>2]&127](U,c[k>>2]|0);U=XB(c[k>>2]|0)|0;c[k>>2]=U;u=b+32|0;c[u>>2]=(c[u>>2]|0)+1;x=d+8|0;do{if((c[x>>2]|0)==2){T=c[T+4>>2]|0;if((T|0)==0){O=6;break}LB(U,jd[c[(c[T>>2]|0)+8>>2]&511](T)|0);P=c[w>>2]|0;hd[c[(c[P>>2]|0)+132>>2]&127](P,c[k>>2]|0);P=c[k>>2]|0;MB(P,jd[c[(c[T>>2]|0)+8>>2]&511](T)|0);P=c[w>>2]|0;hd[c[(c[P>>2]|0)+136>>2]&127](P,c[k>>2]|0);P=c[k>>2]|0;if(e){$W(P+124|0,P+252|0,128)|0;break}else{$W(P+252|0,P+124|0,128)|0;break}}else{O=6}}while(0);if((O|0)==6){T=FW(4)|0;Ty(T);LB(c[k>>2]|0,T);hd[c[(c[T>>2]|0)+48>>2]&127](T,P);$W((c[k>>2]|0)+124|0,Q|0,128)|0;T=c[w>>2]|0;hd[c[(c[T>>2]|0)+132>>2]&127](T,c[k>>2]|0);T=c[k>>2]|0;U=FW(4)|0;Ty(U);MB(T,U);$W((c[k>>2]|0)+252|0,Q|0,128)|0;U=c[w>>2]|0;hd[c[(c[U>>2]|0)+136>>2]&127](U,c[k>>2]|0)}NB(c[k>>2]|0,0);U=c[w>>2]|0;hd[c[(c[U>>2]|0)+140>>2]&127](U,c[k>>2]|0);OB(c[k>>2]|0,0);U=c[w>>2]|0;hd[c[(c[U>>2]|0)+144>>2]&127](U,c[k>>2]|0);do{if(e){UB(c[k>>2]|0);U=c[w>>2]|0;hd[c[(c[U>>2]|0)+264>>2]&127](U,c[k>>2]|0)}else{if((a[b+15|0]&1)!=0){break}if((a[b+17|0]&1)!=0){break}TB(c[k>>2]|0);e=c[w>>2]|0;O=c[e>>2]|0;if(f){hd[c[O+260>>2]&127](e,c[k>>2]|0);break}else{hd[c[O+256>>2]&127](e,c[k>>2]|0);break}}}while(0);SB(c[k>>2]|0);h[(c[k>>2]|0)+432>>3]=0.0;U=c[w>>2]|0;hd[c[(c[U>>2]|0)+116>>2]&127](U,c[k>>2]|0);U=c[k>>2]|0;H=+h[U+624>>3];L=+h[U+632>>3];G=+h[U+640>>3];J=+h[U+648>>3];a:do{if(!(H>G|L>J)){M=D*H;I=L*E;K=B+(M+I);V=H*C;H=F*L;N=A+(V+H);E=J*E;M=B+(M+E);F=F*J;L=A+(V+F);do{if(M<K){J=K}else{if(M<=K){J=K;M=K;break}J=M;M=K}}while(0);do{if(L<N){K=N}else{if(L<=N){K=N;L=N;break}K=L;L=N}}while(0);D=D*G;I=B+(I+D);C=G*C;G=A+(H+C);do{if(I<M){M=I}else{if(I<=J){break}J=I}}while(0);do{if(G<L){L=G}else{if(G<=K){break}K=G}}while(0);B=B+(D+E);A=A+(C+F);do{if(B<M){M=B}else{if(B<=J){break}J=B}}while(0);do{if(A<L){L=A}else{if(A<=K){break}K=A}}while(0);B=+S(+(+h[d+48>>3]));A=+S(+(+h[d+56>>3]));f=d+16|0;N=+ca(+((M- +h[d+32>>3])/B));Q=~~+R(+((J- +h[f>>3])/B));V=+ca(+((L- +h[d+40>>3])/A));e=~~+R(+((K- +h[d+24>>3])/A));$W(y|0,z|0,32)|0;O=~~N;z=Q+1|0;Q=~~V;y=e+1|0;e=c[b+116>>2]|0;b:do{if((e|0)!=0){if((a[e]&1)!=0){break a}while(1){e=c[e+4>>2]|0;if((e|0)==0){break b}if((a[e]&1)!=0){break a}}}}while(0);h[q>>3]=s;h[o>>3]=p;U=c[w>>2]|0;if(jd[c[(c[U>>2]|0)+16>>2]&511](U)|0){e=c[w>>2]|0;if((c[d+64>>2]|0)==7){P=c[d+72>>2]|0}else{P=0}if(!((Q|0)<(y|0)&((nd[c[(c[e>>2]|0)+224>>2]&1](e,c[k>>2]|0,d+128|0,c[x>>2]|0,P,l,f,O,Q,z,y,B,A)|0)^1))){break}}else{if((Q|0)>=(y|0)){break}}P=(O|0)<(z|0);x=d+128|0;e=d+64|0;d=d+72|0;do{if(P){D=A*+(Q|0);C=D*v;D=D*t;T=O;do{V=B*+(T|0);h[q>>3]=s+(V*n+C);h[o>>3]=p+(V*r+D);if((c[e>>2]|0)==7){U=c[d>>2]|0}else{U=0}Ax(b,x,U,l,f,0,0,0,0,0,0,0,0);T=T+1|0;}while((T|0)<(z|0))}Q=Q+1|0;}while((Q|0)<(y|0))}}while(0);U=c[b+36>>2]|0;do{if((c[u>>2]|0)>(c[U+(((c[b+40>>2]|0)-U>>2)+ -1<<2)>>2]|0)){l=c[k>>2]|0;if((c[l+656>>2]|0)==0){break}U=YB(l)|0;c[k>>2]=U;T=c[w>>2]|0;hd[c[(c[T>>2]|0)+84>>2]&127](T,U);c[u>>2]=(c[u>>2]|0)+ -1;U=k;U=c[U>>2]|0;GB(U,m);i=j;return}}while(0);Qe(-1,162208,g);a[b+18|0]=1;U=k;U=c[U>>2]|0;GB(U,m);i=j;return}function Ex(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.0,t=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0;n=i;l=i;i=i+8|0;o=c[d+8>>2]|0;k=b+28|0;j=c[(c[k>>2]|0)+588>>2]|0;m=FW(40)|0;tB(m,(a[j]&1)!=0,+h[j+8>>3],+h[j+16>>3],c[j+24>>2]|0,c[j+28>>2]|0,c[j+32>>2]|0);j=b+8|0;p=c[j>>2]|0;hd[c[(c[p>>2]|0)+80>>2]&127](p,c[k>>2]|0);p=XB(c[k>>2]|0)|0;c[k>>2]=p;g=b+32|0;c[g>>2]=(c[g>>2]|0)+1;if((a[o+176|0]&1)!=0){u=+h[o+144>>3];w=+h[o+152>>3];v=+h[o+160>>3];s=+h[o+168>>3];q=c[p+588>>2]|0;h[p+592>>3]=u;h[p+600>>3]=w;uB(q,u,w);q=c[k>>2]|0;t=c[q+588>>2]|0;h[q+592>>3]=v;h[q+600>>3]=w;vB(t,v,w);t=c[k>>2]|0;q=c[t+588>>2]|0;h[t+592>>3]=v;h[t+600>>3]=s;vB(q,v,s);q=c[k>>2]|0;t=c[q+588>>2]|0;h[q+592>>3]=u;h[q+600>>3]=s;vB(t,u,s);t=c[k>>2]|0;q=t+588|0;xB(c[q>>2]|0);q=c[q>>2]|0;r=q+28|0;q=q+24|0;p=c[(c[q>>2]|0)+((c[r>>2]|0)+ -1<<2)>>2]|0;h[t+592>>3]=+h[(c[p>>2]|0)+((c[p+12>>2]|0)+ -1<<3)>>3];r=c[(c[q>>2]|0)+((c[r>>2]|0)+ -1<<2)>>2]|0;h[t+600>>3]=+h[(c[r+4>>2]|0)+((c[r+12>>2]|0)+ -1<<3)>>3];TB(c[k>>2]|0);do{if((a[b+15|0]&1)==0){if((a[b+17|0]&1)!=0){break}t=c[j>>2]|0;hd[c[(c[t>>2]|0)+256>>2]&127](t,c[k>>2]|0)}}while(0);r=c[k>>2]|0;t=FW(40)|0;tB(t,(a[m]&1)!=0,+h[m+8>>3],+h[m+16>>3],c[m+24>>2]|0,c[m+28>>2]|0,c[m+32>>2]|0);GB(r,t)}do{if(e){UB(c[k>>2]|0);t=c[j>>2]|0;hd[c[(c[t>>2]|0)+264>>2]&127](t,c[k>>2]|0)}else{if((a[b+15|0]&1)!=0){break}if((a[b+17|0]&1)!=0){break}TB(c[k>>2]|0);p=c[j>>2]|0;e=c[p>>2]|0;if(f){hd[c[e+260>>2]&127](p,c[k>>2]|0);break}else{hd[c[e+256>>2]&127](p,c[k>>2]|0);break}}}while(0);r=c[k>>2]|0;p=o+8|0;t=c[p>>2]|0;LB(r,jd[c[(c[t>>2]|0)+8>>2]&511](t)|0);t=c[j>>2]|0;hd[c[(c[t>>2]|0)+132>>2]&127](t,c[k>>2]|0);a:do{if((a[o+140|0]&1)!=0){$W((c[k>>2]|0)+124|0,o+12|0,128)|0;f=c[j>>2]|0;hd[c[(c[f>>2]|0)+140>>2]&127](f,c[k>>2]|0);f=c[b+116>>2]|0;b:do{if((f|0)!=0){if((a[f]&1)!=0){break a}while(1){f=c[f+4>>2]|0;if((f|0)==0){break b}if((a[f]&1)!=0){break a}}}}while(0);t=c[j>>2]|0;hd[c[(c[t>>2]|0)+216>>2]&127](t,c[k>>2]|0)}}while(0);SB(c[k>>2]|0);t=c[k>>2]|0;D=+h[t+16>>3];I=+h[t+40>>3];F=+h[t+24>>3];J=+h[t+32>>3];G=1.0/(D*I-F*J);H=I*G;A=-0.0-F*G;v=-0.0-J*G;z=D*G;C=+h[t+56>>3];E=+h[t+48>>3];L=+h[d+16>>3];N=+h[b+64>>3];x=+h[d+24>>3];B=+h[b+80>>3];s=L*N+x*B;M=+h[b+72>>3];y=+h[b+88>>3];x=L*M+x*y;L=+h[d+32>>3];u=+h[d+40>>3];K=N*L+B*u;u=M*L+y*u;L=+h[d+48>>3];w=+h[d+56>>3];B=+h[b+96>>3]+(N*L+B*w);w=M*L+y*w+ +h[b+104>>3];y=H*s+x*v;x=s*A+z*x;s=H*K+u*v;u=K*A+z*u;v=G*(J*C-I*E)+(H*B+w*v);w=G*(F*E-D*C)+(B*A+z*w);JB(t,y,x,s,u,v,w);d=c[j>>2]|0;Ed[c[(c[d>>2]|0)+92>>2]&3](d,c[k>>2]|0,y,x,s,u,v,w);d=c[j>>2]|0;d=jd[c[(c[d>>2]|0)+404>>2]&511](d)|0;if(d){t=c[j>>2]|0;hd[c[(c[t>>2]|0)+408>>2]&127](t,0)}c:do{switch(c[o+4>>2]|0){case 3:{Hx(b,o);break};case 5:case 4:{Ix(b,o);break};case 1:{Fx(b,o);break};case 2:{Gx(b,o);break};case 7:case 6:{f=o+184|0;e=c[f>>2]|0;do{if((e|0)>128){e=3}else{if((e|0)>64){e=2;break}e=(e|0)>16|0}}while(0);r=c[p>>2]|0;r=jd[c[(c[r>>2]|0)+44>>2]&511](r)|0;q=o+316|0;t=(c[q>>2]|0)>0;if(t){p=c[o+188>>2]|0;s=(+h[p+24>>3]- +h[p+16>>3])*.005}else{s=768.0}if((c[f>>2]|0)<=0){break c}p=o+180|0;Nx(b,c[p>>2]|0,r,t?1:r,s,e,o);if((c[f>>2]|0)>1){t=1}else{break c}do{Nx(b,(c[p>>2]|0)+(t*1280|0)|0,r,(c[q>>2]|0)>0?1:r,s,e,o);t=t+1|0;}while((t|0)<(c[f>>2]|0));break};default:{}}}while(0);if(d){t=c[j>>2]|0;hd[c[(c[t>>2]|0)+408>>2]&127](t,1)}t=c[b+36>>2]|0;do{if((c[g>>2]|0)>(c[t+(((c[b+40>>2]|0)-t>>2)+ -1<<2)>>2]|0)){o=c[k>>2]|0;if((c[o+656>>2]|0)==0){break}t=YB(o)|0;c[k>>2]=t;r=c[j>>2]|0;hdhd[c[(c[_>>2]|0)+140>>2]&127](_,c[e>>2]|0)}if(!I){ja=c[e>>2]|0;fa=c[ja+588>>2]|0;h[ja+592>>3]=T;h[ja+600>>3]=U;uB(fa,T,U);fa=c[e>>2]|0;ja=c[fa+588>>2]|0;h[fa+592>>3]=W;h[fa+600>>3]=X;vB(ja,W,X);ja=c[e>>2]|0;fa=c[ja+588>>2]|0;h[ja+592>>3]=da;h[ja+600>>3]=ca;vB(fa,da,ca);fa=c[e>>2]|0;ja=c[fa+588>>2]|0;h[fa+592>>3]=ea;h[fa+600>>3]=ga;vB(ja,ea,ga);ja=c[e>>2]|0;fa=ja+588|0;xB(c[fa>>2]|0);fa=c[fa>>2]|0;ia=fa+28|0;fa=fa+24|0;ba=c[(c[fa>>2]|0)+((c[ia>>2]|0)+ -1<<2)>>2]|0;h[ja+592>>3]=+h[(c[ba>>2]|0)+((c[ba+12>>2]|0)+ -1<<3)>>3];ia=c[(c[fa>>2]|0)+((c[ia>>2]|0)+ -1<<2)>>2]|0;h[ja+600>>3]=+h[(c[ia+4>>2]|0)+((c[ia+12>>2]|0)+ -1<<3)>>3]}ja=c[C>>2]|0;if(!(jd[c[(c[ja>>2]|0)+24>>2]&511](ja)|0)){_=c[N>>2]|0;c:do{if((_|0)==0){g=64}else{if((a[_]&1)!=0){break}do{_=c[_+4>>2]|0;if((_|0)==0){g=64;break c}}while((a[_]&1)==0)}}while(0);if((g|0)==64){g=0;ja=c[C>>2]|0;hd[c[(c[ja>>2]|0)+216>>2]&127](ja,c[e>>2]|0)}SB(c[e>>2]|0)}$W(u|0,z|0,128)|0;_=c[V>>2]|0;if((_|0)<256){T=ea;U=ga;W=da;X=ca}else{break}}ja=c[C>>2]|0;if(!(jd[c[(c[ja>>2]|0)+24>>2]&511](ja)|0)){i=f;return}if(I){ja=c[e>>2]|0;ka=+h[y>>3];ha=+h[n>>3];fa=c[ja+588>>2]|0;h[ja+592>>3]=ka;h[ja+600>>3]=ha;uB(fa,ka,ha);fa=c[e>>2]|0;ha=+h[y>>3];ka=+h[m>>3];ja=c[fa+588>>2]|0;h[fa+592>>3]=ha;h[fa+600>>3]=ka;vB(ja,ha,ka);ja=c[e>>2]|0;ka=+h[A>>3];ha=+h[m>>3];fa=c[ja+588>>2]|0;h[ja+592>>3]=ka;h[ja+600>>3]=ha;vB(fa,ka,ha);fa=c[e>>2]|0;ha=+h[A>>3];ka=+h[n>>3];ja=c[fa+588>>2]|0;h[fa+592>>3]=ha;h[fa+600>>3]=ka;vB(ja,ha,ka);ja=c[e>>2]|0;fa=ja+588|0;xB(c[fa>>2]|0);fa=c[fa>>2]|0;ia=fa+28|0;fa=fa+24|0;ba=c[(c[fa>>2]|0)+((c[ia>>2]|0)+ -1<<2)>>2]|0;h[ja+592>>3]=+h[(c[ba>>2]|0)+((c[ba+12>>2]|0)+ -1<<3)>>3];ia=c[(c[fa>>2]|0)+((c[ia>>2]|0)+ -1<<2)>>2]|0;h[ja+600>>3]=+h[(c[ia+4>>2]|0)+((c[ia+12>>2]|0)+ -1<<3)>>3]}j=c[N>>2]|0;d:do{if((j|0)==0){g=74}else{if((a[j]&1)!=0){break}do{j=c[j+4>>2]|0;if((j|0)==0){g=74;break d}}while((a[j]&1)==0)}}while(0);if((g|0)==74){ja=c[C>>2]|0;hd[c[(c[ja>>2]|0)+216>>2]&127](ja,c[e>>2]|0)}SB(c[e>>2]|0);i=f;return}function Hx(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0.0,m=0.0,n=0,o=0,p=0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0,x=0,y=0,z=0,A=0,B=0,C=0.0,D=0,E=0,F=0.0,G=0,H=0,I=0.0,J=0.0,K=0,L=0.0,M=0.0,N=0.0,O=0.0,P=0,Q=0.0,R=0.0,U=0,X=0.0,_=0.0,aa=0.0,ba=0.0,ca=0.0,da=0,ea=0.0,fa=0.0,ga=0.0,ha=0.0,ia=0.0,ja=0.0,ka=0.0,la=0.0,ma=0,na=0,oa=0.0,pa=0,qa=0,ra=0,sa=0.0,ta=0.0;f=i;p=i;i=i+8|0;G=p;o=i;i=i+8|0;E=o;k=i;i=i+8|0;D=k;n=i;i=i+8|0;B=n;j=i;i=i+128|0;g=j;x=i;i=i+128|0;y=x;w=i;i=i+128|0;t=+h[d+184>>3];q=+h[d+192>>3];u=+h[d+200>>3];s=+h[d+208>>3];r=+h[d+216>>3];v=+h[d+224>>3];l=+h[d+232>>3];m=+h[d+240>>3];z=c[d+8>>2]|0;z=jd[c[(c[z>>2]|0)+44>>2]&511](z)|0;a:do{if(t==s&q==r){C=0.0;e=10}else{do{if(u==v){I=r-q;J=s-t;F=0.0;C=0.0}else{if(v>u){F=(-0.0-u)/(v-u)}else{F=(-0.0-v)/(u-v)}J=s-t;oa=t+J*F;I=r-q;C=q+I*F;ka=oa-t;la=C-q;A=ka*ka+la*la<=u*u;oa=t-oa;C=q-C;C=+Z(+(u/+T(+(oa*oa+C*C))));if(u>v){C=-0.0-C;if(A){e=10;break a}else{break}}else{if(A){e=10;break a}else{break}}}}while(0);_=+$(+I,+J);A=b+28|0;HB(c[A>>2]|0,G,E,D,B);J=t+u;I=s+v-J;do{if(I!=0.0){J=(+h[p>>3]-J)/I;if(J<1.0){I=0.0;break}if(J<=0.0){I=0.0;J=1.0;break}I=J;J=1.0}else{I=0.0;J=1.0}}while(0);L=t-u;M=s-v-L;do{if(M!=0.0){L=(+h[k>>3]-L)/M;if(L<J){J=L;break}if(L<=I){break}I=L}}while(0);L=q+u;M=r+v-L;do{if(M!=0.0){L=(+h[o>>3]-L)/M;if(L<J){J=L;break}if(L<=I){break}I=L}}while(0);L=q-u;M=r-v-L;do{if(M!=0.0){L=(+h[n>>3]-L)/M;if(L<J){J=L;break}if(L<=I){break}I=L}}while(0);do{if(u<v){if(J>=F){F=J;break}}else{I=u>v&I>F?F:I;F=J}}while(0);G=0;I=(a[d+381|0]&1)==0&I>1.0?1.0:I;J=(a[d+380|0]&1)==0&F<0.0?0.0:F;ba=C}}while(0);if((e|0)==10){A=b+28|0;HB(c[A>>2]|0,G,E,D,B);_=0.0;G=1;I=1.0;J=0.0;ba=C}B=b+8|0;ra=c[B>>2]|0;do{if(Bd[c[(c[ra>>2]|0)+20>>2]&255](ra,c[d+4>>2]|0)|0){ra=c[B>>2]|0;if(!(gd[c[(c[ra>>2]|0)+240>>2]&3](ra,c[A>>2]|0,d,J,I)|0)){break}i=f;return}}while(0);D=c[A>>2]|0;F=+S(+(+h[D+16>>3]));C=+S(+(+h[D+24>>3]));C=C>F?C:F;F=+S(+(+h[D+32>>3]));F=F>C?F:C;L=+S(+(+h[D+40>>3]));D=u>v;C=D?u:v;F=C*(L>F?L:F);do{if(F<1.0){E=3}else{E=~~(3.141592653589793/+Y(+(1.0-.1/F)));if((E|0)<3){E=3;break}E=(E|0)>200?200:E}}while(0);M=m-l;R=s-t;L=r-q;Q=v-u;Kx(l,m,l+M*J,d,g);K=c[B>>2]|0;K=sd[c[(c[K>>2]|0)+244>>2]&127](K,c[A>>2]|0,d)|0;O=l+M*I;P=(z|0)>0;N=I-J;b=b+116|0;H=(E|0)>1;F=+(E|0);X=_+ba+1.5707963267948966;U=(E|0)>0;aa=_-ba+-1.5707963267948966;ea=ba*2.0;_=ea+3.141592653589793;ca=ba*-2.0+3.141592653589793;ba=ea+-3.141592653589793;da=(z|0)==0;na=0;ea=u+Q*J;la=J;ga=t+R*J;fa=q+L*J;while(1){Kx(l,m,O,d,y);b:do{if((256-na|0)>1){ma=256;c:while(1){if(da){break}else{pa=0}while(1){qa=(c[y+(pa<<2)>>2]|0)-(c[g+(pa<<2)>>2]|0)|0;pa=pa+1|0;if((((qa|0)>-1?qa:0-qa|0)|0)>256){break}if(pa>>>0>=z>>>0){break c}}ma=(ma+na|0)/2|0;ha=J+N*+(ma|0)*.00390625;Kx(l,m,l+M*ha,d,y);if((ma-na|0)<=1){break b}}pa=na+1|0;d:do{if((na|0)<(ma|0)){na=pa;while(1){Kx(l,m,l+M*(J+N*+(na|0)*.00390625),d,w);if(!da){ra=0;do{qa=(c[w+(ra<<2)>>2]|0)-(c[g+(ra<<2)>>2]|0)|0;ra=ra+1|0;if((((qa|0)>-1?qa:0-qa|0)|0)>256){break d}}while(ra>>>0<z>>>0)}qa=na+1|0;if((na|0)<(ma|0)){na=qa}else{na=qa;break}}}else{na=pa}}while(0);ma=(na|0)>(pa|0)?na+ -1|0:pa;ha=J+N*+(ma|0)*.00390625;Kx(l,m,l+M*ha,d,y)}else{ma=256;ha=I}}while(0);ja=t+R*ha;ka=q+L*ha;ia=u+Q*ha;if(P){na=0;do{ra=g+(na<<2)|0;c[ra>>2]=((c[y+(na<<2)>>2]|0)+(c[ra>>2]|0)|0)/2|0;na=na+1|0;}while((na|0)<(z|0))}$W((c[A>>2]|0)+124|0,j|0,128)|0;ra=c[B>>2]|0;ra=jd[c[(c[ra>>2]|0)+24>>2]&511](ra)|0;na=c[B>>2]|0;if(ra){Id[c[(c[na>>2]|0)+172>>2]&3](na,c[A>>2]|0,(la-J)/N)}else{hd[c[(c[na>>2]|0)+140>>2]&127](na,c[A>>2]|0)}do{if(!K){na=c[A>>2]|0;if(G){oa=ea+ga;ra=c[na+588>>2]|0;h[na+592>>3]=oa;h[na+600>>3]=fa;uB(ra,oa,fa);if(H){na=1;do{oa=+(na|0)/F*2.0*3.141592653589793;qa=c[A>>2]|0;la=ga+ea*+V(+oa);oa=fa+ea*+W(+oa);ra=c[qa+588>>2]|0;h[qa+592>>3]=la;h[qa+600>>3]=oa;vB(ra,la,oa);na=na+1|0;}while((na|0)<(E|0))}qa=c[A>>2]|0;pa=qa+588|0;xB(c[pa>>2]|0);pa=c[pa>>2]|0;ra=pa+28|0;pa=pa+24|0;na=c[(c[pa>>2]|0)+((c[ra>>2]|0)+ -1<<2)>>2]|0;h[qa+592>>3]=+h[(c[na>>2]|0)+((c[na+12>>2]|0)+ -1<<3)>>3];ra=c[(c[pa>>2]|0)+((c[ra>>2]|0)+ -1<<2)>>2]|0;h[qa+600>>3]=+h[(c[ra+4>>2]|0)+((c[ra+12>>2]|0)+ -1<<3)>>3];qa=c[A>>2]|0;oa=ja+ia;ra=c[qa+588>>2]|0;h[qa+592>>3]=oa;h[qa+600>>3]=ka;uB(ra,oa,ka);if(H){na=1;do{oa=+(na|0)/F*-2.0*3.141592653589793;qa=c[A>>2]|0;la=ja+ia*+V(+oa);oa=ka+ia*+W(+oa);ra=c[qa+588>>2]|0;h[qa+592>>3]=la;h[qa+600>>3]=oa;vB(ra,la,oa);na=na+1|0;}while((na|0)<(E|0))}ra=c[A>>2]|0;pa=ra+588|0;xB(c[pa>>2]|0);pa=c[pa>>2]|0;qa=pa+28|0;pa=pa+24|0;na=c[(c[pa>>2]|0)+((c[qa>>2]|0)+ -1<<2)>>2]|0;h[ra+592>>3]=+h[(c[na>>2]|0)+((c[na+12>>2]|0)+ -1<<3)>>3];qa=c[(c[pa>>2]|0)+((c[qa>>2]|0)+ -1<<2)>>2]|0;h[ra+600>>3]=+h[(c[qa+4>>2]|0)+((c[qa+12>>2]|0)+ -1<<3)>>3];break}oa=ga+ea*+V(+X);la=fa+ea*+W(+X);ra=c[na+588>>2]|0;h[na+592>>3]=oa;h[na+600>>3]=la;uB(ra,oa,la);do{if(U){na=0;do{sa=X-_*(+(na|0)/F);qa=c[A>>2]|0;ta=ja+ia*+V(+sa);sa=ka+ia*+W(+sa);ra=c[qa+588>>2]|0;h[qa+592>>3]=ta;h[qa+600>>3]=sa;vB(ra,ta,sa);na=na+1|0;}while((na|0)<(E|0));if(U){na=0}else{break}do{ta=aa+ba*(+(na|0)/F);qa=c[A>>2]|0;sa=ga+ea*+V(+ta);ta=fa+ea*+W(+ta);ra=c[qa+588>>2]|0;h[qa+592>>3]=sa;h[qa+600>>3]=ta;vB(ra,sa,ta);na=na+1|0;}while((na|0)<(E|0))}}while(0);qa=c[A>>2]|0;pa=qa+588|0;xB(c[pa>>2]|0);pa=c[pa>>2]|0;ra=pa+28|0;pa=pa+24|0;na=c[(c[pa>>2]|0)+((c[ra>>2]|0)+ -1<<2)>>2]|0;h[qa+592>>3]=+h[(c[na>>2]|0)+((c[na+12>>2]|0)+ -1<<3)>>3];ra=c[(c[pa>>2]|0)+((c[ra>>2]|0)+ -1<<2)>>2]|0;h[qa+600>>3]=+h[(c[ra+4>>2]|0)+((c[ra+12>>2]|0)+ -1<<3)>>3];qa=c[A>>2]|0;ra=c[qa+588>>2]|0;h[qa+592>>3]=oa;h[qa+600>>3]=la;uB(ra,oa,la);do{if(U){na=0;do{ta=X+ca*(+(na|0)/F);qa=c[A>>2]|0;sa=ja+ia*+V(+ta);ta=ka+ia*+W(+ta);ra=c[qa+588>>2]|0;h[qa+592>>3]=sa;h[qa+600>>3]=ta;vB(ra,sa,ta);na=na+1|0;}while((na|0)<(E|0));if(U){na=0}else{break}do{ta=aa+_*(+(na|0)/F);qa=c[A>>2]|0;sa=ga+ea*+V(+ta);ta=fa+ea*+W(+ta);ra=c[qa+588>>2]|0;h[qa+592>>3]=sa;h[qa+600>>3]=ta;vB(ra,sa,ta);na=na+1|0;}while((na|0)<(E|0))}}while(0);ra=c[A>>2]|0;pa=ra+588|0;xB(c[pa>>2]|0);pa=c[pa>>2]|0;qa=pa+28|0;pa=pa+24|0;na=c[(c[pa>>2]|0)+((c[qa>>2]|0)+ -1<<2)>>2]|0;h[ra+592>>3]=+h[(c[na>>2]|0)+((c[na+12>>2]|0)+ -1<<3)>>3];qa=c[(c[pa>>2]|0)+((c[qa>>2]|0)+ -1<<2)>>2]|0;h[ra+600>>3]=+h[(c[qa+4>>2]|0)+((c[qa+12>>2]|0)+ -1<<3)>>3]}}while(0);ra=c[B>>2]|0;if(!(jd[c[(c[ra>>2]|0)+24>>2]&511](ra)|0)){na=c[b>>2]|0;e:do{if((na|0)==0){e=75}else{if((a[na]&1)!=0){break}do{na=c[na+4>>2]|0;if((na|0)==0){e=75;break e}}while((a[na]&1)==0)}}while(0);if((e|0)==75){e=0;ra=c[B>>2]|0;hd[c[(c[ra>>2]|0)+216>>2]&127](ra,c[A>>2]|0)}SB(c[A>>2]|0)}$W(j|0,x|0,128)|0;if((ma|0)<256){na=ma;ea=ia;la=ha;ga=ja;fa=ka}else{break}}ra=c[B>>2]|0;if(jd[c[(c[ra>>2]|0)+24>>2]&511](ra)|0){$W((c[A>>2]|0)+124|0,j|0,128)|0;w=c[B>>2]|0;Id[c[(c[w>>2]|0)+172>>2]&3](w,c[A>>2]|0,(ha-J)/N);w=c[A>>2]|0;ta=+h[p>>3];sa=+h[o>>3];qa=c[w+588>>2]|0;h[w+592>>3]=ta;h[w+600>>3]=sa;uB(qa,ta,sa);qa=c[A>>2]|0;sa=+h[p>>3];ta=+h[n>>3];w=c[qa+588>>2]|0;h[qa+592>>3]=sa;h[qa+600>>3]=ta;vB(w,sa,ta);w=c[A>>2]|0;ta=+h[k>>3];sa=+h[n>>3];qa=c[w+588>>2]|0;h[w+592>>3]=ta;h[w+600>>3]=sa;vB(qa,ta,sa);qa=c[A>>2]|0;sa=+h[k>>3];ta=+h[o>>3];w=c[qa+588>>2]|0;h[qa+592>>3]=sa;h[qa+600>>3]=ta;vB(w,sa,ta);w=c[A>>2]|0;qa=w+588|0;xB(c[qa>>2]|0);qa=c[qa>>2]|0;ra=qa+28|0;qa=qa+24|0;pa=c[(c[qa>>2]|0)+((c[ra>>2]|0)+ -1<<2)>>2]|0;h[w+592>>3]=+h[(c[pa>>2]|0)+((c[pa+12>>2]|0)+ -1<<3)>>3];ra=c[(c[qa>>2]|0)+((c[ra>>2]|0)+ -1<<2)>>2]|0;h[w+600>>3]=+h[(c[ra+4>>2]|0)+((c[ra+12>>2]|0)+ -1<<3)>>3];w=c[b>>2]|0;f:do{if((w|0)==0){e=83}else{if((a[w]&1)!=0){break}do{w=c[w+4>>2]|0;if((w|0)==0){e=83;break f}}while((a[w]&1)==0)}}while(0);if((e|0)==83){ra=c[B>>2]|0;hd[c[(c[ra>>2]|0)+216>>2]&127](ra,c[A>>2]|0)}SB(c[A>>2]|0)}if(K|G^1){i=f;return}x=d+380|0;z=a[x]|0;w=u>v;if((z&1)==0|w){y=D^1;if(!((a[d+381|0]&1)==0|y)){e=88}}else{e=88}if((e|0)==88){I=w?v:u;u=w?s:t;v=w?r:q;$A(d,w?m:l,g);$W((c[A>>2]|0)+124|0,j|0,128)|0;qa=c[B>>2]|0;hd[c[(c[qa>>2]|0)+140>>2]&127](qa,c[A>>2]|0);qa=c[A>>2]|0;ta=u+I;ra=c[qa+588>>2]|0;h[qa+592>>3]=ta;h[qa+600>>3]=v;uB(ra,ta,v);if(H){y=1;do{ta=+(y|0)/F*2.0*3.141592653589793;qa=c[A>>2]|0;sa=u+I*+V(+ta);ta=v+I*+W(+ta);ra=c[qa+588>>2]|0;h[qa+592>>3]=sa;h[qa+600>>3]=ta;vB(ra,sa,ta);y=y+1|0;}while((y|0)<(E|0))}y=c[A>>2]|0;qa=y+588|0;xB(c[qa>>2]|0);qa=c[qa>>2]|0;ra=qa+28|0;qa=qa+24|0;pa=c[(c[qa>>2]|0)+((c[ra>>2]|0)+ -1<<2)>>2]|0;h[y+592>>3]=+h[(c[pa>>2]|0)+((c[pa+12>>2]|0)+ -1<<3)>>3];ra=c[(c[qa>>2]|0)+((c[ra>>2]|0)+ -1<<2)>>2]|0;h[y+600>>3]=+h[(c[ra+4>>2]|0)+((c[ra+12>>2]|0)+ -1<<3)>>3];y=c[b>>2]|0;g:do{if((y|0)==0){e=94}else{if((a[y]&1)!=0){break}do{y=c[y+4>>2]|0;if((y|0)==0){e=94;break g}}while((a[y]&1)==0)}}while(0);if((e|0)==94){ra=c[B>>2]|0;hd[c[(c[ra>>2]|0)+216>>2]&127](ra,c[A>>2]|0)}SB(c[A>>2]|0);z=a[x]|0;y=D^1}do{if((z&1)==0|y){if(!((a[d+381|0]&1)==0|w)){break}i=f;return}}while(0);s=D?t:s;q=D?q:r;$A(d,D?l:m,g);$W((c[A>>2]|0)+124|0,j|0,128)|0;qa=c[B>>2]|0;hd[c[(c[qa>>2]|0)+140>>2]&127](qa,c[A>>2]|0);qa=c[A>>2]|0;ta=+h[p>>3];sa=+h[o>>3];pa=c[qa+588>>2]|0;h[qa+592>>3]=ta;h[qa+600>>3]=sa;uB(pa,ta,sa);pa=c[A>>2]|0;sa=+h[p>>3];ta=+h[n>>3];qa=c[pa+588>>2]|0;h[pa+592>>3]=sa;h[pa+600>>3]=ta;vB(qa,sa,ta);qa=c[A>>2]|0;ta=+h[k>>3];sa=+h[n>>3];pa=c[qa+588>>2]|0;h[qa+592>>3]=ta;h[qa+600>>3]=sa;vB(pa,ta,sa);pa=c[A>>2]|0;sa=+h[k>>3];ta=+h[o>>3];qa=c[pa+588>>2]|0;h[pa+592>>3]=sa;h[pa+600>>3]=ta;vB(qa,sa,ta);qa=c[A>>2]|0;pa=qa+588|0;xB(c[pa>>2]|0);pa=c[pa>>2]|0;ra=pa+28|0;pa=pa+24|0;na=c[(c[pa>>2]|0)+((c[ra>>2]|0)+ -1<<2)>>2]|0;h[qa+592>>3]=+h[(c[na>>2]|0)+((c[na+12>>2]|0)+ -1<<3)>>3];ra=c[(c[pa>>2]|0)+((c[ra>>2]|0)+ -1<<2)>>2]|0;h[qa+600>>3]=+h[(c[ra+4>>2]|0)+((c[ra+12>>2]|0)+ -1<<3)>>3];qa=c[A>>2]|0;ta=s+C;ra=c[qa+588>>2]|0;h[qa+592>>3]=ta;h[qa+600>>3]=q;uB(ra,ta,q);if(H){g=1;do{ta=+(g|0)/F*2.0*3.141592653589793;qa=c[A>>2]|0;sa=s+C*+V(+ta);ta=q+C*+W(+ta);ra=c[qa+588>>2]|0;h[qa+592>>3]=sa;h[qa+600>>3]=ta;vB(ra,sa,ta);g=g+1|0;}while((g|0)<(E|0))}g=c[A>>2]|0;qa=g+588|0;xB(c[qa>>2]|0);qa=c[qa>>2]|0;ra=qa+28|0;qa=qa+24|0;pa=c[(c[qa>>2]|0)+((c[ra>>2]|0)+ -1<<2)>>2]|0;h[g+592>>3]=+h[(c[pa>>2]|0)+((c[pa+12>>2]|0)+ -1<<3)>>3];ra=c[(c[qa>>2]|0)+((c[ra>>2]|0)+ -1<<2)>>2]|0;h[g+600>>3]=+h[(c[ra+4>>2]|0)+((c[ra+12>>2]|0)+ -1<<3)>>3];g=c[b>>2]|0;h:do{if((g|0)==0){e=104}else{if((a[g]&1)!=0){break}do{g=c[g+4>>2]|0;if((g|0)==0){e=104;break h}}while((a[g]&1)==0)}}while(0);if((e|0)==104){ra=c[B>>2]|0;hdhd[c[(c[E>>2]|0)+140>>2]&127](E,c[q>>2]|0);E=c[q>>2]|0;G=d+232|0;F=d+248|0;L=+h[F>>3]+(+h[o>>3]*e+ +h[G>>3]*f);H=d+224|0;J=d+240|0;d=d+256|0;K=+h[d>>3]+(+h[H>>3]*e+ +h[J>>3]*f);I=c[E+588>>2]|0;h[E+592>>3]=L;h[E+600>>3]=K;uB(I,L,K);I=c[q>>2]|0;K=+h[F>>3]+(+h[o>>3]*g+ +h[G>>3]*f);L=+h[d>>3]+(+h[H>>3]*g+ +h[J>>3]*f);E=c[I+588>>2]|0;h[I+592>>3]=K;h[I+600>>3]=L;vB(E,K,L);E=c[q>>2]|0;L=+h[F>>3]+(+h[o>>3]*g+ +h[G>>3]*j);K=+h[d>>3]+(+h[H>>3]*g+ +h[J>>3]*j);I=c[E+588>>2]|0;h[E+592>>3]=L;h[E+600>>3]=K;vB(I,L,K);I=c[q>>2]|0;K=+h[F>>3]+(+h[o>>3]*e+ +h[G>>3]*j);L=+h[d>>3]+(+h[H>>3]*e+ +h[J>>3]*j);d=c[I+588>>2]|0;h[I+592>>3]=K;h[I+600>>3]=L;vB(d,K,L);d=c[q>>2]|0;I=d+588|0;xB(c[I>>2]|0);I=c[I>>2]|0;J=I+28|0;I=I+24|0;H=c[(c[I>>2]|0)+((c[J>>2]|0)+ -1<<2)>>2]|0;h[d+592>>3]=+h[(c[H>>2]|0)+((c[H+12>>2]|0)+ -1<<3)>>3];J=c[(c[I>>2]|0)+((c[J>>2]|0)+ -1<<2)>>2]|0;h[d+600>>3]=+h[(c[J+4>>2]|0)+((c[J+12>>2]|0)+ -1<<3)>>3];d=c[b+116>>2]|0;b:do{if((d|0)==0){n=14}else{if((a[d]&1)!=0){break}do{d=c[d+4>>2]|0;if((d|0)==0){n=14;break b}}while((a[d]&1)==0)}}while(0);if((n|0)==14){J=c[p>>2]|0;hd[c[(c[J>>2]|0)+216>>2]&127](J,c[q>>2]|0)}SB(c[q>>2]|0);i=m;return}function Kx(a,b,c,d,e){a=+a;b=+b;c=+c;d=d|0;e=e|0;var f=0;f=i;do{if(a<b){if(c<a){$A(d,a,e);break}if(c>b){$A(d,b,e);break}else{$A(d,c,e);break}}else{if(c>a){$A(d,a,e);break}if(c<b){$A(d,b,e);break}else{$A(d,c,e);break}}}while(0);i=f;return}function Lx(b,d,e,f,g,h,j,k,l,m,n,o,p,q){b=b|0;d=+d;e=+e;f=+f;g=+g;h=+h;j=+j;k=+k;l=+l;m=+m;n=+n;o=o|0;p=p|0;q=q|0;var r=0,s=0,t=0,u=0.0,v=0.0,w=0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0;r=i;s=i;i=i+128|0;t=s;u=f+j;v=(u+m)/3.0;do{if(+S(+(f-v))<n){if(+S(+(j-v))>=n){w=4;break}if(!(+S(+(m-v))<n|(o|0)==6)){w=20}}else{w=4}}while(0);if((w|0)==4){if((o|0)!=6){w=20}}if((w|0)==20){D=(d+g)*.5;C=(e+h)*.5;y=(g+k)*.5;x=(h+l)*.5;A=(d+k)*.5;z=(e+l)*.5;B=u*.5;v=(j+m)*.5;u=(f+m)*.5;w=o+1|0;Lx(b,d,e,f,D,C,B,A,z,u,n,w,p,q);Lx(b,D,C,B,g,h,j,y,x,v,n,w,p,q);Lx(b,D,C,B,y,x,v,A,z,u,n,w,p,q);Lx(b,A,z,u,y,x,v,k,l,m,n,w,p,q);i=r;return}fB(p,v,t);t=b+28|0;$W((c[t>>2]|0)+124|0,s|0,128)|0;s=b+8|0;w=c[s>>2]|0;hd[c[(c[w>>2]|0)+140>>2]&127](w,c[t>>2]|0);CB(q);if(zB(q)|0){Ya(160992,161008,3232,161016)}BB(q,d,e);AB(q);if(zB(q)|0){Ya(160992,161008,3233,161016)}BB(q,g,h);AB(q);if(zB(q)|0){Ya(160992,161008,3234,161016)}BB(q,k,l);AB(q);if(zB(q)|0){Ya(160992,161008,3235,161016)}BB(q,d,e);AB(q);if(!(zB(q)|0)){Ya(161040,161008,3236,161016)}b=c[b+116>>2]|0;a:do{if((b|0)!=0){if((a[b]&1)!=0){i=r;return}do{b=c[b+4>>2]|0;if((b|0)==0){break a}}while((a[b]&1)==0);i=r;return}}while(0);w=c[s>>2]|0;hd[c[(c[w>>2]|0)+216>>2]&127](w,c[t>>2]|0);i=r;return}function Mx(b,d,e,f,g,h,j,k,l,m,n,o,p){b=b|0;d=+d;e=+e;f=f|0;g=+g;h=+h;j=j|0;k=+k;l=+l;m=m|0;n=n|0;o=o|0;p=p|0;var q=0,r=0,s=0,t=0,u=0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0,C=0,D=0;q=i;t=i;i=i+128|0;s=i;i=i+128|0;r=i;i=i+128|0;u=(n|0)>0;a:do{if(u){B=0;while(1){C=c[j+(B<<2)>>2]|0;D=(c[f+(B<<2)>>2]|0)-C|0;if((((D|0)>-1?D:0-D|0)|0)>768){break a}D=C-(c[m+(B<<2)>>2]|0)|0;C=B+1|0;if((((D|0)>-1?D:0-D|0)|0)>768){break a}if((C|0)<(n|0)){B=C}else{B=C;break}}}else{B=0}}while(0);if(!((B|0)==(n|0)|(o|0)==6)){x=(d+g)*.5;y=(e+h)*.5;w=(g+k)*.5;v=(h+l)*.5;z=(d+k)*.5;A=(e+l)*.5;if(u){u=0;do{C=c[f+(u<<2)>>2]|0;B=c[j+(u<<2)>>2]|0;c[t+(u<<2)>>2]=(B+C|0)/2|0;D=c[m+(u<<2)>>2]|0;c[s+(u<<2)>>2]=(D+B|0)/2|0;c[r+(u<<2)>>2]=(C+D|0)/2|0;u=u+1|0;}while((u|0)<(n|0))}D=o+1|0;Mx(b,d,e,f,x,y,t,z,A,r,n,D,p);Mx(b,x,y,t,g,h,j,w,v,s,n,D,p);Mx(b,x,y,t,w,v,s,z,A,r,n,D,p);Mx(b,z,A,r,w,v,s,k,l,m,n,D,p);i=q;return}o=b+28|0;$W((c[o>>2]|0)+124|0,f|0,128)|0;f=b+8|0;D=c[f>>2]|0;hd[c[(c[D>>2]|0)+140>>2]&127](D,c[o>>2]|0);CB(p);if(zB(p)|0){Ya(160992,161008,3184,161016)}BB(p,d,e);AB(p);if(zB(p)|0){Ya(160992,161008,3185,161016)}BB(p,g,h);AB(p);if(zB(p)|0){Ya(160992,161008,3186,161016)}BB(p,k,l);AB(p);if(zB(p)|0){Ya(160992,161008,3187,161016)}BB(p,d,e);AB(p);if(!(zB(p)|0)){Ya(161040,161008,3188,161016)}p=c[b+116>>2]|0;b:do{if((p|0)!=0){if((a[p]&1)!=0){i=q;return}do{p=c[p+4>>2]|0;if((p|0)==0){break b}}while((a[p]&1)==0);i=q;return}}while(0);D=c[f>>2]|0;hd[c[(c[D>>2]|0)+216>>2]&127](D,c[o>>2]|0);i=q;return}function Nx(b,d,e,f,g,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=+g;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.0,y=0.0,z=0.0,A=0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0;l=i;o=i;i=i+1280|0;p=i;i=i+1280|0;m=i;i=i+1280|0;n=i;i=i+1280|0;t=i;i=i+256|0;q=i;i=i+256|0;u=i;i=i+128|0;v=u;r=(f|0)>0;a:do{if(r){w=0;while(1){x=+h[d+256+(w<<3)>>3];z=+h[d+512+(w<<3)>>3];if(+S(+(x-z))>g){break a}y=+h[d+1024+(w<<3)>>3];if(+S(+(z-y))>g){break a}z=+h[d+768+(w<<3)>>3];if(+S(+(y-z))>g){break a}A=w+1|0;if(+S(+(z-x))>g){break a}if((A|0)<(f|0)){w=A}else{w=A;break}}}else{w=0}}while(0);if(!((w|0)==(f|0)|(j|0)==6)){s=0;while(1){D=+h[d+(s<<5)>>3];h[t+(s<<6)>>3]=D;B=+h[d+128+(s<<5)>>3];h[q+(s<<6)>>3]=B;F=+h[d+(s<<5)+8>>3];D=(D+F)*.5;h[t+(s<<6)+8>>3]=D;E=+h[d+128+(s<<5)+8>>3];B=(B+E)*.5;h[q+(s<<6)+8>>3]=B;C=+h[d+(s<<5)+16>>3];F=(F+C)*.5;x=+h[d+128+(s<<5)+16>>3];E=(E+x)*.5;y=+h[d+(s<<5)+24>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((q|0)<(f|0))}A=j+1|0;Nx(b,o,e,f,g,A,k);Nx(b,m,e,f,g,A,k);Nx(b,p,e,f,g,A,k);Nx(b,n,e,f,g,A,k);i=l;return}do{if((c[k+316>>2]|0)>0){kB(k,+h[d+256>>3],v)}else{if((e|0)>0){m=0}else{break}do{c[v+(m<<2)>>2]=~~+h[d+256+(m<<3)>>3];m=m+1|0;}while((m|0)<(e|0))}}while(0);e=b+28|0;$W((c[e>>2]|0)+124|0,u|0,128)|0;m=b+8|0;v=c[m>>2]|0;hd[c[(c[v>>2]|0)+140>>2]&127](v,c[e>>2]|0);v=c[e>>2]|0;E=+h[d>>3];A=d+128|0;F=+h[A>>3];w=c[v+588>>2]|0;h[v+592>>3]=E;h[v+600>>3]=F;uB(w,E,F);w=c[e>>2]|0;F=+h[d+8>>3];E=+h[d+136>>3];D=+h[d+16>>3];C=+h[d+144>>3];B=+h[d+24>>3];z=+h[d+152>>3];v=c[w+588>>2]|0;h[w+592>>3]=B;h[w+600>>3]=z;wB(v,F,E,D,C,B,z);v=c[e>>2]|0;z=+h[d+56>>3];B=+h[d+184>>3];C=+h[d+88>>3];D=+h[d+216>>3];E=+h[d+120>>3];F=+h[d+248>>3];w=c[v+588>>2]|0;h[v+592>>3]=E;h[v+600>>3]=F;wB(w,z,B,C,D,E,F);w=c[e>>2]|0;F=+h[d+112>>3];E=+h[d+240>>3];D=+h[d+104>>3];C=+h[d+232>>3];B=+h[d+96>>3];z=+h[d+224>>3];v=c[w+588>>2]|0;h[w+592>>3]=B;h[w+600>>3]=z;wB(v,F,E,D,C,B,z);v=c[e>>2]|0;z=+h[d+64>>3];B=+h[d+192>>3];C=+h[d+32>>3];D=+h[d+160>>3];E=+h[d>>3];F=+h[A>>3];A=c[v+588>>2]|0;h[v+592>>3]=E;h[v+600>>3]=F;wB(A,z,B,C,D,E,F);A=c[e>>2]|0;v=A+588|0;xB(c[v>>2]|0);v=c[v>>2]|0;w=v+28|0;v=v+24|0;u=c[(c[v>>2]|0)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[j>>2]|0,d)}do{if((c[m+40>>2]|0)==4){Y=c[e>>2]|0;if(!(jd[c[(c[Y>>2]|0)+32>>2]&511](Y)|0)){f=30;break}S=c[j>>2]|0;$W(U|0,S+16|0,48)|0;W=+h[S+496>>3];K=+h[U>>3];O=+h[S+504>>3];V=+h[T+16>>3];Q=+h[T+8>>3];L=+h[T+24>>3];H=+h[S+512>>3];I=+h[S+520>>3];N=K*H+V*I;M=Q*H+L*I;R=+h[m+64>>3];Z=+h[m+72>>3];V=(W*K+O*V)*R+Z*N;Z=(W*Q+O*L)*R+Z*M;R=+h[m+80>>3];L=+h[m+88>>3];Q=+h[S+488>>3];K=Z*Q;M=Q*(R*Z+M*L);Z=+h[S+560>>3];J=V*Q*Z;L=Z*Q*(R*V+N*L);N=+h[S+576>>3];H=W*0.0+N*H;I=O*0.0+N*I;N=+h[S+608>>3];O=+h[S+616>>3];F=b+120|0;P=c[F>>2]|0;U=c[d+24>>2]|0;if((U|0)>0){E=b+32|0;D=b+40|0;G=b+36|0;C=b+18|0;B=b+20|0;Q=+h[S+592>>3];R=+h[S+600>>3];S=c[d+28>>2]|0;while(1){T=xd[c[(c[m>>2]|0)+12>>2]&3](m,S,U,o,p,q,s,w,r,n)|0;X=c[j>>2]|0;Y=X+488|0;V=+h[l>>3]*+h[Y>>3]+ +h[X+544>>3];h[l>>3]=V;do{if((T|0)==1){if((a[S]|0)!=32){break}V=V+ +h[X+552>>3];h[l>>3]=V}}while(0);_=+h[X+560>>3]*V;h[l>>3]=_;V=+h[Y>>3]*+h[k>>3];h[k>>3]=V;W=_*+h[X+496>>3]+V*+h[X+512>>3];V=_*+h[X+504>>3]+V*+h[X+520>>3];_=H+Q;Z=I+R;aa=+h[X+48>>3]+(_*+h[X+16>>3]+Z*+h[X+32>>3]);$=+h[X+56>>3]+(_*+h[X+24>>3]+Z*+h[X+40>>3]);Y=c[e>>2]|0;hd[c[(c[Y>>2]|0)+80>>2]&127](Y,X);Y=XB(c[j>>2]|0)|0;c[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}}while(0);do{if((f|0)==30){ba=c[e>>2]|0;if(!(jd[c[(c[ba>>2]|0)+12>>2]&511](ba)|0)){h[k>>3]=0.0;h[l>>3]=0.0;w=c[d+24>>2]|0;if((w|0)>0){v=0;s=0;t=c[d+28>>2]|0;while(1){u=xd[c[(c[m>>2]|0)+12>>2]&3](m,t,w,o,p,q,G,F,r,n)|0;H=+h[P>>3]+ +h[l>>3];h[l>>3]=H;I=+h[E>>3]+ +h[k>>3];h[k>>3]=I;if((u|0)==1){s=((a[t]|0)==32)+s|0}v=v+1|0;w=w-u|0;if((w|0)>0){t=t+u|0}else{break}}J=+(v|0)}else{I=0.0;H=0.0;J=0.0;s=0}m=c[j>>2]|0;n=m+488|0;K=+h[n>>3];if((D|0)==0){H=H*K+J*+h[m+544>>3]+ +(s|0)*+h[m+552>>3];h[l>>3]=H;H=H*+h[m+560>>3];h[l>>3]=H;J=+h[n>>3]*I}else{H=K*H;h[l>>3]=H;J=I*+h[n>>3]+J*+h[m+544>>3]+ +(s|0)*+h[m+552>>3]}h[k>>3]=J;I=H*+h[m+496>>3]+J*+h[m+512>>3];H=H*+h[m+504>>3]+J*+h[m+520>>3];k=c[b+116>>2]|0;a:do{if((k|0)==0){f=64}else{if((a[k]&1)!=0){break}while(1){k=c[k+4>>2]|0;if((k|0)==0){f=64;break a}if((a[k]&1)==0){}else{break}}}}while(0);if((f|0)==64){ba=c[e>>2]|0;Gd[c[(c[ba>>2]|0)+288>>2]&255](ba,m,d);m=c[j>>2]|0}WB(m,I,H);break}z=c[j>>2]|0;I=+h[z+576>>3];H=+h[z+496>>3]*0.0+I*+h[z+512>>3];I=+h[z+504>>3]*0.0+I*+h[z+520>>3];z=c[d+28>>2]|0;y=c[d+24>>2]|0;if((y|0)<=0){break}x=b+116|0;if((D|0)==0){while(1){A=xd[c[(c[m>>2]|0)+12>>2]&3](m,z,y,o,p,q,s,w,r,n)|0;D=c[j>>2]|0;E=D+488|0;J=+h[l>>3]*+h[E>>3]+ +h[D+544>>3];h[l>>3]=J;do{if((A|0)==1){if((a[z]|0)!=32){break}J=J+ +h[D+552>>3];h[l>>3]=J}}while(0);aa=+h[D+560>>3]*J;h[l>>3]=aa;J=+h[E>>3]*+h[k>>3];h[k>>3]=J;D=c[j>>2]|0;X=D+496|0;Y=D+512|0;K=aa*+h[X>>3]+J*+h[Y>>3];ba=D+504|0;E=D+520|0;J=aa*+h[ba>>3]+J*+h[E>>3];U=D+488|0;aa=+h[U>>3]*+h[B>>3];h[B>>3]=aa;M=+h[U>>3]*+h[C>>3];h[C>>3]=M;L=aa*+h[X>>3]+M*+h[Y>>3];M=aa*+h[ba>>3]+M*+h[E>>3];E=c[x>>2]|0;b:do{if((E|0)==0){f=40}else{if((a[E]&1)!=0){break}while(1){E=c[E+4>>2]|0;if((E|0)==0){f=40;break b}if((a[E]&1)==0){}else{break}}}}while(0);if((f|0)==40){f=0;ba=c[e>>2]|0;md[c[(c[ba>>2]|0)+284>>2]&1](ba,D,H+ +h[D+592>>3],I+ +h[D+600>>3],K,J,L,M,c[t>>2]|0,A,c[v>>2]|0,c[u>>2]|0);D=c[j>>2]|0}WB(D,K,J);y=y-A|0;if((y|0)>0){z=z+A|0}else{break}}}else{while(1){A=xd[c[(c[m>>2]|0)+12>>2]&3](m,z,y,o,p,q,s,w,r,n)|0;D=c[j>>2]|0;ba=D+488|0;K=+h[ba>>3]*+h[l>>3];h[l>>3]=K;L=+h[k>>3]*+h[ba>>3]+ +h[D+544>>3];h[k>>3]=L;do{if((A|0)==1){if((a[z]|0)!=32){break}L=L+ +h[D+552>>3];h[k>>3]=L}}while(0);X=D+496|0;Y=D+512|0;J=K*+h[X>>3]+L*+h[Y>>3];ba=D+504|0;E=D+520|0;K=K*+h[ba>>3]+L*+h[E>>3];U=D+488|0;aa=+h[U>>3]*+h[B>>3];h[B>>3]=aa;L=+h[U>>3]*+h[C>>3];h[C>>3]=L;M=aa*+h[X>>3]+L*+h[Y>>3];L=aa*+h[ba>>3]+L*+h[E>>3];E=c[x>>2]|0;c:do{if((E|0)==0){f=49}else{if((a[E]&1)!=0){break}while(1){E=c[E+4>>2]|0;if((E|0)==0){f=49;break c}if((a[E]&1)==0){}else{break}}}}while(0);if((f|0)==49){f=0;ba=c[e>>2]|0;md[c[(c[ba>>2]|0)+284>>2]&1](ba,D,H+ +h[D+592>>3],I+ +h[D+600>>3],J,K,M,L,c[t>>2]|0,A,c[v>>2]|0,c[u>>2]|0);D=c[j>>2]|0}WB(D,J,K);y=y-A|0;if((y|0)>0){z=z+A|0}else{break}}}}}while(0);ba=c[e>>2]|0;if(!(jd[c[(c[ba>>2]|0)+12>>2]&511](ba)|0)){Y=d+24|0;Y=c[Y>>2]|0;Y=Y*10|0;ba=b+24|0;X=ba;X=c[X>>2]|0;Y=X+Y|0;c[ba>>2]=Y;i=g;return}Y=c[e>>2]|0;hdhd[c[(c[N>>2]|0)+48>>2]&127](N,c[n>>2]|0);a[O]=0}else{Yu(J,159208,o,0)|0;N=c[r>>2]|0;if((N|0)==5){Of(o);Yu(J,160104,o,0)|0;N=c[r>>2]|0}d:do{if((N|0)==4&f){O=c[b+20>>2]|0;N=c[s>>2]|0;e:do{if((O|0)==0){x=53}else{while(1){if((c[O+24>>2]|0)==7){if((c[(Yu(c[O+32>>2]|0,N,q,0)|0)>>2]|0)!=5){break}Of(q)}O=c[O+112>>2]|0;if((O|0)==0){x=53;break e}}if((c[u>>2]|0)==5){break}Of(o);$W(r|0,u|0,16)|0;break d}}while(0);if((x|0)==53){c[t>>2]=0;c[y>>2]=0;c[u>>2]=5}Of(q)}}while(0);do{if((c[r>>2]|0)==5){v=c[v>>2]|0;if((v|0)==3){N=FW(4)|0;vz(N);break}else if((v|0)==2){N=FW(4)|0;gz(N);break}else if((v|0)==1){N=FW(4)|0;Ty(N);break}else{Of(o);break a}}else{N=Jy(o,b)|0}}while(0);Of(o);if((N|0)==0){break a}Yu(J,161600,o,0)|0;if((c[r>>2]|0)==5){Of(o);Yu(J,160288,o,0)|0}v=FW(672)|0;mB(v,c[M>>2]|0,o,N);Of(o);if((a[v+664|0]&1)==0){if((v|0)==0){break a}nB(v);HW(v);break a}Yu(J,161608,n,0)|0;Yu(J,159992,m,0)|0;f:do{if((c[L>>2]|0)==8){if(f){break a}f=c[K>>2]|0;z=jd[c[(c[f>>2]|0)+72>>2]&511](f)|0;Yu(z,161496,o,0)|0;w=c[r>>2]|0;if((w|0)==5){Of(o);Yu(z,161504,o,0)|0;w=c[r>>2]|0}if((w|0)!=1){x=161;break a}w=c[s>>2]|0;Of(o);Yu(z,161512,o,0)|0;A=c[r>>2]|0;if((A|0)==5){Of(o);Yu(z,161520,o,0)|0;A=c[r>>2]|0}if((A|0)!=1){x=161;break a}A=c[s>>2]|0;Of(o);Yu(z,161528,o,0)|0;B=c[r>>2]|0;if((B|0)==5){Of(o);Yu(z,160112,o,0)|0;B=c[r>>2]|0}if((B|0)==0){B=(a[s]&1)!=0}else{B=0}Of(o);Yu(z,161568,o,0)|0;C=c[r>>2]|0;if((C|0)==5){Of(o);Yu(z,161592,o,0)|0;C=c[r>>2]|0}if((C|0)!=1){x=161;break a}C=c[s>>2]|0;Of(o);Yu(z,159208,o,0)|0;D=c[r>>2]|0;if((D|0)==5){Of(o);Yu(z,160104,o,0)|0;D=c[r>>2]|0}g:do{if((D|0)==4){D=c[b+20>>2]|0;s=c[s>>2]|0;h:do{if((D|0)==0){x=93}else{while(1){if((c[D+24>>2]|0)==7){if((c[(Yu(c[D+32>>2]|0,s,q,0)|0)>>2]|0)!=5){break}Of(q)}D=c[D+112>>2]|0;if((D|0)==0){x=93;break h}}if((c[u>>2]|0)==5){break}Of(o);$W(r|0,u|0,16)|0;break g}}while(0);if((x|0)==93){c[t>>2]=0;c[y>>2]=0;c[u>>2]=5}Of(q)}}while(0);s=Jy(o,b)|0;Of(o);if((s|0)==0){break a}if((jd[c[(c[s>>2]|0)+12>>2]&511](s)|0)!=0){break a}Yu(z,161600,o,0)|0;if((c[r>>2]|0)==5){Of(o);Yu(z,160288,o,0)|0}q=FW(672)|0;mB(q,C,o,s);Of(o);if((a[q+664|0]&1)==0){if((q|0)==0){break a}nB(q);HW(q);break a}o=c[b+116>>2]|0;i:do{if((o|0)==0){x=144}else{if((a[o]&1)!=0){break}do{o=c[o+4>>2]|0;if((o|0)==0){x=144;break i}}while((a[o]&1)==0)}}while(0);if((x|0)==144){O=c[b+8>>2]|0;vd[c[(c[O>>2]|0)+324>>2]&3](O,c[b+28>>2]|0,d,e,j,k,v,l,f,w,A,q,B)}if((q|0)==0){break}nB(q);HW(q)}else{y=c[G>>2]|0;j:do{if((y|0)==6){t=o+8|0;q=0;while(1){u=c[E>>2]|0;if(!((q|0)<(c[u+12>>2]|0)&(q|0)<64)){z=1;break j}ut(u,q,o)|0;u=c[r>>2]|0;if((u|0)==2){Qe(-1,161616,A);u=c[r>>2]|0;if((u|0)!=2){x=111;break}c[w+(q<<2)>>2]=~~+h[t>>3]}else if((u|0)==1){c[w+(q<<2)>>2]=c[s>>2]}else{x=113;break}Of(o);u=c[G>>2]|0;if((u|0)==6){q=q+1|0}else{x=106;break}}if((x|0)==106){c[H>>2]=u;c[I+4>>2]=6;Qe(0,162256,I);tc()}else if((x|0)==111){c[F>>2]=u;c[B+4>>2]=2;Qe(0,162256,B);tc()}else if((x|0)==113){c[C>>2]=u;Qe(-1,161688,D);Of(o);break a}}else if((y|0)==8){if(f){break a}x=c[E>>2]|0;B=jd[c[(c[x>>2]|0)+72>>2]&511](x)|0;Yu(B,161496,o,0)|0;y=c[r>>2]|0;if((y|0)==5){Of(o);Yu(B,161504,o,0)|0;y=c[r>>2]|0}if((y|0)!=1){x=161;break a}y=c[s>>2]|0;Of(o);Yu(B,161512,o,0)|0;z=c[r>>2]|0;if((z|0)==5){Of(o);Yu(B,161520,o,0)|0;z=c[r>>2]|0}if((z|0)!=1){x=161;break a}z=c[s>>2]|0;Of(o);Yu(B,161528,o,0)|0;A=c[r>>2]|0;if((A|0)==5){Of(o);Yu(B,160112,o,0)|0;A=c[r>>2]|0}if((A|0)==0){A=(a[s]&1)!=0}else{A=0}Of(o);Yu(B,161544,o,0)|0;C=c[r>>2]|0;if((C|0)==5){Of(o);Yu(B,161560,o,0)|0;C=c[r>>2]|0}if((C|0)!=0){x=161;break a}if((a[s]&1)==0){x=161;break a}Of(o);Yu(B,161600,o,0)|0;C=c[r>>2]|0;if((C|0)==5){Of(o);Yu(B,160288,o,0)|0;C=c[r>>2]|0}if((C|0)==6){ut(c[s>>2]|0,0,q)|0;p=c[u>>2]|0;do{if((p+ -1|0)>>>0<2){if((p|0)==1){P=+(c[t>>2]|0)}else{P=+h[t>>3]}if(P<.9){p=0;break}p=1}else{p=0}}while(0);Of(q)}else if((C|0)==5){p=0}else{x=161;break a}Of(o);o=c[b+116>>2]|0;k:do{if((o|0)!=0){if((a[o]&1)!=0){z=0;break j}while(1){o=c[o+4>>2]|0;if((o|0)==0){break k}if((a[o]&1)==0){}else{z=0;break j}}}}while(0);O=c[b+8>>2]|0;vd[c[(c[O>>2]|0)+320>>2]&3](O,c[b+28>>2]|0,d,e,j,k,v,l,x,y,z,p,A);break f}else{z=0}}while(0);o=c[b+116>>2]|0;l:do{if((o|0)!=0){if((a[o]&1)!=0){break f}while(1){o=c[o+4>>2]|0;if((o|0)==0){break l}if((a[o]&1)!=0){break f}}}}while(0);O=c[b+8>>2]|0;Ad[c[(c[O>>2]|0)+316>>2]&1](O,c[b+28>>2]|0,d,e,j,k,v,l,z?w:0,f)}}while(0);if((v|0)!=0){nB(v);HW(v)}Of(n);Of(m)}}while(0);e=da(k,j)|0;b=b+24|0;c[b>>2]=(c[b>>2]|0)+((e|0)>1e3?1e3:e);i=g;return}}while(0);if((x|0)==161){Of(o)}b=c[b+120>>2]|0;do{if((b|0)==0){b=-1}else{b=c[b+4>>2]|0;if((c[b+16>>2]|0)!=8){b=-1;break}b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}}while(0);Qe(b,161744,p);i=g;return}function Rx(b,d){b=b|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if((c[X+16>>2]|0)!=8){X=-1;break}X=c[X+24>>2]|0;X=jd[c[(c[X>>2]|0)+48>>2]&511](X)|0}}while(0);Qe(X,160376,W)}Of(g);Yu(O,160400,P,0)|0;if((c[Q>>2]|0)!=6){Of(P);b=c[b+120>>2]|0;do{if((b|0)==0){b=-1}else{b=c[b+4>>2]|0;if((c[b+16>>2]|0)!=8){b=-1;break}b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}}while(0);Qe(b,160408,V);i=e;return}V=6;W=0;while(1){if((V|0)!=6){X=17;break}ut(c[S>>2]|0,W,g)|0;V=c[x>>2]|0;if((V+ -1|0)>>>0>=2){X=24;break}if((V|0)==1){_=+(c[t>>2]|0)}else{_=+h[t>>3]}h[j+(W<<3)>>3]=_;Of(g);W=W+1|0;if((W|0)>=4){X=28;break}V=c[Q>>2]|0}if((X|0)==17){c[U>>2]=V;c[T+4>>2]=6;Qe(0,162256,T);tc()}else if((X|0)==24){Of(g);b=c[b+120>>2]|0;do{if((b|0)==0){b=-1}else{b=c[b+4>>2]|0;if((c[b+16>>2]|0)!=8){b=-1;break}b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}}while(0);Qe(b,161768,N);i=e;return}else if((X|0)==28){Of(P);Yu(O,160472,H,0)|0;a:do{if((c[I>>2]|0)==6){P=6;N=0;while(1){if((P|0)!=6){break}ut(c[M>>2]|0,N,g)|0;P=c[x>>2]|0;if((P+ -1|0)>>>0<2){if((P|0)==1){_=+(c[t>>2]|0)}else{_=+h[t>>3]}h[k+(N<<3)>>3]=_}else{h[k+(N<<3)>>3]=0.0}Of(g);N=N+1|0;if((N|0)>=6){break a}P=c[I>>2]|0}c[K>>2]=P;c[L+4>>2]=6;Qe(0,162256,L);tc()}else{h[R>>3]=1.0;bX(k+8|0,0,16)|0;h[k+24>>3]=1.0;bX(k+32|0,0,16)|0}}while(0);Of(H);Yu(O,160480,f,0)|0;if((c[J>>2]|0)==7){G=c[G>>2]|0}else{G=0}if((c[(Yu(O,160096,g,0)|0)>>2]|0)==7){H=c[x>>2]|0;if((H|0)!=7){c[E>>2]=H;c[F+4>>2]=7;Qe(0,162256,F);tc()}E=Yu(c[t>>2]|0,160008,m,0)|0;do{if((c[E>>2]|0)==4){if((Qc(c[E+8>>2]|0,161800)|0)!=0){C=0;o=0;n=0;p=0;break}E=c[x>>2]|0;if((E|0)!=7){c[C>>2]=E;c[D+4>>2]=7;Qe(0,162256,D);tc()}if((c[(Yu(c[t>>2]|0,160104,p,0)|0)>>2]|0)==5){C=0}else{C=Jy(p,b)|0}Of(p);D=c[x>>2]|0;if((D|0)!=7){c[B>>2]=D;c[A+4>>2]=7;Qe(0,162256,A);tc()}do{if((c[(Yu(c[t>>2]|0,160112,p,0)|0)>>2]|0)==0){A=c[u>>2]|0;if((A|0)==0){o=(a[q]&1)!=0;break}else{c[z>>2]=A;c[y+4>>2]=0;Qe(0,162256,y);tc()}}else{o=0}}while(0);Of(p);x=c[x>>2]|0;if((x|0)!=7){c[v>>2]=x;c[w+4>>2]=7;Qe(0,162256,w);tc()}do{if((c[(Yu(c[t>>2]|0,160120,p,0)|0)>>2]|0)==0){t=c[u>>2]|0;if((t|0)==0){n=(a[q]&1)!=0;break}else{c[r>>2]=t;c[s+4>>2]=0;Qe(0,162256,s);tc()}}else{n=0}}while(0);Of(p);p=1}else{C=0;o=0;n=0;p=0}}while(0);Of(m)}else{C=0;o=0;n=0;p=0}Of(g);c[l>>2]=(c[l>>2]|0)+1;Ax(b,d,G,k,j,p,0,C,o,n,0,0,0);c[l>>2]=(c[l>>2]|0)+ -1;if((C|0)!=0){fd[c[(c[C>>2]|0)+4>>2]&511](C)}Of(f);i=e;return}}function Sx(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;d=i;e=i;i=i+8|0;j=i;i=i+8|0;g=j;o=i;i=i+8|0;m=i;i=i+16|0;b=m;h=i;i=i+16|0;f=h;c[m>>2]=13;l=b+8|0;c[l>>2]=0;c[l+4>>2]=0;c[h>>2]=13;n=f+8|0;c[n>>2]=0;c[n+4>>2]=0;Jf(b,c[a>>2]|0)|0;a=a+120|0;cG(c[a>>2]|0,f,0,0,0,0,0)|0;while(1){p=c[h>>2]|0;if((p|0)==4){p=Ge(c[n>>2]|0)|0;Of(f);cG(c[a>>2]|0,f,0,0,0,0,0)|0;if(((c[h>>2]|0)+ -11|0)>>>0<2){k=13;break}q=c[m>>2]|0;if((q|0)!=7){k=10;break}Tu(c[l>>2]|0,p,f)}else if((p|0)==10){if((Qc(c[n>>2]|0,161912)|0)==0){break}else{k=4}}else if((p|0)==12){k=14;break}else{k=4}if((k|0)==4){k=0;p=c[a>>2]|0;do{if((p|0)==0){p=-1}else{p=c[p+4>>2]|0;if((c[p+16>>2]|0)!=8){p=-1;break}p=c[p+24>>2]|0;p=jd[c[(c[p>>2]|0)+48>>2]&511](p)|0}}while(0);Qe(p,161920,o);Of(f)}cG(c[a>>2]|0,f,0,0,0,0,0)|0}if((k|0)==10){c[j>>2]=q;c[g+4>>2]=7;Qe(0,162256,g);tc()}else if((k|0)==13){Fe(p);if((c[h>>2]|0)==12){k=14}}if((k|0)==14){g=c[a>>2]|0;do{if((g|0)==0){g=-1}else{g=c[g+4>>2]|0;if((c[g+16>>2]|0)!=8){g=-1;break}g=c[g+24>>2]|0;g=jd[c[(c[g>>2]|0)+48>>2]&511](g)|0}}while(0);Qe(g,161976,e);Of(f);Of(b);q=0;i=d;return q|0}Of(f);f=(c[a>>2]|0)+4|0;e=c[f>>2]|0;do{if((c[e+16>>2]|0)==8){if((c[e+24>>2]|0)==0){break}e=FW(40)|0;f=c[f>>2]|0;if((c[f+16>>2]|0)==8){f=c[f+24>>2]|0}else{f=0}$j(e,f,b,0,0);q=qj(e,b)|0;i=d;return q|0}}while(0);Of(b);q=0;i=d;return q|0}function Tx(a,b,d,e,f,g,j,k){a=a|0;b=b|0;d=d|0;e=e|0;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=ea+(u*ca+aa*r);aa=da+(ca*s+t*aa);F=f>j;k=F?f:j;j=F?j:f;F=g>aa;f=F?aa:g;g=F?g:aa;do{if((c[b>>2]|0)==8){F=c[b+8>>2]|0;F=jd[c[(c[F>>2]|0)+72>>2]&511](F)|0;Yu(F,160400,W,0)|0;if((c[Z>>2]|0)!=6){Of(W);m=c[a+120>>2]|0;do{if((m|0)==0){m=-1}else{m=c[m+4>>2]|0;if((c[m+16>>2]|0)!=8){m=-1;break}m=c[m+24>>2]|0;m=jd[c[(c[m>>2]|0)+48>>2]&511](m)|0}}while(0);Qe(m,160408,$);i=l;return}$=6;ba=0;while(1){if(($|0)!=6){Z=9;break}ut(c[_>>2]|0,ba,U)|0;$=c[R>>2]|0;if(($+ -1|0)>>>0>=2){Z=16;break}if(($|0)==1){aa=+(c[Q>>2]|0)}else{aa=+h[Q>>3]}h[y+(ba<<3)>>3]=aa;Of(U);ba=ba+1|0;if((ba|0)>=4){Z=20;break}$=c[Z>>2]|0}if((Z|0)==9){c[Y>>2]=$;c[X+4>>2]=6;Qe(0,162256,X);tc()}else if((Z|0)==16){Of(U);m=c[a+120>>2]|0;do{if((m|0)==0){m=-1}else{m=c[m+4>>2]|0;if((c[m+16>>2]|0)!=8){m=-1;break}m=c[m+24>>2]|0;m=jd[c[(c[m>>2]|0)+48>>2]&511](m)|0}}while(0);Qe(m,161768,V);i=l;return}else if((Z|0)==20){Of(W);Yu(F,160472,S,0)|0;do{if((c[M>>2]|0)==6){if((c[(c[P>>2]|0)+12>>2]|0)>5){W=6;V=0}else{Z=31;break}while(1){if((W|0)!=6){Z=23;break}ut(c[P>>2]|0,V,U)|0;W=c[R>>2]|0;if((W+ -1|0)>>>0>=2){Z=25;break}if((W|0)==1){aa=+(c[Q>>2]|0)}else{aa=+h[Q>>3]}h[w+(V<<3)>>3]=aa;Of(U);V=V+1|0;if((V|0)>=6){Z=32;break}W=c[M>>2]|0}if((Z|0)==23){c[N>>2]=W;c[J+4>>2]=6;Qe(0,162256,J);tc()}else if((Z|0)==25){c[L>>2]=W;c[K+4>>2]=1;c[K+8>>2]=2;Qe(0,162328,K);tc()}else if((Z|0)==32){C=+h[w+40>>3];E=+h[w+24>>3];D=+h[w+8>>3];G=+h[w+32>>3];I=+h[w+16>>3];H=+h[B>>3];break}}else{Z=31}}while(0);if((Z|0)==31){h[B>>3]=1.0;bX(w+8|0,0,16)|0;h[w+24>>3]=1.0;bX(w+32|0,0,16)|0;C=0.0;E=1.0;D=0.0;G=0.0;I=0.0;H=1.0}Of(S);ia=+h[O>>3];aa=+h[y+8>>3];N=w+16|0;J=w+32|0;ca=G+(ia*H+aa*I);M=w+8|0;K=w+24|0;L=w+40|0;aa=C+(ia*D+aa*E);ia=+h[y+16>>3];ja=+h[y+24>>3];G=G+(H*ia+I*ja);D=C+(D*ia+E*ja);O=ca>G;C=O?ca:G;E=O?G:ca;O=aa>D;G=O?aa:D;D=O?D:aa;if(C==E){C=1.0}else{C=(k-j)/(C-E)}if(G==D){G=1.0}else{G=(g-f)/(G-D)}h[B>>3]=C*+h[B>>3];h[N>>3]=C*+h[N>>3];h[J>>3]=j+C*(+h[J>>3]-E);h[M>>3]=G*+h[M>>3];h[K>>3]=G*+h[K>>3];h[L>>3]=f+G*(+h[L>>3]-D);Yu(F,160480,x,0)|0;if((c[z>>2]|0)==7){z=c[A>>2]|0}else{z=0}Ax(a,b,z,w,y,0,0,0,0,0,0,0,0);Of(x);break}}}while(0);if((d|0)==0){i=l;return}if(+wd[c[(c[d>>2]|0)+12>>2]&1](d)<=0.0){i=l;return}ba=c[(c[m>>2]|0)+120>>2]|0;if((jd[c[(c[ba>>2]|0)+12>>2]&511](ba)|0)!=2){OB(c[m>>2]|0,0);$=c[m>>2]|0;ba=FW(4)|0;gz(ba);MB($,ba);ba=c[a+8>>2]|0;hd[c[(c[ba>>2]|0)+136>>2]&127](ba,c[m>>2]|0)}do{if((e|0)==0){w=0;b=0;e=0}else{if((c[e+32>>2]|0)!=3){w=0;b=0;e=0;break}w=~~(+h[e+16>>3]*65536.0);b=~~(+h[e+8>>3]*65536.0);e=~~(+h[e>>3]*65536.0)}}while(0);ba=c[m>>2]|0;c[ba+252>>2]=e;c[ba+256>>2]=b;c[ba+260>>2]=w;$W(ba+264|0,v|0,116)|0;v=a+8|0;ba=c[v>>2]|0;hd[c[(c[ba>>2]|0)+144>>2]&127](ba,c[m>>2]|0);ha=+h[q>>3]+ +h[n>>3];ia=+h[o>>3]+ +h[p>>3];ja=u*ha+ia*r;r=ha*s+t*ia;r=+T(+((ja*ja+r*r)*.5));p=c[m>>2]|0;h[p+432>>3]=r*+wd[c[(c[d>>2]|0)+12>>2]&1](d);p=c[v>>2]|0;hd[c[(c[p>>2]|0)+116>>2]&127](p,c[m>>2]|0);p=jd[c[(c[d>>2]|0)+16>>2]&511](d)|0;q=jd[c[(c[d>>2]|0)+20>>2]&511](d)|0;if((jd[c[(c[d>>2]|0)+24>>2]&511](d)|0)==1&(p|0)>0){n=ye(p,8)|0;o=0;do{h[n+(o<<3)>>3]=r*+h[q+(o<<3)>>3];o=o+1|0;}while((o|0)<(p|0));RB(c[m>>2]|0,n,p,0.0);ba=c[v>>2]|0;hd[c[(c[ba>>2]|0)+96>>2]&127](ba,c[m>>2]|0)}SB(c[m>>2]|0);n=c[m>>2]|0;ba=c[v>>2]|0;ba=jd[c[(c[ba>>2]|0)+8>>2]&511](ba)|0;ja=ba?f:g;ba=c[n+588>>2]|0;h[n+592>>3]=j;h[n+600>>3]=ja;uB(ba,j,ja);n=c[m>>2]|0;ba=c[v>>2]|0;ba=jd[c[(c[ba>>2]|0)+8>>2]&511](ba)|0;ja=ba?f:g;ba=c[n+588>>2]|0;h[n+592>>3]=k;h[n+600>>3]=ja;vB(ba,k,ja);if((jd[c[(c[d>>2]|0)+24>>2]&511](d)|0)!=4){d=c[m>>2]|0;ba=c[v>>2]|0;ba=jd[c[(c[ba>>2]|0)+8>>2]&511](ba)|0;ja=ba?g:f;ba=c[d+588>>2]|0;h[d+592>>3]=k;h[d+600>>3]=ja;vB(ba,k,ja);d=c[m>>2]|0;ba=c[v>>2]|0;ba=jd[c[(c[ba>>2]|0)+8>>2]&511](ba)|0;ja=ba?g:f;ba=c[d+588>>2]|0;h[d+592>>3]=j;h[d+600>>3]=ja;vB(ba,j,ja);ba=c[m>>2]|0;_=ba+588|0;xB(c[_>>2]|0);_=c[_>>2]|0;$=_+28|0;_=_+24|0;Z=c[(c[_>>2]|0)+((c[$>>2]|0)+ -1<<2)>>2]|0;h[ba+592>>3]=+h[(c[Z>>2]|0)+((c[Z+12>>2]|0)+ -1<<3)>>3];$=c[(c[_>>2]|0)+((c[$>>2]|0)+ -1<<2)>>2]|0;h[ba+600>>3]=+h[(c[$+4>>2]|0)+((c[$+12>>2]|0)+ -1<<3)>>3]}ba=c[v>>2]|0;hdhD
7333 hd0;c[L>>2]=S;if((S|0)==2){S=QS(N,277344,10)|0;c[L>>2]=S;if((S|0)==0){q=3}else{q=20}}else if((S|0)==0){q=3}else{q=20}a:do{if((q|0)==3){S=PJ(N,0)|0;c[L>>2]=S;if((S|0)!=0){q=20;break}R=EK(N,Q)|0;S=c[P>>2]|0;b:do{if((S|0)==0){do{if((R+32767<<16>>16&65535)<2){Q=YK(N,Q)|0;S=c[P>>2]|0;if((S|0)!=0){break b}c[L>>2]=0;if(R<<16>>16!=-32767){q=10;break}a[K]=1}else{c[L>>2]=0;q=10}}while(0);if((q|0)==10){S=PJ(N,0)|0;c[L>>2]=S;if((S|0)!=0){q=20;break a}Q=c[N+4>>2]|0}if((c[N+20>>2]|0)==0){c[t>>2]=(c[N>>2]|0)+(c[N+8>>2]|0);c[E>>2]=Q;a[r]=1;S=DK(N,Q)|0;c[L>>2]=S;if((S|0)!=0){q=20;break a}Q=c[E>>2]|0}else{q=jJ(M,Q,O)|0;c[t>>2]=q;S=c[L>>2]|0;if((S|0)!=0){q=20;break a}S=CK(N,q,Q)|0;c[L>>2]=S;if((S|0)!=0){q=20;break a}c[E>>2]=Q}L=c[t>>2]|0;c[u+4>>2]=L;c[B>>2]=L;c[u+8>>2]=L+Q;c[s>>2]=0;q=24;break a}}while(0);c[L>>2]=S;q=20}}while(0);do{if((q|0)==20){if((a[r]|0)==0){lJ(M,c[t>>2]|0);c[t>>2]=0;S=c[L>>2]|0}c[s>>2]=S;if((S|0)!=0){break}Q=c[E>>2]|0;L=c[t>>2]|0;q=24}}while(0);c:do{if((q|0)==24){S=ES(f,u,L,Q)|0;c[s>>2]=S;if((S|0)!=0){break}L=c[J>>2]|0;J=c[u+16>>2]|0;c[x>>2]=0;d:do{if((a[K]|0)==0){S=c[t>>2]|0;N=c[E>>2]|0;F=u+8|0;H=u+32|0;K=u+12|0;I=u+28|0;L=N;M=S;G=S;N=S+N|0;e:while(1){O=G;f:while(1){do{if((a[O]|0)==101){G=O+9|0;if(G>>>0>=N>>>0){break}if((a[O+1|0]|0)!=101){break}if((a[O+2|0]|0)!=120){break}if((a[O+3|0]|0)!=101){break}if((a[O+4|0]|0)==99){break f}}}while(0);O=O+1|0;if(O>>>0>=N>>>0){q=55;break e}}c[B>>2]=M;c[F>>2]=G;if(M>>>0<G>>>0){do{if((a[M]|0)==101){if((vc(M|0,274824,5)|0)==0){break e}}fd[c[H>>2]&511](u);if((c[K>>2]|0)!=0){break}fd[c[I>>2]&511](u);M=c[B>>2]|0;}while(M>>>0<G>>>0);O=c[E>>2]|0;N=c[t>>2]|0}else{O=L;N=M}L=O;M=N;N=N+O|0}if((q|0)==55){c[x>>2]=3;C=3;q=78;break}c[F>>2]=(c[t>>2]|0)+(c[E>>2]|0);fd[c[H>>2]&511](u);q=c[B>>2]|0;g:do{if(q>>>0<G>>>0){while(1){S=a[q]|0;if(!(S<<24>>24==10|S<<24>>24==13|S<<24>>24==9|S<<24>>24==32)){break}q=q+1|0;if(q>>>0>=G>>>0){break g}}H=c[t>>2]|0;G=H-q+(c[E>>2]|0)|0;if((a[r]|0)==0){a[u+94|0]=1;c[u+84>>2]=H;c[u+88>>2]=G;c[t>>2]=0;c[E>>2]=0}else{H=jJ(J,G+1|0,z)|0;c[u+84>>2]=H;z=c[x>>2]|0;if((z|0)!=0){C=z;q=78;break d}c[u+88>>2]=G}S=d[q]|0;do{if((S+ -48|0)>>>0<10|(S+ -97|0)>>>0<6|(S+ -65|0)>>>0<6){S=d[q+1|0]|0;if(!((S+ -48|0)>>>0<10|(S+ -97|0)>>>0<6|(S+ -65|0)>>>0<6)){break}S=d[q+2|0]|0;if(!((S+ -48|0)>>>0<10|(S+ -97|0)>>>0<6|(S+ -65|0)>>>0<6)){break}S=d[q+3|0]|0;if(!((S+ -48|0)>>>0<10|(S+ -97|0)>>>0<6|(S+ -65|0)>>>0<6)){break}c[B>>2]=q;B=u+84|0;q=u+88|0;Cd[c[(c[D>>2]|0)+24>>2]&63](u,H,G,A,0)|0;z=c[C>>2]|0;c[q>>2]=z;a[(c[B>>2]|0)+z|0]=0;z=u;A=q;q=77;break d}}while(0);aX(H|0,q|0,G|0)|0;z=u;B=u+84|0;A=u+88|0;q=77;break d}}while(0);c[x>>2]=3;C=3;q=78}else{B=IK(L)|0;A=u+88|0;c[A>>2]=0;while(1){C=EK(L,I)|0;D=c[H>>2]|0;if((D|0)!=0){q=31;break}if((C+32767<<16>>16&65535)>=2){q=29;break}E=YK(L,I)|0;D=c[H>>2]|0;if((D|0)!=0){q=31;break}c[x>>2]=0;if(C<<16>>16!=-32766){break}c[A>>2]=(c[A>>2]|0)+E;C=DK(L,E)|0;c[x>>2]=C;if((C|0)!=0){q=78;break d}}if((q|0)==29){c[x>>2]=0}else if((q|0)==31){c[x>>2]=D;break}if((c[A>>2]|0)==0){c[x>>2]=3;C=3;q=78;break}C=PJ(L,B)|0;c[x>>2]=C;if((C|0)!=0){q=78;break}B=u+84|0;c[B>>2]=jJ(J,c[A>>2]|0,z)|0;C=c[x>>2]|0;if((C|0)!=0){q=78;break}c[A>>2]=0;C=EK(L,G)|0;D=c[F>>2]|0;h:do{if((D|0)==0){while(1){if((C+32767<<16>>16&65535)>=2){D=0;q=41;break h}z=YK(L,G)|0;D=c[F>>2]|0;if((D|0)!=0){q=41;break h}c[x>>2]=0;if(C<<16>>16!=-32766){break h}C=CK(L,(c[B>>2]|0)+(c[A>>2]|0)|0,z)|0;c[x>>2]=C;if((C|0)!=0){q=78;break d}c[A>>2]=(c[A>>2]|0)+z;C=EK(L,G)|0;D=c[F>>2]|0;if((D|0)!=0){q=41;break}}}else{q=41}}while(0);if((q|0)==41){c[x>>2]=D}c[x>>2]=0;z=u;F=u+8|0;q=77}}while(0);if((q|0)==77){Gd[c[y+16>>2]&255](c[B>>2]|0,c[A>>2]|0,-9871);a[c[B>>2]|0]=32;a[(c[B>>2]|0)+1|0]=32;a[(c[B>>2]|0)+2|0]=32;a[(c[B>>2]|0)+3|0]=32;D=c[B>>2]|0;c[u+4>>2]=D;c[z>>2]=D;c[F>>2]=D+(c[A>>2]|0);D=c[x>>2]|0}else if((q|0)==78){c[s>>2]=C;break}c[s>>2]=D;if((D|0)!=0){break}S=ES(f,u,c[u+84>>2]|0,c[u+88>>2]|0)|0;c[s>>2]=S;if((S|0)!=0){break}x=f+176|0;a[x]=a[x]&-2;x=f+532|0;A=c[x>>2]|0;do{if((A|0)!=0){y=A+416|0;z=c[y>>2]|0;if((z|0)!=0){if((z|0)!=(c[A+4>>2]|0)){c[y>>2]=0;A=c[x>>2]|0}if((A|0)==0){break}}if((c[A>>2]|0)==0){q=88}else{if((c[A+4>>2]|0)==0){q=88}}if((q|0)==88){DS(f);A=c[x>>2]|0}if((A|0)==0){break}B=c[A+4>>2]|0;if((B|0)!=0){z=0;while(1){y=z+1|0;if((a[A+88+(z*12|0)|0]|0)==0){q=93;break}if(y>>>0<B>>>0){z=y}else{break}}if((q|0)==93){DS(f);A=c[x>>2]|0}if((A|0)==0){break}}x=c[o>>2]|0;if((x|0)==0){break}c[f+548>>2]=oJ(c[w>>2]|0,4,0,x,0,v)|0;if((c[s>>2]|0)==0){break}c[o>>2]=0;break c}}while(0);v=f+416|0;c[v>>2]=c[u+152>>2];w=u+328|0;if((c[w>>2]|0)!=0){c[w>>2]=0;c[f+404>>2]=c[u+312>>2];c[f+392>>2]=c[u+316>>2];c[f+408>>2]=c[u+340>>2];c[f+412>>2]=c[u+344>>2]}w=u+220|0;do{if((c[(c[f+128>>2]|0)+52>>2]|0)==0){if((c[w>>2]|0)!=0){break}c[s>>2]=3}}while(0);c[w>>2]=0;c[f+396>>2]=c[u+208>>2];c[f+424>>2]=c[u+232>>2];c[f+428>>2]=c[u+236>>2];R=u+156|0;c[f+400>>2]=c[R>>2];S=u+180|0;y=f+420|0;c[y>>2]=c[S>>2];c[R>>2]=0;c[S>>2]=0;if((c[f+368>>2]|0)!=1){break}w=u+116|0;if((c[w>>2]|0)>0){z=f+384|0;x=f+388|0;A=u+124|0;B=0;C=0;D=0;do{b[(c[z>>2]|0)+(B<<1)>>1]=0;c[(c[x>>2]|0)+(B<<2)>>2]=274816;I=c[(c[A>>2]|0)+(B<<2)>>2]|0;i:do{if((I|0)!=0){G=c[v>>2]|0;if((G|0)<=0){break}E=c[y>>2]|0;H=0;while(1){J=c[E+(H<<2)>>2]|0;F=H+1|0;if((Qc(I|0,J|0)|0)==0){break}if((F|0)<(G|0)){H=F}else{break i}}b[(c[z>>2]|0)+(B<<1)>>1]=H;c[(c[x>>2]|0)+(B<<2)>>2]=J;if((Qc(274816,J|0)|0)==0){break}C=(B|0)<(C|0)?C:B+1|0;D=(B|0)<(D|0)?B:D}}while(0);B=B+1|0;}while((B|0)<(c[w>>2]|0))}else{C=0;D=0}c[f+376>>2]=D;c[f+380>>2]=C;c[f+372>>2]=c[u+96>>2]}}while(0);v=c[u+148>>2]|0;if((v|0)!=0){fd[v&511](u+100|0)}v=c[u+256>>2]|0;if((v|0)!=0){fd[v&511](u+208|0)}v=c[u+204>>2]|0;if((v|0)!=0){fd[v&511](u+156|0)}v=c[u+308>>2]|0;if((v|0)!=0){fd[v&511](u+260|0)}v=c[u+364>>2]|0;if((v|0)!=0){fd[v&511](u+316|0)}v=c[u+16>>2]|0;S=u+84|0;lJ(v,c[S>>2]|0);c[S>>2]=0;if((a[r]|0)==0){lJ(v,c[t>>2]|0);c[t>>2]=0}fd[c[u+24>>2]&511](u);r=c[s>>2]|0;if((r|0)!=0|(g|0)<0){S=r;i=e;return S|0}if((g|0)>0){S=6;i=e;return S|0}g=f+416|0;c[f+16>>2]=c[g>>2];c[f+4>>2]=0;t=f+8|0;s=(a[f+156|0]|0)==0?2577:2581;c[t>>2]=s;r=c[f+532>>2]|0;if((r|0)!=0){c[t>>2]=s|256}t=c[f+144>>2]|0;u=f+20|0;c[u>>2]=t;s=f+24|0;c[s>>2]=0;j:do{if((t|0)==0){q=c[f+364>>2]|0;if((q|0)==0){q=145;break}c[u>>2]=q;q=145}else{w=c[f+140>>2]|0;if((w|0)==0){q=145;break}v=a[w]|0;k:do{if(v<<24>>24!=0){while(1){u=a[t]|0;while(1){if(v<<24>>24==u<<24>>24){q=136;break}if(!(v<<24>>24==45|v<<24>>24==32)){q=140;break}w=w+1|0;v=a[w]|0;if(v<<24>>24==0){break k}}if((q|0)==136){q=0;w=w+1|0}else if((q|0)==140){q=0;if(!(u<<24>>24==45|u<<24>>24==32))if(u<<24>>24==0){break}else{q=145;break j}}v=a[w]|0;if(v<<24>>24==0){break k}else{t=t+1|0}}c[s>>2]=w;if((w|0)==0){q=145;break j}else{break j}}}while(0);c[s>>2]=274792}}while(0);do{if((q|0)==145){q=c[f+148>>2]|0;if((q|0)==0){c[s>>2]=274792;break}else{c[s>>2]=q;break}}}while(0);s=f+12|0;t=(c[f+152>>2]|0)!=0|0;c[s>>2]=t;q=c[f+148>>2]|0;do{if((q|0)!=0){if((Qc(q|0,274800)|0)!=0){if((Qc(q|0,274808)|0)!=0){break}}c[s>>2]=t|2}}while(0);c[f+28>>2]=0;c[f+32>>2]=0;c[f+52>>2]=c[f+460>>2]>>16;s=c[f+464>>2]>>16;c[f+56>>2]=s;t=(c[f+468>>2]|0)+65535>>16;c[f+60>>2]=t;q=(c[f+472>>2]|0)+65535>>16;c[f+64>>2]=q;u=f+68|0;v=b[u>>1]|0;if(v<<16>>16==0){b[u>>1]=1e3;v=1e3}S=q&65535;b[f+70>>1]=S;u=s&65535;b[f+72>>1]=u;s=((((v&65535)*12|0)>>>0)/10|0)&65535;q=f+74|0;u=(S<<16>>16)-(u<<16>>16)|0;b[q>>1]=(s<<16>>16|0)<(u|0)?u&65535:s;s=f+76|0;b[s>>1]=t;p=(c[p>>2]|0)+12|0;if((Fd[c[c[p>>2]>>2]&7](m,f,0,0,c[f+420>>2]|0,r,0,0,199)|0)==0){a[m+70|0]=1;a[m+68|0]=0;c[m+1364>>2]=c[f+404>>2];c[m+1368>>2]=c[f+408>>2];c[m+1372>>2]=c[f+412>>2];c[m+1488>>2]=c[f+548>>2];c[m+1492>>2]=c[o>>2];if((c[g>>2]|0)>0){r=m+4|0;o=m+40|0;t=0;u=0;do{do{if((CS(m,u,n)|0)==0){v=c[(c[(c[r>>2]|0)+128>>2]|0)+52>>2]|0;if((v|0)==0){break}hdhd[c[(c[l>>2]|0)+4>>2]&127](c[l+4>>2]|0,k);c[n>>2]=0;c[d>>2]=0;E=0;i=j;return E|0}function vS(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;g=i;c[e>>2]=0;f=e+4|0;c[f>>2]=0;a=c[a+492>>2]|0;if((a|0)==0){i=g;return 0}h=c[a+36>>2]|0;b=b<<16|d;a=(c[a+40>>2]|0)+ -1|0;a:do{if((a|0)>=0){a=h+(a<<4)|0;b:while(1){while(1){d=(a-h>>4|0)/2|0;j=c[h+(d<<4)>>2]<<16|c[h+(d<<4)+4>>2];if((j|0)==(b|0)){break b}if(j>>>0>=b>>>0){break}h=h+(d+1<<4)|0;if(h>>>0>a>>>0){break a}}a=d+ -1|0;if((a|0)<0){break a}else{a=h+(a<<4)|0}}c[e>>2]=c[h+(d<<4)+8>>2];c[f>>2]=c[h+(d<<4)+12>>2];i=g;return 0}}while(0);c[e>>2]=0;c[f>>2]=0;i=g;return 0}function wS(a,e){a=a|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;g=i;p=i;i=i+8|0;s=p;u=i;i=i+24|0;f=i;i=i+8|0;q=e+28|0;h=c[q>>2]|0;c[f>>2]=2;t=a+132|0;n=jJ(h,44,f)|0;do{if((c[f>>2]|0)==0){r=e+4|0;C=MK(e,c[r>>2]|0)|0;c[f>>2]=C;if((C|0)!=0){break}l=n+4|0;o=a+460|0;$W(l|0,o|0,16)|0;m=n+20|0;c[m>>2]=c[o+12>>2];k=n+24|0;c[k>>2]=c[o+4>>2];v=c[a+488>>2]|0;do{if((v|0)==0){j=7}else{v=v+24|0;w=c[v>>2]|0;if((w|0)==0){j=7;break}w=pd[c[w>>2]&63](u,c[q>>2]|0,c[e+32>>2]|0,c[e+36>>2]|0)|0;c[f>>2]=w;if((w|0)!=0){break}c[u+8>>2]=n;c[u+12>>2]=91;c[u+16>>2]=t;c[f>>2]=jd[c[(c[v>>2]|0)+8>>2]&511](u)|0;fd[c[(c[v>>2]|0)+4>>2]&511](u);j=7}}while(0);if((j|0)==7){w=c[f>>2]|0}do{if((w|0)==2){v=c[e+32>>2]|0;r=c[r>>2]|0;if(r>>>0<=6){break}if((d[v+1|0]|0)>=4){j=37;break}if((d[v+4|0]<<16|d[v+5|0]<<24|d[v+3|0]<<8|d[v+2|0]|0)!=(r|0)){j=37;break}q=c[q>>2]|0;w=c[e+36>>2]|0;c[p>>2]=0;a:do{if((v+101|0)>>>0>w>>>0){c[p>>2]=2;j=35}else{r=(d[v+100|0]<<8&65535|d[v+99|0])&65535;if((v+(r+135)|0)>>>0>w>>>0){w=0;break}if(((d[v+(r+118)|0]<<8&65535|d[v+(r+117)|0])&65535)<18){w=0;break}r=d[v+(r+133)|0]<<16|d[v+(r+134)|0]<<24|d[v+(r+132)|0]<<8|d[v+(r+131)|0];if((r|0)==0){w=0;break}u=r+2|0;t=v+u|0;if(t>>>0>w>>>0){c[p>>2]=2;j=35;break}y=d[v+(r+1)|0]<<8&65535|d[v+r|0];x=y&65535;r=n+40|0;c[r>>2]=x;if((v+((x<<2)+u)|0)>>>0>w>>>0){c[p>>2]=2;j=35;break}if(y<<16>>16==0){w=0;break}x=oJ(q,16,0,x,0,s)|0;s=n+36|0;c[s>>2]=x;if((c[p>>2]|0)!=0){j=35;break}y=(c[r>>2]<<2)+u|0;w=v+y|0;v=c[a+92>>2]|0;C=c[a+36>>2]|0;b:do{if((C|0)>0){A=c[a+40>>2]|0;z=0;while(1){B=c[A+(z<<2)>>2]|0;z=z+1|0;if((b[B+8>>1]|0)==7){break}if((z|0)>=(C|0)){break b}}C=dK(a,B)|0;c[p>>2]=C;if((C|0)!=0){j=35;break a}}}while(0);if((u|0)<(y|0)){while(1){c[x>>2]=KJ(a,d[t]|0)|0;c[x+4>>2]=KJ(a,d[t+1|0]|0)|0;c[x+8>>2]=(d[t+3|0]<<8&65535|d[t+2|0])<<16>>16;c[x+12>>2]=0;t=t+4|0;if(t>>>0<w>>>0){x=x+16|0}else{break}}}if((v|0)==0){t=c[p>>2]|0}else{t=dK(a,v)|0;c[p>>2]=t}if((t|0)!=0){j=35;break}pb(c[s>>2]|0,c[r>>2]|0,16,200);if((c[p>>2]|0)==0){w=0}else{j=35}}}while(0);if((j|0)==35){w=n+36|0;lJ(q,c[w>>2]|0);c[w>>2]=0;c[n+40>>2]=0;w=c[p>>2]|0}c[f>>2]=w;j=37}else{j=37}}while(0);do{if((j|0)==37){if((w|0)!=0){break}$W(o|0,l|0,16)|0;c[a+52>>2]=c[l>>2]>>16;c[a+56>>2]=c[n+8>>2]>>16;c[a+60>>2]=(c[n+12>>2]|0)+65535>>16;c[a+64>>2]=(c[n+16>>2]|0)+65535>>16;b[a+70>>1]=((c[m>>2]|0)+32768|0)>>>16;b[a+72>>1]=((c[k>>2]|0)+32768|0)>>>16;if((c[n+40>>2]|0)==0){break}C=a+8|0;c[C>>2]=c[C>>2]|64;c[a+492>>2]=n;n=0}}while(0);PK(e)}}while(0);if((n|0)==0){C=f;C=c[C>>2]|0;i=g;return C|0}C=n+36|0;lJ(h,c[C>>2]|0);c[C>>2]=0;c[n+40>>2]=0;C=n+28|0;lJ(h,c[C>>2]|0);c[C>>2]=0;c[n+32>>2]=0;lJ(h,n);C=f;C=c[C>>2]|0;i=g;return C|0}function xS(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,m=0;h=i;k=i;i=i+8|0;j=i;i=i+1504|0;if((f&16|0)!=0){if((e|0)==0){m=0;i=h;return m|0}bX(g|0,0,e<<2|0)|0;m=0;i=h;return m|0}f=Fd[c[c[(c[b+488>>2]|0)+12>>2]>>2]&7](j,b,0,0,c[b+420>>2]|0,c[b+532>>2]|0,0,0,199)|0;if((f|0)!=0){m=f;i=h;return m|0}a[j+70|0]=1;a[j+68|0]=0;c[j+1364>>2]=c[b+404>>2];c[j+1368>>2]=c[b+408>>2];c[j+1372>>2]=c[b+412>>2];c[j+1488>>2]=c[b+548>>2];c[j+1492>>2]=c[b+544>>2];if((e|0)==0){m=0;i=h;return m|0}f=j+4|0;b=j+40|0;m=0;while(1){if((CS(j,m+d|0,k)|0)==0){l=c[(c[(c[f>>2]|0)+128>>2]|0)+52>>2]|0;if((l|0)!=0){hd[c[(c[l>>2]|0)+4>>2]&127](c[l+4>>2]|0,k)}c[g+(m<<2)>>2]=(ZI(c[b>>2]|0)|0)>>16}else{c[g+(m<<2)>>2]=0}m=m+1|0;if(m>>>0>=e>>>0){g=0;break}}i=h;return g|0}function yS(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;e=c[a>>2]|0;f=c[e+552>>2]|0;e=mK(c[(c[e+96>>2]|0)+4>>2]|0,274744)|0;do{if(!((e|0)==0|(f|0)==0)){f=c[f>>2]|0;if((f|0)==0){break}e=jd[f&511](e)|0;_J(c[a>>2]|0,b);if((e|0)==0){i=d;return 0}Cd[c[e+4>>2]&63](c[a+40>>2]|0,c[a+16>>2]|0,c[a+20>>2]|0,0,0)|0;i=d;return 0}}while(0);_J(c[a>>2]|0,b);i=d;return 0}function zS(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;f=i;if(d>>>0>65535){j=0;i=f;return j|0}g=c[e+284>>2]|0;if((g|0)<=0){j=0;i=f;return j|0}e=c[e+288>>2]|0;h=0;a:while(1){j=c[e+(h<<2)>>2]|0;do{if((j|0)!=0){if((a[j]|0)!=(a[b]|0)){break}if((ZW(j|0)|0)!=(d|0)){break}if((vc(j|0,b|0,d|0)|0)==0){d=9;break a}}}while(0);h=h+1|0;if((h|0)>=(g|0)){h=0;d=9;break}}if((d|0)==9){i=f;return h|0}return 0}function AS(a,b){a=a|0;b=b|0;var d=0;d=i;a=c[a>>2]<<16|c[a+4>>2];b=c[b>>2]<<16|c[b+4>>2];if(a>>>0>b>>>0){a=1;i=d;return a|0}a=(a>>>0<b>>>0)<<31>>31;i=d;return a|0}function BS(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;e=i;i=i+8|0;b=CS(a,b,e)|0;if((b|0)!=0){i=d;return b|0}a=c[(c[(c[a+4>>2]|0)+128>>2]|0)+52>>2]|0;if((a|0)==0){i=d;return b|0}hd[c[(c[a>>2]|0)+4>>2]&127](c[a+4>>2]|0,e);i=d;return b|0}function CS(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;j=i;e=i;i=i+16|0;f=e;k=c[a+4>>2]|0;g=c[(c[k+128>>2]|0)+52>>2]|0;$W(a+1376|0,k+436|0,16)|0;m=k+452|0;l=c[m+4>>2]|0;h=a+1392|0;c[h>>2]=c[m>>2];c[h+4>>2]=l;h=(g|0)!=0;do{if(h){k=sd[c[c[g>>2]>>2]&127](c[g+4>>2]|0,b,d)|0;if((k|0)==0){k=c[d+4>>2]|0;d=c[d>>2]|0;break}else{m=k;i=j;return m|0}}else{m=c[(c[k+424>>2]|0)+(b<<2)>>2]|0;c[d>>2]=m;k=c[(c[k+428>>2]|0)+(b<<2)>>2]|0;c[d+4>>2]=k;d=m}}while(0);d=sd[c[a+1484>>2]&127](a,d,k)|0;if((d|0)!=0|h^1){m=d;i=j;return m|0}if((c[(c[g>>2]|0)+8>>2]|0)==0){m=0;i=j;return m|0}n=a+32|0;c[e>>2]=(ZI(c[n>>2]|0)|0)>>16;c[f+4>>2]=0;d=a+40|0;h=f+8|0;c[h>>2]=(ZI(c[d>>2]|0)|0)>>16;l=a+44|0;k=f+12|0;c[k>>2]=(ZI(c[l>>2]|0)|0)>>16;m=pd[c[(c[g>>2]|0)+8>>2]&63](c[g+4>>2]|0,b,0,f)|0;c[n>>2]=c[e>>2]<<16;c[d>>2]=c[h>>2]<<16;c[l>>2]=c[k>>2]<<16;i=j;return m|0}function DS(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;e=i;d=c[b+100>>2]|0;g=b+532|0;f=c[g>>2]|0;if((f|0)==0){i=e;return}h=c[f>>2]|0;b=c[f+4>>2]|0;j=f+24|0;lJ(d,c[j>>2]|0);c[j>>2]=0;if(h>>>0>1){bX(f+28|0,0,(h<<2)+ -4|0)|0}j=f+216|0;lJ(d,c[j>>2]|0);c[j>>2]=0;j=f+148|0;lJ(d,c[j>>2]|0);c[j>>2]=0;j=f+288|0;lJ(d,c[j>>2]|0);c[j>>2]=0;if((h|0)!=0){j=0;do{c[f+212+(j<<2)>>2]=0;c[f+144+(j<<2)>>2]=0;c[f+284+(j<<2)>>2]=0;j=j+1|0;}while(j>>>0<h>>>0)}h=f+136|0;lJ(d,c[h>>2]|0);c[h>>2]=0;c[f+140>>2]=0;h=(b|0)==0;do{if(!h){j=0;do{k=f+8+(j<<2)|0;lJ(d,c[k>>2]|0);c[k>>2]=0;j=j+1|0;}while(j>>>0<b>>>0);if(h){break}else{h=0}do{k=f+88+(h*12|0)+4|0;lJ(d,c[k>>2]|0);c[k>>2]=0;a[f+88+(h*12|0)|0]=0;h=h+1|0;}while(h>>>0<b>>>0)}}while(0);lJ(d,c[g>>2]|0);c[g>>2]=0;i=e;return}function ES(b,e,f,g){b=b|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;j=i;k=i;i=i+8|0;l=k;c[e>>2]=f;m=f+g|0;f=e+8|0;c[f>>2]=m;g=e+12|0;c[g>>2]=0;v=e+28|0;fd[c[v>>2]&511](e);A=c[e>>2]|0;a:do{if(A>>>0<m>>>0){s=e+372|0;t=e+32|0;q=e+36|0;u=b+532|0;r=b+132|0;p=e+68|0;o=e+64|0;x=b+132|0;y=b+164|0;n=b+168|0;w=b+460|0;B=0;z=0;b:while(1){C=a[A]|0;if(C<<24>>24==70){h=14}else if(C<<24>>24==101){D=A+6|0;do{if((D|0)==(m|0)){h=7}else{if(D>>>0>=m>>>0){break}switch(a[A+5|0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:{h=7;break};default:{}}}}while(0);if((h|0)==7){if((vc(A|0,274824,5)|0)==0){break a}}if(C<<24>>24==70){h=14}else if(C<<24>>24==99){h=9}else{h=21}}else if(C<<24>>24==99){h=9}else{h=21}if((h|0)==9){h=0;D=A+10|0;do{if((D|0)==(m|0)){h=12}else{if(D>>>0>=m>>>0){break}switch(a[A+9|0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:{h=12;break};default:{}}}}while(0);if((h|0)==12){if((vc(A|0,274832,9)|0)==0){break a}}if(C<<24>>24==70){h=14}else{h=21}}c:do{if((h|0)==14){h=0;D=A+14|0;if((D|0)!=(m|0)){if(D>>>0>=m>>>0){h=21;break}switch(a[A+13|0]|0){case 37:case 125:case 123:case 93:case 91:case 62:case 60:case 41:case 40:case 47:case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{h=21;break c}}}if((vc(A|0,274848,13)|0)!=0){h=21;break}C=c[s>>2]|0;if((C&1|0)!=0){c[s>>2]=C|2}c[e>>2]=A+13}}while(0);d:do{if((h|0)==21){h=0;if(((C&255)+ -48|0)>>>0<10){fd[c[t>>2]&511](e);if((c[g>>2]|0)==0){B=1;z=A;break}else{break a}}D=(A+6|0)>>>0<m>>>0;do{if(C<<24>>24==82&D){if((a[A+1|0]|0)!=68|B<<24>>24==0){break}c[e>>2]=z;A=c[f>>2]|0;fd[c[v>>2]&511](e);B=c[e>>2]|0;if(B>>>0>=A>>>0){h=29;break b}if(((d[B]|0)+ -48|0)>>>0>=10){h=29;break b}B=jd[c[q>>2]&511](e)|0;fd[c[t>>2]&511](e);C=c[e>>2]|0;if((B|0)<=-1){h=29;break b}if((B|0)>=(A-(C+1)|0)){h=29;break b}c[e>>2]=C+(B+1);if((c[g>>2]|0)==0){B=0;break d}else{A=3;h=73;break b}}}while(0);do{if(C<<24>>24==45&D){if((a[A+1|0]|0)!=124|B<<24>>24==0){break}c[e>>2]=z;A=c[f>>2]|0;fd[c[v>>2]&511](e);B=c[e>>2]|0;if(B>>>0>=A>>>0){h=37;break b}if(((d[B]|0)+ -48|0)>>>0>=10){h=37;break b}C=jd[c[q>>2]&511](e)|0;fd[c[t>>2]&511](e);B=c[e>>2]|0;if((C|0)<=-1){h=37;break b}if((C|0)>=(A-(B+1)|0)){h=37;break b}c[e>>2]=B+(C+1);if((c[g>>2]|0)==0){B=0;break d}else{A=3;h=73;break b}}}while(0);if(!(C<<24>>24==47&(A+2|0)>>>0<m>>>0)){fd[c[t>>2]&511](e);if((c[g>>2]|0)==0){B=0;break}else{break a}}C=A+1|0;c[e>>2]=C;fd[c[t>>2]&511](e);if((c[g>>2]|0)!=0){break a}E=c[e>>2]|0;D=E-C|0;if(!((D+ -1|0)>>>0<21&E>>>0<m>>>0)){B=0;break}B=a[C]|0;E=276576;A=274864;e:while(1){do{if(B<<24>>24==(a[E]|0)){if((D|0)!=(ZW(E|0)|0)){break}if((iX(C|0,E|0,D|0)|0)==0){break e}}}while(0);A=A+36|0;E=c[A>>2]|0;if((E|0)==0){B=0;break d}}B=c[s>>2]|0;if(((B&1)+1&c[A+32>>2]|0)==0){B=0;break}if((B&2|0)!=0){if((Qc(E|0,276560)|0)!=0){B=0;break}}D=c[u>>2]|0;C=c[A+8>>2]|0;do{if((C|0)==10){hdhd[c[S+12>>2]&127](f,j);M=c[B>>2]|0}else{N=c[S+4>>2]|0;if((N|0)==0){N=F}else if((N|0)==2){N=I}else if((N|0)==3){N=H}else if((N|0)==5){N=J}else{N=c[D>>2]|0;if((N|0)<0){k=65;break d}N=(c[s>>2]|0)+(N*252|0)|0}c[x>>2]=N;if((M+ -8|0)>>>0<2){M=Cd[c[L>>2]&63](j,S,y,0,0)|0;break}else{M=Cd[c[G>>2]&63](j,S,y,0,0)|0;break}}}while(0);c[B>>2]=M;if((M|0)!=0){break}M=c[z>>2]|0}if((k|0)==65){c[B>>2]=160;M=160}else if((k|0)==74){U=c[B>>2]|0;c[l>>2]=U;if((U|0)!=0|(g|0)<0){break}z=jJ(w,40,v)|0;x=f+328|0;c[x>>2]=z;if((c[l>>2]|0)!=0){break}y=j+88|0;A=c[y>>2]|0;if((A|0)==0){$W(z|0,c[u>>2]|0,40)|0;c[f+308>>2]=c[t>>2]}else{A=jJ(w,A,v)|0;v=f+324|0;c[v>>2]=A;if((c[l>>2]|0)!=0){break}w=c[y>>2]|0;u=c[u>>2]|0;if((PJ(u,c[t>>2]|0)|0)!=0){break}t=A+w|0;g:do{if((w|0)>0){w=u+4|0;C=p;B=p;z=1;while(1){h:while(1){if(C>>>0>=B>>>0){B=IK(u)|0;U=c[w>>2]|0;C=U-B|0;if((U|0)==(B|0)){break a}if((CK(u,p,C>>>0<256?C:256)|0)!=0){break a}C=p;B=p+((IK(u)|0)-B)|0}F=a[C]|0;if(((F&255)+ -48|0)>>>0<10){k=91;break}E=F+ -97<<24>>24;if((E&255)<6){D=0;break}if((F+ -65<<24>>24&255)<6){k=92;break}switch(F<<24>>24){case 0:case 12:case 10:case 13:case 9:case 32:{break};case 62:{D=1;E=0;break h};default:{break a}}C=C+1|0}if((k|0)==91){k=0;D=0;E=F+ -48<<24>>24}else if((k|0)==92){k=0;D=0;E=F+ -55<<24>>24}if(z<<24>>24==0){a[A]=(a[A]|0)+E<<24>>24;A=A+1|0}else{a[A]=E<<4}if(D<<24>>24!=0){break g}if(A>>>0<t>>>0){C=C+1|0;z=1-z<<24>>24}else{break}}}}while(0);yJ(c[x>>2]|0,c[v>>2]|0,c[y>>2]|0);c[f+308>>2]=0}p=c[r>>2]|0;r=c[x>>2]|0;v=c[o>>2]|0;x=oJ(p,8,0,c[q>>2]|0,0,n)|0;o=f+316|0;c[o>>2]=x;i:do{if((c[m>>2]|0)==0){if((c[q>>2]|0)<=0){A=0;break}u=f+308|0;t=r+32|0;v=v+16|0;z=0;w=0;A=0;while(1){D=c[s>>2]|0;B=c[D+(w*252|0)+4>>2]|0;y=c[D+(w*252|0)+240>>2]|0;C=y+1|0;if(C>>>0>z>>>0){E=y+4&-4;A=oJ(p,4,z,E,A,n)|0;if((c[m>>2]|0)==0){z=E}else{break}}U=PJ(r,(c[D+(w*252|0)+244>>2]|0)+(c[u>>2]|0)|0)|0;c[m>>2]=U;if((U|0)!=0){break}D=D+(w*252|0)+248|0;U=MK(r,da(c[D>>2]|0,C)|0)|0;c[m>>2]=U;if((U|0)!=0){break}E=0;G=c[t>>2]|0;do{F=c[D>>2]&255;if(F<<24>>24==0){I=0}else{J=F;H=G;I=0;while(1){I=d[H]|I<<8;J=J+ -1<<24>>24;if(J<<24>>24==0){break}else{H=H+1|0}}G=G+((F+ -1<<24>>24&255)+1)|0}c[A+(E<<2)>>2]=I;E=E+1|0;}while(E>>>0<=y>>>0);PK(r);E=(c[A+(y<<2)>>2]|0)-(c[A>>2]|0)|0;D=x+4|0;c[D>>2]=oJ(p,4,0,C,0,n)|0;if((c[m>>2]|0)!=0){break}U=jJ(p,E,n)|0;c[c[D>>2]>>2]=U;if((c[m>>2]|0)!=0){break}U=PJ(r,(c[A>>2]|0)+(c[u>>2]|0)|0)|0;c[m>>2]=U;if((U|0)!=0){break}U=CK(r,c[c[D>>2]>>2]|0,E)|0;c[m>>2]=U;if((U|0)!=0){break}do{if((y|0)!=0){C=1;do{T=C+ -1|0;U=c[D>>2]|0;c[U+(C<<2)>>2]=(c[U+(T<<2)>>2]|0)+((c[A+(C<<2)>>2]|0)-(c[A+(T<<2)>>2]|0));C=C+1|0;}while(C>>>0<=y>>>0);if((B|0)<0){break}else{C=0}while(1){B=C+1|0;Gd[c[v>>2]&255](c[(c[D>>2]|0)+(C<<2)>>2]|0,(c[A+(B<<2)>>2]|0)-(c[A+(C<<2)>>2]|0)|0,4330);if(B>>>0<y>>>0){C=B}else{break}}}}while(0);c[x>>2]=y;w=w+1|0;if((w|0)<(c[q>>2]|0)){x=x+8|0}else{break i}}r=c[o>>2]|0;if((r|0)==0){break}if((c[q>>2]|0)>0){n=0;do{r=c[r+(n<<3)+4>>2]|0;if((r|0)==0){r=0}else{lJ(p,c[r>>2]|0);c[c[(c[o>>2]|0)+(n<<3)+4>>2]>>2]=0;r=c[(c[o>>2]|0)+(n<<3)+4>>2]|0}lJ(p,r);c[(c[o>>2]|0)+(n<<3)+4>>2]=0;n=n+1|0;r=c[o>>2]|0}while((n|0)<(c[q>>2]|0))}lJ(p,r);c[o>>2]=0}else{A=0}}while(0);lJ(p,A);c[l>>2]=c[m>>2];break}c[l>>2]=M}else{k=36}}while(0);if((k|0)==36){c[l>>2]=T}m=j+76|0;if((c[m>>2]|0)!=0){NK(c[e>>2]|0,m)}fd[c[j+24>>2]&511](j);j=c[l>>2]|0;if((j|0)!=0|(g|0)<0){U=j;i=h;return U|0}if((g|0)!=0){U=6;i=h;return U|0}g=f+140|0;j=g+24|0;c[f+16>>2]=c[g+156>>2];c[f+36>>2]=0;c[f+4>>2]=0;c[f+8>>2]=(a[g+48|0]|0)==0?2065:2069;n=c[g+36>>2]|0;m=f+20|0;c[m>>2]=n;l=f+24|0;c[l>>2]=277752;j:do{if((n|0)==0){k=c[g>>2]|0;if((k|0)==0){break}c[m>>2]=k}else{e=c[g+32>>2]|0;if((e|0)==0){break}m=a[e]|0;if(m<<24>>24==0){break}k:while(1){while(1){o=a[n]|0;if(m<<24>>24==o<<24>>24){k=137;break}if(m<<24>>24==45|m<<24>>24==32){break}if(o<<24>>24==0){break k}else if(!(o<<24>>24==45|o<<24>>24==32)){break j}if(m<<24>>24==0){break j}else{n=n+1|0}}if((k|0)==137){k=0;n=n+1|0}e=e+1|0;m=a[e]|0;if(m<<24>>24==0){break j}}c[l>>2]=e}}while(0);l=f+12|0;k=(c[g+44>>2]|0)!=0|0;c[l>>2]=k;m=c[g+40>>2]|0;do{if((m|0)!=0){if((Qc(m|0,277760)|0)!=0){if((Qc(m|0,277768)|0)!=0){break}}c[l>>2]=k|2}}while(0);c[f+28>>2]=0;c[f+32>>2]=0;c[f+52>>2]=c[g+56>>2]>>16;l=c[g+60>>2]>>16;c[f+56>>2]=l;c[f+60>>2]=(c[g+64>>2]|0)+65535>>16;k=(c[g+68>>2]|0)+65535>>16;c[f+64>>2]=k;m=f+68|0;e=b[m>>1]|0;if(e<<16>>16==0){b[m>>1]=1e3;e=1e3}U=k&65535;b[f+70>>1]=U;k=l&65535;b[f+72>>1]=k;l=((((e&65535)*12|0)>>>0)/10|0)&65535;k=(U<<16>>16)-(k<<16>>16)|0;b[f+74>>1]=(l<<16>>16|0)<(k|0)?k&65535:l;b[f+80>>1]=b[j+26>>1]|0;b[f+82>>1]=b[g+52>>1]|0;U=0;i=h;return U|0}function gT(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;h=i;if((a|0)==0){i=h;return}g=a+140|0;f=g+24|0;b=c[a+100>>2]|0;d=a+316|0;l=c[d>>2]|0;e=g+160|0;if((l|0)!=0){j=c[e>>2]|0;if((j|0)>0){k=0;do{m=l+(k<<3)+4|0;n=c[m>>2]|0;if((n|0)!=0){lJ(b,c[n>>2]|0);c[c[m>>2]>>2]=0;lJ(b,c[m>>2]|0);c[m>>2]=0;l=c[d>>2]|0;j=c[e>>2]|0}k=k+1|0;}while((k|0)<(j|0))}lJ(b,l);c[d>>2]=0}lJ(b,c[f>>2]|0);c[f>>2]=0;n=g+28|0;lJ(b,c[n>>2]|0);c[n>>2]=0;n=g+32|0;lJ(b,c[n>>2]|0);c[n>>2]=0;n=g+36|0;lJ(b,c[n>>2]|0);c[n>>2]=0;n=g+40|0;lJ(b,c[n>>2]|0);c[n>>2]=0;n=g+164|0;lJ(b,c[n>>2]|0);c[n>>2]=0;c[e>>2]=0;lJ(b,c[g>>2]|0);c[g>>2]=0;n=g+12|0;lJ(b,c[n>>2]|0);c[n>>2]=0;n=g+16|0;lJ(b,c[n>>2]|0);c[n>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;n=a+324|0;lJ(b,c[n>>2]|0);c[n>>2]=0;n=a+328|0;lJ(b,c[n>>2]|0);c[n>>2]=0;i=h;return}function hT(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=i;i=i+8|0;e=c[a>>2]|0;f=c[e+320>>2]|0;e=mK(c[(c[e+96>>2]|0)+4>>2]|0,277728)|0;if((e|0)==0|(f|0)==0){f=0;i=b;return f|0}f=c[f>>2]|0;if((f|0)==0){f=0;i=b;return f|0}e=jd[f&511](e)|0;if((e|0)==0){f=0;i=b;return f|0}f=c[a>>2]|0;e=sd[c[e>>2]&127](c[f+100>>2]|0,(c[f+304>>2]|0)+((c[f+4>>2]|0)*252|0)|0,d)|0;if((e|0)!=0){f=e;i=b;return f|0}c[a+40>>2]=c[d>>2];f=0;i=b;return f|0}function iT(a){a=a|0;var b=0,d=0,e=0;b=i;d=a+40|0;if((c[d>>2]|0)==0){i=b;return}a=c[a>>2]|0;e=c[a+320>>2]|0;a=mK(c[(c[a+96>>2]|0)+4>>2]|0,277728)|0;do{if(!((a|0)==0|(e|0)==0)){e=c[e>>2]|0;if((e|0)==0){break}a=jd[e&511](a)|0;if((a|0)==0){break}fd[c[a+8>>2]&511](c[d>>2]|0)}}while(0);c[d>>2]=0;i=b;return}function jT(a){a=a|0;var b=0,d=0,e=0;b=i;e=c[a+4>>2]|0;d=c[e+320>>2]|0;if((d|0)==0){i=b;return 0}e=mK(c[(c[e+96>>2]|0)+4>>2]|0,277728)|0;if((e|0)==0){i=b;return 0}e=jd[c[d+4>>2]&511](e)|0;c[(c[a+156>>2]|0)+36>>2]=e;i=b;return 0}function kT(a){a=a|0;c[(c[a+156>>2]|0)+36>>2]=0;i=i;return}function lT(d,f,g,h){d=d|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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;j=i;n=i;i=i+1504|0;s=i;i=i+16|0;v=s;l=i;i=i+16|0;k=l;u=i;i=i+8|0;w=u;x=c[d+4>>2]|0;t=c[x+136>>2]|0;if((c[x+16>>2]|0)>>>0<=g>>>0){C=6;i=j;return C|0}h=(h&1024|0)==0?h:h|3;r=d+164|0;c[r>>2]=c[f+16>>2];q=d+168|0;c[q>>2]=c[f+20>>2];m=d+108|0;b[d+110>>1]=0;b[m>>1]=0;z=(h&1|0)==0;if(z){p=(h>>>1&1^1)&255}else{p=0}y=d+72|0;c[y>>2]=1869968492;t=t+12|0;A=Fd[c[c[t>>2]>>2]&7](n,x,f,d,0,0,p,h>>>16&15,201)|0;if((A|0)!=0){C=A;i=j;return C|0}B=h&1024;a[n+69|0]=B>>>10;g=nT(n,g)|0;if((g|0)!=0){C=g;i=j;return C|0}$W(s|0,n+1376|0,16)|0;A=c[n+1392>>2]|0;g=c[n+1396>>2]|0;fd[c[(c[t>>2]|0)+4>>2]&511](n);C=d+124|0;c[C>>2]=c[C>>2]&1|4;if((B|0)!=0){C=c[d+156>>2]|0;c[d+32>>2]=(ZI(c[n+32>>2]|0)|0)>>16;c[d+40>>2]=(ZI(c[n+40>>2]|0)|0)>>16;$W(C+12|0,s|0,16)|0;c[C+28>>2]=A;c[C+32>>2]=g;a[C+8|0]=1;C=0;i=j;return C|0}t=d+24|0;B=n+40|0;s=d+40|0;c[s>>2]=(ZI(c[B>>2]|0)|0)>>16;c[d+56>>2]=(ZI(c[B>>2]|0)|0)>>16;a[(c[d+156>>2]|0)+8|0]=0;B=x+140|0;B=(c[B+68>>2]|0)-(c[B+60>>2]|0)>>16;x=d+52|0;c[x>>2]=B;c[d+60>>2]=B;c[y>>2]=1869968492;if((e[f+14>>1]|0)<24){c[C>>2]=c[C>>2]|256}GJ(m,v);HJ(m,A,g);c[u>>2]=c[s>>2];C=w+4|0;c[C>>2]=0;IJ(w,v);c[s>>2]=(c[u>>2]|0)+A;c[u>>2]=0;c[C>>2]=c[x>>2];IJ(w,v);c[x>>2]=(c[C>>2]|0)+g;if(z){u=c[n+16>>2]|0;f=c[u+4>>2]|0;r=c[r>>2]|0;q=c[q>>2]|0;if(p<<24>>24==0){o=13}else{if((c[n+72>>2]|0)==0){o=13}}do{if((o|0)==13){n=b[u+2>>1]|0;if(n<<16>>16<=0){break}n=n<<16>>16;while(1){c[f>>2]=aJ(c[f>>2]|0,r)|0;C=f+4|0;c[C>>2]=aJ(c[C>>2]|0,q)|0;n=n+ -1|0;if((n|0)>0){f=f+8|0}else{break}}}}while(0);c[s>>2]=aJ(c[s>>2]|0,r)|0;c[x>>2]=aJ(c[x>>2]|0,q)|0}zK(m,k);B=c[l>>2]|0;c[t>>2]=(c[k+8>>2]|0)-B;C=c[k+12>>2]|0;c[d+28>>2]=C-(c[k+4>>2]|0);c[d+32>>2]=B;c[d+36>>2]=C;if((h&16|0)==0){C=0;i=j;return C|0}XJ(t,c[x>>2]|0);C=0;i=j;return C|0}function mT(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;_J(c[a>>2]|0,b);b=c[a>>2]|0;e=c[b+320>>2]|0;b=mK(c[(c[b+96>>2]|0)+4>>2]|0,277728)|0;if((b|0)==0|(e|0)==0){i=d;return 0}e=c[e>>2]|0;if((e|0)==0){i=d;return 0}b=jd[e&511](b)|0;if((b|0)==0){i=d;return 0}Cd[c[b+4>>2]&63](c[a+40>>2]|0,c[a+16>>2]|0,c[a+20>>2]|0,0,0)|0;i=d;return 0}function nT(a,b){a=a|0;b=b|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;e=i;j=i;i=i+8|0;p=j;t=i;i=i+8|0;r=t;h=i;i=i+16|0;f=h;o=c[a+4>>2]|0;n=o+140|0;q=c[o+328>>2]|0;c[j>>2]=0;m=c[o+100>>2]|0;l=c[o+136>>2]|0;k=c[(c[o+128>>2]|0)+52>>2]|0;g=(k|0)!=0;do{if(g){q=k+4|0;s=sd[c[c[k>>2]>>2]&127](c[q>>2]|0,b,r)|0;c[j>>2]=s;if((s|0)!=0){A=s;i=e;return A|0}u=n+148|0;v=c[u>>2]|0;x=v&255;if(x<<24>>24==0){s=0}else{w=c[t>>2]|0;s=0;while(1){s=d[w]|0|s<<8;x=x+ -1<<24>>24;if(x<<24>>24==0){break}else{w=w+1|0}}}w=c[r+4>>2]|0;do{if((w|0)==0){p=0;t=0}else{v=w-v|0;p=jJ(m,v,p)|0;if((c[j>>2]|0)!=0){t=v;break}$W(p|0,(c[t>>2]|0)+(c[u>>2]|0)|0,v|0)|0;t=v}}while(0);hdhd[c[E>>2]&127](t,v);L=(c[D>>2]|0)==3?c[y>>2]|0:L}}while(0);c[y>>2]=L}else{r=30}}while(0);e:do{if((r|0)==30){r=0;if(!(M<<24>>24==47&(L+2|0)>>>0<z>>>0)){fd[c[F>>2]&511](t);M=c[I>>2]|0;if((M|0)==0){break}else{r=52;break c}}L=L+1|0;c[y>>2]=L;fd[c[F>>2]&511](t);M=c[I>>2]|0;if((M|0)!=0){r=52;break c}P=c[y>>2]|0;N=P-L|0;if((N+ -1|0)>>>0<21&P>>>0<z>>>0){O=0}else{break}f:while(1){M=280800+(O*36|0)|0;P=c[M>>2]|0;do{if((P|0)!=0){if((a[L]|0)!=(a[P]|0)){break}if((N|0)!=(ZW(P|0)|0)){break}if((iX(L|0,P|0,N|0)|0)==0){break f}}}while(0);O=O+1|0;if((O|0)>=20){break e}}L=c[280808+(O*36|0)>>2]|0;do{if((O+ -15|0)>>>0<4){hdr=c[q+ -40>>2]|0;if((t|0)>=(r|0)){break}c[q+8>>2]=r;t=r}}while(0);s=q+48|0;if(s>>>0>=o>>>0){q=s;break}if((a[q+60|0]&4)==0){q=s;break}r=c[q+56>>2]|0;if((t|0)<=(r|0)){q=s;break}c[q+8>>2]=r;q=s}else{q=q+48|0}}while(0);if(q>>>0>=o>>>0){l=93;break}}}}while(0);if((l|0)==93){l=0;p=c[f+48+(h*28|0)+8>>2]|0;q=c[f+48+(h*28|0)>>2]|0;o=p+(q*52|0)|0;q=(q|0)>0;do{if((h|0)==0){if(!q){break}do{r=c[p+12>>2]|0;if((r|0)!=0){q=c[p+44>>2]|0;r=r+8|0;s=p+40|0;while(1){s=c[s>>2]|0;c[s+16>>2]=c[r>>2];b[s>>1]=b[s>>1]|64;if((s|0)==(q|0)){break}else{s=s+32|0}}}p=p+52|0;}while(p>>>0<o>>>0)}else{if(!q){break}do{r=c[p+12>>2]|0;if((r|0)!=0){q=c[p+44>>2]|0;r=r+8|0;s=p+40|0;while(1){s=c[s>>2]|0;c[s+20>>2]=c[r>>2];b[s>>1]=b[s>>1]|128;if((s|0)==(q|0)){break}else{s=s+32|0}}}p=p+52|0;}while(p>>>0<o>>>0)}}while(0);zU(f,h);AU(f,h)}h=h+1|0;if((h|0)>=2){break}}D=c[f+28>>2]|0;l=c[f+32>>2]|0;f=l+(D*40|0)|0;if((D|0)<=0){D=0;i=j;return D|0}k=c[g+8>>2]|0;g=c[g+4>>2]|0;while(1){c[g>>2]=c[l+16>>2];c[g+4>>2]=c[l+20>>2];h=e[l>>1]|0;do{if((h&1|0)==0){if((h&2|0)==0){a[k]=1;break}else{a[k]=2;break}}else{a[k]=0}}while(0);l=l+40|0;if(l>>>0<f>>>0){k=k+1|0;g=g+8|0}else{g=0;break}}i=j;return g|0}function jU(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;g=i;h=i;i=i+8|0;j=h;k=d+92|0;f=c[k>>2]|0;c[b+36>>2]=e[d+68>>1]|0;if((cK(d,1970170211)|0)!=0){c[k>>2]=0;dK(d,f)|0;i=g;return 0}GU(b,d,3e4);k=48;m=0;l=0;a:while(1){n=KJ(d,k)|0;do{if((n|0)!=0){if((WI(d,n,2051,j)|0)!=0){break}n=c[h>>2]|0;if(l<<24>>24==0){m=n;l=1;break}if((n|0)!=(m|0)){h=0;break a}}}while(0);k=k+1|0;if(k>>>0>=58){h=1;break}}a[b+32|0]=h;dK(d,f)|0;i=g;return 0}function kU(a,b){a=a|0;b=b|0;var d=0;d=i;$W(a+4|0,b|0,28)|0;c[a+40>>2]=c[b+4>>2];c[a+44>>2]=c[b+12>>2];c[a+436>>2]=c[b+8>>2];c[a+440>>2]=c[b+16>>2];i=d;return}function lU(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;c[a+112>>2]=b;d=c[b+28>>2]|0;e=a+104|0;c[e>>2]=d;c[a+4>>2]=c[b+40>>2];c[a+8>>2]=c[b+44>>2];c[a+12>>2]=c[b+436>>2];c[a+16>>2]=c[b+440>>2];f=c[b+24>>2]|0;b=(f|0)==2;g=(f&-2|0)==2|0;g=b|(f|0)==4?g|2:g;f=(f|0)==1?g:g|4;c[e>>2]=d|4;c[a+108>>2]=b?f|8:f;i=i;return 0}function mU(d,f,g){d=d|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;g=i;j=xU(d,f)|0;if((j|0)!=0){A=j;i=g;return A|0}j=d+104|0;k=c[j>>2]|0;do{if((k&1|0)==0){k=yU(d,0)|0;if((k|0)==0){k=c[j>>2]|0;break}else{A=k;i=g;return A|0}}}while(0);do{if((k&2|0)==0){k=yU(d,1)|0;if((k|0)==0){break}i=g;return k|0}}while(0);k=d+108|0;l=d+112|0;m=0;a:while(1){do{if((m|0)==0){if((c[j>>2]&1|0)==0){h=12;break}m=m+1|0;continue a}else if((m|0)==1){if((c[j>>2]&2|0)==0){h=12}else{break a}}}while(0);if((h|0)==12){h=0;p=d+48+(m*28|0)+20|0;q=c[p>>2]|0;o=d+48+(m*28|0)+12|0;n=c[o>>2]|0;r=q+(n*48|0)|0;s=(n|0)>0;if(s){u=(m|0)!=1;w=0;x=0;v=q;t=0;do{z=v+12|0;A=a[z]|0;do{if((A&4)==0){y=c[v+24>>2]|0;if((y|0)==0){t=t+1|0;break}if(y>>>0<v>>>0){B=c[y+8>>2]|0;c[v+8>>2]=(DU(c[k>>2]|0,c[l>>2]|0,m,(c[v+4>>2]|0)-(c[y+4>>2]|0)|0)|0)+B;a[z]=A|4;break}if(u&(w|0)==0){x=CU(d,v,y,0,0)|0}else{CU(d,v,y,x,m)|0}a[z]=a[z]|4;w=y+12|0;a[w]=a[w]|4;w=v}}while(0);v=v+48|0;}while(v>>>0<r>>>0)}else{t=0}v=n*48|0;n=(m|0)==0;do{if(n){u=(v|0)==576;if((v|0)==288){A=q;z=q+96|0;w=q+192|0}else if((v|0)==576){A=q+48|0;z=q+240|0;w=q+432|0}else{break}y=c[z+4>>2]|0;y=y-(c[w+4>>2]|0)+(y-(c[A+4>>2]|0))|0;if((c[A+24>>2]|0)!=(A+48|0)){break}if((c[z+24>>2]|0)!=(z+48|0)){break}v=w+24|0;x=c[v>>2]|0;if(!((x|0)==(w+48|0)&(((y|0)<0?0-y|0:y)|0)<8)){break}B=w+8|0;A=(c[z+8>>2]<<1)-(c[A+8>>2]|0)|0;y=(c[B>>2]|0)-A|0;c[B>>2]=A;if((x|0)!=0){B=x+8|0;c[B>>2]=(c[B>>2]|0)-y}if(u){B=q+392|0;c[B>>2]=(c[B>>2]|0)-y;B=q+536|0;c[B>>2]=(c[B>>2]|0)-y}u=w+12|0;a[u]=a[u]|4;u=c[v>>2]|0;if((u|0)==0){break}B=u+12|0;a[B]=a[B]|4}}while(0);do{if(!((t|0)==0|s^1)){s=q;do{w=s+12|0;v=a[w]|0;do{if((v&4)==0){u=c[s+28>>2]|0;if((u|0)==0){break}c[s+8>>2]=(c[u+8>>2]|0)-(c[u+4>>2]|0)+(c[s+4>>2]|0);a[w]=v|4;t=t+ -1|0}}while(0);s=s+48|0;}while(s>>>0<r>>>0);if((t|0)==0){break}else{t=q}do{do{if((a[t+12|0]&4)==0){u=t;while(1){v=u+ -48|0;if(v>>>0<q>>>0){w=1;y=0;break}if((a[u+ -36|0]&4)==0){u=v}else{w=0;y=1;break}}s=t;while(1){x=s+48|0;if(x>>>0>=r>>>0){h=49;break}if((a[s+60|0]&4)==0){s=x}else{y=1;break}}if((h|0)==49){h=0;if(y){y=0}else{break}}if(w){c[t+8>>2]=(c[s+56>>2]|0)-(c[s+52>>2]|0)+(c[t+4>>2]|0);break}if(!y){c[t+8>>2]=(c[u+ -40>>2]|0)-(c[u+ -44>>2]|0)+(c[t+4>>2]|0);break}w=b[x>>1]|0;B=b[v>>1]|0;v=B<<16>>16;u=c[u+ -40>>2]|0;if(w<<16>>16==B<<16>>16){c[t+8>>2]=u;break}else{c[t+8>>2]=(_I((b[t>>1]|0)-v|0,(c[s+56>>2]|0)-u|0,(w<<16>>16)-v|0)|0)+u;break}}}while(0);t=t+48|0;}while(t>>>0<r>>>0)}}while(0);r=c[p>>2]|0;q=c[o>>2]|0;o=r+(q*48|0)|0;do{if(n){p=c[k>>2]&1}else{if((m|0)!=1){p=0;break}p=(c[k>>2]|0)>>>1&1}}while(0);if((q|0)>0){p=p<<24>>24==0;do{q=r+40|0;t=c[q>>2]|0;s=r+8|0;if(p){s=(c[s>>2]|0)-(c[r+4>>2]|0)|0;do{v=t+40|0;u=t+44|0;if(n){while(1){v=c[v>>2]|0;B=v+16|0;c[B>>2]=(c[B>>2]|0)+s;b[v>>1]=b[v>>1]|64;if((v|0)==(c[u>>2]|0)){break}else{v=v+32|0}}}else{while(1){v=c[v>>2]|0;B=v+20|0;c[B>>2]=(c[B>>2]|0)+s;b[v>>1]=b[v>>1]|128;if((v|0)==(c[u>>2]|0)){break}else{v=v+32|0}}}t=c[t+16>>2]|0;}while((t|0)!=(c[q>>2]|0))}else{do{v=t+40|0;u=t+44|0;if(n){while(1){v=c[v>>2]|0;c[v+16>>2]=c[s>>2];b[v>>1]=b[v>>1]|64;if((v|0)==(c[u>>2]|0)){break}else{v=v+32|0}}}else{while(1){v=c[v>>2]|0;c[v+20>>2]=c[s>>2];b[v>>1]=b[v>>1]|128;if((v|0)==(c[u>>2]|0)){break}else{v=v+32|0}}}t=c[t+16>>2]|0;}while((t|0)!=(c[q>>2]|0))}r=r+48|0;}while(r>>>0<o>>>0)}zU(d,m);AU(d,m)}m=m+1|0;if((m|0)>=2){break}}B=c[d+28>>2]|0;j=c[d+32>>2]|0;d=j+(B*40|0)|0;if((B|0)<=0){B=0;i=g;return B|0}h=c[f+8>>2]|0;f=c[f+4>>2]|0;while(1){c[f>>2]=c[j+16>>2];c[f+4>>2]=c[j+20>>2];k=e[j>>1]|0;do{if((k&1|0)==0){if((k&2|0)==0){a[h]=1;break}else{a[h]=2;break}}else{a[h]=0}}while(0);j=j+40|0;if(j>>>0<d>>>0){h=h+1|0;f=f+8|0}else{k=0;break}}i=g;return k|0}function nU(a,b){a=a|0;b=b|0;var c=0;c=i;jU(a,b)|0;i=c;return 0}function oU(a,b){a=a|0;b=b|0;var d=0;d=i;$W(a+4|0,b|0,28)|0;c[a+40>>2]=c[b+4>>2];c[a+44>>2]=c[b+12>>2];c[a+436>>2]=c[b+8>>2];c[a+440>>2]=c[b+16>>2];i=d;return}function pU(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;c[a+112>>2]=b;d=c[b+28>>2]|0;e=a+104|0;c[e>>2]=d;c[a+4>>2]=c[b+40>>2];c[a+8>>2]=c[b+44>>2];c[a+12>>2]=c[b+436>>2];c[a+16>>2]=c[b+440>>2];f=c[b+24>>2]|0;b=(f|0)==2;g=(f&-2|0)==2|0;g=b|(f|0)==4?g|2:g;f=(f|0)==1?g:g|4;c[e>>2]=d|4;c[a+108>>2]=b?f|8:f;i=i;return 0}function qU(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;a=mU(a,b,c)|0;i=d;return a|0}function rU(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,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;e=i;l=i;i=i+8|0;m=l;t=i;i=i+8|0;s=t;q=i;i=i+8|0;k=i;i=i+32|0;h=k;j=b+20|0;d=c[d+4>>2]|0;n=c[d+88>>2]|0;if((n|0)==0){z=6;i=e;return z|0}bX(k|0,0,28)|0;c[k>>2]=d;c[h+4>>2]=c[n+16>>2];c[h+12>>2]=0;c[h+8>>2]=c[n+20>>2];c[h+16>>2]=0;c[h+20>>2]=g>>>16&15;c[h+24>>2]=0;c[j>>2]=d;n=d+116|0;o=b+24|0;c[o>>2]=c[n>>2];kJ(c[b+28>>2]|0);p=c[o>>2]|0;if((p|0)==0){r=d+16|0;p=jJ(c[d+100>>2]|0,(c[r>>2]|0)+28|0,q)|0;q=c[q>>2]|0;if((q|0)!=0){c[o>>2]=p;z=q;i=e;return z|0}c[p>>2]=d;z=c[r>>2]|0;r=p+4|0;c[r>>2]=z;y=p+28|0;c[p+8>>2]=y;q=c[d+92>>2]|0;bX(y|0,127,z|0)|0;if((cK(d,1970170211)|0)==0){v=0;while(1){w=c[(c[283296+(v<<2)>>2]|0)+4>>2]|0;do{if((w|0)!=0){y=c[w>>2]|0;if((y|0)==0){break}u=v&255;do{x=KJ(d,y)|0;c[t>>2]=x;do{if((x|0)!=0){if(x>>>0>=(c[r>>2]|0)>>>0){break}x=p+(x+28)|0;if((a[x]|0)!=127){break}a[x]=u}}while(0);x=w+4|0;z=fK(d,y,s)|0;y=c[t>>2]|0;a:do{if((y|0)!=0){do{if(z>>>0>(c[x>>2]|0)>>>0){break a}do{if(y>>>0<(c[r>>2]|0)>>>0){y=p+(y+28)|0;if((a[y]|0)!=127){break}a[y]=u}}while(0);z=fK(d,z,s)|0;y=c[t>>2]|0;}while((y|0)!=0)}}while(0);w=w+8|0;y=c[w>>2]|0;}while((y|0)!=0)}}while(0);v=v+1|0;if((v|0)==4){t=48;break}}do{s=KJ(d,t)|0;do{if((s|0)!=0){if(s>>>0>=(c[r>>2]|0)>>>0){break}z=p+(s+28)|0;a[z]=a[z]|-128}}while(0);t=t+1|0;}while(t>>>0<58)}t=c[r>>2]|0;if((t|0)>0){s=0;do{u=p+(s+28)|0;v=a[u]|0;if((v&127)==127){a[u]=v&-128|2;t=c[r>>2]|0}s=s+1|0;}while((s|0)<(t|0))}dK(d,q)|0;c[o>>2]=p;c[n>>2]=p;c[d+120>>2]=341;o=c[o>>2]|0}else{o=p}c[l>>2]=0;if((c[o+4>>2]|0)>>>0<=f>>>0){c[l>>2]=6;z=6;i=e;return z|0}n=c[283296+((a[(c[o+8>>2]|0)+f|0]&127)<<2)>>2]|0;d=c[o+12+(c[n>>2]<<2)>>2]|0;b:do{if((d|0)==0){d=c[(c[o>>2]|0)+100>>2]|0;m=jJ(d,c[n+8>>2]|0,m)|0;p=c[l>>2]|0;if((p|0)!=0){z=p;i=e;return z|0}c[m>>2]=n;p=c[n+12>>2]|0;do{if((p|0)!=0){z=Bd[p&255](m,c[o>>2]|0)|0;c[l>>2]=z;if((z|0)==0){break}n=c[n+20>>2]|0;if((n|0)!=0){fd[n&511](m)}lJ(d,m);m=0;break b}}while(0);c[o+12+(c[n>>2]<<2)>>2]=m}else{m=d}}while(0);l=c[l>>2]|0;if((l|0)!=0){z=l;i=e;return z|0}c[b+156>>2]=m;d=c[m>>2]|0;l=c[d+16>>2]|0;if((l|0)==0){$W(m+4|0,k|0,28)|0}else{hdhd0;c[Q+(R<<3)>>2]=A>>16;c[Q+(R<<3)+4>>2]=z>>16;a[B]=1;B=S}b[B>>1]=(b[B>>1]|0)+1<<16>>16;E=l;break};case 39:{c[B+(1-C<<2)>>2]=c[D>>2];E=B+(2-C<<2)|0;break};case 40:{B=c[B+(1-C<<2)>>2]>>16;if(B>>>0>=32){E=D;break e}c[(c[k>>2]|0)+760+(B<<2)>>2]=c[D>>2];E=D;break};case 41:{E=c[D>>2]>>16;if(E>>>0<32){E=c[(c[k>>2]|0)+760+(E<<2)>>2]|0}else{E=0}c[D>>2]=E;E=B+(1-C<<2)|0;break};case 53:{E=l;break};case 52:{z=c[k>>2]|0;c[z+744>>2]=(c[B+(1-C<<2)>>2]>>16)+(c[z+748>>2]|0);c[(c[k>>2]|0)+32>>2]=c[D>>2];c[(c[k>>2]|0)+36>>2]=0;z=c[k>>2]|0;E=l;A=(c[D>>2]|0)+(c[z+24>>2]|0)|0;z=c[z+28>>2]|0;break};case 57:{S=c[k>>2]|0;c[S+744>>2]=(c[B+(2-C<<2)>>2]>>16)+(c[S+748>>2]|0);c[(c[k>>2]|0)+32>>2]=c[D>>2];S=B+(1-C<<2)|0;c[(c[k>>2]|0)+36>>2]=c[S>>2];z=c[k>>2]|0;E=l;A=(c[D>>2]|0)+(c[z+24>>2]|0)|0;z=(c[S>>2]|0)+(c[z+28>>2]|0)|0;break};case 58:{z=c[k>>2]|0;E=l;A=(c[D>>2]|0)+(c[z+24>>2]|0)|0;z=(c[B+(1-C<<2)>>2]|0)+(c[z+28>>2]|0)|0;break};case 54:{E=-2-C|0;E=B+(E-(c[B+(E<<2)>>2]>>16)<<2)|0;if(E>>>0<l>>>0){e=129;y=398;break a}break};case 55:{E=B+(1-C<<2)|0;break};case 50:{B=c[k>>2]|0;x=(c[B+900>>2]|0)+(c[D>>2]>>16)|0;if(x>>>0>=(c[B+892>>2]|0)>>>0){e=3;y=398;break a}if((w-(B+280)|0)>372){e=3;y=398;break a}c[w+8>>2]=f;B=w+12|0;S=c[(c[(c[k>>2]|0)+908>>2]|0)+(x<<2)>>2]|0;c[B>>2]=S;R=c[(c[(c[k>>2]|0)+908>>2]|0)+(x+1<<2)>>2]|0;x=w+16|0;c[x>>2]=R;c[w+20>>2]=S;if((S|0)==0|(R|0)==(S|0)){e=3;y=398;break a}c[(c[k>>2]|0)+676>>2]=B;E=D;f=c[B>>2]|0;x=c[x>>2]|0;w=B;break};case 48:{E=B+(1-C<<2)|0;if((c[B+(2-C<<2)>>2]|0)<=(c[B+(3-C<<2)>>2]|0)){break e}c[D>>2]=c[E>>2];break};case 49:{B=c[k>>2]|0;x=(c[B+896>>2]|0)+(c[D>>2]>>16)|0;if(x>>>0>=(c[B+888>>2]|0)>>>0){e=3;y=398;break a}if((w-(B+280)|0)>372){e=3;y=398;break a}c[w+8>>2]=f;B=w+12|0;S=c[(c[(c[k>>2]|0)+904>>2]|0)+(x<<2)>>2]|0;c[B>>2]=S;R=c[(c[(c[k>>2]|0)+904>>2]|0)+(x+1<<2)>>2]|0;x=w+16|0;c[x>>2]=R;c[w+20>>2]=S;if((S|0)==0|(R|0)==(S|0)){e=3;y=398;break a}c[(c[k>>2]|0)+676>>2]=B;E=D;f=c[B>>2]|0;x=c[x>>2]|0;w=B;break};case 51:{S=c[k>>2]|0;x=S+676|0;w=c[x>>2]|0;if(w>>>0<=(S+280|0)>>>0){e=3;y=398;break a}c[x>>2]=w+ -12;w=c[(c[k>>2]|0)+676>>2]|0;E=D;f=c[w+8>>2]|0;x=c[w+4>>2]|0;break};case 25:case 35:{E=D;break};default:{e=7;y=398;break a}}}while(0);c[(c[k>>2]|0)+276>>2]=E;if(((c[(c[k>>2]|0)+276>>2]|0)-l|0)>188){e=130;y=398;break}}if((y|0)==330){S=OV(c[k>>2]|0,c[D>>2]|0,c[B+(1-C<<2)>>2]|0,c[B+(2-C<<2)>>2]|0,c[B+(3-C<<2)>>2]>>16,c[B+(4-C<<2)>>2]>>16)|0;sJ(c[u>>2]|0);i=h;return S|0}else if((y|0)==331){if((G|0)>3){S=c[k>>2]|0;R=c[S+744>>2]|0;S=OV(S,0,c[B+(-4-C<<2)>>2]|0,c[B+(-3-C<<2)>>2]|0,c[B+(-2-C<<2)>>2]>>16,c[B+(((F|-16)^15)<<2)>>2]>>16)|0;c[(c[k>>2]|0)+744>>2]=R;i=h;return S|0}MV(c[s>>2]|0);do{if(g){if((Bd[c[n+8>>2]&255](c[o>>2]|0,b[(c[s>>2]|0)+2>>1]|0)|0)==0){pd[c[n+24>>2]&63](c[o>>2]|0,c[s>>2]|0,c[e+72>>2]|0,c[(c[k>>2]|0)+920>>2]|0)|0;break}else{S=3;i=h;return S|0}}}while(0);sJ(c[u>>2]|0);S=0;i=h;return S|0}else if((y|0)==398){i=h;return e|0}return 0}function MV(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;if((d|0)==0){i=e;return}f=b[d>>1]|0;if(f<<16>>16<2){g=0}else{g=(b[(c[d+12>>2]|0)+((f<<16>>16)+ -2<<1)>>1]|0)+1|0}h=d+2|0;j=b[h>>1]|0;do{if(j<<16>>16>1){l=c[d+4>>2]|0;k=(j<<16>>16)+ -1|0;if((c[l+(g<<3)>>2]|0)!=(c[l+(k<<3)>>2]|0)){break}if((c[l+(g<<3)+4>>2]|0)!=(c[l+(k<<3)+4>>2]|0)){break}if((a[(c[d+8>>2]|0)+k|0]|0)!=1){break}j=j+ -1<<16>>16;b[h>>1]=j}}while(0);if(f<<16>>16<=0){i=e;return}k=(j<<16>>16)+ -1|0;if((g|0)==(k|0)){b[d>>1]=f+ -1<<16>>16;b[h>>1]=j+ -1<<16>>16;i=e;return}else{b[(c[d+12>>2]|0)+((f<<16>>16)+ -1<<1)>>1]=k;i=e;return}}function NV(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;g=i;h=d+64|0;if((a[h]|0)!=0){l=0;i=g;return l|0}a[h]=1;j=d+20|0;k=c[j>>2]|0;h=d+65|0;if((a[h]|0)==0){b[k>>1]=(b[k>>1]|0)+1<<16>>16;d=d+12|0}else{d=d+12|0;l=c[d>>2]|0;do{if(((b[l+20>>1]|0)+1+(b[l+56>>1]|0)|0)>>>0>(c[l+8>>2]|0)>>>0){l=pJ(l,0,1)|0;if((l|0)==0){break}i=g;return l|0}}while(0);l=b[k>>1]|0;if(l<<16>>16>0){b[(c[k+12>>2]|0)+((l<<16>>16)+ -1<<1)>>1]=(b[k+2>>1]|0)+ -1<<16>>16;l=b[k>>1]|0}b[k>>1]=l+1<<16>>16}k=c[d>>2]|0;do{if(((b[k+22>>1]|0)+1+(b[k+58>>1]|0)|0)>>>0>(c[k+4>>2]|0)>>>0){l=pJ(k,1,0)|0;if((l|0)==0){break}i=g;return l|0}}while(0);j=c[j>>2]|0;if((a[h]|0)==0){e=j+2|0}else{h=c[j+4>>2]|0;l=j+2|0;k=b[l>>1]|0;d=(c[j+8>>2]|0)+k|0;c[h+(k<<3)>>2]=e>>16;c[h+(k<<3)+4>>2]=f>>16;a[d]=1;e=l}b[e>>1]=(b[e>>1]|0)+1<<16>>16;l=0;i=g;return l|0}function OV(d,e,f,g,h,j){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,C=0,D=0,E=0,F=0,G=0,H=0;k=i;n=i;i=i+8|0;p=n;t=i;i=i+8|0;v=t;y=i;i=i+8|0;z=y;B=i;i=i+8|0;A=B;o=i;i=i+8|0;m=o;s=i;i=i+8|0;u=s;q=c[d+4>>2]|0;r=d+924|0;if((a[r]|0)!=0){H=160;i=k;return H|0}l=d+32|0;f=(c[l>>2]|0)+f|0;x=d+36|0;w=(c[x>>2]|0)+g|0;g=q+128|0;a:do{if((c[(c[g>>2]|0)+52>>2]|0)==0){D=c[q+692>>2]|0;C=c[D+1160>>2]|0;E=(C|0)==0;b:do{if(E|h>>>0>255){h=-1}else{if(h>>>0<256){F=b[287224+(h<<1)>>1]|0}else{F=0}H=c[D+12>>2]|0;if((H|0)==0){h=-1;break}else{h=0}while(1){G=h+1|0;if((b[C+(h<<1)>>1]|0)==F<<16>>16){break b}if(G>>>0<H>>>0){h=G}else{h=-1;break}}}}while(0);if(E|j>>>0>255){H=160;i=k;return H|0}if(j>>>0<256){E=b[287224+(j<<1)>>1]|0}else{E=0}F=c[D+12>>2]|0;if((F|0)==0){H=160;i=k;return H|0}else{j=0}while(1){D=j+1|0;if((b[C+(j<<1)>>1]|0)==E<<16>>16){break a}if(D>>>0<F>>>0){j=D}else{A=160;break}}i=k;return A|0}}while(0);if((h|j|0)<0){H=160;i=k;return H|0}do{if((a[d+66|0]|0)!=0){D=c[d+8>>2]|0;C=c[c[D+156>>2]>>2]|0;E=qJ(C,2)|0;if((E|0)==0){H=c[C+88>>2]|0;c[H>>2]=h;b[H+4>>1]=514;c[H+8>>2]=0;c[H+12>>2]=0;c[H+32>>2]=j;b[H+36>>1]=2;c[H+40>>2]=f>>16;c[H+44>>2]=w>>16;c[D+128>>2]=2;c[D+132>>2]=c[C+52>>2];c[D+72>>2]=1668246896;c[C+84>>2]=2;break}else{H=E;i=k;return H|0}}}while(0);rJ(c[d+12>>2]|0);C=c[(c[g>>2]|0)+52>>2]|0;if((C|0)==0){A=AV((c[q+692>>2]|0)+1176|0,h,m,u)|0}else{H=sd[c[c[C>>2]>>2]&127](c[C+4>>2]|0,h,A)|0;c[o>>2]=c[B>>2];c[s>>2]=c[A+4>>2];A=H}do{if((A|0)==0){a[r]=1;C=c[s>>2]|0;A=LV(d,c[o>>2]|0,C)|0;a[r]=0;B=(c[g>>2]|0)+52|0;do{if((c[B>>2]|0)==0){y=c[q+692>>2]|0;if((c[y+1204>>2]|0)!=0){break}NK(c[y+1176>>2]|0,m)}else{c[y>>2]=c[o>>2];c[z+4>>2]=C;H=c[B>>2]|0;hd[c[(c[H>>2]|0)+4>>2]&127](c[H+4>>2]|0,z)}}while(0);if((A|0)==0){break}i=k;return A|0}}while(0);A=l;y=c[A>>2]|0;A=c[A+4>>2]|0;h=d+40|0;C=h;B=c[C>>2]|0;C=c[C+4>>2]|0;z=d+744|0;D=c[z>>2]|0;c[l>>2]=0;c[x>>2]=0;x=d+24|0;c[x>>2]=f-e;e=d+28|0;c[e>>2]=w;f=c[(c[g>>2]|0)+52>>2]|0;if((f|0)==0){t=AV((c[q+692>>2]|0)+1176|0,j,m,u)|0}else{H=sd[c[c[f>>2]>>2]&127](c[f+4>>2]|0,j,v)|0;c[o>>2]=c[t>>2];c[s>>2]=c[v+4>>2];t=H}do{if((t|0)==0){a[r]=1;s=c[s>>2]|0;d=LV(d,c[o>>2]|0,s)|0;a[r]=0;r=(c[g>>2]|0)+52|0;do{if((c[r>>2]|0)==0){n=c[q+692>>2]|0;if((c[n+1204>>2]|0)!=0){break}NK(c[n+1176>>2]|0,m)}else{c[n>>2]=c[o>>2];c[p+4>>2]=s;H=c[r>>2]|0;hd>0>=(c[291304>>2]|0)>>>0){g=j;f=a;break}tc()}}while(0);c[f>>2]=e;c[g+12>>2]=e;c[e+8>>2]=g;c[e+12>>2]=h;i=d;return}f=n>>>8;do{if((f|0)==0){f=0}else{if(n>>>0>16777215){f=31;break}u=(f+1048320|0)>>>16&8;v=f<<u;t=(v+520192|0)>>>16&4;v=v<<t;f=(v+245760|0)>>>16&2;f=14-(t|u|f)+(v<<f>>>15)|0;f=n>>>(f+7|0)&1|f<<1}}while(0);g=291592+(f<<2)|0;c[e+28>>2]=f;c[e+20>>2]=0;c[e+16>>2]=0;j=c[291292>>2]|0;h=1<<f;if((j&h|0)==0){c[291292>>2]=j|h;c[g>>2]=e;c[e+24>>2]=g;c[e+12>>2]=e;c[e+8>>2]=e;i=d;return}h=c[g>>2]|0;if((f|0)==31){f=0}else{f=25-(f>>>1)|0}c:do{if((c[h+4>>2]&-8|0)!=(n|0)){f=n<<f;j=h;while(1){g=j+16+(f>>>31<<2)|0;h=c[g>>2]|0;if((h|0)==0){break}if((c[h+4>>2]&-8|0)==(n|0)){break c}else{f=f<<1;j=h}}if(g>>>0<(c[291304>>2]|0)>>>0){tc()}c[g>>2]=e;c[e+24>>2]=j;c[e+12>>2]=e;c[e+8>>2]=e;i=d;return}}while(0);f=h+8|0;j=c[f>>2]|0;g=c[291304>>2]|0;if(h>>>0<g>>>0){tc()}if(j>>>0<g>>>0){tc()}c[j+12>>2]=e;c[f>>2]=e;c[e+8>>2]=j;c[e+12>>2]=h;c[e+24>>2]=0;i=d;return}function FW(a){a=a|0;var b=0,d=0,e=0;b=i;a=(a|0)==0?1:a;while(1){d=AW(a)|0;if((d|0)!=0){a=6;break}e=291784;d=c[e>>2]|0;c[e>>2]=0+d;if((d|0)==0){a=5;break}Hd[d&1]()}if((a|0)==5){e=cc(4)|0;c[e>>2]=291800;uc(e|0,291848,327)}else if((a|0)==6){i=b;return d|0}return 0}function GW(a){a=a|0;var b=0;b=i;a=FW(a)|0;i=b;return a|0}function HW(a){a=a|0;var b=0;b=i;if((a|0)!=0){BW(a)}i=b;return}function IW(a){a=a|0;var b=0;b=i;HW(a);i=b;return}function JW(a){a=a|0;var b=0;b=i;lb(a|0);HW(a);i=b;return}function KW(a){a=a|0;var b=0;b=i;lb(a|0);i=b;return}function LW(a){a=a|0;i=i;return 291816}
7337 =0;c=a[n+(b>>>24)|0]|0;if((c|0)<8)return c|0;c=a[n+(b>>16&255)|0]|0;if((c|0)<8)return c+8|0;c=a[n+(b>>8&255)|0]|0;if((c|0)<8)return c+16|0;return(a[n+(b&255)|0]|0)+24|0}function mX(b){b=b|0;var c=0;c=a[m+(b&255)|0]|0;if((c|0)<8)return c|0;c=a[m+(b>>8&255)|0]|0;if((c|0)<8)return c+8|0;c=a[m+(b>>16&255)|0]|0;if((c|0)<8)return c+16|0;return(a[m+(b>>>24)|0]|0)+24|0}function nX(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=a&65535;d=b&65535;c=da(d,f)|0;e=a>>>16;d=(c>>>16)+(da(d,e)|0)|0;b=b>>>16;a=da(b,f)|0;return(H=(d>>>16)+(da(b,e)|0)+(((d&65535)+a|0)>>>16)|0,d+a<<16|c&65535|0)|0}function oX(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;e=b>>31|((b|0)<0?-1:0)<<1;f=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;g=d>>31|((d|0)<0?-1:0)<<1;h=((d|0)<0?-1:0)>>31|((d|0)<0?-1:0)<<1;a=fX(e^a,f^b,e,f)|0;b=H;e=g^e;f=h^f;g=fX((tX(a,b,fX(g^c,h^d,g,h)|0,H,0)|0)^e,H^f,e,f)|0;return(H=H,g)|0}function pX(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;i=i+8|0;f=g|0;h=b>>31|((b|0)<0?-1:0)<<1;j=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;k=e>>31|((e|0)<0?-1:0)<<1;l=((e|0)<0?-1:0)>>31|((e|0)<0?-1:0)<<1;a=fX(h^a,j^b,h,j)|0;b=H;tX(a,b,fX(k^d,l^e,k,l)|0,H,f)|0;k=fX(c[f>>2]^h,c[f+4>>2]^j,h,j)|0;j=H;i=g;return(H=j,k)|0}function qX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;f=c;a=nX(e,f)|0;c=H;return(H=(da(b,f)|0)+(da(d,e)|0)+c|c&0,a|0|0)|0}function rX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=tX(a,b,c,d,0)|0;return(H=H,a)|0}function sX(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+8|0;f=g|0;tX(a,b,d,e,f)|0;i=g;return(H=c[f+4>>2]|0,c[f>>2]|0)|0}function tX(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,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;h=a;j=b;i=j;k=d;g=e;l=g;if((i|0)==0){d=(f|0)!=0;if((l|0)==0){if(d){c[f>>2]=(h>>>0)%(k>>>0);c[f+4>>2]=0}l=0;m=(h>>>0)/(k>>>0)>>>0;return(H=l,m)|0}else{if(!d){l=0;m=0;return(H=l,m)|0}c[f>>2]=a|0;c[f+4>>2]=b&0;l=0;m=0;return(H=l,m)|0}}m=(l|0)==0;do{if((k|0)==0){if(m){if((f|0)!=0){c[f>>2]=(i>>>0)%(k>>>0);c[f+4>>2]=0}l=0;m=(i>>>0)/(k>>>0)>>>0;return(H=l,m)|0}if((h|0)==0){if((f|0)!=0){c[f>>2]=0;c[f+4>>2]=(i>>>0)%(l>>>0)}k=0;m=(i>>>0)/(l>>>0)>>>0;return(H=k,m)|0}k=l-1|0;if((k&l|0)==0){if((f|0)!=0){c[f>>2]=a|0;c[f+4>>2]=k&i|b&0}k=0;m=i>>>((mX(l|0)|0)>>>0);return(H=k,m)|0}k=(lX(l|0)|0)-(lX(i|0)|0)|0;if(k>>>0<=30){b=k+1|0;m=31-k|0;j=b;a=i<<m|h>>>(b>>>0);b=i>>>(b>>>0);l=0;i=h<<m;break}if((f|0)==0){l=0;m=0;return(H=l,m)|0}c[f>>2]=a|0;c[f+4>>2]=j|b&0;l=0;m=0;return(H=l,m)|0}else{if(!m){k=(lX(l|0)|0)-(lX(i|0)|0)|0;if(k>>>0<=31){l=k+1|0;m=31-k|0;b=k-31>>31;j=l;a=h>>>(l>>>0)&b|i<<m;b=i>>>(l>>>0)&b;l=0;i=h<<m;break}if((f|0)==0){l=0;m=0;return(H=l,m)|0}c[f>>2]=a|0;c[f+4>>2]=j|b&0;l=0;m=0;return(H=l,m)|0}l=k-1|0;if((l&k|0)!=0){m=(lX(k|0)|0)+33-(lX(i|0)|0)|0;p=64-m|0;k=32-m|0;n=k>>31;o=m-32|0;b=o>>31;j=m;a=k-1>>31&i>>>(o>>>0)|(i<<k|h>>>(m>>>0))&b;b=b&i>>>(m>>>0);l=h<<p&n;i=(i<<p|h>>>(o>>>0))&n|h<<k&m-33>>31;break}if((f|0)!=0){c[f>>2]=l&h;c[f+4>>2]=0}if((k|0)==1){o=j|b&0;p=a|0|0;return(H=o,p)|0}else{p=mX(k|0)|0;o=i>>>(p>>>0)|0;p=i<<32-p|h>>>(p>>>0)|0;return(H=o,p)|0}}}while(0);if((j|0)==0){m=a;d=0;a=0}else{d=d|0|0;g=g|e&0;e=gX(d,g,-1,-1)|0;h=H;k=b;m=a;a=0;while(1){b=l>>>31|i<<1;l=a|l<<1;i=m<<1|i>>>31|0;k=m>>>31|k<<1|0;fX(e,h,i,k)|0;m=H;p=m>>31|((m|0)<0?-1:0)<<1;a=p&1;m=fX(i,k,p&d,(((m|0)<0?-1:0)>>31|((m|0)<0?-1:0)<<1)&g)|0;k=H;j=j-1|0;if((j|0)==0){break}else{i=b}}i=b;b=k;d=0}g=0;if((f|0)!=0){c[f>>2]=m;c[f+4>>2]=b}o=(l|0)>>>31|(i|g)<<1|(g<<1|l>>>31)&0|d;p=(l<<1|0>>>31)&-2|a;return(H=o,p)|0}function uX(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;return dd[a&1](b|0,c|0,d|0,e|0,f|0,g|0,h|0)|0}function vX(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ed[a&3](b|0,c|0,d|0,e|0,f|0)}function wX(a,b){a=a|0;b=b|0;fd[a&511](b|0)}function xX(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=+f;return gd[a&3](b|0,c|0,d|0,+e,+f)|0}function yX(a,b,c){a=a|0;b=b|0;c=c|0;hdHd[a&1]()}function ZX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;Id[a&3](b|0,c|0,+d)}function _X(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Jd[a&63](b|0,c|0,d|0,e|0)}function $X(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;ea(0);return 0}function aY(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ea(1)}function bY(a){a=a|0;ea(2)}function cY(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=+e;ea(3);return 0}function dY(a,b){a=a|0;b=b|0;ea(4)}function eY(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ea(5);return 0}function fY(a){a=a|0;ea(6);return 0}function gY(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;ea(7)}function hY(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;ea(8)}function iY(a,b,c,d,e,f,g,h,i,j,k,l){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=i|0;j=j|0;k=k|0;l=l|0;ea(9)}function jY(a,b,c,d,e,f,g,h,i,j,k,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=+l;m=+m;ea(10);return 0}function kY(a,b,c,d){a=a|0;b=+b;c=c|0;d=d|0;ea(11)}function lY(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ea(12);return 0}function mY(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=g|0;h=h|0;i=i|0;ea(13);return 0}function nY(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;ea(14)}function oY(a,b,c){a=a|0;b=b|0;c=c|0;ea(15);return 0}function pY(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){a=a|0;b=b|0;c=+c;d=+d;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;ea(16);return 0}function qY(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ea(17)}function rY(a,b,c,d,e,f,g,h,i,j,k,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;ea(18)}function sY(a){a=a|0;ea(19);return 0.0}function tY(a,b,c,d,e,f,g,h,i,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;i=i|0;j=j|0;ea(20);return 0}function uY(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;ea(21)}function vY(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;ea(22)}function wY(a,b,c,d,e,f,g,h,i,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;i=i|0;j=j|0;ea(23)}function xY(a,b){a=a|0;b=b|0;ea(24);return 0}function yY(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ea(25);return 0}function zY(a,b){a=a|0;b=b|0;ea(26);return 0.0}function AY(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;ea(27)}function BY(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;ea(28);return 0}function CY(a,b,c){a=a|0;b=b|0;c=c|0;ea(29)}function DY(){ea(30)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,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}})