>>0){y=50;break b}c[z>>2]=w-v;w=a[90653+(c[u+8>>2]|0)>>0]|0;if((v|0)>0){u=0;do{z=A+u|0;a[z>>0]=a[z>>0]&w;u=u+1|0}while((u|0)!=(v|0))}if(!(Nl(b,A,v)|0)){g=0;y=118;break b}s=s+2|0}while((s|0)<(o|0))}else{if(!t)break;s=(p|0)>0;u=0;do{w=(c[q>>2]|0)+(B(u,p)|0)|0;r=c[j>>2]|0;if(!(c[r>>2]&1)){y=48;break b}x=r+52|0;z=c[x>>2]|0;if(z>>>0>>0){y=50;break b}c[x>>2]=z-p;z=a[90653+(c[r+8>>2]|0)>>0]|0;if(s){r=0;do{x=w+r|0;a[x>>0]=a[x>>0]&z;r=r+1|0}while((r|0)!=(p|0))}if(!(Nl(b,w,p)|0)){g=0;y=118;break b}u=u+8|0}while((u|0)<(o|0));if((o|0)>4){u=(p|0)>0;s=4;do{t=(c[q>>2]|0)+(B(s,p)|0)|0;r=c[j>>2]|0;if(!(c[r>>2]&1)){y=48;break b}z=r+52|0;v=c[z>>2]|0;if(v>>>0
>>0){y=50;break b}c[z>>2]=v-p;v=a[90653+(c[r+8>>2]|0)>>0]|0;if(u){r=0;do{z=t+r|0;a[z>>0]=a[z>>0]&v;r=r+1|0}while((r|0)!=(p|0))}if(!(Nl(b,t,p)|0)){g=0;y=118;break b}s=s+8|0}while((s|0)<(o|0))}if((o|0)>2){s=(p|0)>0;u=2;do{r=(c[q>>2]|0)+(B(u,p)|0)|0;v=c[j>>2]|0;if(!(c[v>>2]&1)){y=48;break b}w=v+52|0;z=c[w>>2]|0;if(z>>>0
>>0){y=50;break b}c[w>>2]=z-p;z=a[90653+(c[v+8>>2]|0)>>0]|0;if(s){v=0;do{w=r+v|0;a[w>>0]=a[w>>0]&z;v=v+1|0}while((v|0)!=(p|0))}if(!(Nl(b,r,p)|0)){g=0;y=118;break b}u=u+4|0}while((u|0)<(o|0))}if((o|0)<=1)break;u=(p|0)>0;s=1;do{v=(c[q>>2]|0)+(B(s,p)|0)|0;z=c[j>>2]|0;if(!(c[z>>2]&1)){y=48;break b}t=z+52|0;w=c[t>>2]|0;if(w>>>0
>>0){y=50;break b}c[t>>2]=w-p;w=a[90653+(c[z+8>>2]|0)>>0]|0;if(u){z=0;do{t=v+z|0;a[t>>0]=a[t>>0]&w;z=z+1|0}while((z|0)!=(p|0))}if(!(Nl(b,v,p)|0)){g=0;y=118;break b}s=s+2|0}while((s|0)<(o|0))}}while(0);m=m+1|0;if((m|0)>=(c[h>>2]|0))break a}if((y|0)==13){c[b+64>>2]=10;g=0;Ia=d;return g|0}else if((y|0)==21){c[b+64>>2]=10;g=0;Ia=d;return g|0}else if((y|0)==29){c[b+64>>2]=10;g=0;Ia=d;return g|0}else if((y|0)==48){c[b+64>>2]=10;g=0;Ia=d;return g|0}else if((y|0)==50){c[b+64>>2]=6;g=0;Ia=d;return g|0}else if((y|0)==70){c[b+64>>2]=10;g=0;Ia=d;return g|0}else if((y|0)==72){c[b+64>>2]=6;g=0;Ia=d;return g|0}else if((y|0)==118){Ia=d;return g|0}}while(0);h=c[b+60>>2]|0;m=c[b+56>>2]|0;d:do if((h|0)!=0&(m|0)>0){j=m+-1|0;l=b+72|0;k=e+1|0;i=0;while(1){o=h+(i*12|0)|0;p=c[h+(i*12|0)+8>>2]|0;if(p|0){q=c[l>>2]|0;if(!(c[q>>2]&1)){y=87;break}a[e>>0]=33;a[k>>0]=p;p=c[q+64>>2]|0;if(!p)Vu(e,1,2,c[q+56>>2]|0)|0;else Oa[p&7](b,e,2)|0}p=c[o>>2]|0;q=c[h+(i*12|0)+4>>2]|0;n=c[l>>2]|0;if(!(c[n>>2]&1)){y=95;break}a[e>>0]=p;s=c[n+64>>2]|0;if(!s)$u(p<<24>>24,c[n+56>>2]|0)|0;else Oa[s&7](b,e,1)|0;s=c[l>>2]|0;n=c[s+64>>2]|0;if(!n)Vu(q,1,p,c[s+56>>2]|0)|0;else Oa[n&7](b,q,p)|0;if(!((i|0)!=(j|0)?!(c[o+12+8>>2]|0):0)){o=c[l>>2]|0;if(!(c[o>>2]&1)){y=103;break}a[e>>0]=0;p=c[o+64>>2]|0;if(!p)$u(0,c[o+56>>2]|0)|0;else Oa[p&7](b,e,1)|0}i=i+1|0;if((i|0)>=(m|0)){C=l;break d}}if((y|0)==87){c[b+64>>2]=10;g=0;Ia=d;return g|0}else if((y|0)==95){c[b+64>>2]=10;g=0;Ia=d;return g|0}else if((y|0)==103){c[b+64>>2]=10;g=0;Ia=d;return g|0}}else C=b+72|0;while(0);y=c[C>>2]|0;do if(y|0?c[y>>2]&1|0:0){C=c[y+56>>2]|0;a[e>>0]=59;m=c[y+64>>2]|0;if(!m)$u(59,C)|0;else Oa[m&7](b,e,1)|0;m=b+48|0;if(c[m>>2]|0)c[m>>2]=0;if(c[f>>2]|0)c[f>>2]=0;if(C|0?xu(C)|0:0)break;g=1;Ia=d;return g|0}while(0);g=0;Ia=d;return g|0}function Pl(a){a=a|0;var b=0;b=1;while(1)if(b>>>0<9&(1<>2]|0;a:do if(!f){c[543135]=(c[543135]|0)+36;g=Ms(36,1)|0;h=c[543134]|0;c[1467456+(h<<2)>>2]=g;c[543134]=h+((h|0)<16384&1);i=g}else{g=((c[b+24>>2]|0)*36|0)+36|0;h=c[543134]|0;b:do if((h|0)>0){j=0;while(1){k=1467456+(j<<2)|0;if((c[k>>2]|0)==(f|0))break;j=j+1|0;if((j|0)>=(h|0))break b}j=Ns(f,g)|0;c[k>>2]=j;i=j;break a}while(0);i=Ns(f,g)|0}while(0);c[e>>2]=i;if(!i){l=0;return l|0}f=b+24|0;b=c[f>>2]|0;c[f>>2]=b+1;k=i+(b*36|0)|0;h=k;j=h+36|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(j|0));if(!d){l=k;return l|0}h=k;m=d;j=h+36|0;do{a[h>>0]=a[m>>0]|0;h=h+1|0;m=m+1|0}while((h|0)<(j|0));m=i+(b*36|0)+20|0;if(c[m>>2]|0?(h=c[d+20>>2]|0,j=Gl(c[h>>2]|0,c[h+12>>2]|0)|0,c[m>>2]=j,(j|0)==0):0){j=c[e>>2]|0;if(!j){l=0;return l|0}m=(c[f>>2]|0)+-1|0;c[f>>2]=m;h=j+(m*36|0)+20|0;if(c[h>>2]|0)c[h>>2]=0;h=j+(m*36|0)+32|0;if(!(c[h>>2]|0)){l=0;return l|0}c[h>>2]=0;c[j+(m*36|0)+28>>2]=0;l=0;return l|0}m=d+12|0;j=d+8|0;h=B(c[j>>2]|0,c[m>>2]|0)|0;n=(c[543135]|0)+h|0;c[543135]=n;o=Ms(h,1)|0;h=c[543134]|0;c[1467456+(h<<2)>>2]=o;p=h+((h|0)<16384&1)|0;c[543134]=p;c[i+(b*36|0)+24>>2]=o;if(!o){h=c[e>>2]|0;if(!h){l=0;return l|0}q=(c[f>>2]|0)+-1|0;c[f>>2]=q;r=h+(q*36|0)+20|0;if(c[r>>2]|0)c[r>>2]=0;r=h+(q*36|0)+32|0;if(!(c[r>>2]|0)){l=0;return l|0}c[r>>2]=0;c[h+(q*36|0)+28>>2]=0;l=0;return l|0}Hv(o|0,c[d+24>>2]|0,B(c[j>>2]|0,c[m>>2]|0)|0)|0;m=i+(b*36|0)+32|0;if(!(c[m>>2]|0)){l=k;return l|0}b=d+28|0;i=(c[b>>2]|0)*12|0;c[543135]=i+n;n=Ms(i,1)|0;c[1467456+(p<<2)>>2]=n;c[543134]=p+((p|0)<16384&1);c[m>>2]=n;if(n|0){Hv(n|0,c[d+32>>2]|0,(c[b>>2]|0)*12|0)|0;l=k;return l|0}k=c[e>>2]|0;if(!k){l=0;return l|0}e=(c[f>>2]|0)+-1|0;c[f>>2]=e;f=k+(e*36|0)+20|0;if(c[f>>2]|0)c[f>>2]=0;f=k+(e*36|0)+32|0;if(!(c[f>>2]|0)){l=0;return l|0}c[f>>2]=0;c[k+(e*36|0)+28>>2]=0;l=0;return l|0}function Rl(){var 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;b=Ia;Ia=Ia+1632|0;d=b+1616|0;e=b+1608|0;f=b+1600|0;g=b+1592|0;h=b+1584|0;i=b+1576|0;j=b+1568|0;k=b+1560|0;l=b+1552|0;m=b+528|0;n=b;c[785589]=0;Iv(n|0,0,521)|0;if((c[768028]|0)!=1|(c[768034]|0)==0|(a[3066732]|0)==0){o=0;Ia=b;return o|0}if((Pt(3066732)|0)>>>0>64){o=0;Ia=b;return o|0}c[l>>2]=3064548;c[l+4>>2]=3066732;it(m,90662,l)|0;l=Co(m,103074)|0;if(!l){o=1;Ia=b;return o|0}m=0;do{p=m*65|0;q=m<<3;r=n+(p+64)|0;c[k>>2]=c[3067756+(q<<2)>>2];it(n+p|0,90675,k)|0;a[r>>0]=10;c[j>>2]=c[3067756+((q|1)<<2)>>2];it(n+(p+8)|0,90675,j)|0;a[r>>0]=10;c[i>>2]=c[3067756+((q|2)<<2)>>2];it(n+(p+16)|0,90675,i)|0;a[r>>0]=10;c[h>>2]=c[3067756+((q|3)<<2)>>2];it(n+(p+24)|0,90675,h)|0;a[r>>0]=10;c[g>>2]=c[3067756+((q|4)<<2)>>2];it(n+(p+32)|0,90675,g)|0;a[r>>0]=10;c[f>>2]=c[3067756+((q|5)<<2)>>2];it(n+(p+40)|0,90675,f)|0;a[r>>0]=10;c[e>>2]=c[3067756+((q|6)<<2)>>2];it(n+(p+48)|0,90675,e)|0;a[r>>0]=10;c[d>>2]=c[3067756+((q|7)<<2)>>2];it(n+(p+56)|0,90675,d)|0;a[r>>0]=10;m=m+1|0}while((m|0)!=8);uo(n,1,520,l)|0;Eo(l);o=0;Ia=b;return o|0}function Sl(b){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,q=0;d=Ia;Ia=Ia+2592|0;e=d+2584|0;f=d+2576|0;g=d+1552|0;h=d+528|0;i=d;if(!b){j=3;Ia=d;return j|0}if(!((c[768028]|0)==1&(c[768034]|0)!=0)){j=1;Ia=d;return j|0}if(a[3066732]|0){Bb(90680)|0;j=2;Ia=d;return j|0}k=a[b>>0]|0;if(k<<24>>24?(l=Pt(b)|0,l>>>0<=64):0){a:do if(l|0){m=k;n=0;b:while(1){o=m<<24>>24;if(!((o+-97|0)>>>0<26|(o+-48|0)>>>0<10))switch(o|0){case 45:case 95:break;default:break b}o=n+1|0;if(o>>>0>=l>>>0)break a;m=a[b+o>>0]|0;n=o}Bb(90737)|0;j=2;Ia=d;return j|0}while(0);Es(3066732,b)|0;Iv(3067756,0,256)|0;c[f>>2]=3064548;c[f+4>>2]=3066732;it(g,90662,f)|0;f=Co(g,94452)|0;if(!f){j=1;Ia=d;return j|0}jq(h,0,1024);so(h,1,1024,f)|0;Eo(f);jq(i,0,513);f=0;g=0;while(1){b=a[h+f>>0]|0;if((b+-48&255)<10)p=19;else switch(b<<24>>24){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:{p=19;break}default:q=g}if((p|0)==19){p=0;a[i+g>>0]=b;q=g+1|0}f=f+1|0;if(!(f>>>0<1024&(q|0)<512))break;else g=q}q=0;do{c[e>>2]=3067756+(q<<2);Eu(i+(q<<3)|0,90675,e)|0;q=q+1|0}while((q|0)!=64);j=0;Ia=d;return j|0}Bb(90715)|0;j=2;Ia=d;return j|0}function Tl(a){a=a|0;var b=0,d=0;b=Ia;Ia=Ia+1024|0;d=b;gc(a,d);if((Fs(a,90760)|0)==0?(Fs(a,90765)|0)==0:0){Hg(90770);Ia=b;return}if((c[768030]|0)==5){Ul(d,c[785714]|0);Ia=b;return}else{Ul(d,-1);Ia=b;return}}function Ul(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,q=0,r=0;d=Ia;Ia=Ia+1040|0;e=d+1032|0;f=d+1024|0;g=d;h=c[785630]|0;if((b|0)==-1){i=(Pu(a,93171)|0)==0;j=i?h:0;k=i?h:63;if((j|0)>(k|0)){Lb(g);l=32;m=0}else{n=k;o=j;p=4}}else{n=h;o=h;p=4}do if((p|0)==4){h=o;j=0;while(1){q=j+1|0;c[f>>2]=h;it(g,a,f)|0;if(!(Fs(g,90765)|0))r=0;else{k=Co(g,103074)|0;if(!k)break;Vl(k,h,b);r=k}if(Fs(g,90760)|0)Wl(g,h,b);if(r|0)Eo(r);if((h|0)<(n|0)){h=h+1|0;j=q}else{p=14;break}}if((p|0)==14){Lb(g);l=(j|0)==0?32:115;m=q;break}Hg(90792);Ia=d;return}while(0);c[e>>2]=m;c[e+4>>2]=l;it(1708384,90812,e)|0;Hg(1708384);Ia=d;return}function Vl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=c[26136]|0;f=e+16+(b*660|0)|0;g=c[e+16+(b*660|0)+8>>2]|0;e=(g|0)<1?32:g<<5;g=kq(366)|0;Iv(g|0,0,366)|0;h=(d|0)==-1;if(h)Ig(90853,b,e);else Ig(90872,d,0);br();_q(0,0);Eq();b=c[26136]|0;if(!h){Uq(b,d,0);c[543656]=1;d=0;do{wq(0,g,366);uo(g,1,366,a)|0;d=d+1|0}while((ar()|0)!=0&d>>>0<32768);c[543656]=0;br();mq(g);Fq();return}Nq(f,b);c[543656]=1;if((e|0)<=0){c[543656]=0;br();mq(g);Fq();return}b=0;do{wq(0,g,366);uo(g,1,366,a)|0;ar()|0;b=b+1|0}while((b|0)!=(e|0));c[543656]=0;br();mq(g);Fq();return}function Wl(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=(d|0)==-2;if(f){g=dr()|0;if(!g){Hg(90828);return}else h=g}else{g=nq(1048576)|0;Vl(g,d,e);h=g}g=c[h+16>>2]|0;e=Co(b,103074)|0;if(!e){Hg(90792);return}d=g+36|0;a[3460]=d;a[3461]=d>>>8;a[3462]=d>>>16;a[3463]=d>>>24;a[3496]=g;a[3497]=g>>>8;a[3498]=g>>>16;a[3499]=g>>>24;uo(3456,1,44,e)|0;uo(c[h+12>>2]|0,1,g,e)|0;Eo(e);Lb(b);if(f)return;pq(h);return}function Xl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ia;Ia=Ia+2144|0;f=e+2136|0;g=e+2128|0;h=e+2120|0;i=e+2112|0;j=e+1088|0;k=e+64|0;l=e;Iv(1532992,0,1024)|0;c[i>>2]=Om()|0;c[i+4>>2]=b;it(l,90883,i)|0;if(a[3144232]|0){c[h>>2]=3144232;c[h+4>>2]=b;it(l,90893,h)|0}h=(d|0)==0;if(!($t(l,37)|0))if(h){Ur(l,k);Yt(1532992,k)|0;Ia=e;return 1532992}else{gc(l,k);Yt(1532992,k)|0;Ia=e;return 1532992}if(h){h=0;while(1){c[g>>2]=h;it(j,l,g)|0;Ur(j,k);if(!(tr(k)|0))break;else h=h+1|0}Yt(1532992,k)|0;Ia=e;return 1532992}else{h=0;while(1){c[f>>2]=h;it(j,l,f)|0;gc(j,k);if(!(tr(k)|0))break;else h=h+1|0}Yt(1532992,k)|0;Ia=e;return 1532992}return 0}function Yl(a){a=a|0;Xl(90899,a)|0;Wl(1532992,-2,-2);return}function Zl(){var a=0,b=0,d=0;c[543136]=0;c[543137]=0;a=1926988;b=1926924;d=a+64|0;do{c[a>>2]=c[b>>2];a=a+4|0;b=b+4|0}while((a|0)<(d|0));return}function _l(){var a=0,b=0,d=0;if((c[543136]|0)>=13)return;a=1926924;b=1926988;d=a+64|0;do{c[a>>2]=c[b>>2];a=a+4|0;b=b+4|0}while((a|0)<(d|0));return}function $l(a){a=a|0;var b=0,d=0,e=0;b=(a|0)==27;if(b&(c[543136]|0)<13){a=1926924;d=1926988;e=a+64|0;do{c[a>>2]=c[d>>2];a=a+4|0;d=d+4|0}while((a|0)<(e|0));am(c[730449]|0)}if(b)c[785925]=0;if((c[543136]|0)<=12)return;c[785925]=0;c[768157]=120;return}function am(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Ia;Ia=Ia+16|0;e=d+8|0;f=d;Cn(b,0,0,127,127,1);Cn(b,4,41,123,124,6);Cn(b,0,0,127,6,7);oo(b,90903,c[730468]|0,6,1,1,12)|0;g=c[c[730467]>>2]|0;h=c[543136]|0;i=c[((h|0)==13?g+672|0:(h|0)==12?g+700|0:g+(((h|0)%6|0)+169<<2)|0)>>2]|0;En(i,b,0,0,6,8,c[i>>2]|0,c[i+4>>2]|0);i=c[730468]|0;if((c[543136]|0)>12){oo(b,90921,i,60,12,1,11)|0;oo(b,90935,c[730468]|0,60,22,1,12)|0;oo(b,90948,c[730468]|0,60,29,1,12)|0}else{oo(b,90960,i,60,12,1,6)|0;oo(b,c[3504+(c[543136]<<2)>>2]|0,c[730468]|0,60,19,1,7)|0;oo(b,90975,c[730468]|0,60,26,1,13)|0;oo(b,90991,c[730468]|0,60,33,1,13)|0}i=0;h=44;while(1){g=c[1926924+(i<<2)>>2]|0;j=c[3504+(i<<2)>>2]|0;if(!g){k=c[3568+(i<<2)>>2]|0;c[f>>2]=j;c[f+4>>2]=k;it(1708384,91005,f)|0}else{k=(g|0)<255?g:255;g=Br((k|0)>0?k:0)|0;c[e>>2]=j;c[e+4>>2]=g;it(1708384,91005,e)|0}g=a[1708384]|0;if(g<<24>>24){j=g;g=1708384;do{if((j+-65&255)<26)a[g>>0]=(j&255)+32;g=g+1|0;j=a[g>>0]|0}while(j<<24>>24!=0)}if((i|0)==(c[543136]|0)){Cn(b,7,h+-1|0,120,h+5|0,14);l=1}else l=5;oo(b,1708384,c[730468]|0,10,h,1,l)|0;i=i+1|0;if((i|0)==13)break;else h=h+6|0}Ia=d;return}function bm(){var a=0,b=0,d=0;if(!(c[543137]|0)){c[543137]=1;a=0;do{if(co(a)|0)c[543137]=0;a=a+1|0}while((a|0)!=512);if((c[543136]|0)<=12)return;c[543137]=0;return}a=0;do{if(co(a)|0){switch(a&2147483647|0){case 42:case 76:{b=0;break}default:b=a}d=c[543136]|0;c[1926924+(d<<2)>>2]=b;c[543137]=0;c[543136]=d+1;if((d|0)>11?$n()|0:0)do ao()|0;while(($n()|0)!=0)}a=a+1|0}while((a|0)!=512);return}function cm(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;i=Ia;Ia=Ia+16|0;j=i;if(e>>>0>6){Ia=i;return}if(!(bl(e,f)|0))k=($k(e,f)|0)>128&1;else k=1;En(c[(c[c[730467]>>2]|0)+(k+247<<2)>>2]|0,b,0,0,g,h,7,7);a[j>>0]=(d[91228+e>>0]|0)+31;a[j+1>>0]=0;oo(b,j,c[730468]|0,g,k+h|0,1,7)|0;Ia=i;return}function dm(b){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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0;d=Ia;Ia=Ia+1056|0;e=d+1024|0;f=d+1040|0;g=d+1036|0;h=d+1032|0;i=d;Rr(g,h,d+1028|0);j=c[(c[c[730467]>>2]|0)+984>>2]|0;k=j+4|0;l=(c[j>>2]|0)/2|0;m=64-l|0;n=(c[k>>2]|0)/2|0;o=64-n|0;zk(b,63-l|0,63-n|0,l+64|0,n+64|0,1);Jn(b,m,o,l+63|0,n+63|0,7);En(j,b,0,0,m,o,c[j>>2]|0,c[k>>2]|0);Iv(i|0,0,1024)|0;Es(i,91235)|0;k=i+256|0;Es(k,91243)|0;j=i+512|0;Es(j,91251)|0;n=i+768|0;Es(n,91259)|0;if(!((c[481731]|c[481732]|c[481733]|c[481734]|0)==0|(c[481731]|0)==80&(c[481732]|0)==79&(c[481733]|0)==82&(c[481734]|0)==81)){Es(i,91267)|0;l=c[481731]|0;if(l|0){p=(l|0)<255?l:255;l=Br((p|0)>0?p:0)|0;if((l|0)!=0?(Pt(l)|0)==1:0){p=a[l>>0]|0;l=p<<24>>24;q=(p+-65&255)<26?l+32|0:l}else q=16;a[i>>0]=q}q=c[481732]|0;if(q|0){l=(q|0)<255?q:255;q=Br((l|0)>0?l:0)|0;if((q|0)!=0?(Pt(q)|0)==1:0){l=a[q>>0]|0;q=l<<24>>24;r=(l+-65&255)<26?q+32|0:q}else r=16;a[i+2>>0]=r}r=c[481733]|0;if(r|0){q=(r|0)<255?r:255;r=Br((q|0)>0?q:0)|0;if((r|0)!=0?(Pt(r)|0)==1:0){q=a[r>>0]|0;r=q<<24>>24;s=(q+-65&255)<26?r+32|0:r}else s=16;a[i+4>>0]=s}s=c[481734]|0;if(s|0){r=(s|0)<255?s:255;s=Br((r|0)>0?r:0)|0;if((s|0)!=0?(Pt(s)|0)==1:0){r=a[s>>0]|0;s=r<<24>>24;t=(r+-65&255)<26?s+32|0:s}else t=16;a[i+6>>0]=t}}if(c[481735]|c[481736]|0){Es(k,91267)|0;t=c[481735]|0;if(t|0){s=(t|0)<255?t:255;t=Br((s|0)>0?s:0)|0;if((t|0)!=0?(Pt(t)|0)==1:0){s=a[t>>0]|0;t=s<<24>>24;u=(s+-65&255)<26?t+32|0:t}else u=16;a[i+256>>0]=u}u=c[481736]|0;if(u|0){t=(u|0)<255?u:255;u=Br((t|0)>0?t:0)|0;if((u|0)!=0?(Pt(u)|0)==1:0){t=a[u>>0]|0;u=t<<24>>24;v=(t+-65&255)<26?u+32|0:u}else v=16;a[i+258>>0]=v}}if(c[481737]|c[481738]|c[481739]|c[481740]|0){Es(j,91267)|0;v=c[481737]|0;if(v|0){u=(v|0)<255?v:255;v=Br((u|0)>0?u:0)|0;if((v|0)!=0?(Pt(v)|0)==1:0){u=a[v>>0]|0;v=u<<24>>24;w=(u+-65&255)<26?v+32|0:v}else w=16;a[i+512>>0]=w}w=c[481738]|0;if(w|0){v=(w|0)<255?w:255;w=Br((v|0)>0?v:0)|0;if((w|0)!=0?(Pt(w)|0)==1:0){v=a[w>>0]|0;w=v<<24>>24;x=(v+-65&255)<26?w+32|0:w}else x=16;a[i+514>>0]=x}x=c[481739]|0;if(x|0){w=(x|0)<255?x:255;x=Br((w|0)>0?w:0)|0;if((x|0)!=0?(Pt(x)|0)==1:0){w=a[x>>0]|0;x=w<<24>>24;y=((w+-65&255)<26?x+32|0:x)&255}else y=16;a[i+516>>0]=y}y=c[481740]|0;if(y|0){x=(y|0)<255?y:255;y=Br((x|0)>0?x:0)|0;if((y|0)!=0?(Pt(y)|0)==1:0){x=a[y>>0]|0;y=x<<24>>24;z=((x+-65&255)<26?y+32|0:y)&255}else z=16;a[i+518>>0]=z}}if(c[481741]|c[481742]|0){Es(n,91267)|0;z=c[481741]|0;if(z|0){y=(z|0)<255?z:255;z=Br((y|0)>0?y:0)|0;if((z|0)!=0?(Pt(z)|0)==1:0){y=a[z>>0]|0;z=y<<24>>24;A=((y+-65&255)<26?z+32|0:z)&255}else A=16;a[i+768>>0]=A}A=c[481742]|0;if(A|0){z=(A|0)<255?A:255;A=Br((z|0)>0?z:0)|0;if((A|0)!=0?(Pt(A)|0)==1:0){z=a[A>>0]|0;A=z<<24>>24;B=((z+-65&255)<26?A+32|0:A)&255}else B=16;a[i+770>>0]=B}}B=c[730468]|0;oo(b,i,B,90-((Pt(i)|0)<<1)|0,34,1,13)|0;i=c[730468]|0;oo(b,k,i,90-((Pt(k)|0)<<1)|0,44,1,13)|0;k=c[730468]|0;oo(b,j,k,90-((Pt(j)|0)<<1)|0,61,1,13)|0;j=c[730468]|0;oo(b,n,j,90-((Pt(n)|0)<<1)|0,72,1,13)|0;n=m+18|0;j=o+14|0;cm(b,0,0,n,j);k=m+26|0;cm(b,1,0,k,j);i=m+34|0;cm(b,2,0,i,j);B=m+42|0;cm(b,3,0,B,j);j=o+25|0;if(!(bl(4,0)|0))C=($k(4,0)|0)>128&1;else C=1;En(c[(c[c[730467]>>2]|0)+(C+247<<2)>>2]|0,b,0,0,n,j,7,7);a[f>>0]=-114;A=f+1|0;a[A>>0]=0;oo(b,f,c[730468]|0,n,C+j|0,1,7)|0;C=m+26|0;if(!(bl(5,0)|0))D=($k(5,0)|0)>128&1;else D=1;En(c[(c[c[730467]>>2]|0)+(D+247<<2)>>2]|0,b,0,0,C,j,7,7);a[f>>0]=-105;a[A>>0]=0;oo(b,f,c[730468]|0,C,D+j|0,1,7)|0;j=o+41|0;cm(b,0,1,n,j);cm(b,1,1,k,j);cm(b,2,1,i,j);cm(b,3,1,B,j);j=o+52|0;if(!(bl(4,1)|0))E=($k(4,1)|0)>128&1;else E=1;En(c[(c[c[730467]>>2]|0)+(E+247<<2)>>2]|0,b,0,0,n,j,7,7);a[f>>0]=-114;a[A>>0]=0;oo(b,f,c[730468]|0,n,E+j|0,1,7)|0;if(bl(5,1)|0){F=1;G=c[730467]|0;H=c[G>>2]|0;I=F+247|0;J=H+(I<<2)|0;K=c[J>>2]|0;En(K,b,0,0,C,j,7,7);a[f>>0]=-105;a[A>>0]=0;L=c[730468]|0;M=F+j|0;oo(b,f,L,C,M,1,7)|0;N=c[532679]|0;c[e>>2]=N;it(1708384,91275,e)|0;O=c[730468]|0;P=m+5|0;Q=o+80|0;oo(b,1708384,O,P,Q,1,13)|0;R=c[730467]|0;S=c[R>>2]|0;T=S+356|0;U=c[T>>2]|0;V=c[g>>2]|0;W=c[U>>2]|0;X=(W|0)/2|0;Y=V-X|0;Z=c[h>>2]|0;_=U+4|0;$=c[_>>2]|0;aa=($|0)/2|0;ba=Z-aa|0;En(U,b,0,0,Y,ba,W,$);Ia=d;return}F=($k(5,1)|0)>128&1;G=c[730467]|0;H=c[G>>2]|0;I=F+247|0;J=H+(I<<2)|0;K=c[J>>2]|0;En(K,b,0,0,C,j,7,7);a[f>>0]=-105;a[A>>0]=0;L=c[730468]|0;M=F+j|0;oo(b,f,L,C,M,1,7)|0;N=c[532679]|0;c[e>>2]=N;it(1708384,91275,e)|0;O=c[730468]|0;P=m+5|0;Q=o+80|0;oo(b,1708384,O,P,Q,1,13)|0;R=c[730467]|0;S=c[R>>2]|0;T=S+356|0;U=c[T>>2]|0;V=c[g>>2]|0;W=c[U>>2]|0;X=(W|0)/2|0;Y=V-X|0;Z=c[h>>2]|0;_=U+4|0;$=c[_>>2]|0;aa=($|0)/2|0;ba=Z-aa|0;En(U,b,0,0,Y,ba,W,$);Ia=d;return}function em(b){b=b|0;var c=0,d=0,e=0,f=0;c=a[b>>0]|0;if(!(c<<24>>24))return;d=c;while(1){c=b+((Pt(b)|0)+-1)|0;if((a[c>>0]|0)!=32)break;a[c>>0]=0;c=a[b>>0]|0;if(!(c<<24>>24)){e=15;break}else d=c}if((e|0)==15)return;c=d;d=b;do{if((c+-65&255)<26)a[d>>0]=(c&255)+32;d=d+1|0;c=a[d>>0]|0}while(c<<24>>24!=0);c=a[b>>0]|0;if(!(c<<24>>24))return;d=c;c=b;do{if(sb(d<<24>>24)|0){if((a[c>>0]|0)==124){f=95;e=13}}else{f=32;e=13}if((e|0)==13){e=0;a[c>>0]=f}c=c+1|0;d=a[c>>0]|0}while(d<<24>>24!=0);return}function fm(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,i=0;a=Ia;Ia=Ia+1056|0;b=a+1024|0;d=a;Sr(92562,d);e=ru(d,95158)|0;if(!e){Ia=a;return}d=c[384064]|0;if((d|0)>0){f=d;d=0;while(1){g=c[383797]|0;if((c[g+(d*692|0)+684>>2]|0)==1){h=c[g+(d*692|0)+644>>2]|0;c[b>>2]=g+(d*692|0)+388;c[b+4>>2]=g+(d*692|0)+516;c[b+8>>2]=h;c[b+12>>2]=g+(d*692|0)+132;c[b+16>>2]=g+(d*692|0)+260;c[b+20>>2]=g+(d*692|0)+4;Mu(e,91302,b)|0;i=c[384064]|0}else i=f;d=d+1|0;if((d|0)>=(i|0))break;else f=i}}xu(e)|0;Ia=a;return}function gm(){var a=0,b=0;a=Ia;Ia=Ia+1024|0;b=a;Sr(92562,b);hm(1535184,b);Ia=a;return}function hm(b,d){b=b|0;d=d|0;var 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;e=Ia;Ia=Ia+528|0;f=e+520|0;g=e+512|0;h=e;i=Co(d,102896)|0;if(!i){c[g>>2]=d;it(1703776,91341,g)|0;pn(1703776);Ia=e;return}a:do if(!(Ao(i)|0)){g=b+1072|0;d=b+4|0;j=h+1|0;k=0;do{if(k>>>0>=2048)break a;k=k+1|0;a[h>>0]=0;Fo(h,511,i)|0;do if((a[h>>0]|0)==124){oq(c[b>>2]|0,((c[g>>2]|0)*692|0)+692|0)|0;l=c[(c[b>>2]|0)+12>>2]|0;c[d>>2]=l;m=c[g>>2]|0;c[g>>2]=m+1;n=l+(m*692|0)|0;Iv(n|0,0,692)|0;m=n+684|0;c[m>>2]=1;l=j;b:while(1){switch(a[l>>0]|0){case 0:case 124:{break b;break}default:{}}l=l+1|0}a[l>>0]=0;o=n+388|0;Es(o,j)|0;p=l+1|0;q=p;c:while(1){switch(a[q>>0]|0){case 0:case 124:{break c;break}default:{}}q=q+1|0}a[q>>0]=0;l=n+516|0;Es(l,p)|0;r=q+1|0;s=r;d:while(1){switch(a[s>>0]|0){case 0:case 124:{break d;break}default:{}}s=s+1|0}a[s>>0]=0;c[f>>2]=n+644;Eu(r,93171,f)|0;q=s+1|0;p=q;e:while(1){switch(a[p>>0]|0){case 0:case 124:{break e;break}default:{}}p=p+1|0}a[p>>0]=0;Es(n+132|0,q)|0;s=p+1|0;r=s;f:while(1){switch(a[r>>0]|0){case 0:case 124:{break f;break}default:{}}r=r+1|0}a[r>>0]=0;p=n+260|0;Es(p,s)|0;q=r+1|0;t=q;g:while(1){switch(a[t>>0]|0){case 0:case 124:{break g;break}default:{}}t=t+1|0}a[t>>0]=0;Es(n+4|0,q)|0;im(n);r=jm(b,o,p)|0;s=(c[g>>2]|0)+-1|0;if((r|0)!=(s|0)){c[g>>2]=s;break}if((c[m>>2]|0)==1)if((a[o>>0]|0)==0?(a[l>>0]|0)==0:0){s=(Fs(p,91297)|0)==0;u=s?177:180}else u=176;else u=c[n>>2]|0;c[n>>2]=u}while(0)}while(!(Ao(i)|0))}while(0);Eo(i);Ia=e;return}function im(b){b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=b+388|0;a:do if(a[c>>0]|0)do{d=(Pt(c)|0)+-1+(b+388)|0;if((a[d>>0]|0)!=32)break a;a[d>>0]=0}while((a[c>>0]|0)!=0);while(0);d=b+516|0;b:do if(a[d>>0]|0)do{e=(Pt(d)|0)+-1+(b+516)|0;if((a[e>>0]|0)!=32)break b;a[e>>0]=0}while((a[d>>0]|0)!=0);while(0);e=b+260|0;c:do if(a[e>>0]|0)do{f=(Pt(e)|0)+-1+(b+260)|0;if((a[f>>0]|0)!=32)break c;a[f>>0]=0}while((a[e>>0]|0)!=0);while(0);e=b+132|0;f=a[e>>0]|0;d:do if(f<<24>>24){g=f;while(1){h=(Pt(e)|0)+-1+(b+132)|0;if((a[h>>0]|0)!=32)break;a[h>>0]=0;h=a[e>>0]|0;if(!(h<<24>>24))break d;else g=h}h=g;i=e;do{if((h+-65&255)<26)a[i>>0]=(h&255)+32;i=i+1|0;h=a[i>>0]|0}while(h<<24>>24!=0);h=a[e>>0]|0;if(h<<24>>24){i=h;h=e;do{if(!((i+-97&255)<26|(i+-48&255)<10))a[h>>0]=95;h=h+1|0;i=a[h>>0]|0}while(i<<24>>24!=0)}}while(0);if((Pt(e)|0)>>>0>16)a[b+148>>0]=0;e=b+4|0;f=a[e>>0]|0;e:do if(f<<24>>24){i=f;while(1){h=(Pt(e)|0)+-1+(b+4)|0;if((a[h>>0]|0)!=32)break;a[h>>0]=0;h=a[e>>0]|0;if(!(h<<24>>24))break e;else i=h}h=i;g=e;do{if((h+-65&255)<26)a[g>>0]=(h&255)+32;g=g+1|0;h=a[g>>0]|0}while(h<<24>>24!=0);h=a[e>>0]|0;if(h<<24>>24){g=h;h=e;do{if(sb(g<<24>>24)|0){if((a[h>>0]|0)==124){j=95;k=40}}else{j=32;k=40}if((k|0)==40){k=0;a[h>>0]=j}h=h+1|0;g=a[h>>0]|0}while(g<<24>>24!=0)}}while(0);if(!(Ot(c,95780)|0))a[c>>0]=0;if(Ot(d,95780)|0)return;a[d>>0]=0;return}function jm(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=c[b+1072>>2]|0;if((f|0)<=0){g=-1;return g|0}h=c[b+4>>2]|0;b=(e|0)==0;if(!(a[d>>0]|0)){if(b){g=-1;return g|0}i=(a[e>>0]|0)==0;j=0;while(1){if(((!i?(a[h+(j*692|0)+388>>0]|0)==0:0)?(a[h+(j*692|0)+516>>0]|0)==0:0)?(Ot(e,h+(j*692|0)+260|0)|0)==0:0){g=j;k=18;break}j=j+1|0;if((j|0)>=(f|0)){g=-1;k=18;break}}if((k|0)==18)return g|0}j=0;while(1){i=h+(j*692|0)+388|0;if(!(Ot(i,d)|0)){g=j;k=18;break}if((((!b?a[e>>0]|0:0)?(a[i>>0]|0)==0:0)?(a[h+(j*692|0)+516>>0]|0)==0:0)?(Ot(e,h+(j*692|0)+260|0)|0)==0:0){g=j;k=18;break}j=j+1|0;if((j|0)>=(f|0)){g=-1;k=18;break}}if((k|0)==18)return g|0;return 0}function km(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=Ia;Ia=Ia+2080|0;e=d+2064|0;f=d+2056|0;g=d+2048|0;h=d+1024|0;i=d;Sr(91377,i);Wr(i)|0;c[g>>2]=(a|0)/1e4|0;it(h,91381,g)|0;Sr(h,i);Wr(i)|0;if(!b){c[e>>2]=i;c[e+4>>2]=a;it(1553248,91403,e)|0;Ia=d;return 1553248}else{c[f>>2]=i;c[f+4>>2]=a;it(1553248,91389,f)|0;Ia=d;return 1553248}return 0}function lm(b,d){b=b|0;d=d|0;var 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;e=Ia;Ia=Ia+1056|0;f=e+1040|0;g=e+1032|0;h=e+1024|0;i=e;j=e+1048|0;k=a[b>>0]|0;if(!(k<<24>>24)){a[1553248]=0;Ia=e;return 1553248}c[j>>2]=0;l=Pt(b)|0;m=(k+-48&255)<10&1;if(l>>>0>1){k=1;n=m;while(1){o=((a[b+k>>0]|0)+-48&255)>9?0:n;p=k+1|0;if(p>>>0>>0){k=p;n=o}else{q=p;r=o;break}}}else{q=1;r=m}c[j>>2]=q;if(r|0){c[j>>2]=0;c[h>>2]=j;Eu(b,93171,h)|0;km(c[j>>2]|0,d)|0;Ia=e;return 1553248}Sr(91377,i);Wr(i)|0;Sr(91415,i);Wr(i)|0;if(!d){c[f>>2]=i;c[f+4>>2]=b;it(1553248,91440,f)|0;Ia=e;return 1553248}else{c[g>>2]=i;c[g+4>>2]=b;it(1553248,91425,g)|0;Ia=e;return 1553248}return 0}function mm(a){a=a|0;lm(a,0)|0;return 1553248}function nm(a){a=a|0;lm(a,1)|0;return 1553248}function om(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=Ia;Ia=Ia+16|0;f=e;if((Pt(d)|0)>>>0<2){a[1554272]=0;Ia=e;return 1554272}else{g=c[481781]|0;c[f>>2]=b;c[f+4>>2]=g;c[f+8>>2]=d;it(1554272,91453,f)|0;Ia=e;return 1554272}return 0}function pm(a,b){a=a|0;b=b|0;return (jm(1535184,a,b)|0)!=-1|0}function qm(b){b=b|0;var d=0,e=0,f=0;if(!b){d=0;return d|0}if(!(a[b>>0]|0)){d=0;return d|0}if(!(Fs(b,91297)|0)){e=ls(b)|0;if(!e){d=0;return d|0}f=e+44576|0;if(!(c[f>>2]|0)){d=0;return d|0}e=Fn(128,128,8)|0;tp(c[f>>2]|0,e,0,0,0,0,128,128);d=e;return d|0}e=Po(b)|0;if(!e){d=0;return d|0}if((c[e>>2]|0)!=160){d=0;return d|0}if((c[e+4>>2]|0)!=205){d=0;return d|0}b=Fn(128,128,32)|0;f=Fn(128,128,8)|0;tp(e,b,16,24,0,0,128,128);Hk(b,f,c[730428]|0);Gn(e)|0;Gn(b)|0;d=f;return d|0}function rm(b){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,q=0;d=Ia;Ia=Ia+16|0;e=d;c[543138]=b;c[543139]=0;if((b|0)==1){Es(1552708,91519)|0;f=c[543139]|0;c[1552704+(f*68|0)>>2]=1;g=f+1|0;c[543139]=g;Es(1552704+(g*68|0)+4|0,91528)|0;g=c[543139]|0;c[1552704+(g*68|0)>>2]=5;f=g+1|0;c[543139]=f;g=1552704+(f*68|0)+4|0;if(1==1)Es(g,91536)|0;else Es(g,91559)|0;g=c[543139]|0;c[1552704+(g*68|0)>>2]=3;f=g+1|0;c[543139]=f;g=1535184;h=c[384065]|0;do if((h|0)>=0?(c[384064]|0)>(h|0):0)if((c[(c[(c[g>>2]|0)+12>>2]|0)+(h*692|0)+684>>2]|0)==1){if((c[384064]|0)<=(h|0)){Iv(2173252,0,692)|0;i=f;break}if(a[(c[(c[g>>2]|0)+12>>2]|0)+(h*692|0)+388>>0]|0){if((c[384064]|0)>(h|0))j=(c[(c[g>>2]|0)+12>>2]|0)+(h*692|0)|0;else{Iv(2173252,0,692)|0;j=2173252}c[e>>2]=j+132;it(1708384,91569,e)|0;Es(1552704+((c[543139]|0)*68|0)+4|0,1708384)|0;k=c[543139]|0;c[1552704+(k*68|0)>>2]=19;l=k+1|0;c[543139]=l;Es(1552704+(l*68|0)+4|0,91582)|0;l=c[543139]|0;c[1552704+(l*68|0)>>2]=20;k=l+1|0;c[543139]=k;Es(1552704+(k*68|0)+4|0,91596)|0;k=c[543139]|0;c[1552704+(k*68|0)>>2]=21;l=k+1|0;c[543139]=l;Es(1552704+(l*68|0)+4|0,91614)|0;l=c[543139]|0;c[1552704+(l*68|0)>>2]=18;k=l+1|0;c[543139]=k;i=k}else i=f}else i=f;else m=7;while(0);if((m|0)==7){Iv(2173252,0,692)|0;i=f}Es(1552704+(i*68|0)+4|0,91637)|0;i=c[543139]|0;c[1552704+(i*68|0)>>2]=6;f=i+1|0;c[543139]=f;n=c[543138]|0;o=f}else{n=b;o=0}if((n|0)==4){Es(1552704+(o*68|0)+4|0,91644)|0;b=c[543139]|0;c[1552704+(b*68|0)>>2]=16;f=b+1|0;c[543139]=f;Es(1552704+(f*68|0)+4|0,91654)|0;f=c[543139]|0;c[1552704+(f*68|0)>>2]=17;b=f+1|0;c[543139]=b;Es(1552704+(b*68|0)+4|0,91666)|0;b=c[543139]|0;c[1552704+(b*68|0)>>2]=18;f=b+1|0;c[543139]=f;Es(1552704+(f*68|0)+4|0,91682)|0;f=c[543139]|0;c[1552704+(f*68|0)>>2]=6;b=f+1|0;c[543139]=b;p=c[543138]|0;q=b}else{p=n;q=o}if((p|0)!=5){Ia=d;return}Es(1552704+(q*68|0)+4|0,91687)|0;q=c[543139]|0;c[1552704+(q*68|0)>>2]=32;p=q+1|0;c[543139]=p;Es(1552704+(p*68|0)+4|0,91694)|0;p=c[543139]|0;c[1552704+(p*68|0)>>2]=33;q=p+1|0;c[543139]=q;Es(1552704+(q*68|0)+4|0,91705)|0;q=c[543139]|0;c[1552704+(q*68|0)>>2]=34;p=q+1|0;c[543139]=p;Es(1552704+(p*68|0)+4|0,91682)|0;p=c[543139]|0;c[1552704+(p*68|0)>>2]=6;c[543139]=p+1;Ia=d;return}function sm(){var 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;b=Ia;Ia=Ia+2064|0;d=b+2048|0;e=b+1024|0;f=b;g=1535184;h=c[384065]|0;do if((h|0)<0)Iv(2173252,0,692)|0;else{if((c[384064]|0)<=(h|0)){Iv(2173252,0,692)|0;break}if(!((c[(c[g>>2]|0)+12>>2]|0)+(h*692|0)|0)){Ia=b;return}if((c[(c[(c[g>>2]|0)+12>>2]|0)+(h*692|0)+684>>2]|0)!=1){Ia=b;return}if((c[384064]|0)>(h|0)){i=(c[(c[g>>2]|0)+12>>2]|0)+(h*692|0)+388|0;j=(c[(c[g>>2]|0)+12>>2]|0)+(h*692|0)|0}else{Iv(2173252,0,692)|0;i=2173640;j=2173252}k=wm(i,j+260|0)|0;if(k|0){l=c[384065]|0;if((l|0)>=0?(c[384064]|0)>(l|0):0)m=(c[(c[383796]|0)+12>>2]|0)+(l*692|0)|0;else{Iv(2173252,0,692)|0;m=2173252}Hv(k|0,m|0,692)|0;l=k+648|0;c[l>>2]=Fn(128,128,8)|0;n=1535184;o=c[384065]|0;if((o|0)>=0?(c[384064]|0)>(o|0):0){if(c[(c[(c[n>>2]|0)+12>>2]|0)+(o*692|0)+648>>2]|0){if((c[384064]|0)>(o|0))p=c[(c[(c[n>>2]|0)+12>>2]|0)+(o*692|0)+648>>2]|0;else{Iv(2173252,0,692)|0;p=0}tp(p,c[l>>2]|0,0,0,0,0,128,128)}}else Iv(2173252,0,692)|0;o=k+388|0;if(a[o>>0]|0?(Sr(91498,e),c[d>>2]=e,c[d+4>>2]=o,it(f,91510,d)|0,(tr(f)|0)==0):0)Qo(f,c[l>>2]|0)|0;xm(k)}k=1536260;l=c[k>>2]|0;o=1536256;n=c[o>>2]|0;q=(n|0)<1?0:n+-1|0;r=(l|0)<(q|0)?l:q;c[k>>2]=(r|0)>0?r:0;if(1!=1&(n|0)>0){n=1535188;r=0;do{k=c[n>>2]|0;q=k+(r*692|0)+688|0;c[q>>2]=0;c[q>>2]=(jm(1535184,k+(r*692|0)+388|0,k+(r*692|0)+260|0)|0)!=-1&1;r=r+1|0}while((r|0)<(c[o>>2]|0))}fm();Ia=b;return}while(0);Iv(2173252,0,692)|0;Ia=b;return}function tm(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Ia;Ia=Ia+3120|0;g=f+3096|0;h=f+3088|0;i=f+3080|0;j=f+3072|0;k=f+2048|0;l=f+1024|0;m=f;if(!e){c[i>>2]=b;it(l,91766,i)|0;Sr(l,k);c[h>>2]=b;it(l,91786,h)|0;Sr(l,1929464)}else{c[j>>2]=b;it(l,91744,j)|0;Sr(l,k);a[1929464]=0}l=c[481780]|0;c[g>>2]=e;c[g+4>>2]=d;c[g+8>>2]=91870;c[g+12>>2]=101;c[g+16>>2]=l;it(m,91801,g)|0;if(c[481785]|0){Ia=f;return}Es(1927416,m)|0;Es(1928440,k)|0;c[481785]=1;c[481786]=Kr()|0;c[481787]=0;$r(1927416,1928440,2,3)|0;Ia=f;return}function um(a){a=a|0;var b=0;if(!(c[481785]|0))return;if(tr(1928440)|0)if(Fs(1928440,91297)|0){a=Po(1928440)|0;if(!a)b=3;else{Gn(a)|0;b=2}}else b=2;else b=3;c[481785]=b;return}function vm(a){a=a|0;if(!(c[481785]|0))return;c[481785]=3;return}function wm(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=jm(1535184,b,d)|0;if((e|0)!=-1){Gn(c[(c[383797]|0)+(e*692|0)+648>>2]|0)|0;f=(c[384064]|0)+-1|0;g=c[383797]|0;if((e|0)<(f|0)){h=g;i=e;while(1){e=i;i=i+1|0;Hv(h+(e*692|0)|0,h+(i*692|0)|0,692)|0;e=(c[384064]|0)+-1|0;j=c[383797]|0;if((i|0)>=(e|0)){k=j;l=e;break}else h=j}}else{k=g;l=f}Iv(k+(l*692|0)|0,0,692)|0;c[384064]=(c[384064]|0)+-1;m=0;return m|0}oq(c[383796]|0,((c[384064]|0)*692|0)+692|0)|0;l=c[(c[383796]|0)+12>>2]|0;c[383797]=l;k=c[384064]|0;f=l;g=l;a:do if((k|0)>0){l=0;while(1){if((c[f+(l*692|0)+684>>2]|0)==1){n=l;break a}h=l+1|0;if((h|0)<(k|0))l=h;else{n=h;break}}}else n=0;while(0);if((k|0)>(n|0)){l=k+-1|0;Hv(f+(k*692|0)|0,f+(l*692|0)|0,692)|0;if((l|0)>(n|0)){f=l;do{l=c[383797]|0;h=f;f=f+-1|0;Hv(l+(h*692|0)|0,l+(f*692|0)|0,692)|0}while((f|0)>(n|0))}o=c[(c[383796]|0)+12>>2]|0;p=c[384064]|0}else{o=g;p=k}c[384064]=p+1;p=o+(n*692|0)|0;Iv(p|0,0,692)|0;c[p+684>>2]=1;Es(p+388|0,b)|0;if(!d){m=p;return m|0}Es(p+260|0,d)|0;if(!(a[d>>0]|0)){m=p;return m|0}b=p+4|0;if(a[b>>0]|0){m=p;return m|0}Mo(d,0,b,0);d=Pt(b)|0;if(d>>>0<=3){m=p;return m|0}b=d+-3+(p+4)|0;if((a[b>>0]|0)!=46){m=p;return m|0}a[b>>0]=0;m=p;return m|0}function xm(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;e=Ia;Ia=Ia+1024|0;f=e;Iv(f|0,0,1024)|0;g=c[b+648>>2]|0;if(!g){Ia=e;return}h=b+652|0;if(a[h>>0]|0){Ia=e;return}i=b+653|0;if(a[i>>0]|0){Ia=e;return}j=16384;k=c[g+12>>2]|0;while(1){g=f+(d[k>>0]<<2)|0;c[g>>2]=(c[g>>2]|0)+1;j=j+-1|0;if(!j)break;else k=k+1|0}a[h>>0]=0;a[i>>0]=1;a[b+654>>0]=2;a[b+655>>0]=3;a[b+656>>0]=4;a[b+657>>0]=5;a[b+658>>0]=6;a[b+659>>0]=7;a[b+660>>0]=8;a[b+661>>0]=9;a[b+662>>0]=10;a[b+663>>0]=11;a[b+664>>0]=12;a[b+665>>0]=13;a[b+666>>0]=14;a[b+667>>0]=15;c[f>>2]=16384;i=f+4|0;c[i>>2]=16384;h=f+24|0;c[h>>2]=16384;k=f+28|0;c[k>>2]=16384;j=f+8|0;g=f+12|0;l=f+16|0;m=f+20|0;n=f+32|0;o=f+36|0;p=f+40|0;q=f+44|0;r=f+48|0;s=f+52|0;t=f+56|0;u=f+60|0;v=0;do{w=v+128|0;if(c[f+(w<<2)>>2]|0){x=(c[i>>2]|0)<(c[f>>2]|0)&1;y=(c[j>>2]|0)<(c[f+(x<<2)>>2]|0)?2:x;x=(c[g>>2]|0)<(c[f+(y<<2)>>2]|0)?3:y;y=(c[l>>2]|0)<(c[f+(x<<2)>>2]|0)?4:x;x=(c[m>>2]|0)<(c[f+(y<<2)>>2]|0)?5:y;y=(c[h>>2]|0)<(c[f+(x<<2)>>2]|0)?6:x;x=(c[k>>2]|0)<(c[f+(y<<2)>>2]|0)?7:y;y=(c[n>>2]|0)<(c[f+(x<<2)>>2]|0)?8:x;x=(c[o>>2]|0)<(c[f+(y<<2)>>2]|0)?9:y;y=(c[p>>2]|0)<(c[f+(x<<2)>>2]|0)?10:x;x=(c[q>>2]|0)<(c[f+(y<<2)>>2]|0)?11:y;y=(c[r>>2]|0)<(c[f+(x<<2)>>2]|0)?12:x;x=(c[s>>2]|0)<(c[f+(y<<2)>>2]|0)?13:y;y=(c[t>>2]|0)<(c[f+(x<<2)>>2]|0)?14:x;x=(c[f+(v<<2)>>2]|0)==0?v:(c[u>>2]|0)<(c[f+(y<<2)>>2]|0)?15:y;c[f+(x<<2)>>2]=16384;a[b+668+v>>0]=x;a[b+652+x>>0]=w}v=v+1|0}while((v|0)!=16);Ia=e;return}function ym(b,d){b=b|0;d=d|0;var 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;e=Ia;Ia=Ia+1856|0;f=e+1032|0;g=e+1024|0;h=e+1040|0;i=e;c[b+1080>>2]=0;if(Pt(3063524)|0){j=b+1072|0;oq(c[b>>2]|0,((c[j>>2]|0)*692|0)+692|0)|0;k=c[(c[b>>2]|0)+12>>2]|0;c[b+4>>2]=k;l=c[j>>2]|0;c[j>>2]=l+1;j=k+(l*692|0)|0;Iv(j+4|0,0,688)|0;c[j>>2]=185;a[j+388>>0]=0;Es(j+4|0,95214)|0;c[j+648>>2]=0;c[j+684>>2]=2}c[g>>2]=3062500;c[g+4>>2]=d;it(i,102731,g)|0;if(!(qr(i,95690,h,-1)|0)){g=h+256|0;d=h+512|0;j=b+1072|0;l=b+4|0;do do if((a[g>>0]|0)!=46){if((Fs(g,91894)|0)==0?(c[d>>2]&16384|0)==0:0)break;oq(c[b>>2]|0,((c[j>>2]|0)*692|0)+692|0)|0;k=c[(c[b>>2]|0)+12>>2]|0;c[l>>2]=k;m=c[j>>2]|0;c[j>>2]=m+1;n=k+(m*692|0)|0;Iv(n|0,0,692)|0;c[f>>2]=3063524;c[f+4>>2]=g;it(i,102731,f)|0;m=n+260|0;Yu(m,i,128)|0;c[n+648>>2]=0;k=n+684|0;c[k>>2]=1;a[n+388>>0]=0;if(!(c[d>>2]&16384))o=n+4|0;else{c[n>>2]=181;p=n+4|0;Es(p,g)|0;c[k>>2]=2;o=p}if(((a[o>>0]|0)==0?(Mo(m,0,o,0),m=Pt(o)|0,m>>>0>3):0)?(p=m+-3+(n+4)|0,(a[p>>0]|0)==46):0)a[p>>0]=0}while(0);while(!(rr(h)|0));q=l;r=j}else{q=b+4|0;r=b+1072|0}Qt(c[q>>2]|0,c[r>>2]|0,692,2);if((b|0)==1535184){Ia=e;return}if((c[r>>2]|0)<=0){Ia=e;return}b=0;do{j=c[q>>2]|0;l=j+(b*692|0)+688|0;c[l>>2]=0;c[l>>2]=(jm(1535184,j+(b*692|0)+388|0,j+(b*692|0)+260|0)|0)!=-1&1;b=b+1|0}while((b|0)<(c[r>>2]|0));Ia=e;return}function zm(b){b=b|0;var d=0,e=0,f=0;d=Ia;Ia=Ia+16|0;e=d;if(b|0?(Pt(b)|0)>>>0>=2:0){if((Pt(b)|0)>>>0<2)a[1554272]=0;else{f=c[481781]|0;c[e>>2]=3144900;c[e+4>>2]=f;c[e+8>>2]=b;it(1554272,91453,e)|0}lm(b,0)|0;if(c[481785]|0){Ia=d;return}Es(1927416,1554272)|0;Es(1928440,1553248)|0;c[481785]=1;c[481786]=Kr()|0;c[481787]=0;$r(1927416,1928440,2,3)|0;Ia=d;return}c[481785]=0;eb(91878,1500);c[768036]=0;Ia=d;return}function Am(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=Ot(a+4|0,b+4|0)|0;e=(c[a+684>>2]|0)==2;f=c[b+684>>2]|0;if(e){if((f|0)!=2){g=-1;return g|0}}else if(!(e|(f|0)!=2)){g=1;return g|0}return ((d|0)==0?(a>>>0>>0?1:-1):d)|0}function Bm(){return}function Cm(a,b,d){a=a|0;b=b|0;d=d|0;if(c[481785]|0)return;Es(1927416,a)|0;Es(1928440,b)|0;c[481785]=1;c[481786]=Kr()|0;c[481787]=d;$r(1927416,1928440,2,3)|0;return}function Dm(a){a=a|0;c[481785]=0;if(a|0)eb(a,1500);c[768036]=0;return}function Em(){return 101}function Fm(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=zp(b)|0;if(!d){e=0;return e|0}lm(yp(d,91898,0)|0,0)|0;b=(Pt(yp(d,91898,0)|0)|0)>>>0<2;xp(d);if(b|(c[785925]|0)==0){e=0;return e|0}if(Ag()|0){e=0;return e|0}if(!(Ot(1553248,3065580)|0)){e=0;return e|0}b=Pt(1553248)|0;d=1553248+b|0;a:do if((b|0)>0){f=d;while(1){if((a[f>>0]|0)==45){g=f;break a}h=f+-1|0;if(h>>>0>1553248>>>0)f=h;else{g=h;break}}}else g=d;while(0);if(ft(1553248,3065580,g-1553248|0)|0){e=0;return e|0}c[482627]=1;e=1;return e|0}function Gm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=Ia;Ia=Ia+16|0;e=d;if(!((a|0)!=0&(b|0)!=0)){Ia=d;return}Iv(a|0,0,692)|0;Es(a+4|0,yp(b,91902,0)|0)|0;Es(a+132|0,yp(b,91908,0)|0)|0;Es(a+388|0,yp(b,91898,0)|0)|0;Es(a+516|0,yp(b,91915,0)|0)|0;f=a+644|0;c[f>>2]=0;g=yp(b,91919,0)|0;c[e>>2]=f;Eu(g,93171,e)|0;c[a+684>>2]=1;im(a);Ia=d;return}function Hm(){return c[384070]|0}function Im(b){b=b|0;var d=0,e=0,f=0;d=1536284+(c[384087]|0)|0;e=a[d>>0]|0;if(!(e<<24>>24)){a[d+1>>0]=0;f=(b|0)>0?57:97;a[d>>0]=f;return}else{f=a[91926+((37-b+(e<<24>>24==57?36:e<<24>>24==56?35:e<<24>>24==55?34:e<<24>>24==54?33:e<<24>>24==53?32:e<<24>>24==52?31:e<<24>>24==51?30:e<<24>>24==50?29:e<<24>>24==49?28:e<<24>>24==48?27:e<<24>>24==122?26:e<<24>>24==121?25:e<<24>>24==120?24:e<<24>>24==119?23:e<<24>>24==118?22:e<<24>>24==117?21:e<<24>>24==116?20:e<<24>>24==115?19:e<<24>>24==114?18:e<<24>>24==113?17:e<<24>>24==112?16:e<<24>>24==111?15:e<<24>>24==110?14:e<<24>>24==109?13:e<<24>>24==108?12:e<<24>>24==107?11:e<<24>>24==106?10:e<<24>>24==105?9:e<<24>>24==104?8:e<<24>>24==103?7:e<<24>>24==102?6:e<<24>>24==101?5:e<<24>>24==100?4:e<<24>>24==99?3:e<<24>>24==98?2:e<<24>>24==97?1:(e<<24>>24!=32)<<31>>31)|0)%37|0)>>0]|0;a[d>>0]=f;return}}function Jm(){Kr()|0;return}function Km(b){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,q=0,r=0,s=0;d=Ia;Ia=Ia+16|0;e=d+8|0;f=d;g=c[384070]|0;if(!g){a:do if((b|0)==27){if((c[481785]|0)>0){c[481785]=0;eb(91974,1500);c[768036]=0;h=62;break}if(c[481712]|0){i=(c[543486]|0)==0&1;c[543486]=i;j=i;break}i=c[543138]|0;switch(i|0){case 0:{c[785925]=0;Pg();h=62;break a;break}case 1:{c[543138]=0;h=62;break a;break}default:{if((i|1|0)==5){c[543138]=1;k=1}else k=i;rm(k);h=62;break a}}}else h=62;while(0);if((h|0)==62)j=c[543486]|0;if(j|0){Ia=d;return}j=1==1;b:do if((b|0)!=102|j){switch(b|0){case 8:case 127:break;default:{h=68;break b}}if(j)h=71}else if(!(al(9)|0)){sm();Kr()|0;h=68}else h=68;while(0);if(((h|0)==68?(co(76)|0)==3:0)?(al(76)|0)==0&1==1:0)h=71;if((h|0)==71){sm();Kr()|0}if(co(75)|0?(al(75)|0)==0:0){j=1536260;k=(c[j>>2]|0)+-6|0;i=c[384064]|0;l=(i|0)<1?0:i+-1|0;i=(k|0)<(l|0)?k:l;c[j>>2]=(i|0)>0?i:0}if(co(78)|0?(al(78)|0)==0:0){i=1536260;j=(c[i>>2]|0)+6|0;l=c[384064]|0;k=(l|0)<1?0:l+-1|0;l=(j|0)<(k|0)?j:k;c[i>>2]=(l|0)>0?l:0}if(co(74)|0?(al(74)|0)==0:0)c[384065]=0;if(!(co(77)|0)){Ia=d;return}if(al(77)|0){Ia=d;return}l=c[384064]|0;i=l+-1|0;k=(l|0)<1?0:i;l=(i|0)<(k|0)?i:k;c[384065]=(l|0)>0?l:0;Ia=d;return}l=Pt(1536284)|0;do if((g|0)==1){if((co(82)|0)!=3?(co(81)|0)!=3:0){if((c[384070]|0)!=1)break;if(!((b|0)==13|(sb(b)|0)!=0))break;c[384070]=2;break}c[384070]=3}while(0);g=(b|0)==-1;if(g){if((co(80)|0)==3){k=Pt(1536284)|0;i=1536348;j=(c[i>>2]|0)+-1|0;m=(j|0)<(k|0)?j:k;c[i>>2]=(m|0)>0?m:0}if((co(79)|0)==3){m=Pt(1536284)|0;i=1536348;k=c[i>>2]|0;if((k|0)==(m|0)&(k|0)<21){a[1536284+m>>0]=32;j=(c[i>>2]|0)+1|0;c[i>>2]=j;a[1536284+j>>0]=0;n=c[i>>2]|0;o=m+1|0}else{n=k;o=m}m=n+1|0;n=(m|0)<(o|0)?m:o;c[i>>2]=(n|0)>0?n:0}}else if((b|0)==27)c[384070]=0;c:do if((c[384070]|0)==2){if((l|0)<22&(sb(b)|0)!=0){n=1536348;i=c[n>>2]|0;if((i|0)<22){o=22;do{m=o;o=o+-1|0;a[1536284+m>>0]=a[1536284+o>>0]|0;m=c[n>>2]|0}while((o|0)>(m|0));p=m}else p=i;a[1536306]=0;a[1536284+p>>0]=b;c[n>>2]=(c[n>>2]|0)+1;c[384070]=2;break}switch(b|0){case 8:case 127:{h=26;break}default:if((co(76)|0)==3)h=26}if((h|0)==26?(c[384087]|0)>0:0){o=(co(76)|0)==3;m=1536348;k=c[m>>2]|0;if(o)q=k;else{o=k+-1|0;c[m>>2]=o;q=o}if((q|0)>=22)break;o=q;while(1){m=o;o=o+1|0;a[1536284+m>>0]=a[1536284+o>>0]|0;if((m|0)>=21)break c}}if((b|0)==13){c[f>>2]=1536284;it(1535196,91721,f)|0;tm(c[383798]|0,1535196,0);Es(1536224,1536284)|0;c[384070]=0;cl();break}if(g){if((co(80)|0)==3){o=Pt(1536284)|0;n=1536348;i=(c[n>>2]|0)+-1|0;m=(i|0)<(o|0)?i:o;c[n>>2]=(m|0)>0?m:0}if((co(79)|0)==3){m=Pt(1536284)|0;n=1536348;o=c[n>>2]|0;if((o|0)==(m|0)&(o|0)<21){a[1536284+m>>0]=32;i=(c[n>>2]|0)+1|0;c[n>>2]=i;a[1536284+i>>0]=0;r=c[n>>2]|0;s=m+1|0}else{r=o;s=m}m=r+1|0;o=(m|0)<(s|0)?m:s;c[n>>2]=(o|0)>0?o:0}}}while(0);if((c[384070]|0)!=3){Ia=d;return}if(bl(2,0)|0)Im(-1);if(bl(3,0)|0)Im(1);if(!((bl(4,0)|0)==0?!(bl(5,0)|0):0)){c[e>>2]=1536284;it(1535196,91721,e)|0;tm(c[383798]|0,1535196,0);Es(1536224,1536284)|0;c[384070]=0;cl()}if(!(bl(6,0)|0)){Ia=d;return}c[384070]=0;c[768313]=1;eb(91964,1e3);Ia=d;return}function Lm(){var a=0,b=0,d=0,e=0,f=0,g=0;c[482622]=0;a=c[383772]|0;if((a|0)>0){b=a;a=0;while(1){d=c[(c[383505]|0)+(a*692|0)+648>>2]|0;if(!d)e=b;else{Gn(d)|0;e=c[383772]|0}a=a+1|0;if((a|0)>=(e|0))break;else b=e}}c[383772]=0;ym(1534016,3063524);e=1536260;b=c[e>>2]|0;a=1536256;d=c[a>>2]|0;f=(d|0)<1?0:d+-1|0;g=(b|0)<(f|0)?b:f;c[e>>2]=(g|0)>0?g:0;if(!(1!=1&(d|0)>0)){Kr()|0;c[543486]=0;return}d=1535188;g=0;do{e=c[d>>2]|0;f=e+(g*692|0)+688|0;c[f>>2]=0;c[f>>2]=(jm(1535184,e+(g*692|0)+388|0,e+(g*692|0)+260|0)|0)!=-1&1;g=g+1|0}while((g|0)<(c[a>>2]|0));Kr()|0;c[543486]=0;return}function Mm(){return}function Nm(a){a=a|0;Gm(2172560,a);return}function Om(){var b=0,d=0,e=0,f=0;b=Ia;Ia=Ia+1024|0;d=b;a[1555296]=0;Mo(3065580,0,d,0);Es(1555296,d)|0;if((a[3069040]|0)!=0&(c[768034]|0)!=0|(c[481715]|0)!=0)Es(1555296,2172564)|0;Es(1555296,Za()|0)|0;d=a[1555296]|0;if(!(d<<24>>24)){Es(1555296,91993)|0;e=a[1555296]|0;if(!(e<<24>>24)){Ia=b;return 1555296}else f=e}else f=d;d=f;f=1555296;do{a:do if(!((d+-48&255)<10|((d&-33)+-65&255)<26)){switch(d<<24>>24){case 32:case 45:case 95:{break a;break}default:{}}a[f>>0]=32}while(0);f=f+1|0;d=a[f>>0]|0}while(d<<24>>24!=0);Ia=b;return 1555296}function Pm(){return}function Qm(){return}function Rm(a,b){a=a|0;b=b|0;ma(23,a|0,b|0)|0;return}function Sm(a){a=a|0;var b=0;b=la(24,a|0)|0;a=(b|0)<255?b:255;return ((a|0)>0?a:0)|0}function Tm(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,i=0;a=Ia;Ia=Ia+528|0;b=a+512|0;d=a;e=c[(c[c[730465]>>2]|0)+12>>2]|0;c[e+20>>2]=0;f=yo(3144900,e)|0;Fg(92498,14);a:do if(92145){e=3632;g=0;while(1){h=c[(c[f>>2]|0)+(g<<2)>>2]|0;c[b>>2]=3062500;c[b+4>>2]=92531;it(d,102731,b)|0;Wr(d)|0;Zt(d,c[e>>2]|0)|0;i=Co(d,95158)|0;if(!i)break;uo(c[h+12>>2]|0,1,c[h+16>>2]|0,i)|0;Eo(i);Hg(c[e>>2]|0);g=g+1|0;e=3632+(g<<2)|0;if(!(c[e>>2]|0))break a}Fg(92538,8);Ia=a;return}while(0);Xn(f);Ia=a;return}function Um(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a=Ia;Ia=Ia+1040|0;b=a+1024|0;d=a;Sr(92562,d);e=c[(c[c[730465]>>2]|0)+24>>2]|0;c[e+20>>2]=0;f=yo(3144900,e)|0;a:do if(92258){e=92258;g=1;while(1){h=c[(c[f>>2]|0)+(g<<2)>>2]|0;Es(d,mm(e)|0)|0;i=Co(d,103074)|0;if(!i)break;j=h+12|0;k=h+16|0;uo(c[j>>2]|0,1,c[k>>2]|0,i)|0;Eo(i);Hg(c[3776+(g<<2)>>2]|0);c[b>>2]=3062500;c[b+4>>2]=92577;it(d,102731,b)|0;Wr(d)|0;Zt(d,c[3744+(g<<2)>>2]|0)|0;i=Co(d,103074)|0;uo(c[j>>2]|0,1,c[k>>2]|0,i)|0;Eo(i);g=g+1|0;e=c[3696+(g<<2)>>2]|0;if(!e)break a}Fg(92538,8);Ia=a;return}while(0);Xn(f);Ia=a;return}function Vm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=a+4|0;e=nq((B(c[a>>2]<<1,c[d>>2]|0)|0)+1024|0)|0;uo(c[a+12>>2]|0,1,B(c[d>>2]|0,c[a>>2]|0)|0,e)|0;d=c[26136]|0;if((c[d+12>>2]|0)==(a|0)){to(1,e);f=c[c[753850]>>2]|0;if(!f)to(0,e);else{to(c[f>>2]|0,e);g=f+4|0;to(c[g>>2]|0,e);uo(c[f+12>>2]|0,1,B(c[g>>2]|0,c[f>>2]|0)|0,e)|0}f=c[(c[753850]|0)+4>>2]|0;if(!f)to(0,e);else{to(c[f>>2]|0,e);g=f+4|0;to(c[g>>2]|0,e);uo(c[f+12>>2]|0,1,B(c[g>>2]|0,c[f>>2]|0)|0,e)|0}to(c[(c[753850]|0)+8>>2]|0,e);to(c[(c[753850]|0)+12>>2]|0,e);to(c[785625]|0,e);to(c[785626]|0,e);to(c[785615]|0,e);to(c[785616]|0,e);to(c[785613]|0,e);to(c[785622]|0,e);h=c[26136]|0}else h=d;if((c[h+4>>2]|0)!=(a|0)){i=c[785625]|0;to(i,e);j=c[785626]|0;to(j,e);to(b,e);return e|0}to(0,e);uo((c[26136]|0)+43552|0,1,256,e)|0;a=c[c[753851]>>2]|0;uo(c[a+12>>2]|0,1,B(c[a+4>>2]|0,c[a>>2]|0)|0,e)|0;to(c[785598]|0,e);to(c[785617]|0,e);to(c[785618]|0,e);to(c[785599]|0,e);to(c[785600]|0,e);to(c[785612]|0,e);to(c[785597]|0,e);to(c[785623]|0,e);i=c[785625]|0;to(i,e);j=c[785626]|0;to(j,e);to(b,e);return e|0}function Wm(b,c){b=b|0;c=c|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;a[c>>0]=0;d=iq(262144)|0;a:do if(a[b>>0]|0){e=1;f=b;g=1;while(1){a[d>>0]=0;if(a[f>>0]|0){if(!e)h=nh(f)|0;else h=oh(f)|0;i=ph()|0;j=h-f|0;Hv(d|0,f|0,j|0)|0;a[d+j>>0]=0;if((i|1|0)!=-999&(a[h>>0]|0)!=0){i=h;k=j;while(1){j=nh(i)|0;l=ph()|0;m=j-i|0;Hv(d+k|0,i|0,m|0)|0;k=m+k|0;a[d+k>>0]=0;if(!((l|1|0)!=-999&(a[j>>0]|0)!=0)){n=0;o=j;break}else i=j}}else{n=0;o=h}}else{n=e;o=f}i=d;b:while(1){switch(a[i>>0]|0){case 32:case 9:break;default:break b}i=i+1|0}if(!(gt(i,92584,9)|0))break;Zt(c,d)|0;k=(a[o>>0]|0)!=0;if(g>>>0<65536&k){e=n;f=o;g=g+(k&1)|0}else break a}Fg(92594,6);mq(d);p=1;return p|0}while(0);mq(d);p=0;return p|0}function Xm(){return 0}function Ym(a){a=a|0;return 0}function Zm(a){a=a|0;return 0}function _m(a){a=a|0;return 0}function $m(e,f){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;g=c[543939]|0;h=(g|0)<256?g:256;g=(h|0)>0?h:0;h=c[543493]|0;i=c[543494]|0;if(!((h|0)!=0&(i|0)!=0&(c[543656]|0)==0))return;j=(f|0)/4|0;f=(j|0)<(h|0)?j:h;j=f<<2;k=(f|0)>0;if(!(a[3100894]&32)){if(k){l=0;m=c[543495]|0;do{n=m;m=B((d[i+(l>>>2)>>0]|0)+-128|0,g)|0;b[1556320+(l<<1)>>1]=(m+n|0)/2|0;l=l+1|0}while((l|0)<(j|0));c[543495]=m;o=10}}else if(k){m=0;do{b[1556320+(m<<1)>>1]=B((d[i+(m>>>2)>>0]|0)+-128|0,g)|0;m=m+1|0}while((m|0)<(j|0));o=10}if((o|0)==10?k:0){k=0;do{o=e+(k<<1)|0;m=(b[1556320+(k<<1)>>1]|0)+(b[o>>1]|0)|0;if((m|0)<=24575)if((m|0)<-24575)p=((m+24576|0)/5|0)+-24576|0;else p=m;else p=((m+-24576|0)/5|0)+24576|0;b[o>>1]=p;k=k+1|0}while((k|0)!=(j|0))}j=h-f|0;c[543493]=j;if((j|0)<=0)return;a[i>>0]=a[i+f>>0]|0;if((c[543493]|0)<=1)return;i=1;do{j=c[543494]|0;a[j+i>>0]=a[j+(i+f)>>0]|0;i=i+1|0}while((i|0)<(c[543493]|0));return}function an(b,e,f){b=b|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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;if((f|0)<1){g=0;return g|0}if(!(c[543496]|0)){c[543496]=1;c[543497]=iq(262144)|0;jq(1687392,0,16384)}h=1687392+(b<<2)|0;i=c[h>>2]|0;if(!i){j=iq(48)|0;c[h>>2]=j;c[j>>2]=b;c[j+4>>2]=(b|0)/256|0;c[j+8>>2]=b&255;c[j+12>>2]=10;c[j+16>>2]=8e5;c[j+20>>2]=1050624;c[j+24>>2]=55;c[j+32>>2]=0;c[j+36>>2]=0;k=j}else k=i;do if(!(b&65280)){i=c[543498]|0;j=c[543499]|0;if((((f+7+j|0)/8|0)+i|0)>262138){eb(92611,1e3);c[543499]=0;g=0;return g|0}h=(b|0)==255;if(h|(c[8707]|0)!=(b|0)){if((j|0)>0){l=((j+7|0)/8|0)+i|0;c[543498]=l;m=c[543497]|0;n=c[543500]|0;a[m+n>>0]=j;a[m+(n+1)>>0]=j>>>8;o=m;p=l}else{o=c[543497]|0;p=i}c[8707]=b;c[543499]=0;a[o+p>>0]=b;a[o+(p+1)>>0]=b>>>8;c[543500]=p+2;l=p+4|0;c[543498]=l;q=l;r=0}else{q=i;r=j}if(h){h=c[543497]|0;a[h+q>>0]=f>>>3;a[h+(q+1)>>0]=f>>>11;c[543499]=r+16;s=f;break}h=r;j=q;i=0;l=0;while(1){m=i&7;if(!m){n=Sk(2921764,c[769129]|0,(i>>>3)+e|0)|0;t=c[543499]|0;u=c[543498]|0;v=n}else{t=h;u=j;v=l}n=(c[543497]|0)+(((t|0)/8|0)+u)|0;a[n>>0]=(v>>>m&1)<<(t&7)|(d[n>>0]|0);h=t+1|0;c[543499]=h;i=i+1|0;if((i|0)==(f|0)){w=f;x=20;break}else{j=u;l=v}}}else{w=0;x=20}while(0);a:do if((x|0)==20){if((b|1|0)==257){if(!(c[543501]|0))c[543501]=iq(32768)|0;v=(f+7|0)/8|0;u=(f|0)>0;if(u){t=0;do{q=(Sk(2921764,c[769129]|0,t+e|0)|0)&255;y=c[543501]|0;a[y+t>>0]=q;t=t+1|0}while((t|0)<(v|0));if(u?(Rk(2921764,c[769129]|0,e,d[y>>0]|0),(f|0)>8):0){t=1;do{Rk(2921764,c[769129]|0,t+e|0,d[(c[543501]|0)+t>>0]|0);t=t+1|0}while((t|0)<(v|0));z=f}else z=f}else z=f}else z=w;switch(b|0){case 2048:{v=(f|0)/8|0;b:do if((f|0)>7){t=c[543488]|0;u=0;while(1){if((t|0)>=(c[543489]|0))break;Rk(2921764,c[769129]|0,u+e|0,d[(c[543487]|0)+t>>0]|0);t=(c[543488]|0)+1|0;c[543488]=t;q=u+1|0;if((q|0)>=(v|0))break b;else u=q}fh(u<<5);g=u<<3;return g|0}while(0);fh(f<<2);g=f;return g|0}case 2050:{v=(f|0)/8|0;c:do if((f|0)>7){t=c[543491]|0;q=0;while(1){if((t|0)>=(c[543492]|0))break;Rk(2921764,c[769129]|0,q+e|0,d[(c[543490]|0)+t>>0]|0);t=(c[543491]|0)+1|0;c[543491]=t;r=q+1|0;if((r|0)>=(v|0))break c;else q=r}fh(q<<5);g=q<<3;return g|0}while(0);fh(f<<2);g=f;return g|0}case 2056:{if(!(c[543494]|0))c[543494]=iq(2048)|0;v=(f|0)/8|0;if(!((f|0)>7&(c[543493]|0)<2048)){s=f;break a}t=0;do{u=(Sk(2921764,c[769129]|0,t+e|0)|0)&255;a[(c[543494]|0)+(c[543493]|0)>>0]=u;u=c[543493]|0;c[543493]=u+1;t=t+1|0}while((t|0)<(v|0)&(u|0)<2047);s=f;break}default:{s=z;break a}}}while(0);c[k+44>>2]=1;g=s;return g|0}function bn(b,d){b=b|0;d=d|0;var 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;e=Ia;Ia=Ia+1056|0;f=e+1040|0;g=e+1032|0;h=e+1024|0;i=e;j=e+1044|0;if(!(c[543496]|0)){c[543496]=1;c[543497]=iq(262144)|0;jq(1687392,0,16384)}k=1687392+(b<<2)|0;l=c[k>>2]|0;if(!l){m=iq(48)|0;c[k>>2]=m;c[m>>2]=b;c[m+4>>2]=(b|0)/256|0;c[m+8>>2]=b&255;c[m+12>>2]=10;c[m+16>>2]=8e5;c[m+20>>2]=1050624;c[m+24>>2]=55;c[m+32>>2]=0;c[m+36>>2]=0;n=m}else n=l;if(c[n+44>>2]|0){Ia=e;return}l=a[d>>0]|0;if(l<<24>>24>47?(a[d+1>>0]|0)<58:0){c[h>>2]=j;Eu(d,93171,h)|0;c[n+16>>2]=c[j>>2];Ia=e;return}if(l<<24>>24==32){h=d;while(1){m=h+1|0;b=a[m>>0]|0;if(b<<24>>24==32)h=m;else{o=b;p=m;break}}}else{o=l;p=d}d=n+16|0;l=n+12|0;h=n+20|0;m=n+24|0;b=n+32|0;k=n+36|0;if(!(o<<24>>24)){Ia=e;return}o=p;while(1){a[i>>0]=0;c[g>>2]=i;p=Eu(o,92634,g)|0;if(!($t(i,58)|0)){a[i>>0]=0;q=0}else{c[j>>2]=0;n=($t(i,58)|0)+1|0;c[f>>2]=j;Eu(n,93171,f)|0;a[($t(i,58)|0)>>0]=0;q=p}p=(a[o>>0]|0)==0?o:o+1|0;while(1){r=a[p>>0]|0;if(r<<24>>24==0|(r+-97&255)>25)break;else p=p+1|0}if(r<<24>>24!=0&(r+-97&255)>25){n=p;while(1){s=n+1|0;t=a[s>>0]|0;if(t<<24>>24!=0&(t+-97&255)>25)n=s;else{u=s;break}}}else u=p;if(!(Ot(i,92641)|0))c[d>>2]=c[j>>2];if(!(Ot(i,92646)|0))c[l>>2]=c[j>>2];if(!(Ot(i,92650)|0))c[h>>2]=c[j>>2];if(!(Ot(i,92655)|0))c[m>>2]=c[j>>2];if(!(Ot(i,92666)|0))c[b>>2]=c[j>>2];if(!(Ot(i,92673)|0))c[k>>2]=c[j>>2];if(!q){v=36;break}if(!(a[u>>0]|0)){v=36;break}else o=u}if((v|0)==36){Ia=e;return}}function cn(){var a=0,b=0,d=0;c[543493]=0;if(!(c[543496]|0))return;a=0;do{b=c[1687392+(a<<2)>>2]|0;if(b|0){d=b;b=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(b|0))}a=a+1|0}while((a|0)!=4096);c[543499]=0;jq(c[543497]|0,0,262144);if(!(c[543496]|0))return;c[543499]=0;jq(c[543497]|0,0,262144);c[8707]=-1;c[543500]=0;c[543498]=0;a=c[543501]|0;if(!a)return;jq(a,0,32768);return}function dn(){var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if(!(c[543496]|0))return;b=c[543499]|0;if((b|0)>0){e=(c[543498]|0)+((b+7|0)/8|0)|0;c[543498]=e;f=c[543497]|0;g=c[543500]|0;a[f+g>>0]=b;a[f+(g+1)>>0]=b>>>8;h=e}else h=c[543498]|0;if((h|0)>0){e=h;h=0;while(1){b=c[543497]|0;g=a[b+(h+1)>>0]|0;f=(g&255)<<8|(d[b+h>>0]|0);i=(d[b+(h+3)>>0]|0)<<8|(d[b+(h+2)>>0]|0);j=h+4|0;do if(!(g<<24>>24)){if((f|0)==255){k=e;l=h+6|0;break}m=(i+7|0)>>>3;if(m){Rm(f,d[b+j>>0]|0);if((m|0)!=1){n=1;o=j;do{o=o+1|0;Rm(f,d[(c[543497]|0)+o>>0]|0);n=n+1|0}while((n|0)!=(m|0))}k=c[543498]|0;l=j+m|0}else{k=e;l=j}}else{k=e;l=j}while(0);if((l|0)<(k|0)){e=k;h=l}else break}if(!(c[543496]|0))return}c[543499]=0;jq(c[543497]|0,0,262144);c[8707]=-1;c[543500]=0;c[543498]=0;l=c[543501]|0;if(!l)return;jq(l,0,32768);return}function en(a){a=a|0;var b=0,d=0,e=0;mq(c[543487]|0);b=a+16|0;d=c[b>>2]|0;c[543489]=d;e=iq(d)|0;c[543487]=e;Hv(e|0,c[a+12>>2]|0,c[b>>2]|0)|0;c[543488]=0;return}function fn(b){b=b|0;var d=0,e=0,f=0;mq(c[543490]|0);d=b+4|0;e=(B(c[d>>2]|0,c[b>>2]|0)|0)+4|0;c[543492]=e;f=iq(e)|0;c[543490]=f;a[f>>0]=c[b>>2];a[(c[543490]|0)+1>>0]=(c[b>>2]|0)/256|0;a[(c[543490]|0)+2>>0]=c[d>>2];a[(c[543490]|0)+3>>0]=(c[d>>2]|0)/256|0;Hv((c[543490]|0)+4|0,c[b+12>>2]|0,B(c[d>>2]|0,c[b>>2]|0)|0)|0;c[543491]=0;return}function gn(){return (c[543489]|0)-(c[543488]|0)|0}function hn(){return (c[543492]|0)-(c[543491]|0)|0}function jn(){c[543488]=0;c[543489]=0;c[543491]=0;c[543492]=0;return}function kn(){var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=c[730441]|0;d=b+4|0;if((d|0)==1){e=0;do{f=e>>>5;g=(gp(4)|0)+f&255;a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+2>>0]=g;g=(gp(4)|0)+f&255;a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+10>>0]=g;g=(gp(4)|0)+f&255;a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+18>>0]=g;g=(gp(4)|0)+f&255;a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+26>>0]=g;g=(gp(4)|0)+f&255;a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+34>>0]=g;g=(gp(4)|0)+f&255;a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+42>>0]=g;g=(gp(4)|0)+f&255;a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+50>>0]=g;g=(gp(4)|0)+f&255;a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+58>>0]=g;g=(gp(4)|0)+f&255;a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+66>>0]=g;g=(gp(4)|0)+f&255;a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+74>>0]=g;g=(gp(4)|0)+f&255;a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+82>>0]=g;g=(gp(4)|0)+f&255;a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+90>>0]=g;g=(gp(4)|0)+f&255;a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+98>>0]=g;g=(gp(4)|0)+f&255;a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+106>>0]=g;g=(gp(4)|0)+f&255;a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+114>>0]=g;g=(gp(4)|0)+f&255;a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+122>>0]=g;e=e+1|0}while((e|0)!=128)}switch(b|0){case 0:{e=b;do{g=0;do{a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+g>>0]=((g+e|0)>>>3&7)+6;g=g+4|0}while(g>>>0<128);e=e+2|0}while(e>>>0<128);h=29;break}case 3:{e=0;do{g=2;do{f=(gp(4)|0)+10&255;a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+g>>0]=f;g=g+4|0}while(g>>>0<128);e=e+3|0}while(e>>>0<128);switch(b|0){case 5:{h=14;break}case 8:{h=19;break}case 11:{h=25;break}case 26:{h=26;break}case 31:{h=27;break}case 32:{h=28;break}default:h=29}break}case 5:{h=14;break}case 8:{h=19;break}case 11:{h=25;break}case 26:{h=26;break}case 31:{h=27;break}case 32:{h=28;break}default:h=29}if((h|0)==14){e=0;do{g=1;do{f=c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0;a[f+g>>0]=a[f+(g+1)>>0]|0;g=g+2|0}while(g>>>0<127);e=e+1|0}while((e|0)!=128);switch(b|0){case 8:{h=19;break}case 11:{h=25;break}case 26:{h=26;break}case 31:{h=27;break}case 32:{h=28;break}default:h=29}}if((h|0)==19){e=0;do{if(e&3|0){g=0;do{a[(c[(c[(c[730449]|0)+16>>2]|0)+(e<<2)>>2]|0)+g>>0]=0;g=g+1|0}while((g|0)!=128)}e=e+1|0}while((e|0)!=128);switch(b|0){case 11:{h=25;break}case 26:{h=26;break}case 31:{h=27;break}case 32:{h=28;break}default:h=29}}do if((h|0)==25)An(c[730449]|0);else if((h|0)==26){Ho();An(c[730449]|0);b=c[730466]|0;Nq(b+16|0,b);Hg(3144900);Hg(3144900);tp(c[(c[c[730467]>>2]|0)+8>>2]|0,c[730449]|0,0,0,1,1,40,10);c[768155]=6}else if((h|0)==27){Hg(92678);tp(c[(c[c[730467]>>2]|0)+8>>2]|0,c[730449]|0,0,0,1,1,40,10)}else if((h|0)==28)Hg(92692);else if((h|0)==29){if(!((d|0)==37&(c[543939]|0)==0)){if((d|0)==40){Hg(3144900);c[768155]=6;Hg(92725);Hg(3144900);break}if(!((d|0)==70&(c[481712]|0)!=0))break;c[768028]=0;c[768155]=6;Lm();c[785925]=2;break}b=c[786074]|0;if(!b){Hg(3144900);i=c[786074]|0}else i=b;if((i+3|0)>>>0>14){b=c[768157]|0;if((i|0)<20){j=b;k=(i|0)<-3?0:3}else{c[768157]=b+8;break}}else{j=c[768157]|0;k=(i|0)/4|0}b=(k|0)==1?j+2|0:j;En(c[(c[c[730467]>>2]|0)+1068>>2]|0,c[730449]|0,0,0,k<<3|2,(k|0)==3?b+-2|0:b,7,5);c[786074]=(c[786074]|0)+1;c[730441]=(c[730441]|0)+-1}while(0);k=(c[481647]|0)!=0;j=c[481646]|0;if(k&((d|0)==90&(j|0)!=0)){c[768033]=1;return}i=(d|0)==80;if(!(i&(c[534491]|0)!=0)){if(!(k|((d|0)!=60|(j|0)==0))){c[768028]=0;return}if(!i){if((d|0)!=900)return;Hg(93045);return}}else c[768033]=1;gb();return}function ln(a){a=a|0;Es(2174024,a)|0;Es(3808,a)|0;return}function mn(a){a=a|0;var b=0;if(!a)b=0;else{Es(2174280,a)|0;b=2174280}c[543634]=b;return}function nn(){var 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;a=Ia;Ia=Ia+96|0;b=a+88|0;d=a+80|0;e=a+72|0;f=a+64|0;g=a+56|0;h=a+48|0;i=a+40|0;j=a+32|0;k=a+24|0;l=a+16|0;m=a+8|0;n=a;if(c[545787]|0){Ia=a;return 0}c[543502]=0;jq(2174024,0,1704);Es(2174024,3808)|0;Es(2174280,3808)|0;c[543634]=2174280;Go();o=c[8708]|0;p=c[545788]|0;if((o|0)>0&(p|0)!=0)on(o,p);c[n>>2]=92755;hv(92745,n)|0;n=c[8720]|0;zu(n)|0;c[m>>2]=92781;it(1703776,92767,m)|0;c[l>>2]=1703776;hv(92745,l)|0;zu(n)|0;l=c[8708]|0;m=c[545788]|0;if((l|0)>0&(m|0)!=0)on(l,m);if(!0){c[k>>2]=92792;hv(92745,k)|0;zu(n)|0;xr()|0;c[j>>2]=92810;hv(92745,j)|0;zu(n)|0;Kr()|0;c[i>>2]=92828;hv(92745,i)|0;zu(n)|0;go();c[h>>2]=92843;hv(92745,h)|0;zu(n)|0;eo();c[g>>2]=92859;hv(92745,g)|0;zu(n)|0;mo();c[f>>2]=92875;hv(92745,f)|0;zu(n)|0;ir()|0;c[e>>2]=92892;hv(92745,e)|0;zu(n)|0;_n();c[d>>2]=92909;hv(92745,d)|0;zu(n)|0}fp(0);c[543974]=(c[543974]|0)+1;c[b>>2]=92929;hv(92745,b)|0;zu(n)|0;c[545787]=1;Ia=a;return 0}function on(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;e=Ia;Ia=Ia+32|0;f=e+8|0;g=e;h=e+24|0;if((b|0)<=1){Ia=e;return}i=1;j=0;a:while(1){k=d+(i<<2)|0;l=c[k>>2]|0;b:do switch(a[l>>0]|0){case 62:case 124:case 38:{m=41;break a;break}case 45:{n=l+1|0;o=(gt(n,92934,5)|0)==0;p=(gt(n,92940,6)|0)==0;q=(gt(n,94967,8)|0)==0;r=(gt(n,94853,8)|0)==0;s=(gt(n,92947,8)|0)==0;t=(gt(n,92956,8)|0)==0;u=(gt(n,94989,9)|0)==0;v=(gt(n,95074,17)|0)==0;w=(gt(n,94866,19)|0)==0;x=(gt(n,94906,12)|0)==0;y=(gt(n,94919,12)|0)==0;z=(gt(n,92965,5)|0)==0;A=(gt(n,92971,5)|0)==0;B=(gt(n,94932,15)|0)==0;C=(gt(n,92977,13)|0)==0|(gt(n,92991,16)|0)==0;D=(gt(n,93008,4)|0)==0;E=(gt(n,93013,7)|0)==0;F=(gt(n,93021,13)|0)==0;G=(gt(n,93035,9)|0)==0;H=(gt(n,93045,7)|0)==0;if(!(gt(n,93053,8)|0)){c[543976]=1;I=0}else I=H?20:G?19:F?18:E?17:D?16:v?15:C?14:B?12:A?11:z?10:y?11:x?10:w?9:v?8:u?7:t?6:s?5:r?4:q?3:p?2:o?1:j;o=(gt(n,93062,11)|0)==0;if(!(gt(n,93074,11)|0)){c[543977]=1;J=0}else J=o?29:I;if((a[n>>0]|0)==120){c[543976]=1;K=0}else K=J;o=(gt(n,94886,19)|0)==0;p=(gt(n,93086,17)|0)==0;q=(gt(n,93104,16)|0)==0;r=(gt(n,93121,11)|0)==0;s=(gt(n,93133,13)|0)==0;t=(gt(n,93147,7)|0)==0;u=(gt(n,93155,15)|0)==0;L=u?28:t?27:s?26:r?25:q?24:p?23:o?22:K;break}default:{c[h>>2]=0;c[g>>2]=h;Eu(l,93171,g)|0;do switch(j|0){case 1:{c[543936]=c[h>>2];L=0;break b;break}case 2:{c[543937]=c[h>>2];L=0;break b;break}case 3:{c[543955]=c[h>>2];L=0;break b;break}case 4:{c[543938]=c[h>>2];L=0;break b;break}case 5:{c[543947]=c[h>>2];L=0;break b;break}case 6:{c[543948]=c[h>>2];L=0;break b;break}case 7:{c[543946]=c[h>>2];L=0;break b;break}case 8:{c[543962]=c[h>>2];L=0;break b;break}case 9:{c[543941]=c[h>>2];L=0;break b;break}case 10:{c[543939]=c[h>>2];L=0;break b;break}case 11:{c[543940]=c[h>>2];L=0;break b;break}case 12:{c[543952]=c[h>>2];L=0;break b;break}case 14:{c[543964]=c[h>>2];L=0;break b;break}case 15:{c[543962]=c[h>>2];L=0;break b;break}case 16:{Es(2175916,c[k>>2]|0)|0;L=0;break b;break}case 17:{Es(2176940,c[k>>2]|0)|0;L=0;break b;break}case 18:{c[543967]=c[h>>2];L=0;break b;break}case 19:{c[543970]=0;c[543971]=0;c[543972]=4096;c[543973]=4096;o=c[k>>2]|0;c[f>>2]=2175880;c[f+4>>2]=2175884;c[f+8>>2]=2175888;c[f+12>>2]=2175892;Eu(o,93174,f)|0;L=0;break b;break}case 20:{o=c[h>>2]|0;p=(o|0)<240?o:240;c[543975]=(p|0)>1?p:1;L=0;break b;break}case 21:{c[543976]=1;L=0;break b;break}case 22:{c[543942]=c[h>>2];L=0;break b;break}case 23:{c[543944]=c[h>>2];L=0;break b;break}case 24:{c[544491]=c[h>>2];L=0;break b;break}case 25:{c[544492]=c[h>>2];L=0;break b;break}case 26:{p=c[h>>2]|0;o=(p|0)<8?p:8;c[543965]=(o|0)>0?o:0;L=0;break b;break}case 27:{c[543949]=c[h>>2];L=0;break b;break}case 28:{c[544494]=c[h>>2];L=0;break b;break}case 29:{c[543978]=c[h>>2];L=0;break b;break}default:{L=0;break b}}while(0)}}while(0);i=i+1|0;if((i|0)>=(b|0)){m=41;break}else j=L}if((m|0)==41){Ia=e;return}}function pn(a){a=a|0;var b=0,d=0;b=Ia;Ia=Ia+16|0;d=b;c[d>>2]=a;hv(92745,d)|0;zu(c[8720]|0)|0;Ia=b;return}function qn(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a=Ia;Ia=Ia+96|0;b=a+80|0;d=a+72|0;e=a+64|0;f=a+56|0;g=a+48|0;h=a+40|0;i=a+32|0;j=a+24|0;k=a+16|0;l=a+8|0;m=a;if(!((c[545787]|0)!=0&(c[543931]|0)==0)){Ia=a;return 0}c[545787]=0;c[m>>2]=93186;hv(92745,m)|0;m=c[8720]|0;zu(m)|0;c[l>>2]=93198;hv(92745,l)|0;zu(m)|0;_q(0,0);c[k>>2]=93211;hv(92745,k)|0;zu(m)|0;Hb();c[j>>2]=93227;hv(92745,j)|0;zu(m)|0;Ko();c[i>>2]=93245;hv(92745,i)|0;zu(m)|0;Hq()|0;c[h>>2]=93262;hv(92745,h)|0;zu(m)|0;jr()|0;c[g>>2]=93279;hv(92745,g)|0;zu(m)|0;c[f>>2]=93299;hv(92745,f)|0;zu(m)|0;if(!0){no();ho()}c[e>>2]=c[543502];it(1703776,93317,e)|0;c[d>>2]=1703776;hv(92745,d)|0;zu(m)|0;c[b>>2]=92929;hv(92745,b)|0;zu(m)|0;m=c[543635]|0;if(m|0)xu(m)|0;m=c[543636]|0;if(m|0)xu(m)|0;c[543635]=0;c[543636]=0;c[545787]=0;Ia=a;return 0}function rn(a){a=a|0;return}function sn(){var a=0;a=Pr()|0;if(!(c[545789]|0)){c[545789]=1;io();c[545789]=0}Rr(2174016,2174020,0);Vq();return a|0}function tn(){var a=0;mr();Pr()|0;if(!(c[545789]|0)){c[545789]=1;io();c[545789]=0}Rr(2174016,2174020,0);Vq();c[545790]=0;Gb();if(!(c[545790]|0)){rb();or();nr()}c[543655]=0;a=c[543671]|0;if(!a)return;if((a|0)<=(Kr()|0))return;c[543671]=0;ka(25)|0;return}function un(){c[545790]=1;return}function vn(){var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;b=Ia;Ia=Ia+32|0;d=b+16|0;e=b+8|0;f=b;g=b+24|0;nn()|0;gr(800,480,32,4)|0;c[543931]=1;Iv(2179052,0,4096)|0;b=0;h=0;while(1){if((Br(b)|0)!=0?(a[(Br(b)|0)>>0]|0)!=0:0){c[f>>2]=Br(b)|0;c[f+4>>2]=b;hv(93381,f)|0;i=h+1|0;if(!(i&3)){_u(10)|0;j=i}else j=i}else j=h;b=b+1|0;if((b|0)==256)break;else h=j}cv(102894)|0;cv(93394)|0;cv(93475)|0;cv(93556)|0;cv(93637)|0;cv(93718)|0;cv(93799)|0;cv(93475)|0;cv(93880)|0;cv(93475)|0;cv(93961)|0;cv(93475)|0;cv(94042)|0;_u(10)|0;if(c[543503]|0)ya(0);do{Cn(c[730432]|0,0,0,799,479,1118498);po(c[730432]|0,94123,c[545804]|0,20,20);j=0;do{h=j*24|0;b=h+48|0;f=j<<5;i=h+68|0;k=h+56|0;h=0;do{l=h*24|0;m=h+f|0;c[e>>2]=m;it(g,94172,e)|0;n=1712608+m|0;Cn(c[730432]|0,l+20|0,b,l+40|0,i,(a[n>>0]|0)==0?5591122:16777215);oo(c[730432]|0,g,c[545804]|0,l+22|0,k,1,(a[n>>0]|0)==0?11184810:0)|0;h=h+1|0}while((h|0)!=32);j=j+1|0}while((j|0)!=16);j=0;do{if(a[1712608+j>>0]|0?(a[1713632+j>>0]|0)==0:0){h=Br(j)|0;c[d>>2]=j;c[d+4>>2]=h;hv(94177,d)|0}j=j+1|0}while((j|0)!=512);Pr()|0;if(!(c[545789]|0)){c[545789]=1;io();c[545789]=0}Rr(2174016,2174020,0);Vq();or()}while(!(c[543503]|0));ya(0)}function wn(a,b){a=a|0;b=b|0;Es(1707872,c[b>>2]|0)|0;c[8708]=a;c[545788]=b;if((a|0)>1?(Ot(c[b+4>>2]|0,94212)|0)==0:0)vn();kb(a,b);wa(1,0,0);return 0}function xn(){var a=0;a=kq(768)|0;Iv(a|0,0,768)|0;c[543502]=(c[543502]|0)+1;return a|0}function yn(a){a=a|0;if(!a)return;mq(a);c[543502]=(c[543502]|0)+-1;return}function zn(a,b,d){a=a|0;b=b|0;d=d|0;var 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;e=kq((d<<2)+48|0)|0;c[e>>2]=a;c[e+4>>2]=b;c[e+8>>2]=d;c[e+40>>2]=0;c[e+32>>2]=0;c[e+24>>2]=0;c[e+28>>2]=a;c[e+36>>2]=b;c[e+44>>2]=d;f=B(b,a)|0;g=e+12|0;c[g>>2]=kq(B(f,d)|0)|0;h=e+16|0;c[h>>2]=e+48;if((d|0)<=0){i=c[543502]|0;j=i+1|0;c[543502]=j;return e|0}k=(b<<2)+52|0;if((b|0)<=0){l=0;do{m=kq(k)|0;c[m>>2]=a;c[m+4>>2]=b;c[m+36>>2]=0;c[m+28>>2]=0;c[m+32>>2]=a;c[m+40>>2]=b;c[m+8>>2]=8;c[m+20>>2]=0;c[m+12>>2]=(c[g>>2]|0)+(B(l,f)|0);c[m+16>>2]=m+52;c[(c[h>>2]|0)+(l<<2)>>2]=m;l=l+1|0}while((l|0)!=(d|0));i=c[543502]|0;j=i+1|0;c[543502]=j;return e|0}l=(b|0)==1;m=0;do{n=kq(k)|0;c[n>>2]=a;o=n+4|0;c[o>>2]=b;c[n+36>>2]=0;c[n+28>>2]=0;c[n+32>>2]=a;c[n+40>>2]=b;p=n+8|0;c[p>>2]=8;c[n+20>>2]=0;q=(c[g>>2]|0)+(B(m,f)|0)|0;r=n+12|0;c[r>>2]=q;s=n+52|0;t=n+16|0;c[t>>2]=s;c[s>>2]=q;if(!l){q=1;do{c[(c[t>>2]|0)+(q<<2)>>2]=(c[r>>2]|0)+(B(q,a)|0);q=q+1|0}while((q|0)!=(b|0))}if(2921660!=(n|0)?(jq(c[c[t>>2]>>2]|0,0,a),(c[o>>2]|0)>1):0){q=1;do{jq(c[(c[t>>2]|0)+(q<<2)>>2]|0,0,B(c[p>>2]>>3,c[n>>2]|0)|0);q=q+1|0}while((q|0)<(c[o>>2]|0))}c[(c[h>>2]|0)+(m<<2)>>2]=n;m=m+1|0}while((m|0)!=(d|0));i=c[543502]|0;j=i+1|0;c[543502]=j;return e|0}function An(a){a=a|0;var b=0,d=0,e=0,f=0;if(2921660==(a|0))return;b=a+4|0;if((c[b>>2]|0)<=0)return;d=a+16|0;e=a+8|0;f=0;do{jq(c[(c[d>>2]|0)+(f<<2)>>2]|0,0,B(c[e>>2]>>3,c[a>>2]|0)|0);f=f+1|0}while((f|0)<(c[b>>2]|0));return}function Bn(a){a=a|0;var b=0,d=0,e=0;if(!a)return 0;b=c[a+12>>2]|0;if(b|0)mq(b);b=a+8|0;if((c[b>>2]|0)>0){d=a+16|0;e=0;do{mq(c[(c[d>>2]|0)+(e<<2)>>2]|0);e=e+1|0}while((e|0)<(c[b>>2]|0))}mq(a);c[543502]=(c[543502]|0)+-1;return 0}function Cn(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var 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;i=(d|0)>(f|0);j=i?d:f;k=i?f:d;d=(e|0)>(g|0);f=d?e:g;i=d?g:e;e=b+8|0;g=c[e>>2]|0;if((g|0)==32){d=b+36|0;l=b+40|0;m=b+28|0;n=b+32|0;o=h&255;p=b+16|0;q=i;while(1){a:do if((2921660!=(b|0)?(c[d>>2]|0)<=(q|0):0)?(c[l>>2]|0)>(q|0):0){r=c[m>>2]|0;s=(k|0)<(r|0)?r:k;r=c[n>>2]|0;t=(j|0)<(r|0)?j:r+-1|0;switch(c[e>>2]|0){case 8:{if((s|0)>(t|0))break a;r=s;while(1){a[(c[(c[p>>2]|0)+(q<<2)>>2]|0)+r>>0]=o;if((r|0)<(t|0))r=r+1|0;else break}break}case 32:{r=1-s+t|0;if((r|0)<=0)break a;u=(c[(c[p>>2]|0)+(q<<2)>>2]|0)+(s<<2)|0;v=r;while(1){c[u>>2]=h;if((v|0)>1){u=u+4|0;v=v+-1|0}else break}break}default:break a}}while(0);if((q|0)<(f|0))q=q+1|0;else break}w=c[e>>2]|0}else w=g;if((w|0)!=8)return;w=c[b+28>>2]|0;g=(k|0)<(w|0)?w:k;k=c[b+32>>2]|0;w=c[b+36>>2]|0;e=c[b+40>>2]|0;q=(f|0)<(e|0)?f+1|0:e;e=((j|0)<(k|0)?j+1|0:k)-g|0;if((e|0)<=0)return;k=(i|0)<(w|0)?w:i;if((k|0)>=(q|0))return;i=b+16|0;b=k;do{jq((c[(c[i>>2]|0)+(b<<2)>>2]|0)+g|0,h,e);b=b+1|0}while((b|0)<(q|0));return}function Dn(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[a+28>>2]=(b|0)>0?b:0;b=c[a>>2]|0;c[a+32>>2]=(b|0)>(e|0)?e:b;c[a+36>>2]=(d|0)>0?d:0;d=c[a+4>>2]|0;c[a+40>>2]=(d|0)>(f|0)?f:d;return}function En(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(!((a|0)!=0&(b|0)!=0))return;j=c[b+8>>2]|0;if((j|0)!=(c[a+8>>2]|0))return;k=c[a>>2]|0;if((k|0)<=(d|0))return;l=c[a+4>>2]|0;if((l|0)<=(e|0))return;m=c[b+32>>2]|0;if((m|0)<=(f|0))return;n=c[b+40>>2]|0;if((n|0)<=(g|0))return;o=(d|0)<0;p=o?d:0;q=p+h|0;h=f-p|0;p=o?0:d;d=(e|0)<0;o=d?e:0;f=o+i|0;i=g-o|0;o=d?0:e;e=c[b+28>>2]|0;d=(h|0)<(e|0);g=d?h-e|0:0;r=g+((q+p|0)>(k|0)?k-p|0:q)|0;q=d?e:h;h=p-g|0;g=c[b+36>>2]|0;p=(i|0)<(g|0);e=p?i-g|0:0;d=e+((f+o|0)>(l|0)?l-o|0:f)|0;f=p?g:i;i=o-e|0;e=(r+q|0)>(m|0)?m-q|0:r;r=(d+f|0)>(n|0)?n-f|0:d;if((e|0)<1|(r|0)<1)return;if(2921660==(b|0)){Jr(a,b,h,i,q,f,e,r,1);return}switch(j|0){case 8:{up(a,b,h,i,q,f,e,r);return}case 32:{vp(a,b,h,i,q,f,e,r);return}default:return}}function Fn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if((a|0)<1|(b|0)<1){e=0;return e|0}f=kq((b<<2)+52|0)|0;c[f>>2]=a;g=f+4|0;c[g>>2]=b;c[f+36>>2]=0;c[f+28>>2]=0;c[f+32>>2]=a;c[f+40>>2]=b;h=f+8|0;c[h>>2]=d;c[f+20>>2]=0;i=B(d>>3,a)|0;a=kq(B(i,b)|0)|0;d=f+12|0;c[d>>2]=a;j=f+52|0;k=f+16|0;c[k>>2]=j;c[j>>2]=a;if((b|0)!=1){a=1;do{c[(c[k>>2]|0)+(a<<2)>>2]=(c[d>>2]|0)+(B(i,a)|0);a=a+1|0}while((a|0)!=(b|0))}if(2921660!=(f|0)?(c[g>>2]|0)>0:0){b=0;do{jq(c[(c[k>>2]|0)+(b<<2)>>2]|0,0,B(c[h>>2]>>3,c[f>>2]|0)|0);b=b+1|0}while((b|0)<(c[g>>2]|0))}c[543502]=(c[543502]|0)+1;e=f;return e|0}function Gn(a){a=a|0;var b=0;if(!a)return 0;b=c[a+12>>2]|0;if(b|0)mq(b);mq(a);c[543502]=(c[543502]|0)+-1;return 0}function Hn(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;if((c[b+28>>2]|0)>(d|0))return;if((c[b+36>>2]|0)>(e|0))return;if((c[b+32>>2]|0)<=(d|0))return;if((c[b+40>>2]|0)<=(e|0))return;switch(c[b+8>>2]|0){case 8:{a[(c[(c[b+16>>2]|0)+(e<<2)>>2]|0)+d>>0]=f;return}case 32:{c[(c[(c[b+16>>2]|0)+(e<<2)>>2]|0)+(d<<2)>>2]=f;return}default:return}}function In(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;j=c[d>>2]|0;do if((((j|0)<(c[a>>2]|0)?(k=c[e>>2]|0,l=a+4|0,(k|0)<(c[l>>2]|0)):0)?(m=b+32|0,(c[f>>2]|0)<(c[m>>2]|0)):0)?(n=b+40|0,(c[g>>2]|0)<(c[n>>2]|0)):0){if((j|0)<0){c[h>>2]=(c[h>>2]|0)+j;c[f>>2]=(c[f>>2]|0)-(c[d>>2]|0);c[d>>2]=0;o=c[e>>2]|0;p=0}else{o=k;p=j}if((o|0)<0){c[i>>2]=(c[i>>2]|0)+o;c[g>>2]=(c[g>>2]|0)-(c[e>>2]|0);c[e>>2]=0;q=c[d>>2]|0;r=0}else{q=p;r=o}k=c[a>>2]|0;if(((c[h>>2]|0)+q|0)>(k|0)){c[h>>2]=k-q;s=c[e>>2]|0}else s=r;k=c[l>>2]|0;if(((c[i>>2]|0)+s|0)>(k|0))c[i>>2]=k-s;k=c[f>>2]|0;l=b+28|0;t=c[l>>2]|0;if((k|0)<(t|0)){u=k-t|0;c[f>>2]=u;c[h>>2]=(c[h>>2]|0)+u;c[d>>2]=(c[d>>2]|0)-(c[f>>2]|0);u=c[l>>2]|0;c[f>>2]=u;v=u}else v=k;k=c[g>>2]|0;u=b+36|0;l=c[u>>2]|0;if((k|0)<(l|0)){t=k-l|0;c[g>>2]=t;c[i>>2]=(c[i>>2]|0)+t;c[e>>2]=(c[e>>2]|0)-(c[g>>2]|0);t=c[u>>2]|0;c[g>>2]=t;w=c[f>>2]|0;x=t}else{w=v;x=k}k=c[m>>2]|0;if(((c[h>>2]|0)+w|0)>(k|0)){c[h>>2]=k-w;y=c[g>>2]|0}else y=x;k=c[n>>2]|0;if(((c[i>>2]|0)+y|0)>(k|0)){z=k-y|0;break}else return}else z=0;while(0);c[i>>2]=z;return}function Jn(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;i=(b|0)==0;a:do if((!(i|2921660==(b|0))?(j=(g|0)<(e|0),k=j?e:g,l=j?g:e,(c[b+28>>2]|0)<=(d|0)):0)?(c[b+32>>2]|0)>(d|0):0){j=c[b+36>>2]|0;m=(l|0)<(j|0)?j:l;l=c[b+40>>2]|0;j=(k|0)<(l|0)?k:l+-1|0;switch(c[b+8>>2]|0){case 8:{if((m|0)>(j|0))break a;l=h&255;k=b+16|0;n=m;while(1){a[(c[(c[k>>2]|0)+(n<<2)>>2]|0)+d>>0]=l;if((n|0)<(j|0))n=n+1|0;else break}break}case 32:{if((m|0)>(j|0))break a;n=c[b+16>>2]|0;l=m;while(1){c[(c[n+(l<<2)>>2]|0)+(d<<2)>>2]=h;if((l|0)<(j|0))l=l+1|0;else break}break}default:break a}}while(0);b:do if((!(i|2921660==(b|0))?(l=(g|0)<(e|0),j=l?e:g,n=l?g:e,(c[b+28>>2]|0)<=(f|0)):0)?(c[b+32>>2]|0)>(f|0):0){l=c[b+36>>2]|0;m=(n|0)<(l|0)?l:n;n=c[b+40>>2]|0;l=(j|0)<(n|0)?j:n+-1|0;switch(c[b+8>>2]|0){case 8:{if((m|0)>(l|0))break b;n=h&255;j=b+16|0;k=m;while(1){a[(c[(c[j>>2]|0)+(k<<2)>>2]|0)+f>>0]=n;if((k|0)<(l|0))k=k+1|0;else break}break}case 32:{if((m|0)>(l|0))break b;k=c[b+16>>2]|0;n=m;while(1){c[(c[k+(n<<2)>>2]|0)+(f<<2)>>2]=h;if((n|0)<(l|0))n=n+1|0;else break}break}default:break b}}while(0);c:do if((!(i|2921660==(b|0))?(n=(f|0)<(d|0),l=n?d:f,k=n?f:d,(c[b+36>>2]|0)<=(e|0)):0)?(c[b+40>>2]|0)>(e|0):0){n=c[b+28>>2]|0;m=(k|0)<(n|0)?n:k;k=c[b+32>>2]|0;n=(l|0)<(k|0)?l:k+-1|0;switch(c[b+8>>2]|0){case 8:{if((m|0)>(n|0))break c;k=h&255;l=b+16|0;j=m;while(1){a[(c[(c[l>>2]|0)+(e<<2)>>2]|0)+j>>0]=k;if((j|0)<(n|0))j=j+1|0;else break}break}case 32:{j=1-m+n|0;if((j|0)<=0)break c;k=(c[(c[b+16>>2]|0)+(e<<2)>>2]|0)+(m<<2)|0;l=j;while(1){c[k>>2]=h;if((l|0)>1){k=k+4|0;l=l+-1|0}else break}break}default:break c}}while(0);if(i|2921660==(b|0))return;i=(f|0)<(d|0);e=i?d:f;l=i?f:d;if((c[b+36>>2]|0)>(g|0))return;if((c[b+40>>2]|0)<=(g|0))return;d=c[b+28>>2]|0;f=(l|0)<(d|0)?d:l;l=c[b+32>>2]|0;d=(e|0)<(l|0)?e:l+-1|0;switch(c[b+8>>2]|0){case 8:{if((f|0)>(d|0))return;l=h&255;e=b+16|0;i=f;while(1){a[(c[(c[e>>2]|0)+(g<<2)>>2]|0)+i>>0]=l;if((i|0)<(d|0))i=i+1|0;else break}return}case 32:{i=1-f+d|0;if((i|0)<=0)return;d=(c[(c[b+16>>2]|0)+(g<<2)>>2]|0)+(f<<2)|0;f=i;while(1){c[d>>2]=h;if((f|0)>1){d=d+4|0;f=f+-1|0}else break}return}default:return}}function Kn(a){a=a|0;c[a+36>>2]=0;c[a+28>>2]=0;c[a+32>>2]=c[a>>2];c[a+40>>2]=c[a+4>>2];return}function Ln(a){a=a|0;c[481376]=c[a+28>>2];c[481380]=c[a+32>>2];c[481388]=c[a+36>>2];c[481384]=c[a+40>>2];return}function Mn(a){a=a|0;c[a+28>>2]=c[481376];c[a+32>>2]=c[481380];c[a+36>>2]=c[481388];c[a+40>>2]=c[481384];return}function Nn(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0;if((b|0)==0|(d|0)==0|(g|0)==0|(h|0)==0)return;j=c[b>>2]|0;if((j|0)==(g|0)?(c[b+4>>2]|0)==(h|0):0)if(!(i&1)){tp(b,d,0,0,e,f,g,h);return}else{En(b,d,0,0,e,f,g,h);return}k=c[d+8>>2]|0;if((k|0)!=(c[b+8>>2]|0))return;l=(j<<16|0)/(g|0)|0;m=c[b+4>>2]|0;n=(m<<16|0)/(h|0)|0;o=c[d+36>>2]|0;p=(o|0)>(f|0);q=o-f|0;r=B(q,n)|0;s=h-(p?q:0)|0;q=p?o:f;f=(l|0)/2|0;o=(l|0)<0?f+j|0:((n|0)<0?m:0)+((n|0)/2|0)+(p?r:0)|0;r=c[d+28>>2]|0;p=(r|0)>(e|0);m=r-e|0;j=B(m,l)|0;h=(p?j:0)+f|0;f=g-(p?m:0)|0;m=p?r:e;e=(c[d+32>>2]|0)-m|0;r=(f|0)<(e|0)?f:e;e=(c[d+40>>2]|0)-q|0;f=(s|0)<(e|0)?s:e;switch(k|0){case 32:{k=f+q|0;if((f|0)<=0)return;e=c[b+16>>2]|0;s=c[d+16>>2]|0;p=(r|0)>0;if(!(i&1)){g=o;j=q;while(1){t=c[e+(g>>16<<2)>>2]|0;if(p){u=(c[s+(j<<2)>>2]|0)+(m<<2)|0;v=h;w=0;while(1){c[u>>2]=c[t+(v>>16<<2)>>2];w=w+1|0;if((w|0)>=(r|0))break;else{u=u+4|0;v=v+l|0}}}j=j+1|0;if((j|0)>=(k|0))break;else g=g+n|0}return}g=o;j=q;while(1){v=c[e+(g>>16<<2)>>2]|0;a:do if(p){u=(c[s+(j<<2)>>2]|0)+(m<<2)|0;w=h;t=0;while(1){x=c[v+(w>>16<<2)>>2]|0;y=c[u>>2]|0;z=x>>>24;switch((z&255)<<24>>24){case 0:{A=y&16777215;break}case -1:{A=x&16777215;break}default:{C=z^255;A=((((B(y>>>16&255,C)|0)+(B(x>>>16&255,z)|0)|0)>>>0)/255|0)<<16|((((B(y&255,C)|0)+(B(x&255,z)|0)|0)>>>0)/255|0)|((((B(y>>>8&255,C)|0)+(B(x>>>8&255,z)|0)|0)>>>0)/255|0)<<8}}c[u>>2]=A|y&-16777216;t=t+1|0;if((t|0)>=(r|0))break a;else{u=u+4|0;w=w+l|0}}}while(0);j=j+1|0;if((j|0)>=(k|0))break;else g=g+n|0}return}case 8:{g=f+q|0;if((f|0)<=0)return;f=b+16|0;b=d+16|0;d=(r|0)>0;if(!(i&1)){i=o;k=q;while(1){j=c[(c[f>>2]|0)+(i>>16<<2)>>2]|0;if(d){A=(c[(c[b>>2]|0)+(k<<2)>>2]|0)+m|0;s=h;p=0;while(1){a[A>>0]=a[j+(s>>16)>>0]|0;p=p+1|0;if((p|0)>=(r|0))break;else{A=A+1|0;s=s+l|0}}}k=k+1|0;if((k|0)>=(g|0))break;else i=i+n|0}return}if(!d)return;d=o;o=q;while(1){q=c[(c[f>>2]|0)+(d>>16<<2)>>2]|0;i=(c[(c[b>>2]|0)+(o<<2)>>2]|0)+m|0;k=h;s=0;while(1){A=a[q+(k>>16)>>0]|0;if(A<<24>>24)a[i>>0]=A;s=s+1|0;if((s|0)>=(r|0))break;else{i=i+1|0;k=k+l|0}}o=o+1|0;if((o|0)>=(g|0))break;else d=d+n|0}return}default:return}}function On(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;switch(c|0){case 0:{d=a&16777215;return d|0}case 255:{d=b&16777215;return d|0}default:{e=255-c|0;d=((B(b&255,c)|0)+(B(a&255,e)|0)|0)/255|0|((((B(b>>>8&255,c)|0)+(B(a>>>8&255,e)|0)|0)/255|0)<<8|(((B(b>>>16&255,c)|0)+(B(a>>>16&255,e)|0)|0)/255|0)<<16);return d|0}}return 0}function Pn(a,b,e){a=a|0;b=b|0;e=e|0;var f=0;a:do if(((((a|0)!=0?(c[a+28>>2]|0)<=(b|0):0)?(c[a+36>>2]|0)<=(e|0):0)?(c[a+32>>2]|0)>(b|0):0)?(c[a+40>>2]|0)>(e|0):0)switch(c[a+8>>2]|0){case 8:{f=d[(c[(c[a+16>>2]|0)+(e<<2)>>2]|0)+b>>0]|0;break a;break}case 32:{f=c[(c[(c[a+16>>2]|0)+(e<<2)>>2]|0)+(b<<2)>>2]|0;break a;break}default:{f=0;break a}}else f=0;while(0);return f|0}function Qn(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;a:do if((f|0)!=(d|0)){i=b+28|0;j=b+36|0;k=b+32|0;l=b+40|0;m=d;n=f;o=e;p=g;while(1){if((p|0)==(o|0)){q=14;break}r=c[i>>2]|0;s=(r|0)>(m|0)&1;t=c[j>>2]|0;u=(t|0)>(o|0)?s|2:s;s=c[k>>2]|0;v=(s|0)>(m|0)?u:u|4;u=c[l>>2]|0;w=(u|0)>(o|0)?v:v|8;v=(r|0)>(n|0)&1;x=(t|0)>(p|0)?v|2:v;v=(s|0)>(n|0)?x:x|4;x=(u|0)>(p|0)?v:v|8;if(!(w|x)){q=25;break}v=(w&1|0)!=0;if(!((x&1|0)==0|v^1)){q=51;break}y=(w&2|0)!=0;if(!((x&2|0)==0|y^1)){q=51;break}z=(w&4|0)!=0;if(!((x&4|0)==0|z^1)){q=51;break}A=(w&8|0)!=0;if(!((x&8|0)==0|A^1)){q=51;break}if(!v)if(z){z=s+-1|0;v=(m-z<<16|0)/(m-n|0)|0;x=65536-v|0;w=(B(x,m)|0)+(B(v,n)|0)>>16;C=(B(x,o)|0)+(B(v,p)|0)>>16;D=(w|0)<(s|0)?w:z;E=C}else{D=m;E=o}else{C=(r-m<<16|0)/(n-m|0)|0;z=65536-C|0;w=(B(z,m)|0)+(B(C,n)|0)>>16;s=(B(z,o)|0)+(B(C,p)|0)>>16;D=(w|0)<(r|0)?r:w;E=s}if(!y)if(A){if((E|0)==(p|0)){q=51;break}A=u+-1|0;y=(E-A<<16|0)/(E-p|0)|0;s=65536-y|0;w=(B(s,D)|0)+(B(y,n)|0)>>16;C=(B(s,E)|0)+(B(y,p)|0)>>16;F=w;G=(C|0)<(u|0)?C:A}else{F=D;G=E}else{if((E|0)==(p|0)){q=51;break}A=(t-E<<16|0)/(p-E|0)|0;C=65536-A|0;u=(B(C,D)|0)+(B(A,n)|0)>>16;w=(B(C,E)|0)+(B(A,p)|0)>>16;F=u;G=(w|0)<(t|0)?t:w}if((F|0)==(n|0)){H=n;I=p;J=G;break a}else{w=p;t=n;n=F;p=G;o=w;m=t}}if((q|0)==14){if((b|0)==0|2921660==(b|0))return;t=(n|0)<(m|0);w=t?m:n;u=t?n:m;if((c[j>>2]|0)>(p|0))return;if((c[l>>2]|0)<=(p|0))return;t=c[i>>2]|0;A=(u|0)<(t|0)?t:u;u=c[k>>2]|0;t=(w|0)<(u|0)?w:u+-1|0;switch(c[b+8>>2]|0){case 8:{if((A|0)>(t|0))return;u=h&255;w=b+16|0;C=A;while(1){a[(c[(c[w>>2]|0)+(p<<2)>>2]|0)+C>>0]=u;if((C|0)<(t|0))C=C+1|0;else break}return}case 32:{C=1-A+t|0;if((C|0)<=0)return;u=(c[(c[b+16>>2]|0)+(p<<2)>>2]|0)+(A<<2)|0;w=C;while(1){c[u>>2]=h;if((w|0)>1){u=u+4|0;w=w+-1|0}else break}return}default:return}}else if((q|0)==25){w=n-m|0;u=p-o|0;A=(w|0)<0?0-w|0:w;t=(u|0)<0?0-u|0:u;C=(A|0)>(t|0)?A:t;t=(C|0)==0?1:C;C=(w<<16|0)/(t|0)|0;w=(u<<16|0)/(t|0)|0;if((t|0)<=-1)return;u=b+8|0;A=h&255;y=b+16|0;s=r;z=t;t=m<<16|32768;v=o<<16|32768;while(1){x=t>>16;K=v>>16;b:do if((((s|0)<=(x|0)?(c[j>>2]|0)<=(K|0):0)?(c[k>>2]|0)>(x|0):0)?(c[l>>2]|0)>(K|0):0)switch(c[u>>2]|0){case 8:{a[(c[(c[y>>2]|0)+(K<<2)>>2]|0)+x>>0]=A;break b;break}case 32:{c[(c[(c[y>>2]|0)+(K<<2)>>2]|0)+(x<<2)>>2]=h;break b;break}default:break b}while(0);if((z|0)<=0)break;s=c[i>>2]|0;z=z+-1|0;t=t+C|0;v=v+w|0}return}else if((q|0)==51)return}else{H=f;I=e;J=g}while(0);if((b|0)==0|2921660==(b|0))return;g=(J|0)<(I|0);e=g?I:J;f=g?J:I;if((c[b+28>>2]|0)>(H|0))return;if((c[b+32>>2]|0)<=(H|0))return;I=c[b+36>>2]|0;J=(f|0)<(I|0)?I:f;f=c[b+40>>2]|0;I=(e|0)<(f|0)?e:f+-1|0;switch(c[b+8>>2]|0){case 8:{if((J|0)>(I|0))return;f=h&255;e=b+16|0;g=J;while(1){a[(c[(c[e>>2]|0)+(g<<2)>>2]|0)+H>>0]=f;if((g|0)<(I|0))g=g+1|0;else break}return}case 32:{if((J|0)>(I|0))return;g=c[b+16>>2]|0;b=J;while(1){c[(c[g+(b<<2)>>2]|0)+(H<<2)>>2]=h;if((b|0)<(I|0))b=b+1|0;else break}return}default:return}}function Rn(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;if((b|0)==0|(d|0)==0|2921660==(d|0))return;m=c[b>>2]|0;if((((m|0)>(e|0)?(n=c[b+4>>2]|0,(n|0)>(f|0)):0)?(o=c[d+32>>2]|0,(o|0)>(g|0)):0)?(p=c[d+40>>2]|0,(p|0)>(h|0)):0){q=(e|0)<0;r=q?0:e;s=q?e:0;q=g-s|0;t=s+i|0;s=(f|0)<0;u=s?0:f;v=s?f:0;s=h-v|0;w=v+j|0;j=c[d+28>>2]|0;v=(q|0)<(j|0);x=v?q-j|0:0;y=v?j:q;q=x+((t+r|0)>(m|0)?m-r|0:t)|0;t=c[d+36>>2]|0;j=(s|0)<(t|0);v=j?s-t|0:0;z=j?t:s;s=v+((w+u|0)>(n|0)?n-u|0:w)|0;A=y;B=z;C=(s+z|0)>(p|0)?p-z|0:s;D=r-x|0;E=u-v|0;F=(q+y|0)>(o|0)?o-y|0:q}else{A=g;B=h;C=0;D=e;E=f;F=i}i=(l&1|0)!=0;if(i){l=m-D|0;f=l-F|0;if((((f|0)<(m|0)?(e=c[b+4>>2]|0,(E|0)<(e|0)):0)?(h=c[d+32>>2]|0,(A|0)<(h|0)):0)?(g=c[d+40>>2]|0,(B|0)<(g|0)):0){q=(f|0)<0;y=q?0:f;o=A-(q?f:0)|0;v=(E|0)<0;u=v?0:E;x=v?E:0;v=B-x|0;r=C+x|0;x=c[d+28>>2]|0;s=(o|0)<(x|0);z=s?o-x|0:0;p=s?x:o;o=z+((D|0)<0?m-y|0:q?l:F)|0;l=c[d+36>>2]|0;q=(v|0)<(l|0);m=q?v-l|0:0;x=q?l:v;v=m+((r+u|0)>(e|0)?e-u|0:r)|0;G=p;H=x;I=(v+x|0)>(g|0)?g-x|0:v;J=y-z|0;K=u-m|0;L=(o+p|0)>(h|0)?h-p|0:o}else{G=A;H=B;I=0;J=f;K=E;L=F}}else{G=A;H=B;I=C;J=D;K=E;L=F}if((L|0)<0)return;F=(I|0)>0;if((c[d+8>>2]|0)==8){if(!F)return;E=b+16|0;D=d+16|0;C=L+-1|0;B=(L|0)==0;A=k&255;if(i){f=0;do{if(!B){o=(c[(c[D>>2]|0)+(f+H<<2)>>2]|0)+G+C|0;p=(c[(c[E>>2]|0)+(f+K<<2)>>2]|0)+J|0;h=L;while(1){if(a[p>>0]|0)a[o>>0]=A;h=h+-1|0;if(!h)break;else{o=o+-1|0;p=p+1|0}}}f=f+1|0}while((f|0)!=(I|0));return}if(B)return;B=0;do{f=(c[(c[D>>2]|0)+(B+H<<2)>>2]|0)+G|0;C=(c[(c[E>>2]|0)+(B+K<<2)>>2]|0)+J|0;p=L;while(1){if(a[C>>0]|0)a[f>>0]=A;p=p+-1|0;if(!p)break;else{f=f+1|0;C=C+1|0}}B=B+1|0}while((B|0)!=(I|0));return}else{if(!F)return;F=b+16|0;b=d+16|0;d=(L<<2)+-4|0;B=(L|0)==0;if(i){i=0;do{if(!B){A=(c[(c[b>>2]|0)+(i+H<<2)>>2]|0)+(G<<2)+(d<<2)|0;E=(c[(c[F>>2]|0)+(i+K<<2)>>2]|0)+J|0;D=L;while(1){if(a[E>>0]|0)c[A>>2]=k;D=D+-1|0;if(!D)break;else{A=A+-4|0;E=E+1|0}}}i=i+1|0}while((i|0)!=(I|0));return}if(B)return;B=c[F>>2]|0;F=c[b>>2]|0;b=0;do{i=(c[F+(b+H<<2)>>2]|0)+(G<<2)|0;d=(c[B+(b+K<<2)>>2]|0)+J|0;E=L;while(1){if(a[d>>0]|0)c[i>>2]=k;E=E+-1|0;if(!E)break;else{i=i+4|0;d=d+1|0}}b=b+1|0}while((b|0)!=(I|0));return}}function Sn(b,e,f){b=b|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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;g=c[b>>2]|0;if((g|0)!=(c[e>>2]|0))return;h=b+4|0;i=c[h>>2]|0;if((i|0)!=(c[e+4>>2]|0))return;j=b+8|0;k=c[j>>2]|0;l=e+8|0;m=c[l>>2]|0;if((k|0)==(m|0)){tp(b,e,0,0,0,0,g,i);return}if((k|0)==8&(m|0)==32){if((i|0)<=0)return;m=b+16|0;n=e+16|0;o=i;p=g;q=0;while(1){if((p|0)>0){r=c[(c[m>>2]|0)+(q<<2)>>2]|0;s=c[(c[n>>2]|0)+(q<<2)>>2]|0;t=0;do{u=a[r+t>>0]|0;v=u&255;c[s+(t<<2)>>2]=(d[f+(v*3|0)>>0]|0)<<16|(u<<24>>24==0?0:-16777216)|(d[f+(v*3|0)+1>>0]|0)<<8|(d[f+(v*3|0)+2>>0]|0);t=t+1|0;w=c[b>>2]|0}while((t|0)<(w|0));x=c[h>>2]|0;y=w}else{x=o;y=p}q=q+1|0;if((q|0)>=(x|0))break;else{o=x;p=y}}z=c[j>>2]|0;A=x;C=y}else{z=k;A=i;C=g}if((z|0)!=32)return;if(!((c[l>>2]|0)==8&(A|0)>0))return;A=b+28|0;z=b+36|0;g=b+32|0;i=e+28|0;k=b+40|0;y=e+36|0;x=e+32|0;p=b+16|0;o=e+40|0;q=e+16|0;e=C;C=0;while(1){if((e|0)>0){w=0;while(1){a:do if((((c[A>>2]|0)<=(w|0)?(c[z>>2]|0)<=(C|0):0)?(c[g>>2]|0)>(w|0):0)?(c[k>>2]|0)>(C|0):0)switch(c[j>>2]|0){case 8:{D=d[(c[(c[p>>2]|0)+(C<<2)>>2]|0)+w>>0]|0;break a;break}case 32:{D=c[(c[(c[p>>2]|0)+(C<<2)>>2]|0)+(w<<2)>>2]|0;break a;break}default:{D=0;break a}}else D=0;while(0);n=D>>>16&255;m=D>>>8&255;t=D&255;s=65536;r=-1;v=0;while(1){u=n-(d[f+(v*3|0)>>0]|0)|0;E=B(u,u)|0;u=m-(d[f+(v*3|0)+1>>0]|0)|0;F=(B(u,u)|0)+E|0;E=t-(d[f+(v*3|0)+2>>0]|0)|0;u=F+(B(E,E)|0)|0;E=u>>>0<27;F=(r|0)==-1|(u|0)<(s|0);r=E|F?v:r;v=E?257:v+1|0;if((v|0)>=256)break;else s=E?s:F?u:s}b:do if((((c[i>>2]|0)<=(w|0)?(c[y>>2]|0)<=(C|0):0)?(c[x>>2]|0)>(w|0):0)?(c[o>>2]|0)>(C|0):0)switch(c[l>>2]|0){case 8:{a[(c[(c[q>>2]|0)+(C<<2)>>2]|0)+w>>0]=r;break b;break}case 32:{c[(c[(c[q>>2]|0)+(C<<2)>>2]|0)+(w<<2)>>2]=r;break b;break}default:break b}while(0);w=w+1|0;r=c[b>>2]|0;if((w|0)>=(r|0)){G=r;break}}}else G=e;C=C+1|0;if((C|0)>=(c[h>>2]|0))break;else e=G}return}function Tn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=a+20|0;if((c[d>>2]|0)>=(b|0))return;e=b<<2;c[a>>2]=lq(c[a>>2]|0,e)|0;f=a+4|0;c[f>>2]=lq(c[f>>2]|0,e)|0;g=a+8|0;c[g>>2]=lq(c[g>>2]|0,e)|0;h=a+12|0;i=lq(c[h>>2]|0,e)|0;c[h>>2]=i;e=c[d>>2]|0;if((e|0)<(b|0)?(c[(c[f>>2]|0)+(e<<2)>>2]=0,c[(c[g>>2]|0)+(e<<2)>>2]=e,c[i+(e<<2)>>2]=e,c[(c[a>>2]|0)+(e<<2)>>2]=0,i=e+1|0,(i|0)!=(b|0)):0){e=i;do{i=c[h>>2]|0;c[(c[f>>2]|0)+(e<<2)>>2]=0;c[(c[g>>2]|0)+(e<<2)>>2]=e;c[i+(e<<2)>>2]=e;c[(c[a>>2]|0)+(e<<2)>>2]=0;e=e+1|0}while((e|0)!=(b|0))}c[d>>2]=b;return}function Un(b){b=b|0;var d=0;d=iq(64)|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;c[d+24>>2]=0;Tn(d,b);a[d+32>>0]=0;c[543502]=(c[543502]|0)+1;return d|0}function Vn(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=iq(64)|0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;c[e+16>>2]=0;c[e+20>>2]=0;c[e+24>>2]=0;Tn(e,b);a[e+32>>0]=0;c[543502]=(c[543502]|0)+1;f=kq(B(d,b)|0)|0;c[c[e>>2]>>2]=f;if((b|0)<=1){g=e+24|0;c[g>>2]=1;h=e+28|0;c[h>>2]=d;return e|0}f=1;do{i=c[e>>2]|0;c[i+(f<<2)>>2]=(c[i>>2]|0)+(B(f,d)|0);f=f+1|0}while((f|0)!=(b|0));g=e+24|0;c[g>>2]=1;h=e+28|0;c[h>>2]=d;return e|0}function Wn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=a+4|0;a:do if((c[a+24>>2]|0)==0?(e=c[(c[d>>2]|0)+(b<<2)>>2]|0,(e|0)<=99):0)do switch(e|0){case 2:{mq(c[(c[a>>2]|0)+(b<<2)>>2]|0);break a;break}case 3:{Xn(c[(c[a>>2]|0)+(b<<2)>>2]|0);break a;break}case 4:{Gn(c[(c[a>>2]|0)+(b<<2)>>2]|0)|0;break a;break}case 5:{yn(c[(c[a>>2]|0)+(b<<2)>>2]|0);break a;break}case 6:{Yo(c[(c[a>>2]|0)+(b<<2)>>2]|0);break a;break}case 7:{$o(c[(c[a>>2]|0)+(b<<2)>>2]|0);break a;break}case 8:{lp(c[(c[a>>2]|0)+(b<<2)>>2]|0);break a;break}case 9:{Kq(c[(c[a>>2]|0)+(b<<2)>>2]|0);break a;break}case 10:{Bn(c[(c[a>>2]|0)+(b<<2)>>2]|0)|0;break a;break}case 12:{Eo(c[(c[a>>2]|0)+(b<<2)>>2]|0);break a;break}case 11:{Bp(c[(c[a>>2]|0)+(b<<2)>>2]|0);break a;break}case 0:return;default:break a}while(0);while(0);e=(c[d>>2]|0)+(b<<2)|0;if(!(c[e>>2]|0))return;c[e>>2]=0;e=a+16|0;d=(c[e>>2]|0)+-1|0;c[e>>2]=d;f=c[a+8>>2]|0;g=f+(d<<2)|0;d=c[g>>2]|0;c[g>>2]=b;g=c[a+12>>2]|0;a=g+(b<<2)|0;c[f+(c[a>>2]<<2)>>2]=d;c[g+(d<<2)>>2]=c[a>>2];c[a>>2]=c[e>>2];return}function Xn(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a)return;b=a+24|0;if(!(c[b>>2]|0)){d=a+16|0;e=c[d>>2]|0;if((e|0)>0){f=a+8|0;g=e;h=0;do{Wn(a,c[(c[f>>2]|0)+(g+-1<<2)>>2]|0);h=h+1|0;g=c[d>>2]|0}while((h|0)<(e|0)&(g|0)!=0)}g=a+20|0;if((c[g>>2]|0)>0){e=c[a+4>>2]|0;h=c[a+8>>2]|0;f=c[a+12>>2]|0;i=0;do{c[e+(i<<2)>>2]=0;c[h+(i<<2)>>2]=i;c[f+(i<<2)>>2]=i;i=i+1|0}while((i|0)<(c[g>>2]|0))}if(c[b>>2]|0)jq(c[c[a>>2]>>2]|0,0,B(c[d>>2]|0,c[a+28>>2]|0)|0);if(c[d>>2]|0)pn(94223)}else mq(c[c[a>>2]>>2]|0);mq(c[a>>2]|0);mq(c[a+4>>2]|0);mq(c[a+8>>2]|0);mq(c[a+12>>2]|0);mq(a);c[543502]=(c[543502]|0)+-1;return}function Yn(a,b,d){a=a|0;b=b|0;d=d|0;var 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;e=Ia;Ia=Ia+16|0;f=e+8|0;g=e;if(!b){c[g>>2]=94259;it(1703776,95255,g)|0;pn(1703776)}if(!d){c[f>>2]=94282;it(1703776,95255,f)|0;pn(1703776)}f=(c[a+24>>2]|0)==0;g=a+16|0;h=c[g>>2]|0;i=h+1|0;c[g>>2]=i;j=c[a+20>>2]|0;k=(j|0)<=(h|0);if(f)if(k){Tn(a,j+8+((j|0)/2|0)|0);l=c[g>>2]|0}else l=i;else if(k){c[g>>2]=h;m=a+4|0;n=-1;o=c[a>>2]|0;p=o+(n<<2)|0;c[p>>2]=d;q=c[m>>2]|0;r=q+(n<<2)|0;c[r>>2]=b;Ia=e;return n|0}else l=i;i=c[(c[a+8>>2]|0)+(l+-1<<2)>>2]|0;l=a+4|0;c[(c[l>>2]|0)+(i<<2)>>2]=1;m=l;n=i;o=c[a>>2]|0;p=o+(n<<2)|0;c[p>>2]=d;q=c[m>>2]|0;r=q+(n<<2)|0;c[r>>2]=b;Ia=e;return n|0}function Zn(){var a=0;if(!2921660)return;a=c[545791]|0;if(a|0)Gn(a)|0;a=Fn(33,33,32)|0;c[545791]=a;An(a);Cn(c[545791]|0,15,8,17,24,-1);Cn(c[545791]|0,8,15,24,17,-1);Cn(c[545791]|0,16,9,16,23,-6250336);Cn(c[545791]|0,9,16,23,16,-6250336);Cn(c[545791]|0,11,11,21,21,0);Cn(c[545791]|0,16,11,16,21,-1);Cn(c[545791]|0,11,16,21,16,-1);Cn(c[545791]|0,14,14,18,18,0);return}function _n(){Zn();c[545792]=c[545791];return}function $n(){return (c[545793]|0)!=0|0}function ao(){var a=0,b=0,d=0,e=0;a=c[545793]|0;if(!a){do{sn()|0;b=c[545793]|0}while(!(b|0));d=b}else d=a;a=c[428120]|0;b=d+-1|0;if((d|0)<=1){c[545793]=b;return a|0}d=0;do{e=d;d=d+1|0;c[1712480+(e<<2)>>2]=c[1712480+(d<<2)>>2]}while((d|0)!=(b|0));c[545793]=b;return a|0}function bo(){var b=0,c=0,d=0;b=0;while(1){if((b|0)!=57&(a[1712608+b>>0]|0)!=0){c=b;d=4;break}b=b+1|0;if(b>>>0>=512){c=0;d=4;break}}if((d|0)==4)return c|0;return 0}function co(b){b=b|0;var c=0,d=0;if((b|0)>=0){if(b>>>0>511){c=0;return c|0}d=a[1712608+b>>0]|0;if(!(d<<24>>24)){c=0;return c|0}if(!(a[1713120+b>>0]|0))return (d<<24>>24==3|(a[1713632+b>>0]|0)==0?3:1)|0;else{c=0;return c|0}}switch(b|0){case -6:{b=a[1712833]|0;if(b<<24>>24!=0&(a[1713345]|0)==0){c=b<<24>>24==3|(a[1713857]|0)==0?3:1;return c|0}b=a[1712837]|0;if(!(b<<24>>24!=0&(a[1713349]|0)==0)){c=0;return c|0}c=b<<24>>24==3|(a[1713861]|0)==0?3:1;return c|0}case -2:{b=a[1713110]|0;if(b<<24>>24!=0&(a[1713622]|0)==0){c=b<<24>>24==3|(a[1714134]|0)==0?3:1;return c|0}b=a[1713111]|0;if(!(b<<24>>24!=0&(a[1713623]|0)==0)){c=0;return c|0}c=b<<24>>24==3|(a[1714135]|0)==0?3:1;return c|0}case -3:{b=a[1713108]|0;if(b<<24>>24!=0&(a[1713620]|0)==0){c=b<<24>>24==3|(a[1714132]|0)==0?3:1;return c|0}b=a[1713109]|0;if(!(b<<24>>24!=0&(a[1713621]|0)==0)){c=0;return c|0}c=b<<24>>24==3|(a[1714133]|0)==0?3:1;return c|0}case -4:{b=a[1712834]|0;if(b<<24>>24!=0&(a[1713346]|0)==0){c=b<<24>>24==3|(a[1713858]|0)==0?3:1;return c|0}b=a[1712838]|0;if(!(b<<24>>24!=0&(a[1713350]|0)==0)){c=0;return c|0}c=b<<24>>24==3|(a[1713862]|0)==0?3:1;return c|0}case -5:{b=a[1712832]|0;if(b<<24>>24!=0&(a[1713344]|0)==0){c=b<<24>>24==3|(a[1713856]|0)==0?3:1;return c|0}b=a[1712836]|0;if(b<<24>>24!=0&(a[1713348]|0)==0){c=b<<24>>24==3|(a[1713860]|0)==0?3:1;return c|0}b=a[1713108]|0;if(b<<24>>24!=0&(a[1713620]|0)==0){c=b<<24>>24==3|(a[1714132]|0)==0?3:1;return c|0}b=a[1713109]|0;if(!(b<<24>>24!=0&(a[1713621]|0)==0)){c=0;return c|0}c=b<<24>>24==3|(a[1714133]|0)==0?3:1;return c|0}default:{c=0;return c|0}}return 0}function eo(){Iv(1712608,0,512)|0;Iv(1713632,0,512)|0;Iv(1713120,0,512)|0;return}function fo(){return}function go(){c[545794]=Vn(1024,72)|0;return}function ho(){Xn(c[545794]|0);return}function io(){var 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,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0;a=Ia;Ia=Ia+16|0;b=a+8|0;d=a+4|0;e=a;f=c[545794]|0;if(!f){Ia=a;return}if(!(c[f+16>>2]|0)){Ia=a;return}Rr(b,d,e);f=(c[b>>2]|0)-(c[545795]|0)|0;g=B(f,f)|0;f=(c[d>>2]|0)-(c[545796]|0)|0;h=(B(f,f)|0)+g|0;Eq();g=c[545794]|0;f=c[g+16>>2]|0;i=(f|0)>0;a:do if(i){j=c[b>>2]|0;k=c[d>>2]|0;l=c[g>>2]|0;m=c[g+8>>2]|0;n=c[l+(c[m>>2]<<2)>>2]|0;o=c[n+4>>2]|0;if(((j|0)>=(o|0)?(j|0)<((c[n+12>>2]|0)+o|0):0)?(o=c[n+8>>2]|0,(k|0)>=(o|0)):0)p=(k|0)<((c[n+16>>2]|0)+o|0)?n:0;else p=0;if((f|0)>1){n=p;o=1;while(1){q=c[l+(c[m+(o<<2)>>2]<<2)>>2]|0;r=c[q+4>>2]|0;do if((((j|0)>=(r|0)?(j|0)<((c[q+12>>2]|0)+r|0):0)?(s=c[q+8>>2]|0,(k|0)>=(s|0)):0)?(k|0)<((c[q+16>>2]|0)+s|0):0){if(n|0?c[n+20>>2]&32|0:0){t=n;break}t=q}else t=n;while(0);o=o+1|0;if((o|0)>=(f|0))break;else n=t}if(i)u=t;else break}else u=p;n=u+20|0;o=u+28|0;k=u+28|0;j=u+28|0;m=u+28|0;l=u+24|0;q=u+24|0;r=g;s=h;v=f;while(1){w=v+-1|0;x=c[(c[r>>2]|0)+(c[(c[r+8>>2]|0)+(w<<2)>>2]<<2)>>2]|0;if((x|0)==(u|0)){y=c[e>>2]|0;z=c[n>>2]|0;A=z&2;if(!y){if(!A)Ua[c[o>>2]&0](u,c[b>>2]|0,c[d>>2]|0,0,3)}else if(!(c[545797]|A)){c[n>>2]=z|2;Ua[c[j>>2]&0](u,c[b>>2]|0,c[d>>2]|0,y,4);y=Kr()|0;if((y-(c[545798]|0)|0)<400?(y=(c[c[l>>2]>>2]|0)/64|0,(s|0)<(B(y,y)|0)):0)Ua[c[j>>2]&0](u,c[b>>2]|0,c[d>>2]|0,c[e>>2]|0,18);y=Kr()|0;if((y-(c[545799]|0)|0)<400?(y=(c[c[q>>2]>>2]|0)/64|0,(s|0)<(B(y,y)|0)):0){Ua[c[j>>2]&0](u,c[b>>2]|0,c[d>>2]|0,c[e>>2]|0,11);c[545798]=Kr()|0}c[545799]=Kr()|0;c[545795]=c[b>>2];c[545796]=c[d>>2]}y=c[n>>2]|0;if(!(y&1)){c[n>>2]=y|1;Ua[c[k>>2]&0](u,c[b>>2]|0,c[d>>2]|0,c[e>>2]|0,1)}y=c[543643]|0;z=c[543644]|0;if(z|y|0){Ua[c[m>>2]&0](u,y,z,c[e>>2]|0,16);c[543643]=0;c[543644]=0}}else{z=x+20|0;y=c[z>>2]|0;if(!(y&1))C=y;else{c[z>>2]=y&-2;Ua[c[x+28>>2]&0](x,c[b>>2]|0,c[d>>2]|0,c[e>>2]|0,2);C=c[z>>2]|0}c[z>>2]=C&-33}z=x+20|0;y=c[z>>2]|0;if((y&2|0)==0|(c[e>>2]|0)!=0)if((y&1|0)!=0&(c[543651]|0)!=0?(A=Kr()|0,(A|0)<((c[543652]|0)+500|0)):0){A=c[543651]|0;c[545797]=A;D=x+28|0;Ua[c[D>>2]&0](x,c[b>>2]|0,c[d>>2]|0,A,12);A=(c[b>>2]|0)-(c[545800]|0)|0;E=B(A,A)|0;A=(c[d>>2]|0)-(c[545801]|0)|0;F=(B(A,A)|0)+E|0;E=Kr()|0;if((E-(c[545802]|0)|0)<400&F>>>0<400)Ua[c[D>>2]&0](x,c[b>>2]|0,c[d>>2]|0,c[545797]|0,15);c[545802]=Kr()|0;c[545800]=c[b>>2];c[545801]=c[d>>2];G=F}else G=s;else{c[z>>2]=y&-3;y=x+28|0;Ua[c[y>>2]&0](x,c[b>>2]|0,c[d>>2]|0,0,6);F=Kr()|0;if((s|0)<400&(F-(c[545799]|0)|0)<400)Ua[c[y>>2]&0](x,c[b>>2]|0,c[d>>2]|0,c[545797]|0,12);F=(c[b>>2]|0)-(c[545800]|0)|0;D=B(F,F)|0;F=(c[d>>2]|0)-(c[545801]|0)|0;E=(B(F,F)|0)+D|0;D=Kr()|0;if((D-(c[545802]|0)|0)<400&E>>>0<400)Ua[c[y>>2]&0](x,c[b>>2]|0,c[d>>2]|0,c[545797]|0,15);c[545802]=Kr()|0;c[545800]=c[b>>2];c[545801]=c[d>>2];G=E}E=c[z>>2]|0;y=c[e>>2]|0;if((E&2|0)!=0&(y|0)!=0){Ua[c[x+28>>2]&0](x,c[b>>2]|0,c[d>>2]|0,y,5);H=c[z>>2]|0}else H=E;if(H&1|0?!((c[545803]|0)==0|(c[e>>2]|0)!=0):0)Ua[c[x+28>>2]&0](x,c[b>>2]|0,c[d>>2]|0,0,17);if((v|0)<=1)break a;r=c[545794]|0;s=G;v=w}}while(0);c[543651]=0;G=c[e>>2]|0;c[545797]=G;c[545803]=G;Fq();Ia=a;return}function jo(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;d=Ia;Ia=Ia+16|0;e=d+8|0;f=d+4|0;g=d;if(!(c[545794]|0)){Ia=d;return}Rr(e,f,g);h=c[545794]|0;if((c[h+16>>2]|0)<=0){Ia=d;return}if(!b){i=h;j=0;do{k=c[(c[i>>2]|0)+(c[(c[i+8>>2]|0)+(j<<2)>>2]<<2)>>2]|0;Ua[c[k+28>>2]&0](k,c[e>>2]|0,c[f>>2]|0,c[g>>2]|0,a);j=j+1|0;i=c[545794]|0}while((j|0)<(c[i+16>>2]|0));Ia=d;return}i=h;h=0;while(1){j=c[(c[i>>2]|0)+(c[(c[i+8>>2]|0)+(h<<2)>>2]<<2)>>2]|0;if((c[j>>2]|0)==(b|0)){Ua[c[j+28>>2]&0](j,c[e>>2]|0,c[f>>2]|0,c[g>>2]|0,a);l=c[545794]|0}else l=i;h=h+1|0;if((h|0)>=(c[l+16>>2]|0))break;else i=l}Ia=d;return}function ko(a){a=a|0;var b=0,d=0;b=c[545794]|0;if((a|0)<0|(b|0)==0){d=0;return d|0}if((c[b+20>>2]|0)<=(a|0)){d=0;return d|0}d=c[(c[b>>2]|0)+(a<<2)>>2]|0;return d|0}function lo(){var a=0,b=0,d=0,e=0,f=0;a=c[545794]|0;b=c[a+16>>2]|0;if((b|0)<=0){d=-1;return d|0}e=c[a>>2]|0;a=b;while(1){b=a;a=a+-1|0;if(c[(c[e+(a<<2)>>2]|0)+20>>2]&1|0){d=a;f=5;break}if((b|0)<=1){d=-1;f=5;break}}if((f|0)==5)return d|0;return 0}function mo(){var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;c[545804]=Un(512)|0;c[545805]=Un(512)|0;b=0;do{e=(b|0)==0;f=e?8:32;g=0;do{h=Fn(5,5,f)|0;i=Fn(6,5,f)|0;Yn(c[545804]|0,4,h)|0;Yn(c[545805]|0,4,i)|0;g=g+1|0}while((g|0)!=32);g=0;do{i=Fn(5,5,f)|0;h=Fn(6,5,f)|0;An(i);j=g*5|0;k=i+16|0;l=h+16|0;if(e){m=0;do{n=d[4064+(m+j)>>0]|0;if(n&16|0){a[c[(c[k>>2]|0)+(m<<2)>>2]>>0]=-1;a[c[(c[l>>2]|0)+(m<<2)>>2]>>0]=-1;a[(c[(c[l>>2]|0)+(m<<2)>>2]|0)+1>>0]=-1}if(n&8|0){a[(c[(c[k>>2]|0)+(m<<2)>>2]|0)+1>>0]=-1;a[(c[(c[l>>2]|0)+(m<<2)>>2]|0)+1>>0]=-1;a[(c[(c[l>>2]|0)+(m<<2)>>2]|0)+2>>0]=-1}if(n&4|0){a[(c[(c[k>>2]|0)+(m<<2)>>2]|0)+2>>0]=-1;a[(c[(c[l>>2]|0)+(m<<2)>>2]|0)+2>>0]=-1;a[(c[(c[l>>2]|0)+(m<<2)>>2]|0)+3>>0]=-1}if(n&2|0){a[(c[(c[k>>2]|0)+(m<<2)>>2]|0)+3>>0]=-1;a[(c[(c[l>>2]|0)+(m<<2)>>2]|0)+3>>0]=-1;a[(c[(c[l>>2]|0)+(m<<2)>>2]|0)+4>>0]=-1}if(n&1|0){a[(c[(c[k>>2]|0)+(m<<2)>>2]|0)+4>>0]=-1;a[(c[(c[l>>2]|0)+(m<<2)>>2]|0)+4>>0]=-1;a[(c[(c[l>>2]|0)+(m<<2)>>2]|0)+5>>0]=-1}m=m+1|0}while((m|0)!=5)}else{m=0;do{n=d[4064+(m+j)>>0]|0;if(n&16|0){c[c[(c[k>>2]|0)+(m<<2)>>2]>>2]=-4144960;o=c[(c[l>>2]|0)+(m<<2)>>2]|0;c[o>>2]=-1;c[o+4>>2]=-1}if(n&8|0){c[(c[(c[k>>2]|0)+(m<<2)>>2]|0)+4>>2]=-4144960;o=c[(c[l>>2]|0)+(m<<2)>>2]|0;c[o+4>>2]=-1;c[o+8>>2]=-1}if(n&4|0){c[(c[(c[k>>2]|0)+(m<<2)>>2]|0)+8>>2]=-4144960;o=c[(c[l>>2]|0)+(m<<2)>>2]|0;c[o+8>>2]=-1;c[o+12>>2]=-1}if(n&2|0){c[(c[(c[k>>2]|0)+(m<<2)>>2]|0)+12>>2]=-4144960;o=c[(c[l>>2]|0)+(m<<2)>>2]|0;c[o+12>>2]=-1;c[o+16>>2]=-1}if(n&1|0){c[(c[(c[k>>2]|0)+(m<<2)>>2]|0)+16>>2]=-4144960;n=c[(c[l>>2]|0)+(m<<2)>>2]|0;c[n+16>>2]=-1;c[n+20>>2]=-1}m=m+1|0}while((m|0)!=5)}Yn(c[545804]|0,4,i)|0;Yn(c[545805]|0,4,h)|0;g=g+1|0}while((g|0)!=96);g=0;do{e=Fn(5,5,f)|0;m=Fn(6,5,f)|0;Yn(c[545804]|0,4,e)|0;Yn(c[545805]|0,4,m)|0;g=g+1|0}while((g|0)!=128);b=b+1|0}while((b|0)!=2);return}function no(){Xn(c[545804]|0);Xn(c[545805]|0);return}function oo(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;if((d|0)==0|(e|0)==0){j=g;return j|0}k=c[e+16>>2]|0;l=(k&255|0)==0;m=l?0:32;n=l?256:96;if(h&8){o=a[d>>0]|0;if(!(o<<24>>24)){p=1;q=0}else{r=o;o=0;s=d;while(1){t=r<<24>>24;if((m|0)>(t|0))u=o;else u=o+1+(c[c[(c[e>>2]|0)+(t-m<<2)>>2]>>2]|0)|0;s=s+1|0;r=a[s>>0]|0;if(!(r<<24>>24)){p=1;q=u;break}else o=u}}u=q-p|0;p=c[b+32>>2]|0;q=b+28|0;if((u|0)>(p-f|0)){c[q>>2]=(c[q>>2]|0)+15;v=1;w=p-u|0}else{v=0;w=f}}else{v=0;w=f}if(!(h&2))x=w;else{u=a[d>>0]|0;if(!(u<<24>>24)){y=1;z=0}else{p=u;u=0;q=d;while(1){o=p<<24>>24;if((m|0)>(o|0))A=u;else A=u+1+(c[c[(c[e>>2]|0)+(o-m<<2)>>2]>>2]|0)|0;q=q+1|0;p=a[q>>0]|0;if(!(p<<24>>24)){y=1;z=A;break}else u=A}}x=w-((z-y|0)/2|0)|0}if(!(h&4))B=x;else{y=a[d>>0]|0;if(!(y<<24>>24)){C=1;D=0}else{z=y;y=0;w=d;while(1){A=z<<24>>24;if((m|0)>(A|0))E=y;else E=y+1+(c[c[(c[e>>2]|0)+(A-m<<2)>>2]>>2]|0)|0;w=w+1|0;z=a[w>>0]|0;if(!(z<<24>>24)){C=1;D=E;break}else y=E}}B=C+x-D|0}a:do if(!(h&1)){D=c[e>>2]|0;x=c[b+8>>2]|0;C=h;E=0;while(1){if((c[(c[D+(E<<2)>>2]|0)+8>>2]|0)==(x|0)){F=C;G=E;H=0;break a}y=E+n|0;z=(y|0)<(k|0);w=C|(z^1)&1;A=z?y:E;if(!(w&1)){C=w;E=A}else{F=w;G=A;H=1;break}}}else{F=h;G=0;H=1}while(0);h=a[d>>0]|0;if(h<<24>>24){k=l?256:128;l=G-m|0;G=(F&16|0)==0;F=b+32|0;if(H){H=h;n=0;E=d;C=B;x=g;while(1){D=H&255;if(m>>>0<=D>>>0&k>>>0>D>>>0){A=c[(c[e>>2]|0)+(l+D<<2)>>2]|0;D=A+4|0;Rn(A,b,0,0,C,x,c[A>>2]|0,c[D>>2]|0,i,0);w=1+(c[A>>2]|0)|0;A=c[D>>2]|0;I=a[E>>0]|0;J=w;K=(n|0)>(A|0)?n:A;L=w+C|0}else{I=H;J=0;K=n;L=C}if(I<<24>>24!=10)if(!G?(L|0)>((c[F>>2]|0)-J|0):0)M=37;else{N=K;O=L;P=x}else M=37;if((M|0)==37){M=0;N=0;O=f;P=K+x+1|0}E=E+1|0;H=a[E>>0]|0;if(!(H<<24>>24)){Q=P;break}else{n=N;C=O;x=P}}}else{P=h;h=0;x=d;d=B;B=g;while(1){O=P&255;if(m>>>0<=O>>>0&k>>>0>O>>>0){C=c[(c[e>>2]|0)+(l+O<<2)>>2]|0;O=C+4|0;En(C,b,0,0,d,B,c[C>>2]|0,c[O>>2]|0);N=1+(c[C>>2]|0)|0;C=c[O>>2]|0;R=a[x>>0]|0;S=N;T=(h|0)>(C|0)?h:C;U=N+d|0}else{R=P;S=0;T=h;U=d}if(R<<24>>24!=10)if(!G?(U|0)>((c[F>>2]|0)-S|0):0)M=44;else{V=T;W=U;X=B}else M=44;if((M|0)==44){M=0;V=0;W=f;X=T+B+1|0}x=x+1|0;P=a[x>>0]|0;if(!(P<<24>>24)){Q=X;break}else{h=V;d=W;B=X}}}}else Q=g;if(!v){j=Q;return j|0}else{j=b+28|0;v=(c[j>>2]|0)+-15|0;c[j>>2]=v;oo(b,95214,c[545804]|0,v,Q,0,0)|0;return Q|0}return 0}function po(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;oo(a,b,c,d,e,0,0)|0;return}function qo(a){a=a|0;c[545806]=a;return}function ro(a){a=a|0;c[545807]=a;return}function so(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;switch(c[e>>2]|0){case 0:{f=fv(a,b,d,c[e+8>>2]|0)|0;return f|0}case 1:{g=B(d,b)|0;b=e+20|0;d=c[b>>2]|0;h=(c[e+16>>2]|0)-d|0;i=(g|0)<(h|0)?g:h;h=(i|0)>0?i:0;Hv(a|0,(c[e+12>>2]|0)+d|0,h|0)|0;c[b>>2]=h+(c[b>>2]|0);f=h;return f|0}default:{f=0;return f|0}}return 0}function to(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=Ia;Ia=Ia+16|0;f=e;c[f>>2]=b;switch(c[d>>2]|0){case 0:{g=d+20|0;c[g>>2]=(c[g>>2]|0)+1;g=d+16|0;c[g>>2]=(c[g>>2]|0)+1;Vu(f,4,1,c[d+8>>2]|0)|0;Ia=e;return}case 1:{f=d+20|0;if(c[d+88>>2]|0)oq(d,(c[f>>2]|0)+4|0)|0;g=(c[d+12>>2]|0)+(c[f>>2]|0)|0;a[g>>0]=b;a[g+1>>0]=b>>8;a[g+2>>0]=b>>16;a[g+3>>0]=b>>24;b=(c[f>>2]|0)+4|0;c[f>>2]=b;f=d+16|0;d=c[f>>2]|0;c[f>>2]=(d|0)>(b|0)?d:b;Ia=e;return}default:{Ia=e;return}}}function uo(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;switch(c[e>>2]|0){case 0:{f=e+20|0;c[f>>2]=(c[f>>2]|0)+d;f=e+16|0;c[f>>2]=(c[f>>2]|0)+d;g=Vu(a,b,d,c[e+8>>2]|0)|0;return g|0}case 1:{f=B(d,b)|0;do if(c[e+88>>2]|0){b=e+20|0;oq(e,(c[b>>2]|0)+f|0)|0;d=(c[e+12>>2]|0)+(c[b>>2]|0)|0;if(!a){jq(d,0,f);h=b;break}else{Hv(d|0,a|0,f|0)|0;h=b;break}}else{b=e+20|0;Hv((c[e+12>>2]|0)+(c[b>>2]|0)|0,a|0,f|0)|0;h=b}while(0);a=(c[h>>2]|0)+f|0;c[h>>2]=a;h=e+16|0;e=c[h>>2]|0;c[h>>2]=(e|0)>(a|0)?e:a;g=f;return g|0}default:{g=0;return g|0}}return 0}function vo(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=Ia;Ia=Ia+16|0;f=e;c[f>>2]=b;switch(c[d>>2]|0){case 0:{g=d+20|0;c[g>>2]=(c[g>>2]|0)+1;g=d+16|0;c[g>>2]=(c[g>>2]|0)+1;Vu(f,4,1,c[d+8>>2]|0)|0;Ia=e;return}case 1:{f=d+20|0;if(c[d+88>>2]|0)oq(d,(c[f>>2]|0)+4|0)|0;g=(c[d+12>>2]|0)+(c[f>>2]|0)|0;a[g>>0]=b;a[g+1>>0]=b>>8;a[g+2>>0]=b>>16;a[g+3>>0]=b>>24;b=(c[f>>2]|0)+4|0;c[f>>2]=b;f=d+16|0;d=c[f>>2]|0;c[f>>2]=(d|0)>(b|0)?d:b;Ia=e;return}default:{Ia=e;return}}}function wo(b,d){b=b|0;d=d|0;var e=0;switch(c[d>>2]|0){case 0:{e=d+20|0;c[e>>2]=(c[e>>2]|0)+1;e=d+16|0;c[e>>2]=(c[e>>2]|0)+1;$u(b<<24>>24,c[d+8>>2]|0)|0;return}case 1:{e=d+20|0;if(c[d+88>>2]|0)oq(d,(c[e>>2]|0)+1|0)|0;a[(c[d+12>>2]|0)+(c[e>>2]|0)>>0]=b;b=(c[e>>2]|0)+1|0;c[e>>2]=b;e=d+16|0;d=c[e>>2]|0;c[e>>2]=(d|0)>(b|0)?d:b;return}default:return}}function xo(d,e){d=d|0;e=e|0;var f=0,g=0,h=0;f=Ia;Ia=Ia+16|0;g=f;b[g>>1]=d;switch(c[e>>2]|0){case 0:{h=e+20|0;c[h>>2]=(c[h>>2]|0)+1;h=e+16|0;c[h>>2]=(c[h>>2]|0)+1;Vu(g,2,1,c[e+8>>2]|0)|0;Ia=f;return}case 1:{g=e+20|0;if(c[e+88>>2]|0)oq(e,(c[g>>2]|0)+2|0)|0;h=(c[e+12>>2]|0)+(c[g>>2]|0)|0;a[h>>0]=d;a[h+1>>0]=d>>8;d=(c[g>>2]|0)+2|0;c[g>>2]=d;g=e+16|0;e=c[g>>2]|0;c[g>>2]=(e|0)>(d|0)?e:d;Ia=f;return}default:{Ia=f;return}}}
+function Hi(b){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;d=b+112|0;e=c[d>>2]|0;if((e|0)<2){f=0;return f|0}g=b+8|0;b=c[g>>2]|0;h=0-e|0;i=b+(h<<3)|0;if((c[b+(h<<3)+4>>2]|0)!=3){h=Dd(i)|0;b=c[d>>2]|0;if((b|0)>1){j=b;k=h;l=5}else{m=0;n=h}}else{j=e;k=c[i>>2]|0;l=5}do if((l|0)==5){i=(c[g>>2]|0)+(0-j<<3)+8|0;if((c[i+4>>2]|0)==3){m=c[i>>2]|0;n=k;break}else{m=Dd(i)|0;n=k;break}}while(0);k=n-(c[768163]<<16)|0;n=k>>16;j=m-(c[768164]<<16)|0;m=j>>16;if(a[3100894]&16?(j|0)>8388607|((k|0)>8388607|(j|k|0)<0):0){f=(Sk(2921764,c[769129]|0,24411)|0)<<16;return f|0}f=(Pn(c[730449]|0,n,m)|0)<<16&983040;return f|0}function Ii(a){a=a|0;var b=0,d=0,e=0;b=c[768155]|0;if(!(wd(a)|0))c[768155]=6;if(((wd(a)|0)>=1?(d=Cd(a,1,0)|0,c[768155]=d>>>16&255,!((d&268435456|0)==0|(c[768176]|0)!=1)):0)?(e=d>>>8&65536|d&65535,c[768171]=e,d&33554432|0):0)c[768171]=e|131072;Ld(a,b<<16);return 1}function Ji(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=c[768156]|0;d=c[768157]|0;e=c[768155]|0;f=(Cd(a,1,0)|0)>>16;g=(Cd(a,2,0)|0)>>16;c[768156]=f;c[768158]=f;c[768157]=g;if(((wd(a)|0)>=3?(g=Cd(a,3,0)|0,c[768155]=g>>>16&255,!((g&268435456|0)==0|(c[768176]|0)!=1)):0)?(f=g>>>8&65536|g&65535,c[768171]=f,g&33554432|0):0)c[768171]=f|131072;Ld(a,b<<16);Ld(a,d<<16);Ld(a,e<<16);return 3}function Ki(b){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,q=0,r=0,s=0;d=Ia;Ia=Ia+16|0;e=d;f=d+8|0;g=d+4|0;c[f>>2]=0;h=Ad(b,1)|0;c[g>>2]=0;if((wd(b)|0)>1)i=(Cd(b,2,0)|0)>>16;else i=0;switch(h|0){case 3:{h=Cd(b,1,0)|0;c[f>>2]=h;Ld(b,h);j=1;Ia=d;return j|0}case 1:{h=(Fd(b,1)|0)==0;Ld(b,h?0:(i&2|0)==0?65536:1);j=1;Ia=d;return j|0}case 4:{fh(2);c[g>>2]=1;a:do if(!(i&3))k=18;else{h=Gd(b,1,0)|0;l=a[h>>0]|0;if(!(l<<24>>24))m=0;else{n=l;l=h;h=0;while(1){o=h<<4;p=n<<24>>24;do if((n+-48&255)>=10)if((n+-97&255)<6){q=p+-87|0;break}else{q=(n+-65&255)<6?p+-55|0:0;break}else q=p+-48|0;while(0);p=q|o;l=l+1|0;n=a[l>>0]|0;if(!(n<<24>>24)){m=p;break}else h=p}}switch(i&3){case 3:{c[f>>2]=m;k=23;break a;break}case 1:{c[f>>2]=m<<16;k=23;break a;break}default:{k=18;break a}}}while(0);do if((k|0)==18){if(!(i&2)){c[g>>2]=0;c[f>>2]=Cd(b,1,g)|0;m=c[g>>2]|0;if((i&4|0)==0|(m|0)!=0)r=m;else{c[f>>2]=0;c[g>>2]=1;s=0;break}}else{m=Gd(b,1,0)|0;c[e>>2]=f;Eu(m,93171,e)|0;r=c[g>>2]|0}if(!r){j=0;Ia=d;return j|0}else k=23}while(0);if((k|0)==23)s=c[f>>2]|0;Ld(b,s);j=1;Ia=d;return j|0}default:{j=0;Ia=d;return j|0}}return 0}function Li(a){a=a|0;var 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,x=0,y=0,z=0;b=Ia;Ia=Ia+80|0;d=b+72|0;e=b+68|0;f=b+16|0;g=b+12|0;h=b+8|0;i=b+4|0;j=b;k=wd(a)|0;l=(Cd(a,1,0)|0)>>16;m=Cd(a,2,0)|0;n=Cd(a,3,0)|0;if(l>>>0>255){Ia=b;return 0}if((k|0)>3){o=Cd(a,4,0)|0;p=Cd(a,5,0)|0;if((k|0)>5){k=Fd(a,6)|0;q=k;r=Fd(a,7)|0;s=p;t=o}else{q=0;r=0;s=p;t=o}}else{q=0;r=0;s=65536;t=65536}o=t>>13;p=s>>13;if((t|0)<8192|(s|0)<8192){Ia=b;return 0}s=(o|0)<128?o:128;o=(p|0)<128?p:128;p=m-(c[768163]<<16)>>16;m=n-(c[768164]<<16)>>16;n=c[543088]|0;do if(!n)u=10;else{if((c[n>>2]|0)==(s|0)?(c[n+4>>2]|0)==(o|0):0){v=o;w=s;x=n;break}Gn(n)|0;u=10}while(0);if((u|0)==10){u=Fn(s,o,8)|0;c[543088]=u;v=c[u+4>>2]|0;w=c[u>>2]|0;x=u}jq(c[x+12>>2]|0,16,B(v,w)|0);mk(c[(c[769129]|0)+8>>2]|0,c[543088]|0,l<<3&120,l>>>4<<3,0,0,s,o,q,r,3072412);ok(c[543088]|0,c[730449]|0,0,0,p,m,s,o);c[d>>2]=s;c[e>>2]=o;c[g>>2]=0;c[h>>2]=0;c[i>>2]=p;c[j>>2]=m;m=0-s|0;if((s|0)<0){c[g>>2]=s;c[d>>2]=m;y=m}else y=s;s=0-o|0;if((o|0)<0){c[h>>2]=o;c[e>>2]=s;z=s}else z=o;c[f>>2]=y;c[f+4>>2]=z;In(f,c[730449]|0,g,h,i,j,d,e);j=c[d>>2]|0;d=c[e>>2]|0;e=B(d,j)|0;fh((d|j|0)<0?0:e);Ia=b;return 0}function Mi(a){a=a|0;var 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,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;b=Ia;Ia=Ia+80|0;d=b+72|0;e=b+68|0;f=b+16|0;g=b+12|0;h=b+8|0;i=b+4|0;j=b;k=wd(a)|0;l=(Cd(a,1,0)|0)>>16;m=(Cd(a,2,0)|0)>>16;n=Cd(a,3,0)|0;o=n>>16;p=Cd(a,4,0)|0;q=p>>16;r=Cd(a,5,0)|0;s=Cd(a,6,0)|0;if((k|0)>6){t=(Cd(a,7,0)|0)>>16;u=(Cd(a,8,0)|0)>>16;if((k|0)>8){v=Fd(a,9)|0;if((k|0)==9){w=v;x=0;y=u;z=t}else{w=v;x=Fd(a,10)|0;y=u;z=t}}else{w=0;x=0;y=u;z=t}}else{w=0;x=0;y=q;z=o}if((p+-65536|n+-65536)>>>0>8388607){Ia=b;return 0}if((z|0)==0|(y|0)==0){Ia=b;return 0}n=(z|0)<0;p=(r-(c[768163]<<16)>>16)+(n?z:0)|0;r=n?0-z|0:z;z=n?(w|0)==0&1:w;w=(y|0)<0;n=(s-(c[768164]<<16)>>16)+(w?y:0)|0;s=w?0-y|0:y;y=w?(x|0)==0&1:x;x=c[543087]|0;do if(!x)A=11;else{if((c[x>>2]|0)==(o|0)?(c[x+4>>2]|0)==(q|0):0){C=q;D=o;E=x;break}Gn(x)|0;A=11}while(0);if((A|0)==11){A=Fn(o,q,8)|0;c[543087]=A;C=c[A+4>>2]|0;D=c[A>>2]|0;E=A}jq(c[E+12>>2]|0,16,B(C,D)|0);mk(c[(c[769129]|0)+8>>2]|0,c[543087]|0,l,m,0,0,o,q,z,y,3072412);nk(c[543087]|0,c[730449]|0,p,n,r,s);c[d>>2]=r;c[e>>2]=s;c[g>>2]=0;c[h>>2]=0;c[i>>2]=p;c[j>>2]=n;n=0-r|0;if((r|0)<0){c[g>>2]=r;c[d>>2]=n;F=n}else F=r;r=0-s|0;if((s|0)<0){c[h>>2]=s;c[e>>2]=r;G=r}else G=s;c[f>>2]=F;c[f+4>>2]=G;In(f,c[730449]|0,g,h,i,j,d,e);j=c[d>>2]|0;d=c[e>>2]|0;e=B(d,j)|0;fh((d|j|0)<0?0:e);Ia=b;return 0}function Ni(a){a=a|0;var 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,x=0,y=0,z=0,A=0,B=0,C=0;b=a+112|0;d=c[b>>2]|0;if((d|0)>0){e=a+8|0;a=c[e>>2]|0;f=0-d|0;g=a+(f<<3)|0;if((c[a+(f<<3)+4>>2]|0)==3){h=d;i=c[g>>2]|0}else{d=Dd(g)|0;h=c[b>>2]|0;i=d}if((h|0)>1){d=(c[e>>2]|0)+(0-h<<3)+8|0;if((c[d+4>>2]|0)==3){j=h;k=c[d>>2]|0}else{h=Dd(d)|0;j=c[b>>2]|0;k=h}if((j|0)>2){h=(c[e>>2]|0)+(0-j<<3)+16|0;if((c[h+4>>2]|0)==3){l=j;m=c[h>>2]|0}else{j=Dd(h)|0;l=c[b>>2]|0;m=j}if((l|0)>3){j=(c[e>>2]|0)+(0-l<<3)+24|0;if((c[j+4>>2]|0)==3){n=l;o=c[j>>2]|0}else{l=Dd(j)|0;n=c[b>>2]|0;o=l}if((n|0)>=5){l=(c[e>>2]|0)+(0-n<<3)+40+-8|0;if((c[l+4>>2]|0)==3)p=c[l>>2]|0;else p=Dd(l)|0;l=p>>>16&255;c[768155]=l;if(!((p&268435456|0)==0|(c[768176]|0)!=1)?(n=p>>>8&65536|p&65535,c[768171]=n,(p&33554432|0)!=0):0){c[768171]=n|131072;q=l;r=i;s=k;t=m;u=o}else{q=l;r=i;s=k;t=m;u=o}}else{q=c[768155]&255;r=i;s=k;t=m;u=o}}else{v=i;w=k;x=m;y=17}}else{v=i;w=k;x=0;y=17}}else{v=i;w=0;x=0;y=17}}else{v=0;w=0;x=0;y=17}if((y|0)==17){q=c[768155]&255;r=v;s=w;t=x;u=0}x=c[3072412+((q&15)<<2)>>2]&15;if(!(c[768171]&262144))z=c[3072412+(q>>>4<<2)>>2]<<4&240|x;else z=c[3072540+(x<<2)>>2]|0;x=c[768163]<<16;q=r-x>>16;r=c[768164]<<16;w=s-r>>16;s=t-x>>16;x=u-r>>16;r=sk(c[730449]|0,q,s,w,z)|0;if((x|0)==(w|0))A=r;else A=(sk(c[730449]|0,q,s,x,z)|0)+r|0;r=(x|0)<(w|0);u=r?x:w;t=r?w:x;if((t|0)<=(u|0)){B=A;C=(B|0)/16|0;fh(C);return 0}x=u+1|0;u=t+-1|0;t=(Ck(c[730449]|0,q,x,u,z)|0)+A|0;B=t+(Ck(c[730449]|0,s,x,u,z)|0)|0;C=(B|0)/16|0;fh(C);return 0}function Oi(a){a=a|0;var 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,x=0,y=0,z=0,A=0;b=a+112|0;d=c[b>>2]|0;if((d|0)>0){e=a+8|0;a=c[e>>2]|0;f=0-d|0;g=a+(f<<3)|0;if((c[a+(f<<3)+4>>2]|0)==3){h=d;i=c[g>>2]|0}else{d=Dd(g)|0;h=c[b>>2]|0;i=d}if((h|0)>1){d=(c[e>>2]|0)+(0-h<<3)+8|0;if((c[d+4>>2]|0)==3){j=h;k=c[d>>2]|0}else{h=Dd(d)|0;j=c[b>>2]|0;k=h}if((j|0)>2){h=(c[e>>2]|0)+(0-j<<3)+16|0;if((c[h+4>>2]|0)==3){l=j;m=c[h>>2]|0}else{j=Dd(h)|0;l=c[b>>2]|0;m=j}if((l|0)>3){j=(c[e>>2]|0)+(0-l<<3)+24|0;if((c[j+4>>2]|0)==3){n=l;o=c[j>>2]|0}else{l=Dd(j)|0;n=c[b>>2]|0;o=l}if((n|0)>=5){l=(c[e>>2]|0)+(0-n<<3)+40+-8|0;if((c[l+4>>2]|0)==3)p=c[l>>2]|0;else p=Dd(l)|0;l=p>>>16&255;c[768155]=l;if(!((p&268435456|0)==0|(c[768176]|0)!=1)?(n=p>>>8&65536|p&65535,c[768171]=n,(p&33554432|0)!=0):0){c[768171]=n|131072;q=l;r=o;s=i;t=k;u=m}else{q=l;r=o;s=i;t=k;u=m}}else{q=c[768155]&255;r=o;s=i;t=k;u=m}}else{v=i;w=k;x=m;y=17}}else{v=i;w=k;x=0;y=17}}else{v=i;w=0;x=0;y=17}}else{v=0;w=0;x=0;y=17}if((y|0)==17){q=c[768155]&255;r=0;s=v;t=w;u=x}x=c[3072412+((q&15)<<2)>>2]&15;if(!(c[768171]&262144))z=c[3072412+(q>>>4<<2)>>2]<<4&240|x;else z=c[3072540+(x<<2)>>2]|0;x=c[768163]<<16;q=s-x>>16;s=c[768164]<<16;w=t-s>>16;t=u-x>>16;x=r-s>>16;s=(t|0)<(q|0);r=s?t:q;u=s?q:t;t=(x|0)<(w|0);q=t?x:w;s=t?w:x;x=c[730449]|0;w=c[x+28>>2]|0;t=(r|0)>(w|0)?r:w;w=(c[x+32>>2]|0)+-1|0;r=(u|0)<(w|0)?u:w;w=c[x+36>>2]|0;u=(q|0)>(w|0)?q:w;w=(c[x+40>>2]|0)+-1|0;q=(s|0)<(w|0)?s:w;if((r|0)<(t|0)|(q|0)<(u|0))return 0;if((r-t|0)<8&(q-u|0)>4){w=Ck(x,t,u,q,z)|0;if((r|0)>(t|0)){s=w;v=t;while(1){v=v+1|0;y=(Ck(c[730449]|0,v,u,q,z)|0)+s|0;if((v|0)>=(r|0)){A=y;break}else s=y}}else A=w}else{w=sk(x,t,r,u,z)|0;if((q|0)>(u|0)){x=w;s=u;while(1){s=s+1|0;u=(sk(c[730449]|0,t,r,s,z)|0)+x|0;if((s|0)>=(q|0)){A=u;break}else x=u}}else A=w}fh((A|0)/16|0);return 0}function Pi(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=wd(b)|0;if((d|0)<2)return 0;e=Cd(b,1,0)|0;f=Cd(b,2,0)|0;if((d|0)!=2){d=Cd(b,3,0)|0;if((d|0)<0)return 0;else{g=(a[3100894]&2)==0?0:d>>>15&1;h=d>>16}}else{g=0;h=4}d=c[768155]&255;if((wd(b)|0)>=4){i=Cd(b,4,0)|0;b=i>>>16&255;c[768155]=b;if(!((i&268435456|0)==0|(c[768176]|0)!=1)?(j=i>>>8&65536|i&65535,c[768171]=j,(i&33554432|0)!=0):0){c[768171]=j|131072;k=b}else k=b}else k=d;d=c[3072412+((k&15)<<2)>>2]&15;if(!(c[768171]&262144))l=c[3072412+(k>>>4<<2)>>2]<<4&240|d;else l=c[3072540+(d<<2)>>2]|0;d=e-(c[768163]<<16)>>16;e=f-(c[768164]<<16)>>16;f=h+g|0;fh((uk(c[730449]|0,d-h|0,e-h|0,f+d|0,f+e|0,l)|0)/2|0);return 0}function Qi(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=wd(b)|0;if((d|0)<2)return 0;e=Cd(b,1,0)|0;f=Cd(b,2,0)|0;do if((d|0)!=2){g=Cd(b,3,0)|0;if((g|0)<0)return 0;else{h=(a[3100894]&2)==0?0:g>>>15&1;i=g>>>16;break}}else{h=0;i=4}while(0);d=c[768155]&255;if((wd(b)|0)>=4){g=Cd(b,4,0)|0;b=g>>>16&255;c[768155]=b;if(!((g&268435456|0)==0|(c[768176]|0)!=1)?(j=g>>>8&65536|g&65535,c[768171]=j,(g&33554432|0)!=0):0){c[768171]=j|131072;k=b}else k=b}else k=d;d=c[3072412+((k&15)<<2)>>2]&15;if(!(c[768171]&262144))l=c[3072412+(k>>>4<<2)>>2]<<4&240|d;else l=c[3072540+(d<<2)>>2]|0;d=e-(c[768163]<<16)>>16;e=f-(c[768164]<<16)>>16;f=h+i|0;fh((xk(c[730449]|0,d-i|0,e-i|0,f+d|0,f+e|0,l)|0)/16|0);return 0}function Ri(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;wd(a)|0;b=Cd(a,1,0)|0;d=Cd(a,2,0)|0;e=Cd(a,3,0)|0;f=Cd(a,4,0)|0;g=c[768155]&255;if((wd(a)|0)>=5){h=Cd(a,5,0)|0;a=h>>>16&255;c[768155]=a;if(!((h&268435456|0)==0|(c[768176]|0)!=1)?(i=h>>>8&65536|h&65535,c[768171]=i,(h&33554432|0)!=0):0){c[768171]=i|131072;j=a}else j=a}else j=g;g=c[3072412+((j&15)<<2)>>2]&15;if(!(c[768171]&262144))k=c[3072412+(j>>>4<<2)>>2]<<4&240|g;else k=c[3072540+(g<<2)>>2]|0;g=c[768163]<<16;j=b-g>>16;b=c[768164]<<16;a=d-b>>16;d=e-g>>16;g=f-b>>16;b=(d|0)<(j|0);f=(g|0)<(a|0);fh((uk(c[730449]|0,b?d:j,f?g:a,b?j:d,f?a:g,k)|0)/2|0);return 0}function Si(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;wd(a)|0;b=Cd(a,1,0)|0;d=Cd(a,2,0)|0;e=Cd(a,3,0)|0;f=Cd(a,4,0)|0;g=c[768155]&255;if((wd(a)|0)>=5){h=Cd(a,5,0)|0;a=h>>>16&255;c[768155]=a;if(!((h&268435456|0)==0|(c[768176]|0)!=1)?(i=h>>>8&65536|h&65535,c[768171]=i,(h&33554432|0)!=0):0){c[768171]=i|131072;j=a}else j=a}else j=g;g=c[3072412+((j&15)<<2)>>2]&15;if(!(c[768171]&262144))k=c[3072412+(j>>>4<<2)>>2]<<4&240|g;else k=c[3072540+(g<<2)>>2]|0;g=c[768163]<<16;j=b-g>>16;b=c[768164]<<16;a=d-b>>16;d=e-g>>16;g=f-b>>16;b=(d|0)<(j|0);f=(g|0)<(a|0);fh((xk(c[730449]|0,b?d:j,f?g:a,b?j:d,f?a:g,k)|0)/16|0);return 0}function Ti(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=(Cd(a,1,0)|0)>>16;d=(Cd(a,2,0)|0)>>16;if(!(wd(a)|0)){c[768174]=1;return 0}if((wd(a)|0)==1){c[768174]=1;if((wd(a)|0)<1)return 0;e=Cd(a,1,0)|0;c[768155]=e>>>16&255;if((e&268435456|0)==0|(c[768176]|0)!=1)return 0;f=e>>>8&65536|e&65535;c[768171]=f;if(!(e&33554432))return 0;c[768171]=f|131072;return 0}do if((wd(a)|0)<4){if((((wd(a)|0)==3?(wd(a)|0)>=3:0)?(f=Cd(a,3,0)|0,c[768155]=f>>>16&255,!((f&268435456|0)==0|(c[768176]|0)!=1)):0)?(e=f>>>8&65536|f&65535,c[768171]=e,f&33554432|0):0)c[768171]=e|131072;if(!(c[768174]&1)){e=c[768172]|0;f=c[768173]|0;c[768172]=b;c[768173]=d;g=e;h=f;break}c[768172]=b;c[768173]=d;c[768174]=0;return 0}else{f=(Cd(a,3,0)|0)>>16;e=(Cd(a,4,0)|0)>>16;c[768172]=f;c[768173]=e;c[768174]=0;g=f;h=e}while(0);e=c[768155]&255;if((wd(a)|0)>=5){f=Cd(a,5,0)|0;a=f>>>16&255;c[768155]=a;if(!((f&268435456|0)==0|(c[768176]|0)!=1)?(i=f>>>8&65536|f&65535,c[768171]=i,(f&33554432|0)!=0):0){c[768171]=i|131072;j=a}else j=a}else j=e;e=c[3072412+((j&15)<<2)>>2]&15;if(!(c[768171]&262144))k=c[3072412+(j>>>4<<2)>>2]<<4&240|e;else k=c[3072540+(e<<2)>>2]|0;e=c[768163]|0;j=b-e<<16>>16;b=c[768164]|0;a=d-b<<16>>16;d=g-e<<16>>16;e=h-b<<16>>16;if((j|0)==(d|0)){fh((Ck(c[730449]|0,j,a,e,k)|0)/16|0);return 0}b=c[730449]|0;if((a|0)==(e|0)){fh((sk(b,j,d,a,k)|0)/16|0);return 0}else{fh((Ak(b,j,a,d,e,k)|0)/2|0);return 0}return 0}function Ui(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;b=c[768177]|0;d=(b|0)==0?13:b;if((wd(a)|0)==1)c[768177]=(Cd(a,1,0)|0)>>16;if((wd(a)|0)<2){Ld(a,d<<16);e=1;return e|0}b=Cd(a,1,0)|0;f=Cd(a,2,0)|0;g=Cd(a,3,0)|0;h=Cd(a,4,0)|0;if((wd(a)|0)>4)i=Cd(a,5,0)|0;else i=0;if((wd(a)|0)>5)j=Cd(a,6,0)|0;else j=0;if((wd(a)|0)>6)k=Cd(a,7,0)|0;else k=8192;if((wd(a)|0)>7)l=Cd(a,8,0)|0;else l=0;if((wd(a)|0)>8)m=(Cd(a,9,0)|0)>>16;else m=0;a=c[768163]<<16;n=c[768164]<<16;fh((Bk(c[730449]|0,b-a|0,f-n|0,g-a|0,h-n|0,i,j,k,l,m,d)|0)<<1);e=0;return e|0}function Vi(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;b=wd(a)|0;if((Ad(a,1)|0)==5){if((b|0)>1)d=(Cd(a,2,0)|0)>>16;else d=0;Kd(a);if(!(qf(a,1)|0)){e=0;return e|0}switch(d|0){case 0:{do{if((Ad(a,-2)|0)==3){f=Ed(a,-2,0)|0;g=Ed(a,-1,0)|0;h=3072412+((f&15)<<2)|0;c[h>>2]=c[h>>2]&16|g&15}xd(a,-2);fh(2)}while((qf(a,1)|0)!=0);e=0;return e|0}case 1:{do{if((Ad(a,-2)|0)==3?(g=Ed(a,-2,0)|0,h=Ed(a,-1,0)|0,c[3072476+((g&15)<<2)>>2]=h&255,h&128|0):0)mb();xd(a,-2);fh(2)}while((qf(a,1)|0)!=0);e=0;return e|0}default:{h=(d|0)==2;do{if((Ad(a,-2)|0)==3?(d=Ed(a,-2,0)|0,g=Ed(a,-1,0)|0,h):0)c[3072540+((d&15)<<2)>>2]=g&255;xd(a,-2);fh(2)}while((qf(a,1)|0)!=0);e=0;return e|0}}}if((b|0)>=2){h=(Cd(a,1,0)|0)>>>16;g=Cd(a,2,0)|0;d=g>>16;f=(Cd(a,3,0)|0)>>16;i=h&15;h=d&255;switch(f|0){case 0:{j=3072412+(i<<2)|0;k=c[j>>2]|0;c[j>>2]=k&16|d&15;l=k;break}case 1:{k=3072476+(i<<2)|0;d=c[k>>2]|0;c[k>>2]=h;if(!(g&8388608))l=d;else{mb();l=d}break}case 2:{d=3072540+(i<<2)|0;i=c[d>>2]|0;c[d>>2]=h;l=i;break}default:l=0}i=l<<16;Ld(a,(f|0)==0?i&-1114112:i);e=1;return e|0}do if((b|0)==1?(Ad(a,1)|0)==3:0){i=(Cd(a,1,0)|0)>>16;if((i+1|0)>>>0<2){c[768103]=0;if((i|0)==-1){m=37;break}c[768104]=1;c[768105]=2;c[768106]=3;c[768107]=4;c[768108]=5;c[768109]=6;c[768110]=7;c[768111]=8;c[768112]=9;c[768113]=10;c[768114]=11;c[768115]=12;c[768116]=13;c[768117]=14;c[768118]=15;break}switch(i|0){case -1:{c[768119]=0;c[768135]=0;c[768120]=1;c[768136]=1;c[768121]=2;c[768137]=18;c[768122]=3;c[768138]=19;c[768123]=4;c[768139]=36;c[768124]=5;c[768140]=21;c[768125]=6;c[768141]=214;c[768126]=7;c[768142]=103;c[768127]=8;c[768143]=72;c[768128]=9;c[768144]=73;c[768129]=10;c[768145]=154;c[768130]=11;c[768146]=59;c[768131]=12;c[768147]=220;c[768132]=13;c[768148]=93;c[768133]=14;c[768149]=142;c[768134]=15;c[768150]=239;e=0;return e|0}case 1:{c[768119]=0;c[768120]=1;c[768121]=2;c[768122]=3;c[768123]=4;c[768124]=5;c[768125]=6;c[768126]=7;c[768127]=8;c[768128]=9;c[768129]=10;c[768130]=11;c[768131]=12;c[768132]=13;c[768133]=14;c[768134]=15;e=0;return e|0}case 2:{c[768135]=0;c[768136]=1;c[768137]=18;c[768138]=19;c[768139]=36;c[768140]=21;c[768141]=214;c[768142]=103;c[768143]=72;c[768144]=73;c[768145]=154;c[768146]=59;c[768147]=220;c[768148]=93;c[768149]=142;c[768150]=239;e=0;return e|0}default:{e=0;return e|0}}}else m=23;while(0);if((m|0)==23){c[768103]=0;m=37}if((m|0)==37){c[768119]=0;c[768135]=0;c[768104]=1;c[768120]=1;c[768136]=1;c[768105]=2;c[768121]=2;c[768137]=18;c[768106]=3;c[768122]=3;c[768138]=19;c[768107]=4;c[768123]=4;c[768139]=36;c[768108]=5;c[768124]=5;c[768140]=21;c[768109]=6;c[768125]=6;c[768141]=214;c[768110]=7;c[768126]=7;c[768142]=103;c[768111]=8;c[768127]=8;c[768143]=72;c[768112]=9;c[768128]=9;c[768144]=73;c[768113]=10;c[768129]=10;c[768145]=154;c[768114]=11;c[768130]=11;c[768146]=59;c[768115]=12;c[768131]=12;c[768147]=220;c[768116]=13;c[768132]=13;c[768148]=93;c[768117]=14;c[768133]=14;c[768149]=142;c[768118]=15;c[768134]=15;c[768150]=239}c[768103]=16;e=0;return e|0}function Wi(a){a=a|0;var 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;b=wd(a)|0;d=c[768103]|0;e=c[768104]|0;f=c[768105]|0;g=c[768106]|0;h=c[768107]|0;i=c[768108]|0;j=c[768109]|0;k=c[768110]|0;l=c[768111]|0;m=c[768112]|0;n=c[768113]|0;o=c[768114]|0;p=c[768115]|0;q=c[768116]|0;r=c[768117]|0;s=c[768118]|0;t=s>>>4&1|(r>>>3&2|(q>>>2&4|(p>>>1&8|(o&16|(n<<1&32|(m<<2&64|(l<<3&128|(k<<4&256|(j<<5&512|(i<<6&1024|(h<<7&2048|(g<<8&4096|(f<<9&8192|(e<<10&16384|d<<11&32768))))))))))))));if(!b){c[768104]=e&15;c[768105]=f&15;c[768106]=g&15;c[768107]=h&15;c[768108]=i&15;c[768109]=j&15;c[768110]=k&15;c[768111]=l&15;c[768112]=m&15;c[768113]=n&15;c[768114]=o&15;c[768115]=p&15;c[768116]=q&15;c[768117]=r&15;c[768118]=s&15;c[768103]=d&15|16;Ld(a,t<<16);return 1}d=Cd(a,1,0)|0;if((b|0)==1){b=c[768103]&15;c[768103]=(d|0)>-1?b:b|16;c[768104]=d>>>26&16|c[768104]&15;c[768105]=d>>>25&16|c[768105]&15;c[768106]=d>>>24&16|c[768106]&15;c[768107]=d>>>23&16|c[768107]&15;c[768108]=d>>>22&16|c[768108]&15;c[768109]=d>>>21&16|c[768109]&15;c[768110]=d>>>20&16|c[768110]&15;c[768111]=d>>>19&16|c[768111]&15;c[768112]=d>>>18&16|c[768112]&15;c[768113]=d>>>17&16|c[768113]&15;c[768114]=d>>>16&16|c[768114]&15;c[768115]=d>>>15&16|c[768115]&15;c[768116]=d>>>14&16|c[768116]&15;c[768117]=d>>>13&16|c[768117]&15;c[768118]=d>>>12&16|c[768118]&15;fh(2);Ld(a,t<<16);return 1}else{t=Fd(a,2)|0;b=3072412+((d>>>16&15)<<2)|0;d=c[b>>2]|0;s=d&15;c[b>>2]=(t|0)==0?s:s|16;Sd(a,d>>>4&1);return 1}return 0}function Xi(a){a=a|0;var b=0,d=0,e=0;b=c[768171]|0;d=b>>>1&32768|b<<16|b>>>3&16384;if(!(wd(a)|0)){e=0;c[768171]=e;Ld(a,d);return 1}b=Cd(a,1,0)|0;e=b<<1&65536|b>>>16|b<<3&131072|b<<5&262144;c[768171]=e;Ld(a,d);return 1}function Yi(b){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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;d=Ia;Ia=Ia+80|0;e=d+72|0;f=d+68|0;g=d+16|0;h=d+12|0;i=d+8|0;j=d+4|0;k=d;l=(a[3100894]<<4&255)<<24>>24>>7<<24>>24;m=(Cd(b,1,0)|0)>>16;n=(Cd(b,2,0)|0)>>16;o=Cd(b,3,0)|0;p=Cd(b,4,0)|0;q=a[3100926]|0;r=q<<24>>24>-1?8192:(q&255)<<8;q=a[3100927]|0;s=q<<24>>24==0?256:q&255;q=((r>>>0>32767?65536-r|0:8192)>>>0)/(s>>>0)|0;if((wd(b)|0)>4?(Ad(b,5)|0)!=0:0)t=(Cd(b,5,0)|0)>>16;else t=s;if((wd(b)|0)>5?(Ad(b,6)|0)!=0:0)u=(Cd(b,6,0)|0)>>16;else u=q;if((wd(b)|0)>6)v=(Cd(b,7,0)|0)>>16;else v=0;if((t|0)<1|(u|0)<1){Ia=d;return 0}b=o-(c[768163]<<16)>>16;o=p-(c[768164]<<16)>>16;p=c[(c[769129]|0)+8>>2]|0;q=c[768151]|0;s=c[768152]|0;if((b|0)<(q+-7|0)){r=(q-b|0)/8|0;w=r+m|0;x=(r<<3)+b|0;y=t-r|0}else{w=m;x=b;y=t}if((o|0)<(s+-7|0)){t=(s-o|0)/8|0;z=u-t|0;A=t+n|0;C=(t<<3)+o|0}else{z=u;A=n;C=o}o=((7-q+(c[768153]|0)|0)/8|0)+1|0;q=(o|0)<(y|0)?o:y;y=((7-s+(c[768154]|0)|0)/8|0)+1|0;s=(y|0)<(z|0)?y:z;if((s|0)>0){z=(q|0)>0;y=(v|0)==0;o=g+4|0;n=0;u=0;while(1){a:do if(z){t=u+A|0;b=(u<<3)+C|0;if(y){m=n;r=0;while(1){D=Eh(r+w|0,t)|0;if((D|0)==(l|0))E=m;else{F=(r<<3)+x|0;pk(p,c[730449]|0,D<<3&120,((D|0)/16|0)<<3,F,b,8,8,3072412);c[e>>2]=8;c[f>>2]=8;c[h>>2]=0;c[i>>2]=0;c[j>>2]=F;c[k>>2]=b;c[g>>2]=8;c[o>>2]=8;In(g,c[730449]|0,h,i,j,k,e,f);F=c[e>>2]|0;D=c[f>>2]|0;G=B(D,F)|0;E=((D|F|0)<0?0:G)+m|0}r=r+1|0;if((r|0)>=(q|0)){H=E;break a}else m=E}}m=n;r=0;while(1){G=Eh(r+w|0,t)|0;if((G|0)!=(l|0)?(c[(c[769129]|0)+43552+(G<<2)>>2]&v|0)!=0:0){F=(r<<3)+x|0;pk(p,c[730449]|0,G<<3&120,((G|0)/16|0)<<3,F,b,8,8,3072412);c[e>>2]=8;c[f>>2]=8;c[h>>2]=0;c[i>>2]=0;c[j>>2]=F;c[k>>2]=b;c[g>>2]=8;c[o>>2]=8;In(g,c[730449]|0,h,i,j,k,e,f);F=c[e>>2]|0;G=c[f>>2]|0;D=B(G,F)|0;I=((G|F|0)<0?0:D)+m|0}else I=m;r=r+1|0;if((r|0)>=(q|0)){H=I;break}else m=I}}else H=n;while(0);u=u+1|0;if((u|0)>=(s|0)){J=H;break}else n=H}}else J=0;fh(J);Ia=d;return 0}function Zi(a){a=a|0;var b=0;b=(Cd(a,1,0)|0)>>16;Ld(a,(Eh(b,(Cd(a,2,0)|0)>>16)|0)<<16);return 1}function _i(a){a=a|0;var b=0,c=0;b=(Cd(a,1,0)|0)>>16;c=(Cd(a,2,0)|0)>>16;Fh(b,c,(Cd(a,3,0)|0)>>>16&255);return 0}function $i(a){a=a|0;var b=0,d=0,e=0,f=0;if(!(wd(a)|0)){b=0;return b|0}d=Cd(a,1,0)|0;e=d>>16;if((wd(a)|0)==1){if(d>>>0>16777215)f=0;else f=c[(c[769129]|0)+43552+(e<<2)>>2]<<16&16711680;Ld(a,f);b=1;return b|0}f=Cd(a,2,0)|0;if(d>>>0>16777215){Sd(a,0);b=1;return b|0}if(f>>>0>524287){Sd(a,0);b=1;return b|0}else{Sd(a,(c[(c[769129]|0)+43552+(e<<2)>>2]&1<<(f>>16)|0)!=0&1);b=1;return b|0}return 0}function aj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=wd(a)|0;if((b|0)<2)return 0;d=Cd(a,1,0)|0;e=d>>16;f=Cd(a,2,0)|0;g=f>>16;if(d>>>0>16777215)return 0;if((b|0)==2){c[(c[769129]|0)+43552+(e<<2)>>2]=g&255;return 0}b=Fd(a,3)|0;if(f>>>0>524287)return 0;f=1<>2];c[g>>2]=e;if(!b)return 0;c[g>>2]=e|f;return 0}function bj(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=Cd(b,1,0)|0;e=d>>16;f=Cd(b,2,0)|0;g=f>>16;if(a[3100894]&16?(f|0)>8388607|((d|0)>8388607|(f|d|0)<0):0){h=(Sk(2921764,c[769129]|0,24409)|0)<<16;Ld(b,h);return 1}h=(Pn(c[(c[769129]|0)+8>>2]|0,e,g)|0)<<16&983040;Ld(b,h);return 1}function cj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=c[768155]|0;d=Cd(a,1,0)|0;e=Cd(a,2,0)|0;if((wd(a)|0)>2)f=(Cd(a,3,0)|0)>>16;else f=b;b=f&15;if((e|0)>8388607|((d|0)>8388607|(e|d|0)<0))return 0;f=(e>>16<<6)+((d>>16|0)/2|0)|0;e=Sk(2921764,c[769129]|0,f)|0;if(!(d&65536))g=e&240|b;else g=e&15|b<<4;Rk(2921764,c[769129]|0,f,g);return 0}function dj(a){a=a|0;var b=0,d=0,e=0,f=0;if((c[768034]|0)==0&(c[543656]|0)!=0){_q(0,0);br();c[543656]=0}b=c[769129]|0;d=(Cd(a,1,0)|0)>>16;if((wd(a)|0)>1)e=(Cd(a,2,0)|0)>>16;else e=0;if((wd(a)|0)>2)f=(Cd(a,3,0)|0)>>16;else f=0;if((d|0)==-1){_q(0,e);fh(16);return 0}else{a=(d|0)<63?d:63;Uq(b,(a|0)>0?a:0,e);c[768513]=f;fh(16);return 0}return 0}function ej(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;if((c[768034]|0)==0&(c[543656]|0)!=0){_q(0,0);br();c[543656]=0}if((wd(a)|0)<1)return 0;b=Cd(a,1,0)|0;d=b>>16;if((wd(a)|0)>1){e=Cd(a,2,0)|0;if((e+131072|0)>>>0>393215)return 0;else f=e>>16}else f=-1;if((wd(a)|0)>2)g=(Cd(a,3,0)|0)>>16;else g=0;if((wd(a)|0)>3)h=(Cd(a,4,0)|0)>>16;else h=0;if((d|0)==-1){Mq(0,0,0,c[769129]|0,(f|0)==-2?-1:f)|0;return 0}a=(f|0)==-2;if((d|0)==-2){Sq(a?-1:f);return 0}if(!a){a=(d|0)<63?d:63;e=(a|0)>0?a:0;a=(g|0)<31?g:31;Oq((c[769129]|0)+16+(e*660|0)|0);g=c[769129]|0;Mq(g+16+(e*660|0)|0,(a|0)>0?a:0,h,g,f)|0;fh(16);return 0}if(b>>>0>=4194304)return 0;Oq((c[769129]|0)+16+(d*660|0)|0);return 0}function fj(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=(Cd(a,1,0)|0)>>16;if((wd(a)|0)==2?(Ad(a,2)|0)==4:0){c=Gd(a,2,0)|0;if(!c){d=0;return d|0}bn(b,c);d=0;return d|0}c=(Cd(a,2,0)|0)>>16;e=(Cd(a,3,0)|0)>>13;if((wd(a)|0)>3){f=Cd(a,4,0)|0;if((f|0)>65535){g=f>>16;h=7}else i=0}else{g=1;h=7}if((h|0)==7){h=0;f=0;while(1){j=(an(b,c,e)|0)+h|0;f=f+1|0;if((f|0)==(g|0)){i=j;break}else h=j}}fh((i|0)/64|0);Ld(a,i<<13);d=1;return d|0}function gj(a){a=a|0;var b=0,d=0,e=0;b=(Cd(a,1,0)|0)>>16;d=(Cd(a,2,0)|0)>>16;e=Cd(a,3,0)|0;a=e>>16;if((e|0)<65536|(b|0)==(d|0))return 0;Uk(2921764,c[769129]|0,b,d,a);fh((a+1|0)/4|0);return 0}function hj(a){a=a|0;var b=0,d=0,e=0;b=Cd(a,1,0)|0;d=Cd(a,2,0)|0;e=Cd(a,3,0)|0;a=e>>16;if((e|0)<65536)return 0;Vk(2921764,c[769129]|0,b>>16,d>>16,a);fh((a+1|0)/4|0);return 0}function ij(b){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;d=Ia;Ia=Ia+1040|0;e=d+1032|0;f=d+1024|0;g=d+1036|0;h=d;if((wd(b)|0)>2){i=(Cd(b,1,0)|0)>>16;j=(Cd(b,2,0)|0)>>16;k=(Cd(b,3,0)|0)>>16;l=((k|0)<4096?k:4096)<<3;m=i;n=j;o=k}else{l=32768;m=0;n=0;o=17152}fh(l);if((wd(b)|0)==4?(Ad(b,4)|0)==4:0){l=Gd(b,4,g)|0;if((a[l>>0]|0)==95?(a[l+1>>0]|0)==95:0){Ld(b,0);p=1;Ia=d;return p|0}a[h>>0]=0;do if(!(jc(l,1)|0)){Sr(60653,h);g=(a[l>>0]|0)==47?l+1|0:l;if((a[g>>0]|0)==47){p=0;Ia=d;return p|0}if(!(Pu(g,95214)|0)){Zt(h,g)|0;break}else{p=0;Ia=d;return p|0}}else{Es(h,_b(jc(l,1)|0)|0)|0;g=Co(h,102896)|0;if(!g){c[f>>2]=h;it(1703776,60661,f)|0;pn(1703776);c[e>>2]=l;it(1703776,60698,e)|0;pn(1703776);Es(h,l)|0}Eo(g)}while(0);if(!(bc(h,m,n,o)|0)){Ld(b,o<<16);p=1;Ia=d;return p|0}else{Ld(b,0);p=1;Ia=d;return p|0}}Wk(2921764,c[769129]|0,m,n,o);Ld(b,o<<16);p=1;Ia=d;return p|0}function jj(b){b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;c=Ia;Ia=Ia+1040|0;d=c;e=c+1024|0;if((wd(b)|0)>2){f=(Cd(b,1,0)|0)>>16;g=(Cd(b,2,0)|0)>>16;h=(Cd(b,3,0)|0)>>16;i=((h|0)<4096?h:4096)<<6;j=f;k=g;l=h}else{i=262144;j=0;k=0;l=17152}fh(i);do if((wd(b)|0)>3?(Ad(b,4)|0)==4:0){i=Gd(b,4,e)|0;if((Pt(i)|0)>>>0>511){Ld(b,0);m=1;Ia=c;return m|0}if((a[i>>0]|0)==95?(a[i+1>>0]|0)==95:0){Ld(b,0);m=1;Ia=c;return m|0}if(jc(i,1)|0){Es(d,_b(jc(i,1)|0)|0)|0;n=0;o=1;break}Sr(60653,d);h=(a[i>>0]|0)==47?i+1|0:i;if((a[h>>0]|0)==47){m=0;Ia=c;return m|0}if(!(Pu(h,95214)|0)){Zt(d,h)|0;n=0;o=0;break}else{m=0;Ia=c;return m|0}}else p=15;while(0);if((p|0)==15){Es(d,_b(3066604)|0)|0;n=1;o=1}if(!(cc(d,j,k,l,n,o)|0)){Ld(b,l<<16);m=1;Ia=c;return m|0}else{Ld(b,0);m=1;Ia=c;return m|0}return 0}function kj(a){a=a|0;var b=0,c=0;if((Ad(a,1)|0)==5){Ld(a,((ql((Id(a,1)|0)<<8)|0)>>>8<<16)+65536|0);Ud(a,-2);fh(4);return 1}if((wd(a)|0)>0)b=Cd(a,1,0)|0;else b=65536;c=ql(b)|0;fh(4);Ld(a,c);return 1}function lj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=c[a+112>>2]|0;do if((b|0)>0){d=c[a+8>>2]|0;e=0-b|0;f=d+(e<<3)|0;if((c[d+(e<<3)+4>>2]|0)==3){g=c[f>>2]|0;break}else{g=Dd(f)|0;break}}else g=0;while(0);pl(g&2147483647);return 0}function mj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=c[a+112>>2]|0;c[543058]=(c[543058]|0)-b;do if((b|0)>0){d=c[a+8>>2]|0;e=0-b|0;f=d+(e<<3)|0;if((c[d+(e<<3)+4>>2]|0)==3){g=c[f>>2]|0;break}else{g=Dd(f)|0;break}}else g=0;while(0);return g+65535&-65536|0}function nj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=c[a+112>>2]|0;do if((b|0)>0){d=c[a+8>>2]|0;e=0-b|0;f=d+(e<<3)|0;if((c[d+(e<<3)+4>>2]|0)==3){g=c[f>>2]|0;break}else{g=Dd(f)|0;break}}else g=0;while(0);return g>>31&-131072|65536|0}function oj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=c[a+112>>2]|0;if((b|0)>0){d=c[a+8>>2]|0;a=0-b|0;b=d+(a<<3)|0;if((c[d+(a<<3)+4>>2]|0)==3)e=c[b>>2]|0;else e=Dd(b)|0;if((e|0)==-2147483648){f=2147483647;return f|0}else g=(e|0)<0?0-e|0:e}else g=0;f=g;return f|0}function pj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;b=a+112|0;d=c[b>>2]|0;if((d|0)<=0){e=0;return e|0}f=a+8|0;a=c[f>>2]|0;g=0-d|0;h=a+(g<<3)|0;if((c[a+(g<<3)+4>>2]|0)==3){i=d;j=c[h>>2]|0}else{d=Dd(h)|0;i=c[b>>2]|0;j=d}do if((i|0)>1){d=(c[f>>2]|0)+(0-i<<3)+8|0;if((c[d+4>>2]|0)==3){k=i;l=c[d>>2]|0}else{h=Dd(d)|0;k=c[b>>2]|0;l=h}if((k|0)>2){h=(c[f>>2]|0)+(0-k<<3)+16|0;if((c[h+4>>2]|0)==3){m=l;n=c[h>>2]|0;break}else{m=l;n=Dd(h)|0;break}}else{m=l;n=0}}else{m=0;n=0}while(0);l=(j|0)<(m|0);k=(j|0)<(n|0);if(l&k){e=(m|0)<(n|0)?m:n;return e|0}if(!((m|0)<(j|0)&(m|0)<(n|0)))return (l?j:m)|0;e=k?j:n;return e|0}function qj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=c[a+112>>2]|0;do if((b|0)>0){d=c[a+8>>2]|0;e=0-b|0;f=d+(e<<3)|0;if((c[d+(e<<3)+4>>2]|0)==3){g=c[f>>2]|0;break}else{g=Dd(f)|0;break}}else g=0;while(0);return hp(g)|0}function rj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=c[a+112>>2]|0;do if((b|0)>0){d=c[a+8>>2]|0;e=0-b|0;f=d+(e<<3)|0;if((c[d+(e<<3)+4>>2]|0)==3){g=c[f>>2]|0;break}else{g=Dd(f)|0;break}}else g=0;while(0);return ip(g)|0}function sj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;fh(6);b=c[a+112>>2]|0;do if((b|0)>0){d=c[a+8>>2]|0;e=0-b|0;f=d+(e<<3)|0;if((c[d+(e<<3)+4>>2]|0)==3){g=c[f>>2]|0;break}else{g=Dd(f)|0;break}}else g=0;while(0);return ll(g)|0}function tj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=a+112|0;d=c[b>>2]|0;do if((d|0)>0){e=a+8|0;f=c[e>>2]|0;g=0-d|0;h=f+(g<<3)|0;if((c[f+(g<<3)+4>>2]|0)==3){i=d;j=c[h>>2]|0}else{g=Dd(h)|0;i=c[b>>2]|0;j=g}if((i|0)>1){g=(c[e>>2]|0)+(0-i<<3)+8|0;if((c[g+4>>2]|0)==3){k=c[g>>2]|0;l=j;break}else{k=Dd(g)|0;l=j;break}}else{k=0;l=j}}else{k=0;l=0}while(0);return ml(l,k)|0}function uj(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+112>>2]|0;c[543058]=(c[543058]|0)-b;if((b|0)<=0){d=0;e=~d;return e|0}f=c[a+8>>2]|0;a=0-b|0;b=f+(a<<3)|0;if((c[f+(a<<3)+4>>2]|0)==3){d=c[b>>2]|0;e=~d;return e|0}else{d=Dd(b)|0;e=~d;return e|0}return 0}function vj(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+112>>2]|0;c[543058]=(c[543058]|0)-b;if((b|0)<=0){d=0;e=d&-65536;return e|0}f=c[a+8>>2]|0;a=0-b|0;b=f+(a<<3)|0;if((c[f+(a<<3)+4>>2]|0)==3){d=c[b>>2]|0;e=d&-65536;return e|0}else{d=Dd(b)|0;e=d&-65536;return e|0}return 0}function wj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=a+112|0;d=c[b>>2]|0;c[543058]=(c[543058]|0)-d;if((d|0)<=0){e=0;f=0;g=e&f;return g|0}h=a+8|0;a=c[h>>2]|0;i=0-d|0;j=a+(i<<3)|0;if((c[a+(i<<3)+4>>2]|0)==3){k=d;l=c[j>>2]|0}else{d=Dd(j)|0;k=c[b>>2]|0;l=d}if((k|0)<=1){e=0;f=l;g=e&f;return g|0}d=(c[h>>2]|0)+(0-k<<3)+8|0;if((c[d+4>>2]|0)==3){e=c[d>>2]|0;f=l;g=e&f;return g|0}else{e=Dd(d)|0;f=l;g=e&f;return g|0}return 0}function xj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=a+112|0;d=c[b>>2]|0;c[543058]=(c[543058]|0)-d;if((d|0)<=0){e=0;f=0;g=e|f;return g|0}h=a+8|0;a=c[h>>2]|0;i=0-d|0;j=a+(i<<3)|0;if((c[a+(i<<3)+4>>2]|0)==3){k=d;l=c[j>>2]|0}else{d=Dd(j)|0;k=c[b>>2]|0;l=d}if((k|0)<=1){e=0;f=l;g=e|f;return g|0}d=(c[h>>2]|0)+(0-k<<3)+8|0;if((c[d+4>>2]|0)==3){e=c[d>>2]|0;f=l;g=e|f;return g|0}else{e=Dd(d)|0;f=l;g=e|f;return g|0}return 0}function yj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=a+112|0;d=c[b>>2]|0;c[543058]=(c[543058]|0)-d;if((d|0)<=0){e=0;f=0;g=e^f;return g|0}h=a+8|0;a=c[h>>2]|0;i=0-d|0;j=a+(i<<3)|0;if((c[a+(i<<3)+4>>2]|0)==3){k=d;l=c[j>>2]|0}else{d=Dd(j)|0;k=c[b>>2]|0;l=d}if((k|0)<=1){e=0;f=l;g=e^f;return g|0}d=(c[h>>2]|0)+(0-k<<3)+8|0;if((c[d+4>>2]|0)==3){e=c[d>>2]|0;f=l;g=e^f;return g|0}else{e=Dd(d)|0;f=l;g=e^f;return g|0}return 0}function zj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=a+112|0;d=c[b>>2]|0;c[543058]=(c[543058]|0)-d;do if((d|0)>0){e=a+8|0;f=c[e>>2]|0;g=0-d|0;h=f+(g<<3)|0;if((c[f+(g<<3)+4>>2]|0)==3){i=d;j=c[h>>2]|0}else{g=Dd(h)|0;i=c[b>>2]|0;j=g}if((i|0)>1){g=(c[e>>2]|0)+(0-i<<3)+8|0;if((c[g+4>>2]|0)==3){k=c[g>>2]|0;l=j;break}else{k=Dd(g)|0;l=j;break}}else{k=0;l=j}}else{k=0;l=0}while(0);return ul(l,k)|0}function Aj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=a+112|0;d=c[b>>2]|0;c[543058]=(c[543058]|0)-d;do if((d|0)>0){e=a+8|0;f=c[e>>2]|0;g=0-d|0;h=f+(g<<3)|0;if((c[f+(g<<3)+4>>2]|0)==3){i=d;j=c[h>>2]|0}else{g=Dd(h)|0;i=c[b>>2]|0;j=g}if((i|0)>1){g=(c[e>>2]|0)+(0-i<<3)+8|0;if((c[g+4>>2]|0)==3){k=c[g>>2]|0;l=j;break}else{k=Dd(g)|0;l=j;break}}else{k=0;l=j}}else{k=0;l=0}while(0);return vl(l,k)|0}function Bj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=a+112|0;d=c[b>>2]|0;c[543058]=(c[543058]|0)-d;do if((d|0)>0){e=a+8|0;f=c[e>>2]|0;g=0-d|0;h=f+(g<<3)|0;if((c[f+(g<<3)+4>>2]|0)==3){i=d;j=c[h>>2]|0}else{g=Dd(h)|0;i=c[b>>2]|0;j=g}if((i|0)>1){g=(c[e>>2]|0)+(0-i<<3)+8|0;if((c[g+4>>2]|0)==3){k=c[g>>2]|0;l=j;break}else{k=Dd(g)|0;l=j;break}}else{k=0;l=j}}else{k=0;l=0}while(0);return tl(l,k)|0}function Cj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=a+112|0;d=c[b>>2]|0;c[543058]=(c[543058]|0)-d;do if((d|0)>0){e=a+8|0;f=c[e>>2]|0;g=0-d|0;h=f+(g<<3)|0;if((c[f+(g<<3)+4>>2]|0)==3){i=d;j=c[h>>2]|0}else{g=Dd(h)|0;i=c[b>>2]|0;j=g}if((i|0)>1){g=(c[e>>2]|0)+(0-i<<3)+8|0;if((c[g+4>>2]|0)==3){k=c[g>>2]|0;l=j;break}else{k=Dd(g)|0;l=j;break}}else{k=0;l=j}}else{k=0;l=0}while(0);return rl(l,k)|0}function Dj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=a+112|0;d=c[b>>2]|0;c[543058]=(c[543058]|0)-d;do if((d|0)>0){e=a+8|0;f=c[e>>2]|0;g=0-d|0;h=f+(g<<3)|0;if((c[f+(g<<3)+4>>2]|0)==3){i=d;j=c[h>>2]|0}else{g=Dd(h)|0;i=c[b>>2]|0;j=g}if((i|0)>1){g=(c[e>>2]|0)+(0-i<<3)+8|0;if((c[g+4>>2]|0)==3){k=c[g>>2]|0;l=j;break}else{k=Dd(g)|0;l=j;break}}else{k=0;l=j}}else{k=0;l=0}while(0);return sl(l,k)|0}function Ej(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=a+112|0;d=c[b>>2]|0;if((d|0)<=0){e=0;return e|0}f=a+8|0;a=c[f>>2]|0;g=0-d|0;h=a+(g<<3)|0;if((c[a+(g<<3)+4>>2]|0)==3){i=d;j=c[h>>2]|0}else{d=Dd(h)|0;i=c[b>>2]|0;j=d}do if((i|0)>1){d=(c[f>>2]|0)+(0-i<<3)+8|0;if((c[d+4>>2]|0)==3){k=i;l=c[d>>2]|0;break}else{h=Dd(d)|0;k=c[b>>2]|0;l=h;break}}else{k=i;l=0}while(0);if((j|0)<(l|0)){if((k|0)<=0){e=0;return e|0}l=c[f>>2]|0;j=0-k|0;i=l+(j<<3)|0;if((c[l+(j<<3)+4>>2]|0)==3){e=c[i>>2]|0;return e|0}else{e=Dd(i)|0;return e|0}}else{if((k|0)<=1){e=0;return e|0}i=(c[f>>2]|0)+(0-k<<3)+8|0;if((c[i+4>>2]|0)==3){e=c[i>>2]|0;return e|0}else{e=Dd(i)|0;return e|0}}return 0}function Fj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=a+112|0;d=c[b>>2]|0;if((d|0)<=0){e=0;return e|0}f=a+8|0;a=c[f>>2]|0;g=0-d|0;h=a+(g<<3)|0;if((c[a+(g<<3)+4>>2]|0)==3){i=d;j=c[h>>2]|0}else{d=Dd(h)|0;i=c[b>>2]|0;j=d}do if((i|0)>1){d=(c[f>>2]|0)+(0-i<<3)+8|0;if((c[d+4>>2]|0)==3){k=i;l=c[d>>2]|0;break}else{h=Dd(d)|0;k=c[b>>2]|0;l=h;break}}else{k=i;l=0}while(0);if((j|0)>(l|0)){if((k|0)<=0){e=0;return e|0}l=c[f>>2]|0;j=0-k|0;i=l+(j<<3)|0;if((c[l+(j<<3)+4>>2]|0)==3){e=c[i>>2]|0;return e|0}else{e=Dd(i)|0;return e|0}}else{if((k|0)<=1){e=0;return e|0}i=(c[f>>2]|0)+(0-k<<3)+8|0;if((c[i+4>>2]|0)==3){e=c[i>>2]|0;return e|0}else{e=Dd(i)|0;return e|0}}return 0}function Gj(a){a=a|0;var b=0,d=0,e=0,f=0;if((wd(a)|0)>0)c[543058]=(c[543058]|0)+-2;if((wd(a)|0)>1){b=Cd(a,2,0)|0;if((b|0)<2147418112)if((b|0)<65536){d=0;return d|0}else e=b>>16;else e=32767}else e=1;b=(Cd(a,1,0)|0)>>16;if(!(tc(a,e)|0)){Bb(60631)|0;d=0;return d|0}if((e|0)>0){f=0;do{Ld(a,(Sk(2921764,c[769129]|0,f+b|0)|0)<<16);f=f+1|0}while((f|0)!=(e|0))}fh(e+-1|0);d=e;return d|0}function Hj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;if((wd(a)|0)>0)c[543058]=(c[543058]|0)+-2;if((wd(a)|0)>1){b=Cd(a,2,0)|0;if((b|0)<2147418112)if((b|0)<65536){d=0;return d|0}else e=b>>16;else e=32767}else e=1;b=(Cd(a,1,0)|0)>>16;if(!(tc(a,e)|0)){Bb(60631)|0;d=0;return d|0}if((e|0)>0){f=0;do{g=(f<<1)+b|0;h=(Sk(2921764,c[769129]|0,g)|0)<<16;Ld(a,((Sk(2921764,c[769129]|0,g+1|0)|0)<<24)+h|0);f=f+1|0}while((f|0)!=(e|0))}fh(e+-1|0);d=e;return d|0}function Ij(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;if((wd(a)|0)>0)c[543058]=(c[543058]|0)+-2;if((wd(a)|0)>1){b=Cd(a,2,0)|0;if((b|0)<2147418112)if((b|0)<65536){d=0;return d|0}else e=b>>16;else e=32767}else e=1;b=(Cd(a,1,0)|0)>>16;if(!(tc(a,e)|0)){Bb(60631)|0;d=0;return d|0}if((e|0)>0){f=0;do{g=(f<<2)+b|0;h=Sk(2921764,c[769129]|0,g)|0;i=((Sk(2921764,c[769129]|0,g+1|0)|0)<<8)+h|0;h=i+((Sk(2921764,c[769129]|0,g+2|0)|0)<<16)|0;Ld(a,h+((Sk(2921764,c[769129]|0,g+3|0)|0)<<24)|0);f=f+1|0}while((f|0)!=(e|0))}fh(e+-1|0);d=e;return d|0}function Jj(b){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;d=b+112|0;e=c[d>>2]|0;do if((e|0)>0){f=c[b+8>>2]|0;g=0-e|0;h=f+(g<<3)|0;if((c[f+(g<<3)+4>>2]|0)==3){i=e;j=c[h>>2]|0;break}else{g=Dd(h)|0;i=c[d>>2]|0;j=g;break}}else{i=e;j=0}while(0);e=j>>16;j=(i|0)<2?1:(i|0)<32768?i+-1|0:32767;if((i|0)>1)c[543058]=(c[543058]|0)+-2;if((j|0)<=0){k=j+-1|0;fh(k);return 0}g=b+8|0;b=i;i=0;while(1){h=i+1|0;do if((b|0)>(h|0)){f=(c[g>>2]|0)+(0-b<<3)+(h<<3)|0;if((c[f+4>>2]|0)==3){l=c[f>>2]|0;break}else{l=Dd(f)|0;break}}else l=0;while(0);f=l>>16;m=i+e|0;if((m&-8192|0)==24576){n=m+-24576|0;o=n>>6;p=n<<1&126;a[(c[(c[(c[730449]|0)+16>>2]|0)+(o<<2)>>2]|0)+p>>0]=f&15;a[(c[(c[(c[730449]|0)+16>>2]|0)+(o<<2)>>2]|0)+(p|1)>>0]=l>>>20&15}else Rk(2921764,c[769129]|0,m,f);if((h|0)==(j|0))break;b=c[d>>2]|0;i=h}k=j+-1|0;fh(k);return 0}function Kj(b){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;d=b+112|0;e=c[d>>2]|0;do if((e|0)>0){f=c[b+8>>2]|0;g=0-e|0;h=f+(g<<3)|0;if((c[f+(g<<3)+4>>2]|0)==3){i=e;j=c[h>>2]|0;break}else{g=Dd(h)|0;i=c[d>>2]|0;j=g;break}}else{i=e;j=0}while(0);e=j>>16;j=(i|0)<2?1:(i|0)<32768?i+-1|0:32767;if((i|0)>1)c[543058]=(c[543058]|0)+-2;if((j|0)<=0){k=j+-1|0;fh(k);return 0}g=b+8|0;b=i;i=0;while(1){h=i+1|0;do if((b|0)>(h|0)){f=(c[g>>2]|0)+(0-b<<3)+(h<<3)|0;if((c[f+4>>2]|0)==3){l=c[f>>2]|0;break}else{l=Dd(f)|0;break}}else l=0;while(0);f=l>>16;m=(i<<1)+e|0;if((m+-24576|0)>>>0<8191){n=(c[(c[730449]|0)+12>>2]|0)+((m<<1)+-49152)|0;a[n>>0]=f&15;o=n+1|0;a[o>>0]=f>>>4&15;n=o+1|0;a[n>>0]=f>>>8&15;a[n+1>>0]=f>>>12&15}else{Rk(2921764,c[769129]|0,m,f&255);Rk(2921764,c[769129]|0,m+1|0,f>>>8&255)}if((h|0)==(j|0))break;b=c[d>>2]|0;i=h}k=j+-1|0;fh(k);return 0}function Lj(b){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;d=b+112|0;e=c[d>>2]|0;do if((e|0)>0){f=c[b+8>>2]|0;g=0-e|0;h=f+(g<<3)|0;if((c[f+(g<<3)+4>>2]|0)==3){i=e;j=c[h>>2]|0;break}else{g=Dd(h)|0;i=c[d>>2]|0;j=g;break}}else{i=e;j=0}while(0);e=j>>16;j=(i|0)<2?1:(i|0)<32768?i+-1|0:32767;if((i|0)>1)c[543058]=(c[543058]|0)+-2;if((j|0)<=0){k=j+-1|0;fh(k);return 0}g=b+8|0;b=i;i=0;while(1){h=i+1|0;do if((b|0)>(h|0)){f=(c[g>>2]|0)+(0-b<<3)+(h<<3)|0;if((c[f+4>>2]|0)==3){l=c[f>>2]|0;break}else{l=Dd(f)|0;break}}else l=0;while(0);f=(i<<2)+e|0;if((f+-24576|0)>>>0<8189){m=(c[(c[730449]|0)+12>>2]|0)+((f<<1)+-49152)|0;a[m>>0]=l&15;n=m+1|0;a[n>>0]=l>>>4&15;m=n+1|0;a[m>>0]=l>>>8&15;n=m+1|0;a[n>>0]=l>>>12&15;m=n+1|0;a[m>>0]=l>>>16&15;n=m+1|0;a[n>>0]=l>>>20&15;m=n+1|0;a[m>>0]=l>>>24&15;a[m+1>>0]=l>>>28}else{Rk(2921764,c[769129]|0,f,l&255);Rk(2921764,c[769129]|0,f+1|0,l>>>8&255);Rk(2921764,c[769129]|0,f+2|0,l>>>16&255);Rk(2921764,c[769129]|0,f+3|0,l>>>24)}if((h|0)==(j|0))break;b=c[d>>2]|0;i=h}k=j+-1|0;fh(k);return 0}function Mj(a){a=a|0;var b=0,d=0;b=c[730442]|0;d=Dv(b|0,((b|0)<0)<<31>>31|0,16)|0;b=xv(d|0,G()|0,60,0)|0;G()|0;Ld(a,b);return 1}function Nj(a){a=a|0;Kd(a);return 1}function Oj(a){a=a|0;if(!(c[543086]|0))eb(60600,2e3);c[543086]=1;Kd(a);return 1}function Pj(a){a=a|0;if(!(c[543085]|0))eb(60567,2e3);c[543085]=1;Kd(a);Ld(a,0);return 2}function Qj(a){a=a|0;Kd(a);Ld(a,0);return 2}function Rj(a){a=a|0;return 0}function Sj(a){a=a|0;c[785588]=1;lk(a,0);return 1}function Tj(a){a=a|0;c[785588]=1;lk(a,1);return 1}function Uj(b){b=b|0;var c=0,d=0,e=0;c=Cd(b,1,0)|0;d=c>>16;e=Gd(b,2,0)|0;if(!e){a[3076126+(d<<6)>>0]=0;return 0}if((c+-65536|0)>>>0>327679)return 0;Yu(3076126+(d<<6)|0,e,16)|0;return 0}function Vj(a){a=a|0;var b=0,d=0,e=0,f=0;b=Ia;Ia=Ia+16|0;d=b;c[d>>2]=255;if((wd(a)|0)>0?(e=Gd(a,1,d)|0,(e|0)!=0):0){Sd(a,(Sl(e)|0)==0&1);f=1}else f=0;Ia=b;return f|0}function Wj(b){b=b|0;var d=0,e=0;d=Cd(b,1,0)|0;if(!(a[3066732]|0)){Bb(60537)|0;e=0;return e|0}if(d>>>0>4194303){Ld(b,0);e=1;return e|0}else{Ld(b,c[3067756+(d>>16<<2)>>2]|0);e=1;return e|0}return 0}function Xj(b){b=b|0;var d=0,e=0;d=Cd(b,1,0)|0;e=Cd(b,2,0)|0;if(!(a[3066732]|0)){Bb(60507)|0;return 0}if(d>>>0>4194303)return 0;b=3067756+(d>>16<<2)|0;if((c[b>>2]|0)!=(e|0))c[785589]=1;c[b>>2]=e;return 0}function Yj(b){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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;d=Ia;Ia=Ia+112|0;e=d+64|0;f=d+108|0;g=d+104|0;h=d+100|0;i=d+72|0;j=d;fh(16);a:do if((wd(b)|0)>0){k=(Cd(b,1,0)|0)>>16;switch(k|0){case 1:{l=4;break a;break}case 0:{of(c[543065]|0,2,0)|0;m=(c[785516]|0)+(c[768178]|0)|0;n=((m|0)<2097152?m:2097152)<<6;o=(n|0)>0?n:0;p=0;l=15;break a;break}case 2:{q=Sg(Mg(1)|0)|0;r=2;l=85;break a;break}default:{n=(k|0)==3?c[786057]<<16:0;switch(k|0){case 5:{q=2686976;r=k;l=85;break a;break}case 4:{ds();m=c[482628]|0;if(!m){Md(b,3144900,0)|0;Ia=d;return 1}else{s=kq((Pt(m)|0)+16|0)|0;ys(c[482628]|0,s)|0;Md(b,s,Pt(s)|0)|0;mq(s);Ia=d;return 1}break}case 6:{s=Pt(3074076)|0;Md(b,3074076,s>>>0<1024?s:1024)|0;Ia=d;return 1}case 7:{q=c[785580]<<16;r=7;l=85;break a;break}case 9:{q=(pr()|0)<<16;r=9;l=85;break a;break}case 11:{q=(Fk()|0)<<16;r=11;l=85;break a;break}case 13:{ub();q=4128768-((((c[482624]<<3)+8|0)/2|0)<<16)|0;r=13;l=85;break a;break}default:{o=n;p=k;l=15;break a}}}}}else l=4;while(0);if((l|0)==4){o=Sg(Mg(0)|0)|0;p=1;l=15}b:do if((l|0)==15)switch(p|0){case 12:{q=1507328;r=p;l=85;break b;break}case 14:{q=6815744;r=p;l=85;break b;break}case 15:{ub();t=((((c[482624]<<3)+8|0)/2|0)<<16)+4194304|0;break b;break}default:{k=(p|0)==10?c[785518]<<16:(p|0)==8?c[785581]<<16:o;if((p+-16|0)>>>0<11)u=Zh(p)|0;else u=k;if((p+-46|0)>>>0<11){k=Zh(p)|0;if((k|0)==-65536)v=Zh(p+-30|0)|0;else v=k}else if((p|0)==29){t=Nr()|0;break b}else v=u;k=(p|0)==30;n=(p|0)==31;s=(p|0)==28;switch(p|0){case 28:case 30:case 31:{if(!((Sk(2921764,c[769129]|0,24365)|0)&1)){if(k)Sd(b,0);if(n)Md(b,3144900,0)|0;if(!s){Ia=d;return 1}Sd(b,0);Ia=d;return 1}ds();if((a[3069040]|0)!=0&(c[768034]|0)!=0|(c[481715]|0)!=0){if(!(c[785515]|0))eb(60360,2e3);c[785515]=1}if(s)if((Ad(b,2)|0)==3){Sd(b,(co((Cd(b,2,0)|0)>>16)|0)!=0&1);Ia=d;return 1}else{Ld(b,0);Ia=d;return 1}if(k){Sd(b,(c[786056]|0)>0&1);Ia=d;return 1}if(n){if(!(c[786056]|0)){Md(b,3144900,0)|0;Ia=d;return 1}Md(b,3143968,1)|0;n=0;do{k=n;n=n+1|0;a[3143968+k>>0]=a[3143968+n>>0]|0}while((n|0)!=255);c[786056]=(c[786056]|0)+-1;Ia=d;return 1}else w=v;break}default:if((p+-32|0)>>>0<9?((Sk(2921764,c[769129]|0,24365)|0)&1|0)!=0:0){if((a[3069040]|0)!=0&(c[768034]|0)!=0|(c[481715]|0)!=0){if(!(c[785515]|0))eb(60384,2e3);c[785515]=1}Rr(f,g,h);n=(p|0)==36?c[768436]|0:(p|0)==35?c[768435]|0:(p|0)==34?c[h>>2]|0:(p|0)==33?c[g>>2]|0:(p|0)==32?c[f>>2]|0:v;if(!((Sk(2921764,c[769129]|0,24365)|0)&4))x=n;else x=(p|0)==39?c[768438]|0:(p|0)==38?c[768437]|0:n;w=x<<16}else w=v}switch(p|0){case 37:{n=c[768175]<<16;c[768175]=0;t=n;break b;break}case 57:{Sd(b,(ar()|0)!=0&1);Ia=d;return 1}default:{if((p&-8|0)==64){Kd(b);Ia=d;return 1}do if((p+-80|0)>>>0>=6){if((p+-90|0)>>>0<6){vr(i,1);y=((p|0)==95?c[i+24>>2]|0:(p|0)==94?c[i+20>>2]|0:(p|0)==93?c[i+16>>2]|0:(p|0)==92?c[i+12>>2]|0:(p|0)==91?c[i+8>>2]|0:(p|0)==90?c[i+4>>2]|0:w)<<16;break}if((p|0)==99){n=(c[785516]|0)+(c[768178]|0)|0;k=((n|0)<2097152?n:2097152)<<6;t=(k|0)>0?k:0;break b}else y=w}else{vr(i,0);y=((p|0)==85?c[i+24>>2]|0:(p|0)==84?c[i+20>>2]|0:(p|0)==83?c[i+16>>2]|0:(p|0)==82?c[i+12>>2]|0:(p|0)==81?c[i+8>>2]|0:(p|0)==80?c[i+4>>2]|0:w)<<16}while(0);switch(p|0){case 100:{if(!(Ag()|0)){Kd(b);Ia=d;return 1}else{k=Ag()|0;Md(b,k,Pt(Ag()|0)|0)|0;Ia=d;return 1}break}case 101:{if((a[3069040]|0)!=0&(c[768034]|0)!=0){Md(b,3069040,Pt(3069040)|0)|0;Ia=d;return 1}else{Kd(b);Ia=d;return 1}break}case 102:{k=la(22,0)|0;n=k;if(!k){Kd(b);Ia=d;return 1}else{Md(b,n,Pt(n)|0)|0;Ia=d;return 1}break}case 103:{Md(b,3066645,Pt(3066645)|0)|0;Ia=d;return 1}case 104:{Sd(b,0);Ia=d;return 1}case 106:{c[e>>2]=3074076;c[e+4>>2]=3066645;it(1708384,102731,e)|0;tq(1708384,Pt(1708384)|0,j)|0;Md(b,j,Pt(j)|0)|0;Ia=d;return 1}case 107:{t=c[481788]<<16;break b;break}default:{if((p|0)!=109){q=(p|0)==108?c[543493]<<16:y;r=p;l=85;break b}t=((c[543952]|0)/4|0)<<16;break b}}}}}}while(0);c:do if((l|0)==85)switch(r|0){case 110:{Sd(b,c[482725]|0);Ia=d;return 1}case 120:{Sd(b,(gn()|0)>0&1);Ia=d;return 1}case 121:{Sd(b,(hn()|0)>0&1);Ia=d;return 1}case 122:{Sd(b,c[533463]|0);Ia=d;return 1}case 124:{Nd(b,3144900)|0;Ia=d;return 1}default:{t=q;break c}}while(0);Ld(b,t);Ia=d;return 1}function Zj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=Ia;Ia=Ia+16|0;d=b;wd(a)|0;c[d>>2]=0;e=Gd(a,1,d)|0;f=c[d>>2]|0;if(!e){g=0;Ia=b;return g|0}if((wd(a)|0)>1)h=(Cd(a,2,0)|0)>>16;else h=1;if((wd(a)|0)>2?(Ad(a,3)|0)==3:0)i=(Cd(a,3,0)|0)>>16;else i=f;d=f+1|0;j=((h|0)<0?d:0)+h|0;h=((i|0)<0?d:0)+i|0;if((j|0)>(f|0)|((h|0)<(j|0)|(h|0)<1)){Md(a,e,0)|0;g=1;Ia=b;return g|0}else{i=(j|0)<(f|0)?j:f;j=(i|0)>1?i:1;i=(h|0)<(f|0)?h:f;f=((i|0)>1?i:1)-j+1|0;Md(a,e+j+-1|0,f)|0;fh((f|0)/2|0);g=1;Ia=b;return g|0}return 0}function _j(b){b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=Ia;Ia=Ia+16|0;d=c;e=wd(b)|0;if((e|0)<=16)if((e|0)>0){f=0;g=d}else{Md(b,d,e)|0;fh(e);Ia=c;return 1}else{d=kq(e)|0;f=d;g=d}d=0;do{h=d;d=d+1|0;a[g+h>>0]=(Cd(b,d,0)|0)>>>16}while((d|0)!=(e|0));Md(b,g,e)|0;if(!f){fh(e);Ia=c;return 1}mq(f);fh(e);Ia=c;return 1}function $j(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ia;Ia=Ia+16|0;e=d;c[e>>2]=32768;if((wd(b)|0)>0)f=Gd(b,1,e)|0;else f=0;if((wd(b)|0)>1)g=((Cd(b,2,0)|0)>>16)+-1|0;else g=0;if((wd(b)|0)>2){h=Cd(b,3,0)|0;if((h|0)<65536){i=0;Ia=d;return i|0}else j=h>>16}else j=1;if(!(tc(b,j)|0)){Bb(60339)|0;i=0;Ia=d;return i|0}fh(j);h=j+g|0;if((j|0)<=0){i=j;Ia=d;return i|0}if(!f){k=g;do{Kd(b);k=k+1|0}while((k|0)<(h|0));i=j;Ia=d;return i|0}k=g;do{if((k|0)>-1?k>>>0<(c[e>>2]|0)>>>0:0)Ld(b,(((a[f+k>>0]|0)+256|0)%256|0)<<16);else Kd(b);k=k+1|0}while((k|0)<(h|0));i=j;Ia=d;return i|0}function ak(b){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,q=0,r=0,s=0,t=0,u=0;d=Ia;Ia=Ia+16|0;e=d+8|0;f=d+12|0;g=d+4|0;h=d;c[e>>2]=0;if((wd(b)|0)<=0){i=0;Ia=d;return i|0}j=Gd(b,1,e)|0;if(!j){i=0;Ia=d;return i|0}k=c[e>>2]|0;Vd(b,0,1);fh(k);if((wd(b)|0)>2)l=Fd(b,3)|0;else l=1;e=(Cd(b,3,0)|0)==2;m=e?1:l;if((Ad(b,2)|0)==3){l=(Cd(b,2,0)|0)>>16;e=(l|0)<(k|0)?l:k;l=(e|0)>1?e:1;e=iq(l+1|0)|0;a:do if((k|0)>0){if(!m){n=1;o=0;while(1){jq(e,0,l);p=k-o|0;q=(l|0)<(p|0)?l:p;Hv(e|0,j+o|0,q|0)|0;c[g>>2]=0;Md(b,e,q)|0;Xd(b,-2,n);o=o+l|0;if((k|0)<=(o|0))break a;else n=n+1|0}}n=1;o=0;while(1){jq(e,0,l);q=k-o|0;p=(l|0)<(q|0)?l:q;Hv(e|0,j+o|0,p|0)|0;c[g>>2]=0;if(!(Uc(e,Pt(e)|0,g)|0))Md(b,e,p)|0;else Ld(b,c[g>>2]|0);Xd(b,-2,n);o=o+l|0;if((k|0)<=(o|0))break;else n=n+1|0}}while(0);mq(e);i=1;Ia=d;return i|0}c[g>>2]=0;if((wd(b)|0)>1?(e=Gd(b,2,g)|0,(e|0)!=0):0){r=(c[g>>2]|0)==0;s=e}else{c[g>>2]=1;r=0;s=95838}b:do if((s|0)==0|r){if((k|0)>0){g=f+1|0;if(!m){e=1;l=0;while(1){a[f>>0]=a[j+l>>0]|0;a[g>>0]=0;Md(b,f,1)|0;Xd(b,-2,e);l=l+1|0;if((l|0)==(k|0))break b;else e=e+1|0}}e=1;l=0;while(1){n=a[j+l>>0]|0;a[f>>0]=n;a[g>>0]=0;if((n+-48&255)<10)Ld(b,(n<<24>>24<<16)+-3145728|0);else Md(b,f,1)|0;Xd(b,-2,e);l=l+1|0;if((l|0)==(k|0))break;else e=e+1|0}}}else{e=iq(k+1|0)|0;Hv(e|0,j|0,k|0)|0;c:do if(!m){l=1;g=0;while(1){n=a[s>>0]|0;o=g;while(1){t=(o|0)>=(k|0);if(t|(a[e+o>>0]|0)==n<<24>>24)break;o=o+1|0}a[e+o>>0]=0;c[h>>2]=0;Md(b,e+g|0,o-g|0)|0;Xd(b,-2,l);if(t)break c;l=l+1|0;g=o+1|0}}else{g=1;l=0;while(1){n=a[s>>0]|0;p=l;while(1){u=(p|0)>=(k|0);if(u|(a[e+p>>0]|0)==n<<24>>24)break;p=p+1|0}n=e+l|0;a[e+p>>0]=0;c[h>>2]=0;o=p-l|0;if(!(Uc(n,o,h)|0))Md(b,n,o)|0;else Ld(b,c[h>>2]|0);Xd(b,-2,g);if(u)break c;g=g+1|0;l=p+1|0}}while(0);mq(e)}while(0);i=1;Ia=d;return i|0}function bk(a){a=a|0;var b=0;if(!(wd(a)|0))b=0;else b=Sf(a)|0;return b|0}function ck(a){a=a|0;var b=0,c=0;b=wd(a)|0;if((b|0)>=1){c=1;while(1){zd(a,c);if((c|0)==(b|0))break;else c=c+1|0}}return Ec(a,b,0,0)|0}function dk(a){a=a|0;c[730460]=1;if(c[785517]|0)return 0;c[785517]=1;return 0}function ek(b){b=b|0;var c=0,d=0,e=0;c=Cd(b,1,0)|0;if((c+-65536|0)>>>0>327679){d=0;return d|0}e=3076510+(c>>>16)|0;c=a[e>>0]|0;if(!(c<<24>>24)){d=0;return d|0}Ld(b,c<<24>>24<<16);a[e>>0]=0;d=1;return d|0}function fk(a){a=a|0;var b=0;b=(Cd(a,1,0)|0)>>16;c[730442]=(c[730442]|0)+b;el();return 0}function gk(a){a=a|0;hh();return 0}function hk(a){a=a|0;c[768511]=(Cd(a,1,0)|0)>>16;return 0}function ik(a){a=a|0;var b=0;b=(Cd(a,1,0)|0)>>16;c[785580]=b;c[785581]=b;return 0}function jk(a){a=a|0;var b=0;b=(Cd(a,1,0)|0)>>16;a=(b|0)<2?b:2;b=(a|0)>0?a:0;c[3142328+(b<<2)>>2]=Mg(0)|0;c[3142340+(b<<2)>>2]=Kr()|0;return 0}function kk(b){b=b|0;var c=0,d=0,e=0;c=Cd(b,1,0)|0;d=c>>16;e=(c|0)>65535;c=e?((d|0)<7?d:7):0;if(e?(a[3100894]&1)==0:0){Sd(b,0);return 1}Ek(c);Sd(b,1);return 1}function lk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=(Cd(a,1,0)|0)>>16;e=(d|0)<7?d:7;d=(e|0)>0?e:0;if(!(wd(a)|0)){e=(b|0)==0;Ld(a,((((e?c[768194]|0:c[768386]|0)|0)==0?0:32768)|((((e?c[768193]|0:c[768385]|0)|0)==0?0:16384)|((((e?c[768192]|0:c[768384]|0)|0)==0?0:8192)|((((e?c[768191]|0:c[768383]|0)|0)==0?0:4096)|((((e?c[768190]|0:c[768382]|0)|0)==0?0:2048)|((((e?c[768189]|0:c[768381]|0)|0)==0?0:1024)|((((e?c[768188]|0:c[768380]|0)|0)==0?0:512)|((((e?c[768187]|0:c[768379]|0)|0)==0?0:256)|((((e?c[768186]|0:c[768378]|0)|0)==0?0:128)|((((e?c[768185]|0:c[768377]|0)|0)==0?0:64)|((((e?c[768184]|0:c[768376]|0)|0)==0?0:32)|((((e?c[768183]|0:c[768375]|0)|0)==0?0:16)|((((e?c[768182]|0:c[768374]|0)|0)==0?0:8)|((((e?c[768181]|0:c[768373]|0)|0)==0?0:4)|((((e?c[768180]|0:c[768372]|0)|0)==0?0:2)|((e?c[768179]|0:c[768371]|0)|0)!=0)))))))))))))))<<16);return}if((wd(a)|0)>1)f=(Cd(a,2,0)|0)>>16;else f=0;if((f|d)>>>0<8)if(!b)g=c[3072716+(f<<5)+(d<<2)>>2]|0;else g=c[3073484+(f<<5)+(d<<2)>>2]|0;else g=0;Sd(a,g);fh(4);return}function mk(b,d,e,f,g,h,i,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;n=Ia;Ia=Ia+32|0;o=n+20|0;p=n+16|0;q=n+12|0;r=n+8|0;s=n+4|0;t=n;c[o>>2]=e;c[p>>2]=f;c[q>>2]=g;c[r>>2]=h;c[s>>2]=i;c[t>>2]=j;Ln(b);Kn(b);In(b,d,o,p,q,r,s,t);Mn(b);j=c[s>>2]|0;i=c[t>>2]|0;if((j|0)<1|(i|0)<1){Ia=n;return}h=(k|0)!=0;k=(l|0)!=0;if(h&k){l=b+16|0;g=d+16|0;f=j;e=i;u=0;while(1){if((f|0)>0){v=~u;w=e;x=f;y=0;while(1){a[(c[(c[g>>2]|0)+((c[r>>2]|0)+u<<2)>>2]|0)+((c[q>>2]|0)+y)>>0]=c[m+((a[(c[(c[l>>2]|0)+((c[p>>2]|0)+v+w<<2)>>2]|0)+(x+~y+(c[o>>2]|0))>>0]&15)<<2)>>2];y=y+1|0;z=c[s>>2]|0;A=c[t>>2]|0;if((y|0)>=(z|0)){B=A;C=z;break}else{w=A;x=z}}}else{B=e;C=f}u=u+1|0;if((u|0)>=(B|0))break;else{f=C;e=B}}Ia=n;return}if(k){k=b+16|0;B=d+16|0;e=j;C=i;f=0;while(1){if((e|0)>0){u=~f;l=C;g=0;while(1){a[(c[(c[B>>2]|0)+((c[r>>2]|0)+f<<2)>>2]|0)+((c[q>>2]|0)+g)>>0]=c[m+((a[(c[(c[k>>2]|0)+((c[p>>2]|0)+u+l<<2)>>2]|0)+((c[o>>2]|0)+g)>>0]&15)<<2)>>2];g=g+1|0;x=c[s>>2]|0;w=c[t>>2]|0;if((g|0)>=(x|0)){D=w;E=x;break}else l=w}}else{D=C;E=e}f=f+1|0;if((f|0)>=(D|0))break;else{e=E;C=D}}Ia=n;return}if(h){h=b+16|0;D=d+16|0;C=j;E=i;e=0;while(1){if((C|0)>0){f=C;k=0;do{a[(c[(c[D>>2]|0)+((c[r>>2]|0)+e<<2)>>2]|0)+((c[q>>2]|0)+k)>>0]=c[m+((a[(c[(c[h>>2]|0)+((c[p>>2]|0)+e<<2)>>2]|0)+(f+~k+(c[o>>2]|0))>>0]&15)<<2)>>2];k=k+1|0;f=c[s>>2]|0}while((k|0)<(f|0));F=c[t>>2]|0;G=f}else{F=E;G=C}e=e+1|0;if((e|0)>=(F|0))break;else{C=G;E=F}}Ia=n;return}F=d+16|0;d=b+16|0;b=j;j=i;i=0;while(1){if(!b)H=j;else{E=(c[(c[F>>2]|0)+((c[r>>2]|0)+i<<2)>>2]|0)+(c[q>>2]|0)|0;G=(c[(c[d>>2]|0)+((c[p>>2]|0)+i<<2)>>2]|0)+(c[o>>2]|0)|0;C=b;while(1){a[E>>0]=c[m+((a[G>>0]&15)<<2)>>2];C=C+-1|0;if(!C)break;else{E=E+1|0;G=G+1|0}}H=c[t>>2]|0}G=i+1|0;if((G|0)>=(H|0))break;b=c[s>>2]|0;j=H;i=G}Ia=n;return}function nk(b,e,f,g,h,i){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if((b|0)==0|(e|0)==0|(h|0)==0|(i|0)==0)return;j=c[b>>2]|0;k=c[b+4>>2]|0;if((j|0)==(h|0)&(k|0)==(i|0)){ok(b,e,0,0,f,g,h,i);return}l=(j<<16|0)/(h|0)|0;j=(k<<16|0)/(i|0)|0;m=c[e+36>>2]|0;n=(m|0)>(g|0);o=m-g|0;p=i-(n?o:0)|0;i=n?m:g;g=c[e+28>>2]|0;m=(g|0)>(f|0);q=g-f|0;r=B(q,l)|0;s=(m?r:0)+((l|0)/2|0)|0;r=h-(m?q:0)|0;q=m?g:f;f=(c[e+32>>2]|0)-q|0;g=(r|0)<(f|0)?r:f;f=(c[e+40>>2]|0)-i|0;r=(p|0)<(f|0)?p:f;f=r+i|0;if((r|0)<=0)return;r=b+16|0;b=e+16|0;if((g|0)<=0){e=i;do e=e+1|0;while((e|0)<(f|0));return}e=B(o,j)|0;o=((j|0)<0?k:0)+((j|0)/2|0)+(n?e:0)|0;e=i;while(1){i=c[(c[r>>2]|0)+(o>>16<<2)>>2]|0;if(!(c[768171]&131072)){n=(c[(c[b>>2]|0)+(e<<2)>>2]|0)+q|0;k=s;p=0;while(1){m=d[i+(k>>16)>>0]|0;if(!(m&240)){h=c[768168]|0;a[n>>0]=((h^15)&(d[n>>0]|0)|h&m&c[768169])&15}p=p+1|0;if((p|0)>=(g|0))break;else{n=n+1|0;k=k+l|0}}}else{k=e<<2&12^12;n=s;p=0;while(1){m=d[i+(n>>16)>>0]|0;if((m&240|0)==0?(h=p+q|0,t=c[768171]|0,u=t>>k>>>(h&3^3)&1,(t&65536|0)==0|(u|0)==0):0){t=(c[(c[b>>2]|0)+(e<<2)>>2]|0)+h|0;h=c[768168]|0;a[t>>0]=((h^15)&(d[t>>0]|0)|h&c[3072540+((m&15)<<2)>>2]>>(u<<2)&c[768169])&15}p=p+1|0;if((p|0)>=(g|0))break;else n=n+l|0}}e=e+1|0;if((e|0)>=(f|0))break;else o=o+j|0}return}function ok(b,e,f,g,h,i,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;l=Ia;Ia=Ia+32|0;m=l+20|0;n=l+16|0;o=l+12|0;p=l+8|0;q=l+4|0;r=l;c[m>>2]=f;c[n>>2]=g;c[o>>2]=h;c[p>>2]=i;c[q>>2]=j;c[r>>2]=k;if(!((b|0)!=0&(e|0)!=0)){Ia=l;return}In(b,e,m,n,o,p,q,r);if(!((c[r>>2]|0)>0&(c[q>>2]|0)>0)){Ia=l;return}k=b+16|0;b=e+16|0;e=0;do{j=(c[(c[k>>2]|0)+((c[n>>2]|0)+e<<2)>>2]|0)+(c[m>>2]|0)|0;i=c[q>>2]|0;if(!(c[768171]&131072)){if(i|0){h=(c[(c[b>>2]|0)+((c[p>>2]|0)+e<<2)>>2]|0)+(c[o>>2]|0)|0;g=j;f=i;while(1){s=d[g>>0]|0;if(!(s&240)){t=c[768168]|0;a[h>>0]=((t^15)&(d[h>>0]|0)|t&s&c[768169])&15}f=f+-1|0;if(!f)break;else{h=h+1|0;g=g+1|0}}}}else if((i|0)>0){g=i;h=j;f=0;while(1){s=d[h>>0]|0;if((s&240|0)==0?(t=(c[o>>2]|0)+f|0,u=(c[p>>2]|0)+e|0,v=c[768171]|0,w=v>>(u<<2&12^12)>>>(t&3^3)&1,(v&65536|0)==0|(w|0)==0):0){v=(c[(c[b>>2]|0)+(u<<2)>>2]|0)+t|0;t=c[768168]|0;a[v>>0]=((t^15)&(d[v>>0]|0)|t&c[3072540+((s&15)<<2)>>2]>>(w<<2)&c[768169])&15;x=c[q>>2]|0}else x=g;f=f+1|0;if((f|0)>=(x|0))break;else{g=x;h=h+1|0}}}e=e+1|0}while((e|0)<(c[r>>2]|0));Ia=l;return}function pk(b,e,f,g,h,i,j,k,l){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;m=Ia;Ia=Ia+32|0;n=m+20|0;o=m+16|0;p=m+12|0;q=m+8|0;r=m+4|0;s=m;c[n>>2]=f;c[o>>2]=g;c[p>>2]=h;c[q>>2]=i;c[r>>2]=j;c[s>>2]=k;if(!((b|0)!=0&(e|0)!=0)){Ia=m;return}In(b,e,n,o,p,q,r,s);if(!((c[s>>2]|0)>0&(c[r>>2]|0)>0)){Ia=m;return}k=b+16|0;b=e+16|0;e=0;do{j=(c[(c[k>>2]|0)+((c[o>>2]|0)+e<<2)>>2]|0)+(c[n>>2]|0)|0;i=c[r>>2]|0;if(!(c[768171]&131072)){if(i|0){h=(c[(c[b>>2]|0)+((c[q>>2]|0)+e<<2)>>2]|0)+(c[p>>2]|0)|0;g=j;f=i;while(1){t=c[l+((a[g>>0]&15)<<2)>>2]|0;if(!(t&240)){u=c[768168]|0;a[h>>0]=((u^15)&(d[h>>0]|0)|u&t&c[768169])&15}f=f+-1|0;if(!f)break;else{h=h+1|0;g=g+1|0}}}}else if((i|0)>0){g=i;h=j;f=0;while(1){t=c[l+((a[h>>0]&15)<<2)>>2]|0;if((t&240|0)==0?(u=(c[p>>2]|0)+f|0,v=(c[q>>2]|0)+e|0,w=c[768171]|0,x=w>>(v<<2&12^12)>>>(u&3^3)&1,(w&65536|0)==0|(x|0)==0):0){w=(c[(c[b>>2]|0)+(v<<2)>>2]|0)+u|0;u=c[768168]|0;a[w>>0]=((u^15)&(d[w>>0]|0)|u&c[3072540+((t&15)<<2)>>2]>>(x<<2)&c[768169])&15;y=c[r>>2]|0}else y=g;f=f+1|0;if((f|0)>=(y|0))break;else{g=y;h=h+1|0}}}e=e+1|0}while((e|0)<(c[s>>2]|0));Ia=m;return}function qk(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;i=c[768171]|0;if((g|0)<0)return;j=b+28|0;k=b+32|0;l=b+36|0;m=b+40|0;n=(i&65536|0)==0;o=b+16|0;b=1-g|0;p=g;g=0;while(1){q=p+e|0;r=g+f|0;s=c[j>>2]|0;if(((((s|0)<=(q|0)?(c[k>>2]|0)>(q|0):0)?(c[l>>2]|0)<=(r|0):0)?(c[m>>2]|0)>(r|0):0)?(t=i>>(r<<2&12^12)>>>(q&3^3)&1,n|(t|0)==0):0){u=(c[(c[o>>2]|0)+(r<<2)>>2]|0)+q|0;v=c[768168]|0;a[u>>0]=((v^15)&(d[u>>0]|0)|v&h>>(t<<2)&c[768169])&15;w=c[j>>2]|0}else w=s;s=g+e|0;t=p+f|0;if(((((w|0)<=(s|0)?(c[k>>2]|0)>(s|0):0)?(c[l>>2]|0)<=(t|0):0)?(c[m>>2]|0)>(t|0):0)?(v=i>>(t<<2&12^12)>>>(s&3^3)&1,n|(v|0)==0):0){u=(c[(c[o>>2]|0)+(t<<2)>>2]|0)+s|0;x=c[768168]|0;a[u>>0]=((x^15)&(d[u>>0]|0)|x&h>>(v<<2)&c[768169])&15;y=c[j>>2]|0}else y=w;v=e-p|0;if(((((y|0)<=(v|0)?(c[k>>2]|0)>(v|0):0)?(c[l>>2]|0)<=(r|0):0)?(c[m>>2]|0)>(r|0):0)?(x=i>>(r<<2&12^12)>>>(v&3^3)&1,n|(x|0)==0):0){u=(c[(c[o>>2]|0)+(r<<2)>>2]|0)+v|0;r=c[768168]|0;a[u>>0]=((r^15)&(d[u>>0]|0)|r&h>>(x<<2)&c[768169])&15;z=c[j>>2]|0}else z=y;x=e-g|0;if(((((z|0)<=(x|0)?(c[k>>2]|0)>(x|0):0)?(c[l>>2]|0)<=(t|0):0)?(c[m>>2]|0)>(t|0):0)?(r=i>>(t<<2&12^12)>>>(x&3^3)&1,n|(r|0)==0):0){u=(c[(c[o>>2]|0)+(t<<2)>>2]|0)+x|0;t=c[768168]|0;a[u>>0]=((t^15)&(d[u>>0]|0)|t&h>>(r<<2)&c[768169])&15;A=c[j>>2]|0}else A=z;r=f-g|0;if(((((A|0)<=(v|0)?(c[k>>2]|0)>(v|0):0)?(c[l>>2]|0)<=(r|0):0)?(c[m>>2]|0)>(r|0):0)?(t=i>>(r<<2&12^12)>>>(v&3^3)&1,n|(t|0)==0):0){u=(c[(c[o>>2]|0)+(r<<2)>>2]|0)+v|0;v=c[768168]|0;a[u>>0]=((v^15)&(d[u>>0]|0)|v&h>>(t<<2)&c[768169])&15;B=c[j>>2]|0}else B=A;t=f-p|0;if(((((B|0)<=(x|0)?(c[k>>2]|0)>(x|0):0)?(c[l>>2]|0)<=(t|0):0)?(c[m>>2]|0)>(t|0):0)?(v=i>>(t<<2&12^12)>>>(x&3^3)&1,n|(v|0)==0):0){u=(c[(c[o>>2]|0)+(t<<2)>>2]|0)+x|0;x=c[768168]|0;a[u>>0]=((x^15)&(d[u>>0]|0)|x&h>>(v<<2)&c[768169])&15;C=c[j>>2]|0}else C=B;if(((((C|0)<=(q|0)?(c[k>>2]|0)>(q|0):0)?(c[l>>2]|0)<=(r|0):0)?(c[m>>2]|0)>(r|0):0)?(v=i>>(r<<2&12^12)>>>(q&3^3)&1,n|(v|0)==0):0){x=(c[(c[o>>2]|0)+(r<<2)>>2]|0)+q|0;q=c[768168]|0;a[x>>0]=((q^15)&(d[x>>0]|0)|q&h>>(v<<2)&c[768169])&15;D=c[j>>2]|0}else D=C;if(((((D|0)<=(s|0)?(c[k>>2]|0)>(s|0):0)?(c[l>>2]|0)<=(t|0):0)?(c[m>>2]|0)>(t|0):0)?(v=i>>(t<<2&12^12)>>>(s&3^3)&1,n|(v|0)==0):0){q=(c[(c[o>>2]|0)+(t<<2)>>2]|0)+s|0;s=c[768168]|0;a[q>>0]=((s^15)&(d[q>>0]|0)|s&h>>(v<<2)&c[768169])&15}v=g+1|0;s=(b|0)<0;q=p+-1|0;p=s?p:q;if((p|0)<=(g|0))break;else{b=(v-(s?0:q)<<1|1)+b|0;g=v}}return}function rk(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;if((c[b+28>>2]|0)>(e|0))return;if((c[b+32>>2]|0)<=(e|0))return;if((c[b+36>>2]|0)>(f|0))return;if((c[b+40>>2]|0)<=(f|0))return;i=h>>(f<<2&12^12)>>>(e&3^3)&1;if(!((h&65536|0)==0|(i|0)==0))return;h=(c[(c[b+16>>2]|0)+(f<<2)>>2]|0)+e|0;e=c[768168]|0;a[h>>0]=((e^15)&(d[h>>0]|0)|e&g>>(i<<2)&c[768169])&15;return}function sk(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var 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;i=c[768171]|0;if((c[b+36>>2]|0)>(g|0))return 0;if((c[b+40>>2]|0)<=(g|0))return 0;j=h&15;k=(i&65536|0)!=0;l=k?16:h>>>4&15;h=i>>(12-(g<<2)&12);i=((h&4|0)==0?j:l)<<8|((h&8|0)==0?j:l)|((h&2|0)==0?j:l)<<16|((h&1|0)==0?j:l)<<24;l=(f|0)<(e|0);j=l?e:f;h=l?f:e;e=c[b+28>>2]|0;f=(h|0)<(e|0)?e:h;h=c[b+32>>2]|0;e=(j|0)<(h|0)?j:h+-1|0;h=b+16|0;b=c[(c[h>>2]|0)+(g<<2)>>2]|0;j=b+f|0;l=b+(f+3&-4)|0;if(k){if((f|0)>(e|0)){m=(e|0)<(f|0);n=1-f|0;o=n+e|0;p=m?0:o;return p|0}k=j;b=f;while(1){q=i>>>(b<<3&24);if(!(q&16)){r=c[768168]|0;a[k>>0]=((r^15)&(d[k>>0]|0)|r&q&c[768169])&15}if((b|0)<(e|0)){k=k+1|0;b=b+1|0}else break}m=(e|0)<(f|0);n=1-f|0;o=n+e|0;p=m?0:o;return p|0}b=c[768169]|0;k=b<<8|b|b<<16|b<<24;b=c[768168]|0;q=b<<8|b|b<<16|b<<24;a:do if((f|0)>(e|0))s=f;else{b=j;r=f;while(1){t=r&3;if(!t){s=r;break a}u=c[768168]|0;a[b>>0]=((u^15)&(d[b>>0]|0)|u&i>>>(t<<3)&c[768169])&15;t=r+1|0;if((r|0)<(e|0)){b=b+1|0;r=t}else{s=t;break}}}while(0);j=e+1&-4;if((s|0)<(j|0)){r=q^252645135;b=k&i&q;q=s+(j+-1-s&-4)|0;k=l;l=s;while(1){c[k>>2]=(c[k>>2]&r|b)&252645135;l=l+4|0;if((l|0)>=(j|0))break;else k=k+4|0}v=q+4|0}else v=s;if((v|0)>(e|0)){m=(e|0)<(f|0);n=1-f|0;o=n+e|0;p=m?0:o;return p|0}s=v;while(1){v=(c[(c[h>>2]|0)+(g<<2)>>2]|0)+s|0;q=c[768168]|0;a[v>>0]=((q^15)&(d[v>>0]|0)|q&i>>>(s<<3&24)&c[768169])&15;if((s|0)<(e|0))s=s+1|0;else break}m=(e|0)<(f|0);n=1-f|0;o=n+e|0;p=m?0:o;return p|0}function tk(b,e,f,g,h,i,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0;l=c[768171]|0;m=((h|0)<0)<<31>>31;n=((g|0)<0)<<31>>31;o=zv(g|0,n|0,g|0,n|0)|0;p=G()|0;q=zv(h|0,m|0,h|0,m|0)|0;r=G()|0;s=Cv(o|0,p|0,2)|0;t=(g|0)%2|0;u=tv(s|0,G()|0,t|0,((t|0)<0)<<31>>31|0)|0;t=tv(q|0,r|0,u|0,G()|0)|0;u=uv(0,0,t|0,G()|0)|0;t=G()|0;s=Cv(q|0,r|0,2)|0;v=(h|0)%2|0;w=tv(s|0,G()|0,v|0,((v|0)<0)<<31>>31|0)|0;v=G()|0;s=tv(o|0,p|0,w|0,v|0)|0;x=uv(0,0,s|0,G()|0)|0;s=G()|0;y=uv(0,0,w|0,v|0)|0;v=G()|0;w=Dv(q|0,r|0,1)|0;z=G()|0;A=Dv(o|0,p|0,1)|0;B=G()|0;if((h|g|0)<=-1){C=0;return C|0}D=zv(o|0,p|0,-2,-1)|0;E=zv(D|0,G()|0,h|0,m|0)|0;D=G()|0;F=uv(0,0,o|0,p|0)|0;H=zv(F|0,G()|0,h|0,m|0)|0;F=i+e|0;I=j+f|0;J=b+28|0;K=(j|0)!=0;j=b+32|0;L=(i|0)!=0;i=b+36|0;M=b+40|0;N=(l&65536|0)==0;O=b+16|0;b=0;P=0;Q=E;E=D;D=0;R=h;h=m;m=0;S=H;H=G()|0;T=0;while(1){U=F+D|0;V=I+R|0;if(((((c[J>>2]|0)<=(U|0)?(c[j>>2]|0)>(U|0):0)?(c[i>>2]|0)<=(V|0):0)?(c[M>>2]|0)>(V|0):0)?(W=l>>(V<<2&12^12)>>>(U&3^3)&1,N|(W|0)==0):0){X=(c[(c[O>>2]|0)+(V<<2)>>2]|0)+U|0;Y=c[768168]|0;a[X>>0]=((Y^15)&(d[X>>0]|0)|Y&k>>(W<<2)&c[768169])&15}W=T+2|0;if(K|((R|0)!=0|(h|0)!=0)){if(L|((D|0)!=0|(m|0)!=0)){Y=e-D|0;X=f-R|0;if(((((c[J>>2]|0)<=(Y|0)?(c[j>>2]|0)>(Y|0):0)?(c[i>>2]|0)<=(X|0):0)?(c[M>>2]|0)>(X|0):0)?(Z=l>>(X<<2&12^12)>>>(Y&3^3)&1,N|(Z|0)==0):0){_=(c[(c[O>>2]|0)+(X<<2)>>2]|0)+Y|0;Y=c[768168]|0;a[_>>0]=((Y^15)&(d[_>>0]|0)|Y&k>>(Z<<2)&c[768169])&15}$=X;aa=T+3|0}else{$=f-R|0;aa=W}if(((((c[J>>2]|0)<=(U|0)?(c[j>>2]|0)>(U|0):0)?(c[i>>2]|0)<=($|0):0)?(c[M>>2]|0)>($|0):0)?(X=l>>($<<2&12^12)>>>(U&3^3)&1,N|(X|0)==0):0){Z=(c[(c[O>>2]|0)+($<<2)>>2]|0)+U|0;U=c[768168]|0;a[Z>>0]=((U^15)&(d[Z>>0]|0)|U&k>>(X<<2)&c[768169])&15}ba=aa+1|0}else ba=W;if(L|((D|0)!=0|(m|0)!=0)){W=e-D|0;if(((((c[J>>2]|0)<=(W|0)?(c[j>>2]|0)>(W|0):0)?(c[i>>2]|0)<=(V|0):0)?(c[M>>2]|0)>(V|0):0)?(X=l>>(V<<2&12^12)>>>(W&3^3)&1,N|(X|0)==0):0){U=(c[(c[O>>2]|0)+(V<<2)>>2]|0)+W|0;W=c[768168]|0;a[U>>0]=((W^15)&(d[U>>0]|0)|W&k>>(X<<2)&c[768169])&15}ca=ba+1|0}else ca=ba;X=zv(D|0,m|0,q|0,r|0)|0;W=tv(X|0,G()|0,S|0,H|0)|0;X=G()|0;do if((X|0)>(t|0)|(X|0)==(t|0)&W>>>0>u>>>0?(U=zv(R|0,h|0,o|0,p|0)|0,V=G()|0,Z=tv(U|0,V|0,S|0,H|0)|0,Y=G()|0,(Y|0)>(v|0)|(Y|0)==(v|0)&Z>>>0>y>>>0):0){Z=uv(S|0,H|0,U|0,V|0)|0;V=G()|0;if((V|0)>(s|0)|(V|0)==(s|0)&Z>>>0>x>>>0){Z=tv(R|0,h|0,-1,-1)|0;V=G()|0;U=tv(Q|0,E|0,A|0,B|0)|0;Y=G()|0;_=tv(U|0,Y|0,S|0,H|0)|0;da=V;ea=Z;fa=m;ga=D;ha=_;ia=G()|0;ja=b;ka=P;la=U;ma=Y;break}else{Y=tv(D|0,m|0,1,0)|0;U=G()|0;_=tv(b|0,P|0,w|0,z|0)|0;Z=G()|0;V=tv(_|0,Z|0,S|0,H|0)|0;na=G()|0;oa=tv(R|0,h|0,-1,-1)|0;pa=G()|0;qa=tv(Q|0,E|0,A|0,B|0)|0;ra=G()|0;sa=tv(V|0,na|0,qa|0,ra|0)|0;da=pa;ea=oa;fa=U;ga=Y;ha=sa;ia=G()|0;ja=_;ka=Z;la=qa;ma=ra;break}}else ta=36;while(0);if((ta|0)==36){ta=0;W=tv(D|0,m|0,1,0)|0;X=G()|0;ra=tv(b|0,P|0,w|0,z|0)|0;qa=G()|0;Z=tv(ra|0,qa|0,S|0,H|0)|0;da=h;ea=R;fa=X;ga=W;ha=Z;ia=G()|0;ja=ra;ka=qa;la=Q;ma=E}if(((da|0)>-1|(da|0)==-1&ea>>>0>4294967295)&((fa|0)<(n|0)|(fa|0)==(n|0)&ga>>>0<=g>>>0)){b=ja;P=ka;Q=la;E=ma;D=ga;R=ea;h=da;m=fa;S=ha;H=ia;T=ca}else{C=ca;break}}return C|0}function uk(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,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;h=(e|0)<(b|0);i=h?b:e;j=h?e:b;b=(f|0)<(d|0);e=b?d:f;h=b?f:d;d=e-h|0;if((d|0)>=2?(f=i-j|0,(f|0)>=2):0){b=i+j>>1;k=e+h>>1;l=f>>>1;m=d>>>1;n=c[a+32>>2]|0;o=c[a+28>>2]|0;if(((f|0)>(n-o|0)?(p=((l*7|0)>>>0)/10|0,!((p+b|0)<(n|0)|(b-p|0)>=(o|0))):0)?(p=((m*7|0)>>>0)/10|0,(k-p|0)<(c[a+36>>2]|0)):0){q=c[a+40>>2]|0;if((i|0)<(o|0)|((j|0)>=(n|0)|(p+k|0)>=(q|0))){r=0;return r|0}else s=q}else t=9;do if((t|0)==9)if((j|0)>=(n|0)|(i|0)<(o|0)){r=0;return r|0}else{s=c[a+40>>2]|0;break}while(0);if((h|0)>=(s|0)){r=0;return r|0}if((e|0)<(c[a+36>>2]|0)){r=0;return r|0}r=tk(a,b,k,l,m,f&1,d&1,g)|0;return r|0}d=0;f=h;while(1){h=(sk(a,j,i,f,g)|0)+d|0;if((f|0)<(e|0)){d=h;f=f+1|0}else{r=h;break}}return r|0}function vk(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0;i=((e|0)<0)<<31>>31;j=((d|0)<0)<<31>>31;k=zv(d|0,j|0,d|0,j|0)|0;l=G()|0;m=zv(e|0,i|0,e|0,i|0)|0;n=G()|0;o=Cv(k|0,l|0,2)|0;p=(d|0)%2|0;q=tv(o|0,G()|0,p|0,((p|0)<0)<<31>>31|0)|0;p=tv(m|0,n|0,q|0,G()|0)|0;q=uv(0,0,p|0,G()|0)|0;p=G()|0;o=Cv(m|0,n|0,2)|0;r=(e|0)%2|0;s=tv(o|0,G()|0,r|0,((r|0)<0)<<31>>31|0)|0;r=G()|0;o=tv(k|0,l|0,s|0,r|0)|0;t=uv(0,0,o|0,G()|0)|0;o=G()|0;u=uv(0,0,s|0,r|0)|0;r=G()|0;s=Dv(m|0,n|0,1)|0;v=G()|0;w=Dv(k|0,l|0,1)|0;x=G()|0;if((e|d|0)<0)y=0;else{z=zv(k|0,l|0,-2,-1)|0;A=zv(z|0,G()|0,e|0,i|0)|0;z=G()|0;B=uv(0,0,k|0,l|0)|0;C=zv(B|0,G()|0,e|0,i|0)|0;B=f+b|0;D=g+c|0;E=0;F=0;H=C;C=G()|0;I=e;J=i;i=0;K=0;L=A;A=z;z=0;while(1){M=z+8|0;N=zv(E|0,F|0,m|0,n|0)|0;O=tv(N|0,G()|0,H|0,C|0)|0;N=G()|0;do if((N|0)>(p|0)|(N|0)==(p|0)&O>>>0>q>>>0?(P=zv(I|0,J|0,k|0,l|0)|0,Q=G()|0,R=tv(P|0,Q|0,H|0,C|0)|0,S=G()|0,(S|0)>(r|0)|(S|0)==(r|0)&R>>>0>u>>>0):0){R=uv(H|0,C|0,P|0,Q|0)|0;Q=G()|0;P=b-E|0;S=B+E|0;T=(sk(a,P,S,c-I|0,h)|0)+M|0;if(!((Q|0)>(o|0)|(Q|0)==(o|0)&R>>>0>t>>>0)){R=(sk(a,P,S,D+I|0,h)|0)+T|0;Q=tv(E|0,F|0,1,0)|0;U=G()|0;V=tv(i|0,K|0,s|0,v|0)|0;W=G()|0;X=tv(V|0,W|0,H|0,C|0)|0;Y=G()|0;Z=tv(I|0,J|0,-1,-1)|0;_=G()|0;$=tv(L|0,A|0,w|0,x|0)|0;aa=G()|0;ba=tv(X|0,Y|0,$|0,aa|0)|0;ca=_;da=U;ea=Q;fa=ba;ga=G()|0;ha=V;ia=W;ja=$;ka=aa;la=Z;ma=R;break}if((I|0)==0&(J|0)==0)na=T;else na=(sk(a,P,S,D+I|0,h)|0)+T|0;T=tv(I|0,J|0,-1,-1)|0;S=G()|0;P=tv(L|0,A|0,w|0,x|0)|0;R=G()|0;Z=tv(P|0,R|0,H|0,C|0)|0;ca=S;da=F;ea=E;fa=Z;ga=G()|0;ha=i;ia=K;ja=P;ka=R;la=T;ma=na}else oa=5;while(0);if((oa|0)==5){oa=0;O=tv(E|0,F|0,1,0)|0;N=G()|0;T=tv(i|0,K|0,s|0,v|0)|0;R=G()|0;P=tv(T|0,R|0,H|0,C|0)|0;ca=J;da=N;ea=O;fa=P;ga=G()|0;ha=T;ia=R;ja=L;ka=A;la=I;ma=M}if((ca|0)<0|((da|0)>(j|0)|(da|0)==(j|0)&ea>>>0>d>>>0)){y=ma;break}else{E=ea;F=da;H=fa;C=ga;I=la;J=ca;i=ha;K=ia;L=ja;A=ka;z=ma}}}if(!g)pa=y;else pa=(sk(a,b-d|0,d+b+f|0,c+1|0,h)|0)+y|0;if(e|0){qa=pa;return qa|0}qa=(sk(a,b-d|0,d+b|0,c,h)|0)+pa|0;return qa|0}function wk(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;i=B(d,d)|0;j=B(e,e)|0;k=0-(j+(((d|0)%2|0)+(i>>>2)))|0;l=(j>>>2)+((e|0)%2|0)|0;m=0-(i+l)|0;n=0-l|0;l=j<<1;o=i<<1;if((e|d|0)<0)p=0;else{q=f+b|0;r=g+c|0;s=0;t=0;u=B(B(i,-2)|0,e)|0;v=B(0-i|0,e)|0;w=0;x=e;while(1){y=s+8|0;do if(((B(w,j)|0)+v|0)>(k|0)?(z=B(x,i)|0,(z+v|0)>(n|0)):0){A=b-w|0;C=q+w|0;D=(sk(a,A,C,c-x|0,h)|0)+y|0;if((v-z|0)<=(m|0)){z=t+l|0;E=u+o|0;F=(sk(a,A,C,r+x|0,h)|0)+D|0;G=z;H=E;I=z+v+E|0;J=w+1|0;K=x+-1|0;break}if(!x)L=D;else L=(sk(a,A,C,r+x|0,h)|0)+D|0;D=u+o|0;F=L;G=t;H=D;I=D+v|0;J=w;K=x+-1|0}else M=5;while(0);if((M|0)==5){M=0;D=t+l|0;F=y;G=D;H=u;I=D+v|0;J=w+1|0;K=x}if((K|0)<0|(J|0)>(d|0)){p=F;break}else{s=F;t=G;u=H;v=I;w=J;x=K}}}if(!g)N=p;else N=(sk(a,b-d|0,d+b+f|0,c+1|0,h)|0)+p|0;if(e|0){O=N;return O|0}O=(sk(a,b-d|0,d+b|0,c,h)|0)+N|0;return O|0}function xk(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,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;h=(e|0)<(b|0);i=h?b:e;j=h?e:b;b=(f|0)<(d|0);e=b?d:f;h=b?f:d;d=e-h|0;if((d|0)>=2?(f=i-j|0,(f|0)>=2):0){b=i+j>>1;k=e+h>>1;l=f>>>1;m=d>>>1;n=c[a+32>>2]|0;o=c[a+28>>2]|0;if((((f|0)>(n-o|0)?(p=((l*7|0)>>>0)/10|0,!((p+b|0)<(n|0)|(b-p|0)>=(o|0))):0)?(p=((m*7|0)>>>0)/10|0,q=c[a+36>>2]|0,(k-p|0)<(q|0)):0)?(r=c[a+40>>2]|0,(p+k|0)>=(r|0)):0){p=c[730449]|0;s=(n|0)<(o|0);t=s?o:n;u=s?n:o;s=(r|0)<(q|0);v=s?q:r;w=0;x=s?r:q;while(1){q=(sk(p,u,t,x,g)|0)+w|0;if((x|0)<(v|0)){w=q;x=x+1|0}else{y=q;break}}return y|0}if((j|0)>=(n|0)|(i|0)<(o|0)){y=0;return y|0}if((h|0)>=(c[a+40>>2]|0)){y=0;return y|0}if((e|0)<(c[a+36>>2]|0)){y=0;return y|0}o=f&1;n=d&1;if((f|0)<128&(d|0)<128){y=wk(a,b,k,l,m,o,n,g)|0;return y|0}else{y=vk(a,b,k,l,m,o,n,g)|0;return y|0}}n=0;o=h;while(1){h=(sk(a,j,i,o,g)|0)+n|0;if((o|0)<(e|0)){n=h;o=o+1|0}else{y=h;break}}return y|0}function yk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=(d|0)<(b|0);h=g?b:d;i=g?d:b;b=(e|0)<(c|0);d=b?c:e;g=0;j=b?e:c;while(1){g=(sk(a,i,h,j,f)|0)+g|0;if((j|0)>=(d|0))break;else j=j+1|0}return g|0}function zk(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;i=Ia;Ia=Ia+128|0;j=i+64|0;k=i;l=k;m=1920;n=l+64|0;do{c[l>>2]=c[m>>2];l=l+4|0;m=m+4|0}while((l|0)<(n|0));if((h|0)==1){l=k;m=1984;n=l+64|0;do{c[l>>2]=c[m>>2];l=l+4|0;m=m+4|0}while((l|0)<(n|0));l=j;n=l+64|0;do{c[l>>2]=0;l=l+4|0}while((l|0)<(n|0));if(!((e|0)>(g|0)|(d|0)>(f|0))){l=c[b+16>>2]|0;n=e;while(1){m=c[l+(n<<2)>>2]|0;h=d;while(1){o=j+(c[2048+((a[m+h>>0]&15)<<2)>>2]<<2)|0;c[o>>2]=(c[o>>2]|0)+1;if((h|0)<(f|0))h=h+1|0;else break}if((n|0)<(g|0))n=n+1|0;else break}}n=(B(1-d+f<<1,1-e+g|0)|0)/3|0;l=(c[j+4>>2]|0)+(c[j>>2]|0)-n|0;h=(l|0)<0?0-l|0:l;l=(c[j+8>>2]|0)+((c[j+4>>2]|0)+(c[j>>2]|0))-n|0;m=(l|0)<0?0-l|0:l;l=(m|0)<(h|0);o=l?m:h;h=(c[j+12>>2]|0)+((c[j+8>>2]|0)+((c[j+4>>2]|0)+(c[j>>2]|0)))-n|0;m=(h|0)<0?0-h|0:h;h=(m|0)<(o|0);p=h?m:o;o=(c[j+16>>2]|0)+((c[j+12>>2]|0)+((c[j+8>>2]|0)+((c[j+4>>2]|0)+(c[j>>2]|0))))-n|0;m=(o|0)<0?0-o|0:o;o=(m|0)<(p|0);q=o?m:p;p=(c[j+20>>2]|0)+((c[j+16>>2]|0)+((c[j+12>>2]|0)+((c[j+8>>2]|0)+((c[j+4>>2]|0)+(c[j>>2]|0)))))-n|0;m=(p|0)<0?0-p|0:p;p=(m|0)<(q|0);r=p?m:q;q=(c[j+24>>2]|0)+((c[j+20>>2]|0)+((c[j+16>>2]|0)+((c[j+12>>2]|0)+((c[j+8>>2]|0)+((c[j+4>>2]|0)+(c[j>>2]|0))))))-n|0;m=(q|0)<0?0-q|0:q;q=(m|0)<(r|0);s=q?m:r;r=(c[j+28>>2]|0)+((c[j+24>>2]|0)+((c[j+20>>2]|0)+((c[j+16>>2]|0)+((c[j+12>>2]|0)+((c[j+8>>2]|0)+((c[j+4>>2]|0)+(c[j>>2]|0)))))))-n|0;m=(r|0)<0?0-r|0:r;r=(m|0)<(s|0);t=r?m:s;s=(c[j+32>>2]|0)+((c[j+28>>2]|0)+((c[j+24>>2]|0)+((c[j+20>>2]|0)+((c[j+16>>2]|0)+((c[j+12>>2]|0)+((c[j+8>>2]|0)+((c[j+4>>2]|0)+(c[j>>2]|0))))))))-n|0;m=(s|0)<0?0-s|0:s;s=(m|0)<(t|0);u=s?m:t;t=(c[j+36>>2]|0)+((c[j+32>>2]|0)+((c[j+28>>2]|0)+((c[j+24>>2]|0)+((c[j+20>>2]|0)+((c[j+16>>2]|0)+((c[j+12>>2]|0)+((c[j+8>>2]|0)+((c[j+4>>2]|0)+(c[j>>2]|0)))))))))-n|0;m=(t|0)<0?0-t|0:t;t=(m|0)<(u|0);v=t?m:u;u=(c[j+40>>2]|0)+((c[j+36>>2]|0)+((c[j+32>>2]|0)+((c[j+28>>2]|0)+((c[j+24>>2]|0)+((c[j+20>>2]|0)+((c[j+16>>2]|0)+((c[j+12>>2]|0)+((c[j+8>>2]|0)+((c[j+4>>2]|0)+(c[j>>2]|0))))))))))-n|0;m=(u|0)<0?0-u|0:u;u=(m|0)<(v|0);w=u?m:v;v=(c[j+44>>2]|0)+((c[j+40>>2]|0)+((c[j+36>>2]|0)+((c[j+32>>2]|0)+((c[j+28>>2]|0)+((c[j+24>>2]|0)+((c[j+20>>2]|0)+((c[j+16>>2]|0)+((c[j+12>>2]|0)+((c[j+8>>2]|0)+((c[j+4>>2]|0)+(c[j>>2]|0)))))))))))-n|0;m=(v|0)<0?0-v|0:v;v=(m|0)<(w|0);x=v?12:u?11:t?10:s?9:r?8:q?7:p?6:o?5:h?4:l?3:2;l=v?m:w;w=(c[j+48>>2]|0)+((c[j+44>>2]|0)+((c[j+40>>2]|0)+((c[j+36>>2]|0)+((c[j+32>>2]|0)+((c[j+28>>2]|0)+((c[j+24>>2]|0)+((c[j+20>>2]|0)+((c[j+16>>2]|0)+((c[j+12>>2]|0)+((c[j+8>>2]|0)+((c[j+4>>2]|0)+(c[j>>2]|0))))))))))))-n|0;m=(w|0)<0?0-w|0:w;w=(x|0)==-1|(m|0)<(l|0);v=w?13:x;x=w?m:l;l=(c[j+52>>2]|0)+((c[j+48>>2]|0)+((c[j+44>>2]|0)+((c[j+40>>2]|0)+((c[j+36>>2]|0)+((c[j+32>>2]|0)+((c[j+28>>2]|0)+((c[j+24>>2]|0)+((c[j+20>>2]|0)+((c[j+16>>2]|0)+((c[j+12>>2]|0)+((c[j+8>>2]|0)+((c[j+4>>2]|0)+(c[j>>2]|0)))))))))))))-n|0;m=(l|0)<0?0-l|0:l;l=(v|0)==-1|(m|0)<(x|0);w=l?14:v;v=(c[j+56>>2]|0)+((c[j+52>>2]|0)+((c[j+48>>2]|0)+((c[j+44>>2]|0)+((c[j+40>>2]|0)+((c[j+36>>2]|0)+((c[j+32>>2]|0)+((c[j+28>>2]|0)+((c[j+24>>2]|0)+((c[j+20>>2]|0)+((c[j+16>>2]|0)+((c[j+12>>2]|0)+((c[j+8>>2]|0)+((c[j+4>>2]|0)+(c[j>>2]|0))))))))))))))-n|0;n=((w|0)==-1?1:(((v|0)<0?0-v|0:v)|0)<((l?m:x)|0))?15:w;if(!(co(225)|0)){c[k>>2]=(n|0)<1&1;c[k+4>>2]=(n|0)<2&1;c[k+8>>2]=(n|0)<4&1;c[k+12>>2]=(n|0)<6&1;c[k+16>>2]=(n|0)<5&1;c[k+20>>2]=(n|0)<3&1;c[k+24>>2]=(n|0)<12&1;c[k+28>>2]=(n|0)<16&1;c[k+32>>2]=(n|0)<8&1;c[k+36>>2]=(n|0)<13&1;c[k+40>>2]=(n|0)<14&1;c[k+44>>2]=(n|0)<10&1;c[k+48>>2]=(n|0)<9&1;c[k+52>>2]=(n|0)<7&1;c[k+56>>2]=(n|0)<11&1;c[k+60>>2]=(n|0)<15&1}}if((e|0)>(g|0)){Ia=i;return}n=b+16|0;if((d|0)>(f|0)){Ia=i;return}b=e;while(1){e=d;while(1){w=(c[(c[n>>2]|0)+(b<<2)>>2]|0)+e|0;a[w>>0]=c[k+((a[w>>0]&15)<<2)>>2];if((e|0)<(f|0))e=e+1|0;else break}if((b|0)<(g|0))b=b+1|0;else break}Ia=i;return}function Ak(b,e,f,g,h,i){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0;j=c[768171]|0;k=(h|0)<(f|0);l=k?f:h;m=k?e:g;n=k?h:f;f=k?g:e;e=m-f|0;g=((e|0)<0)<<31>>31;k=l-n|0;h=((k|0)<0)<<31>>31;o=(g|0)<0;p=uv(0,0,e|0,g|0)|0;q=G()|0;r=o?p:e;p=o?q:g;q=(h|0)<0;o=uv(0,0,k|0,h|0)|0;s=G()|0;t=q?o:k;o=q?s:h;s=(p|0)>(o|0)|(p|0)==(o|0)&r>>>0>t>>>0;o=s?r:t;t=((o|0)<0)<<31>>31;if((o|0)>0){r=Dv(k|0,h|0,16)|0;s=G()|0;p=Dv(e|0,g|0,16)|0;q=xv(p|0,G()|0,o|0,t|0)|0;p=G()|0;u=xv(r|0,s|0,o|0,t|0)|0;v=u;w=G()|0;x=q;y=p}else{v=k;w=h;x=e;y=g}g=c[b+36>>2]|0;if((l|0)<(g|0)){z=0;return z|0}e=c[b+40>>2]|0;if((n|0)>=(e|0)){z=0;return z|0}h=c[b+28>>2]|0;k=(f|0)<(h|0);p=(m|0)<(h|0);if(k&p){z=0;return z|0}q=c[b+32>>2]|0;u=(f|0)<(q|0);s=(m|0)<(q|0);if(!(u|s)){z=0;return z|0}m=f<<16|32768;f=((m|0)<0)<<31>>31;r=n<<16|32768;A=((r|0)<0)<<31>>31;if((n|0)<(g|0)){n=g<<16;g=uv(n|0,((n|0)<0)<<31>>31|0,r|0,A|0)|0;n=Dv(g|0,G()|0,16)|0;g=xv(n|0,G()|0,v|0,w|0)|0;n=Bv(g|0,G()|0,16)|0;g=tv(n|0,G()|0,1,0)|0;n=G()|0;C=(n|0)>0|(n|0)==0&g>>>0>0;n=C?g:0;D=n}else D=0;if((l|0)<(e|0))E=o;else{l=e<<16;e=uv(l|0,((l|0)<0)<<31>>31|0,r|0,A|0)|0;A=Dv(e|0,G()|0,16)|0;e=tv(A|0,G()|0,-65536,-1)|0;A=xv(e|0,G()|0,v|0,w|0)|0;w=Bv(A|0,G()|0,16)|0;A=G()|0;e=(A|0)>(t|0)|(A|0)==(t|0)&w>>>0>o>>>0;t=e?o:w;E=t}if(k){k=h<<16;t=uv(k|0,((k|0)<0)<<31>>31|0,m|0,f|0)|0;k=Dv(t|0,G()|0,16)|0;t=xv(k|0,G()|0,x|0,y|0)|0;k=Bv(t|0,G()|0,16)|0;t=tv(k|0,G()|0,1,0)|0;k=G()|0;w=((D|0)<0)<<31>>31;o=(k|0)<(w|0)|(k|0)==(w|0)&t>>>0>>0;w=o?D:t;F=w}else F=D;if(u)H=F;else{u=q<<16;D=uv(m|0,f|0,u|0,((u|0)<0)<<31>>31|0)|0;u=Dv(D|0,G()|0,16)|0;D=G()|0;w=uv(0,0,x|0,y|0)|0;t=xv(u|0,D|0,w|0,G()|0)|0;w=Bv(t|0,G()|0,16)|0;t=tv(w|0,G()|0,1,0)|0;w=G()|0;D=((F|0)<0)<<31>>31;u=(w|0)<(D|0)|(w|0)==(D|0)&t>>>0>>0;D=u?F:t;H=D}if(p){p=h<<16;h=uv(m|0,f|0,p|0,((p|0)<0)<<31>>31|0)|0;p=Dv(h|0,G()|0,16)|0;h=tv(p|0,G()|0,-65536,-1)|0;p=G()|0;D=uv(0,0,x|0,y|0)|0;t=xv(h|0,p|0,D|0,G()|0)|0;D=Bv(t|0,G()|0,16)|0;t=G()|0;p=((E|0)<0)<<31>>31;h=(t|0)>(p|0)|(t|0)==(p|0)&D>>>0>E>>>0;p=h?E:D;I=p}else I=E;if(s)J=I;else{s=q<<16;q=uv(s|0,((s|0)<0)<<31>>31|0,m|0,f|0)|0;f=Dv(q|0,G()|0,16)|0;q=tv(f|0,G()|0,-65536,-1)|0;f=xv(q|0,G()|0,x|0,y|0)|0;y=Bv(f|0,G()|0,16)|0;f=G()|0;q=((I|0)<0)<<31>>31;s=(f|0)>(q|0)|(f|0)==(q|0)&y>>>0>I>>>0;q=s?I:y;J=q}q=J-H|0;J=q+1|0;y=(B(H,x)|0)+m|0;m=(B(H,v)|0)+r|0;if((q|0)<=-1){z=J;return z|0}r=b+16|0;if(!(j&65536)){b=q;H=y;I=m;while(1){s=H>>16;f=I>>16;E=(c[(c[r>>2]|0)+(f<<2)>>2]|0)+s|0;p=c[768168]|0;a[E>>0]=((p^15)&(d[E>>0]|0)|p&i>>(j>>(f<<2&12^12)>>>(s&3^3)<<2&4)&c[768169])&15;if((b|0)>0){b=b+-1|0;H=H+x|0;I=I+v|0}else{z=J;break}}return z|0}I=q;q=y;y=m;while(1){m=q>>16;H=y>>16;if(!(j>>(H<<2&12^12)&1<<(m&3^3))){b=(c[(c[r>>2]|0)+(H<<2)>>2]|0)+m|0;m=c[768168]|0;a[b>>0]=((m^15)&(d[b>>0]|0)|m&i&c[768169])&15}if((I|0)>0){I=I+-1|0;q=q+x|0;y=y+v|0}else{z=J;break}}return z|0}function Bk(b,e,f,g,h,i,j,k,l,m,n){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;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,A=0,C=0,D=0,E=0,F=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;o=c[769129]|0;p=c[o+8>>2]|0;q=(Sk(2921764,o,24376)|0)+255&255;o=(Sk(2921764,c[769129]|0,24377)|0)+255&255;r=Sk(2921764,c[769129]|0,24378)|0;s=Sk(2921764,c[769129]|0,24379)|0;t=(a[3100894]<<4&255)<<24>>24>>7<<24>>24;u=e>>16;e=f>>16;f=g>>16;g=h>>16;h=f-u|0;v=((h|0)<0)<<31>>31;w=g-e|0;x=((w|0)<0)<<31>>31;y=(v|0)<0;z=uv(0,0,h|0,v|0)|0;A=G()|0;C=y?z:h;D=y?A:v;y=(x|0)<0;E=uv(0,0,w|0,x|0)|0;F=G()|0;H=y?E:w;I=y?F:x;y=(D|0)>(I|0)|(D|0)==(I|0)&C>>>0>H>>>0;I=y?C:H;H=(g|0)<(e|0);C=B(I,k)|0;y=B(I,l)|0;D=H?E:w;w=H?F:x;x=H?z:h;h=H?A:v;v=H?0-l|0:l;l=H?0-k|0:k;k=H?e:g;A=H?u:f;z=H?g:e;e=H?f:u;u=((I|0)<0)<<31>>31;if((I|0)>0){f=Dv(D|0,w|0,16)|0;g=G()|0;F=Dv(x|0,h|0,16)|0;E=xv(F|0,G()|0,I|0,u|0)|0;F=G()|0;J=xv(f|0,g|0,I|0,u|0)|0;K=J;L=G()|0;M=E;N=F}else{K=D;L=w;M=x;N=h}h=c[b+36>>2]|0;if((k|0)<(h|0)){O=0;return O|0}x=c[b+40>>2]|0;if((z|0)>=(x|0)){O=0;return O|0}w=c[b+28>>2]|0;D=(e|0)<(w|0);F=(A|0)<(w|0);if(D&F){O=0;return O|0}E=c[b+32>>2]|0;J=(e|0)<(E|0);g=(A|0)<(E|0);if(!(J|g)){O=0;return O|0}A=e<<16|32768;e=((A|0)<0)<<31>>31;f=z<<16|32768;P=((f|0)<0)<<31>>31;if((z|0)<(h|0)){z=h<<16;h=uv(z|0,((z|0)<0)<<31>>31|0,f|0,P|0)|0;z=Dv(h|0,G()|0,16)|0;h=xv(z|0,G()|0,K|0,L|0)|0;z=Bv(h|0,G()|0,16)|0;h=tv(z|0,G()|0,1,0)|0;z=G()|0;Q=(z|0)>0|(z|0)==0&h>>>0>0;z=Q?h:0;R=z}else R=0;if((k|0)<(x|0))S=I;else{k=x<<16;x=uv(k|0,((k|0)<0)<<31>>31|0,f|0,P|0)|0;k=Dv(x|0,G()|0,16)|0;x=tv(k|0,G()|0,-65536,-1)|0;k=xv(x|0,G()|0,K|0,L|0)|0;x=Bv(k|0,G()|0,16)|0;k=G()|0;z=(k|0)>(u|0)|(k|0)==(u|0)&x>>>0>I>>>0;u=z?I:x;S=u}if(D){D=w<<16;u=uv(D|0,((D|0)<0)<<31>>31|0,A|0,e|0)|0;D=Dv(u|0,G()|0,16)|0;u=xv(D|0,G()|0,M|0,N|0)|0;D=Bv(u|0,G()|0,16)|0;u=tv(D|0,G()|0,1,0)|0;D=G()|0;x=((R|0)<0)<<31>>31;I=(D|0)<(x|0)|(D|0)==(x|0)&u>>>0>>0;x=I?R:u;T=x}else T=R;if(J)U=T;else{J=E<<16;R=uv(A|0,e|0,J|0,((J|0)<0)<<31>>31|0)|0;J=Dv(R|0,G()|0,16)|0;R=G()|0;x=uv(0,0,M|0,N|0)|0;u=xv(J|0,R|0,x|0,G()|0)|0;x=Bv(u|0,G()|0,16)|0;u=tv(x|0,G()|0,1,0)|0;x=G()|0;R=((T|0)<0)<<31>>31;J=(x|0)<(R|0)|(x|0)==(R|0)&u>>>0>>0;R=J?T:u;U=R}if(F){F=w<<16;w=uv(A|0,e|0,F|0,((F|0)<0)<<31>>31|0)|0;F=Dv(w|0,G()|0,16)|0;w=tv(F|0,G()|0,-65536,-1)|0;F=G()|0;R=uv(0,0,M|0,N|0)|0;u=xv(w|0,F|0,R|0,G()|0)|0;R=Bv(u|0,G()|0,16)|0;u=G()|0;F=((S|0)<0)<<31>>31;w=(u|0)>(F|0)|(u|0)==(F|0)&R>>>0>S>>>0;F=w?S:R;V=F}else V=S;if(g)W=V;else{g=E<<16;E=uv(g|0,((g|0)<0)<<31>>31|0,A|0,e|0)|0;g=Dv(E|0,G()|0,16)|0;E=tv(g|0,G()|0,-65536,-1)|0;g=xv(E|0,G()|0,M|0,N|0)|0;E=Bv(g|0,G()|0,16)|0;g=G()|0;S=((V|0)<0)<<31>>31;F=(g|0)>(S|0)|(g|0)==(S|0)&E>>>0>V>>>0;S=F?V:E;W=S}S=((U|0)<0)<<31>>31;E=zv(M|0,N|0,U|0,S|0)|0;V=tv(E|0,G()|0,A|0,e|0)|0;e=G()|0;A=zv(K|0,L|0,U|0,S|0)|0;S=tv(A|0,G()|0,f|0,P|0)|0;P=G()|0;f=(H?C:0)+i+(B(U,l)|0)|0;i=(H?y:0)+j+(B(U,v)|0)|0;j=W-U|0;U=j+1|0;W=(n|0)<0?13:n;n=W+3|0;if(!(c[768171]&131072)){if((j|0)<=-1){O=U;return O|0}y=b+16|0;if(!m){H=S;C=P;A=V;E=e;F=f;g=i;R=j;while(1){w=Eh((F>>n&q)+r|0,(g>>n&o)+s|0)|0;if((w|0)!=(t|0)?(u=(w|0)/16|0,T=c[3072412+(((Pn(p,w-(u<<4)<<3|F>>W&7,u<<3|g>>W&7)|0)&15)<<2)>>2]|0,(T&16|0)==0):0){u=c[y>>2]|0;w=Cv(H|0,C|0,16)|0;G()|0;J=c[u+(w<<2)>>2]|0;w=Cv(A|0,E|0,16)|0;G()|0;u=J+w|0;w=c[768168]|0;a[u>>0]=((w^15)&(d[u>>0]|0)|w&T&c[768169])&15}A=tv(A|0,E|0,M|0,N|0)|0;E=G()|0;H=tv(H|0,C|0,K|0,L|0)|0;C=G()|0;if((R|0)<=0){O=U;break}else{F=F+l|0;g=g+v|0;R=R+-1|0}}return O|0}R=S;g=P;P=V;F=e;e=f;C=i;H=j;while(1){E=Eh((e>>n&q)+r|0,(C>>n&o)+s|0)|0;if(((E|0)!=(t|0)?c[(c[769129]|0)+43552+(E<<2)>>2]&m|0:0)?(A=(E|0)/16|0,T=c[3072412+(((Pn(p,E-(A<<4)<<3|e>>W&7,A<<3|C>>W&7)|0)&15)<<2)>>2]|0,(T&16|0)==0):0){A=c[y>>2]|0;E=Cv(R|0,g|0,16)|0;G()|0;w=c[A+(E<<2)>>2]|0;E=Cv(P|0,F|0,16)|0;G()|0;A=w+E|0;E=c[768168]|0;a[A>>0]=((E^15)&(d[A>>0]|0)|E&T&c[768169])&15}P=tv(P|0,F|0,M|0,N|0)|0;F=G()|0;R=tv(R|0,g|0,K|0,L|0)|0;g=G()|0;if((H|0)<=0){O=U;break}else{e=e+l|0;C=C+v|0;H=H+-1|0}}return O|0}if((j|0)<=-1){O=U;return O|0}H=b+16|0;if(!m){b=f;C=i;e=j;g=V;L=S;while(1){R=Eh((b>>n&q)+r|0,(C>>n&o)+s|0)|0;if(((R|0)!=(t|0)?(F=(R|0)/16|0,N=(Pn(p,R-(F<<4)<<3|b>>W&7,F<<3|C>>W&7)|0)&15,(c[3072412+(N<<2)>>2]&16|0)==0):0)?(F=g>>16,R=L>>16,P=c[768171]|0,y=P>>(R<<2&12^12)>>>(F&3^3)&1,(P&65536|0)==0|(y|0)==0):0){P=(c[(c[H>>2]|0)+(R<<2)>>2]|0)+F|0;F=c[768168]|0;a[P>>0]=((F^15)&(d[P>>0]|0)|F&c[3072540+(N<<2)>>2]>>(y<<2)&c[768169])&15}if((e|0)>0){b=b+l|0;C=C+v|0;e=e+-1|0;g=g+M|0;L=L+K|0}else{O=U;break}}return O|0}L=f;f=i;i=j;j=V;V=S;while(1){S=Eh((L>>n&q)+r|0,(f>>n&o)+s|0)|0;if((((S|0)!=(t|0)?c[(c[769129]|0)+43552+(S<<2)>>2]&m|0:0)?(g=(S|0)/16|0,e=(Pn(p,S-(g<<4)<<3|L>>W&7,g<<3|f>>W&7)|0)&15,(c[3072412+(e<<2)>>2]&16|0)==0):0)?(g=j>>16,S=V>>16,C=c[768171]|0,b=C>>(S<<2&12^12)>>>(g&3^3)&1,(C&65536|0)==0|(b|0)==0):0){C=(c[(c[H>>2]|0)+(S<<2)>>2]|0)+g|0;g=c[768168]|0;a[C>>0]=((g^15)&(d[C>>0]|0)|g&c[3072540+(e<<2)>>2]>>(b<<2)&c[768169])&15}if((i|0)>0){L=L+l|0;f=f+v|0;i=i+-1|0;j=j+M|0;V=V+K|0}else{O=U;break}}return O|0}function Ck(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=c[768171]|0;if((c[b+28>>2]|0)>(e|0))return 0;if((c[b+32>>2]|0)<=(e|0))return 0;j=h&15;k=(i&65536|0)!=0;l=k?16:h>>>4&15;h=i>>(3-e&3);i=((h&256|0)==0?j:l)<<8|((h&4096|0)==0?j:l)|((h&16|0)==0?j:l)<<16|((h&1|0)==0?j:l)<<24;l=(g|0)<(f|0);j=l?f:g;h=l?g:f;f=c[b+36>>2]|0;g=(h|0)<(f|0)?f:h;h=c[b+40>>2]|0;f=(j|0)<(h|0)?j:h+-1|0;h=(c[(c[b+16>>2]|0)+(g<<2)>>2]|0)+e|0;e=(g|0)>(f|0);if(!k){if(e){m=1-g|0;n=m+f|0;o=e?0:n;return o|0}k=h;b=g;while(1){j=c[768168]|0;a[k>>0]=((j^15)&(d[k>>0]|0)|j&i>>>(b<<3&24)&c[768169])&15;if((b|0)<(f|0)){k=k+128|0;b=b+1|0}else break}m=1-g|0;n=m+f|0;o=e?0:n;return o|0}if(e){m=1-g|0;n=m+f|0;o=e?0:n;return o|0}b=h;h=g;while(1){k=i>>>(h<<3&24);if(!(k&16)){j=c[768168]|0;a[b>>0]=((j^15)&(d[b>>0]|0)|j&k&c[768169])&15}if((h|0)<(f|0)){b=b+128|0;h=h+1|0}else break}m=1-g|0;n=m+f|0;o=e?0:n;return o|0}function Dk(){Kn(c[(c[769129]|0)+4>>2]|0);Kn(c[730449]|0);Dn(c[730449]|0,c[768151]|0,c[768152]|0,c[768153]|0,c[768154]|0);return}function Ek(b){b=b|0;var d=0;d=(b|0)<3?b:3;b=(d|0)>0?d:0;c[786057]=b;d=c[769129]|0;c[d+8>>2]=c[((a[3100924]|0)==96?2921800+(b<<2)|0:d+4|0)>>2];d=(c[769129]|0)+4|0;c[730449]=c[((a[3100925]|0)==0?d:2921800+(c[786057]<<2)|0)>>2];Kn(c[d>>2]|0);Kn(c[730449]|0);Dn(c[730449]|0,c[768151]|0,c[768152]|0,c[768153]|0,c[768154]|0);return}function Fk(){var a=0,b=0;if(c[532939]|0)return 1;a=c[730432]|0;b=B((c[a+4>>2]|0)/128|0,(c[a>>2]|0)/128|0)|0;if((b|0)<1)return 1;else return ((b|0)<4?b:4)|0;return 0}function Gk(a,b,e){a=a|0;b=b|0;e=e|0;var 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;f=c[a>>2]|0;if((f|0)!=(c[b>>2]|0))return;g=a+4|0;h=c[g>>2]|0;if((h|0)!=(c[b+4>>2]|0))return;i=c[a+8>>2]|0;j=c[b+8>>2]|0;if((i|0)==(j|0)){tp(a,b,0,0,0,0,f,h);return}if(!((i|0)==32&(j|0)==8&(h|0)>0))return;j=h;h=f;f=0;while(1){if((h|0)>0){i=0;do{k=Pn(a,i,f)|0;l=k>>>16&255;m=k>>>8&255;n=k&255;k=1e7;o=-1;p=0;while(1){q=c[3072476+(p<<2)>>2]|0;r=l-(d[e+(q*3|0)>>0]|0)|0;s=B(r,r)|0;r=m-(d[e+(q*3|0)+1>>0]|0)|0;t=(B(r,r)|0)+s|0;s=n-(d[e+(q*3|0)+2>>0]|0)|0;q=t+(B(s,s)|0)|0;s=(o|0)==-1|(q|0)<(k|0);o=s?p:o;p=p+1|0;if((p|0)==16)break;else k=s?q:k}Hn(b,i,f,o);i=i+1|0;u=c[a>>2]|0}while((i|0)<(u|0));v=c[g>>2]|0;w=u}else{v=j;w=h}f=f+1|0;if((f|0)>=(v|0))break;else{j=v;h=w}}return}function Hk(b,e,f){b=b|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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0;g=c[b>>2]|0;if((g|0)!=(c[e>>2]|0))return;h=b+4|0;i=c[h>>2]|0;if((i|0)!=(c[e+4>>2]|0))return;j=b+8|0;k=c[j>>2]|0;l=e+8|0;m=c[l>>2]|0;if((k|0)==(m|0)){tp(b,e,0,0,0,0,g,i);return}if((k|0)==8&(m|0)==32){if((i|0)<=0)return;m=b+16|0;n=e+16|0;o=i;p=g;q=0;while(1){if((p|0)>0){r=c[(c[m>>2]|0)+(q<<2)>>2]|0;s=c[(c[n>>2]|0)+(q<<2)>>2]|0;t=0;do{u=a[r+t>>0]|0;v=u&255;c[s+(t<<2)>>2]=(d[f+(v*3|0)>>0]|0)<<16|(u<<24>>24==0?0:-16777216)|(d[f+(v*3|0)+1>>0]|0)<<8|(d[f+(v*3|0)+2>>0]|0);t=t+1|0;w=c[b>>2]|0}while((t|0)<(w|0));x=c[h>>2]|0;y=w}else{x=o;y=p}q=q+1|0;if((q|0)>=(x|0))break;else{o=x;p=y}}z=c[j>>2]|0;A=x;C=y}else{z=k;A=i;C=g}if((z|0)!=32)return;if(!((c[l>>2]|0)==8&(A|0)>0))return;l=C;C=A;A=0;while(1){if((l|0)>0){z=0;do{g=Pn(b,z,A)|0;i=g>>>16&255;k=g>>>8&255;y=g&255;g=1e7;x=-1;j=0;while(1){p=j>>>0<16?j:j+112|0;o=i-(d[f+(p*3|0)>>0]|0)|0;q=B(o,o)|0;o=k-(d[f+(p*3|0)+1>>0]|0)|0;w=(B(o,o)|0)+q|0;q=y-(d[f+(p*3|0)+2>>0]|0)|0;o=w+(B(q,q)|0)|0;q=(x|0)==-1|(o|0)<(g|0);x=q?p:x;j=j+1|0;if((j|0)==32)break;else g=q?o:g}Hn(e,z,A,x);z=z+1|0;D=c[b>>2]|0}while((z|0)<(D|0));E=c[h>>2]|0;F=D}else{E=C;F=l}A=A+1|0;if((A|0)>=(E|0))break;else{l=F;C=E}}return}function Ik(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;i=h&1;j=b+112|0;if(!(c[j>>2]|0)){k=c[768156]|0;c[b+96>>2]=k;l=c[768157]|0;c[b+100>>2]=l;m=b+68|0;if((c[m>>2]|0)==0?(c[b+60>>2]|0)==0:0)n=g;else n=g<<1;if((c[b+20>>2]|0)!=0?(k|0)>((c[b+24>>2]|0)-f|0):0){c[768156]=c[b+28>>2];k=b+48|0;o=c[k>>2]|0;if(!o)p=c[b+92>>2]|0;else p=o;o=p+l|0;c[768157]=o;c[k>>2]=0;q=o}else q=l;l=128-n-(c[b+124>>2]|0)+(c[768164]|0)|0;if((c[b+16>>2]|0)!=0&(q|0)>(l|0)){_a(q-l|0);r=m}else r=m}else r=b+68|0;m=c[b+80>>2]|0;l=c[3072412+((c[b+36>>2]&15)<<2)>>2]|0;q=c[3072412+((c[b+40>>2]&15)<<2)>>2]|0;if(!(c[r>>2]|0)){r=(c[b+56>>2]|0)==0;n=r?1:2;if(r)s=1;else s=(c[b+64>>2]|0)==0?1:2;if(!(c[b+60>>2]|0)){t=n;u=1;v=s;w=1}else{t=n;u=2;v=s;w=(c[b+64>>2]|0)==0?1:2}}else{t=2;u=2;v=2;w=2}s=c[b+72>>2]|0;n=0-i|0;i=(B(s,t)|0)&n;r=(i|0)>0?i:0;i=0-r|0;o=(B(s,u)|0)&n;n=(o|0)>0?o:0;o=0-n|0;s=(c[b+120>>2]|0)-(c[768163]|0)<<16>>16;k=((c[b+124>>2]|0)-(c[768164]|0)<<16>>16)+(h<<28>>31)|0;if(!(c[b+76>>2]|0))x=B(u,g)|0;else{h=c[b+44>>2]|0;p=s-r+(c[768156]|0)|0;y=k-n+(c[768157]|0)|0;z=(B(t,f)|0)+-1+r+p|0;r=B(u,g)|0;A=r+-1+n+y|0;n=(z|0)<(p|0);C=n?p:z;D=n?z:p;p=(A|0)<(y|0);z=p?y:A;n=p?A:y;while(1){sk(h,D,C,n,q)|0;if((n|0)<(z|0))n=n+1|0;else{x=r;break}}}if((x|0)>(o|0)){r=(g|0)<8?g:8;g=((m|0)!=0)<<31>>31;m=B(t,f)|0;n=t<<3;z=b+44|0;if((m|0)>(i|0)){q=o;do{o=(q+u|0)/(u|0)|0;if((o|0)<1|(o|0)>(r|0))E=0;else E=d[e+(o+-1)>>0]<<8;o=E^g;C=q+k|0;D=i;do{if((((1<<((D+n|0)/(t|0)|0)&o|0?(h=D+s+(c[768156]|0)|0,y=C+(c[768157]|0)|0,A=c[z>>2]|0,(h|0)>=(c[A+28>>2]|0)):0)?(h|0)<(c[A+32>>2]|0):0)?(y|0)>=(c[A+36>>2]|0):0)?(y|0)<(c[A+40>>2]|0):0){p=(c[(c[A+16>>2]|0)+(y<<2)>>2]|0)+h|0;h=c[768168]|0;a[p>>0]=((h^15)&d[p>>0]|h&l&c[768169])&15}D=D+v|0}while((D|0)<(m|0));q=q+w|0}while((q|0)<(x|0));F=m}else F=m}else F=B(t,f)|0;fh(((B(F,x)|0)+1|0)/2|0);c[b+104>>2]=F;c[768156]=(c[768156]|0)+F;F=b+48|0;f=c[F>>2]|0;c[F>>2]=(f|0)>(x|0)?f:x;if(c[j>>2]|0){c[768156]=c[b+96>>2];c[768157]=c[b+100>>2];c[j>>2]=0}j=c[b+128>>2]|0;if((j|0)<=0){G=0;return G|0}c[b+52>>2]=j+-1;j=b+4|0;b=c[j>>2]|0;if(!(a[b>>0]|0)){G=1;return G|0}c[j>>2]=b+1;G=1;return G|0}function Jk(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0;e=Ia;Ia=Ia+16|0;f=e;g=b+4|0;h=c[g>>2]|0;i=a[h>>0]|0;a:do switch(i<<24>>24){case 0:{j=0;k=h+-1|0;l=h;break}case 1:{m=a[h+1>>0]|0;if(!(m<<24>>24))n=135;else{o=m&255;p=o+-48|0;c[b+116>>2]=p>>>0<10?p:(m&255)>96?o+-87|0:0;o=h+2|0;j=0;k=o;l=o}break}case 2:{o=h+1|0;m=a[o>>0]|0;if(!(m<<24>>24))n=135;else{p=m&255;q=p+-48|0;c[b+40>>2]=(q>>>0<10?q:(m&255)>96?p+9|0:0)&15;c[b+76>>2]=1;j=0;k=o;l=h}break}case 3:{o=h+1|0;p=a[o>>0]|0;if(!(p<<24>>24))n=135;else{m=p&255;q=m+-48|0;c[768156]=(q>>>0<10?q:(p&255)>96?m+-87|0:0)+-16+(c[768156]|0);j=0;k=o;l=h}break}case 4:{o=h+1|0;m=a[o>>0]|0;if(!(m<<24>>24))n=135;else{p=m&255;q=p+-48|0;c[768157]=(q>>>0<10?q:(m&255)>96?p+-87|0:0)+-16+(c[768157]|0);j=0;k=o;l=h}break}case 5:{o=a[h+1>>0]|0;p=o&255;if(o<<24>>24!=0?(m=h+2|0,(a[m>>0]|0)!=0):0){q=p+-48|0;c[768156]=(q>>>0<10?q:(o&255)>96?p+-87|0:0)+-16+(c[768156]|0);p=a[m>>0]|0;o=p&255;q=o+-48|0;c[768157]=(c[768157]|0)+-16+(q>>>0<10?q:(p&255)>96?o+-87|0:0);j=0;k=m;l=h}else n=135;break}case 6:{m=h+1|0;o=a[m>>0]|0;p=o&255;switch(o<<24>>24){case 0:{n=135;break a;break}case 45:{o=h+2|0;q=a[o>>0]|0;r=q<<24>>24==0;s=r&1;t=r?p:q&255;u=r?m:o;break}default:{s=1;t=p;u=m}}m=t+-49|0;b:do if(m>>>0<9){c[b+52>>2]=(1<>0]|0;if(!(o<<24>>24)){j=0;k=u;l=h;break a}r=o&255;q=r+-48|0;Cn(c[730449]|0,0,0,127,127,q>>>0<10?q:(o&255)>96?r+-87|0:0);c[768156]=0;c[768157]=0;j=0;k=p;l=h;break a;break}case 100:{p=u+1|0;r=a[p>>0]|0;if(!(r<<24>>24)){j=0;k=u;l=h;break a}o=r&255;q=o+-48|0;c[b+128>>2]=q>>>0<10?q:(r&255)>96?o+-87|0:0;j=0;k=p;l=h;break a;break}default:{v=0;break b}}while(0);do switch(t|0){case 103:{c[768156]=c[b+28>>2];c[768157]=c[b+32>>2];j=v;k=u;l=h;break a;break}case 104:{c[b+28>>2]=c[768156];c[b+32>>2]=c[768157];j=v;k=u;l=h;break a;break}case 106:{m=a[u+1>>0]|0;if(!(m<<24>>24)){j=v;k=u;l=h;break a}p=m&255;o=p+-48|0;c[768156]=(o>>>0<10?o:(m&255)>96?p+-87|0:0)<<2;p=u+2|0;m=a[p>>0]|0;o=m&255;r=o+-48|0;c[768157]=(r>>>0<10?r:(m&255)>96?o+-87|0:0)<<2;j=v;k=p;l=h;break a;break}case 114:{p=u+1|0;o=a[p>>0]|0;m=o&255;r=m+-48|0;c[b+24>>2]=(r>>>0<10?r:(o&255)>96?m+-87|0:0)<<2;c[b+20>>2]=1;j=v;k=p;l=h;break a;break}case 120:{p=u+1|0;m=a[p>>0]|0;if(!(m<<24>>24)){j=v;k=u;l=h;break a}o=m&255;r=o+-48|0;c[b+84>>2]=r>>>0<10?r:(m&255)>96?o+-87|0:0;o=c[b+12>>2]|0;m=a[p>>0]|0;r=m&255;q=r+-48|0;c[b+88>>2]=(d[o+1>>0]|0)-(d[o>>0]|0)+(q>>>0<10?q:(m&255)>96?r+-87|0:0);j=v;k=p;l=h;break a;break}case 121:{p=u+1|0;r=a[p>>0]|0;if(!(r<<24>>24)){j=v;k=u;l=h;break a}m=r&255;q=m+-48|0;c[b+92>>2]=q>>>0<10?q:(r&255)>96?m+-87|0:0;j=v;k=p;l=h;break a;break}case 115:{p=u+1|0;m=a[p>>0]|0;r=m&255;q=r+-48|0;c[b+108>>2]=(q>>>0<10?q:(m&255)>96?r+-87|0:0)<<2;j=v;k=p;l=h;break a;break}case 119:{c[b+56>>2]=s;j=v;k=u;l=h;break a;break}case 116:{c[b+60>>2]=s;j=v;k=u;l=h;break a;break}case 61:{c[b+64>>2]=s;j=v;k=u;l=h;break a;break}case 112:{c[b+68>>2]=s;j=v;k=u;l=h;break a;break}case 35:{c[b+76>>2]=s;j=v;k=u;l=h;break a;break}case 105:{c[b+80>>2]=s;j=v;k=u;l=h;break a;break}case 98:{c[b+72>>2]=s;j=v;k=u;l=h;break a;break}case 36:{c[b+20>>2]=s;j=v;k=u;l=h;break a;break}case 64:{p=b+8|0;r=u+1|0;m=c[p>>2]|0;if(r>>>0>>0){q=a[r>>0]|0;o=q&255;w=o+-48|0;x=w>>>0<10?w:(q&255)>96?o+-87|0:0;o=u+2|0;if(o>>>0>>0){q=a[o>>0]|0;w=q&255;y=w+-48|0;z=(y>>>0<10?y:(q&255)>96?w+-87|0:0)+(x<<4)|0;w=u+3|0;if(w>>>0>>0){q=a[w>>0]|0;y=q&255;A=y+-48|0;B=(A>>>0<10?A:(q&255)>96?y+-87|0:0)+(z<<4)|0;y=u+4|0;if(y>>>0>>0){q=a[y>>0]|0;A=q&255;C=A+-48|0;D=(C>>>0<10?C:(q&255)>96?A+-87|0:0)+(B<<4)|0;E=u+5|0}else{D=B;E=y}}else{D=z;E=w}}else{D=x;E=o}}else{D=0;E=r}c:do if(E>>>0>>0){r=a[E>>0]|0;o=r&255;x=o+-48|0;w=x>>>0<10?x:(r&255)>96?o+-87|0:0;o=E+1|0;if(o>>>0>>0){r=a[o>>0]|0;x=r&255;z=x+-48|0;y=(z>>>0<10?z:(r&255)>96?x+-87|0:0)+(w<<4)|0;x=E+2|0;if(x>>>0>>0){r=a[x>>0]|0;z=r&255;B=z+-48|0;A=(B>>>0<10?B:(r&255)>96?z+-87|0:0)+(y<<4)|0;z=E+3|0;if(z>>>0>>0){r=a[z>>0]|0;B=r&255;q=B+-48|0;F=(q>>>0<10?q:(r&255)>96?B+-87|0:0)+(A<<4)|0;G=E+4|0}else{F=A;G=z}}else{F=y;G=x}}else{F=w;G=o}if((F|0)>0&G>>>0>>0){o=D;w=0;x=G;while(1){Rk(2921764,c[769129]|0,o,d[x>>0]|0);y=x+1|0;fh(1);w=w+1|0;if((w|0)>=(F|0)){H=y;break c}if(y>>>0>=(c[p>>2]|0)>>>0){H=y;break}else{o=o+1|0;x=y}}}else H=G}else H=E;while(0);I=H+-1|0;break}default:I=u}while(0);if((t|0)!=33){p=(t|0)==58;switch(t|0){case 46:case 58:break;default:{j=v;k=I;l=h;break a}}m=I+1|0;do if((m+((t|0)==46?8:16)|0)>>>0<=(c[b+8>>2]|0)>>>0)if(p){a[f>>0]=(c[2112+(d[I+2>>0]<<2)>>2]|0)+(c[2112+(d[m>>0]<<2)>>2]<<4);a[f+1>>0]=(c[2112+(d[I+4>>0]<<2)>>2]|0)+(c[2112+(d[I+3>>0]<<2)>>2]<<4);a[f+2>>0]=(c[2112+(d[I+6>>0]<<2)>>2]|0)+(c[2112+(d[I+5>>0]<<2)>>2]<<4);a[f+3>>0]=(c[2112+(d[I+8>>0]<<2)>>2]|0)+(c[2112+(d[I+7>>0]<<2)>>2]<<4);a[f+4>>0]=(c[2112+(d[I+10>>0]<<2)>>2]|0)+(c[2112+(d[I+9>>0]<<2)>>2]<<4);a[f+5>>0]=(c[2112+(d[I+12>>0]<<2)>>2]|0)+(c[2112+(d[I+11>>0]<<2)>>2]<<4);a[f+6>>0]=(c[2112+(d[I+14>>0]<<2)>>2]|0)+(c[2112+(d[I+13>>0]<<2)>>2]<<4);a[f+7>>0]=(c[2112+(d[I+16>>0]<<2)>>2]|0)+(c[2112+(d[I+15>>0]<<2)>>2]<<4);J=Ik(b,f,8,8,0)|0;K=I+17|0;break}else{J=Ik(b,m,8,8,0)|0;K=I+9|0;break}else{J=0;K=m}while(0);j=(J|0)>(v|0)?J:v;k=K+-1|0;l=h;break a}m=b+8|0;p=I+1|0;x=c[m>>2]|0;if(p>>>0>>0){o=a[p>>0]|0;w=o&255;y=w+-48|0;z=y>>>0<10?y:(o&255)>96?w+-87|0:0;w=I+2|0;if(w>>>0>>0){o=a[w>>0]|0;y=o&255;A=y+-48|0;B=(A>>>0<10?A:(o&255)>96?y+-87|0:0)+(z<<4)|0;y=I+3|0;if(y>>>0>>0){o=a[y>>0]|0;A=o&255;r=A+-48|0;q=(r>>>0<10?r:(o&255)>96?A+-87|0:0)+(B<<4)|0;A=I+4|0;if(A>>>0>>0){o=a[A>>0]|0;r=o&255;C=r+-48|0;L=(C>>>0<10?C:(o&255)>96?r+-87|0:0)+(q<<4)|0;M=I+5|0}else{L=q;M=A}}else{L=B;M=y}}else{L=z;M=w}}else{L=0;M=p}if(M>>>0>>0){x=L;p=M;while(1){Rk(2921764,c[769129]|0,x,d[p>>0]|0);w=p+1|0;fh(1);if(w>>>0<(c[m>>2]|0)>>>0){x=x+1|0;p=w}else{N=w;break}}}else N=M;p=N+-1|0;c[g>>2]=p;a[p>>0]=0;O=0;Ia=e;return O|0}case 7:{p=h+1|0;x=a[p>>0]|0;d:do if((x+-48&255)>=10){m=Rq(0)|0;w=(m|0)==((c[769129]|0)+41596|0);m=Rq(1)|0;z=(m|0)==((c[769129]|0)+41596|0)|w;w=Rq(2)|0;m=(w|0)==((c[769129]|0)+41596|0)|z;z=Rq(3)|0;w=c[769129]|0;if((z|0)==(w+41596|0)|m){m=Rq(0)|0;z=(m|0)==((c[769129]|0)+40936|0);m=Rq(1)|0;y=(m|0)==((c[769129]|0)+40936|0)|z;z=Rq(2)|0;m=(z|0)==((c[769129]|0)+40936|0)|y;y=Rq(3)|0;z=c[769129]|0;if((y|0)==(z+40936|0)|m){m=Rq(0)|0;y=(m|0)==((c[769129]|0)+40276|0);m=Rq(1)|0;B=(m|0)==((c[769129]|0)+40276|0)|y;y=Rq(2)|0;m=(y|0)==((c[769129]|0)+40276|0)|B;B=Rq(3)|0;y=c[769129]|0;if((B|0)==(y+40276|0)|m){m=Rq(0)|0;B=(m|0)==((c[769129]|0)+39616|0);m=Rq(1)|0;A=(m|0)==((c[769129]|0)+39616|0)|B;B=Rq(2)|0;m=(B|0)==((c[769129]|0)+39616|0)|A;A=Rq(3)|0;B=c[769129]|0;P=B;Q=(A|0)==(B+39616|0)|m?63:60;R=p;n=72}else{P=y;Q=61;R=p;n=72}}else{P=z;Q=62;R=p;n=72}}else{P=w;Q=63;R=p;n=72}}else{w=(x&255)+-48|0;z=h+2|0;y=a[z>>0]|0;if((y+-48&255)<10){m=(w*10|0)+-48+(y&255)|0;B=(m|0)<63?m:63;m=h+3|0;S=a[m>>0]|0;T=(B|0)>0?B:0;U=m}else{S=y;T=w;U=z}switch(S<<24>>24){case 0:case 10:case 32:{V=(c[769129]|0)+16+(T*660|0)|0;W=U;break d;break}default:{P=c[769129]|0;Q=T;R=U;n=72;break d}}}while(0);e:do if((n|0)==72){x=P+16+(Q*660|0)|0;jq(x,0,660);p=P+16+(Q*660|0)+8|0;c[p>>2]=4;z=P+16+(Q*660|0)+12|0;w=P+16+(Q*660|0)+16|0;y=R;f:while(1){switch(a[y>>0]|0){case 0:case 10:case 32:{n=82;break f;break}case 115:{m=a[y+1>>0]|0;if(!(m<<24>>24)){X=0;break f}B=m&255;A=B+-48|0;c[p>>2]=A>>>0<10?A:(m&255)>96?B+-87|0:0;Y=2;break}case 108:{B=a[y+1>>0]|0;m=B&255;if(!(B<<24>>24)){X=0;break f}A=y+2|0;if(!(a[A>>0]|0)){X=0;break f}q=m+-48|0;c[z>>2]=q>>>0<10?q:(B&255)>96?m+-87|0:0;m=a[A>>0]|0;A=m&255;B=A+-48|0;c[w>>2]=B>>>0<10?B:(m&255)>96?A+-87|0:0;Y=3;break}case 122:{A=a[y+1>>0]|0;if(!(A<<24>>24)){X=0;break f}m=A&255;B=m+-48|0;c[x>>2]=(B>>>0<10?B:(A&255)>96?m+2147483561|0:0)<<1;Y=2;break}default:{X=0;break f}}y=y+Y|0}if((n|0)==82){c[p>>2]=16;c[P+16+(Q*660|0)+20>>2]=46;c[P+16+(Q*660|0)+24>>2]=0;c[P+16+(Q*660|0)+28>>2]=5;c[P+16+(Q*660|0)+32>>2]=0;X=1}w=0;z=5;m=3;A=X;B=y;q=5;while(1){r=A>>>0<32;o=w;C=z;Z=m;_=B;$=q;g:while(1){aa=o;ba=Z;ca=_;da=$;h:while(1){ea=aa;fa=ba;ga=ca;i:while(1){ha=fa;ia=ga;j:while(1){ja=a[ia>>0]|0;switch(ja<<24>>24){case 32:case 0:{V=x;W=ia;break e;break}default:{}}if(!(r&ja<<24>>24!=10)){V=x;W=ia;break e}switch(ja<<24>>24){case 46:{n=95;break g;break}case 0:{n=104;break g;break}case 98:{n=103;break g;break}case 100:{ka=2;n=106;break g;break}case 101:{n=99;break g;break}case 102:{n=100;break g;break}case 103:{n=101;break g;break}case 97:{n=102;break g;break}case 105:{break h;break}case 118:{n=92;break i;break}case 62:case 60:{n=97;break i;break}case 120:{break j;break}case 93:case 91:break;default:{n=105;break g}}la=(ja<<24>>24==91?-1:1)+ha|0;ma=(la|0)<5?la:5;ha=(ma|0)>0?ma:0;ia=ia+1|0}ma=a[ia+1>>0]|0;la=ma&255;na=la+-48|0;ea=(na>>>0<10?na:(ma&255)>96?la+1|0:0)&7;fa=ha;ga=ia+2|0}if((n|0)==92){n=0;ga=a[ia+1>>0]|0;fa=ga&255;la=fa+-48|0;oa=ia+2|0;pa=(la>>>0<10?la:(ga&255)>96?fa+1|0:0)&7}else if((n|0)==97){n=0;fa=(ja<<24>>24==60?-1:1)+da|0;ga=(fa|0)<7?fa:7;oa=ia+1|0;pa=(ga|0)>0?ga:0}aa=ea;ba=ha;ca=oa;da=pa}ca=a[ia+1>>0]|0;ba=ca&255;aa=ba+-48|0;o=ea;C=(aa>>>0<10?aa:(ca&255)>96?ba+9|0:0)&15;Z=ha;_=ia+2|0;$=da}if((n|0)==95){n=0;qa=ha;ra=ia+1|0}else if((n|0)==99){n=0;ka=4;n=106}else if((n|0)==100){n=0;ka=5;n=106}else if((n|0)==101){n=0;ka=7;n=106}else if((n|0)==102){n=0;ka=9;n=106}else if((n|0)==103){n=0;ka=11;n=106}else if((n|0)==104){n=0;ka=12;n=106}else if((n|0)==105){n=0;ka=0;n=106}if((n|0)==106){n=0;$=P+16+(Q*660|0)+20+(A*20|0)|0;c[$>>2]=ka;c[P+16+(Q*660|0)+20+(A*20|0)+4>>2]=C&7;c[P+16+(Q*660|0)+20+(A*20|0)+8>>2]=da&7;c[P+16+(Q*660|0)+20+(A*20|0)+12>>2]=ea;_=ia+1|0;Z=a[_>>0]|0;o=ia+2|0;if(Z<<24>>24==35){r=ka+1|0;c[$>>2]=r;sa=a[o>>0]|0;ta=r;ua=o}else{sa=Z;ta=ka;ua=_}if(sa<<24>>24==45){_=ta+-1|0;c[$>>2]=_;Z=ua+1|0;va=a[Z>>0]|0;wa=_;xa=Z}else{va=sa;wa=ta;xa=ua}Z=(va+-48&255)<6;_=Z?(va&255)+-48|0:ha;o=(_*12|0)+wa|0;r=(o|0)<63?o:63;c[$>>2]=(r|0)>0?r:0;qa=_;ra=Z?xa+1|0:xa}w=ea;z=C;m=qa;A=A+1|0;B=ra;q=da}}while(0);if((c[768034]|0)==0&(c[543656]|0)!=0){_q(0,0);br();c[543656]=0}Mq(V,0,0,c[769129]|0,-1)|0;j=0;k=(a[W>>0]|0)==10?W+-1|0:W;l=h;break}case 8:{c[768156]=(c[768156]|0)-(c[b+104>>2]|0);j=0;k=h;l=h;break}case 9:{q=c[b+12>>2]|0;B=q+5|0;if(a[B>>0]&2)c[768156]=(c[768156]|0)-(c[768158]|0);A=c[b+108>>2]|0;if(!A){m=q+6|0;q=a[m>>0]|0;z=(q<<24>>24==0?16:q&255)+(c[768156]|0)|0;c[768156]=z;ya=z;za=d[m>>0]|0}else{m=(c[768156]|0)+A|0;c[768156]=m;ya=m;za=A}A=ya-((ya|0)%(((za|0)==0?16:za)|0)|0)|0;c[768156]=A;if(!(a[B>>0]&2)){j=0;k=h;l=h}else{c[768156]=(c[768158]|0)+A;j=0;k=h;l=h}break}case 10:{c[768156]=c[b+28>>2];A=b+48|0;B=c[A>>2]|0;m=(B|0)!=0;if(!(c[b+16>>2]|0)){if(m)Aa=B;else Aa=c[b+92>>2]|0;c[768157]=(c[768157]|0)+Aa}else{if(m)Ba=B;else Ba=c[b+92>>2]|0;c[768162]=Ba;$a();c[768162]=6}c[A>>2]=0;j=0;k=h;l=h;break}case 11:{A=c[768156]|0;B=b+96|0;m=c[B>>2]|0;c[768156]=m;c[B>>2]=A;A=c[768157]|0;B=b+100|0;z=c[B>>2]|0;c[768157]=z;c[B>>2]=A;c[b+112>>2]=1;A=h+1|0;B=a[A>>0]|0;q=B&255;w=q+-48|0;x=w>>>0<10?w:(B&255)>96?q+-87|0:0;q=(x|0)/4|0;c[768156]=m+-2+(x-(q<<2));c[768157]=z+-8+q;j=0;k=A;l=h;break}case 12:{A=h+1|0;q=a[A>>0]|0;z=q&255;x=z+-48|0;m=x>>>0<10?x:(q&255)>96?z+-87|0:0;c[b+36>>2]=m;c[768155]=m;j=0;k=A;l=h;break}case 13:{c[768156]=c[b+28>>2];j=0;k=h;l=h;break}case 14:{c[b+12>>2]=3098536;c[b+84>>2]=d[3098536];c[b+88>>2]=d[3098537];c[b+92>>2]=d[3098538];c[b+120>>2]=d[3098539];c[b+124>>2]=d[3098540];j=0;k=h;l=h;break}case 15:{c[b+12>>2]=1449024;c[b+84>>2]=d[1449024];c[b+88>>2]=d[1449025];c[b+92>>2]=d[1449026];c[b+120>>2]=d[1449027];c[b+124>>2]=d[1449028];j=0;k=h;l=h;break}default:n=135}while(0);if((n|0)==135){n=c[(i<<24>>24<0?b+88|0:b+84|0)>>2]|0;Ba=c[b+12>>2]|0;Aa=i&255;if(!(a[Ba+5>>0]&1)){Ca=n;Da=1}else{i=(d[Ba+(Aa>>>1)>>0]|0)>>>(Aa<<2&4);Ca=n+-4+(i+4&7)|0;Da=i&8|1}i=Ik(b,Ba+(Aa<<3)|0,Ca,c[b+92>>2]|0,Da)|0;j=(i|0)>0?i:0;k=h;l=h}h=c[543083]|0;i=c[768156]|0;c[543083]=(h|0)>(i|0)?h:i;i=c[543084]|0;h=c[768157]|0;c[543084]=(i|0)>(h|0)?i:h;h=b+116|0;b=c[h>>2]|0;if((b|0)>0){c[h>>2]=b+-1;Ea=l}else Ea=k+1|0;c[g>>2]=Ea;O=j;Ia=e;return O|0}function Kk(){Iv(2172360,0,132)|0;return}function Lk(){mq(c[543090]|0);c[543090]=0;return}function Mk(){var b=0,e=0,f=0,g=0,h=0,i=0,j=0;b=Sk(2921764,c[769129]|0,24408)|0;e=Sk(2921764,c[769129]|0,24409)|0;f=Sk(2921764,c[769129]|0,24410)|0;g=Sk(2921764,c[769129]|0,24411)|0;h=(a[3100894]&16)==0;i=h?e:0;e=h?f:0;f=h?g:0;g=(b&1|0)==0?2:b;b=(g&128|0)==0?1449024:3098536;c[543093]=b;c[543108]=g>>>1&1;c[543104]=g>>>2&1;c[543105]=g>>>3&1;c[543109]=g>>>4&1;c[543110]=g>>>5&1;c[543106]=g>>>6&1;c[543107]=0;c[543117]=0;g=a[b>>0]|0;c[543111]=g&255;h=a[b+1>>0]|0;c[543112]=h&255;j=a[b+2>>0]|0;c[543113]=j&255;c[543120]=d[b+3>>0];c[543121]=d[b+4>>0];if(!((h|g|j)<<24>>24)){c[543111]=8;c[543113]=8;c[543112]=8}j=i&15;if(j|0)c[543111]=j;if(i&240|0)c[543113]=i>>>4&15;i=e&15;if(i|0)c[543112]=i;if(e&240|0)c[543117]=(e>>>2&60)+4;e=f&15;if(e|0)c[543120]=e;if(!(f&240))return;c[543121]=f>>>4&15;return}function Nk(){var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=c[543090]|0;if(!b){d=0;return d|0}e=c[543103]|0;if((e|0)>0){c[543103]=e+-1;d=1;return d|0}e=c[543091]|0;do if(a[e>>0]|0){f=e;while(1){g=Jk(2172360)|0;h=(c[543091]|0)-f|0;fh((h|0)>1?h:1);if(g|0){d=g;i=10;break}f=c[543091]|0;if(!(a[f>>0]|0)){i=8;break}}if((i|0)==8){j=c[543090]|0;break}else if((i|0)==10)return d|0}else j=b;while(0);mq(j);c[543090]=0;d=0;return d|0}function Ok(b,d,e,f,g){b=b|0;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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;if(!d){h=0;return h|0}if(!(c[543089]|0)){c[543089]=1;jq(1449024,0,2048);i=c[730468]|0;j=0;do{k=c[(c[i>>2]|0)+(j<<2)>>2]|0;l=k+4|0;if((c[l>>2]|0)>0){m=j<<3;n=k+16|0;o=0;do{p=c[k>>2]|0;if((p|0)>0){q=c[(c[n>>2]|0)+(o<<2)>>2]|0;r=0;s=0;while(1){t=((a[q+s>>0]|0)==0?0:1<>0]=u;o=o+1|0}while((o|0)<(c[l>>2]|0))}j=j+1|0}while((j|0)!=256);a[1449024]=4;a[1449025]=8;a[1449026]=6;a[1449027]=0;a[1449028]=0}mq(c[543090]|0);jq(2172360,0,132);j=iq(e+4|0)|0;c[543090]=j;Hv(j|0,d|0,e|0)|0;Mk();d=c[543090]|0;c[543091]=d;j=d+e|0;c[543092]=j;c[543095]=f&16;c[543096]=c[b+32>>2];c[543094]=f&32;c[543097]=c[768158];c[543098]=c[768157];c[543099]=g&15;c[543100]=g>>>4&15;c[543101]=b;c[543103]=0;c[543119]=0;c[543102]=0;c[543116]=c[543111];if(!(a[3100894]&4)){a[j>>0]=10;a[(c[543090]|0)+(e+1)>>0]=0;v=c[543090]|0}else v=d;if(!v){h=0;return h|0}d=c[543103]|0;if((d|0)>0){c[543103]=d+-1;h=1;return h|0}d=c[543091]|0;do if(a[d>>0]|0){e=d;while(1){j=Jk(2172360)|0;b=(c[543091]|0)-e|0;fh((b|0)>1?b:1);if(j|0){h=j;w=23;break}e=c[543091]|0;if(!(a[e>>0]|0)){w=21;break}}if((w|0)==21){x=c[543090]|0;break}else if((w|0)==23)return h|0}else x=v;while(0);mq(x);c[543090]=0;h=0;return h|0}function Pk(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a=(b|0)!=0;if(!e){if(!a){f=0;return f|0}g=b+-4|0;h=c[g>>2]|0;mq(g);c[768178]=(c[768178]|0)-h;f=0;return f|0}h=c[768178]|0;g=(c[785516]|0)+h|0;if((g|0)>(((c[481715]|0)==0?2359296:2113536)|0)){c[785591]=1;xg();i=c[768178]|0;j=i;k=(c[785516]|0)+i|0}else{j=h;k=g}if((k|0)>67108864){Hg(60892);Ig(60914,(c[768178]|0)/1048576|0,e>>>10);c[785593]=1;f=0;return f|0}if(a){k=b+-4|0;g=c[k>>2]|0;c[768178]=j-g;j=lq(k,e+4|0)|0;l=(g|0)==0?0:e;m=j}else{l=0;m=lq(0,e+4|0)|0}j=(b|0)==0;b=j&(d|0)==0&(c[785514]|0)!=0?0:j&(d+-7|0)>>>0<13?32:a?l:(d|0)!=2&(j&d>>>0<7)?e:0;c[768178]=b+(c[768178]|0);c[m>>2]=b;f=m+4|0;return f|0}function Qk(){var a=0,b=0;a=c[532526]|0;b=c[765606]|0;if(b|0)c[b+332>>2]=a;b=c[765607]|0;if(b|0)c[b+332>>2]=a;b=c[765608]|0;if(b|0)c[b+332>>2]=a;b=c[765609]|0;if(b|0)c[b+332>>2]=a;b=c[765610]|0;if(b|0)c[b+332>>2]=a;b=c[765611]|0;if(b|0)c[b+332>>2]=a;b=c[765612]|0;if(b|0)c[b+332>>2]=a;b=c[765613]|0;if(b|0)c[b+332>>2]=a;b=c[765614]|0;if(b|0)c[b+332>>2]=a;b=c[765615]|0;if(b|0)c[b+332>>2]=a;b=c[765616]|0;if(b|0)c[b+332>>2]=a;b=c[765617]|0;if(b|0)c[b+332>>2]=a;b=c[765618]|0;if(b|0)c[b+332>>2]=a;b=c[765619]|0;if(b|0)c[b+332>>2]=a;b=c[765620]|0;if(b|0)c[b+332>>2]=a;b=c[765621]|0;if(!b)return;c[b+332>>2]=a;return}
+function Va(a){a=a|0;var b=0;b=Ia;Ia=Ia+a|0;Ia=Ia+15&-16;return b|0}function Wa(){return Ia|0}function Xa(a){a=a|0;Ia=a}function Ya(a,b){a=a|0;b=b|0;Ia=a;Ja=b}function Za(){return c[(c[(c[c[730467]>>2]|0)+16>>2]|0)+12>>2]|0}function _a(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if((c[768034]|0)!=0&(c[768028]|0)==1?a[3100894]&64:0)return;c[768157]=(c[768157]|0)-b;d=128-b|0;e=c[730449]|0;if((d|0)>0){f=e;g=0;while(1){tp(f,f,0,g+b|0,0,g,128,1);g=g+1|0;h=c[730449]|0;if((g|0)==(d|0)){i=h;j=d;break}else f=h}}else{i=e;j=0}Cn(i,0,j,127,127,0);fh(65536);return}function $a(){var b=0,d=0;b=(c[768157]|0)+(c[768162]|0)|0;c[768157]=b;if((b|0)<=((c[768164]|0)+122|0))return;if((c[768034]|0)!=0&(c[768028]|0)==1?a[3100894]&64:0)return;c[768157]=b+-6;b=c[730449]|0;d=0;do{tp(b,b,0,d+6|0,0,d,128,1);d=d+1|0;b=c[730449]|0}while((d|0)!=122);Cn(b,0,122,127,127,0);fh(65536);return}function ab(a){a=a|0;var 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,x=0,y=0,z=0,A=0,B=0,C=0,D=0;b=Ia;Ia=Ia+256|0;d=b+248|0;e=b+240|0;f=b+232|0;g=b+224|0;h=b+216|0;i=b+208|0;j=b+200|0;k=b+192|0;l=b+184|0;m=b+176|0;n=b+168|0;o=b+160|0;p=b+152|0;q=b+144|0;r=b+136|0;s=b+128|0;t=b+120|0;u=b+112|0;v=b+104|0;w=b+96|0;x=b+88|0;y=b+80|0;z=b+72|0;A=b+64|0;B=b+8|0;C=b;D=b+252|0;if(!(gt(a,35196,9)|0))Jo(a+10|0,3062500)|0;if(!(gt(a,35206,10)|0))Jo(a+11|0,3064548)|0;if(!(gt(a,35217,14)|0)){c[C>>2]=1926868;Eu(a+14|0,94862,C)|0}if(!(gt(a,35232,11)|0)){c[B>>2]=1926924;c[B+4>>2]=1926928;c[B+8>>2]=1926932;c[B+12>>2]=1926936;c[B+16>>2]=1926940;c[B+20>>2]=1926944;c[B+24>>2]=1926948;c[B+28>>2]=1926952;c[B+32>>2]=1926956;c[B+36>>2]=1926960;c[B+40>>2]=1926964;c[B+44>>2]=1926968;c[B+48>>2]=1926972;Eu(a+11|0,35244,B)|0}if(!(gt(a,35284,10)|0)){c[A>>2]=1927052;Eu(a+10|0,94862,A)|0}if(!(gt(a,35295,11)|0)){c[z>>2]=1927080;Eu(a+11|0,94862,z)|0}if(!(gt(a,50106,7)|0)){c[y>>2]=1927084;Eu(a+7|0,94862,y)|0}if((gt(a,91687,6)|0)==0?(c[x>>2]=2130712,Eu(a+6|0,94862,x)|0,c[543939]|0):0)c[543939]=c[532678];if(!(gt(a,35307,9)|0)){c[w>>2]=1927096;Eu(a+9|0,94862,w)|0}if(!(gt(a,50493,16)|0)){c[v>>2]=1927068;Eu(a+16|0,94862,v)|0}if(!(gt(a,50394,9)|0)){c[u>>2]=1927072;Eu(a+9|0,94862,u)|0}if(!(gt(a,35317,12)|0)){c[t>>2]=1927112;Eu(a+12|0,94862,t)|0}if(!(gt(a,35330,20)|0)){c[s>>2]=2130152;Eu(a+20|0,94862,s)|0}if(!(gt(a,35351,22)|0)){c[r>>2]=2130156;Eu(a+22|0,94862,r)|0}if(!(gt(a,35374,14)|0)){c[q>>2]=D;Eu(a+14|0,94862,q)|0;c[481780]=(c[D>>2]|0)==2&1}if(!(gt(a,49824,13)|0)){c[p>>2]=1927120;Eu(a+13|0,94862,p)|0}if(!(gt(a,50599,9)|0)){c[o>>2]=1927056;Eu(a+9|0,94862,o)|0}if(!(gt(a,49610,9)|0)){c[n>>2]=1927060;Eu(a+9|0,94862,n)|0}if(!(gt(a,35389,19)|0)){c[m>>2]=1926912;Eu(a+19|0,94862,m)|0}if(!(gt(a,35409,19)|0)){c[l>>2]=1926908;Eu(a+19|0,94862,l)|0}if(!(gt(a,35429,22)|0)){c[k>>2]=1926916;Eu(a+22|0,94862,k)|0}if(!(gt(a,35452,11)|0)){c[j>>2]=1927104;Eu(a+11|0,94862,j)|0}if(!(gt(a,35464,14)|0)){c[i>>2]=1927064;Eu(a+14|0,94862,i)|0}if(!(gt(a,35479,22)|0)){c[h>>2]=1926904;Eu(a+22|0,94862,h)|0}if(!(gt(a,35502,18)|0)){c[g>>2]=1926896;Eu(a+18|0,94862,g)|0}if(!(gt(a,35521,16)|0)){c[f>>2]=1926900;Eu(a+16|0,94862,f)|0}if(!(gt(a,35538,16)|0)){c[e>>2]=1926892;Eu(a+16|0,94862,e)|0}if(gt(a,35555,14)|0){Ia=b;return 0}c[d>>2]=1926888;Eu(a+14|0,94862,d)|0;Ia=b;return 0}function bb(a){a=a|0;var 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,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0;b=Ia;Ia=Ia+304|0;d=b+288|0;e=b+280|0;f=b+272|0;g=b+264|0;h=b+256|0;i=b+248|0;j=b+240|0;k=b+232|0;l=b+224|0;m=b+216|0;n=b+208|0;o=b+200|0;p=b+192|0;q=b+184|0;r=b+176|0;s=b+168|0;t=b+160|0;u=b+152|0;v=b+144|0;w=b+136|0;x=b+128|0;y=b+120|0;z=b+112|0;A=b+104|0;B=b+96|0;C=b+88|0;D=b+80|0;E=b+72|0;F=b+64|0;G=b+56|0;H=b+48|0;I=b+40|0;J=b+32|0;K=b+24|0;L=b+16|0;M=b+8|0;N=b;O=a+8|0;a=c[O>>2]|0;c[N>>2]=35583;Mu(a,35570,N)|0;Vu(35590,25,1,c[O>>2]|0)|0;N=c[O>>2]|0;c[M>>2]=c[532678];Mu(N,35616,M)|0;Vu(35628,37,1,c[O>>2]|0)|0;M=c[O>>2]|0;c[L>>2]=3062500;Mu(M,35666,L)|0;Vu(35681,36,1,c[O>>2]|0)|0;L=c[O>>2]|0;c[K>>2]=3064548;Mu(L,35718,K)|0;Vu(35734,65,1,c[O>>2]|0)|0;K=c[O>>2]|0;c[J>>2]=c[481717];Mu(K,35800,J)|0;Vu(35820,70,1,c[O>>2]|0)|0;Vu(35891,12,1,c[O>>2]|0)|0;J=c[O>>2]|0;c[I>>2]=c[481731];Mu(J,35904,I)|0;I=c[O>>2]|0;c[H>>2]=c[481732];Mu(I,35904,H)|0;H=c[O>>2]|0;c[G>>2]=c[481733];Mu(H,35904,G)|0;G=c[O>>2]|0;c[F>>2]=c[481734];Mu(G,35904,F)|0;F=c[O>>2]|0;c[E>>2]=c[481735];Mu(F,35904,E)|0;E=c[O>>2]|0;c[D>>2]=c[481736];Mu(E,35904,D)|0;D=c[O>>2]|0;c[C>>2]=c[481737];Mu(D,35904,C)|0;C=c[O>>2]|0;c[B>>2]=c[481738];Mu(C,35904,B)|0;B=c[O>>2]|0;c[A>>2]=c[481739];Mu(B,35904,A)|0;A=c[O>>2]|0;c[z>>2]=c[481740];Mu(A,35904,z)|0;z=c[O>>2]|0;c[y>>2]=c[481741];Mu(z,35904,y)|0;y=c[O>>2]|0;c[x>>2]=c[481742];Mu(y,35904,x)|0;x=c[O>>2]|0;c[w>>2]=c[481743];Mu(x,35904,w)|0;Vu(35908,2,1,c[O>>2]|0)|0;Vu(35911,52,1,c[O>>2]|0)|0;w=c[O>>2]|0;c[v>>2]=c[481763];Mu(w,35964,v)|0;Vu(35980,70,1,c[O>>2]|0)|0;v=c[O>>2]|0;c[u>>2]=c[481770];Mu(v,36051,u)|0;Vu(36068,125,1,c[O>>2]|0)|0;u=c[O>>2]|0;c[t>>2]=c[481774];Mu(u,36194,t)|0;Vu(36209,52,1,c[O>>2]|0)|0;t=c[O>>2]|0;c[s>>2]=c[481767];Mu(t,36262,s)|0;s=c[O>>2]|0;c[r>>2]=c[481768];Mu(s,36283,r)|0;Vu(36298,68,1,c[O>>2]|0)|0;r=c[O>>2]|0;c[q>>2]=c[481771];Mu(r,36367,q)|0;Vu(36380,101,1,c[O>>2]|0)|0;q=c[O>>2]|0;c[p>>2]=c[481772];Mu(q,36482,p)|0;Vu(36502,102,1,c[O>>2]|0)|0;p=c[O>>2]|0;c[o>>2]=c[532539];Mu(p,36605,o)|0;Vu(36633,28,1,c[O>>2]|0)|0;Vu(36662,68,1,c[O>>2]|0)|0;o=c[O>>2]|0;c[n>>2]=c[481780];Mu(o,36731,n)|0;Vu(36750,36,1,c[O>>2]|0)|0;n=c[O>>2]|0;c[m>>2]=c[481764];Mu(n,36787,m)|0;Vu(36802,59,1,c[O>>2]|0)|0;m=c[O>>2]|0;c[l>>2]=c[481765];Mu(m,36862,l)|0;Vu(36877,109,1,c[O>>2]|0)|0;l=c[O>>2]|0;c[k>>2]=c[481728];Mu(l,36987,k)|0;Vu(37012,53,1,c[O>>2]|0)|0;k=c[O>>2]|0;c[j>>2]=c[481727];Mu(k,37066,j)|0;Vu(37091,90,1,c[O>>2]|0)|0;j=c[O>>2]|0;c[i>>2]=c[481729];Mu(j,37182,i)|0;if(!(c[481766]|0)){P=c[O>>2]|0;Vu(37229,48,1,P)|0;Q=c[O>>2]|0;R=c[481726]|0;c[h>>2]=R;Mu(Q,37278,h)|0;S=c[O>>2]|0;Vu(37306,67,1,S)|0;T=c[O>>2]|0;Vu(37374,62,1,T)|0;U=c[O>>2]|0;V=c[481724]|0;c[g>>2]=V;Mu(U,37437,g)|0;W=c[O>>2]|0;Vu(37461,89,1,W)|0;X=c[O>>2]|0;Y=c[481725]|0;c[f>>2]=Y;Mu(X,37551,f)|0;Z=c[O>>2]|0;Vu(37573,34,1,Z)|0;_=c[O>>2]|0;Vu(37608,26,1,_)|0;$=c[O>>2]|0;Vu(37635,24,1,$)|0;aa=c[O>>2]|0;Vu(37660,29,1,aa)|0;ba=c[O>>2]|0;Vu(37690,30,1,ba)|0;ca=c[O>>2]|0;Vu(37721,30,1,ca)|0;da=c[O>>2]|0;ea=c[481723]|0;c[e>>2]=ea;Mu(da,37752,e)|0;fa=c[O>>2]|0;Vu(37774,95,1,fa)|0;ga=c[O>>2]|0;ha=c[481722]|0;c[d>>2]=ha;Mu(ga,37870,d)|0;Ia=b;return 0}Vu(37210,18,1,c[O>>2]|0)|0;P=c[O>>2]|0;Vu(37229,48,1,P)|0;Q=c[O>>2]|0;R=c[481726]|0;c[h>>2]=R;Mu(Q,37278,h)|0;S=c[O>>2]|0;Vu(37306,67,1,S)|0;T=c[O>>2]|0;Vu(37374,62,1,T)|0;U=c[O>>2]|0;V=c[481724]|0;c[g>>2]=V;Mu(U,37437,g)|0;W=c[O>>2]|0;Vu(37461,89,1,W)|0;X=c[O>>2]|0;Y=c[481725]|0;c[f>>2]=Y;Mu(X,37551,f)|0;Z=c[O>>2]|0;Vu(37573,34,1,Z)|0;_=c[O>>2]|0;Vu(37608,26,1,_)|0;$=c[O>>2]|0;Vu(37635,24,1,$)|0;aa=c[O>>2]|0;Vu(37660,29,1,aa)|0;ba=c[O>>2]|0;Vu(37690,30,1,ba)|0;ca=c[O>>2]|0;Vu(37721,30,1,ca)|0;da=c[O>>2]|0;ea=c[481723]|0;c[e>>2]=ea;Mu(da,37752,e)|0;fa=c[O>>2]|0;Vu(37774,95,1,fa)|0;ga=c[O>>2]|0;ha=c[481722]|0;c[d>>2]=ha;Mu(ga,37870,d)|0;Ia=b;return 0}function cb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;b=Ia;Ia=Ia+32|0;f=b+16|0;g=b+8|0;h=b;c[534493]=0;if(c[533460]|0){Ia=b;return}hc();c[h>>2]=3065580;c[h+4>>2]=1925560;hv(37972,h)|0;h=nq(e)|0;uo(d,1,e,h)|0;c[g>>2]=e;hv(38075,g)|0;c[h+20>>2]=0;g=Rb(h)|0;Eo(h);if(!g){c[481788]=-1;Ia=b;return}do if(Pu(1925560,38090)|0){h=Pu(1925560,38108)|0;if(!h){Es(3065580,38113)|0;break}else{Es(3065580,h+4|0)|0;break}}else Do(1925560,0,3065580,0,1);while(0);h=3065580+(Pt(3065580)|0)|0;e=h;a[e>>0]=46;a[e+1>>0]=112;a[e+2>>0]=56;a[e+3>>0]=46;e=h+4|0;a[e>>0]=112;a[e+1>>0]=110;a[e+2>>0]=103;a[e+3>>0]=0;c[f>>2]=3065580;c[f+4>>2]=1925560;hv(38139,f)|0;Yb(g,3065580);ic(g,3065580);c[768028]=0;c[768155]=6;c[768033]=1;Ia=b;return}function db(a){a=a|0;c[534493]=0;if(!(c[768034]|0)){Ig(38202,0,0);c[481788]=-2;return}else{Es(2130160,38202)|0;c[532604]=Kr()|0;c[532605]=(Kr()|0)+1900;c[532606]=15;c[481788]=-2;return}}function eb(a,b){a=a|0;b=b|0;Es(2130160,a)|0;c[532604]=Kr()|0;c[532605]=b+400+(Kr()|0);c[532606]=15;return}function fb(){var b=0,d=0,e=0,f=0,g=0,h=0;hc();if(!(ka(0)|0))return;b=ka(1)|0;d=(b|0)>0;e=d?((b|0)<16?b:16):0;b=e<<15;f=kq(b)|0;if((e|0)>0){g=0;do{a[f+g>>0]=ka(2)|0;g=g+1|0}while((g|0)<(b|0))}b=is()|0;Qb(b,f);c[b+44580>>2]=41;la(3,0)|0;a[103264]=0;g=0;do{h=ka(4)|0;a[103264+g>>0]=h;g=g+1|0;a[103264+g>>0]=0}while((h|0)!=0&g>>>0<1023);Yb(b,103264);if(d){d=0;do{b=is()|0;Qb(b,f+(d<<15)|0);c[b+44580>>2]=41;la(3,d|0)|0;a[103264]=0;g=0;do{h=ka(4)|0;a[103264+g>>0]=h;g=g+1|0;a[103264+g>>0]=0}while((h|0)!=0&g>>>0<1023);ic(b,103264);js(b);d=d+1|0}while((d|0)<(e|0))}c[768028]=0;c[768033]=1;return}function gb(){var b=0;b=ka(0)|0;if((b|0)!=0|(a[1925560]|0)==0){c[534493]=0;pn(38388);c[481715]=0;fb();return}else{c[534493]=1;pn(38369);c[481715]=1;qa(1925560,0,1,1);return}}function hb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;e=Ia;Ia=Ia+16|0;f=e;g=e+4|0;Iv(2137976,0,34180)|0;if((b|0)<=1){Ia=e;return}h=1;i=0;a:while(1){j=d+(h<<2)|0;k=c[j>>2]|0;l=a[k>>0]|0;switch(l<<24>>24){case 62:case 124:case 38:{m=48;break a;break}default:{}}b:do if((i|0)!=17&l<<24>>24==45){n=k+1|0;o=(Ot(n,38416)|0)==0;if(!(Ot(n,84940)|0)){c[481647]=1;p=0}else p=o?4:-1;if(!(Ot(n,38425)|0)){c[481730]=1;q=0}else q=p;if(!(Ot(n,38436)|0)){c[481713]=1;c[481712]=1;r=0}else r=q;if((Ot(n,38464)|0)!=0?(o=(Ot(n,38452)|0)==0,s=(Ot(n,38442)|0)==0,t=(Ot(n,50394)|0)==0,u=(Ot(n,50493)|0)==0,v=(Ot(n,35307)|0)==0,w=(Ot(n,50106)|0)==0,(Ot(n,38466)|0)!=0):0)x=o?11:s?10:t?9:u?8:v?7:w?6:r;else{c[730464]=1;c[481647]=1;c[543976]=1;x=0}w=(Ot(n,38471)|0)==0;v=w|(Ot(n,38477)|0)==0;w=(Ot(n,49824)|0)==0;u=(Ot(n,35196)|0)==0;t=(Ot(n,35206)|0)==0;s=(Ot(n,38479)|0)==0;o=(Ot(n,88937)|0)==0;y=(Ot(n,91687)|0)==0;z=(Ot(n,38493)|0)==0;A=(Ot(n,38502)|0)==0;B=(Ot(n,38513)|0)==0;C=(Ot(n,50198)|0)==0;D=(Ot(n,38524)|0)==0;E=(Ot(n,38526)|0)==0;F=(Ot(n,38528)|0)==0;G=(Ot(n,38537)|0)==0;H=(Ot(n,38545)|0)==0;I=H?28:G?27:F?26:E?25:D?24:C?22:B?21:A?20:z?19:y?18:o?17:s?16:t?15:u?14:w?13:v?12:x}else{c[g>>2]=0;c[f>>2]=g;Eu(k,93171,f)|0;do switch(i|0){case 0:{if(!(a[1925560]|0)){Iv(1925560,0,1024)|0;Es(1925560,c[j>>2]|0)|0;I=0;break b}else{Es(2137980+(c[534494]<<10)|0,c[j>>2]|0)|0;c[534494]=(c[534494]|0)+1;I=0;break b}break}case 4:{c[481717]=c[g>>2];I=0;break b;break}case 6:{c[481771]=c[g>>2];I=0;break b;break}case 7:{c[481774]=c[g>>2];I=0;break b;break}case 8:{c[481767]=c[g>>2];I=0;break b;break}case 9:{c[481768]=c[g>>2];I=0;break b;break}case 10:{c[481775]=c[g>>2];I=0;break b;break}case 11:{c[532531]=c[g>>2];I=0;break b;break}case 12:{Yu(3075101,c[j>>2]|0,1024)|0;I=0;break b;break}case 13:{c[481780]=c[g>>2];I=0;break b;break}case 14:{Jo(c[j>>2]|0,3062500)|0;I=0;break b;break}case 15:{Jo(c[j>>2]|0,3064548)|0;I=0;break b;break}case 16:{c[481716]=c[g>>2];I=0;break b;break}case 17:{Yu(2130720,c[j>>2]|0,1023)|0;c[543976]=1;I=0;break b;break}case 18:{v=c[g>>2]|0;w=(v|0)<256?v:256;v=(w|0)>0?w:0;c[532678]=v;if(!(c[543939]|0)){I=0;break b}c[543939]=v;I=0;break b;break}case 19:{c[532939]=c[g>>2];I=0;break b;break}case 20:{c[532941]=c[g>>2];I=0;break b;break}case 21:{c[532942]=c[g>>2];I=0;break b;break}case 22:{c[481772]=c[g>>2];I=0;break b;break}case 23:{Yu(2174696,c[j>>2]|0,1023)|0;I=0;break b;break}default:{if(!((i|0)!=24|(c[533464]|0)!=0)){c[533464]=ru(c[j>>2]|0,94452)|0;I=0;break b}if(!((i|0)!=25|(c[533465]|0)!=0)){c[533465]=ru(c[j>>2]|0,103074)|0;I=0;break b}switch(i|0){case 26:{Yu(2133868,c[j>>2]|0,2047)|0;I=0;break b;break}case 27:{Yu(2135916,c[j>>2]|0,2047)|0;I=0;break b;break}case 28:{Yu(1926592,c[j>>2]|0,255)|0;I=0;break b;break}default:{I=0;break b}}}}while(0)}while(0);h=h+1|0;if((h|0)>=(b|0)){m=48;break}else i=I}if((m|0)==48){Ia=e;return}}function ib(){var a=0;if(c[534491]|0){ka(5)|0;c[534491]=0}c[532937]=0;c[768028]=2;c[730441]=-15;c[786074]=0;Ng();Pg();Hg(3144900);c[768155]=7;An(c[730449]|0);An(c[730458]|0);Qn(c[(c[26136]|0)+4>>2]|0,2,2,5,5,7);Qn(c[(c[26136]|0)+4>>2]|0,5,2,2,5,7);a=Fa(0)|0;pl((Kr()|0)+a|0);br();_q(0,0);c[543656]=0;c[532940]=0;c[481714]=0;if(!($n()|0))return;do ao()|0;while(($n()|0)!=0);return}function jb(){Iv(3142376,0,488)|0;c[785701]=2;c[785632]=0;c[785702]=5;c[785598]=1;c[785617]=8;c[785618]=0;c[765624]=0;c[481719]=0;c[532534]=1;return}function kb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ia;Ia=Ia+2896|0;f=e+2888|0;g=e+2880|0;h=e+2872|0;i=e+2864|0;j=e+2048|0;k=e+1024|0;l=e;Iv(1925560,0,212412)|0;Kk();c[481769]=0;c[481771]=16;c[481767]=3;c[481775]=-1;c[481778]=1;c[532538]=1;c[532539]=1;c[481780]=0;c[481764]=1;c[481729]=1;c[481726]=5;c[481725]=20;c[481728]=0;c[481727]=0;c[481768]=2;ka(6)|0;ln(61001);qo(2);ro(3);jq(2921764,0,222536);nn()|0;hb(b,d);Iq(1);if((c[543933]|0)<32|(c[543934]|0)<32){c[543933]=580;c[543934]=540}if(!((a[3062500]|0)!=0?(d=qr(3062500,95690,j,-1)|0,sr(j)|0,!(d|0)):0))Sr(39712,3062500);if(!((a[3064548]|0)!=0?(d=qr(3064548,95690,j,-1)|0,sr(j)|0,!(d|0)):0))Sr(39719,3064548);Iv(3142376,0,488)|0;c[785701]=2;c[785632]=0;c[785702]=5;c[785598]=1;c[785617]=8;c[785618]=0;c[765624]=0;c[481719]=0;c[532534]=1;c[769129]=is()|0;Tr(39726,k);Tr(39736,k);if(c[730464]|0){c[i>>2]=1925560;hv(39745,i)|0}i=Bo(k)|0;c[730465]=i;if(!i){c[h>>2]=k;hv(39758,h)|0;ya(0)}h=c[c[i>>2]>>2]|0;c[h+20>>2]=0;c[730466]=ks(h,0)|0;h=c[(c[c[730465]>>2]|0)+4>>2]|0;c[h+20>>2]=0;c[730467]=yo(3144900,h)|0;h=c[(c[c[730465]>>2]|0)+8>>2]|0;c[h+20>>2]=0;i=yo(3144900,h)|0;c[730468]=i;if(c[481766]|0){h=(c[(c[i>>2]|0)+152>>2]|0)+16|0;i=c[c[h>>2]>>2]|0;d=a[i>>0]|0;a[i>>0]=a[i+2>>0]|0;a[(c[c[h>>2]>>2]|0)+2>>0]=d;d=c[(c[h>>2]|0)+4>>2]|0;i=a[d>>0]|0;a[d>>0]=a[d+2>>0]|0;a[(c[(c[h>>2]|0)+4>>2]|0)+2>>0]=i;i=c[(c[h>>2]|0)+8>>2]|0;d=a[i>>0]|0;a[i>>0]=a[i+2>>0]|0;a[(c[(c[h>>2]|0)+8>>2]|0)+2>>0]=d;d=c[(c[h>>2]|0)+12>>2]|0;i=a[d>>0]|0;a[d>>0]=a[d+2>>0]|0;a[(c[(c[h>>2]|0)+12>>2]|0)+2>>0]=i;i=c[(c[h>>2]|0)+16>>2]|0;d=a[i>>0]|0;a[i>>0]=a[i+2>>0]|0;a[(c[(c[h>>2]|0)+16>>2]|0)+2>>0]=d}mn(91993);mn(c[(c[(c[c[730467]>>2]|0)+16>>2]|0)+12>>2]|0);do if(!(c[532939]|0)){d=c[532941]|0;h=c[532942]|0;if((d|0)>1|(h|0)>1){i=(d|0)<8?d:8;d=(h|0)<8?h:8;gr((i|0)<1?128:i<<7,(d|0)<1?128:d<<7,8,256)|0;break}else{gr(128,128,8,256)|0;break}}else gr(144,136,8,256)|0;while(0);hr(c[(c[c[730467]>>2]|0)+4>>2]|0);c[730449]=Fn(128,128,8)|0;c[730450]=Fn(128,128,8)|0;c[730451]=Fn(128,128,8)|0;c[730452]=Fn(128,128,8)|0;c[730453]=Fn(128,128,8)|0;c[730449]=c[730450];c[730458]=Fn(128,128,8)|0;c[532672]=Fn(128,128,8)|0;c[753850]=wl(128,128)|0;c[753851]=wl(128,128)|0;d=0;do{c[3015408+(d<<2)>>2]=wl(8,32)|0;d=d+1|0}while((d|0)!=64);c[730469]=Fn(1,1,8)|0;c[730470]=Fn(8,8,8)|0;Iv(104288,0,260)|0;c[26136]=is()|0;ib();d=os(0,65538)|0;c[765606]=d;c[d+308>>2]=4;c[d+312>>2]=6;i=c[481764]|0;h=(i|0)<4?i:4;c[d+316>>2]=((h|0)>1?h:1)<<2;c[d+332>>2]=0;d=os(0,65538)|0;c[765607]=d;c[d+308>>2]=4;c[d+312>>2]=6;h=c[481764]|0;i=(h|0)<4?h:4;c[d+316>>2]=((i|0)>1?i:1)<<2;c[d+332>>2]=0;d=os(0,65538)|0;c[765608]=d;c[d+308>>2]=4;c[d+312>>2]=6;i=c[481764]|0;h=(i|0)<4?i:4;c[d+316>>2]=((h|0)>1?h:1)<<2;c[d+332>>2]=0;d=os(0,65538)|0;c[765609]=d;c[d+308>>2]=4;c[d+312>>2]=6;h=c[481764]|0;i=(h|0)<4?h:4;c[d+316>>2]=((i|0)>1?i:1)<<2;c[d+332>>2]=0;d=os(0,65538)|0;c[765610]=d;c[d+308>>2]=4;c[d+312>>2]=6;i=c[481764]|0;h=(i|0)<4?i:4;c[d+316>>2]=((h|0)>1?h:1)<<2;c[d+332>>2]=0;d=os(0,65538)|0;c[765611]=d;c[d+308>>2]=4;c[d+312>>2]=6;h=c[481764]|0;i=(h|0)<4?h:4;c[d+316>>2]=((i|0)>1?i:1)<<2;c[d+332>>2]=0;d=os(0,65538)|0;c[765612]=d;c[d+308>>2]=4;c[d+312>>2]=6;i=c[481764]|0;h=(i|0)<4?i:4;c[d+316>>2]=((h|0)>1?h:1)<<2;c[d+332>>2]=0;d=os(0,65538)|0;c[765613]=d;c[d+308>>2]=4;c[d+312>>2]=6;h=c[481764]|0;i=(h|0)<4?h:4;c[d+316>>2]=((i|0)>1?i:1)<<2;c[d+332>>2]=0;d=os(0,65538)|0;c[765614]=d;c[d+308>>2]=4;c[d+312>>2]=6;i=c[481764]|0;h=(i|0)<4?i:4;c[d+316>>2]=((h|0)>1?h:1)<<2;c[d+332>>2]=0;d=os(0,65538)|0;c[765615]=d;c[d+308>>2]=4;c[d+312>>2]=6;h=c[481764]|0;i=(h|0)<4?h:4;c[d+316>>2]=((i|0)>1?i:1)<<2;c[d+332>>2]=0;d=os(0,65538)|0;c[765616]=d;c[d+308>>2]=4;c[d+312>>2]=6;i=c[481764]|0;h=(i|0)<4?i:4;c[d+316>>2]=((h|0)>1?h:1)<<2;c[d+332>>2]=0;d=os(0,65538)|0;c[765617]=d;c[d+308>>2]=4;c[d+312>>2]=6;h=c[481764]|0;i=(h|0)<4?h:4;c[d+316>>2]=((i|0)>1?i:1)<<2;c[d+332>>2]=0;d=os(0,65538)|0;c[765618]=d;c[d+308>>2]=4;c[d+312>>2]=6;i=c[481764]|0;h=(i|0)<4?i:4;c[d+316>>2]=((h|0)>1?h:1)<<2;c[d+332>>2]=0;d=os(0,65538)|0;c[765619]=d;c[d+308>>2]=4;c[d+312>>2]=6;h=c[481764]|0;i=(h|0)<4?h:4;c[d+316>>2]=((i|0)>1?i:1)<<2;c[d+332>>2]=0;d=os(0,65538)|0;c[765620]=d;c[d+308>>2]=4;c[d+312>>2]=6;i=c[481764]|0;h=(i|0)<4?i:4;c[d+316>>2]=((h|0)>1?h:1)<<2;c[d+332>>2]=0;d=os(0,65538)|0;c[765621]=d;c[d+308>>2]=4;c[d+312>>2]=6;h=c[481764]|0;i=(h|0)<4?h:4;c[d+316>>2]=((i|0)>1?i:1)<<2;c[d+332>>2]=0;c[765622]=c[765606];Yt(3065580,qc(39215)|0)|0;d=0;do{if(!(tr(3065580)|0))break;d=d+1|0;c[g>>2]=d;it(j,39228,g)|0;Yt(3065580,qc(j)|0)|0}while(d>>>0<1e3);Jb(c[26136]|0,3066604);Gq(22050,1)|0;c[543959]=1;ka(7)|0;do if(!((c[730464]|0)==0&(a[2130720]|0)==0)){No(1925560,k);d=(ac(k)|0)==0;c[481646]=d&1;if(!d){c[f>>2]=1925560;hv(39776,f)|0;ya(1)}if(!(a[2130720]|0)){c[768028]=0;c[768033]=1;break}else{c[730464]=1;Es(l,3062500)|0;Es(3062500,39795)|0;Es(3063524,3144900)|0;Tl(2130720);Es(3062500,l)|0;ya(0)}}while(0);c[481781]=0;if(ka(8)|0)c[481781]=1;if(ka(9)|0)c[481781]=3;c[544495]=c[481716];if(!((a[2135916]|a[2133868])<<24>>24)){Ia=e;return}sc(2133868,2135916);c[534491]=1;Ia=e;return}function lb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=d&-65;d=e|2;if((d|0)==3){f=b+16|0;g=0;do{h=127;while(1){i=c[(c[f>>2]|0)+(g<<2)>>2]|0;a[i+h>>0]=a[i+(h>>>1)>>0]|0;if(!h)break;else h=h+-1|0}g=g+1|0}while((g|0)!=128)}g=e|1;if((g|0)==3){f=b+16|0;h=127;while(1){i=h>>>1;j=0;do{k=c[f>>2]|0;a[(c[k+(h<<2)>>2]|0)+j>>0]=a[(c[k+(i<<2)>>2]|0)+j>>0]|0;j=j+1|0}while((j|0)!=128);if(!h)break;else h=h+-1|0}}if((d|0)==7){h=b+16|0;f=0;do{j=0;do{i=c[(c[h>>2]|0)+(f<<2)>>2]|0;a[i+(127-j)>>0]=a[i+j>>0]|0;j=j+1|0}while((j|0)!=64);f=f+1|0}while((f|0)!=128)}if((g|0)==7){f=b+16|0;h=0;do{j=127-h|0;i=0;do{k=c[f>>2]|0;a[(c[k+(j<<2)>>2]|0)+i>>0]=a[(c[k+(h<<2)>>2]|0)+i>>0]|0;i=i+1|0}while((i|0)!=128);h=h+1|0}while((h|0)!=64)}h=(e|0)==134;if(h|(g|0)==131){g=b+16|0;f=0;do{i=127-f|0;j=0;do{k=c[g>>2]|0;l=(c[k+(f<<2)>>2]|0)+j|0;m=a[l>>0]|0;a[l>>0]=a[(c[k+(i<<2)>>2]|0)+j>>0]|0;a[(c[(c[g>>2]|0)+(i<<2)>>2]|0)+j>>0]=m;j=j+1|0}while((j|0)!=128);f=f+1|0}while((f|0)!=64)}if(h|(d|0)==131){d=b+16|0;h=0;do{f=0;do{g=c[(c[d>>2]|0)+(h<<2)>>2]|0;j=g+f|0;i=a[j>>0]|0;m=127-f|0;a[j>>0]=a[g+m>>0]|0;a[(c[(c[d>>2]|0)+(h<<2)>>2]|0)+m>>0]=i;f=f+1|0}while((f|0)!=64);h=h+1|0}while((h|0)!=128)}switch(e|0){case 133:{e=b+16|0;h=0;do{d=127-h|0;f=0;do{i=c[e>>2]|0;m=(c[i+(h<<2)>>2]|0)+f|0;g=a[m>>0]|0;j=127-f|0;a[m>>0]=a[(c[i+(j<<2)>>2]|0)+h>>0]|0;i=c[e>>2]|0;a[(c[i+(j<<2)>>2]|0)+h>>0]=a[(c[i+(d<<2)>>2]|0)+j>>0]|0;i=c[e>>2]|0;a[(c[i+(d<<2)>>2]|0)+j>>0]=a[(c[i+(f<<2)>>2]|0)+d>>0]|0;a[(c[(c[e>>2]|0)+(f<<2)>>2]|0)+d>>0]=g;f=f+1|0}while((f|0)!=64);h=h+1|0}while((h|0)!=64);return}case 135:{h=b+16|0;b=0;do{e=127-b|0;f=0;do{d=c[h>>2]|0;g=(c[d+(b<<2)>>2]|0)+f|0;i=a[g>>0]|0;a[g>>0]=a[(c[d+(f<<2)>>2]|0)+e>>0]|0;d=c[h>>2]|0;g=127-f|0;a[(c[d+(f<<2)>>2]|0)+e>>0]=a[(c[d+(e<<2)>>2]|0)+g>>0]|0;d=c[h>>2]|0;a[(c[d+(e<<2)>>2]|0)+g>>0]=a[(c[d+(g<<2)>>2]|0)+b>>0]|0;a[(c[(c[h>>2]|0)+(g<<2)>>2]|0)+b>>0]=i;f=f+1|0}while((f|0)!=64);b=b+1|0}while((b|0)!=64);return}default:return}}function mb(){if(c[532940]|0)return;c[532940]=(Kr()|0)+150;return}function nb(b){b=b|0;var 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;e=Ia;Ia=Ia+64|0;f=e;g=(c[768034]|0)!=0;h=c[769129]|0;i=c[(g&(a[3100925]|0)==0?h+4|0:2921800+((g?b:0)<<2)|0)>>2]|0;b=c[730458]|0;c[768170]=1;c[f>>2]=Sk(2921764,h,24416)|0;c[f+4>>2]=Sk(2921764,c[769129]|0,24417)|0;c[f+8>>2]=Sk(2921764,c[769129]|0,24418)|0;c[f+12>>2]=Sk(2921764,c[769129]|0,24419)|0;c[f+16>>2]=Sk(2921764,c[769129]|0,24420)|0;c[f+20>>2]=Sk(2921764,c[769129]|0,24421)|0;c[f+24>>2]=Sk(2921764,c[769129]|0,24422)|0;c[f+28>>2]=Sk(2921764,c[769129]|0,24423)|0;c[f+32>>2]=Sk(2921764,c[769129]|0,24424)|0;c[f+36>>2]=Sk(2921764,c[769129]|0,24425)|0;c[f+40>>2]=Sk(2921764,c[769129]|0,24426)|0;c[f+44>>2]=Sk(2921764,c[769129]|0,24427)|0;c[f+48>>2]=Sk(2921764,c[769129]|0,24428)|0;c[f+52>>2]=Sk(2921764,c[769129]|0,24429)|0;c[f+56>>2]=Sk(2921764,c[769129]|0,24430)|0;c[f+60>>2]=Sk(2921764,c[769129]|0,24431)|0;h=Sk(2921764,c[769129]|0,24415)|0;a:do if((h|0)==16){g=i+12|0;j=b+12|0;k=0;do{l=((Sk(2921764,c[769129]|0,(k>>>3)+24432|0)|0)&1<<(k&7)|0)==0;m=l?3072476:f;l=k<<7;n=l+128|0;o=l;do{a[(c[j>>2]|0)+o>>0]=c[m+((a[(c[g>>2]|0)+o>>0]&15)<<2)>>2]&143;o=o+1|0}while(o>>>0>>0);k=k+1|0}while((k|0)!=128);if(!(c[532940]|0))c[532940]=(Kr()|0)+150}else{if((h|0)==32&(c[768166]|0)==1&(c[768028]|0)==1){k=i+12|0;g=b+12|0;j=64;n=0;while(1){o=n<<7;if(o>>>0<(o|64)>>>0){m=o;do{o=c[k>>2]|0;a[(c[g>>2]|0)+m>>0]=c[((a[o+(m+64)>>0]|0)==0?3072476:f)+((a[o+m>>0]&15)<<2)>>2]&143;m=m+1|0}while((m|0)!=(j|0))}n=n+1|0;if((n|0)==128)break;else j=j+128|0}if(c[532940]|0)break;c[532940]=(Kr()|0)+150;break}j=i+12|0;if((h&-16|0)!=48){n=b+12|0;g=0;while(1){a[(c[n>>2]|0)+g>>0]=c[3072476+((a[(c[j>>2]|0)+g>>0]&15)<<2)>>2]&143;g=g+1|0;if((g|0)==16384)break a}}g=h+-48|0;n=b+12|0;k=0;do{m=k>>>3;o=((Sk(2921764,c[769129]|0,m+24432|0)|0)&1<<(k&7)|0)==0;l=k<<7;p=l+128|0;q=f+((o?m:m+1&15)<<2)|0;m=l;do{l=d[(c[j>>2]|0)+m>>0]|0;a[(c[n>>2]|0)+m>>0]=c[((g|0)==(l|0)?q:3072476+((l&15)<<2)|0)>>2]&143;m=m+1|0}while(m>>>0>>0);k=k+1|0}while((k|0)!=128);if(!(c[532940]|0))c[532940]=(Kr()|0)+150}while(0);if(!((c[768028]|0)==1&(c[768034]|0)!=0)){Ia=e;return}lb(b,c[768166]|0);Ia=e;return}function ob(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;switch(c[482623]|0){case 2:{am(a);return}case 3:{dm(a);return}default:{b=(c[26349]|0)==7?22:0;d=((c[482624]<<3)+8|0)/2|0;e=b+d|0;zk(a,23,63-d+b|0,104,e+64|0,1);f=64-d+b|0;Jn(a,24,f,103,e+63|0,7);e=f+6|0;if((c[26349]|0)==7){zk(a,10,25,118,55,1);Jn(a,11,26,117,54,7);oo(a,39976,c[730468]|0,22,34,1,7)|0;oo(a,39998,c[730468]|0,20,42,1,7)|0;if((hp((Kr()|0)*50|0)|0)<-1999)g=0;else g=(hp((Kr()|0)*50|0)|0)/2e3|0;En(c[(c[c[730467]>>2]|0)+((((g|0)/4|0|0)%10|0)+212<<2)>>2]|0,a,0,0,g+63|0,59,10,10);if((hp(((Kr()|0)*50|0)+32768|0)|0)<-1999)h=0;else h=(hp(((Kr()|0)*50|0)+32768|0)|0)/2e3|0;En(c[(c[c[730467]>>2]|0)+((((h|0)/4|0|0)%10|0)+212<<2)>>2]|0,a,0,0,56-h|0,59,10,10)}if((c[482624]|0)<=0)return;h=0;g=e;while(1){oo(a,105328+(h*72|0)|0,c[730468]|0,(h|0)==(c[482625]|0)?35:34,g,1,7)|0;if((h|0)==(c[482625]|0))En(c[(c[c[730467]>>2]|0)+980>>2]|0,a,0,0,25,g+-1|0,7,7);do if((c[105328+(h*72|0)+68>>2]|0)==2){e=(pm(3069040,3070064)|0)==0;f=c[(c[c[730467]>>2]|0)+752>>2]|0;b=g+-1|0;if(e){Rn(f,a,0,0,74,b,7,7,13,0);break}else{En(f,a,0,0,74,b,7,7);break}}while(0);h=h+1|0;if((h|0)>=(c[482624]|0))break;else g=g+8|0}return}}}function pb(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0;e=c[543039]|0;if(!e){f=Fn(128,128,8)|0;c[543039]=f;g=f}else g=e;e=b+4|0;tp(b,g,0,0,0,0,c[b>>2]|0,c[e>>2]|0);An(b);tp(g,b,0,0,((c[b>>2]|0)+-128|0)/2|0,((c[e>>2]|0)+-128|0)/2|0,128,128);f=c[c[730467]>>2]|0;h=c[f+996>>2]|0;i=c[f+4>>2]|0;a[i+765>>0]=73;a[i+766>>0]=51;a[i+767>>0]=59;f=g+16|0;g=0;do{j=c[f>>2]|0;k=g<<1;l=c[j+(k<<2)>>2]|0;m=0;n=0;o=0;p=0;q=0;do{r=d[l+n>>0]|0;s=d[i+(r*3|0)>>0]|0;t=d[i+(r*3|0)+1>>0]|0;u=d[i+(r*3|0)+2>>0]|0;r=80-n+s+t+u|0;q=r+q|0;p=(B(r,s)|0)+p|0;o=(B(r,t)|0)+o|0;m=(B(r,u)|0)+m|0;n=n+1|0}while((n|0)!=64);n=c[j+((k|1)<<2)>>2]|0;l=m;u=0;r=o;t=p;s=q;do{v=d[n+u>>0]|0;w=d[i+(v*3|0)>>0]|0;x=d[i+(v*3|0)+1>>0]|0;y=d[i+(v*3|0)+2>>0]|0;v=80-u+w+x+y|0;s=v+s|0;t=(B(v,w)|0)+t|0;r=(B(v,x)|0)+r|0;l=(B(v,y)|0)+l|0;u=u+1|0}while((u|0)!=64);u=g+16|0;a[i+(u*3|0)>>0]=(t|0)/(s|0)|0;a[i+(u*3|0)+1>>0]=(r|0)/(s|0)|0;a[i+(u*3|0)+2>>0]=(l|0)/(s|0)|0;g=g+1|0}while((g|0)!=64);g=0;do{u=c[f>>2]|0;n=g<<1;q=c[u+(n<<2)>>2]|0;p=0;o=0;m=0;k=0;j=0;do{y=d[q+(127-o)>>0]|0;v=d[i+(y*3|0)>>0]|0;x=d[i+(y*3|0)+1>>0]|0;w=d[i+(y*3|0)+2>>0]|0;y=80-o+v+x+w|0;j=y+j|0;k=(B(y,v)|0)+k|0;m=(B(y,x)|0)+m|0;p=(B(y,w)|0)+p|0;o=o+1|0}while((o|0)!=64);o=c[u+((n|1)<<2)>>2]|0;q=p;s=0;l=m;r=k;t=j;do{w=d[o+(127-s)>>0]|0;y=d[i+(w*3|0)>>0]|0;x=d[i+(w*3|0)+1>>0]|0;v=d[i+(w*3|0)+2>>0]|0;w=80-s+y+x+v|0;t=w+t|0;r=(B(w,y)|0)+r|0;l=(B(w,x)|0)+l|0;q=(B(w,v)|0)+q|0;s=s+1|0}while((s|0)!=64);s=g+144|0;a[i+(s*3|0)>>0]=(r|0)/(t|0)|0;a[i+(s*3|0)+1>>0]=(l|0)/(t|0)|0;a[i+(s*3|0)+2>>0]=(q|0)/(t|0)|0;g=g+1|0}while((g|0)!=64);g=0;do{f=g<<7&128|16;s=0;do{o=s+f|0;j=s+-1|0;k=((j|0)>0?j:0)+f|0;s=s+1|0;j=(s>>>0<63?s:63)+f|0;m=i+(o*3|0)|0;a[m>>0]=(((d[m>>0]|0)*6|0)+(d[i+(k*3|0)>>0]|0)+(d[i+(j*3|0)>>0]|0)|0)>>>3;m=i+(o*3|0)+1|0;a[m>>0]=(((d[m>>0]|0)*6|0)+(d[i+(k*3|0)+1>>0]|0)+(d[i+(j*3|0)+1>>0]|0)|0)>>>3;m=i+(o*3|0)+2|0;a[m>>0]=(((d[m>>0]|0)*6|0)+(d[i+(k*3|0)+2>>0]|0)+(d[i+(j*3|0)+2>>0]|0)|0)>>>3}while((s|0)!=64);g=g+1|0}while((g|0)!=256);g=h+4|0;s=0;do{f=s+16|0;t=(Pn(h,1,(B(c[g>>2]|0,s)|0)/64|0)|0)>>>16;q=(Pn(h,1,(B(c[g>>2]|0,s)|0)/64|0)|0)>>>8;l=Pn(h,1,(B(c[g>>2]|0,s)|0)/64|0)|0;r=i+(f*3|0)|0;a[r>>0]=t+(((d[r>>0]|0)/5|0)&255);r=i+(f*3|0)+1|0;a[r>>0]=q+(((d[r>>0]|0)/5|0)&255);r=i+(f*3|0)+2|0;a[r>>0]=l+(((d[r>>0]|0)/5|0)&255);s=s+1|0}while((s|0)!=64);s=0;do{r=s+144|0;l=(Pn(h,(c[h>>2]|0)+-2|0,(B(c[g>>2]|0,s)|0)/64|0)|0)>>>16;f=(Pn(h,(c[h>>2]|0)+-2|0,(B(c[g>>2]|0,s)|0)/64|0)|0)>>>8;q=Pn(h,(c[h>>2]|0)+-2|0,(B(c[g>>2]|0,s)|0)/64|0)|0;t=i+(r*3|0)|0;a[t>>0]=l+(((d[t>>0]|0)/5|0)&255);t=i+(r*3|0)+1|0;a[t>>0]=f+(((d[t>>0]|0)/5|0)&255);t=i+(r*3|0)+2|0;a[t>>0]=q+(((d[t>>0]|0)/5|0)&255);s=s+1|0}while((s|0)!=64);hr(i);i=c[e>>2]|0;if((i|0)<=0){Hn(b,0,0,255);z=c[b>>2]|0;A=z+-1|0;Hn(b,A,0,255);C=c[e>>2]|0;D=C+-1|0;Hn(b,0,D,255);E=c[b>>2]|0;F=E+-1|0;G=c[e>>2]|0;H=G+-1|0;Hn(b,F,H,255);return}s=i;i=0;do{g=(i<<6|0)/(s|0)|0;Qn(b,0,i,2,i,g+16|0);h=c[b>>2]|0;Qn(b,h+-3|0,i,h+-1|0,i,g+144|0);i=i+1|0;s=c[e>>2]|0}while((i|0)<(s|0));Hn(b,0,0,255);z=c[b>>2]|0;A=z+-1|0;Hn(b,A,0,255);C=c[e>>2]|0;D=C+-1|0;Hn(b,0,D,255);E=c[b>>2]|0;F=E+-1|0;G=c[e>>2]|0;H=G+-1|0;Hn(b,F,H,255);return}function qb(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=b+16|0;b=(((Kr()|0)/4e3|0)*101|0)+10201|0;f=0;g=0;while(1){h=a[(c[(c[e>>2]|0)+(g<<2)>>2]|0)+f>>0]|0;i=h&255;j=B(g+1001|0,b)|0;if(!(g&2)){k=0;while(1){l=c[(c[e>>2]|0)+(g<<2)>>2]|0;if((k|0)==127){m=128;n=i}else{o=k+1|0;m=o;n=d[l+o>>0]|0}o=(k&6|0)==0?((B(j,k+1103|0)|0)%19|0|0)!=0:0;a[l+k>>0]=o?((n&15|0)==0?1:n^128):n;if((m|0)==128)break;else k=m}}else{k=0;do{j=c[(c[e>>2]|0)+(g<<2)>>2]|0;i=k;k=k+1|0;a[j+i>>0]=a[j+k>>0]|0}while((k|0)!=127);a[(c[(c[e>>2]|0)+(g<<2)>>2]|0)+k>>0]=h}g=g+2|0;if(g>>>0>=128)break;else f=128}return}function rb(){var b=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;b=Ia;Ia=Ia+16|0;e=b;f=b+12|0;g=b+8|0;h=b+4|0;i=c[543040]|0;if((i|0)==5){Kr()|0;j=c[543040]|0}else j=i;c[543040]=j+1;j=c[730450]|0;a[2130428]=0;c[532673]=Kr()|0;if(c[768033]|0){Ia=b;return}An(c[730432]|0);i=c[785925]|0;if((i|0)!=0&(c[768028]|0)==0){if((i|0)==1){am(j);k=c[785925]|0}else k=i}else if(c[768029]|0){Cn(j,0,0,128,128,5);if((c[768029]|0)==1){i=c[481774]|0;if(i>>>0<2){Cn(j,0,0,128,128,1);l=c[481774]|0}else l=i;if((l|0)==2){Cn(j,0,0,128,128,0);m=c[481774]|0}else m=l;if((m|0)==3)Cn(j,0,0,128,128,5)}Cn(j,0,0,128,7,8);Cn(j,0,121,128,127,8);jo(7,0);Rr(f,g,h);if(!(c[h>>2]|0))c[785715]=-1;if(((((c[785717]|0)==89?(m=ko(lo()|0)|0,m|0):0)?(c[m+12>>2]|0)<20:0)?(c[m+16>>2]|0)<20:0)?c[m+20>>2]&1|0:0)c[785717]=(c[h>>2]|0)==0?93:94;m=c[f>>2]|0;if(((c[768029]|0)==1?(c[h>>2]|c[768175]|0)==0:0)&(m|0)==(c[543041]|0)?(h=c[g>>2]|0,(h|0)==(c[543042]|0)):0)n=h;else{c[533466]=0;n=c[g>>2]|0}c[543041]=m;c[543042]=n;n=Kr()|0;m=c[785717]|0;if((n|0)>=(c[533466]|0)&(m|0)!=0?(n=c[(c[c[730467]>>2]|0)+(m<<2)>>2]|0,m=c[n>>2]|0,h=c[n+4>>2]|0,En(n,j,0,0,(c[f>>2]|0)-((m|0)/2|0)|0,(c[g>>2]|0)-((h|0)/2|0)|0,m,h),(c[785715]|0)!=-1):0){h=c[f>>2]|0;m=c[g>>2]|0;Cn(j,h+6|0,m+4|0,h+14|0,m+10|0,7);c[e>>2]=c[785715];it(1708384,40021,e)|0;oo(j,1708384,c[730468]|0,(c[f>>2]|0)+7|0,(c[g>>2]|0)+5|0,1,14)|0}}if(!((c[481785]|0)!=0&(c[768034]|0)==0&(c[768028]|0)==1)){if(!(c[482626]|c[768036]|c[730460]))nb(0)}else tp(j,c[730458]|0,0,0,0,0,128,128);j=c[730432]|0;tp(c[730458]|0,j,0,0,0,0,128,128);if(c[482626]|c[482623]|0)ob(j);a:do if((c[768036]|0)>0|(c[768037]|0)>140?(c[768028]|0)==1&(c[768034]|0)!=0:0){do if(!((c[481785]|0)>0|(c[534493]|0)!=0)){if(c[532605]|0?(Ot(2130160,91878)|0)==0:0)break;g=c[785927]|0;f=(g|0)/2|0;if((g|0)>-2)o=f;else o=12-((0-f|0)%12|0)|0;En(c[(c[c[730467]>>2]|0)+(((o|0)%12|0)+212<<2)>>2]|0,j,0,0,3,3,12,12);break a}while(0);f=c[785927]|0;g=(f|0)/2|0;if((f|0)>-2)p=g;else p=16-((0-g|0)%16|0)|0;En(c[(c[c[730467]>>2]|0)+(((p|0)%16|0)+229<<2)>>2]|0,j,0,0,3,3,12,12)}while(0);tp(c[730432]|0,c[532672]|0,0,0,0,0,128,128);j=Kr()|0;do if((j|0)<(c[532605]|0)){p=Kr()|0;o=c[532604]|0;g=p-o|0;f=(c[532605]|0)-p|0;p=(o|0)==0?0:(f|0)<200?(200-f|0)/20|0:(g|0)<200?(200-g|0)/20|0:0;if(!(Ot(2130160,60384)|0)){Jn(c[730432]|0,0,p+119|0,101,p+127|0,0);Cn(c[730432]|0,1,p+120|0,100,p+126|0,6);oo(c[730432]|0,2130160,c[730468]|0,16,p+121|0,1,1)|0;En(c[(c[c[730467]>>2]|0)+904>>2]|0,c[730432]|0,0,0,2,(p<<1)+112|0,15,15);break}g=(Ot(2130160,60360)|0)==0;f=c[730432]|0;if(g){Jn(f,0,p+119|0,101,p+127|0,0);Cn(c[730432]|0,1,p+120|0,127,p+126|0,6);oo(c[730432]|0,2130160,c[730468]|0,16,p+121|0,1,1)|0;En(c[(c[c[730467]>>2]|0)+908>>2]|0,c[730432]|0,0,0,109,(p<<1)+112|0,17,15);break}else{Cn(f,0,p+121|0,128,p+127|0,8);oo(c[730432]|0,2130160,c[730468]|0,1,p+122|0,1,c[532606]|0)|0;break}}else if(a[2130428]|0){Cn(c[730432]|0,0,121,128,127,8);oo(c[730432]|0,2130428,c[730468]|0,1,122,1,2)|0}while(0);j=Kr()|0;c[532673]=j-(c[532673]|0);j=Kr()|0;if((j|0)<(c[532940]|0)?(j=Kr()|0,(j|0)>((c[532940]|0)+-150|0)):0){j=c[730432]|0;p=j+16|0;j=(((Kr()|0)/4e3|0)*101|0)+10201|0;f=0;g=0;while(1){o=c[(c[p>>2]|0)+(g<<2)>>2]|0;e=a[o+f>>0]|0;m=e&255;h=B(g+1001|0,j)|0;b:do if(!(g&2)){n=o;l=0;while(1){i=l+1|0;if((l|0)==127){q=128;r=m}else{q=i;r=d[n+i>>0]|0}i=(l&6|0)==0?((B(h,l+1103|0)|0)%19|0|0)!=0:0;a[n+l>>0]=i?((r&15|0)==0?1:r^128):r;if((q|0)==128)break b;n=c[(c[p>>2]|0)+(g<<2)>>2]|0;l=q}}else{l=o;n=0;do{i=n;n=n+1|0;a[l+i>>0]=a[l+n>>0]|0;l=c[(c[p>>2]|0)+(g<<2)>>2]|0}while((n|0)!=127);a[l+127>>0]=e}while(0);g=g+2|0;if(g>>>0>=128)break;else f=128}}if(!(c[532939]|0))s=1;else{pb(c[730432]|0);s=(c[532939]|0)==0}f=(c[768034]|0)!=0;if(s&(f&(((a[3069040]|0)!=0&f|(c[481715]|0)!=0)^1))?(a[3100894]&1)!=0:0){f=c[730432]|0;s=c[f>>2]|0;g=(s|0)/128|0;if((s|0)>127?(c[f+4>>2]|0)>127:0){f=0;do{s=B(f,g)|0;p=f<<7;q=0;do{r=q+s|0;if((r+-1|0)>>>0<3){nb(r);tp(c[730458]|0,c[730432]|0,0,0,q<<7,p,128,128)}q=q+1|0}while((q|0)!=(g|0));f=f+1|0}while((f|0)<((c[(c[730432]|0)+4>>2]|0)/128|0|0))}}else t=80;if((t|0)==80?(Ek(0),(Fk()|0)>1):0){t=1;do{An(c[2921800+(t<<2)>>2]|0);t=t+1|0}while((t|0)<(Fk()|0))}if(c[533456]|0)Tg(c[730432]|0);if(!(c[482623]|0))Rg(c[730432]|0);t=c[481723]|0;if((t|0)<=127){Ia=b;return}lb(c[730432]|0,t);Ia=b;return}function sb(a){a=a|0;return (a|0)>15&(a|0)!=27&1|0}function tb(b){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;d=Ia;Ia=Ia+2064|0;e=d+2048|0;f=d+1024|0;g=d;if(!(c[785924]|0)){Ia=d;return}if(!b)Yt(f,3142876)|0;else Yt(f,qc(b)|0)|0;if(a[f>>0]|0?(h=f+((Pt(f)|0)+-1)|0,(a[h>>0]|0)==42):0)a[h>>0]=0;a:do switch(c[785923]|0){case 0:{pc(b,g)|0;if(!(a[g>>0]|0)){h=1708384;i=40026;j=h+13|0;do{a[h>>0]=a[i>>0]|0;h=h+1|0;i=i+1|0}while((h|0)<(j|0))}else{c[e>>2]=g;it(1708384,40039,e)|0}Fg(1708384,12);if(!(ur(f)|0)){Hg(40053);k=0;l=17;break a}else{i=qr(f,95690,3142876,16384)|0;c[785923]=1;m=i;l=18;break a}break}case 2:{i=qr(f,95690,3142876,-16385)|0;c[785923]=3;n=i;l=23;break}default:{k=rr(3142876)|0;l=17}}while(0);if((l|0)==17)switch(c[785923]|0){case 1:{m=k;l=18;break}case 3:{n=k;l=23;break}default:{}}do if((l|0)==18){if(m|0){c[785923]=2;break}if(Ot(3143132,103254)|0?Ot(3143132,95214)|0:0){Fg(3143132,14);c[785924]=(c[785924]|0)+-1}}else if((l|0)==23){if(n|0){sr(3142876)|0;c[785923]=0;break}if(Pu(3143132,91894)|0){Hg(3143132);c[785924]=(c[785924]|0)+-1;break}if((c[785847]&16384|0)==0&(a[2129072]|0)==42){Fg(3143132,5);c[785924]=(c[785924]|0)+-1}}while(0);if(!((c[785924]|0)==0&(c[785923]|0)!=0)){Ia=d;return}Fg(40063,12);Ia=d;return}function ub(){var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=Ia;Ia=Ia+16|0;d=b;c[482624]=0;e=c[482623]|0;if((e|0)<2){c[482624]=1;f=105328;g=f+72|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));Yu(105328,40072,16)|0;c[26349]=0;if(a[3076190]|0){h=c[482624]|0;c[482624]=h+1;i=105328+(h*72|0)|0;f=i;g=f+72|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));Yu(i,3076190,16)|0;c[105328+(h*72|0)+68>>2]=257}if(a[3076254]|0){h=c[482624]|0;c[482624]=h+1;i=105328+(h*72|0)|0;f=i;g=f+72|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));Yu(i,3076254,16)|0;c[105328+(h*72|0)+68>>2]=258}if(a[3076318]|0){h=c[482624]|0;c[482624]=h+1;i=105328+(h*72|0)|0;f=i;g=f+72|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));Yu(i,3076318,16)|0;c[105328+(h*72|0)+68>>2]=259}if(a[3076382]|0){h=c[482624]|0;c[482624]=h+1;i=105328+(h*72|0)|0;f=i;g=f+72|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));Yu(i,3076382,16)|0;c[105328+(h*72|0)+68>>2]=260}if(a[3076446]|0){h=c[482624]|0;c[482624]=h+1;i=105328+(h*72|0)|0;f=i;g=f+72|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));Yu(i,3076446,16)|0;c[105328+(h*72|0)+68>>2]=261}h=c[482624]|0;c[482624]=h+1;i=105328+(h*72|0)|0;f=i;g=f+72|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));Yu(i,91528,16)|0;c[105328+(h*72|0)+68>>2]=8;h=c[482624]|0;c[482624]=h+1;i=105328+(h*72|0)|0;f=i;g=f+72|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));Yu(i,40081,16)|0;c[105328+(h*72|0)+68>>2]=1;if(Ag()|0){h=Ag()|0;i=c[482624]|0;c[482624]=i+1;j=105328+(i*72|0)|0;f=j;g=f+72|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));Yu(j,h,16)|0;c[105328+(i*72|0)+68>>2]=5}if(c[481647]|0){i=c[482624]|0;c[482624]=i+1;h=105328+(i*72|0)|0;f=h;g=f+72|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));Yu(h,89664,16)|0;c[105328+(i*72|0)+68>>2]=6}k=c[482623]|0}else k=e;if((k|0)!=4){Ia=b;return}it(1708384,(c[543939]|0)==0?40101:40092,d)|0;d=c[482624]|0;c[482624]=d+1;k=105328+(d*72|0)|0;f=k;g=f+72|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));Yu(k,1708384,16)|0;c[105328+(d*72|0)+68>>2]=9;f=1708384;d=40111;g=f+17|0;do{a[f>>0]=a[d>>0]|0;f=f+1|0;d=d+1|0}while((f|0)<(g|0));d=c[532678]|0;k=(c[543939]|0)>0?16:18;a[1708392]=(d|0)>31?k:45;a[1708393]=(d|0)>63?k:45;a[1708394]=(d|0)>95?k:45;a[1708395]=(d|0)>127?k:45;a[1708396]=(d|0)>159?k:45;a[1708397]=(d|0)>191?k:45;a[1708398]=(d|0)>223?k:45;a[1708399]=(d|0)>255?k:45;k=c[482624]|0;c[482624]=k+1;d=105328+(k*72|0)|0;f=d;g=f+72|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));Yu(d,1708384,16)|0;c[105328+(k*72|0)+68>>2]=19;k=c[482624]|0;c[482624]=k+1;d=105328+(k*72|0)|0;f=d;g=f+72|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));Yu(d,59499,16)|0;c[105328+(k*72|0)+68>>2]=13;k=c[482624]|0;c[482624]=k+1;d=105328+(k*72|0)|0;f=d;g=f+72|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));Yu(d,91682,16)|0;c[105328+(k*72|0)+68>>2]=11;Ia=b;return}function vb(){var b=0,d=0,e=0,f=0,g=0;b=c[768185]|0;if(c[482627]|0){c[482627]=0;c[482623]=1;c[482624]=1;d=105328;e=d+72|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));Yu(105328,40128,16)|0;c[26349]=7;f=c[482624]|0;c[482624]=f+1;g=105328+(f*72|0)|0;d=g;e=d+72|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));Yu(g,40140,16)|0;c[105328+(f*72|0)+68>>2]=0;c[482625]=0;a[1713161]=1;cl()}if((b|0)==0|(c[768034]|0)==0|(c[482623]|0)!=0)return;if((Sk(2921764,c[769129]|0,24368)|0)==1)Rk(2921764,c[769129]|0,24368,0);else{c[482623]=1;ub();c[482625]=0}a[1713161]=1;cl();return}function wb(){var b=0,d=0,e=0,f=0,g=0,h=0,i=0;b=(co(-5)|0)!=0;d=b&(c[543045]|0)==0&1;c[543045]=co(-5)|0;if(!($n()|0))e=d;else{b=d;while(1){d=ao()|0;a:do if(!(co(-5)|0)){f=c[786056]|0;if((c[482623]|0)==0&(f|0)<256?(g=(d+-65|0)>>>0<26?d+63|0:d,h=(g|0)==127?8:g,h>>>0<154):0){a[3143968+f>>0]=h;c[786056]=(c[786056]|0)+1;i=b}else i=b}else{do if((d+-111|0)>>>0<2){c[533456]=((c[533456]|0)+1|0)%2|0;cl()}else{if((d|0)==114&(c[730463]|0)==0){h=Kr()|0;if((h|0)<=((c[532676]|0)+500|0))break;c[730463]=1;c[482623]=0;c[532676]=Kr()|0;if($n()|0)do ao()|0;while(($n()|0)!=0);cl()}if((d|0)!=118)if((d+-97|0)>>>0<26)break;else{i=b;break a}h=es()|0;if((h|0)!=0?(a[h>>0]|0)!=0:0){mq(c[482628]|0);f=kq((Pt(h)|0)<<2)|0;c[482628]=f;ys(h,f)|0;mq(h)}else mq(h);cl()}while(0);a[3143968+(c[786056]|0)>>0]=d+95;c[786056]=(c[786056]|0)+1;i=0}while(0);if(!($n()|0)){e=i;break}else b=i}}if(!e)return;a[3143968+(c[786056]|0)>>0]=-38;c[786056]=(c[786056]|0)+1;return}function xb(){var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(fl(2,0)|0)c[482625]=(c[482625]|0)+-1;b=(fl(3,0)|0)==0;d=c[482625]|0;if(b)e=d;else{b=d+1|0;c[482625]=b;e=b}b=c[482624]|0;if((e|0)>-1)f=e;else f=b-((0-e|0)%(b|0)|0)|0;c[482625]=(f|0)%(b|0)|0;b=fl(0,0)|0;f=fl(1,0)|0;e=(b|0)!=0;d=(f|0)==0;do if(f|b|0){g=c[105328+((c[482625]|0)*72|0)+68>>2]|0;if((g|0)>255){h=(g|0)<261?g+-256|0:5;a[3076510+((h|0)>0?h:0)>>0]=e?1:2;c[482626]=1;if(c[482623]|0)c[786056]=0;c[482623]=0;h=3072716;c[h>>2]=0;c[h+4>>2]=0;c[768307]=1;c[768308]=1;break}if((g|0)==19){if(e)c[532678]=(c[532678]|0)+-32;g=c[532678]|0;if(d)i=g;else{h=g+32|0;c[532678]=h;i=h}h=(i|0)<256?i:256;g=(h|0)>8?h:8;c[532678]=g;c[543939]=g;g=3072716;c[g>>2]=0;c[g+4>>2]=0;c[768307]=1;c[768308]=1;ub()}}while(0);if(!(((fl(4,0)|0)==0?(fl(5,0)|0)==0:0)?!(fl(6,0)|0):0))j=21;a:do if((j|0)==21){c[768183]=0;c[768184]=0;c[768185]=0;c[768311]=1;c[768312]=1;c[768313]=1;i=c[105328+((c[482625]|0)*72|0)+68>>2]|0;if((i|0)>255){a[3076510+((i|0)<261?i+-256|0:5)>>0]=112;c[482626]=1;if(c[482623]|0)c[786056]=0;c[482623]=0}do switch(i|0){case 0:{if(c[482623]|0)c[786056]=0;c[482623]=0;break a;break}case 1:{if(c[482623]|0)c[786056]=0;c[482623]=0;c[730463]=1;break a;break}case 13:{c[482623]=3;break a;break}case 3:{if(c[482623]|0)c[786056]=0;c[482623]=0;c[768033]=2;c[482622]=2;break a;break}case 4:{if(c[482623]|0)c[786056]=0;c[482623]=0;Yg();c[785925]=0;c[768028]=0;c[768155]=6;break a;break}case 5:{Eg();break a;break}case 6:{c[543503]=1;break a;break}case 8:{c[482623]=4;ub();c[482625]=0;break a;break}case 9:{if(!(c[543939]|0)){d=c[532678]|0;k=(d|0)==0?256:d}else k=0;c[543939]=k;ub();break a;break}case 10:{lr();ub();break a;break}case 11:{c[482623]=1;ub();c[482625]=0;break a;break}case 12:{Zl();c[482623]=2;cl();break a;break}default:break a}while(0)}while(0);if(c[482623]|c[543654]|0)return;cl();return}function yb(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0;if(c[785925]|0){if(!($n()|0))return;do{a=ao()|0;b=c[785925]|0;if((b|0)==2)d=c[785925]|0;else d=b;if((d|0)==1){$l(a);e=c[785925]|0}else e=d;if((e|0)==2){Km(a);f=c[785925]|0}else f=e;if((f|0)==0?$n()|0:0)do ao()|0;while(($n()|0)!=0)}while(($n()|0)!=0);return}if(!(c[785923]|0)){if(!(c[785926]|0))return;if(!($n()|0))return;f=ao()|0;switch(f|0){case 13:case 121:{g=26;break}case 27:case 110:break;default:return}a:do if((g|0)==26){e=1|0;d=(e|0)<0?e:0;Wg(106480+(((d|0)>0?d:0)<<8)|0,1);switch(f|0){case 27:case 110:{break a;break}default:{}}return}while(0);c[785926]=0;Hg(91964);return}else{if(c[785924]|0)return;if(!($n()|0))return;do{f=ao()|0;if((f|0)!=0?(g=c[768157]|0,d=g+-6|0,c[768157]=d,Cn(c[730449]|0,0,d,128,g+-1|0,0),(f|0)==27):0){c[785923]=0;sr(3142876)|0;h=0}else h=17;c[785924]=h}while(($n()|0)!=0);return}}function zb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=Ia;Ia=Ia+272|0;g=f+256|0;h=f;c[g>>2]=d;c[g+4>>2]=e;it(h,a,g)|0;Es(2130160,h)|0;c[532604]=Kr()|0;c[532605]=b+400+(Kr()|0);c[532606]=15;Ia=f;return}function Ab(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0;a=Ia;Ia=Ia+272|0;b=a+256|0;d=a;js(c[769129]|0);js(c[26136]|0);qs(c[765606]|0);qs(c[765607]|0);qs(c[765608]|0);qs(c[765609]|0);qs(c[765610]|0);qs(c[765611]|0);qs(c[765612]|0);qs(c[765613]|0);qs(c[765614]|0);qs(c[765615]|0);qs(c[765616]|0);qs(c[765617]|0);qs(c[765618]|0);qs(c[765619]|0);qs(c[765620]|0);qs(c[765621]|0);c[765622]=0;jq(3065576,0,77296);Iv(3142376,0,488)|0;c[785701]=2;c[785632]=0;c[785702]=5;c[785598]=1;c[785617]=8;c[785618]=0;c[765624]=0;c[481719]=0;c[532534]=1;Es(3063524,3144900)|0;c[769129]=is()|0;c[26136]=is()|0;e=os(0,65538)|0;c[765606]=e;c[e+308>>2]=4;c[e+312>>2]=6;f=c[481764]|0;g=(f|0)<4?f:4;c[e+316>>2]=((g|0)>1?g:1)<<2;c[e+332>>2]=0;e=os(0,65538)|0;c[765607]=e;c[e+308>>2]=4;c[e+312>>2]=6;g=c[481764]|0;f=(g|0)<4?g:4;c[e+316>>2]=((f|0)>1?f:1)<<2;c[e+332>>2]=0;e=os(0,65538)|0;c[765608]=e;c[e+308>>2]=4;c[e+312>>2]=6;f=c[481764]|0;g=(f|0)<4?f:4;c[e+316>>2]=((g|0)>1?g:1)<<2;c[e+332>>2]=0;e=os(0,65538)|0;c[765609]=e;c[e+308>>2]=4;c[e+312>>2]=6;g=c[481764]|0;f=(g|0)<4?g:4;c[e+316>>2]=((f|0)>1?f:1)<<2;c[e+332>>2]=0;e=os(0,65538)|0;c[765610]=e;c[e+308>>2]=4;c[e+312>>2]=6;f=c[481764]|0;g=(f|0)<4?f:4;c[e+316>>2]=((g|0)>1?g:1)<<2;c[e+332>>2]=0;e=os(0,65538)|0;c[765611]=e;c[e+308>>2]=4;c[e+312>>2]=6;g=c[481764]|0;f=(g|0)<4?g:4;c[e+316>>2]=((f|0)>1?f:1)<<2;c[e+332>>2]=0;e=os(0,65538)|0;c[765612]=e;c[e+308>>2]=4;c[e+312>>2]=6;f=c[481764]|0;g=(f|0)<4?f:4;c[e+316>>2]=((g|0)>1?g:1)<<2;c[e+332>>2]=0;e=os(0,65538)|0;c[765613]=e;c[e+308>>2]=4;c[e+312>>2]=6;g=c[481764]|0;f=(g|0)<4?g:4;c[e+316>>2]=((f|0)>1?f:1)<<2;c[e+332>>2]=0;e=os(0,65538)|0;c[765614]=e;c[e+308>>2]=4;c[e+312>>2]=6;f=c[481764]|0;g=(f|0)<4?f:4;c[e+316>>2]=((g|0)>1?g:1)<<2;c[e+332>>2]=0;e=os(0,65538)|0;c[765615]=e;c[e+308>>2]=4;c[e+312>>2]=6;g=c[481764]|0;f=(g|0)<4?g:4;c[e+316>>2]=((f|0)>1?f:1)<<2;c[e+332>>2]=0;e=os(0,65538)|0;c[765616]=e;c[e+308>>2]=4;c[e+312>>2]=6;f=c[481764]|0;g=(f|0)<4?f:4;c[e+316>>2]=((g|0)>1?g:1)<<2;c[e+332>>2]=0;e=os(0,65538)|0;c[765617]=e;c[e+308>>2]=4;c[e+312>>2]=6;g=c[481764]|0;f=(g|0)<4?g:4;c[e+316>>2]=((f|0)>1?f:1)<<2;c[e+332>>2]=0;e=os(0,65538)|0;c[765618]=e;c[e+308>>2]=4;c[e+312>>2]=6;f=c[481764]|0;g=(f|0)<4?f:4;c[e+316>>2]=((g|0)>1?g:1)<<2;c[e+332>>2]=0;e=os(0,65538)|0;c[765619]=e;c[e+308>>2]=4;c[e+312>>2]=6;g=c[481764]|0;f=(g|0)<4?g:4;c[e+316>>2]=((f|0)>1?f:1)<<2;c[e+332>>2]=0;e=os(0,65538)|0;c[765620]=e;c[e+308>>2]=4;c[e+312>>2]=6;f=c[481764]|0;g=(f|0)<4?f:4;c[e+316>>2]=((g|0)>1?g:1)<<2;c[e+332>>2]=0;e=os(0,65538)|0;c[765621]=e;c[e+308>>2]=4;c[e+312>>2]=6;g=c[481764]|0;f=(g|0)<4?g:4;c[e+316>>2]=((f|0)>1?f:1)<<2;c[e+332>>2]=0;c[765622]=c[765606];ib();c[532936]=0;Yt(3065580,qc(39215)|0)|0;e=0;while(1){if(!(tr(3065580)|0)){h=4;break}e=e+1|0;c[b>>2]=e;it(d,39228,b)|0;Yt(3065580,qc(d)|0)|0;if(e>>>0>=1e3){h=4;break}}if((h|0)==4){Jb(c[26136]|0,3066604);Ia=a;return}}function Bb(a){a=a|0;if((c[730463]|0)>0)return 0;else{Nd(c[543065]|0,a)|0;pf(c[543065]|0)|0}return 0}function Cb(){var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=c[730463]|0;if(!b)return;d=(b|0)<(((c[785580]|0)==60?12:6)|0)?b+1|0:0;c[730463]=d;if((d|0)==2){b=Sk(2921764,c[769129]|0,24366)|0;if(!(gp(8)|0))c[768166]=gp(4)|0;e=c[769129]|0;Rk(2921764,e,24384,gp(256)|0);e=c[769129]|0;Rk(2921764,e,24384,gp(256)|0);e=c[769129]|0;Rk(2921764,e,24384,gp(256)|0);e=c[769129]|0;Rk(2921764,e,24384,gp(256)|0);if(!(gp(4)|0)){e=c[769129]|0;Rk(2921764,e,24414,gp(16)|0|240)}gp(3)|0;gp(10)|0;e=(c[532531]|0)==0?4:c[532532]<<1;f=e*10|0;if((e|0)>0){g=0;do{h=c[769129]|0;i=gp(12288)|0;Rk(2921764,h,i,gp(256)|0);g=g+1|0}while((g|0)<(f|0))}f=c[769129]|0;g=(gp(32)|0)+24320|0;Rk(2921764,f,g,gp(140)|0);g=c[769129]|0;f=(gp(32)|0)+24320|0;Rk(2921764,g,f,gp(140)|0);if(!(gp(4)|0)){f=c[769129]|0;Rk(2921764,f,24369,gp(256)|0);f=c[769129]|0;Rk(2921764,f,24370,gp(256)|0);f=c[769129]|0;Rk(2921764,f,24371,gp(256)|0)}if(!(gp(4)|0)){f=c[769129]|0;Rk(2921764,f,24408,gp(256)|0);f=c[769129]|0;Rk(2921764,f,24409,gp(256)|0);f=c[769129]|0;Rk(2921764,f,24410,gp(256)|0);f=c[769129]|0;Rk(2921764,f,24411,gp(256)|0)}f=(e|0)/2|0;g=(e|0)>1;if(g){e=0;do{i=(gp(10240)|0)+1024|0;h=c[769129]|0;j=(gp(2048)|0)+i|0;k=j-(gp(2048)|0)|0;Uk(2921764,h,i,k,gp(1024)|0);k=c[769129]|0;i=gp(11264)|0;h=gp(11264)|0;Uk(2921764,k,i,h,gp(1024)|0);e=e+1|0}while((e|0)!=(f|0));if(g){g=0;do{e=gp(11776)|0;h=c[769129]|0;i=gp(256)|0;Vk(2921764,h,e,i,gp(512)|0);g=g+1|0}while((g|0)!=(f|0))}}Rk(2921764,c[769129]|0,24366,b);l=c[730463]|0}else l=d;if(l|0)return;c[768033]=1;if(a[3075101]|0)return;Es(3075101,3074076)|0;return}function Db(){var a=0,b=0,d=0,e=0,f=0,g=0;a=c[768033]|0;if(!a)return;c[730463]=0;if((a|0)==1){bh();if((c[768028]|0)==2)c[768028]=0;b=c[768033]|0}else b=a;if((b|0)==2){Yg();d=c[768033]|0}else d=b;if((d|0)==3){Ab();e=c[768033]|0}else e=d;if((e|0)==4){Yg();Ng();Hg(3144900);Hg(172528);f=c[768033]|0}else f=e;if((f|0)==5){Ab();g=c[768033]|0}else g=f;if((g|0)==6)Ng();c[768033]=0;return}function Eb(){var 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;a=Ia;Ia=Ia+1040|0;b=a+1032|0;d=a+1024|0;e=a;switch(c[481785]|0){case 1:{f=2;break}case 0:{Ia=a;return}default:{}}if((f|0)==2){g=Kr()|0;if((g|0)>(((c[543975]|0)*1e3|0)+(c[481786]|0)|0)?(Dm(0),Cg(),(c[768034]|0)==0):0){c[768157]=(c[768157]|0)+-6;Ig(40182,0,0)}if(!(c[481785]|0)){Ia=a;return}}if((co(41)|0)==0?!((c[768034]|0)!=0&(c[768185]|0)!=0):0){g=c[481785]|0;if((g|0)==2){c[481785]=0;h=(Pu(1928440,40225)|0)!=0;i=c[481787]|0;do if(!(h&(i|0)==0)){if(h&(i|0)==1){Fm(1928440)|0;break}j=Sb(1928440)|0;if(j|0){Yb(j,1928440);c[481788]=6;if((c[768034]|0)==0|(c[730464]|0)!=0){c[768157]=(c[768157]|0)+-6;Ig(40257,0,0);Fg(1996446,14);k=$g(1928440)|0;l=Pt(c[j>>2]|0)|0;c[b>>2]=k;c[b+4>>2]=l;it(1708384,40274,b)|0;Ig(1708384,0,0);break}else{Dg();c[768033]=1;c[768036]=20;break}}l=c[481721]|0;c[481788]=-10-l;if((l|0)==1){Es(2130160,40296)|0;c[532604]=Kr()|0;c[532605]=(Kr()|0)+1900;c[532606]=15;m=c[481721]|0}else m=l;if((m|0)==2){Es(2130160,59813)|0;c[532604]=Kr()|0;c[532605]=(Kr()|0)+1900;c[532606]=15;n=c[481721]|0}else n=m;if((n|0)==3){Es(2130160,40321)|0;c[532604]=Kr()|0;c[532605]=(Kr()|0)+1900;c[532606]=15;o=c[481721]|0}else o=n;if((o|0)==4){Es(2130160,43084)|0;c[532604]=Kr()|0;c[532605]=(Kr()|0)+1900;c[532606]=15}}else{l=zp(1928440)|0;Es(e,1928440)|0;k=Pu(1928440,40230)|0;if(k|0)Es(e+(k-1928440)+1|0,k+6|0)|0;do if(l)if((Pt(yp(l,91898,0)|0)|0)>>>0<=1)if(!(Ot(yp(l,91919,0)|0,95780)|0)){p=l;break}else{f=19;break}else{To(1928440,e)|0;p=l;break}else f=19;while(0);if((f|0)==19){l=zp(e)|0;if(!l){if(!(c[768034]|0))Ig(40296,0,0);Cg();c[481788]=-3;break}else p=l}l=yp(p,91898,0)|0;if((Pt(l)|0)>>>0<2){k=(Ot(yp(p,91919,0)|0,95780)|0)==0;j=(c[768034]|0)!=0;do if(k)if(j)q=-1;else{Ig(40237,0,0);q=-1}else if(j){Es(2130160,38202)|0;c[532604]=Kr()|0;c[532605]=(Kr()|0)+1900;c[532606]=15;q=-2;break}else{Ig(38202,0,0);q=-2;break}while(0);c[481788]=q;Cg();c[768036]=0}else{j=ac(mm(l)|0)|0;Nm(p);do if(!j){c[481788]=5;if((c[768034]|0)==0|(c[730464]|0)!=0){c[768157]=(c[768157]|0)+-6;Ig(40257,0,0);Es(1708384,yp(p,91902,0)|0)|0;em(1708384);Fg(1708384,14);k=Pt(c[c[26136]>>2]|0)|0;c[d>>2]=l;c[d+4>>2]=k;it(1708384,40274,d)|0;Ig(1708384,0,0);break}else{Dg();c[768033]=1;c[768036]=20;break}}else{zm(l);Es(1996446,yp(p,91902,0)|0)|0;em(1996446)}while(0);xp(p)}c[785927]=0}while(0);r=c[481785]|0}else r=g;if((r|0)!=3){Ia=a;return}c[481785]=0;c[481788]=-3;Cg();if(!(c[768034]|0)){Ig(91878,0,0);Ia=a;return}else{Es(2130160,91878)|0;c[532604]=Kr()|0;c[532605]=(Kr()|0)+1900;c[532606]=15;Ia=a;return}}Dm(0);Cg();if(!(c[768034]|0)){c[768157]=(c[768157]|0)+-6;Ig(40201,0,0)}c[768185]=0;c[768313]=1;Ia=a;return}function Fb(){var a=0,b=0,d=0;a=fr(0,Kr()|0)|0;c[482629]=c[a>>2];c[482630]=c[a+4>>2];c[482631]=c[a+8>>2];c[482632]=c[a+12>>2];c[482633]=c[a+16>>2];c[482634]=c[a+20>>2];if(!(c[482631]|0)){a=fr(4,Kr()|0)|0;c[482629]=c[a>>2];c[482630]=c[a+4>>2];c[482631]=c[a+8>>2];c[482632]=c[a+12>>2];c[482633]=c[a+16>>2];c[482634]=c[a+20>>2]}a=fr(1,Kr()|0)|0;c[482635]=c[a>>2];c[482636]=c[a+4>>2];c[482637]=c[a+8>>2];c[482638]=c[a+12>>2];c[482639]=c[a+16>>2];c[482640]=c[a+20>>2];if(!(c[482637]|0)){a=fr(5,Kr()|0)|0;c[482635]=c[a>>2];c[482636]=c[a+4>>2];c[482637]=c[a+8>>2];c[482638]=c[a+12>>2];c[482639]=c[a+16>>2];c[482640]=c[a+20>>2]}a=fr(2,Kr()|0)|0;c[482641]=c[a>>2];c[482642]=c[a+4>>2];c[482643]=c[a+8>>2];c[482644]=c[a+12>>2];c[482645]=c[a+16>>2];c[482646]=c[a+20>>2];if(!(c[482643]|0)){a=fr(6,Kr()|0)|0;c[482641]=c[a>>2];c[482642]=c[a+4>>2];c[482643]=c[a+8>>2];c[482644]=c[a+12>>2];c[482645]=c[a+16>>2];c[482646]=c[a+20>>2]}a=fr(3,Kr()|0)|0;c[482647]=c[a>>2];c[482648]=c[a+4>>2];c[482649]=c[a+8>>2];c[482650]=c[a+12>>2];c[482651]=c[a+16>>2];c[482652]=c[a+20>>2];if(c[482649]|0){b=Kr()|0;d=fr(-1,b)|0;c[482653]=c[d>>2];c[482654]=c[d+4>>2];c[482655]=c[d+8>>2];c[482656]=c[d+12>>2];c[482657]=c[d+16>>2];c[482658]=c[d+20>>2];return}a=fr(7,Kr()|0)|0;c[482647]=c[a>>2];c[482648]=c[a+4>>2];c[482649]=c[a+8>>2];c[482650]=c[a+12>>2];c[482651]=c[a+16>>2];c[482652]=c[a+20>>2];b=Kr()|0;d=fr(-1,b)|0;c[482653]=c[d>>2];c[482654]=c[d+4>>2];c[482655]=c[d+8>>2];c[482656]=c[d+12>>2];c[482657]=c[d+16>>2];c[482658]=c[d+20>>2];return}function Gb(){var 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,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;b=Ia;Ia=Ia+304|0;d=b+272|0;e=b+264|0;f=b+256|0;g=b;h=b+292|0;i=b+288|0;j=b+284|0;k=b+280|0;l=b+276|0;if(c[543503]|0){An(c[730449]|0);br();_q(0,0);Ia=b;return}m=c[8695]|0;do if((c[768028]|0)!=2&(m|0)!=-1){if((c[532678]|0)==(m|0)?(c[543939]|0)==(c[8696]|0):0)break;Ko()}while(0);c[8695]=c[532678];c[8696]=c[543939];Vg();do if((c[482623]|0)==0&(c[768028]|0)==1&(c[768034]|0)!=0){if((bl(6,0)|0)==0?($k(6,0)|0)<=128:0){c[543043]=Kr()|0;c[543044]=0;break}m=c[543044]|0;c[543044]=m+1;if((m|0)>4?(m=Kr()|0,(m|0)>((c[543043]|0)+500|0)):0){c[482623]=1;c[482625]=0;ub();cl();a[1713161]=1}}else c[543043]=Kr()|0;while(0);nc();Qk();m=c[543939]|0;if(m|0)c[532678]=m;c[543940]=256;m=((Sk(2921764,c[769129]|0,24365)|0)&5|0)==5;Xr((c[482623]|0)==0&((c[768028]|0)==1&m)&1);m=c[532531]|0;n=c[768028]|0;do if((m|0)!=0&(n|0)==1){o=m+1|0;c[532531]=o;if((o|0)==12)c[730463]=1;if((c[768033]|0)==1){fc(c[730458]|0,0,0)|0;c[532531]=1;o=(c[532532]|0)+1|0;c[532532]=o;if((o|0)==48)ya(0);else{p=c[768028]|0;break}}else p=1}else p=n;while(0);if(!((c[768029]|0)>>>0>1&((c[481769]|0)!=0&(p|0)==0))){c[543658]=0;c[543657]=0}if(co(-5)|0?(co(16)|0)==3:0){if(!(c[543939]|0)){p=c[532678]|0;c[543939]=(p|0)==0?256:p;Es(2130160,40164)|0}else{c[543939]=0;Es(2130160,40145)|0}c[532604]=Kr()|0;c[532605]=(Kr()|0)+1400;c[532606]=15;c[543940]=256;ub()}if(co(-5)|0?(co(45)|0)==3:0){p=(c[532678]|0)+-32|0;n=(p|0)<256?p:256;p=(n|0)>0?n:0;c[532678]=p;c[543939]=p;q=1708384;r=40352;s=q+32|0;do{a[q>>0]=a[r>>0]|0;q=q+1|0;r=r+1|0}while((q|0)<(s|0));a[1708395]=(p|0)>31?16:45;a[1708396]=(p|0)>63?16:45;a[1708397]=(p|0)>95?16:45;a[1708398]=(p|0)>127?16:45;a[1708399]=(p|0)>159?16:45;a[1708400]=(p|0)>191?16:45;a[1708401]=(p|0)>223?16:45;a[1708402]=(p|0)>255?16:45;Es(2130160,1708384)|0;c[532604]=Kr()|0;c[532605]=(Kr()|0)+1900;c[532606]=15;c[532604]=(c[532604]|0)+-1e3;ub();if($n()|0)do ao()|0;while(($n()|0)!=0)}if(co(-5)|0?(co(46)|0)==3:0){p=(c[532678]|0)+32|0;n=(p|0)<256?p:256;p=(n|0)>0?n:0;c[532678]=p;c[543939]=p;q=1708384;r=40352;s=q+32|0;do{a[q>>0]=a[r>>0]|0;q=q+1|0;r=r+1|0}while((q|0)<(s|0));a[1708395]=(p|0)>31?16:45;a[1708396]=(p|0)>63?16:45;a[1708397]=(p|0)>95?16:45;a[1708398]=(p|0)>127?16:45;a[1708399]=(p|0)>159?16:45;a[1708400]=(p|0)>191?16:45;a[1708401]=(p|0)>223?16:45;a[1708402]=(p|0)>255?16:45;Es(2130160,1708384)|0;c[532604]=Kr()|0;c[532605]=(Kr()|0)+1900;c[532606]=15;c[532604]=(c[532604]|0)+-1e3;ub();if($n()|0)do ao()|0;while(($n()|0)!=0)};c[768439]=-1;c[768440]=-1;c[768441]=-1;c[768442]=-1;c[768443]=-1;c[768444]=-1;c[768445]=-1;c[768446]=-1;p=c[482623]|0;r=c[543939]|0;q=c[730442]|0;s=as()|0;n=((Sk(2921764,c[769129]|0,24365)|0)&5|0)==5;pa(10,p|0,r|0,q|0,s|0,1,(c[482623]|0)==0&((c[768028]|0)==1&n)&1|0,c[481714]|0,c[543503]|0)|0;c[543046]=(c[543046]|0)+1;n=ka(11)|0;a:do if((n|0)>0){s=ka(12)|0;do switch(n|0){case 1:{c[768033]=1;break a;break}case 2:{q=(s|0)<256?s:256;c[543939]=(q|0)>0?q:0;c[543940]=256;break a;break}case 3:{if(!(c[543939]|0)){q=c[532678]|0;c[543939]=(q|0)==0?256:q;Es(2130160,40164)|0}else{c[543939]=0;Es(2130160,40145)|0}c[532604]=Kr()|0;c[532605]=(Kr()|0)+1400;c[532606]=15;c[543940]=256;break a;break}case 4:{if(!(c[482623]|0)){c[482659]=1;c[543043]=0;break a}else{c[786056]=0;c[482623]=0;break a}break}case 5:{q=(s|0)==0;r=(c[482623]|0)!=0;if(!(q|r)){c[482623]=1;ub();c[482625]=0;break a}if(!(q&r))break a;c[786056]=0;c[482623]=0;break a;break}case 6:{Iv(1925560,0,1024)|0;la(3,0)|0;a[103264]=0;r=0;do{q=ka(4)|0;a[103264+r>>0]=q;r=r+1|0;a[103264+r>>0]=0}while((q|0)!=0&r>>>0<1023);Es(1925560,om(3144900,103264)|0)|0;Ab();An(c[730432]|0);An(c[730458]|0);An(c[730449]|0);break a;break}case 7:{r=c[482623]|0;if((r|1|0)!=3){c[482623]=3;Zl();break a}if(r|0)c[786056]=0;c[482623]=0;break a;break}case 9:{c[533463]=0;oc();break a;break}case 10:{c[533463]=1;break a;break}case 11:{c[533463]=0;break a;break}default:break a}while(0)}while(0);ka(13)|0;c[768439]=ka(14)|0;c[768440]=ka(14)|0;c[768441]=ka(14)|0;c[768442]=ka(14)|0;c[768443]=ka(14)|0;c[768444]=ka(14)|0;c[768445]=ka(14)|0;c[768446]=ka(14)|0;c[532679]=ka(15)|0;c[785717]=89;Db();if((c[768028]|0)!=1){c[543654]=0;if(c[482623]|0)c[786056]=0;c[482623]=0;c[785580]=30}n=(Kr()|0)+72e6|0;s=(c[482623]|c[543654]|0)==0;r=c[785580]|0;q=n-(c[543047]|0)|0;p=B((((q|0)<32e3?q:32e3)<<16|0)/1e3|0,s?r:30)|0;q=p+(c[532674]|0)|0;p=(q|0)>0?q:0;c[532674]=p;c[543047]=n;if(!(c[532531]|0))t=p;else{c[532674]=65536;t=65536}p=(r|0)==60?131072:131071;r=t>>>0
>>0?t:p;p=(r|0)>0?r:0;c[532674]=p;if(s){Rr(j,k,l);l=c[j>>2]|0;j=c[k>>2]|0;k=(j|0)!=(c[543049]|0)|(l|0)!=(c[543048]|0);c[543048]=l;c[543049]=j;j=(co(225)|0)==0;l=(c[768028]|0)!=1;s=c[532674]|0;if((s|0)<65536&(l&(k&j)^1)|l&(s|0)<32768){l=2131772+(c[533455]<<5)+16|0;c[l>>2]=(c[l>>2]|0)+1;l=(as()|0)==0;j=l?c[543942]|0:c[543941]|0;if((j|0)>0)u=100/(((j|0)<50?j:50)>>>0)|0;else u=1e4;j=c[543050]|0;if((j|0)<(u|0)){un();v=c[543050]|0}else v=j;w=c[532674]|0;x=v+1|0}else{w=s;x=0}c[543050]=x;if((w|0)>65535)do{do if((c[768028]|0)==1){if((c[481785]|0)>0|(c[534493]|0)!=0){el();if((c[481785]|0)>0)Eb();w=c[768036]|0;if((w|0)<=10)break;c[768036]=w+-1;break}w=c[768036]|0;if((w|0)>0){c[768036]=w+-1;break}Fb();w=(c[768037]|0)+-1|0;x=(w|0)<150?w:150;c[768037]=(x|0)>0?x:0;wb();c[g>>2]=0;c[h>>2]=0;c[i>>2]=0;Rr(g,h,i);x=c[8692]|0;w=c[g>>2]|0;do if((x|0)==-1){y=c[h>>2]|0;z=c[i>>2]|0}else{if((x|0)!=(w|0))c[768175]=c[768175]|1;s=c[h>>2]|0;if((c[8693]|0)!=(s|0))c[768175]=c[768175]|2;v=c[8694]|0;j=c[i>>2]|0;if((v|0)==(j|0)){y=s;z=v;break}c[768175]=c[768175]|4;y=s;z=j}while(0);c[8692]=w;c[8693]=y;c[8694]=z;if((c[768034]|0)==0|(c[768511]|0)<2){el();if(c[768034]|0)c[730442]=((c[785580]|0)==30?2:1)+(c[730442]|0);vb();Ug()}if((c[730463]|0)>2)break;c[533460]=1;eh();c[533460]=0;if(!(c[730460]|0))break;c[532675]=1;if(!((c[768034]|0)!=0&(c[768511]|0)==2))break;if((Mg(0)|0)<=2097152)break;dl();vb();Ug()}else{el();x=c[785925]|0;if((x|0)==1){bm();A=c[785925]|0}else A=x;c[768036]=0}while(0);x=c[768028]|0;if((x|0)==2){kn();C=c[768028]|0}else C=x;do if((C|0)==3){x=bo()|0;if(!(c[768179]|x|c[768180]|c[768181]|c[768182]|c[768183]|c[768184]|c[768185]))break;ib()}while(0);Cb();c[532674]=(c[532674]|0)+-65536;c[730441]=(c[730441]|0)+1;c[785927]=(c[785927]|0)+1;x=c[543051]&1^1;c[543051]=x;do if(!(c[481773]|0)){j=c[543654]|0;s=c[482623]|0;v=c[785580]|0;if((v|0)==60&(j|x|s|0)==0){Hh(c[532672]|0);D=c[482623]|0;E=c[543654]|0;F=c[785580]|0}else{D=s;E=j;F=v}if((F|0)==30|(D|E|0)!=0){Hh(c[532672]|0);G=c[482623]|0;H=c[543654]|0;I=c[785580]|0}else{G=D;H=E;I=F}if(!((G|H|0)==0&(I|0)==15))break;Hh(c[532672]|0);Hh(c[532672]|0)}while(0)}while((c[532674]|0)>65535)}else if((p|0)>65535){el();Fb();switch(c[482623]|0){case 2:{bm();break}case 3:{if(fl(6,0)|0){if(c[482623]|0)c[786056]=0;c[482623]=0;cl()}break}default:{wb();xb()}}c[532674]=(c[532674]|0)+-65536;if(!(c[481773]|0))Hh(c[532672]|0)}if(!(c[768029]|c[768028])){yb();p=c[785923]|0;I=c[785924]|0;if((p|0)!=0&(I|0)>0){tb(0);J=c[785923]|0;K=c[785924]|0}else{J=p;K=I}if((J|0)!=0&(K|0)>0)tb(0)}if((c[768028]|0)==1&(c[768029]|0)==0&(c[482623]|0)==2?(co(41)|0)==3:0)_l();if(c[768035]|0)c[768035]=0;do if(!(c[481727]|0))L=0;else{if((co(63)|0)!=3?(co(58)|0)!=3:0)M=0;else M=1;if((co(64)|0)!=3?(co(59)|0)!=3:0)N=M;else N=2;if((co(65)|0)!=3?(co(60)|0)!=3:0)O=N;else O=3;if((co(66)|0)!=3?(co(61)|0)!=3:0)P=O;else P=4;if((co(67)|0)!=3?(co(62)|0)!=3:0){L=P;break}L=5}while(0);if(!(co(-5)|0))Q=L;else{P=(co(35)|0)==3;Q=P?1:L}if(!(co(-5)|0))R=Q;else{L=(co(36)|0)==3;R=L?2:Q}if(!(co(-5)|0))S=R;else{Q=(co(37)|0)==3;S=Q?3:R}if(!(co(-5)|0))T=S;else{R=(co(38)|0)==3;T=R?4:S}if(!(co(-5)|0))U=T;else{S=(co(39)|0)==3;U=S?5:T}b:do if(!(co(-4)|0))switch(U|0){case 1:{if(!(fc(c[730458]|0,0,0)|0)){Es(2130160,59291)|0;c[532604]=Kr()|0;c[532605]=(Kr()|0)+1400;c[532606]=15;break b}else{Es(2130160,41153)|0;c[532604]=Kr()|0;c[532605]=(Kr()|0)+1900;c[532606]=15;break b}break}case 3:{Ih();Es(2130160,41182)|0;c[532604]=Kr()|0;c[532605]=(Kr()|0)+1400;c[532606]=15;break b;break}case 4:{T=Gh(0,0)|0;do if((T|0)!=9)if((T|0)>0){Es(2130160,41239)|0;c[532604]=Kr()|0;c[532605]=(Kr()|0)+1900;c[532606]=15;break}else{c[f>>2]=Mh()|0;c[f+4>>2]=0;it(g,59449,f)|0;Es(2130160,g)|0;c[532604]=Kr()|0;c[532605]=(Kr()|0)+1900;c[532606]=15;break}else{Es(2130160,41207)|0;c[532604]=Kr()|0;c[532605]=(Kr()|0)+1900;c[532606]=15}while(0);if((c[481772]|0)!=1)break b;Ih();break b;break}default:break b}while(0);if(c[499496]|0){Hv(1712608,1997470,512)|0;c[499496]=0}if(!(c[481785]|c[768036]|c[768037]))c[785927]=0;g=c[768028]|0;if((g|0)==1&(c[768034]|0)!=0){f=Sk(2921764,c[769129]|0,24367)|0;U=(f|0)==1|((f|0)!=2?(c[482626]|c[482623]|0)!=0:0);f=c[543656]|0;c[543656]=(f+-1|0)>>>0<4&(U^1)?f+1|0:U&1;V=c[768028]|0}else V=g;do if((V|1|0)==3){c[543672]=0;W=199}else{g=c[543672]|0;if(g|0){c[e>>2]=g&255;it(1708384,41263,e)|0;Es(2130160,1708384)|0;c[532604]=Kr()|0;c[532605]=(Kr()|0)+1400;c[532606]=15;c[543672]=0}g=c[543673]|0;if(!g)break;c[d>>2]=g&255;it(1708384,41285,d)|0;Es(2130160,1708384)|0;c[532604]=Kr()|0;c[532605]=(Kr()|0)+1400;c[532606]=15;W=199}while(0);if((W|0)==199)c[543673]=0;W=c[533465]|0;if(W|0)zu(W)|0;zu(c[8720]|0)|0;Ia=b;return}function Hb(){var a=0;Rl()|0;if(c[785923]|0)sr(3142876)|0;a=c[533464]|0;if(a|0)xu(a)|0;a=c[533465]|0;if(!a){qn()|0;return}xu(a)|0;qn()|0;return}function Ib(a,b){a=a|0;b=b|0;ka(16)|0;return wn(a,b)|0}function Jb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=Ia;Ia=Ia+1024|0;f=e;g=d;h=g+40|0;do{a[g>>0]=48;g=g+1|0}while((g|0)<(h|0));i=d+40|0;a[i>>0]=0;if(!b){Ia=e;return}j=iq(32768)|0;g=f;h=g+64|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));g=c[b>>2]|0;tq(g,Pt(g)|0,f)|0;a[f+40>>0]=0;g=c[b>>2]|0;c[b>>2]=f;h=Kb(b,j,0)|0;c[b>>2]=g;if(!h)tq(j,32768,d)|0;else Es(d,f)|0;a[i>>0]=0;mq(j);Ia=e;return}function Kb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;jq(d,0,32768);Eq();f=0;do{a[d+f>>0]=Sk(0,b,f)|0;f=f+1|0}while((f|0)!=17152);Fq();f=iq(262144)|0;g=c[b>>2]|0;do if(!e){h=f;i=Cl(g,f,Pt(g)|0)|0;j=0}else{if(!(Wm(g,f)|0)){b=iq(262144)|0;h=b;i=Cl(f,b,Pt(f)|0)|0;j=f;break}mq(f);k=2;return k|0}while(0);c[543052]=i;if((i|0)>15616){mq(h);mq(j);k=1;return k|0}else{Hv(d+17152|0,h|0,i|0)|0;mq(h);mq(j);k=0;return k|0}return 0}function Lb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=Ia;Ia=Ia+1056|0;d=b+1040|0;e=b+1024|0;f=b+768|0;g=b+512|0;h=b;i=Io(a)|0;Mo(a,0,f,g);c[e>>2]=f;c[e+4>>2]=g;it(h,102731,e)|0;if(!i){c[d>>2]=a;hv(41395,d)|0;Ia=b;return}c[481714]=0;if((Pu(a,57282)|0)==0?(Pu(a,90760)|0)==0:0){j=i+12|0;k=i+16|0}else{a=iq(20971520)|0;Nh(e);d=i+12|0;g=i+16|0;Ph(c[d>>2]|0,c[g>>2]|0,a,e)|0;Qh(a+(Pt(a)|0)|0,e)|0;c[i+20>>2]=0;c[g>>2]=0;uo(a,Pt(a)|0,1,i)|0;mq(a);j=d;k=g}g=Pt(h)|0;na(17,h|0,g|0,c[j>>2]|0,c[k>>2]|0)|0;pq(i);Ia=b;return}function Mb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=Ia;Ia=Ia+16|0;g=f;h=f+4|0;i=Io(a)|0;j=i+16|0;k=iq(((c[j>>2]<<3|0)/6|0)+256|0)|0;jq(h,0,12);c[g>>2]=b;it(k,41508,g)|0;g=k+(Pt(k)|0)|0;if(i|0){Nh(h);Ph(c[i+12>>2]|0,c[j>>2]|0,g,h)|0;Qh(g+(Pt(g)|0)|0,h)|0}h=Pt(k)|0;oa(18,k|0,h|0,d|0,e|0,a|0,Pt(a)|0)|0;mq(k);Eo(i);Ia=f;return}function Nb(b,e,f){b=b|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,q=0;g=Ia;Ia=Ia+16|0;h=g;i=kq(32768)|0;jq(i,0,32768);if(Kb(b,i,1)|0){Fg(42932,8);mq(i);j=1;Ia=g;return j|0}if(Pu(e,58792)|0){b=c[543052]|0;k=kq((b<<1|1)+1024|0)|0;if((b|0)>0){l=k;m=0;n=0;while(1){c[h>>2]=d[i+(m+17152)>>0];it(l,102994,h)|0;o=n+2|0;if((m&31|0)==31){a[k+o>>0]=10;p=n+3|0}else p=o;m=m+1|0;o=k+p|0;if((m|0)==(b|0)){q=o;break}else{l=o;n=p}}}else q=k;a[q>>0]=0;bs(k)|0;mq(k);mq(i);Ig(42957,b,0);j=0;Ia=g;return j|0}b=Co(e,103074)|0;if(!b){mq(i);j=1;Ia=g;return j|0}if(!f){uo(i,1,32768,b)|0;Ig(43016,32768,0)}else{uo(i+17152|0,1,c[543052]|0,b)|0;Ig(42987,c[543052]|0,0)}Eo(b);mq(i);j=0;Ia=g;return j|0}function Ob(b,e,f){b=b|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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;g=Ia;Ia=Ia+256|0;h=g+64|0;i=g+240|0;j=g+232|0;k=g+224|0;l=g+216|0;m=g+208|0;n=g+200|0;o=g+192|0;p=g+184|0;q=g+176|0;r=g+168|0;s=g+160|0;t=g+152|0;u=g+144|0;v=g+136|0;w=g+128|0;x=g+120|0;y=g+112|0;z=g+104|0;A=g+96|0;B=g;C=g+244|0;D=B;E=D+64|0;do{c[D>>2]=0;D=D+4|0}while((D|0)<(E|0));D=kq(32800)|0;jq(D,0,32800);if(Kb(b,D,f)|0){mq(D);Fg(42932,8);F=2;Ia=g;return F|0}a[D+32768>>0]=41;a[D+32769>>0]=0;a[D+32770>>0]=2;a[D+32771>>0]=5;a[D+32772>>0]=Em()|0;a[D+32773>>0]=6;tq(D,32768,B)|0;c[C>>2]=0;c[A>>2]=C;Eu(B,43033,A)|0;a[D+32774>>0]=c[C>>2];c[C>>2]=0;c[z>>2]=C;Eu(B+2|0,43033,z)|0;a[D+32775>>0]=c[C>>2];c[C>>2]=0;c[y>>2]=C;Eu(B+4|0,43033,y)|0;a[D+32776>>0]=c[C>>2];c[C>>2]=0;c[x>>2]=C;Eu(B+6|0,43033,x)|0;a[D+32777>>0]=c[C>>2];c[C>>2]=0;c[w>>2]=C;Eu(B+8|0,43033,w)|0;a[D+32778>>0]=c[C>>2];c[C>>2]=0;c[v>>2]=C;Eu(B+10|0,43033,v)|0;a[D+32779>>0]=c[C>>2];c[C>>2]=0;c[u>>2]=C;Eu(B+12|0,43033,u)|0;a[D+32780>>0]=c[C>>2];c[C>>2]=0;c[t>>2]=C;Eu(B+14|0,43033,t)|0;a[D+32781>>0]=c[C>>2];c[C>>2]=0;c[s>>2]=C;Eu(B+16|0,43033,s)|0;a[D+32782>>0]=c[C>>2];c[C>>2]=0;c[r>>2]=C;Eu(B+18|0,43033,r)|0;a[D+32783>>0]=c[C>>2];c[C>>2]=0;c[q>>2]=C;Eu(B+20|0,43033,q)|0;a[D+32784>>0]=c[C>>2];c[C>>2]=0;c[p>>2]=C;Eu(B+22|0,43033,p)|0;a[D+32785>>0]=c[C>>2];c[C>>2]=0;c[o>>2]=C;Eu(B+24|0,43033,o)|0;a[D+32786>>0]=c[C>>2];c[C>>2]=0;c[n>>2]=C;Eu(B+26|0,43033,n)|0;a[D+32787>>0]=c[C>>2];c[C>>2]=0;c[m>>2]=C;Eu(B+28|0,43033,m)|0;a[D+32788>>0]=c[C>>2];c[C>>2]=0;c[l>>2]=C;Eu(B+30|0,43033,l)|0;a[D+32789>>0]=c[C>>2];c[C>>2]=0;c[k>>2]=C;Eu(B+32|0,43033,k)|0;a[D+32790>>0]=c[C>>2];c[C>>2]=0;c[j>>2]=C;Eu(B+34|0,43033,j)|0;a[D+32791>>0]=c[C>>2];c[C>>2]=0;c[i>>2]=C;Eu(B+36|0,43033,i)|0;a[D+32792>>0]=c[C>>2];c[C>>2]=0;c[h>>2]=C;Eu(B+38|0,43033,h)|0;a[D+32793>>0]=c[C>>2];C=Fn(160,205,32)|0;tp(c[(c[c[730467]>>2]|0)+580>>2]|0,C,0,0,0,0,160,205);B=c[b+44576>>2]|0;if(B|0)tp(B,C,0,0,16,24,128,128);B=c[b>>2]|0;b=B;while(1){i=a[b>>0]|0;G=i<<24>>24==10;H=b+1|0;if(G^i<<24>>24!=0)b=H;else break}i=G?H:b;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;c[h+16>>2]=0;c[h+20>>2]=0;c[h+24>>2]=0;c[h+28>>2]=0;if((a[B>>0]|0)==45?(a[B+1>>0]|0)==45:0){b=B+2|0;H=(a[b>>0]|0)==32?B+3|0:b;b=0;a:while(1){B=a[H>>0]|0;switch(B<<24>>24){case 10:case 0:{break a;break}default:{}}if(b>>>0>=31)break;a[h+b>>0]=B;H=H+1|0;b=b+1|0}oo(C,h,c[730468]|0,18,167,1,-1808)|0};c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;c[h+16>>2]=0;c[h+20>>2]=0;c[h+24>>2]=0;c[h+28>>2]=0;if((a[i>>0]|0)==45?(a[i+1>>0]|0)==45:0){b=i+2|0;H=(a[b>>0]|0)==32?i+3|0:b;b=0;b:while(1){i=a[H>>0]|0;switch(i<<24>>24){case 10:case 0:{break b;break}default:{}}if(b>>>0>=31)break;a[h+b>>0]=i;H=H+1|0;b=b+1|0}oo(C,h,c[730468]|0,18,175,1,-1808)|0}oo(C,102736,c[730468]|0,18,187,1,-6250336)|0;h=0;b=c[C+12>>2]|0;while(1){H=a[b>>0]&-4;a[b>>0]=H;a[b>>0]=(d[D+(h>>>2)>>0]|0)>>>(h<<1&6)&3|H&255;h=h+1|0;if((h|0)==131200)break;else b=b+1|0}Qo(e,C)|0;Gn(C)|0;mq(D);F=0;Ia=g;return F|0}function Pb(a,b){a=a|0;b=b|0;return Ob(a,b,0)|0}function Qb(a,b){a=a|0;b=b|0;var e=0,f=0;e=0;do{Rk(0,a,e,d[b+e>>0]|0);e=e+1|0}while((e|0)!=17152);if(!(c[a>>2]|0)){e=kq(65538)|0;c[a>>2]=e;jq(e,0,65538)}e=b+17152|0;b=(Bl(e)|0)==0;f=c[a>>2]|0;if(b){Hv(f|0,e|0,15616)|0;return}else{jq(f,0,65538);Dl(e,c[a>>2]|0,65537)|0;return}}function Rb(b){b=b|0;var 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;e=Ia;Ia=Ia+80|0;f=e+72|0;g=e+64|0;h=e;i=e+76|0;c[481721]=0;if(!b){c[481721]=2;j=0;Ia=e;return j|0}k=Oo(b)|0;if(!k){c[481721]=1;j=0;Ia=e;return j|0}if((c[k>>2]|0)==160?(c[k+4>>2]|0)==205:0){b=is()|0;l=c[k+12>>2]|0;m=0;do{n=m<<2;a[l+m>>0]=a[l+(n|1)>>0]<<2&12|a[l+n>>0]&3|a[l+(n|2)>>0]<<4&48|a[l+(n|3)>>0]<<6&255;m=m+1|0}while((m|0)!=32800);m=l+32768|0;c[b+44580>>2]=d[m>>0];n=a[m>>0]|0;m=n&255;do if((n&255)>41){if(c[481716]|0){eb(43037,1500);break}c[g>>2]=m;it(1708384,43065,g)|0;Hg(1708384);c[481721]=3;Gn(k)|0;j=0;Ia=e;return j|0}while(0);Qb(b,l);tq(l,32768,h)|0;g=0;m=0;n=0;do{c[i>>2]=0;c[f>>2]=i;Eu(h+(n<<1)|0,43033,f)|0;o=a[l+(n+32774)>>0]|0;m=o<<24>>24==0?m:1;g=(c[i>>2]|0)==(o&255|0)?g:1;n=n+1|0}while((n|0)!=20);Gn(k)|0;if((m|0)!=0&(g|0)!=0){Hg(43084);p=0;q=4}else{p=b;q=0}c[481721]=q;j=p;Ia=e;return j|0}Gn(k)|0;c[481721]=5;j=0;Ia=e;return j|0}function Sb(a){a=a|0;var b=0,d=0;b=Co(a,94452)|0;d=Rb(b)|0;Eo(b);if(!d)return d|0;c[d+44576>>2]=qm(a)|0;return d|0}function Tb(b){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,q=0,r=0,s=0,t=0,u=0,v=0,w=0;d=Ia;Ia=Ia+16|0;e=d;f=Co(b,94452)|0;if(!f){g=0;Ia=d;return g|0}b=is()|0;h=iq(262144)|0;i=iq(65536)|0;j=so(h,1,131071,f)|0;a:do switch(a[h>>0]|0){case -17:{if((a[h+1>>0]|0)==-69?(a[h+2>>0]|0)==-65:0){k=h+3|0;l=0;m=1}else n=17;break}case 0:{if(((a[h+1>>0]|0)==0?(a[h+2>>0]|0)==-2:0)?(a[h+3>>0]|0)==-1:0){k=h+4|0;l=3;m=4}else n=17;break}case -1:{if((a[h+1>>0]|0)==-2){if((a[h+2>>0]|0)==0?(a[h+3>>0]|0)==0:0){k=h+4|0;l=0;m=4;break a}o=h+2|0;if((a[o>>0]|0)==0?(a[h+3>>0]|0)==0:0){k=h;l=0;m=1;break a}k=o;l=0;m=2}else{k=h;l=0;m=1}break}case -2:{if((a[h+1>>0]|0)==-1){o=h+2|0;if((a[o>>0]|0)==0?(a[h+3>>0]|0)==0:0)n=17;else{k=o;l=1;m=2}}else n=17;break}default:n=17}while(0);if((n|0)==17){k=h;l=0;m=1}n=(j+h-k|0)/(m|0)|0;if((n|0)>0){j=0;o=0;while(1){p=B(j,m)|0;q=a[k+(p+l)>>0]|0;r=0;s=0;while(1){if((s|0)==(l|0))t=r;else t=(a[k+(s+p)>>0]|0)==0?r:1;s=s+1|0;if(s>>>0>=m>>>0)break;else r=t}if(!t)if(q<<24>>24==13)u=o;else{a[k+o>>0]=q;u=o+1|0}else{a[k+o>>0]=95;a[k+(o+1)>>0]=120;r=0;s=o+2|0;while(1){c[e>>2]=a[k+(r+p)>>0];it(k+s|0,102994,e)|0;r=r+1|0;v=s+2|0;if(r>>>0>=m>>>0){u=v;break}else s=v}}j=j+1|0;if((j|0)==(n|0)){w=u;break}else o=u}}else w=0;a[k+w>>0]=10;a[k+(w+1)>>0]=0;w=iq(131072)|0;ys(k,w)|0;a[w+65534>>0]=0;Eo(f);mq(h);mq(i);i=w+(Pt(w)|0)|0;a[i>>0]=10;a[i+1>>0]=0;Es(c[b>>2]|0,w)|0;mq(w);g=b;Ia=d;return g|0}function Ub(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Ia;Ia=Ia+3120|0;e=d+3104|0;f=d+3088|0;g=d+3072|0;h=d+2048|0;i=d+1024|0;j=d;Es(b,a)|0;if(Fs(b,91894)|0){Ia=d;return}Mo(a,h,i,j);if(Fs(j,91297)|0){c[g>>2]=h;c[g+4>>2]=i;c[g+8>>2]=j;it(b,43112,g)|0;Ia=d;return}if(!(Fs(j,43122)|0)){c[e>>2]=h;c[e+4>>2]=i;c[e+8>>2]=j;it(b,43127,e)|0;Ia=d;return}else{c[f>>2]=h;c[f+4>>2]=i;c[f+8>>2]=j;it(b,43112,f)|0;Ia=d;return}}function Vb(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=Ia;Ia=Ia+4160|0;g=f+4096|0;h=f+2048|0;i=f+1024|0;j=f;k=f+4120|0;if(!(a[b>>0]|0)){Es(h,43137)|0;Es(i,91894)|0}else Mo(b,f+3072|0,h,i);Sr(43146,j);if(e|0){vr(k,0);e=c[k+8>>2]|0;l=c[k+12>>2]|0;m=c[k+16>>2]|0;n=c[k+20>>2]|0;o=c[k+24>>2]|0;c[g>>2]=c[k+4>>2];c[g+4>>2]=e;c[g+8>>2]=l;c[g+12>>2]=m;c[g+16>>2]=n;c[g+20>>2]=o;it(1708384,43154,g)|0;Zt(j,1708384)|0}Zt(j,h)|0;Zt(j,i)|0;if(d|0){d=kq(1048576)|0;i=Co(b,94452)|0;h=so(d,1,1048576,i)|0;Eo(i);i=Co(j,103074)|0;uo(d,1,h,i)|0;Eo(i);mq(d);Ia=f;return 0}Zg();if(Fs(b,91297)|0){Ob(c[26136]|0,j,0)|0;Ia=f;return 0}d=(Fs(b,43122)|0)==0;b=c[26136]|0;if(d){ns(b,j)|0;Ia=f;return 0}else{Nb(b,j,0)|0;Ia=f;return 0}return 0}function Wb(a,b){a=a|0;b=b|0;Vb(a,b,1)|0;return 0}function Xb(b){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;d=Ia;Ia=Ia+1024|0;e=d;Zg();f=iq(262144)|0;do if(Wm(c[c[26136]>>2]|0,f)|0){if((Fs(b,91297)|0)==0?(Fs(b,43122)|0)==0:0){Es(f,c[c[26136]>>2]|0)|0;break}mq(f);g=1;Ia=d;return g|0}while(0);h=Pt(f)|0;i=Pt(c[c[26136]>>2]|0)|0;j=(h|0)==(i|0);if(i>>>0>65536){Hg(43180);mq(f);g=1;Ia=d;return g|0}i=iq(262144)|0;jq(i,0,262144);h=Cl(f,i,Pt(f)|0)|0;mq(i);if((Fs(b,91297)|0)==0?(Fs(b,43122)|0)==0:0){if((h|0)>15616){Fg(43251,9);Fg(43284,9);Ig(43237,h,15616);Hg(43315)}}else k=12;do if((k|0)==12){if((h|0)>15616){Fg(43205,8);Ig(43237,h,15616);mq(f);g=1;Ia=d;return g|0}if(Fs(b,91297)|0){i=c[(c[26136]|0)+44576>>2]|0;if(i|0){l=c[i+12>>2]|0;i=a[l>>0]|0;m=1;n=0;do{n=(a[l+m>>0]|0)==i<<24>>24?n:1;m=m+1|0}while((m|0)!=16384);if(n|0)break}Fg(58830,9);Fg(58854,10)}}while(0);Ub(b,e);if(Ot(e,3065580)|0?tr(e)|0:0)Vb(e,1,1)|0;do if(!(Fs(e,91297)|0)){b=(Fs(e,43122)|0)==0;h=c[26136]|0;if(b){o=ns(h,e)|0;break}else{Es(c[h>>2]|0,f)|0;_g();o=Nb(c[26136]|0,e,0)|0;break}}else{Es(c[c[26136]>>2]|0,f)|0;_g();o=Ob(c[26136]|0,e,0)|0}while(0);if(!o){Es(3065580,e)|0;Jb(c[26136]|0,3066604);if(!j)Fg(43335,9)}else if(c[768029]|0)eb(43355,1500);mq(f);g=o;Ia=d;return g|0}function Yb(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=Ia;Ia=Ia+1040|0;g=f+1032|0;h=f+1024|0;i=f;if(!b){Ia=f;return}js(c[26136]|0);c[26136]=b;Zb(b);j=c[(c[b+12>>2]|0)+16>>2]|0;k=0;l=32;while(1){m=c[j+(l<<2)>>2]|0;n=k;o=0;do{n=(a[m+o>>0]|0)==0?n:1;o=o+1|0}while((o|0)!=128);l=l+1|0;if((l|0)==64)break;else k=n}if(!n)Bh(b);else Ch(b);c[481714]=0;Jb(c[26136]|0,3066686);_g();Zg();Jb(c[26136]|0,3066604);a[192048]=0;c[h>>2]=43399;c[h+4>>2]=3066604;it(192048,43376,h)|0;h=192048+(Pt(192048)|0)|0;a[h>>0]=46;a[h+1>>0]=112;a[h+2>>0]=56;a[h+3>>0]=0;Es(i,192048)|0;if(!e)Es(3065580,i)|0;else Es(3065580,e)|0;do if(ah(e)|0){c[g>>2]=i;it(1703776,43402,g)|0;pn(1703776);h=ls(i)|0;if(!h){pn(43470);break}pn(43461);n=0;do{if(1<<(n&7)&d[(n>>>3)+(h+44604)>>0]|0)Rk(0,b,n,Sk(0,h,n)|0);n=n+1|0}while((n|0)!=17152)}while(0);jb();Bs(c[(c[765606]|0)+364>>2]|0);i=c[765606]|0;c[i+336>>2]=0;c[i+344>>2]=-1;c[i+348>>2]=-1;Bs(c[(c[765607]|0)+364>>2]|0);i=c[765607]|0;c[i+336>>2]=0;c[i+344>>2]=-1;c[i+348>>2]=-1;Bs(c[(c[765608]|0)+364>>2]|0);i=c[765608]|0;c[i+336>>2]=0;c[i+344>>2]=-1;c[i+348>>2]=-1;Bs(c[(c[765609]|0)+364>>2]|0);i=c[765609]|0;c[i+336>>2]=0;c[i+344>>2]=-1;c[i+348>>2]=-1;Bs(c[(c[765610]|0)+364>>2]|0);i=c[765610]|0;c[i+336>>2]=0;c[i+344>>2]=-1;c[i+348>>2]=-1;Bs(c[(c[765611]|0)+364>>2]|0);i=c[765611]|0;c[i+336>>2]=0;c[i+344>>2]=-1;c[i+348>>2]=-1;Bs(c[(c[765612]|0)+364>>2]|0);i=c[765612]|0;c[i+336>>2]=0;c[i+344>>2]=-1;c[i+348>>2]=-1;Bs(c[(c[765613]|0)+364>>2]|0);i=c[765613]|0;c[i+336>>2]=0;c[i+344>>2]=-1;c[i+348>>2]=-1;Bs(c[(c[765614]|0)+364>>2]|0);i=c[765614]|0;c[i+336>>2]=0;c[i+344>>2]=-1;c[i+348>>2]=-1;Bs(c[(c[765615]|0)+364>>2]|0);i=c[765615]|0;c[i+336>>2]=0;c[i+344>>2]=-1;c[i+348>>2]=-1;Bs(c[(c[765616]|0)+364>>2]|0);i=c[765616]|0;c[i+336>>2]=0;c[i+344>>2]=-1;c[i+348>>2]=-1;Bs(c[(c[765617]|0)+364>>2]|0);i=c[765617]|0;c[i+336>>2]=0;c[i+344>>2]=-1;c[i+348>>2]=-1;Bs(c[(c[765618]|0)+364>>2]|0);i=c[765618]|0;c[i+336>>2]=0;c[i+344>>2]=-1;c[i+348>>2]=-1;Bs(c[(c[765619]|0)+364>>2]|0);i=c[765619]|0;c[i+336>>2]=0;c[i+344>>2]=-1;c[i+348>>2]=-1;Bs(c[(c[765620]|0)+364>>2]|0);i=c[765620]|0;c[i+336>>2]=0;c[i+344>>2]=-1;c[i+348>>2]=-1;Bs(c[(c[765621]|0)+364>>2]|0);i=c[765621]|0;c[i+336>>2]=0;c[i+344>>2]=-1;c[i+348>>2]=-1;c[532936]=0;c[481783]=0;i=0;do{if(c[b+16+(i*660|0)>>2]&294|0)c[481783]=1;i=i+1|0}while((i|0)!=64);if(c[768034]|0){Ia=f;return}a[3074076]=0;Ia=f;return}function Zb(a){a=a|0;var 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,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;b=Ia;Ia=Ia+16|0;d=b;e=a+44584|0;if(c[e>>2]|0){Ia=b;return}c[e>>2]=1;e=a+44580|0;f=c[e>>2]|0;do if((f+-19|0)>>>0<5)if(!(Pu(c[a>>2]|0,47250)|0)){Ia=b;return}else{eb(43483,3e3);g=c[e>>2]|0;break}else g=f;while(0);if((g|0)<5){f=0;do{h=a+42256+(f<<4)|0;i=c[h>>2]|0;j=i>>>0<64;if(j){k=c[a+16+(i*660|0)+8>>2]|0;l=((k|0)>1?k:1)<<5;k=(c[a+16+(i*660|0)+16>>2]|0)>(c[a+16+(i*660|0)+12>>2]|0);m=l;n=k?0:l;o=k<<31>>31}else{m=0;n=0;o=-1}k=c[a+42256+(f<<4)+4>>2]|0;l=k>>>0<64;if(l){p=c[a+16+(k*660|0)+8>>2]|0;q=((p|0)>1?p:1)<<5;p=(m|0)>(q|0)?m:q;if((o|0)==-1){r=(c[a+16+(k*660|0)+16>>2]|0)>(c[a+16+(k*660|0)+12>>2]|0);s=p;t=r?n:q;u=r?-1:1}else{s=p;t=n;u=0}}else{s=m;t=n;u=o}p=c[a+42256+(f<<4)+8>>2]|0;r=p>>>0<64;if(r){q=c[a+16+(p*660|0)+8>>2]|0;v=((q|0)>1?q:1)<<5;q=(s|0)>(v|0)?s:v;if((u|0)==-1){w=(c[a+16+(p*660|0)+16>>2]|0)>(c[a+16+(p*660|0)+12>>2]|0);x=q;y=w?t:v;z=w?-1:2}else{x=q;y=t;z=u}}else{x=s;y=t;z=u}q=c[a+42256+(f<<4)+12>>2]|0;w=q>>>0<64;if(w){v=c[a+16+(q*660|0)+8>>2]|0;A=((v|0)>1?v:1)<<5;v=(x|0)>(A|0)?x:A;if((z|0)==-1){B=(c[a+16+(q*660|0)+16>>2]|0)>(c[a+16+(q*660|0)+12>>2]|0);C=v;D=B?y:A;E=B?-1:3}else{C=v;D=y;E=z}}else{C=x;D=y;E=z}a:do if((C|0)!=(D|0)&(E|0)!=-1){if((j?(c[a+16+(i*660|0)+16>>2]|0)<=(c[a+16+(i*660|0)+12>>2]|0):0)?(v=c[a+16+(i*660|0)+8>>2]|0,(((v|0)>1?v:1)<<5|0)==(C|0)):0)break;if((l?(c[a+16+(k*660|0)+16>>2]|0)<=(c[a+16+(k*660|0)+12>>2]|0):0)?(v=c[a+16+(k*660|0)+8>>2]|0,(((v|0)>1?v:1)<<5|0)==(C|0)):0)F=1;else G=49;do if((G|0)==49){G=0;if((r?(c[a+16+(p*660|0)+16>>2]|0)<=(c[a+16+(p*660|0)+12>>2]|0):0)?(v=c[a+16+(p*660|0)+8>>2]|0,(((v|0)>1?v:1)<<5|0)==(C|0)):0){F=2;break}if(!w)break a;if((c[a+16+(q*660|0)+16>>2]|0)>(c[a+16+(q*660|0)+12>>2]|0))break a;v=c[a+16+(q*660|0)+8>>2]|0;if((((v|0)>1?v:1)<<5|0)==(C|0))F=3;else break a}while(0);c[d>>2]=f;c[d+4>>2]=0;c[d+8>>2]=F;it(1708384,43515,d)|0;Hg(1708384);v=c[h>>2]|0;B=a+42256+(f<<4)+(F<<2)|0;c[h>>2]=c[B>>2];c[B>>2]=v}while(0);f=f+1|0}while((f|0)!=64);f=c[e>>2]|0;if((f|0)<5){F=0;do{d=0;do{if((c[a+16+(F*660|0)+20+(d*20|0)+4>>2]|0)==6?(C=a+16+(F*660|0)+20+(d*20|0)+8|0,(c[C>>2]|0)>5):0)c[C>>2]=5;d=d+1|0}while((d|0)!=32);F=F+1|0}while((F|0)!=64);if(Pu(c[a>>2]|0,43547)|0){F=iq(65538)|0;Es(F,c[a>>2]|0)|0;Es(c[a>>2]|0,43572)|0;Zt(c[a>>2]|0,F)|0;Hg(44843);mq(F);H=c[e>>2]|0}else H=f}else H=f}else H=g;if((H|0)>=11){Ia=b;return}H=0;g=0;do{H=H+((c[a+16+(g*660|0)+4>>2]|0)>1&1)+((c[a+16+(g*660|0)+12>>2]|0)>63&1)+((c[a+16+(g*660|0)+16>>2]|0)>63&1)+((c[a+16+(g*660|0)+36>>2]|0)!=0&1)+((c[a+16+(g*660|0)+56>>2]|0)!=0&1)+((c[a+16+(g*660|0)+76>>2]|0)!=0&1)+((c[a+16+(g*660|0)+96>>2]|0)!=0&1)+((c[a+16+(g*660|0)+116>>2]|0)!=0&1)+((c[a+16+(g*660|0)+136>>2]|0)!=0&1)+((c[a+16+(g*660|0)+156>>2]|0)!=0&1)+((c[a+16+(g*660|0)+176>>2]|0)!=0&1)+((c[a+16+(g*660|0)+196>>2]|0)!=0&1)+((c[a+16+(g*660|0)+216>>2]|0)!=0&1)+((c[a+16+(g*660|0)+236>>2]|0)!=0&1)+((c[a+16+(g*660|0)+256>>2]|0)!=0&1)+((c[a+16+(g*660|0)+276>>2]|0)!=0&1)+((c[a+16+(g*660|0)+296>>2]|0)!=0&1)+((c[a+16+(g*660|0)+316>>2]|0)!=0&1)+((c[a+16+(g*660|0)+336>>2]|0)!=0&1)+((c[a+16+(g*660|0)+356>>2]|0)!=0&1)+((c[a+16+(g*660|0)+376>>2]|0)!=0&1)+((c[a+16+(g*660|0)+396>>2]|0)!=0&1)+((c[a+16+(g*660|0)+416>>2]|0)!=0&1)+((c[a+16+(g*660|0)+436>>2]|0)!=0&1)+((c[a+16+(g*660|0)+456>>2]|0)!=0&1)+((c[a+16+(g*660|0)+476>>2]|0)!=0&1)+((c[a+16+(g*660|0)+496>>2]|0)!=0&1)+((c[a+16+(g*660|0)+516>>2]|0)!=0&1)+((c[a+16+(g*660|0)+536>>2]|0)!=0&1)+((c[a+16+(g*660|0)+556>>2]|0)!=0&1)+((c[a+16+(g*660|0)+576>>2]|0)!=0&1)+((c[a+16+(g*660|0)+596>>2]|0)!=0&1)+((c[a+16+(g*660|0)+616>>2]|0)!=0&1)+((c[a+16+(g*660|0)+636>>2]|0)!=0&1)+((c[a+16+(g*660|0)+656>>2]|0)!=0&1)|0;g=g+1|0}while((g|0)!=64);if(H|0){Ia=b;return}H=0;do{g=0;do{f=a+16+(H*660|0)+20+(g*20|0)+12|0;if((c[f>>2]|0)==1?(c[a+16+(H*660|0)+20+(g*20|0)+8>>2]|0)==0:0)c[f>>2]=0;g=g+1|0}while((g|0)!=32);H=H+1|0}while((H|0)!=64);Ia=b;return}function _b(b){b=b|0;var d=0,e=0;d=Ia;Ia=Ia+16|0;e=d;a[192048]=0;c[e>>2]=43399;c[e+4>>2]=b;it(192048,43376,e)|0;e=192048+(Pt(192048)|0)|0;a[e>>0]=46;a[e+1>>0]=112;a[e+2>>0]=56;a[e+3>>0]=0;Ia=d;return 192048}function $b(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Co(b,94452)|0;e=Rb(d)|0;Eo(d);if(e|0){c[e+44576>>2]=qm(b)|0;f=e;return f|0}e=ls(b)|0;if(e|0){f=e;return f|0}if(Fs(b,43122)|0?(e=Io(b)|0,e|0):0){d=e+16|0;g=c[d>>2]|0;if((g|0)<32768){do wo(0,e);while((c[d>>2]|0)<32768);if((g|0)<15617){g=e+12|0;d=0;do{h=c[g>>2]|0;a[h+(d+17152)>>0]=a[h+d>>0]|0;a[(c[g>>2]|0)+d>>0]=0;d=d+1|0}while((d|0)!=15616);i=g}else j=10}else j=10;if((j|0)==10)i=e+12|0;j=is()|0;Qb(j,c[i>>2]|0);c[j+44580>>2]=41;Eo(e);if(j|0){f=j;return f|0}}if(!(Fs(b,44870)|0)){f=0;return f|0}f=Tb(b)|0;return f|0}function ac(b){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,q=0;d=Ia;Ia=Ia+1024|0;e=d;Es(e,b)|0;f=$b(b)|0;g=c[766682]|0;h=c[481721]|0;if((f|0)==0&(g|0)!=1&(h|0)!=3){Ub(b,e);i=$b(e)|0;j=c[766682]|0;k=c[481721]|0;l=i}else{j=g;k=h;l=f}if((l|0)==0&(j|0)!=1&(k|0)!=3){f=e+(Pt(e)|0)|0;a[f>>0]=a[91297]|0;a[f+1>>0]=a[91298]|0;a[f+2>>0]=a[91299]|0;a[f+3>>0]=a[91300]|0;a[f+4>>0]=a[91301]|0;f=$b(e)|0;m=c[766682]|0;n=c[481721]|0;o=f}else{m=j;n=k;o=l}if((o|0)==0&(m|0)!=1&(n|0)!=3){Es(e,b)|0;b=e+(Pt(e)|0)|0;a[b>>0]=a[91297]|0;a[b+1>>0]=a[91298]|0;a[b+2>>0]=a[91299]|0;a[b+3>>0]=a[91300]|0;a[b+4>>0]=a[91301]|0;p=$b(e)|0}else p=o;if(!p){q=1;Ia=d;return q|0}Yb(p,e);q=0;Ia=d;return q|0}function bc(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if(Ot(a,3071088)|0){Es(3071088,a)|0;f=30-(c[768037]|0)|0;g=(f|0)<30?f:30;c[768036]=(g|0)>2?g:2;c[768037]=150}g=$b(a)|0;if(!g){h=1;return h|0}if((e|0)>0){a=0;do{f=c[769129]|0;Rk(2921764,f,a+b|0,Sk(0,g,a+d|0)|0);a=a+1|0}while((a|0)!=(e|0))}js(g);h=0;return h|0}function cc(b,e,f,g,h,i){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=Ia;Ia=Ia+1040|0;k=j+1024|0;l=j;c[k>>2]=b;it(l,59940,k)|0;do if(!(Pu(1997988,l)|0)){k=0;m=0;a:while(1){switch(a[1997988+m>>0]|0){case 0:{break a;break}case 124:{n=k+1|0;break}default:n=k}k=n;m=m+1|0}if((k|0)>63){o=3;Ia=j;return o|0}else{Zt(1997988,l)|0;break}}while(0);Es(3071088,b)|0;c[768036]=30;l=$b(b)|0;if(!l){n=is()|0;if(!i)p=n;else{Iv(n+44604|0,0,2144)|0;p=n}}else p=l;l=(g|0)>0;if(l)if(!h){h=0;do{Rk(0,p,h+e|0,Sk(2921764,c[769129]|0,h+f|0)|0);h=h+1|0}while((h|0)!=(g|0))}else{h=0;do{n=h+e|0;m=h+f|0;Rk(0,p,n,Sk(2921764,c[769129]|0,m)|0);q=c[26136]|0;Rk(0,q,n,Sk(2921764,c[769129]|0,m)|0);h=h+1|0}while((h|0)!=(g|0))}if(i|0?(i=g+e|0,l):0){l=e;do{e=((l|0)/8|0)+(p+44604)|0;a[e>>0]=1<<(l&7)|d[e>>0];l=l+1|0}while((l|0)<(i|0))}i=ns(p,b)|0;js(p);o=(i|0)==0?0:2;Ia=j;return o|0}function dc(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ia;Ia=Ia+3104|0;e=d+3080|0;f=d+3072|0;g=d+2048|0;h=d+1024|0;i=d;if(!(a[3065580]|0))if(!b){eb(44901,1500);Ia=d;return}else{Hg(44875);Ia=d;return}Sr(91377,g);if(Pu(3065580,g)|0)if(!b){eb(44960,1500);Ia=d;return}else{Hg(44933);Ia=d;return}if(Xb(3065580)|0)if(!b){eb(45004,1500);Ia=d;return}else{Hg(44992);Ia=d;return}Mo(3065580,g,h,i);c[f>>2]=h;c[f+4>>2]=i;it(1708384,45026,f)|0;if(!b){eb(1708384,1500);Ia=d;return}b=Pt(3062500)|0;f=(gt(g,3062500,b)|0)==0;j=f?g+(b+-1)|0:g;if((a[j>>0]|0)==47){g=Pt(3063524)|0;b=(gt(j+1|0,3063524,g)|0)==0;k=b?j+(g+1)|0:j}else k=j;c[e>>2]=k;c[e+4>>2]=h;c[e+8>>2]=i;it(1708384,45051,e)|0;Hg(1708384);Ia=d;return}function ec(){return}function fc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;f=Ia;Ia=Ia+2240|0;g=f+2224|0;h=f+2216|0;i=f+2208|0;j=f+2200|0;k=f+2192|0;l=f+2184|0;m=f+2176|0;n=f+1152|0;o=f+128|0;p=f;q=c[481767]|0;r=(q|0)<32?q:32;q=(d|0)<32?d:32;s=(d|0)>0?((q|0)>1?q:1):(r|0)>1?r:1;c[m>>2]=Om()|0;it(p,45078,m)|0;if(a[3144232]|0){c[l>>2]=3144232;it(p,45089,l)|0}l=(e|0)==0;do if(!($t(p,37)|0))if(l){Ur(p,o);break}else{Sr(3144900,o);e=o+(Pt(o)|0)|0;m=e;a[m>>0]=97;a[m+1>>0]=112;a[m+2>>0]=112;a[m+3>>0]=100;m=e+4|0;a[m>>0]=97;a[m+1>>0]=116;a[m+2>>0]=97;a[m+3>>0]=0;Wr(o)|0;m=o+(Pt(o)|0)|0;a[m>>0]=47;a[m+1>>0]=0;Zt(o,Za()|0)|0;Wr(o)|0;m=o+(Pt(o)|0)|0;a[m>>0]=47;a[m+1>>0]=0;Zt(o,p)|0;c[h>>2]=o;it(1703776,45096,h)|0;pn(1703776);break}else if(l){m=0;while(1){c[k>>2]=m;it(n,p,k)|0;Ur(n,o);if(!(tr(o)|0))break;else m=m+1|0}}else{m=0;while(1){c[j>>2]=m;it(n,p,j)|0;Sr(3144900,o);e=o+(Pt(o)|0)|0;r=e;a[r>>0]=97;a[r+1>>0]=112;a[r+2>>0]=112;a[r+3>>0]=100;r=e+4|0;a[r>>0]=97;a[r+1>>0]=116;a[r+2>>0]=97;a[r+3>>0]=0;Wr(o)|0;r=o+(Pt(o)|0)|0;a[r>>0]=47;a[r+1>>0]=0;Zt(o,Za()|0)|0;Wr(o)|0;r=o+(Pt(o)|0)|0;a[r>>0]=47;a[r+1>>0]=0;Zt(o,n)|0;c[i>>2]=o;it(1703776,45096,i)|0;pn(1703776);if(!(tr(o)|0))break;else m=m+1|0}}while(0);i=B(c[b>>2]|0,s)|0;n=Fn(i,B(c[b+4>>2]|0,s)|0,8)|0;s=n+4|0;Nn(b,n,0,0,c[n>>2]|0,c[s>>2]|0,0);if((c[s>>2]|0)<=0){c[g>>2]=o;it(1703776,45118,g)|0;pn(1703776);Qo(o,n)|0;Mb(o,45144,128,128);Gn(n)|0;t=tr(o)|0;u=(t|0)==0;v=u&1;Ia=f;return v|0}b=n+16|0;i=c[n>>2]|0;j=0;while(1){if((i|0)>0){p=i;k=0;while(1){l=(c[(c[b>>2]|0)+(j<<2)>>2]|0)+k|0;if(!(a[l>>0]|0)){a[l>>0]=16;w=c[n>>2]|0}else w=p;k=k+1|0;if((k|0)>=(w|0)){x=w;break}else p=w}}else x=i;j=j+1|0;if((j|0)>=(c[s>>2]|0))break;else i=x}c[g>>2]=o;it(1703776,45118,g)|0;pn(1703776);Qo(o,n)|0;Mb(o,45144,128,128);Gn(n)|0;t=tr(o)|0;u=(t|0)==0;v=u&1;Ia=f;return v|0}function gc(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=Ia;Ia=Ia+16|0;f=e;Sr(3144900,d);g=d+(Pt(d)|0)|0;h=g;a[h>>0]=97;a[h+1>>0]=112;a[h+2>>0]=112;a[h+3>>0]=100;h=g+4|0;a[h>>0]=97;a[h+1>>0]=116;a[h+2>>0]=97;a[h+3>>0]=0;Wr(d)|0;h=d+(Pt(d)|0)|0;a[h>>0]=47;a[h+1>>0]=0;Zt(d,Za()|0)|0;Wr(d)|0;h=d+(Pt(d)|0)|0;a[h>>0]=47;a[h+1>>0]=0;Zt(d,b)|0;c[f>>2]=d;it(1703776,45096,f)|0;pn(1703776);Ia=e;return}function hc(){c[543053]=0;return}function ic(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=Ia;Ia=Ia+16|0;e=d;f=c[543053]|0;if((f|0)==64){Ia=d;return}c[543053]=f+1;Es(173040+(f*297|0)+41|0,b)|0;g=173040+(f*297|0)|0;Jb(a,g);f=Pt(c[a>>2]|0)|0;c[e>>2]=b;c[e+4>>2]=f;c[e+8>>2]=g;it(1703776,45148,e)|0;pn(1703776);e=gs(b,95158)|0;if(!e){pn(45187);Ia=d;return}else{ms(a,e,0)|0;Eo(e);Ia=d;return}}function jc(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ia;Ia=Ia+1024|0;f=e;g=c[543053]|0;if((g|0)<=0){h=0;Ia=e;return h|0}a:do if(d){i=0;while(1){j=173040+(i*297|0)+41|0;if(!(Ot(b,j)|0)){k=i;break a}Ub(b,f);if(!(Ot(f,j)|0)){l=10;break}m=f+(Pt(f)|0)|0;a[m>>0]=a[91297]|0;a[m+1>>0]=a[91298]|0;a[m+2>>0]=a[91299]|0;a[m+3>>0]=a[91300]|0;a[m+4>>0]=a[91301]|0;if(!(Ot(f,j)|0)){l=12;break}j=i+1|0;if((j|0)<(c[543053]|0))i=j;else{h=0;l=14;break}}if((l|0)==10){h=173040+(i*297|0)|0;Ia=e;return h|0}else if((l|0)==12){h=173040+(i*297|0)|0;Ia=e;return h|0}else if((l|0)==14){Ia=e;return h|0}}else{j=0;while(1){if(!(Ot(b,173040+(j*297|0)+41|0)|0)){k=j;break a}j=j+1|0;if((j|0)>=(g|0)){h=0;break}}Ia=e;return h|0}while(0);h=173040+(k*297|0)|0;Ia=e;return h|0}function kc(){return 0}function lc(){var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;b=Ia;Ia=Ia+128|0;d=b+64|0;e=b;if(!(a[3065580]|0)){f=0;Ia=b;return f|0}g=$b(3065580)|0;if(!g){f=0;Ia=b;return f|0}Zb(g);h=c[(c[g+12>>2]|0)+16>>2]|0;i=0;j=32;while(1){k=c[h+(j<<2)>>2]|0;l=i;m=0;do{l=(a[k+m>>0]|0)==0?l:1;m=m+1|0}while((m|0)!=128);j=j+1|0;if((j|0)==64)break;else i=l}if(!l)Bh(g);else Ch(g);Jb(g,d);Jb(c[26136]|0,e);js(g);if(!(Ot(d,e)|0)){f=0;Ia=b;return f|0}if(!(Ot(d,3066604)|0)){f=0;Ia=b;return f|0}f=(Ot(d,3066686)|0)!=0&1;Ia=b;return f|0}function mc(a){a=a|0;return 0}function nc(){var b=0,d=0,e=0,f=0,g=0;if(!(a[2174696]|0)){a[2174696]=0;return}b=$b(2174696)|0;d=(b|0)!=0;if((c[768029]|c[768028]|0)==0&((d|(c[768034]|0)!=0)^1)){Hg(45227);a[2174696]=0;return}if(d){js(b);eb(45252,2e3);a[2174696]=0;return}if(Fs(2174696,45265)|0){eb(45273,2e3);a[2174696]=0;return}if(!(Fs(2174696,91297)|0)){if(!(a[2174696]|0)){a[2174696]=0;return}b=Io(2174696)|0;if((c[b+16>>2]|0)>262144)eb(45324,2e3);else en(b);pq(b);a[2174696]=0;return}b=Po(2174696)|0;if(!b){a[2174696]=0;return}rh();d=b+4|0;e=Fn(c[b>>2]|0,c[d>>2]|0,8)|0;Gk(b,e,c[730428]|0);do if((c[768028]|0)!=1&(c[768029]|0)==2){f=c[785598]|0;g=(f|0)/16|0;tp(e,c[(c[26136]|0)+4>>2]|0,0,0,f-(g<<4)<<3,g<<3,c[b>>2]|0,c[d>>2]|0)}else{if((c[e>>2]|0)<=128?(c[e+4>>2]|0)<=128:0){fn(e);break}eb(45295,2e3)}while(0);Gn(b)|0;Gn(e)|0;a[2174696]=0;return}function oc(){var 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;b=Ia;Ia=Ia+48|0;d=b+24|0;e=b+16|0;f=b+8|0;g=b;h=b+32|0;i=nq(139392)|0;j=ka(19)|0;k=j;ka(20)|0;do if(j){c[g>>2]=k;hv(45819,g)|0;l=Pu(k,45840)|0;if(l|0){m=l+7|0;Sh(h);l=Pt(m)|0;n=i+16|0;c[n>>2]=Th(m,l,c[i+12>>2]|0,h)|0;l=i+20|0;c[l>>2]=0;m=Rb(i)|0;if(!m)o=ks(i,0)|0;else o=m;m=(o|0)!=0;if((c[768028]|0)==0&((m|(c[768034]|0)!=0)^1)){Hg(45227);a[2174696]=0;Ia=b;return}if(m){js(o);eb(45252,2e3);break}c[l>>2]=0;l=Oo(i)|0;m=(l|0)!=0;c[f>>2]=m&1;hv(45848,f)|0;if(!m){c[d>>2]=c[n>>2];hv(45915,d)|0;if((c[n>>2]|0)>262144){eb(45324,2e3);break}else{en(i);break}}rh();n=l+4|0;m=Fn(c[l>>2]|0,c[n>>2]|0,8)|0;Gk(l,m,c[730428]|0);do if((c[768028]|0)!=1&(c[768029]|0)==2){p=c[785598]|0;q=(p|0)/16|0;tp(m,c[(c[26136]|0)+4>>2]|0,0,0,p-(q<<4)<<3,q<<3,c[l>>2]|0,c[n>>2]|0)}else{q=c[m>>2]|0;if((q|0)<=128?(p=c[m+4>>2]|0,(p|0)<=128):0){c[e>>2]=q;c[e+4>>2]=p;hv(45879,e)|0;fn(m);break}eb(45295,2e3)}while(0);Gn(l)|0;Gn(m)|0}}else Hg(45955);while(0);Eo(i);Ia=b;return}function pc(b,c){b=b|0;c=c|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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;d=Ia;Ia=Ia+1280|0;e=d+256|0;f=d;if((a[b>>0]|0)==47)Yt(c,b)|0;else{a[c>>0]=47;a[c+1>>0]=0;Zt(c,3063524)|0;Zt(c,b)|0}b=a[c>>0]|0;if(b<<24>>24==47?(a[c+1>>0]|0)==0:0){Ia=d;return c|0}a[e>>0]=0;if(b<<24>>24==47){g=c;while(1){h=g+1|0;i=a[h>>0]|0;if(i<<24>>24==47)g=h;else{j=i;k=h;break}}}else{j=b;k=c}a:do if(j<<24>>24){b=j;g=k;h=0;while(1){i=b;l=g;b:while(1){switch(i<<24>>24){case 0:case 47:{break b;break}default:{}}m=l+1|0;i=a[m>>0]|0;l=m}i=l-g|0;c:do switch(i|0){case 1:{if(b<<24>>24==46)n=h;else o=26;break}case 2:{if(b<<24>>24==46?(a[g+1>>0]|0)==46:0)if((h|0)>1){m=e+h+-1|0;if(m>>>0>e>>>0){p=m;q=h;while(1){if((a[p>>0]|0)==47){r=p;s=q;break}a[p>>0]=0;t=q+-1|0;a[e+t>>0]=0;u=p+-1|0;if(u>>>0>e>>>0){p=u;q=t}else{r=u;s=t;break}}if((s|0)>0){v=r;w=s}else{n=s;break c}}else{v=m;w=h}q=w+-1|0;a[v>>0]=0;a[e+q>>0]=0;n=q}else n=h;else o=26;break}default:o=26}while(0);if((o|0)==26){o=0;Iv(f+i|0,0,(i>>>0>255?0:256-i|0)|0)|0;Hv(f|0,g|0,i|0)|0;q=e+(Pt(e)|0)|0;a[q>>0]=47;a[q+1>>0]=0;Zt(e,f)|0;n=Pt(e)|0}q=l;d:while(1){x=a[q>>0]|0;switch(x<<24>>24){case 0:{break a;break}case 47:{q=q+1|0;break}default:break d}}b=x;g=q;h=n}}while(0);Yt(c,e)|0;Ia=d;return c|0}function qc(a){a=a|0;Yt(193072,3062500)|0;pc((a|0)==0?3144900:a,193072+(Pt(193072)|0)+-1|0)|0;return 193072}function rc(b){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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;d=Ia;Ia=Ia+16|0;e=d;f=d+4|0;g=kq(32768)|0;jq(g,0,32768);if(Kb(b,g,1)|0){Fg(42932,8);mq(g);Ia=d;return}h=iq(62464)|0;i=h;j=45983;k=i+27|0;do{a[i>>0]=a[j>>0]|0;i=i+1|0;j=j+1|0}while((i|0)<(k|0));c[534492]=1;jq(f,0,12);Nh(f);j=c[543052]|0;Ph(g+17152|0,j,h+(Pt(h)|0)|0,f)|0;Qh(h+(Pt(h)|0)|0,f)|0;f=b+4|0;b=c[(c[f>>2]|0)+12>>2]|0;j=0;g=0;do{i=j;j=j+1|0;g=(a[b+i>>0]&15)==0?g:j}while((j|0)!=16384);if((g|0)>0){j=h+(Pt(h)|0)|0;a[j>>0]=38;a[j+1>>0]=103;a[j+2>>0]=61;a[j+3>>0]=0;j=h+(Pt(h)|0)|0;b=0;while(1){i=c[(c[f>>2]|0)+12>>2]|0;k=a[i+b>>0]|0;l=k&15;m=l&255;if((b|0)<(g|0)){a:do if((k&15)==l<<24>>24){n=b;o=0;while(1){p=n+1|0;q=o+1|0;if((p|0)>=(g|0)){r=p;s=q;break a}if(q>>>0<67?(a[i+p>>0]&15)==l<<24>>24:0){n=p;o=q}else{r=p;s=q;break}}}else{r=b;s=0}while(0);if(s>>>0<4){t=r;u=s;v=13}else{a[j>>0]=Oh((m|48)&255)|0;w=2;x=j+1|0;y=r;z=s+252|0}}else{t=b;u=0;v=13}if((v|0)==13){v=0;w=1;x=j;y=t;z=(u<<4)+240|m}a[x>>0]=Oh(z&255)|0;j=j+w|0;a[j>>0]=0;if((y|0)>=(g|0))break;else b=y}}c[534492]=0;if((Pt(h)|0)>>>0<2040){y=iq(65536)|0;c[e>>2]=h+23;it(y,46010,e)|0;va(y|0);mq(y)}else Fg(46106,9);Ig(46133,Pt(h)|0,0);mq(h);Ia=d;return}function sc(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ia;Ia=Ia+16|0;f=e;c[534492]=1;if(b|0?a[b>>0]|0:0){g=iq(16384)|0;Sh(f);Th(b,Pt(b)|0,g,f)|0;jq(c[c[26136]>>2]|0,0,65538);Dl(g,c[c[26136]>>2]|0,65537)|0;mq(g);_g()}if(!d){c[534492]=0;Ia=e;return}g=a[d>>0]|0;if(!(g<<24>>24)){c[534492]=0;Ia=e;return}f=g;g=d;d=0;while(1){b=Rh(f)|0;h=g+1|0;i=b&15;j=(b>>>4&3)+1|0;if((j|0)==4){b=a[h>>0]|0;if(!(b<<24>>24)){k=h;l=4}else{k=g+2|0;l=(Rh(b)|0)+4|0}}else{k=h;l=j}if((l|0)>0&(d|0)<16384){j=i&255;i=d;h=l;while(1){a[(c[(c[(c[26136]|0)+4>>2]|0)+12>>2]|0)+i>>0]=j;b=i+1|0;if((h|0)>1&(i|0)<16383){i=b;h=h+-1|0}else{m=b;break}}}else m=d;f=a[k>>0]|0;if(!(f<<24>>24))break;else{g=k;d=m}}Bh(c[26136]|0);c[534492]=0;Ia=e;return}function tc(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;d=Ia;Ia=Ia+16|0;e=d;c[e>>2]=b;f=c[a+16>>2]|0;g=a+8|0;h=c[g>>2]|0;do if(((c[a+24>>2]|0)-h>>3|0)<=(b|0)){if(((h-(c[a+28>>2]|0)>>3)+5|0)>(1e6-b|0)){i=0;Ia=d;return i|0}if(!(vc(a,2,e)|0)){j=c[g>>2]|0;k=c[e>>2]|0;break}else{i=0;Ia=d;return i|0}}else{j=h;k=b}while(0);b=f+4|0;f=j+(k<<3)|0;if((c[b>>2]|0)>>>0>=f>>>0){i=1;Ia=d;return i|0}c[b>>2]=f;i=1;Ia=d;return i|0}function uc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=Ia;Ia=Ia+16|0;e=c[a+32>>2]|0;if((e|0)>1e6)wc(a,6);f=(c[b>>2]|0)+5+((c[a+8>>2]|0)-(c[a+28>>2]|0)>>3)|0;b=e<<1;e=(b|0)<1e6?b:1e6;b=(e|0)<(f|0)?f:e;if((b|0)>1e6){xc(a,1000200);yc(a,46193,d)}else{xc(a,b);Ia=d;return}}function vc(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;f=Ia;Ia=Ia+176|0;g=4;h=Ks(40)|0;c[h>>2]=0;i=f;l=a+38|0;m=b[l>>1]|0;n=i+160|0;c[n>>2]=0;o=a+64|0;c[i>>2]=c[o>>2];c[o>>2]=i;h=Ev(i+4|0,1,h|0,g|0)|0;g=G()|0;j=0;p=j;j=0;if((p|0)!=0&(k|0)!=0){q=Fv(c[p>>2]|0,h|0,g|0)|0;if(!q)Da(p|0,k|0);F(k|0)}else q=-1;p=G()|0;if((q|0)==1)r=p;else r=0;do{if(r|0){s=6;break}j=0;H(d|0,a|0,e|0);p=j;j=0;if((p|0)!=0&(k|0)!=0){t=Fv(c[p>>2]|0,h|0,g|0)|0;if(!t)Da(p|0,k|0);F(k|0)}else t=-1;r=G()|0}while((t|0)==1);if((s|0)==6){u=c[i>>2]|0;c[o>>2]=u;b[l>>1]=m;v=c[n>>2]|0;Ls(h|0);Ia=f;return v|0}u=c[i>>2]|0;c[o>>2]=u;b[l>>1]=m;v=c[n>>2]|0;Ls(h|0);Ia=f;return v|0}function wc(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=c[b+64>>2]|0;if(e|0){c[e+160>>2]=d;Da(e+4|0,1)}a[b+6>>0]=d;e=b+12|0;f=c[e>>2]|0;g=c[f+144>>2]|0;if(c[g+64>>2]|0){h=c[b+8>>2]|0;i=g+8|0;g=c[i>>2]|0;c[i>>2]=g+8;c[g>>2]=c[h+-8>>2];c[g+4>>2]=c[h+-4>>2];wc(c[(c[e>>2]|0)+144>>2]|0,d)}d=c[f+140>>2]|0;if(!d)ja();La[d&255](b)|0;ja()}function xc(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=b+28|0;f=c[e>>2]|0;g=b+32|0;h=c[g>>2]|0;if((d+1|0)>>>0>536870911)Jc(b);i=h<<3;j=d<<3;k=c[b+12>>2]|0;l=(f|0)==0;m=k+4|0;n=Pa[c[k>>2]&3](c[m>>2]|0,f,i,j)|0;if((j|0)!=0&(n|0)==0){if(!(a[k+51>>0]|0))wc(b,4);Ic(b,1);o=Pa[c[k>>2]&3](c[m>>2]|0,f,i,j)|0;if(!o)wc(b,4);else p=o}else p=n;n=k+12|0;c[n>>2]=(l?0:0-i|0)+j+(c[n>>2]|0);c[e>>2]=p;if((h|0)<(d|0)){n=h;do{c[p+(n<<3)+4>>2]=0;n=n+1|0}while((n|0)!=(d|0))}c[g>>2]=d;c[b+24>>2]=p+(d<<3)+-40;d=b+8|0;g=f;c[d>>2]=p+((c[d>>2]|0)-g>>3<<3);d=c[b+56>>2]|0;if(d|0?(f=d+8|0,c[f>>2]=p+((c[f>>2]|0)-g>>3<<3),f=c[d>>2]|0,f|0):0){d=f;do{f=d+8|0;c[f>>2]=(c[e>>2]|0)+((c[f>>2]|0)-g>>3<<3);d=c[d>>2]|0}while((d|0)!=0)}d=c[b+16>>2]|0;if(!d)return;b=d;do{d=b+4|0;f=c[e>>2]|0;c[d>>2]=f+((c[d>>2]|0)-g>>3<<3);c[b>>2]=f+((c[b>>2]|0)-g>>3<<3);if(a[b+18>>0]&1){d=b+24|0;c[d>>2]=f+((c[d>>2]|0)-g>>3<<3)}b=c[b+8>>2]|0}while((b|0)!=0);return}function yc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=Ia;Ia=Ia+16|0;f=e;c[f>>2]=d;Ac(a,zc(a,b,f)|0);Bc(a)}function zc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;f=Ia;Ia=Ia+80|0;g=f+64|0;h=f+56|0;i=f+48|0;j=f+40|0;k=f;l=$t(d,37)|0;m=b+24|0;n=b+8|0;o=c[n>>2]|0;p=(c[m>>2]|0)-o|0;q=o;do if(l){r=b+32|0;s=b+28|0;t=o;u=q;v=l;w=d;x=0;y=p;a:while(1){if((y|0)<24){z=c[r>>2]|0;if((z|0)>1e6){A=5;break}B=(t-(c[s>>2]|0)>>3)+7|0;C=z<<1;z=(C|0)<1e6?C:1e6;C=(z|0)<(B|0)?B:z;if((C|0)>1e6){A=7;break}xc(b,C);D=c[n>>2]|0}else D=u;c[n>>2]=D+8;C=vd(b,w,v-w|0)|0;c[D>>2]=C;c[D+4>>2]=(a[C+4>>0]|64)&255;E=a[v+1>>0]|0;switch(E<<24>>24|0){case 115:{C=(c[e>>2]|0)+(4-1)&~(4-1);z=c[C>>2]|0;c[e>>2]=C+4;C=(z|0)==0?103190:z;z=Pt(C)|0;B=c[n>>2]|0;c[n>>2]=B+8;F=vd(b,C,z)|0;c[B>>2]=F;c[B+4>>2]=(a[F+4>>0]|64)&255;break}case 99:{F=(c[e>>2]|0)+(4-1)&~(4-1);B=c[F>>2]|0;c[e>>2]=F+4;a[k>>0]=B;B=c[n>>2]|0;c[n>>2]=B+8;F=$c(b,k,1)|0;c[B>>2]=F;c[B+4>>2]=(a[F+4>>0]|64)&255;break}case 100:{F=c[n>>2]|0;c[n>>2]=F+8;B=(c[e>>2]|0)+(4-1)&~(4-1);z=c[B>>2]|0;c[e>>2]=B+4;c[F>>2]=z;c[F+4>>2]=3;break}case 102:{F=c[n>>2]|0;c[n>>2]=F+8;z=(c[e>>2]|0)+(4-1)&~(4-1);B=c[z>>2]|0;c[e>>2]=z+4;c[F>>2]=B;c[F+4>>2]=3;break}case 112:{F=(c[e>>2]|0)+(4-1)&~(4-1);B=c[F>>2]|0;c[e>>2]=F+4;c[i>>2]=B;B=it(k,46862,i)|0;F=c[n>>2]|0;c[n>>2]=F+8;z=vd(b,k,B)|0;c[F>>2]=z;c[F+4>>2]=(a[z+4>>0]|64)&255;break}case 37:{z=c[n>>2]|0;c[n>>2]=z+8;F=$c(b,72084,1)|0;c[z>>2]=F;c[z+4>>2]=(a[F+4>>0]|64)&255;break}default:{A=16;break a}}G=x+2|0;H=v+2|0;F=$t(H,37)|0;I=c[n>>2]|0;J=(c[m>>2]|0)-I|0;if(!F){A=18;break}else{t=I;u=I;v=F;w=H;x=G;y=J}}if((A|0)==5)wc(b,6);else if((A|0)==7){xc(b,1000200);yc(b,46193,j)}else if((A|0)==16){c[h>>2]=E<<24>>24;yc(b,46867,h)}else if((A|0)==18){K=I;L=I;M=H;N=G;O=J;break}}else{K=o;L=q;M=d;N=0;O=p}while(0);do if((O|0)<16){p=c[b+32>>2]|0;if((p|0)>1e6)wc(b,6);d=(K-(c[b+28>>2]|0)>>3)+6|0;q=p<<1;p=(q|0)<1e6?q:1e6;q=(p|0)<(d|0)?d:p;if((q|0)>1e6){xc(b,1000200);yc(b,46193,g)}else{xc(b,q);P=c[n>>2]|0;break}}else P=L;while(0);L=Pt(M)|0;c[n>>2]=P+8;g=vd(b,M,L)|0;c[P>>2]=g;c[P+4>>2]=(a[g+4>>0]|64)&255;if(!N){Q=c[n>>2]|0;R=Q+-8|0;S=c[R>>2]|0;T=S+16|0;Ia=f;return T|0}Pc(b,N|1);Q=c[n>>2]|0;R=Q+-8|0;S=c[R>>2]|0;T=S+16|0;Ia=f;return T|0}function Ac(b,d){b=b|0;d=d|0;var 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;e=Ia;Ia=Ia+80|0;f=e+64|0;g=e;h=c[b+16>>2]|0;if(!(a[h+18>>0]&1)){Ia=e;return}i=c[(c[c[h>>2]>>2]|0)+12>>2]|0;j=c[i+20>>2]|0;if(!j)k=0;else k=c[j+(((c[h+28>>2]|0)-(c[i+12>>2]|0)>>2)+-1<<2)>>2]|0;h=c[i+36>>2]|0;a:do if(!h){a[g>>0]=63;a[g+1>>0]=0}else{i=h+16|0;j=Pt(i)|0;switch(a[i>>0]|0){case 61:{l=i+1|0;if(j>>>0>60){m=g;n=l;o=m+59|0;do{a[m>>0]=a[n>>0]|0;m=m+1|0;n=n+1|0}while((m|0)<(o|0));a[g+59>>0]=0;break a}else{Hv(g|0,l|0,j|0)|0;break a}break}case 64:{if(j>>>0>60){a[g>>0]=a[72854]|0;a[g+1>>0]=a[72855]|0;a[g+2>>0]=a[72856]|0;m=g+3|0;n=i+1+j+-57|0;o=m+57|0;do{a[m>>0]=a[n>>0]|0;m=m+1|0;n=n+1|0}while((m|0)<(o|0));break a}else{Hv(g|0,i+1|0,j|0)|0;break a}break}default:{l=$t(i,10)|0;m=g;n=46846;o=m+9|0;do{a[m>>0]=a[n>>0]|0;m=m+1|0;n=n+1|0}while((m|0)<(o|0));p=g+9|0;q=(l|0)==0;if(j>>>0<45&q){Hv(p|0,i|0,j|0)|0;r=p+j|0}else{s=q?j:l-i|0;q=s>>>0<45?s:45;Hv(p|0,i|0,q|0)|0;s=p+q|0;a[s>>0]=a[72854]|0;a[s+1>>0]=a[72855]|0;a[s+2>>0]=a[72856]|0;r=s+3|0};a[r>>0]=a[46856]|0;a[r+1>>0]=a[46857]|0;a[r+2>>0]=a[46858]|0;break a}}}while(0);c[f>>2]=d;ud(b,46859,f)|0;c[543056]=k;Ia=e;return}function Bc(a){a=a|0;var d=0,e=0,f=0,g=0,h=0;d=Ia;Ia=Ia+16|0;e=d;d=c[a+68>>2]|0;if(!d)wc(a,2);f=(c[a+28>>2]|0)+d|0;d=f+4|0;if((c[d>>2]&15|0)!=6)wc(a,6);g=a+8|0;h=c[g>>2]|0;c[h>>2]=c[h+-8>>2];c[h+4>>2]=c[h+-4>>2];h=c[g>>2]|0;c[h+-8>>2]=c[f>>2];c[h+-4>>2]=c[d>>2];d=c[g>>2]|0;c[g>>2]=d+8;g=d+-8|0;d=a+38|0;h=(b[d>>1]|0)+1<<16>>16;b[d>>1]=h;if((h&65535)>199){if(h<<16>>16==200)yc(a,46208,e);if((h&65535)>224)wc(a,6)}h=a+36|0;b[h>>1]=(b[h>>1]|0)+1<<16>>16;if(!(Cc(a,g,1)|0))Dc(a);b[h>>1]=(b[h>>1]|0)+-1<<16>>16;b[d>>1]=(b[d>>1]|0)+-1<<16>>16;wc(a,2)}function Cc(e,f,g){e=e|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,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;h=Ia;Ia=Ia+32|0;i=h+24|0;j=h+16|0;k=h+8|0;l=h;m=e+28|0;n=e+12|0;o=e+8|0;p=e+24|0;q=e+32|0;r=f;a:while(1){s=c[m>>2]|0;t=r-s|0;f=c[r+4>>2]|0;u=(f&63)+-6|0;switch(u>>>4|u<<28|0){case 3:{v=3;break a;break}case 1:{v=6;break a;break}case 2:{v=7;break a;break}case 0:{v=33;break a;break}default:{}}switch(f&15){case 5:{w=(c[r>>2]|0)+8|0;break}case 7:{w=(c[r>>2]|0)+8|0;break}default:w=(c[n>>2]|0)+276+((f&15)<<2)|0}f=c[w>>2]|0;b:do if(!f)x=2172216;else{u=c[(c[n>>2]|0)+272>>2]|0;y=(c[f+16>>2]|0)+(((1<>0])+-1&c[u+8>>2])*20|0)|0;while(1){if((c[y+12>>2]|0)==68?(c[y+8>>2]|0)==(u|0):0)break;z=c[y+16>>2]|0;if(!z){x=2172216;break b}else y=z}x=y}while(0);f=x+4|0;if((c[f>>2]&15|0)!=6){v=77;break}u=c[o>>2]|0;if(u>>>0>r>>>0){z=u;do{A=z;z=z+-8|0;c[A>>2]=c[z>>2];c[A+4>>2]=c[A+-4>>2]}while(z>>>0>r>>>0);B=c[o>>2]|0}else B=u;z=B+8|0;c[o>>2]=z;A=z;if(((c[p>>2]|0)-A|0)<8){z=c[q>>2]|0;if((z|0)>1e6){v=84;break}C=(A-(c[m>>2]|0)>>3)+5|0;A=z<<1;z=(A|0)<1e6?A:1e6;A=(z|0)<(C|0)?C:z;if((A|0)>1e6){v=86;break}xc(e,A)}A=(c[m>>2]|0)+t|0;c[A>>2]=c[x>>2];c[A+4>>2]=c[f>>2];r=A}if((v|0)==3){c[e+112>>2]=((c[o>>2]|0)-r>>3)+-1;c[r>>2]=La[c[r>>2]&255](e)|0;c[r+4>>2]=3;c[o>>2]=r+8;if((g|0)<=1){D=1;Ia=h;return D|0}x=r;B=g;while(1){c[x+12>>2]=0;if((B|0)>2){x=x+8|0;B=B+-1|0}else{D=1;break}}Ia=h;return D|0}else if((v|0)==6)E=r;else if((v|0)==7)E=(c[r>>2]|0)+12|0;else if((v|0)==33){B=c[(c[r>>2]|0)+12>>2]|0;x=c[o>>2]|0;w=x-r>>3;A=w+-1|0;z=B+78|0;C=d[z>>0]|0;do if(((c[p>>2]|0)-x>>3|0)<=(C|0)){F=c[q>>2]|0;if((F|0)>1e6)wc(e,6);G=(x-s>>3)+5+C|0;H=F<<1;F=(H|0)<1e6?H:1e6;H=(F|0)<(G|0)?G:F;if((H|0)>1e6){xc(e,1000200);yc(e,46193,k)}else{xc(e,H);break}}while(0);k=a[B+76>>0]|0;C=k&255;if((w|0)>(C|0))I=A;else{w=c[o>>2]|0;x=A;do{A=w;w=w+8|0;c[A+4>>2]=0;x=x+1|0}while((x|0)<(C|0));c[o>>2]=w;I=x}if(!(a[B+77>>0]|0)){x=(c[m>>2]|0)+t|0;J=x+8|0;K=x}else{x=c[o>>2]|0;w=d[z>>0]|0;do if(((c[p>>2]|0)-x>>3|0)<=(w|0)){A=c[q>>2]|0;if((A|0)>1e6)wc(e,6);H=w+5+(x-(c[m>>2]|0)>>3)|0;F=A<<1;A=(F|0)<1e6?F:1e6;F=(A|0)<(H|0)?H:A;if((F|0)>1e6){xc(e,1000200);yc(e,46193,j)}else{xc(e,F);L=c[o>>2]|0;break}}else L=x;while(0);x=0-I|0;I=L+(x<<3)|0;if(k<<24>>24?(c[o>>2]=L+8,c[L>>2]=c[I>>2],j=L+(x<<3)+4|0,c[L+4>>2]=c[j>>2],c[j>>2]=0,k<<24>>24!=1):0){k=1;do{j=c[o>>2]|0;x=I+(k<<3)|0;c[o>>2]=j+8;c[j>>2]=c[x>>2];w=x+4|0;c[j+4>>2]=c[w>>2];c[w>>2]=0;k=k+1|0}while((k|0)!=(C|0))}J=L;K=(c[m>>2]|0)+t|0}L=e+16|0;C=c[(c[L>>2]|0)+12>>2]|0;if(!C){k=c[n>>2]|0;I=k+4|0;w=Pa[c[k>>2]&3](c[I>>2]|0,0,0,40)|0;if(!w){if(!(a[k+51>>0]|0))wc(e,4);Ic(e,1);j=Pa[c[k>>2]&3](c[I>>2]|0,0,0,40)|0;if(!j)wc(e,4);else M=j}else M=w;w=k+12|0;c[w>>2]=(c[w>>2]|0)+40;w=c[L>>2]|0;c[w+12>>2]=M;c[M+8>>2]=w;c[M+12>>2]=0;N=M}else N=C;c[L>>2]=N;b[N+16>>1]=g;c[N>>2]=K;c[N+24>>2]=J;K=J+(d[z>>0]<<3)|0;c[N+4>>2]=K;c[N+28>>2]=c[B+12>>2];a[N+18>>0]=1;c[o>>2]=K;K=c[n>>2]|0;N=K+12|0;B=c[N>>2]|0;if((B|0)<=0){D=0;Ia=h;return D|0}if(!(a[K+51>>0]|0)){z=K+8|0;c[z>>2]=B+1600+(c[z>>2]|0);c[N>>2]=-1600;D=0;Ia=h;return D|0}else{Mc(e);D=0;Ia=h;return D|0}}else if((v|0)==77)bd(e,r,46841);else if((v|0)==84)wc(e,6);else if((v|0)==86){xc(e,1000200);yc(e,46193,i)}i=c[E>>2]|0;E=c[o>>2]|0;c[e+112>>2]=(E-r>>3)+-1;do if(((c[p>>2]|0)-E|0)<168){r=c[q>>2]|0;if((r|0)>1e6)wc(e,6);v=(E-s>>3)+25|0;N=r<<1;r=(N|0)<1e6?N:1e6;N=(r|0)<(v|0)?v:r;if((N|0)>1e6){xc(e,1000200);yc(e,46193,l)}else{xc(e,N);break}}while(0);l=e+16|0;s=c[(c[l>>2]|0)+12>>2]|0;if(!s){E=c[n>>2]|0;q=E+4|0;p=Pa[c[E>>2]&3](c[q>>2]|0,0,0,40)|0;if(!p){if(!(a[E+51>>0]|0))wc(e,4);Ic(e,1);N=Pa[c[E>>2]&3](c[q>>2]|0,0,0,40)|0;if(!N)wc(e,4);else O=N}else O=p;p=E+12|0;c[p>>2]=(c[p>>2]|0)+40;p=c[l>>2]|0;c[p+12>>2]=O;c[O+8>>2]=p;c[O+12>>2]=0;P=O}else P=s;c[l>>2]=P;b[P+16>>1]=g;c[P>>2]=(c[m>>2]|0)+t;c[P+4>>2]=(c[o>>2]|0)+160;a[P+18>>0]=0;P=c[n>>2]|0;n=P+12|0;t=c[n>>2]|0;do if((t|0)>0)if(!(a[P+51>>0]|0)){m=P+8|0;c[m>>2]=t+1600+(c[m>>2]|0);c[n>>2]=-1600;break}else{Mc(e);break}while(0);n=La[i&255](e)|0;e=c[o>>2]|0;i=c[l>>2]|0;t=c[i>>2]|0;P=b[i+16>>1]|0;c[l>>2]=c[i+8>>2];c:do if(P<<16>>16){i=P<<16>>16;l=0-n|0;if((l|0)<0){m=e+(l<<3)|0;l=i;g=t;while(1){s=g+8|0;c[g>>2]=c[m>>2];c[g+4>>2]=c[m+4>>2];O=l+-1|0;if(!O){Q=s;break c}m=m+8|0;if(m>>>0>=(c[o>>2]|0)>>>0){R=O;S=s;break}else{l=O;g=s}}}else{R=i;S=t}if((R|0)>0){g=R;l=S;while(1){m=l+8|0;c[l+4>>2]=0;if((g|0)>1){g=g+-1|0;l=m}else{Q=m;break}}}else Q=S}else Q=t;while(0);c[o>>2]=Q;D=1;Ia=h;return D|0}
+function Ge(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;Be(b,e);f=c[e>>2]|0;a:do switch(f|0){case 10:{g=e+4|0;h=c[g>>2]|0;i=(c[(c[b>>2]|0)+12>>2]|0)+(h<<2)|0;if((h|0)>0?(h=i+-4|0,j=c[h>>2]|0,((j&63)+-37|0)>>>0<5):0){k=j;l=h}else{k=c[i>>2]|0;l=i}c[l>>2]=((k&16320|0)==0&1)<<6|k&-16321;m=c[g>>2]|0;n=32;break}case 2:case 5:case 4:break;case 11:{g=c[b>>2]|0;i=e+4|0;h=c[(c[g+12>>2]|0)+(c[i>>2]<<2)>>2]|0;j=b+20|0;if((h&63|0)==33){c[j>>2]=(c[j>>2]|0)+-1;le(b,h>>>23<<6|16424)|0;h=b+28|0;j=c[h>>2]|0;c[h>>2]=-1;h=le(b,2147450916)|0;if((j|0)!=-1)if((h|0)!=-1){o=c[(c[b>>2]|0)+12>>2]|0;p=h;while(1){q=o+(p<<2)|0;r=c[q>>2]|0;s=(r>>>14)+-131071|0;t=(s|0)==-1?-1:p+1+s|0;if((t|0)==-1)break;else p=t}o=j+~p|0;if((((o|0)>-1?o:0-o|0)|0)>131071)oe(c[b+12>>2]|0,46981);else{c[q>>2]=(o<<14)+2147467264|r&16383;m=h;n=32;break a}}else{u=j;n=33}else{m=h;n=32}}else{v=g;w=i;n=16}break}default:{o=e+4|0;if((f|0)==6){x=o;n=22}else{v=c[b>>2]|0;w=o;n=16}}}while(0);if((n|0)==16){f=b+48|0;r=a[f>>0]|0;q=(r&255)+1|0;k=v+78|0;do if((r&255)>=(d[k>>0]|0))if((r&255)>248)oe(c[b+12>>2]|0,47325);else{v=q&255;a[k>>0]=v;y=v;break}else y=q&255;while(0);a[f>>0]=y;Ye(b,e,(y&255)+-1|0);if((c[e>>2]|0)==6){x=w;n=22}else{z=w;n=25}}if((n|0)==22){w=c[e+4>>2]|0;if((w&256|0)==0?(w|0)>=(d[b+46>>0]|0|0):0){w=b+48|0;a[w>>0]=(a[w>>0]|0)+-1<<24>>24;z=x;n=25}else{z=x;n=25}}do if((n|0)==25){le(b,c[z>>2]<<23|16361)|0;x=b+28|0;w=c[x>>2]|0;c[x>>2]=-1;x=le(b,2147450916)|0;if((w|0)!=-1)if((x|0)!=-1){y=c[(c[b>>2]|0)+12>>2]|0;f=x;while(1){A=y+(f<<2)|0;B=c[A>>2]|0;q=(B>>>14)+-131071|0;k=(q|0)==-1?-1:f+1+q|0;if((k|0)==-1)break;else f=k}y=w+~f|0;if((((y|0)>-1?y:0-y|0)|0)>131071)oe(c[b+12>>2]|0,46981);else{c[A>>2]=(y<<14)+2147467264|B&16383;m=x;n=32;break}}else{u=w;n=33}else{m=x;n=32}}while(0);if((n|0)==32?(m|0)!=-1:0){u=m;n=33}do if((n|0)==33){m=e+12|0;B=c[m>>2]|0;if((B|0)==-1){c[m>>2]=u;break}m=c[(c[b>>2]|0)+12>>2]|0;A=B;while(1){C=m+(A<<2)|0;D=c[C>>2]|0;B=(D>>>14)+-131071|0;z=(B|0)==-1?-1:A+1+B|0;if((z|0)==-1)break;else A=z}m=u+~A|0;if((((m|0)>-1?m:0-m|0)|0)>131071)oe(c[b+12>>2]|0,46981);else{c[C>>2]=(m<<14)+2147467264|D&16383;break}}while(0);D=e+8|0;e=c[D>>2]|0;c[b+24>>2]=c[b+20>>2];C=b+28|0;if((e|0)==-1){c[D>>2]=-1;return}u=c[C>>2]|0;if((u|0)==-1){c[C>>2]=e;c[D>>2]=-1;return}C=c[(c[b>>2]|0)+12>>2]|0;n=u;while(1){E=C+(n<<2)|0;F=c[E>>2]|0;u=(F>>>14)+-131071|0;m=(u|0)==-1?-1:n+1+u|0;if((m|0)==-1)break;else n=m}C=e+~n|0;if((((C|0)>-1?C:0-C|0)|0)>131071)oe(c[b+12>>2]|0,46981);c[E>>2]=(C<<14)+2147467264|F&16383;c[D>>2]=-1;return}function He(d){d=d|0;var e=0,f=0,g=0,h=0,i=0;e=Ia;Ia=Ia+16|0;f=e;g=c[d+40>>2]|0;a[f+10>>0]=0;a[f+8>>0]=a[g+46>>0]|0;h=c[(c[g+12>>2]|0)+56>>2]|0;b[f+4>>1]=c[h+28>>2];b[f+6>>1]=c[h+16>>2];a[f+9>>0]=0;h=g+16|0;c[f>>2]=c[h>>2];c[h>>2]=f;f=d+24|0;a:while(1){h=c[f>>2]|0;switch(h|0){case 277:case 292:case 287:case 262:case 261:case 260:{i=4;break a;break}default:{}}ie(d);if((h|0)==274){i=4;break}}if((i|0)==4){me(g);Ia=e;return}}function Ie(e,f){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,q=0,r=0,s=0,t=0;g=c[e+40>>2]|0;h=c[e+56>>2]|0;i=c[g>>2]|0;j=i+60|0;k=c[j>>2]|0;l=g+44|0;if((k|0)>(b[l>>1]|0)){m=k;n=c[i+24>>2]|0}else{o=i+24|0;p=pe(c[e+44>>2]|0,c[o>>2]|0,j,12,32767,47639)|0;c[o>>2]=p;m=c[j>>2]|0;n=p}if((k|0)<(m|0)?(p=k+1|0,c[n+(k*12|0)>>2]=0,(p|0)<(m|0)):0){k=p;do{c[n+(k*12|0)>>2]=0;k=k+1|0}while((k|0)!=(m|0))}c[n+((b[l>>1]|0)*12|0)>>2]=f;do if(a[f+5>>0]&3?(n=i+5|0,m=a[n>>0]|0,m&4):0){k=c[(c[e+44>>2]|0)+12>>2]|0;if((d[k+49>>0]|0)<2){Hc(k,f);break}else{a[n>>0]=a[k+48>>0]&3|m&-72;break}}while(0);f=b[l>>1]|0;b[l>>1]=f+1<<16>>16;l=h+4|0;i=c[l>>2]|0;m=i+1|0;if((m-(c[g+40>>2]|0)|0)>200)ze(g,200,47639);g=h+8|0;if((i+2|0)>(c[g>>2]|0)){k=pe(c[e+44>>2]|0,c[h>>2]|0,g,2,2147483645,47639)|0;c[h>>2]=k;g=c[l>>2]|0;q=k;r=g;s=g+1|0;c[l>>2]=s;t=q+(r<<1)|0;b[t>>1]=f;return}else{q=c[h>>2]|0;r=i;s=m;c[l>>2]=s;t=q+(r<<1)|0;b[t>>1]=f;return}}function Je(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ia;Ia=Ia+16|0;f=e;De(b,f,0)|0;g=c[b+40>>2]|0;Be(g,f);if(((c[f>>2]|0)==6?(b=c[f+4>>2]|0,(b&256|0)==0):0)?(b|0)>=(d[g+46>>0]|0|0):0){b=g+48|0;a[b>>0]=(a[b>>0]|0)+-1<<24>>24}b=g+48|0;h=a[b>>0]|0;i=(h&255)+1|0;j=(c[g>>2]|0)+78|0;if((h&255)<(d[j>>0]|0)){k=i&255;a[b>>0]=k;l=k&255;m=l+-1|0;Ce(g,f,m);Ia=e;return}if((h&255)>248)oe(c[g+12>>2]|0,47325);h=i&255;a[j>>0]=h;k=h;a[b>>0]=k;l=k&255;m=l+-1|0;Ce(g,f,m);Ia=e;return}function Ke(b,e,f){b=b|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;g=c[(c[b+12>>2]|0)+44>>2]|0;h=c[b>>2]|0;i=c[b+4>>2]|0;j=Kc(i,e)|0;if((j|0)==2172216)k=Lc(g,i,e)|0;else k=j;j=k+4|0;if(((c[j>>2]|0)==3?(e=c[k>>2]>>16,i=c[h+8>>2]|0,(c[i+(e<<3)+4>>2]|0)==(c[f+4>>2]|0)):0)?Rc(0,i+(e<<3)|0,f)|0:0){l=e;return l|0}e=h+44|0;i=c[e>>2]|0;m=b+32|0;b=c[m>>2]|0;c[k>>2]=b;c[j>>2]=3;j=c[e>>2]|0;k=h+8|0;if((b|0)<(j|0)){n=j;o=c[k>>2]|0}else{j=pe(g,c[k>>2]|0,e,8,67108863,47629)|0;c[k>>2]=j;n=c[e>>2]|0;o=j}if((i|0)<(n|0)?(j=i+1|0,c[o+(i<<3)+4>>2]=0,(j|0)<(n|0)):0){i=j;do{c[o+(i<<3)+4>>2]=0;i=i+1|0}while((i|0)<(n|0))}c[o+(b<<3)>>2]=c[f>>2];n=f+4|0;c[o+(b<<3)+4>>2]=c[n>>2];c[m>>2]=(c[m>>2]|0)+1;if(!(c[n>>2]&64)){l=b;return l|0}n=c[f>>2]|0;if(!(a[n+5>>0]&3)){l=b;return l|0}f=h+5|0;h=a[f>>0]|0;if(!(h&4)){l=b;return l|0}m=c[g+12>>2]|0;if((d[m+49>>0]|0)<2){Hc(m,n);l=b;return l|0}else{a[f>>0]=a[m+48>>0]&3|h&-72;l=b;return l|0}return 0}function Le(e,f,g,h,i){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;j=Ia;Ia=Ia+16|0;k=j;l=e+40|0;m=c[l>>2]|0;n=m+46|0;o=a[n>>0]|0;a[n>>0]=(o&255)+3;p=m+20|0;q=c[p>>2]|0;r=m+12|0;s=c[(c[m>>2]|0)+24>>2]|0;t=c[c[(c[r>>2]|0)+56>>2]>>2]|0;u=(c[m+40>>2]|0)+(o+3&255)|0;c[s+((b[t+(u+-3<<1)>>1]|0)*12|0)+4>>2]=q;c[s+((b[t+(u+-2<<1)>>1]|0)*12|0)+4>>2]=q;c[s+((b[t+(u+-1<<1)>>1]|0)*12|0)+4>>2]=q;q=e+24|0;if((c[q>>2]|0)!=259)je(e,259);c[e+16>>2]=c[e+4>>2];u=e+32|0;if((c[u>>2]|0)==287)c[q>>2]=he(e,e+28|0)|0;else{q=u;t=c[q+4>>2]|0;s=e+24|0;c[s>>2]=c[q>>2];c[s+4>>2]=t;c[u>>2]=287}u=(i|0)!=0;do if(!u){i=m+28|0;t=c[i>>2]|0;c[i>>2]=-1;i=le(m,2147450916)|0;if((t|0)!=-1)if((i|0)!=-1){s=c[(c[m>>2]|0)+12>>2]|0;q=i;while(1){v=s+(q<<2)|0;w=c[v>>2]|0;o=(w>>>14)+-131071|0;x=(o|0)==-1?-1:q+1+o|0;if((x|0)==-1)break;else q=x}s=t+~q|0;if((((s|0)>-1?s:0-s|0)|0)>131071)oe(c[r>>2]|0,46981);else{c[v>>2]=(s<<14)+2147467264|w&16383;y=i;break}}else y=t;else y=i}else y=le(m,f<<6|2147450926)|0;while(0);a[k+10>>0]=0;a[k+8>>0]=a[n>>0]|0;n=c[r>>2]|0;w=c[n+56>>2]|0;b[k+4>>1]=c[w+28>>2];b[k+6>>1]=c[w+16>>2];a[k+9>>0]=0;w=m+16|0;c[k>>2]=c[w>>2];c[w>>2]=k;k=c[l>>2]|0;l=k+46|0;w=(d[l>>0]|0)+h|0;a[l>>0]=w;if(h|0){l=c[k+20>>2]|0;v=c[(c[k>>2]|0)+24>>2]|0;s=c[c[(c[k+12>>2]|0)+56>>2]>>2]|0;x=(c[k+40>>2]|0)+(w&255)|0;w=h;do{c[v+((b[s+(x-w<<1)>>1]|0)*12|0)+4>>2]=l;w=w+-1|0}while((w|0)!=0)}w=m+48|0;l=(d[w>>0]|0)+h|0;x=(c[m>>2]|0)+78|0;do if((l|0)>(d[x>>0]|0))if((l|0)>249)oe(n,47325);else{s=l&255;a[x>>0]=s;z=s;break}else z=l&255;while(0);a[w>>0]=z;He(e);me(m);c[m+24>>2]=c[p>>2];e=m+28|0;do if((y|0)!=-1){z=c[e>>2]|0;if((z|0)==-1){c[e>>2]=y;break}w=c[(c[m>>2]|0)+12>>2]|0;l=z;while(1){A=w+(l<<2)|0;B=c[A>>2]|0;z=(B>>>14)+-131071|0;x=(z|0)==-1?-1:l+1+z|0;if((x|0)==-1)break;else l=x}w=y+~l|0;if((((w|0)>-1?w:0-w|0)|0)>131071)oe(c[r>>2]|0,46981);else{c[A>>2]=(w<<14)+2147467264|B&16383;break}}while(0);B=f<<6;if(u){C=B|2147450925;D=le(m,C)|0;E=y+1|0;we(m,D,E);F=c[m>>2]|0;G=F+20|0;H=c[G>>2]|0;I=c[p>>2]|0;J=I+-1|0;K=H+(J<<2)|0;c[K>>2]=g;Ia=j;return}else{le(m,B|h<<14|47)|0;c[(c[(c[m>>2]|0)+20>>2]|0)+((c[p>>2]|0)+-1<<2)>>2]=g;C=B+128|2147450928;D=le(m,C)|0;E=y+1|0;we(m,D,E);F=c[m>>2]|0;G=F+20|0;H=c[G>>2]|0;I=c[p>>2]|0;J=I+-1|0;K=H+(J<<2)|0;c[K>>2]=g;Ia=j;return}}function Me(b,e,f,g){b=b|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,o=0,p=0;h=e-f|0;f=c[g>>2]|0;switch(f|0){case 13:case 12:{e=h+1|0;i=(e|0)>0?e:0;switch(f|0){case 12:{f=(c[(c[b>>2]|0)+12>>2]|0)+(c[g+4>>2]<<2)|0;c[f>>2]=c[f>>2]&-8372225|(i<<14)+16384&8372224;break}case 13:{f=c[b>>2]|0;e=c[f+12>>2]|0;j=g+4|0;k=e+(c[j>>2]<<2)|0;c[k>>2]=c[k>>2]&8388607|(i<<23)+8388608;k=e+(c[j>>2]<<2)|0;j=b+48|0;e=a[j>>0]|0;l=e&255;c[k>>2]=l<<6|c[k>>2]&-16321;k=l+1|0;l=f+78|0;do if((e&255)>=(d[l>>0]|0))if((e&255)>248)oe(c[b+12>>2]|0,47325);else{f=k&255;a[l>>0]=f;m=f;break}else m=k&255;while(0);a[j>>0]=m;break}default:{}}if((i|0)<=1)return;m=b+48|0;j=i+-1+(d[m>>0]|0)|0;i=(c[b>>2]|0)+78|0;do if((j|0)>(d[i>>0]|0|0))if((j|0)>249)oe(c[b+12>>2]|0,47325);else{k=j&255;a[i>>0]=k;n=k;break}else n=j&255;while(0);a[m>>0]=n;return}case 0:break;default:{Be(b,g);if(((c[g>>2]|0)==6?(n=c[g+4>>2]|0,(n&256|0)==0):0)?(n|0)>=(d[b+46>>0]|0|0):0){n=b+48|0;a[n>>0]=(a[n>>0]|0)+-1<<24>>24}n=b+48|0;m=a[n>>0]|0;j=(m&255)+1|0;i=(c[b>>2]|0)+78|0;do if((m&255)>=(d[i>>0]|0))if((m&255)>248)oe(c[b+12>>2]|0,47325);else{k=j&255;a[i>>0]=k;o=k;break}else o=j&255;while(0);a[n>>0]=o;Ce(b,g,(o&255)+-1|0)}}if((h|0)<=0)return;o=b+48|0;g=d[o>>0]|0;n=h+g|0;j=c[b>>2]|0;i=j+78|0;do if((n|0)>(d[i>>0]|0|0))if((n|0)>249)oe(c[b+12>>2]|0,47325);else{m=n&255;a[i>>0]=m;p=m;break}else p=n&255;while(0);a[o>>0]=p;p=n+511|0;o=c[b+20>>2]|0;do if((o|0)>(c[b+24>>2]|0)?(i=(c[j+12>>2]|0)+(o+-1<<2)|0,m=c[i>>2]|0,(m&63|0)==4):0){k=m>>>6&255;l=k+(m>>>23)|0;if(k>>>0>g>>>0|(l+1|0)>>>0>>0?k>>>0>>0|(k|0)>(n|0):0)break;e=k>>>0>>0?k:g;c[i>>2]=e<<6|m&8372287|((l|0)<(n|0)?p:l)-e<<23;return}while(0);le(b,(h<<23)+-8388608|g<<6|4)|0;return}function Ne(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;Be(b,e);if((c[e>>2]|0)==6){f=e+4|0;g=c[f>>2]|0;if((c[e+8>>2]|0)==(c[e+12>>2]|0)){h=g;return h|0}if((g|0)>=(d[b+46>>0]|0|0)){Ce(b,e,g);i=f}else j=5}else j=5;if((j|0)==5){Be(b,e);if(((c[e>>2]|0)==6?(j=c[e+4>>2]|0,(j&256|0)==0):0)?(j|0)>=(d[b+46>>0]|0|0):0){j=b+48|0;a[j>>0]=(a[j>>0]|0)+-1<<24>>24}j=b+48|0;f=a[j>>0]|0;g=(f&255)+1|0;k=(c[b>>2]|0)+78|0;do if((f&255)>=(d[k>>0]|0))if((f&255)>248)oe(c[b+12>>2]|0,47325);else{l=g&255;a[k>>0]=l;m=l;break}else m=g&255;while(0);a[j>>0]=m;Ce(b,e,(m&255)+-1|0);i=e+4|0}h=c[i>>2]|0;return h|0}function Oe(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=Ia;Ia=Ia+16|0;f=e+8|0;g=e;if((c[d+8>>2]|0)==(c[d+12>>2]|0))Be(b,d);else Ne(b,d)|0;h=c[d>>2]|0;switch(h|0){case 1:case 3:case 2:{if((c[b+32>>2]|0)<256){if((h|0)==1){c[g+4>>2]=0;c[f>>2]=c[b+4>>2];c[f+4>>2]=69;i=Ke(b,f,g)|0}else{c[f>>2]=(h|0)==2&1;c[f+4>>2]=1;i=Ke(b,f,f)|0}c[d+4>>2]=i;c[d>>2]=4;j=i|256;Ia=e;return j|0}break}case 5:{i=d+4|0;h=c[i>>2]|0;c[f>>2]=h;k=c[(c[b+12>>2]|0)+44>>2]|0;c[g>>2]=h;c[g+4>>2]=3;if(!h){h=k+8|0;l=c[h>>2]|0;c[h>>2]=l+8;m=$c(k,f,4)|0;c[l>>2]=m;c[l+4>>2]=(a[m+4>>0]|64)&255;m=Ke(b,(c[h>>2]|0)+-8|0,g)|0;c[h>>2]=(c[h>>2]|0)+-8;n=m}else n=Ke(b,g,g)|0;c[i>>2]=n;c[d>>2]=4;o=n;p=15;break}case 4:{o=c[d+4>>2]|0;p=15;break}default:{}}if((p|0)==15?(o|0)<256:0){j=o|256;Ia=e;return j|0}j=Ne(b,d)|0;Ia=e;return j|0}function Pe(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;i=Ia;Ia=Ia+80|0;j=i;k=i+16|0;l=i+4|0;m=e+40|0;n=c[m>>2]|0;o=e+44|0;p=c[o>>2]|0;q=c[n>>2]|0;r=n+36|0;n=q+56|0;s=c[n>>2]|0;if(((c[r>>2]|0)>=(s|0)?(t=q+16|0,u=pe(p,c[t>>2]|0,n,4,262143,47589)|0,c[t>>2]=u,v=c[n>>2]|0,(s|0)<(v|0)):0)?(n=s+1|0,c[u+(s<<2)>>2]=0,(n|0)<(v|0)):0){s=n;do{c[(c[t>>2]|0)+(s<<2)>>2]=0;s=s+1|0}while((s|0)!=(v|0))}v=p+12|0;s=c[v>>2]|0;t=s+4|0;n=Pa[c[s>>2]&3](c[t>>2]|0,0,9,80)|0;if(!n){if(!(a[s+51>>0]|0))wc(p,4);Ic(p,1);u=Pa[c[s>>2]&3](c[t>>2]|0,0,9,80)|0;if(!u)wc(p,4);else w=u}else w=n;n=s+12|0;c[n>>2]=(c[n>>2]|0)+80;n=s+56|0;u=w+5|0;a[u>>0]=a[s+48>>0]&3;a[w+4>>0]=9;c[w>>2]=c[n>>2];c[n>>2]=w;a[w+76>>0]=0;a[w+77>>0]=0;n=w+78|0;a[n>>0]=0;s=w+8|0;p=s+64|0;do{c[s>>2]=0;s=s+4|0}while((s|0)<(p|0));s=c[q+16>>2]|0;p=c[r>>2]|0;c[r>>2]=p+1;c[s+(p<<2)>>2]=w;do if(a[u>>0]&3?(p=q+5|0,s=a[p>>0]|0,s&4):0){r=c[v>>2]|0;if((d[r+49>>0]|0)<2){Hc(r,w);break}else{a[p>>0]=a[r+48>>0]&3|s&-72;break}}while(0);c[k>>2]=w;c[w+64>>2]=h;v=c[o>>2]|0;c[k+8>>2]=c[m>>2];o=k+12|0;c[o>>2]=e;c[m>>2]=k;c[k+20>>2]=0;c[k+24>>2]=0;c[k+28>>2]=-1;c[k+32>>2]=0;c[k+36>>2]=0;q=k+44|0;c[q>>2]=0;a[q+4>>0]=0;c[k+40>>2]=c[(c[e+56>>2]|0)+4>>2];q=k+16|0;c[q>>2]=0;c[w+36>>2]=c[e+60>>2];a[n>>0]=2;n=c[v+12>>2]|0;w=n+4|0;u=Pa[c[n>>2]&3](c[w>>2]|0,0,5,32)|0;if(!u){if(!(a[n+51>>0]|0))wc(v,4);Ic(v,1);s=Pa[c[n>>2]&3](c[w>>2]|0,0,5,32)|0;if(!s)wc(v,4);else x=s}else x=u;u=n+12|0;c[u>>2]=(c[u>>2]|0)+32;u=n+56|0;a[x+5>>0]=a[n+48>>0]&3;a[x+4>>0]=5;c[x>>2]=c[u>>2];c[u>>2]=x;c[x+8>>2]=0;a[x+6>>0]=-1;c[x+12>>2]=0;c[x+28>>2]=0;c[x+16>>2]=2172240;a[x+7>>0]=0;c[x+20>>2]=2172240;c[k+4>>2]=x;u=v+8|0;n=c[u>>2]|0;c[n>>2]=x;c[n+4>>2]=69;n=(c[u>>2]|0)+8|0;c[u>>2]=n;u=n;do if(((c[v+24>>2]|0)-u|0)<8){n=c[v+32>>2]|0;if((n|0)>1e6)wc(v,6);x=(u-(c[v+28>>2]|0)>>3)+5|0;s=n<<1;n=(s|0)<1e6?s:1e6;s=(n|0)<(x|0)?x:n;if((s|0)>1e6){xc(v,1000200);yc(v,46193,j)}else{xc(v,s);break}}while(0);a[l+10>>0]=0;a[l+8>>0]=a[k+46>>0]|0;v=c[(c[o>>2]|0)+56>>2]|0;b[l+4>>1]=c[v+28>>2];b[l+6>>1]=c[v+16>>2];a[l+9>>0]=0;c[l>>2]=c[q>>2];c[q>>2]=l;l=e+24|0;if((c[l>>2]|0)!=40)je(e,40);q=e+4|0;v=e+16|0;c[v>>2]=c[q>>2];o=e+32|0;if((c[o>>2]|0)==287){j=he(e,e+28|0)|0;c[l>>2]=j;y=j}else{j=o;u=c[j>>2]|0;s=c[j+4>>2]|0;j=e+24|0;c[j>>2]=u;c[j+4>>2]=s;c[o>>2]=287;y=u}if(!g){g=c[m>>2]|0;z=g;A=c[g>>2]|0;B=y;C=g}else{Ie(e,ne(e,47599,4)|0);g=c[m>>2]|0;y=g+46|0;u=a[y>>0]|0;a[y>>0]=(u&255)+1;y=c[g>>2]|0;c[(c[y+24>>2]|0)+((b[(c[c[(c[g+12>>2]|0)+56>>2]>>2]|0)+((c[g+40>>2]|0)+(u+1&255)+-1<<1)>>1]|0)*12|0)+4>>2]=c[g+20>>2];z=g;A=y;B=c[l>>2]|0;C=g}g=A+77|0;a[g>>0]=0;a:do if((B|0)==41)D=0;else{y=e+28|0;u=e+24|0;s=B;j=0;b:while(1){switch(s|0){case 280:{break b;break}case 289:break;default:{E=43;break b}}n=c[y>>2]|0;c[v>>2]=c[q>>2];if((c[o>>2]|0)==287)c[l>>2]=he(e,y)|0;else{x=o;w=c[x+4>>2]|0;r=u;c[r>>2]=c[x>>2];c[r+4>>2]=w;c[o>>2]=287}Ie(e,n);n=j+1|0;if(a[g>>0]|0){D=n;break a}if((c[l>>2]|0)!=44){D=n;break a}c[v>>2]=c[q>>2];if((c[o>>2]|0)==287){w=he(e,y)|0;c[l>>2]=w;F=w}else{w=o;r=c[w>>2]|0;x=c[w+4>>2]|0;w=u;c[w>>2]=r;c[w+4>>2]=x;c[o>>2]=287;F=r}s=F;j=n}if((E|0)==43)oe(e,47604);c[v>>2]=c[q>>2];if((c[o>>2]|0)==287)c[l>>2]=he(e,y)|0;else{s=o;n=c[s+4>>2]|0;r=u;c[r>>2]=c[s>>2];c[r+4>>2]=n;c[o>>2]=287}a[g>>0]=1;D=j}while(0);g=c[m>>2]|0;E=g+46|0;F=D+(d[E>>0]|0)|0;a[E>>0]=F;if(D|0){E=c[g+20>>2]|0;B=c[(c[g>>2]|0)+24>>2]|0;n=c[c[(c[g+12>>2]|0)+56>>2]>>2]|0;r=(c[g+40>>2]|0)+(F&255)|0;F=D;do{c[B+((b[n+(r-F<<1)>>1]|0)*12|0)+4>>2]=E;F=F+-1|0}while((F|0)!=0)}F=a[z+46>>0]|0;a[A+76>>0]=F;A=z+48|0;E=(d[A>>0]|0)+(F&255)|0;F=(c[C>>2]|0)+78|0;do if(E>>>0>(d[F>>0]|0)>>>0)if(E>>>0>249)oe(c[z+12>>2]|0,47325);else{C=E&255;a[F>>0]=C;G=C;break}else G=E&255;while(0);a[A>>0]=G;if((c[l>>2]|0)!=41)je(e,41);c[v>>2]=c[q>>2];if((c[o>>2]|0)==287){v=he(e,e+28|0)|0;c[l>>2]=v;H=v}else{v=o;G=c[v>>2]|0;A=c[v+4>>2]|0;v=e+24|0;c[v>>2]=G;c[v+4>>2]=A;c[o>>2]=287;H=G}G=H;c:while(1){switch(G|0){case 277:case 292:case 287:case 262:case 261:case 260:{break c;break}default:{}}ie(e);if((G|0)==274)break;G=c[l>>2]|0}c[(c[k>>2]|0)+68>>2]=c[q>>2];Ee(e,262,265,h);h=c[(c[m>>2]|0)+8>>2]|0;m=le(h,(c[h+36>>2]<<14)+-16384|50)|0;c[f+8>>2]=-1;c[f+12>>2]=-1;c[f>>2]=11;q=f+4|0;c[q>>2]=m;Be(h,f);if(((c[f>>2]|0)==6?(m=c[q>>2]|0,(m&256|0)==0):0)?(m|0)>=(d[h+46>>0]|0):0){m=h+48|0;a[m>>0]=(a[m>>0]|0)+-1<<24>>24}m=h+48|0;q=a[m>>0]|0;k=(q&255)+1|0;l=(c[h>>2]|0)+78|0;if((q&255)<(d[l>>0]|0)){I=k&255;a[m>>0]=I;J=I&255;K=J+-1|0;Ce(h,f,K);ke(e);Ia=i;return}if((q&255)>248)oe(c[h+12>>2]|0,47325);q=k&255;a[l>>0]=q;I=q;a[m>>0]=I;J=I&255;K=J+-1|0;Ce(h,f,K);ke(e);Ia=i;return}function Qe(b,f,g){b=b|0;f=f|0;g=g|0;var h=0;switch(c[f>>2]|0){case 7:{if(((c[g>>2]|0)==6?(h=c[g+4>>2]|0,(h&256|0)==0):0)?(h|0)>=(d[b+46>>0]|0):0){h=b+48|0;a[h>>0]=(a[h>>0]|0)+-1<<24>>24}Ce(b,g,c[f+4>>2]|0);return}case 8:{le(b,(Ne(b,g)|0)<<6|c[f+4>>2]<<23|9)|0;break}case 9:{h=f+4|0;f=(a[h+3>>0]|0)==7?10:8;le(b,(Oe(b,g)|0)<<14|f|d[h+2>>0]<<6|e[h>>1]<<23)|0;break}default:{}}if((c[g>>2]|0)!=6)return;h=c[g+4>>2]|0;if(h&256|0)return;if((h|0)<(d[b+46>>0]|0))return;h=b+48|0;a[h>>0]=(a[h>>0]|0)+-1<<24>>24;return}function Re(e,f){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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;g=Ia;Ia=Ia+32|0;h=g+16|0;i=g;j=e+40|0;k=c[j>>2]|0;l=e+4|0;m=c[l>>2]|0;n=e+24|0;switch(c[n>>2]|0){case 40:{o=e+16|0;c[o>>2]=m;p=e+32|0;if((c[p>>2]|0)==287)c[n>>2]=he(e,e+28|0)|0;else{q=p;r=c[q+4>>2]|0;s=e+24|0;c[s>>2]=c[q>>2];c[s+4>>2]=r;c[p>>2]=287}De(e,f,0)|0;Ee(e,41,40,m);Be(c[j>>2]|0,f);t=o;u=p;v=p;break}case 289:{Ae(e,f);p=e+32|0;t=e+16|0;u=p;v=p;break}default:oe(e,47520)}p=f+8|0;o=f+12|0;r=e+28|0;s=e+24|0;q=f+4|0;w=k+48|0;x=h+8|0;y=h+12|0;z=k+46|0;A=h+4|0;B=i+8|0;C=i+12|0;D=i+4|0;E=h+4|0;F=i+8|0;G=i+12|0;H=i+4|0;I=f+4|0;J=I+2|0;K=I+3|0;a:while(1)switch(c[n>>2]|0){case 46:{L=c[j>>2]|0;if(!((c[f>>2]|0)==8?(c[p>>2]|0)==(c[o>>2]|0):0))Ne(L,f)|0;c[t>>2]=c[l>>2];if((c[v>>2]|0)==287){M=he(e,r)|0;c[n>>2]=M;N=M}else{M=u;O=c[M>>2]|0;P=c[M+4>>2]|0;M=s;c[M>>2]=O;c[M+4>>2]=P;c[v>>2]=287;N=O}if((N|0)!=289){Q=17;break a}O=c[r>>2]|0;c[t>>2]=c[l>>2];if((c[v>>2]|0)==287)c[n>>2]=he(e,r)|0;else{P=u;M=c[P+4>>2]|0;R=s;c[R>>2]=c[P>>2];c[R+4>>2]=M;c[v>>2]=287}M=c[j>>2]|0;c[h>>2]=O;c[E>>2]=(a[O+4>>0]|64)&255;O=Ke(M,h,h)|0;c[F>>2]=-1;c[G>>2]=-1;c[i>>2]=4;c[H>>2]=O;a[J>>0]=c[I>>2];b[I>>1]=Oe(L,i)|0;a[K>>0]=(c[f>>2]|0)==8?8:7;c[f>>2]=9;break}case 91:{if(!((c[f>>2]|0)==8?(c[p>>2]|0)==(c[o>>2]|0):0))Ne(k,f)|0;c[t>>2]=c[l>>2];if((c[v>>2]|0)==287)c[n>>2]=he(e,r)|0;else{L=u;O=c[L+4>>2]|0;M=s;c[M>>2]=c[L>>2];c[M+4>>2]=O;c[v>>2]=287}De(e,h,0)|0;O=c[j>>2]|0;if((c[x>>2]|0)==(c[y>>2]|0))Be(O,h);else Ne(O,h)|0;if((c[n>>2]|0)!=93){Q=32;break a}c[t>>2]=c[l>>2];if((c[v>>2]|0)==287)c[n>>2]=he(e,r)|0;else{O=u;M=c[O+4>>2]|0;L=s;c[L>>2]=c[O>>2];c[L+4>>2]=M;c[v>>2]=287}a[J>>0]=c[I>>2];b[I>>1]=Oe(k,h)|0;a[K>>0]=(c[f>>2]|0)==8?8:7;c[f>>2]=9;break}case 58:{c[t>>2]=c[l>>2];if((c[v>>2]|0)==287){M=he(e,r)|0;c[n>>2]=M;S=M}else{M=u;L=c[M>>2]|0;O=c[M+4>>2]|0;M=s;c[M>>2]=L;c[M+4>>2]=O;c[v>>2]=287;S=L}if((S|0)!=289){Q=41;break a}L=c[r>>2]|0;c[t>>2]=c[l>>2];if((c[v>>2]|0)==287)c[n>>2]=he(e,r)|0;else{O=u;M=c[O+4>>2]|0;R=s;c[R>>2]=c[O>>2];c[R+4>>2]=M;c[v>>2]=287}M=c[j>>2]|0;c[h>>2]=L;c[A>>2]=(a[L+4>>0]|64)&255;L=Ke(M,h,h)|0;c[B>>2]=-1;c[C>>2]=-1;c[i>>2]=4;c[D>>2]=L;Ze(k,f,i);_e(e,f,m);break}case 123:case 290:case 40:{Be(k,f);if(((c[f>>2]|0)==6?(L=c[q>>2]|0,(L&256|0)==0):0)?(L|0)>=(d[z>>0]|0|0):0){L=(a[w>>0]|0)+-1<<24>>24;a[w>>0]=L;T=L}else T=a[w>>0]|0;L=(T&255)+1|0;M=(c[k>>2]|0)+78|0;if((T&255)<(d[M>>0]|0))U=L&255;else{if((T&255)>248){Q=54;break a}R=L&255;a[M>>0]=R;U=R}a[w>>0]=U;Ce(k,f,(U&255)+-1|0);_e(e,f,m);break}default:{Q=58;break a}}if((Q|0)==17)je(e,289);else if((Q|0)==32)je(e,93);else if((Q|0)==41)je(e,289);else if((Q|0)==54)oe(c[k+12>>2]|0,47325);else if((Q|0)==58){Ia=g;return}}function Se(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;switch(e|0){case 26:{Ge(b,f);return}case 27:{Xe(b,f);return}case 19:{Be(b,f);if(((c[f>>2]|0)==6?(e=c[f+4>>2]|0,(e&256|0)==0):0)?(e|0)>=(d[b+46>>0]|0|0):0){e=b+48|0;a[e>>0]=(a[e>>0]|0)+-1<<24>>24}e=b+48|0;g=a[e>>0]|0;h=(g&255)+1|0;i=(c[b>>2]|0)+78|0;do if((g&255)>=(d[i>>0]|0))if((g&255)>248)oe(c[b+12>>2]|0,47325);else{j=h&255;a[i>>0]=j;k=j;break}else k=h&255;while(0);a[e>>0]=k;Ce(b,f,(k&255)+-1|0);return}case 18:case 17:case 16:case 15:case 14:case 13:case 12:case 11:case 10:case 9:case 8:case 7:case 6:case 5:case 4:case 3:case 2:case 1:case 0:{if(((c[f>>2]|0)==5?(c[f+8>>2]|0)==-1:0)?(c[f+12>>2]|0)==-1:0)return;Oe(b,f)|0;return}default:{Oe(b,f)|0;return}}}function Te(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var 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;switch(e|0){case 26:{Be(b,g);i=g+12|0;j=c[f+12>>2]|0;do if((j|0)!=-1){k=c[i>>2]|0;if((k|0)==-1){c[i>>2]=j;break}l=c[(c[b>>2]|0)+12>>2]|0;m=k;while(1){n=l+(m<<2)|0;o=c[n>>2]|0;k=(o>>>14)+-131071|0;p=(k|0)==-1?-1:m+1+k|0;if((p|0)==-1)break;else m=p}l=j+~m|0;if((((l|0)>-1?l:0-l|0)|0)>131071)oe(c[b+12>>2]|0,46981);else{c[n>>2]=(l<<14)+2147467264|o&16383;break}}while(0);c[f>>2]=c[g>>2];c[f+4>>2]=c[g+4>>2];c[f+8>>2]=c[g+8>>2];c[f+12>>2]=c[g+12>>2];return}case 27:{Be(b,g);o=g+8|0;n=c[f+8>>2]|0;do if((n|0)!=-1){j=c[o>>2]|0;if((j|0)==-1){c[o>>2]=n;break}i=c[(c[b>>2]|0)+12>>2]|0;l=j;while(1){q=i+(l<<2)|0;r=c[q>>2]|0;j=(r>>>14)+-131071|0;p=(j|0)==-1?-1:l+1+j|0;if((p|0)==-1)break;else l=p}i=n+~l|0;if((((i|0)>-1?i:0-i|0)|0)>131071)oe(c[b+12>>2]|0,46981);else{c[q>>2]=(i<<14)+2147467264|r&16383;break}}while(0);c[f>>2]=c[g>>2];c[f+4>>2]=c[g+4>>2];c[f+8>>2]=c[g+8>>2];c[f+12>>2]=c[g+12>>2];return}case 19:{if((c[g+8>>2]|0)==(c[g+12>>2]|0))Be(b,g);else Ne(b,g)|0;if((c[g>>2]|0)==11?(r=c[(c[b>>2]|0)+12>>2]|0,q=g+4|0,n=r+(c[q>>2]<<2)|0,o=c[n>>2]|0,(o&63|0)==35):0){i=f+4|0;if(((c[f>>2]|0)==6?(m=c[i>>2]|0,(m&256|0)==0):0)?(m|0)>=(d[b+46>>0]|0|0):0){m=b+48|0;a[m>>0]=(a[m>>0]|0)+-1<<24>>24;m=r+(c[q>>2]<<2)|0;s=c[m>>2]|0;t=m}else{s=o;t=n}c[t>>2]=c[i>>2]<<23|s&8388607;c[f>>2]=11;c[i>>2]=c[q>>2];return}Be(b,g);if(((c[g>>2]|0)==6?(q=c[g+4>>2]|0,(q&256|0)==0):0)?(q|0)>=(d[b+46>>0]|0|0):0){q=b+48|0;a[q>>0]=(a[q>>0]|0)+-1<<24>>24}q=b+48|0;i=a[q>>0]|0;s=(i&255)+1|0;t=(c[b>>2]|0)+78|0;do if((i&255)>=(d[t>>0]|0))if((i&255)>248)oe(c[b+12>>2]|0,47325);else{n=s&255;a[t>>0]=n;u=n;break}else u=s&255;while(0);a[q>>0]=u;Ce(b,g,(u&255)+-1|0);Ve(b,35,f,g,h);return}case 18:case 17:case 16:case 15:case 14:case 13:case 12:case 11:case 10:case 9:case 8:case 7:case 6:case 5:case 4:case 3:case 2:case 1:case 0:{Ve(b,e+13|0,f,g,h);return}case 22:case 21:case 20:{We(b,e+17|0,1,f,g);return}case 25:case 24:case 23:{We(b,e+14|0,0,f,g);return}default:return}}function Ue(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;i=Ia;Ia=Ia+48|0;j=i+24|0;k=i;l=g+4|0;if(((c[l>>2]|0)+-7|0)>>>0>=3)oe(f,57168);m=f+24|0;a:do switch(c[m>>2]|0){case 44:{c[f+16>>2]=c[f+4>>2];n=f+32|0;if((c[n>>2]|0)==287)c[m>>2]=he(f,f+28|0)|0;else{o=n;p=c[o+4>>2]|0;q=f+24|0;c[q>>2]=c[o>>2];c[q+4>>2]=p;c[n>>2]=287}c[k>>2]=g;n=k+4|0;Re(f,n);p=c[n>>2]|0;if((p|0)!=9){n=c[f+40>>2]|0;q=n+48|0;o=a[q>>0]|0;r=k+8|0;s=o&255;t=(p|0)==7;u=0;v=g;while(1){if((c[v+4>>2]|0)==9){w=v+8|0;x=w+3|0;if((p|0)==(d[x>>0]|0)?(y=w+2|0,(c[r>>2]|0)==(d[y>>0]|0)):0){a[x>>0]=7;a[y>>0]=o;z=1}else z=u;if(t?(c[r>>2]|0)==(b[w>>1]|0):0){b[w>>1]=s;A=1}else A=z}else A=u;v=c[v>>2]|0;if(!v)break;else u=A}if(A|0){le(n,(o&255)<<6|((p|0)==7?0:5)|c[r>>2]<<23)|0;u=a[q>>0]|0;v=(u&255)+1|0;s=(c[n>>2]|0)+78|0;do if((u&255)>=(d[s>>0]|0))if((u&255)>248)oe(c[n+12>>2]|0,47325);else{t=v&255;a[s>>0]=t;B=t;break}else B=v&255;while(0);a[q>>0]=B}}if(((e[(c[f+44>>2]|0)+38>>1]|0)+h|0)>200)ze(c[f+40>>2]|0,200,47316);else{Ue(f,k,h+1|0);C=f+40|0;break a}break}case 61:{v=f+4|0;s=f+16|0;c[s>>2]=c[v>>2];n=f+32|0;if((c[n>>2]|0)==287)c[m>>2]=he(f,f+28|0)|0;else{u=n;r=c[u+4>>2]|0;p=f+24|0;c[p>>2]=c[u>>2];c[p+4>>2]=r;c[n>>2]=287}De(f,j,0)|0;b:do if((c[m>>2]|0)==44){r=f+28|0;p=f+40|0;u=f+24|0;o=j+4|0;t=1;while(1){c[s>>2]=c[v>>2];if((c[n>>2]|0)==287)c[m>>2]=he(f,r)|0;else{w=n;y=c[w+4>>2]|0;x=u;c[x>>2]=c[w>>2];c[x+4>>2]=y;c[n>>2]=287}D=c[p>>2]|0;Be(D,j);if(((c[j>>2]|0)==6?(y=c[o>>2]|0,(y&256|0)==0):0)?(y|0)>=(d[D+46>>0]|0):0){y=D+48|0;a[y>>0]=(a[y>>0]|0)+-1<<24>>24}y=D+48|0;x=a[y>>0]|0;w=(x&255)+1|0;E=(c[D>>2]|0)+78|0;if((x&255)<(d[E>>0]|0))F=w&255;else{if((x&255)>248)break;x=w&255;a[E>>0]=x;F=x}a[y>>0]=F;Ce(D,j,(F&255)+-1|0);De(f,j,0)|0;y=t+1|0;if((c[m>>2]|0)==44)t=y;else{G=p;H=y;break b}}oe(c[D+12>>2]|0,47325)}else{G=f+40|0;H=1}while(0);n=c[G>>2]|0;if((H|0)!=(h|0)){Me(n,h,H,j);if((H|0)<=(h|0)){C=G;break a}v=(c[G>>2]|0)+48|0;a[v>>0]=h-H+(d[v>>0]|0);C=G;break a}switch(c[j>>2]|0){case 12:{c[j>>2]=6;v=j+4|0;c[v>>2]=(c[(c[(c[n>>2]|0)+12>>2]|0)+(c[v>>2]<<2)>>2]|0)>>>6&255;break}case 13:{v=(c[(c[n>>2]|0)+12>>2]|0)+(c[j+4>>2]<<2)|0;c[v>>2]=c[v>>2]&8388607|16777216;c[j>>2]=11;break}default:{}}Qe(n,l,j);Ia=i;return}default:je(f,61)}while(0);f=c[C>>2]|0;C=(d[f+48>>0]|0)+-1|0;c[j+8>>2]=-1;c[j+12>>2]=-1;c[j>>2]=6;c[j+4>>2]=C;Qe(f,l,j);Ia=i;return}function Ve(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;if(((((((c[f>>2]|0)==5?(c[f+8>>2]|0)==-1:0)?(c[f+12>>2]|0)==-1:0)?(c[g>>2]|0)==5:0)?(c[g+8>>2]|0)==-1:0)?(c[g+12>>2]|0)==-1:0)?(i=c[g+4>>2]|0,j=f+4|0,!((e|1|0)==17&(i|0)==0)):0){c[j>>2]=qd(e+-13|0,c[j>>2]|0,i)|0;return}if((e|2|0)==34)k=0;else k=Oe(b,g)|0;i=Oe(b,f)|0;if((i|0)>(k|0)){if(((c[f>>2]|0)==6?(j=c[f+4>>2]|0,(j&256|0)==0):0)?(j|0)>=(d[b+46>>0]|0|0):0){j=b+48|0;a[j>>0]=(a[j>>0]|0)+-1<<24>>24}if(((c[g>>2]|0)==6?(j=c[g+4>>2]|0,(j&256|0)==0):0)?(j|0)>=(d[b+46>>0]|0|0):0){j=b+48|0;a[j>>0]=(a[j>>0]|0)+-1<<24>>24}}else{if(((c[g>>2]|0)==6?(j=c[g+4>>2]|0,(j&256|0)==0):0)?(j|0)>=(d[b+46>>0]|0|0):0){j=b+48|0;a[j>>0]=(a[j>>0]|0)+-1<<24>>24}if(((c[f>>2]|0)==6?(j=c[f+4>>2]|0,(j&256|0)==0):0)?(j|0)>=(d[b+46>>0]|0|0):0){j=b+48|0;a[j>>0]=(a[j>>0]|0)+-1<<24>>24}}c[f+4>>2]=le(b,k<<14|e|i<<23)|0;c[f>>2]=11;c[(c[(c[b>>2]|0)+20>>2]|0)+((c[b+20>>2]|0)+-1<<2)>>2]=h;return}function We(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=Oe(b,g)|0;j=Oe(b,h)|0;if(((c[h>>2]|0)==6?(k=c[h+4>>2]|0,(k&256|0)==0):0)?(k|0)>=(d[b+46>>0]|0|0):0){k=b+48|0;a[k>>0]=(a[k>>0]|0)+-1<<24>>24}if(((c[g>>2]|0)==6?(k=c[g+4>>2]|0,(k&256|0)==0):0)?(k|0)>=(d[b+46>>0]|0|0):0){k=b+48|0;a[k>>0]=(a[k>>0]|0)+-1<<24>>24}k=(e|0)!=37&(f|0)==0;le(b,(k?64:f<<6)|e|(k?j:i)<<23|(k?i:j)<<14)|0;j=b+28|0;i=c[j>>2]|0;c[j>>2]=-1;j=le(b,2147450916)|0;if((i|0)==-1){l=j;m=g+4|0;c[m>>2]=l;c[g>>2]=10;return}if((j|0)==-1){l=i;m=g+4|0;c[m>>2]=l;c[g>>2]=10;return}k=c[(c[b>>2]|0)+12>>2]|0;e=j;while(1){n=k+(e<<2)|0;o=c[n>>2]|0;f=(o>>>14)+-131071|0;h=(f|0)==-1?-1:e+1+f|0;if((h|0)==-1)break;else e=h}k=i+~e|0;if((((k|0)>-1?k:0-k|0)|0)>131071)oe(c[b+12>>2]|0,46981);c[n>>2]=(k<<14)+2147467264|o&16383;l=j;m=g+4|0;c[m>>2]=l;c[g>>2]=10;return}function Xe(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;Be(b,e);f=c[e>>2]|0;a:do switch(f|0){case 10:{g=c[e+4>>2]|0;h=29;break}case 3:case 1:break;case 11:{i=c[b>>2]|0;j=e+4|0;k=c[(c[i+12>>2]|0)+(c[j>>2]<<2)>>2]|0;l=b+20|0;if((k&63|0)==33){c[l>>2]=(c[l>>2]|0)+-1;le(b,k>>>23<<6|40)|0;k=b+28|0;l=c[k>>2]|0;c[k>>2]=-1;k=le(b,2147450916)|0;if((l|0)!=-1)if((k|0)!=-1){m=c[(c[b>>2]|0)+12>>2]|0;n=k;while(1){o=m+(n<<2)|0;p=c[o>>2]|0;q=(p>>>14)+-131071|0;r=(q|0)==-1?-1:n+1+q|0;if((r|0)==-1)break;else n=r}m=l+~n|0;if((((m|0)>-1?m:0-m|0)|0)>131071)oe(c[b+12>>2]|0,46981);else{c[o>>2]=(m<<14)+2147467264|p&16383;g=k;h=29;break a}}else{s=l;h=30}else{g=k;h=29}}else{t=i;u=j;h=13}break}default:{m=e+4|0;if((f|0)==6){v=m;h=19}else{t=c[b>>2]|0;u=m;h=13}}}while(0);if((h|0)==13){f=b+48|0;p=a[f>>0]|0;o=(p&255)+1|0;m=t+78|0;do if((p&255)>=(d[m>>0]|0))if((p&255)>248)oe(c[b+12>>2]|0,47325);else{t=o&255;a[m>>0]=t;w=t;break}else w=o&255;while(0);a[f>>0]=w;Ye(b,e,(w&255)+-1|0);if((c[e>>2]|0)==6){v=u;h=19}else{x=u;h=22}}if((h|0)==19){u=c[e+4>>2]|0;if((u&256|0)==0?(u|0)>=(d[b+46>>0]|0|0):0){u=b+48|0;a[u>>0]=(a[u>>0]|0)+-1<<24>>24;x=v;h=22}else{x=v;h=22}}do if((h|0)==22){le(b,c[x>>2]<<23|32745)|0;v=b+28|0;u=c[v>>2]|0;c[v>>2]=-1;v=le(b,2147450916)|0;if((u|0)!=-1)if((v|0)!=-1){w=c[(c[b>>2]|0)+12>>2]|0;f=v;while(1){y=w+(f<<2)|0;z=c[y>>2]|0;o=(z>>>14)+-131071|0;m=(o|0)==-1?-1:f+1+o|0;if((m|0)==-1)break;else f=m}w=u+~f|0;if((((w|0)>-1?w:0-w|0)|0)>131071)oe(c[b+12>>2]|0,46981);else{c[y>>2]=(w<<14)+2147467264|z&16383;g=v;h=29;break}}else{s=u;h=30}else{g=v;h=29}}while(0);if((h|0)==29?(g|0)!=-1:0){s=g;h=30}do if((h|0)==30){g=e+8|0;z=c[g>>2]|0;if((z|0)==-1){c[g>>2]=s;break}g=c[(c[b>>2]|0)+12>>2]|0;y=z;while(1){A=g+(y<<2)|0;B=c[A>>2]|0;z=(B>>>14)+-131071|0;x=(z|0)==-1?-1:y+1+z|0;if((x|0)==-1)break;else y=x}g=s+~y|0;if((((g|0)>-1?g:0-g|0)|0)>131071)oe(c[b+12>>2]|0,46981);else{c[A>>2]=(g<<14)+2147467264|B&16383;break}}while(0);B=e+12|0;e=c[B>>2]|0;c[b+24>>2]=c[b+20>>2];A=b+28|0;if((e|0)==-1){c[B>>2]=-1;return}s=c[A>>2]|0;if((s|0)==-1){c[A>>2]=e;c[B>>2]=-1;return}A=c[(c[b>>2]|0)+12>>2]|0;h=s;while(1){C=A+(h<<2)|0;D=c[C>>2]|0;s=(D>>>14)+-131071|0;g=(s|0)==-1?-1:h+1+s|0;if((g|0)==-1)break;else h=g}A=e+~h|0;if((((A|0)>-1?A:0-A|0)|0)>131071)oe(c[b+12>>2]|0,46981);c[C>>2]=(A<<14)+2147467264|D&16383;c[B>>2]=-1;return}function Ye(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=Ia;Ia=Ia+16|0;g=f+8|0;h=f;Be(b,d);i=c[d>>2]|0;a:do switch(i|0){case 1:{j=e+1|0;k=c[b+20>>2]|0;do if((k|0)>(c[b+24>>2]|0)?(l=(c[(c[b>>2]|0)+12>>2]|0)+(k+-1<<2)|0,m=c[l>>2]|0,(m&63|0)==4):0){n=m>>>6&255;o=n+(m>>>23)|0;if((n|0)>(e|0)|(o+1|0)<(e|0)?(n|0)<(e|0)|(n|0)>(j|0):0)break;p=(n|0)<(e|0)?n:e;c[l>>2]=p<<6&16320|m&8372287|((o|0)>(e|0)?o:e)-p<<23;break a}while(0);le(b,e<<6|4)|0;break}case 2:case 3:{le(b,e<<6|((i|0)==2&1)<<23|3)|0;break}case 4:{j=c[d+4>>2]|0;k=e<<6;if((j|0)<262144){le(b,k|j<<14|1)|0;break a}else{le(b,k|2)|0;le(b,j<<6|52)|0;break a}break}case 5:{j=c[d+4>>2]|0;c[g>>2]=j;k=c[(c[b+12>>2]|0)+44>>2]|0;c[h>>2]=j;c[h+4>>2]=3;if(!j){j=k+8|0;p=c[j>>2]|0;c[j>>2]=p+8;o=$c(k,g,4)|0;c[p>>2]=o;c[p+4>>2]=(a[o+4>>0]|64)&255;o=Ke(b,(c[j>>2]|0)+-8|0,h)|0;c[j>>2]=(c[j>>2]|0)+-8;q=o}else q=Ke(b,h,h)|0;o=e<<6;if((q|0)<262144){le(b,o|q<<14|1)|0;break a}else{le(b,o|2)|0;le(b,q<<6|52)|0;break a}break}case 11:{o=(c[(c[b>>2]|0)+12>>2]|0)+(c[d+4>>2]<<2)|0;c[o>>2]=c[o>>2]&-16321|e<<6&16320;break}case 6:{o=c[d+4>>2]|0;if((o|0)!=(e|0))le(b,o<<23|e<<6)|0;break}default:{Ia=f;return}}while(0);c[d+4>>2]=e;c[d>>2]=6;Ia=f;return}function Ze(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;Ne(b,e)|0;g=e+4|0;h=c[g>>2]|0;if((c[e>>2]|0)==6&(h&256|0)==0?(h|0)>=(d[b+46>>0]|0|0):0){i=b+48|0;a[i>>0]=(a[i>>0]|0)+-1<<24>>24}i=b+48|0;c[g>>2]=d[i>>0];c[e>>2]=6;e=(d[i>>0]|0)+2|0;j=(c[b>>2]|0)+78|0;do if(e>>>0>(d[j>>0]|0)>>>0)if(e>>>0>249)oe(c[b+12>>2]|0,47325);else{k=e&255;a[j>>0]=k;l=k;break}else l=e&255;while(0);a[i>>0]=l;l=c[g>>2]|0;le(b,h<<23|l<<6|(Oe(b,f)|0)<<14|12)|0;if((c[f>>2]|0)!=6)return;l=c[f+4>>2]|0;if(l&256|0)return;if((l|0)<(d[b+46>>0]|0|0))return;a[i>>0]=(a[i>>0]|0)+-1<<24>>24;return}function _e(b,e,f){b=b|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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;g=Ia;Ia=Ia+32|0;h=g+16|0;i=g;j=b+40|0;k=c[j>>2]|0;l=b+24|0;a:do switch(c[l>>2]|0){case 40:{m=b+4|0;n=b+16|0;c[n>>2]=c[m>>2];o=b+32|0;if((c[o>>2]|0)==287){p=he(b,b+28|0)|0;c[l>>2]=p;q=p}else{p=o;r=c[p>>2]|0;s=c[p+4>>2]|0;p=b+24|0;c[p>>2]=r;c[p+4>>2]=s;c[o>>2]=287;q=r}b:do if((q|0)==41)c[i>>2]=0;else{De(b,i,0)|0;c:do if((c[l>>2]|0)==44){r=b+28|0;s=b+24|0;p=i+4|0;while(1){c[n>>2]=c[m>>2];if((c[o>>2]|0)==287)c[l>>2]=he(b,r)|0;else{t=o;u=c[t+4>>2]|0;v=s;c[v>>2]=c[t>>2];c[v+4>>2]=u;c[o>>2]=287}w=c[j>>2]|0;Be(w,i);if(((c[i>>2]|0)==6?(u=c[p>>2]|0,(u&256|0)==0):0)?(u|0)>=(d[w+46>>0]|0|0):0){u=w+48|0;a[u>>0]=(a[u>>0]|0)+-1<<24>>24}u=w+48|0;v=a[u>>0]|0;t=(v&255)+1|0;x=(c[w>>2]|0)+78|0;if((v&255)<(d[x>>0]|0))y=t&255;else{if((v&255)>248)break;v=t&255;a[x>>0]=v;y=v}a[u>>0]=y;Ce(w,i,(y&255)+-1|0);De(b,i,0)|0;if((c[l>>2]|0)!=44){z=i;break c}}oe(c[w+12>>2]|0,47325)}else z=i;while(0);switch(c[z>>2]|0){case 12:{p=(c[(c[k>>2]|0)+12>>2]|0)+(c[i+4>>2]<<2)|0;c[p>>2]=c[p>>2]&-8372225;break b;break}case 13:break;default:break b}p=c[k>>2]|0;s=c[p+12>>2]|0;r=i+4|0;u=s+(c[r>>2]<<2)|0;c[u>>2]=c[u>>2]&8388607;u=s+(c[r>>2]<<2)|0;r=k+48|0;s=a[r>>0]|0;v=s&255;c[u>>2]=v<<6|c[u>>2]&-16321;u=v+1|0;v=p+78|0;do if((s&255)>=(d[v>>0]|0))if((s&255)>248)oe(c[k+12>>2]|0,47325);else{p=u&255;a[v>>0]=p;A=p;break}else A=u&255;while(0);a[r>>0]=A}while(0);Ee(b,41,40,f);break}case 123:{$e(b,i);break}case 290:{o=b+28|0;m=c[o>>2]|0;c[h>>2]=m;c[h+4>>2]=(a[m+4>>0]|64)&255;m=Ke(k,h,h)|0;c[i+8>>2]=-1;c[i+12>>2]=-1;c[i>>2]=4;c[i+4>>2]=m;c[b+16>>2]=c[b+4>>2];m=b+32|0;if((c[m>>2]|0)==287){c[l>>2]=he(b,o)|0;break a}else{o=m;n=c[o+4>>2]|0;u=b+24|0;c[u>>2]=c[o>>2];c[u+4>>2]=n;c[m>>2]=287;break a}break}default:oe(b,47538)}while(0);b=e+4|0;l=c[b>>2]|0;switch(c[i>>2]|0){case 0:{B=k+48|0;break}case 13:case 12:{C=0;D=l<<6;E=D|C;F=E|32810;G=le(k,F)|0;H=e+8|0;c[H>>2]=-1;I=e+12|0;c[I>>2]=-1;c[e>>2]=12;c[b>>2]=G;J=c[k>>2]|0;K=J+20|0;L=c[K>>2]|0;M=k+20|0;N=c[M>>2]|0;O=N+-1|0;P=L+(O<<2)|0;c[P>>2]=f;Q=l+1|0;R=Q&255;S=k+48|0;a[S>>0]=R;Ia=g;return}default:{Be(k,i);if(((c[i>>2]|0)==6?(h=c[i+4>>2]|0,(h&256|0)==0):0)?(h|0)>=(d[k+46>>0]|0|0):0){h=k+48|0;a[h>>0]=(a[h>>0]|0)+-1<<24>>24}h=k+48|0;A=a[h>>0]|0;z=(A&255)+1|0;w=(c[k>>2]|0)+78|0;do if((A&255)>=(d[w>>0]|0))if((A&255)>248)oe(c[k+12>>2]|0,47325);else{y=z&255;a[w>>0]=y;T=y;break}else T=z&255;while(0);a[h>>0]=T;Ce(k,i,(T&255)+-1|0);B=h}}C=((l^511)+(d[B>>0]|0)<<23)+8388608|0;D=l<<6;E=D|C;F=E|32810;G=le(k,F)|0;H=e+8|0;c[H>>2]=-1;I=e+12|0;c[I>>2]=-1;c[e>>2]=12;c[b>>2]=G;J=c[k>>2]|0;K=J+20|0;L=c[K>>2]|0;M=k+20|0;N=c[M>>2]|0;O=N+-1|0;P=L+(O<<2)|0;c[P>>2]=f;Q=l+1|0;R=Q&255;S=k+48|0;a[S>>0]=R;Ia=g;return}function $e(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;f=Ia;Ia=Ia+32|0;g=f;h=b+40|0;i=c[h>>2]|0;j=b+4|0;k=c[j>>2]|0;l=le(i,11)|0;m=g+28|0;c[m>>2]=0;n=g+20|0;c[n>>2]=0;o=g+24|0;c[o>>2]=0;p=g+16|0;c[p>>2]=e;c[e+8>>2]=-1;c[e+12>>2]=-1;c[e>>2]=11;q=e+4|0;c[q>>2]=l;c[g+8>>2]=-1;c[g+12>>2]=-1;c[g>>2]=0;r=g+4|0;c[r>>2]=0;s=c[h>>2]|0;Be(s,e);if(((c[e>>2]|0)==6?(t=c[q>>2]|0,(t&256|0)==0):0)?(t|0)>=(d[s+46>>0]|0|0):0){t=s+48|0;a[t>>0]=(a[t>>0]|0)+-1<<24>>24}t=s+48|0;q=a[t>>0]|0;u=(q&255)+1|0;v=(c[s>>2]|0)+78|0;do if((q&255)>=(d[v>>0]|0))if((q&255)>248)oe(c[s+12>>2]|0,47325);else{w=u&255;a[v>>0]=w;x=w;break}else x=u&255;while(0);a[t>>0]=x;Ce(s,e,(x&255)+-1|0);x=b+24|0;if((c[x>>2]|0)!=123)je(b,123);e=b+16|0;c[e>>2]=c[j>>2];s=b+32|0;if((c[s>>2]|0)==287){t=he(b,b+28|0)|0;c[x>>2]=t;y=t}else{t=s;u=c[t>>2]|0;v=c[t+4>>2]|0;t=b+24|0;c[t>>2]=u;c[t+4>>2]=v;c[s>>2]=287;y=u}a:do if((y|0)!=125){u=b+36|0;v=b+32|0;t=i+48|0;q=i+46|0;w=b+28|0;z=b+24|0;A=0;b:while(1){if(A|0){Be(i,g);if(((c[g>>2]|0)==6?(B=c[r>>2]|0,(B&256|0)==0):0)?(B|0)>=(d[q>>0]|0|0):0){B=(a[t>>0]|0)+-1<<24>>24;a[t>>0]=B;C=B}else C=a[t>>0]|0;B=(C&255)+1|0;D=(c[i>>2]|0)+78|0;if((C&255)<(d[D>>0]|0))E=B&255;else{if((C&255)>248){F=28;break}G=B&255;a[D>>0]=G;E=G}a[t>>0]=E;Ce(i,g,(E&255)+-1|0);c[g>>2]=0;if((c[m>>2]|0)==50){G=c[(c[p>>2]|0)+4>>2]|0;D=c[o>>2]|0;B=((D+-1|0)/50|0)+1|0;H=G<<6|419430449;if((D|0)<25551)le(i,B<<14|H)|0;else{le(i,H)|0;le(i,B<<6|52)|0}a[t>>0]=G+1;c[m>>2]=0}}c:do switch(c[x>>2]|0){case 289:{G=he(b,u)|0;c[v>>2]=G;if((G|0)==61){af(b,g);break c}De(b,g,0)|0;G=c[o>>2]|0;if((G|0)>2147483645){F=38;break b}c[o>>2]=G+1;c[m>>2]=(c[m>>2]|0)+1;break}case 91:{af(b,g);break}default:{De(b,g,0)|0;G=c[o>>2]|0;if((G|0)>2147483645){F=43;break b}c[o>>2]=G+1;c[m>>2]=(c[m>>2]|0)+1}}while(0);d:do switch(c[x>>2]|0){case 44:{c[e>>2]=c[j>>2];if((c[s>>2]|0)==287){G=he(b,w)|0;c[x>>2]=G;I=G;break d}else{G=s;B=c[G>>2]|0;H=c[G+4>>2]|0;G=z;c[G>>2]=B;c[G+4>>2]=H;c[s>>2]=287;I=B;break d}break}case 59:{c[e>>2]=c[j>>2];if((c[s>>2]|0)==287){B=he(b,w)|0;c[x>>2]=B;I=B;break d}else{B=s;H=c[B>>2]|0;G=c[B+4>>2]|0;B=z;c[B>>2]=H;c[B+4>>2]=G;c[s>>2]=287;I=H;break d}break}default:break a}while(0);if((I|0)==125)break a;A=c[g>>2]|0}if((F|0)==28)oe(c[i+12>>2]|0,47325);else if((F|0)==38)ze(c[h>>2]|0,2147483645,47566);else if((F|0)==43)ze(c[h>>2]|0,2147483645,47566)}while(0);Ee(b,125,123,k);k=c[m>>2]|0;do if(k|0){switch(c[g>>2]|0){case 0:{J=k;F=75;break}case 12:{b=(c[(c[i>>2]|0)+12>>2]|0)+(c[r>>2]<<2)|0;c[b>>2]=c[b>>2]&-8372225;F=61;break}case 13:{b=c[i>>2]|0;h=c[b+12>>2]|0;I=h+(c[r>>2]<<2)|0;c[I>>2]=c[I>>2]&8388607;I=h+(c[r>>2]<<2)|0;h=i+48|0;s=a[h>>0]|0;x=s&255;c[I>>2]=x<<6|c[I>>2]&-16321;I=x+1|0;x=b+78|0;do if((s&255)>=(d[x>>0]|0))if((s&255)>248)oe(c[i+12>>2]|0,47325);else{b=I&255;a[x>>0]=b;K=b;break}else K=I&255;while(0);a[h>>0]=K;F=61;break}default:{Be(i,g);if(((c[g>>2]|0)==6?(I=c[r>>2]|0,(I&256|0)==0):0)?(I|0)>=(d[i+46>>0]|0|0):0){I=i+48|0;a[I>>0]=(a[I>>0]|0)+-1<<24>>24}I=i+48|0;x=a[I>>0]|0;s=(x&255)+1|0;b=(c[i>>2]|0)+78|0;do if((x&255)>=(d[b>>0]|0))if((x&255)>248)oe(c[i+12>>2]|0,47325);else{j=s&255;a[b>>0]=j;L=j;break}else L=s&255;while(0);a[I>>0]=L;Ce(i,g,(L&255)+-1|0);J=c[m>>2]|0;F=75}}if((F|0)==61){s=c[(c[p>>2]|0)+4>>2]|0;b=c[o>>2]|0;x=((b+-1|0)/50|0)+1|0;h=s<<6|49;if((b|0)<25551)le(i,x<<14|h)|0;else{le(i,h)|0;le(i,x<<6|52)|0}a[i+48>>0]=s+1;c[o>>2]=(c[o>>2]|0)+-1;break}else if((F|0)==75){s=c[(c[p>>2]|0)+4>>2]|0;x=c[o>>2]|0;h=((x+-1|0)/50|0)+1|0;b=((J|0)==-1?49:J<<23|49)|s<<6;if((x|0)<25551)le(i,h<<14|b)|0;else{le(i,b)|0;le(i,h<<6|52)|0}a[i+48>>0]=s+1;break}}while(0);J=(c[(c[i>>2]|0)+12>>2]|0)+(l<<2)|0;l=c[J>>2]&8388607;i=c[o>>2]|0;if(i>>>0<8)M=i;else{if(i>>>0>15){o=1;p=i;do{F=p+1|0;p=F>>>1;o=o+1|0}while(F>>>0>31);N=o<<3;O=p}else{N=8;O=i}M=N|O+-8}O=M<<23|l;c[J>>2]=O;l=O&-8372225;O=c[n>>2]|0;if(O>>>0<8){P=O;Q=P<<14;R=Q&8372224;S=R|l;c[J>>2]=S;Ia=f;return}if(O>>>0>15){n=1;M=O;do{N=M+1|0;M=N>>>1;n=n+1|0}while(N>>>0>31);T=n<<3;U=M}else{T=8;U=O}P=T|U+-8;Q=P<<14;R=Q&8372224;S=R|l;c[J>>2]=S;Ia=f;return}function af(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;e=Ia;Ia=Ia+48|0;f=e+32|0;g=e+16|0;h=e;i=b+40|0;j=c[i>>2]|0;k=j+48|0;l=a[k>>0]|0;m=b+24|0;do if((c[m>>2]|0)!=289){n=b+4|0;o=b+16|0;c[o>>2]=c[n>>2];p=b+32|0;if((c[p>>2]|0)==287)c[m>>2]=he(b,b+28|0)|0;else{q=p;r=c[q+4>>2]|0;s=b+24|0;c[s>>2]=c[q>>2];c[s+4>>2]=r;c[p>>2]=287}De(b,g,0)|0;r=c[i>>2]|0;if((c[g+8>>2]|0)==(c[g+12>>2]|0))Be(r,g);else Ne(r,g)|0;if((c[m>>2]|0)!=93)je(b,93);c[o>>2]=c[n>>2];if((c[p>>2]|0)==287){n=he(b,b+28|0)|0;c[m>>2]=n;t=n;break}else{n=p;o=c[n>>2]|0;r=c[n+4>>2]|0;n=b+24|0;c[n>>2]=o;c[n+4>>2]=r;c[p>>2]=287;t=o;break}}else{if((c[d+20>>2]|0)>2147483645)ze(j,2147483645,47566);o=b+28|0;p=c[o>>2]|0;c[b+16>>2]=c[b+4>>2];r=b+32|0;if((c[r>>2]|0)==287){c[m>>2]=he(b,o)|0;u=c[i>>2]|0}else{o=r;n=c[o+4>>2]|0;s=b+24|0;c[s>>2]=c[o>>2];c[s+4>>2]=n;c[r>>2]=287;u=j}c[f>>2]=p;c[f+4>>2]=(a[p+4>>0]|64)&255;p=Ke(u,f,f)|0;c[g+8>>2]=-1;c[g+12>>2]=-1;c[g>>2]=4;c[g+4>>2]=p;t=c[m>>2]|0}while(0);f=d+20|0;c[f>>2]=(c[f>>2]|0)+1;if((t|0)!=61)je(b,61);c[b+16>>2]=c[b+4>>2];t=b+32|0;if((c[t>>2]|0)==287){c[m>>2]=he(b,b+28|0)|0;v=Oe(j,g)|0;De(b,h,0)|0;w=d+16|0;x=c[w>>2]|0;y=x+4|0;z=c[y>>2]|0;A=Oe(j,h)|0;B=z<<6;C=v<<23;D=A<<14;E=C|B;F=E|D;G=F|10;le(j,G)|0;a[k>>0]=l;Ia=e;return}else{m=t;f=c[m+4>>2]|0;u=b+24|0;c[u>>2]=c[m>>2];c[u+4>>2]=f;c[t>>2]=287;v=Oe(j,g)|0;De(b,h,0)|0;w=d+16|0;x=c[w>>2]|0;y=x+4|0;z=c[y>>2]|0;A=Oe(j,h)|0;B=z<<6;C=v<<23;D=A<<14;E=C|B;F=E|D;G=F|10;le(j,G)|0;a[k>>0]=l;Ia=e;return}}function bf(b,e,f,g){b=b|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,o=0,p=0,q=0,r=0,s=0,t=0,u=0;h=Ia;Ia=Ia+16|0;i=h;c[i+12>>2]=-1;c[i+8>>2]=-1;c[i>>2]=5;c[i+4>>2]=0;switch(e|0){case 0:{if(((c[f>>2]|0)==5?(c[f+8>>2]|0)==-1:0)?(c[f+12>>2]|0)==-1:0){e=f+4|0;c[e>>2]=0-(c[e>>2]|0);Ia=h;return}Ne(b,f)|0;Ve(b,32,f,i,g);Ia=h;return}case 14:{Ne(b,f)|0;Ve(b,27,f,i,g);Ia=h;return}case 16:{Ne(b,f)|0;Ve(b,29,f,i,g);Ia=h;return}case 17:{Ne(b,f)|0;Ve(b,30,f,i,g);Ia=h;return}case 18:{Ne(b,f)|0;Ve(b,31,f,i,g);Ia=h;return}case 1:{Be(b,f);switch(c[f>>2]|0){case 3:case 1:{c[f>>2]=2;break}case 2:case 5:case 4:{c[f>>2]=3;break}case 10:{e=c[f+4>>2]|0;j=(c[(c[b>>2]|0)+12>>2]|0)+(e<<2)|0;if((e|0)>0?(e=j+-4|0,k=c[e>>2]|0,((k&63)+-37|0)>>>0<5):0){l=k;m=e}else{l=c[j>>2]|0;m=j}c[m>>2]=((l&16320|0)==0&1)<<6|l&-16321;break}case 6:{n=25;break}case 11:{l=b+48|0;m=a[l>>0]|0;j=(m&255)+1|0;e=(c[b>>2]|0)+78|0;do if((m&255)>=(d[e>>0]|0))if((m&255)>248)oe(c[b+12>>2]|0,47325);else{k=j&255;a[e>>0]=k;o=k;break}else o=j&255;while(0);a[l>>0]=o;Ye(b,f,(o&255)+-1|0);if((c[f>>2]|0)==6)n=25;else{p=f+4|0;n=28}break}default:{}}if((n|0)==25){o=f+4|0;l=c[o>>2]|0;if((l&256|0)==0?(l|0)>=(d[b+46>>0]|0|0):0){l=b+48|0;a[l>>0]=(a[l>>0]|0)+-1<<24>>24;p=o;n=28}else{p=o;n=28}}if((n|0)==28){c[p>>2]=le(b,c[p>>2]<<23|33)|0;c[f>>2]=11}p=f+12|0;n=c[p>>2]|0;o=f+8|0;l=c[o>>2]|0;c[p>>2]=l;c[o>>2]=n;if((l|0)==-1)q=n;else{n=c[(c[b>>2]|0)+12>>2]|0;p=l;do{l=n+(p<<2)|0;if((p|0)>0?(j=l+-4|0,e=c[j>>2]|0,((e&63)+-37|0)>>>0<5):0){r=e;s=j}else{r=c[l>>2]|0;s=l}if((r&63|0)==41)c[s>>2]=r&8372224|r>>>23<<6|40;j=((c[l>>2]|0)>>>14)+-131071|0;p=(j|0)==-1?-1:p+1+j|0}while((p|0)!=-1);q=c[o>>2]|0}if((q|0)==-1){Ia=h;return}o=c[(c[b>>2]|0)+12>>2]|0;p=q;do{q=o+(p<<2)|0;if((p|0)>0?(r=q+-4|0,s=c[r>>2]|0,((s&63)+-37|0)>>>0<5):0){t=s;u=r}else{t=c[q>>2]|0;u=q}if((t&63|0)==41)c[u>>2]=t&8372224|t>>>23<<6|40;r=((c[q>>2]|0)>>>14)+-131071|0;p=(r|0)==-1?-1:p+1+r|0}while((p|0)!=-1);Ia=h;return}case 2:{Ne(b,f)|0;Ve(b,34,f,i,g);Ia=h;return}default:{Ia=h;return}}}function cf(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;if(!e){i=0;return i|0}j=a[e+46>>0]|0;k=f+12|0;l=(j&255)+-1|0;m=c[e>>2]|0;a:do if(j<<24>>24){n=c[e+40>>2]|0;o=c[m+24>>2]|0;p=c[c[(c[e+12>>2]|0)+56>>2]>>2]|0;q=a[f+4>>0]|0;r=f+16|0;b:do if(q<<24>>24==4){s=l;while(1){t=c[o+((b[p+(s+n<<1)>>1]|0)*12|0)>>2]|0;if((t|0)==(f|0)&(a[t+4>>0]|0)==4){u=s;break b}if((s|0)>0)s=s+-1|0;else break a}}else{s=l;while(1){t=c[o+((b[p+(s+n<<1)>>1]|0)*12|0)>>2]|0;if(q<<24>>24==(a[t+4>>0]|0)){v=c[k>>2]|0;if((t|0)==(f|0)){u=s;break b}if((v|0)==(c[t+12>>2]|0)?(ft(r,t+16|0,v)|0)==0:0){u=s;break b}}if((s|0)>0)s=s+-1|0;else break a}}while(0);if((u|0)>-1){c[g+8>>2]=-1;c[g+12>>2]=-1;c[g>>2]=7;c[g+4>>2]=u;if(h|0){i=7;return i|0}r=e+16|0;do r=c[r>>2]|0;while((u|0)<(d[r+8>>0]|0));a[r+9>>0]=1;i=7;return i|0}}while(0);u=c[m+28>>2]|0;m=a[e+47>>0]|0;c:do if(!(m<<24>>24))w=29;else{h=a[f+4>>0]|0;l=f+16|0;j=m&255;if(h<<24>>24==4){q=0;while(1){n=c[u+(q<<3)>>2]|0;if((a[n+4>>0]|0)==4&(n|0)==(f|0)){x=q;break c}q=q+1|0;if(q>>>0>=j>>>0){w=29;break c}}}q=0;while(1){r=c[u+(q<<3)>>2]|0;if((a[r+4>>0]|0)==h<<24>>24){n=c[r+12>>2]|0;if((r|0)==(f|0)){x=q;break c}if((n|0)==(c[k>>2]|0)?(ft(r+16|0,l,n)|0)==0:0){x=q;break c}}q=q+1|0;if(q>>>0>=j>>>0){w=29;break}}}while(0);do if((w|0)==29)if(!(cf(c[e+8>>2]|0,f,g,0)|0)){i=0;return i|0}else{x=ge(e,f,g)|0;break}while(0);c[g+8>>2]=-1;c[g+12>>2]=-1;c[g>>2]=8;c[g+4>>2]=x;i=8;return i|0}function df(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;b=Ia;Ia=Ia+16|0;e=b;f=c[a>>2]|0;g=a+48|0;h=c[g>>2]|0;i=c[h>>2]|0;c[h>>2]=i+-1;if(!i){i=Oa[c[h+8>>2]&7](c[h+16>>2]|0,c[h+12>>2]|0,e)|0;j=c[e>>2]|0;if((i|0)==0|(j|0)==0)k=-1;else{c[h>>2]=j+-1;c[h+4>>2]=i+1;k=d[i>>0]|0}l=k}else{k=h+4|0;h=c[k>>2]|0;c[k>>2]=h+1;l=d[h>>0]|0}c[a>>2]=l;switch(l|0){case 13:case 10:{if((l|0)!=(f|0)){f=c[g>>2]|0;g=c[f>>2]|0;c[f>>2]=g+-1;if(!g){g=Oa[c[f+8>>2]&7](c[f+16>>2]|0,c[f+12>>2]|0,e)|0;l=c[e>>2]|0;if((g|0)==0|(l|0)==0)m=-1;else{c[f>>2]=l+-1;c[f+4>>2]=g+1;m=d[g>>0]|0}n=m}else{m=f+4|0;f=c[m>>2]|0;c[m>>2]=f+1;n=d[f>>0]|0}c[a>>2]=n}break}default:{}}n=a+4|0;f=c[n>>2]|0;c[n>>2]=f+1;if((f|0)>2147483643)oe(a,48010);else{c[a+8>>2]=1;Ia=b;return}}function ef(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;e=Ia;Ia=Ia+16|0;f=e;g=c[b>>2]|0;h=b+52|0;i=c[h>>2]|0;j=i+4|0;k=c[j>>2]|0;l=k+1|0;m=i+8|0;n=c[m>>2]|0;if(l>>>0>n>>>0){if(n>>>0>2147483645)xe(b,47209,0);o=n<<1;p=c[b+44>>2]|0;if((o|0)==-2)Jc(p);q=c[i>>2]|0;r=c[p+12>>2]|0;s=(q|0)==0;t=r+4|0;u=Pa[c[r>>2]&3](c[t>>2]|0,q,n,o)|0;if((o|0)!=0&(u|0)==0){if(!(a[r+51>>0]|0))wc(p,4);Ic(p,1);v=Pa[c[r>>2]&3](c[t>>2]|0,q,n,o)|0;if(!v)wc(p,4);else w=v}else w=u;u=r+12|0;c[u>>2]=(s?0:0-n|0)+o+(c[u>>2]|0);c[i>>2]=w;c[m>>2]=o;o=c[j>>2]|0;x=w;y=o;z=o+1|0}else{x=c[i>>2]|0;y=k;z=l}c[j>>2]=z;a[x+y>>0]=g;y=b+48|0;x=c[y>>2]|0;z=c[x>>2]|0;c[x>>2]=z+-1;if(!z){z=Oa[c[x+8>>2]&7](c[x+16>>2]|0,c[x+12>>2]|0,f)|0;j=c[f>>2]|0;if((z|0)==0|(j|0)==0)A=-1;else{c[x>>2]=j+-1;c[x+4>>2]=z+1;A=d[z>>0]|0}B=A}else{A=x+4|0;x=c[A>>2]|0;c[A>>2]=x+1;B=d[x>>0]|0}c[b>>2]=B;if((B|0)!=61){C=B;D=0;E=(C|0)!=(g|0);F=E<<31>>31;G=D^F;Ia=e;return G|0}B=b+44|0;x=0;while(1){A=c[h>>2]|0;z=A+4|0;j=c[z>>2]|0;l=j+1|0;k=A+8|0;i=c[k>>2]|0;if(l>>>0>i>>>0){if(i>>>0>2147483645){H=22;break}o=i<<1;I=c[B>>2]|0;if((o|0)==-2){H=24;break}w=c[A>>2]|0;m=c[I+12>>2]|0;u=(w|0)==0;n=m+4|0;s=Pa[c[m>>2]&3](c[n>>2]|0,w,i,o)|0;if((o|0)!=0&(s|0)==0){if(!(a[m+51>>0]|0)){H=28;break}Ic(I,1);r=Pa[c[m>>2]&3](c[n>>2]|0,w,i,o)|0;if(!r){H=28;break}else J=r}else J=s;s=m+12|0;c[s>>2]=(u?0:0-i|0)+o+(c[s>>2]|0);c[A>>2]=J;c[k>>2]=o;o=c[z>>2]|0;K=J;L=o;M=o+1|0}else{K=c[A>>2]|0;L=j;M=l}c[z>>2]=M;a[K+L>>0]=61;z=c[y>>2]|0;l=c[z>>2]|0;c[z>>2]=l+-1;if(!l){l=Oa[c[z+8>>2]&7](c[z+16>>2]|0,c[z+12>>2]|0,f)|0;j=c[f>>2]|0;if((l|0)==0|(j|0)==0)N=-1;else{c[z>>2]=j+-1;c[z+4>>2]=l+1;N=d[l>>0]|0}O=N}else{l=z+4|0;z=c[l>>2]|0;c[l>>2]=z+1;O=d[z>>0]|0}c[b>>2]=O;z=x+1|0;if((O|0)==61)x=z;else{C=O;D=z;H=36;break}}if((H|0)==22)xe(b,47209,0);else if((H|0)==24)Jc(I);else if((H|0)==28)wc(I,4);else if((H|0)==36){E=(C|0)!=(g|0);F=E<<31>>31;G=D^F;Ia=e;return G|0}return 0}function ff(b,e,f){b=b|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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;g=Ia;Ia=Ia+16|0;h=g;i=c[b>>2]|0;j=b+52|0;k=c[j>>2]|0;l=k+4|0;m=c[l>>2]|0;n=m+1|0;o=k+8|0;p=c[o>>2]|0;if(n>>>0>p>>>0){if(p>>>0>2147483645)xe(b,47209,0);q=p<<1;r=c[b+44>>2]|0;if((q|0)==-2)Jc(r);s=c[k>>2]|0;t=c[r+12>>2]|0;u=(s|0)==0;v=t+4|0;w=Pa[c[t>>2]&3](c[v>>2]|0,s,p,q)|0;if((q|0)!=0&(w|0)==0){if(!(a[t+51>>0]|0))wc(r,4);Ic(r,1);x=Pa[c[t>>2]&3](c[v>>2]|0,s,p,q)|0;if(!x)wc(r,4);else y=x}else y=w;w=t+12|0;c[w>>2]=(u?0:0-p|0)+q+(c[w>>2]|0);c[k>>2]=y;c[o>>2]=q;q=c[l>>2]|0;z=y;A=q;B=q+1|0}else{z=c[k>>2]|0;A=m;B=n}c[l>>2]=B;a[z+A>>0]=i;i=b+48|0;A=c[i>>2]|0;z=c[A>>2]|0;c[A>>2]=z+-1;if(!z){z=Oa[c[A+8>>2]&7](c[A+16>>2]|0,c[A+12>>2]|0,h)|0;B=c[h>>2]|0;if((z|0)==0|(B|0)==0)C=-1;else{c[A>>2]=B+-1;c[A+4>>2]=z+1;C=d[z>>0]|0}D=C}else{C=A+4|0;A=c[C>>2]|0;c[C>>2]=A+1;D=d[A>>0]|0}c[b>>2]=D;switch(D|0){case 13:case 10:{df(b);break}default:{}}D=(e|0)==0;A=b+44|0;a:while(1){C=c[b>>2]|0;b:do switch(C|0){case -1:{E=21;break a;break}case 93:{if((ef(b)|0)==(f|0)){E=23;break a}break}case 13:case 10:{z=c[j>>2]|0;B=z+4|0;l=c[B>>2]|0;n=l+1|0;m=z+8|0;k=c[m>>2]|0;if(n>>>0>k>>>0){if(k>>>0>2147483645){E=43;break a}q=k<<1;F=c[A>>2]|0;if((q|0)==-2){E=45;break a}y=c[z>>2]|0;o=c[F+12>>2]|0;w=(y|0)==0;p=o+4|0;u=Pa[c[o>>2]&3](c[p>>2]|0,y,k,q)|0;if((q|0)!=0&(u|0)==0){if(!(a[o+51>>0]|0)){E=49;break a}Ic(F,1);t=Pa[c[o>>2]&3](c[p>>2]|0,y,k,q)|0;if(!t){E=49;break a}else G=t}else G=u;u=o+12|0;c[u>>2]=(w?0:0-k|0)+q+(c[u>>2]|0);c[z>>2]=G;c[m>>2]=q;q=c[B>>2]|0;H=G;I=q;J=q+1|0}else{H=c[z>>2]|0;I=l;J=n}c[B>>2]=J;a[H+I>>0]=10;df(b);if(D)c[(c[j>>2]|0)+4>>2]=0;break}default:{if(D){B=c[i>>2]|0;n=c[B>>2]|0;c[B>>2]=n+-1;if(!n){n=Oa[c[B+8>>2]&7](c[B+16>>2]|0,c[B+12>>2]|0,h)|0;l=c[h>>2]|0;if((n|0)==0|(l|0)==0)K=-1;else{c[B>>2]=l+-1;c[B+4>>2]=n+1;K=d[n>>0]|0}L=K}else{n=B+4|0;B=c[n>>2]|0;c[n>>2]=B+1;L=d[B>>0]|0}c[b>>2]=L;break b}B=c[j>>2]|0;n=B+4|0;l=c[n>>2]|0;z=l+1|0;q=B+8|0;m=c[q>>2]|0;if(z>>>0>m>>>0){if(m>>>0>2147483645){E=58;break a}u=m<<1;M=c[A>>2]|0;if((u|0)==-2){E=60;break a}k=c[B>>2]|0;w=c[M+12>>2]|0;o=(k|0)==0;t=w+4|0;y=Pa[c[w>>2]&3](c[t>>2]|0,k,m,u)|0;if((u|0)!=0&(y|0)==0){if(!(a[w+51>>0]|0)){E=64;break a}Ic(M,1);p=Pa[c[w>>2]&3](c[t>>2]|0,k,m,u)|0;if(!p){E=64;break a}else N=p}else N=y;y=w+12|0;c[y>>2]=(o?0:0-m|0)+u+(c[y>>2]|0);c[B>>2]=N;c[q>>2]=u;u=c[n>>2]|0;O=N;P=u;Q=u+1|0}else{O=c[B>>2]|0;P=l;Q=z}c[n>>2]=Q;a[O+P>>0]=C;n=c[i>>2]|0;z=c[n>>2]|0;c[n>>2]=z+-1;if(!z){z=Oa[c[n+8>>2]&7](c[n+16>>2]|0,c[n+12>>2]|0,h)|0;l=c[h>>2]|0;if((z|0)==0|(l|0)==0)R=-1;else{c[n>>2]=l+-1;c[n+4>>2]=z+1;R=d[z>>0]|0}S=R}else{z=n+4|0;n=c[z>>2]|0;c[z>>2]=n+1;S=d[n>>0]|0}c[b>>2]=S}}while(0)}if((E|0)==21)xe(b,D?47963:47987,287);else if((E|0)==23){S=c[b>>2]|0;R=c[j>>2]|0;P=R+4|0;O=c[P>>2]|0;Q=O+1|0;N=R+8|0;L=c[N>>2]|0;if(Q>>>0>L>>>0){if(L>>>0>2147483645)xe(b,47209,0);K=L<<1;I=c[A>>2]|0;if((K|0)==-2)Jc(I);A=c[R>>2]|0;H=c[I+12>>2]|0;J=(A|0)==0;G=H+4|0;C=Pa[c[H>>2]&3](c[G>>2]|0,A,L,K)|0;if((K|0)!=0&(C|0)==0){if(!(a[H+51>>0]|0))wc(I,4);Ic(I,1);n=Pa[c[H>>2]&3](c[G>>2]|0,A,L,K)|0;if(!n)wc(I,4);else T=n}else T=C;C=H+12|0;c[C>>2]=(J?0:0-L|0)+K+(c[C>>2]|0);c[R>>2]=T;c[N>>2]=K;K=c[P>>2]|0;U=T;V=K;W=K+1|0}else{U=c[R>>2]|0;V=O;W=Q}c[P>>2]=W;a[U+V>>0]=S;S=c[i>>2]|0;i=c[S>>2]|0;c[S>>2]=i+-1;if(!i){i=Oa[c[S+8>>2]&7](c[S+16>>2]|0,c[S+12>>2]|0,h)|0;V=c[h>>2]|0;if((i|0)==0|(V|0)==0)X=-1;else{c[S>>2]=V+-1;c[S+4>>2]=i+1;X=d[i>>0]|0}Y=X}else{X=S+4|0;S=c[X>>2]|0;c[X>>2]=S+1;Y=d[S>>0]|0}c[b>>2]=Y;if(D){Ia=g;return}D=c[j>>2]|0;j=f+2|0;c[e>>2]=ne(b,(c[D>>2]|0)+j|0,(c[D+4>>2]|0)-(j<<1)|0)|0;Ia=g;return}else if((E|0)==43)xe(b,47209,0);else if((E|0)==45)Jc(F);else if((E|0)==49)wc(F,4);else if((E|0)==58)xe(b,47209,0);else if((E|0)==60)Jc(M);else if((E|0)==64)wc(M,4)}function gf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;c[(c[a+52>>2]|0)+4>>2]=0;hf(a,92);a:do if((d|0)>0){f=0;do{g=c[b+(f<<2)>>2]|0;if((g|0)==-1)break a;hf(a,g);f=f+1|0}while((f|0)<(d|0))}while(0);xe(a,e,290)}function hf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=c[b+52>>2]|0;f=e+4|0;g=c[f>>2]|0;h=g+1|0;i=e+8|0;j=c[i>>2]|0;if(h>>>0<=j>>>0){k=c[e>>2]|0;l=g;m=h;n=d&255;c[f>>2]=m;o=k+l|0;a[o>>0]=n;return}if(j>>>0>2147483645)xe(b,47209,0);h=j<<1;g=c[b+44>>2]|0;if((h|0)==-2)Jc(g);b=jf(g,c[e>>2]|0,j,h)|0;c[e>>2]=b;c[i>>2]=h;h=c[f>>2]|0;k=b;l=h;m=h+1|0;n=d&255;c[f>>2]=m;o=k+l|0;a[o>>0]=n;return}function jf(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;g=c[b+12>>2]|0;h=(d|0)==0;i=g+4|0;j=Pa[c[g>>2]&3](c[i>>2]|0,d,e,f)|0;if((f|0)!=0&(j|0)==0){if(!(a[g+51>>0]|0))wc(b,4);Ic(b,1);k=Pa[c[g>>2]&3](c[i>>2]|0,d,e,f)|0;if(!k)wc(b,4);else l=k}else l=j;j=g+12|0;c[j>>2]=(h?0:0-e|0)+f+(c[j>>2]|0);return l|0}function kf(a,b){a=a|0;b=b|0;var d=0,e=0;d=Ia;Ia=Ia+16|0;e=d;d=c[a>>2]|0;c[e>>2]=c[a+12>>2];c[e+4>>2]=b;ud(d,48117,e)|0;wc(c[a>>2]|0,3)}function lf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ja=0,Ka=0,La=0,Ma=0;e=Ia;Ia=Ia+16|0;f=e+4|0;g=e;h=b+4|0;i=c[h>>2]|0;j=i+16|0;k=i+8|0;l=i+12|0;m=i+4|0;n=c[i>>2]|0;o=g;p=4;while(1){if(!n){q=Oa[c[k>>2]&7](c[j>>2]|0,c[l>>2]|0,f)|0;r=c[f>>2]|0;if((q|0)==0|(r|0)==0){s=7;break}c[i>>2]=r;c[m>>2]=q;t=r;u=q}else{t=n;u=c[m>>2]|0}q=p>>>0>t>>>0?t:p;Hv(o|0,u|0,q|0)|0;n=(c[i>>2]|0)-q|0;c[i>>2]=n;c[m>>2]=(c[m>>2]|0)+q;p=p-q|0;if(!p)break;else o=o+q|0}if((s|0)==7)kf(b,48058);o=c[g>>2]|0;if((o|0)<0)kf(b,48107);c[d+64>>2]=o;o=c[h>>2]|0;p=o+16|0;m=o+8|0;n=o+12|0;i=o+4|0;u=c[o>>2]|0;t=g;l=4;while(1){if(!u){j=Oa[c[m>>2]&7](c[p>>2]|0,c[n>>2]|0,f)|0;k=c[f>>2]|0;if((j|0)==0|(k|0)==0){s=16;break}c[o>>2]=k;c[i>>2]=j;v=k;w=j}else{v=u;w=c[i>>2]|0}j=l>>>0>v>>>0?v:l;Hv(t|0,w|0,j|0)|0;u=(c[o>>2]|0)-j|0;c[o>>2]=u;c[i>>2]=(c[i>>2]|0)+j;l=l-j|0;if(!l)break;else t=t+j|0}if((s|0)==16)kf(b,48058);t=c[g>>2]|0;if((t|0)<0)kf(b,48107);c[d+68>>2]=t;t=c[h>>2]|0;l=t+16|0;i=t+8|0;u=t+12|0;o=t+4|0;w=c[t>>2]|0;v=g;n=1;while(1){if(!w){p=Oa[c[i>>2]&7](c[l>>2]|0,c[u>>2]|0,f)|0;m=c[f>>2]|0;if((p|0)==0|(m|0)==0){s=25;break}c[t>>2]=m;c[o>>2]=p;x=m;y=p}else{x=w;y=c[o>>2]|0}p=n>>>0>x>>>0?x:n;Hv(v|0,y|0,p|0)|0;w=(c[t>>2]|0)-p|0;c[t>>2]=w;c[o>>2]=(c[o>>2]|0)+p;n=n-p|0;if(!n)break;else v=v+p|0}if((s|0)==25)kf(b,48058);a[d+76>>0]=a[g>>0]|0;v=c[h>>2]|0;n=v+16|0;o=v+8|0;w=v+12|0;t=v+4|0;y=c[v>>2]|0;x=g;u=1;while(1){if(!y){l=Oa[c[o>>2]&7](c[n>>2]|0,c[w>>2]|0,f)|0;i=c[f>>2]|0;if((l|0)==0|(i|0)==0){s=32;break}c[v>>2]=i;c[t>>2]=l;z=i;A=l}else{z=y;A=c[t>>2]|0}l=u>>>0>z>>>0?z:u;Hv(x|0,A|0,l|0)|0;y=(c[v>>2]|0)-l|0;c[v>>2]=y;c[t>>2]=(c[t>>2]|0)+l;u=u-l|0;if(!u)break;else x=x+l|0}if((s|0)==32)kf(b,48058);a[d+77>>0]=a[g>>0]|0;x=c[h>>2]|0;u=x+16|0;t=x+8|0;y=x+12|0;v=x+4|0;A=c[x>>2]|0;z=g;w=1;while(1){if(!A){n=Oa[c[t>>2]&7](c[u>>2]|0,c[y>>2]|0,f)|0;o=c[f>>2]|0;if((n|0)==0|(o|0)==0){s=39;break}c[x>>2]=o;c[v>>2]=n;B=o;C=n}else{B=A;C=c[v>>2]|0}n=w>>>0>B>>>0?B:w;Hv(z|0,C|0,n|0)|0;A=(c[x>>2]|0)-n|0;c[x>>2]=A;c[v>>2]=(c[v>>2]|0)+n;w=w-n|0;if(!w)break;else z=z+n|0}if((s|0)==39)kf(b,48058);a[d+78>>0]=a[g>>0]|0;z=c[h>>2]|0;w=z+16|0;v=z+8|0;A=z+12|0;x=z+4|0;C=c[z>>2]|0;B=g;y=4;while(1){if(!C){u=Oa[c[v>>2]&7](c[w>>2]|0,c[A>>2]|0,f)|0;t=c[f>>2]|0;if((u|0)==0|(t|0)==0){s=46;break}c[z>>2]=t;c[x>>2]=u;D=t;E=u}else{D=C;E=c[x>>2]|0}u=y>>>0>D>>>0?D:y;Hv(B|0,E|0,u|0)|0;C=(c[z>>2]|0)-u|0;c[z>>2]=C;c[x>>2]=(c[x>>2]|0)+u;y=y-u|0;if(!y)break;else B=B+u|0}if((s|0)==46)kf(b,48058);B=c[g>>2]|0;if((B|0)<0)kf(b,48107);y=c[b>>2]|0;if((B+1|0)>>>0>1073741823)Jc(y);x=B<<2;C=c[y+12>>2]|0;z=C+4|0;E=Pa[c[C>>2]&3](c[z>>2]|0,0,0,x)|0;if((x|0)!=0&(E|0)==0){if(!(a[C+51>>0]|0))wc(y,4);Ic(y,1);D=Pa[c[C>>2]&3](c[z>>2]|0,0,0,x)|0;if(!D)wc(y,4);else F=D}else F=E;E=C+12|0;c[E>>2]=(c[E>>2]|0)+x;c[d+12>>2]=F;c[d+48>>2]=B;B=c[h>>2]|0;do if(x){E=B+16|0;C=B+8|0;D=B+12|0;y=B+4|0;z=c[B>>2]|0;A=F;w=x;while(1){if(!z){v=Oa[c[C>>2]&7](c[E>>2]|0,c[D>>2]|0,f)|0;u=c[f>>2]|0;if((v|0)==0|(u|0)==0){s=62;break}c[B>>2]=u;c[y>>2]=v;G=u;H=v}else{G=z;H=c[y>>2]|0}v=w>>>0>G>>>0?G:w;Hv(A|0,H|0,v|0)|0;z=(c[B>>2]|0)-v|0;c[B>>2]=z;c[y>>2]=(c[y>>2]|0)+v;w=w-v|0;if(!w){s=63;break}else A=A+v|0}if((s|0)==62)kf(b,48058);else if((s|0)==63){I=c[h>>2]|0;break}}else I=B;while(0);B=I+16|0;H=I+8|0;G=I+12|0;x=I+4|0;F=c[I>>2]|0;A=g;w=4;while(1){if(!F){y=Oa[c[H>>2]&7](c[B>>2]|0,c[G>>2]|0,f)|0;z=c[f>>2]|0;if((y|0)==0|(z|0)==0){s=70;break}c[I>>2]=z;c[x>>2]=y;J=z;K=y}else{J=F;K=c[x>>2]|0}y=w>>>0>J>>>0?J:w;Hv(A|0,K|0,y|0)|0;F=(c[I>>2]|0)-y|0;c[I>>2]=F;c[x>>2]=(c[x>>2]|0)+y;w=w-y|0;if(!w)break;else A=A+y|0}if((s|0)==70)kf(b,48058);A=c[g>>2]|0;if((A|0)<0)kf(b,48107);w=c[b>>2]|0;if((A+1|0)>>>0>536870911)Jc(w);x=A<<3;F=c[w+12>>2]|0;I=F+4|0;K=Pa[c[F>>2]&3](c[I>>2]|0,0,0,x)|0;if((x|0)!=0&(K|0)==0){if(!(a[F+51>>0]|0))wc(w,4);Ic(w,1);J=Pa[c[F>>2]&3](c[I>>2]|0,0,0,x)|0;if(!J)wc(w,4);else L=J}else L=K;K=F+12|0;c[K>>2]=(c[K>>2]|0)+x;x=d+8|0;c[x>>2]=L;c[d+44>>2]=A;K=(A|0)>0;a:do if(K){F=0;do{c[L+(F<<3)+4>>2]=0;F=F+1|0}while((F|0)!=(A|0));if(K){F=b+8|0;J=L;w=0;b:while(1){I=J+(w<<3)|0;G=c[h>>2]|0;B=G+16|0;H=G+8|0;y=G+12|0;z=G+4|0;D=c[G>>2]|0;E=g;C=1;while(1){if(!D){v=Oa[c[H>>2]&7](c[B>>2]|0,c[y>>2]|0,f)|0;u=c[f>>2]|0;if((v|0)==0|(u|0)==0){s=90;break b}c[G>>2]=u;c[z>>2]=v;M=u;N=v}else{M=D;N=c[z>>2]|0}v=C>>>0>M>>>0?M:C;Hv(E|0,N|0,v|0)|0;D=(c[G>>2]|0)-v|0;c[G>>2]=D;c[z>>2]=(c[z>>2]|0)+v;C=C-v|0;if(!C)break;else E=E+v|0}E=a[g>>0]|0;switch(E|0){case 0:{O=E;s=125;break}case 1:{E=c[h>>2]|0;C=E+16|0;z=E+8|0;D=E+12|0;G=E+4|0;y=c[E>>2]|0;B=g;H=1;while(1){if(!y){v=Oa[c[z>>2]&7](c[C>>2]|0,c[D>>2]|0,f)|0;u=c[f>>2]|0;if((v|0)==0|(u|0)==0){s=98;break b}c[E>>2]=u;c[G>>2]=v;P=u;Q=v}else{P=y;Q=c[G>>2]|0}v=H>>>0>P>>>0?P:H;Hv(B|0,Q|0,v|0)|0;y=(c[E>>2]|0)-v|0;c[E>>2]=y;c[G>>2]=(c[G>>2]|0)+v;H=H-v|0;if(!H)break;else B=B+v|0}c[I>>2]=a[g>>0];O=1;s=125;break}case 3:{B=c[h>>2]|0;H=B+16|0;G=B+8|0;y=B+12|0;E=B+4|0;D=c[B>>2]|0;C=g;z=4;while(1){if(!D){v=Oa[c[G>>2]&7](c[H>>2]|0,c[y>>2]|0,f)|0;u=c[f>>2]|0;if((v|0)==0|(u|0)==0){s=106;break b}c[B>>2]=u;c[E>>2]=v;R=u;S=v}else{R=D;S=c[E>>2]|0}v=z>>>0>R>>>0?R:z;Hv(C|0,S|0,v|0)|0;D=(c[B>>2]|0)-v|0;c[B>>2]=D;c[E>>2]=(c[E>>2]|0)+v;z=z-v|0;if(!z)break;else C=C+v|0}c[I>>2]=c[g>>2];O=3;s=125;break}case 4:{C=c[h>>2]|0;z=C+16|0;E=C+8|0;D=C+12|0;B=C+4|0;y=c[C>>2]|0;H=g;G=4;while(1){if(!y){v=Oa[c[E>>2]&7](c[z>>2]|0,c[D>>2]|0,f)|0;u=c[f>>2]|0;if((v|0)==0|(u|0)==0){s=114;break b}c[C>>2]=u;c[B>>2]=v;T=u;U=v}else{T=y;U=c[B>>2]|0}v=G>>>0>T>>>0?T:G;Hv(H|0,U|0,v|0)|0;y=(c[C>>2]|0)-v|0;c[C>>2]=y;c[B>>2]=(c[B>>2]|0)+v;G=G-v|0;if(!G)break;else H=H+v|0}H=c[g>>2]|0;if(!H)V=0;else{G=mf(c[b>>2]|0,c[F>>2]|0,H)|0;B=c[h>>2]|0;y=B+16|0;C=B+8|0;D=B+12|0;z=B+4|0;E=c[B>>2]|0;v=G;u=H;while(1){if(!E){t=Oa[c[C>>2]&7](c[y>>2]|0,c[D>>2]|0,f)|0;n=c[f>>2]|0;if((t|0)==0|(n|0)==0){s=122;break b}c[B>>2]=n;c[z>>2]=t;W=n;X=t}else{W=E;X=c[z>>2]|0}t=u>>>0>W>>>0?W:u;Hv(v|0,X|0,t|0)|0;E=(c[B>>2]|0)-t|0;c[B>>2]=E;c[z>>2]=(c[z>>2]|0)+t;u=u-t|0;if(!u)break;else v=v+t|0}V=vd(c[b>>2]|0,G,H+-1|0)|0}c[I>>2]=V;O=(a[V+4>>0]|64)&255;s=125;break}default:{}}if((s|0)==125){s=0;c[J+(w<<3)+4>>2]=O}v=w+1|0;if((v|0)>=(A|0))break a;J=c[x>>2]|0;w=v}if((s|0)==90)kf(b,48058);else if((s|0)==98)kf(b,48058);else if((s|0)==106)kf(b,48058);else if((s|0)==114)kf(b,48058);else if((s|0)==122)kf(b,48058)}}while(0);x=c[h>>2]|0;A=x+16|0;O=x+8|0;V=x+12|0;X=x+4|0;W=c[x>>2]|0;U=g;T=4;while(1){if(!W){S=Oa[c[O>>2]&7](c[A>>2]|0,c[V>>2]|0,f)|0;R=c[f>>2]|0;if((S|0)==0|(R|0)==0){s=134;break}c[x>>2]=R;c[X>>2]=S;Y=R;Z=S}else{Y=W;Z=c[X>>2]|0}S=T>>>0>Y>>>0?Y:T;Hv(U|0,Z|0,S|0)|0;W=(c[x>>2]|0)-S|0;c[x>>2]=W;c[X>>2]=(c[X>>2]|0)+S;T=T-S|0;if(!T)break;else U=U+S|0}if((s|0)==134)kf(b,48058);U=c[g>>2]|0;if((U|0)<0)kf(b,48107);T=c[b>>2]|0;if((U+1|0)>>>0>1073741823)Jc(T);X=U<<2;W=c[T+12>>2]|0;x=W+4|0;Z=Pa[c[W>>2]&3](c[x>>2]|0,0,0,X)|0;if((X|0)!=0&(Z|0)==0){if(!(a[W+51>>0]|0))wc(T,4);Ic(T,1);Y=Pa[c[W>>2]&3](c[x>>2]|0,0,0,X)|0;if(!Y)wc(T,4);else _=Y}else _=Z;Z=W+12|0;c[Z>>2]=(c[Z>>2]|0)+X;X=d+16|0;c[X>>2]=_;c[d+56>>2]=U;Z=(U|0)>0;c:do if(Z){c[_>>2]=0;if((U|0)!=1){W=1;do{c[(c[X>>2]|0)+(W<<2)>>2]=0;W=W+1|0}while((W|0)!=(U|0))}if(Z){W=0;while(1){$=c[b>>2]|0;Y=c[$+12>>2]|0;T=Y+4|0;x=Pa[c[Y>>2]&3](c[T>>2]|0,0,9,80)|0;if(!x){if(!(a[Y+51>>0]|0)){s=152;break}Ic($,1);V=Pa[c[Y>>2]&3](c[T>>2]|0,0,9,80)|0;if(!V){s=152;break}else aa=V}else aa=x;x=Y+12|0;c[x>>2]=(c[x>>2]|0)+80;x=Y+56|0;a[aa+5>>0]=a[Y+48>>0]&3;a[aa+4>>0]=9;c[aa>>2]=c[x>>2];c[x>>2]=aa;a[aa+76>>0]=0;a[aa+77>>0]=0;a[aa+78>>0]=0;x=aa+8|0;Y=x+64|0;do{c[x>>2]=0;x=x+4|0}while((x|0)<(Y|0));c[(c[X>>2]|0)+(W<<2)>>2]=aa;lf(b,c[(c[X>>2]|0)+(W<<2)>>2]|0);W=W+1|0;if((W|0)>=(U|0))break c}if((s|0)==152)wc($,4)}}while(0);$=c[h>>2]|0;U=$+16|0;X=$+8|0;aa=$+12|0;Z=$+4|0;_=c[$>>2]|0;W=g;x=4;while(1){if(!_){Y=Oa[c[X>>2]&7](c[U>>2]|0,c[aa>>2]|0,f)|0;I=c[f>>2]|0;if((Y|0)==0|(I|0)==0){s=160;break}c[$>>2]=I;c[Z>>2]=Y;ba=I;ca=Y}else{ba=_;ca=c[Z>>2]|0}Y=x>>>0>ba>>>0?ba:x;Hv(W|0,ca|0,Y|0)|0;_=(c[$>>2]|0)-Y|0;c[$>>2]=_;c[Z>>2]=(c[Z>>2]|0)+Y;x=x-Y|0;if(!x)break;else W=W+Y|0}if((s|0)==160)kf(b,48058);W=c[g>>2]|0;if((W|0)<0)kf(b,48107);x=c[b>>2]|0;if((W+1|0)>>>0>536870911)Jc(x);Z=W<<3;_=c[x+12>>2]|0;$=_+4|0;ca=Pa[c[_>>2]&3](c[$>>2]|0,0,0,Z)|0;if((Z|0)!=0&(ca|0)==0){if(!(a[_+51>>0]|0))wc(x,4);Ic(x,1);ba=Pa[c[_>>2]&3](c[$>>2]|0,0,0,Z)|0;if(!ba)wc(x,4);else da=ba}else da=ca;ca=_+12|0;c[ca>>2]=(c[ca>>2]|0)+Z;Z=d+28|0;c[Z>>2]=da;c[d+40>>2]=W;d:do if((W|0)>0){ca=0;do{c[da+(ca<<3)>>2]=0;ca=ca+1|0}while((ca|0)!=(W|0));ca=0;e:while(1){_=c[h>>2]|0;ba=_+16|0;x=_+8|0;$=_+12|0;aa=_+4|0;U=c[_>>2]|0;X=g;Y=1;while(1){if(!U){I=Oa[c[x>>2]&7](c[ba>>2]|0,c[$>>2]|0,f)|0;H=c[f>>2]|0;if((I|0)==0|(H|0)==0){s=179;break e}c[_>>2]=H;c[aa>>2]=I;ea=H;fa=I}else{ea=U;fa=c[aa>>2]|0}I=Y>>>0>ea>>>0?ea:Y;Hv(X|0,fa|0,I|0)|0;U=(c[_>>2]|0)-I|0;c[_>>2]=U;c[aa>>2]=(c[aa>>2]|0)+I;Y=Y-I|0;if(!Y)break;else X=X+I|0}a[(c[Z>>2]|0)+(ca<<3)+4>>0]=a[g>>0]|0;X=c[h>>2]|0;Y=X+16|0;aa=X+8|0;U=X+12|0;_=X+4|0;$=c[X>>2]|0;ba=g;x=1;while(1){if(!$){I=Oa[c[aa>>2]&7](c[Y>>2]|0,c[U>>2]|0,f)|0;H=c[f>>2]|0;if((I|0)==0|(H|0)==0){s=186;break e}c[X>>2]=H;c[_>>2]=I;ga=H;ha=I}else{ga=$;ha=c[_>>2]|0}I=x>>>0>ga>>>0?ga:x;Hv(ba|0,ha|0,I|0)|0;$=(c[X>>2]|0)-I|0;c[X>>2]=$;c[_>>2]=(c[_>>2]|0)+I;x=x-I|0;if(!x)break;else ba=ba+I|0}a[(c[Z>>2]|0)+(ca<<3)+5>>0]=a[g>>0]|0;ca=ca+1|0;if((ca|0)>=(W|0))break d}if((s|0)==179)kf(b,48058);else if((s|0)==186)kf(b,48058)}while(0);W=c[h>>2]|0;ha=W+16|0;ga=W+8|0;fa=W+12|0;ea=W+4|0;da=c[W>>2]|0;ca=g;ba=4;while(1){if(!da){x=Oa[c[ga>>2]&7](c[ha>>2]|0,c[fa>>2]|0,f)|0;_=c[f>>2]|0;if((x|0)==0|(_|0)==0){s=194;break}c[W>>2]=_;c[ea>>2]=x;ia=_;ja=x}else{ia=da;ja=c[ea>>2]|0}x=ba>>>0>ia>>>0?ia:ba;Hv(ca|0,ja|0,x|0)|0;da=(c[W>>2]|0)-x|0;c[W>>2]=da;c[ea>>2]=(c[ea>>2]|0)+x;ba=ba-x|0;if(!ba)break;else ca=ca+x|0}if((s|0)==194)kf(b,48058);ca=c[g>>2]|0;do if(ca){ba=mf(c[b>>2]|0,c[b+8>>2]|0,ca)|0;ea=c[h>>2]|0;da=ea+16|0;W=ea+8|0;ja=ea+12|0;ia=ea+4|0;fa=c[ea>>2]|0;ha=ba;ga=ca;while(1){if(!fa){x=Oa[c[W>>2]&7](c[da>>2]|0,c[ja>>2]|0,f)|0;_=c[f>>2]|0;if((x|0)==0|(_|0)==0){s=202;break}c[ea>>2]=_;c[ia>>2]=x;ka=_;la=x}else{ka=fa;la=c[ia>>2]|0}x=ga>>>0>ka>>>0?ka:ga;Hv(ha|0,la|0,x|0)|0;fa=(c[ea>>2]|0)-x|0;c[ea>>2]=fa;c[ia>>2]=(c[ia>>2]|0)+x;ga=ga-x|0;if(!ga){s=203;break}else ha=ha+x|0}if((s|0)==202)kf(b,48058);else if((s|0)==203){ma=vd(c[b>>2]|0,ba,ca+-1|0)|0;break}}else ma=0;while(0);c[d+36>>2]=ma;ma=c[h>>2]|0;ca=ma+16|0;la=ma+8|0;ka=ma+12|0;ha=ma+4|0;ga=c[ma>>2]|0;ia=g;fa=4;while(1){if(!ga){ea=Oa[c[la>>2]&7](c[ca>>2]|0,c[ka>>2]|0,f)|0;ja=c[f>>2]|0;if((ea|0)==0|(ja|0)==0){s=210;break}c[ma>>2]=ja;c[ha>>2]=ea;na=ja;oa=ea}else{na=ga;oa=c[ha>>2]|0}ea=fa>>>0>na>>>0?na:fa;Hv(ia|0,oa|0,ea|0)|0;ga=(c[ma>>2]|0)-ea|0;c[ma>>2]=ga;c[ha>>2]=(c[ha>>2]|0)+ea;fa=fa-ea|0;if(!fa)break;else ia=ia+ea|0}if((s|0)==210)kf(b,48058);ia=c[g>>2]|0;if((ia|0)<0)kf(b,48107);fa=c[b>>2]|0;if((ia+1|0)>>>0>1073741823)Jc(fa);ha=ia<<2;ga=c[fa+12>>2]|0;ma=ga+4|0;oa=Pa[c[ga>>2]&3](c[ma>>2]|0,0,0,ha)|0;do if((ha|0)!=0&(oa|0)==0){if(!(a[ga+51>>0]|0))wc(fa,4);Ic(fa,1);na=Pa[c[ga>>2]&3](c[ma>>2]|0,0,0,ha)|0;if(na|0){pa=na;break}wc(fa,4)}else pa=oa;while(0);oa=ga+12|0;c[oa>>2]=(c[oa>>2]|0)+ha;c[d+20>>2]=pa;c[d+52>>2]=ia;ia=c[h>>2]|0;do if(ha){oa=ia+16|0;ga=ia+8|0;fa=ia+12|0;ma=ia+4|0;na=c[ia>>2]|0;ka=pa;ca=ha;while(1){if(!na){la=Oa[c[ga>>2]&7](c[oa>>2]|0,c[fa>>2]|0,f)|0;ea=c[f>>2]|0;if((la|0)==0|(ea|0)==0){s=226;break}c[ia>>2]=ea;c[ma>>2]=la;qa=ea;ra=la}else{qa=na;ra=c[ma>>2]|0}la=ca>>>0>qa>>>0?qa:ca;Hv(ka|0,ra|0,la|0)|0;na=(c[ia>>2]|0)-la|0;c[ia>>2]=na;c[ma>>2]=(c[ma>>2]|0)+la;ca=ca-la|0;if(!ca){s=227;break}else ka=ka+la|0}if((s|0)==226)kf(b,48058);else if((s|0)==227){sa=c[h>>2]|0;break}}else sa=ia;while(0);ia=sa+16|0;ra=sa+8|0;qa=sa+12|0;ha=sa+4|0;pa=c[sa>>2]|0;ka=g;ca=4;while(1){if(!pa){ma=Oa[c[ra>>2]&7](c[ia>>2]|0,c[qa>>2]|0,f)|0;na=c[f>>2]|0;if((ma|0)==0|(na|0)==0){s=234;break}c[sa>>2]=na;c[ha>>2]=ma;ta=na;ua=ma}else{ta=pa;ua=c[ha>>2]|0}ma=ca>>>0>ta>>>0?ta:ca;Hv(ka|0,ua|0,ma|0)|0;pa=(c[sa>>2]|0)-ma|0;c[sa>>2]=pa;c[ha>>2]=(c[ha>>2]|0)+ma;ca=ca-ma|0;if(!ca)break;else ka=ka+ma|0}if((s|0)==234)kf(b,48058);ka=c[g>>2]|0;if((ka|0)<0)kf(b,48107);ca=c[b>>2]|0;if((ka+1|0)>>>0>357913941)Jc(ca);ha=ka*12|0;pa=c[ca+12>>2]|0;sa=pa+4|0;ua=Pa[c[pa>>2]&3](c[sa>>2]|0,0,0,ha)|0;do if((ha|0)!=0&(ua|0)==0){if(!(a[pa+51>>0]|0))wc(ca,4);Ic(ca,1);ta=Pa[c[pa>>2]&3](c[sa>>2]|0,0,0,ha)|0;if(ta|0){va=ta;break}wc(ca,4)}else va=ua;while(0);ua=pa+12|0;c[ua>>2]=(c[ua>>2]|0)+ha;ha=d+24|0;c[ha>>2]=va;c[d+60>>2]=ka;f:do if((ka|0)>0){d=0;do{c[va+(d*12|0)>>2]=0;d=d+1|0}while((d|0)!=(ka|0));d=b+8|0;ua=0;g:while(1){pa=c[h>>2]|0;ca=pa+16|0;sa=pa+8|0;ta=pa+12|0;qa=pa+4|0;ia=c[pa>>2]|0;ra=g;ma=4;while(1){if(!ia){na=Oa[c[sa>>2]&7](c[ca>>2]|0,c[ta>>2]|0,f)|0;fa=c[f>>2]|0;if((na|0)==0|(fa|0)==0){s=253;break g}c[pa>>2]=fa;c[qa>>2]=na;wa=fa;xa=na}else{wa=ia;xa=c[qa>>2]|0}na=ma>>>0>wa>>>0?wa:ma;Hv(ra|0,xa|0,na|0)|0;ia=(c[pa>>2]|0)-na|0;c[pa>>2]=ia;c[qa>>2]=(c[qa>>2]|0)+na;ma=ma-na|0;if(!ma)break;else ra=ra+na|0}ra=c[g>>2]|0;if(!ra)ya=0;else{ma=mf(c[b>>2]|0,c[d>>2]|0,ra)|0;qa=c[h>>2]|0;ia=qa+16|0;pa=qa+8|0;ta=qa+12|0;ca=qa+4|0;sa=c[qa>>2]|0;na=ma;fa=ra;while(1){if(!sa){oa=Oa[c[pa>>2]&7](c[ia>>2]|0,c[ta>>2]|0,f)|0;ga=c[f>>2]|0;if((oa|0)==0|(ga|0)==0){s=261;break g}c[qa>>2]=ga;c[ca>>2]=oa;za=ga;Aa=oa}else{za=sa;Aa=c[ca>>2]|0}oa=fa>>>0>za>>>0?za:fa;Hv(na|0,Aa|0,oa|0)|0;sa=(c[qa>>2]|0)-oa|0;c[qa>>2]=sa;c[ca>>2]=(c[ca>>2]|0)+oa;fa=fa-oa|0;if(!fa)break;else na=na+oa|0}ya=vd(c[b>>2]|0,ma,ra+-1|0)|0}c[(c[ha>>2]|0)+(ua*12|0)>>2]=ya;na=c[h>>2]|0;fa=na+16|0;ca=na+8|0;sa=na+12|0;qa=na+4|0;ta=c[na>>2]|0;ia=g;pa=4;while(1){if(!ta){oa=Oa[c[ca>>2]&7](c[fa>>2]|0,c[sa>>2]|0,f)|0;ga=c[f>>2]|0;if((oa|0)==0|(ga|0)==0){s=269;break g}c[na>>2]=ga;c[qa>>2]=oa;Ba=ga;Ca=oa}else{Ba=ta;Ca=c[qa>>2]|0}oa=pa>>>0>Ba>>>0?Ba:pa;Hv(ia|0,Ca|0,oa|0)|0;ta=(c[na>>2]|0)-oa|0;c[na>>2]=ta;c[qa>>2]=(c[qa>>2]|0)+oa;pa=pa-oa|0;if(!pa)break;else ia=ia+oa|0}ia=c[g>>2]|0;if((ia|0)<0){s=271;break}c[(c[ha>>2]|0)+(ua*12|0)+4>>2]=ia;ia=c[h>>2]|0;pa=ia+16|0;qa=ia+8|0;ta=ia+12|0;na=ia+4|0;sa=c[ia>>2]|0;fa=g;ca=4;while(1){if(!sa){ra=Oa[c[qa>>2]&7](c[pa>>2]|0,c[ta>>2]|0,f)|0;ma=c[f>>2]|0;if((ra|0)==0|(ma|0)==0){s=278;break g}c[ia>>2]=ma;c[na>>2]=ra;Da=ma;Ea=ra}else{Da=sa;Ea=c[na>>2]|0}ra=ca>>>0>Da>>>0?Da:ca;Hv(fa|0,Ea|0,ra|0)|0;sa=(c[ia>>2]|0)-ra|0;c[ia>>2]=sa;c[na>>2]=(c[na>>2]|0)+ra;ca=ca-ra|0;if(!ca)break;else fa=fa+ra|0}fa=c[g>>2]|0;if((fa|0)<0){s=280;break}c[(c[ha>>2]|0)+(ua*12|0)+8>>2]=fa;ua=ua+1|0;if((ua|0)>=(ka|0))break f}if((s|0)==253)kf(b,48058);else if((s|0)==261)kf(b,48058);else if((s|0)==269)kf(b,48058);else if((s|0)==271)kf(b,48107);else if((s|0)==278)kf(b,48058);else if((s|0)==280)kf(b,48107)}while(0);ka=c[h>>2]|0;ha=ka+16|0;Ea=ka+8|0;Da=ka+12|0;Ca=ka+4|0;Ba=c[ka>>2]|0;ya=g;Aa=4;while(1){if(!Ba){za=Oa[c[Ea>>2]&7](c[ha>>2]|0,c[Da>>2]|0,f)|0;xa=c[f>>2]|0;if((za|0)==0|(xa|0)==0){s=288;break}c[ka>>2]=xa;c[Ca>>2]=za;Fa=xa;Ga=za}else{Fa=Ba;Ga=c[Ca>>2]|0}za=Aa>>>0>Fa>>>0?Fa:Aa;Hv(ya|0,Ga|0,za|0)|0;Ba=(c[ka>>2]|0)-za|0;c[ka>>2]=Ba;c[Ca>>2]=(c[Ca>>2]|0)+za;Aa=Aa-za|0;if(!Aa)break;else ya=ya+za|0}if((s|0)==288)kf(b,48058);ya=c[g>>2]|0;if((ya|0)<0)kf(b,48107);if(!ya){Ia=e;return}Aa=b+8|0;Ca=0;h:while(1){Ba=c[h>>2]|0;ka=Ba+16|0;Ga=Ba+8|0;Fa=Ba+12|0;Da=Ba+4|0;ha=c[Ba>>2]|0;Ea=g;za=4;while(1){if(!ha){xa=Oa[c[Ga>>2]&7](c[ka>>2]|0,c[Fa>>2]|0,f)|0;wa=c[f>>2]|0;if((xa|0)==0|(wa|0)==0){s=299;break h}c[Ba>>2]=wa;c[Da>>2]=xa;Ha=wa;Ja=xa}else{Ha=ha;Ja=c[Da>>2]|0}xa=za>>>0>Ha>>>0?Ha:za;Hv(Ea|0,Ja|0,xa|0)|0;ha=(c[Ba>>2]|0)-xa|0;c[Ba>>2]=ha;c[Da>>2]=(c[Da>>2]|0)+xa;za=za-xa|0;if(!za)break;else Ea=Ea+xa|0}Ea=c[g>>2]|0;if(!Ea)Ka=0;else{za=mf(c[b>>2]|0,c[Aa>>2]|0,Ea)|0;Da=c[h>>2]|0;ha=Da+16|0;Ba=Da+8|0;Fa=Da+12|0;ka=Da+4|0;Ga=c[Da>>2]|0;xa=za;wa=Ea;while(1){if(!Ga){va=Oa[c[Ba>>2]&7](c[ha>>2]|0,c[Fa>>2]|0,f)|0;ua=c[f>>2]|0;if((va|0)==0|(ua|0)==0){s=307;break h}c[Da>>2]=ua;c[ka>>2]=va;La=ua;Ma=va}else{La=Ga;Ma=c[ka>>2]|0}va=wa>>>0>La>>>0?La:wa;Hv(xa|0,Ma|0,va|0)|0;Ga=(c[Da>>2]|0)-va|0;c[Da>>2]=Ga;c[ka>>2]=(c[ka>>2]|0)+va;wa=wa-va|0;if(!wa)break;else xa=xa+va|0}Ka=vd(c[b>>2]|0,za,Ea+-1|0)|0}c[(c[Z>>2]|0)+(Ca<<3)>>2]=Ka;Ca=Ca+1|0;if((Ca|0)>=(ya|0)){s=310;break}}if((s|0)==299)kf(b,48058);else if((s|0)==307)kf(b,48058);else if((s|0)==310){Ia=e;return}}function mf(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=d+8|0;g=c[f>>2]|0;if(g>>>0>=e>>>0){h=c[d>>2]|0;return h|0}i=e>>>0>32?e:32;if((i+1|0)>>>0>4294967293)Jc(b);e=c[d>>2]|0;j=c[b+12>>2]|0;k=(e|0)==0;l=j+4|0;m=Pa[c[j>>2]&3](c[l>>2]|0,e,g,i)|0;if(!m){if(!(a[j+51>>0]|0))wc(b,4);Ic(b,1);n=Pa[c[j>>2]&3](c[l>>2]|0,e,g,i)|0;if(!n)wc(b,4);else o=n}else o=m;m=j+12|0;c[m>>2]=(k?0:0-g|0)+i+(c[m>>2]|0);c[d>>2]=o;c[f>>2]=i;h=o;return h|0}function nf(b){b=b|0;a[b+6>>0]=0;c[b+16>>2]=b+72;return}function of(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=b+12|0;h=c[g>>2]|0;do switch(e|0){case 0:{a[h+51>>0]=0;i=0;return i|0}case 1:{j=h+12|0;k=h+8|0;c[k>>2]=(c[k>>2]|0)+(c[j>>2]|0);c[j>>2]=0;a[h+51>>0]=1;i=0;return i|0}case 2:{Ic(b,0);i=0;return i|0}case 3:{i=((c[h+12>>2]|0)+(c[h+8>>2]|0)|0)>>>10;return i|0}case 4:{i=(c[h+12>>2]|0)+(c[h+8>>2]|0)&1023;return i|0}case 5:{if((a[h+50>>0]|0)==2){j=(c[h+20>>2]|0)==0&1;Mc(b);i=j;return i|0}else{j=h+12|0;k=c[j>>2]|0;l=(f<<10)+-1600+((a[h+51>>0]|0)==0?0:k)|0;m=h+8|0;c[m>>2]=k-l+(c[m>>2]|0);c[j>>2]=l;Mc(b);i=(a[h+49>>0]|0)==5&1;return i|0}break}case 6:{l=h+128|0;j=c[l>>2]|0;c[l>>2]=f;i=j;return i|0}case 8:{j=h+132|0;l=c[j>>2]|0;c[j>>2]=f;i=l;return i|0}case 7:{l=h+136|0;j=c[l>>2]|0;c[l>>2]=f;i=j;return i|0}case 9:{i=d[h+51>>0]|0;return i|0}case 10:{j=h+50|0;if((a[j>>0]|0)==2){i=0;return i|0}l=h+49|0;if(a[l>>0]|0)do ed(b)|0;while((a[l>>0]|0)!=0);c[h+20>>2]=(c[h+12>>2]|0)+(c[h+8>>2]|0);a[j>>0]=2;i=0;return i|0}case 11:{l=h+50|0;if(!(a[l>>0]|0)){i=0;return i|0}a[l>>0]=0;jd(b)|0;l=(c[g>>2]|0)+49|0;if(1<>0]&-29|0){i=0;return i|0}do ed(b)|0;while(!(1<>0]&-29|0));i=0;return i|0}default:{i=-1;return i|0}}while(0);return 0}function pf(a){a=a|0;Bc(a);return 0}function qf(a,b){a=a|0;b=b|0;var 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;e=c[a+16>>2]|0;do if((b|0)<=0){if((b|0)>=-1000999){f=(c[a+8>>2]|0)+(b<<3)|0;break}if((b|0)==-1001e3){f=(c[a+12>>2]|0)+36|0;break}g=-1001e3-b|0;h=c[e>>2]|0;if((c[h+4>>2]|32|0)==54)f=2172216;else{i=c[h>>2]|0;f=(g|0)>(d[i+6>>0]|0|0)?2172216:i+16+(g+-1<<3)|0}}else{g=(c[e>>2]|0)+(b<<3)|0;f=g>>>0<(c[a+8>>2]|0)>>>0?g:2172216}while(0);b=c[f>>2]|0;f=a+8|0;e=c[f>>2]|0;g=e+-8|0;i=rf(a,b,g)|0;a=i+1|0;h=c[b+28>>2]|0;a:do if((a|0)<(h|0)){j=b+12|0;k=c[j>>2]|0;l=i;m=a;while(1){if(c[k+(m<<3)+4>>2]|0)break;n=m+1|0;if((n|0)<(h|0)){o=m;m=n;l=o}else{p=n;q=14;break a}}c[g>>2]=(l<<16)+131072;c[e+-4>>2]=3;k=c[j>>2]|0;c[e>>2]=c[k+(m<<3)>>2];r=k+(m<<3)+4|0}else{p=a;q=14}while(0);do if((q|0)==14){a=p-h|0;i=1<<(d[b+7>>0]|0);if((a|0)>=(i|0)){s=-1;t=0;u=c[f>>2]|0;v=u+(s<<3)|0;c[f>>2]=v;return t|0}k=b+16|0;n=c[k>>2]|0;o=a;while(1){if(c[n+(o*20|0)+4>>2]|0){q=17;break}a=o+1|0;if((a|0)<(i|0))o=a;else{s=-1;t=0;q=20;break}}if((q|0)==17){c[g>>2]=c[n+(o*20|0)+8>>2];c[e+-4>>2]=c[n+(o*20|0)+12>>2];i=c[k>>2]|0;c[e>>2]=c[i+(o*20|0)>>2];r=i+(o*20|0)+4|0;break}else if((q|0)==20){u=c[f>>2]|0;v=u+(s<<3)|0;c[f>>2]=v;return t|0}}while(0);c[e+4>>2]=c[r>>2];s=1;t=1;u=c[f>>2]|0;v=u+(s<<3)|0;c[f>>2]=v;return t|0}function rf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=Ia;Ia=Ia+16|0;f=e;g=d+4|0;switch(c[g>>2]|0){case 3:{h=2;break}case 0:{i=-1;Ia=e;return i|0}default:{}}if(((h|0)==2?(j=c[d>>2]|0,k=j>>16,(j|0)>65535&((j+-65536|0)>>>0<2147352577&(j&65535|0)==0)):0)?(k|0)<=(c[b+28>>2]|0):0){i=k+-1|0;Ia=e;return i|0}k=td(b,d)|0;while(1){j=k+8|0;l=k+12|0;m=c[l>>2]|0;if((m|0)==(c[g>>2]|0)){if(Rc(0,j,d)|0)break;n=c[l>>2]|0}else n=m;if(((n|0)==11?c[g>>2]&64|0:0)?(c[j>>2]|0)==(c[d>>2]|0):0)break;j=c[k+16>>2]|0;if(!j){h=14;break}else k=j}if((h|0)==14)yc(a,48142,f);i=((k-(c[b+16>>2]|0)|0)/20|0)+(c[b+28>>2]|0)|0;Ia=e;return i|0}function sf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;if((d|0)<=1){if(d|0)return;e=b+8|0;f=c[e>>2]|0;g=$c(b,3144900,0)|0;c[f>>2]=g;c[f+4>>2]=(a[g+4>>0]|64)&255;c[e>>2]=(c[e>>2]|0)+8;return}e=c[b+12>>2]|0;g=e+12|0;f=c[g>>2]|0;do if((f|0)>0)if(!(a[e+51>>0]|0)){h=e+8|0;c[h>>2]=f+1600+(c[h>>2]|0);c[g>>2]=-1600;break}else{Mc(b);break}while(0);Pc(b,d);return}function tf(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;g=Ia;Ia=Ia+160|0;h=g+40|0;i=g+32|0;j=g+24|0;k=g+16|0;l=g+8|0;m=g;n=g+48|0;o=b+8|0;p=b+16|0;q=(c[o>>2]|0)-((c[c[p>>2]>>2]|0)+8)>>3;r=d+16|0;s=c[r>>2]|0;t=d+72|0;if((s|0)==(t|0)){u=0;v=1}else{w=1;x=1;while(1){if(!w){y=s;z=0}else{A=s;B=w;while(1){C=B+-1|0;D=c[A+8>>2]|0;if((B|0)>1&(D|0)!=(t|0)){A=D;B=C}else{y=D;z=C;break}}}if((z|0)!=0|(y|0)==(t|0)){E=w;F=x;break}B=w<<1;if((w|0)<0){E=B;F=w;break}else{A=w;w=B;x=A}}if((F|0)<(E|0)){x=E;w=F;while(1){F=x+w|0;y=(F|0)/2|0;if((F|0)<-1)G=0;else{if((F+1|0)>>>0>2){F=s;z=y;while(1){A=z+-1|0;B=c[F+8>>2]|0;if((z|0)>1&(B|0)!=(t|0)){F=B;z=A}else{H=B;I=A;break}}}else{H=s;I=y}G=(I|0)==0&(H|0)!=(t|0)&1}z=(G|0)==0;F=z?y:x;w=z?w:y+1|0;if((w|0)>=(F|0)){J=F;break}else x=F}}else J=E;u=(J|0)>23?12:0;v=J}if(e|0){c[m>>2]=e;Qd(b,59968,m)|0}m=b+12|0;e=c[m>>2]|0;J=e+12|0;E=c[J>>2]|0;do if((E|0)>0)if(!(a[e+51>>0]|0)){x=e+8|0;c[x>>2]=E+1600+(c[x>>2]|0);c[J>>2]=-1600;break}else{Mc(b);break}while(0);J=$c(b,48164,16)|0;E=c[o>>2]|0;c[E>>2]=J;c[E+4>>2]=(a[J+4>>0]|64)&255;J=(c[o>>2]|0)+8|0;c[o>>2]=J;if((f|0)<0){K=J;L=J}else{J=n+96|0;E=n+36|0;e=n+20|0;x=v+-11|0;v=n+8|0;w=n+12|0;G=n+35|0;H=n+4|0;I=n+24|0;s=f;while(1){f=s+1|0;F=c[r>>2]|0;if((s|0)!=0&(F|0)!=(t|0)){z=F;A=s;while(1){B=A+-1|0;C=c[z+8>>2]|0;if((A|0)>1&(C|0)!=(t|0)){z=C;A=B}else{M=C;N=B;break}}}else{M=F;N=s}if((N|0)!=0|(M|0)==(t|0))break;c[J>>2]=M;do if((f|0)==(u|0)){A=c[m>>2]|0;z=A+12|0;y=c[z>>2]|0;do if((y|0)>0)if(!(a[A+51>>0]|0)){B=A+8|0;c[B>>2]=y+1600+(c[B>>2]|0);c[z>>2]=-1600;break}else{Mc(b);break}while(0);z=$c(b,48181,5)|0;y=c[o>>2]|0;c[y>>2]=z;c[y+4>>2]=(a[z+4>>0]|64)&255;c[o>>2]=(c[o>>2]|0)+8;O=x}else{uf(d,48187,n)|0;c[l>>2]=E;Qd(b,48192,l)|0;z=c[e>>2]|0;if((z|0)>0){c[k>>2]=z<<16;Qd(b,48198,k)|0}z=c[m>>2]|0;y=z+12|0;A=c[y>>2]|0;do if((A|0)>0)if(!(a[z+51>>0]|0)){B=z+8|0;c[B>>2]=A+1600+(c[B>>2]|0);c[y>>2]=-1600;break}else{Mc(b);break}while(0);y=$c(b,48202,4)|0;A=c[o>>2]|0;c[A>>2]=y;c[A+4>>2]=(a[y+4>>0]|64)&255;c[o>>2]=(c[o>>2]|0)+8;a:do if(!(a[c[v>>2]>>0]|0))switch(a[c[w>>2]>>0]|0){case 109:{y=c[m>>2]|0;A=y+12|0;z=c[A>>2]|0;do if((z|0)>0)if(!(a[y+51>>0]|0)){B=y+8|0;c[B>>2]=z+1600+(c[B>>2]|0);c[A>>2]=-1600;break}else{Mc(b);break}while(0);A=$c(b,48221,10)|0;z=c[o>>2]|0;c[z>>2]=A;c[z+4>>2]=(a[A+4>>0]|64)&255;c[o>>2]=(c[o>>2]|0)+8;break a;break}case 67:{if(!(vf(b,n)|0)){A=c[m>>2]|0;z=A+12|0;y=c[z>>2]|0;do if((y|0)>0)if(!(a[A+51>>0]|0)){B=A+8|0;c[B>>2]=y+1600+(c[B>>2]|0);c[z>>2]=-1600;break}else{Mc(b);break}while(0);z=$c(b,78709,1)|0;y=c[o>>2]|0;c[y>>2]=z;c[y+4>>2]=(a[z+4>>0]|64)&255;c[o>>2]=(c[o>>2]|0)+8;break a}z=c[o>>2]|0;y=z+-8|0;if((c[z+-4>>2]&15|0)!=4)if(!(Hd(b,y)|0))P=0;else{z=c[m>>2]|0;A=z+12|0;B=c[A>>2]|0;do if((B|0)>0)if(!(a[z+51>>0]|0)){C=z+8|0;c[C>>2]=B+1600+(c[C>>2]|0);c[A>>2]=-1600;break}else{Mc(b);break}while(0);Q=(c[o>>2]|0)+-8|0;R=57}else{Q=y;R=57}if((R|0)==57){R=0;P=(c[Q>>2]|0)+16|0}c[i>>2]=P;Qd(b,48207,i)|0;A=c[o>>2]|0;B=A+-8|0;z=A+-16|0;while(1){c[z>>2]=c[B>>2];c[z+4>>2]=c[z+12>>2];A=B+8|0;S=c[o>>2]|0;if(A>>>0>>0){C=B;B=A;z=C}else break}c[o>>2]=S+-8;break a;break}default:{z=c[I>>2]<<16;c[h>>2]=E;c[h+4>>2]=z;Qd(b,48232,h)|0;break a}}else{c[j>>2]=c[H>>2];Qd(b,48207,j)|0}while(0);if(!(a[G>>0]|0)){z=c[o>>2]|0;T=z;U=z}else{z=c[m>>2]|0;B=z+12|0;y=c[B>>2]|0;do if((y|0)>0)if(!(a[z+51>>0]|0)){C=z+8|0;c[C>>2]=y+1600+(c[C>>2]|0);c[B>>2]=-1600;break}else{Mc(b);break}while(0);B=$c(b,48249,20)|0;y=c[o>>2]|0;c[y>>2]=B;c[y+4>>2]=(a[B+4>>0]|64)&255;B=(c[o>>2]|0)+8|0;c[o>>2]=B;T=B;U=B}B=(T-((c[c[p>>2]>>2]|0)+8)>>3)-q|0;if((B|0)<=1){if(B|0){O=f;break}y=$c(b,3144900,0)|0;c[U>>2]=y;c[U+4>>2]=(a[y+4>>0]|64)&255;c[o>>2]=(c[o>>2]|0)+8;O=f;break}y=c[m>>2]|0;z=y+12|0;C=c[z>>2]|0;do if((C|0)>0)if(!(a[y+51>>0]|0)){A=y+8|0;c[A>>2]=C+1600+(c[A>>2]|0);c[z>>2]=-1600;break}else{Mc(b);break}while(0);Pc(b,B);O=f}while(0);if((O|0)<0)break;else s=O}O=c[o>>2]|0;K=O;L=O}O=(K-((c[c[p>>2]>>2]|0)+8)>>3)-q|0;if((O|0)<=1){if(O|0){Ia=g;return}q=$c(b,3144900,0)|0;c[L>>2]=q;c[L+4>>2]=(a[q+4>>0]|64)&255;c[o>>2]=(c[o>>2]|0)+8;Ia=g;return}o=c[m>>2]|0;m=o+12|0;q=c[m>>2]|0;do if((q|0)>0)if(!(a[o+51>>0]|0)){L=o+8|0;c[L>>2]=q+1600+(c[L>>2]|0);c[m>>2]=-1600;break}else{Mc(b);break}while(0);Pc(b,O);Ia=g;return}function uf(b,e,f){b=b|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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0;g=Ia;Ia=Ia+16|0;h=g;if((a[e>>0]|0)==62){i=b+8|0;j=(c[i>>2]|0)+-8|0;c[i>>2]=j;k=0;l=j;m=e+1|0}else{j=c[f+96>>2]|0;k=j;l=c[j>>2]|0;m=e}e=l+4|0;if((c[e>>2]&31|0)==6)n=c[l>>2]|0;else n=0;j=a[m>>0]|0;a:do if(!(j<<24>>24))o=1;else{i=(n|0)==0;p=(k|0)==0;q=f+16|0;r=f+24|0;s=f+28|0;t=f+12|0;u=f+36|0;v=n+4|0;w=f+20|0;x=k+18|0;y=f+32|0;z=f+34|0;A=f+33|0;B=n+6|0;C=f+35|0;D=f+8|0;E=f+45|0;F=n+12|0;G=f+4|0;H=k+8|0;I=f+95|0;J=f+39|0;K=k+28|0;L=b+12|0;M=j;N=1;O=m;while(1){b:do switch(M<<24>>24|0){case 83:{if(!i?(a[v>>0]|0)!=38:0){P=c[F>>2]|0;Q=c[P+36>>2]|0;R=(Q|0)==0?48275:Q+16|0;c[q>>2]=R;Q=c[P+64>>2]|0;c[r>>2]=Q;c[s>>2]=c[P+68>>2];S=R;T=(Q|0)==0?48278:48283}else{c[q>>2]=48270;c[r>>2]=-1;c[s>>2]=-1;S=48270;T=95714}c[t>>2]=T;Q=Pt(S)|0;switch(a[S>>0]|0){case 61:{R=S+1|0;if(Q>>>0>60){U=u;V=R;W=U+59|0;do{a[U>>0]=a[V>>0]|0;U=U+1|0;V=V+1|0}while((U|0)<(W|0));a[I>>0]=0;X=N;break b}else{Hv(u|0,R|0,Q|0)|0;X=N;break b}break}case 64:{if(Q>>>0>60){a[u>>0]=a[72854]|0;a[u+1>>0]=a[72855]|0;a[u+2>>0]=a[72856]|0;U=J;V=S+1+Q+-57|0;W=U+57|0;do{a[U>>0]=a[V>>0]|0;U=U+1|0;V=V+1|0}while((U|0)<(W|0));X=N;break b}else{Hv(u|0,S+1|0,Q|0)|0;X=N;break b}break}default:{R=$t(S,10)|0;U=u;V=46846;W=U+9|0;do{a[U>>0]=a[V>>0]|0;U=U+1|0;V=V+1|0}while((U|0)<(W|0));P=(R|0)==0;if(Q>>>0<45&P){Hv(E|0,S|0,Q|0)|0;Y=E+Q|0}else{Z=P?Q:R-S|0;P=Z>>>0<45?Z:45;Hv(E|0,S|0,P|0)|0;Z=E+P|0;a[Z>>0]=a[72854]|0;a[Z+1>>0]=a[72855]|0;a[Z+2>>0]=a[72856]|0;Y=Z+3|0};a[Y>>0]=a[46856]|0;a[Y+1>>0]=a[46857]|0;a[Y+2>>0]=a[46858]|0;X=N;break b}}break}case 108:{if(!p?(a[x>>0]&1)!=0:0){Z=c[(c[c[k>>2]>>2]|0)+12>>2]|0;P=c[Z+20>>2]|0;if(!P)_=0;else _=c[P+(((c[K>>2]|0)-(c[Z+12>>2]|0)>>2)+-1<<2)>>2]|0}else _=-1;c[w>>2]=_;X=N;break}case 117:{if(!i){a[y>>0]=a[B>>0]|0;if((a[v>>0]|0)!=38){a[z>>0]=a[(c[F>>2]|0)+77>>0]|0;a[A>>0]=a[(c[F>>2]|0)+76>>0]|0;X=N;break b}}else a[y>>0]=0;a[z>>0]=1;a[A>>0]=0;X=N;break}case 116:{if(p)$=0;else $=a[x>>0]&64;a[C>>0]=$;X=N;break}case 110:{c:do if((!p?(a[x>>0]&64)==0:0)?(Z=c[H>>2]|0,(a[Z+18>>0]&1)!=0):0){P=c[(c[c[Z>>2]>>2]|0)+12>>2]|0;aa=c[P+12>>2]|0;ba=((c[Z+28>>2]|0)-aa>>2)+-1|0;Z=c[aa+(ba<<2)>>2]|0;do switch(Z&63){case 43:case 42:{aa=cd(P,ba,Z>>>6&255,G)|0;c[D>>2]=aa;if(!aa)break c;else{X=N;break b}break}case 47:{c[G>>2]=48287;ca=48287;break}case 7:case 6:case 12:{da=0;ea=68;break}case 10:case 8:{da=1;ea=68;break}case 37:{da=5;ea=68;break}case 13:{da=6;ea=68;break}case 14:{da=7;ea=68;break}case 15:{da=8;ea=68;break}case 16:{da=9;ea=68;break}case 17:{da=10;ea=68;break}case 18:{da=11;ea=68;break}case 19:{da=12;ea=68;break}case 20:{da=13;ea=68;break}case 21:{da=14;ea=68;break}case 22:{da=15;ea=68;break}case 23:{da=16;ea=68;break}case 24:{da=17;ea=68;break}case 25:{da=18;ea=68;break}case 26:{da=19;ea=68;break}case 27:{da=20;ea=68;break}case 28:{da=21;ea=68;break}case 29:{da=22;ea=68;break}case 30:{da=23;ea=68;break}case 31:{da=24;ea=68;break}case 32:{da=25;ea=68;break}case 34:{da=4;ea=68;break}case 38:{da=26;ea=68;break}case 39:{da=27;ea=68;break}case 35:{da=28;ea=68;break}default:{ea=69;break c}}while(0);if((ea|0)==68){ea=0;c[G>>2]=(c[(c[L>>2]|0)+156+(da<<2)>>2]|0)+16;ca=48300}c[D>>2]=ca;X=N;break b}else ea=69;while(0);if((ea|0)==69){ea=0;c[D>>2]=0}c[D>>2]=3144900;c[G>>2]=0;X=N;break}case 102:case 76:{X=N;break}default:X=0}while(0);O=O+1|0;M=a[O>>0]|0;if(!(M<<24>>24)){o=X;break a}else N=X}}while(0);if($t(m,102)|0){X=b+8|0;ca=c[X>>2]|0;c[ca>>2]=c[l>>2];c[ca+4>>2]=c[e>>2];c[X>>2]=(c[X>>2]|0)+8}if(!($t(m,76)|0)){Ia=g;return o|0}if(n|0?(a[n+4>>0]|0)!=38:0){m=n+12|0;n=c[(c[m>>2]|0)+20>>2]|0;X=c[b+12>>2]|0;e=X+4|0;ca=Pa[c[X>>2]&3](c[e>>2]|0,0,5,32)|0;if(!ca){if(!(a[X+51>>0]|0))wc(b,4);Ic(b,1);l=Pa[c[X>>2]&3](c[e>>2]|0,0,5,32)|0;if(!l)wc(b,4);else fa=l}else fa=ca;ca=X+12|0;c[ca>>2]=(c[ca>>2]|0)+32;ca=X+56|0;a[fa+5>>0]=a[X+48>>0]&3;a[fa+4>>0]=5;c[fa>>2]=c[ca>>2];c[ca>>2]=fa;c[fa+8>>2]=0;a[fa+6>>0]=-1;ca=fa+12|0;c[ca>>2]=0;X=fa+28|0;c[X>>2]=0;l=fa+16|0;c[l>>2]=2172240;e=fa+7|0;a[e>>0]=0;c[fa+20>>2]=2172240;da=b+8|0;$=c[da>>2]|0;c[$>>2]=fa;c[$+4>>2]=69;c[da>>2]=(c[da>>2]|0)+8;if((c[(c[m>>2]|0)+52>>2]|0)<=0){Ia=g;return o|0}da=h+4|0;$=0;do{_=c[n+($<<2)>>2]|0;k=_+-1|0;d:do if(k>>>0<(c[X>>2]|0)>>>0){ga=(c[ca>>2]|0)+(k<<3)|0;ea=94}else{Y=_<<16;S=0-Y|0;V=(c[l>>2]|0)+(((((Y|0)<0?((Y|0)==(S|0)?0:S):Y)|0)%((1<>0])+-1|1|0)|0)*20|0)|0;while(1){if((c[V+12>>2]|0)==3?(c[V+8>>2]|0)==(Y|0):0)break;S=c[V+16>>2]|0;if(!S){ha=Y;ea=96;break d}else V=S}ga=V;ea=94}while(0);if((ea|0)==94){ea=0;if((ga|0)==2172216){ha=_<<16;ea=96}else ia=ga}if((ea|0)==96){ea=0;c[h>>2]=ha;c[da>>2]=3;ia=Lc(b,fa,h)|0}c[ia>>2]=1;c[ia+4>>2]=1;$=$+1|0}while(($|0)<(c[(c[m>>2]|0)+52>>2]|0));Ia=g;return o|0}m=b+8|0;b=c[m>>2]|0;c[b+4>>2]=0;c[m>>2]=b+8;Ia=g;return o|0}function vf(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=a+8|0;f=a+16|0;g=(c[e>>2]|0)-((c[c[f>>2]>>2]|0)+8)|0;h=g>>3;uf(a,91054,b)|0;b=c[(c[a+12>>2]|0)+36>>2]|0;a:do if((c[b+28>>2]|0)>>>0>1)i=(c[b+12>>2]|0)+8|0;else{j=(c[b+16>>2]|0)+((131072%((1<<(d[b+7>>0]|0))+-1|1|0)|0)*20|0)|0;while(1){if((c[j+12>>2]|0)==3?(c[j+8>>2]|0)==131072:0)break;k=c[j+16>>2]|0;if(!k){i=2172216;break a}else j=k}i=j}while(0);b=c[e>>2]|0;c[b>>2]=c[i>>2];c[b+4>>2]=c[i+4>>2];c[e>>2]=(c[e>>2]|0)+8;i=h+1|0;if(wf(a,i,2)|0){yd(a,-1,i);l=(c[e>>2]|0)+-16|0;m=1;c[e>>2]=l;return m|0}if((g|0)<=-8){l=(c[e>>2]|0)+(i<<3)|0;m=0;c[e>>2]=l;return m|0}i=c[c[f>>2]>>2]|0;f=c[e>>2]|0;g=i+8+(h<<3)|0;if(f>>>0>=g>>>0){l=g;m=0;c[e>>2]=l;return m|0}a=(i+(h<<3)+4+(3-f)|0)>>>3;h=f;do{c[h+4>>2]=0;h=h+8|0}while(h>>>0>>0);c[e>>2]=f+(a+1<<3);l=g;m=0;c[e>>2]=l;return m|0}function wf(b,e,f){b=b|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,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if(!f){g=0;return g|0}h=b+16|0;i=b+8|0;j=c[i>>2]|0;if((j+-8|0)==2172216){g=0;return g|0}if((c[j+-4>>2]&15|0)!=5){g=0;return g|0}c[j+4>>2]=0;c[i>>2]=j+8;if(!(qf(b,-2)|0)){g=0;return g|0}j=f+-1|0;f=(e|0)<-1000999;k=(e|0)==-1001e3;l=b+12|0;m=-1001e3-e|0;n=m+-1|0;a:do if((e|0)>0){while(1){o=c[i>>2]|0;if((o+-16|0)!=2172216?(c[o+-12>>2]&15|0)==4:0){p=(c[c[h>>2]>>2]|0)+(e<<3)|0;q=p>>>0>>0?p:2172216;p=o+-8|0;if(((p|0)!=2172216&(q|0)!=2172216?(c[q+4>>2]|0)==(c[o+-4>>2]|0):0)?Rc(0,q,p)|0:0){r=27;break a}if(wf(b,e,j)|0)break a;s=c[i>>2]|0}else s=o;c[i>>2]=s+-8;if(!(qf(b,-2)|0)){g=0;break}}return g|0}else{while(1){o=c[i>>2]|0;if((o+-16|0)!=2172216?(c[o+-12>>2]&15|0)==4:0){p=c[h>>2]|0;do if(f){if(k){t=(c[l>>2]|0)+36|0;r=24;break}q=c[p>>2]|0;if((c[q+4>>2]|32|0)!=54){u=c[q>>2]|0;t=(m|0)>(d[u+6>>0]|0)?2172216:u+16+(n<<3)|0;r=24}}else{t=o+(e<<3)|0;r=24}while(0);if((((r|0)==24?(r=0,p=o+-8|0,(p|0)!=2172216&(t|0)!=2172216):0)?(c[t+4>>2]|0)==(c[o+-4>>2]|0):0)?Rc(0,t,p)|0:0){r=27;break a}if(wf(b,e,j)|0)break a;v=c[i>>2]|0}else v=o;c[i>>2]=v+-8;if(!(qf(b,-2)|0)){g=0;break}}return g|0}while(0);if((r|0)==27){c[i>>2]=(c[i>>2]|0)+-8;g=1;return g|0}r=c[i>>2]|0;v=r+-8|0;j=r+-16|0;while(1){c[j>>2]=c[v>>2];c[j+4>>2]=c[j+12>>2];r=v+8|0;w=c[i>>2]|0;if(r>>>0>>0){e=v;v=r;j=e}else break}c[i>>2]=w+-8;w=c[l>>2]|0;j=w+12|0;v=c[j>>2]|0;do if((v|0)>0)if(!(a[w+51>>0]|0)){e=w+8|0;c[e>>2]=v+1600+(c[e>>2]|0);c[j>>2]=-1600;break}else{Mc(b);break}while(0);j=$c(b,103254,1)|0;v=c[i>>2]|0;c[v>>2]=j;c[v+4>>2]=(a[j+4>>0]|64)&255;j=c[i>>2]|0;v=j+8|0;c[i>>2]=v;w=v;do{v=w;w=w+-8|0;c[v>>2]=c[w>>2];c[v+4>>2]=c[v+-4>>2]}while(v>>>0>j>>>0);w=c[i>>2]|0;c[j+-8>>2]=c[w>>2];c[j+-4>>2]=c[w+4>>2];w=c[l>>2]|0;l=w+12|0;j=c[l>>2]|0;do if((j|0)>0)if(!(a[w+51>>0]|0)){i=w+8|0;c[i>>2]=j+1600+(c[i>>2]|0);c[l>>2]=-1600;break}else{Mc(b);break}while(0);Pc(b,3);g=1;return g|0}function xf(b,d,e){b=b|0;d=d|0;e=e|0;var 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;f=Ia;Ia=Ia+128|0;g=f+16|0;h=f+8|0;i=f;j=f+28|0;f=c[b+16>>2]|0;if((f|0)==(b+72|0)){c[i>>2]=d;c[i+4>>2]=e;yf(b,48311,i)|0}c[j+96>>2]=f;uf(b,48333,j)|0;if(!(Ot(c[j+8>>2]|0,46583)|0)){f=d+-1|0;if(!f){c[h>>2]=c[j+4>>2];c[h+4>>2]=e;yf(b,48335,h)|0}else k=f}else k=d;d=j+4|0;f=c[d>>2]|0;if(f|0){l=f;c[g>>2]=k;m=g+4|0;c[m>>2]=l;n=g+8|0;c[n>>2]=e;yf(b,48365,g)|0}do if(!(vf(b,j)|0))o=78709;else{f=b+8|0;h=c[f>>2]|0;i=h+-8|0;if((c[h+-4>>2]&15|0)==4)p=i;else{if(!(Hd(b,i)|0)){o=0;break}i=c[b+12>>2]|0;h=i+12|0;q=c[h>>2]|0;do if((q|0)>0)if(!(a[i+51>>0]|0)){r=i+8|0;c[r>>2]=q+1600+(c[r>>2]|0);c[h>>2]=-1600;break}else{Mc(b);break}while(0);p=(c[f>>2]|0)+-8|0}o=(c[p>>2]|0)+16|0}while(0);c[d>>2]=o;l=o;c[g>>2]=k;m=g+4|0;c[m>>2]=l;n=g+8|0;c[n>>2]=e;yf(b,48365,g)|0;return 0}function yf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=Ia;Ia=Ia+16|0;f=e;c[f>>2]=d;zf(a,1);Pd(a,b,f)|0;sf(a,2);pf(a)|0;return 0}function zf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=Ia;Ia=Ia+112|0;f=e;g=e+8|0;if((d|0)>=0){h=c[b+16>>2]|0;i=b+72|0;if((d|0)!=0&(h|0)!=(i|0)){j=h;k=d;while(1){l=k+-1|0;m=c[j+8>>2]|0;if((k|0)>1&(m|0)!=(i|0)){j=m;k=l}else{n=m;o=l;break}}}else{n=h;o=d}if(!((o|0)!=0|(n|0)==(i|0))?(c[g+96>>2]=n,uf(b,48395,g)|0,n=g+20|0,i=c[n>>2]|0,(i|0)>0):0){c[f>>2]=g+36;c[f+4>>2]=i<<16;Qd(b,48398,f)|0;c[543056]=c[n>>2];Ia=e;return}}n=c[b+12>>2]|0;f=n+12|0;i=c[f>>2]|0;do if((i|0)>0)if(!(a[n+51>>0]|0)){g=n+8|0;c[g>>2]=i+1600+(c[g>>2]|0);c[f>>2]=-1600;break}else{Mc(b);break}while(0);f=$c(b,3144900,0)|0;i=b+8|0;b=c[i>>2]|0;c[b>>2]=f;c[b+4>>2]=(a[f+4>>0]|64)&255;c[i>>2]=(c[i>>2]|0)+8;Ia=e;return}function Af(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Ia;Ia=Ia+16|0;g=f;h=Gd(a,b,e)|0;if(h|0){Ia=f;return h|0}e=c[a+16>>2]|0;do if((b|0)>0){i=(c[e>>2]|0)+(b<<3)|0;if(i>>>0<(c[a+8>>2]|0)>>>0){j=i;k=10}else l=0}else{if((b|0)>=-1000999){j=(c[a+8>>2]|0)+(b<<3)|0;k=10;break}if((b|0)==-1001e3){j=(c[a+12>>2]|0)+36|0;k=10;break}i=-1001e3-b|0;m=c[e>>2]|0;if((c[m+4>>2]|32|0)!=54?(n=c[m>>2]|0,(i|0)<=(d[n+6>>0]|0|0)):0){j=n+16+(i+-1<<3)|0;k=10}else l=0}while(0);if((k|0)==10)if((j|0)==2172216)l=0;else l=(c[j+4>>2]&15)+1|0;j=c[16+(l<<2)>>2]|0;c[g>>2]=61335;c[g+4>>2]=j;xf(a,b,Qd(a,48406,g)|0)|0;Ia=f;return h|0}function Bf(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=c[a+16>>2]|0;do if((b|0)>0){h=(c[g>>2]|0)+(b<<3)|0;if(h>>>0<(c[a+8>>2]|0)>>>0){i=h;j=9}}else{if((b|0)>=-1000999){i=(c[a+8>>2]|0)+(b<<3)|0;j=9;break}if((b|0)==-1001e3){i=(c[a+12>>2]|0)+36|0;j=9;break}h=-1001e3-b|0;k=c[g>>2]|0;if((c[k+4>>2]|32|0)!=54?(l=c[k>>2]|0,(h|0)<=(d[l+6>>0]|0|0)):0){i=l+16+(h+-1<<3)|0;j=9}}while(0);if(((j|0)==9?(i|0)!=2172216:0)?c[i+4>>2]&15|0:0){m=Af(a,b,f)|0;return m|0}if(!f){m=e;return m|0}if(!e)n=0;else n=Pt(e)|0;c[f>>2]=n;m=e;return m|0}function Cf(a,b){a=a|0;b=b|0;var 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;e=Ia;Ia=Ia+16|0;f=e;g=e+8|0;h=a+16|0;i=c[h>>2]|0;j=(b|0)>0;do if(!j){if((b|0)>=-1000999){k=(c[a+8>>2]|0)+(b<<3)|0;break}if((b|0)==-1001e3){k=(c[a+12>>2]|0)+36|0;break}l=-1001e3-b|0;m=c[i>>2]|0;if((c[m+4>>2]|32|0)==54)k=2172216;else{n=c[m>>2]|0;k=(l|0)>(d[n+6>>0]|0|0)?2172216:n+16+(l+-1<<3)|0}}else{l=(c[i>>2]|0)+(b<<3)|0;k=l>>>0<(c[a+8>>2]|0)>>>0?l:2172216}while(0);l=c[k+4>>2]|0;a:do if((l|0)==3)o=c[k>>2]|0;else{do if((l&15|0)==4){n=c[k>>2]|0;if(!(Uc(n+16|0,c[n+12>>2]|0,g)|0)){p=c[h>>2]|0;break}else{o=c[g>>2]|0;break a}}else p=i;while(0);do if(j){n=(c[p>>2]|0)+(b<<3)|0;if(n>>>0<(c[a+8>>2]|0)>>>0){q=n;r=24}else s=0}else{if((b|0)>=-1000999){q=(c[a+8>>2]|0)+(b<<3)|0;r=24;break}if((b|0)==-1001e3){q=(c[a+12>>2]|0)+36|0;r=24;break}n=-1001e3-b|0;m=c[p>>2]|0;if((c[m+4>>2]|32|0)!=54?(t=c[m>>2]|0,(n|0)<=(d[t+6>>0]|0|0)):0){q=t+16+(n+-1<<3)|0;r=24}else s=0}while(0);if((r|0)==24)if((q|0)==2172216)s=0;else s=(c[q+4>>2]&15)+1|0;n=c[16+(s<<2)>>2]|0;c[f>>2]=46167;c[f+4>>2]=n;xf(a,b,Qd(a,48406,f)|0)|0;u=0;Ia=e;return u|0}while(0);u=o>>16;Ia=e;return u|0}function Df(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;a=b+4|0;e=c[a>>2]|0;if(!e){f=0;return f|0}c[d>>2]=e;c[a>>2]=0;f=c[b>>2]|0;return f|0}function Ef(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=Ia;Ia=Ia+16|0;e=d;f=Pt(b)|0;c[e>>2]=b;c[e+4>>2]=f;f=be(a,3,e,b,0)|0;Ia=d;return f|0}function Ff(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=c[a+16>>2]|0;do if((b|0)<=0){if((b|0)>=-1000999){g=(c[a+8>>2]|0)+(b<<3)|0;break}if((b|0)==-1001e3){g=(c[a+12>>2]|0)+36|0;break}h=-1001e3-b|0;i=c[f>>2]|0;if((c[i+4>>2]|32|0)==54)g=2172216;else{j=c[i>>2]|0;g=(h|0)>(d[j+6>>0]|0|0)?2172216:j+16+(h+-1<<3)|0}}else{h=(c[f>>2]|0)+(b<<3)|0;g=h>>>0<(c[a+8>>2]|0)>>>0?h:2172216}while(0);b=c[g+4>>2]|0;switch(b&15){case 5:{k=(c[g>>2]|0)+8|0;break}case 7:{k=(c[g>>2]|0)+8|0;break}default:k=(c[a+12>>2]|0)+276+((b&15)<<2)|0}b=c[k>>2]|0;if(!b){l=0;return l|0}k=a+8|0;g=c[k>>2]|0;c[g>>2]=b;c[g+4>>2]=69;c[k>>2]=(c[k>>2]|0)+8;Nd(a,e)|0;e=c[k>>2]|0;a=Kc(c[e+-16>>2]|0,e+-8|0)|0;e=c[k>>2]|0;c[e+-8>>2]=c[a>>2];c[e+-4>>2]=c[a+4>>2];a=c[k>>2]|0;e=a+-8|0;if((e|0)!=2172216?(c[a+-4>>2]&15|0)==0:0){m=a+-16|0;n=0}else{g=e;e=a+-16|0;while(1){c[e>>2]=c[g>>2];c[e+4>>2]=c[e+12>>2];a=g+8|0;o=c[k>>2]|0;if(a>>>0>>0){b=g;g=a;e=b}else break}m=o+-8|0;n=1}c[k>>2]=m;l=n;return l|0}function Gf(a,e,f){a=a|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Ia;Ia=Ia+16|0;h=g;if((e+1000999|0)>>>0>1000999)i=e;else i=((c[a+8>>2]|0)-(c[c[a+16>>2]>>2]|0)>>3)+e|0;if(!(Ff(a,i,f)|0)){j=0;Ia=g;return j|0}f=c[a+16>>2]|0;do if((i|0)<=0){if((i|0)>=-1000999){k=(c[a+8>>2]|0)+(i<<3)|0;break}if((i|0)==-1001e3){k=(c[a+12>>2]|0)+36|0;break}e=-1001e3-i|0;l=c[f>>2]|0;if((c[l+4>>2]|32|0)==54)k=2172216;else{m=c[l>>2]|0;k=(e|0)>(d[m+6>>0]|0|0)?2172216:m+16+(e+-1<<3)|0}}else{e=(c[f>>2]|0)+(i<<3)|0;k=e>>>0<(c[a+8>>2]|0)>>>0?e:2172216}while(0);i=a+8|0;f=c[i>>2]|0;c[f>>2]=c[k>>2];c[f+4>>2]=c[k+4>>2];k=c[i>>2]|0;c[i>>2]=k+8;i=k+-8|0;k=a+38|0;f=(b[k>>1]|0)+1<<16>>16;b[k>>1]=f;if((f&65535)>199){if(f<<16>>16==200)yc(a,46208,h);if((f&65535)>224)wc(a,6)}f=a+36|0;b[f>>1]=(b[f>>1]|0)+1<<16>>16;if(!(Cc(a,i,1)|0))Dc(a);b[f>>1]=(b[f>>1]|0)+-1<<16>>16;b[k>>1]=(b[k>>1]|0)+-1<<16>>16;j=1;Ia=g;return j|0}function Hf(b,e,f){b=b|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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;g=Ia;Ia=Ia+16|0;h=g;a:do if(!(Gf(b,e,48471)|0)){i=c[b+16>>2]|0;j=(e|0)>0;do if(j){k=(c[i>>2]|0)+(e<<3)|0;l=c[b+8>>2]|0;if(k>>>0>>0){m=k;n=10}else{o=l;p=k;n=40}}else{if((e|0)>=-1000999){m=(c[b+8>>2]|0)+(e<<3)|0;n=10;break}if((e|0)==-1001e3){m=(c[b+12>>2]|0)+36|0;n=10;break}k=-1001e3-e|0;l=c[i>>2]|0;q=c[l+4>>2]|32;if((q|0)!=54){r=c[l>>2]|0;if((k|0)>(d[r+6>>0]|0)){s=q;t=l;u=k;n=46}else{m=r+16+(k+-1<<3)|0;n=10}}else v=0}while(0);do if((n|0)==10){b:do if((m|0)!=2172216)switch(c[m+4>>2]&15){case 4:case 3:{do if(!j){if((e|0)>=-1000999){w=(c[b+8>>2]|0)+(e<<3)|0;break}if((e|0)==-1001e3){w=(c[b+12>>2]|0)+36|0;break}k=-1001e3-e|0;r=c[i>>2]|0;if((c[r+4>>2]|32|0)==54)w=2172216;else{l=c[r>>2]|0;w=(k|0)>(d[l+6>>0]|0)?2172216:l+16+(k+-1<<3)|0}}else{k=(c[i>>2]|0)+(e<<3)|0;w=k>>>0<(c[b+8>>2]|0)>>>0?k:2172216}while(0);k=b+8|0;l=c[k>>2]|0;c[l>>2]=c[w>>2];c[l+4>>2]=c[w+4>>2];c[k>>2]=(c[k>>2]|0)+8;break a;break}case 1:{do if(!j){if((e|0)>=-1000999){x=(c[b+8>>2]|0)+(e<<3)|0;break}if((e|0)==-1001e3){x=(c[b+12>>2]|0)+36|0;break}k=-1001e3-e|0;l=c[i>>2]|0;if((c[l+4>>2]|32|0)==54)x=2172216;else{r=c[l>>2]|0;x=(k|0)>(d[r+6>>0]|0)?2172216:r+16+(k+-1<<3)|0}}else{k=(c[i>>2]|0)+(e<<3)|0;x=k>>>0<(c[b+8>>2]|0)>>>0?k:2172216}while(0);switch(c[x+4>>2]|0){case 0:{n=31;break}case 1:{if(!(c[x>>2]|0))n=31;else y=63936;break}default:y=63936}if((n|0)==31)y=63941;Nd(b,y)|0;break a;break}case 0:{k=c[b+12>>2]|0;r=k+12|0;l=c[r>>2]|0;do if((l|0)>0)if(!(a[k+51>>0]|0)){q=k+8|0;c[q>>2]=l+1600+(c[q>>2]|0);c[r>>2]=-1600;break}else{Mc(b);break}while(0);r=$c(b,63947,3)|0;l=b+8|0;k=c[l>>2]|0;c[k>>2]=r;c[k+4>>2]=(a[r+4>>0]|64)&255;c[l>>2]=(c[l>>2]|0)+8;break a;break}default:break b}while(0);if(j){o=c[b+8>>2]|0;p=(c[i>>2]|0)+(e<<3)|0;n=40;break}if((e|0)>=-1000999){z=(c[b+8>>2]|0)+(e<<3)|0;n=48;break}if((e|0)==-1001e3){z=(c[b+12>>2]|0)+36|0;n=48;break}else{l=c[i>>2]|0;s=c[l+4>>2]|32;t=l;u=-1001e3-e|0;n=46;break}}while(0);if((n|0)==40)if(p>>>0>>0){z=p;n=48}else v=0;else if((n|0)==46)if((s|0)!=54?(i=c[t>>2]|0,(u|0)<=(d[i+6>>0]|0)):0){z=i+16+(u+-1<<3)|0;n=48}else v=0;if((n|0)==48)if((z|0)==2172216)v=0;else v=(c[z+4>>2]&15)+1|0;i=c[16+(v<<2)>>2]|0;j=Jd(b,e)|0;c[h>>2]=i;c[h+4>>2]=j;Qd(b,48482,h)|0}while(0);h=b+8|0;e=c[h>>2]|0;v=e+-8|0;if((c[e+-4>>2]&15|0)==4)A=v;else{if(!(Hd(b,v)|0)){if(!f){B=0;Ia=g;return B|0}c[f>>2]=0;B=0;Ia=g;return B|0}v=c[b+12>>2]|0;e=v+12|0;z=c[e>>2]|0;do if((z|0)>0)if(!(a[v+51>>0]|0)){n=v+8|0;c[n>>2]=z+1600+(c[n>>2]|0);c[e>>2]=-1600;break}else{Mc(b);break}while(0);A=(c[h>>2]|0)+-8|0}if(f|0)c[f>>2]=c[(c[A>>2]|0)+12>>2];B=(c[A>>2]|0)+16|0;Ia=g;return B|0}function If(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;f=Ia;Ia=Ia+16|0;g=Pa[d&3](e,0,8,432)|0;if(!g){h=0;Ia=f;return h|0}i=g+120|0;c[g>>2]=0;a[g+4>>0]=8;a[g+168>>0]=33;a[g+5>>0]=1;a[g+170>>0]=0;c[g+12>>2]=i;c[g+28>>2]=0;c[g+16>>2]=0;c[g+32>>2]=0;c[g+64>>2]=0;b[g+38>>1]=0;c[g+52>>2]=0;a[g+40>>0]=0;c[g+44>>2]=0;a[g+41>>0]=1;c[g+48>>2]=0;c[g+56>>2]=0;b[g+36>>1]=1;a[g+6>>0]=0;c[g+68>>2]=0;c[i>>2]=d;c[g+124>>2]=e;c[g+264>>2]=g;e=g;d=f;i=(Fa(0)|0)^16;j=(i>>>2)+(1>>>24&255)+(i<<5)^i;i=(j>>>2)+(1>>>16&255)+(j<<5)^j;j=(i>>>2)+(1>>>8&255)+(i<<5)^i;i=(j>>>2)+1+(j<<5)^j;j=(i>>>2)+(2172216>>>24&255)+(i<<5)^i;i=(j>>>2)+(2172216>>>16&255)+(j<<5)^j;j=(i>>>2)+(2172216>>>8&255)+(i<<5)^i;i=(j>>>2)+56+(j<<5)^j;j=(i>>>2)+(d>>>24)+(i<<5)^i;i=(j>>>2)+(d>>>16&255)+(j<<5)^j;j=(i>>>2)+(d>>>8&255)+(i<<5)^i;i=(j>>>2)+(d&252)+(j<<5)^j;j=(i>>>2)+(e>>>24)+(i<<5)^i;i=(j>>>2)+(e>>>16&255)+(j<<5)^j;j=(i>>>2)+(e>>>8&255)+(i<<5)^i;c[g+164>>2]=(j>>>2)+(e&255)+(j<<5)^j;j=g+216|0;c[g+228>>2]=j;c[g+232>>2]=j;a[g+171>>0]=0;j=g+140|0;c[g+160>>2]=0;c[g+236>>2]=0;c[g+244>>2]=0;c[g+260>>2]=0;c[g+268>>2]=0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;a[g+169>>0]=5;j=g+128|0;e=g+176|0;i=e+40|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(i|0));c[j>>2]=432;c[g+132>>2]=0;c[g+248>>2]=200;c[g+252>>2]=200;c[g+256>>2]=200;e=g+396|0;i=e+36|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(i|0));if(!(vc(g,5,0)|0)){h=g;Ia=f;return h|0}Kf(g);h=0;Ia=f;return h|0}function Jf(b,e){b=b|0;e=e|0;var 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;e=Ia;Ia=Ia+16|0;f=e;g=b+12|0;h=c[g>>2]|0;i=h+4|0;j=Pa[c[h>>2]&3](c[i>>2]|0,0,0,320)|0;if(!j){if(!(a[h+51>>0]|0))wc(b,4);Ic(b,1);k=Pa[c[h>>2]&3](c[i>>2]|0,0,0,320)|0;if(!k)wc(b,4);else l=k}else l=j;j=h+12|0;c[j>>2]=(c[j>>2]|0)+320;c[b+28>>2]=l;c[b+32>>2]=40;j=l+4|0;c[j>>2]=0;c[l+12>>2]=0;c[l+20>>2]=0;c[l+28>>2]=0;c[l+36>>2]=0;c[l+44>>2]=0;c[l+52>>2]=0;c[l+60>>2]=0;c[l+68>>2]=0;c[l+76>>2]=0;c[l+84>>2]=0;c[l+92>>2]=0;c[l+100>>2]=0;c[l+108>>2]=0;c[l+116>>2]=0;c[l+124>>2]=0;c[l+132>>2]=0;c[l+140>>2]=0;c[l+148>>2]=0;c[l+156>>2]=0;c[l+164>>2]=0;c[l+172>>2]=0;c[l+180>>2]=0;c[l+188>>2]=0;c[l+196>>2]=0;c[l+204>>2]=0;c[l+212>>2]=0;c[l+220>>2]=0;c[l+228>>2]=0;c[l+236>>2]=0;c[l+244>>2]=0;c[l+252>>2]=0;c[l+260>>2]=0;c[l+268>>2]=0;c[l+276>>2]=0;c[l+284>>2]=0;c[l+292>>2]=0;c[l+300>>2]=0;c[l+308>>2]=0;c[l+316>>2]=0;c[b+24>>2]=l+280;k=b+72|0;c[b+80>>2]=0;c[b+84>>2]=0;a[b+90>>0]=0;c[k>>2]=l;c[b+8>>2]=l+8;c[j>>2]=0;c[b+76>>2]=l+168;c[b+16>>2]=k;k=c[g>>2]|0;l=k+4|0;j=Pa[c[k>>2]&3](c[l>>2]|0,0,5,32)|0;if(!j){if(!(a[k+51>>0]|0))wc(b,4);Ic(b,1);i=Pa[c[k>>2]&3](c[l>>2]|0,0,5,32)|0;if(!i)wc(b,4);else m=i}else m=j;j=k+12|0;c[j>>2]=(c[j>>2]|0)+32;j=k+56|0;a[m+5>>0]=a[k+48>>0]&3;a[m+4>>0]=5;c[m>>2]=c[j>>2];c[j>>2]=m;c[m+8>>2]=0;a[m+6>>0]=-1;j=m+12|0;c[j>>2]=0;k=m+28|0;c[k>>2]=0;i=m+16|0;c[i>>2]=2172240;l=m+7|0;a[l>>0]=0;c[m+20>>2]=2172240;c[h+36>>2]=m;c[h+40>>2]=69;Vc(b,m,2,0);n=b;a:do if(!(c[k>>2]|0)){o=(c[i>>2]|0)+((65536%((1<>0])+-1|1|0)|0)*20|0)|0;while(1){if((c[o+12>>2]|0)==3?(c[o+8>>2]|0)==65536:0)break;p=c[o+16>>2]|0;if(!p){q=17;break a}else o=p}r=o;q=16}else{r=c[j>>2]|0;q=16}while(0);if((q|0)==16)if((r|0)==2172216)q=17;else s=r;if((q|0)==17){c[f>>2]=65536;c[f+4>>2]=3;s=Lc(b,m,f)|0}c[s>>2]=n;c[s+4>>2]=72;s=c[g>>2]|0;n=s+4|0;r=Pa[c[s>>2]&3](c[n>>2]|0,0,5,32)|0;if(!r){if(!(a[s+51>>0]|0))wc(b,4);Ic(b,1);p=Pa[c[s>>2]&3](c[n>>2]|0,0,5,32)|0;if(!p)wc(b,4);else t=p}else t=r;r=s+12|0;c[r>>2]=(c[r>>2]|0)+32;r=s+56|0;a[t+5>>0]=a[s+48>>0]&3;a[t+4>>0]=5;c[t>>2]=c[r>>2];c[r>>2]=t;c[t+8>>2]=0;a[t+6>>0]=-1;c[t+12>>2]=0;c[t+28>>2]=0;c[t+16>>2]=2172240;a[t+7>>0]=0;c[t+20>>2]=2172240;r=t;b:do if((c[k>>2]|0)>>>0>1){u=(c[j>>2]|0)+8|0;q=29}else{t=(c[i>>2]|0)+((131072%((1<>0])+-1|1|0)|0)*20|0)|0;while(1){if((c[t+12>>2]|0)==3?(c[t+8>>2]|0)==131072:0)break;s=c[t+16>>2]|0;if(!s){q=30;break b}else t=s}u=t;q=29}while(0);if((q|0)==29)if((u|0)==2172216)q=30;else v=u;if((q|0)==30){c[f>>2]=131072;c[f+4>>2]=3;v=Lc(b,m,f)|0}c[v>>2]=r;c[v+4>>2]=69;dd(b,32);v=0;do{r=c[960+(v<<2)>>2]|0;f=vd(b,r,Pt(r)|0)|0;c[(c[g>>2]|0)+156+(v<<2)>>2]=f;f=(c[(c[g>>2]|0)+156+(v<<2)>>2]|0)+5|0;a[f>>0]=a[f>>0]|32;v=v+1|0}while((v|0)!=30);v=0;do{g=c[656+(v<<2)>>2]|0;f=vd(b,g,Pt(g)|0)|0;g=f+5|0;a[g>>0]=a[g>>0]|32;v=v+1|0;a[f+6>>0]=v}while((v|0)!=22);v=$c(b,49448,17)|0;c[h+152>>2]=v;b=v+5|0;a[b>>0]=a[b>>0]|32;a[h+51>>0]=1;c[h+148>>2]=34796;Ia=e;return}function Kf(a){a=a|0;var 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;b=a+12|0;d=c[b>>2]|0;e=a+28|0;Qc(a,c[e>>2]|0);Lf(a);f=c[b>>2]|0;g=c[f+24>>2]|0;h=c[f+32>>2]<<2;Pa[c[f>>2]&3](c[f+4>>2]|0,g,h,0)|0;i=f+12|0;c[i>>2]=(c[i>>2]|0)+((g|0)==0?0:0-h|0);h=d+116|0;g=c[h>>2]|0;i=d+124|0;f=c[i>>2]|0;j=c[b>>2]|0;k=Pa[c[j>>2]&3](c[j+4>>2]|0,g,f,0)|0;l=j+12|0;c[l>>2]=(c[l>>2]|0)+((g|0)==0?0:0-f|0);c[h>>2]=k;c[i>>2]=0;i=c[e>>2]|0;if(!i){m=c[d>>2]|0;n=d+4|0;o=c[n>>2]|0;Pa[m&3](o,a,432,0)|0;return}c[a+16>>2]=a+72;k=a+84|0;h=c[k>>2]|0;c[k>>2]=0;if(!h)p=i;else{i=h;do{h=i;i=c[i+12>>2]|0;k=c[b>>2]|0;Pa[c[k>>2]&3](c[k+4>>2]|0,h,40,0)|0;f=k+12|0;c[f>>2]=(c[f>>2]|0)-((h|0)==0?0:40)}while((i|0)!=0);p=c[e>>2]|0}e=c[a+32>>2]<<3;i=c[b>>2]|0;Pa[c[i>>2]&3](c[i+4>>2]|0,p,e,0)|0;b=i+12|0;c[b>>2]=(c[b>>2]|0)-((p|0)==0?0:e);m=c[d>>2]|0;n=d+4|0;o=c[n>>2]|0;Pa[m&3](o,a,432,0)|0;return}
+function Wr(b){b=b|0;var c=0,d=0;if(!(ka(26)|0)){cv(101597)|0;return 0}ka(46)|0;c=Pt(b)|0;if((c|0)>0){d=0;do{la(47,a[b+d>>0]|0)|0;d=d+1|0}while((d|0)!=(c|0))}ka(48)|0;return 0}function Xr(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;b=Ia;Ia=Ia+16|0;d=b+4|0;e=b;f=(a|0)==0;g=c[543653]|0;if(f|(g|0)!=0)h=g;else{L(d|0,e|0)|0;if(!(ka(34)|0))i=c[e>>2]|0;else{c[d>>2]=ka(35)|0;g=ka(36)|0;c[e>>2]=g;i=g}c[730435]=c[d>>2]<<2;c[730436]=i<<2;h=c[543653]|0}if(!(f&(h|0)!=0)){c[543653]=a;Ia=b;return}cv(101745)|0;ka(49)|0;c[543653]=a;Ia=b;return}function Yr(a){a=a|0;return}function Zr(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=gs(a,103074)|0;if(e|0){uo(b,1,d,e)|0;Eo(e)}e=c[a+1024>>2]|0;if(!e){mq(a);return}Ra[e&7](a);mq(a);return}function _r(a){a=a|0;var b=0,d=0;b=Ia;Ia=Ia+16|0;d=b;if(a|0){c[d>>2]=a;hv(101811,d)|0}zu(c[8720]|0)|0;d=c[a+1028>>2]|0;if(!d){mq(a);Ia=b;return}Ra[d&7](a);mq(a);Ia=b;return}function $r(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=iq(1032)|0;Yt(f,b)|0;c[f+1024>>2]=d;c[f+1028>>2]=e;qa(a|0,f|0,2,4);return 0}function as(){var a=0;if(c[543654]|0){a=0;return a|0}a=ka(41)|0;return a|0}function bs(a){a=a|0;var b=0;b=c[730439]|0;if(b|0)mq(b);b=iq((Pt(a)|0)+1|0)|0;c[730439]=b;Yt(b,a)|0;ka(50)|0;return 0}function cs(a){a=a|0;ka(51)|0;ma(52,a|0,Pt(a)|0)|0;return ka(53)|0}function ds(){if(c[730434]|0)return;c[730434]=1;ka(54)|0;return}function es(){var b=0,d=0,e=0;if(ka(55)|0){Iv(1791328,0,131073)|0;ma(56,1791328,131072)|0;b=kq((Pt(1791328)|0)+1|0)|0;Yt(b,1791328)|0;d=b;return d|0}b=c[730439]|0;if(!b){e=kq(2)|0;a[e>>0]=0;d=e;return d|0}else{e=iq((Pt(b)|0)+1|0)|0;Yt(e,c[730439]|0)|0;d=e;return d|0}return 0}function fs(a){a=a|0;return 0}function gs(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ia;Ia=Ia+1296|0;f=e+1280|0;g=e+1024|0;h=e+512|0;i=e;Mo(b,0,h,i);c[f>>2]=h;c[f+4>>2]=i;it(g,102731,f)|0;f=c[730440]|0;a:do if((f|0)>0){i=0;while(1){h=c[1922416+(i<<2)>>2]|0;i=i+1|0;if(!(Ot(g,h+24|0)|0)){j=h;break a}if((i|0)>=(f|0)){j=0;break}}}else j=0;while(0);switch(a[d>>0]|0){case 114:{if(!j){k=0;Ia=e;return k|0}c[j+20>>2]=0;k=j;Ia=e;return k|0}case 119:{if(!j){d=nq(0)|0;c[d+4>>2]=1;Es(d+24|0,g)|0;g=c[730440]|0;c[1922416+(g<<2)>>2]=d;c[730440]=g+1;k=d;Ia=e;return k|0}else{c[j+16>>2]=0;c[j+20>>2]=0;k=j;Ia=e;return k|0}break}default:{k=0;Ia=e;return k|0}}return 0}function hs(a){a=a|0;var b=0,d=0,e=0;b=c[730440]|0;a:do if((b|0)>0){d=0;while(1){if((c[1922416+(d<<2)>>2]|0)==(a|0)){e=1;break a}d=d+1|0;if((d|0)>=(b|0)){e=0;break}}}else e=0;while(0);return e|0}function is(){var a=0,b=0,d=0;a=kq(46756)|0;Iv(a|0,0,46756)|0;c[a>>2]=iq(65538)|0;b=a+4|0;c[b>>2]=Fn(128,128,8)|0;c[a+12>>2]=Fn(128,64,8)|0;c[a+8>>2]=c[b>>2];b=a+16|0;d=0;do{c[b+(d*660|0)+8>>2]=(d|0)==0?1:16;d=d+1|0}while((d|0)!=64);d=a+42256|0;b=0;do{c[d+(b<<4)>>2]=65;c[d+(b<<4)+4>>2]=66;c[d+(b<<4)+8>>2]=67;c[d+(b<<4)+12>>2]=68;b=b+1|0}while((b|0)!=64);c[a+44588>>2]=zs()|0;c[a+44592>>2]=zs()|0;c[a+44596>>2]=zs()|0;c[a+44600>>2]=zs()|0;Iv(a+44604|0,-1,2144)|0;return a|0}function js(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a)return;Gn(c[a+4>>2]|0)|0;Gn(c[a+12>>2]|0)|0;Tq(a);Oq(a+16|0);Oq(a+676|0);Oq(a+1336|0);Oq(a+1996|0);Oq(a+2656|0);Oq(a+3316|0);Oq(a+3976|0);Oq(a+4636|0);Oq(a+5296|0);Oq(a+5956|0);Oq(a+6616|0);Oq(a+7276|0);Oq(a+7936|0);Oq(a+8596|0);Oq(a+9256|0);Oq(a+9916|0);Oq(a+10576|0);Oq(a+11236|0);Oq(a+11896|0);Oq(a+12556|0);Oq(a+13216|0);Oq(a+13876|0);Oq(a+14536|0);Oq(a+15196|0);Oq(a+15856|0);Oq(a+16516|0);Oq(a+17176|0);Oq(a+17836|0);Oq(a+18496|0);Oq(a+19156|0);Oq(a+19816|0);Oq(a+20476|0);Oq(a+21136|0);Oq(a+21796|0);Oq(a+22456|0);Oq(a+23116|0);Oq(a+23776|0);Oq(a+24436|0);Oq(a+25096|0);Oq(a+25756|0);Oq(a+26416|0);Oq(a+27076|0);Oq(a+27736|0);Oq(a+28396|0);Oq(a+29056|0);Oq(a+29716|0);Oq(a+30376|0);Oq(a+31036|0);Oq(a+31696|0);Oq(a+32356|0);Oq(a+33016|0);Oq(a+33676|0);Oq(a+34336|0);Oq(a+34996|0);Oq(a+35656|0);Oq(a+36316|0);Oq(a+36976|0);Oq(a+37636|0);Oq(a+38296|0);Oq(a+38956|0);Oq(a+39616|0);Oq(a+40276|0);Oq(a+40936|0);Oq(a+41596|0);mq(c[a>>2]|0);b=a+46748|0;d=a+46752|0;e=c[d>>2]|0;if((c[b>>2]|0)>0){f=e;g=0;while(1){pq(c[f+(g<<2)>>2]|0);g=g+1|0;h=c[d>>2]|0;if((g|0)>=(c[b>>2]|0)){i=h;break}else f=h}}else i=e;mq(i);As(c[a+44588>>2]|0);As(c[a+44592>>2]|0);As(c[a+44596>>2]|0);As(c[a+44600>>2]|0);Iv(a|0,0,46756)|0;mq(a);if((c[769129]|0)!=(a|0))return;c[769129]=0;return}function ks(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0;e=Ia;Ia=Ia+80|0;f=e+48|0;g=e+40|0;h=e+24|0;i=e+8|0;j=e;k=e+68|0;l=e+64|0;c[766682]=0;m=iq(196609)|0;n=iq(196609)|0;a[m>>0]=0;o=Fo(m,196608,b)|0;if((d|0)!=0?(Pu(o,102736)|0)==0:0){c[k>>2]=41;p=1}else q=2;do if((q|0)==2){d=o;a:while(1){switch(a[d>>0]|0){case 0:{break a;break}case 112:case 10:{q=7;break a;break}default:{}}d=d+1|0}if((q|0)==7?(gt(d,102736,16)|0)==0:0){Fo(m,196608,b)|0;c[k>>2]=0;c[j>>2]=k;Eu(m,102753,j)|0;if(!((c[544495]|0)==0&(c[k>>2]|0)>41)){p=0;break}mq(m);mq(n);c[766682]=1;r=0;Ia=e;return r|0}mq(m);mq(n);r=0;Ia=e;return r|0}while(0);j=is()|0;c[j+44580>>2]=c[k>>2];o=0;do{Iv(j+16+(o*660|0)|0,0,660)|0;c[j+16+(o*660|0)+8>>2]=(o|0)==0?1:16;o=o+1|0}while((o|0)!=64);o=j+4|0;An(c[o>>2]|0);s=j+12|0;An(c[s>>2]|0);Iv(j+43552|0,0,1024)|0;a[c[j>>2]>>0]=0;b:do if(!(Ao(b)|0)){t=j+46748|0;u=j+46752|0;v=m+3|0;w=j+44576|0;x=0;y=p;z=0;A=0;B=0;C=0;D=0;E=0;c:while(1){if(!y){Iv(m|0,0,196609)|0;Fo(m,196608,b)|0}if((Ao(b)|0)!=0?(a[m>>0]|0)==0:0){F=x;G=z;H=A;I=-1;J=C;K=D;L=E}else q=19;d:do if((q|0)==19){q=0;if(gt(m,102764,8)|0)if(gt(m,102773,7)|0)if(gt(m,102781,7)|0)if(gt(m,102789,7)|0)if(gt(m,102797,7)|0)if(gt(m,102805,7)|0)if(gt(m,102813,9)|0)if(gt(m,102823,9)|0)if(!(gt(m,102833,15)|0)){F=x;G=z;H=A;I=7;J=C;K=D;L=E}else{if(!(gt(m,102849,7)|0)){M=(c[t>>2]|0)+1|0;c[t>>2]=M;c[u>>2]=lq(c[u>>2]|0,M<<2)|0;M=nq(256)|0;N=(c[t>>2]|0)+-1|0;c[(c[u>>2]|0)+(N<<2)>>2]=M;M=(Pt(m)|0)+1|0;uo(m,1,M,c[(c[u>>2]|0)+(N<<2)>>2]|0)|0;F=x;G=z;H=A;I=8;J=C;K=D;L=E;break}if((B|0)==1){ys(m,n)|0;N=c[j>>2]|0;M=Pt(N)|0;if(((Pt(n)|0)+M|0)>>>0>=65536)break c;Zt(N,n)|0;if(!(Ao(b)|0)){N=c[j>>2]|0;M=N+(Pt(N)|0)|0;a[M>>0]=10;a[M+1>>0]=0}a[(c[j>>2]|0)+65536>>0]=0;F=x;G=z;H=A;I=1;J=C;K=D;L=E;break}if((B|0)==2&(E|0)<128){M=0;do{N=a[m+M>>0]|0;O=N+-48|0;a[(c[(c[(c[o>>2]|0)+16>>2]|0)+(E<<2)>>2]|0)+M>>0]=O>>>0<10?O:(N+-97|0)>>>0<6?N+169|0:0;M=M+1|0}while((M|0)!=128);P=E+1|0}else P=E;if((x|0)<2&(B|0)==10){M=x<<7;N=(c[k>>2]|0)>2;O=0;do{if(N){Q=O<<1;R=a[m+Q>>0]|0;S=R+-48|0;T=a[m+(Q|1)>>0]|0;Q=T+-48|0;U=((S>>>0<10?S:(R+-97|0)>>>0<6?R+268435369|0:0)<<4)+(Q>>>0<10?Q:(T+-97|0)>>>0<6?T+-87|0:0)|0}else{T=a[m+O>>0]|0;Q=T+-48|0;U=Q>>>0<10?Q:(T+-97|0)>>>0<6?T+-87|0:0}c[j+43552+(O+M<<2)>>2]=U;O=O+1|0}while((O|0)!=128);V=x+1|0}else V=x;if((A|0)<64&(B|0)==3){O=0;do{M=O<<1;N=a[m+M>>0]|0;T=N+-48|0;Q=a[m+(M|1)>>0]|0;M=Q+-48|0;a[(c[(c[(c[s>>2]|0)+16>>2]|0)+(A<<2)>>2]|0)+O>>0]=((T>>>0<10?T:(N+-97|0)>>>0<6?N+9|0:0)<<4)+(M>>>0<10?M:(Q+-97|0)>>>0<6?Q+169|0:0);O=O+1|0}while((O|0)!=128);W=A+1|0}else W=A;if((D|0)<64&(B|0)==4){c[l>>2]=0;c[i>>2]=l;c[i+4>>2]=j+16+(D*660|0)+8;c[i+8>>2]=j+16+(D*660|0)+12;c[i+12>>2]=j+16+(D*660|0)+16;Eu(m,102857,i)|0;O=c[l>>2]|0;c[j+16+(D*660|0)+4>>2]=O&1;c[j+16+(D*660|0)>>2]=O&254;O=0;do{Q=j+16+(D*660|0)+20+(O*20|0)|0;M=j+16+(D*660|0)+20+(O*20|0)+4|0;N=j+16+(D*660|0)+20+(O*20|0)+8|0;T=j+16+(D*660|0)+20+(O*20|0)+12|0;c[h>>2]=Q;c[h+4>>2]=M;c[h+8>>2]=N;c[h+12>>2]=T;Eu(m+((O*5|0)+8)|0,102874,h)|0;R=c[T>>2]|0;if(R&8|0)c[j+16+(D*660|0)+20+(O*20|0)+16>>2]=128;S=c[M>>2]|0;if(S&8|0)c[j+16+(D*660|0)+20+(O*20|0)+16>>2]=128;c[T>>2]=R&7;c[M>>2]=S&7;c[N>>2]=c[N>>2]&7;c[Q>>2]=c[Q>>2]&63;O=O+1|0}while((O|0)!=32);X=D+1|0}else X=D;if((C|0)<64&(B|0)==5){if((c[k>>2]|0)>2){c[g>>2]=j+43280+(C<<2);Eu(m,102888,g)|0;Y=v}else Y=m;O=j+42256+(C<<4)|0;Q=j+42256+(C<<4)+4|0;N=j+42256+(C<<4)+8|0;S=j+42256+(C<<4)+12|0;c[f>>2]=O;c[f+4>>2]=Q;c[f+8>>2]=N;c[f+12>>2]=S;Eu(Y,102857,f)|0;do if((c[k>>2]|0)<4){if(!(c[O>>2]|0))c[O>>2]=65;if(!(c[Q>>2]|0))c[Q>>2]=65;if(!(c[N>>2]|0))c[N>>2]=65;if(c[S>>2]|0)break;c[S>>2]=65}while(0);F=V;G=z;H=W;I=5;J=C+1|0;K=X;L=P;break}if((z|0)<128&(B|0)==6){if(!(c[w>>2]|0))c[w>>2]=Fn(128,128,8)|0;S=0;do{N=a[m+S>>0]|0;Q=N+-48|0;do if(Q>>>0>=10)if((N+-97|0)>>>0<22){Z=N+-87|0;break}else{Z=(N+-65|0)>>>0<22?N+-55|0:0;break}else Z=Q;while(0);a[(c[(c[(c[w>>2]|0)+16>>2]|0)+(z<<2)>>2]|0)+S>>0]=(Z|0)>15?Z+112|0:Z;S=S+1|0}while((S|0)!=128);_=z+1|0}else _=z;switch(B|0){case 7:{S=0;while(1){Q=S<<1;N=a[m+Q>>0]|0;O=N+-48|0;M=a[m+(Q|1)>>0]|0;Q=M+-48|0;a[j+44604+S>>0]=((O>>>0<10?O:(N+-97|0)>>>0<6?N+9|0:0)<<4)+(Q>>>0<10?Q:(M+-97|0)>>>0<6?M+169|0:0);S=S+1|0;if((S|0)==2144){F=V;G=_;H=W;I=0;J=C;K=X;L=P;break d}}break}case 8:break;default:{F=V;G=_;H=W;I=B;J=C;K=X;L=P;break d}}S=c[(c[u>>2]|0)+((c[t>>2]|0)+-1<<2)>>2]|0;M=c[S+16>>2]|0;Q=Pt(m)|0;if((Q+M|0)>>>0<262144)uo(m,1,Q,S)|0;if(Ao(b)|0){F=V;G=_;H=W;I=8;J=C;K=X;L=P;break}uo(102894,1,1,S)|0;F=V;G=_;H=W;I=8;J=C;K=X;L=P}else{F=x;G=z;H=A;I=6;J=C;K=D;L=E}else{F=x;G=z;H=A;I=5;J=C;K=D;L=E}else{F=x;G=z;H=A;I=4;J=C;K=D;L=E}else{F=x;G=z;H=A;I=3;J=C;K=D;L=E}else{F=x;G=z;H=A;I=10;J=C;K=D;L=E}else{F=x;G=z;H=A;I=2;J=C;K=D;L=E}else{F=x;G=z;H=A;I=1;J=C;K=D;L=E}else{F=x;G=z;H=A;I=-1;J=C;K=D;L=E}}while(0);if((I|0)!=-1&(Ao(b)|0)==0){x=F;y=0;z=G;A=H;B=I;C=J;D=K;E=L}else break b}mq(m);mq(n);c[766682]=2;r=0;Ia=e;return r|0}while(0);L=c[j>>2]|0;if(a[L>>0]|0)a[L+((Pt(L)|0)+-1)>>0]=0;mq(m);mq(n);r=j;Ia=e;return r|0}function ls(a){a=a|0;var b=0,c=0;b=Co(a,102896)|0;if(!b){c=0;return c|0}a=ks(b,0)|0;Eo(b);c=a;return c|0}function ms(b,e,f){b=b|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;g=Ia;Ia=Ia+256|0;h=g;Iv(h|0,0,256)|0;if(!f){Lo(e,102898,0)|0;Lo(e,102941,41)|0}if(a[c[b>>2]>>0]|0){Lo(e,102953,0)|0;f=kq(196614)|0;xs(c[b>>2]|0,f)|0;uo(f,1,Pt(f)|0,e)|0;mq(f);Lo(e,102894,0)|0}f=b+4|0;i=c[(c[f>>2]|0)+16>>2]|0;j=-1;k=0;while(1){l=c[i+(k<<2)>>2]|0;m=j;n=0;do{m=(a[l+n>>0]|0)==0?m:k;n=n+1|0}while((n|0)!=128);k=k+1|0;if((k|0)==128)break;else j=m}if((m|0)>-1){Lo(e,102962,0)|0;j=0;while(1){k=0;do{i=a[(c[(c[(c[f>>2]|0)+16>>2]|0)+(j<<2)>>2]|0)+k>>0]|0;So(e,102971,((i&255)<15?i:15)&255,0,0,0)|0;k=k+1|0}while((k|0)!=128);Lo(e,102894,0)|0;if((j|0)==(m|0))break;else j=j+1|0}}j=b+44576|0;m=c[j>>2]|0;if((m|0?(c[m>>2]|0)==128:0)?(c[m+4>>2]|0)==128:0){f=c[m+12>>2]|0;m=0;k=0;do{m=(a[f+k>>0]|0)==0?m:1;k=k+1|0}while((k|0)!=16384);if(m|0){Lo(e,102974,0)|0;m=0;do{k=(c[j>>2]|0)+16|0;f=0;do{i=a[(c[(c[k>>2]|0)+(m<<2)>>2]|0)+f>>0]|0;n=i&15;l=i<<24>>24<0?n|16:n;a[h+f>>0]=(l>>>0<10?48:87)+l;f=f+1|0}while((f|0)!=128);uo(h,1,128,e)|0;Lo(e,102894,0)|0;m=m+1|0}while((m|0)!=128);Lo(e,102894,0)|0}}m=0;h=0;do{m=(c[b+43552+(h<<2)>>2]|0)==0?m:1;h=h+1|0}while((h|0)!=256);if(m|0){Lo(e,102985,0)|0;m=0;do{So(e,102994,c[b+43552+(m<<2)>>2]&255,0,0,0)|0;m=m+1|0}while((m|0)!=128);Lo(e,102894,0)|0;m=0;do{So(e,102994,c[b+43552+(m+128<<2)>>2]&255,0,0,0)|0;m=m+1|0}while((m|0)!=128);Lo(e,102894,0)|0}m=b+12|0;h=c[(c[m>>2]|0)+16>>2]|0;j=-1;f=0;while(1){k=c[h+(f<<2)>>2]|0;o=j;l=0;do{o=(a[k+l>>0]|0)==0?o:f;l=l+1|0}while((l|0)!=128);f=f+1|0;if((f|0)==32)break;else j=o}if((o|0)>-1){Lo(e,102999,0)|0;j=0;while(1){f=0;do{So(e,102994,d[(c[(c[(c[m>>2]|0)+16>>2]|0)+(j<<2)>>2]|0)+f>>0]|0,0,0,0)|0;f=f+1|0}while((f|0)!=128);Lo(e,102894,0)|0;if((j|0)==(o|0))break;else j=j+1|0}}Eq();j=-1;o=0;while(1){m=(c[b+16+(o*660|0)+4>>2]|0)==0?j:o;f=c[b+16+(o*660|0)+8>>2]|0;p=(c[b+16+(o*660|0)+16>>2]|c[b+16+(o*660|0)+12>>2]|0)==0?((o|0)==0?((f|0)==1?m:o):(f|0)==16?m:o):o;m=0;do{p=(c[b+16+(o*660|0)+20+(m*20|0)+4>>2]|c[b+16+(o*660|0)+20+(m*20|0)>>2]|c[b+16+(o*660|0)+20+(m*20|0)+16>>2]|c[b+16+(o*660|0)+20+(m*20|0)+8>>2]|c[b+16+(o*660|0)+20+(m*20|0)+12>>2]|0)==0?p:o;m=m+1|0}while((m|0)!=32);o=o+1|0;if((o|0)==64)break;else j=p}if((p|0)>-1){Lo(e,103008,0)|0;j=0;while(1){o=c[b+16+(j*660|0)+8>>2]|0;m=(o|0)<255?o:255;o=c[b+16+(j*660|0)+12>>2]|0;f=(o|0)<255?o:255;o=c[b+16+(j*660|0)+16>>2]|0;h=(o|0)<255?o:255;So(e,102857,c[b+16+(j*660|0)>>2]&254|(c[b+16+(j*660|0)+4>>2]|0)!=0,(m|0)>0?m:0,(f|0)>0?f:0,(h|0)>0?h:0)|0;h=0;do{f=c[b+16+(j*660|0)+20+(h*20|0)>>2]|0;m=(f|0)<63?f:63;f=c[b+16+(j*660|0)+20+(h*20|0)+4>>2]|0;o=(f|0)<7?f:7;f=c[b+16+(j*660|0)+20+(h*20|0)+8>>2]|0;l=(f|0)<7?f:7;f=c[b+16+(j*660|0)+20+(h*20|0)+12>>2]|0;k=(f|0)<7?f:7;So(e,103017,(m|0)>0?m:0,((o|0)>0?o:0)+((c[b+16+(j*660|0)+20+(h*20|0)+16>>2]|0)==0?0:8)|0,(l|0)>0?l:0,(k|0)>0?k:0)|0;h=h+1|0}while((h|0)!=32);Lo(e,102894,0)|0;if((j|0)==(p|0))break;else j=j+1|0}}j=-1;p=0;do{j=(c[b+42256+(p<<4)+12>>2]|0)==68&((c[b+42256+(p<<4)+8>>2]|0)==67&((c[b+42256+(p<<4)+4>>2]|0)==66&((c[b+43280+(p<<2)>>2]|0)==0?(c[b+42256+(p<<4)>>2]|0)==65:0)))?j:p;p=p+1|0}while((p|0)!=64);if((j|0)>-1){Lo(e,103028,0)|0;p=0;while(1){So(e,102888,c[b+43280+(p<<2)>>2]|0,0,0,0)|0;So(e,103039,c[b+42256+(p<<4)>>2]|0,c[b+42256+(p<<4)+4>>2]|0,c[b+42256+(p<<4)+8>>2]|0,c[b+42256+(p<<4)+12>>2]|0)|0;if((p|0)==(j|0))break;else p=p+1|0}Lo(e,102894,0)|0}Fq();p=0;j=0;do{p=(a[b+44604+j>>0]|0)==-1?p:1;j=j+1|0}while((j|0)!=2144);if(p|0){Lo(e,103057,0)|0;p=0;do{So(e,102994,d[b+44604+p>>0]|0,0,0,0)|0;p=p+1|0}while((p|0)!=2144);Lo(e,102894,0)|0}p=b+46748|0;if((c[p>>2]|0)<=0){Ia=g;return 0}j=b+46752|0;b=0;do{h=c[(c[j>>2]|0)+(b<<2)>>2]|0;k=h+12|0;l=c[k>>2]|0;o=Pt(l)|0;uo(l,1,o,e)|0;Lo(e,102894,0)|0;l=o+1|0;uo((c[k>>2]|0)+l|0,1,(c[h+16>>2]|0)-l|0,e)|0;b=b+1|0}while((b|0)<(c[p>>2]|0));Ia=g;return 0}function ns(a,b){a=a|0;b=b|0;var c=0,d=0;c=Co(b,103074)|0;if(!c){d=1;return d|0}ms(a,c,0)|0;Eo(c);d=0;return d|0}function os(a,b){a=a|0;b=b|0;var d=0,e=0;d=iq(370)|0;if(!a){e=nq(b+1|0)|0;c[d+4>>2]=e;c[d>>2]=c[e+12>>2]}else c[d>>2]=a;c[d+8>>2]=b;b=zs()|0;c[d+364>>2]=b;c[b+16>>2]=24;ps(d);return d|0}function ps(a){a=a|0;var b=0,d=0;b=nq(2048)|0;d=c[a>>2]|0;uo(d,1,(Pt(d)|0)+1|0,b)|0;to(c[a+336>>2]|0,b);to(c[a+344>>2]|0,b);to(c[a+348>>2]|0,b);to(c[a+320>>2]|0,b);to(c[a+324>>2]|0,b);to(c[a+352>>2]|0,b);d=c[a+364>>2]|0;Cs(b,d,(Pt(c[a>>2]|0)|0)+1|0)|0;return}function qs(a){a=a|0;var b=0;if(!a)return;b=c[a+4>>2]|0;if(b|0)pq(b);As(c[a+364>>2]|0);mq(a);return}function rs(a){a=a|0;var b=0,c=0;if(a>>>0>127|(yt(103077,a,64)|0)!=0){b=1;return b|0}if(yt(103141,a,4)|0){b=3;return b|0}if(yt(103145,a,4)|0){b=4;return b|0}if(yt(103149,a,9)|0){b=5;return b|0}c=(yt(103158,a,22)|0)==0;b=c?0:2;return b|0}function ss(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;f=Pt(b)|0;if(!d)g=kq(f+1|0)|0;else g=d;a[g>>0]=0;if((f|0)<=0)return g|0;d=(e|0)==0;e=0;h=g;while(1){i=(a[b+e>>0]|0)+256|0;j=(i|0)%256|0;do if((j|0)>127){k=b+(e+1)|0;l=b+(e+2)|0;m=b+(e+3)|0;n=b+(e+4)|0;o=b+(e+5)|0;p=b+(e+6)|0;q=0;while(1){r=a[32128+(q*7|0)>>0]|0;if(r<<24>>24!=0&(j|0)==(r&255|0)){s=a[32128+(q*7|0)+1>>0]|0;if(s<<24>>24?(((a[k>>0]|0)+256|0)%256|0|0)==(s&255|0):0){t=a[32128+(q*7|0)+2>>0]|0;if(t<<24>>24?(((a[l>>0]|0)+256|0)%256|0|0)==(t&255|0):0){u=a[32128+(q*7|0)+3>>0]|0;if(u<<24>>24?(((a[m>>0]|0)+256|0)%256|0|0)==(u&255|0):0){v=a[32128+(q*7|0)+4>>0]|0;if(v<<24>>24?(((a[n>>0]|0)+256|0)%256|0|0)==(v&255|0):0){w=a[32128+(q*7|0)+5>>0]|0;if(w<<24>>24?(((a[o>>0]|0)+256|0)%256|0|0)==(w&255|0):0){x=a[32128+(q*7|0)+6>>0]|0;if(x<<24>>24?(((a[p>>0]|0)+256|0)%256|0|0)==(x&255|0):0){y=7;z=11;break}else{A=x;B=6}}else{A=w;B=5}}else{A=v;B=4}}else{A=u;B=3}}else{A=t;B=2}}else{A=s;B=1}}else{A=r;B=0}if(!(A<<24>>24)){y=B;z=11;break}r=q+1|0;if(r>>>0<70)q=r;else break}if((z|0)==11){z=0;if(q>>>0>=26)if(q>>>0<42)C=246;else C=q>>>0<44?212:21;else C=128;a[h>>0]=q+C;p=h+1|0;a[p>>0]=0;D=e+-1+y|0;E=p;break}if((j|0)==227){p=-1;o=e;n=0;m=h;while(1){l=b+(o+1)|0;k=c[32688+(n<<2)>>2]|0;if((((a[l>>0]|0)+256|0)%256|0|0)==(k>>>8&255|0)?(r=o+2|0,s=m+1|0,(((a[b+r>>0]|0)+256|0)%256|0|0)==(k&255|0)):0){a[m>>0]=n+154;a[s>>0]=0;F=b+(o+3)|0;G=n;H=r;I=s}else{F=l;G=p;H=o;I=m}l=c[32896+(n<<2)>>2]|0;if((((a[F>>0]|0)+256|0)%256|0|0)==(l>>>8&255|0)?(s=H+2|0,r=I+1|0,(((a[b+s>>0]|0)+256|0)%256|0|0)==(l&255|0)):0){a[I>>0]=n+204;a[r>>0]=0;J=n;K=s;L=r}else{J=G;K=H;L=I}n=n+1|0;if((n|0)==50)break;else{p=J;o=K;m=L}}if((J|0)<0){M=(a[b+K>>0]|0)+256|0;N=J;O=K;P=L;z=26}else{D=K;E=L}}else{M=i;N=-1;O=e;P=h;z=26}}else{M=i;N=-1;O=e;P=h;z=26}while(0);do if((z|0)==26){z=0;if((((M|0)%256|0|0)==226?(((a[b+(O+1)>>0]|0)+256|0)%256|0|0)==151:0)?(i=O+2|0,(((a[b+i>>0]|0)+256|0)%256|0|0)==139):0){a[P>>0]=127;j=P+1|0;a[j>>0]=0;D=i;E=j;break}j=N;i=O;m=1;o=P;while(1){a:do if((m|0)<4){p=c[32624+(m<<2)>>2]|0;if((p>>>8&255|0)==(((a[b+i>>0]|0)+256|0)%256|0|0)?(n=i+1|0,(p&255|0)==(((a[b+n>>0]|0)+256|0)%256|0|0)):0){a[o>>0]=m;p=o+1|0;a[p>>0]=0;Q=m;R=n;S=1e3;T=p}else{Q=j;R=i;S=m;T=o}}else{switch(m|0){case 9:case 10:case 13:{Q=j;R=i;S=m;T=o;break a;break}default:{}}p=c[32624+(m<<2)>>2]|0;if(((p>>>16&255|0)==(((a[b+i>>0]|0)+256|0)%256|0|0)?(p>>>8&255|0)==(((a[b+(i+1)>>0]|0)+256|0)%256|0|0):0)?(n=i+2|0,(p&255|0)==(((a[b+n>>0]|0)+256|0)%256|0|0)):0){a[o>>0]=m;p=o+1|0;a[p>>0]=0;Q=m;R=n;S=1e3;T=p}else{Q=j;R=i;S=m;T=o}}while(0);if((S|0)<15){j=Q;i=R;m=S+1|0;o=T}else break}if((Q|0)<0?(o=a[b+R>>0]|0,o<<24>>24!=13):0){if(d&(o+-65&255)<26)U=(o&255)+32&255;else U=o;a[T>>0]=U;o=T+1|0;a[o>>0]=0;D=R;E=o}else{D=R;E=T}}while(0);e=D+1|0;if((e|0)>=(f|0))break;else h=E}return g|0}function ts(b,d){b=b|0;d=d|0;var 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;e=c[b+292>>2]|0;if(!e)f=c[8718]|0;else{c[8719]=c[e+12>>2];g=c[e+16>>2]|0;c[8718]=g;f=g}g=(d|0)!=0&(f|0)>128?(f|0)/3|0:d;d=c[b+336>>2]|0;a:do if(!d){h=b+312|0;i=b+308|0;j=0;k=0}else{e=c[b>>2]|0;l=b+316|0;m=b+308|0;n=b+312|0;o=e;p=e;e=0;q=0;while(1){r=a[p>>0]|0;if(!(r<<24>>24)){h=n;i=m;j=0;k=0;break a}s=c[l>>2]|0;t=(s|0)>4?s:4;if(r<<24>>24!=9)if(r<<24>>24==10){u=0;v=(c[n>>2]|0)+q|0}else{u=(c[m>>2]<<((r&255)>>>7))+e|0;v=q}else{u=t+e-((e|0)%(t|0)|0)|0;v=q}p=p+1|0;if((p-o|0)==(d|0)){h=n;i=m;j=u;k=v;break}else{e=u;q=v}}}while(0);v=(c[h>>2]|0)-f+k|0;f=b+324|0;h=c[f>>2]|0;u=(h|0)<(k|0)?h:k;h=(g|0)==0?((v|0)>(u|0)?v:u):k-g|0;c[f>>2]=(h|0)>0?h:0;h=(c[i>>2]|0)-(c[8719]|0)+j|0;i=b+320|0;b=c[i>>2]|0;f=(b|0)<(j|0)?b:j;j=(h|0)>(f|0)?h:f;c[i>>2]=(j|0)>0?j:0;return}function us(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;f=Pt(b)|0;if(!d)g=kq((f*7|0)+1|0)|0;else g=d;a[g>>0]=0;if((f|0)<=0)return g|0;d=(e|0)==0;e=0;h=g;while(1){i=a[b+e>>0]|0;j=((i<<24>>24)+256|0)%256|0;a:do if((j+-1|0)>>>0>=3){b:do if((j|0)<16){switch(j|0){case 13:case 10:case 9:{break b;break}default:{}}k=c[32624+(j<<2)>>2]|0;a[h>>0]=k>>>16;a[h+1>>0]=k>>>8;a[h+2>>0]=k;l=h+3|0;break a}else{if((j|0)==127){a[h>>0]=-30;a[h+1>>0]=-105;a[h+2>>0]=-117;l=h+3|0;break a}k=j+-128|0;if(k>>>0>=26){m=j+-154|0;if(m>>>0<50){a[h>>0]=-29;n=c[32688+(m<<2)>>2]|0;a[h+1>>0]=n>>>8;a[h+2>>0]=n;l=h+3|0;break a}n=j+-204|0;if(n>>>0>=50)break;a[h>>0]=-29;m=c[32896+(n<<2)>>2]|0;a[h+1>>0]=m>>>8;a[h+2>>0]=m;l=h+3|0;break a}m=a[32128+(k*7|0)>>0]|0;if(!(m<<24>>24))o=h;else{a[h>>0]=m;o=h+1|0}m=a[32128+(k*7|0)+1>>0]|0;if(!(m<<24>>24))p=o;else{a[o>>0]=m;p=o+1|0}m=a[32128+(k*7|0)+2>>0]|0;if(!(m<<24>>24))q=p;else{a[p>>0]=m;q=p+1|0}m=a[32128+(k*7|0)+3>>0]|0;if(!(m<<24>>24))r=q;else{a[q>>0]=m;r=q+1|0}m=a[32128+(k*7|0)+4>>0]|0;if(!(m<<24>>24))s=r;else{a[r>>0]=m;s=r+1|0}m=a[32128+(k*7|0)+5>>0]|0;if(!(m<<24>>24))t=s;else{a[s>>0]=m;t=s+1|0}m=a[32128+(k*7|0)+6>>0]|0;if(!(m<<24>>24)){l=t;break a}a[t>>0]=m;l=t+1|0;break a}while(0);if((j&-16|0)==16){m=j+10|0;k=a[32128+(m*7|0)>>0]|0;if(!(k<<24>>24))u=h;else{a[h>>0]=k;u=h+1|0}k=a[32128+(m*7|0)+1>>0]|0;if(!(k<<24>>24))v=u;else{a[u>>0]=k;v=u+1|0}k=a[32128+(m*7|0)+2>>0]|0;if(!(k<<24>>24))w=v;else{a[v>>0]=k;w=v+1|0}k=a[32128+(m*7|0)+3>>0]|0;if(!(k<<24>>24))x=w;else{a[w>>0]=k;x=w+1|0}k=a[32128+(m*7|0)+4>>0]|0;if(!(k<<24>>24))y=x;else{a[x>>0]=k;y=x+1|0}k=a[32128+(m*7|0)+5>>0]|0;if(!(k<<24>>24))z=y;else{a[y>>0]=k;z=y+1|0}k=a[32128+(m*7|0)+6>>0]|0;if(!(k<<24>>24)){l=z;break}a[z>>0]=k;l=z+1|0;break}if((j|0)>253){k=j+-212|0;m=a[32128+(k*7|0)>>0]|0;if(!(m<<24>>24))A=h;else{a[h>>0]=m;A=h+1|0}m=a[32128+(k*7|0)+1>>0]|0;if(!(m<<24>>24))B=A;else{a[A>>0]=m;B=A+1|0}m=a[32128+(k*7|0)+2>>0]|0;if(!(m<<24>>24))C=B;else{a[B>>0]=m;C=B+1|0}m=a[32128+(k*7|0)+3>>0]|0;if(!(m<<24>>24))D=C;else{a[C>>0]=m;D=C+1|0}m=a[32128+(k*7|0)+4>>0]|0;if(!(m<<24>>24))E=D;else{a[D>>0]=m;E=D+1|0}m=a[32128+(k*7|0)+5>>0]|0;if(!(m<<24>>24))F=E;else{a[E>>0]=m;F=E+1|0}m=a[32128+(k*7|0)+6>>0]|0;if(!(m<<24>>24)){l=F;break}a[F>>0]=m;l=F+1|0;break}if(!(d&(j+-65|0)>>>0<26)){a[h>>0]=i;l=h+1|0;break}m=j+-21|0;k=a[32128+(m*7|0)>>0]|0;if(!(k<<24>>24))G=h;else{a[h>>0]=k;G=h+1|0}k=a[32128+(m*7|0)+1>>0]|0;if(!(k<<24>>24))H=G;else{a[G>>0]=k;H=G+1|0}k=a[32128+(m*7|0)+2>>0]|0;if(!(k<<24>>24))I=H;else{a[H>>0]=k;I=H+1|0}k=a[32128+(m*7|0)+3>>0]|0;if(!(k<<24>>24))J=I;else{a[I>>0]=k;J=I+1|0}k=a[32128+(m*7|0)+4>>0]|0;if(!(k<<24>>24))K=J;else{a[J>>0]=k;K=J+1|0}k=a[32128+(m*7|0)+5>>0]|0;if(!(k<<24>>24))L=K;else{a[K>>0]=k;L=K+1|0}k=a[32128+(m*7|0)+6>>0]|0;if(!(k<<24>>24))l=L;else{a[L>>0]=k;l=L+1|0}}else{k=c[32624+(j<<2)>>2]|0;a[h>>0]=k>>>8;a[h+1>>0]=k;l=h+2|0}while(0);a[l>>0]=0;e=e+1|0;if((e|0)==(f|0))break;else h=l}return g|0}function vs(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=a[b>>0]|0;if((c|0)==0|d<<24>>24==0){e=0;return e|0}f=d;d=b;b=0;g=c;while(1){g=g+-1|0;c=b+(f<<24>>24==10&1)|0;d=d+1|0;f=a[d>>0]|0;if((g|0)==0|f<<24>>24==0){e=c;break}else b=c}return e|0}function ws(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=a[b>>0]|0;if((c|0)==0|d<<24>>24==0)e=b;else{f=d;d=b;g=0;while(1){g=g+(f<<24>>24==10&1)|0;h=d+1|0;f=a[h>>0]|0;if((g|0)==(c|0)|f<<24>>24==0){e=h;break}else d=h}}return e-b|0}function xs(a,b){a=a|0;b=b|0;return us(a,b,1)|0}function ys(a,b){a=a|0;b=b|0;return ss(a,b,1)|0}function zs(){var a=0;a=iq(20)|0;c[a>>2]=nq(0)|0;c[a+4>>2]=nq(0)|0;c[a+8>>2]=nq(0)|0;c[a+12>>2]=nq(0)|0;return a|0}function As(a){a=a|0;if(!a)return;pq(c[a>>2]|0);pq(c[a+4>>2]|0);pq(c[a+8>>2]|0);pq(c[a+12>>2]|0);return}function Bs(a){a=a|0;if(!a)return;qq(c[a>>2]|0);qq(c[a+4>>2]|0);qq(c[a+8>>2]|0);qq(c[a+12>>2]|0);return}function Cs(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=b+8|0;f=c[e>>2]|0;g=c[f+16>>2]|0;if(!g){pq(f);c[e>>2]=a;h=0;return h|0}if((c[a+16>>2]|0)==(g|0)?(ft(c[a+12>>2]|0,c[f+12>>2]|0,((d|0)<1?g:0)+d|0)|0)==0:0){pq(a);h=0;return h|0}d=Ds(a,f,c[b+16>>2]|0)|0;f=c[b+4>>2]|0;g=d+16|0;uo(c[d+12>>2]|0,1,c[g>>2]|0,f)|0;to(c[g>>2]|0,f);pq(d);qq(c[b>>2]|0);pq(c[e>>2]|0);c[e>>2]=a;h=1;return h|0}function Ds(b,e,f){b=b|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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;g=nq(0)|0;h=(c[b+16>>2]|0)-f|0;i=e+16|0;j=(c[i>>2]|0)-f|0;k=(h|0)<(j|0)?h:j;if((k|0)<0)return g|0;a:do if(k){l=c[b+12>>2]|0;m=c[e+12>>2]|0;n=0;while(1){if((a[l+n>>0]|0)!=(a[m+n>>0]|0)){o=n;break}p=n+1|0;if((p|0)<(k|0))n=p;else{o=p;break}}if((k|0)>0){n=c[b+12>>2]|0;m=h+-1|0;l=c[e+12>>2]|0;p=j+-1|0;q=0;r=0;while(1){if((a[n+(m+q)>>0]|0)!=(a[l+(p+q)>>0]|0)){s=o;t=r;u=q;break a}v=r+1|0;w=~r;if((v|0)<(k-v|0)){q=w;r=v}else{s=o;t=v;u=w;break}}}else{s=o;t=0;u=0}}else{s=0;t=0;u=0}while(0);vo(j,g);vo(s,g);vo(t,g);t=j-s+u|0;u=(t+7|0)/8|0;j=(t|0)>0;if(j){o=b+12|0;b=e+12|0;k=0;do{r=k<<3;do if((r|0)<(t|0)){q=r+s|0;if((q|0)<(h|0)?(a[(c[o>>2]|0)+q>>0]|0)==(a[(c[b>>2]|0)+q>>0]|0):0){x=0;break}x=1}else x=0;while(0);q=r|1;do if((q|0)<(t|0)){p=q+s|0;if((p|0)<(h|0)?(a[(c[o>>2]|0)+p>>0]|0)==(a[(c[b>>2]|0)+p>>0]|0):0){y=x;break}y=x|2}else y=x;while(0);q=r|2;do if((q|0)<(t|0)){p=q+s|0;if((p|0)<(h|0)?(a[(c[o>>2]|0)+p>>0]|0)==(a[(c[b>>2]|0)+p>>0]|0):0){z=y;break}z=y|4}else z=y;while(0);q=r|3;do if((q|0)<(t|0)){p=q+s|0;if((p|0)<(h|0)?(a[(c[o>>2]|0)+p>>0]|0)==(a[(c[b>>2]|0)+p>>0]|0):0){A=z;break}A=z|8}else A=z;while(0);q=r|4;do if((q|0)<(t|0)){p=q+s|0;if((p|0)<(h|0)?(a[(c[o>>2]|0)+p>>0]|0)==(a[(c[b>>2]|0)+p>>0]|0):0){B=A;break}B=A|16}else B=A;while(0);q=r|5;do if((q|0)<(t|0)){p=q+s|0;if((p|0)<(h|0)?(a[(c[o>>2]|0)+p>>0]|0)==(a[(c[b>>2]|0)+p>>0]|0):0){C=B;break}C=B|32}else C=B;while(0);q=r|6;do if((q|0)<(t|0)){p=q+s|0;if((p|0)<(h|0)?(a[(c[o>>2]|0)+p>>0]|0)==(a[(c[b>>2]|0)+p>>0]|0):0){D=C;break}D=C|64}else D=C;while(0);q=r|7;do if((q|0)<(t|0)){p=q+s|0;if((p|0)<(h|0)?(a[(c[o>>2]|0)+p>>0]|0)==(a[(c[b>>2]|0)+p>>0]|0):0){E=D;break}E=D|-128}else E=D;while(0);wo(E,g);k=k+1|0}while((k|0)<(u|0));if(j){j=g+12|0;u=e+12|0;k=0;do{E=k+s|0;if(!((E|0)<(h|0)?!(1<<(k&7)&d[(c[j>>2]|0)+((k>>>3)+12)>>0]|0):0))wo(a[(c[u>>2]|0)+E>>0]|0,g);k=k+1|0}while((k|0)!=(t|0));F=u}else G=18}else G=18;if((G|0)==18)F=e+12|0;e=g+20|0;c[e>>2]=c[g+16>>2];uo((c[F>>2]|0)+((c[i>>2]|0)-f)|0,1,f,g)|0;to(f,g);c[e>>2]=0;return g|0}function Es(a,b){a=a|0;b=b|0;var c=0;if((a|0)==(b|0))c=a;else{Yt(a,b)|0;c=a}return c|0}function Fs(b,c){b=b|0;c=c|0;var d=0,e=0,f=0;d=iq((Pt(c)|0)+1|0)|0;if((d|0)!=(c|0))Yt(d,c)|0;c=a[d>>0]|0;if(c<<24>>24){e=c;c=d;do{if((e+-65&255)<26)a[c>>0]=(e&255)+32;c=c+1|0;e=a[c>>0]|0}while(e<<24>>24!=0)}e=iq((Pt(b)|0)+1|0)|0;if((e|0)!=(b|0))Yt(e,b)|0;c=a[e>>0]|0;if(c<<24>>24){f=c;c=e;do{if((f+-65&255)<26)a[c>>0]=(f&255)+32;c=c+1|0;f=a[c>>0]|0}while(f<<24>>24!=0)}f=Pu(e,d)|0;mq(d);mq(e);return ((f|0)==0?0:b+(f-e)|0)|0}function Gs(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0.0,D=0,E=0,F=0;e=d+64|0;f=c[e>>2]|0;g=d+68|0;h=c[g>>2]|0;i=c[b+525580>>2]|0;a:do if(!i)j=f;else{k=c[d+28>>2]|0;if((k|0)<=-1?(c[d+32>>2]|0)==0:0){j=f;break}switch(k|0){case 0:{switch((i|0)%3|0|0){case 1:{j=(c[d+32>>2]>>4)+f|0;break a;break}case 2:{j=(c[d+32>>2]&15)+f|0;break a;break}default:{j=f;break a}}break}case 1:{c[g>>2]=(c[d+32>>2]<<4)+h;j=f;break a;break}case 2:{c[g>>2]=h-(c[d+32>>2]<<4);j=f;break a;break}case 3:{k=c[d+76>>2]|0;if((f|0)<(k|0)){l=(c[d+32>>2]<<4)+h|0;c[g>>2]=l;if((l|0)<0){m=255-l+((l|0)>-256?l:-256)|0;n=f+-1-(m>>>8)|0;o=l+256+(m&-256)|0;c[e>>2]=n;c[g>>2]=o;p=o;q=n}else{p=l;q=f}if((p|0)>255){l=~p;n=p+256+((l|0)>-512?l:-512)|0;l=(n>>>8)+1+q|0;c[e>>2]=l;c[g>>2]=p+-256-(n&-256);r=l}else r=q;if((r|0)<(k|0)){j=f;break a}c[e>>2]=k;c[g>>2]=0;j=f;break a}if((f|0)<=(k|0)?(h|0)==0|(f|0)!=(k|0):0){j=f;break a}l=h-(c[d+32>>2]<<4)|0;c[g>>2]=l;if((l|0)<0){n=255-l+((l|0)>-256?l:-256)|0;o=f+-1-(n>>>8)|0;m=l+256+(n&-256)|0;c[e>>2]=o;c[g>>2]=m;s=m;t=o}else{s=l;t=f}if((s|0)>255){l=~s;o=s+256+((l|0)>-512?l:-512)|0;l=(o>>>8)+1+t|0;c[e>>2]=l;c[g>>2]=s+-256-(o&-256);u=l}else u=t;if((u|0)>(k|0)){j=f;break a}c[e>>2]=k;c[g>>2]=0;j=f;break a;break}case 4:{k=c[d+32>>2]>>4;if(!k){j=f;break a}l=B(c[b+525588>>2]|0,k)|0;k=c[(c[b>>2]|0)+48>>2]|0;c[d+60>>2]=65536/((B(l,k)|0)/(k+-1|0)|0|0)|0;j=f;break a;break}case 10:{k=d+8|0;l=(c[k>>2]|0)-(c[d+32>>2]|0)|0;o=(l|0)<63?l:63;c[k>>2]=(o|0)>0?o:0;j=f;break a;break}default:{j=f;break a}}}while(0);f=c[d+4>>2]|0;if(!f)return;g=c[b>>2]|0;if((f|0)>(c[g+64>>2]|0))return;b=c[g+68>>2]|0;if((c[d+28>>2]|0)==4){g=c[d+32>>2]|0;e=d+56|0;u=(g>>4<<5)+(c[e>>2]|0)|0;c[e>>2]=u&2047;e=u+512&2047;v=(B(512-(e>>>0<1024?e:2048-e|0)|0,g&15)|0)/16|0}else v=0;g=(c[b+(f*332|0)+100>>2]|0)+j|0;j=h-((c[b+(f*332|0)+88>>2]|0)/2|0)+v|0;if((j|0)<0){v=255-j+((j|0)>-256?j:-256)|0;w=j+256+(v&-256)|0;x=g+-1-(v>>>8)|0}else{w=j;x=g}if((w|0)>255){g=~w;j=w+256+((g|0)>-512?g:-512)|0;y=w+-256-(j&-256)|0;z=x+1+(j>>>8)|0}else{y=w;z=x}if((z|0)<0)A=1;else{x=(z>>>0)/12|0;C=+(c[33104+((z-(x*12|0)<<3)+((y|0)/32|0)<<2)>>2]<<4|0)*64.0/+(1<>2]=A;A=c[b+(f*332|0)+128>>2]|0;if(A|0?a[b+(f*332|0)+116>>0]&1:0){x=d+20|0;y=c[x>>2]|0;z=A+-1|0;if((y|0)<(z|0)?(w=y+1|0,(c[d+24>>2]|0)>=(c[b+(f*332|0)+132+(w<<2)>>2]|0)):0){c[x>>2]=w;D=w}else D=y;y=(D|0)<(z|0)?D:z;z=(y|0)>0?y:0;c[x>>2]=z;x=z+1|0;if((x|0)<(A|0)){A=c[b+(f*332|0)+132+(z<<2)>>2]|0;y=(c[b+(f*332|0)+132+(x<<2)>>2]|0)-A|0;D=d+24|0;w=c[D>>2]|0;j=w-A|0;A=B(y-j|0,c[b+(f*332|0)+180+(z<<2)>>2]|0)|0;g=d+16|0;c[g>>2]=A;c[g>>2]=((B(c[b+(f*332|0)+180+(x<<2)>>2]|0,j)|0)+A|0)/(y|0)|0;E=w;F=D}else{c[d+16>>2]=c[b+(f*332|0)+180+(z<<2)>>2];z=d+24|0;E=c[z>>2]|0;F=z}c[F>>2]=E+1;return}c[d+16>>2]=64;return}function Hs(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;f=e+28|0;g=c[f>>2]|0;h=e+36|0;c[h>>2]=g;i=e+32|0;j=c[i>>2]|0;k=e+40|0;c[k>>2]=j;l=c[b>>2]|0;m=c[l+60>>2]|0;n=d[(c[b+525572>>2]|0)+(l+72)>>0]|0;o=c[e>>2]|0;p=c[b+525576>>2]|0;q=m+(n*2596|0)+36+(o*320|0)+(p*5|0)|0;r=a[m+(n*2596|0)+36+(o*320|0)+(p*5|0)+1>>0]|0;s=e+4|0;do if(!(r<<24>>24)){t=c[s>>2]|0;if(!t){u=m+(n*2596|0)+36+(o*320|0)+(p*5|0)+3|0;if((a[u>>0]|0)==11){v=11;w=c[l+68>>2]|0;x=0;y=u;z=1;A=7;break}else return}else{B=t;A=6}}else{t=r&255;c[s>>2]=t;B=t;A=6}while(0);if((A|0)==6){s=m+(n*2596|0)+36+(o*320|0)+(p*5|0)+3|0;r=a[s>>0]|0;t=c[l+68>>2]|0;if(!(r<<24>>24)){C=t;D=B;E=g;F=s;G=0}else{v=r;w=t;x=B;y=s;z=0;A=7}}if((A|0)==7){A=v&255;c[f>>2]=A;C=w;D=x;E=A;F=y;G=z}z=m+(n*2596|0)+36+(o*320|0)+(p*5|0)+4|0;y=a[z>>0]|0;if(y<<24>>24)c[i>>2]=y&255;if((a[F>>0]|0)==0?(a[z>>0]|0)==0:0){c[i>>2]=0;c[f>>2]=0;H=0}else H=E;E=a[q>>0]|0;do if(E<<24>>24){q=E&255;if((E&255)>96){c[e+8>>2]=0;break}if((H|0)==3){c[e+76>>2]=q;c[e+20>>2]=0;c[e+24>>2]=0;break}c[e+64>>2]=q;if(!G){c[e+68>>2]=0;c[e+44>>2]=0;c[e+48>>2]=0;c[e+8>>2]=c[C+(D*332|0)+84>>2];c[e+20>>2]=0;c[e+24>>2]=0;c[e+56>>2]=0}}while(0);D=a[m+(n*2596|0)+36+(o*320|0)+(p*5|0)+2>>0]|0;if(D<<24>>24)c[e+8>>2]=(D&255)+-16;if((g|0)!=11)return;c[b+525592>>2]=j;c[f>>2]=0;c[k>>2]=0;c[h>>2]=0;return}function Is(a,d,e,f){a=a|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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;g=d+8|0;h=B(c[d+16>>2]|0,c[g>>2]|0)|0;i=(e|0)==0?d+80|0:e;if((h|0?(e=c[d+4>>2]|0,e|0):0)?(j=c[a>>2]|0,(e|0)<=(c[j+64>>2]|0)):0){k=c[j+68>>2]|0;j=c[k+(e*332|0)+72>>2]|0;l=c[k+(e*332|0)+328>>2]|0;if(l|0){Ua[l&0](a,d,i,f,h);return}if((f|0)<=0)return;a=k+(e*332|0)+104|0;l=d+52|0;m=d+48|0;n=d+44|0;d=k+(e*332|0)+80|0;o=k+(e*332|0)+68|0;p=k+(e*332|0)+92|0;q=k+(e*332|0)+76|0;e=i;k=0;r=h;while(1){if((c[a>>2]|0)==8){h=gp(32e3)|0;s=c[m>>2]|0;t=c[n>>2]|0;u=h}else{h=c[n>>2]|0;v=c[m>>2]|0;w=v>>16;x=B(256-w|0,b[j+(h<<1)>>1]|0)|0;s=v;t=h;u=x+(B(w,b[j+(h+1<<1)>>1]|0)|0)>>8}b[e>>1]=(B(u,r)|0)>>>12;e=e+2|0;h=s+(c[l>>2]|0)|0;w=t+(h>>24)|0;c[n>>2]=w;c[m>>2]=h&16777215;h=c[d>>2]|0;if(((h|0)!=0?(c[p>>2]&3|0)!=0:0)?(w|0)>=((c[q>>2]|0)+h|0):0){x=w-h|0;c[n>>2]=x;y=x}else y=w;if((y|0)<(c[o>>2]|0))z=r;else{c[g>>2]=0;z=0}k=k+1|0;if((k|0)==(f|0))break;else r=z}return}jq(i,0,f<<1);return}function Js(a,e,f){a=a|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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;g=c[a>>2]|0;Kr()|0;if((f|0)<=0)return;h=a+525596|0;i=a+525588|0;j=a+525572|0;k=g+32|0;l=g+40|0;g=a+525592|0;m=a+525580|0;n=a+525576|0;o=a+525600|0;p=a+525584|0;q=c[h>>2]|0;r=f;f=e;a:while(1){e=c[i>>2]|0;if((e|0)>(q|0)){s=e-q|0;e=(s|0)<(r|0)?s:r;do if((e|0)!=0?(s=e+q|0,(e|0)>0):0){t=c[(c[a>>2]|0)+40>>2]|0;if((t|0)<=0){u=q+1|0;Iv(f|0,0,((s|0)>(u|0)?s:u)-q<<1|0)|0;v=c[h>>2]|0;break}u=f;w=q;while(1){x=0;y=0;do{y=y+(b[a+4+(x*32848|0)+80+(w<<1)>>1]|0)|0;x=x+1|0}while((x|0)!=(t|0));x=(y|0)/3|0;z=(x|0)<32767?x:32767;b[u>>1]=(z|0)>-32767?z:-32767;w=w+1|0;if((w|0)>=(s|0)){v=q;break}else u=u+2|0}}else v=q;while(0);c[h>>2]=v+e;u=r-e|0;if((u|0)>0){A=u;C=f+(e<<1)|0}else{D=44;break}}else{A=r;C=f}u=c[l>>2]|0;b:do if((c[j>>2]|0)<(c[k>>2]|0))E=u;else{c:do if((u|0)>0){s=0;while(1){F=a+4+(s*32848|0)+28|0;if((c[F>>2]|0)==11)break;w=s+1|0;if((w|0)<(u|0))s=w;else break c}y=c[a+4+(s*32848|0)+32>>2]|0;c[j>>2]=y;c[j>>2]=((y|0)<0?1:(y|0)>=(c[k>>2]|0))?0:y;c[F>>2]=0;c[a+4+(s*32848|0)+40>>2]=0;c[a+4+(s*32848|0)+36>>2]=0;c[m>>2]=0;c[n>>2]=0;E=c[l>>2]|0;break b}while(0);if(!(c[o>>2]|0)){D=21;break a}c[j>>2]=0;E=u}while(0);if((E|0)>0){u=0;do{e=a+262788+(u*32848|0)|0;y=a+4+(u*32848|0)|0;w=e+80|0;do{c[e>>2]=c[y>>2];e=e+4|0;y=y+4|0}while((e|0)<(w|0));u=u+1|0;y=c[l>>2]|0}while((u|0)<(y|0));G=y}else G=E;c[g>>2]=-1;if(!(c[m>>2]|0)){if((G|0)>0){u=0;do{Hs(a,a+4+(u*32848|0)|0);u=u+1|0;H=c[l>>2]|0}while((u|0)<(H|0));u=c[g>>2]|0;if((u|0)!=-1){c[j>>2]=u;c[m>>2]=0;c[n>>2]=0;if((H|0)>0){u=0;do{Hs(a,a+4+(u*32848|0)|0);u=u+1|0;y=c[l>>2]|0}while((u|0)<(y|0));I=y;D=33}}else{I=H;D=33}}}else{I=G;D=33}if((D|0)==33?(D=0,(I|0)>0):0){u=0;do{y=a+4+(u*32848|0)|0;Gs(a,y);Is(a,y,0,c[i>>2]|0);Is(a,a+262788+(u*32848|0)|0,0,128);y=0;do{e=B(128-y|0,b[a+262788+(u*32848|0)+80+(y<<1)>>1]|0)|0;w=a+4+(u*32848|0)+80+(y<<1)|0;b[w>>1]=((B(y,b[w>>1]|0)|0)+e|0)>>>7;y=y+1|0}while((y|0)!=128);u=u+1|0}while((u|0)<(c[l>>2]|0))}c[h>>2]=0;u=(c[m>>2]|0)+1|0;c[m>>2]=u;if((u|0)<(c[p>>2]|0))J=c[n>>2]|0;else{c[m>>2]=0;u=(c[n>>2]|0)+1|0;c[n>>2]=u;J=u}u=c[a>>2]|0;y=c[j>>2]|0;if((J|0)>=(c[(c[u+60>>2]|0)+((d[u+72+y>>0]|0)*2596|0)+32>>2]|0)){c[n>>2]=0;c[j>>2]=y+1}if((A|0)>0){q=0;r=A;f=C}else{D=44;break}}if((D|0)==21){c[a+525604>>2]=0;return}else if((D|0)==44)return}function Ks(a){a=a|0;var 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,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ja=0;b=Ia;Ia=Ia+16|0;d=b;do if(a>>>0<245){e=a>>>0<11?16:a+11&-8;f=e>>>3;g=c[786075]|0;h=g>>>f;if(h&3|0){i=(h&1^1)+f|0;j=3144340+(i<<1<<2)|0;k=j+8|0;l=c[k>>2]|0;m=l+8|0;n=c[m>>2]|0;if((n|0)==(j|0))c[786075]=g&~(1<>2]=j;c[k>>2]=n}n=i<<3;c[l+4>>2]=n|3;i=l+n+4|0;c[i>>2]=c[i>>2]|1;o=m;Ia=b;return o|0}m=c[786077]|0;if(e>>>0>m>>>0){if(h|0){i=2<>>12&16;f=i>>>n;i=f>>>5&8;h=f>>>i;f=h>>>2&4;l=h>>>f;h=l>>>1&2;k=l>>>h;l=k>>>1&1;j=(i|n|f|h|l)+(k>>>l)|0;l=3144340+(j<<1<<2)|0;k=l+8|0;h=c[k>>2]|0;f=h+8|0;n=c[f>>2]|0;if((n|0)==(l|0)){i=g&~(1<>2]=l;c[k>>2]=n;p=g}n=j<<3;j=n-e|0;c[h+4>>2]=e|3;k=h+e|0;c[k+4>>2]=j|1;c[h+n>>2]=j;if(m|0){n=c[786080]|0;h=m>>>3;l=3144340+(h<<1<<2)|0;i=1<>2]|0}c[q>>2]=n;c[r+12>>2]=n;c[n+8>>2]=r;c[n+12>>2]=l}c[786077]=j;c[786080]=k;o=f;Ia=b;return o|0}f=c[786076]|0;if(f){k=(f&0-f)+-1|0;j=k>>>12&16;l=k>>>j;k=l>>>5&8;n=l>>>k;l=n>>>2&4;i=n>>>l;n=i>>>1&2;h=i>>>n;i=h>>>1&1;s=c[3144604+((k|j|l|n|i)+(h>>>i)<<2)>>2]|0;i=(c[s+4>>2]&-8)-e|0;h=s;n=s;while(1){s=c[h+16>>2]|0;if(!s){l=c[h+20>>2]|0;if(!l)break;else t=l}else t=s;s=(c[t+4>>2]&-8)-e|0;l=s>>>0>>0;i=l?s:i;h=t;n=l?t:n}h=n+e|0;if(h>>>0>n>>>0){l=c[n+24>>2]|0;s=c[n+12>>2]|0;do if((s|0)==(n|0)){j=n+20|0;k=c[j>>2]|0;if(!k){u=n+16|0;v=c[u>>2]|0;if(!v){w=0;break}else{x=v;y=u}}else{x=k;y=j}j=x;k=y;while(1){u=j+20|0;v=c[u>>2]|0;if(!v){z=j+16|0;A=c[z>>2]|0;if(!A)break;else{B=A;C=z}}else{B=v;C=u}j=B;k=C}c[k>>2]=0;w=j}else{u=c[n+8>>2]|0;c[u+12>>2]=s;c[s+8>>2]=u;w=s}while(0);do if(l|0){s=c[n+28>>2]|0;u=3144604+(s<<2)|0;if((n|0)==(c[u>>2]|0)){c[u>>2]=w;if(!w){c[786076]=f&~(1<>2]|0)==(n|0)?s:l+20|0)>>2]=w;if(!w)break}c[w+24>>2]=l;s=c[n+16>>2]|0;if(s|0){c[w+16>>2]=s;c[s+24>>2]=w}s=c[n+20>>2]|0;if(s|0){c[w+20>>2]=s;c[s+24>>2]=w}}while(0);if(i>>>0<16){l=i+e|0;c[n+4>>2]=l|3;f=n+l+4|0;c[f>>2]=c[f>>2]|1}else{c[n+4>>2]=e|3;c[h+4>>2]=i|1;c[h+i>>2]=i;if(m|0){f=c[786080]|0;l=m>>>3;s=3144340+(l<<1<<2)|0;u=1<>2]|0}c[D>>2]=f;c[E+12>>2]=f;c[f+8>>2]=E;c[f+12>>2]=s}c[786077]=i;c[786080]=h}o=n+8|0;Ia=b;return o|0}else F=e}else F=e}else F=e}else if(a>>>0<=4294967231){s=a+11|0;f=s&-8;u=c[786076]|0;if(u){l=0-f|0;v=s>>>8;if(v)if(f>>>0>16777215)G=31;else{s=(v+1048320|0)>>>16&8;z=v<>>16&4;A=z<>>16&2;H=14-(v|s|z)+(A<>>15)|0;G=f>>>(H+7|0)&1|H<<1}else G=0;H=c[3144604+(G<<2)>>2]|0;a:do if(!H){I=l;J=0;K=0;L=61}else{z=l;A=0;s=f<<((G|0)==31?0:25-(G>>>1)|0);v=H;M=0;while(1){N=(c[v+4>>2]&-8)-f|0;if(N>>>0>>0)if(!N){O=0;P=v;Q=v;L=65;break a}else{R=N;S=v}else{R=z;S=M}N=c[v+20>>2]|0;v=c[v+16+(s>>>31<<2)>>2]|0;T=(N|0)==0|(N|0)==(v|0)?A:N;if(!v){I=R;J=T;K=S;L=61;break}else{z=R;A=T;s=s<<1;M=S}}}while(0);if((L|0)==61){if((J|0)==0&(K|0)==0){H=2<>>12&16;e=H>>>l;H=e>>>5&8;n=e>>>H;e=n>>>2&4;h=n>>>e;n=h>>>1&2;i=h>>>n;h=i>>>1&1;U=c[3144604+((H|l|e|n|h)+(i>>>h)<<2)>>2]|0;V=0}else{U=J;V=K}if(!U){W=I;X=V}else{O=I;P=U;Q=V;L=65}}if((L|0)==65){h=O;i=P;n=Q;while(1){e=(c[i+4>>2]&-8)-f|0;l=e>>>0>>0;H=l?e:h;e=l?i:n;l=c[i+16>>2]|0;if(!l)Y=c[i+20>>2]|0;else Y=l;if(!Y){W=H;X=e;break}else{h=H;i=Y;n=e}}}if(((X|0)!=0?W>>>0<((c[786077]|0)-f|0)>>>0:0)?(n=X+f|0,n>>>0>X>>>0):0){i=c[X+24>>2]|0;h=c[X+12>>2]|0;do if((h|0)==(X|0)){e=X+20|0;H=c[e>>2]|0;if(!H){l=X+16|0;g=c[l>>2]|0;if(!g){Z=0;break}else{_=g;$=l}}else{_=H;$=e}e=_;H=$;while(1){l=e+20|0;g=c[l>>2]|0;if(!g){m=e+16|0;M=c[m>>2]|0;if(!M)break;else{aa=M;ba=m}}else{aa=g;ba=l}e=aa;H=ba}c[H>>2]=0;Z=e}else{l=c[X+8>>2]|0;c[l+12>>2]=h;c[h+8>>2]=l;Z=h}while(0);do if(i){h=c[X+28>>2]|0;l=3144604+(h<<2)|0;if((X|0)==(c[l>>2]|0)){c[l>>2]=Z;if(!Z){l=u&~(1<>2]|0)==(X|0)?l:i+20|0)>>2]=Z;if(!Z){ca=u;break}}c[Z+24>>2]=i;l=c[X+16>>2]|0;if(l|0){c[Z+16>>2]=l;c[l+24>>2]=Z}l=c[X+20>>2]|0;if(l){c[Z+20>>2]=l;c[l+24>>2]=Z;ca=u}else ca=u}else ca=u;while(0);b:do if(W>>>0<16){u=W+f|0;c[X+4>>2]=u|3;i=X+u+4|0;c[i>>2]=c[i>>2]|1}else{c[X+4>>2]=f|3;c[n+4>>2]=W|1;c[n+W>>2]=W;i=W>>>3;if(W>>>0<256){u=3144340+(i<<1<<2)|0;l=c[786075]|0;h=1<>2]|0}c[da>>2]=n;c[ea+12>>2]=n;c[n+8>>2]=ea;c[n+12>>2]=u;break}u=W>>>8;if(u)if(W>>>0>16777215)fa=31;else{h=(u+1048320|0)>>>16&8;l=u<>>16&4;i=l<>>16&2;g=14-(u|h|l)+(i<>>15)|0;fa=W>>>(g+7|0)&1|g<<1}else fa=0;g=3144604+(fa<<2)|0;c[n+28>>2]=fa;l=n+16|0;c[l+4>>2]=0;c[l>>2]=0;l=1<>2]=n;c[n+24>>2]=g;c[n+12>>2]=n;c[n+8>>2]=n;break}l=c[g>>2]|0;c:do if((c[l+4>>2]&-8|0)==(W|0))ga=l;else{g=W<<((fa|0)==31?0:25-(fa>>>1)|0);i=l;while(1){ha=i+16+(g>>>31<<2)|0;h=c[ha>>2]|0;if(!h)break;if((c[h+4>>2]&-8|0)==(W|0)){ga=h;break c}else{g=g<<1;i=h}}c[ha>>2]=n;c[n+24>>2]=i;c[n+12>>2]=n;c[n+8>>2]=n;break b}while(0);l=ga+8|0;e=c[l>>2]|0;c[e+12>>2]=n;c[l>>2]=n;c[n+8>>2]=e;c[n+12>>2]=ga;c[n+24>>2]=0}while(0);o=X+8|0;Ia=b;return o|0}else F=f}else F=f}else F=-1;while(0);X=c[786077]|0;if(X>>>0>=F>>>0){ga=X-F|0;ha=c[786080]|0;if(ga>>>0>15){W=ha+F|0;c[786080]=W;c[786077]=ga;c[W+4>>2]=ga|1;c[ha+X>>2]=ga;c[ha+4>>2]=F|3}else{c[786077]=0;c[786080]=0;c[ha+4>>2]=X|3;ga=ha+X+4|0;c[ga>>2]=c[ga>>2]|1}o=ha+8|0;Ia=b;return o|0}ha=c[786078]|0;if(ha>>>0>F>>>0){ga=ha-F|0;c[786078]=ga;X=c[786081]|0;W=X+F|0;c[786081]=W;c[W+4>>2]=ga|1;c[X+4>>2]=F|3;o=X+8|0;Ia=b;return o|0}if(!(c[786193]|0)){c[786195]=4096;c[786194]=4096;c[786196]=-1;c[786197]=-1;c[786198]=0;c[786186]=0;c[786193]=d&-16^1431655768;ia=4096}else ia=c[786195]|0;d=F+48|0;X=F+47|0;ga=ia+X|0;W=0-ia|0;ia=ga&W;if(ia>>>0<=F>>>0){o=0;Ia=b;return o|0}fa=c[786185]|0;if(fa|0?(ca=c[786183]|0,ea=ca+ia|0,ea>>>0<=ca>>>0|ea>>>0>fa>>>0):0){o=0;Ia=b;return o|0}d:do if(!(c[786186]&4)){fa=c[786081]|0;e:do if(fa){ea=3144748;while(1){ca=c[ea>>2]|0;if(ca>>>0<=fa>>>0?(ca+(c[ea+4>>2]|0)|0)>>>0>fa>>>0:0)break;ca=c[ea+8>>2]|0;if(!ca){L=128;break e}else ea=ca}ca=ga-ha&W;if(ca>>>0<2147483647){da=Jv(ca|0)|0;if((da|0)==((c[ea>>2]|0)+(c[ea+4>>2]|0)|0))if((da|0)==(-1|0))ja=ca;else{ka=da;la=ca;L=145;break d}else{ma=da;na=ca;L=136}}else ja=0}else L=128;while(0);do if((L|0)==128){fa=Jv(0)|0;if((fa|0)!=(-1|0)?(f=fa,ca=c[786194]|0,da=ca+-1|0,Z=((da&f|0)==0?0:(da+f&0-ca)-f|0)+ia|0,f=c[786183]|0,ca=Z+f|0,Z>>>0>F>>>0&Z>>>0<2147483647):0){da=c[786185]|0;if(da|0?ca>>>0<=f>>>0|ca>>>0>da>>>0:0){ja=0;break}da=Jv(Z|0)|0;if((da|0)==(fa|0)){ka=fa;la=Z;L=145;break d}else{ma=da;na=Z;L=136}}else ja=0}while(0);do if((L|0)==136){Z=0-na|0;if(!(d>>>0>na>>>0&(na>>>0<2147483647&(ma|0)!=(-1|0))))if((ma|0)==(-1|0)){ja=0;break}else{ka=ma;la=na;L=145;break d}da=c[786195]|0;fa=X-na+da&0-da;if(fa>>>0>=2147483647){ka=ma;la=na;L=145;break d}if((Jv(fa|0)|0)==(-1|0)){Jv(Z|0)|0;ja=0;break}else{ka=ma;la=fa+na|0;L=145;break d}}while(0);c[786186]=c[786186]|4;oa=ja;L=143}else{oa=0;L=143}while(0);if(((L|0)==143?ia>>>0<2147483647:0)?(ja=Jv(ia|0)|0,ia=Jv(0)|0,na=ia-ja|0,ma=na>>>0>(F+40|0)>>>0,!((ja|0)==(-1|0)|ma^1|ja>>>0>>0&((ja|0)!=(-1|0)&(ia|0)!=(-1|0))^1)):0){ka=ja;la=ma?na:oa;L=145}if((L|0)==145){oa=(c[786183]|0)+la|0;c[786183]=oa;if(oa>>>0>(c[786184]|0)>>>0)c[786184]=oa;oa=c[786081]|0;f:do if(oa){na=3144748;while(1){pa=c[na>>2]|0;qa=c[na+4>>2]|0;if((ka|0)==(pa+qa|0)){L=154;break}ma=c[na+8>>2]|0;if(!ma)break;else na=ma}if(((L|0)==154?(ma=na+4|0,(c[na+12>>2]&8|0)==0):0)?ka>>>0>oa>>>0&pa>>>0<=oa>>>0:0){c[ma>>2]=qa+la;ma=(c[786078]|0)+la|0;ja=oa+8|0;ia=(ja&7|0)==0?0:0-ja&7;ja=oa+ia|0;X=ma-ia|0;c[786081]=ja;c[786078]=X;c[ja+4>>2]=X|1;c[oa+ma+4>>2]=40;c[786082]=c[786197];break}if(ka>>>0<(c[786079]|0)>>>0)c[786079]=ka;ma=ka+la|0;X=3144748;while(1){if((c[X>>2]|0)==(ma|0)){L=162;break}ja=c[X+8>>2]|0;if(!ja)break;else X=ja}if((L|0)==162?(c[X+12>>2]&8|0)==0:0){c[X>>2]=ka;na=X+4|0;c[na>>2]=(c[na>>2]|0)+la;na=ka+8|0;ja=ka+((na&7|0)==0?0:0-na&7)|0;na=ma+8|0;ia=ma+((na&7|0)==0?0:0-na&7)|0;na=ja+F|0;d=ia-ja-F|0;c[ja+4>>2]=F|3;g:do if((oa|0)==(ia|0)){W=(c[786078]|0)+d|0;c[786078]=W;c[786081]=na;c[na+4>>2]=W|1}else{if((c[786080]|0)==(ia|0)){W=(c[786077]|0)+d|0;c[786077]=W;c[786080]=na;c[na+4>>2]=W|1;c[na+W>>2]=W;break}W=c[ia+4>>2]|0;if((W&3|0)==1){ha=W&-8;ga=W>>>3;h:do if(W>>>0<256){fa=c[ia+8>>2]|0;Z=c[ia+12>>2]|0;if((Z|0)==(fa|0)){c[786075]=c[786075]&~(1<>2]=Z;c[Z+8>>2]=fa;break}}else{fa=c[ia+24>>2]|0;Z=c[ia+12>>2]|0;do if((Z|0)==(ia|0)){da=ia+16|0;ca=da+4|0;f=c[ca>>2]|0;if(!f){ba=c[da>>2]|0;if(!ba){ra=0;break}else{sa=ba;ta=da}}else{sa=f;ta=ca}ca=sa;f=ta;while(1){da=ca+20|0;ba=c[da>>2]|0;if(!ba){aa=ca+16|0;$=c[aa>>2]|0;if(!$)break;else{ua=$;va=aa}}else{ua=ba;va=da}ca=ua;f=va}c[f>>2]=0;ra=ca}else{da=c[ia+8>>2]|0;c[da+12>>2]=Z;c[Z+8>>2]=da;ra=Z}while(0);if(!fa)break;Z=c[ia+28>>2]|0;i=3144604+(Z<<2)|0;do if((c[i>>2]|0)!=(ia|0)){da=fa+16|0;c[((c[da>>2]|0)==(ia|0)?da:fa+20|0)>>2]=ra;if(!ra)break h}else{c[i>>2]=ra;if(ra|0)break;c[786076]=c[786076]&~(1<>2]=fa;Z=ia+16|0;i=c[Z>>2]|0;if(i|0){c[ra+16>>2]=i;c[i+24>>2]=ra}i=c[Z+4>>2]|0;if(!i)break;c[ra+20>>2]=i;c[i+24>>2]=ra}while(0);wa=ia+ha|0;xa=ha+d|0}else{wa=ia;xa=d}ga=wa+4|0;c[ga>>2]=c[ga>>2]&-2;c[na+4>>2]=xa|1;c[na+xa>>2]=xa;ga=xa>>>3;if(xa>>>0<256){W=3144340+(ga<<1<<2)|0;ea=c[786075]|0;i=1<>2]|0}c[ya>>2]=na;c[za+12>>2]=na;c[na+8>>2]=za;c[na+12>>2]=W;break}W=xa>>>8;do if(!W)Aa=0;else{if(xa>>>0>16777215){Aa=31;break}i=(W+1048320|0)>>>16&8;ea=W<>>16&4;Z=ea<>>16&2;da=14-(ga|i|ea)+(Z<>>15)|0;Aa=xa>>>(da+7|0)&1|da<<1}while(0);W=3144604+(Aa<<2)|0;c[na+28>>2]=Aa;ha=na+16|0;c[ha+4>>2]=0;c[ha>>2]=0;ha=c[786076]|0;da=1<>2]=na;c[na+24>>2]=W;c[na+12>>2]=na;c[na+8>>2]=na;break}da=c[W>>2]|0;i:do if((c[da+4>>2]&-8|0)==(xa|0))Ba=da;else{W=xa<<((Aa|0)==31?0:25-(Aa>>>1)|0);ha=da;while(1){Ca=ha+16+(W>>>31<<2)|0;ea=c[Ca>>2]|0;if(!ea)break;if((c[ea+4>>2]&-8|0)==(xa|0)){Ba=ea;break i}else{W=W<<1;ha=ea}}c[Ca>>2]=na;c[na+24>>2]=ha;c[na+12>>2]=na;c[na+8>>2]=na;break g}while(0);da=Ba+8|0;W=c[da>>2]|0;c[W+12>>2]=na;c[da>>2]=na;c[na+8>>2]=W;c[na+12>>2]=Ba;c[na+24>>2]=0}while(0);o=ja+8|0;Ia=b;return o|0}na=3144748;while(1){d=c[na>>2]|0;if(d>>>0<=oa>>>0?(Da=d+(c[na+4>>2]|0)|0,Da>>>0>oa>>>0):0)break;na=c[na+8>>2]|0}na=Da+-47|0;ja=na+8|0;d=na+((ja&7|0)==0?0:0-ja&7)|0;ja=oa+16|0;na=d>>>0>>0?oa:d;d=na+8|0;ia=la+-40|0;ma=ka+8|0;X=(ma&7|0)==0?0:0-ma&7;ma=ka+X|0;W=ia-X|0;c[786081]=ma;c[786078]=W;c[ma+4>>2]=W|1;c[ka+ia+4>>2]=40;c[786082]=c[786197];ia=na+4|0;c[ia>>2]=27;c[d>>2]=c[786187];c[d+4>>2]=c[786188];c[d+8>>2]=c[786189];c[d+12>>2]=c[786190];c[786187]=ka;c[786188]=la;c[786190]=0;c[786189]=d;d=na+24|0;do{W=d;d=d+4|0;c[d>>2]=7}while((W+8|0)>>>0>>0);if((na|0)!=(oa|0)){d=na-oa|0;c[ia>>2]=c[ia>>2]&-2;c[oa+4>>2]=d|1;c[na>>2]=d;W=d>>>3;if(d>>>0<256){ma=3144340+(W<<1<<2)|0;X=c[786075]|0;da=1<>2]|0}c[Ea>>2]=oa;c[Fa+12>>2]=oa;c[oa+8>>2]=Fa;c[oa+12>>2]=ma;break}ma=d>>>8;if(ma)if(d>>>0>16777215)Ga=31;else{da=(ma+1048320|0)>>>16&8;X=ma<>>16&4;W=X<>>16&2;fa=14-(ma|da|X)+(W<>>15)|0;Ga=d>>>(fa+7|0)&1|fa<<1}else Ga=0;fa=3144604+(Ga<<2)|0;c[oa+28>>2]=Ga;c[oa+20>>2]=0;c[ja>>2]=0;X=c[786076]|0;W=1<>2]=oa;c[oa+24>>2]=fa;c[oa+12>>2]=oa;c[oa+8>>2]=oa;break}W=c[fa>>2]|0;j:do if((c[W+4>>2]&-8|0)==(d|0))Ha=W;else{fa=d<<((Ga|0)==31?0:25-(Ga>>>1)|0);X=W;while(1){Ja=X+16+(fa>>>31<<2)|0;da=c[Ja>>2]|0;if(!da)break;if((c[da+4>>2]&-8|0)==(d|0)){Ha=da;break j}else{fa=fa<<1;X=da}}c[Ja>>2]=oa;c[oa+24>>2]=X;c[oa+12>>2]=oa;c[oa+8>>2]=oa;break f}while(0);d=Ha+8|0;W=c[d>>2]|0;c[W+12>>2]=oa;c[d>>2]=oa;c[oa+8>>2]=W;c[oa+12>>2]=Ha;c[oa+24>>2]=0}}else{W=c[786079]|0;if((W|0)==0|ka>>>0>>0)c[786079]=ka;c[786187]=ka;c[786188]=la;c[786190]=0;c[786084]=c[786193];c[786083]=-1;c[786088]=3144340;c[786087]=3144340;c[786090]=3144348;c[786089]=3144348;c[786092]=3144356;c[786091]=3144356;c[786094]=3144364;c[786093]=3144364;c[786096]=3144372;c[786095]=3144372;c[786098]=3144380;c[786097]=3144380;c[786100]=3144388;c[786099]=3144388;c[786102]=3144396;c[786101]=3144396;c[786104]=3144404;c[786103]=3144404;c[786106]=3144412;c[786105]=3144412;c[786108]=3144420;c[786107]=3144420;c[786110]=3144428;c[786109]=3144428;c[786112]=3144436;c[786111]=3144436;c[786114]=3144444;c[786113]=3144444;c[786116]=3144452;c[786115]=3144452;c[786118]=3144460;c[786117]=3144460;c[786120]=3144468;c[786119]=3144468;c[786122]=3144476;c[786121]=3144476;c[786124]=3144484;c[786123]=3144484;c[786126]=3144492;c[786125]=3144492;c[786128]=3144500;c[786127]=3144500;c[786130]=3144508;c[786129]=3144508;c[786132]=3144516;c[786131]=3144516;c[786134]=3144524;c[786133]=3144524;c[786136]=3144532;c[786135]=3144532;c[786138]=3144540;c[786137]=3144540;c[786140]=3144548;c[786139]=3144548;c[786142]=3144556;c[786141]=3144556;c[786144]=3144564;c[786143]=3144564;c[786146]=3144572;c[786145]=3144572;c[786148]=3144580;c[786147]=3144580;c[786150]=3144588;c[786149]=3144588;W=la+-40|0;d=ka+8|0;ja=(d&7|0)==0?0:0-d&7;d=ka+ja|0;na=W-ja|0;c[786081]=d;c[786078]=na;c[d+4>>2]=na|1;c[ka+W+4>>2]=40;c[786082]=c[786197]}while(0);ka=c[786078]|0;if(ka>>>0>F>>>0){la=ka-F|0;c[786078]=la;ka=c[786081]|0;oa=ka+F|0;c[786081]=oa;c[oa+4>>2]=la|1;c[ka+4>>2]=F|3;o=ka+8|0;Ia=b;return o|0}}c[(Us()|0)>>2]=12;o=0;Ia=b;return o|0}function Ls(a){a=a|0;var 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,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;if(!a)return;b=a+-8|0;d=c[786079]|0;e=c[a+-4>>2]|0;a=e&-8;f=b+a|0;do if(!(e&1)){g=c[b>>2]|0;if(!(e&3))return;h=b+(0-g)|0;i=g+a|0;if(h>>>0>>0)return;if((c[786080]|0)==(h|0)){j=f+4|0;k=c[j>>2]|0;if((k&3|0)!=3){l=h;m=h;n=i;break}c[786077]=i;c[j>>2]=k&-2;c[h+4>>2]=i|1;c[h+i>>2]=i;return}k=g>>>3;if(g>>>0<256){g=c[h+8>>2]|0;j=c[h+12>>2]|0;if((j|0)==(g|0)){c[786075]=c[786075]&~(1<>2]=j;c[j+8>>2]=g;l=h;m=h;n=i;break}}g=c[h+24>>2]|0;j=c[h+12>>2]|0;do if((j|0)==(h|0)){k=h+16|0;o=k+4|0;p=c[o>>2]|0;if(!p){q=c[k>>2]|0;if(!q){r=0;break}else{s=q;t=k}}else{s=p;t=o}o=s;p=t;while(1){k=o+20|0;q=c[k>>2]|0;if(!q){u=o+16|0;v=c[u>>2]|0;if(!v)break;else{w=v;x=u}}else{w=q;x=k}o=w;p=x}c[p>>2]=0;r=o}else{k=c[h+8>>2]|0;c[k+12>>2]=j;c[j+8>>2]=k;r=j}while(0);if(g){j=c[h+28>>2]|0;k=3144604+(j<<2)|0;if((c[k>>2]|0)==(h|0)){c[k>>2]=r;if(!r){c[786076]=c[786076]&~(1<>2]|0)==(h|0)?j:g+20|0)>>2]=r;if(!r){l=h;m=h;n=i;break}}c[r+24>>2]=g;j=h+16|0;k=c[j>>2]|0;if(k|0){c[r+16>>2]=k;c[k+24>>2]=r}k=c[j+4>>2]|0;if(k){c[r+20>>2]=k;c[k+24>>2]=r;l=h;m=h;n=i}else{l=h;m=h;n=i}}else{l=h;m=h;n=i}}else{l=b;m=b;n=a}while(0);if(l>>>0>=f>>>0)return;a=f+4|0;b=c[a>>2]|0;if(!(b&1))return;if(!(b&2)){if((c[786081]|0)==(f|0)){r=(c[786078]|0)+n|0;c[786078]=r;c[786081]=m;c[m+4>>2]=r|1;if((m|0)!=(c[786080]|0))return;c[786080]=0;c[786077]=0;return}if((c[786080]|0)==(f|0)){r=(c[786077]|0)+n|0;c[786077]=r;c[786080]=l;c[m+4>>2]=r|1;c[l+r>>2]=r;return}r=(b&-8)+n|0;x=b>>>3;do if(b>>>0<256){w=c[f+8>>2]|0;t=c[f+12>>2]|0;if((t|0)==(w|0)){c[786075]=c[786075]&~(1<>2]=t;c[t+8>>2]=w;break}}else{w=c[f+24>>2]|0;t=c[f+12>>2]|0;do if((t|0)==(f|0)){s=f+16|0;d=s+4|0;e=c[d>>2]|0;if(!e){k=c[s>>2]|0;if(!k){y=0;break}else{z=k;A=s}}else{z=e;A=d}d=z;e=A;while(1){s=d+20|0;k=c[s>>2]|0;if(!k){j=d+16|0;q=c[j>>2]|0;if(!q)break;else{B=q;C=j}}else{B=k;C=s}d=B;e=C}c[e>>2]=0;y=d}else{o=c[f+8>>2]|0;c[o+12>>2]=t;c[t+8>>2]=o;y=t}while(0);if(w|0){t=c[f+28>>2]|0;i=3144604+(t<<2)|0;if((c[i>>2]|0)==(f|0)){c[i>>2]=y;if(!y){c[786076]=c[786076]&~(1<>2]|0)==(f|0)?t:w+20|0)>>2]=y;if(!y)break}c[y+24>>2]=w;t=f+16|0;i=c[t>>2]|0;if(i|0){c[y+16>>2]=i;c[i+24>>2]=y}i=c[t+4>>2]|0;if(i|0){c[y+20>>2]=i;c[i+24>>2]=y}}}while(0);c[m+4>>2]=r|1;c[l+r>>2]=r;if((m|0)==(c[786080]|0)){c[786077]=r;return}else D=r}else{c[a>>2]=b&-2;c[m+4>>2]=n|1;c[l+n>>2]=n;D=n}n=D>>>3;if(D>>>0<256){l=3144340+(n<<1<<2)|0;b=c[786075]|0;a=1<>2]|0}c[E>>2]=m;c[F+12>>2]=m;c[m+8>>2]=F;c[m+12>>2]=l;return}l=D>>>8;if(l)if(D>>>0>16777215)G=31;else{F=(l+1048320|0)>>>16&8;E=l<>>16&4;a=E<>>16&2;b=14-(l|F|E)+(a<>>15)|0;G=D>>>(b+7|0)&1|b<<1}else G=0;b=3144604+(G<<2)|0;c[m+28>>2]=G;c[m+20>>2]=0;c[m+16>>2]=0;E=c[786076]|0;a=1<>2]=m;c[m+24>>2]=b;c[m+12>>2]=m;c[m+8>>2]=m}else{F=c[b>>2]|0;b:do if((c[F+4>>2]&-8|0)==(D|0))H=F;else{l=D<<((G|0)==31?0:25-(G>>>1)|0);n=F;while(1){I=n+16+(l>>>31<<2)|0;r=c[I>>2]|0;if(!r)break;if((c[r+4>>2]&-8|0)==(D|0)){H=r;break b}else{l=l<<1;n=r}}c[I>>2]=m;c[m+24>>2]=n;c[m+12>>2]=m;c[m+8>>2]=m;break a}while(0);F=H+8|0;w=c[F>>2]|0;c[w+12>>2]=m;c[F>>2]=m;c[m+8>>2]=w;c[m+12>>2]=H;c[m+24>>2]=0}while(0);m=(c[786083]|0)+-1|0;c[786083]=m;if(m|0)return;m=3144756;while(1){H=c[m>>2]|0;if(!H)break;else m=H+8|0}c[786083]=-1;return}function Ms(a,b){a=a|0;b=b|0;var d=0,e=0;if(a){d=B(b,a)|0;if((b|a)>>>0>65535)e=((d>>>0)/(a>>>0)|0|0)==(b|0)?d:-1;else e=d}else e=0;d=Ks(e)|0;if(!d)return d|0;if(!(c[d+-4>>2]&3))return d|0;Iv(d|0,0,e|0)|0;return d|0}function Ns(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!a){d=Ks(b)|0;return d|0}if(b>>>0>4294967231){c[(Us()|0)>>2]=12;d=0;return d|0}e=Os(a+-8|0,b>>>0<11?16:b+11&-8)|0;if(e|0){d=e+8|0;return d|0}e=Ks(b)|0;if(!e){d=0;return d|0}f=c[a+-4>>2]|0;g=(f&-8)-((f&3|0)==0?8:4)|0;Hv(e|0,a|0,(g>>>0>>0?g:b)|0)|0;Ls(a);d=e;return d|0}function Os(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;d=a+4|0;e=c[d>>2]|0;f=e&-8;g=a+f|0;if(!(e&3)){if(b>>>0<256){h=0;return h|0}if(f>>>0>=(b+4|0)>>>0?(f-b|0)>>>0<=c[786195]<<1>>>0:0){h=a;return h|0}h=0;return h|0}if(f>>>0>=b>>>0){i=f-b|0;if(i>>>0<=15){h=a;return h|0}j=a+b|0;c[d>>2]=e&1|b|2;c[j+4>>2]=i|3;k=g+4|0;c[k>>2]=c[k>>2]|1;Ps(j,i);h=a;return h|0}if((c[786081]|0)==(g|0)){i=(c[786078]|0)+f|0;j=i-b|0;k=a+b|0;if(i>>>0<=b>>>0){h=0;return h|0}c[d>>2]=e&1|b|2;c[k+4>>2]=j|1;c[786081]=k;c[786078]=j;h=a;return h|0}if((c[786080]|0)==(g|0)){j=(c[786077]|0)+f|0;if(j>>>0>>0){h=0;return h|0}k=j-b|0;if(k>>>0>15){i=a+b|0;l=a+j|0;c[d>>2]=e&1|b|2;c[i+4>>2]=k|1;c[l>>2]=k;m=l+4|0;c[m>>2]=c[m>>2]&-2;n=i;o=k}else{c[d>>2]=e&1|j|2;k=a+j+4|0;c[k>>2]=c[k>>2]|1;n=0;o=0}c[786077]=o;c[786080]=n;h=a;return h|0}n=c[g+4>>2]|0;if(n&2|0){h=0;return h|0}o=(n&-8)+f|0;if(o>>>0>>0){h=0;return h|0}f=o-b|0;k=n>>>3;do if(n>>>0<256){j=c[g+8>>2]|0;i=c[g+12>>2]|0;if((i|0)==(j|0)){c[786075]=c[786075]&~(1<>2]=i;c[i+8>>2]=j;break}}else{j=c[g+24>>2]|0;i=c[g+12>>2]|0;do if((i|0)==(g|0)){m=g+16|0;l=m+4|0;p=c[l>>2]|0;if(!p){q=c[m>>2]|0;if(!q){r=0;break}else{s=q;t=m}}else{s=p;t=l}l=s;p=t;while(1){m=l+20|0;q=c[m>>2]|0;if(!q){u=l+16|0;v=c[u>>2]|0;if(!v)break;else{w=v;x=u}}else{w=q;x=m}l=w;p=x}c[p>>2]=0;r=l}else{m=c[g+8>>2]|0;c[m+12>>2]=i;c[i+8>>2]=m;r=i}while(0);if(j|0){i=c[g+28>>2]|0;m=3144604+(i<<2)|0;if((c[m>>2]|0)==(g|0)){c[m>>2]=r;if(!r){c[786076]=c[786076]&~(1<>2]|0)==(g|0)?i:j+20|0)>>2]=r;if(!r)break}c[r+24>>2]=j;i=g+16|0;m=c[i>>2]|0;if(m|0){c[r+16>>2]=m;c[m+24>>2]=r}m=c[i+4>>2]|0;if(m|0){c[r+20>>2]=m;c[m+24>>2]=r}}}while(0);if(f>>>0<16){c[d>>2]=e&1|o|2;r=a+o+4|0;c[r>>2]=c[r>>2]|1;h=a;return h|0}else{r=a+b|0;c[d>>2]=e&1|b|2;c[r+4>>2]=f|3;b=a+o+4|0;c[b>>2]=c[b>>2]|1;Ps(r,f);h=a;return h|0}return 0}function Ps(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;d=a+b|0;e=c[a+4>>2]|0;do if(!(e&1)){f=c[a>>2]|0;if(!(e&3))return;g=a+(0-f)|0;h=f+b|0;if((c[786080]|0)==(g|0)){i=d+4|0;j=c[i>>2]|0;if((j&3|0)!=3){k=g;l=h;break}c[786077]=h;c[i>>2]=j&-2;c[g+4>>2]=h|1;c[d>>2]=h;return}j=f>>>3;if(f>>>0<256){f=c[g+8>>2]|0;i=c[g+12>>2]|0;if((i|0)==(f|0)){c[786075]=c[786075]&~(1<>2]=i;c[i+8>>2]=f;k=g;l=h;break}}f=c[g+24>>2]|0;i=c[g+12>>2]|0;do if((i|0)==(g|0)){j=g+16|0;m=j+4|0;n=c[m>>2]|0;if(!n){o=c[j>>2]|0;if(!o){p=0;break}else{q=o;r=j}}else{q=n;r=m}m=q;n=r;while(1){j=m+20|0;o=c[j>>2]|0;if(!o){s=m+16|0;t=c[s>>2]|0;if(!t)break;else{u=t;v=s}}else{u=o;v=j}m=u;n=v}c[n>>2]=0;p=m}else{j=c[g+8>>2]|0;c[j+12>>2]=i;c[i+8>>2]=j;p=i}while(0);if(f){i=c[g+28>>2]|0;j=3144604+(i<<2)|0;if((c[j>>2]|0)==(g|0)){c[j>>2]=p;if(!p){c[786076]=c[786076]&~(1<>2]|0)==(g|0)?i:f+20|0)>>2]=p;if(!p){k=g;l=h;break}}c[p+24>>2]=f;i=g+16|0;j=c[i>>2]|0;if(j|0){c[p+16>>2]=j;c[j+24>>2]=p}j=c[i+4>>2]|0;if(j){c[p+20>>2]=j;c[j+24>>2]=p;k=g;l=h}else{k=g;l=h}}else{k=g;l=h}}else{k=a;l=b}while(0);b=d+4|0;a=c[b>>2]|0;if(!(a&2)){if((c[786081]|0)==(d|0)){p=(c[786078]|0)+l|0;c[786078]=p;c[786081]=k;c[k+4>>2]=p|1;if((k|0)!=(c[786080]|0))return;c[786080]=0;c[786077]=0;return}if((c[786080]|0)==(d|0)){p=(c[786077]|0)+l|0;c[786077]=p;c[786080]=k;c[k+4>>2]=p|1;c[k+p>>2]=p;return}p=(a&-8)+l|0;v=a>>>3;do if(a>>>0<256){u=c[d+8>>2]|0;r=c[d+12>>2]|0;if((r|0)==(u|0)){c[786075]=c[786075]&~(1<>2]=r;c[r+8>>2]=u;break}}else{u=c[d+24>>2]|0;r=c[d+12>>2]|0;do if((r|0)==(d|0)){q=d+16|0;e=q+4|0;j=c[e>>2]|0;if(!j){i=c[q>>2]|0;if(!i){w=0;break}else{x=i;y=q}}else{x=j;y=e}e=x;j=y;while(1){q=e+20|0;i=c[q>>2]|0;if(!i){o=e+16|0;s=c[o>>2]|0;if(!s)break;else{z=s;A=o}}else{z=i;A=q}e=z;j=A}c[j>>2]=0;w=e}else{m=c[d+8>>2]|0;c[m+12>>2]=r;c[r+8>>2]=m;w=r}while(0);if(u|0){r=c[d+28>>2]|0;h=3144604+(r<<2)|0;if((c[h>>2]|0)==(d|0)){c[h>>2]=w;if(!w){c[786076]=c[786076]&~(1<>2]|0)==(d|0)?r:u+20|0)>>2]=w;if(!w)break}c[w+24>>2]=u;r=d+16|0;h=c[r>>2]|0;if(h|0){c[w+16>>2]=h;c[h+24>>2]=w}h=c[r+4>>2]|0;if(h|0){c[w+20>>2]=h;c[h+24>>2]=w}}}while(0);c[k+4>>2]=p|1;c[k+p>>2]=p;if((k|0)==(c[786080]|0)){c[786077]=p;return}else B=p}else{c[b>>2]=a&-2;c[k+4>>2]=l|1;c[k+l>>2]=l;B=l}l=B>>>3;if(B>>>0<256){a=3144340+(l<<1<<2)|0;b=c[786075]|0;p=1<>2]|0}c[C>>2]=k;c[D+12>>2]=k;c[k+8>>2]=D;c[k+12>>2]=a;return}a=B>>>8;if(a)if(B>>>0>16777215)E=31;else{D=(a+1048320|0)>>>16&8;C=a<>>16&4;p=C<>>16&2;b=14-(a|D|C)+(p<>>15)|0;E=B>>>(b+7|0)&1|b<<1}else E=0;b=3144604+(E<<2)|0;c[k+28>>2]=E;c[k+20>>2]=0;c[k+16>>2]=0;C=c[786076]|0;p=1<>2]=k;c[k+24>>2]=b;c[k+12>>2]=k;c[k+8>>2]=k;return}p=c[b>>2]|0;a:do if((c[p+4>>2]&-8|0)==(B|0))F=p;else{b=B<<((E|0)==31?0:25-(E>>>1)|0);C=p;while(1){G=C+16+(b>>>31<<2)|0;D=c[G>>2]|0;if(!D)break;if((c[D+4>>2]&-8|0)==(B|0)){F=D;break a}else{b=b<<1;C=D}}c[G>>2]=k;c[k+24>>2]=C;c[k+12>>2]=k;c[k+8>>2]=k;return}while(0);G=F+8|0;B=c[G>>2]|0;c[B+12>>2]=k;c[G>>2]=k;c[k+8>>2]=B;c[k+12>>2]=F;c[k+24>>2]=0;return}function Qs(a){a=a|0;var b=0,d=0;b=Ia;Ia=Ia+16|0;d=b;c[d>>2]=Vs(c[a+60>>2]|0)|0;a=Ts(ea(6,d|0)|0)|0;Ia=b;return a|0}function Rs(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Ia;Ia=Ia+32|0;g=f+16|0;h=f;c[h>>2]=d;i=h+4|0;j=b+48|0;k=c[j>>2]|0;c[i>>2]=e-((k|0)!=0&1);l=b+44|0;c[h+8>>2]=c[l>>2];c[h+12>>2]=k;c[g>>2]=c[b+60>>2];c[g+4>>2]=h;c[g+8>>2]=2;h=Ts(Z(145,g|0)|0)|0;if((h|0)>=1){g=c[i>>2]|0;if(h>>>0>g>>>0){i=c[l>>2]|0;l=b+4|0;c[l>>2]=i;k=i;c[b+8>>2]=k+(h-g);if(!(c[j>>2]|0))m=e;else{c[l>>2]=k+1;a[d+(e+-1)>>0]=a[k>>0]|0;m=e}}else m=h}else{c[b>>2]=c[b>>2]|h&48^16;m=h}Ia=f;return m|0}function Ss(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;f=Ia;Ia=Ia+32|0;g=f+8|0;h=f;c[g>>2]=c[a+60>>2];c[g+4>>2]=d;c[g+8>>2]=b;c[g+12>>2]=h;c[g+16>>2]=e;if((Ts(Y(140,g|0)|0)|0)<0){g=h;c[g>>2]=-1;c[g+4>>2]=-1;i=-1;j=-1}else{g=h;i=c[g+4>>2]|0;j=c[g>>2]|0}F(i|0);Ia=f;return j|0}function Ts(a){a=a|0;var b=0;if(a>>>0>4294963200){c[(Us()|0)>>2]=0-a;b=-1}else b=a;return b|0}function Us(){return 3144796}function Vs(a){a=a|0;return a|0}function Ws(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=Ia;Ia=Ia+32|0;g=f;c[b+36>>2]=4;if((c[b>>2]&64|0)==0?(c[g>>2]=c[b+60>>2],c[g+4>>2]=21523,c[g+8>>2]=f+16,da(54,g|0)|0):0)a[b+75>>0]=-1;g=Xs(b,d,e)|0;Ia=f;return g|0}function Xs(a,b,d){a=a|0;b=b|0;d=d|0;var 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;e=Ia;Ia=Ia+48|0;f=e+32|0;g=e+16|0;h=e;i=a+28|0;j=c[i>>2]|0;c[h>>2]=j;k=a+20|0;l=(c[k>>2]|0)-j|0;c[h+4>>2]=l;c[h+8>>2]=b;c[h+12>>2]=d;b=l+d|0;l=a+60|0;c[g>>2]=c[l>>2];c[g+4>>2]=h;c[g+8>>2]=2;j=Ts(_(146,g|0)|0)|0;a:do if((b|0)!=(j|0)){g=j;m=h;n=2;o=b;while(1){if((g|0)<0)break;o=o-g|0;p=c[m+4>>2]|0;q=g>>>0>p>>>0;r=q?m+8|0:m;s=n+(q<<31>>31)|0;t=g-(q?p:0)|0;c[r>>2]=(c[r>>2]|0)+t;p=r+4|0;c[p>>2]=(c[p>>2]|0)-t;c[f>>2]=c[l>>2];c[f+4>>2]=r;c[f+8>>2]=s;g=Ts(_(146,f|0)|0)|0;if((o|0)==(g|0)){u=3;break a}else{m=r;n=s}}c[a+16>>2]=0;c[i>>2]=0;c[k>>2]=0;c[a>>2]=c[a>>2]|32;if((n|0)==2)v=0;else v=d-(c[m+4>>2]|0)|0}else u=3;while(0);if((u|0)==3){u=c[a+44>>2]|0;c[a+16>>2]=u+(c[a+48>>2]|0);a=u;c[i>>2]=a;c[k>>2]=a;v=d}Ia=e;return v|0}function Ys(a,b){a=+a;b=b|0;return +(+Zs(a,b))}function Zs(a,b){a=+a;b=b|0;var d=0.0,e=0,f=0,i=0,j=0.0;if((b|0)<=1023)if((b|0)<-1022){d=a*2.2250738585072014e-308;e=(b|0)<-2044;f=b+2044|0;i=e?((f|0)>-1022?f:-1022):b+1022|0;j=e?d*2.2250738585072014e-308:d}else{i=b;j=a}else{d=a*8988465674311579538646525.0e283;e=(b|0)>2046;f=b+-2046|0;i=e?((f|0)<1023?f:1023):b+-1023|0;j=e?d*8988465674311579538646525.0e283:d}e=Dv(i+1023|0,0,52)|0;i=G()|0;c[h>>2]=e;c[h+4>>2]=i;return +(j*+g[h>>3])}function _s(a,b){a=+a;b=b|0;var d=0,e=0,f=0,i=0.0,j=0,k=0.0,l=0.0;g[h>>3]=a;d=c[h>>2]|0;e=c[h+4>>2]|0;f=Cv(d|0,e|0,52)|0;G()|0;switch(f&2047){case 0:{if(a!=0.0){i=+_s(a*18446744073709551616.0,b);j=(c[b>>2]|0)+-64|0;k=i}else{j=0;k=a}c[b>>2]=j;l=k;break}case 2047:{l=a;break}default:{c[b>>2]=(f&2047)+-1022;c[h>>2]=d;c[h+4>>2]=e&-2146435073|1071644672;l=+g[h>>3]}}return +l}function $s(a,b){a=+a;b=+b;return +(+at(a,b))}function at(a,b){a=+a;b=+b;var d=0,e=0,f=0;g[h>>3]=a;d=c[h>>2]|0;e=c[h+4>>2]|0;g[h>>3]=b;f=c[h+4>>2]&-2147483648|e&2147483647;c[h>>2]=d;c[h+4>>2]=f;return +(+g[h>>3])}function bt(a,b){a=+a;b=+b;var d=0,e=0,f=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=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.0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0.0;g[h>>3]=a;d=c[h>>2]|0;e=c[h+4>>2]|0;g[h>>3]=b;f=c[h>>2]|0;i=c[h+4>>2]|0;j=Cv(d|0,e|0,52)|0;G()|0;k=j&2047;j=Cv(f|0,i|0,52)|0;G()|0;l=j&2047;j=e&-2147483648;m=Dv(f|0,i|0,1)|0;n=G()|0;a:do if(!((m|0)==0&(n|0)==0)?(o=ct(b)|0,p=(G()|0)&2147483647,!((k|0)==2047|(p>>>0>2146435072|(p|0)==2146435072&o>>>0>0))):0){o=Dv(d|0,e|0,1)|0;p=G()|0;if(!(p>>>0>n>>>0|(p|0)==(n|0)&o>>>0>m>>>0))return +((o|0)==(m|0)&(p|0)==(n|0)?a*0.0:a);if(!k){p=Dv(d|0,e|0,12)|0;o=G()|0;if((o|0)>-1|(o|0)==-1&p>>>0>4294967295){q=p;p=o;o=0;while(1){r=o+-1|0;q=Dv(q|0,p|0,1)|0;p=G()|0;if(!((p|0)>-1|(p|0)==-1&q>>>0>4294967295)){s=r;break}else o=r}}else s=0;o=Dv(d|0,e|0,1-s|0)|0;t=o;u=G()|0;v=s}else{t=d;u=e&1048575|1048576;v=k}if(!l){o=Dv(f|0,i|0,12)|0;q=G()|0;if((q|0)>-1|(q|0)==-1&o>>>0>4294967295){p=o;o=q;q=0;while(1){r=q+-1|0;p=Dv(p|0,o|0,1)|0;o=G()|0;if(!((o|0)>-1|(o|0)==-1&p>>>0>4294967295)){w=r;break}else q=r}}else w=0;q=Dv(f|0,i|0,1-w|0)|0;x=q;y=G()|0;z=w}else{x=f;y=i&1048575|1048576;z=l}q=uv(t|0,u|0,x|0,y|0)|0;p=G()|0;o=(p|0)>-1|(p|0)==-1&q>>>0>4294967295;b:do if((v|0)>(z|0)){r=t;A=u;B=q;C=p;D=o;E=v;while(1){if(D)if((B|0)==0&(C|0)==0)break;else{F=B;H=C}else{F=r;H=A}I=Dv(F|0,H|0,1)|0;J=G()|0;K=E+-1|0;L=uv(I|0,J|0,x|0,y|0)|0;M=G()|0;N=(M|0)>-1|(M|0)==-1&L>>>0>4294967295;if((K|0)>(z|0)){r=I;A=J;B=L;C=M;D=N;E=K}else{O=L;P=M;Q=I;R=J;S=N;T=K;break b}}U=a*0.0;break a}else{O=q;P=p;Q=t;R=u;S=o;T=v}while(0);if(S)if((O|0)==0&(P|0)==0){U=a*0.0;break}else{V=P;W=O}else{V=R;W=Q}if(V>>>0<1048576|(V|0)==1048576&W>>>0<0){o=W;p=V;q=T;while(1){E=Dv(o|0,p|0,1)|0;D=G()|0;C=q+-1|0;if(D>>>0<1048576|(D|0)==1048576&E>>>0<0){o=E;p=D;q=C}else{X=E;Y=D;Z=C;break}}}else{X=W;Y=V;Z=T}if((Z|0)>0){q=tv(X|0,Y|0,0,-1048576)|0;p=G()|0;o=Dv(Z|0,0,52)|0;_=p|(G()|0);$=q|o}else{o=Cv(X|0,Y|0,1-Z|0)|0;_=G()|0;$=o}c[h>>2]=$;c[h+4>>2]=_|j;U=+g[h>>3]}else aa=3;while(0);if((aa|0)==3){ba=a*b;U=ba/ba}return +U}function ct(a){a=+a;var b=0;g[h>>3]=a;b=c[h>>2]|0;F(c[h+4>>2]|0);return b|0}function dt(a,b){a=+a;b=+b;return +(+bt(a,b))}function et(a,b){a=+a;b=b|0;return +(+Zs(a,b))}function ft(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a:do if(!d)e=0;else{f=b;g=d;h=c;while(1){i=a[f>>0]|0;j=a[h>>0]|0;if(i<<24>>24!=j<<24>>24)break;g=g+-1|0;if(!g){e=0;break a}else{f=f+1|0;h=h+1|0}}e=(i&255)-(j&255)|0}while(0);return e|0}function gt(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(!e)f=0;else{g=a[b>>0]|0;a:do if(!(g<<24>>24)){h=0;i=c}else{j=g;k=b;l=e;m=c;while(1){l=l+-1|0;n=a[m>>0]|0;if(!(j<<24>>24==n<<24>>24&((l|0)!=0&n<<24>>24!=0))){h=j;i=m;break a}k=k+1|0;n=m+1|0;j=a[k>>0]|0;if(!(j<<24>>24)){h=0;i=n;break}else m=n}}while(0);f=(h&255)-(d[i>>0]|0)|0}return f|0}function ht(a){a=a|0;return (a+-48|0)>>>0<10|0}function it(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=Ia;Ia=Ia+16|0;f=e;c[f>>2]=d;d=jt(a,b,f)|0;Ia=e;return d|0}function jt(a,b,c){a=a|0;b=b|0;c=c|0;return kt(a,2147483647,b,c)|0}function kt(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;g=Ia;Ia=Ia+160|0;h=g+144|0;i=g;Hv(i|0,34624,144)|0;if((d+-1|0)>>>0>2147483646)if(!d){j=1;k=h;l=4}else{c[(Us()|0)>>2]=75;m=-1}else{j=d;k=b;l=4}if((l|0)==4){l=-2-k|0;b=j>>>0>l>>>0?l:j;c[i+48>>2]=b;j=i+20|0;c[j>>2]=k;c[i+44>>2]=k;l=k+b|0;k=i+16|0;c[k>>2]=l;c[i+28>>2]=l;l=lt(i,e,f)|0;if(!b)m=l;else{b=c[j>>2]|0;a[b+(((b|0)==(c[k>>2]|0))<<31>>31)>>0]=0;m=l}}Ia=g;return m|0}function lt(a,b,c){a=a|0;b=b|0;c=c|0;return ot(a,b,c,1,8)|0}function mt(b,e,f,g,h,i){b=b|0;e=+e;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0,t=0,u=0,v=0,w=0,x=0,y=0.0,z=0,A=0,C=0,D=0,E=0.0,F=0,H=0,I=0,J=0.0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0.0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0.0,ia=0.0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0;j=Ia;Ia=Ia+560|0;k=j+32|0;l=j+536|0;m=j;n=m;o=j+540|0;c[l>>2]=0;p=o+12|0;q=Gt(e)|0;r=G()|0;if((r|0)<0){s=-e;t=Gt(s)|0;u=G()|0;v=t;w=1;x=103197;y=s}else{u=r;v=q;w=(h&2049|0)!=0&1;x=(h&2048|0)==0?((h&1|0)==0?103198:103203):103200;y=e}do if(0==0&(u&2146435072|0)==2146435072){q=(i&32|0)!=0;v=w+3|0;zt(b,32,f,v,h&-65537);st(b,x,w);st(b,y!=y|0.0!=0.0?(q?103246:103224):q?103216:103220,3);zt(b,32,f,v,h^8192);z=v}else{e=+_s(y,l)*2.0;v=e!=0.0;if(v)c[l>>2]=(c[l>>2]|0)+-1;q=i|32;if((q|0)==97){r=i&32;t=(r|0)==0?x:x+9|0;A=w|2;C=12-g|0;do if(!(g>>>0>11|(C|0)==0)){D=C;s=8.0;do{D=D+-1|0;s=s*16.0}while((D|0)!=0);if((a[t>>0]|0)==45){E=-(s+(-e-s));break}else{E=e+s-s;break}}else E=e;while(0);C=c[l>>2]|0;D=(C|0)<0?0-C|0:C;F=xt(D,((D|0)<0)<<31>>31,p)|0;if((F|0)==(p|0)){D=o+11|0;a[D>>0]=48;H=D}else H=F;a[H+-1>>0]=(C>>31&2)+43;C=H+-2|0;a[C>>0]=i+15;F=(g|0)<1;D=(h&8|0)==0;I=m;J=E;while(1){K=~~J;L=I+1|0;a[I>>0]=r|d[34160+K>>0];J=(J-+(K|0))*16.0;if((L-n|0)==1?!(D&(F&J==0.0)):0){a[L>>0]=46;M=I+2|0}else M=L;if(!(J!=0.0))break;else I=M}I=M;if((g|0)!=0?(-2-n+I|0)<(g|0):0){F=p;D=C;N=g+2+F-D|0;O=F;P=D}else{D=p;F=C;N=D-n-F+I|0;O=D;P=F}F=N+A|0;zt(b,32,f,F,h);st(b,t,A);zt(b,48,f,F,h^65536);D=I-n|0;st(b,m,D);I=O-P|0;zt(b,48,N-(D+I)|0,0,0);st(b,C,I);zt(b,32,f,F,h^8192);z=F;break}F=(g|0)<0?6:g;if(v){I=(c[l>>2]|0)+-28|0;c[l>>2]=I;Q=I;R=e*268435456.0}else{Q=c[l>>2]|0;R=e}I=(Q|0)<0?k:k+288|0;J=R;D=I;do{r=~~J>>>0;c[D>>2]=r;D=D+4|0;J=(J-+(r>>>0))*1.0e9}while(J!=0.0);v=I;if((Q|0)>0){C=Q;A=I;t=D;while(1){r=(C|0)<29?C:29;L=t+-4|0;if(L>>>0>=A>>>0){K=0;S=L;do{L=Dv(c[S>>2]|0,0,r|0)|0;T=tv(L|0,G()|0,K|0,0)|0;L=G()|0;K=Av(T|0,L|0,1e9,0)|0;U=zv(K|0,G()|0,1e9,0)|0;V=uv(T|0,L|0,U|0,G()|0)|0;G()|0;c[S>>2]=V;S=S+-4|0}while(S>>>0>=A>>>0);if(K){S=A+-4|0;c[S>>2]=K;W=S}else W=A}else W=A;a:do if(t>>>0>W>>>0){S=t;while(1){V=S+-4|0;if(c[V>>2]|0){X=S;break a}if(V>>>0>W>>>0)S=V;else{X=V;break}}}else X=t;while(0);K=(c[l>>2]|0)-r|0;c[l>>2]=K;if((K|0)>0){C=K;A=W;t=X}else{Y=K;Z=W;_=X;break}}}else{Y=Q;Z=I;_=D}if((Y|0)<0){t=((F+25|0)/9|0)+1|0;A=(q|0)==102;C=Y;K=Z;S=_;while(1){V=0-C|0;U=(V|0)<9?V:9;if(K>>>0>>0){V=(1<>>U;T=0;$=K;do{aa=c[$>>2]|0;c[$>>2]=(aa>>>U)+T;T=B(aa&V,L)|0;$=$+4|0}while($>>>0>>0);$=(c[K>>2]|0)==0?K+4|0:K;if(!T){ba=$;ca=S}else{c[S>>2]=T;ba=$;ca=S+4|0}}else{ba=(c[K>>2]|0)==0?K+4|0:K;ca=S}$=A?I:ba;L=(ca-$>>2|0)>(t|0)?$+(t<<2)|0:ca;C=(c[l>>2]|0)+U|0;c[l>>2]=C;if((C|0)>=0){da=ba;ea=L;break}else{K=ba;S=L}}}else{da=Z;ea=_}if(da>>>0>>0){S=(v-da>>2)*9|0;K=c[da>>2]|0;if(K>>>0<10)fa=S;else{C=S;S=10;while(1){S=S*10|0;t=C+1|0;if(K>>>0>>0){fa=t;break}else C=t}}}else fa=0;C=(q|0)==103;S=(F|0)!=0;K=F-((q|0)==102?0:fa)+((S&C)<<31>>31)|0;if((K|0)<(((ea-v>>2)*9|0)+-9|0)){t=K+9216|0;K=(t|0)/9|0;A=I+4+(K+-1024<<2)|0;D=t-(K*9|0)|0;if((D|0)<8){K=10;t=D;while(1){D=K*10|0;if((t|0)<7){K=D;t=t+1|0}else{ga=D;break}}}else ga=10;t=c[A>>2]|0;K=(t>>>0)/(ga>>>0)|0;q=t-(B(K,ga)|0)|0;D=(A+4|0)==(ea|0);if(!(D&(q|0)==0)){s=(K&1|0)==0?9007199254740992.0:9007199254740994.0;K=ga>>>1;J=q>>>0>>0?.5:D&(q|0)==(K|0)?1.0:1.5;if(!w){ha=s;ia=J}else{K=(a[x>>0]|0)==45;ha=K?-s:s;ia=K?-J:J}K=t-q|0;c[A>>2]=K;if(ha+ia!=ha){q=K+ga|0;c[A>>2]=q;if(q>>>0>999999999){q=da;K=A;while(1){t=K+-4|0;c[K>>2]=0;if(t>>>0>>0){D=q+-4|0;c[D>>2]=0;ja=D}else ja=q;D=(c[t>>2]|0)+1|0;c[t>>2]=D;if(D>>>0>999999999){q=ja;K=t}else{ka=ja;la=t;break}}}else{ka=da;la=A}K=(v-ka>>2)*9|0;q=c[ka>>2]|0;if(q>>>0<10){ma=ka;na=la;oa=K}else{t=K;K=10;while(1){K=K*10|0;D=t+1|0;if(q>>>0>>0){ma=ka;na=la;oa=D;break}else t=D}}}else{ma=da;na=A;oa=fa}}else{ma=da;na=A;oa=fa}t=na+4|0;pa=ma;qa=oa;ra=ea>>>0>t>>>0?t:ea}else{pa=da;qa=fa;ra=ea}t=0-qa|0;b:do if(ra>>>0>pa>>>0){K=ra;while(1){q=K+-4|0;if(c[q>>2]|0){sa=1;ta=K;break b}if(q>>>0>pa>>>0)K=q;else{sa=0;ta=q;break}}}else{sa=0;ta=ra}while(0);do if(C){A=F+((S^1)&1)|0;if((A|0)>(qa|0)&(qa|0)>-5){ua=A+-1-qa|0;va=i+-1|0}else{ua=A+-1|0;va=i+-2|0}if(!(h&8)){if(sa?(A=c[ta+-4>>2]|0,(A|0)!=0):0)if(!((A>>>0)%10|0)){K=10;U=0;while(1){K=K*10|0;T=U+1|0;if((A>>>0)%(K>>>0)|0|0){wa=T;break}else U=T}}else wa=0;else wa=9;U=((ta-v>>2)*9|0)+-9|0;if((va|32|0)==102){K=U-wa|0;A=(K|0)>0?K:0;xa=(ua|0)<(A|0)?ua:A;ya=va;break}else{A=U+qa-wa|0;U=(A|0)>0?A:0;xa=(ua|0)<(U|0)?ua:U;ya=va;break}}else{xa=ua;ya=va}}else{xa=F;ya=i}while(0);F=(xa|0)!=0;v=F?1:h>>>3&1;S=(ya|32|0)==102;if(S){za=0;Aa=(qa|0)>0?qa:0}else{C=(qa|0)<0?t:qa;U=xt(C,((C|0)<0)<<31>>31,p)|0;C=p;if((C-U|0)<2){A=U;while(1){K=A+-1|0;a[K>>0]=48;if((C-K|0)<2)A=K;else{Ba=K;break}}}else Ba=U;a[Ba+-1>>0]=(qa>>31&2)+43;A=Ba+-2|0;a[A>>0]=ya;za=A;Aa=C-A|0}A=w+1+xa+v+Aa|0;zt(b,32,f,A,h);st(b,x,w);zt(b,48,f,A,h^65536);if(S){t=pa>>>0>I>>>0?I:pa;K=m+9|0;T=K;q=m+8|0;D=t;do{L=xt(c[D>>2]|0,0,K)|0;if((D|0)==(t|0))if((L|0)==(K|0)){a[q>>0]=48;Ca=q}else Ca=L;else if(L>>>0>m>>>0){Iv(m|0,48,L-n|0)|0;$=L;while(1){V=$+-1|0;if(V>>>0>m>>>0)$=V;else{Ca=V;break}}}else Ca=L;st(b,Ca,T-Ca|0);D=D+4|0}while(D>>>0<=I>>>0);if(!((h&8|0)==0&(F^1)))st(b,103254,1);if(D>>>0>>0&(xa|0)>0){I=D;T=xa;while(1){q=xt(c[I>>2]|0,0,K)|0;if(q>>>0>m>>>0){Iv(m|0,48,q-n|0)|0;t=q;while(1){S=t+-1|0;if(S>>>0>m>>>0)t=S;else{Da=S;break}}}else Da=q;st(b,Da,(T|0)<9?T:9);I=I+4|0;t=T+-9|0;if(!(I>>>0>>0&(T|0)>9)){Ea=t;break}else T=t}}else Ea=xa;zt(b,48,Ea+9|0,9,0)}else{T=sa?ta:pa+4|0;if(pa>>>0>>0&(xa|0)>-1){I=m+9|0;K=(h&8|0)==0;D=I;F=0-n|0;t=m+8|0;L=pa;S=xa;while(1){v=xt(c[L>>2]|0,0,I)|0;if((v|0)==(I|0)){a[t>>0]=48;Fa=t}else Fa=v;do if((L|0)==(pa|0)){v=Fa+1|0;st(b,Fa,1);if(K&(S|0)<1){Ga=v;break}st(b,103254,1);Ga=v}else{if(Fa>>>0<=m>>>0){Ga=Fa;break}Iv(m|0,48,Fa+F|0)|0;v=Fa;while(1){C=v+-1|0;if(C>>>0>m>>>0)v=C;else{Ga=C;break}}}while(0);q=D-Ga|0;st(b,Ga,(S|0)>(q|0)?q:S);v=S-q|0;L=L+4|0;if(!(L>>>0>>0&(v|0)>-1)){Ha=v;break}else S=v}}else Ha=xa;zt(b,48,Ha+18|0,18,0);st(b,za,p-za|0)}zt(b,32,f,A,h^8192);z=A}while(0);Ia=j;return ((z|0)<(f|0)?f:z)|0}function nt(a,b){a=a|0;b=b|0;var d=0,e=0.0;d=(c[b>>2]|0)+(8-1)&~(8-1);e=+g[d>>3];c[b>>2]=d+8;g[a>>3]=e;return}function ot(b,d,e,f,g){b=b|0;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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;h=Ia;Ia=Ia+224|0;i=h+208|0;j=h+160|0;k=h+80|0;l=h;m=j;n=m+40|0;do{c[m>>2]=0;m=m+4|0}while((m|0)<(n|0));c[i>>2]=c[e>>2];if((pt(0,d,i,k,j,f,g)|0)<0)o=-1;else{if((c[b+76>>2]|0)>-1)p=qt(b)|0;else p=0;e=c[b>>2]|0;m=e&32;if((a[b+74>>0]|0)<1)c[b>>2]=e&-33;e=b+48|0;if(!(c[e>>2]|0)){n=b+44|0;q=c[n>>2]|0;c[n>>2]=l;r=b+28|0;c[r>>2]=l;s=b+20|0;c[s>>2]=l;c[e>>2]=80;t=b+16|0;c[t>>2]=l+80;l=pt(b,d,i,k,j,f,g)|0;if(!q)u=l;else{Oa[c[b+36>>2]&7](b,0,0)|0;v=(c[s>>2]|0)==0?-1:l;c[n>>2]=q;c[e>>2]=0;c[t>>2]=0;c[r>>2]=0;c[s>>2]=0;u=v}}else u=pt(b,d,i,k,j,f,g)|0;g=c[b>>2]|0;c[b>>2]=g|m;if(p|0)rt(b);o=(g&32|0)==0?u:-1}Ia=h;return o|0}function pt(d,e,f,h,i,j,k){d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0;l=Ia;Ia=Ia+64|0;m=l+56|0;n=l+40|0;o=l;p=l+48|0;q=l+60|0;c[m>>2]=e;e=(d|0)!=0;r=o+40|0;s=r;t=o+39|0;o=p+4|0;u=0;v=0;w=0;a:while(1){x=u;y=v;while(1){do if((x|0)>-1)if((y|0)>(2147483647-x|0)){c[(Us()|0)>>2]=75;z=-1;break}else{z=y+x|0;break}else z=x;while(0);A=c[m>>2]|0;B=a[A>>0]|0;if(!(B<<24>>24)){C=92;break a}D=B;B=A;b:while(1){switch(D<<24>>24){case 37:{C=10;break b;break}case 0:{E=B;break b;break}default:{}}F=B+1|0;c[m>>2]=F;D=a[F>>0]|0;B=F}c:do if((C|0)==10){C=0;D=B;F=B;while(1){if((a[D+1>>0]|0)!=37){E=F;break c}H=F+1|0;D=D+2|0;c[m>>2]=D;if((a[D>>0]|0)!=37){E=H;break}else F=H}}while(0);y=E-A|0;if(e)st(d,A,y);if(!y)break;else x=z}x=(ht(a[(c[m>>2]|0)+1>>0]|0)|0)==0;y=c[m>>2]|0;if(!x?(a[y+2>>0]|0)==36:0){I=3;J=(a[y+1>>0]|0)+-48|0;K=1}else{I=1;J=-1;K=w}x=y+I|0;c[m>>2]=x;y=a[x>>0]|0;B=(y<<24>>24)+-32|0;if(B>>>0>31|(1<>2]=D;H=a[D>>0]|0;x=(H<<24>>24)+-32|0;if(x>>>0>31|(1<>24==42){if((ht(a[N+1>>0]|0)|0)!=0?(F=c[m>>2]|0,(a[F+2>>0]|0)==36):0){y=F+1|0;c[i+((a[y>>0]|0)+-48<<2)>>2]=10;O=1;P=F+3|0;Q=c[h+((a[y>>0]|0)+-48<<3)>>2]|0}else{if(K|0){R=-1;break}if(e){y=(c[f>>2]|0)+(4-1)&~(4-1);F=c[y>>2]|0;c[f>>2]=y+4;S=F}else S=0;O=0;P=(c[m>>2]|0)+1|0;Q=S}c[m>>2]=P;F=(Q|0)<0;T=P;U=F?M|8192:M;V=O;W=F?0-Q|0:Q}else{F=tt(m)|0;if((F|0)<0){R=-1;break}T=c[m>>2]|0;U=M;V=K;W=F}do if((a[T>>0]|0)==46){F=T+1|0;if((a[F>>0]|0)!=42){c[m>>2]=F;F=tt(m)|0;X=c[m>>2]|0;Y=F;break}if(ht(a[T+2>>0]|0)|0?(F=c[m>>2]|0,(a[F+3>>0]|0)==36):0){y=F+2|0;c[i+((a[y>>0]|0)+-48<<2)>>2]=10;x=c[h+((a[y>>0]|0)+-48<<3)>>2]|0;y=F+4|0;c[m>>2]=y;X=y;Y=x;break}if(V|0){R=-1;break a}if(e){x=(c[f>>2]|0)+(4-1)&~(4-1);y=c[x>>2]|0;c[f>>2]=x+4;Z=y}else Z=0;y=(c[m>>2]|0)+2|0;c[m>>2]=y;X=y;Y=Z}else{X=T;Y=-1}while(0);y=X;x=0;while(1){if(((a[y>>0]|0)+-65|0)>>>0>57){R=-1;break a}F=y;y=y+1|0;c[m>>2]=y;_=a[(a[F>>0]|0)+-65+(33696+(x*58|0))>>0]|0;$=_&255;if(($+-1|0)>>>0>=8)break;else x=$}if(!(_<<24>>24)){R=-1;break}F=(J|0)>-1;do if(_<<24>>24==19)if(F){R=-1;break a}else C=54;else{if(F){c[i+(J<<2)>>2]=$;D=h+(J<<3)|0;B=c[D+4>>2]|0;H=n;c[H>>2]=c[D>>2];c[H+4>>2]=B;C=54;break}if(!e){R=0;break a}ut(n,$,f,k);aa=c[m>>2]|0;C=55}while(0);if((C|0)==54){C=0;if(e){aa=y;C=55}else ba=0}d:do if((C|0)==55){C=0;F=a[aa+-1>>0]|0;B=(x|0)!=0&(F&15|0)==3?F&-33:F;F=U&-65537;H=(U&8192|0)==0?U:F;e:do switch(B|0){case 110:{switch((x&255)<<24>>24){case 0:{c[c[n>>2]>>2]=z;ba=0;break d;break}case 1:{c[c[n>>2]>>2]=z;ba=0;break d;break}case 2:{D=c[n>>2]|0;c[D>>2]=z;c[D+4>>2]=((z|0)<0)<<31>>31;ba=0;break d;break}case 3:{b[c[n>>2]>>1]=z;ba=0;break d;break}case 4:{a[c[n>>2]>>0]=z;ba=0;break d;break}case 6:{c[c[n>>2]>>2]=z;ba=0;break d;break}case 7:{D=c[n>>2]|0;c[D>>2]=z;c[D+4>>2]=((z|0)<0)<<31>>31;ba=0;break d;break}default:{ba=0;break d}}break}case 112:{ca=H|8;da=Y>>>0>8?Y:8;ea=120;C=67;break}case 88:case 120:{ca=H;da=Y;ea=B;C=67;break}case 111:{D=n;fa=wt(c[D>>2]|0,c[D+4>>2]|0,r)|0;D=s-fa|0;ga=fa;ha=H;ia=(H&8|0)==0|(Y|0)>(D|0)?Y:D+1|0;ja=0;ka=103180;C=73;break}case 105:case 100:{D=n;fa=c[D>>2]|0;la=c[D+4>>2]|0;if((la|0)<0){D=uv(0,0,fa|0,la|0)|0;ma=G()|0;na=n;c[na>>2]=D;c[na+4>>2]=ma;oa=D;pa=ma;qa=1;ra=103180;C=72;break e}else{oa=fa;pa=la;qa=(H&2049|0)!=0&1;ra=(H&2048|0)==0?((H&1|0)==0?103180:103182):103181;C=72;break e}break}case 117:{la=n;oa=c[la>>2]|0;pa=c[la+4>>2]|0;qa=0;ra=103180;C=72;break}case 99:{a[t>>0]=c[n>>2];sa=t;ta=F;ua=1;va=0;wa=103180;xa=s;break}case 115:{la=c[n>>2]|0;fa=(la|0)==0?103190:la;la=yt(fa,0,Y)|0;ma=(la|0)==0;sa=fa;ta=F;ua=ma?Y:la-fa|0;va=0;wa=103180;xa=ma?fa+Y|0:la;break}case 67:{c[p>>2]=c[n>>2];c[o>>2]=0;c[n>>2]=p;ya=-1;C=79;break}case 83:{if(!Y){zt(d,32,W,0,H);za=0;C=89}else{ya=Y;C=79}break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{ba=Ma[j&1](d,+g[n>>3],W,Y,H,B)|0;break d;break}default:{sa=A;ta=H;ua=Y;va=0;wa=103180;xa=s}}while(0);f:do if((C|0)==67){C=0;B=n;F=vt(c[B>>2]|0,c[B+4>>2]|0,r,ea&32)|0;B=n;la=(ca&8|0)==0|(c[B>>2]|0)==0&(c[B+4>>2]|0)==0;ga=F;ha=ca;ia=da;ja=la?0:2;ka=la?103180:103180+(ea>>>4)|0;C=73}else if((C|0)==72){C=0;ga=xt(oa,pa,r)|0;ha=H;ia=Y;ja=qa;ka=ra;C=73}else if((C|0)==79){C=0;la=0;F=c[n>>2]|0;while(1){B=c[F>>2]|0;if(!B){Aa=la;break}fa=At(q,B)|0;Ba=(fa|0)<0;if(Ba|fa>>>0>(ya-la|0)>>>0){C=83;break}B=fa+la|0;if(ya>>>0>B>>>0){la=B;F=F+4|0}else{Aa=B;break}}if((C|0)==83){C=0;if(Ba){R=-1;break a}else Aa=la}zt(d,32,W,Aa,H);if(!Aa){za=0;C=89}else{F=0;B=c[n>>2]|0;while(1){fa=c[B>>2]|0;if(!fa){za=Aa;C=89;break f}ma=At(q,fa)|0;F=ma+F|0;if((F|0)>(Aa|0)){za=Aa;C=89;break f}st(d,q,ma);if(F>>>0>=Aa>>>0){za=Aa;C=89;break}else B=B+4|0}}}while(0);if((C|0)==73){C=0;B=n;F=(c[B>>2]|0)!=0|(c[B+4>>2]|0)!=0;B=(ia|0)!=0|F;la=s-ga+((F^1)&1)|0;sa=B?ga:r;ta=(ia|0)>-1?ha&-65537:ha;ua=B?((ia|0)>(la|0)?ia:la):0;va=ja;wa=ka;xa=s}else if((C|0)==89){C=0;zt(d,32,W,za,H^8192);ba=(W|0)>(za|0)?W:za;break}la=xa-sa|0;B=(ua|0)<(la|0)?la:ua;F=B+va|0;ma=(W|0)<(F|0)?F:W;zt(d,32,ma,F,ta);st(d,wa,va);zt(d,48,ma,F,ta^65536);zt(d,48,B,la,0);st(d,sa,la);zt(d,32,ma,F,ta^8192);ba=ma}while(0);u=z;v=ba;w=V}g:do if((C|0)==92)if(!d)if(!w)R=0;else{V=1;while(1){ba=c[i+(V<<2)>>2]|0;if(!ba)break;ut(h+(V<<3)|0,ba,f,k);ba=V+1|0;if(ba>>>0<10)V=ba;else{R=1;break g}}ba=V;while(1){if(c[i+(ba<<2)>>2]|0){R=-1;break g}ba=ba+1|0;if(ba>>>0>=10){R=1;break}}}else R=z;while(0);Ia=l;return R|0}function qt(a){a=a|0;return 1}function rt(a){a=a|0;return}function st(a,b,d){a=a|0;b=b|0;d=d|0;if(!(c[a>>2]&32))Et(b,d,a)|0;return}function tt(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;if(!(ht(a[c[b>>2]>>0]|0)|0))d=0;else{e=0;while(1){f=c[b>>2]|0;g=(e*10|0)+-48+(a[f>>0]|0)|0;h=f+1|0;c[b>>2]=h;if(!(ht(a[h>>0]|0)|0)){d=g;break}else e=g}}return d|0}function ut(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0.0;a:do if(b>>>0<=20)do switch(b|0){case 9:{f=(c[d>>2]|0)+(4-1)&~(4-1);h=c[f>>2]|0;c[d>>2]=f+4;c[a>>2]=h;break a;break}case 10:{h=(c[d>>2]|0)+(4-1)&~(4-1);f=c[h>>2]|0;c[d>>2]=h+4;h=a;c[h>>2]=f;c[h+4>>2]=((f|0)<0)<<31>>31;break a;break}case 11:{f=(c[d>>2]|0)+(4-1)&~(4-1);h=c[f>>2]|0;c[d>>2]=f+4;f=a;c[f>>2]=h;c[f+4>>2]=0;break a;break}case 12:{f=(c[d>>2]|0)+(8-1)&~(8-1);h=f;i=c[h>>2]|0;j=c[h+4>>2]|0;c[d>>2]=f+8;f=a;c[f>>2]=i;c[f+4>>2]=j;break a;break}case 13:{j=(c[d>>2]|0)+(4-1)&~(4-1);f=c[j>>2]|0;c[d>>2]=j+4;j=(f&65535)<<16>>16;f=a;c[f>>2]=j;c[f+4>>2]=((j|0)<0)<<31>>31;break a;break}case 14:{j=(c[d>>2]|0)+(4-1)&~(4-1);f=c[j>>2]|0;c[d>>2]=j+4;j=a;c[j>>2]=f&65535;c[j+4>>2]=0;break a;break}case 15:{j=(c[d>>2]|0)+(4-1)&~(4-1);f=c[j>>2]|0;c[d>>2]=j+4;j=(f&255)<<24>>24;f=a;c[f>>2]=j;c[f+4>>2]=((j|0)<0)<<31>>31;break a;break}case 16:{j=(c[d>>2]|0)+(4-1)&~(4-1);f=c[j>>2]|0;c[d>>2]=j+4;j=a;c[j>>2]=f&255;c[j+4>>2]=0;break a;break}case 17:{j=(c[d>>2]|0)+(8-1)&~(8-1);k=+g[j>>3];c[d>>2]=j+8;g[a>>3]=k;break a;break}case 18:{Sa[e&15](a,d);break a;break}default:break a}while(0);while(0);return}function vt(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,h=0;if((b|0)==0&(c|0)==0)g=e;else{h=b;b=c;c=e;while(1){e=c+-1|0;a[e>>0]=d[34160+(h&15)>>0]|0|f;h=Cv(h|0,b|0,4)|0;b=G()|0;if((h|0)==0&(b|0)==0){g=e;break}else c=e}}return g|0}function wt(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;if((b|0)==0&(c|0)==0)e=d;else{f=b;b=c;c=d;while(1){d=c+-1|0;a[d>>0]=f&7|48;f=Cv(f|0,b|0,3)|0;b=G()|0;if((f|0)==0&(b|0)==0){e=d;break}else c=d}}return e|0}function xt(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(c>>>0>0|(c|0)==0&b>>>0>4294967295){e=b;f=c;c=d;do{g=e;e=Av(e|0,f|0,10,0)|0;h=f;f=G()|0;i=zv(e|0,f|0,10,0)|0;j=uv(g|0,h|0,i|0,G()|0)|0;G()|0;c=c+-1|0;a[c>>0]=j&255|48}while(h>>>0>9|(h|0)==9&g>>>0>4294967295);k=c;l=e}else{k=d;l=b}if(!l)m=k;else{b=k;k=l;while(1){l=k;k=(k>>>0)/10|0;d=b+-1|0;a[d>>0]=l-(k*10|0)|48;if(l>>>0<10){m=d;break}else b=d}}return m|0}function yt(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;f=d&255;g=(e|0)!=0;a:do if(g&(b&3|0)!=0){h=d&255;i=e;j=b;while(1){if((a[j>>0]|0)==h<<24>>24){k=i;l=j;m=6;break a}n=j+1|0;o=i+-1|0;p=(o|0)!=0;if(p&(n&3|0)!=0){i=o;j=n}else{q=o;r=n;s=p;m=5;break}}}else{q=e;r=b;s=g;m=5}while(0);if((m|0)==5)if(s){k=q;l=r;m=6}else m=16;b:do if((m|0)==6){r=d&255;if((a[l>>0]|0)==r<<24>>24)if(!k){m=16;break}else{t=l;break}q=B(f,16843009)|0;c:do if(k>>>0>3){s=k;g=l;while(1){b=c[g>>2]^q;if((b&-2139062144^-2139062144)&b+-16843009|0){u=g;v=s;break c}b=g+4|0;e=s+-4|0;if(e>>>0>3){s=e;g=b}else{w=e;x=b;m=11;break}}}else{w=k;x=l;m=11}while(0);if((m|0)==11)if(!w){m=16;break}else{u=x;v=w}q=v;g=u;while(1){if((a[g>>0]|0)==r<<24>>24){t=g;break b}q=q+-1|0;if(!q){m=16;break}else g=g+1|0}}while(0);if((m|0)==16)t=0;return t|0}function zt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=Ia;Ia=Ia+256|0;g=f;if((c|0)>(d|0)&(e&73728|0)==0){e=c-d|0;Iv(g|0,b<<24>>24|0,(e>>>0<256?e:256)|0)|0;if(e>>>0>255){b=c-d|0;d=e;do{st(a,g,256);d=d+-256|0}while(d>>>0>255);h=b&255}else h=e;st(a,g,h)}Ia=f;return}function At(a,b){a=a|0;b=b|0;var c=0;if(!a)c=0;else c=Bt(a,b,0)|0;return c|0}function Bt(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;do if(b){if(d>>>0<128){a[b>>0]=d;f=1;break}if(!(c[c[(Ct()|0)+188>>2]>>2]|0))if((d&-128|0)==57216){a[b>>0]=d;f=1;break}else{c[(Us()|0)>>2]=84;f=-1;break}if(d>>>0<2048){a[b>>0]=d>>>6|192;a[b+1>>0]=d&63|128;f=2;break}if(d>>>0<55296|(d&-8192|0)==57344){a[b>>0]=d>>>12|224;a[b+1>>0]=d>>>6&63|128;a[b+2>>0]=d&63|128;f=3;break}if((d+-65536|0)>>>0<1048576){a[b>>0]=d>>>18|240;a[b+1>>0]=d>>>12&63|128;a[b+2>>0]=d>>>6&63|128;a[b+3>>0]=d&63|128;f=4;break}else{c[(Us()|0)>>2]=84;f=-1;break}}else f=1;while(0);return f|0}function Ct(){return Dt()|0}function Dt(){return 34888}function Et(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=e+16|0;g=c[f>>2]|0;if(!g)if(!(Ft(e)|0)){h=c[f>>2]|0;i=5}else j=0;else{h=g;i=5}a:do if((i|0)==5){g=e+20|0;f=c[g>>2]|0;k=f;if((h-f|0)>>>0>>0){j=Oa[c[e+36>>2]&7](e,b,d)|0;break}b:do if((a[e+75>>0]|0)<0|(d|0)==0){l=k;m=0;n=d;o=b}else{f=d;while(1){p=f+-1|0;if((a[b+p>>0]|0)==10)break;if(!p){l=k;m=0;n=d;o=b;break b}else f=p}p=Oa[c[e+36>>2]&7](e,b,f)|0;if(p>>>0>>0){j=p;break a}l=c[g>>2]|0;m=f;n=d-f|0;o=b+f|0}while(0);Hv(l|0,o|0,n|0)|0;c[g>>2]=(c[g>>2]|0)+n;j=m+n|0}while(0);return j|0}function Ft(b){b=b|0;var d=0,e=0,f=0;d=b+74|0;e=a[d>>0]|0;a[d>>0]=e+255|e;e=c[b>>2]|0;if(!(e&8)){c[b+8>>2]=0;c[b+4>>2]=0;d=c[b+44>>2]|0;c[b+28>>2]=d;c[b+20>>2]=d;c[b+16>>2]=d+(c[b+48>>2]|0);f=0}else{c[b>>2]=e|32;f=-1}return f|0}function Gt(a){a=+a;var b=0;g[h>>3]=a;b=c[h>>2]|0;F(c[h+4>>2]|0);return b|0}function Ht(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=a+20|0;f=c[e>>2]|0;g=(c[a+16>>2]|0)-f|0;a=g>>>0>d>>>0?d:g;Hv(f|0,b|0,a|0)|0;c[e>>2]=(c[e>>2]|0)+a;return d|0}function It(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=a+112|0;c[e>>2]=b;c[e+4>>2]=d;e=c[a+8>>2]|0;f=c[a+4>>2]|0;g=e-f|0;h=((g|0)<0)<<31>>31;i=a+120|0;c[i>>2]=g;c[i+4>>2]=h;if(((b|0)!=0|(d|0)!=0)&((h|0)>(d|0)|(h|0)==(d|0)&g>>>0>b>>>0))c[a+104>>2]=f+b;else c[a+104>>2]=e;return}function Jt(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0;a:do if(e>>>0>36){c[(Us()|0)>>2]=22;i=0;j=0}else{k=b+4|0;l=b+104|0;do{m=c[k>>2]|0;if(m>>>0<(c[l>>2]|0)>>>0){c[k>>2]=m+1;n=d[m>>0]|0}else n=Kt(b)|0}while((Lt(n)|0)!=0);b:do switch(n|0){case 43:case 45:{m=((n|0)==45)<<31>>31;o=c[k>>2]|0;if(o>>>0<(c[l>>2]|0)>>>0){c[k>>2]=o+1;p=d[o>>0]|0;q=m;break b}else{p=Kt(b)|0;q=m;break b}break}default:{p=n;q=0}}while(0);m=(e|0)==0;do if((e|16|0)==16&(p|0)==48){o=c[k>>2]|0;if(o>>>0<(c[l>>2]|0)>>>0){c[k>>2]=o+1;r=d[o>>0]|0}else r=Kt(b)|0;if((r|32|0)!=120)if(m){s=8;t=r;u=47;break}else{v=e;w=r;u=32;break}o=c[k>>2]|0;if(o>>>0<(c[l>>2]|0)>>>0){c[k>>2]=o+1;x=d[o>>0]|0}else x=Kt(b)|0;if((d[34177+x>>0]|0)>15){o=(c[l>>2]|0)==0;if(!o)c[k>>2]=(c[k>>2]|0)+-1;if(!f){It(b,0,0);i=0;j=0;break a}if(o){i=0;j=0;break a}c[k>>2]=(c[k>>2]|0)+-1;i=0;j=0;break a}else{s=16;t=x;u=47}}else{o=m?10:e;if(o>>>0>(d[34177+p>>0]|0)>>>0){v=o;w=p;u=32}else{if(c[l>>2]|0)c[k>>2]=(c[k>>2]|0)+-1;It(b,0,0);c[(Us()|0)>>2]=22;i=0;j=0;break a}}while(0);c:do if((u|0)==32)if((v|0)==10){m=w+-48|0;if(m>>>0<10){o=m;m=0;do{m=(m*10|0)+o|0;y=c[k>>2]|0;if(y>>>0<(c[l>>2]|0)>>>0){c[k>>2]=y+1;z=d[y>>0]|0}else z=Kt(b)|0;o=z+-48|0}while(o>>>0<10&m>>>0<429496729);if(o>>>0<10){y=m;A=0;C=z;D=o;while(1){E=zv(y|0,A|0,10,0)|0;H=G()|0;I=((D|0)<0)<<31>>31;J=~I;if(H>>>0>J>>>0|(H|0)==(J|0)&E>>>0>~D>>>0){K=y;L=A;M=10;N=C;u=76;break c}y=tv(E|0,H|0,D|0,I|0)|0;A=G()|0;I=c[k>>2]|0;if(I>>>0<(c[l>>2]|0)>>>0){c[k>>2]=I+1;O=d[I>>0]|0}else O=Kt(b)|0;D=O+-48|0;if(!(D>>>0<10&(A>>>0<429496729|(A|0)==429496729&y>>>0<2576980378)))break;else C=O}if(D>>>0>9){P=A;Q=y;R=q}else{K=y;L=A;M=10;N=O;u=76}}else{P=0;Q=m;R=q}}else{P=0;Q=0;R=q}}else{s=v;t=w;u=47}while(0);d:do if((u|0)==47){if(!(s+-1&s)){C=a[103228+((s*23|0)>>>5&7)>>0]|0;o=a[34177+t>>0]|0;I=o&255;if(s>>>0>I>>>0){H=I;E=0;do{E=H|E<>2]|0;if(J>>>0<(c[l>>2]|0)>>>0){c[k>>2]=J+1;S=d[J>>0]|0}else S=Kt(b)|0;T=a[34177+S>>0]|0;H=T&255}while(E>>>0<134217728&s>>>0>H>>>0);U=T;V=0;W=E;X=S;Y=H}else{U=o;V=0;W=0;X=t;Y=I}m=Cv(-1,-1,C|0)|0;A=G()|0;if(s>>>0<=Y>>>0|(A>>>0>>0|(A|0)==(V|0)&m>>>0>>0)){K=W;L=V;M=s;N=X;u=76;break}y=W;D=V;J=U;while(1){Z=Dv(y|0,D|0,C|0)|0;_=G()|0;$=Z|J&255;Z=c[k>>2]|0;if(Z>>>0<(c[l>>2]|0)>>>0){c[k>>2]=Z+1;aa=d[Z>>0]|0}else aa=Kt(b)|0;J=a[34177+aa>>0]|0;if(s>>>0<=(J&255)>>>0|(_>>>0>A>>>0|(_|0)==(A|0)&$>>>0>m>>>0)){K=$;L=_;M=s;N=aa;u=76;break d}else{y=$;D=_}}}D=a[34177+t>>0]|0;y=D&255;if(s>>>0>y>>>0){m=y;A=0;do{A=m+(B(A,s)|0)|0;J=c[k>>2]|0;if(J>>>0<(c[l>>2]|0)>>>0){c[k>>2]=J+1;ba=d[J>>0]|0}else ba=Kt(b)|0;ca=a[34177+ba>>0]|0;m=ca&255}while(A>>>0<119304647&s>>>0>m>>>0);da=ca;ea=A;fa=0;ga=ba;ha=m}else{da=D;ea=0;fa=0;ga=t;ha=y}if(s>>>0>ha>>>0){J=Av(-1,-1,s|0,0)|0;C=G()|0;I=da;o=fa;H=ea;E=ga;while(1){if(o>>>0>C>>>0|(o|0)==(C|0)&H>>>0>J>>>0){K=H;L=o;M=s;N=E;u=76;break d}_=zv(H|0,o|0,s|0,0)|0;$=G()|0;Z=I&255;if($>>>0>4294967295|($|0)==-1&_>>>0>~Z>>>0){K=H;L=o;M=s;N=E;u=76;break d}ia=tv(_|0,$|0,Z|0,0)|0;Z=G()|0;$=c[k>>2]|0;if($>>>0<(c[l>>2]|0)>>>0){c[k>>2]=$+1;ja=d[$>>0]|0}else ja=Kt(b)|0;I=a[34177+ja>>0]|0;if(s>>>0<=(I&255)>>>0){K=ia;L=Z;M=s;N=ja;u=76;break}else{o=Z;H=ia;E=ja}}}else{K=ea;L=fa;M=s;N=ga;u=76}}while(0);if((u|0)==76)if(M>>>0>(d[34177+N>>0]|0)>>>0){do{E=c[k>>2]|0;if(E>>>0<(c[l>>2]|0)>>>0){c[k>>2]=E+1;ka=d[E>>0]|0}else ka=Kt(b)|0}while(M>>>0>(d[34177+ka>>0]|0)>>>0);c[(Us()|0)>>2]=34;P=h;Q=g;R=(g&1|0)==0&0==0?q:0}else{P=L;Q=K;R=q}if(c[l>>2]|0)c[k>>2]=(c[k>>2]|0)+-1;if(!(P>>>0>>0|(P|0)==(h|0)&Q>>>0>>0)){if(!((g&1|0)!=0|0!=0|(R|0)!=0)){c[(Us()|0)>>2]=34;E=tv(g|0,h|0,-1,-1)|0;i=G()|0;j=E;break}if(P>>>0>h>>>0|(P|0)==(h|0)&Q>>>0>g>>>0){c[(Us()|0)>>2]=34;i=h;j=g;break}}E=((R|0)<0)<<31>>31;H=uv(Q^R|0,P^E|0,R|0,E|0)|0;i=G()|0;j=H}while(0);F(i|0);return j|0}function Kt(b){b=b|0;var 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;e=b+112|0;f=e;g=c[f>>2]|0;h=c[f+4>>2]|0;if(!((g|0)==0&(h|0)==0)?(f=b+120|0,i=c[f+4>>2]|0,!((i|0)<(h|0)|((i|0)==(h|0)?(c[f>>2]|0)>>>0