>>0){yc(17704,19576,1588,22688);return 0}else{o=d+4|0;CK(r+(-(c[o>>2]|0)|0)|0,r|0,u-r|0)|0;w=o;break}}}while(0);c[p>>2]=v;c[w>>2]=(c[w>>2]|0)+4;h=v;return h|0}else if((f<<24>>24|0)==112){f=b+3|0;if((a[f]|0)!=111){h=f;return h|0}f=b+4|0;if((a[f]|0)!=115){h=f;return h|0}f=b+5|0;if((a[f]|0)!=59){h=f;return h|0}a[b]=39;f=b+6|0;v=e;w=d|0;p=c[w>>2]|0;do{if((p|0)==0){x=d+4|0}else{if(e>>>0>>0){yc(17704,19576,1588,22688);return 0}else{r=d+4|0;CK(p+(-(c[r>>2]|0)|0)|0,p|0,v-p|0)|0;x=r;break}}}while(0);c[w>>2]=f;c[x>>2]=(c[x>>2]|0)+5;h=f;return h|0}else{h=q;return h|0}break};case 103:{q=b+2|0;if((a[q]|0)!=116){h=q;return h|0}q=b+3|0;if((a[q]|0)!=59){h=q;return h|0}a[b]=62;q=b+4|0;f=e;x=d|0;w=c[x>>2]|0;do{if((w|0)==0){y=d+4|0}else{if(e>>>0>>0){yc(17704,19576,1588,22688);return 0}else{p=d+4|0;CK(w+(-(c[p>>2]|0)|0)|0,w|0,f-w|0)|0;y=p;break}}}while(0);c[x>>2]=q;c[y>>2]=(c[y>>2]|0)+3;h=q;return h|0};case 108:{q=b+2|0;if((a[q]|0)!=116){h=q;return h|0}q=b+3|0;if((a[q]|0)!=59){h=q;return h|0}a[b]=60;q=b+4|0;y=e;x=d|0;w=c[x>>2]|0;do{if((w|0)==0){z=d+4|0}else{if(e>>>0>>0){yc(17704,19576,1588,22688);return 0}else{f=d+4|0;CK(w+(-(c[f>>2]|0)|0)|0,w|0,y-w|0)|0;z=f;break}}}while(0);c[x>>2]=q;c[z>>2]=(c[z>>2]|0)+3;h=q;return h|0};case 113:{q=b+2|0;if((a[q]|0)!=117){h=q;return h|0}q=b+3|0;if((a[q]|0)!=111){h=q;return h|0}q=b+4|0;if((a[q]|0)!=116){h=q;return h|0}q=b+5|0;if((a[q]|0)!=59){h=q;return h|0}a[b]=34;q=b+6|0;b=e;z=d|0;x=c[z>>2]|0;do{if((x|0)==0){A=d+4|0}else{if(e>>>0>>0){yc(17704,19576,1588,22688);return 0}else{w=d+4|0;CK(x+(-(c[w>>2]|0)|0)|0,x|0,b-x|0)|0;A=w;break}}}while(0);c[z>>2]=q;c[A>>2]=(c[A>>2]|0)+5;h=q;return h|0};default:{h=e;return h|0}}return 0}function pw(b,c){b=b|0;c=c|0;var d=0,e=0,f=0;d=b;while(1){b=a[d]|0;if(!((a[48312+(b&255)|0]&2)==0)){if(b<<24>>24==c<<24>>24){break}if(b<<24>>24==0){e=0;f=7;break}}d=d+1|0}if((f|0)==7){return e|0}a[d]=0;e=d+1|0;return e|0}function qw(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;i=i+8|0;f=e|0;g=f|0;c[g>>2]=0;h=f+4|0;c[h>>2]=0;j=b;while(1){b=a[j]|0;if((a[48312+(b&255)|0]&2)==0){j=j+1|0;continue}if(b<<24>>24==d<<24>>24){break}if((b<<24>>24|0)==38){j=ow(j,f)|0;continue}else if((b<<24>>24|0)==0){k=0;l=13;break}else{j=j+1|0;continue}}if((l|0)==13){i=e;return k|0}l=c[g>>2]|0;do{if((l|0)==0){m=j}else{if(l>>>0>j>>>0){yc(17704,19576,1605,22768);return 0}else{g=-(c[h>>2]|0)|0;CK(l+g|0,l|0,j-l|0)|0;m=j+g|0;break}}}while(0);a[m]=0;k=j+1|0;i=e;return k|0}function rw(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;d=i;e=0;f=b;b=0;a:while(1){g=b;h=f;while(1){j=a[h]|0;if((a[48312+(j&255)|0]&2)==0){h=h+1|0;continue}if(j<<24>>24==c<<24>>24){k=6;break a}if((j<<24>>24|0)==13){l=h+1|0;a[h]=10;if((a[l]|0)==10){break}else{h=l;continue}}else if((j<<24>>24|0)==0){m=0;k=19;break a}else{h=h+1|0;continue}}if((e|0)!=0){if(l>>>0>>0){k=15;break}CK(e+(-g|0)|0,e|0,l-e|0)|0}j=h+2|0;e=j;f=j;b=g+1|0}if((k|0)==6){do{if((e|0)==0){n=h}else{if(e>>>0>h>>>0){yc(17704,19576,1605,22768);return 0}else{CK(e+(-g|0)|0,e|0,h-e|0)|0;n=h+(-g|0)|0;break}}}while(0);a[n]=0;m=h+1|0;i=d;return m|0}else if((k|0)==15){yc(17704,19576,1588,22688);return 0}else if((k|0)==19){i=d;return m|0}return 0}function sw(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=i;i=i+8|0;f=e|0;g=f|0;c[g>>2]=0;h=f+4|0;c[h>>2]=0;j=b;while(1){b=a[j]|0;if((a[48312+(b&255)|0]&2)==0){j=j+1|0;continue}if(b<<24>>24==d<<24>>24){k=5;break}if((b<<24>>24|0)==13){l=j+1|0;a[j]=10;if((a[l]|0)!=10){j=l;continue}m=c[g>>2]|0;if((m|0)==0){n=c[h>>2]|0}else{if(l>>>0>>0){k=15;break}o=c[h>>2]|0;CK(m+(-o|0)|0,m|0,l-m|0)|0;n=o}o=j+2|0;c[g>>2]=o;c[h>>2]=n+1;j=o;continue}else if((b<<24>>24|0)==38){j=ow(j,f)|0;continue}else if((b<<24>>24|0)==0){p=0;k=20;break}else{j=j+1|0;continue}}if((k|0)==5){f=c[g>>2]|0;do{if((f|0)==0){q=j}else{if(f>>>0>j>>>0){yc(17704,19576,1605,22768);return 0}else{g=-(c[h>>2]|0)|0;CK(f+g|0,f|0,j-f|0)|0;q=j+g|0;break}}}while(0);a[q]=0;p=j+1|0;i=e;return p|0}else if((k|0)==15){yc(17704,19576,1588,22688);return 0}else if((k|0)==20){i=e;return p|0}return 0}function tw(b,c){b=b|0;c=c|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=i;f=0;g=b;b=0;a:while(1){h=b;j=g;while(1){k=a[j]|0;l=d[48312+(k&255)|0]|0;if((l&4|0)==0){j=j+1|0;continue}if(k<<24>>24==c<<24>>24){m=6;break a}if((l&8|0)==0){if(k<<24>>24==0){n=0;m=21;break a}j=j+1|0;continue}else{o=j+1|0;a[j]=32;if(!(k<<24>>24==13)){j=o;continue}if((a[o]|0)==10){break}else{j=o;continue}}}if((f|0)!=0){if(o>>>0>>0){m=16;break}CK(f+(-h|0)|0,f|0,o-f|0)|0}k=j+2|0;f=k;g=k;b=h+1|0}if((m|0)==6){do{if((f|0)==0){p=j}else{if(f>>>0>j>>>0){yc(17704,19576,1605,22768);return 0}else{CK(f+(-h|0)|0,f|0,j-f|0)|0;p=j+(-h|0)|0;break}}}while(0);a[p]=0;n=j+1|0;i=e;return n|0}else if((m|0)==16){yc(17704,19576,1588,22688);return 0}else if((m|0)==21){i=e;return n|0}return 0}function uw(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=i;i=i+8|0;g=f|0;h=g|0;c[h>>2]=0;j=g+4|0;c[j>>2]=0;k=b;while(1){b=a[k]|0;l=d[48312+(b&255)|0]|0;if((l&4|0)==0){k=k+1|0;continue}if(b<<24>>24==e<<24>>24){m=5;break}if((l&8|0)==0){if((b<<24>>24|0)==38){k=ow(k,g)|0;continue}else if((b<<24>>24|0)==0){n=0;m=22;break}else{k=k+1|0;continue}}l=k+1|0;a[k]=32;if(!(b<<24>>24==13)){k=l;continue}if((a[l]|0)!=10){k=l;continue}b=c[h>>2]|0;if((b|0)==0){o=c[j>>2]|0}else{if(l>>>0>>0){m=16;break}p=c[j>>2]|0;CK(b+(-p|0)|0,b|0,l-b|0)|0;o=p}p=k+2|0;c[h>>2]=p;c[j>>2]=o+1;k=p}if((m|0)==5){o=c[h>>2]|0;do{if((o|0)==0){q=k}else{if(o>>>0>k>>>0){yc(17704,19576,1605,22768);return 0}else{h=-(c[j>>2]|0)|0;CK(o+h|0,o|0,k-o|0)|0;q=k+h|0;break}}}while(0);a[q]=0;n=k+1|0;i=f;return n|0}else if((m|0)==16){yc(17704,19576,1588,22688);return 0}else if((m|0)==22){i=f;return n|0}return 0}function vw(b,c){b=b|0;c=c|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=i;f=0;if((a[48312+(d[b]|0)|0]&8)==0){g=0;h=b}else{j=b;do{j=j+1|0;}while(!((a[48312+(d[j]|0)|0]&8)==0));k=j-b|0;j=b+k|0;f=k;g=j;h=j}a:while(1){l=h;while(1){j=a[l]|0;k=d[48312+(j&255)|0]|0;if((k&12|0)==0){l=l+1|0;continue}if(j<<24>>24==c<<24>>24){m=8;break a}if((k&8|0)!=0){n=l+1|0;a[l]=32;if((a[48312+(d[n]|0)|0]&8)==0){l=n;continue}else{o=n;break}}if(j<<24>>24==0){p=0;m=24;break a}l=l+1|0}do{o=o+1|0;}while(!((a[48312+(d[o]|0)|0]&8)==0));j=n;k=o-j|0;if((g|0)!=0){if(n>>>0>>0){m=19;break}CK(g+(-f|0)|0,g|0,j-g|0)|0}j=l+(k+1)|0;f=f+k|0;g=j;h=j}if((m|0)==8){do{if((g|0)==0){q=l}else{if(g>>>0>l>>>0){yc(17704,19576,1605,22768);return 0}else{CK(g+(-f|0)|0,g|0,l-g|0)|0;q=l+(-f|0)|0;break}}}while(0);while(1){f=q-1|0;a[q]=0;if((a[48312+(d[f]|0)|0]&8)==0){break}else{q=f}}p=l+1|0;i=e;return p|0}else if((m|0)==19){yc(17704,19576,1588,22688);return 0}else if((m|0)==24){i=e;return p|0}return 0}function ww(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=i;i=i+8|0;g=f|0;h=g|0;c[h>>2]=0;j=g+4|0;c[j>>2]=0;if((a[48312+(d[b]|0)|0]&8)==0){k=b}else{l=b;do{l=l+1|0;}while(!((a[48312+(d[l]|0)|0]&8)==0));m=l-b|0;l=b+m|0;c[h>>2]=l;c[j>>2]=m;k=l}while(1){l=a[k]|0;m=d[48312+(l&255)|0]|0;if((m&12|0)==0){k=k+1|0;continue}if(l<<24>>24==e<<24>>24){n=7;break}if((m&8|0)==0){if((l<<24>>24|0)==38){k=ow(k,g)|0;continue}else if((l<<24>>24|0)==0){o=0;n=25;break}else{k=k+1|0;continue}}l=k+1|0;a[k]=32;if((a[48312+(d[l]|0)|0]&8)==0){k=l;continue}else{p=l}do{p=p+1|0;}while(!((a[48312+(d[p]|0)|0]&8)==0));m=l;b=p-m|0;q=c[h>>2]|0;if((q|0)==0){r=c[j>>2]|0}else{if(l>>>0>>0){n=19;break}s=c[j>>2]|0;CK(q+(-s|0)|0,q|0,m-q|0)|0;r=s}s=k+(b+1)|0;c[h>>2]=s;c[j>>2]=r+b;k=s}if((n|0)==7){r=c[h>>2]|0;do{if((r|0)==0){t=k}else{if(r>>>0>k>>>0){yc(17704,19576,1605,22768);return 0}else{h=-(c[j>>2]|0)|0;CK(r+h|0,r|0,k-r|0)|0;t=k+h|0;break}}}while(0);while(1){r=t-1|0;a[t]=0;if((a[48312+(d[r]|0)|0]&8)==0){break}else{t=r}}o=k+1|0;i=f;return o|0}else if((n|0)==19){yc(17704,19576,1588,22688);return 0}else if((n|0)==25){i=f;return o|0}return 0}function xw(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;f=(c[a>>2]|0)==(e|0);if(f){c[e+16>>2]=c[a+4>>2]}if((e+24|0)>>>0>b>>>0){yc(17488,19576,340,22816)}g=e+16|0;h=c[g>>2]|0;if(!((e+24+h|0)>>>0>b>>>0)){yc(17488,19576,340,22816)}b=e+20|0;i=(c[b>>2]|0)+d|0;c[b>>2]=i;if(i>>>0>h>>>0){yc(17432,19576,344,22816)}if((i|0)!=(h|0)){return}h=e+12|0;i=c[h>>2]|0;if((i|0)==0){if(!f){yc(17408,19576,350,22816)}c[b>>2]=0;c[g>>2]=0;c[a+4>>2]=0;return}if(f){yc(17368,19576,358,22816)}f=e+8|0;a=c[f>>2]|0;if((a|0)==0){yc(17344,19576,359,22816)}c[a+12>>2]=i;c[(c[h>>2]|0)+8>>2]=c[f>>2];ad[c[12144]&2047](c[e+4>>2]|0);return}function yw(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=b>>>0<8193>>>0;f=dd[c[12142]&255](e?32824:b+56|0)|0;if((f|0)==0){c[d>>2]=0;g=0;return g|0}h=f+31&-32;i=h;DK(h|0,0,24)|0;c[i+4>>2]=f;f=a|0;c[i>>2]=c[c[f>>2]>>2];c[d>>2]=i;if((h|0)==0){g=0;return g|0}do{if(e){h=a+4|0;d=c[f>>2]|0;c[d+16>>2]=c[h>>2];c[i+8>>2]=d;c[(c[f>>2]|0)+12>>2]=i;c[f>>2]=i;c[h>>2]=b}else{h=c[(c[f>>2]|0)+8>>2]|0;if((h|0)==0){yc(17248,19576,445,22792);return 0}else{c[i+8>>2]=h;c[i+12>>2]=c[f>>2];c[(c[(c[f>>2]|0)+8>>2]|0)+12>>2]=i;c[(c[f>>2]|0)+8>>2]=i;break}}}while(0);c[i+16>>2]=b;g=i+24|0;return g|0}function zw(){c[13476]=0;c[13477]=0;c[13478]=0;c[13479]=53908;c[13480]=53908;rb(126,53904,t|0)|0;return}function Aw(a){a=a|0;Hf(a|0);c[a>>2]=36304;c[a+4>>2]=0;return}function Bw(a){a=a|0;c[a+4>>2]=0;return}function Cw(a){a=a|0;Jf(a|0);iK(a);return}function Dw(a){a=a|0;Jf(a|0);return}function Ew(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+32|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;Nv(f,d,22120);if((Bv(f)|0)==0){j=0;i=e;return j|0}Nv(h,d,22120);d=Ev(h)|0;h=AK(d|0)|0;if(h>>>0>4294967279>>>0){GA(0);return 0}if(h>>>0<11>>>0){a[g]=h<<1;k=g+1|0}else{f=h+16&-16;l=gK(f)|0;c[g+8>>2]=l;c[g>>2]=f|1;c[g+4>>2]=h;k=l}BK(k|0,d|0,h)|0;a[k+h|0]=0;c[b+4>>2]=Lf(b|0,g)|0;if((a[g]&1)==0){j=1;i=e;return j|0}iK(c[g+8>>2]|0);j=1;i=e;return j|0}function Fw(a){a=a|0;Hf(a|0);c[a>>2]=37648;c[a+4>>2]=0;return}function Gw(a){a=a|0;c[a+4>>2]=0;return}function Hw(a){a=a|0;Jf(a|0);iK(a);return}function Iw(a){a=a|0;Jf(a|0);return}function Jw(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+32|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;Nv(f,d,14584);if((Bv(f)|0)==0){j=0;i=e;return j|0}Nv(h,d,14584);d=Ev(h)|0;h=AK(d|0)|0;if(h>>>0>4294967279>>>0){GA(0);return 0}if(h>>>0<11>>>0){a[g]=h<<1;k=g+1|0}else{f=h+16&-16;l=gK(f)|0;c[g+8>>2]=l;c[g>>2]=f|1;c[g+4>>2]=h;k=l}BK(k|0,d|0,h)|0;a[k+h|0]=0;c[b+4>>2]=Lf(b|0,g)|0;if((a[g]&1)==0){j=1;i=e;return j|0}iK(c[g+8>>2]|0);j=1;i=e;return j|0}function Kw(a){a=a|0;var b=0;Hf(a|0);c[a>>2]=37576;b=a+4|0;DK(b|0,0,12)|0;OA(b,49656)|0;c[a+16>>2]=0;return}function Lw(a){a=a|0;OA(a+4|0,49656)|0;c[a+16>>2]=0;return}function Mw(b){b=b|0;c[b>>2]=37576;if(!((a[b+4|0]&1)==0)){iK(c[b+12>>2]|0)}Jf(b|0);iK(b);return}function Nw(b){b=b|0;c[b>>2]=37576;if(!((a[b+4|0]&1)==0)){iK(c[b+12>>2]|0)}Jf(b|0);return}function Ow(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;e=i;i=i+80|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;j=e+40|0;k=e+48|0;l=e+56|0;m=e+72|0;Nv(f,d,19272);do{if((Bv(f)|0)==0){n=0}else{Nv(j,d,19272);o=Ev(j)|0;p=AK(o|0)|0;if(p>>>0>4294967279>>>0){GA(0);return 0}if(p>>>0<11>>>0){a[h]=p<<1;q=h+1|0}else{r=p+16&-16;s=gK(r)|0;c[h+8>>2]=s;c[h>>2]=r|1;c[h+4>>2]=p;q=s}BK(q|0,o|0,p)|0;a[q+p|0]=0;Kf(g,b|0,h);NA(b+4|0,g)|0;if(!((a[g]&1)==0)){iK(c[g+8>>2]|0)}if((a[h]&1)==0){n=1;break}iK(c[h+8>>2]|0);n=1}}while(0);Nv(k,d,15984);if((Bv(k)|0)==0){t=n;i=e;return t|0}Nv(m,d,15984);d=Ev(m)|0;m=AK(d|0)|0;if(m>>>0>4294967279>>>0){GA(0);return 0}if(m>>>0<11>>>0){a[l]=m<<1;u=l+1|0}else{n=m+16&-16;k=gK(n)|0;c[l+8>>2]=k;c[l>>2]=n|1;c[l+4>>2]=m;u=k}BK(u|0,d|0,m)|0;a[u+m|0]=0;c[b+16>>2]=Zf(b|0,l)|0;if((a[l]&1)==0){t=1;i=e;return t|0}iK(c[l+8>>2]|0);t=1;i=e;return t|0}function Pw(b){b=b|0;Hf(b|0);c[b>>2]=36832;c[b+4>>2]=0;c[b+8>>2]=0;a[b+12|0]=0;c[b+16>>2]=0;c[b+20>>2]=0;return}function Qw(b){b=b|0;c[b+4>>2]=0;c[b+8>>2]=0;a[b+12|0]=0;c[b+16>>2]=0;c[b+20>>2]=0;return}function Rw(a){a=a|0;Jf(a|0);iK(a);return}function Sw(a){a=a|0;Jf(a|0);return}function Tw(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;e=i;i=i+160|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;j=e+32|0;k=e+40|0;l=e+56|0;m=e+64|0;n=e+72|0;o=e+88|0;p=e+96|0;q=e+104|0;r=e+120|0;s=e+128|0;t=e+136|0;u=e+152|0;Nv(f,d,13600);do{if((Bv(f)|0)==0){v=0}else{Nv(h,d,13600);w=Ev(h)|0;x=AK(w|0)|0;if(x>>>0>4294967279>>>0){GA(0);return 0}if(x>>>0<11>>>0){a[g]=x<<1;y=g+1|0}else{z=x+16&-16;A=gK(z)|0;c[g+8>>2]=A;c[g>>2]=z|1;c[g+4>>2]=x;y=A}BK(y|0,w|0,x)|0;a[y+x|0]=0;c[b+4>>2]=Pf(b|0,g)|0;if((a[g]&1)==0){v=1;break}iK(c[g+8>>2]|0);v=1}}while(0);Nv(j,d,12088);do{if((Bv(j)|0)==0){B=v}else{Nv(l,d,12088);g=Ev(l)|0;y=AK(g|0)|0;if(y>>>0>4294967279>>>0){GA(0);return 0}if(y>>>0<11>>>0){a[k]=y<<1;C=k+1|0}else{h=y+16&-16;f=gK(h)|0;c[k+8>>2]=f;c[k>>2]=h|1;c[k+4>>2]=y;C=f}BK(C|0,g|0,y)|0;a[C+y|0]=0;c[b+8>>2]=Vf(b|0,k)|0;if((a[k]&1)==0){B=1;break}iK(c[k+8>>2]|0);B=1}}while(0);Nv(m,d,11176);do{if((Bv(m)|0)==0){D=B}else{Nv(o,d,11176);k=Ev(o)|0;C=AK(k|0)|0;if(C>>>0>4294967279>>>0){GA(0);return 0}if(C>>>0<11>>>0){a[n]=C<<1;E=n+1|0}else{l=C+16&-16;v=gK(l)|0;c[n+8>>2]=v;c[n>>2]=l|1;c[n+4>>2]=C;E=v}BK(E|0,k|0,C)|0;a[E+C|0]=0;a[b+12|0]=Lf(b|0,n)|0;if((a[n]&1)==0){D=1;break}iK(c[n+8>>2]|0);D=1}}while(0);Nv(p,d,10328);do{if((Bv(p)|0)==0){F=D}else{Nv(r,d,10328);n=Ev(r)|0;E=AK(n|0)|0;if(E>>>0>4294967279>>>0){GA(0);return 0}if(E>>>0<11>>>0){a[q]=E<<1;G=q+1|0}else{o=E+16&-16;B=gK(o)|0;c[q+8>>2]=B;c[q>>2]=o|1;c[q+4>>2]=E;G=B}BK(G|0,n|0,E)|0;a[G+E|0]=0;c[b+16>>2]=Lf(b|0,q)|0;if((a[q]&1)==0){F=1;break}iK(c[q+8>>2]|0);F=1}}while(0);Nv(s,d,9360);if((Bv(s)|0)==0){H=F;i=e;return H|0}Nv(u,d,9360);d=Ev(u)|0;u=AK(d|0)|0;if(u>>>0>4294967279>>>0){GA(0);return 0}if(u>>>0<11>>>0){a[t]=u<<1;I=t+1|0}else{F=u+16&-16;s=gK(F)|0;c[t+8>>2]=s;c[t>>2]=F|1;c[t+4>>2]=u;I=s}BK(I|0,d|0,u)|0;a[I+u|0]=0;c[b+20>>2]=Lf(b|0,t)|0;if((a[t]&1)==0){H=1;i=e;return H|0}iK(c[t+8>>2]|0);H=1;i=e;return H|0}function Uw(a){a=a|0;Hf(a|0);c[a>>2]=35736;c[a+4>>2]=0;return}function Vw(a){a=a|0;c[a+4>>2]=0;return}function Ww(a){a=a|0;Jf(a|0);iK(a);return}function Xw(a){a=a|0;Jf(a|0);return}function Yw(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+32|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;Nv(f,d,17592);if((Bv(f)|0)==0){j=0;i=e;return j|0}Nv(h,d,17592);d=Ev(h)|0;h=AK(d|0)|0;if(h>>>0>4294967279>>>0){GA(0);return 0}if(h>>>0<11>>>0){a[g]=h<<1;k=g+1|0}else{f=h+16&-16;l=gK(f)|0;c[g+8>>2]=l;c[g>>2]=f|1;c[g+4>>2]=h;k=l}BK(k|0,d|0,h)|0;a[k+h|0]=0;c[b+4>>2]=Uf(b|0,g)|0;if((a[g]&1)==0){j=1;i=e;return j|0}iK(c[g+8>>2]|0);j=1;i=e;return j|0}function Zw(a){a=a|0;Hf(a|0);c[a>>2]=37168;c[a+4>>2]=0;return}function _w(a){a=a|0;c[a+4>>2]=0;return}function $w(a){a=a|0;Jf(a|0);iK(a);return}function ax(a){a=a|0;Jf(a|0);return}function bx(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+32|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;Nv(f,d,15920);if((Bv(f)|0)==0){j=0;i=e;return j|0}Nv(h,d,15920);d=Ev(h)|0;h=AK(d|0)|0;if(h>>>0>4294967279>>>0){GA(0);return 0}if(h>>>0<11>>>0){a[g]=h<<1;k=g+1|0}else{f=h+16&-16;l=gK(f)|0;c[g+8>>2]=l;c[g>>2]=f|1;c[g+4>>2]=h;k=l}BK(k|0,d|0,h)|0;a[k+h|0]=0;c[b+4>>2]=Mf(b|0,g)|0;if((a[g]&1)==0){j=1;i=e;return j|0}iK(c[g+8>>2]|0);j=1;i=e;return j|0}function cx(b){b=b|0;Hf(b|0);c[b>>2]=36880;a[b+4|0]=0;return}function dx(b){b=b|0;a[b+4|0]=0;return}function ex(a){a=a|0;Jf(a|0);iK(a);return}function fx(a){a=a|0;Jf(a|0);return}function gx(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+32|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;Nv(f,d,9336);if((Bv(f)|0)==0){j=0;i=e;return j|0}Nv(h,d,9336);d=Ev(h)|0;h=AK(d|0)|0;if(h>>>0>4294967279>>>0){GA(0);return 0}if(h>>>0<11>>>0){a[g]=h<<1;k=g+1|0}else{f=h+16&-16;l=gK(f)|0;c[g+8>>2]=l;c[g>>2]=f|1;c[g+4>>2]=h;k=l}BK(k|0,d|0,h)|0;a[k+h|0]=0;a[b+4|0]=Lf(b|0,g)|0;if((a[g]&1)==0){j=1;i=e;return j|0}iK(c[g+8>>2]|0);j=1;i=e;return j|0}function hx(a){a=a|0;Hf(a|0);c[a>>2]=37144;c[a+4>>2]=0;return}function ix(a){a=a|0;c[a+4>>2]=0;return}function jx(a){a=a|0;Jf(a|0);iK(a);return}function kx(a){a=a|0;Jf(a|0);return}function lx(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+32|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;Nv(f,d,22080);if((Bv(f)|0)==0){j=0;i=e;return j|0}Nv(h,d,22080);d=Ev(h)|0;h=AK(d|0)|0;if(h>>>0>4294967279>>>0){GA(0);return 0}if(h>>>0<11>>>0){a[g]=h<<1;k=g+1|0}else{f=h+16&-16;l=gK(f)|0;c[g+8>>2]=l;c[g>>2]=f|1;c[g+4>>2]=h;k=l}BK(k|0,d|0,h)|0;a[k+h|0]=0;c[b+4>>2]=Of(b|0,g)|0;if((a[g]&1)==0){j=1;i=e;return j|0}iK(c[g+8>>2]|0);j=1;i=e;return j|0}function mx(b){b=b|0;Hf(b|0);c[b>>2]=36856;c[b+4>>2]=0;a[b+8|0]=0;c[b+12>>2]=0;c[b+16>>2]=0;return}function nx(b){b=b|0;c[b+4>>2]=0;a[b+8|0]=0;c[b+12>>2]=0;c[b+16>>2]=0;return}function ox(a){a=a|0;Jf(a|0);iK(a);return}function px(a){a=a|0;Jf(a|0);return}function qx(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;e=i;i=i+128|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;j=e+32|0;k=e+40|0;l=e+56|0;m=e+64|0;n=e+72|0;o=e+88|0;p=e+96|0;q=e+104|0;r=e+120|0;Nv(f,d,16816);do{if((Bv(f)|0)==0){s=0}else{Nv(h,d,16816);t=Ev(h)|0;u=AK(t|0)|0;if(u>>>0>4294967279>>>0){GA(0);return 0}if(u>>>0<11>>>0){a[g]=u<<1;v=g+1|0}else{w=u+16&-16;x=gK(w)|0;c[g+8>>2]=x;c[g>>2]=w|1;c[g+4>>2]=u;v=x}BK(v|0,t|0,u)|0;a[v+u|0]=0;c[b+4>>2]=Qf(b|0,g)|0;if((a[g]&1)==0){s=1;break}iK(c[g+8>>2]|0);s=1}}while(0);Nv(j,d,16368);do{if((Bv(j)|0)==0){y=s}else{Nv(l,d,16368);g=Ev(l)|0;v=AK(g|0)|0;if(v>>>0>4294967279>>>0){GA(0);return 0}if(v>>>0<11>>>0){a[k]=v<<1;z=k+1|0}else{h=v+16&-16;f=gK(h)|0;c[k+8>>2]=f;c[k>>2]=h|1;c[k+4>>2]=v;z=f}BK(z|0,g|0,v)|0;a[z+v|0]=0;a[b+8|0]=Lf(b|0,k)|0;if((a[k]&1)==0){y=1;break}iK(c[k+8>>2]|0);y=1}}while(0);Nv(m,d,15928);do{if((Bv(m)|0)==0){A=y}else{Nv(o,d,15928);k=Ev(o)|0;z=AK(k|0)|0;if(z>>>0>4294967279>>>0){GA(0);return 0}if(z>>>0<11>>>0){a[n]=z<<1;B=n+1|0}else{l=z+16&-16;s=gK(l)|0;c[n+8>>2]=s;c[n>>2]=l|1;c[n+4>>2]=z;B=s}BK(B|0,k|0,z)|0;a[B+z|0]=0;c[b+12>>2]=Yf(b|0,n)|0;if((a[n]&1)==0){A=1;break}iK(c[n+8>>2]|0);A=1}}while(0);Nv(p,d,15712);if((Bv(p)|0)==0){C=A;i=e;return C|0}Nv(r,d,15712);d=Ev(r)|0;r=AK(d|0)|0;if(r>>>0>4294967279>>>0){GA(0);return 0}if(r>>>0<11>>>0){a[q]=r<<1;D=q+1|0}else{A=r+16&-16;p=gK(A)|0;c[q+8>>2]=p;c[q>>2]=A|1;c[q+4>>2]=r;D=p}BK(D|0,d|0,r)|0;a[D+r|0]=0;c[b+16>>2]=$f(b|0,q)|0;if((a[q]&1)==0){C=1;i=e;return C|0}iK(c[q+8>>2]|0);C=1;i=e;return C|0}function rx(a){a=a|0;Hf(a|0);c[a>>2]=37624;c[a+4>>2]=0;return}function sx(a){a=a|0;c[a+4>>2]=0;return}function tx(a){a=a|0;Jf(a|0);iK(a);return}function ux(a){a=a|0;Jf(a|0);return}function vx(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+32|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;Nv(f,d,14872);if((Bv(f)|0)==0){j=0;i=e;return j|0}Nv(h,d,14872);d=Ev(h)|0;h=AK(d|0)|0;if(h>>>0>4294967279>>>0){GA(0);return 0}if(h>>>0<11>>>0){a[g]=h<<1;k=g+1|0}else{f=h+16&-16;l=gK(f)|0;c[g+8>>2]=l;c[g>>2]=f|1;c[g+4>>2]=h;k=l}BK(k|0,d|0,h)|0;a[k+h|0]=0;c[b+4>>2]=Qf(b|0,g)|0;if((a[g]&1)==0){j=1;i=e;return j|0}iK(c[g+8>>2]|0);j=1;i=e;return j|0}function wx(a){a=a|0;Hf(a|0);c[a>>2]=37120;c[a+4>>2]=0;return}function xx(a){a=a|0;c[a+4>>2]=0;return}function yx(a){a=a|0;Jf(a|0);iK(a);return}function zx(a){a=a|0;Jf(a|0);return}function Ax(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+32|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;Nv(f,d,14344);if((Bv(f)|0)==0){j=0;i=e;return j|0}Nv(h,d,14344);d=Ev(h)|0;h=AK(d|0)|0;if(h>>>0>4294967279>>>0){GA(0);return 0}if(h>>>0<11>>>0){a[g]=h<<1;k=g+1|0}else{f=h+16&-16;l=gK(f)|0;c[g+8>>2]=l;c[g>>2]=f|1;c[g+4>>2]=h;k=l}BK(k|0,d|0,h)|0;a[k+h|0]=0;c[b+4>>2]=Pf(b|0,g)|0;if((a[g]&1)==0){j=1;i=e;return j|0}iK(c[g+8>>2]|0);j=1;i=e;return j|0}function Bx(a){a=a|0;var b=0,d=0;Hf(a|0);c[a>>2]=28936;b=a+4|0;DK(b|0,0,12)|0;d=a+20|0;DK(d|0,0,12)|0;OA(b,49648)|0;c[a+16>>2]=0;OA(d,49648)|0;return}function Cx(a){a=a|0;OA(a+4|0,49648)|0;c[a+16>>2]=0;OA(a+20|0,49648)|0;return}function Dx(b){b=b|0;c[b>>2]=28936;if(!((a[b+20|0]&1)==0)){iK(c[b+28>>2]|0)}if(!((a[b+4|0]&1)==0)){iK(c[b+12>>2]|0)}Jf(b|0);iK(b);return}function Ex(b){b=b|0;var d=0;c[b>>2]=28936;if(!((a[b+20|0]&1)==0)){iK(c[b+28>>2]|0)}if((a[b+4|0]&1)==0){d=b|0;Jf(d);return}iK(c[b+12>>2]|0);d=b|0;Jf(d);return}function Fx(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;e=i;i=i+128|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;j=e+40|0;k=e+48|0;l=e+56|0;m=e+72|0;n=e+80|0;o=e+88|0;p=e+104|0;q=e+120|0;Nv(f,d,14208);do{if((Bv(f)|0)==0){r=0}else{Nv(j,d,14208);s=Ev(j)|0;t=AK(s|0)|0;if(t>>>0>4294967279>>>0){GA(0);return 0}if(t>>>0<11>>>0){a[h]=t<<1;u=h+1|0}else{v=t+16&-16;w=gK(v)|0;c[h+8>>2]=w;c[h>>2]=v|1;c[h+4>>2]=t;u=w}BK(u|0,s|0,t)|0;a[u+t|0]=0;Kf(g,b|0,h);NA(b+4|0,g)|0;if(!((a[g]&1)==0)){iK(c[g+8>>2]|0)}if((a[h]&1)==0){r=1;break}iK(c[h+8>>2]|0);r=1}}while(0);Nv(k,d,13912);do{if((Bv(k)|0)==0){x=r}else{Nv(m,d,13912);h=Ev(m)|0;g=AK(h|0)|0;if(g>>>0>4294967279>>>0){GA(0);return 0}if(g>>>0<11>>>0){a[l]=g<<1;y=l+1|0}else{u=g+16&-16;j=gK(u)|0;c[l+8>>2]=j;c[l>>2]=u|1;c[l+4>>2]=g;y=j}BK(y|0,h|0,g)|0;a[y+g|0]=0;c[b+16>>2]=Lf(b|0,l)|0;if((a[l]&1)==0){x=1;break}iK(c[l+8>>2]|0);x=1}}while(0);Nv(n,d,13584);if((Bv(n)|0)==0){z=x;i=e;return z|0}Nv(q,d,13584);d=Ev(q)|0;q=AK(d|0)|0;if(q>>>0>4294967279>>>0){GA(0);return 0}if(q>>>0<11>>>0){a[p]=q<<1;A=p+1|0}else{x=q+16&-16;n=gK(x)|0;c[p+8>>2]=n;c[p>>2]=x|1;c[p+4>>2]=q;A=n}BK(A|0,d|0,q)|0;a[A+q|0]=0;Kf(o,b|0,p);NA(b+20|0,o)|0;if(!((a[o]&1)==0)){iK(c[o+8>>2]|0)}if((a[p]&1)==0){z=1;i=e;return z|0}iK(c[p+8>>2]|0);z=1;i=e;return z|0}function Gx(a){a=a|0;Hf(a|0);c[a>>2]=35760;c[a+4>>2]=0;return}function Hx(a){a=a|0;c[a+4>>2]=0;return}function Ix(a){a=a|0;Jf(a|0);iK(a);return}function Jx(a){a=a|0;Jf(a|0);return}function Kx(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+32|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;Nv(f,d,11144);if((Bv(f)|0)==0){j=0;i=e;return j|0}Nv(h,d,11144);d=Ev(h)|0;h=AK(d|0)|0;if(h>>>0>4294967279>>>0){GA(0);return 0}if(h>>>0<11>>>0){a[g]=h<<1;k=g+1|0}else{f=h+16&-16;l=gK(f)|0;c[g+8>>2]=l;c[g>>2]=f|1;c[g+4>>2]=h;k=l}BK(k|0,d|0,h)|0;a[k+h|0]=0;c[b+4>>2]=Sf(b|0,g)|0;if((a[g]&1)==0){j=1;i=e;return j|0}iK(c[g+8>>2]|0);j=1;i=e;return j|0}function Lx(a){a=a|0;Hf(a|0);c[a>>2]=35608;c[a+4>>2]=-2147483647;return}function Mx(a){a=a|0;c[a+4>>2]=-2147483647;return}function Nx(a){a=a|0;Jf(a|0);iK(a);return}function Ox(a){a=a|0;Jf(a|0);return}function Px(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+32|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;Nv(f,d,10888);if((Bv(f)|0)==0){j=0;i=e;return j|0}Nv(h,d,10888);d=Ev(h)|0;h=AK(d|0)|0;if(h>>>0>4294967279>>>0){GA(0);return 0}if(h>>>0<11>>>0){a[g]=h<<1;k=g+1|0}else{f=h+16&-16;l=gK(f)|0;c[g+8>>2]=l;c[g>>2]=f|1;c[g+4>>2]=h;k=l}BK(k|0,d|0,h)|0;a[k+h|0]=0;c[b+4>>2]=Sf(b|0,g)|0;if((a[g]&1)==0){j=1;i=e;return j|0}iK(c[g+8>>2]|0);j=1;i=e;return j|0}function Qx(a){a=a|0;Hf(a|0);c[a>>2]=36280;c[a+4>>2]=1;c[a+8>>2]=1;return}function Rx(a){a=a|0;c[a+4>>2]=1;c[a+8>>2]=1;return}function Sx(a){a=a|0;Jf(a|0);iK(a);return}function Tx(a){a=a|0;Jf(a|0);return}function Ux(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=i;i=i+64|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;j=e+32|0;k=e+40|0;l=e+56|0;Nv(f,d,10832);do{if((Bv(f)|0)==0){m=0}else{Nv(h,d,10832);n=Ev(h)|0;o=AK(n|0)|0;if(o>>>0>4294967279>>>0){GA(0);return 0}if(o>>>0<11>>>0){a[g]=o<<1;p=g+1|0}else{q=o+16&-16;r=gK(q)|0;c[g+8>>2]=r;c[g>>2]=q|1;c[g+4>>2]=o;p=r}BK(p|0,n|0,o)|0;a[p+o|0]=0;c[b+4>>2]=Lf(b|0,g)|0;if((a[g]&1)==0){m=1;break}iK(c[g+8>>2]|0);m=1}}while(0);Nv(j,d,10752);if((Bv(j)|0)==0){s=m;i=e;return s|0}Nv(l,d,10752);d=Ev(l)|0;l=AK(d|0)|0;if(l>>>0>4294967279>>>0){GA(0);return 0}if(l>>>0<11>>>0){a[k]=l<<1;t=k+1|0}else{m=l+16&-16;j=gK(m)|0;c[k+8>>2]=j;c[k>>2]=m|1;c[k+4>>2]=l;t=j}BK(t|0,d|0,l)|0;a[t+l|0]=0;c[b+8>>2]=Lf(b|0,k)|0;if((a[k]&1)==0){s=1;i=e;return s|0}iK(c[k+8>>2]|0);s=1;i=e;return s|0}function Vx(a){a=a|0;Hf(a|0);c[a>>2]=36096;c[a+4>>2]=0;return}function Wx(a){a=a|0;Jf(a|0);iK(a);return}function Xx(a){a=a|0;Jf(a|0);return}function Yx(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+32|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;Nv(f,d,10600);if((Bv(f)|0)==0){j=0;i=e;return j|0}Nv(h,d,10600);d=Ev(h)|0;h=AK(d|0)|0;if(h>>>0>4294967279>>>0){GA(0);return 0}if(h>>>0<11>>>0){a[g]=h<<1;k=g+1|0}else{f=h+16&-16;l=gK(f)|0;c[g+8>>2]=l;c[g>>2]=f|1;c[g+4>>2]=h;k=l}BK(k|0,d|0,h)|0;a[k+h|0]=0;c[b+4>>2]=$f(b|0,g)|0;if((a[g]&1)==0){j=1;i=e;return j|0}iK(c[g+8>>2]|0);j=1;i=e;return j|0}function Zx(a){a=a|0;Hf(a|0);c[a>>2]=35688;DK(a+4|0,0,28)|0;OA(a+20|0,49648)|0;return}function _x(a){a=a|0;DK(a+4|0,0,16)|0;OA(a+20|0,49648)|0;return}function $x(b){b=b|0;c[b>>2]=35688;if(!((a[b+20|0]&1)==0)){iK(c[b+28>>2]|0)}Jf(b|0);iK(b);return}function ay(b){b=b|0;c[b>>2]=35688;if(!((a[b+20|0]&1)==0)){iK(c[b+28>>2]|0)}Jf(b|0);return}function by(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;e=i;i=i+176|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;j=e+32|0;k=e+40|0;l=e+56|0;m=e+64|0;n=e+72|0;o=e+88|0;p=e+96|0;q=e+104|0;r=e+120|0;s=e+128|0;t=e+136|0;u=e+152|0;v=e+168|0;Nv(f,d,9784);do{if((Bv(f)|0)==0){w=0}else{Nv(h,d,9784);x=Ev(h)|0;y=AK(x|0)|0;if(y>>>0>4294967279>>>0){GA(0);return 0}if(y>>>0<11>>>0){a[g]=y<<1;z=g+1|0}else{A=y+16&-16;B=gK(A)|0;c[g+8>>2]=B;c[g>>2]=A|1;c[g+4>>2]=y;z=B}BK(z|0,x|0,y)|0;a[z+y|0]=0;c[b+4>>2]=Nf(b|0,g)|0;if((a[g]&1)==0){w=1;break}iK(c[g+8>>2]|0);w=1}}while(0);Nv(j,d,9672);do{if((Bv(j)|0)==0){C=w}else{Nv(l,d,9672);g=Ev(l)|0;z=AK(g|0)|0;if(z>>>0>4294967279>>>0){GA(0);return 0}if(z>>>0<11>>>0){a[k]=z<<1;D=k+1|0}else{h=z+16&-16;f=gK(h)|0;c[k+8>>2]=f;c[k>>2]=h|1;c[k+4>>2]=z;D=f}BK(D|0,g|0,z)|0;a[D+z|0]=0;c[b+8>>2]=Xf(b|0,k)|0;if((a[k]&1)==0){C=1;break}iK(c[k+8>>2]|0);C=1}}while(0);Nv(m,d,9576);do{if((Bv(m)|0)==0){E=C}else{Nv(o,d,9576);k=Ev(o)|0;D=AK(k|0)|0;if(D>>>0>4294967279>>>0){GA(0);return 0}if(D>>>0<11>>>0){a[n]=D<<1;F=n+1|0}else{l=D+16&-16;w=gK(l)|0;c[n+8>>2]=w;c[n>>2]=l|1;c[n+4>>2]=D;F=w}BK(F|0,k|0,D)|0;a[F+D|0]=0;c[b+12>>2]=_f(b|0,n)|0;if((a[n]&1)==0){E=1;break}iK(c[n+8>>2]|0);E=1}}while(0);Nv(p,d,9520);do{if((Bv(p)|0)==0){G=E}else{Nv(r,d,9520);n=Ev(r)|0;F=AK(n|0)|0;if(F>>>0>4294967279>>>0){GA(0);return 0}if(F>>>0<11>>>0){a[q]=F<<1;H=q+1|0}else{o=F+16&-16;C=gK(o)|0;c[q+8>>2]=C;c[q>>2]=o|1;c[q+4>>2]=F;H=C}BK(H|0,n|0,F)|0;a[H+F|0]=0;c[b+16>>2]=Tf(b|0,q)|0;if((a[q]&1)==0){G=1;break}iK(c[q+8>>2]|0);G=1}}while(0);Nv(s,d,9448);if((Bv(s)|0)==0){I=G;i=e;return I|0}Nv(v,d,9448);d=Ev(v)|0;v=AK(d|0)|0;if(v>>>0>4294967279>>>0){GA(0);return 0}if(v>>>0<11>>>0){a[u]=v<<1;J=u+1|0}else{G=v+16&-16;s=gK(G)|0;c[u+8>>2]=s;c[u>>2]=G|1;c[u+4>>2]=v;J=s}BK(J|0,d|0,v)|0;a[J+v|0]=0;Kf(t,b|0,u);NA(b+20|0,t)|0;if(!((a[t]&1)==0)){iK(c[t+8>>2]|0)}if((a[u]&1)==0){I=1;i=e;return I|0}iK(c[u+8>>2]|0);I=1;i=e;return I|0}function cy(b){b=b|0;Hf(b|0);c[b>>2]=38144;a[b+4|0]=0;return}function dy(b){b=b|0;a[b+4|0]=0;return}function ey(a){a=a|0;Jf(a|0);iK(a);return}function fy(a){a=a|0;Jf(a|0);return}function gy(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+32|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;Nv(f,d,8920);if((Bv(f)|0)==0){j=0;i=e;return j|0}Nv(h,d,8920);d=Ev(h)|0;h=AK(d|0)|0;if(h>>>0>4294967279>>>0){GA(0);return 0}if(h>>>0<11>>>0){a[g]=h<<1;k=g+1|0}else{f=h+16&-16;l=gK(f)|0;c[g+8>>2]=l;c[g>>2]=f|1;c[g+4>>2]=h;k=l}BK(k|0,d|0,h)|0;a[k+h|0]=0;a[b+4|0]=Lf(b|0,g)|0;if((a[g]&1)==0){j=1;i=e;return j|0}iK(c[g+8>>2]|0);j=1;i=e;return j|0}function hy(a){a=a|0;Hf(a|0);c[a>>2]=37096;c[a+4>>2]=0;c[a+8>>2]=11;return}function iy(a){a=a|0;c[a+4>>2]=0;c[a+8>>2]=11;return}function jy(a){a=a|0;Jf(a|0);iK(a);return}function ky(a){a=a|0;Jf(a|0);return}function ly(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=i;i=i+64|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;j=e+32|0;k=e+40|0;l=e+56|0;Nv(f,d,8496);do{if((Bv(f)|0)==0){m=0}else{Nv(h,d,8496);n=Ev(h)|0;o=AK(n|0)|0;if(o>>>0>4294967279>>>0){GA(0);return 0}if(o>>>0<11>>>0){a[g]=o<<1;p=g+1|0}else{q=o+16&-16;r=gK(q)|0;c[g+8>>2]=r;c[g>>2]=q|1;c[g+4>>2]=o;p=r}BK(p|0,n|0,o)|0;a[p+o|0]=0;c[b+4>>2]=Of(b|0,g)|0;if((a[g]&1)==0){m=1;break}iK(c[g+8>>2]|0);m=1}}while(0);Nv(j,d,8448);if((Bv(j)|0)==0){s=m;i=e;return s|0}Nv(l,d,8448);d=Ev(l)|0;l=AK(d|0)|0;if(l>>>0>4294967279>>>0){GA(0);return 0}if(l>>>0<11>>>0){a[k]=l<<1;t=k+1|0}else{m=l+16&-16;j=gK(m)|0;c[k+8>>2]=j;c[k>>2]=m|1;c[k+4>>2]=l;t=j}BK(t|0,d|0,l)|0;a[t+l|0]=0;c[b+8>>2]=Of(b|0,k)|0;if((a[k]&1)==0){s=1;i=e;return s|0}iK(c[k+8>>2]|0);s=1;i=e;return s|0}function my(a){a=a|0;Hf(a|0);c[a>>2]=37600;c[a+4>>2]=0;c[a+8>>2]=0;return}function ny(a){a=a|0;c[a+4>>2]=0;c[a+8>>2]=0;return}function oy(a){a=a|0;Jf(a|0);iK(a);return}function py(a){a=a|0;Jf(a|0);return}function qy(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=i;i=i+64|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;j=e+32|0;k=e+40|0;l=e+56|0;Nv(f,d,7608);do{if((Bv(f)|0)==0){m=0}else{Nv(h,d,7608);n=Ev(h)|0;o=AK(n|0)|0;if(o>>>0>4294967279>>>0){GA(0);return 0}if(o>>>0<11>>>0){a[g]=o<<1;p=g+1|0}else{q=o+16&-16;r=gK(q)|0;c[g+8>>2]=r;c[g>>2]=q|1;c[g+4>>2]=o;p=r}BK(p|0,n|0,o)|0;a[p+o|0]=0;c[b+4>>2]=Pf(b|0,g)|0;if((a[g]&1)==0){m=1;break}iK(c[g+8>>2]|0);m=1}}while(0);Nv(j,d,7544);if((Bv(j)|0)==0){s=m;i=e;return s|0}Nv(l,d,7544);d=Ev(l)|0;l=AK(d|0)|0;if(l>>>0>4294967279>>>0){GA(0);return 0}if(l>>>0<11>>>0){a[k]=l<<1;t=k+1|0}else{m=l+16&-16;j=gK(m)|0;c[k+8>>2]=j;c[k>>2]=m|1;c[k+4>>2]=l;t=j}BK(t|0,d|0,l)|0;a[t+l|0]=0;c[b+8>>2]=Vf(b|0,k)|0;if((a[k]&1)==0){s=1;i=e;return s|0}iK(c[k+8>>2]|0);s=1;i=e;return s|0}function ry(a){a=a|0;Hf(a|0);c[a>>2]=36808;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;return}function sy(a){a=a|0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;return}function ty(a){a=a|0;Jf(a|0);iK(a);return}function uy(a){a=a|0;Jf(a|0);return}function vy(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;e=i;i=i+96|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;j=e+32|0;k=e+40|0;l=e+56|0;m=e+64|0;n=e+72|0;o=e+88|0;Nv(f,d,7480);do{if((Bv(f)|0)==0){p=0}else{Nv(h,d,7480);q=Ev(h)|0;r=AK(q|0)|0;if(r>>>0>4294967279>>>0){GA(0);return 0}if(r>>>0<11>>>0){a[g]=r<<1;s=g+1|0}else{t=r+16&-16;u=gK(t)|0;c[g+8>>2]=u;c[g>>2]=t|1;c[g+4>>2]=r;s=u}BK(s|0,q|0,r)|0;a[s+r|0]=0;c[b+4>>2]=Lf(b|0,g)|0;if((a[g]&1)==0){p=1;break}iK(c[g+8>>2]|0);p=1}}while(0);Nv(j,d,7352);do{if((Bv(j)|0)==0){v=p}else{Nv(l,d,7352);g=Ev(l)|0;s=AK(g|0)|0;if(s>>>0>4294967279>>>0){GA(0);return 0}if(s>>>0<11>>>0){a[k]=s<<1;w=k+1|0}else{h=s+16&-16;f=gK(h)|0;c[k+8>>2]=f;c[k>>2]=h|1;c[k+4>>2]=s;w=f}BK(w|0,g|0,s)|0;a[w+s|0]=0;c[b+8>>2]=Wf(b|0,k)|0;if((a[k]&1)==0){v=1;break}iK(c[k+8>>2]|0);v=1}}while(0);Nv(m,d,8384);if((Bv(m)|0)==0){x=v;i=e;return x|0}Nv(o,d,8384);d=Ev(o)|0;o=AK(d|0)|0;if(o>>>0>4294967279>>>0){GA(0);return 0}if(o>>>0<11>>>0){a[n]=o<<1;y=n+1|0}else{v=o+16&-16;m=gK(v)|0;c[n+8>>2]=m;c[n>>2]=v|1;c[n+4>>2]=o;y=m}BK(y|0,d|0,o)|0;a[y+o|0]=0;c[b+12>>2]=Lf(b|0,n)|0;if((a[n]&1)==0){x=1;i=e;return x|0}iK(c[n+8>>2]|0);x=1;i=e;return x|0}function wy(a){a=a|0;Hf(a|0);c[a>>2]=35584;c[a+4>>2]=0;c[a+8>>2]=0;return}function xy(a){a=a|0;c[a+4>>2]=0;c[a+8>>2]=0;return}function yy(a){a=a|0;Jf(a|0);iK(a);return}function zy(a){a=a|0;Jf(a|0);return}function Ay(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=i;i=i+64|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;j=e+32|0;k=e+40|0;l=e+56|0;Nv(f,d,7280);do{if((Bv(f)|0)==0){m=0}else{Nv(h,d,7280);n=Ev(h)|0;o=AK(n|0)|0;if(o>>>0>4294967279>>>0){GA(0);return 0}if(o>>>0<11>>>0){a[g]=o<<1;p=g+1|0}else{q=o+16&-16;r=gK(q)|0;c[g+8>>2]=r;c[g>>2]=q|1;c[g+4>>2]=o;p=r}BK(p|0,n|0,o)|0;a[p+o|0]=0;c[b+4>>2]=Lf(b|0,g)|0;if((a[g]&1)==0){m=1;break}iK(c[g+8>>2]|0);m=1}}while(0);Nv(j,d,22464);if((Bv(j)|0)==0){s=m;i=e;return s|0}Nv(l,d,22464);d=Ev(l)|0;l=AK(d|0)|0;if(l>>>0>4294967279>>>0){GA(0);return 0}if(l>>>0<11>>>0){a[k]=l<<1;t=k+1|0}else{m=l+16&-16;j=gK(m)|0;c[k+8>>2]=j;c[k>>2]=m|1;c[k+4>>2]=l;t=j}BK(t|0,d|0,l)|0;a[t+l|0]=0;c[b+8>>2]=Lf(b|0,k)|0;if((a[k]&1)==0){s=1;i=e;return s|0}iK(c[k+8>>2]|0);s=1;i=e;return s|0}function By(a){a=a|0;var b=0;Hf(a|0);c[a>>2]=35560;b=a+4|0;DK(b|0,0,24)|0;OA(b,49648)|0;OA(a+16|0,49648)|0;c[a+28>>2]=0;return}function Cy(a){a=a|0;OA(a+4|0,49648)|0;OA(a+16|0,49648)|0;c[a+28>>2]=0;return}function Dy(b){b=b|0;c[b>>2]=35560;if(!((a[b+16|0]&1)==0)){iK(c[b+24>>2]|0)}if(!((a[b+4|0]&1)==0)){iK(c[b+12>>2]|0)}Jf(b|0);iK(b);return}function Ey(b){b=b|0;var d=0;c[b>>2]=35560;if(!((a[b+16|0]&1)==0)){iK(c[b+24>>2]|0)}if((a[b+4|0]&1)==0){d=b|0;Jf(d);return}iK(c[b+12>>2]|0);d=b|0;Jf(d);return}function Fy(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;e=i;i=i+128|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;j=e+40|0;k=e+48|0;l=e+56|0;m=e+72|0;n=e+88|0;o=e+96|0;p=e+104|0;q=e+120|0;Nv(f,d,22392);do{if((Bv(f)|0)==0){r=0}else{Nv(j,d,22392);s=Ev(j)|0;t=AK(s|0)|0;if(t>>>0>4294967279>>>0){GA(0);return 0}if(t>>>0<11>>>0){a[h]=t<<1;u=h+1|0}else{v=t+16&-16;w=gK(v)|0;c[h+8>>2]=w;c[h>>2]=v|1;c[h+4>>2]=t;u=w}BK(u|0,s|0,t)|0;a[u+t|0]=0;Kf(g,b|0,h);NA(b+4|0,g)|0;if(!((a[g]&1)==0)){iK(c[g+8>>2]|0)}if((a[h]&1)==0){r=1;break}iK(c[h+8>>2]|0);r=1}}while(0);Nv(k,d,22200);do{if((Bv(k)|0)==0){x=r}else{Nv(n,d,22200);h=Ev(n)|0;g=AK(h|0)|0;if(g>>>0>4294967279>>>0){GA(0);return 0}if(g>>>0<11>>>0){a[m]=g<<1;y=m+1|0}else{u=g+16&-16;j=gK(u)|0;c[m+8>>2]=j;c[m>>2]=u|1;c[m+4>>2]=g;y=j}BK(y|0,h|0,g)|0;a[y+g|0]=0;Kf(l,b|0,m);NA(b+16|0,l)|0;if(!((a[l]&1)==0)){iK(c[l+8>>2]|0)}if((a[m]&1)==0){x=1;break}iK(c[m+8>>2]|0);x=1}}while(0);Nv(o,d,22088);if((Bv(o)|0)==0){z=x;i=e;return z|0}Nv(q,d,22088);d=Ev(q)|0;q=AK(d|0)|0;if(q>>>0>4294967279>>>0){GA(0);return 0}if(q>>>0<11>>>0){a[p]=q<<1;A=p+1|0}else{x=q+16&-16;o=gK(x)|0;c[p+8>>2]=o;c[p>>2]=x|1;c[p+4>>2]=q;A=o}BK(A|0,d|0,q)|0;a[A+q|0]=0;c[b+28>>2]=Wf(b|0,p)|0;if((a[p]&1)==0){z=1;i=e;return z|0}iK(c[p+8>>2]|0);z=1;i=e;return z|0}function Gy(b){b=b|0;Hf(b|0);c[b>>2]=28912;a[b+4|0]=0;return}function Hy(b){b=b|0;a[b+4|0]=0;return}function Iy(a){a=a|0;Jf(a|0);iK(a);return}function Jy(a){a=a|0;Jf(a|0);return}function Ky(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+32|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;Nv(f,d,20856);if((Bv(f)|0)==0){j=0;i=e;return j|0}Nv(h,d,20856);d=Ev(h)|0;h=AK(d|0)|0;if(h>>>0>4294967279>>>0){GA(0);return 0}if(h>>>0<11>>>0){a[g]=h<<1;k=g+1|0}else{f=h+16&-16;l=gK(f)|0;c[g+8>>2]=l;c[g>>2]=f|1;c[g+4>>2]=h;k=l}BK(k|0,d|0,h)|0;a[k+h|0]=0;a[b+4|0]=Lf(b|0,g)|0;if((a[g]&1)==0){j=1;i=e;return j|0}iK(c[g+8>>2]|0);j=1;i=e;return j|0}function Ly(a){a=a|0;Hf(a|0);c[a>>2]=35536;c[a+4>>2]=0;c[a+8>>2]=0;return}function My(a){a=a|0;c[a+4>>2]=0;c[a+8>>2]=0;return}function Ny(a){a=a|0;Jf(a|0);iK(a);return}function Oy(a){a=a|0;Jf(a|0);return}function Py(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=i;i=i+64|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;j=e+32|0;k=e+40|0;l=e+56|0;Nv(f,d,20672);do{if((Bv(f)|0)==0){m=0}else{Nv(h,d,20672);n=Ev(h)|0;o=AK(n|0)|0;if(o>>>0>4294967279>>>0){GA(0);return 0}if(o>>>0<11>>>0){a[g]=o<<1;p=g+1|0}else{q=o+16&-16;r=gK(q)|0;c[g+8>>2]=r;c[g>>2]=q|1;c[g+4>>2]=o;p=r}BK(p|0,n|0,o)|0;a[p+o|0]=0;c[b+4>>2]=Yf(b|0,g)|0;if((a[g]&1)==0){m=1;break}iK(c[g+8>>2]|0);m=1}}while(0);Nv(j,d,20568);if((Bv(j)|0)==0){s=m;i=e;return s|0}Nv(l,d,20568);d=Ev(l)|0;l=AK(d|0)|0;if(l>>>0>4294967279>>>0){GA(0);return 0}if(l>>>0<11>>>0){a[k]=l<<1;t=k+1|0}else{m=l+16&-16;j=gK(m)|0;c[k+8>>2]=j;c[k>>2]=m|1;c[k+4>>2]=l;t=j}BK(t|0,d|0,l)|0;a[t+l|0]=0;c[b+8>>2]=$f(b|0,k)|0;if((a[k]&1)==0){s=1;i=e;return s|0}iK(c[k+8>>2]|0);s=1;i=e;return s|0}function Qy(a){a=a|0;Hf(a|0);c[a>>2]=30560;c[a+4>>2]=0;return}function Ry(a){a=a|0;c[a+4>>2]=0;return}function Sy(a){a=a|0;Jf(a|0);iK(a);return}function Ty(a){a=a|0;Jf(a|0);return}function Uy(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+32|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;Nv(f,d,20360);if((Bv(f)|0)==0){j=0;i=e;return j|0}Nv(h,d,20360);d=Ev(h)|0;h=AK(d|0)|0;if(h>>>0>4294967279>>>0){GA(0);return 0}if(h>>>0<11>>>0){a[g]=h<<1;k=g+1|0}else{f=h+16&-16;l=gK(f)|0;c[g+8>>2]=l;c[g>>2]=f|1;c[g+4>>2]=h;k=l}BK(k|0,d|0,h)|0;a[k+h|0]=0;c[b+4>>2]=_f(b|0,g)|0;if((a[g]&1)==0){j=1;i=e;return j|0}iK(c[g+8>>2]|0);j=1;i=e;return j|0}function Vy(b){b=b|0;Hf(b|0);c[b>>2]=37072;a[b+4|0]=0;return}function Wy(b){b=b|0;a[b+4|0]=0;return}function Xy(a){a=a|0;Jf(a|0);iK(a);return}function Yy(a){a=a|0;Jf(a|0);return}function Zy(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+32|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;Nv(f,d,18136);if((Bv(f)|0)==0){j=0;i=e;return j|0}Nv(h,d,18136);d=Ev(h)|0;h=AK(d|0)|0;if(h>>>0>4294967279>>>0){GA(0);return 0}if(h>>>0<11>>>0){a[g]=h<<1;k=g+1|0}else{f=h+16&-16;l=gK(f)|0;c[g+8>>2]=l;c[g>>2]=f|1;c[g+4>>2]=h;k=l}BK(k|0,d|0,h)|0;a[k+h|0]=0;a[b+4|0]=Lf(b|0,g)|0;if((a[g]&1)==0){j=1;i=e;return j|0}iK(c[g+8>>2]|0);j=1;i=e;return j|0}function _y(b){b=b|0;Hf(b|0);c[b>>2]=35712;c[b+4>>2]=0;a[b+8|0]=0;return}function $y(b){b=b|0;c[b+4>>2]=0;a[b+8|0]=0;return}function az(a){a=a|0;Jf(a|0);iK(a);return}function bz(a){a=a|0;Jf(a|0);return}function cz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=i;i=i+64|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;j=e+32|0;k=e+40|0;l=e+56|0;Nv(f,d,17672);do{if((Bv(f)|0)==0){m=0}else{Nv(h,d,17672);n=Ev(h)|0;o=AK(n|0)|0;if(o>>>0>4294967279>>>0){GA(0);return 0}if(o>>>0<11>>>0){a[g]=o<<1;p=g+1|0}else{q=o+16&-16;r=gK(q)|0;c[g+8>>2]=r;c[g>>2]=q|1;c[g+4>>2]=o;p=r}BK(p|0,n|0,o)|0;a[p+o|0]=0;c[b+4>>2]=_f(b|0,g)|0;if((a[g]&1)==0){m=1;break}iK(c[g+8>>2]|0);m=1}}while(0);Nv(j,d,17616);if((Bv(j)|0)==0){s=m;i=e;return s|0}Nv(l,d,17616);d=Ev(l)|0;l=AK(d|0)|0;if(l>>>0>4294967279>>>0){GA(0);return 0}if(l>>>0<11>>>0){a[k]=l<<1;t=k+1|0}else{m=l+16&-16;j=gK(m)|0;c[k+8>>2]=j;c[k>>2]=m|1;c[k+4>>2]=l;t=j}BK(t|0,d|0,l)|0;a[t+l|0]=0;a[b+8|0]=Lf(b|0,k)|0;if((a[k]&1)==0){s=1;i=e;return s|0}iK(c[k+8>>2]|0);s=1;i=e;return s|0}function dz(a){a=a|0;Hf(a|0);c[a>>2]=38120;DK(a+4|0,0,20)|0;return}function ez(a){a=a|0;DK(a+4|0,0,20)|0;return}function fz(a){a=a|0;Jf(a|0);iK(a);return}function gz(a){a=a|0;Jf(a|0);return}function hz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;e=i;i=i+160|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;j=e+32|0;k=e+40|0;l=e+56|0;m=e+64|0;n=e+72|0;o=e+88|0;p=e+96|0;q=e+104|0;r=e+120|0;s=e+128|0;t=e+136|0;u=e+152|0;Nv(f,d,17560);do{if((Bv(f)|0)==0){v=0}else{Nv(h,d,17560);w=Ev(h)|0;x=AK(w|0)|0;if(x>>>0>4294967279>>>0){GA(0);return 0}if(x>>>0<11>>>0){a[g]=x<<1;y=g+1|0}else{z=x+16&-16;A=gK(z)|0;c[g+8>>2]=A;c[g>>2]=z|1;c[g+4>>2]=x;y=A}BK(y|0,w|0,x)|0;a[y+x|0]=0;c[b+4>>2]=ag(b|0,g)|0;if((a[g]&1)==0){v=1;break}iK(c[g+8>>2]|0);v=1}}while(0);Nv(j,d,17544);do{if((Bv(j)|0)==0){B=v}else{Nv(l,d,17544);g=Ev(l)|0;y=AK(g|0)|0;if(y>>>0>4294967279>>>0){GA(0);return 0}if(y>>>0<11>>>0){a[k]=y<<1;C=k+1|0}else{h=y+16&-16;f=gK(h)|0;c[k+8>>2]=f;c[k>>2]=h|1;c[k+4>>2]=y;C=f}BK(C|0,g|0,y)|0;a[C+y|0]=0;c[b+8>>2]=Lf(b|0,k)|0;if((a[k]&1)==0){B=1;break}iK(c[k+8>>2]|0);B=1}}while(0);Nv(m,d,17472);do{if((Bv(m)|0)==0){D=B}else{Nv(o,d,17472);k=Ev(o)|0;C=AK(k|0)|0;if(C>>>0>4294967279>>>0){GA(0);return 0}if(C>>>0<11>>>0){a[n]=C<<1;E=n+1|0}else{l=C+16&-16;v=gK(l)|0;c[n+8>>2]=v;c[n>>2]=l|1;c[n+4>>2]=C;E=v}BK(E|0,k|0,C)|0;a[E+C|0]=0;c[b+12>>2]=bg(b|0,n)|0;if((a[n]&1)==0){D=1;break}iK(c[n+8>>2]|0);D=1}}while(0);Nv(p,d,17424);do{if((Bv(p)|0)==0){F=D}else{Nv(r,d,17424);n=Ev(r)|0;E=AK(n|0)|0;if(E>>>0>4294967279>>>0){GA(0);return 0}if(E>>>0<11>>>0){a[q]=E<<1;G=q+1|0}else{o=E+16&-16;B=gK(o)|0;c[q+8>>2]=B;c[q>>2]=o|1;c[q+4>>2]=E;G=B}BK(G|0,n|0,E)|0;a[G+E|0]=0;c[b+16>>2]=Lf(b|0,q)|0;if((a[q]&1)==0){F=1;break}iK(c[q+8>>2]|0);F=1}}while(0);Nv(s,d,17400);if((Bv(s)|0)==0){H=F;i=e;return H|0}Nv(u,d,17400);d=Ev(u)|0;u=AK(d|0)|0;if(u>>>0>4294967279>>>0){GA(0);return 0}if(u>>>0<11>>>0){a[t]=u<<1;I=t+1|0}else{F=u+16&-16;s=gK(F)|0;c[t+8>>2]=s;c[t>>2]=F|1;c[t+4>>2]=u;I=s}BK(I|0,d|0,u)|0;a[I+u|0]=0;c[b+20>>2]=Lf(b|0,t)|0;if((a[t]&1)==0){H=1;i=e;return H|0}iK(c[t+8>>2]|0);H=1;i=e;return H|0}function iz(a){a=a|0;return(c[a+4>>2]|0)!=0|0}function jz(a){a=a|0;Hf(a|0);c[a>>2]=28888;c[a+4>>2]=0;c[a+8>>2]=0;return}function kz(a){a=a|0;c[a+4>>2]=0;c[a+8>>2]=0;return}function lz(a){a=a|0;Jf(a|0);iK(a);return}function mz(a){a=a|0;Jf(a|0);return}function nz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=i;i=i+64|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;j=e+32|0;k=e+40|0;l=e+56|0;Nv(f,d,17360);do{if((Bv(f)|0)==0){m=0}else{Nv(h,d,17360);n=Ev(h)|0;o=AK(n|0)|0;if(o>>>0>4294967279>>>0){GA(0);return 0}if(o>>>0<11>>>0){a[g]=o<<1;p=g+1|0}else{q=o+16&-16;r=gK(q)|0;c[g+8>>2]=r;c[g>>2]=q|1;c[g+4>>2]=o;p=r}BK(p|0,n|0,o)|0;a[p+o|0]=0;c[b+4>>2]=Rf(b|0,g)|0;if((a[g]&1)==0){m=1;break}iK(c[g+8>>2]|0);m=1}}while(0);Nv(j,d,17336);if((Bv(j)|0)==0){s=m;i=e;return s|0}Nv(l,d,17336);d=Ev(l)|0;l=AK(d|0)|0;if(l>>>0>4294967279>>>0){GA(0);return 0}if(l>>>0<11>>>0){a[k]=l<<1;t=k+1|0}else{m=l+16&-16;j=gK(m)|0;c[k+8>>2]=j;c[k>>2]=m|1;c[k+4>>2]=l;t=j}BK(t|0,d|0,l)|0;a[t+l|0]=0;c[b+8>>2]=cg(b|0,k)|0;if((a[k]&1)==0){s=1;i=e;return s|0}iK(c[k+8>>2]|0);s=1;i=e;return s|0}function oz(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(e){i=i;return}else{Dc(c[w>>2]|0,12704,(e=i,i=i+24|0,c[e>>2]=d,c[e+8>>2]=a,c[e+16>>2]=b,e)|0)|0;i=e;yc(18992,15864,29,22640)}}function pz(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;qz(d)|0;e=d;f=d;g=b;h=0;a:while(1){i=h;while(1){j=(a[g]|0)==0;k=(c[f+((c[(c[e>>2]|0)-12>>2]|0)+16)>>2]&7|0)!=0;if(k|j){l=j|k^1;m=9;break a}k=VB(d)|0;i=(k|0)==-1?i:k&255;if(i<<24>>24==(a[g]|0)){break}YB(d,i)|0;if(!(rz(d)|0)){break a}}g=g+1|0;h=i}if((m|0)==9){return l|0}if(g>>>0>b>>>0){n=g}else{l=0;return l|0}while(1){g=n-1|0;YB(d,a[g]|0)|0;if(g>>>0>b>>>0){n=g}else{l=0;break}}return l|0}function qz(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;e=i;i=i+8|0;f=e|0;g=d;h=c[(c[g>>2]|0)-12>>2]|0;j=d;k=c[j+(h+16)>>2]|0;if((k|0)!=0){eB(j+h|0,k|4);i=e;return d|0}k=c[j+(h+72)>>2]|0;if((k|0)==0){l=h}else{RB(k)|0;l=c[(c[g>>2]|0)-12>>2]|0}if((c[j+(l+16)>>2]|0)!=0){i=e;return d|0}iB(f,j+l|0);l=DG(f,53416)|0;BG(f);f=l+8|0;while(1){l=c[j+((c[(c[g>>2]|0)-12>>2]|0)+24)>>2]|0;k=c[l+12>>2]|0;if((k|0)==(c[l+16>>2]|0)){h=dd[c[(c[l>>2]|0)+36>>2]&255](l)|0;if((h|0)==-1){m=15;break}else{n=h&255}}else{n=a[k]|0}if(n<<24>>24<0){m=22;break}if((b[(c[f>>2]|0)+(n<<24>>24<<1)>>1]&8192)==0){m=22;break}k=c[j+((c[(c[g>>2]|0)-12>>2]|0)+24)>>2]|0;h=k+12|0;l=c[h>>2]|0;if((l|0)==(c[k+16>>2]|0)){dd[c[(c[k>>2]|0)+40>>2]&255](k)|0;continue}else{c[h>>2]=l+1;continue}}if((m|0)==15){n=c[(c[g>>2]|0)-12>>2]|0;eB(j+n|0,c[j+(n+16)>>2]|2);i=e;return d|0}else if((m|0)==22){i=e;return d|0}return 0}function rz(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;b=a;d=a;if((c[d+((c[(c[b>>2]|0)-12>>2]|0)+16)>>2]&2|0)!=0){e=0;return e|0}f=VB(a)|0;do{if((c[d+((c[(c[b>>2]|0)-12>>2]|0)+16)>>2]&2|0)==0){g=VB(a)|0;if(!((f&255)<<24>>24==47&(f|0)!=-1&((g&255)<<24>>24==47&(g|0)!=-1))){ZB(a)|0;eB(d+(c[(c[b>>2]|0)-12>>2]|0)|0,0);break}g=c[(c[b>>2]|0)-12>>2]|0;a:do{if((c[d+(g+16)>>2]&2|0)==0){while(1){if((XB(a)|0)==13){break}if((XB(a)|0)==10){break}VB(a)|0;h=c[(c[b>>2]|0)-12>>2]|0;if((c[d+(h+16)>>2]&2|0)!=0){i=h;break a}}i=c[(c[b>>2]|0)-12>>2]|0}else{i=g}}while(0);if((c[d+(i+16)>>2]&2|0)!=0){e=1;return e|0}qz(a)|0;e=1;return e|0}}while(0);ZB(a)|0;eB(d+(c[(c[b>>2]|0)-12>>2]|0)|0,0);e=0;return e|0}function sz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,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,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0;e=i;i=i+168|0;f=e|0;g=e+16|0;h=e+24|0;do{if(pz(13512,b)|0){j=34;k=0}else{if((XB(b)|0)==39){l=VB(b)|0;j=39;k=(l|0)==-1?0:l&255;break}else{m=0;i=e;return m|0}}}while(0);l=b;n=c[(c[l>>2]|0)-12>>2]|0;o=b;a:do{if((c[o+(n+16)>>2]|0)==0){p=d;q=d|0;r=d+4|0;s=d+1|0;t=d+8|0;u=h+64|0;v=h|0;w=h+8|0;x=h+12|0;y=h+4|0;z=h+64|0;A=x;B=h+136|0;C=h+140|0;D=f;E=x|0;F=h+16|0;G=h+20|0;H=h+44|0;I=h+60|0;J=f+8|0;K=h;L=h+64|0;M=h+12|0;N=h+52|0;O=h+8|0;P=k;while(1){Q=VB(b)|0;R=(Q|0)==-1?P:Q&255;if((R<<24>>24|0)==(j|0)){break}b:do{if(R<<24>>24==92){Q=VB(b)|0;S=(Q|0)==-1?92:Q&255;Q=S<<24>>24;switch(Q|0){case 110:{T=a[p]|0;U=(T&1)!=0;if(U){V=c[r>>2]|0;W=(c[q>>2]&-2)-1|0}else{V=(T&255)>>>1;W=10}if((V|0)==(W|0)){VA(d,W,1,W,W,0,0);if((a[p]&1)==0){X=43}else{X=44}}else{if(U){X=44}else{X=43}}if((X|0)==43){X=0;a[p]=(V<<1)+2;Y=s;Z=V+1|0}else if((X|0)==44){X=0;U=c[t>>2]|0;T=V+1|0;c[r>>2]=T;Y=U;Z=T}a[Y+V|0]=10;a[Y+Z|0]=0;_=S;break b;break};case 92:case 47:{T=a[p]|0;U=(T&1)!=0;if(U){$=c[r>>2]|0;aa=(c[q>>2]&-2)-1|0}else{$=(T&255)>>>1;aa=10}if(($|0)==(aa|0)){VA(d,aa,1,aa,aa,0,0);if((a[p]&1)==0){X=15}else{X=16}}else{if(U){X=16}else{X=15}}if((X|0)==15){X=0;a[p]=($<<1)+2;ba=s;ca=$+1|0}else if((X|0)==16){X=0;U=c[t>>2]|0;T=$+1|0;c[r>>2]=T;ba=U;ca=T}a[ba+$|0]=S;a[ba+ca|0]=0;_=S;break b;break};case 114:{T=a[p]|0;U=(T&1)!=0;if(U){da=c[r>>2]|0;ea=(c[q>>2]&-2)-1|0}else{da=(T&255)>>>1;ea=10}if((da|0)==(ea|0)){VA(d,ea,1,ea,ea,0,0);if((a[p]&1)==0){X=52}else{X=53}}else{if(U){X=53}else{X=52}}if((X|0)==52){X=0;a[p]=(da<<1)+2;fa=s;ga=da+1|0}else if((X|0)==53){X=0;U=c[t>>2]|0;T=da+1|0;c[r>>2]=T;fa=U;ga=T}a[fa+da|0]=13;a[fa+ga|0]=0;_=S;break b;break};case 116:{T=a[p]|0;U=(T&1)!=0;if(U){ha=c[r>>2]|0;ia=(c[q>>2]&-2)-1|0}else{ha=(T&255)>>>1;ia=10}if((ha|0)==(ia|0)){VA(d,ia,1,ia,ia,0,0);if((a[p]&1)==0){X=61}else{X=62}}else{if(U){X=62}else{X=61}}if((X|0)==61){X=0;a[p]=(ha<<1)+2;ja=s;ka=ha+1|0}else if((X|0)==62){X=0;U=c[t>>2]|0;T=ha+1|0;c[r>>2]=T;ja=U;ka=T}a[ja+ha|0]=9;a[ja+ka|0]=0;_=S;break b;break};case 98:{T=a[p]|0;U=(T&1)!=0;if(U){la=c[r>>2]|0;ma=(c[q>>2]&-2)-1|0}else{la=(T&255)>>>1;ma=10}if((la|0)==(ma|0)){VA(d,ma,1,ma,ma,0,0);if((a[p]&1)==0){X=25}else{X=26}}else{if(U){X=26}else{X=25}}if((X|0)==25){X=0;a[p]=(la<<1)+2;na=s;oa=la+1|0}else if((X|0)==26){X=0;U=c[t>>2]|0;T=la+1|0;c[r>>2]=T;na=U;oa=T}a[na+la|0]=8;a[na+oa|0]=0;_=S;break b;break};case 102:{T=a[p]|0;U=(T&1)!=0;if(U){pa=c[r>>2]|0;qa=(c[q>>2]&-2)-1|0}else{pa=(T&255)>>>1;qa=10}if((pa|0)==(qa|0)){VA(d,qa,1,qa,qa,0,0);if((a[p]&1)==0){X=34}else{X=35}}else{if(U){X=35}else{X=34}}if((X|0)==34){X=0;a[p]=(pa<<1)+2;ra=s;sa=pa+1|0}else if((X|0)==35){X=0;U=c[t>>2]|0;T=pa+1|0;c[r>>2]=T;ra=U;sa=T}a[ra+pa|0]=12;a[ra+sa|0]=0;_=S;break b;break};case 117:{c[w>>2]=27256;c[v>>2]=47740;c[u>>2]=47760;c[y>>2]=0;jB(z,A);c[B>>2]=0;c[C>>2]=-1;c[v>>2]=27236;c[u>>2]=27276;c[w>>2]=27256;c[E>>2]=27560;zG(F);DK(G|0,0,24)|0;c[E>>2]=27416;DK(H|0,0,16)|0;c[I>>2]=24;DK(D|0,0,12)|0;ij(x,f);if(!((a[D]&1)==0)){iK(c[J>>2]|0)}c[g>>2]=0;do{if((c[o+((c[(c[l>>2]|0)-12>>2]|0)+16)>>2]|0)==0){T=S;U=0;do{ta=VB(b)|0;T=(ta|0)==-1?T:ta&255;cl(O,T)|0;U=U+1|0;c[g>>2]=U;ua=c[o+((c[(c[l>>2]|0)-12>>2]|0)+16)>>2]|0;}while((ua|0)==0&(U|0)<4);if((ua|0)!=0){va=T;break}U=TB(K,g)|0;if((c[U+((c[(c[U>>2]|0)-12>>2]|0)+16)>>2]&5|0)!=0){va=T;break}U=c[g>>2]&255;ta=a[p]|0;wa=(ta&1)!=0;if(wa){xa=c[r>>2]|0;ya=(c[q>>2]&-2)-1|0}else{xa=(ta&255)>>>1;ya=10}if((xa|0)==(ya|0)){VA(d,ya,1,ya,ya,0,0);if((a[p]&1)==0){X=101}else{X=102}}else{if(wa){X=102}else{X=101}}if((X|0)==101){X=0;a[p]=(xa<<1)+2;za=s;Aa=xa+1|0}else if((X|0)==102){X=0;wa=c[t>>2]|0;ta=xa+1|0;c[r>>2]=ta;za=wa;Aa=ta}a[za+xa|0]=U;a[za+Aa|0]=0;va=T}else{va=S}}while(0);c[v>>2]=27236;c[L>>2]=27276;c[w>>2]=27256;c[M>>2]=27416;if(!((a[H]&1)==0)){iK(c[N>>2]|0)}c[M>>2]=27560;BG(F);fB(z);_=va;break b;break};default:{U=a[p]|0;ta=(U&1)!=0;if((Q|0)==(j|0)){if(ta){Ba=c[r>>2]|0;Ca=(c[q>>2]&-2)-1|0}else{Ba=(U&255)>>>1;Ca=10}if((Ba|0)==(Ca|0)){VA(d,Ca,1,Ca,Ca,0,0);if((a[p]&1)==0){X=135}else{X=136}}else{if(ta){X=136}else{X=135}}if((X|0)==135){X=0;a[p]=(Ba<<1)+2;Da=s;Ea=Ba+1|0}else if((X|0)==136){X=0;wa=c[t>>2]|0;Fa=Ba+1|0;c[r>>2]=Fa;Da=wa;Ea=Fa}a[Da+Ba|0]=S;a[Da+Ea|0]=0;_=S;break b}if(ta){Ga=c[r>>2]|0;Ha=(c[q>>2]&-2)-1|0}else{Ga=(U&255)>>>1;Ha=10}if((Ga|0)==(Ha|0)){VA(d,Ha,1,Ha,Ha,0,0);if((a[p]&1)==0){X=118}else{X=119}}else{if(ta){X=119}else{X=118}}if((X|0)==118){X=0;a[p]=(Ga<<1)+2;Ia=s;Ja=Ga+1|0}else if((X|0)==119){X=0;ta=c[t>>2]|0;U=Ga+1|0;c[r>>2]=U;Ia=ta;Ja=U}a[Ia+Ga|0]=92;a[Ia+Ja|0]=0;U=a[p]|0;ta=(U&1)!=0;if(ta){Ka=c[r>>2]|0;La=(c[q>>2]&-2)-1|0}else{Ka=(U&255)>>>1;La=10}if((Ka|0)==(La|0)){VA(d,La,1,La,La,0,0);if((a[p]&1)==0){X=126}else{X=127}}else{if(ta){X=127}else{X=126}}if((X|0)==126){X=0;a[p]=(Ka<<1)+2;Ma=s;Na=Ka+1|0}else if((X|0)==127){X=0;ta=c[t>>2]|0;U=Ka+1|0;c[r>>2]=U;Ma=ta;Na=U}a[Ma+Ka|0]=S;a[Ma+Na|0]=0;_=S;break b}}}else{U=a[p]|0;ta=(U&1)!=0;if(ta){Oa=c[r>>2]|0;Pa=(c[q>>2]&-2)-1|0}else{Oa=(U&255)>>>1;Pa=10}if((Oa|0)==(Pa|0)){VA(d,Pa,1,Pa,Pa,0,0);if((a[p]&1)==0){X=144}else{X=145}}else{if(ta){X=145}else{X=144}}if((X|0)==144){X=0;a[p]=(Oa<<1)+2;Qa=s;Ra=Oa+1|0}else if((X|0)==145){X=0;ta=c[t>>2]|0;U=Oa+1|0;c[r>>2]=U;Qa=ta;Ra=U}a[Qa+Oa|0]=R;a[Qa+Ra|0]=0;_=R}}while(0);U=c[(c[l>>2]|0)-12>>2]|0;if((c[o+(U+16)>>2]|0)==0){P=_}else{Sa=_;Ta=U;break a}}Sa=R;Ta=c[(c[l>>2]|0)-12>>2]|0}else{Sa=k;Ta=n}}while(0);do{if((c[o+(Ta+16)>>2]&5|0)==0){if((Sa<<24>>24|0)==(j|0)){m=1}else{break}i=e;return m|0}}while(0);m=0;i=e;return m|0}function tz(a){a=a|0;c[a+4>>2]=0;c[a+8>>2]=0;c[a>>2]=a+4;DK(a+12|0,0,12)|0;return}function uz(b){b=b|0;vz(b);if(!((a[b+12|0]&1)==0)){iK(c[b+20>>2]|0)}Cz(b|0,c[b+4>>2]|0);return}function vz(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=a|0;d=c[b>>2]|0;e=a+4|0;f=e;if((d|0)!=(f|0)){g=d;while(1){d=c[g+28>>2]|0;if((d|0)!=0){xz(d);iK(d)}d=c[g+4>>2]|0;if((d|0)==0){h=g|0;while(1){i=c[h+8>>2]|0;if((c[i>>2]|0)==(h|0)){j=i;break}else{h=i}}}else{h=d;while(1){i=c[h>>2]|0;if((i|0)==0){j=h;break}else{h=i}}}if((j|0)==(e|0)){break}else{g=j}}}Cz(a|0,c[a+4>>2]|0);c[a+8>>2]=0;c[b>>2]=f;c[e>>2]=0;return}function wz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;e=i;i=i+24|0;f=e|0;g=e+8|0;h=d|0;j=c[h>>2]|0;k=d+4|0;l=k;if((j|0)!=(l|0)){m=k;n=j;while(1){j=c[n+28>>2]|0;if((j|0)!=0){xz(j);iK(j)}j=c[n+4>>2]|0;if((j|0)==0){o=n|0;while(1){p=c[o+8>>2]|0;if((c[p>>2]|0)==(o|0)){q=p;break}else{o=p}}}else{o=j;while(1){p=c[o>>2]|0;if((p|0)==0){q=o;break}else{o=p}}}if((q|0)==(m|0)){break}else{n=q}}}q=d+4|0;Cz(d|0,c[q>>2]|0);n=d+8|0;c[n>>2]=0;c[h>>2]=l;c[k>>2]=0;if(!(pz(9280,b)|0)){r=0;i=e;return r|0}if(pz(8672,b)|0){r=1;i=e;return r|0}k=g;l=d|0;d=g+8|0;m=g+4|0;a:while(1){DK(k|0,0,12)|0;do{if(sz(b,g)|0){if(!(pz(7832,b)|0)){s=1;break}o=gK(16)|0;j=o;c[o>>2]=6;if(!(yz(b,j)|0)){if((o|0)==0){s=2;break}xz(j);iK(o);s=2;break}o=Ez(l,f,g)|0;p=c[o>>2]|0;t=p;if((p|0)==0){p=gK(32)|0;u=p;v=p+16|0;do{if((v|0)!=0){if((a[k]&1)==0){c[v>>2]=c[k>>2];c[v+4>>2]=c[k+4>>2];c[v+8>>2]=c[k+8>>2];break}w=c[d>>2]|0;x=c[m>>2]|0;if(x>>>0>4294967279>>>0){y=36;break a}if(x>>>0<11>>>0){a[v]=x<<1;z=p+17|0}else{A=x+16&-16;B=gK(A)|0;c[p+24>>2]=B;c[v>>2]=A|1;c[p+20>>2]=x;z=B}BK(z|0,w|0,x)|0;a[z+x|0]=0}}while(0);v=p+28|0;if((v|0)!=0){c[v>>2]=0}v=c[f>>2]|0;x=p;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=v;c[o>>2]=x;v=c[c[h>>2]>>2]|0;if((v|0)==0){C=x}else{c[h>>2]=v;C=c[o>>2]|0}Aj(c[q>>2]|0,C);c[n>>2]=(c[n>>2]|0)+1;D=u}else{D=t}c[D+28>>2]=j;s=0}else{v=(XB(b)|0)==125;s=v?2:1}}while(0);if(!((a[k]&1)==0)){iK(c[d>>2]|0)}if((s|0)==2){y=57;break}else if((s|0)==1){r=0;y=60;break}if(!(pz(22008,b)|0)){y=57;break}}if((y|0)==36){GA(0);return 0}else if((y|0)==57){r=pz(8672,b)|0;i=e;return r|0}else if((y|0)==60){i=e;return r|0}return 0}function xz(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=c[b>>2]|0;if((d|0)==4){e=b+8|0;f=c[e>>2]|0;if((f|0)!=0){g=f|0;h=c[g>>2]|0;i=f+4|0;j=c[i>>2]|0;do{if((h|0)==(j|0)){k=h;l=h}else{m=h;n=j;while(1){o=c[m>>2]|0;if((o|0)==0){p=n}else{xz(o);iK(o);p=c[i>>2]|0}o=m+4|0;if((o|0)==(p|0)){break}else{m=o;n=p}}n=c[g>>2]|0;if((p|0)==(n|0)){k=p;l=n;break}m=p+(~((p-4+(-n|0)|0)>>>2)<<2)|0;c[i>>2]=m;k=m;l=n}}while(0);if((l|0)!=0){if((k|0)!=(l|0)){c[i>>2]=k+(~((k-4+(-l|0)|0)>>>2)<<2)}iK(l)}iK(f)}c[e>>2]=0;return}else if((d|0)==5){e=b+8|0;f=c[e>>2]|0;if((f|0)!=0){vz(f);if(!((a[f+12|0]&1)==0)){iK(c[f+20>>2]|0)}Cz(f|0,c[f+4>>2]|0);iK(f)}c[e>>2]=0;return}else if((d|0)==1){d=b+8|0;b=c[d>>2]|0;if((b|0)!=0){e=b;if(!((a[e]&1)==0)){iK(c[b+8>>2]|0)}iK(e)}c[d>>2]=0;return}else{return}}function yz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;e=i;i=i+32|0;f=e+16|0;xz(d);g=f;DK(g|0,0,12)|0;a:do{if(sz(b,f)|0){h=gK(12)|0;DK(h|0,0,12)|0;c[d+8>>2]=h;j=e|0;c[j>>2]=c[h>>2];c[j+4>>2]=c[h+4>>2];c[j+8>>2]=c[h+8>>2];c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[g>>2]=c[j>>2];c[g+4>>2]=c[j+4>>2];c[g+8>>2]=c[j+8>>2];c[d>>2]=1;k=1}else{j=d+8|0;qz(b)|0;UB(b,j|0)|0;h=c[(c[b>>2]|0)-12>>2]|0;l=b;if((c[l+(h+16)>>2]&5|0)==0){c[d>>2]=0;k=1;break}eB(l+h|0,0);h=j;do{if(pz(12024,b)|0){m=1}else{if(pz(11112,b)|0){m=0;break}do{if(!(pz(10232,b)|0)){if((XB(b)|0)==44){break}do{if((XB(b)|0)==91){l=gK(12)|0;n=l;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;l=j;c[l>>2]=n;if(Az(b,n)|0){c[d>>2]=4;k=1;break a}n=c[l>>2]|0;if((n|0)==0){break}zz(n);iK(n)}}while(0);n=gK(24)|0;l=n;o=n+4|0;c[o>>2]=0;c[n+8>>2]=0;c[n>>2]=o;DK(n+12|0,0,12)|0;n=j;c[n>>2]=l;if(wz(b,l)|0){c[d>>2]=5;k=1;break a}l=c[n>>2]|0;if((l|0)==0){k=0;break a}n=l|0;o=c[n>>2]|0;p=l+4|0;q=p;if((o|0)!=(q|0)){r=p;s=o;while(1){o=c[s+28>>2]|0;if((o|0)!=0){xz(o);iK(o)}o=c[s+4>>2]|0;if((o|0)==0){t=s|0;while(1){u=c[t+8>>2]|0;if((c[u>>2]|0)==(t|0)){v=u;break}else{t=u}}}else{t=o;while(1){u=c[t>>2]|0;if((u|0)==0){v=t;break}else{t=u}}}if((v|0)==(r|0)){break}else{s=v}}}s=l|0;r=l+4|0;Cz(s,c[r>>2]|0);c[l+8>>2]=0;c[n>>2]=q;c[p>>2]=0;if((a[l+12|0]&1)==0){w=0}else{iK(c[l+20>>2]|0);w=c[r>>2]|0}Cz(s,w);iK(l);k=0;break a}}while(0);c[d>>2]=3;k=1;break a}}while(0);a[h]=m;c[d>>2]=2;k=1}}while(0);if((a[g]&1)==0){i=e;return k|0}iK(c[f+8>>2]|0);i=e;return k|0}function zz(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=a|0;d=c[b>>2]|0;e=a+4|0;a=c[e>>2]|0;do{if((d|0)==(a|0)){f=d;g=d}else{h=d;i=a;while(1){j=c[h>>2]|0;if((j|0)==0){k=i}else{xz(j);iK(j);k=c[e>>2]|0}j=h+4|0;if((j|0)==(k|0)){break}else{h=j;i=k}}i=c[b>>2]|0;if((k|0)==(i|0)){f=k;g=i;break}h=k+(~((k-4+(-i|0)|0)>>>2)<<2)|0;c[e>>2]=h;f=h;g=i}}while(0);if((g|0)==0){return}if((f|0)!=(g|0)){c[e>>2]=f+(~((f-4+(-g|0)|0)>>>2)<<2)}iK(g);return}function Az(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=i;i=i+8|0;e=d|0;f=b|0;g=c[f>>2]|0;h=b+4|0;j=c[h>>2]|0;do{if((g|0)!=(j|0)){k=g;l=j;while(1){m=c[k>>2]|0;if((m|0)==0){n=l}else{xz(m);iK(m);n=c[h>>2]|0}m=k+4|0;if((m|0)==(n|0)){break}else{k=m;l=n}}l=c[f>>2]|0;if((n|0)==(l|0)){break}c[h>>2]=n+(~((n-4+(-l|0)|0)>>>2)<<2)}}while(0);if(!(pz(21008,a)|0)){o=0;i=d;return o|0}n=b+8|0;f=b|0;do{p=gK(16)|0;q=p;c[p>>2]=6;c[e>>2]=q;if(!(yz(a,q)|0)){r=12;break}b=c[h>>2]|0;if((b|0)==(c[n>>2]|0)){Dz(f,e)}else{if((b|0)==0){s=0}else{c[b>>2]=q;s=c[h>>2]|0}c[h>>2]=s+4}}while(pz(22008,a)|0);do{if((r|0)==12){if((p|0)==0){break}xz(q);iK(p)}}while(0);o=pz(20056,a)|0;i=d;return o|0}function Bz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;i=i+144|0;f=e|0;g=f|0;h=f+8|0;c[g>>2]=47700;j=f+60|0;c[j>>2]=47720;c[f+4>>2]=0;k=f+60|0;jB(k,h);c[f+132>>2]=0;c[f+136>>2]=-1;c[g>>2]=27140;c[f+60>>2]=27160;l=h|0;c[l>>2]=27560;m=f+12|0;zG(m);DK(f+16|0,0,24)|0;c[l>>2]=27416;l=f+40|0;DK(l|0,0,16)|0;c[f+56>>2]=8;ij(h,d);d=wz(f,b)|0;c[g>>2]=27140;c[j>>2]=27160;j=f+8|0;c[j>>2]=27416;if(!((a[l]&1)==0)){iK(c[f+48>>2]|0)}c[j>>2]=27560;BG(m);fB(k);i=e;return d|0}function Cz(b,d){b=b|0;d=d|0;if((d|0)==0){return}Cz(b,c[d>>2]|0);Cz(b,c[d+4>>2]|0);if(!((a[d+16|0]&1)==0)){iK(c[d+24>>2]|0)}iK(d);return}function Dz(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;d=a+4|0;e=a|0;f=c[e>>2]|0;g=f;h=(c[d>>2]|0)-g|0;i=h>>2;j=i+1|0;if(j>>>0>1073741823>>>0){tG(0)}k=a+8|0;a=(c[k>>2]|0)-g|0;if(a>>2>>>0<536870911>>>0){g=a>>1;a=g>>>0>>0?j:g;if((a|0)==0){l=0;m=0}else{n=a;o=5}}else{n=1073741823;o=5}if((o|0)==5){l=gK(n<<2)|0;m=n}n=l+(i<<2)|0;if((n|0)!=0){c[n>>2]=c[b>>2]}b=f;BK(l|0,b|0,h)|0;c[e>>2]=l;c[d>>2]=l+(j<<2);c[k>>2]=l+(m<<2);if((f|0)==0){return}iK(b);return}function Ez(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;f=c[b+4>>2]|0;if((f|0)==0){g=b+4|0;c[d>>2]=g;h=g|0;return h|0}g=a[e]|0;b=(g&255)>>>1;i=e+1|0;j=e+8|0;k=e+4|0;a:do{if((g&1)==0){e=f;while(1){l=e+16|0;m=a[l]|0;n=(m&1)==0;if(n){o=l+1|0;p=(m&255)>>>1}else{o=c[e+24>>2]|0;p=c[e+20>>2]|0}q=p>>>0>>0;r=xK(i,o,q?p:b)|0;if((r|0)==0){s=b>>>0>>0?-1:q&1}else{s=r}if((s|0)<0){r=e|0;q=c[r>>2]|0;if((q|0)==0){t=e;u=r;v=24;break}else{e=q;continue}}if(n){w=l+1|0;x=(m&255)>>>1}else{w=c[e+24>>2]|0;x=c[e+20>>2]|0}m=b>>>0>>0;l=xK(w,i,m?b:x)|0;if((l|0)==0){y=x>>>0>>0?-1:m&1}else{y=l}if((y|0)>=0){z=e;v=33;break a}l=e+4|0;m=c[l>>2]|0;if((m|0)==0){A=e;B=l;v=32;break}else{e=m}}}else{e=f;while(1){m=e+16|0;l=c[k>>2]|0;n=a[m]|0;q=(n&1)==0;if(q){C=m+1|0;D=(n&255)>>>1}else{C=c[e+24>>2]|0;D=c[e+20>>2]|0}r=D>>>0>>0;E=xK(c[j>>2]|0,C,r?D:l)|0;if((E|0)==0){F=l>>>0>>0?-1:r&1}else{F=E}if((F|0)<0){E=e|0;r=c[E>>2]|0;if((r|0)==0){t=e;u=E;v=24;break}else{e=r;continue}}if(q){G=m+1|0;H=(n&255)>>>1}else{G=c[e+24>>2]|0;H=c[e+20>>2]|0}n=c[k>>2]|0;m=n>>>0>>0;q=xK(G,c[j>>2]|0,m?n:H)|0;if((q|0)==0){I=H>>>0>>0?-1:m&1}else{I=q}if((I|0)>=0){z=e;v=33;break a}q=e+4|0;m=c[q>>2]|0;if((m|0)==0){A=e;B=q;v=32;break}else{e=m}}}}while(0);if((v|0)==24){c[d>>2]=t;h=u;return h|0}else if((v|0)==32){c[d>>2]=A;h=B;return h|0}else if((v|0)==33){c[d>>2]=z;h=d;return h|0}return 0}function Fz(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;b=i;i=i+32|0;d=b|0;e=b+8|0;f=b+16|0;g=b+24|0;h=c[u>>2]|0;$z(52784,h,52912);c[13444]=27828;c[13446]=27848;c[13445]=0;jB(53784,52784);c[13464]=0;c[13465]=-1;j=c[r>>2]|0;c[13172]=27560;zG(52692);DK(52696,0,24)|0;c[13172]=28048;c[13180]=j;AG(g,52692);k=DG(g,53112)|0;l=k;BG(g);c[13181]=l;c[13182]=52920;a[52732]=(dd[c[(c[k>>2]|0)+28>>2]&255](l)|0)&1;c[13378]=27732;c[13379]=27752;jB(53516,52688);c[13397]=0;c[13398]=-1;l=c[w>>2]|0;c[13184]=27560;zG(52740);DK(52744,0,24)|0;c[13184]=28048;c[13192]=l;AG(f,52740);k=DG(f,53112)|0;g=k;BG(f);c[13193]=g;c[13194]=52928;a[52780]=(dd[c[(c[k>>2]|0)+28>>2]&255](g)|0)&1;c[13422]=27732;c[13423]=27752;jB(53692,52736);c[13441]=0;c[13442]=-1;g=c[(c[(c[13422]|0)-12>>2]|0)+53712>>2]|0;c[13400]=27732;c[13401]=27752;jB(53604,g);c[13419]=0;c[13420]=-1;c[(c[(c[13444]|0)-12>>2]|0)+53848>>2]=53512;g=(c[(c[13422]|0)-12>>2]|0)+53692|0;c[g>>2]=c[g>>2]|8192;c[(c[(c[13422]|0)-12>>2]|0)+53760>>2]=53512;Nz(52632,h,52936);c[13356]=27780;c[13358]=27800;c[13357]=0;jB(53432,52632);c[13376]=0;c[13377]=-1;c[13134]=27488;zG(52540);DK(52544,0,24)|0;c[13134]=27976;c[13142]=j;AG(e,52540);j=DG(e,53104)|0;h=j;BG(e);c[13143]=h;c[13144]=52944;a[52580]=(dd[c[(c[j>>2]|0)+28>>2]&255](h)|0)&1;c[13286]=27684;c[13287]=27704;jB(53148,52536);c[13305]=0;c[13306]=-1;c[13146]=27488;zG(52588);DK(52592,0,24)|0;c[13146]=27976;c[13154]=l;AG(d,52588);l=DG(d,53104)|0;h=l;BG(d);c[13155]=h;c[13156]=52952;a[52628]=(dd[c[(c[l>>2]|0)+28>>2]&255](h)|0)&1;c[13330]=27684;c[13331]=27704;jB(53324,52584);c[13349]=0;c[13350]=-1;h=c[(c[(c[13330]|0)-12>>2]|0)+53344>>2]|0;c[13308]=27684;c[13309]=27704;jB(53236,h);c[13327]=0;c[13328]=-1;c[(c[(c[13356]|0)-12>>2]|0)+53496>>2]=53144;h=(c[(c[13330]|0)-12>>2]|0)+53324|0;c[h>>2]=c[h>>2]|8192;c[(c[(c[13330]|0)-12>>2]|0)+53392>>2]=53144;i=b;return}function Gz(a){a=a|0;RB(53512)|0;RB(53600)|0;cC(53144)|0;cC(53232)|0;return}function Hz(a){a=a|0;c[a>>2]=27488;BG(a+4|0);return}function Iz(a){a=a|0;c[a>>2]=27488;BG(a+4|0);iK(a);return}function Jz(b,d){b=b|0;d=d|0;var e=0;dd[c[(c[b>>2]|0)+24>>2]&255](b)|0;e=DG(d,53104)|0;d=e;c[b+36>>2]=d;a[b+44|0]=(dd[c[(c[e>>2]|0)+28>>2]&255](d)|0)&1;return}function Kz(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;b=i;i=i+16|0;d=b|0;e=b+8|0;f=a+36|0;g=a+40|0;h=d|0;j=d+8|0;k=d;d=a+32|0;while(1){a=c[f>>2]|0;l=ed[c[(c[a>>2]|0)+20>>2]&31](a,c[g>>2]|0,h,j,e)|0;a=(c[e>>2]|0)-k|0;if((Xa(h|0,1,a|0,c[d>>2]|0)|0)!=(a|0)){m=-1;n=5;break}if((l|0)==2){m=-1;n=5;break}else if((l|0)!=1){n=4;break}}if((n|0)==4){m=((Ta(c[d>>2]|0)|0)!=0)<<31>>31;i=b;return m|0}else if((n|0)==5){i=b;return m|0}return 0}function Lz(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if((a[b+44|0]|0)!=0){f=Xa(d|0,4,e|0,c[b+32>>2]|0)|0;return f|0}g=b;if((e|0)>0){h=d;i=0}else{f=0;return f|0}while(1){if((qd[c[(c[g>>2]|0)+52>>2]&255](b,c[h>>2]|0)|0)==-1){f=i;j=6;break}d=i+1|0;if((d|0)<(e|0)){h=h+4|0;i=d}else{f=d;j=6;break}}if((j|0)==6){return f|0}return 0}function Mz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;e=i;i=i+32|0;f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=(d|0)==-1;a:do{if(!k){c[g>>2]=d;if((a[b+44|0]|0)!=0){if((Xa(g|0,4,1,c[b+32>>2]|0)|0)==1){break}else{l=-1}i=e;return l|0}m=f|0;c[h>>2]=m;n=g+4|0;o=b+36|0;p=b+40|0;q=f+8|0;r=f;s=b+32|0;t=g;while(1){u=c[o>>2]|0;v=vd[c[(c[u>>2]|0)+12>>2]&31](u,c[p>>2]|0,t,n,j,m,q,h)|0;if((c[j>>2]|0)==(t|0)){l=-1;w=12;break}if((v|0)==3){w=7;break}u=(v|0)==1;if(!(v>>>0<2>>>0)){l=-1;w=12;break}v=(c[h>>2]|0)-r|0;if((Xa(m|0,1,v|0,c[s>>2]|0)|0)!=(v|0)){l=-1;w=12;break}if(u){t=u?c[j>>2]|0:t}else{break a}}if((w|0)==7){if((Xa(t|0,1,1,c[s>>2]|0)|0)==1){break}else{l=-1}i=e;return l|0}else if((w|0)==12){i=e;return l|0}}}while(0);l=k?0:d;i=e;return l|0}function Nz(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;f=i;i=i+8|0;g=f|0;h=b|0;c[h>>2]=27488;j=b+4|0;zG(j);DK(b+8|0,0,24)|0;c[h>>2]=28376;c[b+32>>2]=d;c[b+40>>2]=e;c[b+48>>2]=-1;a[b+52|0]=0;AG(g,j);j=DG(g,53104)|0;e=j;d=b+36|0;c[d>>2]=e;h=b+44|0;c[h>>2]=dd[c[(c[j>>2]|0)+24>>2]&255](e)|0;e=c[d>>2]|0;a[b+53|0]=(dd[c[(c[e>>2]|0)+28>>2]&255](e)|0)&1;if((c[h>>2]|0)<=8){BG(g);i=f;return}LF(7760);BG(g);i=f;return}function Oz(a){a=a|0;c[a>>2]=27488;BG(a+4|0);return}function Pz(a){a=a|0;c[a>>2]=27488;BG(a+4|0);iK(a);return}function Qz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=DG(d,53104)|0;d=e;f=b+36|0;c[f>>2]=d;g=b+44|0;c[g>>2]=dd[c[(c[e>>2]|0)+24>>2]&255](d)|0;d=c[f>>2]|0;a[b+53|0]=(dd[c[(c[d>>2]|0)+28>>2]&255](d)|0)&1;if((c[g>>2]|0)<=8){return}LF(7760);return}function Rz(a){a=a|0;return Uz(a,0)|0}function Sz(a){a=a|0;return Uz(a,1)|0}function Tz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;e=i;i=i+32|0;f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=b+52|0;l=(a[k]|0)!=0;if((d|0)==-1){if(l){m=-1;i=e;return m|0}n=c[b+48>>2]|0;a[k]=(n|0)!=-1|0;m=n;i=e;return m|0}n=b+48|0;a:do{if(l){c[h>>2]=c[n>>2];o=c[b+36>>2]|0;p=f|0;q=vd[c[(c[o>>2]|0)+12>>2]&31](o,c[b+40>>2]|0,h,h+4|0,j,p,f+8|0,g)|0;if((q|0)==2|(q|0)==1){m=-1;i=e;return m|0}else if((q|0)==3){a[p]=c[n>>2];c[g>>2]=f+1}q=b+32|0;while(1){o=c[g>>2]|0;if(!(o>>>0>p>>>0)){break a}r=o-1|0;c[g>>2]=r;if((uc(a[r]|0,c[q>>2]|0)|0)==-1){m=-1;break}}i=e;return m|0}}while(0);c[n>>2]=d;a[k]=1;m=d;i=e;return m|0}function Uz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;e=i;i=i+32|0;f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=b+52|0;if((a[k]|0)!=0){l=b+48|0;m=c[l>>2]|0;if(!d){n=m;i=e;return n|0}c[l>>2]=-1;a[k]=0;n=m;i=e;return n|0}m=c[b+44>>2]|0;k=(m|0)>1?m:1;a:do{if((k|0)>0){m=b+32|0;l=0;while(1){o=pb(c[m>>2]|0)|0;if((o|0)==-1){n=-1;break}a[f+l|0]=o;l=l+1|0;if((l|0)>=(k|0)){break a}}i=e;return n|0}}while(0);b:do{if((a[b+53|0]|0)==0){l=b+40|0;m=b+36|0;o=f|0;p=g+4|0;q=b+32|0;r=k;while(1){s=c[l>>2]|0;t=s;u=c[t>>2]|0;v=c[t+4>>2]|0;t=c[m>>2]|0;w=f+r|0;x=vd[c[(c[t>>2]|0)+16>>2]&31](t,s,o,w,h,g,p,j)|0;if((x|0)==2){n=-1;y=22;break}else if((x|0)==3){y=14;break}else if((x|0)!=1){z=r;break b}x=c[l>>2]|0;c[x>>2]=u;c[x+4>>2]=v;if((r|0)==8){n=-1;y=22;break}v=pb(c[q>>2]|0)|0;if((v|0)==-1){n=-1;y=22;break}a[w]=v;r=r+1|0}if((y|0)==14){c[g>>2]=a[o]|0;z=r;break}else if((y|0)==22){i=e;return n|0}}else{c[g>>2]=a[f|0]|0;z=k}}while(0);if(d){d=c[g>>2]|0;c[b+48>>2]=d;n=d;i=e;return n|0}d=b+32|0;b=z;while(1){if((b|0)<=0){break}z=b-1|0;if((uc(a[f+z|0]|0,c[d>>2]|0)|0)==-1){n=-1;y=22;break}else{b=z}}if((y|0)==22){i=e;return n|0}n=c[g>>2]|0;i=e;return n|0}function Vz(a){a=a|0;c[a>>2]=27560;BG(a+4|0);return}function Wz(a){a=a|0;c[a>>2]=27560;BG(a+4|0);iK(a);return}function Xz(b,d){b=b|0;d=d|0;var e=0;dd[c[(c[b>>2]|0)+24>>2]&255](b)|0;e=DG(d,53112)|0;d=e;c[b+36>>2]=d;a[b+44|0]=(dd[c[(c[e>>2]|0)+28>>2]&255](d)|0)&1;return}function Yz(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;b=i;i=i+16|0;d=b|0;e=b+8|0;f=a+36|0;g=a+40|0;h=d|0;j=d+8|0;k=d;d=a+32|0;while(1){a=c[f>>2]|0;l=ed[c[(c[a>>2]|0)+20>>2]&31](a,c[g>>2]|0,h,j,e)|0;a=(c[e>>2]|0)-k|0;if((Xa(h|0,1,a|0,c[d>>2]|0)|0)!=(a|0)){m=-1;n=5;break}if((l|0)==2){m=-1;n=5;break}else if((l|0)!=1){n=4;break}}if((n|0)==4){m=((Ta(c[d>>2]|0)|0)!=0)<<31>>31;i=b;return m|0}else if((n|0)==5){i=b;return m|0}return 0}function Zz(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;if((a[b+44|0]|0)!=0){g=Xa(e|0,1,f|0,c[b+32>>2]|0)|0;return g|0}h=b;if((f|0)>0){i=e;j=0}else{g=0;return g|0}while(1){if((qd[c[(c[h>>2]|0)+52>>2]&255](b,d[i]|0)|0)==-1){g=j;k=6;break}e=j+1|0;if((e|0)<(f|0)){i=i+1|0;j=e}else{g=e;k=6;break}}if((k|0)==6){return g|0}return 0}function _z(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;e=i;i=i+32|0;f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=(d|0)==-1;a:do{if(!k){a[g]=d;if((a[b+44|0]|0)!=0){if((Xa(g|0,1,1,c[b+32>>2]|0)|0)==1){break}else{l=-1}i=e;return l|0}m=f|0;c[h>>2]=m;n=g+1|0;o=b+36|0;p=b+40|0;q=f+8|0;r=f;s=b+32|0;t=g;while(1){u=c[o>>2]|0;v=vd[c[(c[u>>2]|0)+12>>2]&31](u,c[p>>2]|0,t,n,j,m,q,h)|0;if((c[j>>2]|0)==(t|0)){l=-1;w=12;break}if((v|0)==3){w=7;break}u=(v|0)==1;if(!(v>>>0<2>>>0)){l=-1;w=12;break}v=(c[h>>2]|0)-r|0;if((Xa(m|0,1,v|0,c[s>>2]|0)|0)!=(v|0)){l=-1;w=12;break}if(u){t=u?c[j>>2]|0:t}else{break a}}if((w|0)==7){if((Xa(t|0,1,1,c[s>>2]|0)|0)==1){break}else{l=-1}i=e;return l|0}else if((w|0)==12){i=e;return l|0}}}while(0);l=k?0:d;i=e;return l|0}function $z(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;f=i;i=i+8|0;g=f|0;h=b|0;c[h>>2]=27560;j=b+4|0;zG(j);DK(b+8|0,0,24)|0;c[h>>2]=28448;c[b+32>>2]=d;c[b+40>>2]=e;c[b+48>>2]=-1;a[b+52|0]=0;AG(g,j);j=DG(g,53112)|0;e=j;d=b+36|0;c[d>>2]=e;h=b+44|0;c[h>>2]=dd[c[(c[j>>2]|0)+24>>2]&255](e)|0;e=c[d>>2]|0;a[b+53|0]=(dd[c[(c[e>>2]|0)+28>>2]&255](e)|0)&1;if((c[h>>2]|0)<=8){BG(g);i=f;return}LF(7760);BG(g);i=f;return}function aA(a){a=a|0;c[a>>2]=27560;BG(a+4|0);return}function bA(a){a=a|0;c[a>>2]=27560;BG(a+4|0);iK(a);return}function cA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=DG(d,53112)|0;d=e;f=b+36|0;c[f>>2]=d;g=b+44|0;c[g>>2]=dd[c[(c[e>>2]|0)+24>>2]&255](d)|0;d=c[f>>2]|0;a[b+53|0]=(dd[c[(c[d>>2]|0)+28>>2]&255](d)|0)&1;if((c[g>>2]|0)<=8){return}LF(7760);return}function dA(a){a=a|0;return gA(a,0)|0}function eA(a){a=a|0;return gA(a,1)|0}function fA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;e=i;i=i+32|0;f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=b+52|0;l=(a[k]|0)!=0;if((d|0)==-1){if(l){m=-1;i=e;return m|0}n=c[b+48>>2]|0;a[k]=(n|0)!=-1|0;m=n;i=e;return m|0}n=b+48|0;a:do{if(l){a[h]=c[n>>2];o=c[b+36>>2]|0;p=f|0;q=vd[c[(c[o>>2]|0)+12>>2]&31](o,c[b+40>>2]|0,h,h+1|0,j,p,f+8|0,g)|0;if((q|0)==2|(q|0)==1){m=-1;i=e;return m|0}else if((q|0)==3){a[p]=c[n>>2];c[g>>2]=f+1}q=b+32|0;while(1){o=c[g>>2]|0;if(!(o>>>0>p>>>0)){break a}r=o-1|0;c[g>>2]=r;if((uc(a[r]|0,c[q>>2]|0)|0)==-1){m=-1;break}}i=e;return m|0}}while(0);c[n>>2]=d;a[k]=1;m=d;i=e;return m|0}function gA(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;f=i;i=i+32|0;g=f|0;h=f+8|0;j=f+16|0;k=f+24|0;l=b+52|0;if((a[l]|0)!=0){m=b+48|0;n=c[m>>2]|0;if(!e){o=n;i=f;return o|0}c[m>>2]=-1;a[l]=0;o=n;i=f;return o|0}n=c[b+44>>2]|0;l=(n|0)>1?n:1;a:do{if((l|0)>0){n=b+32|0;m=0;while(1){p=pb(c[n>>2]|0)|0;if((p|0)==-1){o=-1;break}a[g+m|0]=p;m=m+1|0;if((m|0)>=(l|0)){break a}}i=f;return o|0}}while(0);b:do{if((a[b+53|0]|0)==0){m=b+40|0;n=b+36|0;p=g|0;q=h+1|0;r=b+32|0;s=l;while(1){t=c[m>>2]|0;u=t;v=c[u>>2]|0;w=c[u+4>>2]|0;u=c[n>>2]|0;x=g+s|0;y=vd[c[(c[u>>2]|0)+16>>2]&31](u,t,p,x,j,h,q,k)|0;if((y|0)==3){z=14;break}else if((y|0)==2){o=-1;z=23;break}else if((y|0)!=1){A=s;break b}y=c[m>>2]|0;c[y>>2]=v;c[y+4>>2]=w;if((s|0)==8){o=-1;z=23;break}w=pb(c[r>>2]|0)|0;if((w|0)==-1){o=-1;z=23;break}a[x]=w;s=s+1|0}if((z|0)==14){a[h]=a[p]|0;A=s;break}else if((z|0)==23){i=f;return o|0}}else{a[h]=a[g|0]|0;A=l}}while(0);do{if(e){l=a[h]|0;c[b+48>>2]=l&255;B=l}else{l=b+32|0;k=A;while(1){if((k|0)<=0){z=21;break}j=k-1|0;if((uc(d[g+j|0]|0,c[l>>2]|0)|0)==-1){o=-1;z=23;break}else{k=j}}if((z|0)==21){B=a[h]|0;break}else if((z|0)==23){i=f;return o|0}}}while(0);o=B&255;i=f;return o|0}function hA(){Fz(0);rb(598,53864,t|0)|0;return}function iA(a){a=a|0;return}function jA(a){a=a|0;var b=0;b=a+4|0;K=c[b>>2]|0,c[b>>2]=K+1,K;return}function kA(a){a=a|0;var b=0,d=0;b=a+4|0;if(((K=c[b>>2]|0,c[b>>2]=K+ -1,K)|0)!=0){d=0;return d|0}ad[c[(c[a>>2]|0)+8>>2]&2047](a);d=1;return d|0}function lA(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;c[a>>2]=25600;d=a+4|0;if((d|0)==0){return}a=AK(b|0)|0;e=hK(a+13|0)|0;c[e+4>>2]=a;c[e>>2]=a;f=e+12|0;c[d>>2]=f;c[e+8>>2]=0;BK(f|0,b|0,a+1|0)|0;return}function mA(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=25600;b=a+4|0;d=(c[b>>2]|0)-4|0;do{if(((K=c[d>>2]|0,c[d>>2]=K+ -1,K)-1|0)<0){e=(c[b>>2]|0)-12|0;if((e|0)==0){break}jK(e)}}while(0);iK(a);return}function nA(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=25600;b=a+4|0;d=(c[b>>2]|0)-4|0;if(((K=c[d>>2]|0,c[d>>2]=K+ -1,K)-1|0)>=0){e=a|0;return}d=(c[b>>2]|0)-12|0;if((d|0)==0){e=a|0;return}jK(d);e=a|0;return}function oA(a){a=a|0;return c[a+4>>2]|0}function pA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;c[b>>2]=25504;e=b+4|0;if((e|0)==0){return}if((a[d]&1)==0){f=d+1|0}else{f=c[d+8>>2]|0}d=AK(f|0)|0;b=hK(d+13|0)|0;c[b+4>>2]=d;c[b>>2]=d;g=b+12|0;c[e>>2]=g;c[b+8>>2]=0;BK(g|0,f|0,d+1|0)|0;return}function qA(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;c[a>>2]=25504;d=a+4|0;if((d|0)==0){return}a=AK(b|0)|0;e=hK(a+13|0)|0;c[e+4>>2]=a;c[e>>2]=a;f=e+12|0;c[d>>2]=f;c[e+8>>2]=0;BK(f|0,b|0,a+1|0)|0;return}function rA(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=25504;b=a+4|0;d=(c[b>>2]|0)-4|0;do{if(((K=c[d>>2]|0,c[d>>2]=K+ -1,K)-1|0)<0){e=(c[b>>2]|0)-12|0;if((e|0)==0){break}jK(e)}}while(0);iK(a);return}function sA(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=25504;b=a+4|0;d=(c[b>>2]|0)-4|0;if(((K=c[d>>2]|0,c[d>>2]=K+ -1,K)-1|0)>=0){e=a|0;return}d=(c[b>>2]|0)-12|0;if((d|0)==0){e=a|0;return}jK(d);e=a|0;return}function tA(a){a=a|0;return c[a+4>>2]|0}function uA(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=25600;b=a+4|0;d=(c[b>>2]|0)-4|0;do{if(((K=c[d>>2]|0,c[d>>2]=K+ -1,K)-1|0)<0){e=(c[b>>2]|0)-12|0;if((e|0)==0){break}jK(e)}}while(0);iK(a);return}function vA(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=25600;b=a+4|0;d=(c[b>>2]|0)-4|0;do{if(((K=c[d>>2]|0,c[d>>2]=K+ -1,K)-1|0)<0){e=(c[b>>2]|0)-12|0;if((e|0)==0){break}jK(e)}}while(0);iK(a);return}function wA(a){a=a|0;return}function xA(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=d;c[a+4>>2]=b;return}function yA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+8|0;f=e|0;td[c[(c[a>>2]|0)+12>>2]&63](f,a,b);if((c[f+4>>2]|0)!=(c[d+4>>2]|0)){g=0;i=e;return g|0}g=(c[f>>2]|0)==(c[d>>2]|0);i=e;return g|0}function zA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if((c[b+4>>2]|0)!=(a|0)){e=0;return e|0}e=(c[b>>2]|0)==(d|0);return e|0}function AA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;d=oc(e|0)|0;e=AK(d|0)|0;if(e>>>0>4294967279>>>0){GA(0)}if(e>>>0<11>>>0){a[b]=e<<1;f=b+1|0;BK(f|0,d|0,e)|0;g=f+e|0;a[g]=0;return}else{h=e+16&-16;i=gK(h)|0;c[b+8>>2]=i;c[b>>2]=h|1;c[b+4>>2]=e;f=i;BK(f|0,d|0,e)|0;g=f+e|0;a[g]=0;return}}function BA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=i;i=i+16|0;g=f|0;h=d|0;j=c[h>>2]|0;k=e;do{if((j|0)!=0){l=a[k]|0;if((l&1)==0){m=(l&255)>>>1}else{m=c[e+4>>2]|0}if((m|0)==0){n=j}else{TA(e,15048,2)|0;n=c[h>>2]|0}l=c[d+4>>2]|0;td[c[(c[l>>2]|0)+24>>2]&63](g,l,n);l=g;o=a[l]|0;if((o&1)==0){p=(o&255)>>>1;q=g+1|0}else{p=c[g+4>>2]|0;q=c[g+8>>2]|0}TA(e,q,p)|0;if((a[l]&1)==0){break}iK(c[g+8>>2]|0)}}while(0);g=b;c[g>>2]=c[k>>2];c[g+4>>2]=c[k+4>>2];c[g+8>>2]=c[k+8>>2];DK(k|0,0,12)|0;i=f;return}function CA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;f=i;i=i+32|0;g=d;d=i;i=i+8|0;c[d>>2]=c[g>>2];c[d+4>>2]=c[g+4>>2];g=f|0;h=f+16|0;j=AK(e|0)|0;if(j>>>0>4294967279>>>0){GA(0)}if(j>>>0<11>>>0){a[h]=j<<1;k=h+1|0}else{l=j+16&-16;m=gK(l)|0;c[h+8>>2]=m;c[h>>2]=l|1;c[h+4>>2]=j;k=m}BK(k|0,e|0,j)|0;a[k+j|0]=0;BA(g,d,h);pA(b|0,g);if(!((a[g]&1)==0)){iK(c[g+8>>2]|0)}if(!((a[h]&1)==0)){iK(c[h+8>>2]|0)}c[b>>2]=27944;h=d;d=b+8|0;b=c[h+4>>2]|0;c[d>>2]=c[h>>2];c[d+4>>2]=b;i=f;return}function DA(a){a=a|0;sA(a|0);iK(a);return}function EA(a){a=a|0;sA(a|0);return}function FA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e;if((c[a>>2]|0)==1){do{gb(52864,52840)|0;}while((c[a>>2]|0)==1)}if((c[a>>2]|0)!=0){f;return}c[a>>2]=1;g;ad[d&2047](b);h;c[a>>2]=-1;i;gc(52864)|0;return}function GA(a){a=a|0;a=Nc(8)|0;lA(a,20104);c[a>>2]=25568;Vb(a|0,44024,118)}function HA(a){a=a|0;a=Nc(8)|0;lA(a,20104);c[a>>2]=25536;Vb(a|0,44008,26)}function IA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=d;if((a[e]&1)==0){f=b;c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];return}e=c[d+8>>2]|0;f=c[d+4>>2]|0;if(f>>>0>4294967279>>>0){GA(0)}if(f>>>0<11>>>0){a[b]=f<<1;g=b+1|0}else{d=f+16&-16;h=gK(d)|0;c[b+8>>2]=h;c[b>>2]=d|1;c[b+4>>2]=f;g=h}BK(g|0,e|0,f)|0;a[g+f|0]=0;return}function JA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;if(e>>>0>4294967279>>>0){GA(0)}if(e>>>0<11>>>0){a[b]=e<<1;f=b+1|0;BK(f|0,d|0,e)|0;g=f+e|0;a[g]=0;return}else{h=e+16&-16;i=gK(h)|0;c[b+8>>2]=i;c[b>>2]=h|1;c[b+4>>2]=e;f=i;BK(f|0,d|0,e)|0;g=f+e|0;a[g]=0;return}}function KA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if(d>>>0>4294967279>>>0){GA(0)}if(d>>>0<11>>>0){a[b]=d<<1;f=b+1|0}else{g=d+16&-16;h=gK(g)|0;c[b+8>>2]=h;c[b>>2]=g|1;c[b+4>>2]=d;f=h}DK(f|0,e|0,d|0)|0;a[f+d|0]=0;return}function LA(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;g=a[d]|0;h=(g&1)==0;if(h){i=(g&255)>>>1}else{i=c[d+4>>2]|0}if(i>>>0>>0){HA(0)}if(h){j=d+1|0}else{j=c[d+8>>2]|0}d=j+e|0;j=i-e|0;e=j>>>0>>0?j:f;if(e>>>0>4294967279>>>0){GA(0)}if(e>>>0<11>>>0){a[b]=e<<1;k=b+1|0;BK(k|0,d|0,e)|0;l=k+e|0;a[l]=0;return}else{f=e+16&-16;j=gK(f)|0;c[b+8>>2]=j;c[b>>2]=f|1;c[b+4>>2]=e;k=j;BK(k|0,d|0,e)|0;l=k+e|0;a[l]=0;return}}function MA(b){b=b|0;if((a[b]&1)==0){return}iK(c[b+8>>2]|0);return}function NA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if((b|0)==(d|0)){return b|0}e=a[d]|0;if((e&1)==0){f=(e&255)>>>1;g=d+1|0}else{f=c[d+4>>2]|0;g=c[d+8>>2]|0}d=b;e=a[d]|0;if((e&1)==0){h=10;i=e}else{e=c[b>>2]|0;h=(e&-2)-1|0;i=e&255}e=(i&1)==0;if(h>>>0>>0){if(e){j=(i&255)>>>1}else{j=c[b+4>>2]|0}UA(b,h,f-h|0,j,0,j,f,g);return b|0}if(e){k=b+1|0}else{k=c[b+8>>2]|0}CK(k|0,g|0,f|0)|0;a[k+f|0]=0;if((a[d]&1)==0){a[d]=f<<1;return b|0}else{c[b+4>>2]=f;return b|0}return 0}function OA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=AK(d|0)|0;f=b;g=a[f]|0;if((g&1)==0){h=10;i=g}else{g=c[b>>2]|0;h=(g&-2)-1|0;i=g&255}g=(i&1)==0;if(h>>>0>>0){if(g){j=(i&255)>>>1}else{j=c[b+4>>2]|0}UA(b,h,e-h|0,j,0,j,e,d);return b|0}if(g){k=b+1|0}else{k=c[b+8>>2]|0}CK(k|0,d|0,e|0)|0;a[k+e|0]=0;if((a[f]&1)==0){a[f]=e<<1;return b|0}else{c[b+4>>2]=e;return b|0}return 0}function PA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=b;g=a[f]|0;h=(g&1)==0;if(h){i=(g&255)>>>1}else{i=c[b+4>>2]|0}if(i>>>0>>0){QA(b,d-i|0,e)|0;return}if(h){a[b+1+d|0]=0;a[f]=d<<1;return}else{a[(c[b+8>>2]|0)+d|0]=0;c[b+4>>2]=d;return}}function QA(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;if((d|0)==0){return b|0}f=b;g=a[f]|0;if((g&1)==0){h=10;i=g}else{g=c[b>>2]|0;h=(g&-2)-1|0;i=g&255}if((i&1)==0){j=(i&255)>>>1}else{j=c[b+4>>2]|0}if((h-j|0)>>>0>>0){VA(b,h,d-h+j|0,j,j,0,0);k=a[f]|0}else{k=i}if((k&1)==0){l=b+1|0}else{l=c[b+8>>2]|0}DK(l+j|0,e|0,d|0)|0;e=j+d|0;if((a[f]&1)==0){a[f]=e<<1}else{c[b+4>>2]=e}a[l+e|0]=0;return b|0}function RA(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;if(d>>>0>4294967279>>>0){GA(0)}e=b;f=a[e]|0;if((f&1)==0){g=10;h=f}else{f=c[b>>2]|0;g=(f&-2)-1|0;h=f&255}if((h&1)==0){i=(h&255)>>>1}else{i=c[b+4>>2]|0}f=i>>>0>d>>>0?i:d;if(f>>>0<11>>>0){j=10}else{j=(f+16&-16)-1|0}if((j|0)==(g|0)){return}do{if((j|0)==10){k=b+1|0;l=c[b+8>>2]|0;m=1;n=0}else{f=j+1|0;if(j>>>0>g>>>0){o=gK(f)|0}else{o=gK(f)|0}if((h&1)==0){k=o;l=b+1|0;m=0;n=1;break}else{k=o;l=c[b+8>>2]|0;m=1;n=1;break}}}while(0);if((h&1)==0){p=(h&255)>>>1}else{p=c[b+4>>2]|0}BK(k|0,l|0,p+1|0)|0;if(m){iK(l)}if(n){c[b>>2]=j+1|1;c[b+4>>2]=i;c[b+8>>2]=k;return}else{a[e]=i<<1;return}}function SA(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;e=b;f=a[e]|0;g=(f&1)!=0;if(g){h=c[b+4>>2]|0;i=(c[b>>2]&-2)-1|0}else{h=(f&255)>>>1;i=10}if((h|0)==(i|0)){VA(b,i,1,i,i,0,0);if((a[e]&1)==0){j=7}else{j=8}}else{if(g){j=8}else{j=7}}if((j|0)==7){a[e]=(h<<1)+2;k=b+1|0;l=h+1|0;m=k+h|0;a[m]=d;n=k+l|0;a[n]=0;return}else if((j|0)==8){j=c[b+8>>2]|0;e=h+1|0;c[b+4>>2]=e;k=j;l=e;m=k+h|0;a[m]=d;n=k+l|0;a[n]=0;return}}function TA(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=b;g=a[f]|0;if((g&1)==0){h=10;i=g}else{g=c[b>>2]|0;h=(g&-2)-1|0;i=g&255}if((i&1)==0){j=(i&255)>>>1}else{j=c[b+4>>2]|0}if((h-j|0)>>>0>>0){UA(b,h,e-h+j|0,j,j,0,e,d);return b|0}if((e|0)==0){return b|0}if((i&1)==0){k=b+1|0}else{k=c[b+8>>2]|0}BK(k+j|0,d|0,e)|0;d=j+e|0;if((a[f]&1)==0){a[f]=d<<1}else{c[b+4>>2]=d}a[k+d|0]=0;return b|0}function UA(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if((-18-d|0)>>>0>>0){GA(0)}if((a[b]&1)==0){k=b+1|0}else{k=c[b+8>>2]|0}do{if(d>>>0<2147483623>>>0){l=e+d|0;m=d<<1;n=l>>>0>>0?m:l;if(n>>>0<11>>>0){o=11;break}o=n+16&-16}else{o=-17}}while(0);e=gK(o)|0;if((g|0)!=0){BK(e|0,k|0,g)|0}if((i|0)!=0){BK(e+g|0,j|0,i)|0}j=f-h|0;if((j|0)!=(g|0)){BK(e+(i+g)|0,k+(h+g)|0,j-g|0)|0}if((d|0)==10){p=b+8|0;c[p>>2]=e;q=o|1;r=b|0;c[r>>2]=q;s=j+i|0;t=b+4|0;c[t>>2]=s;u=e+s|0;a[u]=0;return}iK(k);p=b+8|0;c[p>>2]=e;q=o|1;r=b|0;c[r>>2]=q;s=j+i|0;t=b+4|0;c[t>>2]=s;u=e+s|0;a[u]=0;return}function VA(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;if((-17-d|0)>>>0>>0){GA(0)}if((a[b]&1)==0){j=b+1|0}else{j=c[b+8>>2]|0}do{if(d>>>0<2147483623>>>0){k=e+d|0;l=d<<1;m=k>>>0>>0?l:k;if(m>>>0<11>>>0){n=11;break}n=m+16&-16}else{n=-17}}while(0);e=gK(n)|0;if((g|0)!=0){BK(e|0,j|0,g)|0}m=f-h|0;if((m|0)!=(g|0)){BK(e+(i+g)|0,j+(h+g)|0,m-g|0)|0}if((d|0)==10){o=b+8|0;c[o>>2]=e;p=n|1;q=b|0;c[q>>2]=p;return}iK(j);o=b+8|0;c[o>>2]=e;p=n|1;q=b|0;c[q>>2]=p;return}function WA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if(e>>>0>1073741807>>>0){GA(0)}if(e>>>0<2>>>0){a[b]=e<<1;f=b+4|0;g=zJ(f,d,e)|0;h=f+(e<<2)|0;c[h>>2]=0;return}else{i=e+4&-4;j=gK(i<<2)|0;c[b+8>>2]=j;c[b>>2]=i|1;c[b+4>>2]=e;f=j;g=zJ(f,d,e)|0;h=f+(e<<2)|0;c[h>>2]=0;return}}function XA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if(d>>>0>1073741807>>>0){GA(0)}if(d>>>0<2>>>0){a[b]=d<<1;f=b+4|0;g=BJ(f,e,d)|0;h=f+(d<<2)|0;c[h>>2]=0;return}else{i=d+4&-4;j=gK(i<<2)|0;c[b+8>>2]=j;c[b>>2]=i|1;c[b+4>>2]=d;f=j;g=BJ(f,e,d)|0;h=f+(d<<2)|0;c[h>>2]=0;return}}function YA(b){b=b|0;if((a[b]&1)==0){return}iK(c[b+8>>2]|0);return}function ZA(a,b){a=a|0;b=b|0;return _A(a,b,yJ(b)|0)|0}function _A(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=b;g=a[f]|0;if((g&1)==0){h=1;i=g}else{g=c[b>>2]|0;h=(g&-2)-1|0;i=g&255}g=(i&1)==0;if(h>>>0>>0){if(g){j=(i&255)>>>1}else{j=c[b+4>>2]|0}cB(b,h,e-h|0,j,0,j,e,d);return b|0}if(g){k=b+4|0}else{k=c[b+8>>2]|0}AJ(k,d,e)|0;c[k+(e<<2)>>2]=0;if((a[f]&1)==0){a[f]=e<<1;return b|0}else{c[b+4>>2]=e;return b|0}return 0}function $A(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;if((d|0)==0){return b|0}f=b;g=a[f]|0;if((g&1)==0){h=1;i=g}else{g=c[b>>2]|0;h=(g&-2)-1|0;i=g&255}if((i&1)==0){j=(i&255)>>>1}else{j=c[b+4>>2]|0}if((h-j|0)>>>0>>0){dB(b,h,d-h+j|0,j,j,0,0);k=a[f]|0}else{k=i}if((k&1)==0){l=b+4|0}else{l=c[b+8>>2]|0}BJ(l+(j<<2)|0,e,d)|0;e=j+d|0;if((a[f]&1)==0){a[f]=e<<1}else{c[b+4>>2]=e}c[l+(e<<2)>>2]=0;return b|0}function aB(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;if(d>>>0>1073741807>>>0){GA(0)}e=b;f=a[e]|0;if((f&1)==0){g=1;h=f}else{f=c[b>>2]|0;g=(f&-2)-1|0;h=f&255}if((h&1)==0){i=(h&255)>>>1}else{i=c[b+4>>2]|0}f=i>>>0>d>>>0?i:d;if(f>>>0<2>>>0){j=1}else{j=(f+4&-4)-1|0}if((j|0)==(g|0)){return}do{if((j|0)==1){k=b+4|0;l=c[b+8>>2]|0;m=1;n=0}else{f=(j<<2)+4|0;if(j>>>0>g>>>0){o=gK(f)|0}else{o=gK(f)|0}f=o;if((h&1)==0){k=f;l=b+4|0;m=0;n=1;break}else{k=f;l=c[b+8>>2]|0;m=1;n=1;break}}}while(0);if((h&1)==0){p=(h&255)>>>1}else{p=c[b+4>>2]|0}zJ(k,l,p+1|0)|0;if(m){iK(l)}if(n){c[b>>2]=j+1|1;c[b+4>>2]=i;c[b+8>>2]=k;return}else{a[e]=i<<1;return}}function bB(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;e=b;f=a[e]|0;g=(f&1)!=0;if(g){h=c[b+4>>2]|0;i=(c[b>>2]&-2)-1|0}else{h=(f&255)>>>1;i=1}if((h|0)==(i|0)){dB(b,i,1,i,i,0,0);if((a[e]&1)==0){j=7}else{j=8}}else{if(g){j=8}else{j=7}}if((j|0)==7){a[e]=(h<<1)+2;k=b+4|0;l=h+1|0;m=k+(h<<2)|0;c[m>>2]=d;n=k+(l<<2)|0;c[n>>2]=0;return}else if((j|0)==8){j=c[b+8>>2]|0;e=h+1|0;c[b+4>>2]=e;k=j;l=e;m=k+(h<<2)|0;c[m>>2]=d;n=k+(l<<2)|0;c[n>>2]=0;return}}function cB(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if((1073741806-d|0)>>>0>>0){GA(0)}if((a[b]&1)==0){k=b+4|0}else{k=c[b+8>>2]|0}do{if(d>>>0<536870887>>>0){l=e+d|0;m=d<<1;n=l>>>0>>0?m:l;if(n>>>0<2>>>0){o=2;break}o=n+4&-4}else{o=1073741807}}while(0);e=gK(o<<2)|0;if((g|0)!=0){zJ(e,k,g)|0}if((i|0)!=0){zJ(e+(g<<2)|0,j,i)|0}j=f-h|0;if((j|0)!=(g|0)){zJ(e+(i+g<<2)|0,k+(h+g<<2)|0,j-g|0)|0}if((d|0)==1){p=b+8|0;c[p>>2]=e;q=o|1;r=b|0;c[r>>2]=q;s=j+i|0;t=b+4|0;c[t>>2]=s;u=e+(s<<2)|0;c[u>>2]=0;return}iK(k);p=b+8|0;c[p>>2]=e;q=o|1;r=b|0;c[r>>2]=q;s=j+i|0;t=b+4|0;c[t>>2]=s;u=e+(s<<2)|0;c[u>>2]=0;return}function dB(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;if((1073741807-d|0)>>>0>>0){GA(0)}if((a[b]&1)==0){j=b+4|0}else{j=c[b+8>>2]|0}do{if(d>>>0<536870887>>>0){k=e+d|0;l=d<<1;m=k>>>0>>0?l:k;if(m>>>0<2>>>0){n=2;break}n=m+4&-4}else{n=1073741807}}while(0);e=gK(n<<2)|0;if((g|0)!=0){zJ(e,j,g)|0}m=f-h|0;if((m|0)!=(g|0)){zJ(e+(i+g<<2)|0,j+(h+g<<2)|0,m-g|0)|0}if((d|0)==1){o=b+8|0;c[o>>2]=e;p=n|1;q=b|0;c[q>>2]=p;return}iK(j);o=b+8|0;c[o>>2]=e;p=n|1;q=b|0;c[q>>2]=p;return}function eB(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+8|0;f=e|0;g=(c[b+24>>2]|0)==0;if(g){c[b+16>>2]=d|1}else{c[b+16>>2]=d}if(((g&1|d)&c[b+20>>2]|0)==0){i=e;return}e=Nc(16)|0;do{if((a[69608]|0)==0){if((Hb(69608)|0)==0){break}c[12916]=27184;rb(626,51664,t|0)|0}}while(0);b=KK(51664,0,32)|0;c[f>>2]=b&0|1;c[f+4>>2]=M|0;CA(e,f,16576);c[e>>2]=26272;Vb(e|0,44584,104)}function fB(a){a=a|0;var b=0,d=0,e=0,f=0;c[a>>2]=26248;b=c[a+40>>2]|0;d=a+32|0;e=a+36|0;if((b|0)!=0){f=b;do{f=f-1|0;td[c[(c[d>>2]|0)+(f<<2)>>2]&63](0,a,c[(c[e>>2]|0)+(f<<2)>>2]|0);}while((f|0)!=0)}BG(a+28|0);bK(c[d>>2]|0);bK(c[e>>2]|0);bK(c[a+48>>2]|0);bK(c[a+60>>2]|0);return}function gB(a){a=a|0;fB(a|0);iK(a);return}function hB(a){a=a|0;fB(a|0);return}function iB(a,b){a=a|0;b=b|0;AG(a,b+28|0);return}function jB(a,b){a=a|0;b=b|0;c[a+24>>2]=b;c[a+16>>2]=(b|0)==0;c[a+20>>2]=0;c[a+4>>2]=4098;c[a+12>>2]=0;c[a+8>>2]=6;b=a+28|0;DK(a+32|0,0,40)|0;if((b|0)==0){return}zG(b);return}function kB(a){a=a|0;c[a>>2]=27560;BG(a+4|0);iK(a);return}function lB(a){a=a|0;c[a>>2]=27560;BG(a+4|0);return}function mB(a,b){a=a|0;b=b|0;return}function nB(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function oB(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;g=a;c[g>>2]=0;c[g+4>>2]=0;g=a+8|0;c[g>>2]=-1;c[g+4>>2]=-1;return}function pB(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=i;b=d;d=i;i=i+16|0;c[d>>2]=c[b>>2];c[d+4>>2]=c[b+4>>2];c[d+8>>2]=c[b+8>>2];c[d+12>>2]=c[b+12>>2];b=a;c[b>>2]=0;c[b+4>>2]=0;b=a+8|0;c[b>>2]=-1;c[b+4>>2]=-1;i=e;return}function qB(a){a=a|0;return 0}function rB(a){a=a|0;return 0}function sB(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=b;if((e|0)<=0){g=0;return g|0}h=b+12|0;i=b+16|0;j=d;d=0;while(1){k=c[h>>2]|0;if(k>>>0<(c[i>>2]|0)>>>0){c[h>>2]=k+1;l=a[k]|0}else{k=dd[c[(c[f>>2]|0)+40>>2]&255](b)|0;if((k|0)==-1){g=d;m=8;break}l=k&255}a[j]=l;k=d+1|0;if((k|0)<(e|0)){j=j+1|0;d=k}else{g=k;m=8;break}}if((m|0)==8){return g|0}return 0}function tB(a){a=a|0;return-1|0}function uB(a){a=a|0;var b=0,e=0;if((dd[c[(c[a>>2]|0)+36>>2]&255](a)|0)==-1){b=-1;return b|0}e=a+12|0;a=c[e>>2]|0;c[e>>2]=a+1;b=d[a]|0;return b|0}function vB(a,b){a=a|0;b=b|0;return-1|0}function wB(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;g=b;if((f|0)<=0){h=0;return h|0}i=b+24|0;j=b+28|0;k=0;l=e;while(1){e=c[i>>2]|0;if(e>>>0<(c[j>>2]|0)>>>0){m=a[l]|0;c[i>>2]=e+1;a[e]=m}else{if((qd[c[(c[g>>2]|0)+52>>2]&255](b,d[l]|0)|0)==-1){h=k;n=7;break}}m=k+1|0;if((m|0)<(f|0)){k=m;l=l+1|0}else{h=m;n=7;break}}if((n|0)==7){return h|0}return 0}function xB(a,b){a=a|0;b=b|0;return-1|0}function yB(a){a=a|0;c[a>>2]=27488;BG(a+4|0);iK(a);return}function zB(a){a=a|0;c[a>>2]=27488;BG(a+4|0);return}function AB(a,b){a=a|0;b=b|0;return}function BB(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function CB(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;g=a;c[g>>2]=0;c[g+4>>2]=0;g=a+8|0;c[g>>2]=-1;c[g+4>>2]=-1;return}function DB(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=i;b=d;d=i;i=i+16|0;c[d>>2]=c[b>>2];c[d+4>>2]=c[b+4>>2];c[d+8>>2]=c[b+8>>2];c[d+12>>2]=c[b+12>>2];b=a;c[b>>2]=0;c[b+4>>2]=0;b=a+8|0;c[b>>2]=-1;c[b+4>>2]=-1;i=e;return}function EB(a){a=a|0;return 0}function FB(a){a=a|0;return 0}function GB(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;e=a;if((d|0)<=0){f=0;return f|0}g=a+12|0;h=a+16|0;i=b;b=0;while(1){j=c[g>>2]|0;if(j>>>0<(c[h>>2]|0)>>>0){c[g>>2]=j+4;k=c[j>>2]|0}else{j=dd[c[(c[e>>2]|0)+40>>2]&255](a)|0;if((j|0)==-1){f=b;l=7;break}else{k=j}}c[i>>2]=k;j=b+1|0;if((j|0)<(d|0)){i=i+4|0;b=j}else{f=j;l=7;break}}if((l|0)==7){return f|0}return 0}function HB(a){a=a|0;return-1|0}function IB(a){a=a|0;var b=0,d=0;if((dd[c[(c[a>>2]|0)+36>>2]&255](a)|0)==-1){b=-1;return b|0}d=a+12|0;a=c[d>>2]|0;c[d>>2]=a+4;b=c[a>>2]|0;return b|0}function JB(a,b){a=a|0;b=b|0;return-1|0}function KB(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;e=a;if((d|0)<=0){f=0;return f|0}g=a+24|0;h=a+28|0;i=0;j=b;while(1){b=c[g>>2]|0;if(b>>>0<(c[h>>2]|0)>>>0){k=c[j>>2]|0;c[g>>2]=b+4;c[b>>2]=k}else{if((qd[c[(c[e>>2]|0)+52>>2]&255](a,c[j>>2]|0)|0)==-1){f=i;l=8;break}}k=i+1|0;if((k|0)>=(d|0)){f=k;l=8;break}i=k;j=j+4|0}if((l|0)==8){return f|0}return 0}function LB(a,b){a=a|0;b=b|0;return-1|0}function MB(a){a=a|0;fB(a+8|0);iK(a);return}function NB(a){a=a|0;fB(a+8|0);return}function OB(a){a=a|0;var b=0,d=0;b=a;d=c[(c[a>>2]|0)-12>>2]|0;fB(b+(d+8)|0);iK(b+d|0);return}function PB(a){a=a|0;fB(a+((c[(c[a>>2]|0)-12>>2]|0)+8)|0);return}function QB(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;g=i;i=i+8|0;h=g|0;j=d|0;a[j]=0;d=e;k=c[(c[d>>2]|0)-12>>2]|0;l=e;e=c[l+(k+16)>>2]|0;if((e|0)!=0){eB(l+k|0,e|4);i=g;return}e=c[l+(k+72)>>2]|0;if((e|0)!=0){RB(e)|0}do{if(!f){e=c[(c[d>>2]|0)-12>>2]|0;if((c[l+(e+4)>>2]&4096|0)==0){break}AG(h,l+(e+28)|0);e=DG(h,53416)|0;BG(h);k=e+8|0;e=c[l+((c[(c[d>>2]|0)-12>>2]|0)+24)>>2]|0;while(1){if((e|0)==0){break}if((c[e+12>>2]|0)==(c[e+16>>2]|0)){m=(dd[c[(c[e>>2]|0)+36>>2]&255](e)|0)==-1;n=m?0:e;if((n|0)==0){break}else{o=n}}else{o=e}p=o+12|0;n=c[p>>2]|0;q=o+16|0;if((n|0)==(c[q>>2]|0)){r=(dd[c[(c[o>>2]|0)+36>>2]&255](o)|0)&255}else{r=a[n]|0}if(r<<24>>24<0){s=20;break}if((b[(c[k>>2]|0)+(r<<24>>24<<1)>>1]&8192)==0){s=20;break}n=c[p>>2]|0;if((n|0)==(c[q>>2]|0)){dd[c[(c[o>>2]|0)+40>>2]&255](o)|0;e=o;continue}else{c[p>>2]=n+1;e=o;continue}}if((s|0)==20){if((c[p>>2]|0)==(c[q>>2]|0)){e=(dd[c[(c[o>>2]|0)+36>>2]&255](o)|0)==-1;t=e?0:o}else{t=o}if((t|0)!=0){break}}e=c[(c[d>>2]|0)-12>>2]|0;eB(l+e|0,c[l+(e+16)>>2]|6)}}while(0);a[j]=(c[l+((c[(c[d>>2]|0)-12>>2]|0)+16)>>2]|0)==0|0;i=g;return}function RB(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;d=i;i=i+8|0;e=d|0;f=b;g=c[(c[f>>2]|0)-12>>2]|0;h=b;if((c[h+(g+24)>>2]|0)==0){i=d;return b|0}j=e|0;a[j]=0;c[e+4>>2]=b;do{if((c[h+(g+16)>>2]|0)==0){k=c[h+(g+72)>>2]|0;if((k|0)==0){l=g}else{RB(k)|0;l=c[(c[f>>2]|0)-12>>2]|0}a[j]=1;k=c[h+(l+24)>>2]|0;if(!((dd[c[(c[k>>2]|0)+24>>2]&255](k)|0)==-1)){break}k=c[(c[f>>2]|0)-12>>2]|0;eB(h+k|0,c[h+(k+16)>>2]|1)}}while(0);hC(e);i=d;return b|0}function SB(a){a=a|0;var b=0;b=a+16|0;c[b>>2]=c[b>>2]|1;if((c[a+20>>2]&1|0)==0){return}else{hb()}}function TB(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=i;i=i+56|0;f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=e+32|0;l=e+40|0;QB(h,b,0);if((a[h|0]|0)==0){i=e;return b|0}c[j>>2]=0;h=b;m=b;AG(l,m+((c[(c[h>>2]|0)-12>>2]|0)+28)|0);n=DG(l,53080)|0;o=c[(c[h>>2]|0)-12>>2]|0;p=c[(c[n>>2]|0)+16>>2]|0;c[f>>2]=c[m+(o+24)>>2];c[g>>2]=0;nd[p&127](e+48|0,n,f,g,m+o|0,j,k);BG(l);c[d>>2]=c[k>>2];k=c[(c[h>>2]|0)-12>>2]|0;eB(m+k|0,c[m+(k+16)>>2]|c[j>>2]);i=e;return b|0}function UB(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;e=i;i=i+48|0;f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=e+32|0;QB(h,b,0);if((a[h|0]|0)==0){i=e;return b|0}c[j>>2]=0;h=b;l=b;AG(k,l+((c[(c[h>>2]|0)-12>>2]|0)+28)|0);m=DG(k,53080)|0;n=c[(c[h>>2]|0)-12>>2]|0;o=c[(c[m>>2]|0)+48>>2]|0;c[f>>2]=c[l+(n+24)>>2];c[g>>2]=0;nd[o&127](e+40|0,m,f,g,l+n|0,j,d);BG(k);k=c[(c[h>>2]|0)-12>>2]|0;eB(l+k|0,c[l+(k+16)>>2]|c[j>>2]);i=e;return b|0}function VB(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=a+4|0;c[b>>2]=0;e=a;f=c[(c[e>>2]|0)-12>>2]|0;g=a;a=c[g+(f+16)>>2]|0;if((a|0)!=0){eB(g+f|0,a|4);h=-1;return h|0}a=c[g+(f+72)>>2]|0;if((a|0)==0){i=f}else{RB(a)|0;i=c[(c[e>>2]|0)-12>>2]|0}if((c[g+(i+16)>>2]|0)!=0){h=-1;return h|0}a=c[g+(i+24)>>2]|0;i=a+12|0;f=c[i>>2]|0;do{if((f|0)==(c[a+16>>2]|0)){j=dd[c[(c[a>>2]|0)+40>>2]&255](a)|0;if(!((j|0)==-1)){k=j;break}j=c[(c[e>>2]|0)-12>>2]|0;eB(g+j|0,c[g+(j+16)>>2]|6);h=-1;return h|0}else{c[i>>2]=f+1;k=d[f]|0}}while(0);c[b>>2]=1;h=k;return h|0}function WB(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;g=b+4|0;c[g>>2]=0;h=b;i=c[(c[h>>2]|0)-12>>2]|0;j=b;k=c[j+(i+16)>>2]|0;if((k|0)!=0){eB(j+i|0,k|4);return b|0}k=c[j+(i+72)>>2]|0;if((k|0)==0){l=i}else{RB(k)|0;l=c[(c[h>>2]|0)-12>>2]|0}if((c[j+(l+16)>>2]|0)!=0){return b|0}k=e-1|0;i=d;d=l;while(1){l=c[j+(d+24)>>2]|0;m=c[l+12>>2]|0;if((m|0)==(c[l+16>>2]|0)){n=dd[c[(c[l>>2]|0)+36>>2]&255](l)|0;if((n|0)==-1){o=2;break}else{p=n&255}}else{p=a[m]|0}if(p<<24>>24==f<<24>>24){q=20;break}if((c[g>>2]|0)>=(k|0)){o=4;break}a[i]=p;m=c[h>>2]|0;n=c[j+((c[m-12>>2]|0)+24)>>2]|0;l=n+12|0;r=c[l>>2]|0;if((r|0)==(c[n+16>>2]|0)){dd[c[(c[n>>2]|0)+40>>2]&255](n)|0;s=c[h>>2]|0}else{c[l>>2]=r+1;s=m}c[g>>2]=(c[g>>2]|0)+1;i=i+1|0;d=c[s-12>>2]|0}if((q|0)==20){q=c[j+((c[(c[h>>2]|0)-12>>2]|0)+24)>>2]|0;s=q+12|0;d=c[s>>2]|0;if((d|0)==(c[q+16>>2]|0)){dd[c[(c[q>>2]|0)+40>>2]&255](q)|0}else{c[s>>2]=d+1}c[g>>2]=(c[g>>2]|0)+1;o=0}if((e|0)>0){a[i]=0}i=c[(c[h>>2]|0)-12>>2]|0;eB(j+i|0,c[j+(i+16)>>2]|((c[g>>2]|0)==0?o|4:o));return b|0}function XB(a){a=a|0;var b=0,e=0,f=0,g=0,h=0;c[a+4>>2]=0;b=a;e=c[(c[b>>2]|0)-12>>2]|0;f=a;a=c[f+(e+16)>>2]|0;if((a|0)!=0){eB(f+e|0,a|4);g=-1;return g|0}a=c[f+(e+72)>>2]|0;if((a|0)==0){h=e}else{RB(a)|0;h=c[(c[b>>2]|0)-12>>2]|0}if((c[f+(h+16)>>2]|0)!=0){g=-1;return g|0}a=c[f+(h+24)>>2]|0;h=c[a+12>>2]|0;if((h|0)!=(c[a+16>>2]|0)){g=d[h]|0;return g|0}h=dd[c[(c[a>>2]|0)+36>>2]&255](a)|0;if(!((h|0)==-1)){g=h;return g|0}h=c[(c[b>>2]|0)-12>>2]|0;eB(f+h|0,c[f+(h+16)>>2]|2);g=-1;return g|0}function YB(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;c[b+4>>2]=0;e=b;f=c[(c[e>>2]|0)-12>>2]|0;g=b;eB(g+f|0,c[g+(f+16)>>2]&-3);f=c[(c[e>>2]|0)-12>>2]|0;h=c[g+(f+16)>>2]|0;do{if((h|0)==0){i=c[g+(f+72)>>2]|0;if((i|0)==0){j=f}else{RB(i)|0;j=c[(c[e>>2]|0)-12>>2]|0}if((c[g+(j+16)>>2]|0)!=0){k=j;break}i=c[g+(j+24)>>2]|0;l=i;do{if((i|0)==0){m=j}else{n=i+12|0;o=c[n>>2]|0;do{if((c[i+8>>2]|0)!=(o|0)){p=o-1|0;if(!((a[p]|0)==d<<24>>24)){break}c[n>>2]=p;return b|0}}while(0);if((qd[c[(c[i>>2]|0)+44>>2]&255](l,d&255)|0)==-1){m=c[(c[e>>2]|0)-12>>2]|0;break}else{return b|0}}}while(0);eB(g+m|0,c[g+(m+16)>>2]|1);return b|0}else{eB(g+f|0,h|4);k=c[(c[e>>2]|0)-12>>2]|0}}while(0);eB(g+k|0,c[g+(k+16)>>2]|4);return b|0}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;c[a+4>>2]=0;b=a;d=c[(c[b>>2]|0)-12>>2]|0;e=a;eB(e+d|0,c[e+(d+16)>>2]&-3);d=c[(c[b>>2]|0)-12>>2]|0;f=c[e+(d+16)>>2]|0;do{if((f|0)==0){g=c[e+(d+72)>>2]|0;if((g|0)==0){h=d}else{RB(g)|0;h=c[(c[b>>2]|0)-12>>2]|0}if((c[e+(h+16)>>2]|0)!=0){i=h;break}g=c[e+(h+24)>>2]|0;j=g;do{if((g|0)==0){k=h}else{l=g+12|0;m=c[l>>2]|0;if((c[g+8>>2]|0)!=(m|0)){c[l>>2]=m-1;return a|0}if((qd[c[(c[g>>2]|0)+44>>2]&255](j,-1)|0)==-1){k=c[(c[b>>2]|0)-12>>2]|0;break}else{return a|0}}}while(0);eB(e+k|0,c[e+(k+16)>>2]|1);return a|0}else{eB(e+d|0,f|4);i=c[(c[b>>2]|0)-12>>2]|0}}while(0);eB(e+i|0,c[e+(i+16)>>2]|4);return a|0}function _B(a){a=a|0;fB(a+8|0);iK(a);return}function $B(a){a=a|0;fB(a+8|0);return}function aC(a){a=a|0;var b=0,d=0;b=a;d=c[(c[a>>2]|0)-12>>2]|0;fB(b+(d+8)|0);iK(b+d|0);return}function bC(a){a=a|0;fB(a+((c[(c[a>>2]|0)-12>>2]|0)+8)|0);return}function cC(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;d=i;i=i+8|0;e=d|0;f=b;g=c[(c[f>>2]|0)-12>>2]|0;h=b;if((c[h+(g+24)>>2]|0)==0){i=d;return b|0}j=e|0;a[j]=0;c[e+4>>2]=b;do{if((c[h+(g+16)>>2]|0)==0){k=c[h+(g+72)>>2]|0;if((k|0)==0){l=g}else{cC(k)|0;l=c[(c[f>>2]|0)-12>>2]|0}a[j]=1;k=c[h+(l+24)>>2]|0;if(!((dd[c[(c[k>>2]|0)+24>>2]&255](k)|0)==-1)){break}k=c[(c[f>>2]|0)-12>>2]|0;eB(h+k|0,c[h+(k+16)>>2]|1)}}while(0);oC(e);i=d;return b|0}function dC(a){a=a|0;fB(a+4|0);iK(a);return}function eC(a){a=a|0;fB(a+4|0);return}function fC(a){a=a|0;var b=0,d=0;b=a;d=c[(c[a>>2]|0)-12>>2]|0;fB(b+(d+4)|0);iK(b+d|0);return}function gC(a){a=a|0;fB(a+((c[(c[a>>2]|0)-12>>2]|0)+4)|0);return}function hC(a){a=a|0;var b=0,d=0,e=0;b=a+4|0;a=c[b>>2]|0;d=c[(c[a>>2]|0)-12>>2]|0;e=a;if((c[e+(d+24)>>2]|0)==0){return}if((c[e+(d+16)>>2]|0)!=0){return}if((c[e+(d+4)>>2]&8192|0)==0){return}if(Nb()|0){return}d=c[b>>2]|0;e=c[d+((c[(c[d>>2]|0)-12>>2]|0)+24)>>2]|0;if(!((dd[c[(c[e>>2]|0)+24>>2]&255](e)|0)==-1)){return}e=c[b>>2]|0;b=c[(c[e>>2]|0)-12>>2]|0;d=e;eB(d+b|0,c[d+(b+16)>>2]|1);return}function iC(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;e=i;i=i+40|0;f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=e+32|0;l=h|0;a[l]=0;c[h+4>>2]=b;m=b;n=c[(c[m>>2]|0)-12>>2]|0;o=b;do{if((c[o+(n+16)>>2]|0)==0){p=c[o+(n+72)>>2]|0;if((p|0)==0){q=n}else{RB(p)|0;q=c[(c[m>>2]|0)-12>>2]|0}a[l]=1;AG(j,o+(q+28)|0);p=DG(j,53064)|0;BG(j);r=c[(c[m>>2]|0)-12>>2]|0;s=c[o+(r+24)>>2]|0;t=o+(r+76)|0;u=c[t>>2]|0;if((u|0)==-1){AG(g,o+(r+28)|0);v=DG(g,53416)|0;w=qd[c[(c[v>>2]|0)+28>>2]&255](v,32)|0;BG(g);c[t>>2]=w<<24>>24;x=w}else{x=u&255}u=c[(c[p>>2]|0)+16>>2]|0;c[f>>2]=s;jd[u&63](k,p,f,o+r|0,x,d);if((c[k>>2]|0)!=0){break}r=c[(c[m>>2]|0)-12>>2]|0;eB(o+r|0,c[o+(r+16)>>2]|5)}}while(0);hC(h);i=e;return b|0}function jC(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;e=i;i=i+8|0;f=e|0;g=f|0;a[g]=0;c[f+4>>2]=b;h=b;j=c[(c[h>>2]|0)-12>>2]|0;k=b;a:do{if((c[k+(j+16)>>2]|0)==0){l=c[k+(j+72)>>2]|0;if((l|0)==0){m=j}else{RB(l)|0;m=c[(c[h>>2]|0)-12>>2]|0}a[g]=1;if((d|0)==0){eB(k+m|0,c[k+(m+16)>>2]|1);break}l=c[k+(m+24)>>2]|0;n=l;o=l+24|0;p=l+28|0;q=l;do{if((l|0)==0){if((c[d+12>>2]|0)==(c[d+16>>2]|0)){r=(dd[c[(c[d>>2]|0)+36>>2]&255](d)|0)==-1;s=r?0:d;if((s|0)==0){break}else{t=s}}else{t=d}if((c[t+12>>2]|0)!=(c[t+16>>2]|0)){break}dd[c[(c[t>>2]|0)+36>>2]&255](t)|0}else{s=0;r=d;while(1){if((r|0)==0){break}if((c[r+12>>2]|0)==(c[r+16>>2]|0)){u=(dd[c[(c[r>>2]|0)+36>>2]&255](r)|0)==-1;v=u?0:r;if((v|0)==0){break}else{w=v}}else{w=r}v=w+12|0;u=c[v>>2]|0;x=w+16|0;if((u|0)==(c[x>>2]|0)){y=(dd[c[(c[w>>2]|0)+36>>2]&255](w)|0)&255}else{y=a[u]|0}u=c[o>>2]|0;if((u|0)==(c[p>>2]|0)){if((qd[c[(c[q>>2]|0)+52>>2]&255](n,y&255)|0)==-1){break}}else{c[o>>2]=u+1;a[u]=y}u=c[v>>2]|0;if((u|0)==(c[x>>2]|0)){dd[c[(c[w>>2]|0)+40>>2]&255](w)|0}else{c[v>>2]=u+1}s=s+1|0;r=w}if((s|0)!=0){break a}}}while(0);o=c[(c[h>>2]|0)-12>>2]|0;eB(k+o|0,c[k+(o+16)>>2]|4)}}while(0);hC(f);i=e;return b|0}function kC(a){a=a|0;fB(a+4|0);iK(a);return}function lC(a){a=a|0;fB(a+4|0);return}function mC(a){a=a|0;var b=0,d=0;b=a;d=c[(c[a>>2]|0)-12>>2]|0;fB(b+(d+4)|0);iK(b+d|0);return}function nC(a){a=a|0;fB(a+((c[(c[a>>2]|0)-12>>2]|0)+4)|0);return}function oC(a){a=a|0;var b=0,d=0,e=0;b=a+4|0;a=c[b>>2]|0;d=c[(c[a>>2]|0)-12>>2]|0;e=a;if((c[e+(d+24)>>2]|0)==0){return}if((c[e+(d+16)>>2]|0)!=0){return}if((c[e+(d+4)>>2]&8192|0)==0){return}if(Nb()|0){return}d=c[b>>2]|0;e=c[d+((c[(c[d>>2]|0)-12>>2]|0)+24)>>2]|0;if(!((dd[c[(c[e>>2]|0)+24>>2]&255](e)|0)==-1)){return}e=c[b>>2]|0;b=c[(c[e>>2]|0)-12>>2]|0;d=e;eB(d+b|0,c[d+(b+16)>>2]|1);return}function pC(a){a=a|0;return 17208}function qC(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)==1){JA(a,20592,35);return}else{AA(a,b|0,c);return}}function rC(a){a=a|0;wA(a|0);return}function sC(a){a=a|0;EA(a|0);iK(a);return}function tC(a){a=a|0;EA(a|0);return}function uC(a){a=a|0;fB(a);iK(a);return}function vC(a){a=a|0;wA(a|0);iK(a);return}function wC(a){a=a|0;iA(a|0);iK(a);return}function xC(a){a=a|0;iA(a|0);return}function yC(a){a=a|0;iA(a|0);return}function zC(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;a:do{if((e|0)==(f|0)){g=c}else{b=c;h=e;while(1){if((b|0)==(d|0)){i=-1;j=7;break}k=a[b]|0;l=a[h]|0;if(k<<24>>24>24){i=-1;j=7;break}if(l<<24>>24>24){i=1;j=7;break}k=b+1|0;l=h+1|0;if((l|0)==(f|0)){g=k;break a}else{b=k;h=l}}if((j|0)==7){return i|0}}}while(0);i=(g|0)!=(d|0)|0;return i|0}function AC(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;d=e;g=f-d|0;if(g>>>0>4294967279>>>0){GA(b)}if(g>>>0<11>>>0){a[b]=g<<1;h=b+1|0}else{i=g+16&-16;j=gK(i)|0;c[b+8>>2]=j;c[b>>2]=i|1;c[b+4>>2]=g;h=j}if((e|0)==(f|0)){k=h;a[k]=0;return}else{l=h;m=e}while(1){a[l]=a[m]|0;e=m+1|0;if((e|0)==(f|0)){break}else{l=l+1|0;m=e}}k=h+(f+(-d|0))|0;a[k]=0;return}function BC(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if((c|0)==(d|0)){e=0;return e|0}else{f=c;g=0}while(1){c=(a[f]|0)+(g<<4)|0;b=c&-268435456;h=(b>>>24|b)^c;c=f+1|0;if((c|0)==(d|0)){e=h;break}else{f=c;g=h}}return e|0}function CC(a){a=a|0;iA(a|0);iK(a);return}function DC(a){a=a|0;iA(a|0);return}function EC(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;a:do{if((e|0)==(f|0)){g=b}else{a=b;h=e;while(1){if((a|0)==(d|0)){i=-1;j=7;break}k=c[a>>2]|0;l=c[h>>2]|0;if((k|0)<(l|0)){i=-1;j=7;break}if((l|0)<(k|0)){i=1;j=7;break}k=a+4|0;l=h+4|0;if((l|0)==(f|0)){g=k;break a}else{a=k;h=l}}if((j|0)==7){return i|0}}}while(0);i=(g|0)!=(d|0)|0;return i|0}function FC(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;d=e;g=f-d|0;h=g>>2;if(h>>>0>1073741807>>>0){GA(b)}if(h>>>0<2>>>0){a[b]=g>>>1;i=b+4|0}else{g=h+4&-4;j=gK(g<<2)|0;c[b+8>>2]=j;c[b>>2]=g|1;c[b+4>>2]=h;i=j}if((e|0)==(f|0)){k=i;c[k>>2]=0;return}j=f-4+(-d|0)|0;d=i;h=e;while(1){c[d>>2]=c[h>>2];e=h+4|0;if((e|0)==(f|0)){break}else{d=d+4|0;h=e}}k=i+((j>>>2)+1<<2)|0;c[k>>2]=0;return}function GC(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;if((b|0)==(d|0)){e=0;return e|0}else{f=b;g=0}while(1){b=(c[f>>2]|0)+(g<<4)|0;a=b&-268435456;h=(a>>>24|a)^b;b=f+4|0;if((b|0)==(d|0)){e=h;break}else{f=b;g=h}}return e|0}function HC(a){a=a|0;iA(a|0);iK(a);return}function IC(a){a=a|0;iA(a|0);return}function JC(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;k=i;i=i+112|0;l=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[l>>2];l=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[l>>2];l=k|0;m=k+16|0;n=k+32|0;o=k+40|0;p=k+48|0;q=k+56|0;r=k+64|0;s=k+72|0;t=k+80|0;u=k+104|0;if((c[g+4>>2]&1|0)==0){c[n>>2]=-1;v=c[(c[d>>2]|0)+16>>2]|0;w=e|0;c[p>>2]=c[w>>2];c[q>>2]=c[f>>2];nd[v&127](o,d,p,q,g,h,n);q=c[o>>2]|0;c[w>>2]=q;w=c[n>>2]|0;if((w|0)==1){a[j]=1}else if((w|0)==0){a[j]=0}else{a[j]=1;c[h>>2]=4}c[b>>2]=q;i=k;return}iB(r,g);q=r|0;r=c[q>>2]|0;if(!((c[13354]|0)==-1)){c[m>>2]=53416;c[m+4>>2]=52;c[m+8>>2]=0;FA(53416,m,380)}m=(c[13355]|0)-1|0;w=c[r+8>>2]|0;do{if((c[r+12>>2]|0)-w>>2>>>0>m>>>0){n=c[w+(m<<2)>>2]|0;if((n|0)==0){break}o=n;kA(c[q>>2]|0)|0;iB(s,g);n=s|0;p=c[n>>2]|0;if(!((c[13258]|0)==-1)){c[l>>2]=53032;c[l+4>>2]=52;c[l+8>>2]=0;FA(53032,l,380)}d=(c[13259]|0)-1|0;v=c[p+8>>2]|0;do{if((c[p+12>>2]|0)-v>>2>>>0>d>>>0){x=c[v+(d<<2)>>2]|0;if((x|0)==0){break}y=x;kA(c[n>>2]|0)|0;z=t|0;A=x;bd[c[(c[A>>2]|0)+24>>2]&255](z,y);bd[c[(c[A>>2]|0)+28>>2]&255](t+12|0,y);c[u>>2]=c[f>>2];a[j]=(KC(e,u,z,t+24|0,o,h,1)|0)==(z|0)|0;c[b>>2]=c[e>>2];MA(t+12|0);MA(t|0);i=k;return}}while(0);o=Nc(4)|0;DJ(o);Vb(o|0,43976,614)}}while(0);k=Nc(4)|0;DJ(k);Vb(k|0,43976,614)}function KC(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;k=i;i=i+104|0;l=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[l>>2];l=(f-e|0)/12|0;m=k|0;do{if(l>>>0>100>>>0){n=aK(l)|0;if((n|0)!=0){o=n;p=n;break}nK();o=0;p=0}else{o=m;p=0}}while(0);m=(e|0)==(f|0);if(m){q=l;r=0}else{n=l;l=0;s=o;t=e;while(1){u=a[t]|0;if((u&1)==0){v=(u&255)>>>1}else{v=c[t+4>>2]|0}if((v|0)==0){a[s]=2;w=l+1|0;x=n-1|0}else{a[s]=1;w=l;x=n}u=t+12|0;if((u|0)==(f|0)){q=x;r=w;break}else{n=x;l=w;s=s+1|0;t=u}}}t=b|0;b=d|0;d=g;s=0;w=r;r=q;a:while(1){q=c[t>>2]|0;do{if((q|0)==0){y=0}else{if((c[q+12>>2]|0)!=(c[q+16>>2]|0)){y=q;break}if((dd[c[(c[q>>2]|0)+36>>2]&255](q)|0)==-1){c[t>>2]=0;y=0;break}else{y=c[t>>2]|0;break}}}while(0);q=(y|0)==0;l=c[b>>2]|0;do{if((l|0)==0){z=0}else{if((c[l+12>>2]|0)!=(c[l+16>>2]|0)){z=l;break}if(!((dd[c[(c[l>>2]|0)+36>>2]&255](l)|0)==-1)){z=l;break}c[b>>2]=0;z=0}}while(0);A=(z|0)==0;B=c[t>>2]|0;if(!((q^A)&(r|0)!=0)){break}l=c[B+12>>2]|0;if((l|0)==(c[B+16>>2]|0)){C=(dd[c[(c[B>>2]|0)+36>>2]&255](B)|0)&255}else{C=a[l]|0}if(j){D=C}else{D=qd[c[(c[d>>2]|0)+12>>2]&255](g,C)|0}l=s+1|0;if(m){s=l;w=w;r=r;continue}b:do{if(j){x=r;n=w;v=o;u=0;E=e;while(1){do{if((a[v]|0)==1){F=a[E]|0;G=(F&1)==0;if(G){H=E+1|0}else{H=c[E+8>>2]|0}if(!(D<<24>>24==(a[H+s|0]|0))){a[v]=0;I=u;J=n;K=x-1|0;break}if(G){L=(F&255)>>>1}else{L=c[E+4>>2]|0}if((L|0)!=(l|0)){I=1;J=n;K=x;break}a[v]=2;I=1;J=n+1|0;K=x-1|0}else{I=u;J=n;K=x}}while(0);F=E+12|0;if((F|0)==(f|0)){M=K;N=J;O=I;break b}x=K;n=J;v=v+1|0;u=I;E=F}}else{E=r;u=w;v=o;n=0;x=e;while(1){do{if((a[v]|0)==1){F=x;if((a[F]&1)==0){P=x+1|0}else{P=c[x+8>>2]|0}if(!(D<<24>>24==(qd[c[(c[d>>2]|0)+12>>2]&255](g,a[P+s|0]|0)|0)<<24>>24)){a[v]=0;Q=n;R=u;S=E-1|0;break}G=a[F]|0;if((G&1)==0){T=(G&255)>>>1}else{T=c[x+4>>2]|0}if((T|0)!=(l|0)){Q=1;R=u;S=E;break}a[v]=2;Q=1;R=u+1|0;S=E-1|0}else{Q=n;R=u;S=E}}while(0);G=x+12|0;if((G|0)==(f|0)){M=S;N=R;O=Q;break b}E=S;u=R;v=v+1|0;n=Q;x=G}}}while(0);if(!O){s=l;w=N;r=M;continue}q=c[t>>2]|0;x=q+12|0;n=c[x>>2]|0;if((n|0)==(c[q+16>>2]|0)){dd[c[(c[q>>2]|0)+40>>2]&255](q)|0}else{c[x>>2]=n+1}if((M+N|0)>>>0<2>>>0){s=l;w=N;r=M;continue}else{U=N;V=o;W=e}while(1){do{if((a[V]|0)==2){n=a[W]|0;if((n&1)==0){X=(n&255)>>>1}else{X=c[W+4>>2]|0}if((X|0)==(l|0)){Y=U;break}a[V]=0;Y=U-1|0}else{Y=U}}while(0);n=W+12|0;if((n|0)==(f|0)){s=l;w=Y;r=M;continue a}else{U=Y;V=V+1|0;W=n}}}do{if((B|0)==0){Z=0}else{if((c[B+12>>2]|0)!=(c[B+16>>2]|0)){Z=B;break}if((dd[c[(c[B>>2]|0)+36>>2]&255](B)|0)==-1){c[t>>2]=0;Z=0;break}else{Z=c[t>>2]|0;break}}}while(0);t=(Z|0)==0;do{if(A){_=91}else{if((c[z+12>>2]|0)!=(c[z+16>>2]|0)){if(t){break}else{_=93;break}}if((dd[c[(c[z>>2]|0)+36>>2]&255](z)|0)==-1){c[b>>2]=0;_=91;break}else{if(t){break}else{_=93;break}}}}while(0);if((_|0)==91){if(t){_=93}}if((_|0)==93){c[h>>2]=c[h>>2]|2}c:do{if(m){_=98}else{t=o;b=e;while(1){if((a[t]|0)==2){$=b;break c}z=b+12|0;if((z|0)==(f|0)){_=98;break c}t=t+1|0;b=z}}}while(0);if((_|0)==98){c[h>>2]=c[h>>2]|4;$=f}if((p|0)==0){i=k;return $|0}bK(p);i=k;return $|0}function LC(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;b=i;i=i+16|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];MC(a,0,j,k,f,g,h);i=b;return}
-
-
-
-function MC(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;d=i;i=i+256|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[k>>2];k=d|0;l=d+32|0;m=d+40|0;n=d+56|0;o=d+72|0;p=d+80|0;q=d+240|0;r=d+248|0;s=c[g+4>>2]&74;if((s|0)==0){t=0}else if((s|0)==8){t=16}else if((s|0)==64){t=8}else{t=10}s=k|0;CD(m,g,s,l);g=n;DK(g|0,0,12)|0;PA(n,10,0);if((a[g]&1)==0){k=n+1|0;u=k;v=k;w=n+8|0}else{k=n+8|0;u=c[k>>2]|0;v=n+1|0;w=k}c[o>>2]=u;k=p|0;c[q>>2]=k;c[r>>2]=0;x=e|0;e=f|0;f=n|0;y=n+4|0;z=a[l]|0;l=u;u=c[x>>2]|0;a:while(1){do{if((u|0)==0){A=0}else{if((c[u+12>>2]|0)!=(c[u+16>>2]|0)){A=u;break}if(!((dd[c[(c[u>>2]|0)+36>>2]&255](u)|0)==-1)){A=u;break}c[x>>2]=0;A=0}}while(0);B=(A|0)==0;C=c[e>>2]|0;do{if((C|0)==0){D=21}else{if((c[C+12>>2]|0)!=(c[C+16>>2]|0)){if(B){E=C;break}else{F=l;G=C;break a}}if((dd[c[(c[C>>2]|0)+36>>2]&255](C)|0)==-1){c[e>>2]=0;D=21;break}else{if(B){E=C;break}else{F=l;G=C;break a}}}}while(0);if((D|0)==21){D=0;if(B){F=l;G=0;break}else{E=0}}C=a[g]|0;H=(C&1)==0;if(H){I=(C&255)>>>1}else{I=c[y>>2]|0}if(((c[o>>2]|0)-l|0)==(I|0)){if(H){J=(C&255)>>>1;K=(C&255)>>>1}else{C=c[y>>2]|0;J=C;K=C}PA(n,J<<1,0);if((a[g]&1)==0){L=10}else{L=(c[f>>2]&-2)-1|0}PA(n,L,0);if((a[g]&1)==0){M=v}else{M=c[w>>2]|0}c[o>>2]=M+K;N=M}else{N=l}C=A+12|0;H=c[C>>2]|0;O=A+16|0;if((H|0)==(c[O>>2]|0)){P=(dd[c[(c[A>>2]|0)+36>>2]&255](A)|0)&255}else{P=a[H]|0}if((cD(P,t,N,o,r,z,m,k,q,s)|0)!=0){F=N;G=E;break}H=c[C>>2]|0;if((H|0)==(c[O>>2]|0)){dd[c[(c[A>>2]|0)+40>>2]&255](A)|0;l=N;u=A;continue}else{c[C>>2]=H+1;l=N;u=A;continue}}u=a[m]|0;if((u&1)==0){Q=(u&255)>>>1}else{Q=c[m+4>>2]|0}do{if((Q|0)!=0){u=c[q>>2]|0;if((u-p|0)>=160){break}N=c[r>>2]|0;c[q>>2]=u+4;c[u>>2]=N}}while(0);c[j>>2]=yI(F,c[o>>2]|0,h,t)|0;PF(m,k,c[q>>2]|0,h);do{if((A|0)==0){R=0}else{if((c[A+12>>2]|0)!=(c[A+16>>2]|0)){R=A;break}if(!((dd[c[(c[A>>2]|0)+36>>2]&255](A)|0)==-1)){R=A;break}c[x>>2]=0;R=0}}while(0);x=(R|0)==0;do{if((G|0)==0){D=66}else{if((c[G+12>>2]|0)!=(c[G+16>>2]|0)){if(!x){break}S=b|0;c[S>>2]=R;MA(n);MA(m);i=d;return}if((dd[c[(c[G>>2]|0)+36>>2]&255](G)|0)==-1){c[e>>2]=0;D=66;break}if(!(x^(G|0)==0)){break}S=b|0;c[S>>2]=R;MA(n);MA(m);i=d;return}}while(0);do{if((D|0)==66){if(x){break}S=b|0;c[S>>2]=R;MA(n);MA(m);i=d;return}}while(0);c[h>>2]=c[h>>2]|2;S=b|0;c[S>>2]=R;MA(n);MA(m);i=d;return}function NC(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;b=i;i=i+16|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];OC(a,0,j,k,f,g,h);i=b;return}function OC(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;d=i;i=i+256|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[k>>2];k=d|0;l=d+32|0;m=d+40|0;n=d+56|0;o=d+72|0;p=d+80|0;q=d+240|0;r=d+248|0;s=c[g+4>>2]&74;if((s|0)==64){t=8}else if((s|0)==0){t=0}else if((s|0)==8){t=16}else{t=10}s=k|0;CD(m,g,s,l);g=n;DK(g|0,0,12)|0;PA(n,10,0);if((a[g]&1)==0){k=n+1|0;u=k;v=k;w=n+8|0}else{k=n+8|0;u=c[k>>2]|0;v=n+1|0;w=k}c[o>>2]=u;k=p|0;c[q>>2]=k;c[r>>2]=0;x=e|0;e=f|0;f=n|0;y=n+4|0;z=a[l]|0;l=u;u=c[x>>2]|0;a:while(1){do{if((u|0)==0){A=0}else{if((c[u+12>>2]|0)!=(c[u+16>>2]|0)){A=u;break}if(!((dd[c[(c[u>>2]|0)+36>>2]&255](u)|0)==-1)){A=u;break}c[x>>2]=0;A=0}}while(0);B=(A|0)==0;C=c[e>>2]|0;do{if((C|0)==0){D=21}else{if((c[C+12>>2]|0)!=(c[C+16>>2]|0)){if(B){E=C;break}else{F=l;G=C;break a}}if((dd[c[(c[C>>2]|0)+36>>2]&255](C)|0)==-1){c[e>>2]=0;D=21;break}else{if(B){E=C;break}else{F=l;G=C;break a}}}}while(0);if((D|0)==21){D=0;if(B){F=l;G=0;break}else{E=0}}C=a[g]|0;H=(C&1)==0;if(H){I=(C&255)>>>1}else{I=c[y>>2]|0}if(((c[o>>2]|0)-l|0)==(I|0)){if(H){J=(C&255)>>>1;K=(C&255)>>>1}else{C=c[y>>2]|0;J=C;K=C}PA(n,J<<1,0);if((a[g]&1)==0){L=10}else{L=(c[f>>2]&-2)-1|0}PA(n,L,0);if((a[g]&1)==0){N=v}else{N=c[w>>2]|0}c[o>>2]=N+K;O=N}else{O=l}C=A+12|0;H=c[C>>2]|0;P=A+16|0;if((H|0)==(c[P>>2]|0)){Q=(dd[c[(c[A>>2]|0)+36>>2]&255](A)|0)&255}else{Q=a[H]|0}if((cD(Q,t,O,o,r,z,m,k,q,s)|0)!=0){F=O;G=E;break}H=c[C>>2]|0;if((H|0)==(c[P>>2]|0)){dd[c[(c[A>>2]|0)+40>>2]&255](A)|0;l=O;u=A;continue}else{c[C>>2]=H+1;l=O;u=A;continue}}u=a[m]|0;if((u&1)==0){R=(u&255)>>>1}else{R=c[m+4>>2]|0}do{if((R|0)!=0){u=c[q>>2]|0;if((u-p|0)>=160){break}O=c[r>>2]|0;c[q>>2]=u+4;c[u>>2]=O}}while(0);r=xI(F,c[o>>2]|0,h,t)|0;c[j>>2]=r;c[j+4>>2]=M;PF(m,k,c[q>>2]|0,h);do{if((A|0)==0){S=0}else{if((c[A+12>>2]|0)!=(c[A+16>>2]|0)){S=A;break}if(!((dd[c[(c[A>>2]|0)+36>>2]&255](A)|0)==-1)){S=A;break}c[x>>2]=0;S=0}}while(0);x=(S|0)==0;do{if((G|0)==0){D=66}else{if((c[G+12>>2]|0)!=(c[G+16>>2]|0)){if(!x){break}T=b|0;c[T>>2]=S;MA(n);MA(m);i=d;return}if((dd[c[(c[G>>2]|0)+36>>2]&255](G)|0)==-1){c[e>>2]=0;D=66;break}if(!(x^(G|0)==0)){break}T=b|0;c[T>>2]=S;MA(n);MA(m);i=d;return}}while(0);do{if((D|0)==66){if(x){break}T=b|0;c[T>>2]=S;MA(n);MA(m);i=d;return}}while(0);c[h>>2]=c[h>>2]|2;T=b|0;c[T>>2]=S;MA(n);MA(m);i=d;return}function PC(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;b=i;i=i+16|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];QC(a,0,j,k,f,g,h);i=b;return}function QC(d,e,f,g,h,j,k){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,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=i;i=i+256|0;l=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[l>>2];l=g;g=i;i=i+4|0;i=i+7&-8;c[g>>2]=c[l>>2];l=e|0;m=e+32|0;n=e+40|0;o=e+56|0;p=e+72|0;q=e+80|0;r=e+240|0;s=e+248|0;t=c[h+4>>2]&74;if((t|0)==0){u=0}else if((t|0)==8){u=16}else if((t|0)==64){u=8}else{u=10}t=l|0;CD(n,h,t,m);h=o;DK(h|0,0,12)|0;PA(o,10,0);if((a[h]&1)==0){l=o+1|0;v=l;w=l;x=o+8|0}else{l=o+8|0;v=c[l>>2]|0;w=o+1|0;x=l}c[p>>2]=v;l=q|0;c[r>>2]=l;c[s>>2]=0;y=f|0;f=g|0;g=o|0;z=o+4|0;A=a[m]|0;m=v;v=c[y>>2]|0;a:while(1){do{if((v|0)==0){B=0}else{if((c[v+12>>2]|0)!=(c[v+16>>2]|0)){B=v;break}if(!((dd[c[(c[v>>2]|0)+36>>2]&255](v)|0)==-1)){B=v;break}c[y>>2]=0;B=0}}while(0);C=(B|0)==0;D=c[f>>2]|0;do{if((D|0)==0){E=21}else{if((c[D+12>>2]|0)!=(c[D+16>>2]|0)){if(C){F=D;break}else{G=m;H=D;break a}}if((dd[c[(c[D>>2]|0)+36>>2]&255](D)|0)==-1){c[f>>2]=0;E=21;break}else{if(C){F=D;break}else{G=m;H=D;break a}}}}while(0);if((E|0)==21){E=0;if(C){G=m;H=0;break}else{F=0}}D=a[h]|0;I=(D&1)==0;if(I){J=(D&255)>>>1}else{J=c[z>>2]|0}if(((c[p>>2]|0)-m|0)==(J|0)){if(I){K=(D&255)>>>1;L=(D&255)>>>1}else{D=c[z>>2]|0;K=D;L=D}PA(o,K<<1,0);if((a[h]&1)==0){M=10}else{M=(c[g>>2]&-2)-1|0}PA(o,M,0);if((a[h]&1)==0){N=w}else{N=c[x>>2]|0}c[p>>2]=N+L;O=N}else{O=m}D=B+12|0;I=c[D>>2]|0;P=B+16|0;if((I|0)==(c[P>>2]|0)){Q=(dd[c[(c[B>>2]|0)+36>>2]&255](B)|0)&255}else{Q=a[I]|0}if((cD(Q,u,O,p,s,A,n,l,r,t)|0)!=0){G=O;H=F;break}I=c[D>>2]|0;if((I|0)==(c[P>>2]|0)){dd[c[(c[B>>2]|0)+40>>2]&255](B)|0;m=O;v=B;continue}else{c[D>>2]=I+1;m=O;v=B;continue}}v=a[n]|0;if((v&1)==0){R=(v&255)>>>1}else{R=c[n+4>>2]|0}do{if((R|0)!=0){v=c[r>>2]|0;if((v-q|0)>=160){break}O=c[s>>2]|0;c[r>>2]=v+4;c[v>>2]=O}}while(0);b[k>>1]=wI(G,c[p>>2]|0,j,u)|0;PF(n,l,c[r>>2]|0,j);do{if((B|0)==0){S=0}else{if((c[B+12>>2]|0)!=(c[B+16>>2]|0)){S=B;break}if(!((dd[c[(c[B>>2]|0)+36>>2]&255](B)|0)==-1)){S=B;break}c[y>>2]=0;S=0}}while(0);y=(S|0)==0;do{if((H|0)==0){E=66}else{if((c[H+12>>2]|0)!=(c[H+16>>2]|0)){if(!y){break}T=d|0;c[T>>2]=S;MA(o);MA(n);i=e;return}if((dd[c[(c[H>>2]|0)+36>>2]&255](H)|0)==-1){c[f>>2]=0;E=66;break}if(!(y^(H|0)==0)){break}T=d|0;c[T>>2]=S;MA(o);MA(n);i=e;return}}while(0);do{if((E|0)==66){if(y){break}T=d|0;c[T>>2]=S;MA(o);MA(n);i=e;return}}while(0);c[j>>2]=c[j>>2]|2;T=d|0;c[T>>2]=S;MA(o);MA(n);i=e;return}function RC(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;b=i;i=i+16|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];SC(a,0,j,k,f,g,h);i=b;return}function SC(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;d=i;i=i+256|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[k>>2];k=d|0;l=d+32|0;m=d+40|0;n=d+56|0;o=d+72|0;p=d+80|0;q=d+240|0;r=d+248|0;s=c[g+4>>2]&74;if((s|0)==64){t=8}else if((s|0)==0){t=0}else if((s|0)==8){t=16}else{t=10}s=k|0;CD(m,g,s,l);g=n;DK(g|0,0,12)|0;PA(n,10,0);if((a[g]&1)==0){k=n+1|0;u=k;v=k;w=n+8|0}else{k=n+8|0;u=c[k>>2]|0;v=n+1|0;w=k}c[o>>2]=u;k=p|0;c[q>>2]=k;c[r>>2]=0;x=e|0;e=f|0;f=n|0;y=n+4|0;z=a[l]|0;l=u;u=c[x>>2]|0;a:while(1){do{if((u|0)==0){A=0}else{if((c[u+12>>2]|0)!=(c[u+16>>2]|0)){A=u;break}if(!((dd[c[(c[u>>2]|0)+36>>2]&255](u)|0)==-1)){A=u;break}c[x>>2]=0;A=0}}while(0);B=(A|0)==0;C=c[e>>2]|0;do{if((C|0)==0){D=21}else{if((c[C+12>>2]|0)!=(c[C+16>>2]|0)){if(B){E=C;break}else{F=l;G=C;break a}}if((dd[c[(c[C>>2]|0)+36>>2]&255](C)|0)==-1){c[e>>2]=0;D=21;break}else{if(B){E=C;break}else{F=l;G=C;break a}}}}while(0);if((D|0)==21){D=0;if(B){F=l;G=0;break}else{E=0}}C=a[g]|0;H=(C&1)==0;if(H){I=(C&255)>>>1}else{I=c[y>>2]|0}if(((c[o>>2]|0)-l|0)==(I|0)){if(H){J=(C&255)>>>1;K=(C&255)>>>1}else{C=c[y>>2]|0;J=C;K=C}PA(n,J<<1,0);if((a[g]&1)==0){L=10}else{L=(c[f>>2]&-2)-1|0}PA(n,L,0);if((a[g]&1)==0){M=v}else{M=c[w>>2]|0}c[o>>2]=M+K;N=M}else{N=l}C=A+12|0;H=c[C>>2]|0;O=A+16|0;if((H|0)==(c[O>>2]|0)){P=(dd[c[(c[A>>2]|0)+36>>2]&255](A)|0)&255}else{P=a[H]|0}if((cD(P,t,N,o,r,z,m,k,q,s)|0)!=0){F=N;G=E;break}H=c[C>>2]|0;if((H|0)==(c[O>>2]|0)){dd[c[(c[A>>2]|0)+40>>2]&255](A)|0;l=N;u=A;continue}else{c[C>>2]=H+1;l=N;u=A;continue}}u=a[m]|0;if((u&1)==0){Q=(u&255)>>>1}else{Q=c[m+4>>2]|0}do{if((Q|0)!=0){u=c[q>>2]|0;if((u-p|0)>=160){break}N=c[r>>2]|0;c[q>>2]=u+4;c[u>>2]=N}}while(0);c[j>>2]=vI(F,c[o>>2]|0,h,t)|0;PF(m,k,c[q>>2]|0,h);do{if((A|0)==0){R=0}else{if((c[A+12>>2]|0)!=(c[A+16>>2]|0)){R=A;break}if(!((dd[c[(c[A>>2]|0)+36>>2]&255](A)|0)==-1)){R=A;break}c[x>>2]=0;R=0}}while(0);x=(R|0)==0;do{if((G|0)==0){D=66}else{if((c[G+12>>2]|0)!=(c[G+16>>2]|0)){if(!x){break}S=b|0;c[S>>2]=R;MA(n);MA(m);i=d;return}if((dd[c[(c[G>>2]|0)+36>>2]&255](G)|0)==-1){c[e>>2]=0;D=66;break}if(!(x^(G|0)==0)){break}S=b|0;c[S>>2]=R;MA(n);MA(m);i=d;return}}while(0);do{if((D|0)==66){if(x){break}S=b|0;c[S>>2]=R;MA(n);MA(m);i=d;return}}while(0);c[h>>2]=c[h>>2]|2;S=b|0;c[S>>2]=R;MA(n);MA(m);i=d;return}function TC(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;b=i;i=i+16|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];UC(a,0,j,k,f,g,h);i=b;return}function UC(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;d=i;i=i+256|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[k>>2];k=d|0;l=d+32|0;m=d+40|0;n=d+56|0;o=d+72|0;p=d+80|0;q=d+240|0;r=d+248|0;s=c[g+4>>2]&74;if((s|0)==0){t=0}else if((s|0)==8){t=16}else if((s|0)==64){t=8}else{t=10}s=k|0;CD(m,g,s,l);g=n;DK(g|0,0,12)|0;PA(n,10,0);if((a[g]&1)==0){k=n+1|0;u=k;v=k;w=n+8|0}else{k=n+8|0;u=c[k>>2]|0;v=n+1|0;w=k}c[o>>2]=u;k=p|0;c[q>>2]=k;c[r>>2]=0;x=e|0;e=f|0;f=n|0;y=n+4|0;z=a[l]|0;l=u;u=c[x>>2]|0;a:while(1){do{if((u|0)==0){A=0}else{if((c[u+12>>2]|0)!=(c[u+16>>2]|0)){A=u;break}if(!((dd[c[(c[u>>2]|0)+36>>2]&255](u)|0)==-1)){A=u;break}c[x>>2]=0;A=0}}while(0);B=(A|0)==0;C=c[e>>2]|0;do{if((C|0)==0){D=21}else{if((c[C+12>>2]|0)!=(c[C+16>>2]|0)){if(B){E=C;break}else{F=l;G=C;break a}}if((dd[c[(c[C>>2]|0)+36>>2]&255](C)|0)==-1){c[e>>2]=0;D=21;break}else{if(B){E=C;break}else{F=l;G=C;break a}}}}while(0);if((D|0)==21){D=0;if(B){F=l;G=0;break}else{E=0}}C=a[g]|0;H=(C&1)==0;if(H){I=(C&255)>>>1}else{I=c[y>>2]|0}if(((c[o>>2]|0)-l|0)==(I|0)){if(H){J=(C&255)>>>1;K=(C&255)>>>1}else{C=c[y>>2]|0;J=C;K=C}PA(n,J<<1,0);if((a[g]&1)==0){L=10}else{L=(c[f>>2]&-2)-1|0}PA(n,L,0);if((a[g]&1)==0){M=v}else{M=c[w>>2]|0}c[o>>2]=M+K;N=M}else{N=l}C=A+12|0;H=c[C>>2]|0;O=A+16|0;if((H|0)==(c[O>>2]|0)){P=(dd[c[(c[A>>2]|0)+36>>2]&255](A)|0)&255}else{P=a[H]|0}if((cD(P,t,N,o,r,z,m,k,q,s)|0)!=0){F=N;G=E;break}H=c[C>>2]|0;if((H|0)==(c[O>>2]|0)){dd[c[(c[A>>2]|0)+40>>2]&255](A)|0;l=N;u=A;continue}else{c[C>>2]=H+1;l=N;u=A;continue}}u=a[m]|0;if((u&1)==0){Q=(u&255)>>>1}else{Q=c[m+4>>2]|0}do{if((Q|0)!=0){u=c[q>>2]|0;if((u-p|0)>=160){break}N=c[r>>2]|0;c[q>>2]=u+4;c[u>>2]=N}}while(0);c[j>>2]=uI(F,c[o>>2]|0,h,t)|0;PF(m,k,c[q>>2]|0,h);do{if((A|0)==0){R=0}else{if((c[A+12>>2]|0)!=(c[A+16>>2]|0)){R=A;break}if(!((dd[c[(c[A>>2]|0)+36>>2]&255](A)|0)==-1)){R=A;break}c[x>>2]=0;R=0}}while(0);x=(R|0)==0;do{if((G|0)==0){D=66}else{if((c[G+12>>2]|0)!=(c[G+16>>2]|0)){if(!x){break}S=b|0;c[S>>2]=R;MA(n);MA(m);i=d;return}if((dd[c[(c[G>>2]|0)+36>>2]&255](G)|0)==-1){c[e>>2]=0;D=66;break}if(!(x^(G|0)==0)){break}S=b|0;c[S>>2]=R;MA(n);MA(m);i=d;return}}while(0);do{if((D|0)==66){if(x){break}S=b|0;c[S>>2]=R;MA(n);MA(m);i=d;return}}while(0);c[h>>2]=c[h>>2]|2;S=b|0;c[S>>2]=R;MA(n);MA(m);i=d;return}function VC(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;b=i;i=i+16|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];WC(a,0,j,k,f,g,h);i=b;return}function WC(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;d=i;i=i+256|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[k>>2];k=d|0;l=d+32|0;m=d+40|0;n=d+56|0;o=d+72|0;p=d+80|0;q=d+240|0;r=d+248|0;s=c[g+4>>2]&74;if((s|0)==64){t=8}else if((s|0)==0){t=0}else if((s|0)==8){t=16}else{t=10}s=k|0;CD(m,g,s,l);g=n;DK(g|0,0,12)|0;PA(n,10,0);if((a[g]&1)==0){k=n+1|0;u=k;v=k;w=n+8|0}else{k=n+8|0;u=c[k>>2]|0;v=n+1|0;w=k}c[o>>2]=u;k=p|0;c[q>>2]=k;c[r>>2]=0;x=e|0;e=f|0;f=n|0;y=n+4|0;z=a[l]|0;l=u;u=c[x>>2]|0;a:while(1){do{if((u|0)==0){A=0}else{if((c[u+12>>2]|0)!=(c[u+16>>2]|0)){A=u;break}if(!((dd[c[(c[u>>2]|0)+36>>2]&255](u)|0)==-1)){A=u;break}c[x>>2]=0;A=0}}while(0);B=(A|0)==0;C=c[e>>2]|0;do{if((C|0)==0){D=21}else{if((c[C+12>>2]|0)!=(c[C+16>>2]|0)){if(B){E=C;break}else{F=l;G=C;break a}}if((dd[c[(c[C>>2]|0)+36>>2]&255](C)|0)==-1){c[e>>2]=0;D=21;break}else{if(B){E=C;break}else{F=l;G=C;break a}}}}while(0);if((D|0)==21){D=0;if(B){F=l;G=0;break}else{E=0}}C=a[g]|0;H=(C&1)==0;if(H){I=(C&255)>>>1}else{I=c[y>>2]|0}if(((c[o>>2]|0)-l|0)==(I|0)){if(H){J=(C&255)>>>1;K=(C&255)>>>1}else{C=c[y>>2]|0;J=C;K=C}PA(n,J<<1,0);if((a[g]&1)==0){L=10}else{L=(c[f>>2]&-2)-1|0}PA(n,L,0);if((a[g]&1)==0){N=v}else{N=c[w>>2]|0}c[o>>2]=N+K;O=N}else{O=l}C=A+12|0;H=c[C>>2]|0;P=A+16|0;if((H|0)==(c[P>>2]|0)){Q=(dd[c[(c[A>>2]|0)+36>>2]&255](A)|0)&255}else{Q=a[H]|0}if((cD(Q,t,O,o,r,z,m,k,q,s)|0)!=0){F=O;G=E;break}H=c[C>>2]|0;if((H|0)==(c[P>>2]|0)){dd[c[(c[A>>2]|0)+40>>2]&255](A)|0;l=O;u=A;continue}else{c[C>>2]=H+1;l=O;u=A;continue}}u=a[m]|0;if((u&1)==0){R=(u&255)>>>1}else{R=c[m+4>>2]|0}do{if((R|0)!=0){u=c[q>>2]|0;if((u-p|0)>=160){break}O=c[r>>2]|0;c[q>>2]=u+4;c[u>>2]=O}}while(0);r=tI(F,c[o>>2]|0,h,t)|0;c[j>>2]=r;c[j+4>>2]=M;PF(m,k,c[q>>2]|0,h);do{if((A|0)==0){S=0}else{if((c[A+12>>2]|0)!=(c[A+16>>2]|0)){S=A;break}if(!((dd[c[(c[A>>2]|0)+36>>2]&255](A)|0)==-1)){S=A;break}c[x>>2]=0;S=0}}while(0);x=(S|0)==0;do{if((G|0)==0){D=66}else{if((c[G+12>>2]|0)!=(c[G+16>>2]|0)){if(!x){break}T=b|0;c[T>>2]=S;MA(n);MA(m);i=d;return}if((dd[c[(c[G>>2]|0)+36>>2]&255](G)|0)==-1){c[e>>2]=0;D=66;break}if(!(x^(G|0)==0)){break}T=b|0;c[T>>2]=S;MA(n);MA(m);i=d;return}}while(0);do{if((D|0)==66){if(x){break}T=b|0;c[T>>2]=S;MA(n);MA(m);i=d;return}}while(0);c[h>>2]=c[h>>2]|2;T=b|0;c[T>>2]=S;MA(n);MA(m);i=d;return}function XC(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;b=i;i=i+16|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];YC(a,0,j,k,f,g,h);i=b;return}function YC(b,d,e,f,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,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;d=i;i=i+280|0;l=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[l>>2];l=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[l>>2];l=d+32|0;m=d+40|0;n=d+48|0;o=d+64|0;p=d+80|0;q=d+88|0;r=d+248|0;s=d+256|0;t=d+264|0;u=d+272|0;v=d|0;DD(n,h,v,l,m);h=o;DK(h|0,0,12)|0;PA(o,10,0);if((a[h]&1)==0){w=o+1|0;x=w;y=w;z=o+8|0}else{w=o+8|0;x=c[w>>2]|0;y=o+1|0;z=w}c[p>>2]=x;w=q|0;c[r>>2]=w;c[s>>2]=0;a[t]=1;a[u]=69;A=e|0;e=f|0;f=o|0;B=o+4|0;C=a[l]|0;l=a[m]|0;m=x;x=c[A>>2]|0;a:while(1){do{if((x|0)==0){D=0}else{if((c[x+12>>2]|0)!=(c[x+16>>2]|0)){D=x;break}if(!((dd[c[(c[x>>2]|0)+36>>2]&255](x)|0)==-1)){D=x;break}c[A>>2]=0;D=0}}while(0);E=(D|0)==0;F=c[e>>2]|0;do{if((F|0)==0){G=17}else{if((c[F+12>>2]|0)!=(c[F+16>>2]|0)){if(E){H=F;break}else{I=m;J=F;break a}}if((dd[c[(c[F>>2]|0)+36>>2]&255](F)|0)==-1){c[e>>2]=0;G=17;break}else{if(E){H=F;break}else{I=m;J=F;break a}}}}while(0);if((G|0)==17){G=0;if(E){I=m;J=0;break}else{H=0}}F=a[h]|0;K=(F&1)==0;if(K){L=(F&255)>>>1}else{L=c[B>>2]|0}if(((c[p>>2]|0)-m|0)==(L|0)){if(K){M=(F&255)>>>1;N=(F&255)>>>1}else{F=c[B>>2]|0;M=F;N=F}PA(o,M<<1,0);if((a[h]&1)==0){O=10}else{O=(c[f>>2]&-2)-1|0}PA(o,O,0);if((a[h]&1)==0){P=y}else{P=c[z>>2]|0}c[p>>2]=P+N;Q=P}else{Q=m}F=D+12|0;K=c[F>>2]|0;R=D+16|0;if((K|0)==(c[R>>2]|0)){S=(dd[c[(c[D>>2]|0)+36>>2]&255](D)|0)&255}else{S=a[K]|0}if((ED(S,t,u,Q,p,C,l,n,w,r,s,v)|0)!=0){I=Q;J=H;break}K=c[F>>2]|0;if((K|0)==(c[R>>2]|0)){dd[c[(c[D>>2]|0)+40>>2]&255](D)|0;m=Q;x=D;continue}else{c[F>>2]=K+1;m=Q;x=D;continue}}x=a[n]|0;if((x&1)==0){T=(x&255)>>>1}else{T=c[n+4>>2]|0}do{if((T|0)!=0){if((a[t]|0)==0){break}x=c[r>>2]|0;if((x-q|0)>=160){break}Q=c[s>>2]|0;c[r>>2]=x+4;c[x>>2]=Q}}while(0);g[k>>2]=+sI(I,c[p>>2]|0,j);PF(n,w,c[r>>2]|0,j);do{if((D|0)==0){U=0}else{if((c[D+12>>2]|0)!=(c[D+16>>2]|0)){U=D;break}if(!((dd[c[(c[D>>2]|0)+36>>2]&255](D)|0)==-1)){U=D;break}c[A>>2]=0;U=0}}while(0);A=(U|0)==0;do{if((J|0)==0){G=63}else{if((c[J+12>>2]|0)!=(c[J+16>>2]|0)){if(!A){break}V=b|0;c[V>>2]=U;MA(o);MA(n);i=d;return}if((dd[c[(c[J>>2]|0)+36>>2]&255](J)|0)==-1){c[e>>2]=0;G=63;break}if(!(A^(J|0)==0)){break}V=b|0;c[V>>2]=U;MA(o);MA(n);i=d;return}}while(0);do{if((G|0)==63){if(A){break}V=b|0;c[V>>2]=U;MA(o);MA(n);i=d;return}}while(0);c[j>>2]=c[j>>2]|2;V=b|0;c[V>>2]=U;MA(o);MA(n);i=d;return}function ZC(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;b=i;i=i+16|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];_C(a,0,j,k,f,g,h);i=b;return}function _C(b,d,e,f,g,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,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;d=i;i=i+280|0;l=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[l>>2];l=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[l>>2];l=d+32|0;m=d+40|0;n=d+48|0;o=d+64|0;p=d+80|0;q=d+88|0;r=d+248|0;s=d+256|0;t=d+264|0;u=d+272|0;v=d|0;DD(n,g,v,l,m);g=o;DK(g|0,0,12)|0;PA(o,10,0);if((a[g]&1)==0){w=o+1|0;x=w;y=w;z=o+8|0}else{w=o+8|0;x=c[w>>2]|0;y=o+1|0;z=w}c[p>>2]=x;w=q|0;c[r>>2]=w;c[s>>2]=0;a[t]=1;a[u]=69;A=e|0;e=f|0;f=o|0;B=o+4|0;C=a[l]|0;l=a[m]|0;m=x;x=c[A>>2]|0;a:while(1){do{if((x|0)==0){D=0}else{if((c[x+12>>2]|0)!=(c[x+16>>2]|0)){D=x;break}if(!((dd[c[(c[x>>2]|0)+36>>2]&255](x)|0)==-1)){D=x;break}c[A>>2]=0;D=0}}while(0);E=(D|0)==0;F=c[e>>2]|0;do{if((F|0)==0){G=17}else{if((c[F+12>>2]|0)!=(c[F+16>>2]|0)){if(E){H=F;break}else{I=m;J=F;break a}}if((dd[c[(c[F>>2]|0)+36>>2]&255](F)|0)==-1){c[e>>2]=0;G=17;break}else{if(E){H=F;break}else{I=m;J=F;break a}}}}while(0);if((G|0)==17){G=0;if(E){I=m;J=0;break}else{H=0}}F=a[g]|0;K=(F&1)==0;if(K){L=(F&255)>>>1}else{L=c[B>>2]|0}if(((c[p>>2]|0)-m|0)==(L|0)){if(K){M=(F&255)>>>1;N=(F&255)>>>1}else{F=c[B>>2]|0;M=F;N=F}PA(o,M<<1,0);if((a[g]&1)==0){O=10}else{O=(c[f>>2]&-2)-1|0}PA(o,O,0);if((a[g]&1)==0){P=y}else{P=c[z>>2]|0}c[p>>2]=P+N;Q=P}else{Q=m}F=D+12|0;K=c[F>>2]|0;R=D+16|0;if((K|0)==(c[R>>2]|0)){S=(dd[c[(c[D>>2]|0)+36>>2]&255](D)|0)&255}else{S=a[K]|0}if((ED(S,t,u,Q,p,C,l,n,w,r,s,v)|0)!=0){I=Q;J=H;break}K=c[F>>2]|0;if((K|0)==(c[R>>2]|0)){dd[c[(c[D>>2]|0)+40>>2]&255](D)|0;m=Q;x=D;continue}else{c[F>>2]=K+1;m=Q;x=D;continue}}x=a[n]|0;if((x&1)==0){T=(x&255)>>>1}else{T=c[n+4>>2]|0}do{if((T|0)!=0){if((a[t]|0)==0){break}x=c[r>>2]|0;if((x-q|0)>=160){break}Q=c[s>>2]|0;c[r>>2]=x+4;c[x>>2]=Q}}while(0);h[k>>3]=+rI(I,c[p>>2]|0,j);PF(n,w,c[r>>2]|0,j);do{if((D|0)==0){U=0}else{if((c[D+12>>2]|0)!=(c[D+16>>2]|0)){U=D;break}if(!((dd[c[(c[D>>2]|0)+36>>2]&255](D)|0)==-1)){U=D;break}c[A>>2]=0;U=0}}while(0);A=(U|0)==0;do{if((J|0)==0){G=63}else{if((c[J+12>>2]|0)!=(c[J+16>>2]|0)){if(!A){break}V=b|0;c[V>>2]=U;MA(o);MA(n);i=d;return}if((dd[c[(c[J>>2]|0)+36>>2]&255](J)|0)==-1){c[e>>2]=0;G=63;break}if(!(A^(J|0)==0)){break}V=b|0;c[V>>2]=U;MA(o);MA(n);i=d;return}}while(0);do{if((G|0)==63){if(A){break}V=b|0;c[V>>2]=U;MA(o);MA(n);i=d;return}}while(0);c[j>>2]=c[j>>2]|2;V=b|0;c[V>>2]=U;MA(o);MA(n);i=d;return}function $C(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;b=i;i=i+16|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];aD(a,0,j,k,f,g,h);i=b;return}function aD(b,d,e,f,g,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,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;d=i;i=i+280|0;l=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[l>>2];l=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[l>>2];l=d+32|0;m=d+40|0;n=d+48|0;o=d+64|0;p=d+80|0;q=d+88|0;r=d+248|0;s=d+256|0;t=d+264|0;u=d+272|0;v=d|0;DD(n,g,v,l,m);g=o;DK(g|0,0,12)|0;PA(o,10,0);if((a[g]&1)==0){w=o+1|0;x=w;y=w;z=o+8|0}else{w=o+8|0;x=c[w>>2]|0;y=o+1|0;z=w}c[p>>2]=x;w=q|0;c[r>>2]=w;c[s>>2]=0;a[t]=1;a[u]=69;A=e|0;e=f|0;f=o|0;B=o+4|0;C=a[l]|0;l=a[m]|0;m=x;x=c[A>>2]|0;a:while(1){do{if((x|0)==0){D=0}else{if((c[x+12>>2]|0)!=(c[x+16>>2]|0)){D=x;break}if(!((dd[c[(c[x>>2]|0)+36>>2]&255](x)|0)==-1)){D=x;break}c[A>>2]=0;D=0}}while(0);E=(D|0)==0;F=c[e>>2]|0;do{if((F|0)==0){G=17}else{if((c[F+12>>2]|0)!=(c[F+16>>2]|0)){if(E){H=F;break}else{I=m;J=F;break a}}if((dd[c[(c[F>>2]|0)+36>>2]&255](F)|0)==-1){c[e>>2]=0;G=17;break}else{if(E){H=F;break}else{I=m;J=F;break a}}}}while(0);if((G|0)==17){G=0;if(E){I=m;J=0;break}else{H=0}}F=a[g]|0;K=(F&1)==0;if(K){L=(F&255)>>>1}else{L=c[B>>2]|0}if(((c[p>>2]|0)-m|0)==(L|0)){if(K){M=(F&255)>>>1;N=(F&255)>>>1}else{F=c[B>>2]|0;M=F;N=F}PA(o,M<<1,0);if((a[g]&1)==0){O=10}else{O=(c[f>>2]&-2)-1|0}PA(o,O,0);if((a[g]&1)==0){P=y}else{P=c[z>>2]|0}c[p>>2]=P+N;Q=P}else{Q=m}F=D+12|0;K=c[F>>2]|0;R=D+16|0;if((K|0)==(c[R>>2]|0)){S=(dd[c[(c[D>>2]|0)+36>>2]&255](D)|0)&255}else{S=a[K]|0}if((ED(S,t,u,Q,p,C,l,n,w,r,s,v)|0)!=0){I=Q;J=H;break}K=c[F>>2]|0;if((K|0)==(c[R>>2]|0)){dd[c[(c[D>>2]|0)+40>>2]&255](D)|0;m=Q;x=D;continue}else{c[F>>2]=K+1;m=Q;x=D;continue}}x=a[n]|0;if((x&1)==0){T=(x&255)>>>1}else{T=c[n+4>>2]|0}do{if((T|0)!=0){if((a[t]|0)==0){break}x=c[r>>2]|0;if((x-q|0)>=160){break}Q=c[s>>2]|0;c[r>>2]=x+4;c[x>>2]=Q}}while(0);h[k>>3]=+qI(I,c[p>>2]|0,j);PF(n,w,c[r>>2]|0,j);do{if((D|0)==0){U=0}else{if((c[D+12>>2]|0)!=(c[D+16>>2]|0)){U=D;break}if(!((dd[c[(c[D>>2]|0)+36>>2]&255](D)|0)==-1)){U=D;break}c[A>>2]=0;U=0}}while(0);A=(U|0)==0;do{if((J|0)==0){G=63}else{if((c[J+12>>2]|0)!=(c[J+16>>2]|0)){if(!A){break}V=b|0;c[V>>2]=U;MA(o);MA(n);i=d;return}if((dd[c[(c[J>>2]|0)+36>>2]&255](J)|0)==-1){c[e>>2]=0;G=63;break}if(!(A^(J|0)==0)){break}V=b|0;c[V>>2]=U;MA(o);MA(n);i=d;return}}while(0);do{if((G|0)==63){if(A){break}V=b|0;c[V>>2]=U;MA(o);MA(n);i=d;return}}while(0);c[j>>2]=c[j>>2]|2;V=b|0;c[V>>2]=U;MA(o);MA(n);i=d;return}function bD(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;d=i;i=i+272|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[k>>2];k=d|0;l=d+16|0;m=d+48|0;n=d+64|0;o=d+72|0;p=d+88|0;q=d+96|0;r=d+256|0;s=d+264|0;DK(m|0,0,12)|0;iB(n,g);g=n|0;n=c[g>>2]|0;if(!((c[13354]|0)==-1)){c[k>>2]=53416;c[k+4>>2]=52;c[k+8>>2]=0;FA(53416,k,380)}k=(c[13355]|0)-1|0;t=c[n+8>>2]|0;do{if((c[n+12>>2]|0)-t>>2>>>0>k>>>0){u=c[t+(k<<2)>>2]|0;if((u|0)==0){break}v=l|0;sd[c[(c[u>>2]|0)+32>>2]&15](u,48272,48298,v)|0;kA(c[g>>2]|0)|0;u=o;DK(u|0,0,12)|0;PA(o,10,0);if((a[u]&1)==0){w=o+1|0;x=w;y=w;z=o+8|0}else{w=o+8|0;x=c[w>>2]|0;y=o+1|0;z=w}c[p>>2]=x;w=q|0;c[r>>2]=w;c[s>>2]=0;A=e|0;B=f|0;C=o|0;D=o+4|0;E=x;F=c[A>>2]|0;a:while(1){do{if((F|0)==0){G=0}else{if((c[F+12>>2]|0)!=(c[F+16>>2]|0)){G=F;break}if(!((dd[c[(c[F>>2]|0)+36>>2]&255](F)|0)==-1)){G=F;break}c[A>>2]=0;G=0}}while(0);H=(G|0)==0;I=c[B>>2]|0;do{if((I|0)==0){J=25}else{if((c[I+12>>2]|0)!=(c[I+16>>2]|0)){if(H){break}else{K=E;break a}}if((dd[c[(c[I>>2]|0)+36>>2]&255](I)|0)==-1){c[B>>2]=0;J=25;break}else{if(H){break}else{K=E;break a}}}}while(0);if((J|0)==25){J=0;if(H){K=E;break}}I=a[u]|0;L=(I&1)==0;if(L){M=(I&255)>>>1}else{M=c[D>>2]|0}if(((c[p>>2]|0)-E|0)==(M|0)){if(L){N=(I&255)>>>1;O=(I&255)>>>1}else{I=c[D>>2]|0;N=I;O=I}PA(o,N<<1,0);if((a[u]&1)==0){P=10}else{P=(c[C>>2]&-2)-1|0}PA(o,P,0);if((a[u]&1)==0){Q=y}else{Q=c[z>>2]|0}c[p>>2]=Q+O;R=Q}else{R=E}I=G+12|0;L=c[I>>2]|0;S=G+16|0;if((L|0)==(c[S>>2]|0)){T=(dd[c[(c[G>>2]|0)+36>>2]&255](G)|0)&255}else{T=a[L]|0}if((cD(T,16,R,p,s,0,m,w,r,v)|0)!=0){K=R;break}L=c[I>>2]|0;if((L|0)==(c[S>>2]|0)){dd[c[(c[G>>2]|0)+40>>2]&255](G)|0;E=R;F=G;continue}else{c[I>>2]=L+1;E=R;F=G;continue}}a[K+3|0]=0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);F=dD(K,c[12914]|0,13496,(E=i,i=i+8|0,c[E>>2]=j,E)|0)|0;i=E;if((F|0)!=1){c[h>>2]=4}F=c[A>>2]|0;do{if((F|0)==0){U=0}else{if((c[F+12>>2]|0)!=(c[F+16>>2]|0)){U=F;break}if(!((dd[c[(c[F>>2]|0)+36>>2]&255](F)|0)==-1)){U=F;break}c[A>>2]=0;U=0}}while(0);A=(U|0)==0;F=c[B>>2]|0;do{if((F|0)==0){J=73}else{if((c[F+12>>2]|0)!=(c[F+16>>2]|0)){if(!A){break}V=b|0;c[V>>2]=U;MA(o);MA(m);i=d;return}if((dd[c[(c[F>>2]|0)+36>>2]&255](F)|0)==-1){c[B>>2]=0;J=73;break}if(!(A^(F|0)==0)){break}V=b|0;c[V>>2]=U;MA(o);MA(m);i=d;return}}while(0);do{if((J|0)==73){if(A){break}V=b|0;c[V>>2]=U;MA(o);MA(m);i=d;return}}while(0);c[h>>2]=c[h>>2]|2;V=b|0;c[V>>2]=U;MA(o);MA(m);i=d;return}}while(0);d=Nc(4)|0;DJ(d);Vb(d|0,43976,614)}function cD(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;m=c[f>>2]|0;n=(m|0)==(e|0);do{if(n){o=(a[l+24|0]|0)==b<<24>>24;if(!o){if(!((a[l+25|0]|0)==b<<24>>24)){break}}c[f>>2]=e+1;a[e]=o?43:45;c[g>>2]=0;p=0;return p|0}}while(0);o=a[i]|0;if((o&1)==0){q=(o&255)>>>1}else{q=c[i+4>>2]|0}if((q|0)!=0&b<<24>>24==h<<24>>24){h=c[k>>2]|0;if((h-j|0)>=160){p=0;return p|0}j=c[g>>2]|0;c[k>>2]=h+4;c[h>>2]=j;c[g>>2]=0;p=0;return p|0}j=l+26|0;h=l;while(1){if((h|0)==(j|0)){r=j;break}if((a[h]|0)==b<<24>>24){r=h;break}else{h=h+1|0}}h=r-l|0;if((h|0)>23){p=-1;return p|0}do{if((d|0)==8|(d|0)==10){if((h|0)<(d|0)){break}else{p=-1}return p|0}else if((d|0)==16){if((h|0)<22){break}if(n){p=-1;return p|0}if((m-e|0)>=3){p=-1;return p|0}if((a[m-1|0]|0)!=48){p=-1;return p|0}c[g>>2]=0;l=a[48272+h|0]|0;c[f>>2]=m+1;a[m]=l;p=0;return p|0}}while(0);e=a[48272+h|0]|0;c[f>>2]=m+1;a[m]=e;c[g>>2]=(c[g>>2]|0)+1;p=0;return p|0}function dD(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;i=i+16|0;g=f|0;h=g;c[h>>2]=e;c[h+4>>2]=0;h=vc(b|0)|0;b=nb(a|0,d|0,g|0)|0;if((h|0)==0){i=f;return b|0}vc(h|0)|0;i=f;return b|0}function eD(a){a=a|0;iA(a|0);iK(a);return}function fD(a){a=a|0;iA(a|0);return}function gD(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;k=i;i=i+112|0;l=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[l>>2];l=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[l>>2];l=k|0;m=k+16|0;n=k+32|0;o=k+40|0;p=k+48|0;q=k+56|0;r=k+64|0;s=k+72|0;t=k+80|0;u=k+104|0;if((c[g+4>>2]&1|0)==0){c[n>>2]=-1;v=c[(c[d>>2]|0)+16>>2]|0;w=e|0;c[p>>2]=c[w>>2];c[q>>2]=c[f>>2];nd[v&127](o,d,p,q,g,h,n);q=c[o>>2]|0;c[w>>2]=q;w=c[n>>2]|0;if((w|0)==0){a[j]=0}else if((w|0)==1){a[j]=1}else{a[j]=1;c[h>>2]=4}c[b>>2]=q;i=k;return}iB(r,g);q=r|0;r=c[q>>2]|0;if(!((c[13352]|0)==-1)){c[m>>2]=53408;c[m+4>>2]=52;c[m+8>>2]=0;FA(53408,m,380)}m=(c[13353]|0)-1|0;w=c[r+8>>2]|0;do{if((c[r+12>>2]|0)-w>>2>>>0>m>>>0){n=c[w+(m<<2)>>2]|0;if((n|0)==0){break}o=n;kA(c[q>>2]|0)|0;iB(s,g);n=s|0;p=c[n>>2]|0;if(!((c[13256]|0)==-1)){c[l>>2]=53024;c[l+4>>2]=52;c[l+8>>2]=0;FA(53024,l,380)}d=(c[13257]|0)-1|0;v=c[p+8>>2]|0;do{if((c[p+12>>2]|0)-v>>2>>>0>d>>>0){x=c[v+(d<<2)>>2]|0;if((x|0)==0){break}y=x;kA(c[n>>2]|0)|0;z=t|0;A=x;bd[c[(c[A>>2]|0)+24>>2]&255](z,y);bd[c[(c[A>>2]|0)+28>>2]&255](t+12|0,y);c[u>>2]=c[f>>2];a[j]=(hD(e,u,z,t+24|0,o,h,1)|0)==(z|0)|0;c[b>>2]=c[e>>2];YA(t+12|0);YA(t|0);i=k;return}}while(0);o=Nc(4)|0;DJ(o);Vb(o|0,43976,614)}}while(0);k=Nc(4)|0;DJ(k);Vb(k|0,43976,614)}function hD(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;k=i;i=i+104|0;l=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[l>>2];l=(f-e|0)/12|0;m=k|0;do{if(l>>>0>100>>>0){n=aK(l)|0;if((n|0)!=0){o=n;p=n;break}nK();o=0;p=0}else{o=m;p=0}}while(0);m=(e|0)==(f|0);if(m){q=l;r=0}else{n=l;l=0;s=o;t=e;while(1){u=a[t]|0;if((u&1)==0){v=(u&255)>>>1}else{v=c[t+4>>2]|0}if((v|0)==0){a[s]=2;w=l+1|0;x=n-1|0}else{a[s]=1;w=l;x=n}u=t+12|0;if((u|0)==(f|0)){q=x;r=w;break}else{n=x;l=w;s=s+1|0;t=u}}}t=b|0;b=d|0;d=g;s=0;w=r;r=q;a:while(1){q=c[t>>2]|0;do{if((q|0)==0){y=1}else{l=c[q+12>>2]|0;if((l|0)==(c[q+16>>2]|0)){z=dd[c[(c[q>>2]|0)+36>>2]&255](q)|0}else{z=c[l>>2]|0}if((z|0)==-1){c[t>>2]=0;y=1;break}else{y=(c[t>>2]|0)==0;break}}}while(0);q=c[b>>2]|0;do{if((q|0)==0){A=1;B=0}else{l=c[q+12>>2]|0;if((l|0)==(c[q+16>>2]|0)){C=dd[c[(c[q>>2]|0)+36>>2]&255](q)|0}else{C=c[l>>2]|0}if(!((C|0)==-1)){A=0;B=q;break}c[b>>2]=0;A=1;B=0}}while(0);D=c[t>>2]|0;if(!((y^A)&(r|0)!=0)){break}q=c[D+12>>2]|0;if((q|0)==(c[D+16>>2]|0)){E=dd[c[(c[D>>2]|0)+36>>2]&255](D)|0}else{E=c[q>>2]|0}if(j){F=E}else{F=qd[c[(c[d>>2]|0)+28>>2]&255](g,E)|0}q=s+1|0;if(m){s=q;w=w;r=r;continue}b:do{if(j){l=r;x=w;n=o;v=0;u=e;while(1){do{if((a[n]|0)==1){G=a[u]|0;H=(G&1)==0;if(H){I=u+4|0}else{I=c[u+8>>2]|0}if((F|0)!=(c[I+(s<<2)>>2]|0)){a[n]=0;J=v;K=x;L=l-1|0;break}if(H){M=(G&255)>>>1}else{M=c[u+4>>2]|0}if((M|0)!=(q|0)){J=1;K=x;L=l;break}a[n]=2;J=1;K=x+1|0;L=l-1|0}else{J=v;K=x;L=l}}while(0);G=u+12|0;if((G|0)==(f|0)){N=L;O=K;P=J;break b}l=L;x=K;n=n+1|0;v=J;u=G}}else{u=r;v=w;n=o;x=0;l=e;while(1){do{if((a[n]|0)==1){G=l;if((a[G]&1)==0){Q=l+4|0}else{Q=c[l+8>>2]|0}if((F|0)!=(qd[c[(c[d>>2]|0)+28>>2]&255](g,c[Q+(s<<2)>>2]|0)|0)){a[n]=0;R=x;S=v;T=u-1|0;break}H=a[G]|0;if((H&1)==0){U=(H&255)>>>1}else{U=c[l+4>>2]|0}if((U|0)!=(q|0)){R=1;S=v;T=u;break}a[n]=2;R=1;S=v+1|0;T=u-1|0}else{R=x;S=v;T=u}}while(0);H=l+12|0;if((H|0)==(f|0)){N=T;O=S;P=R;break b}u=T;v=S;n=n+1|0;x=R;l=H}}}while(0);if(!P){s=q;w=O;r=N;continue}l=c[t>>2]|0;x=l+12|0;n=c[x>>2]|0;if((n|0)==(c[l+16>>2]|0)){dd[c[(c[l>>2]|0)+40>>2]&255](l)|0}else{c[x>>2]=n+4}if((N+O|0)>>>0<2>>>0){s=q;w=O;r=N;continue}else{V=O;W=o;X=e}while(1){do{if((a[W]|0)==2){n=a[X]|0;if((n&1)==0){Y=(n&255)>>>1}else{Y=c[X+4>>2]|0}if((Y|0)==(q|0)){Z=V;break}a[W]=0;Z=V-1|0}else{Z=V}}while(0);n=X+12|0;if((n|0)==(f|0)){s=q;w=Z;r=N;continue a}else{V=Z;W=W+1|0;X=n}}}do{if((D|0)==0){_=1}else{X=c[D+12>>2]|0;if((X|0)==(c[D+16>>2]|0)){$=dd[c[(c[D>>2]|0)+36>>2]&255](D)|0}else{$=c[X>>2]|0}if(($|0)==-1){c[t>>2]=0;_=1;break}else{_=(c[t>>2]|0)==0;break}}}while(0);do{if((B|0)==0){aa=93}else{t=c[B+12>>2]|0;if((t|0)==(c[B+16>>2]|0)){ba=dd[c[(c[B>>2]|0)+36>>2]&255](B)|0}else{ba=c[t>>2]|0}if((ba|0)==-1){c[b>>2]=0;aa=93;break}else{if(_){break}else{aa=95;break}}}}while(0);if((aa|0)==93){if(_){aa=95}}if((aa|0)==95){c[h>>2]=c[h>>2]|2}c:do{if(m){aa=100}else{_=o;b=e;while(1){if((a[_]|0)==2){ca=b;break c}ba=b+12|0;if((ba|0)==(f|0)){aa=100;break c}_=_+1|0;b=ba}}}while(0);if((aa|0)==100){c[h>>2]=c[h>>2]|4;ca=f}if((p|0)==0){i=k;return ca|0}bK(p);i=k;return ca|0}function iD(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;b=i;i=i+16|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];jD(a,0,j,k,f,g,h);i=b;return}function jD(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;d=i;i=i+328|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[k>>2];k=d|0;l=d+104|0;m=d+112|0;n=d+128|0;o=d+144|0;p=d+152|0;q=d+312|0;r=d+320|0;s=c[g+4>>2]&74;if((s|0)==0){t=0}else if((s|0)==64){t=8}else if((s|0)==8){t=16}else{t=10}s=k|0;FD(m,g,s,l);g=n;DK(g|0,0,12)|0;PA(n,10,0);if((a[g]&1)==0){k=n+1|0;u=k;v=k;w=n+8|0}else{k=n+8|0;u=c[k>>2]|0;v=n+1|0;w=k}c[o>>2]=u;k=p|0;c[q>>2]=k;c[r>>2]=0;x=e|0;e=f|0;f=n|0;y=n+4|0;z=c[l>>2]|0;l=u;u=c[x>>2]|0;a:while(1){do{if((u|0)==0){A=1;B=0}else{C=c[u+12>>2]|0;if((C|0)==(c[u+16>>2]|0)){D=dd[c[(c[u>>2]|0)+36>>2]&255](u)|0}else{D=c[C>>2]|0}if(!((D|0)==-1)){A=0;B=u;break}c[x>>2]=0;A=1;B=0}}while(0);C=c[e>>2]|0;do{if((C|0)==0){E=22}else{F=c[C+12>>2]|0;if((F|0)==(c[C+16>>2]|0)){G=dd[c[(c[C>>2]|0)+36>>2]&255](C)|0}else{G=c[F>>2]|0}if((G|0)==-1){c[e>>2]=0;E=22;break}else{if(A){H=C;break}else{I=l;J=C;break a}}}}while(0);if((E|0)==22){E=0;if(A){I=l;J=0;break}else{H=0}}C=a[g]|0;F=(C&1)==0;if(F){K=(C&255)>>>1}else{K=c[y>>2]|0}if(((c[o>>2]|0)-l|0)==(K|0)){if(F){L=(C&255)>>>1;M=(C&255)>>>1}else{C=c[y>>2]|0;L=C;M=C}PA(n,L<<1,0);if((a[g]&1)==0){N=10}else{N=(c[f>>2]&-2)-1|0}PA(n,N,0);if((a[g]&1)==0){O=v}else{O=c[w>>2]|0}c[o>>2]=O+M;P=O}else{P=l}C=B+12|0;F=c[C>>2]|0;Q=B+16|0;if((F|0)==(c[Q>>2]|0)){R=dd[c[(c[B>>2]|0)+36>>2]&255](B)|0}else{R=c[F>>2]|0}if((BD(R,t,P,o,r,z,m,k,q,s)|0)!=0){I=P;J=H;break}F=c[C>>2]|0;if((F|0)==(c[Q>>2]|0)){dd[c[(c[B>>2]|0)+40>>2]&255](B)|0;l=P;u=B;continue}else{c[C>>2]=F+4;l=P;u=B;continue}}u=a[m]|0;if((u&1)==0){S=(u&255)>>>1}else{S=c[m+4>>2]|0}do{if((S|0)!=0){u=c[q>>2]|0;if((u-p|0)>=160){break}P=c[r>>2]|0;c[q>>2]=u+4;c[u>>2]=P}}while(0);c[j>>2]=yI(I,c[o>>2]|0,h,t)|0;PF(m,k,c[q>>2]|0,h);do{if((B|0)==0){T=1;U=0}else{q=c[B+12>>2]|0;if((q|0)==(c[B+16>>2]|0)){V=dd[c[(c[B>>2]|0)+36>>2]&255](B)|0}else{V=c[q>>2]|0}if(!((V|0)==-1)){T=0;U=B;break}c[x>>2]=0;T=1;U=0}}while(0);do{if((J|0)==0){E=67}else{x=c[J+12>>2]|0;if((x|0)==(c[J+16>>2]|0)){W=dd[c[(c[J>>2]|0)+36>>2]&255](J)|0}else{W=c[x>>2]|0}if((W|0)==-1){c[e>>2]=0;E=67;break}if(!T){break}X=b|0;c[X>>2]=U;MA(n);MA(m);i=d;return}}while(0);do{if((E|0)==67){if(T){break}X=b|0;c[X>>2]=U;MA(n);MA(m);i=d;return}}while(0);c[h>>2]=c[h>>2]|2;X=b|0;c[X>>2]=U;MA(n);MA(m);i=d;return}function kD(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;b=i;i=i+16|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];lD(a,0,j,k,f,g,h);i=b;return}function lD(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;d=i;i=i+328|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[k>>2];k=d|0;l=d+104|0;m=d+112|0;n=d+128|0;o=d+144|0;p=d+152|0;q=d+312|0;r=d+320|0;s=c[g+4>>2]&74;if((s|0)==64){t=8}else if((s|0)==8){t=16}else if((s|0)==0){t=0}else{t=10}s=k|0;FD(m,g,s,l);g=n;DK(g|0,0,12)|0;PA(n,10,0);if((a[g]&1)==0){k=n+1|0;u=k;v=k;w=n+8|0}else{k=n+8|0;u=c[k>>2]|0;v=n+1|0;w=k}c[o>>2]=u;k=p|0;c[q>>2]=k;c[r>>2]=0;x=e|0;e=f|0;f=n|0;y=n+4|0;z=c[l>>2]|0;l=u;u=c[x>>2]|0;a:while(1){do{if((u|0)==0){A=1;B=0}else{C=c[u+12>>2]|0;if((C|0)==(c[u+16>>2]|0)){D=dd[c[(c[u>>2]|0)+36>>2]&255](u)|0}else{D=c[C>>2]|0}if(!((D|0)==-1)){A=0;B=u;break}c[x>>2]=0;A=1;B=0}}while(0);C=c[e>>2]|0;do{if((C|0)==0){E=22}else{F=c[C+12>>2]|0;if((F|0)==(c[C+16>>2]|0)){G=dd[c[(c[C>>2]|0)+36>>2]&255](C)|0}else{G=c[F>>2]|0}if((G|0)==-1){c[e>>2]=0;E=22;break}else{if(A){H=C;break}else{I=l;J=C;break a}}}}while(0);if((E|0)==22){E=0;if(A){I=l;J=0;break}else{H=0}}C=a[g]|0;F=(C&1)==0;if(F){K=(C&255)>>>1}else{K=c[y>>2]|0}if(((c[o>>2]|0)-l|0)==(K|0)){if(F){L=(C&255)>>>1;N=(C&255)>>>1}else{C=c[y>>2]|0;L=C;N=C}PA(n,L<<1,0);if((a[g]&1)==0){O=10}else{O=(c[f>>2]&-2)-1|0}PA(n,O,0);if((a[g]&1)==0){P=v}else{P=c[w>>2]|0}c[o>>2]=P+N;Q=P}else{Q=l}C=B+12|0;F=c[C>>2]|0;R=B+16|0;if((F|0)==(c[R>>2]|0)){S=dd[c[(c[B>>2]|0)+36>>2]&255](B)|0}else{S=c[F>>2]|0}if((BD(S,t,Q,o,r,z,m,k,q,s)|0)!=0){I=Q;J=H;break}F=c[C>>2]|0;if((F|0)==(c[R>>2]|0)){dd[c[(c[B>>2]|0)+40>>2]&255](B)|0;l=Q;u=B;continue}else{c[C>>2]=F+4;l=Q;u=B;continue}}u=a[m]|0;if((u&1)==0){T=(u&255)>>>1}else{T=c[m+4>>2]|0}do{if((T|0)!=0){u=c[q>>2]|0;if((u-p|0)>=160){break}Q=c[r>>2]|0;c[q>>2]=u+4;c[u>>2]=Q}}while(0);r=xI(I,c[o>>2]|0,h,t)|0;c[j>>2]=r;c[j+4>>2]=M;PF(m,k,c[q>>2]|0,h);do{if((B|0)==0){U=1;V=0}else{q=c[B+12>>2]|0;if((q|0)==(c[B+16>>2]|0)){W=dd[c[(c[B>>2]|0)+36>>2]&255](B)|0}else{W=c[q>>2]|0}if(!((W|0)==-1)){U=0;V=B;break}c[x>>2]=0;U=1;V=0}}while(0);do{if((J|0)==0){E=67}else{x=c[J+12>>2]|0;if((x|0)==(c[J+16>>2]|0)){X=dd[c[(c[J>>2]|0)+36>>2]&255](J)|0}else{X=c[x>>2]|0}if((X|0)==-1){c[e>>2]=0;E=67;break}if(!U){break}Y=b|0;c[Y>>2]=V;MA(n);MA(m);i=d;return}}while(0);do{if((E|0)==67){if(U){break}Y=b|0;c[Y>>2]=V;MA(n);MA(m);i=d;return}}while(0);c[h>>2]=c[h>>2]|2;Y=b|0;c[Y>>2]=V;MA(n);MA(m);i=d;return}function mD(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;b=i;i=i+16|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];nD(a,0,j,k,f,g,h);i=b;return}function nD(d,e,f,g,h,j,k){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,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=i;i=i+328|0;l=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[l>>2];l=g;g=i;i=i+4|0;i=i+7&-8;c[g>>2]=c[l>>2];l=e|0;m=e+104|0;n=e+112|0;o=e+128|0;p=e+144|0;q=e+152|0;r=e+312|0;s=e+320|0;t=c[h+4>>2]&74;if((t|0)==0){u=0}else if((t|0)==64){u=8}else if((t|0)==8){u=16}else{u=10}t=l|0;FD(n,h,t,m);h=o;DK(h|0,0,12)|0;PA(o,10,0);if((a[h]&1)==0){l=o+1|0;v=l;w=l;x=o+8|0}else{l=o+8|0;v=c[l>>2]|0;w=o+1|0;x=l}c[p>>2]=v;l=q|0;c[r>>2]=l;c[s>>2]=0;y=f|0;f=g|0;g=o|0;z=o+4|0;A=c[m>>2]|0;m=v;v=c[y>>2]|0;a:while(1){do{if((v|0)==0){B=1;C=0}else{D=c[v+12>>2]|0;if((D|0)==(c[v+16>>2]|0)){E=dd[c[(c[v>>2]|0)+36>>2]&255](v)|0}else{E=c[D>>2]|0}if(!((E|0)==-1)){B=0;C=v;break}c[y>>2]=0;B=1;C=0}}while(0);D=c[f>>2]|0;do{if((D|0)==0){F=22}else{G=c[D+12>>2]|0;if((G|0)==(c[D+16>>2]|0)){H=dd[c[(c[D>>2]|0)+36>>2]&255](D)|0}else{H=c[G>>2]|0}if((H|0)==-1){c[f>>2]=0;F=22;break}else{if(B){I=D;break}else{J=m;K=D;break a}}}}while(0);if((F|0)==22){F=0;if(B){J=m;K=0;break}else{I=0}}D=a[h]|0;G=(D&1)==0;if(G){L=(D&255)>>>1}else{L=c[z>>2]|0}if(((c[p>>2]|0)-m|0)==(L|0)){if(G){M=(D&255)>>>1;N=(D&255)>>>1}else{D=c[z>>2]|0;M=D;N=D}PA(o,M<<1,0);if((a[h]&1)==0){O=10}else{O=(c[g>>2]&-2)-1|0}PA(o,O,0);if((a[h]&1)==0){P=w}else{P=c[x>>2]|0}c[p>>2]=P+N;Q=P}else{Q=m}D=C+12|0;G=c[D>>2]|0;R=C+16|0;if((G|0)==(c[R>>2]|0)){S=dd[c[(c[C>>2]|0)+36>>2]&255](C)|0}else{S=c[G>>2]|0}if((BD(S,u,Q,p,s,A,n,l,r,t)|0)!=0){J=Q;K=I;break}G=c[D>>2]|0;if((G|0)==(c[R>>2]|0)){dd[c[(c[C>>2]|0)+40>>2]&255](C)|0;m=Q;v=C;continue}else{c[D>>2]=G+4;m=Q;v=C;continue}}v=a[n]|0;if((v&1)==0){T=(v&255)>>>1}else{T=c[n+4>>2]|0}do{if((T|0)!=0){v=c[r>>2]|0;if((v-q|0)>=160){break}Q=c[s>>2]|0;c[r>>2]=v+4;c[v>>2]=Q}}while(0);b[k>>1]=wI(J,c[p>>2]|0,j,u)|0;PF(n,l,c[r>>2]|0,j);do{if((C|0)==0){U=1;V=0}else{r=c[C+12>>2]|0;if((r|0)==(c[C+16>>2]|0)){W=dd[c[(c[C>>2]|0)+36>>2]&255](C)|0}else{W=c[r>>2]|0}if(!((W|0)==-1)){U=0;V=C;break}c[y>>2]=0;U=1;V=0}}while(0);do{if((K|0)==0){F=67}else{y=c[K+12>>2]|0;if((y|0)==(c[K+16>>2]|0)){X=dd[c[(c[K>>2]|0)+36>>2]&255](K)|0}else{X=c[y>>2]|0}if((X|0)==-1){c[f>>2]=0;F=67;break}if(!U){break}Y=d|0;c[Y>>2]=V;MA(o);MA(n);i=e;return}}while(0);do{if((F|0)==67){if(U){break}Y=d|0;c[Y>>2]=V;MA(o);MA(n);i=e;return}}while(0);c[j>>2]=c[j>>2]|2;Y=d|0;c[Y>>2]=V;MA(o);MA(n);i=e;return}function oD(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;b=i;i=i+16|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];pD(a,0,j,k,f,g,h);i=b;return}function pD(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;d=i;i=i+328|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[k>>2];k=d|0;l=d+104|0;m=d+112|0;n=d+128|0;o=d+144|0;p=d+152|0;q=d+312|0;r=d+320|0;s=c[g+4>>2]&74;if((s|0)==64){t=8}else if((s|0)==8){t=16}else if((s|0)==0){t=0}else{t=10}s=k|0;FD(m,g,s,l);g=n;DK(g|0,0,12)|0;PA(n,10,0);if((a[g]&1)==0){k=n+1|0;u=k;v=k;w=n+8|0}else{k=n+8|0;u=c[k>>2]|0;v=n+1|0;w=k}c[o>>2]=u;k=p|0;c[q>>2]=k;c[r>>2]=0;x=e|0;e=f|0;f=n|0;y=n+4|0;z=c[l>>2]|0;l=u;u=c[x>>2]|0;a:while(1){do{if((u|0)==0){A=1;B=0}else{C=c[u+12>>2]|0;if((C|0)==(c[u+16>>2]|0)){D=dd[c[(c[u>>2]|0)+36>>2]&255](u)|0}else{D=c[C>>2]|0}if(!((D|0)==-1)){A=0;B=u;break}c[x>>2]=0;A=1;B=0}}while(0);C=c[e>>2]|0;do{if((C|0)==0){E=22}else{F=c[C+12>>2]|0;if((F|0)==(c[C+16>>2]|0)){G=dd[c[(c[C>>2]|0)+36>>2]&255](C)|0}else{G=c[F>>2]|0}if((G|0)==-1){c[e>>2]=0;E=22;break}else{if(A){H=C;break}else{I=l;J=C;break a}}}}while(0);if((E|0)==22){E=0;if(A){I=l;J=0;break}else{H=0}}C=a[g]|0;F=(C&1)==0;if(F){K=(C&255)>>>1}else{K=c[y>>2]|0}if(((c[o>>2]|0)-l|0)==(K|0)){if(F){L=(C&255)>>>1;M=(C&255)>>>1}else{C=c[y>>2]|0;L=C;M=C}PA(n,L<<1,0);if((a[g]&1)==0){N=10}else{N=(c[f>>2]&-2)-1|0}PA(n,N,0);if((a[g]&1)==0){O=v}else{O=c[w>>2]|0}c[o>>2]=O+M;P=O}else{P=l}C=B+12|0;F=c[C>>2]|0;Q=B+16|0;if((F|0)==(c[Q>>2]|0)){R=dd[c[(c[B>>2]|0)+36>>2]&255](B)|0}else{R=c[F>>2]|0}if((BD(R,t,P,o,r,z,m,k,q,s)|0)!=0){I=P;J=H;break}F=c[C>>2]|0;if((F|0)==(c[Q>>2]|0)){dd[c[(c[B>>2]|0)+40>>2]&255](B)|0;l=P;u=B;continue}else{c[C>>2]=F+4;l=P;u=B;continue}}u=a[m]|0;if((u&1)==0){S=(u&255)>>>1}else{S=c[m+4>>2]|0}do{if((S|0)!=0){u=c[q>>2]|0;if((u-p|0)>=160){break}P=c[r>>2]|0;c[q>>2]=u+4;c[u>>2]=P}}while(0);c[j>>2]=vI(I,c[o>>2]|0,h,t)|0;PF(m,k,c[q>>2]|0,h);do{if((B|0)==0){T=1;U=0}else{q=c[B+12>>2]|0;if((q|0)==(c[B+16>>2]|0)){V=dd[c[(c[B>>2]|0)+36>>2]&255](B)|0}else{V=c[q>>2]|0}if(!((V|0)==-1)){T=0;U=B;break}c[x>>2]=0;T=1;U=0}}while(0);do{if((J|0)==0){E=67}else{x=c[J+12>>2]|0;if((x|0)==(c[J+16>>2]|0)){W=dd[c[(c[J>>2]|0)+36>>2]&255](J)|0}else{W=c[x>>2]|0}if((W|0)==-1){c[e>>2]=0;E=67;break}if(!T){break}X=b|0;c[X>>2]=U;MA(n);MA(m);i=d;return}}while(0);do{if((E|0)==67){if(T){break}X=b|0;c[X>>2]=U;MA(n);MA(m);i=d;return}}while(0);c[h>>2]=c[h>>2]|2;X=b|0;c[X>>2]=U;MA(n);MA(m);i=d;return}function qD(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;b=i;i=i+16|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];rD(a,0,j,k,f,g,h);i=b;return}function rD(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;d=i;i=i+328|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[k>>2];k=d|0;l=d+104|0;m=d+112|0;n=d+128|0;o=d+144|0;p=d+152|0;q=d+312|0;r=d+320|0;s=c[g+4>>2]&74;if((s|0)==0){t=0}else if((s|0)==64){t=8}else if((s|0)==8){t=16}else{t=10}s=k|0;FD(m,g,s,l);g=n;DK(g|0,0,12)|0;PA(n,10,0);if((a[g]&1)==0){k=n+1|0;u=k;v=k;w=n+8|0}else{k=n+8|0;u=c[k>>2]|0;v=n+1|0;w=k}c[o>>2]=u;k=p|0;c[q>>2]=k;c[r>>2]=0;x=e|0;e=f|0;f=n|0;y=n+4|0;z=c[l>>2]|0;l=u;u=c[x>>2]|0;a:while(1){do{if((u|0)==0){A=1;B=0}else{C=c[u+12>>2]|0;if((C|0)==(c[u+16>>2]|0)){D=dd[c[(c[u>>2]|0)+36>>2]&255](u)|0}else{D=c[C>>2]|0}if(!((D|0)==-1)){A=0;B=u;break}c[x>>2]=0;A=1;B=0}}while(0);C=c[e>>2]|0;do{if((C|0)==0){E=22}else{F=c[C+12>>2]|0;if((F|0)==(c[C+16>>2]|0)){G=dd[c[(c[C>>2]|0)+36>>2]&255](C)|0}else{G=c[F>>2]|0}if((G|0)==-1){c[e>>2]=0;E=22;break}else{if(A){H=C;break}else{I=l;J=C;break a}}}}while(0);if((E|0)==22){E=0;if(A){I=l;J=0;break}else{H=0}}C=a[g]|0;F=(C&1)==0;if(F){K=(C&255)>>>1}else{K=c[y>>2]|0}if(((c[o>>2]|0)-l|0)==(K|0)){if(F){L=(C&255)>>>1;M=(C&255)>>>1}else{C=c[y>>2]|0;L=C;M=C}PA(n,L<<1,0);if((a[g]&1)==0){N=10}else{N=(c[f>>2]&-2)-1|0}PA(n,N,0);if((a[g]&1)==0){O=v}else{O=c[w>>2]|0}c[o>>2]=O+M;P=O}else{P=l}C=B+12|0;F=c[C>>2]|0;Q=B+16|0;if((F|0)==(c[Q>>2]|0)){R=dd[c[(c[B>>2]|0)+36>>2]&255](B)|0}else{R=c[F>>2]|0}if((BD(R,t,P,o,r,z,m,k,q,s)|0)!=0){I=P;J=H;break}F=c[C>>2]|0;if((F|0)==(c[Q>>2]|0)){dd[c[(c[B>>2]|0)+40>>2]&255](B)|0;l=P;u=B;continue}else{c[C>>2]=F+4;l=P;u=B;continue}}u=a[m]|0;if((u&1)==0){S=(u&255)>>>1}else{S=c[m+4>>2]|0}do{if((S|0)!=0){u=c[q>>2]|0;if((u-p|0)>=160){break}P=c[r>>2]|0;c[q>>2]=u+4;c[u>>2]=P}}while(0);c[j>>2]=uI(I,c[o>>2]|0,h,t)|0;PF(m,k,c[q>>2]|0,h);do{if((B|0)==0){T=1;U=0}else{q=c[B+12>>2]|0;if((q|0)==(c[B+16>>2]|0)){V=dd[c[(c[B>>2]|0)+36>>2]&255](B)|0}else{V=c[q>>2]|0}if(!((V|0)==-1)){T=0;U=B;break}c[x>>2]=0;T=1;U=0}}while(0);do{if((J|0)==0){E=67}else{x=c[J+12>>2]|0;if((x|0)==(c[J+16>>2]|0)){W=dd[c[(c[J>>2]|0)+36>>2]&255](J)|0}else{W=c[x>>2]|0}if((W|0)==-1){c[e>>2]=0;E=67;break}if(!T){break}X=b|0;c[X>>2]=U;MA(n);MA(m);i=d;return}}while(0);do{if((E|0)==67){if(T){break}X=b|0;c[X>>2]=U;MA(n);MA(m);i=d;return}}while(0);c[h>>2]=c[h>>2]|2;X=b|0;c[X>>2]=U;MA(n);MA(m);i=d;return}function sD(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;b=i;i=i+16|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];tD(a,0,j,k,f,g,h);i=b;return}function tD(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;d=i;i=i+328|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[k>>2];k=d|0;l=d+104|0;m=d+112|0;n=d+128|0;o=d+144|0;p=d+152|0;q=d+312|0;r=d+320|0;s=c[g+4>>2]&74;if((s|0)==0){t=0}else if((s|0)==8){t=16}else if((s|0)==64){t=8}else{t=10}s=k|0;FD(m,g,s,l);g=n;DK(g|0,0,12)|0;PA(n,10,0);if((a[g]&1)==0){k=n+1|0;u=k;v=k;w=n+8|0}else{k=n+8|0;u=c[k>>2]|0;v=n+1|0;w=k}c[o>>2]=u;k=p|0;c[q>>2]=k;c[r>>2]=0;x=e|0;e=f|0;f=n|0;y=n+4|0;z=c[l>>2]|0;l=u;u=c[x>>2]|0;a:while(1){do{if((u|0)==0){A=1;B=0}else{C=c[u+12>>2]|0;if((C|0)==(c[u+16>>2]|0)){D=dd[c[(c[u>>2]|0)+36>>2]&255](u)|0}else{D=c[C>>2]|0}if(!((D|0)==-1)){A=0;B=u;break}c[x>>2]=0;A=1;B=0}}while(0);C=c[e>>2]|0;do{if((C|0)==0){E=22}else{F=c[C+12>>2]|0;if((F|0)==(c[C+16>>2]|0)){G=dd[c[(c[C>>2]|0)+36>>2]&255](C)|0}else{G=c[F>>2]|0}if((G|0)==-1){c[e>>2]=0;E=22;break}else{if(A){H=C;break}else{I=l;J=C;break a}}}}while(0);if((E|0)==22){E=0;if(A){I=l;J=0;break}else{H=0}}C=a[g]|0;F=(C&1)==0;if(F){K=(C&255)>>>1}else{K=c[y>>2]|0}if(((c[o>>2]|0)-l|0)==(K|0)){if(F){L=(C&255)>>>1;N=(C&255)>>>1}else{C=c[y>>2]|0;L=C;N=C}PA(n,L<<1,0);if((a[g]&1)==0){O=10}else{O=(c[f>>2]&-2)-1|0}PA(n,O,0);if((a[g]&1)==0){P=v}else{P=c[w>>2]|0}c[o>>2]=P+N;Q=P}else{Q=l}C=B+12|0;F=c[C>>2]|0;R=B+16|0;if((F|0)==(c[R>>2]|0)){S=dd[c[(c[B>>2]|0)+36>>2]&255](B)|0}else{S=c[F>>2]|0}if((BD(S,t,Q,o,r,z,m,k,q,s)|0)!=0){I=Q;J=H;break}F=c[C>>2]|0;if((F|0)==(c[R>>2]|0)){dd[c[(c[B>>2]|0)+40>>2]&255](B)|0;l=Q;u=B;continue}else{c[C>>2]=F+4;l=Q;u=B;continue}}u=a[m]|0;if((u&1)==0){T=(u&255)>>>1}else{T=c[m+4>>2]|0}do{if((T|0)!=0){u=c[q>>2]|0;if((u-p|0)>=160){break}Q=c[r>>2]|0;c[q>>2]=u+4;c[u>>2]=Q}}while(0);r=tI(I,c[o>>2]|0,h,t)|0;c[j>>2]=r;c[j+4>>2]=M;PF(m,k,c[q>>2]|0,h);do{if((B|0)==0){U=1;V=0}else{q=c[B+12>>2]|0;if((q|0)==(c[B+16>>2]|0)){W=dd[c[(c[B>>2]|0)+36>>2]&255](B)|0}else{W=c[q>>2]|0}if(!((W|0)==-1)){U=0;V=B;break}c[x>>2]=0;U=1;V=0}}while(0);do{if((J|0)==0){E=67}else{x=c[J+12>>2]|0;if((x|0)==(c[J+16>>2]|0)){X=dd[c[(c[J>>2]|0)+36>>2]&255](J)|0}else{X=c[x>>2]|0}if((X|0)==-1){c[e>>2]=0;E=67;break}if(!U){break}Y=b|0;c[Y>>2]=V;MA(n);MA(m);i=d;return}}while(0);do{if((E|0)==67){if(U){break}Y=b|0;c[Y>>2]=V;MA(n);MA(m);i=d;return}}while(0);c[h>>2]=c[h>>2]|2;Y=b|0;c[Y>>2]=V;MA(n);MA(m);i=d;return}function uD(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;b=i;i=i+16|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];vD(a,0,j,k,f,g,h);i=b;return}function vD(b,d,e,f,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,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;d=i;i=i+376|0;l=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[l>>2];l=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[l>>2];l=d+128|0;m=d+136|0;n=d+144|0;o=d+160|0;p=d+176|0;q=d+184|0;r=d+344|0;s=d+352|0;t=d+360|0;u=d+368|0;v=d|0;GD(n,h,v,l,m);h=o;DK(h|0,0,12)|0;PA(o,10,0);if((a[h]&1)==0){w=o+1|0;x=w;y=w;z=o+8|0}else{w=o+8|0;x=c[w>>2]|0;y=o+1|0;z=w}c[p>>2]=x;w=q|0;c[r>>2]=w;c[s>>2]=0;a[t]=1;a[u]=69;A=e|0;e=f|0;f=o|0;B=o+4|0;C=c[l>>2]|0;l=c[m>>2]|0;m=x;x=c[A>>2]|0;a:while(1){do{if((x|0)==0){D=1;E=0}else{F=c[x+12>>2]|0;if((F|0)==(c[x+16>>2]|0)){G=dd[c[(c[x>>2]|0)+36>>2]&255](x)|0}else{G=c[F>>2]|0}if(!((G|0)==-1)){D=0;E=x;break}c[A>>2]=0;D=1;E=0}}while(0);F=c[e>>2]|0;do{if((F|0)==0){H=18}else{I=c[F+12>>2]|0;if((I|0)==(c[F+16>>2]|0)){J=dd[c[(c[F>>2]|0)+36>>2]&255](F)|0}else{J=c[I>>2]|0}if((J|0)==-1){c[e>>2]=0;H=18;break}else{if(D){K=F;break}else{L=m;M=F;break a}}}}while(0);if((H|0)==18){H=0;if(D){L=m;M=0;break}else{K=0}}F=a[h]|0;I=(F&1)==0;if(I){N=(F&255)>>>1}else{N=c[B>>2]|0}if(((c[p>>2]|0)-m|0)==(N|0)){if(I){O=(F&255)>>>1;P=(F&255)>>>1}else{F=c[B>>2]|0;O=F;P=F}PA(o,O<<1,0);if((a[h]&1)==0){Q=10}else{Q=(c[f>>2]&-2)-1|0}PA(o,Q,0);if((a[h]&1)==0){R=y}else{R=c[z>>2]|0}c[p>>2]=R+P;S=R}else{S=m}F=E+12|0;I=c[F>>2]|0;T=E+16|0;if((I|0)==(c[T>>2]|0)){U=dd[c[(c[E>>2]|0)+36>>2]&255](E)|0}else{U=c[I>>2]|0}if((HD(U,t,u,S,p,C,l,n,w,r,s,v)|0)!=0){L=S;M=K;break}I=c[F>>2]|0;if((I|0)==(c[T>>2]|0)){dd[c[(c[E>>2]|0)+40>>2]&255](E)|0;m=S;x=E;continue}else{c[F>>2]=I+4;m=S;x=E;continue}}x=a[n]|0;if((x&1)==0){V=(x&255)>>>1}else{V=c[n+4>>2]|0}do{if((V|0)!=0){if((a[t]|0)==0){break}x=c[r>>2]|0;if((x-q|0)>=160){break}S=c[s>>2]|0;c[r>>2]=x+4;c[x>>2]=S}}while(0);g[k>>2]=+sI(L,c[p>>2]|0,j);PF(n,w,c[r>>2]|0,j);do{if((E|0)==0){W=1;X=0}else{r=c[E+12>>2]|0;if((r|0)==(c[E+16>>2]|0)){Y=dd[c[(c[E>>2]|0)+36>>2]&255](E)|0}else{Y=c[r>>2]|0}if(!((Y|0)==-1)){W=0;X=E;break}c[A>>2]=0;W=1;X=0}}while(0);do{if((M|0)==0){H=64}else{A=c[M+12>>2]|0;if((A|0)==(c[M+16>>2]|0)){Z=dd[c[(c[M>>2]|0)+36>>2]&255](M)|0}else{Z=c[A>>2]|0}if((Z|0)==-1){c[e>>2]=0;H=64;break}if(!W){break}_=b|0;c[_>>2]=X;MA(o);MA(n);i=d;return}}while(0);do{if((H|0)==64){if(W){break}_=b|0;c[_>>2]=X;MA(o);MA(n);i=d;return}}while(0);c[j>>2]=c[j>>2]|2;_=b|0;c[_>>2]=X;MA(o);MA(n);i=d;return}function wD(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;b=i;i=i+16|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];xD(a,0,j,k,f,g,h);i=b;return}function xD(b,d,e,f,g,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,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;d=i;i=i+376|0;l=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[l>>2];l=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[l>>2];l=d+128|0;m=d+136|0;n=d+144|0;o=d+160|0;p=d+176|0;q=d+184|0;r=d+344|0;s=d+352|0;t=d+360|0;u=d+368|0;v=d|0;GD(n,g,v,l,m);g=o;DK(g|0,0,12)|0;PA(o,10,0);if((a[g]&1)==0){w=o+1|0;x=w;y=w;z=o+8|0}else{w=o+8|0;x=c[w>>2]|0;y=o+1|0;z=w}c[p>>2]=x;w=q|0;c[r>>2]=w;c[s>>2]=0;a[t]=1;a[u]=69;A=e|0;e=f|0;f=o|0;B=o+4|0;C=c[l>>2]|0;l=c[m>>2]|0;m=x;x=c[A>>2]|0;a:while(1){do{if((x|0)==0){D=1;E=0}else{F=c[x+12>>2]|0;if((F|0)==(c[x+16>>2]|0)){G=dd[c[(c[x>>2]|0)+36>>2]&255](x)|0}else{G=c[F>>2]|0}if(!((G|0)==-1)){D=0;E=x;break}c[A>>2]=0;D=1;E=0}}while(0);F=c[e>>2]|0;do{if((F|0)==0){H=18}else{I=c[F+12>>2]|0;if((I|0)==(c[F+16>>2]|0)){J=dd[c[(c[F>>2]|0)+36>>2]&255](F)|0}else{J=c[I>>2]|0}if((J|0)==-1){c[e>>2]=0;H=18;break}else{if(D){K=F;break}else{L=m;M=F;break a}}}}while(0);if((H|0)==18){H=0;if(D){L=m;M=0;break}else{K=0}}F=a[g]|0;I=(F&1)==0;if(I){N=(F&255)>>>1}else{N=c[B>>2]|0}if(((c[p>>2]|0)-m|0)==(N|0)){if(I){O=(F&255)>>>1;P=(F&255)>>>1}else{F=c[B>>2]|0;O=F;P=F}PA(o,O<<1,0);if((a[g]&1)==0){Q=10}else{Q=(c[f>>2]&-2)-1|0}PA(o,Q,0);if((a[g]&1)==0){R=y}else{R=c[z>>2]|0}c[p>>2]=R+P;S=R}else{S=m}F=E+12|0;I=c[F>>2]|0;T=E+16|0;if((I|0)==(c[T>>2]|0)){U=dd[c[(c[E>>2]|0)+36>>2]&255](E)|0}else{U=c[I>>2]|0}if((HD(U,t,u,S,p,C,l,n,w,r,s,v)|0)!=0){L=S;M=K;break}I=c[F>>2]|0;if((I|0)==(c[T>>2]|0)){dd[c[(c[E>>2]|0)+40>>2]&255](E)|0;m=S;x=E;continue}else{c[F>>2]=I+4;m=S;x=E;continue}}x=a[n]|0;if((x&1)==0){V=(x&255)>>>1}else{V=c[n+4>>2]|0}do{if((V|0)!=0){if((a[t]|0)==0){break}x=c[r>>2]|0;if((x-q|0)>=160){break}S=c[s>>2]|0;c[r>>2]=x+4;c[x>>2]=S}}while(0);h[k>>3]=+rI(L,c[p>>2]|0,j);PF(n,w,c[r>>2]|0,j);do{if((E|0)==0){W=1;X=0}else{r=c[E+12>>2]|0;if((r|0)==(c[E+16>>2]|0)){Y=dd[c[(c[E>>2]|0)+36>>2]&255](E)|0}else{Y=c[r>>2]|0}if(!((Y|0)==-1)){W=0;X=E;break}c[A>>2]=0;W=1;X=0}}while(0);do{if((M|0)==0){H=64}else{A=c[M+12>>2]|0;if((A|0)==(c[M+16>>2]|0)){Z=dd[c[(c[M>>2]|0)+36>>2]&255](M)|0}else{Z=c[A>>2]|0}if((Z|0)==-1){c[e>>2]=0;H=64;break}if(!W){break}_=b|0;c[_>>2]=X;MA(o);MA(n);i=d;return}}while(0);do{if((H|0)==64){if(W){break}_=b|0;c[_>>2]=X;MA(o);MA(n);i=d;return}}while(0);c[j>>2]=c[j>>2]|2;_=b|0;c[_>>2]=X;MA(o);MA(n);i=d;return}function yD(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;b=i;i=i+16|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;c[j>>2]=c[d>>2];c[k>>2]=c[e>>2];zD(a,0,j,k,f,g,h);i=b;return}function zD(b,d,e,f,g,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,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;d=i;i=i+376|0;l=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[l>>2];l=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[l>>2];l=d+128|0;m=d+136|0;n=d+144|0;o=d+160|0;p=d+176|0;q=d+184|0;r=d+344|0;s=d+352|0;t=d+360|0;u=d+368|0;v=d|0;GD(n,g,v,l,m);g=o;DK(g|0,0,12)|0;PA(o,10,0);if((a[g]&1)==0){w=o+1|0;x=w;y=w;z=o+8|0}else{w=o+8|0;x=c[w>>2]|0;y=o+1|0;z=w}c[p>>2]=x;w=q|0;c[r>>2]=w;c[s>>2]=0;a[t]=1;a[u]=69;A=e|0;e=f|0;f=o|0;B=o+4|0;C=c[l>>2]|0;l=c[m>>2]|0;m=x;x=c[A>>2]|0;a:while(1){do{if((x|0)==0){D=1;E=0}else{F=c[x+12>>2]|0;if((F|0)==(c[x+16>>2]|0)){G=dd[c[(c[x>>2]|0)+36>>2]&255](x)|0}else{G=c[F>>2]|0}if(!((G|0)==-1)){D=0;E=x;break}c[A>>2]=0;D=1;E=0}}while(0);F=c[e>>2]|0;do{if((F|0)==0){H=18}else{I=c[F+12>>2]|0;if((I|0)==(c[F+16>>2]|0)){J=dd[c[(c[F>>2]|0)+36>>2]&255](F)|0}else{J=c[I>>2]|0}if((J|0)==-1){c[e>>2]=0;H=18;break}else{if(D){K=F;break}else{L=m;M=F;break a}}}}while(0);if((H|0)==18){H=0;if(D){L=m;M=0;break}else{K=0}}F=a[g]|0;I=(F&1)==0;if(I){N=(F&255)>>>1}else{N=c[B>>2]|0}if(((c[p>>2]|0)-m|0)==(N|0)){if(I){O=(F&255)>>>1;P=(F&255)>>>1}else{F=c[B>>2]|0;O=F;P=F}PA(o,O<<1,0);if((a[g]&1)==0){Q=10}else{Q=(c[f>>2]&-2)-1|0}PA(o,Q,0);if((a[g]&1)==0){R=y}else{R=c[z>>2]|0}c[p>>2]=R+P;S=R}else{S=m}F=E+12|0;I=c[F>>2]|0;T=E+16|0;if((I|0)==(c[T>>2]|0)){U=dd[c[(c[E>>2]|0)+36>>2]&255](E)|0}else{U=c[I>>2]|0}if((HD(U,t,u,S,p,C,l,n,w,r,s,v)|0)!=0){L=S;M=K;break}I=c[F>>2]|0;if((I|0)==(c[T>>2]|0)){dd[c[(c[E>>2]|0)+40>>2]&255](E)|0;m=S;x=E;continue}else{c[F>>2]=I+4;m=S;x=E;continue}}x=a[n]|0;if((x&1)==0){V=(x&255)>>>1}else{V=c[n+4>>2]|0}do{if((V|0)!=0){if((a[t]|0)==0){break}x=c[r>>2]|0;if((x-q|0)>=160){break}S=c[s>>2]|0;c[r>>2]=x+4;c[x>>2]=S}}while(0);h[k>>3]=+qI(L,c[p>>2]|0,j);PF(n,w,c[r>>2]|0,j);do{if((E|0)==0){W=1;X=0}else{r=c[E+12>>2]|0;if((r|0)==(c[E+16>>2]|0)){Y=dd[c[(c[E>>2]|0)+36>>2]&255](E)|0}else{Y=c[r>>2]|0}if(!((Y|0)==-1)){W=0;X=E;break}c[A>>2]=0;W=1;X=0}}while(0);do{if((M|0)==0){H=64}else{A=c[M+12>>2]|0;if((A|0)==(c[M+16>>2]|0)){Z=dd[c[(c[M>>2]|0)+36>>2]&255](M)|0}else{Z=c[A>>2]|0}if((Z|0)==-1){c[e>>2]=0;H=64;break}if(!W){break}_=b|0;c[_>>2]=X;MA(o);MA(n);i=d;return}}while(0);do{if((H|0)==64){if(W){break}_=b|0;c[_>>2]=X;MA(o);MA(n);i=d;return}}while(0);c[j>>2]=c[j>>2]|2;_=b|0;c[_>>2]=X;MA(o);MA(n);i=d;return}function AD(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;d=i;i=i+344|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[k>>2];k=d|0;l=d+16|0;m=d+120|0;n=d+136|0;o=d+144|0;p=d+160|0;q=d+168|0;r=d+328|0;s=d+336|0;DK(m|0,0,12)|0;iB(n,g);g=n|0;n=c[g>>2]|0;if(!((c[13352]|0)==-1)){c[k>>2]=53408;c[k+4>>2]=52;c[k+8>>2]=0;FA(53408,k,380)}k=(c[13353]|0)-1|0;t=c[n+8>>2]|0;do{if((c[n+12>>2]|0)-t>>2>>>0>k>>>0){u=c[t+(k<<2)>>2]|0;if((u|0)==0){break}v=l|0;sd[c[(c[u>>2]|0)+48>>2]&15](u,48272,48298,v)|0;kA(c[g>>2]|0)|0;u=o;DK(u|0,0,12)|0;PA(o,10,0);if((a[u]&1)==0){w=o+1|0;x=w;y=w;z=o+8|0}else{w=o+8|0;x=c[w>>2]|0;y=o+1|0;z=w}c[p>>2]=x;w=q|0;c[r>>2]=w;c[s>>2]=0;A=e|0;B=f|0;C=o|0;D=o+4|0;E=x;F=c[A>>2]|0;a:while(1){do{if((F|0)==0){G=1;H=0}else{I=c[F+12>>2]|0;if((I|0)==(c[F+16>>2]|0)){J=dd[c[(c[F>>2]|0)+36>>2]&255](F)|0}else{J=c[I>>2]|0}if(!((J|0)==-1)){G=0;H=F;break}c[A>>2]=0;G=1;H=0}}while(0);I=c[B>>2]|0;do{if((I|0)==0){K=26}else{L=c[I+12>>2]|0;if((L|0)==(c[I+16>>2]|0)){M=dd[c[(c[I>>2]|0)+36>>2]&255](I)|0}else{M=c[L>>2]|0}if((M|0)==-1){c[B>>2]=0;K=26;break}else{if(G){break}else{N=E;break a}}}}while(0);if((K|0)==26){K=0;if(G){N=E;break}}I=a[u]|0;L=(I&1)==0;if(L){O=(I&255)>>>1}else{O=c[D>>2]|0}if(((c[p>>2]|0)-E|0)==(O|0)){if(L){P=(I&255)>>>1;Q=(I&255)>>>1}else{I=c[D>>2]|0;P=I;Q=I}PA(o,P<<1,0);if((a[u]&1)==0){R=10}else{R=(c[C>>2]&-2)-1|0}PA(o,R,0);if((a[u]&1)==0){S=y}else{S=c[z>>2]|0}c[p>>2]=S+Q;T=S}else{T=E}I=H+12|0;L=c[I>>2]|0;U=H+16|0;if((L|0)==(c[U>>2]|0)){V=dd[c[(c[H>>2]|0)+36>>2]&255](H)|0}else{V=c[L>>2]|0}if((BD(V,16,T,p,s,0,m,w,r,v)|0)!=0){N=T;break}L=c[I>>2]|0;if((L|0)==(c[U>>2]|0)){dd[c[(c[H>>2]|0)+40>>2]&255](H)|0;E=T;F=H;continue}else{c[I>>2]=L+4;E=T;F=H;continue}}a[N+3|0]=0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);F=dD(N,c[12914]|0,13496,(E=i,i=i+8|0,c[E>>2]=j,E)|0)|0;i=E;if((F|0)!=1){c[h>>2]=4}F=c[A>>2]|0;do{if((F|0)==0){W=1;X=0}else{E=c[F+12>>2]|0;if((E|0)==(c[F+16>>2]|0)){Y=dd[c[(c[F>>2]|0)+36>>2]&255](F)|0}else{Y=c[E>>2]|0}if(!((Y|0)==-1)){W=0;X=F;break}c[A>>2]=0;W=1;X=0}}while(0);A=c[B>>2]|0;do{if((A|0)==0){K=74}else{F=c[A+12>>2]|0;if((F|0)==(c[A+16>>2]|0)){Z=dd[c[(c[A>>2]|0)+36>>2]&255](A)|0}else{Z=c[F>>2]|0}if((Z|0)==-1){c[B>>2]=0;K=74;break}if(!W){break}_=b|0;c[_>>2]=X;MA(o);MA(m);i=d;return}}while(0);do{if((K|0)==74){if(W){break}_=b|0;c[_>>2]=X;MA(o);MA(m);i=d;return}}while(0);c[h>>2]=c[h>>2]|2;_=b|0;c[_>>2]=X;MA(o);MA(m);i=d;return}}while(0);d=Nc(4)|0;DJ(d);Vb(d|0,43976,614)}function BD(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;m=c[f>>2]|0;n=(m|0)==(e|0);do{if(n){o=(c[l+96>>2]|0)==(b|0);if(!o){if((c[l+100>>2]|0)!=(b|0)){break}}c[f>>2]=e+1;a[e]=o?43:45;c[g>>2]=0;p=0;return p|0}}while(0);o=a[i]|0;if((o&1)==0){q=(o&255)>>>1}else{q=c[i+4>>2]|0}if((q|0)!=0&(b|0)==(h|0)){h=c[k>>2]|0;if((h-j|0)>=160){p=0;return p|0}j=c[g>>2]|0;c[k>>2]=h+4;c[h>>2]=j;c[g>>2]=0;p=0;return p|0}j=l+104|0;h=l;while(1){if((h|0)==(j|0)){r=j;break}if((c[h>>2]|0)==(b|0)){r=h;break}else{h=h+4|0}}h=r-l|0;l=h>>2;if((h|0)>92){p=-1;return p|0}do{if((d|0)==8|(d|0)==10){if((l|0)<(d|0)){break}else{p=-1}return p|0}else if((d|0)==16){if((h|0)<88){break}if(n){p=-1;return p|0}if((m-e|0)>=3){p=-1;return p|0}if((a[m-1|0]|0)!=48){p=-1;return p|0}c[g>>2]=0;r=a[48272+l|0]|0;c[f>>2]=m+1;a[m]=r;p=0;return p|0}}while(0);e=a[48272+l|0]|0;c[f>>2]=m+1;a[m]=e;c[g>>2]=(c[g>>2]|0)+1;p=0;return p|0}function CD(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=i;i=i+40|0;h=g|0;j=g+16|0;k=g+32|0;iB(k,d);d=k|0;k=c[d>>2]|0;if(!((c[13354]|0)==-1)){c[j>>2]=53416;c[j+4>>2]=52;c[j+8>>2]=0;FA(53416,j,380)}j=(c[13355]|0)-1|0;l=c[k+8>>2]|0;do{if((c[k+12>>2]|0)-l>>2>>>0>j>>>0){m=c[l+(j<<2)>>2]|0;if((m|0)==0){break}sd[c[(c[m>>2]|0)+32>>2]&15](m,48272,48298,e)|0;m=c[d>>2]|0;if(!((c[13258]|0)==-1)){c[h>>2]=53032;c[h+4>>2]=52;c[h+8>>2]=0;FA(53032,h,380)}n=(c[13259]|0)-1|0;o=c[m+8>>2]|0;do{if((c[m+12>>2]|0)-o>>2>>>0>n>>>0){p=c[o+(n<<2)>>2]|0;if((p|0)==0){break}q=p;a[f]=dd[c[(c[p>>2]|0)+16>>2]&255](q)|0;bd[c[(c[p>>2]|0)+20>>2]&255](b,q);kA(c[d>>2]|0)|0;i=g;return}}while(0);n=Nc(4)|0;DJ(n);Vb(n|0,43976,614)}}while(0);g=Nc(4)|0;DJ(g);Vb(g|0,43976,614)}function DD(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=i;i=i+40|0;j=h|0;k=h+16|0;l=h+32|0;iB(l,d);d=l|0;l=c[d>>2]|0;if(!((c[13354]|0)==-1)){c[k>>2]=53416;c[k+4>>2]=52;c[k+8>>2]=0;FA(53416,k,380)}k=(c[13355]|0)-1|0;m=c[l+8>>2]|0;do{if((c[l+12>>2]|0)-m>>2>>>0>k>>>0){n=c[m+(k<<2)>>2]|0;if((n|0)==0){break}sd[c[(c[n>>2]|0)+32>>2]&15](n,48272,48304,e)|0;n=c[d>>2]|0;if(!((c[13258]|0)==-1)){c[j>>2]=53032;c[j+4>>2]=52;c[j+8>>2]=0;FA(53032,j,380)}o=(c[13259]|0)-1|0;p=c[n+8>>2]|0;do{if((c[n+12>>2]|0)-p>>2>>>0>o>>>0){q=c[p+(o<<2)>>2]|0;if((q|0)==0){break}r=q;s=q;a[f]=dd[c[(c[s>>2]|0)+12>>2]&255](r)|0;a[g]=dd[c[(c[s>>2]|0)+16>>2]&255](r)|0;bd[c[(c[q>>2]|0)+20>>2]&255](b,r);kA(c[d>>2]|0)|0;i=h;return}}while(0);o=Nc(4)|0;DJ(o);Vb(o|0,43976,614)}}while(0);h=Nc(4)|0;DJ(h);Vb(h|0,43976,614)}function ED(b,d,e,f,g,h,i,j,k,l,m,n){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;n=n|0;var o=0,p=0,q=0,r=0,s=0;if(b<<24>>24==h<<24>>24){if((a[d]|0)==0){o=-1;return o|0}a[d]=0;h=c[g>>2]|0;c[g>>2]=h+1;a[h]=46;h=a[j]|0;if((h&1)==0){p=(h&255)>>>1}else{p=c[j+4>>2]|0}if((p|0)==0){o=0;return o|0}p=c[l>>2]|0;if((p-k|0)>=160){o=0;return o|0}h=c[m>>2]|0;c[l>>2]=p+4;c[p>>2]=h;o=0;return o|0}do{if(b<<24>>24==i<<24>>24){h=a[j]|0;if((h&1)==0){q=(h&255)>>>1}else{q=c[j+4>>2]|0}if((q|0)==0){break}if((a[d]|0)==0){o=-1;return o|0}h=c[l>>2]|0;if((h-k|0)>=160){o=0;return o|0}p=c[m>>2]|0;c[l>>2]=h+4;c[h>>2]=p;c[m>>2]=0;o=0;return o|0}}while(0);q=n+32|0;i=n;while(1){if((i|0)==(q|0)){r=q;break}if((a[i]|0)==b<<24>>24){r=i;break}else{i=i+1|0}}i=r-n|0;if((i|0)>31){o=-1;return o|0}n=a[48272+i|0]|0;if((i|0)==25|(i|0)==24){r=c[g>>2]|0;do{if((r|0)!=(f|0)){if((a[r-1|0]&95|0)==(a[e]&127|0)){break}else{o=-1}return o|0}}while(0);c[g>>2]=r+1;a[r]=n;o=0;return o|0}else if((i|0)==22|(i|0)==23){a[e]=80;r=c[g>>2]|0;c[g>>2]=r+1;a[r]=n;o=0;return o|0}else{r=a[e]|0;do{if((n&95|0)==(r<<24>>24|0)){a[e]=r|-128;if((a[d]|0)==0){break}a[d]=0;f=a[j]|0;if((f&1)==0){s=(f&255)>>>1}else{s=c[j+4>>2]|0}if((s|0)==0){break}f=c[l>>2]|0;if((f-k|0)>=160){break}b=c[m>>2]|0;c[l>>2]=f+4;c[f>>2]=b}}while(0);l=c[g>>2]|0;c[g>>2]=l+1;a[l]=n;if((i|0)>21){o=0;return o|0}c[m>>2]=(c[m>>2]|0)+1;o=0;return o|0}return 0}function FD(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=i;i=i+40|0;g=f|0;h=f+16|0;j=f+32|0;iB(j,b);b=j|0;j=c[b>>2]|0;if(!((c[13352]|0)==-1)){c[h>>2]=53408;c[h+4>>2]=52;c[h+8>>2]=0;FA(53408,h,380)}h=(c[13353]|0)-1|0;k=c[j+8>>2]|0;do{if((c[j+12>>2]|0)-k>>2>>>0>h>>>0){l=c[k+(h<<2)>>2]|0;if((l|0)==0){break}sd[c[(c[l>>2]|0)+48>>2]&15](l,48272,48298,d)|0;l=c[b>>2]|0;if(!((c[13256]|0)==-1)){c[g>>2]=53024;c[g+4>>2]=52;c[g+8>>2]=0;FA(53024,g,380)}m=(c[13257]|0)-1|0;n=c[l+8>>2]|0;do{if((c[l+12>>2]|0)-n>>2>>>0>m>>>0){o=c[n+(m<<2)>>2]|0;if((o|0)==0){break}p=o;c[e>>2]=dd[c[(c[o>>2]|0)+16>>2]&255](p)|0;bd[c[(c[o>>2]|0)+20>>2]&255](a,p);kA(c[b>>2]|0)|0;i=f;return}}while(0);m=Nc(4)|0;DJ(m);Vb(m|0,43976,614)}}while(0);f=Nc(4)|0;DJ(f);Vb(f|0,43976,614)}function GD(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=i;i=i+40|0;h=g|0;j=g+16|0;k=g+32|0;iB(k,b);b=k|0;k=c[b>>2]|0;if(!((c[13352]|0)==-1)){c[j>>2]=53408;c[j+4>>2]=52;c[j+8>>2]=0;FA(53408,j,380)}j=(c[13353]|0)-1|0;l=c[k+8>>2]|0;do{if((c[k+12>>2]|0)-l>>2>>>0>j>>>0){m=c[l+(j<<2)>>2]|0;if((m|0)==0){break}sd[c[(c[m>>2]|0)+48>>2]&15](m,48272,48304,d)|0;m=c[b>>2]|0;if(!((c[13256]|0)==-1)){c[h>>2]=53024;c[h+4>>2]=52;c[h+8>>2]=0;FA(53024,h,380)}n=(c[13257]|0)-1|0;o=c[m+8>>2]|0;do{if((c[m+12>>2]|0)-o>>2>>>0>n>>>0){p=c[o+(n<<2)>>2]|0;if((p|0)==0){break}q=p;r=p;c[e>>2]=dd[c[(c[r>>2]|0)+12>>2]&255](q)|0;c[f>>2]=dd[c[(c[r>>2]|0)+16>>2]&255](q)|0;bd[c[(c[p>>2]|0)+20>>2]&255](a,q);kA(c[b>>2]|0)|0;i=g;return}}while(0);n=Nc(4)|0;DJ(n);Vb(n|0,43976,614)}}while(0);g=Nc(4)|0;DJ(g);Vb(g|0,43976,614)}function HD(b,d,e,f,g,h,i,j,k,l,m,n){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;n=n|0;var o=0,p=0,q=0,r=0,s=0;if((b|0)==(h|0)){if((a[d]|0)==0){o=-1;return o|0}a[d]=0;h=c[g>>2]|0;c[g>>2]=h+1;a[h]=46;h=a[j]|0;if((h&1)==0){p=(h&255)>>>1}else{p=c[j+4>>2]|0}if((p|0)==0){o=0;return o|0}p=c[l>>2]|0;if((p-k|0)>=160){o=0;return o|0}h=c[m>>2]|0;c[l>>2]=p+4;c[p>>2]=h;o=0;return o|0}do{if((b|0)==(i|0)){h=a[j]|0;if((h&1)==0){q=(h&255)>>>1}else{q=c[j+4>>2]|0}if((q|0)==0){break}if((a[d]|0)==0){o=-1;return o|0}h=c[l>>2]|0;if((h-k|0)>=160){o=0;return o|0}p=c[m>>2]|0;c[l>>2]=h+4;c[h>>2]=p;c[m>>2]=0;o=0;return o|0}}while(0);q=n+128|0;i=n;while(1){if((i|0)==(q|0)){r=q;break}if((c[i>>2]|0)==(b|0)){r=i;break}else{i=i+4|0}}i=r-n|0;n=i>>2;if((i|0)>124){o=-1;return o|0}r=a[48272+n|0]|0;do{if((n|0)==25|(n|0)==24){b=c[g>>2]|0;do{if((b|0)!=(f|0)){if((a[b-1|0]&95|0)==(a[e]&127|0)){break}else{o=-1}return o|0}}while(0);c[g>>2]=b+1;a[b]=r;o=0;return o|0}else if((n|0)==22|(n|0)==23){a[e]=80}else{q=a[e]|0;if((r&95|0)!=(q<<24>>24|0)){break}a[e]=q|-128;if((a[d]|0)==0){break}a[d]=0;q=a[j]|0;if((q&1)==0){s=(q&255)>>>1}else{s=c[j+4>>2]|0}if((s|0)==0){break}q=c[l>>2]|0;if((q-k|0)>=160){break}p=c[m>>2]|0;c[l>>2]=q+4;c[q>>2]=p}}while(0);l=c[g>>2]|0;c[g>>2]=l+1;a[l]=r;if((i|0)>84){o=0;return o|0}c[m>>2]=(c[m>>2]|0)+1;o=0;return o|0}function ID(a){a=a|0;iA(a|0);iK(a);return}function JD(a){a=a|0;iA(a|0);return}function KD(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,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=i;i=i+48|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=j|0;l=j+16|0;m=j+24|0;n=j+32|0;if((c[f+4>>2]&1|0)==0){o=c[(c[d>>2]|0)+24>>2]|0;c[l>>2]=c[e>>2];jd[o&63](b,d,l,f,g,h&1);i=j;return}iB(m,f);f=m|0;m=c[f>>2]|0;if(!((c[13258]|0)==-1)){c[k>>2]=53032;c[k+4>>2]=52;c[k+8>>2]=0;FA(53032,k,380)}k=(c[13259]|0)-1|0;g=c[m+8>>2]|0;do{if((c[m+12>>2]|0)-g>>2>>>0>k>>>0){l=c[g+(k<<2)>>2]|0;if((l|0)==0){break}d=l;kA(c[f>>2]|0)|0;o=c[l>>2]|0;if(h){bd[c[o+24>>2]&255](n,d)}else{bd[c[o+28>>2]&255](n,d)}d=n;o=a[d]|0;if((o&1)==0){l=n+1|0;p=l;q=l;r=n+8|0}else{l=n+8|0;p=c[l>>2]|0;q=n+1|0;r=l}l=e|0;s=n+4|0;t=p;u=o;while(1){if((u&1)==0){v=(u&255)>>>1;w=q}else{v=c[s>>2]|0;w=c[r>>2]|0}if((t|0)==(w+v|0)){break}o=a[t]|0;x=c[l>>2]|0;do{if((x|0)!=0){y=x+24|0;z=c[y>>2]|0;if((z|0)!=(c[x+28>>2]|0)){c[y>>2]=z+1;a[z]=o;break}if(!((qd[c[(c[x>>2]|0)+52>>2]&255](x,o&255)|0)==-1)){break}c[l>>2]=0}}while(0);t=t+1|0;u=a[d]|0}c[b>>2]=c[l>>2];MA(n);i=j;return}}while(0);j=Nc(4)|0;DJ(j);Vb(j|0,43976,614)}function LD(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;d=i;i=i+80|0;j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=d|0;k=d+8|0;l=d+24|0;m=d+48|0;n=d+56|0;o=d+64|0;p=d+72|0;q=j|0;a[q]=a[25408]|0;a[q+1|0]=a[25409]|0;a[q+2|0]=a[25410]|0;a[q+3|0]=a[25411]|0;a[q+4|0]=a[25412]|0;a[q+5|0]=a[25413]|0;r=j+1|0;s=f+4|0;t=c[s>>2]|0;if((t&2048|0)==0){u=r}else{a[r]=43;u=j+2|0}if((t&512|0)==0){v=u}else{a[u]=35;v=u+1|0}a[v]=108;u=v+1|0;v=t&74;do{if((v|0)==64){a[u]=111}else if((v|0)==8){if((t&16384|0)==0){a[u]=120;break}else{a[u]=88;break}}else{a[u]=100}}while(0);u=k|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);t=MD(u,12,c[12914]|0,q,(q=i,i=i+8|0,c[q>>2]=h,q)|0)|0;i=q;q=k+t|0;h=c[s>>2]&176;do{if((h|0)==16){s=a[u]|0;if((s<<24>>24|0)==45|(s<<24>>24|0)==43){w=k+1|0;break}if(!((t|0)>1&s<<24>>24==48)){x=22;break}s=a[k+1|0]|0;if(!((s<<24>>24|0)==120|(s<<24>>24|0)==88)){x=22;break}w=k+2|0}else if((h|0)==32){w=q}else{x=22}}while(0);if((x|0)==22){w=u}x=l|0;iB(o,f);ND(u,w,q,x,m,n,o);kA(c[o>>2]|0)|0;c[p>>2]=c[e>>2];Di(b,p,x,c[m>>2]|0,c[n>>2]|0,f,g);i=d;return}function MD(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;g=i;i=i+16|0;h=g|0;j=h;c[j>>2]=f;c[j+4>>2]=0;j=vc(d|0)|0;d=wc(a|0,b|0,e|0,h|0)|0;if((j|0)==0){i=g;return d|0}vc(j|0)|0;i=g;return d|0}function ND(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;k=i;i=i+48|0;l=k|0;m=k+16|0;n=k+32|0;o=j|0;j=c[o>>2]|0;if(!((c[13354]|0)==-1)){c[m>>2]=53416;c[m+4>>2]=52;c[m+8>>2]=0;FA(53416,m,380)}m=(c[13355]|0)-1|0;p=c[j+8>>2]|0;if(!((c[j+12>>2]|0)-p>>2>>>0>m>>>0)){q=Nc(4)|0;r=q;DJ(r);Vb(q|0,43976,614)}j=c[p+(m<<2)>>2]|0;if((j|0)==0){q=Nc(4)|0;r=q;DJ(r);Vb(q|0,43976,614)}q=j;r=c[o>>2]|0;if(!((c[13258]|0)==-1)){c[l>>2]=53032;c[l+4>>2]=52;c[l+8>>2]=0;FA(53032,l,380)}l=(c[13259]|0)-1|0;o=c[r+8>>2]|0;if(!((c[r+12>>2]|0)-o>>2>>>0>l>>>0)){s=Nc(4)|0;t=s;DJ(t);Vb(s|0,43976,614)}r=c[o+(l<<2)>>2]|0;if((r|0)==0){s=Nc(4)|0;t=s;DJ(t);Vb(s|0,43976,614)}s=r;bd[c[(c[r>>2]|0)+20>>2]&255](n,s);t=n;l=a[t]|0;if((l&1)==0){u=(l&255)>>>1}else{u=c[n+4>>2]|0}do{if((u|0)==0){sd[c[(c[j>>2]|0)+32>>2]&15](q,b,e,f)|0;c[h>>2]=f+(e-b)}else{c[h>>2]=f;l=a[b]|0;if((l<<24>>24|0)==45|(l<<24>>24|0)==43){o=qd[c[(c[j>>2]|0)+28>>2]&255](q,l)|0;l=c[h>>2]|0;c[h>>2]=l+1;a[l]=o;v=b+1|0}else{v=b}do{if((e-v|0)>1){if((a[v]|0)!=48){w=v;break}o=v+1|0;l=a[o]|0;if(!((l<<24>>24|0)==120|(l<<24>>24|0)==88)){w=v;break}l=j;m=qd[c[(c[l>>2]|0)+28>>2]&255](q,48)|0;p=c[h>>2]|0;c[h>>2]=p+1;a[p]=m;m=qd[c[(c[l>>2]|0)+28>>2]&255](q,a[o]|0)|0;o=c[h>>2]|0;c[h>>2]=o+1;a[o]=m;w=v+2|0}else{w=v}}while(0);do{if((w|0)!=(e|0)){m=e-1|0;if(m>>>0>w>>>0){x=w;y=m}else{break}do{m=a[x]|0;a[x]=a[y]|0;a[y]=m;x=x+1|0;y=y-1|0;}while(x>>>0>>0)}}while(0);m=dd[c[(c[r>>2]|0)+16>>2]&255](s)|0;if(w>>>0>>0){o=n+1|0;l=j;p=n+4|0;z=n+8|0;A=0;B=0;C=w;while(1){D=(a[t]&1)==0;do{if((a[(D?o:c[z>>2]|0)+B|0]|0)==0){E=B;F=A}else{if((A|0)!=(a[(D?o:c[z>>2]|0)+B|0]|0)){E=B;F=A;break}G=c[h>>2]|0;c[h>>2]=G+1;a[G]=m;G=a[t]|0;if((G&1)==0){H=(G&255)>>>1}else{H=c[p>>2]|0}E=(B>>>0<(H-1|0)>>>0)+B|0;F=0}}while(0);D=qd[c[(c[l>>2]|0)+28>>2]&255](q,a[C]|0)|0;G=c[h>>2]|0;c[h>>2]=G+1;a[G]=D;D=C+1|0;if(D>>>0>>0){A=F+1|0;B=E;C=D}else{break}}}C=f+(w-b)|0;B=c[h>>2]|0;if((C|0)==(B|0)){break}A=B-1|0;if(A>>>0>C>>>0){I=C;J=A}else{break}do{A=a[I]|0;a[I]=a[J]|0;a[J]=A;I=I+1|0;J=J-1|0;}while(I>>>0>>0)}}while(0);if((d|0)==(e|0)){K=c[h>>2]|0;c[g>>2]=K;MA(n);i=k;return}else{K=f+(d-b)|0;c[g>>2]=K;MA(n);i=k;return}}function OD(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;d=i;i=i+112|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=d|0;l=d+8|0;m=d+32|0;n=d+80|0;o=d+88|0;p=d+96|0;q=d+104|0;c[k>>2]=37;c[k+4>>2]=0;r=k;k=r+1|0;s=f+4|0;t=c[s>>2]|0;if((t&2048|0)==0){u=k}else{a[k]=43;u=r+2|0}if((t&512|0)==0){v=u}else{a[u]=35;v=u+1|0}a[v]=108;a[v+1|0]=108;u=v+2|0;v=t&74;do{if((v|0)==8){if((t&16384|0)==0){a[u]=120;break}else{a[u]=88;break}}else if((v|0)==64){a[u]=111}else{a[u]=100}}while(0);u=l|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);v=MD(u,22,c[12914]|0,r,(r=i,i=i+16|0,c[r>>2]=h,c[r+8>>2]=j,r)|0)|0;i=r;r=l+v|0;j=c[s>>2]&176;do{if((j|0)==32){w=r}else if((j|0)==16){s=a[u]|0;if((s<<24>>24|0)==45|(s<<24>>24|0)==43){w=l+1|0;break}if(!((v|0)>1&s<<24>>24==48)){x=22;break}s=a[l+1|0]|0;if(!((s<<24>>24|0)==120|(s<<24>>24|0)==88)){x=22;break}w=l+2|0}else{x=22}}while(0);if((x|0)==22){w=u}x=m|0;iB(p,f);ND(u,w,r,x,n,o,p);kA(c[p>>2]|0)|0;c[q>>2]=c[e>>2];Di(b,q,x,c[n>>2]|0,c[o>>2]|0,f,g);i=d;return}function PD(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;d=i;i=i+80|0;j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=d|0;k=d+8|0;l=d+24|0;m=d+48|0;n=d+56|0;o=d+64|0;p=d+72|0;q=j|0;a[q]=a[25408]|0;a[q+1|0]=a[25409]|0;a[q+2|0]=a[25410]|0;a[q+3|0]=a[25411]|0;a[q+4|0]=a[25412]|0;a[q+5|0]=a[25413]|0;r=j+1|0;s=f+4|0;t=c[s>>2]|0;if((t&2048|0)==0){u=r}else{a[r]=43;u=j+2|0}if((t&512|0)==0){v=u}else{a[u]=35;v=u+1|0}a[v]=108;u=v+1|0;v=t&74;do{if((v|0)==64){a[u]=111}else if((v|0)==8){if((t&16384|0)==0){a[u]=120;break}else{a[u]=88;break}}else{a[u]=117}}while(0);u=k|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);t=MD(u,12,c[12914]|0,q,(q=i,i=i+8|0,c[q>>2]=h,q)|0)|0;i=q;q=k+t|0;h=c[s>>2]&176;do{if((h|0)==32){w=q}else if((h|0)==16){s=a[u]|0;if((s<<24>>24|0)==45|(s<<24>>24|0)==43){w=k+1|0;break}if(!((t|0)>1&s<<24>>24==48)){x=22;break}s=a[k+1|0]|0;if(!((s<<24>>24|0)==120|(s<<24>>24|0)==88)){x=22;break}w=k+2|0}else{x=22}}while(0);if((x|0)==22){w=u}x=l|0;iB(o,f);ND(u,w,q,x,m,n,o);kA(c[o>>2]|0)|0;c[p>>2]=c[e>>2];Di(b,p,x,c[m>>2]|0,c[n>>2]|0,f,g);i=d;return}function QD(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;d=i;i=i+112|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=d|0;l=d+8|0;m=d+32|0;n=d+80|0;o=d+88|0;p=d+96|0;q=d+104|0;c[k>>2]=37;c[k+4>>2]=0;r=k;k=r+1|0;s=f+4|0;t=c[s>>2]|0;if((t&2048|0)==0){u=k}else{a[k]=43;u=r+2|0}if((t&512|0)==0){v=u}else{a[u]=35;v=u+1|0}a[v]=108;a[v+1|0]=108;u=v+2|0;v=t&74;do{if((v|0)==64){a[u]=111}else if((v|0)==8){if((t&16384|0)==0){a[u]=120;break}else{a[u]=88;break}}else{a[u]=117}}while(0);u=l|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);t=MD(u,23,c[12914]|0,r,(r=i,i=i+16|0,c[r>>2]=h,c[r+8>>2]=j,r)|0)|0;i=r;r=l+t|0;j=c[s>>2]&176;do{if((j|0)==16){s=a[u]|0;if((s<<24>>24|0)==45|(s<<24>>24|0)==43){w=l+1|0;break}if(!((t|0)>1&s<<24>>24==48)){x=22;break}s=a[l+1|0]|0;if(!((s<<24>>24|0)==120|(s<<24>>24|0)==88)){x=22;break}w=l+2|0}else if((j|0)==32){w=r}else{x=22}}while(0);if((x|0)==22){w=u}x=m|0;iB(p,f);ND(u,w,r,x,n,o,p);kA(c[p>>2]|0)|0;c[q>>2]=c[e>>2];Di(b,q,x,c[n>>2]|0,c[o>>2]|0,f,g);i=d;return}function RD(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=+j;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;d=i;i=i+152|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=d|0;l=d+8|0;m=d+40|0;n=d+48|0;o=d+112|0;p=d+120|0;q=d+128|0;r=d+136|0;s=d+144|0;c[k>>2]=37;c[k+4>>2]=0;t=k;k=t+1|0;u=f+4|0;v=c[u>>2]|0;if((v&2048|0)==0){w=k}else{a[k]=43;w=t+2|0}if((v&1024|0)==0){x=w}else{a[w]=35;x=w+1|0}w=v&260;k=v>>>14;do{if((w|0)==260){if((k&1|0)==0){a[x]=97;y=0;break}else{a[x]=65;y=0;break}}else{a[x]=46;v=x+2|0;a[x+1|0]=42;if((w|0)==256){if((k&1|0)==0){a[v]=101;y=1;break}else{a[v]=69;y=1;break}}else if((w|0)==4){if((k&1|0)==0){a[v]=102;y=1;break}else{a[v]=70;y=1;break}}else{if((k&1|0)==0){a[v]=103;y=1;break}else{a[v]=71;y=1;break}}}}while(0);k=l|0;c[m>>2]=k;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);l=c[12914]|0;if(y){w=MD(k,30,l,t,(z=i,i=i+16|0,c[z>>2]=c[f+8>>2],h[z+8>>3]=j,z)|0)|0;i=z;A=w}else{w=MD(k,30,l,t,(z=i,i=i+8|0,h[z>>3]=j,z)|0)|0;i=z;A=w}do{if((A|0)>29){w=(a[69600]|0)==0;if(y){do{if(w){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);l=SD(m,c[12914]|0,t,(z=i,i=i+16|0,c[z>>2]=c[f+8>>2],h[z+8>>3]=j,z)|0)|0;i=z;B=l}else{do{if(w){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);w=SD(m,c[12914]|0,t,(z=i,i=i+16|0,c[z>>2]=c[f+8>>2],h[z+8>>3]=j,z)|0)|0;i=z;B=w}w=c[m>>2]|0;if((w|0)!=0){C=B;D=w;E=w;break}nK();w=c[m>>2]|0;C=B;D=w;E=w}else{C=A;D=0;E=c[m>>2]|0}}while(0);A=E+C|0;B=c[u>>2]&176;do{if((B|0)==32){F=A}else if((B|0)==16){u=a[E]|0;if((u<<24>>24|0)==45|(u<<24>>24|0)==43){F=E+1|0;break}if(!((C|0)>1&u<<24>>24==48)){G=53;break}u=a[E+1|0]|0;if(!((u<<24>>24|0)==120|(u<<24>>24|0)==88)){G=53;break}F=E+2|0}else{G=53}}while(0);if((G|0)==53){F=E}do{if((E|0)==(k|0)){H=n|0;I=0;J=k}else{G=aK(C<<1)|0;if((G|0)!=0){H=G;I=G;J=E;break}nK();H=0;I=0;J=c[m>>2]|0}}while(0);iB(q,f);TD(J,F,A,H,o,p,q);kA(c[q>>2]|0)|0;q=e|0;c[s>>2]=c[q>>2];Di(r,s,H,c[o>>2]|0,c[p>>2]|0,f,g);g=c[r>>2]|0;c[q>>2]=g;c[b>>2]=g;if((I|0)!=0){bK(I)}if((D|0)==0){i=d;return}bK(D);i=d;return}function SD(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;i=i+16|0;g=f|0;h=g;c[h>>2]=e;c[h+4>>2]=0;h=vc(b|0)|0;b=Qc(a|0,d|0,g|0)|0;if((h|0)==0){i=f;return b|0}vc(h|0)|0;i=f;return b|0}function TD(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;k=i;i=i+48|0;l=k|0;m=k+16|0;n=k+32|0;o=j|0;j=c[o>>2]|0;if(!((c[13354]|0)==-1)){c[m>>2]=53416;c[m+4>>2]=52;c[m+8>>2]=0;FA(53416,m,380)}m=(c[13355]|0)-1|0;p=c[j+8>>2]|0;if(!((c[j+12>>2]|0)-p>>2>>>0>m>>>0)){q=Nc(4)|0;r=q;DJ(r);Vb(q|0,43976,614)}j=c[p+(m<<2)>>2]|0;if((j|0)==0){q=Nc(4)|0;r=q;DJ(r);Vb(q|0,43976,614)}q=j;r=c[o>>2]|0;if(!((c[13258]|0)==-1)){c[l>>2]=53032;c[l+4>>2]=52;c[l+8>>2]=0;FA(53032,l,380)}l=(c[13259]|0)-1|0;o=c[r+8>>2]|0;if(!((c[r+12>>2]|0)-o>>2>>>0>l>>>0)){s=Nc(4)|0;t=s;DJ(t);Vb(s|0,43976,614)}r=c[o+(l<<2)>>2]|0;if((r|0)==0){s=Nc(4)|0;t=s;DJ(t);Vb(s|0,43976,614)}s=r;bd[c[(c[r>>2]|0)+20>>2]&255](n,s);c[h>>2]=f;t=a[b]|0;if((t<<24>>24|0)==45|(t<<24>>24|0)==43){l=qd[c[(c[j>>2]|0)+28>>2]&255](q,t)|0;t=c[h>>2]|0;c[h>>2]=t+1;a[t]=l;u=b+1|0}else{u=b}l=e;a:do{if((l-u|0)>1){if((a[u]|0)!=48){v=u;w=34;break}t=u+1|0;o=a[t]|0;if(!((o<<24>>24|0)==120|(o<<24>>24|0)==88)){v=u;w=34;break}o=j;m=qd[c[(c[o>>2]|0)+28>>2]&255](q,48)|0;p=c[h>>2]|0;c[h>>2]=p+1;a[p]=m;m=u+2|0;p=qd[c[(c[o>>2]|0)+28>>2]&255](q,a[t]|0)|0;t=c[h>>2]|0;c[h>>2]=t+1;a[t]=p;p=m;while(1){if(!(p>>>0>>0)){x=m;y=p;break a}t=a[p]|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);if((ab(t<<24>>24|0,c[12914]|0)|0)==0){x=m;y=p;break}else{p=p+1|0}}}else{v=u;w=34}}while(0);b:do{if((w|0)==34){while(1){w=0;if(!(v>>>0>>0)){x=u;y=v;break b}p=a[v]|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);if((ub(p<<24>>24|0,c[12914]|0)|0)==0){x=u;y=v;break}else{v=v+1|0;w=34}}}}while(0);w=n;v=a[w]|0;if((v&1)==0){z=(v&255)>>>1}else{z=c[n+4>>2]|0}do{if((z|0)==0){sd[c[(c[j>>2]|0)+32>>2]&15](q,x,y,c[h>>2]|0)|0;c[h>>2]=(c[h>>2]|0)+(y-x)}else{do{if((x|0)!=(y|0)){v=y-1|0;if(v>>>0>x>>>0){A=x;B=v}else{break}do{v=a[A]|0;a[A]=a[B]|0;a[B]=v;A=A+1|0;B=B-1|0;}while(A>>>0>>0)}}while(0);p=dd[c[(c[r>>2]|0)+16>>2]&255](s)|0;if(x>>>0>>0){v=n+1|0;u=n+4|0;t=n+8|0;m=j;o=0;C=0;D=x;while(1){E=(a[w]&1)==0;do{if((a[(E?v:c[t>>2]|0)+C|0]|0)>0){if((o|0)!=(a[(E?v:c[t>>2]|0)+C|0]|0)){F=C;G=o;break}H=c[h>>2]|0;c[h>>2]=H+1;a[H]=p;H=a[w]|0;if((H&1)==0){I=(H&255)>>>1}else{I=c[u>>2]|0}F=(C>>>0<(I-1|0)>>>0)+C|0;G=0}else{F=C;G=o}}while(0);E=qd[c[(c[m>>2]|0)+28>>2]&255](q,a[D]|0)|0;H=c[h>>2]|0;c[h>>2]=H+1;a[H]=E;E=D+1|0;if(E>>>0>>0){o=G+1|0;C=F;D=E}else{break}}}D=f+(x-b)|0;C=c[h>>2]|0;if((D|0)==(C|0)){break}o=C-1|0;if(o>>>0>D>>>0){J=D;K=o}else{break}do{o=a[J]|0;a[J]=a[K]|0;a[K]=o;J=J+1|0;K=K-1|0;}while(J>>>0>>0)}}while(0);c:do{if(y>>>0>>0){K=j;J=y;while(1){x=a[J]|0;if(x<<24>>24==46){break}F=qd[c[(c[K>>2]|0)+28>>2]&255](q,x)|0;x=c[h>>2]|0;c[h>>2]=x+1;a[x]=F;F=J+1|0;if(F>>>0>>0){J=F}else{L=F;break c}}K=dd[c[(c[r>>2]|0)+12>>2]&255](s)|0;F=c[h>>2]|0;c[h>>2]=F+1;a[F]=K;L=J+1|0}else{L=y}}while(0);sd[c[(c[j>>2]|0)+32>>2]&15](q,L,e,c[h>>2]|0)|0;q=(c[h>>2]|0)+(l-L)|0;c[h>>2]=q;if((d|0)==(e|0)){M=q;c[g>>2]=M;MA(n);i=k;return}M=f+(d-b)|0;c[g>>2]=M;MA(n);i=k;return}function UD(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=+j;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;d=i;i=i+152|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=d|0;l=d+8|0;m=d+40|0;n=d+48|0;o=d+112|0;p=d+120|0;q=d+128|0;r=d+136|0;s=d+144|0;c[k>>2]=37;c[k+4>>2]=0;t=k;k=t+1|0;u=f+4|0;v=c[u>>2]|0;if((v&2048|0)==0){w=k}else{a[k]=43;w=t+2|0}if((v&1024|0)==0){x=w}else{a[w]=35;x=w+1|0}w=v&260;k=v>>>14;do{if((w|0)==260){a[x]=76;v=x+1|0;if((k&1|0)==0){a[v]=97;y=0;break}else{a[v]=65;y=0;break}}else{a[x]=46;a[x+1|0]=42;a[x+2|0]=76;v=x+3|0;if((w|0)==4){if((k&1|0)==0){a[v]=102;y=1;break}else{a[v]=70;y=1;break}}else if((w|0)==256){if((k&1|0)==0){a[v]=101;y=1;break}else{a[v]=69;y=1;break}}else{if((k&1|0)==0){a[v]=103;y=1;break}else{a[v]=71;y=1;break}}}}while(0);k=l|0;c[m>>2]=k;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);l=c[12914]|0;if(y){w=MD(k,30,l,t,(z=i,i=i+16|0,c[z>>2]=c[f+8>>2],h[z+8>>3]=j,z)|0)|0;i=z;A=w}else{w=MD(k,30,l,t,(z=i,i=i+8|0,h[z>>3]=j,z)|0)|0;i=z;A=w}do{if((A|0)>29){w=(a[69600]|0)==0;if(y){do{if(w){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);l=SD(m,c[12914]|0,t,(z=i,i=i+16|0,c[z>>2]=c[f+8>>2],h[z+8>>3]=j,z)|0)|0;i=z;B=l}else{do{if(w){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);w=SD(m,c[12914]|0,t,(z=i,i=i+8|0,h[z>>3]=j,z)|0)|0;i=z;B=w}w=c[m>>2]|0;if((w|0)!=0){C=B;D=w;E=w;break}nK();w=c[m>>2]|0;C=B;D=w;E=w}else{C=A;D=0;E=c[m>>2]|0}}while(0);A=E+C|0;B=c[u>>2]&176;do{if((B|0)==32){F=A}else if((B|0)==16){u=a[E]|0;if((u<<24>>24|0)==45|(u<<24>>24|0)==43){F=E+1|0;break}if(!((C|0)>1&u<<24>>24==48)){G=53;break}u=a[E+1|0]|0;if(!((u<<24>>24|0)==120|(u<<24>>24|0)==88)){G=53;break}F=E+2|0}else{G=53}}while(0);if((G|0)==53){F=E}do{if((E|0)==(k|0)){H=n|0;I=0;J=k}else{G=aK(C<<1)|0;if((G|0)!=0){H=G;I=G;J=E;break}nK();H=0;I=0;J=c[m>>2]|0}}while(0);iB(q,f);TD(J,F,A,H,o,p,q);kA(c[q>>2]|0)|0;q=e|0;c[s>>2]=c[q>>2];Di(r,s,H,c[o>>2]|0,c[p>>2]|0,f,g);g=c[r>>2]|0;c[q>>2]=g;c[b>>2]=g;if((I|0)!=0){bK(I)}if((D|0)==0){i=d;return}bK(D);i=d;return}function VD(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;d=i;i=i+104|0;j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=d|0;k=d+24|0;l=d+48|0;m=d+88|0;n=d+96|0;o=d+16|0;a[o]=a[25416]|0;a[o+1|0]=a[25417]|0;a[o+2|0]=a[25418]|0;a[o+3|0]=a[25419]|0;a[o+4|0]=a[25420]|0;a[o+5|0]=a[25421]|0;p=k|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);q=MD(p,20,c[12914]|0,o,(o=i,i=i+8|0,c[o>>2]=h,o)|0)|0;i=o;o=k+q|0;h=c[f+4>>2]&176;do{if((h|0)==16){r=a[p]|0;if((r<<24>>24|0)==45|(r<<24>>24|0)==43){s=k+1|0;break}if(!((q|0)>1&r<<24>>24==48)){t=12;break}r=a[k+1|0]|0;if(!((r<<24>>24|0)==120|(r<<24>>24|0)==88)){t=12;break}s=k+2|0}else if((h|0)==32){s=o}else{t=12}}while(0);if((t|0)==12){s=p}iB(m,f);t=m|0;m=c[t>>2]|0;if(!((c[13354]|0)==-1)){c[j>>2]=53416;c[j+4>>2]=52;c[j+8>>2]=0;FA(53416,j,380)}j=(c[13355]|0)-1|0;h=c[m+8>>2]|0;do{if((c[m+12>>2]|0)-h>>2>>>0>j>>>0){r=c[h+(j<<2)>>2]|0;if((r|0)==0){break}kA(c[t>>2]|0)|0;u=l|0;sd[c[(c[r>>2]|0)+32>>2]&15](r,p,o,u)|0;r=l+q|0;if((s|0)==(o|0)){v=r;w=e|0;x=c[w>>2]|0;y=n|0;c[y>>2]=x;Di(b,n,u,v,r,f,g);i=d;return}v=l+(s-k)|0;w=e|0;x=c[w>>2]|0;y=n|0;c[y>>2]=x;Di(b,n,u,v,r,f,g);i=d;return}}while(0);d=Nc(4)|0;DJ(d);Vb(d|0,43976,614)}function WD(a){a=a|0;iA(a|0);iK(a);return}function XD(a){a=a|0;iA(a|0);return}function YD(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,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=i;i=i+48|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=j|0;l=j+16|0;m=j+24|0;n=j+32|0;if((c[f+4>>2]&1|0)==0){o=c[(c[d>>2]|0)+24>>2]|0;c[l>>2]=c[e>>2];jd[o&63](b,d,l,f,g,h&1);i=j;return}iB(m,f);f=m|0;m=c[f>>2]|0;if(!((c[13256]|0)==-1)){c[k>>2]=53024;c[k+4>>2]=52;c[k+8>>2]=0;FA(53024,k,380)}k=(c[13257]|0)-1|0;g=c[m+8>>2]|0;do{if((c[m+12>>2]|0)-g>>2>>>0>k>>>0){l=c[g+(k<<2)>>2]|0;if((l|0)==0){break}d=l;kA(c[f>>2]|0)|0;o=c[l>>2]|0;if(h){bd[c[o+24>>2]&255](n,d)}else{bd[c[o+28>>2]&255](n,d)}d=n;o=a[d]|0;if((o&1)==0){l=n+4|0;p=l;q=l;r=n+8|0}else{l=n+8|0;p=c[l>>2]|0;q=n+4|0;r=l}l=e|0;s=p;t=o;while(1){if((t&1)==0){u=(t&255)>>>1;v=q}else{u=c[q>>2]|0;v=c[r>>2]|0}if((s|0)==(v+(u<<2)|0)){break}o=c[s>>2]|0;w=c[l>>2]|0;do{if((w|0)!=0){x=w+24|0;y=c[x>>2]|0;if((y|0)==(c[w+28>>2]|0)){z=qd[c[(c[w>>2]|0)+52>>2]&255](w,o)|0}else{c[x>>2]=y+4;c[y>>2]=o;z=o}if(!((z|0)==-1)){break}c[l>>2]=0}}while(0);s=s+4|0;t=a[d]|0}c[b>>2]=c[l>>2];YA(n);i=j;return}}while(0);j=Nc(4)|0;DJ(j);Vb(j|0,43976,614)}function ZD(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;d=i;i=i+144|0;j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=d|0;k=d+8|0;l=d+24|0;m=d+112|0;n=d+120|0;o=d+128|0;p=d+136|0;q=j|0;a[q]=a[25408]|0;a[q+1|0]=a[25409]|0;a[q+2|0]=a[25410]|0;a[q+3|0]=a[25411]|0;a[q+4|0]=a[25412]|0;a[q+5|0]=a[25413]|0;r=j+1|0;s=f+4|0;t=c[s>>2]|0;if((t&2048|0)==0){u=r}else{a[r]=43;u=j+2|0}if((t&512|0)==0){v=u}else{a[u]=35;v=u+1|0}a[v]=108;u=v+1|0;v=t&74;do{if((v|0)==8){if((t&16384|0)==0){a[u]=120;break}else{a[u]=88;break}}else if((v|0)==64){a[u]=111}else{a[u]=100}}while(0);u=k|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);v=MD(u,12,c[12914]|0,q,(q=i,i=i+8|0,c[q>>2]=h,q)|0)|0;i=q;q=k+v|0;h=c[s>>2]&176;do{if((h|0)==16){s=a[u]|0;if((s<<24>>24|0)==45|(s<<24>>24|0)==43){w=k+1|0;break}if(!((v|0)>1&s<<24>>24==48)){x=22;break}s=a[k+1|0]|0;if(!((s<<24>>24|0)==120|(s<<24>>24|0)==88)){x=22;break}w=k+2|0}else if((h|0)==32){w=q}else{x=22}}while(0);if((x|0)==22){w=u}x=l|0;iB(o,f);_D(u,w,q,x,m,n,o);kA(c[o>>2]|0)|0;c[p>>2]=c[e>>2];$D(b,p,x,c[m>>2]|0,c[n>>2]|0,f,g);i=d;return}function _D(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;k=i;i=i+48|0;l=k|0;m=k+16|0;n=k+32|0;o=j|0;j=c[o>>2]|0;if(!((c[13352]|0)==-1)){c[m>>2]=53408;c[m+4>>2]=52;c[m+8>>2]=0;FA(53408,m,380)}m=(c[13353]|0)-1|0;p=c[j+8>>2]|0;if(!((c[j+12>>2]|0)-p>>2>>>0>m>>>0)){q=Nc(4)|0;r=q;DJ(r);Vb(q|0,43976,614)}j=c[p+(m<<2)>>2]|0;if((j|0)==0){q=Nc(4)|0;r=q;DJ(r);Vb(q|0,43976,614)}q=j;r=c[o>>2]|0;if(!((c[13256]|0)==-1)){c[l>>2]=53024;c[l+4>>2]=52;c[l+8>>2]=0;FA(53024,l,380)}l=(c[13257]|0)-1|0;o=c[r+8>>2]|0;if(!((c[r+12>>2]|0)-o>>2>>>0>l>>>0)){s=Nc(4)|0;t=s;DJ(t);Vb(s|0,43976,614)}r=c[o+(l<<2)>>2]|0;if((r|0)==0){s=Nc(4)|0;t=s;DJ(t);Vb(s|0,43976,614)}s=r;bd[c[(c[r>>2]|0)+20>>2]&255](n,s);t=n;l=a[t]|0;if((l&1)==0){u=(l&255)>>>1}else{u=c[n+4>>2]|0}do{if((u|0)==0){sd[c[(c[j>>2]|0)+48>>2]&15](q,b,e,f)|0;l=f+(e-b<<2)|0;c[h>>2]=l;v=l}else{c[h>>2]=f;l=a[b]|0;if((l<<24>>24|0)==45|(l<<24>>24|0)==43){o=qd[c[(c[j>>2]|0)+44>>2]&255](q,l)|0;l=c[h>>2]|0;c[h>>2]=l+4;c[l>>2]=o;w=b+1|0}else{w=b}do{if((e-w|0)>1){if((a[w]|0)!=48){x=w;break}o=w+1|0;l=a[o]|0;if(!((l<<24>>24|0)==120|(l<<24>>24|0)==88)){x=w;break}l=j;m=qd[c[(c[l>>2]|0)+44>>2]&255](q,48)|0;p=c[h>>2]|0;c[h>>2]=p+4;c[p>>2]=m;m=qd[c[(c[l>>2]|0)+44>>2]&255](q,a[o]|0)|0;o=c[h>>2]|0;c[h>>2]=o+4;c[o>>2]=m;x=w+2|0}else{x=w}}while(0);do{if((x|0)!=(e|0)){m=e-1|0;if(m>>>0>x>>>0){y=x;z=m}else{break}do{m=a[y]|0;a[y]=a[z]|0;a[z]=m;y=y+1|0;z=z-1|0;}while(y>>>0>>0)}}while(0);m=dd[c[(c[r>>2]|0)+16>>2]&255](s)|0;if(x>>>0>>0){o=n+1|0;l=j;p=n+4|0;A=n+8|0;B=0;C=0;D=x;while(1){E=(a[t]&1)==0;do{if((a[(E?o:c[A>>2]|0)+C|0]|0)==0){F=C;G=B}else{if((B|0)!=(a[(E?o:c[A>>2]|0)+C|0]|0)){F=C;G=B;break}H=c[h>>2]|0;c[h>>2]=H+4;c[H>>2]=m;H=a[t]|0;if((H&1)==0){I=(H&255)>>>1}else{I=c[p>>2]|0}F=(C>>>0<(I-1|0)>>>0)+C|0;G=0}}while(0);E=qd[c[(c[l>>2]|0)+44>>2]&255](q,a[D]|0)|0;H=c[h>>2]|0;J=H+4|0;c[h>>2]=J;c[H>>2]=E;E=D+1|0;if(E>>>0>>0){B=G+1|0;C=F;D=E}else{K=J;break}}}else{K=c[h>>2]|0}D=f+(x-b<<2)|0;if((D|0)==(K|0)){v=K;break}C=K-4|0;if(C>>>0>D>>>0){L=D;M=C}else{v=K;break}while(1){C=c[L>>2]|0;c[L>>2]=c[M>>2];c[M>>2]=C;C=L+4|0;D=M-4|0;if(C>>>0>>0){L=C;M=D}else{v=K;break}}}}while(0);if((d|0)==(e|0)){N=v;c[g>>2]=N;MA(n);i=k;return}N=f+(d-b<<2)|0;c[g>>2]=N;MA(n);i=k;return}function $D(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=i;i=i+16|0;l=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[l>>2];l=k|0;m=d|0;d=c[m>>2]|0;if((d|0)==0){c[b>>2]=0;i=k;return}n=g;g=e;o=n-g>>2;p=h+12|0;h=c[p>>2]|0;q=(h|0)>(o|0)?h-o|0:0;o=f;h=o-g|0;g=h>>2;do{if((h|0)>0){if((gd[c[(c[d>>2]|0)+48>>2]&63](d,e,g)|0)==(g|0)){break}c[m>>2]=0;c[b>>2]=0;i=k;return}}while(0);do{if((q|0)>0){XA(l,q,j);if((a[l]&1)==0){r=l+4|0}else{r=c[l+8>>2]|0}if((gd[c[(c[d>>2]|0)+48>>2]&63](d,r,q)|0)==(q|0)){YA(l);break}c[m>>2]=0;c[b>>2]=0;YA(l);i=k;return}}while(0);l=n-o|0;o=l>>2;do{if((l|0)>0){if((gd[c[(c[d>>2]|0)+48>>2]&63](d,f,o)|0)==(o|0)){break}c[m>>2]=0;c[b>>2]=0;i=k;return}}while(0);c[p>>2]=0;c[b>>2]=d;i=k;return}function aE(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;d=i;i=i+232|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=d|0;l=d+8|0;m=d+32|0;n=d+200|0;o=d+208|0;p=d+216|0;q=d+224|0;c[k>>2]=37;c[k+4>>2]=0;r=k;k=r+1|0;s=f+4|0;t=c[s>>2]|0;if((t&2048|0)==0){u=k}else{a[k]=43;u=r+2|0}if((t&512|0)==0){v=u}else{a[u]=35;v=u+1|0}a[v]=108;a[v+1|0]=108;u=v+2|0;v=t&74;do{if((v|0)==64){a[u]=111}else if((v|0)==8){if((t&16384|0)==0){a[u]=120;break}else{a[u]=88;break}}else{a[u]=100}}while(0);u=l|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);t=MD(u,22,c[12914]|0,r,(r=i,i=i+16|0,c[r>>2]=h,c[r+8>>2]=j,r)|0)|0;i=r;r=l+t|0;j=c[s>>2]&176;do{if((j|0)==32){w=r}else if((j|0)==16){s=a[u]|0;if((s<<24>>24|0)==45|(s<<24>>24|0)==43){w=l+1|0;break}if(!((t|0)>1&s<<24>>24==48)){x=22;break}s=a[l+1|0]|0;if(!((s<<24>>24|0)==120|(s<<24>>24|0)==88)){x=22;break}w=l+2|0}else{x=22}}while(0);if((x|0)==22){w=u}x=m|0;iB(p,f);_D(u,w,r,x,n,o,p);kA(c[p>>2]|0)|0;c[q>>2]=c[e>>2];$D(b,q,x,c[n>>2]|0,c[o>>2]|0,f,g);i=d;return}function bE(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;d=i;i=i+144|0;j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=d|0;k=d+8|0;l=d+24|0;m=d+112|0;n=d+120|0;o=d+128|0;p=d+136|0;q=j|0;a[q]=a[25408]|0;a[q+1|0]=a[25409]|0;a[q+2|0]=a[25410]|0;a[q+3|0]=a[25411]|0;a[q+4|0]=a[25412]|0;a[q+5|0]=a[25413]|0;r=j+1|0;s=f+4|0;t=c[s>>2]|0;if((t&2048|0)==0){u=r}else{a[r]=43;u=j+2|0}if((t&512|0)==0){v=u}else{a[u]=35;v=u+1|0}a[v]=108;u=v+1|0;v=t&74;do{if((v|0)==8){if((t&16384|0)==0){a[u]=120;break}else{a[u]=88;break}}else if((v|0)==64){a[u]=111}else{a[u]=117}}while(0);u=k|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);v=MD(u,12,c[12914]|0,q,(q=i,i=i+8|0,c[q>>2]=h,q)|0)|0;i=q;q=k+v|0;h=c[s>>2]&176;do{if((h|0)==32){w=q}else if((h|0)==16){s=a[u]|0;if((s<<24>>24|0)==45|(s<<24>>24|0)==43){w=k+1|0;break}if(!((v|0)>1&s<<24>>24==48)){x=22;break}s=a[k+1|0]|0;if(!((s<<24>>24|0)==120|(s<<24>>24|0)==88)){x=22;break}w=k+2|0}else{x=22}}while(0);if((x|0)==22){w=u}x=l|0;iB(o,f);_D(u,w,q,x,m,n,o);kA(c[o>>2]|0)|0;c[p>>2]=c[e>>2];$D(b,p,x,c[m>>2]|0,c[n>>2]|0,f,g);i=d;return}function cE(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;d=i;i=i+240|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=d|0;l=d+8|0;m=d+32|0;n=d+208|0;o=d+216|0;p=d+224|0;q=d+232|0;c[k>>2]=37;c[k+4>>2]=0;r=k;k=r+1|0;s=f+4|0;t=c[s>>2]|0;if((t&2048|0)==0){u=k}else{a[k]=43;u=r+2|0}if((t&512|0)==0){v=u}else{a[u]=35;v=u+1|0}a[v]=108;a[v+1|0]=108;u=v+2|0;v=t&74;do{if((v|0)==64){a[u]=111}else if((v|0)==8){if((t&16384|0)==0){a[u]=120;break}else{a[u]=88;break}}else{a[u]=117}}while(0);u=l|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);t=MD(u,23,c[12914]|0,r,(r=i,i=i+16|0,c[r>>2]=h,c[r+8>>2]=j,r)|0)|0;i=r;r=l+t|0;j=c[s>>2]&176;do{if((j|0)==32){w=r}else if((j|0)==16){s=a[u]|0;if((s<<24>>24|0)==45|(s<<24>>24|0)==43){w=l+1|0;break}if(!((t|0)>1&s<<24>>24==48)){x=22;break}s=a[l+1|0]|0;if(!((s<<24>>24|0)==120|(s<<24>>24|0)==88)){x=22;break}w=l+2|0}else{x=22}}while(0);if((x|0)==22){w=u}x=m|0;iB(p,f);_D(u,w,r,x,n,o,p);kA(c[p>>2]|0)|0;c[q>>2]=c[e>>2];$D(b,q,x,c[n>>2]|0,c[o>>2]|0,f,g);i=d;return}function dE(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=+j;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;d=i;i=i+320|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=d|0;l=d+8|0;m=d+40|0;n=d+48|0;o=d+280|0;p=d+288|0;q=d+296|0;r=d+304|0;s=d+312|0;c[k>>2]=37;c[k+4>>2]=0;t=k;k=t+1|0;u=f+4|0;v=c[u>>2]|0;if((v&2048|0)==0){w=k}else{a[k]=43;w=t+2|0}if((v&1024|0)==0){x=w}else{a[w]=35;x=w+1|0}w=v&260;k=v>>>14;do{if((w|0)==260){if((k&1|0)==0){a[x]=97;y=0;break}else{a[x]=65;y=0;break}}else{a[x]=46;v=x+2|0;a[x+1|0]=42;if((w|0)==4){if((k&1|0)==0){a[v]=102;y=1;break}else{a[v]=70;y=1;break}}else if((w|0)==256){if((k&1|0)==0){a[v]=101;y=1;break}else{a[v]=69;y=1;break}}else{if((k&1|0)==0){a[v]=103;y=1;break}else{a[v]=71;y=1;break}}}}while(0);k=l|0;c[m>>2]=k;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);l=c[12914]|0;if(y){w=MD(k,30,l,t,(z=i,i=i+16|0,c[z>>2]=c[f+8>>2],h[z+8>>3]=j,z)|0)|0;i=z;A=w}else{w=MD(k,30,l,t,(z=i,i=i+8|0,h[z>>3]=j,z)|0)|0;i=z;A=w}do{if((A|0)>29){w=(a[69600]|0)==0;if(y){do{if(w){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);l=SD(m,c[12914]|0,t,(z=i,i=i+16|0,c[z>>2]=c[f+8>>2],h[z+8>>3]=j,z)|0)|0;i=z;B=l}else{do{if(w){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);w=SD(m,c[12914]|0,t,(z=i,i=i+16|0,c[z>>2]=c[f+8>>2],h[z+8>>3]=j,z)|0)|0;i=z;B=w}w=c[m>>2]|0;if((w|0)!=0){C=B;D=w;E=w;break}nK();w=c[m>>2]|0;C=B;D=w;E=w}else{C=A;D=0;E=c[m>>2]|0}}while(0);A=E+C|0;B=c[u>>2]&176;do{if((B|0)==32){F=A}else if((B|0)==16){u=a[E]|0;if((u<<24>>24|0)==45|(u<<24>>24|0)==43){F=E+1|0;break}if(!((C|0)>1&u<<24>>24==48)){G=53;break}u=a[E+1|0]|0;if(!((u<<24>>24|0)==120|(u<<24>>24|0)==88)){G=53;break}F=E+2|0}else{G=53}}while(0);if((G|0)==53){F=E}do{if((E|0)==(k|0)){H=n|0;I=0;J=k}else{G=aK(C<<3)|0;B=G;if((G|0)!=0){H=B;I=B;J=E;break}nK();H=B;I=B;J=c[m>>2]|0}}while(0);iB(q,f);eE(J,F,A,H,o,p,q);kA(c[q>>2]|0)|0;q=e|0;c[s>>2]=c[q>>2];$D(r,s,H,c[o>>2]|0,c[p>>2]|0,f,g);g=c[r>>2]|0;c[q>>2]=g;c[b>>2]=g;if((I|0)!=0){bK(I)}if((D|0)==0){i=d;return}bK(D);i=d;return}function eE(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;k=i;i=i+48|0;l=k|0;m=k+16|0;n=k+32|0;o=j|0;j=c[o>>2]|0;if(!((c[13352]|0)==-1)){c[m>>2]=53408;c[m+4>>2]=52;c[m+8>>2]=0;FA(53408,m,380)}m=(c[13353]|0)-1|0;p=c[j+8>>2]|0;if(!((c[j+12>>2]|0)-p>>2>>>0>m>>>0)){q=Nc(4)|0;r=q;DJ(r);Vb(q|0,43976,614)}j=c[p+(m<<2)>>2]|0;if((j|0)==0){q=Nc(4)|0;r=q;DJ(r);Vb(q|0,43976,614)}q=j;r=c[o>>2]|0;if(!((c[13256]|0)==-1)){c[l>>2]=53024;c[l+4>>2]=52;c[l+8>>2]=0;FA(53024,l,380)}l=(c[13257]|0)-1|0;o=c[r+8>>2]|0;if(!((c[r+12>>2]|0)-o>>2>>>0>l>>>0)){s=Nc(4)|0;t=s;DJ(t);Vb(s|0,43976,614)}r=c[o+(l<<2)>>2]|0;if((r|0)==0){s=Nc(4)|0;t=s;DJ(t);Vb(s|0,43976,614)}s=r;bd[c[(c[r>>2]|0)+20>>2]&255](n,s);c[h>>2]=f;t=a[b]|0;if((t<<24>>24|0)==45|(t<<24>>24|0)==43){l=qd[c[(c[j>>2]|0)+44>>2]&255](q,t)|0;t=c[h>>2]|0;c[h>>2]=t+4;c[t>>2]=l;u=b+1|0}else{u=b}l=e;a:do{if((l-u|0)>1){if((a[u]|0)!=48){v=u;w=34;break}t=u+1|0;o=a[t]|0;if(!((o<<24>>24|0)==120|(o<<24>>24|0)==88)){v=u;w=34;break}o=j;m=qd[c[(c[o>>2]|0)+44>>2]&255](q,48)|0;p=c[h>>2]|0;c[h>>2]=p+4;c[p>>2]=m;m=u+2|0;p=qd[c[(c[o>>2]|0)+44>>2]&255](q,a[t]|0)|0;t=c[h>>2]|0;c[h>>2]=t+4;c[t>>2]=p;p=m;while(1){if(!(p>>>0>>0)){x=m;y=p;break a}t=a[p]|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);if((ab(t<<24>>24|0,c[12914]|0)|0)==0){x=m;y=p;break}else{p=p+1|0}}}else{v=u;w=34}}while(0);b:do{if((w|0)==34){while(1){w=0;if(!(v>>>0>>0)){x=u;y=v;break b}p=a[v]|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);if((ub(p<<24>>24|0,c[12914]|0)|0)==0){x=u;y=v;break}else{v=v+1|0;w=34}}}}while(0);w=n;v=a[w]|0;if((v&1)==0){z=(v&255)>>>1}else{z=c[n+4>>2]|0}do{if((z|0)==0){sd[c[(c[j>>2]|0)+48>>2]&15](q,x,y,c[h>>2]|0)|0;v=(c[h>>2]|0)+(y-x<<2)|0;c[h>>2]=v;A=v}else{do{if((x|0)!=(y|0)){v=y-1|0;if(v>>>0>x>>>0){B=x;C=v}else{break}do{v=a[B]|0;a[B]=a[C]|0;a[C]=v;B=B+1|0;C=C-1|0;}while(B>>>0>>0)}}while(0);p=dd[c[(c[r>>2]|0)+16>>2]&255](s)|0;if(x>>>0>>0){v=n+1|0;u=n+4|0;t=n+8|0;m=j;o=0;D=0;E=x;while(1){F=(a[w]&1)==0;do{if((a[(F?v:c[t>>2]|0)+D|0]|0)>0){if((o|0)!=(a[(F?v:c[t>>2]|0)+D|0]|0)){G=D;H=o;break}I=c[h>>2]|0;c[h>>2]=I+4;c[I>>2]=p;I=a[w]|0;if((I&1)==0){J=(I&255)>>>1}else{J=c[u>>2]|0}G=(D>>>0<(J-1|0)>>>0)+D|0;H=0}else{G=D;H=o}}while(0);F=qd[c[(c[m>>2]|0)+44>>2]&255](q,a[E]|0)|0;I=c[h>>2]|0;K=I+4|0;c[h>>2]=K;c[I>>2]=F;F=E+1|0;if(F>>>0>>0){o=H+1|0;D=G;E=F}else{L=K;break}}}else{L=c[h>>2]|0}E=f+(x-b<<2)|0;if((E|0)==(L|0)){A=L;break}D=L-4|0;if(D>>>0>E>>>0){M=E;N=D}else{A=L;break}while(1){D=c[M>>2]|0;c[M>>2]=c[N>>2];c[N>>2]=D;D=M+4|0;E=N-4|0;if(D>>>0>>0){M=D;N=E}else{A=L;break}}}}while(0);c:do{if(y>>>0>>0){L=j;N=y;while(1){M=a[N]|0;if(M<<24>>24==46){break}x=qd[c[(c[L>>2]|0)+44>>2]&255](q,M)|0;M=c[h>>2]|0;G=M+4|0;c[h>>2]=G;c[M>>2]=x;x=N+1|0;if(x>>>0>>0){N=x}else{O=x;P=G;break c}}L=dd[c[(c[r>>2]|0)+12>>2]&255](s)|0;G=c[h>>2]|0;x=G+4|0;c[h>>2]=x;c[G>>2]=L;O=N+1|0;P=x}else{O=y;P=A}}while(0);sd[c[(c[j>>2]|0)+48>>2]&15](q,O,e,P)|0;P=(c[h>>2]|0)+(l-O<<2)|0;c[h>>2]=P;if((d|0)==(e|0)){Q=P;c[g>>2]=Q;MA(n);i=k;return}Q=f+(d-b<<2)|0;c[g>>2]=Q;MA(n);i=k;return}function fE(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=+j;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;d=i;i=i+320|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=d|0;l=d+8|0;m=d+40|0;n=d+48|0;o=d+280|0;p=d+288|0;q=d+296|0;r=d+304|0;s=d+312|0;c[k>>2]=37;c[k+4>>2]=0;t=k;k=t+1|0;u=f+4|0;v=c[u>>2]|0;if((v&2048|0)==0){w=k}else{a[k]=43;w=t+2|0}if((v&1024|0)==0){x=w}else{a[w]=35;x=w+1|0}w=v&260;k=v>>>14;do{if((w|0)==260){a[x]=76;v=x+1|0;if((k&1|0)==0){a[v]=97;y=0;break}else{a[v]=65;y=0;break}}else{a[x]=46;a[x+1|0]=42;a[x+2|0]=76;v=x+3|0;if((w|0)==256){if((k&1|0)==0){a[v]=101;y=1;break}else{a[v]=69;y=1;break}}else if((w|0)==4){if((k&1|0)==0){a[v]=102;y=1;break}else{a[v]=70;y=1;break}}else{if((k&1|0)==0){a[v]=103;y=1;break}else{a[v]=71;y=1;break}}}}while(0);k=l|0;c[m>>2]=k;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);l=c[12914]|0;if(y){w=MD(k,30,l,t,(z=i,i=i+16|0,c[z>>2]=c[f+8>>2],h[z+8>>3]=j,z)|0)|0;i=z;A=w}else{w=MD(k,30,l,t,(z=i,i=i+8|0,h[z>>3]=j,z)|0)|0;i=z;A=w}do{if((A|0)>29){w=(a[69600]|0)==0;if(y){do{if(w){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);l=SD(m,c[12914]|0,t,(z=i,i=i+16|0,c[z>>2]=c[f+8>>2],h[z+8>>3]=j,z)|0)|0;i=z;B=l}else{do{if(w){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);w=SD(m,c[12914]|0,t,(z=i,i=i+8|0,h[z>>3]=j,z)|0)|0;i=z;B=w}w=c[m>>2]|0;if((w|0)!=0){C=B;D=w;E=w;break}nK();w=c[m>>2]|0;C=B;D=w;E=w}else{C=A;D=0;E=c[m>>2]|0}}while(0);A=E+C|0;B=c[u>>2]&176;do{if((B|0)==16){u=a[E]|0;if((u<<24>>24|0)==45|(u<<24>>24|0)==43){F=E+1|0;break}if(!((C|0)>1&u<<24>>24==48)){G=53;break}u=a[E+1|0]|0;if(!((u<<24>>24|0)==120|(u<<24>>24|0)==88)){G=53;break}F=E+2|0}else if((B|0)==32){F=A}else{G=53}}while(0);if((G|0)==53){F=E}do{if((E|0)==(k|0)){H=n|0;I=0;J=k}else{G=aK(C<<3)|0;B=G;if((G|0)!=0){H=B;I=B;J=E;break}nK();H=B;I=B;J=c[m>>2]|0}}while(0);iB(q,f);eE(J,F,A,H,o,p,q);kA(c[q>>2]|0)|0;q=e|0;c[s>>2]=c[q>>2];$D(r,s,H,c[o>>2]|0,c[p>>2]|0,f,g);g=c[r>>2]|0;c[q>>2]=g;c[b>>2]=g;if((I|0)!=0){bK(I)}if((D|0)==0){i=d;return}bK(D);i=d;return}function gE(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;d=i;i=i+216|0;j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=d|0;k=d+24|0;l=d+48|0;m=d+200|0;n=d+208|0;o=d+16|0;a[o]=a[25416]|0;a[o+1|0]=a[25417]|0;a[o+2|0]=a[25418]|0;a[o+3|0]=a[25419]|0;a[o+4|0]=a[25420]|0;a[o+5|0]=a[25421]|0;p=k|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);q=MD(p,20,c[12914]|0,o,(o=i,i=i+8|0,c[o>>2]=h,o)|0)|0;i=o;o=k+q|0;h=c[f+4>>2]&176;do{if((h|0)==16){r=a[p]|0;if((r<<24>>24|0)==45|(r<<24>>24|0)==43){s=k+1|0;break}if(!((q|0)>1&r<<24>>24==48)){t=12;break}r=a[k+1|0]|0;if(!((r<<24>>24|0)==120|(r<<24>>24|0)==88)){t=12;break}s=k+2|0}else if((h|0)==32){s=o}else{t=12}}while(0);if((t|0)==12){s=p}iB(m,f);t=m|0;m=c[t>>2]|0;if(!((c[13352]|0)==-1)){c[j>>2]=53408;c[j+4>>2]=52;c[j+8>>2]=0;FA(53408,j,380)}j=(c[13353]|0)-1|0;h=c[m+8>>2]|0;do{if((c[m+12>>2]|0)-h>>2>>>0>j>>>0){r=c[h+(j<<2)>>2]|0;if((r|0)==0){break}kA(c[t>>2]|0)|0;u=l|0;sd[c[(c[r>>2]|0)+48>>2]&15](r,p,o,u)|0;r=l+(q<<2)|0;if((s|0)==(o|0)){v=r;w=e|0;x=c[w>>2]|0;y=n|0;c[y>>2]=x;$D(b,n,u,v,r,f,g);i=d;return}v=l+(s-k<<2)|0;w=e|0;x=c[w>>2]|0;y=n|0;c[y>>2]=x;$D(b,n,u,v,r,f,g);i=d;return}}while(0);d=Nc(4)|0;DJ(d);Vb(d|0,43976,614)}function hE(d,e,f,g,h,j,k,l,m){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,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;n=i;i=i+48|0;o=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[o>>2];o=g;g=i;i=i+4|0;i=i+7&-8;c[g>>2]=c[o>>2];o=n|0;p=n+16|0;q=n+24|0;r=n+32|0;s=n+40|0;iB(p,h);t=p|0;p=c[t>>2]|0;if(!((c[13354]|0)==-1)){c[o>>2]=53416;c[o+4>>2]=52;c[o+8>>2]=0;FA(53416,o,380)}o=(c[13355]|0)-1|0;u=c[p+8>>2]|0;do{if((c[p+12>>2]|0)-u>>2>>>0>o>>>0){v=c[u+(o<<2)>>2]|0;if((v|0)==0){break}w=v;kA(c[t>>2]|0)|0;c[j>>2]=0;x=f|0;a:do{if((l|0)==(m|0)){y=67}else{z=g|0;A=v;B=v;C=v+8|0;D=e;E=r|0;F=s|0;G=q|0;H=l;I=0;b:while(1){J=I;while(1){if((J|0)!=0){y=67;break a}K=c[x>>2]|0;do{if((K|0)==0){L=0}else{if((c[K+12>>2]|0)!=(c[K+16>>2]|0)){L=K;break}if(!((dd[c[(c[K>>2]|0)+36>>2]&255](K)|0)==-1)){L=K;break}c[x>>2]=0;L=0}}while(0);K=(L|0)==0;M=c[z>>2]|0;c:do{if((M|0)==0){y=20}else{do{if((c[M+12>>2]|0)==(c[M+16>>2]|0)){if(!((dd[c[(c[M>>2]|0)+36>>2]&255](M)|0)==-1)){break}c[z>>2]=0;y=20;break c}}while(0);if(K){N=M}else{y=21;break b}}}while(0);if((y|0)==20){y=0;if(K){y=21;break b}else{N=0}}if((gd[c[(c[A>>2]|0)+36>>2]&63](w,a[H]|0,0)|0)<<24>>24==37){y=24;break}M=a[H]|0;if(!(M<<24>>24<0)){O=c[C>>2]|0;if(!((b[O+(M<<24>>24<<1)>>1]&8192)==0)){P=H;y=35;break}}Q=L+12|0;M=c[Q>>2]|0;R=L+16|0;if((M|0)==(c[R>>2]|0)){S=(dd[c[(c[L>>2]|0)+36>>2]&255](L)|0)&255}else{S=a[M]|0}M=qd[c[(c[B>>2]|0)+12>>2]&255](w,S)|0;if(M<<24>>24==(qd[c[(c[B>>2]|0)+12>>2]&255](w,a[H]|0)|0)<<24>>24){y=62;break}c[j>>2]=4;J=4}d:do{if((y|0)==24){y=0;J=H+1|0;if((J|0)==(m|0)){y=25;break b}M=gd[c[(c[A>>2]|0)+36>>2]&63](w,a[J]|0,0)|0;if((M<<24>>24|0)==69|(M<<24>>24|0)==48){T=H+2|0;if((T|0)==(m|0)){y=28;break b}U=M;V=gd[c[(c[A>>2]|0)+36>>2]&63](w,a[T]|0,0)|0;W=T}else{U=0;V=M;W=J}J=c[(c[D>>2]|0)+36>>2]|0;c[E>>2]=L;c[F>>2]=N;pd[J&7](q,e,r,s,h,j,k,V,U);c[x>>2]=c[G>>2];X=W+1|0}else if((y|0)==35){while(1){y=0;J=P+1|0;if((J|0)==(m|0)){Y=m;break}M=a[J]|0;if(M<<24>>24<0){Y=J;break}if((b[O+(M<<24>>24<<1)>>1]&8192)==0){Y=J;break}else{P=J;y=35}}K=L;J=N;M=N;while(1){do{if((K|0)==0){Z=0}else{if((c[K+12>>2]|0)!=(c[K+16>>2]|0)){Z=K;break}if(!((dd[c[(c[K>>2]|0)+36>>2]&255](K)|0)==-1)){Z=K;break}c[x>>2]=0;Z=0}}while(0);T=(Z|0)==0;do{if((J|0)==0){_=M;y=48}else{if((c[J+12>>2]|0)!=(c[J+16>>2]|0)){if(T){$=J;aa=M;break}else{X=Y;break d}}if((dd[c[(c[J>>2]|0)+36>>2]&255](J)|0)==-1){c[z>>2]=0;_=0;y=48;break}else{if(T^(M|0)==0){$=M;aa=M;break}else{X=Y;break d}}}}while(0);if((y|0)==48){y=0;if(T){X=Y;break d}else{$=0;aa=_}}ba=Z+12|0;ca=c[ba>>2]|0;da=Z+16|0;if((ca|0)==(c[da>>2]|0)){ea=(dd[c[(c[Z>>2]|0)+36>>2]&255](Z)|0)&255}else{ea=a[ca]|0}if(ea<<24>>24<0){X=Y;break d}if((b[(c[C>>2]|0)+(ea<<24>>24<<1)>>1]&8192)==0){X=Y;break d}ca=c[ba>>2]|0;if((ca|0)==(c[da>>2]|0)){dd[c[(c[Z>>2]|0)+40>>2]&255](Z)|0;K=Z;J=$;M=aa;continue}else{c[ba>>2]=ca+1;K=Z;J=$;M=aa;continue}}}else if((y|0)==62){y=0;M=c[Q>>2]|0;if((M|0)==(c[R>>2]|0)){dd[c[(c[L>>2]|0)+40>>2]&255](L)|0}else{c[Q>>2]=M+1}X=H+1|0}}while(0);if((X|0)==(m|0)){y=67;break a}H=X;I=c[j>>2]|0}if((y|0)==21){c[j>>2]=4;fa=L;break}else if((y|0)==25){c[j>>2]=4;fa=L;break}else if((y|0)==28){c[j>>2]=4;fa=L;break}}}while(0);if((y|0)==67){fa=c[x>>2]|0}w=f|0;do{if((fa|0)==0){ga=0}else{if((c[fa+12>>2]|0)!=(c[fa+16>>2]|0)){ga=fa;break}if(!((dd[c[(c[fa>>2]|0)+36>>2]&255](fa)|0)==-1)){ga=fa;break}c[w>>2]=0;ga=0}}while(0);w=(ga|0)==0;x=g|0;v=c[x>>2]|0;e:do{if((v|0)==0){y=77}else{do{if((c[v+12>>2]|0)==(c[v+16>>2]|0)){if(!((dd[c[(c[v>>2]|0)+36>>2]&255](v)|0)==-1)){break}c[x>>2]=0;y=77;break e}}while(0);if(!w){break}ha=d|0;c[ha>>2]=ga;i=n;return}}while(0);do{if((y|0)==77){if(w){break}ha=d|0;c[ha>>2]=ga;i=n;return}}while(0);c[j>>2]=c[j>>2]|2;ha=d|0;c[ha>>2]=ga;i=n;return}}while(0);n=Nc(4)|0;DJ(n);Vb(n|0,43976,614)}function iE(a){a=a|0;iA(a|0);iK(a);return}function jE(a){a=a|0;iA(a|0);return}function kE(a){a=a|0;return 2}function lE(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;j=i;i=i+16|0;k=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[k>>2];k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=j|0;l=j+8|0;c[k>>2]=c[d>>2];c[l>>2]=c[e>>2];hE(a,b,k,l,f,g,h,25400,25408);i=j;return}function mE(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=i;i=i+16|0;l=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[l>>2];l=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[l>>2];l=k|0;m=k+8|0;n=d+8|0;o=dd[c[(c[n>>2]|0)+20>>2]&255](n)|0;c[l>>2]=c[e>>2];c[m>>2]=c[f>>2];f=a[o]|0;if((f&1)==0){p=(f&255)>>>1;q=o+1|0;r=o+1|0}else{f=c[o+8>>2]|0;p=c[o+4>>2]|0;q=f;r=f}hE(b,d,l,m,g,h,j,q,r+p|0);i=k;return}function nE(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;j=i;i=i+32|0;k=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[k>>2];k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=j|0;l=j+8|0;m=j+24|0;iB(m,f);f=m|0;m=c[f>>2]|0;if(!((c[13354]|0)==-1)){c[l>>2]=53416;c[l+4>>2]=52;c[l+8>>2]=0;FA(53416,l,380)}l=(c[13355]|0)-1|0;n=c[m+8>>2]|0;do{if((c[m+12>>2]|0)-n>>2>>>0>l>>>0){o=c[n+(l<<2)>>2]|0;if((o|0)==0){break}kA(c[f>>2]|0)|0;p=c[e>>2]|0;q=b+8|0;r=dd[c[c[q>>2]>>2]&255](q)|0;c[k>>2]=p;p=(KC(d,k,r,r+168|0,o,g,0)|0)-r|0;if((p|0)>=168){s=d|0;t=c[s>>2]|0;u=a|0;c[u>>2]=t;i=j;return}c[h+24>>2]=((p|0)/12|0|0)%7|0;s=d|0;t=c[s>>2]|0;u=a|0;c[u>>2]=t;i=j;return}}while(0);j=Nc(4)|0;DJ(j);Vb(j|0,43976,614)}function oE(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;j=i;i=i+32|0;k=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[k>>2];k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=j|0;l=j+8|0;m=j+24|0;iB(m,f);f=m|0;m=c[f>>2]|0;if(!((c[13354]|0)==-1)){c[l>>2]=53416;c[l+4>>2]=52;c[l+8>>2]=0;FA(53416,l,380)}l=(c[13355]|0)-1|0;n=c[m+8>>2]|0;do{if((c[m+12>>2]|0)-n>>2>>>0>l>>>0){o=c[n+(l<<2)>>2]|0;if((o|0)==0){break}kA(c[f>>2]|0)|0;p=c[e>>2]|0;q=b+8|0;r=dd[c[(c[q>>2]|0)+4>>2]&255](q)|0;c[k>>2]=p;p=(KC(d,k,r,r+288|0,o,g,0)|0)-r|0;if((p|0)>=288){s=d|0;t=c[s>>2]|0;u=a|0;c[u>>2]=t;i=j;return}c[h+16>>2]=((p|0)/12|0|0)%12|0;s=d|0;t=c[s>>2]|0;u=a|0;c[u>>2]=t;i=j;return}}while(0);j=Nc(4)|0;DJ(j);Vb(j|0,43976,614)}function pE(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;b=i;i=i+32|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;l=b+24|0;iB(l,f);f=l|0;l=c[f>>2]|0;if(!((c[13354]|0)==-1)){c[k>>2]=53416;c[k+4>>2]=52;c[k+8>>2]=0;FA(53416,k,380)}k=(c[13355]|0)-1|0;m=c[l+8>>2]|0;do{if((c[l+12>>2]|0)-m>>2>>>0>k>>>0){n=c[m+(k<<2)>>2]|0;if((n|0)==0){break}kA(c[f>>2]|0)|0;c[j>>2]=c[e>>2];o=uE(d,j,g,n,4)|0;if((c[g>>2]&4|0)!=0){p=d|0;q=c[p>>2]|0;r=a|0;c[r>>2]=q;i=b;return}if((o|0)<69){s=o+2e3|0}else{s=(o-69|0)>>>0<31>>>0?o+1900|0:o}c[h+20>>2]=s-1900;p=d|0;q=c[p>>2]|0;r=a|0;c[r>>2]=q;i=b;return}}while(0);b=Nc(4)|0;DJ(b);Vb(b|0,43976,614)}function qE(b,d,e,f,g,h,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,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;l=i;i=i+328|0;m=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[m>>2];m=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[m>>2];m=l|0;n=l+8|0;o=l+16|0;p=l+24|0;q=l+32|0;r=l+40|0;s=l+48|0;t=l+56|0;u=l+64|0;v=l+72|0;w=l+80|0;x=l+88|0;y=l+96|0;z=l+112|0;A=l+120|0;B=l+128|0;C=l+136|0;D=l+144|0;E=l+152|0;F=l+160|0;G=l+168|0;H=l+176|0;I=l+184|0;J=l+192|0;K=l+200|0;L=l+208|0;M=l+216|0;N=l+224|0;O=l+232|0;P=l+240|0;Q=l+248|0;R=l+256|0;S=l+264|0;T=l+272|0;U=l+280|0;V=l+288|0;W=l+296|0;X=l+304|0;Y=l+312|0;Z=l+320|0;c[h>>2]=0;iB(z,g);_=z|0;z=c[_>>2]|0;if(!((c[13354]|0)==-1)){c[y>>2]=53416;c[y+4>>2]=52;c[y+8>>2]=0;FA(53416,y,380)}y=(c[13355]|0)-1|0;$=c[z+8>>2]|0;do{if((c[z+12>>2]|0)-$>>2>>>0>y>>>0){aa=c[$+(y<<2)>>2]|0;if((aa|0)==0){break}ba=aa;kA(c[_>>2]|0)|0;a:do{switch(k<<24>>24|0){case 109:{c[r>>2]=c[f>>2];aa=(uE(e,r,h,ba,2)|0)-1|0;ca=c[h>>2]|0;if((ca&4|0)==0&(aa|0)<12){c[j+16>>2]=aa;break a}else{c[h>>2]=ca|4;break a}break};case 99:{ca=d+8|0;aa=dd[c[(c[ca>>2]|0)+12>>2]&255](ca)|0;ca=e|0;c[B>>2]=c[ca>>2];c[C>>2]=c[f>>2];da=a[aa]|0;if((da&1)==0){ea=(da&255)>>>1;fa=aa+1|0;ga=aa+1|0}else{da=c[aa+8>>2]|0;ea=c[aa+4>>2]|0;fa=da;ga=da}hE(A,d,B,C,g,h,j,fa,ga+ea|0);c[ca>>2]=c[A>>2];break};case 110:case 116:{c[J>>2]=c[f>>2];rE(0,e,J,h,ba);break};case 121:{c[n>>2]=c[f>>2];ca=uE(e,n,h,ba,4)|0;if((c[h>>2]&4|0)!=0){break a}if((ca|0)<69){ha=ca+2e3|0}else{ha=(ca-69|0)>>>0<31>>>0?ca+1900|0:ca}c[j+20>>2]=ha-1900;break};case 82:{ca=e|0;c[P>>2]=c[ca>>2];c[Q>>2]=c[f>>2];hE(O,d,P,Q,g,h,j,25360,25365);c[ca>>2]=c[O>>2];break};case 72:{c[u>>2]=c[f>>2];ca=uE(e,u,h,ba,2)|0;da=c[h>>2]|0;if((da&4|0)==0&(ca|0)<24){c[j+8>>2]=ca;break a}else{c[h>>2]=da|4;break a}break};case 114:{da=e|0;c[M>>2]=c[da>>2];c[N>>2]=c[f>>2];hE(L,d,M,N,g,h,j,25368,25379);c[da>>2]=c[L>>2];break};case 77:{c[q>>2]=c[f>>2];da=uE(e,q,h,ba,2)|0;ca=c[h>>2]|0;if((ca&4|0)==0&(da|0)<60){c[j+4>>2]=da;break a}else{c[h>>2]=ca|4;break a}break};case 97:case 65:{ca=c[f>>2]|0;da=d+8|0;aa=dd[c[c[da>>2]>>2]&255](da)|0;c[x>>2]=ca;ca=(KC(e,x,aa,aa+168|0,ba,h,0)|0)-aa|0;if((ca|0)>=168){break a}c[j+24>>2]=((ca|0)/12|0|0)%7|0;break};case 89:{c[m>>2]=c[f>>2];ca=uE(e,m,h,ba,4)|0;if((c[h>>2]&4|0)!=0){break a}c[j+20>>2]=ca-1900;break};case 88:{ca=d+8|0;aa=dd[c[(c[ca>>2]|0)+24>>2]&255](ca)|0;ca=e|0;c[X>>2]=c[ca>>2];c[Y>>2]=c[f>>2];da=a[aa]|0;if((da&1)==0){ia=(da&255)>>>1;ja=aa+1|0;ka=aa+1|0}else{da=c[aa+8>>2]|0;ia=c[aa+4>>2]|0;ja=da;ka=da}hE(W,d,X,Y,g,h,j,ja,ka+ia|0);c[ca>>2]=c[W>>2];break};case 106:{c[s>>2]=c[f>>2];ca=uE(e,s,h,ba,3)|0;da=c[h>>2]|0;if((da&4|0)==0&(ca|0)<366){c[j+28>>2]=ca;break a}else{c[h>>2]=da|4;break a}break};case 83:{c[p>>2]=c[f>>2];da=uE(e,p,h,ba,2)|0;ca=c[h>>2]|0;if((ca&4|0)==0&(da|0)<61){c[j>>2]=da;break a}else{c[h>>2]=ca|4;break a}break};case 84:{ca=e|0;c[S>>2]=c[ca>>2];c[T>>2]=c[f>>2];hE(R,d,S,T,g,h,j,25352,25360);c[ca>>2]=c[R>>2];break};case 98:case 66:case 104:{ca=c[f>>2]|0;da=d+8|0;aa=dd[c[(c[da>>2]|0)+4>>2]&255](da)|0;c[w>>2]=ca;ca=(KC(e,w,aa,aa+288|0,ba,h,0)|0)-aa|0;if((ca|0)>=288){break a}c[j+16>>2]=((ca|0)/12|0|0)%12|0;break};case 70:{ca=e|0;c[H>>2]=c[ca>>2];c[I>>2]=c[f>>2];hE(G,d,H,I,g,h,j,25384,25392);c[ca>>2]=c[G>>2];break};case 73:{ca=j+8|0;c[t>>2]=c[f>>2];aa=uE(e,t,h,ba,2)|0;da=c[h>>2]|0;do{if((da&4|0)==0){if(!((aa-1|0)>>>0<12>>>0)){break}c[ca>>2]=aa;break a}}while(0);c[h>>2]=da|4;break};case 100:case 101:{aa=j+12|0;c[v>>2]=c[f>>2];ca=uE(e,v,h,ba,2)|0;la=c[h>>2]|0;do{if((la&4|0)==0){if(!((ca-1|0)>>>0<31>>>0)){break}c[aa>>2]=ca;break a}}while(0);c[h>>2]=la|4;break};case 120:{ca=c[(c[d>>2]|0)+20>>2]|0;c[U>>2]=c[e>>2];c[V>>2]=c[f>>2];nd[ca&127](b,d,U,V,g,h,j);i=l;return};case 68:{ca=e|0;c[E>>2]=c[ca>>2];c[F>>2]=c[f>>2];hE(D,d,E,F,g,h,j,25392,25400);c[ca>>2]=c[D>>2];break};case 112:{c[K>>2]=c[f>>2];sE(d,j+8|0,e,K,h,ba);break};case 119:{c[o>>2]=c[f>>2];ca=uE(e,o,h,ba,1)|0;aa=c[h>>2]|0;if((aa&4|0)==0&(ca|0)<7){c[j+24>>2]=ca;break a}else{c[h>>2]=aa|4;break a}break};case 37:{c[Z>>2]=c[f>>2];tE(0,e,Z,h,ba);break};default:{c[h>>2]=c[h>>2]|4}}}while(0);c[b>>2]=c[e>>2];i=l;return}}while(0);l=Nc(4)|0;DJ(l);Vb(l|0,43976,614)}function rE(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=i;j=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[j>>2];j=e|0;e=f|0;f=h+8|0;a:while(1){h=c[j>>2]|0;do{if((h|0)==0){k=0}else{if((c[h+12>>2]|0)!=(c[h+16>>2]|0)){k=h;break}if((dd[c[(c[h>>2]|0)+36>>2]&255](h)|0)==-1){c[j>>2]=0;k=0;break}else{k=c[j>>2]|0;break}}}while(0);h=(k|0)==0;l=c[e>>2]|0;do{if((l|0)==0){m=12}else{if((c[l+12>>2]|0)!=(c[l+16>>2]|0)){if(h){n=l;break}else{o=l;break a}}if((dd[c[(c[l>>2]|0)+36>>2]&255](l)|0)==-1){c[e>>2]=0;m=12;break}else{if(h){n=l;break}else{o=l;break a}}}}while(0);if((m|0)==12){m=0;if(h){o=0;break}else{n=0}}l=c[j>>2]|0;p=c[l+12>>2]|0;if((p|0)==(c[l+16>>2]|0)){q=(dd[c[(c[l>>2]|0)+36>>2]&255](l)|0)&255}else{q=a[p]|0}if(q<<24>>24<0){o=n;break}if((b[(c[f>>2]|0)+(q<<24>>24<<1)>>1]&8192)==0){o=n;break}p=c[j>>2]|0;l=p+12|0;r=c[l>>2]|0;if((r|0)==(c[p+16>>2]|0)){dd[c[(c[p>>2]|0)+40>>2]&255](p)|0;continue}else{c[l>>2]=r+1;continue}}n=c[j>>2]|0;do{if((n|0)==0){s=0}else{if((c[n+12>>2]|0)!=(c[n+16>>2]|0)){s=n;break}if((dd[c[(c[n>>2]|0)+36>>2]&255](n)|0)==-1){c[j>>2]=0;s=0;break}else{s=c[j>>2]|0;break}}}while(0);j=(s|0)==0;b:do{if((o|0)==0){m=32}else{do{if((c[o+12>>2]|0)==(c[o+16>>2]|0)){if(!((dd[c[(c[o>>2]|0)+36>>2]&255](o)|0)==-1)){break}c[e>>2]=0;m=32;break b}}while(0);if(!j){break}i=d;return}}while(0);do{if((m|0)==32){if(j){break}i=d;return}}while(0);c[g>>2]=c[g>>2]|2;i=d;return}function sE(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0;j=i;i=i+8|0;k=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[k>>2];k=j|0;l=b+8|0;b=dd[c[(c[l>>2]|0)+8>>2]&255](l)|0;l=a[b]|0;if((l&1)==0){m=(l&255)>>>1}else{m=c[b+4>>2]|0}l=a[b+12|0]|0;if((l&1)==0){n=(l&255)>>>1}else{n=c[b+16>>2]|0}if((m|0)==(-n|0)){c[g>>2]=c[g>>2]|4;i=j;return}c[k>>2]=c[f>>2];f=KC(e,k,b,b+24|0,h,g,0)|0;g=f-b|0;do{if((f|0)==(b|0)){if((c[d>>2]|0)!=12){break}c[d>>2]=0;i=j;return}}while(0);if((g|0)!=12){i=j;return}g=c[d>>2]|0;if((g|0)>=12){i=j;return}c[d>>2]=g+12;i=j;return}function tE(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0;b=i;h=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[h>>2];h=d|0;d=c[h>>2]|0;do{if((d|0)==0){j=0}else{if((c[d+12>>2]|0)!=(c[d+16>>2]|0)){j=d;break}if((dd[c[(c[d>>2]|0)+36>>2]&255](d)|0)==-1){c[h>>2]=0;j=0;break}else{j=c[h>>2]|0;break}}}while(0);d=(j|0)==0;j=e|0;e=c[j>>2]|0;a:do{if((e|0)==0){k=11}else{do{if((c[e+12>>2]|0)==(c[e+16>>2]|0)){if(!((dd[c[(c[e>>2]|0)+36>>2]&255](e)|0)==-1)){break}c[j>>2]=0;k=11;break a}}while(0);if(d){l=e}else{k=12}}}while(0);if((k|0)==11){if(d){k=12}else{l=0}}if((k|0)==12){c[f>>2]=c[f>>2]|6;i=b;return}d=c[h>>2]|0;e=c[d+12>>2]|0;if((e|0)==(c[d+16>>2]|0)){m=(dd[c[(c[d>>2]|0)+36>>2]&255](d)|0)&255}else{m=a[e]|0}if(!((gd[c[(c[g>>2]|0)+36>>2]&63](g,m,0)|0)<<24>>24==37)){c[f>>2]=c[f>>2]|4;i=b;return}m=c[h>>2]|0;g=m+12|0;e=c[g>>2]|0;if((e|0)==(c[m+16>>2]|0)){dd[c[(c[m>>2]|0)+40>>2]&255](m)|0}else{c[g>>2]=e+1}e=c[h>>2]|0;do{if((e|0)==0){n=0}else{if((c[e+12>>2]|0)!=(c[e+16>>2]|0)){n=e;break}if((dd[c[(c[e>>2]|0)+36>>2]&255](e)|0)==-1){c[h>>2]=0;n=0;break}else{n=c[h>>2]|0;break}}}while(0);h=(n|0)==0;b:do{if((l|0)==0){k=31}else{do{if((c[l+12>>2]|0)==(c[l+16>>2]|0)){if(!((dd[c[(c[l>>2]|0)+36>>2]&255](l)|0)==-1)){break}c[j>>2]=0;k=31;break b}}while(0);if(!h){break}i=b;return}}while(0);do{if((k|0)==31){if(h){break}i=b;return}}while(0);c[f>>2]=c[f>>2]|2;i=b;return}function uE(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,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;j=i;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=d|0;d=c[k>>2]|0;do{if((d|0)==0){l=0}else{if((c[d+12>>2]|0)!=(c[d+16>>2]|0)){l=d;break}if((dd[c[(c[d>>2]|0)+36>>2]&255](d)|0)==-1){c[k>>2]=0;l=0;break}else{l=c[k>>2]|0;break}}}while(0);d=(l|0)==0;l=e|0;e=c[l>>2]|0;a:do{if((e|0)==0){m=11}else{do{if((c[e+12>>2]|0)==(c[e+16>>2]|0)){if(!((dd[c[(c[e>>2]|0)+36>>2]&255](e)|0)==-1)){break}c[l>>2]=0;m=11;break a}}while(0);if(d){n=e}else{m=12}}}while(0);if((m|0)==11){if(d){m=12}else{n=0}}if((m|0)==12){c[f>>2]=c[f>>2]|6;o=0;i=j;return o|0}d=c[k>>2]|0;e=c[d+12>>2]|0;if((e|0)==(c[d+16>>2]|0)){p=(dd[c[(c[d>>2]|0)+36>>2]&255](d)|0)&255}else{p=a[e]|0}do{if(!(p<<24>>24<0)){e=g+8|0;if((b[(c[e>>2]|0)+(p<<24>>24<<1)>>1]&2048)==0){break}d=g;q=(gd[c[(c[d>>2]|0)+36>>2]&63](g,p,0)|0)<<24>>24;r=c[k>>2]|0;s=r+12|0;t=c[s>>2]|0;if((t|0)==(c[r+16>>2]|0)){dd[c[(c[r>>2]|0)+40>>2]&255](r)|0;u=q;v=h;w=n;x=n}else{c[s>>2]=t+1;u=q;v=h;w=n;x=n}while(1){y=u-48|0;q=v-1|0;t=c[k>>2]|0;do{if((t|0)==0){z=0}else{if((c[t+12>>2]|0)!=(c[t+16>>2]|0)){z=t;break}if((dd[c[(c[t>>2]|0)+36>>2]&255](t)|0)==-1){c[k>>2]=0;z=0;break}else{z=c[k>>2]|0;break}}}while(0);t=(z|0)==0;do{if((w|0)==0){A=0;B=x}else{if((c[w+12>>2]|0)!=(c[w+16>>2]|0)){A=w;B=x;break}if(!((dd[c[(c[w>>2]|0)+36>>2]&255](w)|0)==-1)){A=x;B=x;break}c[l>>2]=0;A=0;B=0}}while(0);C=c[k>>2]|0;if(!((t^(A|0)==0)&(q|0)>0)){m=40;break}s=c[C+12>>2]|0;if((s|0)==(c[C+16>>2]|0)){D=(dd[c[(c[C>>2]|0)+36>>2]&255](C)|0)&255}else{D=a[s]|0}if(D<<24>>24<0){o=y;m=52;break}if((b[(c[e>>2]|0)+(D<<24>>24<<1)>>1]&2048)==0){o=y;m=52;break}s=((gd[c[(c[d>>2]|0)+36>>2]&63](g,D,0)|0)<<24>>24)+(y*10|0)|0;r=c[k>>2]|0;E=r+12|0;F=c[E>>2]|0;if((F|0)==(c[r+16>>2]|0)){dd[c[(c[r>>2]|0)+40>>2]&255](r)|0;u=s;v=q;w=A;x=B;continue}else{c[E>>2]=F+1;u=s;v=q;w=A;x=B;continue}}if((m|0)==40){do{if((C|0)==0){G=0}else{if((c[C+12>>2]|0)!=(c[C+16>>2]|0)){G=C;break}if((dd[c[(c[C>>2]|0)+36>>2]&255](C)|0)==-1){c[k>>2]=0;G=0;break}else{G=c[k>>2]|0;break}}}while(0);d=(G|0)==0;b:do{if((B|0)==0){m=50}else{do{if((c[B+12>>2]|0)==(c[B+16>>2]|0)){if(!((dd[c[(c[B>>2]|0)+36>>2]&255](B)|0)==-1)){break}c[l>>2]=0;m=50;break b}}while(0);if(d){o=y}else{break}i=j;return o|0}}while(0);do{if((m|0)==50){if(d){break}else{o=y}i=j;return o|0}}while(0);c[f>>2]=c[f>>2]|2;o=y;i=j;return o|0}else if((m|0)==52){i=j;return o|0}}}while(0);c[f>>2]=c[f>>2]|4;o=0;i=j;return o|0}function vE(a,b,d,e,f,g,h,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,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;l=i;i=i+48|0;m=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[m>>2];m=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[m>>2];m=l|0;n=l+16|0;o=l+24|0;p=l+32|0;q=l+40|0;iB(n,f);r=n|0;n=c[r>>2]|0;if(!((c[13352]|0)==-1)){c[m>>2]=53408;c[m+4>>2]=52;c[m+8>>2]=0;FA(53408,m,380)}m=(c[13353]|0)-1|0;s=c[n+8>>2]|0;do{if((c[n+12>>2]|0)-s>>2>>>0>m>>>0){t=c[s+(m<<2)>>2]|0;if((t|0)==0){break}u=t;kA(c[r>>2]|0)|0;c[g>>2]=0;v=d|0;a:do{if((j|0)==(k|0)){w=71}else{x=e|0;y=t;z=t;A=t;B=b;C=p|0;D=q|0;E=o|0;F=j;G=0;b:while(1){H=G;while(1){if((H|0)!=0){w=71;break a}I=c[v>>2]|0;do{if((I|0)==0){J=1;K=0}else{L=c[I+12>>2]|0;if((L|0)==(c[I+16>>2]|0)){M=dd[c[(c[I>>2]|0)+36>>2]&255](I)|0}else{M=c[L>>2]|0}if(!((M|0)==-1)){J=0;K=I;break}c[v>>2]=0;J=1;K=0}}while(0);I=c[x>>2]|0;do{if((I|0)==0){w=23}else{L=c[I+12>>2]|0;if((L|0)==(c[I+16>>2]|0)){N=dd[c[(c[I>>2]|0)+36>>2]&255](I)|0}else{N=c[L>>2]|0}if((N|0)==-1){c[x>>2]=0;w=23;break}else{if(J){O=I;break}else{w=25;break b}}}}while(0);if((w|0)==23){w=0;if(J){w=25;break b}else{O=0}}if((gd[c[(c[y>>2]|0)+52>>2]&63](u,c[F>>2]|0,0)|0)<<24>>24==37){w=28;break}if(gd[c[(c[z>>2]|0)+12>>2]&63](u,8192,c[F>>2]|0)|0){P=F;w=38;break}Q=K+12|0;I=c[Q>>2]|0;R=K+16|0;if((I|0)==(c[R>>2]|0)){S=dd[c[(c[K>>2]|0)+36>>2]&255](K)|0}else{S=c[I>>2]|0}I=qd[c[(c[A>>2]|0)+28>>2]&255](u,S)|0;if((I|0)==(qd[c[(c[A>>2]|0)+28>>2]&255](u,c[F>>2]|0)|0)){w=66;break}c[g>>2]=4;H=4}c:do{if((w|0)==28){w=0;H=F+4|0;if((H|0)==(k|0)){w=29;break b}I=gd[c[(c[y>>2]|0)+52>>2]&63](u,c[H>>2]|0,0)|0;if((I<<24>>24|0)==69|(I<<24>>24|0)==48){L=F+8|0;if((L|0)==(k|0)){w=32;break b}T=I;U=gd[c[(c[y>>2]|0)+52>>2]&63](u,c[L>>2]|0,0)|0;V=L}else{T=0;U=I;V=H}H=c[(c[B>>2]|0)+36>>2]|0;c[C>>2]=K;c[D>>2]=O;pd[H&7](o,b,p,q,f,g,h,U,T);c[v>>2]=c[E>>2];W=V+4|0}else if((w|0)==38){while(1){w=0;H=P+4|0;if((H|0)==(k|0)){X=k;break}if(gd[c[(c[z>>2]|0)+12>>2]&63](u,8192,c[H>>2]|0)|0){P=H;w=38}else{X=H;break}}H=K;I=O;L=O;while(1){do{if((H|0)==0){Y=1;Z=0}else{_=c[H+12>>2]|0;if((_|0)==(c[H+16>>2]|0)){$=dd[c[(c[H>>2]|0)+36>>2]&255](H)|0}else{$=c[_>>2]|0}if(!(($|0)==-1)){Y=0;Z=H;break}c[v>>2]=0;Y=1;Z=0}}while(0);do{if((I|0)==0){aa=L;w=53}else{_=c[I+12>>2]|0;if((_|0)==(c[I+16>>2]|0)){ba=dd[c[(c[I>>2]|0)+36>>2]&255](I)|0}else{ba=c[_>>2]|0}if((ba|0)==-1){c[x>>2]=0;aa=0;w=53;break}else{if(Y^(L|0)==0){ca=L;da=L;break}else{W=X;break c}}}}while(0);if((w|0)==53){w=0;if(Y){W=X;break c}else{ca=0;da=aa}}_=Z+12|0;ea=c[_>>2]|0;fa=Z+16|0;if((ea|0)==(c[fa>>2]|0)){ga=dd[c[(c[Z>>2]|0)+36>>2]&255](Z)|0}else{ga=c[ea>>2]|0}if(!(gd[c[(c[z>>2]|0)+12>>2]&63](u,8192,ga)|0)){W=X;break c}ea=c[_>>2]|0;if((ea|0)==(c[fa>>2]|0)){dd[c[(c[Z>>2]|0)+40>>2]&255](Z)|0;H=Z;I=ca;L=da;continue}else{c[_>>2]=ea+4;H=Z;I=ca;L=da;continue}}}else if((w|0)==66){w=0;L=c[Q>>2]|0;if((L|0)==(c[R>>2]|0)){dd[c[(c[K>>2]|0)+40>>2]&255](K)|0}else{c[Q>>2]=L+4}W=F+4|0}}while(0);if((W|0)==(k|0)){w=71;break a}F=W;G=c[g>>2]|0}if((w|0)==25){c[g>>2]=4;ha=K;break}else if((w|0)==29){c[g>>2]=4;ha=K;break}else if((w|0)==32){c[g>>2]=4;ha=K;break}}}while(0);if((w|0)==71){ha=c[v>>2]|0}u=d|0;do{if((ha|0)==0){ia=1;ja=0}else{t=c[ha+12>>2]|0;if((t|0)==(c[ha+16>>2]|0)){ka=dd[c[(c[ha>>2]|0)+36>>2]&255](ha)|0}else{ka=c[t>>2]|0}if(!((ka|0)==-1)){ia=0;ja=ha;break}c[u>>2]=0;ia=1;ja=0}}while(0);u=e|0;v=c[u>>2]|0;do{if((v|0)==0){w=84}else{t=c[v+12>>2]|0;if((t|0)==(c[v+16>>2]|0)){la=dd[c[(c[v>>2]|0)+36>>2]&255](v)|0}else{la=c[t>>2]|0}if((la|0)==-1){c[u>>2]=0;w=84;break}if(!ia){break}ma=a|0;c[ma>>2]=ja;i=l;return}}while(0);do{if((w|0)==84){if(ia){break}ma=a|0;c[ma>>2]=ja;i=l;return}}while(0);c[g>>2]=c[g>>2]|2;ma=a|0;c[ma>>2]=ja;i=l;return}}while(0);l=Nc(4)|0;DJ(l);Vb(l|0,43976,614)}function wE(a){a=a|0;iA(a|0);iK(a);return}function xE(a){a=a|0;iA(a|0);return}function yE(a){a=a|0;return 2}
-
-
-
-function xd(a){a=a|0;var b=0;b=i;i=i+a|0;i=i+7&-8;return b|0}function yd(){return i|0}function zd(a){a=a|0;i=a}function Ad(a,b){a=a|0;b=b|0;if((z|0)==0){z=a;A=b}}function Bd(b){b=b|0;a[k]=a[b];a[k+1|0]=a[b+1|0];a[k+2|0]=a[b+2|0];a[k+3|0]=a[b+3|0]}function Cd(b){b=b|0;a[k]=a[b];a[k+1|0]=a[b+1|0];a[k+2|0]=a[b+2|0];a[k+3|0]=a[b+3|0];a[k+4|0]=a[b+4|0];a[k+5|0]=a[b+5|0];a[k+6|0]=a[b+6|0];a[k+7|0]=a[b+7|0]}function Dd(a){a=a|0;M=a}function Ed(a){a=a|0;N=a}function Fd(a){a=a|0;O=a}function Gd(a){a=a|0;P=a}function Hd(a){a=a|0;Q=a}function Id(a){a=a|0;R=a}function Jd(a){a=a|0;S=a}function Kd(a){a=a|0;T=a}function Ld(a){a=a|0;U=a}function Md(a){a=a|0;V=a}function Nd(){c[10986]=p+8;c[10988]=p+8;c[10990]=v+8;c[10994]=v+8;c[10998]=v+8;c[11002]=v+8;c[11006]=v+8;c[11010]=v+8;c[11014]=s+8;c[11017]=q;c[11018]=p+8;c[11052]=v+8;c[11056]=v+8;c[11120]=v+8;c[11124]=v+8;c[11144]=p+8;c[11146]=v+8;c[11182]=v+8;c[11186]=v+8;c[11222]=v+8;c[11226]=v+8;c[11246]=p+8;c[11248]=p+8;c[11250]=v+8;c[11254]=v+8;c[11258]=v+8;c[11262]=v+8;c[11266]=v+8;c[11270]=v+8;c[11274]=v+8;c[11278]=p+8;c[11280]=p+8;c[11282]=p+8;c[11292]=v+8;c[11296]=p+8;c[11298]=p+8;c[11300]=p+8;c[11302]=p+8;c[11328]=v+8;c[11332]=v+8;c[11336]=p+8;c[11338]=v+8;c[11342]=v+8;c[11346]=v+8;c[11350]=p+8;c[11352]=p+8;c[11354]=p+8;c[11356]=p+8;c[11390]=p+8;c[11392]=p+8;c[11394]=p+8;c[11396]=v+8;c[11400]=v+8;c[11412]=v+8;c[11416]=v+8;c[11420]=v+8;c[11424]=v+8;c[11428]=v+8;c[11458]=v+8;c[11470]=v+8;c[11474]=v+8;c[11478]=v+8;c[11490]=v+8;c[11504]=p+8;c[11524]=v+8;c[11528]=p+8;c[11544]=v+8;c[11572]=v+8;c[11596]=p+8;c[11598]=v+8;c[11612]=v+8;c[11652]=v+8;c[11672]=v+8;c[11676]=p+8;c[11678]=p+8;c[11680]=v+8;c[11684]=v+8;c[11688]=v+8;c[11692]=v+8;c[11696]=p+8;c[11698]=p+8;c[11700]=v+8;c[11704]=v+8;c[11708]=v+8;c[11712]=v+8;c[11716]=v+8;c[11736]=v+8;c[11740]=v+8;c[11744]=v+8;c[11748]=v+8;c[11752]=v+8;c[11756]=p+8;c[11758]=v+8;c[11762]=v+8;c[11776]=v+8;c[11780]=v+8;c[11784]=v+8;c[11788]=v+8;c[11792]=v+8;c[11796]=v+8;c[11800]=p+8;c[11802]=v+8;c[11806]=v+8;c[11810]=v+8;c[11814]=v+8;c[11818]=v+8;c[11832]=v+8;c[11836]=v+8;c[11840]=v+8;c[11844]=v+8;c[11848]=v+8;c[11868]=p+8;c[11870]=v+8;c[11874]=v+8;c[11878]=v+8;c[11882]=v+8;c[11886]=v+8;c[11890]=v+8;c[11894]=v+8;c[11898]=v+8;c[11902]=v+8;c[11906]=v+8}function Od(){var b=0,d=0,e=0,f=0,g=0;b=i;i=i+16|0;d=b|0;if((a[49624]|0)==0){zc(Zc(0)|0);a[49624]=1}e=d;a[e]=10;f=d;g=f+1|0;a[g]=a[22560]|0;a[g+1|0]=a[22561]|0;a[g+2|0]=a[22562]|0;a[g+3|0]=a[22563]|0;a[g+4|0]=a[22564]|0;a[f+6|0]=0;NA(65232,d)|0;if(!((a[e]&1)==0)){iK(c[d+8>>2]|0)}d=gK(1064)|0;pi(d);i=b;return d|0}function Pd(a){a=a|0;if((a|0)==0){return}ad[c[(c[a>>2]|0)+4>>2]&2047](a);return}function Qd(b){b=b|0;var d=0,e=0;d=i;i=i+16|0;e=d|0;wi(e,b);Bi(b,e);if(!((a[e]&1)==0)){iK(c[e+8>>2]|0)}e=Ci(b)|0;i=d;return e|0}function Rd(a){a=a|0;return Ai(a)|0}function Sd(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;i=i+16|0;f=e|0;xi(b);g=AK(d|0)|0;if(g>>>0>4294967279>>>0){GA(0);return 0}if(g>>>0<11>>>0){a[f]=g<<1;h=f+1|0}else{j=g+16&-16;k=gK(j)|0;c[f+8>>2]=k;c[f>>2]=j|1;c[f+4>>2]=g;h=k}BK(h|0,d|0,g)|0;a[h+g|0]=0;g=ti(b,f)|0;if((a[f]&1)==0){i=e;return g|0}iK(c[f+8>>2]|0);i=e;return g|0}function Td(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;e=i;i=i+16|0;f=e|0;xi(b);yi(f,b,d,0);Bi(b,f);if((a[f]&1)==0){g=Ci(b)|0;i=e;return g|0}iK(c[f+8>>2]|0);g=Ci(b)|0;i=e;return g|0}function Ud(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;i=i+16|0;f=e|0;g=AK(d|0)|0;if(g>>>0>4294967279>>>0){GA(0)}if(g>>>0<11>>>0){a[f]=g<<1;h=f+1|0}else{j=g+16&-16;k=gK(j)|0;c[f+8>>2]=k;c[f>>2]=j|1;c[f+4>>2]=g;h=k}BK(h|0,d|0,g)|0;a[h+g|0]=0;g=vi(b,f)|0;if(!((a[f]&1)==0)){iK(c[f+8>>2]|0)}if(g){i=e;return}ae(22528,(g=i,i=i+1|0,i=i+7&-8,c[g>>2]=0,g)|0);i=g;i=e;return}function Vd(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;i=i+16|0;g=f|0;xi(b);Ud(b,e);Sd(b,d)|0;xi(b);yi(g,b,1,0);Bi(b,g);if((a[g]&1)==0){h=Ci(b)|0;i=f;return h|0}iK(c[g+8>>2]|0);h=Ci(b)|0;i=f;return h|0}function Wd(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=b|0;e=c[d>>2]|0;if((e|0)==0){return}f=b+4|0;b=c[f>>2]|0;if((b|0)==(e|0)){g=e}else{h=b;while(1){b=h-12|0;c[f>>2]=b;if((a[b]&1)==0){i=b}else{iK(c[h-12+8>>2]|0);i=c[f>>2]|0}if((i|0)==(e|0)){break}else{h=i}}g=c[d>>2]|0}iK(g);return}function Xd(a,b){a=+a;b=+b;return+X(+(a-b))<.001|0}function Yd(){ic(66304,0)|0;return}function Zd(a){a=a|0;var b=0,d=0,e=0.0;b=i;i=i+8|0;d=b|0;ic(d|0,0)|0;e=(+((c[d>>2]|0)-(c[16576]|0)|0)*1.0e3+ +((c[d+4>>2]|0)-(c[16577]|0)|0)/1.0e3)/1.0e3;_d(10680,(d=i,i=i+16|0,c[d>>2]=a,h[d+8>>3]=e,d)|0);i=d;i=b;return}function _d(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;e=i;i=i+96|0;f=e|0;g=e+16|0;h=e+32|0;j=e+48|0;k=e+64|0;l=e+80|0;m=f;DK(m|0,0,12)|0;n=g;c[n>>2]=d;c[n+4>>2]=0;ce(k,b,g|0);g=j;DK(g|0,0,12)|0;b=k;n=a[b]|0;d=(n&1)==0;if(d){o=(n&255)>>>1}else{o=c[k+4>>2]|0}n=o+10|0;if(n>>>0>4294967279>>>0){GA(0)}if(n>>>0<11>>>0){a[g]=20;p=j+1|0}else{n=o+26&-16;q=gK(n)|0;c[j+8>>2]=q;c[j>>2]=n|1;c[j+4>>2]=10;p=q}BK(p|0,8240,10)|0;a[p+10|0]=0;if(d){r=k+1|0}else{r=c[k+8>>2]|0}TA(j,r,o)|0;be(h,j,8880);NA(f,h)|0;if(!((a[h]&1)==0)){iK(c[h+8>>2]|0)}if(!((a[g]&1)==0)){iK(c[j+8>>2]|0)}if(!((a[b]&1)==0)){iK(c[k+8>>2]|0)}if((a[m]&1)==0){k=l;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2]}else{k=c[f+8>>2]|0;b=c[f+4>>2]|0;if(b>>>0>4294967279>>>0){GA(0)}if(b>>>0<11>>>0){a[l]=b<<1;s=l+1|0}else{j=b+16&-16;g=gK(j)|0;c[l+8>>2]=g;c[l>>2]=j|1;c[l+4>>2]=b;s=g}BK(s|0,k|0,b)|0;a[s+b|0]=0}de(1,l);if(!((a[l]&1)==0)){iK(c[l+8>>2]|0)}if((a[m]&1)==0){i=e;return}iK(c[f+8>>2]|0);i=e;return}function $d(a,b){a=a|0;b=b|0;return}function ae(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;e=i;i=i+96|0;f=e|0;g=e+16|0;h=e+32|0;j=e+48|0;k=e+64|0;l=e+80|0;m=f;DK(m|0,0,12)|0;n=g;c[n>>2]=d;c[n+4>>2]=0;ce(k,b,g|0);g=j;DK(g|0,0,12)|0;b=k;n=a[b]|0;d=(n&1)==0;if(d){o=(n&255)>>>1}else{o=c[k+4>>2]|0}n=o+8|0;if(n>>>0>4294967279>>>0){GA(0)}if(n>>>0<11>>>0){a[g]=16;p=j+1|0}else{n=o+24&-16;q=gK(n)|0;c[j+8>>2]=q;c[j>>2]=n|1;c[j+4>>2]=8;p=q}q=p;n=q|0;E=1920091483;a[n]=E;E=E>>8;a[n+1|0]=E;E=E>>8;a[n+2|0]=E;E=E>>8;a[n+3|0]=E;n=q+4|0;E=542995055;a[n]=E;E=E>>8;a[n+1|0]=E;E=E>>8;a[n+2|0]=E;E=E>>8;a[n+3|0]=E;a[p+8|0]=0;if(d){r=k+1|0}else{r=c[k+8>>2]|0}TA(j,r,o)|0;be(h,j,8880);NA(f,h)|0;if(!((a[h]&1)==0)){iK(c[h+8>>2]|0)}if(!((a[g]&1)==0)){iK(c[j+8>>2]|0)}if(!((a[b]&1)==0)){iK(c[k+8>>2]|0)}if((a[m]&1)==0){k=l;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2]}else{k=c[f+8>>2]|0;b=c[f+4>>2]|0;if(b>>>0>4294967279>>>0){GA(0)}if(b>>>0<11>>>0){a[l]=b<<1;s=l+1|0}else{j=b+16&-16;g=gK(j)|0;c[l+8>>2]=g;c[l>>2]=j|1;c[l+4>>2]=b;s=g}BK(s|0,k|0,b)|0;a[s+b|0]=0}de(1,l);if(!((a[l]&1)==0)){iK(c[l+8>>2]|0)}if((a[m]&1)==0){i=e;return}iK(c[f+8>>2]|0);i=e;return}function be(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;f=b;DK(f|0,0,12)|0;g=a[d]|0;if((g&1)==0){h=d+1|0;i=(g&255)>>>1;j=AK(e|0)|0}else{g=c[d+4>>2]|0;k=AK(e|0)|0;h=c[d+8>>2]|0;i=g;j=k}k=j+i|0;if(k>>>0>4294967279>>>0){GA(0)}if(k>>>0<11>>>0){a[f]=i<<1;l=b+1|0}else{f=k+16&-16;k=gK(f)|0;c[b+8>>2]=k;c[b>>2]=f|1;c[b+4>>2]=i;l=k}BK(l|0,h|0,i)|0;a[l+i|0]=0;TA(b,e,j)|0;return}function ce(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=gK(2064)|0;g=b+8|0;c[g>>2]=f;c[b>>2]=2065;h=b+4|0;c[h>>2]=2048;i=b;DK(f|0,0,2049)|0;wc(f|0,2048,d|0,e|0)|0;e=a[i]|0;d=(e&1)==0;if(d){j=(e&255)>>>1;k=AK(b+1|0)|0}else{e=AK(c[g>>2]|0)|0;j=c[h>>2]|0;k=e}if(j>>>0>>0){QA(b,k-j|0,0)|0;return}if(d){a[b+1+k|0]=0;a[i]=k<<1;return}else{a[(c[g>>2]|0)+k|0]=0;c[h>>2]=k;return}}function de(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=i;i=i+16|0;f=e|0;if(!b){b=c[13803]|0;if((b|0)==(c[13804]|0)){ne(55208,d);i=e;return}do{if((b|0)!=0){g=d;if((a[g]&1)==0){h=b;c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];break}g=c[d+8>>2]|0;h=c[d+4>>2]|0;if(h>>>0>4294967279>>>0){GA(0)}if(h>>>0<11>>>0){a[b]=h<<1;j=b+1|0}else{k=h+16&-16;l=gK(k)|0;c[b+8>>2]=l;c[b>>2]=k|1;c[b+4>>2]=h;j=l}BK(j|0,g|0,h)|0;a[j+h|0]=0}}while(0);c[13803]=(c[13803]|0)+12;i=e;return}j=d;if((a[j]&1)==0){b=f;c[b>>2]=c[j>>2];c[b+4>>2]=c[j+4>>2];c[b+8>>2]=c[j+8>>2];m=a[b]|0}else{b=c[d+8>>2]|0;h=c[d+4>>2]|0;if(h>>>0>4294967279>>>0){GA(0)}if(h>>>0<11>>>0){g=h<<1&255;a[f]=g;n=f+1|0;o=g}else{g=h+16&-16;l=gK(g)|0;c[f+8>>2]=l;k=g|1;c[f>>2]=k;c[f+4>>2]=h;n=l;o=k&255}BK(n|0,b|0,h)|0;a[n+h|0]=0;m=o}o=ge(f)|0;if(!((m&1)==0)){iK(c[f+8>>2]|0)}if(o){i=e;return}o=c[13803]|0;if((o|0)==(c[13804]|0)){ne(55208,d);i=e;return}do{if((o|0)!=0){if((a[j]&1)==0){f=o;c[f>>2]=c[j>>2];c[f+4>>2]=c[j+4>>2];c[f+8>>2]=c[j+8>>2];break}f=c[d+8>>2]|0;m=c[d+4>>2]|0;if(m>>>0>4294967279>>>0){GA(0)}if(m>>>0<11>>>0){a[o]=m<<1;p=o+1|0}else{h=m+16&-16;n=gK(h)|0;c[o+8>>2]=n;c[o>>2]=h|1;c[o+4>>2]=m;p=n}BK(p|0,f|0,m)|0;a[p+m|0]=0}}while(0);c[13803]=(c[13803]|0)+12;i=e;return}function ee(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;e=i;i=i+96|0;f=e|0;g=e+16|0;h=e+32|0;j=e+48|0;k=e+64|0;l=e+80|0;m=f;DK(m|0,0,12)|0;n=g;c[n>>2]=d;c[n+4>>2]=0;ce(k,b,g|0);g=j;DK(g|0,0,12)|0;b=k;n=a[b]|0;d=(n&1)==0;if(d){o=(n&255)>>>1}else{o=c[k+4>>2]|0}n=o+10|0;if(n>>>0>4294967279>>>0){GA(0)}if(n>>>0<11>>>0){a[g]=20;p=j+1|0}else{n=o+26&-16;q=gK(n)|0;c[j+8>>2]=q;c[j>>2]=n|1;c[j+4>>2]=10;p=q}BK(p|0,22512,10)|0;a[p+10|0]=0;if(d){r=k+1|0}else{r=c[k+8>>2]|0}TA(j,r,o)|0;be(h,j,8880);NA(f,h)|0;if(!((a[h]&1)==0)){iK(c[h+8>>2]|0)}if(!((a[g]&1)==0)){iK(c[j+8>>2]|0)}if(!((a[b]&1)==0)){iK(c[k+8>>2]|0)}if((a[m]&1)==0){k=l;c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2]}else{k=c[f+8>>2]|0;b=c[f+4>>2]|0;if(b>>>0>4294967279>>>0){GA(0)}if(b>>>0<11>>>0){a[l]=b<<1;s=l+1|0}else{j=b+16&-16;g=gK(j)|0;c[l+8>>2]=g;c[l>>2]=j|1;c[l+4>>2]=b;s=g}BK(s|0,k|0,b)|0;a[s+b|0]=0}de(1,l);if(!((a[l]&1)==0)){iK(c[l+8>>2]|0)}if((a[m]&1)==0){i=e;return}iK(c[f+8>>2]|0);i=e;return}function fe(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;f=i;i=i+16|0;g=f|0;h=gK(2064)|0;j=b+8|0;c[j>>2]=h;c[b>>2]=2065;k=b+4|0;c[k>>2]=2048;l=g;DK(h|0,0,2049)|0;c[l>>2]=e;c[l+4>>2]=0;l=b;wc(h|0,2048,d|0,g|0)|0;g=a[l]|0;d=(g&1)==0;if(d){m=(g&255)>>>1;n=AK(b+1|0)|0}else{g=AK(c[j>>2]|0)|0;m=c[k>>2]|0;n=g}if(m>>>0>>0){QA(b,n-m|0,0)|0;i=f;return}if(d){a[b+1+n|0]=0;a[l]=n<<1;i=f;return}else{a[(c[j>>2]|0)+n|0]=0;c[k>>2]=n;i=f;return}}function ge(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=c[13802]|0;e=c[13803]|0;if((d|0)==(e|0)){f=0;return f|0}g=a[b]|0;h=(g&255)>>>1;i=b+1|0;j=b+8|0;k=b+4|0;if((g&1)==0){g=d;a:while(1){b=a[g]|0;l=(b&1)==0;if(l){m=(b&255)>>>1}else{m=c[g+4>>2]|0}b:do{if((m|0)==(h|0)){if(!l){if((xK(c[g+8>>2]|0,i,h)|0)==0){f=1;n=23;break a}else{break}}if((h|0)==0){f=1;n=23;break a}else{o=g+1|0;p=i;q=h}while(1){if((a[o]|0)!=(a[p]|0)){break b}b=q-1|0;if((b|0)==0){f=1;n=23;break a}else{o=o+1|0;p=p+1|0;q=b}}}}while(0);l=g+12|0;if((l|0)==(e|0)){f=0;n=23;break}else{g=l}}if((n|0)==23){return f|0}}else{g=d;c:while(1){d=a[g]|0;q=(d&1)==0;if(q){r=(d&255)>>>1}else{r=c[g+4>>2]|0}d:do{if((r|0)==(c[k>>2]|0)){if(!q){if((xK(c[g+8>>2]|0,c[j>>2]|0,r)|0)==0){f=1;n=23;break c}else{break}}if((r|0)==0){f=1;n=23;break c}else{s=g+1|0;t=c[j>>2]|0;u=r}while(1){if((a[s]|0)!=(a[t]|0)){break d}d=u-1|0;if((d|0)==0){f=1;n=23;break c}else{s=s+1|0;t=t+1|0;u=d}}}}while(0);q=g+12|0;if((q|0)==(e|0)){f=0;n=23;break}else{g=q}}if((n|0)==23){return f|0}}return 0}function he(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;DK(a|0,0,12)|0;d=c[b>>2]|0;if((d|0)==0){return}else{e=0;f=b;g=d}while(1){do{if((g-55296|0)>>>0<1024>>>0){h=(g<<10)-56557568|0}else{d=g-56320|0;b=d>>>0<1024>>>0?d|e:g;if(b>>>0<128>>>0){QA(a,1,b&255)|0;h=0;break}if(b>>>0<2048>>>0){QA(a,1,(b>>>6&31|192)&255)|0;QA(a,1,(b&63|128)&255)|0;h=0;break}if(b>>>0<65536>>>0){QA(a,1,(b>>>12&15|224)&255)|0;QA(a,1,(b>>>6&63|128)&255)|0;QA(a,1,(b&63|128)&255)|0;h=0;break}QA(a,1,(b>>>18&7|240)&255)|0;QA(a,1,(b>>>12&63|128)&255)|0;QA(a,1,(b>>>6&63|128)&255)|0;QA(a,1,(b&63|128)&255)|0;h=0}}while(0);b=f+4|0;d=c[b>>2]|0;if((d|0)==0){break}else{e=h;f=b;g=d}}return}function ie(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;DK(b|0,0,12)|0;if((c|0)==0){return}d=a[c]|0;if(d<<24>>24==0){return}else{e=0;f=c;g=d}while(1){d=g&255;do{if(g<<24>>24>-1){h=d}else{if((g&255)>>>0<192>>>0){h=d&63|e<<6;break}if((g&255)>>>0<224>>>0){h=d&31;break}if((g&255)>>>0<240>>>0){h=d&15;break}else{h=d&7;break}}}while(0);d=f+1|0;c=a[d]|0;if((c&-64)<<24>>24!=-128&h>>>0<1114112>>>0){do{if(h>>>0>65535>>>0){$A(b,1,(h>>>10)+55296|0)|0;$A(b,1,h&1023|56320)|0}else{if(!((h-55296|0)>>>0>2047>>>0)){break}$A(b,1,h)|0}}while(0);i=a[d]|0}else{i=c}if(i<<24>>24==0){break}else{e=h;f=d;g=i}}return}function je(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;f=i;i=i+32|0;g=f|0;h=f+16|0;j=e;if((a[j]&1)==0){k=b;c[k>>2]=c[j>>2];c[k+4>>2]=c[j+4>>2];c[k+8>>2]=c[j+8>>2];l=a[k]|0;m=k}else{k=c[e+8>>2]|0;j=c[e+4>>2]|0;if(j>>>0>4294967279>>>0){GA(0)}if(j>>>0<11>>>0){e=j<<1&255;n=b;a[n]=e;o=b+1|0;p=e;q=n}else{n=j+16&-16;e=gK(n)|0;c[b+8>>2]=e;r=n|1;c[b>>2]=r;c[b+4>>2]=j;o=e;p=r&255;q=b}BK(o|0,k|0,j)|0;a[o+j|0]=0;l=p;m=q}if((l&1)==0){s=b+1|0;t=(l&255)>>>1}else{s=c[b+8>>2]|0;t=c[b+4>>2]|0}q=s+t|0;while(1){if((q|0)==(s|0)){break}u=q-1|0;if((lb(20472,d[u]|0|0,1)|0)==0){q=u}else{v=15;break}}do{if((v|0)==15){q=u-s|0;if((q|0)==-1){break}if((l&1)==0){w=b+1|0;x=(l&255)>>>1}else{w=c[b+8>>2]|0;x=c[b+4>>2]|0}t=x>>>0>>0?x:q;if(t>>>0>4294967279>>>0){GA(0)}if(t>>>0<11>>>0){a[g]=t<<1;y=g+1|0}else{q=t+16&-16;p=gK(q)|0;c[g+8>>2]=p;c[g>>2]=q|1;c[g+4>>2]=t;y=p}BK(y|0,w|0,t)|0;a[y+t|0]=0;NA(b,g)|0;if((a[g]&1)==0){break}iK(c[g+8>>2]|0)}}while(0);g=a[m]|0;if((g&1)==0){z=b+1|0;A=(g&255)>>>1}else{z=c[b+8>>2]|0;A=c[b+4>>2]|0}g=z+A|0;do{if((g|0)==(z|0)){v=45;break}g=g-1|0;}while((lb(19512,d[g]|0|0,1)|0)==0);if((v|0)==45){i=f;return}v=g-z|0;if((v|0)==-1){i=f;return}LA(h,b,v+1|0,-1,0);NA(b,h)|0;if((a[h]&1)==0){i=f;return}iK(c[h+8>>2]|0);i=f;return}function ke(d){d=d|0;c[d>>2]=38040;c[d+4>>2]=18;a[d+8|0]=0;a[d+9|0]=2;a[d+10|0]=2;a[d+11|0]=2;a[d+12|0]=30;a[d+13|0]=10;a[d+14|0]=3;a[d+15|0]=4;a[d+16|0]=3;a[d+17|0]=4;c[d+20>>2]=0;c[d+28>>2]=2970;c[d+32>>2]=2100;b[d+38>>1]=50;b[d+36>>1]=50;b[d+40>>1]=50;b[d+42>>1]=6;b[d+44>>1]=0;c[d+24>>2]=0;return}function le(a){a=a|0;iK(a);return}function me(a){a=a|0;return}function ne(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=i;i=i+24|0;f=e|0;g=b+8|0;h=c[b>>2]|0;j=((c[b+4>>2]|0)-h|0)/12|0;k=j+1|0;if(k>>>0>357913941>>>0){tG(0)}l=((c[b+8>>2]|0)-h|0)/12|0;if(l>>>0<178956970>>>0){h=l<<1;l=h>>>0>>0?k:h;h=f+12|0;c[h>>2]=0;c[f+16>>2]=g;if((l|0)==0){m=0;n=0;o=h}else{p=l;q=h;r=6}}else{h=f+12|0;c[h>>2]=0;c[f+16>>2]=g;p=357913941;q=h;r=6}if((r|0)==6){m=gK(p*12|0)|0;n=p;o=q}q=f|0;c[q>>2]=m;p=m+(j*12|0)|0;r=f+8|0;c[r>>2]=p;h=f+4|0;c[h>>2]=p;c[o>>2]=m+(n*12|0);do{if((p|0)==0){s=0}else{n=d;if((a[n]&1)==0){o=p;c[o>>2]=c[n>>2];c[o+4>>2]=c[n+4>>2];c[o+8>>2]=c[n+8>>2];s=p;break}n=c[d+8>>2]|0;o=c[d+4>>2]|0;if(o>>>0>4294967279>>>0){GA(0)}if(o>>>0<11>>>0){a[p]=o<<1;t=p+1|0}else{g=o+16&-16;l=gK(g)|0;c[m+(j*12|0)+8>>2]=l;c[p>>2]=g|1;c[m+(j*12|0)+4>>2]=o;t=l}BK(t|0,n|0,o)|0;a[t+o|0]=0;s=c[r>>2]|0}}while(0);c[r>>2]=s+12;oe(b,f);f=c[h>>2]|0;h=c[r>>2]|0;if((h|0)!=(f|0)){b=h;while(1){h=b-12|0;c[r>>2]=h;if(!((a[h]&1)==0)){iK(c[b-12+8>>2]|0)}if((h|0)==(f|0)){break}else{b=h}}}b=c[q>>2]|0;if((b|0)==0){i=e;return}iK(b);i=e;return}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,q=0,r=0,s=0,t=0,u=0,v=0,w=0;e=b|0;f=c[e>>2]|0;g=b+4|0;h=c[g>>2]|0;i=d+4|0;j=c[i>>2]|0;do{if((h|0)==(f|0)){k=f;l=j}else{m=h;n=j;a:while(1){o=n-12|0;p=m-12|0;do{if((o|0)!=0){q=p;if((a[q]&1)==0){r=o;c[r>>2]=c[q>>2];c[r+4>>2]=c[q+4>>2];c[r+8>>2]=c[q+8>>2];break}q=c[m-12+8>>2]|0;r=c[m-12+4>>2]|0;if(r>>>0>4294967279>>>0){s=6;break a}if(r>>>0<11>>>0){a[o]=r<<1;t=o+1|0}else{u=r+16&-16;v=gK(u)|0;c[n-12+8>>2]=v;c[o>>2]=u|1;c[n-12+4>>2]=r;t=v}BK(t|0,q|0,r)|0;a[t+r|0]=0}}while(0);w=(c[i>>2]|0)-12|0;c[i>>2]=w;if((p|0)==(f|0)){s=12;break}else{m=p;n=w}}if((s|0)==6){GA(0)}else if((s|0)==12){k=c[e>>2]|0;l=w;break}}}while(0);c[e>>2]=l;c[i>>2]=k;k=d+8|0;l=c[g>>2]|0;c[g>>2]=c[k>>2];c[k>>2]=l;l=b+8|0;b=d+12|0;k=c[l>>2]|0;c[l>>2]=c[b>>2];c[b>>2]=k;c[d>>2]=c[i>>2];return}function pe(){var b=0;b=gK(32)|0;c[16310]=b;c[16308]=33;c[16309]=24;BK(b|0,14544,24)|0;a[b+24|0]=0;rb(1148,65232,t|0)|0;b=gK(32)|0;c[16314]=b;c[16312]=33;c[16313]=30;BK(b|0,15832,30)|0;a[b+30|0]=0;rb(1148,65248,t|0)|0;b=gK(32)|0;c[16318]=b;c[16316]=33;c[16317]=26;BK(b|0,12656,26)|0;a[b+26|0]=0;rb(1148,65264,t|0)|0;c[13802]=0;c[13803]=0;c[13804]=0;rb(992,55208,t|0)|0;return}function qe(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+16|0;e=d|0;f=b|0;g=e;a[g]=12;h=e;j=h+1|0;a[j]=a[16904]|0;a[j+1|0]=a[16905]|0;a[j+2|0]=a[16906]|0;a[j+3|0]=a[16907]|0;a[j+4|0]=a[16908]|0;a[j+5|0]=a[16909]|0;a[h+7|0]=0;Bm(f,e);if(!((a[g]&1)==0)){iK(c[e+8>>2]|0)}e=b+164|0;vq(e);g=b+176|0;Zw(g);c[b>>2]=32976;c[b+164>>2]=33148;c[b+176>>2]=33168;Cm(f);yq(e);_w(g);i=d;return}function re(a){a=a|0;ax(a+176|0);xq(a+164|0);Em(a|0);iK(a);return}function se(a){a=a|0;var b=0;b=a-184+20|0;ax(b+176|0);xq(b+164|0);Em(b);iK(b);return}function te(a){a=a|0;var b=0;b=a-184+8|0;ax(b+176|0);xq(b+164|0);Em(b);iK(b);return}function ue(a){a=a|0;ax(a+176|0);xq(a+164|0);Em(a|0);return}function ve(a){a=a|0;var b=0;b=a-184+20|0;ax(b+176|0);xq(b+164|0);Em(b);return}function we(a){a=a|0;var b=0;b=a-184+8|0;ax(b+176|0);xq(b+164|0);Em(b);return}function xe(a){a=a|0;Cm(a|0);yq(a+164|0);_w(a+176|0);return}function ye(a){a=a|0;var b=0;b=a-184+20|0;Cm(b);yq(b+164|0);_w(b+176|0);return}function ze(b,c){b=b|0;c=c|0;a[b]=10;c=b;b=c+1|0;a[b]=a[16464]|0;a[b+1|0]=a[16465]|0;a[b+2|0]=a[16466]|0;a[b+3|0]=a[16467]|0;a[b+4|0]=a[16468]|0;a[c+6|0]=0;return}function Ae(a){a=a|0;return}function Be(a,b){a=a|0;b=b|0;return 0}function Ce(a,b){a=a|0;b=b|0;return 0}function De(a,b){a=a|0;b=b|0;return 0}function Ee(a,b){a=a|0;b=b|0;return 0}function Fe(a,b){a=a|0;b=b|0;return 0}function Ge(a,b){a=a|0;b=b|0;return 0}function He(a,b){a=a|0;b=b|0;return 0}function Ie(a,b){a=a|0;b=b|0;return 0}function Je(a,b){a=a|0;b=b|0;return 0}function Ke(a,b){a=a|0;b=b|0;return 0}function Le(a,b){a=a|0;b=b|0;return 0}function Me(a,b){a=a|0;b=b|0;return 0}function Ne(a,b){a=a|0;b=b|0;return 0}function Oe(a,b){a=a|0;b=b|0;return 0}function Pe(a,b){a=a|0;b=b|0;return 0}function Qe(a,b){a=a|0;b=b|0;return 0}function Re(a,b){a=a|0;b=b|0;return 0}function Se(a){a=a|0;var b=0;b=a|0;Xo(b);c[a>>2]=36904;$o(b);b=a+84|0;c[b>>2]=0;c[b>>2]=Xe(a,0)|0;return}function Te(a){a=a|0;ep(a|0);iK(a);return}function Ue(a){a=a|0;ep(a|0);return}function Ve(a){a=a|0;var b=0;$o(a|0);b=a+84|0;c[b>>2]=0;c[b>>2]=Xe(a,0)|0;return}function We(a){a=a|0;$o(a);return}function Xe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=i;i=i+24|0;e=d|0;f=d+8|0;g=d+16|0;h=a+84|0;j=c[h>>2]|0;k=a+8|0;l=c[k>>2]|0;if((j|0)==0){m=l}else{n=l-4|0;o=l+(~((n+(-n|0)|0)>>>2)<<2)|0;c[k>>2]=o;m=o}o=a+8|0;k=m-(c[a+4>>2]|0)>>2;if((k|0)>(b|0)){n=a+4|0;l=j|0;c[e>>2]=l;if((m|0)==(c[a+12>>2]|0)){xf(n,e)}else{if((m|0)==0){p=0}else{c[m>>2]=l;p=c[o>>2]|0}c[o>>2]=p+4}p=c[(c[n>>2]|0)+(b<<2)>>2]|0;if((p|0)==0){q=0;i=d;return q|0}q=VJ(p,46112,47048,-1)|0;i=d;return q|0}if((k|0)!=(b|0)){yc(15008,19736,58,24760);return 0}b=gK(100)|0;k=b;p=b;Xo(p);c[b>>2]=36408;DK(b+84|0,0,16)|0;bp(p,a|0);b=a+4|0;c[f>>2]=p;n=c[o>>2]|0;l=a+12|0;if((n|0)==(c[l>>2]|0)){xf(b,f)}else{if((n|0)==0){r=0}else{c[n>>2]=p;r=c[o>>2]|0}c[o>>2]=r+4}r=c[h>>2]|0;if((r|0)==0){q=k;i=d;return q|0}h=r|0;c[g>>2]=h;r=c[o>>2]|0;if((r|0)==(c[l>>2]|0)){xf(b,g);q=k;i=d;return q|0}if((r|0)==0){s=0}else{c[r>>2]=h;s=c[o>>2]|0}c[o>>2]=s+4;q=k;i=d;return q|0}function Ye(a){a=a|0;ep(a|0);iK(a);return}function Ze(a){a=a|0;ep(a|0);return}function _e(a,b){a=a|0;b=b|0;var d=0;d=a+88|0;if((c[d>>2]|0)<=(b|0)){return}c[d>>2]=b;return}function $e(a,b){a=a|0;b=b|0;var d=0;d=a+92|0;if((c[d>>2]|0)<=(b|0)){return}c[d>>2]=b;return}function af(a,b){a=a|0;b=b|0;var d=0;d=(b|0)<1?1:b;b=a+96|0;if((d|0)<=(c[b>>2]|0)){return}c[b>>2]=d;return}function bf(a){a=a|0;Xo(a|0);c[a>>2]=36640;c[a+84>>2]=0;c[a+88>>2]=0;return}function cf(a){a=a|0;ep(a|0);iK(a);return}function df(a){a=a|0;ep(a|0);return}function ef(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;b=i;i=i+16|0;d=b|0;e=b+8|0;f=a|0;$o(f);g=gK(112)|0;h=g;Xo(h);c[g>>2]=28960;DK(g+84|0,0,20)|0;c[g+104>>2]=13;c[a+84>>2]=g;bp(h,f);c[e>>2]=h;g=a+8|0;j=c[g>>2]|0;k=a+12|0;if((j|0)==(c[k>>2]|0)){xf(a+4|0,e)}else{if((j|0)==0){l=0}else{c[j>>2]=h;l=c[g>>2]|0}c[g>>2]=l+4}l=gK(112)|0;h=l;Xo(h);c[l>>2]=28960;DK(l+84|0,0,20)|0;c[l+104>>2]=14;c[a+88>>2]=l;bp(h,f);c[d>>2]=h;f=c[g>>2]|0;if((f|0)==(c[k>>2]|0)){xf(a+4|0,d);i=b;return}if((f|0)==0){m=0}else{c[f>>2]=h;m=c[g>>2]|0}c[g>>2]=m+4;i=b;return}function ff(a,b,d){a=a|0;b=+b;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;e=i;i=i+8|0;f=e|0;g=a+8|0;j=a+4|0;a:do{if((d|0)==9){k=0;while(1){l=c[g>>2]|0;m=c[j>>2]|0;if((k|0)>=(l-m>>2|0)){n=l;o=m;p=17;break a}l=c[m+(k<<2)>>2]|0;if((l|0)==0){p=14;break}m=VJ(l,46112,45712,-1)|0;if((m|0)==0){p=14;break}l=m+96|0;if(Xd(+h[l>>3],b)|0){if((c[m+104>>2]|0)==0){q=k;p=15;break a}}if(+h[l>>3]>b){q=k;p=15;break a}else{k=k+1|0}}if((p|0)==14){yc(16048,19736,165,24736);return 0}}else{k=0;while(1){l=c[g>>2]|0;m=c[j>>2]|0;if((k|0)>=(l-m>>2|0)){n=l;o=m;p=17;break a}l=c[m+(k<<2)>>2]|0;if((l|0)==0){p=14;break}m=VJ(l,46112,45712,-1)|0;l=m;if((m|0)==0){p=14;break}r=m+96|0;if(Xd(+h[r>>3],b)|0){if((c[m+104>>2]|0)==(d|0)){s=l;p=27;break}}if(+h[r>>3]>b){q=k;p=15;break a}else{k=k+1|0}}if((p|0)==14){yc(16048,19736,165,24736);return 0}else if((p|0)==27){i=e;return s|0}}}while(0);do{if((p|0)==15){if(!((q|0)==-1)){t=q;break}n=c[g>>2]|0;o=c[j>>2]|0;p=17}}while(0);if((p|0)==17){t=(n-o>>2)-1|0}o=gK(112)|0;n=o;p=o;Xo(p);c[o>>2]=28960;c[o+84>>2]=0;c[o+88>>2]=0;c[o+92>>2]=0;h[o+96>>3]=b;c[o+104>>2]=d;d=a|0;bp(p,d);if(!((t|0)==-1)){lp(d,p,t);s=n;i=e;return s|0}c[f>>2]=p;t=c[g>>2]|0;if((t|0)==(c[a+12>>2]|0)){xf(a+4|0,f);s=n;i=e;return s|0}if((t|0)==0){u=0}else{c[t>>2]=p;u=c[g>>2]|0}c[g>>2]=u+4;s=n;i=e;return s|0}function gf(a,b){a=a|0;b=+b;var d=0;d=(c[a+88>>2]|0)+96|0;if(!(+h[d>>3]>3]=b;return}function hf(a){a=a|0;ep(a|0);iK(a);return}function jf(a){a=a|0;ep(a|0);return}function kf(a,b){a=a|0;b=b|0;c[a+84>>2]=b;return}function lf(a,b){a=a|0;b=b|0;var d=0;d=a+88|0;if((c[d>>2]|0)>=(b|0)){return}c[d>>2]=b;return}function mf(a,b){a=a|0;b=b|0;var d=0;d=a+92|0;if((c[d>>2]|0)>=(b|0)){return}c[d>>2]=b;return}function nf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=c[b>>2]|0;b=c[d>>2]|0;e=c[d+4>>2]|0;f=c[d+8>>2]|0;d=a+88|0;g=((c[a+96>>2]|0)*-36|0)-24+(c[d>>2]|0)|0;c[d>>2]=g;a=-((c[e>>2]|0)+(c[b>>2]|0)|0)|0;if((g|0)<=(a|0)){h=c[f>>2]|0;i=c[h>>2]|0;j=i<<2;c[b>>2]=j;return 0}c[d>>2]=a;h=c[f>>2]|0;i=c[h>>2]|0;j=i<<2;c[b>>2]=j;return 0}function of(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=c[c[b>>2]>>2]|0;b=a+88|0;e=c[b>>2]|0;f=a+84|0;c[f>>2]=(c[d>>2]|0)+e+(c[f>>2]|0);c[d>>2]=(c[d>>2]|0)+e;c[b>>2]=0;return 0}function pf(a,b){a=a|0;b=b|0;c[c[c[b>>2]>>2]>>2]=0;return 0}function qf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=c[c[b>>2]>>2]|0;b=a+88|0;e=c[b>>2]|0;f=a+84|0;c[f>>2]=(c[d>>2]|0)+e+(c[f>>2]|0);c[d>>2]=(c[d>>2]|0)+e;c[b>>2]=0;return 0}function rf(a,b){a=a|0;b=b|0;a=c[b>>2]|0;b=c[a+4>>2]|0;h[c[a>>2]>>3]=0.0;c[b>>2]=0;return 0}function sf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,g=0.0,i=0;d=c[b>>2]|0;b=c[d>>2]|0;e=c[d+4>>2]|0;f=+h[a+96>>3];g=f- +h[b>>3];if(g>0.0){i=~~(+Z(+g,+.6)*2.5)}else{i=0}d=(c[e>>2]|0)+i|0;c[a+84>>2]=d;h[b>>3]=f;c[e>>2]=d;return 0}function tf(a,b){a=a|0;b=b|0;var d=0;if(((c[a+104>>2]|0)-1|0)>>>0<2>>>0){return 0}d=a+84|0;c[d>>2]=~~+ha(+h[c[c[b>>2]>>2]>>3]*+(c[d>>2]|0));return 0}function uf(b,c){b=b|0;c=c|0;a[b]=18;c=b;BK(c+1|0,11960,9)|0;a[c+10|0]=0;return}function vf(a){a=a|0;return}function wf(a,b){a=a|0;b=b|0;return 0}function xf(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;d=a+4|0;e=a|0;f=c[e>>2]|0;g=f;h=(c[d>>2]|0)-g|0;i=h>>2;j=i+1|0;if(j>>>0>1073741823>>>0){tG(0)}k=a+8|0;a=(c[k>>2]|0)-g|0;if(a>>2>>>0<536870911>>>0){g=a>>1;a=g>>>0>>0?j:g;if((a|0)==0){l=0;m=0}else{n=a;o=5}}else{n=1073741823;o=5}if((o|0)==5){l=gK(n<<2)|0;m=n}n=l+(i<<2)|0;if((n|0)!=0){c[n>>2]=c[b>>2]}b=f;BK(l|0,b|0,h)|0;c[e>>2]=l;c[d>>2]=l+(j<<2);c[k>>2]=l+(m<<2);if((f|0)==0){return}iK(b);return}function yf(a){a=a|0;Am(a|0);c[a>>2]=30192;return}function zf(a){a=a|0;Em(a|0);iK(a);return}function Af(a){a=a|0;Em(a|0);return}function Bf(a,b){a=a|0;b=b|0;var d=0;d=c[c[b>>2]>>2]|0;b=qd[c[(c[d>>2]|0)+48>>2]&255](d,a)|0;return(b?0:2)|0}function Cf(a){a=a|0;Xo(a|0);c[a>>2]=30024;DK(a+84|0,0,12)|0;return}function Df(b){b=b|0;c[b>>2]=30024;if(!((a[b+84|0]&1)==0)){iK(c[b+92>>2]|0)}ep(b|0);iK(b);return}function Ef(b){b=b|0;c[b>>2]=30024;if(!((a[b+84|0]&1)==0)){iK(c[b+92>>2]|0)}ep(b|0);return}function Ff(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;i=i+8|0;f=e|0;g=b|0;b=a|0;bp(g,b);if(!((d|0)==-1)){lp(b,g,d);i=e;return}c[f>>2]=g;d=a+8|0;b=c[d>>2]|0;if((b|0)==(c[a+12>>2]|0)){xf(a+4|0,f);i=e;return}if((b|0)==0){h=0}else{c[b>>2]=g;h=c[d>>2]|0}c[d>>2]=h+4;i=e;return}function Gf(a,b){a=a|0;b=b|0;var d=0;d=c[c[b>>2]>>2]|0;b=qd[c[(c[d>>2]|0)+52>>2]&255](d,a)|0;return(b?0:2)|0}function Hf(a){a=a|0;c[a>>2]=35488;return}function If(a){a=a|0;iK(a);return}function Jf(a){a=a|0;return}function Kf(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;d=e;if((a[d]&1)==0){f=b;c[f>>2]=c[d>>2];c[f+4>>2]=c[d+4>>2];c[f+8>>2]=c[d+8>>2];return}d=c[e+8>>2]|0;f=c[e+4>>2]|0;if(f>>>0>4294967279>>>0){GA(0)}if(f>>>0<11>>>0){a[b]=f<<1;g=b+1|0}else{e=f+16&-16;h=gK(e)|0;c[b+8>>2]=h;c[b>>2]=e|1;c[b+4>>2]=f;g=h}BK(g|0,d|0,f)|0;a[g+f|0]=0;return}function Lf(b,d){b=b|0;d=d|0;var e=0;if((a[d]&1)==0){e=d+1|0}else{e=c[d+8>>2]|0}return jc(e|0)|0}function Mf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>1>>>0;do{if((xK(g,14848,j?1:h)|0)==0){if((h|0)!=0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}j=m>>>0>1>>>0;do{if((xK(l,12856,j?1:m)|0)==0){if((m|0)!=0&(j^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0;o=(e&255)>>>1}else{n=c[d+8>>2]|0;o=c[d+4>>2]|0}j=o>>>0>2>>>0;do{if((xK(n,11744,j?2:o)|0)==0){if(o>>>0>1>>>0&(j^1)){k=3}else{break}i=b;return k|0}}while(0);if(f){p=d+1|0;q=(e&255)>>>1}else{p=c[d+8>>2]|0;q=c[d+4>>2]|0}j=q>>>0>1>>>0;do{if((xK(p,11656,j?1:q)|0)==0){if((q|0)!=0&(j^1)){k=4}else{break}i=b;return k|0}}while(0);if(f){r=d+1|0;s=(e&255)>>>1}else{r=c[d+8>>2]|0;s=c[d+4>>2]|0}j=s>>>0>2>>>0;do{if((xK(r,9856,j?2:s)|0)==0){if(s>>>0>1>>>0&(j^1)){k=5}else{break}i=b;return k|0}}while(0);if(f){t=d+1|0;u=(e&255)>>>1}else{t=c[d+8>>2]|0;u=c[d+4>>2]|0}j=u>>>0>2>>>0;do{if((xK(t,9624,j?2:u)|0)==0){if(u>>>0>1>>>0&(j^1)){k=6}else{break}i=b;return k|0}}while(0);if(f){v=d+1|0;w=(e&255)>>>1}else{v=c[d+8>>2]|0;w=c[d+4>>2]|0}j=w>>>0>2>>>0;do{if((xK(v,8416,j?2:w)|0)==0){if(w>>>0>1>>>0&(j^1)){k=7}else{break}i=b;return k|0}}while(0);if(f){x=d+1|0;y=(e&255)>>>1}else{x=c[d+8>>2]|0;y=c[d+4>>2]|0}j=y>>>0>2>>>0;do{if((xK(x,7392,j?2:y)|0)==0){if(y>>>0>1>>>0&(j^1)){k=8}else{break}i=b;return k|0}}while(0);if(f){z=d+1|0;A=(e&255)>>>1}else{z=c[d+8>>2]|0;A=c[d+4>>2]|0}j=A>>>0>1>>>0;do{if((xK(z,21656,j?1:A)|0)==0){if((A|0)!=0&(j^1)){k=9}else{break}i=b;return k|0}}while(0);if(f){B=d+1|0;C=(e&255)>>>1}else{B=c[d+8>>2]|0;C=c[d+4>>2]|0}j=C>>>0>2>>>0;do{if((xK(B,20680,j?2:C)|0)==0){if(C>>>0>1>>>0&(j^1)){k=10}else{break}i=b;return k|0}}while(0);if(f){D=d+1|0;E=(e&255)>>>1}else{D=c[d+8>>2]|0;E=c[d+4>>2]|0}j=E>>>0>2>>>0;do{if((xK(D,19688,j?2:E)|0)==0){if(E>>>0>1>>>0&(j^1)){k=11}else{break}i=b;return k|0}}while(0);if(f){F=d+1|0;G=(e&255)>>>1}else{F=c[d+8>>2]|0;G=c[d+4>>2]|0}j=G>>>0>2>>>0;do{if((xK(F,19072,j?2:G)|0)==0){if(G>>>0>1>>>0&(j^1)){k=12}else{break}i=b;return k|0}}while(0);if(f){H=d+1|0;I=(e&255)>>>1}else{H=c[d+8>>2]|0;I=c[d+4>>2]|0}j=I>>>0>2>>>0;do{if((xK(H,18336,j?2:I)|0)==0){if(I>>>0>1>>>0&(j^1)){k=13}else{break}i=b;return k|0}}while(0);if(f){J=d+1|0;K=(e&255)>>>1}else{J=c[d+8>>2]|0;K=c[d+4>>2]|0}j=K>>>0>2>>>0;do{if((xK(J,18128,j?2:K)|0)==0){if(K>>>0>1>>>0&(j^1)){k=14}else{break}i=b;return k|0}}while(0);if(f){L=d+1|0;M=(e&255)>>>1}else{L=c[d+8>>2]|0;M=c[d+4>>2]|0}j=M>>>0>2>>>0;do{if((xK(L,17784,j?2:M)|0)==0){if(M>>>0>1>>>0&(j^1)){k=15}else{break}i=b;return k|0}}while(0);if(f){N=d+1|0;O=(e&255)>>>1}else{N=c[d+8>>2]|0;O=c[d+4>>2]|0}j=O>>>0>2>>>0;do{if((xK(N,17720,j?2:O)|0)==0){if(O>>>0>1>>>0&(j^1)){k=16}else{break}i=b;return k|0}}while(0);if(f){P=d+1|0;Q=(e&255)>>>1}else{P=c[d+8>>2]|0;Q=c[d+4>>2]|0}e=Q>>>0>2>>>0;do{if((xK(P,17384,e?2:Q)|0)==0){if(Q>>>0>1>>>0&(e^1)){k=17}else{break}i=b;return k|0}}while(0);if(f){R=d+1|0}else{R=c[d+8>>2]|0}ee(16592,(d=i,i=i+8|0,c[d>>2]=R,d)|0);i=d;k=0;i=b;return k|0}function Nf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>1>>>0;do{if((xK(g,14848,j?1:h)|0)==0){if((h|0)!=0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}j=m>>>0>1>>>0;do{if((xK(l,12856,j?1:m)|0)==0){if((m|0)!=0&(j^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0;o=(e&255)>>>1}else{n=c[d+8>>2]|0;o=c[d+4>>2]|0}j=o>>>0>2>>>0;do{if((xK(n,11744,j?2:o)|0)==0){if(o>>>0>1>>>0&(j^1)){k=3}else{break}i=b;return k|0}}while(0);if(f){p=d+1|0;q=(e&255)>>>1}else{p=c[d+8>>2]|0;q=c[d+4>>2]|0}j=q>>>0>2>>>0;do{if((xK(p,9856,j?2:q)|0)==0){if(q>>>0>1>>>0&(j^1)){k=4}else{break}i=b;return k|0}}while(0);if(f){r=d+1|0;s=(e&255)>>>1}else{r=c[d+8>>2]|0;s=c[d+4>>2]|0}j=s>>>0>1>>>0;do{if((xK(r,21656,j?1:s)|0)==0){if((s|0)!=0&(j^1)){k=5}else{break}i=b;return k|0}}while(0);if(f){t=d+1|0;u=(e&255)>>>1}else{t=c[d+8>>2]|0;u=c[d+4>>2]|0}j=u>>>0>2>>>0;do{if((xK(t,19072,j?2:u)|0)==0){if(u>>>0>1>>>0&(j^1)){k=6}else{break}i=b;return k|0}}while(0);if(f){v=d+1|0;w=(e&255)>>>1}else{v=c[d+8>>2]|0;w=c[d+4>>2]|0}j=w>>>0>2>>>0;do{if((xK(v,18336,j?2:w)|0)==0){if(w>>>0>1>>>0&(j^1)){k=7}else{break}i=b;return k|0}}while(0);if(f){x=d+1|0;y=(e&255)>>>1}else{x=c[d+8>>2]|0;y=c[d+4>>2]|0}j=y>>>0>2>>>0;do{if((xK(x,18128,j?2:y)|0)==0){if(y>>>0>1>>>0&(j^1)){k=8}else{break}i=b;return k|0}}while(0);if(f){z=d+1|0;A=(e&255)>>>1}else{z=c[d+8>>2]|0;A=c[d+4>>2]|0}e=A>>>0>2>>>0;do{if((xK(z,17784,e?2:A)|0)==0){if(A>>>0>1>>>0&(e^1)){k=9}else{break}i=b;return k|0}}while(0);if(f){B=d+1|0}else{B=c[d+8>>2]|0}ee(16592,(d=i,i=i+8|0,c[d>>2]=B,d)|0);i=d;k=0;i=b;return k|0}function Of(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>6>>>0;do{if((xK(g,16520,j?6:h)|0)==0){if(h>>>0>5>>>0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}j=m>>>0>6>>>0;do{if((xK(l,16016,j?6:m)|0)==0){if(m>>>0>5>>>0&(j^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0;o=(e&255)>>>1}else{n=c[d+8>>2]|0;o=c[d+4>>2]|0}j=o>>>0>3>>>0;do{if((xK(n,15600,j?3:o)|0)==0){if(o>>>0>2>>>0&(j^1)){k=3}else{break}i=b;return k|0}}while(0);if(f){p=d+1|0;q=(e&255)>>>1}else{p=c[d+8>>2]|0;q=c[d+4>>2]|0}j=q>>>0>9>>>0;do{if((xK(p,15584,j?9:q)|0)==0){if(q>>>0>8>>>0&(j^1)){k=4}else{break}i=b;return k|0}}while(0);if(f){r=d+1|0;s=(e&255)>>>1}else{r=c[d+8>>2]|0;s=c[d+4>>2]|0}j=s>>>0>9>>>0;do{if((xK(r,15272,j?9:s)|0)==0){if(s>>>0>8>>>0&(j^1)){k=5}else{break}i=b;return k|0}}while(0);if(f){t=d+1|0;u=(e&255)>>>1}else{t=c[d+8>>2]|0;u=c[d+4>>2]|0}j=u>>>0>3>>>0;do{if((xK(t,14840,j?3:u)|0)==0){if(u>>>0>2>>>0&(j^1)){k=6}else{break}i=b;return k|0}}while(0);if(f){v=d+1|0;w=(e&255)>>>1}else{v=c[d+8>>2]|0;w=c[d+4>>2]|0}j=w>>>0>5>>>0;do{if((xK(v,14832,j?5:w)|0)==0){if(w>>>0>4>>>0&(j^1)){k=7}else{break}i=b;return k|0}}while(0);if(f){x=d+1|0;y=(e&255)>>>1}else{x=c[d+8>>2]|0;y=c[d+4>>2]|0}j=y>>>0>8>>>0;do{if((xK(x,14672,j?8:y)|0)==0){if(y>>>0>7>>>0&(j^1)){k=8}else{break}i=b;return k|0}}while(0);if(f){z=d+1|0;A=(e&255)>>>1}else{z=c[d+8>>2]|0;A=c[d+4>>2]|0}j=A>>>0>7>>>0;do{if((xK(z,14536,j?7:A)|0)==0){if(A>>>0>6>>>0&(j^1)){k=9}else{break}i=b;return k|0}}while(0);if(f){B=d+1|0;C=(e&255)>>>1}else{B=c[d+8>>2]|0;C=c[d+4>>2]|0}j=C>>>0>6>>>0;do{if((xK(B,14304,j?6:C)|0)==0){if(C>>>0>5>>>0&(j^1)){k=10}else{break}i=b;return k|0}}while(0);if(f){D=d+1|0;E=(e&255)>>>1}else{D=c[d+8>>2]|0;E=c[d+4>>2]|0}e=E>>>0>6>>>0;do{if((xK(D,13968,e?6:E)|0)==0){if(E>>>0>5>>>0&(e^1)){k=11}else{break}i=b;return k|0}}while(0);if(f){F=d+1|0}else{F=c[d+8>>2]|0}ee(16592,(d=i,i=i+8|0,c[d>>2]=F,d)|0);i=d;k=0;i=b;return k|0}function Pf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>4>>>0;do{if((xK(g,13624,j?4:h)|0)==0){if(h>>>0>3>>>0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}e=m>>>0>5>>>0;do{if((xK(l,13504,e?5:m)|0)==0){if(m>>>0>4>>>0&(e^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0}else{n=c[d+8>>2]|0}ee(16592,(d=i,i=i+8|0,c[d>>2]=n,d)|0);i=d;k=0;i=b;return k|0}function Qf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>1>>>0;do{if((xK(g,13272,j?1:h)|0)==0){if((h|0)!=0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}j=m>>>0>1>>>0;do{if((xK(l,12960,j?1:m)|0)==0){if((m|0)!=0&(j^1)){k=3}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0;o=(e&255)>>>1}else{n=c[d+8>>2]|0;o=c[d+4>>2]|0}j=o>>>0>1>>>0;do{if((xK(n,12848,j?1:o)|0)==0){if((o|0)!=0&(j^1)){k=4}else{break}i=b;return k|0}}while(0);if(f){p=d+1|0;q=(e&255)>>>1}else{p=c[d+8>>2]|0;q=c[d+4>>2]|0}e=q>>>0>4>>>0;do{if((xK(p,12800,e?4:q)|0)==0){if(q>>>0>3>>>0&(e^1)){k=5}else{break}i=b;return k|0}}while(0);if(f){r=d+1|0}else{r=c[d+8>>2]|0}ee(12480,(d=i,i=i+8|0,c[d>>2]=r,d)|0);i=d;k=0;i=b;return k|0}function Rf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>1>>>0;do{if((xK(g,14848,j?1:h)|0)==0){if((h|0)!=0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}j=m>>>0>1>>>0;do{if((xK(l,12104,j?1:m)|0)==0){if((m|0)!=0&(j^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0;o=(e&255)>>>1}else{n=c[d+8>>2]|0;o=c[d+4>>2]|0}j=o>>>0>1>>>0;do{if((xK(n,12016,j?1:o)|0)==0){if((o|0)!=0&(j^1)){k=3}else{break}i=b;return k|0}}while(0);if(f){p=d+1|0;q=(e&255)>>>1}else{p=c[d+8>>2]|0;q=c[d+4>>2]|0}j=q>>>0>1>>>0;do{if((xK(p,11904,j?1:q)|0)==0){if((q|0)!=0&(j^1)){k=4}else{break}i=b;return k|0}}while(0);if(f){r=d+1|0;s=(e&255)>>>1}else{r=c[d+8>>2]|0;s=c[d+4>>2]|0}j=s>>>0>1>>>0;do{if((xK(r,11856,j?1:s)|0)==0){if((s|0)!=0&(j^1)){k=5}else{break}i=b;return k|0}}while(0);if(f){t=d+1|0;u=(e&255)>>>1}else{t=c[d+8>>2]|0;u=c[d+4>>2]|0}j=u>>>0>1>>>0;do{if((xK(t,11784,j?1:u)|0)==0){if((u|0)!=0&(j^1)){k=6}else{break}i=b;return k|0}}while(0);if(f){v=d+1|0;w=(e&255)>>>1}else{v=c[d+8>>2]|0;w=c[d+4>>2]|0}j=w>>>0>1>>>0;do{if((xK(v,11736,j?1:w)|0)==0){if((w|0)!=0&(j^1)){k=7}else{break}i=b;return k|0}}while(0);if(f){x=d+1|0;y=(e&255)>>>1}else{x=c[d+8>>2]|0;y=c[d+4>>2]|0}e=y>>>0>1>>>0;do{if((xK(x,11696,e?1:y)|0)==0){if((y|0)!=0&(e^1)){k=8}else{break}i=b;return k|0}}while(0);if(f){z=d+1|0}else{z=c[d+8>>2]|0}ee(16592,(d=i,i=i+8|0,c[d>>2]=z,d)|0);i=d;k=0;i=b;return k|0}function Sf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>5>>>0;do{if((xK(g,11648,j?5:h)|0)==0){if(h>>>0>4>>>0&(j^1)){k=0}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}j=m>>>0>6>>>0;do{if((xK(l,11608,j?6:m)|0)==0){if(m>>>0>5>>>0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0;o=(e&255)>>>1}else{n=c[d+8>>2]|0;o=c[d+4>>2]|0}j=o>>>0>10>>>0;do{if((xK(n,11472,j?10:o)|0)==0){if(o>>>0>9>>>0&(j^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){p=d+1|0;q=(e&255)>>>1}else{p=c[d+8>>2]|0;q=c[d+4>>2]|0}j=q>>>0>6>>>0;do{if((xK(p,11192,j?6:q)|0)==0){if(q>>>0>5>>>0&(j^1)){k=3}else{break}i=b;return k|0}}while(0);if(f){r=d+1|0;s=(e&255)>>>1}else{r=c[d+8>>2]|0;s=c[d+4>>2]|0}j=s>>>0>10>>>0;do{if((xK(r,11096,j?10:s)|0)==0){if(s>>>0>9>>>0&(j^1)){k=4}else{break}i=b;return k|0}}while(0);if(f){t=d+1|0;u=(e&255)>>>1}else{t=c[d+8>>2]|0;u=c[d+4>>2]|0}j=u>>>0>4>>>0;do{if((xK(t,11e3,j?4:u)|0)==0){if(u>>>0>3>>>0&(j^1)){k=5}else{break}i=b;return k|0}}while(0);if(f){v=d+1|0;w=(e&255)>>>1}else{v=c[d+8>>2]|0;w=c[d+4>>2]|0}j=w>>>0>8>>>0;do{if((xK(v,10944,j?8:w)|0)==0){if(w>>>0>7>>>0&(j^1)){k=6}else{break}i=b;return k|0}}while(0);if(f){x=d+1|0;y=(e&255)>>>1}else{x=c[d+8>>2]|0;y=c[d+4>>2]|0}j=y>>>0>4>>>0;do{if((xK(x,10912,j?4:y)|0)==0){if(y>>>0>3>>>0&(j^1)){k=0}else{break}i=b;return k|0}}while(0);if(f){z=d+1|0;A=(e&255)>>>1}else{z=c[d+8>>2]|0;A=c[d+4>>2]|0}j=A>>>0>5>>>0;do{if((xK(z,10776,j?5:A)|0)==0){if(A>>>0>4>>>0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){B=d+1|0;C=(e&255)>>>1}else{B=c[d+8>>2]|0;C=c[d+4>>2]|0}j=C>>>0>1>>>0;do{if((xK(B,10768,j?1:C)|0)==0){if((C|0)!=0&(j^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){D=d+1|0;E=(e&255)>>>1}else{D=c[d+8>>2]|0;E=c[d+4>>2]|0}j=E>>>0>1>>>0;do{if((xK(D,10672,j?1:E)|0)==0){if((E|0)!=0&(j^1)){k=3}else{break}i=b;return k|0}}while(0);if(f){F=d+1|0;G=(e&255)>>>1}else{F=c[d+8>>2]|0;G=c[d+4>>2]|0}j=G>>>0>1>>>0;do{if((xK(F,10624,j?1:G)|0)==0){if((G|0)!=0&(j^1)){k=4}else{break}i=b;return k|0}}while(0);if(f){H=d+1|0;I=(e&255)>>>1}else{H=c[d+8>>2]|0;I=c[d+4>>2]|0}j=I>>>0>1>>>0;do{if((xK(H,10536,j?1:I)|0)==0){if((I|0)!=0&(j^1)){k=5}else{break}i=b;return k|0}}while(0);if(f){J=d+1|0;K=(e&255)>>>1}else{J=c[d+8>>2]|0;K=c[d+4>>2]|0}j=K>>>0>2>>>0;do{if((xK(J,10344,j?2:K)|0)==0){if(K>>>0>1>>>0&(j^1)){k=6}else{break}i=b;return k|0}}while(0);if(f){L=d+1|0;M=(e&255)>>>1}else{L=c[d+8>>2]|0;M=c[d+4>>2]|0}j=M>>>0>2>>>0;do{if((xK(L,10224,j?2:M)|0)==0){if(M>>>0>1>>>0&(j^1)){k=7}else{break}i=b;return k|0}}while(0);if(f){N=d+1|0;O=(e&255)>>>1}else{N=c[d+8>>2]|0;O=c[d+4>>2]|0}j=O>>>0>2>>>0;do{if((xK(N,10088,j?2:O)|0)==0){if(O>>>0>1>>>0&(j^1)){k=8}else{break}i=b;return k|0}}while(0);if(f){P=d+1|0;Q=(e&255)>>>1}else{P=c[d+8>>2]|0;Q=c[d+4>>2]|0}j=Q>>>0>3>>>0;do{if((xK(P,10008,j?3:Q)|0)==0){if(Q>>>0>2>>>0&(j^1)){k=9}else{break}i=b;return k|0}}while(0);if(f){R=(e&255)>>>1}else{R=c[d+4>>2]|0}do{if((R|0)!=0){if(f){S=d+1|0;T=(e&255)>>>1}else{S=c[d+8>>2]|0;T=c[d+4>>2]|0}if((a[S+(T-1)|0]|0)!=112){break}ee(9816,(U=i,i=i+1|0,i=i+7&-8,c[U>>2]=0,U)|0);i=U;k=-2147483647;i=b;return k|0}}while(0);if(f){V=d+1|0}else{V=c[d+8>>2]|0}ee(9712,(U=i,i=i+8|0,c[U>>2]=V,U)|0);i=U;k=-2147483647;i=b;return k|0}function Tf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>2>>>0;do{if((xK(g,9616,j?2:h)|0)==0){if(h>>>0>1>>>0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}j=m>>>0>2>>>0;do{if((xK(l,9544,j?2:m)|0)==0){if(m>>>0>1>>>0&(j^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0;o=(e&255)>>>1}else{n=c[d+8>>2]|0;o=c[d+4>>2]|0}j=o>>>0>2>>>0;do{if((xK(n,9488,j?2:o)|0)==0){if(o>>>0>1>>>0&(j^1)){k=3}else{break}i=b;return k|0}}while(0);if(f){p=d+1|0;q=(e&255)>>>1}else{p=c[d+8>>2]|0;q=c[d+4>>2]|0}j=q>>>0>2>>>0;do{if((xK(p,9376,j?2:q)|0)==0){if(q>>>0>1>>>0&(j^1)){k=4}else{break}i=b;return k|0}}while(0);if(f){r=d+1|0;s=(e&255)>>>1}else{r=c[d+8>>2]|0;s=c[d+4>>2]|0}j=s>>>0>2>>>0;do{if((xK(r,9176,j?2:s)|0)==0){if(s>>>0>1>>>0&(j^1)){k=5}else{break}i=b;return k|0}}while(0);if(f){t=d+1|0;u=(e&255)>>>1}else{t=c[d+8>>2]|0;u=c[d+4>>2]|0}j=u>>>0>2>>>0;do{if((xK(t,9168,j?2:u)|0)==0){if(u>>>0>1>>>0&(j^1)){k=6}else{break}i=b;return k|0}}while(0);if(f){v=d+1|0;w=(e&255)>>>1}else{v=c[d+8>>2]|0;w=c[d+4>>2]|0}j=w>>>0>2>>>0;do{if((xK(v,9104,j?2:w)|0)==0){if(w>>>0>1>>>0&(j^1)){k=7}else{break}i=b;return k|0}}while(0);if(f){x=d+1|0;y=(e&255)>>>1}else{x=c[d+8>>2]|0;y=c[d+4>>2]|0}j=y>>>0>1>>>0;do{if((xK(x,9056,j?1:y)|0)==0){if((y|0)!=0&(j^1)){k=8}else{break}i=b;return k|0}}while(0);if(f){z=d+1|0;A=(e&255)>>>1}else{z=c[d+8>>2]|0;A=c[d+4>>2]|0}j=A>>>0>2>>>0;do{if((xK(z,9e3,j?2:A)|0)==0){if(A>>>0>1>>>0&(j^1)){k=9}else{break}i=b;return k|0}}while(0);if(f){B=d+1|0;C=(e&255)>>>1}else{B=c[d+8>>2]|0;C=c[d+4>>2]|0}j=C>>>0>2>>>0;do{if((xK(B,8936,j?2:C)|0)==0){if(C>>>0>1>>>0&(j^1)){k=10}else{break}i=b;return k|0}}while(0);if(f){D=d+1|0;E=(e&255)>>>1}else{D=c[d+8>>2]|0;E=c[d+4>>2]|0}j=E>>>0>2>>>0;do{if((xK(D,8872,j?2:E)|0)==0){if(E>>>0>1>>>0&(j^1)){k=11}else{break}i=b;return k|0}}while(0);if(f){F=d+1|0;G=(e&255)>>>1}else{F=c[d+8>>2]|0;G=c[d+4>>2]|0}j=G>>>0>2>>>0;do{if((xK(F,8840,j?2:G)|0)==0){if(G>>>0>1>>>0&(j^1)){k=12}else{break}i=b;return k|0}}while(0);if(f){H=d+1|0;I=(e&255)>>>1}else{H=c[d+8>>2]|0;I=c[d+4>>2]|0}j=I>>>0>2>>>0;do{if((xK(H,8808,j?2:I)|0)==0){if(I>>>0>1>>>0&(j^1)){k=13}else{break}i=b;return k|0}}while(0);if(f){J=d+1|0;K=(e&255)>>>1}else{J=c[d+8>>2]|0;K=c[d+4>>2]|0}j=K>>>0>2>>>0;do{if((xK(J,8736,j?2:K)|0)==0){if(K>>>0>1>>>0&(j^1)){k=14}else{break}i=b;return k|0}}while(0);if(f){L=d+1|0;M=(e&255)>>>1}else{L=c[d+8>>2]|0;M=c[d+4>>2]|0}j=M>>>0>2>>>0;do{if((xK(L,8664,j?2:M)|0)==0){if(M>>>0>1>>>0&(j^1)){k=15}else{break}i=b;return k|0}}while(0);if(f){N=d+1|0;O=(e&255)>>>1}else{N=c[d+8>>2]|0;O=c[d+4>>2]|0}e=O>>>0>5>>>0;do{if((xK(N,8560,e?5:O)|0)==0){if(O>>>0>4>>>0&(e^1)){k=16}else{break}i=b;return k|0}}while(0);if(f){P=d+1|0}else{P=c[d+8>>2]|0}ee(16592,(d=i,i=i+8|0,c[d>>2]=P,d)|0);i=d;k=0;i=b;return k|0}function Uf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>5>>>0;do{if((xK(g,8520,j?5:h)|0)==0){if(h>>>0>4>>>0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}e=m>>>0>7>>>0;do{if((xK(l,8480,e?7:m)|0)==0){if(m>>>0>6>>>0&(e^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0}else{n=c[d+8>>2]|0}ee(16592,(d=i,i=i+8|0,c[d>>2]=n,d)|0);i=d;k=0;i=b;return k|0}function Vf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>1>>>0;do{if((xK(g,12848,j?1:h)|0)==0){if((h|0)!=0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}e=m>>>0>1>>>0;do{if((xK(l,8424,e?1:m)|0)==0){if((m|0)!=0&(e^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0}else{n=c[d+8>>2]|0}ee(8208,(d=i,i=i+8|0,c[d>>2]=n,d)|0);i=d;k=1;i=b;return k|0}function Wf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>6>>>0;do{if((xK(g,8160,j?6:h)|0)==0){if(h>>>0>5>>>0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}e=m>>>0>3>>>0;do{if((xK(l,8072,e?3:m)|0)==0){if(m>>>0>2>>>0&(e^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0}else{n=c[d+8>>2]|0}ee(7800,(d=i,i=i+8|0,c[d>>2]=n,d)|0);i=d;k=0;i=b;return k|0}function Xf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>5>>>0;do{if((xK(g,7648,j?5:h)|0)==0){if(h>>>0>4>>>0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}j=m>>>0>5>>>0;do{if((xK(l,7576,j?5:m)|0)==0){if(m>>>0>4>>>0&(j^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0;o=(e&255)>>>1}else{n=c[d+8>>2]|0;o=c[d+4>>2]|0}j=o>>>0>6>>>0;do{if((xK(n,7512,j?6:o)|0)==0){if(o>>>0>5>>>0&(j^1)){k=3}else{break}i=b;return k|0}}while(0);if(f){p=d+1|0;q=(e&255)>>>1}else{p=c[d+8>>2]|0;q=c[d+4>>2]|0}j=q>>>0>8>>>0;do{if((xK(p,7400,j?8:q)|0)==0){if(q>>>0>7>>>0&(j^1)){k=4}else{break}i=b;return k|0}}while(0);if(f){r=d+1|0;s=(e&255)>>>1}else{r=c[d+8>>2]|0;s=c[d+4>>2]|0}j=s>>>0>6>>>0;do{if((xK(r,7312,j?6:s)|0)==0){if(s>>>0>5>>>0&(j^1)){k=5}else{break}i=b;return k|0}}while(0);if(f){t=d+1|0;u=(e&255)>>>1}else{t=c[d+8>>2]|0;u=c[d+4>>2]|0}j=u>>>0>10>>>0;do{if((xK(t,22496,j?10:u)|0)==0){if(u>>>0>9>>>0&(j^1)){k=6}else{break}i=b;return k|0}}while(0);if(f){v=d+1|0;w=(e&255)>>>1}else{v=c[d+8>>2]|0;w=c[d+4>>2]|0}j=w>>>0>7>>>0;do{if((xK(v,22432,j?7:w)|0)==0){if(w>>>0>6>>>0&(j^1)){k=7}else{break}i=b;return k|0}}while(0);if(f){x=d+1|0;y=(e&255)>>>1}else{x=c[d+8>>2]|0;y=c[d+4>>2]|0}e=y>>>0>7>>>0;do{if((xK(x,22352,e?7:y)|0)==0){if(y>>>0>6>>>0&(e^1)){k=8}else{break}i=b;return k|0}}while(0);if(f){z=d+1|0}else{z=c[d+8>>2]|0}ee(22136,(d=i,i=i+8|0,c[d>>2]=z,d)|0);i=d;k=0;i=b;return k|0}function Yf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>1>>>0;do{if((xK(g,10536,j?1:h)|0)==0){if((h|0)!=0&(j^1)){k=8}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}j=m>>>0>2>>>0;do{if((xK(l,22e3,j?2:m)|0)==0){if(m>>>0>1>>>0&(j^1)){k=15}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0;o=(e&255)>>>1}else{n=c[d+8>>2]|0;o=c[d+4>>2]|0}e=o>>>0>2>>>0;do{if((xK(n,21904,e?2:o)|0)==0){if(o>>>0>1>>>0&(e^1)){k=22}else{break}i=b;return k|0}}while(0);if(f){p=d+1|0}else{p=c[d+8>>2]|0}ee(21736,(d=i,i=i+8|0,c[d>>2]=p,d)|0);i=d;k=0;i=b;return k|0}function Zf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>8>>>0;do{if((xK(g,21664,j?8:h)|0)==0){if(h>>>0>7>>>0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}j=m>>>0>4>>>0;do{if((xK(l,21600,j?4:m)|0)==0){if(m>>>0>3>>>0&(j^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0;o=(e&255)>>>1}else{n=c[d+8>>2]|0;o=c[d+4>>2]|0}e=o>>>0>5>>>0;do{if((xK(n,21464,e?5:o)|0)==0){if(o>>>0>4>>>0&(e^1)){k=3}else{break}i=b;return k|0}}while(0);if(f){p=d+1|0}else{p=c[d+8>>2]|0}ee(16592,(d=i,i=i+8|0,c[d>>2]=p,d)|0);i=d;k=0;i=b;return k|0}function _f(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>1>>>0;do{if((xK(g,11856,j?1:h)|0)==0){if((h|0)!=0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}j=m>>>0>1>>>0;do{if((xK(l,12104,j?1:m)|0)==0){if((m|0)!=0&(j^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0;o=(e&255)>>>1}else{n=c[d+8>>2]|0;o=c[d+4>>2]|0}j=o>>>0>1>>>0;do{if((xK(n,21376,j?1:o)|0)==0){if((o|0)!=0&(j^1)){k=3}else{break}i=b;return k|0}}while(0);if(f){p=d+1|0;q=(e&255)>>>1}else{p=c[d+8>>2]|0;q=c[d+4>>2]|0}j=q>>>0>1>>>0;do{if((xK(p,12856,j?1:q)|0)==0){if((q|0)!=0&(j^1)){k=4}else{break}i=b;return k|0}}while(0);if(f){r=d+1|0;s=(e&255)>>>1}else{r=c[d+8>>2]|0;s=c[d+4>>2]|0}j=s>>>0>1>>>0;do{if((xK(r,21280,j?1:s)|0)==0){if((s|0)!=0&(j^1)){k=5}else{break}i=b;return k|0}}while(0);if(f){t=d+1|0;u=(e&255)>>>1}else{t=c[d+8>>2]|0;u=c[d+4>>2]|0}j=u>>>0>1>>>0;do{if((xK(t,21064,j?1:u)|0)==0){if((u|0)!=0&(j^1)){k=6}else{break}i=b;return k|0}}while(0);if(f){v=d+1|0;w=(e&255)>>>1}else{v=c[d+8>>2]|0;w=c[d+4>>2]|0}e=w>>>0>1>>>0;do{if((xK(v,11696,e?1:w)|0)==0){if((w|0)!=0&(e^1)){k=7}else{break}i=b;return k|0}}while(0);if(f){x=d+1|0}else{x=c[d+8>>2]|0}ee(16592,(d=i,i=i+8|0,c[d>>2]=x,d)|0);i=d;k=0;i=b;return k|0}function $f(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>5>>>0;do{if((xK(g,20904,j?5:h)|0)==0){if(h>>>0>4>>>0&(j^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}e=m>>>0>5>>>0;do{if((xK(l,21e3,e?5:m)|0)==0){if(m>>>0>4>>>0&(e^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0}else{n=c[d+8>>2]|0}ee(20776,(d=i,i=i+8|0,c[d>>2]=n,d)|0);i=d;k=0;i=b;return k|0}function ag(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>2>>>0;do{if((xK(g,20688,j?2:h)|0)==0){if(h>>>0>1>>>0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}e=m>>>0>4>>>0;do{if((xK(l,20584,e?4:m)|0)==0){if(m>>>0>3>>>0&(e^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0}else{n=c[d+8>>2]|0}ee(16592,(d=i,i=i+8|0,c[d>>2]=n,d)|0);i=d;k=0;i=b;return k|0}function bg(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>4>>>0;do{if((xK(g,20464,j?4:h)|0)==0){if(h>>>0>3>>>0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}j=m>>>0>5>>>0;do{if((xK(l,20368,j?5:m)|0)==0){if(m>>>0>4>>>0&(j^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0;o=(e&255)>>>1}else{n=c[d+8>>2]|0;o=c[d+4>>2]|0}e=o>>>0>6>>>0;do{if((xK(n,20320,e?6:o)|0)==0){if(o>>>0>5>>>0&(e^1)){k=3}else{break}i=b;return k|0}}while(0);if(f){p=d+1|0}else{p=c[d+8>>2]|0}ee(16592,(d=i,i=i+8|0,c[d>>2]=p,d)|0);i=d;k=0;i=b;return k|0}function cg(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>1>>>0;do{if((xK(g,11736,j?1:h)|0)==0){if((h|0)!=0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}j=m>>>0>1>>>0;do{if((xK(l,20136,j?1:m)|0)==0){if((m|0)!=0&(j^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0;o=(e&255)>>>1}else{n=c[d+8>>2]|0;o=c[d+4>>2]|0}e=o>>>0>1>>>0;do{if((xK(n,11904,e?1:o)|0)==0){if((o|0)!=0&(e^1)){k=3}else{break}i=b;return k|0}}while(0);if(f){p=d+1|0}else{p=c[d+8>>2]|0}ee(16592,(d=i,i=i+8|0,c[d>>2]=p,d)|0);i=d;k=0;i=b;return k|0}function dg(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+16|0;e=d|0;f=b|0;g=e;a[g]=12;h=e;j=h+1|0;a[j]=a[19992]|0;a[j+1|0]=a[19993]|0;a[j+2|0]=a[19994]|0;a[j+3|0]=a[19995]|0;a[j+4|0]=a[19996]|0;a[j+5|0]=a[19997]|0;a[h+7|0]=0;Bm(f,e);if(!((a[g]&1)==0)){iK(c[e+8>>2]|0)}e=b+164|0;hx(e);c[b>>2]=30816;c[b+164>>2]=30988;Cm(f);ix(e);a[b+172|0]=0;a[b+173|0]=0;i=d;return}function eg(a){a=a|0;kx(a+164|0);Em(a|0);iK(a);return}function fg(a){a=a|0;var b=0;b=a-176+12|0;kx(b+164|0);Em(b);iK(b);return}function gg(a){a=a|0;kx(a+164|0);Em(a|0);return}function hg(a){a=a|0;var b=0;b=a-176+12|0;kx(b+164|0);Em(b);return}function ig(a){a=a|0;Cm(a|0);ix(a+164|0);return}function jg(a,b){a=a|0;b=b|0;var c=0;if((b|0)==0){c=0;return c|0}c=(VJ(b,46112,46024,-1)|0)!=0;return c|0}function kg(a){a=a|0;var b=0;b=c[a+168>>2]|0;if((b|0)==8|(b|0)==10){return 1}else{return(b|0)==9|0}return 0}function lg(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=gK(176)|0;e=d;_o(e,b|0);a[d+84|0]=a[b+84|0]|0;c[d+88>>2]=c[b+88>>2];c[d+92>>2]=c[b+92>>2];c[d+96>>2]=c[b+96>>2];c[d+100>>2]=c[b+100>>2];c[d+104>>2]=c[b+104>>2];c[d+108>>2]=c[b+108>>2];c[d+112>>2]=c[b+112>>2];c[d+116>>2]=c[b+116>>2];c[d+120>>2]=c[b+120>>2];c[d+124>>2]=c[b+124>>2];c[d+128>>2]=c[b+128>>2];a[d+132|0]=a[b+132|0]|0;f=b+136|0;g=d+136|0;h=c[f+4>>2]|0;c[g>>2]=c[f>>2];c[g+4>>2]=h;h=b+144|0;g=d+144|0;f=c[h+4>>2]|0;c[g>>2]=c[h>>2];c[g+4>>2]=f;a[d+152|0]=a[b+152|0]|0;c[d+156>>2]=c[b+156>>2];a[d+160|0]=a[b+160|0]|0;c[d+168>>2]=c[b+168>>2];c[d>>2]=30816;c[d+164>>2]=30988;a[d+172|0]=a[b+172|0]|0;a[d+173|0]=a[b+173|0]|0;return e|0}function mg(b,c){b=b|0;c=c|0;a[b]=14;c=b+1|0;a[c]=a[16808]|0;a[c+1|0]=a[16809]|0;a[c+2|0]=a[16810]|0;a[c+3|0]=a[16811]|0;a[c+4|0]=a[16812]|0;a[c+5|0]=a[16813]|0;a[c+6|0]=a[16814]|0;a[b+8|0]=0;return}function ng(a){a=a|0;return 0}function og(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;e=i;i=i+16|0;f=e|0;g=f;a[g]=16;h=f;j=h+1|0;k=j|0;E=1935762797;a[k]=E;E=E>>8;a[k+1|0]=E;E=E>>8;a[k+2|0]=E;E=E>>8;a[k+3|0]=E;k=j+4|0;E=761623157;a[k]=E;E=E>>8;a[k+1|0]=E;E=E>>8;a[k+2|0]=E;E=E>>8;a[k+3|0]=E;a[h+9|0]=0;Dp(b|0,f);if(!((a[g]&1)==0)){iK(c[f+8>>2]|0)}Bx(b+128|0);hy(b+160|0);c[b>>2]=30584;c[b+128>>2]=30744;c[b+160>>2]=30760;bf(b+184|0);dg(b+276|0);dg(b+452|0);a[b+180|0]=d&1;ad[c[(c[b>>2]|0)+8>>2]&2047](b);i=e;return}function pg(a){a=a|0;c[a>>2]=30584;c[a+128>>2]=30744;c[a+160>>2]=30760;gg(a+452|0);gg(a+276|0);df(a+184|0);ky(a+160|0);Ex(a+128|0);ep(a|0);iK(a);return}function qg(a){a=a|0;pg(a-628+500|0);return}function rg(a){a=a|0;pg(a-628+468|0);return}function sg(a){a=a|0;c[a>>2]=30584;c[a+128>>2]=30744;c[a+160>>2]=30760;gg(a+452|0);gg(a+276|0);df(a+184|0);ky(a+160|0);Ex(a+128|0);ep(a|0);return}function tg(a){a=a|0;var b=0,d=0;b=a-628+500|0;c[b>>2]=30584;a=b+128|0;c[a>>2]=30744;d=b+160|0;c[d>>2]=30760;gg(b+452|0);gg(b+276|0);df(b+184|0);ky(d);Ex(a);ep(b);return}function ug(a){a=a|0;var b=0,d=0;b=a-628+468|0;c[b>>2]=30584;a=b+128|0;c[a>>2]=30744;d=b+160|0;c[d>>2]=30760;gg(b+452|0);gg(b+276|0);df(b+184|0);ky(d);Ex(a);ep(b);return}function vg(b){b=b|0;$o(b|0);Cx(b+128|0);iy(b+160|0);c[b+16>>2]=0;a[b+180|0]=1;c[b+172>>2]=-2147483647;c[b+176>>2]=0;c[b+92>>2]=0;c[b+620>>2]=c[b+168>>2];c[b+444>>2]=c[b+164>>2];return}function wg(a,b){a=a|0;b=b|0;var d=0;d=c[c[b>>2]>>2]|0;b=qd[c[(c[d>>2]|0)+32>>2]&255](d,a)|0;return(b?0:2)|0}function xg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+8|0;e=d|0;f=b|0;bp(f,a|0);c[e>>2]=f;g=a+8|0;h=c[g>>2]|0;if((h|0)==(c[a+12>>2]|0)){xf(a+4|0,e)}else{if((h|0)==0){j=0}else{c[h>>2]=f;j=c[g>>2]|0}c[g>>2]=j+4}j=b+144|0;if((c[j>>2]|0)>=1){i=d;return}c[j>>2]=(c[g>>2]|0)-(c[a+4>>2]|0)>>2;i=d;return}function yg(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=a+8|0;e=a+4|0;a=c[e>>2]|0;if(((c[d>>2]|0)-a|0)>0){f=0;g=a}else{h=0;return h|0}a:while(1){a=c[g+(f<<2)>>2]|0;do{if((a|0)!=0){i=VJ(a,46112,46256,-1)|0;if((i|0)==0){break}if((c[i+144>>2]|0)==(b|0)){break a}}}while(0);a=f+1|0;j=c[e>>2]|0;if((a|0)<((c[d>>2]|0)-j>>2|0)){f=a;g=j}else{h=0;k=7;break}}if((k|0)==7){return h|0}h=i;return h|0}function zg(a){a=a|0;var b=0;c[a+176>>2]=0;c[a+92>>2]=0;b=c[a+268>>2]|0;if((b|0)!=0){kf(b,0)}b=c[a+272>>2]|0;if((b|0)==0){return}kf(b,0);return}function Ag(a){a=a|0;var b=0,d=0;b=c[a+272>>2]|0;if((b|0)==0){d=0;return d|0}d=c[b+84>>2]|0;return d|0}function Bg(a){a=a|0;var b=0,d=0;b=c[a+272>>2]|0;if((b|0)==0){d=0;return d|0}d=(c[b+92>>2]|0)+(c[b+84>>2]|0)|0;return d|0}function Cg(a,b){a=a|0;b=b|0;var d=0;d=c[c[b>>2]>>2]|0;ad[c[(c[a>>2]|0)+24>>2]&2047](a);b=a+184|0;ef(b);c[d>>2]=b;if((c[a+444>>2]|0)!=0){c[a+432>>2]=c[a+268>>2]}if((c[a+620>>2]|0)!=0){c[a+608>>2]=c[a+272>>2]}if((c[d>>2]|0)==0){yc(20952,16784,163,23240);return 0}else{return 0}return 0}function Dg(a,b){a=a|0;b=b|0;var d=0;d=c[(c[b>>2]|0)+4>>2]|0;ad[c[(c[a>>2]|0)+28>>2]&2047](a|0);c[d>>2]=0;return 0}function Eg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=i;i=i+16|0;e=d|0;f=c[b>>2]|0;g=c[f+4>>2]|0;h=a+184|0;a=c[(c[h>>2]|0)+32>>2]|0;j=e|0;c[j>>2]=0;k=e+4|0;c[k>>2]=0;l=e+8|0;c[l>>2]=0;m=c[b+4>>2]|0;b=m-f|0;n=b>>2;do{if((n|0)!=0){if(n>>>0>1073741823>>>0){tG(0);return 0}o=gK(b)|0;c[k>>2]=o;c[j>>2]=o;c[l>>2]=o+(n<<2);if((f|0)==(m|0)){break}else{p=f;q=o}do{if((q|0)==0){r=0}else{c[q>>2]=c[p>>2];r=c[k>>2]|0}q=r+4|0;c[k>>2]=q;p=p+4|0;}while((p|0)!=(m|0))}}while(0);$c[a&31](h,g,e,0,0);e=c[j>>2]|0;if((e|0)==0){i=d;return 1}j=c[k>>2]|0;if((j|0)!=(e|0)){c[k>>2]=j+(~((j-4+(-e|0)|0)>>>2)<<2)}iK(e);i=d;return 1}function Fg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=i;i=i+16|0;e=d|0;f=c[b>>2]|0;g=c[f+8>>2]|0;h=a+184|0;a=c[(c[h>>2]|0)+32>>2]|0;j=e|0;c[j>>2]=0;k=e+4|0;c[k>>2]=0;l=e+8|0;c[l>>2]=0;m=c[b+4>>2]|0;b=m-f|0;n=b>>2;do{if((n|0)!=0){if(n>>>0>1073741823>>>0){tG(0);return 0}o=gK(b)|0;c[k>>2]=o;c[j>>2]=o;c[l>>2]=o+(n<<2);if((f|0)==(m|0)){break}else{p=f;q=o}do{if((q|0)==0){r=0}else{c[q>>2]=c[p>>2];r=c[k>>2]|0}q=r+4|0;c[k>>2]=q;p=p+4|0;}while((p|0)!=(m|0))}}while(0);$c[a&31](h,g,e,0,0);e=c[j>>2]|0;if((e|0)==0){i=d;return 1}j=c[k>>2]|0;if((j|0)!=(e|0)){c[k>>2]=j+(~((j-4+(-e|0)|0)>>>2)<<2)}iK(e);i=d;return 1}function Gg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=i;i=i+16|0;e=d|0;f=c[b>>2]|0;g=c[f+8>>2]|0;j=a+176|0;c[j>>2]=~~+ha(+h[c[f>>2]>>3]*+(c[j>>2]|0));j=a+184|0;a=c[(c[j>>2]|0)+32>>2]|0;k=e|0;c[k>>2]=0;l=e+4|0;c[l>>2]=0;m=e+8|0;c[m>>2]=0;n=c[b+4>>2]|0;b=n-f|0;o=b>>2;do{if((o|0)!=0){if(o>>>0>1073741823>>>0){tG(0);return 0}p=gK(b)|0;c[l>>2]=p;c[k>>2]=p;c[m>>2]=p+(o<<2);if((f|0)==(n|0)){break}else{q=f;r=p}do{if((r|0)==0){s=0}else{c[r>>2]=c[q>>2];s=c[l>>2]|0}r=s+4|0;c[l>>2]=r;q=q+4|0;}while((q|0)!=(n|0))}}while(0);$c[a&31](j,g,e,0,0);e=c[k>>2]|0;if((e|0)==0){i=d;return 1}k=c[l>>2]|0;if((k|0)!=(e|0)){c[l>>2]=k+(~((k-4+(-e|0)|0)>>>2)<<2)}iK(e);i=d;return 1}function Hg(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[c[b>>2]>>2]|0;c[a+176>>2]=c[d>>2];b=c[a+272>>2]|0;if((b|0)==0){yc(14128,16784,230,23264);return 0}e=(c[d>>2]|0)+(c[b+84>>2]|0)|0;c[d>>2]=e;if((c[a+620>>2]|0)==0){return 1}c[d>>2]=(c[(c[a+608>>2]|0)+92>>2]|0)+e;return 1}function Ig(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;d=c[b>>2]|0;b=c[d>>2]|0;e=c[d+4>>2]|0;f=c[d+8>>2]|0;g=c[d+12>>2]|0;h=c[f>>2]|0;do{if(((c[h+8>>2]|0)-(c[h+4>>2]|0)|0)>0){i=a+176|0;j=c[a+272>>2]|0;if((j|0)==0){k=0}else{k=(c[j+92>>2]|0)+(c[j+84>>2]|0)|0}if((k+(c[i>>2]|0)-(c[g>>2]|0)|0)<=(c[c[d+16>>2]>>2]|0)){break}j=gK(244)|0;Du(j);c[f>>2]=j;eq(e,j);c[g>>2]=c[i>>2]}}while(0);g=op(b,kp(a|0)|0)|0;if((g|0)==0){l=0;m=c[f>>2]|0;Eu(m,l);return 1}l=VJ(g,46112,45976,-1)|0;m=c[f>>2]|0;Eu(m,l);return 1}function Jg(b,c){b=b|0;c=c|0;a[b]=14;c=b+1|0;a[c]=a[10584]|0;a[c+1|0]=a[10585]|0;a[c+2|0]=a[10586]|0;a[c+3|0]=a[10587]|0;a[c+4|0]=a[10588]|0;a[c+5|0]=a[10589]|0;a[c+6|0]=a[10590]|0;a[b+8|0]=0;return}function Kg(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,i=0;a[b+5|0]=0;c[b>>2]=35936;c[b+32>>2]=0;c[b+36>>2]=0;c[b+40>>2]=0;c[b+44>>2]=36328;g=b+68|0;i=g;DK(i|0,0,12)|0;DK(b+48|0,0,17)|0;a[g+1|0]=0;a[i]=0;c[b+80>>2]=0;a[b+4|0]=0;c[b+84>>2]=d;c[b+8>>2]=e;c[b+12>>2]=f;h[b+16>>3]=1.0;h[b+24>>3]=1.0;c[b+88>>2]=1;return}function Lg(b){b=b|0;c[b>>2]=36328;if((a[b+24|0]&1)==0){return}iK(c[b+32>>2]|0);return}function Mg(b){b=b|0;var d=0,e=0,f=0,g=0;c[b>>2]=35936;c[b+44>>2]=36328;if(!((a[b+68|0]&1)==0)){iK(c[b+76>>2]|0)}d=c[b+32>>2]|0;if((d|0)==0){e=b;iK(e);return}f=b+36|0;g=c[f>>2]|0;if((g|0)!=(d|0)){c[f>>2]=g+(~((g-4+(-d|0)|0)>>>2)<<2)}iK(d);e=b;iK(e);return}function Ng(b){b=b|0;var d=0,e=0;c[b>>2]=35936;c[b+44>>2]=36328;if(!((a[b+68|0]&1)==0)){iK(c[b+76>>2]|0)}d=c[b+32>>2]|0;if((d|0)==0){return}e=b+36|0;b=c[e>>2]|0;if((b|0)!=(d|0)){c[e>>2]=b+(~((b-4+(-d|0)|0)>>>2)<<2)}iK(d);return}function Og(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;e=i;i=i+8|0;d=e|0;c[d>>2]=b;Cp(b);f=a+36|0;g=c[f>>2]|0;if((g|0)==(c[a+40>>2]|0)){vh(a+32|0,d);i=e;return}if((g|0)==0){h=0}else{c[g>>2]=b;h=c[f>>2]|0}c[f>>2]=h+4;i=e;return}function Pg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;d=a+36|0;a=c[d>>2]|0;e=a-4|0;if((c[e>>2]|0)==(b|0)){c[d>>2]=a+(~((e+(-e|0)|0)>>>2)<<2);return}else{yc(17888,20808,64,24704)}}function Qg(a){a=a|0;return}function Rg(a){a=a|0;return}function Sg(a,b,c){a=a|0;b=b|0;c=c|0;return}function Tg(a,b,c){a=a|0;b=b|0;c=c|0;return}function Ug(a,b){a=a|0;b=b|0;return}function Vg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a+88>>2]=d;return}function Wg(b,d){b=b|0;d=d|0;c[b+48>>2]=c[d+4>>2];c[b+52>>2]=c[d+8>>2];c[b+56>>2]=c[d+12>>2];c[b+60>>2]=c[d+16>>2];a[b+64|0]=a[d+20|0]|0;NA(b+68|0,d+24|0)|0;c[b+80>>2]=c[d+36>>2];return}function Xg(a,b){a=a|0;b=b|0;return}function Yg(a,b){a=a|0;b=b|0;return}function Zg(a){a=a|0;return}function _g(a){a=a|0;wd[c[(c[a>>2]|0)+24>>2]&63](a,0,1,100);return}function $g(a,b,c){a=a|0;b=b|0;c=c|0;return}function ah(a,b,c){a=a|0;b=+b;c=+c;h[a+16>>3]=b;h[a+24>>3]=c;return}function bh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0;g=i;i=i+32|0;h=g|0;j=g+8|0;k=g+16|0;l=g+24|0;c[e>>2]=0;c[f>>2]=0;m=d;n=d+1|0;o=b+48|0;b=d+8|0;p=d+4|0;d=0;while(1){q=a[m]|0;r=(q&1)==0;if(r){s=(q&255)>>>1}else{s=c[p>>2]|0}if(!(d>>>0>>0)){break}if(r){t=n}else{t=c[b>>2]|0}an(a[t+d|0]|0,h,j,k,l);u=+(c[o>>2]|0)*.00048828125;r=~~(+(c[k>>2]|0)*u);c[k>>2]=r;q=~~(+(c[l>>2]|0)*u);c[l>>2]=q;c[e>>2]=(c[e>>2]|0)+r;c[f>>2]=(c[f>>2]|0)+q;d=d+1|0}i=g;return}function ch(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;return}function dh(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0;f=c[e>>2]|0;g=c[e+4>>2]|0;h=(c[e+8>>2]|0)*3|0;i=f*3|0;j=b*3|0;k=(c[e+12>>2]|0)*3|0;l=g*3|0;m=d*3|0;n=+(i-b-h+(c[e+16>>2]|0)|0);o=+((f*-6|0)+j+h|0);p=+(i-j|0);q=+(b|0);r=+(l-d-k+(c[e+20>>2]|0)|0);s=+((g*-6|0)+m+k|0);t=+(l-m|0);u=+(d|0);v=65535.0;w=65535.0;x=0.0;y=0.0;z=0.0;do{A=q+(p*z+(z*o*z+z*z*n*z));v=Ax?A:x;A=u+(t*z+(z*s*z+z*z*r*z));w=Ay?A:y;z=z+.009999999776482582;}while(!(z>1.0));eh(a,~~v,~~w,~~x,~~y);return}function eh(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=a+32|0;h=a+36|0;i=c[h>>2]|0;if((c[g>>2]|0)==(i|0)){yc(16704,20808,410,24688)}j=c[i-4>>2]|0;i=a+84|0;a=Gq(c[i>>2]|0,b)|0;k=Iq(c[i>>2]|0,d)|0;l=Gq(c[i>>2]|0,e)|0;Hp(j,a,k,l,Iq(c[i>>2]|0,f)|0);l=c[g>>2]|0;if(((c[h>>2]|0)-l|0)>0){m=0;n=l}else{return}do{l=c[n+(m<<2)>>2]|0;k=Gq(c[i>>2]|0,b)|0;a=Iq(c[i>>2]|0,d)|0;j=Gq(c[i>>2]|0,e)|0;Gp(l,k,a,j,Iq(c[i>>2]|0,f)|0);m=m+1|0;n=c[g>>2]|0;}while((m|0)<((c[h>>2]|0)-n>>2|0));return}function fh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=e<<1;$c[c[(c[a>>2]|0)+72>>2]&31](a,b-e|0,d-e|0,f,f);return}function gh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;eh(a,b,c,d+b|0,e+c|0);return}function hh(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=+g;h=+h;var i=0,j=0;i=c[a+88>>2]|0;j=((i&1)+i|0)/2|0;eh(a,b-j|0,d-j|0,e+b+j|0,f+d+j|0);return}function ih(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;g=(b|0)>(e|0);h=(d|0)>(f|0);i=c[a+88>>2]|0;j=(i|0)/2|0;k=j+(i&1)|0;eh(a,(g?e:b)-k|0,(h?f:d)-k|0,j+(g?b:e)|0,j+(h?d:f)|0);return}function jh(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,z=0,A=0;if((b|0)==0){return}g=c[d>>2]|0;h=g+e|0;i=c[d+4>>2]|0;j=i+f|0;a:do{if((b|0)>0){k=h;l=h;m=j;n=j;o=1;p=g;q=i;while(1){r=p+e|0;s=(r|0)<(k|0)?r:k;t=(r|0)>(l|0)?r:l;r=q+f|0;u=(r|0)<(m|0)?r:m;v=(r|0)>(n|0)?r:n;if((o|0)>=(b|0)){w=s;x=t;y=u;z=v;break a}r=c[d+(o<<3)>>2]|0;A=c[d+(o<<3)+4>>2]|0;k=s;l=t;m=u;n=v;o=o+1|0;p=r;q=A}}else{w=h;x=h;y=j;z=j}}while(0);eh(a,w,y,x,z);return}function kh(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;hd[c[(c[a>>2]|0)+96>>2]&15](a,b,d,e,f,0.0);return}function lh(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=+g;var h=0,i=0,j=0,k=0;if((f|0)<0){h=-f|0;i=f+d|0}else{h=f;i=d}if((e|0)<0){j=e+b|0;k=-e|0}else{j=b;k=e}e=c[a+88>>2]|0;b=(e|0)/2|0;eh(a,j-(((e&1)+e|0)/2|0)|0,i-b|0,j+k+b|0,h+i+b|0);return}function mh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;wd[c[(c[a>>2]|0)+104>>2]&63](a,b,d,e);return}function nh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;return}function oh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0.0,q=0,r=0,s=0,t=0,u=0,v=0.0;g=i;i=i+32|0;h=g|0;j=g+8|0;k=g+16|0;l=g+24|0;m=d;n=d+1|0;o=b+48|0;p=+(f|0);f=d+8|0;q=d+4|0;d=e;e=0;while(1){r=a[m]|0;s=(r&1)==0;if(s){t=(r&255)>>>1}else{t=c[q>>2]|0}if(!(e>>>0>>0)){break}if(s){u=n}else{u=c[f>>2]|0}an(a[u+e|0]|0,h,j,k,l);v=+(c[o>>2]|0)*.00048828125;s=~~(+(d|0)+ +(c[h>>2]|0)*v);r=~~(p- +(c[j>>2]|0)*v);eh(b,s,r,~~(v*+(c[k>>2]|0)+ +(s|0)),~~(+(r|0)-v*+(c[l>>2]|0)));d=~~(+(c[k>>2]|0)*+(c[o>>2]|0)*.00048828125)+d|0;e=e+1|0}i=g;return}function ph(a,b,c){a=a|0;b=b|0;c=c|0;return}function qh(a,b,c){a=a|0;b=b|0;c=+c;return}function rh(b){b=b|0;return(a[b+4|0]|0)!=0|0}function sh(a,b,c){a=a|0;b=b|0;c=c|0;return}function th(b,c){b=b|0;c=c|0;a[b+5|0]=c&1;return}function uh(b){b=b|0;return(a[b+5|0]|0)!=0|0}function vh(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;d=a+4|0;e=a|0;f=c[e>>2]|0;g=f;h=(c[d>>2]|0)-g|0;i=h>>2;j=i+1|0;if(j>>>0>1073741823>>>0){tG(0)}k=a+8|0;a=(c[k>>2]|0)-g|0;if(a>>2>>>0<536870911>>>0){g=a>>1;a=g>>>0>>0?j:g;if((a|0)==0){l=0;m=0}else{n=a;o=5}}else{n=1073741823;o=5}if((o|0)==5){l=gK(n<<2)|0;m=n}n=l+(i<<2)|0;if((n|0)!=0){c[n>>2]=c[b>>2]}b=f;BK(l|0,b|0,h)|0;c[e>>2]=l;c[d>>2]=l+(j<<2);c[k>>2]=l+(m<<2);if((f|0)==0){return}iK(b);return}function wh(b){b=b|0;var d=0;c[b>>2]=36328;if((a[b+24|0]&1)==0){d=b;iK(d);return}iK(c[b+32>>2]|0);d=b;iK(d);return}function xh(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;i=i+16|0;e=d|0;f=e;a[f]=10;g=e;h=g+1|0;a[h]=a[17240]|0;a[h+1|0]=a[17241]|0;a[h+2|0]=a[17242]|0;a[h+3|0]=a[17243]|0;a[h+4|0]=a[17244]|0;a[g+6|0]=0;Bm(b|0,e);if(!((a[f]&1)==0)){iK(c[e+8>>2]|0)}e=b+168|0;f=e;c[e>>2]=f;c[b+172>>2]=f;c[b+176>>2]=0;c[b>>2]=34536;c[b+164>>2]=34712;i=d;return}function yh(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;c[a+164>>2]=35632;b=a+168|0;d=a+176|0;do{if((c[d>>2]|0)!=0){e=c[a+172>>2]|0;f=b;g=(c[b>>2]|0)+4|0;h=e|0;c[(c[h>>2]|0)+4>>2]=c[g>>2];c[c[g>>2]>>2]=c[h>>2];c[d>>2]=0;if((e|0)==(f|0)){break}else{i=e}while(1){e=c[i+4>>2]|0;iK(i);if((e|0)==(f|0)){break}else{i=e}}}}while(0);Em(a|0);iK(a);return}function zh(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=a-180+16|0;c[b+164>>2]=35632;a=b+168|0;d=b+176|0;do{if((c[d>>2]|0)!=0){e=c[b+172>>2]|0;f=a;g=(c[a>>2]|0)+4|0;h=e;c[(c[h>>2]|0)+4>>2]=c[g>>2];c[c[g>>2]>>2]=c[h>>2];c[d>>2]=0;if((e|0)==(a|0)){break}h=e;while(1){e=c[h+4>>2]|0;iK(h);if((e|0)==(f|0)){break}else{h=e}}}}while(0);Em(b);iK(b);return}function Ah(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;c[a+164>>2]=35632;b=a+168|0;d=a+176|0;if((c[d>>2]|0)==0){e=a|0;Em(e);return}f=c[a+172>>2]|0;g=b;h=(c[b>>2]|0)+4|0;b=f|0;c[(c[b>>2]|0)+4>>2]=c[h>>2];c[c[h>>2]>>2]=c[b>>2];c[d>>2]=0;if((f|0)==(g|0)){e=a|0;Em(e);return}else{i=f}while(1){f=c[i+4>>2]|0;iK(i);if((f|0)==(g|0)){break}else{i=f}}e=a|0;Em(e);return}function Bh(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;b=a-180+16|0;c[b+164>>2]=35632;a=b+168|0;d=b+176|0;if((c[d>>2]|0)==0){e=b;Em(e);return}f=c[b+172>>2]|0;g=a;h=(c[a>>2]|0)+4|0;i=f;c[(c[i>>2]|0)+4>>2]=c[h>>2];c[c[h>>2]>>2]=c[i>>2];c[d>>2]=0;if((f|0)==(a|0)){e=b;Em(e);return}a=f;while(1){f=c[a+4>>2]|0;iK(a);if((f|0)==(g|0)){break}else{a=f}}e=b;Em(e);return}function Ch(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+8|0;e=d|0;f=b|0;b=a|0;bp(f,b);c[e>>2]=f;g=a+8|0;h=c[g>>2]|0;if((h|0)==(c[a+12>>2]|0)){xf(a+4|0,e);ap(b,1);i=d;return}if((h|0)==0){j=0}else{c[h>>2]=f;j=c[g>>2]|0}c[g>>2]=j+4;ap(b,1);i=d;return}function Dh(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=b+172|0;e=c[d>>2]|0;f=b+168|0;if((e|0)==(f|0)){return}g=b+176|0;b=e;e=0;a:while(1){h=b;b:while(1){i=c[h+8>>2]|0;do{if((i|0)==0){j=6}else{k=VJ(i,46112,47328,-1)|0;if((k|0)==0){j=6;break}if(!(Mm(k)|0)){l=h+4|0;m=c[l>>2]|0;n=h|0;c[(c[n>>2]|0)+4>>2]=m;c[c[l>>2]>>2]=c[n>>2];c[g>>2]=(c[g>>2]|0)-1;iK(h);o=m;break}p=VJ(k,47328,46464,-1)|0;if((p|0)!=0){break b}o=c[h+4>>2]|0}}while(0);if((j|0)==6){j=0;i=h+4|0;k=c[i>>2]|0;m=h|0;c[(c[m>>2]|0)+4>>2]=k;c[c[i>>2]>>2]=c[m>>2];c[g>>2]=(c[g>>2]|0)-1;iK(h);o=k}if((o|0)==(f|0)){j=19;break a}else{h=o}}do{if((c[d>>2]|0)==(h|0)){q=e|(a[p+132|0]|0)!=0;j=16}else{if(e){q=1;j=16;break}if((a[p+132|0]|0)==0){q=0;j=16;break}k=h+4|0;m=c[k>>2]|0;i=h|0;c[(c[i>>2]|0)+4>>2]=m;c[c[k>>2]>>2]=c[i>>2];c[g>>2]=(c[g>>2]|0)-1;iK(h);r=0;s=m}}while(0);if((j|0)==16){j=0;r=q;s=c[h+4>>2]|0}if((s|0)==(f|0)){j=19;break}else{b=s;e=r}}if((j|0)==19){return}}function Eh(a){a=a|0;Dh(a-180+16|0);return}function Fh(b,c){b=b|0;c=c|0;a[b]=8;c=b;b=c+1|0;E=1835099458;a[b]=E;E=E>>8;a[b+1|0]=E;E=E>>8;a[b+2|0]=E;E=E>>8;a[b+3|0]=E;a[c+5|0]=0;return}function Gh(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;c[a>>2]=35632;b=a+4|0;d=a+12|0;if((c[d>>2]|0)==0){return}e=c[a+8>>2]|0;a=b;f=(c[b>>2]|0)+4|0;b=e|0;c[(c[b>>2]|0)+4>>2]=c[f>>2];c[c[f>>2]>>2]=c[b>>2];c[d>>2]=0;if((e|0)==(a|0)){return}else{g=e}while(1){e=c[g+4>>2]|0;iK(g);if((e|0)==(a|0)){break}else{g=e}}return}function Hh(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;c[a>>2]=35632;b=a+4|0;d=a+12|0;if((c[d>>2]|0)==0){e=a;iK(e);return}f=c[a+8>>2]|0;g=b;h=(c[b>>2]|0)+4|0;b=f|0;c[(c[b>>2]|0)+4>>2]=c[h>>2];c[c[h>>2]>>2]=c[b>>2];c[d>>2]=0;if((f|0)==(g|0)){e=a;iK(e);return}else{i=f}while(1){f=c[i+4>>2]|0;iK(i);if((f|0)==(g|0)){break}else{i=f}}e=a;iK(e);return}function Ih(a){a=a|0;return}function Jh(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+16|0;e=d|0;f=b|0;g=e;a[g]=10;h=e;j=h+1|0;a[j]=a[16696]|0;a[j+1|0]=a[16697]|0;a[j+2|0]=a[16698]|0;a[j+3|0]=a[16699]|0;a[j+4|0]=a[16700]|0;a[h+6|0]=0;Bm(f,e);if(!((a[g]&1)==0)){iK(c[e+8>>2]|0)}e=b+164|0;rx(e);g=b+172|0;cy(g);h=b+180|0;Ly(h);c[b>>2]=34304;c[b+164>>2]=34476;c[b+172>>2]=34492;c[b+180>>2]=34508;Cm(f);sx(e);dy(g);My(h);i=d;return}function Kh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;i=i+208|0;f=e|0;g=e+16|0;h=f;a[h]=10;j=f;k=j+1|0;a[k]=a[16696]|0;a[k+1|0]=a[16697]|0;a[k+2|0]=a[16698]|0;a[k+3|0]=a[16699]|0;a[k+4|0]=a[16700]|0;a[j+6|0]=0;Bm(b|0,f);if(!((a[h]&1)==0)){iK(c[f+8>>2]|0)}f=b+164|0;rx(f);h=b+172|0;cy(h);j=b+180|0;Ly(j);c[b>>2]=34304;c[f>>2]=34476;c[h>>2]=34492;c[j>>2]=34508;Jh(g);Oy(g+180|0);fy(g+172|0);ux(g+164|0);Em(g|0);c[b+168>>2]=c[d+88>>2];a[b+176|0]=a[d+92|0]|0;c[b+184>>2]=c[d+96>>2];c[b+188>>2]=c[d+100>>2];i=e;return}function Lh(a){a=a|0;Oy(a+180|0);fy(a+172|0);ux(a+164|0);Em(a|0);iK(a);return}function Mh(a){a=a|0;var b=0;b=a-192+28|0;Oy(b+180|0);fy(b+172|0);ux(b+164|0);Em(b);iK(b);return}function Nh(a){a=a|0;var b=0;b=a-192+20|0;Oy(b+180|0);fy(b+172|0);ux(b+164|0);Em(b);iK(b);return}function Oh(a){a=a|0;var b=0;b=a-192+12|0;Oy(b+180|0);fy(b+172|0);ux(b+164|0);Em(b);iK(b);return}function Ph(a){a=a|0;Oy(a+180|0);fy(a+172|0);ux(a+164|0);Em(a|0);return}function Qh(a){a=a|0;var b=0;b=a-192+28|0;Oy(b+180|0);fy(b+172|0);ux(b+164|0);Em(b);return}function Rh(a){a=a|0;var b=0;b=a-192+20|0;Oy(b+180|0);fy(b+172|0);ux(b+164|0);Em(b);return}function Sh(a){a=a|0;var b=0;b=a-192+12|0;Oy(b+180|0);fy(b+172|0);ux(b+164|0);Em(b);return}function Th(a){a=a|0;Cm(a|0);sx(a+164|0);dy(a+172|0);My(a+180|0);return}function Uh(a,b){a=a|0;b=b|0;var c=0;if((b|0)==0){c=0;return c|0}c=(VJ(b,46112,46528,-1)|0)!=0;return c|0}function Vh(b){b=b|0;return c[b+184>>2]<<16|c[b+188>>2]<<24|c[b+168>>2]<<8|a[b+176|0]|0}function Wh(b){b=b|0;var d=0,e=0;d=c[b+184>>2]<<16|c[b+188>>2]<<24|c[b+168>>2]<<8|a[b+176|0];if((d|0)==257){e=-4}else if((d|0)==1028){e=6}else if((d|0)==773){e=12}else if((d|0)==34078978){e=-2}else if((d|0)==258){e=-2}else if((d|0)==1026){e=2}else if((d|0)==772){e=10}else if((d|0)==1027){e=4}else if((d|0)==771){e=8}else if((d|0)==1029){e=8}else if((d|0)==17301762){e=-2}else{e=0}return e|0}function Xh(a){a=a|0;var b=0,d=0;b=a|0;Xo(b);d=a+84|0;mx(d);c[a>>2]=30376;c[a+84>>2]=30532;$o(b);nx(d);return}function Yh(a){a=a|0;px(a+84|0);ep(a|0);iK(a);return}function Zh(a){a=a|0;var b=0;b=a-104+20|0;px(b+84|0);ep(b);iK(b);return}function _h(a){a=a|0;px(a+84|0);ep(a|0);return}function $h(a){a=a|0;var b=0;b=a-104+20|0;px(b+84|0);ep(b);return}function ai(a){a=a|0;$o(a|0);nx(a+84|0);return}function bi(a,b){a=a|0;b=b|0;var c=0;if((b|0)==0){c=0;return c|0}c=(VJ(b,46112,45928,-1)|0)!=0;return c|0}function ci(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=gK(192)|0;e=d;_o(e,b|0);a[d+84|0]=a[b+84|0]|0;c[d+88>>2]=c[b+88>>2];c[d+92>>2]=c[b+92>>2];c[d+96>>2]=c[b+96>>2];c[d+100>>2]=c[b+100>>2];c[d+104>>2]=c[b+104>>2];c[d+108>>2]=c[b+108>>2];c[d+112>>2]=c[b+112>>2];c[d+116>>2]=c[b+116>>2];c[d+120>>2]=c[b+120>>2];c[d+124>>2]=c[b+124>>2];c[d+128>>2]=c[b+128>>2];a[d+132|0]=a[b+132|0]|0;f=b+136|0;g=d+136|0;h=c[f+4>>2]|0;c[g>>2]=c[f>>2];c[g+4>>2]=h;h=b+144|0;g=d+144|0;f=c[h+4>>2]|0;c[g>>2]=c[h>>2];c[g+4>>2]=f;a[d+152|0]=a[b+152|0]|0;c[d+156>>2]=c[b+156>>2];a[d+160|0]=a[b+160|0]|0;c[d+168>>2]=c[b+168>>2];a[d+176|0]=a[b+176|0]|0;c[d+184>>2]=c[b+184>>2];c[d+188>>2]=c[b+188>>2];c[d>>2]=34304;c[d+164>>2]=34476;c[d+172>>2]=34492;c[d+180>>2]=34508;return e|0}function di(b,c){b=b|0;c=c|0;a[b]=8;c=b;b=c+1|0;E=1717922883;a[b]=E;E=E>>8;a[b+1|0]=E;E=E>>8;a[b+2|0]=E;E=E>>8;a[b+3|0]=E;a[c+5|0]=0;return}function ei(a){a=a|0;return 20}function fi(b){b=b|0;var d=0,e=0;d=gK(104)|0;e=d;_o(e,b|0);c[d+88>>2]=c[b+88>>2];a[d+92|0]=a[b+92|0]|0;c[d+96>>2]=c[b+96>>2];c[d+100>>2]=c[b+100>>2];c[d>>2]=30376;c[d+84>>2]=30532;return e|0}function gi(b,c){b=b|0;c=c|0;var d=0;a[b]=16;c=b;b=c+1|0;d=b|0;E=1717922883;a[d]=E;E=E>>8;a[d+1|0]=E;E=E>>8;a[d+2|0]=E;E=E>>8;a[d+3|0]=E;d=b+4|0;E=1920234561;a[d]=E;E=E>>8;a[d+1|0]=E;E=E>>8;a[d+2|0]=E;E=E>>8;a[d+3|0]=E;a[c+9|0]=0;return}function hi(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;i=i+16|0;e=d|0;f=b|0;g=e;a[g]=14;h=e+1|0;a[h]=a[16008]|0;a[h+1|0]=a[16009]|0;a[h+2|0]=a[16010]|0;a[h+3|0]=a[16011]|0;a[h+4|0]=a[16012]|0;a[h+5|0]=a[16013]|0;a[h+6|0]=a[16014]|0;h=e+8|0;a[h]=0;Bm(f,e);if(!((a[g]&1)==0)){iK(c[h>>2]|0)}h=b+164|0;vq(h);c[b>>2]=32008;c[b+164>>2]=32180;Cm(f);yq(h);i=d;return}function ii(a){a=a|0;xq(a+164|0);Em(a|0);iK(a);return}function ji(a){a=a|0;var b=0;b=a-176+12|0;xq(b+164|0);Em(b);iK(b);return}function ki(a){a=a|0;xq(a+164|0);Em(a|0);return}function li(a){a=a|0;var b=0;b=a-176+12|0;xq(b+164|0);Em(b);return}function mi(a){a=a|0;Cm(a|0);yq(a+164|0);return}function ni(a){a=a|0;var b=0;b=a-176+12|0;Cm(b);yq(b+164|0);return}function oi(b,c){b=b|0;c=c|0;a[b]=12;c=b;b=c+1|0;a[b]=a[16248]|0;a[b+1|0]=a[16249]|0;a[b+2|0]=a[16250]|0;a[b+3|0]=a[16251]|0;a[b+4|0]=a[16252]|0;a[b+5|0]=a[16253]|0;a[c+7|0]=0;return}function pi(a){a=a|0;c[a>>2]=35664;jj(a+4|0);Aq(a+852|0);c[a+1020>>2]=100;c[a+1024>>2]=1;c[a+1028>>2]=2970;c[a+1032>>2]=2100;c[a+1036>>2]=50;c[a+1044>>2]=6;c[a+1060>>2]=0;DK(a+1048|0,0,9)|0;return}function qi(a){a=a|0;var b=0;c[a>>2]=35664;b=c[a+1060>>2]|0;if((b|0)!=0){bK(b)}Cq(a+852|0);mj(a+4|0);iK(a);return}function ri(a){a=a|0;var b=0;c[a>>2]=35664;b=c[a+1060>>2]|0;if((b|0)!=0){bK(b)}Cq(a+852|0);mj(a+4|0);return}function si(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=i;f=a[d]|0;g=(f&1)==0;if(g){h=d+1|0;j=(f&255)>>>1}else{h=c[d+8>>2]|0;j=c[d+4>>2]|0}k=j>>>0>3>>>0;do{if((xK(h,10464,k?3:j)|0)==0){if(!(j>>>0>2>>>0&(k^1))){break}c[b+1024>>2]=1;l=1;i=e;return l|0}}while(0);if(g){m=d+1|0;n=(f&255)>>>1}else{m=c[d+8>>2]|0;n=c[d+4>>2]|0}k=n>>>0>5>>>0;do{if((xK(m,9400,k?5:n)|0)==0){if(!(n>>>0>4>>>0&(k^1))){break}c[b+1024>>2]=2;l=1;i=e;return l|0}}while(0);if(g){o=d+1|0;p=(f&255)>>>1}else{o=c[d+8>>2]|0;p=c[d+4>>2]|0}d=p>>>0>3>>>0;do{if((xK(o,8768,d?3:p)|0)==0){if(!(p>>>0>2>>>0&(d^1))){break}c[b+1024>>2]=0;l=1;i=e;return l|0}}while(0);ae(7944,(b=i,i=i+1|0,i=i+7&-8,c[b>>2]=0,b)|0);i=b;l=0;i=e;return l|0}function ti(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=i;i=i+64|0;g=f|0;h=f+16|0;j=f+32|0;k=f+48|0;l=c[d+1024>>2]|0;do{if((l|0)==1){m=gK(236)|0;n=g;a[n]=0;a[g+1|0]=0;jl(m,d+4|0,g);if((a[n]&1)==0){o=m;break}iK(c[g+8>>2]|0);o=m}else if((l|0)==2){m=gK(232)|0;n=h;a[n]=0;a[h+1|0]=0;ik(m,d+4|0,h);if((a[n]&1)==0){o=m;break}iK(c[h+8>>2]|0);o=m}else if((l|0)==0){m=gK(284)|0;n=j;a[n]=0;a[j+1|0]=0;tk(m,d+4|0,j);if((a[n]&1)==0){o=m;break}iK(c[j+8>>2]|0);o=m}else{ae(21112,(p=i,i=i+1|0,i=i+7&-8,c[p>>2]=0,p)|0);i=p;q=0;i=f;return q|0}}while(0);j=o;if((o|0)==0){ae(20192,(p=i,i=i+1|0,i=i+7&-8,c[p>>2]=0,p)|0);i=p;q=0;i=f;return q|0}if((a[d+1053|0]|0)==0){if((a[d+1052|0]|0)!=0){r=25}}else{r=25}if((r|0)==25){a[o+113|0]=1}r=c[(c[o>>2]|0)+12>>2]|0;l=e;if((a[l]&1)==0){h=k;c[h>>2]=c[l>>2];c[h+4>>2]=c[l+4>>2];c[h+8>>2]=c[l+8>>2]}else{l=c[e+8>>2]|0;h=c[e+4>>2]|0;if(h>>>0>4294967279>>>0){GA(0);return 0}if(h>>>0<11>>>0){a[k]=h<<1;s=k+1|0}else{e=h+16&-16;g=gK(e)|0;c[k+8>>2]=g;c[k>>2]=e|1;c[k+4>>2]=h;s=g}BK(s|0,l|0,h)|0;a[s+h|0]=0}h=qd[r&255](j,k)|0;if(!((a[k]&1)==0)){iK(c[k+8>>2]|0)}if(!h){ae(19280,(p=i,i=i+1|0,i=i+7&-8,c[p>>2]=0,p)|0);i=p;ad[c[(c[o>>2]|0)+4>>2]&2047](j);q=0;i=f;return q|0}p=d+4|0;c[d+836>>2]=c[d+1028>>2];c[d+832>>2]=c[d+1032>>2];h=c[d+1036>>2]&65535;b[d+842>>1]=h;b[d+840>>1]=h;b[d+844>>1]=h;b[d+846>>1]=c[d+1044>>2];b[d+848>>1]=c[d+1048>>2];do{if((a[o+112|0]|0)==0){if((a[d+1052|0]|0)!=0){break}sj(p)}}while(0);ad[c[(c[o>>2]|0)+4>>2]&2047](j);Dq(d+852|0,p);q=1;i=f;return q|0}function ui(a){a=a|0;c[a>>2]=27636;c[a+108>>2]=27656;Mi(a+8|0);fB(a+108|0);return}function vi(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,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,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;e=i;i=i+712|0;f=e|0;g=e+8|0;j=e+16|0;k=e+24|0;l=e+32|0;m=e+40|0;n=e+48|0;o=e+56|0;p=e+64|0;q=e+72|0;r=e+80|0;s=e+88|0;t=e+96|0;u=e+104|0;v=e+112|0;w=e+120|0;x=e+128|0;y=e+136|0;z=e+144|0;A=e+152|0;B=e+160|0;C=e+168|0;D=e+176|0;F=e+184|0;G=e+192|0;H=e+200|0;I=e+208|0;J=e+216|0;K=e+224|0;L=e+232|0;M=e+240|0;N=e+248|0;O=e+256|0;P=e+264|0;Q=e+272|0;R=e+280|0;S=e+288|0;T=e+312|0;U=e+328|0;V=e+344|0;W=e+360|0;X=e+376|0;Y=e+392|0;Z=e+408|0;_=e+424|0;$=e+440|0;aa=e+456|0;ba=e+472|0;ca=e+488|0;da=e+504|0;ea=e+520|0;fa=e+536|0;ga=e+552|0;ha=e+568|0;ia=e+584|0;ja=e+600|0;ka=e+616|0;la=e+632|0;ma=e+648|0;na=e+664|0;oa=e+680|0;pa=e+696|0;tz(S);if(!(Bz(S,d)|0)){ae(18816,(qa=i,i=i+1|0,i=i+7&-8,c[qa>>2]=0,qa)|0);i=qa;ra=0;uz(S);i=e;return ra|0}d=gK(16)|0;sa=T+8|0;c[sa>>2]=d;c[T>>2]=17;c[T+4>>2]=11;BK(d|0,18224,11)|0;a[d+11|0]=0;d=S|0;Gi(R|0,d,T);ta=S+4|0;ua=c[R>>2]|0;if((ua|0)==(ta|0)){va=0}else{va=(c[c[ua+28>>2]>>2]|0)==1}if(!((a[T]&1)==0)){iK(c[sa>>2]|0)}do{if(va){sa=gK(16)|0;T=V+8|0;c[T>>2]=sa;c[V>>2]=17;c[V+4>>2]=11;BK(sa|0,18224,11)|0;a[sa+11|0]=0;Gi(P|0,d,V);sa=c[P>>2]|0;if((sa|0)==(ta|0)){wa=0}else{wa=(c[c[sa+28>>2]>>2]|0)==1}oz(12592,342,12384,wa);Ei(Q|0,d,V);sa=c[(c[Q>>2]|0)+28>>2]|0;oz(12592,390,11984,(c[sa>>2]|0)==1);ua=c[sa+8>>2]|0;sa=ua;if((a[sa]&1)==0){R=U;c[R>>2]=c[sa>>2];c[R+4>>2]=c[sa+4>>2];c[R+8>>2]=c[sa+8>>2]}else{sa=c[ua+8>>2]|0;R=c[ua+4>>2]|0;if(R>>>0>4294967279>>>0){GA(0);return 0}if(R>>>0<11>>>0){a[U]=R<<1;xa=U+1|0}else{ua=R+16&-16;ya=gK(ua)|0;c[U+8>>2]=ya;c[U>>2]=ua|1;c[U+4>>2]=R;xa=ya}BK(xa|0,sa|0,R)|0;a[xa+R|0]=0}si(b,U)|0;if(!((a[U]&1)==0)){iK(c[U+8>>2]|0)}if((a[V]&1)==0){break}iK(c[T>>2]|0)}}while(0);V=W;a[V]=10;U=W;xa=U+1|0;a[xa]=a[18024]|0;a[xa+1|0]=a[18025]|0;a[xa+2|0]=a[18026]|0;a[xa+3|0]=a[18027]|0;a[xa+4|0]=a[18028]|0;a[U+6|0]=0;Gi(O|0,d,W);U=c[O>>2]|0;if((U|0)==(ta|0)){za=0}else{za=(c[c[U+28>>2]>>2]|0)==0}if(!((a[V]&1)==0)){iK(c[W+8>>2]|0)}do{if(za){W=X;a[W]=10;V=X;U=V+1|0;a[U]=a[18024]|0;a[U+1|0]=a[18025]|0;a[U+2|0]=a[18026]|0;a[U+3|0]=a[18027]|0;a[U+4|0]=a[18028]|0;a[V+6|0]=0;Gi(M|0,d,X);V=c[M>>2]|0;if((V|0)==(ta|0)){Aa=0}else{Aa=(c[c[V+28>>2]>>2]|0)==0}oz(12592,342,12384,Aa);Ei(N|0,d,X);V=c[(c[N>>2]|0)+28>>2]|0;oz(12592,396,12056,(c[V>>2]|0)==0);U=~~+h[V+8>>3];if((U-10|0)>>>0>990>>>0){ae(19920,(qa=i,i=i+24|0,c[qa>>2]=100,c[qa+8>>2]=10,c[qa+16>>2]=1e3,qa)|0);i=qa}else{c[b+1020>>2]=U}if((a[W]&1)==0){break}iK(c[X+8>>2]|0)}}while(0);X=Y;a[X]=12;N=Y;Aa=N+1|0;a[Aa]=a[17608]|0;a[Aa+1|0]=a[17609]|0;a[Aa+2|0]=a[17610]|0;a[Aa+3|0]=a[17611]|0;a[Aa+4|0]=a[17612]|0;a[Aa+5|0]=a[17613]|0;a[N+7|0]=0;Gi(L|0,d,Y);N=c[L>>2]|0;if((N|0)==(ta|0)){Ba=0}else{Ba=(c[c[N+28>>2]>>2]|0)==0}if(!((a[X]&1)==0)){iK(c[Y+8>>2]|0)}do{if(Ba){Y=Z;a[Y]=12;X=Z;N=X+1|0;a[N]=a[17608]|0;a[N+1|0]=a[17609]|0;a[N+2|0]=a[17610]|0;a[N+3|0]=a[17611]|0;a[N+4|0]=a[17612]|0;a[N+5|0]=a[17613]|0;a[X+7|0]=0;Gi(J|0,d,Z);X=c[J>>2]|0;if((X|0)==(ta|0)){Ca=0}else{Ca=(c[c[X+28>>2]>>2]|0)==0}oz(12592,342,12384,Ca);Ei(K|0,d,Z);X=c[(c[K>>2]|0)+28>>2]|0;oz(12592,396,12056,(c[X>>2]|0)==0);N=~~+h[X+8>>3];if(N>>>0>500>>>0){ae(15504,(qa=i,i=i+24|0,c[qa>>2]=50,c[qa+8>>2]=0,c[qa+16>>2]=500,qa)|0);i=qa}else{c[b+1036>>2]=N}if((a[Y]&1)==0){break}iK(c[Z+8>>2]|0)}}while(0);Z=_;a[Z]=18;K=_;BK(K+1|0,17264,9)|0;a[K+10|0]=0;Gi(I|0,d,_);K=c[I>>2]|0;if((K|0)==(ta|0)){Da=0}else{Da=(c[c[K+28>>2]>>2]|0)==0}if(!((a[Z]&1)==0)){iK(c[_+8>>2]|0)}do{if(Da){_=$;a[_]=18;Z=$;BK(Z+1|0,17264,9)|0;a[Z+10|0]=0;Gi(G|0,d,$);Z=c[G>>2]|0;if((Z|0)==(ta|0)){Ea=0}else{Ea=(c[c[Z+28>>2]>>2]|0)==0}oz(12592,342,12384,Ea);Ei(H|0,d,$);Z=c[(c[H>>2]|0)+28>>2]|0;oz(12592,396,12056,(c[Z>>2]|0)==0);K=~~+h[Z+8>>3];if((K-100|0)>>>0>9900>>>0){ae(13712,(qa=i,i=i+24|0,c[qa>>2]=2100,c[qa+8>>2]=100,c[qa+16>>2]=1e4,qa)|0);i=qa}else{c[b+1032>>2]=K}if((a[_]&1)==0){break}iK(c[$+8>>2]|0)}}while(0);$=aa;a[$]=20;H=aa;BK(H+1|0,17032,10)|0;a[H+11|0]=0;Gi(F|0,d,aa);H=c[F>>2]|0;if((H|0)==(ta|0)){Fa=0}else{Fa=(c[c[H+28>>2]>>2]|0)==0}if(!((a[$]&1)==0)){iK(c[aa+8>>2]|0)}do{if(Fa){aa=ba;a[aa]=20;$=ba;BK($+1|0,17032,10)|0;a[$+11|0]=0;Gi(C|0,d,ba);$=c[C>>2]|0;if(($|0)==(ta|0)){Ga=0}else{Ga=(c[c[$+28>>2]>>2]|0)==0}oz(12592,342,12384,Ga);Ei(D|0,d,ba);$=c[(c[D>>2]|0)+28>>2]|0;oz(12592,396,12056,(c[$>>2]|0)==0);H=~~+h[$+8>>3];if((H-100|0)>>>0>9900>>>0){ae(16168,(qa=i,i=i+24|0,c[qa>>2]=2970,c[qa+8>>2]=100,c[qa+16>>2]=1e4,qa)|0);i=qa}else{c[b+1028>>2]=H}if((a[aa]&1)==0){break}iK(c[ba+8>>2]|0)}}while(0);ba=gK(16)|0;D=ca+8|0;c[D>>2]=ba;c[ca>>2]=17;c[ca+4>>2]=12;BK(ba|0,16960,12)|0;a[ba+12|0]=0;Gi(B|0,d,ca);ba=c[B>>2]|0;if((ba|0)==(ta|0)){Ha=0}else{Ha=(c[c[ba+28>>2]>>2]|0)==0}if(!((a[ca]&1)==0)){iK(c[D>>2]|0)}do{if(Ha){D=gK(16)|0;ca=da+8|0;c[ca>>2]=D;c[da>>2]=17;c[da+4>>2]=12;BK(D|0,16960,12)|0;a[D+12|0]=0;Gi(z|0,d,da);D=c[z>>2]|0;if((D|0)==(ta|0)){Ia=0}else{Ia=(c[c[D+28>>2]>>2]|0)==0}oz(12592,342,12384,Ia);Ei(A|0,d,da);D=c[(c[A>>2]|0)+28>>2]|0;oz(12592,396,12056,(c[D>>2]|0)==0);ba=~~+h[D+8>>3];if(ba>>>0>12>>>0){ae(12192,(qa=i,i=i+24|0,c[qa>>2]=6,c[qa+8>>2]=0,c[qa+16>>2]=12,qa)|0);i=qa}else{c[b+1044>>2]=ba}if((a[da]&1)==0){break}iK(c[ca>>2]|0)}}while(0);da=gK(16)|0;A=ea+8|0;c[A>>2]=da;c[ea>>2]=17;c[ea+4>>2]=13;BK(da|0,16840,13)|0;a[da+13|0]=0;Gi(y|0,d,ea);da=c[y>>2]|0;if((da|0)==(ta|0)){Ja=0}else{Ja=(c[c[da+28>>2]>>2]|0)==0}if(!((a[ea]&1)==0)){iK(c[A>>2]|0)}do{if(Ja){A=gK(16)|0;ea=fa+8|0;c[ea>>2]=A;c[fa>>2]=17;c[fa+4>>2]=13;BK(A|0,16840,13)|0;a[A+13|0]=0;Gi(w|0,d,fa);A=c[w>>2]|0;if((A|0)==(ta|0)){Ka=0}else{Ka=(c[c[A+28>>2]>>2]|0)==0}oz(12592,342,12384,Ka);Ei(x|0,d,fa);A=c[(c[x>>2]|0)+28>>2]|0;oz(12592,396,12056,(c[A>>2]|0)==0);da=~~+h[A+8>>3];if(da>>>0>12>>>0){ae(11304,(qa=i,i=i+24|0,c[qa>>2]=0,c[qa+8>>2]=0,c[qa+16>>2]=12,qa)|0);i=qa}else{c[b+1048>>2]=da}if((a[fa]&1)==0){break}iK(c[ea>>2]|0)}}while(0);fa=ga;a[fa]=16;qa=ga;x=qa+1|0;Ka=x|0;E=1632399214;a[Ka]=E;E=E>>8;a[Ka+1|0]=E;E=E>>8;a[Ka+2|0]=E;E=E>>8;a[Ka+3|0]=E;Ka=x+4|0;E=1953853305;a[Ka]=E;E=E>>8;a[Ka+1|0]=E;E=E>>8;a[Ka+2|0]=E;E=E>>8;a[Ka+3|0]=E;a[qa+9|0]=0;Gi(v|0,d,ga);qa=c[v>>2]|0;if((qa|0)==(ta|0)){La=0}else{La=(c[c[qa+28>>2]>>2]|0)==0}if(!((a[fa]&1)==0)){iK(c[ga+8>>2]|0)}do{if(La){ga=ha;a[ga]=16;fa=ha;qa=fa+1|0;v=qa|0;E=1632399214;a[v]=E;E=E>>8;a[v+1|0]=E;E=E>>8;a[v+2|0]=E;E=E>>8;a[v+3|0]=E;v=qa+4|0;E=1953853305;a[v]=E;E=E>>8;a[v+1|0]=E;E=E>>8;a[v+2|0]=E;E=E>>8;a[v+3|0]=E;a[fa+9|0]=0;Gi(t|0,d,ha);fa=c[t>>2]|0;if((fa|0)==(ta|0)){Ma=0}else{Ma=(c[c[fa+28>>2]>>2]|0)==0}oz(12592,342,12384,Ma);Ei(u|0,d,ha);fa=c[(c[u>>2]|0)+28>>2]|0;oz(12592,396,12056,(c[fa>>2]|0)==0);a[b+1052|0]=+h[fa+8>>3]!=0.0|0;if((a[ga]&1)==0){break}iK(c[ha+8>>2]|0)}}while(0);ha=gK(16)|0;u=ia+8|0;c[u>>2]=ha;c[ia>>2]=17;c[ia+4>>2]=12;BK(ha|0,15944,12)|0;a[ha+12|0]=0;Gi(s|0,d,ia);ha=c[s>>2]|0;if((ha|0)==(ta|0)){Na=0}else{Na=(c[c[ha+28>>2]>>2]|0)==0}if(!((a[ia]&1)==0)){iK(c[u>>2]|0)}do{if(Na){u=gK(16)|0;ia=ja+8|0;c[ia>>2]=u;c[ja>>2]=17;c[ja+4>>2]=12;BK(u|0,15944,12)|0;a[u+12|0]=0;Gi(q|0,d,ja);u=c[q>>2]|0;if((u|0)==(ta|0)){Oa=0}else{Oa=(c[c[u+28>>2]>>2]|0)==0}oz(12592,342,12384,Oa);Ei(r|0,d,ja);u=c[(c[r>>2]|0)+28>>2]|0;oz(12592,396,12056,(c[u>>2]|0)==0);a[b+1053|0]=+h[u+8>>3]!=0.0|0;if((a[ja]&1)==0){break}iK(c[ia>>2]|0)}}while(0);ja=gK(32)|0;r=ka+8|0;c[r>>2]=ja;c[ka>>2]=33;c[ka+4>>2]=16;BK(ja|0,15728,16)|0;a[ja+16|0]=0;Gi(p|0,d,ka);ja=c[p>>2]|0;if((ja|0)==(ta|0)){Pa=0}else{Pa=(c[c[ja+28>>2]>>2]|0)==0}if(!((a[ka]&1)==0)){iK(c[r>>2]|0)}do{if(Pa){r=gK(32)|0;ka=la+8|0;c[ka>>2]=r;c[la>>2]=33;c[la+4>>2]=16;BK(r|0,15728,16)|0;a[r+16|0]=0;Gi(n|0,d,la);r=c[n>>2]|0;if((r|0)==(ta|0)){Qa=0}else{Qa=(c[c[r+28>>2]>>2]|0)==0}oz(12592,342,12384,Qa);Ei(o|0,d,la);r=c[(c[o>>2]|0)+28>>2]|0;oz(12592,396,12056,(c[r>>2]|0)==0);a[b+1054|0]=+h[r+8>>3]!=0.0|0;if((a[la]&1)==0){break}iK(c[ka>>2]|0)}}while(0);la=gK(16)|0;o=ma+8|0;c[o>>2]=la;c[ma>>2]=17;c[ma+4>>2]=15;BK(la|0,15296,15)|0;a[la+15|0]=0;Gi(m|0,d,ma);la=c[m>>2]|0;if((la|0)==(ta|0)){Ra=0}else{Ra=(c[c[la+28>>2]>>2]|0)==0}if(!((a[ma]&1)==0)){iK(c[o>>2]|0)}do{if(Ra){o=gK(16)|0;ma=na+8|0;c[ma>>2]=o;c[na>>2]=17;c[na+4>>2]=15;BK(o|0,15296,15)|0;a[o+15|0]=0;Gi(k|0,d,na);o=c[k>>2]|0;if((o|0)==(ta|0)){Sa=0}else{Sa=(c[c[o+28>>2]>>2]|0)==0}oz(12592,342,12384,Sa);Ei(l|0,d,na);o=c[(c[l>>2]|0)+28>>2]|0;oz(12592,396,12056,(c[o>>2]|0)==0);a[b+1055|0]=+h[o+8>>3]!=0.0|0;if((a[na]&1)==0){break}iK(c[ma>>2]|0)}}while(0);na=gK(32)|0;l=oa+8|0;c[l>>2]=na;c[oa>>2]=33;c[oa+4>>2]=17;BK(na|0,15136,17)|0;a[na+17|0]=0;Gi(j|0,d,oa);na=c[j>>2]|0;if((na|0)==(ta|0)){Ta=0}else{Ta=(c[c[na+28>>2]>>2]|0)==0}if(!((a[oa]&1)==0)){iK(c[l>>2]|0)}if(!Ta){ra=1;uz(S);i=e;return ra|0}Ta=gK(32)|0;l=pa+8|0;c[l>>2]=Ta;c[pa>>2]=33;c[pa+4>>2]=17;BK(Ta|0,15136,17)|0;a[Ta+17|0]=0;Gi(f|0,d,pa);Ta=c[f>>2]|0;if((Ta|0)==(ta|0)){Ua=0}else{Ua=(c[c[Ta+28>>2]>>2]|0)==0}oz(12592,342,12384,Ua);Ei(g|0,d,pa);d=c[(c[g>>2]|0)+28>>2]|0;oz(12592,396,12056,(c[d>>2]|0)==0);a[b+1056|0]=+h[d+8>>3]!=0.0|0;if((a[pa]&1)==0){ra=1;uz(S);i=e;return ra|0}iK(c[l>>2]|0);ra=1;uz(S);i=e;return ra|0}function wi(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;DK(b|0,0,12)|0;d=c[13802]|0;if((d|0)==(c[13803]|0)){return}else{e=d}do{d=a[e]|0;if((d&1)==0){f=(d&255)>>>1;g=e+1|0}else{f=c[e+4>>2]|0;g=c[e+8>>2]|0}TA(b,g,f)|0;e=e+12|0;}while((e|0)!=(c[13803]|0));return}function xi(b){b=b|0;var d=0,e=0,f=0;b=c[13802]|0;d=c[13803]|0;if((d|0)==(b|0)){return}else{e=d}while(1){d=e-12|0;c[13803]=d;if((a[d]&1)==0){f=d}else{iK(c[e-12+8>>2]|0);f=c[13803]|0}if((f|0)==(b|0)){break}else{e=f}}return}function yi(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0.0;g=i;i=i+456|0;h=g|0;j=d+852|0;Eq(j,e-1|0,1);e=d+1052|0;if((a[e]|0)==0){k=c[d+1032>>2]|0}else{k=yj(d+4|0)|0}if((a[d+1054|0]|0)==0){if((a[e]|0)==0){l=c[d+1028>>2]|0}else{m=5}}else{m=5}if((m|0)==5){l=xj(d+4|0)|0}Jt(h,k,l);n=+(c[d+1020>>2]|0)/100.0;eu(h,n,n);l=h|0;bd[c[(c[h>>2]|0)+132>>2]&255](l,(a[d+1056|0]|0)!=0);Er(j,l,0);vu(b,h,f);Lt(h);i=g;return}function zi(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;e=i;i=i+32|0;f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=g|0;a[k]=0;c[g+4>>2]=b;l=b;m=c[(c[l>>2]|0)-12>>2]|0;n=b;do{if((c[n+(m+16)>>2]|0)==0){o=c[n+(m+72)>>2]|0;if((o|0)!=0){RB(o)|0}a[k]=1;o=a[d]|0;p=(o&1)==0;if(p){q=(o&255)>>>1}else{q=c[d+4>>2]|0}o=c[(c[l>>2]|0)-12>>2]|0;c[h>>2]=c[n+(o+24)>>2];if(p){p=d;if((c[n+(o+4)>>2]&176|0)==32){r=p+1+q|0}else{r=p+1|0}s=d+1|0;t=d+1|0;u=r}else{p=c[d+8>>2]|0;if((c[n+(o+4)>>2]&176|0)==32){v=p+q|0}else{v=p}s=c[d+8>>2]|0;t=c[d+8>>2]|0;u=v}p=n+o|0;w=n+(o+76)|0;o=c[w>>2]|0;if((o|0)==-1){x=p;iB(f,x);y=DG(f,53416)|0;z=qd[c[(c[y>>2]|0)+28>>2]&255](y,32)|0;BG(f);c[w>>2]=z<<24>>24;A=z;B=x}else{A=o&255;B=p}Di(j,h,t,u,s+q|0,B,A);if((c[j>>2]|0)!=0){break}p=c[(c[l>>2]|0)-12>>2]|0;eB(n+p|0,c[n+(p+16)>>2]|5)}}while(0);hC(g);i=e;return b|0}function Ai(a){a=a|0;return vj(a+4|0)|0}function Bi(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=b+1060|0;b=c[e>>2]|0;if((b|0)!=0){bK(b);c[e>>2]=0}b=d;if((a[b]&1)==0){f=d+1|0}else{f=c[d+8>>2]|0}g=aK((AK(f|0)|0)+1|0)|0;c[e>>2]=g;if((g|0)==0){return}if((a[b]&1)==0){h=d+1|0}else{h=c[d+8>>2]|0}EK(g|0,h|0)|0;return}function Ci(a){a=a|0;var b=0;b=c[a+1060>>2]|0;return((b|0)==0?14888:b)|0}function Di(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;k=i;i=i+16|0;l=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[l>>2];l=k|0;m=d|0;d=c[m>>2]|0;if((d|0)==0){c[b>>2]=0;i=k;return}n=g;g=e;o=n-g|0;p=h+12|0;h=c[p>>2]|0;q=(h|0)>(o|0)?h-o|0:0;o=f;h=o-g|0;do{if((h|0)>0){if((gd[c[(c[d>>2]|0)+48>>2]&63](d,e,h)|0)==(h|0)){break}c[m>>2]=0;c[b>>2]=0;i=k;return}}while(0);do{if((q|0)>0){if(q>>>0<11>>>0){h=q<<1&255;e=l;a[e]=h;r=l+1|0;s=h;t=e}else{e=q+16&-16;h=gK(e)|0;c[l+8>>2]=h;g=e|1;c[l>>2]=g;c[l+4>>2]=q;r=h;s=g&255;t=l}DK(r|0,j|0,q|0)|0;a[r+q|0]=0;if((s&1)==0){u=l+1|0}else{u=c[l+8>>2]|0}if((gd[c[(c[d>>2]|0)+48>>2]&63](d,u,q)|0)==(q|0)){if((a[t]&1)==0){break}iK(c[l+8>>2]|0);break}c[m>>2]=0;c[b>>2]=0;if((a[t]&1)==0){i=k;return}iK(c[l+8>>2]|0);i=k;return}}while(0);l=n-o|0;do{if((l|0)>0){if((gd[c[(c[d>>2]|0)+48>>2]&63](d,f,l)|0)==(l|0)){break}c[m>>2]=0;c[b>>2]=0;i=k;return}}while(0);c[p>>2]=0;c[b>>2]=d;i=k;return}function Ei(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=i;i=i+8|0;g=f|0;h=d+4|0;Fi(g,d,e,c[d+4>>2]|0,h);d=c[g>>2]|0;do{if((d|0)!=(h|0)){g=d+16|0;j=a[e]|0;k=(j&1)==0;if(k){l=(j&255)>>>1}else{l=c[e+4>>2]|0}j=a[g]|0;m=(j&1)==0;if(m){n=(j&255)>>>1}else{n=c[d+20>>2]|0}if(k){o=e+1|0}else{o=c[e+8>>2]|0}if(m){p=g+1|0}else{p=c[d+24>>2]|0}g=n>>>0>>0;m=xK(o,p,g?n:l)|0;if((m|0)==0){q=l>>>0>>0?-1:g&1}else{q=m}if((q|0)<0){break}c[b>>2]=d;i=f;return}}while(0);c[b>>2]=h;i=f;return}function Fi(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((f|0)==0){h=g;i=b|0;c[i>>2]=h;return}d=a[e]|0;j=(d&1)==0;k=(d&255)>>>1;d=e+1|0;l=e+8|0;m=e+4|0;e=f;f=g;a:while(1){b:do{if(j){g=e;while(1){n=g+16|0;o=a[n]|0;if((o&1)==0){p=n+1|0;q=(o&255)>>>1}else{p=c[g+24>>2]|0;q=c[g+20>>2]|0}o=k>>>0>>0;n=xK(p,d,o?k:q)|0;if((n|0)==0){r=q>>>0>>0?-1:o&1}else{r=n}if((r|0)>=0){s=g;break b}n=c[g+4>>2]|0;if((n|0)==0){h=f;t=19;break a}else{g=n}}}else{g=e;while(1){n=g+16|0;o=a[n]|0;if((o&1)==0){u=n+1|0;v=(o&255)>>>1}else{u=c[g+24>>2]|0;v=c[g+20>>2]|0}o=c[m>>2]|0;n=o>>>0>>0;w=xK(u,c[l>>2]|0,n?o:v)|0;if((w|0)==0){x=v>>>0>>0?-1:n&1}else{x=w}if((x|0)>=0){s=g;break b}w=c[g+4>>2]|0;if((w|0)==0){h=f;t=19;break a}else{g=w}}}}while(0);g=c[s>>2]|0;if((g|0)==0){h=s;t=19;break}else{e=g;f=s}}if((t|0)==19){i=b|0;c[i>>2]=h;return}}function Gi(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=i;i=i+8|0;g=f|0;h=d+4|0;Hi(g,d,e,c[d+4>>2]|0,h);d=c[g>>2]|0;do{if((d|0)!=(h|0)){g=d+16|0;j=a[e]|0;k=(j&1)==0;if(k){l=(j&255)>>>1}else{l=c[e+4>>2]|0}j=a[g]|0;m=(j&1)==0;if(m){n=(j&255)>>>1}else{n=c[d+20>>2]|0}if(k){o=e+1|0}else{o=c[e+8>>2]|0}if(m){p=g+1|0}else{p=c[d+24>>2]|0}g=n>>>0>>0;m=xK(o,p,g?n:l)|0;if((m|0)==0){q=l>>>0>>0?-1:g&1}else{q=m}if((q|0)<0){break}c[b>>2]=d;i=f;return}}while(0);c[b>>2]=h;i=f;return}function Hi(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((f|0)==0){h=g;i=b|0;c[i>>2]=h;return}d=a[e]|0;j=(d&1)==0;k=(d&255)>>>1;d=e+1|0;l=e+8|0;m=e+4|0;e=f;f=g;a:while(1){b:do{if(j){g=e;while(1){n=g+16|0;o=a[n]|0;if((o&1)==0){p=n+1|0;q=(o&255)>>>1}else{p=c[g+24>>2]|0;q=c[g+20>>2]|0}o=k>>>0>>0;n=xK(p,d,o?k:q)|0;if((n|0)==0){r=q>>>0>>0?-1:o&1}else{r=n}if((r|0)>=0){s=g;break b}n=c[g+4>>2]|0;if((n|0)==0){h=f;t=19;break a}else{g=n}}}else{g=e;while(1){n=g+16|0;o=a[n]|0;if((o&1)==0){u=n+1|0;v=(o&255)>>>1}else{u=c[g+24>>2]|0;v=c[g+20>>2]|0}o=c[m>>2]|0;n=o>>>0>>0;w=xK(u,c[l>>2]|0,n?o:v)|0;if((w|0)==0){x=v>>>0>>0?-1:n&1}else{x=w}if((x|0)>=0){s=g;break b}w=c[g+4>>2]|0;if((w|0)==0){h=f;t=19;break a}else{g=w}}}}while(0);g=c[s>>2]|0;if((g|0)==0){h=s;t=19;break}else{e=g;f=s}}if((t|0)==19){i=b|0;c[i>>2]=h;return}}function Ii(a){a=a|0;Mi(a);return}function Ji(a){a=a|0;c[a>>2]=27636;c[a+108>>2]=27656;Mi(a+8|0);fB(a+108|0);iK(a);return}function Ki(a){a=a|0;var b=0,d=0;b=a;d=c[(c[a>>2]|0)-12>>2]|0;c[b+d>>2]=27636;a=b+(d+108)|0;c[a>>2]=27656;Mi(b+(d+8)|0);fB(a);return}function Li(a){a=a|0;var b=0,d=0,e=0;b=a;d=c[(c[a>>2]|0)-12>>2]|0;a=b+d|0;c[a>>2]=27636;e=b+(d+108)|0;c[e>>2]=27656;Mi(b+(d+8)|0);fB(e);iK(a);return}function Mi(b){b=b|0;var d=0,e=0,f=0;d=b|0;c[d>>2]=27872;e=b+64|0;f=c[e>>2]|0;do{if((f|0)!=0){Si(b)|0;if((Pa(f|0)|0)!=0){break}c[e>>2]=0}}while(0);do{if((a[b+96|0]|0)!=0){e=c[b+32>>2]|0;if((e|0)==0){break}jK(e)}}while(0);do{if((a[b+97|0]|0)!=0){e=c[b+56>>2]|0;if((e|0)==0){break}jK(e)}}while(0);c[d>>2]=27560;BG(b+4|0);return}function Ni(a){a=a|0;Mi(a);iK(a);return}function Oi(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;dd[c[(c[b>>2]|0)+24>>2]&255](b)|0;e=DG(d,53112)|0;d=e;c[b+68>>2]=d;f=b+98|0;g=a[f]|0;h=dd[c[(c[e>>2]|0)+28>>2]&255](d)|0;a[f]=h&1;if((g&255|0)==(h&1|0)){return}g=b+96|0;DK(b+8|0,0,24)|0;f=(a[g]|0)!=0;if(h){h=b+32|0;do{if(f){d=c[h>>2]|0;if((d|0)==0){break}jK(d)}}while(0);d=b+97|0;a[g]=a[d]|0;e=b+60|0;c[b+52>>2]=c[e>>2];i=b+56|0;c[h>>2]=c[i>>2];c[e>>2]=0;c[i>>2]=0;a[d]=0;return}do{if(!f){d=b+32|0;i=c[d>>2]|0;if((i|0)==(b+44|0)){break}e=c[b+52>>2]|0;c[b+60>>2]=e;c[b+56>>2]=i;a[b+97|0]=0;c[d>>2]=hK(e)|0;a[g]=1;return}}while(0);g=c[b+52>>2]|0;c[b+60>>2]=g;c[b+56>>2]=hK(g)|0;a[b+97|0]=1;return}function Pi(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=b|0;g=b+96|0;DK(b+8|0,0,24)|0;do{if((a[g]|0)!=0){h=c[b+32>>2]|0;if((h|0)==0){break}jK(h)}}while(0);h=b+97|0;do{if((a[h]|0)!=0){i=c[b+56>>2]|0;if((i|0)==0){break}jK(i)}}while(0);i=b+52|0;c[i>>2]=e;do{if(e>>>0>8>>>0){j=a[b+98|0]|0;if(j<<24>>24==0|(d|0)==0){c[b+32>>2]=hK(e)|0;a[g]=1;k=j;break}else{c[b+32>>2]=d;a[g]=0;k=j;break}}else{c[b+32>>2]=b+44;c[i>>2]=8;a[g]=0;k=a[b+98|0]|0}}while(0);if(!(k<<24>>24==0)){c[b+60>>2]=0;c[b+56>>2]=0;a[h]=0;return f|0}k=(e|0)<8?8:e;c[b+60>>2]=k;if((d|0)!=0&k>>>0>7>>>0){c[b+56>>2]=d;a[h]=0;return f|0}else{c[b+56>>2]=hK(k)|0;a[h]=1;return f|0}return 0}function Qi(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;g=c[b+68>>2]|0;if((g|0)==0){h=Nc(4)|0;DJ(h);Vb(h|0,43976,614)}h=dd[c[(c[g>>2]|0)+24>>2]&255](g)|0;g=b+64|0;do{if((c[g>>2]|0)!=0){i=(h|0)>0;if(!(i|(d|0)==0&(e|0)==0)){break}if((dd[c[(c[b>>2]|0)+24>>2]&255](b)|0)!=0){break}if(!(f>>>0<3>>>0)){j=a;c[j>>2]=0;c[j+4>>2]=0;j=a+8|0;c[j>>2]=-1;c[j+4>>2]=-1;return}j=c[g>>2]|0;if(i){i=SK(h,(h|0)<0|0?-1:0,d,e)|0;k=i}else{k=0}if((Kc(j|0,k|0,f|0)|0)==0){j=xb(c[g>>2]|0)|0;i=b+72|0;l=c[i+4>>2]|0;m=a;c[m>>2]=c[i>>2];c[m+4>>2]=l;l=a+8|0;c[l>>2]=j;c[l+4>>2]=(j|0)<0|0?-1:0;return}else{j=a;c[j>>2]=0;c[j+4>>2]=0;j=a+8|0;c[j>>2]=-1;c[j+4>>2]=-1;return}}}while(0);b=a;c[b>>2]=0;c[b+4>>2]=0;b=a+8|0;c[b>>2]=-1;c[b+4>>2]=-1;return}function Ri(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;e=i;f=d;d=i;i=i+16|0;c[d>>2]=c[f>>2];c[d+4>>2]=c[f+4>>2];c[d+8>>2]=c[f+8>>2];c[d+12>>2]=c[f+12>>2];f=b+64|0;do{if((c[f>>2]|0)!=0){if((dd[c[(c[b>>2]|0)+24>>2]&255](b)|0)!=0){break}if((Kc(c[f>>2]|0,c[d+8>>2]|0,0)|0)==0){g=d;h=c[g+4>>2]|0;j=b+72|0;c[j>>2]=c[g>>2];c[j+4>>2]=h;h=a;j=d;c[h>>2]=c[j>>2];c[h+4>>2]=c[j+4>>2];c[h+8>>2]=c[j+8>>2];c[h+12>>2]=c[j+12>>2];i=e;return}else{j=a;c[j>>2]=0;c[j+4>>2]=0;j=a+8|0;c[j>>2]=-1;c[j+4>>2]=-1;i=e;return}}}while(0);d=a;c[d>>2]=0;c[d+4>>2]=0;d=a+8|0;c[d>>2]=-1;c[d+4>>2]=-1;i=e;return}function Si(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;d=i;i=i+16|0;e=d|0;f=d+8|0;g=f;h=b+64|0;if((c[h>>2]|0)==0){j=0;i=d;return j|0}k=b+68|0;l=c[k>>2]|0;if((l|0)==0){m=Nc(4)|0;DJ(m);Vb(m|0,43976,614);return 0}m=b+92|0;n=c[m>>2]|0;do{if((n&16|0)==0){if((n&8|0)==0){break}o=b+80|0;p=c[o+4>>2]|0;c[f>>2]=c[o>>2];c[f+4>>2]=p;do{if((a[b+98|0]|0)==0){p=dd[c[(c[l>>2]|0)+24>>2]&255](l)|0;o=b+36|0;q=c[o>>2]|0;r=(c[b+40>>2]|0)-q|0;if((p|0)>0){s=(ia((c[b+16>>2]|0)-(c[b+12>>2]|0)|0,p)|0)+r|0;t=0;break}p=c[b+12>>2]|0;if((p|0)==(c[b+16>>2]|0)){s=r;t=0;break}u=c[k>>2]|0;v=b+32|0;w=ed[c[(c[u>>2]|0)+32>>2]&31](u,g,c[v>>2]|0,q,p-(c[b+8>>2]|0)|0)|0;s=r-w+(c[o>>2]|0)-(c[v>>2]|0)|0;t=1}else{s=(c[b+16>>2]|0)-(c[b+12>>2]|0)|0;t=0}}while(0);if((Kc(c[h>>2]|0,-s|0,1)|0)!=0){j=-1;i=d;return j|0}if(t){v=b+72|0;o=c[f+4>>2]|0;c[v>>2]=c[f>>2];c[v+4>>2]=o}o=c[b+32>>2]|0;c[b+40>>2]=o;c[b+36>>2]=o;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[m>>2]=0}else{do{if((c[b+24>>2]|0)!=(c[b+20>>2]|0)){if((qd[c[(c[b>>2]|0)+52>>2]&255](b,-1)|0)==-1){j=-1}else{break}i=d;return j|0}}while(0);o=b+72|0;v=b+32|0;w=b+52|0;while(1){r=c[k>>2]|0;p=c[v>>2]|0;q=ed[c[(c[r>>2]|0)+20>>2]&31](r,o,p,p+(c[w>>2]|0)|0,e)|0;p=c[v>>2]|0;r=(c[e>>2]|0)-p|0;if((Xa(p|0,1,r|0,c[h>>2]|0)|0)!=(r|0)){j=-1;x=23;break}if((q|0)==2){j=-1;x=23;break}else if((q|0)!=1){x=10;break}}if((x|0)==10){if((Ta(c[h>>2]|0)|0)==0){break}else{j=-1}i=d;return j|0}else if((x|0)==23){i=d;return j|0}}}while(0);j=0;i=d;return j|0}function Ti(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;e=i;i=i+16|0;f=e|0;g=e+8|0;h=b+64|0;if((c[h>>2]|0)==0){j=-1;i=e;return j|0}k=b+92|0;if((c[k>>2]&8|0)==0){c[b+24>>2]=0;c[b+20>>2]=0;c[b+28>>2]=0;if((a[b+98|0]|0)==0){l=c[b+56>>2]|0;m=l+(c[b+60>>2]|0)|0;c[b+8>>2]=l;c[b+12>>2]=m;c[b+16>>2]=m;n=m}else{m=c[b+32>>2]|0;l=m+(c[b+52>>2]|0)|0;c[b+8>>2]=m;c[b+12>>2]=l;c[b+16>>2]=l;n=l}c[k>>2]=8;o=1;p=n;q=b+12|0}else{n=b+12|0;o=0;p=c[n>>2]|0;q=n}if((p|0)==0){n=f+1|0;c[b+8>>2]=f;c[q>>2]=n;c[b+16>>2]=n;r=n}else{r=p}p=c[b+16>>2]|0;if(o){s=0}else{o=(p-(c[b+8>>2]|0)|0)/2|0;s=o>>>0>4>>>0?4:o}o=b+16|0;do{if((r|0)==(p|0)){n=b+8|0;CK(c[n>>2]|0,r+(-s|0)|0,s|0)|0;if((a[b+98|0]|0)!=0){k=c[n>>2]|0;l=ec(k+s|0,1,(c[o>>2]|0)-s-k|0,c[h>>2]|0)|0;if((l|0)==0){t=-1;u=n;break}k=c[n>>2]|0;m=k+s|0;c[q>>2]=m;c[o>>2]=k+(l+s);t=d[m]|0;u=n;break}m=b+32|0;l=b+36|0;k=c[l>>2]|0;v=b+40|0;CK(c[m>>2]|0,k|0,(c[v>>2]|0)-k|0)|0;k=c[m>>2]|0;w=k+((c[v>>2]|0)-(c[l>>2]|0))|0;c[l>>2]=w;if((k|0)==(b+44|0)){x=8}else{x=c[b+52>>2]|0}y=k+x|0;c[v>>2]=y;k=b+60|0;z=(c[k>>2]|0)-s|0;A=y-w|0;y=b+72|0;B=y;C=b+80|0;D=c[B+4>>2]|0;c[C>>2]=c[B>>2];c[C+4>>2]=D;D=ec(w|0,1,(A>>>0>>0?A:z)|0,c[h>>2]|0)|0;if((D|0)==0){t=-1;u=n;break}z=c[b+68>>2]|0;if((z|0)==0){A=Nc(4)|0;DJ(A);Vb(A|0,43976,614);return 0}A=(c[l>>2]|0)+D|0;c[v>>2]=A;D=c[n>>2]|0;if((vd[c[(c[z>>2]|0)+16>>2]&31](z,y,c[m>>2]|0,A,l,D+s|0,D+(c[k>>2]|0)|0,g)|0)==3){k=c[m>>2]|0;m=c[v>>2]|0;c[n>>2]=k;c[q>>2]=k;c[o>>2]=m;t=d[k]|0;u=n;break}k=c[g>>2]|0;m=c[n>>2]|0;v=m+s|0;if((k|0)==(v|0)){t=-1;u=n;break}c[n>>2]=m;c[q>>2]=v;c[o>>2]=k;t=d[v]|0;u=n}else{t=d[r]|0;u=b+8|0}}while(0);if((c[u>>2]|0)!=(f|0)){j=t;i=e;return j|0}c[u>>2]=0;c[q>>2]=0;c[o>>2]=0;j=t;i=e;return j|0}function Ui(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if((c[b+64>>2]|0)==0){e=-1;return e|0}f=b+12|0;g=c[f>>2]|0;if(!((c[b+8>>2]|0)>>>0>>0)){e=-1;return e|0}if((d|0)==-1){c[f>>2]=g-1;e=0;return e|0}do{if((c[b+88>>2]&16|0)==0){h=d&255;i=g-1|0;if(h<<24>>24==(a[i]|0)){j=i;k=h;break}else{e=-1}return e|0}else{j=g-1|0;k=d&255}}while(0);c[f>>2]=j;a[j]=k;e=d;return e|0}function Vi(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;e=i;i=i+24|0;f=e|0;g=e+8|0;h=e+16|0;j=b+64|0;if((c[j>>2]|0)==0){k=-1;i=e;return k|0}l=b+92|0;if((c[l>>2]&16|0)==0){c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;m=c[b+52>>2]|0;do{if(m>>>0>8>>>0){if((a[b+98|0]|0)==0){n=c[b+56>>2]|0;o=n+((c[b+60>>2]|0)-1)|0;c[b+24>>2]=n;c[b+20>>2]=n;c[b+28>>2]=o;p=n;q=o;break}else{o=c[b+32>>2]|0;n=o+(m-1)|0;c[b+24>>2]=o;c[b+20>>2]=o;c[b+28>>2]=n;p=o;q=n;break}}else{c[b+24>>2]=0;c[b+20>>2]=0;c[b+28>>2]=0;p=0;q=0}}while(0);c[l>>2]=16;r=p;s=q;t=b+20|0;u=b+28|0}else{q=b+20|0;p=b+28|0;r=c[q>>2]|0;s=c[p>>2]|0;t=q;u=p}p=(d|0)==-1;q=b+24|0;l=c[q>>2]|0;if(p){v=r;w=l}else{if((l|0)==0){c[q>>2]=f;c[t>>2]=f;c[u>>2]=f+1;x=f}else{x=l}a[x]=d;x=(c[q>>2]|0)+1|0;c[q>>2]=x;v=c[t>>2]|0;w=x}x=b+24|0;if((w|0)!=(v|0)){a:do{if((a[b+98|0]|0)==0){q=b+32|0;l=c[q>>2]|0;c[g>>2]=l;f=b+68|0;m=c[f>>2]|0;if((m|0)==0){y=Nc(4)|0;z=y;DJ(z);Vb(y|0,43976,614);return 0}n=b+72|0;o=b+52|0;A=m;m=v;B=w;C=l;while(1){l=vd[c[(c[A>>2]|0)+12>>2]&31](A,n,m,B,h,C,C+(c[o>>2]|0)|0,g)|0;D=c[t>>2]|0;if((c[h>>2]|0)==(D|0)){k=-1;E=30;break}if((l|0)==3){E=22;break}if(!(l>>>0<2>>>0)){k=-1;E=30;break}F=c[q>>2]|0;G=(c[g>>2]|0)-F|0;if((Xa(F|0,1,G|0,c[j>>2]|0)|0)!=(G|0)){k=-1;E=30;break}if((l|0)!=1){break a}l=c[h>>2]|0;G=c[x>>2]|0;c[t>>2]=l;c[u>>2]=G;F=l+(G-l)|0;c[x>>2]=F;G=c[f>>2]|0;if((G|0)==0){E=19;break}A=G;m=l;B=F;C=c[q>>2]|0}if((E|0)==19){y=Nc(4)|0;z=y;DJ(z);Vb(y|0,43976,614);return 0}else if((E|0)==22){q=(c[x>>2]|0)-D|0;if((Xa(D|0,1,q|0,c[j>>2]|0)|0)==(q|0)){break}else{k=-1}i=e;return k|0}else if((E|0)==30){i=e;return k|0}}else{q=w-v|0;if((Xa(v|0,1,q|0,c[j>>2]|0)|0)==(q|0)){break}else{k=-1}i=e;return k|0}}while(0);c[x>>2]=r;c[t>>2]=r;c[u>>2]=s}k=p?0:d;i=e;return k|0}function Wi(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+16|0;e=d|0;f=d+8|0;g=b|0;c[g>>2]=27560;h=b+4|0;zG(h);DK(b+8|0,0,24)|0;c[g>>2]=27872;c[b+32>>2]=0;c[b+36>>2]=0;c[b+40>>2]=0;g=b+68|0;DK(b+52|0,0,47)|0;AG(e,h);j=CG(e,53112)|0;BG(e);if(j){AG(f,h);c[g>>2]=DG(f,53112)|0;BG(f);f=c[g>>2]|0;a[b+98|0]=(dd[c[(c[f>>2]|0)+28>>2]&255](f)|0)&1}gd[c[(c[b>>2]|0)+12>>2]&63](b,0,4096)|0;i=d;return}function Xi(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;e=i;i=i+160|0;f=e|0;g=e+144|0;h=f|0;j=f+8|0;c[h>>2]=47700;k=f+60|0;c[k>>2]=47720;c[f+4>>2]=0;l=f+60|0;jB(l,j);c[f+132>>2]=0;c[f+136>>2]=-1;c[h>>2]=27140;c[f+60>>2]=27160;m=j|0;c[m>>2]=27560;n=f+12|0;zG(n);DK(f+16|0,0,24)|0;c[m>>2]=27416;m=f+40|0;DK(m|0,0,16)|0;c[f+56>>2]=8;ij(j,d);d=g;DK(d|0,0,12)|0;j=f;Yi(j,g,59)|0;Yi(j,g,59)|0;if((a[d]&1)==0){o=g+1|0}else{o=c[g+8>>2]|0}c[b+4>>2]=jc(o|0)|0;Yi(j,g,59)|0;if((a[d]&1)==0){p=g+1|0}else{p=c[g+8>>2]|0}c[b+8>>2]=jc(p|0)|0;Yi(j,g,59)|0;if((a[d]&1)==0){q=g+1|0}else{q=c[g+8>>2]|0}c[b+12>>2]=jc(q|0)|0;Yi(j,g,59)|0;if((a[d]&1)==0){r=g+1|0}else{r=c[g+8>>2]|0}c[b+16>>2]=jc(r|0)|0;Yi(j,g,59)|0;if((a[d]&1)==0){s=g+1|0}else{s=c[g+8>>2]|0}a[b+20|0]=(jc(s|0)|0)!=0|0;Yi(j,g,59)|0;s=b+24|0;NA(s,g)|0;r=a[s]|0;if((r&1)==0){t=(r&255)>>>1}else{t=c[b+28>>2]|0}if((t|0)==0){u=0;v=a[d]|0}else{Yi(j,g,59)|0;j=a[d]|0;if((j&1)==0){w=g+1|0}else{w=c[g+8>>2]|0}c[b+36>>2]=jc(w|0)|0;u=1;v=j}if(!((v&1)==0)){iK(c[g+8>>2]|0)}c[h>>2]=27140;c[k>>2]=27160;k=f+8|0;c[k>>2]=27416;if(!((a[m]&1)==0)){iK(c[f+48>>2]|0)}c[k>>2]=27560;BG(n);fB(l);i=e;return u|0}function Yi(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;f=b;g=c[f>>2]|0;h=c[g-12>>2]|0;i=b;j=c[i+(h+16)>>2]|0;if((j|0)!=0){eB(i+h|0,j|4);return b|0}j=c[i+(h+72)>>2]|0;if((j|0)==0){k=g;l=h}else{RB(j)|0;j=c[f>>2]|0;k=j;l=c[j-12>>2]|0}if((c[i+(l+16)>>2]|0)!=0){return b|0}l=d;if((a[l]&1)==0){j=d+1|0;a[j]=0;a[l]=0;m=d+4|0;n=j;o=d+8|0}else{j=d+8|0;a[c[j>>2]|0]=0;h=d+4|0;c[h>>2]=0;m=h;n=d+1|0;o=j}j=d|0;h=0;g=k;while(1){k=c[i+((c[g-12>>2]|0)+24)>>2]|0;p=k+12|0;q=c[p>>2]|0;if((q|0)==(c[k+16>>2]|0)){r=dd[c[(c[k>>2]|0)+40>>2]&255](k)|0;if((r|0)==-1){s=h;t=2;break}else{u=r&255}}else{c[p>>2]=q+1;u=a[q]|0}q=h+1|0;if(u<<24>>24==e<<24>>24){s=q;t=0;break}p=a[l]|0;r=(p&1)!=0;if(r){v=c[m>>2]|0;w=(c[j>>2]&-2)-1|0}else{v=(p&255)>>>1;w=10}if((v|0)==(w|0)){VA(d,w,1,w,w,0,0);if((a[l]&1)==0){x=28}else{x=29}}else{if(r){x=29}else{x=28}}if((x|0)==28){x=0;a[l]=(v<<1)+2;y=n;z=v+1|0}else if((x|0)==29){x=0;r=c[o>>2]|0;p=v+1|0;c[m>>2]=p;y=r;z=p}a[y+v|0]=u;a[y+z|0]=0;if(!((a[l]&1)==0)){if((c[m>>2]|0)==-17){s=q;t=4;break}}h=q;g=c[f>>2]|0}g=c[(c[f>>2]|0)-12>>2]|0;eB(i+g|0,c[i+(g+16)>>2]|((s|0)==0?t|4:t));return b|0}function Zi(b){b=b|0;var d=0;c[b>>2]=27140;c[b+60>>2]=27160;d=b+8|0;c[d>>2]=27416;if(!((a[b+40|0]&1)==0)){iK(c[b+48>>2]|0)}c[d>>2]=27560;BG(b+12|0);fB(b+60|0);return}function _i(b){b=b|0;var d=0;c[b>>2]=27140;c[b+60>>2]=27160;d=b+8|0;c[d>>2]=27416;if(!((a[b+40|0]&1)==0)){iK(c[b+48>>2]|0)}c[d>>2]=27560;BG(b+12|0);fB(b+60|0);iK(b);return}function $i(b){b=b|0;var d=0,e=0,f=0;d=b;e=c[(c[b>>2]|0)-12>>2]|0;c[d+e>>2]=27140;b=d+(e+60)|0;c[b>>2]=27160;f=d+(e+8)|0;c[f>>2]=27416;if(!((a[d+(e+40)|0]&1)==0)){iK(c[d+(e+48)>>2]|0)}c[f>>2]=27560;BG(d+(e+12)|0);fB(b);return}function aj(b){b=b|0;var d=0,e=0,f=0,g=0;d=b;e=c[(c[b>>2]|0)-12>>2]|0;b=d+e|0;c[b>>2]=27140;f=d+(e+60)|0;c[f>>2]=27160;g=d+(e+8)|0;c[g>>2]=27416;if(!((a[d+(e+40)|0]&1)==0)){iK(c[d+(e+48)>>2]|0)}c[g>>2]=27560;BG(d+(e+12)|0);fB(f);iK(b);return}function bj(b){b=b|0;var d=0;d=b|0;c[d>>2]=27416;if(!((a[b+32|0]&1)==0)){iK(c[b+40>>2]|0)}c[d>>2]=27560;BG(b+4|0);return}function cj(b){b=b|0;var d=0;d=b|0;c[d>>2]=27416;if(!((a[b+32|0]&1)==0)){iK(c[b+40>>2]|0)}c[d>>2]=27560;BG(b+4|0);iK(b);return}function dj(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;i=d+44|0;j=c[i>>2]|0;k=d+24|0;l=c[k>>2]|0;if(j>>>0>>0){c[i>>2]=l;m=l}else{m=j}j=h&24;do{if((j|0)==0){i=b;c[i>>2]=0;c[i+4>>2]=0;i=b+8|0;c[i>>2]=-1;c[i+4>>2]=-1;return}else if((j|0)==24){if((g|0)==2){n=11;break}else if((g|0)==0){o=0;p=0;break}else if((g|0)!=1){n=15;break}i=b;c[i>>2]=0;c[i+4>>2]=0;i=b+8|0;c[i>>2]=-1;c[i+4>>2]=-1;return}else{if((g|0)==2){n=11;break}else if((g|0)==0){o=0;p=0;break}else if((g|0)!=1){n=15;break}if((h&8|0)==0){i=l-(c[d+20>>2]|0)|0;o=(i|0)<0|0?-1:0;p=i;break}else{i=(c[d+12>>2]|0)-(c[d+8>>2]|0)|0;o=(i|0)<0|0?-1:0;p=i;break}}}while(0);if((n|0)==15){g=b;c[g>>2]=0;c[g+4>>2]=0;g=b+8|0;c[g>>2]=-1;c[g+4>>2]=-1;return}if((n|0)==11){n=d+32|0;if((a[n]&1)==0){q=n+1|0}else{q=c[d+40>>2]|0}n=m-q|0;o=(n|0)<0|0?-1:0;p=n}n=IK(p,o,e,f)|0;f=M;e=0;do{if(!((f|0)<(e|0)|(f|0)==(e|0)&n>>>0<0>>>0)){o=d+32|0;if((a[o]&1)==0){r=o+1|0}else{r=c[d+40>>2]|0}o=m-r|0;p=(o|0)<0|0?-1:0;if((p|0)<(f|0)|(p|0)==(f|0)&o>>>0>>0){break}o=h&8;do{if(!((n|0)==0&(f|0)==0)){do{if((o|0)!=0){if((c[d+12>>2]|0)!=0){break}p=b;c[p>>2]=0;c[p+4>>2]=0;p=b+8|0;c[p>>2]=-1;c[p+4>>2]=-1;return}}while(0);if(!((h&16|0)!=0&(l|0)==0)){break}p=b;c[p>>2]=0;c[p+4>>2]=0;p=b+8|0;c[p>>2]=-1;c[p+4>>2]=-1;return}}while(0);if((o|0)!=0){c[d+12>>2]=(c[d+8>>2]|0)+n;c[d+16>>2]=m}if((h&16|0)!=0){c[k>>2]=(c[d+20>>2]|0)+n}p=b;c[p>>2]=0;c[p+4>>2]=0;p=b+8|0;c[p>>2]=n;c[p+4>>2]=f;return}}while(0);f=b;c[f>>2]=0;c[f+4>>2]=0;f=b+8|0;c[f>>2]=-1;c[f+4>>2]=-1;return}function ej(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;g=d;d=i;i=i+16|0;c[d>>2]=c[g>>2];c[d+4>>2]=c[g+4>>2];c[d+8>>2]=c[g+8>>2];c[d+12>>2]=c[g+12>>2];g=d+8|0;jd[c[(c[b>>2]|0)+16>>2]&63](a,b,c[g>>2]|0,c[g+4>>2]|0,0,e);i=f;return}function fj(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0;b=a+44|0;e=c[b>>2]|0;f=c[a+24>>2]|0;if(e>>>0>>0){c[b>>2]=f;g=f}else{g=e}if((c[a+48>>2]&8|0)==0){h=-1;return h|0}e=a+16|0;f=c[e>>2]|0;b=c[a+12>>2]|0;if(f>>>0>>0){c[e>>2]=g;i=g}else{i=f}if(!(b>>>0>>0)){h=-1;return h|0}h=d[b]|0;return h|0}function gj(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;e=b+44|0;f=c[e>>2]|0;g=c[b+24>>2]|0;if(f>>>0>>0){c[e>>2]=g;h=g}else{h=f}f=b+8|0;g=c[f>>2]|0;e=b+12|0;i=c[e>>2]|0;if(!(g>>>0>>0)){j=-1;return j|0}if((d|0)==-1){c[f>>2]=g;c[e>>2]=i-1;c[b+16>>2]=h;j=0;return j|0}do{if((c[b+48>>2]&16|0)==0){k=d&255;l=i-1|0;if(k<<24>>24==(a[l]|0)){m=l;n=k;break}else{j=-1}return j|0}else{m=i-1|0;n=d&255}}while(0);c[f>>2]=g;c[e>>2]=m;c[b+16>>2]=h;a[m]=n;j=d;return j|0}function hj(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;if((d|0)==-1){e=0;return e|0}f=b|0;g=b+12|0;h=b+8|0;i=(c[g>>2]|0)-(c[h>>2]|0)|0;j=b+24|0;k=c[j>>2]|0;l=b+28|0;m=c[l>>2]|0;if((k|0)==(m|0)){n=b+48|0;if((c[n>>2]&16|0)==0){e=-1;return e|0}o=b+20|0;p=c[o>>2]|0;q=k-p|0;r=b+44|0;s=(c[r>>2]|0)-p|0;p=b+32|0;t=p;u=a[t]|0;v=(u&1)!=0;if(v){w=c[b+36>>2]|0;x=(c[p>>2]&-2)-1|0}else{w=(u&255)>>>1;x=10}if((w|0)==(x|0)){VA(p,x,1,x,x,0,0);if((a[t]&1)==0){y=12}else{y=13}}else{if(v){y=13}else{y=12}}if((y|0)==12){a[t]=(w<<1)+2;z=p+1|0;A=w+1|0}else if((y|0)==13){y=c[b+40>>2]|0;v=w+1|0;c[b+36>>2]=v;z=y;A=v}a[z+w|0]=0;a[z+A|0]=0;A=a[t]|0;if((A&1)==0){B=10;C=A}else{A=c[p>>2]|0;B=(A&-2)-1|0;C=A&255}A=(C&1)==0;if(A){D=(C&255)>>>1}else{D=c[b+36>>2]|0}do{if(D>>>0>>0){QA(p,B-D|0,0)|0}else{if(A){a[p+1+B|0]=0;a[t]=B<<1;break}else{a[(c[b+40>>2]|0)+B|0]=0;c[b+36>>2]=B;break}}}while(0);B=a[t]|0;if((B&1)==0){E=(B&255)>>>1;F=p+1|0}else{E=c[b+36>>2]|0;F=c[b+40>>2]|0}p=F+E|0;c[o>>2]=F;c[l>>2]=p;l=F+q|0;c[j>>2]=l;q=F+s|0;c[r>>2]=q;G=l;H=p;I=q;J=n}else{G=k;H=m;I=c[b+44>>2]|0;J=b+48|0}m=G+1|0;k=m>>>0>>0?I:m;c[b+44>>2]=k;if((c[J>>2]&8|0)!=0){J=b+32|0;if((a[J]&1)==0){K=J+1|0}else{K=c[b+40>>2]|0}c[h>>2]=K;c[g>>2]=K+i;c[b+16>>2]=k}if((G|0)==(H|0)){e=qd[c[(c[b>>2]|0)+52>>2]&255](f,d&255)|0;return e|0}else{c[j>>2]=m;a[G]=d;e=d&255;return e|0}return 0}function ij(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=b+32|0;NA(e,d)|0;d=b+44|0;c[d>>2]=0;f=b+48|0;g=c[f>>2]|0;if((g&8|0)!=0){h=a[e]|0;if((h&1)==0){i=((h&255)>>>1)+(e+1)|0;c[d>>2]=i;j=e+1|0;k=i;l=e+1|0}else{i=(c[b+40>>2]|0)+(c[b+36>>2]|0)|0;c[d>>2]=i;h=c[b+40>>2]|0;j=h;k=i;l=h}c[b+8>>2]=l;c[b+12>>2]=j;c[b+16>>2]=k}if((g&16|0)==0){return}g=e;k=a[g]|0;if((k&1)==0){j=(k&255)>>>1;c[d>>2]=e+1+j;m=10;n=k;o=j}else{j=c[b+36>>2]|0;c[d>>2]=(c[b+40>>2]|0)+j;d=c[e>>2]|0;m=(d&-2)-1|0;n=d&255;o=j}j=(n&1)==0;if(j){p=(n&255)>>>1}else{p=c[b+36>>2]|0}do{if(p>>>0>>0){QA(e,m-p|0,0)|0}else{if(j){a[e+1+m|0]=0;a[g]=m<<1;break}else{a[(c[b+40>>2]|0)+m|0]=0;c[b+36>>2]=m;break}}}while(0);m=a[g]|0;if((m&1)==0){q=(m&255)>>>1;r=e+1|0;s=e+1|0}else{e=c[b+40>>2]|0;q=c[b+36>>2]|0;r=e;s=e}e=b+24|0;c[e>>2]=r;c[b+20>>2]=r;c[b+28>>2]=s+q;if((c[f>>2]&3|0)==0){return}c[e>>2]=r+o;return}function jj(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;i=i+16|0;f=e|0;g=d|0;h=f;a[h]=8;j=f;k=j+1|0;E=761491300;a[k]=E;E=E>>8;a[k+1|0]=E;E=E>>8;a[k+2|0]=E;E=E>>8;a[k+3|0]=E;a[j+5|0]=0;Yo(g,f);if(!((a[h]&1)==0)){iK(c[f+8>>2]|0)}c[d>>2]=35312;DK(d+84|0,0,12)|0;ke(d+96|0);DK(d+144|0,0,12)|0;f=d+156|0;Es(f);c[d+472>>2]=36328;h=d+496|0;j=h;DK(j|0,0,12)|0;DK(d+476|0,0,17)|0;a[h+1|0]=0;a[j]=0;c[d+508>>2]=0;c[d+512>>2]=36328;j=d+536|0;h=j;DK(h|0,0,12)|0;DK(d+516|0,0,17)|0;a[j+1|0]=0;a[h]=0;c[d+548>>2]=0;c[d+552>>2]=36328;h=d+576|0;j=h;DK(j|0,0,12)|0;DK(d+556|0,0,17)|0;a[h+1|0]=0;a[j]=0;c[d+588>>2]=0;c[d+592>>2]=36328;j=d+616|0;h=j;DK(h|0,0,12)|0;DK(d+596|0,0,17)|0;a[j+1|0]=0;a[h]=0;c[d+628>>2]=0;c[d+632>>2]=36328;h=d+656|0;j=h;DK(j|0,0,12)|0;DK(d+636|0,0,17)|0;a[h+1|0]=0;a[j]=0;c[d+668>>2]=0;c[d+672>>2]=36328;j=d+696|0;h=j;DK(h|0,0,12)|0;DK(d+676|0,0,17)|0;a[j+1|0]=0;a[h]=0;c[d+708>>2]=0;c[d+712>>2]=36328;h=d+736|0;j=h;DK(j|0,0,12)|0;DK(d+716|0,0,17)|0;a[h+1|0]=0;a[j]=0;c[d+748>>2]=0;c[d+752>>2]=36328;j=d+776|0;h=j;DK(h|0,0,12)|0;DK(d+756|0,0,17)|0;a[j+1|0]=0;a[h]=0;c[d+788>>2]=0;$o(g);ad[c[(c[d>>2]|0)+156>>2]&2047](d);c[d+820>>2]=0;c[d+828>>2]=-1;c[d+832>>2]=-1;b[d+838>>1]=0;b[d+836>>1]=0;b[d+840>>1]=0;b[d+842>>1]=b[d+138>>1]|0;b[d+844>>1]=b[d+140>>1]|0;c[d+276>>2]=0;a[d+824|0]=0;Ls(f);i=e;return}function kj(d,e){d=d|0;e=e|0;$o(d|0);ad[c[(c[d>>2]|0)+156>>2]&2047](d);c[d+820>>2]=e;c[d+828>>2]=-1;c[d+832>>2]=-1;b[d+838>>1]=0;b[d+836>>1]=0;b[d+840>>1]=0;b[d+842>>1]=b[d+138>>1]|0;b[d+844>>1]=b[d+140>>1]|0;c[d+276>>2]=0;a[d+824|0]=0;Ls(d+156|0);return}function lj(a){a=a|0;mj(a);iK(a);return}function mj(b){b=b|0;var d=0;c[b>>2]=35312;c[b+752>>2]=36328;if(!((a[b+776|0]&1)==0)){iK(c[b+784>>2]|0)}c[b+712>>2]=36328;if(!((a[b+736|0]&1)==0)){iK(c[b+744>>2]|0)}c[b+672>>2]=36328;if(!((a[b+696|0]&1)==0)){iK(c[b+704>>2]|0)}c[b+632>>2]=36328;if(!((a[b+656|0]&1)==0)){iK(c[b+664>>2]|0)}c[b+592>>2]=36328;if(!((a[b+616|0]&1)==0)){iK(c[b+624>>2]|0)}c[b+552>>2]=36328;if(!((a[b+576|0]&1)==0)){iK(c[b+584>>2]|0)}c[b+512>>2]=36328;if(!((a[b+536|0]&1)==0)){iK(c[b+544>>2]|0)}c[b+472>>2]=36328;if(!((a[b+496|0]&1)==0)){iK(c[b+504>>2]|0)}Is(b+156|0);if(!((a[b+144|0]&1)==0)){iK(c[b+152>>2]|0)}me(b+96|0);if((a[b+84|0]&1)==0){d=b|0;ep(d);return}iK(c[b+92>>2]|0);d=b|0;ep(d);return}function nj(a,b){a=a|0;b=b|0;var d=0;d=c[c[b>>2]>>2]|0;b=qd[c[(c[d>>2]|0)+12>>2]&255](d,a)|0;return(b?0:2)|0}function oj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+8|0;e=d|0;f=b|0;b=a|0;bp(f,b);c[e>>2]=f;g=a+8|0;h=c[g>>2]|0;if((h|0)==(c[a+12>>2]|0)){xf(a+4|0,e);ap(b,1);i=d;return}if((h|0)==0){j=0}else{c[h>>2]=f;j=c[g>>2]|0}c[g>>2]=j+4;ap(b,1);i=d;return}function pj(a){a=a|0;return}function qj(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;e=i;i=i+328|0;f=e|0;g=e+120|0;h=e+128|0;j=e+152|0;k=e+160|0;l=e+176|0;m=e+192|0;n=e+216|0;o=e+224|0;p=e+240|0;q=e+256|0;r=e+264|0;s=e+272|0;t=e+280|0;u=e+304|0;v=e+312|0;w=b+824|0;if(!((a[w]|0)==0|d)){i=e;return}Es(f);cp(f|0,b+156|0)|0;zs(f+84|0,b+240|0)|0;Jp(f+104|0,b+260|0)|0;c[g>>2]=0;d=f;x=gK(4)|0;y=(x|0)==0;if(!y){c[x>>2]=d}z=gK(8)|0;A=z;B=z+4|0;C=z+8|0;if((B|0)!=0){c[B>>2]=g}c[A>>2]=d;if(!y){iK(x)}c[j>>2]=117;c[j+4>>2]=0;Op(h,j);Yd();j=b|0;x=b;b=c[(c[x>>2]|0)+32>>2]|0;y=k|0;c[y>>2]=0;d=k+4|0;c[d>>2]=0;g=k+8|0;c[g>>2]=0;B=z;D=gK(8)|0;E=D;c[d>>2]=E;c[y>>2]=E;c[g>>2]=D+8;if((D|0)==0){F=0}else{c[E>>2]=c[A>>2];F=E}E=F+4|0;c[d>>2]=E;if((E|0)==0){G=0}else{c[E>>2]=c[z+4>>2];G=c[d>>2]|0}c[d>>2]=G+4;$c[b&31](j,h,k,0,0);k=c[y>>2]|0;if((k|0)!=0){y=c[d>>2]|0;if((y|0)!=(k|0)){c[d>>2]=y+(~((y-4+(-k|0)|0)>>>2)<<2)}iK(k)}Zd(19176);k=C+(~((z+(4-B)|0)>>>2)<<2)|0;B=l+4|0;c[B>>2]=0;c[l+8>>2]=0;y=l+4|0;d=y;h=l|0;c[h>>2]=d;b=l;do{if((k|0)==(C|0)){G=gK(16)|0;E=G;F=G+8|0;if((F|0)!=0){c[F>>2]=b}F=G+12|0;D=z;g=G;G=c[D+4>>2]|0;c[g>>2]=c[D>>2];c[g+4>>2]=G;if((z|0)==0){H=E;I=F;break}iK(z);H=E;I=F}else{if((k|0)==0){J=0}else{c[k>>2]=b;J=k}H=A;I=J+4|0}}while(0);c[n>>2]=125;c[n+4>>2]=0;Op(m,n);n=c[(c[x>>2]|0)+32>>2]|0;J=o|0;c[J>>2]=0;A=o+4|0;c[A>>2]=0;k=o+8|0;c[k>>2]=0;b=I-H|0;z=b>>2;do{if((z|0)!=0){if(z>>>0>1073741823>>>0){tG(0)}C=gK(b)|0;c[A>>2]=C;c[J>>2]=C;c[k>>2]=C+(z<<2);if((H|0)==(I|0)){break}else{K=H;L=C}do{if((L|0)==0){M=0}else{c[L>>2]=c[K>>2];M=c[A>>2]|0}L=M+4|0;c[A>>2]=L;K=K+4|0;}while((K|0)!=(I|0))}}while(0);$c[n&31](j,m,o,0,0);o=c[J>>2]|0;if((o|0)!=0){J=c[A>>2]|0;if((J|0)!=(o|0)){c[A>>2]=J+(~((J-4+(-o|0)|0)>>>2)<<2)}iK(o)}o=c[h>>2]|0;if((o|0)!=(d|0)){d=p+4|0;h=p+8|0;J=p+4|0;A=p|0;m=u|0;n=u+4|0;I=v|0;K=v+4|0;L=v+8|0;M=p|0;z=o;while(1){o=c[z+20>>2]|0;k=z+24|0;if((o|0)!=(k|0)){b=z+16|0;C=o;while(1){o=c[C+20>>2]|0;F=C+24|0;if((o|0)!=(F|0)){E=C+16|0;G=o;while(1){c[d>>2]=0;c[h>>2]=0;c[A>>2]=J;o=c[b>>2]|0;c[q>>2]=46256;c[(rj(p,q)|0)>>2]=o;o=c[E>>2]|0;c[r>>2]=46304;c[(rj(p,r)|0)>>2]=o;o=c[G+16>>2]|0;c[s>>2]=46224;c[(rj(p,s)|0)>>2]=o;c[m>>2]=129;c[n>>2]=0;Op(t,u);o=c[(c[x>>2]|0)+32>>2]|0;c[I>>2]=0;c[K>>2]=0;c[L>>2]=0;$c[o&31](j,t,v,0,p);o=c[I>>2]|0;if((o|0)!=0){g=c[K>>2]|0;if((g|0)!=(o|0)){c[K>>2]=g+(~((g-4+(-o|0)|0)>>>2)<<2)}iK(o)}Cj(M,c[d>>2]|0);o=c[G+4>>2]|0;if((o|0)==0){g=G|0;while(1){D=c[g+8>>2]|0;if((c[D>>2]|0)==(g|0)){N=D;break}else{g=D}}}else{g=o;while(1){D=c[g>>2]|0;if((D|0)==0){N=g;break}else{g=D}}}if((N|0)==(F|0)){break}else{G=N}}}G=c[C+4>>2]|0;if((G|0)==0){F=C|0;while(1){E=c[F+8>>2]|0;if((c[E>>2]|0)==(F|0)){O=E;break}else{F=E}}}else{F=G;while(1){E=c[F>>2]|0;if((E|0)==0){O=F;break}else{F=E}}}if((O|0)==(k|0)){break}else{C=O}}}C=c[z+4>>2]|0;if((C|0)==0){k=z|0;while(1){b=c[k+8>>2]|0;if((c[b>>2]|0)==(k|0)){P=b;break}else{k=b}}}else{k=C;while(1){b=c[k>>2]|0;if((b|0)==0){P=k;break}else{k=b}}}if((P|0)==(y|0)){break}else{z=P}}}a[w]=1;Bj(l|0,c[B>>2]|0);if((H|0)!=0){iK(H)}Is(f);i=e;return}function rj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;d=i;i=i+8|0;e=d|0;f=a+4|0;g=c[f>>2]|0;do{if((g|0)==0){h=a+4|0;j=h;c[e>>2]=j;k=h|0;l=j}else{j=c[b>>2]|0;h=g;while(1){m=c[h+16>>2]|0;if(j>>>0>>0){n=h|0;o=c[n>>2]|0;if((o|0)==0){p=5;break}else{h=o;continue}}if(!(m>>>0>>0)){p=9;break}q=h+4|0;m=c[q>>2]|0;if((m|0)==0){p=8;break}else{h=m}}if((p|0)==5){c[e>>2]=h;k=n;l=h;break}else if((p|0)==8){c[e>>2]=h;k=q;l=h;break}else if((p|0)==9){c[e>>2]=h;k=e;l=h;break}}}while(0);e=c[k>>2]|0;if((e|0)!=0){r=e;s=r+20|0;i=d;return s|0}e=gK(24)|0;p=e+16|0;if((p|0)!=0){c[p>>2]=c[b>>2]}b=e+20|0;if((b|0)!=0){c[b>>2]=0}b=e;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=l;c[k>>2]=b;l=a|0;p=c[c[l>>2]>>2]|0;if((p|0)==0){t=b}else{c[l>>2]=p;t=c[k>>2]|0}Aj(c[f>>2]|0,t);t=a+8|0;c[t>>2]=(c[t>>2]|0)+1;r=e;s=r+20|0;i=d;return s|0}function sj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,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;b=i;i=i+144|0;d=b|0;e=b+8|0;f=b+16|0;g=b+24|0;h=b+32|0;j=b+56|0;k=b+64|0;l=b+80|0;m=b+88|0;n=b+96|0;o=b+120|0;p=b+128|0;qj(a,0);q=tj(a,0)|0;if((q|0)==0){yc(15904,13520,147,24536)}gq(q);r=q|0;s=np(r,0)|0;if((s|0)==0){yc(12032,13520,151,24536)}t=VJ(s,46112,46096,-1)|0;s=t;if((t|0)==0){yc(12032,13520,151,24536)}u=gK(244)|0;v=u;Du(v);c[e>>2]=v;eq(q,v);c[f>>2]=0;c[g>>2]=(c[a+796>>2]|0)-(c[a+800>>2]|0)-(c[a+804>>2]|0)-(c[u+216>>2]|0)-(c[u+220>>2]|0);u=gK(4)|0;v=(u|0)==0;if(!v){c[u>>2]=t}w=q;x=gK(8)|0;y=x+4|0;if((y|0)!=0){c[y>>2]=w}c[x>>2]=t;if(!v){iK(u)}u=gK(16)|0;v=u;y=u+8|0;z=u+16|0;if((y|0)!=0){c[y>>2]=e}e=u+12|0;y=e;A=x;B=u;u=c[A+4>>2]|0;c[B>>2]=c[A>>2];c[B+4>>2]=u;if((x|0)!=0){iK(x)}x=f;do{if(0){if(0){tG(0)}if(1){if(!0){C=29}}else{C=29}if((C|0)==29){gK(0)|0}if(0){D=0;E=0;F=0;break}D=0;E=0;F=0}else{if((e|0)==0){G=0}else{c[y>>2]=x;G=y}D=v;E=G+4|0;F=z}}while(0);z=g;do{if((E|0)==(F|0)){g=F-D|0;G=g>>2;v=G+1|0;if(v>>>0>1073741823>>>0){tG(0)}if(G>>>0<536870911>>>0){y=g>>1;e=y>>>0>>0?v:y;if((e|0)==0){H=0;I=0}else{J=e;C=44}}else{J=1073741823;C=44}if((C|0)==44){H=gK(J<<2)|0;I=J}e=H+(G<<2)|0;G=H+(I<<2)|0;if((e|0)!=0){c[e>>2]=z}e=H+(v<<2)|0;v=D;BK(H|0,v|0,g)|0;if((D|0)==0){K=H;L=e;M=G;break}iK(v);K=H;L=e;M=G}else{if((E|0)==0){N=0}else{c[E>>2]=z;N=E}K=D;L=N+4|0;M=F}}while(0);c[j>>2]=141;c[j+4>>2]=0;Op(h,j);j=c[(c[t>>2]|0)+32>>2]|0;F=k|0;c[F>>2]=0;N=k+4|0;c[N>>2]=0;D=k+8|0;c[D>>2]=0;E=K;z=L-E|0;H=z>>2;do{if((H|0)!=0){if(H>>>0>1073741823>>>0){tG(0)}I=gK(z)|0;c[N>>2]=I;c[F>>2]=I;c[D>>2]=I+(H<<2);if((K|0)==(L|0)){break}else{O=K;P=I}do{if((P|0)==0){Q=0}else{c[P>>2]=c[O>>2];Q=c[N>>2]|0}P=Q+4|0;c[N>>2]=P;O=O+4|0;}while((O|0)!=(L|0))}}while(0);$c[j&31](t,h,k,0,0);k=c[F>>2]|0;if((k|0)!=0){F=c[N>>2]|0;if((F|0)!=(k|0)){c[N>>2]=F+(~((F-4+(-k|0)|0)>>>2)<<2)}iK(k)}ad[c[(c[t>>2]|0)+4>>2]&2047](s);$d(11120,(s=i,i=i+8|0,c[s>>2]=(c[q+8>>2]|0)-(c[q+4>>2]|0)>>2,s)|0);i=s;qj(a,1);hq(q);t=a|0;np(t,0)|0;if((c[q+16>>2]|0)!=0){yc(10248,13520,176,24536)}k=gK(280)|0;F=k;$p(F);c[l>>2]=F;F=k;bp(F,t);c[d>>2]=F;k=a+8|0;N=c[k>>2]|0;if((N|0)==(c[a+12>>2]|0)){xf(a+4|0,d)}else{if((N|0)==0){R=0}else{c[N>>2]=F;R=c[k>>2]|0}c[k>>2]=R+4}ap(t,1);c[f>>2]=0;c[m>>2]=(c[a+792>>2]|0)-(c[a+808>>2]|0);if((L|0)==(K|0)){S=L}else{S=L+(~((L-4+(-E|0)|0)>>>2)<<2)|0}do{if((S|0)==(M|0)){L=M-E|0;f=L>>2;t=f+1|0;if(t>>>0>1073741823>>>0){tG(0)}if(f>>>0<536870911>>>0){R=L>>1;F=R>>>0>>0?t:R;if((F|0)==0){T=0;U=0}else{V=F;C=105}}else{V=1073741823;C=105}if((C|0)==105){T=gK(V<<2)|0;U=V}F=T+(f<<2)|0;f=T+(U<<2)|0;if((F|0)!=0){c[F>>2]=w}F=T+(t<<2)|0;t=K;BK(T|0,t|0,L)|0;if((K|0)==0){W=T;X=F;Y=f;break}iK(t);W=T;X=F;Y=f}else{if((S|0)==0){Z=0}else{c[S>>2]=w;Z=S}W=K;X=Z+4|0;Y=M}}while(0);M=a;do{if((X|0)==(Y|0)){Z=Y-W|0;K=Z>>2;S=K+1|0;if(S>>>0>1073741823>>>0){tG(0)}if(K>>>0<536870911>>>0){w=Z>>1;T=w>>>0>>0?S:w;if((T|0)==0){_=0;$=0}else{aa=T;C=120}}else{aa=1073741823;C=120}if((C|0)==120){_=gK(aa<<2)|0;$=aa}T=_+(K<<2)|0;K=_+($<<2)|0;if((T|0)!=0){c[T>>2]=M}T=_+(S<<2)|0;S=W;BK(_|0,S|0,Z)|0;if((W|0)==0){ba=_;ca=T;da=K;break}iK(S);ba=_;ca=T;da=K}else{if((X|0)==0){ea=0}else{c[X>>2]=M;ea=X}ba=W;ca=ea+4|0;da=Y}}while(0);Y=l;do{if((ca|0)==(da|0)){l=da-ba|0;ea=l>>2;W=ea+1|0;if(W>>>0>1073741823>>>0){tG(0)}if(ea>>>0<536870911>>>0){X=l>>1;M=X>>>0>>0?W:X;if((M|0)==0){fa=0;ga=0}else{ha=M;C=135}}else{ha=1073741823;C=135}if((C|0)==135){fa=gK(ha<<2)|0;ga=ha}M=fa+(ea<<2)|0;ea=fa+(ga<<2)|0;if((M|0)!=0){c[M>>2]=Y}M=fa+(W<<2)|0;W=ba;BK(fa|0,W|0,l)|0;if((ba|0)==0){ia=fa;ja=M;ka=ea;break}iK(W);ia=fa;ja=M;ka=ea}else{if((ca|0)==0){la=0}else{c[ca>>2]=Y;la=ca}ia=ba;ja=la+4|0;ka=da}}while(0);do{if((ja|0)==(ka|0)){da=ka-ia|0;la=da>>2;ba=la+1|0;if(ba>>>0>1073741823>>>0){tG(0)}if(la>>>0<536870911>>>0){ca=da>>1;Y=ca>>>0>>0?ba:ca;if((Y|0)==0){ma=0;na=0}else{oa=Y;C=150}}else{oa=1073741823;C=150}if((C|0)==150){ma=gK(oa<<2)|0;na=oa}Y=ma+(la<<2)|0;la=ma+(na<<2)|0;if((Y|0)!=0){c[Y>>2]=x}Y=ma+(ba<<2)|0;ba=ia;BK(ma|0,ba|0,da)|0;if((ia|0)==0){pa=ma;qa=Y;ra=la;break}iK(ba);pa=ma;qa=Y;ra=la}else{if((ja|0)==0){sa=0}else{c[ja>>2]=x;sa=ja}pa=ia;qa=sa+4|0;ra=ka}}while(0);ka=m;do{if((qa|0)==(ra|0)){m=ra-pa|0;sa=m>>2;ia=sa+1|0;if(ia>>>0>1073741823>>>0){tG(0)}if(sa>>>0<536870911>>>0){ja=m>>1;x=ja>>>0>>0?ia:ja;if((x|0)==0){ta=0}else{ua=x;C=165}}else{ua=1073741823;C=165}if((C|0)==165){ta=gK(ua<<2)|0}x=ta+(sa<<2)|0;if((x|0)!=0){c[x>>2]=ka}x=ta+(ia<<2)|0;ia=pa;BK(ta|0,ia|0,m)|0;if((pa|0)==0){va=ta;wa=x;break}iK(ia);va=ta;wa=x}else{if((qa|0)==0){xa=0}else{c[qa>>2]=ka;xa=qa}va=pa;wa=xa+4|0}}while(0);c[o>>2]=145;c[o+4>>2]=0;Op(n,o);o=c[(c[q>>2]|0)+32>>2]|0;xa=p|0;c[xa>>2]=0;pa=p+4|0;c[pa>>2]=0;qa=p+8|0;c[qa>>2]=0;ka=wa-va|0;ta=ka>>2;do{if((ta|0)!=0){if(ta>>>0>1073741823>>>0){tG(0)}ua=gK(ka)|0;c[pa>>2]=ua;c[xa>>2]=ua;c[qa>>2]=ua+(ta<<2);if((va|0)==(wa|0)){break}else{ya=va;za=ua}do{if((za|0)==0){Aa=0}else{c[za>>2]=c[ya>>2];Aa=c[pa>>2]|0}za=Aa+4|0;c[pa>>2]=za;ya=ya+4|0;}while((ya|0)!=(wa|0))}}while(0);$c[o&31](r,n,p,0,0);p=c[xa>>2]|0;if((p|0)!=0){xa=c[pa>>2]|0;if((xa|0)!=(p|0)){c[pa>>2]=xa+(~((xa-4+(-p|0)|0)>>>2)<<2)}iK(p)}ad[c[(c[q>>2]|0)+4>>2]&2047](q);$d(9296,(s=i,i=i+8|0,c[s>>2]=(c[k>>2]|0)-(c[a+4>>2]|0)>>2,s)|0);i=s;c[a+276>>2]=0;qj(a,1);if((va|0)==0){i=b;return}iK(va);i=b;return}
-
-
-
-function tj(e,f){e=e|0;f=f|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.0,u=0.0;if(!((f|0)>-1)){h=0;return h|0}if(((c[e+8>>2]|0)-(c[e+4>>2]|0)>>2|0)<=(f|0)){h=0;return h|0}i=e+276|0;j=c[i>>2]|0;do{if((j|0)!=0){if((kp(j|0)|0)!=(f|0)){break}h=c[i>>2]|0;return h|0}}while(0);j=rp(e|0,f)|0;if((j|0)==0){c[i>>2]=0;yc(8696,13520,222,24608);return 0}f=VJ(j,46112,46448,-1)|0;j=f;c[i>>2]=j;if((f|0)==0){yc(8696,13520,222,24608);return 0}i=c[f+132>>2]|0;do{if((i|0)==-1){k=c[e+832>>2]|0;if((k|0)==-1){l=c[e+124>>2]|0;c[e+792>>2]=l;m=c[e+128>>2]|0;c[e+796>>2]=m;n=b[e+132>>1]|0;c[e+800>>2]=n;o=b[e+134>>1]|0;c[e+804>>2]=o;c[e+808>>2]=b[e+136>>1]|0;p=m;q=l;r=n;s=o;break}else{c[e+792>>2]=k;o=c[e+828>>2]|0;c[e+796>>2]=o;n=b[e+836>>1]|0;c[e+800>>2]=n;l=b[e+838>>1]|0;c[e+804>>2]=l;c[e+808>>2]=b[e+840>>1]|0;p=o;q=k;r=n;s=l;break}}else{c[e+792>>2]=i;l=c[f+128>>2]|0;c[e+796>>2]=l;n=b[f+136>>1]|0;c[e+800>>2]=n;k=b[f+138>>1]|0;c[e+804>>2]=k;c[e+808>>2]=b[f+140>>1]|0;p=l;q=i;r=n;s=k}}while(0);if((a[e+104|0]|0)!=0){c[e+796>>2]=q;c[e+792>>2]=p;c[e+800>>2]=s;c[e+804>>2]=r}t=+((d[e+109|0]|0)>>>0);g[e+816>>2]=+((d[e+108|0]|0)>>>0)/100.0;g[e+812>>2]=t/100.0;r=d[e+110|0]|0;c[e+344>>2]=r;s=d[e+111|0]|0;c[e+348>>2]=s;p=d[e+112|0]|0;c[e+352>>2]=p;q=d[e+113|0]|0;c[e+356>>2]=q;i=c[e+100>>2]|0;f=(i|0)/2|0;c[e+292>>2]=f;k=(ia(r,f)|0)/(s|0)|0;c[e+296>>2]=k;n=f<<1;c[e+300>>2]=n;l=k<<1;c[e+304>>2]=l;c[e+308>>2]=f<<3;c[e+312>>2]=k<<3;c[e+316>>2]=f*7|0;c[e+320>>2]=k*7|0;c[e+280>>2]=f;c[e+284>>2]=f*3|0;c[e+288>>2]=f*6|0;c[e+360>>2]=f;f=(i|0)/4|0;c[e+368>>2]=f;c[e+364>>2]=k;c[e+372>>2]=(ia(r,f)|0)/(s|0)|0;f=~~+kb(+(+(i|0)*2048.0/266.0));c[e+324>>2]=f;t=+(f|0);i=~~+W(t*1183.0*.00048828125);c[e+328>>2]=i;c[e+332>>2]=(ia(i,p)|0)/(q|0)|0;k=(ia(r,i)|0)/(s|0)|0;c[e+336>>2]=k;c[e+340>>2]=(ia(p,k)|0)/(q|0)|0;c[e+376>>2]=f;k=(ia(p,f)|0)/(q|0)|0;c[e+380>>2]=k;i=(ia(r,f)|0)/(s|0)|0;c[e+384>>2]=i;o=(ia(p,i)|0)/(q|0)|0;c[e+388>>2]=o;c[e+476>>2]=f;c[e+516>>2]=k;c[e+556>>2]=i;c[e+596>>2]=o;o=c[e+756>>2]|0;c[e+676>>2]=o;c[e+716>>2]=o;u=+(n|0);g[e+456>>2]=u*.25;g[e+464>>2]=u*.125;u=+(l|0);g[e+460>>2]=u*.25;g[e+468>>2]=u*.125;u=+(f|0)*314.0*.00048828125;f=~~+ha(u*.5);c[e+392>>2]=f;c[e+396>>2]=(ia(f,p)|0)/(q|0)|0;l=(ia(r,f)|0)/(s|0)|0;c[e+400>>2]=l;c[e+404>>2]=(ia(p,l)|0)/(q|0)|0;l=~~(u*.72);c[e+408>>2]=l;c[e+412>>2]=(ia(p,l)|0)/(q|0)|0;f=(ia(r,l)|0)/(s|0)|0;c[e+420>>2]=f;c[e+424>>2]=(ia(p,f)|0)/(q|0)|0;u=+kb(+(t*405.0*.00048828125));f=~~(u*.66);c[e+416>>2]=f;c[e+428>>2]=(ia(f,r)|0)/(s|0)|0;f=~~(u*.8*.5);c[e+432>>2]=f;c[e+436>>2]=(ia(f,r)|0)/(s|0)|0;f=~~+kb(+(t*197.0*.00048828125));c[e+440>>2]=f;c[e+444>>2]=(ia(f,p)|0)/(q|0)|0;l=(ia(r,f)|0)/(s|0)|0;c[e+448>>2]=l;c[e+452>>2]=(ia(p,l)|0)/(q|0)|0;h=j;return h|0}function uj(a,b){a=a|0;b=b|0;var d=0;if(!((b|0)>-1)){d=0;return d|0}d=((c[a+8>>2]|0)-(c[a+4>>2]|0)>>2|0)>(b|0);return d|0}function vj(a){a=a|0;return(c[a+8>>2]|0)-(c[a+4>>2]|0)>>2|0}function wj(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;d=i;i=i+32|0;e=d|0;f=d+16|0;g=b+632|0;if((a[65248]&1)==0){h=e;c[h>>2]=c[16312];c[h+4>>2]=c[16313];c[h+8>>2]=c[16314]}else{h=c[16314]|0;j=c[16313]|0;if(j>>>0>4294967279>>>0){GA(0)}if(j>>>0<11>>>0){a[e]=j<<1;k=e+1|0}else{l=j+16&-16;m=gK(l)|0;c[e+8>>2]=m;c[e>>2]=l|1;c[e+4>>2]=j;k=m}BK(k|0,h|0,j)|0;a[k+j|0]=0}j=Xi(g,e)|0;if(!((a[e]&1)==0)){iK(c[e+8>>2]|0)}if(!j){ee(7856,(n=i,i=i+1|0,i=i+7&-8,c[n>>2]=0,n)|0);i=n}j=b+636|0;c[b+476>>2]=c[j>>2];e=b+640|0;c[b+480>>2]=c[e>>2];g=b+644|0;c[b+484>>2]=c[g>>2];k=b+648|0;c[b+488>>2]=c[k>>2];h=b+652|0;a[b+492|0]=a[h]|0;m=b+656|0;NA(b+496|0,m)|0;l=b+668|0;c[b+508>>2]=c[l>>2];c[b+516>>2]=c[j>>2];c[b+520>>2]=c[e>>2];c[b+524>>2]=c[g>>2];c[b+528>>2]=c[k>>2];a[b+532|0]=a[h]|0;NA(b+536|0,m)|0;c[b+548>>2]=c[l>>2];c[b+556>>2]=c[j>>2];c[b+560>>2]=c[e>>2];c[b+564>>2]=c[g>>2];c[b+568>>2]=c[k>>2];a[b+572|0]=a[h]|0;NA(b+576|0,m)|0;c[b+588>>2]=c[l>>2];c[b+596>>2]=c[j>>2];c[b+600>>2]=c[e>>2];c[b+604>>2]=c[g>>2];c[b+608>>2]=c[k>>2];a[b+612|0]=a[h]|0;NA(b+616|0,m)|0;c[b+628>>2]=c[l>>2];l=b+752|0;if((a[65264]&1)==0){m=f;c[m>>2]=c[16316];c[m+4>>2]=c[16317];c[m+8>>2]=c[16318]}else{m=c[16318]|0;h=c[16317]|0;if(h>>>0>4294967279>>>0){GA(0)}if(h>>>0<11>>>0){a[f]=h<<1;o=f+1|0}else{k=h+16&-16;g=gK(k)|0;c[f+8>>2]=g;c[f>>2]=k|1;c[f+4>>2]=h;o=g}BK(o|0,m|0,h)|0;a[o+h|0]=0}h=Xi(l,f)|0;if(!((a[f]&1)==0)){iK(c[f+8>>2]|0)}if(!h){ee(22032,(n=i,i=i+1|0,i=i+7&-8,c[n>>2]=0,n)|0);i=n}n=b+756|0;c[b+676>>2]=c[n>>2];h=b+760|0;c[b+680>>2]=c[h>>2];f=b+764|0;c[b+684>>2]=c[f>>2];l=b+768|0;c[b+688>>2]=c[l>>2];o=b+772|0;a[b+692|0]=a[o]|0;m=b+776|0;NA(b+696|0,m)|0;g=b+788|0;c[b+708>>2]=c[g>>2];c[b+716>>2]=c[n>>2];c[b+720>>2]=c[h>>2];c[b+724>>2]=c[f>>2];c[b+728>>2]=c[l>>2];a[b+732|0]=a[o]|0;NA(b+736|0,m)|0;c[b+748>>2]=c[g>>2];i=d;return}function xj(a){a=a|0;var b=0,d=0;b=c[a+276>>2]|0;if((b|0)==0){yc(8696,13520,386,24544);return 0}else{d=jq(b)|0;return(c[a+808>>2]<<1)+d|0}return 0}function yj(a){a=a|0;var b=0,d=0;b=c[a+276>>2]|0;if((b|0)==0){yc(8696,13520,394,24576);return 0}else{d=kq(b)|0;return(c[a+800>>2]|0)+d+(c[a+804>>2]|0)|0}return 0}function zj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;d=i;i=i+48|0;e=d|0;f=d+24|0;g=d+32|0;h=gK(4)|0;j=h;k=(h|0)==0;if(!k){c[j>>2]=b}c[f>>2]=53;c[f+4>>2]=0;Op(e,f);f=c[(c[a>>2]|0)+32>>2]|0;b=g|0;c[b>>2]=0;l=g+4|0;c[l>>2]=0;m=g+8|0;c[m>>2]=0;n=gK(4)|0;o=n;c[l>>2]=o;c[b>>2]=o;c[m>>2]=n+4;if((n|0)==0){p=0}else{c[o>>2]=c[j>>2];p=o}c[l>>2]=p+4;$c[f&31](a|0,e,g,0,0);g=c[b>>2]|0;if((g|0)!=0){b=c[l>>2]|0;if((b|0)!=(g|0)){c[l>>2]=b+(~((b-4+(-g|0)|0)>>>2)<<2)}iK(g)}if(k){i=d;return 1}iK(h);i=d;return 1}function Aj(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;e=(d|0)==(b|0);a[d+12|0]=e&1;if(e){return}else{f=d}while(1){g=f+8|0;h=c[g>>2]|0;d=h+12|0;if((a[d]|0)!=0){i=37;break}j=h+8|0;k=c[j>>2]|0;e=c[k>>2]|0;if((e|0)==(h|0)){l=c[k+4>>2]|0;if((l|0)==0){i=7;break}m=l+12|0;if((a[m]|0)!=0){i=7;break}a[d]=1;a[k+12|0]=(k|0)==(b|0)|0;a[m]=1}else{if((e|0)==0){i=24;break}m=e+12|0;if((a[m]|0)!=0){i=24;break}a[d]=1;a[k+12|0]=(k|0)==(b|0)|0;a[m]=1}if((k|0)==(b|0)){i=37;break}else{f=k}}if((i|0)==7){if((c[h>>2]|0)==(f|0)){n=h;o=k;p=h}else{b=h+4|0;m=c[b>>2]|0;d=m|0;e=c[d>>2]|0;c[b>>2]=e;if((e|0)==0){q=k}else{c[e+8>>2]=h;q=c[j>>2]|0}e=m+8|0;c[e>>2]=q;q=c[j>>2]|0;b=q|0;if((c[b>>2]|0)==(h|0)){c[b>>2]=m}else{c[q+4>>2]=m}c[d>>2]=h;c[j>>2]=m;d=c[e>>2]|0;n=m;o=d;p=c[d>>2]|0}a[n+12|0]=1;a[o+12|0]=0;n=p+4|0;d=c[n>>2]|0;c[o>>2]=d;if((d|0)!=0){c[d+8>>2]=o}d=o+8|0;c[p+8>>2]=c[d>>2];m=c[d>>2]|0;e=m|0;if((c[e>>2]|0)==(o|0)){c[e>>2]=p}else{c[m+4>>2]=p}c[n>>2]=o;c[d>>2]=p;return}else if((i|0)==24){p=h|0;if((c[p>>2]|0)==(f|0)){d=f+4|0;o=c[d>>2]|0;c[p>>2]=o;if((o|0)==0){r=k}else{c[o+8>>2]=h;r=c[j>>2]|0}c[g>>2]=r;r=c[j>>2]|0;o=r|0;if((c[o>>2]|0)==(h|0)){c[o>>2]=f}else{c[r+4>>2]=f}c[d>>2]=h;c[j>>2]=f;s=f;t=c[g>>2]|0}else{s=h;t=k}a[s+12|0]=1;a[t+12|0]=0;s=t+4|0;k=c[s>>2]|0;h=k|0;g=c[h>>2]|0;c[s>>2]=g;if((g|0)!=0){c[g+8>>2]=t}g=t+8|0;c[k+8>>2]=c[g>>2];s=c[g>>2]|0;f=s|0;if((c[f>>2]|0)==(t|0)){c[f>>2]=k}else{c[s+4>>2]=k}c[h>>2]=t;c[g>>2]=k;return}else if((i|0)==37){return}}function Bj(a,b){a=a|0;b=b|0;if((b|0)==0){return}else{Bj(a,c[b>>2]|0);Bj(a,c[b+4>>2]|0);Bj(b+20|0,c[b+24>>2]|0);iK(b);return}}function Cj(a,b){a=a|0;b=b|0;if((b|0)==0){return}else{Cj(a,c[b>>2]|0);Cj(a,c[b+4>>2]|0);iK(b);return}}function Dj(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+16|0;e=d|0;f=b|0;g=e;a[g]=8;h=e;j=h+1|0;E=762605412;a[j]=E;E=E>>8;a[j+1|0]=E;E=E>>8;a[j+2|0]=E;E=E>>8;a[j+3|0]=E;a[h+5|0]=0;Bm(f,e);if(!((a[g]&1)==0)){iK(c[e+8>>2]|0)}e=b+164|0;vq(e);c[b>>2]=35112;c[b+164>>2]=35284;Cm(f);yq(e);i=d;return}function Ej(a){a=a|0;xq(a+164|0);Em(a|0);iK(a);return}function Fj(a){a=a|0;var b=0;b=a-176+12|0;xq(b+164|0);Em(b);iK(b);return}function Gj(a){a=a|0;xq(a+164|0);Em(a|0);return}function Hj(a){a=a|0;var b=0;b=a-176+12|0;xq(b+164|0);Em(b);return}function Ij(a){a=a|0;Cm(a|0);yq(a+164|0);return}function Jj(a){a=a|0;var b=0;b=a-176+12|0;Cm(b);yq(b+164|0);return}function Kj(b,c){b=b|0;c=c|0;a[b]=6;c=b+1|0;a[c]=a[15816]|0;a[c+1|0]=a[15817]|0;a[c+2|0]=a[15818]|0;a[b+4|0]=0;return}function Lj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=a|0;cx(b);d=a+8|0;Aw(d);e=a+16|0;Gx(e);f=a+24|0;Lx(f);g=a+32|0;Qx(g);Vx(a+44|0);c[a>>2]=35816;c[a+8>>2]=35844;c[a+16>>2]=35860;c[a+24>>2]=35876;c[a+32>>2]=35892;c[a+44>>2]=35908;dx(b);Bw(d);Hx(e);Mx(f);Rx(g);Rx(g);return}function Mj(a){a=a|0;Xx(a+44|0);Tx(a+32|0);Ox(a+24|0);Jx(a+16|0);Dw(a+8|0);fx(a|0);iK(a);return}function Nj(a){a=a|0;Mj(a-52+44|0);return}function Oj(a){a=a|0;Mj(a-52+36|0);return}function Pj(a){a=a|0;Mj(a-52+28|0);return}function Qj(a){a=a|0;Mj(a-52+20|0);return}function Rj(a){a=a|0;Mj(a-52+8|0);return}function Sj(a){a=a|0;Xx(a+44|0);Tx(a+32|0);Ox(a+24|0);Jx(a+16|0);Dw(a+8|0);fx(a|0);return}function Tj(a){a=a|0;var b=0;b=a-52+44|0;Xx(b+44|0);Tx(b+32|0);Ox(b+24|0);Jx(b+16|0);Dw(b+8|0);fx(b);return}function Uj(a){a=a|0;var b=0;b=a-52+36|0;Xx(b+44|0);Tx(b+32|0);Ox(b+24|0);Jx(b+16|0);Dw(b+8|0);fx(b);return}function Vj(a){a=a|0;var b=0;b=a-52+28|0;Xx(b+44|0);Tx(b+32|0);Ox(b+24|0);Jx(b+16|0);Dw(b+8|0);fx(b);return}function Wj(a){a=a|0;var b=0;b=a-52+20|0;Xx(b+44|0);Tx(b+32|0);Ox(b+24|0);Jx(b+16|0);Dw(b+8|0);fx(b);return}function Xj(a){a=a|0;var b=0;b=a-52+8|0;Xx(b+44|0);Tx(b+32|0);Ox(b+24|0);Jx(b+16|0);Dw(b+8|0);fx(b);return}function Yj(a){a=a|0;var b=0;dx(a|0);Bw(a+8|0);Hx(a+16|0);Mx(a+24|0);b=a+32|0;Rx(b);Rx(b);return}function Zj(a,b){a=a|0;b=b|0;c[a+28>>2]=b;return}function _j(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0.0,i=0.0;f=c[b+28>>2]|0;if((f|0)==-2147483647){g=c[b+20>>2]|0}else{g=f}h=+(e|0)*(1024.0/+ac(+(+(g|0)+-2.0)))/+(d|0);d=a[b+4|0]|0;if(!(d<<24>>24>0)){i=h;return+i}i=h*2.0-h/+YI(1.0,d<<24>>24);return+i}function $j(b,d){b=b|0;d=d|0;var e=0;if((d|0)==0){e=0;return e|0}if((a[b+4|0]|0)!=(a[d+4|0]|0)){e=0;return e|0}if((c[b+20>>2]|0)!=(c[d+20>>2]|0)){e=0;return e|0}if((c[b+36>>2]|0)!=(c[d+36>>2]|0)){e=0;return e|0}if((c[b+40>>2]|0)!=(c[d+40>>2]|0)){e=0;return e|0}e=(c[b+48>>2]|0)==(c[d+48>>2]|0);return e|0}function ak(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=d+4|0;g=c[f>>2]|0;h=b|0;c[h>>2]=g;i=d+16|0;j=b;c[j+(c[g-12>>2]|0)>>2]=c[i>>2];g=b+8|0;k=c[d+8>>2]|0;c[h>>2]=k;c[j+(c[k-12>>2]|0)>>2]=c[d+12>>2];c[b+4>>2]=0;k=c[(c[b>>2]|0)-12>>2]|0;jB(j+k|0,g);c[j+(k+72)>>2]=0;c[j+(k+76)>>2]=-1;k=c[f>>2]|0;c[h>>2]=k;c[j+(c[k-12>>2]|0)>>2]=c[i>>2];Wi(g);g=c[d>>2]|0;c[h>>2]=g;c[j+(c[g-12>>2]|0)>>2]=c[d+20>>2];if((e|0)!=0){c[b+108>>2]=e;a[b+112|0]=0;a[b+113|0]=0;return}yc(11880,18536,61,24720)}function bk(a){a=a|0;ek(a,38312);fB(a+116|0);iK(a);return}function ck(a){a=a|0;ek(a,38312);fB(a+116|0);return}function dk(a){a=a|0;var b=0,d=0;b=a;d=c[(c[a>>2]|0)-12>>2]|0;a=b+d|0;ek(a,38312);fB(b+(d+116)|0);iK(a);return}function ek(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=c[b>>2]|0;e=a|0;c[e>>2]=d;f=a;c[f+(c[d-12>>2]|0)>>2]=c[b+20>>2];d=a+72|0;g=c[d>>2]|0;h=a+8|0;do{if((g|0)!=0){i=dd[c[(c[h>>2]|0)+24>>2]&255](h)|0;if((Pa(g|0)|0)==0){c[d>>2]=0;if(!((h|0)==0|(i|0)!=0)){break}}i=c[(c[a>>2]|0)-12>>2]|0;eB(f+i|0,c[f+(i+16)>>2]|4)}}while(0);a=c[b+4>>2]|0;c[e>>2]=a;c[f+(c[a-12>>2]|0)>>2]=c[b+16>>2];Mi(h);return}function fk(a){a=a|0;var b=0,d=0;b=a;d=c[(c[a>>2]|0)-12>>2]|0;ek(b+d|0,38312);fB(b+(d+116)|0);return}function gk(a){a=a|0;return 1}function hk(a,b){a=a|0;b=b|0;return 1}function ik(a,b,d){a=a|0;b=b|0;d=d|0;c[a+152>>2]=25792;ak(a,38340,b);c[a>>2]=38068;c[a+152>>2]=38096;b=a+116|0;DK(b|0,0,24)|0;NA(b,d)|0;return}function jk(b){b=b|0;c[b>>2]=38068;c[b+152>>2]=38096;if(!((a[b+116|0]&1)==0)){iK(c[b+124>>2]|0)}ek(b,38340);fB(b+152|0);iK(b);return}function kk(b){b=b|0;c[b>>2]=38068;c[b+152>>2]=38096;if(!((a[b+116|0]&1)==0)){iK(c[b+124>>2]|0)}ek(b,38340);fB(b+152|0);return}function lk(b){b=b|0;var d=0,e=0,f=0;d=b;e=c[(c[b>>2]|0)-12>>2]|0;b=d+e|0;c[b>>2]=38068;f=d+(e+152)|0;c[f>>2]=38096;if(!((a[d+(e+116)|0]&1)==0)){iK(c[d+(e+124)>>2]|0)}ek(b,38340);fB(f);iK(b);return}function mk(b){b=b|0;var d=0,e=0,f=0;d=b;e=c[(c[b>>2]|0)-12>>2]|0;b=d+e|0;c[b>>2]=38068;f=d+(e+152)|0;c[f>>2]=38096;if(!((a[d+(e+116)|0]&1)==0)){iK(c[d+(e+124)>>2]|0)}ek(b,38340);fB(f);return}function nk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;f=i;g=gK(216)|0;bn(g);h=d+1|0;j=a[e+h|0]|0;if((j<<24>>24|0)==67){c[g+184>>2]=1;k=d+2|0;if((a[e+k|0]|0)==47){a[g+212|0]=1;l=k}else{l=h}m=l+1|0}else if((j<<24>>24|0)==79){j=d+2|0;if((a[e+j|0]|0)==47){ee(11792,(n=i,i=i+1|0,i=i+7&-8,c[n>>2]=0,n)|0);i=n;o=j}else{o=h}c[g+184>>2]=2;m=o+1|0}else{m=h}h=(a[e+m|0]|0)-48|0;if(!(h>>>0<10>>>0)){p=m;q=b+136|0;r=c[q>>2]|0;s=g;qm(r,s,-1);i=f;return p|0}o=m+1|0;j=a[e+o|0]|0;if((j-48|0)>>>0<10>>>0){t=(h*10|0)-48+j|0;u=o}else{t=h;u=m}m=g+172|0;c[m>>2]=t;t=u+1|0;h=a[e+t|0]|0;if((h<<24>>24|0)==45){ee(18384,(n=i,i=i+1|0,i=i+7&-8,c[n>>2]=0,n)|0);i=n;v=15}else if((h<<24>>24|0)==58){v=15}else{w=t;x=1}do{if((v|0)==15){t=u+2|0;h=(a[e+t|0]|0)-48|0;o=u+3|0;j=a[e+o|0]|0;if(!((j-48|0)>>>0<10>>>0)){w=t;x=h;break}w=o;x=(h*10|0)-48+j|0}}while(0);c[m>>2]=x;$d(15680,(n=i,i=i+16|0,c[n>>2]=x,c[n+8>>2]=x,n)|0);i=n;p=w;q=b+136|0;r=c[q>>2]|0;s=g;qm(r,s,-1);i=f;return p|0}function ok(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;f=i;g=d+1|0;h=a[e+g|0]|0;if((h|0)==73){j=d+2|0;if(((a[e+j|0]|0)-48|0)>>>0<10>>>0){k=j;i=f;return k|0}ee(13296,(l=i,i=i+1|0,i=i+7&-8,c[l>>2]=0,l)|0);i=l;k=j;i=f;return k|0}else if((h|0)==77){k=nk(b,g,e)|0;i=f;return k|0}else if((h|0)==78){j=d+2|0;m=a[e+j|0]|0;if(!(((m<<24>>24)-48|0)>>>0<10>>>0)){ee(11008,(l=i,i=i+1|0,i=i+7&-8,c[l>>2]=0,l)|0);i=l;k=j;i=f;return k|0}if(!(m<<24>>24==55)){k=j;i=f;return k|0}a[b+148|0]=1;k=j;i=f;return k|0}else if((h|0)==75){h=d+2|0;d=(a[e+h|0]|0)-48|0;j=d>>>0<10>>>0;m=j?d:0;d=(j?h:g)+1|0;h=a[e+d|0]|0;if(!((h<<24>>24|0)==45|(h<<24>>24|0)==35)){ee(11912,(l=i,i=i+8|0,c[l>>2]=h<<24>>24,l)|0);i=l;k=d;i=f;return k|0}l=gK(172)|0;Pl(l,((m|0)==0)+m|0,h<<24>>24==45?2:1);qm(c[b+136>>2]|0,l,-1);k=d;i=f;return k|0}else{k=g;i=f;return k|0}return 0}function pk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;f=i;g=a[e+d|0]|0;h=g-48|0;j=d+2|0;d=gK(192)|0;Jh(d);k=a[e+j|0]|0;if((k<<24>>24|0)==70){c[d+168>>2]=3;if((g|0)==51){a[d+176|0]=3}else if((g|0)==55){a[d+176|0]=5}else if((g|0)==53){a[d+176|0]=4}else{ee(8568,(l=i,i=i+8|0,c[l>>2]=h,l)|0);i=l}c[b+144>>2]=63-g}else if((k<<24>>24|0)==67){c[d+168>>2]=4;if((g|0)==51){a[d+176|0]=2}else if((g|0)==49){a[d+176|0]=1}else if((g|0)==53){a[d+176|0]=3}else if((g|0)==55){a[d+176|0]=4}else{ee(10112,(l=i,i=i+8|0,c[l>>2]=h,l)|0);i=l}c[b+144>>2]=69-g}else if((k<<24>>24|0)==71){c[d+168>>2]=1;if((g|0)==49){a[d+176|0]=1}else if((g|0)==51){a[d+176|0]=2}else{ee(9184,(l=i,i=i+8|0,c[l>>2]=h,l)|0);i=l}c[b+144>>2]=73-g}else{ee(7656,(l=i,i=i+8|0,c[l>>2]=k<<24>>24,l)|0);i=l;m=0;i=f;return m|0}qm(c[b+136>>2]|0,d,-1);m=j;i=f;return m|0}function qk(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;g=i;h=a[e+d|0]|0;do{if(h<<24>>24==45){j=d+1|0;k=a[e+j|0]|0;if((k-48|0)>>>0<10>>>0){l=j;m=48-k|0;break}else{n=0;i=g;return n|0}}else{do{if(((h<<24>>24)-48|0)>>>0<10>>>0){o=h}else{if(h<<24>>24==82){o=82;break}else{n=0}i=g;return n|0}}while(0);k=(o<<24>>24)-48|0;j=d+1|0;p=a[e+j|0]|0;if(!((p-48|0)>>>0<10>>>0)){l=d;m=k;break}l=j;m=(k*10|0)-48+p|0}}while(0);d=l+1|0;o=a[e+d|0]|0;if((o<<24>>24|0)==35){q=d;r=1}else if((o<<24>>24|0)==45){q=d;r=2}else{h=o<<24>>24==42;q=h?d:l;r=h?9:0}h=q+1|0;l=a[e+h|0]|0;a:do{switch(l|0){case 87:{d=q+2|0;if((a[e+d|0]|0)!=87){s=h;t=2;break a}o=q+3|0;p=(a[e+o|0]|0)==87;s=p?o:d;t=p&1^1;break};case 81:{s=h;t=4;break};case 69:{s=h;t=5;break};case 83:{s=h;t=6;break};case 84:{s=h;t=7;break};case 88:{s=h;t=8;break};case 89:{s=h;t=9;break};case 90:{s=h;t=10;break};case 72:{s=h;t=3;break};default:{ee(21912,(p=i,i=i+8|0,c[p>>2]=l,p)|0);i=p;n=0;i=g;return n|0}}}while(0);l=s+1|0;h=(a[e+l|0]|0)==46;q=h&1;p=h?l:s;s=p+1|0;l=a[e+s|0]|0;if((l<<24>>24|0)==76|(l<<24>>24|0)==74){u=s;v=1}else{u=p;v=0}if(f){f=gK(228)|0;Zr(f);c[f+184>>2]=t;c[f+192>>2]=5;a[f+168|0]=q;qm(c[b+136>>2]|0,f,-1);n=u;i=g;return n|0}f=b+144|0;p=c[f>>2]|0;s=gK(312)|0;l=s;jo(l);c[s+184>>2]=t;c[s+192>>2]=5;c[s+220>>2]=r;r=(c[f>>2]|0)+((p+m|0)>>>0>448>>>0?0:m)|0;a[s+228|0]=a[49136+(r<<3)|0]|0;c[s+236>>2]=c[49140+(r<<3)>>2];a[s+168|0]=q;q=b+136|0;qm(c[q>>2]|0,s,-1);s=b+140|0;b=c[s>>2]|0;r=(b|0)!=0;if((v|0)==0){if(!r){n=u;i=g;return n|0}av(b,l);c[s>>2]=0;n=u;i=g;return n|0}if(r){av(b,l)}b=gK(172)|0;Xu(b);c[s>>2]=b;$u(b,l);qm(c[q>>2]|0,c[s>>2]|0,-1);n=u;i=g;return n|0}function rk(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;d=i;i=i+10208|0;e=d|0;f=d+1e4|0;g=d+10192|0;h=f|0;j=f+8|0;c[h>>2]=47780;k=f+108|0;c[k>>2]=47800;c[f+4>>2]=0;l=f+108|0;jB(l,j);c[f+180>>2]=0;c[f+184>>2]=-1;c[h>>2]=27636;c[f+108>>2]=27656;Wi(j);m=b+116|0;if((a[m]&1)==0){n=m+1|0}else{n=c[b+124>>2]|0}m=f+72|0;do{if((c[m>>2]|0)==0){o=Xb(n|0,18648)|0;c[m>>2]=o;if((o|0)==0){p=13;break}c[f+96>>2]=8;o=f;q=f;eB(q+(c[(c[o>>2]|0)-12>>2]|0)|0,0);r=o;s=q}else{p=13}}while(0);if((p|0)==13){n=f;q=c[(c[n>>2]|0)-12>>2]|0;o=f;eB(o+q|0,c[o+(q+16)>>2]|4);r=n;s=o}a:do{if((c[s+((c[(c[r>>2]|0)-12>>2]|0)+16)>>2]&2|0)==0){o=e|0;WB(f,o,1e4,10)|0;n=c[m>>2]|0;do{if((n|0)==0){p=30}else{q=dd[c[(c[j>>2]|0)+24>>2]&255](j)|0;if((Pa(n|0)|0)!=0){p=30;break}c[m>>2]=0;if((q|0)!=0){p=30}}}while(0);if((p|0)==30){n=c[(c[r>>2]|0)-12>>2]|0;eB(s+n|0,c[s+(n+16)>>2]|4)}n=c[(c[b>>2]|0)+12>>2]|0;q=AK(o|0)|0;if(q>>>0>4294967279>>>0){GA(0);return 0}if(q>>>0<11>>>0){a[g]=q<<1;t=g+1|0}else{u=q+16&-16;v=gK(u)|0;c[g+8>>2]=v;c[g>>2]=u|1;c[g+4>>2]=q;t=v}BK(t|0,o|0,q)|0;a[t+q|0]=0;q=qd[n&255](b,g)|0;if((a[g]&1)==0){w=q;break}iK(c[g+8>>2]|0);w=q}else{q=c[m>>2]|0;do{if((q|0)!=0){n=dd[c[(c[j>>2]|0)+24>>2]&255](j)|0;if((Pa(q|0)|0)!=0){break}c[m>>2]=0;if((n|0)==0){w=0;break a}}}while(0);q=c[(c[r>>2]|0)-12>>2]|0;eB(s+q|0,c[s+(q+16)>>2]|4);w=0}}while(0);c[h>>2]=27636;c[k>>2]=27656;Mi(j);fB(l);i=d;return w|0}function sk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=i;f=a[d]|0;if((f&1)==0){g=(f&255)>>>1;h=d+1|0}else{g=c[d+4>>2]|0;h=c[d+8>>2]|0}d=b+108|0;kj(c[d>>2]|0,0);f=gK(244)|0;Du(f);j=gK(280)|0;$p(j);k=gK(176)|0;wt(k,1);l=b+128|0;c[l>>2]=k;k=gK(628)|0;og(k,1,1);m=b+132|0;c[m>>2]=k;k=gK(400)|0;n=k;hm(n);c[b+136>>2]=n;c[k+160>>2]=1;c[b+140>>2]=0;xt(c[l>>2]|0,n);xg(c[m>>2]|0,c[l>>2]|0);Eu(f,c[m>>2]|0);if((g|0)>0){m=b+148|0;n=0;do{k=a[h+n|0]|0;do{if(k<<24>>24==33){$d(20912,(o=i,i=i+8|0,c[o>>2]=n,o)|0);i=o;o=ok(b,n,h)|0;a[(c[l>>2]|0)+168|0]=a[m]|0;p=(o|0)==0?n:o}else{if(!(((k<<24>>24)-48|0)>>>0<10>>>0|k<<24>>24==45)){if(!(k<<24>>24==82)){p=n;break}o=qk(b,n,h,1)|0;p=(o|0)==0?n:o;break}if((a[h+(n+1)|0]|0)==33){o=pk(b,n,h)|0;p=(o|0)==0?n:o;break}else{o=qk(b,n,h,0)|0;p=(o|0)==0?n:o;break}}}while(0);n=p+1|0;}while((n|0)<(g|0))}g=gK(108)|0;Ss(g);n=gK(116)|0;p=n;bt(p);c[n+104>>2]=1;Ys(g,p);Ms((c[d>>2]|0)+156|0,g);eq(j,f);oj(c[d>>2]|0,j);i=e;return 1}function tk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=i;i=i+32|0;g=f|0;h=f+16|0;c[b+204>>2]=25792;ak(b,38284,d);c[b>>2]=29972;c[b+204>>2]=3e4;d=b+116|0;DK(d|0,0,12)|0;j=b+140|0;k=j;c[j>>2]=k;c[b+144>>2]=k;c[b+148>>2]=0;c[b+192>>2]=0;c[b+196>>2]=0;c[b+200>>2]=0;NA(d,e)|0;d=(c[b+108>>2]|0)+84|0;k=e;if((a[k]&1)==0){j=h;c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];c[j+8>>2]=c[k+8>>2]}else{k=c[e+8>>2]|0;j=c[e+4>>2]|0;if(j>>>0>4294967279>>>0){GA(0)}if(j>>>0<11>>>0){a[h]=j<<1;l=h+1|0}else{e=j+16&-16;m=gK(e)|0;c[h+8>>2]=m;c[h>>2]=e|1;c[h+4>>2]=j;l=m}BK(l|0,k|0,j)|0;a[l+j|0]=0}je(g,h);NA(d,g)|0;if(!((a[g]&1)==0)){iK(c[g+8>>2]|0)}if((a[h]&1)==0){n=b+128|0;c[n>>2]=0;o=b+136|0;c[o>>2]=0;p=b+152|0;q=b+132|0;c[q>>2]=0;r=p;DK(r|0,0,37)|0;i=f;return}iK(c[h+8>>2]|0);n=b+128|0;c[n>>2]=0;o=b+136|0;c[o>>2]=0;p=b+152|0;q=b+132|0;c[q>>2]=0;r=p;DK(r|0,0,37)|0;i=f;return}function uk(a){a=a|0;xk(a,38280);fB(a+204|0);iK(a);return}function vk(a){a=a|0;xk(a,38280);fB(a+204|0);return}function wk(a){a=a|0;var b=0,d=0;b=a;d=c[(c[a>>2]|0)-12>>2]|0;a=b+d|0;xk(a,38280);fB(b+(d+204)|0);iK(a);return}function xk(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=c[d>>2]|0;c[b>>2]=e;c[b+(c[e-12>>2]|0)>>2]=c[d+28>>2];e=c[b+192>>2]|0;if((e|0)!=0){f=b+196|0;g=c[f>>2]|0;if((g|0)!=(e|0)){c[f>>2]=g+(~((g-4+(-e|0)|0)>>>2)<<2)}iK(e)}e=b+140|0;g=b+148|0;do{if((c[g>>2]|0)!=0){f=c[b+144>>2]|0;h=e;i=(c[e>>2]|0)+4|0;j=f|0;c[(c[j>>2]|0)+4>>2]=c[i>>2];c[c[i>>2]>>2]=c[j>>2];c[g>>2]=0;if((f|0)==(h|0)){break}else{k=f}while(1){f=c[k+4>>2]|0;iK(k);if((f|0)==(h|0)){break}else{k=f}}}}while(0);if((a[b+116|0]&1)==0){l=b;m=d+4|0;ek(l,m);return}iK(c[b+124>>2]|0);l=b;m=d+4|0;ek(l,m);return}function yk(a){a=a|0;var b=0,d=0;b=a;d=c[(c[a>>2]|0)-12>>2]|0;xk(b+d|0,38280);fB(b+(d+204)|0);return}function zk(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;d=i;i=i+232|0;e=d|0;f=d+200|0;g=d+216|0;h=d+224|0;kj(c[b+108>>2]|0,0);Zv(e);j=b+116|0;if((a[j]&1)==0){k=j+1|0}else{k=c[b+124>>2]|0}bw(f,e,k,116,0);if(Yv(f)|0){Rv(g,e|0);c[h>>2]=c[g>>2];Ak(b,h)|0;l=1}else{l=0}_v(e);i=d;return l|0}function Ak(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;e=i;i=i+200|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=e+32|0;l=e+40|0;m=e+48|0;n=e+56|0;o=e+64|0;p=e+72|0;q=e+80|0;r=e+88|0;s=e+104|0;t=e+112|0;u=e+120|0;v=e+128|0;w=e+136|0;x=e+144|0;y=e+152|0;z=e+160|0;A=e+168|0;B=e+176|0;C=e+184|0;Hv(f);if(!(Lv(d)|0)){Kv(g,d,18152);c[f>>2]=c[g>>2];Iv(f)|0}Hv(h);Hv(j);Hv(k);Hv(l);if(!(Lv(d)|0)){Kv(m,d,10992);c[h>>2]=c[m>>2]}if(!(Lv(h)|0)){Kv(n,h,10080);c[j>>2]=c[n>>2]}if(!(Lv(j)|0)){Kv(o,j,9160);c[k>>2]=c[o>>2]}if(!(Lv(k)|0)){Kv(p,k,8552);c[l>>2]=c[p>>2]}do{if(Lv(l)|0){p=gK(280)|0;$p(p);o=b+128|0;c[o>>2]=p;p=gK(244)|0;Du(p);c[b+132>>2]=p;eq(c[o>>2]|0,p);oj(c[b+108>>2]|0,c[o>>2]|0);Hv(y);Rv(z,k);o=y|0;c[o>>2]=c[z>>2];if((Iv(y)|0)==0){break}p=A|0;j=B|0;do{c[p>>2]=c[o>>2];Fk(b,A)|0;Pv(B,y);c[o>>2]=c[j>>2];}while((Iv(y)|0)!=0)}else{Nv(q,l,7640);if((Bv(q)|0)!=0){Nv(s,l,7640);j=Ev(s)|0;o=AK(j|0)|0;if(o>>>0>4294967279>>>0){GA(0);return 0}if(o>>>0<11>>>0){a[r]=o<<1;D=r+1|0}else{p=o+16&-16;n=gK(p)|0;c[r+8>>2]=n;c[r>>2]=p|1;c[r+4>>2]=o;D=n}BK(D|0,j|0,o)|0;a[D+o|0]=0;o=Ck(0,r)|0;if(!((a[r]&1)==0)){iK(c[r+8>>2]|0)}kj(c[b+108>>2]|0,o)}Kv(t,l,15040);if((Iv(t)|0)==0){break}a[b+112|0]=1;Kv(u,l,15040);o=f|0;c[o>>2]=c[u>>2];if((Iv(f)|0)==0){break}j=b+128|0;n=v|0;p=w|0;h=b+108|0;m=x|0;do{d=gK(280)|0;g=d;$p(g);c[j>>2]=g;c[n>>2]=c[o>>2];Dk(0,v,d);c[p>>2]=c[o>>2];do{if(Ek(b,w)|0){oj(c[h>>2]|0,c[j>>2]|0)}else{d=c[j>>2]|0;if((d|0)==0){break}ad[c[(c[d>>2]|0)+4>>2]&2047](d)}}while(0);c[j>>2]=0;Ov(x,f,15040);c[o>>2]=c[m>>2];}while((Iv(f)|0)!=0)}}while(0);f=c[b+192>>2]|0;x=b+196|0;if((f|0)==(c[x>>2]|0)){i=e;return 1}b=C;w=C+1|0;v=C+8|0;u=C|0;l=C+4|0;C=f;while(1){f=c[C>>2]|0;t=f+32|0;if((a[t]&1)==0){c[b>>2]=c[t>>2];c[b+4>>2]=c[t+4>>2];c[b+8>>2]=c[t+8>>2];E=a[b]|0}else{t=c[f+40>>2]|0;r=c[f+36>>2]|0;if(r>>>0>4294967279>>>0){F=46;break}if(r>>>0<11>>>0){f=r<<1&255;a[b]=f;G=w;H=f}else{f=r+16&-16;D=gK(f)|0;c[v>>2]=D;s=f|1;c[u>>2]=s;c[l>>2]=r;G=D;H=s&255}BK(G|0,t|0,r)|0;a[G+r|0]=0;E=H}ee(8080,(r=i,i=i+8|0,c[r>>2]=(E&1)==0?w:c[v>>2]|0,r)|0);i=r;if(!((a[b]&1)==0)){iK(c[v>>2]|0)}r=C+4|0;if((r|0)==(c[x>>2]|0)){F=57;break}else{C=r}}if((F|0)==46){GA(0);return 0}else if((F|0)==57){i=e;return 1}return 0}function Bk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;i=i+232|0;f=e|0;g=e+216|0;h=e+224|0;kj(c[b+108>>2]|0,0);Zv(f);if((a[d]&1)==0){j=d+1|0}else{j=c[d+8>>2]|0}aw(e+200|0,f,j,116);Rv(g,f|0);c[h>>2]=c[g>>2];Ak(b,h)|0;_v(f);i=e;return 1}function Ck(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>3>>>0;do{if((xK(g,8752,j?3:h)|0)==0){if(h>>>0>2>>>0&(j^1)){k=0}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}j=m>>>0>9>>>0;do{if((xK(l,8680,j?9:m)|0)==0){if(m>>>0>8>>>0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0;o=(e&255)>>>1}else{n=c[d+8>>2]|0;o=c[d+4>>2]|0}e=o>>>0>13>>>0;do{if((xK(n,8608,e?13:o)|0)==0){if(o>>>0>12>>>0&(e^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){p=d+1|0}else{p=c[d+8>>2]|0}ee(18344,(d=i,i=i+8|0,c[d>>2]=p,d)|0);i=d;k=0;i=b;return k|0}function Dk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;b=i;i=i+32|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=b|0;g=b+8|0;h=b+24|0;Nv(f,d,14856);if(Dv(f)|0){i=b;return}Nv(h,d,14856);d=Ev(h)|0;h=AK(d|0)|0;if(h>>>0>4294967279>>>0){GA(0)}if(h>>>0<11>>>0){a[g]=h<<1;j=g+1|0}else{f=h+16&-16;k=gK(f)|0;c[g+8>>2]=k;c[g>>2]=f|1;c[g+4>>2]=h;j=k}BK(j|0,d|0,h)|0;a[j+h|0]=0;gp(e,g);if((a[g]&1)==0){i=b;return}iK(c[g+8>>2]|0);i=b;return}function Ek(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,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=i;i=i+136|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=e+32|0;l=e+40|0;m=e+48|0;n=e+56|0;o=e+64|0;p=e+72|0;q=e+80|0;r=e+88|0;s=e+96|0;t=e+104|0;u=e+112|0;v=e+120|0;w=e+128|0;x=a+128|0;if((c[x>>2]|0)==0){yc(7928,18552,738,23176);return 0}Nv(f,d,14312);if((Bv(f)|0)!=0){Nv(g,d,14312);f=jc(Ev(g)|0)|0;c[(c[x>>2]|0)+132>>2]=f}Nv(h,d,14696);if((Bv(h)|0)!=0){Nv(j,d,14696);h=jc(Ev(j)|0)|0;c[(c[x>>2]|0)+128>>2]=h}Nv(k,d,14112);if((Bv(k)|0)!=0){Nv(l,d,14112);k=(jc(Ev(l)|0)|0)&65535;b[(c[x>>2]|0)+136>>1]=k}Nv(m,d,13792);if((Bv(m)|0)!=0){Nv(n,d,13792);m=(jc(Ev(n)|0)|0)&65535;b[(c[x>>2]|0)+138>>1]=m}Nv(o,d,7840);if((Bv(o)|0)!=0){Nv(p,d,7840);o=(jc(Ev(p)|0)|0)&65535;b[(c[x>>2]|0)+140>>1]=o}Nv(q,d,13536);if((Bv(q)|0)!=0){q=(c[x>>2]|0)+144|0;Nv(r,d,13536);OA(q,Ev(r)|0)|0}Hv(s);Kv(t,d,12968);d=s|0;c[d>>2]=c[t>>2];if((Iv(s)|0)==0){y=c[x>>2]|0;z=y+8|0;A=c[z>>2]|0;B=y+4|0;C=c[B>>2]|0;D=A;E=C;F=D-E|0;G=(F|0)>0;i=e;return G|0}t=a+132|0;r=u|0;q=v|0;o=w|0;do{p=gK(244)|0;m=p;Du(m);c[t>>2]=m;c[r>>2]=c[d>>2];Dk(0,u,p);c[q>>2]=c[d>>2];do{if(Gk(a,v)|0){eq(c[x>>2]|0,c[t>>2]|0)}else{p=c[t>>2]|0;if((p|0)==0){break}ad[c[(c[p>>2]|0)+4>>2]&2047](p)}}while(0);c[t>>2]=0;Ov(w,s,12968);c[d>>2]=c[o>>2];}while((Iv(s)|0)!=0);y=c[x>>2]|0;z=y+8|0;A=c[z>>2]|0;B=y+4|0;C=c[B>>2]|0;D=A;E=C;F=D-E|0;G=(F|0)>0;i=e;return G|0}function Fk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,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,Ia=0,Ja=0;e=i;i=i+320|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+16|0;h=e+24|0;j=e+32|0;k=e+40|0;l=e+48|0;m=e+64|0;n=e+72|0;o=e+80|0;p=e+88|0;q=e+96|0;r=e+112|0;s=e+120|0;t=e+128|0;u=e+144|0;v=e+152|0;w=e+160|0;x=e+168|0;y=e+176|0;z=e+192|0;A=e+200|0;B=e+216|0;C=e+224|0;D=e+240|0;E=e+256|0;F=e+272|0;G=e+280|0;H=e+288|0;I=e+304|0;J=e+312|0;K=Mv(d)|0;L=AK(K|0)|0;if(L>>>0>4294967279>>>0){GA(0);return 0}if(L>>>0<11>>>0){M=L<<1&255;a[f]=M;N=f+1|0;O=M}else{M=L+16&-16;P=gK(M)|0;c[f+8>>2]=P;Q=M|1;c[f>>2]=Q;c[f+4>>2]=L;N=P;O=Q&255}BK(N|0,K|0,L)|0;a[N+L|0]=0;if((O&1)==0){R=f+1|0;S=(O&255)>>>1}else{R=c[f+8>>2]|0;S=c[f+4>>2]|0}L=S>>>0>5>>>0;N=xK(R,19896,L?5:S)|0;if((N|0)==0){T=S>>>0<5>>>0?-1:L&1}else{T=N}if(!((O&1)==0)){iK(c[f+8>>2]|0)}do{if((T|0)==0){Hv(g);Rv(h,d);f=g|0;c[f>>2]=c[h>>2];if((Iv(g)|0)==0){break}O=j|0;N=k|0;do{c[O>>2]=c[f>>2];Fk(b,j)|0;Pv(k,g);c[f>>2]=c[N>>2];}while((Iv(g)|0)!=0)}}while(0);g=Mv(d)|0;k=AK(g|0)|0;if(k>>>0>4294967279>>>0){GA(0);return 0}if(k>>>0<11>>>0){j=k<<1&255;a[l]=j;U=l+1|0;V=j}else{j=k+16&-16;h=gK(j)|0;c[l+8>>2]=h;T=j|1;c[l>>2]=T;c[l+4>>2]=k;U=h;V=T&255}BK(U|0,g|0,k)|0;a[U+k|0]=0;if((V&1)==0){W=l+1|0;X=(V&255)>>>1}else{W=c[l+8>>2]|0;X=c[l+4>>2]|0}k=X>>>0>7>>>0;U=xK(W,19888,k?7:X)|0;if((U|0)==0){Y=X>>>0<7>>>0?-1:k&1}else{Y=U}if(!((V&1)==0)){iK(c[l+8>>2]|0)}if((Y|0)==0){Hv(m);Rv(n,d);Y=m|0;c[Y>>2]=c[n>>2];if((Iv(m)|0)==0){i=e;return 1}n=o|0;l=p|0;do{c[n>>2]=c[Y>>2];Fk(b,o)|0;Pv(p,m);c[Y>>2]=c[l>>2];}while((Iv(m)|0)!=0);i=e;return 1}m=Mv(d)|0;l=AK(m|0)|0;if(l>>>0>4294967279>>>0){GA(0);return 0}if(l>>>0<11>>>0){Y=l<<1&255;a[q]=Y;Z=q+1|0;_=Y}else{Y=l+16&-16;p=gK(Y)|0;c[q+8>>2]=p;o=Y|1;c[q>>2]=o;c[q+4>>2]=l;Z=p;_=o&255}BK(Z|0,m|0,l)|0;a[Z+l|0]=0;if((_&1)==0){$=q+1|0;aa=(_&255)>>>1}else{$=c[q+8>>2]|0;aa=c[q+4>>2]|0}l=aa>>>0>7>>>0;Z=xK($,11704,l?7:aa)|0;if((Z|0)==0){ba=aa>>>0<7>>>0?-1:l&1}else{ba=Z}if(!((_&1)==0)){iK(c[q+8>>2]|0)}if((ba|0)==0){$d(11704,(ca=i,i=i+1|0,i=i+7&-8,c[ca>>2]=0,ca)|0);i=ca;ba=gK(628)|0;q=ba;og(q,1,-1);_=b+156|0;c[_>>2]=q;q=d|0;c[r>>2]=c[q>>2];Dk(0,r,ba);c[s>>2]=c[q>>2];do{if(Jk(b,s)|0){Eu(c[b+132>>2]|0,c[_>>2]|0)}else{q=c[_>>2]|0;if((q|0)==0){break}ad[c[(c[q>>2]|0)+4>>2]&2047](q)}}while(0);c[_>>2]=0;i=e;return 1}_=Mv(d)|0;s=AK(_|0)|0;if(s>>>0>4294967279>>>0){GA(0);return 0}if(s>>>0<11>>>0){q=s<<1&255;a[t]=q;da=t+1|0;ea=q}else{q=s+16&-16;ba=gK(q)|0;c[t+8>>2]=ba;r=q|1;c[t>>2]=r;c[t+4>>2]=s;da=ba;ea=r&255}BK(da|0,_|0,s)|0;a[da+s|0]=0;if((ea&1)==0){fa=t+1|0;ga=(ea&255)>>>1}else{fa=c[t+8>>2]|0;ga=c[t+4>>2]|0}s=ga>>>0>5>>>0;da=xK(fa,21608,s?5:ga)|0;if((da|0)==0){ha=ga>>>0<5>>>0?-1:s&1}else{ha=da}if(!((ea&1)==0)){iK(c[t+8>>2]|0)}if((ha|0)==0){Kv(u,d,9736);Sv(v,u,19784);Nv(w,d,19784);Fv(v,Ev(w)|0)|0;c[x>>2]=c[u>>2];if(!(Ok(b,x)|0)){i=e;return 1}_d(19640,(ca=i,i=i+1|0,i=i+7&-8,c[ca>>2]=0,ca)|0);i=ca;i=e;return 1}x=Mv(d)|0;u=AK(x|0)|0;if(u>>>0>4294967279>>>0){GA(0);return 0}if(u>>>0<11>>>0){w=u<<1&255;a[y]=w;ia=y+1|0;ja=w}else{w=u+16&-16;v=gK(w)|0;c[y+8>>2]=v;ha=w|1;c[y>>2]=ha;c[y+4>>2]=u;ia=v;ja=ha&255}BK(ia|0,x|0,u)|0;a[ia+u|0]=0;if((ja&1)==0){ka=y+1|0;la=(ja&255)>>>1}else{ka=c[y+8>>2]|0;la=c[y+4>>2]|0}u=la>>>0>10>>>0;ia=xK(ka,19624,u?10:la)|0;if((ia|0)==0){ma=la>>>0<10>>>0?-1:u&1}else{ma=ia}if(!((ja&1)==0)){iK(c[y+8>>2]|0)}if((ma|0)==0){c[z>>2]=c[d>>2];if(Zk(b,z)|0){i=e;return 1}ee(19456,(ca=i,i=i+1|0,i=i+7&-8,c[ca>>2]=0,ca)|0);i=ca;i=e;return 1}z=Mv(d)|0;ma=AK(z|0)|0;if(ma>>>0>4294967279>>>0){GA(0);return 0}if(ma>>>0<11>>>0){y=ma<<1&255;a[A]=y;na=A+1|0;oa=y}else{y=ma+16&-16;ja=gK(y)|0;c[A+8>>2]=ja;ia=y|1;c[A>>2]=ia;c[A+4>>2]=ma;na=ja;oa=ia&255}BK(na|0,z|0,ma)|0;a[na+ma|0]=0;if((oa&1)==0){pa=A+1|0;qa=(oa&255)>>>1}else{pa=c[A+8>>2]|0;qa=c[A+4>>2]|0}ma=qa>>>0>4>>>0;na=xK(pa,19440,ma?4:qa)|0;if((na|0)==0){ra=qa>>>0<4>>>0?-1:ma&1}else{ra=na}if(!((oa&1)==0)){iK(c[A+8>>2]|0)}if((ra|0)==0){c[B>>2]=c[d>>2];if(_k(b,B)|0){i=e;return 1}ee(19360,(ca=i,i=i+1|0,i=i+7&-8,c[ca>>2]=0,ca)|0);i=ca;i=e;return 1}B=Mv(d)|0;ra=AK(B|0)|0;if(ra>>>0>4294967279>>>0){GA(0);return 0}if(ra>>>0<11>>>0){A=ra<<1&255;a[C]=A;sa=C+1|0;ta=A}else{A=ra+16&-16;oa=gK(A)|0;c[C+8>>2]=oa;na=A|1;c[C>>2]=na;c[C+4>>2]=ra;sa=oa;ta=na&255}BK(sa|0,B|0,ra)|0;a[sa+ra|0]=0;if((ta&1)==0){ua=C+1|0;va=(ta&255)>>>1}else{ua=c[C+8>>2]|0;va=c[C+4>>2]|0}ra=va>>>0>2>>>0;do{if((xK(ua,19216,ra?2:va)|0)==0){if(!(va>>>0>1>>>0&(ra^1))){wa=119;break}sa=b+132|0;B=c[sa>>2]|0;if(((c[B+8>>2]|0)-(c[B+4>>2]|0)|0)<=0){if((ta&1)==0){break}iK(c[C+8>>2]|0);break}B=(a[b+113|0]|0)==0;if(!((ta&1)==0)){iK(c[C+8>>2]|0)}if(!B){break}$d(19216,(ca=i,i=i+1|0,i=i+7&-8,c[ca>>2]=0,ca)|0);i=ca;a[b+112|0]=1;B=gK(280)|0;$p(B);na=b+128|0;c[na>>2]=B;B=gK(244)|0;Du(B);c[sa>>2]=B;eq(c[na>>2]|0,B);oj(c[b+108>>2]|0,c[na>>2]|0);i=e;return 1}else{wa=119}}while(0);do{if((wa|0)==119){if((ta&1)==0){break}iK(c[C+8>>2]|0)}}while(0);C=Mv(d)|0;ta=AK(C|0)|0;if(ta>>>0>4294967279>>>0){GA(0);return 0}if(ta>>>0<11>>>0){ra=ta<<1&255;a[D]=ra;xa=D+1|0;ya=ra}else{ra=ta+16&-16;va=gK(ra)|0;c[D+8>>2]=va;ua=ra|1;c[D>>2]=ua;c[D+4>>2]=ta;xa=va;ya=ua&255}BK(xa|0,C|0,ta)|0;a[xa+ta|0]=0;if((ya&1)==0){za=D+1|0;Aa=(ya&255)>>>1}else{za=c[D+8>>2]|0;Aa=c[D+4>>2]|0}ta=Aa>>>0>2>>>0;do{if((xK(za,19168,ta?2:Aa)|0)==0){if(!(Aa>>>0>1>>>0&(ta^1))){wa=140;break}xa=b+128|0;C=c[xa>>2]|0;if(((c[C+8>>2]|0)-(c[C+4>>2]|0)|0)<=0){if((ya&1)==0){break}iK(c[D+8>>2]|0);break}C=(a[b+113|0]|0)==0;if(!((ya&1)==0)){iK(c[D+8>>2]|0)}if(!C){break}$d(19168,(ca=i,i=i+1|0,i=i+7&-8,c[ca>>2]=0,ca)|0);i=ca;a[b+112|0]=1;C=gK(244)|0;Du(C);c[b+132>>2]=C;eq(c[xa>>2]|0,C);i=e;return 1}else{wa=140}}while(0);do{if((wa|0)==140){if((ya&1)==0){break}iK(c[D+8>>2]|0)}}while(0);D=Mv(d)|0;ya=AK(D|0)|0;if(ya>>>0>4294967279>>>0){GA(0);return 0}if(ya>>>0<11>>>0){ta=ya<<1&255;a[E]=ta;Ba=E+1|0;Ca=ta}else{ta=ya+16&-16;Aa=gK(ta)|0;c[E+8>>2]=Aa;za=ta|1;c[E>>2]=za;c[E+4>>2]=ya;Ba=Aa;Ca=za&255}BK(Ba|0,D|0,ya)|0;a[Ba+ya|0]=0;if((Ca&1)==0){Da=E+1|0;Ea=(Ca&255)>>>1}else{Da=c[E+8>>2]|0;Ea=c[E+4>>2]|0}ya=Ea>>>0>8>>>0;do{if((xK(Da,12576,ya?8:Ea)|0)==0){if(!(Ea>>>0>7>>>0&(ya^1))){wa=156;break}Ba=b+188|0;D=(a[Ba]|0)==0;if(!((Ca&1)==0)){iK(c[E+8>>2]|0)}if(!D){break}$d(19136,(ca=i,i=i+1|0,i=i+7&-8,c[ca>>2]=0,ca)|0);i=ca;D=(c[b+108>>2]|0)+156|0;c[b+136>>2]=D;za=d|0;c[F>>2]=c[za>>2];Dk(0,F,D|0);c[G>>2]=c[za>>2];Hk(b,G)|0;a[Ba]=1;i=e;return 1}else{wa=156}}while(0);do{if((wa|0)==156){if((Ca&1)==0){break}iK(c[E+8>>2]|0)}}while(0);E=Mv(d)|0;Ca=AK(E|0)|0;if(Ca>>>0>4294967279>>>0){GA(0);return 0}if(Ca>>>0<11>>>0){wa=Ca<<1&255;a[H]=wa;Fa=H+1|0;Ga=wa}else{wa=Ca+16&-16;G=gK(wa)|0;c[H+8>>2]=G;F=wa|1;c[H>>2]=F;c[H+4>>2]=Ca;Fa=G;Ga=F&255}BK(Fa|0,E|0,Ca)|0;a[Fa+Ca|0]=0;if((Ga&1)==0){Ha=H+1|0;Ia=(Ga&255)>>>1}else{Ha=c[H+8>>2]|0;Ia=c[H+4>>2]|0}Ca=Ia>>>0>8>>>0;Fa=xK(Ha,12576,Ca?8:Ia)|0;if((Fa|0)==0){Ja=Ia>>>0<8>>>0?-1:Ca&1}else{Ja=Fa}if(!((Ga&1)==0)){iK(c[H+8>>2]|0)}if((Ja|0)!=0){Ja=Mv(d)|0;ee(19088,(ca=i,i=i+8|0,c[ca>>2]=Ja,ca)|0);i=ca;i=e;return 1}$d(19112,(ca=i,i=i+1|0,i=i+7&-8,c[ca>>2]=0,ca)|0);i=ca;ca=gK(120)|0;Ja=ca;Es(Ja);H=b+136|0;c[H>>2]=Ja;Ja=d|0;c[I>>2]=c[Ja>>2];Dk(0,I,ca);c[J>>2]=c[Ja>>2];Hk(b,J)|0;Ju(c[b+132>>2]|0,c[H>>2]|0);c[H>>2]=0;i=e;return 1}function Gk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;e=i;i=i+168|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=e+32|0;l=e+40|0;m=e+48|0;n=e+56|0;o=e+64|0;p=e+80|0;q=e+88|0;r=e+96|0;s=e+104|0;t=e+112|0;u=e+120|0;v=e+128|0;w=e+136|0;x=e+144|0;y=e+152|0;z=e+160|0;A=b+132|0;if((c[A>>2]|0)==0){yc(7704,18552,777,23128);return 0}B=b+156|0;if((c[B>>2]|0)!=0){yc(7584,18552,778,23128);return 0}C=b+160|0;if((c[C>>2]|0)!=0){yc(7520,18552,779,23128);return 0}Nv(f,d,12864);if((Bv(f)|0)!=0){Nv(g,d,12864);f=jc(Ev(g)|0)|0;c[(c[A>>2]|0)+216>>2]=f}Nv(h,d,12808);if((Bv(h)|0)!=0){Nv(j,d,12808);h=jc(Ev(j)|0)|0;c[(c[A>>2]|0)+220>>2]=h}Nv(k,d,12696);if((Bv(k)|0)!=0){Nv(l,d,12696);k=jc(Ev(l)|0)|0;c[(c[A>>2]|0)+224>>2]=k}Hv(m);k=b+188|0;do{if((a[k]|0)==0){Rv(n,d);l=m|0;c[l>>2]=c[n>>2];if((Iv(m)|0)==0){break}h=Mv(m)|0;j=AK(h|0)|0;if(j>>>0>4294967279>>>0){GA(0);return 0}if(j>>>0<11>>>0){f=j<<1&255;a[o]=f;D=o+1|0;E=f}else{f=j+16&-16;g=gK(f)|0;c[o+8>>2]=g;F=f|1;c[o>>2]=F;c[o+4>>2]=j;D=g;E=F&255}BK(D|0,h|0,j)|0;a[D+j|0]=0;if((E&1)==0){G=o+1|0;H=(E&255)>>>1}else{G=c[o+8>>2]|0;H=c[o+4>>2]|0}j=H>>>0>8>>>0;h=xK(G,12576,j?8:H)|0;if((h|0)==0){I=H>>>0<8>>>0?-1:j&1}else{I=h}h=(I|0)==0;if((E&1)==0){if(!h){break}}else{iK(c[o+8>>2]|0);if(!h){break}}$d(12576,(h=i,i=i+1|0,i=i+7&-8,c[h>>2]=0,h)|0);i=h;h=(c[b+108>>2]|0)+156|0;c[b+136>>2]=h;c[p>>2]=c[l>>2];Dk(0,p,h|0);c[q>>2]=c[l>>2];Hk(b,q)|0;a[k]=1}}while(0);Kv(r,d,11616);if((Iv(r)|0)==0){Kv(w,d,11704);r=m|0;c[r>>2]=c[w>>2];if((Iv(m)|0)==0){J=c[A>>2]|0;K=J+8|0;L=c[K>>2]|0;M=J+4|0;N=c[M>>2]|0;O=L;P=N;Q=O-P|0;R=(Q|0)>0;i=e;return R|0}w=x|0;k=y|0;q=z|0;do{p=gK(628)|0;o=p;og(o,1,-1);c[B>>2]=o;c[w>>2]=c[r>>2];Dk(0,x,p);c[k>>2]=c[r>>2];do{if(Jk(b,y)|0){Eu(c[A>>2]|0,c[B>>2]|0)}else{p=c[B>>2]|0;if((p|0)==0){break}ad[c[(c[p>>2]|0)+4>>2]&2047](p)}}while(0);c[B>>2]=0;Ov(z,m,11704);c[r>>2]=c[q>>2];}while((Iv(m)|0)!=0);J=c[A>>2]|0;K=J+8|0;L=c[K>>2]|0;M=J+4|0;N=c[M>>2]|0;O=L;P=N;Q=O-P|0;R=(Q|0)>0;i=e;return R|0}if((c[B>>2]|0)==0){q=gK(628)|0;og(q,0,-1);c[B>>2]=q}Kv(s,d,11616);d=m|0;c[d>>2]=c[s>>2];if((Iv(m)|0)!=0){s=t|0;q=u|0;r=v|0;do{z=gK(176)|0;y=z;wt(y,-1);c[C>>2]=y;c[s>>2]=c[d>>2];Dk(0,t,z);c[q>>2]=c[d>>2];do{if(Ik(b,u)|0){xg(c[B>>2]|0,c[C>>2]|0)}else{z=c[C>>2]|0;if((z|0)==0){break}ad[c[(c[z>>2]|0)+4>>2]&2047](z)}}while(0);c[C>>2]=0;Ov(v,m,11616);c[d>>2]=c[r>>2];}while((Iv(m)|0)!=0)}m=c[B>>2]|0;do{if(((c[m+8>>2]|0)-(c[m+4>>2]|0)|0)>0){Eu(c[A>>2]|0,m)}else{if((m|0)==0){break}ad[c[(c[m>>2]|0)+4>>2]&2047](m)}}while(0);c[B>>2]=0;J=c[A>>2]|0;K=J+8|0;L=c[K>>2]|0;M=J+4|0;N=c[M>>2]|0;O=L;P=N;Q=O-P|0;R=(Q|0)>0;i=e;return R|0}function Hk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;d=i;i=i+544|0;e=b;b=i;i=i+4|0;i=i+7&-8;c[b>>2]=c[e>>2];e=d|0;f=d+104|0;g=d+112|0;h=d+232|0;j=d+240|0;k=d+368|0;l=d+376|0;m=d+384|0;n=d+496|0;o=d+504|0;p=d+512|0;q=d+520|0;r=d+528|0;s=d+536|0;t=a+136|0;if((c[t>>2]|0)==0){yc(7456,18552,853,23064);return 0}u=a+140|0;v=a+148|0;if((c[v>>2]|0)!=0){yc(7320,18552,854,23064);return 0}Xh(e);w=b|0;c[f>>2]=c[w>>2];if(qx(e+84|0,f)|0){vs((c[t>>2]|0)+84|0,e|0)}Wl(g);c[h>>2]=c[w>>2];if(by(g+84|0,h)|0){ws((c[t>>2]|0)+84|0,g|0)}Hn(j);h=c[w>>2]|0;c[k>>2]=h;if(Ay(j+84|0,k)|0){x=19}else{c[l>>2]=h;if(Fy(j+96|0,l)|0){x=19}}if((x|0)==19){ys((c[t>>2]|0)+84|0,j|0)}qn(m);c[n>>2]=c[w>>2];if(Tw(m+84|0,n)|0){xs((c[t>>2]|0)+84|0,m|0)}Hv(o);Kv(p,b,12272);b=o|0;n=u;w=u|0;u=q|0;x=r|0;l=s|0;h=c[p>>2]|0;while(1){c[b>>2]=h;if((Iv(o)|0)==0){break}p=gK(108)|0;k=p;Ss(k);f=gK(12)|0;y=f;z=f+8|0;if((z|0)!=0){c[z>>2]=k}c[(c[w>>2]|0)+4>>2]=y;c[f>>2]=c[w>>2];c[w>>2]=y;c[f+4>>2]=n;c[v>>2]=(c[v>>2]|0)+1;c[u>>2]=c[b>>2];Dk(0,q,p);c[x>>2]=c[b>>2];Kk(a,r)|0;Ms(c[t>>2]|0,k);k=c[w>>2]|0;p=k+4|0;f=k|0;c[(c[f>>2]|0)+4>>2]=c[p>>2];c[c[p>>2]>>2]=c[f>>2];c[v>>2]=(c[v>>2]|0)-1;iK(k);Ov(s,o,12272);h=c[l>>2]|0}tn(m);Ln(j);Zl(g);_h(e);i=d;return 1}function Ik(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;e=i;i=i+72|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=e+32|0;l=e+40|0;m=e+48|0;n=e+56|0;o=e+64|0;p=b+160|0;q=c[p>>2]|0;if((q|0)==0){yc(21952,18552,995,23144);return 0}r=b+164|0;if((c[r>>2]|0)!=0){yc(21816,18552,996,23144);return 0}c[f>>2]=c[d>>2];Fx(q+128|0,f)|0;Nv(g,d,12696);if((Bv(g)|0)!=0){Nv(h,d,12696);g=jc(Ev(h)|0)|0;c[(c[p>>2]|0)+164>>2]=g}Nv(j,d,11560);if((Bv(j)|0)!=0){a[(c[p>>2]|0)+168|0]=1}Hv(k);Kv(l,d,11048);d=k|0;c[d>>2]=c[l>>2];if((Iv(k)|0)==0){s=c[p>>2]|0;t=s+8|0;u=c[t>>2]|0;v=s+4|0;w=c[v>>2]|0;x=u;y=w;z=x-y|0;A=(z|0)>0;i=e;return A|0}l=b+180|0;j=m|0;g=n|0;h=o|0;do{f=gK(400)|0;q=f;hm(q);c[r>>2]=q;c[l>>2]=f;c[j>>2]=c[d>>2];Dk(0,m,f);c[g>>2]=c[d>>2];Nk(b,n)|0;xt(c[p>>2]|0,c[r>>2]|0);c[r>>2]=0;Ov(o,k,11048);c[d>>2]=c[h>>2];}while((Iv(k)|0)!=0);s=c[p>>2]|0;t=s+8|0;u=c[t>>2]|0;v=s+4|0;w=c[v>>2]|0;x=u;y=w;z=x-y|0;A=(z|0)>0;i=e;return A|0}function Jk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;e=i;i=i+80|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=e+32|0;l=e+48|0;m=e+56|0;n=e+64|0;o=e+72|0;p=b+156|0;q=c[p>>2]|0;if((q|0)==0){yc(22016,18552,964,23096);return 0}r=b+160|0;if((c[r>>2]|0)!=0){yc(7520,18552,965,23096);return 0}s=c[d>>2]|0;c[f>>2]=s;Fx(q+128|0,f)|0;f=(c[p>>2]|0)+160|0;c[g>>2]=s;ly(f,g)|0;g=c[p>>2]|0;c[g+444>>2]=c[g+164>>2];c[g+620>>2]=c[g+168>>2];Hv(h);Rv(j,d);d=h|0;c[d>>2]=c[j>>2];if((Iv(h)|0)==0){t=c[p>>2]|0;u=t+8|0;v=c[u>>2]|0;w=t+4|0;x=c[w>>2]|0;y=v;z=x;A=y-z|0;B=(A|0)>0;i=e;return B|0}j=k;g=k+1|0;f=l|0;s=m|0;q=o|0;C=n|0;D=k+8|0;E=k+4|0;F=k|0;while(1){k=Mv(h)|0;G=AK(k|0)|0;if(G>>>0>4294967279>>>0){H=8;break}if(G>>>0<11>>>0){I=G<<1&255;a[j]=I;J=g;K=I}else{I=G+16&-16;L=gK(I)|0;c[D>>2]=L;M=I|1;c[F>>2]=M;c[E>>2]=G;J=L;K=M&255}BK(J|0,k|0,G)|0;a[J+G|0]=0;if((K&1)==0){N=g;O=(K&255)>>>1}else{N=c[D>>2]|0;O=c[E>>2]|0}G=O>>>0>5>>>0;k=xK(N,11616,G?5:O)|0;if((k|0)==0){P=O>>>0<5>>>0?-1:G&1}else{P=k}if(!((K&1)==0)){iK(c[D>>2]|0)}if((P|0)==0){k=gK(176)|0;G=k;wt(G,-1);c[r>>2]=G;c[f>>2]=c[d>>2];Dk(0,l,k);c[s>>2]=c[d>>2];do{if(Ik(b,m)|0){xg(c[p>>2]|0,c[r>>2]|0)}else{k=c[r>>2]|0;if((k|0)==0){break}ad[c[(c[k>>2]|0)+4>>2]&2047](k)}}while(0);c[r>>2]=0}else{c[C>>2]=c[d>>2];Fk(b,n)|0}Pv(o,h);c[d>>2]=c[q>>2];if((Iv(h)|0)==0){H=29;break}}if((H|0)==8){GA(0);return 0}else if((H|0)==29){t=c[p>>2]|0;u=t+8|0;v=c[u>>2]|0;w=t+4|0;x=c[w>>2]|0;y=v;z=x;A=y-z|0;B=(A|0)>0;i=e;return B|0}return 0}function Kk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,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=i;i=i+152|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;j=e+32|0;k=e+40|0;l=e+56|0;m=e+64|0;n=e+72|0;o=e+80|0;p=e+96|0;q=e+104|0;r=e+112|0;s=e+128|0;t=e+136|0;u=e+144|0;v=b+140|0;w=b+148|0;if((c[w>>2]|0)==0){yc(7248,18552,892,23032);return 0}x=b+152|0;if((c[x>>2]|0)!=0){yc(22440,18552,893,23032);return 0}y=v|0;z=c[(c[y>>2]|0)+8>>2]|0;Nv(f,d,12048);do{if((Bv(f)|0)!=0){Nv(h,d,12048);A=Ev(h)|0;B=AK(A|0)|0;if(B>>>0>4294967279>>>0){GA(0);return 0}if(B>>>0<11>>>0){a[g]=B<<1;C=g+1|0}else{D=B+16&-16;E=gK(D)|0;c[g+8>>2]=E;c[g>>2]=D|1;c[g+4>>2]=B;C=E}BK(C|0,A|0,B)|0;a[C+B|0]=0;c[z+100>>2]=Lk(0,g)|0;if((a[g]&1)==0){break}iK(c[g+8>>2]|0)}}while(0);Nv(j,d,11952);do{if((Bv(j)|0)!=0){Nv(l,d,11952);g=Ev(l)|0;C=AK(g|0)|0;if(C>>>0>4294967279>>>0){GA(0);return 0}if(C>>>0<11>>>0){h=C<<1&255;a[k]=h;F=k+1|0;G=h}else{h=C+16&-16;f=gK(h)|0;c[k+8>>2]=f;B=h|1;c[k>>2]=B;c[k+4>>2]=C;F=f;G=B&255}BK(F|0,g|0,C)|0;a[F+C|0]=0;if((G&1)==0){H=k+1|0;I=(G&255)>>>1}else{H=c[k+8>>2]|0;I=c[k+4>>2]|0}C=I>>>0>5>>>0;g=xK(H,8816,C?5:I)|0;if((g|0)==0){J=I>>>0<5>>>0?-1:C&1}else{J=g}a[z+104|0]=(J|0)!=0|0;if((G&1)==0){break}iK(c[k+8>>2]|0)}}while(0);Hv(m);Rv(n,d);d=m|0;c[d>>2]=c[n>>2];if((Iv(m)|0)==0){i=e;return 1}n=o;k=o+1|0;G=v;v=p|0;J=q|0;I=u|0;H=r;F=r+1|0;l=s|0;j=t|0;g=r+8|0;C=r+4|0;B=r|0;r=o+8|0;f=o+4|0;h=o|0;a:while(1){o=Mv(m)|0;A=AK(o|0)|0;if(A>>>0>4294967279>>>0){K=32;break}if(A>>>0<11>>>0){E=A<<1&255;a[n]=E;L=k;M=E}else{E=A+16&-16;D=gK(E)|0;c[r>>2]=D;N=E|1;c[h>>2]=N;c[f>>2]=A;L=D;M=N&255}BK(L|0,o|0,A)|0;a[L+A|0]=0;if((M&1)==0){O=k;P=(M&255)>>>1}else{O=c[r>>2]|0;P=c[f>>2]|0}A=P>>>0>8>>>0;o=xK(O,12272,A?8:P)|0;if((o|0)==0){Q=P>>>0<8>>>0?-1:A&1}else{Q=o}if(!((M&1)==0)){iK(c[r>>2]|0)}do{if((Q|0)==0){o=gK(108)|0;A=o;Ss(A);N=gK(12)|0;D=N;E=N+8|0;if((E|0)!=0){c[E>>2]=A}c[(c[y>>2]|0)+4>>2]=D;c[N>>2]=c[y>>2];c[y>>2]=D;c[N+4>>2]=G;c[w>>2]=(c[w>>2]|0)+1;c[v>>2]=c[d>>2];Dk(0,p,o);c[J>>2]=c[d>>2];Kk(b,q)|0;Zs(z,A);A=c[y>>2]|0;o=A+4|0;N=A|0;c[(c[N>>2]|0)+4>>2]=c[o>>2];c[c[o>>2]>>2]=c[N>>2];c[w>>2]=(c[w>>2]|0)-1;iK(A)}else{A=Mv(m)|0;N=AK(A|0)|0;if(N>>>0>4294967279>>>0){K=50;break a}if(N>>>0<11>>>0){o=N<<1&255;a[H]=o;R=F;S=o}else{o=N+16&-16;D=gK(o)|0;c[g>>2]=D;E=o|1;c[B>>2]=E;c[C>>2]=N;R=D;S=E&255}BK(R|0,A|0,N)|0;a[R+N|0]=0;if((S&1)==0){T=F;U=(S&255)>>>1}else{T=c[g>>2]|0;U=c[C>>2]|0}N=U>>>0>8>>>0;A=xK(T,11824,N?8:U)|0;if((A|0)==0){V=U>>>0<8>>>0?-1:N&1}else{V=A}if(!((S&1)==0)){iK(c[g>>2]|0)}if((V|0)!=0){break}A=gK(116)|0;N=A;bt(N);c[x>>2]=N;c[l>>2]=c[d>>2];Dk(0,s,A);c[j>>2]=c[d>>2];Mk(b,t)|0;Ys(z,c[x>>2]|0);c[x>>2]=0}}while(0);Pv(u,m);c[d>>2]=c[I>>2];if((Iv(m)|0)==0){K=66;break}}if((K|0)==32){GA(0);return 0}else if((K|0)==50){GA(0);return 0}else if((K|0)==66){i=e;return 1}return 0}function Lk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;b=i;e=a[d]|0;f=(e&1)==0;if(f){g=d+1|0;h=(e&255)>>>1}else{g=c[d+8>>2]|0;h=c[d+4>>2]|0}j=h>>>0>4>>>0;do{if((xK(g,8432,j?4:h)|0)==0){if(h>>>0>3>>>0&(j^1)){k=1}else{break}i=b;return k|0}}while(0);if(f){l=d+1|0;m=(e&255)>>>1}else{l=c[d+8>>2]|0;m=c[d+4>>2]|0}j=m>>>0>5>>>0;do{if((xK(l,8368,j?5:m)|0)==0){if(m>>>0>4>>>0&(j^1)){k=2}else{break}i=b;return k|0}}while(0);if(f){n=d+1|0;o=(e&255)>>>1}else{n=c[d+8>>2]|0;o=c[d+4>>2]|0}e=o>>>0>7>>>0;do{if((xK(n,8328,e?7:o)|0)==0){if(o>>>0>6>>>0&(e^1)){k=3}else{break}i=b;return k|0}}while(0);if(f){p=d+1|0}else{p=c[d+8>>2]|0}ee(18304,(d=i,i=i+8|0,c[d>>2]=p,d)|0);i=d;k=1;i=b;return k|0}function Mk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;d=i;i=i+400|0;e=b;b=i;i=i+4|0;i=i+7&-8;c[b>>2]=c[e>>2];e=d|0;f=d+8|0;g=d+16|0;h=d+120|0;j=d+128|0;k=d+248|0;l=d+256|0;m=d+384|0;n=d+392|0;o=a+152|0;if((c[o>>2]|0)==0){yc(22368,18552,936,23048);return 0}Nv(e,b,11752);if((Bv(e)|0)==0){ee(22160,(e=i,i=i+1|0,i=i+7&-8,c[e>>2]=0,e)|0);i=e}else{e=c[o>>2]|0;Nv(f,b,11752);c[e+104>>2]=jc(Ev(f)|0)|0}Xh(g);f=b|0;c[h>>2]=c[f>>2];if(qx(g+84|0,h)|0){vs((c[o>>2]|0)+84|0,g|0)}Wl(j);c[k>>2]=c[f>>2];if(by(j+84|0,k)|0){ws((c[o>>2]|0)+84|0,j|0)}Hn(l);c[m>>2]=c[f>>2];if(Ay(l+84|0,m)|0){p=20}else{c[n>>2]=c[f>>2];if(Fy(l+96|0,n)|0){p=20}}if((p|0)==20){ys((c[o>>2]|0)+84|0,l|0)}Ln(l);Zl(j);_h(g);i=d;return 1}function Nk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;i=i+40|0;e=b;b=i;i=i+4|0;i=i+7&-8;c[b>>2]=c[e>>2];e=d|0;f=d+8|0;g=d+16|0;h=d+24|0;j=d+32|0;k=c[a+164>>2]|0;if((k|0)==0){yc(21768,18552,1028,23160);return 0}c[e>>2]=c[b>>2];Fx(k+144|0,e)|0;Hv(f);Rv(g,b);b=f|0;c[b>>2]=c[g>>2];if((Iv(f)|0)==0){i=d;return 1}g=h|0;e=j|0;do{c[g>>2]=c[b>>2];Ok(a,h)|0;Pv(j,f);c[b>>2]=c[e>>2];}while((Iv(f)|0)!=0);i=d;return 1}function Ok(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,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,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0;e=i;i=i+504|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=e+32|0;l=e+40|0;m=e+48|0;n=e+56|0;o=e+64|0;p=e+72|0;q=e+80|0;r=e+88|0;s=e+96|0;t=e+104|0;u=e+112|0;v=e+120|0;w=e+128|0;x=e+144|0;y=e+160|0;z=e+168|0;A=e+184|0;B=e+200|0;C=e+216|0;D=e+232|0;E=e+240|0;F=e+256|0;G=e+264|0;H=e+280|0;I=e+296|0;J=e+312|0;K=e+320|0;L=e+336|0;M=e+352|0;N=e+368|0;O=e+384|0;P=e+392|0;Q=e+408|0;R=e+416|0;S=e+424|0;T=e+432|0;U=e+440|0;V=e+448|0;W=e+456|0;X=e+472|0;Y=e+488|0;Z=e+496|0;_=Mv(d)|0;$=AK(_|0)|0;if($>>>0>4294967279>>>0){GA(0);return 0}if($>>>0<11>>>0){aa=$<<1&255;a[w]=aa;ba=w+1|0;ca=aa}else{aa=$+16&-16;da=gK(aa)|0;c[w+8>>2]=da;ea=aa|1;c[w>>2]=ea;c[w+4>>2]=$;ba=da;ca=ea&255}BK(ba|0,_|0,$)|0;a[ba+$|0]=0;if((ca&1)==0){fa=w+1|0;ga=(ca&255)>>>1}else{fa=c[w+8>>2]|0;ga=c[w+4>>2]|0}$=ga>>>0>7>>>0;ba=xK(fa,10632,$?7:ga)|0;if((ba|0)==0){ha=ga>>>0<7>>>0?-1:$&1}else{ha=ba}if(!((ca&1)==0)){iK(c[w+8>>2]|0)}do{if((ha|0)==0){w=c[d>>2]|0;ca=gK(176)|0;dg(ca);c[v>>2]=w;lx(ca+164|0,v)|0;ia=ca}else{ca=Mv(d)|0;w=AK(ca|0)|0;if(w>>>0>4294967279>>>0){GA(0);return 0}if(w>>>0<11>>>0){ba=w<<1&255;a[x]=ba;ja=x+1|0;ka=ba}else{ba=w+16&-16;$=gK(ba)|0;c[x+8>>2]=$;ga=ba|1;c[x>>2]=ga;c[x+4>>2]=w;ja=$;ka=ga&255}BK(ja|0,ca|0,w)|0;a[ja+w|0]=0;if((ka&1)==0){la=x+1|0;ma=(ka&255)>>>1}else{la=c[x+8>>2]|0;ma=c[x+4>>2]|0}w=ma>>>0>4>>>0;ca=xK(la,10592,w?4:ma)|0;if((ca|0)==0){na=ma>>>0<4>>>0?-1:w&1}else{na=ca}if(!((ka&1)==0)){iK(c[x+8>>2]|0)}if((na|0)==0){c[y>>2]=c[d>>2];ia=Pk(b,y)|0;break}ca=Mv(d)|0;w=AK(ca|0)|0;if(w>>>0>4294967279>>>0){GA(0);return 0}if(w>>>0<11>>>0){ga=w<<1&255;a[z]=ga;oa=z+1|0;pa=ga}else{ga=w+16&-16;$=gK(ga)|0;c[z+8>>2]=$;ba=ga|1;c[z>>2]=ba;c[z+4>>2]=w;oa=$;pa=ba&255}BK(oa|0,ca|0,w)|0;a[oa+w|0]=0;if((pa&1)==0){qa=z+1|0;ra=(pa&255)>>>1}else{qa=c[z+8>>2]|0;ra=c[z+4>>2]|0}w=ra>>>0>4>>>0;ca=xK(qa,10456,w?4:ra)|0;if((ca|0)==0){sa=ra>>>0<4>>>0?-1:w&1}else{sa=ca}if(!((pa&1)==0)){iK(c[z+8>>2]|0)}if((sa|0)==0){ca=c[d>>2]|0;w=gK(192)|0;Jh(w);c[s>>2]=ca;vx(w+164|0,s)|0;c[t>>2]=ca;gy(w+172|0,t)|0;c[u>>2]=ca;Py(w+180|0,u)|0;ia=w;break}w=Mv(d)|0;ca=AK(w|0)|0;if(ca>>>0>4294967279>>>0){GA(0);return 0}if(ca>>>0<11>>>0){ba=ca<<1&255;a[A]=ba;ta=A+1|0;ua=ba}else{ba=ca+16&-16;$=gK(ba)|0;c[A+8>>2]=$;ga=ba|1;c[A>>2]=ga;c[A+4>>2]=ca;ta=$;ua=ga&255}BK(ta|0,w|0,ca)|0;a[ta+ca|0]=0;if((ua&1)==0){va=A+1|0;wa=(ua&255)>>>1}else{va=c[A+8>>2]|0;wa=c[A+4>>2]|0}ca=wa>>>0>6>>>0;w=xK(va,10016,ca?6:wa)|0;if((w|0)==0){xa=wa>>>0<6>>>0?-1:ca&1}else{xa=w}if(!((ua&1)==0)){iK(c[A+8>>2]|0)}if((xa|0)==0){w=c[d>>2]|0;ca=gK(216)|0;bn(ca);c[o>>2]=w;Ux(ca+164|0,o)|0;c[p>>2]=w;qy(ca+176|0,p)|0;c[q>>2]=w;Ow(ca+188|0,q)|0;c[r>>2]=w;Zy(ca+208|0,r)|0;ia=ca;break}ca=Mv(d)|0;w=AK(ca|0)|0;if(w>>>0>4294967279>>>0){GA(0);return 0}if(w>>>0<11>>>0){ga=w<<1&255;a[B]=ga;ya=B+1|0;za=ga}else{ga=w+16&-16;$=gK(ga)|0;c[B+8>>2]=$;ba=ga|1;c[B>>2]=ba;c[B+4>>2]=w;ya=$;za=ba&255}BK(ya|0,ca|0,w)|0;a[ya+w|0]=0;if((za&1)==0){Aa=B+1|0;Ba=(za&255)>>>1}else{Aa=c[B+8>>2]|0;Ba=c[B+4>>2]|0}w=Ba>>>0>8>>>0;ca=xK(Aa,21680,w?8:Ba)|0;if((ca|0)==0){Ca=Ba>>>0<8>>>0?-1:w&1}else{Ca=ca}if(!((za&1)==0)){iK(c[B+8>>2]|0)}if((Ca|0)==0){ca=c[d>>2]|0;w=gK(180)|0;zn(w);c[n>>2]=ca;vy(w+164|0,n)|0;ia=w;break}w=Mv(d)|0;ca=AK(w|0)|0;if(ca>>>0>4294967279>>>0){GA(0);return 0}if(ca>>>0<11>>>0){ba=ca<<1&255;a[C]=ba;Da=C+1|0;Ea=ba}else{ba=ca+16&-16;$=gK(ba)|0;c[C+8>>2]=$;ga=ba|1;c[C>>2]=ga;c[C+4>>2]=ca;Da=$;Ea=ga&255}BK(Da|0,w|0,ca)|0;a[Da+ca|0]=0;if((Ea&1)==0){Fa=C+1|0;Ga=(Ea&255)>>>1}else{Fa=c[C+8>>2]|0;Ga=c[C+4>>2]|0}ca=Ga>>>0>4>>>0;w=xK(Fa,9736,ca?4:Ga)|0;if((w|0)==0){Ha=Ga>>>0<4>>>0?-1:ca&1}else{Ha=w}if(!((Ea&1)==0)){iK(c[C+8>>2]|0)}if((Ha|0)==0){c[D>>2]=c[d>>2];ia=Qk(b,D)|0;break}w=Mv(d)|0;ca=AK(w|0)|0;if(ca>>>0>4294967279>>>0){GA(0);return 0}if(ca>>>0<11>>>0){ga=ca<<1&255;a[E]=ga;Ia=E+1|0;Ja=ga}else{ga=ca+16&-16;$=gK(ga)|0;c[E+8>>2]=$;ba=ga|1;c[E>>2]=ba;c[E+4>>2]=ca;Ia=$;Ja=ba&255}BK(Ia|0,w|0,ca)|0;a[Ia+ca|0]=0;if((Ja&1)==0){Ka=E+1|0;La=(Ja&255)>>>1}else{Ka=c[E+8>>2]|0;La=c[E+4>>2]|0}ca=La>>>0>4>>>0;w=xK(Ka,9648,ca?4:La)|0;if((w|0)==0){Ma=La>>>0<4>>>0?-1:ca&1}else{Ma=w}if(!((Ja&1)==0)){iK(c[E+8>>2]|0)}if((Ma|0)==0){c[F>>2]=c[d>>2];ia=Rk(b,F)|0;break}w=Mv(d)|0;ca=AK(w|0)|0;if(ca>>>0>4294967279>>>0){GA(0);return 0}if(ca>>>0<11>>>0){ba=ca<<1&255;a[G]=ba;Na=G+1|0;Oa=ba}else{ba=ca+16&-16;$=gK(ba)|0;c[G+8>>2]=$;ga=ba|1;c[G>>2]=ga;c[G+4>>2]=ca;Na=$;Oa=ga&255}BK(Na|0,w|0,ca)|0;a[Na+ca|0]=0;if((Oa&1)==0){Pa=G+1|0;Qa=(Oa&255)>>>1}else{Pa=c[G+8>>2]|0;Qa=c[G+4>>2]|0}ca=Qa>>>0>5>>>0;w=xK(Pa,9944,ca?5:Qa)|0;if((w|0)==0){Ra=Qa>>>0<5>>>0?-1:ca&1}else{Ra=w}if(!((Oa&1)==0)){iK(c[G+8>>2]|0)}if((Ra|0)==0){w=gK(164)|0;Wn(w);ia=w;break}w=Mv(d)|0;ca=AK(w|0)|0;if(ca>>>0>4294967279>>>0){GA(0);return 0}if(ca>>>0<11>>>0){ga=ca<<1&255;a[H]=ga;Sa=H+1|0;Ta=ga}else{ga=ca+16&-16;$=gK(ga)|0;c[H+8>>2]=$;ba=ga|1;c[H>>2]=ba;c[H+4>>2]=ca;Sa=$;Ta=ba&255}BK(Sa|0,w|0,ca)|0;a[Sa+ca|0]=0;if((Ta&1)==0){Ua=H+1|0;Va=(Ta&255)>>>1}else{Ua=c[H+8>>2]|0;Va=c[H+4>>2]|0}ca=Va>>>0>9>>>0;w=xK(Ua,9864,ca?9:Va)|0;if((w|0)==0){Wa=Va>>>0<9>>>0?-1:ca&1}else{Wa=w}if(!((Ta&1)==0)){iK(c[H+8>>2]|0)}if((Wa|0)==0){w=c[d>>2]|0;ca=gK(172)|0;ao(ca,1);c[m>>2]=w;Jw(ca+164|0,m)|0;ia=ca;break}ca=Mv(d)|0;w=AK(ca|0)|0;if(w>>>0>4294967279>>>0){GA(0);return 0}if(w>>>0<11>>>0){ba=w<<1&255;a[I]=ba;Xa=I+1|0;Ya=ba}else{ba=w+16&-16;$=gK(ba)|0;c[I+8>>2]=$;ga=ba|1;c[I>>2]=ga;c[I+4>>2]=w;Xa=$;Ya=ga&255}BK(Xa|0,ca|0,w)|0;a[Xa+w|0]=0;if((Ya&1)==0){Za=I+1|0;_a=(Ya&255)>>>1}else{Za=c[I+8>>2]|0;_a=c[I+4>>2]|0}w=_a>>>0>6>>>0;ca=xK(Za,9552,w?6:_a)|0;if((ca|0)==0){$a=_a>>>0<6>>>0?-1:w&1}else{$a=ca}if(!((Ya&1)==0)){iK(c[I+8>>2]|0)}if(($a|0)==0){c[J>>2]=c[d>>2];ia=Sk(b,J)|0;break}ca=Mv(d)|0;w=AK(ca|0)|0;if(w>>>0>4294967279>>>0){GA(0);return 0}if(w>>>0<11>>>0){ga=w<<1&255;a[K]=ga;ab=K+1|0;bb=ga}else{ga=w+16&-16;$=gK(ga)|0;c[K+8>>2]=$;ba=ga|1;c[K>>2]=ba;c[K+4>>2]=w;ab=$;bb=ba&255}BK(ab|0,ca|0,w)|0;a[ab+w|0]=0;if((bb&1)==0){cb=K+1|0;db=(bb&255)>>>1}else{cb=c[K+8>>2]|0;db=c[K+4>>2]|0}w=db>>>0>5>>>0;ca=xK(cb,10720,w?5:db)|0;if((ca|0)==0){eb=db>>>0<5>>>0?-1:w&1}else{eb=ca}if(!((bb&1)==0)){iK(c[K+8>>2]|0)}if((eb|0)==0){ca=c[d>>2]|0;w=gK(184)|0;qe(w);if((w|0)==0){fb=0}else{fb=w+164|0}c[l>>2]=ca;cz(fb|0,l)|0;_w(w+176|0);ia=w;break}w=Mv(d)|0;ca=AK(w|0)|0;if(ca>>>0>4294967279>>>0){GA(0);return 0}if(ca>>>0<11>>>0){ba=ca<<1&255;a[L]=ba;gb=L+1|0;hb=ba}else{ba=ca+16&-16;$=gK(ba)|0;c[L+8>>2]=$;ga=ba|1;c[L>>2]=ga;c[L+4>>2]=ca;gb=$;hb=ga&255}BK(gb|0,w|0,ca)|0;a[gb+ca|0]=0;if((hb&1)==0){ib=L+1|0;jb=(hb&255)>>>1}else{ib=c[L+8>>2]|0;jb=c[L+4>>2]|0}ca=jb>>>0>6>>>0;w=xK(ib,10240,ca?6:jb)|0;if((w|0)==0){kb=jb>>>0<6>>>0?-1:ca&1}else{kb=w}if(!((hb&1)==0)){iK(c[L+8>>2]|0)}if((kb|0)==0){w=c[d>>2]|0;ca=gK(176)|0;hi(ca);if((ca|0)==0){lb=0}else{lb=ca+164|0}c[k>>2]=w;cz(lb|0,k)|0;ia=ca;break}ca=Mv(d)|0;w=AK(ca|0)|0;if(w>>>0>4294967279>>>0){GA(0);return 0}if(w>>>0<11>>>0){ga=w<<1&255;a[M]=ga;mb=M+1|0;nb=ga}else{ga=w+16&-16;$=gK(ga)|0;c[M+8>>2]=$;ba=ga|1;c[M>>2]=ba;c[M+4>>2]=w;mb=$;nb=ba&255}BK(mb|0,ca|0,w)|0;a[mb+w|0]=0;if((nb&1)==0){ob=M+1|0;pb=(nb&255)>>>1}else{ob=c[M+8>>2]|0;pb=c[M+4>>2]|0}w=pb>>>0>3>>>0;ca=xK(ob,10152,w?3:pb)|0;if((ca|0)==0){qb=pb>>>0<3>>>0?-1:w&1}else{qb=ca}if(!((nb&1)==0)){iK(c[M+8>>2]|0)}if((qb|0)==0){ca=c[d>>2]|0;w=gK(176)|0;Dj(w);if((w|0)==0){rb=0}else{rb=w+164|0}c[j>>2]=ca;cz(rb|0,j)|0;ia=w;break}w=Mv(d)|0;ca=AK(w|0)|0;if(ca>>>0>4294967279>>>0){GA(0);return 0}if(ca>>>0<11>>>0){ba=ca<<1&255;a[N]=ba;sb=N+1|0;tb=ba}else{ba=ca+16&-16;$=gK(ba)|0;c[N+8>>2]=$;ga=ba|1;c[N>>2]=ga;c[N+4>>2]=ca;sb=$;tb=ga&255}BK(sb|0,w|0,ca)|0;a[sb+ca|0]=0;if((tb&1)==0){ub=N+1|0;vb=(tb&255)>>>1}else{ub=c[N+8>>2]|0;vb=c[N+4>>2]|0}ca=vb>>>0>3>>>0;w=xK(ub,9112,ca?3:vb)|0;if((w|0)==0){wb=vb>>>0<3>>>0?-1:ca&1}else{wb=w}if(!((tb&1)==0)){iK(c[N+8>>2]|0)}if((wb|0)==0){c[O>>2]=c[d>>2];ia=Tk(b,O)|0;break}w=Mv(d)|0;ca=AK(w|0)|0;if(ca>>>0>4294967279>>>0){GA(0);return 0}if(ca>>>0<11>>>0){ga=ca<<1&255;a[P]=ga;xb=P+1|0;yb=ga}else{ga=ca+16&-16;$=gK(ga)|0;c[P+8>>2]=$;ba=ga|1;c[P>>2]=ba;c[P+4>>2]=ca;xb=$;yb=ba&255}BK(xb|0,w|0,ca)|0;a[xb+ca|0]=0;if((yb&1)==0){zb=P+1|0;Ab=(yb&255)>>>1}else{zb=c[P+8>>2]|0;Ab=c[P+4>>2]|0}ca=Ab>>>0>5>>>0;w=xK(zb,21608,ca?5:Ab)|0;if((w|0)==0){Bb=Ab>>>0<5>>>0?-1:ca&1}else{Bb=w}if(!((yb&1)==0)){iK(c[P+8>>2]|0)}if((Bb|0)==0){$d(21512,(Cb=i,i=i+1|0,i=i+7&-8,c[Cb>>2]=0,Cb)|0);i=Cb;c[Q>>2]=c[d>>2];Fk(b,Q)|0;Db=0;i=e;return Db|0}else{w=Mv(d)|0;$d(21392,(Cb=i,i=i+8|0,c[Cb>>2]=w,Cb)|0);i=Cb;Db=0;i=e;return Db|0}}}while(0);if((ia|0)==0){Db=0;i=e;return Db|0}Nv(R,d,9496);if((Bv(R)|0)!=0){Nv(S,d,9496);c[ia+128>>2]=jc(Ev(S)|0)|0}S=d|0;c[h>>2]=c[S>>2];Nv(f,h,8896);if(!(Dv(f)|0)){Nv(g,h,8896);OA(ia+20|0,Ev(g)|0)|0}c[T>>2]=c[S>>2];Dk(0,T,ia|0);Hv(U);Rv(V,d);d=U|0;c[d>>2]=c[V>>2];a:do{if((Iv(U)|0)!=0){V=W;T=W+1|0;S=W+8|0;g=X;h=X+1|0;f=Y|0;R=ia;Cb=X+8|0;Q=Z|0;Bb=X+4|0;P=X|0;yb=W+4|0;Ab=W|0;while(1){zb=Mv(U)|0;xb=AK(zb|0)|0;if(xb>>>0>4294967279>>>0){Eb=244;break}if(xb>>>0<11>>>0){O=xb<<1&255;a[V]=O;Fb=T;Gb=O}else{O=xb+16&-16;wb=gK(O)|0;c[S>>2]=wb;N=O|1;c[Ab>>2]=N;c[yb>>2]=xb;Fb=wb;Gb=N&255}BK(Fb|0,zb|0,xb)|0;a[Fb+xb|0]=0;if((Gb&1)==0){Hb=T;Ib=(Gb&255)>>>1}else{Hb=c[S>>2]|0;Ib=c[yb>>2]|0}xb=Ib>>>0>5>>>0;do{if((xK(Hb,10720,xb?5:Ib)|0)==0){if(!(Ib>>>0>4>>>0&(xb^1))){Eb=258;break}Im(ia)|0;if((Gb&1)==0){break}iK(c[S>>2]|0)}else{Eb=258}}while(0);do{if((Eb|0)==258){Eb=0;if((Gb&1)==0){break}iK(c[S>>2]|0)}}while(0);xb=Mv(U)|0;zb=AK(xb|0)|0;if(zb>>>0>4294967279>>>0){Eb=261;break}if(zb>>>0<11>>>0){N=zb<<1&255;a[g]=N;Jb=h;Kb=N}else{N=zb+16&-16;wb=gK(N)|0;c[Cb>>2]=wb;O=N|1;c[P>>2]=O;c[Bb>>2]=zb;Jb=wb;Kb=O&255}BK(Jb|0,xb|0,zb)|0;a[Jb+zb|0]=0;if((Kb&1)==0){Lb=h;Mb=(Kb&255)>>>1}else{Lb=c[Cb>>2]|0;Mb=c[Bb>>2]|0}zb=Mb>>>0>5>>>0;do{if((xK(Lb,21288,zb?5:Mb)|0)==0){if(!(Mb>>>0>4>>>0&(zb^1))){Eb=277;break}xb=Im(ia)|0;if(!((Kb&1)==0)){iK(c[Cb>>2]|0)}if(!xb){break}xb=VJ(R,47328,46464,-1)|0;c[f>>2]=c[d>>2];Uk(b,xb,Y)|0}else{Eb=277}}while(0);do{if((Eb|0)==277){Eb=0;if((Kb&1)==0){break}iK(c[Cb>>2]|0)}}while(0);Pv(Z,U);c[d>>2]=c[Q>>2];if((Iv(U)|0)==0){break a}}if((Eb|0)==244){GA(0);return 0}else if((Eb|0)==261){GA(0);return 0}}}while(0);Vk(b,ia);Db=1;i=e;return Db|0}function Pk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;d=i;i=i+32|0;e=b;b=i;i=i+4|0;i=i+7&-8;c[b>>2]=c[e>>2];e=d|0;f=d+8|0;g=d+16|0;h=d+24|0;j=a+172|0;if((c[j>>2]|0)!=0){yc(21088,18552,1131,23192);return 0}k=gK(180)|0;l=k;xh(l);c[j>>2]=l;l=a+180|0;m=c[l>>2]|0;c[l>>2]=k;Hv(e);Rv(f,b);b=e|0;c[b>>2]=c[f>>2];if((Iv(e)|0)!=0){f=g|0;k=h|0;do{c[f>>2]=c[b>>2];Ok(a,g)|0;Pv(h,e);c[b>>2]=c[k>>2];}while((Iv(e)|0)!=0)}e=c[j>>2]|0;if(((c[e+8>>2]|0)-(c[e+4>>2]|0)|0)==4){ee(21016,(k=i,i=i+1|0,i=i+7&-8,c[k>>2]=0,k)|0);i=k;n=c[j>>2]|0}else{n=e}c[l>>2]=m;if(((c[n+8>>2]|0)-(c[n+4>>2]|0)|0)>=4){o=n|0;c[j>>2]=0;i=d;return o|0}if((n|0)==0){o=0;c[j>>2]=0;i=d;return o|0}ad[c[(c[n>>2]|0)+4>>2]&2047](n);o=0;c[j>>2]=0;i=d;return o|0}function Qk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;e=i;i=i+152|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=e+32|0;l=e+40|0;m=e+48|0;n=e+56|0;o=e+64|0;p=e+72|0;q=e+80|0;r=e+88|0;s=e+96|0;t=e+104|0;u=e+112|0;v=e+120|0;w=e+128|0;x=e+136|0;y=e+144|0;z=gK(312)|0;A=z;jo(A);c[p>>2]=A;B=c[d>>2]|0;C=(z|0)==0?0:z+164|0;c[j>>2]=B;gx(C|0,j)|0;c[k>>2]=B;Ew(C+8|0,k)|0;c[l>>2]=B;Kx(C+16|0,l)|0;c[m>>2]=B;Px(C+24|0,m)|0;c[n>>2]=B;Ux(C+32|0,n)|0;c[o>>2]=B;Yx(C+44|0,o)|0;o=(z|0)==0?0:z+216|0;c[f>>2]=B;bx(o|0,f)|0;c[g>>2]=B;Ky(o+8|0,g)|0;c[h>>2]=B;Uy(o+16|0,h)|0;c[q>>2]=B;Ax(z+240|0,q)|0;c[r>>2]=B;Yw(z+248|0,r)|0;c[s>>2]=B;hz(z+256|0,s)|0;Nv(t,d,9288);if((Bv(t)|0)!=0){a[z+132|0]=1}Nv(u,d,20944);if((Bv(u)|0)==0){D=A;E=D|0;i=e;return E|0}Nv(v,d,20944);if((yK(Ev(v)|0,20864)|0)==0){F=8}else{Nv(w,d,20944);if((yK(Ev(w)|0,20800)|0)==0){F=8}}do{if((F|0)==8){So(A);w=b+196|0;v=c[w>>2]|0;if((v|0)==(c[b+200>>2]|0)){al(b+192|0,p);break}if((v|0)==0){G=0}else{c[v>>2]=A;G=c[w>>2]|0}c[w>>2]=G+4}}while(0);Nv(x,d,20944);do{if((yK(Ev(x)|0,20704)|0)!=0){Nv(y,d,20944);if((yK(Ev(y)|0,20800)|0)==0){break}D=c[p>>2]|0;E=D|0;i=e;return E|0}}while(0);y=c[p>>2]|0;if(Wk(b,y)|0){D=y;E=D|0;i=e;return E|0}ee(20632,(b=i,i=i+1|0,i=i+7&-8,c[b>>2]=0,b)|0);i=b;D=y;E=D|0;i=e;return E|0}function Rk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;a=i;i=i+104|0;d=b;b=i;i=i+4|0;i=i+7&-8;c[b>>2]=c[d>>2];d=a|0;e=a+8|0;f=a+16|0;g=a+24|0;h=a+32|0;j=a+40|0;k=a+48|0;l=a+56|0;m=a+64|0;n=a+72|0;o=a+80|0;p=a+88|0;q=a+96|0;r=gK(228)|0;Zr(r);s=c[b>>2]|0;if((r|0)==0){c[e>>2]=s;gx(0,e)|0;c[f>>2]=s;Ew(8,f)|0;c[g>>2]=s;Kx(16,g)|0;c[h>>2]=s;Px(24,h)|0;c[j>>2]=s;Ux(32,j)|0;c[k>>2]=s;Yx(44,k)|0;t=0;u=d;v=t|0;w=d|0;c[w>>2]=s;x=cz(v,d)|0;y=r;i=a;return y|0}else{c[l>>2]=s;gx(r+164|0,l)|0;c[m>>2]=s;Ew(r+172|0,m)|0;c[n>>2]=s;Kx(r+180|0,n)|0;c[o>>2]=s;Px(r+188|0,o)|0;c[p>>2]=s;Ux(r+196|0,p)|0;c[q>>2]=s;Yx(r+208|0,q)|0;t=r+216|0;u=d;v=t|0;w=d|0;c[w>>2]=s;x=cz(v,d)|0;y=r;i=a;return y|0}return 0}function Sk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;d=i;i=i+40|0;e=b;b=i;i=i+4|0;i=i+7&-8;c[b>>2]=c[e>>2];e=d|0;f=d+8|0;g=d+16|0;h=d+24|0;j=d+32|0;k=a+176|0;if((c[k>>2]|0)!=0){yc(20536,18552,1246,23112);return 0}l=gK(192)|0;m=l;cv(m);c[k>>2]=m;m=a+180|0;n=c[m>>2]|0;c[m>>2]=l;c[e>>2]=c[b>>2];Ux(l+180|0,e)|0;Hv(f);Rv(g,b);b=f|0;c[b>>2]=c[g>>2];if((Iv(f)|0)!=0){g=h|0;e=j|0;do{c[g>>2]=c[b>>2];Ok(a,h)|0;Pv(j,f);c[b>>2]=c[e>>2];}while((Iv(f)|0)!=0)}f=c[k>>2]|0;if(((c[f+8>>2]|0)-(c[f+4>>2]|0)|0)==4){ee(20408,(e=i,i=i+1|0,i=i+7&-8,c[e>>2]=0,e)|0);i=e;o=c[k>>2]|0}else{o=f}c[m>>2]=n;if(((c[o+8>>2]|0)-(c[o+4>>2]|0)|0)>=4){c[k>>2]=0;p=o|0;i=d;return p|0}if((o|0)==0){p=0;i=d;return p|0}ad[c[(c[o>>2]|0)+4>>2]&2047](o);p=0;i=d;return p|0}function Tk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;d=i;i=i+32|0;e=b;b=i;i=i+4|0;i=i+7&-8;c[b>>2]=c[e>>2];e=d|0;f=d+8|0;g=d+16|0;h=d+24|0;j=gK(164)|0;yf(j);k=a+184|0;c[k>>2]=j;Hv(e);Kv(f,b,9008);b=e|0;c[b>>2]=c[f>>2];if((Iv(e)|0)==0){l=c[k>>2]|0;c[k>>2]=0;m=l|0;i=d;return m|0}f=g|0;j=h|0;do{c[f>>2]=c[b>>2];Yk(a,g)|0;Ov(h,e,9008);c[b>>2]=c[j>>2];}while((Iv(e)|0)!=0);l=c[k>>2]|0;c[k>>2]=0;m=l|0;i=d;return m|0}function Uk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;b=i;i=i+80|0;f=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[f>>2];f=b|0;g=b+8|0;h=b+16|0;j=b+24|0;k=b+32|0;l=b+40|0;m=b+48|0;n=b+56|0;o=b+72|0;p=gK(160)|0;q=p;pv(q);r=c[e>>2]|0;c[j>>2]=r;Dk(0,j,p);c[k>>2]=r;Fx(p+128|0,k)|0;Hv(l);Rv(m,e);e=l|0;c[e>>2]=c[m>>2];if((Iv(l)|0)==0){Qo(d,q);i=b;return 1}m=n;k=n+1|0;p=f|0;r=g|0;j=h|0;s=o|0;t=n+8|0;u=n+4|0;v=n|0;while(1){n=Mv(l)|0;w=AK(n|0)|0;if(w>>>0>4294967279>>>0){x=5;break}if(w>>>0<11>>>0){y=w<<1&255;a[m]=y;z=k;A=y}else{y=w+16&-16;B=gK(y)|0;c[t>>2]=B;C=y|1;c[v>>2]=C;c[u>>2]=w;z=B;A=C&255}BK(z|0,n|0,w)|0;a[z+w|0]=0;if((A&1)==0){D=k;E=(A&255)>>>1}else{D=c[t>>2]|0;E=c[u>>2]|0}w=E>>>0>3>>>0;n=xK(D,20344,w?3:E)|0;if((n|0)==0){F=E>>>0<3>>>0?-1:w&1}else{F=n}if(!((A&1)==0)){iK(c[t>>2]|0)}if((F|0)==0){n=c[e>>2]|0;w=gK(140)|0;C=w;wu(C);c[p>>2]=n;B=w;Dk(0,f,B);c[r>>2]=n;nz(w+128|0,g)|0;c[j>>2]=n;Xk(0,h,B);vv(q,C)}Pv(o,l);c[e>>2]=c[s>>2];if((Iv(l)|0)==0){x=22;break}}if((x|0)==5){GA(0);return 0}else if((x|0)==22){Qo(d,q);i=b;return 1}return 0}function Vk(a,b){a=a|0;b=b|0;var d=0,e=0;d=a+180|0;a=c[d>>2]|0;if((a|0)==0){yc(20024,18552,1423,23080)}e=(VJ(a,46112,46304,-1)|0)==0;a=c[d>>2]|0;if(!e){qm(a,b,-1);return}if((a|0)==0){return}e=(VJ(a,46112,45896,-1)|0)==0;a=c[d>>2]|0;if(!e){Ff(a,b,-1);return}if((a|0)==0){return}e=(VJ(a,46112,46576,-1)|0)==0;a=c[d>>2]|0;if(!e){Ch(a,b);return}if((a|0)==0){return}if((VJ(a,46112,46056,-1)|0)==0){return}lv(c[d>>2]|0,b);return}function Wk(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+160|0;if((c[e>>2]|0)==0){yc(21952,18552,1652,23208);return 0}f=b+164|0;if((c[f>>2]|0)==0){yc(21768,18552,1653,23208);return 0}g=b+192|0;h=c[g>>2]|0;i=b+196|0;if((h|0)==(c[i>>2]|0)){j=0;return j|0}b=d+228|0;k=d+236|0;l=h;a:while(1){h=wp(c[l>>2]|0,46304,-1)|0;if((h|0)==0){m=0}else{m=VJ(h,46112,46304,-1)|0}h=wp(c[l>>2]|0,46256,-1)|0;do{if((h|0)==0){n=12}else{o=VJ(h,46112,46256,-1)|0;if((o|0)==0){n=12;break}if((c[(c[e>>2]|0)+144>>2]|0)==(c[o+144>>2]|0)){n=12}}}while(0);do{if((n|0)==12){n=0;if((m|0)!=0){if((c[(c[f>>2]|0)+160>>2]|0)!=(c[m+160>>2]|0)){break}}p=c[l>>2]|0;if((a[b]|0)!=(a[p+228|0]|0)){break}if((c[k>>2]|0)==(c[p+236>>2]|0)){break a}}}while(0);h=l+4|0;if((h|0)==(c[i>>2]|0)){j=0;n=19;break}else{l=h}}if((n|0)==19){return j|0}To(d,p);p=c[g>>2]|0;g=l-p>>2;l=p+(g+1<<2)|0;d=(c[i>>2]|0)-l|0;CK(p+(g<<2)|0,l|0,d|0)|0;l=p+((d>>2)+g<<2)|0;g=c[i>>2]|0;if((g|0)==(l|0)){j=1;return j|0}c[i>>2]=g+(~((g-4+(-l|0)|0)>>>2)<<2);j=1;return j|0}function Xk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;b=i;i=i+32|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=b|0;g=b+8|0;h=b+24|0;Qv(f,d);if((Vv(f)|0)==0){i=b;return}Qv(h,d);ie(g,Xv(h,49632)|0);h=g;d=a[h]|0;if((d&1)==0){j=(d&255)>>>1;k=g+4|0}else{j=c[g+4>>2]|0;k=c[g+8>>2]|0}_A(e+56|0,k,j)|0;if((a[h]&1)==0){i=b;return}iK(c[g+8>>2]|0);i=b;return}function Yk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;d=i;i=i+48|0;e=b;b=i;i=i+4|0;i=i+7&-8;c[b>>2]=c[e>>2];e=d|0;f=d+8|0;g=d+16|0;h=d+24|0;j=d+32|0;k=d+40|0;l=a+168|0;if((c[l>>2]|0)!=0){yc(20168,18552,1352,23224);return 0}if((c[a+184>>2]|0)==0){yc(20064,18552,1353,23224);return 0}m=gK(96)|0;Cf(m);c[l>>2]=m;Nv(e,b,8944);if((Bv(e)|0)!=0){e=(c[l>>2]|0)+84|0;Nv(f,b,8944);OA(e,Ev(f)|0)|0}f=a+180|0;e=c[f>>2]|0;c[f>>2]=c[l>>2];Hv(g);Rv(h,b);b=g|0;c[b>>2]=c[h>>2];if((Iv(g)|0)==0){c[f>>2]=e;n=c[l>>2]|0;c[l>>2]=0;o=(n|0)!=0;i=d;return o|0}h=j|0;m=k|0;do{c[h>>2]=c[b>>2];Ok(a,j)|0;Pv(k,g);c[b>>2]=c[m>>2];}while((Iv(g)|0)!=0);c[f>>2]=e;n=c[l>>2]|0;c[l>>2]=0;o=(n|0)!=0;i=d;return o|0}function Zk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,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=i;i=i+200|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=e+32|0;l=e+40|0;m=e+48|0;n=e+64|0;o=e+80|0;p=e+88|0;q=e+104|0;r=e+112|0;s=e+128|0;t=e+144|0;u=e+152|0;v=e+168|0;w=e+184|0;x=b+156|0;if((c[x>>2]|0)==0){yc(22016,18552,1588,22984);return 0}b=gK(192)|0;y=b;cv(y);c[f>>2]=c[d>>2];z=b;Dk(0,f,z);Nv(g,d,18872);if((Bv(g)|0)!=0){Nv(h,d,18872);c[b+184>>2]=jc(Ev(h)|0)|0}Nv(j,d,18752);if((Bv(j)|0)!=0){Nv(k,d,18752);c[b+188>>2]=jc(Ev(k)|0)|0}Nv(l,d,19080);do{if((Bv(l)|0)==0){A=0}else{Nv(o,d,19080);k=Ev(o)|0;j=AK(k|0)|0;if(j>>>0>4294967279>>>0){GA(0);return 0}if(j>>>0<11>>>0){a[n]=j<<1;B=n+1|0}else{h=j+16&-16;g=gK(h)|0;c[n+8>>2]=g;c[n>>2]=h|1;c[n+4>>2]=j;B=g}BK(B|0,k|0,j)|0;a[B+j|0]=0;$k(m,0,n);if(!((a[n]&1)==0)){iK(c[n+8>>2]|0)}j=c[x>>2]|0;k=m;if((a[k]&1)==0){g=p;c[g>>2]=c[k>>2];c[g+4>>2]=c[k+4>>2];c[g+8>>2]=c[k+8>>2]}else{g=c[m+8>>2]|0;h=c[m+4>>2]|0;if(h>>>0>4294967279>>>0){GA(0);return 0}if(h>>>0<11>>>0){a[p]=h<<1;C=p+1|0}else{f=h+16&-16;D=gK(f)|0;c[p+8>>2]=D;c[p>>2]=f|1;c[p+4>>2]=h;C=D}BK(C|0,g|0,h)|0;a[C+h|0]=0}h=pp(j|0,p)|0;if((h|0)==0){E=0}else{E=VJ(h,46112,47328,-1)|0}if(!((a[p]&1)==0)){iK(c[p+8>>2]|0)}if((E|0)==0){if((a[k]&1)==0){F=m+1|0}else{F=c[m+8>>2]|0}ee(18656,(G=i,i=i+8|0,c[G>>2]=F,G)|0);i=G}if((a[k]&1)==0){A=E;break}iK(c[m+8>>2]|0);A=E}}while(0);Nv(q,d,18968);do{if((Bv(q)|0)!=0){Nv(t,d,18968);E=Ev(t)|0;m=AK(E|0)|0;if(m>>>0>4294967279>>>0){GA(0);return 0}if(m>>>0<11>>>0){a[s]=m<<1;H=s+1|0}else{F=m+16&-16;p=gK(F)|0;c[s+8>>2]=p;c[s>>2]=F|1;c[s+4>>2]=m;H=p}BK(H|0,E|0,m)|0;a[H+m|0]=0;$k(r,0,s);if(!((a[s]&1)==0)){iK(c[s+8>>2]|0)}m=c[x>>2]|0;E=r;if((a[E]&1)==0){p=u;c[p>>2]=c[E>>2];c[p+4>>2]=c[E+4>>2];c[p+8>>2]=c[E+8>>2]}else{p=c[r+8>>2]|0;F=c[r+4>>2]|0;if(F>>>0>4294967279>>>0){GA(0);return 0}if(F>>>0<11>>>0){a[u]=F<<1;I=u+1|0}else{C=F+16&-16;n=gK(C)|0;c[u+8>>2]=n;c[u>>2]=C|1;c[u+4>>2]=F;I=n}BK(I|0,p|0,F)|0;a[I+F|0]=0}F=pp(m|0,u)|0;if((F|0)==0){J=0}else{J=VJ(F,46112,47328,-1)|0}if(!((a[u]&1)==0)){iK(c[u+8>>2]|0)}F=(J|0)==0;if(F){if((a[E]&1)==0){K=r+1|0}else{K=c[r+8>>2]|0}ee(18576,(G=i,i=i+8|0,c[G>>2]=K,G)|0);i=G}if(!((a[E]&1)==0)){iK(c[r+8>>2]|0)}if((A|0)==0|F){break}F=xp(A|0,46304,-1)|0;if((F|0)==0){L=0}else{L=VJ(F,46112,47328,-1)|0}F=xp(J|0,46304,-1)|0;do{if((F|0)!=0){E=VJ(F,46112,47328,-1)|0;if((L|0)==0|(E|0)==0){break}m=c[L+16>>2]|0;if((m|0)!=(c[E+16>>2]|0)){break}if((m|0)==0){M=0}else{M=VJ(m,46112,46304,-1)|0}m=kp(L|0)|0;p=kp(E)|0;E=A+32|0;if((a[E]&1)==0){n=w;c[n>>2]=c[E>>2];c[n+4>>2]=c[E+4>>2];c[n+8>>2]=c[E+8>>2];N=a[n]|0;O=n}else{n=c[A+40>>2]|0;E=c[A+36>>2]|0;if(E>>>0>4294967279>>>0){GA(0);return 0}if(E>>>0<11>>>0){C=E<<1&255;B=w;a[B]=C;P=w+1|0;Q=C;R=B}else{B=E+16&-16;C=gK(B)|0;c[w+8>>2]=C;o=B|1;c[w>>2]=o;c[w+4>>2]=E;P=C;Q=o&255;R=w}BK(P|0,n|0,E)|0;a[P+E|0]=0;N=Q;O=R}if((N&1)==0){S=w+1|0}else{S=c[w+8>>2]|0}$d(18448,(G=i,i=i+24|0,c[G>>2]=m,c[G+8>>2]=p,c[G+16>>2]=S,G)|0);i=G;if(!((a[O]&1)==0)){iK(c[w+8>>2]|0)}E=M|0;if((p|0)>=(m|0)){n=p;do{p=np(E,n)|0;if((p|0)==0){T=0}else{T=VJ(p,46112,47328,-1)|0}lv(y,T);n=n-1|0;}while((n|0)>=(m|0))}lp(E,z,m);U=1;i=e;return U|0}}while(0);F=b+32|0;if((a[F]&1)==0){n=v;c[n>>2]=c[F>>2];c[n+4>>2]=c[F+4>>2];c[n+8>>2]=c[F+8>>2];V=a[n]|0;W=n}else{n=c[b+40>>2]|0;F=c[b+36>>2]|0;if(F>>>0>4294967279>>>0){GA(0);return 0}if(F>>>0<11>>>0){p=F<<1&255;o=v;a[o]=p;X=v+1|0;Y=p;Z=o}else{o=F+16&-16;p=gK(o)|0;c[v+8>>2]=p;C=o|1;c[v>>2]=C;c[v+4>>2]=F;X=p;Y=C&255;Z=v}BK(X|0,n|0,F)|0;a[X+F|0]=0;V=Y;W=Z}if((V&1)==0){_=v+1|0}else{_=c[v+8>>2]|0}ee(18464,(G=i,i=i+8|0,c[G>>2]=_,G)|0);i=G;if(!((a[W]&1)==0)){iK(c[v+8>>2]|0)}if((b|0)==0){U=0;i=e;return U|0}ad[c[(c[b>>2]|0)+4>>2]&2047](y);U=0;i=e;return U|0}}while(0);if((b|0)==0){U=0;i=e;return U|0}ad[c[(c[b>>2]|0)+4>>2]&2047](y);U=0;i=e;return U|0}function _k(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;e=i;i=i+128|0;f=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[f>>2];f=e|0;g=e+8|0;h=e+24|0;j=e+40|0;k=e+48|0;l=e+64|0;m=e+72|0;n=e+88|0;o=e+104|0;p=e+112|0;q=b+156|0;if((c[q>>2]|0)==0){yc(22016,18552,1550,23008);return 0}Nv(f,d,19080);do{if((Bv(f)|0)==0){r=0}else{Nv(j,d,19080);b=Ev(j)|0;s=AK(b|0)|0;if(s>>>0>4294967279>>>0){GA(0);return 0}if(s>>>0<11>>>0){a[h]=s<<1;t=h+1|0}else{u=s+16&-16;v=gK(u)|0;c[h+8>>2]=v;c[h>>2]=u|1;c[h+4>>2]=s;t=v}BK(t|0,b|0,s)|0;a[t+s|0]=0;$k(g,0,h);if(!((a[h]&1)==0)){iK(c[h+8>>2]|0)}s=c[q>>2]|0;b=g;if((a[b]&1)==0){v=k;c[v>>2]=c[b>>2];c[v+4>>2]=c[b+4>>2];c[v+8>>2]=c[b+8>>2]}else{v=c[g+8>>2]|0;u=c[g+4>>2]|0;if(u>>>0>4294967279>>>0){GA(0);return 0}if(u>>>0<11>>>0){a[k]=u<<1;w=k+1|0}else{x=u+16&-16;y=gK(x)|0;c[k+8>>2]=y;c[k>>2]=x|1;c[k+4>>2]=u;w=y}BK(w|0,v|0,u)|0;a[w+u|0]=0}u=pp(s|0,k)|0;if((u|0)==0){z=0}else{z=VJ(u,46112,47328,-1)|0}if(!((a[k]&1)==0)){iK(c[k+8>>2]|0)}if((z|0)==0){A=35}else{if(!(Im(z)|0)){A=35}}if((A|0)==35){if((a[b]&1)==0){B=g+1|0}else{B=c[g+8>>2]|0}ee(19e3,(C=i,i=i+8|0,c[C>>2]=B,C)|0);i=C}if((a[b]&1)==0){r=z;break}iK(c[g+8>>2]|0);r=z}}while(0);Nv(l,d,18968);do{if((Bv(l)|0)==0){D=0}else{Nv(o,d,18968);z=Ev(o)|0;g=AK(z|0)|0;if(g>>>0>4294967279>>>0){GA(0);return 0}if(g>>>0<11>>>0){a[n]=g<<1;E=n+1|0}else{B=g+16&-16;k=gK(B)|0;c[n+8>>2]=k;c[n>>2]=B|1;c[n+4>>2]=g;E=k}BK(E|0,z|0,g)|0;a[E+g|0]=0;$k(m,0,n);if(!((a[n]&1)==0)){iK(c[n+8>>2]|0)}g=c[q>>2]|0;z=m;if((a[z]&1)==0){k=p;c[k>>2]=c[z>>2];c[k+4>>2]=c[z+4>>2];c[k+8>>2]=c[z+8>>2]}else{k=c[m+8>>2]|0;B=c[m+4>>2]|0;if(B>>>0>4294967279>>>0){GA(0);return 0}if(B>>>0<11>>>0){a[p]=B<<1;F=p+1|0}else{w=B+16&-16;h=gK(w)|0;c[p+8>>2]=h;c[p>>2]=w|1;c[p+4>>2]=B;F=h}BK(F|0,k|0,B)|0;a[F+B|0]=0}B=pp(g|0,p)|0;if((B|0)==0){G=0}else{G=VJ(B,46112,47328,-1)|0}if(!((a[p]&1)==0)){iK(c[p+8>>2]|0)}if((G|0)==0){A=75}else{if(!(Im(G)|0)){A=75}}if((A|0)==75){if((a[z]&1)==0){H=m+1|0}else{H=c[m+8>>2]|0}ee(18904,(C=i,i=i+8|0,c[C>>2]=H,C)|0);i=C}if((a[z]&1)==0){D=G;break}iK(c[m+8>>2]|0);D=G}}while(0);G=(r|0)==0;if(G){I=0}else{I=VJ(r,47328,46464,-1)|0}if((D|0)==0){J=0;i=e;return J|0}r=VJ(D,47328,46464,-1)|0;if(G|(I|0)==0|(r|0)==0){J=0;i=e;return J|0}Uo(I);Vo(r,I);J=1;i=e;return J|0}function $k(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;e=i;i=i+16|0;g=e|0;h=f;j=a[h]|0;k=(j&1)==0;if(k){l=f+1|0;m=(j&255)>>>1}else{l=c[f+8>>2]|0;m=c[f+4>>2]|0}n=l+m|0;while(1){if((n|0)==(l|0)){break}o=n-1|0;if((lb(18280,d[o]|0|0,1)|0)==0){n=o}else{p=7;break}}do{if((p|0)==7){n=o-l|0;if((n|0)==-1){break}if(k){q=(j&255)>>>1}else{q=c[f+4>>2]|0}if(!(n>>>0<(q-1|0)>>>0)){break}LA(g,f,n+1|0,-1,0);NA(f,g)|0;if((a[g]&1)==0){break}iK(c[g+8>>2]|0)}}while(0);if((a[h]&1)==0){g=b;c[g>>2]=c[h>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];i=e;return}h=c[f+8>>2]|0;g=c[f+4>>2]|0;if(g>>>0>4294967279>>>0){GA(0)}if(g>>>0<11>>>0){a[b]=g<<1;r=b+1|0}else{f=g+16&-16;q=gK(f)|0;c[b+8>>2]=q;c[b>>2]=f|1;c[b+4>>2]=g;r=q}BK(r|0,h|0,g)|0;a[r+g|0]=0;i=e;return}function al(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;d=a+4|0;e=a|0;f=c[e>>2]|0;g=f;h=(c[d>>2]|0)-g|0;i=h>>2;j=i+1|0;if(j>>>0>1073741823>>>0){tG(0)}k=a+8|0;a=(c[k>>2]|0)-g|0;if(a>>2>>>0<536870911>>>0){g=a>>1;a=g>>>0>>0?j:g;if((a|0)==0){l=0;m=0}else{n=a;o=5}}else{n=1073741823;o=5}if((o|0)==5){l=gK(n<<2)|0;m=n}n=l+(i<<2)|0;if((n|0)!=0){c[n>>2]=c[b>>2]}b=f;BK(l|0,b|0,h)|0;c[e>>2]=l;c[d>>2]=l+(j<<2);c[k>>2]=l+(m<<2);if((f|0)==0){return}iK(b);return}function bl(b){b=b|0;var d=0;c[b>>2]=27236;c[b+64>>2]=27276;c[b+8>>2]=27256;d=b+12|0;c[d>>2]=27416;if(!((a[b+44|0]&1)==0)){iK(c[b+52>>2]|0)}c[d>>2]=27560;BG(b+16|0);fB(b+64|0);return}function cl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;e=i;i=i+40|0;f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=e+32|0;a[g]=d;d=h|0;a[d]=0;c[h+4>>2]=b;l=b;m=c[(c[l>>2]|0)-12>>2]|0;n=b;do{if((c[n+(m+16)>>2]|0)==0){o=c[n+(m+72)>>2]|0;if((o|0)==0){p=m}else{RB(o)|0;p=c[(c[l>>2]|0)-12>>2]|0}a[d]=1;c[j>>2]=c[n+(p+24)>>2];o=n+p|0;q=c[n+(p+4)>>2]|0;r=g+1|0;s=n+(p+76)|0;t=c[s>>2]|0;if((t|0)==-1){iB(f,o);u=DG(f,53416)|0;v=qd[c[(c[u>>2]|0)+28>>2]&255](u,32)|0;BG(f);c[s>>2]=v<<24>>24;w=v}else{w=t&255}Di(k,j,g,(q&176|0)==32?r:g,r,o,w);if((c[k>>2]|0)!=0){break}o=c[(c[l>>2]|0)-12>>2]|0;eB(n+o|0,c[n+(o+16)>>2]|5)}}while(0);hC(h);i=e;return b|0}function dl(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[d+48>>2]|0;if((e&16|0)!=0){f=d+44|0;g=c[f>>2]|0;h=c[d+24>>2]|0;if(g>>>0>>0){c[f>>2]=h;i=h}else{i=g}g=c[d+20>>2]|0;h=g;f=i-h|0;if(f>>>0>4294967279>>>0){GA(0)}if(f>>>0<11>>>0){a[b]=f<<1;j=b+1|0}else{k=f+16&-16;l=gK(k)|0;c[b+8>>2]=l;c[b>>2]=k|1;c[b+4>>2]=f;j=l}if((g|0)==(i|0)){m=j}else{l=j;f=g;while(1){a[l]=a[f]|0;g=f+1|0;if((g|0)==(i|0)){break}else{l=l+1|0;f=g}}m=j+(i+(-h|0))|0}a[m]=0;return}if((e&8|0)==0){DK(b|0,0,12)|0;return}e=c[d+8>>2]|0;m=c[d+16>>2]|0;d=e;h=m-d|0;if(h>>>0>4294967279>>>0){GA(0)}if(h>>>0<11>>>0){a[b]=h<<1;n=b+1|0}else{i=h+16&-16;j=gK(i)|0;c[b+8>>2]=j;c[b>>2]=i|1;c[b+4>>2]=h;n=j}if((e|0)==(m|0)){o=n}else{j=n;h=e;while(1){a[j]=a[h]|0;e=h+1|0;if((e|0)==(m|0)){break}else{j=j+1|0;h=e}}o=n+(m+(-d|0))|0}a[o]=0;return}function el(b){b=b|0;var d=0;c[b>>2]=27236;c[b+64>>2]=27276;c[b+8>>2]=27256;d=b+12|0;c[d>>2]=27416;if(!((a[b+44|0]&1)==0)){iK(c[b+52>>2]|0)}c[d>>2]=27560;BG(b+16|0);fB(b+64|0);iK(b);return}function fl(b){b=b|0;var d=0,e=0;d=b-144+136|0;c[d>>2]=27236;b=d+64|0;c[b>>2]=27276;c[d+8>>2]=27256;e=d+12|0;c[e>>2]=27416;if(!((a[d+44|0]&1)==0)){iK(c[d+52>>2]|0)}c[e>>2]=27560;BG(d+16|0);fB(b);return}function gl(b){b=b|0;var d=0,e=0;d=b-144+136|0;c[d>>2]=27236;b=d+64|0;c[b>>2]=27276;c[d+8>>2]=27256;e=d+12|0;c[e>>2]=27416;if(!((a[d+44|0]&1)==0)){iK(c[d+52>>2]|0)}c[e>>2]=27560;BG(d+16|0);fB(b);iK(d);return}function hl(b){b=b|0;var d=0,e=0,f=0;d=b;e=c[(c[b>>2]|0)-12>>2]|0;c[d+e>>2]=27236;b=d+(e+64)|0;c[b>>2]=27276;c[d+(e+8)>>2]=27256;f=d+(e+12)|0;c[f>>2]=27416;if(!((a[d+(e+44)|0]&1)==0)){iK(c[d+(e+52)>>2]|0)}c[f>>2]=27560;BG(d+(e+16)|0);fB(b);return}function il(b){b=b|0;var d=0,e=0,f=0,g=0;d=b;e=c[(c[b>>2]|0)-12>>2]|0;b=d+e|0;c[b>>2]=27236;f=d+(e+64)|0;c[f>>2]=27276;c[d+(e+8)>>2]=27256;g=d+(e+12)|0;c[g>>2]=27416;if(!((a[d+(e+44)|0]&1)==0)){iK(c[d+(e+52)>>2]|0)}c[g>>2]=27560;BG(d+(e+16)|0);fB(f);iK(b);return}function jl(a,b,d){a=a|0;b=b|0;d=d|0;c[a+156>>2]=25792;ak(a,38252,b);c[a>>2]=29716;c[a+156>>2]=29744;b=a+116|0;DK(b|0,0,12)|0;c[a+144>>2]=0;c[a+148>>2]=0;c[a+152>>2]=0;NA(b,d)|0;DK(a+128|0,0,16)|0;return}function kl(a){a=a|0;ll(a);iK(a);return}function ll(b){b=b|0;var d=0,e=0,f=0;c[b>>2]=29716;c[b+156>>2]=29744;d=c[b+144>>2]|0;if((d|0)!=0){e=b+148|0;f=c[e>>2]|0;if((f|0)!=(d|0)){c[e>>2]=f+(~((f-4+(-d|0)|0)>>>2)<<2)}iK(d)}if(!((a[b+116|0]&1)==0)){iK(c[b+124>>2]|0)}ek(b,38252);fB(b+156|0);return}function ml(a){a=a|0;var b=0;b=a+(c[(c[a>>2]|0)-12>>2]|0)|0;ll(b);iK(b);return}function nl(a){a=a|0;ll(a+(c[(c[a>>2]|0)-12>>2]|0)|0);return}function ol(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;d=i;i=i+192|0;e=d|0;f=e|0;g=e+8|0;c[f>>2]=47780;h=e+108|0;c[h>>2]=47800;c[e+4>>2]=0;j=e+108|0;jB(j,g);c[e+180>>2]=0;c[e+184>>2]=-1;c[f>>2]=27636;c[e+108>>2]=27656;Wi(g);k=b+116|0;if((a[k]&1)==0){l=k+1|0}else{l=c[b+124>>2]|0}k=e+72|0;do{if((c[k>>2]|0)==0){m=Xb(l|0,13264)|0;c[k>>2]=m;if((m|0)==0){n=13;break}c[e+96>>2]=8;eB(e+(c[(c[e>>2]|0)-12>>2]|0)|0,0)}else{n=13}}while(0);if((n|0)==13){n=c[(c[e>>2]|0)-12>>2]|0;k=e;eB(k+n|0,c[k+(n+16)>>2]|4)}pl(b,e);c[f>>2]=27636;c[h>>2]=27656;Mi(g);fB(j);i=d;return 1}function pl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,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;e=i;i=i+15416|0;f=e|0;g=e+16|0;h=e+24|0;j=e+2072|0;k=e+5144|0;l=e+15152|0;m=e+15216|0;n=e+15272|0;o=e+15288|0;p=e+15352|0;q=h|0;DK(q|0,0,1024)|0;r=e+1048|0;DK(r|0,0,1024)|0;s=j|0;DK(s|0,0,1024)|0;t=e+3096|0;DK(t|0,0,1024)|0;u=e+4120|0;DK(u|0,0,1024)|0;v=k|0;DK(v|0,0,10001)|0;w=l+12|0;DK(w|0,0,36)|0;x=l+24|0;y=l+28|0;z=l+36|0;A=l+40|0;B=l+16|0;c[l+48>>2]=0;C=l|0;c[C>>2]=0;D=l+4|0;c[D>>2]=0;E=l+8|0;c[E>>2]=0;F=l+52|0;c[F>>2]=0;G=l+60|0;c[G>>2]=0;H=l+56|0;c[H>>2]=-1;I=m+16|0;c[I>>2]=0;a[m+21|0]=0;J=m+20|0;a[J]=0;K=m+12|0;a[K]=0;c[m+8>>2]=0;L=m+22|0;a[L]=4;M=m+23|0;a[M]=0;c[m+24>>2]=0;a[m+28|0]=0;N=m+32|0;c[N>>2]=0;c[m+36>>2]=0;a[m+40|0]=0;c[m>>2]=0;c[m+4>>2]=0;O=m+44|0;c[O>>2]=0;P=m+48|0;c[P>>2]=0;Q=m+52|0;c[Q>>2]=0;R=n|0;c[R>>2]=0;S=n+4|0;c[S>>2]=0;T=n+8|0;c[T>>2]=0;U=d;V=c[(c[U>>2]|0)-12>>2]|0;W=d;a:do{if((c[W+(V+16)>>2]&2|0)==0){X=V;do{iB(g,W+X|0);Y=DG(g,53416)|0;Z=qd[c[(c[Y>>2]|0)+28>>2]&255](Y,10)|0;BG(g);WB(d,55224,1e4,Z)|0;if((c[W+((c[(c[U>>2]|0)-12>>2]|0)+16)>>2]&2|0)!=0){$d(7416,(_=i,i=i+1|0,i=i+7&-8,c[_>>2]=0,_)|0);i=_}rl(0,65280,68504,55224);if((yK(65280,17024)|0)==0){break a}do{if((yK(65280,14576)|0)==0){EK(q|0,68504)|0}else{if((yK(65280,12688)|0)==0){EK(r|0,68504)|0;break}if((yK(65280,11664)|0)==0){EK(s|0,68504)|0;break}if((yK(65280,10712)|0)==0){EK(t|0,68504)|0;break}if((yK(65280,9632)|0)==0){EK(u|0,68504)|0;break}if((yK(65280,8888)|0)!=0){break}EK(v|0,68504)|0}}while(0);X=c[(c[U>>2]|0)-12>>2]|0;}while((c[W+(X+16)>>2]&2|0)==0)}}while(0);if((a[q]|0)!=0){W=gK(192)|0;U=W;Jh(U);u=AK(q|0)|0;b:do{if((u|0)>0){r=0;d=71;while(1){if((r|0)==0){$=a[q]|0}else if((r|0)==2){aa=38;break}else{$=d}g=r+1|0;if((g|0)<(u|0)&(g|0)<3){r=g;d=$}else{ba=$;ca=50;break}}if((aa|0)==38){ba=d;ca=a[h+2|0]|0}switch(ba<<24>>24){case 103:{c[W+168>>2]=1;a[W+176|0]=ca-48;c[W+184>>2]=8;c[W+188>>2]=1;break b;break};case 71:{da=ca;aa=42;break b;break};case 67:case 99:{c[W+168>>2]=4;a[W+176|0]=ca-48;break b;break};case 70:case 102:{c[W+168>>2]=3;a[W+176|0]=ca-48;break b;break};default:{$d(16528,(_=i,i=i+8|0,c[_>>2]=ba<<24>>24,_)|0);i=_;break b}}}else{da=50;aa=42}}while(0);if((aa|0)==42){c[W+168>>2]=1;a[W+176|0]=da-48}c[C>>2]=U}if((a[s]|0)!=0){U=gK(172)|0;da=U;Ol(da);W=AK(s|0)|0;c:do{if((W|0)>0){s=U+168|0;ba=0;ca=0;while(1){switch(a[j+ca|0]|0){case 98:{a[s]=2;ea=ba;break};case 120:{a[s]=1;ea=ba;break};case 70:case 67:case 71:case 68:case 65:case 69:case 66:{ea=ba+1|0;break};default:{fa=ba;break c}}h=ca+1|0;if((h|0)<(W|0)){ba=ea;ca=h}else{fa=ea;break c}}}else{fa=0}}while(0);c[U+164>>2]=fa;c[E>>2]=da}if((a[t]|0)!=0){da=gK(180)|0;zn(da);sl(0,t,da,0)|0;c[D>>2]=da}da=AK(v|0)|0;if((da|0)>0){t=f|0;f=l+12|0;fa=o+12|0;U=o+16|0;ea=o+60|0;W=o+36|0;j=o+24|0;ca=o+28|0;ba=o+40|0;s=o+20|0;d=f|0;h=0;$=0;while(1){u=((a[k+h|0]|0)==32)+h|0;q=k+u|0;r=a[q]|0;d:do{if((r<<24>>24|0)==39|(r<<24>>24|0)==44){g=AK(v|0)|0;if((r<<24>>24|0)==39){V=u;X=4;while(1){Z=V+1|0;if((Z|0)>=(g|0)){break}if((a[k+Z|0]|0)==39){V=Z;X=X+1&255}else{break}}a[L]=X;ga=$;ha=V;break}else if((r<<24>>24|0)==44){Z=u;Y=3;while(1){ia=Z+1|0;if((ia|0)>=(g|0)){break}if((a[k+ia|0]|0)==44){Z=ia;Y=Y-1&255}else{break}}a[L]=Y;ga=$;ha=Z;break}else{ga=$;ha=u;break}}else{if((Ec(r<<24>>24|0)|0)!=0){ga=$;ha=(tl(b,v,l,u)|0)+u|0;break}g=a[q]|0;e:do{switch(g<<24>>24){case 59:case 41:{a[J]=0;ga=$;ha=u;break d;break};case 103:case 113:{V=AK(v|0)|0;if((g<<24>>24|0)==103){a[K]=1;ga=$;ha=u;break d}else if((g<<24>>24|0)!=113){ga=$;ha=u;break d}c[I>>2]=1;X=u+1|0;if((X|0)>=(V|0)){ga=$;ha=u;break d}if((a[k+X|0]|0)==113){ja=113;ka=1;la=X}else{ga=$;ha=u;break d}while(1){if(((ja<<24>>24)-65|0)>>>0<7>>>0){ia=ka+1|0;c[I>>2]=ia;ma=ia}else{ma=ka}ia=la+1|0;if((ia|0)>=(V|0)){ga=$;ha=X;break d}na=a[k+ia|0]|0;if(na<<24>>24==114){ga=$;ha=X;break d}else{ja=na;ka=ma;la=ia}}break};case 114:{c[I>>2]=0;ga=$;ha=u;break d;break};case 123:{a[M]=1;ga=$+1|0;ha=u;break d;break};case 125:{if(($|0)<=0){oa=125;break e}X=c[w>>2]|0;a[X+(((((c[B>>2]|0)-X|0)/56|0)-1|0)*56|0)+23|0]=4;a[M]=0;ga=$-1|0;ha=u;break d;break};case 40:{ul(0,v,m,u)|0;ga=$;ha=u;break d;break};case 110:case 120:case 98:{X=AK(v|0)|0;if((g<<24>>24|0)==98){c[N>>2]=2;V=u+1|0;if((V|0)>=(X|0)){ga=$;ha=u;break d}if((a[k+V|0]|0)!=98){ga=$;ha=u;break d}c[N>>2]=5;ga=$;ha=V;break d}else if((g<<24>>24|0)==110){c[N>>2]=9;ga=$;ha=u;break d}else if((g<<24>>24|0)==120){c[N>>2]=1;V=u+1|0;if((V|0)>=(X|0)){ga=$;ha=u;break d}if((a[k+V|0]|0)!=120){ga=$;ha=u;break d}c[N>>2]=3;ga=$;ha=V;break d}else{ga=$;ha=u;break d}break};case 43:case 116:{ga=$;ha=u;break d;break};default:{oa=g}}}while(0);f:do{if(!(((oa<<24>>24)-65|0)>>>0<7>>>0)){switch(oa<<24>>24){case 33:{ga=$;ha=(wl(0,v,l,u)|0)+u|0;break d;break};case 105:{g=c[R>>2]|0;Z=(c[S>>2]|0)-g>>6;if((Z|0)==0){ga=$;ha=u;break d}Ml(o,g+(Z-1<<6)|0);Kl(f,c[fa>>2]|0,c[U>>2]|0);c[G>>2]=c[ea>>2];Z=c[fa>>2]|0;do{if((c[U>>2]|0)!=(Z|0)){if((c[Z+(((((c[s>>2]|0)-Z|0)/56|0)-1|0)*56|0)+8>>2]|0)!=0){break}c[(c[d>>2]|0)+8>>2]=0}}while(0);Z=c[W>>2]|0;if((Z|0)!=0){g=c[ba>>2]|0;if((g|0)!=(Z|0)){c[ba>>2]=g+(~((g-4+(-Z|0)|0)>>>2)<<2)}iK(Z)}Z=c[j>>2]|0;if((Z|0)!=0){g=c[ca>>2]|0;if((g|0)!=(Z|0)){c[ca>>2]=g+(~((g-4+(-Z|0)|0)>>>2)<<2)}iK(Z)}Z=c[fa>>2]|0;if((Z|0)==0){ga=$;ha=u;break d}g=c[U>>2]|0;if((g|0)!=(Z|0)){c[U>>2]=g+(~(((g-56+(-Z|0)|0)>>>0)/56|0)*56|0)}iK(Z);ga=$;ha=u;break d;break};case 64:{Z=u+1|0;if((Z|0)>=(da|0)){ga=$;ha=u;break d}g=gK(180)|0;zn(g);Y=(sl(0,v,g,Z)|0)+u|0;if((c[B>>2]|0)==(c[w>>2]|0)){Z=c[D>>2]|0;if((Z|0)!=0){ad[c[(c[Z>>2]|0)+4>>2]&2047](Z)}c[D>>2]=g;ga=$;ha=Y;break d}else{Z=c[P>>2]|0;if((Z|0)!=0){ad[c[(c[Z>>2]|0)+4>>2]&2047](Z)}c[P>>2]=g;ga=$;ha=Y;break d}break};case 45:{break f;break};case 61:{Y=AK(v|0)|0;c[G>>2]=1;g=u+1|0;if((g|0)>=(Y|0)){ga=$;ha=u;break d}Y=k+g|0;if(!(((a[Y]|0)-48|0)>>>0<10>>>0)){ga=$;ha=u;break d}xc(Y|0,16472,(_=i,i=i+8|0,c[_>>2]=G,_)|0)|0;i=_;DK(t|0,0,10)|0;Ab(t|0,16472,(_=i,i=i+8|0,c[_>>2]=c[G>>2],_)|0)|0;i=_;ga=$;ha=(AK(t|0)|0)+u|0;break d;break};case 37:{Y=u+1|0;if((Y|0)>=(da|0)){ga=$;ha=u;break d}g=gK(192)|0;Z=g;Jh(Z);V=AK(v|0)|0;g:do{if((V|0)>(Y|0)){X=Y-V|0;ia=X>>>0>4294967293>>>0;na=Y;pa=0;qa=71;while(1){if((pa|0)==0){ra=a[k+na|0]|0}else if((pa|0)==2){aa=156;break}else{ra=qa}sa=pa+1|0;ta=na+1|0;if((ta|0)<(V|0)&(sa|0)<3){na=ta;pa=sa;qa=ra}else{ua=ra;va=50;break}}if((aa|0)==156){aa=0;ua=qa;va=a[k+na|0]|0}pa=ia?-X|0:3;switch(ua<<24>>24){case 67:case 99:{c[g+168>>2]=4;a[g+176|0]=va-48;wa=pa;break g;break};case 71:{xa=va;ya=pa;aa=160;break g;break};case 103:{c[g+168>>2]=1;a[g+176|0]=va-48;c[g+184>>2]=8;c[g+188>>2]=1;wa=pa;break g;break};case 70:case 102:{c[g+168>>2]=3;a[g+176|0]=va-48;wa=pa;break g;break};default:{$d(16528,(_=i,i=i+8|0,c[_>>2]=ua<<24>>24,_)|0);i=_;wa=pa;break g}}}else{xa=50;ya=0;aa=160}}while(0);if((aa|0)==160){aa=0;c[g+168>>2]=1;a[g+176|0]=xa-48;wa=ya}V=wa+u|0;if((c[B>>2]|0)==(c[w>>2]|0)){Y=c[C>>2]|0;if((Y|0)!=0){ad[c[(c[Y>>2]|0)+4>>2]&2047](Y)}c[C>>2]=Z;ga=$;ha=V;break d}else{Y=c[O>>2]|0;if((Y|0)!=0){ad[c[(c[Y>>2]|0)+4>>2]&2047](Y)}c[O>>2]=Z;ga=$;ha=V;break d}break};case 58:case 47:{V=xl(0,v,F,u)|0;c[H>>2]=0;Y=c[S>>2]|0;if((Y|0)==(c[T>>2]|0)){Jl(n,l)}else{if((Y|0)==0){za=0}else{Ml(Y,l);za=c[S>>2]|0}c[S>>2]=za+64}c[C>>2]=0;c[D>>2]=0;c[E>>2]=0;Y=c[w>>2]|0;pa=c[B>>2]|0;if((pa|0)!=(Y|0)){c[B>>2]=pa+(~(((pa-56+(-Y|0)|0)>>>0)/56|0)*56|0)}c[F>>2]=0;c[G>>2]=0;c[H>>2]=-1;ga=$;ha=V+u|0;break d;break};case 36:{V=u+1|0;if((V|0)>=(da|0)){ga=$;ha=u;break d}Y=gK(172)|0;pa=Y;Ol(pa);sa=AK(v|0)|0;h:do{if((sa|0)>(V|0)){ta=Y+168|0;Aa=0;Ba=V;while(1){switch(a[k+Ba|0]|0){case 98:{a[ta]=2;Ca=Aa;break};case 120:{a[ta]=1;Ca=Aa;break};case 70:case 67:case 71:case 68:case 65:case 69:case 66:{Ca=Aa+1|0;break};default:{Da=Aa;Ea=Ba;break h}}Fa=Ba+1|0;if((Fa|0)<(sa|0)){Aa=Ca;Ba=Fa}else{Da=Ca;Ea=Fa;break h}}}else{Da=0;Ea=V}}while(0);c[Y+164>>2]=Da;sa=Ea-V+u|0;if((c[B>>2]|0)==(c[w>>2]|0)){Z=c[E>>2]|0;if((Z|0)!=0){ad[c[(c[Z>>2]|0)+4>>2]&2047](Z)}c[E>>2]=pa;ga=$;ha=sa;break d}else{Z=c[Q>>2]|0;if((Z|0)!=0){ad[c[(c[Z>>2]|0)+4>>2]&2047](Z)}c[Q>>2]=pa;ga=$;ha=sa;break d}break};default:{ga=$;ha=u;break d}}}}while(0);vl(b,v,m,l,u)|0;ga=$;ha=u}}while(0);u=ha+1|0;if((u|0)<(da|0)){h=u;$=ga}else{break}}}do{if((c[B>>2]|0)!=(c[w>>2]|0)){ga=c[S>>2]|0;if((ga|0)==(c[T>>2]|0)){Jl(n,l)}else{if((ga|0)==0){Ga=0}else{Ml(ga,l);Ga=c[S>>2]|0}c[S>>2]=Ga+64}ga=c[w>>2]|0;$=c[B>>2]|0;if(($|0)==(ga|0)){break}c[B>>2]=$+(~((($-56+(-ga|0)|0)>>>0)/56|0)*56|0)}}while(0);Ga=b+108|0;kj(c[Ga>>2]|0,0);l=gK(280)|0;$p(l);n=gK(244)|0;Du(n);T=c[R>>2]|0;if(T>>>0<(c[S>>2]|0)>>>0){ga=b+128|0;$=b+132|0;h=b+136|0;da=p+36|0;ha=p+24|0;m=p+12|0;v=p+16|0;Q=p+28|0;E=p+40|0;Ea=T;T=1;while(1){Da=gK(176)|0;wt(Da,1);c[ga>>2]=Da;Da=gK(628)|0;og(Da,1,T);c[$>>2]=Da;Da=gK(400)|0;Ca=Da;hm(Ca);c[h>>2]=Ca;c[Da+160>>2]=1;xt(c[ga>>2]|0,Ca);xg(c[$>>2]|0,c[ga>>2]|0);Eu(n,c[$>>2]|0);Ml(p,Ea);yl(b,p);Ca=c[da>>2]|0;if((Ca|0)!=0){Da=c[E>>2]|0;if((Da|0)!=(Ca|0)){c[E>>2]=Da+(~((Da-4+(-Ca|0)|0)>>>2)<<2)}iK(Ca)}Ca=c[ha>>2]|0;if((Ca|0)!=0){Da=c[Q>>2]|0;if((Da|0)!=(Ca|0)){c[Q>>2]=Da+(~((Da-4+(-Ca|0)|0)>>>2)<<2)}iK(Ca)}Ca=c[m>>2]|0;if((Ca|0)!=0){Da=c[v>>2]|0;if((Da|0)!=(Ca|0)){c[v>>2]=Da+(~(((Da-56+(-Ca|0)|0)>>>0)/56|0)*56|0)}iK(Ca)}Ca=Ea+64|0;if(Ca>>>0<(c[S>>2]|0)>>>0){Ea=Ca;T=T+1|0}else{break}}}T=gK(108)|0;Ss(T);Ea=gK(116)|0;v=Ea;bt(v);c[Ea+104>>2]=1;Ys(T,v);Ms((c[Ga>>2]|0)+156|0,T);eq(l,n);oj(c[Ga>>2]|0,l);l=c[R>>2]|0;if((l|0)!=0){while(1){Ga=c[S>>2]|0;if((Ga|0)==(l|0)){break}n=Ga-64|0;c[S>>2]=n;Ll(n)}iK(c[R>>2]|0)}R=c[z>>2]|0;if((R|0)!=0){z=c[A>>2]|0;if((z|0)!=(R|0)){c[A>>2]=z+(~((z-4+(-R|0)|0)>>>2)<<2)}iK(R)}R=c[x>>2]|0;if((R|0)!=0){x=c[y>>2]|0;if((x|0)!=(R|0)){c[y>>2]=x+(~((x-4+(-R|0)|0)>>>2)<<2)}iK(R)}R=c[w>>2]|0;if((R|0)==0){i=e;return}w=c[B>>2]|0;if((w|0)!=(R|0)){c[B>>2]=w+(~(((w-56+(-R|0)|0)>>>0)/56|0)*56|0)}iK(R);i=e;return}function ql(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;i=i+144|0;f=e|0;g=f|0;h=f+8|0;c[g>>2]=47700;j=f+60|0;c[j>>2]=47720;c[f+4>>2]=0;k=f+60|0;jB(k,h);c[f+132>>2]=0;c[f+136>>2]=-1;c[g>>2]=27140;c[f+60>>2]=27160;l=h|0;c[l>>2]=27560;m=f+12|0;zG(m);DK(f+16|0,0,24)|0;c[l>>2]=27416;l=f+40|0;DK(l|0,0,16)|0;c[f+56>>2]=8;ij(h,d);pl(b,f);c[g>>2]=27140;c[j>>2]=27160;j=f+8|0;c[j>>2]=27416;if(!((a[l]&1)==0)){iK(c[f+48>>2]|0)}c[j>>2]=27560;BG(m);fB(k);i=e;return 1}function rl(b,c,d,e){b=b|0;c=c|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;b=AK(e|0)|0;DK(c|0,0,1024)|0;DK(d|0,0,1024)|0;if((b|0)==0){return}else{f=0}while(1){g=e+f|0;if((f|0)>=(b|0)){break}if((Za(a[g]|0)|0)==0){break}else{f=f+1|0}}if((a[g]|0)==64){h=f}else{return}while(1){f=h+1|0;if((f|0)>=(b|0)){i=f;j=0;break}if((Za(a[e+f|0]|0)|0)==0){i=f;j=0;break}else{h=f}}a:while(1){k=e+i|0;if((i|0)>=(b|0)){l=12;break}do{h=a[k]|0;if(h<<24>>24==58){m=i;break a}}while((Za(h<<24>>24|0)|0)!=0);if((j|0)>1023){l=20;break}a[c+j|0]=a[k]|0;i=i+1|0;j=j+1|0}if((l|0)==20){return}do{if((l|0)==12){if((a[k]|0)==58){m=i;break}a[c]=0;return}}while(0);do{m=m+1|0;n=e+m|0;if((m|0)>=(b|0)){break}}while((Za(a[n]|0)|0)!=0);if((AK(n|0)|0)>>>0>1024>>>0){return}EK(d|0,n|0)|0;n=(AK(d|0)|0)-2|0;if((n|0)>0){o=n}else{return}while(1){n=d+o|0;if((Za(a[n]|0)|0)==0){l=20;break}a[n]=0;n=o-1|0;if((n|0)>0){o=n}else{l=20;break}}if((l|0)==20){return}}function sl(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;b=i;i=i+2232|0;g=b|0;h=b+16|0;j=b+1040|0;k=b+1176|0;l=b+1208|0;m=AK(d|0)|0;n=d+f|0;o=a[n]|0;do{if(!(((o<<24>>24)-48|0)>>>0<10>>>0)){if((o<<24>>24|0)==99|(o<<24>>24|0)==111){break}else{p=0}i=b;return p|0}}while(0);o=f+1|0;a:do{if((o|0)<(m|0)){q=o;while(1){r=a[d+q|0]|0;if(!(((r<<24>>24)-48|0)>>>0<10>>>0|(r-46&255)>>>0<2>>>0)){s=q;break a}r=q+1|0;if((r|0)<(m|0)){q=r}else{s=r;break}}}else{s=o}}while(0);o=h|0;DK(o|0,0,1024)|0;h=s-f|0;FK(o|0,n|0,h|0)|0;n=j|0;f=j+4|0;c[n>>2]=47660;s=j+56|0;c[s>>2]=47680;m=j+56|0;jB(m,f);c[j+128>>2]=0;c[j+132>>2]=-1;c[n>>2]=27092;c[j+56>>2]=27112;d=g;q=f|0;c[q>>2]=27560;r=j+8|0;zG(r);DK(j+12|0,0,24)|0;c[q>>2]=27416;q=j+36|0;DK(q|0,0,16)|0;c[j+52>>2]=16;DK(d|0,0,12)|0;ij(f,g);if(!((a[d]&1)==0)){iK(c[g+8>>2]|0)}fJ(k,18976,1)|0;g=sJ(k,o,0,0,0)|0;jJ(k);fJ(k,18288,1)|0;d=sJ(k,o,0,0,0)|0;jJ(k);do{if((g|0)==0){k=l|0;EK(k|0,o|0)|0;f=jc(Wa(k|0,18104)|0)|0;k=jc(Wa(0,18104)|0)|0;c[e+168>>2]=f;c[e+176>>2]=k}else{if((d|0)==0){c[e+168>>2]=jc(o|0)|0;c[e+176>>2]=1;break}if((yK(o,17728)|0)==0){c[e+172>>2]=1;break}if((yK(o,17392)|0)==0){c[e+172>>2]=2;break}if((yK(o,17152)|0)==0){c[e+172>>2]=1;c[e+168>>2]=3;break}if((yK(o,17008)|0)==0){c[e+172>>2]=1;c[e+168>>2]=3;c[e+176>>2]=2;break}else{ee(16912,(k=i,i=i+8|0,c[k>>2]=o,k)|0);i=k;break}}}while(0);c[n>>2]=27092;c[s>>2]=27112;s=j+4|0;c[s>>2]=27416;if(!((a[q]&1)==0)){iK(c[j+44>>2]|0)}c[s>>2]=27560;BG(r);fB(m);p=h;i=b;return p|0}function tl(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;b=i;i=i+16|0;g=b|0;h=b+8|0;j=AK(d|0)|0;c[e+48>>2]=0;k=e+24|0;l=c[k>>2]|0;m=e+28|0;n=c[m>>2]|0;if((n|0)!=(l|0)){c[m>>2]=n+(~((n-4+(-l|0)|0)>>>2)<<2)}l=e+36|0;n=c[l>>2]|0;o=e+40|0;p=c[o>>2]|0;if((p|0)!=(n|0)){c[o>>2]=p+(~((p-4+(-n|0)|0)>>>2)<<2)}n=e+32|0;p=e+44|0;e=f;while(1){q=(zl(0,d,g,h,e)|0)+e|0;r=c[m>>2]|0;if((r|0)==(c[n>>2]|0)){Il(k,g)}else{if((r|0)!=0){c[r>>2]=c[g>>2]}c[m>>2]=r+4}r=c[o>>2]|0;if((r|0)==(c[p>>2]|0)){Il(l,h)}else{if((r|0)!=0){c[r>>2]=c[h>>2]}c[o>>2]=r+4}r=q+1|0;if((r|0)>=(j|0)){s=18;break}if(((a[d+r|0]|0)-48|0)>>>0<10>>>0){e=r}else{s=18;break}}if((s|0)==18){i=b;return q-f|0}return 0}function ul(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;b=i;i=i+32|0;g=b|0;h=AK(d|0)|0;fJ(g,7208,1)|0;j=sJ(g,d+f|0,0,0,0)|0;jJ(g);if((j|0)!=0){if((c[e>>2]|0)>0){ee(19520,(k=i,i=i+1|0,i=i+7&-8,c[k>>2]=0,k)|0);i=k}a[e+20|0]=1;i=b;return 0}do{if((f|0)==0){l=3}else{j=a[d+(f-1)|0]|0;if(!(((j<<24>>24)-48|0)>>>0<10>>>0|j<<24>>24==46)){l=3;break}j=h+1|0;g=aK(j)|0;DK(g|0,0,j|0)|0;a:do{if((h|0)>(f|0)){j=f;while(1){m=a[d+j|0]|0;if((m<<24>>24|0)==59){n=j;break a}else if((m<<24>>24|0)==41){break}m=j+1|0;if((m|0)<(h|0)){j=m}else{n=m;break a}}$d(21472,(k=i,i=i+1|0,i=i+7&-8,c[k>>2]=0,k)|0);i=k;bK(g);i=b;return 0}else{n=f}}while(0);j=n+1|0;b:do{if((j|0)<(h|0)){m=0;o=j;while(1){p=a[d+o|0]|0;if(p<<24>>24==41){break b}if(!(((p<<24>>24)-48|0)>>>0<10>>>0)){break}a[g+m|0]=p;m=m+1|0;o=j+m|0;if((o|0)>=(h|0)){break b}}$d(20488,(k=i,i=i+1|0,i=i+7&-8,c[k>>2]=0,k)|0);i=k;bK(g);i=b;return 0}}while(0);j=jc(g|0)|0;bK(g);l=j}}while(0);c[e>>2]=l;c[e+4>>2]=l;i=b;return 0}function vl(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;b=i;i=i+32|0;h=b|0;j=e+12|0;do{if((a[j]|0)==0){k=c[f+24>>2]|0;if((c[f+28>>2]|0)==(k|0)){a[e+28|0]=4;c[e+36>>2]=0;ee(14960,(l=i,i=i+1|0,i=i+7&-8,c[l>>2]=0,l)|0);i=l;break}else{l=f+48|0;a[e+28|0]=c[k+(c[l>>2]<<2)>>2];c[e+36>>2]=c[(c[f+36>>2]|0)+(c[l>>2]<<2)>>2];break}}else{a[e+28|0]=5}}while(0);switch(a[d+g|0]|0){case 70:{m=4;n=13;break};case 65:{m=6;n=13;break};case 69:{m=3;n=13;break};case 66:{m=7;n=13;break};case 71:{m=5;n=13;break};case 45:{l=e+24|0;c[l>>2]=0;a[e+40|0]=1;o=l;break};case 68:{m=2;n=13;break};default:{m=1;n=13}}if((n|0)==13){n=e+24|0;c[n>>2]=m;o=n}fJ(h,14816,1)|0;n=d+(g+1)|0;g=sJ(h,n,0,0,0)|0;jJ(h);if((g|0)==0){a[e+21|0]=1}fJ(h,14656,1)|0;g=sJ(h,n,0,0,0)|0;jJ(h);do{if((g|0)==0){h=e+8|0;if((c[h>>2]|0)!=0){break}c[h>>2]=1}}while(0);g=e+22|0;h=a[g]|0;n=f+16|0;d=c[n>>2]|0;if((d|0)==(c[f+20>>2]|0)){El(f+12|0,e)}else{if((d|0)==0){p=0}else{c[d+8>>2]=c[e+8>>2];a[d+12|0]=a[j]|0;c[d+16>>2]=c[e+16>>2];a[d+20|0]=a[e+20|0]|0;a[d+21|0]=a[e+21|0]|0;a[d+22|0]=a[g]|0;a[d+23|0]=a[e+23|0]|0;c[d+24>>2]=c[o>>2];a[d+28|0]=a[e+28|0]|0;c[d+32>>2]=c[e+32>>2];c[d+36>>2]=c[e+36>>2];a[d+40|0]=a[e+40|0]|0;c[d+44>>2]=c[e+44>>2];c[d+48>>2]=c[e+48>>2];c[d+52>>2]=c[e+52>>2];c[d>>2]=c[e>>2];c[d+4>>2]=c[e+4>>2];p=c[n>>2]|0}c[n>>2]=p+56}p=e+16|0;n=c[p>>2]|0;d=e+4|0;m=c[d>>2]|0;c[p>>2]=0;l=e+21|0;a[l]=0;k=e+20|0;a[k]=0;a[j]=0;c[e+8>>2]=0;a[e+23|0]=0;c[o>>2]=0;a[e+28|0]=0;c[e+32>>2]=0;c[e+36>>2]=0;a[e+40|0]=0;c[e>>2]=0;c[d>>2]=0;c[e+44>>2]=0;c[e+48>>2]=0;c[e+52>>2]=0;a[g]=h;if((m|0)>0){c[d>>2]=m-1}a[j]=0;if((n|0)>0){c[p>>2]=n-1}n=c[f+28>>2]|0;p=c[f+24>>2]|0;if((n|0)==(p|0)){a[k]=0;a[l]=0;i=b;return 0}j=f+48|0;f=(c[j>>2]|0)+1|0;c[j>>2]=f;if(f>>>0>2>>>0){a[k]=0;a[l]=0;i=b;return 0}c[j>>2]=0;a[k]=0;a[l]=0;i=b;return 0}function wl(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;b=AK(d|0)|0;g=e+56|0;h=e+12|0;i=e+16|0;j=h|0;k=((c[i>>2]|0)-(c[j>>2]|0)|0)/56|0;if((c[g>>2]|0)==-1){l=f;m=k;c[g>>2]=m;n=l-f|0;return n|0}o=f+1|0;if((o|0)>=(b|0)){l=f;m=-1;c[g>>2]=m;n=l-f|0;return n|0}p=e+20|0;e=f;q=o;while(1){if((a[d+q|0]|0)!=102){l=e;m=-1;r=13;break}o=c[g>>2]|0;if((o|0)<(k|0)){s=o;do{o=c[j>>2]|0;t=o+(s*56|0)|0;u=c[i>>2]|0;if((u|0)==(c[p>>2]|0)){El(h,t)}else{if((u|0)==0){v=0}else{c[u+8>>2]=c[o+(s*56|0)+8>>2];a[u+12|0]=a[o+(s*56|0)+12|0]|0;c[u+16>>2]=c[o+(s*56|0)+16>>2];a[u+20|0]=a[o+(s*56|0)+20|0]|0;a[u+21|0]=a[o+(s*56|0)+21|0]|0;a[u+22|0]=a[o+(s*56|0)+22|0]|0;a[u+23|0]=a[o+(s*56|0)+23|0]|0;c[u+24>>2]=c[o+(s*56|0)+24>>2];a[u+28|0]=a[o+(s*56|0)+28|0]|0;c[u+32>>2]=c[o+(s*56|0)+32>>2];c[u+36>>2]=c[o+(s*56|0)+36>>2];a[u+40|0]=a[o+(s*56|0)+40|0]|0;c[u+44>>2]=c[o+(s*56|0)+44>>2];c[u+48>>2]=c[o+(s*56|0)+48>>2];c[u+52>>2]=c[o+(s*56|0)+52>>2];c[u>>2]=c[t>>2];c[u+4>>2]=c[o+(s*56|0)+4>>2];v=c[i>>2]|0}c[i>>2]=v+56}s=s+1|0;}while((s|0)<(k|0))}s=q+1|0;if((s|0)<(b|0)){e=q;q=s}else{l=q;m=-1;r=13;break}}if((r|0)==13){c[g>>2]=m;n=l-f|0;return n|0}return 0}function xl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;a=i;i=i+32|0;f=a|0;fJ(f,16e3,1)|0;g=b+e|0;e=sJ(f,g,0,0,0)|0;jJ(f);fJ(f,15824,1)|0;b=sJ(f,g,0,0,0)|0;jJ(f);fJ(f,15576,1)|0;h=sJ(f,g,0,0,0)|0;jJ(f);fJ(f,15248,1)|0;j=sJ(f,g,0,0,0)|0;jJ(f);do{if((e|0)==0){c[d>>2]=9;k=3}else{if((b|0)==0){c[d>>2]=8;k=2;break}if((h|0)==0){c[d>>2]=10;k=2;break}if((j|0)==0){c[d>>2]=3;k=1;break}else{c[d>>2]=11;k=0;break}}}while(0);i=a;return k|0}function yl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,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;e=i;i=i+56|0;f=e|0;g=c[d>>2]|0;if((g|0)!=0){qm(c[b+136>>2]|0,g|0,-1)}g=c[d+8>>2]|0;if((g|0)!=0){qm(c[b+136>>2]|0,g|0,-1)}g=c[d+4>>2]|0;if((g|0)!=0){qm(c[b+136>>2]|0,g|0,-1)}g=c[d+60>>2]|0;if((g|0)>0){h=gK(172)|0;ao(h,g);qm(c[b+136>>2]|0,h,-1)}h=c[b+144>>2]|0;g=b+148|0;j=c[g>>2]|0;if((j|0)!=(h|0)){c[g>>2]=j+(~((j-4+(-h|0)|0)>>>2)<<2)}h=d+16|0;j=d+12|0;g=c[j>>2]|0;if((c[h>>2]|0)==(g|0)){k=b+132|0;l=c[k>>2]|0;m=d+52|0;n=c[m>>2]|0;o=l+620|0;c[o>>2]=n;i=e;return}p=f+8|0;q=f+12|0;r=f+16|0;s=f+20|0;t=f+21|0;u=f+22|0;v=f+23|0;w=f+24|0;x=f+28|0;y=f+32|0;z=f+36|0;A=f+40|0;B=f+44|0;C=f+48|0;D=f+52|0;E=f|0;F=f+4|0;G=0;H=g;do{g=a[H+(G*56|0)+12|0]|0;I=c[H+(G*56|0)+16>>2]|0;J=a[H+(G*56|0)+20|0]|0;K=a[H+(G*56|0)+21|0]|0;L=a[H+(G*56|0)+22|0]|0;M=a[H+(G*56|0)+23|0]|0;N=c[H+(G*56|0)+24>>2]|0;O=a[H+(G*56|0)+28|0]|0;P=c[H+(G*56|0)+32>>2]|0;Q=c[H+(G*56|0)+36>>2]|0;R=a[H+(G*56|0)+40|0]|0;S=c[H+(G*56|0)+44>>2]|0;T=c[H+(G*56|0)+48>>2]|0;U=c[H+(G*56|0)+52>>2]|0;V=c[H+(G*56|0)>>2]|0;W=c[H+(G*56|0)+4>>2]|0;c[p>>2]=c[H+(G*56|0)+8>>2];a[q]=g;c[r>>2]=I;a[s]=J;a[t]=K;a[u]=L;a[v]=M;c[w>>2]=N;a[x]=O;c[y>>2]=P;c[z>>2]=Q;a[A]=R;c[B>>2]=S;c[C>>2]=T;c[D>>2]=U;c[E>>2]=V;c[F>>2]=W;Bl(b,f);G=G+1|0;H=c[j>>2]|0;}while(G>>>0<(((c[h>>2]|0)-H|0)/56|0)>>>0);k=b+132|0;l=c[k>>2]|0;m=d+52|0;n=c[m>>2]|0;o=l+620|0;c[o>>2]=n;i=e;return}function zl(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;b=i;h=AK(d|0)|0;switch(a[d+g|0]|0){case 48:{c[e>>2]=0;break};case 54:{c[e>>2]=6;break};case 53:{c[e>>2]=8;break};case 49:{c[e>>2]=2;break};case 55:{c[e>>2]=9;break};case 51:{c[e>>2]=7;break};case 57:{c[e>>2]=1;break};case 52:{c[e>>2]=4;break};case 50:{c[e>>2]=3;break};case 56:{c[e>>2]=5;break};default:{}}c[f>>2]=0;j=g+1|0;do{if((j|0)<(h|0)){if((a[d+j|0]|0)!=46){k=g;l=0;break}c[f>>2]=1;k=j;l=1}else{k=g;l=0}}while(0);j=k+1|0;do{if((j|0)<(h|0)){if((a[d+j|0]|0)!=46){m=k;n=l;break}o=l+1|0;c[f>>2]=o;m=j;n=o}else{m=k;n=l}}while(0);if((n|0)!=1){p=m-g|0;i=b;return p|0}if((c[e>>2]|0)!=7){p=m-g|0;i=b;return p|0}c[e>>2]=1;c[f>>2]=0;ee(8256,(f=i,i=i+1|0,i=i+7&-8,c[f>>2]=0,f)|0);i=f;p=m-g|0;i=b;return p|0}function Al(b){b=b|0;var d=0;c[b>>2]=27092;c[b+56>>2]=27112;d=b+4|0;c[d>>2]=27416;if(!((a[b+36|0]&1)==0)){iK(c[b+44>>2]|0)}c[d>>2]=27560;BG(b+8|0);fB(b+56|0);return}function Bl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=i;i=i+16|0;f=e|0;g=e+8|0;do{if((a[d+40|0]|0)==0){h=gK(312)|0;j=h;jo(j);c[h+236>>2]=c[d+24>>2];a[h+228|0]=a[d+22|0]|0;c[h+220>>2]=c[d+32>>2];a[h+168|0]=c[d+36>>2];c[h+184>>2]=a[d+28|0]|0;if((a[d+20|0]|0)!=0){c[h+212>>2]=1}if((a[d+21|0]|0)!=0){c[h+300>>2]=1}k=b+140|0;l=c[k>>2]|0;if((l|0)!=0){To(j,l);c[k>>2]=0}if((c[d+8>>2]|0)==0){m=h;break}So(j);c[k>>2]=j;m=h}else{h=gK(228)|0;Zr(h);a[h+168|0]=c[d+36>>2];c[h+184>>2]=a[d+28|0]|0;if((a[d+20|0]|0)==0){m=h;break}c[h+212>>2]=1;m=h}}while(0);h=m;j=c[d+44>>2]|0;if((j|0)!=0){Cl(b,j|0)}j=c[d+48>>2]|0;if((j|0)!=0){Cl(b,j|0)}j=c[d+52>>2]|0;if((j|0)!=0){Cl(b,j|0)}do{if(!((a[d+12|0]|0)==0|(m|0)==0)){if((VJ(m,47328,46464,-1)|0)==0){break}a[m+132|0]=1;a[(VJ(m,47328,46464,-1)|0)+296|0]=1}}while(0);if((c[d+16>>2]|0)>0){a[m+132|0]=1}m=d+23|0;do{if((a[m]|0)==1){j=gK(180)|0;xh(j);k=j;c[f>>2]=k;Cl(b,k);j=b+148|0;l=c[j>>2]|0;if((l|0)==(c[b+152>>2]|0)){Dl(b+144|0,f);break}if((l|0)==0){n=0}else{c[l>>2]=k;n=c[j>>2]|0}c[j>>2]=n+4}}while(0);n=d+4|0;f=c[n>>2]|0;do{if((f|0)>0){if((c[d>>2]|0)!=(f|0)){break}j=gK(192)|0;dv(j,f,f);k=j;c[g>>2]=k;Cl(b,k);j=b+148|0;l=c[j>>2]|0;if((l|0)==(c[b+152>>2]|0)){Dl(b+144|0,g);break}if((l|0)==0){o=0}else{c[l>>2]=k;o=c[j>>2]|0}c[j>>2]=o+4}}while(0);Cl(b,h);do{if((c[n>>2]|0)==1){h=b+148|0;o=c[h>>2]|0;if((o|0)==(c[b+144>>2]|0)){ae(14408,(p=i,i=i+1|0,i=i+7&-8,c[p>>2]=0,p)|0);i=p;break}else{g=o-4|0;c[h>>2]=o+(~((g+(-g|0)|0)>>>2)<<2);break}}}while(0);if((a[m]|0)!=4){i=e;return}m=b+148|0;n=c[m>>2]|0;if((n|0)==(c[b+144>>2]|0)){ae(14408,(p=i,i=i+1|0,i=i+7&-8,c[p>>2]=0,p)|0);i=p;i=e;return}else{p=n-4|0;c[m>>2]=n+(~((p+(-p|0)|0)>>>2)<<2);i=e;return}}function Cl(a,b){a=a|0;b=b|0;var d=0;d=c[a+148>>2]|0;if((d|0)==(c[a+144>>2]|0)){qm(c[a+136>>2]|0,b,-1);return}a=c[d-4>>2]|0;if((a|0)==0){return}d=a;if((VJ(d,47328,46576,-1)|0)!=0){Ch(a,b);return}if((VJ(d,47328,46056,-1)|0)==0){return}lv(a,b);return}function Dl(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;d=a+4|0;e=a|0;f=c[e>>2]|0;g=f;h=(c[d>>2]|0)-g|0;i=h>>2;j=i+1|0;if(j>>>0>1073741823>>>0){tG(0)}k=a+8|0;a=(c[k>>2]|0)-g|0;if(a>>2>>>0<536870911>>>0){g=a>>1;a=g>>>0>>0?j:g;if((a|0)==0){l=0;m=0}else{n=a;o=5}}else{n=1073741823;o=5}if((o|0)==5){l=gK(n<<2)|0;m=n}n=l+(i<<2)|0;if((n|0)!=0){c[n>>2]=c[b>>2]}b=f;BK(l|0,b|0,h)|0;c[e>>2]=l;c[d>>2]=l+(j<<2);c[k>>2]=l+(m<<2);if((f|0)==0){return}iK(b);return}function El(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=b+4|0;f=c[e>>2]|0;g=b|0;h=c[g>>2]|0;i=h;j=(f-i|0)/56|0;k=j+1|0;if(k>>>0>76695844>>>0){tG(0)}l=b+8|0;b=((c[l>>2]|0)-i|0)/56|0;if(b>>>0<38347922>>>0){m=b<<1;b=m>>>0>>0?k:m;if((b|0)==0){n=0;o=0}else{p=b;q=5}}else{p=76695844;q=5}if((q|0)==5){n=gK(p*56|0)|0;o=p}p=n+(j*56|0)|0;q=n+(o*56|0)|0;if((p|0)!=0){c[n+(j*56|0)+8>>2]=c[d+8>>2];a[n+(j*56|0)+12|0]=a[d+12|0]|0;c[n+(j*56|0)+16>>2]=c[d+16>>2];a[n+(j*56|0)+20|0]=a[d+20|0]|0;a[n+(j*56|0)+21|0]=a[d+21|0]|0;a[n+(j*56|0)+22|0]=a[d+22|0]|0;a[n+(j*56|0)+23|0]=a[d+23|0]|0;c[n+(j*56|0)+24>>2]=c[d+24>>2];a[n+(j*56|0)+28|0]=a[d+28|0]|0;c[n+(j*56|0)+32>>2]=c[d+32>>2];c[n+(j*56|0)+36>>2]=c[d+36>>2];a[n+(j*56|0)+40|0]=a[d+40|0]|0;c[n+(j*56|0)+44>>2]=c[d+44>>2];c[n+(j*56|0)+48>>2]=c[d+48>>2];c[n+(j*56|0)+52>>2]=c[d+52>>2];c[p>>2]=c[d>>2];c[n+(j*56|0)+4>>2]=c[d+4>>2]}d=n+(k*56|0)|0;if((f|0)==(h|0)){r=f;s=p}else{k=j-1-(((f-56+(-i|0)|0)>>>0)/56|0)|0;i=f;f=p;while(1){p=f-56|0;j=i-56|0;if((p|0)!=0){c[f-56+8>>2]=c[i-56+8>>2];a[f-56+12|0]=a[i-56+12|0]|0;c[f-56+16>>2]=c[i-56+16>>2];a[f-56+20|0]=a[i-56+20|0]|0;a[f-56+21|0]=a[i-56+21|0]|0;a[f-56+22|0]=a[i-56+22|0]|0;a[f-56+23|0]=a[i-56+23|0]|0;c[f-56+24>>2]=c[i-56+24>>2];a[f-56+28|0]=a[i-56+28|0]|0;c[f-56+32>>2]=c[i-56+32>>2];c[f-56+36>>2]=c[i-56+36>>2];a[f-56+40|0]=a[i-56+40|0]|0;c[f-56+44>>2]=c[i-56+44>>2];c[f-56+48>>2]=c[i-56+48>>2];c[f-56+52>>2]=c[i-56+52>>2];c[p>>2]=c[j>>2];c[f-56+4>>2]=c[i-56+4>>2]}if((j|0)==(h|0)){break}else{i=j;f=p}}r=c[g>>2]|0;s=n+(k*56|0)|0}c[g>>2]=s;c[e>>2]=d;c[l>>2]=q;if((r|0)==0){return}iK(r);return}function Fl(b){b=b|0;var d=0;c[b>>2]=27092;c[b+56>>2]=27112;d=b+4|0;c[d>>2]=27416;if(!((a[b+36|0]&1)==0)){iK(c[b+44>>2]|0)}c[d>>2]=27560;BG(b+8|0);fB(b+56|0);iK(b);return}function Gl(b){b=b|0;var d=0,e=0,f=0;d=b;e=c[(c[b>>2]|0)-12>>2]|0;c[d+e>>2]=27092;b=d+(e+56)|0;c[b>>2]=27112;f=d+(e+4)|0;c[f>>2]=27416;if(!((a[d+(e+36)|0]&1)==0)){iK(c[d+(e+44)>>2]|0)}c[f>>2]=27560;BG(d+(e+8)|0);fB(b);return}function Hl(b){b=b|0;var d=0,e=0,f=0,g=0;d=b;e=c[(c[b>>2]|0)-12>>2]|0;b=d+e|0;c[b>>2]=27092;f=d+(e+56)|0;c[f>>2]=27112;g=d+(e+4)|0;c[g>>2]=27416;if(!((a[d+(e+36)|0]&1)==0)){iK(c[d+(e+44)>>2]|0)}c[g>>2]=27560;BG(d+(e+8)|0);fB(f);iK(b);return}function Il(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;d=a+4|0;e=a|0;f=c[e>>2]|0;g=f;h=(c[d>>2]|0)-g|0;i=h>>2;j=i+1|0;if(j>>>0>1073741823>>>0){tG(0)}k=a+8|0;a=(c[k>>2]|0)-g|0;if(a>>2>>>0<536870911>>>0){g=a>>1;a=g>>>0>>0?j:g;if((a|0)==0){l=0;m=0}else{n=a;o=5}}else{n=1073741823;o=5}if((o|0)==5){l=gK(n<<2)|0;m=n}n=l+(i<<2)|0;if((n|0)!=0){c[n>>2]=c[b>>2]}b=f;BK(l|0,b|0,h)|0;c[e>>2]=l;c[d>>2]=l+(j<<2);c[k>>2]=l+(m<<2);if((f|0)==0){return}iK(b);return}function Jl(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;d=a+4|0;e=c[d>>2]|0;f=a|0;g=c[f>>2]|0;h=g;i=e-h>>6;j=i+1|0;if(j>>>0>67108863>>>0){tG(0)}k=a+8|0;a=(c[k>>2]|0)-h|0;if(a>>6>>>0<33554431>>>0){h=a>>5;a=h>>>0>>0?j:h;if((a|0)==0){l=0;m=0}else{n=a;o=5}}else{n=67108863;o=5}if((o|0)==5){l=gK(n<<6)|0;m=n}n=l+(i<<6)|0;i=l+(m<<6)|0;if((n|0)==0){p=g;q=e}else{Ml(n,b);p=c[f>>2]|0;q=c[d>>2]|0}b=l+(j<<6)|0;if((q|0)==(p|0)){r=q;s=n;t=q}else{j=q;q=n;do{q=q-64|0;j=j-64|0;if((q|0)!=0){Ml(q,j)}}while((j|0)!=(p|0));r=c[f>>2]|0;s=q;t=c[d>>2]|0}c[f>>2]=s;c[d>>2]=b;c[k>>2]=i;i=t;while(1){if((i|0)==(r|0)){break}t=i-64|0;Ll(t);i=t}if((r|0)==0){return}iK(r);return}function Kl(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;f=d;g=(e-f|0)/56|0;h=b+8|0;i=c[h>>2]|0;j=b|0;k=c[j>>2]|0;l=k;if(g>>>0>((i-l|0)/56|0)>>>0){if((k|0)==0){m=i}else{i=b+4|0;n=c[i>>2]|0;if((n|0)!=(k|0)){c[i>>2]=n+(~(((n-56+(-l|0)|0)>>>0)/56|0)*56|0)}iK(k);c[h>>2]=0;c[i>>2]=0;c[j>>2]=0;m=0}if(g>>>0>76695844>>>0){tG(0)}i=(m|0)/56|0;do{if(i>>>0<38347922>>>0){m=i<<1;n=m>>>0>>0?g:m;if(!(n>>>0>76695844>>>0)){o=n;break}tG(0)}else{o=76695844}}while(0);i=gK(o*56|0)|0;n=b+4|0;c[n>>2]=i;c[j>>2]=i;c[h>>2]=i+(o*56|0);if((d|0)==(e|0)){return}else{p=d;q=i}do{if((q|0)==0){r=0}else{c[q+8>>2]=c[p+8>>2];a[q+12|0]=a[p+12|0]|0;c[q+16>>2]=c[p+16>>2];a[q+20|0]=a[p+20|0]|0;a[q+21|0]=a[p+21|0]|0;a[q+22|0]=a[p+22|0]|0;a[q+23|0]=a[p+23|0]|0;c[q+24>>2]=c[p+24>>2];a[q+28|0]=a[p+28|0]|0;c[q+32>>2]=c[p+32>>2];c[q+36>>2]=c[p+36>>2];a[q+40|0]=a[p+40|0]|0;c[q+44>>2]=c[p+44>>2];c[q+48>>2]=c[p+48>>2];c[q+52>>2]=c[p+52>>2];c[q>>2]=c[p>>2];c[q+4>>2]=c[p+4>>2];r=c[n>>2]|0}q=r+56|0;c[n>>2]=q;p=p+56|0;}while((p|0)!=(e|0));return}p=b+4|0;b=((c[p>>2]|0)-l|0)/56|0;if(g>>>0>b>>>0){s=1;t=d+(b*56|0)|0}else{s=0;t=e}if((t|0)==(d|0)){u=k}else{b=t-56+(-f|0)|0;f=d;d=k;while(1){c[d+8>>2]=c[f+8>>2];a[d+12|0]=a[f+12|0]|0;c[d+16>>2]=c[f+16>>2];a[d+20|0]=a[f+20|0]|0;a[d+21|0]=a[f+21|0]|0;a[d+22|0]=a[f+22|0]|0;a[d+23|0]=a[f+23|0]|0;c[d+24>>2]=c[f+24>>2];a[d+28|0]=a[f+28|0]|0;c[d+32>>2]=c[f+32>>2];c[d+36>>2]=c[f+36>>2];a[d+40|0]=a[f+40|0]|0;c[d+44>>2]=c[f+44>>2];c[d+48>>2]=c[f+48>>2];c[d+52>>2]=c[f+52>>2];c[d>>2]=c[f>>2];c[d+4>>2]=c[f+4>>2];g=f+56|0;if((g|0)==(t|0)){break}else{f=g;d=d+56|0}}u=k+((((b>>>0)/56|0)+1|0)*56|0)|0}if(!s){s=c[p>>2]|0;if((s|0)==(u|0)){return}c[p>>2]=s+(~(((s-56+(-u|0)|0)>>>0)/56|0)*56|0);return}if((t|0)==(e|0)){return}u=t;t=c[p>>2]|0;do{if((t|0)==0){v=0}else{c[t+8>>2]=c[u+8>>2];a[t+12|0]=a[u+12|0]|0;c[t+16>>2]=c[u+16>>2];a[t+20|0]=a[u+20|0]|0;a[t+21|0]=a[u+21|0]|0;a[t+22|0]=a[u+22|0]|0;a[t+23|0]=a[u+23|0]|0;c[t+24>>2]=c[u+24>>2];a[t+28|0]=a[u+28|0]|0;c[t+32>>2]=c[u+32>>2];c[t+36>>2]=c[u+36>>2];a[t+40|0]=a[u+40|0]|0;c[t+44>>2]=c[u+44>>2];c[t+48>>2]=c[u+48>>2];c[t+52>>2]=c[u+52>>2];c[t>>2]=c[u>>2];c[t+4>>2]=c[u+4>>2];v=c[p>>2]|0}t=v+56|0;c[p>>2]=t;u=u+56|0;}while((u|0)!=(e|0));return}function Ll(a){a=a|0;var b=0,d=0,e=0;b=c[a+36>>2]|0;if((b|0)!=0){d=a+40|0;e=c[d>>2]|0;if((e|0)!=(b|0)){c[d>>2]=e+(~((e-4+(-b|0)|0)>>>2)<<2)}iK(b)}b=c[a+24>>2]|0;if((b|0)!=0){e=a+28|0;d=c[e>>2]|0;if((d|0)!=(b|0)){c[e>>2]=d+(~((d-4+(-b|0)|0)>>>2)<<2)}iK(b)}b=c[a+12>>2]|0;if((b|0)==0){return}d=a+16|0;a=c[d>>2]|0;if((a|0)!=(b|0)){c[d>>2]=a+(~(((a-56+(-b|0)|0)>>>0)/56|0)*56|0)}iK(b);return}function Ml(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;d=a+12|0;DK(d|0,0,36)|0;c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];if((a|0)==(b|0)){c[a+8>>2]=c[b+8>>2];e=b+48|0;f=c[e>>2]|0;g=a+48|0;c[g>>2]=f;h=b+52|0;i=c[h>>2]|0;j=a+52|0;c[j>>2]=i;k=b+56|0;l=c[k>>2]|0;m=a+56|0;c[m>>2]=l;n=b+60|0;o=c[n>>2]|0;p=a+60|0;c[p>>2]=o;return}Kl(d,c[b+12>>2]|0,c[b+16>>2]|0);c[a+8>>2]=c[b+8>>2];Nl(a+24|0,c[b+24>>2]|0,c[b+28>>2]|0);Nl(a+36|0,c[b+36>>2]|0,c[b+40>>2]|0);e=b+48|0;f=c[e>>2]|0;g=a+48|0;c[g>>2]=f;h=b+52|0;i=c[h>>2]|0;j=a+52|0;c[j>>2]=i;k=b+56|0;l=c[k>>2]|0;m=a+56|0;c[m>>2]=l;n=b+60|0;o=c[n>>2]|0;p=a+60|0;c[p>>2]=o;return}function Nl(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;e=b;f=d-e>>2;g=a+8|0;h=c[g>>2]|0;i=a|0;j=c[i>>2]|0;k=j;if(!(f>>>0>h-k>>2>>>0)){l=a+4|0;m=(c[l>>2]|0)-k|0;n=m>>2;if(!(f>>>0>n>>>0)){o=d-e|0;CK(j|0,b|0,o|0)|0;p=j+(o>>2<<2)|0;o=c[l>>2]|0;if((o|0)==(p|0)){return}c[l>>2]=o+(~((o-4+(-p|0)|0)>>>2)<<2);return}p=b+(n<<2)|0;CK(j|0,b|0,m|0)|0;if((p|0)==(d|0)){return}m=c[l>>2]|0;n=(d-4+(-p|0)|0)>>>2;o=p;p=m;while(1){if((p|0)!=0){c[p>>2]=c[o>>2]}q=o+4|0;if((q|0)==(d|0)){break}else{o=q;p=p+4|0}}c[l>>2]=m+(n+1<<2);return}if((j|0)==0){r=h}else{h=a+4|0;n=c[h>>2]|0;if((n|0)!=(j|0)){c[h>>2]=n+(~((n-4+(-k|0)|0)>>>2)<<2)}iK(j);c[g>>2]=0;c[h>>2]=0;c[i>>2]=0;r=0}if(f>>>0>1073741823>>>0){tG(0)}h=r;do{if(h>>2>>>0<536870911>>>0){r=h>>1;j=r>>>0>>0?f:r;if(!(j>>>0>1073741823>>>0)){s=j;break}tG(0)}else{s=1073741823}}while(0);f=gK(s<<2)|0;h=a+4|0;c[h>>2]=f;c[i>>2]=f;c[g>>2]=f+(s<<2);if((b|0)==(d|0)){return}s=(d-4+(-e|0)|0)>>>2;e=b;b=f;while(1){if((b|0)!=0){c[b>>2]=c[e>>2]}g=e+4|0;if((g|0)==(d|0)){break}else{e=g;b=b+4|0}}c[h>>2]=f+(s+1<<2);return}function Ol(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+16|0;e=d|0;f=b|0;g=e;a[g]=10;h=e;j=h+1|0;a[j]=a[21384]|0;a[j+1|0]=a[21385]|0;a[j+2|0]=a[21386]|0;a[j+3|0]=a[21387]|0;a[j+4|0]=a[21388]|0;a[h+6|0]=0;Bm(f,e);if(!((a[g]&1)==0)){iK(c[e+8>>2]|0)}c[b>>2]=31824;Cm(f);c[b+164>>2]=0;a[b+168|0]=3;i=d;return}function Pl(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;f=i;i=i+16|0;g=f|0;h=b|0;j=g;a[j]=10;k=g;l=k+1|0;a[l]=a[21384]|0;a[l+1|0]=a[21385]|0;a[l+2|0]=a[21386]|0;a[l+3|0]=a[21387]|0;a[l+4|0]=a[21388]|0;a[k+6|0]=0;Bm(h,g);if(!((a[j]&1)==0)){iK(c[g+8>>2]|0)}c[b>>2]=31824;Cm(h);c[b+164>>2]=d;a[b+168|0]=e;i=f;return}function Ql(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;i=i+16|0;f=e|0;g=b|0;h=f;a[h]=10;j=f;k=j+1|0;a[k]=a[21384]|0;a[k+1|0]=a[21385]|0;a[k+2|0]=a[21386]|0;a[k+3|0]=a[21387]|0;a[k+4|0]=a[21388]|0;a[j+6|0]=0;Bm(g,f);if(!((a[h]&1)==0)){iK(c[f+8>>2]|0)}c[b>>2]=31824;Cm(g);g=b+164|0;c[g>>2]=0;f=b+168|0;a[f]=3;b=c[d+100>>2]<<24;d=b-134217728|0;h=d>>24;if((b-16777216|0)>>>0>234881024>>>0){i=e;return}do{if((d|0)>0){a[f]=1}else{if((d|0)>=0){break}a[f]=2}}while(0);c[g>>2]=(d|0)<0?-h|0:h;i=e;return}function Rl(a){a=a|0;Em(a|0);iK(a);return}function Sl(a){a=a|0;Em(a|0);return}function Tl(b){b=b|0;Cm(b|0);c[b+164>>2]=0;a[b+168|0]=3;return}function Ul(b,c){b=b|0;c=c|0;var d=0;if((c|0)>6){d=0;return d|0}d=a[((a[b+168|0]|0)==2?48592:48584)+c|0]|0;return d|0}function Vl(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;switch(e|0){case 1025:{f=1;break};case 1026:{f=2;break};case 771:{f=7;break};case 772:{f=6;break};case 1027:{f=3;break};case 1028:{f=4;break};case 257:{f=8;break};case 773:{f=5;break};default:{f=0}}return c[48600+(((a[b+168|0]|0)==1|0)*252|0)+(f*28|0)+((d&255)-1<<2)>>2]|0}function Wl(a){a=a|0;var b=0,d=0;b=a|0;Xo(b);d=a+84|0;Zx(d);c[a>>2]=37856;c[a+84>>2]=38012;$o(b);_x(d);return}function Xl(a){a=a|0;ay(a+84|0);ep(a|0);iK(a);return}function Yl(a){a=a|0;var b=0;b=a-116+32|0;ay(b+84|0);ep(b);iK(b);return}function Zl(a){a=a|0;ay(a+84|0);ep(a|0);return}function _l(a){a=a|0;var b=0;b=a-116+32|0;ay(b+84|0);ep(b);return}function $l(a){a=a|0;$o(a|0);_x(a+84|0);return}function am(a,b){a=a|0;b=b|0;var c=0;if((b|0)==0){c=0;return c|0}c=(VJ(b,46112,47440,-1)|0)!=0;return c|0}function bm(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=gK(172)|0;e=d;_o(e,b|0);a[d+84|0]=a[b+84|0]|0;c[d+88>>2]=c[b+88>>2];c[d+92>>2]=c[b+92>>2];c[d+96>>2]=c[b+96>>2];c[d+100>>2]=c[b+100>>2];c[d+104>>2]=c[b+104>>2];c[d+108>>2]=c[b+108>>2];c[d+112>>2]=c[b+112>>2];c[d+116>>2]=c[b+116>>2];c[d+120>>2]=c[b+120>>2];c[d+124>>2]=c[b+124>>2];c[d+128>>2]=c[b+128>>2];a[d+132|0]=a[b+132|0]|0;f=b+136|0;g=d+136|0;h=c[f+4>>2]|0;c[g>>2]=c[f>>2];c[g+4>>2]=h;h=b+144|0;g=d+144|0;f=c[h+4>>2]|0;c[g>>2]=c[h>>2];c[g+4>>2]=f;a[d+152|0]=a[b+152|0]|0;c[d+156>>2]=c[b+156>>2];a[d+160|0]=a[b+160|0]|0;c[d>>2]=31824;c[d+164>>2]=c[b+164>>2];a[d+168|0]=a[b+168|0]|0;return e|0}function cm(b,c){b=b|0;c=c|0;a[b]=12;c=b;b=c+1|0;a[b]=a[14296]|0;a[b+1|0]=a[14297]|0;a[b+2|0]=a[14298]|0;a[b+3|0]=a[14299]|0;a[b+4|0]=a[14300]|0;a[b+5|0]=a[14301]|0;a[c+7|0]=0;return}function dm(a){a=a|0;return 20}function em(a){a=a|0;var b=0;b=gK(116)|0;gm(b,a);return b|0}function fm(b,c){b=b|0;c=c|0;a[b]=20;c=b;BK(c+1|0,16888,10)|0;a[c+11|0]=0;return}function gm(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;_o(b|0,d|0);c[b+84>>2]=35688;c[b+88>>2]=c[d+88>>2];c[b+92>>2]=c[d+92>>2];c[b+96>>2]=c[d+96>>2];c[b+100>>2]=c[d+100>>2];e=b+104|0;f=d+104|0;if((a[f]&1)==0){g=e;c[g>>2]=c[f>>2];c[g+4>>2]=c[f+4>>2];c[g+8>>2]=c[f+8>>2];h=b|0;c[h>>2]=37856;i=b+84|0;c[i>>2]=38012;return}f=c[d+112>>2]|0;g=c[d+108>>2]|0;if(g>>>0>4294967279>>>0){GA(0)}if(g>>>0<11>>>0){a[e]=g<<1;j=e+1|0}else{d=g+16&-16;k=gK(d)|0;c[b+112>>2]=k;c[e>>2]=d|1;c[b+108>>2]=g;j=k}BK(j|0,f|0,g)|0;a[j+g|0]=0;h=b|0;c[h>>2]=37856;i=b+84|0;c[i>>2]=38012;return}function hm(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;i=i+16|0;e=d|0;f=e;a[f]=12;g=e;h=g+1|0;a[h]=a[20896]|0;a[h+1|0]=a[20897]|0;a[h+2|0]=a[20898]|0;a[h+3|0]=a[20899]|0;a[h+4|0]=a[20900]|0;a[h+5|0]=a[20901]|0;a[g+7|0]=0;Dp(b|0,e);if(!((a[f]&1)==0)){iK(c[e+8>>2]|0)}e=b+128|0;c[e>>2]=35632;f=b+132|0;g=f;c[f>>2]=g;c[b+136>>2]=g;c[b+140>>2]=0;Bx(b+144|0);c[b>>2]=32768;c[e>>2]=32928;c[b+144>>2]=32948;e=b+176|0;g=e;c[e>>2]=g;c[b+180>>2]=g;c[b+184>>2]=0;Jh(b+204|0);ad[c[(c[b>>2]|0)+8>>2]&2047](b);i=d;return}function im(a){a=a|0;lm(a);iK(a);return}function jm(a){a=a|0;var b=0;b=a-400+272|0;lm(b);iK(b);return}function km(a){a=a|0;var b=0;b=a-400+256|0;lm(b);iK(b);return}function lm(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;c[a>>2]=32768;b=a+128|0;c[b>>2]=32928;c[a+144>>2]=32948;d=c[a+188>>2]|0;if((d|0)!=0){ad[c[(c[d>>2]|0)+4>>2]&2047](d)}d=c[a+192>>2]|0;if((d|0)!=0){ad[c[(c[d>>2]|0)+4>>2]&2047](d)}d=c[a+196>>2]|0;if((d|0)!=0){ad[c[(c[d>>2]|0)+4>>2]&2047](d)}d=c[a+200>>2]|0;if((d|0)!=0){ad[c[(c[d>>2]|0)+4>>2]&2047](d)}Ph(a+204|0);d=a+176|0;e=a+184|0;do{if((c[e>>2]|0)!=0){f=c[a+180>>2]|0;g=d;h=(c[d>>2]|0)+4|0;i=f|0;c[(c[i>>2]|0)+4>>2]=c[h>>2];c[c[h>>2]>>2]=c[i>>2];c[e>>2]=0;if((f|0)==(g|0)){break}else{j=f}while(1){f=c[j+4>>2]|0;iK(j);if((f|0)==(g|0)){break}else{j=f}}}}while(0);Ex(a+144|0);c[b>>2]=35632;b=a+132|0;j=a+140|0;if((c[j>>2]|0)==0){k=a|0;ep(k);return}e=c[a+136>>2]|0;d=b;g=(c[b>>2]|0)+4|0;b=e|0;c[(c[b>>2]|0)+4>>2]=c[g>>2];c[c[g>>2]>>2]=c[b>>2];c[j>>2]=0;if((e|0)==(d|0)){k=a|0;ep(k);return}else{l=e}while(1){e=c[l+4>>2]|0;iK(l);if((e|0)==(d|0)){break}else{l=e}}k=a|0;ep(k);return}function mm(a){a=a|0;lm(a-400+272|0);return}function nm(a){a=a|0;lm(a-400+256|0);return}function om(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;$o(a|0);Cx(a+144|0);c[a+396>>2]=0;b=a+176|0;d=a+184|0;DK(a+188|0,0,16)|0;if((c[d>>2]|0)==0){return}e=c[a+180>>2]|0;a=b;f=(c[b>>2]|0)+4|0;b=e|0;c[(c[b>>2]|0)+4>>2]=c[f>>2];c[c[f>>2]>>2]=c[b>>2];c[d>>2]=0;if((e|0)==(a|0)){return}else{g=e}while(1){e=c[g+4>>2]|0;iK(g);if((e|0)==(a|0)){break}else{g=e}}return}function pm(a,b){a=a|0;b=b|0;var d=0;d=c[c[b>>2]>>2]|0;b=qd[c[(c[d>>2]|0)+40>>2]&255](d,a)|0;return(b?0:2)|0}function qm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;i=i+8|0;f=e|0;g=b|0;b=a|0;bp(g,b);if(!((d|0)==-1)){lp(b,g,d);ap(b,1);i=e;return}c[f>>2]=g;d=a+8|0;h=c[d>>2]|0;if((h|0)==(c[a+12>>2]|0)){xf(a+4|0,f);ap(b,1);i=e;return}if((h|0)==0){j=0}else{c[h>>2]=g;j=c[d>>2]|0}c[d>>2]=j+4;ap(b,1);i=e;return}function rm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=a+176|0;e=gK(12)|0;f=e;g=e+8|0;if((g|0)!=0){c[g>>2]=b}b=d|0;c[(c[b>>2]|0)+4>>2]=f;c[e>>2]=c[b>>2];c[b>>2]=f;c[e+4>>2]=d;d=a+184|0;c[d>>2]=(c[d>>2]|0)+1;return}function sm(a){a=a|0;return a+176|0}function tm(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=a+176|0;d=a+184|0;if((c[d>>2]|0)==0){return}e=c[a+180>>2]|0;a=b;f=(c[b>>2]|0)+4|0;b=e|0;c[(c[b>>2]|0)+4>>2]=c[f>>2];c[c[f>>2]>>2]=c[b>>2];c[d>>2]=0;if((e|0)==(a|0)){return}else{g=e}while(1){e=c[g+4>>2]|0;iK(g);if((e|0)==(a|0)){break}else{g=e}}return}function um(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;f=i;if((e|0)==0|(d|0)==0){$d(21296,(g=i,i=i+1|0,i=i+7&-8,c[g>>2]=0,g)|0);i=g;i=f;return}g=e+112|0;if((a[g]|0)!=0){if((c[e+88>>2]|0)==0){h=As(d+84|0)|0;j=b+188|0;k=c[j>>2]|0;if((k|0)!=0){ad[c[(c[k>>2]|0)+4>>2]&2047](k)}c[j>>2]=h}else{h=As(e+84|0)|0;j=b+188|0;k=c[j>>2]|0;if((k|0)!=0){ad[c[(c[k>>2]|0)+4>>2]&2047](k)}c[j>>2]=h}a[g]=0}h=e+113|0;if((a[h]|0)!=0){if((c[e+92>>2]|0)==0){j=Bs(d+84|0)|0;k=b+192|0;l=c[k>>2]|0;if((l|0)!=0){ad[c[(c[l>>2]|0)+4>>2]&2047](l)}c[k>>2]=j}else{j=Bs(e+84|0)|0;k=b+192|0;l=c[k>>2]|0;if((l|0)!=0){ad[c[(c[l>>2]|0)+4>>2]&2047](l)}c[k>>2]=j}a[h]=0}if((a[e+114|0]|0)!=0){if((c[e+96>>2]|0)==0){h=Cs(d+84|0)|0;j=b+196|0;k=c[j>>2]|0;if((k|0)!=0){ad[c[(c[k>>2]|0)+4>>2]&2047](k)}c[j>>2]=h}else{h=Cs(e+84|0)|0;j=b+196|0;k=c[j>>2]|0;if((k|0)!=0){ad[c[(c[k>>2]|0)+4>>2]&2047](k)}c[j>>2]=h}a[g]=0}g=e+115|0;if((a[g]|0)!=0){if((c[e+100>>2]|0)==0){h=Ds(d+84|0)|0;j=b+200|0;k=c[j>>2]|0;if((k|0)!=0){ad[c[(c[k>>2]|0)+4>>2]&2047](k)}c[j>>2]=h}else{h=Ds(e+84|0)|0;j=b+200|0;k=c[j>>2]|0;if((k|0)!=0){ad[c[(c[k>>2]|0)+4>>2]&2047](k)}c[j>>2]=h}a[g]=0}g=e+84|0;if((c[e+88>>2]|0)!=0){e=As(g)|0;Fm(b+204|0,e|0)|0;c[b+372>>2]=c[e+168>>2];a[b+380|0]=a[e+176|0]|0;c[b+388>>2]=c[e+184>>2];c[b+392>>2]=c[e+188>>2];if((e|0)==0){i=f;return}ad[c[(c[e>>2]|0)+4>>2]&2047](e);i=f;return}if((c[d+88>>2]|0)==0){i=f;return}d=As(g)|0;Fm(b+204|0,d|0)|0;c[b+372>>2]=c[d+168>>2];a[b+380|0]=a[d+176|0]|0;c[b+388>>2]=c[d+184>>2];c[b+392>>2]=c[d+188>>2];if((d|0)==0){i=f;return}ad[c[(c[d>>2]|0)+4>>2]&2047](d);i=f;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,k=0;if((b|0)==0){d=0;return d|0}do{if(Hm(b)|0){e=b;f=9}else{g=a+128|0;Kp(g,a|0);h=Mp(g,b|0)|0;if((h|0)==-1){e=b;f=9;break}else{i=b;j=h}while(1){if((c[(c[(c[i>>2]|0)-4>>2]|0)+4>>2]|0)==42280){k=i;f=8;break}if((j|0)<1){k=b;f=8;break}h=Np(g,i|0)|0;if((h|0)==0){f=7;break}else{i=h;j=j-1|0}}if((f|0)==7){Lc();return 0}else if((f|0)==8){if((k|0)==0){break}else{e=k;f=9;break}}}}while(0);do{if((f|0)==9){k=e;if((VJ(k,47328,46528,-1)|0)==0){break}d=VJ(k,47328,46528,-1)|0;return d|0}}while(0);d=a+204|0;return d|0}function wm(a,b){a=a|0;b=b|0;var c=0,d=0;c=vm(a,b)|0;if((c|0)==0){d=0;return d|0}d=Wh(c)|0;return d|0}function xm(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,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;e=i;i=i+40|0;f=e|0;g=e+8|0;h=e+24|0;j=c[d>>2]|0;d=c[j>>2]|0;k=c[j+4>>2]|0;l=c[j+8>>2]|0;m=c[j+12>>2]|0;n=c[j+16>>2]|0;o=c[j+20>>2]|0;if((a[n]|0)!=0){p=2;i=e;return p|0}j=b+8|0;q=b+4|0;b=c[q>>2]|0;if(((c[j>>2]|0)-b|0)<=0){p=0;i=e;return p|0}r=d;s=d+8|0;t=d+12|0;u=d+4|0;d=h;v=l+1|0;w=h+1|0;x=h+8|0;y=l+8|0;z=h+4|0;A=l+4|0;B=h|0;h=g;C=k+1|0;D=g+1|0;E=g+8|0;F=k+8|0;G=g+4|0;H=k+4|0;I=g|0;g=0;J=b;a:while(1){b=a[k]|0;if((b&1)==0){K=(b&255)>>>1}else{K=c[H>>2]|0}do{if((K|0)==0){L=J;M=35}else{if((a[m]|0)!=0){L=J;M=35;break}N=c[J+(g<<2)>>2]|0;O=N+32|0;if((a[O]&1)==0){c[h>>2]=c[O>>2];c[h+4>>2]=c[O+4>>2];c[h+8>>2]=c[O+8>>2];P=b}else{O=c[N+40>>2]|0;Q=c[N+36>>2]|0;if(Q>>>0>4294967279>>>0){M=12;break a}if(Q>>>0<11>>>0){a[h]=Q<<1;R=D}else{N=Q+16&-16;S=gK(N)|0;c[E>>2]=S;c[I>>2]=N|1;c[G>>2]=Q;R=S}BK(R|0,O|0,Q)|0;a[R+Q|0]=0;P=a[k]|0}Q=(P&1)==0;if(Q){T=(P&255)>>>1}else{T=c[H>>2]|0}O=a[h]|0;S=(O&1)==0;if(S){U=(O&255)>>>1}else{U=c[G>>2]|0}b:do{if((T|0)==(U|0)){if(Q){V=C}else{V=c[F>>2]|0}O=S?D:c[E>>2]|0;if(!Q){W=(xK(V,O,T)|0)==0;break}if((T|0)==0){W=1;break}else{X=V;Y=O;Z=T}while(1){if((a[X]|0)!=(a[Y]|0)){W=0;break b}O=Z-1|0;if((O|0)==0){W=1;break}else{X=X+1|0;Y=Y+1|0;Z=O}}}else{W=0}}while(0);if(!S){iK(c[E>>2]|0)}if(!W){break}a[m]=1;L=c[q>>2]|0;M=35}}while(0);do{if((M|0)==35){M=0;b=c[L+(g<<2)>>2]|0;if((b|0)==0){M=37;break a}Q=VJ(b,46112,47328,-1)|0;if((Q|0)==0){M=37;break a}b=Gm(Q,(a[o]|0)!=0)|0;bp(b,r);c[f>>2]=b;Q=c[s>>2]|0;if((Q|0)==(c[t>>2]|0)){xf(u,f)}else{if((Q|0)==0){_=0}else{c[Q>>2]=b;_=c[s>>2]|0}c[s>>2]=_+4}ap(r,1);b=a[l]|0;if((b&1)==0){$=(b&255)>>>1}else{$=c[A>>2]|0}if(($|0)==0){break}Q=c[(c[q>>2]|0)+(g<<2)>>2]|0;O=Q+32|0;if((a[O]&1)==0){c[d>>2]=c[O>>2];c[d+4>>2]=c[O+4>>2];c[d+8>>2]=c[O+8>>2];aa=b}else{b=c[Q+40>>2]|0;O=c[Q+36>>2]|0;if(O>>>0>4294967279>>>0){M=50;break a}if(O>>>0<11>>>0){a[d]=O<<1;ba=w}else{Q=O+16&-16;N=gK(Q)|0;c[x>>2]=N;c[B>>2]=Q|1;c[z>>2]=O;ba=N}BK(ba|0,b|0,O)|0;a[ba+O|0]=0;aa=a[l]|0}O=(aa&1)==0;if(O){ca=(aa&255)>>>1}else{ca=c[A>>2]|0}b=a[d]|0;N=(b&1)==0;if(N){da=(b&255)>>>1}else{da=c[z>>2]|0}c:do{if((ca|0)==(da|0)){if(O){ea=v}else{ea=c[y>>2]|0}b=N?w:c[x>>2]|0;if(!O){fa=(xK(ea,b,ca)|0)==0;break}if((ca|0)==0){fa=1;break}else{ga=ea;ha=b;ia=ca}while(1){if((a[ga]|0)!=(a[ha]|0)){fa=0;break c}b=ia-1|0;if((b|0)==0){fa=1;break}else{ga=ga+1|0;ha=ha+1|0;ia=b}}}else{fa=0}}while(0);if(!N){iK(c[x>>2]|0)}if(fa){M=72;break a}}}while(0);O=g+1|0;S=c[q>>2]|0;if((O|0)<((c[j>>2]|0)-S>>2|0)){g=O;J=S}else{p=0;M=74;break}}if((M|0)==12){GA(0);return 0}else if((M|0)==37){yc(16872,14264,478,23464);return 0}else if((M|0)==50){GA(0);return 0}else if((M|0)==72){a[n]=1;p=2;i=e;return p|0}else if((M|0)==74){i=e;return p|0}return 0}function ym(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;d=i;i=i+64|0;e=d|0;f=d+16|0;g=d+32|0;j=d+48|0;k=b|0;l=c[(c[k>>2]|0)+4>>2]|0;ad[c[(c[a>>2]|0)+24>>2]&2047](a|0);h[l>>3]=0.0;l=c[a+188>>2]|0;do{if((l|0)!=0){m=l|0;n=c[(c[l>>2]|0)+56>>2]|0;o=e|0;c[o>>2]=0;p=e+4|0;c[p>>2]=0;q=e+8|0;c[q>>2]=0;r=c[b+4>>2]|0;s=c[k>>2]|0;t=r-s|0;u=t>>2;do{if((u|0)!=0){if(u>>>0>1073741823>>>0){tG(0);return 0}v=gK(t)|0;c[p>>2]=v;c[o>>2]=v;c[q>>2]=v+(u<<2);if((s|0)==(r|0)){break}else{w=s;x=v}do{if((x|0)==0){y=0}else{c[x>>2]=c[w>>2];y=c[p>>2]|0}x=y+4|0;c[p>>2]=x;w=w+4|0;}while((w|0)!=(r|0))}}while(0);qd[n&255](m,e)|0;r=c[o>>2]|0;if((r|0)==0){break}s=c[p>>2]|0;if((s|0)!=(r|0)){c[p>>2]=s+(~((s-4+(-r|0)|0)>>>2)<<2)}iK(r)}}while(0);e=c[a+192>>2]|0;do{if((e|0)!=0){w=e|0;x=c[(c[e>>2]|0)+56>>2]|0;y=f|0;c[y>>2]=0;l=f+4|0;c[l>>2]=0;r=f+8|0;c[r>>2]=0;s=c[b+4>>2]|0;u=c[k>>2]|0;q=s-u|0;t=q>>2;do{if((t|0)!=0){if(t>>>0>1073741823>>>0){tG(0);return 0}v=gK(q)|0;c[l>>2]=v;c[y>>2]=v;c[r>>2]=v+(t<<2);if((u|0)==(s|0)){break}else{z=u;A=v}do{if((A|0)==0){B=0}else{c[A>>2]=c[z>>2];B=c[l>>2]|0}A=B+4|0;c[l>>2]=A;z=z+4|0;}while((z|0)!=(s|0))}}while(0);qd[x&255](w,f)|0;s=c[y>>2]|0;if((s|0)==0){break}u=c[l>>2]|0;if((u|0)!=(s|0)){c[l>>2]=u+(~((u-4+(-s|0)|0)>>>2)<<2)}iK(s)}}while(0);f=c[a+196>>2]|0;do{if((f|0)!=0){z=f|0;A=c[(c[f>>2]|0)+56>>2]|0;B=g|0;c[B>>2]=0;e=g+4|0;c[e>>2]=0;s=g+8|0;c[s>>2]=0;u=c[b+4>>2]|0;t=c[k>>2]|0;r=u-t|0;q=r>>2;do{if((q|0)!=0){if(q>>>0>1073741823>>>0){tG(0);return 0}p=gK(r)|0;c[e>>2]=p;c[B>>2]=p;c[s>>2]=p+(q<<2);if((t|0)==(u|0)){break}else{C=t;D=p}do{if((D|0)==0){E=0}else{c[D>>2]=c[C>>2];E=c[e>>2]|0}D=E+4|0;c[e>>2]=D;C=C+4|0;}while((C|0)!=(u|0))}}while(0);qd[A&255](z,g)|0;u=c[B>>2]|0;if((u|0)==0){break}t=c[e>>2]|0;if((t|0)!=(u|0)){c[e>>2]=t+(~((t-4+(-u|0)|0)>>>2)<<2)}iK(u)}}while(0);g=c[a+200>>2]|0;if((g|0)==0){i=d;return 0}a=g|0;C=c[(c[g>>2]|0)+56>>2]|0;g=j|0;c[g>>2]=0;D=j+4|0;c[D>>2]=0;E=j+8|0;c[E>>2]=0;f=c[b+4>>2]|0;b=c[k>>2]|0;k=f-b|0;u=k>>2;do{if((u|0)!=0){if(u>>>0>1073741823>>>0){tG(0);return 0}t=gK(k)|0;c[D>>2]=t;c[g>>2]=t;c[E>>2]=t+(u<<2);if((b|0)==(f|0)){break}else{F=b;G=t}do{if((G|0)==0){H=0}else{c[G>>2]=c[F>>2];H=c[D>>2]|0}G=H+4|0;c[D>>2]=G;F=F+4|0;}while((F|0)!=(f|0))}}while(0);qd[C&255](a,j)|0;j=c[g>>2]|0;if((j|0)==0){i=d;return 0}g=c[D>>2]|0;if((g|0)!=(j|0)){c[D>>2]=g+(~((g-4+(-j|0)|0)>>>2)<<2)}iK(j);i=d;return 0}function zm(b,c){b=b|0;c=c|0;a[b]=10;c=b;b=c+1|0;a[b]=a[10616]|0;a[b+1|0]=a[10617]|0;a[b+2|0]=a[10618]|0;a[b+3|0]=a[10619]|0;a[b+4|0]=a[10620]|0;a[c+6|0]=0;return}function Am(b){b=b|0;var d=0,e=0,f=0,g=0;d=i;i=i+16|0;e=d|0;f=e;a[f]=6;g=e+1|0;a[g]=a[19776]|0;a[g+1|0]=a[19777]|0;a[g+2|0]=a[19778]|0;a[e+4|0]=0;Dp(b|0,e);if(!((a[f]&1)==0)){iK(c[e+8>>2]|0)}c[b>>2]=37392;DK(b+136|0,0,16)|0;$o(b|0);a[b+132|0]=0;c[b+128>>2]=-2147483647;c[b+92>>2]=0;c[b+88>>2]=0;a[b+160|0]=0;c[b+156>>2]=0;i=d;return}function Bm(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+16|0;f=e|0;g=b|0;h=d;if((a[h]&1)==0){j=f;c[j>>2]=c[h>>2];c[j+4>>2]=c[h+4>>2];c[j+8>>2]=c[h+8>>2]}else{h=c[d+8>>2]|0;j=c[d+4>>2]|0;if(j>>>0>4294967279>>>0){GA(0)}if(j>>>0<11>>>0){a[f]=j<<1;k=f+1|0}else{d=j+16&-16;l=gK(d)|0;c[f+8>>2]=l;c[f>>2]=d|1;c[f+4>>2]=j;k=l}BK(k|0,h|0,j)|0;a[k+j|0]=0}Dp(g,f);if(!((a[f]&1)==0)){iK(c[f+8>>2]|0)}c[b>>2]=37392;DK(b+136|0,0,16)|0;$o(b|0);a[b+132|0]=0;c[b+128>>2]=-2147483647;c[b+92>>2]=0;c[b+88>>2]=0;a[b+160|0]=0;c[b+156>>2]=0;i=e;return}function Cm(b){b=b|0;$o(b|0);a[b+132|0]=0;c[b+128>>2]=-2147483647;c[b+92>>2]=0;c[b+88>>2]=0;a[b+160|0]=0;c[b+156>>2]=0;return}function Dm(a){a=a|0;ep(a|0);iK(a);return}
-
-
-
-function zE(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;j=i;i=i+16|0;k=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[k>>2];k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=j|0;l=j+8|0;c[k>>2]=c[d>>2];c[l>>2]=c[e>>2];vE(a,b,k,l,f,g,h,25320,25352);i=j;return}function AE(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=i;i=i+16|0;l=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[l>>2];l=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[l>>2];l=k|0;m=k+8|0;n=d+8|0;o=dd[c[(c[n>>2]|0)+20>>2]&255](n)|0;c[l>>2]=c[e>>2];c[m>>2]=c[f>>2];f=a[o]|0;if((f&1)==0){p=(f&255)>>>1;q=o+4|0;r=o+4|0}else{f=c[o+8>>2]|0;p=c[o+4>>2]|0;q=f;r=f}vE(b,d,l,m,g,h,j,q,r+(p<<2)|0);i=k;return}function BE(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;j=i;i=i+32|0;k=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[k>>2];k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=j|0;l=j+8|0;m=j+24|0;iB(m,f);f=m|0;m=c[f>>2]|0;if(!((c[13352]|0)==-1)){c[l>>2]=53408;c[l+4>>2]=52;c[l+8>>2]=0;FA(53408,l,380)}l=(c[13353]|0)-1|0;n=c[m+8>>2]|0;do{if((c[m+12>>2]|0)-n>>2>>>0>l>>>0){o=c[n+(l<<2)>>2]|0;if((o|0)==0){break}kA(c[f>>2]|0)|0;p=c[e>>2]|0;q=b+8|0;r=dd[c[c[q>>2]>>2]&255](q)|0;c[k>>2]=p;p=(hD(d,k,r,r+168|0,o,g,0)|0)-r|0;if((p|0)>=168){s=d|0;t=c[s>>2]|0;u=a|0;c[u>>2]=t;i=j;return}c[h+24>>2]=((p|0)/12|0|0)%7|0;s=d|0;t=c[s>>2]|0;u=a|0;c[u>>2]=t;i=j;return}}while(0);j=Nc(4)|0;DJ(j);Vb(j|0,43976,614)}function CE(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;j=i;i=i+32|0;k=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[k>>2];k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=j|0;l=j+8|0;m=j+24|0;iB(m,f);f=m|0;m=c[f>>2]|0;if(!((c[13352]|0)==-1)){c[l>>2]=53408;c[l+4>>2]=52;c[l+8>>2]=0;FA(53408,l,380)}l=(c[13353]|0)-1|0;n=c[m+8>>2]|0;do{if((c[m+12>>2]|0)-n>>2>>>0>l>>>0){o=c[n+(l<<2)>>2]|0;if((o|0)==0){break}kA(c[f>>2]|0)|0;p=c[e>>2]|0;q=b+8|0;r=dd[c[(c[q>>2]|0)+4>>2]&255](q)|0;c[k>>2]=p;p=(hD(d,k,r,r+288|0,o,g,0)|0)-r|0;if((p|0)>=288){s=d|0;t=c[s>>2]|0;u=a|0;c[u>>2]=t;i=j;return}c[h+16>>2]=((p|0)/12|0|0)%12|0;s=d|0;t=c[s>>2]|0;u=a|0;c[u>>2]=t;i=j;return}}while(0);j=Nc(4)|0;DJ(j);Vb(j|0,43976,614)}function DE(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;b=i;i=i+32|0;j=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[j>>2];j=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[j>>2];j=b|0;k=b+8|0;l=b+24|0;iB(l,f);f=l|0;l=c[f>>2]|0;if(!((c[13352]|0)==-1)){c[k>>2]=53408;c[k+4>>2]=52;c[k+8>>2]=0;FA(53408,k,380)}k=(c[13353]|0)-1|0;m=c[l+8>>2]|0;do{if((c[l+12>>2]|0)-m>>2>>>0>k>>>0){n=c[m+(k<<2)>>2]|0;if((n|0)==0){break}kA(c[f>>2]|0)|0;c[j>>2]=c[e>>2];o=IE(d,j,g,n,4)|0;if((c[g>>2]&4|0)!=0){p=d|0;q=c[p>>2]|0;r=a|0;c[r>>2]=q;i=b;return}if((o|0)<69){s=o+2e3|0}else{s=(o-69|0)>>>0<31>>>0?o+1900|0:o}c[h+20>>2]=s-1900;p=d|0;q=c[p>>2]|0;r=a|0;c[r>>2]=q;i=b;return}}while(0);b=Nc(4)|0;DJ(b);Vb(b|0,43976,614)}function EE(b,d,e,f,g,h,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,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;l=i;i=i+328|0;m=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[m>>2];m=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[m>>2];m=l|0;n=l+8|0;o=l+16|0;p=l+24|0;q=l+32|0;r=l+40|0;s=l+48|0;t=l+56|0;u=l+64|0;v=l+72|0;w=l+80|0;x=l+88|0;y=l+96|0;z=l+112|0;A=l+120|0;B=l+128|0;C=l+136|0;D=l+144|0;E=l+152|0;F=l+160|0;G=l+168|0;H=l+176|0;I=l+184|0;J=l+192|0;K=l+200|0;L=l+208|0;M=l+216|0;N=l+224|0;O=l+232|0;P=l+240|0;Q=l+248|0;R=l+256|0;S=l+264|0;T=l+272|0;U=l+280|0;V=l+288|0;W=l+296|0;X=l+304|0;Y=l+312|0;Z=l+320|0;c[h>>2]=0;iB(z,g);_=z|0;z=c[_>>2]|0;if(!((c[13352]|0)==-1)){c[y>>2]=53408;c[y+4>>2]=52;c[y+8>>2]=0;FA(53408,y,380)}y=(c[13353]|0)-1|0;$=c[z+8>>2]|0;do{if((c[z+12>>2]|0)-$>>2>>>0>y>>>0){aa=c[$+(y<<2)>>2]|0;if((aa|0)==0){break}ba=aa;kA(c[_>>2]|0)|0;a:do{switch(k<<24>>24|0){case 77:{c[q>>2]=c[f>>2];aa=IE(e,q,h,ba,2)|0;ca=c[h>>2]|0;if((ca&4|0)==0&(aa|0)<60){c[j+4>>2]=aa;break a}else{c[h>>2]=ca|4;break a}break};case 82:{ca=e|0;c[P>>2]=c[ca>>2];c[Q>>2]=c[f>>2];vE(O,d,P,Q,g,h,j,25216,25236);c[ca>>2]=c[O>>2];break};case 37:{c[Z>>2]=c[f>>2];HE(0,e,Z,h,ba);break};case 112:{c[K>>2]=c[f>>2];GE(d,j+8|0,e,K,h,ba);break};case 84:{ca=e|0;c[S>>2]=c[ca>>2];c[T>>2]=c[f>>2];vE(R,d,S,T,g,h,j,25184,25216);c[ca>>2]=c[R>>2];break};case 70:{ca=e|0;c[H>>2]=c[ca>>2];c[I>>2]=c[f>>2];vE(G,d,H,I,g,h,j,25152,25184);c[ca>>2]=c[G>>2];break};case 83:{c[p>>2]=c[f>>2];ca=IE(e,p,h,ba,2)|0;aa=c[h>>2]|0;if((aa&4|0)==0&(ca|0)<61){c[j>>2]=ca;break a}else{c[h>>2]=aa|4;break a}break};case 106:{c[s>>2]=c[f>>2];aa=IE(e,s,h,ba,3)|0;ca=c[h>>2]|0;if((ca&4|0)==0&(aa|0)<366){c[j+28>>2]=aa;break a}else{c[h>>2]=ca|4;break a}break};case 88:{ca=d+8|0;aa=dd[c[(c[ca>>2]|0)+24>>2]&255](ca)|0;ca=e|0;c[X>>2]=c[ca>>2];c[Y>>2]=c[f>>2];da=a[aa]|0;if((da&1)==0){ea=(da&255)>>>1;fa=aa+4|0;ga=aa+4|0}else{da=c[aa+8>>2]|0;ea=c[aa+4>>2]|0;fa=da;ga=da}vE(W,d,X,Y,g,h,j,fa,ga+(ea<<2)|0);c[ca>>2]=c[W>>2];break};case 109:{c[r>>2]=c[f>>2];ca=(IE(e,r,h,ba,2)|0)-1|0;da=c[h>>2]|0;if((da&4|0)==0&(ca|0)<12){c[j+16>>2]=ca;break a}else{c[h>>2]=da|4;break a}break};case 114:{da=e|0;c[M>>2]=c[da>>2];c[N>>2]=c[f>>2];vE(L,d,M,N,g,h,j,25240,25284);c[da>>2]=c[L>>2];break};case 97:case 65:{da=c[f>>2]|0;ca=d+8|0;aa=dd[c[c[ca>>2]>>2]&255](ca)|0;c[x>>2]=da;da=(hD(e,x,aa,aa+168|0,ba,h,0)|0)-aa|0;if((da|0)>=168){break a}c[j+24>>2]=((da|0)/12|0|0)%7|0;break};case 100:case 101:{da=j+12|0;c[v>>2]=c[f>>2];aa=IE(e,v,h,ba,2)|0;ca=c[h>>2]|0;do{if((ca&4|0)==0){if(!((aa-1|0)>>>0<31>>>0)){break}c[da>>2]=aa;break a}}while(0);c[h>>2]=ca|4;break};case 72:{c[u>>2]=c[f>>2];aa=IE(e,u,h,ba,2)|0;da=c[h>>2]|0;if((da&4|0)==0&(aa|0)<24){c[j+8>>2]=aa;break a}else{c[h>>2]=da|4;break a}break};case 68:{da=e|0;c[E>>2]=c[da>>2];c[F>>2]=c[f>>2];vE(D,d,E,F,g,h,j,25288,25320);c[da>>2]=c[D>>2];break};case 110:case 116:{c[J>>2]=c[f>>2];FE(0,e,J,h,ba);break};case 99:{da=d+8|0;aa=dd[c[(c[da>>2]|0)+12>>2]&255](da)|0;da=e|0;c[B>>2]=c[da>>2];c[C>>2]=c[f>>2];ha=a[aa]|0;if((ha&1)==0){ia=(ha&255)>>>1;ja=aa+4|0;ka=aa+4|0}else{ha=c[aa+8>>2]|0;ia=c[aa+4>>2]|0;ja=ha;ka=ha}vE(A,d,B,C,g,h,j,ja,ka+(ia<<2)|0);c[da>>2]=c[A>>2];break};case 121:{c[n>>2]=c[f>>2];da=IE(e,n,h,ba,4)|0;if((c[h>>2]&4|0)!=0){break a}if((da|0)<69){la=da+2e3|0}else{la=(da-69|0)>>>0<31>>>0?da+1900|0:da}c[j+20>>2]=la-1900;break};case 98:case 66:case 104:{da=c[f>>2]|0;ha=d+8|0;aa=dd[c[(c[ha>>2]|0)+4>>2]&255](ha)|0;c[w>>2]=da;da=(hD(e,w,aa,aa+288|0,ba,h,0)|0)-aa|0;if((da|0)>=288){break a}c[j+16>>2]=((da|0)/12|0|0)%12|0;break};case 73:{da=j+8|0;c[t>>2]=c[f>>2];aa=IE(e,t,h,ba,2)|0;ha=c[h>>2]|0;do{if((ha&4|0)==0){if(!((aa-1|0)>>>0<12>>>0)){break}c[da>>2]=aa;break a}}while(0);c[h>>2]=ha|4;break};case 119:{c[o>>2]=c[f>>2];aa=IE(e,o,h,ba,1)|0;da=c[h>>2]|0;if((da&4|0)==0&(aa|0)<7){c[j+24>>2]=aa;break a}else{c[h>>2]=da|4;break a}break};case 89:{c[m>>2]=c[f>>2];da=IE(e,m,h,ba,4)|0;if((c[h>>2]&4|0)!=0){break a}c[j+20>>2]=da-1900;break};case 120:{da=c[(c[d>>2]|0)+20>>2]|0;c[U>>2]=c[e>>2];c[V>>2]=c[f>>2];nd[da&127](b,d,U,V,g,h,j);i=l;return};default:{c[h>>2]=c[h>>2]|4}}}while(0);c[b>>2]=c[e>>2];i=l;return}}while(0);l=Nc(4)|0;DJ(l);Vb(l|0,43976,614)}function FE(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;a=i;g=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[g>>2];g=b|0;b=d|0;d=f;a:while(1){h=c[g>>2]|0;do{if((h|0)==0){j=1}else{k=c[h+12>>2]|0;if((k|0)==(c[h+16>>2]|0)){l=dd[c[(c[h>>2]|0)+36>>2]&255](h)|0}else{l=c[k>>2]|0}if((l|0)==-1){c[g>>2]=0;j=1;break}else{j=(c[g>>2]|0)==0;break}}}while(0);h=c[b>>2]|0;do{if((h|0)==0){m=15}else{k=c[h+12>>2]|0;if((k|0)==(c[h+16>>2]|0)){n=dd[c[(c[h>>2]|0)+36>>2]&255](h)|0}else{n=c[k>>2]|0}if((n|0)==-1){c[b>>2]=0;m=15;break}else{if(j){o=h;break}else{p=h;break a}}}}while(0);if((m|0)==15){m=0;if(j){p=0;break}else{o=0}}h=c[g>>2]|0;k=c[h+12>>2]|0;if((k|0)==(c[h+16>>2]|0)){q=dd[c[(c[h>>2]|0)+36>>2]&255](h)|0}else{q=c[k>>2]|0}if(!(gd[c[(c[d>>2]|0)+12>>2]&63](f,8192,q)|0)){p=o;break}k=c[g>>2]|0;h=k+12|0;r=c[h>>2]|0;if((r|0)==(c[k+16>>2]|0)){dd[c[(c[k>>2]|0)+40>>2]&255](k)|0;continue}else{c[h>>2]=r+4;continue}}o=c[g>>2]|0;do{if((o|0)==0){s=1}else{q=c[o+12>>2]|0;if((q|0)==(c[o+16>>2]|0)){t=dd[c[(c[o>>2]|0)+36>>2]&255](o)|0}else{t=c[q>>2]|0}if((t|0)==-1){c[g>>2]=0;s=1;break}else{s=(c[g>>2]|0)==0;break}}}while(0);do{if((p|0)==0){m=37}else{g=c[p+12>>2]|0;if((g|0)==(c[p+16>>2]|0)){u=dd[c[(c[p>>2]|0)+36>>2]&255](p)|0}else{u=c[g>>2]|0}if((u|0)==-1){c[b>>2]=0;m=37;break}if(!s){break}i=a;return}}while(0);do{if((m|0)==37){if(s){break}i=a;return}}while(0);c[e>>2]=c[e>>2]|2;i=a;return}function GE(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0;j=i;i=i+8|0;k=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[k>>2];k=j|0;l=b+8|0;b=dd[c[(c[l>>2]|0)+8>>2]&255](l)|0;l=a[b]|0;if((l&1)==0){m=(l&255)>>>1}else{m=c[b+4>>2]|0}l=a[b+12|0]|0;if((l&1)==0){n=(l&255)>>>1}else{n=c[b+16>>2]|0}if((m|0)==(-n|0)){c[g>>2]=c[g>>2]|4;i=j;return}c[k>>2]=c[f>>2];f=hD(e,k,b,b+24|0,h,g,0)|0;g=f-b|0;do{if((f|0)==(b|0)){if((c[d>>2]|0)!=12){break}c[d>>2]=0;i=j;return}}while(0);if((g|0)!=12){i=j;return}g=c[d>>2]|0;if((g|0)>=12){i=j;return}c[d>>2]=g+12;i=j;return}function HE(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a=i;g=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[g>>2];g=b|0;b=c[g>>2]|0;do{if((b|0)==0){h=1}else{j=c[b+12>>2]|0;if((j|0)==(c[b+16>>2]|0)){k=dd[c[(c[b>>2]|0)+36>>2]&255](b)|0}else{k=c[j>>2]|0}if((k|0)==-1){c[g>>2]=0;h=1;break}else{h=(c[g>>2]|0)==0;break}}}while(0);k=d|0;d=c[k>>2]|0;do{if((d|0)==0){l=14}else{b=c[d+12>>2]|0;if((b|0)==(c[d+16>>2]|0)){m=dd[c[(c[d>>2]|0)+36>>2]&255](d)|0}else{m=c[b>>2]|0}if((m|0)==-1){c[k>>2]=0;l=14;break}else{if(h){n=d;break}else{l=16;break}}}}while(0);if((l|0)==14){if(h){l=16}else{n=0}}if((l|0)==16){c[e>>2]=c[e>>2]|6;i=a;return}h=c[g>>2]|0;d=c[h+12>>2]|0;if((d|0)==(c[h+16>>2]|0)){o=dd[c[(c[h>>2]|0)+36>>2]&255](h)|0}else{o=c[d>>2]|0}if(!((gd[c[(c[f>>2]|0)+52>>2]&63](f,o,0)|0)<<24>>24==37)){c[e>>2]=c[e>>2]|4;i=a;return}o=c[g>>2]|0;f=o+12|0;d=c[f>>2]|0;if((d|0)==(c[o+16>>2]|0)){dd[c[(c[o>>2]|0)+40>>2]&255](o)|0}else{c[f>>2]=d+4}d=c[g>>2]|0;do{if((d|0)==0){p=1}else{f=c[d+12>>2]|0;if((f|0)==(c[d+16>>2]|0)){q=dd[c[(c[d>>2]|0)+36>>2]&255](d)|0}else{q=c[f>>2]|0}if((q|0)==-1){c[g>>2]=0;p=1;break}else{p=(c[g>>2]|0)==0;break}}}while(0);do{if((n|0)==0){l=38}else{g=c[n+12>>2]|0;if((g|0)==(c[n+16>>2]|0)){r=dd[c[(c[n>>2]|0)+36>>2]&255](n)|0}else{r=c[g>>2]|0}if((r|0)==-1){c[k>>2]=0;l=38;break}if(!p){break}i=a;return}}while(0);do{if((l|0)==38){if(p){break}i=a;return}}while(0);c[e>>2]=c[e>>2]|2;i=a;return}function IE(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,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=i;h=b;b=i;i=i+4|0;i=i+7&-8;c[b>>2]=c[h>>2];h=a|0;a=c[h>>2]|0;do{if((a|0)==0){j=1}else{k=c[a+12>>2]|0;if((k|0)==(c[a+16>>2]|0)){l=dd[c[(c[a>>2]|0)+36>>2]&255](a)|0}else{l=c[k>>2]|0}if((l|0)==-1){c[h>>2]=0;j=1;break}else{j=(c[h>>2]|0)==0;break}}}while(0);l=b|0;b=c[l>>2]|0;do{if((b|0)==0){m=14}else{a=c[b+12>>2]|0;if((a|0)==(c[b+16>>2]|0)){n=dd[c[(c[b>>2]|0)+36>>2]&255](b)|0}else{n=c[a>>2]|0}if((n|0)==-1){c[l>>2]=0;m=14;break}else{if(j){o=b;break}else{m=16;break}}}}while(0);if((m|0)==14){if(j){m=16}else{o=0}}if((m|0)==16){c[d>>2]=c[d>>2]|6;p=0;i=g;return p|0}j=c[h>>2]|0;b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0)){q=dd[c[(c[j>>2]|0)+36>>2]&255](j)|0}else{q=c[b>>2]|0}b=e;if(!(gd[c[(c[b>>2]|0)+12>>2]&63](e,2048,q)|0)){c[d>>2]=c[d>>2]|4;p=0;i=g;return p|0}j=e;n=(gd[c[(c[j>>2]|0)+52>>2]&63](e,q,0)|0)<<24>>24;q=c[h>>2]|0;a=q+12|0;k=c[a>>2]|0;if((k|0)==(c[q+16>>2]|0)){dd[c[(c[q>>2]|0)+40>>2]&255](q)|0;r=n;s=f;t=o;u=o}else{c[a>>2]=k+4;r=n;s=f;t=o;u=o}while(1){v=r-48|0;o=s-1|0;f=c[h>>2]|0;do{if((f|0)==0){w=1}else{n=c[f+12>>2]|0;if((n|0)==(c[f+16>>2]|0)){x=dd[c[(c[f>>2]|0)+36>>2]&255](f)|0}else{x=c[n>>2]|0}if((x|0)==-1){c[h>>2]=0;w=1;break}else{w=(c[h>>2]|0)==0;break}}}while(0);do{if((t|0)==0){y=1;z=0;A=u}else{f=c[t+12>>2]|0;if((f|0)==(c[t+16>>2]|0)){B=dd[c[(c[t>>2]|0)+36>>2]&255](t)|0}else{B=c[f>>2]|0}if((B|0)==-1){c[l>>2]=0;y=1;z=0;A=0;break}else{y=(u|0)==0;z=u;A=u;break}}}while(0);C=c[h>>2]|0;if(!((w^y)&(o|0)>0)){break}f=c[C+12>>2]|0;if((f|0)==(c[C+16>>2]|0)){D=dd[c[(c[C>>2]|0)+36>>2]&255](C)|0}else{D=c[f>>2]|0}if(!(gd[c[(c[b>>2]|0)+12>>2]&63](e,2048,D)|0)){p=v;m=63;break}f=((gd[c[(c[j>>2]|0)+52>>2]&63](e,D,0)|0)<<24>>24)+(v*10|0)|0;n=c[h>>2]|0;k=n+12|0;a=c[k>>2]|0;if((a|0)==(c[n+16>>2]|0)){dd[c[(c[n>>2]|0)+40>>2]&255](n)|0;r=f;s=o;t=z;u=A;continue}else{c[k>>2]=a+4;r=f;s=o;t=z;u=A;continue}}if((m|0)==63){i=g;return p|0}do{if((C|0)==0){E=1}else{u=c[C+12>>2]|0;if((u|0)==(c[C+16>>2]|0)){F=dd[c[(c[C>>2]|0)+36>>2]&255](C)|0}else{F=c[u>>2]|0}if((F|0)==-1){c[h>>2]=0;E=1;break}else{E=(c[h>>2]|0)==0;break}}}while(0);do{if((A|0)==0){m=60}else{h=c[A+12>>2]|0;if((h|0)==(c[A+16>>2]|0)){G=dd[c[(c[A>>2]|0)+36>>2]&255](A)|0}else{G=c[h>>2]|0}if((G|0)==-1){c[l>>2]=0;m=60;break}if(E){p=v}else{break}i=g;return p|0}}while(0);do{if((m|0)==60){if(E){break}else{p=v}i=g;return p|0}}while(0);c[d>>2]=c[d>>2]|2;p=v;i=g;return p|0}function JE(b){b=b|0;var d=0,e=0;d=b+8|0;e=c[d>>2]|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);if((e|0)!=(c[12914]|0)){Cb(c[d>>2]|0)}iA(b|0);iK(b);return}function KE(b){b=b|0;var d=0,e=0,f=0;d=b+8|0;e=c[d>>2]|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);if((e|0)==(c[12914]|0)){f=b|0;iA(f);return}Cb(c[d>>2]|0);f=b|0;iA(f);return}function LE(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;g=i;i=i+112|0;f=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[f>>2];f=g|0;l=g+8|0;m=l|0;n=f|0;a[n]=37;o=f+1|0;a[o]=j;p=f+2|0;a[p]=k;a[f+3|0]=0;if(!(k<<24>>24==0)){a[o]=k;a[p]=j}j=Bc(m|0,100,n|0,h|0,c[d+8>>2]|0)|0;d=l+j|0;l=c[e>>2]|0;if((j|0)==0){q=l;r=b|0;c[r>>2]=q;i=g;return}else{s=m;t=l;u=l}while(1){l=a[s]|0;do{if((t|0)==0){v=0;w=u}else{m=t+24|0;j=c[m>>2]|0;if((j|0)==(c[t+28>>2]|0)){e=(qd[c[(c[t>>2]|0)+52>>2]&255](t,l&255)|0)==-1;v=e?0:t;w=e?0:u;break}else{c[m>>2]=j+1;a[j]=l;v=t;w=u;break}}}while(0);l=s+1|0;if((l|0)==(d|0)){q=w;break}else{s=l;t=v;u=w}}r=b|0;c[r>>2]=q;i=g;return}function ME(b){b=b|0;var d=0,e=0;d=b+8|0;e=c[d>>2]|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);if((e|0)!=(c[12914]|0)){Cb(c[d>>2]|0)}iA(b|0);iK(b);return}function NE(b){b=b|0;var d=0,e=0,f=0;d=b+8|0;e=c[d>>2]|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);if((e|0)==(c[12914]|0)){f=b|0;iA(f);return}Cb(c[d>>2]|0);f=b|0;iA(f);return}function OE(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=i;i=i+408|0;e=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[e>>2];e=f|0;k=f+400|0;l=e|0;c[k>>2]=e+400;PE(b+8|0,l,k,g,h,j);j=c[k>>2]|0;k=c[d>>2]|0;if((l|0)==(j|0)){m=k;n=a|0;c[n>>2]=m;i=f;return}else{o=l;p=k;q=k}while(1){k=c[o>>2]|0;if((p|0)==0){r=0;s=q}else{l=p+24|0;d=c[l>>2]|0;if((d|0)==(c[p+28>>2]|0)){t=qd[c[(c[p>>2]|0)+52>>2]&255](p,k)|0}else{c[l>>2]=d+4;c[d>>2]=k;t=k}k=(t|0)==-1;r=k?0:p;s=k?0:q}k=o+4|0;if((k|0)==(j|0)){m=s;break}else{o=k;p=r;q=s}}n=a|0;c[n>>2]=m;i=f;return}function PE(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=i;i=i+120|0;k=j|0;l=j+112|0;m=i;i=i+4|0;i=i+7&-8;n=j+8|0;o=k|0;a[o]=37;p=k+1|0;a[p]=g;q=k+2|0;a[q]=h;a[k+3|0]=0;if(!(h<<24>>24==0)){a[p]=h;a[q]=g}g=b|0;Bc(n|0,100,o|0,f|0,c[g>>2]|0)|0;c[l>>2]=0;c[l+4>>2]=0;c[m>>2]=n;n=(c[e>>2]|0)-d>>2;f=vc(c[g>>2]|0)|0;g=aJ(d,m,n,l)|0;if((f|0)!=0){vc(f|0)|0}if((g|0)==-1){LF(12752)}else{c[e>>2]=d+(g<<2);i=j;return}}function QE(a){a=a|0;iA(a|0);iK(a);return}function RE(a){a=a|0;iA(a|0);return}function SE(a){a=a|0;return 127}function TE(a){a=a|0;return 127}function UE(a,b){a=a|0;b=b|0;DK(a|0,0,12)|0;return}function VE(a,b){a=a|0;b=b|0;DK(a|0,0,12)|0;return}function WE(a,b){a=a|0;b=b|0;DK(a|0,0,12)|0;return}function XE(a,b){a=a|0;b=b|0;KA(a,1,45);return}function YE(a){a=a|0;return 0}function ZE(b,c){b=b|0;c=c|0;c=b;E=67109634;a[c]=E;E=E>>8;a[c+1|0]=E;E=E>>8;a[c+2|0]=E;E=E>>8;a[c+3|0]=E;return}function _E(b,c){b=b|0;c=c|0;c=b;E=67109634;a[c]=E;E=E>>8;a[c+1|0]=E;E=E>>8;a[c+2|0]=E;E=E>>8;a[c+3|0]=E;return}function $E(a){a=a|0;iA(a|0);iK(a);return}function aF(a){a=a|0;iA(a|0);return}function bF(a){a=a|0;return 127}function cF(a){a=a|0;return 127}function dF(a,b){a=a|0;b=b|0;DK(a|0,0,12)|0;return}function eF(a,b){a=a|0;b=b|0;DK(a|0,0,12)|0;return}function fF(a,b){a=a|0;b=b|0;DK(a|0,0,12)|0;return}function gF(a,b){a=a|0;b=b|0;KA(a,1,45);return}function hF(a){a=a|0;return 0}function iF(b,c){b=b|0;c=c|0;c=b;E=67109634;a[c]=E;E=E>>8;a[c+1|0]=E;E=E>>8;a[c+2|0]=E;E=E>>8;a[c+3|0]=E;return}function jF(b,c){b=b|0;c=c|0;c=b;E=67109634;a[c]=E;E=E>>8;a[c+1|0]=E;E=E>>8;a[c+2|0]=E;E=E>>8;a[c+3|0]=E;return}function kF(a){a=a|0;iA(a|0);iK(a);return}function lF(a){a=a|0;iA(a|0);return}function mF(a){a=a|0;return 2147483647}function nF(a){a=a|0;return 2147483647}function oF(a,b){a=a|0;b=b|0;DK(a|0,0,12)|0;return}function pF(a,b){a=a|0;b=b|0;DK(a|0,0,12)|0;return}function qF(a,b){a=a|0;b=b|0;DK(a|0,0,12)|0;return}function rF(a,b){a=a|0;b=b|0;XA(a,1,45);return}function sF(a){a=a|0;return 0}function tF(b,c){b=b|0;c=c|0;c=b;E=67109634;a[c]=E;E=E>>8;a[c+1|0]=E;E=E>>8;a[c+2|0]=E;E=E>>8;a[c+3|0]=E;return}function uF(b,c){b=b|0;c=c|0;c=b;E=67109634;a[c]=E;E=E>>8;a[c+1|0]=E;E=E>>8;a[c+2|0]=E;E=E>>8;a[c+3|0]=E;return}function vF(a){a=a|0;iA(a|0);iK(a);return}function wF(a){a=a|0;iA(a|0);return}function xF(a){a=a|0;return 2147483647}function yF(a){a=a|0;return 2147483647}function zF(a,b){a=a|0;b=b|0;DK(a|0,0,12)|0;return}function AF(a,b){a=a|0;b=b|0;DK(a|0,0,12)|0;return}function BF(a,b){a=a|0;b=b|0;DK(a|0,0,12)|0;return}function CF(a,b){a=a|0;b=b|0;XA(a,1,45);return}function DF(a){a=a|0;return 0}function EF(b,c){b=b|0;c=c|0;c=b;E=67109634;a[c]=E;E=E>>8;a[c+1|0]=E;E=E>>8;a[c+2|0]=E;E=E>>8;a[c+3|0]=E;return}function FF(b,c){b=b|0;c=c|0;c=b;E=67109634;a[c]=E;E=E>>8;a[c+1|0]=E;E=E>>8;a[c+2|0]=E;E=E>>8;a[c+3|0]=E;return}function GF(a){a=a|0;iA(a|0);iK(a);return}function HF(a){a=a|0;iA(a|0);return}function IF(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,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=i;i=i+280|0;l=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[l>>2];l=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[l>>2];l=d|0;m=d+16|0;n=d+120|0;o=d+128|0;p=d+136|0;q=d+144|0;r=d+152|0;s=d+160|0;t=d+176|0;u=n|0;c[u>>2]=m;v=n+4|0;c[v>>2]=178;w=m+100|0;iB(p,h);m=p|0;x=c[m>>2]|0;if(!((c[13354]|0)==-1)){c[l>>2]=53416;c[l+4>>2]=52;c[l+8>>2]=0;FA(53416,l,380)}l=(c[13355]|0)-1|0;y=c[x+8>>2]|0;do{if((c[x+12>>2]|0)-y>>2>>>0>l>>>0){z=c[y+(l<<2)>>2]|0;if((z|0)==0){break}A=z;a[q]=0;B=f|0;c[r>>2]=c[B>>2];do{if(KF(e,r,g,p,c[h+4>>2]|0,j,q,A,n,o,w)|0){C=s|0;sd[c[(c[z>>2]|0)+32>>2]&15](A,25136,25146,C)|0;D=t|0;E=c[o>>2]|0;F=c[u>>2]|0;G=E-F|0;do{if((G|0)>98){H=aK(G+2|0)|0;if((H|0)!=0){I=H;J=H;break}nK();I=0;J=0}else{I=D;J=0}}while(0);if((a[q]|0)==0){K=I}else{a[I]=45;K=I+1|0}if(F>>>0>>0){G=s+10|0;H=s;L=K;M=F;while(1){N=C;while(1){if((N|0)==(G|0)){O=G;break}if((a[N]|0)==(a[M]|0)){O=N;break}else{N=N+1|0}}a[L]=a[25136+(O-H)|0]|0;N=M+1|0;P=L+1|0;if(N>>>0<(c[o>>2]|0)>>>0){L=P;M=N}else{Q=P;break}}}else{Q=K}a[Q]=0;M=xc(D|0,19200,(L=i,i=i+8|0,c[L>>2]=k,L)|0)|0;i=L;if((M|0)==1){if((J|0)==0){break}bK(J);break}M=Nc(8)|0;qA(M,18736);Vb(M|0,43992,68)}}while(0);A=e|0;z=c[A>>2]|0;do{if((z|0)==0){R=0}else{if((c[z+12>>2]|0)!=(c[z+16>>2]|0)){R=z;break}if(!((dd[c[(c[z>>2]|0)+36>>2]&255](z)|0)==-1)){R=z;break}c[A>>2]=0;R=0}}while(0);A=(R|0)==0;z=c[B>>2]|0;do{if((z|0)==0){S=45}else{if((c[z+12>>2]|0)!=(c[z+16>>2]|0)){if(A){break}else{S=47;break}}if((dd[c[(c[z>>2]|0)+36>>2]&255](z)|0)==-1){c[B>>2]=0;S=45;break}else{if(A){break}else{S=47;break}}}}while(0);if((S|0)==45){if(A){S=47}}if((S|0)==47){c[j>>2]=c[j>>2]|2}c[b>>2]=R;kA(c[m>>2]|0)|0;B=c[u>>2]|0;c[u>>2]=0;if((B|0)==0){i=d;return}ad[c[v>>2]&2047](B);i=d;return}}while(0);d=Nc(4)|0;DJ(d);Vb(d|0,43976,614)}function JF(a){a=a|0;return}function KF(e,f,g,h,j,k,l,m,n,o,p){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;var 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,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0;q=i;i=i+520|0;r=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[r>>2];r=q|0;s=q+400|0;t=q+408|0;u=q+416|0;v=q+424|0;w=q+440|0;x=q+456|0;y=q+472|0;z=q+488|0;A=q+504|0;B=q+512|0;C=r|0;D=v;DK(D|0,0,12)|0;E=w;DK(E|0,0,12)|0;F=x;DK(F|0,0,12)|0;G=y;DK(G|0,0,12)|0;H=z;DK(H|0,0,12)|0;OF(g,h,s,t,u,v,w,x,y,A);h=n|0;c[o>>2]=c[h>>2];g=e|0;e=f|0;f=m+8|0;m=y+1|0;I=y+4|0;J=y+8|0;K=x+1|0;L=x+4|0;M=x+8|0;N=(j&512|0)!=0;j=w+1|0;O=w+8|0;P=w+4|0;Q=z;R=Q+1|0;S=z+8|0;T=z+4|0;U=s+3|0;V=v+4|0;W=n+4|0;n=p;p=178;X=C;Y=C;C=r+400|0;r=0;Z=0;a:while(1){_=c[g>>2]|0;do{if((_|0)==0){$=0}else{if((c[_+12>>2]|0)!=(c[_+16>>2]|0)){$=_;break}if((dd[c[(c[_>>2]|0)+36>>2]&255](_)|0)==-1){c[g>>2]=0;$=0;break}else{$=c[g>>2]|0;break}}}while(0);_=($|0)==0;aa=c[e>>2]|0;do{if((aa|0)==0){ba=15}else{if((c[aa+12>>2]|0)!=(c[aa+16>>2]|0)){if(_){ca=aa;break}else{da=p;ea=X;fa=Y;ga=Z;ba=310;break a}}if((dd[c[(c[aa>>2]|0)+36>>2]&255](aa)|0)==-1){c[e>>2]=0;ba=15;break}else{if(_){ca=aa;break}else{da=p;ea=X;fa=Y;ga=Z;ba=310;break a}}}}while(0);if((ba|0)==15){ba=0;if(_){da=p;ea=X;fa=Y;ga=Z;ba=310;break}else{ca=0}}b:do{switch(a[s+r|0]|0){case 0:{ba=42;break};case 1:{if((r|0)==3){da=p;ea=X;fa=Y;ga=Z;ba=310;break a}aa=c[g>>2]|0;ha=c[aa+12>>2]|0;if((ha|0)==(c[aa+16>>2]|0)){ia=(dd[c[(c[aa>>2]|0)+36>>2]&255](aa)|0)&255}else{ia=a[ha]|0}if(ia<<24>>24<0){ba=41;break a}if((b[(c[f>>2]|0)+(ia<<24>>24<<1)>>1]&8192)==0){ba=41;break a}ha=c[g>>2]|0;aa=ha+12|0;ja=c[aa>>2]|0;if((ja|0)==(c[ha+16>>2]|0)){ka=(dd[c[(c[ha>>2]|0)+40>>2]&255](ha)|0)&255}else{c[aa>>2]=ja+1;ka=a[ja]|0}SA(z,ka);ba=42;break};case 3:{ja=a[F]|0;aa=(ja&1)==0;if(aa){la=(ja&255)>>>1}else{la=c[L>>2]|0}ha=a[G]|0;ma=(ha&1)==0;if(ma){na=(ha&255)>>>1}else{na=c[I>>2]|0}if((la|0)==(-na|0)){oa=Z;pa=C;qa=Y;ra=X;sa=p;ta=n;break b}if(aa){ua=(ja&255)>>>1}else{ua=c[L>>2]|0}do{if((ua|0)!=0){if(ma){va=(ha&255)>>>1}else{va=c[I>>2]|0}if((va|0)==0){break}wa=c[g>>2]|0;xa=c[wa+12>>2]|0;ya=c[wa+16>>2]|0;if((xa|0)==(ya|0)){za=(dd[c[(c[wa>>2]|0)+36>>2]&255](wa)|0)&255;Aa=c[g>>2]|0;Ba=za;Ca=a[F]|0;Da=Aa;Ea=c[Aa+12>>2]|0;Fa=c[Aa+16>>2]|0}else{Ba=a[xa]|0;Ca=ja;Da=wa;Ea=xa;Fa=ya}ya=Da+12|0;xa=(Ea|0)==(Fa|0);if(Ba<<24>>24==(a[(Ca&1)==0?K:c[M>>2]|0]|0)){if(xa){dd[c[(c[Da>>2]|0)+40>>2]&255](Da)|0}else{c[ya>>2]=Ea+1}ya=a[F]|0;if((ya&1)==0){Ga=(ya&255)>>>1}else{Ga=c[L>>2]|0}oa=Ga>>>0>1>>>0?x:Z;pa=C;qa=Y;ra=X;sa=p;ta=n;break b}if(xa){Ha=(dd[c[(c[Da>>2]|0)+36>>2]&255](Da)|0)&255}else{Ha=a[Ea]|0}if(!(Ha<<24>>24==(a[(a[G]&1)==0?m:c[J>>2]|0]|0))){ba=136;break a}xa=c[g>>2]|0;ya=xa+12|0;wa=c[ya>>2]|0;if((wa|0)==(c[xa+16>>2]|0)){dd[c[(c[xa>>2]|0)+40>>2]&255](xa)|0}else{c[ya>>2]=wa+1}a[l]=1;wa=a[G]|0;if((wa&1)==0){Ia=(wa&255)>>>1}else{Ia=c[I>>2]|0}oa=Ia>>>0>1>>>0?y:Z;pa=C;qa=Y;ra=X;sa=p;ta=n;break b}}while(0);if(aa){Ja=(ja&255)>>>1}else{Ja=c[L>>2]|0}ma=c[g>>2]|0;wa=c[ma+12>>2]|0;ya=(wa|0)==(c[ma+16>>2]|0);if((Ja|0)==0){if(ya){xa=(dd[c[(c[ma>>2]|0)+36>>2]&255](ma)|0)&255;Ka=xa;La=a[G]|0}else{Ka=a[wa]|0;La=ha}if(!(Ka<<24>>24==(a[(La&1)==0?m:c[J>>2]|0]|0))){oa=Z;pa=C;qa=Y;ra=X;sa=p;ta=n;break b}xa=c[g>>2]|0;Aa=xa+12|0;za=c[Aa>>2]|0;if((za|0)==(c[xa+16>>2]|0)){dd[c[(c[xa>>2]|0)+40>>2]&255](xa)|0}else{c[Aa>>2]=za+1}a[l]=1;za=a[G]|0;if((za&1)==0){Ma=(za&255)>>>1}else{Ma=c[I>>2]|0}oa=Ma>>>0>1>>>0?y:Z;pa=C;qa=Y;ra=X;sa=p;ta=n;break b}if(ya){ya=(dd[c[(c[ma>>2]|0)+36>>2]&255](ma)|0)&255;Na=ya;Oa=a[F]|0}else{Na=a[wa]|0;Oa=ja}if(!(Na<<24>>24==(a[(Oa&1)==0?K:c[M>>2]|0]|0))){a[l]=1;oa=Z;pa=C;qa=Y;ra=X;sa=p;ta=n;break b}wa=c[g>>2]|0;ya=wa+12|0;ma=c[ya>>2]|0;if((ma|0)==(c[wa+16>>2]|0)){dd[c[(c[wa>>2]|0)+40>>2]&255](wa)|0}else{c[ya>>2]=ma+1}ma=a[F]|0;if((ma&1)==0){Pa=(ma&255)>>>1}else{Pa=c[L>>2]|0}oa=Pa>>>0>1>>>0?x:Z;pa=C;qa=Y;ra=X;sa=p;ta=n;break};case 2:{if(!((Z|0)!=0|r>>>0<2>>>0)){if((r|0)==2){Qa=(a[U]|0)!=0}else{Qa=0}if(!(N|Qa)){oa=0;pa=C;qa=Y;ra=X;sa=p;ta=n;break b}}ma=a[E]|0;ya=(ma&1)==0;wa=ya?j:c[O>>2]|0;c:do{if((r|0)==0){Ra=wa;Sa=ma;Ta=ca;Ua=ca}else{if(!((d[s+(r-1)|0]|0)>>>0<2>>>0)){Ra=wa;Sa=ma;Ta=ca;Ua=ca;break}za=wa+(ya?(ma&255)>>>1:c[P>>2]|0)|0;Aa=wa;while(1){if((Aa|0)==(za|0)){Va=za;break}xa=a[Aa]|0;if(xa<<24>>24<0){Va=Aa;break}if((b[(c[f>>2]|0)+(xa<<24>>24<<1)>>1]&8192)==0){Va=Aa;break}else{Aa=Aa+1|0}}Aa=Va-wa|0;za=a[H]|0;xa=(za&1)==0;if(xa){Wa=(za&255)>>>1}else{Wa=c[T>>2]|0}if(Aa>>>0>Wa>>>0){Ra=wa;Sa=ma;Ta=ca;Ua=ca;break}if(xa){xa=(za&255)>>>1;Xa=xa;Ya=R;Za=xa-Aa+(Q+1)|0}else{xa=c[S>>2]|0;za=c[T>>2]|0;Xa=za;Ya=xa;Za=xa+(za-Aa)|0}Aa=Ya+Xa|0;if((Za|0)==(Aa|0)){Ra=Va;Sa=ma;Ta=ca;Ua=ca;break}else{_a=Za;$a=wa}while(1){if((a[_a]|0)!=(a[$a]|0)){Ra=wa;Sa=ma;Ta=ca;Ua=ca;break c}za=_a+1|0;if((za|0)==(Aa|0)){Ra=Va;Sa=ma;Ta=ca;Ua=ca;break}else{_a=za;$a=$a+1|0}}}}while(0);d:while(1){if((Sa&1)==0){ab=(Sa&255)>>>1;bb=j}else{ab=c[P>>2]|0;bb=c[O>>2]|0}if((Ra|0)==(bb+ab|0)){break}ma=c[g>>2]|0;do{if((ma|0)==0){cb=0}else{if((c[ma+12>>2]|0)!=(c[ma+16>>2]|0)){cb=ma;break}if((dd[c[(c[ma>>2]|0)+36>>2]&255](ma)|0)==-1){c[g>>2]=0;cb=0;break}else{cb=c[g>>2]|0;break}}}while(0);ma=(cb|0)==0;do{if((Ta|0)==0){db=Ua;ba=173}else{if((c[Ta+12>>2]|0)!=(c[Ta+16>>2]|0)){if(ma){eb=Ta;fb=Ua;break}else{break d}}if((dd[c[(c[Ta>>2]|0)+36>>2]&255](Ta)|0)==-1){c[e>>2]=0;db=0;ba=173;break}else{if(ma^(Ua|0)==0){eb=Ua;fb=Ua;break}else{break d}}}}while(0);if((ba|0)==173){ba=0;if(ma){break}else{eb=0;fb=db}}wa=c[g>>2]|0;ya=c[wa+12>>2]|0;if((ya|0)==(c[wa+16>>2]|0)){gb=(dd[c[(c[wa>>2]|0)+36>>2]&255](wa)|0)&255}else{gb=a[ya]|0}if(!(gb<<24>>24==(a[Ra]|0))){break}ya=c[g>>2]|0;wa=ya+12|0;ja=c[wa>>2]|0;if((ja|0)==(c[ya+16>>2]|0)){dd[c[(c[ya>>2]|0)+40>>2]&255](ya)|0}else{c[wa>>2]=ja+1}Ra=Ra+1|0;Sa=a[E]|0;Ta=eb;Ua=fb}if(!N){oa=Z;pa=C;qa=Y;ra=X;sa=p;ta=n;break b}ja=a[E]|0;if((ja&1)==0){hb=(ja&255)>>>1;ib=j}else{hb=c[P>>2]|0;ib=c[O>>2]|0}if((Ra|0)==(ib+hb|0)){oa=Z;pa=C;qa=Y;ra=X;sa=p;ta=n}else{ba=189;break a}break};case 4:{ja=0;wa=C;ya=Y;ha=X;aa=p;Aa=n;e:while(1){za=c[g>>2]|0;do{if((za|0)==0){jb=0}else{if((c[za+12>>2]|0)!=(c[za+16>>2]|0)){jb=za;break}if((dd[c[(c[za>>2]|0)+36>>2]&255](za)|0)==-1){c[g>>2]=0;jb=0;break}else{jb=c[g>>2]|0;break}}}while(0);za=(jb|0)==0;ma=c[e>>2]|0;do{if((ma|0)==0){ba=202}else{if((c[ma+12>>2]|0)!=(c[ma+16>>2]|0)){if(za){break}else{break e}}if((dd[c[(c[ma>>2]|0)+36>>2]&255](ma)|0)==-1){c[e>>2]=0;ba=202;break}else{if(za){break}else{break e}}}}while(0);if((ba|0)==202){ba=0;if(za){break}}ma=c[g>>2]|0;xa=c[ma+12>>2]|0;if((xa|0)==(c[ma+16>>2]|0)){kb=(dd[c[(c[ma>>2]|0)+36>>2]&255](ma)|0)&255}else{kb=a[xa]|0}do{if(kb<<24>>24<0){ba=221}else{if((b[(c[f>>2]|0)+(kb<<24>>24<<1)>>1]&2048)==0){ba=221;break}xa=c[o>>2]|0;if((xa|0)==(Aa|0)){ma=(c[W>>2]|0)!=178;lb=c[h>>2]|0;mb=Aa-lb|0;nb=mb>>>0<2147483647>>>0?mb<<1:-1;ob=dK(ma?lb:0,nb)|0;if((ob|0)==0){nK()}do{if(ma){c[h>>2]=ob;pb=ob}else{lb=c[h>>2]|0;c[h>>2]=ob;if((lb|0)==0){pb=ob;break}ad[c[W>>2]&2047](lb);pb=c[h>>2]|0}}while(0);c[W>>2]=328;ob=pb+mb|0;c[o>>2]=ob;qb=(c[h>>2]|0)+nb|0;rb=ob}else{qb=Aa;rb=xa}c[o>>2]=rb+1;a[rb]=kb;sb=ja+1|0;tb=wa;ub=ya;vb=ha;wb=aa;xb=qb}}while(0);if((ba|0)==221){ba=0;za=a[D]|0;if((za&1)==0){yb=(za&255)>>>1}else{yb=c[V>>2]|0}if((yb|0)==0|(ja|0)==0){break}if(!(kb<<24>>24==(a[u]|0))){break}if((ya|0)==(wa|0)){za=ya-ha|0;ob=za>>>0<2147483647>>>0?za<<1:-1;if((aa|0)==178){zb=0}else{zb=ha}ma=dK(zb,ob)|0;lb=ma;if((ma|0)==0){nK()}Ab=lb+(ob>>>2<<2)|0;Bb=lb+(za>>2<<2)|0;Cb=lb;Db=328}else{Ab=wa;Bb=ya;Cb=ha;Db=aa}c[Bb>>2]=ja;sb=0;tb=Ab;ub=Bb+4|0;vb=Cb;wb=Db;xb=Aa}lb=c[g>>2]|0;za=lb+12|0;ob=c[za>>2]|0;if((ob|0)==(c[lb+16>>2]|0)){dd[c[(c[lb>>2]|0)+40>>2]&255](lb)|0;ja=sb;wa=tb;ya=ub;ha=vb;aa=wb;Aa=xb;continue}else{c[za>>2]=ob+1;ja=sb;wa=tb;ya=ub;ha=vb;aa=wb;Aa=xb;continue}}if((ha|0)==(ya|0)|(ja|0)==0){Eb=wa;Fb=ya;Gb=ha;Hb=aa}else{if((ya|0)==(wa|0)){ob=ya-ha|0;za=ob>>>0<2147483647>>>0?ob<<1:-1;if((aa|0)==178){Ib=0}else{Ib=ha}lb=dK(Ib,za)|0;ma=lb;if((lb|0)==0){nK()}Jb=ma+(za>>>2<<2)|0;Kb=ma+(ob>>2<<2)|0;Lb=ma;Mb=328}else{Jb=wa;Kb=ya;Lb=ha;Mb=aa}c[Kb>>2]=ja;Eb=Jb;Fb=Kb+4|0;Gb=Lb;Hb=Mb}if((c[A>>2]|0)>0){ma=c[g>>2]|0;do{if((ma|0)==0){Nb=0}else{if((c[ma+12>>2]|0)!=(c[ma+16>>2]|0)){Nb=ma;break}if((dd[c[(c[ma>>2]|0)+36>>2]&255](ma)|0)==-1){c[g>>2]=0;Nb=0;break}else{Nb=c[g>>2]|0;break}}}while(0);ma=(Nb|0)==0;ja=c[e>>2]|0;do{if((ja|0)==0){ba=257}else{if((c[ja+12>>2]|0)!=(c[ja+16>>2]|0)){if(ma){Ob=ja;break}else{ba=264;break a}}if((dd[c[(c[ja>>2]|0)+36>>2]&255](ja)|0)==-1){c[e>>2]=0;ba=257;break}else{if(ma){Ob=ja;break}else{ba=264;break a}}}}while(0);if((ba|0)==257){ba=0;if(ma){ba=264;break a}else{Ob=0}}ja=c[g>>2]|0;aa=c[ja+12>>2]|0;if((aa|0)==(c[ja+16>>2]|0)){Pb=(dd[c[(c[ja>>2]|0)+36>>2]&255](ja)|0)&255}else{Pb=a[aa]|0}if(!(Pb<<24>>24==(a[t]|0))){ba=264;break a}aa=c[g>>2]|0;ja=aa+12|0;ha=c[ja>>2]|0;if((ha|0)==(c[aa+16>>2]|0)){dd[c[(c[aa>>2]|0)+40>>2]&255](aa)|0;Qb=Aa;Rb=Ob;Sb=Ob}else{c[ja>>2]=ha+1;Qb=Aa;Rb=Ob;Sb=Ob}while(1){ha=c[g>>2]|0;do{if((ha|0)==0){Tb=0}else{if((c[ha+12>>2]|0)!=(c[ha+16>>2]|0)){Tb=ha;break}if((dd[c[(c[ha>>2]|0)+36>>2]&255](ha)|0)==-1){c[g>>2]=0;Tb=0;break}else{Tb=c[g>>2]|0;break}}}while(0);ha=(Tb|0)==0;do{if((Rb|0)==0){Ub=Sb;ba=280}else{if((c[Rb+12>>2]|0)!=(c[Rb+16>>2]|0)){if(ha){Vb=Sb;Wb=Rb;break}else{ba=288;break a}}if((dd[c[(c[Rb>>2]|0)+36>>2]&255](Rb)|0)==-1){c[e>>2]=0;Ub=0;ba=280;break}else{if(ha^(Sb|0)==0){Vb=Sb;Wb=Sb;break}else{ba=288;break a}}}}while(0);if((ba|0)==280){ba=0;if(ha){ba=288;break a}else{Vb=Ub;Wb=0}}ja=c[g>>2]|0;aa=c[ja+12>>2]|0;if((aa|0)==(c[ja+16>>2]|0)){Xb=(dd[c[(c[ja>>2]|0)+36>>2]&255](ja)|0)&255}else{Xb=a[aa]|0}if(Xb<<24>>24<0){ba=288;break a}if((b[(c[f>>2]|0)+(Xb<<24>>24<<1)>>1]&2048)==0){ba=288;break a}aa=c[o>>2]|0;if((aa|0)==(Qb|0)){ja=(c[W>>2]|0)!=178;ya=c[h>>2]|0;wa=Qb-ya|0;ob=wa>>>0<2147483647>>>0?wa<<1:-1;za=dK(ja?ya:0,ob)|0;if((za|0)==0){nK()}do{if(ja){c[h>>2]=za;Yb=za}else{ya=c[h>>2]|0;c[h>>2]=za;if((ya|0)==0){Yb=za;break}ad[c[W>>2]&2047](ya);Yb=c[h>>2]|0}}while(0);c[W>>2]=328;za=Yb+wa|0;c[o>>2]=za;Zb=(c[h>>2]|0)+ob|0;_b=za}else{Zb=Qb;_b=aa}za=c[g>>2]|0;ja=c[za+12>>2]|0;if((ja|0)==(c[za+16>>2]|0)){ha=(dd[c[(c[za>>2]|0)+36>>2]&255](za)|0)&255;$b=ha;ac=c[o>>2]|0}else{$b=a[ja]|0;ac=_b}c[o>>2]=ac+1;a[ac]=$b;ja=(c[A>>2]|0)-1|0;c[A>>2]=ja;ha=c[g>>2]|0;za=ha+12|0;ya=c[za>>2]|0;if((ya|0)==(c[ha+16>>2]|0)){dd[c[(c[ha>>2]|0)+40>>2]&255](ha)|0}else{c[za>>2]=ya+1}if((ja|0)>0){Qb=Zb;Rb=Wb;Sb=Vb}else{bc=Zb;break}}}else{bc=Aa}if((c[o>>2]|0)==(c[h>>2]|0)){ba=308;break a}else{oa=Z;pa=Eb;qa=Fb;ra=Gb;sa=Hb;ta=bc}break};default:{oa=Z;pa=C;qa=Y;ra=X;sa=p;ta=n}}}while(0);f:do{if((ba|0)==42){ba=0;if((r|0)==3){da=p;ea=X;fa=Y;ga=Z;ba=310;break a}else{cc=ca;dc=ca}while(1){_=c[g>>2]|0;do{if((_|0)==0){ec=0}else{if((c[_+12>>2]|0)!=(c[_+16>>2]|0)){ec=_;break}if((dd[c[(c[_>>2]|0)+36>>2]&255](_)|0)==-1){c[g>>2]=0;ec=0;break}else{ec=c[g>>2]|0;break}}}while(0);_=(ec|0)==0;do{if((cc|0)==0){fc=dc;ba=55}else{if((c[cc+12>>2]|0)!=(c[cc+16>>2]|0)){if(_){gc=cc;hc=dc;break}else{oa=Z;pa=C;qa=Y;ra=X;sa=p;ta=n;break f}}if((dd[c[(c[cc>>2]|0)+36>>2]&255](cc)|0)==-1){c[e>>2]=0;fc=0;ba=55;break}else{if(_^(dc|0)==0){gc=dc;hc=dc;break}else{oa=Z;pa=C;qa=Y;ra=X;sa=p;ta=n;break f}}}}while(0);if((ba|0)==55){ba=0;if(_){oa=Z;pa=C;qa=Y;ra=X;sa=p;ta=n;break f}else{gc=0;hc=fc}}aa=c[g>>2]|0;ob=c[aa+12>>2]|0;if((ob|0)==(c[aa+16>>2]|0)){ic=(dd[c[(c[aa>>2]|0)+36>>2]&255](aa)|0)&255}else{ic=a[ob]|0}if(ic<<24>>24<0){oa=Z;pa=C;qa=Y;ra=X;sa=p;ta=n;break f}if((b[(c[f>>2]|0)+(ic<<24>>24<<1)>>1]&8192)==0){oa=Z;pa=C;qa=Y;ra=X;sa=p;ta=n;break f}ob=c[g>>2]|0;aa=ob+12|0;wa=c[aa>>2]|0;if((wa|0)==(c[ob+16>>2]|0)){jc=(dd[c[(c[ob>>2]|0)+40>>2]&255](ob)|0)&255}else{c[aa>>2]=wa+1;jc=a[wa]|0}SA(z,jc);cc=gc;dc=hc}}}while(0);Aa=r+1|0;if(Aa>>>0<4>>>0){n=ta;p=sa;X=ra;Y=qa;C=pa;r=Aa;Z=oa}else{da=sa;ea=ra;fa=qa;ga=oa;ba=310;break}}g:do{if((ba|0)==41){c[k>>2]=c[k>>2]|4;kc=0;lc=X;mc=p}else if((ba|0)==136){c[k>>2]=c[k>>2]|4;kc=0;lc=X;mc=p}else if((ba|0)==189){c[k>>2]=c[k>>2]|4;kc=0;lc=X;mc=p}else if((ba|0)==264){c[k>>2]=c[k>>2]|4;kc=0;lc=Gb;mc=Hb}else if((ba|0)==288){c[k>>2]=c[k>>2]|4;kc=0;lc=Gb;mc=Hb}else if((ba|0)==308){c[k>>2]=c[k>>2]|4;kc=0;lc=Gb;mc=Hb}else if((ba|0)==310){h:do{if((ga|0)!=0){oa=ga;qa=ga+1|0;ra=ga+8|0;sa=ga+4|0;Z=1;i:while(1){r=a[oa]|0;if((r&1)==0){nc=(r&255)>>>1}else{nc=c[sa>>2]|0}if(!(Z>>>0>>0)){break h}r=c[g>>2]|0;do{if((r|0)==0){oc=0}else{if((c[r+12>>2]|0)!=(c[r+16>>2]|0)){oc=r;break}if((dd[c[(c[r>>2]|0)+36>>2]&255](r)|0)==-1){c[g>>2]=0;oc=0;break}else{oc=c[g>>2]|0;break}}}while(0);r=(oc|0)==0;_=c[e>>2]|0;do{if((_|0)==0){ba=328}else{if((c[_+12>>2]|0)!=(c[_+16>>2]|0)){if(r){break}else{break i}}if((dd[c[(c[_>>2]|0)+36>>2]&255](_)|0)==-1){c[e>>2]=0;ba=328;break}else{if(r){break}else{break i}}}}while(0);if((ba|0)==328){ba=0;if(r){break}}_=c[g>>2]|0;pa=c[_+12>>2]|0;if((pa|0)==(c[_+16>>2]|0)){pc=(dd[c[(c[_>>2]|0)+36>>2]&255](_)|0)&255}else{pc=a[pa]|0}if((a[oa]&1)==0){qc=qa}else{qc=c[ra>>2]|0}if(!(pc<<24>>24==(a[qc+Z|0]|0))){break}pa=Z+1|0;_=c[g>>2]|0;C=_+12|0;Y=c[C>>2]|0;if((Y|0)==(c[_+16>>2]|0)){dd[c[(c[_>>2]|0)+40>>2]&255](_)|0;Z=pa;continue}else{c[C>>2]=Y+1;Z=pa;continue}}c[k>>2]=c[k>>2]|4;kc=0;lc=ea;mc=da;break g}}while(0);if((ea|0)==(fa|0)){kc=1;lc=fa;mc=da;break}c[B>>2]=0;PF(v,ea,fa,B);if((c[B>>2]|0)==0){kc=1;lc=ea;mc=da;break}c[k>>2]=c[k>>2]|4;kc=0;lc=ea;mc=da}}while(0);MA(z);MA(y);MA(x);MA(w);MA(v);if((lc|0)==0){i=q;return kc|0}ad[mc&2047](lc);i=q;return kc|0}function LF(a){a=a|0;var b=0;b=Nc(8)|0;qA(b,a);Vb(b|0,43992,68)}function MF(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;d=i;i=i+160|0;l=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[l>>2];l=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[l>>2];l=d|0;m=d+16|0;n=d+120|0;o=d+128|0;p=d+136|0;q=d+144|0;r=d+152|0;s=n|0;c[s>>2]=m;t=n+4|0;c[t>>2]=178;u=m+100|0;iB(p,h);m=p|0;v=c[m>>2]|0;if(!((c[13354]|0)==-1)){c[l>>2]=53416;c[l+4>>2]=52;c[l+8>>2]=0;FA(53416,l,380)}l=(c[13355]|0)-1|0;w=c[v+8>>2]|0;do{if((c[v+12>>2]|0)-w>>2>>>0>l>>>0){x=c[w+(l<<2)>>2]|0;if((x|0)==0){break}y=x;a[q]=0;z=f|0;A=c[z>>2]|0;c[r>>2]=A;if(KF(e,r,g,p,c[h+4>>2]|0,j,q,y,n,o,u)|0){B=k;if((a[B]&1)==0){a[k+1|0]=0;a[B]=0}else{a[c[k+8>>2]|0]=0;c[k+4>>2]=0}B=x;if((a[q]|0)!=0){SA(k,qd[c[(c[B>>2]|0)+28>>2]&255](y,45)|0)}x=qd[c[(c[B>>2]|0)+28>>2]&255](y,48)|0;y=c[o>>2]|0;B=y-1|0;C=c[s>>2]|0;while(1){if(!(C>>>0>>0)){break}if((a[C]|0)==x<<24>>24){C=C+1|0}else{break}}NF(k,C,y)|0}x=e|0;B=c[x>>2]|0;do{if((B|0)==0){D=0}else{if((c[B+12>>2]|0)!=(c[B+16>>2]|0)){D=B;break}if(!((dd[c[(c[B>>2]|0)+36>>2]&255](B)|0)==-1)){D=B;break}c[x>>2]=0;D=0}}while(0);x=(D|0)==0;do{if((A|0)==0){E=33}else{if((c[A+12>>2]|0)!=(c[A+16>>2]|0)){if(x){break}else{E=35;break}}if((dd[c[(c[A>>2]|0)+36>>2]&255](A)|0)==-1){c[z>>2]=0;E=33;break}else{if(x^(A|0)==0){break}else{E=35;break}}}}while(0);if((E|0)==33){if(x){E=35}}if((E|0)==35){c[j>>2]=c[j>>2]|2}c[b>>2]=D;kA(c[m>>2]|0)|0;A=c[s>>2]|0;c[s>>2]=0;if((A|0)==0){i=d;return}ad[c[t>>2]&2047](A);i=d;return}}while(0);d=Nc(4)|0;DJ(d);Vb(d|0,43976,614)}function NF(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=b;g=d;h=a[f]|0;if((h&1)==0){i=10;j=h;k=(h&255)>>>1}else{h=c[b>>2]|0;i=(h&-2)-1|0;j=h&255;k=c[b+4>>2]|0}h=e-g|0;if((e|0)==(d|0)){return b|0}if((i-k|0)>>>0>>0){VA(b,i,k+h-i|0,k,k,0,0);l=a[f]|0}else{l=j}if((l&1)==0){m=b+1|0}else{m=c[b+8>>2]|0}l=e+(k-g)|0;g=d;d=m+k|0;while(1){a[d]=a[g]|0;j=g+1|0;if((j|0)==(e|0)){break}else{g=j;d=d+1|0}}a[m+l|0]=0;l=k+h|0;if((a[f]&1)==0){a[f]=l<<1;return b|0}else{c[b+4>>2]=l;return b|0}return 0}function OF(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;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,F=0,G=0;n=i;i=i+176|0;o=n|0;p=n+16|0;q=n+32|0;r=n+40|0;s=n+56|0;t=n+72|0;u=n+88|0;v=n+104|0;w=n+112|0;x=n+128|0;y=n+144|0;z=n+160|0;if(b){b=c[d>>2]|0;if(!((c[13472]|0)==-1)){c[p>>2]=53888;c[p+4>>2]=52;c[p+8>>2]=0;FA(53888,p,380)}p=(c[13473]|0)-1|0;A=c[b+8>>2]|0;if(!((c[b+12>>2]|0)-A>>2>>>0>p>>>0)){B=Nc(4)|0;C=B;DJ(C);Vb(B|0,43976,614)}b=c[A+(p<<2)>>2]|0;if((b|0)==0){B=Nc(4)|0;C=B;DJ(C);Vb(B|0,43976,614)}B=b;bd[c[(c[b>>2]|0)+44>>2]&255](q,B);C=e;E=c[q>>2]|0;a[C]=E;E=E>>8;a[C+1|0]=E;E=E>>8;a[C+2|0]=E;E=E>>8;a[C+3|0]=E;C=b;bd[c[(c[C>>2]|0)+32>>2]&255](r,B);q=l;if((a[q]&1)==0){a[l+1|0]=0;a[q]=0}else{a[c[l+8>>2]|0]=0;c[l+4>>2]=0}RA(l,0);p=r;c[q>>2]=c[p>>2];c[q+4>>2]=c[p+4>>2];c[q+8>>2]=c[p+8>>2];DK(p|0,0,12)|0;MA(r);bd[c[(c[C>>2]|0)+28>>2]&255](s,B);r=k;if((a[r]&1)==0){a[k+1|0]=0;a[r]=0}else{a[c[k+8>>2]|0]=0;c[k+4>>2]=0}RA(k,0);p=s;c[r>>2]=c[p>>2];c[r+4>>2]=c[p+4>>2];c[r+8>>2]=c[p+8>>2];DK(p|0,0,12)|0;MA(s);s=b;a[f]=dd[c[(c[s>>2]|0)+12>>2]&255](B)|0;a[g]=dd[c[(c[s>>2]|0)+16>>2]&255](B)|0;bd[c[(c[C>>2]|0)+20>>2]&255](t,B);s=h;if((a[s]&1)==0){a[h+1|0]=0;a[s]=0}else{a[c[h+8>>2]|0]=0;c[h+4>>2]=0}RA(h,0);p=t;c[s>>2]=c[p>>2];c[s+4>>2]=c[p+4>>2];c[s+8>>2]=c[p+8>>2];DK(p|0,0,12)|0;MA(t);bd[c[(c[C>>2]|0)+24>>2]&255](u,B);C=j;if((a[C]&1)==0){a[j+1|0]=0;a[C]=0}else{a[c[j+8>>2]|0]=0;c[j+4>>2]=0}RA(j,0);t=u;c[C>>2]=c[t>>2];c[C+4>>2]=c[t+4>>2];c[C+8>>2]=c[t+8>>2];DK(t|0,0,12)|0;MA(u);D=dd[c[(c[b>>2]|0)+36>>2]&255](B)|0;c[m>>2]=D;i=n;return}else{B=c[d>>2]|0;if(!((c[13474]|0)==-1)){c[o>>2]=53896;c[o+4>>2]=52;c[o+8>>2]=0;FA(53896,o,380)}o=(c[13475]|0)-1|0;d=c[B+8>>2]|0;if(!((c[B+12>>2]|0)-d>>2>>>0>o>>>0)){F=Nc(4)|0;G=F;DJ(G);Vb(F|0,43976,614)}B=c[d+(o<<2)>>2]|0;if((B|0)==0){F=Nc(4)|0;G=F;DJ(G);Vb(F|0,43976,614)}F=B;bd[c[(c[B>>2]|0)+44>>2]&255](v,F);G=e;E=c[v>>2]|0;a[G]=E;E=E>>8;a[G+1|0]=E;E=E>>8;a[G+2|0]=E;E=E>>8;a[G+3|0]=E;G=B;bd[c[(c[G>>2]|0)+32>>2]&255](w,F);v=l;if((a[v]&1)==0){a[l+1|0]=0;a[v]=0}else{a[c[l+8>>2]|0]=0;c[l+4>>2]=0}RA(l,0);l=w;c[v>>2]=c[l>>2];c[v+4>>2]=c[l+4>>2];c[v+8>>2]=c[l+8>>2];DK(l|0,0,12)|0;MA(w);bd[c[(c[G>>2]|0)+28>>2]&255](x,F);w=k;if((a[w]&1)==0){a[k+1|0]=0;a[w]=0}else{a[c[k+8>>2]|0]=0;c[k+4>>2]=0}RA(k,0);k=x;c[w>>2]=c[k>>2];c[w+4>>2]=c[k+4>>2];c[w+8>>2]=c[k+8>>2];DK(k|0,0,12)|0;MA(x);x=B;a[f]=dd[c[(c[x>>2]|0)+12>>2]&255](F)|0;a[g]=dd[c[(c[x>>2]|0)+16>>2]&255](F)|0;bd[c[(c[G>>2]|0)+20>>2]&255](y,F);x=h;if((a[x]&1)==0){a[h+1|0]=0;a[x]=0}else{a[c[h+8>>2]|0]=0;c[h+4>>2]=0}RA(h,0);h=y;c[x>>2]=c[h>>2];c[x+4>>2]=c[h+4>>2];c[x+8>>2]=c[h+8>>2];DK(h|0,0,12)|0;MA(y);bd[c[(c[G>>2]|0)+24>>2]&255](z,F);G=j;if((a[G]&1)==0){a[j+1|0]=0;a[G]=0}else{a[c[j+8>>2]|0]=0;c[j+4>>2]=0}RA(j,0);j=z;c[G>>2]=c[j>>2];c[G+4>>2]=c[j+4>>2];c[G+8>>2]=c[j+8>>2];DK(j|0,0,12)|0;MA(z);D=dd[c[(c[B>>2]|0)+36>>2]&255](F)|0;c[m>>2]=D;i=n;return}}function PF(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;g=b;h=a[g]|0;if((h&1)==0){i=(h&255)>>>1}else{i=c[b+4>>2]|0}if((i|0)==0){return}do{if((d|0)==(e|0)){j=h}else{i=e-4|0;if(i>>>0>d>>>0){k=d;l=i}else{j=h;break}do{i=c[k>>2]|0;c[k>>2]=c[l>>2];c[l>>2]=i;k=k+4|0;l=l-4|0;}while(k>>>0>>0);j=a[g]|0}}while(0);if((j&1)==0){m=(j&255)>>>1;n=b+1|0}else{m=c[b+4>>2]|0;n=c[b+8>>2]|0}b=e-4|0;e=a[n]|0;j=e<<24>>24<1|e<<24>>24==127;a:do{if(b>>>0>d>>>0){g=n+m|0;l=n;k=d;h=e;i=j;while(1){if(!i){if((h<<24>>24|0)!=(c[k>>2]|0)){break}}o=(g-l|0)>1?l+1|0:l;p=k+4|0;q=a[o]|0;r=q<<24>>24<1|q<<24>>24==127;if(p>>>0>>0){l=o;k=p;h=q;i=r}else{s=q;t=r;break a}}c[f>>2]=4;return}else{s=e;t=j}}while(0);if(t){return}t=c[b>>2]|0;if(!(s<<24>>24>>>0>>0|(t|0)==0)){return}c[f>>2]=4;return}function QF(a){a=a|0;iA(a|0);iK(a);return}function RF(a){a=a|0;iA(a|0);return}function SF(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,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=i;i=i+600|0;l=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[l>>2];l=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[l>>2];l=d|0;m=d+16|0;n=d+416|0;o=d+424|0;p=d+432|0;q=d+440|0;r=d+448|0;s=d+456|0;t=d+496|0;u=n|0;c[u>>2]=m;v=n+4|0;c[v>>2]=178;w=m+400|0;iB(p,h);m=p|0;x=c[m>>2]|0;if(!((c[13352]|0)==-1)){c[l>>2]=53408;c[l+4>>2]=52;c[l+8>>2]=0;FA(53408,l,380)}l=(c[13353]|0)-1|0;y=c[x+8>>2]|0;do{if((c[x+12>>2]|0)-y>>2>>>0>l>>>0){z=c[y+(l<<2)>>2]|0;if((z|0)==0){break}A=z;a[q]=0;B=f|0;c[r>>2]=c[B>>2];do{if(TF(e,r,g,p,c[h+4>>2]|0,j,q,A,n,o,w)|0){C=s|0;sd[c[(c[z>>2]|0)+48>>2]&15](A,25120,25130,C)|0;D=t|0;E=c[o>>2]|0;F=c[u>>2]|0;G=E-F|0;do{if((G|0)>392){H=aK((G>>2)+2|0)|0;if((H|0)!=0){I=H;J=H;break}nK();I=0;J=0}else{I=D;J=0}}while(0);if((a[q]|0)==0){K=I}else{a[I]=45;K=I+1|0}if(F>>>0>>0){G=s+40|0;H=s;L=K;M=F;while(1){N=C;while(1){if((N|0)==(G|0)){O=G;break}if((c[N>>2]|0)==(c[M>>2]|0)){O=N;break}else{N=N+4|0}}a[L]=a[25120+(O-H>>2)|0]|0;N=M+4|0;P=L+1|0;if(N>>>0<(c[o>>2]|0)>>>0){L=P;M=N}else{Q=P;break}}}else{Q=K}a[Q]=0;M=xc(D|0,19200,(L=i,i=i+8|0,c[L>>2]=k,L)|0)|0;i=L;if((M|0)==1){if((J|0)==0){break}bK(J);break}M=Nc(8)|0;qA(M,18736);Vb(M|0,43992,68)}}while(0);A=e|0;z=c[A>>2]|0;do{if((z|0)==0){R=1}else{M=c[z+12>>2]|0;if((M|0)==(c[z+16>>2]|0)){S=dd[c[(c[z>>2]|0)+36>>2]&255](z)|0}else{S=c[M>>2]|0}if((S|0)==-1){c[A>>2]=0;R=1;break}else{R=(c[A>>2]|0)==0;break}}}while(0);z=c[B>>2]|0;do{if((z|0)==0){T=47}else{M=c[z+12>>2]|0;if((M|0)==(c[z+16>>2]|0)){U=dd[c[(c[z>>2]|0)+36>>2]&255](z)|0}else{U=c[M>>2]|0}if((U|0)==-1){c[B>>2]=0;T=47;break}else{if(R){break}else{T=49;break}}}}while(0);if((T|0)==47){if(R){T=49}}if((T|0)==49){c[j>>2]=c[j>>2]|2}c[b>>2]=c[A>>2];kA(c[m>>2]|0)|0;B=c[u>>2]|0;c[u>>2]=0;if((B|0)==0){i=d;return}ad[c[v>>2]&2047](B);i=d;return}}while(0);d=Nc(4)|0;DJ(d);Vb(d|0,43976,614)}function TF(b,e,f,g,h,j,k,l,m,n,o){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,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,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0;p=i;i=i+528|0;q=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[q>>2];q=p|0;r=p+8|0;s=p+408|0;t=p+416|0;u=p+424|0;v=p+432|0;w=p+448|0;x=p+464|0;y=p+480|0;z=p+496|0;A=p+512|0;B=p+520|0;c[q>>2]=o;o=r|0;C=v;DK(C|0,0,12)|0;D=w;DK(D|0,0,12)|0;E=x;DK(E|0,0,12)|0;F=y;DK(F|0,0,12)|0;G=z;DK(G|0,0,12)|0;WF(f,g,s,t,u,v,w,x,y,A);g=m|0;c[n>>2]=c[g>>2];f=b|0;b=e|0;e=l;H=y+4|0;I=y+8|0;J=x+4|0;K=x+8|0;L=(h&512|0)!=0;h=w+4|0;M=w+8|0;N=z+4|0;O=z+8|0;P=s+3|0;Q=v+4|0;R=178;S=o;T=o;o=r+400|0;r=0;U=0;a:while(1){V=c[f>>2]|0;do{if((V|0)==0){W=1}else{X=c[V+12>>2]|0;if((X|0)==(c[V+16>>2]|0)){Y=dd[c[(c[V>>2]|0)+36>>2]&255](V)|0}else{Y=c[X>>2]|0}if((Y|0)==-1){c[f>>2]=0;W=1;break}else{W=(c[f>>2]|0)==0;break}}}while(0);V=c[b>>2]|0;do{if((V|0)==0){Z=16}else{X=c[V+12>>2]|0;if((X|0)==(c[V+16>>2]|0)){_=dd[c[(c[V>>2]|0)+36>>2]&255](V)|0}else{_=c[X>>2]|0}if((_|0)==-1){c[b>>2]=0;Z=16;break}else{if(W){$=V;break}else{aa=R;ba=S;ca=T;da=U;Z=302;break a}}}}while(0);if((Z|0)==16){Z=0;if(W){aa=R;ba=S;ca=T;da=U;Z=302;break}else{$=0}}b:do{switch(a[s+r|0]|0){case 4:{V=0;X=o;ea=T;fa=S;ga=R;c:while(1){ha=c[f>>2]|0;do{if((ha|0)==0){ia=1}else{ja=c[ha+12>>2]|0;if((ja|0)==(c[ha+16>>2]|0)){ka=dd[c[(c[ha>>2]|0)+36>>2]&255](ha)|0}else{ka=c[ja>>2]|0}if((ka|0)==-1){c[f>>2]=0;ia=1;break}else{ia=(c[f>>2]|0)==0;break}}}while(0);ha=c[b>>2]|0;do{if((ha|0)==0){Z=207}else{ja=c[ha+12>>2]|0;if((ja|0)==(c[ha+16>>2]|0)){la=dd[c[(c[ha>>2]|0)+36>>2]&255](ha)|0}else{la=c[ja>>2]|0}if((la|0)==-1){c[b>>2]=0;Z=207;break}else{if(ia){break}else{break c}}}}while(0);if((Z|0)==207){Z=0;if(ia){break}}ha=c[f>>2]|0;ja=c[ha+12>>2]|0;if((ja|0)==(c[ha+16>>2]|0)){ma=dd[c[(c[ha>>2]|0)+36>>2]&255](ha)|0}else{ma=c[ja>>2]|0}if(gd[c[(c[e>>2]|0)+12>>2]&63](l,2048,ma)|0){ja=c[n>>2]|0;if((ja|0)==(c[q>>2]|0)){XF(m,n,q);na=c[n>>2]|0}else{na=ja}c[n>>2]=na+4;c[na>>2]=ma;oa=V+1|0;pa=X;qa=ea;ra=fa;sa=ga}else{ja=a[C]|0;if((ja&1)==0){ta=(ja&255)>>>1}else{ta=c[Q>>2]|0}if((ta|0)==0|(V|0)==0){break}if((ma|0)!=(c[u>>2]|0)){break}if((ea|0)==(X|0)){ja=(ga|0)!=178;ha=ea-fa|0;ua=ha>>>0<2147483647>>>0?ha<<1:-1;if(ja){va=fa}else{va=0}ja=dK(va,ua)|0;wa=ja;if((ja|0)==0){nK()}xa=wa+(ua>>>2<<2)|0;ya=wa+(ha>>2<<2)|0;za=wa;Aa=328}else{xa=X;ya=ea;za=fa;Aa=ga}c[ya>>2]=V;oa=0;pa=xa;qa=ya+4|0;ra=za;sa=Aa}wa=c[f>>2]|0;ha=wa+12|0;ua=c[ha>>2]|0;if((ua|0)==(c[wa+16>>2]|0)){dd[c[(c[wa>>2]|0)+40>>2]&255](wa)|0;V=oa;X=pa;ea=qa;fa=ra;ga=sa;continue}else{c[ha>>2]=ua+4;V=oa;X=pa;ea=qa;fa=ra;ga=sa;continue}}if((fa|0)==(ea|0)|(V|0)==0){Ba=X;Ca=ea;Da=fa;Ea=ga}else{if((ea|0)==(X|0)){ua=(ga|0)!=178;ha=ea-fa|0;wa=ha>>>0<2147483647>>>0?ha<<1:-1;if(ua){Fa=fa}else{Fa=0}ua=dK(Fa,wa)|0;ja=ua;if((ua|0)==0){nK()}Ga=ja+(wa>>>2<<2)|0;Ha=ja+(ha>>2<<2)|0;Ia=ja;Ja=328}else{Ga=X;Ha=ea;Ia=fa;Ja=ga}c[Ha>>2]=V;Ba=Ga;Ca=Ha+4|0;Da=Ia;Ea=Ja}ja=c[A>>2]|0;if((ja|0)>0){ha=c[f>>2]|0;do{if((ha|0)==0){Ka=1}else{wa=c[ha+12>>2]|0;if((wa|0)==(c[ha+16>>2]|0)){La=dd[c[(c[ha>>2]|0)+36>>2]&255](ha)|0}else{La=c[wa>>2]|0}if((La|0)==-1){c[f>>2]=0;Ka=1;break}else{Ka=(c[f>>2]|0)==0;break}}}while(0);ha=c[b>>2]|0;do{if((ha|0)==0){Z=259}else{V=c[ha+12>>2]|0;if((V|0)==(c[ha+16>>2]|0)){Ma=dd[c[(c[ha>>2]|0)+36>>2]&255](ha)|0}else{Ma=c[V>>2]|0}if((Ma|0)==-1){c[b>>2]=0;Z=259;break}else{if(Ka){Na=ha;break}else{Z=265;break a}}}}while(0);if((Z|0)==259){Z=0;if(Ka){Z=265;break a}else{Na=0}}ha=c[f>>2]|0;V=c[ha+12>>2]|0;if((V|0)==(c[ha+16>>2]|0)){Oa=dd[c[(c[ha>>2]|0)+36>>2]&255](ha)|0}else{Oa=c[V>>2]|0}if((Oa|0)!=(c[t>>2]|0)){Z=265;break a}V=c[f>>2]|0;ha=V+12|0;ga=c[ha>>2]|0;if((ga|0)==(c[V+16>>2]|0)){dd[c[(c[V>>2]|0)+40>>2]&255](V)|0;Pa=Na;Qa=ja;Ra=Na}else{c[ha>>2]=ga+4;Pa=Na;Qa=ja;Ra=Na}while(1){ga=c[f>>2]|0;do{if((ga|0)==0){Sa=1}else{ha=c[ga+12>>2]|0;if((ha|0)==(c[ga+16>>2]|0)){Ta=dd[c[(c[ga>>2]|0)+36>>2]&255](ga)|0}else{Ta=c[ha>>2]|0}if((Ta|0)==-1){c[f>>2]=0;Sa=1;break}else{Sa=(c[f>>2]|0)==0;break}}}while(0);do{if((Pa|0)==0){Ua=Ra;Z=282}else{ga=c[Pa+12>>2]|0;if((ga|0)==(c[Pa+16>>2]|0)){Va=dd[c[(c[Pa>>2]|0)+36>>2]&255](Pa)|0}else{Va=c[ga>>2]|0}if((Va|0)==-1){c[b>>2]=0;Ua=0;Z=282;break}else{if(Sa^(Ra|0)==0){Wa=Ra;Xa=Ra;break}else{Z=289;break a}}}}while(0);if((Z|0)==282){Z=0;if(Sa){Z=289;break a}else{Wa=Ua;Xa=0}}ga=c[f>>2]|0;ha=c[ga+12>>2]|0;if((ha|0)==(c[ga+16>>2]|0)){Ya=dd[c[(c[ga>>2]|0)+36>>2]&255](ga)|0}else{Ya=c[ha>>2]|0}if(!(gd[c[(c[e>>2]|0)+12>>2]&63](l,2048,Ya)|0)){Z=289;break a}if((c[n>>2]|0)==(c[q>>2]|0)){XF(m,n,q)}ha=c[f>>2]|0;ga=c[ha+12>>2]|0;if((ga|0)==(c[ha+16>>2]|0)){Za=dd[c[(c[ha>>2]|0)+36>>2]&255](ha)|0}else{Za=c[ga>>2]|0}ga=c[n>>2]|0;c[n>>2]=ga+4;c[ga>>2]=Za;ga=Qa-1|0;c[A>>2]=ga;ha=c[f>>2]|0;V=ha+12|0;fa=c[V>>2]|0;if((fa|0)==(c[ha+16>>2]|0)){dd[c[(c[ha>>2]|0)+40>>2]&255](ha)|0}else{c[V>>2]=fa+4}if((ga|0)>0){Pa=Xa;Qa=ga;Ra=Wa}else{break}}}if((c[n>>2]|0)==(c[g>>2]|0)){Z=300;break a}else{_a=U;$a=Ba;ab=Ca;bb=Da;cb=Ea}break};case 2:{if(!((U|0)!=0|r>>>0<2>>>0)){if((r|0)==2){db=(a[P]|0)!=0}else{db=0}if(!(L|db)){_a=0;$a=o;ab=T;bb=S;cb=R;break b}}ja=a[D]|0;ga=(ja&1)==0?h:c[M>>2]|0;d:do{if((r|0)==0){eb=ga;fb=ja;gb=$;hb=$}else{if((d[s+(r-1)|0]|0)>>>0<2>>>0){ib=ga;jb=ja}else{eb=ga;fb=ja;gb=$;hb=$;break}while(1){if((jb&1)==0){kb=(jb&255)>>>1;lb=h}else{kb=c[h>>2]|0;lb=c[M>>2]|0}if((ib|0)==(lb+(kb<<2)|0)){mb=jb;break}if(!(gd[c[(c[e>>2]|0)+12>>2]&63](l,8192,c[ib>>2]|0)|0)){Z=148;break}ib=ib+4|0;jb=a[D]|0}if((Z|0)==148){Z=0;mb=a[D]|0}fa=(mb&1)==0;V=ib-(fa?h:c[M>>2]|0)>>2;ha=a[G]|0;ea=(ha&1)==0;if(ea){nb=(ha&255)>>>1}else{nb=c[N>>2]|0}e:do{if(!(V>>>0>nb>>>0)){if(ea){ob=(ha&255)>>>1;pb=N;qb=N+(((ha&255)>>>1)-V<<2)|0}else{X=c[O>>2]|0;wa=c[N>>2]|0;ob=wa;pb=X;qb=X+(wa-V<<2)|0}wa=pb+(ob<<2)|0;if((qb|0)==(wa|0)){eb=ib;fb=mb;gb=$;hb=$;break d}else{rb=qb;sb=fa?h:c[M>>2]|0}while(1){if((c[rb>>2]|0)!=(c[sb>>2]|0)){break e}X=rb+4|0;if((X|0)==(wa|0)){eb=ib;fb=mb;gb=$;hb=$;break d}rb=X;sb=sb+4|0}}}while(0);eb=fa?h:c[M>>2]|0;fb=mb;gb=$;hb=$}}while(0);f:while(1){if((fb&1)==0){tb=(fb&255)>>>1;ub=h}else{tb=c[h>>2]|0;ub=c[M>>2]|0}if((eb|0)==(ub+(tb<<2)|0)){break}ja=c[f>>2]|0;do{if((ja|0)==0){vb=1}else{ga=c[ja+12>>2]|0;if((ga|0)==(c[ja+16>>2]|0)){wb=dd[c[(c[ja>>2]|0)+36>>2]&255](ja)|0}else{wb=c[ga>>2]|0}if((wb|0)==-1){c[f>>2]=0;vb=1;break}else{vb=(c[f>>2]|0)==0;break}}}while(0);do{if((gb|0)==0){xb=hb;Z=178}else{ja=c[gb+12>>2]|0;if((ja|0)==(c[gb+16>>2]|0)){yb=dd[c[(c[gb>>2]|0)+36>>2]&255](gb)|0}else{yb=c[ja>>2]|0}if((yb|0)==-1){c[b>>2]=0;xb=0;Z=178;break}else{if(vb^(hb|0)==0){zb=hb;Ab=hb;break}else{break f}}}}while(0);if((Z|0)==178){Z=0;if(vb){break}else{zb=0;Ab=xb}}ja=c[f>>2]|0;fa=c[ja+12>>2]|0;if((fa|0)==(c[ja+16>>2]|0)){Bb=dd[c[(c[ja>>2]|0)+36>>2]&255](ja)|0}else{Bb=c[fa>>2]|0}if((Bb|0)!=(c[eb>>2]|0)){break}fa=c[f>>2]|0;ja=fa+12|0;ga=c[ja>>2]|0;if((ga|0)==(c[fa+16>>2]|0)){dd[c[(c[fa>>2]|0)+40>>2]&255](fa)|0}else{c[ja>>2]=ga+4}eb=eb+4|0;fb=a[D]|0;gb=zb;hb=Ab}if(!L){_a=U;$a=o;ab=T;bb=S;cb=R;break b}ga=a[D]|0;if((ga&1)==0){Cb=(ga&255)>>>1;Db=h}else{Cb=c[h>>2]|0;Db=c[M>>2]|0}if((eb|0)==(Db+(Cb<<2)|0)){_a=U;$a=o;ab=T;bb=S;cb=R}else{Z=193;break a}break};case 1:{if((r|0)==3){aa=R;ba=S;ca=T;da=U;Z=302;break a}ga=c[f>>2]|0;ja=c[ga+12>>2]|0;if((ja|0)==(c[ga+16>>2]|0)){Eb=dd[c[(c[ga>>2]|0)+36>>2]&255](ga)|0}else{Eb=c[ja>>2]|0}if(!(gd[c[(c[e>>2]|0)+12>>2]&63](l,8192,Eb)|0)){Z=41;break a}ja=c[f>>2]|0;ga=ja+12|0;fa=c[ga>>2]|0;if((fa|0)==(c[ja+16>>2]|0)){Fb=dd[c[(c[ja>>2]|0)+40>>2]&255](ja)|0}else{c[ga>>2]=fa+4;Fb=c[fa>>2]|0}bB(z,Fb);Z=42;break};case 0:{Z=42;break};case 3:{fa=a[E]|0;ga=(fa&1)==0;if(ga){Gb=(fa&255)>>>1}else{Gb=c[J>>2]|0}ja=a[F]|0;V=(ja&1)==0;if(V){Hb=(ja&255)>>>1}else{Hb=c[H>>2]|0}if((Gb|0)==(-Hb|0)){_a=U;$a=o;ab=T;bb=S;cb=R;break b}if(ga){Ib=(fa&255)>>>1}else{Ib=c[J>>2]|0}do{if((Ib|0)!=0){if(V){Jb=(ja&255)>>>1}else{Jb=c[H>>2]|0}if((Jb|0)==0){break}ha=c[f>>2]|0;ea=c[ha+12>>2]|0;if((ea|0)==(c[ha+16>>2]|0)){wa=dd[c[(c[ha>>2]|0)+36>>2]&255](ha)|0;Kb=wa;Lb=a[E]|0}else{Kb=c[ea>>2]|0;Lb=fa}ea=c[f>>2]|0;wa=ea+12|0;ha=c[wa>>2]|0;X=(ha|0)==(c[ea+16>>2]|0);if((Kb|0)==(c[((Lb&1)==0?J:c[K>>2]|0)>>2]|0)){if(X){dd[c[(c[ea>>2]|0)+40>>2]&255](ea)|0}else{c[wa>>2]=ha+4}wa=a[E]|0;if((wa&1)==0){Mb=(wa&255)>>>1}else{Mb=c[J>>2]|0}_a=Mb>>>0>1>>>0?x:U;$a=o;ab=T;bb=S;cb=R;break b}if(X){Nb=dd[c[(c[ea>>2]|0)+36>>2]&255](ea)|0}else{Nb=c[ha>>2]|0}if((Nb|0)!=(c[((a[F]&1)==0?H:c[I>>2]|0)>>2]|0)){Z=134;break a}ha=c[f>>2]|0;ea=ha+12|0;X=c[ea>>2]|0;if((X|0)==(c[ha+16>>2]|0)){dd[c[(c[ha>>2]|0)+40>>2]&255](ha)|0}else{c[ea>>2]=X+4}a[k]=1;X=a[F]|0;if((X&1)==0){Ob=(X&255)>>>1}else{Ob=c[H>>2]|0}_a=Ob>>>0>1>>>0?y:U;$a=o;ab=T;bb=S;cb=R;break b}}while(0);if(ga){Pb=(fa&255)>>>1}else{Pb=c[J>>2]|0}V=c[f>>2]|0;X=c[V+12>>2]|0;ea=(X|0)==(c[V+16>>2]|0);if((Pb|0)==0){if(ea){ha=dd[c[(c[V>>2]|0)+36>>2]&255](V)|0;Qb=ha;Rb=a[F]|0}else{Qb=c[X>>2]|0;Rb=ja}if((Qb|0)!=(c[((Rb&1)==0?H:c[I>>2]|0)>>2]|0)){_a=U;$a=o;ab=T;bb=S;cb=R;break b}ha=c[f>>2]|0;wa=ha+12|0;ua=c[wa>>2]|0;if((ua|0)==(c[ha+16>>2]|0)){dd[c[(c[ha>>2]|0)+40>>2]&255](ha)|0}else{c[wa>>2]=ua+4}a[k]=1;ua=a[F]|0;if((ua&1)==0){Sb=(ua&255)>>>1}else{Sb=c[H>>2]|0}_a=Sb>>>0>1>>>0?y:U;$a=o;ab=T;bb=S;cb=R;break b}if(ea){ea=dd[c[(c[V>>2]|0)+36>>2]&255](V)|0;Tb=ea;Ub=a[E]|0}else{Tb=c[X>>2]|0;Ub=fa}if((Tb|0)!=(c[((Ub&1)==0?J:c[K>>2]|0)>>2]|0)){a[k]=1;_a=U;$a=o;ab=T;bb=S;cb=R;break b}X=c[f>>2]|0;ea=X+12|0;V=c[ea>>2]|0;if((V|0)==(c[X+16>>2]|0)){dd[c[(c[X>>2]|0)+40>>2]&255](X)|0}else{c[ea>>2]=V+4}V=a[E]|0;if((V&1)==0){Vb=(V&255)>>>1}else{Vb=c[J>>2]|0}_a=Vb>>>0>1>>>0?x:U;$a=o;ab=T;bb=S;cb=R;break};default:{_a=U;$a=o;ab=T;bb=S;cb=R}}}while(0);g:do{if((Z|0)==42){Z=0;if((r|0)==3){aa=R;ba=S;ca=T;da=U;Z=302;break a}else{Wb=$;Xb=$}while(1){V=c[f>>2]|0;do{if((V|0)==0){Yb=1}else{ea=c[V+12>>2]|0;if((ea|0)==(c[V+16>>2]|0)){Zb=dd[c[(c[V>>2]|0)+36>>2]&255](V)|0}else{Zb=c[ea>>2]|0}if((Zb|0)==-1){c[f>>2]=0;Yb=1;break}else{Yb=(c[f>>2]|0)==0;break}}}while(0);do{if((Wb|0)==0){_b=Xb;Z=56}else{V=c[Wb+12>>2]|0;if((V|0)==(c[Wb+16>>2]|0)){$b=dd[c[(c[Wb>>2]|0)+36>>2]&255](Wb)|0}else{$b=c[V>>2]|0}if(($b|0)==-1){c[b>>2]=0;_b=0;Z=56;break}else{if(Yb^(Xb|0)==0){ac=Xb;bc=Xb;break}else{_a=U;$a=o;ab=T;bb=S;cb=R;break g}}}}while(0);if((Z|0)==56){Z=0;if(Yb){_a=U;$a=o;ab=T;bb=S;cb=R;break g}else{ac=0;bc=_b}}V=c[f>>2]|0;ea=c[V+12>>2]|0;if((ea|0)==(c[V+16>>2]|0)){cc=dd[c[(c[V>>2]|0)+36>>2]&255](V)|0}else{cc=c[ea>>2]|0}if(!(gd[c[(c[e>>2]|0)+12>>2]&63](l,8192,cc)|0)){_a=U;$a=o;ab=T;bb=S;cb=R;break g}ea=c[f>>2]|0;V=ea+12|0;X=c[V>>2]|0;if((X|0)==(c[ea+16>>2]|0)){dc=dd[c[(c[ea>>2]|0)+40>>2]&255](ea)|0}else{c[V>>2]=X+4;dc=c[X>>2]|0}bB(z,dc);Wb=ac;Xb=bc}}}while(0);fa=r+1|0;if(fa>>>0<4>>>0){R=cb;S=bb;T=ab;o=$a;r=fa;U=_a}else{aa=cb;ba=bb;ca=ab;da=_a;Z=302;break}}h:do{if((Z|0)==41){c[j>>2]=c[j>>2]|4;ec=0;fc=S;gc=R}else if((Z|0)==134){c[j>>2]=c[j>>2]|4;ec=0;fc=S;gc=R}else if((Z|0)==193){c[j>>2]=c[j>>2]|4;ec=0;fc=S;gc=R}else if((Z|0)==265){c[j>>2]=c[j>>2]|4;ec=0;fc=Da;gc=Ea}else if((Z|0)==289){c[j>>2]=c[j>>2]|4;ec=0;fc=Da;gc=Ea}else if((Z|0)==300){c[j>>2]=c[j>>2]|4;ec=0;fc=Da;gc=Ea}else if((Z|0)==302){i:do{if((da|0)!=0){_a=da;ab=da+4|0;bb=da+8|0;cb=1;j:while(1){U=a[_a]|0;if((U&1)==0){hc=(U&255)>>>1}else{hc=c[ab>>2]|0}if(!(cb>>>0>>0)){break i}U=c[f>>2]|0;do{if((U|0)==0){ic=1}else{r=c[U+12>>2]|0;if((r|0)==(c[U+16>>2]|0)){jc=dd[c[(c[U>>2]|0)+36>>2]&255](U)|0}else{jc=c[r>>2]|0}if((jc|0)==-1){c[f>>2]=0;ic=1;break}else{ic=(c[f>>2]|0)==0;break}}}while(0);U=c[b>>2]|0;do{if((U|0)==0){Z=321}else{r=c[U+12>>2]|0;if((r|0)==(c[U+16>>2]|0)){kc=dd[c[(c[U>>2]|0)+36>>2]&255](U)|0}else{kc=c[r>>2]|0}if((kc|0)==-1){c[b>>2]=0;Z=321;break}else{if(ic){break}else{break j}}}}while(0);if((Z|0)==321){Z=0;if(ic){break}}U=c[f>>2]|0;r=c[U+12>>2]|0;if((r|0)==(c[U+16>>2]|0)){lc=dd[c[(c[U>>2]|0)+36>>2]&255](U)|0}else{lc=c[r>>2]|0}if((a[_a]&1)==0){mc=ab}else{mc=c[bb>>2]|0}if((lc|0)!=(c[mc+(cb<<2)>>2]|0)){break}r=cb+1|0;U=c[f>>2]|0;$a=U+12|0;o=c[$a>>2]|0;if((o|0)==(c[U+16>>2]|0)){dd[c[(c[U>>2]|0)+40>>2]&255](U)|0;cb=r;continue}else{c[$a>>2]=o+4;cb=r;continue}}c[j>>2]=c[j>>2]|4;ec=0;fc=ba;gc=aa;break h}}while(0);if((ba|0)==(ca|0)){ec=1;fc=ca;gc=aa;break}c[B>>2]=0;PF(v,ba,ca,B);if((c[B>>2]|0)==0){ec=1;fc=ba;gc=aa;break}c[j>>2]=c[j>>2]|4;ec=0;fc=ba;gc=aa}}while(0);YA(z);YA(y);YA(x);YA(w);MA(v);if((fc|0)==0){i=p;return ec|0}ad[gc&2047](fc);i=p;return ec|0}function UF(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;d=i;i=i+456|0;l=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[l>>2];l=f;f=i;i=i+4|0;i=i+7&-8;c[f>>2]=c[l>>2];l=d|0;m=d+16|0;n=d+416|0;o=d+424|0;p=d+432|0;q=d+440|0;r=d+448|0;s=n|0;c[s>>2]=m;t=n+4|0;c[t>>2]=178;u=m+400|0;iB(p,h);m=p|0;v=c[m>>2]|0;if(!((c[13352]|0)==-1)){c[l>>2]=53408;c[l+4>>2]=52;c[l+8>>2]=0;FA(53408,l,380)}l=(c[13353]|0)-1|0;w=c[v+8>>2]|0;do{if((c[v+12>>2]|0)-w>>2>>>0>l>>>0){x=c[w+(l<<2)>>2]|0;if((x|0)==0){break}y=x;a[q]=0;z=f|0;A=c[z>>2]|0;c[r>>2]=A;if(TF(e,r,g,p,c[h+4>>2]|0,j,q,y,n,o,u)|0){B=k;if((a[B]&1)==0){c[k+4>>2]=0;a[B]=0}else{c[c[k+8>>2]>>2]=0;c[k+4>>2]=0}B=x;if((a[q]|0)!=0){bB(k,qd[c[(c[B>>2]|0)+44>>2]&255](y,45)|0)}x=qd[c[(c[B>>2]|0)+44>>2]&255](y,48)|0;y=c[o>>2]|0;B=y-4|0;C=c[s>>2]|0;while(1){if(!(C>>>0>>0)){break}if((c[C>>2]|0)==(x|0)){C=C+4|0}else{break}}VF(k,C,y)|0}x=e|0;B=c[x>>2]|0;do{if((B|0)==0){D=1}else{E=c[B+12>>2]|0;if((E|0)==(c[B+16>>2]|0)){F=dd[c[(c[B>>2]|0)+36>>2]&255](B)|0}else{F=c[E>>2]|0}if((F|0)==-1){c[x>>2]=0;D=1;break}else{D=(c[x>>2]|0)==0;break}}}while(0);do{if((A|0)==0){G=35}else{B=c[A+12>>2]|0;if((B|0)==(c[A+16>>2]|0)){H=dd[c[(c[A>>2]|0)+36>>2]&255](A)|0}else{H=c[B>>2]|0}if((H|0)==-1){c[z>>2]=0;G=35;break}else{if(D){break}else{G=37;break}}}}while(0);if((G|0)==35){if(D){G=37}}if((G|0)==37){c[j>>2]=c[j>>2]|2}c[b>>2]=c[x>>2];kA(c[m>>2]|0)|0;z=c[s>>2]|0;c[s>>2]=0;if((z|0)==0){i=d;return}ad[c[t>>2]&2047](z);i=d;return}}while(0);d=Nc(4)|0;DJ(d);Vb(d|0,43976,614)}function VF(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;f=b;g=d;h=a[f]|0;if((h&1)==0){i=1;j=h;k=(h&255)>>>1}else{h=c[b>>2]|0;i=(h&-2)-1|0;j=h&255;k=c[b+4>>2]|0}h=e-g>>2;if((h|0)==0){return b|0}if((i-k|0)>>>0>>0){dB(b,i,k+h-i|0,k,k,0,0);l=a[f]|0}else{l=j}if((l&1)==0){m=b+4|0}else{m=c[b+8>>2]|0}l=m+(k<<2)|0;if((d|0)==(e|0)){n=l}else{j=k+((e-4+(-g|0)|0)>>>2)+1|0;g=d;d=l;while(1){c[d>>2]=c[g>>2];l=g+4|0;if((l|0)==(e|0)){break}else{g=l;d=d+4|0}}n=m+(j<<2)|0}c[n>>2]=0;n=k+h|0;if((a[f]&1)==0){a[f]=n<<1;return b|0}else{c[b+4>>2]=n;return b|0}return 0}function WF(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;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,F=0,G=0;n=i;i=i+176|0;o=n|0;p=n+16|0;q=n+32|0;r=n+40|0;s=n+56|0;t=n+72|0;u=n+88|0;v=n+104|0;w=n+112|0;x=n+128|0;y=n+144|0;z=n+160|0;if(b){b=c[d>>2]|0;if(!((c[13468]|0)==-1)){c[p>>2]=53872;c[p+4>>2]=52;c[p+8>>2]=0;FA(53872,p,380)}p=(c[13469]|0)-1|0;A=c[b+8>>2]|0;if(!((c[b+12>>2]|0)-A>>2>>>0>p>>>0)){B=Nc(4)|0;C=B;DJ(C);Vb(B|0,43976,614)}b=c[A+(p<<2)>>2]|0;if((b|0)==0){B=Nc(4)|0;C=B;DJ(C);Vb(B|0,43976,614)}B=b;bd[c[(c[b>>2]|0)+44>>2]&255](q,B);C=e;E=c[q>>2]|0;a[C]=E;E=E>>8;a[C+1|0]=E;E=E>>8;a[C+2|0]=E;E=E>>8;a[C+3|0]=E;C=b;bd[c[(c[C>>2]|0)+32>>2]&255](r,B);q=l;if((a[q]&1)==0){c[l+4>>2]=0;a[q]=0}else{c[c[l+8>>2]>>2]=0;c[l+4>>2]=0}aB(l,0);p=r;c[q>>2]=c[p>>2];c[q+4>>2]=c[p+4>>2];c[q+8>>2]=c[p+8>>2];DK(p|0,0,12)|0;YA(r);bd[c[(c[C>>2]|0)+28>>2]&255](s,B);r=k;if((a[r]&1)==0){c[k+4>>2]=0;a[r]=0}else{c[c[k+8>>2]>>2]=0;c[k+4>>2]=0}aB(k,0);p=s;c[r>>2]=c[p>>2];c[r+4>>2]=c[p+4>>2];c[r+8>>2]=c[p+8>>2];DK(p|0,0,12)|0;YA(s);s=b;c[f>>2]=dd[c[(c[s>>2]|0)+12>>2]&255](B)|0;c[g>>2]=dd[c[(c[s>>2]|0)+16>>2]&255](B)|0;bd[c[(c[b>>2]|0)+20>>2]&255](t,B);b=h;if((a[b]&1)==0){a[h+1|0]=0;a[b]=0}else{a[c[h+8>>2]|0]=0;c[h+4>>2]=0}RA(h,0);p=t;c[b>>2]=c[p>>2];c[b+4>>2]=c[p+4>>2];c[b+8>>2]=c[p+8>>2];DK(p|0,0,12)|0;MA(t);bd[c[(c[C>>2]|0)+24>>2]&255](u,B);C=j;if((a[C]&1)==0){c[j+4>>2]=0;a[C]=0}else{c[c[j+8>>2]>>2]=0;c[j+4>>2]=0}aB(j,0);t=u;c[C>>2]=c[t>>2];c[C+4>>2]=c[t+4>>2];c[C+8>>2]=c[t+8>>2];DK(t|0,0,12)|0;YA(u);D=dd[c[(c[s>>2]|0)+36>>2]&255](B)|0;c[m>>2]=D;i=n;return}else{B=c[d>>2]|0;if(!((c[13470]|0)==-1)){c[o>>2]=53880;c[o+4>>2]=52;c[o+8>>2]=0;FA(53880,o,380)}o=(c[13471]|0)-1|0;d=c[B+8>>2]|0;if(!((c[B+12>>2]|0)-d>>2>>>0>o>>>0)){F=Nc(4)|0;G=F;DJ(G);Vb(F|0,43976,614)}B=c[d+(o<<2)>>2]|0;if((B|0)==0){F=Nc(4)|0;G=F;DJ(G);Vb(F|0,43976,614)}F=B;bd[c[(c[B>>2]|0)+44>>2]&255](v,F);G=e;E=c[v>>2]|0;a[G]=E;E=E>>8;a[G+1|0]=E;E=E>>8;a[G+2|0]=E;E=E>>8;a[G+3|0]=E;G=B;bd[c[(c[G>>2]|0)+32>>2]&255](w,F);v=l;if((a[v]&1)==0){c[l+4>>2]=0;a[v]=0}else{c[c[l+8>>2]>>2]=0;c[l+4>>2]=0}aB(l,0);l=w;c[v>>2]=c[l>>2];c[v+4>>2]=c[l+4>>2];c[v+8>>2]=c[l+8>>2];DK(l|0,0,12)|0;YA(w);bd[c[(c[G>>2]|0)+28>>2]&255](x,F);w=k;if((a[w]&1)==0){c[k+4>>2]=0;a[w]=0}else{c[c[k+8>>2]>>2]=0;c[k+4>>2]=0}aB(k,0);k=x;c[w>>2]=c[k>>2];c[w+4>>2]=c[k+4>>2];c[w+8>>2]=c[k+8>>2];DK(k|0,0,12)|0;YA(x);x=B;c[f>>2]=dd[c[(c[x>>2]|0)+12>>2]&255](F)|0;c[g>>2]=dd[c[(c[x>>2]|0)+16>>2]&255](F)|0;bd[c[(c[B>>2]|0)+20>>2]&255](y,F);B=h;if((a[B]&1)==0){a[h+1|0]=0;a[B]=0}else{a[c[h+8>>2]|0]=0;c[h+4>>2]=0}RA(h,0);h=y;c[B>>2]=c[h>>2];c[B+4>>2]=c[h+4>>2];c[B+8>>2]=c[h+8>>2];DK(h|0,0,12)|0;MA(y);bd[c[(c[G>>2]|0)+24>>2]&255](z,F);G=j;if((a[G]&1)==0){c[j+4>>2]=0;a[G]=0}else{c[c[j+8>>2]>>2]=0;c[j+4>>2]=0}aB(j,0);j=z;c[G>>2]=c[j>>2];c[G+4>>2]=c[j+4>>2];c[G+8>>2]=c[j+8>>2];DK(j|0,0,12)|0;YA(z);D=dd[c[(c[x>>2]|0)+36>>2]&255](F)|0;c[m>>2]=D;i=n;return}}function XF(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;e=a+4|0;f=(c[e>>2]|0)!=178;g=a|0;a=c[g>>2]|0;h=a;i=(c[d>>2]|0)-h|0;j=i>>>0<2147483647>>>0?i<<1:-1;i=(c[b>>2]|0)-h>>2;if(f){k=a}else{k=0}a=dK(k,j)|0;k=a;if((a|0)==0){nK()}do{if(f){c[g>>2]=k;l=k}else{a=c[g>>2]|0;c[g>>2]=k;if((a|0)==0){l=k;break}ad[c[e>>2]&2047](a);l=c[g>>2]|0}}while(0);c[e>>2]=328;c[b>>2]=l+(i<<2);c[d>>2]=(c[g>>2]|0)+(j>>>2<<2);return}function YF(a){a=a|0;iA(a|0);iK(a);return}function ZF(a){a=a|0;iA(a|0);return}function _F(b,d,e,f,g,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;k=+k;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,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;d=i;i=i+448|0;l=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[l>>2];l=d|0;m=d+120|0;n=d+232|0;o=d+240|0;p=d+248|0;q=d+256|0;r=d+264|0;s=d+280|0;t=d+296|0;u=d+312|0;v=d+320|0;w=d+424|0;x=d+432|0;y=d+440|0;z=d+16|0;c[m>>2]=z;A=d+128|0;B=ob(z|0,100,18160,(z=i,i=i+8|0,h[z>>3]=k,z)|0)|0;i=z;do{if(B>>>0>99>>>0){do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);C=SD(m,c[12914]|0,18160,(z=i,i=i+8|0,h[z>>3]=k,z)|0)|0;i=z;D=c[m>>2]|0;if((D|0)==0){nK();E=c[m>>2]|0}else{E=D}D=aK(C)|0;if((D|0)!=0){F=D;G=C;H=D;I=E;break}nK();F=0;G=C;H=0;I=E}else{F=A;G=B;H=0;I=0}}while(0);iB(n,g);B=n|0;A=c[B>>2]|0;if(!((c[13354]|0)==-1)){c[l>>2]=53416;c[l+4>>2]=52;c[l+8>>2]=0;FA(53416,l,380)}l=(c[13355]|0)-1|0;E=c[A+8>>2]|0;do{if((c[A+12>>2]|0)-E>>2>>>0>l>>>0){z=c[E+(l<<2)>>2]|0;if((z|0)==0){break}C=z;D=c[m>>2]|0;sd[c[(c[z>>2]|0)+32>>2]&15](C,D,D+G|0,F)|0;if((G|0)==0){J=0}else{J=(a[c[m>>2]|0]|0)==45}DK(r|0,0,12)|0;D=s;DK(D|0,0,12)|0;z=t;DK(z|0,0,12)|0;$F(f,J,n,o,p,q,r,s,t,u);K=v|0;L=c[u>>2]|0;if((G|0)>(L|0)){M=a[z]|0;if((M&1)==0){N=(M&255)>>>1}else{N=c[t+4>>2]|0}M=a[D]|0;if((M&1)==0){O=(M&255)>>>1}else{O=c[s+4>>2]|0}P=N+(G-L<<1|1)+O|0}else{M=a[z]|0;if((M&1)==0){Q=(M&255)>>>1}else{Q=c[t+4>>2]|0}M=a[D]|0;if((M&1)==0){R=(M&255)>>>1}else{R=c[s+4>>2]|0}P=Q+2+R|0}M=P+L|0;do{if(M>>>0>100>>>0){D=aK(M)|0;if((D|0)!=0){S=D;T=D;break}nK();S=0;T=0}else{S=K;T=0}}while(0);aG(S,w,x,c[g+4>>2]|0,F,F+G|0,C,J,o,a[p]|0,a[q]|0,r,s,t,L);c[y>>2]=c[e>>2];Di(b,y,S,c[w>>2]|0,c[x>>2]|0,g,j);if((T|0)!=0){bK(T)}MA(t);MA(s);MA(r);kA(c[B>>2]|0)|0;if((H|0)!=0){bK(H)}if((I|0)==0){i=d;return}bK(I);i=d;return}}while(0);d=Nc(4)|0;DJ(d);Vb(d|0,43976,614)}function $F(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;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,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;n=i;i=i+40|0;o=n|0;p=n+16|0;q=n+32|0;r=q;s=i;i=i+12|0;i=i+7&-8;t=i;i=i+4|0;i=i+7&-8;u=t;v=i;i=i+12|0;i=i+7&-8;w=i;i=i+12|0;i=i+7&-8;x=i;i=i+12|0;i=i+7&-8;y=i;i=i+4|0;i=i+7&-8;z=y;A=i;i=i+12|0;i=i+7&-8;B=i;i=i+4|0;i=i+7&-8;C=B;D=i;i=i+12|0;i=i+7&-8;F=i;i=i+12|0;i=i+7&-8;G=i;i=i+12|0;i=i+7&-8;H=c[e>>2]|0;if(b){if(!((c[13472]|0)==-1)){c[p>>2]=53888;c[p+4>>2]=52;c[p+8>>2]=0;FA(53888,p,380)}p=(c[13473]|0)-1|0;b=c[H+8>>2]|0;if(!((c[H+12>>2]|0)-b>>2>>>0>p>>>0)){I=Nc(4)|0;J=I;DJ(J);Vb(I|0,43976,614)}e=c[b+(p<<2)>>2]|0;if((e|0)==0){I=Nc(4)|0;J=I;DJ(J);Vb(I|0,43976,614)}I=e;J=c[e>>2]|0;if(d){bd[c[J+44>>2]&255](r,I);r=f;E=c[q>>2]|0;a[r]=E;E=E>>8;a[r+1|0]=E;E=E>>8;a[r+2|0]=E;E=E>>8;a[r+3|0]=E;bd[c[(c[e>>2]|0)+32>>2]&255](s,I);r=l;if((a[r]&1)==0){a[l+1|0]=0;a[r]=0}else{a[c[l+8>>2]|0]=0;c[l+4>>2]=0}RA(l,0);q=s;c[r>>2]=c[q>>2];c[r+4>>2]=c[q+4>>2];c[r+8>>2]=c[q+8>>2];DK(q|0,0,12)|0;MA(s)}else{bd[c[J+40>>2]&255](u,I);u=f;E=c[t>>2]|0;a[u]=E;E=E>>8;a[u+1|0]=E;E=E>>8;a[u+2|0]=E;E=E>>8;a[u+3|0]=E;bd[c[(c[e>>2]|0)+28>>2]&255](v,I);u=l;if((a[u]&1)==0){a[l+1|0]=0;a[u]=0}else{a[c[l+8>>2]|0]=0;c[l+4>>2]=0}RA(l,0);t=v;c[u>>2]=c[t>>2];c[u+4>>2]=c[t+4>>2];c[u+8>>2]=c[t+8>>2];DK(t|0,0,12)|0;MA(v)}v=e;a[g]=dd[c[(c[v>>2]|0)+12>>2]&255](I)|0;a[h]=dd[c[(c[v>>2]|0)+16>>2]&255](I)|0;v=e;bd[c[(c[v>>2]|0)+20>>2]&255](w,I);t=j;if((a[t]&1)==0){a[j+1|0]=0;a[t]=0}else{a[c[j+8>>2]|0]=0;c[j+4>>2]=0}RA(j,0);u=w;c[t>>2]=c[u>>2];c[t+4>>2]=c[u+4>>2];c[t+8>>2]=c[u+8>>2];DK(u|0,0,12)|0;MA(w);bd[c[(c[v>>2]|0)+24>>2]&255](x,I);v=k;if((a[v]&1)==0){a[k+1|0]=0;a[v]=0}else{a[c[k+8>>2]|0]=0;c[k+4>>2]=0}RA(k,0);w=x;c[v>>2]=c[w>>2];c[v+4>>2]=c[w+4>>2];c[v+8>>2]=c[w+8>>2];DK(w|0,0,12)|0;MA(x);K=dd[c[(c[e>>2]|0)+36>>2]&255](I)|0;c[m>>2]=K;i=n;return}else{if(!((c[13474]|0)==-1)){c[o>>2]=53896;c[o+4>>2]=52;c[o+8>>2]=0;FA(53896,o,380)}o=(c[13475]|0)-1|0;I=c[H+8>>2]|0;if(!((c[H+12>>2]|0)-I>>2>>>0>o>>>0)){L=Nc(4)|0;M=L;DJ(M);Vb(L|0,43976,614)}H=c[I+(o<<2)>>2]|0;if((H|0)==0){L=Nc(4)|0;M=L;DJ(M);Vb(L|0,43976,614)}L=H;M=c[H>>2]|0;if(d){bd[c[M+44>>2]&255](z,L);z=f;E=c[y>>2]|0;a[z]=E;E=E>>8;a[z+1|0]=E;E=E>>8;a[z+2|0]=E;E=E>>8;a[z+3|0]=E;bd[c[(c[H>>2]|0)+32>>2]&255](A,L);z=l;if((a[z]&1)==0){a[l+1|0]=0;a[z]=0}else{a[c[l+8>>2]|0]=0;c[l+4>>2]=0}RA(l,0);y=A;c[z>>2]=c[y>>2];c[z+4>>2]=c[y+4>>2];c[z+8>>2]=c[y+8>>2];DK(y|0,0,12)|0;MA(A)}else{bd[c[M+40>>2]&255](C,L);C=f;E=c[B>>2]|0;a[C]=E;E=E>>8;a[C+1|0]=E;E=E>>8;a[C+2|0]=E;E=E>>8;a[C+3|0]=E;bd[c[(c[H>>2]|0)+28>>2]&255](D,L);C=l;if((a[C]&1)==0){a[l+1|0]=0;a[C]=0}else{a[c[l+8>>2]|0]=0;c[l+4>>2]=0}RA(l,0);l=D;c[C>>2]=c[l>>2];c[C+4>>2]=c[l+4>>2];c[C+8>>2]=c[l+8>>2];DK(l|0,0,12)|0;MA(D)}D=H;a[g]=dd[c[(c[D>>2]|0)+12>>2]&255](L)|0;a[h]=dd[c[(c[D>>2]|0)+16>>2]&255](L)|0;D=H;bd[c[(c[D>>2]|0)+20>>2]&255](F,L);h=j;if((a[h]&1)==0){a[j+1|0]=0;a[h]=0}else{a[c[j+8>>2]|0]=0;c[j+4>>2]=0}RA(j,0);j=F;c[h>>2]=c[j>>2];c[h+4>>2]=c[j+4>>2];c[h+8>>2]=c[j+8>>2];DK(j|0,0,12)|0;MA(F);bd[c[(c[D>>2]|0)+24>>2]&255](G,L);D=k;if((a[D]&1)==0){a[k+1|0]=0;a[D]=0}else{a[c[k+8>>2]|0]=0;c[k+4>>2]=0}RA(k,0);k=G;c[D>>2]=c[k>>2];c[D+4>>2]=c[k+4>>2];c[D+8>>2]=c[k+8>>2];DK(k|0,0,12)|0;MA(G);K=dd[c[(c[H>>2]|0)+36>>2]&255](L)|0;c[m>>2]=K;i=n;return}}function aG(d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){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;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;var 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;c[f>>2]=d;s=j;t=q;u=q+1|0;v=q+8|0;w=q+4|0;q=p;x=(g&512|0)==0;y=p+1|0;z=p+8|0;A=p+4|0;p=j+8|0;B=(r|0)>0;C=o;D=o+1|0;E=o+8|0;F=o+4|0;o=-r|0;G=0;H=h;while(1){a:do{switch(a[l+G|0]|0){case 0:{c[e>>2]=c[f>>2];I=H;break};case 1:{c[e>>2]=c[f>>2];h=qd[c[(c[s>>2]|0)+28>>2]&255](j,32)|0;J=c[f>>2]|0;c[f>>2]=J+1;a[J]=h;I=H;break};case 3:{h=a[t]|0;J=(h&1)==0;if(J){K=(h&255)>>>1}else{K=c[w>>2]|0}if((K|0)==0){I=H;break a}if(J){L=u}else{L=c[v>>2]|0}J=a[L]|0;h=c[f>>2]|0;c[f>>2]=h+1;a[h]=J;I=H;break};case 2:{J=a[q]|0;h=(J&1)==0;if(h){M=(J&255)>>>1}else{M=c[A>>2]|0}if((M|0)==0|x){I=H;break a}if(h){N=(J&255)>>>1;O=y;P=y}else{J=c[z>>2]|0;N=c[A>>2]|0;O=J;P=J}J=O+N|0;h=c[f>>2]|0;if((P|0)==(J|0)){Q=h}else{R=h;h=P;while(1){a[R]=a[h]|0;S=h+1|0;T=R+1|0;if((S|0)==(J|0)){Q=T;break}else{R=T;h=S}}}c[f>>2]=Q;I=H;break};case 4:{h=c[f>>2]|0;R=k?H+1|0:H;J=R;while(1){if(!(J>>>0>>0)){break}S=a[J]|0;if(S<<24>>24<0){break}if((b[(c[p>>2]|0)+(S<<24>>24<<1)>>1]&2048)==0){break}else{J=J+1|0}}S=J;if(B){if(J>>>0>R>>>0){T=R+(-S|0)|0;S=T>>>0>>0?o:T;T=S+r|0;U=J;V=r;W=h;while(1){X=U-1|0;Y=a[X]|0;c[f>>2]=W+1;a[W]=Y;Y=V-1|0;Z=(Y|0)>0;if(!(X>>>0>R>>>0&Z)){break}U=X;V=Y;W=c[f>>2]|0}W=J+S|0;if(Z){_=T;$=W;aa=32}else{ba=0;ca=T;da=W}}else{_=r;$=J;aa=32}if((aa|0)==32){aa=0;ba=qd[c[(c[s>>2]|0)+28>>2]&255](j,48)|0;ca=_;da=$}W=c[f>>2]|0;c[f>>2]=W+1;if((ca|0)>0){V=ca;U=W;while(1){a[U]=ba;Y=V-1|0;X=c[f>>2]|0;c[f>>2]=X+1;if((Y|0)>0){V=Y;U=X}else{ea=X;break}}}else{ea=W}a[ea]=m;fa=da}else{fa=J}if((fa|0)==(R|0)){U=qd[c[(c[s>>2]|0)+28>>2]&255](j,48)|0;V=c[f>>2]|0;c[f>>2]=V+1;a[V]=U}else{U=a[C]|0;V=(U&1)==0;if(V){ga=(U&255)>>>1}else{ga=c[F>>2]|0}if((ga|0)==0){ha=fa;ia=0;ja=0;ka=-1}else{if(V){la=D}else{la=c[E>>2]|0}ha=fa;ia=0;ja=0;ka=a[la]|0}while(1){do{if((ia|0)==(ka|0)){V=c[f>>2]|0;c[f>>2]=V+1;a[V]=n;V=ja+1|0;U=a[C]|0;T=(U&1)==0;if(T){ma=(U&255)>>>1}else{ma=c[F>>2]|0}if(!(V>>>0>>0)){na=ka;oa=V;pa=0;break}if(T){qa=D}else{qa=c[E>>2]|0}if((a[qa+V|0]|0)==127){na=-1;oa=V;pa=0;break}if(T){ra=D}else{ra=c[E>>2]|0}na=a[ra+V|0]|0;oa=V;pa=0}else{na=ka;oa=ja;pa=ia}}while(0);V=ha-1|0;T=a[V]|0;U=c[f>>2]|0;c[f>>2]=U+1;a[U]=T;if((V|0)==(R|0)){break}else{ha=V;ia=pa+1|0;ja=oa;ka=na}}}J=c[f>>2]|0;if((h|0)==(J|0)){I=R;break a}W=J-1|0;if(W>>>0>h>>>0){sa=h;ta=W}else{I=R;break a}while(1){W=a[sa]|0;a[sa]=a[ta]|0;a[ta]=W;W=sa+1|0;J=ta-1|0;if(W>>>0>>0){sa=W;ta=J}else{I=R;break}}break};default:{I=H}}}while(0);R=G+1|0;if(R>>>0<4>>>0){G=R;H=I}else{break}}I=a[t]|0;t=(I&1)==0;if(t){ua=(I&255)>>>1}else{ua=c[w>>2]|0}if(ua>>>0>1>>>0){if(t){va=(I&255)>>>1;wa=u;xa=u}else{u=c[v>>2]|0;va=c[w>>2]|0;wa=u;xa=u}u=xa+1|0;xa=wa+va|0;va=c[f>>2]|0;if((u|0)==(xa|0)){ya=va}else{wa=va;va=u;while(1){a[wa]=a[va]|0;u=va+1|0;w=wa+1|0;if((u|0)==(xa|0)){ya=w;break}else{wa=w;va=u}}}c[f>>2]=ya}ya=g&176;if((ya|0)==32){c[e>>2]=c[f>>2];return}else if((ya|0)==16){return}else{c[e>>2]=d;return}}function bG(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;d=i;i=i+232|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=d|0;l=d+16|0;m=d+24|0;n=d+32|0;o=d+40|0;p=d+48|0;q=d+64|0;r=d+80|0;s=d+96|0;t=d+104|0;u=d+208|0;v=d+216|0;w=d+224|0;iB(l,g);x=l|0;y=c[x>>2]|0;if(!((c[13354]|0)==-1)){c[k>>2]=53416;c[k+4>>2]=52;c[k+8>>2]=0;FA(53416,k,380)}k=(c[13355]|0)-1|0;z=c[y+8>>2]|0;do{if((c[y+12>>2]|0)-z>>2>>>0>k>>>0){A=c[z+(k<<2)>>2]|0;if((A|0)==0){break}B=A;C=j;D=a[C]|0;E=(D&1)==0;if(E){F=(D&255)>>>1}else{F=c[j+4>>2]|0}if((F|0)==0){G=0}else{if(E){H=j+1|0}else{H=c[j+8>>2]|0}E=a[H]|0;G=E<<24>>24==(qd[c[(c[A>>2]|0)+28>>2]&255](B,45)|0)<<24>>24}DK(p|0,0,12)|0;A=q;DK(A|0,0,12)|0;E=r;DK(E|0,0,12)|0;$F(f,G,l,m,n,o,p,q,r,s);D=t|0;I=a[C]|0;J=(I&1)==0;if(J){K=(I&255)>>>1}else{K=c[j+4>>2]|0}L=c[s>>2]|0;if((K|0)>(L|0)){if(J){M=(I&255)>>>1}else{M=c[j+4>>2]|0}J=a[E]|0;if((J&1)==0){N=(J&255)>>>1}else{N=c[r+4>>2]|0}J=a[A]|0;if((J&1)==0){O=(J&255)>>>1}else{O=c[q+4>>2]|0}P=N+(M-L<<1|1)+O|0}else{J=a[E]|0;if((J&1)==0){Q=(J&255)>>>1}else{Q=c[r+4>>2]|0}J=a[A]|0;if((J&1)==0){R=(J&255)>>>1}else{R=c[q+4>>2]|0}P=Q+2+R|0}J=P+L|0;do{if(J>>>0>100>>>0){A=aK(J)|0;if((A|0)!=0){S=A;T=A;U=I;break}nK();S=0;T=0;U=a[C]|0}else{S=D;T=0;U=I}}while(0);if((U&1)==0){V=(U&255)>>>1;W=j+1|0}else{V=c[j+4>>2]|0;W=c[j+8>>2]|0}aG(S,u,v,c[g+4>>2]|0,W,W+V|0,B,G,m,a[n]|0,a[o]|0,p,q,r,L);c[w>>2]=c[e>>2];Di(b,w,S,c[u>>2]|0,c[v>>2]|0,g,h);if((T|0)==0){MA(r);MA(q);MA(p);X=c[x>>2]|0;Y=X|0;Z=kA(Y)|0;i=d;return}bK(T);MA(r);MA(q);MA(p);X=c[x>>2]|0;Y=X|0;Z=kA(Y)|0;i=d;return}}while(0);d=Nc(4)|0;DJ(d);Vb(d|0,43976,614)}function cG(a){a=a|0;iA(a|0);iK(a);return}function dG(a){a=a|0;iA(a|0);return}function eG(b,d,e,f,g,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;k=+k;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,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;d=i;i=i+1040|0;l=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[l>>2];l=d|0;m=d+120|0;n=d+528|0;o=d+536|0;p=d+544|0;q=d+552|0;r=d+560|0;s=d+576|0;t=d+592|0;u=d+608|0;v=d+616|0;w=d+1016|0;x=d+1024|0;y=d+1032|0;z=d+16|0;c[m>>2]=z;A=d+128|0;B=ob(z|0,100,18160,(z=i,i=i+8|0,h[z>>3]=k,z)|0)|0;i=z;do{if(B>>>0>99>>>0){do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);C=SD(m,c[12914]|0,18160,(z=i,i=i+8|0,h[z>>3]=k,z)|0)|0;i=z;D=c[m>>2]|0;if((D|0)==0){nK();E=c[m>>2]|0}else{E=D}D=aK(C<<2)|0;F=D;if((D|0)!=0){G=F;H=C;I=F;J=E;break}nK();G=0;H=C;I=0;J=E}else{G=A;H=B;I=0;J=0}}while(0);iB(n,g);B=n|0;A=c[B>>2]|0;if(!((c[13352]|0)==-1)){c[l>>2]=53408;c[l+4>>2]=52;c[l+8>>2]=0;FA(53408,l,380)}l=(c[13353]|0)-1|0;E=c[A+8>>2]|0;do{if((c[A+12>>2]|0)-E>>2>>>0>l>>>0){z=c[E+(l<<2)>>2]|0;if((z|0)==0){break}C=z;F=c[m>>2]|0;sd[c[(c[z>>2]|0)+48>>2]&15](C,F,F+H|0,G)|0;if((H|0)==0){K=0}else{K=(a[c[m>>2]|0]|0)==45}DK(r|0,0,12)|0;F=s;DK(F|0,0,12)|0;z=t;DK(z|0,0,12)|0;fG(f,K,n,o,p,q,r,s,t,u);D=v|0;L=c[u>>2]|0;if((H|0)>(L|0)){M=a[z]|0;if((M&1)==0){N=(M&255)>>>1}else{N=c[t+4>>2]|0}M=a[F]|0;if((M&1)==0){O=(M&255)>>>1}else{O=c[s+4>>2]|0}P=N+(H-L<<1|1)+O|0}else{M=a[z]|0;if((M&1)==0){Q=(M&255)>>>1}else{Q=c[t+4>>2]|0}M=a[F]|0;if((M&1)==0){R=(M&255)>>>1}else{R=c[s+4>>2]|0}P=Q+2+R|0}M=P+L|0;do{if(M>>>0>100>>>0){F=aK(M<<2)|0;z=F;if((F|0)!=0){S=z;T=z;break}nK();S=0;T=0}else{S=D;T=0}}while(0);gG(S,w,x,c[g+4>>2]|0,G,G+(H<<2)|0,C,K,o,c[p>>2]|0,c[q>>2]|0,r,s,t,L);c[y>>2]=c[e>>2];$D(b,y,S,c[w>>2]|0,c[x>>2]|0,g,j);if((T|0)!=0){bK(T)}YA(t);YA(s);MA(r);kA(c[B>>2]|0)|0;if((I|0)!=0){bK(I)}if((J|0)==0){i=d;return}bK(J);i=d;return}}while(0);d=Nc(4)|0;DJ(d);Vb(d|0,43976,614)}function fG(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;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,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;n=i;i=i+40|0;o=n|0;p=n+16|0;q=n+32|0;r=q;s=i;i=i+12|0;i=i+7&-8;t=i;i=i+4|0;i=i+7&-8;u=t;v=i;i=i+12|0;i=i+7&-8;w=i;i=i+12|0;i=i+7&-8;x=i;i=i+12|0;i=i+7&-8;y=i;i=i+4|0;i=i+7&-8;z=y;A=i;i=i+12|0;i=i+7&-8;B=i;i=i+4|0;i=i+7&-8;C=B;D=i;i=i+12|0;i=i+7&-8;F=i;i=i+12|0;i=i+7&-8;G=i;i=i+12|0;i=i+7&-8;H=c[e>>2]|0;if(b){if(!((c[13468]|0)==-1)){c[p>>2]=53872;c[p+4>>2]=52;c[p+8>>2]=0;FA(53872,p,380)}p=(c[13469]|0)-1|0;b=c[H+8>>2]|0;if(!((c[H+12>>2]|0)-b>>2>>>0>p>>>0)){I=Nc(4)|0;J=I;DJ(J);Vb(I|0,43976,614)}e=c[b+(p<<2)>>2]|0;if((e|0)==0){I=Nc(4)|0;J=I;DJ(J);Vb(I|0,43976,614)}I=e;J=c[e>>2]|0;if(d){bd[c[J+44>>2]&255](r,I);r=f;E=c[q>>2]|0;a[r]=E;E=E>>8;a[r+1|0]=E;E=E>>8;a[r+2|0]=E;E=E>>8;a[r+3|0]=E;bd[c[(c[e>>2]|0)+32>>2]&255](s,I);r=l;if((a[r]&1)==0){c[l+4>>2]=0;a[r]=0}else{c[c[l+8>>2]>>2]=0;c[l+4>>2]=0}aB(l,0);q=s;c[r>>2]=c[q>>2];c[r+4>>2]=c[q+4>>2];c[r+8>>2]=c[q+8>>2];DK(q|0,0,12)|0;YA(s)}else{bd[c[J+40>>2]&255](u,I);u=f;E=c[t>>2]|0;a[u]=E;E=E>>8;a[u+1|0]=E;E=E>>8;a[u+2|0]=E;E=E>>8;a[u+3|0]=E;bd[c[(c[e>>2]|0)+28>>2]&255](v,I);u=l;if((a[u]&1)==0){c[l+4>>2]=0;a[u]=0}else{c[c[l+8>>2]>>2]=0;c[l+4>>2]=0}aB(l,0);t=v;c[u>>2]=c[t>>2];c[u+4>>2]=c[t+4>>2];c[u+8>>2]=c[t+8>>2];DK(t|0,0,12)|0;YA(v)}v=e;c[g>>2]=dd[c[(c[v>>2]|0)+12>>2]&255](I)|0;c[h>>2]=dd[c[(c[v>>2]|0)+16>>2]&255](I)|0;bd[c[(c[e>>2]|0)+20>>2]&255](w,I);t=j;if((a[t]&1)==0){a[j+1|0]=0;a[t]=0}else{a[c[j+8>>2]|0]=0;c[j+4>>2]=0}RA(j,0);u=w;c[t>>2]=c[u>>2];c[t+4>>2]=c[u+4>>2];c[t+8>>2]=c[u+8>>2];DK(u|0,0,12)|0;MA(w);bd[c[(c[e>>2]|0)+24>>2]&255](x,I);e=k;if((a[e]&1)==0){c[k+4>>2]=0;a[e]=0}else{c[c[k+8>>2]>>2]=0;c[k+4>>2]=0}aB(k,0);w=x;c[e>>2]=c[w>>2];c[e+4>>2]=c[w+4>>2];c[e+8>>2]=c[w+8>>2];DK(w|0,0,12)|0;YA(x);K=dd[c[(c[v>>2]|0)+36>>2]&255](I)|0;c[m>>2]=K;i=n;return}else{if(!((c[13470]|0)==-1)){c[o>>2]=53880;c[o+4>>2]=52;c[o+8>>2]=0;FA(53880,o,380)}o=(c[13471]|0)-1|0;I=c[H+8>>2]|0;if(!((c[H+12>>2]|0)-I>>2>>>0>o>>>0)){L=Nc(4)|0;M=L;DJ(M);Vb(L|0,43976,614)}H=c[I+(o<<2)>>2]|0;if((H|0)==0){L=Nc(4)|0;M=L;DJ(M);Vb(L|0,43976,614)}L=H;M=c[H>>2]|0;if(d){bd[c[M+44>>2]&255](z,L);z=f;E=c[y>>2]|0;a[z]=E;E=E>>8;a[z+1|0]=E;E=E>>8;a[z+2|0]=E;E=E>>8;a[z+3|0]=E;bd[c[(c[H>>2]|0)+32>>2]&255](A,L);z=l;if((a[z]&1)==0){c[l+4>>2]=0;a[z]=0}else{c[c[l+8>>2]>>2]=0;c[l+4>>2]=0}aB(l,0);y=A;c[z>>2]=c[y>>2];c[z+4>>2]=c[y+4>>2];c[z+8>>2]=c[y+8>>2];DK(y|0,0,12)|0;YA(A)}else{bd[c[M+40>>2]&255](C,L);C=f;E=c[B>>2]|0;a[C]=E;E=E>>8;a[C+1|0]=E;E=E>>8;a[C+2|0]=E;E=E>>8;a[C+3|0]=E;bd[c[(c[H>>2]|0)+28>>2]&255](D,L);C=l;if((a[C]&1)==0){c[l+4>>2]=0;a[C]=0}else{c[c[l+8>>2]>>2]=0;c[l+4>>2]=0}aB(l,0);l=D;c[C>>2]=c[l>>2];c[C+4>>2]=c[l+4>>2];c[C+8>>2]=c[l+8>>2];DK(l|0,0,12)|0;YA(D)}D=H;c[g>>2]=dd[c[(c[D>>2]|0)+12>>2]&255](L)|0;c[h>>2]=dd[c[(c[D>>2]|0)+16>>2]&255](L)|0;bd[c[(c[H>>2]|0)+20>>2]&255](F,L);h=j;if((a[h]&1)==0){a[j+1|0]=0;a[h]=0}else{a[c[j+8>>2]|0]=0;c[j+4>>2]=0}RA(j,0);j=F;c[h>>2]=c[j>>2];c[h+4>>2]=c[j+4>>2];c[h+8>>2]=c[j+8>>2];DK(j|0,0,12)|0;MA(F);bd[c[(c[H>>2]|0)+24>>2]&255](G,L);H=k;if((a[H]&1)==0){c[k+4>>2]=0;a[H]=0}else{c[c[k+8>>2]>>2]=0;c[k+4>>2]=0}aB(k,0);k=G;c[H>>2]=c[k>>2];c[H+4>>2]=c[k+4>>2];c[H+8>>2]=c[k+8>>2];DK(k|0,0,12)|0;YA(G);K=dd[c[(c[D>>2]|0)+36>>2]&255](L)|0;c[m>>2]=K;i=n;return}}function gG(b,d,e,f,g,h,i,j,k,l,m,n,o,p,q){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;n=n|0;o=o|0;p=p|0;q=q|0;var 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;c[e>>2]=b;r=i;s=p;t=p+4|0;u=p+8|0;p=o;v=(f&512|0)==0;w=o+4|0;x=o+8|0;o=i;y=(q|0)>0;z=n;A=n+1|0;B=n+8|0;C=n+4|0;n=0;D=g;while(1){a:do{switch(a[k+n|0]|0){case 1:{c[d>>2]=c[e>>2];g=qd[c[(c[r>>2]|0)+44>>2]&255](i,32)|0;E=c[e>>2]|0;c[e>>2]=E+4;c[E>>2]=g;F=D;break};case 0:{c[d>>2]=c[e>>2];F=D;break};case 3:{g=a[s]|0;E=(g&1)==0;if(E){G=(g&255)>>>1}else{G=c[t>>2]|0}if((G|0)==0){F=D;break a}if(E){H=t}else{H=c[u>>2]|0}E=c[H>>2]|0;g=c[e>>2]|0;c[e>>2]=g+4;c[g>>2]=E;F=D;break};case 4:{E=c[e>>2]|0;g=j?D+4|0:D;I=g;while(1){if(!(I>>>0>>0)){break}if(gd[c[(c[o>>2]|0)+12>>2]&63](i,2048,c[I>>2]|0)|0){I=I+4|0}else{break}}if(y){do{if(I>>>0>g>>>0){J=I;K=q;L=c[e>>2]|0;while(1){M=J-4|0;N=L+4|0;c[L>>2]=c[M>>2];O=K-1|0;P=(O|0)>0;if(M>>>0>g>>>0&P){J=M;K=O;L=N}else{break}}c[e>>2]=N;if(P){Q=O;R=M;S=34;break}L=c[e>>2]|0;c[e>>2]=L+4;T=L;U=M}else{Q=q;R=I;S=34}}while(0);do{if((S|0)==34){S=0;L=qd[c[(c[r>>2]|0)+44>>2]&255](i,48)|0;K=c[e>>2]|0;J=K+4|0;c[e>>2]=J;if((Q|0)>0){V=Q;W=K;X=J}else{T=K;U=R;break}while(1){c[W>>2]=L;J=V-1|0;if((J|0)>0){V=J;W=X;X=X+4|0}else{break}}c[e>>2]=K+(Q+1<<2);T=K+(Q<<2)|0;U=R}}while(0);c[T>>2]=l;Y=U}else{Y=I}if((Y|0)==(g|0)){L=qd[c[(c[r>>2]|0)+44>>2]&255](i,48)|0;J=c[e>>2]|0;Z=J+4|0;c[e>>2]=Z;c[J>>2]=L;_=Z}else{Z=a[z]|0;L=(Z&1)==0;if(L){$=(Z&255)>>>1}else{$=c[C>>2]|0}if(($|0)==0){aa=Y;ba=0;ca=0;da=-1}else{if(L){ea=A}else{ea=c[B>>2]|0}aa=Y;ba=0;ca=0;da=a[ea]|0}while(1){do{if((ba|0)==(da|0)){L=c[e>>2]|0;c[e>>2]=L+4;c[L>>2]=m;L=ca+1|0;Z=a[z]|0;J=(Z&1)==0;if(J){fa=(Z&255)>>>1}else{fa=c[C>>2]|0}if(!(L>>>0>>0)){ga=da;ha=L;ia=0;break}if(J){ja=A}else{ja=c[B>>2]|0}if((a[ja+L|0]|0)==127){ga=-1;ha=L;ia=0;break}if(J){ka=A}else{ka=c[B>>2]|0}ga=a[ka+L|0]|0;ha=L;ia=0}else{ga=da;ha=ca;ia=ba}}while(0);K=aa-4|0;L=c[K>>2]|0;J=c[e>>2]|0;c[e>>2]=J+4;c[J>>2]=L;if((K|0)==(g|0)){break}else{aa=K;ba=ia+1|0;ca=ha;da=ga}}_=c[e>>2]|0}if((E|0)==(_|0)){F=g;break a}I=_-4|0;if(I>>>0>E>>>0){la=E;ma=I}else{F=g;break a}while(1){I=c[la>>2]|0;c[la>>2]=c[ma>>2];c[ma>>2]=I;I=la+4|0;K=ma-4|0;if(I>>>0>>0){la=I;ma=K}else{F=g;break}}break};case 2:{g=a[p]|0;E=(g&1)==0;if(E){na=(g&255)>>>1}else{na=c[w>>2]|0}if((na|0)==0|v){F=D;break a}if(E){oa=(g&255)>>>1;pa=w;qa=w}else{g=c[x>>2]|0;oa=c[w>>2]|0;pa=g;qa=g}g=pa+(oa<<2)|0;E=c[e>>2]|0;if((qa|0)==(g|0)){ra=E}else{K=(pa+(oa-1<<2)+(-qa|0)|0)>>>2;I=E;L=qa;while(1){c[I>>2]=c[L>>2];J=L+4|0;if((J|0)==(g|0)){break}I=I+4|0;L=J}ra=E+(K+1<<2)|0}c[e>>2]=ra;F=D;break};default:{F=D}}}while(0);L=n+1|0;if(L>>>0<4>>>0){n=L;D=F}else{break}}F=a[s]|0;s=(F&1)==0;if(s){sa=(F&255)>>>1}else{sa=c[t>>2]|0}if(sa>>>0>1>>>0){if(s){ta=(F&255)>>>1;ua=t;va=t}else{F=c[u>>2]|0;ta=c[t>>2]|0;ua=F;va=F}F=va+4|0;va=ua+(ta<<2)|0;t=c[e>>2]|0;if((F|0)==(va|0)){wa=t}else{u=(ua+(ta-1<<2)+(-F|0)|0)>>>2;ta=t;ua=F;while(1){c[ta>>2]=c[ua>>2];F=ua+4|0;if((F|0)==(va|0)){break}else{ta=ta+4|0;ua=F}}wa=t+(u+1<<2)|0}c[e>>2]=wa}wa=f&176;if((wa|0)==32){c[d>>2]=c[e>>2];return}else if((wa|0)==16){return}else{c[d>>2]=b;return}}function hG(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;d=i;i=i+528|0;k=e;e=i;i=i+4|0;i=i+7&-8;c[e>>2]=c[k>>2];k=d|0;l=d+16|0;m=d+24|0;n=d+32|0;o=d+40|0;p=d+48|0;q=d+64|0;r=d+80|0;s=d+96|0;t=d+104|0;u=d+504|0;v=d+512|0;w=d+520|0;iB(l,g);x=l|0;y=c[x>>2]|0;if(!((c[13352]|0)==-1)){c[k>>2]=53408;c[k+4>>2]=52;c[k+8>>2]=0;FA(53408,k,380)}k=(c[13353]|0)-1|0;z=c[y+8>>2]|0;do{if((c[y+12>>2]|0)-z>>2>>>0>k>>>0){A=c[z+(k<<2)>>2]|0;if((A|0)==0){break}B=A;C=j;D=a[C]|0;E=(D&1)==0;if(E){F=(D&255)>>>1}else{F=c[j+4>>2]|0}if((F|0)==0){G=0}else{if(E){H=j+4|0}else{H=c[j+8>>2]|0}E=c[H>>2]|0;G=(E|0)==(qd[c[(c[A>>2]|0)+44>>2]&255](B,45)|0)}DK(p|0,0,12)|0;A=q;DK(A|0,0,12)|0;E=r;DK(E|0,0,12)|0;fG(f,G,l,m,n,o,p,q,r,s);D=t|0;I=a[C]|0;J=(I&1)==0;if(J){K=(I&255)>>>1}else{K=c[j+4>>2]|0}L=c[s>>2]|0;if((K|0)>(L|0)){if(J){M=(I&255)>>>1}else{M=c[j+4>>2]|0}J=a[E]|0;if((J&1)==0){N=(J&255)>>>1}else{N=c[r+4>>2]|0}J=a[A]|0;if((J&1)==0){O=(J&255)>>>1}else{O=c[q+4>>2]|0}P=N+(M-L<<1|1)+O|0}else{J=a[E]|0;if((J&1)==0){Q=(J&255)>>>1}else{Q=c[r+4>>2]|0}J=a[A]|0;if((J&1)==0){R=(J&255)>>>1}else{R=c[q+4>>2]|0}P=Q+2+R|0}J=P+L|0;do{if(J>>>0>100>>>0){A=aK(J<<2)|0;E=A;if((A|0)!=0){S=E;T=E;U=I;break}nK();S=0;T=0;U=a[C]|0}else{S=D;T=0;U=I}}while(0);if((U&1)==0){V=(U&255)>>>1;W=j+4|0}else{V=c[j+4>>2]|0;W=c[j+8>>2]|0}gG(S,u,v,c[g+4>>2]|0,W,W+(V<<2)|0,B,G,m,c[n>>2]|0,c[o>>2]|0,p,q,r,L);c[w>>2]=c[e>>2];$D(b,w,S,c[u>>2]|0,c[v>>2]|0,g,h);if((T|0)==0){YA(r);YA(q);MA(p);X=c[x>>2]|0;Y=X|0;Z=kA(Y)|0;i=d;return}bK(T);YA(r);YA(q);MA(p);X=c[x>>2]|0;Y=X|0;Z=kA(Y)|0;i=d;return}}while(0);d=Nc(4)|0;DJ(d);Vb(d|0,43976,614)}function iG(a){a=a|0;iA(a|0);iK(a);return}function jG(a){a=a|0;iA(a|0);return}function kG(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if((a[d]&1)==0){f=d+1|0}else{f=c[d+8>>2]|0}d=Rc(f|0,1)|0;return d>>>(((d|0)!=-1|0)>>>0)|0}function lG(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;d=i;i=i+16|0;j=d|0;k=j;DK(k|0,0,12)|0;l=a[h]|0;if((l&1)==0){m=(l&255)>>>1;n=h+1|0;o=h+1|0}else{l=c[h+8>>2]|0;m=c[h+4>>2]|0;n=l;o=l}l=o+m|0;do{if(n>>>0>>0){m=n;do{SA(j,a[m]|0);m=m+1|0;}while(m>>>0>>0);m=(e|0)==-1?-1:e<<1;if((a[k]&1)==0){p=m;q=10;break}r=c[j+8>>2]|0;s=m}else{p=(e|0)==-1?-1:e<<1;q=10}}while(0);if((q|0)==10){r=j+1|0;s=p}p=Db(s|0,f|0,g|0,r|0)|0;DK(b|0,0,12)|0;r=AK(p|0)|0;g=p+r|0;if((r|0)>0){t=p}else{MA(j);i=d;return}do{SA(b,a[t]|0);t=t+1|0;}while(t>>>0>>0);MA(j);i=d;return}function mG(a,b){a=a|0;b=b|0;pc(((b|0)==-1?-1:b<<1)|0)|0;return}function nG(a){a=a|0;iA(a|0);iK(a);return}function oG(a){a=a|0;iA(a|0);return}function pG(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if((a[d]&1)==0){f=d+1|0}else{f=c[d+8>>2]|0}d=Rc(f|0,1)|0;return d>>>(((d|0)!=-1|0)>>>0)|0}function qG(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,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;d=i;i=i+240|0;j=d|0;k=d+8|0;l=d+40|0;m=d+48|0;n=d+56|0;o=d+64|0;p=d+192|0;q=d+200|0;r=d+208|0;s=d+224|0;t=d+232|0;u=r;DK(u|0,0,12)|0;c[s+4>>2]=0;c[s>>2]=27360;v=a[h]|0;if((v&1)==0){w=(v&255)>>>1;x=h+4|0;y=h+4|0}else{v=c[h+8>>2]|0;w=c[h+4>>2]|0;x=v;y=v}v=y+(w<<2)|0;w=k|0;a:do{if(x>>>0>>0){y=s|0;h=s;z=k+32|0;A=x;B=27360;while(1){c[m>>2]=A;C=(vd[c[B+12>>2]&31](y,j,A,v,m,w,z,l)|0)==2;D=c[m>>2]|0;if(C|(D|0)==(A|0)){break}if(w>>>0<(c[l>>2]|0)>>>0){C=w;do{SA(r,a[C]|0);C=C+1|0;}while(C>>>0<(c[l>>2]|0)>>>0);E=c[m>>2]|0}else{E=D}if(!(E>>>0>>0)){break a}A=E;B=c[h>>2]|0}LF(12752)}}while(0);iA(s|0);if((a[u]&1)==0){F=r+1|0}else{F=c[r+8>>2]|0}u=Db(((e|0)==-1?-1:e<<1)|0,f|0,g|0,F|0)|0;DK(b|0,0,12)|0;c[t+4>>2]=0;c[t>>2]=27304;F=AK(u|0)|0;g=u+F|0;if((F|0)<=0){G=t|0;iA(G);MA(r);i=d;return}F=t|0;f=t;e=g;s=o|0;E=o+128|0;o=u;u=27304;while(1){c[q>>2]=o;v=(vd[c[u+16>>2]&31](F,n,o,(e-o|0)>32?o+32|0:g,q,s,E,p)|0)==2;m=c[q>>2]|0;if(v|(m|0)==(o|0)){break}if(s>>>0<(c[p>>2]|0)>>>0){v=s;do{bB(b,c[v>>2]|0);v=v+4|0;}while(v>>>0<(c[p>>2]|0)>>>0);H=c[q>>2]|0}else{H=m}if(!(H>>>0>>0)){I=37;break}o=H;u=c[f>>2]|0}if((I|0)==37){G=t|0;iA(G);MA(r);i=d;return}LF(12752)}function rG(a,b){a=a|0;b=b|0;pc(((b|0)==-1?-1:b<<1)|0)|0;return}function sG(b){b=b|0;var d=0,e=0,f=0;c[b>>2]=26656;d=b+8|0;e=c[d>>2]|0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);if((e|0)==(c[12914]|0)){f=b|0;iA(f);return}Cb(c[d>>2]|0);f=b|0;iA(f);return}function tG(a){a=a|0;a=Nc(8)|0;lA(a,18e3);c[a>>2]=25568;Vb(a|0,44024,118)}function uG(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;e=i;i=i+448|0;f=e|0;g=e+16|0;h=e+32|0;j=e+48|0;k=e+64|0;l=e+80|0;m=e+96|0;n=e+112|0;o=e+128|0;p=e+144|0;q=e+160|0;r=e+176|0;s=e+192|0;t=e+208|0;u=e+224|0;v=e+240|0;w=e+256|0;x=e+272|0;y=e+288|0;z=e+304|0;A=e+320|0;B=e+336|0;C=e+352|0;D=e+368|0;E=e+384|0;F=e+400|0;G=e+416|0;H=e+432|0;c[b+4>>2]=d-1;c[b>>2]=26912;d=b+8|0;I=b+12|0;J=b+136|0;a[J]=1;K=b+24|0;c[I>>2]=K;c[d>>2]=K;c[b+16>>2]=J;J=28;L=K;do{if((L|0)==0){M=0}else{c[L>>2]=0;M=c[I>>2]|0}L=M+4|0;c[I>>2]=L;J=J-1|0;}while((J|0)!=0);JA(b+144|0,17576,1);J=c[d>>2]|0;d=c[I>>2]|0;if((d|0)!=(J|0)){c[I>>2]=d+(~((d-4+(-J|0)|0)>>>2)<<2)}c[12947]=0;c[12946]=26616;if(!((c[13274]|0)==-1)){c[G>>2]=53096;c[G+4>>2]=52;c[G+8>>2]=0;FA(53096,G,380)}vG(b,51784,(c[13275]|0)-1|0);c[12945]=0;c[12944]=26576;if(!((c[13272]|0)==-1)){c[F>>2]=53088;c[F+4>>2]=52;c[F+8>>2]=0;FA(53088,F,380)}vG(b,51776,(c[13273]|0)-1|0);c[12997]=0;c[12996]=27024;c[12998]=0;a[51996]=0;c[12998]=c[(Bb()|0)>>2];if(!((c[13354]|0)==-1)){c[E>>2]=53416;c[E+4>>2]=52;c[E+8>>2]=0;FA(53416,E,380)}vG(b,51984,(c[13355]|0)-1|0);c[12995]=0;c[12994]=26944;if(!((c[13352]|0)==-1)){c[D>>2]=53408;c[D+4>>2]=52;c[D+8>>2]=0;FA(53408,D,380)}vG(b,51976,(c[13353]|0)-1|0);c[12949]=0;c[12948]=26712;if(!((c[13278]|0)==-1)){c[C>>2]=53112;c[C+4>>2]=52;c[C+8>>2]=0;FA(53112,C,380)}vG(b,51792,(c[13279]|0)-1|0);c[6277]=0;c[6276]=26656;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);c[6278]=c[12914];if(!((c[13276]|0)==-1)){c[B>>2]=53104;c[B+4>>2]=52;c[B+8>>2]=0;FA(53104,B,380)}vG(b,25104,(c[13277]|0)-1|0);c[12951]=0;c[12950]=26768;if(!((c[13280]|0)==-1)){c[A>>2]=53120;c[A+4>>2]=52;c[A+8>>2]=0;FA(53120,A,380)}vG(b,51800,(c[13281]|0)-1|0);c[12953]=0;c[12952]=26824;if(!((c[13282]|0)==-1)){c[z>>2]=53128;c[z+4>>2]=52;c[z+8>>2]=0;FA(53128,z,380)}vG(b,51808,(c[13283]|0)-1|0);c[12927]=0;c[12926]=26120;a[51712]=46;a[51713]=44;DK(51716,0,12)|0;if(!((c[13258]|0)==-1)){c[y>>2]=53032;c[y+4>>2]=52;c[y+8>>2]=0;FA(53032,y,380)}vG(b,51704,(c[13259]|0)-1|0);c[6269]=0;c[6268]=26072;c[6270]=46;c[6271]=44;DK(25088,0,12)|0;if(!((c[13256]|0)==-1)){c[x>>2]=53024;c[x+4>>2]=52;c[x+8>>2]=0;FA(53024,x,380)}vG(b,25072,(c[13257]|0)-1|0);c[12943]=0;c[12942]=26504;if(!((c[13270]|0)==-1)){c[w>>2]=53080;c[w+4>>2]=52;c[w+8>>2]=0;FA(53080,w,380)}vG(b,51768,(c[13271]|0)-1|0);c[12941]=0;c[12940]=26432;if(!((c[13268]|0)==-1)){c[v>>2]=53072;c[v+4>>2]=52;c[v+8>>2]=0;FA(53072,v,380)}vG(b,51760,(c[13269]|0)-1|0);c[12939]=0;c[12938]=26368;if(!((c[13266]|0)==-1)){c[u>>2]=53064;c[u+4>>2]=52;c[u+8>>2]=0;FA(53064,u,380)}vG(b,51752,(c[13267]|0)-1|0);c[12937]=0;c[12936]=26304;if(!((c[13264]|0)==-1)){c[t>>2]=53056;c[t+4>>2]=52;c[t+8>>2]=0;FA(53056,t,380)}vG(b,51744,(c[13265]|0)-1|0);c[13007]=0;c[13006]=28312;if(!((c[13474]|0)==-1)){c[s>>2]=53896;c[s+4>>2]=52;c[s+8>>2]=0;FA(53896,s,380)}vG(b,52024,(c[13475]|0)-1|0);c[13005]=0;c[13004]=28248;if(!((c[13472]|0)==-1)){c[r>>2]=53888;c[r+4>>2]=52;c[r+8>>2]=0;FA(53888,r,380)}vG(b,52016,(c[13473]|0)-1|0);c[13003]=0;c[13002]=28184;if(!((c[13470]|0)==-1)){c[q>>2]=53880;c[q+4>>2]=52;c[q+8>>2]=0;FA(53880,q,380)}vG(b,52008,(c[13471]|0)-1|0);c[13001]=0;c[13e3]=28120;if(!((c[13468]|0)==-1)){c[p>>2]=53872;c[p+4>>2]=52;c[p+8>>2]=0;FA(53872,p,380)}vG(b,52e3,(c[13469]|0)-1|0);c[12925]=0;c[12924]=25752;if(!((c[13246]|0)==-1)){c[o>>2]=52984;c[o+4>>2]=52;c[o+8>>2]=0;FA(52984,o,380)}vG(b,51696,(c[13247]|0)-1|0);c[12923]=0;c[12922]=25712;if(!((c[13244]|0)==-1)){c[n>>2]=52976;c[n+4>>2]=52;c[n+8>>2]=0;FA(52976,n,380)}vG(b,51688,(c[13245]|0)-1|0);c[12921]=0;c[12920]=25672;if(!((c[13242]|0)==-1)){c[m>>2]=52968;c[m+4>>2]=52;c[m+8>>2]=0;FA(52968,m,380)}vG(b,51680,(c[13243]|0)-1|0);c[12919]=0;c[12918]=25632;if(!((c[13240]|0)==-1)){c[l>>2]=52960;c[l+4>>2]=52;c[l+8>>2]=0;FA(52960,l,380)}vG(b,51672,(c[13241]|0)-1|0);c[6265]=0;c[6264]=25976;c[6266]=26024;if(!((c[13254]|0)==-1)){c[k>>2]=53016;c[k+4>>2]=52;c[k+8>>2]=0;FA(53016,k,380)}vG(b,25056,(c[13255]|0)-1|0);c[6261]=0;c[6260]=25880;c[6262]=25928;if(!((c[13252]|0)==-1)){c[j>>2]=53008;c[j+4>>2]=52;c[j+8>>2]=0;FA(53008,j,380)}vG(b,25040,(c[13253]|0)-1|0);c[6257]=0;c[6256]=26880;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);c[6258]=c[12914];c[6256]=25848;if(!((c[13250]|0)==-1)){c[h>>2]=53e3;c[h+4>>2]=52;c[h+8>>2]=0;FA(53e3,h,380)}vG(b,25024,(c[13251]|0)-1|0);c[6253]=0;c[6252]=26880;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);c[6254]=c[12914];c[6252]=25816;if(!((c[13248]|0)==-1)){c[g>>2]=52992;c[g+4>>2]=52;c[g+8>>2]=0;FA(52992,g,380)}vG(b,25008,(c[13249]|0)-1|0);c[12935]=0;c[12934]=26208;if(!((c[13262]|0)==-1)){c[f>>2]=53048;c[f+4>>2]=52;c[f+8>>2]=0;FA(53048,f,380)}vG(b,51736,(c[13263]|0)-1|0);c[12933]=0;c[12932]=26168;if(!((c[13260]|0)==-1)){c[H>>2]=53040;c[H+4>>2]=52;c[H+8>>2]=0;FA(53040,H,380)}vG(b,51728,(c[13261]|0)-1|0);i=e;return}function vG(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;jA(b|0);e=a+8|0;f=a+12|0;a=c[f>>2]|0;g=e|0;h=c[g>>2]|0;i=a-h>>2;do{if(i>>>0>d>>>0){j=h}else{k=d+1|0;if(i>>>0>>0){AI(e,k-i|0);j=c[g>>2]|0;break}if(!(i>>>0>k>>>0)){j=h;break}l=h+(k<<2)|0;if((a|0)==(l|0)){j=h;break}c[f>>2]=a+(~((a-4+(-l|0)|0)>>>2)<<2);j=h}}while(0);h=c[j+(d<<2)>>2]|0;if((h|0)==0){m=j;n=m+(d<<2)|0;c[n>>2]=b;return}kA(h|0)|0;m=c[g>>2]|0;n=m+(d<<2)|0;c[n>>2]=b;return}function wG(a){a=a|0;xG(a);iK(a);return}function xG(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c[b>>2]=26912;d=b+12|0;e=c[d>>2]|0;f=b+8|0;g=c[f>>2]|0;if((e|0)!=(g|0)){h=0;i=g;g=e;while(1){e=c[i+(h<<2)>>2]|0;if((e|0)==0){j=g;k=i}else{kA(e|0)|0;j=c[d>>2]|0;k=c[f>>2]|0}e=h+1|0;if(e>>>0>2>>>0){h=e;i=k;g=j}else{break}}}MA(b+144|0);j=c[f>>2]|0;if((j|0)==0){l=b|0;iA(l);return}f=c[d>>2]|0;if((f|0)!=(j|0)){c[d>>2]=f+(~((f-4+(-j|0)|0)>>>2)<<2)}if((b+24|0)==(j|0)){a[b+136|0]=0;l=b|0;iA(l);return}else{iK(j);l=b|0;iA(l);return}}function yG(){var b=0,d=0;if((a[69584]|0)!=0){b=c[12906]|0;return b|0}if((Hb(69584)|0)==0){b=c[12906]|0;return b|0}do{if((a[69592]|0)==0){if((Hb(69592)|0)==0){break}uG(51816,1);c[12910]=51816;c[12908]=51640}}while(0);d=c[c[12908]>>2]|0;c[12912]=d;jA(d|0);c[12906]=51648;b=c[12906]|0;return b|0}function zG(a){a=a|0;var b=0;b=c[(yG()|0)>>2]|0;c[a>>2]=b;jA(b|0);return}function AG(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;c[a>>2]=d;jA(d|0);return}function BG(a){a=a|0;kA(c[a>>2]|0)|0;return}function CG(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=i;i=i+16|0;e=d|0;f=c[a>>2]|0;a=b|0;if(!((c[a>>2]|0)==-1)){c[e>>2]=b;c[e+4>>2]=52;c[e+8>>2]=0;FA(a,e,380)}e=(c[b+4>>2]|0)-1|0;b=c[f+8>>2]|0;if(!((c[f+12>>2]|0)-b>>2>>>0>e>>>0)){g=0;i=d;return g|0}g=(c[b+(e<<2)>>2]|0)!=0;i=d;return g|0}function DG(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;i=i+16|0;e=d|0;f=c[a>>2]|0;a=b|0;if(!((c[a>>2]|0)==-1)){c[e>>2]=b;c[e+4>>2]=52;c[e+8>>2]=0;FA(a,e,380)}e=(c[b+4>>2]|0)-1|0;b=c[f+8>>2]|0;if(!((c[f+12>>2]|0)-b>>2>>>0>e>>>0)){g=Nc(4)|0;h=g;DJ(h);Vb(g|0,43976,614);return 0}f=c[b+(e<<2)>>2]|0;if((f|0)==0){g=Nc(4)|0;h=g;DJ(h);Vb(g|0,43976,614);return 0}else{i=d;return f|0}return 0}function EG(a){a=a|0;iA(a|0);iK(a);return}function FG(a){a=a|0;if((a|0)==0){return}ad[c[(c[a>>2]|0)+4>>2]&2047](a);return}function GG(a){a=a|0;c[a+4>>2]=(K=c[13284]|0,c[13284]=K+1,K)+1;return}function HG(a){a=a|0;iA(a|0);iK(a);return}function IG(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;if(!(e>>>0<128>>>0)){f=0;return f|0}f=(b[(c[(Bb()|0)>>2]|0)+(e<<1)>>1]&d)<<16>>16!=0;return f|0}function JG(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;if((d|0)==(e|0)){g=d;return g|0}else{h=d;i=f}while(1){f=c[h>>2]|0;if(f>>>0<128>>>0){j=b[(c[(Bb()|0)>>2]|0)+(f<<1)>>1]|0}else{j=0}b[i>>1]=j;f=h+4|0;if((f|0)==(e|0)){g=e;break}else{h=f;i=i+2|0}}return g|0}function KG(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;if((e|0)==(f|0)){g=e;return g|0}else{h=e}while(1){e=c[h>>2]|0;if(e>>>0<128>>>0){if(!((b[(c[(Bb()|0)>>2]|0)+(e<<1)>>1]&d)<<16>>16==0)){g=h;i=7;break}}e=h+4|0;if((e|0)==(f|0)){g=f;i=7;break}else{h=e}}if((i|0)==7){return g|0}return 0}function LG(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a=e;while(1){if((a|0)==(f|0)){g=f;h=7;break}e=c[a>>2]|0;if(!(e>>>0<128>>>0)){g=a;h=7;break}if((b[(c[(Bb()|0)>>2]|0)+(e<<1)>>1]&d)<<16>>16==0){g=a;h=7;break}else{a=a+4|0}}if((h|0)==7){return g|0}return 0}function MG(a,b){a=a|0;b=b|0;var d=0;if(!(b>>>0<128>>>0)){d=b;return d|0}d=c[(c[(Sc()|0)>>2]|0)+(b<<2)>>2]|0;return d|0}function NG(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if((b|0)==(d|0)){e=b;return e|0}else{f=b}while(1){b=c[f>>2]|0;if(b>>>0<128>>>0){g=c[(c[(Sc()|0)>>2]|0)+(b<<2)>>2]|0}else{g=b}c[f>>2]=g;b=f+4|0;if((b|0)==(d|0)){e=d;break}else{f=b}}return e|0}function OG(a,b){a=a|0;b=b|0;var d=0;if(!(b>>>0<128>>>0)){d=b;return d|0}d=c[(c[(Tc()|0)>>2]|0)+(b<<2)>>2]|0;return d|0}function PG(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if((b|0)==(d|0)){e=b;return e|0}else{f=b}while(1){b=c[f>>2]|0;if(b>>>0<128>>>0){g=c[(c[(Tc()|0)>>2]|0)+(b<<2)>>2]|0}else{g=b}c[f>>2]=g;b=f+4|0;if((b|0)==(d|0)){e=d;break}else{f=b}}return e|0}function QG(a,b){a=a|0;b=b|0;return b<<24>>24|0}function RG(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;if((d|0)==(e|0)){g=d;return g|0}else{h=d;i=f}while(1){c[i>>2]=a[h]|0;f=h+1|0;if((f|0)==(e|0)){g=e;break}else{h=f;i=i+4|0}}return g|0}function SG(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<128>>>0?b&255:c)|0}function TG(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;if((d|0)==(e|0)){h=d;return h|0}b=((e-4+(-d|0)|0)>>>2)+1|0;i=d;j=g;while(1){g=c[i>>2]|0;a[j]=g>>>0<128>>>0?g&255:f;g=i+4|0;if((g|0)==(e|0)){break}else{i=g;j=j+1|0}}h=d+(b<<2)|0;return h|0}function UG(b){b=b|0;var d=0;c[b>>2]=27024;d=c[b+8>>2]|0;do{if((d|0)!=0){if((a[b+12|0]|0)==0){break}jK(d)}}while(0);iA(b|0);iK(b);return}function VG(b){b=b|0;var d=0;c[b>>2]=27024;d=c[b+8>>2]|0;do{if((d|0)!=0){if((a[b+12|0]|0)==0){break}jK(d)}}while(0);iA(b|0);return}function WG(a,b){a=a|0;b=b|0;var d=0;if(b<<24>>24<0){d=b;return d|0}d=c[(c[(Sc()|0)>>2]|0)+((b&255)<<2)>>2]&255;return d|0}function XG(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((d|0)==(e|0)){f=d;return f|0}else{g=d}while(1){d=a[g]|0;if(d<<24>>24<0){h=d}else{h=c[(c[(Sc()|0)>>2]|0)+(d<<24>>24<<2)>>2]&255}a[g]=h;d=g+1|0;if((d|0)==(e|0)){f=e;break}else{g=d}}return f|0}function YG(a,b){a=a|0;b=b|0;var d=0;if(b<<24>>24<0){d=b;return d|0}d=c[(c[(Tc()|0)>>2]|0)+(b<<24>>24<<2)>>2]&255;return d|0}function ZG(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((d|0)==(e|0)){f=d;return f|0}else{g=d}while(1){d=a[g]|0;if(d<<24>>24<0){h=d}else{h=c[(c[(Tc()|0)>>2]|0)+(d<<24>>24<<2)>>2]&255}a[g]=h;d=g+1|0;if((d|0)==(e|0)){f=e;break}else{g=d}}return f|0}function _G(a,b){a=a|0;b=b|0;return b|0}function $G(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((c|0)==(d|0)){f=c;return f|0}else{g=c;h=e}while(1){a[h]=a[g]|0;e=g+1|0;if((e|0)==(d|0)){f=d;break}else{g=e;h=h+1|0}}return f|0}function aH(a,b,c){a=a|0;b=b|0;c=c|0;return(b<<24>>24<0?c:b)|0}function bH(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;if((c|0)==(d|0)){g=c;return g|0}else{h=c;i=f}while(1){f=a[h]|0;a[i]=f<<24>>24<0?e:f;f=h+1|0;if((f|0)==(d|0)){g=d;break}else{h=f;i=i+1|0}}return g|0}function cH(a){a=a|0;iA(a|0);iK(a);return}function dH(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;c[f>>2]=d;c[i>>2]=g;return 3}function eH(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;c[f>>2]=d;c[i>>2]=g;return 3}function fH(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=d;return 3}function gH(a){a=a|0;return 1}function hH(a){a=a|0;return 1}function iH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=d-c|0;return(b>>>0>>0?b:e)|0}function jH(a){a=a|0;return 1}function kH(a){a=a|0;sG(a);iK(a);return}function lH(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;l=i;i=i+8|0;m=l|0;n=m;o=i;i=i+4|0;i=i+7&-8;p=e;while(1){if((p|0)==(f|0)){q=f;break}if((c[p>>2]|0)==0){q=p;break}else{p=p+4|0}}c[k>>2]=h;c[g>>2]=e;a:do{if((e|0)==(f|0)|(h|0)==(j|0)){r=e}else{p=d;s=j;t=b+8|0;u=o|0;v=h;w=e;x=q;while(1){y=c[p+4>>2]|0;c[m>>2]=c[p>>2];c[m+4>>2]=y;y=vc(c[t>>2]|0)|0;z=dJ(v,g,x-w>>2,s-v|0,d)|0;if((y|0)!=0){vc(y|0)|0}if((z|0)==(-1|0)){A=15;break}else if((z|0)==0){B=1;A=50;break}y=(c[k>>2]|0)+z|0;c[k>>2]=y;if((y|0)==(j|0)){A=48;break}if((x|0)==(f|0)){C=f;D=y;E=c[g>>2]|0}else{y=vc(c[t>>2]|0)|0;z=cJ(u,0,d)|0;if((y|0)!=0){vc(y|0)|0}if((z|0)==-1){B=2;A=50;break}y=c[k>>2]|0;if(z>>>0>(s-y|0)>>>0){B=1;A=50;break}b:do{if((z|0)!=0){F=z;G=u;H=y;while(1){I=a[G]|0;c[k>>2]=H+1;a[H]=I;I=F-1|0;if((I|0)==0){break b}F=I;G=G+1|0;H=c[k>>2]|0}}}while(0);y=(c[g>>2]|0)+4|0;c[g>>2]=y;z=y;while(1){if((z|0)==(f|0)){J=f;break}if((c[z>>2]|0)==0){J=z;break}else{z=z+4|0}}C=J;D=c[k>>2]|0;E=y}if((E|0)==(f|0)|(D|0)==(j|0)){r=E;break a}else{v=D;w=E;x=C}}if((A|0)==15){c[k>>2]=v;c:do{if((w|0)==(c[g>>2]|0)){K=w}else{x=w;u=v;while(1){s=c[x>>2]|0;p=vc(c[t>>2]|0)|0;z=cJ(u,s,n)|0;if((p|0)!=0){vc(p|0)|0}if((z|0)==-1){K=x;break c}p=(c[k>>2]|0)+z|0;c[k>>2]=p;z=x+4|0;if((z|0)==(c[g>>2]|0)){K=z;break}else{x=z;u=p}}}}while(0);c[g>>2]=K;B=2;i=l;return B|0}else if((A|0)==48){r=c[g>>2]|0;break}else if((A|0)==50){i=l;return B|0}}}while(0);B=(r|0)!=(f|0)|0;i=l;return B|0}function mH(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;l=i;i=i+8|0;m=l|0;n=m;o=e;while(1){if((o|0)==(f|0)){p=f;break}if((a[o]|0)==0){p=o;break}else{o=o+1|0}}c[k>>2]=h;c[g>>2]=e;a:do{if((e|0)==(f|0)|(h|0)==(j|0)){q=e}else{o=d;r=j;s=b+8|0;t=h;u=e;v=p;while(1){w=c[o+4>>2]|0;c[m>>2]=c[o>>2];c[m+4>>2]=w;x=v;w=vc(c[s>>2]|0)|0;y=$I(t,g,x-u|0,r-t>>2,d)|0;if((w|0)!=0){vc(w|0)|0}if((y|0)==(-1|0)){z=15;break}else if((y|0)==0){A=2;z=49;break}w=(c[k>>2]|0)+(y<<2)|0;c[k>>2]=w;if((w|0)==(j|0)){z=47;break}y=c[g>>2]|0;if((v|0)==(f|0)){B=f;C=w;D=y}else{E=vc(c[s>>2]|0)|0;F=_I(w,y,1,d)|0;if((E|0)!=0){vc(E|0)|0}if((F|0)!=0){A=2;z=49;break}c[k>>2]=(c[k>>2]|0)+4;F=(c[g>>2]|0)+1|0;c[g>>2]=F;E=F;while(1){if((E|0)==(f|0)){G=f;break}if((a[E]|0)==0){G=E;break}else{E=E+1|0}}B=G;C=c[k>>2]|0;D=F}if((D|0)==(f|0)|(C|0)==(j|0)){q=D;break a}else{t=C;u=D;v=B}}if((z|0)==15){c[k>>2]=t;b:do{if((u|0)==(c[g>>2]|0)){H=u}else{v=t;r=u;while(1){o=vc(c[s>>2]|0)|0;E=_I(v,r,x-r|0,n)|0;if((o|0)!=0){vc(o|0)|0}if((E|0)==0){I=r+1|0}else if((E|0)==(-1|0)){z=26;break}else if((E|0)==(-2|0)){z=27;break}else{I=r+E|0}E=(c[k>>2]|0)+4|0;c[k>>2]=E;if((I|0)==(c[g>>2]|0)){H=I;break b}else{v=E;r=I}}if((z|0)==26){c[g>>2]=r;A=2;i=l;return A|0}else if((z|0)==27){c[g>>2]=r;A=1;i=l;return A|0}}}while(0);c[g>>2]=H;A=(H|0)!=(f|0)|0;i=l;return A|0}else if((z|0)==47){q=c[g>>2]|0;break}else if((z|0)==49){i=l;return A|0}}}while(0);A=(q|0)!=(f|0)|0;i=l;return A|0}function nH(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0;h=i;i=i+8|0;c[g>>2]=e;e=h|0;j=vc(c[b+8>>2]|0)|0;b=cJ(e,0,d)|0;if((j|0)!=0){vc(j|0)|0}if((b|0)==(-1|0)|(b|0)==0){k=2;i=h;return k|0}j=b-1|0;b=c[g>>2]|0;if(j>>>0>(f-b|0)>>>0){k=1;i=h;return k|0}if((j|0)==0){k=0;i=h;return k|0}else{l=j;m=e;n=b}while(1){b=a[m]|0;c[g>>2]=n+1;a[n]=b;b=l-1|0;if((b|0)==0){k=0;break}l=b;m=m+1|0;n=c[g>>2]|0}i=h;return k|0}function oH(a){a=a|0;var b=0,d=0,e=0;b=a+8|0;a=vc(c[b>>2]|0)|0;d=bJ(0,0,4)|0;if((a|0)!=0){vc(a|0)|0}if((d|0)!=0){e=-1;return e|0}d=c[b>>2]|0;if((d|0)==0){e=1;return e|0}b=vc(d|0)|0;if((b|0)==0){e=0;return e|0}vc(b|0)|0;e=0;return e|0}function pH(a){a=a|0;return 0}function qH(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if((f|0)==0|(d|0)==(e|0)){g=0;return g|0}h=e;i=a+8|0;a=d;d=0;j=0;while(1){k=vc(c[i>>2]|0)|0;l=ZI(a,h-a|0,b)|0;if((k|0)!=0){vc(k|0)|0}if((l|0)==0){m=1;n=a+1|0}else if((l|0)==(-1|0)|(l|0)==(-2|0)){g=d;o=15;break}else{m=l;n=a+l|0}l=m+d|0;k=j+1|0;if(k>>>0>=f>>>0|(n|0)==(e|0)){g=l;o=15;break}else{a=n;d=l;j=k}}if((o|0)==15){return g|0}return 0}function rH(a){a=a|0;var b=0,d=0;b=c[a+8>>2]|0;do{if((b|0)==0){d=1}else{a=vc(b|0)|0;if((a|0)==0){d=4;break}vc(a|0)|0;d=4}}while(0);return d|0}function sH(a){a=a|0;iA(a|0);iK(a);return}function tH(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0;b=i;i=i+16|0;a=b|0;k=b+8|0;c[a>>2]=d;c[k>>2]=g;l=uH(d,e,a,g,h,k,1114111,0)|0;c[f>>2]=d+((c[a>>2]|0)-d>>1<<1);c[j>>2]=g+((c[k>>2]|0)-g);i=b;return l|0}function uH(d,f,g,h,i,j,k,l){d=d|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;c[g>>2]=d;c[j>>2]=h;do{if((l&2|0)!=0){if((i-h|0)<3){m=1;return m|0}else{c[j>>2]=h+1;a[h]=-17;d=c[j>>2]|0;c[j>>2]=d+1;a[d]=-69;d=c[j>>2]|0;c[j>>2]=d+1;a[d]=-65;break}}}while(0);h=f;l=c[g>>2]|0;if(!(l>>>0>>0)){m=0;return m|0}d=i;i=l;a:while(1){l=b[i>>1]|0;n=l&65535;if(n>>>0>k>>>0){m=2;o=26;break}do{if((l&65535)>>>0<128>>>0){p=c[j>>2]|0;if((d-p|0)<1){m=1;o=26;break a}c[j>>2]=p+1;a[p]=l}else{if((l&65535)>>>0<2048>>>0){p=c[j>>2]|0;if((d-p|0)<2){m=1;o=26;break a}c[j>>2]=p+1;a[p]=n>>>6|192;p=c[j>>2]|0;c[j>>2]=p+1;a[p]=n&63|128;break}if((l&65535)>>>0<55296>>>0){p=c[j>>2]|0;if((d-p|0)<3){m=1;o=26;break a}c[j>>2]=p+1;a[p]=n>>>12|224;p=c[j>>2]|0;c[j>>2]=p+1;a[p]=n>>>6&63|128;p=c[j>>2]|0;c[j>>2]=p+1;a[p]=n&63|128;break}if(!((l&65535)>>>0<56320>>>0)){if((l&65535)>>>0<57344>>>0){m=2;o=26;break a}p=c[j>>2]|0;if((d-p|0)<3){m=1;o=26;break a}c[j>>2]=p+1;a[p]=n>>>12|224;p=c[j>>2]|0;c[j>>2]=p+1;a[p]=n>>>6&63|128;p=c[j>>2]|0;c[j>>2]=p+1;a[p]=n&63|128;break}if((h-i|0)<4){m=1;o=26;break a}p=i+2|0;q=e[p>>1]|0;if((q&64512|0)!=56320){m=2;o=26;break a}if((d-(c[j>>2]|0)|0)<4){m=1;o=26;break a}r=n&960;if(((r<<10)+65536|n<<10&64512|q&1023)>>>0>k>>>0){m=2;o=26;break a}c[g>>2]=p;p=(r>>>6)+1|0;r=c[j>>2]|0;c[j>>2]=r+1;a[r]=p>>>2|240;r=c[j>>2]|0;c[j>>2]=r+1;a[r]=n>>>2&15|p<<4&48|128;p=c[j>>2]|0;c[j>>2]=p+1;a[p]=n<<4&48|q>>>6&15|128;p=c[j>>2]|0;c[j>>2]=p+1;a[p]=q&63|128}}while(0);n=(c[g>>2]|0)+2|0;c[g>>2]=n;if(n>>>0>>0){i=n}else{m=0;o=26;break}}if((o|0)==26){return m|0}return 0}function vH(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0;b=i;i=i+16|0;a=b|0;k=b+8|0;c[a>>2]=d;c[k>>2]=g;l=wH(d,e,a,g,h,k,1114111,0)|0;c[f>>2]=d+((c[a>>2]|0)-d);c[j>>2]=g+((c[k>>2]|0)-g>>1<<1);i=b;return l|0}function wH(e,f,g,h,i,j,k,l){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;c[g>>2]=e;c[j>>2]=h;h=c[g>>2]|0;do{if((l&4|0)==0){m=h}else{if((f-h|0)<=2){m=h;break}if(!((a[h]|0)==-17)){m=h;break}if(!((a[h+1|0]|0)==-69)){m=h;break}if(!((a[h+2|0]|0)==-65)){m=h;break}e=h+3|0;c[g>>2]=e;m=e}}while(0);a:do{if(m>>>0>>0){h=f;l=i;e=c[j>>2]|0;n=m;b:while(1){if(!(e>>>0>>0)){o=n;break a}p=a[n]|0;q=p&255;if(q>>>0>k>>>0){r=2;s=41;break}do{if(p<<24>>24>-1){b[e>>1]=p&255;c[g>>2]=n+1}else{if((p&255)>>>0<194>>>0){r=2;s=41;break b}if((p&255)>>>0<224>>>0){if((h-n|0)<2){r=1;s=41;break b}t=d[n+1|0]|0;if((t&192|0)!=128){r=2;s=41;break b}u=t&63|q<<6&1984;if(u>>>0>k>>>0){r=2;s=41;break b}b[e>>1]=u;c[g>>2]=n+2;break}if((p&255)>>>0<240>>>0){if((h-n|0)<3){r=1;s=41;break b}u=a[n+1|0]|0;t=a[n+2|0]|0;if((q|0)==224){if(!((u&-32)<<24>>24==-96)){r=2;s=41;break b}}else if((q|0)==237){if(!((u&-32)<<24>>24==-128)){r=2;s=41;break b}}else{if(!((u&-64)<<24>>24==-128)){r=2;s=41;break b}}v=t&255;if((v&192|0)!=128){r=2;s=41;break b}t=(u&255)<<6&4032|q<<12|v&63;if((t&65535)>>>0>k>>>0){r=2;s=41;break b}b[e>>1]=t;c[g>>2]=n+3;break}if(!((p&255)>>>0<245>>>0)){r=2;s=41;break b}if((h-n|0)<4){r=1;s=41;break b}t=a[n+1|0]|0;v=a[n+2|0]|0;u=a[n+3|0]|0;if((q|0)==244){if(!((t&-16)<<24>>24==-128)){r=2;s=41;break b}}else if((q|0)==240){if(!((t+112&255)>>>0<48>>>0)){r=2;s=41;break b}}else{if(!((t&-64)<<24>>24==-128)){r=2;s=41;break b}}w=v&255;if((w&192|0)!=128){r=2;s=41;break b}v=u&255;if((v&192|0)!=128){r=2;s=41;break b}if((l-e|0)<4){r=1;s=41;break b}u=q&7;x=t&255;t=w<<6;y=v&63;if((x<<12&258048|u<<18|t&4032|y)>>>0>k>>>0){r=2;s=41;break b}b[e>>1]=x<<2&60|w>>>4&3|((x>>>4&3|u<<2)<<6)+16320|55296;u=e+2|0;c[j>>2]=u;b[u>>1]=y|t&960|56320;c[g>>2]=(c[g>>2]|0)+4}}while(0);q=(c[j>>2]|0)+2|0;c[j>>2]=q;p=c[g>>2]|0;if(p>>>0>>0){e=q;n=p}else{o=p;break a}}if((s|0)==41){return r|0}}else{o=m}}while(0);r=o>>>0>>0|0;return r|0}function xH(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=d;return 3}function yH(a){a=a|0;return 0}function zH(a){a=a|0;return 0}function AH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return BH(c,d,e,1114111,0)|0}function BH(b,c,e,f,g){b=b|0;c=c|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;do{if((g&4|0)==0){h=b}else{if((c-b|0)<=2){h=b;break}if(!((a[b]|0)==-17)){h=b;break}if(!((a[b+1|0]|0)==-69)){h=b;break}h=(a[b+2|0]|0)==-65?b+3|0:b}}while(0);a:do{if(h>>>0>>0&(e|0)!=0){g=c;i=0;j=h;b:while(1){k=a[j]|0;l=k&255;if(l>>>0>f>>>0){m=j;break a}do{if(k<<24>>24>-1){n=j+1|0;o=i}else{if((k&255)>>>0<194>>>0){m=j;break a}if((k&255)>>>0<224>>>0){if((g-j|0)<2){m=j;break a}p=d[j+1|0]|0;if((p&192|0)!=128){m=j;break a}if((p&63|l<<6&1984)>>>0>f>>>0){m=j;break a}n=j+2|0;o=i;break}if((k&255)>>>0<240>>>0){q=j;if((g-q|0)<3){m=j;break a}p=a[j+1|0]|0;r=a[j+2|0]|0;if((l|0)==237){if(!((p&-32)<<24>>24==-128)){s=23;break b}}else if((l|0)==224){if(!((p&-32)<<24>>24==-96)){s=21;break b}}else{if(!((p&-64)<<24>>24==-128)){s=25;break b}}t=r&255;if((t&192|0)!=128){m=j;break a}if(((p&255)<<6&4032|l<<12&61440|t&63)>>>0>f>>>0){m=j;break a}n=j+3|0;o=i;break}if(!((k&255)>>>0<245>>>0)){m=j;break a}u=j;if((g-u|0)<4){m=j;break a}if((e-i|0)>>>0<2>>>0){m=j;break a}t=a[j+1|0]|0;p=a[j+2|0]|0;r=a[j+3|0]|0;if((l|0)==244){if(!((t&-16)<<24>>24==-128)){s=36;break b}}else if((l|0)==240){if(!((t+112&255)>>>0<48>>>0)){s=34;break b}}else{if(!((t&-64)<<24>>24==-128)){s=38;break b}}v=p&255;if((v&192|0)!=128){m=j;break a}p=r&255;if((p&192|0)!=128){m=j;break a}if(((t&255)<<12&258048|l<<18&1835008|v<<6&4032|p&63)>>>0>f>>>0){m=j;break a}n=j+4|0;o=i+1|0}}while(0);l=o+1|0;if(n>>>0>>0&l>>>0>>0){i=l;j=n}else{m=n;break a}}if((s|0)==21){w=q-b|0;return w|0}else if((s|0)==23){w=q-b|0;return w|0}else if((s|0)==25){w=q-b|0;return w|0}else if((s|0)==34){w=u-b|0;return w|0}else if((s|0)==36){w=u-b|0;return w|0}else if((s|0)==38){w=u-b|0;return w|0}}else{m=h}}while(0);w=m-b|0;return w|0}function CH(a){a=a|0;return 4}function DH(a){a=a|0;iA(a|0);iK(a);return}function EH(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0;b=i;i=i+16|0;a=b|0;k=b+8|0;c[a>>2]=d;c[k>>2]=g;l=FH(d,e,a,g,h,k,1114111,0)|0;c[f>>2]=d+((c[a>>2]|0)-d>>2<<2);c[j>>2]=g+((c[k>>2]|0)-g);i=b;return l|0}function FH(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0;c[e>>2]=b;c[h>>2]=f;do{if((j&2|0)!=0){if((g-f|0)<3){k=1;return k|0}else{c[h>>2]=f+1;a[f]=-17;b=c[h>>2]|0;c[h>>2]=b+1;a[b]=-69;b=c[h>>2]|0;c[h>>2]=b+1;a[b]=-65;break}}}while(0);f=c[e>>2]|0;if(!(f>>>0>>0)){k=0;return k|0}j=g;g=f;a:while(1){f=c[g>>2]|0;if((f&-2048|0)==55296|f>>>0>i>>>0){k=2;l=19;break}do{if(f>>>0<128>>>0){b=c[h>>2]|0;if((j-b|0)<1){k=1;l=19;break a}c[h>>2]=b+1;a[b]=f}else{if(f>>>0<2048>>>0){b=c[h>>2]|0;if((j-b|0)<2){k=1;l=19;break a}c[h>>2]=b+1;a[b]=f>>>6|192;b=c[h>>2]|0;c[h>>2]=b+1;a[b]=f&63|128;break}b=c[h>>2]|0;m=j-b|0;if(f>>>0<65536>>>0){if((m|0)<3){k=1;l=19;break a}c[h>>2]=b+1;a[b]=f>>>12|224;n=c[h>>2]|0;c[h>>2]=n+1;a[n]=f>>>6&63|128;n=c[h>>2]|0;c[h>>2]=n+1;a[n]=f&63|128;break}else{if((m|0)<4){k=1;l=19;break a}c[h>>2]=b+1;a[b]=f>>>18|240;b=c[h>>2]|0;c[h>>2]=b+1;a[b]=f>>>12&63|128;b=c[h>>2]|0;c[h>>2]=b+1;a[b]=f>>>6&63|128;b=c[h>>2]|0;c[h>>2]=b+1;a[b]=f&63|128;break}}}while(0);f=(c[e>>2]|0)+4|0;c[e>>2]=f;if(f>>>0>>0){g=f}else{k=0;l=19;break}}if((l|0)==19){return k|0}return 0}function GH(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0;b=i;i=i+16|0;a=b|0;k=b+8|0;c[a>>2]=d;c[k>>2]=g;l=HH(d,e,a,g,h,k,1114111,0)|0;c[f>>2]=d+((c[a>>2]|0)-d);c[j>>2]=g+((c[k>>2]|0)-g>>2<<2);i=b;return l|0}function HH(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;c[f>>2]=b;c[i>>2]=g;g=c[f>>2]|0;do{if((k&4|0)==0){l=g}else{if((e-g|0)<=2){l=g;break}if(!((a[g]|0)==-17)){l=g;break}if(!((a[g+1|0]|0)==-69)){l=g;break}if(!((a[g+2|0]|0)==-65)){l=g;break}b=g+3|0;c[f>>2]=b;l=b}}while(0);a:do{if(l>>>0>>0){g=e;k=c[i>>2]|0;b=l;b:while(1){if(!(k>>>0>>0)){m=b;break a}n=a[b]|0;o=n&255;do{if(n<<24>>24>-1){if(o>>>0>j>>>0){p=2;q=40;break b}c[k>>2]=o;c[f>>2]=b+1}else{if((n&255)>>>0<194>>>0){p=2;q=40;break b}if((n&255)>>>0<224>>>0){if((g-b|0)<2){p=1;q=40;break b}r=d[b+1|0]|0;if((r&192|0)!=128){p=2;q=40;break b}s=r&63|o<<6&1984;if(s>>>0>j>>>0){p=2;q=40;break b}c[k>>2]=s;c[f>>2]=b+2;break}if((n&255)>>>0<240>>>0){if((g-b|0)<3){p=1;q=40;break b}s=a[b+1|0]|0;r=a[b+2|0]|0;if((o|0)==237){if(!((s&-32)<<24>>24==-128)){p=2;q=40;break b}}else if((o|0)==224){if(!((s&-32)<<24>>24==-96)){p=2;q=40;break b}}else{if(!((s&-64)<<24>>24==-128)){p=2;q=40;break b}}t=r&255;if((t&192|0)!=128){p=2;q=40;break b}r=(s&255)<<6&4032|o<<12&61440|t&63;if(r>>>0>j>>>0){p=2;q=40;break b}c[k>>2]=r;c[f>>2]=b+3;break}if(!((n&255)>>>0<245>>>0)){p=2;q=40;break b}if((g-b|0)<4){p=1;q=40;break b}r=a[b+1|0]|0;t=a[b+2|0]|0;s=a[b+3|0]|0;if((o|0)==240){if(!((r+112&255)>>>0<48>>>0)){p=2;q=40;break b}}else if((o|0)==244){if(!((r&-16)<<24>>24==-128)){p=2;q=40;break b}}else{if(!((r&-64)<<24>>24==-128)){p=2;q=40;break b}}u=t&255;if((u&192|0)!=128){p=2;q=40;break b}t=s&255;if((t&192|0)!=128){p=2;q=40;break b}s=(r&255)<<12&258048|o<<18&1835008|u<<6&4032|t&63;if(s>>>0>j>>>0){p=2;q=40;break b}c[k>>2]=s;c[f>>2]=b+4}}while(0);o=(c[i>>2]|0)+4|0;c[i>>2]=o;n=c[f>>2]|0;if(n>>>0>>0){k=o;b=n}else{m=n;break a}}if((q|0)==40){return p|0}}else{m=l}}while(0);p=m>>>0>>0|0;return p|0}function IH(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=d;return 3}function JH(a){a=a|0;return 0}function KH(a){a=a|0;return 0}function LH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return MH(c,d,e,1114111,0)|0}function MH(b,c,e,f,g){b=b|0;c=c|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;do{if((g&4|0)==0){h=b}else{if((c-b|0)<=2){h=b;break}if(!((a[b]|0)==-17)){h=b;break}if(!((a[b+1|0]|0)==-69)){h=b;break}h=(a[b+2|0]|0)==-65?b+3|0:b}}while(0);a:do{if(h>>>0>>0&(e|0)!=0){g=c;i=1;j=h;b:while(1){k=a[j]|0;l=k&255;do{if(k<<24>>24>-1){if(l>>>0>f>>>0){m=j;break a}n=j+1|0}else{if((k&255)>>>0<194>>>0){m=j;break a}if((k&255)>>>0<224>>>0){if((g-j|0)<2){m=j;break a}o=d[j+1|0]|0;if((o&192|0)!=128){m=j;break a}if((o&63|l<<6&1984)>>>0>f>>>0){m=j;break a}n=j+2|0;break}if((k&255)>>>0<240>>>0){p=j;if((g-p|0)<3){m=j;break a}o=a[j+1|0]|0;q=a[j+2|0]|0;if((l|0)==224){if(!((o&-32)<<24>>24==-96)){r=21;break b}}else if((l|0)==237){if(!((o&-32)<<24>>24==-128)){r=23;break b}}else{if(!((o&-64)<<24>>24==-128)){r=25;break b}}s=q&255;if((s&192|0)!=128){m=j;break a}if(((o&255)<<6&4032|l<<12&61440|s&63)>>>0>f>>>0){m=j;break a}n=j+3|0;break}if(!((k&255)>>>0<245>>>0)){m=j;break a}t=j;if((g-t|0)<4){m=j;break a}s=a[j+1|0]|0;o=a[j+2|0]|0;q=a[j+3|0]|0;if((l|0)==240){if(!((s+112&255)>>>0<48>>>0)){r=33;break b}}else if((l|0)==244){if(!((s&-16)<<24>>24==-128)){r=35;break b}}else{if(!((s&-64)<<24>>24==-128)){r=37;break b}}u=o&255;if((u&192|0)!=128){m=j;break a}o=q&255;if((o&192|0)!=128){m=j;break a}if(((s&255)<<12&258048|l<<18&1835008|u<<6&4032|o&63)>>>0>f>>>0){m=j;break a}n=j+4|0}}while(0);if(!(n>>>0>>0&i>>>0>>0)){m=n;break a}i=i+1|0;j=n}if((r|0)==21){v=p-b|0;return v|0}else if((r|0)==23){v=p-b|0;return v|0}else if((r|0)==25){v=p-b|0;return v|0}else if((r|0)==33){v=t-b|0;return v|0}else if((r|0)==35){v=t-b|0;return v|0}else if((r|0)==37){v=t-b|0;return v|0}}else{m=h}}while(0);v=m-b|0;return v|0}function NH(a){a=a|0;return 4}function OH(a){a=a|0;iA(a|0);iK(a);return}function PH(a){a=a|0;iA(a|0);iK(a);return}function QH(a){a=a|0;c[a>>2]=26120;MA(a+12|0);iA(a|0);iK(a);return}function RH(a){a=a|0;c[a>>2]=26120;MA(a+12|0);iA(a|0);return}function SH(a){a=a|0;c[a>>2]=26072;MA(a+16|0);iA(a|0);iK(a);return}function TH(a){a=a|0;c[a>>2]=26072;MA(a+16|0);iA(a|0);return}function UH(b){b=b|0;return a[b+8|0]|0}function VH(a){a=a|0;return c[a+8>>2]|0}function WH(b){b=b|0;return a[b+9|0]|0}function XH(a){a=a|0;return c[a+12>>2]|0}function YH(a,b){a=a|0;b=b|0;IA(a,b+12|0);return}function ZH(a,b){a=a|0;b=b|0;IA(a,b+16|0);return}function _H(a,b){a=a|0;b=b|0;JA(a,15288,4);return}function $H(a,b){a=a|0;b=b|0;WA(a,15056,yJ(15056)|0);return}function aI(a,b){a=a|0;b=b|0;JA(a,14864,5);return}function bI(a,b){a=a|0;b=b|0;WA(a,14712,yJ(14712)|0);return}function cI(b){b=b|0;var d=0;if((a[69680]|0)!=0){d=c[13032]|0;return d|0}if((Hb(69680)|0)==0){d=c[13032]|0;return d|0}do{if((a[69568]|0)==0){if((Hb(69568)|0)==0){break}DK(51168,0,168)|0;rb(1144,0,t|0)|0}}while(0);OA(51168,20352)|0;OA(51180,20232)|0;OA(51192,20120)|0;OA(51204,20040)|0;OA(51216,19904)|0;OA(51228,19848)|0;OA(51240,19760)|0;OA(51252,19680)|0;OA(51264,19600)|0;OA(51276,19448)|0;OA(51288,19432)|0;OA(51300,19304)|0;OA(51312,19208)|0;OA(51324,19160)|0;c[13032]=51168;d=c[13032]|0;return d|0}function dI(b){b=b|0;var d=0;if((a[69624]|0)!=0){d=c[13010]|0;return d|0}if((Hb(69624)|0)==0){d=c[13010]|0;return d|0}do{if((a[69544]|0)==0){if((Hb(69544)|0)==0){break}DK(50424,0,168)|0;rb(462,0,t|0)|0}}while(0);ZA(50424,21776)|0;ZA(50436,21696)|0;ZA(50448,21616)|0;ZA(50460,21552)|0;ZA(50472,21416)|0;ZA(50484,21336)|0;ZA(50496,21128)|0;ZA(50508,21048)|0;ZA(50520,20984)|0;ZA(50532,20872)|0;ZA(50544,20840)|0;ZA(50556,20712)|0;ZA(50568,20656)|0;ZA(50580,20552)|0;c[13010]=50424;d=c[13010]|0;return d|0}function eI(b){b=b|0;var d=0;if((a[69672]|0)!=0){d=c[13030]|0;return d|0}if((Hb(69672)|0)==0){d=c[13030]|0;return d|0}do{if((a[69560]|0)==0){if((Hb(69560)|0)==0){break}DK(50880,0,288)|0;rb(792,0,t|0)|0}}while(0);OA(50880,8776)|0;OA(50892,8712)|0;OA(50904,8640)|0;OA(50916,8528)|0;OA(50928,8488)|0;OA(50940,8440)|0;OA(50952,8376)|0;OA(50964,8336)|0;OA(50976,8168)|0;OA(50988,8136)|0;OA(51e3,7992)|0;OA(51012,7896)|0;OA(51024,7736)|0;OA(51036,7600)|0;OA(51048,7536)|0;OA(51060,7472)|0;OA(51072,8488)|0;OA(51084,7344)|0;OA(51096,7272)|0;OA(51108,22456)|0;OA(51120,22384)|0;OA(51132,22192)|0;OA(51144,22072)|0;OA(51156,21976)|0;c[13030]=50880;d=c[13030]|0;return d|0}function fI(b){b=b|0;var d=0;if((a[69616]|0)!=0){d=c[13008]|0;return d|0}if((Hb(69616)|0)==0){d=c[13008]|0;return d|0}do{if((a[69536]|0)==0){if((Hb(69536)|0)==0){break}DK(50136,0,288)|0;rb(526,0,t|0)|0}}while(0);ZA(50136,10856)|0;ZA(50148,10792)|0;ZA(50160,10728)|0;ZA(50172,10640)|0;ZA(50184,9320)|0;ZA(50196,10488)|0;ZA(50208,10288)|0;ZA(50220,10176)|0;ZA(50232,10024)|0;ZA(50244,9952)|0;ZA(50256,9880)|0;ZA(50268,9744)|0;ZA(50280,9656)|0;ZA(50292,9560)|0;ZA(50304,9504)|0;ZA(50316,9432)|0;ZA(50328,9320)|0;ZA(50340,9240)|0;ZA(50352,9120)|0;ZA(50364,9064)|0;ZA(50376,9016)|0;ZA(50388,8952)|0;ZA(50400,8904)|0;ZA(50412,8848)|0;c[13008]=50136;d=c[13008]|0;return d|0}function gI(b){b=b|0;var d=0;if((a[69688]|0)!=0){d=c[13034]|0;return d|0}if((Hb(69688)|0)==0){d=c[13034]|0;return d|0}do{if((a[69576]|0)==0){if((Hb(69576)|0)==0){break}DK(51336,0,288)|0;rb(522,0,t|0)|0}}while(0);OA(51336,11064)|0;OA(51348,10960)|0;c[13034]=51336;d=c[13034]|0;return d|0}function hI(b){b=b|0;var d=0;if((a[69632]|0)!=0){d=c[13012]|0;return d|0}if((Hb(69632)|0)==0){d=c[13012]|0;return d|0}do{if((a[69552]|0)==0){if((Hb(69552)|0)==0){break}DK(50592,0,288)|0;rb(1068,0,t|0)|0}}while(0);ZA(50592,11568)|0;ZA(50604,11392)|0;c[13012]=50592;d=c[13012]|0;return d|0}function iI(b){b=b|0;if((a[69696]|0)!=0){return 52144}if((Hb(69696)|0)==0){return 52144}JA(52144,14328,8);rb(1148,52144,t|0)|0;return 52144}function jI(b){b=b|0;if((a[69640]|0)!=0){return 52056}if((Hb(69640)|0)==0){return 52056}WA(52056,14168,yJ(14168)|0);rb(796,52056,t|0)|0;return 52056}function kI(b){b=b|0;if((a[69720]|0)!=0){return 52192}if((Hb(69720)|0)==0){return 52192}JA(52192,13888,8);rb(1148,52192,t|0)|0;return 52192}function lI(b){b=b|0;if((a[69664]|0)!=0){return 52104}if((Hb(69664)|0)==0){return 52104}WA(52104,13544,yJ(13544)|0);rb(796,52104,t|0)|0;return 52104}function mI(b){b=b|0;if((a[69712]|0)!=0){return 52176}if((Hb(69712)|0)==0){return 52176}JA(52176,13344,20);rb(1148,52176,t|0)|0;return 52176}function nI(b){b=b|0;if((a[69656]|0)!=0){return 52088}if((Hb(69656)|0)==0){return 52088}WA(52088,13040,yJ(13040)|0);rb(796,52088,t|0)|0;return 52088}function oI(b){b=b|0;if((a[69704]|0)!=0){return 52160}if((Hb(69704)|0)==0){return 52160}JA(52160,12976,11);rb(1148,52160,t|0)|0;return 52160}function pI(b){b=b|0;if((a[69648]|0)!=0){return 52072}if((Hb(69648)|0)==0){return 52072}WA(52072,12880,yJ(12880)|0);rb(796,52072,t|0)|0;return 52072}function qI(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0.0,j=0,k=0,l=0.0;f=i;i=i+8|0;g=f|0;if((b|0)==(d|0)){c[e>>2]=4;h=0.0;i=f;return+h}j=nc()|0;k=c[j>>2]|0;c[j>>2]=0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);l=+wK(b,g,c[12914]|0);b=c[j>>2]|0;if((b|0)==0){c[j>>2]=k}if((c[g>>2]|0)!=(d|0)){c[e>>2]=4;h=0.0;i=f;return+h}if((b|0)!=34){h=l;i=f;return+h}c[e>>2]=4;h=l;i=f;return+h}function rI(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0.0,j=0,k=0,l=0.0;f=i;i=i+8|0;g=f|0;if((b|0)==(d|0)){c[e>>2]=4;h=0.0;i=f;return+h}j=nc()|0;k=c[j>>2]|0;c[j>>2]=0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);l=+wK(b,g,c[12914]|0);b=c[j>>2]|0;if((b|0)==0){c[j>>2]=k}if((c[g>>2]|0)!=(d|0)){c[e>>2]=4;h=0.0;i=f;return+h}if((b|0)!=34){h=l;i=f;return+h}c[e>>2]=4;h=l;i=f;return+h}function sI(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0.0,j=0,k=0,l=0.0;f=i;i=i+8|0;g=f|0;if((b|0)==(d|0)){c[e>>2]=4;h=0.0;i=f;return+h}j=nc()|0;k=c[j>>2]|0;c[j>>2]=0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);l=+wK(b,g,c[12914]|0);b=c[j>>2]|0;if((b|0)==0){c[j>>2]=k}if((c[g>>2]|0)!=(d|0)){c[e>>2]=4;h=0.0;i=f;return+h}if((b|0)==34){c[e>>2]=4}h=l;i=f;return+h}function tI(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;g=i;i=i+8|0;h=g|0;do{if((b|0)==(d|0)){c[e>>2]=4;j=0;k=0}else{if((a[b]|0)==45){c[e>>2]=4;j=0;k=0;break}l=nc()|0;m=c[l>>2]|0;c[l>>2]=0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);n=Zb(b|0,h|0,f|0,c[12914]|0)|0;o=c[l>>2]|0;if((o|0)==0){c[l>>2]=m}if((c[h>>2]|0)!=(d|0)){c[e>>2]=4;j=0;k=0;break}if((o|0)!=34){j=M;k=n;break}c[e>>2]=4;j=-1;k=-1}}while(0);i=g;return(M=j,k)|0}function uI(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;g=i;i=i+8|0;h=g|0;if((b|0)==(d|0)){c[e>>2]=4;j=0;i=g;return j|0}if((a[b]|0)==45){c[e>>2]=4;j=0;i=g;return j|0}k=nc()|0;l=c[k>>2]|0;c[k>>2]=0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);m=Zb(b|0,h|0,f|0,c[12914]|0)|0;f=M;b=c[k>>2]|0;if((b|0)==0){c[k>>2]=l}if((c[h>>2]|0)!=(d|0)){c[e>>2]=4;j=0;i=g;return j|0}d=0;if((b|0)==34|(f>>>0>d>>>0|f>>>0==d>>>0&m>>>0>-1>>>0)){c[e>>2]=4;j=-1;i=g;return j|0}else{j=m;i=g;return j|0}return 0}function vI(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;g=i;i=i+8|0;h=g|0;if((b|0)==(d|0)){c[e>>2]=4;j=0;i=g;return j|0}if((a[b]|0)==45){c[e>>2]=4;j=0;i=g;return j|0}k=nc()|0;l=c[k>>2]|0;c[k>>2]=0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);m=Zb(b|0,h|0,f|0,c[12914]|0)|0;f=M;b=c[k>>2]|0;if((b|0)==0){c[k>>2]=l}if((c[h>>2]|0)!=(d|0)){c[e>>2]=4;j=0;i=g;return j|0}d=0;if((b|0)==34|(f>>>0>d>>>0|f>>>0==d>>>0&m>>>0>-1>>>0)){c[e>>2]=4;j=-1;i=g;return j|0}else{j=m;i=g;return j|0}return 0}function wI(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;g=i;i=i+8|0;h=g|0;if((b|0)==(d|0)){c[e>>2]=4;j=0;i=g;return j|0}if((a[b]|0)==45){c[e>>2]=4;j=0;i=g;return j|0}k=nc()|0;l=c[k>>2]|0;c[k>>2]=0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);m=Zb(b|0,h|0,f|0,c[12914]|0)|0;f=M;b=c[k>>2]|0;if((b|0)==0){c[k>>2]=l}if((c[h>>2]|0)!=(d|0)){c[e>>2]=4;j=0;i=g;return j|0}d=0;if((b|0)==34|(f>>>0>d>>>0|f>>>0==d>>>0&m>>>0>65535>>>0)){c[e>>2]=4;j=-1;i=g;return j|0}else{j=m&65535;i=g;return j|0}return 0}function xI(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;g=i;i=i+8|0;h=g|0;if((b|0)==(d|0)){c[e>>2]=4;j=0;k=0;i=g;return(M=j,k)|0}l=nc()|0;m=c[l>>2]|0;c[l>>2]=0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);n=bc(b|0,h|0,f|0,c[12914]|0)|0;f=M;b=c[l>>2]|0;if((b|0)==0){c[l>>2]=m}if((c[h>>2]|0)!=(d|0)){c[e>>2]=4;j=0;k=0;i=g;return(M=j,k)|0}if((b|0)==34){c[e>>2]=4;e=0;b=(f|0)>(e|0)|(f|0)==(e|0)&n>>>0>0>>>0;i=g;return(M=b?2147483647:-2147483648,b?-1:0)|0}else{j=f;k=n;i=g;return(M=j,k)|0}return 0}
-
-
-
-function Em(a){a=a|0;ep(a|0);return}function Fm(b,d){b=b|0;d=d|0;if((b|0)==(d|0)){return b|0}a[b+132|0]=a[d+132|0]|0;c[b+16>>2]=0;c[b+156>>2]=0;return b|0}function Gm(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=i;i=i+32|0;f=e|0;g=e+16|0;a:do{if((b|0)!=0){h=b;do{if((VJ(h,47328,46344,-1)|0)==0){if((VJ(h,47328,46024,-1)|0)!=0){j=gK(176)|0;_o(j,b|0);a[j+84|0]=a[b+84|0]|0;c[j+88>>2]=c[b+88>>2];c[j+92>>2]=c[b+92>>2];c[j+96>>2]=c[b+96>>2];c[j+100>>2]=c[b+100>>2];c[j+104>>2]=c[b+104>>2];c[j+108>>2]=c[b+108>>2];c[j+112>>2]=c[b+112>>2];c[j+116>>2]=c[b+116>>2];c[j+120>>2]=c[b+120>>2];c[j+124>>2]=c[b+124>>2];c[j+128>>2]=c[b+128>>2];a[j+132|0]=a[b+132|0]|0;k=b+136|0;l=j+136|0;m=c[k+4>>2]|0;c[l>>2]=c[k>>2];c[l+4>>2]=m;m=b+144|0;l=j+144|0;k=c[m+4>>2]|0;c[l>>2]=c[m>>2];c[l+4>>2]=k;a[j+152|0]=a[b+152|0]|0;c[j+156>>2]=c[b+156>>2];a[j+160|0]=a[b+160|0]|0;c[j+168>>2]=c[b+168>>2];c[j>>2]=30816;c[j+164>>2]=30988;a[j+172|0]=a[b+172|0]|0;a[j+173|0]=a[b+173|0]|0;n=j;break}if((VJ(h,47328,46528,-1)|0)!=0){j=gK(192)|0;_o(j,b|0);a[j+84|0]=a[b+84|0]|0;c[j+88>>2]=c[b+88>>2];c[j+92>>2]=c[b+92>>2];c[j+96>>2]=c[b+96>>2];c[j+100>>2]=c[b+100>>2];c[j+104>>2]=c[b+104>>2];c[j+108>>2]=c[b+108>>2];c[j+112>>2]=c[b+112>>2];c[j+116>>2]=c[b+116>>2];c[j+120>>2]=c[b+120>>2];c[j+124>>2]=c[b+124>>2];c[j+128>>2]=c[b+128>>2];a[j+132|0]=a[b+132|0]|0;k=b+136|0;l=j+136|0;m=c[k+4>>2]|0;c[l>>2]=c[k>>2];c[l+4>>2]=m;m=b+144|0;l=j+144|0;k=c[m+4>>2]|0;c[l>>2]=c[m>>2];c[l+4>>2]=k;a[j+152|0]=a[b+152|0]|0;c[j+156>>2]=c[b+156>>2];a[j+160|0]=a[b+160|0]|0;c[j+168>>2]=c[b+168>>2];a[j+176|0]=a[b+176|0]|0;c[j+184>>2]=c[b+184>>2];c[j+188>>2]=c[b+188>>2];c[j>>2]=34304;c[j+164>>2]=34476;c[j+172>>2]=34492;c[j+180>>2]=34508;n=j;break}if((VJ(h,47328,46192,-1)|0)!=0){j=gK(176)|0;_o(j,b|0);a[j+84|0]=a[b+84|0]|0;c[j+88>>2]=c[b+88>>2];c[j+92>>2]=c[b+92>>2];c[j+96>>2]=c[b+96>>2];c[j+100>>2]=c[b+100>>2];c[j+104>>2]=c[b+104>>2];c[j+108>>2]=c[b+108>>2];c[j+112>>2]=c[b+112>>2];c[j+116>>2]=c[b+116>>2];c[j+120>>2]=c[b+120>>2];c[j+124>>2]=c[b+124>>2];c[j+128>>2]=c[b+128>>2];a[j+132|0]=a[b+132|0]|0;k=b+136|0;l=j+136|0;m=c[k+4>>2]|0;c[l>>2]=c[k>>2];c[l+4>>2]=m;m=b+144|0;l=j+144|0;k=c[m+4>>2]|0;c[l>>2]=c[m>>2];c[l+4>>2]=k;a[j+152|0]=a[b+152|0]|0;c[j+156>>2]=c[b+156>>2];a[j+160|0]=a[b+160|0]|0;c[j+168>>2]=c[b+168>>2];a[j+172|0]=a[b+172|0]|0;c[j>>2]=32008;c[j+164>>2]=32180;n=j;break}if((VJ(h,47328,46656,-1)|0)!=0){j=gK(176)|0;_o(j,b|0);a[j+84|0]=a[b+84|0]|0;c[j+88>>2]=c[b+88>>2];c[j+92>>2]=c[b+92>>2];c[j+96>>2]=c[b+96>>2];c[j+100>>2]=c[b+100>>2];c[j+104>>2]=c[b+104>>2];c[j+108>>2]=c[b+108>>2];c[j+112>>2]=c[b+112>>2];c[j+116>>2]=c[b+116>>2];c[j+120>>2]=c[b+120>>2];c[j+124>>2]=c[b+124>>2];c[j+128>>2]=c[b+128>>2];a[j+132|0]=a[b+132|0]|0;k=b+136|0;l=j+136|0;m=c[k+4>>2]|0;c[l>>2]=c[k>>2];c[l+4>>2]=m;m=b+144|0;l=j+144|0;k=c[m+4>>2]|0;c[l>>2]=c[m>>2];c[l+4>>2]=k;a[j+152|0]=a[b+152|0]|0;c[j+156>>2]=c[b+156>>2];a[j+160|0]=a[b+160|0]|0;c[j+168>>2]=c[b+168>>2];a[j+172|0]=a[b+172|0]|0;c[j>>2]=35112;c[j+164>>2]=35284;n=j;break}if((VJ(h,47328,46120,-1)|0)!=0){j=gK(216)|0;Ym(j,b);n=j;break}if((VJ(h,47328,46464,-1)|0)!=0){j=gK(312)|0;Wm(j,b);n=j;break}if((VJ(h,47328,46408,-1)|0)==0){break a}j=gK(228)|0;_o(j,b|0);a[j+84|0]=a[b+84|0]|0;c[j+88>>2]=c[b+88>>2];c[j+92>>2]=c[b+92>>2];c[j+96>>2]=c[b+96>>2];c[j+100>>2]=c[b+100>>2];c[j+104>>2]=c[b+104>>2];c[j+108>>2]=c[b+108>>2];c[j+112>>2]=c[b+112>>2];c[j+116>>2]=c[b+116>>2];c[j+120>>2]=c[b+120>>2];c[j+124>>2]=c[b+124>>2];c[j+128>>2]=c[b+128>>2];a[j+132|0]=a[b+132|0]|0;k=b+136|0;l=j+136|0;m=c[k+4>>2]|0;c[l>>2]=c[k>>2];c[l+4>>2]=m;m=b+144|0;l=j+144|0;k=c[m+4>>2]|0;c[l>>2]=c[m>>2];c[l+4>>2]=k;a[j+152|0]=a[b+152|0]|0;c[j+156>>2]=c[b+156>>2];a[j+160|0]=a[b+160|0]|0;a[j+168|0]=a[b+168|0]|0;c[j+176>>2]=c[b+176>>2];c[j+184>>2]=c[b+184>>2];c[j+192>>2]=c[b+192>>2];c[j+200>>2]=c[b+200>>2];c[j+204>>2]=c[b+204>>2];c[j+212>>2]=c[b+212>>2];c[j+220>>2]=c[b+220>>2];a[j+224|0]=a[b+224|0]|0;c[j>>2]=33432;c[j+164>>2]=33604;c[j+172>>2]=33632;c[j+180>>2]=33648;c[j+188>>2]=33664;c[j+196>>2]=33680;c[j+208>>2]=33696;c[j+216>>2]=33712;n=j}else{j=gK(184)|0;_o(j,b|0);a[j+84|0]=a[b+84|0]|0;c[j+88>>2]=c[b+88>>2];c[j+92>>2]=c[b+92>>2];c[j+96>>2]=c[b+96>>2];c[j+100>>2]=c[b+100>>2];c[j+104>>2]=c[b+104>>2];c[j+108>>2]=c[b+108>>2];c[j+112>>2]=c[b+112>>2];c[j+116>>2]=c[b+116>>2];c[j+120>>2]=c[b+120>>2];c[j+124>>2]=c[b+124>>2];c[j+128>>2]=c[b+128>>2];a[j+132|0]=a[b+132|0]|0;k=b+136|0;l=j+136|0;m=c[k+4>>2]|0;c[l>>2]=c[k>>2];c[l+4>>2]=m;m=b+144|0;l=j+144|0;k=c[m+4>>2]|0;c[l>>2]=c[m>>2];c[l+4>>2]=k;a[j+152|0]=a[b+152|0]|0;c[j+156>>2]=c[b+156>>2];a[j+160|0]=a[b+160|0]|0;c[j+168>>2]=c[b+168>>2];a[j+172|0]=a[b+172|0]|0;c[j+180>>2]=c[b+180>>2];c[j>>2]=32976;c[j+164>>2]=33148;c[j+176>>2]=33168;n=j}}while(0);h=n;j=n;c[n+16>>2]=0;if(d){tp(j);i=e;return h|0}k=b+32|0;if((a[k]&1)==0){l=g;c[l>>2]=c[k>>2];c[l+4>>2]=c[k+4>>2];c[l+8>>2]=c[k+8>>2]}else{k=c[b+40>>2]|0;l=c[b+36>>2]|0;if(l>>>0>4294967279>>>0){GA(0);return 0}if(l>>>0<11>>>0){a[g]=l<<1;o=g+1|0}else{m=l+16&-16;p=gK(m)|0;c[g+8>>2]=p;c[g>>2]=m|1;c[g+4>>2]=l;o=p}BK(o|0,k|0,l)|0;a[o+l|0]=0}gp(j,g);if((a[g]&1)==0){i=e;return h|0}iK(c[g+8>>2]|0);i=e;return h|0}}while(0);bd[c[(c[b>>2]|0)+20>>2]&255](f,b|0);b=f;if((a[b]&1)==0){q=f+1|0}else{q=c[f+8>>2]|0}$d(21072,(e=i,i=i+8|0,c[e>>2]=q,e)|0);i=e;if((a[b]&1)==0){yc(16832,14216,122,24784);return 0}iK(c[f+8>>2]|0);yc(16832,14216,122,24784);return 0}function Hm(a){a=a|0;var b=0;if((a|0)==0){b=0;return b|0}b=(VJ(a,47328,46528,-1)|0)!=0;return b|0}function Im(a){a=a|0;var b=0;if((a|0)==0){b=0;return b|0}b=(VJ(a,47328,46464,-1)|0)!=0;return b|0}function Jm(a){a=a|0;return 10}function Km(a){a=a|0;c[a+92>>2]=0;return}function Lm(a,b,d){a=a|0;b=b|0;d=d|0;if((a|0)==0){return}d=a;if((VJ(d,47328,46880,-1)|0)==0){return}c[(VJ(d,47328,46880,-1)|0)+20>>2]=b;return}function Mm(a){a=a|0;var b=0;if((a|0)==0){b=0;return b|0}b=(VJ(a,47328,46880,-1)|0)!=0;return b|0}function Nm(a){a=a|0;var b=0;if((a|0)==0){b=0;return b|0}b=(VJ(a,47328,46576,-1)|0)!=0;return b|0}function Om(a){a=a|0;var b=0;if((a|0)==0){b=0;return b|0}b=(VJ(a,47328,46288,-1)|0)!=0;return b|0}function Pm(a){a=a|0;var b=0;if((a|0)==0){b=0;return b|0}b=(VJ(a,47328,46608,-1)|0)!=0;return b|0}function Qm(a){a=a|0;var b=0;if((a|0)==0){b=0;return b|0}b=(VJ(a,47328,46056,-1)|0)!=0;return b|0}function Rm(a,b){a=a|0;b=b|0;var d=0;d=c[c[b>>2]>>2]|0;b=qd[c[(c[d>>2]|0)+44>>2]&255](d,a)|0;return(b?0:2)|0}function Sm(b){b=b|0;var d=0.0,e=0,f=0,g=0,h=0;if((b|0)==0){d=0.0;return+d}e=b;f=VJ(e,47328,46464,-1)|0;do{if((f|0)!=0){if((a[f+132|0]|0)==0){break}else{d=0.0}return+d}}while(0);if((VJ(e,47328,46880,-1)|0)==0){d=0.0;return+d}f=wp(b|0,46056,3)|0;do{if((f|0)==0){g=1;h=1}else{b=VJ(f,46112,46056,-1)|0;if((b|0)==0){g=1;h=1;break}g=c[b+188>>2]|0;h=c[b+184>>2]|0}}while(0);f=VJ(e,47328,46880,-1)|0;d=+rd[c[(c[f>>2]|0)+16>>2]&3](f,h,g);return+d}function Tm(a){a=a|0;var b=0,d=0;b=c[a+156>>2]|0;if((b|0)==0){d=0;return d|0}d=c[b+84>>2]|0;return d|0}function Um(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0.0;e=c[d>>2]|0;d=c[e>>2]|0;f=c[e+4>>2]|0;ad[c[(c[b>>2]|0)+24>>2]&2047](b);do{if((b|0)==0){g=0}else{e=b;if((VJ(e,47328,46024,-1)|0)!=0){g=11;break}if((VJ(e,47328,46528,-1)|0)!=0){g=(a[b+160|0]|0)!=0?1:5;break}if((VJ(e,47328,46176,-1)|0)!=0){g=(a[b+160|0]|0)!=0?2:6;break}if((VJ(e,47328,46120,-1)|0)!=0){g=(a[b+160|0]|0)!=0?3:7;break}if((VJ(e,47328,45848,-1)|0)!=0){g=(a[b+160|0]|0)!=0?4:8;break}if((VJ(e,47328,45616,-1)|0)!=0){g=12;break}if((VJ(e,47328,46288,-1)|0)!=0){g=12;break}i=VJ(e,47328,46464,-1)|0;if((i|0)!=0){if((a[i+132|0]|0)!=0){g=9;break}}if((VJ(e,47328,46576,-1)|0)==0){if((VJ(e,47328,46056,-1)|0)==0){g=0;break}}g=10}}while(0);j=+ld[c[(c[b>>2]|0)+160>>2]&3](b);gf(c[d>>2]|0,j+ +h[f>>3]);c[b+156>>2]=ff(c[d>>2]|0,+h[f>>3],g)|0;h[f>>3]=j+ +h[f>>3];return 0}function Vm(b,c){b=b|0;c=c|0;a[b]=8;c=b;b=c+1|0;E=1953719634;a[b]=E;E=E>>8;a[b+1|0]=E;E=E>>8;a[b+2|0]=E;E=E>>8;a[b+3|0]=E;a[c+5|0]=0;return}function Wm(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;_o(b|0,d|0);e=b|0;a[b+84|0]=a[d+84|0]|0;c[b+88>>2]=c[d+88>>2];c[b+92>>2]=c[d+92>>2];c[b+96>>2]=c[d+96>>2];c[b+100>>2]=c[d+100>>2];c[b+104>>2]=c[d+104>>2];c[b+108>>2]=c[d+108>>2];c[b+112>>2]=c[d+112>>2];c[b+116>>2]=c[d+116>>2];c[b+120>>2]=c[d+120>>2];c[b+124>>2]=c[d+124>>2];c[e>>2]=37392;c[b+128>>2]=c[d+128>>2];a[b+132|0]=a[d+132|0]|0;f=d+136|0;g=b+136|0;h=c[f+4>>2]|0;c[g>>2]=c[f>>2];c[g+4>>2]=h;h=d+144|0;g=b+144|0;f=c[h+4>>2]|0;c[g>>2]=c[h>>2];c[g+4>>2]=f;a[b+152|0]=a[d+152|0]|0;c[b+156>>2]=c[d+156>>2];a[b+160|0]=a[d+160|0]|0;a[b+168|0]=a[d+168|0]|0;c[b+176>>2]=c[d+176>>2];c[b+184>>2]=c[d+184>>2];c[b+192>>2]=c[d+192>>2];c[b+200>>2]=c[d+200>>2];c[b+204>>2]=c[d+204>>2];c[b+212>>2]=c[d+212>>2];c[b+220>>2]=c[d+220>>2];a[b+228|0]=a[d+228|0]|0;c[b+236>>2]=c[d+236>>2];c[b+244>>2]=c[d+244>>2];c[b+252>>2]=c[d+252>>2];c[b+260>>2]=c[d+260>>2];c[b+264>>2]=c[d+264>>2];c[b+268>>2]=c[d+268>>2];c[b+272>>2]=c[d+272>>2];c[b+276>>2]=c[d+276>>2];c[e>>2]=33912;c[b+164>>2]=34084;c[b+172>>2]=34112;c[b+180>>2]=34128;c[b+188>>2]=34144;c[b+196>>2]=34160;c[b+208>>2]=34176;c[b+216>>2]=34192;c[b+224>>2]=34212;c[b+232>>2]=34228;c[b+240>>2]=34244;c[b+248>>2]=34260;c[b+256>>2]=34276;c[b+280>>2]=c[d+280>>2];c[b+284>>2]=c[d+284>>2];c[b+288>>2]=c[d+288>>2];c[b+292>>2]=c[d+292>>2];a[b+296|0]=a[d+296|0]|0;c[b+300>>2]=c[d+300>>2];c[b+304>>2]=c[d+304>>2];c[b+308>>2]=c[d+308>>2];return}function Xm(b,c){b=b|0;c=c|0;a[b]=8;c=b;b=c+1|0;E=1702129486;a[b]=E;E=E>>8;a[b+1|0]=E;E=E>>8;a[b+2|0]=E;E=E>>8;a[b+3|0]=E;a[c+5|0]=0;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,s=0,t=0,u=0;_o(b|0,d|0);e=b|0;a[b+84|0]=a[d+84|0]|0;c[b+88>>2]=c[d+88>>2];c[b+92>>2]=c[d+92>>2];c[b+96>>2]=c[d+96>>2];c[b+100>>2]=c[d+100>>2];c[b+104>>2]=c[d+104>>2];c[b+108>>2]=c[d+108>>2];c[b+112>>2]=c[d+112>>2];c[b+116>>2]=c[d+116>>2];c[b+120>>2]=c[d+120>>2];c[b+124>>2]=c[d+124>>2];c[e>>2]=37392;c[b+128>>2]=c[d+128>>2];a[b+132|0]=a[d+132|0]|0;f=d+136|0;g=b+136|0;h=c[f+4>>2]|0;c[g>>2]=c[f>>2];c[g+4>>2]=h;h=d+144|0;g=b+144|0;f=c[h+4>>2]|0;c[g>>2]=c[h>>2];c[g+4>>2]=f;a[b+152|0]=a[d+152|0]|0;c[b+156>>2]=c[d+156>>2];a[b+160|0]=a[d+160|0]|0;c[b+164>>2]=36280;c[b+168>>2]=c[d+168>>2];c[b+172>>2]=c[d+172>>2];c[b+176>>2]=37600;c[b+180>>2]=c[d+180>>2];c[b+184>>2]=c[d+184>>2];c[b+188>>2]=37576;f=b+192|0;g=d+192|0;if((a[g]&1)==0){h=f;c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];i=b+204|0;j=d+204|0;k=c[j>>2]|0;c[i>>2]=k;l=b+208|0;m=b+212|0;n=d+212|0;o=a[n]|0;a[m]=o;c[e>>2]=31576;p=b+164|0;c[p>>2]=31748;q=b+176|0;c[q>>2]=31764;r=b+188|0;c[r>>2]=31780;c[l>>2]=31796;return}g=c[d+200>>2]|0;h=c[d+196>>2]|0;if(h>>>0>4294967279>>>0){GA(0)}if(h>>>0<11>>>0){a[f]=h<<1;s=f+1|0}else{t=h+16&-16;u=gK(t)|0;c[b+200>>2]=u;c[f>>2]=t|1;c[b+196>>2]=h;s=u}BK(s|0,g|0,h)|0;a[s+h|0]=0;i=b+204|0;j=d+204|0;k=c[j>>2]|0;c[i>>2]=k;l=b+208|0;m=b+212|0;n=d+212|0;o=a[n]|0;a[m]=o;c[e>>2]=31576;p=b+164|0;c[p>>2]=31748;q=b+176|0;c[q>>2]=31764;r=b+188|0;c[r>>2]=31780;c[l>>2]=31796;return}function Zm(a){a=a|0;var b=0;b=gK(216)|0;Ym(b,a);return b|0}function _m(b,c){b=b|0;c=c|0;a[b]=12;c=b;b=c+1|0;a[b]=a[8824]|0;a[b+1|0]=a[8825]|0;a[b+2|0]=a[8826]|0;a[b+3|0]=a[8827]|0;a[b+4|0]=a[8828]|0;a[b+5|0]=a[8829]|0;a[c+7|0]=0;return}function $m(){h[8290]=0.0;h[8291]=-2.0;h[8292]=605.0;h[8293]=242.0;DK(66352|0,0|0,16|0)|0;h[8296]=427.7;h[8297]=516.0;DK(66384|0,0|0,16|0)|0;h[8300]=296.0;h[8301]=496.0;h[8302]=0.0;h[8303]=-15.0;h[8304]=402.0;h[8305]=513.0;DK(66448|0,0|0,16|0)|0;h[8308]=383.0;h[8309]=515.0;DK(66480|0,0|0,16|0)|0;h[8312]=387.0;h[8313]=494.0;DK(66512|0,0|0,16|0)|0;h[8316]=357.7;h[8317]=494.0;h[8318]=-1.3;h[8319]=0.0;h[8320]=395.3;h[8321]=516.0;DK(66576|0,0|0,16|0)|0;h[8324]=404.0;h[8325]=511.0;DK(66608|0,0|0,16|0)|0;h[8328]=386.0;h[8329]=515.0;DK(66640|0,0|0,16|0)|0;h[8332]=397.0;h[8333]=513.0;h[8334]=-376.0;h[8335]=-57.0;h[8336]=753.0;h[8337]=405.0;h[8338]=-376.0;h[8339]=-348.0;h[8340]=753.0;h[8341]=405.0;h[8342]=-216.0;h[8343]=-161.0;h[8344]=432.0;h[8345]=364.0;h[8346]=-2.0;h[8347]=-69.0;h[8348]=360.0;h[8349]=633.0;h[8350]=1.0;h[8351]=-69.0;h[8352]=425.0;h[8353]=649.0;h[8354]=0.0;h[8355]=-133.0;h[8356]=405.0;h[8357]=266.0;h[8358]=0.0;h[8359]=-133.0;h[8360]=405.0;h[8361]=266.0;h[8362]=-15.0;h[8363]=-135.0;h[8364]=314.0;h[8365]=270.0;h[8366]=-15.0;h[8367]=-135.0;h[8368]=314.0;h[8369]=270.0;h[8370]=0.0;h[8371]=-597.0;h[8372]=276.0;h[8373]=577.0;h[8374]=164.0;h[8375]=20.0;h[8376]=276.0;h[8377]=577.0;h[8378]=0.0;h[8379]=-655.0;h[8380]=679.0;h[8381]=1809.0;h[8382]=4.0;h[8383]=-566.0;h[8384]=694.0;h[8385]=832.0;h[8386]=0.0;h[8387]=-536.0;h[8388]=659.0;h[8389]=1082.0;h[8390]=0.0;h[8391]=-844.0;h[8392]=679.0;h[8393]=1998.0;h[8394]=0.0;h[8395]=-364.0;h[8396]=197.0;h[8397]=746.0;h[8398]=20.0;h[8399]=-377.0;h[8400]=157.0;h[8401]=754.0;h[8402]=22.0;h[8403]=-184.0;h[8404]=198.0;h[8405]=678.0;h[8406]=-20.0;h[8407]=-114.0;h[8408]=271.0;h[8409]=228.0;h[8410]=0.0;h[8411]=-146.0;h[8412]=324.0;h[8413]=808.0;DK(67312|0,0|0,16|0)|0;h[8416]=290.0;h[8417]=455.0;h[8418]=0.0;h[8419]=-249.0;h[8420]=341.0;h[8421]=702.0;h[8422]=1.0;h[8423]=-248.0;h[8424]=419.0;h[8425]=946.0;h[8426]=0.0;h[8427]=-248.0;h[8428]=503.0;h[8429]=1191.0;h[8430]=-1.0;h[8431]=-510.0;h[8432]=602.0;h[8433]=1485.0;h[8434]=0.0;h[8435]=-211.0;h[8436]=359.0;h[8437]=445.0;h[8438]=0.0;h[8439]=-211.0;h[8440]=359.0;h[8441]=445.0;h[8442]=-34.0;h[8443]=-211.0;h[8444]=358.0;h[8445]=445.0;h[8446]=-34.0;h[8447]=-211.0;h[8448]=358.0;h[8449]=445.0;h[8450]=0.0;h[8451]=-237.0;h[8452]=162.0;h[8453]=237.0;h[8454]=2.0;h[8455]=6.0;h[8456]=162.0;h[8457]=237.0;h[8458]=145.3;h[8459]=-180.7;h[8460]=461.7;h[8461]=936.3;h[8462]=109.0;h[8463]=-753.0;h[8464]=286.0;h[8465]=1108.0;h[8466]=154.0;h[8467]=-602.0;h[8468]=349.0;h[8469]=1197.0;h[8470]=13.0;h[8471]=-273.0;h[8472]=619.0;h[8473]=1031.0;h[8474]=0.0;h[8475]=-130.0;h[8476]=240.0;h[8477]=260.0;h[8478]=30.0;h[8479]=-334.0;h[8480]=134.0;h[8481]=713.0;h[8482]=30.0;h[8483]=-112.0;h[8484]=177.0;h[8485]=641.0;h[8486]=0.0;h[8487]=-114.0;h[8488]=271.0;h[8489]=228.0;h[8490]=80.0;h[8491]=0.0;h[8492]=170.0;h[8493]=170.0;h[8494]=80.0;h[8495]=0.0;h[8496]=170.0;h[8497]=170.0;h[8498]=80.0;h[8499]=0.0;h[8500]=162.0;h[8501]=262.0;h[8502]=80.0;h[8503]=0.0;h[8504]=162.0;h[8505]=362.0;h[8506]=80.0;h[8507]=0.0;h[8508]=162.0;h[8509]=461.0;h[8510]=80.0;h[8511]=0.0;h[8512]=162.0;h[8513]=558.0;h[8514]=1.0;h[8515]=-61.0;h[8516]=336.0;h[8517]=634.0;DK(68144|0,0|0,16|0)|0;h[8520]=427.0;h[8521]=516.0;h[8522]=0.0;h[8523]=-171.0;h[8524]=274.0;h[8525]=326.0;h[8526]=0.0;h[8527]=-156.0;h[8528]=207.0;h[8529]=311.0;h[8530]=0.0;h[8531]=-171.0;h[8532]=214.0;h[8533]=326.0;h[8534]=0.0;h[8535]=-171.0;h[8536]=243.0;h[8537]=326.0;h[8538]=0.0;h[8539]=-171.0;h[8540]=260.0;h[8541]=326.0;h[8542]=0.0;h[8543]=-156.0;h[8544]=259.0;h[8545]=311.0;h[8546]=0.0;h[8547]=-171.0;h[8548]=240.0;h[8549]=326.0;h[8550]=0.0;h[8551]=-171.0;h[8552]=255.0;h[8553]=326.0;h[8554]=0.0;h[8555]=-156.0;h[8556]=243.0;h[8557]=311.0;h[8558]=0.0;h[8559]=-172.0;h[8560]=225.0;h[8561]=327.0;a[68496]=1;return}function an(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var i=0;if((a[68496]|0)==0){$m()}switch(b&255|0){case 210:{i=25;break};case 227:{i=42;break};case 228:{i=43;break};case 35:{i=0;break};case 116:{i=13;break};case 48:{i=1;break};case 249:{i=56;break};case 183:{i=15;break};case 140:{i=57;break};case 211:{i=26;break};case 57:{i=10;break};case 130:{i=61;break};case 201:{i=16;break};case 202:{i=17;break};case 203:{i=18;break};case 204:{i=19;break};case 221:{i=36;break};case 136:{i=60;break};case 137:{i=66;break};case 138:{i=58;break};case 232:{i=47;break};case 233:{i=48;break};case 234:{i=49;break};case 215:{i=30;break};case 216:{i=31;break};case 212:{i=27;break};case 213:{i=28;break};case 214:{i=29;break};case 231:{i=46;break};case 56:{i=9;break};case 207:{i=22;break};case 208:{i=23;break};case 209:{i=24;break};case 55:{i=8;break};case 53:{i=6;break};case 51:{i=4;break};case 50:{i=3;break};case 222:{i=37;break};case 223:{i=38;break};case 224:{i=39;break};case 205:{i=20;break};case 206:{i=21;break};case 225:{i=40;break};case 226:{i=41;break};case 236:{i=51;break};case 237:{i=52;break};case 238:{i=53;break};case 239:{i=54;break};case 240:{i=55;break};case 54:{i=7;break};case 131:{i=59;break};case 132:{i=62;break};case 229:{i=44;break};case 230:{i=42;break};case 127:{i=14;break};case 52:{i=5;break};case 133:{i=65;break};case 134:{i=63;break};case 135:{i=64;break};case 217:{i=32;break};case 218:{i=33;break};case 219:{i=34;break};case 220:{i=35;break};case 235:{i=50;break};case 49:{i=2;break};case 139:{i=67;break};case 63:{i=11;break};case 64:{i=12;break};default:{i=29}}c[f>>2]=~~+h[66336+(i<<5)>>3];c[g>>2]=~~+h[66344+(i<<5)>>3];c[d>>2]=~~+h[66320+(i<<5)>>3];c[e>>2]=~~+h[66328+(i<<5)>>3];return}function bn(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+16|0;e=d|0;f=b|0;g=e;a[g]=14;h=e+1|0;a[h]=a[18376]|0;a[h+1|0]=a[18377]|0;a[h+2|0]=a[18378]|0;a[h+3|0]=a[18379]|0;a[h+4|0]=a[18380]|0;a[h+5|0]=a[18381]|0;a[h+6|0]=a[18382]|0;h=e+8|0;a[h]=0;Bm(f,e);if(!((a[g]&1)==0)){iK(c[h>>2]|0)}h=b+164|0;Qx(h);g=b+176|0;my(g);e=b+188|0;Kw(e);j=b+208|0;Vy(j);c[b>>2]=31576;c[b+164>>2]=31748;c[b+176>>2]=31764;c[b+188>>2]=31780;c[b+208>>2]=31796;Cm(f);Rx(h);ny(g);Lw(e);Wy(j);i=d;return}function cn(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;i=i+232|0;f=e|0;g=e+16|0;h=f;a[h]=14;j=f+1|0;a[j]=a[18376]|0;a[j+1|0]=a[18377]|0;a[j+2|0]=a[18378]|0;a[j+3|0]=a[18379]|0;a[j+4|0]=a[18380]|0;a[j+5|0]=a[18381]|0;a[j+6|0]=a[18382]|0;j=f+8|0;a[j]=0;Bm(b|0,f);if(!((a[h]&1)==0)){iK(c[j>>2]|0)}Qx(b+164|0);j=b+176|0;my(j);Kw(b+188|0);h=b+208|0;Vy(h);c[b>>2]=31576;c[b+164>>2]=31748;c[j>>2]=31764;c[b+188>>2]=31780;c[h>>2]=31796;bn(g);Yy(g+208|0);Nw(g+188|0);py(g+176|0);Tx(g+164|0);Em(g|0);c[b+180>>2]=c[d+88>>2];c[b+184>>2]=c[d+92>>2];a[b+212|0]=a[d+96|0]|0;i=e;return}function dn(a){a=a|0;Yy(a+208|0);Nw(a+188|0);py(a+176|0);Tx(a+164|0);Em(a|0);iK(a);return}function en(a){a=a|0;var b=0;b=a-216+52|0;Yy(b+208|0);Nw(b+188|0);py(b+176|0);Tx(b+164|0);Em(b);iK(b);return}function fn(a){a=a|0;var b=0;b=a-216+40|0;Yy(b+208|0);Nw(b+188|0);py(b+176|0);Tx(b+164|0);Em(b);iK(b);return}function gn(a){a=a|0;var b=0;b=a-216+28|0;Yy(b+208|0);Nw(b+188|0);py(b+176|0);Tx(b+164|0);Em(b);iK(b);return}function hn(a){a=a|0;var b=0;b=a-216+8|0;Yy(b+208|0);Nw(b+188|0);py(b+176|0);Tx(b+164|0);Em(b);iK(b);return}function jn(a){a=a|0;Yy(a+208|0);Nw(a+188|0);py(a+176|0);Tx(a+164|0);Em(a|0);return}function kn(a){a=a|0;var b=0;b=a-216+52|0;Yy(b+208|0);Nw(b+188|0);py(b+176|0);Tx(b+164|0);Em(b);return}function ln(a){a=a|0;var b=0;b=a-216+40|0;Yy(b+208|0);Nw(b+188|0);py(b+176|0);Tx(b+164|0);Em(b);return}function mn(a){a=a|0;var b=0;b=a-216+28|0;Yy(b+208|0);Nw(b+188|0);py(b+176|0);Tx(b+164|0);Em(b);return}function nn(a){a=a|0;var b=0;b=a-216+8|0;Yy(b+208|0);Nw(b+188|0);py(b+176|0);Tx(b+164|0);Em(b);return}function on(a){a=a|0;Cm(a|0);Rx(a+164|0);ny(a+176|0);Lw(a+188|0);Wy(a+208|0);return}function pn(b,d){b=b|0;d=d|0;var e=0,f=0;if((d|0)==0){e=0;return e|0}f=VJ(d,46112,46120,-1)|0;if((f|0)==0){e=0;return e|0}if((c[b+180>>2]|0)!=(c[f+180>>2]|0)){e=0;return e|0}if((c[b+168>>2]|0)!=(c[f+168>>2]|0)){e=0;return e|0}if((c[b+172>>2]|0)!=(c[f+172>>2]|0)){e=0;return e|0}if((c[b+204>>2]|0)!=(c[f+204>>2]|0)){e=0;return e|0}if((c[b+184>>2]|0)!=(c[f+184>>2]|0)){e=0;return e|0}e=(a[b+212|0]|0)==(a[f+212|0]|0);return e|0}function qn(a){a=a|0;var b=0,d=0;b=a|0;Xo(b);d=a+84|0;Pw(d);c[a>>2]=37672;c[a+84>>2]=37828;$o(b);Qw(d);return}function rn(a){a=a|0;Sw(a+84|0);ep(a|0);iK(a);return}function sn(a){a=a|0;var b=0;b=a-108+24|0;Sw(b+84|0);ep(b);iK(b);return}function tn(a){a=a|0;Sw(a+84|0);ep(a|0);return}function un(a){a=a|0;var b=0;b=a-108+24|0;Sw(b+84|0);ep(b);return}function vn(a){a=a|0;$o(a|0);Qw(a+84|0);return}function wn(a,b){a=a|0;b=b|0;var c=0;if((b|0)==0){c=0;return c|0}c=(VJ(b,46112,47408,-1)|0)!=0;return c|0}function xn(b){b=b|0;var d=0,e=0;d=gK(108)|0;e=d;_o(e,b|0);c[d+88>>2]=c[b+88>>2];c[d+92>>2]=c[b+92>>2];a[d+96|0]=a[b+96|0]|0;c[d+100>>2]=c[b+100>>2];c[d+104>>2]=c[b+104>>2];c[d>>2]=37672;c[d+84>>2]=37828;return e|0}function yn(b,c){b=b|0;c=c|0;a[b]=20;c=b;BK(c+1|0,16768,10)|0;a[c+11|0]=0;return}function zn(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+16|0;e=d|0;f=b|0;g=e;a[g]=10;h=e;j=h+1|0;a[j]=a[18144]|0;a[j+1|0]=a[18145]|0;a[j+2|0]=a[18146]|0;a[j+3|0]=a[18147]|0;a[j+4|0]=a[18148]|0;a[h+6|0]=0;Bm(f,e);if(!((a[g]&1)==0)){iK(c[e+8>>2]|0)}e=b+164|0;ry(e);c[b>>2]=29768;c[b+164>>2]=29940;Cm(f);sy(e);i=d;return}function An(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;i=i+200|0;f=e|0;g=e+16|0;h=f;a[h]=10;j=f;k=j+1|0;a[k]=a[18144]|0;a[k+1|0]=a[18145]|0;a[k+2|0]=a[18146]|0;a[k+3|0]=a[18147]|0;a[k+4|0]=a[18148]|0;a[j+6|0]=0;Bm(b|0,f);if(!((a[h]&1)==0)){iK(c[f+8>>2]|0)}f=b+164|0;ry(f);c[b>>2]=29768;c[f>>2]=29940;zn(g);uy(g+164|0);Em(g|0);c[b+168>>2]=c[d+88>>2];c[b+172>>2]=c[d+124>>2];c[b+176>>2]=c[d+92>>2];i=e;return}function Bn(a){a=a|0;uy(a+164|0);Em(a|0);iK(a);return}function Cn(a){a=a|0;var b=0;b=a-180+16|0;uy(b+164|0);Em(b);iK(b);return}function Dn(a){a=a|0;uy(a+164|0);Em(a|0);return}function En(a){a=a|0;var b=0;b=a-180+16|0;uy(b+164|0);Em(b);return}function Fn(a){a=a|0;Cm(a|0);sy(a+164|0);return}function Gn(a,b){a=a|0;b=b|0;var d=0,e=0;if((b|0)==0){d=0;return d|0}e=VJ(b,46112,45848,-1)|0;if((e|0)==0){d=0;return d|0}if((c[a+168>>2]|0)!=(c[e+168>>2]|0)){d=0;return d|0}if((c[a+172>>2]|0)!=(c[e+172>>2]|0)){d=0;return d|0}d=(c[a+176>>2]|0)==(c[e+176>>2]|0);return d|0}function Hn(a){a=a|0;var b=0,d=0,e=0;b=a|0;Xo(b);d=a+84|0;wy(d);e=a+96|0;By(e);c[a>>2]=37192;c[a+84>>2]=37348;c[a+96>>2]=37364;$o(b);xy(d);Cy(e);return}function In(a){a=a|0;Ey(a+96|0);zy(a+84|0);ep(a|0);iK(a);return}function Jn(a){a=a|0;var b=0;b=a-128+44|0;Ey(b+96|0);zy(b+84|0);ep(b);iK(b);return}function Kn(a){a=a|0;var b=0;b=a-128+32|0;Ey(b+96|0);zy(b+84|0);ep(b);iK(b);return}function Ln(a){a=a|0;Ey(a+96|0);zy(a+84|0);ep(a|0);return}function Mn(a){a=a|0;var b=0;b=a-128+44|0;Ey(b+96|0);zy(b+84|0);ep(b);return}function Nn(a){a=a|0;var b=0;b=a-128+32|0;Ey(b+96|0);zy(b+84|0);ep(b);return}function On(a){a=a|0;$o(a|0);xy(a+84|0);Cy(a+96|0);return}function Pn(a,b){a=a|0;b=b|0;var c=0;if((b|0)==0){c=0;return c|0}c=(VJ(b,46112,47288,-1)|0)!=0;return c|0}function Qn(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=gK(180)|0;e=d;_o(e,b|0);a[d+84|0]=a[b+84|0]|0;c[d+88>>2]=c[b+88>>2];c[d+92>>2]=c[b+92>>2];c[d+96>>2]=c[b+96>>2];c[d+100>>2]=c[b+100>>2];c[d+104>>2]=c[b+104>>2];c[d+108>>2]=c[b+108>>2];c[d+112>>2]=c[b+112>>2];c[d+116>>2]=c[b+116>>2];c[d+120>>2]=c[b+120>>2];c[d+124>>2]=c[b+124>>2];c[d+128>>2]=c[b+128>>2];a[d+132|0]=a[b+132|0]|0;f=b+136|0;g=d+136|0;h=c[f+4>>2]|0;c[g>>2]=c[f>>2];c[g+4>>2]=h;h=b+144|0;g=d+144|0;f=c[h+4>>2]|0;c[g>>2]=c[h>>2];c[g+4>>2]=f;a[d+152|0]=a[b+152|0]|0;c[d+156>>2]=c[b+156>>2];a[d+160|0]=a[b+160|0]|0;c[d+168>>2]=c[b+168>>2];c[d+172>>2]=c[b+172>>2];c[d+176>>2]=c[b+176>>2];c[d>>2]=29768;c[d+164>>2]=29940;return e|0}function Rn(b,c){b=b|0;c=c|0;var d=0;a[b]=16;c=b;b=c+1|0;d=b|0;E=1702126925;a[d]=E;E=E>>8;a[d+1|0]=E;E=E>>8;a[d+2|0]=E;E=E>>8;a[d+3|0]=E;d=b+4|0;E=1734955890;a[d]=E;E=E>>8;a[d+1|0]=E;E=E>>8;a[d+2|0]=E;E=E>>8;a[d+3|0]=E;a[c+9|0]=0;return}function Sn(a){a=a|0;return 20}function Tn(a){a=a|0;var b=0;b=gK(128)|0;Vn(b,a);return b|0}function Un(b,d){b=b|0;d=d|0;d=gK(16)|0;c[b+8>>2]=d;c[b>>2]=17;c[b+4>>2]=12;BK(d|0,16752,12)|0;a[d+12|0]=0;return}function Vn(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;_o(b|0,d|0);c[b+84>>2]=35584;c[b+88>>2]=c[d+88>>2];c[b+92>>2]=c[d+92>>2];c[b+96>>2]=35560;e=b+100|0;f=d+100|0;if((a[f]&1)==0){g=e;c[g>>2]=c[f>>2];c[g+4>>2]=c[f+4>>2];c[g+8>>2]=c[f+8>>2]}else{f=c[d+108>>2]|0;g=c[d+104>>2]|0;if(g>>>0>4294967279>>>0){GA(0)}if(g>>>0<11>>>0){a[e]=g<<1;h=e+1|0}else{i=g+16&-16;j=gK(i)|0;c[b+108>>2]=j;c[e>>2]=i|1;c[b+104>>2]=g;h=j}BK(h|0,f|0,g)|0;a[h+g|0]=0}g=b+112|0;h=d+112|0;if((a[h]&1)==0){f=g;c[f>>2]=c[h>>2];c[f+4>>2]=c[h+4>>2];c[f+8>>2]=c[h+8>>2];k=b+124|0;l=d+124|0;m=c[l>>2]|0;c[k>>2]=m;n=b|0;c[n>>2]=37192;o=b+84|0;c[o>>2]=37348;p=b+96|0;c[p>>2]=37364;return}h=c[d+120>>2]|0;f=c[d+116>>2]|0;if(f>>>0>4294967279>>>0){GA(0)}if(f>>>0<11>>>0){a[g]=f<<1;q=g+1|0}else{j=f+16&-16;i=gK(j)|0;c[b+120>>2]=i;c[g>>2]=j|1;c[b+116>>2]=f;q=i}BK(q|0,h|0,f)|0;a[q+f|0]=0;k=b+124|0;l=d+124|0;m=c[l>>2]|0;c[k>>2]=m;n=b|0;c[n>>2]=37192;o=b+84|0;c[o>>2]=37348;p=b+96|0;c[p>>2]=37364;return}function Wn(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+16|0;e=d|0;f=b|0;g=e;a[g]=12;h=e;j=h+1|0;a[j]=a[18112]|0;a[j+1|0]=a[18113]|0;a[j+2|0]=a[18114]|0;a[j+3|0]=a[18115]|0;a[j+4|0]=a[18116]|0;a[j+5|0]=a[18117]|0;a[h+7|0]=0;Bm(f,e);if(!((a[g]&1)==0)){iK(c[e+8>>2]|0)}c[b>>2]=32584;Cm(f);i=d;return}function Xn(a){a=a|0;Em(a|0);iK(a);return}function Yn(a){a=a|0;Em(a|0);return}function Zn(a){a=a|0;Cm(a|0);return}function _n(a,b){a=a|0;b=b|0;var c=0;if((b|0)==0){c=0;return c|0}c=(VJ(b,46112,46288,-1)|0)!=0;return c|0}function $n(b,c){b=b|0;c=c|0;a[b]=10;c=b;b=c+1|0;a[b]=a[16744]|0;a[b+1|0]=a[16745]|0;a[b+2|0]=a[16746]|0;a[b+3|0]=a[16747]|0;a[b+4|0]=a[16748]|0;a[c+6|0]=0;return}function ao(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;d=i;i=i+16|0;e=d|0;f=b|0;g=e;a[g]=20;h=e;BK(h+1|0,18088,10)|0;a[h+11|0]=0;Bm(f,e);if(!((a[g]&1)==0)){iK(c[e+8>>2]|0)}e=b+164|0;Fw(e);c[b>>2]=28520;c[b+164>>2]=28692;Cm(f);Gw(e);i=d;return}function bo(a){a=a|0;Iw(a+164|0);Em(a|0);iK(a);return}function co(a){a=a|0;var b=0;b=a-172+8|0;Iw(b+164|0);Em(b);iK(b);return}function eo(a){a=a|0;Iw(a+164|0);Em(a|0);return}function fo(a){a=a|0;var b=0;b=a-172+8|0;Iw(b+164|0);Em(b);return}function go(a){a=a|0;Cm(a|0);Gw(a+164|0);return}function ho(a,b){a=a|0;b=b|0;var d=0,e=0;if((b|0)==0){d=0;return d|0}e=VJ(b,46112,45616,-1)|0;if((e|0)==0){d=0;return d|0}d=(c[a+168>>2]|0)==(c[e+168>>2]|0);return d|0}function io(b,c){b=b|0;c=c|0;a[b]=18;c=b;BK(c+1|0,16728,9)|0;a[c+10|0]=0;return}function jo(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;i=i+16|0;e=d|0;f=b|0;g=e;a[g]=10;h=e;j=h+1|0;a[j]=a[18008]|0;a[j+1|0]=a[18009]|0;a[j+2|0]=a[18010]|0;a[j+3|0]=a[18011]|0;a[j+4|0]=a[18012]|0;a[h+6|0]=0;Bm(f,e);if(!((a[g]&1)==0)){iK(c[e+8>>2]|0)}e=b+164|0;Lj(e);g=b+216|0;mq(g);h=b+240|0;wx(h);j=b+248|0;Uw(j);k=b+256|0;dz(k);c[b>>2]=33912;c[b+164>>2]=34084;c[b+172>>2]=34112;c[b+180>>2]=34128;c[b+188>>2]=34144;c[b+196>>2]=34160;c[b+208>>2]=34176;c[b+216>>2]=34192;c[b+224>>2]=34212;c[b+232>>2]=34228;c[b+240>>2]=34244;c[b+248>>2]=34260;c[b+256>>2]=34276;Cm(f);Yj(e);tq(g);xx(h);Vw(j);ez(k);c[b+300>>2]=0;c[b+304>>2]=0;c[b+308>>2]=0;DK(b+280|0,0,17)|0;i=d;return}function ko(a){a=a|0;xo(a);iK(a);return}function lo(a){a=a|0;var b=0;b=a-312+148|0;xo(b);iK(b);return}function mo(a){a=a|0;var b=0;b=a-312+140|0;xo(b);iK(b);return}function no(a){a=a|0;var b=0;b=a-312+132|0;xo(b);iK(b);return}function oo(a){a=a|0;var b=0;b=a-312+124|0;xo(b);iK(b);return}function po(a){a=a|0;var b=0;b=a-312+116|0;xo(b);iK(b);return}function qo(a){a=a|0;var b=0;b=a-312+104|0;xo(b);iK(b);return}function ro(a){a=a|0;var b=0;b=a-312+96|0;xo(b);iK(b);return}function so(a){a=a|0;var b=0;b=a-312+88|0;xo(b);iK(b);return}function to(a){a=a|0;var b=0;b=a-312+80|0;xo(b);iK(b);return}function uo(a){a=a|0;var b=0;b=a-312+72|0;xo(b);iK(b);return}function vo(a){a=a|0;var b=0;b=a-312+64|0;xo(b);iK(b);return}function wo(a){a=a|0;var b=0;b=a-312+56|0;xo(b);iK(b);return}function xo(a){a=a|0;var b=0,d=0;c[a>>2]=33912;c[a+164>>2]=34084;c[a+172>>2]=34112;c[a+180>>2]=34128;c[a+188>>2]=34144;c[a+196>>2]=34160;c[a+208>>2]=34176;c[a+216>>2]=34192;c[a+224>>2]=34212;c[a+232>>2]=34228;c[a+240>>2]=34244;c[a+248>>2]=34260;c[a+256>>2]=34276;b=a+280|0;d=c[b>>2]|0;if((d|0)!=0){ad[c[(c[d>>2]|0)+4>>2]&2047](d);c[b>>2]=0}if((c[a+288>>2]|0)!=0){c[b>>2]=0}gz(a+256|0);Xw(a+248|0);zx(a+240|0);qq(a+216|0);Sj(a+164|0);Em(a|0);return}function yo(a){a=a|0;xo(a-312+148|0);return}function zo(a){a=a|0;xo(a-312+140|0);return}function Ao(a){a=a|0;xo(a-312+132|0);return}function Bo(a){a=a|0;xo(a-312+124|0);return}function Co(a){a=a|0;xo(a-312+116|0);return}function Do(a){a=a|0;xo(a-312+104|0);return}function Eo(a){a=a|0;xo(a-312+96|0);return}function Fo(a){a=a|0;xo(a-312+88|0);return}function Go(a){a=a|0;xo(a-312+80|0);return}function Ho(a){a=a|0;xo(a-312+72|0);return}function Io(a){a=a|0;xo(a-312+64|0);return}function Jo(a){a=a|0;xo(a-312+56|0);return}function Ko(a){a=a|0;var b=0;b=a+280|0;a=c[b>>2]|0;if((a|0)==0){return}ad[c[(c[a>>2]|0)+4>>2]&2047](a);c[b>>2]=0;return}function Lo(a){a=a|0;var b=0;if((c[a+288>>2]|0)==0){return}b=a+280|0;a=c[b>>2]|0;if((a|0)!=0){ad[c[(c[a>>2]|0)+4>>2]&2047](a)}c[b>>2]=0;return}function Mo(a){a=a|0;Cm(a|0);Yj(a+164|0);tq(a+216|0);xx(a+240|0);Vw(a+248|0);ez(a+256|0);c[a+300>>2]=0;c[a+304>>2]=0;c[a+308>>2]=0;DK(a+280|0,0,17)|0;return}function No(a){a=a|0;var b=0;b=a-312+148|0;Cm(b);Yj(b+164|0);tq(b+216|0);xx(b+240|0);Vw(b+248|0);ez(b+256|0);c[b+300>>2]=0;c[b+304>>2]=0;c[b+308>>2]=0;DK(b+280|0,0,17)|0;return}function Oo(a){a=a|0;var b=0;b=a-312+96|0;Cm(b);Yj(b+164|0);tq(b+216|0);xx(b+240|0);Vw(b+248|0);ez(b+256|0);c[b+300>>2]=0;c[b+304>>2]=0;c[b+308>>2]=0;DK(b+280|0,0,17)|0;return}function Po(b,d){b=b|0;d=d|0;var e=0;if((d|0)==0){return 0}e=VJ(d,46112,46464,-1)|0;if((e|0)==0){return 0}if((c[b+244>>2]|0)!=(c[e+244>>2]|0)){return 0}if((c[b+252>>2]|0)!=(c[e+252>>2]|0)){return 0}if((c[b+260>>2]|0)!=(c[e+260>>2]|0)){return 0}if((c[b+264>>2]|0)!=(c[e+264>>2]|0)){return 0}if((a[b+296|0]|0)!=(a[e+296|0]|0)){return 0}if((c[b+300>>2]|0)!=(c[e+300>>2]|0)){return 0}if(uq(b+216|0,e+216|0)|0){return $j(b+164|0,e+164|0)|0}else{return 0}return 0}function Qo(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+8|0;e=d|0;f=b|0;b=a|0;bp(f,b);c[e>>2]=f;g=a+8|0;h=c[g>>2]|0;if((h|0)==(c[a+12>>2]|0)){xf(a+4|0,e);ap(b,1);i=d;return}if((h|0)==0){j=0}else{c[h>>2]=f;j=c[g>>2]|0}c[g>>2]=j+4;ap(b,1);i=d;return}function Ro(a,b,d){a=a|0;b=b|0;d=d|0;c[a+184>>2]=b;if((b-1|0)>>>0>1>>>0){c[a+252>>2]=0;c[a+244>>2]=0;return}else{c[a+244>>2]=0;c[a+260>>2]=0;c[a+264>>2]=0;return}}function So(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;d=i;i=i+16|0;e=d|0;f=b+280|0;if((c[f>>2]|0)==0){g=gK(172)|0;Xu(g);c[f>>2]=g;$u(g,b);i=d;return}g=b+32|0;if((a[g]&1)==0){f=e;c[f>>2]=c[g>>2];c[f+4>>2]=c[g+4>>2];c[f+8>>2]=c[g+8>>2];h=a[f]|0;j=f}else{f=c[b+40>>2]|0;g=c[b+36>>2]|0;if(g>>>0>4294967279>>>0){GA(0)}if(g>>>0<11>>>0){b=g<<1&255;k=e;a[k]=b;l=e+1|0;m=b;n=k}else{k=g+16&-16;b=gK(k)|0;c[e+8>>2]=b;o=k|1;c[e>>2]=o;c[e+4>>2]=g;l=b;m=o&255;n=e}BK(l|0,f|0,g)|0;a[l+g|0]=0;h=m;j=n}if((h&1)==0){p=e+1|0}else{p=c[e+8>>2]|0}ee(20728,(h=i,i=i+8|0,c[h>>2]=p,h)|0);i=h;if((a[j]&1)==0){i=d;return}iK(c[e+8>>2]|0);i=d;return}function To(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;e=i;i=i+32|0;f=e|0;g=e+16|0;h=b+284|0;if((c[h>>2]|0)!=0){j=b+32|0;if((a[j]&1)==0){k=f;c[k>>2]=c[j>>2];c[k+4>>2]=c[j+4>>2];c[k+8>>2]=c[j+8>>2];l=a[k]|0;m=k}else{k=c[b+40>>2]|0;j=c[b+36>>2]|0;if(j>>>0>4294967279>>>0){GA(0)}if(j>>>0<11>>>0){n=j<<1&255;o=f;a[o]=n;p=f+1|0;q=n;r=o}else{o=j+16&-16;n=gK(o)|0;c[f+8>>2]=n;s=o|1;c[f>>2]=s;c[f+4>>2]=j;p=n;q=s&255;r=f}BK(p|0,k|0,j)|0;a[p+j|0]=0;l=q;m=r}if((l&1)==0){t=f+1|0}else{t=c[f+8>>2]|0}ee(16648,(u=i,i=i+8|0,c[u>>2]=t,u)|0);i=u;if((a[m]&1)==0){i=e;return}iK(c[f+8>>2]|0);i=e;return}do{if((d|0)!=0){f=c[d+280>>2]|0;if((f|0)==0){break}c[h>>2]=f;av(f,b);i=e;return}}while(0);h=b+32|0;if((a[h]&1)==0){d=g;c[d>>2]=c[h>>2];c[d+4>>2]=c[h+4>>2];c[d+8>>2]=c[h+8>>2];v=a[d]|0;w=d}else{d=c[b+40>>2]|0;h=c[b+36>>2]|0;if(h>>>0>4294967279>>>0){GA(0)}if(h>>>0<11>>>0){b=h<<1&255;f=g;a[f]=b;x=g+1|0;y=b;z=f}else{f=h+16&-16;b=gK(f)|0;c[g+8>>2]=b;m=f|1;c[g>>2]=m;c[g+4>>2]=h;x=b;y=m&255;z=g}BK(x|0,d|0,h)|0;a[x+h|0]=0;v=y;w=z}if((v&1)==0){A=g+1|0}else{A=c[g+8>>2]|0}ee(14024,(u=i,i=i+8|0,c[u>>2]=A,u)|0);i=u;if((a[w]&1)==0){i=e;return}iK(c[g+8>>2]|0);i=e;return}function Uo(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;d=i;i=i+16|0;e=d|0;f=b+288|0;if((c[f>>2]|0)==0){g=gK(172)|0;pt(g);c[f>>2]=g;tt(g,b);i=d;return}g=b+32|0;if((a[g]&1)==0){f=e;c[f>>2]=c[g>>2];c[f+4>>2]=c[g+4>>2];c[f+8>>2]=c[g+8>>2];h=a[f]|0;j=f}else{f=c[b+40>>2]|0;g=c[b+36>>2]|0;if(g>>>0>4294967279>>>0){GA(0)}if(g>>>0<11>>>0){b=g<<1&255;k=e;a[k]=b;l=e+1|0;m=b;n=k}else{k=g+16&-16;b=gK(k)|0;c[e+8>>2]=b;o=k|1;c[e>>2]=o;c[e+4>>2]=g;l=b;m=o&255;n=e}BK(l|0,f|0,g)|0;a[l+g|0]=0;h=m;j=n}if((h&1)==0){p=e+1|0}else{p=c[e+8>>2]|0}ee(12528,(h=i,i=i+8|0,c[h>>2]=p,h)|0);i=h;if((a[j]&1)==0){i=d;return}iK(c[e+8>>2]|0);i=d;return}function Vo(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;e=i;i=i+32|0;f=e|0;g=e+16|0;h=b+292|0;if((c[h>>2]|0)!=0){j=b+32|0;if((a[j]&1)==0){k=f;c[k>>2]=c[j>>2];c[k+4>>2]=c[j+4>>2];c[k+8>>2]=c[j+8>>2];l=a[k]|0;m=k}else{k=c[b+40>>2]|0;j=c[b+36>>2]|0;if(j>>>0>4294967279>>>0){GA(0)}if(j>>>0<11>>>0){n=j<<1&255;o=f;a[o]=n;p=f+1|0;q=n;r=o}else{o=j+16&-16;n=gK(o)|0;c[f+8>>2]=n;s=o|1;c[f>>2]=s;c[f+4>>2]=j;p=n;q=s&255;r=f}BK(p|0,k|0,j)|0;a[p+j|0]=0;l=q;m=r}if((l&1)==0){t=f+1|0}else{t=c[f+8>>2]|0}ee(11504,(u=i,i=i+8|0,c[u>>2]=t,u)|0);i=u;if((a[m]&1)==0){i=e;return}iK(c[f+8>>2]|0);i=e;return}do{if((d|0)!=0){f=c[d+288>>2]|0;if((f|0)==0){break}c[h>>2]=f;ut(f,b);i=e;return}}while(0);h=b+32|0;if((a[h]&1)==0){d=g;c[d>>2]=c[h>>2];c[d+4>>2]=c[h+4>>2];c[d+8>>2]=c[h+8>>2];v=a[d]|0;w=d}else{d=c[b+40>>2]|0;h=c[b+36>>2]|0;if(h>>>0>4294967279>>>0){GA(0)}if(h>>>0<11>>>0){b=h<<1&255;f=g;a[f]=b;x=g+1|0;y=b;z=f}else{f=h+16&-16;b=gK(f)|0;c[g+8>>2]=b;m=f|1;c[g>>2]=m;c[g+4>>2]=h;x=b;y=m&255;z=g}BK(x|0,d|0,h)|0;a[x+h|0]=0;v=y;w=z}if((v&1)==0){A=g+1|0}else{A=c[g+8>>2]|0}ee(14024,(u=i,i=i+8|0,c[u>>2]=A,u)|0);i=u;if((a[w]&1)==0){i=e;return}iK(c[g+8>>2]|0);i=e;return}function Wo(b){b=b|0;return((a[b+132|0]|0)==0?5:8)|0}function Xo(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;i=i+16|0;e=d|0;c[b>>2]=31408;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;f=e;DK(b+20|0,0,48)|0;a[f]=4;g=e;h=g+1|0;E=11629;a[h]=E;E=E>>8;a[h+1|0]=E;a[g+3|0]=0;c[b+16>>2]=0;a[b+68|0]=1;NA(b+44|0,e)|0;fp(b);if((a[f]&1)==0){i=d;return}iK(c[e+8>>2]|0);i=d;return}function Yo(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+16|0;f=e|0;c[b>>2]=31408;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;g=b+44|0;h=d;DK(b+20|0,0,48)|0;if((a[h]&1)==0){j=f;c[j>>2]=c[h>>2];c[j+4>>2]=c[h+4>>2];c[j+8>>2]=c[h+8>>2]}else{h=c[d+8>>2]|0;j=c[d+4>>2]|0;if(j>>>0>4294967279>>>0){GA(0)}if(j>>>0<11>>>0){a[f]=j<<1;k=f+1|0}else{d=j+16&-16;l=gK(d)|0;c[f+8>>2]=l;c[f>>2]=d|1;c[f+4>>2]=j;k=l}BK(k|0,h|0,j)|0;a[k+j|0]=0}c[b+16>>2]=0;a[b+68|0]=1;NA(g,f)|0;fp(b);if((a[f]&1)==0){i=e;return}iK(c[f+8>>2]|0);i=e;return}function Zo(a){a=a|0;yc(20696,16624,61,23336);return 0}function _o(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=i;i=i+8|0;f=e|0;c[b>>2]=31408;g=b+4|0;c[g>>2]=0;h=b+8|0;c[h>>2]=0;j=b+12|0;c[j>>2]=0;DK(b+20|0,0,48)|0;c[b+16>>2]=0;NA(b+44|0,d+44|0)|0;NA(b+32|0,d+32|0)|0;a[b+68|0]=1;k=d+8|0;l=d+4|0;d=c[l>>2]|0;if(((c[k>>2]|0)-d|0)>0){m=0;n=d}else{i=e;return}while(1){d=c[n+(m<<2)>>2]|0;o=dd[c[(c[d>>2]|0)+12>>2]&255](d)|0;c[f>>2]=o;ap(o,1);d=o+16|0;if((c[d>>2]|0)!=0){break}c[d>>2]=b;d=c[h>>2]|0;if((d|0)==(c[j>>2]|0)){xf(g,f)}else{if((d|0)==0){p=0}else{c[d>>2]=o;p=c[h>>2]|0}c[h>>2]=p+4}o=m+1|0;d=c[l>>2]|0;if((o|0)<((c[k>>2]|0)-d>>2|0)){m=o;n=d}else{q=18;break}}if((q|0)==18){i=e;return}yc(11488,16624,257,23312)}function $o(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;b=a+4|0;d=c[b>>2]|0;e=a+8|0;f=c[e>>2]|0;if((d|0)==(f|0)){return}else{g=d;h=f}while(1){f=c[g>>2]|0;if((c[f+16>>2]|0)!=(a|0)|(f|0)==0){i=h}else{ad[c[(c[f>>2]|0)+4>>2]&2047](f);i=c[e>>2]|0}f=g+4|0;if((f|0)==(i|0)){break}else{g=f;h=i}}h=c[b>>2]|0;if((i|0)==(h|0)){return}c[e>>2]=i+(~((i-4+(-h|0)|0)>>>2)<<2);return}function ap(b,d){b=b|0;d=d|0;var e=0,f=0;e=c[b+16>>2]|0;f=b+68|0;do{if((e|0)!=0){if((a[f]|0)!=0|d^1){break}ap(e,1)}}while(0);a[f]=d&1;return}function bp(a,b){a=a|0;b=b|0;var d=0;d=a+16|0;if((c[d>>2]|0)==0){c[d>>2]=b;return}else{yc(11488,16624,257,23312)}}function cp(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=i;i=i+8|0;f=e|0;if((b|0)==(d|0)){i=e;return b|0}g=b+4|0;h=c[g>>2]|0;j=b+8|0;k=c[j>>2]|0;do{if((h|0)!=(k|0)){l=h;m=k;while(1){n=c[l>>2]|0;if((c[n+16>>2]|0)!=(b|0)|(n|0)==0){o=m}else{ad[c[(c[n>>2]|0)+4>>2]&2047](n);o=c[j>>2]|0}n=l+4|0;if((n|0)==(o|0)){break}else{l=n;m=o}}m=c[g>>2]|0;if((o|0)==(m|0)){break}c[j>>2]=o+(~((o-4+(-m|0)|0)>>>2)<<2)}}while(0);c[b+16>>2]=0;NA(b+44|0,d+44|0)|0;NA(b+32|0,d+32|0)|0;a[b+68|0]=1;o=d+8|0;g=d+4|0;d=c[g>>2]|0;if(((c[o>>2]|0)-d|0)<=0){i=e;return b|0}k=b+12|0;h=b+4|0;m=0;l=d;while(1){d=c[l+(m<<2)>>2]|0;n=dd[c[(c[d>>2]|0)+12>>2]&255](d)|0;c[f>>2]=n;ap(n,1);d=n+16|0;if((c[d>>2]|0)!=0){p=11;break}c[d>>2]=b;d=c[j>>2]|0;if((d|0)==(c[k>>2]|0)){xf(h,f)}else{if((d|0)==0){q=0}else{c[d>>2]=n;q=c[j>>2]|0}c[j>>2]=q+4}n=m+1|0;d=c[g>>2]|0;if((n|0)<((c[o>>2]|0)-d>>2|0)){m=n;l=d}else{p=18;break}}if((p|0)==11){yc(11488,16624,257,23312);return 0}else if((p|0)==18){i=e;return b|0}return 0}function dp(a){a=a|0;ep(a);iK(a);return}function ep(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c[b>>2]=31408;d=b+4|0;e=c[d>>2]|0;f=b+8|0;g=c[f>>2]|0;do{if((e|0)!=(g|0)){h=e;i=g;while(1){j=c[h>>2]|0;if((c[j+16>>2]|0)!=(b|0)|(j|0)==0){k=i}else{ad[c[(c[j>>2]|0)+4>>2]&2047](j);k=c[f>>2]|0}j=h+4|0;if((j|0)==(k|0)){break}else{h=j;i=k}}i=c[d>>2]|0;if((k|0)==(i|0)){break}c[f>>2]=k+(~((k-4+(-i|0)|0)>>>2)<<2)}}while(0);if(!((a[b+56|0]&1)==0)){iK(c[b+64>>2]|0)}if(!((a[b+44|0]&1)==0)){iK(c[b+52>>2]|0)}if(!((a[b+32|0]&1)==0)){iK(c[b+40>>2]|0)}if(!((a[b+20|0]&1)==0)){iK(c[b+28>>2]|0)}b=c[d>>2]|0;if((b|0)==0){return}d=c[f>>2]|0;if((d|0)!=(b|0)){c[f>>2]=d+(~((d-4+(-b|0)|0)>>>2)<<2)}iK(b);return}function fp(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;d=i;i=i+56|0;e=d+24|0;f=d+40|0;g=HK()|0;h=d|0;ob(h|0,16,12520,(j=i,i=i+8|0,c[j>>2]=g,j)|0)|0;i=j;j=AK(h|0)|0;if(j>>>0>4294967279>>>0){GA(0)}if(j>>>0<11>>>0){a[f]=j<<1;k=f+1|0}else{g=j+16&-16;l=gK(g)|0;c[f+8>>2]=l;c[f>>2]=g|1;c[f+4>>2]=j;k=l}BK(k|0,h|0,j)|0;a[k+j|0]=0;sp(e,b+44|0,f);NA(b+32|0,e)|0;if(!((a[e]&1)==0)){iK(c[e+8>>2]|0)}if((a[f]&1)==0){i=d;return}iK(c[f+8>>2]|0);i=d;return}function gp(a,b){a=a|0;b=b|0;NA(a+32|0,b)|0;return}function hp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=c[a+4>>2]|0;e=c[a+8>>2]|0;if((d|0)==(e|0)){f=0;return f|0}a=b+4|0;b=0;g=d;while(1){d=c[g>>2]|0;if((d|0)==0){h=4;break}i=((c[(c[(c[d>>2]|0)-4>>2]|0)+4>>2]|0)==(c[a>>2]|0))+b|0;d=g+4|0;if((d|0)==(e|0)){f=i;h=6;break}else{b=i;g=d}}if((h|0)==4){Lc();return 0}else if((h|0)==6){return f|0}return 0}function ip(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;c[a+80>>2]=b;d=c[a+8>>2]|0;c[a+72>>2]=d;e=c[a+4>>2]|0;a:do{if((e|0)!=(d|0)){f=b+4|0;g=e;while(1){h=c[g>>2]|0;if((h|0)==0){i=4;break}if((c[(c[(c[h>>2]|0)-4>>2]|0)+4>>2]|0)==(c[f>>2]|0)){break}h=g+4|0;if((h|0)==(d|0)){break a}else{g=h}}if((i|0)==4){Lc();return 0}c[a+76>>2]=g;if((g|0)==(d|0)){j=0;return j|0}j=c[g>>2]|0;return j|0}}while(0);c[a+76>>2]=d;j=0;return j|0}function jp(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=a+76|0;d=(c[b>>2]|0)+4|0;c[b>>2]=d;e=c[a+72>>2]|0;a:do{if((d|0)==(e|0)){f=d}else{g=(c[a+80>>2]|0)+4|0;h=d;do{i=c[h>>2]|0;if((i|0)==0){j=4;break}if((c[(c[(c[i>>2]|0)-4>>2]|0)+4>>2]|0)==(c[g>>2]|0)){f=h;break a}h=h+4|0;}while((h|0)!=(e|0));if((j|0)==4){Lc();return 0}c[b>>2]=e;k=0;return k|0}}while(0);c[b>>2]=f;if((f|0)==(e|0)){k=0;return k|0}k=c[f>>2]|0;return k|0}function kp(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;b=c[a+16>>2]|0;if((b|0)==0){yc(14008,16624,163,22568);return 0}d=c[b+4>>2]|0;e=c[b+8>>2]|0;if((d|0)==(e|0)){f=-1;return f|0}else{g=d;h=0}while(1){if((c[g>>2]|0)==(a|0)){f=h;i=6;break}d=g+4|0;if((d|0)==(e|0)){f=-1;i=6;break}else{g=d;h=h+1|0}}if((i|0)==6){return f|0}return 0}function lp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;i=i+24|0;f=e|0;g=e+8|0;c[f>>2]=b;h=a+4|0;j=a+8|0;k=c[j>>2]|0;l=c[h>>2]|0;if((k-l>>2|0)>(d|0)){c[g>>2]=l+(d<<2);mp(e+16|0,h,g,f);i=e;return}if((k|0)==(c[a+12>>2]|0)){xf(h,f);i=e;return}if((k|0)==0){m=0}else{c[k>>2]=b;m=c[j>>2]|0}c[j>>2]=m+4;i=e;return}function mp(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;f=i;g=d;d=i;i=i+4|0;i=i+7&-8;c[d>>2]=c[g>>2];g=b|0;h=c[g>>2]|0;j=h;k=(c[d>>2]|0)-j|0;d=k>>2;l=h+(d<<2)|0;m=b+4|0;n=c[m>>2]|0;o=b+8|0;b=c[o>>2]|0;if(n>>>0>>0){if((l|0)==(n|0)){if((l|0)==0){p=0}else{c[l>>2]=c[e>>2];p=c[m>>2]|0}c[m>>2]=p+4;q=l;r=a|0;c[r>>2]=q;i=f;return}p=n-(h+(d+1<<2))|0;s=p>>2;t=h+(s+d<<2)|0;if(t>>>0>>0){d=t;t=n;do{if((t|0)==0){u=0}else{c[t>>2]=c[d>>2];u=c[m>>2]|0}d=d+4|0;t=u+4|0;c[m>>2]=t;}while(d>>>0>>0)}CK(n+(-s<<2)|0,l|0,p|0)|0;if(l>>>0>e>>>0){v=e}else{v=(c[m>>2]|0)>>>0>e>>>0?e+4|0:e}c[l>>2]=c[v>>2];q=l;r=a|0;c[r>>2]=q;i=f;return}v=(n-j>>2)+1|0;if(v>>>0>1073741823>>>0){tG(0)}n=b-j|0;if(n>>2>>>0<536870911>>>0){j=n>>1;n=j>>>0>>0?v:j;j=l;v=k>>2;if((n|0)==0){w=0;x=0;y=j;z=v}else{A=n;B=j;C=v;D=18}}else{A=1073741823;B=l;C=k>>2;D=18}if((D|0)==18){w=gK(A<<2)|0;x=A;y=B;z=C}C=w+(z<<2)|0;B=w+(x<<2)|0;do{if((z|0)==(x|0)){if((z|0)>0){E=w+(((z+1|0)/-2|0)+z<<2)|0;F=B;break}A=z<<1;D=(A|0)==0?1:A;A=gK(D<<2)|0;k=A+(D>>>2<<2)|0;v=A+(D<<2)|0;if((w|0)==0){E=k;F=v;break}iK(w);E=k;F=v}else{E=C;F=B}}while(0);if((E|0)==0){G=0}else{c[E>>2]=c[e>>2];G=E}e=c[g>>2]|0;B=y-e|0;C=E+(-(B>>2)<<2)|0;BK(C|0,e|0,B)|0;B=(c[m>>2]|0)-y|0;BK(G+4|0,l|0,B)|0;l=c[g>>2]|0;c[g>>2]=C;c[m>>2]=G+((B>>2)+1<<2);c[o>>2]=F;if((l|0)==0){q=E;r=a|0;c[r>>2]=q;i=f;return}iK(l);q=E;r=a|0;c[r>>2]=q;i=f;return}function np(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=a+8|0;e=a+4|0;a=c[e>>2]|0;if(((c[d>>2]|0)-a>>2|0)<=(b|0)){f=0;return f|0}g=c[a+(b<<2)>>2]|0;c[g+16>>2]=0;a=c[e>>2]|0;e=b<<2>>2;b=a+(e+1<<2)|0;h=(c[d>>2]|0)-b|0;CK(a+(e<<2)|0,b|0,h|0)|0;b=a+((h>>2)+e<<2)|0;e=c[d>>2]|0;if((e|0)==(b|0)){f=g;return f|0}c[d>>2]=e+(~((e-4+(-b|0)|0)>>>2)<<2);f=g;return f|0}function op(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+4>>2]|0;if(((c[a+8>>2]|0)-d>>2|0)<=(b|0)){e=0;return e|0}a=c[d+(b<<2)>>2]|0;c[a+16>>2]=0;e=a;return e|0}function pp(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;e=i;i=i+48|0;f=e|0;g=e+24|0;h=e+32|0;c[f>>2]=30784;c[f+12>>2]=0;a[f+16|0]=0;c[f+4>>2]=45;c[f+8>>2]=0;c[g>>2]=0;j=d;d=gK(4)|0;k=(d|0)==0;if(!k){c[d>>2]=j}l=gK(8)|0;m=l;n=l+4|0;if((n|0)!=0){c[n>>2]=g}c[m>>2]=j;if(!k){iK(d)}d=c[(c[b>>2]|0)+32>>2]|0;k=h|0;c[k>>2]=0;j=h+4|0;c[j>>2]=0;n=h+8|0;c[n>>2]=0;o=gK(8)|0;p=o;c[j>>2]=p;c[k>>2]=p;c[n>>2]=o+8;if((o|0)==0){q=0}else{c[p>>2]=c[m>>2];q=p}p=q+4|0;c[j>>2]=p;if((p|0)==0){r=0}else{c[p>>2]=c[l+4>>2];r=c[j>>2]|0}c[j>>2]=r+4;$c[d&31](b,f,h,0,0);h=c[k>>2]|0;if((h|0)!=0){k=c[j>>2]|0;if((k|0)!=(h|0)){c[j>>2]=k+(~((k-4+(-h|0)|0)>>>2)<<2)}iK(h)}h=c[g>>2]|0;if((l|0)==0){i=e;return h|0}iK(l);i=e;return h|0}function qp(a){a=a|0;return}function rp(a,b){a=a|0;b=b|0;var d=0,e=0;if((b|0)<0){d=0;return d|0}e=c[a+4>>2]|0;if(((c[a+8>>2]|0)-e>>2|0)<=(b|0)){d=0;return d|0}d=c[e+(b<<2)>>2]|0;return d|0}function sp(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;f=b;DK(f|0,0,12)|0;g=a[d]|0;h=(g&1)==0;if(h){i=(g&255)>>>1}else{i=c[d+4>>2]|0}g=e;j=a[g]|0;if((j&1)==0){k=(j&255)>>>1}else{k=c[e+4>>2]|0}if(h){l=d+1|0}else{l=c[d+8>>2]|0}d=k+i|0;if(d>>>0>4294967279>>>0){GA(0)}if(d>>>0<11>>>0){a[f]=i<<1;m=b+1|0}else{f=d+16&-16;d=gK(f)|0;c[b+8>>2]=d;c[b>>2]=f|1;c[b+4>>2]=i;m=d}BK(m|0,l|0,i)|0;a[m+i|0]=0;if((a[g]&1)==0){n=e+1|0}else{n=c[e+8>>2]|0}TA(b,n,k)|0;return}function tp(a){a=a|0;fp(a);return}function up(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;d=i;i=i+16|0;e=d|0;bd[c[(c[b>>2]|0)+20>>2]&255](e,b);b=e;if((a[b]&1)==0){f=e+1|0}else{f=c[e+8>>2]|0}ae(10544,(g=i,i=i+8|0,c[g>>2]=f,g)|0);i=g;if((a[b]&1)==0){i=d;return 0}iK(c[e+8>>2]|0);i=d;return 0}function vp(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=i;i=i+48|0;f=e|0;g=e+8|0;h=e+32|0;c[f>>2]=d;c[g>>2]=30784;c[g+12>>2]=0;a[g+16|0]=0;c[g+4>>2]=37;c[g+8>>2]=0;d=f;f=gK(4)|0;j=(f|0)==0;if(!j){c[f>>2]=d}k=c[(c[b>>2]|0)+32>>2]|0;l=h|0;c[l>>2]=0;m=h+4|0;c[m>>2]=0;n=h+8|0;c[n>>2]=0;o=gK(4)|0;p=o;c[m>>2]=p;c[l>>2]=p;c[n>>2]=o+4;if((o|0)==0){q=0}else{c[p>>2]=d;q=p}c[m>>2]=q+4;$c[k&31](b,g,h,0,0);h=c[l>>2]|0;if((h|0)!=0){l=c[m>>2]|0;if((l|0)!=(h|0)){c[m>>2]=l+(~((l-4+(-h|0)|0)>>>2)<<2)}iK(h)}if(j){i=e;return}iK(f);i=e;return}function wp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=b+4|0;b=d;d=a;while(1){if((b|0)==0){f=0;g=5;break}a=c[d+16>>2]|0;if((a|0)==0){f=0;g=5;break}if((c[(c[(c[a>>2]|0)-4>>2]|0)+4>>2]|0)==(c[e>>2]|0)){f=a;g=5;break}else{b=b-1|0;d=a}}if((g|0)==5){return f|0}return 0}function xp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=b+4|0;b=d;d=a;while(1){if((b|0)==0){f=0;g=5;break}a=c[d+16>>2]|0;if((a|0)==0){f=0;g=5;break}if((c[(c[(c[a>>2]|0)-4>>2]|0)+4>>2]|0)==(c[e>>2]|0)){f=d;g=5;break}else{b=b-1|0;d=a}}if((g|0)==5){return f|0}return 0}function yp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=c[a+8>>2]|0;e=b+4|0;b=c[a+4>>2]|0;while(1){if((b|0)==(d|0)){f=0;g=6;break}a=c[b>>2]|0;if((a|0)==0){g=4;break}if((c[(c[(c[a>>2]|0)-4>>2]|0)+4>>2]|0)==(c[e>>2]|0)){f=a;g=6;break}else{b=b+4|0}}if((g|0)==4){Lc();return 0}else if((g|0)==6){return f|0}return 0}function zp(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;d=c[a+16>>2]|0;if((d|0)==0){e=0;return e|0}f=c[d+4>>2]|0;g=c[d+8>>2]|0;if((f|0)==(g|0)){e=0;return e|0}d=b+4|0;if((b|0)==0){b=f;h=0;while(1){i=c[b>>2]|0;j=(i|0)==(a|0);if(!(j|h^1)){e=i;k=11;break}i=b+4|0;if((i|0)==(g|0)){e=0;k=11;break}else{b=i;h=j|h}}if((k|0)==11){return e|0}}else{l=f;m=0}while(1){f=c[l>>2]|0;h=(f|0)==(a|0);if(h|m^1){n=h|m}else{if((f|0)==0){k=8;break}if((c[(c[(c[f>>2]|0)-4>>2]|0)+4>>2]|0)==(c[d>>2]|0)){e=f;k=11;break}else{n=m}}f=l+4|0;if((f|0)==(g|0)){e=0;k=11;break}else{l=f;m=n}}if((k|0)==8){Lc();return 0}else if((k|0)==11){return e|0}return 0}function Ap(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;d=c[a+16>>2]|0;if((d|0)==0){e=0;return e|0}f=c[d+4>>2]|0;g=(b|0)==0;h=b+4|0;b=0;i=c[d+8>>2]|0;a:while(1){b:do{if(b){if(g){if((i|0)==(f|0)){e=0;j=15;break a}d=i-4|0;k=c[d>>2]|0;if((k|0)==(a|0)){l=d;m=1;break}else{e=k;j=15;break a}}else{n=i}while(1){if((n|0)==(f|0)){e=0;j=15;break a}k=n-4|0;d=c[k>>2]|0;if((d|0)==(a|0)){l=k;m=1;break b}if((d|0)==0){j=13;break a}if((c[(c[(c[d>>2]|0)-4>>2]|0)+4>>2]|0)==(c[h>>2]|0)){e=d;j=15;break a}else{n=k}}}else{if((i|0)==(f|0)){e=0;j=15;break a}k=i-4|0;l=k;m=(c[k>>2]|0)==(a|0)}}while(0);b=m|b;i=l}if((j|0)==13){Lc();return 0}else if((j|0)==15){return e|0}return 0}function Bp(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,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;g=i;i=i+64|0;h=g|0;j=g+16|0;k=g+32|0;l=g+48|0;m=b+12|0;if((c[m>>2]|0)==2){i=g;return}n=c[(c[b>>2]|0)+8>>2]|0;o=h|0;c[o>>2]=0;p=h+4|0;c[p>>2]=0;q=h+8|0;c[q>>2]=0;r=d+4|0;s=c[r>>2]|0;t=d|0;d=c[t>>2]|0;u=s-d|0;v=u>>2;do{if((v|0)!=0){if(v>>>0>1073741823>>>0){tG(0)}w=gK(u)|0;c[p>>2]=w;c[o>>2]=w;c[q>>2]=w+(v<<2);if((d|0)==(s|0)){break}else{x=d;y=w}do{if((y|0)==0){z=0}else{c[y>>2]=c[x>>2];z=c[p>>2]|0}y=z+4|0;c[p>>2]=y;x=x+4|0;}while((x|0)!=(s|0))}}while(0);td[n&63](b,a,h);h=c[o>>2]|0;if((h|0)!=0){o=c[p>>2]|0;if((o|0)!=(h|0)){c[p>>2]=o+(~((o-4+(-h|0)|0)>>>2)<<2)}iK(h)}if((c[m>>2]|0)==1){c[m>>2]=0;i=g;return}m=c[a+4>>2]|0;h=a+8|0;a:do{if((m|0)!=(c[h>>2]|0)){o=(f|0)==0;p=k|0;n=k+4|0;s=k+8|0;x=f+4|0;y=f+4|0;z=m;b:while(1){d=c[z>>2]|0;do{if(o){A=65}else{if((d|0)==0){A=31;break b}v=c[(c[d>>2]|0)-4>>2]|0;q=c[x>>2]|0;if((q|0)==0){A=65;break}else{B=q;C=y}c:while(1){q=B;while(1){D=q;if(!((c[q+16>>2]|0)>>>0>>0)){break}u=c[q+4>>2]|0;if((u|0)==0){E=C;break c}else{q=u}}u=c[q>>2]|0;if((u|0)==0){E=D;break}else{B=u;C=D}}if((E|0)==(y|0)){A=65;break}if(v>>>0<(c[E+16>>2]|0)>>>0){A=65;break}u=VJ(d,46112,45696,-1)|0;if((u|0)==0){A=40;break b}if((c[u+16>>2]|0)==(c[E+20>>2]|0)){A=42;break b}}}while(0);do{if((A|0)==65){A=0;u=c[(c[d>>2]|0)+32>>2]|0;c[p>>2]=0;c[n>>2]=0;c[s>>2]=0;w=c[r>>2]|0;F=c[t>>2]|0;G=w-F|0;H=G>>2;do{if((H|0)!=0){if(H>>>0>1073741823>>>0){A=67;break b}I=gK(G)|0;c[n>>2]=I;c[p>>2]=I;c[s>>2]=I+(H<<2);if((F|0)==(w|0)){break}else{J=F;K=I}do{if((K|0)==0){L=0}else{c[K>>2]=c[J>>2];L=c[n>>2]|0}K=L+4|0;c[n>>2]=K;J=J+4|0;}while((J|0)!=(w|0))}}while(0);$c[u&31](d,b,k,e,f);w=c[p>>2]|0;if((w|0)==0){break}F=c[n>>2]|0;if((F|0)!=(w|0)){c[n>>2]=F+(~((F-4+(-w|0)|0)>>>2)<<2)}iK(w)}}while(0);d=z+4|0;if((d|0)==(c[h>>2]|0)){break a}else{z=d}}if((A|0)==31){Lc()}else if((A|0)==40){yc(22360,16624,479,23328)}else if((A|0)==42){n=c[z>>2]|0;p=c[(c[n>>2]|0)+32>>2]|0;s=j|0;c[s>>2]=0;y=j+4|0;c[y>>2]=0;x=j+8|0;c[x>>2]=0;o=c[r>>2]|0;d=c[t>>2]|0;w=o-d|0;F=w>>2;do{if((F|0)!=0){if(F>>>0>1073741823>>>0){tG(0)}H=gK(w)|0;c[y>>2]=H;c[s>>2]=H;c[x>>2]=H+(F<<2);if((d|0)==(o|0)){break}else{M=d;N=H}do{if((N|0)==0){O=0}else{c[N>>2]=c[M>>2];O=c[y>>2]|0}N=O+4|0;c[y>>2]=N;M=M+4|0;}while((M|0)!=(o|0))}}while(0);$c[p&31](n,b,j,e,f);o=c[s>>2]|0;if((o|0)==0){break}d=c[y>>2]|0;if((d|0)!=(o|0)){c[y>>2]=d+(~((d-4+(-o|0)|0)>>>2)<<2)}iK(o);break}else if((A|0)==67){tG(0)}}}while(0);if((e|0)==0){i=g;return}A=c[(c[e>>2]|0)+8>>2]|0;f=l|0;c[f>>2]=0;j=l+4|0;c[j>>2]=0;b=l+8|0;c[b>>2]=0;M=c[r>>2]|0;r=c[t>>2]|0;t=M-r|0;N=t>>2;do{if((N|0)!=0){if(N>>>0>1073741823>>>0){tG(0)}O=gK(t)|0;c[j>>2]=O;c[f>>2]=O;c[b>>2]=O+(N<<2);if((r|0)==(M|0)){break}else{P=r;Q=O}do{if((Q|0)==0){R=0}else{c[Q>>2]=c[P>>2];R=c[j>>2]|0}Q=R+4|0;c[j>>2]=Q;P=P+4|0;}while((P|0)!=(M|0))}}while(0);td[A&63](e,a,l);l=c[f>>2]|0;if((l|0)==0){i=g;return}f=c[j>>2]|0;if((f|0)!=(l|0)){c[j>>2]=f+(~((f-4+(-l|0)|0)>>>2)<<2)}iK(l);i=g;return}function Cp(b){b=b|0;c[b+96>>2]=65535;c[b+100>>2]=65535;c[b+104>>2]=-65535;c[b+108>>2]=-65535;c[b+112>>2]=65535;c[b+116>>2]=65535;c[b+120>>2]=-65535;c[b+124>>2]=-65535;a[b+84|0]=0;return}function Dp(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+16|0;f=e|0;g=b|0;h=d;if((a[h]&1)==0){j=f;c[j>>2]=c[h>>2];c[j+4>>2]=c[h+4>>2];c[j+8>>2]=c[h+8>>2]}else{h=c[d+8>>2]|0;j=c[d+4>>2]|0;if(j>>>0>4294967279>>>0){GA(0)}if(j>>>0<11>>>0){a[f]=j<<1;k=f+1|0}else{d=j+16&-16;l=gK(d)|0;c[f+8>>2]=l;c[f>>2]=d|1;c[f+4>>2]=j;k=l}BK(k|0,h|0,j)|0;a[k+j|0]=0}Yo(g,f);if(!((a[f]&1)==0)){iK(c[f+8>>2]|0)}c[b>>2]=28720;c[b+96>>2]=65535;c[b+100>>2]=65535;c[b+104>>2]=-65535;c[b+108>>2]=-65535;c[b+112>>2]=65535;c[b+116>>2]=65535;c[b+120>>2]=-65535;c[b+124>>2]=-65535;a[b+84|0]=0;i=e;return}function Ep(a){a=a|0;ep(a|0);iK(a);return}function Fp(a){a=a|0;var b=0;b=a+16|0;a=c[b>>2]|0;if((a|0)==0){return}if((VJ(a,46112,45648,-1)|0)==0){return}a=c[b>>2]|0;ad[c[(c[a>>2]|0)+148>>2]&2047](a);return}function Gp(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;h=c[b+92>>2]|0;i=((f|0)<(d|0)?f:d)-h|0;j=((d|0)<(f|0)?f:d)-h|0;h=c[b+88>>2]|0;d=((g|0)<(e|0)?g:e)-h|0;f=((e|0)<(g|0)?g:e)-h|0;h=b+96|0;if((c[h>>2]|0)>(i|0)){c[h>>2]=i}i=b+100|0;if((c[i>>2]|0)>(d|0)){c[i>>2]=d}d=b+104|0;if((c[d>>2]|0)<(j|0)){c[d>>2]=j}j=b+108|0;if((c[j>>2]|0)>=(f|0)){k=b+84|0;a[k]=1;return}c[j>>2]=f;k=b+84|0;a[k]=1;return}function Hp(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;h=c[b+92>>2]|0;i=((f|0)<(d|0)?f:d)-h|0;j=((d|0)<(f|0)?f:d)-h|0;h=c[b+88>>2]|0;d=((g|0)<(e|0)?g:e)-h|0;f=((e|0)<(g|0)?g:e)-h|0;h=b+112|0;if((c[h>>2]|0)>(i|0)){c[h>>2]=i}i=b+116|0;if((c[i>>2]|0)>(d|0)){c[i>>2]=d}d=b+120|0;if((c[d>>2]|0)<(j|0)){c[d>>2]=j}j=b+124|0;if((c[j>>2]|0)>=(f|0)){k=b+84|0;a[k]=1;return}c[j>>2]=f;k=b+84|0;a[k]=1;return}function Ip(a,b){a=a|0;b=b|0;var d=0;c[a>>2]=35632;b=a+4|0;d=b;c[b>>2]=d;c[a+8>>2]=d;c[a+12>>2]=0;return}function Jp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;if((a|0)==(b|0)){return a|0}b=a+4|0;d=a+12|0;if((c[d>>2]|0)==0){return a|0}e=c[a+8>>2]|0;f=b;g=(c[b>>2]|0)+4|0;b=e|0;c[(c[b>>2]|0)+4>>2]=c[g>>2];c[c[g>>2]>>2]=c[b>>2];c[d>>2]=0;if((e|0)==(f|0)){return a|0}else{h=e}while(1){e=c[h+4>>2]|0;iK(h);if((e|0)==(f|0)){break}else{h=e}}return a|0}function Kp(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=d+68|0;if((a[e]|0)==0){return}f=b+4|0;g=b+12|0;do{if((c[g>>2]|0)!=0){h=c[b+8>>2]|0;i=f;j=(c[f>>2]|0)+4|0;k=h|0;c[(c[k>>2]|0)+4>>2]=c[j>>2];c[c[j>>2]>>2]=c[k>>2];c[g>>2]=0;if((h|0)==(i|0)){break}else{l=h}while(1){h=c[l+4>>2]|0;iK(l);if((h|0)==(i|0)){break}else{l=h}}}}while(0);vp(d,f);ad[c[(c[b>>2]|0)+8>>2]&2047](b);a[e]=0;return}function Lp(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=d+68|0;f=b+4|0;if((a[e]|0)==0){return f|0}g=b+12|0;do{if((c[g>>2]|0)!=0){h=c[b+8>>2]|0;i=f;j=(c[f>>2]|0)+4|0;k=h|0;c[(c[k>>2]|0)+4>>2]=c[j>>2];c[c[j>>2]>>2]=c[k>>2];c[g>>2]=0;if((h|0)==(i|0)){break}else{l=h}while(1){h=c[l+4>>2]|0;iK(l);if((h|0)==(i|0)){break}else{l=h}}}}while(0);vp(d,f);ad[c[(c[b>>2]|0)+8>>2]&2047](b);a[e]=0;return f|0}function Mp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=c[a+8>>2]|0;e=a+4|0;if((d|0)==(e|0)){f=-1;return f|0}else{g=0;h=d}while(1){if((c[h+8>>2]|0)==(b|0)){f=g;i=4;break}d=c[h+4>>2]|0;if((d|0)==(e|0)){f=-1;i=4;break}else{g=g+1|0;h=d}}if((i|0)==4){return f|0}return 0}function Np(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=c[a+8>>2]|0;e=a+4|0;if((d|0)==(e|0)){f=0;return f|0}else{g=0;h=d}while(1){if((c[h+8>>2]|0)==(b|0)){break}d=c[h+4>>2]|0;if((d|0)==(e|0)){f=0;i=6;break}else{g=g+1|0;h=d}}if((i|0)==6){return f|0}if((g|0)<=0){f=0;return f|0}f=c[(c[h>>2]|0)+8>>2]|0;return f|0}function Op(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=i;f=d;d=i;i=i+8|0;c[d>>2]=c[f>>2];c[d+4>>2]=c[f+4>>2];f=c[d>>2]|0;g=c[d+4>>2]|0;c[b>>2]=30784;c[b+12>>2]=0;a[b+16|0]=0;d=b+4|0;c[d>>2]=f;c[d+4>>2]=g;i=e;return}function Pp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;e=i;i=i+16|0;f=e|0;g=a+4|0;h=b+(c[g+4>>2]|0)|0;b=h;j=c[g>>2]|0;if((j&1|0)==0){k=j}else{k=c[(c[h>>2]|0)+(j-1)>>2]|0}j=f|0;c[j>>2]=0;h=f+4|0;c[h>>2]=0;g=f+8|0;c[g>>2]=0;l=c[d+4>>2]|0;m=c[d>>2]|0;d=l-m|0;n=d>>2;do{if((n|0)!=0){if(n>>>0>1073741823>>>0){tG(0)}o=gK(d)|0;c[h>>2]=o;c[j>>2]=o;c[g>>2]=o+(n<<2);if((m|0)==(l|0)){break}else{p=m;q=o}do{if((q|0)==0){r=0}else{c[q>>2]=c[p>>2];r=c[h>>2]|0}q=r+4|0;c[h>>2]=q;p=p+4|0;}while((p|0)!=(l|0))}}while(0);c[a+12>>2]=qd[k&255](b,f)|0;f=c[j>>2]|0;if((f|0)==0){i=e;return}j=c[h>>2]|0;if((j|0)!=(f|0)){c[h>>2]=j+(~((j-4+(-f|0)|0)>>>2)<<2)}iK(f);i=e;return}function Qp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=c[c[c[b>>2]>>2]>>2]|0;b=gK(12)|0;e=b;f=b+8|0;if((f|0)!=0){c[f>>2]=a}a=d|0;c[(c[a>>2]|0)+4>>2]=e;c[b>>2]=c[a>>2];c[a>>2]=e;c[b+4>>2]=d;b=d+8|0;c[b>>2]=(c[b>>2]|0)+1;return 0}function Rp(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;e=i;i=i+16|0;f=e|0;g=c[d>>2]|0;d=c[g+4>>2]|0;if((c[d>>2]|0)!=0){h=2;i=e;return h|0}j=c[g>>2]|0;g=b+32|0;if((a[g]&1)==0){k=f;c[k>>2]=c[g>>2];c[k+4>>2]=c[g+4>>2];c[k+8>>2]=c[g+8>>2]}else{g=c[b+40>>2]|0;k=c[b+36>>2]|0;if(k>>>0>4294967279>>>0){GA(0);return 0}if(k>>>0<11>>>0){a[f]=k<<1;l=f+1|0}else{m=k+16&-16;n=gK(m)|0;c[f+8>>2]=n;c[f>>2]=m|1;c[f+4>>2]=k;l=n}BK(l|0,g|0,k)|0;a[l+k|0]=0}k=a[j]|0;l=(k&1)==0;if(l){o=(k&255)>>>1}else{o=c[j+4>>2]|0}k=a[f]|0;g=(k&1)==0;if(g){p=(k&255)>>>1}else{p=c[f+4>>2]|0}a:do{if((o|0)==(p|0)){if(l){q=j+1|0}else{q=c[j+8>>2]|0}if(g){r=f+1|0}else{r=c[f+8>>2]|0}if(!l){s=(xK(q,r,o)|0)==0;break}if((o|0)==0){s=1;break}else{t=q;u=r;v=o}while(1){if((a[t]|0)!=(a[u]|0)){s=0;break a}k=v-1|0;if((k|0)==0){s=1;break}else{t=t+1|0;u=u+1|0;v=k}}}else{s=0}}while(0);if(!g){iK(c[f+8>>2]|0)}if(!s){h=0;i=e;return h|0}c[d>>2]=b;h=2;i=e;return h|0}function Sp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=c[b>>2]|0;b=c[d>>2]|0;e=c[d+4>>2]|0;if((c[e>>2]|0)!=0){f=2;return f|0}if((a|0)==0){Lc();return 0}if((c[(c[(c[a>>2]|0)-4>>2]|0)+4>>2]|0)!=(c[(c[b>>2]|0)+4>>2]|0)){f=0;return f|0}c[e>>2]=a;f=2;return f|0}function Tp(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=c[b>>2]|0;b=c[d>>2]|0;e=b;f=c[d+4>>2]|0;if((b|0)==0){yc(20328,16624,787,23392);return 0}if((a|0)==0){return 0}d=a;a=VJ(d,46112,46448,-1)|0;if((a|0)!=0){g=a;h=c[a+16>>2]|0;i=c[h+4>>2]|0;j=c[h+8>>2]|0;a:do{if((i|0)==(j|0)){k=10}else{h=i;l=0;while(1){if((c[h>>2]|0)==(g|0)){break}m=h+4|0;if((m|0)==(j|0)){k=10;break a}else{h=m;l=l+1|0}}if((l|0)!=0){k=10;break}Rs(e,1,1,1,1)}}while(0);if((k|0)==10){Rs(e,1,1,0,0)}k=a+156|0;cp(k,b)|0;zs(a+240|0,b+84|0)|0;if((k|0)==(b|0)){return 0}k=a+264|0;j=a+272|0;if((c[j>>2]|0)==0){return 0}g=c[a+268>>2]|0;a=k;i=(c[k>>2]|0)+4|0;k=g|0;c[(c[k>>2]|0)+4>>2]=c[i>>2];c[c[i>>2]>>2]=c[k>>2];c[j>>2]=0;if((g|0)==(a|0)){return 0}else{n=g}while(1){g=c[n+4>>2]|0;iK(n);if((g|0)==(a|0)){break}else{n=g}}return 0}if((VJ(d,46112,46096,-1)|0)!=0){Rs(e,1,1,0,0);return 0}n=VJ(d,46112,45792,-1)|0;if((n|0)!=0){a=c[n+88>>2]|0;if((a|0)==0){o=0}else{vs(b+84|0,a);o=1}a=c[n+92>>2]|0;if((a|0)==0){p=0}else{ws(b+84|0,a);p=1}a=c[n+96>>2]|0;if((a|0)==0){q=0}else{xs(b+84|0,a);q=1}a=c[n+100>>2]|0;if((a|0)==0){r=0}else{ys(b+84|0,a);r=1}Rs(e,o,p,q,r);return 0}r=VJ(d,46112,46256,-1)|0;if((r|0)!=0){c[f>>2]=Os(e,c[r+144>>2]|0)|0;return 0}r=VJ(d,46112,46304,-1)|0;q=r;if((r|0)!=0){p=c[r+16>>2]|0;o=c[p+8>>2]|0;a=c[p+4>>2]|0;b:do{if((o-a|0)>4){p=r;c:do{if((a|0)!=(o|0)){b=a;n=0;while(1){if((c[b>>2]|0)==(p|0)){break}g=b+4|0;if((g|0)==(o|0)){break c}else{b=g;n=n+1|0}}if((n|0)!=0){break}c[r+396>>2]=1;break b}}while(0);c[r+396>>2]=2}}while(0);um(q,e,c[f>>2]|0);return 0}e=VJ(d,46112,46528,-1)|0;if((e|0)!=0){q=c[f>>2]|0;if((q|0)==0){yc(19408,16624,864,23392);return 0}vs(q+84|0,e);return 0}e=VJ(d,46112,46176,-1)|0;if((e|0)==0){return 0}d=c[f>>2]|0;if((d|0)==0){yc(19408,16624,872,23392);return 0}ws(d+84|0,e);return 0}function Up(a,b){a=a|0;b=b|0;ad[c[(c[a>>2]|0)+24>>2]&2047](a);return 0}function Vp(a,b){a=a|0;b=b|0;ad[c[(c[a>>2]|0)+28>>2]&2047](a);return 0}function Wp(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;e=i;i=i+96|0;f=e|0;g=e+16|0;h=e+32|0;j=e+48|0;k=e+64|0;l=e+80|0;m=d|0;n=c[m>>2]|0;o=c[n>>2]|0;p=c[n+4>>2]|0;if((b|0)==0){i=e;return 0}n=b;b=VJ(n,46112,45976,-1)|0;if((b|0)!=0){c[p>>2]=0;c[o>>2]=0;if((c[b+444>>2]|0)==0){i=e;return 0}p=b+276|0;b=p;q=c[(c[p>>2]|0)+76>>2]|0;p=f|0;c[p>>2]=0;r=f+4|0;c[r>>2]=0;s=f+8|0;c[s>>2]=0;t=c[d+4>>2]|0;u=c[m>>2]|0;v=t-u|0;w=v>>2;do{if((w|0)!=0){if(w>>>0>1073741823>>>0){tG(0);return 0}x=gK(v)|0;c[r>>2]=x;c[p>>2]=x;c[s>>2]=x+(w<<2);if((u|0)==(t|0)){break}else{y=u;z=x}do{if((z|0)==0){A=0}else{c[z>>2]=c[y>>2];A=c[r>>2]|0}z=A+4|0;c[r>>2]=z;y=y+4|0;}while((y|0)!=(t|0))}}while(0);qd[q&255](b,f)|0;f=c[p>>2]|0;if((f|0)==0){i=e;return 0}p=c[r>>2]|0;if((p|0)!=(f|0)){c[r>>2]=p+(~((p-4+(-f|0)|0)>>>2)<<2)}iK(f);i=e;return 0}f=VJ(n,46112,46304,-1)|0;if((f|0)==0){p=VJ(n,46112,47328,-1)|0;n=p;if((p|0)==0){i=e;return 0}r=p+156|0;b=c[r>>2]|0;if((b|0)==0){yc(18880,16624,952,23368);return 0}if((a[p+84|0]|0)==0){kf(b,c[o>>2]|0);i=e;return 0}if(Nm(n)|0){i=e;return 0}if(Pm(n)|0){i=e;return 0}if(Qm(n)|0){i=e;return 0}if(Om(n)|0){i=e;return 0}b=c[p+96>>2]|0;q=-b|0;do{if((b|0)>0){bd[c[(c[p>>2]|0)+20>>2]&255](l,p);t=l;if((a[t]&1)==0){B=l+1|0}else{B=c[l+8>>2]|0}$d(18256,(y=i,i=i+16|0,c[y>>2]=B,c[y+8>>2]=q,y)|0);i=y;if((a[t]&1)==0){C=0;break}iK(c[l+8>>2]|0);C=0}else{C=q}}while(0);q=c[r>>2]|0;l=c[q+84>>2]|0;B=c[o>>2]|0;if((l-C|0)<(B|0)){lf(q,C-l+B|0);D=c[(c[r>>2]|0)+84>>2]|0}else{D=l}l=p+104|0;B=(c[l>>2]|0)+D|0;D=p;c[o>>2]=B+(dd[c[(c[D>>2]|0)+152>>2]&255](n)|0);B=c[r>>2]|0;r=c[l>>2]|0;mf(B,(dd[c[(c[D>>2]|0)+152>>2]&255](n)|0)+r|0);i=e;return 0}c[o>>2]=0;r=-1;n=f;while(1){if((r|0)==0){break}E=c[n+16>>2]|0;if((E|0)==0){break}if((c[(c[(c[E>>2]|0)-4>>2]|0)+4>>2]|0)==42360){F=32;break}else{r=r-1|0;n=E}}do{if((F|0)==32){n=VJ(E,46112,46688,-1)|0;if((n|0)==0){break}c[o>>2]=c[n+280>>2]}}while(0);o=c[f+188>>2]|0;do{if((o|0)!=0){E=o|0;F=c[(c[o>>2]|0)+76>>2]|0;n=g|0;c[n>>2]=0;r=g+4|0;c[r>>2]=0;D=g+8|0;c[D>>2]=0;B=c[d+4>>2]|0;l=c[m>>2]|0;p=B-l|0;C=p>>2;do{if((C|0)!=0){if(C>>>0>1073741823>>>0){tG(0);return 0}q=gK(p)|0;c[r>>2]=q;c[n>>2]=q;c[D>>2]=q+(C<<2);if((l|0)==(B|0)){break}else{G=l;H=q}do{if((H|0)==0){I=0}else{c[H>>2]=c[G>>2];I=c[r>>2]|0}H=I+4|0;c[r>>2]=H;G=G+4|0;}while((G|0)!=(B|0))}}while(0);qd[F&255](E,g)|0;B=c[n>>2]|0;if((B|0)==0){break}l=c[r>>2]|0;if((l|0)!=(B|0)){c[r>>2]=l+(~((l-4+(-B|0)|0)>>>2)<<2)}iK(B)}}while(0);g=c[f+192>>2]|0;do{if((g|0)!=0){G=g|0;H=c[(c[g>>2]|0)+76>>2]|0;I=h|0;c[I>>2]=0;o=h+4|0;c[o>>2]=0;B=h+8|0;c[B>>2]=0;l=c[d+4>>2]|0;C=c[m>>2]|0;D=l-C|0;p=D>>2;do{if((p|0)!=0){if(p>>>0>1073741823>>>0){tG(0);return 0}q=gK(D)|0;c[o>>2]=q;c[I>>2]=q;c[B>>2]=q+(p<<2);if((C|0)==(l|0)){break}else{J=C;K=q}do{if((K|0)==0){L=0}else{c[K>>2]=c[J>>2];L=c[o>>2]|0}K=L+4|0;c[o>>2]=K;J=J+4|0;}while((J|0)!=(l|0))}}while(0);qd[H&255](G,h)|0;l=c[I>>2]|0;if((l|0)==0){break}C=c[o>>2]|0;if((C|0)!=(l|0)){c[o>>2]=C+(~((C-4+(-l|0)|0)>>>2)<<2)}iK(l)}}while(0);h=c[f+196>>2]|0;do{if((h|0)!=0){J=h|0;K=c[(c[h>>2]|0)+76>>2]|0;L=j|0;c[L>>2]=0;g=j+4|0;c[g>>2]=0;l=j+8|0;c[l>>2]=0;C=c[d+4>>2]|0;p=c[m>>2]|0;B=C-p|0;D=B>>2;do{if((D|0)!=0){if(D>>>0>1073741823>>>0){tG(0);return 0}r=gK(B)|0;c[g>>2]=r;c[L>>2]=r;c[l>>2]=r+(D<<2);if((p|0)==(C|0)){break}else{M=p;N=r}do{if((N|0)==0){O=0}else{c[N>>2]=c[M>>2];O=c[g>>2]|0}N=O+4|0;c[g>>2]=N;M=M+4|0;}while((M|0)!=(C|0))}}while(0);qd[K&255](J,j)|0;C=c[L>>2]|0;if((C|0)==0){break}p=c[g>>2]|0;if((p|0)!=(C|0)){c[g>>2]=p+(~((p-4+(-C|0)|0)>>>2)<<2)}iK(C)}}while(0);j=c[f+200>>2]|0;if((j|0)==0){i=e;return 0}f=j|0;M=c[(c[j>>2]|0)+76>>2]|0;j=k|0;c[j>>2]=0;N=k+4|0;c[N>>2]=0;O=k+8|0;c[O>>2]=0;h=c[d+4>>2]|0;d=c[m>>2]|0;m=h-d|0;C=m>>2;do{if((C|0)!=0){if(C>>>0>1073741823>>>0){tG(0);return 0}p=gK(m)|0;c[N>>2]=p;c[j>>2]=p;c[O>>2]=p+(C<<2);if((d|0)==(h|0)){break}else{P=d;Q=p}do{if((Q|0)==0){R=0}else{c[Q>>2]=c[P>>2];R=c[N>>2]|0}Q=R+4|0;c[N>>2]=Q;P=P+4|0;}while((P|0)!=(h|0))}}while(0);qd[M&255](f,k)|0;k=c[j>>2]|0;if((k|0)==0){i=e;return 0}j=c[N>>2]|0;if((j|0)!=(k|0)){c[N>>2]=j+(~((j-4+(-k|0)|0)>>>2)<<2)}iK(k);i=e;return 0}function Xp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;d=i;i=i+16|0;e=d|0;f=b|0;g=c[f>>2]|0;h=c[g>>2]|0;j=c[g+4>>2]|0;if((a|0)==0){i=d;return 0}g=a;a=VJ(g,46112,45976,-1)|0;if((a|0)==0){if((VJ(g,46112,46304,-1)|0)==0){i=d;return 0}g=c[j>>2]|0;k=c[h>>2]|0;c[j>>2]=(g|0)<(k|0)?k:g;i=d;return 0}c[h>>2]=c[j>>2];if((c[a+620>>2]|0)==0){i=d;return 0}j=a+452|0;a=j;h=c[(c[j>>2]|0)+76>>2]|0;j=e|0;c[j>>2]=0;g=e+4|0;c[g>>2]=0;k=e+8|0;c[k>>2]=0;l=c[b+4>>2]|0;b=c[f>>2]|0;f=l-b|0;m=f>>2;do{if((m|0)!=0){if(m>>>0>1073741823>>>0){tG(0);return 0}n=gK(f)|0;c[g>>2]=n;c[j>>2]=n;c[k>>2]=n+(m<<2);if((b|0)==(l|0)){break}else{o=b;p=n}do{if((p|0)==0){q=0}else{c[p>>2]=c[o>>2];q=c[g>>2]|0}p=q+4|0;c[g>>2]=p;o=o+4|0;}while((o|0)!=(l|0))}}while(0);qd[h&255](a,e)|0;e=c[j>>2]|0;if((e|0)==0){i=d;return 0}j=c[g>>2]|0;if((j|0)!=(e|0)){c[g>>2]=j+(~((j-4+(-e|0)|0)>>>2)<<2)}iK(e);i=d;return 0}function Yp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=c[b>>2]|0;b=c[d>>2]|0;e=c[d+4>>2]|0;if((a|0)==0){f=0;return f|0}d=a;if((VJ(d,46112,46096,-1)|0)!=0){c[e>>2]=0;c[b>>2]=0;f=0;return f|0}if((VJ(d,46112,45976,-1)|0)!=0){c[b>>2]=0;f=0;return f|0}e=VJ(d,46112,46256,-1)|0;if((e|0)==0){f=0;return f|0}d=e+172|0;a=c[d>>2]|0;if((a|0)==0){yc(18880,16624,1072,23344);return 0}g=c[e+108>>2]|0;h=(g|0)<0?0:-g|0;g=c[a+84>>2]|0;i=c[b>>2]|0;if((g-h|0)>(i|0)){_e(a,i-g+h|0);j=c[d>>2]|0}else{j=a}a=e+100|0;c[b>>2]=c[a>>2];$e(j,c[a>>2]|0);f=1;return f|0}function Zp(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[b>>2]|0;b=c[d>>2]|0;e=c[d+4>>2]|0;if((a|0)==0){return 0}if((VJ(a,46112,45976,-1)|0)==0){return 0}a=c[b>>2]|0;b=c[e>>2]|0;c[e>>2]=(a|0)<(b|0)?a:b;return 0}function _p(a){a=a|0;iK(a);return}function $p(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;i=i+16|0;e=d|0;f=e;a[f]=10;g=e;h=g+1|0;a[h]=a[17016]|0;a[h+1|0]=a[17017]|0;a[h+2|0]=a[17018]|0;a[h+3|0]=a[17019]|0;a[h+4|0]=a[17020]|0;a[g+6|0]=0;Dp(b|0,e);if(!((a[f]&1)==0)){iK(c[e+8>>2]|0)}c[b>>2]=33744;DK(b+144|0,0,12)|0;Es(b+156|0);ad[c[(c[b>>2]|0)+8>>2]&2047](b);i=d;return}function aq(b){b=b|0;c[b>>2]=33744;Is(b+156|0);if(!((a[b+144|0]&1)==0)){iK(c[b+152>>2]|0)}ep(b|0);iK(b);return}function bq(b){b=b|0;var d=0;c[b>>2]=33744;Is(b+156|0);if((a[b+144|0]&1)==0){d=b|0;ep(d);return}iK(c[b+152>>2]|0);d=b|0;ep(d);return}function cq(d){d=d|0;var e=0;e=d|0;$o(e);Ls(d+156|0);a[d+276|0]=0;tp(e);c[d+132>>2]=-1;c[d+128>>2]=-1;b[d+136>>1]=0;b[d+138>>1]=0;b[d+140>>1]=0;return}function dq(a,b){a=a|0;b=b|0;var d=0;d=c[c[b>>2]>>2]|0;b=qd[c[(c[d>>2]|0)+16>>2]&255](d,a)|0;return(b?0:2)|0}function eq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+8|0;e=d|0;f=b|0;b=a|0;bp(f,b);c[e>>2]=f;g=a+8|0;h=c[g>>2]|0;if((h|0)==(c[a+12>>2]|0)){xf(a+4|0,e);ap(b,1);i=d;return}if((h|0)==0){j=0}else{c[h>>2]=f;j=c[g>>2]|0}c[g>>2]=j+4;ap(b,1);i=d;return}function fq(b,c){b=b|0;c=c|0;var d=0;d=b+276|0;if(!((a[d]|0)==0|c)){return}gq(b);hq(b);iq(b);a[d]=1;return}function gq(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,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,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0;b=i;i=i+624|0;d=b|0;e=b+8|0;f=b+16|0;g=b+40|0;j=b+48|0;k=b+64|0;l=b+72|0;m=b+80|0;n=b+104|0;o=b+112|0;p=b+128|0;q=b+296|0;r=b+392|0;s=b+400|0;t=b+408|0;u=b+432|0;v=b+440|0;w=b+464|0;x=b+472|0;y=b+488|0;z=b+496|0;A=b+520|0;B=b+528|0;C=b+544|0;D=b+568|0;E=b+576|0;F=b+600|0;G=b+608|0;H=a|0;I=a+16|0;J=c[I>>2]|0;if((J|0)==0){yc(20480,16552,128,24416)}if((VJ(J,46112,46688,-1)|0)==0){yc(20480,16552,128,24416)}J=VJ(c[I>>2]|0,46112,46688,-1)|0;I=J;if((c[J+276>>2]|0)!=(a|0)){yc(13976,16552,135,24416)}c[d>>2]=0;h[e>>3]=0.0;J=d;d=gK(4)|0;K=(d|0)==0;if(!K){c[d>>2]=J}L=gK(8)|0;M=L;N=L+4|0;O=L+8|0;if((N|0)!=0){c[N>>2]=e}c[M>>2]=J;if(!K){iK(d)}c[g>>2]=57;c[g+4>>2]=0;Op(f,g);g=a;a=c[(c[g>>2]|0)+32>>2]|0;d=j|0;c[d>>2]=0;K=j+4|0;c[K>>2]=0;J=j+8|0;c[J>>2]=0;e=L;N=gK(8)|0;P=N;c[K>>2]=P;c[d>>2]=P;c[J>>2]=N+8;if((N|0)==0){Q=0}else{c[P>>2]=c[M>>2];Q=P}P=Q+4|0;c[K>>2]=P;if((P|0)==0){R=0}else{c[P>>2]=c[L+4>>2];R=c[K>>2]|0}c[K>>2]=R+4;$c[a&31](H,f,j,0,0);j=c[d>>2]|0;if((j|0)!=0){d=c[K>>2]|0;if((d|0)!=(j|0)){c[K>>2]=d+(~((d-4+(-j|0)|0)>>>2)<<2)}iK(j)}j=O+(~((L+(4-e)|0)>>>2)<<2)|0;h[k>>3]=0.0;c[l>>2]=0;e=k;do{if((j|0)==(O|0)){k=gK(16)|0;d=k+8|0;if((d|0)!=0){c[d>>2]=e}d=L;K=k;f=c[d+4>>2]|0;c[K>>2]=c[d>>2];c[K+4>>2]=f;if((L|0)!=0){iK(L)}S=k+16|0;T=k+12|0;U=k;V=l;W=38}else{if((j|0)==0){X=0}else{c[j>>2]=e;X=j}k=X+4|0;f=l;if((k|0)!=(O|0)){S=O;T=k;U=M;V=f;W=38;break}if(0){tG(0)}if(1){if(0){Y=0;Z=0}else{_=4;W=46}}else{_=1073741823;W=46}if((W|0)==46){Y=gK(_<<2)|0;Z=_}k=Y+8|0;K=Y+(Z<<2)|0;if((k|0)!=0){c[k>>2]=f}f=Y+12|0;k=L;d=Y;a=c[k+4>>2]|0;c[d>>2]=c[k>>2];c[d+4>>2]=a;if((L|0)==0){$=Y;aa=f;ba=K;break}iK(L);$=Y;aa=f;ba=K}}while(0);if((W|0)==38){if((T|0)==0){ca=0}else{c[T>>2]=V;ca=T}$=U;aa=ca+4|0;ba=S}c[n>>2]=73;c[n+4>>2]=0;Op(m,n);n=m;do{if((aa|0)==(ba|0)){S=ba-$|0;ca=S>>2;U=ca+1|0;if(U>>>0>1073741823>>>0){tG(0)}if(ca>>>0<536870911>>>0){T=S>>1;V=T>>>0>>0?U:T;if((V|0)==0){da=0;ea=0}else{fa=V;W=62}}else{fa=1073741823;W=62}if((W|0)==62){da=gK(fa<<2)|0;ea=fa}V=da+(ca<<2)|0;ca=da+(ea<<2)|0;if((V|0)!=0){c[V>>2]=n}V=da+(U<<2)|0;U=$;BK(da|0,U|0,S)|0;if(($|0)==0){ga=da;ha=V;ia=ca;break}iK(U);ga=da;ha=V;ia=ca}else{if((aa|0)==0){ja=0}else{c[aa>>2]=n;ja=aa}ga=$;ha=ja+4|0;ia=ba}}while(0);ba=c[(c[g>>2]|0)+32>>2]|0;ja=o|0;c[ja>>2]=0;$=o+4|0;c[$>>2]=0;aa=o+8|0;c[aa>>2]=0;n=ga;da=ha-n|0;ea=da>>2;do{if((ea|0)!=0){if(ea>>>0>1073741823>>>0){tG(0)}fa=gK(da)|0;c[$>>2]=fa;c[ja>>2]=fa;c[aa>>2]=fa+(ea<<2);if((ga|0)==(ha|0)){break}else{ka=ga;la=fa}do{if((la|0)==0){ma=0}else{c[la>>2]=c[ka>>2];ma=c[$>>2]|0}la=ma+4|0;c[$>>2]=la;ka=ka+4|0;}while((ka|0)!=(ha|0))}}while(0);$c[ba&31](H,m,o,0,0);o=c[ja>>2]|0;if((o|0)!=0){ja=c[$>>2]|0;if((ja|0)!=(o|0)){c[$>>2]=ja+(~((ja-4+(-o|0)|0)>>>2)<<2)}iK(o)}Aq(p);Kg(q,p,0,0);Dq(p,I);Eq(p,kp(H)|0,0);Er(p,q|0,0);if((ha|0)==(ga|0)){na=ha}else{na=ha+(~((ha-4+(-n|0)|0)>>>2)<<2)|0}c[r>>2]=0;c[s>>2]=0;ha=r;do{if((na|0)==(ia|0)){r=ia-n|0;I=r>>2;o=I+1|0;if(o>>>0>1073741823>>>0){tG(0)}if(I>>>0<536870911>>>0){ja=r>>1;$=ja>>>0>>0?o:ja;if(($|0)==0){oa=0;pa=0}else{qa=$;W=103}}else{qa=1073741823;W=103}if((W|0)==103){oa=gK(qa<<2)|0;pa=qa}$=oa+(I<<2)|0;I=oa+(pa<<2)|0;if(($|0)!=0){c[$>>2]=ha}$=oa+(o<<2)|0;o=ga;BK(oa|0,o|0,r)|0;if((ga|0)==0){ra=oa;sa=$;ta=I;break}iK(o);ra=oa;sa=$;ta=I}else{if((na|0)==0){ua=0}else{c[na>>2]=ha;ua=na}ra=ga;sa=ua+4|0;ta=ia}}while(0);ia=s;do{if((sa|0)==(ta|0)){s=ta-ra|0;ua=s>>2;ga=ua+1|0;if(ga>>>0>1073741823>>>0){tG(0)}if(ua>>>0<536870911>>>0){na=s>>1;ha=na>>>0>>0?ga:na;if((ha|0)==0){va=0;wa=0}else{xa=ha;W=118}}else{xa=1073741823;W=118}if((W|0)==118){va=gK(xa<<2)|0;wa=xa}ha=va+(ua<<2)|0;ua=va+(wa<<2)|0;if((ha|0)!=0){c[ha>>2]=ia}ha=va+(ga<<2)|0;ga=ra;BK(va|0,ga|0,s)|0;if((ra|0)==0){ya=va;za=ha;Aa=ua;break}iK(ga);ya=va;za=ha;Aa=ua}else{if((sa|0)==0){Ba=0}else{c[sa>>2]=ia;Ba=sa}ya=ra;za=Ba+4|0;Aa=ta}}while(0);c[u>>2]=77;c[u+4>>2]=0;Op(t,u);c[w>>2]=81;c[w+4>>2]=0;Op(v,w);w=c[(c[g>>2]|0)+32>>2]|0;u=x|0;c[u>>2]=0;ta=x+4|0;c[ta>>2]=0;Ba=x+8|0;c[Ba>>2]=0;ra=ya;sa=za-ra|0;ia=sa>>2;do{if((ia|0)!=0){if(ia>>>0>1073741823>>>0){tG(0)}va=gK(sa)|0;c[ta>>2]=va;c[u>>2]=va;c[Ba>>2]=va+(ia<<2);if((ya|0)==(za|0)){break}else{Ca=ya;Da=va}do{if((Da|0)==0){Ea=0}else{c[Da>>2]=c[Ca>>2];Ea=c[ta>>2]|0}Da=Ea+4|0;c[ta>>2]=Da;Ca=Ca+4|0;}while((Ca|0)!=(za|0))}}while(0);$c[w&31](H,t,x,v,0);v=c[u>>2]|0;if((v|0)!=0){u=c[ta>>2]|0;if((u|0)!=(v|0)){c[ta>>2]=u+(~((u-4+(-v|0)|0)>>>2)<<2)}iK(v)}if((za|0)==(ya|0)){Fa=za}else{Fa=za+(~((za-4+(-ra|0)|0)>>>2)<<2)|0}c[y>>2]=0;za=y;do{if((Fa|0)==(Aa|0)){v=Aa-ra|0;u=v>>2;ta=u+1|0;if(ta>>>0>1073741823>>>0){tG(0)}if(u>>>0<536870911>>>0){x=v>>1;t=x>>>0>>0?ta:x;if((t|0)==0){Ga=0;Ha=0}else{Ia=t;W=155}}else{Ia=1073741823;W=155}if((W|0)==155){Ga=gK(Ia<<2)|0;Ha=Ia}t=Ga+(u<<2)|0;u=Ga+(Ha<<2)|0;if((t|0)!=0){c[t>>2]=za}t=Ga+(ta<<2)|0;ta=ya;BK(Ga|0,ta|0,v)|0;if((ya|0)==0){Ja=Ga;Ka=t;La=u;break}iK(ta);Ja=Ga;Ka=t;La=u}else{if((Fa|0)==0){Ma=0}else{c[Fa>>2]=za;Ma=Fa}Ja=ya;Ka=Ma+4|0;La=Aa}}while(0);c[A>>2]=69;c[A+4>>2]=0;Op(z,A);A=z;do{if((Ka|0)==(La|0)){Aa=La-Ja|0;Ma=Aa>>2;ya=Ma+1|0;if(ya>>>0>1073741823>>>0){tG(0)}if(Ma>>>0<536870911>>>0){Fa=Aa>>1;Ga=Fa>>>0>>0?ya:Fa;if((Ga|0)==0){Na=0;Oa=0}else{Pa=Ga;W=171}}else{Pa=1073741823;W=171}if((W|0)==171){Na=gK(Pa<<2)|0;Oa=Pa}Ga=Na+(Ma<<2)|0;Ma=Na+(Oa<<2)|0;if((Ga|0)!=0){c[Ga>>2]=A}Ga=Na+(ya<<2)|0;ya=Ja;BK(Na|0,ya|0,Aa)|0;if((Ja|0)==0){Qa=Na;Ra=Ga;Sa=Ma;break}iK(ya);Qa=Na;Ra=Ga;Sa=Ma}else{if((Ka|0)==0){Ta=0}else{c[Ka>>2]=A;Ta=Ka}Qa=Ja;Ra=Ta+4|0;Sa=La}}while(0);La=c[(c[g>>2]|0)+32>>2]|0;Ta=B|0;c[Ta>>2]=0;Ja=B+4|0;c[Ja>>2]=0;Ka=B+8|0;c[Ka>>2]=0;A=Qa;Na=Ra-A|0;Oa=Na>>2;do{if((Oa|0)!=0){if(Oa>>>0>1073741823>>>0){tG(0)}Pa=gK(Na)|0;c[Ja>>2]=Pa;c[Ta>>2]=Pa;c[Ka>>2]=Pa+(Oa<<2);if((Qa|0)==(Ra|0)){break}else{Ua=Qa;Va=Pa}do{if((Va|0)==0){Wa=0}else{c[Va>>2]=c[Ua>>2];Wa=c[Ja>>2]|0}Va=Wa+4|0;c[Ja>>2]=Va;Ua=Ua+4|0;}while((Ua|0)!=(Ra|0))}}while(0);$c[La&31](H,z,B,0,0);B=c[Ta>>2]|0;if((B|0)!=0){Ta=c[Ja>>2]|0;if((Ta|0)!=(B|0)){c[Ja>>2]=Ta+(~((Ta-4+(-B|0)|0)>>>2)<<2)}iK(B)}if((Ra|0)==(Qa|0)){Xa=Ra}else{Xa=Ra+(~((Ra-4+(-A|0)|0)>>>2)<<2)|0}c[y>>2]=0;do{if((Xa|0)==(Sa|0)){y=Sa-A|0;Ra=y>>2;B=Ra+1|0;if(B>>>0>1073741823>>>0){tG(0)}if(Ra>>>0<536870911>>>0){Ta=y>>1;Ja=Ta>>>0>>0?B:Ta;if((Ja|0)==0){Ya=0}else{Za=Ja;W=206}}else{Za=1073741823;W=206}if((W|0)==206){Ya=gK(Za<<2)|0}Ja=Ya+(Ra<<2)|0;if((Ja|0)!=0){c[Ja>>2]=za}Ja=Ya+(B<<2)|0;B=Qa;BK(Ya|0,B|0,y)|0;if((Qa|0)==0){_a=Ya;$a=Ja;break}iK(B);_a=Ya;$a=Ja}else{if((Xa|0)==0){ab=0}else{c[Xa>>2]=za;ab=Xa}_a=Qa;$a=ab+4|0}}while(0);c[D>>2]=61;c[D+4>>2]=0;Op(C,D);c[F>>2]=65;c[F+4>>2]=0;Op(E,F);F=c[(c[g>>2]|0)+32>>2]|0;g=G|0;c[g>>2]=0;D=G+4|0;c[D>>2]=0;ab=G+8|0;c[ab>>2]=0;Qa=$a-_a|0;Xa=Qa>>2;do{if((Xa|0)!=0){if(Xa>>>0>1073741823>>>0){tG(0)}za=gK(Qa)|0;c[D>>2]=za;c[g>>2]=za;c[ab>>2]=za+(Xa<<2);if((_a|0)==($a|0)){break}else{bb=_a;cb=za}do{if((cb|0)==0){db=0}else{c[cb>>2]=c[bb>>2];db=c[D>>2]|0}cb=db+4|0;c[D>>2]=cb;bb=bb+4|0;}while((bb|0)!=($a|0))}}while(0);$c[F&31](H,C,G,E,0);E=c[g>>2]|0;if((E|0)!=0){g=c[D>>2]|0;if((g|0)!=(E|0)){c[D>>2]=g+(~((g-4+(-E|0)|0)>>>2)<<2)}iK(E)}Ng(q);Cq(p);if((_a|0)==0){i=b;return}iK(_a);i=b;return}function hq(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,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,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0;d=i;i=i+640|0;e=d|0;f=d+8|0;g=d+16|0;h=d+40|0;j=d+48|0;k=d+64|0;l=d+232|0;m=d+328|0;n=d+336|0;o=d+344|0;p=d+368|0;q=d+376|0;r=d+400|0;s=d+408|0;t=d+424|0;u=d+432|0;v=d+440|0;w=d+448|0;x=d+472|0;y=d+480|0;z=d+496|0;A=d+504|0;B=d+528|0;C=d+536|0;D=d+552|0;E=d+560|0;F=d+584|0;G=d+592|0;H=d+616|0;I=d+624|0;J=a|0;K=a+16|0;L=c[K>>2]|0;if((L|0)==0){yc(20480,16552,202,24440)}if((VJ(L,46112,46688,-1)|0)==0){yc(20480,16552,202,24440)}L=c[K>>2]|0;if((L|0)==0){M=0}else{M=VJ(L,46112,46688,-1)|0}if((c[M+276>>2]|0)!=(a|0)){yc(13976,16552,209,24440)}c[e>>2]=0;c[f>>2]=0;L=e;e=gK(4)|0;K=(e|0)==0;if(!K){c[e>>2]=L}N=gK(8)|0;O=N;P=N+4|0;Q=N+8|0;if((P|0)!=0){c[P>>2]=f}c[O>>2]=L;if(!K){iK(e)}c[h>>2]=85;c[h+4>>2]=0;Op(g,h);h=a;a=c[(c[h>>2]|0)+32>>2]|0;e=j|0;c[e>>2]=0;K=j+4|0;c[K>>2]=0;L=j+8|0;c[L>>2]=0;f=N;P=gK(8)|0;R=P;c[K>>2]=R;c[e>>2]=R;c[L>>2]=P+8;if((P|0)==0){S=0}else{c[R>>2]=c[O>>2];S=R}R=S+4|0;c[K>>2]=R;if((R|0)==0){T=0}else{c[R>>2]=c[N+4>>2];T=c[K>>2]|0}c[K>>2]=T+4;$c[a&31](J,g,j,0,0);j=c[e>>2]|0;if((j|0)!=0){e=c[K>>2]|0;if((e|0)!=(j|0)){c[K>>2]=e+(~((e-4+(-j|0)|0)>>>2)<<2)}iK(j)}Aq(k);Kg(l,k,0,0);Dq(k,M);Eq(k,kp(J)|0,0);Er(k,l|0,0);j=Q+(~((N+(4-f)|0)>>>2)<<2)|0;c[m>>2]=0;c[n>>2]=0;f=m;do{if((j|0)==(Q|0)){m=gK(16)|0;e=m+8|0;if((e|0)!=0){c[e>>2]=f}e=N;K=m;g=c[e+4>>2]|0;c[K>>2]=c[e>>2];c[K+4>>2]=g;if((N|0)!=0){iK(N)}U=m+16|0;V=m+12|0;W=m;X=n;Y=46}else{if((j|0)==0){Z=0}else{c[j>>2]=f;Z=j}m=Z+4|0;g=n;if((m|0)!=(Q|0)){U=Q;V=m;W=O;X=g;Y=46;break}if(0){tG(0)}if(1){if(0){_=0;$=0}else{aa=4;Y=54}}else{aa=1073741823;Y=54}if((Y|0)==54){_=gK(aa<<2)|0;$=aa}m=_+8|0;K=_+($<<2)|0;if((m|0)!=0){c[m>>2]=g}g=_+12|0;m=N;e=_;a=c[m+4>>2]|0;c[e>>2]=c[m>>2];c[e+4>>2]=a;if((N|0)==0){ba=_;ca=g;da=K;break}iK(N);ba=_;ca=g;da=K}}while(0);if((Y|0)==46){if((V|0)==0){ea=0}else{c[V>>2]=X;ea=V}ba=W;ca=ea+4|0;da=U}c[p>>2]=105;c[p+4>>2]=0;Op(o,p);c[r>>2]=109;c[r+4>>2]=0;Op(q,r);r=c[(c[h>>2]|0)+32>>2]|0;p=s|0;c[p>>2]=0;U=s+4|0;c[U>>2]=0;ea=s+8|0;c[ea>>2]=0;W=ba;V=ca-W|0;X=V>>2;do{if((X|0)!=0){if(X>>>0>1073741823>>>0){tG(0)}_=gK(V)|0;c[U>>2]=_;c[p>>2]=_;c[ea>>2]=_+(X<<2);if((ba|0)==(ca|0)){break}else{fa=ba;ga=_}do{if((ga|0)==0){ha=0}else{c[ga>>2]=c[fa>>2];ha=c[U>>2]|0}ga=ha+4|0;c[U>>2]=ga;fa=fa+4|0;}while((fa|0)!=(ca|0))}}while(0);$c[r&31](J,o,s,q,0);q=c[p>>2]|0;if((q|0)!=0){p=c[U>>2]|0;if((p|0)!=(q|0)){c[U>>2]=p+(~((p-4+(-q|0)|0)>>>2)<<2)}iK(q)}if((ca|0)==(ba|0)){ja=ca}else{ja=ca+(~((ca-4+(-W|0)|0)>>>2)<<2)|0}c[t>>2]=0;ca=M+300|0;c[u>>2]=ia(b[M+842>>1]|0,c[ca>>2]|0)|0;c[v>>2]=ca;q=t;do{if((ja|0)==(da|0)){t=da-W|0;p=t>>2;U=p+1|0;if(U>>>0>1073741823>>>0){tG(0)}if(p>>>0<536870911>>>0){s=t>>1;o=s>>>0>>0?U:s;if((o|0)==0){ka=0;la=0}else{ma=o;Y=91}}else{ma=1073741823;Y=91}if((Y|0)==91){ka=gK(ma<<2)|0;la=ma}o=ka+(p<<2)|0;p=ka+(la<<2)|0;if((o|0)!=0){c[o>>2]=q}o=ka+(U<<2)|0;U=ba;BK(ka|0,U|0,t)|0;if((ba|0)==0){na=ka;oa=o;pa=p;break}iK(U);na=ka;oa=o;pa=p}else{if((ja|0)==0){qa=0}else{c[ja>>2]=q;qa=ja}na=ba;oa=qa+4|0;pa=da}}while(0);da=u;do{if((oa|0)==(pa|0)){u=pa-na|0;qa=u>>2;ba=qa+1|0;if(ba>>>0>1073741823>>>0){tG(0)}if(qa>>>0<536870911>>>0){ja=u>>1;q=ja>>>0>>0?ba:ja;if((q|0)==0){ra=0;sa=0}else{ta=q;Y=106}}else{ta=1073741823;Y=106}if((Y|0)==106){ra=gK(ta<<2)|0;sa=ta}q=ra+(qa<<2)|0;qa=ra+(sa<<2)|0;if((q|0)!=0){c[q>>2]=da}q=ra+(ba<<2)|0;ba=na;BK(ra|0,ba|0,u)|0;if((na|0)==0){ua=ra;va=q;wa=qa;break}iK(ba);ua=ra;va=q;wa=qa}else{if((oa|0)==0){xa=0}else{c[oa>>2]=da;xa=oa}ua=na;va=xa+4|0;wa=pa}}while(0);pa=v;do{if((va|0)==(wa|0)){v=wa-ua|0;xa=v>>2;na=xa+1|0;if(na>>>0>1073741823>>>0){tG(0)}if(xa>>>0<536870911>>>0){oa=v>>1;da=oa>>>0>>0?na:oa;if((da|0)==0){ya=0;za=0}else{Aa=da;Y=121}}else{Aa=1073741823;Y=121}if((Y|0)==121){ya=gK(Aa<<2)|0;za=Aa}da=ya+(xa<<2)|0;xa=ya+(za<<2)|0;if((da|0)!=0){c[da>>2]=pa}da=ya+(na<<2)|0;na=ua;BK(ya|0,na|0,v)|0;if((ua|0)==0){Ba=ya;Ca=da;Da=xa;break}iK(na);Ba=ya;Ca=da;Da=xa}else{if((va|0)==0){Ea=0}else{c[va>>2]=pa;Ea=va}Ba=ua;Ca=Ea+4|0;Da=wa}}while(0);c[x>>2]=101;c[x+4>>2]=0;Op(w,x);x=w;do{if((Ca|0)==(Da|0)){wa=Da-Ba|0;Ea=wa>>2;ua=Ea+1|0;if(ua>>>0>1073741823>>>0){tG(0)}if(Ea>>>0<536870911>>>0){va=wa>>1;pa=va>>>0>>0?ua:va;if((pa|0)==0){Fa=0;Ga=0}else{Ha=pa;Y=137}}else{Ha=1073741823;Y=137}if((Y|0)==137){Fa=gK(Ha<<2)|0;Ga=Ha}pa=Fa+(Ea<<2)|0;Ea=Fa+(Ga<<2)|0;if((pa|0)!=0){c[pa>>2]=x}pa=Fa+(ua<<2)|0;ua=Ba;BK(Fa|0,ua|0,wa)|0;if((Ba|0)==0){Ia=Fa;Ja=pa;Ka=Ea;break}iK(ua);Ia=Fa;Ja=pa;Ka=Ea}else{if((Ca|0)==0){La=0}else{c[Ca>>2]=x;La=Ca}Ia=Ba;Ja=La+4|0;Ka=Da}}while(0);Da=c[(c[h>>2]|0)+32>>2]|0;La=y|0;c[La>>2]=0;Ba=y+4|0;c[Ba>>2]=0;Ca=y+8|0;c[Ca>>2]=0;x=Ia;Fa=Ja-x|0;Ga=Fa>>2;do{if((Ga|0)!=0){if(Ga>>>0>1073741823>>>0){tG(0)}Ha=gK(Fa)|0;c[Ba>>2]=Ha;c[La>>2]=Ha;c[Ca>>2]=Ha+(Ga<<2);if((Ia|0)==(Ja|0)){break}else{Ma=Ia;Na=Ha}do{if((Na|0)==0){Oa=0}else{c[Na>>2]=c[Ma>>2];Oa=c[Ba>>2]|0}Na=Oa+4|0;c[Ba>>2]=Na;Ma=Ma+4|0;}while((Ma|0)!=(Ja|0))}}while(0);$c[Da&31](J,w,y,0,0);y=c[La>>2]|0;if((y|0)!=0){La=c[Ba>>2]|0;if((La|0)!=(y|0)){c[Ba>>2]=La+(~((La-4+(-y|0)|0)>>>2)<<2)}iK(y)}if((Ja|0)==(Ia|0)){Pa=Ja}else{Pa=Ja+(~((Ja-4+(-x|0)|0)>>>2)<<2)|0}c[z>>2]=0;Ja=z;do{if((Pa|0)==(Ka|0)){y=Ka-x|0;La=y>>2;Ba=La+1|0;if(Ba>>>0>1073741823>>>0){tG(0)}if(La>>>0<536870911>>>0){w=y>>1;Da=w>>>0>>0?Ba:w;if((Da|0)==0){Qa=0;Ra=0}else{Sa=Da;Y=172}}else{Sa=1073741823;Y=172}if((Y|0)==172){Qa=gK(Sa<<2)|0;Ra=Sa}Da=Qa+(La<<2)|0;La=Qa+(Ra<<2)|0;if((Da|0)!=0){c[Da>>2]=Ja}Da=Qa+(Ba<<2)|0;Ba=Ia;BK(Qa|0,Ba|0,y)|0;if((Ia|0)==0){Ta=Qa;Ua=Da;Va=La;break}iK(Ba);Ta=Qa;Ua=Da;Va=La}else{if((Pa|0)==0){Wa=0}else{c[Pa>>2]=Ja;Wa=Pa}Ta=Ia;Ua=Wa+4|0;Va=Ka}}while(0);c[B>>2]=97;c[B+4>>2]=0;Op(A,B);B=A;do{if((Ua|0)==(Va|0)){Ka=Va-Ta|0;Wa=Ka>>2;Ia=Wa+1|0;if(Ia>>>0>1073741823>>>0){tG(0)}if(Wa>>>0<536870911>>>0){Pa=Ka>>1;Qa=Pa>>>0>>0?Ia:Pa;if((Qa|0)==0){Xa=0;Ya=0}else{Za=Qa;Y=188}}else{Za=1073741823;Y=188}if((Y|0)==188){Xa=gK(Za<<2)|0;Ya=Za}Qa=Xa+(Wa<<2)|0;Wa=Xa+(Ya<<2)|0;if((Qa|0)!=0){c[Qa>>2]=B}Qa=Xa+(Ia<<2)|0;Ia=Ta;BK(Xa|0,Ia|0,Ka)|0;if((Ta|0)==0){_a=Xa;$a=Qa;ab=Wa;break}iK(Ia);_a=Xa;$a=Qa;ab=Wa}else{if((Ua|0)==0){bb=0}else{c[Ua>>2]=B;bb=Ua}_a=Ta;$a=bb+4|0;ab=Va}}while(0);Va=c[(c[h>>2]|0)+32>>2]|0;bb=C|0;c[bb>>2]=0;Ta=C+4|0;c[Ta>>2]=0;Ua=C+8|0;c[Ua>>2]=0;B=_a;Xa=$a-B|0;Ya=Xa>>2;do{if((Ya|0)!=0){if(Ya>>>0>1073741823>>>0){tG(0)}Za=gK(Xa)|0;c[Ta>>2]=Za;c[bb>>2]=Za;c[Ua>>2]=Za+(Ya<<2);if((_a|0)==($a|0)){break}else{cb=_a;db=Za}do{if((db|0)==0){eb=0}else{c[db>>2]=c[cb>>2];eb=c[Ta>>2]|0}db=eb+4|0;c[Ta>>2]=db;cb=cb+4|0;}while((cb|0)!=($a|0))}}while(0);$c[Va&31](J,A,C,0,0);C=c[bb>>2]|0;if((C|0)!=0){bb=c[Ta>>2]|0;if((bb|0)!=(C|0)){c[Ta>>2]=bb+(~((bb-4+(-C|0)|0)>>>2)<<2)}iK(C)}if(($a|0)==(_a|0)){fb=$a}else{fb=$a+(~(($a-4+(-B|0)|0)>>>2)<<2)|0}c[z>>2]=(c[M+792>>2]|0)-(c[M+808>>2]|0);c[D>>2]=ia(b[M+844>>1]|0,c[ca>>2]|0)|0;do{if((fb|0)==(ab|0)){ca=ab-B|0;M=ca>>2;z=M+1|0;if(z>>>0>1073741823>>>0){tG(0)}if(M>>>0<536870911>>>0){$a=ca>>1;C=$a>>>0>>0?z:$a;if((C|0)==0){gb=0;hb=0}else{ib=C;Y=223}}else{ib=1073741823;Y=223}if((Y|0)==223){gb=gK(ib<<2)|0;hb=ib}C=gb+(M<<2)|0;M=gb+(hb<<2)|0;if((C|0)!=0){c[C>>2]=Ja}C=gb+(z<<2)|0;z=_a;BK(gb|0,z|0,ca)|0;if((_a|0)==0){jb=gb;kb=C;lb=M;break}iK(z);jb=gb;kb=C;lb=M}else{if((fb|0)==0){mb=0}else{c[fb>>2]=Ja;mb=fb}jb=_a;kb=mb+4|0;lb=ab}}while(0);ab=D;do{if((kb|0)==(lb|0)){D=lb-jb|0;mb=D>>2;_a=mb+1|0;if(_a>>>0>1073741823>>>0){tG(0)}if(mb>>>0<536870911>>>0){fb=D>>1;Ja=fb>>>0<_a>>>0?_a:fb;if((Ja|0)==0){nb=0}else{ob=Ja;Y=238}}else{ob=1073741823;Y=238}if((Y|0)==238){nb=gK(ob<<2)|0}Ja=nb+(mb<<2)|0;if((Ja|0)!=0){c[Ja>>2]=ab}Ja=nb+(_a<<2)|0;_a=jb;BK(nb|0,_a|0,D)|0;if((jb|0)==0){pb=nb;qb=Ja;break}iK(_a);pb=nb;qb=Ja}else{if((kb|0)==0){rb=0}else{c[kb>>2]=ab;rb=kb}pb=jb;qb=rb+4|0}}while(0);c[F>>2]=89;c[F+4>>2]=0;Op(E,F);c[H>>2]=93;c[H+4>>2]=0;Op(G,H);H=c[(c[h>>2]|0)+32>>2]|0;h=I|0;c[h>>2]=0;F=I+4|0;c[F>>2]=0;rb=I+8|0;c[rb>>2]=0;jb=qb-pb|0;kb=jb>>2;do{if((kb|0)!=0){if(kb>>>0>1073741823>>>0){tG(0)}ab=gK(jb)|0;c[F>>2]=ab;c[h>>2]=ab;c[rb>>2]=ab+(kb<<2);if((pb|0)==(qb|0)){break}else{sb=pb;tb=ab}do{if((tb|0)==0){ub=0}else{c[tb>>2]=c[sb>>2];ub=c[F>>2]|0}tb=ub+4|0;c[F>>2]=tb;sb=sb+4|0;}while((sb|0)!=(qb|0))}}while(0);$c[H&31](J,E,I,G,0);G=c[h>>2]|0;if((G|0)!=0){h=c[F>>2]|0;if((h|0)!=(G|0)){c[F>>2]=h+(~((h-4+(-G|0)|0)>>>2)<<2)}iK(G)}Ng(l);Cq(k);if((pb|0)==0){i=d;return}iK(pb);i=d;return}function iq(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;b=i;i=i+64|0;d=b|0;e=b+8|0;f=b+16|0;g=b+40|0;j=b+48|0;k=a|0;l=a+16|0;m=c[l>>2]|0;if((m|0)==0){yc(20480,16552,280,24392)}if((VJ(m,46112,46688,-1)|0)==0){yc(20480,16552,280,24392)}m=VJ(c[l>>2]|0,46112,46688,-1)|0;if((c[m+276>>2]|0)!=(a|0)){yc(13976,16552,287,24392)}h[d>>3]=0.0;c[e>>2]=(c[m+796>>2]|0)-(c[m+800>>2]|0)-(c[m+804>>2]|0);m=d;d=gK(4)|0;l=(d|0)==0;if(!l){c[d>>2]=m}n=gK(8)|0;o=n;p=n+4|0;if((p|0)!=0){c[p>>2]=e}c[o>>2]=m;if(!l){iK(d)}c[g>>2]=133;c[g+4>>2]=0;Op(f,g);g=f;do{if(1){if(0){tG(0)}if(1){if(0){q=0}else{r=16;s=24}}else{r=-4;s=24}if((s|0)==24){q=gK(r)|0}d=q+8|0;if((d|0)!=0){c[d>>2]=g}d=q+12|0;l=n;m=q;e=c[l+4>>2]|0;c[m>>2]=c[l>>2];c[m+4>>2]=e;if((n|0)==0){t=q;u=d;break}iK(n);t=q;u=d}else{t=o;u=0}}while(0);o=c[(c[a>>2]|0)+32>>2]|0;a=j|0;c[a>>2]=0;q=j+4|0;c[q>>2]=0;n=j+8|0;c[n>>2]=0;g=u-t|0;r=g>>2;do{if((r|0)!=0){if(r>>>0>1073741823>>>0){tG(0)}s=gK(g)|0;c[q>>2]=s;c[a>>2]=s;c[n>>2]=s+(r<<2);if((t|0)==(u|0)){break}else{v=t;w=s}do{if((w|0)==0){x=0}else{c[w>>2]=c[v>>2];x=c[q>>2]|0}w=x+4|0;c[q>>2]=w;v=v+4|0;}while((v|0)!=(u|0))}}while(0);$c[o&31](k,f,j,0,0);j=c[a>>2]|0;if((j|0)!=0){a=c[q>>2]|0;if((a|0)!=(j|0)){c[q>>2]=a+(~((a-4+(-j|0)|0)>>>2)<<2)}iK(j)}if((t|0)==0){i=b;return}iK(t);i=b;return}function jq(a){a=a|0;var b=0,d=0,e=0;b=a+16|0;d=c[b>>2]|0;if((d|0)==0){yc(20480,16552,306,24464);return 0}if((VJ(d,46112,46688,-1)|0)==0){yc(20480,16552,306,24464);return 0}d=VJ(c[b>>2]|0,46112,46688,-1)|0;if((c[d+276>>2]|0)!=(a|0)){yc(13976,16552,313,24464);return 0}b=c[(c[a+8>>2]|0)-4>>2]|0;if((b|0)==0){e=0;return e|0}a=VJ(b,46112,46096,-1)|0;if((a|0)==0){e=0;return e|0}b=(c[d+792>>2]|0)-(c[d+808>>2]|0)-(c[a+228>>2]|0)|0;e=b+(Mu(a)|0)|0;return e|0}function kq(a){a=a|0;var b=0,d=0,e=0;b=a+16|0;d=c[b>>2]|0;if((d|0)==0){yc(20480,16552,326,24488);return 0}if((VJ(d,46112,46688,-1)|0)==0){yc(20480,16552,326,24488);return 0}if((c[(VJ(c[b>>2]|0,46112,46688,-1)|0)+276>>2]|0)!=(a|0)){yc(13976,16552,333,24488);return 0}b=c[c[a+4>>2]>>2]|0;if((b|0)==0){e=0;return e|0}a=VJ(b,46112,46096,-1)|0;if((a|0)==0){e=0;return e|0}e=(c[a+216>>2]|0)+(c[a+240>>2]|0)+(c[a+220>>2]|0)|0;return e|0}function lq(b,c){b=b|0;c=c|0;a[b]=8;c=b;b=c+1|0;E=1701273936;a[b]=E;E=E>>8;a[b+1|0]=E;E=E>>8;a[b+2|0]=E;E=E>>8;a[b+3|0]=E;a[c+5|0]=0;return}function mq(a){a=a|0;var b=0,d=0,e=0;b=a|0;Zw(b);d=a+8|0;Gy(d);e=a+16|0;Qy(e);c[a>>2]=36576;c[a+8>>2]=36596;c[a+16>>2]=36612;_w(b);Hy(d);Ry(e);return}function nq(a){a=a|0;Ty(a+16|0);Jy(a+8|0);ax(a|0);iK(a);return}function oq(a){a=a|0;var b=0;b=a-24+16|0;Ty(b+16|0);Jy(b+8|0);ax(b);iK(b);return}function pq(a){a=a|0;var b=0;b=a-24+8|0;Ty(b+16|0);Jy(b+8|0);ax(b);iK(b);return}function qq(a){a=a|0;Ty(a+16|0);Jy(a+8|0);ax(a|0);return}function rq(a){a=a|0;var b=0;b=a-24+16|0;Ty(b+16|0);Jy(b+8|0);ax(b);return}function sq(a){a=a|0;var b=0;b=a-24+8|0;Ty(b+16|0);Jy(b+8|0);ax(b);return}function tq(a){a=a|0;_w(a|0);Hy(a+8|0);Ry(a+16|0);return}function uq(b,d){b=b|0;d=d|0;var e=0;if((d|0)==0){e=0;return e|0}if((c[b+4>>2]|0)!=(c[d+4>>2]|0)){e=0;return e|0}if((a[b+12|0]|0)!=(a[d+12|0]|0)){e=0;return e|0}e=(c[b+20>>2]|0)==(c[d+20>>2]|0);return e|0}function vq(a){a=a|0;var b=0;b=a|0;_y(b);c[a>>2]=35784;$y(b);return}function wq(a){a=a|0;bz(a|0);iK(a);return}function xq(a){a=a|0;bz(a|0);return}function yq(a){a=a|0;$y(a|0);return}function zq(b,d){b=b|0;d=d|0;var e=0;if((d|0)==0){e=0;return e|0}if((a[b+8|0]|0)!=(a[d+8|0]|0)){e=0;return e|0}e=(c[b+4>>2]|0)==(c[d+4>>2]|0);return e|0}function Aq(a){a=a|0;c[a>>2]=33192;Es(a+48|0);c[a+44>>2]=0;c[a+40>>2]=0;c[a+36>>2]=0;DK(a+4|0,0,28)|0;return}function Bq(a){a=a|0;c[a>>2]=33192;Is(a+48|0);iK(a);return}function Cq(a){a=a|0;c[a>>2]=33192;Is(a+48|0);return}function Dq(a,b){a=a|0;b=b|0;var d=0;d=a+4|0;if((b|0)==0){c[d>>2]=0;ad[c[(c[a>>2]|0)+32>>2]&2047](a)}else{c[d>>2]=b}DK(a+8|0,0,28)|0;return}function Eq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=a+4|0;f=c[e>>2]|0;if((f|0)==0){yc(16952,20440,74,23608)}if(!(uj(f,b)|0)){yc(16488,20440,75,23608)}c[a+8>>2]=b;f=a+32|0;c[f>>2]=tj(c[e>>2]|0,b)|0;if(d){qj(c[e>>2]|0,0);fq(c[f>>2]|0,0)}f=a;DK(a+12|0,0,20)|0;ad[c[(c[f>>2]|0)+36>>2]&2047](a);ad[c[(c[f>>2]|0)+24>>2]&2047](a);return}function Fq(a,b){a=a|0;b=b|0;return b|0}function Gq(a,b){a=a|0;b=b|0;return b|0}function Hq(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+4>>2]|0;if((d|0)==0){e=0;return e|0}e=(c[d+792>>2]|0)-b|0;return e|0}function Iq(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+4>>2]|0;if((d|0)==0){e=0;return e|0}e=(c[d+792>>2]|0)-b|0;return e|0}function Jq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=a;a=c[d>>2]|0;e=c[d+4>>2]|0;f=b;b=c[f+4>>2]|0;c[d>>2]=c[f>>2];c[d+4>>2]=b;c[f>>2]=a;c[f+4>>2]=e;return}function Kq(a){a=a|0;return}function Lq(a){a=a|0;return}function Mq(a){a=a|0;return}function Nq(a){a=a|0;return}function Oq(a){a=a|0;return}function Pq(a){a=a|0;return}function Qq(a){a=a|0;return}function Rq(a){a=a|0;return}function Sq(b,e,f,j,k){b=b|0;e=e|0;f=f|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.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.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,Y=0,Z=0.0,_=0.0,$=0.0,aa=0,ba=0.0,ca=0,da=0,ea=0,fa=0.0,ga=0.0,ha=0.0,ja=0.0,ka=0.0,la=0.0,ma=0.0,na=0.0,oa=0.0,pa=0.0,qa=0.0,ra=0.0,sa=0,ta=0,ua=0.0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0.0,Ca=0,Da=0.0,Ea=0.0,Fa=0.0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0.0,Oa=0.0,Pa=0,Qa=0,Ra=0,Sa=0.0,Ta=0.0,Ua=0,Va=0,Wa=0.0,Xa=0.0,Ya=0.0,Za=0.0,_a=0,$a=0.0,ab=0.0;l=i;i=i+80|0;m=l|0;n=i;i=i+16|0;o=i;i=i+80|0;p=o;q=i;i=i+80|0;r=q;s=i;i=i+80|0;t=s;u=i;i=i+80|0;v=u;w=i;i=i+20|0;i=i+7&-8;Kp(j+164|0,j|0);if((c[j+176>>2]|0)==0){i=l;return}x=j+172|0;y=c[(c[x>>2]|0)+8>>2]|0;if((y|0)==0){z=0}else{z=VJ(y,46112,47328,-1)|0}c[16578]=c[16578]&-129;y=c[13132]|0;c[13132]=y&-15;h[6138]=0.0;DK(m|0,0,80)|0;A=((c[z+244>>2]|0)==1)+(c[z+184>>2]|0)|0;c[13132]=y&-239;if((a[k+168|0]|0)==0){y=d[k+171|0]|0;B=b+4|0;C=c[B>>2]|0;D=+(c[C+392+(y<<3)+4>>2]|0);E=+((d[C+106|0]|0)>>>1|0);F=+(c[C+392+(y<<3)>>2]|0)-E;h[n>>3]=F;G=D-E;h[n+8>>3]=G;H=F;I=G;J=B}else{DK(n|0,0,16)|0;H=0.0;I=0.0;J=b+4|0}B=c[k+88>>2]|0;y=j+168|0;j=z;z=0;C=0;K=c[x>>2]|0;x=A;L=A;A=0;while(1){if(Im(j)|0){M=((c[j+244>>2]|0)==1)+(c[j+184>>2]|0)|0}else{M=x}if((M|0)>4){c[53940+(z<<4)>>2]=j;g[53928+(z<<4)>>2]=+((c[j+92>>2]|0)-((d[(c[J>>2]|0)+106|0]|0)>>>1)|0);N=53936+(z<<4)|0;c[N>>2]=c[N>>2]&-256|M&255;do{if(Im(j)|0){if((c[j+176>>2]|0)==0|(z|0)==0){O=C;break}c[m+(C<<2)>>2]=z;O=C+1|0}else{O=C}}while(0);if(Im(j)|0){N=c[13132]|0;if(!((N&8|0)!=0|(M|0)==(L|0))){c[13132]=N|8}P=(L|0)<(M|0)?L:M;Q=(M|0)<(A|0)?A:M}else{P=L;Q=A}R=z+1|0;S=O;T=P;U=Q}else{R=z;S=C;T=L;U=A}N=c[K+4>>2]|0;if((N|0)==(y|0)){V=22;break}W=c[N+8>>2]|0;if((W|0)==0){V=123;break}Y=VJ(W,46112,47328,-1)|0;if((Y|0)==0){V=123;break}else{j=Y;z=R;C=S;K=N;x=M;L=T;A=U}}if((V|0)==22){A=R-1|0;T=(R|0)>0;if(!T){i=l;return}L=c[13132]|0;G=0.0;M=0;do{if((L&6|0)==0){x=53936+(M<<4)|0;c[x>>2]=c[x>>2]&-65281;F=+(c[(c[53940+(M<<4)>>2]|0)+88>>2]|0);g[53932+(M<<4)>>2]=F;Z=F}else{Z=+g[53932+(M<<4)>>2]}G=G+Z;M=M+1|0;}while((M|0)<(R|0));if((R|0)<2){i=l;return}M=c[f+396>>2]<<9&3584;f=c[13132]|0;L=f&-3585;x=L|M;c[13132]=x;K=k+171|0;do{if((f&6|0)==0){Z=+(B-(c[(c[J>>2]|0)+300+(d[K]<<2)>>2]<<1)|0);F=G/+(R|0);if((M|0)!=0){_=Z;$=F;aa=x;break}if(F>2]|0;M=c[L+360+(x<<2)>>2]|0;do{if((a[(c[53940+(A<<4)>>2]|0)+132|0]|0)==0){B=c[L+368+(x<<2)>>2]|0;f=B+M|0;G=+(ia(f,U-5|0)|0);k=c[L+300+(x<<2)>>2]|0;if((U|0)>5){ba=+(k|0)*+g[12282];ca=M;da=B;ea=f;fa=G;break}else{ba=+(k|0)*(+g[12282]+.5);ca=M;da=B;ea=f;fa=G;break}}else{f=(M|0)/2|0;B=(f|0)>2?f:2;f=(c[L+368+(x<<2)>>2]|0)-1|0;k=(f|0)>2?f:2;f=k+B|0;G=+(ia(f,U-5|0)|0);ba=+((c[L+292+(x<<2)>>2]|0)*5|0|0);ca=B;da=k;ea=f;fa=G}}while(0);G=fa+ba;x=aa&3584;if((x|0)==1024){h[n>>3]=-0.0-H;h[n+8>>3]=-0.0-I;I=-0.0-G;H=$-G;if(H>_){ga=I;ha=H;V=43}else{ja=I}}else if((x|0)==512){I=$+G;if(I<_){ga=G;ha=I;V=43}else{ja=G}}else{ja=-0.0-G}if((V|0)==43){ja=ga+(_-ha)}if(T){ha=0.0;_=0.0;ga=0.0;G=0.0;x=0;while(1){aa=~~(ja+ +g[53932+(x<<4)>>2]);c[52208+(x<<2)>>2]=aa;L=53940+(x<<4)|0;M=c[L>>2]|0;f=53928+(x<<4)|0;I=+h[n+(d[M+132|0]<<3)>>3]+ +g[f>>2];g[f>>2]=I;$=_+ +(aa|0);H=ha+I;ba=G+I*I;fa=ga+ +(aa|0)*I;if(Im(M)|0){c[(c[L>>2]|0)+304>>2]=(c[13132]|0)>>>9&7}L=x+1|0;if((L|0)<(R|0)){ha=H;_=$;ga=fa;G=ba;x=L}else{ka=H;la=$;ma=fa;na=ba;break}}}else{ka=0.0;la=0.0;ma=0.0;na=0.0}G=+(R|0);ga=G*ma-ka*la;ma=G*na-ka*ka;if(ga!=0.0&ma!=0.0){oa=ga/ma}else{oa=0.0}h[6139]=oa;ma=+X(+oa);x=c[J>>2]|0;if(ma<+g[x+812>>2]){h[6139]=0.0;pa=0.0}else{pa=oa}oa=+X(+pa);ma=+g[x+816>>2];if(oa>ma){if(pa>0.0){qa=ma}else{qa=-0.0-ma}ma=qa;h[6139]=ma;ra=ma}else{ra=pa}pa=(la-ka*ra)/G;h[6140]=pa;x=c[13132]|0;if((S|0)==0){sa=(x&8|0)==0?U-4|0:1}else{sa=1}n=x&-17;c[13132]=n;do{if(T){L=(x&6|0)==0;M=x&3584;aa=0;G=+h[6138];while(1){f=52208+(aa<<2)|0;ka=+(c[f>>2]|0);k=~~(pa+G+ra*+g[53928+(aa<<4)>>2]);c[f>>2]=k;do{if(L){if((M|0)==512){if(!(ka>+(k|0))){ta=aa;ua=G;break}}else if((M|0)==1024){if(!(ka<+(k|0))){ta=aa;ua=G;break}}else{ta=aa;ua=G;break}la=G+(ka- +(k|0));h[6138]=la;ta=-1;ua=la}else{ta=aa;ua=G}}while(0);k=ta+1|0;if((k|0)<(R|0)){aa=k;G=ua}else{break}}if(T){va=0;wa=0;xa=n}else{ya=n;break}while(1){do{if((xa&16|0)==0){aa=c[52208+(wa<<2)>>2]|0;M=c[J>>2]|0;L=d[M+106|0]|0;if((xa&3584|0)==512){k=aa-L|0;f=~~(+g[53932+(wa<<4)>>2]+ +g[M+464+(d[K]<<2)>>2]);B=~~+g[53928+(wa<<4)>>2];C=c[53940+(wa<<4)>>2]|0;c[C+144>>2]=B;c[C+136>>2]=B;c[C+140>>2]=f;c[C+148>>2]=k;a[C+152|0]=1;za=f;Aa=k;break}else{k=L+aa|0;aa=~~(+g[53932+(wa<<4)>>2]- +g[M+464+(d[K]<<2)>>2]);M=~~+g[53928+(wa<<4)>>2];L=c[53940+(wa<<4)>>2]|0;c[L+144>>2]=M;c[L+136>>2]=M;c[L+140>>2]=aa;c[L+148>>2]=k;a[L+152|0]=0;za=aa;Aa=k;break}}else{G=+g[53932+(wa<<4)>>2];ka=+g[(c[J>>2]|0)+464+(d[K]<<2)>>2];if((c[53936+(wa<<4)>>2]&65280|0)==0){za=~~(G+ka);Aa=va;break}else{za=~~(G-ka);Aa=va;break}}}while(0);if(Im(c[53940+(wa<<4)>>2]|0)|0){vr(b,e,za,Aa,~~+g[53928+(wa<<4)>>2],d[(c[J>>2]|0)+106|0]|0)}k=wa+1|0;aa=c[13132]|0;if((k|0)<(R|0)){va=Aa;wa=k;xa=aa}else{ya=aa;break}}}else{ya=n}}while(0);n=(c[J>>2]|0)+106|0;g[13482]=+g[13482]- +(((d[n]|0)-1|0)/3|0|0);xa=53928+(A<<4)|0;ua=+g[xa>>2]+ +(((d[n]|0)-1|0)/3|0|0);g[xa>>2]=ua;if((ya&3584|0)==1024){Ba=1.0}else{Ba=(ya&16|0)!=0?1.0:-1.0}n=~~+g[13482];wa=~~ua;if((sa|0)>0){Aa=~~(+(ca|0)*Ba);ua=+(da|0)*Ba;va=c[13052]|0;za=c[52208+(A<<2)>>2]|0;A=0;while(1){yr(b,e,n,va,wa,za,Aa);T=A+1|0;if((T|0)<(sa|0)){va=~~(ua+ +(va+Aa|0));za=~~(ua+ +(za+Aa|0));A=T}else{break}}Ca=c[13132]|0}else{Ca=ya}if((Ca&8|S|0)==0){i=l;return}ya=sa+5|0;ua=+(((Ca&16|0)==0?ea:da)|0);if((Ca&3584|0)==512){Da=-0.0-ua}else{Da=ua}if((ya|0)>(U|0)){i=l;return}da=(S|0)<0;ua=+(ea|0);ea=w|0;sa=(c[m>>2]|0)==0;A=sa&1^1;ra=+(ca|0);pa=Ba;Ba=Da;ca=ya;ya=0;Aa=Ca;while(1){a:do{if(da){Ea=pa;Fa=Ba;Ga=ya;Ha=Aa}else{Da=pa;ka=Ba;Ca=1;za=0;va=0;wa=ya;n=Aa;while(1){T=c[m+(va<<2)>>2]|0;DK(v|0,0,80)|0;DK(r|0,0,80)|0;DK(t|0,0,80)|0;DK(p|0,0,80)|0;ta=(T|0)==0?R:T;a[ea]=0;if((za|0)<(ta|0)){T=za;x=0;aa=wa;while(1){k=c[53936+(T<<4)>>2]|0;do{if((k&255)>>>0>>0){if((c[o+(x<<2)>>2]|0)==0){Ia=aa;Ja=x;break}L=x+1|0;a[w+L|0]=0;Ia=aa;Ja=L}else{L=~~+g[53928+(T<<4)>>2];c[q+(x<<2)>>2]=L;M=c[52208+(T<<2)>>2]|0;c[u+(x<<2)>>2]=M;f=o+(x<<2)|0;if((c[f>>2]|0)!=0){Ia=aa;Ja=x;break}c[f>>2]=L;c[s+(x<<2)>>2]=M;M=(x|0)==0?T:aa;if((k&65280|0)!=0){Ia=M;Ja=x;break}a[w+x|0]=1;Ia=M;Ja=x}}while(0);k=T+1|0;if((k|0)<(ta|0)){T=k;x=Ja;aa=Ia}else{Ka=ta;La=Ja;Ma=Ia;break}}}else{Ka=za;La=0;Ma=wa}ta=q+(La<<2)|0;aa=c[ta>>2]|0;x=(((aa|0)==0)<<31>>31)+La|0;T=(n&16|0)!=0;b:do{if((x|0)<0){Na=Da;Oa=ka;Pa=T;Qa=n}else{k=~~ka;G=+(((k|0)>-1?k:-k|0)|0);la=-0.0-G;if((Ma|0)==(za|0)){Ra=0;Sa=Da;Ta=ka;Ua=T;Va=aa}else{k=0;ma=Da;qa=ka;M=T;while(1){do{if(M){L=~~ma;oa=+(((L|0)>-1?L:-L|0)|0);if((a[w+k|0]|0)==0){Wa=G;Xa=oa;break}Wa=la;Xa=-0.0-oa}else{Wa=qa;Xa=ma}}while(0);L=o+(k<<2)|0;f=c[L>>2]|0;C=c[q+(k<<2)>>2]|0;do{if((f|0)==(C|0)){B=~~(Wa+ +(c[s+(k<<2)>>2]|0));z=f-(c[(c[J>>2]|0)+408+((d[K]|0)*12|0)>>2]|0)|0;c[L>>2]=z;yr(b,e,z,~~(Wa+(+h[6140]+ +h[6138])+ +(z|0)*+h[6139]),f,B,~~(ra*Xa))}else{if((f|0)==0){break}yr(b,e,f,~~(Wa+ +(c[s+(k<<2)>>2]|0)),C,~~(Wa+ +(c[u+(k<<2)>>2]|0)),~~(ra*Xa))}}while(0);C=k+1|0;f=c[13132]|0;L=(f&16|0)!=0;if((C|0)>(((x|0)>20?20:x)|0)){Na=Xa;Oa=Wa;Pa=L;Qa=f;break b}else{k=C;ma=Xa;qa=Wa;M=L}}}while(1){do{if(Ua){M=~~Sa;qa=+(((M|0)>-1?M:-M|0)|0);if((a[w+Ra|0]|0)==0){Ya=G;Za=qa;break}Ya=la;Za=-0.0-qa}else{Ya=Ta;Za=Sa}}while(0);M=o+(Ra<<2)|0;k=c[M>>2]|0;L=q+(Ra<<2)|0;C=c[L>>2]|0;c:do{if((k|0)==(C|0)){do{if((Ra|0)==0){if(!(+(k|0)!=+g[xa>>2])){break}f=~~(Ya+ +(c[s>>2]|0));B=(c[(c[J>>2]|0)+408+((d[K]|0)*12|0)>>2]|0)+k|0;c[L>>2]=B;yr(b,e,k,f,B,~~(Ya+(+h[6140]+ +h[6138])+ +(B|0)*+h[6139]),~~(ra*Za));_a=c[ta>>2]|0;break c}}while(0);B=~~(Ya+ +(c[s+(Ra<<2)>>2]|0));f=k-(c[(c[J>>2]|0)+408+((d[K]|0)*12|0)>>2]|0)|0;c[M>>2]=f;yr(b,e,f,~~(Ya+(+h[6140]+ +h[6138])+ +(f|0)*+h[6139]),k,B,~~(ra*Za));_a=Va}else{if((k|0)==0){_a=Va;break}yr(b,e,k,~~(Ya+ +(c[s+(Ra<<2)>>2]|0)),C,~~(Ya+ +(c[u+(Ra<<2)>>2]|0)),~~(ra*Za));_a=Va}}while(0);C=Ra+1|0;k=(((_a|0)==0)<<31>>31)+La|0;M=c[13132]|0;L=(M&16|0)!=0;if((C|0)>(((k|0)>20?20:k)|0)){Na=Za;Oa=Ya;Pa=L;Qa=M;break}else{Ra=C;Sa=Za;Ta=Ya;Ua=L;Va=_a}}}}while(0);if(Pa){ta=~~ka;x=~~Na;$a=+(((ta|0)>-1?ta:-ta|0)|0);ab=+(((x|0)>-1?x:-x|0)|0)}else{$a=Oa;ab=Na}if((Ca|0)>(S|0)){Ea=ab;Fa=$a;Ga=Ma;Ha=Qa;break a}Da=ab;ka=$a;Ca=Ca+1|0;za=sa?0:Ka;va=A+va|0;wa=Ma;n=Qa}}}while(0);n=ca+1|0;if((n|0)>(U|0)){break}else{pa=Ea;Ba=Fa+ua*Ea;ca=n;ya=Ga;Aa=Ha}}i=l;return}else if((V|0)==123){i=l;return}}function Tq(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;if((e|0)==0){yc(16944,20376,57,24232)}if((g|0)==0){yc(16480,20376,58,24232)}h=a+44|0;i=c[h>>2]|0;c[h>>2]=(c[a+12>>2]|0)==(d|0)?16711680:0;j=c[d+128>>2]|0;k=c[(c[a+4>>2]|0)+820>>2]|0;do{if((j|0)==-2147483647){if((k|0)==0){l=Tm(d)|0;c[d+92>>2]=(c[f+92>>2]|0)+l;c[d+88>>2]=c[g+88>>2];break}else{yc(13944,20376,73,24232)}}else{if((k|0)==2){c[d+92>>2]=j;c[d+88>>2]=c[g+88>>2];break}else{yc(12440,20376,79,24232)}}}while(0);if((d|0)==0){c[h>>2]=i;return}j=d;if((VJ(j,47328,46344,-1)|0)!=0){Uq(a,b,d,e,g,0);c[h>>2]=i;return}if((VJ(j,47328,46024,-1)|0)!=0){Vq(a,b,d,e,g);c[h>>2]=i;return}if((VJ(j,47328,46576,-1)|0)!=0){Wq(a,b,d,e,f,g);c[h>>2]=i;return}if((VJ(j,47328,46528,-1)|0)!=0){Xq(a,b,d,e,g);c[h>>2]=i;return}if((VJ(j,47328,46192,-1)|0)!=0){Yq(a,b,d,e,g);c[h>>2]=i;return}if((VJ(j,47328,46656,-1)|0)!=0){Zq(a,b,d,e,g);c[h>>2]=i;return}if((VJ(j,47328,46176,-1)|0)!=0){_q(a,b,d,e,g);c[h>>2]=i;return}if((VJ(j,47328,46120,-1)|0)!=0){$q(a,b,d,e,g);c[h>>2]=i;return}if((VJ(j,47328,45848,-1)|0)!=0){ar(a,b,d,e,g);c[h>>2]=i;return}if((VJ(j,47328,46288,-1)|0)!=0){br(a,b,d,e,g,f);c[h>>2]=i;return}if((VJ(j,47328,45616,-1)|0)!=0){cr(a,b,d,e,g,0);c[h>>2]=i;return}if((VJ(j,47328,46464,-1)|0)!=0){dr(a,b,d,e,g);c[h>>2]=i;return}if((VJ(j,47328,46408,-1)|0)!=0){dr(a,b,d,e,g);c[h>>2]=i;return}if((VJ(j,47328,46608,-1)|0)!=0){er(a,b,d,e,g,f);c[h>>2]=i;return}if((VJ(j,47328,46392,-1)|0)!=0){er(a,b,d,e,g,f);c[h>>2]=i;return}if((VJ(j,47328,46056,-1)|0)!=0){fr(a,b,d,e,f,g);c[h>>2]=i;return}if((VJ(j,47328,45912,-1)|0)==0){c[h>>2]=i;return}gr(a,b,d,e,f,g);c[h>>2]=i;return}function Uq(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;k=i;i=i+32|0;l=k|0;m=k+16|0;if((g|0)==0){yc(16944,20376,1351,23544)}if((h|0)==0){yc(16480,20376,1352,23544)}if((f|0)==0){yc(15208,20376,1353,23544)}n=f;if((VJ(n,47328,46344,-1)|0)==0){yc(15208,20376,1353,23544)}o=VJ(n,47328,46344,-1)|0;n=c[(c[e>>2]|0)+116>>2]|0;p=f|0;q=l;a[q]=10;r=l;s=r+1|0;a[s]=a[14952]|0;a[s+1|0]=a[14953]|0;a[s+2|0]=a[14954]|0;a[s+3|0]=a[14955]|0;a[s+4|0]=a[14956]|0;a[r+6|0]=0;r=f+32|0;if((a[r]&1)==0){s=m;c[s>>2]=c[r>>2];c[s+4>>2]=c[r+4>>2];c[s+8>>2]=c[r+8>>2]}else{r=c[f+40>>2]|0;s=c[f+36>>2]|0;if(s>>>0>4294967279>>>0){GA(0)}if(s>>>0<11>>>0){a[m]=s<<1;t=m+1|0}else{u=s+16&-16;v=gK(u)|0;c[m+8>>2]=v;c[m>>2]=u|1;c[m+4>>2]=s;t=v}BK(t|0,r|0,s)|0;a[t+s|0]=0}wd[n&63](e,p,l,m);if(!((a[m]&1)==0)){iK(c[m+8>>2]|0)}if(!((a[q]&1)==0)){iK(c[l+8>>2]|0)}l=(a[o+172|0]|0)-4|0;q=f+88|0;m=c[q>>2]|0;n=c[o+168>>2]&255;s=(Qr(b,h,n,wm(g,(j|0)==0?f:j)|0,l)|0)+m|0;c[q>>2]=s;q=c[f+92>>2]|0;a:do{switch(c[o+180>>2]|0){case 3:{if((a[h+168|0]|0)==0){w=-42;x=s;break a}Ar(b,e,q,s,-45,h,(a[o+132|0]|0)!=0);y=((c[(c[b+4>>2]|0)+292+(d[h+171|0]<<2)>>2]|0)*7|0)+s|0;z=31;break};case 12:{w=-12;x=s;break};case 14:{w=-10;x=s;break};case 1:{y=s;z=31;break};case 5:{Ar(b,e,q,s,-43,h,(a[o+132|0]|0)!=0);A=((c[(c[b+4>>2]|0)+292+(d[h+171|0]<<2)>>2]|0)*7|0)+s|0;z=33;break};case 2:{A=s;z=33;break};default:{w=-44;x=s}}}while(0);if((z|0)==31){w=-45;x=y}else if((z|0)==33){w=-43;x=A}Ar(b,e,q,x,w,h,(a[o+132|0]|0)!=0);td[c[(c[e>>2]|0)+120>>2]&63](e,p,b);i=k;return}function Vq(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;h=i;i=i+32|0;j=h|0;k=h+16|0;if((f|0)==0){yc(16944,20376,1055,24264)}if((g|0)==0){yc(16480,20376,1056,24264)}f=g+16|0;if((c[f>>2]|0)==0){yc(18240,20376,1057,24264)}if((e|0)==0){yc(18032,20376,1058,24264)}l=e;if((VJ(l,47328,46024,-1)|0)==0){yc(18032,20376,1058,24264)}m=VJ(l,47328,46024,-1)|0;l=e|0;n=c[e+92>>2]|0;o=c[(c[d>>2]|0)+116>>2]|0;p=j;a[p]=14;q=j+1|0;a[q]=a[17624]|0;a[q+1|0]=a[17625]|0;a[q+2|0]=a[17626]|0;a[q+3|0]=a[17627]|0;a[q+4|0]=a[17628]|0;a[q+5|0]=a[17629]|0;a[q+6|0]=a[17630]|0;q=j+8|0;a[q]=0;r=e+32|0;if((a[r]&1)==0){s=k;c[s>>2]=c[r>>2];c[s+4>>2]=c[r+4>>2];c[s+8>>2]=c[r+8>>2]}else{r=c[e+40>>2]|0;s=c[e+36>>2]|0;if(s>>>0>4294967279>>>0){GA(0)}if(s>>>0<11>>>0){a[k]=s<<1;t=k+1|0}else{e=s+16&-16;u=gK(e)|0;c[k+8>>2]=u;c[k>>2]=e|1;c[k+4>>2]=s;t=u}BK(t|0,r|0,s)|0;a[t+s|0]=0}wd[o&63](d,l,j,k);if(!((a[k]&1)==0)){iK(c[k+8>>2]|0)}if(!((a[p]&1)==0)){iK(c[q>>2]|0)}if((a[m+172|0]|0)==0){v=d;w=c[v>>2]|0;x=w+120|0;y=c[x>>2]|0;td[y&63](d,l,b);i=h;return}m=c[f>>2]|0;if((m|0)==0){z=0}else{z=VJ(m,46112,46096,-1)|0}Or(b,d,z,n,g);v=d;w=c[v>>2]|0;x=w+120|0;y=c[x>>2]|0;td[y&63](d,l,b);i=h;return}function Wq(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,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;j=i;i=i+32|0;k=j|0;l=j+16|0;if((f|0)==0){yc(16944,20376,179,24024)}if((h|0)==0){yc(16480,20376,180,24024)}if((e|0)==0){m=0}else{m=VJ(e,47328,46576,-1)|0}n=c[(c[d>>2]|0)+116>>2]|0;o=e|0;p=k;a[p]=8;q=k;r=q+1|0;E=1835099490;a[r]=E;E=E>>8;a[r+1|0]=E;E=E>>8;a[r+2|0]=E;E=E>>8;a[r+3|0]=E;a[q+5|0]=0;q=e+32|0;if((a[q]&1)==0){r=l;c[r>>2]=c[q>>2];c[r+4>>2]=c[q+4>>2];c[r+8>>2]=c[q+8>>2]}else{q=c[e+40>>2]|0;r=c[e+36>>2]|0;if(r>>>0>4294967279>>>0){GA(0)}if(r>>>0<11>>>0){a[l]=r<<1;s=l+1|0}else{e=r+16&-16;t=gK(e)|0;c[l+8>>2]=t;c[l>>2]=e|1;c[l+4>>2]=r;s=t}BK(s|0,q|0,r)|0;a[s+r|0]=0}wd[n&63](d,o,k,l);if(!((a[l]&1)==0)){iK(c[l+8>>2]|0)}if(!((a[p]&1)==0)){iK(c[k+8>>2]|0)}k=m+8|0;p=m+4|0;l=c[p>>2]|0;if((c[k>>2]|0)==(l|0)){u=m|0;rm(f,u);v=d;w=c[v>>2]|0;x=w+120|0;y=c[x>>2]|0;td[y&63](d,o,b);i=j;return}else{z=0;A=l}do{l=c[A+(z<<2)>>2]|0;do{if((l|0)!=0){if((VJ(l,46112,47328,-1)|0)==0){break}n=c[(c[p>>2]|0)+(z<<2)>>2]|0;if((n|0)==0){B=0}else{B=VJ(n,46112,47328,-1)|0}Tq(b,d,B,f,g,h)}}while(0);z=z+1|0;A=c[p>>2]|0;}while(z>>>0<(c[k>>2]|0)-A>>2>>>0);u=m|0;rm(f,u);v=d;w=c[v>>2]|0;x=w+120|0;y=c[x>>2]|0;td[y&63](d,o,b);i=j;return}function Xq(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,F=0,G=0;j=i;i=i+32|0;k=j|0;l=j+16|0;if((g|0)==0){yc(16944,20376,1081,23592)}if((h|0)==0){yc(16480,20376,1082,23592)}if((f|0)==0){yc(17304,20376,1083,23592)}g=f;if((VJ(g,47328,46528,-1)|0)==0){yc(17304,20376,1083,23592)}m=VJ(g,47328,46528,-1)|0;g=m;n=c[(c[e>>2]|0)+116>>2]|0;o=f|0;p=k;a[p]=8;q=k;r=q+1|0;E=1717922915;a[r]=E;E=E>>8;a[r+1|0]=E;E=E>>8;a[r+2|0]=E;E=E>>8;a[r+3|0]=E;a[q+5|0]=0;q=f+32|0;if((a[q]&1)==0){r=l;c[r>>2]=c[q>>2];c[r+4>>2]=c[q+4>>2];c[r+8>>2]=c[q+8>>2]}else{q=c[f+40>>2]|0;r=c[f+36>>2]|0;if(r>>>0>4294967279>>>0){GA(0)}if(r>>>0<11>>>0){a[l]=r<<1;s=l+1|0}else{t=r+16&-16;u=gK(t)|0;c[l+8>>2]=u;c[l>>2]=t|1;c[l+4>>2]=r;s=u}BK(s|0,q|0,r)|0;a[s+r|0]=0}wd[n&63](e,o,k,l);if(!((a[l]&1)==0)){iK(c[l+8>>2]|0)}if(!((a[p]&1)==0)){iK(c[k+8>>2]|0)}k=c[h+88>>2]|0;p=c[f+92>>2]|0;f=Vh(g)|0;if((f|0)==258){v=-49;w=34}else if((f|0)==771){x=-48;w=36}else if((f|0)==1027){x=-47;w=36}else if((f|0)==773){y=-48;z=k}else if((f|0)==1029){A=-49;B=k;w=40}else if((f|0)==1025){C=-47;w=30}else if((f|0)==257){C=-49;w=30}else if((f|0)==17301762){D=-45;w=32}else if((f|0)==772){F=-50;w=39}else if((f|0)==1028){F=-49;w=39}else if((f|0)==1281){y=-104;z=k-(c[(c[b+4>>2]|0)+300+((d[h+171|0]|0)<<2)>>2]<<1)|0}else if((f|0)==34078978){D=-46;w=32}else if((f|0)==1026){G=-47;w=33}else{y=-49;z=k}if((w|0)==30){y=C;z=k-(c[(c[b+4>>2]|0)+308+((d[h+171|0]|0)<<2)>>2]|0)|0}else if((w|0)==32){G=D;w=33}else if((w|0)==36){y=x;z=k-(c[(c[b+4>>2]|0)+300+((d[h+171|0]|0)<<2)>>2]<<1)|0}else if((w|0)==39){A=F;B=k-(c[(c[b+4>>2]|0)+300+((d[h+171|0]|0)<<2)>>2]|0)|0;w=40}if((w|0)==33){v=G;w=34}else if((w|0)==40){y=A+2&255;z=B}if((w|0)==34){y=v;z=((c[(c[b+4>>2]|0)+300+((d[h+171|0]|0)<<2)>>2]|0)*-3|0)+k|0}k=c[(c[b+4>>2]|0)+280>>2]|0;v=a[m+132|0]|0;Ar(b,e,p-(k<<1)+(v<<24>>24==0?0:k)|0,z,y,h,v<<24>>24!=0);td[c[(c[e>>2]|0)+120>>2]&63](e,o,b);i=j;return}function Yq(b,e,f,h,j){b=b|0;e=e|0;f=f|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;k=i;i=i+32|0;l=k|0;m=k+16|0;if((h|0)==0){yc(16944,20376,1414,24344)}if((j|0)==0){yc(16480,20376,1415,24344)}if((f|0)==0){yc(14776,20376,1416,24344)}n=f;if((VJ(n,47328,46192,-1)|0)==0){yc(14776,20376,1416,24344)}o=VJ(n,47328,46192,-1)|0;n=c[(c[e>>2]|0)+116>>2]|0;p=f|0;q=l;a[q]=12;r=l;s=r+1|0;a[s]=a[14640]|0;a[s+1|0]=a[14641]|0;a[s+2|0]=a[14642]|0;a[s+3|0]=a[14643]|0;a[s+4|0]=a[14644]|0;a[s+5|0]=a[14645]|0;a[r+7|0]=0;r=f+32|0;if((a[r]&1)==0){s=m;c[s>>2]=c[r>>2];c[s+4>>2]=c[r+4>>2];c[s+8>>2]=c[r+8>>2]}else{r=c[f+40>>2]|0;s=c[f+36>>2]|0;if(s>>>0>4294967279>>>0){GA(0)}if(s>>>0<11>>>0){a[m]=s<<1;t=m+1|0}else{u=s+16&-16;v=gK(u)|0;c[m+8>>2]=v;c[m>>2]=u|1;c[m+4>>2]=s;t=v}BK(t|0,r|0,s)|0;a[t+s|0]=0}wd[n&63](e,p,l,m);if(!((a[m]&1)==0)){iK(c[m+8>>2]|0)}if(!((a[q]&1)==0)){iK(c[l+8>>2]|0)}l=(a[o+172|0]|0)-4|0;q=f+88|0;m=c[q>>2]|0;n=c[o+168>>2]&255;s=(Qr(b,j,n,wm(h,f)|0,l)|0)+m|0;c[q>>2]=s;q=d[j+171|0]|0;m=c[b+4>>2]|0;Ar(b,e,c[f+92>>2]|0,~~(+(s|0)-(+(c[m+292+(q<<2)>>2]|0)- +g[m+464+(q<<2)>>2])),35,j,(a[o+132|0]|0)!=0);td[c[(c[e>>2]|0)+120>>2]&63](e,p,b);i=k;return}function Zq(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;h=i;i=i+32|0;j=h|0;k=h+16|0;if((f|0)==0){yc(16944,20376,1437,23624)}if((g|0)==0){yc(16480,20376,1438,23624)}if((e|0)==0){yc(14376,20376,1439,23624)}l=e;if((VJ(l,47328,46656,-1)|0)==0){yc(14376,20376,1439,23624)}m=VJ(l,47328,46656,-1)|0;l=c[(c[d>>2]|0)+116>>2]|0;n=e|0;o=j;a[o]=6;p=j+1|0;a[p]=a[14288]|0;a[p+1|0]=a[14289]|0;a[p+2|0]=a[14290]|0;a[j+4|0]=0;p=e+32|0;if((a[p]&1)==0){q=k;c[q>>2]=c[p>>2];c[q+4>>2]=c[p+4>>2];c[q+8>>2]=c[p+8>>2]}else{p=c[e+40>>2]|0;q=c[e+36>>2]|0;if(q>>>0>4294967279>>>0){GA(0)}if(q>>>0<11>>>0){a[k]=q<<1;r=k+1|0}else{s=q+16&-16;t=gK(s)|0;c[k+8>>2]=t;c[k>>2]=s|1;c[k+4>>2]=q;r=t}BK(r|0,p|0,q)|0;a[r+q|0]=0}wd[l&63](d,n,j,k);if(!((a[k]&1)==0)){iK(c[k+8>>2]|0)}if(!((a[o]&1)==0)){iK(c[j+8>>2]|0)}j=(a[m+172|0]|0)-4|0;o=e+88|0;k=c[o>>2]|0;l=c[m+168>>2]&255;m=(Qr(b,g,l,wm(f,e)|0,j)|0)+k|0;c[o>>2]=m;zr(b,d,c[e+92>>2]|0,m);td[c[(c[d>>2]|0)+120>>2]&63](d,n,b);i=h;return}function _q(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;j=i;i=i+32|0;k=j|0;l=j+16|0;if((g|0)==0){yc(16944,20376,1480,24328)}if((h|0)==0){yc(16480,20376,1481,24328)}if((f|0)==0){m=0}else{m=VJ(f,47328,46176,-1)|0}n=vm(g,f)|0;if((n|0)==0){i=j;return}o=c[(c[e>>2]|0)+116>>2]|0;p=f|0;q=k;a[q]=12;r=k;s=r+1|0;a[s]=a[13616]|0;a[s+1|0]=a[13617]|0;a[s+2|0]=a[13618]|0;a[s+3|0]=a[13619]|0;a[s+4|0]=a[13620]|0;a[s+5|0]=a[13621]|0;a[r+7|0]=0;r=f+32|0;if((a[r]&1)==0){s=l;c[s>>2]=c[r>>2];c[s+4>>2]=c[r+4>>2];c[s+8>>2]=c[r+8>>2]}else{r=c[f+40>>2]|0;s=c[f+36>>2]|0;if(s>>>0>4294967279>>>0){GA(0)}if(s>>>0<11>>>0){a[l]=s<<1;t=l+1|0}else{u=s+16&-16;v=gK(u)|0;c[l+8>>2]=v;c[l>>2]=u|1;c[l+4>>2]=s;t=v}BK(t|0,r|0,s)|0;a[t+s|0]=0}wd[o&63](e,p,k,l);if(!((a[l]&1)==0)){iK(c[l+8>>2]|0)}if(!((a[q]&1)==0)){iK(c[k+8>>2]|0)}k=m+164|0;if((c[k>>2]|0)>0){q=f+92|0;l=h+171|0;o=b+4|0;s=h+88|0;t=m+168|0;r=0;do{v=(ia((c[(c[o>>2]|0)+440+(d[l]<<3)>>2]|0)+5|0,r)|0)+(c[q>>2]|0)|0;u=c[s>>2]|0;w=Ul(m,r)|0;x=wm(g,f)|0;y=Ul(m,r)|0;z=(Qr(b,h,w,x,Vl(m,y,Vh(n)|0)|0)|0)+u|0;Ar(b,e,v,z,(a[t]|0)==2?-43:-45,h,0);r=r+1|0;}while((r|0)<(c[k>>2]|0))}td[c[(c[e>>2]|0)+120>>2]&63](e,p,b);i=j;return}function $q(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;j=i;i=i+32|0;k=j|0;l=j+16|0;if((g|0)==0){yc(16944,20376,1148,24312)}if((h|0)==0){yc(16480,20376,1149,24312)}if((f|0)==0){yc(16976,20376,1150,24312)}g=f;if((VJ(g,47328,46120,-1)|0)==0){yc(16976,20376,1150,24312)}m=VJ(g,47328,46120,-1)|0;g=c[(c[e>>2]|0)+116>>2]|0;n=f|0;o=k;a[o]=12;p=k;q=p+1|0;a[q]=a[16880]|0;a[q+1|0]=a[16881]|0;a[q+2|0]=a[16882]|0;a[q+3|0]=a[16883]|0;a[q+4|0]=a[16884]|0;a[q+5|0]=a[16885]|0;a[p+7|0]=0;p=f+32|0;if((a[p]&1)==0){q=l;c[q>>2]=c[p>>2];c[q+4>>2]=c[p+4>>2];c[q+8>>2]=c[p+8>>2]}else{p=c[f+40>>2]|0;q=c[f+36>>2]|0;if(q>>>0>4294967279>>>0){GA(0)}if(q>>>0<11>>>0){a[l]=q<<1;r=l+1|0}else{s=q+16&-16;t=gK(s)|0;c[l+8>>2]=t;c[l>>2]=s|1;c[l+4>>2]=q;r=t}BK(r|0,p|0,q)|0;a[r+q|0]=0}wd[g&63](e,n,k,l);if(!((a[l]&1)==0)){iK(c[l+8>>2]|0)}if(!((a[o]&1)==0)){iK(c[k+8>>2]|0)}k=m+184|0;o=c[k>>2]|0;do{if((o|0)==2){pr(b,e,c[f+92>>2]|0,c[h+88>>2]|0,h)}else if((o|0)==1){if((c[m+204>>2]|0)==0){qr(b,e,c[f+92>>2]|0,c[h+88>>2]|0,h);break}if((c[m+204>>2]|0)!=1){break}rr(b,e,c[f+92>>2]|0,c[h+88>>2]|0,h)}}while(0);do{if((a[m+212|0]|0)!=0){o=c[h+88>>2]|0;if((e|0)==0){yc(16456,20376,1278,23976)}else{vr(b,e,o,o-(c[(c[b+4>>2]|0)+308+(d[h+171|0]<<2)>>2]|0)|0,c[f+92>>2]|0,3);break}}}while(0);if((c[m+180>>2]|0)!=0){sr(b,e,c[f+92>>2]|0,c[h+88>>2]|0,h)}o=c[m+168>>2]|0;if((o|0)==0){u=e;v=c[u>>2]|0;w=v+120|0;x=c[w>>2]|0;td[x&63](e,n,b);i=j;return}l=c[f+92>>2]|0;if((c[k>>2]|0)==0){y=l}else{y=((c[(c[b+4>>2]|0)+280>>2]|0)*5|0)+l|0}tr(b,e,y,c[h+88>>2]|0,o,c[m+172>>2]|0,h);u=e;v=c[u>>2]|0;w=v+120|0;x=c[w>>2]|0;td[x&63](e,n,b);i=j;return}function ar(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;h=i;i=i+32|0;j=h|0;k=h+16|0;if((f|0)==0){yc(16944,20376,1320,24152)}if((g|0)==0){yc(16480,20376,1321,24152)}if((e|0)==0){yc(15776,20376,1322,24152)}f=e;if((VJ(f,47328,45848,-1)|0)==0){yc(15776,20376,1322,24152)}l=VJ(f,47328,45848,-1)|0;f=c[(c[d>>2]|0)+116>>2]|0;m=e|0;n=j;a[n]=16;o=j;p=o+1|0;q=p|0;E=1702126957;a[q]=E;E=E>>8;a[q+1|0]=E;E=E>>8;a[q+2|0]=E;E=E>>8;a[q+3|0]=E;q=p+4|0;E=1734955890;a[q]=E;E=E>>8;a[q+1|0]=E;E=E>>8;a[q+2|0]=E;E=E>>8;a[q+3|0]=E;a[o+9|0]=0;o=e+32|0;if((a[o]&1)==0){q=k;c[q>>2]=c[o>>2];c[q+4>>2]=c[o+4>>2];c[q+8>>2]=c[o+8>>2]}else{o=c[e+40>>2]|0;q=c[e+36>>2]|0;if(q>>>0>4294967279>>>0){GA(0)}if(q>>>0<11>>>0){a[k]=q<<1;r=k+1|0}else{p=q+16&-16;s=gK(p)|0;c[k+8>>2]=s;c[k>>2]=p|1;c[k+4>>2]=q;r=s}BK(r|0,o|0,q)|0;a[r+q|0]=0}wd[f&63](d,m,j,k);if(!((a[k]&1)==0)){iK(c[k+8>>2]|0)}if(!((a[n]&1)==0)){iK(c[j+8>>2]|0)}j=g+88|0;n=a[g+171|0]|0;k=b+4|0;f=((c[(c[k>>2]|0)+292+((n&255)<<2)>>2]|0)*-6|0)+(c[j>>2]|0)|0;q=c[e+92>>2]|0;e=c[l+172>>2]|0;if((e|0)==1){Ar(b,d,q,f,-116,g,n<<24>>24!=0);t=((c[(c[k>>2]|0)+280>>2]|0)*5|0)+q|0}else if((e|0)==2){Ar(b,d,q,f,-73,g,n<<24>>24!=0);t=((c[(c[k>>2]|0)+280>>2]|0)*5|0)+q|0}else{t=q}q=c[l+168>>2]|0;if((q|0)==0){u=d;v=c[u>>2]|0;w=v+120|0;x=c[w>>2]|0;td[x&63](d,m,b);i=h;return}tr(b,d,t,c[j>>2]|0,q,c[l+176>>2]|0,g);u=d;v=c[u>>2]|0;w=v+120|0;x=c[w>>2]|0;td[x&63](d,m,b);i=h;return}function br(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;k=i;i=i+32|0;l=k|0;m=k+16|0;if((g|0)==0){yc(16944,20376,695,23496)}if((h|0)==0){yc(16480,20376,696,23496)}if((f|0)==0){yc(21248,20376,697,23496)}if((VJ(f,47328,46288,-1)|0)==0){yc(21248,20376,697,23496)}g=c[(c[e>>2]|0)+116>>2]|0;n=f|0;o=l;a[o]=10;p=l;q=p+1|0;a[q]=a[20312]|0;a[q+1|0]=a[20313]|0;a[q+2|0]=a[20314]|0;a[q+3|0]=a[20315]|0;a[q+4|0]=a[20316]|0;a[p+6|0]=0;p=f+32|0;if((a[p]&1)==0){q=m;c[q>>2]=c[p>>2];c[q+4>>2]=c[p+4>>2];c[q+8>>2]=c[p+8>>2]}else{p=c[f+40>>2]|0;q=c[f+36>>2]|0;if(q>>>0>4294967279>>>0){GA(0)}if(q>>>0<11>>>0){a[m]=q<<1;r=m+1|0}else{s=q+16&-16;t=gK(s)|0;c[m+8>>2]=t;c[m>>2]=s|1;c[m+4>>2]=q;r=t}BK(r|0,p|0,q)|0;a[r+q|0]=0}wd[g&63](e,n,l,m);if(!((a[m]&1)==0)){iK(c[m+8>>2]|0)}if(!((a[o]&1)==0)){iK(c[l+8>>2]|0)}l=c[f+92>>2]|0;o=c[j+92>>2]|0;m=((o-l+(Ag(j)|0)|0)/2|0)+l|0;nr(b,e,m,(c[f+88>>2]|0)-(ia(c[(c[b+4>>2]|0)+300+((d[h+171|0]|0)<<2)>>2]|0,(c[h+160>>2]|0)/2|0)|0)|0,2,0,0,h);td[c[(c[e>>2]|0)+120>>2]&63](e,n,b);i=k;return}function cr(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;j=i;i=i+240|0;k=j|0;l=j+16|0;m=j+32|0;n=j+48|0;o=j+56|0;p=j+64|0;q=j+208|0;r=j+224|0;if((g|0)==0){yc(16944,20376,726,24072)}if((h|0)==0){yc(16480,20376,727,24072)}if((f|0)==0){yc(19320,20376,728,24072)}g=f;if((VJ(g,47328,45616,-1)|0)==0){yc(19320,20376,728,24072)}s=VJ(g,47328,45616,-1)|0;g=c[(c[e>>2]|0)+116>>2]|0;t=f|0;u=l;a[u]=18;v=l;BK(v+1|0,18856,9)|0;a[v+10|0]=0;v=f+32|0;if((a[v]&1)==0){w=m;c[w>>2]=c[v>>2];c[w+4>>2]=c[v+4>>2];c[w+8>>2]=c[v+8>>2]}else{v=c[f+40>>2]|0;w=c[f+36>>2]|0;if(w>>>0>4294967279>>>0){GA(0)}if(w>>>0<11>>>0){a[m]=w<<1;x=m+1|0}else{y=w+16&-16;z=gK(y)|0;c[m+8>>2]=z;c[m>>2]=y|1;c[m+4>>2]=w;x=z}BK(x|0,v|0,w)|0;a[x+w|0]=0}wd[g&63](e,t,l,m);if(!((a[m]&1)==0)){iK(c[m+8>>2]|0)}if(!((a[u]&1)==0)){iK(c[l+8>>2]|0)}l=c[f+92>>2]|0;f=s+168|0;if((c[f>>2]|0)>999){c[f>>2]=999}s=c[b+4>>2]|0;u=(c[s+280>>2]|0)*5|0;m=h+88|0;g=c[s+300+((d[h+171|0]|0)<<2)>>2]|0;h=(((g|0)/2|0)*-5|0)+(c[m>>2]|0)|0;s=h+g|0;g=l-u|0;w=u+l|0;xr(b,e,g,s-4|0,w,h+4|0);l=h-4|0;h=s+4|0;vr(b,e,l,h,g,4);vr(b,e,l,h,w,4);h=p+64|0;l=p|0;s=p+8|0;c[s>>2]=27256;u=p+12|0;c[l>>2]=47740;c[h>>2]=47760;c[p+4>>2]=0;x=p+64|0;jB(x,u);c[p+136>>2]=0;c[p+140>>2]=-1;c[l>>2]=27236;c[h>>2]=27276;c[s>>2]=27256;h=k;v=u|0;c[v>>2]=27560;z=p+16|0;zG(z);DK(p+20|0,0,24)|0;c[v>>2]=27416;v=p+44|0;DK(v|0,0,16)|0;c[p+60>>2]=24;DK(h|0,0,12)|0;ij(u,k);if(!((a[h]&1)==0)){iK(c[k+8>>2]|0)}iC(p+8|0,c[f>>2]|0)|0;f=c[(c[e>>2]|0)+52>>2]|0;dl(q,u);wd[f&63](e,q,n,o);if(!((a[q]&1)==0)){iK(c[q+8>>2]|0)}q=c[n>>2]|0;n=c[m>>2]|0;dl(r,u);Br(b,e,((w-g-q|0)/2|0)+g|0,n+5|0,r,0,0);if(!((a[r]&1)==0)){iK(c[r+8>>2]|0)}td[c[(c[e>>2]|0)+120>>2]&63](e,t,b);c[l>>2]=27236;c[p+64>>2]=27276;c[s>>2]=27256;s=p+12|0;c[s>>2]=27416;if(!((a[v]&1)==0)){iK(c[p+52>>2]|0)}c[s>>2]=27560;BG(z);fB(x);i=j;return}function dr(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;h=i;i=i+64|0;j=h|0;k=h+16|0;l=h+32|0;m=h+48|0;if((f|0)==0){yc(16944,20376,141,23712)}if((g|0)==0){yc(16480,20376,142,23712)}if((e|0)==0){i=h;return}n=e;if((VJ(n,47328,46880,-1)|0)==0){i=h;return}if((VJ(n,47328,46464,-1)|0)!=0){o=VJ(n,47328,46464,-1)|0;p=(a[o+228|0]|0)-4|0;q=e|0;r=e+88|0;s=c[r>>2]|0;t=c[o+236>>2]&255;c[r>>2]=(Qr(b,g,t,wm(f,e)|0,p)|0)+s;s=c[(c[d>>2]|0)+116>>2]|0;p=j;a[p]=8;t=j;r=t+1|0;E=1702129518;a[r]=E;E=E>>8;a[r+1|0]=E;E=E>>8;a[r+2|0]=E;E=E>>8;a[r+3|0]=E;a[t+5|0]=0;t=e+32|0;if((a[t]&1)==0){r=k;c[r>>2]=c[t>>2];c[r+4>>2]=c[t+4>>2];c[r+8>>2]=c[t+8>>2]}else{t=c[e+40>>2]|0;r=c[e+36>>2]|0;if(r>>>0>4294967279>>>0){GA(0)}if(r>>>0<11>>>0){a[k]=r<<1;u=k+1|0}else{o=r+16&-16;v=gK(o)|0;c[k+8>>2]=v;c[k>>2]=o|1;c[k+4>>2]=r;u=v}BK(u|0,t|0,r)|0;a[u+r|0]=0}wd[s&63](d,q,j,k);if(!((a[k]&1)==0)){iK(c[k+8>>2]|0)}if(!((a[p]&1)==0)){iK(c[j+8>>2]|0)}hr(b,d,e,f,g);td[c[(c[d>>2]|0)+120>>2]&63](d,q,b);i=h;return}if((VJ(n,47328,46408,-1)|0)==0){i=h;return}q=VJ(n,47328,46408,-1)|0;n=c[q+220>>2]|0;j=e|0;p=e+88|0;k=c[p>>2]|0;if((n|0)==0){w=Rr(b,g,c[q+184>>2]&255)|0}else{s=(a[q+224|0]|0)-4|0;w=Qr(b,g,n&255,wm(f,e)|0,s)|0}c[p>>2]=w+k;k=c[(c[d>>2]|0)+116>>2]|0;w=l;a[w]=8;p=l;s=p+1|0;E=1953719666;a[s]=E;E=E>>8;a[s+1|0]=E;E=E>>8;a[s+2|0]=E;E=E>>8;a[s+3|0]=E;a[p+5|0]=0;p=e+32|0;if((a[p]&1)==0){s=m;c[s>>2]=c[p>>2];c[s+4>>2]=c[p+4>>2];c[s+8>>2]=c[p+8>>2]}else{p=c[e+40>>2]|0;s=c[e+36>>2]|0;if(s>>>0>4294967279>>>0){GA(0)}if(s>>>0<11>>>0){a[m]=s<<1;x=m+1|0}else{n=s+16&-16;q=gK(n)|0;c[m+8>>2]=q;c[m>>2]=n|1;c[m+4>>2]=s;x=q}BK(x|0,p|0,s)|0;a[x+s|0]=0}wd[k&63](d,j,l,m);if(!((a[m]&1)==0)){iK(c[m+8>>2]|0)}if(!((a[w]&1)==0)){iK(c[l+8>>2]|0)}ir(b,d,e,f,g);td[c[(c[d>>2]|0)+120>>2]&63](d,j,b);i=h;return}function er(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;k=i;i=i+32|0;l=k|0;m=k+16|0;if((g|0)==0){yc(16944,20376,1513,23616)}if((h|0)==0){yc(16480,20376,1514,23616)}if((f|0)==0){yc(13432,20376,1515,23616)}g=f;do{if((VJ(g,47328,46608,-1)|0)==0){if((VJ(g,47328,46392,-1)|0)!=0){break}yc(13432,20376,1515,23616)}}while(0);n=VJ(g,47328,46608,-1)|0;o=VJ(g,47328,46392,-1)|0;do{if((n|0)==0){if((o|0)==0){p=0;q=0;break}p=c[o+164>>2]|0;q=c[o+168>>2]|0}else{p=c[n+164>>2]|0;q=c[n+168>>2]|0}}while(0);n=(p|0)!=0;o=n^1;g=(q|0)==0;if(g&o){i=k;return}r=wp(h|0,46096,-1)|0;if((r|0)==0){s=0}else{s=VJ(r,46112,46096,-1)|0}do{if(n){r=wp(p|0,46096,-1)|0;if((r|0)==0){t=0;break}t=VJ(r,46112,46096,-1)|0}else{t=0}}while(0);n=(q|0)!=0;do{if(n){r=wp(q|0,46096,-1)|0;if((r|0)==0){u=21;break}v=VJ(r,46112,46096,-1)|0;r=(s|0)==0;if((v|0)==0|r|(v|0)==(s|0)){w=r;u=31;break}r=c[p+156>>2]|0;if((r|0)==0){i=k;return}else{x=r}while(1){if((c[x+104>>2]|0)==14){u=27;break}r=zp(x|0,0)|0;if((r|0)==0){u=69;break}v=VJ(r,46112,45712,-1)|0;if((v|0)==0){u=69;break}else{x=v}}if((u|0)==27){v=c[p+88>>2]|0;r=c[p+92>>2]|0;y=(c[x+84>>2]|0)+(c[j+92>>2]|0)|0;if((p|0)==0){yc(13232,20376,1568,23616)}z=p;if((VJ(z,47328,46464,-1)|0)==0){yc(13232,20376,1568,23616)}else{A=r;B=(VJ(z,47328,46464,-1)|0)+304|0;C=v;D=v;E=y;break}}else if((u|0)==69){i=k;return}}else{u=21}}while(0);if((u|0)==21){w=(s|0)==0;u=31}do{if((u|0)==31){if((t|0)==0|w|(t|0)==(s|0)){if(o|n^1){yc(12944,20376,1591,23616)}j=c[p+88>>2]|0;x=c[q+88>>2]|0;y=c[p+92>>2]|0;v=c[q+92>>2]|0;if((p|0)==0){yc(13232,20376,1599,23616)}z=p;if((VJ(z,47328,46464,-1)|0)==0){yc(13232,20376,1599,23616)}else{A=y;B=(VJ(z,47328,46464,-1)|0)+304|0;C=x;D=j;E=v;break}}v=c[q+156>>2]|0;if((v|0)==0){i=k;return}else{F=v}while(1){if((c[F+104>>2]|0)!=0){u=36;break}v=Ap(F|0,0)|0;if((v|0)==0){u=69;break}j=VJ(v,46112,45712,-1)|0;if((j|0)==0){u=69;break}else{F=j}}if((u|0)==36){j=c[q+88>>2]|0;v=c[q+92>>2]|0;x=v-(c[(c[b+4>>2]|0)+284>>2]|0)|0;if(g){yc(13008,20376,1585,23616)}z=q;if((VJ(z,47328,46464,-1)|0)==0){yc(13008,20376,1585,23616)}else{A=x;B=(VJ(z,47328,46464,-1)|0)+304|0;C=j;D=j;E=v;break}}else if((u|0)==69){i=k;return}}}while(0);q=c[B>>2]|0;if((p|0)==0){yc(13232,20376,1611,23616)}if((VJ(p,47328,46464,-1)|0)==0){yc(13232,20376,1611,23616)}if((q|0)==1){u=52}else if((q|0)==0){if((D|0)>((c[h+88>>2]|0)-(c[(c[b+4>>2]|0)+300+((d[h+171|0]|0)<<2)>>2]<<1)|0)){u=51}else{u=52}}else{u=51}if((u|0)==51){G=C+14|0;H=D+14|0;I=0}else if((u|0)==52){G=C-14|0;H=D-14|0;I=1}D=c[(c[e>>2]|0)+116>>2]|0;C=f|0;u=l;a[u]=6;h=l+1|0;a[h]=a[12840]|0;a[h+1|0]=a[12841]|0;a[h+2|0]=a[12842]|0;a[l+4|0]=0;h=f+32|0;if((a[h]&1)==0){q=m;c[q>>2]=c[h>>2];c[q+4>>2]=c[h+4>>2];c[q+8>>2]=c[h+8>>2]}else{h=c[f+40>>2]|0;q=c[f+36>>2]|0;if(q>>>0>4294967279>>>0){GA(0)}if(q>>>0<11>>>0){a[m]=q<<1;J=m+1|0}else{f=q+16&-16;p=gK(f)|0;c[m+8>>2]=p;c[m>>2]=f|1;c[m+4>>2]=q;J=p}BK(J|0,h|0,q)|0;a[J+q|0]=0}wd[D&63](e,C,l,m);if(!((a[m]&1)==0)){iK(c[m+8>>2]|0)}if(!((a[u]&1)==0)){iK(c[l+8>>2]|0)}Dr(b,e,A,H,E,G,I);td[c[(c[e>>2]|0)+120>>2]&63](e,C,b);i=k;return}function fr(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,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;j=i;i=i+32|0;k=j|0;l=j+16|0;if((f|0)==0){yc(16944,20376,201,23808)}if((h|0)==0){yc(16480,20376,202,23808)}if((e|0)==0){m=0}else{m=VJ(e,47328,46056,-1)|0}n=c[(c[d>>2]|0)+116>>2]|0;o=e|0;p=k;a[p]=12;q=k;r=q+1|0;a[r]=a[8800]|0;a[r+1|0]=a[8801]|0;a[r+2|0]=a[8802]|0;a[r+3|0]=a[8803]|0;a[r+4|0]=a[8804]|0;a[r+5|0]=a[8805]|0;a[q+7|0]=0;q=e+32|0;if((a[q]&1)==0){r=l;c[r>>2]=c[q>>2];c[r+4>>2]=c[q+4>>2];c[r+8>>2]=c[q+8>>2]}else{q=c[e+40>>2]|0;r=c[e+36>>2]|0;if(r>>>0>4294967279>>>0){GA(0)}if(r>>>0<11>>>0){a[l]=r<<1;s=l+1|0}else{e=r+16&-16;t=gK(e)|0;c[l+8>>2]=t;c[l>>2]=e|1;c[l+4>>2]=r;s=t}BK(s|0,q|0,r)|0;a[s+r|0]=0}wd[n&63](d,o,k,l);if(!((a[l]&1)==0)){iK(c[l+8>>2]|0)}if(!((a[p]&1)==0)){iK(c[k+8>>2]|0)}k=m+8|0;p=m+4|0;l=c[p>>2]|0;if((c[k>>2]|0)==(l|0)){u=m|0;rm(f,u);v=d;w=c[v>>2]|0;x=w+120|0;y=c[x>>2]|0;td[y&63](d,o,b);i=j;return}else{z=0;A=l}do{l=c[A+(z<<2)>>2]|0;do{if((l|0)!=0){if((VJ(l,46112,47328,-1)|0)==0){break}n=c[(c[p>>2]|0)+(z<<2)>>2]|0;if((n|0)==0){B=0}else{B=VJ(n,46112,47328,-1)|0}Tq(b,d,B,f,g,h)}}while(0);z=z+1|0;A=c[p>>2]|0;}while(z>>>0<(c[k>>2]|0)-A>>2>>>0);u=m|0;rm(f,u);v=d;w=c[v>>2]|0;x=w+120|0;y=c[x>>2]|0;td[y&63](d,o,b);i=j;return}function gr(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;if((e|0)==0){yc(16944,20376,1736,24184)}if((g|0)==0){yc(16480,20376,1737,24184)}if((c[g+16>>2]|0)==0){yc(18240,20376,1738,24184)}h=VJ(d,47328,45912,-1)|0;d=h+8|0;i=h+4|0;h=c[i>>2]|0;if(((c[d>>2]|0)-h|0)<=0){return}j=a+44|0;k=0;l=h;a:while(1){h=c[l+(k<<2)>>2]|0;if((h|0)==0){m=13;break}n=VJ(h,46112,46304,-1)|0;if((n|0)==0){m=13;break}h=n+8|0;o=n+4|0;n=c[o>>2]|0;if(((c[h>>2]|0)-n|0)>0){p=(k|0)==0?65280:255;q=0;r=n;do{n=c[r+(q<<2)>>2]|0;if((n|0)==0){m=16;break a}s=VJ(n,46112,47328,-1)|0;if((s|0)==0){m=16;break a}c[j>>2]=p;Tq(a,b,s,e,f,g);q=q+1|0;r=c[o>>2]|0;}while((q|0)<((c[h>>2]|0)-r>>2|0))}r=k+1|0;h=c[i>>2]|0;if((r|0)<((c[d>>2]|0)-h>>2|0)){k=r;l=h}else{m=19;break}}if((m|0)==13){yc(12792,20376,1745,24184)}else if((m|0)==16){yc(12648,20376,1750,24184)}else if((m|0)==19){return}}
-
-
-
-function hr(b,e,f,h,j){b=b|0;e=e|0;f=f|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,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.0,ca=0.0,da=0,ea=0,fa=0,ga=0,ha=0,ja=0.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;k=i;i=i+184|0;l=k|0;if((h|0)==0){yc(16944,20376,231,23576)}if((j|0)==0){yc(16480,20376,232,23576)}if((f|0)==0){yc(8040,20376,233,23576)}m=f;if((VJ(m,47328,46464,-1)|0)==0){yc(8040,20376,233,23576)}n=VJ(m,47328,46464,-1)|0;o=n;p=wp(o,46576,-1)|0;do{if((p|0)==0){q=0}else{if((a[n+132|0]|0)==0){q=1;break}q=(Mp((VJ(p,46112,46576,-1)|0)+164|0,o)|0)>-1}}while(0);p=j+171|0;r=d[p]|0;s=f+92|0;t=c[s>>2]|0;u=j+88|0;v=c[u>>2]|0;w=f+88|0;x=c[w>>2]|0;y=n+244|0;z=c[n+184>>2]|0;A=z+((c[y>>2]|0)==1&(z|0)>2&1)|0;B=n;C=n+132|0;D=d[C]|0;E=b+4|0;F=c[E>>2]|0;G=c[F+392+(r<<3)+(D<<2)>>2]|0;H=n+184|0;do{if((z|0)>2){I=14}else{if((z|0)==2){if((a[j+168|0]|0)!=0){I=14;break}}J=F+408+(r*12|0)+8|0;K=((G|0)/3|0)+G|0}}while(0);if((I|0)==14){J=F+408+(r*12|0)+(D<<2)|0;K=G}G=c[J>>2]|0;J=t-K|0;jr(b,e,x,v,t,G,r);D=c[H>>2]|0;do{if(D>>>0<2>>>0){I=18}else{F=(D|0)==2;if((c[n+252>>2]|0)!=0&F){I=18;break}z=(c[y>>2]|0)==1;if(F){Ar(b,e,J,x,z?-54:-55,j,(a[C]|0)!=0);break}Ar(b,e,J,x,z|(A|0)==3?-53:-52,j,(a[C]|0)!=0);z=c[E>>2]|0;F=v-(c[z+300+(r<<2)>>2]<<1)|0;L=j+168|0;if((a[L]|0)==0){M=F}else{M=(c[z+292+(r<<2)>>2]|0)+F|0}F=(A|0)>4;if(q&F){break}do{if(iz(n+256|0)|0){z=c[n+260>>2]|0;c[n+304>>2]=z;N=z}else{z=c[h+396>>2]|0;if((z|0)==0){O=(x|0)>(M|0)?2:1;c[n+304>>2]=O;N=O;break}else{c[n+304>>2]=z;N=z;break}}}while(0);z=c[E>>2]|0;O=z+292+(r<<2)|0;P=c[O>>2]|0;if((a[C]|0)==0){Q=z+300+(r<<2)|0;R=P*7|0}else{Q=O;R=P*5|0}O=c[Q>>2]|0;S=A-5|0;T=ia(O,S)|0;U=d[z+106|0]|0;V=U>>>1;W=K-V|0;if((N|0)==2){X=-R|0;Y=-T|0;Z=-W|0}else{X=R;Y=T;Z=W}W=(A|0)>5;T=X+x+(W?Y:0)|0;_=(a[L]|0)==0;$=(_?Z:0)+t|0;do{if((N|0)==1){aa=T-(W?P:0)|0;if(_){ba=+(x|0);vr(b,e,aa,~~(ba+ +g[z+464+(r<<2)>>2]),$-V|0,U);ca=ba}else{vr(b,e,aa,P+x|0,$,U);ca=+(x|0)}da=c[E>>2]|0;ea=da+106|0;fa=$-((d[ea]|0)>>>1)|0;c[f+144>>2]=fa;c[f+136>>2]=fa;c[f+148>>2]=aa;c[f+140>>2]=~~(ca+ +g[da+464+(r<<2)>>2]);a[f+152|0]=1;if(!F){I=48;break}da=((d[ea]|0)>>>1)+aa|0;Ar(b,e,$,da,-51,j,(a[C]|0)!=0);if((S|0)>0){ga=da;ha=0}else{I=48;break}while(1){da=ga-O|0;Ar(b,e,$,da,-51,j,(a[C]|0)!=0);aa=ha+1|0;if((aa|0)<(S|0)){ga=da;ha=aa}else{I=48;break}}}else{aa=T+(W?P:0)|0;if(_){ba=+(x|0);vr(b,e,aa,~~(ba- +g[z+464+(r<<2)>>2]),$-V|0,U);ja=ba}else{vr(b,e,aa,x-P|0,$-V|0,U);ja=+(x|0)}da=c[E>>2]|0;ea=da+106|0;fa=$-((d[ea]|0)>>>1)|0;c[f+144>>2]=fa;c[f+136>>2]=fa;c[f+140>>2]=~~(ja- +g[da+464+(r<<2)>>2]);c[f+148>>2]=aa;a[f+152|0]=0;fa=a[C]|0;ka=(d[ea]|0)>>>1;if(!F){la=fa;break}ea=aa-ka|0;aa=$-ka-(c[da+392+(r<<3)+((fa&255)<<2)>>2]|0)|0;Ar(b,e,aa,ea,-50,j,fa<<24>>24!=0);if((S|0)>0){ma=ea;na=0}else{I=48;break}while(1){ea=ma+O|0;Ar(b,e,aa,ea,-50,j,(a[C]|0)!=0);fa=na+1|0;if((fa|0)<(S|0)){ma=ea;na=fa}else{I=48;break}}}}while(0);if((I|0)==48){la=a[C]|0}if(la<<24>>24==0){break}if((a[n+296|0]|0)==0){break}kr(b,e,f)}}while(0);do{if((I|0)==18){if((VJ(m,47328,46464,-1)|0)!=0){break}yc(8040,20376,930,24168)}}while(0);jr(b,e,x,v,t,G,r);G=n+220|0;if((c[G>>2]|0)!=0){v=~~(+(J|0)- +(c[(c[E>>2]|0)+440+(r<<3)+(d[C]<<2)>>2]|0)*1.5);qe(l);a[l+172|0]=a[n+228|0]|0;c[l+168>>2]=c[n+236>>2];c[l+180>>2]=c[G>>2];c[l+92>>2]=v;c[l+88>>2]=c[u>>2];Uq(b,e,l|0,h,j,f);ue(l)}l=c[H>>2]|0;do{if((l|0)<3){I=59}else{if(!((l|0)<6|q)){if((c[n+304>>2]|0)==1){I=59;break}}H=c[E>>2]|0;oa=(c[H+280>>2]|0)*5|0;pa=H}}while(0);if((I|0)==59){I=c[E>>2]|0;oa=(c[I+280>>2]|0)*7|0;pa=I}I=a[n+168|0]|0;if(!(I<<24>>24==0)){q=d[p]|0;if(((x-(c[u>>2]|0)|0)%(c[pa+300+(q<<2)>>2]|0)|0|0)==0){qa=(c[pa+292+(q<<2)>>2]|0)+x|0}else{qa=x}x=I&255;I=((oa|0)/2|0)+t|0;t=0;while(1){zr(b,e,I,qa);oa=c[(c[E>>2]|0)+280>>2]<<1;q=t+1|0;if((q|0)<(x|0)){I=((oa|0)>6?oa:6)+I|0;t=q}else{break}}}t=n+280|0;I=c[t>>2]|0;do{if((I|0)!=0){x=c[I+168>>2]|0;if((x|0)==0){break}E=wp(o,46096,-1)|0;if((E|0)==0){ra=0}else{ra=VJ(E,46112,46096,-1)|0}E=wp(x|0,46096,-1)|0;if((E|0)==0){sa=0}else{sa=VJ(E,46112,46096,-1)|0}if(!((ra|0)!=(sa|0)&(ra|0)!=0)){break}rm(h,c[t>>2]|0)}}while(0);t=c[n+284>>2]|0;if((t|0)!=0){rm(h,t|0)}t=n+288|0;ra=c[t>>2]|0;do{if((ra|0)!=0){sa=c[ra+168>>2]|0;if((sa|0)==0){break}I=wp(o,46096,-1)|0;if((I|0)==0){ta=0}else{ta=VJ(I,46112,46096,-1)|0}I=wp(sa|0,46096,-1)|0;if((I|0)==0){ua=0}else{ua=VJ(I,46112,46096,-1)|0}if(!((ta|0)!=(ua|0)&(ta|0)!=0)){break}rm(h,c[t>>2]|0)}}while(0);t=c[n+292>>2]|0;if((t|0)!=0){rm(h,t|0)}t=ip(o,46224)|0;a:do{if((t|0)!=0){h=VJ(t,46112,46224,-1)|0;if((h|0)==0){break}else{va=h}do{h=va;if((hp(h,46624)|0)!=0){ta=ip(h,46624)|0;if((ta|0)==0){wa=0}else{wa=VJ(ta,46112,46624,-1)|0}ta=c[va+144>>2]|0;ur(b,e,wa,(ta|0)<1?1:ta,B,0,j)}ta=jp(o)|0;if((ta|0)==0){break a}va=VJ(ta,46112,46224,-1)|0;}while((va|0)!=0)}}while(0);if((c[n+212>>2]|0)!=0){lr(b,e,f,j)}if((c[n+300>>2]|0)!=1){i=k;return}n=c[w>>2]|0;w=c[u>>2]|0;Ar(b,e,c[s>>2]|0,((n|0)<(w|0)?w:n)+30|0,116,j,0);i=k;return}function ir(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;if((g|0)==0){yc(16944,20376,607,23560)}if((h|0)==0){yc(16480,20376,608,23560)}if((f|0)==0){yc(22320,20376,609,23560)}g=f;if((VJ(g,47328,46408,-1)|0)==0){yc(22320,20376,609,23560)}i=VJ(g,47328,46408,-1)|0;g=c[i+184>>2]|0;j=c[f+92>>2]|0;k=c[f+88>>2]|0;l=c[b+4>>2]|0;m=j-((d[l+106|0]|0)>>>1)|0;c[f+144>>2]=m;c[f+136>>2]=m;c[f+148>>2]=k;c[f+140>>2]=k;if((g|0)>3){n=j-(c[l+392+((d[h+171|0]|0)<<3)+((d[i+132|0]|0)<<2)>>2]|0)|0}else{n=j}if((g|0)==2|(g|0)==3){nr(b,e,n,k,g,a[i+168|0]|0,d[i+132|0]|0,h)}else if((g|0)==1){mr(b,e,n,k,h)}else if((g|0)==0){j=d[h+171|0]|0;m=c[l+300+(j<<2)>>2]|0;if(((k-(c[h+88>>2]|0)|0)%(m|0)|0|0)==0){o=k}else{o=k-(c[l+292+(j<<2)>>2]|0)|0}xr(b,e,n,o+(m<<1)|0,((c[l+280>>2]<<1|0)/3|0)+n|0,o)}else{or(b,e,n,k,g,a[i+168|0]|0,d[i+132|0]|0,h)}if((c[i+212>>2]|0)==0){return}lr(b,e,f,h);return}function jr(a,b,e,f,g,h,i){a=a|0;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;j=c[a+4>>2]|0;k=c[j+300+(i<<2)>>2]|0;l=c[j+292+(i<<2)>>2]|0;m=l+f|0;n=c[j+308+(i<<2)>>2]|0;i=f-n-l|0;do{if((((i|0)<(m|0)?i:m)|0)<=(e|0)){if((((m|0)<(i|0)?i:m)|0)<(e|0)){break}return}}while(0);i=g-h|0;o=h+g|0;g=(m|0)<(e|0);if(g){p=e-f|0}else{p=f-e-n|0}e=p-(((p|0)%(k|0)|0|0)>0?l:0)|0;l=(e|0)/(k|0)|0;if(g){q=e+f|0;r=-k|0}else{q=f-e-n|0;r=k}k=c[(c[b>>2]|0)+24>>2]|0;n=a+44|0;e=c[n>>2]|0;f=Fq(a,d[j+105|0]|0)|0;wd[k&63](b,e,f,100);td[c[(c[b>>2]|0)+8>>2]&63](b,c[n>>2]|0,106);if((l|0)>0){n=b;f=q;q=0;while(1){e=c[(c[n>>2]|0)+80>>2]|0;k=Fq(a,i)|0;j=Hq(a,f)|0;g=Fq(a,o)|0;p=Hq(a,f)|0;$c[e&31](b,k,j,g,p);p=q+1|0;if((p|0)<(l|0)){f=f+r|0;q=p}else{break}}}q=b;ad[c[(c[q>>2]|0)+44>>2]&2047](b);ad[c[(c[q>>2]|0)+40>>2]&2047](b);return}function kr(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;if((c[(VJ(e,47328,46464,-1)|0)+184>>2]|0)<5){return}wd[c[(c[d>>2]|0)+24>>2]&63](d,0,2,100);td[c[(c[d>>2]|0)+8>>2]&63](d,0,100);f=c[(c[d>>2]|0)+80>>2]|0;g=e+136|0;h=(c[g>>2]|0)-10|0;i=e+140|0;j=c[i>>2]|0;if((a[e+152|0]|0)==0){e=Hq(b,j-10|0)|0;k=(c[g>>2]|0)+20|0;l=Hq(b,(c[i>>2]|0)-40|0)|0;$c[f&31](d,h,e,k,l)}else{l=Hq(b,j+10|0)|0;j=(c[g>>2]|0)+20|0;g=Hq(b,(c[i>>2]|0)+40|0)|0;$c[f&31](d,h,l,j,g)}g=d;ad[c[(c[g>>2]|0)+44>>2]&2047](d);ad[c[(c[g>>2]|0)+40>>2]&2047](d);return}function lr(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;if((d|0)==0){return}f=d;if((VJ(f,47328,46464,-1)|0)!=0){g=(c[(VJ(f,47328,46464,-1)|0)+300>>2]|0)==0;h=c[d+88>>2]|0;i=c[e+88>>2]|0;Ar(a,b,c[d+92>>2]|0,(g?20:55)+((h|0)<(i|0)?i:h)|0,63,e,0);return}if((VJ(f,47328,46408,-1)|0)==0){return}Ar(a,b,c[d+92>>2]|0,(c[e+88>>2]|0)+20|0,63,e,0);return}function mr(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=a+4|0;i=c[h>>2]|0;j=d[g+171|0]|0;k=c[i+300+(j<<2)>>2]|0;if(((f-(c[g+88>>2]|0)|0)%(k|0)|0|0)==0){l=f}else{l=f-(c[i+292+(j<<2)>>2]|0)|0}j=(k<<1)+l|0;xr(a,b,e,j,((c[i+280>>2]<<1|0)/3|0)+e|0,l);i=c[(c[h>>2]|0)+280>>2]|0;h=e-i|0;k=i+e|0;wr(a,b,h,k,j,1);wr(a,b,h,k,l,1);return}function nr(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.0,s=0.0,t=0,u=0,v=0,w=0,x=0;l=k+171|0;m=d[l]|0;n=b+4|0;o=c[n>>2]|0;p=c[o+292+(m<<2)>>2]|0;if((a[k+168|0]|0)==0){q=c[o+408+(m*12|0)+8>>2]<<1}else{q=c[o+280>>2]|0}r=+((q|0)/3|0|0);if((j|0)==0){s=r}else{s=r*+(~~(+(c[o+352>>2]|0)/+(c[o+356>>2]|0))|0)}j=~~s;q=f-j|0;t=j+f|0;f=(h|0)==2?-p|0:p;p=k+88|0;do{if(((g-(c[p>>2]|0)|0)%(c[o+300+(m<<2)>>2]|0)|0|0)==0){u=g}else{if((h|0)==3){u=g-f|0;break}else{u=f+g|0;break}}}while(0);h=u+f|0;xr(b,e,q,u,t,h);f=(j|0)/2|0;j=q-f|0;q=f+t|0;t=c[p>>2]|0;if((t|0)<(g|0)){v=c[n>>2]|0;w=13}else{f=c[n>>2]|0;if((t-(c[f+308+(d[l]<<2)>>2]|0)|0)>(g|0)){v=f;w=13}}if((w|0)==13){wr(b,e,j,q,u,d[v+105|0]|0)}if(i<<24>>24==0){return}v=c[n>>2]|0;u=d[l]|0;if(((h-(c[p>>2]|0)|0)%(c[v+300+(u<<2)>>2]|0)|0|0)==0){x=(c[v+292+(u<<2)>>2]|0)+h|0}else{x=h}h=i&255;i=(c[v+280>>2]|0)+q|0;q=0;while(1){zr(b,e,i,x);v=c[(c[n>>2]|0)+280>>2]<<1;u=q+1|0;if((u|0)<(h|0)){i=((v|0)>6?v:6)+i|0;q=u}else{break}}return}function or(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0;Ar(b,d,e,f,g+211&255,j,(i|0)!=0);if(h<<24>>24==0){return}if((g|0)<6){g=a[j+171|0]|0;i=c[b+4>>2]|0;k=c[i+300+((g&255)<<2)>>2]|0;l=k+f|0;m=i;n=g;o=k}else{k=c[b+4>>2]|0;g=a[j+171|0]|0;l=f;m=k;n=g;o=c[k+300+((g&255)<<2)>>2]|0}g=b+4|0;if(((l-(c[j+88>>2]|0)|0)%(o|0)|0|0)==0){p=(c[m+292+((n&255)<<2)>>2]|0)+l|0}else{p=l}l=h&255;h=(c[m+284>>2]|0)+e|0;e=0;while(1){zr(b,d,h,p);m=c[(c[g>>2]|0)+280>>2]<<1;n=e+1|0;if((n|0)<(l|0)){h=((m|0)>6?m:6)+h|0;e=n}else{break}}return}function pr(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;if((b|0)==0){yc(16456,20376,1196,23952)}else{h=g+171|0;g=a+4|0;i=Hq(a,f-(c[(c[g>>2]|0)+300+((d[h]|0)<<2)>>2]<<1)|0)|0;f=Fq(a,c[(c[g>>2]|0)+300+((d[h]|0)<<2)>>2]|0)|0;h=Fq(a,4)|0;g=b;j=a+44|0;wd[c[(c[g>>2]|0)+24>>2]&63](b,c[j>>2]|0,(h|0)<2?2:h,100);td[c[(c[b>>2]|0)+8>>2]&63](b,c[j>>2]|0,106);j=c[(c[g>>2]|0)+68>>2]|0;g=Fq(a,e)|0;wd[j&63](b,g,i,f);f=b;ad[c[(c[f>>2]|0)+44>>2]&2047](b);ad[c[(c[f>>2]|0)+40>>2]&2047](b);return}}function qr(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;if((b|0)==0){yc(16456,20376,1214,23664)}else{h=Fq(a,4)|0;i=a+44|0;wd[c[(c[b>>2]|0)+24>>2]&63](b,c[i>>2]|0,(h|0)<2?2:h,100);td[c[(c[b>>2]|0)+8>>2]&63](b,c[i>>2]|0,106);i=g+171|0;g=a+4|0;h=Hq(a,f-(c[(c[g>>2]|0)+300+((d[i]|0)<<2)>>2]|0)|0)|0;f=Fq(a,c[(c[g>>2]|0)+300+((d[i]|0)<<2)>>2]|0)|0;i=(Fq(a,e)|0)-f|0;e=f<<1;kd[c[(c[b>>2]|0)+76>>2]&7](b,i,h,e,e,70.0,290.0);e=b;ad[c[(c[e>>2]|0)+44>>2]&2047](b);ad[c[(c[e>>2]|0)+40>>2]&2047](b);return}}function rr(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;if((b|0)==0){yc(16456,20376,1236,23632)}else{h=Fq(a,4)|0;i=a+44|0;wd[c[(c[b>>2]|0)+24>>2]&63](b,c[i>>2]|0,(h|0)<2?2:h,100);td[c[(c[b>>2]|0)+8>>2]&63](b,c[i>>2]|0,106);i=g+171|0;g=a+4|0;h=Hq(a,f-(c[(c[g>>2]|0)+300+((d[i]|0)<<2)>>2]|0)|0)|0;f=Fq(a,c[(c[g>>2]|0)+300+((d[i]|0)<<2)>>2]|0)|0;i=(Fq(a,e)|0)-((f<<2|0)/3|0)|0;e=f<<1;kd[c[(c[b>>2]|0)+76>>2]&7](b,i,h,e,e,250.0,110.0);e=b;ad[c[(c[e>>2]|0)+44>>2]&2047](b);ad[c[(c[e>>2]|0)+40>>2]&2047](b);return}}function sr(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;if((b|0)==0){yc(16456,20376,1259,24088)}else{h=Hq(a,f-(c[(c[a+4>>2]|0)+300+((d[g+171|0]|0)<<2)>>2]<<1)|0)|0;g=Fq(a,4)|0;f=(g|0)<2?2:g;g=b;i=a+44|0;wd[c[(c[g>>2]|0)+24>>2]&63](b,c[i>>2]|0,1,100);td[c[(c[b>>2]|0)+8>>2]&63](b,c[i>>2]|0,100);i=c[(c[g>>2]|0)+68>>2]|0;g=(Fq(a,e)|0)-((f|0)/2|0)|0;wd[i&63](b,g,h,f);f=b;ad[c[(c[f>>2]|0)+44>>2]&2047](b);ad[c[(c[f>>2]|0)+40>>2]&2047](b);return}}function tr(b,e,f,g,h,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;l=i;i=i+80|0;m=l|0;n=l+16|0;o=l+32|0;p=l+48|0;q=l+64|0;if((e|0)==0){yc(16456,20376,1290,23832)}r=m;DK(r|0,0,12)|0;s=(j|0)!=0;t=k+171|0;k=d[t]|0;u=c[b+4>>2]|0;v=c[u+292+(k<<2)>>2]|0;if(s){w=g-(v<<2)|0;x=w-(c[u+300+(k<<2)>>2]<<1)|0;y=w}else{x=0;y=(v*-6|0)+g|0}if((j|0)>9|(h|0)>9){z=(c[u+280>>2]<<1)+f|0}else{z=f}fe(n,15992,(f=i,i=i+8|0,c[f>>2]=h,f)|0);i=f;NA(m,n)|0;if(!((a[n]&1)==0)){iK(c[n+8>>2]|0)}if((a[r]&1)==0){n=o;c[n>>2]=c[r>>2];c[n+4>>2]=c[r+4>>2];c[n+8>>2]=c[r+8>>2]}else{n=c[m+8>>2]|0;h=c[m+4>>2]|0;if(h>>>0>4294967279>>>0){GA(0)}if(h>>>0<11>>>0){a[o]=h<<1;A=o+1|0}else{u=h+16&-16;g=gK(u)|0;c[o+8>>2]=g;c[o>>2]=u|1;c[o+4>>2]=h;A=g}BK(A|0,n|0,h)|0;a[A+h|0]=0}Br(b,e,z,y,o,1,d[t]|0);if(!((a[o]&1)==0)){iK(c[o+8>>2]|0)}do{if(s){fe(p,15992,(f=i,i=i+8|0,c[f>>2]=j,f)|0);i=f;NA(m,p)|0;if(!((a[p]&1)==0)){iK(c[p+8>>2]|0)}if((a[r]&1)==0){o=q;c[o>>2]=c[r>>2];c[o+4>>2]=c[r+4>>2];c[o+8>>2]=c[r+8>>2]}else{o=c[m+8>>2]|0;y=c[m+4>>2]|0;if(y>>>0>4294967279>>>0){GA(0)}if(y>>>0<11>>>0){a[q]=y<<1;B=q+1|0}else{h=y+16&-16;A=gK(h)|0;c[q+8>>2]=A;c[q>>2]=h|1;c[q+4>>2]=y;B=A}BK(B|0,o|0,y)|0;a[B+y|0]=0}Br(b,e,z,x,q,1,d[t]|0);if((a[q]&1)==0){break}iK(c[q+8>>2]|0)}}while(0);if((a[r]&1)==0){i=l;return}iK(c[m+8>>2]|0);i=l;return}function ur(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,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;h=i;i=i+64|0;k=h|0;l=h+16|0;m=h+32|0;n=h+48|0;o=c[(c[b+4>>2]|0)+100>>2]|0;p=(c[g+92>>2]|0)-o|0;q=c[j+172>>2]|0;if((q|0)==0){r=c[g+88>>2]|0}else{r=(c[j+88>>2]|0)-(ia(f<<1,o)|0)+(c[q+92>>2]|0)|0}q=c[(c[d>>2]|0)+116>>2]|0;o=e|0;f=k;a[f]=6;j=k+1|0;a[j]=a[13936]|0;a[j+1|0]=a[13937]|0;a[j+2|0]=a[13938]|0;a[k+4|0]=0;j=e+32|0;if((a[j]&1)==0){g=l;c[g>>2]=c[j>>2];c[g+4>>2]=c[j+4>>2];c[g+8>>2]=c[j+8>>2]}else{j=c[e+40>>2]|0;g=c[e+36>>2]|0;if(g>>>0>4294967279>>>0){GA(0)}if(g>>>0<11>>>0){a[l]=g<<1;s=l+1|0}else{t=g+16&-16;u=gK(t)|0;c[l+8>>2]=u;c[l>>2]=t|1;c[l+4>>2]=g;s=u}BK(s|0,j|0,g)|0;a[s+g|0]=0}wd[q&63](d,o,k,l);if(!((a[l]&1)==0)){iK(c[l+8>>2]|0)}if(!((a[f]&1)==0)){iK(c[k+8>>2]|0)}k=e+56|0;if((a[k]&1)==0){f=n;c[f>>2]=c[k>>2];c[f+4>>2]=c[k+4>>2];c[f+8>>2]=c[k+8>>2];v=f}else{f=c[e+64>>2]|0;k=c[e+60>>2]|0;if(k>>>0>1073741807>>>0){GA(0)}if(k>>>0<2>>>0){e=n;a[e]=k<<1;w=n+4|0;x=e}else{e=k+4&-4;l=gK(e<<2)|0;c[n+8>>2]=l;c[n>>2]=e|1;c[n+4>>2]=k;w=l;x=n}zJ(w,f,k)|0;c[w+(k<<2)>>2]=0;v=x}if((a[v]&1)==0){y=n+4|0}else{y=c[n+8>>2]|0}he(m,y);Cr(b,d,p,r,m,0);if(!((a[m]&1)==0)){iK(c[m+8>>2]|0)}if((a[v]&1)==0){z=d;A=c[z>>2]|0;B=A+120|0;C=c[B>>2]|0;td[C&63](d,o,b);i=h;return}iK(c[n+8>>2]|0);z=d;A=c[z>>2]|0;B=A+120|0;C=c[B>>2]|0;td[C&63](d,o,b);i=h;return}function vr(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;if((b|0)==0){yc(16336,20208,24,23928)}else{h=c[(c[b>>2]|0)+24>>2]|0;i=a+44|0;j=c[i>>2]|0;k=Fq(a,g)|0;wd[h&63](b,j,(k|0)>1?k:1,100);td[c[(c[b>>2]|0)+8>>2]&63](b,c[i>>2]|0,100);i=c[(c[b>>2]|0)+80>>2]|0;k=Fq(a,f)|0;j=Hq(a,d)|0;d=Fq(a,f)|0;f=Hq(a,e)|0;$c[i&31](b,k,j,d,f);f=b;ad[c[(c[f>>2]|0)+44>>2]&2047](b);ad[c[(c[f>>2]|0)+40>>2]&2047](b);return}}function wr(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;if((b|0)==0){yc(16336,20208,38,23760)}else{h=c[(c[b>>2]|0)+24>>2]|0;i=a+44|0;j=c[i>>2]|0;k=Fq(a,g)|0;wd[h&63](b,j,(k|0)>1?k:1,100);td[c[(c[b>>2]|0)+8>>2]&63](b,c[i>>2]|0,100);i=c[(c[b>>2]|0)+80>>2]|0;k=Fq(a,d)|0;d=Hq(a,f)|0;j=Fq(a,e)|0;e=Hq(a,f)|0;$c[i&31](b,k,d,j,e);e=b;ad[c[(c[e>>2]|0)+44>>2]&2047](b);ad[c[(c[e>>2]|0)+40>>2]&2047](b);return}}function xr(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;if((b|0)==0){yc(16336,20208,52,23880)}else{h=a+44|0;wd[c[(c[b>>2]|0)+24>>2]&63](b,c[h>>2]|0,1,100);td[c[(c[b>>2]|0)+8>>2]&63](b,c[h>>2]|0,100);h=c[(c[b>>2]|0)+88>>2]|0;i=Fq(a,d)|0;j=Hq(a,g)|0;k=Fq(a,f-d|0)|0;d=Fq(a,g-e|0)|0;$c[h&31](b,i,j,k,d);d=b;ad[c[(c[d>>2]|0)+44>>2]&2047](b);ad[c[(c[d>>2]|0)+40>>2]&2047](b);return}}function yr(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;j=i;i=i+32|0;k=j|0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;c[k+12>>2]=0;c[k+16>>2]=0;c[k+20>>2]=0;c[k+24>>2]=0;c[k+28>>2]=0;l=a+44|0;wd[c[(c[b>>2]|0)+24>>2]&63](b,c[l>>2]|0,1,100);td[c[(c[b>>2]|0)+8>>2]&63](b,c[l>>2]|0,100);l=Fq(a,h)|0;h=Fq(a,d)|0;c[k>>2]=h;d=Hq(a,e)|0;c[k+4>>2]=d;e=Fq(a,f)|0;c[k+8>>2]=e;f=Hq(a,g)|0;c[k+12>>2]=f;c[k+16>>2]=e;c[k+20>>2]=f-l;c[k+24>>2]=h;c[k+28>>2]=d-l;jd[c[(c[b>>2]|0)+84>>2]&63](b,4,k|0,0,0,1);k=b;ad[c[(c[k>>2]|0)+44>>2]&2047](b);ad[c[(c[k>>2]|0)+40>>2]&2047](b);i=j;return}function zr(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=Fq(a,3)|0;g=b;h=a+44|0;wd[c[(c[g>>2]|0)+24>>2]&63](b,c[h>>2]|0,1,100);td[c[(c[b>>2]|0)+8>>2]&63](b,c[h>>2]|0,100);h=c[(c[g>>2]|0)+68>>2]|0;g=Fq(a,d)|0;d=Hq(a,e)|0;wd[h&63](b,g,d,(f|0)<2?2:f);f=b;ad[c[(c[f>>2]|0)+44>>2]&2047](b);ad[c[(c[f>>2]|0)+40>>2]&2047](b);return}function Ar(b,e,f,g,h,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;l=i;i=i+24|0;m=l|0;n=l+8|0;o=d[j+171|0]|0;p=e;if(dd[c[(c[p>>2]|0)+60>>2]&255](e)|0){q=c[(c[b+4>>2]|0)+328+(o<<3)+((k&1)<<2)>>2]|0}else{q=0}r=j+168|0;j=a[r]|0;if(j<<24>>24!=0&(h&255)>>>0>199>>>0){s=h+20&255;do{if(k){if((h+49&255)>>>0>2>>>0){t=s;u=q;break}v=h+34&255;if(!(dd[c[(c[p>>2]|0)+60>>2]&255](e)|0)){t=v;u=q;break}t=v;u=c[(c[b+4>>2]|0)+328+(o<<3)>>2]|0}else{t=s;u=q}}while(0);w=t;x=u;y=a[r]|0}else{w=h;x=q;y=j}if(y<<24>>24==0){z=11}else{if((w+15&255)>>>0>2>>>0){z=11}}if((z|0)==11){bd[c[(c[e>>2]|0)+28>>2]&255](e,(c[b+4>>2]|0)+472+(o*80|0)+((k&1)*40|0)|0)}k=e;td[c[(c[k>>2]|0)+12>>2]&63](e,255,100);o=e;bd[c[(c[o>>2]|0)+20>>2]&255](e,106);z=m|0;a[z]=w;a[m+1|0]=0;m=AK(z|0)|0;if(m>>>0>4294967279>>>0){GA(0)}if(m>>>0<11>>>0){a[n]=m<<1;A=n+1|0}else{w=m+16&-16;y=gK(w)|0;c[n+8>>2]=y;c[n>>2]=w|1;c[n+4>>2]=m;A=y}BK(A|0,z|0,m)|0;a[A+m|0]=0;m=b+44|0;bd[c[(c[o>>2]|0)+32>>2]&255](e,c[m>>2]|0);wd[c[(c[e>>2]|0)+24>>2]&63](e,c[m>>2]|0,1,100);td[c[(c[k>>2]|0)+8>>2]&63](e,c[m>>2]|0,100);m=c[(c[e>>2]|0)+104>>2]|0;k=Fq(b,f)|0;f=Hq(b,x+g|0)|0;wd[m&63](e,n,k,f);f=e;ad[c[(c[f>>2]|0)+44>>2]&2047](e);ad[c[(c[f>>2]|0)+40>>2]&2047](e);if((a[n]&1)==0){i=l;return}iK(c[n+8>>2]|0);i=l;return}function Br(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0;j=i;i=i+16|0;k=j|0;if((b|0)==0){yc(16336,20208,160,23856)}l=a+4|0;bd[c[(c[b>>2]|0)+28>>2]&255](b,(c[l>>2]|0)+472+(h*80|0)|0);m=Fq(a,d)|0;if(dd[c[(c[b>>2]|0)+60>>2]&255](b)|0){n=c[(c[l>>2]|0)+328+(h<<3)>>2]|0}else{n=0}if((g|0)==0){o=m}else{$d(16400,(g=i,i=i+1|0,i=i+7&-8,c[g>>2]=0,g)|0);i=g;wd[c[(c[b>>2]|0)+52>>2]&63](b,f,k,j+8|0);o=m-((c[k>>2]|0)/2|0)|0}bd[c[(c[b>>2]|0)+32>>2]&255](b,c[a+44>>2]|0);k=c[(c[b>>2]|0)+104>>2]|0;m=Hq(a,n+e|0)|0;wd[k&63](b,f,o,m);i=j;return}function Cr(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;if((b|0)==0){yc(16336,20208,186,23992)}else{g=Fq(a,d)|0;bd[c[(c[b>>2]|0)+32>>2]&255](b,c[a+44>>2]|0);d=c[(c[b>>2]|0)+100>>2]|0;h=Hq(a,e)|0;wd[d&63](b,f,g,h);return}}function Dr(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=i;i=i+48|0;k=j|0;l=j+24|0;m=c[(c[a+4>>2]|0)+300>>2]|0;n=f-d|0;o=(((n|0)>-1?n:-n|0)|0)/4|0;p=(o|0)<(m|0)?o:m;o=(p|0)>12?p:12;p=(m|0)/3|0;m=(p|0)<6?6:p;p=(n|0)/4|0;if(h){h=((g|0)<(e|0)?g:e)-o|0;q=h+m|0;r=h}else{h=o+((e|0)<(g|0)?g:e)|0;q=h-m|0;r=h}h=p+d|0;m=k|0;c[m>>2]=Fq(a,h)|0;c[k+4>>2]=Hq(a,r)|0;o=(p*3|0)+d|0;c[k+8>>2]=Fq(a,o)|0;c[k+12>>2]=Hq(a,r)|0;c[k+16>>2]=Fq(a,f)|0;c[k+20>>2]=Hq(a,g)|0;g=l|0;c[g>>2]=Fq(a,o)|0;c[l+4>>2]=Hq(a,q)|0;c[l+8>>2]=Fq(a,h)|0;c[l+12>>2]=Hq(a,q)|0;c[l+16>>2]=Fq(a,d)|0;c[l+20>>2]=Hq(a,e)|0;l=c[(c[b>>2]|0)+64>>2]|0;q=Fq(a,d)|0;d=Hq(a,e)|0;$c[l&31](b,q,d,m,g);i=j;return}function Er(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=i;i=i+8|0;f=e|0;if((b|0)==0){yc(16112,20144,44,24008)}g=a+4|0;h=c[g>>2]|0;if((h|0)==0){yc(16384,20144,45,24008)}j=tj(h,c[a+8>>2]|0)|0;h=a+32|0;c[h>>2]=j;cp(a+48|0,j+156|0)|0;zs(a+132|0,j+240|0)|0;Jp(a+152|0,j+260|0)|0;if(d){d=c[g>>2]|0;$c[c[(c[b>>2]|0)+88>>2]&31](b,0,0,c[d+796>>2]|0,c[d+792>>2]|0)}d=b;td[c[(c[d>>2]|0)+112>>2]&63](b,0,0);bd[c[(c[b>>2]|0)+56>>2]&255](f,b);j=c[g>>2]|0;td[c[(c[d>>2]|0)+48>>2]&63](b,(c[f>>2]|0)-(c[j+800>>2]|0)|0,(c[f+4>>2]|0)-(c[j+808>>2]|0)|0);j=b;ad[c[(c[j>>2]|0)+124>>2]&2047](b);f=c[h>>2]|0;d=c[f+4>>2]|0;if(((c[f+8>>2]|0)-d|0)>0){k=0;l=d}else{m=c[j>>2]|0;n=m+128|0;o=c[n>>2]|0;ad[o&2047](b);i=e;return}do{d=c[l+(k<<2)>>2]|0;if((d|0)==0){p=0}else{p=VJ(d,46112,46096,-1)|0}Fr(a,b,p);k=k+1|0;d=c[h>>2]|0;l=c[d+4>>2]|0;}while((k|0)<((c[d+8>>2]|0)-l>>2|0));m=c[j>>2]|0;n=m+128|0;o=c[n>>2]|0;ad[o&2047](b);i=e;return}function Fr(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;f=i;i=i+48|0;g=f|0;h=f+16|0;j=f+32|0;if((e|0)==0){yc(13920,20144,86,24296)}k=c[(c[d>>2]|0)+116>>2]|0;l=e|0;m=g;a[m]=12;n=g;o=n+1|0;a[o]=a[13920]|0;a[o+1|0]=a[13921]|0;a[o+2|0]=a[13922]|0;a[o+3|0]=a[13923]|0;a[o+4|0]=a[13924]|0;a[o+5|0]=a[13925]|0;a[n+7|0]=0;n=e|0;o=e+32|0;if((a[o]&1)==0){p=h;c[p>>2]=c[o>>2];c[p+4>>2]=c[o+4>>2];c[p+8>>2]=c[o+8>>2]}else{o=c[e+40>>2]|0;p=c[e+36>>2]|0;if(p>>>0>4294967279>>>0){GA(0)}if(p>>>0<11>>>0){a[h]=p<<1;q=h+1|0}else{r=p+16&-16;s=gK(r)|0;c[h+8>>2]=s;c[h>>2]=r|1;c[h+4>>2]=p;q=s}BK(q|0,o|0,p)|0;a[q+p|0]=0}wd[k&63](d,l,g,h);if(!((a[h]&1)==0)){iK(c[h+8>>2]|0)}if(!((a[m]&1)==0)){iK(c[g+8>>2]|0)}g=c[e+224>>2]|0;m=b+4|0;h=c[(c[m>>2]|0)+820>>2]|0;do{if((g|0)==-2147483647){if((h|0)==0){c[e+92>>2]=c[e+236>>2];c[e+88>>2]=c[e+228>>2];break}else{yc(12400,20144,94,24296)}}else{if((h|0)==2){c[e+92>>2]=c[e+232>>2];c[e+88>>2]=g;break}else{yc(11408,20144,100,24296)}}}while(0);g=ip(n,45976)|0;if((g|0)!=0){h=g;do{Gr(b,d,VJ(h,46112,45976,-1)|0,e);h=jp(n)|0;}while((h|0)!=0)}h=yp(n,45976)|0;if((h|0)==0){t=d;u=c[t>>2]|0;v=u+120|0;w=c[v>>2]|0;td[w&63](d,l,b);i=f;return}n=VJ(h,46112,45976,-1)|0;if((n|0)==0){t=d;u=c[t>>2]|0;v=u+120|0;w=c[v>>2]|0;td[w&63](d,l,b);i=f;return}h=e+92|0;Hr(b,d,b+48|0,n,c[h>>2]|0,0);g=c[n+144>>2]|0;if((g|0)<=1){t=d;u=c[t>>2]|0;v=u+120|0;w=c[v>>2]|0;td[w&63](d,l,b);i=f;return}n=c[(c[d>>2]|0)+104>>2]|0;Vr(j,b,g&65535);g=Fq(b,c[h>>2]|0)|0;h=Hq(b,(c[e+88>>2]|0)-((c[(c[m>>2]|0)+308>>2]<<1|0)/3|0)|0)|0;wd[n&63](d,j,g,h);if((a[j]&1)==0){t=d;u=c[t>>2]|0;v=u+120|0;w=c[v>>2]|0;td[w&63](d,l,b);i=f;return}iK(c[j+8>>2]|0);t=d;u=c[t>>2]|0;v=u+120|0;w=c[v>>2]|0;td[w&63](d,l,b);i=f;return}function Gr(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;g=i;i=i+32|0;h=g|0;j=g+16|0;if((d|0)==0){yc(16112,20144,539,24216)}k=e+180|0;do{if((a[k]|0)!=0){l=c[(c[d>>2]|0)+116>>2]|0;m=h;a[m]=14;n=h+1|0;a[n]=a[9464]|0;a[n+1|0]=a[9465]|0;a[n+2|0]=a[9466]|0;a[n+3|0]=a[9467]|0;a[n+4|0]=a[9468]|0;a[n+5|0]=a[9469]|0;a[n+6|0]=a[9470]|0;n=h+8|0;a[n]=0;o=e+32|0;if((a[o]&1)==0){p=j;c[p>>2]=c[o>>2];c[p+4>>2]=c[o+4>>2];c[p+8>>2]=c[o+8>>2]}else{o=c[e+40>>2]|0;p=c[e+36>>2]|0;if(p>>>0>4294967279>>>0){GA(0)}if(p>>>0<11>>>0){a[j]=p<<1;q=j+1|0}else{r=p+16&-16;s=gK(r)|0;c[j+8>>2]=s;c[j>>2]=r|1;c[j+4>>2]=p;q=s}BK(q|0,o|0,p)|0;a[q+p|0]=0}wd[l&63](d,e|0,h,j);if(!((a[j]&1)==0)){iK(c[j+8>>2]|0)}if((a[m]&1)==0){break}iK(c[n>>2]|0)}}while(0);j=c[e+172>>2]|0;h=c[(c[b+4>>2]|0)+820>>2]|0;do{if((j|0)==-2147483647){if((h|0)==0){c[e+92>>2]=(c[f+92>>2]|0)+(c[e+176>>2]|0);break}else{yc(12400,20144,550,24216)}}else{if((h|0)==2){c[e+92>>2]=j;break}else{yc(11408,20144,555,24216)}}}while(0);j=e+8|0;h=e+4|0;q=c[h>>2]|0;if(((c[j>>2]|0)-q|0)>0){n=0;m=q;do{Pr(b,d,c[m+(n<<2)>>2]|0,e,f);n=n+1|0;m=c[h>>2]|0;}while((n|0)<((c[j>>2]|0)-m>>2|0))}if((c[e+444>>2]|0)!=0){Hr(b,d,b+48|0,e,c[e+92>>2]|0,e+276|0)}if((c[e+620>>2]|0)!=0){m=c[e+92>>2]|0;Hr(b,d,b+48|0,e,(Ag(e)|0)+m|0,e+452|0)}if((a[k]|0)==0){i=g;return}td[c[(c[d>>2]|0)+120>>2]&63](d,e|0,b);i=g;return}function Hr(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=i;i=i+32|0;k=j|0;l=j+16|0;if((e|0)==0){yc(10512,20144,145,24136)}if((f|0)==0){yc(9464,20144,148,24136)}m=yp(e|0,45728)|0;if((m|0)==0){i=j;return}e=VJ(m,46112,45728,-1)|0;m=e;if((e|0)==0){i=j;return}if((h|0)==0){Ir(b,d,f,m,g);i=j;return}e=h|0;c[h+92>>2]=g;g=c[(c[d>>2]|0)+116>>2]|0;n=k;a[n]=14;o=k+1|0;a[o]=a[8784]|0;a[o+1|0]=a[8785]|0;a[o+2|0]=a[8786]|0;a[o+3|0]=a[8787]|0;a[o+4|0]=a[8788]|0;a[o+5|0]=a[8789]|0;a[o+6|0]=a[8790]|0;o=k+8|0;a[o]=0;p=h+32|0;if((a[p]&1)==0){q=l;c[q>>2]=c[p>>2];c[q+4>>2]=c[p+4>>2];c[q+8>>2]=c[p+8>>2]}else{p=c[h+40>>2]|0;q=c[h+36>>2]|0;if(q>>>0>4294967279>>>0){GA(0)}if(q>>>0<11>>>0){a[l]=q<<1;r=l+1|0}else{s=q+16&-16;t=gK(s)|0;c[l+8>>2]=t;c[l>>2]=s|1;c[l+4>>2]=q;r=t}BK(r|0,p|0,q)|0;a[r+q|0]=0}wd[g&63](d,e,k,l);if(!((a[l]&1)==0)){iK(c[l+8>>2]|0)}if(!((a[n]&1)==0)){iK(c[o>>2]|0)}Jr(b,d,f,m,h);td[c[(c[d>>2]|0)+120>>2]&63](d,e,b);i=j;return}function Ir(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;h=i;if((e|0)==0){yc(9464,20144,172,24120)}if((f|0)==0){yc(8008,20144,173,24120)}j=f|0;k=Lp(f+84|0,j)|0;if((c[k+8>>2]|0)==0){i=h;return}l=c[(c[k+4>>2]|0)+8>>2]|0;if((l|0)==0){m=0}else{m=VJ(l,46112,45760,-1)|0}l=c[(c[k>>2]|0)+8>>2]|0;do{if((l|0)!=0){k=VJ(l,46112,45760,-1)|0;if((m|0)==0|(k|0)==0){break}n=m+104|0;o=yg(e,c[n>>2]|0)|0;p=k+104|0;q=yg(e,c[p>>2]|0)|0;if((o|0)==0|(q|0)==0){r=c[p>>2]|0;$d(21168,(s=i,i=i+16|0,c[s>>2]=c[n>>2],c[s+8>>2]=r,s)|0);i=s;i=h;return}r=d[q+171|0]|0;n=a+4|0;p=c[n>>2]|0;t=(c[q+88>>2]|0)-(ia(c[p+300+(r<<2)>>2]|0,(c[k+108>>2]|0)-1|0)|0)|0;k=(d[p+105|0]|0)>>>1;q=k+(c[o+88>>2]|0)|0;o=t-k|0;k=c[f+100>>2]|0;if((k|0)==2){Kr(a,b,g,q,o,r);u=g}else if((k|0)==1){vr(a,b,q,o,g,d[p+107|0]|0);u=g}else if((k|0)==3){Lr(a,b,g,q,o,r);r=c[n>>2]|0;u=g-(c[r+360>>2]<<1)+(c[r+368>>2]|0)|0}else{u=g}r=f+8|0;n=f+4|0;if(((c[r>>2]|0)-(c[n>>2]|0)|0)>0){v=0}else{i=h;return}do{o=rp(j,v)|0;do{if((o|0)!=0){q=VJ(o,46112,45728,-1)|0;if((q|0)==0){break}Ir(a,b,e,q,u)}}while(0);v=v+1|0;}while((v|0)<((c[r>>2]|0)-(c[n>>2]|0)>>2|0));i=h;return}}while(0);$d(22224,(s=i,i=i+1|0,i=i+7&-8,c[s>>2]=0,s)|0);i=s;i=h;return}function Jr(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;j=i;if((f|0)==0){yc(9464,20144,353,24200)}if((g|0)==0){yc(8008,20144,354,24200)}if((a[g+104|0]|0)==0){k=g|0;l=g+8|0;m=g+4|0;if(((c[l>>2]|0)-(c[m>>2]|0)|0)<=0){i=j;return}n=b+4|0;o=0;do{p=rp(k,o)|0;if((p|0)==0){q=0}else{q=VJ(p,46112,45728,-1)|0}p=rp(k,o)|0;if((p|0)==0){r=0}else{r=VJ(p,46112,45760,-1)|0}do{if((q|0)==0){if((r|0)==0){break}p=r+104|0;s=yg(f,c[p>>2]|0)|0;if((s|0)==0){$d(20240,(t=i,i=i+8|0,c[t>>2]=c[p>>2],t)|0);i=t;break}p=c[s+88>>2]|0;Mr(b,e,p,p-(ia(c[(c[n>>2]|0)+300+(d[s+171|0]<<2)>>2]|0,(c[r+108>>2]|0)-1|0)|0)|0,h);if(!(kg(h)|0)){break}Nr(b,e,r,s,h)}else{Jr(b,e,f,q,h)}}while(0);o=o+1|0;}while((o|0)<((c[l>>2]|0)-(c[m>>2]|0)>>2|0));i=j;return}m=g|0;l=Lp(g+84|0,m)|0;if((c[l+8>>2]|0)==0){i=j;return}o=c[(c[l+4>>2]|0)+8>>2]|0;if((o|0)==0){u=0}else{u=VJ(o,46112,45760,-1)|0}o=c[(c[l>>2]|0)+8>>2]|0;do{if((o|0)!=0){l=VJ(o,46112,45760,-1)|0;if((u|0)==0|(l|0)==0){break}q=u+104|0;r=yg(f,c[q>>2]|0)|0;n=l+104|0;k=yg(f,c[n>>2]|0)|0;if((r|0)==0|(k|0)==0){s=c[n>>2]|0;$d(21168,(t=i,i=i+16|0,c[t>>2]=c[q>>2],c[t+8>>2]=s,t)|0);i=t;i=j;return}Mr(b,e,c[r+88>>2]|0,(c[k+88>>2]|0)-(ia(c[(c[b+4>>2]|0)+300+(d[k+171|0]<<2)>>2]|0,(c[l+108>>2]|0)-1|0)|0)|0,h);if(!(kg(h)|0)){i=j;return}l=g+8|0;k=g+4|0;if(((c[l>>2]|0)-(c[k>>2]|0)|0)>0){v=0}else{i=j;return}do{r=rp(m,v)|0;do{if((r|0)!=0){s=VJ(r,46112,45760,-1)|0;if((s|0)==0){break}q=s+104|0;n=yg(f,c[q>>2]|0)|0;if((n|0)==0){$d(20240,(t=i,i=i+8|0,c[t>>2]=c[q>>2],t)|0);i=t;break}else{Nr(b,e,s,n,h);break}}}while(0);v=v+1|0;}while((v|0)<((c[l>>2]|0)-(c[k>>2]|0)>>2|0));i=j;return}}while(0);$d(22224,(t=i,i=i+1|0,i=i+7&-8,c[t>>2]=0,t)|0);i=t;i=j;return}function Kr(a,b,e,f,g,h){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;j=i;i=i+80|0;k=j|0;l=j+48|0;m=l|0;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;c[l+12>>2]=0;c[l+16>>2]=0;c[l+20>>2]=0;c[l+24>>2]=0;c[l+28>>2]=0;if((b|0)==0){yc(16112,20144,269,23528)}else{n=a+44|0;wd[c[(c[b>>2]|0)+24>>2]&63](b,c[n>>2]|0,1,100);td[c[(c[b>>2]|0)+8>>2]&63](b,c[n>>2]|0,100);n=a+4|0;o=c[n>>2]|0;p=e-(c[o+368+(h<<2)>>2]|0)|0;e=Fq(a,(c[o+360+(h<<2)>>2]|0)-1+(d[o+107|0]|0)|0)|0;c[l>>2]=Fq(a,p)|0;o=Hq(a,g)|0;q=l+4|0;c[q>>2]=o;r=Fq(a,p-(c[(c[n>>2]|0)+284>>2]|0)|0)|0;s=l+8|0;t=s|0;c[t>>2]=r;u=o-(Fq(a,(c[(c[n>>2]|0)+300+(h<<2)>>2]|0)*3|0)|0)|0;o=l+12|0;c[o>>2]=u;v=Fq(a,p-(c[(c[n>>2]|0)+280>>2]<<1)|0)|0;w=l+24|0;x=w|0;c[x>>2]=v;y=Hq(a,(g+f|0)/2|0)|0;z=l+28|0;c[z>>2]=y;A=Fq(a,(c[(c[n>>2]|0)+280>>2]|0)+p|0)|0;B=l+16|0;C=B|0;c[C>>2]=A;D=(Fq(a,c[(c[n>>2]|0)+300+(h<<2)>>2]|0)|0)+y|0;E=l+20|0;c[E>>2]=D;l=k|0;c[l>>2]=r;r=k+4|0;c[r>>2]=u;u=k+8|0;c[u>>2]=A;A=k+12|0;c[A>>2]=D;D=k+16|0;c[D>>2]=v;v=k+20|0;c[v>>2]=y;Jq(m,w);Jq(s,B);c[t>>2]=(c[t>>2]|0)+e;c[C>>2]=(c[C>>2]|0)+e;y=c[q>>2]|0;F=(Fq(a,c[(c[n>>2]|0)+300+(h<<2)>>2]<<1)|0)+y|0;c[o>>2]=F;y=k+24|0;c[y>>2]=c[t>>2];G=k+28|0;c[G>>2]=F;F=k+32|0;c[F>>2]=c[C>>2];H=k+36|0;c[H>>2]=c[E>>2];I=k+40|0;c[I>>2]=c[x>>2];J=k+44|0;c[J>>2]=c[z>>2];k=b;K=c[(c[k>>2]|0)+64>>2]|0;L=Fq(a,p)|0;p=Hq(a,g)|0;$c[K&31](b,L,p,l,y);p=c[q>>2]|0;c[o>>2]=p-(Fq(a,c[(c[n>>2]|0)+300+(h<<2)>>2]<<1)|0);p=Hq(a,f)|0;c[z>>2]=p;f=(Fq(a,(c[(c[n>>2]|0)+300+(h<<2)>>2]|0)*3|0)|0)+p|0;c[E>>2]=f;c[l>>2]=c[t>>2];c[r>>2]=c[o>>2];c[u>>2]=c[C>>2];c[A>>2]=f;c[D>>2]=c[x>>2];c[v>>2]=c[z>>2];Jq(m,w);Jq(s,B);c[t>>2]=(c[t>>2]|0)-e;c[C>>2]=(c[C>>2]|0)-e;e=c[z>>2]|0;B=e-(Fq(a,c[(c[n>>2]|0)+300+(h<<2)>>2]|0)|0)|0;c[E>>2]=B;c[y>>2]=c[t>>2];c[G>>2]=c[o>>2];c[F>>2]=c[C>>2];c[H>>2]=B;B=c[x>>2]|0;c[I>>2]=B;I=c[z>>2]|0;c[J>>2]=I;$c[c[(c[k>>2]|0)+64>>2]&31](b,B,I,l,y);y=b;ad[c[(c[y>>2]|0)+44>>2]&2047](b);ad[c[(c[y>>2]|0)+40>>2]&2047](b);i=j;return}}function Lr(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;h=a+44|0;wd[c[(c[b>>2]|0)+24>>2]&63](b,c[h>>2]|0,2,100);td[c[(c[b>>2]|0)+8>>2]&63](b,c[h>>2]|0,106);h=a+4|0;i=c[h>>2]|0;j=(c[i+368>>2]|0)+(c[i+360>>2]|0)|0;k=d-j|0;l=j<<1;j=k-l|0;m=c[i+300+(g<<2)>>2]<<1;i=b;n=c[(c[i>>2]|0)+76>>2]|0;o=Fq(a,j)|0;p=Hq(a,e)|0;q=k+l-j|0;l=Fq(a,q)|0;k=Fq(a,-m|0)|0;kd[n&7](b,o,p,l,k,90.0,40.0);k=c[(c[h>>2]|0)+300+(g<<2)>>2]<<1;g=c[(c[i>>2]|0)+76>>2]|0;i=Fq(a,j)|0;j=Hq(a,f-k|0)|0;l=Fq(a,q)|0;q=Fq(a,-k|0)|0;kd[g&7](b,i,j,l,q,320.0,271.0);q=b;ad[c[(c[q>>2]|0)+44>>2]&2047](b);ad[c[(c[q>>2]|0)+40>>2]&2047](b);q=c[h>>2]|0;h=d-(c[q+368>>2]|0)|0;xr(a,b,h-(c[q+360>>2]|0)|0,e,h,f);return}function Mr(a,b,e,f,g){a=a|0;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;if((b|0)==0){yc(16112,20144,435,24248)}h=a+4|0;i=c[h>>2]|0;j=(d[i+105|0]|0)>>>1;k=j+e|0;e=f-j|0;j=c[g+92>>2]|0;f=c[i+360>>2]|0;l=j-f|0;m=d[i+107|0]|0;i=l-m|0;n=f+j+m|0;switch(c[g+168>>2]|0){case 6:{vr(a,b,k,e,i,m);vr(a,b,k,e,j,c[(c[h>>2]|0)+360>>2]|0);return};case 9:{vr(a,b,k,e,i,m);vr(a,b,k,e,j,c[(c[h>>2]|0)+360>>2]|0);vr(a,b,k,e,n,d[(c[h>>2]|0)+107|0]|0);return};case 8:{vr(a,b,k,e,j,f);vr(a,b,k,e,n,d[(c[h>>2]|0)+107|0]|0);return};case 11:{vr(a,b,k,e,j,m);return};case 3:{vr(a,b,k,e,j,m);vr(a,b,k,e,l,d[(c[h>>2]|0)+107|0]|0);return};case 10:{vr(a,b,k,e,i,m);vr(a,b,k,e,j,c[(c[h>>2]|0)+360>>2]|0);return};default:{return}}}function Nr(a,b,e,f,g){a=a|0;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;if((b|0)==0){yc(16112,20144,482,24040)}h=c[g+92>>2]|0;i=c[a+4>>2]|0;j=c[i+360>>2]<<1;k=d[i+107|0]|0;l=h-j-k|0;m=j+h+k|0;k=d[f+171|0]|0;h=(c[f+88>>2]|0)-(ia(c[i+292+(k<<2)>>2]|0,c[e+108>>2]|0)|0)|0;e=h+(c[i+300+(k<<2)>>2]|0)|0;k=g+168|0;g=c[k>>2]|0;if((g-8|0)>>>0<2>>>0){zr(a,b,m,h);zr(a,b,m,e);n=c[k>>2]|0}else{n=g}if(!((n-9|0)>>>0<2>>>0)){return}zr(a,b,l,h);zr(a,b,l,e);return}function Or(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if((b|0)==0){yc(16112,20144,509,23736)}else{return}}function Pr(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;h=i;i=i+32|0;j=h|0;k=h+16|0;if((d|0)==0){yc(16112,20144,637,23480)}l=c[(c[d>>2]|0)+116>>2]|0;m=e|0;n=j;a[n]=10;o=j;p=o+1|0;a[p]=a[19312]|0;a[p+1|0]=a[19313]|0;a[p+2|0]=a[19314]|0;a[p+3|0]=a[19315]|0;a[p+4|0]=a[19316]|0;a[o+6|0]=0;o=e+32|0;if((a[o]&1)==0){p=k;c[p>>2]=c[o>>2];c[p+4>>2]=c[o+4>>2];c[p+8>>2]=c[o+8>>2]}else{o=c[e+40>>2]|0;p=c[e+36>>2]|0;if(p>>>0>4294967279>>>0){GA(0)}if(p>>>0<11>>>0){a[k]=p<<1;q=k+1|0}else{r=p+16&-16;s=gK(r)|0;c[k+8>>2]=s;c[k>>2]=r|1;c[k+4>>2]=p;q=s}BK(q|0,o|0,p)|0;a[q+p|0]=0}wd[l&63](d,m,j,k);if(!((a[k]&1)==0)){iK(c[k+8>>2]|0)}if(!((a[n]&1)==0)){iK(c[j+8>>2]|0)}j=c[e+164>>2]|0;n=c[(c[b+4>>2]|0)+820>>2]|0;do{if((j|0)==-2147483647){if((n|0)==0){k=Gt(e)|0;c[e+88>>2]=(c[g+88>>2]|0)+k;break}else{yc(12400,20144,645,23480)}}else{if((n|0)==2){c[e+88>>2]=j;break}else{yc(11408,20144,650,23480)}}}while(0);j=Os(b+48|0,c[e+144>>2]|0)|0;if((j|0)!=0){c[e+160>>2]=c[j+108>>2]}Sr(b,d,e,f,0);j=e+8|0;n=e+4|0;g=c[n>>2]|0;if(((c[j>>2]|0)-g|0)>0){t=0;u=g}else{v=d;w=c[v>>2]|0;x=w+120|0;y=c[x>>2]|0;td[y&63](d,m,b);i=h;return}do{g=c[u+(t<<2)>>2]|0;if((g|0)==0){z=0}else{z=VJ(g,46112,46304,-1)|0}Tr(b,d,z,e,f);t=t+1|0;u=c[n>>2]|0;}while((t|0)<((c[j>>2]|0)-u>>2|0));v=d;w=c[v>>2]|0;x=w+120|0;y=c[x>>2]|0;td[y&63](d,m,b);i=h;return}function Qr(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;if((e|0)==0){yc(19312,20144,587,23784);return 0}i=c[(c[b+4>>2]|0)+292+(d[e+171|0]<<2)>>2]|0;b=ia(i,g-9+(h*7|0)|0)|0;h=c[e+160>>2]|0;if((h|0)>5){j=b-(ia((h<<1)-10|0,i)|0)|0}else{j=b}b=0;while(1){k=b<<24>>24;if(!(b<<24>>24<7)){l=0;m=9;break}if((a[25424+k|0]|0)==f<<24>>24){break}else{b=b+1&255}}if((m|0)==9){return l|0}l=(ia(i,k+1|0)|0)+j|0;return l|0}function Rr(a,b,e){a=a|0;b=b|0;e=e|0;var f=0;if((b|0)==0){yc(19312,20144,609,23904);return 0}switch(e<<24>>24|0){case 15:{f=-2;break};case 2:{f=-2;break};case 4:{f=-6;break};case 3:{f=-4;break};case 5:{f=-6;break};case 7:{f=-6;break};case 6:{f=-6;break};case 8:{f=-7;break};case 1:{f=-4;break};case 9:{f=-7;break};case 10:{f=-8;break};default:{f=-5}}return ia(f,c[(c[a+4>>2]|0)+292+((d[b+171|0]|0)<<2)>>2]|0)|0}function Sr(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;if((e|0)==0){yc(16112,20144,674,24056)}if((a[f+170|0]|0)!=0){return}h=c[f+88>>2]|0;i=c[g+92>>2]|0;j=(Bg(g)|0)+i|0;g=c[(c[e>>2]|0)+24>>2]|0;k=b+44|0;l=c[k>>2]|0;m=b+4|0;n=Fq(b,d[(c[m>>2]|0)+105|0]|0)|0;wd[g&63](e,l,n,100);td[c[(c[e>>2]|0)+8>>2]&63](e,c[k>>2]|0,100);k=Fq(b,i)|0;i=Fq(b,j)|0;j=f+160|0;if((c[j>>2]|0)>0){n=e;l=f+171|0;f=0;g=h;while(1){h=c[(c[n>>2]|0)+80>>2]|0;o=Hq(b,g)|0;p=Hq(b,g)|0;$c[h&31](e,k,o,i,p);p=f+1|0;if((p|0)<(c[j>>2]|0)){f=p;g=g-(c[(c[m>>2]|0)+300+(d[l]<<2)>>2]|0)|0}else{break}}}l=e;ad[c[(c[l>>2]|0)+44>>2]&2047](e);ad[c[(c[l>>2]|0)+40>>2]&2047](e);return}function Tr(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;h=i;i=i+32|0;j=h|0;k=h+16|0;if((d|0)==0){yc(16112,20144,789,23512)}l=c[(c[d>>2]|0)+116>>2]|0;m=e|0;n=j;a[n]=10;o=j;p=o+1|0;a[p]=a[18848]|0;a[p+1|0]=a[18849]|0;a[p+2|0]=a[18850]|0;a[p+3|0]=a[18851]|0;a[p+4|0]=a[18852]|0;a[o+6|0]=0;o=e+32|0;if((a[o]&1)==0){p=k;c[p>>2]=c[o>>2];c[p+4>>2]=c[o+4>>2];c[p+8>>2]=c[o+8>>2]}else{o=c[e+40>>2]|0;p=c[e+36>>2]|0;if(p>>>0>4294967279>>>0){GA(0)}if(p>>>0<11>>>0){a[k]=p<<1;q=k+1|0}else{r=p+16&-16;s=gK(r)|0;c[k+8>>2]=s;c[k>>2]=r|1;c[k+4>>2]=p;q=s}BK(q|0,o|0,p)|0;a[q+p|0]=0}wd[l&63](d,m,j,k);if(!((a[k]&1)==0)){iK(c[k+8>>2]|0)}if(!((a[n]&1)==0)){iK(c[j+8>>2]|0)}tm(e);j=c[e+188>>2]|0;if((j|0)!=0){Tq(b,d,j|0,e,g,f)}j=c[e+192>>2]|0;if((j|0)!=0){Tq(b,d,j|0,e,g,f)}j=c[e+196>>2]|0;if((j|0)!=0){Tq(b,d,j|0,e,g,f)}j=c[e+200>>2]|0;if((j|0)!=0){Tq(b,d,j|0,e,g,f)}j=e+8|0;n=e+4|0;k=c[n>>2]|0;if(((c[j>>2]|0)-k|0)>0){t=0;u=k}else{Ur(b,d,e,f,g,46576);Ur(b,d,e,f,g,46056);Ur(b,d,e,f,g,46608);Ur(b,d,e,f,g,46392);v=d;w=c[v>>2]|0;x=w+120|0;y=c[x>>2]|0;td[y&63](d,m,b);i=h;return}do{k=c[u+(t<<2)>>2]|0;do{if((k|0)!=0){l=VJ(k,46112,47328,-1)|0;if((l|0)==0){break}Tq(b,d,l,e,g,f)}}while(0);t=t+1|0;u=c[n>>2]|0;}while((t|0)<((c[j>>2]|0)-u>>2|0));Ur(b,d,e,f,g,46576);Ur(b,d,e,f,g,46056);Ur(b,d,e,f,g,46608);Ur(b,d,e,f,g,46392);v=d;w=c[v>>2]|0;x=w+120|0;y=c[x>>2]|0;td[y&63](d,m,b);i=h;return}function Ur(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;if((b|0)==0){yc(16112,20144,839,24104)}h=sm(d)|0;i=c[h+4>>2]|0;j=h;if((i|0)==(j|0)){return}h=g+4|0;g=i;do{i=c[g+8>>2]|0;do{if((i|0)!=0){k=VJ(i,46112,47328,-1)|0;l=k;if((k|0)==0){break}m=c[(c[(c[k>>2]|0)-4>>2]|0)+4>>2]|0;n=c[h>>2]|0;o=(m|0)==(n|0);if(!o){break}if((m|0)==42296){Sq(a,b,d,VJ(k,47328,46576,-1)|0,e);break}if(o&(n|0)==42024){Yr(a,b,VJ(k,47328,46056,-1)|0,d,e);break}if((m|0)==42312){er(a,b,l,d,e,f);break}if(!(o&(n|0)==42216)){break}er(a,b,l,d,e,f)}}while(0);g=c[g+4>>2]|0;}while((g|0)!=(j|0));return}function Vr(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;d=i;i=i+8|0;f=d|0;g=f|0;DK(g|0,0,6)|0;Ab(g|0,15896,(h=i,i=i+8|0,c[h>>2]=e&65535,h)|0)|0;i=h;if(!((AK(g|0)|0)>>>0<6>>>0)){yc(20080,16344,49,23688)}h=a[g]|0;a:do{if(!(h<<24>>24==0)){e=0;j=h;while(1){a[f+e|0]=j+82;k=e+1|0;if(!(k>>>0<(AK(g|0)|0)>>>0)){break a}e=k;j=a[f+k|0]|0}}}while(0);f=AK(g|0)|0;if(f>>>0>4294967279>>>0){GA(0)}if(f>>>0<11>>>0){a[b]=f<<1;l=b+1|0;BK(l|0,g|0,f)|0;m=l+f|0;a[m]=0;i=d;return}else{h=f+16&-16;j=gK(h)|0;c[b+8>>2]=j;c[b>>2]=h|1;c[b+4>>2]=f;l=j;BK(l|0,g|0,f)|0;m=l+f|0;a[m]=0;i=d;return}}function Wr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a=wp(b|0,46576,3)|0;do{if((a|0)!=0){if((VJ(a,46112,46576,-1)|0)==0){break}if((c[b+4>>2]|0)==(c[b+8>>2]|0)){break}else{d=1}return d|0}}while(0);a=b+8|0;e=b+4|0;b=0;f=c[a>>2]|0;g=c[e>>2]|0;while(1){if(!(b>>>0>2>>>0)){d=1;h=9;break}i=c[g+(b<<2)>>2]|0;if((i|0)==0){d=0;h=9;break}if((VJ(i,46112,46576,-1)|0)==0){d=0;h=9;break}i=c[a>>2]|0;j=c[e>>2]|0;if((i-j|0)>4){d=0;h=9;break}else{b=b+1|0;f=i;g=j}}if((h|0)==9){return d|0}return 0}function Xr(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,B=0,C=0,D=0,E=0,F=0,G=0,H=0;f=Wr(0,e)|0;b=e+168|0;j=e+172|0;e=c[(c[j>>2]|0)+8>>2]|0;k=(e|0)==0;if(f){if(k){l=0}else{l=VJ(e,46112,47328,-1)|0}f=VJ(c[(c[b>>2]|0)+8>>2]|0,46112,47328,-1)|0;m=c[l+136>>2]|0;n=(((c[f+136>>2]|0)-m|0)/2|0)+m|0;m=a[l+152|0]|0;o=c[f+148>>2]|0;f=(m<<24>>24==0?-20:20)+o+(((c[l+148>>2]|0)-o|0)/2|0)|0;c[i>>2]=n;c[i+4>>2]=f;p=n;q=f;r=m<<24>>24!=0;s=i|0;c[s>>2]=p;t=i+4|0;c[t>>2]=q;return r|0}if(k){u=0}else{u=VJ(e,46112,47328,-1)|0}e=VJ(c[(c[b>>2]|0)+8>>2]|0,46112,47328,-1)|0;k=c[u+92>>2]|0;m=e+92|0;f=e+120|0;n=(((c[m>>2]|0)-k+(c[f>>2]|0)|0)/2|0)+k|0;c[g>>2]=(c[u+112>>2]|0)+k;c[h>>2]=(c[m>>2]|0)+(c[f>>2]|0);f=c[j>>2]|0;m=b;do{if((f|0)==(m|0)){v=0}else{b=0;k=0;o=f;do{l=(a[(VJ(c[o+8>>2]|0,46112,47328,-1)|0)+152|0]^1)&255;b=(l^1)+b|0;k=l+k|0;o=c[o+4>>2]|0;}while((o|0)!=(m|0));o=(b|0)>(k|0);if((b|0)==0|(k|0)==0){v=o;break}l=c[j>>2]|0;if((l|0)==(m|0)){w=0}else{x=o&1;if(o){y=0;z=l;while(1){A=c[z+8>>2]|0;if((A|0)==0){B=0}else{B=VJ(A,46112,47328,-1)|0}do{if((d[B+152|0]|0|0)==(x|0)){A=c[B+148>>2]|0;if((y|0)!=0){if((A+20|0)<(y|0)){C=y;break}}C=A+20|0}else{C=y}}while(0);A=c[z+4>>2]|0;if((A|0)==(m|0)){w=C;break}else{y=C;z=A}}}else{z=0;y=l;while(1){k=c[y+8>>2]|0;if((k|0)==0){D=0}else{D=VJ(k,46112,47328,-1)|0}do{if((d[D+152|0]|0|0)==(x|0)){k=c[D+148>>2]|0;if((z|0)!=0){if((k-20|0)>(z|0)){E=z;break}}E=k-20|0}else{E=z}}while(0);k=c[y+4>>2]|0;if((k|0)==(m|0)){w=E;break}else{z=E;y=k}}}}c[g+4>>2]=w;c[h+4>>2]=w;p=n;q=w;r=o;s=i|0;c[s>>2]=p;t=i+4|0;c[t>>2]=q;return r|0}}while(0);w=e+148|0;e=c[w>>2]|0;E=c[u+148>>2]|0;u=((E-e|0)/2|0)+e|0;if(v){c[g+4>>2]=E+20;c[h+4>>2]=(c[w>>2]|0)+20;F=u+20|0}else{c[g+4>>2]=E-20;c[h+4>>2]=(c[w>>2]|0)-20;F=u-20|0}u=c[j>>2]|0;if((u|0)==(m|0)){p=n;q=F;r=v;s=i|0;c[s>>2]=p;t=i+4|0;c[t>>2]=q;return r|0}j=h+4|0;h=g+4|0;if(v){g=F;w=u;while(1){E=(c[(VJ(c[w+8>>2]|0,46112,47328,-1)|0)+148>>2]|0)+20|0;if((E|0)>(g|0)){e=g-E|0;c[j>>2]=(c[j>>2]|0)-e;c[h>>2]=(c[h>>2]|0)-e;G=E}else{G=g}E=c[w+4>>2]|0;if((E|0)==(m|0)){p=n;q=G;r=v;break}else{g=G;w=E}}s=i|0;c[s>>2]=p;t=i+4|0;c[t>>2]=q;return r|0}else{w=F;F=u;while(1){u=(c[(VJ(c[F+8>>2]|0,46112,47328,-1)|0)+148>>2]|0)-20|0;if((u|0)<(w|0)){G=w-u|0;c[j>>2]=(c[j>>2]|0)-G;c[h>>2]=(c[h>>2]|0)-G;H=u}else{H=w}u=c[F+4>>2]|0;if((u|0)==(m|0)){p=n;q=H;r=v;break}else{w=H;F=u}}s=i|0;c[s>>2]=p;t=i+4|0;c[t>>2]=q;return r|0}return 0}function Yr(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0.0,y=0.0,z=0.0,A=0;h=i;i=i+72|0;j=h|0;k=h+16|0;l=h+32|0;m=h+40|0;n=h+48|0;o=h+56|0;if((f|0)==0){yc(13904,16344,277,24280)}if((g|0)==0){yc(12376,16344,278,24280)}Kp(e+164|0,e|0);Vr(k,0,c[e+184>>2]&65535);wd[c[(c[d>>2]|0)+52>>2]&63](d,k,j,h+8|0);g=l|0;c[g>>2]=0;f=l+4|0;c[f>>2]=0;p=m|0;c[p>>2]=0;q=m+4|0;c[q>>2]=0;r=n|0;c[r>>2]=0;s=n+4|0;c[s>>2]=0;t=Xr(0,e,0,l,m,n)|0;n=(c[r>>2]|0)-((c[j>>2]|0)/2|0)|0;r=n-4|0;m=c[s>>2]|0;s=k;if((a[s]&1)==0){l=o;c[l>>2]=c[s>>2];c[l+4>>2]=c[s+4>>2];c[l+8>>2]=c[s+8>>2]}else{l=c[k+8>>2]|0;e=c[k+4>>2]|0;if(e>>>0>4294967279>>>0){GA(0)}if(e>>>0<11>>>0){a[o]=e<<1;u=o+1|0}else{v=e+16&-16;w=gK(v)|0;c[o+8>>2]=w;c[o>>2]=v|1;c[o+4>>2]=e;u=w}BK(u|0,l|0,e)|0;a[u+e|0]=0}Br(b,d,r,m,o,0,0);if(!((a[o]&1)==0)){iK(c[o+8>>2]|0)}wd[c[(c[d>>2]|0)+24>>2]&63](d,0,2,100);o=c[g>>2]|0;do{if((o|0)>0){g=c[f>>2]|0;m=c[q>>2]|0;r=c[p>>2]|0;x=+(g-m|0)/+(o-r|0);e=n-8|0;u=n-2+(c[j>>2]|0)|0;y=+(g|0);z=+(o|0);l=d;w=c[(c[l>>2]|0)+80>>2]|0;v=Hq(b,g)|0;A=Hq(b,~~(y+(+(e|0)-z)*x))|0;$c[w&31](d,o,v,e,A);A=c[(c[l>>2]|0)+80>>2]|0;e=Hq(b,~~(y+x*(+(u|0)-z)))|0;v=Hq(b,m)|0;$c[A&31](d,u,e,r,v);v=c[(c[l>>2]|0)+80>>2]|0;if(t){e=Hq(b,g)|0;u=Hq(b,g-10|0)|0;$c[v&31](d,o,e,o,u);u=c[(c[l>>2]|0)+80>>2]|0;e=Hq(b,m)|0;A=Hq(b,m-10|0)|0;$c[u&31](d,r,e,r,A);break}else{A=Hq(b,g)|0;e=Hq(b,g+10|0)|0;$c[v&31](d,o,A,o,e);e=c[(c[l>>2]|0)+80>>2]|0;l=Hq(b,m)|0;A=Hq(b,m+10|0)|0;$c[e&31](d,r,l,r,A);break}}}while(0);if((a[s]&1)==0){i=h;return}iK(c[k+8>>2]|0);i=h;return}function Zr(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+16|0;e=d|0;f=b|0;g=e;a[g]=10;h=e;j=h+1|0;a[j]=a[15888]|0;a[j+1|0]=a[15889]|0;a[j+2|0]=a[15890]|0;a[j+3|0]=a[15891]|0;a[j+4|0]=a[15892]|0;a[h+6|0]=0;Bm(f,e);if(!((a[g]&1)==0)){iK(c[e+8>>2]|0)}e=b+164|0;Lj(e);g=b+216|0;vq(g);c[b>>2]=33432;c[b+164>>2]=33604;c[b+172>>2]=33632;c[b+180>>2]=33648;c[b+188>>2]=33664;c[b+196>>2]=33680;c[b+208>>2]=33696;c[b+216>>2]=33712;Cm(f);Yj(e);yq(g);i=d;return}function _r(a){a=a|0;xq(a+216|0);Sj(a+164|0);Em(a|0);iK(a);return}function $r(a){a=a|0;var b=0;b=a-228+64|0;xq(b+216|0);Sj(b+164|0);Em(b);iK(b);return}function as(a){a=a|0;var b=0;b=a-228+56|0;xq(b+216|0);Sj(b+164|0);Em(b);iK(b);return}function bs(a){a=a|0;var b=0;b=a-228+48|0;xq(b+216|0);Sj(b+164|0);Em(b);iK(b);return}function cs(a){a=a|0;var b=0;b=a-228+40|0;xq(b+216|0);Sj(b+164|0);Em(b);iK(b);return}function ds(a){a=a|0;var b=0;b=a-228+32|0;xq(b+216|0);Sj(b+164|0);Em(b);iK(b);return}function es(a){a=a|0;var b=0;b=a-228+20|0;xq(b+216|0);Sj(b+164|0);Em(b);iK(b);return}function fs(a){a=a|0;var b=0;b=a-228+12|0;xq(b+216|0);Sj(b+164|0);Em(b);iK(b);return}function gs(a){a=a|0;xq(a+216|0);Sj(a+164|0);Em(a|0);return}function hs(a){a=a|0;var b=0;b=a-228+64|0;xq(b+216|0);Sj(b+164|0);Em(b);return}function is(a){a=a|0;var b=0;b=a-228+56|0;xq(b+216|0);Sj(b+164|0);Em(b);return}function js(a){a=a|0;var b=0;b=a-228+48|0;xq(b+216|0);Sj(b+164|0);Em(b);return}function ks(a){a=a|0;var b=0;b=a-228+40|0;xq(b+216|0);Sj(b+164|0);Em(b);return}function ls(a){a=a|0;var b=0;b=a-228+32|0;xq(b+216|0);Sj(b+164|0);Em(b);return}function ms(a){a=a|0;var b=0;b=a-228+20|0;xq(b+216|0);Sj(b+164|0);Em(b);return}function ns(a){a=a|0;var b=0;b=a-228+12|0;xq(b+216|0);Sj(b+164|0);Em(b);return}function os(a,b){a=a|0;b=b|0;var c=0;if((b|0)==0){return 0}c=VJ(b,46112,46408,-1)|0;if((c|0)==0){return 0}if(zq(a+216|0,c+216|0)|0){return $j(a+164|0,c+164|0)|0}else{return 0}return 0}function ps(a){a=a|0;Cm(a|0);Yj(a+164|0);yq(a+216|0);return}function qs(a){a=a|0;var b=0;b=a-228+64|0;Cm(b);Yj(b+164|0);yq(b+216|0);return}function rs(a){a=a|0;var b=0;b=a-228+12|0;Cm(b);Yj(b+164|0);yq(b+216|0);return}function ss(a){a=a|0;var b=0,d=0;c[a>>2]=35512;b=c[a+4>>2]|0;if((b|0)!=0){ad[c[(c[b>>2]|0)+4>>2]&2047](b)}b=c[a+8>>2]|0;if((b|0)!=0){ad[c[(c[b>>2]|0)+4>>2]&2047](b)}b=c[a+12>>2]|0;if((b|0)!=0){ad[c[(c[b>>2]|0)+4>>2]&2047](b)}b=c[a+16>>2]|0;if((b|0)==0){d=a;iK(d);return}ad[c[(c[b>>2]|0)+4>>2]&2047](b);d=a;iK(d);return}function ts(a){a=a|0;var b=0;c[a>>2]=35512;b=c[a+4>>2]|0;if((b|0)!=0){ad[c[(c[b>>2]|0)+4>>2]&2047](b)}b=c[a+8>>2]|0;if((b|0)!=0){ad[c[(c[b>>2]|0)+4>>2]&2047](b)}b=c[a+12>>2]|0;if((b|0)!=0){ad[c[(c[b>>2]|0)+4>>2]&2047](b)}b=c[a+16>>2]|0;if((b|0)==0){return}ad[c[(c[b>>2]|0)+4>>2]&2047](b);return}function us(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;c[a>>2]=35512;d=a+4|0;e=a+8|0;f=a+12|0;g=a+16|0;DK(d|0,0,16)|0;a=c[b+4>>2]|0;if((a|0)!=0){h=a;do{if((VJ(h,46112,45928,-1)|0)==0){if((VJ(h,46112,46528,-1)|0)!=0){break}yc(15608,2e4,103,24672)}}while(0);h=c[d>>2]|0;if((h|0)!=0){ad[c[(c[h>>2]|0)+4>>2]&2047](h)}c[d>>2]=dd[c[(c[a>>2]|0)+12>>2]&255](a)|0}a=c[b+8>>2]|0;if((a|0)!=0){d=a;do{if((VJ(d,46112,47440,-1)|0)==0){if((VJ(d,46112,46176,-1)|0)!=0){break}yc(16256,2e4,114,24656)}}while(0);d=c[e>>2]|0;if((d|0)!=0){ad[c[(c[d>>2]|0)+4>>2]&2047](d)}c[e>>2]=dd[c[(c[a>>2]|0)+12>>2]&255](a)|0}a=c[b+12>>2]|0;if((a|0)!=0){e=a;do{if((VJ(e,46112,47408,-1)|0)==0){if((VJ(e,46112,46120,-1)|0)!=0){break}yc(13808,2e4,125,24640)}}while(0);e=c[f>>2]|0;if((e|0)!=0){ad[c[(c[e>>2]|0)+4>>2]&2047](e)}c[f>>2]=dd[c[(c[a>>2]|0)+12>>2]&255](a)|0}a=c[b+16>>2]|0;if((a|0)==0){return}b=a;do{if((VJ(b,46112,47288,-1)|0)==0){if((VJ(b,46112,45848,-1)|0)!=0){break}yc(12288,2e4,136,24624)}}while(0);b=c[g>>2]|0;if((b|0)!=0){ad[c[(c[b>>2]|0)+4>>2]&2047](b)}c[g>>2]=dd[c[(c[a>>2]|0)+12>>2]&255](a)|0;return}function vs(a,b){a=a|0;b=b|0;var d=0;if((b|0)==0){return}d=b;do{if((VJ(d,46112,45928,-1)|0)==0){if((VJ(d,46112,46528,-1)|0)!=0){break}yc(15608,2e4,103,24672)}}while(0);d=a+4|0;a=c[d>>2]|0;if((a|0)!=0){ad[c[(c[a>>2]|0)+4>>2]&2047](a)}c[d>>2]=dd[c[(c[b>>2]|0)+12>>2]&255](b)|0;return}function ws(a,b){a=a|0;b=b|0;var d=0;if((b|0)==0){return}d=b;do{if((VJ(d,46112,47440,-1)|0)==0){if((VJ(d,46112,46176,-1)|0)!=0){break}yc(16256,2e4,114,24656)}}while(0);d=a+8|0;a=c[d>>2]|0;if((a|0)!=0){ad[c[(c[a>>2]|0)+4>>2]&2047](a)}c[d>>2]=dd[c[(c[b>>2]|0)+12>>2]&255](b)|0;return}function xs(a,b){a=a|0;b=b|0;var d=0;if((b|0)==0){return}d=b;do{if((VJ(d,46112,47408,-1)|0)==0){if((VJ(d,46112,46120,-1)|0)!=0){break}yc(13808,2e4,125,24640)}}while(0);d=a+12|0;a=c[d>>2]|0;if((a|0)!=0){ad[c[(c[a>>2]|0)+4>>2]&2047](a)}c[d>>2]=dd[c[(c[b>>2]|0)+12>>2]&255](b)|0;return}function ys(a,b){a=a|0;b=b|0;var d=0;if((b|0)==0){return}d=b;do{if((VJ(d,46112,47288,-1)|0)==0){if((VJ(d,46112,45848,-1)|0)!=0){break}yc(12288,2e4,136,24624)}}while(0);d=a+16|0;a=c[d>>2]|0;if((a|0)!=0){ad[c[(c[a>>2]|0)+4>>2]&2047](a)}c[d>>2]=dd[c[(c[b>>2]|0)+12>>2]&255](b)|0;return}function zs(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;if((a|0)==(b|0)){return a|0}d=a+4|0;e=c[d>>2]|0;if((e|0)!=0){ad[c[(c[e>>2]|0)+4>>2]&2047](e);c[d>>2]=0}e=a+8|0;f=c[e>>2]|0;if((f|0)!=0){ad[c[(c[f>>2]|0)+4>>2]&2047](f);c[e>>2]=0}f=a+12|0;g=c[f>>2]|0;if((g|0)!=0){ad[c[(c[g>>2]|0)+4>>2]&2047](g);c[f>>2]=0}g=a+16|0;h=c[g>>2]|0;if((h|0)!=0){ad[c[(c[h>>2]|0)+4>>2]&2047](h);c[g>>2]=0}h=c[b+4>>2]|0;if((h|0)!=0){i=h;do{if((VJ(i,46112,45928,-1)|0)==0){if((VJ(i,46112,46528,-1)|0)!=0){break}yc(15608,2e4,103,24672);return 0}}while(0);i=c[d>>2]|0;if((i|0)!=0){ad[c[(c[i>>2]|0)+4>>2]&2047](i)}c[d>>2]=dd[c[(c[h>>2]|0)+12>>2]&255](h)|0}h=c[b+8>>2]|0;if((h|0)!=0){d=h;do{if((VJ(d,46112,47440,-1)|0)==0){if((VJ(d,46112,46176,-1)|0)!=0){break}yc(16256,2e4,114,24656);return 0}}while(0);d=c[e>>2]|0;if((d|0)!=0){ad[c[(c[d>>2]|0)+4>>2]&2047](d)}c[e>>2]=dd[c[(c[h>>2]|0)+12>>2]&255](h)|0}h=c[b+12>>2]|0;if((h|0)!=0){e=h;do{if((VJ(e,46112,47408,-1)|0)==0){if((VJ(e,46112,46120,-1)|0)!=0){break}yc(13808,2e4,125,24640);return 0}}while(0);e=c[f>>2]|0;if((e|0)!=0){ad[c[(c[e>>2]|0)+4>>2]&2047](e)}c[f>>2]=dd[c[(c[h>>2]|0)+12>>2]&255](h)|0}h=c[b+16>>2]|0;if((h|0)==0){return a|0}b=h;do{if((VJ(b,46112,47288,-1)|0)==0){if((VJ(b,46112,45848,-1)|0)!=0){break}yc(12288,2e4,136,24624);return 0}}while(0);b=c[g>>2]|0;if((b|0)!=0){ad[c[(c[b>>2]|0)+4>>2]&2047](b)}c[g>>2]=dd[c[(c[h>>2]|0)+12>>2]&255](h)|0;return a|0}function As(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=b+4|0;b=c[d>>2]|0;if((b|0)==0){e=0;return e|0}f=VJ(b,46112,46528,-1)|0;if((f|0)==0){b=c[d>>2]|0;if((b|0)==0){g=0}else{g=VJ(b,46112,45928,-1)|0}b=gK(192)|0;Kh(b,g);h=b}else{b=gK(192)|0;_o(b,f);g=b;a[b+84|0]=a[f+84|0]|0;c[b+88>>2]=c[f+88>>2];c[b+92>>2]=c[f+92>>2];c[b+96>>2]=c[f+96>>2];c[b+100>>2]=c[f+100>>2];c[b+104>>2]=c[f+104>>2];c[b+108>>2]=c[f+108>>2];c[b+112>>2]=c[f+112>>2];c[b+116>>2]=c[f+116>>2];c[b+120>>2]=c[f+120>>2];c[b+124>>2]=c[f+124>>2];c[g>>2]=37392;c[b+128>>2]=c[f+128>>2];a[b+132|0]=a[f+132|0]|0;d=f+136|0;i=b+136|0;j=c[d+4>>2]|0;c[i>>2]=c[d>>2];c[i+4>>2]=j;j=f+144|0;i=b+144|0;d=c[j+4>>2]|0;c[i>>2]=c[j>>2];c[i+4>>2]=d;a[b+152|0]=a[f+152|0]|0;c[b+156>>2]=c[f+156>>2];a[b+160|0]=a[f+160|0]|0;c[b+168>>2]=c[f+168>>2];a[b+176|0]=a[f+176|0]|0;c[b+184>>2]=c[f+184>>2];c[b+188>>2]=c[f+188>>2];c[g>>2]=34304;c[b+164>>2]=34476;c[b+172>>2]=34492;c[b+180>>2]=34508;h=b}if((h|0)==0){yc(11384,2e4,157,22624);return 0}a[h+160|0]=1;e=h;return e|0}function Bs(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=b+8|0;b=c[d>>2]|0;if((b|0)==0){e=0;return e|0}f=VJ(b,46112,46176,-1)|0;if((f|0)==0){b=c[d>>2]|0;if((b|0)==0){g=0}else{g=VJ(b,46112,47440,-1)|0}b=gK(172)|0;Ql(b,g);h=b}else{b=gK(172)|0;_o(b,f);g=b;a[b+84|0]=a[f+84|0]|0;c[b+88>>2]=c[f+88>>2];c[b+92>>2]=c[f+92>>2];c[b+96>>2]=c[f+96>>2];c[b+100>>2]=c[f+100>>2];c[b+104>>2]=c[f+104>>2];c[b+108>>2]=c[f+108>>2];c[b+112>>2]=c[f+112>>2];c[b+116>>2]=c[f+116>>2];c[b+120>>2]=c[f+120>>2];c[b+124>>2]=c[f+124>>2];c[g>>2]=37392;c[b+128>>2]=c[f+128>>2];a[b+132|0]=a[f+132|0]|0;d=f+136|0;i=b+136|0;j=c[d+4>>2]|0;c[i>>2]=c[d>>2];c[i+4>>2]=j;j=f+144|0;i=b+144|0;d=c[j+4>>2]|0;c[i>>2]=c[j>>2];c[i+4>>2]=d;a[b+152|0]=a[f+152|0]|0;c[b+156>>2]=c[f+156>>2];a[b+160|0]=a[f+160|0]|0;c[g>>2]=31824;c[b+164>>2]=c[f+164>>2];a[b+168|0]=a[f+168|0]|0;h=b}if((h|0)==0){yc(11384,2e4,175,22608);return 0}a[h+160|0]=1;e=h;return e|0}function Cs(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=b+12|0;b=c[d>>2]|0;if((b|0)==0){e=0;return e|0}f=VJ(b,46112,46120,-1)|0;if((f|0)==0){b=c[d>>2]|0;if((b|0)==0){g=0}else{g=VJ(b,46112,47408,-1)|0}b=gK(216)|0;cn(b,g);h=b}else{b=gK(216)|0;Ym(b,f);h=b}if((h|0)==0){yc(11384,2e4,193,22592);return 0}a[h+160|0]=1;e=h;return e|0}function Ds(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=b+16|0;b=c[d>>2]|0;if((b|0)==0){e=0;return e|0}f=VJ(b,46112,45848,-1)|0;if((f|0)==0){b=c[d>>2]|0;if((b|0)==0){g=0}else{g=VJ(b,46112,47288,-1)|0}b=gK(180)|0;An(b,g);h=b}else{b=gK(180)|0;_o(b,f);g=b;a[b+84|0]=a[f+84|0]|0;c[b+88>>2]=c[f+88>>2];c[b+92>>2]=c[f+92>>2];c[b+96>>2]=c[f+96>>2];c[b+100>>2]=c[f+100>>2];c[b+104>>2]=c[f+104>>2];c[b+108>>2]=c[f+108>>2];c[b+112>>2]=c[f+112>>2];c[b+116>>2]=c[f+116>>2];c[b+120>>2]=c[f+120>>2];c[b+124>>2]=c[f+124>>2];c[g>>2]=37392;c[b+128>>2]=c[f+128>>2];a[b+132|0]=a[f+132|0]|0;d=f+136|0;i=b+136|0;j=c[d+4>>2]|0;c[i>>2]=c[d>>2];c[i+4>>2]=j;j=f+144|0;i=b+144|0;d=c[j+4>>2]|0;c[i>>2]=c[j>>2];c[i+4>>2]=d;a[b+152|0]=a[f+152|0]|0;c[b+156>>2]=c[f+156>>2];a[b+160|0]=a[f+160|0]|0;c[b+168>>2]=c[f+168>>2];c[b+172>>2]=c[f+172>>2];c[b+176>>2]=c[f+176>>2];c[g>>2]=29768;c[b+164>>2]=29940;h=b}if((h|0)==0){yc(11384,2e4,211,22576);return 0}a[h+160|0]=1;e=h;return e|0}function Es(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;i=i+16|0;e=d|0;f=b|0;g=e;a[g]=18;h=e;BK(h+1|0,10472,9)|0;a[h+10|0]=0;Yo(f,e);if(!((a[g]&1)==0)){iK(c[e+8>>2]|0)}DK(b+88|0,0,16)|0;e=b+108|0;g=e;c[e>>2]=g;c[b+112>>2]=g;c[b+116>>2]=0;c[b>>2]=29504;c[b+84>>2]=29664;c[b+104>>2]=29680;$o(f);i=d;return}function Fs(a){a=a|0;Is(a);iK(a);return}function Gs(a){a=a|0;var b=0;b=a-120+36|0;Is(b);iK(b);return}function Hs(a){a=a|0;var b=0;b=a-120+16|0;Is(b);iK(b);return}function Is(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c[a+104>>2]=35632;b=a+108|0;d=a+116|0;do{if((c[d>>2]|0)!=0){e=c[a+112>>2]|0;f=b;g=(c[b>>2]|0)+4|0;h=e|0;c[(c[h>>2]|0)+4>>2]=c[g>>2];c[c[g>>2]>>2]=c[h>>2];c[d>>2]=0;if((e|0)==(f|0)){break}else{i=e}while(1){e=c[i+4>>2]|0;iK(i);if((e|0)==(f|0)){break}else{i=e}}}}while(0);c[a+84>>2]=35512;i=c[a+88>>2]|0;if((i|0)!=0){ad[c[(c[i>>2]|0)+4>>2]&2047](i)}i=c[a+92>>2]|0;if((i|0)!=0){ad[c[(c[i>>2]|0)+4>>2]&2047](i)}i=c[a+96>>2]|0;if((i|0)!=0){ad[c[(c[i>>2]|0)+4>>2]&2047](i)}i=c[a+100>>2]|0;if((i|0)==0){j=a|0;ep(j);return}ad[c[(c[i>>2]|0)+4>>2]&2047](i);j=a|0;ep(j);return}function Js(a){a=a|0;Is(a-120+36|0);return}function Ks(a){a=a|0;Is(a-120+16|0);return}function Ls(a){a=a|0;$o(a|0);return}function Ms(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;i=i+8|0;e=d|0;f=a|0;g=a+4|0;h=a+8|0;if((c[g>>2]|0)!=(c[h>>2]|0)){yc(9408,2e4,282,22968)}j=b|0;bp(j,f);c[e>>2]=j;b=c[h>>2]|0;if((b|0)==(c[a+12>>2]|0)){xf(g,e);ap(f,1);i=d;return}if((b|0)==0){k=0}else{c[b>>2]=j;k=c[h>>2]|0}c[h>>2]=k+4;ap(f,1);i=d;return}function Ns(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=c[b+104>>2]|0;Kp(a+104|0,a|0);e=c[a+112>>2]|0;f=a+108|0;if((e|0)==(f|0)){return}else{g=e}a:while(1){e=c[g+8>>2]|0;do{if((e|0)==0){h=0}else{a=VJ(e,46112,45760,-1)|0;i=a;if((a|0)==0){h=0;break}if((c[a+104>>2]|0)==(d|0)){j=i;break a}else{h=i}}}while(0);e=c[g+4>>2]|0;if((e|0)==(f|0)){j=h;break}else{g=e}}if((j|0)==0){return}g=c[b+88>>2]|0;if((g|0)!=0){h=g;do{if((VJ(h,46112,45928,-1)|0)==0){if((VJ(h,46112,46528,-1)|0)!=0){break}yc(15608,2e4,103,24672)}}while(0);h=j+88|0;f=c[h>>2]|0;if((f|0)!=0){ad[c[(c[f>>2]|0)+4>>2]&2047](f)}c[h>>2]=dd[c[(c[g>>2]|0)+12>>2]&255](g)|0}g=c[b+92>>2]|0;if((g|0)!=0){h=g;do{if((VJ(h,46112,47440,-1)|0)==0){if((VJ(h,46112,46176,-1)|0)!=0){break}yc(16256,2e4,114,24656)}}while(0);h=j+92|0;f=c[h>>2]|0;if((f|0)!=0){ad[c[(c[f>>2]|0)+4>>2]&2047](f)}c[h>>2]=dd[c[(c[g>>2]|0)+12>>2]&255](g)|0}g=c[b+96>>2]|0;if((g|0)!=0){h=g;do{if((VJ(h,46112,47408,-1)|0)==0){if((VJ(h,46112,46120,-1)|0)!=0){break}yc(13808,2e4,125,24640)}}while(0);h=j+96|0;f=c[h>>2]|0;if((f|0)!=0){ad[c[(c[f>>2]|0)+4>>2]&2047](f)}c[h>>2]=dd[c[(c[g>>2]|0)+12>>2]&255](g)|0}g=c[b+100>>2]|0;if((g|0)==0){return}b=g;do{if((VJ(b,46112,47288,-1)|0)==0){if((VJ(b,46112,45848,-1)|0)!=0){break}yc(12288,2e4,136,24624)}}while(0);b=j+100|0;j=c[b>>2]|0;if((j|0)!=0){ad[c[(c[j>>2]|0)+4>>2]&2047](j)}c[b>>2]=dd[c[(c[g>>2]|0)+12>>2]&255](g)|0;return}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;Kp(a+104|0,a|0);d=c[a+112>>2]|0;e=a+108|0;if((d|0)==(e|0)){f=0;return f|0}else{g=d}a:while(1){d=c[g+8>>2]|0;do{if((d|0)==0){h=0}else{a=VJ(d,46112,45760,-1)|0;i=a;if((a|0)==0){h=0;break}if((c[a+104>>2]|0)==(b|0)){f=i;j=6;break a}else{h=i}}}while(0);d=c[g+4>>2]|0;if((d|0)==(e|0)){f=h;j=6;break}else{g=d}}if((j|0)==6){return f|0}return 0}function Ps(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;b=c[a+112>>2]|0;d=a+108|0;if((b|0)==(d|0)){return}e=a+116|0;a=b;while(1){b=c[a+8>>2]|0;do{if((b|0)==0){f=5}else{if((VJ(b,46112,45760,-1)|0)==0){f=5;break}g=c[a+4>>2]|0}}while(0);if((f|0)==5){f=0;b=a+4|0;h=c[b>>2]|0;i=a|0;c[(c[i>>2]|0)+4>>2]=h;c[c[b>>2]>>2]=c[i>>2];c[e>>2]=(c[e>>2]|0)-1;iK(a);g=h}if((g|0)==(d|0)){break}else{a=g}}return}function Qs(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=a-120+16|0;a=b+108|0;d=c[b+112>>2]|0;e=a;if((d|0)==(a|0)){return}a=b+116|0;b=a;f=d;while(1){d=c[f+8>>2]|0;do{if((d|0)==0){g=5}else{if((VJ(d,46112,45760,-1)|0)==0){g=5;break}h=c[f+4>>2]|0}}while(0);if((g|0)==5){g=0;d=f+4|0;i=c[d>>2]|0;j=f|0;c[(c[j>>2]|0)+4>>2]=i;c[c[d>>2]>>2]=c[j>>2];c[a>>2]=(c[b>>2]|0)-1;iK(f);h=i}if((h|0)==(e|0)){break}else{f=h}}return}function Rs(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;h=i;i=i+80|0;j=h|0;k=h+8|0;l=h+16|0;m=h+24|0;n=h+32|0;o=h+56|0;p=h+64|0;a[j]=d&1;a[k]=e&1;a[l]=f&1;a[m]=g&1;g=gK(4)|0;f=(g|0)==0;if(!f){c[g>>2]=j}e=gK(8)|0;d=e+4|0;if((d|0)!=0){c[d>>2]=k}c[e>>2]=j;if(!f){iK(g)}g=gK(16)|0;f=g;j=g+8|0;if((j|0)!=0){c[j>>2]=l}l=g+12|0;j=l;k=e;d=g;g=c[k+4>>2]|0;c[d>>2]=c[k>>2];c[d+4>>2]=g;if((e|0)!=0){iK(e)}do{if(0){if(0){tG(0)}if(1){if(!0){q=23}}else{q=23}if((q|0)==23){gK(0)|0}if(0){r=0;s=0;break}r=0;s=0}else{if((l|0)==0){t=0}else{c[j>>2]=m;t=j}r=f;s=t+4|0}}while(0);c[o>>2]=121;c[o+4>>2]=0;Op(n,o);o=c[(c[b>>2]|0)+32>>2]|0;t=p|0;c[t>>2]=0;f=p+4|0;c[f>>2]=0;j=p+8|0;c[j>>2]=0;m=s-r|0;l=m>>2;do{if((l|0)!=0){if(l>>>0>1073741823>>>0){tG(0)}q=gK(m)|0;c[f>>2]=q;c[t>>2]=q;c[j>>2]=q+(l<<2);if((r|0)==(s|0)){break}else{u=r;v=q}do{if((v|0)==0){w=0}else{c[v>>2]=c[u>>2];w=c[f>>2]|0}v=w+4|0;c[f>>2]=v;u=u+4|0;}while((u|0)!=(s|0))}}while(0);$c[o&31](b|0,n,p,0,0);p=c[t>>2]|0;if((p|0)!=0){t=c[f>>2]|0;if((t|0)!=(p|0)){c[f>>2]=t+(~((t-4+(-p|0)|0)>>>2)<<2)}iK(p)}if((r|0)==0){i=h;return}iK(r);i=h;return}function Ss(b){b=b|0;var d=0,e=0,f=0;d=b|0;Xo(d);e=b+88|0;f=e;c[e>>2]=f;c[b+92>>2]=f;c[b+96>>2]=0;c[b>>2]=29128;c[b+84>>2]=29288;$o(d);c[b+100>>2]=0;a[b+104|0]=0;return}function Ts(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;c[a+84>>2]=35632;b=a+88|0;d=a+96|0;do{if((c[d>>2]|0)!=0){e=c[a+92>>2]|0;f=b;g=(c[b>>2]|0)+4|0;h=e|0;c[(c[h>>2]|0)+4>>2]=c[g>>2];c[c[g>>2]>>2]=c[h>>2];c[d>>2]=0;if((e|0)==(f|0)){break}else{i=e}while(1){e=c[i+4>>2]|0;iK(i);if((e|0)==(f|0)){break}else{i=e}}}}while(0);ep(a|0);iK(a);return}function Us(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;b=a-108+24|0;c[b+84>>2]=35632;a=b+88|0;d=b+96|0;do{if((c[d>>2]|0)!=0){e=c[b+92>>2]|0;f=a;g=(c[a>>2]|0)+4|0;h=e|0;c[(c[h>>2]|0)+4>>2]=c[g>>2];c[c[g>>2]>>2]=c[h>>2];c[d>>2]=0;if((e|0)==(f|0)){break}else{i=e}while(1){e=c[i+4>>2]|0;iK(i);if((e|0)==(f|0)){break}else{i=e}}}}while(0);ep(b);iK(b);return}function Vs(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;c[a+84>>2]=35632;b=a+88|0;d=a+96|0;if((c[d>>2]|0)==0){e=a|0;ep(e);return}f=c[a+92>>2]|0;g=b;h=(c[b>>2]|0)+4|0;b=f|0;c[(c[b>>2]|0)+4>>2]=c[h>>2];c[c[h>>2]>>2]=c[b>>2];c[d>>2]=0;if((f|0)==(g|0)){e=a|0;ep(e);return}else{i=f}while(1){f=c[i+4>>2]|0;iK(i);if((f|0)==(g|0)){break}else{i=f}}e=a|0;ep(e);return}function Ws(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;b=a-108+24|0;c[b+84>>2]=35632;a=b+88|0;d=b+96|0;if((c[d>>2]|0)==0){e=b;ep(e);return}f=c[b+92>>2]|0;g=a;h=(c[a>>2]|0)+4|0;a=f|0;c[(c[a>>2]|0)+4>>2]=c[h>>2];c[c[h>>2]>>2]=c[a>>2];c[d>>2]=0;if((f|0)==(g|0)){e=b;ep(e);return}else{i=f}while(1){f=c[i+4>>2]|0;iK(i);if((f|0)==(g|0)){break}else{i=f}}e=b;ep(e);return}function Xs(b){b=b|0;$o(b|0);c[b+100>>2]=0;a[b+104|0]=0;return}function Ys(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+8|0;e=d|0;f=b|0;b=a|0;bp(f,b);c[e>>2]=f;g=a+8|0;h=c[g>>2]|0;if((h|0)==(c[a+12>>2]|0)){xf(a+4|0,e);ap(b,1);i=d;return}if((h|0)==0){j=0}else{c[h>>2]=f;j=c[g>>2]|0}c[g>>2]=j+4;ap(b,1);i=d;return}function Zs(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+8|0;e=d|0;f=b|0;b=a|0;bp(f,b);c[e>>2]=f;g=a+8|0;h=c[g>>2]|0;if((h|0)==(c[a+12>>2]|0)){xf(a+4|0,e);ap(b,1);i=d;return}if((h|0)==0){j=0}else{c[h>>2]=f;j=c[g>>2]|0}c[g>>2]=j+4;ap(b,1);i=d;return}function _s(a,b){a=a|0;b=b|0;var d=0;d=c[c[b>>2]>>2]|0;b=qd[c[(c[d>>2]|0)+24>>2]&255](d,a)|0;return(b?0:2)|0}function $s(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;b=c[a+92>>2]|0;d=a+88|0;if((b|0)==(d|0)){return}e=a+96|0;a=b;while(1){b=c[a+8>>2]|0;do{if((b|0)==0){f=5}else{if((VJ(b,46112,45760,-1)|0)==0){f=5;break}g=c[a+4>>2]|0}}while(0);if((f|0)==5){f=0;b=a+4|0;h=c[b>>2]|0;i=a|0;c[(c[i>>2]|0)+4>>2]=h;c[c[b>>2]>>2]=c[i>>2];c[e>>2]=(c[e>>2]|0)-1;iK(a);g=h}if((g|0)==(d|0)){break}else{a=g}}return}function at(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;b=a-108+24|0;a=c[b+92>>2]|0;d=b+88|0;if((a|0)==(d|0)){return}e=b+96|0;b=a;while(1){a=c[b+8>>2]|0;do{if((a|0)==0){f=5}else{if((VJ(a,46112,45760,-1)|0)==0){f=5;break}g=c[b+4>>2]|0}}while(0);if((f|0)==5){f=0;a=b+4|0;h=c[a>>2]|0;i=b|0;c[(c[i>>2]|0)+4>>2]=h;c[c[a>>2]>>2]=c[i>>2];c[e>>2]=(c[e>>2]|0)-1;iK(b);g=h}if((g|0)==(d|0)){break}else{b=g}}return}function bt(b){b=b|0;var d=0;d=b|0;Xo(d);DK(b+88|0,0,16)|0;c[b>>2]=29320;c[b+84>>2]=29476;$o(d);d=b+112|0;E=0;a[d]=E;E=E>>8;a[d+1|0]=E;E=E>>8;a[d+2|0]=E;E=E>>8;a[d+3|0]=E;c[b+108>>2]=5;return}function ct(a){a=a|0;var b=0;c[a+84>>2]=35512;b=c[a+88>>2]|0;if((b|0)!=0){ad[c[(c[b>>2]|0)+4>>2]&2047](b)}b=c[a+92>>2]|0;if((b|0)!=0){ad[c[(c[b>>2]|0)+4>>2]&2047](b)}b=c[a+96>>2]|0;if((b|0)!=0){ad[c[(c[b>>2]|0)+4>>2]&2047](b)}b=c[a+100>>2]|0;if((b|0)!=0){ad[c[(c[b>>2]|0)+4>>2]&2047](b)}ep(a|0);iK(a);return}function dt(a){a=a|0;var b=0;b=a-116+32|0;c[b+84>>2]=35512;a=c[b+88>>2]|0;if((a|0)!=0){ad[c[(c[a>>2]|0)+4>>2]&2047](a)}a=c[b+92>>2]|0;if((a|0)!=0){ad[c[(c[a>>2]|0)+4>>2]&2047](a)}a=c[b+96>>2]|0;if((a|0)!=0){ad[c[(c[a>>2]|0)+4>>2]&2047](a)}a=c[b+100>>2]|0;if((a|0)!=0){ad[c[(c[a>>2]|0)+4>>2]&2047](a)}ep(b);iK(b);return}function et(a){a=a|0;var b=0,d=0;c[a+84>>2]=35512;b=c[a+88>>2]|0;if((b|0)!=0){ad[c[(c[b>>2]|0)+4>>2]&2047](b)}b=c[a+92>>2]|0;if((b|0)!=0){ad[c[(c[b>>2]|0)+4>>2]&2047](b)}b=c[a+96>>2]|0;if((b|0)!=0){ad[c[(c[b>>2]|0)+4>>2]&2047](b)}b=c[a+100>>2]|0;if((b|0)==0){d=a|0;ep(d);return}ad[c[(c[b>>2]|0)+4>>2]&2047](b);d=a|0;ep(d);return}function ft(a){a=a|0;var b=0,d=0;b=a-116+32|0;c[b+84>>2]=35512;a=c[b+88>>2]|0;if((a|0)!=0){ad[c[(c[a>>2]|0)+4>>2]&2047](a)}a=c[b+92>>2]|0;if((a|0)!=0){ad[c[(c[a>>2]|0)+4>>2]&2047](a)}a=c[b+96>>2]|0;if((a|0)!=0){ad[c[(c[a>>2]|0)+4>>2]&2047](a)}a=c[b+100>>2]|0;if((a|0)==0){d=b;ep(d);return}ad[c[(c[a>>2]|0)+4>>2]&2047](a);d=b;ep(d);return}function gt(b){b=b|0;var d=0;$o(b|0);d=b+112|0;E=0;a[d]=E;E=E>>8;a[d+1|0]=E;E=E>>8;a[d+2|0]=E;E=E>>8;a[d+3|0]=E;c[b+108>>2]=5;return}function ht(a,b){a=a|0;b=b|0;var d=0;d=c[c[b>>2]>>2]|0;b=qd[c[(c[d>>2]|0)+28>>2]&255](d,a)|0;return(b?0:2)|0}function it(a,b){a=a|0;b=b|0;Ns(c[c[b>>2]>>2]|0,a);return 0}function jt(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=c[d>>2]|0;d=c[e+4>>2]|0;f=c[e+8>>2]|0;g=c[e+12>>2]|0;if((a[c[e>>2]|0]|0)!=0){a[b+112|0]=1}if((a[d]|0)!=0){a[b+113|0]=1}if((a[f]|0)!=0){a[b+112|0]=1}if((a[g]|0)==0){return 0}a[b+115|0]=1;return 0}function kt(b){b=b|0;var d=0,e=0,f=0;d=gK(108)|0;e=d;_o(e,b|0);f=d+84|0;Ip(f,b+84|0);c[d>>2]=29128;c[f>>2]=29288;c[d+100>>2]=c[b+100>>2];a[d+104|0]=a[b+104|0]|0;return e|0}function lt(b,c){b=b|0;c=c|0;var d=0;a[b]=16;c=b;b=c+1|0;d=b|0;E=1717662803;a[d]=E;E=E>>8;a[d+1|0]=E;E=E>>8;a[d+2|0]=E;E=E>>8;a[d+3|0]=E;d=b+4|0;E=1886537574;a[d]=E;E=E>>8;a[d+1|0]=E;E=E>>8;a[d+2|0]=E;E=E>>8;a[d+3|0]=E;a[c+9|0]=0;return}function mt(b){b=b|0;var d=0,e=0,f=0;d=gK(116)|0;e=d;_o(e,b|0);f=d+84|0;us(f,b+84|0);c[d>>2]=29320;c[f>>2]=29476;c[d+104>>2]=c[b+104>>2];c[d+108>>2]=c[b+108>>2];a[d+112|0]=a[b+112|0]|0;a[d+113|0]=a[b+113|0]|0;a[d+114|0]=a[b+114|0]|0;a[d+115|0]=a[b+115|0]|0;return e|0}function nt(b,c){b=b|0;c=c|0;var d=0;a[b]=16;c=b;b=c+1|0;d=b|0;E=1717662803;a[d]=E;E=E>>8;a[d+1|0]=E;E=E>>8;a[d+2|0]=E;E=E>>8;a[d+3|0]=E;d=b+4|0;E=1717912678;a[d]=E;E=E>>8;a[d+1|0]=E;E=E>>8;a[d+2|0]=E;E=E>>8;a[d+3|0]=E;a[c+9|0]=0;return}function ot(b,c){b=b|0;c=c|0;var d=0;a[b]=16;c=b;b=c+1|0;d=b|0;E=1919902547;a[d]=E;E=E>>8;a[d+1|0]=E;E=E>>8;a[d+2|0]=E;E=E>>8;a[d+3|0]=E;d=b+4|0;E=1717912677;a[d]=E;E=E>>8;a[d+1|0]=E;E=E>>8;a[d+2|0]=E;E=E>>8;a[d+3|0]=E;a[c+9|0]=0;return}function pt(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+16|0;e=d|0;f=b|0;g=e;a[g]=10;h=e;j=h+1|0;a[j]=a[15256]|0;a[j+1|0]=a[15257]|0;a[j+2|0]=a[15258]|0;a[j+3|0]=a[15259]|0;a[j+4|0]=a[15260]|0;a[h+6|0]=0;Bm(f,e);if(!((a[g]&1)==0)){iK(c[e+8>>2]|0)}c[b>>2]=33248;Cm(f);c[b+164>>2]=0;c[b+168>>2]=0;i=d;return}function qt(a){a=a|0;var b=0,d=0;c[a>>2]=33248;b=c[a+164>>2]|0;do{if((b|0)!=0){if((c[b+292>>2]|0)!=(a|0)){break}Lo(b)}}while(0);b=c[a+168>>2]|0;do{if((b|0)!=0){d=b+292|0;if((c[d>>2]|0)!=(a|0)){break}c[d>>2]=0}}while(0);Em(a|0);iK(a);return}function rt(a){a=a|0;var b=0,d=0;c[a>>2]=33248;b=c[a+164>>2]|0;do{if((b|0)!=0){if((c[b+292>>2]|0)!=(a|0)){break}Lo(b)}}while(0);b=c[a+168>>2]|0;do{if((b|0)!=0){d=b+292|0;if((c[d>>2]|0)!=(a|0)){break}c[d>>2]=0}}while(0);Em(a|0);return}function st(a){a=a|0;Cm(a|0);c[a+164>>2]=0;c[a+168>>2]=0;return}function tt(a,b){a=a|0;b=b|0;var d=0;d=a+164|0;if((c[d>>2]|0)==0){c[d>>2]=b;return}else{yc(19872,16144,47,24376)}}function ut(a,b){a=a|0;b=b|0;var d=0;d=a+168|0;if((c[d>>2]|0)==0){c[d>>2]=b;return}else{yc(13696,16144,53,24360)}}function vt(b,c){b=b|0;c=c|0;a[b]=8;c=b;b=c+1|0;E=1920298067;a[b]=E;E=E>>8;a[b+1|0]=E;E=E>>8;a[b+2|0]=E;E=E>>8;a[b+3|0]=E;a[c+5|0]=0;return}function wt(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;i=i+16|0;f=e|0;g=f;a[g]=12;h=f;j=h+1|0;a[j]=a[15240]|0;a[j+1|0]=a[15241]|0;a[j+2|0]=a[15242]|0;a[j+3|0]=a[15243]|0;a[j+4|0]=a[15244]|0;a[j+5|0]=a[15245]|0;a[h+7|0]=0;Dp(b|0,f);if(!((a[g]&1)==0)){iK(c[f+8>>2]|0)}f=b+128|0;Bx(f);c[b>>2]=32392;c[b+128>>2]=32556;$o(b|0);Cx(f);f=b+168|0;E=0;a[f]=E;E=E>>8;a[f+1|0]=E;E=E>>8;a[f+2|0]=E;E=E>>8;a[f+3|0]=E;c[b+160>>2]=5;c[b+164>>2]=-2147483647;c[b+88>>2]=0;c[b+172>>2]=0;c[b+144>>2]=d;i=e;return}function xt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+8|0;e=d|0;f=b|0;bp(f,a|0);c[e>>2]=f;g=a+8|0;h=c[g>>2]|0;if((h|0)==(c[a+12>>2]|0)){xf(a+4|0,e)}else{if((h|0)==0){j=0}else{c[h>>2]=f;j=c[g>>2]|0}c[g>>2]=j+4}j=b+160|0;if((c[j>>2]|0)>=1){i=d;return}c[j>>2]=(c[g>>2]|0)-(c[a+4>>2]|0)>>2;i=d;return}function yt(a){a=a|0;Ex(a+128|0);ep(a|0);iK(a);return}function zt(a){a=a|0;var b=0;b=a-176+48|0;Ex(b+128|0);ep(b);iK(b);return}function At(a){a=a|0;Ex(a+128|0);ep(a|0);return}function Bt(a){a=a|0;var b=0;b=a-176+48|0;Ex(b+128|0);ep(b);return}function Ct(b){b=b|0;var d=0;$o(b|0);Cx(b+128|0);d=b+168|0;E=0;a[d]=E;E=E>>8;a[d+1|0]=E;E=E>>8;a[d+2|0]=E;E=E>>8;a[d+3|0]=E;c[b+160>>2]=5;c[b+164>>2]=-2147483647;c[b+88>>2]=0;c[b+172>>2]=0;return}function Dt(a,b){a=a|0;b=b|0;var d=0;d=c[c[b>>2]>>2]|0;b=qd[c[(c[d>>2]|0)+36>>2]&255](d,a)|0;return(b?0:2)|0}function Et(a){a=a|0;c[a+88>>2]=0;return}function Ft(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=c[d>>2]|0;d=c[e+4>>2]|0;f=c[e+8>>2]|0;if((a[f]|0)!=0){g=1;return g|0}h=c[e>>2]|0;c[d>>2]=(c[d>>2]|0)+1;if((h|0)!=(b|0)){g=0;return g|0}a[f]=1;g=1;return g|0}function Gt(a){a=a|0;var b=0,d=0;b=c[a+172>>2]|0;if((b|0)==0){d=0;return d|0}d=c[b+84>>2]|0;return d|0}function Ht(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[b>>2]|0;b=c[d>>2]|0;e=c[d+4>>2]|0;ad[c[(c[a>>2]|0)+28>>2]&2047](a);d=Xe(c[b>>2]|0,c[e>>2]|0)|0;if((d|0)==0){yc(19856,16120,159,23448);return 0}else{c[a+172>>2]=d;c[e>>2]=(c[e>>2]|0)+1;return 0}return 0}function It(b,c){b=b|0;c=c|0;a[b]=10;c=b;b=c+1|0;a[b]=a[11296]|0;a[b+1|0]=a[11297]|0;a[b+2|0]=a[11298]|0;a[b+3|0]=a[11299]|0;a[b+4|0]=a[11300]|0;a[c+6|0]=0;return}function Jt(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=i;i=i+48|0;g=f|0;j=f+16|0;k=f+32|0;l=b+4|0;a[l]=1;a[b+5|0]=0;c[b>>2]=36120;m=b+8|0;n=b+72|0;o=m|0;p=b+16|0;c[p>>2]=27256;q=b+20|0;c[o>>2]=47740;c[n>>2]=47760;c[b+12>>2]=0;jB(b+72|0,q);c[b+144>>2]=0;c[b+148>>2]=-1;c[o>>2]=27236;c[n>>2]=27276;c[p>>2]=27256;p=j;n=q|0;c[n>>2]=27560;zG(b+24|0);DK(b+28|0,0,24)|0;c[n>>2]=27416;DK(b+52|0,0,16)|0;c[b+68>>2]=24;DK(p|0,0,12)|0;ij(q,j);if(!((a[p]&1)==0)){iK(c[j+8>>2]|0)}j=b+152|0;p=b+216|0;q=j|0;n=b+160|0;c[n>>2]=27256;o=b+164|0;c[q>>2]=47740;c[p>>2]=47760;c[b+156>>2]=0;jB(b+216|0,o);c[b+288>>2]=0;c[b+292>>2]=-1;c[q>>2]=27236;c[p>>2]=27276;c[n>>2]=27256;n=g;p=o|0;c[p>>2]=27560;zG(b+168|0);DK(b+172|0,0,24)|0;c[p>>2]=27416;DK(b+196|0,0,16)|0;c[b+212>>2]=24;DK(n|0,0,12)|0;ij(o,g);if(!((a[n]&1)==0)){iK(c[g+8>>2]|0)}c[b+344>>2]=36328;g=b+368|0;n=g;DK(n|0,0,12)|0;DK(b+348|0,0,17)|0;a[g+1|0]=0;a[n]=0;n=b+388|0;a[l]=0;DK(b+380|0,0,76)|0;c[b+308>>2]=d;c[b+312>>2]=e;h[b+328>>3]=1.0;h[b+336>>3]=1.0;c[b+316>>2]=0;c[b+320>>2]=0;td[c[(c[b>>2]|0)+8>>2]&63](b,0,100);wd[c[(c[b>>2]|0)+24>>2]&63](b,0,1,100);c[b+300>>2]=0;c[b+304>>2]=1;e=c[b+384>>2]|0;d=c[n>>2]|0;if((d|0)!=(e|0)){l=d;while(1){d=l-12|0;c[n>>2]=d;if((a[d]&1)==0){r=d}else{iK(c[l-12+8>>2]|0);r=c[n>>2]|0}if((r|0)==(e|0)){break}else{l=r}}}a[b+296|0]=0;b=k;a[b]=0;a[k+1|0]=0;ij(o,k);if(!((a[b]&1)==0)){iK(c[k+8>>2]|0)}eB(j+(c[(c[j>>2]|0)-12>>2]|0)|0,0);eB(m+(c[(c[m>>2]|0)-12>>2]|0)|0,0);i=f;return}function Kt(a){a=a|0;Lt(a);iK(a);return}function Lt(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;c[b>>2]=36120;if(!((a[b+444|0]&1)==0)){iK(c[b+452>>2]|0)}if(!((a[b+432|0]&1)==0)){iK(c[b+440>>2]|0)}if(!((a[b+420|0]&1)==0)){iK(c[b+428>>2]|0)}if(!((a[b+408|0]&1)==0)){iK(c[b+416>>2]|0)}if(!((a[b+396|0]&1)==0)){iK(c[b+404>>2]|0)}d=b+384|0;e=c[d>>2]|0;if((e|0)!=0){f=b+388|0;g=c[f>>2]|0;if((g|0)==(e|0)){h=e}else{i=g;while(1){g=i-12|0;c[f>>2]=g;if((a[g]&1)==0){j=g}else{iK(c[i-12+8>>2]|0);j=c[f>>2]|0}if((j|0)==(e|0)){break}else{i=j}}h=c[d>>2]|0}iK(h)}c[b+344>>2]=36328;if(!((a[b+368|0]&1)==0)){iK(c[b+376>>2]|0)}c[b+152>>2]=27236;c[b+216>>2]=27276;c[b+160>>2]=27256;h=b+164|0;c[h>>2]=27416;if(!((a[b+196|0]&1)==0)){iK(c[b+204>>2]|0)}c[h>>2]=27560;BG(b+168|0);fB(b+216|0);c[b+8>>2]=27236;c[b+72>>2]=27276;c[b+16>>2]=27256;h=b+20|0;c[h>>2]=27416;if(!((a[b+52|0]&1)==0)){iK(c[b+60>>2]|0)}c[h>>2]=27560;BG(b+24|0);fB(b+72|0);return}function Mt(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;b=i;i=i+192|0;f=b|0;if((a[d]&1)==0){g=d+1|0}else{g=c[d+8>>2]|0}d=f;h=f|0;j=f+8|0;k=f;c[h>>2]=47780;l=f+108|0;c[l>>2]=47800;c[f+4>>2]=0;m=f+108|0;jB(m,j);c[f+180>>2]=0;c[f+184>>2]=-1;c[h>>2]=27636;c[f+108>>2]=27656;Wi(j);n=f+72|0;do{if((c[n>>2]|0)==0){o=Xb(g|0,20128)|0;c[n>>2]=o;if((o|0)==0){p=9;break}c[f+96>>2]=12}else{p=9}}while(0);if((p|0)==9){f=c[(c[k>>2]|0)-12>>2]|0;eB(d+f|0,c[d+(f+16)>>2]|4)}jC(e,j|0)|0;e=c[n>>2]|0;do{if((e|0)==0){p=22}else{f=dd[c[(c[j>>2]|0)+24>>2]&255](j)|0;if((Pa(e|0)|0)!=0){p=22;break}c[n>>2]=0;if((f|0)!=0){p=22}}}while(0);if((p|0)==22){p=c[(c[k>>2]|0)-12>>2]|0;eB(d+p|0,c[d+(p+16)>>2]|4)}c[h>>2]=27636;c[l>>2]=27656;Mi(j);fB(m);i=b;return 1}function Nt(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,F=0,G=0,H=0,I=0;e=i;i=i+160|0;f=e|0;g=e+16|0;j=e+32|0;k=e+48|0;l=e+64|0;m=e+80|0;n=e+96|0;o=e+112|0;p=e+128|0;q=e+144|0;r=b+296|0;if((a[r]|0)!=0){i=e;return}s=b+300|0;if((c[s>>2]|0)<0){t=f+8|0;u=f|0;v=f+4|0;w=f;x=g;y=g;z=y+1|0;A=y+5|0;y=b+304|0;B=g+8|0;while(1){C=gK(64)|0;c[t>>2]=C;c[u>>2]=65;c[v>>2]=49;BK(C|0,19792,49)|0;a[C+49|0]=0;Ot(b,f);if(!((a[w]&1)==0)){iK(c[t>>2]|0)}a[x]=8;E=1046949692;a[z]=E;E=E>>8;a[z+1|0]=E;E=E>>8;a[z+2|0]=E;E=E>>8;a[z+3|0]=E;a[A]=0;Ot(b,g);if(!((a[x]&1)==0)){iK(c[B>>2]|0)}c[y>>2]=(c[y>>2]|0)-1;c[s>>2]=(c[s>>2]|0)-1}}c[b+304>>2]=0;s=j;a[s]=14;y=j+1|0;a[y]=a[13688]|0;a[y+1|0]=a[13689]|0;a[y+2|0]=a[13690]|0;a[y+3|0]=a[13691]|0;a[y+4|0]=a[13692]|0;a[y+5|0]=a[13693]|0;a[y+6|0]=a[13694]|0;y=j+8|0;a[y]=0;Ot(b,j);if(!((a[s]&1)==0)){iK(c[y>>2]|0)}y=k;DK(y|0,0,12)|0;if(d){OA(k,12136)|0}d=~~(+(c[b+312>>2]|0)*+h[b+336>>3]);fe(l,11264,(s=i,i=i+16|0,c[s>>2]=~~(+(c[b+308>>2]|0)*+h[b+328>>3]),c[s+8>>2]=d,s)|0);i=s;s=l;d=a[s]|0;if((d&1)==0){D=(d&255)>>>1;F=l+1|0}else{D=c[l+4>>2]|0;F=c[l+8>>2]|0}TA(k,F,D)|0;if(!((a[s]&1)==0)){iK(c[l+8>>2]|0)}TA(k,10360,95)|0;l=b+16|0;zi(l,k)|0;s=b+388|0;D=b+384|0;if((c[s>>2]|0)!=(c[D>>2]|0)){Pt(l,9384)|0;F=c[D>>2]|0;a:do{if((F|0)!=(c[s>>2]|0)){D=p;d=m;j=n;B=o;x=p+8|0;g=o+8|0;A=n+8|0;z=m+8|0;t=p+1|0;w=p|0;f=p+4|0;v=F;while(1){Pt(l,8760)|0;if((a[65232]&1)==0){c[D>>2]=c[16308];c[D+4>>2]=c[16309];c[D+8>>2]=c[16310]}else{u=c[16310]|0;C=c[16309]|0;if(C>>>0>4294967279>>>0){break}if(C>>>0<11>>>0){a[D]=C<<1;G=t}else{H=C+16&-16;I=gK(H)|0;c[x>>2]=I;c[w>>2]=H|1;c[f>>2]=C;G=I}BK(G|0,u|0,C)|0;a[G+C|0]=0}be(o,p,7936);sp(n,o,v);be(m,n,22184);Mt(0,m,l)|0;if(!((a[d]&1)==0)){iK(c[z>>2]|0)}if(!((a[j]&1)==0)){iK(c[A>>2]|0)}if(!((a[B]&1)==0)){iK(c[g>>2]|0)}if(!((a[D]&1)==0)){iK(c[x>>2]|0)}v=v+12|0;if((v|0)==(c[s>>2]|0)){break a}}GA(0)}}while(0);Pt(l,21096)|0}dl(q,b+164|0);zi(l,q)|0;if(!((a[q]&1)==0)){iK(c[q+8>>2]|0)}a[r]=1;if((a[y]&1)==0){i=e;return}iK(c[k+8>>2]|0);i=e;return}function Ot(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+32|0;f=e|0;g=e+16|0;h=f;DK(h|0,0,12)|0;QA(f,c[b+304>>2]|0,9)|0;be(g,d,20184);d=g;j=a[d]|0;if((j&1)==0){k=(j&255)>>>1;l=g+1|0}else{k=c[g+4>>2]|0;l=c[g+8>>2]|0}TA(f,l,k)|0;if(!((a[d]&1)==0)){iK(c[g+8>>2]|0)}zi(b+160|0,f)|0;if((a[h]&1)==0){i=e;return}iK(c[f+8>>2]|0);i=e;return}function Pt(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;e=i;i=i+32|0;f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=g|0;a[k]=0;c[g+4>>2]=b;l=b;m=c[(c[l>>2]|0)-12>>2]|0;n=b;do{if((c[n+(m+16)>>2]|0)==0){o=c[n+(m+72)>>2]|0;if((o|0)==0){p=m}else{RB(o)|0;p=c[(c[l>>2]|0)-12>>2]|0}a[k]=1;o=AK(d|0)|0;c[h>>2]=c[n+(p+24)>>2];if((c[n+(p+4)>>2]&176|0)==32){q=d+o|0}else{q=d}r=n+p|0;s=n+(p+76)|0;t=c[s>>2]|0;if((t|0)==-1){u=r;iB(f,u);v=DG(f,53416)|0;w=qd[c[(c[v>>2]|0)+28>>2]&255](v,32)|0;BG(f);c[s>>2]=w<<24>>24;x=w;y=u}else{x=t&255;y=r}Di(j,h,d,q,d+o|0,y,x);if((c[j>>2]|0)!=0){break}o=c[(c[l>>2]|0)-12>>2]|0;eB(n+o|0,c[n+(o+16)>>2]|5)}}while(0);hC(g);i=e;return b|0}function Qt(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;d=i;i=i+16|0;g=d|0;if((a[e]&1)==0){h=e+1|0}else{h=c[e+8>>2]|0}if((a[f]&1)==0){j=f+1|0}else{j=c[f+8>>2]|0}f=b+420|0;if((a[f]&1)==0){k=f+1|0}else{k=c[b+428>>2]|0}f=b+444|0;if((a[f]&1)==0){l=f+1|0}else{l=c[b+452>>2]|0}f=b+396|0;if((a[f]&1)==0){m=f+1|0}else{m=c[b+404>>2]|0}f=b+408|0;if((a[f]&1)==0){n=f+1|0}else{n=c[b+416>>2]|0}fe(g,19224,(f=i,i=i+48|0,c[f>>2]=h,c[f+8>>2]=j,c[f+16>>2]=k,c[f+24>>2]=l,c[f+32>>2]=m,c[f+40>>2]=n,f)|0);i=f;Ot(b,g);if((a[g]&1)==0){o=b+300|0;p=c[o>>2]|0;q=p+1|0;c[o>>2]=q;r=b+304|0;s=c[r>>2]|0;t=s+1|0;c[r>>2]=t;i=d;return}iK(c[g+8>>2]|0);o=b+300|0;p=c[o>>2]|0;q=p+1|0;c[o>>2]=q;r=b+304|0;s=c[r>>2]|0;t=s+1|0;c[r>>2]=t;i=d;return}function Rt(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;e=i;i=i+16|0;d=e|0;f=b+300|0;c[f>>2]=(c[f>>2]|0)-1;f=b+304|0;c[f>>2]=(c[f>>2]|0)-1;f=d;a[f]=8;g=d;h=g+1|0;E=1046949692;a[h]=E;E=E>>8;a[h+1|0]=E;E=E>>8;a[h+2|0]=E;E=E>>8;a[h+3|0]=E;a[g+5|0]=0;Ot(b,d);if((a[f]&1)==0){i=e;return}iK(c[d+8>>2]|0);i=e;return}function St(b){b=b|0;var d=0,e=0,f=0,g=0.0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;d=i;i=i+32|0;e=d|0;f=d+16|0;g=+h[b+336>>3];fe(e,18760,(j=i,i=i+16|0,h[j>>3]=+h[b+328>>3],h[j+8>>3]=g,j)|0);i=j;Ot(b,e);if(!((a[e]&1)==0)){iK(c[e+8>>2]|0)}e=b+300|0;c[e>>2]=(c[e>>2]|0)+1;k=b+304|0;c[k>>2]=(c[k>>2]|0)+1;l=c[b+320>>2]|0;fe(f,18168,(j=i,i=i+16|0,c[j>>2]=c[b+316>>2],c[j+8>>2]=l,j)|0);i=j;Ot(b,f);if((a[f]&1)==0){m=c[e>>2]|0;n=m+1|0;c[e>>2]=n;o=c[k>>2]|0;p=o+1|0;c[k>>2]=p;i=d;return}iK(c[f+8>>2]|0);m=c[e>>2]|0;n=m+1|0;c[e>>2]=n;o=c[k>>2]|0;p=o+1|0;c[k>>2]=p;i=d;return}function Tt(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;d=i;i=i+32|0;e=d|0;f=d+16|0;g=b+300|0;c[g>>2]=(c[g>>2]|0)-1;h=b+304|0;c[h>>2]=(c[h>>2]|0)-1;j=e;a[j]=8;k=e;l=k+1|0;E=1046949692;a[l]=E;E=E>>8;a[l+1|0]=E;E=E>>8;a[l+2|0]=E;E=E>>8;a[l+3|0]=E;a[k+5|0]=0;Ot(b,e);if(!((a[j]&1)==0)){iK(c[e+8>>2]|0)}c[g>>2]=(c[g>>2]|0)-1;c[h>>2]=(c[h>>2]|0)-1;h=f;a[h]=8;g=f;e=g+1|0;E=1046949692;a[e]=E;E=E>>8;a[e+1|0]=E;E=E>>8;a[e+2|0]=E;E=E>>8;a[e+3|0]=E;a[g+5|0]=0;Ot(b,f);if((a[h]&1)==0){i=d;return}iK(c[f+8>>2]|0);i=d;return}function Ut(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=i;i=i+48|0;g=f|0;h=f+16|0;j=f+32|0;Vt(j,0,d);d=h;DK(d|0,0,12)|0;k=j;l=a[k]|0;m=(l&1)==0;if(m){n=(l&255)>>>1}else{n=c[j+4>>2]|0}l=n+6|0;if(l>>>0>4294967279>>>0){GA(0)}if(l>>>0<11>>>0){a[d]=12;o=h+1|0}else{l=n+22&-16;p=gK(l)|0;c[h+8>>2]=p;c[h>>2]=l|1;c[h+4>>2]=6;o=p}a[o]=a[18016]|0;a[o+1|0]=a[18017]|0;a[o+2|0]=a[18018]|0;a[o+3|0]=a[18019]|0;a[o+4|0]=a[18020]|0;a[o+5|0]=a[18021]|0;a[o+6|0]=0;if(m){q=j+1|0}else{q=c[j+8>>2]|0}TA(h,q,n)|0;be(g,h,17600);NA(b+396|0,g)|0;if(!((a[g]&1)==0)){iK(c[g+8>>2]|0)}if(!((a[d]&1)==0)){iK(c[h+8>>2]|0)}if(!((a[k]&1)==0)){iK(c[j+8>>2]|0)}if((e|0)==106){OA(b+408|0,17048)|0;i=f;return}else if((e|0)==100){OA(b+408|0,17280)|0;i=f;return}else{OA(b+408|0,17280)|0;i=f;return}}function Vt(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;d=i;i=i+160|0;f=d|0;g=d+16|0;h=g+64|0;j=g|0;k=g+8|0;c[k>>2]=27256;l=g+12|0;c[j>>2]=47740;c[h>>2]=47760;c[g+4>>2]=0;m=g+64|0;jB(m,l);c[g+136>>2]=0;c[g+140>>2]=-1;c[j>>2]=27236;c[h>>2]=27276;c[k>>2]=27256;h=f;n=l|0;c[n>>2]=27560;o=g+16|0;zG(o);DK(g+20|0,0,24)|0;c[n>>2]=27416;n=g+44|0;DK(n|0,0,16)|0;c[g+60>>2]=24;DK(h|0,0,12)|0;ij(l,f);if(!((a[h]&1)==0)){iK(c[f+8>>2]|0)}f=g+8|0;h=f+((c[(c[f>>2]|0)-12>>2]|0)+4)|0;c[h>>2]=c[h>>2]&-75|8;if((e|0)==65280){a[b]=12;h=b;p=h+1|0;a[p]=a[21592]|0;a[p+1|0]=a[21593]|0;a[p+2|0]=a[21594]|0;a[p+3|0]=a[21595]|0;a[p+4|0]=a[21596]|0;a[p+5|0]=a[21597]|0;a[h+7|0]=0}else if((e|0)==65535){a[b]=12;h=b;p=h+1|0;a[p]=a[21368]|0;a[p+1|0]=a[21369]|0;a[p+2|0]=a[21370]|0;a[p+3|0]=a[21371]|0;a[p+4|0]=a[21372]|0;a[p+5|0]=a[21373]|0;a[h+7|0]=0}else if((e|0)==16777215){a[b]=12;h=b;p=h+1|0;a[p]=a[21728]|0;a[p+1|0]=a[21729]|0;a[p+2|0]=a[21730]|0;a[p+3|0]=a[21731]|0;a[p+4|0]=a[21732]|0;a[p+5|0]=a[21733]|0;a[h+7|0]=0}else if((e|0)==16711680){a[b]=12;h=b;p=h+1|0;a[p]=a[21648]|0;a[p+1|0]=a[21649]|0;a[p+2|0]=a[21650]|0;a[p+3|0]=a[21651]|0;a[p+4|0]=a[21652]|0;a[p+5|0]=a[21653]|0;a[h+7|0]=0}else if((e|0)==0){a[b]=12;h=b;p=h+1|0;a[p]=a[21808]|0;a[p+1|0]=a[21809]|0;a[p+2|0]=a[21810]|0;a[p+3|0]=a[21811]|0;a[p+4|0]=a[21812]|0;a[p+5|0]=a[21813]|0;a[h+7|0]=0}else if((e|0)==255){a[b]=12;h=b;p=h+1|0;a[p]=a[21456]|0;a[p+1|0]=a[21457]|0;a[p+2|0]=a[21458]|0;a[p+3|0]=a[21459]|0;a[p+4|0]=a[21460]|0;a[p+5|0]=a[21461]|0;a[h+7|0]=0}else if((e|0)==8355711){a[b]=12;h=b;p=h+1|0;a[p]=a[21240]|0;a[p+1|0]=a[21241]|0;a[p+2|0]=a[21242]|0;a[p+3|0]=a[21243]|0;a[p+4|0]=a[21244]|0;a[p+5|0]=a[21245]|0;a[h+7|0]=0}else{iC(iC(iC(f,e>>>16&255)|0,e>>>8&255)|0,e&255)|0;dl(b,l)}c[j>>2]=27236;c[g+64>>2]=27276;c[k>>2]=27256;k=g+12|0;c[k>>2]=27416;if(!((a[n]&1)==0)){iK(c[g+52>>2]|0)}c[k>>2]=27560;BG(o);fB(m);i=d;return}function Wt(a,b,c){a=a|0;b=b|0;c=c|0;return}function Xt(a,b,c){a=a|0;b=b|0;c=+c;return}function Yt(a,b){a=a|0;b=b|0;return}function Zt(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;g=i;i=i+96|0;h=g|0;j=g+16|0;k=g+32|0;l=g+48|0;m=g+64|0;n=g+80|0;Vt(k,0,d);d=j;DK(d|0,0,12)|0;o=k;p=a[o]|0;q=(p&1)==0;if(q){r=(p&255)>>>1}else{r=c[k+4>>2]|0}p=r+8|0;if(p>>>0>4294967279>>>0){GA(0)}if(p>>>0<11>>>0){a[d]=16;s=j+1|0}else{p=r+24&-16;t=gK(p)|0;c[j+8>>2]=t;c[j>>2]=p|1;c[j+4>>2]=8;s=t}t=s;p=t|0;E=1869771891;a[p]=E;E=E>>8;a[p+1|0]=E;E=E>>8;a[p+2|0]=E;E=E>>8;a[p+3|0]=E;p=t+4|0;E=591029611;a[p]=E;E=E>>8;a[p+1|0]=E;E=E>>8;a[p+2|0]=E;E=E>>8;a[p+3|0]=E;a[s+8|0]=0;if(q){u=k+1|0}else{u=c[k+8>>2]|0}TA(j,u,r)|0;be(h,j,17600);NA(b+420|0,h)|0;if(!((a[h]&1)==0)){iK(c[h+8>>2]|0)}if(!((a[d]&1)==0)){iK(c[j+8>>2]|0)}if(!((a[o]&1)==0)){iK(c[k+8>>2]|0)}fe(n,16392,(k=i,i=i+8|0,c[k>>2]=e,k)|0);i=k;k=m;DK(k|0,0,12)|0;e=n;o=a[e]|0;j=(o&1)==0;if(j){v=(o&255)>>>1}else{v=c[n+4>>2]|0}o=v+13|0;if(o>>>0>4294967279>>>0){GA(0)}if(o>>>0<11>>>0){a[k]=26;w=m+1|0}else{o=v+29&-16;d=gK(o)|0;c[m+8>>2]=d;c[m>>2]=o|1;c[m+4>>2]=13;w=d}BK(w|0,16856,13)|0;a[w+13|0]=0;if(j){x=n+1|0}else{x=c[n+8>>2]|0}TA(m,x,v)|0;be(l,m,17600);NA(b+432|0,l)|0;if(!((a[l]&1)==0)){iK(c[l+8>>2]|0)}if(!((a[k]&1)==0)){iK(c[m+8>>2]|0)}if(!((a[e]&1)==0)){iK(c[n+8>>2]|0)}if((f|0)==100){OA(b+444|0,15960)|0;i=g;return}else if((f|0)==106){OA(b+444|0,15752)|0;i=g;return}else{OA(b+444|0,15960)|0;i=g;return}}function _t(b,d){b=b|0;d=d|0;c[b+348>>2]=c[d+4>>2];c[b+352>>2]=c[d+8>>2];c[b+356>>2]=c[d+12>>2];c[b+360>>2]=c[d+16>>2];a[b+364|0]=a[d+20|0]|0;NA(b+368|0,d+24|0)|0;c[b+380>>2]=c[d+36>>2];return}function $t(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;e=i;i=i+32|0;f=e|0;g=e+16|0;Vt(g,0,d);d=f;DK(d|0,0,12)|0;h=g;j=a[h]|0;k=(j&1)==0;if(k){l=(j&255)>>>1}else{l=c[g+4>>2]|0}j=l+6|0;if(j>>>0>4294967279>>>0){GA(0)}if(j>>>0<11>>>0){a[d]=12;m=f+1|0}else{j=l+22&-16;n=gK(j)|0;c[f+8>>2]=n;c[f>>2]=j|1;c[f+4>>2]=6;m=n}a[m]=a[18016]|0;a[m+1|0]=a[18017]|0;a[m+2|0]=a[18018]|0;a[m+3|0]=a[18019]|0;a[m+4|0]=a[18020]|0;a[m+5|0]=a[18021]|0;a[m+6|0]=0;if(k){o=g+1|0}else{o=c[g+8>>2]|0}TA(f,o,l)|0;NA(b+396|0,f)|0;if(!((a[d]&1)==0)){iK(c[f+8>>2]|0)}if((a[h]&1)==0){i=e;return}iK(c[g+8>>2]|0);i=e;return}function au(a,b){a=a|0;b=b|0;return}function bu(a){a=a|0;td[c[(c[a>>2]|0)+8>>2]&63](a,0,100);return}function cu(a){a=a|0;wd[c[(c[a>>2]|0)+24>>2]&63](a,0,1,100);return}function du(a,b,d){a=a|0;b=b|0;d=d|0;c[a+316>>2]=-b;c[a+320>>2]=-d;return}function eu(a,b,c){a=a|0;b=+b;c=+c;h[a+328>>3]=b;h[a+336>>3]=c;return}function fu(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0;g=i;i=i+32|0;h=g|0;j=g+8|0;k=g+16|0;l=g+24|0;c[e>>2]=0;c[f>>2]=0;m=d;n=d+1|0;o=b+348|0;b=d+8|0;p=d+4|0;d=0;while(1){q=a[m]|0;r=(q&1)==0;if(r){s=(q&255)>>>1}else{s=c[p>>2]|0}if(!(d>>>0>>0)){break}if(r){t=n}else{t=c[b>>2]|0}an(a[t+d|0]|0,h,j,k,l);u=+(c[o>>2]|0)*.00048828125;r=~~(+(c[k>>2]|0)*u);c[k>>2]=r;q=~~(+(c[l>>2]|0)*u);c[l>>2]=q;c[e>>2]=(c[e>>2]|0)+r;c[f>>2]=(c[f>>2]|0)+q;d=d+1|0}i=g;return}function gu(a,b){a=a|0;b=b|0;var d=0;d=c[b+320>>2]|0;c[a>>2]=c[b+316>>2];c[a+4>>2]=d;return}function hu(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;h=i;i=i+16|0;j=h|0;k=c[f>>2]|0;l=c[f+4>>2]|0;m=c[f+8>>2]|0;n=c[f+12>>2]|0;o=c[f+16>>2]|0;p=c[f+20>>2]|0;f=c[g>>2]|0;q=c[g+4>>2]|0;r=c[g+8>>2]|0;s=c[g+12>>2]|0;t=c[g+16>>2]|0;u=c[g+20>>2]|0;fe(j,15312,(g=i,i=i+112|0,c[g>>2]=d,c[g+8>>2]=e,c[g+16>>2]=k,c[g+24>>2]=l,c[g+32>>2]=m,c[g+40>>2]=n,c[g+48>>2]=o,c[g+56>>2]=p,c[g+64>>2]=f,c[g+72>>2]=q,c[g+80>>2]=r,c[g+88>>2]=s,c[g+96>>2]=t,c[g+104>>2]=u,g)|0);i=g;Ot(b,j);if((a[j]&1)==0){i=h;return}iK(c[j+8>>2]|0);i=h;return}function iu(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=e<<1;$c[c[(c[a>>2]|0)+72>>2]&31](a,b-e|0,d-e|0,f,f);return}function ju(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;h=i;i=i+16|0;j=h|0;k=(g|0)/2|0;g=(f|0)/2|0;fe(j,15160,(f=i,i=i+32|0,c[f>>2]=g+d,c[f+8>>2]=k+e,c[f+16>>2]=g,c[f+24>>2]=k,f)|0);i=f;Ot(b,j);if((a[j]&1)==0){i=h;return}iK(c[j+8>>2]|0);i=h;return}function ku(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=+h;j=+j;var k=0,l=0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0;k=i;i=i+16|0;l=k|0;m=(f|0)/2|0;n=+(m|0);f=(g|0)/2|0;o=+(f|0);p=+(d|0)+n;q=+(e|0)+o;r=h*3.141592653589793/180.0;h=p+n*+_(r);s=j*3.141592653589793/180.0;j=p+n*+_(s);n=q-o*+$(r);r=q-o*+$(s);s=+ea(+(r-q),+(j-p))- +ea(+(n-q),+(h-p));e=+X(+s)>3.141592653589793|0;d=X(m|0)|0;m=X(f|0)|0;fe(l,14904,(f=i,i=i+64|0,c[f>>2]=~~h,c[f+8>>2]=~~n,c[f+16>>2]=d,c[f+24>>2]=m,c[f+32>>2]=s>0.0,c[f+40>>2]=e,c[f+48>>2]=~~j,c[f+56>>2]=~~r,f)|0);i=f;Ot(b,l);if((a[l]&1)==0){i=k;return}iK(c[l+8>>2]|0);i=k;return}function lu(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;h=i;i=i+16|0;j=h|0;k=b+432|0;if((a[k]&1)==0){l=k+1|0}else{l=c[b+440>>2]|0}fe(j,14736,(k=i,i=i+40|0,c[k>>2]=d,c[k+8>>2]=e,c[k+16>>2]=f,c[k+24>>2]=g,c[k+32>>2]=l,k)|0);i=k;Ot(b,j);if((a[j]&1)==0){i=h;return}iK(c[j+8>>2]|0);i=h;return}function mu(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;h=i;i=i+48|0;j=h|0;k=h+16|0;l=h+32|0;m=j;DK(m|0,0,12)|0;OA(j,14616)|0;TA(j,14352,19)|0;TA(j,14248,10)|0;if((d|0)>0){n=k;o=k+1|0;p=k+8|0;q=k+4|0;r=0;do{s=(c[e+(r<<3)+4>>2]|0)+g|0;fe(k,13928,(t=i,i=i+16|0,c[t>>2]=(c[e+(r<<3)>>2]|0)+f,c[t+8>>2]=s,t)|0);i=t;t=a[n]|0;if((t&1)==0){u=(t&255)>>>1;v=o}else{u=c[q>>2]|0;v=c[p>>2]|0}TA(j,v,u)|0;if(!((a[n]&1)==0)){iK(c[p>>2]|0)}r=r+1|0;}while((r|0)<(d|0))}TA(j,13592,5)|0;if((a[m]&1)==0){d=l;c[d>>2]=c[m>>2];c[d+4>>2]=c[m+4>>2];c[d+8>>2]=c[m+8>>2]}else{d=c[j+8>>2]|0;r=c[j+4>>2]|0;if(r>>>0>4294967279>>>0){GA(0)}if(r>>>0<11>>>0){a[l]=r<<1;w=l+1|0}else{p=r+16&-16;n=gK(p)|0;c[l+8>>2]=n;c[l>>2]=p|1;c[l+4>>2]=r;w=n}BK(w|0,d|0,r)|0;a[w+r|0]=0}Ot(b,l);if(!((a[l]&1)==0)){iK(c[l+8>>2]|0)}if((a[m]&1)==0){i=h;return}iK(c[j+8>>2]|0);i=h;return}function nu(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;hd[c[(c[a>>2]|0)+96>>2]&15](a,b,d,e,f,0.0);return}function ou(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=+j;var k=0,l=0,m=0,n=0,o=0,p=0;k=i;i=i+16|0;l=k|0;if((g|0)<0){m=-g|0;n=g+e|0}else{m=g;n=e}if((f|0)<0){o=f+d|0;p=-f|0}else{o=d;p=f}fe(l,13368,(f=i,i=i+40|0,c[f>>2]=o,c[f+8>>2]=n,c[f+16>>2]=p,c[f+24>>2]=m,h[f+32>>3]=j,f)|0);i=f;Ot(b,l);if((a[l]&1)==0){i=k;return}iK(c[l+8>>2]|0);i=k;return}function pu(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;cd[c[(c[a>>2]|0)+92>>2]&7](a,b,d,e,0.0);return}function qu(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=+g;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=i;i=i+80|0;j=h|0;k=h+16|0;l=h+32|0;m=h+48|0;n=h+64|0;o=j;DK(o|0,0,12)|0;fe(k,13128,(p=i,i=i+32|0,c[p>>2]=e,c[p+8>>2]=f,c[p+16>>2]=0,c[p+24>>2]=0,p)|0);i=p;NA(j,k)|0;if(!((a[k]&1)==0)){iK(c[k+8>>2]|0)}sp(m,j,d);be(l,m,12992);NA(j,l)|0;if(!((a[l]&1)==0)){iK(c[l+8>>2]|0)}if(!((a[m]&1)==0)){iK(c[m+8>>2]|0)}if((a[o]&1)==0){m=n;c[m>>2]=c[o>>2];c[m+4>>2]=c[o+4>>2];c[m+8>>2]=c[o+8>>2]}else{m=c[j+8>>2]|0;l=c[j+4>>2]|0;if(l>>>0>4294967279>>>0){GA(0)}if(l>>>0<11>>>0){a[n]=l<<1;q=n+1|0}else{d=l+16&-16;k=gK(d)|0;c[n+8>>2]=k;c[n>>2]=d|1;c[n+4>>2]=l;q=k}BK(q|0,m|0,l)|0;a[q+l|0]=0}Ot(b,n);if(!((a[n]&1)==0)){iK(c[n+8>>2]|0)}if((a[o]&1)==0){i=h;return}iK(c[j+8>>2]|0);i=h;return}function ru(a,b){a=a|0;b=b|0;DK(a|0,0,12)|0;switch(b&255|0){case 131:{OA(a,11712)|0;return};case 48:{OA(a,12928)|0;return};case 52:{OA(a,12616)|0;return};case 130:{OA(a,11760)|0;return};case 57:{OA(a,11840)|0;return};case 54:{OA(a,12072)|0;return};case 231:{OA(a,9136)|0;return};case 237:{OA(a,8456)|0;return};case 240:{OA(a,8184)|0;return};case 201:{OA(a,8144)|0;return};case 222:{OA(a,7552)|0;return};case 223:{OA(a,7488)|0;return};case 214:{OA(a,9256)|0;return};case 219:{OA(a,8728)|0;return};case 220:{OA(a,8648)|0;return};case 235:{OA(a,8536)|0;return};case 202:{OA(a,8024)|0;return};case 203:{OA(a,7912)|0;return};case 50:{OA(a,12776)|0;return};case 233:{OA(a,9032)|0;return};case 234:{OA(a,8968)|0;return};case 238:{OA(a,8392)|0;return};case 239:{OA(a,8344)|0;return};case 206:{OA(a,22480)|0;return};case 51:{OA(a,12632)|0;return};case 53:{OA(a,12424)|0;return};case 55:{OA(a,12e3)|0;return};case 56:{OA(a,11888)|0;return};case 236:{OA(a,8504)|0;return};case 224:{OA(a,7360)|0;return};case 205:{OA(a,7296)|0;return};case 215:{OA(a,8928)|0;return};case 216:{OA(a,8864)|0;return};case 213:{OA(a,9344)|0;return};case 218:{OA(a,8792)|0;return};case 204:{OA(a,7744)|0;return};case 221:{OA(a,7616)|0;return};case 232:{OA(a,9080)|0;return};case 132:{OA(a,11672)|0;return};case 133:{OA(a,11624)|0;return};case 134:{OA(a,11584)|0;return};case 135:{OA(a,11448)|0;return};case 136:{OA(a,11152)|0;return};case 137:{OA(a,11072)|0;return};case 138:{OA(a,10968)|0;return};case 139:{OA(a,10920)|0;return};case 63:{OA(a,10896)|0;return};case 64:{OA(a,10840)|0;return};case 207:{OA(a,10760)|0;return};case 208:{OA(a,10664)|0;return};case 209:{OA(a,10608)|0;return};case 210:{OA(a,10528)|0;return};case 227:{OA(a,10312)|0;return};case 228:{OA(a,10208)|0;return};case 229:{OA(a,10064)|0;return};case 230:{OA(a,9984)|0;return};case 140:{OA(a,9920)|0;return};case 183:{OA(a,9800)|0;return};case 127:{OA(a,9688)|0;return};case 249:{OA(a,9592)|0;return};case 211:{OA(a,9528)|0;return};case 212:{OA(a,9472)|0;return};case 49:{OA(a,12824)|0;return};case 217:{OA(a,8832)|0;return};case 225:{OA(a,22408)|0;return};case 226:{OA(a,22296)|0;return};case 35:{OA(a,22104)|0;return};case 116:{OA(a,21984)|0;return};default:{OA(a,9984)|0;return}}}function su(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0.0;g=i;i=i+64|0;j=g|0;k=g+8|0;l=g+16|0;m=g+24|0;n=g+32|0;o=g+48|0;p=d;q=d+1|0;r=b+384|0;s=r|0;t=b+388|0;u=b+392|0;v=n;w=n+8|0;x=n+4|0;y=n+1|0;z=b+348|0;A=o;B=o+8|0;C=d+8|0;D=d+4|0;d=e;e=0;a:while(1){E=a[p]|0;F=(E&1)==0;if(F){G=(E&255)>>>1}else{G=c[D>>2]|0}if(!(e>>>0>>0)){H=50;break}if(F){I=q}else{I=c[C>>2]|0}F=a[I+e|0]|0;ru(n,F);E=c[s>>2]|0;J=c[t>>2]|0;b:do{if((E|0)==(J|0)){K=E;H=21}else{L=a[v]|0;M=(L&1)==0;N=(L&255)>>>1;L=M?y:c[w>>2]|0;O=c[x>>2]|0;P=E;c:while(1){Q=a[P]|0;R=(Q&1)==0;if(R){S=(Q&255)>>>1}else{S=c[P+4>>2]|0}d:do{if((S|0)==((M?N:O)|0)){if(!R){if((xK(c[P+8>>2]|0,L,S)|0)==0){break c}else{break}}if((S|0)==0){break c}else{T=P+1|0;U=L;V=S}while(1){if((a[T]|0)!=(a[U]|0)){break d}Q=V-1|0;if((Q|0)==0){break c}else{T=T+1|0;U=U+1|0;V=Q}}}}while(0);R=P+12|0;if((R|0)==(J|0)){K=J;H=21;break b}else{P=R}}if((P|0)==(J|0)){K=J;H=21}}}while(0);do{if((H|0)==21){H=0;if((K|0)==(c[u>>2]|0)){ne(r,n);break}do{if((K|0)!=0){if((a[v]&1)==0){J=K;c[J>>2]=c[v>>2];c[J+4>>2]=c[v+4>>2];c[J+8>>2]=c[v+8>>2];break}J=c[w>>2]|0;E=c[x>>2]|0;if(E>>>0>4294967279>>>0){break a}if(E>>>0<11>>>0){a[K]=E<<1;W=K+1|0}else{L=E+16&-16;O=gK(L)|0;c[K+8>>2]=O;c[K>>2]=L|1;c[K+4>>2]=E;W=O}BK(W|0,J|0,E)|0;a[W+E|0]=0}}while(0);c[t>>2]=(c[t>>2]|0)+12}}while(0);X=+(c[z>>2]|0)*.00048828125;fe(o,21832,(P=i,i=i+40|0,c[P>>2]=(a[v]&1)==0?y:c[w>>2]|0,c[P+8>>2]=d,c[P+16>>2]=f,h[P+24>>3]=X,h[P+32>>3]=X,P)|0);i=P;Ot(b,o);if(!((a[A]&1)==0)){iK(c[B>>2]|0)}an(F,l,m,j,k);P=~~(+(d|0)+ +(c[j>>2]|0)*+(c[z>>2]|0)*.00048828125);if(!((a[v]&1)==0)){iK(c[w>>2]|0)}d=P;e=e+1|0}if((H|0)==50){i=g;return}GA(0)}function tu(a,b,c){a=a|0;b=b|0;c=c|0;return}function uu(a,b,c){a=a|0;b=b|0;c=c|0;return}function vu(b,c,d){b=b|0;c=c|0;d=d|0;if((a[c+296|0]|0)==0){Nt(c,d)}dl(b,c+20|0);return}function wu(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;i=i+16|0;e=d|0;f=e;a[f]=8;g=e;h=g+1|0;E=762083699;a[h]=E;E=E>>8;a[h+1|0]=E;E=E>>8;a[h+2|0]=E;E=E>>8;a[h+3|0]=E;a[g+5|0]=0;Dp(b|0,e);if(!((a[f]&1)==0)){iK(c[e+8>>2]|0)}e=b+128|0;jz(e);c[b>>2]=34928;c[b+128>>2]=35088;$o(b|0);kz(e);i=d;return}function xu(a){a=a|0;mz(a+128|0);ep(a|0);iK(a);return}function yu(a){a=a|0;var b=0;b=a-140+12|0;mz(b+128|0);ep(b);iK(b);return}function zu(a){a=a|0;mz(a+128|0);ep(a|0);return}function Au(a){a=a|0;var b=0;b=a-140+12|0;mz(b+128|0);ep(b);return}function Bu(a){a=a|0;$o(a|0);kz(a+128|0);return}function Cu(b,c){b=b|0;c=c|0;a[b]=6;c=b+1|0;a[c]=a[16104]|0;a[c+1|0]=a[16105]|0;a[c+2|0]=a[16106]|0;a[b+4|0]=0;return}function Du(b){b=b|0;var d=0,e=0,f=0,g=0;d=i;i=i+16|0;e=d|0;f=e;a[f]=14;g=e+1|0;a[g]=a[14808]|0;a[g+1|0]=a[14809]|0;a[g+2|0]=a[14810]|0;a[g+3|0]=a[14811]|0;a[g+4|0]=a[14812]|0;a[g+5|0]=a[14813]|0;a[g+6|0]=a[14814]|0;g=e+8|0;a[g]=0;Dp(b|0,e);if(!((a[f]&1)==0)){iK(c[g>>2]|0)}c[b>>2]=31240;Se(b+128|0);ad[c[(c[b>>2]|0)+8>>2]&2047](b);i=d;return}function Eu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+8|0;e=d|0;f=b|0;b=a|0;bp(f,b);c[e>>2]=f;g=a+8|0;h=c[g>>2]|0;if((h|0)==(c[a+12>>2]|0)){xf(a+4|0,e);ap(b,1);i=d;return}if((h|0)==0){j=0}else{c[h>>2]=f;j=c[g>>2]|0}c[g>>2]=j+4;ap(b,1);i=d;return}function Fu(a){a=a|0;c[a>>2]=31240;Ue(a+128|0);ep(a|0);iK(a);return}function Gu(a){a=a|0;c[a>>2]=31240;Ue(a+128|0);ep(a|0);return}function Hu(a){a=a|0;$o(a|0);c[a+216>>2]=0;c[a+220>>2]=0;c[a+232>>2]=-2147483647;c[a+236>>2]=0;c[a+92>>2]=0;c[a+224>>2]=-2147483647;c[a+228>>2]=0;c[a+88>>2]=0;c[a+240>>2]=0;return}function Iu(a,b){a=a|0;b=b|0;var d=0;d=c[c[b>>2]>>2]|0;b=qd[c[(c[d>>2]|0)+20>>2]&255](d,a)|0;return(b?0:2)|0}function Ju(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+8|0;e=d|0;f=b|0;b=a|0;bp(f,b);c[e>>2]=f;g=a+8|0;h=c[g>>2]|0;if((h|0)==(c[a+12>>2]|0)){xf(a+4|0,e);ap(b,1);i=d;return}if((h|0)==0){j=0}else{c[h>>2]=f;j=c[g>>2]|0}c[g>>2]=j+4;ap(b,1);i=d;return}function Ku(a){a=a|0;c[a+236>>2]=0;c[a+92>>2]=0;return}function Lu(a){a=a|0;c[a+228>>2]=0;c[a+88>>2]=0;return}function Mu(a){a=a|0;var b=0,d=0;b=c[a+212>>2]|0;if((b|0)==0){d=0;return d|0}d=-(c[b+84>>2]|0)|0;return d|0}function Nu(a,b){a=a|0;b=b|0;var d=0;d=c[c[b>>2]>>2]|0;ad[c[(c[a>>2]|0)+28>>2]&2047](a);c[a+236>>2]=0;b=a+128|0;Ve(b);c[d>>2]=b;return 0}function Ou(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=i;i=i+16|0;e=d|0;f=c[b>>2]|0;g=c[f+12>>2]|0;c[c[f>>2]>>2]=0;h=a+128|0;a=c[(c[h>>2]|0)+32>>2]|0;j=e|0;c[j>>2]=0;k=e+4|0;c[k>>2]=0;l=e+8|0;c[l>>2]=0;m=c[b+4>>2]|0;b=m-f|0;n=b>>2;do{if((n|0)!=0){if(n>>>0>1073741823>>>0){tG(0);return 0}o=gK(b)|0;c[k>>2]=o;c[j>>2]=o;c[l>>2]=o+(n<<2);if((f|0)==(m|0)){break}else{p=f;q=o}do{if((q|0)==0){r=0}else{c[q>>2]=c[p>>2];r=c[k>>2]|0}q=r+4|0;c[k>>2]=q;p=p+4|0;}while((p|0)!=(m|0))}}while(0);$c[a&31](h,g,e,0,0);e=c[j>>2]|0;if((e|0)==0){i=d;return 1}j=c[k>>2]|0;if((j|0)!=(e|0)){c[k>>2]=j+(~((j-4+(-e|0)|0)>>>2)<<2)}iK(e);i=d;return 1}function Pu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=i;i=i+16|0;e=d|0;f=c[b>>2]|0;g=c[f>>2]|0;h=c[f+4>>2]|0;c[a+236>>2]=c[a+216>>2];c[g>>2]=0;g=a+128|0;a=c[(c[g>>2]|0)+32>>2]|0;j=e|0;c[j>>2]=0;k=e+4|0;c[k>>2]=0;l=e+8|0;c[l>>2]=0;m=c[b+4>>2]|0;b=m-f|0;n=b>>2;do{if((n|0)!=0){if(n>>>0>1073741823>>>0){tG(0);return 0}o=gK(b)|0;c[k>>2]=o;c[j>>2]=o;c[l>>2]=o+(n<<2);if((f|0)==(m|0)){break}else{p=f;q=o}do{if((q|0)==0){r=0}else{c[q>>2]=c[p>>2];r=c[k>>2]|0}q=r+4|0;c[k>>2]=q;p=p+4|0;}while((p|0)!=(m|0))}}while(0);$c[a&31](g,h,e,0,0);e=c[j>>2]|0;if((e|0)==0){i=d;return 1}j=c[k>>2]|0;if((j|0)!=(e|0)){c[k>>2]=j+(~((j-4+(-e|0)|0)>>>2)<<2)}iK(e);i=d;return 1}function Qu(a,b){a=a|0;b=b|0;c[c[c[b>>2]>>2]>>2]=0;return 0}function Ru(a,b){a=a|0;b=b|0;c[a+240>>2]=c[c[c[b>>2]>>2]>>2];return 0}function Su(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[b>>2]|0;b=c[d>>2]|0;e=c[d+4>>2]|0;c[a+228>>2]=c[b>>2];d=c[a+212>>2]|0;if((d|0)==0){yc(19696,16080,226,23296);return 0}else{c[b>>2]=(c[d+84>>2]|0)-(c[e>>2]|0)+(c[b>>2]|0);return 1}return 0}function Tu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,j=0.0,k=0,l=0,m=0;d=i;e=c[b>>2]|0;b=c[e>>2]|0;f=c[e+4>>2]|0;e=a+16|0;g=c[e>>2]|0;if((g|0)==0){yc(13672,16080,242,23280);return 0}if((c[g+16>>2]|0)==0){yc(12112,16080,243,23280);return 0}j=+((c[f>>2]|0)-(c[a+216>>2]|0)-(c[a+220>>2]|0)|0)/+(c[a+240>>2]|0);h[b>>3]=j;if(j<.8){ee(11208,(f=i,i=i+1|0,i=i+7&-8,c[f>>2]=0,f)|0);i=f;k=1;i=d;return k|0}f=kp(g)|0;g=c[(c[e>>2]|0)+16>>2]|0;do{if((f|0)==(((c[g+8>>2]|0)-(c[g+4>>2]|0)>>2)-1|0)){l=kp(a|0)|0;m=c[e>>2]|0;if((l|0)!=(((c[m+8>>2]|0)-(c[m+4>>2]|0)>>2)-1|0)){break}if(+h[b>>3]>1.0){k=2}else{break}i=d;return k|0}}while(0);k=0;i=d;return k|0}function Uu(a,b){a=a|0;b=b|0;_e(c[a+212>>2]|0,c[c[(c[b>>2]|0)+4>>2]>>2]|0);return 0}function Vu(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;d=c[b>>2]|0;b=c[d>>2]|0;e=c[d+4>>2]|0;f=c[d+8>>2]|0;g=c[d+12>>2]|0;h=c[d+16>>2]|0;d=c[f>>2]|0;do{if(((c[d+8>>2]|0)-(c[d+4>>2]|0)|0)>0){i=a+228|0;j=c[a+212>>2]|0;if((j|0)==0){k=0}else{k=-(c[j+84>>2]|0)|0}if(((c[i>>2]|0)-k-(c[g>>2]|0)|0)>=0){break}j=gK(280)|0;$p(j);c[f>>2]=j;oj(e,j);c[g>>2]=(c[i>>2]|0)-(c[h>>2]|0)}}while(0);h=op(b,kp(a|0)|0)|0;if((h|0)==0){l=0;m=c[f>>2]|0;eq(m,l);return 1}l=VJ(h,46112,46096,-1)|0;m=c[f>>2]|0;eq(m,l);return 1}function Wu(b,c){b=b|0;c=c|0;a[b]=12;c=b;b=c+1|0;a[b]=a[8744]|0;a[b+1|0]=a[8745]|0;a[b+2|0]=a[8746]|0;a[b+3|0]=a[8747]|0;a[b+4|0]=a[8748]|0;a[b+5|0]=a[8749]|0;a[c+7|0]=0;return}function Xu(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+16|0;e=d|0;f=b|0;g=e;a[g]=8;h=e;j=h+1|0;E=761620852;a[j]=E;E=E>>8;a[j+1|0]=E;E=E>>8;a[j+2|0]=E;E=E>>8;a[j+3|0]=E;a[h+5|0]=0;Bm(f,e);if(!((a[g]&1)==0)){iK(c[e+8>>2]|0)}c[b>>2]=34744;Cm(f);c[b+164>>2]=0;c[b+168>>2]=0;i=d;return}function Yu(a){a=a|0;var b=0,d=0;c[a>>2]=34744;b=c[a+164>>2]|0;do{if((b|0)!=0){if((c[b+284>>2]|0)!=(a|0)){break}Ko(b)}}while(0);b=c[a+168>>2]|0;do{if((b|0)!=0){d=b+284|0;if((c[d>>2]|0)!=(a|0)){break}c[d>>2]=0}}while(0);Em(a|0);iK(a);return}function Zu(a){a=a|0;var b=0,d=0;c[a>>2]=34744;b=c[a+164>>2]|0;do{if((b|0)!=0){if((c[b+284>>2]|0)!=(a|0)){break}Ko(b)}}while(0);b=c[a+168>>2]|0;do{if((b|0)!=0){d=b+284|0;if((c[d>>2]|0)!=(a|0)){break}c[d>>2]=0}}while(0);Em(a|0);return}function _u(a){a=a|0;Cm(a|0);c[a+164>>2]=0;c[a+168>>2]=0;return}function $u(a,b){a=a|0;b=b|0;var d=0;d=a+164|0;if((c[d>>2]|0)==0){c[d>>2]=b;return}else{yc(19664,16064,47,24520)}}function av(a,b){a=a|0;b=b|0;var d=0;d=a+168|0;if((c[d>>2]|0)==0){c[d>>2]=b;return}else{yc(13656,16064,53,24504)}}function bv(b,c){b=b|0;c=c|0;a[b]=6;c=b+1|0;a[c]=a[11200]|0;a[c+1|0]=a[11201]|0;a[c+2|0]=a[11202]|0;a[b+4|0]=0;return}function cv(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;i=i+16|0;e=d|0;f=b|0;g=e;a[g]=14;h=e+1|0;a[h]=a[14688]|0;a[h+1|0]=a[14689]|0;a[h+2|0]=a[14690]|0;a[h+3|0]=a[14691]|0;a[h+4|0]=a[14692]|0;a[h+5|0]=a[14693]|0;a[h+6|0]=a[14694]|0;h=e+8|0;a[h]=0;Bm(f,e);if(!((a[g]&1)==0)){iK(c[h>>2]|0)}h=b+164|0;c[h>>2]=35632;g=b+168|0;e=g;c[g>>2]=e;c[b+172>>2]=e;c[b+176>>2]=0;Qx(b+180|0);c[b>>2]=31016;c[h>>2]=31192;c[b+180>>2]=31212;Cm(f);i=d;return}function dv(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;f=i;i=i+16|0;g=f|0;h=b|0;j=g;a[j]=14;k=g+1|0;a[k]=a[14688]|0;a[k+1|0]=a[14689]|0;a[k+2|0]=a[14690]|0;a[k+3|0]=a[14691]|0;a[k+4|0]=a[14692]|0;a[k+5|0]=a[14693]|0;a[k+6|0]=a[14694]|0;k=g+8|0;a[k]=0;Bm(h,g);if(!((a[j]&1)==0)){iK(c[k>>2]|0)}k=b+164|0;c[k>>2]=35632;j=b+168|0;g=j;c[j>>2]=g;c[b+172>>2]=g;c[b+176>>2]=0;Qx(b+180|0);c[b>>2]=31016;c[k>>2]=31192;c[b+180>>2]=31212;Cm(h);c[b+184>>2]=d;c[b+188>>2]=e;i=f;return}function ev(a){a=a|0;hv(a);iK(a);return}function fv(a){a=a|0;var b=0;b=a-192+28|0;hv(b);iK(b);return}function gv(a){a=a|0;var b=0;b=a-192+12|0;hv(b);iK(b);return}function hv(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;Tx(a+180|0);c[a+164>>2]=35632;b=a+168|0;d=a+176|0;if((c[d>>2]|0)==0){e=a|0;Em(e);return}f=c[a+172>>2]|0;g=b;h=(c[b>>2]|0)+4|0;b=f|0;c[(c[b>>2]|0)+4>>2]=c[h>>2];c[c[h>>2]>>2]=c[b>>2];c[d>>2]=0;if((f|0)==(g|0)){e=a|0;Em(e);return}else{i=f}while(1){f=c[i+4>>2]|0;iK(i);if((f|0)==(g|0)){break}else{i=f}}e=a|0;Em(e);return}function iv(a){a=a|0;hv(a-192+28|0);return}function jv(a){a=a|0;hv(a-192+12|0);return}function kv(a){a=a|0;Cm(a|0);return}function lv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+8|0;e=d|0;f=b|0;b=a|0;bp(f,b);c[e>>2]=f;g=a+8|0;h=c[g>>2]|0;if((h|0)==(c[a+12>>2]|0)){xf(a+4|0,e);ap(b,1);i=d;return}if((h|0)==0){j=0}else{c[h>>2]=f;j=c[g>>2]|0}c[g>>2]=j+4;ap(b,1);i=d;return}function mv(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=c[a+172>>2]|0;d=a+168|0;if((b|0)==(d|0)){return}e=a+176|0;a=b;while(1){b=c[a+8>>2]|0;do{if((b|0)==0){f=7}else{g=VJ(b,46112,47328,-1)|0;if((g|0)==0){f=7;break}if(Mm(g)|0){f=7;break}g=a+4|0;h=c[g>>2]|0;i=a|0;c[(c[i>>2]|0)+4>>2]=h;c[c[g>>2]>>2]=c[i>>2];c[e>>2]=(c[e>>2]|0)-1;iK(a);j=h}}while(0);if((f|0)==7){f=0;j=c[a+4>>2]|0}if((j|0)==(d|0)){break}else{a=j}}return}function nv(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=a-192+28|0;a=b+168|0;d=c[b+172>>2]|0;e=a;if((d|0)==(a|0)){return}a=b+176|0;b=a;f=d;while(1){d=c[f+8>>2]|0;do{if((d|0)==0){g=7}else{h=VJ(d,46112,47328,-1)|0;if((h|0)==0){g=7;break}if(Mm(h)|0){g=7;break}h=f+4|0;i=c[h>>2]|0;j=f|0;c[(c[j>>2]|0)+4>>2]=i;c[c[h>>2]>>2]=c[j>>2];c[a>>2]=(c[b>>2]|0)-1;iK(f);k=i}}while(0);if((g|0)==7){g=0;k=c[f+4>>2]|0}if((k|0)==(e|0)){break}else{f=k}}return}function ov(b,c){b=b|0;c=c|0;a[b]=12;c=b;b=c+1|0;a[b]=a[13648]|0;a[b+1|0]=a[13649]|0;a[b+2|0]=a[13650]|0;a[b+3|0]=a[13651]|0;a[b+4|0]=a[13652]|0;a[b+5|0]=a[13653]|0;a[c+7|0]=0;return}function pv(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;i=i+16|0;e=d|0;f=e;a[f]=12;g=e;h=g+1|0;a[h]=a[14648]|0;a[h+1|0]=a[14649]|0;a[h+2|0]=a[14650]|0;a[h+3|0]=a[14651]|0;a[h+4|0]=a[14652]|0;a[h+5|0]=a[14653]|0;a[g+7|0]=0;Dp(b|0,e);if(!((a[f]&1)==0)){iK(c[e+8>>2]|0)}e=b+128|0;Bx(e);c[b>>2]=32208;c[b+128>>2]=32368;$o(b|0);Cx(e);i=d;return}function qv(a){a=a|0;Ex(a+128|0);ep(a|0);iK(a);return}function rv(a){a=a|0;var b=0;b=a-160+32|0;Ex(b+128|0);ep(b);iK(b);return}function sv(a){a=a|0;Ex(a+128|0);ep(a|0);return}function tv(a){a=a|0;var b=0;b=a-160+32|0;Ex(b+128|0);ep(b);return}function uv(a){a=a|0;$o(a|0);Cx(a+128|0);return}function vv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;i=i+8|0;e=d|0;f=b|0;b=a|0;bp(f,b);c[e>>2]=f;g=a+8|0;h=c[g>>2]|0;if((h|0)==(c[a+12>>2]|0)){xf(a+4|0,e);ap(b,1);i=d;return}if((h|0)==0){j=0}else{c[h>>2]=f;j=c[g>>2]|0}c[g>>2]=j+4;ap(b,1);i=d;return}function wv(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[b>>2]|0;b=c[d>>2]|0;e=c[d+4>>2]|0;ad[c[(c[a>>2]|0)+28>>2]&2047](a|0);d=Xe(c[b>>2]|0,c[e>>2]|0)|0;if((d|0)==0){yc(19608,16024,67,23416);return 0}else{af(d,c[a+144>>2]|0);return 0}return 0}function xv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;i=i+24|0;e=d|0;f=d+8|0;g=d+16|0;h=c[c[b>>2]>>2]|0;b=a|0;j=wp(b,46256,-1)|0;if((j|0)==0){k=0}else{k=VJ(j,46112,46256,-1)|0}j=wp(b,46304,-1)|0;if((j|0)==0){yc(13632,16024,84,23432);return 0}b=VJ(j,46112,46304,-1)|0;if((k|0)==0|(b|0)==0){yc(13632,16024,84,23432);return 0}else{c[e>>2]=c[k+144>>2];k=yv(h,e)|0;c[f>>2]=c[b+160>>2];b=yv(k,f)|0;c[g>>2]=c[a+144>>2];yv(b,g)|0;i=d;return 1}return 0}function yv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;d=i;i=i+8|0;e=d|0;f=a+4|0;g=c[f>>2]|0;do{if((g|0)==0){h=a+4|0;j=h;c[e>>2]=j;k=h|0;l=j}else{j=c[b>>2]|0;h=g;while(1){m=c[h+16>>2]|0;if((j|0)<(m|0)){n=h|0;o=c[n>>2]|0;if((o|0)==0){p=5;break}else{h=o;continue}}if((m|0)>=(j|0)){p=9;break}q=h+4|0;m=c[q>>2]|0;if((m|0)==0){p=8;break}else{h=m}}if((p|0)==5){c[e>>2]=h;k=n;l=h;break}else if((p|0)==8){c[e>>2]=h;k=q;l=h;break}else if((p|0)==9){c[e>>2]=h;k=e;l=h;break}}}while(0);e=c[k>>2]|0;if((e|0)!=0){r=e;s=r+20|0;i=d;return s|0}e=gK(32)|0;p=e+16|0;if((p|0)!=0){c[p>>2]=c[b>>2]}b=e+20|0;if((b|0)!=0){DK(b|0,0,12)|0;c[b>>2]=e+24}b=e;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=l;c[k>>2]=b;l=a|0;p=c[c[l>>2]>>2]|0;if((p|0)==0){t=b}else{c[l>>2]=p;t=c[k>>2]|0}Aj(c[f>>2]|0,t);t=a+8|0;c[t>>2]=(c[t>>2]|0)+1;r=e;s=r+20|0;i=d;return s|0}function zv(a,b){a=a|0;b=b|0;b=ip(a|0,46624)|0;if((b|0)==0){return 0}VJ(b,46112,46624,-1)|0;return 0}function Av(b,c){b=b|0;c=c|0;a[b]=10;c=b;b=c+1|0;a[b]=a[10352]|0;a[b+1|0]=a[10353]|0;a[b+2|0]=a[10354]|0;a[b+3|0]=a[10355]|0;a[b+4|0]=a[10356]|0;a[c+6|0]=0;return}function Bv(a){a=a|0;return((c[a>>2]|0)!=0?436:0)|0}function Cv(a){a=a|0;return}function Dv(a){a=a|0;return(c[a>>2]|0)==0|0}function Ev(a){a=a|0;var b=0;b=c[a>>2]|0;if((b|0)==0){return 49640}else{a=c[b+8>>2]|0;return((a|0)==0?49640:a)|0}return 0}function Fv(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==0){return a|0}Gv(d+8|0,d|0,8,b)|0;return a|0}function Gv(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;h=i;i=i+8|0;j=h|0;if((g|0)==0){yc(17584,19576,168,22656);return 0}k=AK(g|0)|0;if((k|0)==0){l=c[d>>2]|0;if((l&f|0)==0){m=l}else{n=c[a>>2]|0;o=n-4|0;p=-24-(e[o>>1]|0)|0;q=b[n-2>>1]|0;if(q<<16>>16==0){r=c[n+(p+12)>>2]|0}else{r=q&65535}xw(c[(l&-32)>>2]|0,o,r,n+(p-4)|0);m=c[d>>2]|0}c[a>>2]=0;c[d>>2]=m&~f;s=1;i=h;return s|0}m=c[a>>2]|0;p=c[d>>2]|0;a:do{if((m|0)!=0){n=AK(m|0)|0;r=n>>>0>>0;do{if((p&f|0)==0){if(r){break a}}else{if(r){break a}if(n>>>0<32>>>0){break}if(!((n-k|0)>>>0>>1>>>0)){break a}}}while(0);BK(m|0,g|0,k+1|0)|0;s=1;i=h;return s|0}}while(0);m=c[(p&-32)>>2]|0;p=k+1|0;n=k+8&-4;k=m+4|0;r=c[k>>2]|0;o=r+n|0;if(o>>>0>32768>>>0){t=yw(m,n,j)|0}else{l=c[m>>2]|0;c[k>>2]=o;c[j>>2]=l;t=l+24+r|0}if((t|0)==0){s=0;i=h;return s|0}r=c[j>>2]|0;j=r+24|0;l=t-j|0;if(!(l>>>0<65536>>>0)){yc(17160,19576,387,22840);return 0}b[t>>1]=l;l=n>>>0<65536>>>0;do{if(!l){if((c[r+16>>2]|0)==(n|0)&(t|0)==(j|0)){break}yc(17072,19576,391,22840);return 0}}while(0);b[t+2>>1]=l?n&65535:0;n=t+4|0;if((n|0)==0){s=0;i=h;return s|0}BK(n|0,g|0,p)|0;p=c[d>>2]|0;if((p&f|0)==0){u=p}else{p=c[a>>2]|0;g=p-4|0;t=-24-(e[g>>1]|0)|0;l=b[p-2>>1]|0;if(l<<16>>16==0){v=c[p+(t+12)>>2]|0}else{v=l&65535}xw(m,g,v,p+(t-4)|0);u=c[d>>2]|0}c[a>>2]=n;c[d>>2]=u|f;s=1;i=h;return s|0}function Hv(a){a=a|0;c[a>>2]=0;return}function Iv(a){a=a|0;return((c[a>>2]|0)!=0?948:0)|0}function Jv(a){a=a|0;return}function Kv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[b>>2]|0;if((e|0)==0){c[a>>2]=0;return}b=c[e+16>>2]|0;a:do{if((b|0)!=0){if((d|0)==0){e=b;while(1){if((c[e+8>>2]|0)!=0){break}e=c[e+24>>2]|0;if((e|0)==0){break a}}yc(17224,19576,180,22672)}else{f=b}while(1){e=c[f+8>>2]|0;if((e|0)!=0){if((yK(d,e)|0)==0){break}}e=c[f+24>>2]|0;if((e|0)==0){break a}else{f=e}}c[a>>2]=f;return}}while(0);c[a>>2]=0;return}function Lv(a){a=a|0;return(c[a>>2]|0)==0|0}function Mv(a){a=a|0;var b=0;b=c[a>>2]|0;if((b|0)==0){return 49640}else{a=c[b+8>>2]|0;return((a|0)==0?49640:a)|0}return 0}function Nv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[b>>2]|0;if((e|0)==0){c[a>>2]=0;return}b=c[e+28>>2]|0;a:do{if((b|0)!=0){if((d|0)==0){e=b;while(1){if((c[e+4>>2]|0)!=0){break}e=c[e+16>>2]|0;if((e|0)==0){break a}}yc(17224,19576,180,22672)}else{f=b}while(1){e=c[f+4>>2]|0;if((e|0)!=0){if((yK(d,e)|0)==0){break}}e=c[f+16>>2]|0;if((e|0)==0){break a}else{f=e}}c[a>>2]=f;return}}while(0);c[a>>2]=0;return}function Ov(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[b>>2]|0;if((e|0)==0){c[a>>2]=0;return}b=c[e+24>>2]|0;a:do{if((b|0)!=0){if((d|0)==0){e=b;while(1){if((c[e+8>>2]|0)!=0){break}e=c[e+24>>2]|0;if((e|0)==0){break a}}yc(17224,19576,180,22672)}else{f=b}while(1){e=c[f+8>>2]|0;if((e|0)!=0){if((yK(d,e)|0)==0){break}}e=c[f+24>>2]|0;if((e|0)==0){break a}else{f=e}}c[a>>2]=f;return}}while(0);c[a>>2]=0;return}function Pv(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;if((d|0)==0){c[a>>2]=0;return}b=c[d+24>>2]|0;d=a|0;if((b|0)==0){c[d>>2]=0;return}else{c[d>>2]=b;return}}function Qv(a,b){a=a|0;b=b|0;c[a>>2]=c[b>>2];return}function Rv(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;if((d|0)==0){c[a>>2]=0;return}else{c[a>>2]=c[d+16>>2];return}}function Sv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[b>>2]|0;do{if((e|0)!=0){b=c[e>>2]|0;f=b&7;if(!((f|0)==1|(f|0)==6)){break}f=Tv(e,c[(b&-32)>>2]|0)|0;if((f|0)!=0){Gv(f+4|0,f|0,16,d)|0}c[a>>2]=f;return}}while(0);c[a>>2]=0;return}function Tv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;d=i;i=i+8|0;e=d|0;f=b+4|0;g=c[f>>2]|0;h=g+20|0;if(h>>>0>32768>>>0){j=yw(b,20,e)|0}else{k=c[b>>2]|0;c[f>>2]=h;c[e>>2]=k;j=k+24+g|0}if((j|0)==0){l=0;i=d;return l|0}g=j;c[j>>2]=c[e>>2];DK(j+4|0,0,16)|0;e=a+28|0;a=c[e>>2]|0;if((a|0)==0){c[e>>2]=g;c[j+12>>2]=g;l=g;i=d;return l|0}else{e=a+12|0;a=c[e>>2]|0;c[a+16>>2]=g;c[j+12>>2]=a;c[e>>2]=g;l=g;i=d;return l|0}return 0}function Uv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;i=i+8|0;f=e|0;g=b+4|0;h=c[g>>2]|0;j=h+32|0;if(j>>>0>32768>>>0){k=yw(b,32,f)|0}else{l=c[b>>2]|0;c[g>>2]=j;c[f>>2]=l;k=l+24+h|0}if((k|0)==0){m=0;i=e;return m|0}h=k;c[k>>2]=c[f>>2]|d-1;d=k+4|0;DK(d|0,0,28)|0;c[d>>2]=a;d=a+16|0;a=c[d>>2]|0;if((a|0)==0){c[d>>2]=h;c[k+20>>2]=h;m=h;i=e;return m|0}else{d=a+20|0;a=c[d>>2]|0;c[a+24>>2]=h;c[k+20>>2]=a;c[d>>2]=h;m=h;i=e;return m|0}return 0}function Vv(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;a:do{if((b|0)==0){d=0}else{if(((c[b>>2]&7)-2|0)>>>0<2>>>0){d=b;break}a=b+16|0;while(1){e=c[a>>2]|0;if((e|0)==0){d=0;break a}if(((c[e>>2]&7)-2|0)>>>0<2>>>0){d=e;break}else{a=e+24|0}}}}while(0);return((d|0)!=0?818:0)|0}function Wv(a){a=a|0;return}function Xv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=c[a>>2]|0;a:do{if((d|0)!=0){if(((c[d>>2]&7)-2|0)>>>0<2>>>0){e=d}else{a=d+16|0;while(1){f=c[a>>2]|0;if((f|0)==0){break a}if(((c[f>>2]&7)-2|0)>>>0<2>>>0){e=f;break}else{a=f+24|0}}}a=c[e+12>>2]|0;if((a|0)==0){break}else{g=a}return g|0}}while(0);g=b;return g|0}function Yv(a){a=a|0;return(c[a>>2]|0)==0|0}function Zv(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=a|0;c[b>>2]=0;c[a+4>>2]=0;d=a+39&-32;if((d|0)==0){e=0}else{DK(d|0,0,24)|0;e=d}c[e+16>>2]=32768;d=e+24|0;if((d|0)==0){f=0}else{c[d>>2]=e;DK(e+28|0,0,28)|0;c[e+56>>2]=e;c[e+60>>2]=32768;c[e+64>>2]=0;f=d}d=f|0;c[b>>2]=d;c[f+20>>2]=d;d=c[b>>2]|0;if((d|0)==0){g=0;h=e|0;c[h>>2]=g;return}g=d+32|0;h=e|0;c[h>>2]=g;return}function _v(a){a=a|0;var b=0,d=0,e=0,f=0;b=a+4|0;d=c[b>>2]|0;if((d|0)!=0){ad[c[12144]&2047](d);c[b>>2]=0}b=a|0;a=c[b>>2]|0;if((a|0)==0){return}d=c[a>>2]&-32;a=d;if((d|0)==0){yc(15080,19576,5160,22936)}if((c[a+8>>2]|0)!=0){yc(15080,19576,5160,22936)}if((c[a+4>>2]|0)!=0){yc(15080,19576,5160,22936)}d=a+12|0;e=c[d>>2]|0;if((e|0)!=0){f=e;while(1){e=c[f+12>>2]|0;ad[c[12144]&2047](c[f+4>>2]|0);if((e|0)==0){break}else{f=e}}}c[a>>2]=0;c[d>>2]=0;c[a+20>>2]=0;c[a+16>>2]=0;c[b>>2]=0;return}function $v(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=a+4|0;d=c[b>>2]|0;if((d|0)!=0){ad[c[12144]&2047](d);c[b>>2]=0}b=a|0;d=c[b>>2]|0;if((d|0)!=0){e=c[d>>2]&-32;d=e;if((e|0)==0){yc(15080,19576,5160,22936)}if((c[d+8>>2]|0)!=0){yc(15080,19576,5160,22936)}if((c[d+4>>2]|0)!=0){yc(15080,19576,5160,22936)}e=d+12|0;f=c[e>>2]|0;if((f|0)!=0){g=f;while(1){f=c[g+12>>2]|0;ad[c[12144]&2047](c[g+4>>2]|0);if((f|0)==0){break}else{g=f}}}c[d>>2]=0;c[e>>2]=0;c[d+20>>2]=0;c[d+16>>2]=0;c[b>>2]=0}d=a+39&-32;if((d|0)==0){h=0}else{DK(d|0,0,24)|0;h=d}c[h+16>>2]=32768;d=h+24|0;if((d|0)==0){i=0}else{c[d>>2]=h;DK(h+28|0,0,28)|0;c[h+56>>2]=h;c[h+60>>2]=32768;c[h+64>>2]=0;i=d}d=i|0;c[b>>2]=d;c[i+20>>2]=d;d=c[b>>2]|0;if((d|0)==0){j=0;k=h|0;c[k>>2]=j;return}j=d+32|0;k=h|0;c[k>>2]=j;return}function aw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((c|0)==0){yc(17584,19576,168,22656)}else{dw(a,b,c,AK(c|0)|0,d,1,0,0);return}}function bw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;$v(b);cw(a,b,Xb(c|0,14880)|0,d,e);return}function cw(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;if((d|0)==0){c[a+8>>2]=0;c[a>>2]=1;c[a+4>>2]=0;return}Kc(d|0,0,2)|0;g=xb(d|0)|0;Kc(d|0,0,0)|0;if((g|0)<0){Pa(d|0)|0;c[a+8>>2]=0;c[a>>2]=2;c[a+4>>2]=0;return}h=dd[c[12142]&255]((g|0)!=0?g:1)|0;if((h|0)==0){Pa(d|0)|0;c[a+8>>2]=0;c[a>>2]=3;c[a+4>>2]=0;return}i=ec(h|0,1,g|0,d|0)|0;Pa(d|0)|0;if((i|0)==(g|0)){dw(a,b,h,g,e,f,1,1);return}else{ad[c[12144]&2047](h);c[a+8>>2]=0;c[a>>2]=2;c[a+4>>2]=0;return}}function dw(d,f,g,h,j,k,l,m){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,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,Ia=0,Ja=0,Ka=0,La=0;n=i;i=i+16|0;o=n|0;$v(f);p=(g|0)!=0;if(!(p|(h|0)==0)){yc(14592,19576,5232,22944)}a:do{if((k|0)==0){if(h>>>0<4>>>0){q=17;break}r=a[g]|0;s=a[g+1|0]|0;t=a[g+2|0]|0;u=a[g+3|0]|0;v=r<<24>>24==0;w=s<<24>>24==0;x=s|r;do{if(!(x<<24>>24==0&t<<24>>24==-2&u<<24>>24==-1)){y=r<<24>>24==-1&s<<24>>24==-2;z=t<<24>>24==0;A=u<<24>>24==0;if(y&z&A){q=96;break a}B=r<<24>>24==-2&s<<24>>24==-1;if(B|y){C=B?3:2;q=20;break a}if(r<<24>>24==-17&s<<24>>24==-69&t<<24>>24==-65){q=17;break a}if((x|t)<<24>>24==0&u<<24>>24==60){break}B=r<<24>>24==60;y=B&w;if(y&z&A){q=96;break a}D=v&s<<24>>24==60;if(D&z&u<<24>>24==63){z=g;E=h>>>1;F=z+(E<<1)|0;if((E|0)==0){G=0;H=0;I=F;J=z;q=76;break a}else{K=F;L=z;q=60;break a}}if(y&t<<24>>24==63&A){q=21;break a}A=B&s<<24>>24==63&t<<24>>24==120&u<<24>>24==109;if(A|D){M=A?1:3;q=16;break a}M=y?2:1;q=16;break a}}while(0);u=g;t=h>>>2;s=u+(t<<2)|0;if((t|0)==0){N=0;O=0;P=s;Q=u;q=131}else{R=s;S=u;q=122}}else if((k|0)==4){q=21}else if((k|0)==8|(k|0)==7){q=96}else{M=k;q=16}}while(0);if((q|0)==16){if((M|0)==1){q=17}else{C=M;q=20}}else if((q|0)==21){M=g;k=h>>>1;u=M+(k<<1)|0;if((k|0)==0){T=0;U=0;V=u;W=M;q=40}else{X=u;Y=M;q=24}}else if((q|0)==96){M=g;u=h>>>2;k=M+(u<<2)|0;if((u|0)==0){Z=0;_=0;$=k;aa=M;q=109}else{ba=k;ca=M;q=100}}b:do{if((q|0)==17){if(l){da=h;ea=g;fa=1;break}M=dd[c[12142]&255]((h|0)!=0?h:1)|0;if((M|0)==0){q=162;break}BK(M|0,g|0,h)|0;da=h;ea=M;fa=1}else if((q|0)==20){if((C-2|0)>>>0<2>>>0){M=g;k=h>>>1;u=M+(k<<1)|0;s=(k|0)!=0;if((C|0)==2){if(s){X=u;Y=M;q=24;break}else{T=0;U=0;V=u;W=M;q=40;break}}else{if(s){K=u;L=M;q=60;break}else{G=0;H=0;I=u;J=M;q=76;break}}}if((C-5|0)>>>0<2>>>0){M=g;u=h>>>2;s=M+(u<<2)|0;k=(u|0)!=0;if((C|0)==5){if(k){ba=s;ca=M;q=100;break}else{Z=0;_=0;$=s;aa=M;q=109;break}}else{if(k){R=s;S=M;q=122;break}else{N=0;O=0;P=s;Q=M;q=131;break}}}if((C|0)==9){ga=0}else{yc(18064,19576,1447,22776)}while(1){if(!(ga>>>0>>0)){break}if((a[g+ga|0]|0)<0){q=146;break}else{ga=ga+1|0}}do{if((q|0)==146){if(ga>>>0>h>>>0){yc(17680,19576,1392,22696)}M=h-ga|0;if((ga|0)==(h|0)){break}else{ha=0;ia=0}do{ha=((a[g+(ia+ga)|0]|0)>-1?1:2)+ha|0;ia=ia+1|0;}while(ia>>>0>>0);s=ha+ga|0;k=dd[c[12142]&255]((s|0)==0?1:s)|0;if((k|0)==0){q=162;break b}BK(k|0,g|0,ga)|0;u=k+ga|0;t=0;while(1){v=a[g+(t+ga)|0]|0;if(v<<24>>24>-1){a[u]=v;ja=u+1|0}else{a[u]=(v&255)>>>6|-64;a[u+1|0]=v&63|-128;ja=u+2|0}v=t+1|0;if(v>>>0>>0){u=ja;t=v}else{break}}if((ja|0)==(k+s|0)){da=s;ea=k;fa=9;break b}yc(17632,19576,1413,22696)}}while(0);if(l){da=h;ea=g;fa=9;break}t=dd[c[12142]&255]((h|0)!=0?h:1)|0;if((t|0)==0){q=162;break}BK(t|0,g|0,h)|0;da=h;ea=t;fa=9}}while(0);c:do{if((q|0)==24){h=0;l=Y;while(1){ja=l;while(1){ka=b[ja>>1]|0;ga=ka&65535;if((ka&65535)>>>0<55296>>>0){q=27;break}if((ga-57344|0)>>>0<8192>>>0){q=35;break}ha=ja+2|0;ia=ha>>>0>>0;if((ga-55296|0)>>>0<1024>>>0&ia){if(((e[ha>>1]|0)-56320|0)>>>0<1024>>>0){q=38;break}}if(ia){ja=ha}else{T=h;U=1;V=X;W=Y;q=40;break c}}if((q|0)==27){q=0;do{if((ka&65535)>>>0<128>>>0){la=h+1|0}else{if((ka&65535)>>>0<2048>>>0){la=h+2|0;break}else{la=h+3|0;break}}}while(0);ma=ja+2|0;na=la}else if((q|0)==35){q=0;ma=ja+2|0;na=h+3|0}else if((q|0)==38){q=0;ma=ja+4|0;na=h+4|0}if(ma>>>0>>0){h=na;l=ma}else{T=na;U=1;V=X;W=Y;q=40;break}}}else if((q|0)==60){l=0;h=L;while(1){k=h;while(1){oa=Yc(b[k>>1]|0)|0;s=oa&65535;if((oa&65535)>>>0<55296>>>0){q=63;break}if((s-57344|0)>>>0<8192>>>0){q=71;break}ha=k+2|0;ia=ha>>>0>>0;if((s-55296|0)>>>0<1024>>>0&ia){if((((Yc(b[ha>>1]|0)|0)&65535)-56320|0)>>>0<1024>>>0){q=74;break}}if(ia){k=ha}else{G=l;H=1;I=K;J=L;q=76;break c}}if((q|0)==63){q=0;do{if((oa&65535)>>>0<128>>>0){pa=l+1|0}else{if((oa&65535)>>>0<2048>>>0){pa=l+2|0;break}else{pa=l+3|0;break}}}while(0);qa=k+2|0;ra=pa}else if((q|0)==71){q=0;qa=k+2|0;ra=l+3|0}else if((q|0)==74){q=0;qa=k+4|0;ra=l+4|0}if(qa>>>0>>0){l=ra;h=qa}else{G=ra;H=1;I=K;J=L;q=76;break}}}else if((q|0)==100){h=0;l=ca;while(1){ja=c[l>>2]|0;do{if(ja>>>0<65536>>>0){if(ja>>>0<128>>>0){sa=h+1|0;break}if(ja>>>0<2048>>>0){sa=h+2|0;break}else{sa=h+3|0;break}}else{sa=h+4|0}}while(0);ja=l+4|0;if(ja>>>0>>0){h=sa;l=ja}else{Z=sa;_=1;$=ba;aa=ca;q=109;break}}}else if((q|0)==122){l=0;h=S;while(1){ja=rc(c[h>>2]|0)|0;do{if(ja>>>0<65536>>>0){if(ja>>>0<128>>>0){ta=l+1|0;break}if(ja>>>0<2048>>>0){ta=l+2|0;break}else{ta=l+3|0;break}}else{ta=l+4|0}}while(0);ja=h+4|0;if(ja>>>0>>0){l=ta;h=ja}else{N=ta;O=1;P=R;Q=S;q=131;break}}}}while(0);do{if((q|0)==40){S=dd[c[12142]&255]((T|0)==0?1:T)|0;if((S|0)==0){q=162;break}d:do{if(U){R=S;ta=W;while(1){ca=ta;while(1){ua=b[ca>>1]|0;va=ua&65535;if((ua&65535)>>>0<55296>>>0){q=44;break}if((va-57344|0)>>>0<8192>>>0){q=52;break}ba=ca+2|0;sa=ba>>>0>>0;if((va-55296|0)>>>0<1024>>>0&sa){wa=e[ba>>1]|0;if((wa-56320|0)>>>0<1024>>>0){q=55;break}}if(sa){ca=ba}else{xa=R;break d}}if((q|0)==44){q=0;do{if((ua&65535)>>>0<128>>>0){a[R]=ua;ya=R+1|0}else{if((ua&65535)>>>0<2048>>>0){a[R]=va>>>6|192;a[R+1|0]=va&63|128;ya=R+2|0;break}else{a[R]=va>>>12|224;a[R+1|0]=va>>>6&63|128;a[R+2|0]=va&63|128;ya=R+3|0;break}}}while(0);za=ca+2|0;Aa=ya}else if((q|0)==52){q=0;a[R]=va>>>12|224;a[R+1|0]=va>>>6&63|128;a[R+2|0]=va&63|128;za=ca+2|0;Aa=R+3|0}else if((q|0)==55){q=0;ba=(va<<10&1047552)+65536|0;a[R]=ba>>>18|240;a[R+1|0]=ba>>>12&63|128;a[R+2|0]=(wa&960|ba)>>>6&63|128;a[R+3|0]=wa&63|128;za=ca+4|0;Aa=R+4|0}if(za>>>0>>0){R=Aa;ta=za}else{xa=Aa;break}}}else{xa=S}}while(0);if((xa|0)==(S+T|0)){da=T;ea=S;fa=2;break}yc(17632,19576,1349,22744)}else if((q|0)==76){ta=dd[c[12142]&255]((G|0)==0?1:G)|0;if((ta|0)==0){q=162;break}e:do{if(H){R=ta;ba=J;while(1){sa=ba;while(1){Ba=Yc(b[sa>>1]|0)|0;Ca=Ba&65535;if((Ba&65535)>>>0<55296>>>0){q=80;break}if((Ca-57344|0)>>>0<8192>>>0){q=88;break}L=sa+2|0;K=L>>>0>>0;if((Ca-55296|0)>>>0<1024>>>0&K){Da=(Yc(b[L>>1]|0)|0)&65535;if((Da-56320|0)>>>0<1024>>>0){q=91;break}}if(K){sa=L}else{Ea=R;break e}}if((q|0)==80){q=0;do{if((Ba&65535)>>>0<128>>>0){a[R]=Ba;Fa=R+1|0}else{if((Ba&65535)>>>0<2048>>>0){a[R]=Ca>>>6|192;a[R+1|0]=Ca&63|128;Fa=R+2|0;break}else{a[R]=Ca>>>12|224;a[R+1|0]=Ca>>>6&63|128;a[R+2|0]=Ca&63|128;Fa=R+3|0;break}}}while(0);Ga=sa+2|0;Ha=Fa}else if((q|0)==88){q=0;a[R]=Ca>>>12|224;a[R+1|0]=Ca>>>6&63|128;a[R+2|0]=Ca&63|128;Ga=sa+2|0;Ha=R+3|0}else if((q|0)==91){q=0;ca=(Ca<<10&1047552)+65536|0;a[R]=ca>>>18|240;a[R+1|0]=ca>>>12&63|128;a[R+2|0]=(Da&960|ca)>>>6&63|128;a[R+3|0]=Da&63|128;Ga=sa+4|0;Ha=R+4|0}if(Ga>>>0>>0){R=Ha;ba=Ga}else{Ea=Ha;break}}}else{Ea=ta}}while(0);if((Ea|0)==(ta+G|0)){da=G;ea=ta;fa=3;break}yc(17632,19576,1349,22744)}else if((q|0)==109){S=dd[c[12142]&255]((Z|0)==0?1:Z)|0;if((S|0)==0){q=162;break}if(_){ba=S;R=aa;while(1){ca=c[R>>2]|0;do{if(ca>>>0<65536>>>0){if(ca>>>0<128>>>0){a[ba]=ca;Ia=ba+1|0;break}if(ca>>>0<2048>>>0){a[ba]=ca>>>6|192;a[ba+1|0]=ca&63|128;Ia=ba+2|0;break}else{a[ba]=ca>>>12|224;a[ba+1|0]=ca>>>6&63|128;a[ba+2|0]=ca&63|128;Ia=ba+3|0;break}}else{a[ba]=ca>>>18|240;a[ba+1|0]=ca>>>12&63|128;a[ba+2|0]=ca>>>6&63|128;a[ba+3|0]=ca&63|128;Ia=ba+4|0}}while(0);ca=R+4|0;if(ca>>>0<$>>>0){ba=Ia;R=ca}else{Ja=Ia;break}}}else{Ja=S}if((Ja|0)==(S+Z|0)){da=Z;ea=S;fa=5;break}yc(17632,19576,1371,22720)}else if((q|0)==131){R=dd[c[12142]&255]((N|0)==0?1:N)|0;if((R|0)==0){q=162;break}if(O){ba=R;ta=Q;while(1){ca=rc(c[ta>>2]|0)|0;do{if(ca>>>0<65536>>>0){if(ca>>>0<128>>>0){a[ba]=ca;Ka=ba+1|0;break}if(ca>>>0<2048>>>0){a[ba]=ca>>>6|192;a[ba+1|0]=ca&63|128;Ka=ba+2|0;break}else{a[ba]=ca>>>12|224;a[ba+1|0]=ca>>>6&63|128;a[ba+2|0]=ca&63|128;Ka=ba+3|0;break}}else{a[ba]=ca>>>18|240;a[ba+1|0]=ca>>>12&63|128;a[ba+2|0]=ca>>>6&63|128;a[ba+3|0]=ca&63|128;Ka=ba+4|0}}while(0);ca=ta+4|0;if(ca>>>0>>0){ba=Ka;ta=ca}else{La=Ka;break}}}else{La=R}if((La|0)==(R+N|0)){da=N;ea=R;fa=6;break}yc(17632,19576,1371,22720)}}while(0);if((q|0)==162){c[d+8>>2]=0;c[d>>2]=3;c[d+4>>2]=0;i=n;return}if(m){if((ea|0)!=(g|0)&p){ad[c[12144]&2047](g)}ew(o,ea,da,c[f>>2]|0,j);c[o+8>>2]=fa;q=168}else{ew(o,ea,da,c[f>>2]|0,j);c[o+8>>2]=fa;if((ea|0)!=(g|0)){q=168}}if((q|0)==168){c[f+4>>2]=ea}ea=d;d=o;c[ea>>2]=c[d>>2];c[ea+4>>2]=c[d+4>>2];c[ea+8>>2]=c[d+8>>2];i=n;return}
-
-
-
-function yI(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;g=i;i=i+8|0;h=g|0;if((b|0)==(d|0)){c[e>>2]=4;j=0;i=g;return j|0}k=nc()|0;l=c[k>>2]|0;c[k>>2]=0;do{if((a[69600]|0)==0){if((Hb(69600)|0)==0){break}c[12914]=eb(2147483647,17576,0)|0}}while(0);m=bc(b|0,h|0,f|0,c[12914]|0)|0;f=M;b=c[k>>2]|0;if((b|0)==0){c[k>>2]=l}if((c[h>>2]|0)!=(d|0)){c[e>>2]=4;j=0;i=g;return j|0}do{if((b|0)==34){c[e>>2]=4;d=0;if((f|0)>(d|0)|(f|0)==(d|0)&m>>>0>0>>>0){j=2147483647}else{break}i=g;return j|0}else{d=-1;if((f|0)<(d|0)|(f|0)==(d|0)&m>>>0<-2147483648>>>0){c[e>>2]=4;break}d=0;if((f|0)>(d|0)|(f|0)==(d|0)&m>>>0>2147483647>>>0){c[e>>2]=4;j=2147483647;i=g;return j|0}else{j=m;i=g;return j|0}}}while(0);j=-2147483648;i=g;return j|0}function zI(a){a=a|0;var b=0,d=0,e=0,f=0;b=a+4|0;d=(c[a>>2]|0)+(c[b+4>>2]|0)|0;a=d;e=c[b>>2]|0;if((e&1|0)==0){f=e;ad[f&2047](a);return}else{f=c[(c[d>>2]|0)+(e-1)>>2]|0;ad[f&2047](a);return}}function AI(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=b+8|0;f=b+4|0;g=c[f>>2]|0;h=c[e>>2]|0;i=g;if(!(h-i>>2>>>0>>0)){j=d;k=g;do{if((k|0)==0){l=0}else{c[k>>2]=0;l=c[f>>2]|0}k=l+4|0;c[f>>2]=k;j=j-1|0;}while((j|0)!=0);return}j=b+16|0;k=b|0;l=c[k>>2]|0;g=i-l>>2;i=g+d|0;if(i>>>0>1073741823>>>0){tG(0)}m=h-l|0;do{if(m>>2>>>0<536870911>>>0){l=m>>1;h=l>>>0>>0?i:l;if((h|0)==0){n=0;o=0;break}l=b+128|0;if(!((a[l]|0)==0&h>>>0<29>>>0)){p=h;q=11;break}a[l]=1;n=j;o=h}else{p=1073741823;q=11}}while(0);if((q|0)==11){n=gK(p<<2)|0;o=p}p=d;d=n+(g<<2)|0;do{if((d|0)==0){r=0}else{c[d>>2]=0;r=d}d=r+4|0;p=p-1|0;}while((p|0)!=0);p=c[k>>2]|0;r=(c[f>>2]|0)-p|0;q=n+(g-(r>>2)<<2)|0;g=p;BK(q|0,g|0,r)|0;c[k>>2]=q;c[f>>2]=d;c[e>>2]=n+(o<<2);if((p|0)==0){return}if((j|0)==(p|0)){a[b+128|0]=0;return}else{iK(g);return}}function BI(a){a=a|0;YA(50868);YA(50856);YA(50844);YA(50832);YA(50820);YA(50808);YA(50796);YA(50784);YA(50772);YA(50760);YA(50748);YA(50736);YA(50724);YA(50712);YA(50700);YA(50688);YA(50676);YA(50664);YA(50652);YA(50640);YA(50628);YA(50616);YA(50604);YA(50592);return}function CI(a){a=a|0;MA(51612);MA(51600);MA(51588);MA(51576);MA(51564);MA(51552);MA(51540);MA(51528);MA(51516);MA(51504);MA(51492);MA(51480);MA(51468);MA(51456);MA(51444);MA(51432);MA(51420);MA(51408);MA(51396);MA(51384);MA(51372);MA(51360);MA(51348);MA(51336);return}function DI(a){a=a|0;YA(50412);YA(50400);YA(50388);YA(50376);YA(50364);YA(50352);YA(50340);YA(50328);YA(50316);YA(50304);YA(50292);YA(50280);YA(50268);YA(50256);YA(50244);YA(50232);YA(50220);YA(50208);YA(50196);YA(50184);YA(50172);YA(50160);YA(50148);YA(50136);return}function EI(a){a=a|0;MA(51156);MA(51144);MA(51132);MA(51120);MA(51108);MA(51096);MA(51084);MA(51072);MA(51060);MA(51048);MA(51036);MA(51024);MA(51012);MA(51e3);MA(50988);MA(50976);MA(50964);MA(50952);MA(50940);MA(50928);MA(50916);MA(50904);MA(50892);MA(50880);return}function FI(a){a=a|0;YA(50580);YA(50568);YA(50556);YA(50544);YA(50532);YA(50520);YA(50508);YA(50496);YA(50484);YA(50472);YA(50460);YA(50448);YA(50436);YA(50424);return}function GI(a){a=a|0;MA(51324);MA(51312);MA(51300);MA(51288);MA(51276);MA(51264);MA(51252);MA(51240);MA(51228);MA(51216);MA(51204);MA(51192);MA(51180);MA(51168);return}function HI(a){a=a|0;var b=0;if((NI(a)|0)!=0){b=1;return b|0}b=(II(a)|0)!=0|0;return b|0}function II(a){a=a|0;var b=0;if(a>>>0<131072>>>0){b=(d[3360+((d[3360+(a>>>8)|0]|0)<<5|a>>>3&31)|0]|0)>>>((a&7)>>>0)&1;return b|0}else{b=a>>>0<196606>>>0|0;return b|0}return 0}function JI(a){a=a|0;return Qb(a|0)|0}function KI(a){a=a|0;var b=0;if(a>>>0<32>>>0|(a-127|0)>>>0<33>>>0|(a-8232|0)>>>0<2>>>0){b=1;return b|0}b=(a-65529|0)>>>0<3>>>0|0;return b|0}function LI(a,b){a=a|0;b=b|0;var c=0;switch(b|0){case 12:{c=UI(a)|0;break};case 8:{c=QI(a)|0;break};case 5:{c=NI(a)|0;break};case 9:{c=RI(a)|0;break};case 11:{c=TI(a)|0;break};case 7:{c=PI(a)|0;break};case 2:{c=II(a)|0;break};case 6:{c=OI(a)|0;break};case 3:{c=JI(a)|0;break};case 10:{c=SI(a)|0;break};case 1:{c=HI(a)|0;break};case 4:{c=KI(a)|0;break};default:{c=0}}return c|0}function MI(b){b=b|0;var c=0,d=0,e=0;c=a[b]|0;a:do{switch(c<<24>>24){case 97:{if((yK(b,8)|0)==0){d=1;break a}if((yK(b,14)|0)==0){d=2}else{e=16}break};case 99:{if((yK(b,26)|0)==0){d=4}else{e=16}break};case 108:{if((yK(b,44)|0)==0){d=7}else{e=16}break};case 98:{if((yK(b,20)|0)==0){d=3}else{e=16}break};case 117:{e=14;break};case 100:{if((yK(b,32)|0)==0){d=5}else{e=16}break};case 115:{e=13;break};case 103:{if((yK(b,38)|0)==0){d=6}else{e=16}break};case 120:{e=15;break};case 112:{if((yK(b,50)|0)==0){d=8;break a}if((yK(b,56)|0)==0){d=9;break a}if((c<<24>>24|0)==117){e=14}else if((c<<24>>24|0)==115){e=13}else if((c<<24>>24|0)==120){e=15}else{e=16}break};default:{e=16}}}while(0);if((e|0)==13){if((yK(b,62)|0)==0){d=10}else{e=16}}else if((e|0)==14){if((yK(b,68)|0)==0){d=11}else{e=16}}else if((e|0)==15){if((yK(b,74)|0)==0){d=12}else{e=16}}if((e|0)==16){d=0}return d|0}function NI(a){a=a|0;return(a-48|0)>>>0<10>>>0|0}function OI(a){a=a|0;var b=0;if((SI(a)|0)!=0){b=0;return b|0}b=(QI(a)|0)!=0|0;return b|0}function PI(a){a=a|0;var b=0;if((VI(a)|0)!=(a|0)){b=1;return b|0}b=(a|0)==223|0;return b|0}function QI(a){a=a|0;var b=0;if(a>>>0<255>>>0){b=(a+1&127)>>>0>32>>>0|0;return b|0}if(a>>>0<8232>>>0|(a-8234|0)>>>0<47062>>>0|(a-57344|0)>>>0<8185>>>0){b=1;return b|0}else{return((a-65532|0)>>>0>1048579>>>0|(a&65534|0)==65534)&1^1|0}return 0}function RI(a){a=a|0;var b=0;if(!(a>>>0<131072>>>0)){b=0;return b|0}b=(d[192+((d[192+(a>>>8)|0]|0)<<5|a>>>3&31)|0]|0)>>>((a&7)>>>0)&1;return b|0}function SI(a){a=a|0;return(xJ(6832,a)|0)!=0|0}function TI(a){a=a|0;return(XI(a)|0)!=(a|0)|0}function UI(a){a=a|0;var b=0;if((a-48|0)>>>0<10>>>0){b=1;return b|0}b=((a|32)-97|0)>>>0<6>>>0|0;return b|0}function VI(a){a=a|0;return WI(a,0)|0}function WI(c,f){c=c|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=(f<<1)-1|0;h=f-1|0;if((II(c)|0)==0|(c-1536|0)>>>0<2560>>>0|(c-11776|0)>>>0<30784>>>0|(c-43008|0)>>>0<22272>>>0){i=c;return i|0}do{if((f|0)==0){if(!((c-11520|0)>>>0<38>>>0)){j=0;break}i=c-7264|0;return i|0}else{if(!((c-4256|0)>>>0<46>>>0)){j=0;break}do{if((c|0)>4293){if((c|0)==4301|(c|0)==4295){break}else{i=c}return i|0}}while(0);i=c+7264|0;return i|0}}while(0);while(1){if((j|0)==61){break}k=a[6962+(j<<2)|0]|0;l=k<<24>>24;m=c-(e[6960+(j<<2)>>1]|0)|0;if((m-(l&h)|0)>>>0<(d[6963+(j<<2)|0]|0)>>>0){n=12;break}else{j=j+1|0}}if((n|0)==12){if(k<<24>>24==1){i=f+c-(m&1)|0;return i|0}else{i=(ia(l,g)|0)+c|0;return i|0}}g=1-f|0;l=0;while(1){m=b[6336+(l<<2)+(g<<1)>>1]|0;if(m<<16>>16==0){break}if((m&65535|0)==(c|0)){n=17;break}else{l=l+1|0}}if((n|0)==17){i=e[6336+(l<<2)+(f<<1)>>1]|0;return i|0}if(!((c-66600+(f*40|0)|0)>>>0<40>>>0)){i=c;return i|0}i=c-40+(f*80|0)|0;return i|0}function XI(a){a=a|0;return WI(a,1)|0}function YI(a,b){a=+a;b=b|0;return+(+sK(a,b))}function ZI(a,b,c){a=a|0;b=b|0;c=c|0;return _I(0,a,b,(c|0)!=0?c:49616)|0}function _I(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;g=i;i=i+8|0;h=g|0;c[h>>2]=b;j=((f|0)==0?49608:f)|0;f=c[j>>2]|0;a:do{if((d|0)==0){if((f|0)==0){k=0}else{break}i=g;return k|0}else{if((b|0)==0){l=h;c[h>>2]=l;m=l}else{m=b}if((e|0)==0){k=-2;i=g;return k|0}do{if((f|0)==0){l=a[d]|0;n=l&255;if(l<<24>>24>-1){c[m>>2]=n;k=l<<24>>24!=0|0;i=g;return k|0}else{l=n-194|0;if(l>>>0>50>>>0){break a}o=d+1|0;p=c[24800+(l<<2)>>2]|0;q=e-1|0;break}}else{o=d;p=f;q=e}}while(0);b:do{if((q|0)==0){r=p}else{l=a[o]|0;n=(l&255)>>>3;if((n-16|n+(p>>26))>>>0>7>>>0){break a}else{s=o;t=p;u=q;v=l}while(1){s=s+1|0;t=(v&255)-128|t<<6;u=u-1|0;if((t|0)>=0){break}if((u|0)==0){r=t;break b}v=a[s]|0;if(((v&255)-128|0)>>>0>63>>>0){break a}}c[j>>2]=0;c[m>>2]=t;k=e-u|0;i=g;return k|0}}while(0);c[j>>2]=r;k=-2;i=g;return k|0}}while(0);c[j>>2]=0;c[(nc()|0)>>2]=84;k=-1;i=g;return k|0}function $I(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,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;g=i;i=i+1032|0;h=g|0;j=g+1024|0;k=c[b>>2]|0;c[j>>2]=k;l=(a|0)!=0;m=l?e:256;e=l?a:h|0;a:do{if((k|0)==0|(m|0)==0){n=0;o=d;p=m;q=e;r=k}else{a=h|0;s=m;t=d;u=0;v=e;w=k;while(1){x=t>>>2;y=x>>>0>=s>>>0;if(!(y|t>>>0>131>>>0)){n=u;o=t;p=s;q=v;r=w;break a}z=y?s:x;A=t-z|0;x=aJ(v,j,z,f)|0;if((x|0)==-1){break}if((v|0)==(a|0)){B=a;C=s}else{B=v+(x<<2)|0;C=s-x|0}z=x+u|0;x=c[j>>2]|0;if((x|0)==0|(C|0)==0){n=z;o=A;p=C;q=B;r=x;break a}else{s=C;t=A;u=z;v=B;w=x}}n=-1;o=A;p=0;q=v;r=c[j>>2]|0}}while(0);b:do{if((r|0)==0){D=n}else{if((p|0)==0|(o|0)==0){D=n;break}else{E=p;F=o;G=n;H=q;I=r}while(1){J=_I(H,I,F,f)|0;if((J+2|0)>>>0<3>>>0){break}A=(c[j>>2]|0)+J|0;c[j>>2]=A;B=E-1|0;C=G+1|0;if((B|0)==0|(F|0)==(J|0)){D=C;break b}else{E=B;F=F-J|0;G=C;H=H+4|0;I=A}}if((J|0)==(-1|0)){D=-1;break}else if((J|0)==0){c[j>>2]=0;D=G;break}else{c[f>>2]=0;D=G;break}}}while(0);if(!l){i=g;return D|0}c[b>>2]=c[j>>2];i=g;return D|0}function aJ(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,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;h=c[e>>2]|0;do{if((g|0)==0){i=5}else{j=g|0;k=c[j>>2]|0;if((k|0)==0){i=5;break}if((b|0)==0){l=k;m=h;n=f;i=16;break}c[j>>2]=0;o=k;p=h;q=b;r=f;i=36}}while(0);if((i|0)==5){if((b|0)==0){s=h;t=f;i=7}else{u=h;v=b;w=f;i=6}}a:while(1){if((i|0)==6){i=0;if((w|0)==0){x=f;i=53;break}else{y=w;z=v;A=u}while(1){h=a[A]|0;do{if(((h&255)-1|0)>>>0<127>>>0){if((A&3|0)==0&y>>>0>3>>>0){B=y;C=z;D=A}else{E=A;F=z;G=y;H=h;break}while(1){I=c[D>>2]|0;if(((I-16843009|I)&-2139062144|0)!=0){i=30;break}c[C>>2]=I&255;c[C+4>>2]=d[D+1|0]|0;c[C+8>>2]=d[D+2|0]|0;J=D+4|0;K=C+16|0;c[C+12>>2]=d[D+3|0]|0;L=B-4|0;if(L>>>0>3>>>0){B=L;C=K;D=J}else{i=31;break}}if((i|0)==30){i=0;E=D;F=C;G=B;H=I&255;break}else if((i|0)==31){i=0;E=J;F=K;G=L;H=a[J]|0;break}}else{E=A;F=z;G=y;H=h}}while(0);M=H&255;if(!((M-1|0)>>>0<127>>>0)){break}c[F>>2]=M;h=G-1|0;if((h|0)==0){x=f;i=53;break a}else{y=h;z=F+4|0;A=E+1|0}}h=M-194|0;if(h>>>0>50>>>0){N=G;O=F;P=E;i=47;break}o=c[24800+(h<<2)>>2]|0;p=E+1|0;q=F;r=G;i=36;continue}else if((i|0)==7){i=0;h=a[s]|0;do{if(((h&255)-1|0)>>>0<127>>>0){if((s&3|0)!=0){Q=s;R=t;S=h;break}g=c[s>>2]|0;if(((g-16843009|g)&-2139062144|0)==0){T=t;U=s}else{Q=s;R=t;S=g&255;break}do{U=U+4|0;T=T-4|0;V=c[U>>2]|0;}while(((V-16843009|V)&-2139062144|0)==0);Q=U;R=T;S=V&255}else{Q=s;R=t;S=h}}while(0);h=S&255;if((h-1|0)>>>0<127>>>0){s=Q+1|0;t=R-1|0;i=7;continue}g=h-194|0;if(g>>>0>50>>>0){N=R;O=b;P=Q;i=47;break}l=c[24800+(g<<2)>>2]|0;m=Q+1|0;n=R;i=16;continue}else if((i|0)==16){i=0;g=(d[m]|0)>>>3;if((g-16|g+(l>>26))>>>0>7>>>0){i=17;break}g=m+1|0;do{if((l&33554432|0)==0){W=g}else{if(((d[g]|0)-128|0)>>>0>63>>>0){i=20;break a}h=m+2|0;if((l&524288|0)==0){W=h;break}if(((d[h]|0)-128|0)>>>0>63>>>0){i=23;break a}W=m+3|0}}while(0);s=W;t=n-1|0;i=7;continue}else if((i|0)==36){i=0;g=d[p]|0;h=g>>>3;if((h-16|h+(o>>26))>>>0>7>>>0){i=37;break}h=p+1|0;X=g-128|o<<6;do{if((X|0)<0){g=(d[h]|0)-128|0;if(g>>>0>63>>>0){i=40;break a}k=p+2|0;Y=g|X<<6;if((Y|0)>=0){Z=Y;_=k;break}g=(d[k]|0)-128|0;if(g>>>0>63>>>0){i=43;break a}Z=g|Y<<6;_=p+3|0}else{Z=X;_=h}}while(0);c[q>>2]=Z;u=_;v=q+4|0;w=r-1|0;i=6;continue}}if((i|0)==17){$=l;aa=m-1|0;ba=b;ca=n;i=46}else if((i|0)==20){$=l;aa=m-1|0;ba=b;ca=n;i=46}else if((i|0)==23){$=l;aa=m-1|0;ba=b;ca=n;i=46}else if((i|0)==37){$=o;aa=p-1|0;ba=q;ca=r;i=46}else if((i|0)==40){$=X;aa=p-1|0;ba=q;ca=r;i=46}else if((i|0)==43){$=Y;aa=p-1|0;ba=q;ca=r;i=46}else if((i|0)==53){return x|0}if((i|0)==46){if(($|0)==0){N=ca;O=ba;P=aa;i=47}else{da=ba;ea=aa}}do{if((i|0)==47){if((a[P]|0)!=0){da=O;ea=P;break}if((O|0)!=0){c[O>>2]=0;c[e>>2]=0}x=f-N|0;return x|0}}while(0);c[(nc()|0)>>2]=84;if((da|0)==0){x=-1;return x|0}c[e>>2]=ea;x=-1;return x|0}function bJ(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;g=i;i=i+8|0;h=g|0;c[h>>2]=b;if((e|0)==0){j=0;i=g;return j|0}do{if((f|0)!=0){if((b|0)==0){k=h;c[h>>2]=k;l=k}else{l=b}k=a[e]|0;m=k&255;if(k<<24>>24>-1){c[l>>2]=m;j=k<<24>>24!=0|0;i=g;return j|0}k=m-194|0;if(k>>>0>50>>>0){break}m=e+1|0;n=c[24800+(k<<2)>>2]|0;if(f>>>0<4>>>0){if((n&-2147483648>>>(((f*6|0)-6|0)>>>0)|0)!=0){break}}k=d[m]|0;m=k>>>3;if((m-16|m+(n>>26))>>>0>7>>>0){break}m=k-128|n<<6;if((m|0)>=0){c[l>>2]=m;j=2;i=g;return j|0}n=(d[e+2|0]|0)-128|0;if(n>>>0>63>>>0){break}k=n|m<<6;if((k|0)>=0){c[l>>2]=k;j=3;i=g;return j|0}m=(d[e+3|0]|0)-128|0;if(m>>>0>63>>>0){break}c[l>>2]=m|k<<6;j=4;i=g;return j|0}}while(0);c[(nc()|0)>>2]=84;j=-1;i=g;return j|0}function cJ(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if((b|0)==0){f=1;return f|0}if(d>>>0<128>>>0){a[b]=d;f=1;return f|0}if(d>>>0<2048>>>0){a[b]=d>>>6|192;a[b+1|0]=d&63|128;f=2;return f|0}if(d>>>0<55296>>>0|(d-57344|0)>>>0<8192>>>0){a[b]=d>>>12|224;a[b+1|0]=d>>>6&63|128;a[b+2|0]=d&63|128;f=3;return f|0}if((d-65536|0)>>>0<1048576>>>0){a[b]=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;return f|0}else{c[(nc()|0)>>2]=84;f=-1;return f|0}return 0}function dJ(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,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=i;i=i+264|0;g=f|0;h=f+256|0;j=c[b>>2]|0;c[h>>2]=j;k=(a|0)!=0;l=k?e:256;e=k?a:g|0;a:do{if((j|0)==0|(l|0)==0){m=0;n=d;o=l;p=e;q=j}else{a=g|0;r=l;s=d;t=0;u=e;v=j;while(1){w=s>>>0>=r>>>0;if(!(w|s>>>0>32>>>0)){m=t;n=s;o=r;p=u;q=v;break a}x=w?r:s;y=s-x|0;w=eJ(u,h,x,0)|0;if((w|0)==-1){break}if((u|0)==(a|0)){z=a;A=r}else{z=u+w|0;A=r-w|0}x=w+t|0;w=c[h>>2]|0;if((w|0)==0|(A|0)==0){m=x;n=y;o=A;p=z;q=w;break a}else{r=A;s=y;t=x;u=z;v=w}}m=-1;n=y;o=0;p=u;q=c[h>>2]|0}}while(0);b:do{if((q|0)==0){B=m}else{if((o|0)==0|(n|0)==0){B=m;break}else{C=o;D=n;E=m;F=p;G=q}while(1){H=cJ(F,c[G>>2]|0,0)|0;if((H+1|0)>>>0<2>>>0){break}y=(c[h>>2]|0)+4|0;c[h>>2]=y;z=D-1|0;A=E+1|0;if((C|0)==(H|0)|(z|0)==0){B=A;break b}else{C=C-H|0;D=z;E=A;F=F+H|0;G=y}}if((H|0)!=0){B=-1;break}c[h>>2]=0;B=E}}while(0);if(!k){i=f;return B|0}c[b>>2]=c[h>>2];i=f;return B|0}function eJ(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;f=i;i=i+8|0;g=f|0;if((b|0)==0){h=c[d>>2]|0;j=g|0;k=c[h>>2]|0;if((k|0)==0){l=0;i=f;return l|0}else{m=0;n=h;o=k}while(1){if(o>>>0>127>>>0){k=cJ(j,o,0)|0;if((k|0)==-1){l=-1;p=26;break}else{q=k}}else{q=1}k=q+m|0;h=n+4|0;r=c[h>>2]|0;if((r|0)==0){l=k;p=26;break}else{m=k;n=h;o=r}}if((p|0)==26){i=f;return l|0}}a:do{if(e>>>0>3>>>0){o=e;n=b;m=c[d>>2]|0;while(1){q=c[m>>2]|0;if((q|0)==0){s=o;t=n;break a}if(q>>>0>127>>>0){j=cJ(n,q,0)|0;if((j|0)==-1){l=-1;break}u=n+j|0;v=o-j|0;w=m}else{a[n]=q;u=n+1|0;v=o-1|0;w=c[d>>2]|0}q=w+4|0;c[d>>2]=q;if(v>>>0>3>>>0){o=v;n=u;m=q}else{s=v;t=u;break a}}i=f;return l|0}else{s=e;t=b}}while(0);b:do{if((s|0)==0){x=0}else{b=g|0;u=s;v=t;w=c[d>>2]|0;while(1){m=c[w>>2]|0;if((m|0)==0){p=24;break}if(m>>>0>127>>>0){n=cJ(b,m,0)|0;if((n|0)==-1){l=-1;p=26;break}if(n>>>0>u>>>0){p=20;break}cJ(v,c[w>>2]|0,0)|0;y=v+n|0;z=u-n|0;A=w}else{a[v]=m;y=v+1|0;z=u-1|0;A=c[d>>2]|0}m=A+4|0;c[d>>2]=m;if((z|0)==0){x=0;break b}else{u=z;v=y;w=m}}if((p|0)==20){l=e-u|0;i=f;return l|0}else if((p|0)==24){a[v]=0;x=u;break}else if((p|0)==26){i=f;return l|0}}}while(0);c[d>>2]=0;l=e-x|0;i=f;return l|0}function fJ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,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,Ia=0;e=i;i=i+104|0;f=e|0;g=e+8|0;h=e+16|0;j=e+24|0;k=e+32|0;l=e+40|0;m=e+48|0;n=e+56|0;o=aK(20)|0;p=o;if((o|0)==0){q=12;i=e;return q|0}r=aK(2048)|0;c[o+16>>2]=r;if((r|0)==0){bK(o);q=12;i=e;return q|0}c[o>>2]=512;c[o+4>>2]=10240;c[o+8>>2]=128;c[o+12>>2]=0;s=uJ(0,0)|0;if((s|0)==0){bK(r);bK(o);q=12;i=e;return q|0}DK(n|0,0,44)|0;c[n>>2]=s;c[n+4>>2]=p;c[n+12>>2]=b;c[n+36>>2]=d;b=n+28|0;c[b>>2]=-1;r=gJ(n)|0;a:do{if((r|0)==0){t=n+20|0;u=c[t>>2]|0;v=u-1|0;c[a>>2]=v;w=c[n+8>>2]|0;x=c[b>>2]|0;if((x|0)>-1){if((c[n+32>>2]|0)!=0){y=2;z=0;A=0;B=0;break}}if((x|0)>(v|0)){y=6;z=0;A=0;B=0;break}v=cK(1,68)|0;C=v;if((v|0)==0){y=12;z=C;A=0;B=0;break}D=x>>>31;c[v+60>>2]=D^1;c[v+64>>2]=c[n+32>>2];c[v+28>>2]=u;if((D|0)==1){if((d&8|0)==0){E=13}else{F=0}}else{E=13}if((E|0)==13){D=hJ(0,p,w,C)|0;if((D|0)!=0){y=D;z=C;A=0;B=0;break}D=c[v+40>>2]|0;if((D|0)>0){u=(D<<2)+4|0;x=aK(u)|0;G=x;if((x|0)==0){y=12;z=C;A=0;B=0;break}c[v+32>>2]=G;DK(x|0,-1|0,u|0)|0;H=G}else{H=0}G=cK(D<<1|1,4)|0;c[v+36>>2]=G;if((G|0)==0){y=12;z=C;A=0;B=0;break}G=cK(c[t>>2]|0,12)|0;if((G|0)==0){y=12;z=C;A=0;B=0;break}c[v+16>>2]=G;G=hJ(s,p,w,C)|0;if((G|0)==0){F=H}else{y=G;z=C;A=0;B=0;break}}G=n+24|0;t=o+12|0;D=c[t>>2]|0;c[h>>2]=0;c[j>>2]=0;u=nJ(p,w)|0;b:do{if((u|0)==0){x=nJ(p,0)|0;if((x|0)!=0){I=x;break}x=o+16|0;J=c[t>>2]|0;c:do{if((J|0)>(D|0)){K=0;L=0;M=0;N=J;d:while(1){O=N-1|0;c[t>>2]=O;P=c[x>>2]|0;Q=c[P+(O<<2)>>2]|0;O=N-2|0;c[t>>2]=O;R=c[P+(O<<2)>>2]|0;do{if((Q|0)==1){O=R+4|0;S=c[O>>2]|0;T=N-3|0;c[t>>2]=T;U=c[P+(T<<2)>>2]|0;c[h>>2]=U;T=S+4|0;V=c[T>>2]|0;do{if((V|0)>1){c[k>>2]=0;W=S;E=51}else{if((c[S+8>>2]|0)<=1){X=U;break}c[k>>2]=0;Y=S;if((V|0)>0){W=Y;E=51}else{Z=V;_=0;$=U;aa=Y;E=60}}}while(0);e:do{if((E|0)==51){E=0;Y=V;ba=0;ca=1;da=U;while(1){ea=oJ(s,p,c[W>>2]|0,(ca|0)<(Y|0)?1:2,h,F,l,j)|0;if((ea|0)!=0){I=ea;break b}ea=c[l>>2]|0;if((ba|0)==0){fa=ea}else{ga=wJ(s,0,0,1,32)|0;if((ga|0)==0){I=12;break b}ha=wJ(s,0,0,1,8)|0;ia=ga+4|0;c[ia>>2]=ha;if((ha|0)==0){I=12;break b}c[ga>>2]=1;c[ga+8>>2]=-1;c[ga+12>>2]=-1;c[ha>>2]=ba;c[(c[ia>>2]|0)+4>>2]=ea;c[ga+16>>2]=(c[ea+16>>2]|0)+(c[ba+16>>2]|0);fa=ga}if((fa|0)==0){I=12;break b}ga=c[T>>2]|0;if((ca|0)>=(ga|0)){Z=ga;_=fa;$=da;aa=W;E=60;break e}Y=ga;ba=fa;ca=ca+1|0;da=c[h>>2]|0}}}while(0);if((E|0)==60){E=0;T=S+8|0;V=c[T>>2]|0;do{if((V|0)==-1){da=c[h>>2]|0;ca=oJ(s,p,c[aa>>2]|0,0,h,0,k,j)|0;if((ca|0)!=0){I=ca;break b}ca=c[k>>2]|0;ba=wJ(s,0,0,1,32)|0;Y=ba;if((ba|0)==0){E=65;break d}ga=wJ(s,0,0,1,16)|0;c[ba+4>>2]=ga;if((ga|0)==0){E=65;break d}c[ba>>2]=2;c[ba+8>>2]=-1;c[ba+12>>2]=-1;c[ga>>2]=ca;c[ga+4>>2]=0;c[ga+8>>2]=-1;ea=ga+12|0;c[ea>>2]=c[ea>>2]&-2;c[ba+16>>2]=c[ca+16>>2];c[k>>2]=Y;ja=da;ka=Y}else{if((Z|0)<(V|0)){la=0;ma=Z}else{ja=$;ka=0;break}while(1){Y=c[h>>2]|0;da=oJ(s,p,c[aa>>2]|0,0,h,0,m,j)|0;if((da|0)!=0){I=da;break b}da=c[m>>2]|0;if((la|0)==0){na=da}else{ca=wJ(s,0,0,1,32)|0;if((ca|0)==0){E=72;break d}ba=wJ(s,0,0,1,8)|0;ea=ca+4|0;c[ea>>2]=ba;if((ba|0)==0){E=72;break d}c[ca>>2]=1;c[ca+8>>2]=-1;c[ca+12>>2]=-1;c[ba>>2]=da;c[(c[ea>>2]|0)+4>>2]=la;c[ca+16>>2]=(c[la+16>>2]|0)+(c[da+16>>2]|0);na=ca}c[k>>2]=na;if((na|0)==0){I=12;break b}ca=wJ(s,0,0,1,32)|0;if((ca|0)==0){I=12;break b}da=wJ(s,0,0,1,20)|0;c[ca+4>>2]=da;if((da|0)==0){I=12;break b}c[ca>>2]=0;c[ca+8>>2]=-1;c[ca+12>>2]=-1;c[da>>2]=-1;c[da+4>>2]=-1;c[da+8>>2]=-1;da=wJ(s,0,0,1,32)|0;ea=da;if((da|0)==0){E=78;break d}ba=wJ(s,0,0,1,8)|0;ga=da+4|0;c[ga>>2]=ba;if((ba|0)==0){E=78;break d}c[da>>2]=3;c[da+8>>2]=-1;c[da+12>>2]=-1;c[ba>>2]=ca;c[(c[ga>>2]|0)+4>>2]=na;c[da+16>>2]=(c[na+16>>2]|0)+(c[ca+16>>2]|0);c[k>>2]=ea;ca=ma+1|0;if((ca|0)<(c[T>>2]|0)){la=ea;ma=ca}else{ja=Y;ka=ea;break}}}}while(0);c[h>>2]=ja;do{if((_|0)==0){oa=ka;E=85}else{if((ka|0)==0){pa=_;break}T=wJ(s,0,0,1,32)|0;if((T|0)==0){I=12;break b}V=wJ(s,0,0,1,8)|0;S=T+4|0;c[S>>2]=V;if((V|0)==0){I=12;break b}c[T>>2]=1;c[T+8>>2]=-1;c[T+12>>2]=-1;c[V>>2]=_;c[(c[S>>2]|0)+4>>2]=ka;c[T+16>>2]=(c[ka+16>>2]|0)+(c[_+16>>2]|0);oa=T;E=85}}while(0);if((E|0)==85){E=0;if((oa|0)==0){I=12;break b}else{pa=oa}}c[O>>2]=c[pa+4>>2];c[R>>2]=c[pa>>2];X=ja}T=M-1|0;S=X-U+L|0;if((T|0)!=0){qa=T;ra=S;sa=X;break}c[h>>2]=S;qa=0;ra=S;sa=S}else if((Q|0)==0){S=c[R>>2]|0;if((S|0)==0){T=c[R+4>>2]|0;V=c[T>>2]|0;if(!((V|0)>-1|(V|0)==-4)){qa=M;ra=L;sa=K;break}V=T+8|0;T=(c[V>>2]|0)+K|0;c[V>>2]=T;if((T|0)<=(c[j>>2]|0)){qa=M;ra=L;sa=K;break}c[j>>2]=T;qa=M;ra=L;sa=K;break}else if((S|0)==1){T=c[R+4>>2]|0;V=nJ(p,c[T+4>>2]|0)|0;if((V|0)!=0){ta=V;ua=L;break c}V=nJ(p,0)|0;if((V|0)!=0){ta=V;ua=L;break c}V=nJ(p,c[T>>2]|0)|0;if((V|0)!=0){ta=V;ua=L;break c}va=nJ(p,0)|0}else if((S|0)==2){V=c[R+4>>2]|0;T=nJ(p,K)|0;if((T|0)!=0){ta=T;ua=L;break c}T=nJ(p,R)|0;if((T|0)!=0){ta=T;ua=L;break c}T=nJ(p,1)|0;if((T|0)!=0){ta=T;ua=L;break c}T=nJ(p,c[V>>2]|0)|0;if((T|0)!=0){ta=T;ua=L;break c}T=nJ(p,0)|0;if((T|0)!=0){ta=T;ua=L;break c}if((c[V+4>>2]|0)>1){E=45}else{if((c[V+8>>2]|0)>1){E=45}else{wa=K}}if((E|0)==45){E=0;c[h>>2]=0;wa=0}qa=M+1|0;ra=L;sa=wa;break}else if((S|0)==3){S=c[R+4>>2]|0;V=nJ(p,c[S+4>>2]|0)|0;if((V|0)!=0){ta=V;ua=L;break c}V=nJ(p,0)|0;if((V|0)!=0){ta=V;ua=L;break c}V=nJ(p,c[S>>2]|0)|0;if((V|0)!=0){ta=V;ua=L;break c}va=nJ(p,0)|0}else{qa=M;ra=L;sa=K;break}if((va|0)==0){qa=M;ra=L;sa=K}else{ta=va;ua=L;break c}}else{qa=M;ra=L;sa=K}}while(0);R=c[t>>2]|0;if((R|0)>(D|0)){K=sa;L=ra;M=qa;N=R}else{ta=0;ua=ra;break c}}if((E|0)==65){c[k>>2]=0;I=12;break b}else if((E|0)==72){c[k>>2]=0;I=12;break b}else if((E|0)==78){c[k>>2]=0;I=12;break b}}else{ta=0;ua=0}}while(0);x=(c[G>>2]|0)+ua|0;c[G>>2]=x;J=c[j>>2]|0;if((J|0)<=(x|0)){I=ta;break}c[G>>2]=J;I=ta}else{I=u}}while(0);if((I|0)!=0){y=I;z=C;A=0;B=0;break}u=c[G>>2]|0;c[G>>2]=u+1;D=wJ(s,0,0,1,32)|0;if((D|0)==0){y=12;z=C;A=0;B=0;break}J=wJ(s,0,0,1,20)|0;c[D+4>>2]=J;if((J|0)==0){y=12;z=C;A=0;B=0;break}c[D>>2]=0;c[D+8>>2]=-1;c[D+12>>2]=-1;c[J>>2]=0;c[J+4>>2]=0;c[J+8>>2]=u;u=wJ(s,0,0,1,32)|0;J=u;if((u|0)==0){y=12;z=C;A=0;B=0;break}x=wJ(s,0,0,1,8)|0;N=u+4|0;c[N>>2]=x;if((x|0)==0){y=12;z=C;A=0;B=0;break}c[u>>2]=1;c[u+8>>2]=-1;c[u+12>>2]=-1;c[x>>2]=w;c[(c[N>>2]|0)+4>>2]=D;c[u+16>>2]=(c[D+16>>2]|0)+(c[w+16>>2]|0);D=c[t>>2]|0;N=nJ(p,u)|0;if((N|0)!=0){y=N;z=C;A=0;B=0;break}N=nJ(p,0)|0;if((N|0)!=0){y=N;z=C;A=0;B=0;break}N=c[t>>2]|0;f:do{if((N|0)>(D|0)){x=o+16|0;M=N;g:while(1){L=M-1|0;c[t>>2]=L;K=c[x>>2]|0;R=c[K+(L<<2)>>2]|0;L=M-2|0;c[t>>2]=L;xa=c[K+(L<<2)>>2]|0;do{if((R|0)==0){L=c[xa>>2]|0;if((L|0)==0){K=c[xa+4>>2]|0;Q=K;P=c[Q>>2]|0;if((P|0)==-4){c[xa+8>>2]=0;V=K+8|0;S=c[V>>2]|0;T=wJ(s,0,0,1,64)|0;if((T|0)==0){E=105;break g}c[T>>2]=S;c[T+4>>2]=0;c[T+8>>2]=1114111;c[T+20>>2]=0;c[T+24>>2]=0;DK(T+28|0,-1|0,16)|0;c[xa+24>>2]=T;T=c[V>>2]|0;V=c[K+4>>2]|0;S=wJ(s,0,0,1,64)|0;if((S|0)==0){E=107;break g}c[S>>2]=T;c[S+4>>2]=0;c[S+8>>2]=1114111;c[S+20>>2]=0;c[S+24>>2]=0;c[S+28>>2]=V;c[S+32>>2]=-1;c[S+36>>2]=-1;c[S+40>>2]=-1;c[xa+28>>2]=S;break}S=xa+8|0;if((P|0)<0){c[S>>2]=1;V=wJ(s,0,0,1,32)|0;if((V|0)==0){E=111;break g}c[V>>2]=-1;c[V+4>>2]=-1;c[V+8>>2]=-1;c[xa+24>>2]=V;V=wJ(s,0,0,1,32)|0;if((V|0)==0){E=113;break g}c[V>>2]=-1;c[V+4>>2]=-1;c[V+8>>2]=-1;c[xa+28>>2]=V;break}else{c[S>>2]=0;S=K+8|0;V=c[S>>2]|0;T=K+4|0;ea=c[T>>2]|0;Y=wJ(s,0,0,1,64)|0;if((Y|0)==0){E=116;break g}c[Y>>2]=V;c[Y+4>>2]=P;c[Y+8>>2]=ea;c[Y+20>>2]=0;c[Y+24>>2]=0;DK(Y+28|0,-1|0,16)|0;c[xa+24>>2]=Y;Y=c[S>>2]|0;S=c[Q>>2]|0;Q=c[T>>2]|0;T=c[K+12>>2]|0;ea=c[K+16>>2]|0;K=wJ(s,0,0,1,64)|0;if((K|0)==0){E=118;break g}c[K>>2]=Y;c[K+4>>2]=S;c[K+8>>2]=Q;c[K+20>>2]=T;c[K+24>>2]=ea;DK(K+28|0,-1|0,16)|0;c[xa+28>>2]=K;break}}else if((L|0)==3){K=nJ(p,xa)|0;if((K|0)!=0){y=K;z=C;A=0;B=0;break a}K=nJ(p,1)|0;if((K|0)!=0){y=K;z=C;A=0;B=0;break a}K=xa+4|0;ea=nJ(p,c[(c[K>>2]|0)+4>>2]|0)|0;if((ea|0)!=0){y=ea;z=C;A=0;B=0;break a}ea=nJ(p,0)|0;if((ea|0)!=0){y=ea;z=C;A=0;B=0;break a}ea=nJ(p,c[c[K>>2]>>2]|0)|0;if((ea|0)!=0){y=ea;z=C;A=0;B=0;break a}ea=nJ(p,0)|0;if((ea|0)==0){break}else{y=ea;z=C;A=0;B=0;break a}}else if((L|0)==2){ea=nJ(p,xa)|0;if((ea|0)!=0){y=ea;z=C;A=0;B=0;break a}ea=nJ(p,3)|0;if((ea|0)!=0){y=ea;z=C;A=0;B=0;break a}ea=nJ(p,c[c[xa+4>>2]>>2]|0)|0;if((ea|0)!=0){y=ea;z=C;A=0;B=0;break a}ea=nJ(p,0)|0;if((ea|0)==0){break}else{y=ea;z=C;A=0;B=0;break a}}else if((L|0)==1){L=nJ(p,xa)|0;if((L|0)!=0){y=L;z=C;A=0;B=0;break a}L=nJ(p,2)|0;if((L|0)!=0){y=L;z=C;A=0;B=0;break a}L=xa+4|0;ea=nJ(p,c[(c[L>>2]|0)+4>>2]|0)|0;if((ea|0)!=0){y=ea;z=C;A=0;B=0;break a}ea=nJ(p,0)|0;if((ea|0)!=0){y=ea;z=C;A=0;B=0;break a}ea=nJ(p,c[c[L>>2]>>2]|0)|0;if((ea|0)!=0){y=ea;z=C;A=0;B=0;break a}ea=nJ(p,0)|0;if((ea|0)==0){break}else{y=ea;z=C;A=0;B=0;break a}}else{break}}else if((R|0)==2){ea=c[xa+4>>2]|0;L=ea;K=c[L>>2]|0;T=K+8|0;if((c[T>>2]|0)==0){ya=0}else{ya=(c[(c[ea+4>>2]|0)+8>>2]|0)!=0|0}c[xa+8>>2]=ya;if((c[T>>2]|0)==0){c[xa+24>>2]=c[K+24>>2];za=ea+4|0}else{T=mJ(p,K,0,0,f)|0;if((T|0)!=0){y=T;z=C;A=0;B=0;break a}Aa=aK((c[f>>2]<<2)+4|0)|0;T=Aa;if((Aa|0)==0){y=12;z=C;A=0;B=0;break a}c[T>>2]=-1;c[g>>2]=0;Ba=mJ(p,c[L>>2]|0,T,g,0)|0;if((Ba|0)!=0){E=151;break g}K=ea+4|0;ea=xa+24|0;c[ea>>2]=lJ(s,c[(c[K>>2]|0)+24>>2]|0,c[(c[L>>2]|0)+24>>2]|0,T,c[g>>2]|0)|0;bK(Aa);if((c[ea>>2]|0)==0){y=12;z=C;A=0;B=0;break a}else{za=K}}K=c[za>>2]|0;if((c[K+8>>2]|0)==0){c[xa+28>>2]=c[K+28>>2];break}ea=mJ(p,K,0,0,f)|0;if((ea|0)!=0){y=ea;z=C;A=0;B=0;break a}Ca=aK((c[f>>2]<<2)+4|0)|0;ea=Ca;if((Ca|0)==0){y=12;z=C;A=0;B=0;break a}c[ea>>2]=-1;c[g>>2]=0;Da=mJ(p,c[za>>2]|0,ea,g,0)|0;if((Da|0)!=0){E=158;break g}K=xa+28|0;c[K>>2]=lJ(s,c[(c[L>>2]|0)+28>>2]|0,c[(c[za>>2]|0)+28>>2]|0,ea,c[g>>2]|0)|0;bK(Ca);if((c[K>>2]|0)==0){y=12;z=C;A=0;B=0;break a}}else if((R|0)==1){K=c[xa+4>>2]|0;ea=K;L=c[ea>>2]|0;T=K+4|0;K=c[T>>2]|0;if((c[L+8>>2]|0)==0){Ea=(c[K+8>>2]|0)!=0|0}else{Ea=1}c[xa+8>>2]=Ea;Q=lJ(s,c[L+24>>2]|0,c[K+24>>2]|0,0,0)|0;c[xa+24>>2]=Q;if((Q|0)==0){y=12;z=C;A=0;B=0;break a}Q=lJ(s,c[(c[ea>>2]|0)+28>>2]|0,c[(c[T>>2]|0)+28>>2]|0,0,0)|0;c[xa+28>>2]=Q;if((Q|0)==0){y=12;z=C;A=0;B=0;break a}}else if((R|0)==3){Q=c[xa+4>>2]|0;T=Q;ea=c[T>>2]|0;do{if((c[Q+4>>2]|0)==0){E=142}else{if((c[ea+8>>2]|0)!=0){E=142;break}c[xa+8>>2]=0}}while(0);if((E|0)==142){E=0;c[xa+8>>2]=1}c[xa+24>>2]=c[ea+24>>2];c[xa+28>>2]=c[(c[T>>2]|0)+28>>2]}}while(0);M=c[t>>2]|0;if((M|0)<=(D|0)){break f}}if((E|0)==105){c[xa+24>>2]=0;y=12;z=C;A=0;B=0;break a}else if((E|0)==107){c[xa+28>>2]=0;y=12;z=C;A=0;B=0;break a}else if((E|0)==111){c[xa+24>>2]=0;y=12;z=C;A=0;B=0;break a}else if((E|0)==113){c[xa+28>>2]=0;y=12;z=C;A=0;B=0;break a}else if((E|0)==116){c[xa+24>>2]=0;y=12;z=C;A=0;B=0;break a}else if((E|0)==118){c[xa+28>>2]=0;y=12;z=C;A=0;B=0;break a}else if((E|0)==151){bK(Aa);y=Ba;z=C;A=0;B=0;break a}else if((E|0)==158){bK(Ca);y=Da;z=C;A=0;B=0;break a}}}while(0);D=c[G>>2]|0;t=D<<2;N=aK(t)|0;w=N;if((N|0)==0){y=12;z=C;A=w;B=0;break}M=aK(t)|0;t=M;if((M|0)==0){y=12;z=C;A=w;B=t;break}if((D|0)>0){DK(N|0,0,((D|0)>1?D<<2:4)|0)|0}iJ(J,0,w,0)|0;D=c[G>>2]|0;if((D|0)>0){x=0;R=0;while(1){c[t+(x<<2)>>2]=R;Q=w+(x<<2)|0;K=R+1+(c[Q>>2]|0)|0;c[Q>>2]=0;Q=x+1|0;if((Q|0)<(D|0)){x=Q;R=K}else{Fa=K;break}}}else{Fa=0}R=cK(Fa+1|0,32)|0;x=R;if((R|0)==0){y=12;z=C;A=w;B=t;break}c[v>>2]=x;R=v+4|0;c[R>>2]=Fa;D=iJ(J,x,w,t)|0;if((D|0)!=0){y=D;z=C;A=w;B=t;break}c[v+20>>2]=0;D=u+24|0;K=c[D>>2]|0;if((c[K>>2]|0)>-1){Q=1;L=K;while(1){K=L+32|0;S=Q+1|0;if((c[K>>2]|0)>-1){Q=S;L=K}else{Ga=S;break}}}else{Ga=1}L=cK(Ga,32)|0;Q=L;if((L|0)==0){y=12;z=C;A=w;B=t;break}c[v+8>>2]=Q;L=c[D>>2]|0;J=c[L>>2]|0;if((J|0)>-1){S=0;K=L;L=J;while(1){c[Q+(S<<5)+8>>2]=x+(c[t+(L<<2)>>2]<<5);c[Q+(S<<5)+12>>2]=L;J=Q+(S<<5)+16|0;c[J>>2]=0;Y=K+12|0;P=c[Y>>2]|0;if((P|0)!=0){V=0;while(1){Ha=V+1|0;if((c[P+(V<<2)>>2]|0)>-1){V=Ha}else{break}}V=Ha<<2;P=aK(V)|0;c[J>>2]=P;if((P|0)==0){y=12;z=C;A=w;B=t;break a}BK(P|0,c[Y>>2]|0,V)|0}c[Q+(S<<5)+20>>2]=c[K+16>>2];V=S+1|0;P=K+32|0;ca=c[P>>2]|0;if((ca|0)>-1){S=V;K=P;L=ca}else{Ia=V;break}}}else{Ia=0}c[Q+(Ia<<5)+8>>2]=0;c[R>>2]=Fa;c[v+12>>2]=x+(c[t+(c[c[u+28>>2]>>2]<<2)>>2]<<5);c[v+52>>2]=c[G>>2];c[v+56>>2]=d;vJ(s);bK(c[o+16>>2]|0);bK(o);bK(N);bK(M);c[a+4>>2]=v;q=0;i=e;return q|0}else{y=r;z=0;A=0;B=0}}while(0);vJ(s);bK(c[o+16>>2]|0);bK(o);if((A|0)!=0){bK(A)}if((B|0)!=0){bK(B)}c[a+4>>2]=z;jJ(a);q=y;i=e;return q|0}function gJ(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,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,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0;d=i;i=i+424|0;e=d|0;f=d+8|0;g=d+72|0;h=d+328|0;j=d+336|0;k=d+384|0;l=d+392|0;m=c[b+4>>2]|0;n=m+12|0;o=c[n>>2]|0;if((c[b+40>>2]|0)==0){p=b+20|0;nJ(m,c[p>>2]|0)|0;nJ(m,2)|0;c[p>>2]=(c[p>>2]|0)+1}p=nJ(m,0)|0;q=b+12|0;r=b+16|0;c[r>>2]=c[q>>2];s=c[n>>2]|0;t=(p|0)==0;a:do{if((s|0)>(o|0)&t){u=m+16|0;v=b+36|0;w=b|0;x=b+24|0;y=b+20|0;z=g;A=f|0;B=b+28|0;C=l|0;D=k|0;E=k+1|0;F=j;G=b;H=j+12|0;I=j+40|0;J=j+24|0;K=j+8|0;L=0;M=0;N=s;b:while(1){O=N-1|0;c[n>>2]=O;P=c[u>>2]|0;c:do{switch(c[P+(O<<2)>>2]|0){case 9:{Q=c[q>>2]|0;R=a[Q]|0;switch(R<<24>>24|0){case 123:{S=c[v>>2]|0;if((S&1|0)==0){T=0;U=M;V=L;break c}else{W=Q;X=S}break};case 92:{S=c[v>>2]|0;if((S&1|0)!=0){T=0;U=M;V=L;break c}Y=Q+1|0;if((a[Y]|0)!=123){T=0;U=M;V=L;break c}c[q>>2]=Y;W=Y;X=S;break};case 43:case 63:{if((c[v>>2]&1|0)==0){T=0;U=M;V=L;break c}else{Z=41}break};case 42:{Z=41;break};default:{T=0;U=M;V=L;break c}}if((Z|0)==41){Z=0;c[q>>2]=Q+1;Q=c[w>>2]|0;S=wJ(Q,0,0,1,32)|0;if((S|0)==0){_=12;Z=293;break b}Y=wJ(Q,0,0,1,16)|0;c[S+4>>2]=Y;if((Y|0)==0){_=12;Z=293;break b}c[S>>2]=2;c[S+8>>2]=-1;c[S+12>>2]=-1;c[Y>>2]=L;c[Y+4>>2]=R<<24>>24==43;c[Y+8>>2]=R<<24>>24==63?1:-1;R=Y+12|0;c[R>>2]=c[R>>2]&-2;c[S+16>>2]=c[L+16>>2];T=nJ(m,9)|0;U=M;V=S;break c}S=W+1|0;c[q>>2]=S;R=a[S]|0;if((R-48&255)>>>0<10>>>0){Y=R<<24>>24;if((Y-48|0)>>>0<10>>>0){$=-1;aa=S;ba=Y}else{_=10;Z=293;break b}while(1){Y=(($|0)<0?-48:($*10|0)-48|0)+ba|0;Q=aa+1|0;ca=a[Q]|0;da=ca<<24>>24;if((da-48|0)>>>0<10>>>0){$=Y;aa=Q;ba=da}else{ea=Y;fa=Q;ga=ca;break}}}else{ea=-1;fa=S;ga=R}do{if(ga<<24>>24==44){ca=fa+1|0;Q=a[ca]|0;Y=Q<<24>>24;if((Y-48|0)>>>0<10>>>0){ha=-1;ia=ca;ja=Y}else{ka=ca;la=-1;ma=Q;break}while(1){Q=((ha|0)<0?-48:(ha*10|0)-48|0)+ja|0;ca=ia+1|0;Y=a[ca]|0;da=Y<<24>>24;if((da-48|0)>>>0<10>>>0){ha=Q;ia=ca;ja=da}else{na=Q;oa=ca;pa=Y;Z=54;break}}}else{na=ea;oa=fa;pa=ga;Z=54}}while(0);do{if((Z|0)==54){Z=0;if(!((na|0)>-1)){ka=oa;la=na;ma=pa;break}if((ea|0)>(na|0)|(na|0)>255){_=10;Z=293;break b}else{ka=oa;la=na;ma=pa}}}while(0);if(ma<<24>>24==0){_=9;Z=293;break b}if((ka|0)==(S|0)){_=10;Z=293;break b}if((X&1|0)==0){if(!(ma<<24>>24==92)){_=10;Z=293;break b}if((a[ka+1|0]|0)!=125){_=10;Z=293;break b}qa=ka+2|0}else{if(!(ma<<24>>24==125)){_=10;Z=293;break b}qa=ka+1|0}if((la|ea|0)==0){R=c[w>>2]|0;Y=wJ(R,0,0,1,32)|0;if((Y|0)==0){_=12;Z=293;break b}ca=wJ(R,0,0,1,20)|0;c[Y+4>>2]=ca;if((ca|0)==0){_=12;Z=293;break b}c[Y>>2]=0;c[Y+8>>2]=-1;c[Y+12>>2]=-1;c[ca>>2]=-1;c[ca+4>>2]=-1;c[ca+8>>2]=-1;ra=Y}else{Y=(la&ea|0)<0;ca=c[w>>2]|0;R=wJ(ca,0,0,1,32)|0;if((R|0)==0){_=12;Z=293;break b}Q=wJ(ca,0,0,1,16)|0;c[R+4>>2]=Q;if((Q|0)==0){_=12;Z=293;break b}c[R>>2]=2;c[R+8>>2]=-1;c[R+12>>2]=-1;c[Q>>2]=L;c[Q+4>>2]=Y?1:ea;c[Q+8>>2]=Y?1:la;Y=Q+12|0;c[Y>>2]=c[Y>>2]&-2;c[R+16>>2]=c[L+16>>2];ra=R}c[q>>2]=qa;T=nJ(m,9)|0;U=M;V=ra;break};case 7:{R=c[q>>2]|0;Y=a[R]|0;if((Y|0)==41){c[q>>2]=R+1;T=0;U=M;V=L;break c}else if((Y|0)!=124){T=0;U=M;V=L;break c}Y=nJ(m,7)|0;if((Y|0)!=0){sa=Y;ta=M;Z=6;break b}Y=nJ(m,L)|0;if((Y|0)!=0){sa=Y;ta=M;Z=6;break b}Y=nJ(m,8)|0;if((Y|0)!=0){sa=Y;ta=M;Z=6;break b}Y=nJ(m,3)|0;if((Y|0)!=0){sa=Y;ta=M;Z=6;break b}c[q>>2]=(c[q>>2]|0)+1;T=0;U=M;V=L;break};case 5:{Y=c[q>>2]|0;R=a[Y]|0;if(R<<24>>24==0){T=0;U=M;V=L;break c}Q=c[v>>2]&1;ca=(Q|0)!=0;if(ca&R<<24>>24==124){T=0;U=M;V=L;break c}do{if(!(ca&R<<24>>24==41&(M|0)>0)){if((Q|0)==0&R<<24>>24==92){if((a[Y+1|0]|0)==41){break}}da=nJ(m,5)|0;if((da|0)!=0){sa=da;ta=M;Z=6;break b}da=nJ(m,L)|0;if((da|0)!=0){sa=da;ta=M;Z=6;break b}da=nJ(m,6)|0;if((da|0)!=0){sa=da;ta=M;Z=6;break b}T=nJ(m,4)|0;U=M;V=L;break c}}while(0);R=(Q|M|0)==0?8:0;ca=M-1|0;if((Q|0)!=0){T=R;U=ca;V=L;break c}c[q>>2]=Y+2;T=R;U=ca;V=L;break};case 6:{ca=N-2|0;c[n>>2]=ca;R=c[P+(ca<<2)>>2]|0;ca=c[w>>2]|0;S=wJ(ca,0,0,1,32)|0;if((S|0)==0){_=12;Z=293;break b}da=wJ(ca,0,0,1,8)|0;ca=S+4|0;c[ca>>2]=da;if((da|0)==0){_=12;Z=293;break b}c[S>>2]=1;c[S+8>>2]=-1;c[S+12>>2]=-1;c[da>>2]=R;c[(c[ca>>2]|0)+4>>2]=L;c[S+16>>2]=(c[L+16>>2]|0)+(c[R+16>>2]|0);T=0;U=M;V=S;break};case 2:{S=N-2|0;c[n>>2]=S;R=c[P+(S<<2)>>2]|0;if((c[L+12>>2]|0)>-1){S=c[w>>2]|0;ca=wJ(S,0,0,1,32)|0;if((ca|0)==0){_=12;Z=293;break b}da=wJ(S,0,0,1,20)|0;c[ca+4>>2]=da;if((da|0)==0){_=12;Z=293;break b}c[ca>>2]=0;c[ca+8>>2]=-1;c[ca+12>>2]=-1;c[da>>2]=-1;c[da+4>>2]=-1;c[da+8>>2]=-1;da=c[w>>2]|0;S=wJ(da,0,0,1,32)|0;if((S|0)==0){_=12;Z=293;break b}ua=wJ(da,0,0,1,8)|0;da=S+4|0;c[da>>2]=ua;if((ua|0)==0){_=12;Z=293;break b}c[S>>2]=1;c[S+8>>2]=-1;c[S+12>>2]=-1;c[ua>>2]=ca;c[(c[da>>2]|0)+4>>2]=L;da=L+16|0;ua=S+16|0;c[ua>>2]=(c[da>>2]|0)+(c[ca+16>>2]|0);c[ua>>2]=c[da>>2];va=S}else{va=L}c[va+12>>2]=R;R=va+16|0;c[R>>2]=(c[R>>2]|0)+1;T=0;U=M;V=va;break};case 1:{R=c[q>>2]|0;d:do{switch(a[R]|0){case 91:{S=R+1|0;c[q>>2]=S;da=aK(128)|0;if((da|0)==0){_=12;Z=293;break b}if((a[S]|0)==94){ua=R+2|0;c[q>>2]=ua;wa=1;xa=ua}else{wa=0;xa=S}S=(wa|0)==0;ua=xa;ca=32;ya=0;za=0;Aa=da;e:while(1){da=a[ua]|0;if((da<<24>>24|0)==93){if(ua>>>0>(c[q>>2]|0)>>>0){Z=85;break}}else if((da<<24>>24|0)==0){Ba=ua;Ca=7;Da=Aa;Z=140;break}da=bJ(e,ua,-1)|0;if((da|0)<0){c[e>>2]=-1;Ea=1}else{Ea=da}da=ua+Ea|0;do{if((a[da]|0)==45){Fa=Ea+1|0;Ga=ua+Fa|0;if((a[Ga]|0)==93){Z=94;break}Ha=c[e>>2]|0;Ia=bJ(e,Ga,-1)|0;if((Ia|0)<0){c[e>>2]=-1;Ja=1;Ka=-1}else{Ja=Ia;Ka=c[e>>2]|0}La=ua+(Ja+Fa)|0;Ma=Ka;Na=Ha;Oa=Ha>>>0>Ka>>>0?11:0;Pa=0}else{Z=94}}while(0);f:do{if((Z|0)==94){Z=0;Ha=a[ua]|0;do{if((Ha<<24>>24|0)==91){Fa=a[ua+1|0]|0;if((Fa<<24>>24|0)==46|(Fa<<24>>24|0)==61){Ba=ua;Ca=3;Da=Aa;Z=140;break e}else if((Fa<<24>>24|0)!=58){Qa=0;break}Fa=ua+2|0;Ia=Fa;while(1){Ga=a[Ia]|0;Ra=Ga<<24>>24==0;if(Ga<<24>>24!=58&(Ra^1)){Ia=Ia+1|0}else{break}}if(Ra){Ba=ua;Ca=4;Da=Aa;Z=140;break e}Ga=Ia-ua-2|0;Sa=(Ga|0)>63?63:Ga;FK(A|0,Fa|0,Sa|0)|0;a[f+Sa|0]=0;Sa=MI(A)|0;La=Ia+2|0;Ma=1114111;Na=0;Oa=(Sa|0)==0?4:0;Pa=Sa;break f}else if((Ha<<24>>24|0)==45){if((a[ua+1|0]|0)==93){Qa=0;break}Qa=(c[q>>2]|0)==(ua|0)?0:11}else{Qa=0}}while(0);Ha=c[e>>2]|0;La=da;Ma=Ha;Na=Ha;Oa=Qa;Pa=0}}while(0);if((Oa|0)!=0){Ba=La;Ca=Oa;Da=Aa;Z=140;break}da=(Pa|0)!=0;do{if(S|da^1){Ha=c[w>>2]|0;if((ya|0)<(ca|0)){Ta=ca;Va=Aa}else{if((ca|0)>1024){Ba=La;Ca=12;Da=Aa;Z=140;break e}Sa=dK(Aa,ca<<3)|0;if((Sa|0)==0){Ba=La;Ca=12;Da=Aa;Z=140;break e}else{Ta=ca<<1;Va=Sa}}Sa=wJ(Ha,0,0,1,32)|0;if((Sa|0)==0){Z=112;break e}Ga=wJ(Ha,0,0,1,20)|0;Ha=Sa+4|0;c[Ha>>2]=Ga;if((Ga|0)==0){Z=112;break e}c[Sa>>2]=0;c[Sa+8>>2]=-1;c[Sa+12>>2]=-1;c[Ga>>2]=Na;c[Ga+4>>2]=Ma;c[Ga+8>>2]=-1;c[Va+(ya<<2)>>2]=Sa;c[(c[Ha>>2]|0)+12>>2]=Pa;Wa=0;Xa=Ta;Ya=ya+1|0;Za=za;_a=Va}else{if((za|0)>63){Wa=12;Xa=ca;Ya=ya;Za=za;_a=Aa;break}c[g+(za<<2)>>2]=Pa;Wa=0;Xa=ca;Ya=ya;Za=za+1|0;_a=Aa}}while(0);Ha=(Wa|0)==0;if(Ha&(((c[v>>2]&2|0)==0|da)^1)){$a=Na;ab=Xa;bb=Ya;cb=_a}else{if(Ha){ua=La;ca=Xa;ya=Ya;za=Za;Aa=_a;continue}else{Ba=La;Ca=Wa;Da=_a;Z=140;break}}while(1){Ha=$a;while(1){if(Ha>>>0>Ma>>>0){ua=La;ca=ab;ya=bb;za=Za;Aa=cb;continue e}if((PI(Ha)|0)!=0){Z=118;break}db=Ha+1|0;if((TI(Ha)|0)==0){Ha=db}else{Z=129;break}}if((Z|0)==118){Z=0;Sa=VI(Ha)|0;Ga=Ha+1|0;g:do{if((PI(Ga)|0)==0){eb=Sa;fb=Ga}else{gb=Sa;hb=Ga;while(1){if((VI(hb)|0)!=(gb+1|0)|hb>>>0>Ma>>>0){eb=gb;fb=hb;break g}ib=VI(hb)|0;jb=hb+1|0;if((PI(jb)|0)==0){eb=ib;fb=jb;break}else{gb=ib;hb=jb}}}}while(0);Ga=c[w>>2]|0;if((bb|0)<(ab|0)){kb=ab;lb=cb}else{if((ab|0)>1024){Ba=La;Ca=12;Da=cb;Z=140;break e}hb=dK(cb,ab<<3)|0;if((hb|0)==0){Ba=La;Ca=12;Da=cb;Z=140;break e}else{kb=ab<<1;lb=hb}}hb=wJ(Ga,0,0,1,32)|0;gb=hb;do{if((hb|0)==0){mb=0}else{Ia=wJ(Ga,0,0,1,20)|0;c[hb+4>>2]=Ia;if((Ia|0)==0){mb=0;break}c[hb>>2]=0;c[hb+8>>2]=-1;c[hb+12>>2]=-1;c[Ia>>2]=Sa;c[Ia+4>>2]=eb;c[Ia+8>>2]=-1;mb=gb}}while(0);c[lb+(bb<<2)>>2]=mb;nb=fb;ob=kb;pb=mb;qb=lb}else if((Z|0)==129){Z=0;gb=XI(Ha)|0;h:do{if((TI(db)|0)==0){rb=db;sb=gb}else{Sa=db;hb=gb;while(1){if((XI(Sa)|0)!=(hb+1|0)|Sa>>>0>Ma>>>0){rb=Sa;sb=hb;break h}Ga=Sa+1|0;Ia=XI(Sa)|0;if((TI(Ga)|0)==0){rb=Ga;sb=Ia;break}else{Sa=Ga;hb=Ia}}}}while(0);Ha=c[w>>2]|0;if((bb|0)<(ab|0)){tb=ab;ub=cb}else{if((ab|0)>1024){Ba=La;Ca=12;Da=cb;Z=140;break e}hb=dK(cb,ab<<3)|0;if((hb|0)==0){Ba=La;Ca=12;Da=cb;Z=140;break e}else{tb=ab<<1;ub=hb}}hb=wJ(Ha,0,0,1,32)|0;Sa=hb;do{if((hb|0)==0){vb=0}else{Ia=wJ(Ha,0,0,1,20)|0;c[hb+4>>2]=Ia;if((Ia|0)==0){vb=0;break}c[hb>>2]=0;c[hb+8>>2]=-1;c[hb+12>>2]=-1;c[Ia>>2]=gb;c[Ia+4>>2]=sb;c[Ia+8>>2]=-1;vb=Sa}}while(0);c[ub+(bb<<2)>>2]=vb;nb=rb;ob=tb;pb=vb;qb=ub}if((pb|0)==0){Z=141;break e}else{$a=nb;ab=ob;bb=bb+1|0;cb=qb}}}i:do{if((Z|0)==85){Z=0;c[q>>2]=ua+1;ca=(wa|0)!=0;if(ca){cc(Aa|0,ya|0,4,170)}j:do{if((ya|0)>0){S=(za|0)>0;da=za<<2;Sa=da+4|0;if(ca){wb=0;xb=0;yb=0;zb=0}else{gb=0;hb=0;while(1){Ha=Aa+(gb<<2)|0;Ia=c[(c[Ha>>2]|0)+4>>2]|0;do{if((Ia|0)==0){Ab=hb;Bb=0}else{c[Ia+8>>2]=c[x>>2];if(S){Ga=wJ(c[w>>2]|0,0,0,0,Sa)|0;Fa=Ia+16|0;c[Fa>>2]=Ga;if((Ga|0)==0){Cb=hb;Db=12;Eb=Aa;break i}BK(Ga|0,z|0,da)|0;c[(c[Fa>>2]|0)+(za<<2)>>2]=0}else{c[Ia+16>>2]=0}if((hb|0)==0){Ab=c[Ha>>2]|0;Bb=0;break}Fa=c[w>>2]|0;Ga=c[Ha>>2]|0;jb=wJ(Fa,0,0,1,32)|0;ib=jb;do{if((jb|0)==0){Fb=0}else{Gb=wJ(Fa,0,0,1,8)|0;Hb=jb+4|0;c[Hb>>2]=Gb;if((Gb|0)==0){Fb=0;break}c[jb>>2]=3;c[jb+8>>2]=-1;c[jb+12>>2]=-1;c[Gb>>2]=hb;c[(c[Hb>>2]|0)+4>>2]=Ga;c[jb+16>>2]=(c[Ga+16>>2]|0)+(c[hb+16>>2]|0);Fb=ib}}while(0);Ab=Fb;Bb=(Fb|0)==0?12:0}}while(0);Ha=gb+1|0;if((Ha|0)<(ya|0)&(Bb|0)==0){gb=Ha;hb=Ab}else{Ib=Bb;Jb=0;Kb=Ab;break j}}}while(1){hb=Aa+(wb<<2)|0;gb=c[(c[hb>>2]|0)+4>>2]|0;Ha=gb;Ia=c[Ha>>2]|0;ib=gb+4|0;Ga=c[ib>>2]|0;do{if((Ia|0)<(xb|0)){jb=Ga+1|0;Lb=zb;Mb=0;Nb=(jb|0)<(xb|0)?xb:jb;Ob=yb}else{jb=Ia-1|0;if((jb|0)<(yb|0)){Fa=Ga+1|0;Lb=zb;Mb=0;Nb=Fa;Ob=Fa;break}c[Ha>>2]=yb;c[ib>>2]=jb;jb=Ga+1|0;if((gb|0)==0){Lb=zb;Mb=0;Nb=jb;Ob=jb;break}c[gb+8>>2]=c[x>>2];if(S){Fa=wJ(c[w>>2]|0,0,0,0,Sa)|0;Hb=gb+16|0;c[Hb>>2]=Fa;if((Fa|0)==0){Cb=zb;Db=12;Eb=Aa;break i}BK(Fa|0,z|0,da)|0;c[(c[Hb>>2]|0)+(za<<2)>>2]=0}else{c[gb+16>>2]=0}if((zb|0)==0){Lb=c[hb>>2]|0;Mb=0;Nb=jb;Ob=jb;break}Hb=c[w>>2]|0;Fa=c[hb>>2]|0;Gb=wJ(Hb,0,0,1,32)|0;Pb=Gb;do{if((Gb|0)==0){Qb=0}else{Rb=wJ(Hb,0,0,1,8)|0;Sb=Gb+4|0;c[Sb>>2]=Rb;if((Rb|0)==0){Qb=0;break}c[Gb>>2]=3;c[Gb+8>>2]=-1;c[Gb+12>>2]=-1;c[Rb>>2]=zb;c[(c[Sb>>2]|0)+4>>2]=Fa;c[Gb+16>>2]=(c[Fa+16>>2]|0)+(c[zb+16>>2]|0);Qb=Pb}}while(0);Lb=Qb;Mb=(Qb|0)==0?12:0;Nb=jb;Ob=jb}}while(0);hb=wb+1|0;if((hb|0)<(ya|0)&(Mb|0)==0){wb=hb;xb=Nb;yb=Ob;zb=Lb}else{Ib=Mb;Jb=Ob;Kb=Lb;break}}}else{Ib=0;Jb=0;Kb=0}}while(0);if((Ib|0)!=0|ca^1){Cb=Kb;Db=Ib;Eb=Aa;break}da=c[w>>2]|0;Sa=c[x>>2]|0;S=wJ(da,0,0,1,32)|0;hb=S;if((S|0)==0){Cb=Kb;Db=12;Eb=Aa;break}gb=wJ(da,0,0,1,20)|0;c[S+4>>2]=gb;if((gb|0)==0){Cb=Kb;Db=12;Eb=Aa;break}c[S>>2]=0;c[S+8>>2]=-1;c[S+12>>2]=-1;c[gb>>2]=Jb;c[gb+4>>2]=1114111;c[gb+8>>2]=Sa;if((za|0)>0){Sa=za<<2;da=wJ(c[w>>2]|0,0,0,0,Sa+4|0)|0;Ga=gb+16|0;c[Ga>>2]=da;if((da|0)==0){Cb=Kb;Db=12;Eb=Aa;break}BK(da|0,z|0,Sa)|0;c[(c[Ga>>2]|0)+(za<<2)>>2]=0}else{c[gb+16>>2]=0}if((Kb|0)==0){Cb=hb;Db=0;Eb=Aa;break}gb=c[w>>2]|0;Ga=wJ(gb,0,0,1,32)|0;Sa=Ga;do{if((Ga|0)==0){Tb=0}else{da=wJ(gb,0,0,1,8)|0;ib=Ga+4|0;c[ib>>2]=da;if((da|0)==0){Tb=0;break}c[Ga>>2]=3;c[Ga+8>>2]=-1;c[Ga+12>>2]=-1;c[da>>2]=Kb;c[(c[ib>>2]|0)+4>>2]=hb;c[Ga+16>>2]=(c[S+16>>2]|0)+(c[Kb+16>>2]|0);Tb=Sa}}while(0);Cb=Tb;Db=(Tb|0)==0?12:0;Eb=Aa}else if((Z|0)==112){Z=0;c[Va+(ya<<2)>>2]=0;Ba=La;Ca=12;Da=Va;Z=140}else if((Z|0)==141){Z=0;c[q>>2]=La;Cb=0;Db=12;Eb=qb}}while(0);if((Z|0)==140){Z=0;c[q>>2]=Ba;Cb=0;Db=Ca;Eb=Da}bK(Eb);c[x>>2]=(c[x>>2]|0)+1;if((Db|0)==0){T=0;U=M;V=Cb;break c}else{_=Db;Z=293;break b}break};case 40:{if((c[v>>2]&1|0)!=0){Ub=R;Z=74}break};case 94:{if((c[v>>2]&1|0)==0){if((R|0)!=(c[r>>2]|0)){break d}ya=nJ(m,5)|0;if((ya|0)!=0){sa=ya;ta=M;Z=6;break b}}ya=c[w>>2]|0;Aa=wJ(ya,0,0,1,32)|0;if((Aa|0)==0){_=12;Z=293;break b}za=wJ(ya,0,0,1,20)|0;c[Aa+4>>2]=za;if((za|0)==0){_=12;Z=293;break b}c[Aa>>2]=0;c[Aa+8>>2]=-1;c[Aa+12>>2]=-1;c[za>>2]=-2;c[za+4>>2]=1;c[za+8>>2]=-1;c[q>>2]=(c[q>>2]|0)+1;T=0;U=M;V=Aa;break c;break};case 36:{if((c[v>>2]&1|0)==0){if((a[R+1|0]|0)!=0){break d}}Aa=c[w>>2]|0;za=wJ(Aa,0,0,1,32)|0;if((za|0)==0){_=12;Z=293;break b}ya=wJ(Aa,0,0,1,20)|0;c[za+4>>2]=ya;if((ya|0)==0){_=12;Z=293;break b}c[za>>2]=0;c[za+8>>2]=-1;c[za+12>>2]=-1;c[ya>>2]=-2;c[ya+4>>2]=2;c[ya+8>>2]=-1;c[q>>2]=(c[q>>2]|0)+1;T=0;U=M;V=za;break c;break};case 41:{if((M|0)!=0){Z=263}break};case 42:case 124:case 123:case 43:case 63:{Z=263;break};case 0:{Z=264;break};case 46:{za=(c[v>>2]&4|0)==0;ya=c[w>>2]|0;Aa=c[x>>2]|0;ua=wJ(ya,0,0,1,32)|0;Sa=ua;S=(ua|0)==0;if(za){if(S){_=12;Z=293;break b}za=wJ(ya,0,0,1,20)|0;c[ua+4>>2]=za;if((za|0)==0){_=12;Z=293;break b}c[ua>>2]=0;c[ua+8>>2]=-1;c[ua+12>>2]=-1;c[za>>2]=0;c[za+4>>2]=1114111;c[za+8>>2]=Aa;Vb=(c[x>>2]|0)+1|0;Wb=Sa}else{if(S){_=12;Z=293;break b}S=wJ(ya,0,0,1,20)|0;c[ua+4>>2]=S;if((S|0)==0){_=12;Z=293;break b}c[ua>>2]=0;c[ua+8>>2]=-1;c[ua+12>>2]=-1;c[S>>2]=0;c[S+4>>2]=9;c[S+8>>2]=Aa;Aa=c[w>>2]|0;S=(c[x>>2]|0)+1|0;ya=wJ(Aa,0,0,1,32)|0;if((ya|0)==0){_=12;Z=293;break b}za=wJ(Aa,0,0,1,20)|0;c[ya+4>>2]=za;if((za|0)==0){_=12;Z=293;break b}c[ya>>2]=0;c[ya+8>>2]=-1;c[ya+12>>2]=-1;c[za>>2]=11;c[za+4>>2]=1114111;c[za+8>>2]=S;S=c[w>>2]|0;za=wJ(S,0,0,1,32)|0;if((za|0)==0){_=12;Z=293;break b}Aa=wJ(S,0,0,1,8)|0;S=za+4|0;c[S>>2]=Aa;if((Aa|0)==0){_=12;Z=293;break b}c[za>>2]=3;c[za+8>>2]=-1;c[za+12>>2]=-1;c[Aa>>2]=Sa;c[(c[S>>2]|0)+4>>2]=ya;c[za+16>>2]=(c[ya+16>>2]|0)+(c[ua+16>>2]|0);Vb=(c[x>>2]|0)+2|0;Wb=za}c[x>>2]=Vb;c[q>>2]=(c[q>>2]|0)+1;T=0;U=M;V=Wb;break c;break};case 92:{za=R+1|0;ua=a[za]|0;do{if((c[v>>2]&1|0)==0){if(ua<<24>>24==40){c[q>>2]=za;Ub=za;Z=74;break d}else{ya=a[R+1|0]|0;if(ya<<24>>24==41){Z=264;break d}else{Xb=ya;break}}}else{Xb=ua}}while(0);ua=R+1|0;za=Xb<<24>>24==0;if(za){_=5;Z=293;break b}else{Yb=0}while(1){if((Yb|0)==12){break}if((a[88+(Yb<<3)|0]|0)==Xb<<24>>24){Z=193;break}else{Yb=Yb+1|0}}if((Z|0)==193){Z=0;ya=c[92+(Yb<<3)>>2]|0;BK(F|0,G|0,40)|0;c[H>>2]=ya;c[I>>2]=1;ya=gJ(j)|0;if((ya|0)!=0){_=ya;Z=293;break b}c[q>>2]=(c[q>>2]|0)+2;c[x>>2]=c[J>>2];T=0;U=M;V=c[K>>2]|0;break c}if(za){_=5;Z=293;break b}c[q>>2]=ua;ya=a[ua]|0;k:do{switch(ya|0){case 98:{S=c[w>>2]|0;Sa=wJ(S,0,0,1,32)|0;Aa=Sa;do{if((Sa|0)==0){Zb=0}else{Ga=wJ(S,0,0,1,20)|0;c[Sa+4>>2]=Ga;if((Ga|0)==0){Zb=0;break}c[Sa>>2]=0;c[Sa+8>>2]=-1;c[Sa+12>>2]=-1;c[Ga>>2]=-2;c[Ga+4>>2]=64;c[Ga+8>>2]=-1;Zb=Aa}}while(0);c[q>>2]=(c[q>>2]|0)+1;_b=Zb;break};case 66:{Aa=c[w>>2]|0;Sa=wJ(Aa,0,0,1,32)|0;S=Sa;do{if((Sa|0)==0){$b=0}else{Ga=wJ(Aa,0,0,1,20)|0;c[Sa+4>>2]=Ga;if((Ga|0)==0){$b=0;break}c[Sa>>2]=0;c[Sa+8>>2]=-1;c[Sa+12>>2]=-1;c[Ga>>2]=-2;c[Ga+4>>2]=128;c[Ga+8>>2]=-1;$b=S}}while(0);c[q>>2]=(c[q>>2]|0)+1;_b=$b;break};case 60:{S=c[w>>2]|0;Sa=wJ(S,0,0,1,32)|0;Aa=Sa;do{if((Sa|0)==0){ac=0}else{Ga=wJ(S,0,0,1,20)|0;c[Sa+4>>2]=Ga;if((Ga|0)==0){ac=0;break}c[Sa>>2]=0;c[Sa+8>>2]=-1;c[Sa+12>>2]=-1;c[Ga>>2]=-2;c[Ga+4>>2]=16;c[Ga+8>>2]=-1;ac=Aa}}while(0);c[q>>2]=(c[q>>2]|0)+1;_b=ac;break};case 62:{Aa=c[w>>2]|0;Sa=wJ(Aa,0,0,1,32)|0;S=Sa;do{if((Sa|0)==0){bc=0}else{Ga=wJ(Aa,0,0,1,20)|0;c[Sa+4>>2]=Ga;if((Ga|0)==0){bc=0;break}c[Sa>>2]=0;c[Sa+8>>2]=-1;c[Sa+12>>2]=-1;c[Ga>>2]=-2;c[Ga+4>>2]=32;c[Ga+8>>2]=-1;bc=S}}while(0);c[q>>2]=(c[q>>2]|0)+1;_b=bc;break};case 120:{S=R+2|0;c[q>>2]=S;Sa=a[S]|0;if(Sa<<24>>24==123){S=R+3|0;c[q>>2]=S;Aa=0;Ga=S;while(1){S=a[Ga]|0;if((S<<24>>24|0)==125|(S<<24>>24|0)==0){dc=Ga;ec=Aa;break}if((UI(S<<24>>24)|0)==0){_=9;Z=293;break b}S=c[q>>2]|0;a[l+Aa|0]=a[S]|0;hb=Aa+1|0;gb=S+1|0;c[q>>2]=gb;if(hb>>>0>31>>>0){dc=gb;ec=hb;break}else{Aa=hb;Ga=gb}}c[q>>2]=dc+1;a[l+ec|0]=0;Ga=Ua(C|0,0,16)|0;Aa=c[w>>2]|0;gb=c[x>>2]|0;hb=wJ(Aa,0,0,1,32)|0;S=hb;do{if((hb|0)==0){fc=0}else{ca=wJ(Aa,0,0,1,20)|0;c[hb+4>>2]=ca;if((ca|0)==0){fc=0;break}c[hb>>2]=0;c[hb+8>>2]=-1;c[hb+12>>2]=-1;c[ca>>2]=Ga;c[ca+4>>2]=Ga;c[ca+8>>2]=gb;fc=S}}while(0);c[x>>2]=(c[x>>2]|0)+1;_b=fc;break k}else{DK(D|0,0,3)|0;S=(UI(Sa<<24>>24)|0)==0;gb=c[q>>2]|0;if(S){gc=gb}else{a[D]=a[gb]|0;S=gb+1|0;c[q>>2]=S;gc=S}if((UI(a[gc]|0)|0)!=0){S=c[q>>2]|0;a[E]=a[S]|0;c[q>>2]=S+1}S=Ua(D|0,0,16)|0;gb=c[w>>2]|0;Ga=c[x>>2]|0;hb=wJ(gb,0,0,1,32)|0;Aa=hb;do{if((hb|0)==0){hc=0}else{ca=wJ(gb,0,0,1,20)|0;c[hb+4>>2]=ca;if((ca|0)==0){hc=0;break}c[hb>>2]=0;c[hb+8>>2]=-1;c[hb+12>>2]=-1;c[ca>>2]=S;c[ca+4>>2]=S;c[ca+8>>2]=Ga;hc=Aa}}while(0);c[x>>2]=(c[x>>2]|0)+1;_b=hc;break k}break};default:{if((NI(ya)|0)!=0){Aa=(a[c[q>>2]|0]|0)-48|0;Ga=c[w>>2]|0;S=c[x>>2]|0;hb=wJ(Ga,0,0,1,32)|0;if((hb|0)==0){_=12;Z=293;break b}gb=wJ(Ga,0,0,1,20)|0;c[hb+4>>2]=gb;if((gb|0)==0){_=12;Z=293;break b}c[hb>>2]=0;c[hb+8>>2]=-1;c[hb+12>>2]=-1;c[gb>>2]=-4;c[gb+4>>2]=Aa;c[gb+8>>2]=S;c[x>>2]=(c[x>>2]|0)+1;S=c[B>>2]|0;c[B>>2]=(Aa|0)<(S|0)?S:Aa;c[q>>2]=(c[q>>2]|0)+1;T=0;U=M;V=hb;break c}hb=c[w>>2]|0;Aa=a[c[q>>2]|0]|0;S=c[x>>2]|0;gb=wJ(hb,0,0,1,32)|0;Ga=gb;do{if((gb|0)==0){ic=0}else{Sa=wJ(hb,0,0,1,20)|0;c[gb+4>>2]=Sa;if((Sa|0)==0){ic=0;break}c[gb>>2]=0;c[gb+8>>2]=-1;c[gb+12>>2]=-1;c[Sa>>2]=Aa;c[Sa+4>>2]=Aa;c[Sa+8>>2]=S;ic=Ga}}while(0);c[x>>2]=(c[x>>2]|0)+1;c[q>>2]=(c[q>>2]|0)+1;_b=ic}}}while(0);if((_b|0)==0){_=12;Z=293;break b}else{T=0;U=M;V=_b;break c}break};default:{}}}while(0);if((Z|0)==74){Z=0;Y=M+1|0;c[q>>2]=Ub+1;Q=nJ(m,c[y>>2]|0)|0;if((Q|0)!=0){sa=Q;ta=Y;Z=6;break b}Q=nJ(m,2)|0;if((Q|0)!=0){sa=Q;ta=Y;Z=6;break b}Q=nJ(m,0)|0;if((Q|0)!=0){sa=Q;ta=Y;Z=6;break b}c[y>>2]=(c[y>>2]|0)+1;T=0;U=Y;V=L;break c}else if((Z|0)==263){Z=0;if((c[v>>2]&1|0)!=0){Z=264}}if((Z|0)==264){Z=0;Y=c[w>>2]|0;Q=wJ(Y,0,0,1,32)|0;if((Q|0)==0){_=12;Z=293;break b}ya=wJ(Y,0,0,1,20)|0;c[Q+4>>2]=ya;if((ya|0)==0){_=12;Z=293;break b}c[Q>>2]=0;c[Q+8>>2]=-1;c[Q+12>>2]=-1;c[ya>>2]=-1;c[ya+4>>2]=-1;c[ya+8>>2]=-1;T=0;U=M;V=Q;break c}Q=bJ(h,R,-1)|0;if((Q|0)<0){c[h>>2]=-1;jc=1}else{jc=Q}do{if((c[v>>2]&2|0)==0){Z=279}else{if((TI(c[h>>2]|0)|0)==0){if((PI(c[h>>2]|0)|0)==0){Z=279;break}}Q=c[w>>2]|0;ya=VI(c[h>>2]|0)|0;Y=VI(c[h>>2]|0)|0;ua=c[x>>2]|0;za=wJ(Q,0,0,1,32)|0;if((za|0)==0){_=12;Z=293;break b}Ga=wJ(Q,0,0,1,20)|0;c[za+4>>2]=Ga;if((Ga|0)==0){_=12;Z=293;break b}c[za>>2]=0;c[za+8>>2]=-1;c[za+12>>2]=-1;c[Ga>>2]=ya;c[Ga+4>>2]=Y;c[Ga+8>>2]=ua;ua=c[w>>2]|0;Ga=XI(c[h>>2]|0)|0;Y=XI(c[h>>2]|0)|0;ya=c[x>>2]|0;Q=wJ(ua,0,0,1,32)|0;if((Q|0)==0){_=12;Z=293;break b}S=wJ(ua,0,0,1,20)|0;c[Q+4>>2]=S;if((S|0)==0){_=12;Z=293;break b}c[Q>>2]=0;c[Q+8>>2]=-1;c[Q+12>>2]=-1;c[S>>2]=Ga;c[S+4>>2]=Y;c[S+8>>2]=ya;ya=c[w>>2]|0;S=wJ(ya,0,0,1,32)|0;if((S|0)==0){_=12;Z=293;break b}Y=wJ(ya,0,0,1,8)|0;ya=S+4|0;c[ya>>2]=Y;if((Y|0)==0){_=12;Z=293;break b}c[S>>2]=3;c[S+8>>2]=-1;c[S+12>>2]=-1;c[Y>>2]=za;c[(c[ya>>2]|0)+4>>2]=Q;c[S+16>>2]=(c[Q+16>>2]|0)+(c[za+16>>2]|0);kc=S}}while(0);if((Z|0)==279){Z=0;R=c[w>>2]|0;S=c[h>>2]|0;za=c[x>>2]|0;Q=wJ(R,0,0,1,32)|0;if((Q|0)==0){_=12;Z=293;break b}ya=wJ(R,0,0,1,20)|0;c[Q+4>>2]=ya;if((ya|0)==0){_=12;Z=293;break b}c[Q>>2]=0;c[Q+8>>2]=-1;c[Q+12>>2]=-1;c[ya>>2]=S;c[ya+4>>2]=S;c[ya+8>>2]=za;kc=Q}c[x>>2]=(c[x>>2]|0)+1;c[q>>2]=(c[q>>2]|0)+jc;T=0;U=M;V=kc;break};case 0:{if((c[v>>2]&1|0)!=0){Q=nJ(m,7)|0;if((Q|0)!=0){sa=Q;ta=M;Z=6;break b}}T=nJ(m,3)|0;U=M;V=L;break};case 3:{Q=nJ(m,5)|0;if((Q|0)!=0){sa=Q;ta=M;Z=6;break b}T=nJ(m,4)|0;U=M;V=L;break};case 4:{Q=nJ(m,9)|0;if((Q|0)!=0){sa=Q;ta=M;Z=6;break b}T=nJ(m,1)|0;U=M;V=L;break};case 8:{Q=N-2|0;c[n>>2]=Q;za=c[P+(Q<<2)>>2]|0;Q=c[w>>2]|0;ya=wJ(Q,0,0,1,32)|0;if((ya|0)==0){_=12;Z=293;break b}S=wJ(Q,0,0,1,8)|0;Q=ya+4|0;c[Q>>2]=S;if((S|0)==0){_=12;Z=293;break b}c[ya>>2]=3;c[ya+8>>2]=-1;c[ya+12>>2]=-1;c[S>>2]=za;c[(c[Q>>2]|0)+4>>2]=L;c[ya+16>>2]=(c[L+16>>2]|0)+(c[za+16>>2]|0);T=0;U=M;V=ya;break};case 10:{ya=N-2|0;c[n>>2]=ya;c[v>>2]=c[P+(ya<<2)>>2];T=0;U=M;V=L;break};default:{T=0;U=M;V=L}}}while(0);P=c[n>>2]|0;O=(T|0)==0;if((P|0)>(o|0)&O){L=V;M=U;N=P}else{lc=V;mc=U;nc=T;oc=O;break a}}if((Z|0)==6){lc=L;mc=ta;nc=sa;oc=(sa|0)==0;break}else if((Z|0)==293){i=d;return _|0}}else{lc=0;mc=0;nc=p;oc=t}}while(0);t=(mc|0)>0;if(t|oc^1){_=t?8:nc;i=d;return _|0}c[b+8>>2]=lc;_=0;i=d;return _|0}function hJ(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,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,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;f=b+12|0;g=c[f>>2]|0;h=(a|0)==0|(e|0)==0;if(!h){c[e+48>>2]=0;c[c[e+36>>2]>>2]=-1}i=c[e+28>>2]|0;j=aK((i<<3)+8|0)|0;k=j;if((j|0)==0){l=12;return l|0}c[k>>2]=-1;m=aK((i<<2)+4|0)|0;n=m;if((m|0)==0){bK(j);l=12;return l|0}c[n>>2]=-1;o=0;while(1){if(o>>>0>i>>>0){break}else{o=o+1|0}}nJ(b,d)|0;d=nJ(b,0)|0;o=c[f>>2]|0;a:do{if((o|0)>(g|0)&(d|0)==0){i=b+16|0;p=e+32|0;q=e+16|0;r=e+36|0;s=0;t=-1;u=1;v=0;w=0;x=0;y=k;z=o;while(1){A=z-1|0;c[f>>2]=A;B=c[i>>2]|0;b:do{switch(c[B+(A<<2)>>2]|0){case 4:{C=z-2|0;c[f>>2]=C;D=c[B+(C<<2)>>2]|0;C=z-3|0;c[f>>2]=C;E=0;F=y;G=x;H=w;I=(D|0)>-1?D:v;J=c[B+(C<<2)>>2]|0;K=t;L=s;break};case 5:{C=z-2|0;c[f>>2]=C;D=c[B+(C<<2)>>2]|0;if(!h){E=0;F=y;G=x;H=w;I=v;J=u;K=t;L=s;break b}C=c[D+4>>2]|0;c[D+20>>2]=(c[(c[C+4>>2]|0)+20>>2]|0)+(c[(c[C>>2]|0)+20>>2]|0);E=0;F=y;G=x;H=w;I=v;J=u;K=t;L=s;break};case 0:{C=z-2|0;c[f>>2]=C;D=c[B+(C<<2)>>2]|0;C=D;M=D+12|0;N=c[M>>2]|0;if((N|0)>-1){O=0;do{P=y+(O<<2)|0;O=O+1|0}while((c[P>>2]|0)>-1);c[P>>2]=N<<1;c[y+(O<<2)>>2]=-1;do{if(!h){Q=0;while(1){if((c[n+(Q<<2)>>2]|0)>-1){Q=Q+1|0}else{break}}c[(c[q>>2]|0)+(N*12|0)+8>>2]=0;if((Q|0)<=0){break}R=aK((Q<<2)+4|0)|0;S=R;if((R|0)==0){T=t;U=v;V=w;W=x;X=y;Y=12;break a}c[(c[q>>2]|0)+(N*12|0)+8>>2]=S;R=c[n>>2]|0;if((R|0)>-1){Z=0;_=R;R=S;while(1){c[R>>2]=_;$=Z+1|0;aa=c[n+($<<2)>>2]|0;ba=S+($<<2)|0;if((aa|0)>-1){Z=$;_=aa;R=ba}else{ca=ba;break}}}else{ca=S}c[ca>>2]=-1}}while(0);N=nJ(b,c[M>>2]|0)|0;if((N|0)!=0){T=t;U=v;V=w;W=x;X=y;Y=N;break a}N=nJ(b,6)|0;if((N|0)!=0){T=t;U=v;V=w;W=x;X=y;Y=N;break a}}N=c[D>>2]|0;do{if((N|0)==1){O=c[D+4>>2]|0;R=c[O>>2]|0;_=c[O+4>>2]|0;O=nJ(b,D)|0;if((O|0)!=0){da=O;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}O=nJ(b,5)|0;if((O|0)!=0){da=O;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}O=nJ(b,_)|0;if((O|0)!=0){da=O;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}O=nJ(b,0)|0;if((O|0)!=0){da=O;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}O=R+20|0;Z=nJ(b,(c[O>>2]|0)+u|0)|0;if((Z|0)!=0){da=Z;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}if((c[O>>2]|0)>0){O=(c[_+20>>2]|0)>0;ka=(O&1)+u|0;la=O?u:-1}else{ka=u;la=-1}O=nJ(b,la)|0;if((O|0)!=0){da=O;ea=x;fa=w;ga=v;ha=ka;ia=t;ja=s;break}O=nJ(b,4)|0;if((O|0)!=0){da=O;ea=x;fa=w;ga=v;ha=ka;ia=t;ja=s;break}O=nJ(b,R)|0;if((O|0)!=0){da=O;ea=x;fa=w;ga=v;ha=ka;ia=t;ja=s;break}da=nJ(b,0)|0;ea=x;fa=w;ga=v;ha=ka;ia=t;ja=s}else if((N|0)==0){O=c[c[D+4>>2]>>2]|0;if(!((O|0)>-1|(O|0)==-4)){da=0;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}if(!((c[y>>2]|0)>-1)){da=0;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}if(h){c[D+20>>2]=1;ma=0;na=w;oa=t}else{O=pJ(a,C,v)|0;c[(c[p>>2]|0)+(v<<2)>>2]=s;if((t|0)>-1){R=c[r>>2]|0;_=0;while(1){pa=R+(_<<2)|0;qa=_+1|0;if((c[pa>>2]|0)>-1){_=qa}else{break}}c[pa>>2]=v;c[R+(qa<<2)>>2]=t;c[R+(_+2<<2)>>2]=-1;ra=w+1|0;sa=-1}else{ra=w;sa=t}S=c[y>>2]|0;if((S|0)>-1){Z=c[q>>2]|0;Q=0;ba=S;do{S=(ba|0)/2|0;if((ba&1|0)==0){c[Z+(S*12|0)>>2]=v}else{c[Z+(S*12|0)+4>>2]=v}Q=Q+1|0;ba=c[y+(Q<<2)>>2]|0;}while((ba|0)>-1)}c[y>>2]=-1;ma=O;na=ra;oa=sa}c[y>>2]=-1;da=ma;ea=x+1|0;fa=na;ga=u;ha=u+1|0;ia=oa;ja=s}else if((N|0)==2){ba=c[D+4>>2]|0;if(h){if((c[y>>2]|0)>-1){ta=1}else{ta=c[ba+12>>2]&1}Q=nJ(b,ta)|0;if((Q|0)!=0){da=Q;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}}else{Q=nJ(b,v)|0;if((Q|0)!=0){da=Q;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}Q=nJ(b,c[ba+12>>2]&1)|0;if((Q|0)!=0){da=Q;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}}Q=nJ(b,D)|0;if((Q|0)!=0){da=Q;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}Q=nJ(b,1)|0;if((Q|0)!=0){da=Q;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}Q=nJ(b,c[ba>>2]|0)|0;if((Q|0)!=0){da=Q;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}Q=nJ(b,0)|0;if((Q|0)!=0){da=Q;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}if(!((c[y>>2]|0)>-1)){if((c[ba+12>>2]&1|0)==0){da=0;ea=x;fa=w;ga=v;ha=u;ia=t;ja=0;break}}if(h){ua=0;va=w;wa=t}else{Q=pJ(a,C,v)|0;c[(c[p>>2]|0)+(v<<2)>>2]=(c[ba+12>>2]&1|0)==0?s:1;if((t|0)>-1){ba=c[r>>2]|0;Z=0;while(1){xa=ba+(Z<<2)|0;ya=Z+1|0;if((c[xa>>2]|0)>-1){Z=ya}else{break}}c[xa>>2]=v;c[ba+(ya<<2)>>2]=t;c[ba+(Z+2<<2)>>2]=-1;za=w+1|0;Aa=-1}else{za=w;Aa=t}O=c[y>>2]|0;if((O|0)>-1){_=c[q>>2]|0;R=0;S=O;do{O=(S|0)/2|0;if((S&1|0)==0){c[_+(O*12|0)>>2]=v}else{c[_+(O*12|0)+4>>2]=v}R=R+1|0;S=c[y+(R<<2)>>2]|0;}while((S|0)>-1)}c[y>>2]=-1;ua=Q;va=za;wa=Aa}c[y>>2]=-1;da=ua;ea=x+1|0;fa=va;ga=u;ha=u+1|0;ia=wa;ja=0}else if((N|0)==3){S=c[D+4>>2]|0;R=c[S>>2]|0;_=c[S+4>>2]|0;S=(c[y>>2]|0)>-1;Z=u+1|0;ba=nJ(b,S?Z:u)|0;if((ba|0)!=0){da=ba;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}ba=nJ(b,S?u:v)|0;if((ba|0)!=0){da=ba;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}ba=nJ(b,y)|0;if((ba|0)!=0){da=ba;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}ba=nJ(b,(c[y>>2]|0)>>>31^1)|0;if((ba|0)!=0){da=ba;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}ba=nJ(b,D)|0;if((ba|0)!=0){da=ba;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}ba=_;_=nJ(b,ba)|0;if((_|0)!=0){da=_;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}_=R;R=nJ(b,_)|0;if((R|0)!=0){da=R;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}R=nJ(b,3)|0;if((R|0)!=0){da=R;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}R=nJ(b,ba)|0;if((R|0)!=0){da=R;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}R=nJ(b,0)|0;if((R|0)!=0){da=R;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}R=nJ(b,2)|0;if((R|0)!=0){da=R;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}R=nJ(b,_)|0;if((R|0)!=0){da=R;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}R=nJ(b,0)|0;if((R|0)!=0){da=R;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s;break}if((c[y>>2]|0)>-1){if(h){Ba=0;Ca=w;Da=t}else{R=pJ(a,C,v)|0;c[(c[p>>2]|0)+(v<<2)>>2]=s;if((t|0)>-1){_=c[r>>2]|0;ba=0;while(1){Ea=_+(ba<<2)|0;Fa=ba+1|0;if((c[Ea>>2]|0)>-1){ba=Fa}else{break}}c[Ea>>2]=v;c[_+(Fa<<2)>>2]=t;c[_+(ba+2<<2)>>2]=-1;Ga=w+1|0;Ha=-1}else{Ga=w;Ha=t}Q=c[y>>2]|0;if((Q|0)>-1){S=c[q>>2]|0;O=0;aa=Q;do{Q=(aa|0)/2|0;if((aa&1|0)==0){c[S+(Q*12|0)>>2]=v}else{c[S+(Q*12|0)+4>>2]=v}O=O+1|0;aa=c[y+(O<<2)>>2]|0;}while((aa|0)>-1)}c[y>>2]=-1;Ba=R;Ca=Ga;Da=Ha}c[y>>2]=-1;Ia=Ba;Ja=x+1|0;Ka=Ca;La=u;Ma=Z;Na=Da}else{Ia=0;Ja=x;Ka=w;La=v;Ma=u;Na=t}if((c[D+16>>2]|0)<=0){da=Ia;ea=Ja;fa=Ka;ga=La;ha=Ma;ia=Na;ja=s;break}da=Ia;ea=Ja;fa=Ka;ga=Ma+1|0;ha=Ma+2|0;ia=Na;ja=s}else{da=0;ea=x;fa=w;ga=v;ha=u;ia=t;ja=s}}while(0);D=c[M>>2]|0;if((D|0)>-1){Oa=0}else{E=da;F=y;G=ea;H=fa;I=ga;J=ha;K=ia;L=ja;break b}do{Pa=n+(Oa<<2)|0;Oa=Oa+1|0}while((c[Pa>>2]|0)>-1);c[Pa>>2]=D;c[n+(Oa<<2)>>2]=-1;E=da;F=y;G=ea;H=fa;I=ga;J=ha;K=ia;L=ja;break};case 6:{M=z-2|0;c[f>>2]=M;C=c[B+(M<<2)>>2]|0;M=0;do{Qa=y+(M<<2)|0;M=M+1|0}while((c[Qa>>2]|0)>-1);c[Qa>>2]=C<<1|1;c[y+(M<<2)>>2]=-1;D=0;while(1){if((c[n+(D<<2)>>2]|0)>-1){D=D+1|0}else{break}}c[n+(D-1<<2)>>2]=-1;E=0;F=y;G=x;H=w;I=v;J=u;K=t;L=s;break};case 2:{M=y;while(1){if((c[M>>2]|0)>-1){M=M+4|0}else{E=0;F=M;G=x;H=w;I=v;J=u;K=t;L=s;break}}break};case 1:{M=z-2|0;c[f>>2]=M;D=c[B+(M<<2)>>2]|0;if(h){M=c[(c[c[D+4>>2]>>2]|0)+20>>2]|0;C=z-3|0;c[f>>2]=C;c[D+20>>2]=(c[B+(C<<2)>>2]|0)+M;E=0;F=y;G=x;H=w;I=v;J=u;K=-1;L=s;break b}else{M=z-3|0;c[f>>2]=M;C=c[B+(M<<2)>>2]|0;M=z-4|0;c[f>>2]=M;D=(C|0)==0;E=0;F=y;G=x;H=w;I=v;J=u;K=D?t:c[B+(M<<2)>>2]|0;L=D&1;break b}break};case 3:{D=c[B+(z-2<<2)>>2]|0;M=c[B+(z-3<<2)>>2]|0;C=c[B+(z-4<<2)>>2]|0;N=z-5|0;c[f>>2]=N;if(h){aa=c[C+4>>2]|0;O=C+16|0;c[C+20>>2]=(c[(c[aa>>2]|0)+20>>2]|0)+(c[B+(N<<2)>>2]|0)+(c[(c[aa+4>>2]|0)+20>>2]|0)+((c[O>>2]|0)>0?2:0);Ra=c[f>>2]|0;Sa=O}else{Ra=N;Sa=C+16|0}C=c[B+(Ra-1<<2)>>2]|0;N=Ra-2|0;c[f>>2]=N;O=c[B+(N<<2)>>2]|0;N=Ra-3|0;c[f>>2]=N;aa=c[B+(N<<2)>>2]|0;if((c[Sa>>2]|0)<=0){E=0;F=C;G=x;H=w;I=v;J=u;K=t;L=1;break b}if(h){Ta=0}else{qJ(a,D,O)|0;c[(c[p>>2]|0)+(O<<2)>>2]=1;O=qJ(a,M,aa)|0;c[(c[p>>2]|0)+(aa<<2)>>2]=1;Ta=O}E=Ta;F=C;G=x+2|0;H=w;I=v;J=u;K=t;L=1;break};default:{E=0;F=y;G=x;H=w;I=v;J=u;K=t;L=s}}}while(0);B=c[f>>2]|0;if((B|0)>(g|0)&(E|0)==0){s=L;t=K;u=J;v=I;w=H;x=G;y=F;z=B}else{T=K;U=I;V=H;W=G;X=F;Y=E;break a}}}else{T=-1;U=0;V=0;W=0;X=k;Y=d}}while(0);do{if(h){Ua=V}else{d=c[X>>2]|0;if((d|0)>-1){k=c[e+16>>2]|0;E=0;F=d;do{d=(F|0)/2|0;if((F&1|0)==0){c[k+(d*12|0)>>2]=U}else{c[k+(d*12|0)+4>>2]=U}E=E+1|0;F=c[X+(E<<2)>>2]|0;}while((F|0)>-1)}c[X>>2]=-1;if(!((T|0)>-1)){Ua=V;break}F=c[e+36>>2]|0;E=0;while(1){Va=F+(E<<2)|0;Wa=E+1|0;if((c[Va>>2]|0)>-1){E=Wa}else{break}}c[Va>>2]=U;c[F+(Wa<<2)>>2]=T;c[F+(E+2<<2)>>2]=-1;Ua=V+1|0}}while(0);c[e+48>>2]=W;c[e+40>>2]=W;c[e+44>>2]=Ua;bK(j);bK(m);l=Y;return l|0}function iJ(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;f=a;a:while(1){a=c[f>>2]|0;do{if((a|0)==2){g=c[f+4>>2]|0;h=g;if(!((c[g+8>>2]|0)==-1)){i=h;break}g=c[h>>2]|0;j=kJ(c[g+28>>2]|0,c[g+24>>2]|0,b,d,e)|0;if((j|0)==0){i=h}else{k=j;l=10;break a}}else if((a|0)==1){j=c[f+4>>2]|0;h=j;g=j+4|0;j=kJ(c[(c[h>>2]|0)+28>>2]|0,c[(c[g>>2]|0)+24>>2]|0,b,d,e)|0;if((j|0)!=0){k=j;l=10;break a}j=iJ(c[h>>2]|0,b,d,e)|0;if((j|0)==0){i=g}else{k=j;l=10;break a}}else if((a|0)==3){j=c[f+4>>2]|0;g=iJ(c[j>>2]|0,b,d,e)|0;if((g|0)!=0){k=g;l=10;break a}i=j+4|0}else{k=0;l=10;break a}}while(0);f=c[i>>2]|0}if((l|0)==10){return k|0}return 0}function jJ(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[a+4>>2]|0;if((b|0)==0){return}a=b+4|0;d=b;e=c[d>>2]|0;if((c[a>>2]|0)==0){f=e}else{g=0;h=e;while(1){do{if((c[h+(g<<5)+8>>2]|0)==0){i=h}else{e=c[h+(g<<5)+16>>2]|0;if((e|0)==0){j=h}else{bK(e);j=c[d>>2]|0}e=c[j+(g<<5)+28>>2]|0;if((e|0)==0){i=j;break}bK(e);i=c[d>>2]|0}}while(0);e=g+1|0;if(e>>>0<(c[a>>2]|0)>>>0){g=e;h=i}else{f=i;break}}}if((f|0)!=0){bK(f)}f=b+8|0;i=c[f>>2]|0;if((i|0)!=0){if((c[i+8>>2]|0)==0){k=i}else{h=i;while(1){i=c[h+16>>2]|0;if((i|0)!=0){bK(i)}if((c[h+40>>2]|0)==0){break}else{h=h+32|0}}k=c[f>>2]|0}bK(k)}k=b+16|0;f=c[k>>2]|0;if((f|0)!=0){h=b+28|0;i=c[h>>2]|0;if((i|0)==0){l=f}else{g=0;a=f;f=i;while(1){i=c[a+(g*12|0)+8>>2]|0;if((i|0)==0){m=f;n=a}else{bK(i);m=c[h>>2]|0;n=c[k>>2]|0}i=g+1|0;if(i>>>0>>0){g=i;a=n;f=m}else{l=n;break}}}bK(l)}l=c[b+32>>2]|0;if((l|0)!=0){bK(l)}l=c[b+20>>2]|0;if((l|0)!=0){bK(l)}l=c[b+36>>2]|0;if((l|0)!=0){bK(l)}bK(b);return}function kJ(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,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;g=a|0;a=c[g>>2]|0;h=(a|0)>-1;if((d|0)==0){if(!h){i=0;return i|0}j=b|0;k=g;l=a;while(1){a:do{if((c[j>>2]|0)>-1){a=b;m=l;while(1){n=e+(m<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=a+32|0;if(!((c[n>>2]|0)>-1)){break a}a=n;m=c[k>>2]|0}}}while(0);m=k+32|0;a=c[m>>2]|0;if((a|0)>-1){k=m;l=a}else{i=0;break}}return i|0}if(h){o=g}else{i=0;return i|0}b:while(1){g=o+4|0;h=o+8|0;l=o+16|0;k=o+20|0;e=o+24|0;j=o+28|0;a=o+12|0;m=-1;n=b;c:while(1){p=n;while(1){q=p|0;r=c[q>>2]|0;if(!((r|0)>-1)){break c}s=p+32|0;if((r|0)==(m|0)){p=s}else{break}}t=d+(c[f+(c[o>>2]<<2)>>2]<<5)|0;while(1){u=t+8|0;if((c[u>>2]|0)==0){break}else{t=t+32|0}}c[t+40>>2]=0;c[t>>2]=c[g>>2];c[t+4>>2]=c[h>>2];v=c[q>>2]|0;c[u>>2]=d+(c[f+(v<<2)>>2]<<5);c[t+12>>2]=v;v=c[k>>2]|0;w=c[e>>2]|0;x=c[p+16>>2]|c[l>>2]|((v|0)!=0?4:0)|((w|0)!=0?8:0);y=t+20|0;c[y>>2]=x;z=c[j>>2]|0;A=t+24|0;if((z|0)>-1){c[A>>2]=z;c[y>>2]=x|256}else{c[A>>2]=v}if((w|0)==0){c[t+28>>2]=0}else{v=0;while(1){B=v+1|0;if((c[w+(v<<2)>>2]|0)==0){break}else{v=B}}v=aK(B<<2)|0;w=v;c[t+28>>2]=w;if((v|0)==0){i=12;C=45;break b}v=c[e>>2]|0;A=c[v>>2]|0;if((A|0)==0){D=w}else{x=0;y=A;A=w;while(1){c[A>>2]=y;z=x+1|0;E=c[v+(z<<2)>>2]|0;F=w+(z<<2)|0;if((E|0)==0){D=F;break}else{x=z;y=E;A=F}}}c[D>>2]=0}A=c[a>>2]|0;if((A|0)==0){G=0}else{y=0;while(1){if((c[A+(y<<2)>>2]|0)>-1){y=y+1|0}else{G=y;break}}}y=p+12|0;A=c[y>>2]|0;if((A|0)==0){H=0}else{x=0;while(1){if((c[A+(x<<2)>>2]|0)>-1){x=x+1|0}else{H=x;break}}}x=t+16|0;A=c[x>>2]|0;if((A|0)!=0){bK(A)}c[x>>2]=0;A=H+G|0;if((A|0)<=0){m=r;n=s;continue}p=aK((A<<2)+4|0)|0;A=p;c[x>>2]=A;if((p|0)==0){i=12;C=45;break b}p=c[a>>2]|0;do{if((p|0)==0){I=0}else{x=c[p>>2]|0;if((x|0)>-1){J=0;K=x}else{I=0;break}while(1){c[A+(J<<2)>>2]=K;x=J+1|0;w=c[p+(x<<2)>>2]|0;if((w|0)>-1){J=x;K=w}else{I=x;break}}}}while(0);p=c[y>>2]|0;do{if((p|0)==0){L=I}else{t=c[p>>2]|0;if((t|0)>-1){M=0;N=I;O=t}else{L=I;break}while(1){t=0;while(1){if((t|0)>=(I|0)){C=37;break}if((c[A+(t<<2)>>2]|0)==(c[p+(M<<2)>>2]|0)){P=N;break}else{t=t+1|0}}if((C|0)==37){C=0;c[A+(N<<2)>>2]=O;P=N+1|0}t=M+1|0;x=c[p+(t<<2)>>2]|0;if((x|0)>-1){M=t;N=P;O=x}else{L=P;break}}}}while(0);c[A+(L<<2)>>2]=-1;m=r;n=s}n=o+32|0;if((c[n>>2]|0)>-1){o=n}else{i=0;C=45;break}}if((C|0)==45){return i|0}return 0}function lJ(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;g=(e|0)==0;if(g){h=0}else{i=0;while(1){if((c[e+(i<<2)>>2]|0)>-1){i=i+1|0}else{h=i;break}}}i=0;while(1){if((c[b+(i<<5)>>2]|0)>-1){i=i+1|0}else{j=0;break}}while(1){if((c[d+(j<<5)>>2]|0)>-1){j=j+1|0}else{break}}k=wJ(a,0,0,1,(j+i<<5)+32|0)|0;i=k;if((k|0)==0){l=0;return l|0}k=c[b>>2]|0;a:do{if((k|0)>-1){j=(h|0)>0;m=0;n=k;while(1){c[i+(m<<5)>>2]=n;c[i+(m<<5)+4>>2]=c[b+(m<<5)+4>>2];c[i+(m<<5)+8>>2]=c[b+(m<<5)+8>>2];c[i+(m<<5)+16>>2]=c[b+(m<<5)+16>>2]|f;c[i+(m<<5)+20>>2]=c[b+(m<<5)+20>>2];c[i+(m<<5)+24>>2]=c[b+(m<<5)+24>>2];c[i+(m<<5)+28>>2]=c[b+(m<<5)+28>>2];o=b+(m<<5)+12|0;p=c[o>>2]|0;q=(p|0)==0;if(q&g){c[i+(m<<5)+12>>2]=0}else{b:do{if(q){r=0}else{s=0;while(1){if(!((c[p+(s<<2)>>2]|0)>-1)){r=s;break b}s=s+1|0}}}while(0);p=wJ(a,0,0,0,(r+h<<2)+4|0)|0;q=p;if((p|0)==0){l=0;break}if((r|0)>0){p=c[o>>2]|0;s=0;while(1){c[q+(s<<2)>>2]=c[p+(s<<2)>>2];t=s+1|0;if((t|0)<(r|0)){s=t}else{u=r;break}}}else{u=0}if(j){s=0;while(1){c[q+(s+u<<2)>>2]=c[e+(s<<2)>>2];p=s+1|0;if((p|0)<(h|0)){s=p}else{v=h;break}}}else{v=0}c[q+(v+u<<2)>>2]=-1;c[i+(m<<5)+12>>2]=q}s=m+1|0;p=c[b+(s<<5)>>2]|0;if((p|0)>-1){m=s;n=p}else{w=s;break a}}return l|0}else{w=0}}while(0);b=c[d>>2]|0;u=i+(w<<5)|0;c:do{if((b|0)>-1){v=0;h=b;e=w;r=u;while(1){c[r>>2]=h;c[i+(e<<5)+4>>2]=c[d+(v<<5)+4>>2];c[i+(e<<5)+8>>2]=c[d+(v<<5)+8>>2];c[i+(e<<5)+16>>2]=c[d+(v<<5)+16>>2];c[i+(e<<5)+20>>2]=c[d+(v<<5)+20>>2];c[i+(e<<5)+24>>2]=c[d+(v<<5)+24>>2];c[i+(e<<5)+28>>2]=c[d+(v<<5)+28>>2];g=d+(v<<5)+12|0;f=c[g>>2]|0;if((f|0)==0){c[i+(e<<5)+12>>2]=0}else{k=0;while(1){if((c[f+(k<<2)>>2]|0)>-1){k=k+1|0}else{break}}f=wJ(a,0,0,0,(k<<2)+4|0)|0;q=f;if((f|0)==0){l=0;break}if((k|0)>0){f=c[g>>2]|0;n=0;while(1){c[q+(n<<2)>>2]=c[f+(n<<2)>>2];m=n+1|0;if((m|0)<(k|0)){n=m}else{x=k;break}}}else{x=0}c[q+(x<<2)>>2]=-1;c[i+(e<<5)+12>>2]=q}k=v+1|0;n=c[d+(k<<5)>>2]|0;f=k+w|0;g=i+(f<<5)|0;if((n|0)>-1){v=k;h=n;e=f;r=g}else{y=g;break c}}return l|0}else{y=u}}while(0);c[y>>2]=-1;l=i;return l|0}function mJ(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;g=a+12|0;h=c[g>>2]|0;i=(f|0)!=0;if(i){c[f>>2]=0}j=nJ(a,b)|0;if((j|0)!=0){k=j;return k|0}j=a+16|0;b=(d|0)==0;l=(e|0)==0;a:while(1){m=c[g>>2]|0;if((m|0)<=(h|0)){k=0;n=28;break}o=m-1|0;c[g>>2]=o;m=c[(c[j>>2]|0)+(o<<2)>>2]|0;o=c[m>>2]|0;do{if((o|0)==3){p=c[m+4>>2]|0;q=c[p>>2]|0;if((c[q+8>>2]|0)!=0){r=nJ(a,q)|0;break}q=c[p+4>>2]|0;if((c[q+8>>2]|0)==0){continue a}r=nJ(a,q)|0}else if((o|0)==0){q=c[m+4>>2]|0;p=c[q>>2]|0;if((p|0)==(-2|0)){if(l){continue a}c[e>>2]=c[e>>2]|c[q+4>>2];continue a}else if((p|0)!=(-3|0)){continue a}p=c[q+4>>2]|0;if(!((p|0)>-1)){continue a}do{if(!b){q=0;while(1){s=d+(q<<2)|0;t=c[s>>2]|0;if(!((t|0)>-1)){n=14;break}u=q+1|0;if((t|0)==(p|0)){n=13;break}else{q=u}}if((n|0)==13){n=0;if((p|0)<0){v=u}else{break}}else if((n|0)==14){n=0;v=q+1|0}c[s>>2]=p;c[d+(v<<2)>>2]=-1}}while(0);if(!i){continue a}c[f>>2]=(c[f>>2]|0)+1;continue a}else if((o|0)==1){p=c[m+4>>2]|0;t=nJ(a,c[p>>2]|0)|0;if((t|0)!=0){k=t;n=28;break a}r=nJ(a,c[p+4>>2]|0)|0}else if((o|0)==2){p=c[c[m+4>>2]>>2]|0;if((c[p+8>>2]|0)==0){continue a}r=nJ(a,p)|0}else{continue a}}while(0);if((r|0)!=0){k=r;n=28;break}}if((n|0)==28){return k|0}return 0}function nJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=a+12|0;e=c[d>>2]|0;f=a|0;g=c[f>>2]|0;if((e|0)<(g|0)){c[(c[a+16>>2]|0)+(e<<2)>>2]=b;c[d>>2]=(c[d>>2]|0)+1;h=0;return h|0}d=c[a+4>>2]|0;if((g|0)>=(d|0)){h=12;return h|0}e=(c[a+8>>2]|0)+g|0;g=(e|0)>(d|0)?d:e;e=a+16|0;d=dK(c[e>>2]|0,g<<2)|0;if((d|0)==0){h=12;return h|0}else{c[f>>2]=g;c[e>>2]=d;nJ(a,b)|0;return 0}return 0}function oJ(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,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;j=b+12|0;k=c[j>>2]|0;nJ(b,d)|0;d=nJ(b,0)|0;a:do{if((d|0)==0){l=b+16|0;m=(e&1|0)==0;n=(e&2|0)==0;o=h;p=1;q=0;b:while(1){r=c[j>>2]|0;if((r|0)<=(k|0)){s=q;t=0;break a}u=r-1|0;c[j>>2]=u;v=c[l>>2]|0;w=c[v+(u<<2)>>2]|0;if((w|0)==1){u=r-2|0;c[j>>2]=u;o=c[v+(u<<2)>>2]|0;p=p;q=q;continue}else if((w|0)!=0){o=o;p=p;q=q;continue}w=r-2|0;c[j>>2]=w;r=c[v+(w<<2)>>2]|0;w=c[r>>2]|0;do{if((w|0)==3){v=c[r+4>>2]|0;u=v;x=c[u>>2]|0;y=v+4|0;v=c[y>>2]|0;z=wJ(a,0,0,1,32)|0;if((z|0)==0){A=20;break b}B=wJ(a,0,0,1,8)|0;C=z+4|0;c[C>>2]=B;if((B|0)==0){A=20;break b}c[z>>2]=3;c[z+8>>2]=-1;c[z+12>>2]=-1;c[B>>2]=x;c[(c[C>>2]|0)+4>>2]=v;c[z+16>>2]=(c[v+16>>2]|0)+(c[x+16>>2]|0);c[o>>2]=z;z=c[C>>2]|0;C=nJ(b,c[y>>2]|0)|0;if((C|0)!=0){s=q;t=C;break a}C=nJ(b,0)|0;if((C|0)!=0){s=q;t=C;break a}C=nJ(b,z+4|0)|0;if((C|0)!=0){s=q;t=C;break a}C=nJ(b,1)|0;if((C|0)!=0){s=q;t=C;break a}C=nJ(b,c[u>>2]|0)|0;if((C|0)!=0){s=q;t=C;break a}D=nJ(b,0)|0;E=q;F=p;G=z}else if((w|0)==0){z=c[r+4>>2]|0;C=c[z+8>>2]|0;u=c[z>>2]|0;y=c[z+4>>2]|0;do{if((u|0)>-1|(u|0)==-4){H=q+1|0;I=p;J=y;K=u;L=(c[f>>2]|0)+C|0}else{if(!((u|0)==-3)){H=q;I=p;J=y;K=u;L=C;break}if(!m){H=q;I=p;J=-1;K=-1;L=-1;break}if(n|(p|0)==0){H=q;I=p;J=y;K=-3;L=C;break}c[g+(y<<2)>>2]=1;H=q;I=0;J=y;K=-3;L=C}}while(0);C=wJ(a,0,0,1,32)|0;y=C;do{if((C|0)==0){M=0}else{u=wJ(a,0,0,1,20)|0;c[C+4>>2]=u;if((u|0)==0){M=0;break}c[C>>2]=0;c[C+8>>2]=-1;c[C+12>>2]=-1;c[u>>2]=K;c[u+4>>2]=J;c[u+8>>2]=L;M=y}}while(0);c[o>>2]=M;y=(M|0)==0?12:0;if((L|0)<=(c[i>>2]|0)){D=y;E=H;F=I;G=o;break}c[i>>2]=L;D=y;E=H;F=I;G=o}else if((w|0)==1){y=c[r+4>>2]|0;C=y;u=c[C>>2]|0;z=y+4|0;y=c[z>>2]|0;x=wJ(a,0,0,1,32)|0;if((x|0)==0){A=29;break b}v=wJ(a,0,0,1,8)|0;B=x+4|0;c[B>>2]=v;if((v|0)==0){A=29;break b}c[x>>2]=1;c[x+8>>2]=-1;c[x+12>>2]=-1;c[v>>2]=u;c[(c[B>>2]|0)+4>>2]=y;c[x+16>>2]=(c[y+16>>2]|0)+(c[u+16>>2]|0);c[o>>2]=x;x=c[B>>2]|0;B=x;c[B>>2]=0;u=x+4|0;c[u>>2]=0;x=nJ(b,c[z>>2]|0)|0;if((x|0)!=0){s=q;t=x;break a}x=nJ(b,0)|0;if((x|0)!=0){s=q;t=x;break a}x=nJ(b,u)|0;if((x|0)!=0){s=q;t=x;break a}x=nJ(b,1)|0;if((x|0)!=0){s=q;t=x;break a}x=nJ(b,c[C>>2]|0)|0;if((x|0)!=0){s=q;t=x;break a}D=nJ(b,0)|0;E=q;F=p;G=B}else if((w|0)==2){B=c[r+4>>2]|0;x=B;C=nJ(b,c[x>>2]|0)|0;if((C|0)!=0){s=q;t=C;break a}C=nJ(b,0)|0;if((C|0)!=0){s=q;t=C;break a}C=c[x>>2]|0;x=c[B+4>>2]|0;u=c[B+8>>2]|0;z=c[B+12>>2]&1;B=wJ(a,0,0,1,32)|0;if((B|0)==0){A=40;break b}y=wJ(a,0,0,1,16)|0;v=B+4|0;c[v>>2]=y;if((y|0)==0){A=40;break b}c[B>>2]=2;c[B+8>>2]=-1;c[B+12>>2]=-1;c[y>>2]=C;c[y+4>>2]=x;c[y+8>>2]=u;u=y+12|0;c[u>>2]=c[u>>2]&-2|z;c[B+16>>2]=c[C+16>>2];c[o>>2]=B;o=c[v>>2]|0;p=p;q=q;continue b}else{o=o;p=p;q=q;continue b}}while(0);if((D|0)==0){o=G;p=F;q=E}else{s=E;t=D;break a}}if((A|0)==20){c[o>>2]=0;s=q;t=12;break}else if((A|0)==29){c[o>>2]=0;s=q;t=12;break}else if((A|0)==40){c[o>>2]=0;s=q;t=12;break}}else{s=0;t=d}}while(0);c[f>>2]=(c[f>>2]|0)+s;return t|0}function pJ(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;e=wJ(a,0,0,0,8)|0;if((e|0)==0){f=12;return f|0}g=wJ(a,0,0,1,32)|0;h=g;do{if((g|0)!=0){i=wJ(a,0,0,1,20)|0;c[g+4>>2]=i;if((i|0)==0){break}c[g>>2]=0;c[g+8>>2]=-1;c[g+12>>2]=-1;c[i>>2]=-3;c[i+4>>2]=d;c[i+8>>2]=-1;c[e>>2]=h;i=wJ(a,0,0,0,32)|0;j=e+4|0;c[j>>2]=i;if((i|0)==0){f=12;return f|0}k=b+4|0;c[i+4>>2]=c[k>>2];i=b|0;c[c[j>>2]>>2]=c[i>>2];l=c[j>>2]|0;c[l+8>>2]=-1;c[l+12>>2]=-1;c[l+24>>2]=0;c[(c[j>>2]|0)+28>>2]=0;c[(c[j>>2]|0)+20>>2]=0;c[k>>2]=e;c[i>>2]=1;f=0;return f|0}}while(0);c[e>>2]=0;f=12;return f|0}function qJ(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;e=wJ(a,0,0,0,8)|0;if((e|0)==0){f=12;return f|0}g=wJ(a,0,0,1,32)|0;h=g;do{if((g|0)!=0){i=wJ(a,0,0,1,20)|0;c[g+4>>2]=i;if((i|0)==0){break}c[g>>2]=0;c[g+8>>2]=-1;c[g+12>>2]=-1;c[i>>2]=-3;c[i+4>>2]=d;c[i+8>>2]=-1;c[e+4>>2]=h;i=wJ(a,0,0,0,32)|0;j=e;c[j>>2]=i;if((i|0)==0){f=12;return f|0}k=b+4|0;c[i+4>>2]=c[k>>2];i=b|0;c[c[j>>2]>>2]=c[i>>2];l=c[j>>2]|0;c[l+8>>2]=-1;c[l+12>>2]=-1;c[l+24>>2]=0;c[(c[j>>2]|0)+28>>2]=0;c[(c[j>>2]|0)+20>>2]=0;c[k>>2]=e;c[i>>2]=1;f=0;return f|0}}while(0);c[e+4>>2]=0;f=12;return f|0}function rJ(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[c[(c[a>>2]|0)+4>>2]>>2]|0;a=c[c[(c[b>>2]|0)+4>>2]>>2]|0;if((d|0)<(a|0)){e=-1;return e|0}e=(d|0)>(a|0)|0;return e|0}function sJ(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,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,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0;g=i;i=i+16|0;h=g|0;j=g+8|0;k=c[a+4>>2]|0;a=k;l=k+40|0;m=c[l>>2]|0;do{if((m|0)<1|(d|0)==0){n=0}else{o=aK(m<<2)|0;if((o|0)==0){p=12}else{n=o;break}i=g;return p|0}}while(0);m=n;a:do{if((c[k+60>>2]|0)==0){c[h>>2]=0;o=f&1;q=f&2;r=k+56|0;s=c[r>>2]&4;if((n|0)==0){t=0}else{t=c[l>>2]|0}u=t<<2;v=c[k+52>>2]|0;w=v<<3;x=w+8|0;y=u+12+w+(x+(ia(u,v)|0)<<1)|0;z=aK(y)|0;if((z|0)==0){A=12;break}DK(z|0,0,y|0)|0;y=z;B=z+u&3;C=((B|0)==0?0:4-B|0)+u|0;B=z+C|0;D=C+x|0;C=z+D&3;E=((C|0)==0?0:4-C|0)+D|0;D=z+E|0;C=E+x|0;x=z+C&3;E=((x|0)==0?0:4-x|0)+C|0;C=z+E|0;x=E+w|0;w=z+x&3;if((v|0)>0){E=t<<3;F=0;G=z+(((w|0)==0?0:4-w|0)+x)|0;while(1){c[D+(F<<3)+4>>2]=G;c[B+(F<<3)+4>>2]=G+u;x=F+1|0;if((x|0)<(v|0)){F=x;G=G+E|0}else{H=0;break}}do{c[C+(H<<3)>>2]=-1;H=H+1|0;}while((H|0)<(v|0))}v=bJ(h,b,4)|0;if((v|0)<1){if((v|0)<0){A=1;break}I=v+1|0}else{I=v}v=k+8|0;E=(s|0)==0;G=(o|0)==0;F=(t|0)>0;x=k+12|0;w=k+44|0;J=k+32|0;K=k+36|0;L=(t|0)==0;M=F^1;N=0;O=b+I|0;P=0;Q=I;R=D;S=y;T=0;U=-1;V=B;W=B;while(1){if((U|0)<0){X=c[v>>2]|0;Y=X+8|0;b:do{if((c[Y>>2]|0)==0){Z=W;_=U;$=T}else{aa=(P|0)==0;ba=(N|0)==95;ca=(P|0)<1&G;da=((N|0)!=10|E)^1;ea=W;fa=U;ga=T;ha=X;ja=Y;while(1){ka=ha;la=ja;c:while(1){ma=ka+12|0;if((c[C+(c[ma>>2]<<3)>>2]|0)>=(P|0)){na=ga;oa=fa;pa=ea;break}qa=ka+20|0;ra=c[qa>>2]|0;if((ra|0)==0){sa=260;break}d:do{if((ra&1|0)==0|ca|da){if((ra&2|0)!=0){ta=c[h>>2]|0;if((ta|q|0)!=0&((ta|0)!=10|E)){break}}do{if((ra&16|0)!=0){if(ba){break d}if((HI(N)|0)!=0){break d}ta=c[h>>2]|0;if((ta|0)==95){break}if((HI(ta)|0)==0){break d}}}while(0);ta=c[qa>>2]|0;if((ta&32|0)==0){ua=ta}else{if(!ba){if((HI(N)|0)==0){break}}ta=c[h>>2]|0;if((ta|0)==95){break}if((HI(ta)|0)!=0){break}ua=c[qa>>2]|0}do{if((ua&64|0)==0|aa){va=ua}else{ta=c[h>>2]|0;if((ta|0)==0){va=ua;break}if(ba){wa=1;xa=ta}else{ta=(HI(N)|0)!=0|0;wa=ta;xa=c[h>>2]|0}if((xa|0)==95){ya=1}else{ya=(HI(xa)|0)!=0|0}if((wa|0)==(ya|0)){break d}va=c[qa>>2]|0}}while(0);if((va&128|0)==0){sa=260;break c}if(aa){break}ta=c[h>>2]|0;if((ta|0)==0){break}if(ba){za=1;Aa=ta}else{ta=(HI(N)|0)!=0|0;za=ta;Aa=c[h>>2]|0}if((Aa|0)==95){Ba=1}else{Ba=(HI(Aa)|0)!=0|0}if((za|0)==(Ba|0)){sa=260;break c}}}while(0);qa=ka+40|0;if((c[qa>>2]|0)==0){Z=ea;_=fa;$=ga;break b}else{ka=ka+32|0;la=qa}}if((sa|0)==260){sa=0;qa=ea|0;c[qa>>2]=c[la>>2];if(F){DK(c[ea+4>>2]|0,-1|0,u|0)|0}ra=c[ka+16>>2]|0;do{if((ra|0)!=0){ta=c[ra>>2]|0;if(!((ta|0)>-1)){break}Ca=ea+4|0;Da=ra;Ea=ta;do{if((Ea|0)<(t|0)){c[(c[Ca>>2]|0)+(Ea<<2)>>2]=P}Da=Da+4|0;Ea=c[Da>>2]|0;}while((Ea|0)>-1)}}while(0);ra=(c[qa>>2]|0)!=(c[x>>2]|0);if(ra|M){Fa=ra?ga:1;Ga=ra?fa:P;Ha=ea+4|0}else{ra=ea+4|0;la=c[ra>>2]|0;Ea=0;while(1){c[n+(Ea<<2)>>2]=c[la+(Ea<<2)>>2];Da=Ea+1|0;if((Da|0)<(t|0)){Ea=Da}else{Fa=1;Ga=P;Ha=ra;break}}}c[C+(c[ma>>2]<<3)>>2]=P;c[C+(c[ma>>2]<<3)+4>>2]=Ha;na=Fa;oa=Ga;pa=ea+8|0}ra=ka+40|0;if((c[ra>>2]|0)==0){Z=pa;_=oa;$=na;break}else{ea=pa;fa=oa;ga=na;ha=ka+32|0;ja=ra}}}}while(0);c[Z>>2]=0;Ia=$;Ja=_}else{if(L|(W|0)==(V|0)){Ka=U;break}else{Ia=T;Ja=U}}Y=c[h>>2]|0;if((Y|0)==0){Ka=Ja;break}X=P+Q|0;ja=bJ(h,O,4)|0;if((ja|0)<1){if((ja|0)<0){A=1;break a}La=ja+1|0}else{La=ja}ja=O+La|0;if((c[w>>2]|0)==0|(Ia|0)==0){Ma=V;Na=Ia;Oa=R}else{ha=V|0;ga=c[ha>>2]|0;if((ga|0)==0){Pa=R}else{fa=R;ea=ha;ha=ga;while(1){ga=c[K>>2]|0;ba=c[ga>>2]|0;aa=ea+4|0;e:do{if((ba|0)>-1){da=0;ca=ba;while(1){ra=c[ga+((da|1)<<2)>>2]|0;if((ca|0)>=(t|0)){Qa=fa;break e}Ea=c[aa>>2]|0;if((c[Ea+(ra<<2)>>2]|0)==(c[n+(ra<<2)>>2]|0)){if((c[Ea+(ca<<2)>>2]|0)<(c[n+(ca<<2)>>2]|0)){Qa=fa;break e}}Ea=da+2|0;ra=c[ga+(Ea<<2)>>2]|0;if((ra|0)>-1){da=Ea;ca=ra}else{sa=287;break}}}else{sa=287}}while(0);if((sa|0)==287){sa=0;c[fa>>2]=ha;ga=fa+4|0;ba=c[ga>>2]|0;c[ga>>2]=c[aa>>2];c[aa>>2]=ba;Qa=fa+8|0}ba=ea+8|0;ga=c[ba>>2]|0;if((ga|0)==0){Pa=Qa;break}else{fa=Qa;ea=ba;ha=ga}}}c[Pa>>2]=0;Ma=R;Na=0;Oa=V}ha=c[Ma>>2]|0;if((ha|0)==0){Ra=Oa;Sa=Ja;Ta=Na;Ua=S}else{ea=(X|0)==0;fa=(Y|0)==95;ga=(X|0)<1&G;ba=((Y|0)!=10|E)^1;ca=Ma;da=Oa;ka=Ja;ra=Na;Ea=S;la=ha;while(1){ha=la+8|0;if((c[ha>>2]|0)==0){Va=da;Wa=ka;Xa=ra;Ya=Ea}else{qa=ca+4|0;Da=da;Ca=ka;ta=ra;Za=Ea;_a=la;$a=ha;while(1){f:do{if((c[_a>>2]|0)>>>0>Y>>>0){ab=Za;bb=ta;cb=Ca;db=Da}else{if((c[_a+4>>2]|0)>>>0>>0){ab=Za;bb=ta;cb=Ca;db=Da;break}ha=_a+20|0;eb=c[ha>>2]|0;g:do{if((eb|0)!=0){if(!((eb&1|0)==0|ga|ba)){ab=Za;bb=ta;cb=Ca;db=Da;break f}if((eb&2|0)!=0){fb=c[h>>2]|0;if((fb|q|0)!=0&((fb|0)!=10|E)){ab=Za;bb=ta;cb=Ca;db=Da;break f}}do{if((eb&16|0)!=0){if(fa){ab=Za;bb=ta;cb=Ca;db=Da;break f}if((HI(Y)|0)!=0){ab=Za;bb=ta;cb=Ca;db=Da;break f}fb=c[h>>2]|0;if((fb|0)==95){break}if((HI(fb)|0)==0){ab=Za;bb=ta;cb=Ca;db=Da;break f}}}while(0);fb=c[ha>>2]|0;if((fb&32|0)==0){gb=fb}else{if(!fa){if((HI(Y)|0)==0){ab=Za;bb=ta;cb=Ca;db=Da;break f}}fb=c[h>>2]|0;if((fb|0)==95){ab=Za;bb=ta;cb=Ca;db=Da;break f}if((HI(fb)|0)!=0){ab=Za;bb=ta;cb=Ca;db=Da;break f}gb=c[ha>>2]|0}do{if((gb&64|0)==0|ea){hb=gb}else{fb=c[h>>2]|0;if((fb|0)==0){hb=gb;break}if(fa){ib=1;jb=fb}else{fb=(HI(Y)|0)!=0|0;ib=fb;jb=c[h>>2]|0}if((jb|0)==95){kb=1}else{kb=(HI(jb)|0)!=0|0}if((ib|0)==(kb|0)){ab=Za;bb=ta;cb=Ca;db=Da;break f}hb=c[ha>>2]|0}}while(0);if((hb&128|0)==0){lb=hb}else{if(ea){ab=Za;bb=ta;cb=Ca;db=Da;break f}fb=c[h>>2]|0;if((fb|0)==0){ab=Za;bb=ta;cb=Ca;db=Da;break f}if(fa){mb=1;nb=fb}else{fb=(HI(Y)|0)!=0|0;mb=fb;nb=c[h>>2]|0}if((nb|0)==95){ob=1}else{ob=(HI(nb)|0)!=0|0}if((mb|0)!=(ob|0)){ab=Za;bb=ta;cb=Ca;db=Da;break f}lb=c[ha>>2]|0}do{if((lb&4|0)==0){pb=lb}else{if((c[r>>2]&2|0)!=0){pb=lb;break}if((LI(Y,c[_a+24>>2]|0)|0)==0){ab=Za;bb=ta;cb=Ca;db=Da;break f}pb=c[ha>>2]|0}}while(0);do{if((pb&4|0)!=0){if((c[r>>2]&2|0)==0){break}fb=XI(Y)|0;qb=_a+24|0;if((LI(fb,c[qb>>2]|0)|0)!=0){break}fb=VI(Y)|0;if((LI(fb,c[qb>>2]|0)|0)==0){ab=Za;bb=ta;cb=Ca;db=Da;break f}}}while(0);if((c[ha>>2]&8|0)==0){break}qb=c[_a+28>>2]|0;fb=c[qb>>2]|0;if((fb|0)==0){break}if((c[r>>2]&2|0)==0){rb=qb;sb=fb;while(1){if((LI(Y,sb)|0)!=0){ab=Za;bb=ta;cb=Ca;db=Da;break f}rb=rb+4|0;sb=c[rb>>2]|0;if((sb|0)==0){break g}}}else{tb=qb}do{sb=VI(Y)|0;if((LI(sb,c[tb>>2]|0)|0)!=0){ab=Za;bb=ta;cb=Ca;db=Da;break f}sb=XI(Y)|0;if((LI(sb,c[tb>>2]|0)|0)!=0){ab=Za;bb=ta;cb=Ca;db=Da;break f}tb=tb+4|0;}while((c[tb>>2]|0)!=0)}}while(0);if(F){ha=c[qa>>2]|0;eb=0;do{c[Za+(eb<<2)>>2]=c[ha+(eb<<2)>>2];eb=eb+1|0;}while((eb|0)<(t|0))}eb=c[_a+16>>2]|0;do{if((eb|0)!=0){ha=c[eb>>2]|0;if((ha|0)>-1){ub=eb;vb=ha}else{break}do{if((vb|0)<(t|0)){c[Za+(vb<<2)>>2]=X}ub=ub+4|0;vb=c[ub>>2]|0;}while((vb|0)>-1)}}while(0);eb=_a+12|0;ha=c[eb>>2]|0;qb=C+(ha<<3)|0;if((c[qb>>2]|0)<(X|0)){sb=Da|0;c[sb>>2]=c[$a>>2];rb=Da+4|0;fb=c[rb>>2]|0;c[rb>>2]=Za;c[qb>>2]=X;c[C+(c[eb>>2]<<3)+4>>2]=rb;do{if((c[sb>>2]|0)==(c[x>>2]|0)){if((Ca|0)==-1){if(!F){wb=1;xb=X;break}yb=c[rb>>2]|0}else{if(!F){wb=ta;xb=Ca;break}eb=c[rb>>2]|0;if((c[eb>>2]|0)>(c[n>>2]|0)){wb=ta;xb=Ca;break}else{yb=eb}}eb=0;while(1){c[n+(eb<<2)>>2]=c[yb+(eb<<2)>>2];qb=eb+1|0;if((qb|0)<(t|0)){eb=qb}else{wb=1;xb=X;break}}}else{wb=ta;xb=Ca}}while(0);ab=fb;bb=wb;cb=xb;db=Da+8|0;break}else{rb=c[J>>2]|0;sb=c[C+(ha<<3)+4>>2]|0;eb=c[sb>>2]|0;if(F){zb=0}else{ab=Za;bb=ta;cb=Ca;db=Da;break}while(1){qb=c[Za+(zb<<2)>>2]|0;Ab=c[eb+(zb<<2)>>2]|0;if((c[rb+(zb<<2)>>2]|0)==0){if((qb|0)<(Ab|0)){break}if((qb|0)>(Ab|0)){ab=Za;bb=ta;cb=Ca;db=Da;break f}}else{if((qb|0)>(Ab|0)){break}if((qb|0)<(Ab|0)){ab=Za;bb=ta;cb=Ca;db=Da;break f}}Ab=zb+1|0;if((Ab|0)<(t|0)){zb=Ab}else{ab=Za;bb=ta;cb=Ca;db=Da;break f}}c[sb>>2]=Za;if((c[$a>>2]|0)==(c[x>>2]|0)){Bb=0}else{ab=eb;bb=ta;cb=Ca;db=Da;break}while(1){c[n+(Bb<<2)>>2]=c[Za+(Bb<<2)>>2];rb=Bb+1|0;if((rb|0)<(t|0)){Bb=rb}else{ab=eb;bb=1;cb=X;db=Da;break}}}}}while(0);eb=_a+40|0;if((c[eb>>2]|0)==0){Va=db;Wa=cb;Xa=bb;Ya=ab;break}else{Da=db;Ca=cb;ta=bb;Za=ab;_a=_a+32|0;$a=eb}}}$a=ca+8|0;_a=c[$a>>2]|0;if((_a|0)==0){Ra=Va;Sa=Wa;Ta=Xa;Ua=Ya;break}else{ca=$a;da=Va;ka=Wa;ra=Xa;Ea=Ya;la=_a}}}c[Ra>>2]=0;N=Y;O=ja;P=X;Q=La;R=Ma;S=Ua;T=Ta;U=Sa;V=Oa;W=Ra}bK(z);Cb=Ka>>>31;Db=Ka;sa=375}else{c[j>>2]=0;W=f&1;V=f&2;U=k+56|0;T=c[U>>2]&4;S=uJ(0,0)|0;if((S|0)==0){A=12;break}R=wJ(S,0,0,0,32)|0;Q=R;if((R|0)==0){vJ(S);A=12;break}c[R+24>>2]=0;c[R+28>>2]=0;R=c[l>>2]|0;if((R|0)==0){Eb=0;sa=9}else{P=aK(R<<2)|0;O=P;if((P|0)==0){Fb=12;Gb=0;Hb=0;Ib=O;Jb=0}else{Eb=O;sa=9}}do{if((sa|0)==9){O=Eb;P=c[k+28>>2]|0;if((P|0)==0){Kb=0}else{N=aK(P<<3)|0;P=N;if((N|0)==0){Fb=12;Gb=P;Hb=0;Ib=Eb;Jb=0;break}else{Kb=P}}P=k+52|0;N=c[P>>2]|0;if((N|0)==0){Lb=0}else{x=aK(N<<2)|0;N=x;if((x|0)==0){Fb=12;Gb=Kb;Hb=N;Ib=Eb;Jb=0;break}else{Lb=N}}N=Lb;x=(n|0)==0;F=k+8|0;C=k+12|0;J=k+32|0;r=(T|0)==0;E=(W|0)==0;q=b;G=1;K=-1;w=-1;L=Q;M=R;h:while(1){do{if((M|0)>0){if(x){DK(O|0,-1|0,M<<2|0)|0;break}else{u=0;do{c[Eb+(u<<2)>>2]=-1;c[n+(u<<2)>>2]=-1;u=u+1|0;}while((u|0)<(c[l>>2]|0))}}}while(0);u=c[P>>2]|0;if((u|0)>0){DK(N|0,0,u<<2|0)|0}u=c[j>>2]|0;v=G+K|0;B=bJ(j,q,4)|0;if((B|0)<1){if((B|0)<0){A=1;break a}Mb=B+1|0}else{Mb=B}B=q+Mb|0;y=c[j>>2]|0;D=c[F>>2]|0;o=D+8|0;if((c[o>>2]|0)==0){Nb=Mb;Ob=w;Pb=L;Qb=0;sa=196}else{s=(v|0)==0;la=(u|0)==95;Ea=(v|0)<1&E;ra=((u|0)!=10|r)^1;ka=0;da=0;ca=L;fa=D;D=o;while(1){o=fa+20|0;ea=c[o>>2]|0;i:do{if((ea|0)==0){sa=56}else{if(!((ea&1|0)==0|Ea|ra)){Rb=ca;Sb=da;Tb=ka;break}if((ea&2|0)!=0){ba=c[j>>2]|0;if((ba|V|0)!=0&((ba|0)!=10|r)){Rb=ca;Sb=da;Tb=ka;break}}do{if((ea&16|0)!=0){if(la){Rb=ca;Sb=da;Tb=ka;break i}if((HI(u)|0)!=0){Rb=ca;Sb=da;Tb=ka;break i}ba=c[j>>2]|0;if((ba|0)==95){break}if((HI(ba)|0)==0){Rb=ca;Sb=da;Tb=ka;break i}}}while(0);ba=c[o>>2]|0;if((ba&32|0)==0){Ub=ba}else{if(!la){if((HI(u)|0)==0){Rb=ca;Sb=da;Tb=ka;break}}ba=c[j>>2]|0;if((ba|0)==95){Rb=ca;Sb=da;Tb=ka;break}if((HI(ba)|0)!=0){Rb=ca;Sb=da;Tb=ka;break}Ub=c[o>>2]|0}do{if((Ub&64|0)==0|s){Vb=Ub}else{ba=c[j>>2]|0;if((ba|0)==0){Vb=Ub;break}if(la){Wb=1;Xb=ba}else{ba=(HI(u)|0)!=0|0;Wb=ba;Xb=c[j>>2]|0}if((Xb|0)==95){Yb=1}else{Yb=(HI(Xb)|0)!=0|0}if((Wb|0)==(Yb|0)){Rb=ca;Sb=da;Tb=ka;break i}Vb=c[o>>2]|0}}while(0);if((Vb&128|0)==0){sa=56;break}if(s){Rb=ca;Sb=da;Tb=ka;break}ba=c[j>>2]|0;if((ba|0)==0){Rb=ca;Sb=da;Tb=ka;break}if(la){Zb=1;_b=ba}else{ba=(HI(u)|0)!=0|0;Zb=ba;_b=c[j>>2]|0}if((_b|0)==95){$b=1}else{$b=(HI(_b)|0)!=0|0}if((Zb|0)==($b|0)){sa=56}else{Rb=ca;Sb=da;Tb=ka}}}while(0);do{if((sa|0)==56){sa=0;if((ka|0)==0){Rb=ca;Sb=c[fa+16>>2]|0;Tb=c[D>>2]|0;break}o=ca+28|0;ea=c[o>>2]|0;if((ea|0)==0){ba=wJ(S,0,0,0,32)|0;ga=ba;if((ba|0)==0){sa=60;break h}c[ba+24>>2]=ca;c[ba+28>>2]=0;_a=wJ(S,0,0,0,c[l>>2]<<2)|0;c[ba+20>>2]=_a;if((_a|0)==0){sa=67;break h}c[o>>2]=ga;ac=ga}else{ac=ea}c[ac>>2]=v;c[ac+4>>2]=B;c[ac+8>>2]=c[D>>2];c[ac+12>>2]=c[fa+12>>2];c[ac+16>>2]=c[j>>2];if((c[l>>2]|0)>0){ea=c[ac+20>>2]|0;ga=0;do{c[ea+(ga<<2)>>2]=c[Eb+(ga<<2)>>2];ga=ga+1|0;}while((ga|0)<(c[l>>2]|0))}ga=c[fa+16>>2]|0;if((ga|0)==0){Rb=ac;Sb=da;Tb=ka;break}ea=c[ga>>2]|0;if(!((ea|0)>-1)){Rb=ac;Sb=da;Tb=ka;break}o=c[ac+20>>2]|0;_a=ga;ga=ea;while(1){ea=_a+4|0;c[o+(ga<<2)>>2]=v;ba=c[ea>>2]|0;if((ba|0)>-1){_a=ea;ga=ba}else{Rb=ac;Sb=da;Tb=ka;break}}}}while(0);ga=fa+40|0;if((c[ga>>2]|0)==0){break}else{ka=Tb;da=Sb;ca=Rb;fa=fa+32|0;D=ga}}do{if((Sb|0)==0){bc=0}else{D=c[Sb>>2]|0;if((D|0)>-1){cc=Sb;dc=D}else{bc=Sb;break}while(1){c[Eb+(dc<<2)>>2]=v;D=cc+4|0;fa=c[D>>2]|0;if((fa|0)>-1){cc=D;dc=fa}else{bc=D;break}}}}while(0);if((Tb|0)==0){Nb=Mb;Ob=w;Pb=Rb;Qb=bc;sa=196}else{ec=B;fc=v;gc=Mb;hc=w;ic=Rb;jc=bc;kc=Tb}}j:while(1){if((sa|0)==196){sa=0;D=c[Pb+24>>2]|0;if((D|0)==0){break}fa=c[Pb+8>>2]|0;if((c[fa+20>>2]&256|0)!=0){c[Lb+(c[Pb+12>>2]<<2)>>2]=0}ca=c[Pb>>2]|0;da=c[Pb+4>>2]|0;c[j>>2]=c[Pb+16>>2];ka=c[l>>2]|0;if((ka|0)<=0){ec=da;fc=ca;gc=Nb;hc=Ob;ic=D;jc=Qb;kc=fa;continue}u=c[Pb+20>>2]|0;la=0;while(1){c[Eb+(la<<2)>>2]=c[u+(la<<2)>>2];s=la+1|0;if((s|0)<(ka|0)){la=s}else{ec=da;fc=ca;gc=Nb;hc=Ob;ic=D;jc=Qb;kc=fa;continue j}}}if((kc|0)==(c[C>>2]|0)){lc=jc;mc=ic;nc=gc;oc=fc}else{fa=kc;D=jc;ca=ic;da=gc;la=fc;ka=ec;while(1){u=fa+8|0;do{if((c[u>>2]|0)==0){sa=109}else{if((c[fa+20>>2]&256|0)==0){sa=109;break}s=c[fa+24>>2]|0;tJ(s+1|0,Kb,c[U>>2]&-9,a,Eb,la);ra=c[Kb+(s<<3)>>2]|0;Ea=c[Kb+(s<<3)+4>>2]|0;s=Ea-ra|0;if((zK(b+ra|0,ka-1|0,s)|0)!=0){Nb=da;Ob=hc;Pb=ca;Qb=D;sa=196;continue j}ga=(Ea|0)==(ra|0);ra=ga&1;Ea=Lb+(c[fa+12>>2]<<2)|0;if(ga){if((c[Ea>>2]|0)!=0){Nb=da;Ob=hc;Pb=ca;Qb=D;sa=196;continue j}}c[Ea>>2]=ra;ra=s-1|0;s=ra+la|0;Ea=c[j>>2]|0;ga=bJ(j,ka+ra|0,4)|0;if((ga|0)<1){if((ga|0)<0){A=1;break a}pc=ga+1|0}else{pc=ga}qc=Ea;rc=pc+ra|0;sc=s;tc=pc}}while(0);do{if((sa|0)==109){sa=0;s=c[j>>2]|0;if((s|0)==0){Nb=da;Ob=hc;Pb=ca;Qb=D;sa=196;continue j}ra=bJ(j,ka,4)|0;if((ra|0)>=1){qc=s;rc=ra;sc=la;tc=ra;break}if((ra|0)<0){A=1;break a}Ea=ra+1|0;qc=s;rc=Ea;sc=la;tc=Ea}}while(0);Ea=ka+rc|0;s=sc+da|0;if((c[u>>2]|0)==0){Nb=tc;Ob=hc;Pb=ca;Qb=D;sa=196;continue j}ra=(s|0)==0;ga=(qc|0)==95;_a=(s|0)<1&E;o=((qc|0)!=10|r)^1;ba=D;ea=ca;$a=fa;Za=0;ta=u;while(1){k:do{if((c[$a>>2]|0)>>>0>qc>>>0){uc=Za;vc=ea;wc=ba}else{if((c[$a+4>>2]|0)>>>0>>0){uc=Za;vc=ea;wc=ba;break}Ca=$a+20|0;Da=c[Ca>>2]|0;l:do{if((Da|0)!=0){if(!((Da&1|0)==0|_a|o)){uc=Za;vc=ea;wc=ba;break k}if((Da&2|0)!=0){qa=c[j>>2]|0;if((qa|V|0)!=0&((qa|0)!=10|r)){uc=Za;vc=ea;wc=ba;break k}}do{if((Da&16|0)!=0){if(ga){uc=Za;vc=ea;wc=ba;break k}if((HI(qc)|0)!=0){uc=Za;vc=ea;wc=ba;break k}qa=c[j>>2]|0;if((qa|0)==95){break}if((HI(qa)|0)==0){uc=Za;vc=ea;wc=ba;break k}}}while(0);qa=c[Ca>>2]|0;if((qa&32|0)==0){xc=qa}else{if(!ga){if((HI(qc)|0)==0){uc=Za;vc=ea;wc=ba;break k}}qa=c[j>>2]|0;if((qa|0)==95){uc=Za;vc=ea;wc=ba;break k}if((HI(qa)|0)!=0){uc=Za;vc=ea;wc=ba;break k}xc=c[Ca>>2]|0}do{if((xc&64|0)==0|ra){yc=xc}else{qa=c[j>>2]|0;if((qa|0)==0){yc=xc;break}if(ga){zc=1;Ac=qa}else{qa=(HI(qc)|0)!=0|0;zc=qa;Ac=c[j>>2]|0}if((Ac|0)==95){Bc=1}else{Bc=(HI(Ac)|0)!=0|0}if((zc|0)==(Bc|0)){uc=Za;vc=ea;wc=ba;break k}yc=c[Ca>>2]|0}}while(0);if((yc&128|0)==0){Cc=yc}else{if(ra){uc=Za;vc=ea;wc=ba;break k}qa=c[j>>2]|0;if((qa|0)==0){uc=Za;vc=ea;wc=ba;break k}if(ga){Dc=1;Ec=qa}else{qa=(HI(qc)|0)!=0|0;Dc=qa;Ec=c[j>>2]|0}if((Ec|0)==95){Fc=1}else{Fc=(HI(Ec)|0)!=0|0}if((Dc|0)!=(Fc|0)){uc=Za;vc=ea;wc=ba;break k}Cc=c[Ca>>2]|0}do{if((Cc&4|0)==0){Gc=Cc}else{if((c[U>>2]&2|0)!=0){Gc=Cc;break}if((LI(qc,c[$a+24>>2]|0)|0)==0){uc=Za;vc=ea;wc=ba;break k}Gc=c[Ca>>2]|0}}while(0);do{if((Gc&4|0)!=0){if((c[U>>2]&2|0)==0){break}qa=XI(qc)|0;aa=$a+24|0;if((LI(qa,c[aa>>2]|0)|0)!=0){break}qa=VI(qc)|0;if((LI(qa,c[aa>>2]|0)|0)==0){uc=Za;vc=ea;wc=ba;break k}}}while(0);if((c[Ca>>2]&8|0)==0){break}aa=c[$a+28>>2]|0;qa=c[aa>>2]|0;if((qa|0)==0){break}if((c[U>>2]&2|0)==0){eb=aa;sb=qa;while(1){if((LI(qc,sb)|0)!=0){uc=Za;vc=ea;wc=ba;break k}eb=eb+4|0;sb=c[eb>>2]|0;if((sb|0)==0){break l}}}else{Hc=aa}do{sb=VI(qc)|0;if((LI(sb,c[Hc>>2]|0)|0)!=0){uc=Za;vc=ea;wc=ba;break k}sb=XI(qc)|0;if((LI(sb,c[Hc>>2]|0)|0)!=0){uc=Za;vc=ea;wc=ba;break k}Hc=Hc+4|0;}while((c[Hc>>2]|0)!=0)}}while(0);if((Za|0)==0){uc=c[ta>>2]|0;vc=ea;wc=c[$a+16>>2]|0;break}Ca=ea+28|0;Da=c[Ca>>2]|0;if((Da|0)==0){aa=wJ(S,0,0,0,32)|0;sb=aa;if((aa|0)==0){sa=169;break h}c[aa+24>>2]=ea;c[aa+28>>2]=0;eb=wJ(S,0,0,0,c[l>>2]<<2)|0;c[aa+20>>2]=eb;if((eb|0)==0){sa=176;break h}c[Ca>>2]=sb;Ic=sb}else{Ic=Da}c[Ic>>2]=s;c[Ic+4>>2]=Ea;c[Ic+8>>2]=c[ta>>2];c[Ic+12>>2]=c[$a+12>>2];c[Ic+16>>2]=c[j>>2];if((c[l>>2]|0)>0){Da=c[Ic+20>>2]|0;sb=0;do{c[Da+(sb<<2)>>2]=c[Eb+(sb<<2)>>2];sb=sb+1|0;}while((sb|0)<(c[l>>2]|0))}sb=c[$a+16>>2]|0;if((sb|0)==0){uc=Za;vc=Ic;wc=ba;break}Da=Ic+20|0;Ca=sb;while(1){sb=c[Ca>>2]|0;if(!((sb|0)>-1)){uc=Za;vc=Ic;wc=ba;break k}c[(c[Da>>2]|0)+(sb<<2)>>2]=s;sb=Ca+4|0;if((sb|0)==0){uc=Za;vc=Ic;wc=ba;break}else{Ca=sb}}}}while(0);Ca=$a+40|0;if((c[Ca>>2]|0)==0){break}else{ba=wc;ea=vc;$a=$a+32|0;Za=uc;ta=Ca}}if((uc|0)==0){Nb=tc;Ob=hc;Pb=vc;Qb=wc;sa=196;continue j}do{if((wc|0)==0){Jc=0}else{ta=c[wc>>2]|0;if((ta|0)>-1){Kc=wc;Lc=ta}else{Jc=wc;break}while(1){ta=Kc+4|0;c[Eb+(Lc<<2)>>2]=s;Za=c[ta>>2]|0;if((Za|0)>-1){Kc=ta;Lc=Za}else{Jc=ta;break}}}}while(0);if((uc|0)==(c[C>>2]|0)){lc=Jc;mc=vc;nc=tc;oc=s;break}else{fa=uc;D=Jc;ca=vc;da=tc;la=s;ka=Ea}}}m:do{if((hc|0)<(oc|0)){sa=96}else{if((hc|0)!=(oc|0)|x){Nb=nc;Ob=hc;Pb=mc;Qb=lc;sa=196;continue j}ka=c[l>>2]|0;la=c[J>>2]|0;if((ka|0)>0){Mc=0}else{Nb=nc;Ob=hc;Pb=mc;Qb=lc;sa=196;continue j}while(1){da=c[Eb+(Mc<<2)>>2]|0;ca=c[n+(Mc<<2)>>2]|0;if((c[la+(Mc<<2)>>2]|0)==0){if((da|0)<(ca|0)){sa=96;break m}if((da|0)>(ca|0)){Nb=nc;Ob=hc;Pb=mc;Qb=lc;sa=196;continue j}}else{if((da|0)>(ca|0)){Nc=ka;break m}if((da|0)<(ca|0)){Nb=nc;Ob=hc;Pb=mc;Qb=lc;sa=196;continue j}}ca=Mc+1|0;if((ca|0)<(ka|0)){Mc=ca}else{Nb=nc;Ob=hc;Pb=mc;Qb=lc;sa=196;continue j}}}}while(0);if((sa|0)==96){sa=0;if(x){Nb=nc;Ob=oc;Pb=mc;Qb=lc;sa=196;continue}Nc=c[l>>2]|0}if((Nc|0)>0){Oc=0}else{Nb=nc;Ob=oc;Pb=mc;Qb=lc;sa=196;continue}while(1){c[n+(Oc<<2)>>2]=c[Eb+(Oc<<2)>>2];ka=Oc+1|0;if((ka|0)<(c[l>>2]|0)){Oc=ka}else{Nb=nc;Ob=oc;Pb=mc;Qb=lc;sa=196;continue j}}}if((Ob|0)>=0){sa=205;break}if((c[j>>2]|0)==0){sa=205;break}c[j>>2]=y;q=B;G=Nb;K=v;w=Ob;L=Pb;M=c[l>>2]|0}if((sa|0)==60){vJ(S);if((Eb|0)!=0){bK(O)}if((Kb|0)!=0){bK(Kb)}if((Lb|0)==0){A=12;break a}bK(N);A=12;break a}else if((sa|0)==67){vJ(S);if((Eb|0)!=0){bK(O)}if((Kb|0)!=0){bK(Kb)}if((Lb|0)==0){A=12;break a}bK(N);A=12;break a}else if((sa|0)==169){vJ(S);if((Eb|0)!=0){bK(O)}if((Kb|0)!=0){bK(Kb)}if((Lb|0)==0){A=12;break a}bK(N);A=12;break a}else if((sa|0)==176){vJ(S);if((Eb|0)!=0){bK(O)}if((Kb|0)!=0){bK(Kb)}if((Lb|0)==0){A=12;break a}bK(N);A=12;break a}else if((sa|0)==205){Fb=Ob>>>31;Gb=Kb;Hb=Lb;Ib=Eb;Jb=Ob;break}}}while(0);vJ(S);if((Ib|0)!=0){bK(Ib)}if((Gb|0)!=0){bK(Gb)}if((Hb|0)==0){Cb=Fb;Db=Jb;sa=375;break}bK(Hb);Cb=Fb;Db=Jb;sa=375}}while(0);do{if((sa|0)==375){if((Cb|0)!=0){A=Cb;break}tJ(d,e,c[k+56>>2]|0,a,n,Db);A=0}}while(0);if((n|0)==0){p=A;i=g;return p|0}bK(m);p=A;i=g;return p|0}function tJ(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,z=0,A=0,B=0,C=0;do{if((g|0)>-1){if((d&8|0)!=0){h=0;break}i=c[e+16>>2]|0;j=e+28|0;k=c[j>>2]|0;l=(a|0)!=0;if((k|0)!=0&l){m=e+48|0;n=0;while(1){o=c[i+(n*12|0)>>2]|0;if((o|0)==(c[m>>2]|0)){c[b+(n<<3)>>2]=g;p=g}else{q=c[f+(o<<2)>>2]|0;c[b+(n<<3)>>2]=q;p=q}q=c[i+(n*12|0)+4>>2]|0;if((q|0)==(c[m>>2]|0)){c[b+(n<<3)+4>>2]=g;r=g}else{o=c[f+(q<<2)>>2]|0;c[b+(n<<3)+4>>2]=o;r=o}if((p|0)==-1|(r|0)==-1){c[b+(n<<3)+4>>2]=-1;c[b+(n<<3)>>2]=-1}o=n+1|0;q=c[j>>2]|0;if(o>>>0>>0&o>>>0>>0){n=o}else{s=q;break}}}else{s=k}if((s|0)!=0&l){t=0;u=s}else{h=0;break}while(1){n=b+(t<<3)+4|0;m=c[i+(t*12|0)+8>>2]|0;do{if((m|0)==0){v=u}else{q=c[m>>2]|0;if(!((q|0)>-1)){v=u;break}o=b+(t<<3)|0;w=0;x=q;q=c[o>>2]|0;while(1){if((q|0)<(c[b+(x<<3)>>2]|0)){y=21}else{if((c[n>>2]|0)>(c[b+(x<<3)+4>>2]|0)){y=21}else{z=q}}if((y|0)==21){y=0;c[n>>2]=-1;c[o>>2]=-1;z=-1}A=w+1|0;B=c[m+(A<<2)>>2]|0;if((B|0)>-1){w=A;x=B;q=z}else{break}}v=c[j>>2]|0}}while(0);m=t+1|0;if(m>>>0>>0&m>>>0>>0){t=m;u=v}else{h=m;break}}}else{h=0}}while(0);if(h>>>0>>0){C=h}else{return}do{c[b+(C<<3)>>2]=-1;c[b+(C<<3)+4>>2]=-1;C=C+1|0;}while(C>>>0>>0);return}function uJ(a,b){a=a|0;b=b|0;var c=0,d=0;if((a|0)==0){c=cK(1,24)|0}else{DK(b|0,0,24)|0;c=b}if((c|0)==0){d=0;return d|0}d=c;return d|0}function vJ(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)==0){d=a;bK(d);return}else{e=b}while(1){bK(c[e>>2]|0);b=c[e+4>>2]|0;bK(e);if((b|0)==0){break}else{e=b}}d=a;bK(d);return}function wJ(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=a+16|0;if((c[g>>2]|0)!=0){h=0;return h|0}i=a+12|0;j=c[i>>2]|0;do{if(j>>>0