Lines Matching refs:Qg
5 ]=1;s=y+65|0;o=b+504|0;f=b+508|0;m=y+240|0;k=0;h=-1;a:while(1){while(1){if(a[s>>0]|0){v=19;break a}g=d+k|0;if(!(a[g>>0]|0)){v=19;break a}c[o>>2]=g;g=yn(g,n)|0;c[f>>2]=g;k=g+k|0;if((k|0)>(l|0)){v=12;break a}g=c[n>>2]|0;if((g|0)==150){v=16;break a}else if((g|0)==1){h=g;v=17;break}else if((g|0)!=151){h=g;break}if(c[m>>2]|0){v=15;break a}}if((v|0)==17){v=0;c[p>>2]=d+k};c[x+0>>2]=c[o+0>>2];c[x+4>>2]=c[o+4>>2];Kn(t,h,x,b);h=c[n>>2]|0;if(c[z>>2]|0){v=19;break}}if((v|0)==12){c[z>>2]=18;v=19}else if((v|0)==15){ph(b,20384,x);c[z>>2]=9;v=19}else if((v|0)==16){ig(y,c[e>>2]|0);c[x>>2]=o;c[e>>2]=qh(y,20400,x)|0;f=1}if((v|0)==19){k=d+k|0;if((a[k>>0]|0)==0?(c[z>>2]|0)==0:0){if((h|0)!=1){c[x+0>>2]=c[o+0>>2];c[x+4>>2]=c[o+4>>2];Kn(t,1,x,b);c[p>>2]=k};c[x+0>>2]=c[o+0>>2];c[x+4>>2]=c[o+4>>2];Kn(t,0,x,b);f=0}else f=0}if((c[t>>2]|0)>-1)do Ln(t);while((c[t>>2]|0)>-1);Sc(t);a[q>>0]=r;if(!(a[s>>0]|0)){h=c[z>>2]|0;if(!((h|0)==101|(h|0)==0)){u=h;v=29}}else{c[z>>2]=7;u=7;v=29}if((v|0)==29?(w=b+4|0,(c[w>>2]|0)==0):0){if((u|0)!=516){h=u&255;if(h>>>0>26|(h|0)==2)h=16328;else h=c[15488+(h<<2)>>2]|0}else h=16344;c[x>>2]=h;$g(w,y,10344,x)}h=b+4|0;g=c[h>>2]|0;if(g){c[e>>2]=g;e=c[z>>2]|0;c[x>>2]=g;Zc(e,10344,x);c[h>>2]=0;f=f+1|0}h=b+8|0;g=c[h>>2]|0;if(((g|0)!=0?(c[b+64>>2]|0)>0:0)?(a[b+18>>0]|0)==0:0){Ll(g);c[h>>2]=0}if(!(a[b+18>>0]|0)){e=b+400|0;ig(y,c[e>>2]|0);c[e>>2]=0;c[b+396>>2]=0}Sc(c[b+520>>2]|0);if(!(a[b+451>>0]|0))gg(y,c[b+484>>2]|0);if(a[b+449>>0]|0)Mn(y,c[b+532>>2]|0);fg(y,c[b+488>>2]|0);h=c[b+444>>2]|0;k=b+472|0;g=c[k>>2]|0;if((h|0)>0)do{h=h+-1|0;ig(y,c[g+(h<<2)>>2]|0);g=c[k>>2]|0}while((h|0)>0);ig(y,g);h=b+404|0;g=c[h>>2]|0;if(g)do{c[h>>2]=c[g>>2];ig(y,g);g=c[h>>2]|0}while((g|0)!=0);h=b+524|0;g=c[h>>2]|0;if(g)do{c[h>>2]=c[g+72>>2];gg(y,g);g=c[h>>2]|0}while((g|0)!=0);if((f|0)>0?(c[z>>2]|0)==0:0)c[z>>2]=1}else{a[y+65>>0]=1;f=7}i=A;return f|0}function Ih(a){a=a|0;if(a){if(!((b[a+8>>1]&9312)==0?(c[a+24>>2]|0)==0:0))Mg(a);ig(c[a+32>>2]|0,a)}return}function Jh(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(!(c[d+252>>2]|0)){n=d+251|0;if(a[n>>0]|0)Sc(c[d+276>>2]|0);j=f&-8;h=(j|0)<5?0:j;i=(g|0)<0?0:g;if(!((h|0)==0|(i|0)==0))if(!e){f=c[3164]|0;if(f)jc[f&3]();f=_(h,i)|0;f=mg(f,((f|0)<0)<<31>>31)|0;g=c[3166]|0;if(g)jc[g&3]();if(!f)f=0;else i=(hc[c[8744+48>>2]&127](f)|0)/(j|0)|0}else f=e;else{h=0;f=0}g=d+276|0;c[g>>2]=f;m=d+272|0;c[m>>2]=0;b[d+248>>1]=h;if(!f){c[g>>2]=d;c[d+280>>2]=d;a[d+250>>0]=0;f=0}else{if((i|0)>0){g=_(h,i)|0;l=f+(_(h,i+-1|0)|0)|0;k=0;j=f;while(1){i=i+-1|0;c[j>>2]=k;if((i|0)<=0)break;else{k=j;j=j+h|0}}c[m>>2]=l;f=f+g|0}c[d+280>>2]=f;a[d+250>>0]=1;f=(e|0)==0&1}a[n>>0]=f;f=0}else f=5;return f|0}function Kh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();p=q;do if(!b)e=0;else{l=b+76|0;n=c[l>>2]|0;if(!((n|0)==1266094736|(n|0)==-1607883113|(n|0)==-264537850)){c[p>>2]=15248;Zc(21,15256,p);c[p>>2]=128509;c[p+4>>2]=10788;Zc(21,13648,p);e=21;break}m=b+20|0;e=c[m>>2]|0;a:do if((e|0)>0){n=b+16|0;f=c[n>>2]|0;h=0;do{g=c[f+(h<<4)+4>>2]|0;if(g)c[(c[g+4>>2]|0)+4>>2]=c[g>>2];h=h+1|0}while((h|0)!=(e|0));k=0;while(1){e=c[f+(k<<4)+12>>2]|0;if((e|0)!=0?(o=c[e+16>>2]|0,(o|0)!=0):0){e=o;do{f=c[e+8>>2]|0;b:do if(a[f+44>>0]&16){g=f+60|0;while(1){f=c[g>>2]|0;if(!f)break b;h=f+24|0;if((c[f>>2]|0)==(b|0))break;else g=h}c[g>>2]=c[h>>2];wn(f)}while(0);e=c[e>>2]|0}while((e|0)!=0)}e=k+1|0;if((e|0)>=(c[m>>2]|0))break a;f=c[n>>2]|0;k=e}}while(0);nl(b);Nn(b,68);if((d|0)==0?(Fl(b)|0)!=0:0){qg(b,5,16368,p);e=5;break}c[l>>2]=1691352191;Ig(b);e=0}while(0);i=q;return e|0}function Lh(a,b){a=a|0;b=b|0;if(((b*1e3|0)+1e3|0)>(c[a+492>>2]|0))b=0;else{b=c[a>>2]|0;nc[c[b+60>>2]&127](b,1e6)|0;b=1}return b|0}function Mh(d,f,g,h,k,l,m,n,o){d=d|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();t=v;do if(f){r=(l|0)!=0;p=(n|0)!=0;if(r)if(p|(m|0)!=0){u=8;break}else{p=0;q=0}else{q=(m|0)!=0;if(!(q|p^1)){u=8;break}}if(!(q&((r|p)^1)|(g|0)<-1|(g|0)>127)){p=f;while(1)if(!(a[p>>0]|0))break;else p=p+1|0;q=p-f&1073741823;if(q>>>0<=255){s=h&2048;p=h&7;if((p|0)!=4){if((p|0)==5){p=Mh(d,f,g,s|1,k,l,m,n,o)|0;if(p)break;p=Mh(d,f,g,s|2,k,l,m,n,o)|0;if(!p)p=3;else break}}else p=2;r=p&255;h=Oh(d,f,q,g,r,0)|0;if(((h|0)!=0?(e[h+2>>1]&3|0)==(p|0):0)?(b[h>>1]|0)==(g|0):0){if(c[d+148>>2]|0){qgqg(v,h,14592,s);h=c[t>>2]|0}else u=40;while(0);if((u|0)==40){c[t>>2]=0;h=0}Sc(h)}if(Jf(v)|0){h=v;break a}}else{c[k>>2]=f;h=c[l>>2]|0;if(h){f=h+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;break}else{rg(h);break}}}while(0);Jh(v,0,c[2193]|0,c[2194]|0)|0;c[v+216>>2]=21;c[v+220>>2]=1e3;h=v;break}else if((h|0)==3082)h=7;c[v+52>>2]=h;f=c[v+236>>2]|0;if(!f){h=v;break}h=f+8|0;if(!(b[h>>1]&9312)){b[h>>1]=1;h=v;break}else{rg(f);h=v;break}}d=c[m>>2]|0;c[s>>2]=d;qg(v,l,(d|0)!=0?10344:0,s);Sc(d);d=c[n>>2]|0;h=v}else{d=0;h=v}}else{d=0;h=0}while(0);Sc(d);f=Jf(h)|0;if((f|0)==7){Kh(h,0)|0;h=0}else if(f)c[v+76>>2]=1266094736;c[e>>2]=h;h=f&255}while(0);i=w;return h|0}function Uh(e,f,g,h,k,l){e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))ba();m=s;r=g&255;if(!(g<<24>>24==4|g<<24>>24==8))if((r+-1|0)>>>0>2){c[m>>2]=129758;c[m+4>>2]=10788;Zc(21,13648,m);m=21}else{q=r;n=4}else{q=2;n=4}do if((n|0)==4){p=q&255;n=Un(e,p,f,0)|0;if((n|0)!=0?(c[n+12>>2]|0)!=0:0){if(c[e+148>>2]|0){qg2]=e;d=(c[h>>2]|0)+(((e>>>0)%(g>>>0)|0)<<2)|0;c[f>>2]=c[d>>2];c[d>>2]=b;d=a+28|0;if((c[d>>2]|0)>>>0<e>>>0)c[d>>2]=e;return}function Ni(a,b){a=a|0;b=b|0;var d=0;d=a+28|0;if((c[d>>2]|0)>>>0>=b>>>0){fo(a,b);c[d>>2]=b+-1}return}function Oi(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a>>2]|0;fo(a,0);f=b+4|0;e=(c[f>>2]|0)-(c[a+20>>2]|0)|0;c[f>>2]=e;f=b+8|0;d=(c[f>>2]|0)-(c[a+16>>2]|0)|0;c[f>>2]=d;c[b+12>>2]=e+10-d;ao(b);Sc(c[a+44>>2]|0);Sc(a);return}function Pi(a){a=a|0;var b=0,d=0;if(c[a+12>>2]|0){d=c[a>>2]|0;a=d+4|0;b=c[a>>2]|0;c[a>>2]=0;ao(d);c[a>>2]=b}return}function Qi(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;b=a+7&-8;a=Sv(b+8|0)|0;if(!a){c[d>>2]=b;Zc(7,16568,d)}else{d=a;c[d>>2]=b;c[d+4>>2]=((b|0)<0)<<31>>31;a=a+8|0}i=e;return a|0}function Ri(a){a=a|0;Tv(a+-8|0);return}function Si(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;e=a+-8|0;d=Uv(e,b+8|0)|0;if(!d){if(!a)e=0;else e=c[e>>2]|0;c[f>>2]=e;c[f+4>>2]=b;Zc(7,16528,f)}else{e=d;c[e>>2]=b;c[e+4>>2]=((b|0)<0)<<31>>31;d=d+8|0}i=g;return d|0}function Ti(a){a=a|0;if(!a)a=0;else a=c[a+-8>>2]|0;return a|0}function Ui(a){a=a|0;return a+7&-8|0}function Vi(a){a=a|0;return 0}function Wi(a){a=a|0;return}function Xi(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=c[g>>2]|0;do if((-1431655766>>>(e[i+8>>1]&31)&1|0)==0?(h=Og(i,1)|0,(h|0)!=0):0){i=Pg(c[g>>2]|0,1)|0;if((f|0)!=1){o=Og(c[g+4>>2]|0,1)|0;if(!o)break;f=a[o>>0]|0;if(f<<24>>24){g=0;j=o;while(1){k=j+1|0;if((f&255)>191)while(1){f=a[k>>0]|0;if((f&-64)<<24>>24==-128){n=k;k=j+2|0;j=n}else{j=k;break}}else{f=a[k>>0]|0;j=k}k=g+1|0;if(!(f<<24>>24)){f=k;break}else g=k}if((g|0)>-1){m=ow(f|0,((f|0)<0)<<31>>31|0,5,0)|0;m=go(b,m,C)|0;if(!m)break;l=m+(f<<2)|0;if(a[o>>0]|0){f=o;g=0;while(1){c[m+(g<<2)>>2]=f;k=f+1|0;if((d[f>>0]|0)>191){j=f;while(1)if((a[k>>0]&-64)<<24>>24==-128){n=k;k=j+2|0;j=n}else break}a[l+g>>0]=k-f;j=g+1|0;if(!(a[k>>0]|0))break;else{f=k;g=j}}if((g|0)>-1){n=j;p=17}}}}}else{l=20360;m=20368;n=1;o=0;p=17}if((p|0)==17){f=c[(c[b+4>>2]|0)+4>>2]|0;a:do if((f&1|0)!=0&(i|0)>0){g=(n|0)>0;do{if(g)j=0;else{p=24;break a}while(1){k=d[l+j>>0]|0;if((i|0)>=(k|0)?(Vv(h,c[m+(j<<2)>>2]|0,k)|0)==0:0)break;j=j+1|0;if((j|0)>=(n|0)){p=24;break a}}h=h+k|0;i=i-k|0}while((i|0)>0)}else p=24;while(0);b:do if((p|0)==24)if((f&2|0)!=0&(i|0)>0){g=(n|0)>0;do{if(g)j=0;else break b;while(1){k=d[l+j>>0]|0;if((i|0)>=(k|0)?(q=i-k|0,(Vv(h+q|0,c[m+(j<<2)>>2]|0,k)|0)==0):0){i=q;break}j=j+1|0;if((j|0)>=(n|0))break b}}while((i|0)>0)}while(0);if(o)Sc(m)}Sg(b,h,i,1,-1)}while(0);return}function Yi(a,b,d){a=a|0;b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0;j=((c[(c[a+4>>2]|0)+4>>2]|0)!=0)<<31>>31;i=c[(c[(c[a+12>>2]|0)+4>>2]|0)+(((c[a+16>>2]|0)+-1|0)*20|0)+16>>2]|0;f=c[d>>2]|0;a:do if(!(-1431655766>>>((e[f+8>>1]|0)&31)&1)){if((b|0)>1){h=1;f=0;do{g=c[d+(h<<2)>>2]|0;if(-1431655766>>>((e[g+8>>1]|0)&31)&1)break a;g=((dm(c[d+(f<<2)>>2]|0,g,i)|0)^j|0)>-1;f=g?h:f;h=h+1|0}while((h|0)<(b|0));f=c[d+(f<<2)>>2]|0}Wg(c[a>>2]|0,f)|0}while(0);return}function Zi(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0;i=c[g>>2]|0;f=c[d+8>>2]|0;if(!(b[f+8>>1]&8192))f=hh(d,40)|0;else f=c[f+16>>2]|0;do if(f){h=(b[f+8>>1]|0)!=0;if(-1431655766>>>(e[(c[g>>2]|0)+8>>1]&31)&1){if(!h)break;a[d+24>>0]=1;break}if(!h){c[f+32>>2]=c[(c[d>>2]|0)+32>>2];Wg(f,i)|0;break}h=(c[(c[d+4>>2]|0)+4>>2]|0)!=0;g=dm(f,i,c[(c[(c[d+12>>2]|0)+4>>2]|0)+(((c[d+16>>2]|0)+-1|0)*20|0)+16>>2]|0)|0;if(!(h&(g|0)<0)?!((g|0)>0&(h^1)):0){a[d+24>>0]=1;break}Wg(f,i)|0}while(0);return}function _i(a){a=a|0;var d=0,e=0,f=0;d=c[a+8>>2]|0;if(!(b[d+8>>1]&8192))d=hh(a,0)|0;else d=c[d+16>>2]|0;do if(d){e=d+8|0;if(!((b[e>>1]|0)!=0?(Wg(c[a>>2]|0,d)|0,(b[e>>1]&9312)!=0):0))f=7;if((f|0)==7?(c[d+24>>2]|0)==0:0)break;Mg(d)}while(0);return}function $i(a,b,f){a=a|0;b=b|0;f=f|0;b=d[10064+((e[(c[f>>2]|0)+8>>1]|0)&31)>>0]|0;if((b|0)==2)b=20336;else if((b|0)==4)b=20344;else if((b|0)==1)b=20320;else if((b|0)==3)b=20328;else b=20352;Sg(a,b,-1,1,0);return}function aj(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;g=c[h>>2]|0;h=d[10064+((e[g+8>>1]|0)&31)>>0]|0;do if((h|0)==2|(h|0)==1|(h|0)==4){j=Pg(g,1)|0;i=c[f>>2]|0;g=((j|0)<0)<<31>>31;h=i+8|0;if(!(b[h>>1]&9312)){c[i>>2]=j;c[i+4>>2]=g;b[h>>1]=4;break}else{Vg(i,j,g);break}}else if((h|0)==3){i=Og(g,1)|0;if(i){g=a[i>>0]|0;if(!(g<<24>>24)){j=0;i=0}else{h=g;g=0;do{g=g+1|0;k=i+1|0;if((h&255)>191){j=i;i=k;while(1){h=a[i>>0]|0;if((h&-64)<<24>>24==-128){h=i;i=j+2|0;j=h}else break}}else{h=a[k>>0]|0;i=k}}while(h<<24>>24!=0);j=g;i=((g|0)<0)<<31>>31}g=c[f>>2]|0;h=g+8|0;if(!(b[h>>1]&9312)){c[g>>2]=j;c[g+4>>2]=i;b[h>>1]=4;break}else{Vg(g,j,i);break}}}else{h=c[f>>2]|0;g=h+8|0;if(!(b[g>>1]&9312)){b[g>>1]=1;break}else{rg(h);break}}while(0);return}function bj(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;g=c[f>>2]|0;h=b[g+8>>1]|0;i=f+4|0;e=b[(c[i>>2]|0)+8>>1]|0;do if(!((-1431655766>>>(e&31)|-1431655766>>>(h&31))&1)){j=Pg(g,1)|0;l=Pg(c[i>>2]|0,1)|0;f=c[f>>2]|0;if(!((e|h)&15)){e=ld(f)|0;f=0;k=ld(c[i>>2]|0)|0}else{e=Og(f,1)|0;f=1;k=Og(c[i>>2]|0,1)|0}a:do if((l|0)>(j|0)){e=1;g=1}else{g=1;h=j;while(1){if(!(Vv(e,k,l)|0)){e=0;break a}g=g+1|0;i=(f|0)==0;do{h=h+-1|0;e=e+1|0;if(i){f=0;break}}while((a[e>>0]&-64)<<24>>24==-128);if((l|0)>(h|0)){e=1;break}}}while(0);h=c[d>>2]|0;f=e?0:g;e=e?0:((g|0)<0)<<31>>31;g=h+8|0;if(!(b[g>>1]&9312)){c[h>>2]=f;c[h+4>>2]=e;b[g>>1]=4;break}else{Vg(h,f,e);break}}while(0);return}function cj(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;h=c[g+4>>2]|0;do if(!(-1431655766>>>((e[h+8>>1]|0)&31)&1)){n=(f|0)==3;if(n?(-1431655766>>>((e[(c[g+8>>2]|0)+8>>1]|0)&31)&1|0)!=0:0)break;p=b[(c[g>>2]|0)+8>>1]|0;k=Rg(h)|0;l=((k|0)<0)<<31>>31;p=(p&15)==0;i=c[g>>2]|0;if(p){i=Pg(i,1)|0;j=ld(c[g>>2]|0)|0;if(!j)break;else o=i}else{j=Og(i,1)|0;if(!j)break;if((k|0)<0?(m=a[j>>0]|0,m<<24>>24!=0):0){i=0;h=j;do{f=h+1|0;if((m&255)>191)while(1){m=a[f>>0]|0;if((m&-64)<<24>>24==-128){o=f;f=h+2|0;h=o}else{h=f;break}}else{m=a[f>>0]|0;h=f}i=i+1|0}while(m<<24>>24!=0);o=i}else o=0}if(n){n=Rg(c[g+8>>2]|0)|0;f=((n|0)<0)<<31>>31;g=(n|0)<0;h=$v(0,0,n|0,f|0)|0;h=g?h:n;f=g?C:f;n=n>>>31}else{f=c[(c[(c[d>>2]|0)+32>>2]|0)+88>>2]|0;h=f;f=((f|0)<0)<<31>>31;n=0}do if((k|0)<0){k=fw(o|0,((o|0)<0)<<31>>31|0,k|0,l|0)|0;l=C;if((l|0)<0){h=fw(h|0,f|0,k|0,l|0)|0;f=C;g=(f|0)<0;k=0;l=0;h=g?0:h;f=g?0:f}}else if((k|0)>0){k=fw(k|0,l|0,-1,-1)|0;l=C;break}else{g=((f|0)>0|(f|0)==0&h>>>0>0)<<31>>31;h=fw(g|0,((g|0)<0)<<31>>31|0,h|0,f|0)|0;f=C;break}while(0);if(!n){n=k;m=l}else{n=$v(k|0,l|0,h|0,f|0)|0;m=C;g=(m|0)<0;n=g?0:n;m=g?0:m;h=g?k:h;f=g?l:f}if(p){g=fw(h|0,f|0,n|0,m|0)|0;l=C;i=((o|0)<0)<<31>>31;if((l|0)>(i|0)|(l|0)==(i|0)&g>>>0>o>>>0){h=$v(o|0,i|0,n|0,m|0)|0;f=C;g=(f|0)<0;h=g?0:h;f=g?0:f}xd(d,j+n|0,h,f,-1);break}i=a[j>>0]|0;if(((n|0)!=0|(m|0)!=0)&i<<24>>24!=0)do{l=j+1|0;if((i&255)>191){k=j;j=l;while(1){i=a[j>>0]|0;if((i&-64)<<24>>24==-128){g=j;j=k+2|0;k=g}else break}}else{i=a[l>>0]|0;j=l}n=fw(n|0,m|0,-1,-1)|0;m=C}while(((n|0)!=0|(m|0)!=0)&i<<24>>24!=0);if(i<<24>>24!=0&((h|0)!=0|(f|0)!=0)){m=f;f=j;do{k=f+1|0;if((i&255)>191)while(1){i=a[k>>0]|0;if((i&-64)<<24>>24==-128){g=k;k=f+2|0;f=g}else{f=k;break}}else{i=a[k>>0]|0;f=k}h=fw(h|0,m|0,-1,-1)|0;m=C}while(i<<24>>24!=0&((h|0)!=0|(m|0)!=0))}else f=j;g=f-j|0;Fd(d,j,g,((g|0)<0)<<31>>31,-1,1)}while(0);return}function dj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0;l=i;i=i+48|0;if((i|0)>=(j|0))ba();h=l;k=l+32|0;g=l+4|0;if((d|0)>0?(f=Og(c[e>>2]|0,1)|0,(f|0)!=0):0){c[k>>2]=d+-1;c[k+4>>2]=0;c[k+8>>2]=e+4;c[g+0>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;c[g+16>>2]=0;c[g+20>>2]=1e9;a[g+24>>0]=1;a[g+25>>0]=0;c[g>>2]=c[(c[b>>2]|0)+32>>2];c[h>>2]=k;An(g,2,f,h);f=c[g+12>>2]|0;Sg(b,pg(g)|0,f,1,75)}i=l;return}function ej(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();e=h;f=Og(c[f>>2]|0,1)|0;c[e>>2]=f;do if((f|0)!=0?(a[f>>0]|0)!=0:0){g=In(e)|0;e=c[d>>2]|0;d=((g|0)<0)<<31>>31;f=e+8|0;if(!(b[f>>1]&9312)){c[e>>2]=g;c[e+4>>2]=d;b[f>>1]=4;break}else{Vg(e,g,d);break}}while(0);i=h;return}function fj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;i=Pc(d<<2|1)|0;if(!i)Nd(b);else{if((d|0)>0){h=0;f=i;do{g=Rg(c[e+(h<<2)>>2]|0)|0;j=C;g=j>>>0>0|(j|0)==0&g>>>0>1114111?65533:g&2097151;do if(g>>>0>=128){if(g>>>0<2048){a[f>>0]=g>>>6&31|192;a[f+1>>0]=g&63|128;f=f+2|0;break}if(g>>>0<65536){a[f>>0]=g>>>12&15|224;a[f+1>>0]=g>>>6&63|128;a[f+2>>0]=g&63|128;f=f+3|0;break}else{a[f>>0]=g>>>18|240;a[f+1>>0]=g>>>12&63|128;a[f+2>>0]=g>>>6&63|128;a[f+3>>0]=g&63|128;f=f+4|0;break}}else{a[f>>0]=g;f=f+1|0}while(0);h=h+1|0}while((h|0)!=(d|0))}else f=i;f=f-i|0;Fd(b,i,f,((f|0)<0)<<31>>31,1,1)}return}function gj(f,g,h){f=f|0;g=g|0;h=h|0;var i=0.0,j=0,k=0;g=c[h>>2]|0;h=d[10064+((e[g+8>>1]|0)&31)>>0]|0;a:do if((h|0)==5){h=c[f>>2]|0;g=h+8|0;if(!(b[g>>1]&9312)){b[g>>1]=1;break}else{rg(h);break}}else if((h|0)==1){g=Rg(g)|0;j=C;do if((j|0)<0)if((g|0)==0&(j|0)==-2147483648){c[f+20>>2]=1;a[f+25>>0]=1;Tg(c[f>>2]|0,20248,-1,1,-1)|0;break a}else{g=$v(0,0,g|0,j|0)|0;k=C;break}else k=j;while(0);h=c[f>>2]|0;j=h+8|0;if(!(b[j>>1]&9312)){c[h>>2]=g;c[h+4>>2]=k;b[j>>1]=4;break}else{Vg(h,g,k);break}}else{i=+Qg(g);if(i<0.0)i=-i;Ug(c[f>>2]|0,i)}while(0);return}function hj(b,d,f){b=b|0;d=d|0;f=f|0;var g=0.0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+32|0;if((i|0)>=(j|0))ba();o=q+8|0;p=q;if((d|0)==2){d=c[f+4>>2]|0;if(!(-1431655766>>>(e[d+8>>1]&31)&1)){n=Rg(d)|0;n=(n|0)>30?30:n;n=(n|0)<0?0:n;m=4}}else{n=0;m=4}a:do if((m|0)==4?(l=c[f>>2]|0,(-1431655766>>>(e[l+8>>1]&31)&1|0)==0):0){g=+Qg(l);h[p>>3]=g;d=(n|0)==0;do if(d&g>=0.0&g<9223372036854775808.0){g=g+.5;g=+(~~g>>>0>>>0)+4294967296.0*+((+N(g)>=1.0?(g>0.0?~~+$(+M(g/4294967296.0),4294967295.0)>>>0:~~+Z((g-+(~~g>>>0))/4294967296.0)>>>0):0)|0);h[p>>3]=g}else{if(d&g<0.0&g>-9223372036854775808.0){g=.5-g;g=-(+(~~g>>>0>>>0)+4294967296.0*+((+N(g)>=1.0?(g>0.0?~~+$(+M(g/4294967296.0),4294967295.0)>>>0:~~+Z((g-+(~~g>>>0))/4294967296.0)>>>0):0)|0));h[p>>3]=g;break}c[o>>2]=n;d=o+4|0;h[k>>3]=g;c[d>>2]=c[k>>2];c[d+4>>2]=c[k+4>>2];d=Wc(20312,o)|0;if(!d){Nd(b);break a}else l=d;while(1)if(!(a[l>>0]|0))break;else l=l+1|0;Pl(d,p,l-d&1073741823,1)|0;Sc(d);g=+h[p>>3]}while(0);Ug(c[b>>2]|0,g)}while(0);i=q;return}function ij(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=Og(c[f>>2]|0,1)|0;e=Pg(c[f>>2]|0,1)|0;if((g|0)!=0?(h=fw(e|0,((e|0)<0)<<31>>31|0,1,0)|0,h=go(b,h,C)|0,(h|0)!=0):0){if((e|0)>0){f=0;do{i=d[g+f>>0]|0;a[h+f>>0]=((d[10368+i>>0]|0|223)^32)&i;f=f+1|0}while((f|0)!=(e|0))}Sg(b,h,e,1,1)}return}function jj(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0;g=Og(c[f>>2]|0,1)|0;e=Pg(c[f>>2]|0,1)|0;if((g|0)!=0?(h=fw(e|0,((e|0)<0)<<31>>31|0,1,0)|0,h=go(b,h,C)|0,(h|0)!=0):0){if((e|0)>0){f=0;do{a[h+f>>0]=a[9328+(d[g+f>>0]|0)>>0]|0;f=f+1|0}while((f|0)!=(e|0))}Sg(b,h,e,1,1)}return}function kj(a,b,c){a=a|0;b=b|0;c=c|0;Sg(a,8632,-1,1,0);return}function lj(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;e=ld(c[f>>2]|0)|0;i=Pg(c[f>>2]|0,1)|0;j=ew(i|0,((i|0)<0)<<31>>31|0,1)|0;j=go(b,j|1,C)|0;if(j){if((i|0)>0){g=i<<1;h=0;f=j;while(1){k=d[e>>0]|0;a[f>>0]=a[20288+(k>>>4)>>0]|0;a[f+1>>0]=a[20288+(k&15)>>0]|0;h=h+1|0;if((h|0)==(i|0))break;else{e=e+1|0;f=f+2|0}}f=j+g|0}else f=j;a[f>>0]=0;Sg(b,j,i<<1,1,1)}return}function mj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();d=h;_c(8,d);f=d;e=c[f>>2]|0;f=c[f+4>>2]|0;if((f|0)<0){g=$v(0,0,e|0,f&2147483647|0)|0;f=C;c[d>>2]=g;c[d+4>>2]=f}else g=e;e=c[a>>2]|0;d=e+8|0;if(!(b[d>>1]&9312)){c[e>>2]=g;c[e+4>>2]=f;b[d>>1]=4}else Vg(e,g,f);i=h;return}function nj(a,b,d){a=a|0;b=b|0;d=d|0;d=Rg(c[d>>2]|0)|0;d=(d|0)<1?1:d;b=go(a,d,((d|0)<0)<<31>>31)|0;if(b){_c(d,b);Sg(a,b,d,0,1)}return}function oj(a,b,d){a=a|0;b=b|0;d=d|0;if(dm(c[d>>2]|0,c[d+4>>2]|0,c[(c[(c[a+12>>2]|0)+4>>2]|0)+(((c[a+16>>2]|0)+-1|0)*20|0)+16>>2]|0)|0)Wg(c[a>>2]|0,c[d>>2]|0)|0;return}function pj(a,b,c){a=a|0;b=b|0;c=c|0;Sg(a,10768,-1,1,0);return}function qj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;b=i;i=i+16|0;if((i|0)>=(j|0))ba();a=b;e=Rg(c[d>>2]|0)|0;c[a>>2]=Og(c[d+4>>2]|0,1)|0;Zc(e,10344,a);i=b;return}function rj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;d=Og(c[e>>2]|0,1)|0;do if(d){f=Ac(d)|0;e=c[a>>2]|0;d=((f|0)<0)<<31>>31;a=e+8|0;if(!(b[a>>1]&9312)){c[e>>2]=f;c[e+4>>2]=d;b[a>>1]=4;break}else{Vg(e,f,d);break}}while(0);return}function sj(a,b,d){a=a|0;b=b|0;d=d|0;b=Rg(c[d>>2]|0)|0;if(b>>>0<4)b=c[8648+(b<<2)>>2]|0;else b=0;Sg(a,b,-1,1,0);return}function tj(b,f,g){b=b|0;f=f|0;g=g|0;var l=0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+80|0;if((i|0)>=(j|0))ba();f=s+8|0;l=s;p=s+16|0;o=c[g>>2]|0;n=d[10064+(e[o+8>>1]&31)>>0]|0;if((n|0)==3){r=Og(o,1)|0;if(r){f=0;l=0;n=0;while(1){o=a[r+n>>0]|0;if(o<<24>>24==39){o=fw(f|0,l|0,1,0)|0;l=C}else if(!(o<<24>>24)){o=l;break}else o=f;f=o;n=n+1|0}q=fw(f|0,o|0,3,0)|0;q=fw(q|0,C|0,n|0,((n|0)<0)<<31>>31|0)|0;q=go(b,q,C)|0;if(q){a[q>>0]=39;l=a[r>>0]|0;f=q+1|0;if(!(l<<24>>24))n=2;else{p=r;n=2;o=0;g=1;do{a[f>>0]=l;if((a[p>>0]|0)==39){a[q+n>>0]=39;g=g+2|0}else g=n;o=o+1|0;p=r+o|0;l=a[p>>0]|0;n=g+1|0;f=q+g|0}while(l<<24>>24!=0)}a[f>>0]=39;a[q+n>>0]=0;Sg(b,q,n,1,1)}}}else if((n|0)==1)Wg(c[b>>2]|0,o)|0;else if((n|0)==2){m=+QgQg6>>2]&31](n,4,4,9)|0;n=m;y=14}else{n=m;y=14}}else{n=F+43|0;y=14}while(0);if((y|0)==14){if(!(a[n>>0]|0)){E=c[F+4>>2]|0;lc[c[(c[E>>2]|0)+56>>2]&31](E,3,1,5)|0}b[l>>1]=-1;m=0;do{m=m+1|0;n=Io(F,q,1,m)|0}while((n|0)==-1)}if(n)k=n;else y=19}else y=19;a:do if((y|0)==19){E=F+68|0;q=c[E>>2]|0;if(!q){a[s>>0]=55;a[s+1>>0]=127;a[s+2>>0]=6;a[s+3>>0]=-126;a[s+4>>0]=0;a[s+5>>0]=45;a[s+6>>0]=-30;a[s+7>>0]=24;a[s+8>>0]=G>>>24;a[s+9>>0]=G>>>16;a[s+10>>0]=G>>>8;a[s+11>>0]=G;v=c[F+104>>2]|0;a[s+12>>0]=v>>>24;a[s+13>>0]=v>>>16;a[s+14>>0]=v>>>8;a[s+15>>0]=v;if(!v)_c(8,F+84|0);l=F+84|0;n=l;n=d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24;l=l+4|0;l=d[l>>0]|d[l+1>>0]<<8|d[l+2>>0]<<16|d[l+3>>0]<<24;p=s+16|0;m=p;a[m>>0]=n;a[m+1>>0]=n>>8;a[m+2>>0]=n>>16;a[m+3>>0]=n>>24;p=p+4|0;a[p>>0]=l;a[p+1>>0]=l>>8;a[p+2>>0]=l>>16;a[p+3>>0]=l>>24;p=s+24|0;l=s;m=0;n=0;do{m=m+n+(c[l>>2]|0)|0;n=m+n+(c[l+4>>2]|0)|0;l=l+8|0}while(l>>>0<p>>>0);a[p>>0]=m>>>24;a[s+25>>0]=m>>>16;a[s+26>>0]=m>>>8;a[s+27>>0]=m;a[s+28>>0]=n>>>24;a[s+29>>0]=n>>>16;a[s+30>>0]=n>>>8;a[s+31>>0]=n;c[F+36>>2]=G;a[F+65>>0]=0;c[F+76>>2]=m;c[F+80>>2]=n;a[F+47>>0]=1;m=F+8|0;n=c[m>>2]|0;n=pc[c[(c[n>>2]|0)+12>>2]&31](n,s,32,0,0)|0;if(n){k=n;break}if((a[F+48>>0]|0)!=0&r<<24>>24!=0?(k=c[m>>2]|0,k=nc[c[(c[k>>2]|0)+20>>2]&127](k,x&19)|0,(k|0)!=0):0)break}else m=F+8|0;c[z>>2]=F;s=c[m>>2]|0;c[z+4>>2]=s;t=z+8|0;u=t;c[u>>2]=0;c[u+4>>2]=0;c[z+16>>2]=x;c[z+20>>2]=G;u=G+24|0;v=((u|0)<0)<<31>>31;n=ow(q|0,0,u|0,v|0)|0;n=fw(n|0,C|0,32,0)|0;k=C;if(!f){l=n;r=0}else{o=k;l=q;r=f;while(1){q=l+1|0;if(w)l=0;else l=(c[r+12>>2]|0)==0?g:0;k=Uo(z,r,l,n,o)|0;if(k)break a;n=fw(n|0,o|0,u|0,v|0)|0;k=C;p=c[r+12>>2]|0;if(!p){l=n;break}else{o=k;l=q;r=p}}}w=(h|0)!=0;do if(!((x&32|0)==0|w^1)){if(!(a[F+49>>0]|0)){m=0;k=nc[c[(c[s>>2]|0)+20>>2]&127](s,x&19)|0;break}n=c[m>>2]|0;m=c[(c[n>>2]|0)+44>>2]|0;if(m){n=hc[m&127](n)|0;if((n|0)<32){m=512;n=0}else y=37}else{n=4096;y=37}if((y|0)==37){y=(n|0)>65536;m=y?65536:n;n=y?0:((n|0)<0)<<31>>31}y=fw(l|0,k|0,-1,-1)|0;y=fw(y|0,C|0,m|0,n|0)|0;p=C;o=nw(y|0,p|0,m|0,n|0)|0;o=$v(y|0,p|0,o|0,C|0)|0;p=C;y=t;c[y>>2]=o;c[y+4>>2]=p;if((k|0)<(p|0)|(k|0)==(p|0)&l>>>0<o>>>0){n=k;m=0;while(1){k=Uo(z,r,g,l,n)|0;if(k)break a;l=fw(l|0,n|0,u|0,v|0)|0;n=C;m=m+1|0;if(!((n|0)<(p|0)|(n|0)==(p|0)&l>>>0<o>>>0)){k=0;break}}}else{m=0;k=0}}else{m=0;k=0}while(0);if((w?(A=F+47|0,(a[A>>0]|0)!=0):0)?(D=F+16|0,B=c[D>>2]|0,D=c[D+4>>2]|0,(D|0)>-1|(D|0)==-1&B>>>0>4294967295):0){h=ow(m+q|0,0,u|0,v|0)|0;h=fw(h|0,C|0,32,0)|0;z=C;y=(z|0)>(D|0)|(z|0)==(D|0)&h>>>0>B>>>0;Vo(F,y?h:B,y?z:D);a[A>>0]=0}l=c[E>>2]|0;if((f|0)!=0&(k|0)==0)do{l=l+1|0;k=Wo(F,l,c[f+20>>2]|0)|0;f=c[f+12>>2]|0}while((f|0)!=0&(k|0)==0);f=(k|0)==0;if(f&(m|0)>0){n=r+20|0;do{l=l+1|0;m=m+-1|0;k=Wo(F,l,c[n>>2]|0)|0;f=(k|0)==0}while(f&(m|0)>0)}if(f){b[F+66>>1]=G&65280|G>>>16;c[E>>2]=l;if(w){E=F+60|0;c[E>>2]=(c[E>>2]|0)+1;c[F+72>>2]=g;Xo(F);c[F+12>>2]=l}}else if(k)break;l=e+88|0;k=c[l>>2]|0;if((k|0)!=0?(I=c[H>>2]|0,(I|0)!=0):0){f=k;k=I;while(1){Yo(f,c[k+20>>2]|0,c[k+4>>2]|0);k=c[k+12>>2]|0;if(!k){k=0;break a}f=c[l>>2]|0}}else k=0}while(0);i=J;return k|0}function tl(d){d=d|0;var f=0,g=0;f=d+24|0;if(((b[f>>1]&2)!=0?(Mo(d,1),b[f>>1]=e[f>>1]&65529,(b[d+26>>1]|0)==0):0)?(g=c[d+28>>2]|0,(a[g+28>>0]|0)!=0):0){if((c[d+20>>2]|0)==1)c[g+44>>2]=0;ic[c[8744+136>>2]&63](c[g+40>>2]|0,c[d>>2]|0,0)}return}function ul(b){b=b|0;var e=0,f=0,g=0,h=0,i=0;f=c[b+16>>2]|0;f=((d[f+105>>0]|0)<<16|(d[f+104>>0]|0)<<24|(d[f+106>>0]|0)<<8|(d[f+107>>0]|0))+1|0;b=b+4|0;e=c[b>>2]|0;i=f>>>24&255;a[e+24>>0]=i;h=f>>>16&255;a[e+25>>0]=h;g=f>>>8&255;a[e+26>>0]=g;f=f&255;a[e+27>>0]=f;e=c[b>>2]|0;a[e+92>>0]=i;a[e+93>>0]=h;a[e+94>>0]=g;a[e+95>>0]=f;b=c[b>>2]|0;a[b+96>>0]=0;a[b+97>>0]=45;a[b+98>>0]=-26;a[b+99>>0]=9;return}function vl(f,g){f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+32|0;if((i|0)>=(j|0))ba();o=v+16|0;r=v;k=Zo(f)|0;a:do if(!k){do if(!(a[f+7>>0]|0)){t=f+64|0;if((c[c[t>>2]>>2]|0)!=0?(a[f+5>>0]|0)!=4:0){n=c[f+60>>2]|0;n=hc[c[(c[n>>2]|0)+48>>2]&127](n)|0;s=(n&512|0)==0;if(s){l=r;c[l>>2]=-117058087;c[l+4>>2]=-681336544;l=c[f+44>>2]|0;a[r+8>>0]=l>>>24;a[r+9>>0]=l>>>16;a[r+10>>0]=l>>>8;a[r+11>>0]=l;l=f+72|0;k=c[l>>2]|0;l=c[l+4>>2]|0;if((k|0)==0&(l|0)==0){l=0;k=0}else{k=fw(k|0,l|0,-1,-1)|0;l=c[f+148>>2]|0;k=mw(k|0,C|0,l|0,0)|0;k=fw(k|0,C|0,1,0)|0;l=ow(k|0,C|0,l|0,0)|0;k=C}m=c[t>>2]|0;m=pc[c[(c[m>>2]|0)+8>>2]&31](m,o,8,l,k)|0;if(!m){if(!(Vv(o,14808,8)|0)){p=c[t>>2]|0;p=pc[c[(c[p>>2]|0)+12>>2]&31](p,14976,1,l,k)|0;q=12}}else{p=m;q=12}if((q|0)==12?!((p|0)==0|(p|0)==522):0){h=p;break a}k=n&1024;if((a[f+8>>0]|0)!=0&(k|0)==0?(h=c[t>>2]|0,h=nc[c[(c[h>>2]|0)+20>>2]&127](h,d[f+11>>0]|0)|0,(h|0)!=0):0)break a;q=c[t>>2]|0;h=f+80|0;h=pc[c[(c[q>>2]|0)+12>>2]&31](q,r,12,c[h>>2]|0,c[h+4>>2]|0)|0;if(h)break a}else k=n&1024;if((k|0)==0?(r=c[t>>2]|0,u=a[f+11>>0]|0,u=nc[c[(c[r>>2]|0)+20>>2]&127](r,(u<<24>>24==3?16:0)|u&255)|0,(u|0)!=0):0){h=u;break a}p=f+72|0;q=c[p+4>>2]|0;r=f+80|0;c[r>>2]=c[p>>2];c[r+4>>2]=q;if((g|0)==0|s^1)break;c[f+44>>2]=0;h=Oo(f)|0;if(!h)break;else break a}q=f+72|0;r=c[q+4>>2]|0;s=f+80|0;c[s>>2]=c[q>>2];c[s+4>>2]=r}while(0);k=c[f+204>>2]|0;h=c[k>>2]|0;if(h)do{s=h+24|0;b[s>>1]=e[s>>1]&65531;h=c[h+32>>2]|0}while((h|0)!=0);c[k+8>>2]=c[k+4>>2];a[f+16>>0]=4;h=0}else h=k;while(0);i=v;return h|0}function wl(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();l=v;u=d+60|0;g=c[u>>2]|0;if(!((c[g>>2]|0)==0?(f=c[d>>2]|0,f=pc[c[f+24>>2]&31](f,0,g,c[d+144>>2]&556897|30,0)|0,(f|0)!=0):0)){g=d+36|0;f=c[g>>2]|0;h=d+24|0;k=c[h>>2]|0;do if(f>>>0<k>>>0){if((c[e+12>>2]|0)==0?(c[e+20>>2]|0)>>>0<=f>>>0:0)break;n=c[d+152>>2]|0;n=ow(k|0,0,n|0,((n|0)<0)<<31>>31|0)|0;o=l;c[o>>2]=n;c[o+4>>2]=C;o=c[u>>2]|0;Yb[c[(c[o>>2]|0)+40>>2]&63](o,5,l)|0;c[g>>2]=c[h>>2]}while(0);if(!e)f=0;else{p=d+24|0;q=d+152|0;r=d+104|0;s=d+32|0;t=d+192|0;o=d+88|0;do{n=c[e+20>>2]|0;if(n>>>0<=(c[p>>2]|0)>>>0?(b[e+24>>1]&32)==0:0){l=c[q>>2]|0;d=ow(l|0,((l|0)<0)<<31>>31|0,n+-1|0,0)|0;k=C;h=(n|0)==1;if(h){ul(e);l=c[q>>2]|0}m=e+4|0;g=c[m>>2]|0;f=c[u>>2]|0;f=pc[c[(c[f>>2]|0)+12>>2]&31](f,g,l,d,k)|0;if(h){d=r+0|0;l=g+24|0;k=d+16|0;do{a[d>>0]=a[l>>0]|0;d=d+1|0;l=l+1|0}while((d|0)<(k|0))}if(n>>>0>(c[s>>2]|0)>>>0)c[s>>2]=n;c[t>>2]=(c[t>>2]|0)+1;Yo(c[o>>2]|0,n,c[m>>2]|0)}else f=0;e=c[e+12>>2]|0}while((f|0)==0&(e|0)!=0)}}i=v;return f|0}function xl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();m=q;n=b+60|0;f=c[n>>2]|0;g=c[f>>2]|0;do if((g|0)!=0?((a[b+16>>0]|0)+-1&255)>2:0){o=c[b+152>>2]|0;g=nc[c[g+24>>2]&127](f,m)|0;h=((o|0)<0)<<31>>31;k=ow(o|0,h|0,d|0,0)|0;l=C;if(!g){f=m;g=c[f>>2]|0;f=c[f+4>>2]|0;if((g|0)==(k|0)&(f|0)==(l|0))e=0;else{if(!((f|0)>(l|0)|(f|0)==(l|0)&g>>>0>k>>>0)){m=fw(g|0,f|0,o|0,h|0)|0;g=C;if(!((g|0)>(l|0)|(g|0)==(l|0)&m>>>0>k>>>0)){p=c[b+200>>2]|0;bw(p|0,0,o|0)|0;n=c[n>>2]|0;e=$v(k|0,l|0,o|0,h|0)|0;e=pc[c[(c[n>>2]|0)+12>>2]&31](n,p,o,e,C)|0;p=9}}else{e=c[n>>2]|0;e=Yb[c[(c[e>>2]|0)+16>>2]&63](e,k,l)|0;p=9}if((p|0)==9?(e|0)!=0:0)break;c[b+32>>2]=d;e=0}}else e=g}else e=0;while(0);i=q;return e|0}
8 >>0?(c[k+16>>2]|0)>>>0<(c[k+4>>2]|0)>>>0:0){if((c[3155]|0)!=0?((c[b+8>>2]|0)+(c[b+4>>2]|0)|0)<=(c[3154]|0):0)e=12648|0;else e=9060|0;if(!(c[e>>2]|0)){n=23;break}}e=f+20|0;g=c[e>>2]|0;h=(c[g+44>>2]|0)+((((c[f+8>>2]|0)>>>0)%((c[g+40>>2]|0)>>>0)|0)<<2)|0;while(1){r=c[h>>2]|0;i=r+16|0;if((r|0)==(f|0))break;else h=i}c[h>>2]=c[i>>2];i=g+36|0;c[i>>2]=(c[i>>2]|0)+-1;bo(f);e=c[e>>2]|0;if(((c[e+8>>2]|0)+(c[e+4>>2]|0)|0)==((c[b+8>>2]|0)+(c[b+4>>2]|0)|0)){l=k+16|0;c[l>>2]=(c[j>>2]|0)-(c[e+12>>2]|0)+(c[l>>2]|0);break}else{eo(f);n=23;break}}else n=23;while(0);if((n|0)==23){if(o?(l=c[3164]|0,(l|0)!=0):0)jc[l&3]();e=b+4|0;g=Co((c[e>>2]|0)+32+(c[b+8>>2]|0)|0)|0;e=c[e>>2]|0;f=g+e|0;if(g){c[f>>2]=g;c[g+(e+4)>>2]=g+(e+32);if(c[j>>2]|0){n=(c[b>>2]|0)+16|0;c[n>>2]=(c[n>>2]|0)+1}}else f=0;if(o?(p=c[3166]|0,(p|0)!=0):0)jc[p&3]();if(!f){f=0;break}}g=(d>>>0)%((c[m>>2]|0)>>>0)|0;c[q>>2]=(c[q>>2]|0)+1;c[f+8>>2]=d;n=b+44|0;c[f+16>>2]=c[(c[n>>2]|0)+(g<<2)>>2];c[f+20>>2]=b;c[f+28>>2]=0;c[f+24>>2]=0;a[f+12>>0]=1;c[c[f+4>>2]>>2]=0;c[(c[n>>2]|0)+(g<<2)>>2]=f;g=b+28|0;if((c[g>>2]|0)>>>0<d>>>0)c[g>>2]=d}while(0);return f|0}function eo(a){a=a|0;var b=0;if((a|0)!=0?(b=c[a+20>>2]|0,Xk(c[a>>2]|0),(c[b+12>>2]|0)!=0):0){b=(c[b>>2]|0)+16|0;c[b>>2]=(c[b>>2]|0)+-1}return}function fo(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=b+40|0;if(c[h>>2]|0){i=b+44|0;f=b+36|0;g=0;do{e=(c[i>>2]|0)+(g<<2)|0;b=c[e>>2]|0;a:do if(b)do{while(1){if((c[b+8>>2]|0)>>>0<d>>>0)break;c[f>>2]=(c[f>>2]|0)+-1;c[e>>2]=c[b+16>>2];if(!(a[b+12>>0]|0))bo(b);eo(b);b=c[e>>2]|0;if(!b)break a}e=b+16|0;b=c[e>>2]|0}while((b|0)!=0);while(0);g=g+1|0}while(g>>>0<(c[h>>2]|0)>>>0)}return}function go(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=c[b>>2]|0;g=c[(c[f+32>>2]|0)+88>>2]|0;h=((g|0)<0)<<31>>31;if(!((h|0)<(e|0)|(h|0)==(e|0)&g>>>0<d>>>0)){d=mg(d,e)|0;if(!d){Nd(b);d=0}}else{c[b+20>>2]=18;a[b+25>>0]=1;Tg(f,10096,-1,1,0)|0;d=0}return d|0}function ho(b){b=b|0;var c=0,d=0,e=0,f=0;do if(b){c=a[b>>0]|0;d=c<<24>>24;if((d|0)==96|(d|0)==34|(d|0)==39)f=c;else if((d|0)==91)f=93;else break;d=1;e=0;while(1){c=a[b+d>>0]|0;if(c<<24>>24==f<<24>>24){d=d+1|0;c=b+e|0;if((a[b+d>>0]|0)!=f<<24>>24)break;a[c>>0]=f}else a[b+e>>0]=c;d=d+1|0;e=e+1|0}a[c>>0]=0}while(0);return}function io(b,f,g,k){b=b|0;f=f|0;g=g|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0,t=0.0,u=0.0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,O=0,P=0,Q=0,R=0,S=0,T=0;S=i;i=i+176|0;if((i|0)>=(j|0))ba();P=S+64|0;q=S+132|0;p=S+128|0;o=S+124|0;r=S+56|0;L=S+48|0;Q=S+136|0;O=S;n=k+0|0;m=n+48|0;do{c[n>>2]=0;n=n+4|0}while((n|0)<(m|0));a:do if(f){l=c[g>>2]|0;b:do if(((d[10064+(e[l+8>>1]&31)>>0]|0)+-1|0)>>>0>=2){n=Og(l,1)|0;if(!n){l=1;break a}m=(a[n>>0]|0)==45;l=m?n+1|0:n;c[P>>2]=4;c[P+4>>2]=0;c[P+8>>2]=9999;c[P+12>>2]=45;c[P+16>>2]=q;c[P+20>>2]=2;c[P+24>>2]=1;c[P+28>>2]=12;c[P+32>>2]=45;c[P+36>>2]=p;c[P+40>>2]=2;c[P+44>>2]=1;c[P+48>>2]=31;c[P+52>>2]=0;c[P+56>>2]=o;do if((nq(l,P)|0)==3){l=l+10|0;while(1){I=a[l>>0]|0;if(I<<24>>24==84?1:(a[10368+(I&255)>>0]&1)!=0)l=l+1|0;else break}if(oq(l,k)|0){if(a[l>>0]|0)break;a[k+41>>0]=0}a[k+42>>0]=0;a[k+40>>0]=1;I=c[q>>2]|0;c[k+8>>2]=m?0-I|0:I;c[k+12>>2]=c[p>>2];c[k+16>>2]=c[o>>2];if(!(a[k+43>>0]|0))break b;jo(k);break b}while(0);if(oq(n,k)|0){if(!($c(n,20080)|0))if(!(mq(b,k)|0))break;else{l=1;break a}else l=n;while(1)if(!(a[l>>0]|0))break;else l=l+1|0;if(!(Pl(n,r,l-n&1073741823,1)|0)){l=1;break a}s=+h[r>>3]*864.0e5+.5;H=+N(s)>=1.0?(s>0.0?~~+$(+M(s/4294967296.0),4294967295.0)>>>0:~~+Z((s-+(~~s>>>0))/4294967296.0)>>>0):0;I=k;c[I>>2]=~~s>>>0;c[I+4>>2]=H;a[k+42>>0]=1}}else{s=+Qg>>0]=z>>16;a[A+3>>0]=z>>24;break}l=Cg(c[m+68>>2]|0)|0;if(l){A=88;break a}A=c[m+56>>2]|0;z=c[u>>2]|0;z=d[z>>0]|d[z+1>>0]<<8|d[z+2>>0]<<16|d[z+3>>0]<<24;a[A>>0]=z;a[A+1>>0]=z>>8;a[A+2>>0]=z>>16;a[A+3>>0]=z>>24}else{s=c[u>>2]|0;q=a[s+8>>0]|0;k=a[s+9>>0]|0;r=a[s+10>>0]|0;s=a[s+11>>0]|0;p=(k&255)<<16|(q&255)<<24|(r&255)<<8|s&255;if(p>>>0>F>>>0){l=n;A=32;break a}l=$k(e,p,H,0)|0;if(l){A=88;break a}p=c[H>>2]|0;o=p+68|0;l=Cg(c[o>>2]|0)|0;if(l){A=35;break a}z=p+56|0;y=c[z>>2]|0;x=c[u>>2]|0;x=d[x>>0]|d[x+1>>0]<<8|d[x+2>>0]<<16|d[x+3>>0]<<24;a[y>>0]=x;a[y+1>>0]=x>>8;a[y+2>>0]=x>>16;a[y+3>>0]=x>>24;y=c[z>>2]|0;A=A+-1|0;a[y+4>>0]=A>>>24;a[y+5>>0]=A>>>16;a[y+6>>0]=A>>>8;a[y+7>>0]=A;gw((c[z>>2]|0)+8|0,(c[u>>2]|0)+12|0,A<<2|0)|0;if(p)xg(c[o>>2]|0);if(!t){A=c[G>>2]|0;a[A+32>>0]=q;a[A+33>>0]=k;a[A+34>>0]=r;a[A+35>>0]=s;break}l=Cg(c[m+68>>2]|0)|0;if(l){A=88;break a}A=c[m+56>>2]|0;a[A>>0]=q;a[A+1>>0]=k;a[A+2>>0]=r;a[A+3>>0]=s}while(0);c[I>>2]=0;n=0;l=0;p=0;break}if(A){b:do if(!D){if(B){k=0;while(1){u=k<<2;if((d[y+(u+9)>>0]<<16|d[y+(u+8)>>0]<<24|d[y+(u+10)>>0]<<8|d[y+(u+11)>>0])>>>0<=h>>>0)break b;k=k+1|0;if(k>>>0>=A>>>0){k=0;break b}}}o=(d[y+9>>0]<<16|d[y+8>>0]<<24|d[y+10>>0]<<8|d[y+11>>0])-h|0;if((o|0)<=-1)o=(o|0)==-2147483648?2147483647:0-o|0;if(A>>>0>1){k=0;r=1;while(1){l=r<<2;l=(d[y+(l+9)>>0]<<16|d[y+(l+8)>>0]<<24|d[y+(l+10)>>0]<<8|d[y+(l+11)>>0])-h|0;if((l|0)<=-1)l=(l|0)==-2147483648?2147483647:0-l|0;s=(l|0)<(o|0);k=s?r:k;r=r+1|0;if((r|0)==(A|0))break;else o=s?l:o}}else k=0}else k=0;while(0);o=k<<2;s=y+(o+8)|0;o=d[y+(o+9)>>0]<<16|d[s>>0]<<24|d[y+(o+10)>>0]<<8|d[y+(o+11)>>0];if(o>>>0>F>>>0){l=n;A=56;break a}if((o|0)==(h|0)|q^1|o>>>0<h>>>0&B){c[g>>2]=o;l=Cg(c[n+68>>2]|0)|0;if(l){A=88;break a}p=A+-1|0;if(k>>>0<p>>>0){A=y+((A<<2)+4)|0;A=d[A>>0]|d[A+1>>0]<<8|d[A+2>>0]<<16|d[A+3>>0]<<24;a[s>>0]=A;a[s+1>>0]=A>>8;a[s+2>>0]=A>>16;a[s+3>>0]=A>>24}a[z>>0]=p>>>24;a[v>>0]=p>>>16;a[w>>0]=p>>>8;a[x>>0]=p;o=c[g>>2]|0;p=c[E>>2]|0;do if(!p)p=0;else{if((c[p>>2]|0)>>>0<o>>>0){p=1;break}p=($h(p,o)|0)!=0}while(0);l=$k(e,o,f,p&1^1)|0;if(l){p=0;break}l=Cg(c[(c[f>>2]|0)+68>>2]|0)|0;if(!l){l=0;p=0;break}p=c[f>>2]|0;if(!p){p=0;break}xg(c[p+68>>2]|0);p=0}else l=0}else l=0}else{l=Cg(c[n+68>>2]|0)|0;if(l){A=89;break a}c[g>>2]=s;l=(c[G>>2]|0)+32|0;p=c[u>>2]|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;a[l>>0]=p;a[l+1>>0]=p>>8;a[l+2>>0]=p>>16;a[l+3>>0]=p>>24;c[f>>2]=n;c[I>>2]=0;n=0;l=0;p=0}while(0);if(m)xg(c[m+68>>2]|0);if(!(p<<24>>24)){m=0;A=88;break}else m=n}if((A|0)==15){c[J>>2]=58314;c[J+4>>2]=10788;Zc(11,13600,J);l=11;A=17}else if((A|0)==22){c[J>>2]=58343;c[J+4>>2]=10788;Zc(11,13600,J);n=l;l=11;A=88}else if((A|0)==32){c[J>>2]=58377;c[J+4>>2]=10788;Zc(11,13600,J);n=l;l=11;A=88}else if((A|0)==35)if(!p)A=88;else{xg(c[o>>2]|0);A=88}else if((A|0)==56){c[J>>2]=58442;c[J+4>>2]=10788;Zc(11,13600,J);n=l;l=11;A=88}if((A|0)==17)c[I>>2]=0;else if((A|0)==88)if(n)A=89;if((A|0)==89)xg(c[n+68>>2]|0);if(!m)A=92;else{xg(c[m+68>>2]|0);A=92}}if((A|0)==92?(l|0)!=0:0)A=98;if((A|0)==98){c[f>>2]=0;break}l=c[f>>2]|0;m=c[l+68>>2]|0;if((b[m+26>>1]|0)<=1){a[l>>0]=0;l=0;break}if(l)xg(m);c[f>>2]=0;c[J>>2]=58541;c[J+4>>2]=10788;Zc(11,13600,J);l=11}else{c[J>>2]=58259;c[J+4>>2]=10788;Zc(11,13600,J);l=11}while(0);i=K;return l|0}function fp(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))ba();t=y+12|0;s=y+8|0;x=y;f=c[b+40>>2]|0;a:do if(!f){h=b+96|0;g=c[h>>2]|0;if((g|0)>(e|0)){f=(d|0)==1;e=(f&1^1)+e|0;if((e|0)<(g|0)){d=b+92|0;g=e;do{ai(c[(c[d>>2]|0)+(g*48|0)+16>>2]|0);g=g+1|0}while((g|0)<(c[h>>2]|0))}c[h>>2]=e;if(f){if(e){f=0;break}f=c[b+68>>2]|0;g=c[f>>2]|0;if(!g){f=0;break}if((g|0)==14696)f=Ci(f,0,0)|0;else f=0;c[b+52>>2]=0;break}r=b+208|0;if((c[r>>2]|0)==0?(c[c[b+64>>2]>>2]|0)==0:0){f=0;break}if(!e)u=0;else u=(c[b+92>>2]|0)+((e+-1|0)*48|0)|0;q=(u|0)!=0;f=u+20|0;if(q){d=c[f>>2]|0;g=mg(512,0)|0;if(!g){f=7;break}bw(g|0,0,512)|0;c[g>>2]=d;w=g}else w=0;h=b+28|0;e=b+24|0;c[e>>2]=c[(q?f:h)>>2];a[b+18>>0]=a[b+12>>0]|0;b:do if(q){h=b+72|0;e=h;k=c[e>>2]|0;e=c[e+4>>2]|0;if(!(c[r>>2]|0)){g=u+8|0;l=c[g>>2]|0;g=c[g+4>>2]|0;d=(l|0)==0&(g|0)==0;l=d?k:l;g=d?e:g;d=u;f=c[d>>2]|0;d=c[d+4>>2]|0;o=h;c[o>>2]=f;c[o+4>>2]=d;if((d|0)<(g|0)|(d|0)==(g|0)&f>>>0<l>>>0)while(1){f=sq(b,h,w,1,1)|0;if(f){n=k;m=e;break b}d=h;f=c[d>>2]|0;d=c[d+4>>2]|0;if(!((d|0)<(g|0)|(d|0)==(g|0)&f>>>0<l>>>0)){v=39;break}}else v=39}else v=38}else{p=c[r>>2]|0;if(!p){h=b+72|0;e=h;k=c[e>>2]|0;e=c[e+4>>2]|0;v=38;break}c[e>>2]=c[h>>2];if(a[p+44>>0]|0){k=p+68|0;m=c[k>>2]|0;l=p+32|0;e=c[l>>2]|0;g=p+52|0;f=(c[e>>2]|0)+0|0;d=g+48|0;do{a[g>>0]=a[f>>0]|0;g=g+1|0;f=f+1|0}while((g|0)<(d|0));g=c[k>>2]|0;f=g+1|0;if(f>>>0>m>>>0)f=0;else{h=f;while(1){g=g+34|0;f=g>>>12;if(!f)g=(c[e>>2]|0)+(g<<2)|0;else g=(c[e+(f<<2)>>2]|0)+((g&4095)<<2)|0;f=xq(b,c[g>>2]|0)|0;g=h+1|0;if((f|0)!=0|g>>>0>m>>>0)break;o=h;e=c[l>>2]|0;h=g;g=o}g=c[k>>2]|0}if((m|0)!=(g|0))wq(p)}else f=0;g=rl(c[b+204>>2]|0)|0;if(!((g|0)!=0&(f|0)==0))break a;while(1){f=g;g=c[g+12>>2]|0;f=xq(b,c[f+20>>2]|0)|0;if(!((g|0)!=0&(f|0)==0))break a}}while(0);if((v|0)==38){d=h;c[d>>2]=0;c[d+4>>2]=0;d=0;f=0;v=39}c:do if((v|0)==39){n=b+80|0;o=b+148|0;p=b+152|0;if((d|0)<(e|0)|(d|0)==(e|0)&f>>>0<k>>>0)while(1){c[t>>2]=0;f=rq(b,0,k,e,t,s)|0;d=c[t>>2]|0;if(!d){d=n;d=fw(c[o>>2]|0,0,c[d>>2]|0,c[d+4>>2]|0)|0;g=C;m=h;if((d|0)==(c[m>>2]|0)?(g|0)==(c[m+4>>2]|0):0){v=$v(k|0,e|0,d|0,g|0)|0;d=(c[p>>2]|0)+8|0;d=mw(v|0,C|0,d|0,((d|0)<0)<<31>>31|0)|0;c[t>>2]=d;v=46}else v=40}else v=46;d:do if((v|0)==46){v=0;if((f|0)==0&(d|0)!=0){m=0;while(1){g=h;l=c[g>>2]|0;g=c[g+4>>2]|0;if(!((g|0)<(e|0)|(g|0)==(e|0)&l>>>0<k>>>0)){d=l;break d}f=sq(b,h,w,1,1)|0;m=m+1|0;if(!((f|0)==0&m>>>0<d>>>0)){v=40;break}}}else v=40}while(0);if((v|0)==40){v=0;if(f){n=k;m=e;break c}d=h;g=c[d+4>>2]|0;d=c[d>>2]|0}if(!((g|0)<(e|0)|(g|0)==(e|0)&d>>>0<k>>>0)){n=k;m=e;f=0;break}}else{n=k;m=e;f=0}}while(0);e:do if(!q){ai(w);if(f)break a}else{l=u+24|0;g=c[l>>2]|0;o=(c[b+152>>2]|0)+4|0;o=ow(o|0,((o|0)<0)<<31>>31|0,g|0,0)|0;k=x;c[k>>2]=o;c[k+4>>2]=C;k=c[r>>2]|0;if(!k){if(!f)v=57}else{e=u+28|0;d=u+40|0;f=k+104|0;if((c[d>>2]|0)==(c[f>>2]|0))d=c[e>>2]|0;else{c[e>>2]=0;c[d>>2]=c[f>>2];d=0}e=k+68|0;if(d>>>0<(c[e>>2]|0)>>>0){c[e>>2]=d;c[k+76>>2]=c[u+32>>2];c[k+80>>2]=c[u+36>>2];wq(k);g=c[l>>2]|0;v=57}else v=57}f:do if((v|0)==57){d=b+52|0;while(1){if(g>>>0>=(c[d>>2]|0)>>>0)break;f=sq(b,x,w,0,1)|0;if(!f)g=g+1|0;else break f}ai(w);break e}while(0);ai(w);break a}while(0);f=h;c[f>>2]=n;c[f+4>>2]=m;f=0}else f=0}while(0);i=y;return f|0}function gp(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=c[d>>2]|0;if(e){i=c[d+4>>2]|0;c[(c[e+4>>2]|0)+4>>2]=c[e>>2];g=d+56|0;Sc(c[g>>2]|0);c[g>>2]=0;a[d+73>>0]=0;g=c[d+12>>2]|0;f=d+8|0;e=c[f>>2]|0;if(!g)c[i+8>>2]=e;else{c[g+8>>2]=e;e=c[f>>2]|0}if(e)c[e+12>>2]=g;h=d+76|0;e=b[h>>1]|0;if(e<<16>>16>=0){f=0;while(1){g=c[d+(f<<2)+120>>2]|0;if(g){xg(c[g+68>>2]|0);e=b[h>>1]|0}if((f|0)<(e<<16>>16|0))f=f+1|0;else break}}if((a[i+20>>0]|0)==0?(j=i+12|0,k=c[j>>2]|0,(k|0)!=0):0){c[j>>2]=0;xg(c[k+68>>2]|0)}Sc(c[d+20>>2]|0)}return}function hp(b){b=b|0;var e=0,f=0,g=0,h=0;h=c[b+200>>2]|0;e=c[3164]|0;if(e)jc[e&3]();f=c[b+136>>2]|0;if(f)do{e=f;f=c[f+12>>2]|0;Sc(e)}while((f|0)!=0);a[b+4>>0]=0;e=b+208|0;nn(c[e>>2]|0,d[b+9>>0]|0,c[b+152>>2]|0,h)|0;c[e>>2]=0;tn(b);if(!(a[b+15>>0]|0)){if((c[c[b+64>>2]>>2]|0)!=0?(g=Fo(b)|0,e=g&255,(e|0)==10|(e|0)==13):0){c[b+40>>2]=g;a[b+16>>0]=6}jl(b)}else Jo(b);e=c[3166]|0;if(e)jc[e&3]();e=c[b+64>>2]|0;f=c[e>>2]|0;if(f){hc[c[f+4>>2]&127](e)|0;c[e>>2]=0}f=c[b+60>>2]|0;e=c[f>>2]|0;if(e){hc[c[e+4>>2]&127](f)|0;c[f>>2]=0}Xk(h);_b[c[8744+148>>2]&31](c[(c[b+204>>2]|0)+40>>2]|0);Sc(b);return}function ip(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;g=c[a+4>>2]|0;h=mg(g,((g|0)<0)<<31>>31)|0;do if(h){bw(h|0,0,g|0)|0;g=pc[c[a+24>>2]&31](a,b,h,e&556927,f)|0;if(!g){c[d>>2]=h;g=0;break}else{Sc(h);break}}else g=7;while(0);return g|0}function jp(b){b=b|0;var d=0,e=0,f=0;d=b+16|0;e=b+12|0;f=b+10|0;if(!(Pl(c[d>>2]|0,b,c[e>>2]|0,a[f>>0]|0)|0))d=0;else{d=(Ql(c[d>>2]|0,b,c[e>>2]|0,a[f>>0]|0)|0)==0;d=d?4:8}return d|0}function kp(d){d=d|0;var f=0,g=0;g=d+8|0;f=b[g>>1]|0;do if(!(f&13))if(!(Ql(c[d+16>>2]|0,d,c[d+12>>2]|0,a[d+10>>0]|0)|0)){f=((e[g>>1]|0)&48640|4)&65535;b[g>>1]=f;break}else{h[d>>3]=+Qg
9 eak}}}else{j=0;l=0}while(0);e:do if(f>>>0<r>>>0){e=0;while(1){b=a[f>>0]|0;if(((b&255)+-48|0)>>>0>=10){m=e;break}f=f+p|0;g=g+1|0;b=e+1|0;if(f>>>0<r>>>0)e=b;else{n=l;m=b;b=0;l=1;e=1;break e}}f:do if(b<<24>>24==46){e=f+p|0;g:do if(e>>>0<r>>>0){n=e;while(1){b=a[n>>0]|0;if(!(((b&255)+-48|0)>>>0<10&((l|0)<214748364|(l|0)==214748364&j>>>0<3435973835))){e=n;n=l;break g}j=ow(j|0,l|0,10,0)|0;l=(b<<24>>24)+-48|0;j=fw(l|0,((l|0)<0)<<31>>31|0,j|0,C|0)|0;l=C;g=g+1|0;b=m+-1|0;e=f+(p<<1)|0;if(e>>>0<r>>>0){f=n;n=e;m=b}else{f=n;n=l;m=b;break}}}else n=l;while(0);if(e>>>0<r>>>0){l=p<<1;while(1){if(((d[e>>0]|0)+-48|0)>>>0>=10)break f;b=f+l|0;g=g+1|0;if(b>>>0<r>>>0){f=e;e=b}else{e=b;break}}}}else{e=f;n=l}while(0);if(e>>>0<r>>>0){o=a[e>>0]|0;h:do if(o<<24>>24==69|o<<24>>24==101){f=e+p|0;if(f>>>0>=r>>>0){b=0;l=0;e=1;break e}b=a[f>>0]|0;if(b<<24>>24==45){f=e+(p<<1)|0;o=-1}else if(b<<24>>24==43){f=e+(p<<1)|0;o=1}else o=1;if(f>>>0<r>>>0){e=0;l=0}else{b=0;l=0;e=o;break e}while(1){b=a[f>>0]|0;if(((b&255)+-48|0)>>>0>=10){b=e;e=o;break h}if((e|0)<1e4)b=(e*10|0)+-48+(b<<24>>24)|0;else b=1e4;f=f+p|0;if(f>>>0<r>>>0){e=b;l=1}else{l=1;e=o;break}}}else{f=e;b=0;l=1;e=1}while(0);if((g|0)!=0&(l|0)!=0&f>>>0<r>>>0)do{if(!(a[10368+(d[f>>0]|0)>>0]&1))break e;f=f+p|0}while(f>>>0<r>>>0)}else{f=e;b=0;l=1;e=1}}else{n=l;m=0;b=0;l=1;e=1}while(0);b=(_(b,e)|0)+m|0;o=(b|0)<0;e=o?0-b|0:b;do if((j|0)==0&(n|0)==0)if((q|0)<0)i=(g|0)!=0?-0.0:0.0;else i=0.0;else{if((b>>31|1|0)>0)if(((n|0)<214748364|(n|0)==214748364&j>>>0<3435973836)&(e|0)>0){b=n;do{e=e+-1|0;j=ow(j|0,b|0,10,0)|0;b=C}while(((b|0)<214748364|(b|0)==214748364&j>>>0<3435973836)&(e|0)>0)}else b=n;else{m=nw(j|0,n|0,10,0)|0;if((m|0)==0&(C|0)==0&(e|0)>0){b=n;do{e=e+-1|0;j=mw(j|0,b|0,10,0)|0;b=C;n=nw(j|0,b|0,10,0)|0}while((n|0)==0&(C|0)==0&(e|0)>0)}else b=n}n=(q|0)<0;m=$v(0,0,j|0,b|0)|0;m=n?m:j;n=n?C:b;if(!e){i=+(m>>>0)+4294967296.0*+(n|0);break}if((e+-308|0)>>>0<34){if(!((e|0)%308|0))k=1.0;else{i=1.0;do{i=i*10.0;e=e+-1|0}while(((e|0)%308|0|0)!=0);k=i}i=+(m>>>0)+4294967296.0*+(n|0);if(o){i=i/k/1.e+308;break}else{i=i*k*1.e+308;break}}if((e|0)>341){i=+(m>>>0)+4294967296.0*+(n|0);if(o){i=i*0.0;break}else{i=i*s;break}}if(!((e|0)%22|0)){j=e;i=1.0}else{j=e;i=1.0;do{i=i*10.0;j=j+-1|0}while(((j|0)%22|0|0)!=0)}if((j|0)>0){do{i=i*1.0e22;j=j+-22|0}while((j|0)>0);k=i}else k=i;i=+(m>>>0)+4294967296.0*+(n|0);if(o){i=i/k;break}else{i=i*k;break}}while(0);h[c>>3]=i;f=f>>>0>=r>>>0&(g|0)>0&(l|0)!=0&(t|0)==0&1}else f=0;while(0);return f|0}function Ql(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=f&255;if(f<<24>>24==1){g=b;h=e;n=1;e=0}else{h=3-i|0;a:do if((h|0)<(e|0))while(1){f=h+2|0;if(a[b+h>>0]|0){e=1;break a}if((f|0)<(e|0))h=f;else{e=0;h=f;break}}else e=0;while(0);g=b+(i&1)|0;h=i+-3+h|0;n=2}k=b+h|0;b:do if(g>>>0<k>>>0){while(1){h=a[g>>0]|0;if(!(a[10368+(h&255)>>0]&1))break;g=g+n|0;if(g>>>0>=k>>>0){l=0;break b}}if(h<<24>>24==45){g=g+n|0;l=1;break}else if(h<<24>>24==43){g=g+n|0;l=0;break}else{l=0;break}}else l=0;while(0);c:do if(g>>>0<k>>>0){h=g;while(1){if((a[h>>0]|0)!=48){m=h;break c}h=h+n|0;if(h>>>0>=k>>>0){m=h;break}}}else m=g;while(0);do if(m>>>0<k>>>0){b=m;j=0;i=0;h=0;while(1){f=a[b>>0]|0;if((f+-48&255)>=10){b=0;k=i;break}i=ow(j|0,i|0,10,0)|0;j=f<<24>>24;i=fw(i|0,C|0,-48,-1)|0;j=fw(i|0,C|0,j|0,((j|0)<0)<<31>>31|0)|0;i=C;h=h+n|0;b=m+h|0;if(b>>>0>=k>>>0){b=1;k=i;break}}i=f<<24>>24;f=(l|0)!=0;if((k|0)>=0)if(f){f=k;p=22;break}else{f=k;p=23;break}else{j=d;c[j>>2]=f?0:-1;c[j+4>>2]=f?-2147483648:2147483647;j=f?0:2;break}}else if(!l){b=1;j=0;f=0;i=0;h=0;p=23}else{b=1;j=0;f=0;i=0;h=0;p=22}while(0);if((p|0)==22){l=$v(0,0,j|0,f|0)|0;j=d;c[j>>2]=l;c[j+4>>2]=C;j=0}else if((p|0)==23){l=d;c[l>>2]=j;c[l+4>>2]=f;j=2}if(((i|0)==0|b?!((h|0)==0&(g|0)==(m|0)):0)?(o=n*19|0,!((h|0)>(o|0)|(e|0)!=0)):0)if((h|0)>=(o|0)){h=0;do{g=a[m+(_(h,n)|0)>>0]|0;e=a[11192+h>>0]|0;h=h+1|0;f=g<<24>>24==e<<24>>24}while(f&(h|0)<18);if(f)g=(a[m+(n*18|0)>>0]|0)+-56|0;else g=((g<<24>>24)-(e<<24>>24)|0)*10|0;if((g|0)>=0)return ((g|0)>0?1:j)|0;else g=0}else g=0;else g=1;return g|0}function Rl(d){d=d|0;var f=0,g=0;g=d+8|0;f=b[g>>1]|0;if(f&16384){Ng(d)|0;f=b[g>>1]|0}do if(f&18){if((c[d+24>>2]|0)!=0?(c[d+16>>2]|0)==(c[d+20>>2]|0):0){f=0;break}f=d+12|0;if(!(ah(d,(c[f>>2]|0)+2|0,1)|0)){d=d+16|0;a[(c[d>>2]|0)+(c[f>>2]|0)>>0]=0;a[(c[d>>2]|0)+((c[f>>2]|0)+1)>>0]=0;b[g>>1]=e[g>>1]|0|512;f=0}else f=7}else f=0;while(0);return f|0}function Sl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=no(a,b,c,d)|0;if(!c)ig(a,b);return c|0}function Tl(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;d=c[a>>2]|0;c[d+200>>2]=c[a+20>>2];c[d+196>>2]=c[a+56>>2];c[d+4>>2]=c[a+8>>2];c[d+32>>2]=c[a+48>>2];c[d+8>>2]=c[a+16>>2];c[d+28>>2]=c[a+52>>2];c[d+56>>2]=c[a+24>>2];c[d+36>>2]=c[a+40>>2];g=a+32|0;f=c[g+4>>2]|0;b=c[d>>2]|0;e=b+32|0;c[e>>2]=c[g>>2];c[e+4>>2]=f;c[d+92>>2]=c[a+68>>2];c[b+80>>2]=c[a+72>>2];return c[a+44>>2]|0}function Ul(a,c){a=a|0;c=c|0;if((b[a+8>>1]&2)!=0?(d[a+10>>0]|0|0)!=(c|0):0)c=xn(a,c&255)|0;else c=0;return c|0}function Vl(a,d,f){a=a|0;d=d|0;f=f|0;var g=0;g=a+8|0;if(b[g>>1]&9312)rg(a);c[a+0>>2]=c[d+0>>2];c[a+4>>2]=c[d+4>>2];c[a+8>>2]=c[d+8>>2];c[a+12>>2]=c[d+12>>2];c[a+16>>2]=c[d+16>>2];if(!(b[d+8>>1]&2048))b[g>>1]=(e[g>>1]|0)&58367|f;return}function Wl(a,d){a=a|0;d=d|0;var e=0,f=0;if(!((b[a+8>>1]&9312)==0?(c[a+24>>2]|0)==0:0))Mg(a);a=a+0|0;e=d+0|0;f=a+40|0;do{c[a>>2]=c[e>>2];a=a+4|0;e=e+4|0}while((a|0)<(f|0));b[d+8>>1]=1;c[d+24>>2]=0;return}function Xl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=c[a>>2]|0;m=p+500|0;f=c[m>>2]|0;do if((f|0)!=0?(n=a+104|0,e=c[n>>2]|0,(e|0)!=0):0){o=e+-1|0;k=p+20|0;e=c[k>>2]|0;if((e|0)>0){i=p+16|0;j=(b|0)==2;g=e;h=0;e=0;do{f=c[(c[i>>2]|0)+(h<<4)+4>>2]|0;if(f){if(j?(l=qm(f,2,o)|0,(l|0)!=0):0)f=l;else f=qm(f,1,o)|0;g=c[k>>2]|0;e=(e|0)==0?f:e}h=h+1|0}while((h|0)<(g|0));c[m>>2]=(c[m>>2]|0)+-1;c[n>>2]=0;if(!e)e=13;else{d=e;e=16}}else{c[m>>2]=f+-1;c[n>>2]=0;e=13}do if((e|0)==13){if((b|0)==2?(d=om(p,2,o)|0,(d|0)!=0):0)break;d=om(p,1,o)|0;e=16}while(0);if((e|0)==16)if((b|0)!=2)break;m=a+152|0;l=c[m+4>>2]|0;k=p+504|0;c[k>>2]=c[m>>2];c[k+4>>2]=l;k=a+160|0;l=c[k+4>>2]|0;m=p+512|0;c[m>>2]=c[k>>2];c[m+4>>2]=l}else d=0;while(0);return d|0}function Yl(d){d=d|0;var f=0,g=0;f=d+12|0;if(!(ah(d,(c[f>>2]|0)+2|0,1)|0)){g=d+16|0;a[(c[g>>2]|0)+(c[f>>2]|0)>>0]=0;a[(c[g>>2]|0)+((c[f>>2]|0)+1)>>0]=0;f=d+8|0;b[f>>1]=e[f>>1]|0|512;f=0}else f=7;return f|0}function Zl(d,f,g){d=d|0;f=f|0;g=g|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();o=q;p=d+8|0;m=b[p>>1]|0;if(!(bh(d,32)|0)){l=d+16|0;n=c[l>>2]|0;if(!(m&4)){h[k>>3]=+h[d>>3];c[o>>2]=c[k>>2];c[o+4>>2]=c[k+4>>2];Yc(32,n,20272,o)|0}else{s=d;r=c[s+4>>2]|0;m=o;c[m>>2]=c[s>>2];c[m+4>>2]=r;Yc(32,n,19920,o)|0}m=c[l>>2]|0;if(!m)l=0;else{l=m;while(1)if(!(a[l>>0]|0))break;else l=l+1|0;l=l-m&1073741823}c[d+12>>2]=l;a[d+10>>0]=1;l=e[p>>1]|514;b[p>>1]=g<<24>>24==0?l:l&65523;Ul(d,f&255)|0;l=0}else l=7;i=q;return l|0}function _l(a){a=a|0;var b=0,c=0;b=e[a+8>>1]|0;c=b&12;if(!c)if(!(b&18))b=0;else b=jp(a)|0;else b=c&65535;return b|0}function $l(a){a=a|0;var d=0.0,f=0,g=0,i=0,j=0;d=+h[a>>3];if(!(d<=-9223372036854775808.0)&!(d>=9223372036854775808.0)?(f=~~d>>>0,g=+N(d)>=1.0?(d>0.0?~~+$(+M(d/4294967296.0),4294967295.0)>>>0:~~+Z((d-+(~~d>>>0))/4294967296.0)>>>0):0,i=fw(f|0,g|0,1,-2147483648)|0,j=C,!(d!=+(f>>>0)+4294967296.0*+(g|0)|(j>>>0<0|(j|0)==0&i>>>0<2))):0){i=a;c[i>>2]=f;c[i+4>>2]=g;f=a+8|0;b[f>>1]=(e[f>>1]|0)&48640|4}return}function am(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=a+204|0;e=c[f>>2]|0;a:do if(e){h=(b|0)<0;do{while(1){if(!h){if((c[e>>2]|0)!=(b|0))break;g=c[e+4>>2]|0;if((g|0)<=31?(1<<g&d|0)!=0:0)break}g=c[e+12>>2]|0;if(g)_b[g&31](c[e+8>>2]|0);c[f>>2]=c[e+16>>2];ig(c[a>>2]|0,e);e=c[f>>2]|0;if(!e)break a}f=e+16|0;e=c[f>>2]|0}while((e|0)!=0)}while(0);return}function bm(a,b,c){a=a|0;b=b|0;c=c|0;do if(b<<24>>24>66){b=e[a+8>>1]|0;if(!(b&4)){if(b&8){$l(a);break}if(b&2)nh(a,1)}}else if(b<<24>>24==66?(b=e[a+8>>1]|0,!((b&2|0)!=0|(b&12|0)==0)):0)Zl(a,c,1)|0;while(0);return}function cm(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,i=0,j=0;j=a+8|0;g=b[j>>1]|0;i=g&65535;do if(!(i&1)){d=d&255;if((d|0)==67){kp(a);break}else if((d|0)==65){if(i&16){b[j>>1]=i&65040;break}if(!((i&2|0)!=0|(i&12|0)==0)){Zl(a,f,1)|0;g=b[j>>1]|0}b[j>>1]=g&48640|16;break}else if((d|0)==68){d=Rg(a)|0;g=a;c[g>>2]=d;c[g+4>>2]=C;b[j>>1]=(e[j>>1]|0)&48640|4;break}else if((d|0)==69){h[a>>3]=+Qg;h=a[g>>0]|0;i=f}else{h=f;i=g}do if(h<<24>>24==69|h<<24>>24==101){g=a[b+(i+1)>>0]|0;if(((g&255)+-48|0)>>>0>=10){if(!(g<<24>>24==45|g<<24>>24==43)){g=h;f=i;break}f=i+2|0;if(((d[b+f>>0]|0)+-48|0)>>>0>=10){g=h;f=i;break}}else f=i+2|0;while(1){g=b+f|0;if(((d[g>>0]|0)+-48|0)>>>0<10)f=f+1|0;else break}c[e>>2]=133;g=a[g>>0]|0}else{g=h;f=i}while(0);if(a[10368+(g&255)>>0]&70)do{c[e>>2]=150;f=f+1|0}while((a[10368+(d[b+f>>0]|0)>>0]&70)!=0)}else if((j|0)==98){if(!(a[10368+g>>0]&70)){c[e>>2]=150;f=1;break}else f=1;while(1)if(!(a[10368+(d[b+f>>0]|0)>>0]&70))break;else f=f+1|0;c[e>>2]=bi(b,f)|0}while(0);return f|0}function zn(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=a[b>>0]|0;if(f<<24>>24==45){b=b+1|0;i=1;j=13}else if(f<<24>>24==43){b=b+1|0;i=0;j=13}else if((f<<24>>24==48?(f=a[b+1>>0]|0,f<<24>>24==88|f<<24>>24==120):0)?(g=b+2|0,e=a[g>>0]|0,(a[10368+(e&255)>>0]&8)!=0):0){while(1){f=g+1|0;if(e<<24>>24!=48)break;g=f;e=a[f>>0]|0}if(!(a[10368+(e&255)>>0]&8)){e=0;f=0}else{h=e;b=0;f=0;do{e=h<<24>>24;f=(0-(e>>>6&1)&9)+e&15|f<<4;b=b+1|0;h=a[g+b>>0]|0;e=(a[10368+(h&255)>>0]&8)==0}while((b|0)<8&(e^1));e=e^1}if((f|0)<0|e)e=0;else{c[d>>2]=f;e=1}}else{i=0;j=13}a:do if((j|0)==13){e=0;f=0;h=0;while(1){g=(a[b+h>>0]|0)+-48|0;if(g>>>0>=10)break;f=ow(e|0,f|0,10,0)|0;e=fw(g|0,((g|0)<0)<<31>>31|0,f|0,C|0)|0;h=h+1|0;if((h|0)>=11){e=0;break a}else f=C}g=$v(e|0,f|0,i|0,0)|0;b=C;if((b|0)>0|(b|0)==0&g>>>0>2147483647)e=0;else{if(i)e=$v(0,0,e|0,f|0)|0;c[d>>2]=e;e=1}}while(0);return e|0}function An(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();g=f;c[g>>2]=e;og(a,b,d,g);i=f;return}function Bn(e,f,g,h,k,l,m){e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0;F=i;i=i+16|0;if((i|0)>=(j|0))ba();D=F;A=F+4|0;c[A>>2]=0;E=ih(e,536,0)|0;a:do if(E){bw(E|0,0,536)|0;c[E+476>>2]=k;r=e+20|0;k=c[r>>2]|0;b:do if((k|0)>0){s=e+16|0;p=0;while(1){q=c[(c[s>>2]|0)+(p<<4)+4>>2]|0;if(q){c[(c[q+4>>2]|0)+4>>2]=c[q>>2];n=Zk(q,1,1)|0;if(n)break;k=c[r>>2]|0}p=p+1|0;if((p|0)>=(k|0))break b}c[D>>2]=c[(c[s>>2]|0)+(p<<4)>>2];qg(e,n,40984,D);p=E;break a}while(0);nl(e);c[E>>2]=e;c[E+424>>2]=0;do if((g|0)>-1){if((g|0)!=0?(a[f+(g+-1)>>0]|0)==0:0){B=21;break}if((c[e+92>>2]|0)<(g|0)){qg(e,18,41016,D);if(!e){p=E;n=18;break a}if(!(a[e+65>>0]|0)){p=E;n=c[e+56>>2]&18;break a}else{Ml(e);p=E;n=7;break a}}else{if((f|0)!=0?(o=fw(g|0,((g|0)<0)<<31>>31|0,1,0)|0,o=ih(e,o,C)|0,(o|0)!=0):0){gw(o|0,f|0,g|0)|0;a[o+g>>0]=0;Hh(E,o,A)|0;ig(e,o);n=E+480|0;c[n>>2]=f+((c[n>>2]|0)-o);break}c[E+480>>2]=f+g;break}}else B=21;while(0);if((B|0)==21)Hh(E,f,A)|0;s=e+65|0;k=E+12|0;if(!(a[s>>0]|0)){p=E+12|0;if((c[k>>2]|0)==101)c[p>>2]=0}else{c[k>>2]=7;p=E+12|0}c:do if((a[E+17>>0]|0)!=0?(t=c[E>>2]|0,u=t+20|0,(c[u>>2]|0)>0):0){o=t+16|0;r=0;while(1){k=c[o>>2]|0;n=c[k+(r<<4)+4>>2]|0;if(n){if(!(a[n+8>>0]|0)){k=ug(n,0)|0;if((k|0)==7|(k|0)==3082)break;else if(k)break c;k=c[o>>2]|0;q=1}else q=0;g=c[n+4>>2]|0;c[g+4>>2]=c[n>>2];g=c[(c[g+12>>2]|0)+56>>2]|0;if((d[g+41>>0]<<16|d[g+40>>0]<<24|d[g+42>>0]<<8|d[g+43>>0]|0)!=(c[c[k+(r<<4)+12>>2]>>2]|0)){rm(t,r);c[p>>2]=17}if(q)qn(n)|0}r=r+1|0;if((r|0)>=(c[u>>2]|0))break c}a[t+65>>0]=1}while(0);if(a[s>>0]|0)c[p>>2]=7;if(m)c[m>>2]=c[E+480>>2];n=c[p>>2]|0;q=(n|0)==0;do if(q?(w=E+8|0,v=c[w>>2]|0,(v|0)!=0):0){p=a[E+450>>0]|0;if(!(p<<24>>24))break;else if(p<<24>>24==2){eq(v,4);o=8;k=12}else{eq(v,8);o=0;k=8}p=o;do{fq(c[w>>2]|0,p-o|0,0,c[41040+(p<<2)>>2]|0,0);p=p+1|0}while((p|0)<(k|0))}while(0);o=E+8|0;if((a[e+145>>0]|0)==0?(z=c[o>>2]|0,x=(c[E+480>>2]|0)-f|0,(z|0)!=0):0){if((f|0)!=0?(w=c[z>>2]|0,y=fw(x|0,((x|0)<0)<<31>>31|0,1,0)|0,y=ih(w,y,C)|0,(y|0)!=0):0){gw(y|0,f|0,x|0)|0;a[y+x>>0]=0;p=y}else p=0;c[z+168>>2]=p;z=z+88|0;b[z>>1]=b[z>>1]&-257|(h&65535)<<8&256}p=c[o>>2]|0;do if(!p)B=60;else{if(q?(a[s>>0]|0)==0:0){B=60;break}Jg(p)|0}while(0);if((B|0)==60)c[l>>2]=p;o=c[A>>2]|0;do if(!o){c[e+52>>2]=n;o=c[e+236>>2]|0;if(o){p=o+8|0;if(!(b[p>>1]&9312)){b[p>>1]=1;break}else{rg(o);break}}}else{c[D>>2]=o;qg
10 function qc(a){a=a|0;var b=0;b=i;i=i+a|0;i=i+15&-16;if((i|0)>=(j|0))ba();return b|0}function rc(){return i|0}function sc(a){a=a|0;i=a}function tc(a,b){a=a|0;b=b|0;if(!n){n=a;o=b}}function uc(b){b=b|0;a[k>>0]=a[b>>0];a[k+1>>0]=a[b+1>>0];a[k+2>>0]=a[b+2>>0];a[k+3>>0]=a[b+3>>0]}function vc(b){b=b|0;a[k>>0]=a[b>>0];a[k+1>>0]=a[b+1>>0];a[k+2>>0]=a[b+2>>0];a[k+3>>0]=a[b+3>>0];a[k+4>>0]=a[b+4>>0];a[k+5>>0]=a[b+5>>0];a[k+6>>0]=a[b+6>>0];a[k+7>>0]=a[b+7>>0]}function wc(a){a=a|0;C=a}function xc(){return C|0}function yc(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();e=h+4|0;f=h;g=0;a:while(1){c[e>>2]=0;c[f>>2]=0;a[280]=0;if(Nf(14640,e)|0){d=4;break}d=c[e>>2]|0;b=0;do{if(Me(d,c[8+(b<<2)>>2]|0,17,0,f)|0){d=7;break a}b=b+1|0;d=c[e>>2]|0}while((b|0)!=5);pf(d)|0;if(Wv(280,8504)|0){d=9;break}g=g+1|0;if((g|0)>=3){d=11;break}}if((d|0)==4)eb(8472,8488,47,8496);else if((d|0)==7)eb(8472,8488,50,8496);else if((d|0)==9)eb(8600,8488,53,8496);else if((d|0)==11){i=h;return 0}return 0}function zc(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;if((d|0)>0)while(1){d=d+-1|0;dw(280,c[f>>2]|0)|0;b=280+(cw(280)|0)|0;a[b>>0]=61;a[b+1>>0]=0;b=c[e>>2]|0;dw(280,((b|0)==0?20304:b)|0)|0;if((d|0)<=0)break;else{e=e+4|0;f=f+4|0}}return 0}function Ac(b){b=b|0;var e=0,f=0,g=0;g=(Bc(b,8640,7)|0)==0;g=g?b+7|0:b;if(!g)b=0;else{b=g;while(1)if(!(a[b>>0]|0))break;else b=b+1|0;b=b-g&1073741823}f=0;while(1){e=c[8648+(f<<2)>>2]|0;if((Bc(g,e,b)|0)==0?(a[10368+(d[e+b>>0]|0)>>0]&70)==0:0){b=1;break}f=f+1|0;if((f|0)>=4){b=0;break}}return b|0}function Bc(b,c,e){b=b|0;c=c|0;e=e|0;var f=0;a:do if(b)if(c)if((e|0)>0){f=b;while(1){b=a[f>>0]|0;if(!(b<<24>>24))break;if((a[9328+(b&255)>>0]|0)!=(a[9328+(d[c>>0]|0)>>0]|0))break;e=e+-1|0;if((e|0)<=0){e=0;break a}else{f=f+1|0;c=c+1|0}}if((e|0)>=1)e=(d[9328+(b&255)>>0]|0)-(d[9328+(d[c>>0]|0)>>0]|0)|0;else e=0}else e=0;else e=1;else e=((c|0)!=0)<<31>>31;while(0);return e|0}function Cc(a){a=a|0;if(a>>>0<4)a=c[8648+(a<<2)>>2]|0;else a=0;return a|0}function Dc(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();f=h;if(a>>>0<=9){g=c[8664+(a<<2)>>2]|0;f=b;c[f>>2]=g;c[f+4>>2]=0;f=8704+(a<<2)|0;a=d;c[a>>2]=c[f>>2];c[a+4>>2]=0;if(!e)f=0;else{c[f>>2]=g;f=0}}else{c[f>>2]=15033;c[f+4>>2]=10788;Zc(21,13648,f);f=21}i=h;return f|0}function Ec(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();f=h+8|0;g=h;a=Dc(a,f,g,e)|0;if(!a){c[b>>2]=c[f>>2];c[d>>2]=c[g>>2]}i=h;return a|0}function Fc(a,b,d,f,g){a=a|0;b=b|0;d=d|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();n=p+4|0;l=p;switch(b|0){case 2:{c[n>>2]=0;o=a+20|0;g=c[o>>2]|0;h=(g|0)>0;if(h){l=c[a+16>>2]|0;k=0;do{b=c[l+(k<<4)+4>>2]|0;if(b)c[(c[b+4>>2]|0)+4>>2]=c[b>>2];k=k+1|0}while((k|0)!=(g|0));k=a+520|0;c[k>>2]=n;if(h){m=a+16|0;h=0;do{b=c[(c[m>>2]|0)+(h<<4)+12>>2]|0;if(b){l=hc[c[8744+52>>2]&127](16)|0;l=_((c[b+44>>2]|0)+(c[b+12>>2]|0)+(c[b+28>>2]|0)+(c[b+60>>2]|0)|0,l)|0;c[n>>2]=l+(c[n>>2]|0);l=hc[c[8744+48>>2]&127](c[b+20>>2]|0)|0;c[n>>2]=(c[n>>2]|0)+l;l=hc[c[8744+48>>2]&127](c[b+52>>2]|0)|0;c[n>>2]=(c[n>>2]|0)+l;l=hc[c[8744+48>>2]&127](c[b+36>>2]|0)|0;c[n>>2]=(c[n>>2]|0)+l;l=hc[c[8744+48>>2]&127](c[b+68>>2]|0)|0;c[n>>2]=(c[n>>2]|0)+l;l=c[b+48>>2]|0;if(l)do{fg(a,c[l+8>>2]|0);l=c[l>>2]|0}while((l|0)!=0);l=c[b+16>>2]|0;if(l)do{gg(a,c[l+8>>2]|0);l=c[l>>2]|0}while((l|0)!=0);g=c[o>>2]|0}h=h+1|0}while((h|0)<(g|0));h=c[n>>2]|0}else h=0}else{k=a+520|0;c[k>>2]=n;h=0}c[k>>2]=0;c[f>>2]=0;c[d>>2]=h;h=0;break}case 9:case 8:case 7:{o=a+20|0;l=c[o>>2]|0;if((l|0)>0){n=c[a+16>>2]|0;m=b+-7|0;k=(g|0)==0;h=0;b=l;g=0;while(1){l=c[n+(g<<4)+4>>2]|0;if(l){l=(c[c[l+4>>2]>>2]|0)+(m<<2)+184|0;h=(c[l>>2]|0)+h|0;if(k)l=b;else{c[l>>2]=0;l=c[o>>2]|0}}else l=b;g=g+1|0;if((g|0)>=(l|0))break;else b=l}}else h=0;c[f>>2]=0;c[d>>2]=h;h=0;break}case 0:{k=a+252|0;c[d>>2]=c[k>>2];h=a+256|0;c[f>>2]=c[h>>2];if(!g)h=0;else{c[h>>2]=c[k>>2];h=0}break}case 6:case 5:case 4:{c[d>>2]=0;h=a+(b+-4<<2)+260|0;c[f>>2]=c[h>>2];if(!g)h=0;else{c[h>>2]=0;h=0}break}case 1:{m=a+20|0;k=c[m>>2]|0;g=(k|0)>0;if(g){h=c[a+16>>2]|0;l=0;do{b=c[h+(l<<4)+4>>2]|0;if(b)c[(c[b+4>>2]|0)+4>>2]=c[b>>2];l=l+1|0}while((l|0)!=(k|0));if(g){b=a+16|0;l=0;h=0;while(1){g=c[(c[b>>2]|0)+(l<<4)+4>>2]|0;if(!g)g=k;else{o=c[c[g+4>>2]>>2]|0;a=o+152|0;n=(c[a>>2]|0)+60+(e[o+140>>1]|0)|0;n=_(hc[c[8744+128>>2]&127](c[(c[o+204>>2]|0)+40>>2]|0)|0,n)|0;o=hc[c[8744+48>>2]&127](o)|0;g=c[m>>2]|0;h=n+h+o+(c[a>>2]|0)|0}l=l+1|0;if((l|0)>=(g|0))break;else k=g}}else h=0}else h=0;c[d>>2]=h;c[f>>2]=0;h=0;break}case 3:{c[l>>2]=0;g=a+520|0;c[g>>2]=l;k=c[a+4>>2]|0;if(!k)h=0;else{do{hg(a,k);ig(a,k);k=c[k+52>>2]|0}while((k|0)!=0);h=c[l>>2]|0}c[g>>2]=0;c[f>>2]=0;c[d>>2]=h;h=0;break}case 10:{c[f>>2]=0;o=a+512|0;n=c[o+4>>2]|0;if((n|0)>0|(n|0)==0&(c[o>>2]|0)>>>0>0)h=1;else{h=a+504|0;a=c[h+4>>2]|0;h=(a|0)>0|(a|0)==0&(c[h>>2]|0)>>>0>0}c[d>>2]=h&1;h=0;break}default:h=1}i=p;return h|0}function Gc(a){a=a|0;var b=0;a:do if(!(Hc()|0)){b=c[2254]|0;if(!((b|0)==0|(a|0)==0))while(1){if(!(Wv(a,c[b+16>>2]|0)|0))break a;b=c[b+12>>2]|0;if(!b){b=0;break}}}else b=0;while(0);return b|0}function Hc(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();k=m;do if(!(c[2243]|0)){c[2245]=1;if(!(c[2246]|0)){if(!(c[2195]|0)){c[k>>2]=16496;hf(4,k)|0}b=9024|0;d=b+40|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));if(c[2187]|0)c[2256]=8;h=c[2234]|0;d=c[2235]|0;b=c[2236]|0;if((h|0)!=0&(d|0)>99&(b|0)>0){g=d&-8;c[2235]=g;c[2263]=h;c[2264]=b;f=b+-1|0;if((f|0)>0){b=h+(_(d>>>3,(b<<3)+-8|0)|0)|0;e=0;d=h;do{a=d;d=d+g|0;c[a>>2]=d;e=e+1|0}while((e|0)!=(f|0))}else b=h;c[b>>2]=0;c[2262]=b+4}else{c[2262]=0;c[2234]=0;c[2235]=0;c[2236]=0}if((c[2237]|0)==0|(c[2238]|0)<512|(c[2239]|0)<1){c[2237]=0;c[2238]=0;c[2239]=0}a=hc[c[8744+56>>2]&127](c[2202]|0)|0;if(a){b=9024|0;d=b+40|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));break}}c[2246]=1;if(!(c[2249]|0))c[2249]=8;a=(c[2248]|0)+1|0;c[2248]=a;if(!(c[2244]|c[2243])){c[2244]=1;b=10840|0;d=b+92|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));b=0;do{jg(10840,16608+(b*36|0)|0);b=b+1|0}while((b|0)!=59);b=0;do{jg(10840,19480+(b*36|0)|0);b=b+1|0}while((b|0)!=8);jg(10840,19256);jg(10840,19292|0);jg(10840,19328|0);if(!(c[2247]|0)){a=c[2214]|0;if(!a){c[k>>2]=16440;hf(18,k)|0;a=c[2214]|0}a=hc[a&127](c[2213]|0)|0;if(!a)l=28}else l=28;if((l|0)==28){c[2247]=1;a=Pc(10)|0;if(!a)a=7;else{Sc(a);Ic(9584,1)|0;Ic(9672|0,0)|0;Ic(9760|0,0)|0;Ic(9848|0,0)|0;a=c[2237]|0;b=c[2238]|0;d=c[2239]|0;if(c[3153]|0){k=b&-8;c[3154]=k;c[3161]=d;c[3155]=d;if((d|0)<=90){c[3156]=((d|0)/10|0)+1;c[3157]=a;c[3160]=0;c[3162]=0;if(d)l=33}else{c[3156]=10;c[3157]=a;c[3160]=0;c[3162]=0;l=33}if((l|0)==33){f=b>>>3;g=d<<3;h=_(f<<3,d+-1|0)|0;b=a;e=0;while(1){d=d+-1|0;c[b>>2]=e;if(!d)break;else{e=b;b=b+k|0}}b=a+(_(g,f)|0)|0;c[3160]=a+h;a=b}c[3158]=a}c[2243]=1;a=0}}c[2244]=0;b=c[2248]|0}else{b=a;a=0}c[2248]=b+-1;if((b|0)<2)c[2249]=0}else a=0;while(0);i=m;return a|0}function Ic(a,b){a=a|0;b=b|0;var d=0;d=Hc()|0;do if(!d){kg(a);d=c[2254]|0;if((b|0)!=0|(d|0)==0){c[a+12>>2]=d;c[2254]=a;d=0;break}else{c[a+12>>2]=c[d+12>>2];c[(c[2254]|0)+12>>2]=a;d=0;break}}while(0);return d|0}function Jc(a){a=a|0;kg(a);return 0}function Kc(a){a=a|0;return 0}function Lc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;do if(!(Hc()|0)){e=9032|0;d=c[e>>2]|0;e=c[e+4>>2]|0;if((b|0)>=0)if((b|0)>0|(b|0)==0&a>>>0>0){c[2260]=9;c[2261]=0;f=9032|0;c[f>>2]=a;c[f+4>>2]=b;c[2265]=(0>(b|0)|0==(b|0)&(c[2166]|0)>>>0>=a>>>0)&1;break}else{c[2265]=0;c[2258]=0;c[2259]=0;c[2260]=0;c[2261]=0;break}}else{e=-1;d=-1}while(0);C=e;return d|0}function Mc(){var a=0;a=c[2166]|0;C=((a|0)<0)<<31>>31;return a|0}function Nc(a){a=a|0;var b=0;b=(a|0)<0;Lc(b?0:a,b?0:((a|0)<0)<<31>>31)|0;return}function Oc(a){a=a|0;var b=0;b=c[2176]|0;if(a)c[2176]=c[2166];C=((b|0)<0)<<31>>31;return b|0}function Pc(a){a=a|0;if((Hc()|0)!=0|(a|0)<1)a=0;else a=mg(a,((a|0)<0)<<31>>31)|0;return a|0}function Qc(a,b){a=a|0;b=b|0;if(!(Hc()|0))a=mg(a,b)|0;else a=0;return a|0}function Rc(a){a=a|0;a=hc[c[8744+48>>2]&127](a)|0;C=((a|0)<0)<<31>>31;return a|0}function Sc(a){a=a|0;var b=0;do if(a)if(!(c[2186]|0)){_b[c[8744+40>>2]&31](a);break}else{b=hc[c[8744+48>>2]&127](a)|0;c[2166]=(c[2166]|0)-b;c[2175]=(c[2175]|0)+-1;_b[c[8744+40>>2]&31](a);break}while(0);return}function Tc(a,b){a=a|0;b=b|0;var c=0;if(!(Hc()|0)){c=(b|0)<0;b=ng(a,c?0:b,c?0:((b|0)<0)<<31>>31)|0}else b=0;return b|0}function Uc(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Hc()|0))b=ng(a,b,c)|0;else b=0;return b|0}function Vc(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+112|0;if((i|0)>=(j|0))ba();f=g+28|0;e=g;if(!(Hc()|0)){c[e+4>>2]=f;c[e+8>>2]=f;c[e>>2]=0;c[e+12>>2]=0;c[e+16>>2]=70;c[e+20>>2]=1e9;a[e+25>>0]=0;a[e+24>>0]=2;og(e,0,b,d);e=pg(e)|0}else e=0;i=g;return e|0}function Wc(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;if(!(Hc()|0)){c[d>>2]=b;d=Vc(a,d)|0}else d=0;i=e;return d|0}function Xc(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+32|0;if((i|0)>=(j|0))ba();g=h;if((b|0)>=1){c[g+4>>2]=d;c[g+8>>2]=d;c[g>>2]=0;c[g+12>>2]=0;c[g+16>>2]=b;c[g+20>>2]=0;a[g+25>>0]=0;a[g+24>>0]=0;og(g,0,e,f);d=pg(g)|0}i=h;return d|0}function Yc(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();g=f;c[g>>2]=e;a=Xc(a,b,d,g)|0;i=f;return a|0}function Zc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;k=i;i=i+256|0;if((i|0)>=(j|0))ba();f=k+16|0;h=k+44|0;g=k;if(c[2250]|0){c[g>>2]=e;c[f+4>>2]=h;c[f+8>>2]=h;c[f>>2]=0;c[f+12>>2]=0;c[f+16>>2]=210;c[f+20>>2]=0;a[f+25>>0]=0;a[f+24>>0]=0;og(f,0,d,g);e=c[2250]|0;g=c[2251]|0;f=pg(f)|0;ic[e&63](g,b,f)}i=k;return}function _c(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0;h=i;i=i+256|0;if((i|0)>=(j|0))ba();g=h;do if(!(Hc()|0)){if((b|0)<1|(e|0)==0){a[9064]=0;break}if(!(a[9064]|0)){a[9066]=0;a[9065]=0;f=(Hc()|0)==0;f=f?c[2254]|0:0;Yb[c[f+56>>2]&63](f,256,g)|0;f=0;do{a[9067+f>>0]=f;f=f+1|0}while((f|0)!=256);f=0;do{k=9067+f|0;m=(d[g+f>>0]|0)+(d[k>>0]|0)+(d[9066]|0)|0;a[9066]=m;m=9067+(m&255)|0;l=a[m>>0]|0;a[m>>0]=a[k>>0]|0;a[k>>0]=l;f=f+1|0}while((f|0)!=256);a[9064]=1}while(1){k=(a[9065]|0)+1<<24>>24;a[9065]=k;k=9067+(k&255)|0;g=a[k>>0]|0;f=g&255;l=(d[9066]|0)+f|0;a[9066]=l;a[k>>0]=a[9067+(l&255)>>0]|0;a[9067+(d[9066]|0)>>0]=g;a[e>>0]=a[9067+((d[9067+(d[9065]|0)>>0]|0)+f&255)>>0]|0;b=b+-1|0;if(!b)break;else e=e+1|0}}while(0);i=h;return}function $c(b,c){b=b|0;c=c|0;var e=0;if(b)if(!c)c=1;else{e=a[b>>0]|0;a:do if(!(e<<24>>24))e=0;else while(1){if((a[9328+(e&255)>>0]|0)!=(a[9328+(d[c>>0]|0)>>0]|0))break a;b=b+1|0;c=c+1|0;e=a[b>>0]|0;if(!(e<<24>>24)){e=0;break}}while(0);c=(d[9328+(e&255)>>0]|0)-(d[9328+(d[c>>0]|0)>>0]|0)|0}else c=((c|0)!=0)<<31>>31;return c|0}function ad(a){a=a|0;c[2241]=a;return 0}function bd(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();n=o;a:do if((f|0)==(d|0)){qg(f,1,10016,n);h=0}else{h=mg(48,0)|0;if(!h){c[d+52>>2]=7;h=c[d+236>>2]|0;if(!h){h=0;break}e=h+8|0;if(!(b[e>>1]&9312)){b[e>>1]=1;h=0;break}else{rg(h);h=0;break}}l=h+0|0;k=l+48|0;do{a[l>>0]=0;l=l+1|0}while((l|0)<(k|0));m=h+24|0;c[m>>2]=sg(d,f,g)|0;k=sg(d,d,e)|0;l=h+4|0;c[l>>2]=k;c[h>>2]=d;c[h+20>>2]=f;c[h+16>>2]=1;c[h+40>>2]=0;e=c[m>>2]|0;do if(!((e|0)==0|(k|0)==0)?(tg(k,c[(c[e+4>>2]|0)+32>>2]|0,-1,0)|0)!=7:0)if(!(a[(c[l>>2]|0)+8>>0]|0)){e=(c[m>>2]|0)+16|0;c[e>>2]=(c[e>>2]|0)+1;break a}else{qgQg(a))}function qd(a){a=a|0;a=Rg(a)|0;return a|0}function rd(a){a=a|0;a=Rg(a)|0;return a|0}function sd(a){a=a|0;return Og(a,2)|0}function td(a){a=a|0;return Og(a,3)|0}function ud(a){a=a|0;return Og(a,2)|0}function vd(a){a=a|0;return d[10064+((e[a+8>>1]|0)&31)>>0]|0|0}function wd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Sg(a,b,c,0,d);return}function xd(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if(f>>>0>0|(f|0)==0&e>>>0>2147483647){e=g;if(!((e|0)==0|(e|0)==-1))_b[g&31](d);if(b){c[b+20>>2]=18;a[b+25>>0]=1;Tg(c[b>>2]|0,10096,-1,1,0)|0}}else Sg(b,d,e,0,g);return}function yd(a,b){a=a|0;b=+b;Ug(c[a>>2]|0,b);return}function zd(b,d,e){b=b|0;d=d|0;e=e|0;c[b+20>>2]=1;a[b+25>>0]=1;Tg(c[b>>2]|0,d,e,1,-1)|0;return}function Ad(b,d,e){b=b|0;d=d|0;e=e|0;c[b+20>>2]=1;a[b+25>>0]=1;Tg(c[b>>2]|0,d,e,2,-1)|0;return}function Bd(a,d){a=a|0;d=d|0;var e=0,f=0;a=c[a>>2]|0;e=((d|0)<0)<<31>>31;f=a+8|0;if(!(b[f>>1]&9312)){c[a>>2]=d;c[a+4>>2]=e;b[f>>1]=4}else Vg(a,d,e);return}function Cd(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;a=c[a>>2]|0;f=a+8|0;if(!(b[f>>1]&9312)){c[a>>2]=d;c[a+4>>2]=e;b[f>>1]=4}else Vg(a,d,e);return}function Dd(a){a=a|0;var d=0;a=c[a>>2]|0;d=a+8|0;if(!(b[d>>1]&9312))b[d>>1]=1;else rg(a);return}function Ed(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Sg(a,b,c,1,d);return}function Fd(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;if(f>>>0>0|(f|0)==0&e>>>0>2147483647){e=g;if(!((e|0)==0|(e|0)==-1))_b[g&31](d);if(b){c[b+20>>2]=18;a[b+25>>0]=1;Tg(c[b>>2]|0,10096,-1,1,0)|0}}else Sg(b,d,e,h<<24>>24==4?2:h,g);return}function Gd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Sg(a,b,c,2,d);return}function Hd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Sg(a,b,c,3,d);return}function Id(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Sg(a,b,c,2,d);return}function Jd(a,b){a=a|0;b=b|0;Wg(c[a>>2]|0,b)|0;return}function Kd(a,b){a=a|0;b=b|0;Xg(c[a>>2]|0,b);return}function Ld(d,e){d=d|0;e=e|0;var f=0;c[d+20>>2]=e;a[d+25>>0]=1;f=c[d>>2]|0;if(b[f+8>>1]&1){if((e|0)!=516){d=e&255;if(d>>>0>26|(d|0)==2)d=16328;else d=c[15488+(d<<2)>>2]|0}else d=16344;Tg(f,d,-1,1,0)|0}return}function Md(b){b=b|0;c[b+20>>2]=18;a[b+25>>0]=1;Tg(c[b>>2]|0,10096,-1,1,0)|0;return}function Nd(d){d=d|0;var e=0,f=0;e=c[d>>2]|0;f=e+8|0;if(!(b[f>>1]&9312))b[f>>1]=1;else{rg(e);e=c[d>>2]|0}c[d+20>>2]=7;a[d+25>>0]=1;a[(c[e+32>>2]|0)+65>>0]=1;return}function Od(f){f=f|0;var g=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,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;W=i;i=i+224|0;if((i|0)>=(j|0))ba();R=W+8|0;Q=W;if(!(Yg(f)|0)){V=c[f>>2]|0;J=f+88|0;b[J>>1]=b[J>>1]&-513;N=f+40|0;O=f+76|0;P=f+128|0;U=f+80|0;z=f+168|0;A=f+8|0;B=f+20|0;D=f+32|0;E=f+4|0;F=f+84|0;T=f+44|0;G=(f|0)==0;H=f+52|0;I=f+48|0;y=0;while(1){if((c[N>>2]|0)!=-1108210269)jd(f)|0;x=c[f>>2]|0;if(a[x+65>>0]|0){S=7;break}l=c[O>>2]|0;do if((l|0)<1){if(b[J>>1]&8){c[U>>2]=17;l=1;break}if((l|0)<0){l=x+148|0;if(!(c[l>>2]|0))c[x+240>>2]=0;if((c[x+184>>2]|0)!=0?(a[x+145>>0]|0)==0:0)Zg(c[x>>2]|0,P)|0;c[l>>2]=(c[l>>2]|0)+1;l=b[J>>1]|0;if(!(l&64)){l=x+156|0;c[l>>2]=(c[l>>2]|0)+1;l=b[J>>1]|0}if(l&128){w=x+152|0;c[w>>2]=(c[w>>2]|0)+1}c[O>>2]=0;S=22}else S=22}else S=22;while(0);if((S|0)==22){S=0;do if(!(b[J>>1]&3)){w=x+160|0;c[w>>2]=(c[w>>2]|0)+1;l=ch(f)|0;c[w>>2]=(c[w>>2]|0)+-1;if((l|0)==100)l=100;else S=101}else{p=c[f>>2]|0;v=c[A>>2]|0;u=v+40|0;_g(u,8);c[B>>2]=0;if((c[U>>2]|0)==7){a[p+65>>0]=1;l=1;S=101;break}n=c[D>>2]|0;q=b[J>>1]&3;if(q<<16>>16==1){o=c[A>>2]|0;r=o+360|0;if(b[o+368>>1]&16){s=(c[o+372>>2]|0)>>>2;m=c[o+376>>2]|0;if(!s){t=m;o=n;g=0}else{l=0;o=n;do{o=(c[(c[m+(l<<2)>>2]|0)+4>>2]|0)+o|0;l=l+1|0}while((l|0)<(s|0));t=m;g=s}}else{t=0;o=n;g=0}}else{t=0;o=n;g=0;r=0}n=q<<16>>16==2;m=c[O>>2]|0;while(1){l=m+1|0;if((m|0)>=(o|0)){S=33;break}if(!n)break;if((a[(c[E>>2]|0)+(m*20|0)>>0]|0)==-99)break;else m=l}if((S|0)==33){c[O>>2]=l;c[U>>2]=0;l=101;S=101;break}c[O>>2]=l;if(c[p+240>>2]|0){c[U>>2]=9;c[R>>2]=15832;$g(T,p,10344,R);l=1;S=101;break}o=c[D>>2]|0;if((m|0)<(o|0)){l=m;w=(c[E>>2]|0)+(m*20|0)|0}else{m=m-o|0;o=c[t>>2]|0;n=c[o+4>>2]|0;if((m|0)<(n|0))n=m;else{o=m;l=0;while(1){m=o-n|0;l=l+1|0;o=c[t+(l<<2)>>2]|0;n=c[o+4>>2]|0;if((m|0)<(n|0)){n=m;break}else o=m}}l=n;w=(c[o>>2]|0)+(n*20|0)|0}if((b[J>>1]&3)==1){b[v+48>>1]=4;n=u;c[n>>2]=l;c[n+4>>2]=((l|0)<0)<<31>>31;b[v+88>>1]=2562;n=c[44856+(d[w>>0]<<2)>>2]|0;c[v+96>>2]=n;o=n;while(1)if(!(a[o>>0]|0))break;else o=o+1|0;s=v+80|0;c[v+92>>2]=o-n&1073741823;a[v+90>>0]=1;if((a[w+1>>0]|0)==-18){l=(g<<2)+4|0;a:do if(!g)o=0;else{n=c[w+16>>2]|0;m=0;while(1){o=m+1|0;if((c[t+(m<<2)>>2]|0)==(n|0)){o=m;break a}if((o|0)<(g|0))m=o;else break}}while(0);if((o|0)==(g|0)?(ah(r,l,(g|0)!=0&1)|0)==0:0){c[(c[r+16>>2]|0)+(g<<2)>>2]=c[w+16>>2];v=r+8|0;b[v>>1]=e[v>>1]|16;c[r+12>>2]=l;v=s}else v=s}else v=s}b[v+48>>1]=4;u=c[w+4>>2]|0;t=v+40|0;c[t>>2]=u;c[t+4>>2]=((u|0)<0)<<31>>31;b[v+88>>1]=4;t=c[w+8>>2]|0;u=v+80|0;c[u>>2]=t;c[u+4>>2]=((t|0)<0)<<31>>31;b[v+128>>1]=4;u=c[w+12>>2]|0;t=v+120|0;c[t>>2]=u;c[t+4>>2]=((u|0)<0)<<31>>31;t=v+160|0;if(!(bh(t,32)|0)){b[v+168>>1]=514;u=v+176|0;g=c[u>>2]|0;b:do switch(a[w+1>>0]|0){case -6:{p=c[w+16>>2]|0;l=p+6|0;c[R>>2]=e[l>>1];Yc(32,g,44768,R)|0;if(!g)o=0;else{o=g;while(1)if(!(a[o>>0]|0))break;else o=o+1|0;o=o-g&1073741823}c:do if(b[l>>1]|0){q=p+16|0;r=0;while(1){n=c[p+(r<<2)+20>>2]|0;if(n){n=c[n>>2]|0;if(!n){m=0;n=0}else S=61}else{n=44776;S=61}do if((S|0)==61){S=0;s=n;while(1)if(!(a[s>>0]|0))break;else s=s+1|0;m=s-n&1073741823;if((m|0)!=6)break;s=(Vv(n,11152,6)|0)==0;m=s?1:6;n=s?44784:n}while(0);if((m+o|0)>26)break;s=o+1|0;a[g+o>>0]=44;if(a[(c[q>>2]|0)+r>>0]|0){a[g+s>>0]=45;s=o+2|0}gw(g+s|0,n|0,m+1|0)|0;o=s+m|0;r=r+1|0;if((r|0)>=(e[l>>1]|0))break c}l=g+o|0;a[l>>0]=44;a[l+1>>0]=46;a[l+2>>0]=46;a[l+3>>0]=46}while(0);a[g+o>>0]=41;a[g+(o+1)>>0]=0;n=g;break}case -15:{Yc(32,g,44832,R)|0;n=g;break}case -18:{Yc(32,g,44848,R)|0;n=g;break}case -4:{c[R>>2]=c[c[w+16>>2]>>2];Yc(32,g,44792,R)|0;n=g;break}case -5:{l=c[w+16>>2]|0;n=b[l>>1]|0;c[R>>2]=c[l+24>>2];c[R+4>>2]=n;Yc(32,g,44800,R)|0;n=g;break}case -13:{m=c[w+16>>2]|0;l=c[m+4>>2]|0;n=R;c[n>>2]=c[m>>2];c[n+4>>2]=l;Yc(32,g,19920,R)|0;n=g;break}case -14:{c[R>>2]=c[w+16>>2];Yc(32,g,44808,R)|0;n=g;break}case -12:{h[k>>3]=+h[c[w+16>>2]>>3];c[R>>2]=c[k>>2];c[R+4>>2]=c[k+4>>2];Yc(32,g,19912,R)|0;n=g;break}case -8:{o=c[w+16>>2]|0;n=e[o+8>>1]|0;if(n&2){n=c[o+16>>2]|0;break b}if(n&4){m=o;l=c[m+4>>2]|0;n=R;c[n>>2]=c[m>>2];c[n+4>>2]=l;Yc(32,g,19920,R)|0;n=g;break b}if(n&8){h[k>>3]=+h[o>>3];c[R>>2]=c[k>>2];c[R+4>>2]=c[k+4>>2];Yc(32,g,19912,R)|0;n=g;break b}if(!(n&1))n=44816;else{Yc(32,g,20304,R)|0;n=g}break}case -19:{a[g>>0]=0;n=g;break}case -10:{c[R>>2]=c[(c[w+16>>2]|0)+8>>2];Yc(32,g,44824,R)|0;n=g;break}default:{o=c[w+16>>2]|0;if(!o){a[g>>0]=0;n=g}else n=o}}while(0);if((n|0)==(c[u>>2]|0)){if(!n)l=0;else{o=n;while(1)if(!(a[o>>0]|0))break;else o=o+1|0;l=o-n&1073741823}c[v+172>>2]=l;a[v+170>>0]=1}else Tg(t,n,-1,1,0)|0;l=b[J>>1]|0;if((l&3)==1){if(bh(v+200|0,4)|0){l=1;S=101;break}b[v+208>>1]=514;c[v+212>>2]=2;l=c[v+216>>2]|0;c[R>>2]=d[w+3>>0];Yc(3,l,44760,R)|0;a[v+210>>0]=1;b[v+248>>1]=1;l=b[J>>1]|0}b[F>>1]=12-((l&3)<<2);c[B>>2]=(c[A>>2]|0)+40;c[U>>2]=0;l=100}else{l=1;S=101}}while(0);if((S|0)==101){S=0;g=x+184|0;if(((c[g>>2]|0)!=0?(a[x+145>>0]|0)==0:0)?(c[z>>2]|0)!=0:0){Zg(c[x>>2]|0,Q)|0;g=c[g>>2]|0;u=c[x+188>>2]|0;v=c[z>>2]|0;m=Q;w=P;w=$v(c[m>>2]|0,c[m+4>>2]|0,c[w>>2]|0,c[w+4>>2]|0)|0;w=ow(w|0,C|0,1e6,0)|0;mc[g&15](u,v,w,C)}if((l|0)==101){p=x+20|0;o=c[p>>2]|0;if((o|0)>0){q=x+16|0;r=x+216|0;s=x+220|0;g=0;l=0;do{n=c[q>>2]|0;m=c[n+(g<<4)+4>>2]|0;if(((m|0)!=0?(K=c[m+4>>2]|0,c[K+4>>2]=c[m>>2],K=c[(c[K>>2]|0)+208>>2]|0,(K|0)!=0):0)?(M=K+12|0,L=c[M>>2]|0,c[M>>2]=0,M=c[r>>2]|0,(M|0)!=0&(L|0)>0&(l|0)==0):0){l=lc[M&31](c[s>>2]|0,x,c[n+(g<<4)>>2]|0,L)|0;o=c[p>>2]|0}g=g+1|0}while((g|0)<(o|0))}else l=0;c[U>>2]=l;l=(l|0)==0?101:1}}c[x+52>>2]=l;if((Kg(c[f>>2]|0,c[U>>2]|0)|0)==7)c[U>>2]=7}if((b[J>>1]&256)!=0&(l|0)!=100&(l|0)!=101)l=dh(f)|0;g=c[x+56>>2]&l;if((g|0)!=17)break;o=y+1|0;if((y|0)>=50){g=17;break}m=c[O>>2]|0;if(!G?(b[J>>1]&256)!=0:0)l=c[z>>2]|0;else l=0;n=c[f>>2]|0;g=eh(n,l,-1,0,f,Q,0)|0;if((g|0)==7){g=n;S=124;break}else if(g){S=127;break}y=c[Q>>2]|0;gw(R|0,y|0,208)|0;gw(y|0,f|0,208)|0;gw(f|0,R|0,208)|0;w=y+52|0;x=c[w>>2]|0;c[w>>2]=c[H>>2];c[H>>2]=x;x=y+48|0;w=c[x>>2]|0;c[x>>2]=c[I>>2];c[I>>2]=w;w=y+168|0;x=c[w>>2]|0;c[w>>2]=c[z>>2];c[z>>2]=x;b[J>>1]=b[J>>1]&-257|b[y+88>>1]&256;fh(y,f);c[y+80>>2]=0;Jg(y)|0;jd(f)|0;if((m|0)<=-1){y=o;continue}b[J>>1]=b[J>>1]|512;y=o}if((S|0)==7){c[U>>2]=7;g=7}else if((S|0)==124){a[g+65>>0]=1;g=7;S=127}do if((S|0)==127){l=Og(c[V+236>>2]|0,1)|0;ig(V,c[T>>2]|0);if(!(a[V+65>>0]|0)){c[T>>2]=gh(V,l)|0;c[U>>2]=g;break}else{c[T>>2]=0;c[U>>2]=7;g=7;break}}while(0);g=Kg(V,g)|0}else{c[R>>2]=69408;c[R+4>>2]=10788;Zc(21,13648,R);g=21}i=W;return g|0}function Pd(a){a=a|0;return c[(c[a+4>>2]|0)+4>>2]|0}function Qd(a){a=a|0;return c[(c[a>>2]|0)+32>>2]|0}function Rd(a,d){a=a|0;d=d|0;var e=0;e=c[a+8>>2]|0;if(!(b[e+8>>1]&8192))e=hh(a,d)|0;else e=c[e+16>>2]|0;return e|0}function Sd(a,b){a=a|0;b=b|0;var d=0;d=c[(c[a+12>>2]|0)+204>>2]|0;a:do if(!d)d=0;else{a=c[a+16>>2]|0;while(1){if((c[d>>2]|0)==(a|0)?(c[d+4>>2]|0)==(b|0):0)break;d=c[d+16>>2]|0;if(!d){d=0;break a}}d=c[d+8>>2]|0}while(0);return d|0}function Td(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;h=c[b+12>>2]|0;do if((d|0)<0)k=14;else{j=h+204|0;g=c[j>>2]|0;a:do if(g){i=c[b+16>>2]|0;while(1){if((c[g>>2]|0)==(i|0)?(c[g+4>>2]|0)==(d|0):0)break;g=c[g+16>>2]|0;if(!g){k=8;break a}}if(g){h=c[g+12>>2]|0;if(h)_b[h&31](c[g+8>>2]|0)}else k=8}else k=8;while(0);if((k|0)==8){g=ih(c[h>>2]|0,20,0)|0;if(!g){k=14;break}h=g+0|0;i=h+16|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(i|0));c[g>>2]=c[b+16>>2];c[g+4>>2]=d;c[g+16>>2]=c[j>>2];c[j>>2]=g;h=b+25|0;if(!(a[h>>0]|0)){c[b+20>>2]=0;a[h>>0]=1}}c[g+8>>2]=e;c[g+12>>2]=f}while(0);if((k|0)==14?(f|0)!=0:0)_b[f&31](e);return}function Ud(a){a=a|0;return c[(c[a+8>>2]|0)+12>>2]|0}function Vd(a){a=a|0;if(!a)a=0;else a=e[a+84>>1]|0;return a|0}function Wd(a){a=a|0;if((a|0)!=0?(c[a+20>>2]|0)!=0:0)a=e[a+84>>1]|0;else a=0;return a|0}function Xd(a,b){a=a|0;b=b|0;var d=0;b=ld(jh(a,b)|0)|0;if(a){d=a+80|0;c[d>>2]=Kg(c[a>>2]|0,c[d>>2]|0)|0}return b|0}function Yd(a,b){a=a|0;b=b|0;var d=0;b=Pg(jh(a,b)|0,1)|0;if(a){d=a+80|0;c[d>>2]=Kg(c[a>>2]|0,c[d>>2]|0)|0}return b|0}function Zd(a,b){a=a|0;b=b|0;var d=0;b=Pg(jh(a,b)|0,2)|0;if(a){d=a+80|0;c[d>>2]=Kg(c[a>>2]|0,c[d>>2]|0)|0}return b|0}function _d(a,b){a=a|0;b=b|0;var d=0.0;d=+Qgqg(d,n,(H|0)!=0?10344:0,P);ig(d,H);yh(o);ig(d,o);H=Kg(d,n)|0;i=R;return H|0}function Fe(a){a=a|0;var b=0,d=0;if(!a)a=0;else{d=c[a+24>>2]|0;b=id(c[a+20>>2]|0)|0;ig(d,a);a=b}return a|0}function Ge(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ah(a,b,c,d,18)|0}function He(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ah(a,b,c,d,19)|0}function Ie(a){a=a|0;if((a|0)!=0?(c[a+20>>2]|0)!=0:0)a=c[a+4>>2]|0;else a=0;return a|0}function Je(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();e=h;f=h+8|0;if(!a){c[e>>2]=77720;c[e+4>>2]=10788;Zc(21,13648,e);b=21}else{g=c[a+24>>2]|0;if(c[a+20>>2]|0){b=xh(a,b,d,f)|0;if(!b)b=0;else{d=c[f>>2]|0;c[e>>2]=d;qg(g,b,(d|0)!=0?10344:0,e);ig(g,d)}}else b=4;b=Kg(g,b)|0}i=h;return b|0}function Ke(a,d,e){a=a|0;d=d|0;e=e|0;c[a+284>>2]=d;c[a+288>>2]=e;a=c[a+4>>2]|0;if(a)do{e=a+88|0;b[e>>1]=b[e>>1]|8;a=c[a+52>>2]|0}while((a|0)!=0);return 0}function Le(a,b){a=a|0;b=b|0;return (Ch(a,b,10352,0)|0)==0|0}function Me(e,f,g,h,k){e=e|0;f=f|0;g=g|0;h=h|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;B=i;i=i+16|0;if((i|0)>=(j|0))ba();m=B;x=B+12|0;y=B+8|0;c[y>>2]=0;do if(Dh(e)|0){l=(f|0)==0?10360:f;z=e+52|0;c[z>>2]=0;A=e+236|0;m=c[A>>2]|0;do if(m){f=m+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;break}else{rg(m);break}}while(0);u=(g|0)==0;v=e+24|0;m=0;a:while(1){do{if(m){n=39;break a}if(!(a[l>>0]|0)){m=0;n=39;break a}c[y>>2]=0;m=eh(e,l,-1,1,0,y,x)|0}while((m|0)!=0);l=c[y>>2]|0;if(!l){l=c[x>>2]|0;m=0;continue}t=b[l+84>>1]|0;r=t&65535;s=r<<3|1;t=t<<16>>16==0;f=0;n=0;o=0;b:do{m=Od(l)|0;do if(!u){p=(m|0)==100;if(!p){if((m|0)!=101|(o|0)!=0)break b;if(!(c[v>>2]&256)){o=0;break}}if(!o){f=ih(e,s,0)|0;if(!f){f=0;n=40;break a}bw(f|0,0,s|0)|0;if(t)q=1;else{o=0;do{c[f+(o<<2)>>2]=fe(l,o)|0;o=o+1|0}while((o|0)<(r|0));q=1}}else q=o;c:do if(p){n=f+(r<<2)|0;if(!t){o=0;while(1){p=be(l,o)|0;c[f+(o+r<<2)>>2]=p;if((p|0)==0?(w=c[y>>2]|0,(ee(w,o)|0)!=5):0){m=w;n=27;break a}o=o+1|0;if((o|0)>=(r|0))break c;l=c[y>>2]|0}}}while(0);if(!(lc[g&31](h,r,n,f)|0))o=q;else{l=f;n=31;break a}}while(0);l=c[y>>2]|0}while((m|0)==100);m=Jg(l)|0;c[y>>2]=0;l=c[x>>2]|0;while(1)if(!(a[10368+(d[l>>0]|0)>>0]&1))break;else l=l+1|0;ig(e,f)}do if((n|0)==27){a[e+65>>0]=1;l=m;m=100;n=40}else if((n|0)==31){Jg(c[y>>2]|0)|0;c[y>>2]=0;c[z>>2]=4;m=c[A>>2]|0;if(m){f=m+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;f=l;m=4;break}else{rg(m);f=l;m=4;break}}else{f=l;m=4}}else if((n|0)==39){l=c[y>>2]|0;f=0;n=40}while(0);if((n|0)==40)if(l)Jg(l)|0;ig(e,f);l=Kg(e,m)|0;f=(k|0)!=0;if(!((l|0)!=0&f)){if(!f)break;c[k>>2]=0;break}f=Oe(e)|0;if(!f)f=1;else{m=f;while(1)if(!(a[m>>0]|0))break;else m=m+1|0;f=(m-f&1073741823)+1|0}m=mg(f,((f|0)<0)<<31>>31)|0;c[k>>2]=m;if(m){gw(m|0,Oe(e)|0,f|0)|0;break}c[z>>2]=7;l=c[A>>2]|0;if(l){f=l+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;l=7;break}else{rg(l);l=7;break}}else l=7}else{c[m>>2]=101334;c[m+4>>2]=10788;Zc(21,13648,m);l=21}while(0);i=B;return l|0}function Ne(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return eh(a,b,c,1,0,d,e)|0}function Oe(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;do if(b){f=c[b+76>>2]|0;if(!((f|0)==1266094736|(f|0)==-1607883113|(f|0)==-264537850)){c[d>>2]=15248;Zc(21,15256,d);c[d>>2]=129635;c[d+4>>2]=10788;Zc(21,13648,d);d=16120;break}if(!(a[b+65>>0]|0)){d=Og(c[b+236>>2]|0,1)|0;if(!d){d=c[b+52>>2]|0;if((d|0)!=516){d=d&255;if(d>>>0>26|(d|0)==2)d=16328;else d=c[15488+(d<<2)>>2]|0}else d=16344}}else d=15776}else d=15776;while(0);i=e;return d|0}function Pe(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+16|0;if((i|0)>=(j|0))ba();s=u;t=u+8|0;r=c[b>>2]|0;c[t>>2]=0;m=(d|0)==0;if(m)g=0;else{l=d;while(1)if(!(a[l>>0]|0))break;else l=l+1|0;g=l-d&1073741823}p=g+300|0;o=(f|0)!=0;if(o)c[f>>2]=0;do if(!(c[b+24>>2]&4194304))if(o){c[f>>2]=Wc(25216,s)|0;g=1}else g=1;else{n=(e|0)!=0?e:41192;k=r+40|0;l=nc[c[k>>2]&127](r,d)|0;if(!l){c[s>>2]=d;c[s+4>>2]=41184;h=Wc(27824,s)|0;if(!h){g=7;break}l=nc[c[k>>2]&127](r,h)|0;Sc(h);if(!l){if(!o){g=1;break}l=Pc(p)|0;c[t>>2]=l;c[f>>2]=l;if(!l){g=1;break}c[s>>2]=d;Yc(p,l,41216,s)|0;ic[c[r+44>>2]&63](r,g+299|0,l);g=1;break}else q=l}else q=l;g=r+48|0;l=Yb[c[g>>2]&63](r,q,n)|0;if((l|0)==0&(e|0)==0){if(m)l=0;else{l=d;while(1)if(!(a[l>>0]|0))break;else l=l+1|0;l=l-d&1073741823}e=Pc(l+30|0)|0;if(!e){fc[c[r+52>>2]&15](r,q);g=7;break}n=e;m=n;a[m>>0]=115;a[m+1>>0]=113;a[m+2>>0]=108;a[m+3>>0]=105;n=n+4|0;a[n>>0]=116;a[n+1>>0]=101;a[n+2>>0]=51;a[n+3>>0]=95;while(1){k=l+-1|0;if((l|0)<=0)break;if((a[d+k>>0]|0)==47)break;else l=k}h=(Bc(d+l|0,41256,3)|0)==0;k=8;h=h?l+3|0:l;while(1){l=a[d+h>>0]|0;if(l<<24>>24==0|l<<24>>24==46){l=k;break}if(!(a[10368+(l&255)>>0]&2))l=k;else{a[e+k>>0]=a[9328+(l<<24>>24)>>0]|0;l=k+1|0}k=l;h=h+1|0}l=e+l|0;a[l+0>>0]=a[41264]|0;a[l+1>>0]=a[41265]|0;a[l+2>>0]=a[41266]|0;a[l+3>>0]=a[41267]|0;a[l+4>>0]=a[41268]|0;a[l+5>>0]=a[41269]|0;l=Yb[c[g>>2]&63](r,q,e)|0;g=e;h=e}else{g=0;h=n}if(!l){if(o){if(!h)l=0;else{l=h;while(1)if(!(a[l>>0]|0))break;else l=l+1|0;l=l-h&1073741823}l=l+p|0;k=Pc(l)|0;c[t>>2]=k;c[f>>2]=k;if(k){c[s>>2]=h;c[s+4>>2]=d;Yc(l,k,41272,s)|0;ic[c[r+44>>2]&63](r,l+-1|0,k)}}fc[c[r+52>>2]&15](r,q);Sc(g);g=1;break}Sc(g);if(Yb[l&63](b,t,13776)|0){if(o){c[s>>2]=c[t>>2];c[f>>2]=Wc(41320,s)|0}Sc(c[t>>2]|0);fc[c[r+52>>2]&15](r,q);g=1;break}k=b+168|0;g=(c[k>>2]<<2)+4|0;l=ih(b,g,0)|0;if(!l)g=7;else{bw(l|0,0,g|0)|0;g=c[k>>2]|0;h=b+172|0;if((g|0)>0)gw(l|0,c[h>>2]|0,g<<2|0)|0;ig(b,c[h>>2]|0);c[h>>2]=l;g=c[k>>2]|0;c[k>>2]=g+1;c[l+(g<<2)>>2]=q;g=0}}while(0);q=Kg(b,g)|0;i=u;return q|0}function Qe(a){a=a|0;var b=0,d=0,e=0,f=0;b=Hc()|0;if(!b){f=c[2656]|0;a:do if((f|0)>0){d=c[2658]|0;e=0;while(1){b=e+1|0;if((c[d+(e<<2)>>2]|0)==(a|0)){b=e;break a}if((b|0)<(f|0))e=b;else break}}else b=0;while(0);if((b|0)==(f|0)){b=Tc(c[2658]|0,(f<<2)+4|0)|0;if(!b)b=7;else{c[2658]=b;d=c[2656]|0;c[b+(d<<2)>>2]=a;c[2656]=d+1;b=0}}else b=0}return b|0}function Re(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=c[2656]|0;f=c[2658]|0;d=e;while(1){if((d|0)<=0){b=0;break}d=d+-1|0;b=f+(d<<2)|0;if((c[b>>2]|0)==(a|0)){g=4;break}}if((g|0)==4){d=e+-1|0;c[2656]=d;c[b>>2]=c[f+(d<<2)>>2];b=1}return b|0}function Se(){if(!(Hc()|0)){Sc(c[2658]|0);c[2658]=0;c[2656]=0}return}function Te(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return eh(a,b,c,0,0,d,e)|0}function Ue(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Eh(a,b,c,0,d,e)|0}function Ve(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Eh(a,b,c,1,d,e)|0}function We(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+32|0;if((i|0)>=(j|0))ba();n=v;q=v+4|0;c[d>>2]=0;r=(f|0)!=0;if(r)c[f>>2]=0;s=(e|0)!=0;if(s)c[e>>2]=0;l=(g|0)!=0;if(l)c[g>>2]=0;m=q+4|0;c[m>>2]=0;t=q+12|0;c[t>>2]=0;u=q+16|0;c[u>>2]=0;k=q+20|0;c[k>>2]=1;o=q+8|0;c[o>>2]=20;p=q+24|0;c[p>>2]=0;h=Pc(80)|0;c[q>>2]=h;a:do if(h){c[h>>2]=0;b=Me(a,b,20,q,g)|0;c[c[q>>2]>>2]=c[k>>2];if((b&255|0)==4){Xe((c[q>>2]|0)+4|0);b=c[m>>2]|0;if(b){if(l){Sc(c[g>>2]|0);c[n>>2]=c[m>>2];c[g>>2]=Wc(10344,n)|0;b=c[m>>2]|0}Sc(b)}b=c[p>>2]|0;c[a+52>>2]=b;break}Sc(c[m>>2]|0);if(b){Xe((c[q>>2]|0)+4|0);break}h=c[k>>2]|0;b=c[q>>2]|0;do if((c[o>>2]|0)>>>0>h>>>0){b=Tc(b,h<<2)|0;if(!b){Xe((c[q>>2]|0)+4|0);c[a+52>>2]=7;b=7;break a}else{c[q>>2]=b;break}}while(0);c[d>>2]=b+4;if(r)c[f>>2]=c[u>>2];if(s){c[e>>2]=c[t>>2];b=0}else b=0}else{c[a+52>>2]=7;b=7}while(0);i=v;return b|0}function Xe(a){a=a|0;var b=0,d=0,e=0,f=0;if(a){b=a+-4|0;e=c[b>>2]|0;d=e;if((e|0)>1){f=1;do{e=c[a+(f+-1<<2)>>2]|0;if(e)Sc(e);f=f+1|0}while((f|0)<(d|0))}Sc(b)}return}function Ye(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Gh(a,b,c,d,0)|0}function Ze(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Gh(a,b,c,d,e)|0}function _e(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();o=p;g=p+8|0;c[g>>2]=0;h=d+324|0;f=c[h>>2]|0;if((f|0)!=0?(m=c[f+4>>2]|0,(m|0)!=0):0){n=ih(d,536,0)|0;if(!n)e=7;else{bw(n|0,0,536)|0;k=n+451|0;a[k>>0]=1;c[n>>2]=d;c[n+424>>2]=1;if(((((Hh(n,e,g)|0)==0?(l=c[n+484>>2]|0,(l|0)!=0):0)?(a[d+65>>0]|0)==0:0)?(c[l+12>>2]|0)==0:0)?(a[l+44>>0]&16)==0:0){f=m+4|0;if(!(c[f>>2]|0)){o=l+4|0;c[f>>2]=c[o>>2];l=l+38|0;b[m+38>>1]=b[l>>1]|0;b[l>>1]=0;c[o>>2]=0}c[(c[h>>2]|0)+4>>2]=0;e=0}else{e=c[g>>2]|0;c[o>>2]=e;qgqg(d,1,10952,k);e=1}else m=10}else{l=10;m=10}do if((m|0)==10){c[d+452>>2]=0;e=Sh(d,l,f,g,h)|0;c[d+52>>2]=e;k=c[d+236>>2]|0;if(k){l=k+8|0;if(!(b[l>>1]&9312)){b[l>>1]=1;break}else{rg(k);break}}}while(0);e=Kg(d,e)|0}i=n;return e|0}function Hf(a,b){a=a|0;b=b|0;return Gf(a,b,0,0,0)|0}function If(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();g=k;do if(b){d=c[b+76>>2]|0;if(!((d|0)==1266094736|(d|0)==-1607883113|(d|0)==-264537850)){c[g>>2]=15248;Zc(21,15256,g);d=11008;break}h=b+65|0;if(!(a[h>>0]|0)){f=b+236|0;d=Og(c[f>>2]|0,2)|0;if(!d){e=c[b+52>>2]|0;if((e|0)!=516){d=e&255;if(d>>>0>26|(d|0)==2)d=16328;else d=c[15488+(d<<2)>>2]|0}else d=16344;qg(b,e,d,g);d=Og(c[f>>2]|0,2)|0}a[h>>0]=0}else d=10976}else d=10976;while(0);i=k;return d|0}function Jf(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;do if(b){f=c[b+76>>2]|0;if(!((f|0)==1266094736|(f|0)==-1607883113|(f|0)==-264537850)){c[d>>2]=15248;Zc(21,15256,d);c[d>>2]=129704;c[d+4>>2]=10788;Zc(21,13648,d);b=21;break}if(!(a[b+65>>0]|0))b=c[b+56>>2]&c[b+52>>2];else b=7}else b=7;while(0);i=e;return b|0}function Kf(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;do if(b){f=c[b+76>>2]|0;if(!((f|0)==1266094736|(f|0)==-1607883113|(f|0)==-264537850)){c[d>>2]=15248;Zc(21,15256,d);c[d>>2]=129713;c[d+4>>2]=10788;Zc(21,13648,d);b=21;break}if(!(a[b+65>>0]|0))b=c[b+52>>2]|0;else b=7}else b=7;while(0);i=e;return b|0}function Lf(a){a=a|0;if((a|0)!=516){a=a&255;if(a>>>0>26|(a|0)==2)a=16328;else a=c[15488+(a<<2)>>2]|0}else a=16344;return a|0}function Mf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(b>>>0<=11){e=a+(b<<2)+88|0;a=c[e>>2]|0;if((d|0)>-1){b=c[11088+(b<<2)>>2]|0;c[e>>2]=(b|0)<(d|0)?b:d}}else a=-1;return a|0}function Nf(a,b){a=a|0;b=b|0;return Th(a,b,6,0)|0}function Of(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Th(a,b,c,d)|0}function Pf(d,e){d=d|0;e=e|0;var f=0,g=0,h=0;c[e>>2]=0;f=Hc()|0;if(!f){h=mg(40,0)|0;if(h){d=(d|0)==0?11136:d;f=h+0|0;g=f+40|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(g|0));b[h+8>>1]=1;c[h+32>>2]=0;Tg(h,d,-1,2,0)|0}d=Og(h,1)|0;if(d){f=Th(d,e,6,0)|0;if(!f){f=c[e>>2]|0;d=c[(c[f+16>>2]|0)+12>>2]|0;if(!(b[d+78>>1]&1)){a[f+62>>0]=2;a[d+77>>0]=2;f=0}else f=0}}else f=7;Ih(h);f=f&255}return f|0}function Qf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Kg(a,Uh(a,b,c&255,d,e,0)|0)|0}function Rf(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return Kg(a,Uh(a,b,c&255,d,e,f)|0)|0}function Sf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=Nh(a,b,-1)|0;if(!b)b=0;else{c=Uh(a,b,c&255,d,e,0)|0;ig(a,b);b=c}return Kg(a,b)|0}function Tf(a,b,d){a=a|0;b=b|0;d=d|0;c[a+224>>2]=d;c[a+228>>2]=0;c[a+232>>2]=b;return 0}function Uf(a,b,d){a=a|0;b=b|0;d=d|0;c[a+224>>2]=0;c[a+228>>2]=d;c[a+232>>2]=b;return 0}function Vf(a){a=a|0;return d[a+63>>0]|0|0}function Wf(){return}function Xf(d,e,f,g,h,k,l,m,n){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+16|0;if((i|0)>=(j|0))ba();x=z;y=z+8|0;c[y>>2]=0;p=c[d+20>>2]|0;if((p|0)>0){o=c[d+16>>2]|0;r=0;do{q=c[o+(r<<4)+4>>2]|0;if(q)c[(c[q+4>>2]|0)+4>>2]=c[q>>2];r=r+1|0}while((r|0)!=(p|0))}o=Vh(d,y)|0;w=(o|0)!=0;a:do if((!w?(u=Wh(d,f,e)|0,(u|0)!=0):0)?(c[u+12>>2]|0)==0:0){do if(g){t=b[u+38>>1]|0;b:do if(t<<16>>16>0){e=c[u+4>>2]|0;p=t<<16>>16;s=0;while(1){q=e+(s*24|0)|0;r=s+1|0;if(!($c(c[q>>2]|0,g)|0)){r=s;break b}if((r|0)<(p|0))s=r;else break}}else{r=0;q=0}while(0);if((r|0)==(t<<16>>16|0)){if(a[u+44>>0]&32){e=0;t=0;u=0;q=0;s=0;r=0;break a}if(!(Xh(g)|0)){e=0;t=0;u=0;q=0;s=0;r=0;break a}v=b[u+36>>1]|0;p=v<<16>>16;if(v<<16>>16<=-1){e=0;s=0;p=1;v=0;r=11144;break}r=p;q=(c[u+4>>2]|0)+(p*24|0)|0}if(q){if((b[u+36>>1]|0)==(r|0))p=(a[u+44>>0]&8)!=0;else p=0;e=p&1;s=(a[q+20>>0]|0)!=0&1;p=a[q+23>>0]&1;v=c[q+16>>2]|0;r=c[q+12>>2]|0}else{e=0;s=0;p=1;v=0;r=11144}}else{e=0;s=0;p=1;v=0;r=11144}while(0);t=s;q=p;s=(v|0)==0?11152:v}else{e=0;t=0;u=0;q=0;s=0;r=0}while(0);if(h)c[h>>2]=r;if(k)c[k>>2]=s;if(l)c[l>>2]=t;if(m)c[m>>2]=q;if(n)c[n>>2]=e;p=c[y>>2]|0;if(!(w|(u|0)!=0)){ig(d,p);c[x>>2]=f;c[x+4>>2]=g;p=qh(d,11160,x)|0;c[y>>2]=p;o=1}c[x>>2]=p;qgQg(c[(c[O>>2]|0)+(p<<2)>>2]|0);R=92;break}else{p=(D|0)<0?6:D;q=0.0;R=94;break}}else{R=c[g>>2]|0;c[k>>2]=c[R>>2];c[k+4>>2]=c[R+4>>2];q=+h[k>>3];c[g>>2]=R+8;R=92}while(0);if((R|0)==92){R=0;p=(D|0)<0?6:D;if(q<0.0){q=-q;H=45}else R=94}if((R|0)==94){R=0;if(!(x<<24>>24))H=v<<24>>24==0?0:32;else H=43}D=G<<24>>24==4;n=((D&(p|0)>0)<<31>>31)+p|0;p=n&4095;if(!p)r=.5;else{r=.5;do{p=p+-1|0;r=r*.1}while((p|0)>0)}B=G<<24>>24==2;if(B)q=q+r;h[W>>3]=q;h[X>>3]=+h[W>>3];if(+h[W>>3]!=+h[X>>3]){v=48960;o=3;e=J;p=0}else{if(q>0.0){s=0;t=1.0;while(1){u=t*1.e+100;if(q>=u&(s|0)<351){s=s+100|0;t=u}else break}while(1){u=t*1.e+64;if(q>=u&(s|0)<351){s=s+64|0;t=u}else break}while(1){u=t*1.0e8;if(q>=u&(s|0)<351){s=s+8|0;t=u}else break}while(1){u=t*10.0;if((s|0)<351&q>=u){s=s+1|0;t=u}else break}q=q/t;if(q<1.0e-08)do{q=q*1.0e8;s=s+-8|0}while(q<1.0e-08);if(q<1.0)do{q=q*10.0;s=s+-1|0}while(q<1.0);if((s|0)>350){if(H<<24>>24==43)n=48976;else if(H<<24>>24==45)n=48968;else n=48984;f=n;while(1)if(!(a[f>>0]|0))break;else f=f+1|0;v=n;o=f-n&1073741823;e=J;p=0;break c}}else s=0;if(!B){q=r+q;if(!(q>=10.0))F=s;else{q=q*.1;F=s+1|0}}else F=s;if(D){p=(F|0)<-4|(n|0)<(F|0);D=z<<24>>24==0&1;n=n-(p?0:F)|0;p=p?3:2}else{D=w;p=G}E=p<<24>>24==3;f=E?0:F;s=(f|0)>0;p=fw(n|0,((n|0)<0)<<31>>31|0,J|0,((J|0)<0)<<31>>31|0)|0;s=fw(p|0,C|0,(s?f:0)|0,(s?((f|0)<0)<<31>>31:0)|0)|0;p=C;if((p|0)>0|(p|0)==0&s>>>0>55){s=fw(s|0,p|0,15,0)|0;s=mg(s,C)|0;if(!s){R=124;break a}else{v=s;G=s}}else{v=V;G=0}s=((w&255)*10|0)+16|0;A=(w|z)&255|(n|0)>0;if(!(H<<24>>24))B=v;else{a[v>>0]=H;B=v+1|0}if((f|0)<0){a[B>>0]=48;e=2;p=B+1|0;x=f}else{z=~f;z=(z|0)>-1?z:-1;x=-2-z|0;z=f+z|0;o=B;while(1){if((s|0)<1)e=48;else{p=~~q;e=p+48&255;q=(q-+(p|0))*10.0;s=s+-1|0}a[o>>0]=e;if((f|0)>0){o=o+1|0;f=f+-1|0}else break}e=z+3|0;p=B+(z+2)|0}o=(A|0)==0;if(!o){a[p>>0]=46;p=B+e|0}if((x+1|0)<0){bw(p|0,48,~x|0)|0;p=p+~x|0;n=n+1+x|0}if((n|0)>0){e=p;f=n;while(1){f=f+-1|0;if((s|0)<1)x=48;else{B=~~q;x=B+48&255;q=(q-+(B|0))*10.0;s=s+-1|0}a[e>>0]=x;if((f|0)<=0)break;else e=e+1|0}p=p+n|0}d:do if(!(D<<24>>24==0|o)){o=p;while(1){p=o+-1|0;n=a[p>>0]|0;if(n<<24>>24==46)break;else if(n<<24>>24!=48){p=o;break d}a[p>>0]=0;o=p}if(!(w<<24>>24)){a[p>>0]=0;break}else{a[o>>0]=48;p=o+1|0;break}}while(0);if(E){o=p+1|0;a[p>>0]=a[48912+(d[I+4>>0]|0)>>0]|0;n=p+2|0;if((F|0)<0){a[o>>0]=45;o=0-F|0}else{a[o>>0]=43;o=F}if((o|0)>99){a[n>>0]=((o|0)/100|0)+48;f=4;e=5;n=p+3|0;o=(o|0)%100|0}else{f=3;e=4}a[n>>0]=((o|0)/10|0)+48;a[p+f>>0]=((o|0)%10|0)+48;p=p+e|0}a[p>>0]=0;e=v;o=p-e|0;if(!(K<<24>>24==0&y<<24>>24!=0&(J|0)>(o|0))){e=J;p=G;break c}n=J-o|0;if((o|0)>=0){f=J;while(1){a[v+f>>0]=a[v+(f-n)>>0]|0;if((f|0)>(n|0))f=f+-1|0;else break}}if((J|0)==(o|0)){o=J;e=J;p=G;break c}bw(v+(H<<24>>24!=0&1)|0,48,J+e-p|0)|0;o=J;e=J;p=G}break}case 5:{if(P){o=c[L>>2]|0;e=c[g>>2]|0;v=c[e>>2]|0;c[g>>2]=e+4;c[v>>2]=o;v=f;o=0;e=0;p=0}else{v=f;o=0;e=0;p=0}break}case 8:{a[V>>0]=37;v=V;o=1;e=J;p=0;break}case 9:{if(!P){e=Qk(m)|0;if(!e)p=0;else p=a[e>>0]|0}else{G=c[g>>2]|0;p=c[G>>2]|0;c[g>>2]=G+4}if((D|0)>1){n=D+-1|0;e=J-n|0;if(!((e|0)<2|K<<24>>24!=0)){Rk(b,e+-1|0,32);e=0}f=p&255;Rk(b,n,f)}else{f=p&255;e=J}a[V>>0]=f;v=V;o=1;p=0;break}case 7:case 6:{if(M)n=Qk(m)|0;else{F=c[g>>2]|0;n=c[F>>2]|0;c[g>>2]=F+4}if(!n){f=10360;p=0}else{f=n;p=G<<24>>24!=7|M?0:n}if((D|0)>-1){if((D|0)>0)n=0;else{v=f;o=0;e=J;break c}while(1){o=n+1|0;if(!(a[f+n>>0]|0)){v=f;o=n;e=J;break c}if((o|0)<(D|0))n=o;else{v=f;e=J;break}}}else{if(!f){v=0;o=0;e=J;break c}else n=f;while(1)if(!(a[n>>0]|0))break;else n=n+1|0;v=f;o=n-f&1073741823;e=J;break c}break}case 15:case 11:case 10:{z=G<<24>>24==15?34:39;if(P){F=c[g>>2]|0;p=c[F>>2]|0;c[g>>2]=F+4}else p=Qk(m)|0;v=(p|0)==0;if(v)p=G<<24>>24==11?20304:48992;e:do if(!D){y=0;o=0}else{s=z&255;n=0;e=D;o=0;while(1){f=a[p+n>>0]|0;if(!(f<<24>>24)){y=n;break e}o=((f<<24>>24|0)==(s|0)&1)+o|0;n=n+1|0;e=e+-1|0;if(!e){y=n;break}}}while(0);w=G<<24>>24==11&(v^1);n=((w&1)<<1|1)+y+o|0;if((n|0)>70){o=mg(n,((n|0)<0)<<31>>31)|0;if(!o){R=197;break a}else{v=o;x=o}}else{v=V;x=0}if(w){a[v>>0]=z;n=1}else n=0;if((y|0)>0){s=z&255;e=0;do{o=a[p+e>>0]|0;f=n+1|0;a[v+n>>0]=o;if((o<<24>>24|0)==(s|0)){a[v+f>>0]=o;n=n+2|0}else n=f;e=e+1|0}while((e|0)!=(y|0))}if(w){a[v+n>>0]=z;n=n+1|0}a[v+n>>0]=0;o=n;e=J;p=x;break}case 12:{G=c[g>>2]|0;e=c[G>>2]|0;c[g>>2]=G+4;if((e|0)!=0?(U=c[e+4>>2]|0,(U|0)!=0):0){Ok(b,c[e>>2]|0,U);v=f;o=0;e=0;p=0}else{v=f;o=0;e=0;p=0}break}default:break a}while(0);if((R|0)==50){R=0;do if(!(a[I+2>>0]&1)){if(M){f=Pk(m)|0;s=C;B=0;break}if(!(p<<24>>24)){s=c[g>>2]|0;f=c[s>>2]|0;c[g>>2]=s+4;s=0;B=0;break}else{B=c[g>>2]|0;s=B;f=c[s>>2]|0;s=c[s+4>>2]|0;c[g>>2]=B+8;B=0;break}}else{do if(!M)if(!(p<<24>>24)){o=c[g>>2]|0;p=c[o>>2]|0;c[g>>2]=o+4;o=((p|0)<0)<<31>>31;break}else{F=c[g>>2]|0;o=F;p=c[o>>2]|0;o=c[o+4>>2]|0;c[g>>2]=F+8;break}else{p=Pk(m)|0;o=C}while(0);if((o|0)<0){f=$v(0,0,p|0,o|0)|0;s=C;B=45;break}if(!(x<<24>>24)){f=p;s=o;B=v<<24>>24==0?0:32}else{f=p;s=o;B=43}}while(0);A=(f|0)==0&(s|0)==0;if(!(y<<24>>24))x=D;else{x=J-(B<<24>>24!=0&1)|0;x=(D|0)<(x|0)?x:D}if((x|0)>=60){p=x+10|0;o=mg(p,((p|0)<0)<<31>>31)|0;if(!o){R=69;break}else{e=p;p=o;n=o}}else{e=70;p=0;n=V}y=n+(e+-1)|0;if(G<<24>>24==16){o=qw(f|0,s|0,10,0)|0;if(!(o>>>0<=3?(G=pw(f|0,s|0,10,0)|0,G=qw(G|0,C|0,10,0)|0,!((G|0)==1&(C|0)==0)):0))o=0;G=o<<1;a[n+(e+-2)>>0]=a[48896+(G|1)>>0]|0;o=n+(e+-3)|0;a[o>>0]=a[48896+G>>0]|0}else o=y;e=d[I+4>>0]|0;v=d[I+1>>0]|0;while(1){G=qw(f|0,s|0,v|0,0)|0;n=o+-1|0;a[n>>0]=a[48912+(G+e)>>0]|0;f=pw(f|0,s|0,v|0,0)|0;s=C;if((f|0)==0&(s|0)==0)break;else o=n}f=x-y+n|0;if((f|0)>0){e=o;o=n;while(1){n=e+-2|0;a[n>>0]=48;f=f+-1|0;if((f|0)<=0)break;else{e=o;o=n}}}if(B<<24>>24){n=o+-2|0;a[n>>0]=B}if((!(A|z<<24>>24==0)?(S=a[I+5>>0]|0,S<<24>>24!=0):0)?(T=48952+(S&255)|0,!(S<<24>>24==3|S<<24>>24==6)):0){f=a[T>>0]|0;o=T;do{n=n+-1|0;a[n>>0]=f;o=o+1|0;f=a[o>>0]|0}while(f<<24>>24!=0)}v=n;o=y-n|0;e=J}n=e-o|0;f=(n|0)<1;if(!(f|K<<24>>24!=0))Rk(b,n,32);Ok(b,v,o);if(!(f|K<<24>>24==0))Rk(b,n,32);if(p)Sc(p);f=l+1|0;l=v}if((R|0)==10)Ok(b,48744,1);else if((R|0)==69){a[b+25>>0]=1;c[b+16>>2]=0}else if((R|0)==124){a[b+25>>0]=1;c[b+16>>2]=0}else if((R|0)==197){a[b+25>>0]=1;c[b+16>>2]=0}i=Y;return}function pg(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;f=b+8|0;d=c[f>>2]|0;do if(((d|0)!=0?(h=b+12|0,a[d+(c[h>>2]|0)>>0]=0,e=a[b+24>>0]|0,e<<24>>24!=0):0)?(g=b+4|0,(c[f>>2]|0)==(c[g>>2]|0)):0){if(e<<24>>24==1){d=(c[h>>2]|0)+1|0;d=ih(c[b>>2]|0,d,((d|0)<0)<<31>>31)|0}else d=Pc((c[h>>2]|0)+1|0)|0;c[f>>2]=d;if(!d){a[b+25>>0]=1;c[b+16>>2]=0;break}else{gw(d|0,c[g>>2]|0,(c[h>>2]|0)+1|0)|0;break}}while(0);return c[f>>2]|0}function qg(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;h=d+52|0;c[h>>2]=e;a:do if(!f){c[h>>2]=e;e=c[d+236>>2]|0;if(e){h=e+8|0;if(!(b[h>>1]&9312)){b[h>>1]=1;break}else{rg(e);break}}}else{l=d+236|0;do if(!(c[l>>2]|0)){h=ih(d,40,0)|0;if(!h){c[l>>2]=h;break a}else{e=h+0|0;k=e+40|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(k|0));b[h+8>>1]=1;c[h+32>>2]=d;c[l>>2]=h;break}}while(0);c[m>>2]=g;h=Sk(d,f,m)|0;e=c[l>>2]|0;if(e)Tg(e,h,-1,1,75)|0}while(0);i=n;return}function rg(a){a=a|0;var d=0,e=0;e=a+8|0;d=b[e>>1]|0;if(d&8192){Uk(a,c[a>>2]|0)|0;d=b[e>>1]|0}d=d&65535;do if(!(d&1024)){if(d&32){Vk(c[a>>2]|0);break}if(d&64){a=c[a>>2]|0;d=(c[a>>2]|0)+180|0;c[a+4>>2]=c[d>>2];c[d>>2]=a}}else _b[c[a+36>>2]&31](c[a+16>>2]|0);while(0);b[e>>1]=1;return}function sg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();g=k;e=Rh(b,d)|0;do if((e|0)==1){f=ih(a,536,0)|0;if(!f){qg(a,7,15776,g);e=0;break}bw(f|0,0,536)|0;c[f>>2]=b;if(!(Wk(f)|0)){ig(a,c[f+4>>2]|0);yh(f);ig(a,f);h=7;break}else{b=c[f+12>>2]|0;e=f+4|0;c[g>>2]=c[e>>2];qg(a,b,10344,g);ig(a,c[e>>2]|0);yh(f);ig(a,f);e=0;break}}else h=7;while(0);do if((h|0)==7)if((e|0)<0){c[g>>2]=d;qg b=0;Ll(a);return b|0}function Kg(b,d){b=b|0;d=d|0;do if(b)if((a[b+65>>0]|0)!=0|(d|0)==3082){Ml(b);b=7;break}else{b=c[b+56>>2]&d;break}else b=d&255;while(0);return b|0}function Lg(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,k=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;f=c[a>>2]|0;Nl(a)|0;if((c[a+76>>2]|0)>-1){dh(a)|0;d=a+44|0;ig(f,c[d>>2]|0);c[d>>2]=0;d=a+88|0;e=b[d>>1]|0;if(e&16)b[d>>1]=e|8}else{d=c[a+80>>2]|0;if((d|0)!=0?(b[a+88>>1]&8)!=0:0){h=a+44|0;k=c[h>>2]|0;c[e>>2]=k;qg(f,d,(k|0)!=0?10344:0,e);ig(f,c[h>>2]|0);c[h>>2]=0}}d=a+44|0;ig(c[a>>2]|0,c[d>>2]|0);c[d>>2]=0;c[a+20>>2]=0;d=a+136|0;c[d>>2]=0;c[d+4>>2]=0;c[a+40>>2]=649915045;i=g;return c[f+56>>2]&c[a+80>>2]|0}function Mg(a){a=a|0;var d=0;if(b[a+8>>1]&9312)rg(a);d=a+24|0;if(c[d>>2]|0){ig(c[a+32>>2]|0,c[a+20>>2]|0);c[d>>2]=0}c[a+16>>2]=0;return}function Ng(a){a=a|0;var d=0,f=0,g=0;d=a+8|0;if(b[d>>1]&16384){f=a+12|0;g=(c[a>>2]|0)+(c[f>>2]|0)|0;if(!(ah(a,(g|0)<1?1:g,1)|0)){bw((c[a+16>>2]|0)+(c[f>>2]|0)|0,0,c[a>>2]|0)|0;c[f>>2]=(c[f>>2]|0)+(c[a>>2]|0);b[d>>1]=(e[d>>1]|0)&48639;d=0}else d=7}else d=0;return d|0}function Og(d,e){d=d|0;e=e|0;var f=0;do if(d){f=b[d+8>>1]|0;if((f&514)==514?(a[d+10>>0]|0)==e<<24>>24:0){f=c[d+16>>2]|0;break}if(!(f&1))f=Ol(d,e)|0;else f=0}else f=0;while(0);return f|0}function Pg(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=a+8|0;f=b[e>>1]|0;if(!(f&16))if(!(Og(a,d)|0))e=0;else{f=b[e>>1]|0;g=4}else g=4;if((g|0)==4){e=c[a+12>>2]|0;if(f&16384)e=(c[a>>2]|0)+e|0}return e|0}function Qg
13 (f,g);if(!r){if(c[o+(p*20|0)+4>>2]|0){l=Ed;n=c[l>>2]|0;l=c[l+4>>2]|0;S=je;c[S>>2]=n;c[S+4>>2]=l}}else if((r&255|0)==19?(a[(c[D>>2]|0)+16>>0]|0)!=0:0){g=a[x>>0]|0;if(g<<24>>24==5)g=2;else if(g<<24>>24==4){g=m;m=n;Q=v;w=o;R=T;S=U;r=J;n=p;break d}a[be>>0]=g;z=J;R=p;break e}c[rb>>2]=(c[rb>>2]|0)+1;z=J;R=p;break}case 152:{g=c[(c[o+(p*20|0)+16>>2]|0)+8>>2]|0;r=c[o+(p*20|0)+4>>2]|0;s=v+(r*40|0)|0;if(((b[v+(r*40|0)+8>>1]&2)!=0?(a[v+(r*40|0)+10>>0]|0)!=1:0)?(Sd=xn(s,1)|0,(Sd|0)!=0):0){g=m;m=n;o=Sd;q=t;ee=1309;break c}r=nc[c[(c[g>>2]|0)+76>>2]&127](g,c[v+(r*40|0)+16>>2]|0)|0;Im(f,g);b[Ud>>1]=b[Ud>>1]&-9;z=J;R=p;break}case 153:{g=m;m=n;r=J;n=p;ee=1257;break d}case 155:{g=m;m=n;ee=1264;break d}case 154:{g=m;m=n;G=J;n=p;ee=1258;break d}default:{g=m;m=n;Q=v;w=o;R=T;S=U;r=J;n=p;break d}}while(0);n:do if((ee|0)==57){ee=0;w=J+8|0;b[w>>1]=2562;c[J+16>>2]=s;c[J+12>>2]=g;a[J+10>>0]=Gc;if((a[o+(p*20|0)+3>>0]|0)!=0?(S=v+((c[o+(p*20|0)+12>>2]|0)*40|0)|0,!((c[S>>2]|0)==0&(c[S+4>>2]|0)==0)):0){b[w>>1]=2576;z=J;R=p}else{z=J;R=p}}else if((ee|0)==536){if(b[Ud>>1]&8){g=m;m=n;o=516;q=t;ee=1309;break c}z=c[o+(p*20|0)+8>>2]|0;F=c[o+(p*20|0)+12>>2]|0;g=c[Td>>2]|0;E=c[g+(F<<4)+4>>2]|0;if(G<<24>>24==55){g=a[(c[g+(F<<4)+12>>2]|0)+76>>0]|0;if((g&255)<(d[Jb>>0]|0)){a[Jb>>0]=g;G=1}else G=1}else G=0;w=o+(p*20|0)+3|0;if(a[w>>0]&4){S=v+(z*40|0)|0;g=Rg(S)|0;c[S>>2]=g;c[S+4>>2]=C;S=v+(z*40|0)+8|0;b[S>>1]=e[S>>1]&48640|4;if((g|0)<2){g=m;m=n;o=t;ee=542;break c}else B=g}else B=z;r=o+(p*20|0)+1|0;z=a[r>>0]|0;if(z<<24>>24==-6){x=c[o+(p*20|0)+16>>2]|0;z=(e[x+8>>1]|0)+(e[x+6>>1]|0)|0}else if(z<<24>>24==-14){z=c[o+(p*20|0)+16>>2]|0;x=0}else{z=0;x=0}g=tm(f,c[o+(p*20|0)+4>>2]|0,z,F,1)|0;if(!g){u=ce;v=fe;g=m;m=t;ee=1317;break a}a[g+25>>0]=1;S=g+27|0;a[S>>0]=a[S>>0]|8;c[g+28>>2]=B;ee=um(E,B,G,x,c[g>>2]|0)|0;c[g+8>>2]=x;a[S>>0]=((a[r>>0]|0)!=-6&1)<<2&255|a[S>>0]&-5;r=ee;ee=548}else if((ee|0)==715){ee=0;H=c[(c[Fb>>2]|0)+(c[o+(p*20|0)+4>>2]<<2)>>2]|0;x=c[H+56>>2]|0;do if(!x){r=c[H>>2]|0;g=mm(r)|0;if(!g)if(!(a[r+73>>0]|0)){w=1;g=0}else{w=0;g=Rm(r)|0}else w=1;a[H+26>>0]=0;c[H+60>>2]=0;a[H+25>>0]=w;if(!w){z=J;R=p;r=g;break n}}else{do if(!(a[x+56>>0]|0)){g=x+36|0;if(!(c[g>>2]|0)){g=0;ee=756}else{g=Jm(x+64|0,g)|0;ee=755}}else{g=Km(x)|0;if(!g){S=x+59|0;o:do if(!(a[S>>0]|0)){r=0;g=0}else{I=0;w=0;p:while(1){R=x+(I<<6)+64|0;c[ge>>2]=0;Q=x+(I<<6)+92|0;z=c[Q>>2]|0;G=((z|0)<0)<<31>>31;do if((z|0)>16){F=16;E=0;B=0;while(1){F=ew(F|0,E|0,4)|0;E=C;D=B+1|0;if(!((E|0)<(G|0)|(E|0)==(G|0)&F>>>0<z>>>0)){E=B;break}else B=D}P=Pd;c[P>>2]=0;c[P+4>>2]=0;if((z|0)<17){ee=726;break}r=Mm(16)|0;c[ge>>2]=r;G=(r|0)==0;F=c[Q>>2]|0;if(!((F|0)>0&(G^1))){g=G?7:0;break}L=(E|0)>0;P=0;O=0;do{c[nd>>2]=0;g=F-P|0;g=Lm(R,(g|0)<16?g:16,Pd,nd)|0;if(g){ee=747;break p}g=Nm(R,c[nd>>2]|0,md)|0;do if(L){F=1;G=1;do{G=G<<4;F=F+1|0}while((F|0)!=(D|0));if(!g){K=1;F=r}else{G=c[md>>2]|0;ee=743;break}while(1){s=(c[F+12>>2]|0)+((((O|0)/(G|0)|0|0)%16|0)*56|0)+48|0;F=c[s>>2]|0;if(!F){F=Mm(16)|0;if(!F){g=7;ee=738;break}g=Nm(R,F,s)|0;if(g){ee=738;break}F=c[s>>2]|0}F=c[F+4>>2]|0;K=K+1|0;if((K|0)>=(D|0)){ee=740;break}else G=(G|0)/16|0}if((ee|0)==738){G=c[md>>2]|0;ee=743;break}else if((ee|0)==740){G=c[md>>2]|0;ee=742;break}}else{G=c[md>>2]|0;if(!g){F=r;ee=742}else ee=743}while(0);if((ee|0)==742){ee=0;c[(c[F+12>>2]|0)+(((O|0)%16|0)*56|0)+48>>2]=G;g=0}else if((ee|0)==743){ee=0;Om(G)}O=O+1|0;P=P+16|0;F=c[Q>>2]|0}while((P|0)<(F|0)&(g|0)==0)}else{ee=Pd;c[ee>>2]=0;c[ee+4>>2]=0;ee=726}while(0);if((ee|0)==726){ee=0;g=Lm(R,z,Pd,ge)|0;r=c[ge>>2]|0}I=I+1|0;if(g){ee=746;break}if((I|0)>=(d[S>>0]|0)){g=0;break o}else w=r}if((ee|0)==746)Pm(r);else if((ee|0)==747)Pm(r);Pm(w);r=0}while(0);if(!g){g=Qm(x+64|0,r)|0;c[x+20>>2]=r;if(!g){g=0;ee=755;break}else r=0}Pm(r);ee=755}else ee=756}while(0);if((ee|0)==755){ee=0;a[H+25>>0]=0;z=J;R=p;r=g;break n}else if((ee|0)==756){ee=0;a[H+25>>0]=1;break}}while(0);z=J;R=(c[o+(p*20|0)+8>>2]|0)+-1|0;r=g}else if((ee|0)==765){r=c[(c[Fb>>2]|0)+(c[o+(p*20|0)+4>>2]<<2)>>2]|0;c[Cd>>2]=c[o+(p*20|0)+12>>2];g=r;r=nc[c[o+(p*20|0)+16>>2]&127](c[r>>2]|0,Cd)|0;ee=766}while(0);do if((ee|0)==548){ee=0;a[(c[g>>2]|0)+74>>0]=d[w>>0]&3;z=J;R=p}else if((ee|0)==766){c[g+60>>2]=0;g=g+25|0;if(!(c[Cd>>2]|0)){a[g>>0]=0;ee=(c[o+(p*20|0)+8>>2]|0)+-1|0;p=f+(d[o+(p*20|0)+3>>0]<<2)+108|0;c[p>>2]=(c[p>>2]|0)+1;p=ee;ee=19;break}else{a[g>>0]=1;ee=19;break}}while(0);if((ee|0)==19){ee=0;if(c[zc>>2]|0){q=fe;g=m;m=t;break b}g=c[Zd>>2]|0;if(!((g|0)==0|m>>>0<u>>>0)){u=c[vc>>2]|0;if(!(hc[g&127](c[Vd>>2]|0)|0)){u=u+m-((m>>>0)%(u>>>0)|0)|0;z=J;R=p}else{g=m;o=9;m=t;ee=1311;break a}}else{z=J;R=p}}p=R+1|0;if(!r){g=m;r=z}else{g=m;o=r;m=t;ee=1311;break a}}q:switch(ee|0){case 22:{ee=0;Q=c[o+(p*20|0)+4>>2]|0;b[v+(Q*40|0)+8>>1]=4;Q=v+(Q*40|0)|0;c[Q>>2]=p;c[Q+4>>2]=((p|0)<0)<<31>>31;Q=v;w=o;R=T;S=U;n=(c[o+(p*20|0)+8>>2]|0)+-1|0;break}case 23:{ee=0;Q=c[o+(p*20|0)+4>>2]|0;n=c[v+(Q*40|0)>>2]|0;b[v+(Q*40|0)+8>>1]=128;Q=v;w=o;R=T;S=U;break}case 24:{ee=0;n=c[o+(p*20|0)+4>>2]|0;r=v+(n*40|0)|0;w=(c[o+(p*20|0)+12>>2]|0)+-1|0;Q=r;c[Q>>2]=w;c[Q+4>>2]=((w|0)<0)<<31>>31;b[v+(n*40|0)+8>>1]=4;n=c[o+(p*20|0)+8>>2]|0;Q=v;w=o;R=T;S=U;n=(n|0)==0?p:n+-1|0;break}case 25:{ee=0;Q=c[o+(p*20|0)+4>>2]|0;n=(c[o+((c[v+(Q*40|0)>>2]|0)*20|0)+8>>2]|0)+-1|0;b[v+(Q*40|0)+8>>1]=128;Q=v;w=o;R=T;S=U;break}case 26:{ee=0;Q=c[o+(p*20|0)+4>>2]|0;b[v+(Q*40|0)+8>>1]=4;Q=v+(Q*40|0)|0;n=c[Q>>2]|0;c[Q>>2]=p;c[Q+4>>2]=((p|0)<0)<<31>>31;Q=v;w=o;R=T;S=U;break}case 27:{ee=0;if(!(b[v+((c[o+(n*20|0)+12>>2]|0)*40|0)+8>>1]&1)){Q=v;w=o;R=T;S=U}else ee=28;break}case 44:{ee=0;w=c[o+(n*20|0)+4>>2]|0;Q=r;c[Q>>2]=w;c[Q+4>>2]=((w|0)<0)<<31>>31;Q=v;w=o;R=T;S=U;break}case 45:{ee=0;R=c[o+(n*20|0)+16>>2]|0;w=c[R+4>>2]|0;Q=r;c[Q>>2]=c[R>>2];c[Q+4>>2]=w;Q=v;w=o;R=T;S=U;break}case 46:{ee=0;b[r+8>>1]=8;h[r>>3]=+h[c[o+(n*20|0)+16>>2]>>3];Q=v;w=o;R=T;S=U;break}case 60:{ee=0;G=(c[o+(n*20|0)+12>>2]|0)-(c[o+(n*20|0)+8>>2]|0)|0;w=(c[o+(n*20|0)+4>>2]|0)!=0?257:1;b[r+8>>1]=w;if((G|0)>0){s=G;x=r;do{p=x+48|0;x=x+40|0;if(!(b[p>>1]&9312))b[p>>1]=1;else rg(x);b[p>>1]=w;s=s+-1|0}while((s|0)>0);Q=v;w=o;R=T;S=U;r=r+(G*40|0)|0}else{Q=v;w=o;R=T;S=U}break}case 65:{ee=0;r=c[o+(n*20|0)+4>>2]|0;Q=v+(r*40|0)+8|0;b[Q>>1]=e[Q>>1]&65406|1;Q=v;w=o;R=T;S=U;r=v+(r*40|0)|0;break}case 66:{ee=0;Tg(r,c[o+(n*20|0)+16>>2]|0,c[o+(n*20|0)+4>>2]|0,0,0)|0;a[r+10>>0]=Gc;Q=v;w=o;R=T;S=U;break}case 67:{ee=0;z=(c[o+(n*20|0)+4>>2]|0)+-1|0;x=c[xb>>2]|0;s=x+(z*40|0)|0;p=e[x+(z*40|0)+8>>1]|0;if(p&18){w=c[x+(z*40|0)+12>>2]|0;if(p&16384)w=(c[s>>2]|0)+w|0;if((w|0)>(c[(c[x+(z*40|0)+32>>2]|0)+88>>2]|0)){p=n;q=t;ee=1316;break c}}Vl(r,s,2048);Q=v;w=o;R=T;S=U;break}case 72:{ee=0;p=c[o+(n*20|0)+12>>2]|0;s=c[o+(n*20|0)+8>>2]|0;G=p+s|0;r=v+((c[o+(n*20|0)+4>>2]|0)*40|0)|0;s=v+(s*40|0)|0;while(1){Wl(s,r);p=p+-1|0;if(!p)break;else{r=r+40|0;s=s+40|0}}Q=v;w=o;R=T;S=U;r=v+(G*40|0)|0;break}case 74:{ee=0;n=c[o+(p*20|0)+12>>2]|0;r=v+((c[o+(p*20|0)+4>>2]|0)*40|0)|0;G=v+((c[o+(p*20|0)+8>>2]|0)*40|0)|0;while(1){Vl(G,r,4096);if((b[G+8>>1]&4096)!=0?(Rl(G)|0)!=0:0){u=ce;v=fe;n=m;m=t;ee=1317;break a}if(!n){Q=v;w=o;R=T;S=U;r=G;n=p;break q}n=n+-1|0;r=r+40|0;G=G+40|0}}case 79:{ee=0;r=v+((c[o+(n*20|0)+8>>2]|0)*40|0)|0;Vl(r,v+((c[o+(n*20|0)+4>>2]|0)*40|0)|0,4096);Q=v;w=o;R=T;S=U;break}case 94:{ee=0;H=c[o+(p*20|0)+4>>2]|0;G=v+(H*40|0)|0;I=c[o+(p*20|0)+8>>2]|0;F=v+(I*40|0)|0;J=c[o+(p*20|0)+12>>2]|0;r=v+(J*40|0)|0;E=v+(H*40|0)+8|0;B=b[E>>1]|0;D=v+(I*40|0)+8|0;z=b[D>>1]|0;if((z|B)&1){n=v+(J*40|0)+8|0;if(!(b[n>>1]&9312)){b[n>>1]=1;Q=v;w=o;R=T;S=U;n=p;break}else{rg(r);Q=v;w=o;R=T;S=U;n=p;break}}if(B&16384){if(Ng(G)|0){u=ce;v=fe;n=m;m=t;ee=1317;break a}z=b[D>>1]|0}if((z&16384)!=0?(Ng(F)|0)!=0:0){u=ce;v=fe;n=m;m=t;ee=1317;break a}if((b[E>>1]&18)==0?(Zl(G,Gc,0)|0)!=0:0){u=ce;v=fe;n=m;m=t;ee=1317;break a}if((b[D>>1]&18)==0?(Zl(F,Gc,0)|0)!=0:0){u=ce;v=fe;n=m;m=t;ee=1317;break a}B=v+(H*40|0)+12|0;x=v+(I*40|0)+12|0;w=(c[x>>2]|0)+(c[B>>2]|0)|0;if((w|0)>(c[wb>>2]|0)){q=t;ee=1316;break c}n=(J|0)==(I|0);if(ah(r,w+2|0,n&1)|0){u=ce;v=fe;n=m;m=t;ee=1317;break a}s=v+(J*40|0)+8|0;b[s>>1]=e[s>>1]&48640|2;z=v+(J*40|0)+16|0;if(!n)gw(c[z>>2]|0,c[v+(I*40|0)+16>>2]|0,c[x>>2]|0)|0;gw((c[z>>2]|0)+(c[x>>2]|0)|0,c[v+(H*40|0)+16>>2]|0,c[B>>2]|0)|0;a[(c[z>>2]|0)+w>>0]=0;a[(c[z>>2]|0)+(w+1)>>0]=0;b[s>>1]=e[s>>1]|512;c[v+(J*40|0)+12>>2]=w;a[v+(J*40|0)+10>>0]=Gc;Q=v;w=o;R=T;S=U;n=p;break}case 112:{ee=0;K=c[o+(n*20|0)+4>>2]|0;L=v+(K*40|0)|0;Q=_l(L)|0;J=c[o+(n*20|0)+8>>2]|0;O=v+(J*40|0)|0;R=_l(O)|0;S=c[o+(n*20|0)+12>>2]|0;r=v+(S*40|0)|0;r:do if(!((b[v+(J*40|0)+8>>1]|b[v+(K*40|0)+8>>1])&1)){s:do if(!((Q&4&R)<<16>>16))J=0;else{p=L;z=c[p>>2]|0;p=c[p+4>>2]|0;D=O;w=c[D>>2]|0;D=c[D+4>>2]|0;G=d[P>>0]|0;t:do if((G|0)==89){if((p|0)>-1|(p|0)==-1&z>>>0>4294967295){K=$v(-1,2147483647,w|0,D|0)|0;J=C;if(((D|0)>0|(D|0)==0&w>>>0>0)&((J|0)<(p|0)|(J|0)==(p|0)&K>>>0<z>>>0)){J=1;break s}}else if((D|0)<0?(J=$v(1,-2147483648,w|0,D|0)|0,I=C,K=fw(z|0,p|0,1,0)|0,s=C,(I|0)>(s|0)|(I|0)==(s|0)&J>>>0>K>>>0):0){J=1;break s}w=fw(w|0,D|0,z|0,p|0)|0;p=C}else if((G|0)==90){if((z|0)==0&(p|0)==-2147483648){if((D|0)>-1|(D|0)==-1&w>>>0>4294967295){J=1;break s}p=D^-2147483648;break}if((p|0)<0|(p|0)==0&z>>>0<1){K=$v(0,0,z|0,p|0)|0;s=C;J=$v(-1,2147483647,w|0,D|0)|0;I=C;if(((D|0)>0|(D|0)==0&w>>>0>0)&((I|0)<(s|0)|(I|0)==(s|0)&J>>>0<K>>>0)){J=1;break s}}else if((D|0)<0?(J=$v(1,-2147483648,w|0,D|0)|0,I=C,K=$v(1,0,z|0,p|0)|0,s=C,(I|0)>(s|0)|(I|0)==(s|0)&J>>>0>K>>>0):0){J=1;break s}w=$v(w|0,D|0,z|0,p|0)|0;p=C}else if((G|0)==91){J=mw(w|0,D|0,0,1)|0;s=C;F=nw(w|0,D|0,0,1)|0;G=C;I=mw(z|0,p|0,0,1)|0;x=C;H=nw(z|0,p|0,0,1)|0;K=C;E=fw(w|0,D|0,-1,0)|0;le=C;B=fw(z|0,p|0,-1,0)|0;me=C;B=me>>>0<1|(me|0)==1&B>>>0<4294967295;do if(le>>>0<1|(le|0)==1&E>>>0<4294967295)if(B){w=ow(w|0,D|0,z|0,p|0)|0;p=C;break t}else{E=ow(I|0,x|0,F|0,G|0)|0;D=C;break}else{if(!B){J=1;break s}E=ow(H|0,K|0,J|0,s|0)|0;D=C}while(0);J=fw(E|0,D|0,-2147483648,0)|0;s=C;if(s>>>0>0|(s|0)==0&J>>>0>4294967295){J=1;break s}G=ow(H|0,K|0,F|0,G|0)|0;F=C;if((F|0)>-1|(F|0)==-1&G>>>0>4294967295){K=$v(-1,2147483647,0,E|0)|0;J=C;if(((D|0)>0|(D|0)==0&E>>>0>0)&((J|0)<(F|0)|(J|0)==(F|0)&K>>>0<G>>>0)){J=1;break s}}else if((D|0)<0?(J=$v(1,-2147483648,0,E|0)|0,p=C,K=fw(G|0,F|0,1,0)|0,s=C,(p|0)>(s|0)|(p|0)==(s|0)&J>>>0>K>>>0):0){J=1;break s}w=fw(0,E|0,G|0,F|0)|0;p=C}else if((G|0)==92){if((z|0)==0&(p|0)==0)break r;if((z|0)==-1&(p|0)==-1&((w|0)==0&(D|0)==-2147483648)){J=1;break s}w=mw(w|0,D|0,z|0,p|0)|0;p=C}else{if((z|0)==-1){if((p|0)==-1){z=1;p=0}}else if((z|0)==0?(p|0)==0:0)break r;w=nw(w|0,D|0,z|0,p|0)|0;p=C}while(0);Q=r;c[Q>>2]=w;c[Q+4>>2]=p;Q=v+(S*40|0)+8|0;b[Q>>1]=e[Q>>1]&48640|4;Q=v;w=o;R=T;S=U;break q}while(0);A=+Qg(L);y=+Qg(O);z=d[P>>0]|0;if((z|0)==89)y=A+y;else if((z|0)==90)y=y-A;else if((z|0)==91)y=A*y;else if((z|0)==92){if(A==0.0)break;y=y/A}else{B=~~A>>>0;z=+N(A)>=1.0?(A>0.0?~~+$(+M(A/4294967296.0),4294967295.0)>>>0:~~+Z((A-+(~~A>>>0))/4294967296.0)>>>0):0;F=~~y>>>0;G=+N(y)>=1.0?(y>0.0?~~+$(+M(y/4294967296.0),4294967295.0)>>>0:~~+Z((y-+(~~y>>>0))/4294967296.0)>>>0):0;if(!B){if(!z)break}else if((B|0)==-1?(z|0)==-1:0){B=1;z=0}P=nw(F|0,G|0,B|0,z|0)|0;y=+(P>>>0)+4294967296.0*+(C|0)}h[ge>>3]=y;h[Pd>>3]=+h[ge>>3];if(!(+h[ge>>3]!=+h[Pd>>3])){h[r>>3]=y;S=v+(S*40|0)+8|0;b[S>>1]=e[S>>1]&48640|8;if(((R|Q)&8)!=0|J<<24>>24!=0){Q=v;w=o;R=T;S=U;break q}$l(r);Q=v;w=o;R=T;S=U;break q}}while(0);p=v+(S*40|0)+8|0;if(!(b[p>>1]&9312)){b[p>>1]=1;Q=v;w=o;R=T;S=U;break}else{rg(r);Q=v;w=o;R=T;S=U;break}}case 166:{ee=0;p=c[o+(n*20|0)+4>>2]|0;if(p){r=v+(p*40|0)|0;p=v+(p*40|0)+8|0;if(!(b[p>>1]&9312)){Q=r;c[Q>>2]=0;c[Q+4>>2]=0;b[p>>1]=4;Q=v;w=o;R=T;S=U;r=G;break}else{Vg(r,0,0);Q=v;w=o;R=T;S=U;r=G;break}}else{Q=v;w=o;R=T;S=U;r=G}break}case 184:{ee=0;z=c[o+(n*20|0)+4>>2]|0;w=c[o+(n*20|0)+8>>2]|0;s=c[o+(n*20|0)+12>>2]|0;r=v+(s*40|0)|0;if((b[v+(w*40|0)+8>>1]|b[v+(z*40|0)+8>>1])&1){p=v+(s*40|0)+8|0;if(!(b[p>>1]&9312)){b[p>>1]=1;Q=v;w=o;R=T;S=U;break}else{rg(r);Q=v;w=o;R=T;S=U;break}}x=Rg(v+(w*40|0)|0)|0;J=C;G=Rg(v+(z*40|0)|0)|0;F=C;w=a[E>>0]|0;z=w&255;do if(w<<24>>24==86){x=G|x;p=F|J}else if(w<<24>>24!=85)if(!((G|0)==0&(F|0)==0)){if((F|0)<0){w=175-z&255;z=$v(0,0,G|0,F|0)|0;if((F|0)>-1|(F|0)==-1&G>>>0>4294967232){F=C;ee=194}}else{z=G;ee=194}if((ee|0)==194){ee=0;if(!((F|0)>0|(F|0)==0&z>>>0>63)){if(w<<24>>24==87){x=ew(x|0,J|0,z|0)|0;p=C;break}x=iw(x|0,J|0,z|0)|0;p=C;if((J|0)>=0)break;S=$v(64,0,z|0,F|0)|0;S=ew(-1,-1,S|0)|0;x=S|x;p=C|p;break}}if((J|0)>-1|(J|0)==-1&x>>>0>4294967295){x=0;p=0}else{p=(w<<24>>24!=87)<<31>>31;x=p;p=((p|0)<0)<<31>>31}}else p=J;else{x=G&x;p=F&J}while(0);Q=r;c[Q>>2]=x;c[Q+4>>2]=p;Q=v+(s*40|0)+8|0;b[Q>>1]=e[Q>>1]&48640|4;Q=v;w=o;R=T;S=U;break}case 202:{ee=0;w=c[o+(n*20|0)+4>>2]|0;Q=v+(w*40|0)|0;R=Rg(Q)|0;w=v+(w*40|0)+8|0;b[w>>1]=e[w>>1]&48640|4;w=c[o+(n*20|0)+8>>2]|0;w=fw(R|0,C|0,w|0,((w|0)<0)<<31>>31|0)|0;c[Q>>2]=w;c[Q+4>>2]=C;Q=v;w=o;R=T;S=U;break}case 203:{ee=0;r=c[o+(n*20|0)+4>>2]|0;w=v+(r*40|0)+8|0;p=b[w>>1]|0;if(!(p&4)){bm(v+(r*40|0)|0,67,Gc);p=b[w>>1]|0;if(!(p&4)){B=c[o+(n*20|0)+8>>2]|0;if(!B){p=n;q=20;ee=1318;break c}Q=v;w=o;R=T;S=U;r=G;n=B+-1|0;break}}b[w>>1]=p&48640|4;Q=v;w=o;R=T;S=U;r=G;break}case 208:{ee=0;p=c[o+(n*20|0)+4>>2]|0;r=v+(p*40|0)+8|0;if(!(b[r>>1]&4)){Q=v;w=o;R=T;S=U;r=G}else{Q=v+(p*40|0)|0;h[Q>>3]=+QgQg