Home | History | Annotate | Download | only in poppler

Lines Matching refs:Xu

7313 Xu
7317 >2];ja=aa+8|0;h[k>>3]=qa;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=aa+16|0;h[k>>3]=ra;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=aa+24|0;h[k>>3]=sa;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];c[aa+32>>2]=107;pe(ka,55728,aa)|0;break}else if((o|0)==3){ka=c[g>>2]|0;ra=+h[p+8>>3];sa=+h[p+16>>3];ja=ba;h[k>>3]=+h[p>>3];c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=ca+8|0;h[k>>3]=ra;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=ca+16|0;h[k>>3]=sa;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];c[ca+24>>2]=55800;pe(ka,55768,ca)|0;break}else if((o|0)==1){ka=c[g>>2]|0;ja=da;h[k>>3]=+h[p>>3];c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];c[ea+8>>2]=103;pe(ka,55816,ea)|0;break}else{break}}}while(0);o=a+192|0;q=c[o>>2]|0;r=c[q+4>>2]|0;if((r|0)>0){p=0;do{q=c[(c[q>>2]|0)+(p<<2)>>2]|0;la=+h[q>>3];if((r|0)>(p|0)){qa=+h[q+24>>3];ma=+h[q+16>>3];na=+h[q+8>>3];pa=+h[q+56>>3];oa=+h[q+48>>3];ra=+h[q+40>>3];sa=+h[q+32>>3]}else{qa=0.0;ma=0.0;na=0.0;pa=0.0;oa=0.0;ra=0.0;sa=0.0}q=~~(na-ra);ta=+(((q|0)>-1?q:0-q|0)|0)*.25;q=c[g>>2]|0;r=A;h[k>>3]=sa;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=B+8|0;h[k>>3]=ra;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];pe(q,55832,B)|0;q=c[g>>2]|0;r=C;h[k>>3]=sa-ta;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=D+8|0;h[k>>3]=ra+ta;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=D+16|0;h[k>>3]=la-ta;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=D+24|0;h[k>>3]=na-ta;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=D+32|0;h[k>>3]=la;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=D+40|0;h[k>>3]=na;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];pe(q,55856,D)|0;q=c[g>>2]|0;r=E;h[k>>3]=ma;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=u+8|0;h[k>>3]=qa;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];pe(q,64304,u)|0;q=c[g>>2]|0;r=y;h[k>>3]=ma+ta;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=w+8|0;h[k>>3]=qa-ta;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=w+16|0;h[k>>3]=oa+ta;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=w+24|0;h[k>>3]=pa+ta;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=w+32|0;h[k>>3]=oa;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=w+40|0;h[k>>3]=pa;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];pe(q,55856,w)|0;ne(c[g>>2]|0,55912,-1)|0;p=p+1|0;q=c[o>>2]|0;r=c[q+4>>2]|0;}while((p|0)<(r|0))}c[v>>2]=13;o=m+8|0;c[o>>2]=0;c[o+4>>2]=0;c[t>>2]=13;o=l+8|0;c[o>>2]=0;c[o+4>>2]=0;o=c[a+28>>2]|0;h[s>>3]=+h[o>>3];h[j+8>>3]=+h[o+8>>3];h[j+16>>3]=+h[o+16>>3];h[j+24>>3]=+h[o+24>>3];Er(a,j,1,0,m);o=c[g>>2]|0;if((o|0)!=0){ke(o);HW(o)}ka=FW(32)|0;fe(ka,63816);c[g>>2]=ka;Fr(a,63832,m,63840,1.0,64472,l);if(G==1.0){Er(a,j,0,l,d)}else{Er(a,j,1,l,m);o=c[g>>2]|0;if((o|0)!=0){ke(o);HW(o)}ka=FW(32)|0;fe(ka,63816);c[g>>2]=ka;Fr(a,63832,m,63840,G,0,l);Er(a,j,0,l,d)}g=c[g>>2]|0;if((g|0)==0){break}ke(g);HW(g);break}}}while(0);Nf(d,c[a+112>>2]|0,e,0)|0;ka=c[a+28>>2]|0;Tx(b,e,0,c[n>>2]|0,+h[ka>>3],+h[ka+8>>3],+h[ka+16>>3],+h[ka+24>>3]);Of(e);i=f;return}function hs(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]=64496;c[m>>2]=20;c[b+152>>2]=0;is(b,0,f,e);i=l;return}function is(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;k=i;o=i;i=i+8|0;g=i;i=i+8|0;d=g;n=i;i=i+8|0;m=n;l=i;i=i+16|0;h=l;p=i;i=i+8|0;c[l>>2]=13;j=h+8|0;c[j>>2]=0;c[j+4>>2]=0;q=_t(e)|0;e=b+148|0;c[e>>2]=q;do{if((q|0)!=0){t=b+116|0;s=c[t+4>>2]|0;r=p;c[r>>2]=c[t>>2];c[r+4>>2]=s;$W(o|0,p|0,8)|0;p=Pv(q,o)|0;c[b+152>>2]=p;o=b+176|0;a[o]=0;if((p|0)==0){break}if(((c[p+8>>2]|0)+ -1|0)>>>0>=2){break}a[o]=a[(c[e>>2]|0)+20|0]&1}}while(0);t=c[b+64>>2]|0;if((t|0)==5|(t|0)==13){a[b+176|0]=1}do{if((c[(Yu(f,63888,h,0)|0)>>2]|0)==4){e=FW(32)|0;o=c[l>>2]|0;if((o|0)!=4){c[n>>2]=o;c[m+4>>2]=4;Qe(0,72520,m);tc()}fe(e,c[j>>2]|0);a:do{if((te(e,55416)|0)==0){c[b+156>>2]=0}else{if((te(e,63896)|0)==0){c[b+156>>2]=2;break}do{if((te(e,55584)|0)!=0){if((te(e,56120)|0)==0){break}c[b+156>>2]=1;break a}}while(0);c[b+156>>2]=3}}while(0);if((e|0)==0){break}ke(e);HW(e)}else{c[b+156>>2]=1}}while(0);Of(h);if((c[(Yu(f,64512,h,0)|0)>>2]|0)!=7){c[b+160>>2]=0;Of(h);t=55424;Yu(f,t,h,0)|0;t=b+164|0;c[t>>2]=0;Of(h);t=64520;Yu(f,t,h,0)|0;t=b+168|0;c[t>>2]=0;Of(h);t=56080;Yu(f,t,h,0)|0;t=b+172|0;c[t>>2]=0;Of(h);i=k;return}m=FW(32)|0;l=c[l>>2]|0;if((l|0)!=7){c[g>>2]=l;c[d+4>>2]=7;Qe(0,72520,d);tc()}xr(m,c[j>>2]|0);c[b+160>>2]=m;Of(h);t=55424;Yu(f,t,h,0)|0;t=b+164|0;c[t>>2]=0;Of(h);t=64520;Yu(f,t,h,0)|0;t=b+168|0;c[t>>2]=0;Of(h);t=56080;Yu(f,t,h,0)|0;t=b+172|0;c[t>>2]=0;Of(h);i=k;return}function js(a){a=a|0;var b=0;b=i;ks(a);HW(a);i=b;return}function ks(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=64496;d=c[a+160>>2]|0;if((d|0)!=0){yr(d);HW(d)}d=c[a+164>>2]|0;if((d|0)!=0){Su(d);HW(d)}d=c[a+168>>2]|0;if((d|0)!=0){Su(d);HW(d)}d=c[a+172>>2]|0;if((d|0)==0){Cr(a);i=b;return}Su(d);HW(d);Cr(a);i=b;return}function ls(b,e,f,g,j,k,l,m,n){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;l=+l;m=m|0;n=n|0;var o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0.0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0.0,O=0.0,P=0,Q=0,R=0,S=0,T=0,U=0;w=i;J=i;i=i+8|0;I=J;x=i;i=i+8|0;H=i;i=i+8|0;t=H;F=i;i=i+8|0;G=F;o=i;i=i+8|0;q=i;i=i+8|0;v=i;i=i+8|0;r=v;s=i;i=i+8|0;b=i;i=i+8|0;u=i;i=i+8|0;A=ve(e)|0;do{if(A){z=e+24|0;if((c[z>>2]&1|0)==0){S=c[g>>2]|0;if((S|0)!=0){break}c[g>>2]=2;S=2;break}else{Qe(-1,64528,x);i=w;return}}else{S=c[g>>2]|0;z=e+24|0}}while(0);le(f)|0;x=f+24|0;y=e+28|0;e=f+28|0;M=l>0.0;P=c[p>>2]|0;R=0;T=0;O=0.0;while(1){Q=c[g>>2]|0;if((Q|0)>=(c[z>>2]|0)){D=O;break}C=c[x>>2]|0;E=c[y>>2]|0;U=d[E+Q|0]|0;if(A){U=U<<8;c[F>>2]=U;U=d[E+(Q+1)|0]|U;c[F>>2]=U;E=Q+2|0}else{if(!n){U=c[189696+(U<<2)>>2]|0}c[F>>2]=U;E=Q+1|0}c[g>>2]=E;if((U|0)==10){D=O;break}else if((U|0)==13){B=15;break}do{if(n){me(f,U&255)|0}else{K=jd[c[(c[j>>2]|0)+4>>2]&511](j)|0;if((K|0)==0){me(f,(c[F>>2]|0)>>>8&255)|0;me(f,c[F>>2]&255)|0;break}U=(xuXuk}if((k|0)<(j|0)){h=k}else{h=k;break a}}Fe(c[l+(h*12|0)+4>>2]|0);j=c[g>>2]|0}else{h=0}}while(0);if((h|0)==(j|0)){k=a+20|0;if((j|0)==(c[k>>2]|0)){l=j+8|0;c[k>>2]=l;j=a+12|0;c[j>>2]=Ce(c[j>>2]|0,l,12)|0;j=c[g>>2]|0}c[g>>2]=j+1}c[(c[a+4>>2]|0)+(b<<2)>>2]=0;a=a+12|0;c[(c[a>>2]|0)+(h*12|0)>>2]=b;c[(c[a>>2]|0)+(h*12|0)+8>>2]=e;l=ye(e,4)|0;c[(c[a>>2]|0)+(h*12|0)+4>>2]=l;if((e|0)>0){b=0}else{i=f;return}do{c[(c[(c[a>>2]|0)+(h*12|0)+4>>2]|0)+(b<<2)>>2]=c[d+(b<<2)>>2];b=b+1|0;}while((b|0)<(e|0));i=f;return}function wu(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=i;if((c[a+8>>2]|0)>>>0<=b>>>0){h=0;i=f;return h|0}g=(c[a+4>>2]|0)+(b<<2)|0;if((c[g>>2]|0)!=0){c[d>>2]=g;h=1;i=f;return h|0}g=a+12|0;h=c[a+16>>2]|0;while(1){a=h+ -1|0;if((h|0)<=0){d=0;e=8;break}h=c[g>>2]|0;if((c[h+(a*12|0)>>2]|0)==(b|0)){break}else{h=a}}if((e|0)==8){i=f;return d|0}c[d>>2]=c[h+(a*12|0)+4>>2];h=c[(c[g>>2]|0)+(a*12|0)+8>>2]|0;i=f;return h|0}function xu0,$=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;j=i;h=i;i=i+8|0;g=h;P=a[e]|0;L=b+176|0;a[L]=P;t=e+1|0;M=b+180|0;a[M]=a[t]|0;u=e+2|0;I=b+184|0;a[I]=a[u]|0;v=e+3|0;E=b+188|0;a[E]=a[v]|0;w=e+4|0;O=b+177|0;a[O]=a[w]|0;k=e+5|0;K=b+181|0;a[K]=a[k]|0;y=e+6|0;z=b+185|0;a[z]=a[y]|0;x=e+7|0;D=b+189|0;a[D]=a[x]|0;s=e+8|0;A=b+178|0;a[A]=a[s]|0;r=e+9|0;H=b+182|0;a[H]=a[r]|0;q=e+10|0;G=b+186|0;a[G]=a[q]|0;p=e+11|0;C=b+190|0;a[C]=a[p]|0;o=e+12|0;N=b+179|0;a[N]=a[o]|0;n=e+13|0;J=b+183|0;a[J]=a[n]|0;m=e+14|0;F=b+187|0;a[F]=a[m]|0;l=e+15|0;B=b+191|0;a[B]=a[l]|0;Q=0;while(1){qa=b+(Q+40<<2)|0;a[b+176+Q|0]=P&255^(c[qa>>2]|0)>>>24;ra=b+176+(Q+4)|0;a[ra]=(d[ra]|0)^(c[qa>>2]|0)>>>16;ra=b+176+(Q+8)|0;a[ra]=(d[ra]|0)^(c[qa>>2]|0)>>>8;ra=b+176+(Q+12)|0;a[ra]=(d[ra]|0)^c[qa>>2];Q=Q+1|0;if((Q|0)>=4){P=9;break}P=a[b+176+Q|0]|0}while(1){a[L]=a[131928+(d[L]|0)|0]|0;a[O]=a[131928+(d[O]|0)|0]|0;a[A]=a[131928+(d[A]|0)|0]|0;a[N]=a[131928+(d[N]|0)|0]|0;ia=a[131928+(d[M]|0)|0]|0;ha=a[131928+(d[K]|0)|0]|0;ja=a[131928+(d[J]|0)|0]|0;la=a[131928+(d[I]|0)|0]|0;na=a[131928+(d[z]|0)|0]|0;ka=a[131928+(d[G]|0)|0]|0;ma=a[131928+(d[F]|0)|0]|0;ra=a[131928+(d[E]|0)|0]|0;oa=a[131928+(d[D]|0)|0]|0;pa=a[131928+(d[C]|0)|0]|0;qa=a[131928+(d[B]|0)|0]|0;a[J]=a[131928+(d[H]|0)|0]|0;a[H]=ha;a[K]=ia;a[M]=ja;a[I]=ka;a[G]=la;a[z]=ma;a[F]=na;a[E]=oa;a[D]=pa;a[C]=qa;a[B]=ra;if((P|0)>0){T=0}else{z=0;break}do{ia=b+176+T|0;V=a[ia]|0;Z=b+176+(T+4)|0;U=a[Z]|0;R=b+176+(T+8)|0;Q=a[R]|0;S=b+176+(T+12)|0;W=a[S]|0;ra=V&255;X=ra<<1;X=(ra&128|0)!=0?X^27:X;ja=(X&128|0)!=0;ka=X<<1;Y=ka&510;ma=ja?Y^27:Y;Y=ma<<1;Y=(ma&128|0)!=0?Y^27:Y;ra=U&255;_=ra<<1;ca=(ra&128|0)!=0?_^27:_;ba=(ca&128|0)!=0;da=ca<<1;_=da&510;ea=ba?_^27:_;_=ea<<1;ha=(ea&128|0)!=0?_^27:_;ra=Q&255;_=ra<<1;_=(ra&128|0)!=0?_^27:_;na=(_&128|0)!=0;pa=_<<1;qa=na?pa^27:pa;$=qa<<1;$=(qa&128|0)!=0?$^27:$;ra=W&255;aa=ra<<1;aa=(ra&128|0)!=0?aa^27:aa;fa=(aa&128|0)!=0;ga=aa<<1;la=fa?ga^27:ga;oa=la<<1;oa=(la&128|0)!=0?oa^27:oa;a[ia]=(Q^U)&255^X^ra^ca^ma^qa^Y^ha^$^oa;ia=ja?ka^27:ka;ja=ia<<1;ja=(ia&128|0)!=0?ja^27:ja;ka=pa&510;ka=na?ka^27:ka;ma=ka<<1;ma=(ka&128|0)!=0?ma^27:ma;a[Z]=(Q^V^W)&255^ca^_^ea^ja^la^ha^ma^oa;Z=ba?da^27:da;ba=Z<<1;ba=(Z&128|0)!=0?ba^27:ba;ca=ga&510;da=fa?ca^27:ca;ca=da<<1;ra=(da&128|0)!=0?ca^27:ca;qa=U^V;a[R]=_^(W^qa)&255^ia^aa^ja^ka^ba^ma^ra;a[S]=(qa^Q)&255^X^aa^Z^Y^ba^da^$^ra;T=T+1|0;}while((T|0)<4);R=P<<2;Q=0;do{qa=b+(Q+R<<2)|0;ra=b+176+Q|0;a[ra]=(d[ra]|0)^(c[qa>>2]|0)>>>24;ra=b+176+(Q+4)|0;a[ra]=(d[ra]|0)^(c[qa>>2]|0)>>>16;ra=b+176+(Q+8)|0;a[ra]=(d[ra]|0)^(c[qa>>2]|0)>>>8;ra=b+176+(Q+12)|0;a[ra]=(d[ra]|0)^c[qa>>2];Q=Q+1|0;}while((Q|0)<4);P=P+ -1|0}while(1){qa=b+(z<<2)|0;ra=b+176+z|0;a[ra]=(d[ra]|0)^(c[qa>>2]|0)>>>24;ra=b+176+(z+4)|0;a[ra]=(d[ra]|0)^(c[qa>>2]|0)>>>16;ra=b+176+(z+8)|0;a[ra]=(d[ra]|0)^(c[qa>>2]|0)>>>8;ra=b+176+(z+12)|0;a[ra]=(d[ra]|0)^c[qa>>2];z=z+1|0;if((z|0)<4){}else{z=0;break}}do{ra=z<<2;a[b+208+ra|0]=a[b+192+ra|0]^a[b+176+z|0];qa=ra|1;a[b+208+qa|0]=a[b+192+qa|0]^a[b+176+(z+4)|0];qa=ra|2;a[b+208+qa|0]=a[b+192+qa|0]^a[b+176+(z+8)|0];ra=ra|3;a[b+208+ra|0]=a[b+192+ra|0]^a[b+176+(z+12)|0];z=z+1|0;}while((z|0)<4);a[b+192|0]=a[e]|0;a[b+193|0]=a[t]|0;a[b+194|0]=a[u]|0;a[b+195|0]=a[v]|0;a[b+196|0]=a[w]|0;a[b+197|0]=a[k]|0;a[b+198|0]=a[y]|0;a[b+199|0]=a[x]|0;a[b+200|0]=a[s]|0;a[b+201|0]=a[r]|0;a[b+202|0]=a[q]|0;a[b+203|0]=a[p]|0;a[b+204|0]=a[o]|0;a[b+205|0]=a[n]|0;a[b+206|0]=a[m]|0;a[b+207|0]=a[l]|0;e=b+224|0;c[e>>2]=0;if(!f){i=j;return}k=a[b+223|0]|0;f=k&255;if((k&255)<=15){l=15;while(1){a[b+208+l|0]=a[b+208+(l-f)|0]|0;if((l|0)>(f|0)){l=l+ -1|0}else{break}}}c[e>>2]=f;if((k&255)<=16){i=j;return}c[h>>2]=f;Qe(-1,131880,g);c[e>>2]=16;i=j;return}function Mu(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;g=i;i=i+16|0;h=c[b+12>>2]|0;if((h|0)==1){h=b+52|0;j=b+276|0;k=c[j>>2]|0;do{if((k|0)==16){l=b+8|0;m=0;do{k=c[l>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((k|0)==-1){b=-1;f=12;break}a[g+m|0]=k;m=m+1|0;}while((m|0)<16);if((f|0)==12){i=e;return b|0}k=c[l>>2]|0;Lu(h,g,(jd[c[(c[k>>2]|0)+24>>2]&511](k)|0)==-1);k=c[j>>2]|0;if((k|0)==16){b=-1}else{break}i=e;return b|0}}while(0);m=d[b+52+(k+208)|0]|0;i=e;return m|0}else if((h|0)==0){f=b+312|0;g=c[f>>2]|0;if((g|0)!=-1){m=g;i=e;return m|0}g=c[b+8>>2]|0;g=jd[c[(c[g>>2]|0)+20>>2]&511](g)|0;if((g|0)==-1){m=c[f>>2]|0;i=e;return m|0}else{k=b+308|0;m=b+309|0;j=(d[k]|0)+1|0;a[k]=j;j=b+52+(j&255)|0;k=(d[m]|0)+(d[j]|0)|0;a[m]=k;m=a[j]|0;k=b+52+(k&255)|0;l=a[k]|0;a[j]=l;a[k]=m;m=(a[b+52+((l&255)+(m&255)&255)|0]^g&255)&255;c[f>>2]=m;i=e;return m|0}}else{m=-1;i=e;return m|0}return 0}function Nu(a,b){a=a|0;b=b|0;var d=0;d=i;a=c[a+8>>2]|0;a=Bd[c[(c[a>>2]|0)+60>>2]&255](a,b)|0;i=d;return a|0}function Ou(a){a=a|0;i=i;return 11}function Pu(a){a=a|0;i=i;return a|0}function Qu(b,d){b=b|0;d=d|0;c[b+4>>2]=d;c[b+8>>2]=0;c[b+16>>2]=0;c[b+12>>2]=0;c[b+20>>2]=1;a[b]=0;i=i;return}function Ru(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;c[b+4>>2]=c[d+4>>2];g=c[d+16>>2]|0;f=b+16|0;c[f>>2]=g;c[b+12>>2]=g;c[b+20>>2]=1;a[b]=a[d]&1;b=b+8|0;c[b>>2]=ye(g,24)|0;if((c[f>>2]|0)<=0){i=e;return}d=d+8|0;g=0;do{h=Ic(c[(c[d>>2]|0)+(g*24|0)>>2]|0)|0;c[(c[b>>2]|0)+(g*24|0)>>2]=h;h=(c[b>>2]|0)+(g*24|0)+16|0;c[h>>2]=0;c[h+4>>2]=0;Mf((c[d>>2]|0)+(g*24|0)+8|0,(c[b>>2]|0)+(g*24|0)+8|0)|0;g=g+1|0;}while((g|0)<(c[f>>2]|0));i=e;return}function Su(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=a+16|0;a=a+8|0;f=c[a>>2]|0;if((c[d>>2]|0)>0){e=0}else{Fe(f);i=b;return}while(1){Fe(c[f+(e*24|0)>>2]|0);Of((c[a>>2]|0)+(e*24|0)+8|0);e=e+1|0;f=c[a>>2]|0;if((e|0)<(c[d>>2]|0)){}else{break}}Fe(f);i=b;return}function Tu(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;g=i;if((a[b]&1)!=0){a[b]=0}f=b+16|0;k=c[f>>2]|0;h=b+12|0;do{if((k|0)==(c[h>>2]|0)){j=(k|0)==0?8:k<<1;c[h>>2]=j;b=b+8|0;j=Ce(c[b>>2]|0,j,24)|0;c[b>>2]=j;k=c[f>>2]|0;if((k|0)>=(c[h>>2]|0)){break}while(1){j=j+(k*24|0)+16|0;c[j>>2]=0;c[j+4>>2]=0;k=k+1|0;if((k|0)>=(c[h>>2]|0)){break}j=c[b>>2]|0}k=c[f>>2]|0}else{b=b+8|0}}while(0);c[(c[b>>2]|0)+(k*24|0)>>2]=d;$W((c[b>>2]|0)+((c[f>>2]|0)*24|0)+8|0,e|0,16)|0;c[f>>2]=(c[f>>2]|0)+1;i=g;return}function Uu(a,b){a=a|0;b=b|0;var c=0;c=i;a=(Vu(a,b)|0)!=0;i=c;return a|0}function Vu(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;e=i;m=i;i=i+8|0;l=m;j=a[b]|0;do{if((j&1)==0){k=c[b+16>>2]|0;if((k|0)<=31){break}a[b]=1;j=c[b+8>>2]|0;c[m>>2]=186;dv(j,j+(k*24|0)|0,l);j=a[b]|0}}while(0);if((j&1)==0){j=b+8|0;k=c[b+16>>2]|0;while(1){b=k+ -1|0;if((k|0)<=0){f=0;g=18;break}h=c[j>>2]|0;if((Qc(d|0,c[h+(b*24|0)>>2]|0)|0)==0){break}else{k=b}}if((g|0)==18){i=e;return f|0}m=h+(b*24|0)|0;i=e;return m|0}h=c[b+8>>2]|0;g=c[b+16>>2]|0;if((g|0)<1){m=0;i=e;return m|0}k=g+ -1|0;g=0;a:while(1){while(1){b=g+k|0;j=(b|0)/2|0;l=Qc(d|0,c[h+(j*24|0)>>2]|0)|0;if((l|0)==0){g=12;break a}if((l|0)<0){break}if((j|0)<(k|0)){g=j+1|0}else{f=0;g=18;break a}}k=j+ -1|0;if((g|0)>(k|0)){f=0;g=18;break}}if((g|0)==12){if((b+3|0)>>>0<2){m=0;i=e;return m|0}m=h+(j*24|0)|0;i=e;return m|0}else if((g|0)==18){i=e;return f|0}return 0}function Wu(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;f=i;g=Vu(b,d)|0;if((g|0)!=0){k=g+8|0;Of(k);$W(k|0,e|0,16)|0;i=f;return}d=Ge(d)|0;if((a[b]&1)!=0){a[b]=0}g=b+16|0;k=c[g>>2]|0;h=b+12|0;do{if((k|0)==(c[h>>2]|0)){j=(k|0)==0?8:k<<1;c[h>>2]=j;b=b+8|0;j=Ce(c[b>>2]|0,j,24)|0;c[b>>2]=j;k=c[g>>2]|0;if((k|0)>=(c[h>>2]|0)){break}j=j+(k*24|0)+16|0;c[j>>2]=0;c[j+4>>2]=0;j=k+1|0;if((j|0)<(c[h>>2]|0)){do{k=(c[b>>2]|0)+(j*24|0)+16|0;c[k>>2]=0;c[k+4>>2]=0;j=j+1|0;}while((j|0)<(c[h>>2]|0))}k=c[g>>2]|0}else{b=b+8|0}}while(0);c[(c[b>>2]|0)+(k*24|0)>>2]=d;$W((c[b>>2]|0)+((c[g>>2]|0)*24|0)+8|0,e|0,16)|0;c[g>>2]=(c[g>>2]|0)+1;i=f;return}function Xu
7333 e[J>>1]|0)|0))}S=S+1<<16>>16;T=S&65535;if((T|0)>=((e[N>>1]|0)+(e[H>>1]|0)|0)){u=0;v=g;break c}}if((s|0)==46){c[t>>2]=3;Y=3;break a}else if((s|0)==54){c[t>>2]=3;Y=3;break a}else if((s|0)==62){c[t>>2]=3;Y=3;break a}}}while(0);c[t>>2]=3;Y=3;break a}}while(0);c[t>>2]=3;Y=3;break a}else if(J<<16>>16==17742){w=H+2|0;Y=PJ(u,(e[w>>1]|0)+(e[K>>1]|0)|0)|0;c[t>>2]=Y;if((Y|0)!=0){break a}Y=MK(u,(e[H+4>>1]|0)-(e[w>>1]|0)|0)|0;c[t>>2]=Y;if((Y|0)!=0){break a}w=SK(u)|0;z=SK(u)|0;f:do{if(z<<16>>16==0){y=0;x=0}else{x=u+32|0;while(1){y=SK(u)|0;if(z<<16>>16==-32760){break}c[x>>2]=(c[x>>2]|0)+(((y&65535)*12|0)+4);z=SK(u)|0;if(z<<16>>16==0){y=0;x=0;break f}}Y=IK(u)|0;x=Y+4+(c[x>>2]|0)-(c[u+36>>2]|0)|0}}while(0);PK(u);if(y<<16>>16==0|(x|0)==0){c[t>>2]=3;Y=3;break a}y=y&65535;if((y*118|0)>>>0>(c[u+4>>2]|0)>>>0){c[t>>2]=3;Y=3;break a}c[g>>2]=y;if((y|0)<=(h|0)){c[t>>2]=6;Y=6;break a}if((h|0)<0){break b}c[l>>2]=jJ(p,172,v)|0;Y=c[t>>2]|0;if((Y|0)!=0){break a}Y=PJ(u,x+(h*12|0)|0)|0;c[t>>2]=Y;if((Y|0)!=0){s=79;break b}Y=MK(u,12)|0;c[t>>2]=Y;if((Y|0)!=0){s=79;break b}v=w&65535;Y=((SK(u)|0)&65535)<<v;c[c[l>>2]>>2]=Y;v=((SK(u)|0)&65535)<<v;c[(c[l>>2]|0)+164>>2]=v;v=u+32|0;c[v>>2]=(c[v>>2]|0)+8;PK(u);u=_T(c[l>>2]|0,u)|0;c[t>>2]=u;v=g}else{u=2;v=g}}while(0);v=c[v>>2]|0;if((v|0)==0){c[t>>2]=3;Y=3;break a}if((v|0)>(h|0)){if((u|0)==0){break}else{s=79;break}}else{c[t>>2]=6;Y=6;break a}}else{s=79}}while(0);do{if((s|0)==79){u=c[n>>2]|0;w=c[l>>2]|0;if((w|0)==0){break}v=w+160|0;if((c[v>>2]|0)!=0){NK(c[m>>2]|0,v)}Y=w+168|0;lJ(u,c[Y>>2]|0);c[Y>>2]=0;lJ(u,w);c[l>>2]=0}}while(0);Y=c[t>>2]|0}}while(0);c[j>>2]=Y;t=(h|0)<0;if((Y|0)==0&t){Y=0;i=k;return Y|0}do{if((Y|0)==2){u=jJ(p,172,o)|0;c[l>>2]=u;v=c[j>>2]|0;if((v|0)!=0){Y=v;i=k;return Y|0}c[g>>2]=1;c[u>>2]=0;c[u+164>>2]=c[f+4>>2];Y=_T(u,f)|0;c[j>>2]=Y;if((Y|0)!=0){break}if((h|0)>0){c[j>>2]=6;Y=6;break}if(t){g=0}else{s=91;break}i=k;return g|0}else if((Y|0)==0){s=91}}while(0);do{if((s|0)==91){s=c[l>>2]|0;c[g+4>>2]=h;h=g+8|0;c[h>>2]=18;f=s+100|0;c[h>>2]=(b[f>>1]|0)==(b[s+102>>1]|0)?22:18;if((a[s+86|0]|0)!=0){Y=g+12|0;c[Y>>2]=c[Y>>2]|1}if((e[s+90>>1]|0)>799){Y=g+12|0;c[Y>>2]=c[Y>>2]|2}h=oJ(p,16,0,1,0,o)|0;c[g+32>>2]=h;Y=c[j>>2]|0;if((Y|0)!=0){break}c[g+28>>2]=1;b[h+2>>1]=b[f>>1]|0;x=s+96|0;b[h>>1]=(b[s+84>>1]|0)+(b[x>>1]|0)<<16>>16;u=e[s+74>>1]<<6;t=h+4|0;c[t>>2]=u;f=b[s+78>>1]|0;v=b[s+76>>1]|0;w=v<<16>>16!=0?v&65535:72;v=h+12|0;Y=(_I(u,w,72)|0)+32&-64;c[v>>2]=Y;u=e[x>>1]<<6;if((Y|0)>(u|0)){c[v>>2]=u;Y=_I(u,72,w)|0;c[t>>2]=Y;t=Y}else{t=c[t>>2]|0}c[h+8>>2]=(_I(t,f<<16>>16!=0?f&65535:72,72)|0)+32&-64;h=r+4|0;Y=h;c[Y>>2]=0;c[Y+4>>2]=0;c[q>>2]=g;if((a[s+92|0]|0)==77){c[h>>2]=1634889070;b[r+8>>1]=1}Y=eK(282224,0,r,0)|0;c[j>>2]=Y;if((Y|0)!=0){break}if((c[g+36>>2]|0)!=0){c[g+92>>2]=c[c[g+40>>2]>>2]}c[g+16>>2]=(d[s+105|0]|0)+2-(d[s+104|0]|0);q=s+116|0;r=c[q>>2]|0;h=c[s+8>>2]|0;if(r>>>0>=h>>>0){c[j>>2]=3;Y=3;break}h=h-r|0;f=jJ(p,h+1|0,o)|0;r=s+168|0;c[r>>2]=f;Y=c[j>>2]|0;if((Y|0)!=0){break}$W(f|0,(c[s+160>>2]|0)+(c[q>>2]|0)|0,h|0)|0;a[(c[r>>2]|0)+h|0]=0;Y=c[r>>2]|0;o=oJ(p,1,h,(ZW(Y|0)|0)+1|0,Y,o)|0;c[r>>2]=o;Y=c[j>>2]|0;if((Y|0)!=0){break}c[g+20>>2]=o;j=g+24|0;c[j>>2]=282184;Y=c[g+12>>2]|0;g=(Y&1|0)!=0;if((Y&2|0)==0){if(!g){Y=0;i=k;return Y|0}c[j>>2]=282216;Y=0;i=k;return Y|0}if(g){c[j>>2]=282192;Y=0;i=k;return Y|0}else{c[j>>2]=282208;Y=0;i=k;return Y|0}}}while(0);if((g|0)==0){i=k;return Y|0}n=c[n>>2]|0;o=c[m>>2]|0;p=c[l>>2]|0;if((p|0)!=0){m=p+160|0;if((c[m>>2]|0)!=0){NK(o,m)}Y=p+168|0;lJ(n,c[Y>>2]|0);c[Y>>2]=0;lJ(n,p);c[l>>2]=0}Y=g+32|0;lJ(n,c[Y>>2]|0);c[Y>>2]=0;c[g+28>>2]=0;Y=c[j>>2]|0;i=k;return Y|0}function WT(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=i;if((a|0)==0){i=b;return}d=c[a+100>>2]|0;g=c[a+104>>2]|0;f=a+132|0;e=c[f>>2]|0;if((e|0)!=0){h=e+160|0;if((c[h>>2]|0)!=0){NK(g,h)}h=e+168|0;lJ(d,c[h>>2]|0);c[h>>2]=0;lJ(d,e);c[f>>2]=0}h=a+32|0;lJ(d,c[h>>2]|0);c[h>>2]=0;c[a+28>>2]=0;i=b;return}function XT(f,g,h,j){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;j=i;k=i;i=i+8|0;n=k;l=c[g>>2]|0;c[k>>2]=0;if((l|0)==0){c[k>>2]=6;t=6;i=j;return t|0}g=c[l+132>>2]|0;do{if((g|0)!=0){if((c[l+16>>2]|0)>>>0<=h>>>0){break}if((h|0)==0){h=d[g+106|0]|0}else{h=h+ -1|0}o=(b[g+4>>1]|0)==768;m=g+160|0;p=c[m>>2]|0;r=(da(o?6:4,h)|0)+(o?148:118)|0;l=(d[p+(r|1)|0]<<8&65535|d[p+r|0])<<16>>16;h=f+80|0;c[h>>2]=l;q=p+(r+2)|0;if(o){o=d[p+(r+4)|0]<<16|d[p+(r+5)|0]<<24|d[p+(r+3)|0]<<8|d[q]}else{o=(d[p+(r+3)|0]<<8&65535|d[q])&65535}r=g+8|0;if(o>>>0>=(c[r>>2]|0)>>>0){c[k>>2]=3;t=3;i=j;return t|0}p=c[m>>2]|0;s=c[(c[f+4>>2]|0)+100>>2]|0;q=l+7>>3;l=f+84|0;c[l>>2]=q;t=e[g+96>>1]|0;m=f+76|0;c[m>>2]=t;a[f+94|0]=1;u=(da(q,t)|0)+o|0;if(u>>>0>=(c[r>>2]|0)>>>0){c[k>>2]=3;u=3;i=j;return u|0}n=oJ(s,t,0,q,0,n)|0;c[f+88>>2]=n;r=c[k>>2]|0;if((r|0)!=0){u=r;i=j;return u|0}a:do{if((q|0)>0){p=p+o|0;while(1){u=c[m>>2]|0;o=p+u|0;if((u|0)>0){r=p;p=n;while(1){a[p]=a[r]|0;r=r+1|0;if(r>>>0<o>>>0){p=p+(c[l>>2]|0)|0}else{p=r;break}}}q=q+ -1|0;if((q|0)<=0){break a}n=n+1|0}}}while(0);c[(c[f+156>>2]|0)+4>>2]=1;c[f+100>>2]=0;s=e[g+80>>1]|0;c[f+104>>2]=s;c[f+72>>2]=1651078259;r=c[h>>2]<<6;t=f+24|0;c[t>>2]=r;u=c[m>>2]<<6;c[f+28>>2]=u;c[f+40>>2]=r;c[f+32>>2]=0;c[f+36>>2]=s<<6;XJ(t,u);u=c[k>>2]|0;i=j;return u|0}}while(0);c[k>>2]=6;u=6;i=j;return u|0}function YT(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,j=0;g=i;d=c[a>>2]|0;f=c[d+132>>2]|0;h=c[b+16>>2]|0;j=c[b+8>>2]|0;if((h|0)!=0){j=((da(j,h)|0)+36|0)/72|0}h=j+32>>6;b=c[b>>2]|0;if((b|0)==0){b=(c[(c[d+32>>2]|0)+12>>2]|0)+32>>6}else if((b|0)==1){b=e[f+96>>1]|0}else{j=7;i=g;return j|0}b=(h|0)==(b|0);if(!b){j=b?0:23;i=g;return j|0}YJ(d,0);j=f+80|0;c[a+24>>2]=(e[j>>1]|0)<<6;c[a+28>>2]=(e[j>>1]|0)-(e[f+96>>1]|0)<<6;c[a+36>>2]=(e[f+102>>1]|0)<<6;j=0;i=g;return j|0}function ZT(a,b){a=a|0;b=b|0;var d=0,f=0;b=i;f=c[a>>2]|0;d=c[f+132>>2]|0;YJ(f,0);f=d+80|0;c[a+24>>2]=(e[f>>1]|0)<<6;c[a+28>>2]=(e[f>>1]|0)-(e[d+96>>1]|0)<<6;c[a+36>>2]=(e[d+102>>1]|0)<<6;i=b;return 0}function _T(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=i;f=a+4|0;g=PJ(d,c[a>>2]|0)|0;do{if((g|0)==0){g=ZK(d,282264,f)|0;if((g|0)!=0){break}g=b[f>>1]|0;if(!(g<<16>>16==768|g<<16>>16==512)){g=2;break}f=a+8|0;if((c[f>>2]|0)>>>0<(g<<16>>16==768?148:118)>>>0){g=2;break}if(g<<16>>16==512){bX(a+132|0,0,12)|0}if((b[a+72>>1]&1)!=0){g=2;break}g=PJ(d,c[a>>2]|0)|0;if((g|0)!=0){break}g=LK(d,c[f>>2]|0,a+160|0)|0}}while(0);i=e;return g|0}function $T(a,b){a=a|0;b=b|0;var e=0;b=c[(c[a>>2]|0)+132>>2]|0;e=d[b+104|0]|0;c[a+16>>2]=e;c[a+20>>2]=1-e+(d[b+105|0]|0);i=i;return 0}function aU(a,b){a=a|0;b=b|0;b=b-(c[a+16>>2]|0)|0;i=i;return(b>>>0<(c[a+20>>2]|0)>>>0?b+1|0:0)|0}function bU(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=(c[b>>2]|0)+1|0;e=c[a+16>>2]|0;if(d>>>0>e>>>0){f=d-e|0;e=f>>>0<(c[a+20>>2]|0)>>>0;a=e?f+1|0:0;e=e?d:0}else{a=1}c[b>>2]=e;i=i;return a|0}function cU(a,b){a=a|0;b=b|0;var d=0;d=i;$W(b|0,(c[a+132>>2]|0)+4|0,156)|0;i=d;return 0}function dU(a,b){a=a|0;b=b|0;c[a+112>>2]=b;c[a+104>>2]=c[b+28>>2];i=i;return 0}function eU(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return 0}function fU(d,f){d=d|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;h=i;j=i;i=i+8|0;k=j;l=i;i=i+48|0;m=i;i=i+48|0;g=c[f+92>>2]|0;c[d+36>>2]=e[f+68>>1]|0;p=0;while(1){n=p+1|0;if((cK(f,c[283320+(p<<2)>>2]|0)|0)==0){break}if((n|0)==4){o=56;break}else{p=n}}if((o|0)==56){dK(f,g)|0;i=h;return 0}GU(d,f,111);r=c[f+84>>2]|0;p=d+652|0;u=r+110|0;s=r+112|0;t=r+108|0;q=r+116|0;r=r+120|0;o=0;a:while(1){y=283356+(o*13|0)|0;w=(o&-3|0)==0;n=(o|0)==3;v=w|n;z=0;x=0;A=283344+(o*13|0)|0;do{B=a[A]|0;if(B<<24>>24==0){break}B=KJ(f,B<<24>>24)|0;b:do{if((B|0)!=0){if((YI(f,B,1)|0)!=0){break}if((b[u>>1]|0)<1){break}B=c[s>>2]|0;D=b[t>>1]|0;do{if(D<<16>>16>0){C=c[r>>2]|0;D=D<<16>>16;F=0;G=0;I=-1;K=0;J=0;H=0;while(1){E=b[C+(H<<1)>>1]|0;if((E|0)>(J|0)){L=(J|0)>(E|0);do{if(v){if(L){L=I;break}else{L=I;M=J}while(1){O=c[B+(M<<3)+4>>2]|0;N=(L|0)<0|(O|0)>(K|0);L=N?M:L;K=N?O:K;if((M|0)<(E|0)){M=M+1|0}else{break}}}else{if(L){L=I;break}else{L=I;M=J}while(1){N=c[B+(M<<3)+4>>2]|0;O=(L|0)<0|(N|0)<(K|0);L=O?M:L;K=O?N:K;if((M|0)<(E|0)){M=M+1|0}else{break}}}}while(0);I=(L|0)==(I|0);F=I?F:J;G=I?G:E;I=L}H=H+1|0;if((H|0)<(D|0)){J=E+1|0}else{break}}C=5-K|0;if((I|0)>-1){D=I}else{break}while(1){D=(D|0)>(F|0)?D+ -1|0:G;if(((c[B+(D<<3)+4>>2]|0)+C|0)>>>0>10|(D|0)==(I|0)){E=I;break}else{}}do{E=(E|0)<(G|0)?E+1|0:F;}while(!(((c[B+(E<<3)+4>>2]|0)+C|0)>>>0>10|(E|0)==(I|0)));B=c[q>>2]|0;if((a[B+D|0]&3)==1){if((a[B+E|0]&3)==1){break}}c[m+(x<<2)>>2]=K;x=x+1|0;break b}else{K=0}}while(0);c[l+(z<<2)>>2]=K;z=z+1|0}}while(0);A=A+1|0;}while(A>>>0<y>>>0);A=(z|0)==0;y=(x|0)==0;do{if((x|z|0)!=0){if(x>>>0>1){F=1;do{D=c[m+(F<<2)>>2]|0;B=F;while(1){C=B+ -1|0;G=m+(C<<2)|0;E=c[G>>2]|0;if((D|0)>(E|0)){break}c[m+(B<<2)>>2]=E;c[G>>2]=D;if((C|0)==0){break}else{B=C}}F=F+1|0;}while(F>>>0<x>>>0)}if(z>>>0>1){G=1;do{D=c[l+(G<<2)>>2]|0;E=G;while(1){F=E+ -1|0;C=l+(F<<2)|0;B=c[C>>2]|0;if((D|0)>(B|0)){break}c[l+(E<<2)>>2]=B;c[C>>2]=D;if((F|0)==0){break}else{E=F}}G=G+1|0;}while(G>>>0<z>>>0)}C=c[p>>2]|0;B=d+656+(C*28|0)|0;D=d+656+(C*28|0)+12|0;c[p>>2]=C+1;do{if(A){O=c[m+(((x|0)/2|0)<<2)>>2]|0;c[D>>2]=O;c[B>>2]=O}else{z=c[l+(((z|0)/2|0)<<2)>>2]|0;if(y){c[D>>2]=z;c[B>>2]=z;break}c[B>>2]=z;x=c[m+(((x|0)/2|0)<<2)>>2]|0;c[D>>2]=x;if((x|0)==(z|0)){break}if(((w?1:n&1)|0)==((x|0)>(z|0)|0)){break}O=(x+z|0)/2|0;c[B>>2]=O;c[D>>2]=O}}while(0);w=d+656+(C*28|0)+24|0;v=v?2:0;c[w>>2]=v;if(!n){break}c[w>>2]=v|4;o=4;continue a}}while(0);o=o+1|0;if((o|0)>=6){break}}l=48;n=0;m=0;c:while(1){o=KJ(f,l)|0;do{if((o|0)!=0){if((WI(f,o,2051,k)|0)!=0){break}o=c[j>>2]|0;if(m<<24>>24==0){n=o;m=1;break}if((o|0)!=(n|0)){j=0;break c}}}while(0);l=l+1|0;if(l>>>0>=58){j=1;break}}a[d+32|0]=j;dK(f,g)|0;i=h;return 0}function gU(a,b){a=a|0;b=b|0;var d=0;d=i;c[a+24>>2]=c[b+20>>2];c[a+4>>2]=c[b>>2];KU(a,b,0);KU(a,b,1);i=d;return}function hU(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;e=i;f=c[b+4>>2]|0;c[a+112>>2]=b;g=c[b+28>>2]|0;d=a+104|0;c[d>>2]=g;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];h=c[b+24>>2]|0;b=(h|0)==2;j=(h&-2|0)==2|0;j=b|(h|0)==4?j|2:j;h=(h|0)==1;j=h?j:j|4;b=b?j|8:j;do{if(!h){if((c[f+12>>2]&1|0)!=0){break}j=d;c[j>>2]=g;j=a+108|0;c[j>>2]=b;i=e;return 0}}while(0);h=g|1;j=d;c[j>>2]=h;j=a+108|0;c[j>>2]=b;i=e;return 0}function iU(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;j=i;k=xUxUxU>1]|0)+((m-n|0)>>>1)}l=c[(c[l+32>>2]|0)+28>>2]|0;if((l|0)<=(k|0)){break}A=j+8|0;b[A>>1]=(e[A>>1]|0)+((l-k|0)>>>1);break}else{if((n|0)>(m|0)){A=j+8|0;b[A>>1]=(e[A>>1]|0)+((n-m|0)>>>1)}l=c[(c[l+32>>2]|0)+28>>2]|0;if((l|0)>=(k|0)){break}A=j+8|0;b[A>>1]=(e[A>>1]|0)+((k-l|0)>>>1);break}}}while(0);j=j+52|0;if(j>>>0>=h>>>0){z=0;break}}i=g;return z|0}function GU(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;g=i;l=i;i=i+16|0;k=i;i=i+128|0;j=k;n=i;i=i+832|0;m=n;h=c[e+100>>2]|0;bX(k|0,0,124)|0;c[k>>2]=h;k=d+48|0;c[k>>2]=0;h=d+444|0;c[h>>2]=0;f=KJ(e,f)|0;a:do{if((f|0)!=0){if((YI(e,f,1)|0)!=0){break}f=c[e+84>>2]|0;if((b[f+110>>1]|0)<1){break}bX(n|0,0,832)|0;c[m+36>>2]=c[d+36>>2];c[m+12>>2]=65536;c[m+8>>2]=65536;c[m+20>>2]=0;c[m+16>>2]=0;c[m+4>>2]=e;c[m+24>>2]=0;c[m+28>>2]=0;c[j+112>>2]=m;c[j+104>>2]=0;if((xUu=u+x|0}if(!v){if((u|0)!=(c[s>>2]|0)){a[u]=32;u=u+1|0}$W(u|0,d|0,A|0)|0;if((A|0)!=0){s=0;do{v=u+s|0;if((a[v]|0)==32){a[v]=45}s=s+1|0;}while(s>>>0<A>>>0)}u=u+A|0}a[u]=0;r=c[r>>2]|0;c[g>>2]=r;if((r|0)!=0){Q=r;i=j;return Q|0}r=q+48|0;c[f+16>>2]=(c[r>>2]|0)+1;c[f+28>>2]=1;s=oJ(l,16,0,1,0,m)|0;c[f+32>>2]=s;u=c[g>>2]|0;if((u|0)!=0){Q=u;i=j;return Q|0}bX(s|0,0,16)|0;u=(c[q+44>>2]|0)+(c[q+40>>2]|0)&65535;b[s>>1]=u;o:do{if(t){p=189}else{if((c[q+72>>2]|0)==0){p=189;break}w=c[q+128>>2]|0;v=c[w+12>>2]|0;w=c[w+4>>2]|0;y=v+((3825651940%(w>>>0)|0)<<2)|0;x=c[y>>2]|0;if((x|0)==0){p=189;break}w=v+(w+ -1<<2)|0;while(1){d=c[x>>2]|0;if((a[d]|0)==65){if((Qc(d|0,283600)|0)==0){break}}x=y+ -4|0;y=x>>>0<v>>>0?w:x;x=c[y>>2]|0;if((x|0)==0){p=189;break o}}if((x|0)==0){p=189;break}v=c[q+80>>2]|0;w=c[x+4>>2]|0;if((v+(w<<4)|0)==0){p=189;break}u=(((c[v+(w<<4)+12>>2]|0)+5|0)/10|0)&65535;b[s+2>>1]=u}}while(0);if((p|0)==189){u=((u<<16>>16<<1|0)/3|0)&65535;b[s+2>>1]=u}p:do{if(t){p=200}else{if((c[q+72>>2]|0)==0){p=200;break}w=c[q+128>>2]|0;v=c[w+12>>2]|0;w=c[w+4>>2]|0;y=v+((1780881776%(w>>>0)|0)<<2)|0;x=c[y>>2]|0;if((x|0)==0){p=200;break}w=v+(w+ -1<<2)|0;while(1){d=c[x>>2]|0;if((a[d]|0)==80){if((Qc(d|0,283616)|0)==0){break}}x=y+ -4|0;y=x>>>0<v>>>0?w:x;x=c[y>>2]|0;if((x|0)==0){p=200;break p}}if((x|0)==0){p=200;break}v=c[q+80>>2]|0;w=c[x+4>>2]|0;if((v+(w<<4)|0)==0){p=200;break}u=(((c[v+(w<<4)+12>>2]|0)*460800|0)+36135|0)/72270|0;c[s+4>>2]=u}}while(0);if((p|0)==200){u=u<<16>>16<<6;c[s+4>>2]=u}do{if(t){c[s+12>>2]=u;p=236}else{w=q+72|0;if((c[w>>2]|0)==0){c[s+12>>2]=u;p=236;break}x=c[q+128>>2]|0;v=c[x+12>>2]|0;x=c[x+4>>2]|0;d=v+((486426170%(x>>>0)|0)<<2)|0;y=c[d>>2]|0;q:do{if((y|0)==0){v=0}else{x=v+(x+ -1<<2)|0;while(1){z=c[y>>2]|0;if((a[z]|0)==80){if((Qc(z|0,283632)|0)==0){break}}y=d+ -4|0;d=y>>>0<v>>>0?x:y;y=c[d>>2]|0;if((y|0)==0){v=0;break q}}if((y|0)==0){v=0;break}v=c[q+80>>2]|0;x=c[y+4>>2]|0;if((v+(x<<4)|0)==0){v=0;break}v=c[v+(x<<4)+12>>2]<<16>>10;c[s+12>>2]=v}}while(0);w=(c[w>>2]|0)==0;r:do{if(w){w=0;x=0}else{y=c[q+128>>2]|0;x=c[y+12>>2]|0;y=c[y+4>>2]|0;z=x+((2286220677%(y>>>0)|0)<<2)|0;d=c[z>>2]|0;s:do{if((d|0)==0){w=0}else{y=x+(y+ -1<<2)|0;do{A=c[d>>2]|0;if((a[A]|0)==82){if((Qc(A|0,283648)|0)==0){p=219;break}}d=z+ -4|0;z=d>>>0<x>>>0?y:d;d=c[z>>2]|0;}while((d|0)!=0);do{if((p|0)==219){if((d|0)==0){break}x=c[q+80>>2]|0;y=c[d+4>>2]|0;if((x+(y<<4)|0)==0){break}x=c[x+(y<<4)+12>>2]<<16>>16;if(w){w=x;x=0;break r}else{w=x;break s}}}while(0);if(w){w=0;x=0;break r}else{w=0}}}while(0);y=c[q+128>>2]|0;x=c[y+12>>2]|0;y=c[y+4>>2]|0;z=x+((2286220678%(y>>>0)|0)<<2)|0;d=c[z>>2]|0;if((d|0)==0){x=0;break}y=x+(y+ -1<<2)|0;while(1){A=c[d>>2]|0;if((a[A]|0)==82){if((Qc(A|0,283664)|0)==0){break}}d=z+ -4|0;z=d>>>0<x>>>0?y:d;d=c[z>>2]|0;if((d|0)==0){x=0;break r}}if((d|0)==0){x=0;break}x=c[q+80>>2]|0;y=c[d+4>>2]|0;if((x+(y<<4)|0)==0){x=0;break}x=c[x+(y<<4)+12>>2]&65535}}while(0);y=s+12|0;if((v|0)==0){c[y>>2]=u;if(x<<16>>16==0){p=236;break}u=(da(u,x<<16>>16)|0)/72|0;c[y>>2]=u}else{u=v}if((w|0)==0|x<<16>>16==0){p=236;break}c[s+8>>2]=(da(u,w)|0)/(x<<16>>16|0)|0}}while(0);if((p|0)==236){c[s+8>>2]=u}s=c[q+56>>2]|0;x=oJ(l,8,0,c[r>>2]|0,0,m)|0;u=f+144|0;c[u>>2]=x;v=c[g>>2]|0;if((v|0)!=0){Q=v;i=j;return Q|0}w=f+164|0;c[w>>2]=0;t:do{if((c[r>>2]|0)!=0){v=q+36|0;y=0;while(1){Q=s+(y*36|0)+4|0;c[x+(y<<3)>>2]=c[Q>>2];b[(c[u>>2]|0)+(y<<3)+4>>1]=y;if((c[Q>>2]|0)==(c[v>>2]|0)){c[w>>2]=y}y=y+1|0;if(y>>>0>=(c[r>>2]|0)>>>0){break t}x=c[u>>2]|0}}}while(0);u:do{if(!t){s=(c[q+72>>2]|0)==0;if(s){break}t=c[q+128>>2]|0;r=c[t+12>>2]|0;t=c[t+4>>2]|0;v=r+((3781719536%(t>>>0)|0)<<2)|0;u=c[v>>2]|0;if((u|0)==0){r=0}else{t=r+(t+ -1<<2)|0;while(1){w=c[u>>2]|0;if((a[w]|0)==67){if((Qc(w|0,283680)|0)==0){p=251;break}}u=v+ -4|0;v=u>>>0<r>>>0?t:u;u=c[v>>2]|0;if((u|0)==0){r=0;break}}do{if((p|0)==251){if((u|0)==0){r=0;break}r=(c[q+80>>2]|0)+(c[u+4>>2]<<4)|0}}while(0);if(s){break}}t=c[q+128>>2]|0;s=c[t+12>>2]|0;t=c[t+4>>2]|0;v=s+((1888187142%(t>>>0)|0)<<2)|0;u=c[v>>2]|0;if((u|0)==0){break}t=s+(t+ -1<<2)|0;while(1){w=c[u>>2]|0;if((a[w]|0)==67){if((Qc(w|0,283704)|0)==0){break}}u=v+ -4|0;v=u>>>0<s>>>0?t:u;u=c[v>>2]|0;if((u|0)==0){break u}}if((u|0)==0){break}s=c[q+80>>2]|0;t=c[u+4>>2]|0;if((r|0)==0|(s+(t<<4)|0)==0){break}if((c[r+4>>2]|0)!=1){break}if((c[s+(t<<4)+4>>2]|0)!=1){break}q=r+12|0;if((c[q>>2]|0)==0){break}r=c[s+(t<<4)+12>>2]|0;if((r|0)==0){break}n=f+132|0;c[n>>2]=aL(l,r,m)|0;o=c[g>>2]|0;if((o|0)!=0){Q=o;i=j;return Q|0}m=aL(l,c[q>>2]|0,m)|0;c[f+136>>2]=m;l=c[g>>2]|0;if((l|0)!=0){Q=l;i=j;return Q|0}Q=a[m]|0;do{if(Q<<24>>24==73|Q<<24>>24==105){Q=a[m+1|0]|0;if(!(Q<<24>>24==83|Q<<24>>24==115)){p=273;break}Q=a[m+2|0]|0;if(!(Q<<24>>24==79|Q<<24>>24==111)){p=273;break}l=m+3|0;if((Qc(l|0,283728)|0)!=0){if((Qc(l|0,283736)|0)!=0){p=273;break}if((Qc(c[n>>2]|0,283744)|0)!=0){p=273;break}}c[k>>2]=f;Q=h+4|0;P=Q;c[P>>2]=0;c[P+4>>2]=0;c[Q>>2]=1970170211;b[h+8>>1]=3;b[h+10>>1]=1}else{p=273}}while(0);if((p|0)==273){c[k>>2]=f;Q=h+4|0;c[Q>>2]=0;c[Q+4>>2]=0}Q=eK(283424,0,h,0)|0;c[g>>2]=Q;i=j;return Q|0}}while(0);c[n>>2]=f;c[o+4>>2]=1094995778;b[o+8>>1]=7;b[o+10>>1]=0;h=eK(283424,0,o,0)|0;c[g>>2]=h;if((c[f+36>>2]|0)==0){Q=h;i=j;return Q|0}c[f+92>>2]=c[c[f+40>>2]>>2];Q=h;i=j;return Q|0}else{Q=t;i=j;return Q|0}return 0}function RU(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;if((a|0)==0){i=b;return}e=c[a+100>>2]|0;d=a+140|0;VU(c[d>>2]|0);f=a+144|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=a+132|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=a+136|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=a+20|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=a+24|0;lJ(e,c[f>>2]|0);c[f>>2]=0;a=a+32|0;lJ(e,c[a>>2]|0);c[a>>2]=0;lJ(e,c[d>>2]|0);c[d>>2]=0;i=b;return}function SU(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;h=i;l=c[f>>2]|0;f=l+140|0;k=c[f>>2]|0;j=e[k+16518>>1]|0;if((l|0)==0){n=6;i=h;return n|0}if((c[l+16>>2]|0)>>>0<=g>>>0){n=6;i=h;return n|0}if((g|0)==0){n=c[l+164>>2]|0}else{n=g+ -1|0}r=c[k+56>>2]|0;k=b[r+(n*36|0)+10>>1]|0;q=b[r+(n*36|0)+12>>1]|0;m=b[r+(n*36|0)+16>>1]|0;g=b[r+(n*36|0)+20>>1]|0;o=c[r+(n*36|0)+24>>2]|0;p=c[r+(n*36|0)+28>>2]|0;l=d+76|0;c[l>>2]=e[r+(n*36|0)+14>>1]|0;n=d+80|0;c[n>>2]=q&65535;c[d+84>>2]=p;BJ(d,o);if((j|0)==4){a[d+94|0]=4}else if((j|0)==2){a[d+94|0]=3}else if((j|0)==8){a[d+94|0]=2;b[d+92>>1]=256}else if((j|0)==1){a[d+94|0]=1}c[d+72>>2]=1651078259;p=m<<16>>16;c[d+100>>2]=p;q=g<<16>>16;c[d+104>>2]=q;r=d+24|0;c[d+40>>2]=(k&65535)<<6;c[d+32>>2]=p<<6;c[d+36>>2]=q<<6;c[r>>2]=c[n>>2]<<6;c[d+28>>2]=c[l>>2]<<6;XJ(r,(e[(c[f>>2]|0)+6>>1]|0)<<6);r=0;i=h;return r|0}function TU(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,j=0;g=i;d=c[a>>2]|0;f=c[d+140>>2]|0;h=c[b+16>>2]|0;j=c[b+8>>2]|0;if((h|0)!=0){j=((da(j,h)|0)+36|0)/72|0}h=j+32>>6;b=c[b>>2]|0;if((b|0)==0){b=(c[(c[d+32>>2]|0)+12>>2]|0)+32>>6}else if((b|0)==1){b=(c[f+44>>2]|0)+(c[f+40>>2]|0)|0}else{j=7;i=g;return j|0}b=(h|0)==(b|0);if(!b){j=b?0:23;i=g;return j|0}YJ(d,0);c[a+24>>2]=c[f+40>>2]<<6;c[a+28>>2]=0-(c[f+44>>2]|0)<<6;c[a+36>>2]=(e[f+4>>1]|0)<<6;j=0;i=g;return j|0}function UU(a,b){a=a|0;b=b|0;var d=0,f=0,g=0;d=i;g=c[a>>2]|0;f=c[g+140>>2]|0;YJ(g,b);c[a+24>>2]=c[f+40>>2]<<6;c[a+28>>2]=0-(c[f+44>>2]|0)<<6;c[a+36>>2]=(e[f+4>>1]|0)<<6;i=d;return 0}function VU(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;if((a|0)==0){i=d;return}b=c[a+16520>>2]|0;lJ(b,c[a>>2]|0);c[a>>2]=0;f=a+128|0;g=c[f>>2]|0;if((g|0)!=0){e=c[g+4>>2]|0;g=g+12|0;if((e|0)>0){h=c[g>>2]|0;j=0;while(1){lJ(b,c[h>>2]|0);c[h>>2]=0;j=j+1|0;if((j|0)<(e|0)){h=h+4|0}else{break}}}lJ(b,c[g>>2]|0);c[g>>2]=0;lJ(b,c[f>>2]|0);c[f>>2]=0}f=a+84|0;lJ(b,c[f>>2]|0);c[f>>2]=0;f=a+72|0;g=c[f>>2]|0;e=a+80|0;j=c[e>>2]|0;if((g|0)!=0){h=0;do{if((c[j+(h<<4)+4>>2]|0)==1){lJ(b,c[j+(h<<4)+12>>2]|0);c[(c[e>>2]|0)+(h<<4)+12>>2]=0;j=c[e>>2]|0;g=c[f>>2]|0}h=h+1|0;}while(h>>>0<g>>>0)}lJ(b,j);c[e>>2]=0;e=a+56|0;g=a+52|0;if((c[g>>2]|0)!=0){f=c[e>>2]|0;h=0;while(1){lJ(b,c[f>>2]|0);c[f>>2]=0;j=f+24|0;lJ(b,c[j>>2]|0);c[j>>2]=0;h=h+1|0;if(h>>>0<(c[g>>2]|0)>>>0){f=f+36|0}else{break}}}h=a+68|0;g=a+64|0;if((c[g>>2]|0)!=0){f=c[h>>2]|0;j=0;while(1){lJ(b,c[f>>2]|0);c[f>>2]=0;k=f+24|0;lJ(b,c[k>>2]|0);c[k>>2]=0;j=j+1|0;if(j>>>0<(c[g>>2]|0)>>>0){f=f+36|0}else{break}}}lJ(b,c[e>>2]|0);c[e>>2]=0;lJ(b,c[h>>2]|0);c[h>>2]=0;g=a+104|0;f=a+112|0;if((c[f>>2]|0)!=0){e=c[g>>2]|0;h=0;while(1){lJ(b,c[e>>2]|0);c[e>>2]=0;k=e+24|0;lJ(b,c[k>>2]|0);c[k>>2]=0;h=h+1|0;if(h>>>0<(c[f>>2]|0)>>>0){e=e+36|0}else{break}}}lJ(b,c[g>>2]|0);c[g>>2]=0;g=c[a+16536>>2]|0;f=a+16544|0;if((g|0)>0){e=c[f>>2]|0;h=0;while(1){lJ(b,c[e>>2]|0);c[e>>2]=0;h=h+1|0;if((h|0)<(g|0)){e=e+4|0}else{break}}}lJ(b,c[f>>2]|0);c[f>>2]=0;e=a+16524|0;f=a+16528|0;if((c[f>>2]|0)!=0){g=0;a=c[e>>2]|0;while(1){lJ(b,c[a>>2]|0);c[a>>2]=0;if((c[a+4>>2]|0)==1){k=a+12|0;lJ(b,c[k>>2]|0);c[k>>2]=0}g=g+1|0;if(g>>>0<(c[f>>2]|0)>>>0){a=a+16|0}else{break}}}lJ(b,c[e>>2]|0);c[e>>2]=0;i=d;return}function WU(e,f,g,h,j){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=i;C=i;i=i+8|0;A=C;E=i;i=i+8|0;B=E;s=i;i=i+256|0;r=s;p=i;i=i+16|0;q=p;u=i;i=i+8|0;t=u;z=i;i=i+8|0;y=z;v=i;i=i+8|0;x=v;k=i;i=i+8|0;n=k;D=i;i=i+128|0;c[k>>2]=0;l=j+32|0;w=c[l>>2]|0;F=(w|0)==0;if(F){o=0}else{o=c[w+16520>>2]|0}if((iX(e|0,283840,7)|0)==0){if((c[(c[j+36>>2]|0)+8>>2]|0)==0|F){F=k;F=c[F>>2]|0;i=g;return F|0}l=e+7|0;if((a[l]|0)==0){j=f+ -7|0}else{j=f+ -8|0;l=e+8|0}F=c[w+16520>>2]|0;c[v>>2]=0;m=w+88|0;o=c[m>>2]|0;n=j+1|0;p=w+84|0;o=oJ(F,1,o,o+n|0,c[p>>2]|0,x)|0;c[p>>2]=o;p=c[v>>2]|0;if((p|0)==0){p=c[m>>2]|0;$W(o+p|0,l|0,j|0)|0;a[o+(p+j)|0]=10;c[m>>2]=(c[m>>2]|0)+n;p=c[v>>2]|0}c[k>>2]=p;F=k;F=c[F>>2]|0;i=g;return F|0}v=c[j>>2]|0;if((v&1|0)==0){p=j+8248|0;o=c[p>>2]|0;if((iX(e|0,283848,9)|0)!=0){c[k>>2]=176;F=k;F=c[F>>2]|0;i=g;return F|0}c[j>>2]=1;c[l>>2]=0;q=jJ(o,16548,n)|0;if((c[k>>2]|0)!=0){F=k;F=c[F>>2]|0;i=g;return F|0}c[l>>2]=q;c[q+16520>>2]=c[p>>2];c[p>>2]=0;p=q+16532|0;c[z>>2]=0;c[q+16536>>2]=241;c[p>>2]=80;c[q+16540>>2]=0;c[q+16544>>2]=oJ(o,4,0,241,0,y)|0;F=c[z>>2]|0;c[k>>2]=F;if((F|0)==0){r=0;q=283864}else{F=k;F=c[F>>2]|0;i=g;return F|0}while(1){F=XUXU(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;h=i;k=i;i=i+8|0;n=k;g=i;i=i+8|0;m=g;j=e+12|0;p=c[j>>2]|0;o=a[b]|0;if(o<<24>>24==0){q=0}else{l=o;r=b;q=0;while(1){r=r+1|0;q=(q*31|0)+(l<<24>>24)|0;l=a[r]|0;if(l<<24>>24==0){break}else{}}}l=e+4|0;t=c[l>>2]|0;s=p+(((q>>>0)%(t>>>0)|0)<<2)|0;r=c[s>>2]|0;a:do{if((r|0)!=0){q=p+(t+ -1<<2)|0;do{r=c[r>>2]|0;if((a[r]|0)==o<<24>>24){if((Qc(r|0,b|0)|0)==0){break a}}r=s+ -4|0;s=r>>>0<p>>>0?q:r;r=c[s>>2]|0;}while((r|0)!=0)}}while(0);c[g>>2]=0;o=c[s>>2]|0;if((o|0)!=0){c[o+4>>2]=d;u=g;u=c[u>>2]|0;i=h;return u|0}m=jJ(f,8,m)|0;if((c[g>>2]|0)!=0){u=g;u=c[u>>2]|0;i=h;return u|0}c[s>>2]=m;c[m>>2]=b;c[m+4>>2]=d;d=e+8|0;b=c[d>>2]|0;do{if((b|0)>=(c[e>>2]|0)){b=c[j>>2]|0;m=c[l>>2]|0;c[k>>2]=0;u=m<<1;c[l>>2]=u;c[e>>2]=(u|0)/3|0;c[j>>2]=oJ(f,4,0,u,0,n)|0;e=c[k>>2]|0;if((e|0)!=0){c[g>>2]=e;u=g;u=c[u>>2]|0;i=h;return u|0}if((m|0)>0){e=b;o=0;while(1){n=c[e>>2]|0;if((n|0)!=0){q=c[n>>2]|0;r=c[j>>2]|0;p=a[q]|0;if(p<<24>>24==0){t=0}else{u=p;s=q;t=0;while(1){s=s+1|0;t=(t*31|0)+(u<<24>>24)|0;u=a[s]|0;if(u<<24>>24==0){break}else{}}}s=c[l>>2]|0;u=r+(((t>>>0)%(s>>>0)|0)<<2)|0;t=c[u>>2]|0;b:do{if((t|0)!=0){s=r+(s+ -1<<2)|0;do{t=c[t>>2]|0;if((a[t]|0)==p<<24>>24){if((Qc(t|0,q|0)|0)==0){break b}}t=u+ -4|0;u=t>>>0<r>>>0?s:t;t=c[u>>2]|0;}while((t|0)!=0)}}while(0);c[u>>2]=n}o=o+1|0;if((o|0)<(m|0)){e=e+4|0}else{break}}}lJ(f,b);u=c[k>>2]|0;c[g>>2]=u;if((u|0)==0){b=c[d>>2]|0;break}else{u=g;u=c[u>>2]|0;i=h;return u|0}}}while(0);c[d>>2]=b+1;u=g;u=c[u>>2]|0;i=h;return u|0}function YU(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+8|0;l=k;o=i;i=i+8|0;p=o;r=i;i=i+32|0;n=r;j=b+8|0;c[j>>2]=0;if((g|0)==0){u=0;i=h;return u|0}s=a[f]|0;if(s<<24>>24==0){u=0;i=h;return u|0}if((e|0)==0){u=6;i=h;return u|0}q=a[e]|0;if(q<<24>>24==0){u=6;i=h;return u|0}bX(r|0,0,32)|0;r=0;while(1){if(q<<24>>24==43){e=e+1|0;if((a[e]|0)==0){r=1}else{m=9}}else if(q<<24>>24==0){break}else{e=e+1|0;m=9}if((m|0)==9){m=0;t=q&255;u=n+(t>>>3)|0;a[u]=1<<(t&7)|d[u]}q=a[e]|0}e=f+g|0;q=b+4|0;a:do{if((g|0)>0){g=b+12|0;r=(r|0)==0;u=0;t=f;b:while(1){if(s<<24>>24==0){t=u;break a}else{f=t}while(1){s=s&255;u=f+1|0;if((a[n+(s>>>3)|0]&1<<(s&7)|0)!=0){break}s=a[u]|0;if(s<<24>>24==0){f=u;break}else{f=u}}u=c[j>>2]|0;do{if((u|0)==(c[q>>2]|0)){c[o>>2]=0;if((u|0)==-1){u=-1;break}s=u+4+(u>>>1)|0;if((u|0)==536870911){break b}s=s>>>0<u>>>0|s>>>0>536870911?536870911:s;c[b>>2]=oJ(c[g>>2]|0,4,u,s,c[b>>2]|0,p)|0;u=c[o>>2]|0;if((u|0)!=0){m=41;break b}c[q>>2]=s;u=c[j>>2]|0}}while(0);c[j>>2]=u+1;c[(c[b>>2]|0)+(u<<2)>>2]=f>>>0>t>>>0?t:285600;s=a[f]|0;t=s<<24>>24==0;do{if(r){if(t){s=0;t=0;break}m=f+1|0;a[f]=0;t=a[m]|0;f=m;m=29}else{if(t){s=0;t=0;break}else{u=f}while(1){t=s&255;if((a[n+(t>>>3)|0]&1<<(t&7)|0)==0){break}a[u]=0;u=u+1|0;s=a[u]|0;if(s<<24>>24==0){s=0;break}}if(u>>>0>f>>>0){t=s;f=u;m=29}else{t=0;f=u}}}while(0);if((m|0)==29){m=0;s=t;t=t<<24>>24==0|0}if(f>>>0<e>>>0){u=t;t=f}else{break a}}if((m|0)==41){i=h;return u|0}c[o>>2]=64;u=64;i=h;return u|0}else{t=0}}while(0);n=(c[j>>2]|0)+t|0;m=c[q>>2]|0;do{if(n>>>0>=m>>>0){c[k>>2]=0;if(m>>>0>=(n+1|0)>>>0){break}n=m+4+(m>>>1)|0;if((m|0)==536870911){c[k>>2]=64;u=64;i=h;return u|0}n=n>>>0<m>>>0|n>>>0>536870911?536870911:n;c[b>>2]=oJ(c[b+12>>2]|0,4,m,n,c[b>>2]|0,l)|0;k=c[k>>2]|0;if((k|0)==0){c[q>>2]=n;break}else{u=k;i=h;return u|0}}}while(0);if((t|0)!=0){u=c[j>>2]|0;c[j>>2]=u+1;c[(c[b>>2]|0)+(u<<2)>>2]=285600}c[(c[b>>2]|0)+(c[j>>2]<<2)>>2]=0;u=0;i=h;return u|0}function ZU(d,e,f,g,h){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,s=0,t=0;f=i;m=i;i=i+8|0;l=m;o=i;i=i+8|0;n=o;k=i;i=i+128|0;if((iX(d|0,285608,13)|0)==0){d=h+32|0;p=c[d>>2]|0;a:do{if((p|0)==0){j=11}else{if((c[p+72>>2]|0)==0){j=11;break}q=c[p+128>>2]|0;e=c[q+12>>2]|0;q=c[q+4>>2]|0;s=e+((1895527114%(q>>>0)|0)<<2)|0;r=c[s>>2]|0;if((r|0)==0){j=11;break}q=e+(q+ -1<<2)|0;while(1){t=c[r>>2]|0;if((a[t]|0)==70){if((Qc(t|0,285264)|0)==0){break}}r=s+ -4|0;s=r>>>0<e>>>0?q:r;r=c[s>>2]|0;if((r|0)==0){j=11;break a}}if((r|0)==0){j=11;break}if(((c[p+80>>2]|0)+(c[r+4>>2]<<4)|0)==0){j=11}}}while(0);do{if((j|0)==11){c[p+40>>2]=b[p+12>>1]|0;c[o>>2]=b[(c[d>>2]|0)+12>>1]|0;Lb(k|0,285256,n|0)|0;e=_U(c[d>>2]|0,285264,k)|0;if((e|0)==0){b[(c[d>>2]|0)+16516>>1]=1;p=c[d>>2]|0;break}else{t=e;i=f;return t|0}}}while(0);b:do{if((p|0)==0){j=22}else{if((c[p+72>>2]|0)==0){j=22;break}n=c[p+128>>2]|0;e=c[n+12>>2]|0;n=c[n+4>>2]|0;q=e+((908209322%(n>>>0)|0)<<2)|0;o=c[q>>2]|0;if((o|0)==0){j=22;break}n=e+(n+ -1<<2)|0;while(1){r=c[o>>2]|0;if((a[r]|0)==70){if((Qc(r|0,285280)|0)==0){break}}o=q+ -4|0;q=o>>>0<e>>>0?n:o;o=c[q>>2]|0;if((o|0)==0){j=22;break b}}if((o|0)==0){j=22;break}if(((c[p+80>>2]|0)+(c[o+4>>2]<<4)|0)==0){j=22}}}while(0);do{if((j|0)==22){c[p+44>>2]=b[p+14>>1]|0;c[m>>2]=b[(c[d>>2]|0)+14>>1]|0;Lb(k|0,285256,l|0)|0;j=_U(c[d>>2]|0,285280,k)|0;if((j|0)==0){b[(c[d>>2]|0)+16516>>1]=1;break}else{t=j;i=f;return t|0}}}while(0);c[h>>2]=c[h>>2]&-17;c[g>>2]=42;t=0;i=f;return t|0}if((iX(d|0,285624,21)|0)==0){t=0;i=f;return t|0}if((iX(d|0,283840,7)|0)==0){g=d+7|0;if((a[g]|0)!=0){a[g]=0;g=d+8|0}t=_U(c[h+32>>2]|0,d,g)|0;i=f;return t|0}g=h+32|0;l=c[g>>2]|0;k=d;while(1){m=a[k]|0;if(m<<24>>24==32|m<<24>>24==9){j=33;break}else if(m<<24>>24==0){m=-1;break}k=k+1|0}if((j|0)==33){a[k]=0;m=m<<24>>24}c:do{if((d|0)==0){j=0}else{n=a[d]|0;if(n<<24>>24==0){j=0;break}j=c[l+16544>>2]|0;q=n;p=d;o=0;do{p=p+1|0;o=(o*31|0)+(q<<24>>24)|0;q=a[p]|0;}while(q<<24>>24!=0);r=c[l+16536>>2]|0;q=j+(((o>>>0)%(r>>>0)|0)<<2)|0;p=c[q>>2]|0;if((p|0)==0){j=0;break}o=j+(r+ -1<<2)|0;while(1){r=c[p>>2]|0;if((a[r]|0)==n<<24>>24){if((Qc(r|0,d|0)|0)==0){break}}p=q+ -4|0;q=p>>>0<j>>>0?o:p;p=c[q>>2]|0;if((p|0)==0){j=0;break c}}if((p|0)==0){j=0;break}j=c[p+4>>2]|0;if(j>>>0>82){j=(c[l+16524>>2]|0)+(j+ -83<<4)|0;break}else{j=283864+(j<<4)|0;break}}}while(0);if((m|0)!=-1){a[k]=m}do{if((j|0)!=0){if((c[j+4>>2]|0)==1){break}j=h+8232|0;d=YU(j,285208,d,e)|0;if((d|0)!=0){t=d;i=f;return t|0}k=c[j>>2]|0;d=c[k>>2]|0;h=h+8240|0;e=c[h>>2]|0;do{if((e|0)==0){e=0}else{if(e>>>0<2){c[h>>2]=0;e=0;break}else{e=0;l=1}while(1){c[k+(e<<2)>>2]=c[k+(l<<2)>>2];l=l+1|0;k=c[h>>2]|0;if(l>>>0>=k>>>0){break}k=c[j>>2]|0;e=e+1|0}o=k+ -1|0;c[h>>2]=o;if((o|0)==0){e=0;break}e=c[c[j>>2]>>2]|0;l=e;k=1;n=0;while(1){m=a[l]|0;if(m<<24>>24!=0){o=n;while(1){l=l+1|0;n=o+1|0;a[e+o|0]=m;m=a[l]|0;if(m<<24>>24==0){break}else{o=n}}o=c[h>>2]|0}if(k>>>0<o>>>0){a[e+n|0]=32;o=c[h>>2]|0;n=n+1|0}if(k>>>0>=o>>>0){break}l=c[(c[j>>2]|0)+(k<<2)>>2]|0;k=k+1|0}if((e|0)==285600){e=285600;break}a[e+n|0]=0}}while(0);t=_U(c[g>>2]|0,d,e)|0;i=f;return t|0}}while(0);a[k]=0;while(1){l=k+1|0;j=a[l]|0;if(j<<24>>24==32|j<<24>>24==9){k=l}else{break}}h=d+e|0;j=j<<24>>24==34?k+2|0:l;d:do{if(h>>>0>j>>>0){while(1){h=h+ -1|0;e=a[h]|0;if(e<<24>>24==34){break}else if(!(e<<24>>24==9|e<<24>>24==32)){break d}a[h]=0;if(h>>>0<=j>>>0){break d}}a[h]=0}}while(0);t=_U(c[g>>2]|0,d,j)|0;i=f;return t|0}function _U(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;h=i;m=i;i=i+8|0;n=m;g=i;i=i+8|0;l=g;j=c[b+16520>>2]|0;c[g>>2]=0;k=b+128|0;r=c[k>>2]|0;q=c[r+12>>2]|0;p=a[e]|0;t=p<<24>>24==0;if(t){s=0}else{v=p;u=e;s=0;while(1){u=u+1|0;s=(s*31|0)+(v<<24>>24)|0;v=a[u]|0;if(v<<24>>24==0){break}else{}}}r=c[r+4>>2]|0;u=q+(((s>>>0)%(r>>>0)|0)<<2)|0;s=c[u>>2]|0;a:do{if((s|0)!=0){r=q+(r+ -1<<2)|0;while(1){v=c[s>>2]|0;if((a[v]|0)==p<<24>>24){if((Qc(v|0,e|0)|0)==0){break}}s=u+ -4|0;u=s>>>0<q>>>0?r:s;s=c[u>>2]|0;if((s|0)==0){break a}}if((s|0)==0){break}b=c[b+80>>2]|0;k=c[s+4>>2]|0;e=c[b+(k<<4)+4>>2]|0;if((e|0)==3){b:do{if((f|0)==0){m=0}else{l=a[f]|0;e=285544;do{if(l<<24>>24==0){m=0;break b}else if(l<<24>>24==48){z=a[f+1|0]|0;if(!(z<<24>>24==88|z<<24>>24==120)){l=48;j=10;e=285544;break}f=f+2|0;l=a[f]|0;j=16;e=285512}else{j=10}}while(0);l=l<<24>>24;if((d[e+(l>>3)|0]&1<<(l&7)|0)==0){m=0;break}else{m=0}do{z=da(m,j)|0;m=(d[285344+l|0]|0)+z|0;f=f+1|0;l=a[f]|0;}while((1<<(l&7)&d[e+(l>>3)|0]|0)!=0)}}while(0);c[b+(k<<4)+12>>2]=m;z=g;z=c[z>>2]|0;i=h;return z|0}else if((e|0)==1){b=b+(k<<4)+12|0;lJ(j,c[b>>2]|0);c[b>>2]=0;if((f|0)==0){z=g;z=c[z>>2]|0;i=h;return z|0}if((a[f]|0)==0){z=g;z=c[z>>2]|0;i=h;return z|0}c[b>>2]=aL(j,f,l)|0;z=g;z=c[z>>2]|0;i=h;return z|0}else if((e|0)==2){do{if((f|0)==0){j=0}else{j=a[f]|0;if(j<<24>>24==0){j=0;break}j=j<<24>>24==45;l=j?f+1|0:f;m=a[l]|0;f=285544;do{if(m<<24>>24==48){z=a[l+1|0]|0;if(!(z<<24>>24==88|z<<24>>24==120)){m=48;e=10;f=285544;break}l=l+2|0;m=a[l]|0;e=16;f=285512}else{e=10}}while(0);m=m<<24>>24;if((d[f+(m>>3)|0]&1<<(m&7)|0)==0){n=0}else{n=0;while(1){n=da(n,e)|0;n=(d[285344+m|0]|0)+n|0;l=l+1|0;m=a[l]|0;if((1<<(m&7)&d[f+(m>>3)|0]|0)==0){break}else{}}}j=j?0-n|0:n}}while(0);c[b+(k<<4)+12>>2]=j;z=g;z=c[z>>2]|0;i=h;return z|0}else{z=g;z=c[z>>2]|0;i=h;return z|0}}}while(0);s=b+16532|0;r=b+16544|0;u=c[r>>2]|0;if(t){w=0}else{w=p;q=e;v=0;while(1){q=q+1|0;v=(v*31|0)+(w<<24>>24)|0;w=a[q]|0;if(w<<24>>24==0){w=v;break}else{}}}q=b+16536|0;v=c[q>>2]|0;y=u+(((w>>>0)%(v>>>0)|0)<<2)|0;x=c[y>>2]|0;c:do{if((x|0)==0){o=38}else{w=u+(v+ -1<<2)|0;while(1){z=c[x>>2]|0;if((a[z]|0)==p<<24>>24){if((Qc(z|0,e|0)|0)==0){break}}x=y+ -4|0;y=x>>>0<u>>>0?w:x;x=c[y>>2]|0;if((x|0)==0){o=38;break c}}if((x|0)==0){o=38}}}while(0);d:do{if((o|0)==38){c[m>>2]=0;if(t){x=0}else{w=p;t=e;x=0;while(1){t=t+1|0;x=(x*31|0)+(w<<24>>24)|0;w=a[t]|0;if(w<<24>>24==0){break}else{}}}w=u+(((x>>>0)%(v>>>0)|0)<<2)|0;x=c[w>>2]|0;e:do{if((x|0)==0){o=46}else{t=u+(v+ -1<<2)|0;v=x;while(1){x=c[v>>2]|0;if((a[x]|0)==p<<24>>24){if((Qc(x|0,e|0)|0)==0){break}}v=w+ -4|0;w=v>>>0<u>>>0?t:v;v=c[w>>2]|0;if((v|0)==0){o=46;break e}}if((v|0)==0){o=46}}}while(0);f:do{if((o|0)==46){o=b+16528|0;p=c[o>>2]|0;w=b+16524|0;p=oJ(j,16,p,p+1|0,c[w>>2]|0,n)|0;c[w>>2]=p;w=c[m>>2]|0;do{if((w|0)==0){u=c[o>>2]|0;v=p+(u<<4)|0;bX(v|0,0,16)|0;t=(ZW(e|0)|0)+1|0;n=oJ(j,1,0,t,0,n)|0;c[v>>2]=n;w=c[m>>2]|0;if((w|0)!=0){break}$W(n|0,e|0,t|0)|0;c[p+(u<<4)+4>>2]=1;c[p+(u<<4)+8>>2]=0;w=XUXU>>16&2;f=14-(u|v|f)+(w<<f>>>15)|0;f=n>>>(f+7|0)&1|f<<1}}while(0);g=291592+(f<<2)|0;c[d+28>>2]=f;c[d+20>>2]=0;c[d+16>>2]=0;a=c[291292>>2]|0;h=1<<f;c:do{if((a&h|0)==0){c[291292>>2]=a|h;c[g>>2]=d;c[d+24>>2]=g;c[d+12>>2]=d;c[d+8>>2]=d}else{g=c[g>>2]|0;if((f|0)==31){f=0}else{f=25-(f>>>1)|0}d:do{if((c[g+4>>2]&-8|0)==(n|0)){e=g}else{f=n<<f;while(1){h=g+16+(f>>>31<<2)|0;a=c[h>>2]|0;if((a|0)==0){break}if((c[a+4>>2]&-8|0)==(n|0)){e=a;break d}else{f=f<<1;g=a}}if(h>>>0<(c[291304>>2]|0)>>>0){tc()}else{c[h>>2]=d;c[d+24>>2]=g;c[d+12>>2]=d;c[d+8>>2]=d;break c}}}while(0);g=e+8|0;f=c[g>>2]|0;h=c[291304>>2]|0;if(e>>>0<h>>>0){tc()}if(f>>>0<h>>>0){tc()}else{c[f+12>>2]=d;c[g>>2]=d;c[d+8>>2]=f;c[d+12>>2]=e;c[d+24>>2]=0;break}}}while(0);w=(c[291320>>2]|0)+ -1|0;c[291320>>2]=w;if((w|0)==0){d=291744|0}else{i=b;return}while(1){d=c[d>>2]|0;if((d|0)==0){break}else{d=d+8|0}}c[291320>>2]=-1;i=b;return}function CW(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;if((a|0)==0){f=AW(b)|0;i=d;return f|0}if(b>>>0>4294967231){c[(Pc()|0)>>2]=12;f=0;i=d;return f|0}if(b>>>0<11){e=16}else{e=b+11&-8}e=DW(a+ -8|0,e)|0;if((e|0)!=0){f=e+8|0;i=d;return f|0}e=AW(b)|0;if((e|0)==0){f=0;i=d;return f|0}f=c[a+ -4>>2]|0;f=(f&-8)-((f&3|0)==0?8:4)|0;$W(e|0,a|0,(f>>>0<b>>>0?f:b)|0)|0;BW(a);f=e;i=d;return f|0}function DW(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;d=i;e=a+4|0;g=c[e>>2]|0;k=g&-8;f=a+k|0;l=c[291304>>2]|0;if(a>>>0<l>>>0){tc()}n=g&3;if(!((n|0)!=1&a>>>0<f>>>0)){tc()}h=a+(k|4)|0;o=c[h>>2]|0;if((o&1|0)==0){tc()}if((n|0)==0){if(b>>>0<256){q=0;i=d;return q|0}do{if(k>>>0>=(b+4|0)>>>0){if((k-b|0)>>>0>c[291768>>2]<<1>>>0){break}i=d;return a|0}}while(0);q=0;i=d;return q|0}if(k>>>0>=b>>>0){f=k-b|0;if(f>>>0<=15){q=a;i=d;return q|0}c[e>>2]=g&1|b|2;c[a+(b+4)>>2]=f|3;c[h>>2]=c[h>>2]|1;EW(a+b|0,f);q=a;i=d;return q|0}if((f|0)==(c[291312>>2]|0)){f=(c[291300>>2]|0)+k|0;if(f>>>0<=b>>>0){q=0;i=d;return q|0}q=f-b|0;c[e>>2]=g&1|b|2;c[a+(b+4)>>2]=q|1;c[291312>>2]=a+b;c[291300>>2]=q;q=a;i=d;return q|0}if((f|0)==(c[291308>>2]|0)){h=(c[291296>>2]|0)+k|0;if(h>>>0<b>>>0){q=0;i=d;return q|0}f=h-b|0;if(f>>>0>15){c[e>>2]=g&1|b|2;c[a+(b+4)>>2]=f|1;c[a+h>>2]=f;e=a+(h+4)|0;c[e>>2]=c[e>>2]&-2;e=a+b|0}else{c[e>>2]=g&1|h|2;e=a+(h+4)|0;c[e>>2]=c[e>>2]|1;e=0;f=0}c[291296>>2]=f;c[291308>>2]=e;q=a;i=d;return q|0}if((o&2|0)!=0){q=0;i=d;return q|0}h=(o&-8)+k|0;if(h>>>0<b>>>0){q=0;i=d;return q|0}g=h-b|0;n=o>>>3;a:do{if(o>>>0<256){j=c[a+(k+8)>>2]|0;k=c[a+(k+12)>>2]|0;o=291328+(n<<1<<2)|0;do{if((j|0)!=(o|0)){if(j>>>0<l>>>0){tc()}if((c[j+12>>2]|0)==(f|0)){break}tc()}}while(0);if((k|0)==(j|0)){c[72822]=c[72822]&~(1<<n);break}do{if((k|0)==(o|0)){m=k+8|0}else{if(k>>>0<l>>>0){tc()}l=k+8|0;if((c[l>>2]|0)==(f|0)){m=l;break}tc()}}while(0);c[j+12>>2]=k;c[m>>2]=j}else{m=c[a+(k+24)>>2]|0;o=c[a+(k+12)>>2]|0;do{if((o|0)==(f|0)){n=a+(k+20)|0;o=c[n>>2]|0;if((o|0)==0){n=a+(k+16)|0;o=c[n>>2]|0;if((o|0)==0){j=0;break}}while(1){p=o+20|0;q=c[p>>2]|0;if((q|0)!=0){o=q;n=p;continue}p=o+16|0;q=c[p>>2]|0;if((q|0)==0){break}else{n=p;o=q}}if(n>>>0<l>>>0){tc()}else{c[n>>2]=0;j=o;break}}else{n=c[a+(k+8)>>2]|0;if(n>>>0<l>>>0){tc()}l=n+12|0;if((c[l>>2]|0)!=(f|0)){tc()}p=o+8|0;if((c[p>>2]|0)==(f|0)){c[l>>2]=o;c[p>>2]=n;j=o;break}else{tc()}}}while(0);if((m|0)==0){break}n=a+(k+28)|0;l=291592+(c[n>>2]<<2)|0;do{if((f|0)==(c[l>>2]|0)){c[l>>2]=j;if((j|0)!=0){break}c[291292>>2]=c[291292>>2]&~(1<<c[n>>2]);break a}else{if(m>>>0<(c[291304>>2]|0)>>>0){tc()}l=m+16|0;if((c[l>>2]|0)==(f|0)){c[l>>2]=j}else{c[m+20>>2]=j}if((j|0)==0){break a}}}while(0);if(j>>>0<(c[291304>>2]|0)>>>0){tc()}c[j+24>>2]=m;f=c[a+(k+16)>>2]|0;do{if((f|0)!=0){if(f>>>0<(c[291304>>2]|0)>>>0){tc()}else{c[j+16>>2]=f;c[f+24>>2]=j;break}}}while(0);f=c[a+(k+20)>>2]|0;if((f|0)==0){break}if(f>>>0<(c[291304>>2]|0)>>>0){tc()}else{c[j+20>>2]=f;c[f+24>>2]=j;break}}}while(0);if(g>>>0<16){c[e>>2]=h|c[e>>2]&1|2;q=a+(h|4)|0;c[q>>2]=c[q>>2]|1;q=a;i=d;return q|0}else{c[e>>2]=c[e>>2]&1|b|2;c[a+(b+4)>>2]=g|3;q=a+(h|4)|0;c[q>>2]=c[q>>2]|1;EW(a+b|0,g);q=a;i=d;return q|0}return 0}function EW(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;d=i;h=a+b|0;l=c[a+4>>2]|0;a:do{if((l&1|0)==0){p=c[a>>2]|0;if((l&3|0)==0){i=d;return}l=a+(0-p)|0;m=p+b|0;q=c[291304>>2]|0;if(l>>>0<q>>>0){tc()}if((l|0)==(c[291308>>2]|0)){e=a+(b+4)|0;if((c[e>>2]&3|0)!=3){e=l;n=m;break}c[291296>>2]=m;c[e>>2]=c[e>>2]&-2;c[a+(4-p)>>2]=m|1;c[h>>2]=m;i=d;return}s=p>>>3;if(p>>>0<256){e=c[a+(8-p)>>2]|0;n=c[a+(12-p)>>2]|0;o=291328+(s<<1<<2)|0;do{if((e|0)!=(o|0)){if(e>>>0<q>>>0){tc()}if((c[e+12>>2]|0)==(l|0)){break}tc()}}while(0);if((n|0)==(e|0)){c[72822]=c[72822]&~(1<<s);e=l;n=m;break}do{if((n|0)==(o|0)){r=n+8|0}else{if(n>>>0<q>>>0){tc()}o=n+8|0;if((c[o>>2]|0)==(l|0)){r=o;break}tc()}}while(0);c[e+12>>2]=n;c[r>>2]=e;e=l;n=m;break}r=c[a+(24-p)>>2]|0;t=c[a+(12-p)>>2]|0;do{if((t|0)==(l|0)){u=16-p|0;s=a+(u+4)|0;t=c[s>>2]|0;if((t|0)==0){s=a+u|0;t=c[s>>2]|0;if((t|0)==0){o=0;break}}while(1){u=t+20|0;v=c[u>>2]|0;if((v|0)!=0){t=v;s=u;continue}u=t+16|0;v=c[u>>2]|0;if((v|0)==0){break}else{s=u;t=v}}if(s>>>0<q>>>0){tc()}else{c[s>>2]=0;o=t;break}}else{s=c[a+(8-p)>>2]|0;if(s>>>0<q>>>0){tc()}u=s+12|0;if((c[u>>2]|0)!=(l|0)){tc()}q=t+8|0;if((c[q>>2]|0)==(l|0)){c[u>>2]=t;c[q>>2]=s;o=t;break}else{tc()}}}while(0);if((r|0)==0){e=l;n=m;break}q=a+(28-p)|0;s=291592+(c[q>>2]<<2)|0;do{if((l|0)==(c[s>>2]|0)){c[s>>2]=o;if((o|0)!=0){break}c[291292>>2]=c[291292>>2]&~(1<<c[q>>2]);e=l;n=m;break a}else{if(r>>>0<(c[291304>>2]|0)>>>0){tc()}q=r+16|0;if((c[q>>2]|0)==(l|0)){c[q>>2]=o}else{c[r+20>>2]=o}if((o|0)==0){e=l;n=m;break a}}}while(0);if(o>>>0<(c[291304>>2]|0)>>>0){tc()}c[o+24>>2]=r;p=16-p|0;q=c[a+p>>2]|0;do{if((q|0)!=0){if(q>>>0<(c[291304>>2]|0)>>>0){tc()}else{c[o+16>>2]=q;c[q+24>>2]=o;break}}}while(0);p=c[a+(p+4)>>2]|0;if((p|0)==0){e=l;n=m;break}if(p>>>0<(c[291304>>2]|0)>>>0){tc()}else{c[o+20>>2]=p;c[p+24>>2]=o;e=l;n=m;break}}else{e=a;n=b}}while(0);l=c[291304>>2]|0;if(h>>>0<l>>>0){tc()}m=a+(b+4)|0;o=c[m>>2]|0;do{if((o&2|0)==0){if((h|0)==(c[291312>>2]|0)){v=(c[291300>>2]|0)+n|0;c[291300>>2]=v;c[291312>>2]=e;c[e+4>>2]=v|1;if((e|0)!=(c[291308>>2]|0)){i=d;return}c[291308>>2]=0;c[291296>>2]=0;i=d;return}if((h|0)==(c[291308>>2]|0)){v=(c[291296>>2]|0)+n|0;c[291296>>2]=v;c[291308>>2]=e;c[e+4>>2]=v|1;c[e+v>>2]=v;i=d;return}n=(o&-8)+n|0;m=o>>>3;b:do{if(o>>>0<256){j=c[a+(b+8)>>2]|0;a=c[a+(b+12)>>2]|0;b=291328+(m<<1<<2)|0;do{if((j|0)!=(b|0)){if(j>>>0<l>>>0){tc()}if((c[j+12>>2]|0)==(h|0)){break}tc()}}while(0);if((a|0)==(j|0)){c[72822]=c[72822]&~(1<<m);break}do{if((a|0)==(b|0)){k=a+8|0}else{if(a>>>0<l>>>0){tc()}b=a+8|0;if((c[b>>2]|0)==(h|0)){k=b;break}tc()}}while(0);c[j+12>>2]=a;c[k>>2]=j}else{k=c[a+(b+24)>>2]|0;m=c[a+(b+12)>>2]|0;do{if((m|0)==(h|0)){o=a+(b+20)|0;m=c[o>>2]|0;if((m|0)==0){o=a+(b+16)|0;m=c[o>>2]|0;if((m|0)==0){j=0;break}}while(1){p=m+20|0;q=c[p>>2]|0;if((q|0)!=0){o=p;m=q;continue}p=m+16|0;q=c[p>>2]|0;if((q|0)==0){break}else{m=q;o=p}}if(o>>>0<l>>>0){tc()}else{c[o>>2]=0;j=m;break}}else{o=c[a+(b+8)>>2]|0;if(o>>>0<l>>>0){tc()}p=o+12|0;if((c[p>>2]|0)!=(h|0)){tc()}l=m+8|0;if((c[l>>2]|0)==(h|0)){c[p>>2]=m;c[l>>2]=o;j=m;break}else{tc()}}}while(0);if((k|0)==0){break}m=a+(b+28)|0;l=291592+(c[m>>2]<<2)|0;do{if((h|0)==(c[l>>2]|0)){c[l>>2]=j;if((j|0)!=0){break}c[291292>>2]=c[291292>>2]&~(1<<c[m>>2]);break b}else{if(k>>>0<(c[291304>>2]|0)>>>0){tc()}l=k+16|0;if((c[l>>2]|0)==(h|0)){c[l>>2]=j}else{c[k+20>>2]=j}if((j|0)==0){break b}}}while(0);if(j>>>0<(c[291304>>2]|0)>>>0){tc()}c[j+24>>2]=k;h=c[a+(b+16)>>2]|0;do{if((h|0)!=0){if(h>>>0<(c[291304>>2]|0)>>>0){tc()}else{c[j+16>>2]=h;c[h+24>>2]=j;break}}}while(0);h=c[a+(b+20)>>2]|0;if((h|0)==0){break}if(h>>>0<(c[291304>>2]|0)>>>0){tc()}else{c[j+20>>2]=h;c[h+24>>2]=j;break}}}while(0);c[e+4>>2]=n|1;c[e+n>>2]=n;if((e|0)!=(c[291308>>2]|0)){break}c[291296>>2]=n;i=d;return}else{c[m>>2]=o&-2;c[e+4>>2]=n|1;c[e+n>>2]=n}}while(0);a=n>>>3;if(n>>>0<256){b=a<<1;h=291328+(b<<2)|0;j=c[72822]|0;a=1<<a;do{if((j&a|0)==0){c[72822]=j|a;g=h;f=291328+(b+2<<2)|0}else{a=291328+(b+2<<2)|0;j=c[a>>2]|0;if(j>>>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}