>>0){f=da(d+(n<<1)|0,2,0,1)|0|0;h=g+f|0;if((i|0)!=(h|0)){if(i)Bq(a,i-l&65535,j&65535)|0;if(h>>>0>m>>>0){e=0;break a}}else f=f+j|0;e=e+1|0}else{g=i;f=j}n=n+1|0;if((n|0)>=(b|0))break;else{i=g;j=f}}if(g)Bq(a,g-o&65535,f&65535)|0}else e=0;while(0);return e|0}function Iq(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))ba();q=s;k=da(a+56|0,4,0,0)|0|0;h=da(c|0,4,0,0)|0|0;if(!(da(k+1>>0|0,1,0,0)|0))p=(da(k+2>>0|0,1,0,0)|0|0)!=0;else p=1;a:do if((e|0)>0){n=0;while(1){m=da(g+(n<<1)|0,2,0,1)|0|0;if(p?(o=Cq(a,m,q,0)|0,(o|0)!=0):0)l=o;else{l=h+(0-m)|0;if(l>>>0>>0){h=1;break a}else h=l}jw(l|0,da(f+(n<<2)|0,4,0,0)|0|0,m|0)|0;m=l-k|0;ea(d>>0|0,m>>>8|0,1,0);ea(d+1>>0|0,m|0,1,0);n=n+1|0;if((n|0)>=(e|0)){r=9;break}else d=d+2|0}}else r=9;while(0);if((r|0)==9){ea(c|0,h|0,4,0);h=0}i=s;return h|0}function Jq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;d=da(a+44|0,4,0,0)|0|0;g=a;e=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;a:do if(!d){l=a+40|0;d=da(l|0,4,0,0)|0|0;f=((d|0)<0)<<31>>31;k=qw(e|0,g|0,d|0,f|0)|0;if(!k){h=a+8|0;h=cw(da(h|0,4,0,0)|0|0,da(h+4|0,4,0,0)|0|0,e|0,g|0)|0;o=C;p=da(a+24|0,4,0,0)|0|0;d=sc[(fa(da((da(p|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](p,da(a+36|0,4,0,0)|0|0,(o|0)>(f|0)|(o|0)==(f|0)&h>>>0>d>>>0?d:h,e,g)|0;if(d)break;d=da(l|0,4,0,0)|0|0}h=d-k|0;if((h|0)>=(b|0)){ea(c|0,(da(a+36|0,4,0,0)|0|0)+k|0,4,0);d=a;b=iw(da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0,b|0,((b|0)<0)<<31>>31|0)|0;d=a;ea(d|0,b|0,4,0);ea(d+4|0,C|0,4,0);d=0;break}d=a+16|0;e=da(d|0,4,0,0)|0|0;if((e|0)<(b|0)){e=e<<1;e=(e|0)<128?128:e;while(1)if((e|0)<(b|0))e=e<<1;else{g=e;break}f=a+28|0;e=qg(da(f|0,4,0,0)|0|0,g,((g|0)<0)<<31>>31)|0;if(!e){d=7;break}ea(d|0,g|0,4,0);ea(f|0,e|0,4,0)}else e=da(a+28|0,4,0,0)|0|0;g=a+28|0;jw(e|0,(da(a+36|0,4,0,0)|0|0)+k|0,h|0)|0;k=a;k=iw(da(k|0,4,0,0)|0|0,da(k+4|0,4,0,0)|0|0,h|0,((h|0)<0)<<31>>31|0)|0;d=a;ea(d|0,k|0,4,0);ea(d+4|0,C|0,4,0);d=b-h|0;if((d|0)>0){f=d;do{e=da(l|0,4,0,0)|0|0;e=(f|0)>(e|0)?e:f;d=Jq(a,e,m)|0;if(d)break a;jw((da(g|0,4,0,0)|0|0)+(b-f)|0,da(m|0,4,0,0)|0|0,e|0)|0;f=f-e|0}while((f|0)>0)}ea(c|0,da(g|0,4,0,0)|0|0,4,0);d=0}else{ea(c|0,d+e|0,4,0);b=iw(e|0,g|0,b|0,((b|0)<0)<<31>>31|0)|0;d=a;ea(d|0,b|0,4,0);ea(d+4|0,C|0,4,0);d=0}while(0);i=n;return d|0}function Kq(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+64|0;if((i|0)>=(j|0))ba();v=y+44|0;x=y;w=y+40|0;t=a+8|0;s=da(t|0,4,0,0)|0|0;t=da(t+4|0,4,0,0)|0|0;u=a+4|0;o=da(u|0,4,0,0)|0|0;Op(da(a+48|0,4,0,0)|0|0,x,da((da((da(a|0,4,0,0)|0|0)+8|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,s,t);n=o+8|0;o=o+12|0;p=x+24|0;q=x+16|0;r=a+16|0;while(1){e=da((da(n|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;f=da(o|0,4,0,0)|0|0;g=da(f+(e*56|0)+20|0,4,0,0)|0|0;if(!(da(f+(e*56|0)+24|0,4,0,0)|0)){c=1;b=0;break}k=p;h=da(k|0,4,0,0)|0|0;k=da(k+4|0,4,0,0)|0|0;l=da(q|0,4,0,0)|0|0;m=((g|0)<0)<<31>>31;b=g;d=m;c=0;do{c=c+1|0;b=lw(b|0,d|0,7)|0;d=C}while(((b|0)!=0|(d|0)!=0)&(c|0)<9);h=iw(h|0,k|0,g|0,m|0)|0;h=iw(h|0,C|0,l|0,((l|0)<0)<<31>>31|0)|0;c=iw(h|0,C|0,c|0,((c|0)<0)<<31>>31|0)|0;h=C;b=da(r|0,4,0,0)|0|0;b=iw(b|0,((b|0)<0)<<31>>31|0,s|0,t|0)|0;d=C;if((h|0)>(d|0)|(h|0)==(d|0)&c>>>0>b>>>0){c=1;b=0;break}Pp(x,v,om(v,g,m)|0);Pp(x,da(f+(e*56|0)+32|0,4,0,0)|0|0,g);b=Vm(da(u|0,4,0,0)|0|0,w)|0;if(b){c=0;break}}x=Qp(x,a+56|0)|0;i=y;return (c?x:b)|0}function Lq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();e=c;ea(e|0,d|0,4,0);d=Vk(a,13592,e)|0;lg(a,b);i=c;return d|0}function Mq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;e=da(a>>0|0,1,0,0)|0|0;if(e<<24>>24!=0&(b|0)>0){g=0;do{if((e+-48&255)<10){f=0;do{f=(f*10|0)+-48+(e<<24>>24)|0;a=a+1|0;e=da(a>>0|0,1,0,0)|0|0}while((e+-48&255)<10);e=0}else{f=0;e=0}ea(c+(g<<1)|0,es(f,e)|0|0,2,0);a=(da(a>>0|0,1,0,0)|0|0)==32?a+1|0:a;g=g+1|0;e=da(a>>0|0,1,0,0)|0|0}while(e<<24>>24!=0&(g|0)<(b|0))}g=d+51|0;ea(g>>0|0,(da(g>>0|0,1,0,0)|0)&-69|0,1,0);a:do if(da(a>>0|0,1,0,0)|0){c=d+44|0;b:while(1){do if(!(Fh(13448,a,10352,0)|0)){if(Fh(13464,a,10352,0)|0){ea(h|0,0|0,4,0);Cn(a+3|0,h)|0;e=da(h|0,4,0,0)|0|0;ea(c|0,es(e,((e|0)<0)<<31>>31)|0|0,2,0);break}if(Fh(13480,a,10352,0)|0)ea(g>>0|0,da(g>>0|0,1,0,0)|0|64|0,1,0)}else ea(g>>0|0,da(g>>0|0,1,0,0)|0|4|0,1,0);while(0);while(1){e=da(a>>0|0,1,0,0)|0|0;if(e<<24>>24==32|e<<24>>24==0)break;a=a+1|0}while(1){f=a+1|0;if(!(e<<24>>24))break a;else if(e<<24>>24!=32)continue b;e=da(f>>0|0,1,0,0)|0|0;a=f}}}while(0);i=k;return}function Nq(a){a=a|0;var b=0,c=0;c=a+8|0;b=da(c|0,4,0,0)|0|0;if(!b){b=uh(a)|0;ea(c|0,b|0,4,0);if(b)vh(b,155,0,0,0)|0;if((da(a+408|0,4,0,0)|0|0)==0?((da((da(a|0,4,0,0)|0|0)+60|0,2,0,0)|0)&8)==0:0)ea(a+23>>0|0,1|0,1,0)}return b|0}function Oq(a,b){a=a|0;b=b|0;var c=0;c=(da(a+32|0,4,0,0)|0|0)+-1|0;if((c|0)>(da((da(a+24|0,4,0,0)|0|0)+88|0,4,0,0)|0|0)?(da((da(a+4|0,4,0,0)|0|0)+(c*20|0)>>0|0,1,0,0)|0|0)==b<<24>>24:0){yh(a,c);c=1}else c=0;return c|0}function Pq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=Nq(a)|0;f=d+32|0;fs(a,c,da(f|0,4,0,0)|0|0,(e|0)==55&1,da(d|0,4,0,0)|0|0);if(!((da(d+44>>0|0,1,0,0)|0)&32)){d=da(d+38|0,2,0,0)|0|0;wh(g,vh(g,e,b,da(f|0,4,0,0)|0|0,c)|0,d,-14)}else{f=da(d+8|0,4,0,0)|0|0;a:do if(!f)f=0;else while(1){if(((da(f+51>>0|0,1,0,0)|0)&3)==2)break a;f=da(f+20|0,4,0,0)|0|0;if(!f){f=0;break}}while(0);vh(g,e,b,da(f+40|0,4,0,0)|0|0,c)|0;d=da(a+8|0,4,0,0)|0|0;wh(d,-1,gs(a,f)|0,-6)}return}function Qq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((b|0)!=0?(da(b>>0|0,1,0,0)|0|0)==-97:0)vh(da(a+8|0,4,0,0)|0|0,33,da(b+28|0,4,0,0)|0|0,c,0)|0;else f=4;if(((f|0)==4?(e=hs(a,b,c)|0,(e|0)!=(c|0)):0)?(d=da(a+8|0,4,0,0)|0|0,(d|0)!=0):0)vh(d,34,e,c,0)|0;return}function Rq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;f=da(a|0,4,0,0)|0|0;do if(((da(f+145>>0|0,1,0,0)|0|0)==0?(da(a+451>>0|0,1,0,0)|0|0)==0:0)?(g=da(f+284|0,4,0,0)|0|0,(g|0)!=0):0){f=jc[(fa(g|0,7|0)|0)&7](da(f+288|0,4,0,0)|0|0,b,c,d,e,da(a+492|0,4,0,0)|0|0)|0;if((f|0)==0|(f|0)==2)break;else if((f|0)==1){sh(a,25216,h);ea(a+12|0,23|0,4,0);f=1;break}else{sh(a,25232,h);ea(a+12|0,1|0,4,0);f=1;break}}else f=0;while(0);i=k;return f|0}function Sq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=Vq(da(a|0,4,0,0)|0|0,c)|0;do if(c){d=Nq(a)|0;if((d|0)!=0?(Rq(a,32,da(37088+(b<<2)|0,4,0,0)|0|0,c,0)|0)==0:0){wh(d,vh(d,2,b,0,0)|0,c,-1);break}lg(da(a|0,4,0,0)|0|0,c)}while(0);return}function Tq(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();n=r;l=r+4|0;q=da(a|0,4,0,0)|0|0;b=dr(a,b,c,l)|0;a:do if((b|0)>=0){m=(d|0)!=0;if(m?(da(c+4|0,4,0,0)|0|0)!=0&(b|0)!=1:0){sh(a,36976,n);break}p=m?1:b;c=da(l|0,4,0,0)|0|0;m=c;l=da(m+4|0,4,0,0)|0|0;b=a+496|0;ea(b|0,da(m|0,4,0,0)|0|0,4,0);ea(b+4|0,l|0,4,0);l=Vq(q,c)|0;if(l){b:do if((Kr(a,l)|0)==0?(k=(da(q+144>>0|0,1,0,0)|0|0)==1?1:d,o=q+16|0,h=da((da(o|0,4,0,0)|0|0)+(p<<4)|0,4,0,0)|0|0,(Rq(a,18,(k|0)==1?13184:13208,0,h)|0)==0):0){d=(k|0)!=0;if(!e)b=d?4:2;else b=d?6:8;m=(f|0)!=0;if(!m?(Rq(a,b,l,0,h)|0)!=0:0)break;do if(!(da(a+451>>0|0,1,0,0)|0)){d=da((da(o|0,4,0,0)|0|0)+(p<<4)|0,4,0,0)|0|0;if(Fn(a)|0)break b;if(!(Zh(q,l,d)|0)){if(!(aq(q,l,d)|0))break;ea(n|0,l|0,4,0);sh(a,37048,n);break b}if(!g){ea(n|0,c|0,4,0);sh(a,37024,n);break b}else{zr(a,p);break b}}while(0);k=lh(q,76,0)|0;if(!k){ea(q+65>>0|0,1|0,1,0);ea(a+12|0,7|0,4,0);o=a+64|0;ea(o|0,(da(o|0,4,0,0)|0|0)+1|0,4,0);break}h=k+0|0;d=h+76|0;do{ea(h>>0|0,0|0,1,0);h=h+1|0}while((h|0)<(d|0));ea(k|0,l|0,4,0);ea(k+36|0,-1|0,2,0);h=da((da(o|0,4,0,0)|0|0)+(p<<4)+12|0,4,0,0)|0|0;ea(k+68|0,h|0,4,0);ea(k+40|0,1|0,2,0);ea(k+28|0,200|0,2,0);ea(a+484|0,k|0,4,0);if((da(a+18>>0|0,1,0,0)|0|0)==0?(Zv(l,26576)|0)==0:0)ea(h+72|0,k|0,4,0);if(da(q+145>>0|0,1,0,0)|0)break a;c=Nq(a)|0;if(!c)break a;o=da(a+408|0,4,0,0)|0|0;zr(a,p);h=1<>0|0,1,0,1)|0|0,b,0)|0;vh(c,52,p,5,b)|0;d=c+32|0;h=da(d|0,4,0,0)|0|0;if(h>>>0>k>>>0)ea((da(c+4|0,4,0,0)|0|0)+(k*20|0)+8|0,h|0,4,0);ea((da(c+24|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);if(!(f|e))ea(a+416|0,vh(c,121,p,m,0)|0|0,4,0);else vh(c,25,0,m,0)|0;is(a,p);vh(c,74,0,l,0)|0;vh(c,28,0,b,0)|0;vh(c,75,0,b,l)|0;h=da(c+4|0,4,0,0)|0|0;if(h)ea(h+(((da(d|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0);vh(c,61,0,0,0)|0;break a}while(0);lg(q,l)}}while(0);i=r;return}function Uq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,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;J=i;i=i+176|0;if((i|0)>=(j|0))ba();E=J+80|0;B=J+168|0;y=J;z=J+136|0;A=J+112|0;F=da(a|0,4,0,0)|0|0;a:do if((!((c|0)==0&(e|0)==0)?(G=F+65|0,(da(G>>0|0,1,0,0)|0|0)==0):0)?(H=a+484|0,I=da(H|0,4,0,0)|0|0,(I|0)!=0):0){D=F+145|0;if(da(D>>0|0,1,0,0)|0)ea(I+32|0,da(F+140|0,4,0,0)|0|0,4,0);b:do if(d&32){k=I+44|0;h=da(k>>0|0,1,0,1)|0|0;if(h&8){sh(a,36584,E);break a}if(!(h&4)){ea(E|0,da(I|0,4,0,0)|0|0,4,0);sh(a,36640,E);break}ea(k>>0|0,h|32|0,1,0);l=da(a+8|0,4,0,0)|0|0;k=da(a+416|0,4,0,0)|0|0;if(k){if((k|0)<0)k=(da(l+32|0,4,0,0)|0|0)+-1|0;if(!(da((da(l|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))k=(da(l+4|0,4,0,0)|0|0)+(k*20|0)|0;else k=29120;ea(k>>0|0,120|0,1,0)}k=da(a+420|0,4,0,0)|0|0;if(k){if((k|0)<0)k=(da(l+32|0,4,0,0)|0|0)+-1|0;if(!(da((da(l|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))h=(da(l+4|0,4,0,0)|0|0)+(k*20|0)|0;else h=29120;ea(h>>0|0,16|0,1,0)}h=I+36|0;if((da(h|0,2,0,0)|0|0)>-1){k=kr(a,0,0)|0;if(!k)break;u=jh(da(a|0,4,0,0)|0|0,da((da(I+4|0,4,0,0)|0|0)+((da(h|0,2,0,0)|0|0)*24|0)|0,4,0,0)|0|0)|0;v=da(k+4|0,4,0,0)|0|0;ea(v+4|0,u|0,4,0);ea(v+12>>0|0,da(a+448>>0|0,1,0,0)|0|0|0,1,0);k=_q(a,0,0,0,k,da(I+45>>0|0,1,0,1)|0|0,0,0,0,0)|0;if(!k)break;p=k+51|0;ea(p>>0|0,(da(p>>0|0,1,0,0)|0)&-4|2|0,1,0);ea(h|0,-1|0,2,0);p=da(k+46|0,2,0,0)|0|0}else{k=da(I+8|0,4,0,0)|0|0;c:do if(!k)k=0;else while(1){if(((da(k+51>>0|0,1,0,0)|0)&3)==2)break c;k=da(k+20|0,4,0,0)|0|0;if(!k){k=0;break}}while(0);q=k+46|0;l=da(q|0,2,0,0)|0|0;if((l&65535)>1){o=da(k+4|0,4,0,0)|0|0;n=k+48|0;p=1;h=1;do{f=da(o+(p<<1)|0,2,0,0)|0|0;m=h;g=o;while(1){if((m|0)<=0){x=36;break}if((da(g|0,2,0,0)|0|0)==f<<16>>16){x=35;break}else{m=m+-1|0;g=g+2|0}}if((x|0)==35){x=0;ea(n|0,(da(n|0,2,0,0)|0|0)+-1<<16>>16|0,2,0)}else if((x|0)==36){x=0;ea(o+(h<<1)|0,f|0,2,0);l=da(q|0,2,0,0)|0|0;h=h+1|0}p=p+1|0}while((p|0)<(l&65535|0))}else h=1;p=h&65535;ea(q|0,p|0,2,0)}m=k+51|0;l=da(m>>0|0,1,0,0)|0|32;ea(m>>0|0,l|0,1,0);v=p&65535;if(!(da(F+147>>0|0,1,0,0)|0)){if(p<<16>>16){l=da(k+4|0,4,0,0)|0|0;h=da(I+4|0,4,0,0)|0|0;g=0;do{ea(h+((da(l+(g<<1)|0,2,0,0)|0|0)*24|0)+20>>0|0,1|0,1,0);g=g+1|0}while((g|0)<(v|0));l=da(m>>0|0,1,0,0)|0|0}ea(m>>0|0,l|8|0,1,0)}ea(k+40|0,da(I+32|0,4,0,0)|0|0,4,0);m=da(I+8|0,4,0,0)|0|0;if(m){s=p<<16>>16==0;t=k+4|0;u=k+32|0;do{d:do if(((da(m+51>>0|0,1,0,0)|0)&3)!=2){do if(s)l=da(m+46|0,2,0,0)|0|0;else{n=da(m+4|0,4,0,0)|0|0;l=da(m+46|0,2,0,0)|0|0;g=l&65535;f=da(t|0,4,0,0)|0|0;r=0;h=0;do{o=da(f+(r<<1)|0,2,0,0)|0|0;q=g;p=n;while(1){if((q|0)<=0){p=1;break}if((da(p|0,2,0,0)|0|0)==o<<16>>16){p=0;break}else{q=q+-1|0;p=p+2|0}}h=p+h|0;r=r+1|0}while((r|0)<(v|0));g=m+46|0;if(!h)break;if(js(F,m,(l&65535)+h|0)|0)break b;if(s)break d;o=da(g|0,2,0,0)|0|0;r=m+4|0;f=m+32|0;q=o;p=0;o=o&65535;while(1){l=da(r|0,4,0,0)|0|0;h=da((da(t|0,4,0,0)|0|0)+(p<<1)|0,2,0,0)|0|0;q=q&65535;n=l;while(1){if((q|0)<=0){x=63;break}if((da(n|0,2,0,0)|0|0)==h<<16>>16)break;else{q=q+-1|0;n=n+2|0}}if((x|0)==63){x=0;ea(l+(o<<1)|0,h|0,2,0);ea((da(f|0,4,0,0)|0|0)+(o<<2)|0,da((da(u|0,4,0,0)|0|0)+(p<<2)|0,4,0,0)|0|0,4,0);o=o+1|0}p=p+1|0;if((p|0)>=(v|0))break d;q=da(g|0,2,0,0)|0|0}}while(0);ea(m+48|0,l|0,2,0)}while(0);m=da(m+20|0,4,0,0)|0|0}while((m|0)!=0)}q=I+38|0;l=da(q|0,2,0,0)|0|0;h=l<<16>>16;if((v|0)>=(h|0)){ea(k+48|0,l|0,2,0);break}if((js(F,k,h)|0)==0?(w=da(q|0,2,0,0)|0|0,w<<16>>16>0):0){n=k+4|0;p=k+32|0;l=w;o=0;k=v;do{g=da(n|0,4,0,0)|0|0;m=k;h=g;while(1){if((m|0)<=0){x=74;break}if((da(h|0,2,0,0)|0|0)==(o|0))break;else{m=m+-1|0;h=h+2|0}}if((x|0)==74){x=0;ea(g+(k<<1)|0,o|0,2,0);ea((da(p|0,4,0,0)|0|0)+(k<<2)|0,11152|0,4,0);l=da(q|0,2,0,0)|0|0;k=k+1|0}o=o+1|0}while((o|0)<(l<<16>>16|0))}}while(0);x=I+68|0;k=da(x|0,4,0,0)|0|0;e:do if(k){h=da(F+20|0,4,0,0)|0|0;if((h|0)>0){g=da(F+16|0,4,0,0)|0|0;l=0;while(1){f=l+1|0;if((da(g+(l<<4)+12|0,4,0,0)|0|0)==(k|0))break e;if((f|0)<(h|0))l=f;else{l=f;break}}}else l=0}else l=-1e6;while(0);g=da(I+24|0,4,0,0)|0|0;f:do if(g){ea(z+0|0,0|0,4,0);ea(z+4|0,0|0,4,0);ea(z+8|0,0|0,4,0);ea(z+12|0,0|0,4,0);ea(z+16|0,0|0,4,0);ea(z+20|0,0|0,4,0);ea(z+24|0,0|0,4,0);ea(z+28|0,0|0,4,0);k=y+0|0;h=k+80|0;do{ea(k|0,0|0,4,0);k=k+4|0}while((k|0)<(h|0));ea(y|0,1|0,4,0);ea(y+16|0,da(I|0,4,0,0)|0|0,4,0);ea(y+24|0,I|0,4,0);ea(y+48|0,-1|0,4,0);ea(z|0,a|0,4,0);ea(z+4|0,y|0,4,0);ea(z+28|0,4|0,2,0);k=g+4|0;if((da(g|0,4,0,0)|0|0)>0){h=0;do{if(ks(z,da((da(k|0,4,0,0)|0|0)+(h*20|0)|0,4,0,0)|0|0)|0)break f;h=h+1|0}while((h|0)<(da(g|0,4,0,0)|0|0))}}while(0);v=I+38|0;f=da(v|0,2,0,0)|0|0;if(f<<16>>16>0){k=f<<16>>16;h=da(I+4|0,4,0,0)|0|0;g=0;while(1){g=(da(h+22>>0|0,1,0,1)|0|0)+g|0;k=k+-1|0;if((k|0)<=0)break;else h=h+24|0}}else g=0;ea(I+42|0,es(((da(I+36|0,2,0,1)|0|0)>>>15&65535)+g<<2,0)|0|0,2,0);g=da(I+8|0,4,0,0)|0|0;if(g)do{ls(g);g=da(g+20|0,4,0,0)|0|0}while((g|0)!=0);if(!(da(D>>0|0,1,0,0)|0)){w=Nq(a)|0;if(!w)break;vh(w,61,0,0,0)|0;t=(da(I+12|0,4,0,0)|0|0)==0;h=t?36672:36680;t=t?31232:35480;do if(!e){g=d<<24>>24==0?c:a+504|0;e=da(g|0,4,0,0)|0|0;k=da(a+496|0,4,0,0)|0|0;f=e-k|0;if((da(e>>0|0,1,0,0)|0|0)!=59)f=(da(g+4|0,4,0,0)|0|0)+f|0;ea(E|0,h|0,4,0);ea(E+4|0,f|0,4,0);ea(E+8|0,k|0,4,0);k=a+388|0;f=I;h=th(F,36688,E)|0}else{k=a+388|0;vh(w,55,1,da(k|0,4,0,0)|0|0,l)|0;h=da(w+4|0,4,0,0)|0|0;if(h)ea(h+(((da(w+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,4|0,1,0);ea(a+68|0,2|0,4,0);ea(A>>0|0,14|0,1,0);ea(A+4|0,1|0,4,0);ea(A+1>>0|0,0|0,1,0);ea(A+8|0,0|0,4,0);ea(A+12|0,0|0,4,0);hr(a,e,A)|0;vh(w,61,1,0,0)|0;if(!(da(a+64|0,4,0,0)|0)){f=ms(a,e)|0;if(!f)break a;A=f+38|0;ea(v|0,da(A|0,2,0,0)|0|0|0,2,0);e=f+4|0;ea(I+4|0,da(e|0,4,0,0)|0|0,4,0);ea(A|0,0|0,2,0);ea(e|0,0|0,4,0);jg(F,f)}u=I+4|0;r=da(v|0,2,0,0)|0|0;if(r<<16>>16>0){n=r<<16>>16;o=0;h=0;p=da(u|0,4,0,0)|0|0;while(1){f=da(p|0,4,0,0)|0|0;g=0;while(1){m=da(f>>0|0,1,0,0)|0|0;if(m<<24>>24==34)g=g+1|0;else if(!(m<<24>>24))break;f=f+1|0;g=g+1|0}h=h+7+g|0;o=o+1|0;if((o|0)==(n|0))break;else p=p+24|0}m=h+2|0}else m=2;f=da(I|0,4,0,0)|0|0;h=0;while(1){g=da(f>>0|0,1,0,0)|0|0;if(!(g<<24>>24))break;else if(g<<24>>24==34)h=h+1|0;f=f+1|0;h=h+1|0}p=h+m|0;s=(p|0)<50;m=s?10360:36880;q=s?20240:36888;s=s?33952:36896;p=((r<<16>>16)*6|0)+35+p|0;h=pg(p,((p|0)<0)<<31>>31)|0;if(!h){ea(G>>0|0,1|0,1,0);f=I;h=0;break}$c(p,h,36904,E)|0;g=h;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;ea(B|0,g-h&1073741823|0,4,0);ns(h,B,da(I|0,4,0,0)|0|0);f=da(B|0,4,0,0)|0|0;n=f+1|0;ea(B|0,n|0,4,0);ea(h+f>>0|0,40|0,1,0);f=p-n|0;g=h+n|0;if((da(v|0,2,0,0)|0|0)>0){r=0;o=da(u|0,4,0,0)|0|0;while(1){$c(f,g,m,E)|0;g=h+n|0;if(!g)g=0;else{m=g;while(1)if(!(da(m>>0|0,1,0,0)|0))break;else m=m+1|0;g=m-g&1073741823}ea(B|0,g+n|0,4,0);ns(h,B,da(o|0,4,0,0)|0|0);g=da(36920+((da(o+21>>0|0,1,0,0)|0|0)+-65<<2)|0,4,0,0)|0|0;m=g;while(1)if(!(da(m>>0|0,1,0,0)|0))break;else m=m+1|0;n=m-g&1073741823;m=da(B|0,4,0,0)|0|0;jw(h+m|0,g|0,n|0)|0;n=m+n|0;ea(B|0,n|0,4,0);m=r+1|0;f=p-n|0;g=h+n|0;if((m|0)<(da(v|0,2,0,0)|0|0)){r=m;o=o+24|0;m=q}else break}}ea(E|0,s|0,4,0);$c(f,g,10344,E)|0;f=I}while(0);g=F+16|0;d=da(f|0,4,0,0)|0|0;A=da(k|0,4,0,0)|0|0;e=da(a+384|0,4,0,0)|0|0;ea(E|0,da((da(g|0,4,0,0)|0|0)+(l<<4)|0,4,0,0)|0|0,4,0);ea(E+4|0,((l|0)==1?13184:13208)|0,4,0);ea(E+8|0,t|0,4,0);ea(E+12|0,d|0,4,0);ea(E+16|0,d|0,4,0);ea(E+20|0,A|0,4,0);ea(E+24|0,h|0,4,0);ea(E+28|0,e|0,4,0);Ar(a,36704,E);lg(F,h);Cr(a,l);if(((da(I+44>>0|0,1,0,0)|0)&8)!=0?(C=da(g|0,4,0,0)|0|0,(da((da(C+(l<<4)+12|0,4,0,0)|0|0)+72|0,4,0,0)|0|0)==0):0){ea(E|0,da(C+(l<<4)|0,4,0,0)|0|0,4,0);Ar(a,36792,E)}ea(E|0,da(f|0,4,0,0)|0|0,4,0);Hr(w,l,th(F,36840,E)|0);if(!(da(D>>0|0,1,0,0)|0))break}else f=I;if(Hk((da(x|0,4,0,0)|0|0)+8|0,da(f|0,4,0,0)|0|0,I)|0){ea(G>>0|0,1|0,1,0);break}ea(H|0,0|0,4,0);e=F+24|0;ea(e|0,da(e|0,4,0,0)|0|2|0,4,0);if(!(da(I+12|0,4,0,0)|0)){f=da(a+496|0,4,0,0)|0|0;ea(I+48|0,(Mn(f,(da(((da(b|0,4,0,0)|0|0)==0?c:b)|0,4,0,0)|0|0)-f|0)|0)+13|0,4,0)}}while(0);i=J;return}function Vq(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)c=0;else{d=da(b|0,4,0,0)|0|0;b=da(b+4|0,4,0,0)|0|0;if((d|0)!=0?(c=iw(b|0,0,1,0)|0,c=lh(a,c,C)|0,(c|0)!=0):0){jw(c|0,d|0,b|0)|0;ea(c+b>>0|0,0|0,1,0)}else c=0;ko(c)}return c|0}function Wq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;a:do if(a){d=da(a>>0|0,1,0,0)|0|0;b:do if(!(d<<24>>24)){c=67;d=0}else{f=d;c=67;e=0;d=0;do{e=da(9328+(f&255)>>0|0,1,0,1)|0|0|e<<8;a=a+1|0;if((e|0)==1651273570)if(c<<24>>24==69|c<<24>>24==67){l=da(a>>0|0,1,0,0)|0|0;f=l;c=65;e=1651273570;d=l<<24>>24==40?a:d}else g=14;else if((e|0)==1685026146)if(c<<24>>24==67){c=69;e=1685026146;g=5}else g=13;else if((e|0)==1667785074){c=66;e=1667785074;d=a;g=5}else if((e|0)==1668050786){c=66;g=5}else if((e|0)==1952807028){c=66;g=5}else if((e|0)==1919246700)if(c<<24>>24==67){c=69;e=1919246700;g=5}else g=14;else if((e|0)==1718382433)if(c<<24>>24==67){c=69;e=1718382433;g=5}else g=13;else if((e&16777215|0)==6909556){c=68;break b}else g=5;if((g|0)==13)g=5;else if((g|0)==14)g=5;if((g|0)==5){g=0;f=da(a>>0|0,1,0,0)|0|0}}while(f<<24>>24!=0)}while(0);if((b|0)!=0?(ea(b>>0|0,1|0,1,0),c<<24>>24<67):0){if(!d){ea(b>>0|0,5|0,1,0);break}a=da(d>>0|0,1,0,0)|0|0;if(a<<24>>24){while(1){if(((a&255)+-48|0)>>>0<10)break;d=d+1|0;a=da(d>>0|0,1,0,0)|0|0;if(!(a<<24>>24))break a}ea(h|0,0|0,4,0);Cn(d,h)|0;d=((da(h|0,4,0,0)|0|0)/4|0)+1|0;d=(d|0)>255?255:d;ea(h|0,d|0,4,0);ea(b>>0|0,d|0,1,0)}}}else c=67;while(0);i=k;return c|0}function Xq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;k=i;i=i+32|0;if((i|0)>=(j|0))ba();g=k;h=da(a|0,4,0,0)|0|0;e=da(a+484|0,4,0,0)|0|0;do if(e){d=(da(e+38|0,2,0,0)|0|0)+-1|0;f=da(e+4|0,4,0,0)|0|0;l=da(b|0,4,0,0)|0|0;m=(da(h+145>>0|0,1,0,1)|0|0)+4|0;ea(g+0|0,0|0,4,0);ea(g+4|0,0|0,4,0);ea(g+8|0,0|0,4,0);ea(g+12|0,0|0,4,0);ea(g+16|0,0|0,4,0);ea(g+20|0,0|0,4,0);e=g+20|0;ea(e>>0|0,m|0,1,0);ea(g|0,78|0,4,0);ea(g+4|0,79|0,4,0);ea(g+24|0,0|0,4,0);qs(g,l)|0;if(!(da(e>>0|0,1,0,0)|0)){ea(g|0,da(f+(d*24|0)|0,4,0,0)|0|0,4,0);sh(a,36480,g);break}e=f+(d*24|0)+4|0;Fk(h,da(e|0,4,0,0)|0|0);ea(e|0,Lr(h,da(b|0,4,0,0)|0|0,1,0)|0|0,4,0);f=f+(d*24|0)+8|0;lg(h,da(f|0,4,0,0)|0|0);d=da(b+4|0,4,0,0)|0|0;e=(da(b+8|0,4,0,0)|0|0)-d|0;if((d|0)!=0?(c=iw(e|0,((e|0)<0)<<31>>31|0,1,0)|0,c=lh(h,c,C)|0,(c|0)!=0):0){jw(c|0,d|0,e|0)|0;ea(c+e>>0|0,0|0,1,0)}else c=0;ea(f|0,c|0,4,0)}while(0);Fk(h,da(b|0,4,0,0)|0|0);i=k;return}function Yq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;if((b|0)==72&(c|0)!=0&(d|0)!=0?(da(a+64|0,4,0,0)|0|0)==0:0)b=rs(da(a|0,4,0,0)|0|0,c,d)|0;else{b=mr(da(a|0,4,0,0)|0|0,b,e,1)|0;ss(da(a|0,4,0,0)|0|0,b,c,d)}if((b|0)!=0?(f=da((da(a|0,4,0,0)|0|0)+100|0,4,0,0)|0|0,(f|0)<(da(b+24|0,4,0,0)|0|0)):0){ea(g|0,f|0,4,0);sh(a,27152,g)}i=h;return b|0}function Zq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))ba();v=w;t=da(a+484|0,4,0,0)|0|0;do if((t|0)!=0?(da(a+451>>0|0,1,0,0)|0|0)==0:0){u=t+44|0;g=da(u>>0|0,1,0,1)|0|0;if(g&4){ea(v|0,da(t|0,4,0,0)|0|0,4,0);sh(a,36376,v);break}r=g|4;ea(u>>0|0,r|0,1,0);s=(b|0)==0;if(s){g=(da(t+38|0,2,0,0)|0|0)+-1|0;p=da(t+4|0,4,0,0)|0|0;f=p+(g*24|0)+23|0;ea(f>>0|0,da(f>>0|0,1,0,1)|0|1|0,1,0);f=g;h=1;g=da(p+(g*24|0)+12|0,4,0,0)|0|0}else{q=da(b|0,4,0,0)|0|0;if((q|0)>0){n=b+4|0;o=t+4|0;m=da(t+38|0,2,0,0)|0|0;p=0;g=0;do{a:do if(m<<16>>16>0){k=da((da(n|0,4,0,0)|0|0)+(p*20|0)+4|0,4,0,0)|0|0;l=da(o|0,4,0,0)|0|0;h=0;while(1){f=h+1|0;if(!(cd(k,da(l+(h*24|0)|0,4,0,0)|0|0)|0))break;if((f|0)<(m<<16>>16|0))h=f;else break a}f=l+(h*24|0)+23|0;ea(f>>0|0,da(f>>0|0,1,0,1)|0|1|0,1,0);f=h;g=da(l+(h*24|0)+12|0,4,0,0)|0|0}else f=0;while(0);p=p+1|0}while((p|0)!=(q|0))}else{f=-1;g=0}h=(q|0)==1}if(h&(g|0)!=0?(cd(g,11144)|0|e|0)==0:0){ea(t+36|0,f|0,2,0);ea(t+45>>0|0,c|0,1,0);ea(u>>0|0,r|d<<3|0,1,0);if(s){b=0;break}ea(a+448>>0|0,da((da(b+4|0,4,0,0)|0|0)+12>>0|0,1,0,0)|0|0|0,1,0);break}if(d){sh(a,36424,v);break}g=da(a+8|0,4,0,0)|0|0;f=(g|0)!=0;if(f)ea(a+420|0,vh(g,156,0,0,0)|0|0,4,0);b=_q(a,0,0,0,b,c,0,0,e,0)|0;if((b|0)!=0?(p=b+51|0,ea(p>>0|0,(da(p>>0|0,1,0,0)|0)&-4|2|0,1,0),f):0){b=da(a+420|0,4,0,0)|0|0;f=da(g+32|0,4,0,0)|0|0;if(f>>>0>b>>>0)ea((da(g+4|0,4,0,0)|0|0)+(b*20|0)+8|0,f|0,4,0);ea((da(g+24|0,4,0,0)|0|0)+88|0,f+-1|0,4,0);b=0}else b=0}while(0);Mk(da(a|0,4,0,0)|0|0,b);i=w;return}function _q(a,b,c,d,e,f,g,h,k,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,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;Q=i;i=i+144|0;if((i|0)>=(j|0))ba();N=Q;v=Q+112|0;p=Q+88|0;L=Q+84|0;E=Q+80|0;P=da(a|0,4,0,0)|0|0;ea(L|0,0|0,4,0);ea(E|0,0|0,4,0);K=P+65|0;a:do if(((da(K>>0|0,1,0,0)|0|0)==0?(da(a+451>>0|0,1,0,0)|0|0)==0:0)?(Fn(a)|0)==0:0){M=(d|0)!=0;b:do if(M){b=dr(a,b,c,L)|0;if((b|0)<0){m=0;c=0;break a}if((da(P+145>>0|0,1,0,0)|0|0)==0?(m=Ir(a,d)|0,(da(c+4|0,4,0,0)|0|0)==0&(m|0)!=0):0)b=(da(m+68|0,4,0,0)|0|0)==(da((da(P+16|0,4,0,0)|0|0)+28|0,4,0,0)|0|0)?1:b;c=da(L|0,4,0,0)|0|0;m=da(a|0,4,0,0)|0|0;ea(p|0,a|0,4,0);m=da(m+16|0,4,0,0)|0|0;ea(p+12|0,da(m+(b<<4)|0,4,0,0)|0|0,4,0);ea(p+4|0,da(m+(b<<4)+12|0,4,0,0)|0|0,4,0);ea(p+16|0,20632|0,4,0);ea(p+20|0,c|0,4,0);m=(b|0)==1;ea(p+8|0,m&1|0,4,0);Jr(p,d)|0;n=Tr(a,0,d+8|0)|0;if(!n){m=0;c=0;break a}if(m?(da((da(P+16|0,4,0,0)|0|0)+28|0,4,0,0)|0|0)!=(da(n+68|0,4,0,0)|0|0):0){ea(N|0,da(n|0,4,0,0)|0|0,4,0);sh(a,35920,N);m=0;c=0;break a}if(((da(n+44>>0|0,1,0,0)|0)&32)!=0?(q=da(n+8|0,4,0,0)|0|0,(q|0)!=0):0){m=q;while(1){if(((da(m+51>>0|0,1,0,0)|0)&3)==2){o=b;D=m;p=n;break b}m=da(m+20|0,4,0,0)|0|0;if(!m){o=b;D=0;p=n;break}}}else{o=b;D=0;p=n}}else{p=da(a+484|0,4,0,0)|0|0;if(!p){m=0;c=0;break a}b=da(p+68|0,4,0,0)|0|0;if(b){m=da(P+20|0,4,0,0)|0|0;if((m|0)>0){c=da(P+16|0,4,0,0)|0|0;o=0;while(1){n=o+1|0;if((da(c+(o<<4)+12|0,4,0,0)|0|0)==(b|0)){c=0;D=0;break b}if((n|0)<(m|0))o=n;else{c=0;o=n;D=0;break}}}else{c=0;o=0;D=0}}else{c=0;o=-1e6;D=0}}while(0);I=P+16|0;w=da(I|0,4,0,0)|0|0;b=w+(o<<4)|0;r=da(p|0,4,0,0)|0|0;if(((Ec(r,25568,7)|0)==0?(da(P+145>>0|0,1,0,0)|0|0)==0:0)?(Ec(r+7|0,35976,9)|0)!=0:0){ea(N|0,r|0,4,0);sh(a,35992,N);m=0;c=0;break}if(da(p+12|0,4,0,0)|0){sh(a,36024,N);m=0;c=0;break}H=p+44|0;if((da(H>>0|0,1,0,0)|0)&16){sh(a,36056,N);m=0;c=0;break}x=(c|0)==0;if(!x){c=Vq(P,c)|0;if(!c){m=0;c=0;break}if(Kr(a,c)|0){m=0;break}if((da(P+145>>0|0,1,0,0)|0|0)==0?(Zh(P,c,0)|0)!=0:0){ea(N|0,c|0,4,0);sh(a,36096,N);m=0;break}if(aq(P,c,da(b|0,4,0,0)|0|0)|0)if(!l){ea(N|0,c|0,4,0);sh(a,36136,N);m=0;break}else{zr(a,o);m=0;break}else J=c}else{q=da(p+8|0,4,0,0)|0|0;if(!q)n=1;else{n=1;do{n=n+1|0;q=da(q+20|0,4,0,0)|0|0}while((q|0)!=0)}ea(N|0,r|0,4,0);ea(N+4|0,n|0,4,0);n=th(P,36160,N)|0;if(!n){m=0;c=0;break}J=n}n=da(b|0,4,0,0)|0|0;b=(o|0)==1;F=b?13184:13208;if((Rq(a,18,F,0,n)|0)==0?(Rq(a,b?3:1,J,da(p|0,4,0,0)|0|0,n)|0)==0:0){if(!e){e=kr(a,0,0)|0;if(!e){e=0;m=0;c=J;break}A=jh(da(a|0,4,0,0)|0|0,da((da(p+4|0,4,0,0)|0|0)+(((da(p+38|0,2,0,0)|0|0)+-1|0)*24|0)|0,4,0,0)|0|0)|0;B=da(e+4|0,4,0,0)|0|0;ea(B+4|0,A|0,4,0);ea(B+12>>0|0,k|0,1,0)}u=da(e|0,4,0,0)|0|0;if((u|0)>0){r=da(e+4|0,4,0,0)|0|0;m=0;q=0;do{n=da(r+(m*20|0)|0,4,0,0)|0|0;if(n){b=da(n+8|0,4,0,0)|0|0;if(!b)n=1;else{n=b;while(1)if(!(da(n>>0|0,1,0,0)|0))break;else n=n+1|0;n=(n-b&1073741823)+1|0}q=n+q|0}m=m+1|0}while((m|0)<(u|0));b=q}else b=0;if(!J)n=0;else{q=J;while(1)if(!(da(q>>0|0,1,0,0)|0))break;else q=q+1|0;n=q-J&1073741823}z=(D|0)!=0;if(z)q=da(D+46|0,2,0,1)|0|0;else q=1;G=ts(P,u+q&65535,b+1+n|0,E)|0;c:do if(!(da(K>>0|0,1,0,0)|0)){y=da(E|0,4,0,0)|0|0;ea(G|0,y|0,4,0);C=n+1|0;t=y+C|0;ea(E|0,t|0,4,0);jw(y|0,J|0,C|0)|0;ea(G+12|0,p|0,4,0);C=G+50|0;ea(C>>0|0,f|0,1,0);y=G+51|0;ea(y>>0|0,(da(y>>0|0,1,0,0)|0)&-12|((f|0)!=0&1)<<3&255|x&1|0,1,0);B=G+24|0;ea(B|0,da((da(I|0,4,0,0)|0|0)+(o<<4)+12|0,4,0,0)|0|0,4,0);q=da(e|0,4,0,0)|0|0;A=G+46|0;ea(A|0,q|0,2,0);if(h){ea(v+0|0,0|0,4,0);ea(v+4|0,0|0,4,0);ea(v+8|0,0|0,4,0);ea(v+12|0,0|0,4,0);ea(v+16|0,0|0,4,0);ea(v+20|0,0|0,4,0);ea(v+24|0,0|0,4,0);ea(v+28|0,0|0,4,0);r=N+0|0;q=r+80|0;do{ea(r|0,0|0,4,0);r=r+4|0}while((r|0)<(q|0));ea(N|0,1|0,4,0);ea(N+16|0,da(p|0,4,0,0)|0|0,4,0);ea(N+24|0,p|0,4,0);ea(N+48|0,-1|0,4,0);ea(v|0,a|0,4,0);ea(v+4|0,N|0,4,0);ea(v+28|0,16|0,2,0);ks(v,h)|0;ea(G+36|0,h|0,4,0);q=da(e|0,4,0,0)|0|0}r=(da((da(w+(o<<4)+12|0,4,0,0)|0|0)+76>>0|0,1,0,1)|0|0)>3;d:do if((q|0)>0){x=p+4|0;w=p+38|0;v=G+4|0;h=P+145|0;b=G+32|0;n=G+28|0;q=0;k=da(e+4|0,4,0,0)|0|0;while(1){m=da(k+4|0,4,0,0)|0|0;c=da(w|0,2,0,0)|0|0;e:do if(c<<16>>16>0){u=0;s=da(x|0,4,0,0)|0|0;while(1){if(!(cd(m,da(s|0,4,0,0)|0|0)|0)){l=u;break e}u=u+1|0;if((u|0)<(c<<16>>16|0))s=s+24|0;else{l=u;break}}}else l=0;while(0);if((l|0)>=(c<<16>>16|0))break;ea((da(v|0,4,0,0)|0|0)+(q<<1)|0,l|0,2,0);u=da(k|0,4,0,0)|0|0;if(!u){u=da((da(x|0,4,0,0)|0|0)+(l*24|0)+16|0,4,0,0)|0|0;u=(u|0)!=0?u:11152}else{s=da(u+8|0,4,0,0)|0|0;if(!s)u=1;else{u=s;while(1)if(!(da(u>>0|0,1,0,0)|0))break;else u=u+1|0;u=(u-s&1073741823)+1|0}jw(t|0,s|0,u|0)|0;s=da(E|0,4,0,0)|0|0;t=s+u|0;ea(E|0,t|0,4,0);u=s}if((da(h>>0|0,1,0,0)|0|0)==0?(br(a,u)|0)==0:0){c=0;m=0;O=134;break c}ea((da(b|0,4,0,0)|0|0)+(q<<2)|0,u|0,4,0);ea((da(n|0,4,0,0)|0|0)+q>>0|0,(r?da(k+12>>0|0,1,0,0)|0|0:0)|0,1,0);if(!(da((da(x|0,4,0,0)|0|0)+(l*24|0)+20>>0|0,1,0,0)|0))ea(y>>0|0,(da(y>>0|0,1,0,0)|0)&-9|0,1,0);q=q+1|0;if((q|0)<(da(e|0,4,0,0)|0|0))k=k+20|0;else break d}ea(N|0,da(p|0,4,0,0)|0|0,4,0);ea(N+4|0,m|0,4,0);sh(a,36184,N);ea(a+17>>0|0,1|0,1,0);c=0;m=0;O=134;break c}else q=0;while(0);do if(z){n=D+46|0;r=da(n|0,2,0,0)|0|0;if(!(r<<16>>16))break;v=D+4|0;w=G+4|0;x=G+48|0;k=D+32|0;l=G+32|0;h=D+28|0;b=G+28|0;m=0;do{s=da((da(v|0,4,0,0)|0|0)+(m<<1)|0,2,0,0)|0|0;c=da(w|0,4,0,0)|0|0;u=da(A|0,2,0,1)|0|0;t=c;while(1){if((u|0)<=0){O=92;break}if((da(t|0,2,0,0)|0|0)==s<<16>>16){O=91;break}else{u=u+-1|0;t=t+2|0}}if((O|0)==91){O=0;ea(x|0,(da(x|0,2,0,0)|0|0)+-1<<16>>16|0,2,0)}else if((O|0)==92){O=0;ea(c+(q<<1)|0,s|0,2,0);ea((da(l|0,4,0,0)|0|0)+(q<<2)|0,da((da(k|0,4,0,0)|0|0)+(m<<2)|0,4,0,0)|0|0,4,0);ea((da(b|0,4,0,0)|0|0)+q>>0|0,da((da(h|0,4,0,0)|0|0)+m>>0|0,1,0,0)|0|0|0,1,0);r=da(n|0,2,0,0)|0|0;q=q+1|0}m=m+1|0}while((m|0)<(r&65535|0))}else{ea((da(G+4|0,4,0,0)|0|0)+(q<<1)|0,-1|0,2,0);ea((da(G+32|0,4,0,0)|0|0)+(q<<2)|0,11152|0,4,0)}while(0);bq(G);h=a+484|0;b=da(h|0,4,0,0)|0|0;if(!b){ls(G);b=da(h|0,4,0,0)|0|0}f:do if((p|0)==(b|0)){m=da(p+8|0,4,0,0)|0|0;if(!m)break;s=da(A|0,2,0,0)|0|0;t=G+4|0;u=G+32|0;while(1){if((da(m+46|0,2,0,0)|0|0)==s<<16>>16){g:do if(!(s<<16>>16)){n=0;q=0}else{h=da(m+4|0,4,0,0)|0|0;c=da(t|0,4,0,0)|0|0;r=m+32|0;q=0;while(1){if((da(h+(q<<1)|0,2,0,0)|0|0)!=(da(c+(q<<1)|0,2,0,0)|0|0)){n=s;break g}n=da((da(r|0,4,0,0)|0|0)+(q<<2)|0,4,0,0)|0|0;b=da((da(u|0,4,0,0)|0|0)+(q<<2)|0,4,0,0)|0|0;if((n|0)!=(b|0)?(cd(n,b)|0)!=0:0){n=s;break g}q=q+1|0;if((q|0)>=(s&65535|0)){n=s;break}}}while(0);if((q|0)==(n&65535|0))break}m=da(m+20|0,4,0,0)|0|0;if(!m)break f}b=m+50|0;c=da(b>>0|0,1,0,0)|0|0;h=da(C>>0|0,1,0,0)|0|0;if(c<<24>>24==h<<24>>24){c=0;break c}if(!(c<<24>>24==10|h<<24>>24==10)){ea(N|0,0|0,4,0);sh(a,36216,N);c=da(b>>0|0,1,0,0)|0|0}if(c<<24>>24!=10){c=0;O=134;break c}ea(b>>0|0,da(C>>0|0,1,0,0)|0|0|0,1,0);c=0;break c}while(0);q=P+145|0;do if(!(da(q>>0|0,1,0,0)|0)){if(da(a+64|0,4,0,0)|0){O=126;break}if(!(((da(H>>0|0,1,0,0)|0)&32)==0|M)){O=126;break}n=a+72|0;c=(da(n|0,4,0,0)|0|0)+1|0;ea(n|0,c|0,4,0);n=Nq(a)|0;if(!n){c=0;m=0;O=134;break c}B=da(a+408|0,4,0,0)|0|0;B=(B|0)==0?a:B;zr(a,o);A=B+328|0;ea(A|0,da(A|0,4,0,0)|0|1<>0|0,da(B>>0|0,1,0,1)|0|1|0,1,0);vh(n,120,o,c,0)|0;if(!g)b=0;else{b=da(da(L|0,4,0,0)|0|0,4,0,0)|0|0;h=(da(a+504|0,4,0,0)|0|0)-b+(da(a+508|0,4,0,0)|0|0)|0;m=h+-1|0;B=(da(b+m>>0|0,1,0,0)|0|0)==59?m:h;ea(N|0,((f|0)==0?10360:36288)|0,4,0);ea(N+4|0,B|0,4,0);ea(N+8|0,b|0,4,0);b=th(P,36264,N)|0}A=da(G|0,4,0,0)|0|0;B=da(p|0,4,0,0)|0|0;ea(N|0,da((da(I|0,4,0,0)|0|0)+(o<<4)|0,4,0,0)|0|0,4,0);ea(N+4|0,F|0,4,0);ea(N+8|0,A|0,4,0);ea(N+12|0,B|0,4,0);ea(N+16|0,c|0,4,0);ea(N+20|0,b|0,4,0);Ar(a,36296,N);lg(P,b);if(!M)break;us(a,G,c);Cr(a,o);ea(N|0,da(G|0,4,0,0)|0|0,4,0);Hr(n,o,th(P,36344,N)|0);vh(n,144,0,0,0)|0;O=126}else{if(Hk((da(B|0,4,0,0)|0|0)+24|0,da(G|0,4,0,0)|0|0,G)|0){ea(K>>0|0,1|0,1,0);c=0;m=0;O=134;break c}B=P+24|0;ea(B|0,da(B|0,4,0,0)|0|2|0,4,0);if(!M)break;ea(G+40|0,da(P+140|0,4,0,0)|0|0,4,0);O=126}while(0);if((O|0)==126?!((da(q>>0|0,1,0,0)|0|0)!=0|(d|0)==0):0){c=0;m=0;O=134;break}c=da(p+8|0,4,0,0)|0|0;do if((f|0)==5){if(!c){c=0;break}if((da(c+50>>0|0,1,0,0)|0|0)==5)break;do{m=c+20|0;c=da(m|0,4,0,0)|0|0;if(!c){c=0;break}}while((da(c+50>>0|0,1,0,0)|0|0)!=5);ea(G+20|0,c|0,4,0);ea(m|0,G|0,4,0);h=0;m=G;c=J;break a}while(0);ea(G+20|0,c|0,4,0);ea(p+8|0,G|0,4,0);h=0;m=G;c=J;break a}else{c=h;m=0;O=134}while(0);if((O|0)==134)if(!G){h=c;c=J;break}Ik(P,G);h=c;c=J}else{m=0;c=J}}else{m=0;c=0}while(0);Fk(P,h);Mk(P,e);Co(P,d);lg(P,c);i=Q;return m|0}function $q(a,b){a=a|0;b=b|0;var c=0,d=0;c=da(a+484|0,4,0,0)|0|0;d=da(a|0,4,0,0)|0|0;if(((c|0)!=0?(da(a+451>>0|0,1,0,0)|0|0)==0:0)?((da((da((da((da(d+16|0,4,0,0)|0|0)+((da(d+144>>0|0,1,0,1)|0)<<4)+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+22|0,2,0,0)|0)&1)==0:0){d=c+24|0;c=kr(a,da(d|0,4,0,0)|0|0,b)|0;ea(d|0,c|0,4,0);if(da(a+324|0,4,0,0)|0)lr(a,c,a+320|0,1)}else Fk(d,b);return}function ar(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+16|0;if((i|0)>=(j|0))ba();w=z;y=da(a|0,4,0,0)|0|0;x=da(a+484|0,4,0,0)|0|0;a:do if((x|0)!=0?(da(a+451>>0|0,1,0,0)|0|0)==0:0){t=(b|0)==0;do if(t){v=da(x+38|0,2,0,0)|0|0;g=(v<<16>>16)+-1|0;if(v<<16>>16<1){f=0;break a}if(d)if((da(d|0,4,0,0)|0|0)==1){g=1;f=13}else{ea(w|0,da((da(x+4|0,4,0,0)|0|0)+(g*24|0)|0,4,0,0)|0|0,4,0);ea(w+4|0,c|0,4,0);sh(a,35712,w);f=0;break a}else{g=1;f=12}}else{if(!d){g=da(b|0,4,0,0)|0|0;f=12;break}g=da(d|0,4,0,0)|0|0;if((g|0)==(da(b|0,4,0,0)|0|0))f=13;else{sh(a,35776,w);f=0;break a}}while(0);if((f|0)==12){h=c+4|0;m=h;q=0;h=(g<<3)+37+(da(h|0,4,0,0)|0|0)|0;v=g}else if((f|0)==13){m=c+4|0;h=(g<<3)+37+(da(m|0,4,0,0)|0|0)|0;n=da(d|0,4,0,0)|0|0;if((n|0)>0){o=da(d+4|0,4,0,0)|0|0;p=0;do{l=da(o+(p*20|0)+4|0,4,0,0)|0|0;if(!l)f=1;else{k=l;while(1)if(!(da(k>>0|0,1,0,0)|0))break;else k=k+1|0;f=(k-l&1073741823)+1|0}h=f+h|0;p=p+1|0}while((p|0)<(n|0));q=1;v=g}else{q=1;v=g}}f=lh(y,h,((h|0)<0)<<31>>31)|0;if(f){ew(f|0,0,h|0)|0;ea(f|0,x|0,4,0);u=x+16|0;ea(f+4|0,da(u|0,4,0,0)|0|0,4,0);r=f+36|0;k=r+(v<<3)|0;s=f+8|0;ea(s|0,k|0,4,0);jw(k|0,da(c|0,4,0,0)|0|0,da(m|0,4,0,0)|0|0)|0;ea(k+(da(m|0,4,0,0)|0|0)>>0|0,0|0,1,0);ko(k);k=k+((da(m|0,4,0,0)|0|0)+1)|0;ea(f+20|0,v|0,4,0);b:do if(!t){if((v|0)>0){h=x+4|0;c=b+4|0;l=da(x+38|0,2,0,0)|0|0;g=0;while(1){c:do if(l<<16>>16>0){p=da(h|0,4,0,0)|0|0;o=da((da(c|0,4,0,0)|0|0)+(g*20|0)+4|0,4,0,0)|0|0;n=0;while(1){m=n+1|0;if(!(cd(da(p+(n*24|0)|0,4,0,0)|0|0,o)|0)){m=n;break}if((m|0)<(l<<16>>16|0))n=m;else break c}ea(r+(g<<3)|0,m|0,4,0)}else m=0;while(0);if((m|0)>=(l<<16>>16|0))break;g=g+1|0;if((g|0)>=(v|0))break b}ea(w|0,da((da(c|0,4,0,0)|0|0)+(g*20|0)+4|0,4,0,0)|0|0,4,0);sh(a,35872,w);break a}}else ea(r|0,(da(x+38|0,2,0,0)|0|0)+-1|0,4,0);while(0);if(q&(v|0)>0){l=d+4|0;m=0;while(1){h=da((da(l|0,4,0,0)|0|0)+(m*20|0)+4|0,4,0,0)|0|0;if(!h)g=0;else{g=h;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-h&1073741823}ea(r+(m<<3)+4|0,k|0,4,0);jw(k|0,h|0,g|0)|0;ea(k+g>>0|0,0|0,1,0);m=m+1|0;if((m|0)==(v|0))break;else k=k+(g+1)|0}}ea(f+24>>0|0,0|0,1,0);ea(f+25>>0|0,e|0,1,0);ea(f+26>>0|0,e>>>8|0,1,0);g=Hk((da(x+68|0,4,0,0)|0|0)+56|0,da(s|0,4,0,0)|0|0,f)|0;if((g|0)==(f|0)){ea(y+65>>0|0,1|0,1,0);break}if(g){ea(f+12|0,g|0,4,0);ea(g+16|0,f|0,4,0)}ea(u|0,f|0,4,0);f=0}else f=0}else f=0;while(0);lg(y,f);Mk(y,b);Mk(y,d);i=z;return}function br(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=da(a|0,4,0,0)|0|0;d=da(c+62>>0|0,1,0,0)|0|0;e=da(c+145>>0|0,1,0,0)|0|0;c=Xn(c,d,b,e&255)|0;do if(!(e<<24>>24)){if((c|0)!=0?(da(c+12|0,4,0,0)|0|0)!=0:0)break;c=vs(a,d,c,b)|0}while(0);return c|0}function cr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+16|0;if((i|0)>=(j|0))ba();s=u;o=u+12|0;t=da(a|0,4,0,0)|0|0;do if(!(da(t+65>>0|0,1,0,0)|0)){d=(d|0)!=0;if(d){n=t+68|0;ea(n>>0|0,(da(n>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0);r=Tr(a,c,b+8|0)|0;ea(n>>0|0,(da(n>>0|0,1,0,0)|0|0)+-1<<24>>24|0,1,0)}else r=Tr(a,c,b+8|0)|0;if(!r){if(!d)break;yr(a,da(b+12|0,4,0,0)|0|0);break}k=r+68|0;f=da(k|0,4,0,0)|0|0;a:do if(f){d=da(t+20|0,4,0,0)|0|0;if((d|0)>0){e=da(t+16|0,4,0,0)|0|0;h=0;while(1){g=h+1|0;if((da(e+(h<<4)+12|0,4,0,0)|0|0)==(f|0)){g=h;break a}if((g|0)<(d|0))h=g;else break}}else g=0}else g=-1e6;while(0);p=r+44|0;if(((da(p>>0|0,1,0,0)|0)&16)!=0?(gr(a,r)|0)!=0:0)break;h=(g|0)==1;q=h?13184:13208;d=da((da(t+16|0,4,0,0)|0|0)+(g<<4)|0,4,0,0)|0|0;if(!(Rq(a,9,q,0,d)|0)){e=(c|0)!=0;do if(e){f=h?15:17;h=0}else{if(!((da(p>>0|0,1,0,0)|0)&16)){f=h?13:11;h=0;break}h=r+60|0;while(1){h=da(h|0,4,0,0)|0|0;if((da(h|0,4,0,0)|0|0)==(t|0))break;else h=h+24|0}f=30;h=da((da(h+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0}while(0);if((Rq(a,f,da(r|0,4,0,0)|0|0,h,d)|0)==0?(Rq(a,9,da(r|0,4,0,0)|0|0,0,d)|0)==0:0){h=da(r|0,4,0,0)|0|0;if((Ec(h,25568,7)|0)==0?(Ec(h,35488,11)|0)!=0:0){ea(s|0,h|0,4,0);sh(a,35504,s);break}d=r+12|0;f=(da(d|0,4,0,0)|0|0)==0;if(e){if(f){ea(s|0,h|0,4,0);sh(a,35536,s);break}}else if(!f){ea(s|0,h|0,4,0);sh(a,35576,s);break}if(Nq(a)|0){m=a+408|0;f=da(m|0,4,0,0)|0|0;f=(f|0)==0?a:f;zr(a,g);n=1<>0|0,da(f>>0|0,1,0,1)|0|1|0,1,0);Br(a,g,28544,da(r|0,4,0,0)|0|0);f=da(a|0,4,0,0)|0|0;e=f+24|0;b:do if((((da(e|0,4,0,0)|0)&524288|0)!=0?((da(p>>0|0,1,0,0)|0)&16)==0:0)?(da(d|0,4,0,0)|0|0)==0:0){l=Nq(a)|0;h=an((da(k|0,4,0,0)|0|0)+56|0,da(r|0,4,0,0)|0|0,o)|0;if((h|0)!=0?(da(h+8|0,4,0,0)|0|0)!=0:0)h=0;else{h=da(r+16|0,4,0,0)|0|0;if(!h)break;while(1){if(da(h+24>>0|0,1,0,0)|0)break;if((da(e|0,4,0,0)|0)&16777216)break;h=da(h+4|0,4,0,0)|0|0;if(!h)break b}h=ws(l)|0;vh(l,135,1,h,0)|0}o=a+438|0;ea(o>>0|0,1|0,1,0);qr(a,xs(f,b,0)|0,0);ea(o>>0|0,0|0,1,0);if(!((da(e|0,4,0,0)|0)&16777216)){vh(l,135,0,(da(l+32|0,4,0,0)|0|0)+2|0,0)|0;ys(a,787,2,0,-2,4)}if(h){f=da(l+24|0,4,0,0)|0|0;d=~h;do if((h|0)<0){h=da(f+112|0,4,0,0)|0|0;if(!h)break;ea(h+(d<<2)|0,da(l+32|0,4,0,0)|0|0,4,0)}while(0);ea(f+88|0,(da(l+32|0,4,0,0)|0|0)+-1|0,4,0)}}while(0);k=da(a|0,4,0,0)|0|0;l=k+16|0;f=da(l|0,4,0,0)|0|0;d=Nq(a)|0;o=da(m|0,4,0,0)|0|0;o=(o|0)==0?a:o;zr(a,g);m=o+328|0;ea(m|0,da(m|0,4,0,0)|0|n|0,4,0);o=o+20|0;ea(o>>0|0,da(o>>0|0,1,0,1)|0|1|0,1,0);if((da(p>>0|0,1,0,0)|0)&16)vh(d,146,0,0,0)|0;h=zs(a,r)|0;if(h)do{Pr(a,h);h=da(h+32|0,4,0,0)|0|0}while((h|0)!=0);f=f+(g<<4)|0;if((da(p>>0|0,1,0,0)|0)&8){o=da(r|0,4,0,0)|0|0;ea(s|0,da(f|0,4,0,0)|0|0,4,0);ea(s+4|0,o|0,4,0);Ar(a,35608,s)}o=da(r|0,4,0,0)|0|0;ea(s|0,da(f|0,4,0,0)|0|0,4,0);ea(s+4|0,q|0,4,0);ea(s+8|0,o|0,4,0);Ar(a,35656,s);if((c|0)==0?((da(p>>0|0,1,0,0)|0)&16)==0:0)As(a,r);if((da(p>>0|0,1,0,0)|0)&16){o=da(r|0,4,0,0)|0|0;wh(d,vh(d,148,g,0,0)|0,o,0)}e=da(r|0,4,0,0)|0|0;wh(d,vh(d,124,g,0,0)|0,e,0);Cr(a,g);d=da((da(l|0,4,0,0)|0|0)+(g<<4)+12|0,4,0,0)|0|0;e=da(d+78|0,2,0,0)|0|0;if(e&2){f=da(d+16|0,4,0,0)|0|0;if(f){e=f;do{d=da(e+8|0,4,0,0)|0|0;if(da(d+12|0,4,0,0)|0){Kk(k,d);ea(d+4|0,0|0,4,0);ea(d+38|0,0|0,2,0)}e=da(e|0,4,0,0)|0|0}while((e|0)!=0);e=da((da(l|0,4,0,0)|0|0)+(g<<4)+12|0,4,0,0)|0|0;d=e;e=da(e+78|0,2,0,0)|0|0}ea(d+78|0,e&65533|0,2,0)}}}}}while(0);Co(t,b);i=u;return}function dr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();f=h;e=da(a|0,4,0,0)|0|0;do if((c|0)!=0?(da(c+4|0,4,0,0)|0|0)!=0:0){if(da(e+145>>0|0,1,0,0)|0){sh(a,28488,f);c=a+64|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=-1;break}ea(d|0,c|0,4,0);d=Vq(e,b)|0;c=Uh(e,d)|0;lg(e,d);if((c|0)<0){ea(f|0,b|0,4,0);sh(a,28512,f);c=a+64|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=-1}}else g=7;while(0);if((g|0)==7){c=da(e+144>>0|0,1,0,1)|0|0;ea(d|0,b|0,4,0)}i=h;return c|0}function er(a,b){a=a|0;b=b|0;a:do if(!b)b=0;else while(1){if(Gr(a,da(b|0,4,0,0)|0|0)|0){b=1;break a}if(Jr(a,da(b+32|0,4,0,0)|0|0)|0){b=1;break a}if(Fr(a,da(b+36|0,4,0,0)|0|0)|0){b=1;break a}if(Gr(a,da(b+40|0,4,0,0)|0|0)|0){b=1;break a}if(Fr(a,da(b+44|0,4,0,0)|0|0)|0){b=1;break a}if(Gr(a,da(b+48|0,4,0,0)|0|0)|0){b=1;break a}if(Fr(a,da(b+60|0,4,0,0)|0|0)|0){b=1;break a}if(Fr(a,da(b+64|0,4,0,0)|0|0)|0){b=1;break a}b=da(b+52|0,4,0,0)|0|0;if(!b){b=0;break}}while(0);return b|0}function fr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if((b|0)!=0?(d=lh(a,72,0)|0,(d|0)!=0):0){ea(d|0,Or(a,da(b|0,4,0,0)|0|0,c)|0|0,4,0);ea(d+32|0,xs(a,da(b+32|0,4,0,0)|0|0,c)|0|0,4,0);ea(d+36|0,Lr(a,da(b+36|0,4,0,0)|0|0,c,0)|0|0,4,0);ea(d+40|0,Or(a,da(b+40|0,4,0,0)|0|0,c)|0|0,4,0);ea(d+44|0,Lr(a,da(b+44|0,4,0,0)|0|0,c,0)|0|0,4,0);ea(d+48|0,Or(a,da(b+48|0,4,0,0)|0|0,c)|0|0,4,0);ea(d+4>>0|0,da(b+4>>0|0,1,0,0)|0|0|0,1,0);f=fr(a,da(b+52|0,4,0,0)|0|0,c)|0;ea(d+52|0,f|0,4,0);if(f)ea(f+56|0,d|0,4,0);ea(d+56|0,0|0,4,0);ea(d+60|0,Lr(a,da(b+60|0,4,0,0)|0|0,c,0)|0|0,4,0);ea(d+64|0,Lr(a,da(b+64|0,4,0,0)|0|0,c,0)|0|0,4,0);ea(d+8|0,0|0,4,0);ea(d+12|0,0|0,4,0);ea(d+6|0,(da(b+6|0,2,0,1)|0|0)&65527|0,2,0);ea(d+16|0,-1|0,4,0);ea(d+20|0,-1|0,4,0);h=b+24|0;c=da(h+4|0,4,0,0)|0|0;f=d+24|0;ea(f|0,da(h|0,4,0,0)|0|0,4,0);ea(f+4|0,c|0,4,0);c=da(b+68|0,4,0,0)|0|0;if((c|0)!=0?(g=(da(c|0,4,0,0)|0)<<4|8,e=lh(a,g,((g|0)<0)<<31>>31)|0,(e|0)!=0):0){ew(e|0,0,g|0)|0;ea(e|0,da(c|0,4,0,0)|0|0,4,0);if((da(c|0,4,0,0)|0|0)>0){b=e+8|0;f=0;do{ea(b+(f<<4)+8|0,fr(a,da(c+(f<<4)+16|0,4,0,0)|0|0,0)|0|0,4,0);ea(b+(f<<4)+4|0,Or(a,da(c+(f<<4)+12|0,4,0,0)|0|0,0)|0|0,4,0);ea(b+(f<<4)|0,jh(a,da(c+(f<<4)+8|0,4,0,0)|0|0)|0|0,4,0);f=f+1|0}while((f|0)<(da(c|0,4,0,0)|0|0))}}else e=0;ea(d+68|0,e|0,4,0)}else d=0;return d|0}function gr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();l=p;e=p+8|0;g=p+4|0;o=da(a|0,4,0,0)|0|0;h=b+44|0;d=da(h>>0|0,1,0,0)|0|0;a:do if(!(d&16))m=11;else{c=da(b+60|0,4,0,0)|0|0;if(c)do{if((da(c|0,4,0,0)|0|0)==(o|0)){m=11;break a}c=da(c+24|0,4,0,0)|0|0}while((c|0)!=0);c=b+56|0;d=an(o+308|0,da(da(c|0,4,0,0)|0|0,4,0,0)|0|0,e)|0;if((d|0)!=0?(f=da(d+8|0,4,0,0)|0|0,(f|0)!=0):0){ea(g|0,0|0,4,0);f=(yn(o,b,f,da((da(f|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,g)|0)==0;d=da(g|0,4,0,0)|0|0;if(f){lg(o,d);d=da(h>>0|0,1,0,0)|0|0;m=11;break}else{ea(l|0,d|0,4,0);sh(a,10344,l);lg(o,d);c=1;break}}ea(l|0,da(da(c|0,4,0,0)|0|0,4,0,0)|0|0,4,0);sh(a,28320,l);c=1}while(0);do if((m|0)==11)if((d&16)==0?(n=b+38|0,k=da(n|0,2,0,0)|0|0,k<<16>>16<=0):0){if(k<<16>>16<0){ea(l|0,da(b|0,4,0,0)|0|0,4,0);sh(a,26752,l);c=1;break}d=fr(o,da(b+12|0,4,0,0)|0|0,0)|0;if(!d)c=1;else{h=o+250|0;k=da(h>>0|0,1,0,0)|0|0;l=a+68|0;m=da(l|0,4,0,0)|0|0;Bs(a,da(d+32|0,4,0,0)|0|0);ea(n|0,-1|0,2,0);ea(h>>0|0,0|0,1,0);f=o+284|0;g=da(f|0,4,0,0)|0|0;ea(f|0,0|0,4,0);c=ms(a,d)|0;ea(f|0,g|0,4,0);ea(h>>0|0,k|0,1,0);ea(l|0,m|0,4,0);if(!c){ea(n|0,0|0,2,0);c=1}else{a=c+38|0;ea(n|0,da(a|0,2,0,0)|0|0|0,2,0);m=c+4|0;ea(b+4|0,da(m|0,4,0,0)|0|0,4,0);ea(a|0,0|0,2,0);ea(m|0,0|0,4,0);jg(o,c);c=(da(b+68|0,4,0,0)|0|0)+78|0;ea(c|0,da(c|0,2,0,1)|0|0|2|0,2,0);c=0}Lk(o,d,1)}}else c=0;while(0);i=p;return c|0}
function hr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=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;va=i;i=i+240|0;if((i|0)>=(j|0))ba();ka=va;la=va+220|0;aa=va+216|0;_=va+196|0;$=va+176|0;na=va+164|0;oa=va+136|0;ra=va+88|0;Y=va+64|0;fa=va+32|0;ta=a+464|0;ua=da(ta|0,4,0,0)|0|0;ha=a+468|0;qa=da(ha|0,4,0,0)|0|0;ea(ha|0,qa+1|0,4,0);ea(ta|0,qa|0,4,0);qa=da(a|0,4,0,0)|0|0;a:do if((((b|0)!=0?(ia=qa+65|0,(da(ia>>0|0,1,0,0)|0|0)==0):0)?(d=a+64|0,(da(d|0,4,0,0)|0|0)==0):0)?(Rq(a,21,0,0,0)|0)==0:0){u=ra+0|0;t=u+48|0;do{ea(u|0,0|0,4,0);u=u+4|0}while((u|0)<(t|0));ca=b+48|0;if((da(c>>0|0,1,0,1)|0|0)<9){Mk(qa,da(ca|0,4,0,0)|0|0);ea(ca|0,0|0,4,0);X=b+6|0;ea(X|0,(da(X|0,2,0,1)|0)&65534|0,2,0)}Cs(a,b,0);ea(oa+0|0,0|0,4,0);ea(oa+4|0,0|0,4,0);ea(oa+8|0,0|0,4,0);ea(oa+12|0,0|0,4,0);ea(oa+16|0,0|0,4,0);ea(oa+20|0,0|0,4,0);ea(oa+24|0,0|0,4,0);ea(oa|0,da(ca|0,4,0,0)|0|0,4,0);ga=b+32|0;p=da(ga|0,4,0,0)|0|0;o=da(b|0,4,0,0)|0|0;b:do if(((da(d|0,4,0,0)|0|0)==0?(da(ia>>0|0,1,0,0)|0|0)==0:0)?(ma=b+6|0,r=(da(ma|0,2,0,1)|0|0)>>>2&1,pa=Nq(a)|0,(pa|0)!=0):0){if((da(o|0,4,0,0)|0|0)>1?((da(c>>0|0,1,0,0)|0)&-2)<<24>>24==10:0){sh(a,35368,ka);sa=444;break}ja=b+52|0;o=da(ja|0,4,0,0)|0|0;c:do if(!o){g=a+460|0;f=a+492|0;e=b+36|0;d=a+408|0;z=b+60|0;K=b+64|0;L=b+4|0;M=qa+60|0;N=pa+32|0;O=a+72|0;P=Y+4|0;Q=Y+1|0;R=Y+8|0;S=Y+12|0;T=pa+4|0;U=pa+24|0;V=a+19|0;W=a+56|0;X=a+80|0;J=0;q=r;while(1){if((J|0)>=(da(p|0,4,0,0)|0|0)){x=e;H=0;r=q;L=p;break c}E=da(p+(J*72|0)+28|0,4,0,0)|0|0;do if(!E)r=J;else{F=p+(J*72|0)+32|0;s=da(F|0,4,0,0)|0|0;if(s){if((da(p+(J*72|0)+45>>0|0,1,0,0)|0)&4){r=J;break}vh(pa,17,da(p+(J*72|0)+36|0,4,0,0)|0|0,s,0)|0;r=J;break}ea(ka|0,0|0,4,0);Ds(b,ka);ea(g|0,(da(g|0,4,0,0)|0|0)+(da(ka|0,4,0,0)|0|0)|0,4,0);m=(da(E+6|0,2,0,0)|0)&4;G=da(f|0,4,0,0)|0|0;l=da(a|0,4,0,0)|0|0;d:do if(!((da(l+60|0,2,0,0)|0)&1)){B=da(ga|0,4,0,0)|0|0;k=da(B+(J*72|0)+48|0,4,0,0)|0|0;A=B+(J*72|0)+28|0;H=da(A|0,4,0,0)|0|0;h=m<<16>>16!=0;do if(h){if(q){sa=120;break d}if((da(B|0,4,0,0)|0|0)>1){sa=120;break d}w=da(e|0,4,0,0)|0|0;if((w|0)!=0?((da(w+4|0,4,0,0)|0)&2097152|0)!=0:0){sa=120;break d}x=da(b|0,4,0,0)|0|0;do if(x){v=da(x|0,4,0,0)|0|0;if((v|0)<=0)break;y=da(x+4|0,4,0,0)|0|0;x=0;w=0;do{w=da((da(y+(x*20|0)|0,4,0,0)|0|0)+4|0,4,0,0)|0|w;x=x+1|0}while((x|0)!=(v|0));if(w&2097152){sa=120;break d}}while(0);x=da(ca|0,4,0,0)|0|0;if(!x)break;v=da(x|0,4,0,0)|0|0;if((v|0)<=0)break;y=da(x+4|0,4,0,0)|0|0;x=0;w=0;do{w=da((da(y+(x*20|0)|0,4,0,0)|0|0)+4|0,4,0,0)|0|w;x=x+1|0}while((x|0)!=(v|0));if(w&2097152){sa=120;break d}}while(0);y=da(H+32|0,4,0,0)|0|0;x=(da(H+60|0,4,0,0)|0|0)==0;if(!x?(da(z|0,4,0,0)|0|0)!=0:0){sa=120;break}if(da(H+64|0,4,0,0)|0){sa=120;break}v=da(ma|0,2,0,0)|0|0;w=(v&64)==0;if(!(w|x)){sa=120;break}if(!(da(y|0,4,0,0)|0)){sa=120;break}u=da(H+6|0,2,0,0)|0|0;if(u&1){sa=120;break}y=x|w^1;if(!y?(da(B|0,4,0,0)|0|0)>1|(q|0)!=0:0){sa=120;break}x=v&1;if(x<<16>>16!=0&h){sa=120;break}s=da(ca|0,4,0,0)|0|0;t=(s|0)==0;if(!t?(da(H+48|0,4,0,0)|0|0)!=0:0){sa=120;break}n=(q|0)!=0;if(n?(da(H+48|0,4,0,0)|0|0)!=0:0){sa=120;break}if(y){if(u&6144){sa=120;break}}else if(!((da(e|0,4,0,0)|0|0)==0&x<<16>>16==0&(u&6144)==0)){sa=120;break}if((v&2048)!=0?(da(H+52|0,4,0,0)|0|0)!=0:0){sa=120;break}I=B+(J*72|0)+44|0;if((da(I>>0|0,1,0,0)|0)&32){sa=120;break}v=H+52|0;y=da(v|0,4,0,0)|0|0;do if(y){if(!(x<<16>>16==0&(((da(H+48|0,4,0,0)|0|0)!=0|n)^1))){sa=120;break d}if((da(B|0,4,0,0)|0|0)!=1){sa=120;break d}e:do if(H){if(!(u&5))w=H;else{sa=120;break d}while(1){x=(y|0)==0;if(!x?(da(w+4>>0|0,1,0,0)|0|0)!=116:0){sa=120;break d}if((da(da(w+32|0,4,0,0)|0|0,4,0,0)|0|0)<1){sa=120;break d}if((da(da(H|0,4,0,0)|0|0,4,0,0)|0|0)!=(da(da(w|0,4,0,0)|0|0,4,0,0)|0|0)){sa=120;break d}if(x)break e;if((da(y+6|0,2,0,0)|0)&5){sa=120;break d}w=y;y=da(y+52|0,4,0,0)|0|0}}while(0);if(t)break;w=da(s|0,4,0,0)|0|0;if((w|0)<=0)break;y=da(s+4|0,4,0,0)|0|0;x=0;do{if(!(da(y+(x*20|0)+16|0,2,0,0)|0)){sa=120;break d}x=x+1|0}while((x|0)<(w|0))}while(0);r=B+(J*72|0)+16|0;ea(f|0,da(r|0,4,0,0)|0|0,4,0);Rq(a,21,0,0,0)|0;ea(f|0,G|0,4,0);y=da(v|0,4,0,0)|0|0;f:do if(!y)sa=81;else{s=l+65|0;v=da(ca|0,4,0,0)|0|0;u=da(z|0,4,0,0)|0|0;t=da(K|0,4,0,0)|0|0;w=da(ja|0,4,0,0)|0|0;while(1){ea(ca|0,0|0,4,0);ea(ga|0,0|0,4,0);ea(ja|0,0|0,4,0);ea(z|0,0|0,4,0);ea(K|0,0|0,4,0);x=fr(l,b,0)|0;ea(K|0,t|0,4,0);ea(z|0,u|0,4,0);ea(ca|0,v|0,4,0);ea(ga|0,B|0,4,0);ea(L>>0|0,116|0,1,0);if(!x)x=w;else{ea(x+52|0,w|0,4,0);if(w)ea(w+56|0,x|0,4,0);ea(x+56|0,b|0,4,0)}ea(ja|0,x|0,4,0);if(da(s>>0|0,1,0,0)|0)break f;y=da(y+52|0,4,0,0)|0|0;if(!y){sa=81;break}else w=x}}while(0);if((sa|0)==81){sa=0;D=da(A|0,4,0,0)|0|0;v=B+(J*72|0)+12|0;lg(l,da(v|0,4,0,0)|0|0);lg(l,da(r|0,4,0,0)|0|0);w=B+(J*72|0)+20|0;lg(l,da(w|0,4,0,0)|0|0);ea(v|0,0|0,4,0);ea(r|0,0|0,4,0);ea(w|0,0|0,4,0);ea(A|0,0|0,4,0);w=B+(J*72|0)+24|0;v=da(w|0,4,0,0)|0|0;if(v){u=v+40|0;t=da(u|0,2,0,0)|0|0;if(t<<16>>16==1){H=da(d|0,4,0,0)|0|0;H=((H|0)==0?a:H)+524|0;ea(v+72|0,da(H|0,4,0,0)|0|0,4,0);ea(H|0,v|0,4,0)}else ea(u|0,t+-1<<16>>16|0,2,0);ea(w|0,0|0,4,0)}H=J+1|0;G=l+65|0;F=b;E=D;while(1){s=da(E+32|0,4,0,0)|0|0;r=da(s|0,4,0,0)|0|0;x=F+32|0;y=da(x|0,4,0,0)|0|0;if(!y){y=or(l,0,0,0)|0;ea(x|0,y|0,4,0);if(!y)break;else p=0}else p=da(I>>0|0,1,0,0)|0|0;if((r|0)>1){y=Es(l,y,r+-1|0,H)|0;ea(x|0,y|0,4,0);if(da(G>>0|0,1,0,0)|0)break}if((r|0)>0){w=0;do{u=w+J|0;Gk(l,da(y+(u*72|0)+56|0,4,0,0)|0|0);x=s+(w*72|0)+8|0;u=y+(u*72|0)+8|0;v=x+0|0;t=u+72|0;do{ea(u|0,da(v|0,4,0,0)|0|0,4,0);u=u+4|0;v=v+4|0}while((u|0)<(t|0));u=x+0|0;t=u+72|0;do{ea(u|0,0|0,4,0);u=u+4|0}while((u|0)<(t|0));w=w+1|0}while((w|0)!=(r|0))}ea(y+(J*72|0)+44>>0|0,p|0,1,0);x=da(F|0,4,0,0)|0|0;y=da(x|0,4,0,0)|0|0;if((y|0)>0){u=x+4|0;w=da(u|0,4,0,0)|0|0;v=0;do{if(!(da(w+(v*20|0)+4|0,4,0,0)|0)){y=jh(l,da(w+(v*20|0)+8|0,4,0,0)|0|0)|0;ko(y);w=da(u|0,4,0,0)|0|0;ea(w+(v*20|0)+4|0,y|0,4,0);y=da(x|0,4,0,0)|0|0}v=v+1|0}while((v|0)<(y|0));x=da(F|0,4,0,0)|0|0}Fs(l,x,k,da(E|0,4,0,0)|0|0);if(n){Fs(l,da(F+40|0,4,0,0)|0|0,k,da(E|0,4,0,0)|0|0);B=F+44|0;ea(B|0,Gs(l,da(B|0,4,0,0)|0|0,k,da(E|0,4,0,0)|0|0)|0|0,4,0)}y=E+48|0;x=da(y|0,4,0,0)|0|0;do if(!x){x=da(F+48|0,4,0,0)|0|0;if(!x)break;Fs(l,x,k,da(E|0,4,0,0)|0|0)}else{w=da(x|0,4,0,0)|0|0;if((w|0)>0){v=da(x+4|0,4,0,0)|0|0;u=0;do{ea(v+(u*20|0)+16|0,0|0,2,0);u=u+1|0}while((u|0)!=(w|0))}ea(F+48|0,x|0,4,0);ea(y|0,0|0,4,0)}while(0);x=da(E+36|0,4,0,0)|0|0;if(!x)w=0;else w=Lr(l,x,0,0)|0;y=F+36|0;x=da(y|0,4,0,0)|0|0;if(h){A=F+44|0;ea(A|0,x|0,4,0);ea(y|0,w|0,4,0);B=Gs(l,x,k,da(E|0,4,0,0)|0|0)|0;ea(A|0,B|0,4,0);ea(A|0,rs(l,B,Lr(l,da(E+44|0,4,0,0)|0|0,0,0)|0)|0|0,4,0);ea(F+40|0,Or(l,da(E+40|0,4,0,0)|0|0,0)|0|0,4,0)}else{B=Gs(l,x,k,da(E|0,4,0,0)|0|0)|0;ea(y|0,B|0,4,0);ea(y|0,rs(l,B,w)|0|0,4,0)}x=F+6|0;ea(x|0,da(x|0,2,0,1)|0|(da(E+6|0,2,0,1)|0)&1|0,2,0);x=E+60|0;w=da(x|0,4,0,0)|0|0;if(w){ea(F+60|0,w|0,4,0);ea(x|0,0|0,4,0)}F=da(F+52|0,4,0,0)|0|0;if(!F)break;else E=da(E+52|0,4,0,0)|0|0}Lk(l,D,1)}if(!(m<<16>>16)){r=-1;break}ea(ma|0,da(ma|0,2,0,1)|0|4|0,2,0);r=-1;q=1}else sa=120;while(0);g:do if((sa|0)==120){sa=0;do if((da(p|0,4,0,0)|0|0)==1){if((da(M|0,2,0,0)|0)&256)break;u=da(N|0,4,0,0)|0|0;I=u+1|0;H=(da(O|0,4,0,0)|0|0)+1|0;ea(O|0,H|0,4,0);r=p+(J*72|0)+36|0;ea(r|0,H|0,4,0);vh(pa,20,H,0,I)|0;ea(F|0,I|0,4,0);I=da(r|0,4,0,0)|0|0;ea(Y>>0|0,13|0,1,0);ea(P|0,I|0,4,0);ea(Q>>0|0,0|0,1,0);ea(R|0,0|0,4,0);ea(S|0,0|0,4,0);ea(p+(J*72|0)+46>>0|0,da(ha|0,4,0,0)|0|0,1,0);hr(a,E,Y)|0;I=E+24|0;I=es(da(I|0,4,0,0)|0|0,da(I+4|0,4,0,0)|0|0)|0;ea((da(p+(J*72|0)+24|0,4,0,0)|0|0)+28|0,I|0,2,0);I=p+(J*72|0)+45|0;ea(I>>0|0,da(I>>0|0,1,0,0)|0|4|0,1,0);ea(p+(J*72|0)+40|0,da(R|0,4,0,0)|0|0,4,0);vh(pa,21,da(r|0,4,0,0)|0|0,0,0)|0;r=da(N|0,4,0,0)|0|0;if(r>>>0>u>>>0)ea((da(T|0,4,0,0)|0|0)+(u*20|0)+8|0,r|0,4,0);ea((da(U|0,4,0,0)|0|0)+88|0,r+-1|0,4,0);ea(V>>0|0,0|0,1,0);ea(W|0,0|0,4,0);r=J;break g}while(0);t=(da(O|0,4,0,0)|0|0)+1|0;ea(O|0,t|0,4,0);v=p+(J*72|0)+36|0;ea(v|0,t|0,4,0);t=vh(pa,25,0,t,0)|0;ea(F|0,t+1|0,4,0);if(!((da(p+(J*72|0)+45>>0|0,1,0,0)|0)&2)){I=Nq(a)|0;u=da(X|0,4,0,0)|0|0;ea(X|0,u+1|0,4,0);u=vh(I,44,u,0,0)|0}else u=0;I=da(p+(J*72|0)+48|0,4,0,0)|0|0;ea(Y>>0|0,12|0,1,0);ea(P|0,I|0,4,0);ea(Q>>0|0,0|0,1,0);ea(R|0,0|0,4,0);ea(S|0,0|0,4,0);ea(p+(J*72|0)+46>>0|0,da(ha|0,4,0,0)|0|0,1,0);hr(a,E,Y)|0;I=E+24|0;I=es(da(I|0,4,0,0)|0|0,da(I+4|0,4,0,0)|0|0)|0;ea((da(p+(J*72|0)+24|0,4,0,0)|0|0)+28|0,I|0,2,0);if(u){r=da(N|0,4,0,0)|0|0;if(r>>>0>u>>>0)ea((da(T|0,4,0,0)|0|0)+(u*20|0)+8|0,r|0,4,0);ea((da(U|0,4,0,0)|0|0)+88|0,r+-1|0,4,0)}r=vh(pa,18,da(v|0,4,0,0)|0|0,0,0)|0;if((da(N|0,4,0,0)|0|0)>>>0>t>>>0)ea((da(T|0,4,0,0)|0|0)+(t*20|0)+4|0,r|0,4,0);ea(V>>0|0,0|0,1,0);ea(W|0,0|0,4,0);r=J}while(0);if(da(ia>>0|0,1,0,0)|0){sa=444;break b}ea(ka|0,0|0,4,0);Ds(b,ka);ea(g|0,(da(g|0,4,0,0)|0|0)-(da(ka|0,4,0,0)|0|0)|0,4,0);p=da(ga|0,4,0,0)|0|0;if((da(c>>0|0,1,0,1)|0|0)<9)break;ea(oa|0,da(ca|0,4,0,0)|0|0,4,0)}while(0);o=da(ja|0,4,0,0)|0|0;if(!o)J=r+1|0;else{x=e;H=o;r=q;L=p;break}}}else{x=b+36|0;H=o;L=p}while(0);K=da(b|0,4,0,0)|0|0;t=da(x|0,4,0,0)|0|0;e=b+40|0;o=da(e|0,4,0,0)|0|0;y=b+44|0;Y=da(y|0,4,0,0)|0|0;f=da(ma|0,2,0,0)|0|0;ea(na>>0|0,f&1|0,1,0);if(H){F=da(a|0,4,0,0)|0|0;ea(la+0|0,da(c+0|0,4,0,0)|0|0,4,0);ea(la+4|0,da(c+4|0,4,0,0)|0|0,4,0);ea(la+8|0,da(c+8|0,4,0,0)|0|0,4,0);ea(la+12|0,da(c+12|0,4,0,0)|0|0,4,0);ea(la+16|0,da(c+16|0,4,0,0)|0|0,4,0);h:do if(!(da(H+48|0,4,0,0)|0)){h=H+60|0;if(da(h|0,4,0,0)|0){d=da(b+4>>0|0,1,0,1)|0|0;if((d|0)==118)d=35336;else if((d|0)==117)d=35352;else if((d|0)==116)d=35320;else d=35360;ea(ka|0,d|0,4,0);sh(a,35072,ka);f=0;d=1;sa=227;break}I=Nq(a)|0;l=da(la>>0|0,1,0,0)|0|0;if(l<<24>>24==12){vh(I,57,da(la+4|0,4,0,0)|0|0,da(da(b|0,4,0,0)|0|0,4,0,0)|0|0,0)|0;l=da(I+4|0,4,0,0)|0|0;if(l)ea(l+(((da(I+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0);ea(la>>0|0,14|0,1,0);l=14}k=da(ma|0,2,0,1)|0|0;if(k&256){f=0;d=Hs(a,b,la)|0;sa=227;break}if((da(da(b|0,4,0,0)|0|0,4,0,0)|0|0)!=(da(da(H|0,4,0,0)|0|0,4,0,0)|0|0)){Is(a,b);f=0;d=1;sa=227;break}do if(!(k&2048)){if(da(ca|0,4,0,0)|0){d=Ks(a,b,c)|0;break h}G=b+4|0;k=da(G>>0|0,1,0,1)|0|0;if((k|0)==116){n=b+8|0;l=H+8|0;ea(l|0,da(n|0,4,0,0)|0|0,4,0);m=b+12|0;k=H+12|0;ea(k|0,da(m|0,4,0,0)|0|0,4,0);X=b+60|0;ea(h|0,da(X|0,4,0,0)|0|0,4,0);Y=b+64|0;ea(H+64|0,da(Y|0,4,0,0)|0|0,4,0);g=da(ha|0,4,0,0)|0|0;d=hr(a,H,la)|0;ea(X|0,0|0,4,0);ea(Y|0,0|0,4,0);if(d){f=0;sa=227;break h}ea(ja|0,0|0,4,0);l=da(l|0,4,0,0)|0|0;ea(n|0,l|0,4,0);ea(m|0,da(k|0,4,0,0)|0|0,4,0);if(!l)o=0;else o=vh(I,46,l,0,0)|0;e=da(ha|0,4,0,0)|0|0;d=hr(a,b,la)|0;f=da(ja|0,4,0,0)|0|0;ea(ja|0,H|0,4,0);Y=H+24|0;n=b+24|0;l=n;Y=iw(da(l|0,4,0,0)|0|0,da(l+4|0,4,0,0)|0|0,da(Y|0,4,0,0)|0|0,da(Y+4|0,4,0,0)|0|0)|0;l=n;ea(l|0,Y|0,4,0);ea(l+4|0,C|0,4,0);l=da(h|0,4,0,0)|0|0;do if(l){Y=(Ls(l,aa)|0)!=0;l=da(aa|0,4,0,0)|0|0;if(!(Y&(l|0)>0))break;k=n;Y=da(k+4|0,4,0,0)|0|0;h=((l|0)<0)<<31>>31;if(!(Y>>>0>h>>>0|((Y|0)==(h|0)?(da(k|0,4,0,0)|0|0)>>>0>l>>>0:0)))break;Y=n;ea(Y|0,l|0,4,0);ea(Y+4|0,h|0,4,0)}while(0);if(!o){o=G;n=g;l=e;break}h=da(I+32|0,4,0,0)|0|0;if(h>>>0>o>>>0)ea((da(I+4|0,4,0,0)|0|0)+(o*20|0)+8|0,h|0,4,0);ea((da(I+24|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);o=G;n=g;l=e;break}else if((k|0)==115|(k|0)==117){if(l<<24>>24==1)k=da(la+4|0,4,0,0)|0|0;else{h=a+68|0;k=da(h|0,4,0,0)|0|0;ea(h|0,k+1|0,4,0);ea(b+16|0,vh(I,57,k,0,0)|0|0,4,0);h=b;while(1){l=da(h+56|0,4,0,0)|0|0;if(!l)break;else h=l}Y=h+6|0;ea(Y|0,da(Y|0,2,0,1)|0|8|0,2,0)}ea(_>>0|0,1|0,1,0);ea(_+4|0,k|0,4,0);ea(_+1>>0|0,0|0,1,0);ea(_+8|0,0|0,4,0);ea(_+12|0,0|0,4,0);q=da(ha|0,4,0,0)|0|0;d=hr(a,H,_)|0;if(d){f=0;sa=227;break h}p=(da(G>>0|0,1,0,0)|0|0)==117?2:1;ea(ja|0,0|0,4,0);n=b+60|0;m=da(n|0,4,0,0)|0|0;ea(n|0,0|0,4,0);l=b+64|0;h=da(l|0,4,0,0)|0|0;ea(l|0,0|0,4,0);ea(_>>0|0,p|0,1,0);p=da(ha|0,4,0,0)|0|0;d=hr(a,b,_)|0;Mk(F,da(ca|0,4,0,0)|0|0);f=da(ja|0,4,0,0)|0|0;ea(ja|0,H|0,4,0);ea(ca|0,0|0,4,0);if((da(G>>0|0,1,0,0)|0|0)==115){X=H+24|0;Y=b+24|0;W=Y;X=iw(da(W|0,4,0,0)|0|0,da(W+4|0,4,0,0)|0|0,da(X|0,4,0,0)|0|0,da(X+4|0,4,0,0)|0|0)|0;ea(Y|0,X|0,4,0);ea(Y+4|0,C|0,4,0)}Fk(F,da(n|0,4,0,0)|0|0);ea(n|0,m|0,4,0);ea(l|0,h|0,4,0);ea(b+8|0,0|0,4,0);ea(b+12|0,0|0,4,0);h=da(la>>0|0,1,0,0)|0|0;if(h<<24>>24==9){h=b;while(1){g=da(h+52|0,4,0,0)|0|0;if(!g)break;else h=g}Ms(a,0,da(h|0,4,0,0)|0|0)}else if(h<<24>>24==1){o=G;n=q;l=p;break}e=ws(I)|0;Y=ws(I)|0;Ns(a,b,e);vh(I,108,k,e,0)|0;o=I+32|0;n=da(o|0,4,0,0)|0|0;Os(a,b,da(b|0,4,0,0)|0|0,k,0,0,la,Y,e);m=I+24|0;l=da(m|0,4,0,0)|0|0;h=~Y;do if((Y|0)<0){g=da(l+112|0,4,0,0)|0|0;if(!g)break;ea(g+(h<<2)|0,da(o|0,4,0,0)|0|0,4,0)}while(0);ea(l+88|0,(da(o|0,4,0,0)|0|0)+-1|0,4,0);vh(I,9,k,n,0)|0;h=da(m|0,4,0,0)|0|0;g=~e;do if((e|0)<0){l=da(h+112|0,4,0,0)|0|0;if(!l)break;ea(l+(g<<2)|0,da(o|0,4,0,0)|0|0,4,0)}while(0);ea(h+88|0,(da(o|0,4,0,0)|0|0)+-1|0,4,0);vh(I,61,k,0,0)|0;o=G;n=q;l=p;break}else{h=a+68|0;s=da(h|0,4,0,0)|0|0;ea(h|0,s+2|0,4,0);ea(b+16|0,vh(I,57,s,0,0)|0|0,4,0);h=b;while(1){g=da(h+56|0,4,0,0)|0|0;if(!g)break;else h=g}q=s+1|0;n=h+6|0;ea(n|0,da(n|0,2,0,1)|0|8|0,2,0);ea($>>0|0,1|0,1,0);n=$+4|0;ea(n|0,s|0,4,0);ea($+1>>0|0,0|0,1,0);ea($+8|0,0|0,4,0);ea($+12|0,0|0,4,0);p=da(ha|0,4,0,0)|0|0;d=hr(a,H,$)|0;if(d){f=0;sa=227;break h}ea(b+20|0,vh(I,57,q,0,0)|0|0,4,0);ea(ja|0,0|0,4,0);g=b+60|0;h=da(g|0,4,0,0)|0|0;ea(g|0,0|0,4,0);k=b+64|0;l=da(k|0,4,0,0)|0|0;ea(k|0,0|0,4,0);ea(n|0,q|0,4,0);r=da(ha|0,4,0,0)|0|0;d=hr(a,b,$)|0;f=da(ja|0,4,0,0)|0|0;ea(ja|0,H|0,4,0);o=b+24|0;e=o;Y=da(e+4|0,4,0,0)|0|0;m=H+24|0;n=da(m|0,4,0,0)|0|0;m=da(m+4|0,4,0,0)|0|0;if(Y>>>0>m>>>0|((Y|0)==(m|0)?(da(e|0,4,0,0)|0|0)>>>0>n>>>0:0)){Y=o;ea(Y|0,n|0,4,0);ea(Y+4|0,m|0,4,0)}Fk(F,da(g|0,4,0,0)|0|0);ea(g|0,h|0,4,0);ea(k|0,l|0,4,0);if((da(la>>0|0,1,0,0)|0|0)==9){l=b;while(1){k=da(l+52|0,4,0,0)|0|0;if(!k)break;else l=k}Ms(a,0,da(l|0,4,0,0)|0|0)}g=ws(I)|0;o=ws(I)|0;Ns(a,b,g);vh(I,108,s,g,0)|0;l=a+19|0;k=da(l>>0|0,1,0,0)|0|0;if(!(k<<24>>24)){Y=a+72|0;l=(da(Y|0,4,0,0)|0|0)+1|0;ea(Y|0,l|0,4,0)}else{Y=k+-1<<24>>24;ea(l>>0|0,Y|0,1,0);l=da(a+((Y&255)<<2)+24|0,4,0,0)|0|0}e=vh(I,101,s,l,0)|0;wh(I,vh(I,68,q,o,l)|0,0,-14);Zr(a,l);Os(a,b,da(b|0,4,0,0)|0|0,s,0,0,la,o,g);l=I+24|0;k=da(l|0,4,0,0)|0|0;m=~o;do if((o|0)<0){n=da(k+112|0,4,0,0)|0|0;if(!n)break;ea(n+(m<<2)|0,da(I+32|0,4,0,0)|0|0,4,0)}while(0);n=I+32|0;ea(k+88|0,(da(n|0,4,0,0)|0|0)+-1|0,4,0);vh(I,9,s,e,0)|0;k=da(l|0,4,0,0)|0|0;h=~g;do if((g|0)<0){l=da(k+112|0,4,0,0)|0|0;if(!l)break;ea(l+(h<<2)|0,da(n|0,4,0,0)|0|0,4,0)}while(0);ea(k+88|0,(da(n|0,4,0,0)|0|0)+-1|0,4,0);vh(I,61,q,0,0)|0;vh(I,61,s,0,0)|0;o=G;n=p;l=r;break}}else{Js(a,b,la);o=b+4|0;n=0;l=0;f=0;d=0}while(0);Y=da(o>>0|0,1,0,0)|0|0;Ps(a,Y&255,n,l,Y<<24>>24!=116&1);if(!((da(ma|0,2,0,0)|0)&8)){sa=227;break}m=da(da(b|0,4,0,0)|0|0,4,0,0)|0|0;n=Qs(F,m,1)|0;if(!n){d=7;sa=227;break}if((m|0)>0){e=F+8|0;g=n+20|0;h=0;while(1){Y=Rs(a,b,h)|0;ea(g|0,Y|0,4,0);if(!Y)ea(g|0,da(e|0,4,0,0)|0|0,4,0);h=h+1|0;if((h|0)==(m|0))break;else g=g+4|0}}k=I+32|0;l=I+4|0;do{e=0;do{h=b+(e<<2)+16|0;g=da(h|0,4,0,0)|0|0;if((g|0)<0)break;if((da(k|0,4,0,0)|0|0)>>>0>g>>>0)ea((da(l|0,4,0,0)|0|0)+(g*20|0)+8|0,m|0,4,0);ea(n|0,(da(n|0,4,0,0)|0|0)+1|0,4,0);wh(I,g,n,-6);ea(h|0,-1|0,4,0);e=e+1|0}while((e|0)<2);b=da(b+52|0,4,0,0)|0|0}while((b|0)!=0);Y=(da(n|0,4,0,0)|0|0)+-1|0;ea(n|0,Y|0,4,0);if(Y){sa=227;break}Vc(n);sa=227}else{d=da(b+4>>0|0,1,0,1)|0|0;if((d|0)==118)d=35336;else if((d|0)==117)d=35352;else if((d|0)==116)d=35320;else d=35360;ea(ka|0,d|0,4,0);sh(a,35024,ka);f=0;d=1;sa=227}while(0);if((sa|0)==227){ea(c+8|0,da(la+8|0,4,0,0)|0|0,4,0);ea(c+12|0,da(la+12|0,4,0,0)|0|0,4,0);Lk(F,f,1)}ea(ta|0,ua|0,4,0);break a}if((f&5)==1){d=da(oa|0,4,0,0)|0|0;if(!(Ss(d,K,-1)|0)){ea(ma|0,f&65534|0,2,0);o=Or(qa,K,0)|0;ea(e|0,o|0,4,0);sa=232}}else sa=232;if((sa|0)==232)d=da(oa|0,4,0,0)|0|0;if(!d)d=-1;else{X=Ts(a,d,0,da(K|0,4,0,0)|0|0)|0;W=a+68|0;d=da(W|0,4,0,0)|0|0;ea(W|0,d+1|0,4,0);ea(oa+8|0,d|0,4,0);d=vh(pa,57,d,(da(da(oa|0,4,0,0)|0|0,4,0,0)|0|0)+1+(da(K|0,4,0,0)|0|0)|0,0)|0;wh(pa,d,X,-6)}I=oa+20|0;ea(I|0,d|0,4,0);if((da(c>>0|0,1,0,0)|0|0)==12)vh(pa,57,da(c+4|0,4,0,0)|0|0,da(K|0,4,0,0)|0|0,0)|0;ja=ws(pa)|0;q=b+24|0;X=q;ea(X|0,-1|0,4,0);ea(X+4|0,2147483647|0,4,0);Ns(a,b,ja);if((da(b+8|0,4,0,0)|0|0)==0?(Z=da(I|0,4,0,0)|0|0,(Z|0)>-1):0){if(!(da((da(pa|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))d=(da(pa+4|0,4,0,0)|0|0)+(Z*20|0)|0;else d=29120;ea(d>>0|0,58|0,1,0);X=oa+24|0;ea(X>>0|0,da(X>>0|0,1,0,1)|0|1|0,1,0)}if(!((da(ma|0,2,0,0)|0)&1))ea(na+1>>0|0,0|0,1,0);else{X=a+68|0;d=da(X|0,4,0,0)|0|0;ea(X|0,d+1|0,4,0);ea(na+4|0,d|0,4,0);X=Ts(a,da(b|0,4,0,0)|0|0,0,0)|0;d=vh(pa,57,d,0,0)|0;wh(pa,d,X,-6);ea(na+8|0,d|0,4,0);d=da(pa+4|0,4,0,0)|0|0;if(d)ea(d+(((da(pa+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0);ea(na+1>>0|0,3|0,1,0)}if((r|0)==0&(o|0)==0){n=Us(a,L,t,da(oa|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0,(da(na>>0|0,1,0,0)|0|0)!=0?1024:0,0)|0;if(!n){sa=444;break}l=Vs(da(n+32|0,2,0,0)|0|0)|0;k=C;h=q;Y=da(h+4|0,4,0,0)|0|0;if(k>>>0>>0|((k|0)==(Y|0)?l>>>0<(da(h|0,4,0,0)|0|0)>>>0:0)){Y=q;ea(Y|0,l|0,4,0);ea(Y+4|0,k|0,4,0)}do if(da(na>>0|0,1,0,0)|0){l=da(n+40>>0|0,1,0,0)|0|0;if(!(l<<24>>24))break;ea(na+1>>0|0,l|0,1,0)}while(0);l=da(oa|0,4,0,0)|0|0;do if(!l)sa=257;else{Y=da(n+36>>0|0,1,0,0)|0|0;ea(oa+4|0,Y|0,4,0);if((Y|0)!=(da(l|0,4,0,0)|0|0))break;ea(oa|0,0|0,4,0);sa=257}while(0);do if((sa|0)==257){h=da(I|0,4,0,0)|0|0;if((h|0)<=-1)break;yh(pa,h)}while(0);Os(a,b,K,-1,oa,na,c,da(n+48|0,4,0,0)|0|0,da(n+52|0,4,0,0)|0|0);Ws(n)}else{r=(o|0)!=0;do if(r){e=da(b|0,4,0,0)|0|0;d=da(e|0,4,0,0)|0|0;if((d|0)>0){e=da(e+4|0,4,0,0)|0|0;while(1){ea(e+18|0,0|0,2,0);d=d+-1|0;if((d|0)<=0)break;else e=e+20|0}}d=da(o|0,4,0,0)|0|0;if((d|0)>0){e=da(o+4|0,4,0,0)|0|0;while(1){ea(e+18|0,0|0,2,0);d=d+-1|0;if((d|0)<=0)break;else e=e+20|0}}X=q;W=da(X+4|0,4,0,0)|0|0;if(!(W>>>0>0|(W|0)==0&(da(X|0,4,0,0)|0|0)>>>0>100))break;X=q;ea(X|0,100|0,4,0);ea(X+4|0,0|0,4,0)}else{X=q;ea(X|0,1|0,4,0);ea(X+4|0,0|0,4,0)}while(0);G=(Ss(o,da(oa|0,4,0,0)|0|0,-1)|0)==0;J=ws(pa)|0;ea(fa+0|0,0|0,4,0);ea(fa+4|0,0|0,4,0);ea(fa+8|0,0|0,4,0);ea(fa+12|0,0|0,4,0);ea(fa+16|0,0|0,4,0);ea(fa+20|0,0|0,4,0);ea(fa+24|0,0|0,4,0);ea(fa+28|0,0|0,4,0);ea(fa|0,a|0,4,0);ea(fa+4|0,L|0,4,0);ea(fa+12|0,ra|0,4,0);A=a+72|0;ea(ra+16|0,(da(A|0,4,0,0)|0|0)+1|0,4,0);if(r)d=da(o|0,4,0,0)|0|0;else d=0;q=ra+12|0;ea(q|0,d|0,4,0);ea(ra+24|0,o|0,4,0);Xs(fa,K);Xs(fa,da(oa|0,4,0,0)|0|0);if(Y){ea(ka+0|0,0|0,4,0);ea(ka+4|0,0|0,4,0);ea(ka+8|0,0|0,4,0);ea(ka+12|0,0|0,4,0);ea(ka+16|0,0|0,4,0);ea(ka+20|0,0|0,4,0);ea(ka|0,80|0,4,0);ea(ka+4|0,81|0,4,0);ea(ka+24|0,fa|0,4,0);qs(ka,Y)|0}s=ra+32|0;ea(ra+36|0,da(s|0,4,0,0)|0|0,4,0);k=ra+44|0;d=da(k|0,4,0,0)|0|0;if((d|0)>0){g=fa+28|0;e=ra+40|0;f=da(g|0,2,0,0)|0|0;h=0;do{ea(g|0,f&65535|8|0,2,0);Xs(fa,da((da((da(e|0,4,0,0)|0|0)+(h<<4)|0,4,0,0)|0|0)+20|0,4,0,0)|0|0);f=(da(g|0,2,0,1)|0)&65527;ea(g|0,f|0,2,0);h=h+1|0;d=da(k|0,4,0,0)|0|0}while((h|0)<(d|0))}ea(ra+20|0,da(A|0,4,0,0)|0|0,4,0);if(da(ia>>0|0,1,0,0)|0){sa=444;break}if(r){y=a+68|0;x=da(y|0,4,0,0)|0|0;ea(y|0,x+1|0,4,0);n=ra+4|0;ea(n|0,x|0,4,0);x=Ts(a,o,0,da(s|0,4,0,0)|0|0)|0;m=vh(pa,58,da(n|0,4,0,0)|0|0,da(q|0,4,0,0)|0|0,0)|0;wh(pa,m,x,-6);E=da(A|0,4,0,0)|0|0;D=E+1|0;z=E+2|0;E=E+3|0;ea(A|0,E|0,4,0);B=ws(pa)|0;H=(da(A|0,4,0,0)|0|0)+1|0;ea(A|0,H|0,4,0);F=ws(pa)|0;l=da(A|0,4,0,0)|0|0;h=l+1|0;X=da(o|0,4,0,0)|0|0;W=X+l|0;k=W+1|0;ea(A|0,W+X|0,4,0);vh(pa,25,0,z,0)|0;vh(pa,25,0,D,0)|0;vh(pa,28,0,h,(da(o|0,4,0,0)|0|0)+l|0)|0;vh(pa,17,H,F,0)|0;l=Us(a,L,t,o,0,G?2304:256,0)|0;if(!l){sa=444;break}if((da(l+36>>0|0,1,0,0)|0|0)==(da(o|0,4,0,0)|0|0)){e=0;d=0;p=0}else{if(!(da(na>>0|0,1,0,0)|0))d=34824;else d=((da(ma|0,2,0,0)|0)&1)==0?34808:34824;_s(a,d);u=da(o|0,4,0,0)|0|0;d=da(s|0,4,0,0)|0|0;if((d|0)>0){e=da(ra+28|0,4,0,0)|0|0;f=0;q=u;p=u;do{if((da(e+(f*24|0)+12|0,4,0,0)|0|0)>=(q|0)){q=q+1|0;p=p+1|0}f=f+1|0}while((f|0)<(d|0));w=p}else w=u;v=a+60|0;p=da(v|0,4,0,0)|0|0;t=a+56|0;d=da(t|0,4,0,0)|0|0;if((d|0)<(w|0)){p=da(A|0,4,0,0)|0|0;ea(A|0,p+w|0,4,0);p=p+1|0}else{ea(v|0,p+w|0,4,0);ea(t|0,d-w|0,4,0)}$s(a);at(a,o,p,0);q=da(s|0,4,0,0)|0|0;if((q|0)>0){g=ra+28|0;r=0;d=u;do{e=da(g|0,4,0,0)|0|0;if((da(e+(r*24|0)+12|0,4,0,0)|0|0)>=(d|0)){f=d+p|0;q=bt(a,da(e+(r*24|0)|0,4,0,0)|0|0,da(e+(r*24|0)+8|0,4,0,0)|0|0,da(e+(r*24|0)+4|0,4,0,0)|0|0,f,0)|0;if((f|0)!=(q|0))vh(pa,34,q,f,0)|0;q=da(s|0,4,0,0)|0|0;d=d+1|0}r=r+1|0}while((r|0)<(q|0))}q=a+19|0;d=da(q>>0|0,1,0,0)|0|0;if(!(d<<24>>24)){d=(da(A|0,4,0,0)|0|0)+1|0;ea(A|0,d|0,4,0)}else{d=d+-1<<24>>24;ea(q>>0|0,d|0,1,0);d=da(a+((d&255)<<2)+24|0,4,0,0)|0|0}vh(pa,49,p,w,d)|0;vh(pa,109,da(n|0,4,0,0)|0|0,d,0)|0;Zr(a,d);ct(a,p,w);if((da(t|0,4,0,0)|0|0)<(w|0)){ea(t|0,w|0,4,0);ea(v|0,p|0,4,0)}Ws(l);p=da(y|0,4,0,0)|0|0;ea(y|0,p+1|0,4,0);ea(ra+8|0,p|0,4,0);d=da(q>>0|0,1,0,0)|0|0;if(!(d<<24>>24)){d=(da(A|0,4,0,0)|0|0)+1|0;ea(A|0,d|0,4,0)}else{d=d+-1<<24>>24;ea(q>>0|0,d|0,1,0);d=da(a+((d&255)<<2)+24|0,4,0,0)|0|0}vh(pa,60,p,d,w)|0;vh(pa,106,da(n|0,4,0,0)|0|0,J,0)|0;ea(ra+1>>0|0,1|0,1,0);$s(a);e=1}do if(G){if((da(qa+60|0,2,0,0)|0)&4)break;if((e|0)==0?(da(l+37>>0|0,1,0,0)|0|0)==0:0)break;ea(oa|0,0|0,4,0);yh(pa,da(I|0,4,0,0)|0|0)}while(0);r=pa+32|0;g=da(r|0,4,0,0)|0|0;$s(a);q=(e|0)!=0;if(q)vh(pa,100,da(n|0,4,0,0)|0|0,d,p)|0;d=da(o|0,4,0,0)|0|0;if((d|0)>0){e=o+4|0;f=0;do{if(q)vh(pa,47,p,f,f+k|0)|0;else{ea(ra>>0|0,1|0,1,0);Qq(a,da((da(e|0,4,0,0)|0|0)+(f*20|0)|0,4,0,0)|0|0,f+k|0)}f=f+1|0;d=da(o|0,4,0,0)|0|0}while((f|0)<(d|0))}if(x)ea(x|0,(da(x|0,4,0,0)|0|0)+1|0,4,0);wh(pa,vh(pa,42,h,k,d)|0,x,-6);d=da(r|0,4,0,0)|0|0;X=d+1|0;vh(pa,43,X,0,X)|0;o=da(o|0,4,0,0)|0|0;vh(da(a+8|0,4,0,0)|0|0,32,k,h,o)|0;ct(a,k,o);vh(pa,17,E,B,0)|0;vh(pa,137,z,J,0)|0;vh(pa,17,H,F,0)|0;o=da(r|0,4,0,0)|0|0;if(o>>>0>d>>>0)ea((da(pa+4|0,4,0,0)|0|0)+(d*20|0)+8|0,o|0,4,0);h=pa+24|0;ea((da(h|0,4,0,0)|0|0)+88|0,o+-1|0,4,0);dt(a,ra);vh(pa,25,1,D,0)|0;if(q)vh(pa,5,da(n|0,4,0,0)|0|0,g,0)|0;else{Ws(l);yh(pa,m)}vh(pa,17,E,B,0)|0;vh(pa,16,0,J,0)|0;f=da(r|0,4,0,0)|0|0;vh(pa,25,1,z,0)|0;vh(pa,18,E,0,0)|0;d=da(h|0,4,0,0)|0|0;e=~B;do if((B|0)<0){o=da(d+112|0,4,0,0)|0|0;if(!o)break;ea(o+(e<<2)|0,da(r|0,4,0,0)|0|0,4,0)}while(0);n=da(r|0,4,0,0)|0|0;ea(d+88|0,n+-1|0,4,0);vh(pa,137,D,n+2|0,0)|0;vh(pa,18,E,0,0)|0;et(a,ra);n=n+1|0;ft(a,Y,n,16);Os(a,b,da(b|0,4,0,0)|0|0,-1,oa,na,c,n,f);vh(pa,18,E,0,0)|0;n=da(h|0,4,0,0)|0|0;m=~F;do if((F|0)<0){l=da(n+112|0,4,0,0)|0|0;if(!l)break;ea(l+(m<<2)|0,da(r|0,4,0,0)|0|0,4,0)}while(0);ea(n+88|0,(da(r|0,4,0,0)|0|0)+-1|0,4,0);gt(a,ra);vh(pa,18,H,0,0)|0}else{do if(!(da(x|0,4,0,0)|0)){m=da(b|0,4,0,0)|0|0;if((da(m|0,4,0,0)|0|0)!=1){sa=372;break}n=da(ga|0,4,0,0)|0|0;if((da(n|0,4,0,0)|0|0)!=1){sa=372;break}if(da(n+28|0,4,0,0)|0){sa=372;break}p=da(n+24|0,4,0,0)|0|0;n=da(da(m+4|0,4,0,0)|0|0,4,0,0)|0|0;r=p+44|0;if((da(r>>0|0,1,0,0)|0)&16){sa=372;break}if((da(n>>0|0,1,0,0)|0|0)!=-101|(d|0)==0){sa=372;break}q=ra+40|0;if(!((da((da((da(q|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+2|0,2,0,0)|0)&256)){sa=372;break}if((p|0)==0?1:((da(n+4|0,4,0,0)|0)&16|0)!=0){sa=372;break}n=da(a|0,4,0,0)|0|0;d=da(p+68|0,4,0,0)|0|0;i:do if(!d)m=-1e6;else{e=da(n+20|0,4,0,0)|0|0;if((e|0)<=0){m=0;break}n=da(n+16|0,4,0,0)|0|0;o=0;while(1){m=o+1|0;if((da(n+(o<<4)+12|0,4,0,0)|0|0)==(d|0)){m=o;break i}if((m|0)<(e|0))o=m;else break}}while(0);o=a+68|0;g=da(o|0,4,0,0)|0|0;ea(o|0,g+1|0,4,0);o=p+32|0;d=da(o|0,4,0,0)|0|0;zr(a,m);fs(a,m,da(o|0,4,0,0)|0|0,0,da(p|0,4,0,0)|0|0);o=da(p+8|0,4,0,0)|0|0;j:do if(!((da(r>>0|0,1,0,0)|0)&32)){n=0;sa=351}else{if(!o){e=1;f=0;o=0;break}else n=o;while(1){if(((da(n+51>>0|0,1,0,0)|0)&3)==2){sa=351;break j}n=da(n+20|0,4,0,0)|0|0;if(!n){n=0;sa=351;break}}}while(0);do if((sa|0)==351){if(o){f=p+42|0;e=o;do{do if(!((da(e+51>>0|0,1,0,0)|0)&4)){o=da(e+44|0,2,0,0)|0|0;if(o<<16>>16>=(da(f|0,2,0,0)|0|0))break;if(da(e+36|0,4,0,0)|0)break;if((n|0)!=0?o<<16>>16>=(da(n+44|0,2,0,0)|0|0):0)break;n=e}while(0);e=da(e+20|0,4,0,0)|0|0}while((e|0)!=0)}if(!n){e=1;f=0;o=0;break}d=da(n+40|0,4,0,0)|0|0;e=0;f=n;o=gs(a,n)|0}while(0);wh(pa,vh(pa,54,g,d,m)|0,1,-14);if(o)wh(pa,-1,o,-6);vh(pa,50,g,da((da(q|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,0)|0;vh(pa,61,g,0,0)|0;if((da(a+450>>0|0,1,0,0)|0|0)!=2){l=0;break}do if(e){n=da(p|0,4,0,0)|0|0;m=10360;k=10360;l=da(a|0,4,0,0)|0|0}else{if((da(r>>0|0,1,0,0)|0)&32){X=((da(f+51>>0|0,1,0,0)|0)&3)!=2;l=da(a|0,4,0,0)|0|0;n=da(p|0,4,0,0)|0|0;m=X?34920:10360;if(!X){k=10360;break}}else{m=34920;n=da(p|0,4,0,0)|0|0;l=da(a|0,4,0,0)|0|0}k=da(f|0,4,0,0)|0|0}while(0);ea(ka|0,n|0,4,0);ea(ka+4|0,m|0,4,0);ea(ka+8|0,k|0,4,0);l=th(l,34896,ka)|0;X=da(a+8|0,4,0,0)|0|0;wh(X,vh(X,157,da(ta|0,4,0,0)|0|0,0,0)|0,l,-1);l=0}else sa=372;while(0);if((sa|0)==372){do if((da(y|0,4,0,0)|0|0)==0&(d|0)==1){l=da(da(ra+40|0,4,0,0)|0|0,4,0,0)|0|0;n=da(l+20|0,4,0,0)|0|0;if(!n){l=0;k=0;break}if((da(n|0,4,0,0)|0|0)!=1){l=0;k=0;break}if((da((da(da(n+4|0,4,0,0)|0|0,4,0,0)|0)>>0|0,1,0,0)|0|0)!=-100){l=0;k=0;break}l=da(l+8|0,4,0,0)|0|0;if(cd(l,18760)|0)if(!(cd(l,18768)|0))k=2;else{l=0;k=0;break}else k=1;l=Or(qa,n,0)|0;if(!l){l=0;break}if(da(ia>>0|0,1,0,0)|0)break;X=da(l+4|0,4,0,0)|0|0;ea(X+12>>0|0,k<<24>>24!=1&1|0,1,0);ea((da(X|0,4,0,0)|0)>>0|0,-102|0,1,0)}else{l=0;k=0}while(0);gt(a,ra);k=Us(a,L,t,l,0,k&255,0)|0;if(!k){Mk(qa,l);sa=444;break}dt(a,ra);if((da(k+36>>0|0,1,0,0)|0|0)>0)vh(pa,16,0,da(k+52|0,4,0,0)|0|0,0)|0;Ws(k);et(a,ra)}ea(oa|0,0|0,4,0);ft(a,Y,J,16);Os(a,b,da(b|0,4,0,0)|0|0,-1,0,0,c,J,J);Mk(qa,l);h=pa+24|0}l=da(h|0,4,0,0)|0|0;k=~J;do if((J|0)<0){h=da(l+112|0,4,0,0)|0|0;if(!h)break;ea(h+(k<<2)|0,da(pa+32|0,4,0,0)|0|0,4,0)}while(0);ea(l+88|0,(da(pa+32|0,4,0,0)|0|0)+-1|0,4,0)}if((da(na+1>>0|0,1,0,0)|0|0)==3)_s(a,34808);if(da(oa|0,4,0,0)|0){g=oa+4|0;_s(a,(da(g|0,4,0,0)|0|0)>0?34840:34864);s=da(K|0,4,0,0)|0|0;m=a+8|0;x=da(m|0,4,0,0)|0|0;y=ws(x)|0;w=ws(x)|0;h=da(oa|0,4,0,0)|0|0;f=da(c>>0|0,1,0,0)|0|0;n=f&255;t=c+4|0;u=da(t|0,4,0,0)|0|0;q=oa+16|0;o=da(q|0,4,0,0)|0|0;if(o){vh(x,17,da(oa+12|0,4,0,0)|0|0,o,0)|0;vh(x,16,0,y,0)|0;Y=da(q|0,4,0,0)|0|0;o=da(x+24|0,4,0,0)|0|0;d=~Y;do if((Y|0)<0){e=da(o+112|0,4,0,0)|0|0;if(!e)break;ea(e+(d<<2)|0,da(x+32|0,4,0,0)|0|0,4,0)}while(0);ea(o+88|0,(da(x+32|0,4,0,0)|0|0)+-1|0,4,0)}v=da(oa+8|0,4,0,0)|0|0;l=f<<24>>24==9;k:do if((f&-5)<<24>>24==9){p=s;k=da(c+8|0,4,0,0)|0|0;d=0}else{o=a+19|0;d=da(o>>0|0,1,0,0)|0|0;do if(d<<24>>24){Y=d+-1<<24>>24;ea(o>>0|0,Y|0,1,0);e=da(a+((Y&255)<<2)+24|0,4,0,0)|0|0;if(!(Y<<24>>24)){d=e;o=da(a+72|0,4,0,0)|0|0;break}else{k=d+-2<<24>>24;ea(o>>0|0,k|0,1,0);p=1;k=da(a+((k&255)<<2)+24|0,4,0,0)|0|0;d=e;break k}}else{d=a+72|0;o=(da(d|0,4,0,0)|0|0)+1|0;ea(d|0,o|0,4,0);d=o}while(0);k=o+1|0;ea(a+72|0,k|0,4,0);p=1}while(0);h=(da(h|0,4,0,0)|0|0)-(da(g|0,4,0,0)|0|0)|0;r=oa+24|0;if(!((da(r>>0|0,1,0,0)|0)&1)){o=vh(x,107,v,y,0)|0;ht(x,da(b+12|0,4,0,0)|0|0,w);e=1;f=v}else{Y=a+72|0;f=(da(Y|0,4,0,0)|0|0)+1|0;ea(Y|0,f|0,4,0);Y=a+68|0;g=da(Y|0,4,0,0)|0|0;ea(Y|0,g+1|0,4,0);if(!(da(q|0,4,0,0)|0))e=0;else{Y=Nq(a)|0;X=a+80|0;e=da(X|0,4,0,0)|0|0;ea(X|0,e+1|0,4,0);e=vh(Y,44,e,0,0)|0}vh(x,60,g,f,p+1+h|0)|0;if(e){o=da(x+32|0,4,0,0)|0|0;if(o>>>0>e>>>0)ea((da(x+4|0,4,0,0)|0|0)+(e*20|0)+8|0,o|0,4,0);ea((da(x+24|0,4,0,0)|0|0)+88|0,o+-1|0,4,0)}o=vh(x,106,v,y,0)|0;ht(x,da(b+12|0,4,0,0)|0|0,w);vh(x,100,v,f,g)|0;e=0;f=g}g=o+1|0;if((p|0)>0){o=e+h|0;e=0;do{vh(x,47,f,o+e|0,e+k|0)|0;e=e+1|0}while((e|0)!=(p|0))}do if((n|0)==12|(n|0)==14){vh(x,74,u,d,0)|0;vh(x,75,u,k,d)|0;l=da(x+4|0,4,0,0)|0|0;if(!l)break;ea(l+(((da(x+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0)}else if((n|0)==11){wh(x,vh(x,49,k,1,d)|0,c+1|0,1);ct(a,k,1);vh(x,110,u,d,0)|0}else if((n|0)!=10)if(l){Y=c+8|0;vh(x,35,da(Y|0,4,0,0)|0|0,s,0)|0;ct(a,da(Y|0,4,0,0)|0|0,s);break}else{vh(x,22,da(t|0,4,0,0)|0|0,0,0)|0;break}else{vh(da(m|0,4,0,0)|0|0,32,k,u,1)|0;ct(a,k,1)}while(0);if(d){Zr(a,k);Zr(a,d)}k=x+24|0;m=da(k|0,4,0,0)|0|0;n=~w;do if((w|0)<0){l=da(m+112|0,4,0,0)|0|0;if(!l)break;ea(l+(n<<2)|0,da(x+32|0,4,0,0)|0|0,4,0)}while(0);n=x+32|0;ea(m+88|0,(da(n|0,4,0,0)|0|0)+-1|0,4,0);if(!((da(r>>0|0,1,0,0)|0)&1))vh(x,9,v,g,0)|0;else vh(x,5,v,g,0)|0;h=da(oa+12|0,4,0,0)|0|0;if(h)vh(x,18,h,0,0)|0;h=da(k|0,4,0,0)|0|0;g=~y;do if((y|0)<0){f=da(h+112|0,4,0,0)|0|0;if(!f)break;ea(f+(g<<2)|0,da(n|0,4,0,0)|0|0,4,0)}while(0);ea(h+88|0,(da(n|0,4,0,0)|0|0)+-1|0,4,0)}e=da(pa+24|0,4,0,0)|0|0;f=~ja;do if((ja|0)<0){d=da(e+112|0,4,0,0)|0|0;if(!d)break;ea(d+(f<<2)|0,da(pa+32|0,4,0,0)|0|0,4,0)}while(0);ea(e+88|0,(da(pa+32|0,4,0,0)|0|0)+-1|0,4,0);ea(ta|0,ua|0,4,0);if((da(c>>0|0,1,0,0)|0|0)!=9){d=0;break}Ms(a,L,K);d=0}else sa=444;while(0);if((sa|0)==444){ea(ta|0,ua|0,4,0);d=1}lg(qa,da(ra+28|0,4,0,0)|0|0);lg(qa,da(ra+40|0,4,0,0)|0|0)}else d=1;while(0);i=va;return d|0}function ir(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();l=p;n=da(a|0,4,0,0)|0|0;if((b|0)==0?(k=(g|0)!=0,k|(h|0)!=0):0){ea(l|0,(k?34792:34800)|0,4,0);sh(a,34752,l);o=9}else{b=or(n,b,c,d)|0;if((b|0)!=0?(m=da(b|0,4,0,0)|0|0,(m|0)!=0):0){k=m+-1|0;if(da(e+4|0,4,0,0)|0)ea(b+(k*72|0)+20|0,Vq(n,e)|0|0,4,0);ea(b+(k*72|0)+28|0,f|0,4,0);ea(b+(k*72|0)+52|0,g|0,4,0);ea(b+(k*72|0)+56|0,h|0,4,0)}else o=9}if((o|0)==9){Fk(n,g);Gk(n,h);Lk(n,f,1);b=0}i=p;return b|0}function jr(a,b,c,d,e,f,g,h,k,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+80|0;if((i|0)>=(j|0))ba();n=s+72|0;r=s;q=da(a|0,4,0,0)|0|0;m=lh(q,72,0)|0;if(!m){o=r+0|0;p=o+72|0;do{ea(o|0,0|0,4,0);o=o+4|0}while((o|0)<(p|0));m=r}else{o=m+0|0;p=o+72|0;do{ea(o>>0|0,0|0,1,0);o=o+1|0}while((o|0)<(p|0))}if(!b){ea(n|0,0|0,4,0);ea(n+4|0,0|0,4,0);b=kr(a,0,mr(q,116,n,0)|0)|0}ea(m|0,b|0,4,0);if(!c){c=lh(q,80,0)|0;if(c){o=c+0|0;p=o+80|0;do{ea(o>>0|0,0|0,1,0);o=o+1|0}while((o|0)<(p|0))}}ea(m+32|0,c|0,4,0);ea(m+36|0,d|0,4,0);ea(m+40|0,e|0,4,0);ea(m+44|0,f|0,4,0);ea(m+48|0,g|0,4,0);ea(m+6|0,h|0,2,0);ea(m+4>>0|0,119|0,1,0);ea(m+60|0,k|0,4,0);ea(m+64|0,l|0,4,0);ea(m+16|0,-1|0,4,0);ea(m+20|0,-1|0,4,0);if(da(q+65>>0|0,1,0,0)|0){Lk(q,m,(m|0)!=(r|0)&1);m=0}i=s;return m|0}function kr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=da(a|0,4,0,0)|0|0;if(!b){b=lh(e,8,0)|0;if(b){a=b;d=a;ea(d>>0|0,0|0,1,0);ea(d+1>>0|0,0|0,1,0);ea(d+2>>0|0,0|0,1,0);ea(d+3>>0|0,0|0,1,0);a=a+4|0;ea(a>>0|0,0|0,1,0);ea(a+1>>0|0,0|0,1,0);ea(a+2>>0|0,0|0,1,0);ea(a+3>>0|0,0|0,1,0);a=lh(e,20,0)|0;ea(b+4|0,a|0,4,0);if(!a)d=8;else d=7}else{b=0;d=8}}else{a=da(b|0,4,0,0)|0|0;if(!(a+-1&a)){d=b+4|0;a=qo(e,da(d|0,4,0,0)|0|0,a*40|0,0)|0;if(!a)d=8;else{ea(d|0,a|0,4,0);d=7}}else d=7}if((d|0)==7){a=da(b|0,4,0,0)|0|0;ea(b|0,a+1|0,4,0);a=(da(b+4|0,4,0,0)|0|0)+(a*20|0)|0;ea(a+0|0,0|0,4,0);ea(a+4|0,0|0,4,0);ea(a+8|0,0|0,4,0);ea(a+12|0,0|0,4,0);ea(a+16|0,0|0,4,0);ea(a|0,c|0,4,0)}else if((d|0)==8){Fk(e,c);Mk(e,b);b=0}return b|0}function lr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;do if(b){h=(da(b|0,4,0,0)|0|0)+-1|0;e=da(b+4|0,4,0,0)|0|0;f=da(c|0,4,0,0)|0|0;b=da(c+4|0,4,0,0)|0|0;if((f|0)!=0?(c=da(a|0,4,0,0)|0|0,g=iw(b|0,0,1,0)|0,g=lh(c,g,C)|0,(g|0)!=0):0){jw(g|0,f|0,b|0)|0;ea(g+b>>0|0,0|0,1,0);ea(e+(h*20|0)+4|0,g|0,4,0);if(!d)break;ko(g);break}ea(e+(h*20|0)+4|0,0|0,4,0)}while(0);return}function mr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();h=n;ea(h|0,0|0,4,0);f=(c|0)!=0;do if(f){if(((b|0)==132?(e=da(c|0,4,0,0)|0|0,(e|0)!=0):0)?(Cn(e,h)|0)!=0:0){l=0;break}l=(da(c+4|0,4,0,0)|0|0)+1|0}else l=0;while(0);g=l+48|0;k=lh(a,g,0)|0;if(k){ew(k|0,0,g|0)|0;ea(k>>0|0,b|0,1,0);ea(k+34|0,-1|0,2,0);do if(f){if(!l){d=k+4|0;ea(d|0,da(d|0,4,0,0)|0|1024|0,4,0);ea(k+8|0,da(h|0,4,0,0)|0|0,4,0);break}e=k+48|0;g=k+8|0;ea(g|0,e|0,4,0);f=c+4|0;a=da(f|0,4,0,0)|0|0;if(!a)e=48;else{jw(e|0,da(c|0,4,0,0)|0|0,a|0)|0;e=(da(f|0,4,0,0)|0|0)+48|0}ea(k+e>>0|0,0|0,1,0);if(((d|0)!=0&(l|0)>2?(d=da((da(c|0,4,0,0)|0)>>0|0,1,0,0)|0|0,m=d<<24>>24==34,d<<24>>24==34|d<<24>>24==39|d<<24>>24==91|d<<24>>24==96):0)?(ko(da(g|0,4,0,0)|0|0),m):0){d=k+4|0;ea(d|0,da(d|0,4,0,0)|0|64|0,4,0)}}while(0);ea(k+24|0,1|0,4,0)}i=n;return k|0}function nr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;do if((b|0)!=0?(d=da(b|0,4,0,0)|0|0,(d|0)>0):0){d=d+-1|0;if((da(c+4|0,4,0,0)|0|0)==1?(da(c|0,4,0,0)|0|0)==0:0){d=b+(d*72|0)+45|0;ea(d>>0|0,da(d>>0|0,1,0,0)|0|1|0,1,0);break}ea(b+(d*72|0)+72|0,Vq(da(a|0,4,0,0)|0|0,c)|0|0,4,0)}while(0);return}function or(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;if(!b){b=lh(a,80,0)|0;if(!b)b=0;else{f=b+0|0;e=f+80|0;do{ea(f>>0|0,0|0,1,0);f=f+1|0}while((f|0)<(e|0));ea(b+4|0,1|0,4,0);f=4}}else f=4;do if((f|0)==4){b=Es(a,b,1,da(b|0,4,0,0)|0|0)|0;if(da(a+65>>0|0,1,0,0)|0){Co(a,b);b=0;break}f=(da(b|0,4,0,0)|0|0)+-1|0;if(!d)e=0;else e=(da(d|0,4,0,0)|0|0)==0?0:d;d=(e|0)==0;ea(b+(f*72|0)+16|0,Vq(a,d?c:e)|0|0,4,0);ea(b+(f*72|0)+12|0,Vq(a,d?0:c)|0|0,4,0)}while(0);return b|0}function pr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+32|0;if((i|0)>=(j|0))ba();m=o;k=o+16|0;ea(k|0,b|0,4,0);ea(k+4|0,c|0,4,0);ea(k+8|0,d|0,4,0);h=b;l=1;e=0;a:while(1){if(!h)break;g=da(h+4|0,4,0,0)|0|0;f=0;while(1){if((g|0)==(da(34625+(f*3|0)>>0|0,1,0,1)|0|0|0)?(Ec(da(h|0,4,0,0)|0|0,34584+(da(34624+(f*3|0)>>0|0,1,0,1)|0|0)|0,g)|0)==0:0)break;f=f+1|0;if((f|0)>=7){n=10;break a}}e=da(34626+(f*3|0)>>0|0,1,0,1)|0|0|e;if((f|0)>6){n=10;break}if((l|0)>=3)break;h=da(k+(l<<2)|0,4,0,0)|0|0;l=l+1|0}if((n|0)==10)e=e|64;if((e&33|0)!=33&(e&64|0)==0){if(!((e&32|0)==0|(e&24|0)==8)){sh(a,34696,m);e=1}}else{ea(m|0,b|0,4,0);ea(m+4|0,c|0,4,0);ea(m+8|0,((d|0)==0?20377|0:20376)|0,4,0);ea(m+12|0,d|0,4,0);sh(a,34648,m);e=1}i=o;return e|0}function qr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,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;M=i;i=i+48|0;if((i|0)>=(j|0))ba();J=M+36|0;K=M+32|0;k=M;ea(J|0,0|0,4,0);ea(K|0,0|0,4,0);L=da(a|0,4,0,0)|0|0;if(((((da(a+64|0,4,0,0)|0|0)==0?(da(L+65>>0|0,1,0,0)|0|0)==0:0)?(A=Ir(a,b)|0,(A|0)!=0):0)?(z=it(a,A,109,0,0)|0,I=(da(A+12|0,4,0,0)|0|0)!=0,(gr(a,A)|0)==0):0)?(m=(z|0)!=0,(jt(a,A,m&1)|0)==0):0){f=da(A+68|0,4,0,0)|0|0;a:do if(f){e=da(L+20|0,4,0,0)|0|0;if((e|0)>0){d=da(L+16|0,4,0,0)|0|0;h=0;while(1){g=h+1|0;if((da(d+(h<<4)+12|0,4,0,0)|0|0)==(f|0)){g=h;break a}if((g|0)<(e|0))h=g;else break}}else g=0}else g=-1e6;while(0);d=Rq(a,9,da(A|0,4,0,0)|0|0,0,da((da(L+16|0,4,0,0)|0|0)+(g<<4)|0,4,0,0)|0|0)|0;if((d|0)!=1){l=a+68|0;v=da(l|0,4,0,0)|0|0;n=v+1|0;ea(l|0,n|0,4,0);ea(b+48|0,v|0,4,0);B=A+8|0;f=da(B|0,4,0,0)|0|0;if(!f)h=0;else{e=n;h=0;do{e=e+1|0;ea(l|0,e|0,4,0);h=h+1|0;f=da(f+20|0,4,0,0)|0|0}while((f|0)!=0)}if(I){G=a+492|0;H=da(G|0,4,0,0)|0|0;ea(G|0,da(A|0,4,0,0)|0|0,4,0);G=a}else{G=0;H=0}E=Nq(a)|0;b:do if(E){F=a+18|0;if(!(da(F>>0|0,1,0,0)|0)){x=E+88|0;ea(x|0,da(x|0,2,0,0)|0|4|0,2,0)}w=a+408|0;x=da(w|0,4,0,0)|0|0;x=(x|0)==0?a:x;zr(a,g);u=x+328|0;ea(u|0,da(u|0,4,0,0)|0|1<>0|0,da(x>>0|0,1,0,1)|0|1|0,1,0);if(I){kt(a,A,c,v);ea(K|0,v|0,4,0);ea(J|0,v|0,4,0)};ea(k+0|0,0|0,4,0);ea(k+4|0,0|0,4,0);ea(k+8|0,0|0,4,0);ea(k+12|0,0|0,4,0);ea(k+16|0,0|0,4,0);ea(k+20|0,0|0,4,0);ea(k+24|0,0|0,4,0);ea(k+28|0,0|0,4,0);ea(k|0,a|0,4,0);ea(k+4|0,b|0,4,0);if(!(ks(k,c)|0)){C=L+24|0;if(!((da(C|0,4,0,0)|0)&128))D=-1;else{x=a+72|0;D=(da(x|0,4,0,0)|0|0)+1|0;ea(x|0,D|0,4,0);vh(E,25,0,D,0)|0}x=A+44|0;do if((!((c|0)!=0|(d|0)!=0|m)?((da(x>>0|0,1,0,0)|0)&16)==0:0)?(lt(a,A,0,0)|0)==0:0){f=A+32|0;fs(a,g,da(f|0,4,0,0)|0|0,1,da(A|0,4,0,0)|0|0);if(!((da(x>>0|0,1,0,0)|0)&32)){A=da(A|0,4,0,0)|0|0;wh(E,vh(E,118,da(f|0,4,0,0)|0|0,g,D)|0,A,-2)}d=da(B|0,4,0,0)|0|0;if(!d){d=0;break}do{vh(E,118,da(d+40|0,4,0,0)|0|0,g,0)|0;d=da(d+20|0,4,0,0)|0|0}while((d|0)!=0);d=0}else y=31;while(0);do if((y|0)==31){if(!((da(x>>0|0,1,0,0)|0)&32)){o=a+72|0;s=(da(o|0,4,0,0)|0|0)+1|0;ea(o|0,s|0,4,0);vh(E,28,0,s,0)|0;o=0;t=0;d=0;q=1;g=0}else{g=da(B|0,4,0,0)|0|0;c:do if(!g)g=0;else while(1){if(((da(g+51>>0|0,1,0,0)|0)&3)==2)break c;g=da(g+20|0,4,0,0)|0|0;if(!g){g=0;break}}while(0);q=da(g+46|0,2,0,0)|0|0;t=a+72|0;d=da(t|0,4,0,0)|0|0;o=q<<16>>16;ea(t|0,d+o|0,4,0);t=da(l|0,4,0,0)|0|0;ea(l|0,t+1|0,4,0);o=vh(E,57,t,o,0)|0;s=da(a+8|0,4,0,0)|0|0;wh(s,-1,gs(a,g)|0,-6);d=d+1|0;s=0}p=Us(a,b,c,0,0,12,n)|0;if(!p){d=0;break b}n=p+60|0;m=da(n|0,4,0,0)|0|0;n=da(n+4|0,4,0,0)|0|0;r=da(p+38>>0|0,1,0,0)|0|0;if((da(C|0,4,0,0)|0)&128)vh(E,37,D,1,0)|0;u=(g|0)!=0;do if(u){if(q<<16>>16<=0){e=d;break}k=g+4|0;f=q<<16>>16;l=0;do{mt(E,A,v,da((da(k|0,4,0,0)|0|0)+(l<<1)|0,2,0,0)|0|0,l+d|0);l=l+1|0}while((l|0)!=(f|0));e=d}else{f=a+72|0;e=bt(a,A,-1,v,(da(f|0,4,0,0)|0|0)+1|0,0)|0;if((e|0)<=(da(f|0,4,0,0)|0|0))break;ea(f|0,e|0,4,0)}while(0);k=r<<24>>24!=0;do if(!k)if(u){f=a+72|0;e=(da(f|0,4,0,0)|0|0)+1|0;ea(f|0,e|0,4,0);f=q<<16>>16;l=nt(E,g)|0;wh(E,vh(E,49,d,f,e)|0,l,f);vh(E,110,t,e,0)|0;d=0;f=0;l=0;y=59;break}else{vh(E,128,s,e,0)|0;Ws(p);d=0;n=0;g=1;break}else{d=h+2|0;d=lh(L,d,((d|0)<0)<<31>>31)|0;if(!d){Ws(p);d=0;break b}y=h+1|0;ew(d|0,1,y|0)|0;ea(d+y>>0|0,0|0,1,0);if((m|0)>-1)ea(d+(m-v)>>0|0,0|0,1,0);if((n|0)>-1)ea(d+(n-v)>>0|0,0|0,1,0);if(o)yh(E,o);f=vh(E,16,0,0,0)|0;l=q;y=59}while(0);do if((y|0)==59){Ws(p);if(!k){n=0;g=l;break}g=ws(E)|0;vh(E,16,0,g,0)|0;h=da(E+32|0,4,0,0)|0|0;if(h>>>0>f>>>0)ea((da(E+4|0,4,0,0)|0|0)+(f*20|0)+8|0,h|0,4,0);ea((da(E+24|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);n=g;g=l}while(0);if(!I)ot(a,A,55,v,d,J,K)|0;do if(!k)if(u){f=vh(E,108,t,0,0)|0;vh(E,101,t,e,0)|0;break}else{f=vh(E,129,s,0,e)|0;break}else{h=da(J|0,4,0,0)|0|0;if(!(da(d+(h-v)>>0|0,1,0,0)|0)){f=0;break}wh(E,vh(E,68,h,n,e)|0,g<<16>>16,-14);f=0}while(0);if(!((da(x>>0|0,1,0,0)|0)&16))qt(a,A,z,da(J|0,4,0,0)|0|0,da(K|0,4,0,0)|0|0,e,g,(da(F>>0|0,1,0,0)|0|0)==0&1,10,r);else{h=da(A+60|0,4,0,0)|0|0;d:do if(!h)h=0;else while(1){if((da(h|0,4,0,0)|0|0)==(L|0))break d;h=da(h+24|0,4,0,0)|0|0;if(!h){h=0;break}}while(0);pt(a,A);wh(E,vh(E,15,0,1,e)|0,h,-10);h=da(E+4|0,4,0,0)|0|0;if(h)ea(h+(((da(E+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,2|0,1,0);A=da(w|0,4,0,0)|0|0;ea(((A|0)==0?a:A)+21>>0|0,1|0,1,0)}do if(!k)if(u){vh(E,9,t,f+1|0,0)|0;h=da(E+32|0,4,0,0)|0|0;if(h>>>0>f>>>0)ea((da(E+4|0,4,0,0)|0|0)+(f*20|0)+8|0,h|0,4,0);ea((da(E+24|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);break}else{vh(E,16,0,f,0)|0;h=da(E+32|0,4,0,0)|0|0;if(h>>>0>f>>>0)ea((da(E+4|0,4,0,0)|0|0)+(f*20|0)+8|0,h|0,4,0);ea((da(E+24|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);break}else{g=da(E+24|0,4,0,0)|0|0;f=~n;do if((n|0)<0){h=da(g+112|0,4,0,0)|0|0;if(!h)break;ea(h+(f<<2)|0,da(E+32|0,4,0,0)|0|0,4,0)}while(0);ea(g+88|0,(da(E+32|0,4,0,0)|0|0)+-1|0,4,0)}while(0);if(I)break;if((da(x>>0|0,1,0,0)|0)&16)break;if(!u)vh(E,61,da(J|0,4,0,0)|0|0,0,0)|0;e=da(B|0,4,0,0)|0|0;if(!e)break;else f=0;while(1){vh(E,61,(da(K|0,4,0,0)|0|0)+f|0,0,0)|0;e=da(e+20|0,4,0,0)|0|0;if(!e)break;else f=f+1|0}}while(0);if((da(F>>0|0,1,0,0)|0|0)==0?(da(a+412|0,4,0,0)|0|0)==0:0)rt(a);if(((da(C|0,4,0,0)|0)&128|0)!=0?(da(F>>0|0,1,0,0)|0|0)==0:0){if(da(a+412|0,4,0,0)|0)break;vh(E,35,D,1,0)|0;hq(E,1);if(da((da(E|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;Wg(da(E+16|0,4,0,0)|0|0,34568,-1,1,0)|0}}else d=0}else d=0;while(0);if(G)ea(G+492|0,H|0,4,0)}else d=0}else d=0;Co(L,b);Fk(L,c);lg(L,d);i=M;return}function rr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,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,ca=0,fa=0,ga=0,ha=0;ha=i;i=i+64|0;if((i|0)>=(j|0))ba();M=ha;R=ha+32|0;Z=ha+24|0;$=ha+20|0;ga=da(a|0,4,0,0)|0|0;a:do if(((da(a+64|0,4,0,0)|0|0)==0?(da(ga+65>>0|0,1,0,0)|0|0)==0:0)?(fa=Ir(a,b)|0,(fa|0)!=0):0){g=da(a|0,4,0,0)|0|0;k=da(fa+68|0,4,0,0)|0|0;b:do if(k){l=da(g+20|0,4,0,0)|0|0;if((l|0)>0){g=da(g+16|0,4,0,0)|0|0;h=0;while(1){f=h+1|0;if((da(g+(h<<4)+12|0,4,0,0)|0|0)==(k|0))break b;if((f|0)<(l|0))h=f;else{h=f;break}}}else h=0}else h=-1e6;while(0);_=it(a,fa,110,c,Z)|0;X=(da(fa+12|0,4,0,0)|0|0)!=0;if((gr(a,fa)|0)==0?(jt(a,fa,da(Z|0,4,0,0)|0|0)|0)==0:0){T=a+68|0;U=da(T|0,4,0,0)|0|0;aa=U+1|0;ea(T|0,aa|0,4,0);k=b+48|0;ea(k|0,U|0,4,0);D=fa+44|0;n=da(fa+8|0,4,0,0)|0|0;c:do if(!((da(D>>0|0,1,0,0)|0)&32)){l=0;W=16}else{if(!n){p=fa+8|0;l=0;m=U;o=0;break}else l=n;while(1){if(((da(l+51>>0|0,1,0,0)|0)&3)==2){W=16;break c}l=da(l+20|0,4,0,0)|0|0;if(!l){l=0;W=16;break}}}while(0);if((W|0)==16){p=fa+8|0;if(!n){m=U;o=0}else{f=(l|0)!=0;g=aa;m=U;o=0;do{if(((da(n+51>>0|0,1,0,0)|0)&3)==2&f){ea(k|0,g|0,4,0);m=g}g=g+1|0;ea(T|0,g|0,4,0);o=o+1|0;n=da(n+20|0,4,0,0)|0|0}while((n|0)!=0)}}ca=fa+38|0;f=lh(ga,o+2+((da(ca|0,2,0,0)|0|0)+o<<2)|0,0)|0;if(f){B=da(ca|0,2,0,0)|0|0;V=f+(B<<2)|0;Y=f+(B+o<<2)|0;S=o+1|0;ew(Y|0,1,S|0)|0;ea(Y+S>>0|0,0|0,1,0);o=da(ca|0,2,0,0)|0|0;if(o<<16>>16>0)ew(f|0,-1,(o<<16>>16>1?o<<16>>16<<2:4)|0)|0;ea(R+0|0,0|0,4,0);ea(R+4|0,0|0,4,0);ea(R+8|0,0|0,4,0);ea(R+12|0,0|0,4,0);ea(R+16|0,0|0,4,0);ea(R+20|0,0|0,4,0);ea(R+24|0,0|0,4,0);ea(R+28|0,0|0,4,0);ea(R|0,a|0,4,0);ea(R+4|0,b|0,4,0);d:do if((da(c|0,4,0,0)|0|0)>0){x=c+4|0;w=fa+4|0;v=ga+16|0;y=(l|0)==0;z=fa+36|0;r=0;q=0;A=0;g=0;while(1){if(ks(R,da((da(x|0,4,0,0)|0|0)+(A*20|0)|0,4,0,0)|0|0)|0)break a;t=da(ca|0,2,0,0)|0|0;e:do if(t<<16>>16>0){o=da(w|0,4,0,0)|0|0;u=da(x|0,4,0,0)|0|0;k=da(u+(A*20|0)+4|0,4,0,0)|0|0;n=0;while(1){s=n+1|0;if(!(cd(da(o+(n*24|0)|0,4,0,0)|0|0,k)|0))break;if((s|0)<(t<<16>>16|0))n=s;else{n=s;k=g;break e}}if((n|0)!=(da(z|0,2,0,0)|0|0)){if(!y)r=((da(o+(n*24|0)+23>>0|0,1,0,0)|0)&1)==0?r:1}else{q=1;g=da(u+(A*20|0)|0,4,0,0)|0|0}ea(f+(n<<2)|0,A|0,4,0);k=g}else{n=0;k=g}while(0);if((n|0)<(t<<16>>16|0)){g=da(fa|0,4,0,0)|0|0;if((n|0)<0)o=12944;else o=da((da(w|0,4,0,0)|0|0)+(n*24|0)|0,4,0,0)|0|0}else{k=da(x|0,4,0,0)|0|0;g=da(k+(A*20|0)+4|0,4,0,0)|0|0;if(!y)break;if(!(_h(g)|0))break;g=da(fa|0,4,0,0)|0|0;o=12944;q=1;n=-1;k=da(k+(A*20|0)|0,4,0,0)|0|0}g=Rq(a,23,g,o,da((da(v|0,4,0,0)|0|0)+(h<<4)|0,4,0,0)|0|0)|0;if((g|0)==1)break a;else if((g|0)==2)ea(f+(n<<2)|0,-1|0,4,0);A=A+1|0;if((A|0)>=(da(c|0,4,0,0)|0|0)){K=k;break d}else g=k}ea(M|0,g|0,4,0);sh(a,34496,M);ea(a+17>>0|0,1|0,1,0);break a}else{r=0;q=0;K=0}while(0);Q=(r&255)+(q&255)|0;N=Q&255;v=b+64|0;ea(v|0,0|0,4,0);ea(v+4|0,0|0,4,0);Q=Q&255;v=lt(a,fa,f,Q)|0;g=da(p|0,4,0,0)|0|0;if(g){s=(v|Q|0)==0;t=a+72|0;u=0;while(1){f:do if(s?!((da(g+36|0,4,0,0)|0|0)!=0|(g|0)==(l|0)):0){k=da(g+46|0,2,0,0)|0|0;if(!(k<<16>>16))W=56;else{n=da(g+4|0,4,0,0)|0|0;o=0;while(1){if((da(f+((da(n+(o<<1)|0,2,0,0)|0)<<2)|0,4,0,0)|0|0)>-1){W=54;break f}o=o+1|0;if((o|0)>=(k&65535|0)){W=56;break}}}}else W=54;while(0);if((W|0)==54){W=0;k=(da(t|0,4,0,0)|0|0)+1|0;ea(t|0,k|0,4,0);if(!k)W=56;else n=u+1|0}if((W|0)==56){W=0;n=u+1|0;ea(Y+n>>0|0,0|0,1,0);k=0}ea(f+(u+B<<2)|0,k|0,4,0);g=da(g+20|0,4,0,0)|0|0;if(!g)break;else u=n}}O=Nq(a)|0;if(O){P=a+18|0;if(!(da(P>>0|0,1,0,0)|0)){L=O+88|0;ea(L|0,da(L|0,2,0,0)|0|4|0,2,0)}A=a+408|0;L=da(A|0,4,0,0)|0|0;L=(L|0)==0?a:L;zr(a,h);J=L+328|0;ea(J|0,da(J|0,4,0,0)|0|1<>0|0,da(L>>0|0,1,0,1)|0|1|0,1,0);if((da(D>>0|0,1,0,0)|0)&16){q=da(a+8|0,4,0,0)|0|0;r=da(a|0,4,0,0)|0|0;g=da(fa+60|0,4,0,0)|0|0;g:do if(!g)g=0;else while(1){if((da(g|0,4,0,0)|0|0)==(r|0))break g;g=da(g+24|0,4,0,0)|0|0;if(!g){g=0;break}}while(0);h=kr(a,0,st(r,27,34536)|0)|0;p=(K|0)!=0;if(p)h=kr(a,h,Lr(r,K,0,0)|0)|0;if((da(ca|0,2,0,0)|0|0)>0){k=c+4|0;m=fa+4|0;n=0;do{l=da(f+(n<<2)|0,4,0,0)|0|0;if((l|0)>-1)l=Lr(r,da((da(k|0,4,0,0)|0|0)+(l*20|0)|0,4,0,0)|0|0,0,0)|0;else l=st(r,27,da((da(m|0,4,0,0)|0|0)+(n*24|0)|0,4,0,0)|0|0)|0;h=kr(a,h,l)|0;n=n+1|0}while((n|0)<(da(ca|0,2,0,0)|0|0))}m=jr(a,h,b,d,0,0,0,0,0,0)|0;o=da(T|0,4,0,0)|0|0;ea(T|0,o+1|0,4,0);b=p&1;vh(q,57,o,(da(ca|0,2,0,0)|0|0)+(p?2:1)|0,0)|0;n=q+4|0;d=da(n|0,4,0,0)|0|0;if(d)ea(d+(((da(q+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0);ea(M>>0|0,14|0,1,0);ea(M+4|0,o|0,4,0);ea(M+1>>0|0,0|0,1,0);ea(M+8|0,0|0,4,0);ea(M+12|0,0|0,4,0);hr(a,m,M)|0;d=a+72|0;l=da(d|0,4,0,0)|0|0;h=l+1|0;Y=l+2|0;ea(d|0,(da(ca|0,2,0,0)|0|0)+Y|0,4,0);d=vh(q,108,o,0,0)|0;vh(q,47,o,0,h)|0;vh(q,47,o,b,Y)|0;if((da(ca|0,2,0,0)|0|0)>0){l=l+3|0;k=0;do{Y=k;k=k+1|0;vh(q,47,o,k+b|0,l+Y|0)|0}while((k|0)<(da(ca|0,2,0,0)|0|0))}pt(a,fa);wh(q,vh(q,15,0,(da(ca|0,2,0,0)|0|0)+2|0,h)|0,g,-10);g=da(n|0,4,0,0)|0|0;if(!g)g=q+32|0;else{Y=q+32|0;ea(g+(((da(Y|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,((e|0)==10?2:e&255)|0,1,0);g=Y}Y=da(A|0,4,0,0)|0|0;ea(((Y|0)==0?a:Y)+21>>0|0,1|0,1,0);vh(q,9,o,d+1|0,0)|0;g=da(g|0,4,0,0)|0|0;if(g>>>0>d>>>0)ea((da(n|0,4,0,0)|0|0)+(d*20|0)+8|0,g|0,4,0);ea((da(q+24|0,4,0,0)|0|0)+88|0,g+-1|0,4,0);vh(q,61,o,0,0)|0;Lk(r,m,1);d=0;b=0;break}A=a+72|0;g=da(A|0,4,0,0)|0|0;z=g+1|0;J=g+2|0;ea(A|0,J|0,4,0);B=r<<24>>24!=0;C=(_|0)!=0;I=(v|0)!=0;if(B|C|I){h=(da(ca|0,2,0,0)|0|0)+J|0;ea(A|0,h|0,4,0);E=g+3|0}else{h=J;E=0}G=(Q|0)!=0;if(G|C|I){H=h+1|0;ea(A|0,H|0,4,0);h=H}else H=J;F=h+1|0;ea(A|0,(da(ca|0,2,0,0)|0|0)+h|0,4,0);if(X){L=a+492|0;M=da(L|0,4,0,0)|0|0;ea(L|0,da(fa|0,4,0,0)|0|0,4,0);kt(a,fa,d,m);L=a}else{L=0;M=0}do if(!(ks(R,d)|0)){if(!((da(D>>0|0,1,0,0)|0)&32)){vh(O,28,0,z,J)|0;r=Us(a,b,d,0,0,4,aa)|0;if(!r)break;t=r+60|0;g=da(t|0,4,0,0)|0|0;t=da(t+4|0,4,0,0)|0|0;u=da(r+38>>0|0,1,0,0)|0|0;vh(O,103,m,J,0)|0;if(!(u<<24>>24))vh(O,128,z,J,0)|0;Ws(r);w=0;v=0;s=u&255;x=0}else{u=da(l+46|0,2,0,0)|0|0;n=da(A|0,4,0,0)|0|0;r=n+1|0;v=u<<16>>16;n=v+1+n|0;ea(A|0,n|0,4,0);w=da(T|0,4,0,0)|0|0;ea(T|0,w+1|0,4,0);vh(O,28,0,r,0)|0;h=vh(O,57,w,v,0)|0;o=da(a+8|0,4,0,0)|0|0;wh(o,-1,gs(a,l)|0,-6);o=Us(a,b,d,0,0,4,aa)|0;if(!o)break;t=o+60|0;g=da(t|0,4,0,0)|0|0;t=da(t+4|0,4,0,0)|0|0;k=da(o+38>>0|0,1,0,0)|0|0;x=k&255;if(u<<16>>16>0){u=l+4|0;s=0;do{mt(O,fa,m,da((da(u|0,4,0,0)|0|0)+(s<<1)|0,2,0,0)|0|0,s+r|0);s=s+1|0}while((s|0)!=(v|0))}if(!(k<<24>>24)){u=nt(O,l)|0;wh(O,vh(O,49,r,v,n)|0,u,v);vh(O,110,w,n,0)|0;u=0;r=n}else{yh(O,h);u=v}Ws(o);v=u;s=x;x=r}D=ga+24|0;do if(!((da(D|0,4,0,0)|0)&128))o=0;else{if(da(a+412|0,4,0,0)|0){o=0;break}o=(da(A|0,4,0,0)|0|0)+1|0;ea(A|0,o|0,4,0);vh(O,25,0,o,0)|0}while(0);n=ws(O)|0;if(!X){h:do if((e|0)==5)ew(Y|0,1,S|0)|0;else{u=da(p|0,4,0,0)|0|0;if(!u)break;while(1){if((da(u+50>>0|0,1,0,0)|0|0)==5)break;u=da(u+20|0,4,0,0)|0|0;if(!u)break h}ew(Y|0,1,S|0)|0}while(0);do if(s){if((g|0)>-1)ea(Y+(g-U)>>0|0,0|0,1,0);if((t|0)<=-1)break;ea(Y+(t-U)>>0|0,0|0,1,0)}while(0);ot(a,fa,55,U,Y,0,0)|0}A=(s|0)!=0;do if(!A)if(!l){z=vh(O,129,z,n,J)|0;vh(O,70,m,z,J)|0;y=0;break}else{z=ws(O)|0;vh(O,108,w,n,0)|0;y=vh(O,101,w,x,0)|0;wh(O,vh(O,68,m,z,x)|0,0,-14);break}else{if(!((da(Y+(m-U)>>0|0,1,0,0)|0|0)==0|X))wh(O,vh(O,68,m,n,x)|0,v,-14);vh(O,76,(l|0)!=0?x:J,n,0)|0;y=0;z=n}while(0);q=q<<24>>24==0;if(!q){Qq(a,K,H);vh(O,38,H,0,0)|0}do if(B|I|C){if(I)r=tt(a,fa)|0;else r=0;u=ut(a,_,c,0,3,fa,e)|0|r;if((da(ca|0,2,0,0)|0|0)>0){t=(u|0)==-1;s=fa+4|0;r=0;do{do if(t)W=138;else{if((r|0)<32?(1<>0|0,1,0,0)|0)&1){W=138;break}vh(O,28,0,r+E|0,0)|0}while(0);if((W|0)==138){W=0;mt(O,fa,m,r,r+E|0)}r=r+1|0}while((r|0)<(da(ca|0,2,0,0)|0|0))}if(!(q&(l|0)==0))break;vh(O,33,J,H,0)|0}while(0);r=ut(a,_,c,1,1,fa,e)|0;if((da(ca|0,2,0,0)|0|0)>0){q=fa+36|0;g=c+4|0;k=0;do{i:do if((k|0)==(da(q|0,2,0,0)|0|0))vh(O,28,0,k+F|0,0)|0;else{h=da(f+(k<<2)|0,4,0,0)|0|0;if((h|0)>-1){Qq(a,da((da(g|0,4,0,0)|0|0)+(h*20|0)|0,4,0,0)|0|0,k+F|0);break}do if(!(((da(Z|0,4,0,0)|0)&1|0)==0|(k|0)>31)){if(1<>16<=0)break;q=fa+36|0;r=0;do{do if((da(f+(r<<2)|0,4,0,0)|0|0)<0){if((r|0)==(da(q|0,2,0,0)|0|0))break;mt(O,fa,m,r,r+F|0);g=da(ca|0,2,0,0)|0|0}while(0);r=r+1|0}while((r|0)<(g<<16>>16|0))}while(0);do if(!X){ea($|0,0|0,4,0);xt(a,fa,V,m,aa,H,J,N,e&255,z,$);if(I)yt(a,fa,J,0,f,Q);g=(da($|0,4,0,0)|0|Q|0)==0;do if(!g)if(!l){h=vh(O,70,m,0,J)|0;break}else{h=vh(O,68,m,0,x)|0;wh(O,h,v,-14);break}else h=0;while(0);zt(a,fa,m,aa,V);if(I|(G|(l|0)!=0))vh(O,95,m,0,0)|0;if(!g){g=da(O+32|0,4,0,0)|0|0;if(g>>>0>h>>>0)ea((da(O+4|0,4,0,0)|0|0)+(h*20|0)+8|0,g|0,4,0);ea((da(O+24|0,4,0,0)|0|0)+88|0,g+-1|0,4,0)}if(I){yt(a,fa,0,H,f,Q);At(a,fa,m,aa,H,V,1,0,0);Bt(a,fa,c,J,f,Q);break}else{At(a,fa,m,aa,H,V,1,0,0);break}}while(0);do if((da(D|0,4,0,0)|0)&128){if(da(a+412|0,4,0,0)|0)break;vh(O,37,o,1,0)|0}while(0);wt(a,_,110,c,2,fa,J,e,z);do if(!A){if(!l){vh(O,16,0,z,0)|0;break}k=da(O+24|0,4,0,0)|0|0;h=~z;do if((z|0)<0){l=da(k+112|0,4,0,0)|0|0;if(!l)break;ea(l+(h<<2)|0,da(O+32|0,4,0,0)|0|0,4,0)}while(0);ea(k+88|0,(da(O+32|0,4,0,0)|0|0)+-1|0,4,0);vh(O,9,w,y,0)|0}while(0);k=da(O+24|0,4,0,0)|0|0;h=~n;do if((n|0)<0){l=da(k+112|0,4,0,0)|0|0;if(!l)break;ea(l+(h<<2)|0,da(O+32|0,4,0,0)|0|0,4,0)}while(0);ea(k+88|0,(da(O+32|0,4,0,0)|0|0)+-1|0,4,0);h=da(p|0,4,0,0)|0|0;if(h){k=0;do{l=k;k=k+1|0;if(da(Y+k>>0|0,1,0,0)|0)vh(O,61,l+aa|0,0,0)|0;h=da(h+20|0,4,0,0)|0|0}while((h|0)!=0)}if((m|0)<(aa|0))vh(O,61,m,0,0)|0;do if(!(da(P>>0|0,1,0,0)|0)){if(da(a+412|0,4,0,0)|0)break;rt(a)}while(0);if(!((da(D|0,4,0,0)|0)&128))break;if(da(a+412|0,4,0,0)|0)break;if(da(P>>0|0,1,0,0)|0)break;vh(O,35,o,1,0)|0;hq(O,1);if(da((da(O|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;Wg(da(O+16|0,4,0,0)|0|0,34520,-1,1,0)|0}while(0);if(L)ea(L+492|0,M|0,4,0)}}}else f=0}else f=0;while(0);lg(ga,f);Co(ga,b);Mk(ga,c);Fk(ga,d);i=ha;return}function sr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,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,ca=0,fa=0,ga=0,ha=0,ia=0,ja=0;ja=i;i=i+96|0;if((i|0)>=(j|0))ba();X=ja;ca=ja+92|0;ga=ja+88|0;E=ja+68|0;R=ja+64|0;H=ja+32|0;W=ja+28|0;ea(ca|0,0|0,4,0);ea(ga|0,0|0,4,0);ia=da(a|0,4,0,0)|0|0;ea(E+0|0,0|0,4,0);ea(E+4|0,0|0,4,0);ea(E+8|0,0|0,4,0);ea(E+12|0,0|0,4,0);ea(E+16|0,0|0,4,0);a:do if((da(a+64|0,4,0,0)|0|0)==0?(G=ia+65|0,(da(G>>0|0,1,0,0)|0|0)==0):0){if(c)if(((da(c+6|0,2,0,0)|0)&128)!=0?(da(c+52|0,4,0,0)|0|0)==0:0){f=da(c|0,4,0,0)|0|0;ea(c|0,0|0,4,0);Lk(ia,c,1);c=0}else f=0;else{c=0;f=0}if((da(b+16|0,4,0,0)|0|0)!=0?(fa=Ir(a,b)|0,(fa|0)!=0):0){n=da(fa+68|0,4,0,0)|0|0;b:do if(n){m=da(ia+20|0,4,0,0)|0|0;if((m|0)>0){l=da(ia+16|0,4,0,0)|0|0;h=0;while(1){k=h+1|0;if((da(l+(h<<4)+12|0,4,0,0)|0|0)==(n|0)){k=h;break b}if((k|0)<(m|0))h=k;else break}}else k=0}else k=-1e6;while(0);if((((Rq(a,18,da(fa|0,4,0,0)|0|0,0,da((da(ia+16|0,4,0,0)|0|0)+(k<<4)|0,4,0,0)|0|0)|0)==0?(_=fa+44|0,S=(da(_>>0|0,1,0,1)|0|0)>>>5&1,Z=it(a,fa,108,0,R)|0,$=(da(fa+12|0,4,0,0)|0|0)!=0,(gr(a,fa)|0)==0):0)?(jt(a,fa,da(R|0,4,0,0)|0|0)|0)==0:0)?(ha=Nq(a)|0,(ha|0)!=0):0){aa=a+18|0;if(!(da(aa>>0|0,1,0,0)|0)){Y=ha+88|0;ea(Y|0,da(Y|0,2,0,0)|0|4|0,2,0)}Y=(c|0)!=0;V=a+408|0;U=da(V|0,4,0,0)|0|0;U=(U|0)==0?a:U;zr(a,k);Q=U+328|0;ea(Q|0,da(Q|0,4,0,0)|0|1<>0|0,da(U>>0|0,1,0,1)|0|(Y|(Z|0)!=0)&1|0,1,0);U=(d|0)==0;c:do if((((!((c|0)==0|U^1)?(da(a+532|0,4,0,0)|0|0)==0:0)?(da(c+68|0,4,0,0)|0|0)==0:0)?(zs(a,fa)|0)==0:0)?((da(_>>0|0,1,0,0)|0)&16)==0:0){if((e|0)==10){if((da(fa+36|0,2,0,0)|0|0)>-1)n=da(fa+45>>0|0,1,0,1)|0|0;else n=10;r=(n|0)==10?2:n}else r=e;m=da(c+32|0,4,0,0)|0|0;if((da(m|0,4,0,0)|0|0)==1){if(da(m+28|0,4,0,0)|0){T=117;break}if(da(c+36|0,4,0,0)|0){T=117;break}if(da(c+48|0,4,0,0)|0){T=117;break}if(da(c+40|0,4,0,0)|0){T=117;break}if(da(c+60|0,4,0,0)|0){T=117;break}if(da(c+52|0,4,0,0)|0){T=117;break}if((da(c+6|0,2,0,0)|0)&1){T=117;break}n=da(c|0,4,0,0)|0|0;if((da(n|0,4,0,0)|0|0)!=1){T=117;break}if((da((da(da(n+4|0,4,0,0)|0|0,4,0,0)|0)>>0|0,1,0,0)|0|0)!=116){T=117;break}q=Tr(a,0,m+8|0)|0;if((q|0)==0|(q|0)==(fa|0)){T=117;break}u=q+44|0;n=da(u>>0|0,1,0,1)|0|0;if(!((n&16|0)==0?(((da(_>>0|0,1,0,1)|0|0)>>>5&1^1)&255|0)==(n>>>5&1^1|0):0)){T=117;break}if(da(q+12|0,4,0,0)|0){T=117;break}o=da(fa+38|0,2,0,0)|0|0;if(o<<16>>16!=(da(q+38|0,2,0,0)|0|0)){T=117;break}t=fa+36|0;if((da(t|0,2,0,0)|0|0)!=(da(q+36|0,2,0,0)|0|0)){T=117;break}if(o<<16>>16>0){h=da(fa+4|0,4,0,0)|0|0;g=da(q+4|0,4,0,0)|0|0;p=0;do{if((da(h+(p*24|0)+21>>0|0,1,0,0)|0|0)!=(da(g+(p*24|0)+21>>0|0,1,0,0)|0|0)){T=117;break c}n=da(h+(p*24|0)+16|0,4,0,0)|0|0;m=da(g+(p*24|0)+16|0,4,0,0)|0|0;l=(m|0)==0;if(!n){if(!l){T=117;break c}}else{if(l){T=117;break c}if(cd(n,m)|0){T=117;break c}}if((da(h+(p*24|0)+20>>0|0,1,0,0)|0|0)!=0?(da(g+(p*24|0)+20>>0|0,1,0,0)|0|0)==0:0){T=117;break c}do if((p|0)>0){n=da(h+(p*24|0)+8|0,4,0,0)|0|0;m=(n|0)==0;l=da(g+(p*24|0)+8|0,4,0,0)|0|0;if(m^(l|0)==0){T=117;break c}if(m)break;if(Zv(n,l)|0){T=117;break c}}while(0);p=p+1|0}while((p|0)<(o<<16>>16|0))}x=fa+8|0;n=da(x|0,4,0,0)|0|0;if(!n)m=0;else{o=da(q+8|0,4,0,0)|0|0;if(!o){T=117;break}else m=0;do{m=(da(n+50>>0|0,1,0,0)|0|0)==0?m:1;l=o;while(1){if(Ct(n,l)|0)break;l=da(l+20|0,4,0,0)|0|0;if(!l){T=117;break c}}if(!l){T=117;break c}n=da(n+20|0,4,0,0)|0|0}while((n|0)!=0)}n=da(fa+24|0,4,0,0)|0|0;if((n|0)!=0?(Ss(da(q+24|0,4,0,0)|0|0,n,-1)|0)!=0:0){T=117;break}l=da(a|0,4,0,0)|0|0;n=da(l+24|0,4,0,0)|0|0;if(!(n&524288)){if(n&128){T=117;break}}else if(!((da(fa+16|0,4,0,0)|0|0)==0&(n&128|0)==0)){T=117;break}g=da(q+68|0,4,0,0)|0|0;d:do if(!g)l=-1e6;else{o=da(l+20|0,4,0,0)|0|0;if((o|0)<=0){l=0;break}n=da(l+16|0,4,0,0)|0|0;h=0;while(1){l=h+1|0;if((da(n+(h<<4)+12|0,4,0,0)|0|0)==(g|0)){l=h;break d}if((l|0)<(o|0))h=l;else break}}while(0);w=Nq(a)|0;zr(a,l);s=a+68|0;y=da(s|0,4,0,0)|0|0;v=y+1|0;ea(s|0,y+2|0,4,0);s=Dt(a,k,fa)|0;o=a+19|0;h=da(o>>0|0,1,0,0)|0|0;do if(!(h<<24>>24)){T=a+72|0;n=(da(T|0,4,0,0)|0|0)+1|0;ea(T|0,n|0,4,0);T=78}else{Q=h+-1<<24>>24;ea(o>>0|0,Q|0,1,0);n=da(a+((Q&255)<<2)+24|0,4,0,0)|0|0;if(!(Q<<24>>24)){T=78;break}z=h+-2<<24>>24;ea(o>>0|0,z|0,1,0);A=n;z=da(a+((z&255)<<2)+24|0,4,0,0)|0|0}while(0);if((T|0)==78){A=a+72|0;z=(da(A|0,4,0,0)|0|0)+1|0;ea(A|0,z|0,4,0);A=n}Pq(a,v,k,fa,55);if((da(t|0,2,0,0)|0|0)<0)if((da(x|0,4,0,0)|0|0)!=0|(m|0)!=0|(r+-1|0)>>>0>1)T=83;else B=0;else if((m|0)!=0|(r+-1|0)>>>0>1)T=83;else B=0;if((T|0)==83){p=vh(w,108,v,0,0)|0;o=vh(w,16,0,0,0)|0;n=da(w+32|0,4,0,0)|0|0;if(n>>>0>p>>>0)ea((da(w+4|0,4,0,0)|0|0)+(p*20|0)+8|0,n|0,4,0);ea((da(w+24|0,4,0,0)|0|0)+88|0,n+-1|0,4,0);B=o}if(!((da(u>>0|0,1,0,0)|0)&32)){Pq(a,y,l,q,54);m=vh(w,108,y,0,0)|0;do if((da(t|0,2,0,0)|0|0)<=-1)if(!(da(x|0,4,0,0)|0)){n=vh(w,74,v,z,0)|0;break}else{n=vh(w,103,y,z,0)|0;break}else{n=vh(w,103,y,z,0)|0;p=vh(w,70,v,0,z)|0;Et(a,r,fa);o=da(w+32|0,4,0,0)|0|0;if(o>>>0>p>>>0)ea((da(w+4|0,4,0,0)|0|0)+(p*20|0)+8|0,o|0,4,0);ea((da(w+24|0,4,0,0)|0|0)+88|0,o+-1|0,4,0);if((s|0)<=0)break;vh(da(a+8|0,4,0,0)|0|0,136,s,z,0)|0}while(0);vh(w,102,y,A,0)|0;vh(w,75,v,A,z)|0;o=da(w+4|0,4,0,0)|0|0;if(o)ea(o+(((da(w+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,11|0,1,0);wh(w,-1,da(fa|0,4,0,0)|0|0,0);vh(w,9,y,n,0)|0;vh(w,61,y,0,0)|0;vh(w,61,v,0,0)|0}else{fs(a,k,da(fa+32|0,4,0,0)|0|0,1,da(fa|0,4,0,0)|0|0);fs(a,l,da(q+32|0,4,0,0)|0|0,0,da(q|0,4,0,0)|0|0);m=0}p=da(x|0,4,0,0)|0|0;if(p){h=q+8|0;g=a+8|0;q=w+4|0;r=w+32|0;s=w+24|0;n=p;do{p=h;while(1){p=da(p|0,4,0,0)|0|0;if(Ct(n,p)|0)break;p=p+20|0}vh(w,54,y,da(p+40|0,4,0,0)|0|0,l)|0;Q=da(g|0,4,0,0)|0|0;wh(Q,-1,gs(a,p)|0,-6);vh(w,55,v,da(n+40|0,4,0,0)|0|0,k)|0;p=da(g|0,4,0,0)|0|0;wh(p,-1,gs(a,n)|0,-6);p=da(q|0,4,0,0)|0|0;if(p)ea(p+(((da(r|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,1|0,1,0);p=vh(w,108,y,0,0)|0;vh(w,101,y,A,0)|0;vh(w,110,v,A,1)|0;vh(w,9,y,p+1|0,0)|0;o=da(r|0,4,0,0)|0|0;if(o>>>0>p>>>0)ea((da(q|0,4,0,0)|0|0)+(p*20|0)+8|0,o|0,4,0);ea((da(s|0,4,0,0)|0|0)+88|0,o+-1|0,4,0);vh(w,61,y,0,0)|0;vh(w,61,v,0,0)|0;n=da(n+20|0,4,0,0)|0|0}while((n|0)!=0)}if(m){n=da(w+32|0,4,0,0)|0|0;if(n>>>0>m>>>0)ea((da(w+4|0,4,0,0)|0|0)+(m*20|0)+8|0,n|0,4,0);ea((da(w+24|0,4,0,0)|0|0)+88|0,n+-1|0,4,0)}Zr(a,z);Zr(a,A);if(!B){g=0;h=0;break}vh(w,24,0,0,0)|0;n=da(w+32|0,4,0,0)|0|0;if(n>>>0>B>>>0)ea((da(w+4|0,4,0,0)|0|0)+(B*20|0)+8|0,n|0,4,0);ea((da(w+24|0,4,0,0)|0|0)+88|0,n+-1|0,4,0);vh(w,61,v,0,0)|0;T=117}else T=117}else T=117;while(0);do if((T|0)==117){L=Dt(a,k,fa)|0;K=a+72|0;m=da(K|0,4,0,0)|0|0;P=m+1|0;Q=fa+38|0;B=da(Q|0,2,0,0)|0|0;A=B<<16>>16;n=P+A|0;ea(K|0,n|0,4,0);if(!((da(_>>0|0,1,0,0)|0)&16))O=P;else{n=n+1|0;ea(K|0,n|0,4,0);O=m+2|0}M=O+1|0;N=(d|0)!=0;e:do if(N?(I=da(d+4|0,4,0,0)|0|0,J=(I|0)>0,J):0){o=da(d|0,4,0,0)|0|0;m=0;do{ea(o+(m<<3)+4|0,-1|0,4,0);m=m+1|0}while((m|0)<(I|0));if(J){w=S<<24>>24!=0;v=fa+4|0;u=fa+36|0;m=1;t=0;o=-1;while(1){f:do if(B<<16>>16>0){s=da(d|0,4,0,0)|0|0;l=da(s+(t<<3)|0,4,0,0)|0|0;h=da(v|0,4,0,0)|0|0;p=0;while(1){r=p+1|0;if(!(cd(l,da(h+(p*24|0)|0,4,0,0)|0|0)|0))break;if((r|0)<(A|0))p=r;else{p=r;break f}}ea(s+(t<<3)+4|0,p|0,4,0);m=(t|0)==(p|0)?m:0;o=(p|0)==(da(u|0,2,0,0)|0|0)?t:o}else p=0;while(0);if((p|0)>=(A|0)){g=da((da(d|0,4,0,0)|0|0)+(t<<3)|0,4,0,0)|0|0;if((_h(g)|0)==0|w)break;else{m=0;p=t}}else p=o;t=t+1|0;if((t|0)>=(I|0)){x=p;break e}else o=p}ea(X|0,b|0,4,0);ea(X+4|0,0|0,4,0);ea(X+8|0,g|0,4,0);sh(a,33368,X);ea(a+17>>0|0,1|0,1,0);g=0;break a}else{m=1;x=-1}}else{m=1;x=-1}while(0);g:do if(!Y){ea(H+0|0,0|0,4,0);ea(H+4|0,0|0,4,0);ea(H+8|0,0|0,4,0);ea(H+12|0,0|0,4,0);ea(H+16|0,0|0,4,0);ea(H+20|0,0|0,4,0);ea(H+24|0,0|0,4,0);ea(H+28|0,0|0,4,0);ea(H|0,a|0,4,0);if(f){l=da(f|0,4,0,0)|0|0;if((l|0)>0){n=f+4|0;m=0;while(1){if(ks(H,da((da(n|0,4,0,0)|0|0)+(m*20|0)|0,4,0,0)|0|0)|0){c=0;g=0;break a}m=m+1|0;if((m|0)>=(l|0)){n=0;m=-1;k=0;T=169;break}}}else{I=x;H=0;J=-1;s=0}}else{I=x;l=0;H=0;J=-1;s=0}}else{n=n+1|0;ea(K|0,n|0,4,0);z=ha+32|0;o=da(z|0,4,0,0)|0|0;vh(ha,20,n,0,o+1|0)|0;ea(E>>0|0,13|0,1,0);A=E+4|0;ea(A|0,n|0,4,0);ea(E+1>>0|0,0|0,1,0);y=E+8|0;ea(y|0,(m<<24>>24!=0?M:0)|0,4,0);ea(E+12|0,da(Q|0,2,0,0)|0|0,4,0);J=hr(a,c,E)|0;y=da(y|0,4,0,0)|0|0;if(J){g=0;break a}if(da(G>>0|0,1,0,0)|0){g=0;break a}vh(ha,21,n,0,0)|0;n=da(z|0,4,0,0)|0|0;if(n>>>0>o>>>0)ea((da(ha+4|0,4,0,0)|0|0)+(o*20|0)+8|0,n|0,4,0);B=ha+24|0;ea((da(B|0,4,0,0)|0|0)+88|0,n+-1|0,4,0);l=da(da(c|0,4,0,0)|0|0,4,0,0)|0|0;h:do if(!Z){p=Nq(a)|0;m=da(p+32|0,4,0,0)|0|0;i:do if(!((da(_>>0|0,1,0,0)|0)&16))o=0;else{n=da(a|0,4,0,0)|0|0;o=da(fa+60|0,4,0,0)|0|0;if(!o){o=0;break}while(1){if((da(o|0,4,0,0)|0|0)==(n|0))break i;o=da(o+24|0,4,0,0)|0|0;if(!o){o=0;break}}}while(0);if((m|0)<=1){n=y;m=0;k=0;T=169;break g}h=(da((da(p|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0;s=p+4|0;r=fa+32|0;q=fa+8|0;g=1;while(1){if(h)p=(da(s|0,4,0,0)|0|0)+(g*20|0)|0;else p=29120;n=da(p>>0|0,1,0,0)|0|0;do if(n<<24>>24==54){if((da(p+12|0,4,0,0)|0|0)!=(k|0))break;n=da(p+8|0,4,0,0)|0|0;if((n|0)==(da(r|0,4,0,0)|0|0))break h;p=da(q|0,4,0,0)|0|0;if(!p)break;do{if((n|0)==(da(p+40|0,4,0,0)|0|0))break h;p=da(p+20|0,4,0,0)|0|0}while((p|0)!=0)}else if(n<<24>>24==-107?(da(p+16|0,4,0,0)|0|0)==(o|0):0)break h;while(0);g=g+1|0;if((g|0)>=(m|0)){n=y;m=0;k=0;T=169;break g}}}while(0);o=a+68|0;p=da(o|0,4,0,0)|0|0;ea(o|0,p+1|0,4,0);o=a+19|0;m=da(o>>0|0,1,0,0)|0|0;do if(!(m<<24>>24)){n=(da(K|0,4,0,0)|0|0)+1|0;ea(K|0,n|0,4,0);T=159}else{J=m+-1<<24>>24;ea(o>>0|0,J|0,1,0);n=da(a+((J&255)<<2)+24|0,4,0,0)|0|0;if(!(J<<24>>24)){T=159;break}J=m+-2<<24>>24;ea(o>>0|0,J|0,1,0);o=da(a+((J&255)<<2)+24|0,4,0,0)|0|0}while(0);if((T|0)==159){o=(da(K|0,4,0,0)|0|0)+1|0;ea(K|0,o|0,4,0)}vh(ha,57,p,l,0)|0;k=vh(ha,22,da(A|0,4,0,0)|0|0,0,0)|0;vh(ha,49,y,l,n)|0;vh(ha,74,p,o,0)|0;vh(ha,75,p,n,o)|0;vh(ha,16,0,k,0)|0;m=da(z|0,4,0,0)|0|0;if(m>>>0>k>>>0)ea((da(ha+4|0,4,0,0)|0|0)+(k*20|0)+8|0,m|0,4,0);ea((da(B|0,4,0,0)|0|0)+88|0,m+-1|0,4,0);Zr(a,n);Zr(a,o);n=y;m=p;k=1;T=169}while(0);if((T|0)==169)if(U&(l|0)>0){I=da(fa+36|0,2,0,0)|0|0;H=n;J=m;s=k}else{I=x;H=n;J=m;s=k}if(((da(_>>0|0,1,0,0)|0)&16)!=0?(F=da(Q|0,2,0,0)|0|0,F<<16>>16>0):0){o=da(fa+4|0,4,0,0)|0|0;m=F<<16>>16;k=0;n=0;do{n=((da(o+(k*24|0)+23>>0|0,1,0,1)|0|0)>>>1&1)+n|0;k=k+1|0}while((k|0)<(m|0))}else n=0;do if(U&(l|0)!=0){n=(da(Q|0,2,0,0)|0|0)-n|0;if((l|0)==(n|0))break;ea(X|0,b|0,4,0);ea(X+4|0,0|0,4,0);ea(X+8|0,n|0,4,0);ea(X+12|0,l|0,4,0);sh(a,33400,X);g=0;break a}while(0);do if(N){n=da(d+4|0,4,0,0)|0|0;if((l|0)==(n|0))break;ea(X|0,l|0,4,0);ea(X+4|0,n|0,4,0);sh(a,33456,X);g=0;break a}while(0);D=ia+24|0;if(!((da(D|0,4,0,0)|0)&128))h=0;else{h=(da(K|0,4,0,0)|0|0)+1|0;ea(K|0,h|0,4,0);vh(ha,25,0,h,0)|0}do if($)g=0;else{n=ot(a,fa,55,-1,0,ca,ga)|0;g=lh(ia,(n<<2)+4|0,0)|0;if(!g)break a;if((n|0)>0)m=0;else break;do{G=(da(K|0,4,0,0)|0|0)+1|0;ea(K|0,G|0,4,0);ea(g+(m<<2)|0,G|0,4,0);m=m+1|0}while((m|0)!=(n|0))}while(0);F=s<<24>>24!=0;do if(F){G=vh(ha,108,J,0,0)|0;E=da(ha+32|0,4,0,0)|0|0}else{if(!Y){E=0;G=0;break}G=vh(ha,22,da(E+4|0,4,0,0)|0|0,0,0)|0;E=G}while(0);C=ws(ha)|0;do if((da(R|0,4,0,0)|0)&1){p=(da(Q|0,2,0,0)|0|0)+1|0;A=a+60|0;o=da(A|0,4,0,0)|0|0;z=a+56|0;n=da(z|0,4,0,0)|0|0;if((n|0)<(p|0)){B=da(K|0,4,0,0)|0|0;ea(K|0,B+p|0,4,0);B=B+1|0}else{ea(A|0,p+o|0,4,0);ea(z|0,n-p|0,4,0);B=o}if((I|0)<0)vh(ha,25,-1,B,0)|0;else{if(F)vh(ha,47,J,I,B)|0;else Qq(a,da((da(f+4|0,4,0,0)|0|0)+(I*20|0)|0,4,0,0)|0|0,B);p=vh(ha,77,B,0,0)|0;vh(ha,25,-1,B,0)|0;o=da(ha+32|0,4,0,0)|0|0;if(o>>>0>p>>>0)ea((da(ha+4|0,4,0,0)|0|0)+(p*20|0)+8|0,o|0,4,0);ea((da(ha+24|0,4,0,0)|0|0)+88|0,o+-1|0,4,0);vh(ha,38,B,0,0)|0}o=da(Q|0,2,0,0)|0|0;if(o<<16>>16>0){w=F|(f|0)!=0;m=d+4|0;n=B+1|0;p=f+4|0;t=a+8|0;u=fa+4|0;v=0;do{j:do if(U)s=v;else{r=da(m|0,4,0,0)|0|0;if((r|0)<=0){s=0;break}q=da(d|0,4,0,0)|0|0;k=0;while(1){s=k+1|0;if((da(q+(k<<3)+4|0,4,0,0)|0|0)==(v|0)){s=k;break j}if((s|0)<(r|0))k=s;else break}}while(0);do if(w){if(N?(s|0)>=(da(m|0,4,0,0)|0|0):0){T=213;break}if(F){vh(ha,47,J,s,n+v|0)|0;break}else{R=da((da(p|0,4,0,0)|0|0)+(s*20|0)|0,4,0,0)|0|0;k=n+v|0;q=da(t|0,4,0,0)|0|0;Qq(a,R,k);o=(da(K|0,4,0,0)|0|0)+1|0;ea(K|0,o|0,4,0);vh(q,33,k,o,0)|0;ea(R+38>>0|0,da(R>>0|0,1,0,0)|0|0|0,1,0);ea(R>>0|0,-97|0,1,0);ea(R+28|0,o|0,4,0);R=R+4|0;ea(R|0,(da(R|0,4,0,0)|0)&-4097|0,4,0);break}}else T=213;while(0);if((T|0)==213){T=0;Qq(a,da((da(u|0,4,0,0)|0|0)+(v*24|0)+4|0,4,0,0)|0|0,n+v|0)}v=v+1|0;o=da(Q|0,2,0,0)|0|0}while((v|0)<(o<<16>>16|0))}if(!$){vt(ha,fa,B+1|0);o=da(Q|0,2,0,0)|0|0}wt(a,Z,108,0,1,fa,B+-1-(o<<16>>16)|0,e,C);o=(da(Q|0,2,0,0)|0|0)+1|0;ct(a,B,o);if((da(z|0,4,0,0)|0|0)>=(o|0))break;ea(z|0,o|0,4,0);ea(A|0,B|0,4,0)}while(0);do if(!$){if((da(_>>0|0,1,0,0)|0)&16)vh(ha,28,0,P,0)|0;k:do if((I|0)<=-1)if(!(((da(_>>0|0,1,0,0)|0)&16|S)<<24>>24)){vh(ha,74,da(ca|0,4,0,0)|0|0,O,L)|0;B=1;break}else{vh(ha,28,0,O,0)|0;B=0;break}else{do if(F)vh(ha,47,J,I,O)|0;else{if(Y){vh(ha,33,I+H|0,O,0)|0;break}Qq(a,da((da(f+4|0,4,0,0)|0|0)+(I*20|0)|0,4,0,0)|0|0,O);if(!(da((da(ha|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)){n=(da(ha+4|0,4,0,0)|0|0)+(((da(ha+32|0,4,0,0)|0|0)+-1|0)*20|0)|0;if(!n)break}else n=29120;if((da(n>>0|0,1,0,0)|0|0)!=28)break;if((da(_>>0|0,1,0,0)|0)&16)break;ea(n>>0|0,74|0,1,0);ea(n+4|0,da(ca|0,4,0,0)|0|0,4,0);ea(n+8|0,O|0,4,0);ea(n+12|0,L|0,4,0);B=1;break k}while(0);if(!((da(_>>0|0,1,0,0)|0)&16)){n=vh(ha,77,O,0,0)|0;vh(ha,74,da(ca|0,4,0,0)|0|0,O,L)|0;m=da(ha+32|0,4,0,0)|0|0;if(m>>>0>n>>>0)ea((da(ha+4|0,4,0,0)|0|0)+(n*20|0)+8|0,m|0,4,0);ea((da(ha+24|0,4,0,0)|0|0)+88|0,m+-1|0,4,0)}else vh(ha,76,O,(da(ha+32|0,4,0,0)|0|0)+2|0,0)|0;vh(ha,38,O,0,0)|0;B=0}while(0);if((L|0)>0)vh(da(a+8|0,4,0,0)|0|0,136,L,O,0)|0;if((da(Q|0,2,0,0)|0|0)>0){z=fa+36|0;A=fa+4|0;v=(l|0)==0;u=d+4|0;t=(H|0)==(M|0);l=f+4|0;m=a+23|0;n=X+20|0;o=X+4|0;x=X+24|0;y=0;p=0;do{w=y+M|0;l:do if((y|0)==(da(z|0,2,0,0)|0|0))vh(ha,29,w,0,0)|0;else{m:do if(U)if(!((da((da(A|0,4,0,0)|0|0)+(y*24|0)+23>>0|0,1,0,0)|0)&2)){s=y-p|0;T=258;break}else{p=p+1|0;break}else{r=da(u|0,4,0,0)|0|0;if((r|0)<=0){s=0;T=258;break}q=da(d|0,4,0,0)|0|0;k=0;while(1){s=k+1|0;if((da(q+(k<<3)+4|0,4,0,0)|0|0)==(y|0)){s=k;T=258;break m}if((s|0)<(r|0))k=s;else{T=258;break}}}while(0);do if((T|0)==258){T=0;if((s|0)<0|v)break;if(N?(s|0)>=(da(u|0,4,0,0)|0|0):0)break;if(F){vh(ha,47,J,s,w)|0;break l}if(!Y){Qq(a,da((da(l|0,4,0,0)|0|0)+(s*20|0)|0,4,0,0)|0|0,w);break l}if(t)break l;vh(ha,34,s+H|0,w,0)|0;break l}while(0);s=da((da(A|0,4,0,0)|0|0)+(y*24|0)+4|0,4,0,0)|0|0;do if(da(m>>0|0,1,0,0)|0){ea(X+0|0,0|0,4,0);ea(X+4|0,0|0,4,0);ea(X+8|0,0|0,4,0);ea(X+12|0,0|0,4,0);ea(X+16|0,0|0,4,0);ea(X+20|0,0|0,4,0);ea(n>>0|0,1|0,1,0);ea(X|0,78|0,4,0);ea(o|0,79|0,4,0);ea(x|0,0|0,4,0);qs(X,s)|0;if(!(da(n>>0|0,1,0,0)|0))break;Ft(a,s,w,0);break l}while(0);Qq(a,s,w)}while(0);y=y+1|0}while((y|0)<(da(Q|0,2,0,0)|0|0))}if(!((da(_>>0|0,1,0,0)|0)&16)){xt(a,fa,g,da(ca|0,4,0,0)|0|0,da(ga|0,4,0,0)|0|0,P,0,I>>>31&255^1,e&255,C,W);yt(a,fa,0,P,0,0);At(a,fa,da(ca|0,4,0,0)|0|0,da(ga|0,4,0,0)|0|0,P,g,0,B,(da(W|0,4,0,0)|0|0)==0&1);break}n=da(fa+60|0,4,0,0)|0|0;n:do if(!n)n=0;else while(1){if((da(n|0,4,0,0)|0|0)==(ia|0))break n;n=da(n+24|0,4,0,0)|0|0;if(!n){n=0;break}}while(0);pt(a,fa);wh(ha,vh(ha,15,1,(da(Q|0,2,0,0)|0|0)+2|0,P)|0,n,-10);m=da(ha+4|0,4,0,0)|0|0;if(m)ea(m+(((da(ha+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,((e|0)==10?2:e&255)|0,1,0);X=da(V|0,4,0,0)|0|0;ea(((X|0)==0?a:X)+21>>0|0,1|0,1,0)}while(0);if((da(D|0,4,0,0)|0)&128)vh(ha,37,h,1,0)|0;if(Z)wt(a,Z,108,0,2,fa,O+-1-(da(Q|0,2,0,0)|0|0)|0,e,C);n=ha+24|0;m=da(n|0,4,0,0)|0|0;k=~C;do if((C|0)<0){l=da(m+112|0,4,0,0)|0|0;if(!l)break;ea(l+(k<<2)|0,da(ha+32|0,4,0,0)|0|0,4,0)}while(0);l=ha+32|0;ea(m+88|0,(da(l|0,4,0,0)|0|0)+-1|0,4,0);do if(F){vh(ha,9,J,E,0)|0;l=da(l|0,4,0,0)|0|0;if(l>>>0>G>>>0)ea((da(ha+4|0,4,0,0)|0|0)+(G*20|0)+8|0,l|0,4,0);ea((da(n|0,4,0,0)|0|0)+88|0,l+-1|0,4,0);vh(ha,61,J,0,0)|0}else{if(!Y)break;vh(ha,16,0,E,0)|0;l=da(l|0,4,0,0)|0|0;if(l>>>0>G>>>0)ea((da(ha+4|0,4,0,0)|0|0)+(G*20|0)+8|0,l|0,4,0);ea((da(n|0,4,0,0)|0|0)+88|0,l+-1|0,4,0)}while(0);if(((da(_>>0|0,1,0,0)|0)&16)!=0|$)break;k=da(ca|0,4,0,0)|0|0;if((k|0)<(da(ga|0,4,0,0)|0|0))vh(ha,61,k,0,0)|0;k=da(fa+8|0,4,0,0)|0|0;if(!k)break;else l=0;while(1){vh(ha,61,(da(ga|0,4,0,0)|0|0)+l|0,0,0)|0;k=da(k+20|0,4,0,0)|0|0;if(!k)break;else l=l+1|0}}while(0);if((da(aa>>0|0,1,0,0)|0|0)==0?(da(a+412|0,4,0,0)|0|0)==0:0)rt(a);if(((((da(ia+24|0,4,0,0)|0)&128|0)!=0?(da(aa>>0|0,1,0,0)|0|0)==0:0)?(da(a+412|0,4,0,0)|0|0)==0:0)?(vh(ha,35,h,1,0)|0,hq(ha,1),(da((da(ha|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg(da(ha+16|0,4,0,0)|0|0,33488,-1,1,0)|0}else g=0}else g=0}else{g=0;f=0}while(0);Co(ia,b);Mk(ia,f);Lk(ia,c,1);Gk(ia,d);lg(ia,g);i=ja;return}function tr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();d=f;if(!b){b=lh(a,8,0)|0;if(!b)b=0;else{e=b;g=e;ea(g>>0|0,0|0,1,0);ea(g+1>>0|0,0|0,1,0);ea(g+2>>0|0,0|0,1,0);ea(g+3>>0|0,0|0,1,0);e=e+4|0;ea(e>>0|0,0|0,1,0);ea(e+1>>0|0,0|0,1,0);ea(e+2>>0|0,0|0,1,0);ea(e+3>>0|0,0|0,1,0);e=4}}else e=4;do if((e|0)==4){ea(b|0,Gt(a,da(b|0,4,0,0)|0|0,8,b+4|0,d)|0|0,4,0);d=da(d|0,4,0,0)|0|0;if((d|0)<0){Gk(a,b);b=0;break}else{a=Vq(a,c)|0;ea((da(b|0,4,0,0)|0|0)+(d<<3)|0,a|0,4,0);break}}while(0);i=f;return b|0}function ur(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if((da(c+4|0,4,0,0)|0|0)!=0?(e=mr(da(a|0,4,0,0)|0|0,95,c,d)|0,(e|0)!=0):0){ea(e+12|0,b|0,4,0);b=e+4|0;ea(b|0,da(b|0,4,0,0)|0|4352|0,4,0);b=e}return b|0}function vr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=da(a|0,4,0,0)|0|0;c=mr(d,153,c,1)|0;if(!c){Mk(d,b);c=0}else{ea(c+20|0,b|0,4,0);xr(a,c)}return c|0}function wr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=da(a|0,4,0,0)|0|0;if((b|0)!=0&(c|0)!=0?(da(b>>0|0,1,0,0)|0|0)==101:0){ea(c>>0|0,d|0,1,0);d=c+16|0;Fk(a,da(d|0,4,0,0)|0|0);ea(d|0,0|0,4,0)}return}function xr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;if((da(a+64|0,4,0,0)|0|0)==0?(Ht(b),c=da((da(a|0,4,0,0)|0|0)+100|0,4,0,0)|0|0,(c|0)<(da(b+24|0,4,0,0)|0|0)):0){ea(d|0,c|0,4,0);sh(a,27152,d)}i=e;return}function yr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=da(a|0,4,0,0)|0|0;h=c+20|0;d=da(h|0,4,0,0)|0|0;if((d|0)>0){f=c+16|0;g=(b|0)==0;c=d;e=0;do{d=da(f|0,4,0,0)|0|0;do if(da(d+(e<<4)+4|0,4,0,0)|0){if(!g?(cd(b,da(d+(e<<4)|0,4,0,0)|0|0)|0)!=0:0)break;zr(a,e);c=da(h|0,4,0,0)|0|0}while(0);e=e+1|0}while((e|0)<(c|0))}return}function zr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=da(a+408|0,4,0,0)|0|0;e=(e|0)==0?a:e;a=e+332|0;c=da(a|0,4,0,0)|0|0;d=1<=(j|0))ba();d=m+8|0;l=m;k=m+24|0;ea(l|0,0|0,4,0);g=da(a|0,4,0,0)|0|0;if((da(a+64|0,4,0,0)|0|0)==0?(ea(d|0,c|0,4,0),h=Vk(g,b,d)|0,(h|0)!=0):0){b=a+18|0;ea(b>>0|0,(da(b>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0);c=a+440|0;d=k+0|0;e=c+0|0;f=d+96|0;do{ea(d>>0|0,da(e>>0|0,1,0,0)|0|0|0,1,0);d=d+1|0;e=e+1|0}while((d|0)<(f|0));d=c+0|0;f=d+96|0;do{ea(d|0,0|0,4,0);d=d+4|0}while((d|0)<(f|0));Kh(a,h,l)|0;lg(g,da(l|0,4,0,0)|0|0);lg(g,h);d=c+0|0;e=k+0|0;f=d+96|0;do{ea(d>>0|0,da(e>>0|0,1,0,0)|0|0|0,1,0);d=d+1|0;e=e+1|0}while((d|0)<(f|0));ea(b>>0|0,(da(b>>0|0,1,0,0)|0|0)+-1<<24>>24|0,1,0)}i=m;return}function Br(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+48|0;if((i|0)>=(j|0))ba();f=h;g=h+16|0;b=da((da((da(a|0,4,0,0)|0|0)+16|0,4,0,0)|0|0)+(b<<4)|0,4,0,0)|0|0;e=1;do{ea(f|0,e|0,4,0);$c(24,g,33272,f)|0;if(Zh(da(a|0,4,0,0)|0|0,g,b)|0){ea(f|0,b|0,4,0);ea(f+4|0,g|0,4,0);ea(f+8|0,c|0,4,0);ea(f+12|0,d|0,4,0);Ar(a,28840,f)}e=e+1|0}while((e|0)!=5);i=h;return}function Cr(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+19|0;d=da(c>>0|0,1,0,0)|0|0;if(!(d<<24>>24)){d=a+72|0;c=(da(d|0,4,0,0)|0|0)+1|0;ea(d|0,c|0,4,0)}else{d=d+-1<<24>>24;ea(c>>0|0,d|0,1,0);c=da(a+((d&255)<<2)+24|0,4,0,0)|0|0}d=da(a+8|0,4,0,0)|0|0;vh(d,25,(da(da((da((da(a|0,4,0,0)|0|0)+16|0,4,0,0)|0|0)+(b<<4)+12|0,4,0,0)|0|0,4,0,0)|0|0)+1|0,c,0)|0;vh(d,52,b,1,c)|0;Zr(a,c);return}function Dr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+32|0;if((i|0)>=(j|0))ba();g=h;f=Nq(a)|0;d=a+19|0;e=da(d>>0|0,1,0,0)|0|0;if(!(e<<24>>24)){e=a+72|0;d=(da(e|0,4,0,0)|0|0)+1|0;ea(e|0,d|0,4,0)}else{e=e+-1<<24>>24;ea(d>>0|0,e|0,1,0);d=da(a+((e&255)<<2)+24|0,4,0,0)|0|0}vh(f,117,b,d,c)|0;e=da(a+408|0,4,0,0)|0|0;ea(((e|0)==0?a:e)+21>>0|0,1|0,1,0);ea(g|0,da((da((da(a|0,4,0,0)|0|0)+16|0,4,0,0)|0|0)+(c<<4)|0,4,0,0)|0|0,4,0);ea(g+4|0,((c|0)==1?13184:13208)|0,4,0);ea(g+8|0,b|0,4,0);ea(g+12|0,d|0,4,0);ea(g+16|0,d|0,4,0);Ar(a,33216,g);Zr(a,d);i=h;return}function Er(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,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;Q=i;i=i+96|0;if((i|0)>=(j|0))ba();I=Q+24|0;p=Q+80|0;h=Q+64|0;t=Q+16|0;n=Q+60|0;o=Q+56|0;G=Q+52|0;F=Q+48|0;s=Q+44|0;w=Q+40|0;x=Q+36|0;y=Q+32|0;l=Q+8|0;m=Q;P=da(a|0,4,0,0)|0|0;M=Nq(a)|0;do if((M|0)!=0?(L=M+88|0,ea(L|0,da(L|0,2,0,0)|0|16|0,2,0),L=a+72|0,ea(L|0,2|0,4,0),J=dr(a,b,c,p)|0,(J|0)>=0):0){K=P+16|0;v=da(K|0,4,0,0)|0|0;if((J|0)==1?(Zk(a)|0)!=0:0)break;O=Vq(P,da(p|0,4,0,0)|0|0)|0;if(O){if(!e)N=Vq(P,d)|0;else{ea(I|0,d|0,4,0);N=th(P,30104,I)|0}u=c+4|0;if(!(da(u|0,4,0,0)|0))D=0;else D=da(v+(J<<4)|0,4,0,0)|0|0;a:do if(!(Rq(a,19,O,N,D)|0)){ea(h|0,0|0,4,0);ea(h+4|0,O|0,4,0);ea(h+8|0,N|0,4,0);ea(h+12|0,0|0,4,0);k=P+452|0;ea(k|0,0|0,4,0);b=bg(P,D,14,h)|0;if(!b){g=da(h|0,4,0,0)|0|0;if(!g)break;f=(da(L|0,4,0,0)|0|0)+1|0;ea(L|0,f|0,4,0);wh(M,vh(M,97,0,f,0)|0,g,0);hq(M,1);if(!(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))Wg(da(M+16|0,4,0,0)|0|0,30112,-1,1,0)|0;vh(M,35,f,1,0)|0;Vc(da(h|0,4,0,0)|0|0);break}else if((b|0)==12){p=0;g=56;b:while(1){while(1){e=(p+g|0)/2|0;b=da(30120+(e*12|0)|0,4,0,0)|0|0;d=cd(O,b)|0;if(!d){p=e;break b}if((d|0)<0){b=e;break}if((e|0)<(g|0))p=e+1|0;else break a}b=b+-1|0;if((p|0)>(b|0))break a;else g=b}if(((da(30125+(p*12|0)>>0|0,1,0,0)|0)&1)!=0?(Fn(a)|0)!=0:0)break;do switch(da(30124+(p*12|0)>>0|0,1,0,1)|0|0){case 24:{d=da(v+(J<<4)+4|0,4,0,0)|0|0;if(N){ea(I|0,0|0,4,0);Cn(N,I)|0;y=da(I|0,4,0,0)|0|0;ea(P+72|0,y|0,4,0);if((wg(d,y,-1,0)|0)!=7)break a;ea(P+65>>0|0,1|0,1,0);break a}if(!d){d=0;f=0}else{f=da((da(d+4|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;d=f;f=((f|0)<0)<<31>>31}It(a,30864,d,f);break a}case 10:{h=1<>0|0,1,0,0)|0))Wg(da(M+16|0,4,0,0)|0|0,30848,-1,1,0)|0;ea(L|0,(da(L|0,4,0,0)|0|0)+2|0,4,0);g=xh(M,9,30808)|0;d=da(M+32|0,4,0,0)|0|0;if(d>>>0>g>>>0)ea((da(M+4|0,4,0,0)|0|0)+(g*20|0)+4|0,J|0,4,0);f=g+1|0;if(d>>>0>f>>>0)ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+4|0,J|0,4,0);f=g+6|0;if(d>>>0<=f>>>0)break a;ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+4|0,2e3|0,4,0);break a}case 19:{g=da(da((da(v+(J<<4)+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0;y=t;ea(y|0,-2|0,4,0);ea(y+4|0,-1|0,4,0);if(N){ii(N,t)|0;f=t;d=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;if((f|0)<-1|(f|0)==-1&d>>>0<4294967295){d=t;ea(d|0,-1|0,4,0);ea(d+4|0,-1|0,4,0);d=-1;f=-1}y=g+160|0;ea(y|0,d|0,4,0);ea(y+4|0,f|0,4,0);g=da(g+208|0,4,0,0)|0|0;if(g){y=g+16|0;ea(y|0,d|0,4,0);ea(y+4|0,f|0,4,0)}}else{f=g+160|0;d=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0}y=t;ea(y|0,d|0,4,0);ea(y+4|0,f|0,4,0);It(a,30952,d,f);break a}case 1:{g=da(v+(J<<4)+4|0,4,0,0)|0|0;if(!N){f=da(g+4|0,4,0,0)|0|0;ea(f+4|0,da(g|0,4,0,0)|0|0,4,0);if(!(da(f+17>>0|0,1,0,0)|0)){f=0;d=0}else{d=(da(f+18>>0|0,1,0,0)|0|0)==0;f=d?1:2;d=d?0:0}It(a,30976,f,d);break a}if(cd(N,32192)|0)if(cd(N,31880)|0)if(!(cd(N,32200)|0))f=2;else{ea(I|0,0|0,4,0);Cn(N,I)|0;f=da(I|0,4,0,0)|0|0;f=f>>>0<3?f&255:0}else f=1;else f=0;ea(P+67>>0|0,f|0,1,0);k=f+-1|0;if(!((un(g,f)|0)==0&k>>>0<2))break a;d=xh(M,6,30992)|0;h=da(M+32|0,4,0,0)|0|0;if(h>>>0>d>>>0)ea((da(M+4|0,4,0,0)|0|0)+(d*20|0)+4|0,J|0,4,0);g=d+1|0;if(h>>>0>g>>>0)ea((da(M+4|0,4,0,0)|0|0)+(g*20|0)+4|0,J|0,4,0);g=d+2|0;f=d+4|0;if(h>>>0>g>>>0)ea((da(M+4|0,4,0,0)|0|0)+(g*20|0)+8|0,f|0,4,0);if(h>>>0>f>>>0)ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+4|0,k|0,4,0);f=d+5|0;if(h>>>0>f>>>0)ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+4|0,J|0,4,0);y=M+96|0;ea(y|0,da(y|0,4,0,0)|0|1<>0|0,1,0,0)|0))Wg(da(M+16|0,4,0,0)|0|0,31048,-1,1,0)|0;y=da(2708*4|0,4,0,0)|0|0;wh(M,vh(M,97,0,1,0)|0,y,0);vh(M,35,1,1,0)|0;break a}if((da(N>>0|0,1,0,0)|0|0)!=0?(y=da(P|0,4,0,0)|0|0,y=(oc[(fa(da(y+32|0,4,0,0)|0|0,31|0)|0)&31](y,N,1,o)|0)!=0,y|(da(o|0,4,0,0)|0|0)==0):0){sh(a,31072,I);break a}if((da(P+64>>0|0,1,0,1)|0|0)<2)Jt(a)|0;Vc(da(2708*4|0,4,0,0)|0|0);if(!(da(N>>0|0,1,0,0)|0)){ea(2708*4|0,0|0,4,0);break a}else{ea(I|0,N|0,4,0);ea(2708*4|0,Zc(10344,I)|0|0,4,0);break a}}case 4:if(!N){y=da((da(v+(J<<4)+12|0,4,0,0)|0|0)+80|0,4,0,0)|0|0;It(a,30848,y,((y|0)<0)<<31>>31);break a}else{ea(I|0,0|0,4,0);Cn(N,I)|0;y=da(I|0,4,0,0)|0|0;ea((da(v+(J<<4)+12|0,4,0,0)|0|0)+80|0,y|0,4,0);oq(da(v+(J<<4)+4|0,4,0,0)|0|0,y);break a}case 23:{It(a,31016,0,0);break a}case 31:{if(!N){It(a,31032,da(P+64>>0|0,1,0,1)|0|0,0);break a}d=da(N>>0|0,1,0,0)|0|0;if((d+-48&255)>=3)if(!(cd(N,31352)|0))d=1;else{d=(cd(N,15168)|0)==0;d=d?2:0}else d=(d<<24>>24)+-48|0;f=(da(a|0,4,0,0)|0|0)+64|0;if((da(f>>0|0,1,0,1)|0|0)==(d|0))break a;if(Jt(a)|0)break a;ea(f>>0|0,d|0,1,0);break a}case 25:{d=da(v+(J<<4)+4|0,4,0,0)|0|0;if(N){f=(hi(N,1,0)|0)<<24>>24!=0&1;if((da(u|0,4,0,0)|0|0)==0?(r=P+20|0,(da(r|0,4,0,0)|0|0)>0):0){g=0;do{ro(da((da(K|0,4,0,0)|0|0)+(g<<4)+4|0,4,0,0)|0|0,f)|0;g=g+1|0}while((g|0)<(da(r|0,4,0,0)|0|0))}}else f=-1;y=ro(d,f)|0;It(a,30880,y,((y|0)<0)<<31>>31);break a}case 22:{zr(a,J);g=(da(L|0,4,0,0)|0|0)+1|0;ea(L|0,g|0,4,0);if(((da(O>>0|0,1,0,0)|0)&-33)<<24>>24==80)vh(M,153,J,g,0)|0;else{ea(I|0,0|0,4,0);if(N){Cn(N,I)|0;f=da(I|0,4,0,0)|0|0;if((f|0)<=-1)f=(f|0)==-2147483648?2147483647:0-f|0}else f=0;vh(M,154,J,g,f)|0}vh(M,35,g,1,0)|0;hq(M,1);if(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break a;Wg(da(M+16|0,4,0,0)|0|0,O,-1,1,-1)|0;break a}case 21:{do if(N){if(cd(N,30904)|0)if(!(cd(N,30896)|0))g=0;else{H=66;break}else g=1;if(!(da(u|0,4,0,0)|0)){m=da(P+20|0,4,0,0)|0|0;if((m|0)>2){k=da(K|0,4,0,0)|0|0;f=g&255;l=2;do{h=da(da((da(k+(l<<4)+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0;do if(!(da(h+12>>0|0,1,0,0)|0)){d=da(h+208|0,4,0,0)|0|0;if((d|0)!=0?(da(d+43>>0|0,1,0,0)|0|0)==2:0)break;ea(h+4>>0|0,f|0,1,0)}while(0);l=l+1|0}while((l|0)<(m|0))}else f=g&255;ea(P+66>>0|0,f|0,1,0);H=74}else H=74}else H=66;while(0);if((H|0)==66)if(!(da(u|0,4,0,0)|0))d=P+66|0;else{g=-1;H=74}if((H|0)==74){f=da(da((da(v+(J<<4)+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0;do if((g|0)>-1?(da(f+12>>0|0,1,0,0)|0|0)==0:0){d=da(f+208|0,4,0,0)|0|0;if((d|0)!=0?(da(d+43>>0|0,1,0,0)|0|0)==2:0)break;ea(f+4>>0|0,g|0,1,0)}while(0);d=f+4|0}d=(da(d>>0|0,1,0,0)|0|0)==1?30904:30896;hq(M,1);if(!(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))Wg(da(M+16|0,4,0,0)|0|0,30920,-1,1,0)|0;wh(M,vh(M,97,0,1,0)|0,d,0);vh(M,35,1,1,0)|0;break a}case 29:{if(!N){y=(da(v+(J<<4)+8>>0|0,1,0,1)|0|0)+-1|0;It(a,31104,y,((y|0)<0)<<31>>31);break a}if(!(da(P+63>>0|0,1,0,0)|0)){sh(a,31120,I);break a}else{ea(v+(J<<4)+8>>0|0,((hi(N,0,1)|0)&255)+1|0,1,0);Kt(P);break a}}case 2:{if(!N){It(a,b,((da(30128+(p*12|0)|0,4,0,0)|0)&(da(P+24|0,4,0,0)|0)|0)!=0&1,0);break a}d=da(30128+(p*12|0)|0,4,0,0)|0|0;d=(da(P+63>>0|0,1,0,0)|0|0)==0?d&-524289:d;if(!((hi(N,1,0)|0)<<24>>24)){y=P+24|0;ea(y|0,(da(y|0,4,0,0)|0)&~d|0,4,0);if((d|0)==16777216){y=P+512|0;ea(y|0,0|0,4,0);ea(y+4|0,0|0,4,0)}}else{y=P+24|0;ea(y|0,da(y|0,4,0,0)|0|d|0,4,0)}vh(M,144,0,0,0)|0;Kt(P);break a}case 18:{hq(M,1);if(!(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))Wg(da(M+16|0,4,0,0)|0|0,30936,-1,1,0)|0;c:do if(N){g=N;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;f=g-N&1073741823;g=0;while(1){if(!(Ec(N,da(32216+(g<<2)|0,4,0,0)|0|0,f)|0))break;g=g+1|0;if((g|0)==6){H=91;break c}}if((g|0)!=-1)h=J;else H=91}else H=91;while(0);if((H|0)==91)if(!(da(u|0,4,0,0)|0)){ea(u|0,1|0,4,0);g=-1;h=0}else{g=-1;h=J}f=da(P+20|0,4,0,0)|0|0;if((f|0)>0){d=M+96|0;do{f=f+-1|0;do if(da((da(K|0,4,0,0)|0|0)+(f<<4)+4|0,4,0,0)|0){if((f|0)!=(h|0)?(da(u|0,4,0,0)|0|0)!=0:0)break;ea(d|0,da(d|0,4,0,0)|0|1<0)}vh(M,35,1,1,0)|0;break a}case 28:{h=Nq(a)|0;hq(h,4);ea(L|0,4|0,4,0);zr(a,J);if((((da((da(h|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0?(Wg(da(h+16|0,4,0,0)|0|0,31232,-1,1,0)|0,(da((da(h|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(h+16|0,4,0,0)|0|0)+40|0,20632,-1,1,0)|0,(da((da(h|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(h+16|0,4,0,0)|0|0)+80|0,31240,-1,1,0)|0,(da((da(h|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg((da(h+16|0,4,0,0)|0|0)+120|0,31248,-1,1,0)|0;d=da((da(v+(J<<4)+12|0,4,0,0)|0|0)+16|0,4,0,0)|0|0;if(!d)break a;do{f=da(d+8|0,4,0,0)|0|0;y=da(f|0,4,0,0)|0|0;wh(h,vh(h,97,0,1,0)|0,y,0);vh(h,28,0,2,0)|0;y=Vs(da(f+42|0,2,0,0)|0|0)|0;vh(h,25,y,3,0)|0;y=Vs(da(f+28|0,2,0,0)|0|0)|0;vh(h,25,y,4,0)|0;vh(h,35,1,4,0)|0;f=da(f+8|0,4,0,0)|0|0;if(f)do{y=da(f|0,4,0,0)|0|0;wh(h,vh(h,97,0,2,0)|0,y,0);y=Vs(da(f+44|0,2,0,0)|0|0)|0;vh(h,25,y,3,0)|0;y=Vs(da(da(f+8|0,4,0,0)|0|0,2,0,0)|0|0)|0;vh(h,25,y,4,0)|0;vh(h,35,1,4,0)|0;f=da(f+20|0,4,0,0)|0|0}while((f|0)!=0);d=da(d|0,4,0,0)|0|0}while((d|0)!=0);break}case 15:{if(!N)break a;m=aq(P,N,D)|0;if(!m)break a;e=(da(30128+(p*12|0)|0,4,0,0)|0|0)==0;d=m+46|0;y=e?3:6;k=da((e?d:m+48|0)|0,2,0,0)|0|0;n=k&65535;ea(L|0,y|0,4,0);l=da(m+12|0,4,0,0)|0|0;hq(M,y);zr(a,J);if(((da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0?(Wg(da(M+16|0,4,0,0)|0|0,31256,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(M+16|0,4,0,0)|0|0)+40|0,31176,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg((da(M+16|0,4,0,0)|0|0)+80|0,31184,-1,1,0)|0;if(((!e?(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0:0)?(Wg((da(M+16|0,4,0,0)|0|0)+120|0,31264,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(M+16|0,4,0,0)|0|0)+160|0,31272,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg((da(M+16|0,4,0,0)|0|0)+200|0,31280,-1,1,0)|0;if(!(k<<16>>16))break a;g=m+4|0;f=m+28|0;h=m+32|0;m=l+4|0;k=0;do{y=da((da(g|0,4,0,0)|0|0)+(k<<1)|0,2,0,0)|0|0;vh(M,25,k,1,0)|0;l=y<<16>>16;vh(M,25,l,2,0)|0;if(y<<16>>16<0)vh(M,28,0,3,0)|0;else{y=da((da(m|0,4,0,0)|0|0)+(l*24|0)|0,4,0,0)|0|0;wh(M,vh(M,97,0,3,0)|0,y,0)}if(!e){vh(M,25,da((da(f|0,4,0,0)|0|0)+k>>0|0,1,0,1)|0|0,4,0)|0;y=da((da(h|0,4,0,0)|0|0)+(k<<2)|0,4,0,0)|0|0;wh(M,vh(M,97,0,5,0)|0,y,0);vh(M,25,(k|0)<(da(d|0,2,0,1)|0|0)&1,6,0)|0}vh(M,35,1,da(L|0,4,0,0)|0|0,0)|0;k=k+1|0}while((k|0)<(n|0));break}case 5:{if(!N)break a;y=(hi(N,1,0)|0)<<24>>24!=0;x=y?32e3:19240;Ph(P,19248,2,1,x,40,0,0,0)|0;Ph(P,19248,3,1,x,40,0,0,0)|0;Ph(P,19232,2,1,10352,40,0,0,0)|0;Nt(P,19232,12);Nt(P,19248,y?12:4);break a}case 17:{p=da(O>>0|0,1,0,0)|0|0;q=(da(c|0,4,0,0)|0|0)==0?-1:J;ea(L|0,6|0,4,0);hq(M,1);if(!(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))Wg(da(M+16|0,4,0,0)|0|0,31464,-1,1,0)|0;ea(s|0,100|0,4,0);if(N){Cn(N,s)|0;m=da(s|0,4,0,0)|0|0;if((m|0)<1){ea(s|0,100|0,4,0);m=100}}else m=100;vh(M,25,m,1,0)|0;E=P+20|0;e=da(E|0,4,0,0)|0|0;if((e|0)>0){D=(q|0)<0;f=M+32|0;A=M+4|0;z=M+24|0;F=(p&-33)<<24>>24==81;G=0;do{if(D|(G|0)==(q|0)){zr(a,G);e=vh(M,137,1,0,0)|0;vh(M,24,0,0,0)|0;d=da(f|0,4,0,0)|0|0;if(d>>>0>e>>>0)ea((da(A|0,4,0,0)|0|0)+(e*20|0)+8|0,d|0,4,0);ea((da(z|0,4,0,0)|0|0)+88|0,d+-1|0,4,0);g=(da((da(K|0,4,0,0)|0|0)+(G<<4)+12|0,4,0,0)|0|0)+16|0;e=da(g|0,4,0,0)|0|0;if(!e)p=0;else{p=0;do{d=da(e+8|0,4,0,0)|0|0;if(!((da(d+44>>0|0,1,0,0)|0)&32)){vh(M,25,da(d+32|0,4,0,0)|0|0,p+2|0,0)|0;p=p+1|0}b=da(d+8|0,4,0,0)|0|0;if(b)do{vh(M,25,da(b+40|0,4,0,0)|0|0,p+2|0,0)|0;p=p+1|0;b=da(b+20|0,4,0,0)|0|0}while((b|0)!=0);e=da(e|0,4,0,0)|0|0}while((e|0)!=0)}v=da(L|0,4,0,0)|0|0;e=p+8|0;ea(L|0,((v|0)>(e|0)?v:e)|0,4,0);vh(M,127,2,p,1)|0;e=da(A|0,4,0,0)|0|0;if(e)ea(e+(((da(f|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,G|0,1,0);p=vh(M,76,2,0,0)|0;ea(I|0,da((da(K|0,4,0,0)|0|0)+(G<<4)|0,4,0,0)|0|0,4,0);e=th(P,31480,I)|0;wh(M,vh(M,97,0,3,0)|0,e,-1);vh(M,32,2,4,1)|0;vh(M,94,4,3,2)|0;vh(M,35,2,1,0)|0;e=da(f|0,4,0,0)|0|0;if(e>>>0>p>>>0)ea((da(A|0,4,0,0)|0|0)+(p*20|0)+8|0,e|0,4,0);ea((da(z|0,4,0,0)|0|0)+88|0,e+-1|0,4,0);e=da(g|0,4,0,0)|0|0;if(!((e|0)==0|F))do{c=da(e+8|0,4,0,0)|0|0;B=c+8|0;p=da(B|0,4,0,0)|0|0;do if(p){d:do if(!((da(c+44>>0|0,1,0,0)|0)&32))p=0;else while(1){if(((da(p+51>>0|0,1,0,0)|0)&3)==2)break d;p=da(p+20|0,4,0,0)|0|0;if(!p){p=0;break}}while(0);b=vh(M,137,1,0,0)|0;vh(M,24,0,0,0)|0;d=da(f|0,4,0,0)|0|0;if(d>>>0>b>>>0)ea((da(A|0,4,0,0)|0|0)+(b*20|0)+8|0,d|0,4,0);ea((da(z|0,4,0,0)|0|0)+88|0,d+-1|0,4,0);$s(a);ot(a,c,54,1,0,w,x)|0;vh(M,25,0,7,0)|0;d=da(B|0,4,0,0)|0|0;if(!d)b=8;else{b=0;while(1){vh(M,25,0,b+8|0,0)|0;d=da(d+20|0,4,0,0)|0|0;if(!d)break;else b=b+1|0}b=b+9|0}C=da(L|0,4,0,0)|0|0;ea(L|0,((C|0)>(b|0)?C:b)|0,4,0);vh(M,108,da(w|0,4,0,0)|0|0,0,0)|0;C=vh(M,37,7,1,0)|0;l=c+38|0;b=da(l|0,2,0,0)|0|0;if(b<<16>>16>0){n=c+36|0;o=c+4|0;k=0;do{do if((k|0)!=(da(n|0,2,0,0)|0|0)){if(!(da((da(o|0,4,0,0)|0|0)+(k*24|0)+20>>0|0,1,0,0)|0))break;mt(M,c,da(w|0,4,0,0)|0|0,k,3);b=da(A|0,4,0,0)|0|0;if(b)ea(b+(((da(f|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,-128|0,1,0);b=vh(M,77,3,0,0)|0;vh(M,37,1,-1,0)|0;g=da((da(o|0,4,0,0)|0|0)+(k*24|0)|0,4,0,0)|0|0;ea(I|0,da(c|0,4,0,0)|0|0,4,0);ea(I+4|0,g|0,4,0);g=th(P,31504,I)|0;wh(M,vh(M,97,0,3,0)|0,g,-1);vh(M,35,3,1,0)|0;g=vh(M,137,1,0,0)|0;vh(M,24,0,0,0)|0;h=da(f|0,4,0,0)|0|0;if(h>>>0>b>>>0)ea((da(A|0,4,0,0)|0|0)+(b*20|0)+8|0,h|0,4,0);b=h+-1|0;d=(da(z|0,4,0,0)|0|0)+88|0;ea(d|0,b|0,4,0);if(h>>>0>g>>>0)ea((da(A|0,4,0,0)|0|0)+(g*20|0)+8|0,h|0,4,0);ea(d|0,b|0,4,0);b=da(l|0,2,0,0)|0|0}while(0);k=k+1|0}while((k|0)<(b<<16>>16|0))}b=da(B|0,4,0,0)|0|0;if(b){s=c+4|0;r=0;h=0;d=-1;while(1){g=ws(M)|0;if((p|0)!=(b|0)){d=Ot(a,b,da(w|0,4,0,0)|0|0,0,0,y,h,d)|0;vh(M,37,r+8|0,1,0)|0;c=da(b+48|0,2,0,1)|0|0;g=vh(M,69,(da(x|0,4,0,0)|0|0)+r|0,g,d)|0;wh(M,g,c,-14);vh(M,37,1,-1,0)|0;wh(M,vh(M,97,0,3,0)|0,31528,-2);vh(M,94,7,3,3)|0;wh(M,vh(M,97,0,4,0)|0,31536,-2);vh(M,94,4,3,3)|0;c=da(b|0,4,0,0)|0|0;o=vh(M,97,0,4,0)|0;wh(M,o,c,0);vh(M,94,4,3,3)|0;vh(M,35,3,1,0)|0;c=vh(M,137,1,0,0)|0;vh(M,24,0,0,0)|0;h=da(f|0,4,0,0)|0|0;if(h>>>0>g>>>0)ea((da(A|0,4,0,0)|0|0)+(g*20|0)+8|0,h|0,4,0);g=da(z|0,4,0,0)|0|0;ea(g+88|0,h+-1|0,4,0);if(da(b+50>>0|0,1,0,0)|0){n=ws(M)|0;l=b+46|0;g=da(l|0,2,0,0)|0|0;if(g<<16>>16){k=b+4|0;h=0;do{if(!(da((da(s|0,4,0,0)|0|0)+((da((da(k|0,4,0,0)|0|0)+(h<<1)|0,2,0,0)|0|0)*24|0)+20>>0|0,1,0,0)|0)){vh(M,76,h+d|0,n,0)|0;g=da(l|0,2,0,0)|0|0}h=h+1|0}while((h|0)<(g&65535|0))}g=vh(M,9,(da(x|0,4,0,0)|0|0)+r|0,0,0)|0;vh(M,16,0,n,0)|0;h=da(f|0,4,0,0)|0|0;if(h>>>0>g>>>0)ea((da(A|0,4,0,0)|0|0)+(g*20|0)+8|0,h|0,4,0);ea((da(z|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);g=da(l|0,2,0,1)|0|0;wh(M,vh(M,114,(da(x|0,4,0,0)|0|0)+r|0,n,d)|0,g,-14);vh(M,37,1,-1,0)|0;wh(M,vh(M,97,0,3,0)|0,31560,-2);vh(M,16,0,o,0)|0;g=da(z|0,4,0,0)|0|0;k=~n;do if((n|0)<0){h=da(g+112|0,4,0,0)|0|0;if(!h)break;ea(h+(k<<2)|0,da(f|0,4,0,0)|0|0,4,0)}while(0);h=da(f|0,4,0,0)|0|0;ea(g+88|0,h+-1|0,4,0)}if(h>>>0>c>>>0)ea((da(A|0,4,0,0)|0|0)+(c*20|0)+8|0,h|0,4,0);ea(g+88|0,h+-1|0,4,0);Pt(a,da(y|0,4,0,0)|0|0);h=b}b=da(b+20|0,4,0,0)|0|0;if(!b)break;else r=r+1|0}}vh(M,9,da(w|0,4,0,0)|0|0,C,0)|0;d=C+-1|0;g=da(f|0,4,0,0)|0|0;if(g>>>0>d>>>0)ea((da(A|0,4,0,0)|0|0)+(d*20|0)+8|0,g|0,4,0);ea((da(z|0,4,0,0)|0|0)+88|0,g+-1|0,4,0);wh(M,vh(M,97,0,2,0)|0,31592,-2);d=da(B|0,4,0,0)|0|0;if(!d)break;else b=0;while(1){if((p|0)!=(d|0)){g=da(f|0,4,0,0)|0|0;vh(M,137,1,g+2|0,0)|0;vh(M,24,0,0,0)|0;vh(M,50,(da(x|0,4,0,0)|0|0)+b|0,3,0)|0;vh(M,79,b+8|0,g+8|0,3)|0;g=da(A|0,4,0,0)|0|0;if(g)ea(g+(((da(f|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,-112|0,1,0);vh(M,37,1,-1,0)|0;v=da(d|0,4,0,0)|0|0;wh(M,vh(M,97,0,3,0)|0,v,0);vh(M,94,3,2,7)|0;vh(M,35,7,1,0)|0}d=da(d+20|0,4,0,0)|0|0;if(!d)break;else b=b+1|0}}while(0);e=da(e|0,4,0,0)|0|0}while((e|0)!=0);e=da(E|0,4,0,0)|0|0}G=G+1|0}while((G|0)<(e|0))}else f=M+32|0;d=xh(M,3,31448)|0;f=da(f|0,4,0,0)|0|0;if(f>>>0>d>>>0){ea((da(M+4|0,4,0,0)|0|0)+(d*20|0)+12|0,0-m|0,4,0);ea((da(M+4|0,4,0,0)|0|0)+(d*20|0)+8|0,f|0,4,0)}ea((da(M+24|0,4,0,0)|0|0)+88|0,f+-1|0,4,0);wh(M,d+1|0,31624,-2);break a}case 9:{hq(M,3);ea(L|0,3|0,4,0);if(((da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0?(Wg(da(M+16|0,4,0,0)|0|0,31288,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(M+16|0,4,0,0)|0|0)+40|0,31184,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg((da(M+16|0,4,0,0)|0|0)+80|0,31352,-1,1,0)|0;d=P+20|0;f=da(d|0,4,0,0)|0|0;if((f|0)>0)h=0;else break a;do{if(da((da(K|0,4,0,0)|0|0)+(h<<4)+4|0,4,0,0)|0){vh(M,25,h,1,0)|0;g=da((da(K|0,4,0,0)|0|0)+(h<<4)|0,4,0,0)|0|0;wh(M,vh(M,97,0,2,0)|0,g,0);g=da(da((da((da(K|0,4,0,0)|0|0)+(h<<4)+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0;if(!(da(g+15>>0|0,1,0,0)|0))g=da(g+168|0,4,0,0)|0|0;else g=10360;wh(M,vh(M,97,0,3,0)|0,g,0);vh(M,35,1,3,0)|0;f=da(d|0,4,0,0)|0|0}h=h+1|0}while((h|0)<(f|0));break}case 6:{hq(M,2);ea(L|0,2|0,4,0);if((da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0?(Wg(da(M+16|0,4,0,0)|0|0,31288,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg((da(M+16|0,4,0,0)|0|0)+40|0,31184,-1,1,0)|0;f=da(P+436|0,4,0,0)|0|0;if(!f)break a;else d=0;while(1){y=da(f+8|0,4,0,0)|0|0;vh(M,25,d,1,0)|0;y=da(y|0,4,0,0)|0|0;wh(M,vh(M,97,0,2,0)|0,y,0);vh(M,35,1,2,0)|0;f=da(f|0,4,0,0)|0|0;if(!f)break;else d=d+1|0}break}case 13:{if(!N)break a;g=Zh(P,N,D)|0;if(!g)break a;p=Nq(a)|0;h=da(g+16|0,4,0,0)|0|0;if(!h)break a;hq(p,8);ea(L|0,8|0,4,0);zr(a,J);do if((((da((da(p|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0?(Wg(da(p+16|0,4,0,0)|0|0,31360,-1,1,0)|0,(da((da(p|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(p+16|0,4,0,0)|0|0)+40|0,31288,-1,1,0)|0,(da((da(p|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(p+16|0,4,0,0)|0|0)+80|0,31232,-1,1,0)|0,(da((da(p|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0){Wg((da(p+16|0,4,0,0)|0|0)+120|0,31368,-1,1,0)|0;if(da((da(p|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;Wg((da(p+16|0,4,0,0)|0|0)+160|0,31376,-1,1,0)|0;if(da((da(p|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;Wg((da(p+16|0,4,0,0)|0|0)+200|0,31384,-1,1,0)|0;if(da((da(p|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;Wg((da(p+16|0,4,0,0)|0|0)+240|0,31400,-1,1,0)|0;if(da((da(p|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;Wg((da(p+16|0,4,0,0)|0|0)+280|0,31416,-1,1,0)|0}while(0);c=g+4|0;e=0;while(1){k=h+20|0;if((da(k|0,4,0,0)|0|0)>0){g=h+25|0;f=h+26|0;d=h+8|0;o=0;do{n=da(h+(o<<3)+40|0,4,0,0)|0|0;m=da(g>>0|0,1,0,1)|0|0;if((m|0)==8)l=32072;else if((m|0)==9)l=32088;else if((m|0)==6)l=32096;else if((m|0)==7)l=32056;else l=32112;m=da(f>>0|0,1,0,1)|0|0;if((m|0)==8)m=32072;else if((m|0)==9)m=32088;else if((m|0)==6)m=32096;else if((m|0)==7)m=32056;else m=32112;vh(p,25,e,1,0)|0;vh(p,25,o,2,0)|0;y=da(d|0,4,0,0)|0|0;wh(p,vh(p,97,0,3,0)|0,y,0);y=da((da(c|0,4,0,0)|0|0)+((da(h+(o<<3)+36|0,4,0,0)|0|0)*24|0)|0,4,0,0)|0|0;wh(p,vh(p,97,0,4,0)|0,y,0);wh(p,vh(p,(n|0)!=0?97:28,0,5,0)|0,n,0);wh(p,vh(p,97,0,6,0)|0,m,0);wh(p,vh(p,97,0,7,0)|0,l,0);wh(p,vh(p,97,0,8,0)|0,31424,0);vh(p,35,1,8,0)|0;o=o+1|0}while((o|0)<(da(k|0,4,0,0)|0|0))}h=da(h+4|0,4,0,0)|0|0;if(!h)break;else e=e+1|0}break}case 12:{b=da(L|0,4,0,0)|0|0;z=b+1|0;A=b+5|0;B=b+6|0;ea(L|0,B|0,4,0);C=Nq(a)|0;hq(C,4);if((((da((da(C|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0?(Wg(da(C+16|0,4,0,0)|0|0,31232,-1,1,0)|0,(da((da(C|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(C+16|0,4,0,0)|0|0)+40|0,20456,-1,1,0)|0,(da((da(C|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(C+16|0,4,0,0)|0|0)+80|0,31432,-1,1,0)|0,(da((da(C|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg((da(C+16|0,4,0,0)|0|0)+120|0,31440,-1,1,0)|0;zr(a,J);p=da((da((da(K|0,4,0,0)|0|0)+(J<<4)+12|0,4,0,0)|0|0)+16|0,4,0,0)|0|0;if(!p)break a;m=(N|0)==0;n=a+68|0;o=C+32|0;c=C+4|0;w=C+24|0;x=b+2|0;y=b+3|0;t=b+4|0;l=a+8|0;while(1){if(m){u=da(p|0,4,0,0)|0|0;v=da(p+8|0,4,0,0)|0|0}else{u=0;v=rh(a,0,N,D)|0}if((v|0)!=0?(E=v+16|0,(da(E|0,4,0,0)|0|0)!=0):0){fs(a,J,da(v+32|0,4,0,0)|0|0,0,da(v|0,4,0,0)|0|0);b=(da(v+38|0,2,0,0)|0|0)+B|0;if((b|0)>(da(L|0,4,0,0)|0|0))ea(L|0,b|0,4,0);Pq(a,0,J,v,54);p=da(v|0,4,0,0)|0|0;wh(C,vh(C,97,0,z,0)|0,p,0);p=da(E|0,4,0,0)|0|0;if(!p)b=1;else{b=1;do{e=Zh(P,da(p+8|0,4,0,0)|0|0,D)|0;do if(e){ea(G|0,0|0,4,0);fs(a,J,da(e+32|0,4,0,0)|0|0,0,da(e|0,4,0,0)|0|0);if(Lt(a,e,p,G,0)|0)break a;d=da(G|0,4,0,0)|0|0;if(!d){Pq(a,b,J,e,54);break}else{vh(C,54,b,da(d+40|0,4,0,0)|0|0,J)|0;s=da(l|0,4,0,0)|0|0;wh(s,-1,gs(a,d)|0,-6);break}}while(0);b=b+1|0;p=da(p+4|0,4,0,0)|0|0}while((p|0)!=0)}if((da(n|0,4,0,0)|0|0)<(b|0))ea(n|0,b|0,4,0);q=vh(C,108,0,0,0)|0;b=da(E|0,4,0,0)|0|0;if(b){s=v+36|0;r=1;while(1){k=b+8|0;p=Zh(P,da(k|0,4,0,0)|0|0,D)|0;ea(G|0,0|0,4,0);ea(F|0,0|0,4,0);h=(p|0)!=0;do if(h){Lt(a,p,b,G,F)|0;e=da(G|0,4,0,0)|0|0;d=ws(C)|0;if(!(h&(e|0)==0)){p=d;H=306;break}p=da(b+36|0,4,0,0)|0|0;if((p|0)==(da(s|0,2,0,0)|0|0))vh(C,103,0,B,0)|0;else{vh(C,47,0,p,B)|0;Mt(C,v,p,B);vh(C,76,B,d,0)|0;vh(C,38,B,(da(o|0,4,0,0)|0|0)+3|0,0)|0}vh(C,70,r,0,B)|0;vh(C,16,0,d,0)|0;p=da(o|0,4,0,0)|0|0;if(p>>>0>1)ea((da(c|0,4,0,0)|0|0)+((p+-2|0)*20|0)+8|0,p|0,4,0);ea((da(w|0,4,0,0)|0|0)+88|0,p+-1|0,4,0);p=d}else{p=ws(C)|0;e=0;H=306}while(0);do if((H|0)==306){H=0;g=b+20|0;d=da(g|0,4,0,0)|0|0;if((d|0)>0){f=0;do{d=da(F|0,4,0,0)|0|0;if(!d)d=b+(f<<3)+36|0;else d=d+(f<<2)|0;I=f+B|0;mt(C,v,0,da(d|0,4,0,0)|0|0,I);vh(C,76,I,p,0)|0;f=f+1|0;d=da(g|0,4,0,0)|0|0}while((f|0)<(d|0))}if(!h)break;f=nt(C,e)|0;e=da(g|0,4,0,0)|0|0;wh(C,vh(C,49,B,d,A)|0,f,e);wh(C,vh(C,69,r,p,A)|0,0,-14)}while(0);vh(C,103,0,x,0)|0;e=da(k|0,4,0,0)|0|0;wh(C,vh(C,97,0,y,0)|0,e,0);vh(C,25,r+-1|0,t,0)|0;vh(C,35,z,4,0)|0;e=da(w|0,4,0,0)|0|0;d=~p;do if((p|0)<0){p=da(e+112|0,4,0,0)|0|0;if(!p)break;ea(p+(d<<2)|0,da(o|0,4,0,0)|0|0,4,0)}while(0);ea(e+88|0,(da(o|0,4,0,0)|0|0)+-1|0,4,0);lg(P,da(F|0,4,0,0)|0|0);b=da(b+4|0,4,0,0)|0|0;if(!b)break;else r=r+1|0}}vh(C,9,0,q+1|0,0)|0;b=da(o|0,4,0,0)|0|0;if(b>>>0>q>>>0)ea((da(c|0,4,0,0)|0|0)+(q*20|0)+8|0,b|0,4,0);ea((da(w|0,4,0,0)|0|0)+88|0,b+-1|0,4,0)}if(!u)break;else p=u}break}case 11:{if(!N){if(Fn(a)|0)break a;hq(M,1);if(!(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))Wg(da(M+16|0,4,0,0)|0|0,31784,-1,1,0)|0;vh(M,97,0,1,0)|0;wh(M,-1,da(31632+((da((da(a|0,4,0,0)|0|0)+62>>0|0,1,0,1)|0)<<3)|0,4,0,0)|0|0,-2);vh(M,35,1,1,0)|0;break a}g=da((da(K|0,4,0,0)|0|0)+12|0,4,0,0)|0|0;if(((da(g+78|0,2,0,0)|0)&5)==1)break a;else{f=31632;d=31704}do{if(!(cd(N,d)|0)){q=f;H=415;break}f=f+8|0;d=da(f|0,4,0,0)|0|0}while((d|0)!=0);if((H|0)==415?(y=da(q+4>>0|0,1,0,0)|0|0,y=y<<24>>24==0?2:y,ea(P+62>>0|0,y|0,1,0),ea(g+77>>0|0,y|0,1,0),(da(q|0,4,0,0)|0|0)!=0):0)break a;ea(I|0,N|0,4,0);sh(a,31800,I);break a}case 0:{m=da(30128+(p*12|0)|0,4,0,0)|0|0;y=M+96|0;ea(y|0,da(y|0,4,0,0)|0|1<>>0>f>>>0)ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+4|0,J|0,4,0);d=f+1|0;ea(I|0,0|0,4,0);Cn(N,I)|0;g=da(g|0,4,0,0)|0|0;if(g>>>0>d>>>0)ea((da(M+4|0,4,0,0)|0|0)+(d*20|0)+4|0,da(I|0,4,0,0)|0|0,4,0);f=f+2|0;if(g>>>0<=f>>>0)break a;ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+4|0,J|0,4,0);ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+8|0,m|0,4,0);break a}f=xh(M,3,31848)|0;g=da(M+32|0,4,0,0)|0|0;if(g>>>0>f>>>0)ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+4|0,J|0,4,0);f=f+1|0;if(g>>>0>f>>>0){ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+4|0,J|0,4,0);ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+12|0,m|0,4,0)}hq(M,1);if(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break a;Wg(da(M+16|0,4,0,0)|0|0,O,-1,1,-1)|0;break a}case 7:{hq(M,1);ea(L|0,1|0,4,0);if(!(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)){Wg(da(M+16|0,4,0,0)|0|0,31864,-1,1,0)|0;d=0}else d=0;do{y=da(8648+(d<<2)|0,4,0,0)|0|0;d=d+1|0;wh(M,vh(M,97,0,1,0)|0,y,0);vh(M,35,1,1,0)|0}while((d|0)!=4);break}case 35:{f=(da(c|0,4,0,0)|0|0)!=0?J:10;if(N)if(cd(N,31880)|0)if(!(cd(N,31888)|0))d=2;else{d=(cd(N,31896)|0)==0;d=d?3:0}else d=1;else d=0;hq(M,3);ea(L|0,3|0,4,0);if(((da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0?(Wg(da(M+16|0,4,0,0)|0|0,31912,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(M+16|0,4,0,0)|0|0)+40|0,31920,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg((da(M+16|0,4,0,0)|0|0)+80|0,31928,-1,1,0)|0;vh(M,11,f,d,1)|0;vh(M,35,1,3,0)|0;break a}case 26:{nf(P)|0;break a}case 34:{if(!N)d=da(P+216|0,4,0,0)|0|0;else{ea(I|0,0|0,4,0);Cn(N,I)|0;d=da(I|0,4,0,0)|0|0;if((d|0)>0)f=21;else{d=0;f=0}ea(P+216|0,f|0,4,0);ea(P+220|0,d|0,4,0);d=f}if((d|0)==21){d=da(P+220|0,4,0,0)|0|0;f=d;d=((d|0)<0)<<31>>31}else{f=0;d=0}It(a,31944,f,d);break a}case 27:{if((N|0)!=0?(ii(N,l)|0)==0:0){y=l;Oc(da(y|0,4,0,0)|0|0,da(y+4|0,4,0,0)|0|0)|0}f=(Kc()|0)==0;d=9032;It(a,31976,f?da(d|0,4,0,0)|0|0:-1,f?da(d+4|0,4,0,0)|0|0:-1);break a}case 33:{if((N|0)!=0?(w=(ii(N,m)|0)==0,y=m,x=da(y+4|0,4,0,0)|0|0,w&((x|0)>-1|(x|0)==-1&(da(y|0,4,0,0)|0|0)>>>0>4294967295)):0)ea(P+132|0,0|0,4,0);y=da(P+132|0,4,0,0)|0|0;It(a,31992,y,((y|0)<0)<<31>>31);break a}case 16:{if(!N)break a;g=Zh(P,N,D)|0;if(!g)break a;h=Nq(a)|0;hq(h,5);ea(L|0,5|0,4,0);zr(a,J);if(((((da((da(h|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0?(Wg(da(h+16|0,4,0,0)|0|0,31288,-1,1,0)|0,(da((da(h|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(h+16|0,4,0,0)|0|0)+40|0,31184,-1,1,0)|0,(da((da(h|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(h+16|0,4,0,0)|0|0)+80|0,31296,-1,1,0)|0,(da((da(h|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(h+16|0,4,0,0)|0|0)+120|0,31304,-1,1,0)|0,(da((da(h|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg((da(h+16|0,4,0,0)|0|0)+160|0,31312,-1,1,0)|0;f=da(g+8|0,4,0,0)|0|0;if(!f)break a;else d=0;while(1){vh(h,25,d,1,0)|0;y=da(f|0,4,0,0)|0|0;wh(h,vh(h,97,0,2,0)|0,y,0);vh(h,25,(da(f+50>>0|0,1,0,0)|0|0)!=0&1,3,0)|0;y=da(31336+(((da(f+51>>0|0,1,0,0)|0)&3)<<2)|0,4,0,0)|0|0;wh(h,vh(h,97,0,4,0)|0,y,0);vh(h,25,(da(f+36|0,4,0,0)|0|0)!=0&1,5,0)|0;vh(h,35,1,5,0)|0;f=da(f+20|0,4,0,0)|0|0;if(!f)break;else d=d+1|0}break}case 30:{if(!N)break a;o=Zh(P,N,D)|0;if(!o)break a;g=da(o+8|0,4,0,0)|0|0;e:do if(!g)g=0;else while(1){if(((da(g+51>>0|0,1,0,0)|0)&3)==2)break e;g=da(g+20|0,4,0,0)|0|0;if(!g){g=0;break}}while(0);hq(M,6);ea(L|0,6|0,4,0);zr(a,J);do if((((da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0?(Wg(da(M+16|0,4,0,0)|0|0,31176,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(M+16|0,4,0,0)|0|0)+40|0,31184,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)?(Wg((da(M+16|0,4,0,0)|0|0)+80|0,31192,-1,1,0)|0,(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0){Wg((da(M+16|0,4,0,0)|0|0)+120|0,31200,-1,1,0)|0;if(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;Wg((da(M+16|0,4,0,0)|0|0)+160|0,31208,-1,1,0)|0;if(da((da(M|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;Wg((da(M+16|0,4,0,0)|0|0)+200|0,31224,-1,1,0)|0}while(0);gr(a,o)|0;c=o+38|0;f=da(c|0,2,0,0)|0|0;if(f<<16>>16<=0)break a;b=(g|0)==0;n=g+4|0;d=0;p=0;e=da(o+4|0,4,0,0)|0|0;while(1){k=e+23|0;if(!((da(k>>0|0,1,0,0)|0)&2)){vh(M,25,d-p|0,1,0)|0;h=da(e|0,4,0,0)|0|0;wh(M,vh(M,97,0,2,0)|0,h,0);h=da(e+12|0,4,0,0)|0|0;wh(M,vh(M,97,0,3,0)|0,(h|0)==0?10360:h,0);vh(M,25,(da(e+20>>0|0,1,0,0)|0|0)!=0&1,4,0)|0;h=da(e+8|0,4,0,0)|0|0;if(!h)vh(M,28,0,5,0)|0;else wh(M,vh(M,97,0,5,0)|0,h,0);g=(da(k>>0|0,1,0,0)|0)&1;f:do if(g<<24>>24==0|b)h=(g^1)&255^1;else{h=da(c|0,2,0,0)|0|0;if(h<<16>>16<1){h=1;break}k=da(n|0,4,0,0)|0|0;m=h<<16>>16;l=1;while(1){h=l+1|0;if((da(k+(l+-1<<1)|0,2,0,0)|0|0)==(d|0)){h=l;break f}if((l|0)<(m|0))l=h;else break}}while(0);vh(M,25,h,6,0)|0;vh(M,35,1,6,0)|0;f=da(c|0,2,0,0)|0|0;h=p}else h=p+1|0;d=d+1|0;if((d|0)>=(f<<16>>16|0))break;else{p=h;e=e+24|0}}break}case 14:{if(!((N|0)!=0?(y=(Cn(N,n)|0)==0,f=da(n|0,4,0,0)|0|0,!(y|(f|0)<1)):0)){ea(n|0,2147483647|0,4,0);f=2147483647}d=da(a+408|0,4,0,0)|0|0;zr(a,J);d=((d|0)==0?a:d)+328|0;ea(d|0,da(d|0,4,0,0)|0|1<>>0>f>>>0)ea((da(M+4|0,4,0,0)|0|0)+(f*20|0)+8|0,d|0,4,0);ea((da(M+24|0,4,0,0)|0|0)+88|0,d+-1|0,4,0);break a}default:{if(!N)d=da(P+492|0,4,0,0)|0|0;else{ea(I|0,0|0,4,0);Cn(N,I)|0;d=da(I|0,4,0,0)|0|0;y=(d|0)>0;d=y?d:0;ea(P+444|0,(y?74:0)|0,4,0);ea(P+448|0,(y?P:0)|0,4,0);ea(k|0,0|0,4,0);ea(P+492|0,d|0,4,0)}It(a,31968,d,((d|0)<0)<<31>>31);break a}}while(0)}else{g=da(h|0,4,0,0)|0|0;if(g){ea(I|0,g|0,4,0);sh(a,10344,I);Vc(da(h|0,4,0,0)|0|0)}y=a+64|0;ea(y|0,(da(y|0,4,0,0)|0|0)+1|0,4,0);ea(a+12|0,b|0,4,0);break}}while(0);lg(P,O);lg(P,N)}}while(0);i=Q;return}function Fr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;a:do if(!b)b=0;else{d=b;while(1){if((da(d>>0|0,1,0,0)|0|0)==-121){b=da(a|0,4,0,0)|0|0;if(!(da((da(b|0,4,0,0)|0|0)+145>>0|0,1,0,0)|0))break;ea(d>>0|0,101|0,1,0)}b=da(d+4|0,4,0,0)|0|0;if(b&16384){b=0;break a}c=d+20|0;if(!(b&2048)){if(Gr(a,da(c|0,4,0,0)|0|0)|0){b=1;break a}}else if(er(a,da(c|0,4,0,0)|0|0)|0){b=1;break a}if(Fr(a,da(d+16|0,4,0,0)|0|0)|0){b=1;break a}d=da(d+12|0,4,0,0)|0|0;if(!d){b=0;break a}}ea(e|0,da(a+16|0,4,0,0)|0|0,4,0);sh(b,29984,e);b=1}while(0);i=f;return b|0}function Gr(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if((b|0)!=0?(da(b|0,4,0,0)|0|0)>0:0){c=0;d=da(b+4|0,4,0,0)|0|0;while(1){if(Fr(a,da(d|0,4,0,0)|0|0)|0){c=1;break a}c=c+1|0;if((c|0)>=(da(b|0,4,0,0)|0|0)){c=0;break}else d=d+20|0}}else c=0;while(0);return c|0}function Hr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;wh(a,vh(a,122,b,0,0)|0,c,-1);c=da((da(a|0,4,0,0)|0|0)+20|0,4,0,0)|0|0;if((c|0)>0){d=a+96|0;b=da(d|0,4,0,0)|0|0;a=0;do{b=b|1<>16|0,2,0)}c=(Qt(a,c)|0)==0;return (c?d:0)|0}function Jr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();l=m;a:do if((b|0)!=0?(e=da(a+12|0,4,0,0)|0|0,(da(b|0,4,0,0)|0|0)>0):0){f=a+8|0;g=a+4|0;h=0;k=b+8|0;while(1){if(!(da(f|0,4,0,0)|0)){d=k+4|0;c=da(d|0,4,0,0)|0|0;if((c|0)!=0?(cd(c,e)|0)!=0:0)break;lg(da(da(a|0,4,0,0)|0|0,4,0,0)|0|0,c);ea(d|0,0|0,4,0);ea(k|0,da(g|0,4,0,0)|0|0,4,0)}if(er(a,da(k+20|0,4,0,0)|0|0)|0){c=1;break a}if(Fr(a,da(k+44|0,4,0,0)|0|0)|0){c=1;break a}h=h+1|0;if((h|0)>=(da(b|0,4,0,0)|0|0)){c=0;break a}else k=k+72|0}b=da(a|0,4,0,0)|0|0;k=da(a+20|0,4,0,0)|0|0;ea(l|0,da(a+16|0,4,0,0)|0|0,4,0);ea(l+4|0,k|0,4,0);ea(l+8|0,c|0,4,0);sh(b,29936,l);c=1}else c=0;while(0);i=m;return c|0}function Kr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;c=da(a|0,4,0,0)|0|0;if((((da(c+145>>0|0,1,0,0)|0|0)==0?(da(a+18>>0|0,1,0,0)|0|0)==0:0)?((da(c+24|0,4,0,0)|0)&2048|0)==0:0)?(Ec(b,25568,7)|0)==0:0){ea(d|0,b|0,4,0);sh(a,28440,d);c=1}else c=0;i=e;return c|0}function Lr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+16|0;if((i|0)>=(j|0))ba();s=t;do if(b){p=c&1;r=(d|0)!=0;if(r){e=da(d|0,4,0,0)|0|0;n=32768}else{e=Rt(b,c)|0;e=lh(a,e,((e|0)<0)<<31>>31)|0;n=0}ea(s|0,e|0,4,0);if(e){h=(p|0)==0;if(!h)if(!(da(b+12|0,4,0,0)|0))m=(da(b+20|0,4,0,0)|0|0)==0?16396:8220;else m=8220;else m=48;o=m&60;q=b+4|0;k=da(q|0,4,0,0)|0|0;if((k&1024|0)==0?(f=da(b+8|0,4,0,0)|0|0,(f|0)!=0):0){g=f;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;l=(g-f&1073741823)+1|0}else l=0;if(h){if(!(k&16384))g=(k&8192|0)==0?48:28;else g=12;jw(e|0,b|0,g|0)|0;ew(e+g|0,0,48-g|0)|0}else jw(e|0,b|0,o|0)|0;k=e+4|0;f=m&24576|n|(da(k|0,4,0,0)|0)&-122881;ea(k|0,f|0,4,0);if(l){f=e+o|0;ea(e+8|0,f|0,4,0);jw(f|0,da(b+8|0,4,0,0)|0|0,l|0)|0;f=da(k|0,4,0,0)|0|0}g=da(q|0,4,0,0)|0|0;do if(!((f|g)&16384)){f=b+20|0;if(!(g&2048)){ea(e+20|0,Or(a,da(f|0,4,0,0)|0|0,p)|0|0,4,0);break}else{ea(e+20|0,fr(a,da(f|0,4,0,0)|0|0,p)|0|0,4,0);break}}while(0);f=da(k|0,4,0,0)|0|0;if(!(f&24576)){if((da(q|0,4,0,0)|0)&16384)break;ea(e+12|0,Lr(a,da(b+12|0,4,0,0)|0|0,0,0)|0|0,4,0);ea(e+16|0,Lr(a,da(b+16|0,4,0,0)|0|0,0,0)|0|0,4,0);break}p=St(b,c)|0;ea(s|0,(da(s|0,4,0,0)|0|0)+p|0,4,0);if(f&8192){ea(e+12|0,Lr(a,da(b+12|0,4,0,0)|0|0,1,s)|0|0,4,0);ea(e+16|0,Lr(a,da(b+16|0,4,0,0)|0|0,1,s)|0|0,4,0)}if(r)ea(d|0,da(s|0,4,0,0)|0|0,4,0)}}else e=0;while(0);i=t;return e|0}function Mr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:do if((b|0)!=0?(c=lh(a,8,0)|0,(c|0)!=0):0){f=b+4|0;ea(c+4|0,da(f|0,4,0,0)|0|0,4,0);d=lh(a,(da(f|0,4,0,0)|0)<<3,0)|0;ea(c|0,d|0,4,0);if(!d){lg(a,c);c=0;break}if((da(f|0,4,0,0)|0|0)>0){e=0;while(1){g=da(b|0,4,0,0)|0|0;ea(d+(e<<3)|0,jh(a,da(g+(e<<3)|0,4,0,0)|0|0)|0|0,4,0);ea(d+(e<<3)+4|0,da(g+(e<<3)+4|0,4,0,0)|0|0,4,0);e=e+1|0;if((e|0)>=(da(f|0,4,0,0)|0|0))break a;d=da(c|0,4,0,0)|0|0}}}else c=0;while(0);return c|0}function Nr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=c+4|0;e=(da(d|0,4,0,0)|0|0)+40|0;a=lh(a,e,0)|0;if(a){ew(a|0,0,e|0)|0;e=a+40|0;jw(e|0,da(c|0,4,0,0)|0|0,da(d|0,4,0,0)|0|0)|0;ea(a+12|0,e|0,4,0);ea(a+16|0,da(d|0,4,0,0)|0|0,4,0);ea(a>>0|0,b|0,1,0)}return a|0}function Or(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;do if((b|0)!=0?(d=lh(a,8,0)|0,(d|0)!=0):0){e=da(b|0,4,0,0)|0|0;ea(d|0,e|0,4,0);if(!(c&1)){f=da(b|0,4,0,0)|0|0;e=1;while(1)if((e|0)<(f|0))e=e<<1;else break}e=lh(a,e*20|0,0)|0;ea(d+4|0,e|0,4,0);if(!e){lg(a,d);d=0;break}if((da(b|0,4,0,0)|0|0)>0){g=0;f=da(b+4|0,4,0,0)|0|0;while(1){ea(e|0,Lr(a,da(f|0,4,0,0)|0|0,c,0)|0|0,4,0);ea(e+4|0,jh(a,da(f+4|0,4,0,0)|0|0)|0|0,4,0);ea(e+8|0,jh(a,da(f+8|0,4,0,0)|0|0)|0|0,4,0);ea(e+12>>0|0,da(f+12>>0|0,1,0,0)|0|0|0,1,0);i=e+13|0;h=da(i>>0|0,1,0,0)|0|0;ea(i>>0|0,h&-2|0,1,0);ea(i>>0|0,(da(f+13>>0|0,1,0,0)|0)&2|h&-4|0,1,0);ea(e+16|0,da(f+16|0,4,0,0)|0|0,4,0);g=g+1|0;if((g|0)>=(da(b|0,4,0,0)|0|0))break;else{e=e+20|0;f=f+20|0}}}}else d=0;while(0);return d|0}function Pr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();h=n;k=da(a|0,4,0,0)|0|0;e=da(b+20|0,4,0,0)|0|0;a:do if(e){d=da(k+20|0,4,0,0)|0|0;if((d|0)>0){c=da(k+16|0,4,0,0)|0|0;g=0;while(1){f=g+1|0;if((da(c+(g<<4)+12|0,4,0,0)|0|0)==(e|0)){f=g;break a}if((f|0)<(d|0))g=f;else break}}else f=0}else f=-1e6;while(0);c=an((da(b+24|0,4,0,0)|0|0)+8|0,da(b+4|0,4,0,0)|0|0,h)|0;if(!c)e=0;else e=da(c+8|0,4,0,0)|0|0;c=da((da(k+16|0,4,0,0)|0|0)+(f<<4)|0,4,0,0)|0|0;d=(f|0)==1;if((((Rq(a,d?14:16,da(b|0,4,0,0)|0|0,da(e|0,4,0,0)|0|0,c)|0)==0?(Rq(a,9,d?13184:13208,0,c)|0)==0:0)?(l=Nq(a)|0,(l|0)!=0):0)?(m=da(a+408|0,4,0,0)|0|0,zr(a,f),m=((m|0)==0?a:m)+328|0,ea(m|0,da(m|0,4,0,0)|0|1<=(j|0))ba();h=p;n=da(a|0,4,0,0)|0|0;ea(h+0|0,0|0,4,0);ea(h+4|0,0|0,4,0);ea(h+8|0,0|0,4,0);ea(h+12|0,0|0,4,0);ea(h+16|0,0|0,4,0);ea(h+20|0,0|0,4,0);ea(h+24|0,0|0,4,0);ea(h+28|0,0|0,4,0);ea(h|0,a|0,4,0);do if(e)if((da(e>>0|0,1,0,0)|0|0)!=27)if(!(ks(h,e)|0)){o=5;break}else{o=13;break}else{ea(e>>0|0,97|0,1,0);o=5;break}else o=5;while(0);a:do if((o|0)==5){do if(f)if((da(f>>0|0,1,0,0)|0|0)!=27)if(!(ks(h,f)|0))break;else{o=13;break a}else{ea(f>>0|0,97|0,1,0);break}while(0);do if(g)if((da(g>>0|0,1,0,0)|0|0)!=27)if(!(ks(h,g)|0))break;else{o=13;break a}else{ea(g>>0|0,97|0,1,0);break}while(0);if(d){if((da(d>>0|0,1,0,0)|0|0)==97)d=da(d+8|0,4,0,0)|0|0;else d=0;if(Rq(a,b,d,0,0)|0)break}m=Nq(a)|0;h=a+60|0;d=da(h|0,4,0,0)|0|0;k=a+56|0;l=da(k|0,4,0,0)|0|0;if((l|0)<4){l=a+72|0;d=da(l|0,4,0,0)|0|0;ea(l|0,d+4|0,4,0);d=d+1|0}else{ea(h|0,d+4|0,4,0);ea(k|0,l+-4|0,4,0)}Qq(a,e,d);Qq(a,f,d+1|0);Qq(a,g,d+2|0);if(m){d=d+3|0;vh(m,1,0,d-(da(c|0,2,0,0)|0|0)|0,d)|0;d=da(m+4|0,4,0,0)|0|0;if(d)ea(d+(((da(m+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,da(c|0,2,0,0)|0|0,1,0);wh(m,-1,c,-5);vh(m,144,(b|0)==24&1,0,0)|0}}while(0);if((o|0)==13){c=a+64|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0)}Fk(n,e);Fk(n,f);Fk(n,g);i=p;return}function Rr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;e=k+4|0;f=da(a|0,4,0,0)|0|0;a:do if(!(Fn(a)|0)){if(!b){Tt(a,0);break}if(!((c|0)!=0?(da(c|0,4,0,0)|0|0)!=0:0))d=6;do if((d|0)==6){d=Vq(da(a|0,4,0,0)|0|0,b)|0;if(!d)break a;if(!(Xn(f,da(f+62>>0|0,1,0,0)|0|0,d,0)|0)){lg(f,d);break}else{Tt(a,d);lg(f,d);break a}}while(0);b=dr(a,b,c,e)|0;if((b|0)>=0?(g=Vq(f,da(e|0,4,0,0)|0|0)|0,(g|0)!=0):0){c=da((da(f+16|0,4,0,0)|0|0)+(b<<4)|0,4,0,0)|0|0;d=Zh(f,g,c)|0;if(d){Ut(a,d,0);lg(f,g);break}c=aq(f,g,c)|0;lg(f,g);if(!c){sh(a,28872,h);break}else{d=da(a+408|0,4,0,0)|0|0;zr(a,b);d=((d|0)==0?a:d)+328|0;ea(d|0,da(d|0,4,0,0)|0|1<=(j|0))ba();e=g;f=da(a|0,4,0,0)|0|0;if(!(Fn(a)|0)){do if(!b){b=f+20|0;d=da(b|0,4,0,0)|0|0;if((d|0)>0){c=0;do{if((c|0)!=1){Vt(a,c);d=da(b|0,4,0,0)|0|0}c=c+1|0}while((c|0)<(d|0))}}else{if(da(c+4|0,4,0,0)|0){d=dr(a,b,c,e)|0;if((d|0)<=-1)break;d=da((da(f+16|0,4,0,0)|0|0)+(d<<4)|0,4,0,0)|0|0;b=Vq(f,da(e|0,4,0,0)|0|0)|0;if(!b)break;c=aq(f,b,d)|0;if(!c){d=rh(a,0,b,d)|0;if(d)Wt(a,d,0)}else Wt(a,da(c+12|0,4,0,0)|0|0,c);lg(f,b);break}c=Vq(f,b)|0;d=Uh(f,c)|0;lg(f,c);if((d|0)>-1){Vt(a,d);break}c=Vq(f,b)|0;if(c){d=aq(f,c,0)|0;if(!d){d=rh(a,0,c,0)|0;if(d)Wt(a,d,0)}else Wt(a,da(d+12|0,4,0,0)|0|0,d);lg(f,c)}}while(0);d=Nq(a)|0;if(d)vh(d,144,0,0,0)|0}i=g;return}function Tr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=da(c|0,4,0,0)|0|0;if(!e)d=c+4|0;else{h=da(a|0,4,0,0)|0|0;f=da(h+20|0,4,0,0)|0|0;h=da(h+16|0,4,0,0)|0|0;a:do if((f|0)>0){g=0;while(1){d=g+1|0;if((da(h+(g<<4)+12|0,4,0,0)|0|0)==(e|0)){d=g;break a}if((d|0)<(f|0))g=d;else break}}else d=0;while(0);d=h+(d<<4)|0}return rh(a,b,da(c+8|0,4,0,0)|0|0,da(d|0,4,0,0)|0|0)|0}function Ur(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;if(b){c=b;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;if((c-b&1073741823)>>>0>6?(Ec(b,25568,7)|0)==0:0){ea(d|0,b|0,4,0);sh(a,25576,d);c=1}else c=0}else c=0;i=e;return c|0}function Vr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;if(!b){ea(d|0,c|0,4,0);a=th(a,25992,d)|0}else{ea(d|0,b|0,4,0);ea(d+4|0,c|0,4,0);d=th(a,26e3,d)|0;lg(a,b);a=d}i=e;return a|0}function Wr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;d=da(a|0,4,0,0)|0|0;e=da((da(d+16|0,4,0,0)|0|0)+28|0,4,0,0)|0|0;if((da(b+68|0,4,0,0)|0|0)!=(e|0)?(c=zs(a,b)|0,(c|0)!=0):0){b=c;c=0;do{if((da(b+20|0,4,0,0)|0|0)==(e|0))c=Vr(d,c,da(b|0,4,0,0)|0|0)|0;b=da(b+32|0,4,0,0)|0|0}while((b|0)!=0);if(c){b=da(a|0,4,0,0)|0|0;ea(f|0,c|0,4,0);b=th(b,25968,f)|0;lg(da(a|0,4,0,0)|0|0,c);c=b}else c=0}else c=0;i=g;return c|0}function Xr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();m=p;n=Nq(a)|0;if(n){d=da(a|0,4,0,0)|0|0;g=da(b+68|0,4,0,0)|0|0;a:do if(g){h=da(d+20|0,4,0,0)|0|0;if((h|0)>0){e=da(d+16|0,4,0,0)|0|0;f=0;while(1){d=f+1|0;if((da(e+(f<<4)+12|0,4,0,0)|0|0)==(g|0))break a;if((d|0)<(h|0))f=d;else{f=d;break}}}else f=0}else f=-1e6;while(0);d=zs(a,b)|0;if(d)do{e=da(a|0,4,0,0)|0|0;k=da(d+20|0,4,0,0)|0|0;b:do if(k){l=da(e+20|0,4,0,0)|0|0;if((l|0)>0){h=da(e+16|0,4,0,0)|0|0;g=0;while(1){e=g+1|0;if((da(h+(g<<4)+12|0,4,0,0)|0|0)==(k|0)){e=g;break b}if((e|0)<(l|0))g=e;else break}}else e=0}else e=-1e6;while(0);l=da(d|0,4,0,0)|0|0;wh(n,vh(n,126,e,0,0)|0,l,0);d=da(d+32|0,4,0,0)|0|0}while((d|0)!=0);d=da(b|0,4,0,0)|0|0;wh(n,vh(n,124,f,0,0)|0,d,0);d=da(a|0,4,0,0)|0|0;ea(m|0,c|0,4,0);d=th(d,25952,m)|0;if((d|0)!=0?(Hr(n,f,d),o=Wr(a,b)|0,(o|0)!=0):0)Hr(n,1,o)}i=p;return}
function fh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,aa=0,ca=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,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,jc=0,mc=0,nc=0,pc=0,rc=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,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,dd=0,ed=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0;he=i;i=i+1040|0;if((i|0)>=(j|0))ba();de=he+400|0;Mc=he+792|0;Yc=he+392|0;Uc=he+788|0;Ld=he+320|0;dd=he+784|0;id=he+780|0;jd=he+280|0;Gd=he+680|0;Tc=he+240|0;Jd=he+200|0;Sc=he+676|0;Pc=he+672|0;Hd=he+160|0;Nc=he+644|0;md=he+152|0;Cd=he+112|0;_c=he+640|0;Ed=he+636|0;Qc=he+632|0;nd=he+628|0;td=he+624|0;pd=he+604|0;ud=he+600|0;hd=he+596|0;qd=he+576|0;Lc=he+840|0;vd=he+572|0;Id=he+104|0;wd=he+568|0;Wc=he+564|0;Xc=he+96|0;Kd=he+88|0;xd=he+560|0;yd=he+556|0;zd=he+552|0;rd=he+532|0;sd=he+512|0;Zc=he+508|0;od=he+504|0;Rc=he+488|0;Fd=he+48|0;Oc=he+456|0;Kc=he+444|0;Dd=he+8|0;ld=he+440|0;Bd=he+412|0;Ad=he;rc=a+4|0;f=da(rc|0,4,0,0)|0|0;ee=da(a|0,4,0,0)|0|0;Cc=da(ee+62>>0|0,1,0,0)|0|0;Gc=a+8|0;p=da(Gc|0,4,0,0)|0|0;ge=ee+32|0;c=ge;d=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;fe=a+80|0;a:do if((da(fe|0,4,0,0)|0|0)==7){o=ee+65|0;p=a+44|0;e=d;b=0;g=0;d=0;be=1317}else{ea(fe|0,0|0,4,0);Yd=a+136|0;ea(Yd|0,0|0,4,0);ea(Yd+4|0,0|0,4,0);Yd=a+20|0;ea(Yd|0,0|0,4,0);ea(ee+452|0,0|0,4,0);vc=ee+240|0;b:do if(!(da(vc|0,4,0,0)|0)){Wd=ee+292|0;if(da(Wd|0,4,0,0)|0){e=da(a+124|0,4,0,0)|0|0;b=ee+300|0;o=da(b|0,4,0,0)|0|0;if(!e)pc=b;else{pc=b;o=(e>>>0)%(o>>>0)|0}}else{pc=ee+300|0;o=0}ae=a+76|0;$d=ee+65|0;Sd=ee+296|0;lb=a+176|0;mb=a+184|0;nb=a+92|0;ob=ee+80|0;pb=ee+84|0;qb=Cc&255;rb=Cc<<24>>24==1;sb=ee+88|0;tb=a+60|0;Td=a+144|0;_d=a+86|0;ce=a+44|0;ub=a+12|0;vb=Nc+4|0;wb=Nc+16|0;xb=Nc+12|0;yb=Nc+25|0;zb=Nc+20|0;Ab=a+200|0;Bb=a+56|0;Ud=a+72|0;Cb=Cd+16|0;Db=Cd+8|0;Eb=Cd+24|0;Fb=a+87|0;Vd=ee+156|0;Gb=ee+500|0;Hb=ee+496|0;Zd=ee+63|0;Ib=ee+488|0;Jb=ee+504|0;Kb=ee+512|0;Lb=ee+70|0;Mb=ee+24|0;Nb=ee+20|0;Qd=ee+16|0;Ob=ee+4|0;Rd=a+88|0;Pb=a+104|0;Qb=a+152|0;Rb=a+160|0;Sb=ee+152|0;Tb=ee+64|0;Ub=pd+4|0;Vb=pd+6|0;Wb=pd+8|0;Xb=qd+4|0;Yb=qd+8|0;Zb=ee+212|0;_b=ee+208|0;bc=a+116|0;cc=rd+4|0;dc=rd+6|0;ec=rd+8|0;fc=Tc+8|0;gc=Tc+32|0;hc=Tc+24|0;jc=Tc+16|0;mc=Tc+12|0;nc=sd+4|0;O=sd+6|0;P=sd+8|0;Q=jd+8|0;R=jd+32|0;S=jd+24|0;T=jd+12|0;U=jd+16|0;V=ee+164|0;W=Rc+8|0;X=Rc+4|0;Y=ee+145|0;aa=Rc+12|0;ca=Ld+4|0;ga=Ld+12|0;ha=Ld+16|0;ia=Ld+20|0;ja=Ld+24|0;ka=Ld+28|0;la=Ld+8|0;ma=Ld+40|0;na=Ld+44|0;oa=Ld+48|0;pa=Ld+52|0;qa=Ld+56|0;ra=Ld+60|0;sa=Ld+64|0;ta=Ld+65|0;ua=ee+128|0;va=a+28|0;wa=a+36|0;xa=a+32|0;ya=a+196|0;za=Oc+4|0;Aa=Oc+8|0;Ba=Fd+8|0;Ca=Fd+32|0;Da=Fd+24|0;Ea=Oc+20|0;Fa=Oc+12|0;Ga=Oc+16|0;Ha=Oc+24|0;Ia=Kc+8|0;Ja=Kc+4|0;Ka=ee+148|0;La=ee+176|0;Ma=ee+72|0;Na=ee+67|0;Oa=Mc+20|0;Pa=Mc+24|0;Qa=Mc+4|0;Ra=Mc+16|0;Sa=ee+304|0;Ta=ee+328|0;Ua=Dd+32|0;Va=Dd+8|0;Wa=Dd+24|0;Xa=ee+308|0;Ya=Bd+20|0;Za=ee+69|0;Xd=a+168|0;_a=jd+4|0;$a=jd+8|0;ab=jd+12|0;bb=jd+16|0;cb=jd+20|0;db=jd+24|0;eb=jd+25|0;fb=ee+180|0;gb=Hd+32|0;hb=Hd+8|0;ib=Hd+12|0;jb=Hd+16|0;kb=Hd+24|0;K=0;L=0;b=0;h=0;g=da(ae|0,4,0,0)|0|0;n=0;c:while(1){e=d;d:while(1){if(da($d>>0|0,1,0,0)|0){o=$d;p=ce;d=n;be=1317;break a}d=b+1|0;if(!((da(f+(g*20|0)+2>>0|0,1,0,0)|0)&2))A=h;else{h=da(f+(g*20|0)+8|0,4,0,0)|0|0;b=p+(h*40|0)|0;h=p+(h*40|0)+8|0;if((da(h|0,2,0,0)|0)&9312)ug(b);ea(h|0,4|0,2,0);A=b}s=f+(g*20|0)|0;y=da(s>>0|0,1,0,0)|0|0;h=y&255;e:do switch(h|0){case 20:{b=d;d=e;be=24;break d}case 21:{b=d;d=e;h=A;be=25;break d}case 22:{b=d;d=e;h=A;be=26;break d}case 29:{b=d;d=e;e=g;be=65;break d}case 30:{b=d;d=e;h=A;e=g;be=66;break d}case 28:{b=d;d=e;h=A;e=g;be=60;break d}case 32:{b=d;d=e;e=g;be=72;break d}case 17:{b=d;d=e;h=A;be=22;break d}case 18:{b=d;d=e;h=A;be=23;break d}case 23:{b=d;d=e;h=A;e=g;be=27;break d}case 24:{b=d;d=e;h=A;e=g;be=28;break d}case 25:{b=d;d=e;h=A;e=g;be=44;break d}case 26:{b=d;d=e;h=A;e=g;be=45;break d}case 133:{b=d;d=e;h=A;e=g;be=46;break d}case 97:{ea(s>>0|0,27|0,1,0);s=f+(g*20|0)+16|0;l=da(s|0,4,0,0)|0|0;if(!l)b=0;else{b=l;while(1)if(!(da(b>>0|0,1,0,0)|0))break;else b=b+1|0;b=b-l&1073741823}m=f+(g*20|0)+4|0;ea(m|0,b|0,4,0);if(rb)h=0;else{h=Wg(A,l,-1,1,0)|0;if((h|0)==18){b=d;d=e;h=n;be=1316;break c}if(Xl(A,qb)|0){o=$d;p=ce;b=d;d=n;be=1317;break a}ea(A+24|0,0|0,4,0);b=A+8|0;ea(b|0,da(b|0,2,0,1)|0|2048|0,2,0);b=f+(g*20|0)+1|0;if((da(b>>0|0,1,0,0)|0|0)==-1)lg(ee,da(s|0,4,0,0)|0|0);ea(b>>0|0,-1|0,1,0);l=da(A+16|0,4,0,0)|0|0;ea(s|0,l|0,4,0);b=da(A+12|0,4,0,0)|0|0;ea(m|0,b|0,4,0)}if((b|0)>(da(sb|0,4,0,0)|0|0)){b=d;d=e;h=n;be=1316;break c}else be=57;break}case 31:{b=d;d=e;h=A;e=g;be=67;break d}case 34:{b=d;d=e;e=g;be=79;break d}case 35:{b=d;d=e;h=n;be=80;break c}case 33:{b=d;d=e;be=74;break d}case 94:{b=d;d=e;be=94;break d}case 93:case 92:case 91:case 90:case 89:{b=d;F=s;d=e;e=g;be=112;break d}case 27:{l=da(f+(g*20|0)+16|0,4,0,0)|0|0;b=da(f+(g*20|0)+4|0,4,0,0)|0|0;h=0;be=57;break}case 16:{g=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;h=0;be=19;break}case 36:{b=d;d=e;y=A;e=g;be=166;break d}case 1:{J=da(f+(g*20|0)+3>>0|0,1,0,0)|0|0;s=J&255;q=da(ub|0,4,0,0)|0|0;b=p+((da(f+(g*20|0)+12|0,4,0,0)|0|0)*40|0)|0;ea(Nc|0,b|0,4,0);if(J<<24>>24){b=0;h=p+((da(f+(g*20|0)+8|0,4,0,0)|0|0)*40|0)|0;while(1){ea(q+(b<<2)|0,h|0,4,0);if(((da(h+8|0,2,0,0)|0)&4096)!=0?(Ul(h)|0)!=0:0){o=$d;p=ce;b=d;d=n;be=1317;break a}b=b+1|0;if((b|0)>=(s|0))break;else h=h+40|0}b=da(Nc|0,4,0,0)|0|0}J=da(f+(g*20|0)+16|0,4,0,0)|0|0;ea(vb|0,J|0,4,0);ea(wb|0,g|0,4,0);ea(xb|0,a|0,4,0);I=b+8|0;ea(I|0,(da(I|0,2,0,1)|0)&48640|1|0,2,0);ea(yb>>0|0,0|0,1,0);I=ge;ea(I|0,e|0,4,0);ea(I+4|0,c|0,4,0);lc[(fa(da(J+12|0,4,0,0)|0|0,63|0)|0)&63](Nc,s,q);c=ge;e=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;if(!(da(yb>>0|0,1,0,0)|0))b=0;else{if(!(da(zb|0,4,0,0)|0))b=0;else{ea(de|0,Rg(da(Nc|0,4,0,0)|0|0,1)|0|0,4,0);ch(ce,ee,10344,de);b=da(zb|0,4,0,0)|0|0}dm(a,g,da(f+(g*20|0)+4|0,4,0,0)|0|0)}Xl(da(Nc|0,4,0,0)|0|0,qb)|0;m=da(Nc|0,4,0,0)|0|0;l=da(m+8|0,2,0,1)|0|0;if(l&18){h=da(m+12|0,4,0,0)|0|0;if(l&16384)h=(da(m|0,4,0,0)|0|0)+h|0;if((h|0)>(da((da(m+32|0,4,0,0)|0|0)+88|0,4,0,0)|0|0)){b=d;d=e;h=n;be=1316;break c}else{s=A;H=g;h=b}}else{s=A;H=g;h=b}break}case 88:case 87:case 86:case 85:{b=d;w=s;d=e;e=g;be=184;break d}case 39:{b=d;d=e;y=A;e=g;be=208;break d}case 37:{b=d;d=e;h=A;e=g;be=202;break d}case 38:{b=d;d=e;y=A;e=g;be=203;break d}case 83:case 80:case 81:case 82:case 78:case 79:{b=d;x=y;d=e;h=A;be=213;break d}case 40:{J=da(f+(g*20|0)+4|0,4,0,0)|0|0;b=p+(J*40|0)|0;if(!((da(p+(J*40|0)+8|0,2,0,0)|0)&16384))h=0;else h=Qg(b)|0;fm(b,(da(f+(g*20|0)+8|0,4,0,0)|0)&255,Cc);s=A;H=g;break}case 41:{b=d;d=e;h=A;e=g;be=248;break d}case 42:{b=d;d=e;h=A;e=g;be=249;break d}case 43:{b=d;d=e;h=A;be=256;break d}case 71:case 72:{b=d;d=e;e=g;be=261;break d}case 76:{b=d;d=e;h=A;e=g;be=286;break d}case 19:{b=d;d=e;e=g;be=268;break d}case 96:{b=d;d=e;e=g;be=273;break d}case 44:{b=d;d=e;h=A;e=g;be=278;break d}case 46:case 45:{b=d;d=e;h=A;e=g;be=281;break d}case 77:{b=d;d=e;h=A;e=g;be=288;break d}case 47:{b=d;d=e;h=A;be=290;break d}case 48:{b=d;d=e;h=A;e=g;be=368;break d}case 49:{b=d;d=e;be=371;break d}case 50:{u=da(da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0,4,0,0)|0|0;f:do if(da(u+60|0,4,0,0)|0){b=pm(u)|0;if(!b){z=u+76|0;w=u+44|0;v=u+72|0;l=0;h=0;g:while(1){s=da(z|0,2,0,0)|0|0;y=da(u+(s<<16>>16<<2)+120|0,4,0,0)|0|0;if(!(da(y+5>>0|0,1,0,0)|0)){if(!(da(y+2>>0|0,1,0,0)|0)){l=iw(da(y+18|0,2,0,1)|0|0,0,l|0,h|0)|0;h=C}}else{l=iw(da(y+18|0,2,0,1)|0|0,0,l|0,h|0)|0;h=C;while(1){if(!(s<<16>>16))break g;if(y){Ag(da(y+68|0,4,0,0)|0|0);s=da(z|0,2,0,0)|0|0}s=s+-1<<16>>16;ea(z|0,s|0,2,0);ea(w|0,0|0,2,0);ea(v>>0|0,(da(v>>0|0,1,0,1)|0)&249|0,1,0);y=s<<16>>16;q=u+(y<<1)+78|0;x=da(q|0,2,0,0)|0|0;y=da(u+(y<<2)+120|0,4,0,0)|0|0;if((x&65535)<(da(y+18|0,2,0,1)|0|0)){s=x;break}}ea(q|0,s+1<<16>>16|0,2,0);y=da(z|0,2,0,0)|0|0;s=y;y=da(u+(y<<16>>16<<2)+120|0,4,0,0)|0|0}s=da(u+(s<<16>>16<<1)+78|0,2,0,0)|0|0;q=da(y+56|0,4,0,0)|0|0;if(s<<16>>16==(da(y+18|0,2,0,0)|0|0)){b=da(y+6>>0|0,1,0,1)|0|0;b=qm(u,(da(q+(b+9)>>0|0,1,0,1)|0)<<16|(da(q+(b+8)>>0|0,1,0,1)|0)<<24|(da(q+(b+10)>>0|0,1,0,1)|0)<<8|(da(q+(b+11)>>0|0,1,0,1)|0))|0}else{b=(s&65535)<<1;J=da(y+64|0,4,0,0)|0|0;b=((da(J+b>>0|0,1,0,1)|0)<<8|(da(J+(b|1)>>0|0,1,0,1)|0))&(da(y+20|0,2,0,1)|0);b=qm(u,(da(q+(b+1)>>0|0,1,0,1)|0)<<16|(da(q+b>>0|0,1,0,1)|0)<<24|(da(q+(b+2)>>0|0,1,0,1)|0)<<8|(da(q+(b+3)>>0|0,1,0,1)|0))|0}if(b){l=0;h=0;break f}}b=pm(u)|0}else{l=0;h=0}}else{b=0;l=0;h=0}while(0);s=A;ea(s|0,l|0,4,0);ea(s+4|0,h|0,4,0);s=A;H=g;h=b;break}case 2:{E=da(f+(g*20|0)+4|0,4,0,0)|0|0;l=da(f+(g*20|0)+16|0,4,0,0)|0|0;if(!E){b=d;d=e;e=g;be=446;break d}b=da(Ib|0,4,0,0)|0|0;if(!b){f=l;b=d;d=e;h=n;be=460;break c}else h=0;while(1){if(!(cd(da(b|0,4,0,0)|0|0,l)|0)){B=b;break}b=da(b+24|0,4,0,0)|0|0;if(!b){f=l;b=d;d=e;h=n;be=460;break c}else h=h+1|0}w=(E|0)==1;if((da(Vd|0,4,0,0)|0|0)>0&w){b=d;d=e;h=n;be=462;break c}v=B+24|0;if(!(da(v|0,4,0,0)|0)){q=(da(Lb>>0|0,1,0,0)|0|0)!=0;if(q&w){b=sm(a,1)|0;if(b)break a;ea(Zd>>0|0,1|0,1,0);if((Ql(a)|0)==5){b=g;be=467;break c}ea(Lb>>0|0,0|0,1,0);q=1;z=h;h=da(fe|0,4,0,0)|0|0}else be=469}else{q=0;be=469}if((be|0)==469){be=0;z=(da(Hb|0,4,0,0)|0|0)-h+-1|0;if((E|0)==2){s=(da(Mb|0,4,0,0)|0|0)>>>1&1;if((da(Nb|0,4,0,0)|0|0)>0){y=s^1;x=0;while(1){h=Hl(da((da(Qd|0,4,0,0)|0|0)+(x<<4)+4|0,4,0,0)|0|0,516,y)|0;x=x+1|0;if(h){b=d;d=e;be=1318;break c}b=da(Nb|0,4,0,0)|0|0;if((x|0)>=(b|0)){be=475;break}}}}else{b=da(Nb|0,4,0,0)|0|0;s=0;be=475}if((be|0)==475){be=0;if((b|0)>0){u=0;do{h=tm(da((da(Qd|0,4,0,0)|0|0)+(u<<4)+4|0,4,0,0)|0|0,E,z)|0;u=u+1|0;if(h){b=d;d=e;be=1318;break c}}while((u|0)<(da(Nb|0,4,0,0)|0|0))}}if(!s)h=0;else{s=da(Ob|0,4,0,0)|0|0;if(s)do{J=s+88|0;ea(J|0,da(J|0,2,0,0)|0|8|0,2,0);s=da(s+52|0,4,0,0)|0|0}while((s|0)!=0);Dg(ee);ea(Mb|0,da(Mb|0,4,0,0)|0|2|0,4,0);h=0}}s=da(Ib|0,4,0,0)|0|0;if((s|0)!=(B|0))do{ea(Ib|0,da(s+24|0,4,0,0)|0|0,4,0);lg(ee,s);ea(Hb|0,(da(Hb|0,4,0,0)|0|0)+-1|0,4,0);s=da(Ib|0,4,0,0)|0|0}while((s|0)!=(B|0));if(w){ea(Ib|0,da(v|0,4,0,0)|0|0,4,0);lg(ee,B);if(q){s=A;H=g;break e}else{b=d;s=E;d=e;q=z;u=A;e=g;be=486;break d}}else{I=B+8|0;H=da(I+4|0,4,0,0)|0|0;J=Jb;ea(J|0,da(I|0,4,0,0)|0|0,4,0);ea(J+4|0,H|0,4,0);H=B+16|0;J=da(H+4|0,4,0,0)|0|0;I=Kb;ea(I|0,da(H|0,4,0,0)|0|0,4,0);ea(I+4|0,J|0,4,0);if(q){s=A;H=g;break e}else{s=E;b=d;d=e;q=z;u=A;e=g;be=488;break d}}}case 3:{h=n;be=489;break c}case 4:{l=f+(g*20|0)+8|0;b=da(l|0,4,0,0)|0|0;if((b|0)!=0?((da(Mb|0,4,0,0)|0)&33554432|0)!=0:0){b=d;d=e;h=8;be=1318;break c}x=f+(g*20|0)+4|0;y=da((da(Qd|0,4,0,0)|0|0)+((da(x|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0;if(!y){l=0;h=0;b=0}else{h=xg(y,b)|0;if((h|0)==5){b=g;be=508;break c}else if(h){b=d;d=e;be=1318;break c}do if((da(l|0,4,0,0)|0|0)!=0?((da(Rd|0,2,0,0)|0)&32)!=0:0){if((da(Zd>>0|0,1,0,0)|0|0)!=0?(da(Sb|0,4,0,0)|0|0)<=1:0){b=0;break}b=da(Pb|0,4,0,0)|0|0;if(!b){b=(da(Gb|0,4,0,0)|0|0)+1|0;ea(Gb|0,b|0,4,0);b=(da(Hb|0,4,0,0)|0|0)+b|0;ea(Pb|0,b|0,4,0)}b=rm(ee,0,b+-1|0)|0;if(!b){b=da(Pb|0,4,0,0)|0|0;J=da(y+4|0,4,0,0)|0|0;ea(J+4|0,da(y|0,4,0,0)|0|0,4,0);b=gl(da(J|0,4,0,0)|0|0,b)|0}I=Jb;H=da(I+4|0,4,0,0)|0|0;J=Qb;ea(J|0,da(I|0,4,0,0)|0|0,4,0);ea(J+4|0,H|0,4,0);H=Kb;J=da(H+4|0,4,0,0)|0|0;I=Rb;ea(I|0,da(H|0,4,0,0)|0|0,4,0);ea(I+4|0,J|0,4,0)}else b=0;while(0);l=da(y+4|0,4,0,0)|0|0;ea(l+4|0,da(y|0,4,0,0)|0|0,4,0);l=da((da(l+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;l=(da(l+41>>0|0,1,0,1)|0)<<16|(da(l+40>>0|0,1,0,1)|0)<<24|(da(l+42>>0|0,1,0,1)|0)<<8|(da(l+43>>0|0,1,0,1)|0);h=da((da((da(Qd|0,4,0,0)|0|0)+((da(x|0,4,0,0)|0)<<4)+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0}if(da(f+(g*20|0)+3>>0|0,1,0,0)|0){if((l|0)!=(da(f+(g*20|0)+12|0,4,0,0)|0|0)){b=d;f=x;d=e;h=n;be=522;break c}if((h|0)!=(da(f+(g*20|0)+16|0,4,0,0)|0|0)){b=d;f=x;d=e;h=n;be=522;break c}else{s=A;H=g;h=b}}else{s=A;H=g;h=b}break}case 53:{b=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;if((b|0)!=0?(da(b+28|0,4,0,0)|0|0)==(da(f+(g*20|0)+8|0,4,0,0)|0|0):0){l=f+(g*20|0)+3|0;h=0;be=548}else be=536;break}case 51:{b=d;d=e;h=A;e=g;be=525;break d}case 52:{q=f+(g*20|0)+4|0;b=da(q|0,4,0,0)|0|0;l=da(Qd|0,4,0,0)|0|0;s=da(f+(g*20|0)+12|0,4,0,0)|0|0;m=p+(s*40|0)|0;h=Ug(m)|0;J=m;ea(J|0,h|0,4,0);ea(J+4|0,C|0,4,0);s=p+(s*40|0)+8|0;ea(s|0,(da(s|0,2,0,1)|0)&48640|4|0,2,0);s=f+(g*20|0)+8|0;h=Cg(da(l+(b<<4)+4|0,4,0,0)|0|0,da(s|0,4,0,0)|0|0,h)|0;s=da(s|0,4,0,0)|0|0;if((s|0)==1){ea(da(l+(b<<4)+12|0,4,0,0)|0|0,da(m|0,4,0,0)|0|0,4,0);ea(Mb|0,da(Mb|0,4,0,0)|0|2|0,4,0)}else if((s|0)==2)ea((da(l+(b<<4)+12|0,4,0,0)|0|0)+76>>0|0,da(m|0,4,0,0)|0|0,1,0);if((da(q|0,4,0,0)|0|0)==1){b=da(Ob|0,4,0,0)|0|0;if(b)do{J=b+88|0;ea(J|0,da(J|0,2,0,0)|0|8|0,2,0);b=da(b+52|0,4,0,0)|0|0}while((b|0)!=0);ea(Rd|0,(da(Rd|0,2,0,0)|0)&-9|0,2,0);s=A;H=g}else{s=A;H=g}break}case 55:case 54:{be=536;break}case 57:case 56:{b=wm(a,da(f+(g*20|0)+4|0,4,0,0)|0|0,da(f+(g*20|0)+8|0,4,0,0)|0|0,-1,1)|0;if(!b){o=$d;p=ce;b=d;d=n;be=1317;break a}ea(b+25>>0|0,1|0,1,0);y=b+27|0;ea(y>>0|0,da(y>>0|0,1,0,0)|0|1|0,1,0);l=b+4|0;x=f+(g*20|0)+3|0;h=ym(da(ee|0,4,0,0)|0|0,0,ee,l,da(x>>0|0,1,0,1)|0|5,1054)|0;do if(!h){h=xg(da(l|0,4,0,0)|0|0,1)|0;if(!h){q=da(f+(g*20|0)+16|0,4,0,0)|0|0;s=da(l|0,4,0,0)|0|0;if(!q){h=xm(s,1,1,0,da(b|0,4,0,0)|0|0)|0;ea(y>>0|0,da(y>>0|0,1,0,0)|0|4|0,1,0);break}h=zm(s,nd,da(x>>0|0,1,0,1)|0|2)|0;if(!h){ea(b+8|0,q|0,4,0);h=xm(da(l|0,4,0,0)|0|0,da(nd|0,4,0,0)|0|0,1,q,da(b|0,4,0,0)|0|0)|0}ea(y>>0|0,(da(y>>0|0,1,0,0)|0)&-5|0,1,0)}}while(0);ea(y>>0|0,((da(x>>0|0,1,0,0)|0|0)!=8&1)<<3&255|(da(y>>0|0,1,0,0)|0)&-9|0,1,0);s=A;H=g;break}case 58:{b=d;d=e;be=558;break d}case 60:{b=d;d=e;h=A;be=568;break d}case 61:{b=d;d=e;h=A;e=g;be=570;break d}case 59:{b=d;d=e;h=A;e=g;be=566;break d}case 65:case 64:case 63:case 62:{b=d;z=h;d=e;e=g;be=571;break d}case 66:{b=d;d=e;h=A;e=g;be=596;break d}case 69:case 68:case 67:{b=d;w=s;d=e;h=A;be=597;break d}case 73:{b=d;d=e;h=A;e=g;be=624;break d}case 70:{l=da(f+(g*20|0)+12|0,4,0,0)|0|0;b=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;h=da(b|0,4,0,0)|0|0;ea(vd|0,0|0,4,0);l=p+(l*40|0)|0;I=da(l|0,4,0,0)|0|0;l=da(l+4|0,4,0,0)|0|0;h=Bm(h,0,I,l,0,vd)|0;J=b+48|0;ea(J|0,I|0,4,0);ea(J+4|0,l|0,4,0);ea(b+25>>0|0,0|0,1,0);ea(b+60|0,0|0,4,0);ea(b+26>>0|0,0|0,1,0);l=da(vd|0,4,0,0)|0|0;if(l)g=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;ea(b+12|0,l|0,4,0);s=A;H=g;break}case 74:{w=Id;ea(w|0,0|0,4,0);ea(w+4|0,0|0,4,0);ea(wd|0,0|0,4,0);w=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;b=da(w|0,4,0,0)|0|0;if(!b){h=0;l=0;b=0}else{z=w+27|0;do if(!((da(z>>0|0,1,0,0)|0)&2)){h=Gm(b,wd)|0;if(h){b=d;d=e;be=1318;break c}if(da(wd|0,4,0,0)|0){J=Id;ea(J|0,1|0,4,0);ea(J+4|0,0|0,4,0);break}jm(da(w|0,4,0,0)|0|0,Id);h=Id;b=da(h|0,4,0,0)|0|0;h=da(h+4|0,4,0,0)|0|0;if((b|0)==-1&(h|0)==2147483647){ea(z>>0|0,da(z>>0|0,1,0,0)|0|2|0,1,0);break}else{I=iw(b|0,h|0,1,0)|0;J=Id;ea(J|0,I|0,4,0);ea(J+4|0,C|0,4,0);break}}while(0);y=da(f+(g*20|0)+12|0,4,0,0)|0|0;if(y){b=da(lb|0,4,0,0)|0|0;if(!b)s=p;else{while(1){h=da(b+4|0,4,0,0)|0|0;if(!h)break;else b=h}s=da(b+16|0,4,0,0)|0|0}x=s+(y*40|0)|0;q=Ug(x)|0;b=C;J=x;ea(J|0,q|0,4,0);ea(J+4|0,b|0,4,0);J=s+(y*40|0)+8|0;ea(J|0,(da(J|0,2,0,1)|0)&48640|4|0,2,0);if((q|0)==-1&(b|0)==2147483647){b=d;d=e;h=13;be=1318;break c}if((da(z>>0|0,1,0,0)|0)&2){b=d;d=e;h=13;be=1318;break c}y=Id;h=da(y|0,4,0,0)|0|0;y=da(y+4|0,4,0,0)|0|0;s=iw(q|0,b|0,1,0)|0;b=C;if((y|0)<(b|0)|(y|0)==(b|0)&h>>>0>>0){J=Id;ea(J|0,s|0,4,0);ea(J+4|0,b|0,4,0)}else{s=h;b=y}J=x;ea(J|0,s|0,4,0);ea(J+4|0,b|0,4,0)}h:do if(!((da(z>>0|0,1,0,0)|0)&2))b=0;else{h=0;while(1){bd(8,Id);J=Id;J=iw(da(J|0,4,0,0)|0|0,(da(J+4|0,4,0,0)|0)&1073741823|0,1,0)|0;b=C;I=Id;ea(I|0,J|0,4,0);ea(I+4|0,b|0,4,0);b=Bm(da(w|0,4,0,0)|0|0,0,J,b,0,wd)|0;if(da(wd|0,4,0,0)|0|b)break h;h=h+1|0;if((h|0)>=100){b=d;d=e;h=13;be=1318;break c}}}while(0);ea(w+26>>0|0,0|0,1,0);ea(w+60|0,0|0,4,0);l=Id;h=da(l|0,4,0,0)|0|0;l=da(l+4|0,4,0,0)|0|0}s=A;ea(s|0,h|0,4,0);ea(s+4|0,l|0,4,0);s=A;H=g;h=b;break}case 84:case 75:{b=d;s=y;d=e;h=A;e=g;be=647;break d}case 95:{b=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;h=Im(da(b|0,4,0,0)|0|0)|0;ea(b+60|0,0|0,4,0);if((((h|0)==0?(zc=da(Zb|0,4,0,0)|0|0,(zc|0)!=0):0)?(Ac=da(f+(g*20|0)+16|0,4,0,0)|0|0,(Ac|0)!=0):0)?((da(b+27>>0|0,1,0,0)|0)&4)!=0:0){J=b+48|0;ac[(fa(zc|0,1|0)|0)&1](da(_b|0,4,0,0)|0|0,9,da((da(Qd|0,4,0,0)|0|0)+((da(b+24>>0|0,1,0,0)|0)<<4)|0,4,0,0)|0|0,Ac,da(J|0,4,0,0)|0|0,da(J+4|0,4,0,0)|0|0)}if(!((da(f+(g*20|0)+8|0,4,0,0)|0)&1)){s=A;H=g}else{ea(nb|0,(da(nb|0,4,0,0)|0|0)+1|0,4,0);s=A;H=g}break}case 98:{b=d;d=e;h=A;e=g;be=671;break d}case 99:{b=d;d=e;h=A;e=g;be=672;break d}case 100:{l=da(f+(g*20|0)+8|0,4,0,0)|0|0;s=p+(l*40|0)|0;b=da((da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;if(!(da(b+56>>0|0,1,0,0)|0)){h=da(b+36|0,4,0,0)|0|0;b=h;h=h+8|0}else{J=da(b+20|0,4,0,0)|0|0;h=da((da(J+8|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;J=da(J+12|0,4,0,0)|0|0;b=J+(h*56|0)+20|0;h=da(J+(h*56|0)+32|0,4,0,0)|0|0}b=da(b|0,4,0,0)|0|0;if(!(eh(s,b)|0)){ea(p+(l*40|0)+12|0,b|0,4,0);J=p+(l*40|0)+8|0;ea(J|0,(da(J|0,2,0,1)|0)&48640|16|0,2,0);jw(da(p+(l*40|0)+16|0,4,0,0)|0|0,h|0,b|0)|0;h=0}else h=7;ea((da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+12|0,4,0,0)|0)<<2)|0,4,0,0)|0|0)+60|0,0|0,4,0);H=g;break}case 102:case 101:{l=da(f+(g*20|0)+8|0,4,0,0)|0|0;y=p+(l*40|0)|0;q=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;s=da(q|0,4,0,0)|0|0;q=q+27|0;if((da(q>>0|0,1,0,0)|0)&4){km(s,Wc);b=da(Wc|0,4,0,0)|0|0;if(b>>>0>(da(sb|0,4,0,0)|0|0)>>>0){b=d;d=e;h=n;be=1316;break c}}else{jm(s,Xc);H=Xc;b=da(H|0,4,0,0)|0|0;H=da(H+4|0,4,0,0)|0|0;J=da(sb|0,4,0,0)|0|0;I=((J|0)<0)<<31>>31;if((H|0)>(I|0)|(H|0)==(I|0)&b>>>0>J>>>0){b=d;d=e;h=n;be=1316;break c}ea(Wc|0,b|0,4,0)}if(eh(y,b>>>0>32?b:32)|0){o=$d;p=ce;b=d;d=n;be=1317;break a}ea(p+(l*40|0)+12|0,b|0,4,0);b=p+(l*40|0)+8|0;ea(b|0,(da(b|0,2,0,1)|0)&48640|16|0,2,0);b=da(Wc|0,4,0,0)|0|0;h=da(p+(l*40|0)+16|0,4,0,0)|0|0;if(!((da(q>>0|0,1,0,0)|0)&4))h=Km(s,0,b,h,0)|0;else h=Ch(s,0,b,h)|0;ea(p+(l*40|0)+10>>0|0,1|0,1,0);s=y;H=g;break}case 103:{l=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;m=l+25|0;if(da(m>>0|0,1,0,0)|0){b=d;d=e;h=A;e=g;be=700;break d}do if(!(da(l+26>>0|0,1,0,0)|0)){b=da(l+32|0,4,0,0)|0|0;if(b){J=da(b|0,4,0,0)|0|0;h=qc[(fa(da((da(J|0,4,0,0)|0|0)+48|0,4,0,0)|0|0,127|0)|0)&127](b,Kd)|0;Lm(a,J);break}if((da((da(l|0,4,0,0)|0|0)+73>>0|0,1,0,0)|0|0)!=1){h=im(l)|0;if(h){b=d;d=e;be=1318;break c}if(da(m>>0|0,1,0,0)|0){b=d;d=e;h=A;e=g;be=708;break d}}jm(da(l|0,4,0,0)|0|0,Kd);h=0}else{I=l+48|0;h=da(I+4|0,4,0,0)|0|0;J=Kd;ea(J|0,da(I|0,4,0,0)|0|0,4,0);ea(J+4|0,h|0,4,0);h=0}while(0);J=Kd;s=da(J+4|0,4,0,0)|0|0;H=A;ea(H|0,da(J|0,4,0,0)|0|0,4,0);ea(H+4|0,s|0,4,0);s=A;H=g;break}case 108:{be=715;break}case 104:{b=d;d=e;h=A;e=g;be=711;break d}case 107:case 106:{ea(bc|0,(da(bc|0,4,0,0)|0|0)+1|0,4,0);be=715;break}case 105:{H=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;h=da(H|0,4,0,0)|0|0;ea(xd|0,0|0,4,0);h=Gm(h,xd)|0;J=da(xd|0,4,0,0)|0|0;ea(H+25>>0|0,J|0,1,0);ea(H+26>>0|0,0|0,1,0);ea(H+60|0,0|0,4,0);H=da(f+(g*20|0)+8|0,4,0,0)|0|0;s=A;H=(H|0)>0&(J|0)!=0?H+-1|0:g;break}case 7:case 6:{if(!(da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0)){b=d;d=e;G=p;H=f;I=K;J=L;h=A;e=g;break d}else be=765;break}case 5:{b=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;ea(yd|0,0|0,4,0);m=da(b+56|0,4,0,0)|0|0;if(da(m+56>>0|0,1,0,0)|0){h=Vm(da(m+20|0,4,0,0)|0|0,yd)|0;be=766;break e}h=m+36|0;l=da(h|0,4,0,0)|0|0;J=l+4|0;ea(h|0,da(J|0,4,0,0)|0|0,4,0);ea(J|0,0|0,4,0);if(!((da(m+40|0,4,0,0)|0|0)!=0|(l|0)==0))lg(ee,l);ea(yd|0,(da(h|0,4,0,0)|0|0)==0&1|0,4,0);h=0;be=766;break}case 9:case 8:{be=765;break}case 110:case 109:{q=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;G=da(f+(g*20|0)+8|0,4,0,0)|0|0;h=da(q|0,4,0,0)|0|0;s=f+(g*20|0)+3|0;if((da(s>>0|0,1,0,0)|0)&1)ea(nb|0,(da(nb|0,4,0,0)|0|0)+1|0,4,0);if(((da(p+(G*40|0)+8|0,2,0,0)|0)&16384)!=0?(Nd=Qg(p+(G*40|0)|0)|0,(Nd|0)!=0):0){b=d;d=e;f=Nd;h=n;be=1309;break c}v=da(q+56|0,4,0,0)|0|0;H=p+(G*40|0)+12|0;F=da(H|0,4,0,0)|0|0;if(!v){if(!((da(s>>0|0,1,0,0)|0)&16))b=0;else b=da(q+12|0,4,0,0)|0|0;h=Hm(h,da(p+(G*40|0)+16|0,4,0,0)|0|0,F,((F|0)<0)<<31>>31,10360,0,0,da(f+(g*20|0)+12|0,4,0,0)|0|0,b)|0;ea(q+60|0,0|0,4,0);s=A;H=g;break e}s=F;b=((F|0)<0)<<31>>31;q=0;do{q=q+1|0;s=lw(s|0,b|0,7)|0;b=C}while(((s|0)!=0|(b|0)!=0)&(q|0)<9);z=F+8|0;w=q+F|0;q=v+4|0;y=da(q|0,4,0,0)|0|0;do if(!y)h=0;else{if(!(da(v+40|0,4,0,0)|0)){s=v+44|0;x=da(s|0,4,0,0)|0|0;if((x|0)<=(y|0)?!((da(2265*4|0,4,0,0)|0|0)!=0?(x|0)>(da(v|0,4,0,0)|0|0):0):0){h=0;break}}else{J=da(v+48|0,4,0,0)|0|0;if(!((J|0)!=0&(J+z|0)>(y|0))){h=0;break}s=v+44|0}h=Nm(v)|0;ea(s|0,0|0,4,0);ea(v+48|0,0|0,4,0)}while(0);s=v+36|0;y=v+44|0;ea(y|0,(da(y|0,4,0,0)|0|0)+w|0,4,0);y=v+8|0;if((w|0)>(da(y|0,4,0,0)|0|0))ea(y|0,w|0,4,0);u=v+40|0;y=da(u|0,4,0,0)|0|0;if(!y){b=pg(z,((z|0)<0)<<31>>31)|0;if(!b){b=d;d=e;f=7;h=n;be=1309;break c}ea(b+4|0,da(s|0,4,0,0)|0|0,4,0)}else{B=v+48|0;x=da(B|0,4,0,0)|0|0;z=x+z|0;v=v+52|0;w=da(v|0,4,0,0)|0|0;if((z|0)>(w|0)){x=w;do x=x<<1;while((x|0)<(z|0));J=da(q|0,4,0,0)|0|0;x=(x|0)>(J|0)?J:x;x=(x|0)<(z|0)?z:x;y=qg(y,x,((x|0)<0)<<31>>31)|0;if(!y){b=d;d=e;f=7;h=n;be=1309;break c}q=y+((da(s|0,4,0,0)|0|0)-(da(u|0,4,0,0)|0|0))|0;ea(s|0,q|0,4,0);ea(u|0,y|0,4,0);ea(v|0,x|0,4,0);x=da(B|0,4,0,0)|0|0}else q=da(s|0,4,0,0)|0|0;ea(B|0,x+(F+15&-8)|0,4,0);ea(y+(x+4)|0,q-y|0,4,0);b=y+x|0}jw(b+8|0,da(p+(G*40|0)+16|0,4,0,0)|0|0,da(H|0,4,0,0)|0|0)|0;ea(b|0,da(H|0,4,0,0)|0|0,4,0);ea(s|0,b|0,4,0);s=A;H=g;break}case 112:{b=d;d=e;e=g;be=801;break d}case 111:{l=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;b=da(l|0,4,0,0)|0|0;ea(rd|0,da(l+8|0,4,0,0)|0|0,4,0);ea(cc|0,da(f+(g*20|0)+12|0,4,0,0)|0|0,2,0);ea(dc>>0|0,0|0,1,0);ea(ec|0,p+((da(f+(g*20|0)+8|0,4,0,0)|0|0)*40|0)|0,4,0);h=Bm(b,rd,0,0,0,zd)|0;if(!(da(zd|0,4,0,0)|0|h))h=Im(b)|0;ea(l+60|0,0|0,4,0);s=A;H=g;break}case 116:case 115:case 114:case 113:{h=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;ea(sd|0,da(h+8|0,4,0,0)|0|0,4,0);ea(nc|0,da(f+(g*20|0)+16|0,4,0,0)|0|0,2,0);ea(O>>0|0,((y&255)<115)<<31>>31|0,1,0);ea(P|0,p+((da(f+(g*20|0)+12|0,4,0,0)|0|0)*40|0)|0,4,0);J=Ld;ea(J|0,0|0,4,0);ea(J+4|0,0|0,4,0);jm(da(h|0,4,0,0)|0|0,Ld);J=Ld;b=da(J|0,4,0,0)|0|0;J=iw(b|0,da(J+4|0,4,0,0)|0|0,-1,-1)|0;I=C;if(!(I>>>0>0|(I|0)==0&J>>>0>2147483646)){ea(Q|0,0|0,2,0);ea(R|0,ee|0,4,0);ea(S|0,0|0,4,0);b=mm(da(h|0,4,0,0)|0|0,0,b,1,jd)|0;if(!b){h=Jm(da(T|0,4,0,0)|0|0,da(U|0,4,0,0)|0|0,sd,0)|0;if(((da(Q|0,2,0,0)|0)&9312)==0&(da(S|0,4,0,0)|0|0)==0)b=0;else{Pg(jd);b=0}}else h=0}else{ea(de|0,68730|0,4,0);ea(de+4|0,10788|0,4,0);ad(11,13600,de);b=11;h=0}if(((((da(s>>0|0,1,0,0)|0)&1)==0?h+1|0:0-h|0)|0)>0){s=A;H=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;h=b}else{s=A;H=g;h=b}break}case 117:{E=A+8|0;ea(E|0,1|0,2,0);if((da(Sb|0,4,0,0)|0|0)>((da(V|0,4,0,0)|0|0)+1|0)){b=d;d=e;h=n;be=832;break c}D=da(f+(g*20|0)+12|0,4,0,0)|0|0;B=da((da(Qd|0,4,0,0)|0|0)+(D<<4)+4|0,4,0,0)|0|0;F=f+(g*20|0)+4|0;x=da(F|0,4,0,0)|0|0;s=B+4|0;z=da(s|0,4,0,0)|0|0;ea(z+4|0,da(B|0,4,0,0)|0|0,4,0);ea(de|0,0|0,4,0);do if(!(da(z+8|0,4,0,0)|0)){h=cl(z,x,de,0)|0;if(!h){h=Wm(B,x,0)|0;if(h){b=da(de|0,4,0,0)|0|0;if(!b){q=0;break}Ag(da(b+68|0,4,0,0)|0|0);q=0;break}if(x>>>0<=1){b=da(de|0,4,0,0)|0|0;ol(b,9);if(!b){h=0;q=0;break}Ag(da(b+68|0,4,0,0)|0|0);h=0;q=0;break}if(!(da(z+17>>0|0,1,0,0)|0)){b=da(de|0,4,0,0)|0|0;h=Xm(da(b+52|0,4,0,0)|0|0,b,da(b+72|0,4,0,0)|0|0)|0;if(!b){q=0;break}Ag(da(b+68|0,4,0,0)|0|0);q=0;break}y=da(s|0,4,0,0)|0|0;ea(y+4|0,da(B|0,4,0,0)|0|0,4,0);y=da((da(y+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;y=(da(y+53>>0|0,1,0,1)|0)<<16|(da(y+52>>0|0,1,0,1)|0)<<24|(da(y+54>>0|0,1,0,1)|0)<<8|(da(y+55>>0|0,1,0,1)|0);s=da(de|0,4,0,0)|0|0;if((y|0)==(x|0)){h=Xm(da(s+52|0,4,0,0)|0|0,s,da(s+72|0,4,0,0)|0|0)|0;if(s)Ag(da(s+68|0,4,0,0)|0|0);if(!h)q=0;else{q=0;break}}else{if(s)Ag(da(s+68|0,4,0,0)|0|0);h=cl(z,y,Ld,0)|0;if(h){q=0;break}s=da(Ld|0,4,0,0)|0|0;h=Ym(z,s,1,0,x,0)|0;if(s)Ag(da(s+68|0,4,0,0)|0|0);if(h){q=0;break}ea(Ld|0,0|0,4,0);h=cl(z,y,Ld,0)|0;s=da(Ld|0,4,0,0)|0|0;if(h){if(!s){q=0;break}}else h=Xm(da(s+52|0,4,0,0)|0|0,s,da(s+72|0,4,0,0)|0|0)|0;Ag(da(s+68|0,4,0,0)|0|0);if(!h)q=y;else{q=0;break}}w=((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(z+32|0,4,0,0)|0|0)>>>0)|0;v=w+1|0;x=z+36|0;while(1){s=y+-1|0;if((s|0)==(v|0)){y=s;continue}if(s>>>0<2)u=0;else{u=y+-3|0;u=u-((u>>>0)%(((((da(x|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;u=((u+1|0)==(w|0)?3:2)+u|0}if((u|0)==(s|0))y=s;else break}h=Cg(B,4,s)|0}else q=0}else{h=262;q=0}while(0);ea(E|0,4|0,2,0);J=A;ea(J|0,q|0,4,0);ea(J+4|0,((q|0)<0)<<31>>31|0,4,0);if((h|0)==0&(q|0)!=0){b=d;z=D;s=F;d=e;h=A;e=g;be=865;break d}else{s=A;H=g}break}case 118:{ea(Zc|0,0|0,4,0);b=f+(g*20|0)+12|0;h=Wm(da((da(Qd|0,4,0,0)|0|0)+((da(f+(g*20|0)+8|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0,da(f+(g*20|0)+4|0,4,0,0)|0|0,(da(b|0,4,0,0)|0|0)!=0?Zc:0)|0;b=da(b|0,4,0,0)|0|0;if((b|0)!=0?(Bc=da(Zc|0,4,0,0)|0|0,ea(nb|0,(da(nb|0,4,0,0)|0|0)+Bc|0,4,0),(b|0)>0):0){s=p+(b*40|0)|0;H=s;H=iw(da(H|0,4,0,0)|0|0,da(H+4|0,4,0,0)|0|0,Bc|0,((Bc|0)<0)<<31>>31|0)|0;ea(s|0,H|0,4,0);ea(s+4|0,C|0,4,0);s=A;H=g}else{s=A;H=g}break}case 121:case 120:{ea(od|0,0|0,4,0);h=zm(da((da(Qd|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0,od,y<<24>>24==121?1:2)|0;s=da(od|0,4,0,0)|0|0;H=A;ea(H|0,s|0,4,0);ea(H+4|0,((s|0)<0)<<31>>31|0,4,0);s=A;H=g;break}case 119:{b=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;h=da(b+56|0,4,0,0)|0|0;if(h){b=d;d=e;y=A;e=g;be=878;break d}h=da(b|0,4,0,0)|0|0;s=A;H=g;h=Wm(da(h|0,4,0,0)|0|0,da(h+60|0,4,0,0)|0|0,0)|0;break}case 123:{s=A;H=g;h=$m(ee,da(f+(g*20|0)+4|0,4,0,0)|0|0)|0;break}case 124:{b=d;d=e;h=A;e=g;be=886;break d}case 122:{b=d;d=e;y=A;e=g;be=881;break d}case 126:{b=d;d=e;h=A;e=g;be=895;break d}case 125:{b=d;d=e;y=A;e=g;be=887;break d}case 127:{b=d;d=e;h=A;be=903;break d}case 128:{b=d;d=e;y=A;be=947;break d}case 129:{m=da(f+(g*20|0)+4|0,4,0,0)|0|0;l=p+(m*40|0)|0;m=p+(m*40|0)+8|0;b=da(m|0,2,0,0)|0|0;do if(b&32){u=da(l|0,4,0,0)|0|0;h=u+26|0;b=da(h|0,2,0,0)|0|0;if(!(b&2)){if(!(b&1)){b=u+8|0;ea(b|0,jn(da(b|0,4,0,0)|0|0)|0|0,4,0);b=da(h|0,2,0,0)|0|0}ea(h|0,b&65535|2|0,2,0)}s=u+8|0;q=da(s|0,4,0,0)|0|0;if(!q){b=da(m|0,2,0,0)|0|0;break}m=q;l=da(m|0,4,0,0)|0|0;m=da(m+4|0,4,0,0)|0|0;J=da(q+8|0,4,0,0)|0|0;ea(s|0,J|0,4,0);if(!J)Yk(u);h=da(f+(g*20|0)+12|0,4,0,0)|0|0;b=p+(h*40|0)|0;h=p+(h*40|0)+8|0;if(!((da(h|0,2,0,0)|0)&9312)){be=b;ea(be|0,l|0,4,0);ea(be+4|0,m|0,4,0);ea(h|0,4|0,2,0);h=0;be=19;break e}else{Yg(b,l,m);h=0;be=19;break e}}while(0);if(!(b&9312))ea(m|0,1|0,2,0);else ug(l);g=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;h=0;be=19;break}case 130:{b=d;d=e;h=A;be=966;break d}case 131:{b=d;d=e;h=A;e=g;be=993;break d}case 132:{b=d;d=e;h=A;e=g;be=1009;break d}case 134:{b=d;d=e;y=A;e=g;be=1010;break d}case 135:{b=d;d=e;h=A;e=g;be=1015;break d}case 136:{b=d;d=e;e=g;be=1022;break d}case 137:{b=d;d=e;h=A;e=g;be=1028;break d}case 138:{b=d;d=e;h=A;e=g;be=1030;break d}case 139:{b=d;d=e;y=A;e=g;be=1032;break d}case 140:{b=d;d=e;h=A;e=g;be=1034;break d}case 141:{b=d;d=e;h=A;e=g;be=1036;break d}case 10:{J=da(f+(g*20|0)+3>>0|0,1,0,0)|0|0;b=J&255;h=da(ub|0,4,0,0)|0|0;if(J<<24>>24){l=0;m=p+((da(f+(g*20|0)+8|0,4,0,0)|0|0)*40|0)|0;while(1){ea(h+(l<<2)|0,m|0,4,0);l=l+1|0;if((l|0)>=(b|0))break;else m=m+40|0}}J=da(f+(g*20|0)+16|0,4,0,0)|0|0;ea(za|0,J|0,4,0);I=da(f+(g*20|0)+12|0,4,0,0)|0|0;ea(Aa|0,p+(I*40|0)|0,4,0);I=p+(I*40|0)+12|0;ea(I|0,(da(I|0,4,0,0)|0|0)+1|0,4,0);ea(Ba|0,1|0,2,0);ea(Ca|0,ee|0,4,0);ea(Da|0,0|0,4,0);ea(Oc|0,Fd|0,4,0);ea(Ea|0,0|0,4,0);ea(Fa|0,a|0,4,0);ea(Ga|0,g|0,4,0);ea(Ha>>0|0,0|0,1,0);lc[(fa(da(J+16|0,4,0,0)|0|0,63|0)|0)&63](Oc,b,h);if(!(da(Ea|0,4,0,0)|0))h=0;else{ea(de|0,Rg(Fd,1)|0|0,4,0);ch(ce,ee,10344,de);h=da(Ea|0,4,0,0)|0|0}do if((da(Ha>>0|0,1,0,0)|0|0)!=0?(Fc=da(f+((g+-1|0)*20|0)+4|0,4,0,0)|0|0,(Fc|0)!=0):0){b=p+(Fc*40|0)|0;l=p+(Fc*40|0)+8|0;if(!((da(l|0,2,0,0)|0)&9312)){J=b;ea(J|0,1|0,4,0);ea(J+4|0,0|0,4,0);ea(l|0,4|0,2,0);break}else{Yg(b,1,0);break}}while(0);if(((da(Ba|0,2,0,0)|0)&9312)==0&(da(Da|0,4,0,0)|0|0)==0){s=A;H=g}else{Pg(Fd);s=A;H=g}break}case 11:{ea(Kc|0,0|0,4,0);ea(Ia|0,-1|0,4,0);ea(Ja|0,-1|0,4,0);b=Vh(ee,da(f+(g*20|0)+4|0,4,0,0)|0|0,da(f+(g*20|0)+8|0,4,0,0)|0|0,Ja,Ia)|0;if((b|0)==5){ea(Kc|0,1|0,4,0);b=0}l=0;m=p+((da(f+(g*20|0)+12|0,4,0,0)|0|0)*40|0)|0;while(1){s=da(Kc+(l<<2)|0,4,0,0)|0|0;q=((s|0)<0)<<31>>31;h=m+8|0;if(!((da(h|0,2,0,0)|0)&9312)){J=m;ea(J|0,s|0,4,0);ea(J+4|0,q|0,4,0);ea(h|0,4|0,2,0)}else Yg(m,s,q);l=l+1|0;if((l|0)==3){s=A;H=g;h=b;break}else m=m+40|0}break}case 142:{s=da(f+(g*20|0)+4|0,4,0,0)|0|0;l=p+(s*40|0)|0;h=Xk(l,da(f+(g*20|0)+16|0,4,0,0)|0|0)|0;if(h){ea(de|0,Rg(l,1)|0|0,4,0);ch(ce,ee,10344,de)}Xl(l,qb)|0;m=da(p+(s*40|0)+8|0,2,0,1)|0|0;if(m&18){b=da(p+(s*40|0)+12|0,4,0,0)|0|0;if(m&16384)b=(da(l|0,4,0,0)|0|0)+b|0;if((b|0)>(da((da(p+(s*40|0)+32|0,4,0,0)|0|0)+88|0,4,0,0)|0|0)){b=d;d=e;h=n;be=1316;break c}else{s=A;H=g}}else{s=A;H=g}break}case 12:{b=da(f+(g*20|0)+12|0,4,0,0)|0|0;A=da((da(Qd|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0;x=da(da(A+4|0,4,0,0)|0|0,4,0,0)|0|0;y=da(x+5>>0|0,1,0,0)|0|0;w=y&255;b=(b|0)==-1?w:b;do if((da(x+16>>0|0,1,0,1)|0|0)>2)b=w;else if((da(da(x+64|0,4,0,0)|0|0,4,0,0)|0|0)!=0?(J=x+72|0,I=da(J+4|0,4,0,0)|0|0,(I|0)>0|(I|0)==0&(da(J|0,4,0,0)|0|0)>>>0>0):0){b=w;break}while(0);if(!(da(x+15>>0|0,1,0,0)|0))q=da(x+168|0,4,0,0)|0|0;else q=10360;z=(b|0)==5;if(z)if(q){s=q;while(1)if(!(da(s>>0|0,1,0,0)|0))break;else s=s+1|0;if(s-q&1073741823){s=da(da(x+60|0,4,0,0)|0|0,4,0,0)|0|0;if(!(da(x+4>>0|0,1,0,0)|0))if((da(s|0,4,0,0)|0|0)>1?!((da(s+52|0,4,0,0)|0|0)==0|(b|0)==(w|0)):0)be=1077;else{b=w;h=0}else be=1076}else{b=w;h=0}}else{b=w;h=0}else be=1076;if((be|0)==1076){be=0;if((b|0)==(w|0)){b=w;h=0}else be=1077}do if((be|0)==1077){be=0;s=y<<24>>24==5;if(s|z){if(!(da(Zd>>0|0,1,0,0)|0)){b=d;f=z;d=e;h=n;be=1080;break c}if((da(Sb|0,4,0,0)|0|0)>1){b=d;f=z;d=e;h=n;be=1080;break c}if(!s){if(y<<24>>24==4)rn(x,2)|0}else{y=x+208|0;if(!(da(y|0,4,0,0)|0)){ea(Sc|0,0|0,4,0);h=el(x,1)|0;if(h)break;h=da(x|0,4,0,0)|0|0;h=oc[(fa(da(h+32|0,4,0,0)|0|0,31|0)|0)&31](h,da(x+212|0,4,0,0)|0|0,0,Sc)|0;if((h|0)==0&(da(Sc|0,4,0,0)|0|0)!=0)h=on(x)|0;if(h)break;if(da(y|0,4,0,0)|0)be=1088}else be=1088;if((be|0)==1088){be=0;h=pn(x)|0;if(h)break;h=qn(da(y|0,4,0,0)|0|0,da(x+9>>0|0,1,0,1)|0|0,da(x+152|0,4,0,0)|0|0,da(x+200|0,4,0,0)|0|0)|0;ea(y|0,0|0,4,0);if(h)break}rn(x,b)|0}h=Eg(A,z?2:1)|0}else h=0}while(0);b=rn(x,(h|0)==0?b:w)|0;s=da(f+(g*20|0)+8|0,4,0,0)|0|0;y=p+(s*40|0)|0;ea(p+(s*40|0)+8|0,2562|0,2,0);if((b|0)==6){ea(p+(s*40|0)+16|0,0|0,4,0);b=0}else{l=da(32216+(b<<2)|0,4,0,0)|0|0;ea(p+(s*40|0)+16|0,l|0,4,0);b=l;while(1)if(!(da(b>>0|0,1,0,0)|0))break;else b=b+1|0;b=b-l&1073741823}ea(p+(s*40|0)+12|0,b|0,4,0);ea(p+(s*40|0)+10>>0|0,1|0,1,0);Xl(y,qb)|0;s=y;H=g;break}case 13:{if(!(da(Zd>>0|0,1,0,0)|0)){b=d;d=e;h=n;be=1101;break c}if((da(Ka|0,4,0,0)|0|0)>1){b=d;d=e;h=n;be=1103;break c}D=da(Mb|0,4,0,0)|0|0;m=da(ob|0,4,0,0)|0|0;l=da(pb|0,4,0,0)|0|0;b=da(La|0,4,0,0)|0|0;ea(Mb|0,D&-2762753|2107392|0,4,0);ea(La|0,0|0,4,0);B=da((da(Qd|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;H=B+4|0;z=da((da(da(H|0,4,0,0)|0|0,4,0,0)|0|0)+15>>0|0,1,0,0)|0|0;y=da(Nb|0,4,0,0)|0|0;h=sn(ee,ce,(da(Tb>>0|0,1,0,0)|0|0)==2?42432:42464)|0;x=da(Nb|0,4,0,0)|0|0;if((x|0)>(y|0))E=(da(Qd|0,4,0,0)|0|0)+(x+-1<<4)|0;else E=0;i:do if(!h){F=da((da(Qd|0,4,0,0)|0|0)+(x+-1<<4)+4|0,4,0,0)|0|0;tn(F)|0;G=da(H|0,4,0,0)|0|0;ea(G+4|0,da(B|0,4,0,0)|0|0,4,0);G=(da(G+32|0,4,0,0)|0|0)-(da(G+36|0,4,0,0)|0|0)|0;h=sn(ee,ce,42488)|0;if(!h){h=sn(ee,ce,42528)|0;if(!h){h=xg(B,2)|0;if(!h){y=da(H|0,4,0,0)|0|0;if((da((da(y|0,4,0,0)|0|0)+5>>0|0,1,0,0)|0|0)==5)ea(Ma|0,0|0,4,0);if(!(wg(F,da(y+32|0,4,0,0)|0|0,G,0)|0)){if(z<<24>>24==0?(wg(F,da(Ma|0,4,0,0)|0|0,G,0)|0)!=0:0){h=7;break}if(da($d>>0|0,1,0,0)|0){h=7;break}y=da(Na>>0|0,1,0,0)|0|0;do if(y<<24>>24>-1)y=y<<24>>24;else{y=da(H|0,4,0,0)|0|0;ea(y+4|0,da(B|0,4,0,0)|0|0,4,0);if(!(da(y+17>>0|0,1,0,0)|0)){y=0;break}y=(da(y+18>>0|0,1,0,0)|0|0)==0?1:2}while(0);un(F,y)|0;h=vn(ee,ce,42536)|0;if(h)break;h=vn(ee,ce,42688)|0;if(h)break;h=vn(ee,ce,42792)|0;if(h)break;h=vn(ee,ce,42912)|0;if(h)break;h=vn(ee,ce,43112)|0;if(h)break;h=vn(ee,ce,43232)|0;if(h)break;h=sn(ee,ce,43392)|0;if(!h)y=0;else break;do{h=da(43576+y>>0|0,1,0,1)|0|0;vm(B,h,Uc);h=Cg(F,h,(da(43576+(y|1)>>0|0,1,0,1)|0|0)+(da(Uc|0,4,0,0)|0|0)|0)|0;y=y+2|0;if(h)break i}while((y|0)<10);w=da(H|0,4,0,0)|0|0;ea(w+4|0,da(B|0,4,0,0)|0|0,4,0);y=da(F|0,4,0,0)|0|0;z=F+4|0;x=da(z|0,4,0,0)|0|0;ea(x+4|0,y|0,4,0);w=da((da(w|0,4,0,0)|0|0)+60|0,4,0,0)|0|0;v=da(w|0,4,0,0)|0|0;if(v){J=da(x+32|0,4,0,0)|0|0;J=rw(da(x+44|0,4,0,0)|0|0,0,J|0,((J|0)<0)<<31>>31|0)|0;h=Yc;ea(h|0,J|0,4,0);ea(h+4|0,C|0,4,0);h=$b[(fa(da(v+40|0,4,0,0)|0|0,63|0)|0)&63](w,11,Yc)|0;h=(h|0)==12?0:h;if(h)break;y=da(F|0,4,0,0)|0|0}I=Mc+0|0;J=I+48|0;do{ea(I|0,0|0,4,0);I=I+4|0}while((I|0)<(J|0));ea(Oa|0,y|0,4,0);ea(Pa|0,F|0,4,0);ea(Qa|0,B|0,4,0);ea(Ra|0,1|0,4,0);fd(Mc,2147483647)|0;h=gd(Mc)|0;if(h){s=da(da((da(Qa|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0;if(da(s+15>>0|0,1,0,0)|0)break;if(da(s+12>>0|0,1,0,0)|0)break;wn(s);break}h=(da(H|0,4,0,0)|0|0)+22|0;ea(h|0,(da(h|0,2,0,1)|0)&65533|0,2,0);h=tn(F)|0;if(h)break;y=da(z|0,4,0,0)|0|0;ea(y+4|0,da(F|0,4,0,0)|0|0,4,0);if(!(da(y+17>>0|0,1,0,0)|0))u=0;else u=(da(y+18>>0|0,1,0,0)|0|0)==0?1:2;un(B,u)|0;h=wg(B,da((da(z|0,4,0,0)|0|0)+32|0,4,0,0)|0|0,G,1)|0}else h=7}}}}while(0);ea(Mb|0,D|0,4,0);ea(ob|0,m|0,4,0);ea(pb|0,l|0,4,0);ea(La|0,b|0,4,0);wg(B,-1,-1,1)|0;ea(Zd>>0|0,1|0,1,0);if(E){J=E+4|0;Ll(da(J|0,4,0,0)|0|0);ea(J|0,0|0,4,0);ea(E+12|0,0|0,4,0)}Dg(ee);s=A;H=g;break}case 143:{J=da((da(Qd|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0;x=da(J+4|0,4,0,0)|0|0;ea(x+4|0,da(J|0,4,0,0)|0|0,4,0);if(!(da(x+17>>0|0,1,0,0)|0)){b=d;d=e;h=A;be=1157;break d}u=x+44|0;w=da(u|0,4,0,0)|0|0;q=x+12|0;s=da((da(q|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;s=(da(s+37>>0|0,1,0,1)|0)<<16|(da(s+36>>0|0,1,0,1)|0)<<24|(da(s+38>>0|0,1,0,1)|0)<<8|(da(s+39>>0|0,1,0,1)|0);v=Dl(x,w,s)|0;if(w>>>0>>0){b=d;d=e;h=n;be=1145;break c}if(!s){b=d;d=e;h=A;be=1157;break d}y=x+8|0;b=da(y|0,4,0,0)|0|0;do if(b){s=b;do{if(s){be=1150;break}s=da(2*4|0,4,0,0)|0|0}while((s|0)!=0);if((be|0)==1150){be=0;h=El(s,0,0)|0;if(h)break;b=da(y|0,4,0,0)|0|0}if(b){do{J=b+72|0;ea(J>>0|0,(da(J>>0|0,1,0,1)|0)&251|0,1,0);b=da(b+8|0,4,0,0)|0|0}while((b|0)!=0);be=1154}else be=1154}else be=1154;while(0);if((be|0)==1154){be=0;h=Fl(x,v,w,0)|0;if(!h){h=Fg(da((da(q|0,4,0,0)|0|0)+68|0,4,0,0)|0|0)|0;I=da((da(q|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;J=da(u|0,4,0,0)|0|0;ea(I+28>>0|0,J>>>24|0,1,0);ea(I+29>>0|0,J>>>16|0,1,0);ea(I+30>>0|0,J>>>8|0,1,0);ea(I+31>>0|0,J|0,1,0)}}if((h|0)==101){b=d;d=e;h=A;be=1157;break d}else{s=A;H=g}break}case 145:{b=da(f+(g*20|0)+12|0,4,0,0)|0|0;if((b&255|0)==0?((da(Mb|0,4,0,0)|0)&16384|0)!=0:0){b=d;d=e;G=p;H=f;I=K;J=L;h=A;e=g;break d}s=da((da(Qd|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0;q=da(f+(g*20|0)+8|0,4,0,0)|0|0;if(!(da(s+9>>0|0,1,0,0)|0)){b=d;d=e;G=p;H=f;I=K;J=L;h=A;e=g;break d}l=b+1&255;m=s+4|0;ea((da(m|0,4,0,0)|0|0)+4|0,da(s|0,4,0,0)|0|0,4,0);h=al(s,q,l)|0;if(!h){b=d;d=e;h=A;e=g;be=1166;break d}if((h&255|0)!=6){b=d;d=e;f=h;h=n;be=1309;break c}ea(de|0,da(f+(g*20|0)+16|0,4,0,0)|0|0,4,0);ch(ce,ee,42224,de);s=A;H=g;break}case 144:{b=d;d=e;h=A;e=g;be=1158;break d}case 146:{y=da(f+(g*20|0)+16|0,4,0,0)|0|0;l=da(Sa|0,4,0,0)|0|0;h=(l|0)>0;if(h?(da(Ta|0,4,0,0)|0|0)==0:0){h=6;be=1188}else be=1179;j:do if((be|0)==1179){be=0;if(!y){b=d;d=e;G=p;H=f;I=K;J=L;h=A;e=g;break d}b=y+8|0;m=(da(da(b|0,4,0,0)|0|0,4,0,0)|0|0)+56|0;if(da(m|0,4,0,0)|0){if(h){s=da(Ta|0,4,0,0)|0|0;q=0;do{if((da(s+(q<<2)|0,4,0,0)|0|0)==(y|0)){h=0;be=1188;break j}q=q+1|0}while((q|0)<(l|0))}h=xn(ee)|0;if(!h){h=kc[(fa(da(m|0,4,0,0)|0|0,127|0)|0)&127](da(b|0,4,0,0)|0|0)|0;if(!h){h=da(Sa|0,4,0,0)|0|0;ea(Sa|0,h+1|0,4,0);ea((da(Ta|0,4,0,0)|0|0)+(h<<2)|0,y|0,4,0);h=y+12|0;ea(h|0,(da(h|0,4,0,0)|0|0)+1|0,4,0);h=0}}else be=1188}else h=0}while(0);if((be|0)==1188){be=0;if(!y){s=A;H=g;break e}b=y+8|0}Lm(a,da(b|0,4,0,0)|0|0);s=A;H=g;break}case 147:{I=Dd+0|0;J=I+40|0;do{ea(I|0,0|0,4,0);I=I+4|0}while((I|0)<(J|0));ea(Ua|0,ee|0,4,0);b=Zg(Dd,p+((da(f+(g*20|0)+8|0,4,0,0)|0|0)*40|0)|0)|0;h=Rg(Dd,1)|0;k:do if(h){l=Zh(ee,h,da((da(Qd|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<4)|0,4,0,0)|0|0)|0;b=da(da(l+56|0,4,0,0)|0|0,4,0,0)|0|0;h=an(Xa,b,Pc)|0;if((h|0)!=0?(Hc=da(h+8|0,4,0,0)|0|0,(Hc|0)!=0):0){b=yn(ee,l,Hc,da((da(Hc|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,ce)|0;if(b)break;h=l+60|0;b=da(h|0,4,0,0)|0|0;if(!b){b=0;break}while(1){if((da(b|0,4,0,0)|0|0)==(ee|0))break;b=da(b+24|0,4,0,0)|0|0;if(!b){b=0;break k}}b=xn(ee)|0;if(b)break;b=da(h|0,4,0,0)|0|0;l:do if(!b)b=0;else while(1){if((da(b|0,4,0,0)|0|0)==(ee|0))break l;b=da(b+24|0,4,0,0)|0|0;if(!b){b=0;break}}while(0);J=da(Sa|0,4,0,0)|0|0;ea(Sa|0,J+1|0,4,0);ea((da(Ta|0,4,0,0)|0|0)+(J<<2)|0,b|0,4,0);b=b+12|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);b=0;break}ea(de|0,b|0,4,0);ea(ce|0,th(ee,28320,de)|0|0,4,0);b=1}while(0);if(((da(Va|0,2,0,0)|0)&9312)==0&(da(Wa|0,4,0,0)|0|0)==0){s=A;H=g;h=b}else{Pg(Dd);s=A;H=g;h=b}break}case 148:{ea(V|0,(da(V|0,4,0,0)|0|0)+1|0,4,0);b=Zh(ee,da(f+(g*20|0)+16|0,4,0,0)|0|0,da((da(Qd|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<4)|0,4,0,0)|0|0)|0;m:do if((b|0)!=0?(Ic=b+60|0,Jc=da(Ic|0,4,0,0)|0|0,(Jc|0)!=0):0){h=Jc;do{if((da((da(h+8|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)>0){h=6;break m}h=da(h+24|0,4,0,0)|0|0}while((h|0)!=0);b=Nk(ee,b)|0;l=b+8|0;h=kc[(fa(da((da(da(b+4|0,4,0,0)|0|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](da(l|0,4,0,0)|0|0)|0;if(!h){ea(l|0,0|0,4,0);ea(Ic|0,0|0,4,0);zn(b);h=0}}else h=0;while(0);ea(V|0,(da(V|0,4,0,0)|0|0)+-1|0,4,0);s=A;H=g;break}case 149:{b=d;d=e;h=A;e=g;be=1213;break d}case 150:{b=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;s=da(f+(g*20|0)+12|0,4,0,0)|0|0;q=p+(s*40|0)|0;if(da(b+25>>0|0,1,0,0)|0){b=d;d=e;h=A;e=g;be=1226;break d}J=b+32|0;h=da(da(J|0,4,0,0)|0|0,4,0,0)|0|0;I=da(h|0,4,0,0)|0|0;ea(Bd+0|0,0|0,4,0);ea(Bd+4|0,0|0,4,0);ea(Bd+8|0,0|0,4,0);ea(Bd+12|0,0|0,4,0);ea(Bd+16|0,0|0,4,0);ea(Bd+20|0,0|0,4,0);ea(Bd+24|0,0|0,4,0);ea(Bd|0,q|0,4,0);l=p+(s*40|0)+8|0;ea(l|0,(da(l|0,2,0,1)|0)&48640|1|0,2,0);J=$b[(fa(da(I+44|0,4,0,0)|0|0,63|0)|0)&63](da(J|0,4,0,0)|0|0,Bd,da(f+(g*20|0)+8|0,4,0,0)|0|0)|0;Lm(a,h);h=da(Ya|0,4,0,0)|0|0;h=(h|0)==0?J:h;Xl(q,qb)|0;l=da(l|0,2,0,1)|0|0;if(l&18){b=da(p+(s*40|0)+12|0,4,0,0)|0|0;if(l&16384)b=(da(q|0,4,0,0)|0|0)+b|0;if((b|0)>(da((da(p+(s*40|0)+32|0,4,0,0)|0|0)+88|0,4,0,0)|0|0)){b=d;d=e;h=n;be=1316;break c}else{s=A;H=g}}else{s=A;H=g}break}case 14:{q=da(f+(g*20|0)+12|0,4,0,0)|0|0;s=q+1|0;v=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;y=da(v+32|0,4,0,0)|0|0;x=da(y|0,4,0,0)|0|0;w=da(x|0,4,0,0)|0|0;u=da(p+(s*40|0)|0,4,0,0)|0|0;q=da(p+(q*40|0)|0,4,0,0)|0|0;b=da(ub|0,4,0,0)|0|0;if((u|0)>0){h=0;do{J=h;h=h+1|0;ea(b+(J<<2)|0,p+((h+s|0)*40|0)|0,4,0)}while((h|0)!=(u|0))}h=sc[(fa(da(w+32|0,4,0,0)|0|0,31|0)|0)&31](y,q,da(f+(g*20|0)+16|0,4,0,0)|0|0,u,b)|0;Lm(a,x);if((h|0)==0?(kc[(fa(da(w+40|0,4,0,0)|0|0,127|0)|0)&127](y)|0)!=0:0)g=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;ea(v+25>>0|0,0|0,1,0);s=A;H=g;break}case 151:{b=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;if(da(b+25>>0|0,1,0,0)|0){b=d;d=e;G=p;H=f;I=K;J=L;h=A;e=g;break d}b=b+32|0;l=da(b|0,4,0,0)|0|0;J=da(l|0,4,0,0)|0|0;h=da(J|0,4,0,0)|0|0;l=kc[(fa(da(h+36|0,4,0,0)|0|0,127|0)|0)&127](l)|0;Lm(a,J);if((l|0)==0?(kc[(fa(da(h+40|0,4,0,0)|0|0,127|0)|0)&127](da(b|0,4,0,0)|0|0)|0)!=0:0){h=0;be=19;break e}g=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;h=l;be=19;break}case 15:{v=f+(g*20|0)+16|0;l=da((da(v|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;if(!l){b=d;d=e;f=6;h=n;be=1309;break c}b=da(l|0,4,0,0)|0|0;if(!b){b=d;d=e;f=6;h=n;be=1309;break c}x=da(f+(g*20|0)+8|0,4,0,0)|0|0;u=b+52|0;s=da(u|0,4,0,0)|0|0;if(!s){b=d;d=e;G=p;H=f;I=K;J=L;h=A;e=g;break d}w=da(Za>>0|0,1,0,0)|0|0;y=da(ub|0,4,0,0)|0|0;if((x|0)>0){s=0;q=p+((da(f+(g*20|0)+12|0,4,0,0)|0|0)*40|0)|0;while(1){ea(y+(s<<2)|0,q|0,4,0);s=s+1|0;if((s|0)==(x|0))break;else q=q+40|0}s=da(u|0,4,0,0)|0|0}q=f+(g*20|0)+3|0;ea(Za>>0|0,da(q>>0|0,1,0,0)|0|0|0,1,0);h=oc[(fa(s|0,31|0)|0)&31](l,x,y,Ad)|0;ea(Za>>0|0,w|0,1,0);Lm(a,l);if(!h){if(da(f+(g*20|0)+4|0,4,0,0)|0){c=Ad;e=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;J=ge;ea(J|0,e|0,4,0);ea(J+4|0,c|0,4,0)}}else if((h&255|0)==19?(da((da(v|0,4,0,0)|0|0)+16>>0|0,1,0,0)|0|0)!=0:0){b=da(q>>0|0,1,0,0)|0|0;if(b<<24>>24==5)b=2;else if(b<<24>>24==4){b=d;d=e;G=p;H=f;I=K;J=L;h=A;e=g;break d}ea(_d>>0|0,b|0,1,0);s=A;H=g;break e}ea(nb|0,(da(nb|0,4,0,0)|0|0)+1|0,4,0);s=A;H=g;break}case 152:{b=da((da(f+(g*20|0)+16|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;h=da(f+(g*20|0)+4|0,4,0,0)|0|0;l=p+(h*40|0)|0;if((((da(p+(h*40|0)+8|0,2,0,0)|0)&2)!=0?(da(p+(h*40|0)+10>>0|0,1,0,0)|0|0)!=1:0)?(Pd=An(l,1)|0,(Pd|0)!=0):0){b=d;d=e;f=Pd;h=n;be=1309;break c}h=qc[(fa(da((da(b|0,4,0,0)|0|0)+76|0,4,0,0)|0|0,127|0)|0)&127](b,da(p+(h*40|0)+16|0,4,0,0)|0|0)|0;Lm(a,b);ea(Rd|0,(da(Rd|0,2,0,0)|0)&-9|0,2,0);s=A;H=g;break}case 153:{b=d;d=e;h=A;e=g;be=1257;break d}case 155:{b=d;d=e;be=1264;break d}case 154:{b=d;d=e;y=A;e=g;be=1258;break d}default:{b=d;d=e;G=p;H=f;I=K;J=L;h=A;e=g;break d}}while(0);n:do if((be|0)==57){be=0;m=A+8|0;ea(m|0,2562|0,2,0);ea(A+16|0,l|0,4,0);ea(A+12|0,b|0,4,0);ea(A+10>>0|0,Cc|0,1,0);if((da(f+(g*20|0)+3>>0|0,1,0,0)|0|0)!=0?(J=p+((da(f+(g*20|0)+12|0,4,0,0)|0|0)*40|0)|0,!((da(J|0,4,0,0)|0|0)==0&(da(J+4|0,4,0,0)|0|0)==0)):0){ea(m|0,2576|0,2,0);s=A;H=g}else{s=A;H=g}}else if((be|0)==536){if((da(Rd|0,2,0,0)|0)&8){b=d;d=e;f=516;h=n;be=1309;break c}s=da(f+(g*20|0)+8|0,4,0,0)|0|0;x=da(f+(g*20|0)+12|0,4,0,0)|0|0;b=da(Qd|0,4,0,0)|0|0;w=da(b+(x<<4)+4|0,4,0,0)|0|0;if(y<<24>>24==55){b=da((da(b+(x<<4)+12|0,4,0,0)|0|0)+76>>0|0,1,0,0)|0|0;if((b&255)<(da(Fb>>0|0,1,0,1)|0|0)){ea(Fb>>0|0,b|0,1,0);y=1}else y=1}else y=0;l=f+(g*20|0)+3|0;if((da(l>>0|0,1,0,0)|0)&4){J=p+(s*40|0)|0;b=Ug(J)|0;ea(J|0,b|0,4,0);ea(J+4|0,C|0,4,0);J=p+(s*40|0)+8|0;ea(J|0,(da(J|0,2,0,1)|0)&48640|4|0,2,0);if((b|0)<2){b=d;d=e;f=n;be=542;break c}else u=b}else u=s;h=f+(g*20|0)+1|0;s=da(h>>0|0,1,0,0)|0|0;if(s<<24>>24==-6){q=da(f+(g*20|0)+16|0,4,0,0)|0|0;s=(da(q+8|0,2,0,1)|0|0)+(da(q+6|0,2,0,1)|0|0)|0}else if(s<<24>>24==-14){s=da(f+(g*20|0)+16|0,4,0,0)|0|0;q=0}else{s=0;q=0}b=wm(a,da(f+(g*20|0)+4|0,4,0,0)|0|0,s,x,1)|0;if(!b){o=$d;p=ce;b=d;d=n;be=1317;break a}ea(b+25>>0|0,1|0,1,0);J=b+27|0;ea(J>>0|0,da(J>>0|0,1,0,0)|0|8|0,1,0);ea(b+28|0,u|0,4,0);be=xm(w,u,y,q,da(b|0,4,0,0)|0|0)|0;ea(b+8|0,q|0,4,0);ea(J>>0|0,((da(h>>0|0,1,0,0)|0|0)!=-6&1)<<2&255|(da(J>>0|0,1,0,0)|0)&-5|0,1,0);h=be;be=548}else if((be|0)==715){be=0;B=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;J=da(B+56|0,4,0,0)|0|0;do if(!J){h=da(B|0,4,0,0)|0|0;b=pm(h)|0;if(!b)if(!(da(h+73>>0|0,1,0,0)|0)){l=1;b=0}else{l=0;b=Um(h)|0}else l=1;ea(B+26>>0|0,0|0,1,0);ea(B+60|0,0|0,4,0);ea(B+25>>0|0,l|0,1,0);if(!l){s=A;H=g;h=b;break n}}else{do if(!(da(J+56>>0|0,1,0,0)|0)){b=J+36|0;if(!(da(b|0,4,0,0)|0)){b=0;be=756}else{b=Mm(J+64|0,b)|0;be=755}}else{b=Nm(J)|0;if(!b){I=J+59|0;o:do if(!(da(I>>0|0,1,0,0)|0)){h=0;b=0}else{m=0;l=0;p:while(1){H=J+(m<<6)+64|0;ea(de|0,0|0,4,0);G=J+(m<<6)+92|0;s=da(G|0,4,0,0)|0|0;y=((s|0)<0)<<31>>31;do if((s|0)>16){x=16;w=0;u=0;while(1){x=hw(x|0,w|0,4)|0;w=C;v=u+1|0;if(!((w|0)<(y|0)|(w|0)==(y|0)&x>>>0>>0)){w=u;break}else u=v}F=Ld;ea(F|0,0|0,4,0);ea(F+4|0,0|0,4,0);if((s|0)<17){be=726;break}h=Pm(16)|0;ea(de|0,h|0,4,0);y=(h|0)==0;x=da(G|0,4,0,0)|0|0;if(!((x|0)>0&(y^1))){b=y?7:0;break}D=(w|0)>0;F=0;E=0;do{ea(jd|0,0|0,4,0);b=x-F|0;b=Om(H,(b|0)<16?b:16,Ld,jd)|0;if(b){be=747;break p}b=Qm(H,da(jd|0,4,0,0)|0|0,id)|0;do if(D){x=1;y=1;do{y=y<<4;x=x+1|0}while((x|0)!=(v|0));if(!b){w=1;x=h}else{y=da(id|0,4,0,0)|0|0;be=743;break}while(1){z=(da(x+12|0,4,0,0)|0|0)+((((E|0)/(y|0)|0|0)%16|0)*56|0)+48|0;x=da(z|0,4,0,0)|0|0;if(!x){x=Pm(16)|0;if(!x){b=7;be=738;break}b=Qm(H,x,z)|0;if(b){be=738;break}x=da(z|0,4,0,0)|0|0}x=da(x+4|0,4,0,0)|0|0;w=w+1|0;if((w|0)>=(v|0)){be=740;break}else y=(y|0)/16|0}if((be|0)==738){y=da(id|0,4,0,0)|0|0;be=743;break}else if((be|0)==740){y=da(id|0,4,0,0)|0|0;be=742;break}}else{y=da(id|0,4,0,0)|0|0;if(!b){x=h;be=742}else be=743}while(0);if((be|0)==742){be=0;ea((da(x+12|0,4,0,0)|0|0)+(((E|0)%16|0)*56|0)+48|0,y|0,4,0);b=0}else if((be|0)==743){be=0;Rm(y)}E=E+1|0;F=F+16|0;x=da(G|0,4,0,0)|0|0}while((F|0)<(x|0)&(b|0)==0)}else{be=Ld;ea(be|0,0|0,4,0);ea(be+4|0,0|0,4,0);be=726}while(0);if((be|0)==726){be=0;b=Om(H,s,Ld,de)|0;h=da(de|0,4,0,0)|0|0}m=m+1|0;if(b){be=746;break}if((m|0)>=(da(I>>0|0,1,0,1)|0|0)){b=0;break o}else l=h}if((be|0)==746)Sm(h);else if((be|0)==747)Sm(h);Sm(l);h=0}while(0);if(!b){b=Tm(J+64|0,h)|0;ea(J+20|0,h|0,4,0);if(!b){b=0;be=755;break}else h=0}Sm(h);be=755}else be=756}while(0);if((be|0)==755){be=0;ea(B+25>>0|0,0|0,1,0);s=A;H=g;h=b;break n}else if((be|0)==756){be=0;ea(B+25>>0|0,1|0,1,0);break}}while(0);s=A;H=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;h=b}else if((be|0)==765){h=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;ea(yd|0,da(f+(g*20|0)+12|0,4,0,0)|0|0,4,0);b=h;h=qc[(fa(da(f+(g*20|0)+16|0,4,0,0)|0|0,127|0)|0)&127](da(h|0,4,0,0)|0|0,yd)|0;be=766}while(0);do if((be|0)==548){be=0;ea((da(b|0,4,0,0)|0|0)+74>>0|0,(da(l>>0|0,1,0,1)|0)&3|0,1,0);s=A;H=g}else if((be|0)==766){ea(b+60|0,0|0,4,0);b=b+25|0;if(!(da(yd|0,4,0,0)|0)){ea(b>>0|0,0|0,1,0);be=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;g=a+((da(f+(g*20|0)+3>>0|0,1,0,1)|0)<<2)+108|0;ea(g|0,(da(g|0,4,0,0)|0|0)+1|0,4,0);g=be;be=19;break}else{ea(b>>0|0,1|0,1,0);be=19;break}}while(0);if((be|0)==19){be=0;if(da(vc|0,4,0,0)|0){h=ce;b=d;d=n;break b}b=da(Wd|0,4,0,0)|0|0;if(!((b|0)==0|d>>>0>>0)){o=da(pc|0,4,0,0)|0|0;if(!(kc[(fa(b|0,127|0)|0)&127](da(Sd|0,4,0,0)|0|0)|0)){o=o+d-((d>>>0)%(o>>>0)|0)|0;s=A;H=g}else{b=d;f=9;d=n;be=1311;break a}}else{s=A;H=g}}g=H+1|0;if(!h){b=d;h=s}else{b=d;f=h;d=n;be=1311;break a}}q:switch(be|0){case 22:{be=0;G=da(f+(g*20|0)+4|0,4,0,0)|0|0;ea(p+(G*40|0)+8|0,4|0,2,0);G=p+(G*40|0)|0;ea(G|0,g|0,4,0);ea(G+4|0,((g|0)<0)<<31>>31|0,4,0);G=p;H=f;I=K;J=L;e=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;break}case 23:{be=0;G=da(f+(g*20|0)+4|0,4,0,0)|0|0;e=da(p+(G*40|0)|0,4,0,0)|0|0;ea(p+(G*40|0)+8|0,128|0,2,0);G=p;H=f;I=K;J=L;break}case 24:{be=0;e=da(f+(g*20|0)+4|0,4,0,0)|0|0;h=p+(e*40|0)|0;G=(da(f+(g*20|0)+12|0,4,0,0)|0|0)+-1|0;H=h;ea(H|0,G|0,4,0);ea(H+4|0,((G|0)<0)<<31>>31|0,4,0);ea(p+(e*40|0)+8|0,4|0,2,0);e=da(f+(g*20|0)+8|0,4,0,0)|0|0;G=p;H=f;I=K;J=L;e=(e|0)==0?g:e+-1|0;break}case 25:{be=0;G=da(f+(g*20|0)+4|0,4,0,0)|0|0;e=(da(f+((da(p+(G*40|0)|0,4,0,0)|0|0)*20|0)+8|0,4,0,0)|0|0)+-1|0;ea(p+(G*40|0)+8|0,128|0,2,0);G=p;H=f;I=K;J=L;break}case 26:{be=0;G=da(f+(g*20|0)+4|0,4,0,0)|0|0;ea(p+(G*40|0)+8|0,4|0,2,0);G=p+(G*40|0)|0;e=da(G|0,4,0,0)|0|0;ea(G|0,g|0,4,0);ea(G+4|0,((g|0)<0)<<31>>31|0,4,0);G=p;H=f;I=K;J=L;break}case 27:{be=0;if(!((da(p+((da(f+(e*20|0)+12|0,4,0,0)|0|0)*40|0)+8|0,2,0,0)|0)&1)){G=p;H=f;I=K;J=L}else be=28;break}case 44:{be=0;G=da(f+(e*20|0)+4|0,4,0,0)|0|0;H=h;ea(H|0,G|0,4,0);ea(H+4|0,((G|0)<0)<<31>>31|0,4,0);G=p;H=f;I=K;J=L;break}case 45:{be=0;I=da(f+(e*20|0)+16|0,4,0,0)|0|0;G=da(I+4|0,4,0,0)|0|0;H=h;ea(H|0,da(I|0,4,0,0)|0|0,4,0);ea(H+4|0,G|0,4,0);G=p;H=f;I=K;J=L;break}case 46:{be=0;ea(h+8|0,8|0,2,0);ea(h|0,+(+(+da(da(f+(e*20|0)+16|0,4,0,0)|0|0,8,1,0))),8,1);G=p;H=f;I=K;J=L;break}case 60:{be=0;y=(da(f+(e*20|0)+12|0,4,0,0)|0|0)-(da(f+(e*20|0)+8|0,4,0,0)|0|0)|0;g=(da(f+(e*20|0)+4|0,4,0,0)|0|0)!=0?257:1;ea(h+8|0,g|0,2,0);if((y|0)>0){m=y;q=h;do{l=q+48|0;q=q+40|0;if(!((da(l|0,2,0,0)|0)&9312))ea(l|0,1|0,2,0);else ug(q);ea(l|0,g|0,2,0);m=m+-1|0}while((m|0)>0);G=p;H=f;I=K;J=L;h=h+(y*40|0)|0}else{G=p;H=f;I=K;J=L}break}case 65:{be=0;h=da(f+(e*20|0)+4|0,4,0,0)|0|0;G=p+(h*40|0)+8|0;ea(G|0,(da(G|0,2,0,1)|0)&65406|1|0,2,0);G=p;H=f;I=K;J=L;h=p+(h*40|0)|0;break}case 66:{be=0;Wg(h,da(f+(e*20|0)+16|0,4,0,0)|0|0,da(f+(e*20|0)+4|0,4,0,0)|0|0,0,0)|0;ea(h+10>>0|0,Cc|0,1,0);G=p;H=f;I=K;J=L;break}case 67:{be=0;s=(da(f+(e*20|0)+4|0,4,0,0)|0|0)+-1|0;q=da(tb|0,4,0,0)|0|0;m=q+(s*40|0)|0;l=da(q+(s*40|0)+8|0,2,0,1)|0|0;if(l&18){g=da(q+(s*40|0)+12|0,4,0,0)|0|0;if(l&16384)g=(da(m|0,4,0,0)|0|0)+g|0;if((g|0)>(da((da(q+(s*40|0)+32|0,4,0,0)|0|0)+88|0,4,0,0)|0|0)){g=e;h=n;be=1316;break c}}Yl(h,m,2048);G=p;H=f;I=K;J=L;break}case 72:{be=0;g=da(f+(e*20|0)+12|0,4,0,0)|0|0;l=da(f+(e*20|0)+8|0,4,0,0)|0|0;y=g+l|0;h=p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0;l=p+(l*40|0)|0;while(1){Zl(l,h);g=g+-1|0;if(!g)break;else{h=h+40|0;l=l+40|0}}G=p;H=f;I=K;J=L;h=p+(y*40|0)|0;break}case 74:{be=0;e=da(f+(g*20|0)+12|0,4,0,0)|0|0;h=p+((da(f+(g*20|0)+4|0,4,0,0)|0|0)*40|0)|0;y=p+((da(f+(g*20|0)+8|0,4,0,0)|0|0)*40|0)|0;while(1){Yl(y,h,4096);if(((da(y+8|0,2,0,0)|0)&4096)!=0?(Ul(y)|0)!=0:0){o=$d;p=ce;e=d;d=n;be=1317;break a}if(!e){G=p;H=f;I=K;J=L;h=y;e=g;break q}e=e+-1|0;h=h+40|0;y=y+40|0}}case 79:{be=0;h=p+((da(f+(e*20|0)+8|0,4,0,0)|0|0)*40|0)|0;Yl(h,p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0,4096);G=p;H=f;I=K;J=L;break}case 94:{be=0;z=da(f+(g*20|0)+4|0,4,0,0)|0|0;y=p+(z*40|0)|0;A=da(f+(g*20|0)+8|0,4,0,0)|0|0;x=p+(A*40|0)|0;B=da(f+(g*20|0)+12|0,4,0,0)|0|0;h=p+(B*40|0)|0;w=p+(z*40|0)+8|0;u=da(w|0,2,0,0)|0|0;v=p+(A*40|0)+8|0;s=da(v|0,2,0,0)|0|0;if((s|u)&1){e=p+(B*40|0)+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);G=p;H=f;I=K;J=L;e=g;break}else{ug(h);G=p;H=f;I=K;J=L;e=g;break}}if(u&16384){if(Qg(y)|0){o=$d;p=ce;e=d;d=n;be=1317;break a}s=da(v|0,2,0,0)|0|0}if((s&16384)!=0?(Qg(x)|0)!=0:0){o=$d;p=ce;e=d;d=n;be=1317;break a}if(((da(w|0,2,0,0)|0)&18)==0?(am(y,Cc,0)|0)!=0:0){o=$d;p=ce;e=d;d=n;be=1317;break a}if(((da(v|0,2,0,0)|0)&18)==0?(am(x,Cc,0)|0)!=0:0){o=$d;p=ce;e=d;d=n;be=1317;break a}u=p+(z*40|0)+12|0;q=p+(A*40|0)+12|0;e=(da(q|0,4,0,0)|0|0)+(da(u|0,4,0,0)|0|0)|0;if((e|0)>(da(sb|0,4,0,0)|0|0)){h=n;be=1316;break c}l=(B|0)==(A|0);if(dh(h,e+2|0,l&1)|0){o=$d;p=ce;e=d;d=n;be=1317;break a}m=p+(B*40|0)+8|0;ea(m|0,(da(m|0,2,0,1)|0)&48640|2|0,2,0);s=p+(B*40|0)+16|0;if(!l)jw(da(s|0,4,0,0)|0|0,da(p+(A*40|0)+16|0,4,0,0)|0|0,da(q|0,4,0,0)|0|0)|0;jw((da(s|0,4,0,0)|0|0)+(da(q|0,4,0,0)|0|0)|0,da(p+(z*40|0)+16|0,4,0,0)|0|0,da(u|0,4,0,0)|0|0)|0;ea((da(s|0,4,0,0)|0|0)+e>>0|0,0|0,1,0);ea((da(s|0,4,0,0)|0|0)+(e+1)>>0|0,0|0,1,0);ea(m|0,da(m|0,2,0,1)|0|512|0,2,0);ea(p+(B*40|0)+12|0,e|0,4,0);ea(p+(B*40|0)+10>>0|0,Cc|0,1,0);G=p;H=f;I=K;J=L;e=g;break}case 112:{be=0;J=da(f+(e*20|0)+4|0,4,0,0)|0|0;D=p+(J*40|0)|0;G=bm(D)|0;m=da(f+(e*20|0)+8|0,4,0,0)|0|0;E=p+(m*40|0)|0;H=bm(E)|0;I=da(f+(e*20|0)+12|0,4,0,0)|0|0;h=p+(I*40|0)|0;r:do if(!((da(p+(m*40|0)+8|0,2,0,0)|0|(da(p+(J*40|0)+8|0,2,0,0)|0))&1)){s:do if(!((G&4&H)<<16>>16))A=0;else{g=D;s=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;v=E;l=da(v|0,4,0,0)|0|0;v=da(v+4|0,4,0,0)|0|0;y=da(F>>0|0,1,0,1)|0|0;t:do if((y|0)==89){if((g|0)>-1|(g|0)==-1&s>>>0>4294967295){J=cw(-1,2147483647,l|0,v|0)|0;m=C;if(((v|0)>0|(v|0)==0&l>>>0>0)&((m|0)<(g|0)|(m|0)==(g|0)&J>>>0>>0)){A=1;break s}}else if((v|0)<0?(m=cw(1,-2147483648,l|0,v|0)|0,q=C,J=iw(s|0,g|0,1,0)|0,B=C,(q|0)>(B|0)|(q|0)==(B|0)&m>>>0>J>>>0):0){A=1;break s}l=iw(l|0,v|0,s|0,g|0)|0;g=C}else if((y|0)==90){if((s|0)==0&(g|0)==-2147483648){if((v|0)>-1|(v|0)==-1&l>>>0>4294967295){A=1;break s}g=v^-2147483648;break}if((g|0)<0|(g|0)==0&s>>>0<1){J=cw(0,0,s|0,g|0)|0;B=C;m=cw(-1,2147483647,l|0,v|0)|0;q=C;if(((v|0)>0|(v|0)==0&l>>>0>0)&((q|0)<(B|0)|(q|0)==(B|0)&m>>>0>>0)){A=1;break s}}else if((v|0)<0?(m=cw(1,-2147483648,l|0,v|0)|0,q=C,J=cw(1,0,s|0,g|0)|0,B=C,(q|0)>(B|0)|(q|0)==(B|0)&m>>>0>J>>>0):0){A=1;break s}l=cw(l|0,v|0,s|0,g|0)|0;g=C}else if((y|0)==91){A=pw(l|0,v|0,0,1)|0;z=C;u=qw(l|0,v|0,0,1)|0;q=C;y=pw(s|0,g|0,0,1)|0;x=C;B=qw(s|0,g|0,0,1)|0;m=C;J=iw(l|0,v|0,-1,0)|0;ie=C;w=iw(s|0,g|0,-1,0)|0;je=C;w=je>>>0<1|(je|0)==1&w>>>0<4294967295;do if(ie>>>0<1|(ie|0)==1&J>>>0<4294967295)if(w){l=rw(l|0,v|0,s|0,g|0)|0;g=C;break t}else{w=rw(y|0,x|0,u|0,q|0)|0;v=C;break}else{if(!w){A=1;break s}w=rw(B|0,m|0,A|0,z|0)|0;v=C}while(0);J=iw(w|0,v|0,-2147483648,0)|0;l=C;if(l>>>0>0|(l|0)==0&J>>>0>4294967295){A=1;break s}y=rw(B|0,m|0,u|0,q|0)|0;x=C;if((x|0)>-1|(x|0)==-1&y>>>0>4294967295){J=cw(-1,2147483647,0,w|0)|0;m=C;if(((v|0)>0|(v|0)==0&w>>>0>0)&((m|0)<(x|0)|(m|0)==(x|0)&J>>>0>>0)){A=1;break s}}else if((v|0)<0?(m=cw(1,-2147483648,0,w|0)|0,g=C,J=iw(y|0,x|0,1,0)|0,l=C,(g|0)>(l|0)|(g|0)==(l|0)&m>>>0>J>>>0):0){A=1;break s}l=iw(0,w|0,y|0,x|0)|0;g=C}else if((y|0)==92){if((s|0)==0&(g|0)==0)break r;if((s|0)==-1&(g|0)==-1&((l|0)==0&(v|0)==-2147483648)){A=1;break s}l=pw(l|0,v|0,s|0,g|0)|0;g=C}else{if((s|0)==-1){if((g|0)==-1){s=1;g=0}}else if((s|0)==0?(g|0)==0:0)break r;l=qw(l|0,v|0,s|0,g|0)|0;g=C}while(0);G=h;ea(G|0,l|0,4,0);ea(G+4|0,g|0,4,0);G=p+(I*40|0)+8|0;ea(G|0,(da(G|0,2,0,1)|0)&48640|4|0,2,0);G=p;H=f;I=K;J=L;break q}while(0);t=+Tg(D);r=+Tg(E);s=da(F>>0|0,1,0,1)|0|0;if((s|0)==89)r=t+r;else if((s|0)==90)r=r-t;else if((s|0)==91)r=t*r;else if((s|0)==92){if(t==0.0)break;r=r/t}else{u=~~t>>>0;s=+N(t)>=1.0?(t>0.0?~~+$(+M(t/4294967296.0),4294967295.0)>>>0:~~+Z((t-+(~~t>>>0))/4294967296.0)>>>0):0;x=~~r>>>0;y=+N(r)>=1.0?(r>0.0?~~+$(+M(r/4294967296.0),4294967295.0)>>>0:~~+Z((r-+(~~r>>>0))/4294967296.0)>>>0):0;if(!u){if(!s)break}else if((u|0)==-1?(s|0)==-1:0){u=1;s=0}J=qw(x|0,y|0,u|0,s|0)|0;r=+(J>>>0)+4294967296.0*+(C|0)}ea(de|0,+r,8,1);ea(Ld|0,+(+(+da(de|0,8,1,0))),8,1);if(!(+(+da(de|0,8,1,0))!=+(+da(Ld|0,8,1,0)))){ea(h|0,+r,8,1);J=p+(I*40|0)+8|0;ea(J|0,(da(J|0,2,0,1)|0)&48640|8|0,2,0);if(((H|G)&8)!=0|A<<24>>24!=0){G=p;H=f;I=K;J=L;break q}cm(h);G=p;H=f;I=K;J=L;break q}}while(0);g=p+(I*40|0)+8|0;if(!((da(g|0,2,0,0)|0)&9312)){ea(g|0,1|0,2,0);G=p;H=f;I=K;J=L;break}else{ug(h);G=p;H=f;I=K;J=L;break}}case 166:{be=0;g=da(f+(e*20|0)+4|0,4,0,0)|0|0;if(g){h=p+(g*40|0)|0;g=p+(g*40|0)+8|0;if(!((da(g|0,2,0,0)|0)&9312)){G=h;ea(G|0,0|0,4,0);ea(G+4|0,0|0,4,0);ea(g|0,4|0,2,0);G=p;H=f;I=K;J=L;h=y;break}else{Yg(h,0,0);G=p;H=f;I=K;J=L;h=y;break}}else{G=p;H=f;I=K;J=L;h=y}break}case 184:{be=0;s=da(f+(e*20|0)+4|0,4,0,0)|0|0;g=da(f+(e*20|0)+8|0,4,0,0)|0|0;z=da(f+(e*20|0)+12|0,4,0,0)|0|0;h=p+(z*40|0)|0;if((da(p+(g*40|0)+8|0,2,0,0)|0|(da(p+(s*40|0)+8|0,2,0,0)|0))&1){g=p+(z*40|0)+8|0;if(!((da(g|0,2,0,0)|0)&9312)){ea(g|0,1|0,2,0);G=p;H=f;I=K;J=L;break}else{ug(h);G=p;H=f;I=K;J=L;break}}q=Ug(p+(g*40|0)|0)|0;A=C;y=Ug(p+(s*40|0)|0)|0;x=C;g=da(w>>0|0,1,0,0)|0|0;s=g&255;do if(g<<24>>24==86){q=y|q;g=x|A}else if(g<<24>>24!=85)if(!((y|0)==0&(x|0)==0)){if((x|0)<0){g=175-s&255;s=cw(0,0,y|0,x|0)|0;if((x|0)>-1|(x|0)==-1&y>>>0>4294967232){x=C;be=194}}else{s=y;be=194}if((be|0)==194){be=0;if(!((x|0)>0|(x|0)==0&s>>>0>63)){if(g<<24>>24==87){q=hw(q|0,A|0,s|0)|0;g=C;break}q=lw(q|0,A|0,s|0)|0;g=C;if((A|0)>=0)break;J=cw(64,0,s|0,x|0)|0;J=hw(-1,-1,J|0)|0;q=J|q;g=C|g;break}}if((A|0)>-1|(A|0)==-1&q>>>0>4294967295){q=0;g=0}else{g=(g<<24>>24!=87)<<31>>31;q=g;g=((g|0)<0)<<31>>31}}else g=A;else{q=y&q;g=x&A}while(0);G=h;ea(G|0,q|0,4,0);ea(G+4|0,g|0,4,0);G=p+(z*40|0)+8|0;ea(G|0,(da(G|0,2,0,1)|0)&48640|4|0,2,0);G=p;H=f;I=K;J=L;break}case 202:{be=0;H=da(f+(e*20|0)+4|0,4,0,0)|0|0;G=p+(H*40|0)|0;I=Ug(G)|0;H=p+(H*40|0)+8|0;ea(H|0,(da(H|0,2,0,1)|0)&48640|4|0,2,0);H=da(f+(e*20|0)+8|0,4,0,0)|0|0;H=iw(I|0,C|0,H|0,((H|0)<0)<<31>>31|0)|0;ea(G|0,H|0,4,0);ea(G+4|0,C|0,4,0);G=p;H=f;I=K;J=L;break}case 203:{be=0;h=da(f+(e*20|0)+4|0,4,0,0)|0|0;l=p+(h*40|0)+8|0;g=da(l|0,2,0,0)|0|0;if(!(g&4)){em(p+(h*40|0)|0,67,Cc);g=da(l|0,2,0,0)|0|0;if(!(g&4)){u=da(f+(e*20|0)+8|0,4,0,0)|0|0;if(!u){g=e;h=20;be=1318;break c}G=p;H=f;I=K;J=L;h=y;e=u+-1|0;break}}ea(l|0,g&48640|4|0,2,0);G=p;H=f;I=K;J=L;h=y;break}case 208:{be=0;g=da(f+(e*20|0)+4|0,4,0,0)|0|0;h=p+(g*40|0)+8|0;if(!((da(h|0,2,0,0)|0)&4)){G=p;H=f;I=K;J=L;h=y}else{G=p+(g*40|0)|0;ea(G|0,+(+Tg(G)),8,1);ea(h|0,(da(h|0,2,0,1)|0)&48640|8|0,2,0);G=p;H=f;I=K;J=L;h=y}break}case 213:{be=0;D=da(f+(g*20|0)+4|0,4,0,0)|0|0;A=p+(D*40|0)|0;m=da(f+(g*20|0)+12|0,4,0,0)|0|0;z=p+(m*40|0)|0;D=p+(D*40|0)+8|0;v=da(D|0,2,0,0)|0|0;m=p+(m*40|0)+8|0;B=da(m|0,2,0,0)|0|0;w=v&65535;q=B&65535;l=f+(g*20|0)+3|0;y=da(l>>0|0,1,0,1)|0|0;do if(!((B|v)&1)){y=y&71;if(y>>>0>66){if((w&14|0)==2){qh(A,0);q=da(m|0,2,0,0)|0|0}else q=B;if((q&14)==2){qh(z,0);y=v;u=B}else{y=v;u=B}}else if((y|0)==66){if((w&2|0)!=0|(w&12|0)==0){x=B;y=v}else{am(A,Cc,1)|0;x=da(m|0,2,0,0)|0|0;y=((da(D|0,2,0,1)|0)&65024|w&511)&65535}J=x&65535;if((J&2|0)!=0|(J&12|0)==0)u=B;else{am(z,Cc,1)|0;u=((da(m|0,2,0,1)|0)&65024|q&511)&65535}}else{y=v;u=B}if((da(D|0,2,0,0)|0)&16384){Qg(A)|0;y=y&49151}if((da(m|0,2,0,0)|0)&16384){Qg(z)|0;u=u&49151}if(da($d>>0|0,1,0,0)|0){o=$d;p=ce;e=d;d=n;be=1317;break a}J=gm(z,A,da(f+(g*20|0)+16|0,4,0,0)|0|0)|0;x=da(s>>0|0,1,0,0)|0|0;e=g;s=J}else{if(y&128){y=v;u=B;e=g;s=(v&1&B)<<16>>16!=0&(q&256|0)==0&1^1;break}if(y&32){h=da(f+(g*20|0)+8|0,4,0,0)|0|0;G=p+(h*40|0)+8|0;ea(G|0,(da(G|0,2,0,1)|0)&48640|1|0,2,0);G=p;H=f;I=K;J=L;h=p+(h*40|0)|0;e=g;break q}if(!(y&16)){G=p;H=f;I=K;J=L;e=g;break q}G=p;H=f;I=K;J=L;e=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;break q}while(0);switch(x&255|0){case 79:{s=(s|0)==0&1;break}case 78:{s=(s|0)!=0&1;break}case 82:{s=s>>>31;break}case 81:{s=(s|0)<1&1;break}case 80:{s=(s|0)>0&1;break}default:s=s>>>31^1}if(!((da(l>>0|0,1,0,0)|0)&32)){if(s)e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}else{J=da(f+(e*20|0)+8|0,4,0,0)|0|0;h=p+(J*40|0)|0;J=p+(J*40|0)+8|0;ea(J|0,(da(J|0,2,0,1)|0)&48640|4|0,2,0);J=h;ea(J|0,s|0,4,0);ea(J+4|0,0|0,4,0)}ea(D|0,y|0,2,0);ea(m|0,u|0,2,0);G=p;H=f;I=K;J=L;break}case 248:{be=0;G=p;H=f;I=da(f+(e*20|0)+16|0,4,0,0)|0|0;J=L;break}case 249:{be=0;m=((da(f+(e*20|0)+3>>0|0,1,0,0)|0)&1)==0?0:K;v=da(f+(e*20|0)+12|0,4,0,0)|0|0;w=da(f+(e*20|0)+16|0,4,0,0)|0|0;x=da(f+(e*20|0)+4|0,4,0,0)|0|0;y=da(f+(e*20|0)+8|0,4,0,0)|0|0;if((v|0)>0){g=(m|0)==0;l=w+16|0;u=0;while(1){if(g)q=u;else q=da(m+(u<<2)|0,4,0,0)|0|0;s=da((da(l|0,4,0,0)|0|0)+u>>0|0,1,0,0)|0|0;q=gm(p+((q+x|0)*40|0)|0,p+((q+y|0)*40|0)|0,da(w+(u<<2)+20|0,4,0,0)|0|0)|0;u=u+1|0;if(q)break;if((u|0)>=(v|0)){G=p;H=f;I=0;J=0;break q}}G=p;H=f;I=0;J=s<<24>>24==0?q:0-q|0}else{G=p;H=f;I=0;J=L}break}case 256:{be=0;if((L|0)<0){G=p;H=f;I=K;J=L;e=(da(f+(g*20|0)+4|0,4,0,0)|0|0)+-1|0;break}if(!L){G=p;H=f;I=K;J=0;e=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;break}else{G=p;H=f;I=K;J=L;e=(da(f+(g*20|0)+12|0,4,0,0)|0|0)+-1|0;break}}case 261:{be=0;g=da(f+(e*20|0)+4|0,4,0,0)|0|0;if(!((da(p+(g*40|0)+8|0,2,0,0)|0)&1)){h=Ug(p+(g*40|0)|0)|0;h=(h|0)!=0|(C|0)!=0?3:0}else h=6;g=da(f+(e*20|0)+8|0,4,0,0)|0|0;if(!((da(p+(g*40|0)+8|0,2,0,0)|0)&1)){g=Ug(p+(g*40|0)|0)|0;g=((g|0)!=0|(C|0)!=0)&1}else g=2;g=da(((da(s>>0|0,1,0,0)|0|0)==72?41680:41696)+(g+h)>>0|0,1,0,0)|0|0;h=da(f+(e*20|0)+12|0,4,0,0)|0|0;y=p+(h*40|0)|0;if(g<<24>>24==2){G=p+(h*40|0)+8|0;ea(G|0,(da(G|0,2,0,1)|0)&48640|1|0,2,0);G=p;H=f;I=K;J=L;h=y;break}else{G=y;ea(G|0,g&255|0,4,0);ea(G+4|0,0|0,4,0);G=p+(h*40|0)+8|0;ea(G|0,(da(G|0,2,0,1)|0)&48640|4|0,2,0);G=p;H=f;I=K;J=L;h=y;break}}case 268:{be=0;g=da(f+(e*20|0)+4|0,4,0,0)|0|0;h=da(f+(e*20|0)+8|0,4,0,0)|0|0;y=p+(h*40|0)|0;h=p+(h*40|0)+8|0;if(!((da(h|0,2,0,0)|0)&9312))ea(h|0,1|0,2,0);else ug(y);if(!((da(p+(g*40|0)+8|0,2,0,0)|0)&1)){ea(h|0,4|0,2,0);H=Ug(p+(g*40|0)|0)|0;G=y;ea(G|0,(H|0)==0&(C|0)==0&1|0,4,0);ea(G+4|0,0|0,4,0);G=p;H=f;I=K;J=L;h=y}else{G=p;H=f;I=K;J=L;h=y}break}case 273:{be=0;g=da(f+(e*20|0)+4|0,4,0,0)|0|0;h=da(f+(e*20|0)+8|0,4,0,0)|0|0;y=p+(h*40|0)|0;h=p+(h*40|0)+8|0;if(!((da(h|0,2,0,0)|0)&9312))ea(h|0,1|0,2,0);else ug(y);if(!((da(p+(g*40|0)+8|0,2,0,0)|0)&1)){ea(h|0,4|0,2,0);H=Ug(p+(g*40|0)|0)|0;G=y;ea(G|0,~H|0,4,0);ea(G+4|0,~C|0,4,0);G=p;H=f;I=K;J=L;h=y}else{G=p;H=f;I=K;J=L;h=y}break}case 278:{be=0;g=(da(Ab|0,4,0,0)|0|0)+(da(f+(e*20|0)+4|0,4,0,0)|0|0)|0;if(!(da(g>>0|0,1,0,0)|0)){ea(g>>0|0,1|0,1,0);G=p;H=f;I=K;J=L;break}else{G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0;break}}case 281:{be=0;g=da(f+(e*20|0)+4|0,4,0,0)|0|0;if(!((da(p+(g*40|0)+8|0,2,0,0)|0)&1)){g=+Tg(p+(g*40|0)|0)!=0.0;g=(g^(da(s>>0|0,1,0,0)|0|0)==46)&1}else g=da(f+(e*20|0)+12|0,4,0,0)|0|0;if(!g){G=p;H=f;I=K;J=L}else{G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}break}case 286:{be=0;if(!((da(p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)+8|0,2,0,0)|0)&1)){G=p;H=f;I=K;J=L}else{G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}break}case 288:{be=0;if(!((da(p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)+8|0,2,0,0)|0)&1)){G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}else{G=p;H=f;I=K;J=L}break}case 290:{be=0;H=da(f+(g*20|0)+8|0,4,0,0)|0|0;B=da(f+(g*20|0)+12|0,4,0,0)|0|0;q=p+(B*40|0)|0;G=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;m=da(G+80|0,4,0,0)|0|0;l=da(G|0,4,0,0)|0|0;if(!(da(G+26>>0|0,1,0,0)|0)){if((l|0)!=0?(da(l+73>>0|0,1,0,0)|0|0)!=1:0){Md=im(G)|0;be=295}}else{Md=hm(G)|0;be=295}if((be|0)==295?(be=0,(Md|0)!=0):0){h=Md;be=1318;break c}A=G+60|0;s=da(Ud|0,4,0,0)|0|0;u:do if((da(A|0,4,0,0)|0|0)==(s|0)){s=da(G+22|0,2,0,0)|0|0;if((s&65535|0)>(H|0))be=350;else{x=G+72|0;be=318}}else{do if(da(G+25>>0|0,1,0,0)|0){if(!l){y=da(G+16|0,4,0,0)|0|0;v=da(p+(y*40|0)+12|0,4,0,0)|0|0;ea(G+68|0,v|0,4,0);ea(G+64|0,v|0,4,0);y=da(p+(y*40|0)+16|0,4,0,0)|0|0;z=G+76|0;ea(z|0,y|0,4,0);break}e=p+(B*40|0)+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);break u}else{ug(q);break u}}else{if(!((da(G+27>>0|0,1,0,0)|0)&4)){jm(l,md);x=da(l+40|0,2,0,1)|0|0;y=da(l+32|0,4,0,0)|0|0;ea(G+76|0,y|0,4,0);s=da(md|0,4,0,0)|0|0;ea(G+64|0,s|0,4,0)}else{s=G+64|0;km(l,s);x=da(l+40|0,2,0,1)|0|0;y=da(l+32|0,4,0,0)|0|0;ea(G+76|0,y|0,4,0);s=da(s|0,4,0,0)|0|0}ea(G+68|0,(s>>>0>x>>>0?x:s)|0,4,0);if(s>>>0>(da(sb|0,4,0,0)|0|0)>>>0){h=n;be=1316;break c}z=G+76|0;s=da(Ud|0,4,0,0)|0|0;v=x}while(0);ea(A|0,s|0,4,0);s=da(y>>0|0,1,0,0)|0|0;if(s<<24>>24>-1){w=s&255;ea(_c|0,w|0,4,0);y=1}else{y=lm(y,_c)|0;w=da(_c|0,4,0,0)|0|0}x=G+72|0;ea(x|0,y&255|0,4,0);ea(G+22|0,0|0,2,0);ea(m|0,w|0,4,0);if(w>>>0>98307){h=n;be=313;break c}if(w>>>0>(da(G+64|0,4,0,0)|0|0)>>>0){h=n;be=313;break c}if(v>>>0>>0){ea(z|0,0|0,4,0);ea(G+68|0,0|0,4,0);s=0;be=318}else{s=0;be=318}}while(0);do if((be|0)==318){be=0;y=da(x|0,4,0,0)|0|0;w=da(m|0,4,0,0)|0|0;if(y>>>0>>0){F=G+76|0;v=da(F|0,4,0,0)|0|0;if(!v){I=Cd+0|0;J=I+40|0;do{ea(I|0,0|0,4,0);I=I+4|0}while((I|0)<(J|0));y=mm(l,0,da(m|0,4,0,0)|0|0,((da(G+27>>0|0,1,0,1)|0|0)>>>2&1^1)&255,Cd)|0;if(y){f=y;h=n;be=1309;break c}s=G+22|0;E=s;s=da(s|0,2,0,0)|0|0;y=da(x|0,4,0,0)|0|0;w=da(m|0,4,0,0)|0|0;D=da(Cb|0,4,0,0)|0|0}else{E=G+22|0;D=v}u=s&65535;z=da(m+(u<<2)|0,4,0,0)|0|0;ea(_c|0,z|0,4,0);s=D+w|0;y=D+y|0;while(1){v=da(y>>0|0,1,0,0)|0|0;if(v<<24>>24>-1){A=v&255;ea(Ed|0,A|0,4,0);y=y+1|0}else{y=y+((lm(y,Ed)|0)&255)|0;A=da(Ed|0,4,0,0)|0|0}ea(G+(u<<2)+84|0,A|0,4,0);if(A>>>0>11)v=(A+-12|0)>>>1;else v=da(34336+A>>0|0,1,0,1)|0|0;A=z+v|0;ea(_c|0,A|0,4,0);if(A>>>0>>0){y=A;v=u;be=331;break}v=u+1|0;ea(m+(v<<2)|0,A|0,4,0);if((u|0)<(H|0)&y>>>0>>0){z=A;u=v}else break}if((be|0)==331){be=0;A=y;y=D+(w+1)|0}ea(E|0,v|0,2,0);ea(x|0,y-D|0,4,0);if(!(da(F|0,4,0,0)|0)){if(!(((da(Db|0,2,0,0)|0)&9312)==0&(da(Eb|0,4,0,0)|0|0)==0))Pg(Cd);ea(Db|0,1|0,2,0)}if(y>>>0>=s>>>0){if(y>>>0>s>>>0){h=n;be=343;break c}if((A|0)==(da(G+64|0,4,0,0)|0|0))s=A;else{h=n;be=343;break c}}else s=da(G+64|0,4,0,0)|0|0;if(A>>>0>s>>>0){h=n;be=343;break c}s=da(E|0,2,0,0)|0|0}if((s&65535|0)<=(H|0)){if((da(f+(g*20|0)+1>>0|0,1,0,0)|0|0)==-8){Yl(q,da(f+(g*20|0)+16|0,4,0,0)|0|0,2048);e=p+(B*40|0)+8|0;break}e=p+(B*40|0)+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);break}else{ug(q);break}}else be=350}while(0);if((be|0)==350){be=0;e=p+(B*40|0)+8|0;if((da(e|0,2,0,0)|0)&9312)ug(q);y=da(G+(H<<2)+84|0,4,0,0)|0|0;ea(Ed|0,y|0,4,0);do if((da(G+68|0,4,0,0)|0|0)>>>0<(da(m+(H+1<<2)|0,4,0,0)|0|0)>>>0){J=da(f+(g*20|0)+3>>0|0,1,0,0)|0|0;if(!((J&255)>63?y>>>0>11&(y&1|0)==0|J<<24>>24<0:0)){if(y>>>0>11)s=(y+-12|0)>>>1;else s=da(34336+y>>0|0,1,0,1)|0|0;if(s){s=mm(l,da(m+(H<<2)|0,4,0,0)|0|0,s,((da(G+27>>0|0,1,0,1)|0|0)>>>2&1^1)&255,q)|0;if(s){f=s;h=n;be=1309;break c}nm(da(p+(B*40|0)+16|0,4,0,0)|0|0,y,q)|0;ea(e|0,(da(e|0,2,0,1)|0)&61439|0,2,0);break}}nm(y>>>0<14?md:0,y,q)|0}else nm((da(G+76|0,4,0,0)|0|0)+(da(m+(H<<2)|0,4,0,0)|0|0)|0,y,q)|0;while(0);ea(p+(B*40|0)+10>>0|0,Cc|0,1,0)}m=da(e|0,2,0,1)|0|0;if((m&4096|0)!=0?(tc=p+(B*40|0)+16|0,uc=da(tc|0,4,0,0)|0|0,(uc|0)!=0):0){l=da(p+(B*40|0)+12|0,4,0,0)|0|0;if(eh(q,l+2|0)|0){o=$d;p=ce;e=d;d=n;be=1317;break a}jw(da(tc|0,4,0,0)|0|0,uc|0,l|0)|0;ea((da(tc|0,4,0,0)|0|0)+l>>0|0,0|0,1,0);ea((da(tc|0,4,0,0)|0|0)+(l+1)>>0|0,0|0,1,0);ea(e|0,m&18|512|0,2,0);G=p;H=f;I=K;J=L;e=g}else{G=p;H=f;I=K;J=L;e=g}break}case 368:{be=0;l=da(f+(e*20|0)+16|0,4,0,0)|0|0;g=da(l>>0|0,1,0,0)|0|0;if(!(g<<24>>24)){G=p;H=f;I=K;J=L}else{m=p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0;while(1){l=l+1|0;em(m,g,Cc);g=da(l>>0|0,1,0,0)|0|0;if(!(g<<24>>24)){G=p;H=f;I=K;J=L;break}else m=m+40|0}}break}case 371:{be=0;I=da(f+(g*20|0)+4|0,4,0,0)|0|0;s=da(f+(g*20|0)+16|0,4,0,0)|0|0;J=p+(I*40|0)|0;I=p+((I+-1+(da(f+(g*20|0)+8|0,4,0,0)|0|0)|0)*40|0)|0;q=da(Fb>>0|0,1,0,0)|0|0;H=da(f+(g*20|0)+12|0,4,0,0)|0|0;h=p+(H*40|0)|0;if(s){e=da(s>>0|0,1,0,0)|0|0;l=J;while(1){s=s+1|0;em(l,e,Cc);e=da(s>>0|0,1,0,0)|0|0;if(!(e<<24>>24))break;else l=l+40|0}}D=(q&255)>3;A=0;z=0;E=0;s=0;m=I;while(1){u=da(m+8|0,2,0,0)|0|0;x=u&65535;v:do if(!(x&1)){do if(!(x&4)){if(x&8){y=7;be=388;break v}y=da(m+12|0,4,0,0)|0|0;if(x&16384)y=(da(m|0,4,0,0)|0|0)+y|0;y=(y<<1)+12|x>>>1&1}else{x=m;y=da(x|0,4,0,0)|0|0;x=da(x+4|0,4,0,0)|0|0;w=dw(y|0,x|0,63)|0;w=w^y;v=C^x;if(v>>>0<0|(v|0)==0&w>>>0<128){if(!((y&1|0)==(y|0)&0==(x|0)&D)){y=1;be=388;break v}y=w+8|0;break}if(v>>>0<0|(v|0)==0&w>>>0<32768){y=2;be=388;break v}if(v>>>0<0|(v|0)==0&w>>>0<8388608){y=3;be=388;break v}if(v>>>0<0|(v|0)==0&w>>>0<2147483648){y=4;be=388;break v}y=v>>>0<32768|(v|0)==32768&w>>>0<0?5:6;be=388;break v}while(0);ea(m+28|0,y|0,4,0);if(y>>>0>11){x=y;y=(y+-12|0)>>>1}else be=391}else{y=0;be=388}while(0);if((be|0)==388){ea(m+28|0,y|0,4,0);be=391}if((be|0)==391){be=0;x=y;y=da(34336+y>>0|0,1,0,1)|0|0}do if(u&16384)if((A|0)==0&(z|0)==0){u=da(m|0,4,0,0)|0|0;y=y-u|0;u=u+s|0;break}else{Qg(m)|0;u=s;break}else u=s;while(0);A=iw(y|0,((y|0)<0)<<31>>31|0,A|0,z|0)|0;z=C;if(x>>>0<128)y=1;else{w=0;y=0;do{y=y+1|0;x=lw(x|0,w|0,7)|0;w=C}while(((x|0)!=0|(w|0)!=0)&(y|0)<9)}y=y+E|0;m=m+-40|0;if(m>>>0>>0){v=y;F=u;break}else{E=y;s=u}}if((v|0)<127)x=v+1|0;else{x=v;w=((v|0)<0)<<31>>31;y=0;do{y=y+1|0;x=lw(x|0,w|0,7)|0;w=C}while(((x|0)!=0|(w|0)!=0)&(y|0)<9);v=y+v|0;x=v;w=((v|0)<0)<<31>>31;s=0;do{s=s+1|0;x=lw(x|0,w|0,7)|0;w=C}while(((x|0)!=0|(w|0)!=0)&(s|0)<9);x=((y|0)<(s|0)&1)+v|0}y=((x|0)<0)<<31>>31;u=iw(x|0,y|0,A|0,z|0)|0;D=C;G=da(sb|0,4,0,0)|0|0;E=((G|0)<0)<<31>>31;if((D|0)>(E|0)|(D|0)==(E|0)&u>>>0>G>>>0){h=n;be=1316;break c}if(eh(h,u)|0){o=$d;p=ce;e=d;d=n;be=1317;break a}q=da(p+(H*40|0)+16|0,4,0,0)|0|0;if(x>>>0<128){ea(q>>0|0,x|0,1,0);z=1;A=J}else{z=(om(q,x,y)|0)&255;A=J}while(1){w=da(A+28|0,4,0,0)|0|0;if(w>>>0<128){ea(q+z>>0|0,w|0,1,0);y=1}else y=(om(q+z|0,w,0)|0)&255;z=y+z|0;y=q+x|0;if(!(w>>>0<8&(w|0)!=0))if(w>>>0>11){s=da(A+12|0,4,0,0)|0|0;jw(y|0,da(A+16|0,4,0,0)|0|0,s|0)|0}else s=0;else{y=A;if(w>>>0>11)s=(w+-12|0)>>>1;else s=da(34336+w>>0|0,1,0,1)|0|0;v=da(y|0,4,0,0)|0|0;y=da(y+4|0,4,0,0)|0|0;w=s;while(1){w=w+-1|0;ea(q+(w+x)>>0|0,v|0,1,0);v=lw(v|0,y|0,8)|0;if(!w)break;else y=C}}A=A+40|0;if(A>>>0>I>>>0)break;else x=s+x|0}ea(p+(H*40|0)+12|0,u|0,4,0);e=p+(H*40|0)+8|0;ea(e|0,16|0,2,0);if(F){ea(h|0,F|0,4,0);ea(e|0,16400|0,2,0)}ea(p+(H*40|0)+10>>0|0,1|0,1,0);G=p;H=f;I=K;J=L;e=g;break}case 446:{be=0;if((da(Vd|0,4,0,0)|0|0)>0){h=n;be=447;break c}if(!l)m=0;else{g=l;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;m=g-l&1073741823}h=rm(ee,0,(da(Hb|0,4,0,0)|0|0)+(da(Gb|0,4,0,0)|0|0)|0)|0;if(h){g=e;be=1318;break c}g=lh(ee,m+33|0,0)|0;if(!g){G=p;H=f;I=K;J=L;h=A}else{J=g+32|0;ea(g|0,J|0,4,0);jw(J|0,l|0,m+1|0)|0;if(!(da(Zd>>0|0,1,0,0)|0))ea(Hb|0,(da(Hb|0,4,0,0)|0|0)+1|0,4,0);else{ea(Zd>>0|0,0|0,1,0);ea(Lb>>0|0,1|0,1,0)}ea(g+24|0,da(Ib|0,4,0,0)|0|0,4,0);ea(Ib|0,g|0,4,0);H=Jb;I=da(H+4|0,4,0,0)|0|0;G=g+8|0;ea(G|0,da(H|0,4,0,0)|0|0,4,0);ea(G+4|0,I|0,4,0);I=Kb;G=da(I+4|0,4,0,0)|0|0;H=g+16|0;ea(H|0,da(I|0,4,0,0)|0|0,4,0);ea(H+4|0,G|0,4,0);G=p;H=f;I=K;J=L;h=A}break}case 486:{ea(Hb|0,(da(Hb|0,4,0,0)|0|0)+-1|0,4,0);be=488;break}case 525:{be=0;vm(da((da(Qd|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0,da(f+(e*20|0)+12|0,4,0,0)|0|0,Qc);G=da(Qc|0,4,0,0)|0|0;H=h;ea(H|0,G|0,4,0);ea(H+4|0,((G|0)<0)<<31>>31|0,4,0);G=p;H=f;I=K;J=L;break}case 558:{be=0;l=wm(a,da(f+(g*20|0)+4|0,4,0,0)|0|0,da(f+(g*20|0)+8|0,4,0,0)|0|0,-1,1)|0;if(!l){o=$d;p=ce;e=d;d=n;be=1317;break a}e=da(f+(g*20|0)+16|0,4,0,0)|0|0;s=l+8|0;ea(s|0,e|0,4,0);q=da(f+(g*20|0)+12|0,4,0,0)|0|0;e=(da(e+6|0,2,0,1)|0)<<2;h=e+148|0;m=lh(ee,h,0)|0;if(!m){f=l;h=n;be=560;break c}ew(m|0,0,h|0)|0;ea(l+56|0,m|0,4,0);J=m+128|0;ea(m+28|0,J|0,4,0);jw(J|0,da(s|0,4,0,0)|0|0,e+20|0)|0;ea(m+140|0,0|0,4,0);if(q)ea(m+134|0,q|0,2,0);e=da(Qd|0,4,0,0)|0|0;h=da((da((da(e+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;ea(m+12|0,h|0,4,0);ea(m+59>>0|0,1|0,1,0);ea(m+57>>0|0,0|0,1,0);ea(m+24|0,ee|0,4,0);ea(m+72|0,m|0,4,0);if(((da(Tb>>0|0,1,0,0)|0|0)!=2?(wc=da(2242*4|0,4,0,0)|0|0,ea(m|0,_(wc,h)|0|0,4,0),J=da((da(e+12|0,4,0,0)|0|0)+80|0,4,0,0)|0|0,J=(J|0)<(wc|0)?wc:J,wc=((h|0)<0)<<31>>31,J=rw(J|0,((J|0)<0)<<31>>31|0,h|0,wc|0)|0,I=C,ea(m+4|0,((I|0)<0|(I|0)==0&J>>>0<536870912?J:536870912)|0,4,0),(da(2234*4|0,4,0,0)|0|0)==0):0)?(ea(m+52|0,h|0,4,0),J=pg(h,wc)|0,ea(m+40|0,J|0,4,0),(J|0)==0):0){f=7;h=n;be=1309;break c}else{G=p;H=f;I=K;J=L;h=A;e=g}break}case 566:{be=0;H=(da((da(Bb|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0)+40|0;J=H;I=da(J|0,4,0,0)|0|0;J=da(J+4|0,4,0,0)|0|0;G=iw(I|0,J|0,1,0)|0;ea(H|0,G|0,4,0);ea(H+4|0,C|0,4,0);if((I|0)==0&(J|0)==0){G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}else{G=p;H=f;I=K;J=L}break}case 568:{be=0;e=wm(a,da(f+(g*20|0)+4|0,4,0,0)|0|0,da(f+(g*20|0)+12|0,4,0,0)|0|0,-1,0)|0;if(!e){o=$d;p=ce;e=d;d=n;be=1317;break a}ea(e+25>>0|0,1|0,1,0);ea(e+16|0,da(f+(g*20|0)+8|0,4,0,0)|0|0,4,0);G=e+27|0;ea(G>>0|0,da(G>>0|0,1,0,0)|0|4|0,1,0);G=p;H=f;I=K;J=L;e=g;break}case 570:{be=0;G=f+(e*20|0)+4|0;Am(a,da((da(Bb|0,4,0,0)|0|0)+((da(G|0,4,0,0)|0)<<2)|0,4,0,0)|0|0);ea((da(Bb|0,4,0,0)|0|0)+((da(G|0,4,0,0)|0)<<2)|0,0|0,4,0);G=p;H=f;I=K;J=L;break}case 571:{be=0;w=da((da(Bb|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;ea(w+25>>0|0,0|0,1,0);if(!((da(w+27>>0|0,1,0,0)|0)&4)){J=da(f+(e*20|0)+16|0,4,0,0)|0|0;ea(pd|0,da(w+8|0,4,0,0)|0|0,4,0);ea(Ub|0,J|0,2,0);ea(Vb>>0|0,(z<<1&2^2)+255|0,1,0);J=da(f+(e*20|0)+12|0,4,0,0)|0|0;g=p+(J*40|0)|0;ea(Wb|0,g|0,4,0);if((da(p+(J*40|0)+8|0,2,0,0)|0)&16384)Qg(g)|0;h=Bm(da(w|0,4,0,0)|0|0,pd,0,0,0,td)|0;if(!h){h=z;y=A}else{g=e;be=1318;break c}}else{s=da(f+(e*20|0)+12|0,4,0,0)|0|0;q=p+(s*40|0)|0;s=p+(s*40|0)+8|0;if(((da(s|0,2,0,0)|0)&14)==2)qh(q,0);y=Ug(q)|0;x=C;s=da(s|0,2,0,1)|0|0;do if(!(s&4)){if(!(s&8)){G=p;H=f;I=K;J=L;h=A;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0;break q}r=+(+da(q|0,8,1,0));t=+(y>>>0)+4294967296.0*+(x|0);if(r>31)+z|0;break}else{s=(r>t&(z&1|0)==0&1)+z|0;break}}else s=z;while(0);h=Bm(da(w|0,4,0,0)|0|0,0,y,x,0,td)|0;J=w+48|0;ea(J|0,y|0,4,0);ea(J+4|0,x|0,4,0);if(!h){h=s;y=A}else{g=e;be=1318;break c}}ea(w+26>>0|0,0|0,1,0);ea(w+60|0,0|0,4,0);g=da(td|0,4,0,0)|0|0;do if((h|0)>63){if((g|0)>=0?!((g|0)==0&(h|0)==65):0){ea(td|0,0|0,4,0);G=p;H=f;I=K;J=L;h=y;break q}ea(td|0,0|0,4,0);h=Cm(da(w|0,4,0,0)|0|0,td)|0;if(!h)be=593;else{g=e;be=1318;break c}}else{if((g|0)<=0?!((g|0)==0&(h|0)==62):0){g=(da((da(w|0,4,0,0)|0|0)+73>>0|0,1,0,0)|0|0)!=1&1;ea(td|0,g|0,4,0);break}ea(td|0,0|0,4,0);h=Dm(da(w|0,4,0,0)|0|0,td)|0;if(!h)be=593;else{g=e;be=1318;break c}}while(0);if((be|0)==593){be=0;g=da(td|0,4,0,0)|0|0}if(!g){G=p;H=f;I=K;J=L;h=y}else{G=p;H=f;I=K;J=L;h=y;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}break}case 596:{be=0;G=da((da(Bb|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;ea(G+25>>0|0,0|0,1,0);I=Ug(p+((da(f+(e*20|0)+8|0,4,0,0)|0|0)*40|0)|0)|0;H=G+48|0;ea(H|0,I|0,4,0);ea(H+4|0,C|0,4,0);ea(G+26>>0|0,1|0,1,0);G=p;H=f;I=K;J=L;break}case 597:{be=0;x=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;e=da(f+(g*20|0)+12|0,4,0,0)|0|0;y=p+(e*40|0)|0;ea(hd|0,0|0,4,0);z=f+(g*20|0)+16|0;s=da(z|0,4,0,0)|0|0;l=x+8|0;q=da(l|0,4,0,0)|0|0;w:do if((s|0)>0){ea(qd|0,q|0,4,0);s=s&65535;ea(Xb|0,s|0,2,0);ea(Yb|0,y|0,4,0);if(!(s<<16>>16))l=qd;else{e=y;q=0;while(1){if((da(e+(q*40|0)+8|0,2,0,0)|0)&16384){Qg(e+(q*40|0)|0)|0;s=da(Xb|0,2,0,0)|0|0}q=q+1|0;if((q|0)>=(s&65535|0)){l=qd;break w}e=da(Yb|0,4,0,0)|0|0}}}else{s=Em(q,Lc,191,hd)|0;if(!s){o=$d;p=ce;e=d;d=n;be=1317;break a}if((da(p+(e*40|0)+8|0,2,0,0)|0)&16384)Qg(y)|0;Fm(da(l|0,4,0,0)|0|0,da(p+(e*40|0)+12|0,4,0,0)|0|0,da(p+(e*40|0)+16|0,4,0,0)|0|0,s);l=s}while(0);ea(l+6>>0|0,0|0,1,0);x:do if((da(w>>0|0,1,0,0)|0|0)==67?(xc=da(l+4|0,2,0,0)|0|0,xc<<16>>16!=0):0){s=da(l+8|0,4,0,0)|0|0;q=0;while(1){if((da(s+(q*40|0)+8|0,2,0,0)|0)&1)break;q=q+1|0;if((q|0)>=(xc&65535|0)){A=g;e=g;break x}}A=g;e=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0}else{A=g;e=g}while(0);s=Bm(da(x|0,4,0,0)|0|0,l,0,0,0,ud)|0;if(!(da(z|0,4,0,0)|0))lg(ee,da(hd|0,4,0,0)|0|0);if(s){g=e;f=s;h=n;be=1309;break c}g=da(ud|0,4,0,0)|0|0;ea(x+12|0,g|0,4,0);g=(g|0)==0;ea(x+25>>0|0,g&1^1|0,1,0);ea(x+26>>0|0,0|0,1,0);ea(x+60|0,0|0,4,0);if((da(w>>0|0,1,0,0)|0|0)==69){if(!g){G=p;H=f;I=K;J=L;break}G=p;H=f;I=K;J=L;e=(da(f+(A*20|0)+8|0,4,0,0)|0|0)+-1|0;break}else{if(g){G=p;H=f;I=K;J=L;break}G=p;H=f;I=K;J=L;e=(da(f+(A*20|0)+8|0,4,0,0)|0|0)+-1|0;break}}case 624:{be=0;H=(da((da(Bb|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0)+40|0;G=H;I=da(G|0,4,0,0)|0|0;G=da(G+4|0,4,0,0)|0|0;J=iw(I|0,G|0,1,0)|0;ea(H|0,J|0,4,0);ea(H+4|0,C|0,4,0);H=h;ea(H|0,I|0,4,0);ea(H+4|0,G|0,4,0);G=p;H=f;I=K;J=L;break}case 647:{be=0;x=da(f+(e*20|0)+8|0,4,0,0)|0|0;l=da((da(Bb|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;g=da(f+(e*20|0)+12|0,4,0,0)|0|0;if(s<<24>>24==75){v=p+(g*40|0)|0;u=da(v|0,4,0,0)|0|0;v=da(v+4|0,4,0,0)|0|0}else{u=g;v=((g|0)<0)<<31>>31}w=f+(e*20|0)+3|0;y=da(w>>0|0,1,0,0)|0|0;if(y&1)ea(nb|0,(da(nb|0,4,0,0)|0|0)+1|0,4,0);if(y&2){d=ge;ea(d|0,u|0,4,0);ea(d+4|0,v|0,4,0);d=u;c=v}s=da(p+(x*40|0)+8|0,2,0,0)|0|0;if(s&1){ea(p+(x*40|0)+16|0,0|0,4,0);ea(p+(x*40|0)+12|0,0|0,4,0)}if(!(y&16))q=0;else q=da(l+12|0,4,0,0)|0|0;if(!(s&16384))s=0;else s=da(p+(x*40|0)|0,4,0,0)|0|0;s=Hm(da(l|0,4,0,0)|0|0,0,u,v,da(p+(x*40|0)+16|0,4,0,0)|0|0,da(p+(x*40|0)+12|0,4,0,0)|0|0,s,(y&255)>>>3&1,q)|0;ea(l+26>>0|0,0|0,1,0);ea(l+60|0,0|0,4,0);if(s){g=e;f=s;h=n;be=1309;break c}g=da(Zb|0,4,0,0)|0|0;if((g|0)!=0?(yc=da(f+(e*20|0)+16|0,4,0,0)|0|0,(yc|0)!=0):0){ac[(fa(g|0,1|0)|0)&1](da(_b|0,4,0,0)|0|0,((da(w>>0|0,1,0,0)|0)&4)!=0?23:18,da((da(Qd|0,4,0,0)|0|0)+((da(l+24>>0|0,1,0,0)|0)<<4)|0,4,0,0)|0|0,yc,u,v);G=p;H=f;I=K;J=L}else{G=p;H=f;I=K;J=L}break}case 671:{be=0;G=da(nb|0,4,0,0)|0|0;ea(ob|0,G|0,4,0);ea(pb|0,(da(pb|0,4,0,0)|0|0)+G|0,4,0);ea(nb|0,0|0,4,0);G=p;H=f;I=K;J=L;break}case 672:{be=0;y=da((da(Bb|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;x=da(f+(e*20|0)+12|0,4,0,0)|0|0;w=da(f+(e*20|0)+16|0,4,0,0)|0|0;g=da(y+56|0,4,0,0)|0|0;q=g+32|0;s=da(q|0,4,0,0)|0|0;y=da(y+8|0,4,0,0)|0|0;if(!s){s=Em(y,0,0,dd)|0;ea(q|0,s|0,4,0);if(!s){g=e;f=7;h=n;be=1309;break c}ea(s+4|0,w|0,2,0)}if(!(da(g+56>>0|0,1,0,0)|0)){g=da(g+36|0,4,0,0)|0|0;q=g;g=g+8|0}else{J=da(g+20|0,4,0,0)|0|0;g=da((da(J+8|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;J=da(J+12|0,4,0,0)|0|0;q=J+(g*56|0)+20|0;g=da(J+(g*56|0)+32|0,4,0,0)|0|0}Fm(y,da(q|0,4,0,0)|0|0,g,s);y:do if((w|0)>0){g=da(s+8|0,4,0,0)|0|0;l=0;while(1){if((da(g+(l*40|0)+8|0,2,0,0)|0)&1)break y;l=l+1|0;if((l|0)>=(w|0)){be=682;break}}}else be=682;while(0);if((be|0)==682){be=0;if(!(Jm(da(p+(x*40|0)+12|0,4,0,0)|0|0,da(p+(x*40|0)+16|0,4,0,0)|0|0,s,0)|0)){G=p;H=f;I=K;J=L;break}}G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0;break}case 700:{be=0;ea(h+8|0,1|0,2,0);G=p;H=f;I=K;J=L;break}case 708:{be=0;ea(h+8|0,1|0,2,0);G=p;H=f;I=K;J=L;break}case 711:{be=0;g=da((da(Bb|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;ea(g+25>>0|0,1|0,1,0);ea(g+60|0,0|0,4,0);g=da(g|0,4,0,0)|0|0;if(!g){G=p;H=f;I=K;J=L}else{G=g+56|0;Vc(da(G|0,4,0,0)|0|0);ea(G|0,0|0,4,0);ea(g+73>>0|0,0|0,1,0);G=p;H=f;I=K;J=L}break}case 801:{be=0;g=da((da(Bb|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;h=da(g|0,4,0,0)|0|0;z=A+8|0;ea(z|0,1|0,2,0);if((da(h+73>>0|0,1,0,0)|0|0)!=1?(Od=im(g)|0,(Od|0)!=0):0){g=e;h=Od;be=1318;break c}if(!(da(g+25>>0|0,1,0,0)|0)){J=Ld;ea(J|0,0|0,4,0);ea(J+4|0,0|0,4,0);jm(h,Ld);ea(fc|0,0|0,2,0);ea(gc|0,ee|0,4,0);ea(hc|0,0|0,4,0);h=mm(h,0,da(Ld|0,4,0,0)|0|0,1,Tc)|0;do if(!h){g=da(jc|0,4,0,0)|0|0;h=da(g>>0|0,1,0,0)|0|0;if(h<<24>>24>-1){s=h&255;ea(jd|0,s|0,4,0)}else{lm(g,jd)|0;s=da(jd|0,4,0,0)|0|0}if(!(s>>>0<3?1:(s|0)>(da(mc|0,4,0,0)|0|0))){g=(da(jc|0,4,0,0)|0|0)+(s+-1)|0;h=da(g>>0|0,1,0,0)|0|0;if(h<<24>>24>-1){h=h&255;ea(Gd|0,h|0,4,0)}else{lm(g,Gd)|0;h=da(Gd|0,4,0,0)|0|0}if(!((h+-1|0)>>>0>8|(h|0)==7)){if(h>>>0>11)g=(h+-12|0)>>>1;else g=da(34336+h>>0|0,1,0,1)|0|0;l=da(mc|0,4,0,0)|0|0;if(l>>>0>=(g+s|0)>>>0){nm((da(jc|0,4,0,0)|0|0)+(l-g)|0,h,Jd)|0;l=Jd;g=da(l|0,4,0,0)|0|0;l=da(l+4|0,4,0,0)|0|0;if(((da(fc|0,2,0,0)|0)&9312)==0&(da(hc|0,4,0,0)|0|0)==0){h=0;break}Pg(Tc);h=0;break}}}if(!(((da(fc|0,2,0,0)|0)&9312)==0&(da(hc|0,4,0,0)|0|0)==0))Pg(Tc);ea(de|0,68698|0,4,0);ea(de+4|0,10788|0,4,0);ad(11,13600,de);h=11;g=0;l=0}else{g=0;l=0}while(0);if(h){g=e;be=1318;break c}G=A;ea(G|0,g|0,4,0);ea(G+4|0,l|0,4,0);ea(z|0,4|0,2,0);G=p;H=f;I=K;J=L;h=A}else{G=p;H=f;I=K;J=L;h=A}break}case 865:{be=0;m=da(s|0,4,0,0)|0|0;s=da((da(Qd|0,4,0,0)|0|0)+(z<<4)+12|0,4,0,0)|0|0;g=da(s+16|0,4,0,0)|0|0;if(g)do{l=(da(g+8|0,4,0,0)|0|0)+32|0;if((da(l|0,4,0,0)|0|0)==(q|0))ea(l|0,m|0,4,0);g=da(g|0,4,0,0)|0|0}while((g|0)!=0);g=da(s+32|0,4,0,0)|0|0;if(g)do{l=(da(g+8|0,4,0,0)|0|0)+40|0;if((da(l|0,4,0,0)|0|0)==(q|0))ea(l|0,m|0,4,0);g=da(g|0,4,0,0)|0|0}while((g|0)!=0);G=p;H=f;I=K;J=L;n=z+1&255;break}case 878:{be=0;Zm(ee,h);G=p;H=f;I=K;J=L;h=y;break}case 881:{be=0;J=da(f+(e*20|0)+4|0,4,0,0)|0|0;ea(Rc|0,ee|0,4,0);ea(W|0,J|0,4,0);ea(X|0,ce|0,4,0);h=da(f+(e*20|0)+16|0,4,0,0)|0|0;ea(de|0,da((da(Qd|0,4,0,0)|0|0)+(J<<4)|0,4,0,0)|0|0,4,0);ea(de+4|0,((J|0)==1?13184:13208)|0,4,0);ea(de+8|0,h|0,4,0);h=th(ee,42048,de)|0;if(!h){g=e;h=n;be=882;break c}ea(Y>>0|0,1|0,1,0);ea(aa|0,0|0,4,0);g=Pe(ee,h,22,Rc,0)|0;g=(g|0)==0?da(aa|0,4,0,0)|0|0:g;lg(ee,h);ea(Y>>0|0,0|0,1,0);if(!g){G=p;H=f;I=K;J=L;h=y}else{f=g;g=e;h=n;be=884;break c}break}case 886:{be=0;jg(ee,Hk((da((da(Qd|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<4)+12|0,4,0,0)|0|0)+8|0,da(f+(e*20|0)+16|0,4,0,0)|0|0,0)|0);ea(Mb|0,da(Mb|0,4,0,0)|0|2|0,4,0);G=p;H=f;I=K;J=L;break}case 887:{be=0;s=Hk((da((da(Qd|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<4)+12|0,4,0,0)|0|0)+24|0,da(f+(e*20|0)+16|0,4,0,0)|0|0,0)|0;if(s){g=(da(s+12|0,4,0,0)|0|0)+8|0;h=da(g|0,4,0,0)|0|0;z:do if((h|0)==(s|0))ea(g|0,da(s+20|0,4,0,0)|0|0,4,0);else{do{if(!h)break z;g=h+20|0;h=da(g|0,4,0,0)|0|0}while((h|0)!=(s|0));ea(g|0,da(s+20|0,4,0,0)|0|0,4,0)}while(0);Ik(ee,s)}ea(Mb|0,da(Mb|0,4,0,0)|0|2|0,4,0);G=p;H=f;I=K;J=L;h=y;break}case 895:{be=0;s=Hk((da((da(Qd|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<4)+12|0,4,0,0)|0|0)+40|0,da(f+(e*20|0)+16|0,4,0,0)|0|0,0)|0;if(!s){G=p;H=f;I=K;J=L}else{g=da(s+20|0,4,0,0)|0|0;if((g|0)==(da(s+24|0,4,0,0)|0|0)){g=an(g+8|0,da(s+4|0,4,0,0)|0|0,de)|0;if(!g)g=0;else g=da(g+8|0,4,0,0)|0|0;l=g+64|0;while(1){J=da(l|0,4,0,0)|0|0;g=J+32|0;if((J|0)==(s|0))break;else l=g}ea(l|0,da(g|0,4,0,0)|0|0,4,0)}ig(ee,s);ea(Mb|0,da(Mb|0,4,0,0)|0|2|0,4,0);G=p;H=f;I=K;J=L}break}case 903:{be=0;A=da(f+(g*20|0)+8|0,4,0,0)|0|0;H=lh(ee,(A<<2)+4|0,0)|0;if(!H){o=$d;p=ce;e=d;d=n;be=1317;break a}q=da(f+(g*20|0)+12|0,4,0,0)|0|0;G=da(f+(g*20|0)+4|0,4,0,0)|0|0;l=p+(G*40|0)|0;if((A|0)>0){s=0;do{J=Ug(p+((s+G|0)*40|0)|0)|0;ea(H+(s<<2)|0,J|0,4,0);s=s+1|0}while((s|0)!=(A|0));s=A}else s=0;ea(H+(s<<2)|0,0|0,4,0);x=da((da(Qd|0,4,0,0)|0|0)+((da(f+(g*20|0)+3>>0|0,1,0,1)|0)<<4)+4|0,4,0,0)|0|0;F=p+(q*40|0)|0;J=da(F|0,4,0,0)|0|0;D=da(x+4|0,4,0,0)|0|0;ea(D+4|0,da(x|0,4,0,0)|0|0,4,0);x=da(D|0,4,0,0)|0|0;m=da((da(x+204|0,4,0,0)|0|0)+12|0,4,0,0)|0|0;ea(Ld|0,D|0,4,0);ea(ca|0,x|0,4,0);x=da(D+44|0,4,0,0)|0|0;ea(ga|0,x|0,4,0);ea(ha|0,J|0,4,0);ea(ia+0|0,0|0,4,0);ea(ia+4|0,0|0,4,0);ea(ia+8|0,0|0,4,0);ea(ia+12|0,0|0,4,0);ea(ia+16|0,0|0,4,0);do if(!x){q=0;s=0}else{y=(x>>>3)+1|0;w=pg(y,0)|0;if(!w){ea(la|0,0|0,4,0);q=0;s=1;break}ew(w|0,0,y|0)|0;ea(la|0,w|0,4,0);E=D+32|0;y=(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(E|0,4,0,0)|0|0)>>>0)|0)+1|0;if(y>>>0<=x>>>0){J=w+(y>>>3)|0;ea(J>>0|0,da(J>>0|0,1,0,1)|0|1<<(y&7)|0,1,0)}ea(na|0,Gd|0,4,0);ea(oa|0,Gd|0,4,0);ea(ma|0,0|0,4,0);ea(pa|0,0|0,4,0);ea(qa|0,100|0,4,0);ea(ra|0,1e9|0,4,0);ea(ta>>0|0,0|0,1,0);ea(sa>>0|0,2|0,1,0);ea(ka|0,43592|0,4,0);s=da((da(D+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;bn(Ld,1,(da(s+33>>0|0,1,0,1)|0)<<16|(da(s+32>>0|0,1,0,1)|0)<<24|(da(s+34>>0|0,1,0,1)|0)<<8|(da(s+35>>0|0,1,0,1)|0),(da(s+37>>0|0,1,0,1)|0)<<16|(da(s+36>>0|0,1,0,1)|0)<<24|(da(s+38>>0|0,1,0,1)|0)<<8|(da(s+39>>0|0,1,0,1)|0));ea(ka|0,0|0,4,0);s=da(ha|0,4,0,0)|0|0;if(!((A|0)<1|(s|0)==0)){v=D+17|0;w=0;do{x=H+(w<<2)|0;y=da(x|0,4,0,0)|0|0;if(y){if((da(v>>0|0,1,0,0)|0|0)!=0&(y|0)>1){cn(Ld,y,1,0);y=da(x|0,4,0,0)|0|0}ea(ka|0,43608|0,4,0);dn(Ld,y,0,0)|0;ea(ka|0,0|0,4,0);s=da(ha|0,4,0,0)|0|0}w=w+1|0}while(!((w|0)>=(A|0)|(s|0)==0))}if(!((da(ga|0,4,0,0)|0|0)==0|(s|0)==0)){A=D+17|0;z=D+36|0;u=1;do{w=u>>>3;y=da((da(la|0,4,0,0)|0|0)+w>>0|0,1,0,0)|0|0;v=1<<(u&7);do if(!(y&255&v)){if(u>>>0<2)x=0;else{x=u+-2|0;x=x-((x>>>0)%(((((da(z|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;x=((x+1|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(E|0,4,0,0)|0|0)>>>0)|0|0)?3:2)+x|0}if((x|0)==(u|0)?(da(A>>0|0,1,0,0)|0|0)!=0:0)break;ea(de|0,u|0,4,0);en(Ld,43632,de);y=da((da(la|0,4,0,0)|0|0)+w>>0|0,1,0,0)|0|0}while(0);do if(y&255&v){if(u>>>0<2)y=0;else{y=u+-2|0;y=y-((y>>>0)%(((((da(z|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;y=((y+1|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(E|0,4,0,0)|0|0)>>>0)|0|0)?3:2)+y|0}if((y|0)!=(u|0))break;if(!(da(A>>0|0,1,0,0)|0))break;ea(de|0,u|0,4,0);en(Ld,43656,de)}while(0);u=u+1|0}while(!((da(ha|0,4,0,0)|0|0)==0?1:u>>>0>(da(ga|0,4,0,0)|0|0)>>>0))}s=da((da((da(D|0,4,0,0)|0|0)+204|0,4,0,0)|0|0)+12|0,4,0,0)|0|0;if((m|0)!=(s|0)){ea(de|0,m|0,4,0);ea(de+4|0,s|0,4,0);en(Ld,43696,de)}Vc(da(la|0,4,0,0)|0|0);if(da(ja|0,4,0,0)|0){fn(ma);q=0;s=(da(ia|0,4,0,0)|0|0)+1|0;break}s=da(ia|0,4,0,0)|0|0;if(!s)fn(ma);q=sg(ma)|0}while(0);lg(ee,H);J=F;J=cw(da(J|0,4,0,0)|0|0,da(J+4|0,4,0,0)|0|0,s|0,((s|0)<0)<<31>>31|0)|0;e=F;ea(e|0,J|0,4,0);ea(e+4|0,C|0,4,0);e=p+(G*40|0)+8|0;if(!((da(e|0,2,0,0)|0)&9312))ea(e|0,1|0,2,0);else ug(l);if(s){if(!q){o=$d;p=ce;e=d;d=n;be=1317;break a}Wg(l,q,-1,1,1)|0}Xl(l,qb)|0;G=p;H=f;I=K;J=L;e=g;break}case 947:{be=0;l=da(f+(g*20|0)+4|0,4,0,0)|0|0;e=p+(l*40|0)|0;h=da(f+(g*20|0)+8|0,4,0,0)|0|0;l=p+(l*40|0)+8|0;if(((da(l|0,2,0,0)|0)&32)==0?(gn(e),((da(l|0,2,0,0)|0)&32)==0):0){o=$d;p=ce;e=d;d=n;be=1317;break a}G=p+(h*40|0)|0;hn(da(e|0,4,0,0)|0|0,da(G|0,4,0,0)|0|0,da(G+4|0,4,0,0)|0|0);G=p;H=f;I=K;J=L;h=y;e=g;break}case 966:{be=0;e=da(f+(g*20|0)+4|0,4,0,0)|0|0;F=p+(e*40|0)|0;E=p+((da(f+(g*20|0)+12|0,4,0,0)|0|0)*40|0)|0;D=da(f+(g*20|0)+16|0,4,0,0)|0|0;e=p+(e*40|0)+8|0;if(((da(e|0,2,0,0)|0)&32)==0?(gn(F),((da(e|0,2,0,0)|0)&32)==0):0){o=$d;p=ce;e=d;d=n;be=1317;break a}if(D){A=da(F|0,4,0,0)|0|0;l=E;B=da(l|0,4,0,0)|0|0;l=da(l+4|0,4,0,0)|0|0;z=A+28|0;if((da(z|0,4,0,0)|0|0)!=(D|0)){s=A+8|0;y=da(s|0,4,0,0)|0|0;if(y){x=A+20|0;q=A+26|0;if(!((da(q|0,2,0,0)|0)&1))y=jn(y)|0;w=da(x|0,4,0,0)|0|0;A:do if(!w){$c=y;kd=x;be=978}else{while(1){x=w+12|0;v=da(x|0,4,0,0)|0|0;if(!v)break;u=w+8|0;kn(v,de,Ld);ea(x|0,0|0,4,0);y=ln(da(de|0,4,0,0)|0|0,y)|0;w=da(u|0,4,0,0)|0|0;if(!w){$c=y;kd=u;be=978;break A}}ea(x|0,mn(y)|0|0,4,0)}while(0);if((be|0)==978?(be=0,Dc=nn(A)|0,ea(kd|0,Dc|0,4,0),(Dc|0)!=0):0){J=Dc;ea(J|0,0|0,4,0);ea(J+4|0,0|0,4,0);ea(Dc+8|0,0|0,4,0);ea(Dc+12|0,mn($c)|0|0,4,0)}ea(s|0,0|0,4,0);ea(A+12|0,0|0,4,0);ea(q|0,da(q|0,2,0,1)|0|1|0,2,0)}ea(z|0,D|0,4,0)}s=da(A+20|0,4,0,0)|0|0;B:do if(s){C:while(1){q=da(s+12|0,4,0,0)|0|0;if(q)do{e=q;u=da(e|0,4,0,0)|0|0;e=da(e+4|0,4,0,0)|0|0;if((e|0)<(l|0)|(e|0)==(l|0)&u>>>0>>0)q=q+8|0;else{if(!((e|0)>(l|0)|(e|0)==(l|0)&u>>>0>B>>>0))break C;q=q+12|0}q=da(q|0,4,0,0)|0|0}while((q|0)!=0);s=da(s+8|0,4,0,0)|0|0;if(!s)break B}G=p;H=f;I=K;J=L;e=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;break q}while(0);if((D|0)>-1)s=E;else{G=p;H=f;I=K;J=L;e=g;break}}else s=E;G=s;hn(da(F|0,4,0,0)|0|0,da(G|0,4,0,0)|0|0,da(G+4|0,4,0,0)|0|0);G=p;H=f;I=K;J=L;e=g;break}case 993:{be=0;z=da(f+(e*20|0)+16|0,4,0,0)|0|0;x=da(f+(e*20|0)+12|0,4,0,0)|0|0;A=p+(x*40|0)|0;if((da(f+(e*20|0)+3>>0|0,1,0,0)|0|0)!=0?(Ec=da(z+20|0,4,0,0)|0|0,ed=da(lb|0,4,0,0)|0|0,(ed|0)!=0):0){g=ed;while(1){if((da(g+28|0,4,0,0)|0|0)==(Ec|0)){G=p;H=f;I=K;J=L;break q}g=da(g+4|0,4,0,0)|0|0;if(!g){g=e;break}}}else g=e;e=da(mb|0,4,0,0)|0|0;if((e|0)>=(da(ua|0,4,0,0)|0|0)){h=n;be=998;break c}u=p+(x*40|0)+8|0;if(!((da(u|0,2,0,0)|0)&64)){s=z+12|0;q=da(s|0,4,0,0)|0|0;e=q+(da(z+8|0,4,0,0)|0|0)|0;f=z+16|0;q=(q<<2)+80+(da(f|0,4,0,0)|0|0)+(e*40|0)|0;y=lh(ee,q,((q|0)<0)<<31>>31)|0;if(!y){o=$d;p=ce;e=d;d=n;be=1317;break a}ew(y|0,0,q|0)|0;if(!(((da(u|0,2,0,0)|0)&9312)==0?(da(p+(x*40|0)+24|0,4,0,0)|0|0)==0:0))Pg(A);ea(u|0,64|0,2,0);ea(A|0,y|0,4,0);ea(y|0,a|0,4,0);ea(y+60|0,e|0,4,0);ea(y+64|0,da(s|0,4,0,0)|0|0,4,0);ea(y+44|0,g|0,4,0);ea(y+16|0,da(Gc|0,4,0,0)|0|0,4,0);ea(y+52|0,da(va|0,4,0,0)|0|0,4,0);ea(y+24|0,da(Bb|0,4,0,0)|0|0,4,0);ea(y+40|0,da(wa|0,4,0,0)|0|0,4,0);ea(y+8|0,da(rc|0,4,0,0)|0|0,4,0);ea(y+48|0,da(xa|0,4,0,0)|0|0,4,0);ea(y+28|0,da(z+20|0,4,0,0)|0|0,4,0);ea(y+20|0,da(Ab|0,4,0,0)|0|0,4,0);ea(y+56|0,da(ya|0,4,0,0)|0|0,4,0);p=y+80|0;e=p+(e*40|0)|0;if((p|0)!=(e|0))do{ea(p+8|0,128|0,2,0);ea(p+32|0,ee|0,4,0);p=p+40|0}while((p|0)!=(e|0));e=da(mb|0,4,0,0)|0|0;p=y}else{f=z+16|0;p=da(A|0,4,0,0)|0|0}ea(mb|0,e+1|0,4,0);ea(p+4|0,da(lb|0,4,0,0)|0|0,4,0);G=p+32|0;ea(G|0,d|0,4,0);ea(G+4|0,c|0,4,0);ea(p+68|0,da(nb|0,4,0,0)|0|0,4,0);ea(p+72|0,da((da(a|0,4,0,0)|0|0)+80|0,4,0,0)|0|0,4,0);ea(nb|0,0|0,4,0);ea(lb|0,p|0,4,0);G=p+40|0;ea(Gc|0,G|0,4,0);I=da(p+60|0,4,0,0)|0|0;ea(va|0,I|0,4,0);J=(da(p+64|0,4,0,0)|0)&65535;ea(wa|0,J|0,4,0);I=G+((I+1|0)*40|0)|0;ea(Bb|0,I|0,4,0);H=da(z|0,4,0,0)|0|0;ea(rc|0,H|0,4,0);ea(xa|0,da(z+4|0,4,0,0)|0|0,4,0);J=I+(J<<2)|0;ea(Ab|0,J|0,4,0);I=da(f|0,4,0,0)|0|0;ea(ya|0,I|0,4,0);ew(J|0,0,I|0)|0;I=K;J=L;e=-1;break}case 1009:{be=0;G=da(lb|0,4,0,0)|0|0;Yl(h,(da(G+16|0,4,0,0)|0|0)+(((da((da(G+8|0,4,0,0)|0|0)+((da(G+44|0,4,0,0)|0|0)*20|0)+4|0,4,0,0)|0|0)+(da(f+(e*20|0)+4|0,4,0,0)|0|0)|0)*40|0)|0,4096);G=p;H=f;I=K;J=L;break}case 1010:{be=0;if((da(Mb|0,4,0,0)|0)&16777216){H=da(f+(e*20|0)+8|0,4,0,0)|0|0;G=Kb;H=iw(da(G|0,4,0,0)|0|0,da(G+4|0,4,0,0)|0|0,H|0,((H|0)<0)<<31>>31|0)|0;G=Kb;ea(G|0,H|0,4,0);ea(G+4|0,C|0,4,0);G=p;H=f;I=K;J=L;h=y;break}g=da(f+(e*20|0)+8|0,4,0,0)|0|0;h=((g|0)<0)<<31>>31;if(!(da(f+(e*20|0)+4|0,4,0,0)|0)){H=Td;H=iw(da(H|0,4,0,0)|0|0,da(H+4|0,4,0,0)|0|0,g|0,h|0)|0;G=Td;ea(G|0,H|0,4,0);ea(G+4|0,C|0,4,0);G=p;H=f;I=K;J=L;h=y;break}else{H=Jb;H=iw(da(H|0,4,0,0)|0|0,da(H+4|0,4,0,0)|0|0,g|0,h|0)|0;G=Jb;ea(G|0,H|0,4,0);ea(G+4|0,C|0,4,0);G=p;H=f;I=K;J=L;h=y;break}}case 1015:{be=0;if(!(da(f+(e*20|0)+4|0,4,0,0)|0)){J=Td;if(!((da(J|0,4,0,0)|0|0)==0&(da(J+4|0,4,0,0)|0|0)==0)){G=p;H=f;I=K;J=L;break}J=Kb;if(!((da(J|0,4,0,0)|0|0)==0&(da(J+4|0,4,0,0)|0|0)==0)){G=p;H=f;I=K;J=L;break}G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0;break}else{J=Jb;if(!((da(J|0,4,0,0)|0|0)==0&(da(J+4|0,4,0,0)|0|0)==0)){G=p;H=f;I=K;J=L;break}J=Kb;if(!((da(J|0,4,0,0)|0|0)==0&(da(J+4|0,4,0,0)|0|0)==0)){G=p;H=f;I=K;J=L;break}G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0;break}}case 1022:{be=0;g=da(lb|0,4,0,0)|0|0;if(!g)m=p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0;else{while(1){h=da(g+4|0,4,0,0)|0|0;if(!h)break;else g=h}m=(da(g+16|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0}J=Ug(m)|0;l=m;ea(l|0,J|0,4,0);ea(l+4|0,C|0,4,0);l=m+8|0;ea(l|0,(da(l|0,2,0,1)|0)&48640|4|0,2,0);l=da(f+(e*20|0)+8|0,4,0,0)|0|0;J=p+(l*40|0)|0;g=Ug(J)|0;h=C;ea(J|0,g|0,4,0);ea(J+4|0,h|0,4,0);l=p+(l*40|0)+8|0;ea(l|0,(da(l|0,2,0,1)|0)&48640|4|0,2,0);l=m;J=da(l+4|0,4,0,0)|0|0;if((J|0)<(h|0)|((J|0)==(h|0)?(da(l|0,4,0,0)|0|0)>>>0>>0:0)){G=m;ea(G|0,g|0,4,0);ea(G+4|0,h|0,4,0);G=p;H=f;I=K;J=L;h=A}else{G=p;H=f;I=K;J=L;h=A}break}case 1028:{be=0;J=p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0;I=da(J+4|0,4,0,0)|0|0;if((I|0)>0|(I|0)==0&(da(J|0,4,0,0)|0|0)>>>0>0){G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}else{G=p;H=f;I=K;J=L}break}case 1030:{be=0;H=da(f+(e*20|0)+12|0,4,0,0)|0|0;I=p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0;J=I;H=iw(da(J|0,4,0,0)|0|0,da(J+4|0,4,0,0)|0|0,H|0,((H|0)<0)<<31>>31|0)|0;J=C;ea(I|0,H|0,4,0);ea(I+4|0,J|0,4,0);if((J|0)<0){G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}else{G=p;H=f;I=K;J=L}break}case 1032:{be=0;g=p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0;l=g;h=da(l|0,4,0,0)|0|0;l=da(l+4|0,4,0,0)|0|0;if((h|0)==0&(l|0)==0){G=p;H=f;I=K;J=L;h=y}else{H=da(f+(e*20|0)+12|0,4,0,0)|0|0;H=iw(H|0,((H|0)<0)<<31>>31|0,h|0,l|0)|0;G=g;ea(G|0,H|0,4,0);ea(G+4|0,C|0,4,0);G=p;H=f;I=K;J=L;h=y;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}break}case 1034:{be=0;H=p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0;I=H;I=iw(da(I|0,4,0,0)|0|0,da(I+4|0,4,0,0)|0|0,-1,-1)|0;J=C;ea(H|0,I|0,4,0);ea(H+4|0,J|0,4,0);if((I|0)==0&(J|0)==0){G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}else{G=p;H=f;I=K;J=L}break}case 1036:{be=0;H=p+((da(f+(e*20|0)+4|0,4,0,0)|0|0)*40|0)|0;J=H;I=da(J|0,4,0,0)|0|0;J=da(J+4|0,4,0,0)|0|0;G=iw(I|0,J|0,1,0)|0;ea(H|0,G|0,4,0);ea(H+4|0,C|0,4,0);if((I|0)==0&(J|0)==0){G=p;H=f;I=K;J=L;e=(da(f+(e*20|0)+8|0,4,0,0)|0|0)+-1|0}else{G=p;H=f;I=K;J=L}break}case 1157:{be=0;G=p;H=f;I=K;J=L;e=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;break}case 1158:{be=0;if(da(f+(e*20|0)+4|0,4,0,0)|0){ea(Rd|0,da(Rd|0,2,0,0)|0|8|0,2,0);G=p;H=f;I=K;J=L;break}g=da(Ob|0,4,0,0)|0|0;if(!g){G=p;H=f;I=K;J=L}else{do{J=g+88|0;ea(J|0,da(J|0,2,0,0)|0|8|0,2,0);g=da(g+52|0,4,0,0)|0|0}while((g|0)!=0);G=p;H=f;I=K;J=L}break}case 1166:{be=0;y=(da(m|0,4,0,0)|0|0)+72|0;g=da(y|0,4,0,0)|0|0;D:do if(g){while(1){if((da(g+4|0,4,0,0)|0|0)==(q|0)?(da(g|0,4,0,0)|0|0)==(s|0):0)break;g=da(g+12|0,4,0,0)|0|0;if(!g){be=1171;break D}}if(!g)be=1171}else be=1171;while(0);if((be|0)==1171){be=0;g=pg(16,0)|0;if(!g){g=e;f=7;h=n;be=1309;break c}I=g+0|0;J=I+12|0;do{ea(I>>0|0,0|0,1,0);I=I+1|0}while((I|0)<(J|0));ea(g+4|0,q|0,4,0);ea(g|0,s|0,4,0);ea(g+12|0,da(y|0,4,0,0)|0|0,4,0);ea(y|0,g|0,4,0)}g=g+8|0;if((da(g>>0|0,1,0,1)|0|0)<(l&255)){ea(g>>0|0,l|0,1,0);G=p;H=f;I=K;J=L}else{G=p;H=f;I=K;J=L}break}case 1213:{be=0;ea(ld|0,0|0,4,0);l=da((da(f+(e*20|0)+16|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;if(!l){g=e;f=6;h=n;be=1309;break c}m=da(l|0,4,0,0)|0|0;if(!m){g=e;f=6;h=n;be=1309;break c}s=qc[(fa(da(m+24|0,4,0,0)|0|0,127|0)|0)&127](l,ld)|0;Lm(a,l);if(s){g=e;f=s;h=n;be=1309;break c}ea(da(ld|0,4,0,0)|0|0,l|0,4,0);g=wm(a,da(f+(e*20|0)+4|0,4,0,0)|0|0,0,-1,0)|0;if(!g){ea($d>>0|0,1|0,1,0);kc[(fa(da(m+28|0,4,0,0)|0|0,127|0)|0)&127](da(ld|0,4,0,0)|0|0)|0;G=p;H=f;I=K;J=L;break}else{ea(g+32|0,da(ld|0,4,0,0)|0|0,4,0);G=l+4|0;ea(G|0,(da(G|0,4,0,0)|0|0)+1|0,4,0);G=p;H=f;I=K;J=L;break}}case 1226:{be=0;g=p+(s*40|0)+8|0;if(!((da(g|0,2,0,0)|0)&9312)){ea(g|0,1|0,2,0);G=p;H=f;I=K;J=L;break}else{ug(q);G=p;H=f;I=K;J=L;break}}case 1257:{be=0;G=h;ea(G|0,da((da((da((da(Qd|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+44|0,4,0,0)|0|0,4,0);ea(G+4|0,0|0,4,0);G=p;H=f;I=K;J=L;break}case 1258:{be=0;l=da((da(Qd|0,4,0,0)|0|0)+((da(f+(e*20|0)+4|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0;g=da(f+(e*20|0)+12|0,4,0,0)|0|0;h=da(l+4|0,4,0,0)|0|0;if(!g)g=0;else{J=da(h+44|0,4,0,0)|0|0;g=J>>>0>>0?g:J}ea(h+4|0,da(l|0,4,0,0)|0|0,4,0);h=(da(h|0,4,0,0)|0|0)+156|0;if((g|0)>0)ea(h|0,g|0,4,0);else g=da(h|0,4,0,0)|0|0;G=y;ea(G|0,g|0,4,0);ea(G+4|0,((g|0)<0)<<31>>31|0,4,0);G=p;H=f;I=K;J=L;h=y;break}case 1264:{be=0;e=da(f+(g*20|0)+8|0,4,0,0)|0|0;e=(e|0)==0?g:e+-1|0;if((da(La|0,4,0,0)|0|0)!=0?((da(Rd|0,2,0,0)|0)&512)==0:0){g=da(f+(g*20|0)+16|0,4,0,0)|0|0;if(!g){g=da(Xd|0,4,0,0)|0|0;if(!g){G=p;H=f;I=K;J=L;h=A;break}}ea(Ld|0,0|0,4,0);v=da(a|0,4,0,0)|0|0;l=da(v+88|0,4,0,0)|0|0;ea(_a|0,Gd|0,4,0);ea($a|0,Gd|0,4,0);ea(ab|0,0|0,4,0);ea(bb|0,100|0,4,0);ea(cb|0,l|0,4,0);ea(db>>0|0,1|0,1,0);ea(eb>>0|0,0|0,1,0);ea(jd|0,v|0,4,0);l=da(g>>0|0,1,0,0)|0|0;h=l<<24>>24==0;E:do if((da(v+160|0,4,0,0)|0|0)>1){if(!h)while(1){h=g;do{h=h+1|0;if(l<<24>>24==10)break;l=da(h>>0|0,1,0,0)|0|0}while(l<<24>>24!=0);Rk(jd,42288,3);Rk(jd,g,h-g|0);l=da(h>>0|0,1,0,0)|0|0;if(!(l<<24>>24))break;else g=h}}else if(!h){w=v+62|0;z=1;do{F:do if(!(l<<24>>24)){q=0;h=0}else{s=g;h=0;while(1){q=Bn(s,de)|0;if((da(de|0,4,0,0)|0|0)==135)break F;h=q+h|0;s=s+q|0;if(!(da(s>>0|0,1,0,0)|0)){q=0;break}}}while(0);Rk(jd,g,h);s=g+h|0;if(!q)break E;do if((da(s>>0|0,1,0,0)|0|0)==63)if((q|0)>1){Cn(g+(h+1)|0,Ld)|0;s=da(Ld|0,4,0,0)|0|0;break}else{ea(Ld|0,z|0,4,0);s=z;break}else{s=ph(a,s,q)|0;ea(Ld|0,s|0,4,0)}while(0);g=g+(h+q)|0;z=s+1|0;y=s+-1|0;x=da(tb|0,4,0,0)|0|0;s=x+(y*40|0)|0;q=da(x+(y*40|0)+8|0,2,0,1)|0|0;do if(!(q&1)){if(q&4){H=s;J=da(H+4|0,4,0,0)|0|0;I=de;ea(I|0,da(H|0,4,0,0)|0|0,4,0);ea(I+4|0,J|0,4,0);Dn(jd,0,19920,de);break}if(q&8){ea(k|0,+(+(+da(s|0,8,1,0))),8,1);ea(de|0,da(k|0,4,0,0)|0|0,4,0);ea(de+4|0,da(k+4|0,4,0,0)|0|0,4,0);Dn(jd,0,20272,de);break}if(!(q&2)){if(q&16384){ea(de|0,da(s|0,4,0,0)|0|0,4,0);Dn(jd,0,42304,de);break}Rk(jd,42320,2);u=da(x+(y*40|0)+12|0,4,0,0)|0|0;if((u|0)>0){s=x+(y*40|0)+16|0;q=0;do{ea(de|0,da((da(s|0,4,0,0)|0|0)+q>>0|0,1,0,1)|0|0,4,0);Dn(jd,0,42328,de);q=q+1|0}while((q|0)!=(u|0))}Rk(jd,42336,1);break}else{u=da(w>>0|0,1,0,0)|0|0;if(u<<24>>24==1){J=da(x+(y*40|0)+16|0,4,0,0)|0|0;ea(de|0,da(x+(y*40|0)+12|0,4,0,0)|0|0,4,0);ea(de+4|0,J|0,4,0);Dn(jd,0,42296,de);break}I=Hd+0|0;J=I+40|0;do{ea(I|0,0|0,4,0);I=I+4|0}while((I|0)<(J|0));ea(gb|0,v|0,4,0);Wg(Hd,da(x+(y*40|0)+16|0,4,0,0)|0|0,da(x+(y*40|0)+12|0,4,0,0)|0|0,u,0)|0;J=da(hb|0,4,0,0)|0|0;if(!((J&2|0)==0|(J&16711680|0)==65536))An(Hd,1)|0;J=da(jb|0,4,0,0)|0|0;ea(de|0,da(ib|0,4,0,0)|0|0,4,0);ea(de+4|0,J|0,4,0);Dn(jd,0,42296,de);if(((da(hb|0,2,0,0)|0)&9312)==0&(da(kb|0,4,0,0)|0|0)==0)break;Pg(Hd);break}}else Rk(jd,20304,4);while(0);l=da(g>>0|0,1,0,0)|0|0}while(l<<24>>24!=0)}while(0);G=sg(jd)|0;ic[(fa(da(La|0,4,0,0)|0|0,15|0)|0)&15](da(fb|0,4,0,0)|0|0,G);lg(ee,G);G=p;H=f;I=K;J=L;h=A}else{G=p;H=f;I=K;J=L;h=A}break}}if((be|0)==28){be=0;p=f+(e*20|0)+4|0;g=da(p|0,4,0,0)|0|0;if(g){o=p;be=34;break}p=da(lb|0,4,0,0)|0|0;if(!p){be=30;break}ea(lb|0,da(p+4|0,4,0,0)|0|0,4,0);ea(mb|0,(da(mb|0,4,0,0)|0|0)+-1|0,4,0);c=da(nb|0,4,0,0)|0|0;ea(ob|0,c|0,4,0);ea(pb|0,(da(pb|0,4,0,0)|0|0)+c|0,4,0);p=Wl(p)|0;c=ge;g=da(rc|0,4,0,0)|0|0;if((da(f+(e*20|0)+8|0,4,0,0)|0|0)==4)e=(da(g+(p*20|0)+8|0,4,0,0)|0|0)+-1|0;else e=p;d=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;G=da(Gc|0,4,0,0)|0|0;H=g;I=K;J=L}else if((be|0)==488){be=0;h=rm(ee,s,q)|0;if(!h){G=p;H=f;I=K;J=L;h=u}else{g=e;be=1318;break}}p=G;f=H;K=I;L=J;g=e+1|0}switch(be|0){case 30:{ea(fe|0,g|0,4,0);ea(_d>>0|0,da(f+(e*20|0)+8|0,4,0,0)|0|0,1,0);ea(ae|0,e|0,4,0);be=41;break}case 34:{ea(fe|0,g|0,4,0);ea(_d>>0|0,da(f+(e*20|0)+8|0,4,0,0)|0|0,1,0);ea(ae|0,e|0,4,0);g=da(f+(e*20|0)+3>>0|0,1,0,0)|0|0;if(!(g<<24>>24)){f=da(f+(e*20|0)+16|0,4,0,0)|0|0;if(!f){f=0;be=39}else{ea(de|0,f|0,4,0);ch(ce,ee,10344,de)}}else{h=da(41536+((g&255)+-1<<2)|0,4,0,0)|0|0;g=da(f+(e*20|0)+16|0,4,0,0)|0|0;if(!g){f=h;be=39}else{ea(de|0,h|0,4,0);ea(de+4|0,g|0,4,0);ch(ce,ee,41624,de)}}if((be|0)==39){ea(de|0,f|0,4,0);ch(ce,ee,41656,de)}be=da(o|0,4,0,0)|0|0;jd=da(Xd|0,4,0,0)|0|0;kd=da(ce|0,4,0,0)|0|0;ea(de|0,e|0,4,0);ea(de+4|0,jd|0,4,0);ea(de+8|0,kd|0,4,0);ad(be,41600,de);be=41;break}case 80:{n=da(Wd|0,4,0,0)|0|0;if(!((n|0)==0|b>>>0>>0)?(kc[(fa(n|0,127|0)|0)&127](da(Sd|0,4,0,0)|0|0)|0)!=0:0){e=d;f=9;d=h;be=1311;break a}kd=Td;jd=da(kd+4|0,4,0,0)|0|0;if((jd|0)>0|(jd|0)==0&(da(kd|0,4,0,0)|0|0)>>>0>0){f=da(a|0,4,0,0)|0|0;ea(fe|0,787|0,4,0);ea(_d>>0|0,2|0,1,0);ch(ce,f,34376,de);f=1;be=1309;break}n=_l(a,1)|0;if(!n){ea(Ud|0,(da(Ud|0,4,0,0)|0|0)+2|1|0,4,0);o=da(f+(g*20|0)+4|0,4,0,0)|0|0;ea(Yd|0,p+(o*40|0)|0,4,0);e=f+(g*20|0)+8|0;if((da(e|0,4,0,0)|0|0)>0){n=0;do{l=n+o|0;m=p+(l*40|0)|0;l=p+(l*40|0)+8|0;f=da(l|0,2,0,0)|0|0;if(f&4096){if(Ul(m)|0){o=$d;p=ce;e=d;d=h;be=1317;break a}f=da(l|0,2,0,0)|0|0}if((f&514)==2)$l(m)|0;n=n+1|0}while((n|0)<(da(e|0,4,0,0)|0|0))}if(da($d>>0|0,1,0,0)|0){o=$d;p=ce;e=d;d=h;be=1317;break a}ea(ae|0,g+1|0,4,0);e=d;d=b;b=100;break a}else{f=n;be=1309}break}case 313:{ea(de|0,73058|0,4,0);ea(de+4|0,10788|0,4,0);ad(11,13600,de);f=11;be=1309;break}case 343:{ea(de|0,73142|0,4,0);ea(de+4|0,10788|0,4,0);ad(11,13600,de);f=11;be=1309;break}case 447:{ch(ce,ee,41712,de);g=e;f=5;be=1309;break}case 460:{ea(de|0,f|0,4,0);ch(ce,ee,41768,de);f=1;be=1309;break}case 462:{ch(ce,ee,41792,de);f=5;be=1309;break}case 467:{ea(ae|0,b|0,4,0);ea(Zd>>0|0,0|0,1,0);ea(fe|0,5|0,4,0);b=5;break a}case 489:{l=da(f+(g*20|0)+4|0,4,0,0)|0|0;f=da(f+(g*20|0)+8|0,4,0,0)|0|0;b=(l|0)!=0;if(b){f=(f|0)!=0;if(!(f|(da(Zd>>0|0,1,0,0)|0|0)!=0))if((da(Vd|0,4,0,0)|0|0)>0){ch(ce,ee,41848,de);b=d;d=e;f=5;be=1309;break}else f=0}else f=(f|0)!=0;if((l|0)==(da(Zd>>0|0,1,0,1)|0|0)){if(b)b=f?41952:42e3;else b=41904;ch(ce,ee,b,de);b=d;d=e;f=1;be=1309;break}if(!f){b=sm(a,1)|0;if(b)break a;ea(Zd>>0|0,l|0,1,0);if((Ql(a)|0)==5){ea(ae|0,g|0,4,0);ea(Zd>>0|0,1-l|0,1,0);ea(fe|0,5|0,4,0);b=5;break a}}else{Jl(ee,516);ea(Zd>>0|0,1|0,1,0)}Kl(ee);b=(da(fe|0,4,0,0)|0|0)==0?101:1;break a}case 508:{ea(ae|0,b|0,4,0);ea(fe|0,5|0,4,0);b=5;break a}case 522:{lg(ee,da(ce|0,4,0,0)|0|0);ea(ce|0,jh(ee,16040)|0|0,4,0);f=da(f|0,4,0,0)|0|0;if((da(da((da(Qd|0,4,0,0)|0|0)+(f<<4)+12|0,4,0,0)|0|0,4,0,0)|0|0)!=(l|0))um(ee,f);ea(Rd|0,da(Rd|0,2,0,0)|0|8|0,2,0);f=17;be=1309;break}case 542:{ea(de|0,73997|0,4,0);ea(de+4|0,10788|0,4,0);ad(11,13600,de);h=11;n=f;be=1318;break}case 560:{ea(f+56|0,0|0,4,0);f=7;be=1309;break}case 832:{ea(_d>>0|0,2|0,1,0);f=6;be=1309;break}case 882:{Dg(ee);o=$d;p=ce;e=d;d=h;be=1317;break a}case 884:{Dg(ee);if((f|0)==7){o=$d;p=ce;e=d;d=h;be=1317;break a}else be=1309;break}case 998:{ch(ce,ee,42112,de);f=1;be=1309;break}case 1080:{ea(de|0,(f?42208:42216)|0,4,0);ch(ce,ee,42152,de);f=1;be=1309;break}case 1101:{ch(ce,ee,42344,de);f=1;be=1309;break}case 1103:{ch(ce,ee,42384,de);f=1;be=1309;break}case 1145:{ea(de|0,56343|0,4,0);ea(de+4|0,10788|0,4,0);ad(11,13600,de);f=11;be=1309;break}case 1316:{ch(ce,ee,10096,de);e=d;f=18;d=h;be=1311;break a}}if((be|0)==41)if((Ql(a)|0)==5){ea(fe|0,5|0,4,0);e=d;d=b;b=5;break a}else{e=d;d=b;b=(da(fe|0,4,0,0)|0|0)!=0?1:101;break a}else if((be|0)==1309){e=d;g=g+1|0;d=h;be=1311;break a}else if((be|0)==1318){h=(da($d>>0|0,1,0,0)|0|0)==0?h:7;if((h|0)==3082){e=d;f=3082;d=n;be=1311;break a}else if((h|0)!=516){e=h&255;if(e>>>0>26|(e|0)==2)f=16328;else f=da(15488+(e<<2)|0,4,0,0)|0|0}else f=16344;ea(de|0,f|0,4,0);ch(ce,ee,10344,de);e=d;f=h;d=n;be=1311;break a}}else{h=a+44|0;e=d;b=0;g=0;d=0}while(0);ea(fe|0,9|0,4,0);ea(de|0,15832|0,4,0);ch(h,ee,10344,de);f=9;be=1311}while(0);if((be|0)==1317){ea(o>>0|0,1|0,1,0);ch(p,ee,15776,de);f=7;be=1311}if((be|0)==1311){ea(fe|0,f|0,4,0);jd=da(a+168|0,4,0,0)|0|0;kd=da(a+44|0,4,0,0)|0|0;ea(de|0,g|0,4,0);ea(de+4|0,jd|0,4,0);ea(de+8|0,kd|0,4,0);ad(f,42256,de);Ql(a)|0;if((f|0)==3082)ea(ee+65>>0|0,1|0,1,0);if(!(d<<24>>24)){d=b;b=1}else{um(ee,(d&255)+-1|0);d=b;b=1}}kd=ge;ea(kd|0,e|0,4,0);ea(kd+4|0,c|0,4,0);kd=a+124|0;ea(kd|0,(da(kd|0,4,0,0)|0|0)+d|0,4,0);i=he;return b|0}
function Dv(a){a=a|0;var 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;w=a+20|0;n=a+14|0;b=da(n>>0|0,1,0,0)|0|0;s=a+13|0;c=da(s>>0|0,1,0,0)|0|0;a:do if((b&255)>(c&255))b=0;else{u=a+4|0;v=a+16|0;o=a+8|0;p=a+12|0;q=a+24|0;r=a+28|0;e=b&255;f=da(u|0,4,0,0)|0|0;d=da(w|0,4,0,0)|0|0;b:while(1){m=da(a+(e+-2<<2)+24|0,4,0,0)|0|0;l=da(a+(e+-1<<2)+24|0,4,0,0)|0|0;if(f){while(1){k=f+12|0;if((d|0)<(da(k|0,4,0,0)|0|0)){c=d;b=(da(f+20|0,4,0,0)|0|0)+(d*48|0)|0;while(1){do if((da(b+8|0,4,0,0)|0|0)==(m|0)?(da(b+12|0,4,0,0)|0|0)==(l|0):0){if((da(n>>0|0,1,0,1)|0|0)>=3?((da((da(b|0,4,0,0)|0|0)+4|0,4,0,0)|0)&1|0)!=0:0)break;j=b+18|0;d=da(j|0,2,0,0)|0|0;if((d&1024)!=0?(t=da(s>>0|0,1,0,0)|0|0,(t&255)<22):0){e=da((da(b|0,4,0,0)|0|0)+16|0,4,0,0)|0|0;c:do if(!e)e=0;else while(1){g=da(e+4|0,4,0,0)|0|0;if(!(g&4096))break c;if(!(g&262144))e=e+12|0;else e=da((da(e+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;e=da(e|0,4,0,0)|0|0;if(!e){e=0;break}}while(0);d:do if(!(t<<24>>24)){i=0;g=0}else{h=da(e+28|0,4,0,0)|0|0;i=e+32|0;g=0;while(1){if((da(a+(g<<2)+24|0,4,0,0)|0|0)==(h|0)?(da(a+((g|1)<<2)+24|0,4,0,0)|0|0)==(da(i|0,2,0,0)|0|0):0){i=t;break d}g=g+2|0;if((g|0)>=(t&255|0)){i=t;break}}}while(0);if((g|0)==(i&255|0)){ea(a+(g<<2)+24|0,da(e+28|0,4,0,0)|0|0,4,0);ea(a+((g|1)<<2)+24|0,da(e+32|0,2,0,0)|0|0,4,0);ea(s>>0|0,(da(s>>0|0,1,0,1)|0|0)+2|0,1,0)}}e=d&65535;if(e&(da(v|0,4,0,0)|0)){if((da(o|0,4,0,0)|0|0)!=0&(e&128|0)==0){h=da(da(f|0,4,0,0)|0|0,4,0,0)|0|0;g=da(b|0,4,0,0)|0|0;e=da(p>>0|0,1,0,0)|0|0;d=(mv(g)|0)<<24>>24;if((d|0)==66){if(e<<24>>24!=66)break}else if((d|0)!=65?e<<24>>24<=66:0)break;d=Nu(h,da(g+12|0,4,0,0)|0|0,da(g+16|0,4,0,0)|0|0)|0;if(!d)d=da((da(h|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;if(cd(da(d|0,4,0,0)|0|0,da(o|0,4,0,0)|0|0)|0)break;d=da(j|0,2,0,0)|0|0}if(!(d&2))break b;d=da((da(b|0,4,0,0)|0|0)+16|0,4,0,0)|0|0;if((da(d>>0|0,1,0,0)|0|0)!=-102)break b;if((da(d+28|0,4,0,0)|0|0)!=(da(q|0,4,0,0)|0|0))break b;if((da(d+32|0,2,0,0)|0|0)!=(da(r|0,4,0,0)|0|0))break b}}while(0);c=c+1|0;if((c|0)>=(da(k|0,4,0,0)|0|0))break;else b=b+48|0}c=da(u|0,4,0,0)|0|0}else c=f;f=da(c+4|0,4,0,0)|0|0;ea(u|0,f|0,4,0);if(!f)break;else d=0}b=da(n>>0|0,1,0,0)|0|0;c=da(s>>0|0,1,0,0)|0|0}f=da(a|0,4,0,0)|0|0;ea(u|0,f|0,4,0);d=(b&255)+2|0;b=d&255;ea(n>>0|0,b|0,1,0);if((b&255)>(c&255)){b=0;break a}else{e=d&255;d=0}}ea(w|0,c+1|0,4,0)}while(0);return b|0}function Ev(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=da(a|0,4,0,0)|0|0;h=da(da(c|0,4,0,0)|0|0,4,0,0)|0|0;a=da(a+16|0,4,0,0)|0|0;a:do if(!a){c=c+16|0;e=da(c|0,4,0,0)|0|0;g=b+36|0;if(((da(g|0,4,0,0)|0)&512|0)!=0&(e|0)!=0){a=b+20|0;f=b+22|0;d=da(b+16>>0|0,1,0,0)|0|0;do{do if((da(e+16>>0|0,1,0,0)|0|0)==d<<24>>24?((da(e+36|0,4,0,0)|0)&512|0)!=0:0){if(Sv(e,b)|0){ea(a|0,da(e+20|0,2,0,0)|0|0|0,2,0);ea(f|0,(da(e+22|0,2,0,1)|0|0)+65535|0,2,0);break}if(Sv(b,e)|0){ea(a|0,da(e+20|0,2,0,0)|0|0|0,2,0);ea(f|0,(da(e+22|0,2,0,1)|0|0)+1|0,2,0)}}while(0);e=da(e+52|0,4,0,0)|0|0}while((e|0)!=0)}a=Tv(c,b)|0;if(a){c=da(a|0,4,0,0)|0|0;b:do if(c){a=c+52|0;if(da(a|0,4,0,0)|0)do{a=Tv(a,b)|0;if(!a)break b;d=da(a|0,4,0,0)|0|0;if(!d)break b;ea(a|0,da(d+52|0,4,0,0)|0|0,4,0);Iu(h,d);lg(h,d)}while((da(a|0,4,0,0)|0|0)!=0)}else{c=lh(h,72,0)|0;ea(a|0,c|0,4,0);if(!c){a=7;break a}ea(c+48|0,c+56|0,4,0);ea(c+40|0,0|0,2,0);ea(c+44|0,3|0,2,0);ea(c+36|0,0|0,4,0);ea(c+52|0,0|0,4,0)}while(0);Kv(h,c);do if(!(Mu(h,c,da(b+40|0,2,0,1)|0|0)|0)){d=c+0|0;a=b+0|0;e=d+44|0;do{ea(d|0,da(a|0,4,0,0)|0|0,4,0);d=d+4|0;a=a+4|0}while((d|0)<(e|0));jw(da(c+48|0,4,0,0)|0|0,da(b+48|0,4,0,0)|0|0,(da(c+40|0,2,0,1)|0)<<2|0)|0;a=da(g|0,4,0,0)|0|0;if(a&1024){ea(b+28>>0|0,0|0,1,0);break}if(a&16384)ea(b+28|0,0|0,4,0)}else{a=c+24|0;ea(a+0|0,0|0,4,0);ea(a+4|0,0|0,4,0);ea(a+8|0,0|0,4,0)}while(0);if((((da(c+36|0,4,0,0)|0)&1024|0)==0?(i=c+28|0,j=da(i|0,4,0,0)|0|0,(j|0)!=0):0)?(da(j+40|0,4,0,0)|0|0)==0:0){ea(i|0,0|0,4,0);a=0}else a=0}else a=0}else{c=b;Jv(a,da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,da(b+20|0,2,0,0)|0|0,da(b+22|0,2,0,0)|0|0);a=0}while(0);return a|0}function Fv(a,b){a=a|0;b=b|0;var c=0,d=0;c=a<<16>>16;d=b<<16>>16;do if(a<<16>>16>16)if((d|0)<=(c+49|0))if((d|0)>(c+31|0)){a=d+1&65535;break}else{a=(da(34032+(d-c)>>0|0,1,0,1)|0|0)+d&65535;break}else a=b;else if((c|0)<=(d+49|0))if((c|0)>(d+31|0)){a=c+1&65535;break}else{a=(da(34032+(c-d)>>0|0,1,0,1)|0|0)+c&65535;break}while(0);return a|0}function Gv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;do if(!(Bu(a,b,c)|0))d=1;else{d=da(b>>0|0,1,0,0)|0|0;if(d<<24>>24==77)e=6;else if(d<<24>>24==71){if(Gv(a,da(b+12|0,4,0,0)|0|0,c)|0){d=1;break}if(Gv(a,da(b+16|0,4,0,0)|0|0,c)|0){d=1;break}if(d<<24>>24==77)e=6}if(((e|0)==6?(Bu(da(a+12|0,4,0,0)|0|0,da(b+12|0,4,0,0)|0|0,c)|0)==0:0)?(d=da(a>>0|0,1,0,0)|0|0,!(d<<24>>24==73|d<<24>>24==76)):0){d=1;break}d=0}while(0);return d|0}function Hv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))ba();r=s;p=b;q=b+8|0;d=q;o=~(da(d|0,4,0,0)|0|(da(p|0,4,0,0)|0));p=~(da(d+4|0,4,0,0)|0|(da(p+4|0,4,0,0)|0));d=da(a+12|0,4,0,0)|0|0;m=a+20|0;a:do if((d|0)>0){n=b+40|0;a=b+22|0;l=b+48|0;b=0;k=da(m|0,4,0,0)|0|0;while(1){if((da(k+20|0,2,0,0)|0)&2)break a;f=k+40|0;e=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;g=q;b:do if((((da(g|0,4,0,0)|0)&e|0)!=0?1:((da(g+4|0,4,0,0)|0)&f|0)!=0)&((e&o|0)==0&(f&p|0)==0)){e=da(n|0,2,0,0)|0|0;c:do if(e<<16>>16){h=da(l|0,4,0,0)|0|0;f=e&65535;while(1){e=f;f=f+-1|0;g=da(h+(f<<2)|0,4,0,0)|0|0;if(g){if((g|0)==(k|0))break;g=da(g+4|0,4,0,0)|0|0;if((g|0)>-1?((da(m|0,4,0,0)|0|0)+(g*48|0)|0)==(k|0):0)break}if((f|0)<=0)break c}if((e|0)>=1)break b}while(0);e=da(k+16|0,2,0,0)|0|0;if(e<<16>>16<1){ea(a|0,(da(a|0,2,0,1)|0|0)+(e&65535)|0,2,0);break}ea(a|0,(da(a|0,2,0,0)|0|0)+-1<<16>>16|0,2,0);if((da(k+18|0,2,0,0)|0)&2){g=(Ls(da((da(k|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,r)|0)!=0;h=da(r|0,4,0,0)|0|0;h=g&(h|0)>-2&(h|0)<2?10:20;ea(r|0,h|0,4,0);b=(b<<16>>16|0)<(h|0)?h&65535:b}}while(0);d=d+-1|0;if((d|0)<=0)break;else k=k+48|0}}else{a=b+22|0;b=0}while(0);b=(c<<16>>16)-(b<<16>>16)|0;if((da(a|0,2,0,0)|0|0)>(b|0))ea(a|0,b|0,2,0);i=s;return}function Iv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,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;aa=i;i=i+112|0;if((i|0)>=(j|0))ba();L=aa;P=da(da(da(a|0,4,0,0)|0|0,4,0,0)|0|0,4,0,0)|0|0;_=da(a+12|0,4,0,0)|0|0;if(!(da(P+65>>0|0,1,0,0)|0)){$=_+36|0;if(!((da($|0,4,0,0)|0)&32))if((da(c+40|0,4,0,0)|0|0)<1)e=63;else e=((da(b+36>>0|0,1,0,0)|0)&8)<<4^191;else e=24;Q=c+51|0;Y=_+24|0;f=da((da(c+4|0,4,0,0)|0|0)+((da(Y|0,2,0,1)|0)<<1)|0,2,0,0)|0|0;H=f<<16>>16;I=a+4|0;e=Cv(L,da(I|0,4,0,0)|0|0,da(b+40|0,4,0,0)|0|0,H,((da(Q>>0|0,1,0,0)|0)&4)==0?e:e&131,c)|0;R=da(Y|0,2,0,0)|0|0;S=_+42|0;N=da(S|0,2,0,0)|0|0;T=_+40|0;O=da(T|0,2,0,0)|0|0;U=da($|0,4,0,0)|0|0;K=_;J=da(K|0,4,0,0)|0|0;K=da(K+4|0,4,0,0)|0|0;V=_+22|0;W=da(V|0,2,0,0)|0|0;ea(_+18|0,0|0,2,0);X=c+8|0;x=da(da(X|0,4,0,0)|0|0,2,0,0)|0|0;if(x<<16>>16<11)w=0;else{w=x<<16>>16;w=((es(w,((w|0)<0)<<31>>31)|0)&65535)+65503&65535}a:do if(!e)e=0;else{y=f<<16>>16<0;z=b+16|0;A=_+8|0;B=(O&65535)+1|0;C=_+48|0;D=d<<16>>16==0;E=c+46|0;q=f<<16>>16>-1;r=c+50|0;s=c+44|0;t=_+20|0;u=d<<16>>16;v=c+48|0;g=0;p=e;l=0;while(1){f=da(p+18|0,2,0,0)|0|0;m=f&65535;if(f<<16>>16==128)if(!y?(da((da((da(z|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(H*24|0)+20>>0|0,1,0,0)|0|0)==0:0)M=12;else{f=l;e=0}else M=12;if((M|0)==12){M=0;k=p+32|0;e=k;h=A;if((((da(h|0,4,0,0)|0)&(da(e|0,4,0,0)|0)|0)==0?((da(h+4|0,4,0,0)|0)&(da(e+4|0,4,0,0)|0)|0)==0:0)?(F=p+20|0,!(((da(F|0,2,0,0)|0)&256)!=0&f<<16>>16==16)):0){ea($|0,U|0,4,0);ea(Y|0,R|0,2,0);ea(T|0,O|0,2,0);if(Mu(P,_,B)|0){e=0;break a}f=da(T|0,2,0,0)|0|0;h=f+1<<16>>16;ea(T|0,h|0,2,0);ea((da(C|0,4,0,0)|0|0)+((f&65535)<<2)|0,p|0,4,0);f=k;k=A;o=(da(f+4|0,4,0,0)|0|K)&~(da(k+4|0,4,0,0)|0);n=_;ea(n|0,(da(f|0,4,0,0)|0|J)&~(da(k|0,4,0,0)|0)|0,4,0);ea(n+4|0,o|0,4,0);b:do if(!(m&1)){if(m&2){e=da($|0,4,0,0)|0|0;f=e|1;ea($|0,f|0,4,0);do if(!y){if(!D){n=0;o=g;break b}if((da(Y|0,2,0,1)|0|0)!=((da(E|0,2,0,1)|0|0)+-1|0)){n=0;o=g;break b}if(!q)break;if(da(r>>0|0,1,0,0)|0)break;f=e|65537;ea($|0,f|0,4,0);n=0;o=g;break b}while(0);f=e|4097;ea($|0,f|0,4,0);n=0;o=g;break}if(m&128){f=da($|0,4,0,0)|0|8;ea($|0,f|0,4,0);n=0;o=g;break}e=da($|0,4,0,0)|0|0;if(!(m&36)){f=e|18;ea($|0,f|0,4,0);if(!(e&32)){n=0;o=0;l=p;break}n=0;o=da((da(C|0,4,0,0)|0|0)+((h&65535)+-2<<2)|0,4,0,0)|0|0;l=p;break}f=e|34;ea($|0,f|0,4,0);if(!((da(F|0,2,0,0)|0)&256)){n=0;o=p;l=0}else{e=p+48|0;if(Mu(P,_,(h&65535)+1|0)|0){e=0;break a}f=da(T|0,2,0,0)|0|0;ea(T|0,f+1<<16>>16|0,2,0);ea((da(C|0,4,0,0)|0|0)+((f&65535)<<2)|0,e|0,4,0);f=da($|0,4,0,0)|0|16;ea($|0,f|0,4,0);n=0;o=p;l=e}}else{e=da(p|0,4,0,0)|0|0;f=da($|0,4,0,0)|0|4;ea($|0,f|0,4,0);if(!((da(e+4|0,4,0,0)|0)&2048)){e=da(e+20|0,4,0,0)|0|0;if((e|0)!=0?(G=da(e|0,4,0,0)|0|0,(G|0)!=0):0){n=(es(G,((G|0)<0)<<31>>31)|0)<<16>>16;o=g}else{n=0;o=g}}else{n=46;o=g}}while(0);do if(!(f&2)){e=(da(Y|0,2,0,0)|0|0)+1<<16>>16;ea(Y|0,e|0,2,0);e=e&65535;g=da(p+16|0,2,0,0)|0|0;if(g<<16>>16<1&q){k=(g&65535)-n+(da(V|0,2,0,1)|0|0)&65535;ea(V|0,k|0,2,0);break}g=da(X|0,4,0,0)|0|0;g=(da(V|0,2,0,1)|0|0)+((da(g+(e<<1)|0,2,0,1)|0|0)-(da(g+(e+-1<<1)|0,2,0,1)|0|0))|0;e=g&65535;ea(V|0,e|0,2,0);if(!(m&128))k=e;else{k=g+10&65535;ea(V|0,k|0,2,0)}}else{e=da(V|0,2,0,0)|0|0;k=e<<16>>16;do if(o){g=da(o+16|0,2,0,0)|0|0;if(g<<16>>16<1){e=(g&65535)+(e&65535)&65535;break}else{e=(e&65535)+65516&65535;break}}while(0);do if(l){g=da(l+16|0,2,0,0)|0|0;if(g<<16>>16<1){e=(g&65535)+(e&65535)&65535;break}else{e=(e&65535)+65516&65535;break}}while(0);g=(o|0)!=0;do if(g?(da(o+16|0,2,0,0)|0|0)>0&(l|0)!=0:0){if((da(l+16|0,2,0,0)|0|0)<=0)break;e=(e&65535)+65516&65535}while(0);k=(((l|0)!=0)<<31>>31)+(g<<31>>31)+k|0;p=e<<16>>16<10?10:e<<16>>16;k=((p|0)<(k|0)?p:k)&65535;ea(V|0,k|0,2,0)}while(0);h=k&65535;g=Fv(w,h+1+(((da(s|0,2,0,0)|0|0)*15|0)/(da((da(z|0,4,0,0)|0|0)+42|0,2,0,0)|0|0)|0)&65535)|0;if(!(f&320))g=Fv(g,h+16&65535)|0;f=n+u|0;ea(t|0,(g&65535)+f|0,2,0);ea(V|0,h+f|0,2,0);Hv(da(I|0,4,0,0)|0|0,_,x);e=Ev(a,_)|0;p=da($|0,4,0,0)|0|0;ea(V|0,((p&2|0)==0?k:W)|0,2,0);if((p&16|0)==0?(da(Y|0,2,0,1)|0|0)<(da(v|0,2,0,1)|0|0):0)Iv(a,b,c,f&65535)|0;ea(V|0,W|0,2,0);g=o;f=l}else{f=l;e=0}}p=Dv(L)|0;if(!((e|0)==0&(p|0)!=0))break;else l=f}}while(0);f=_;ea(f|0,J|0,4,0);ea(f+4|0,K|0,4,0);ea(Y|0,R|0,2,0);ea(S|0,N|0,2,0);ea($|0,U|0,4,0);ea(V|0,W|0,2,0);ea(T|0,O|0,2,0);f=R&65535;if(((R<<16>>16==N<<16>>16?(Z=f+1|0,Z>>>0<(da(c+46|0,2,0,1)|0|0)>>>0):0)?((da(Q>>0|0,1,0,0)|0)&64)==0:0)?(da((da(X|0,4,0,0)|0|0)+(Z<<1)|0,2,0,0)|0|0)>41:0){e=Mu(P,_,(O&65535)+1|0)|0;if(!e){ea(Y|0,(da(Y|0,2,0,0)|0|0)+1<<16>>16|0,2,0);ea(S|0,(da(S|0,2,0,0)|0|0)+1<<16>>16|0,2,0);e=da(T|0,2,0,0)|0|0;ea(T|0,e+1<<16>>16|0,2,0);ea((da(_+48|0,4,0,0)|0|0)+((e&65535)<<2)|0,0|0,4,0);ea($|0,da($|0,4,0,0)|0|32768|0,4,0);e=da(X|0,4,0,0)|0|0;e=(da(e+(f<<1)|0,2,0,1)|0|0)-(da(e+(Z<<1)|0,2,0,1)|0|0)|0;ea(V|0,(da(V|0,2,0,1)|0|0)-e|0,2,0);Iv(a,b,c,(((e<<16)+327680|0)>>>16)+(d&65535)&65535)|0;ea(V|0,W|0,2,0);ea(Y|0,R|0,2,0);ea(S|0,R|0,2,0);ea($|0,U|0,4,0);e=0}}}else e=7;i=aa;return e|0}function Jv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=da(a|0,2,0,0)|0|0;f=a+8|0;a:do if(k<<16>>16){i=k;j=f;while(1){g=da(j+8|0,2,0,0)|0|0;if(g<<16>>16>=d<<16>>16?(h=j,((da(h|0,4,0,0)|0)&b|0)==(b|0)?((da(h+4|0,4,0,0)|0)&c|0)==(c|0):0):0){m=j;n=14;break a}if(g<<16>>16<=d<<16>>16?(h=j,g=da(h|0,4,0,0)|0|0,h=da(h+4|0,4,0,0)|0|0,(g&b|0)==(g|0)&(h&c|0)==(h|0)):0)break a;i=i+-1<<16>>16;if(!(i<<16>>16))break;else j=j+16|0}if((k&65535)>=3){g=da(a+16|0,2,0,0)|0|0;j=1;do{if(g<<16>>16>(da(a+(j<<4)+16|0,2,0,0)|0|0))f=a+(j<<4)+8|0;j=j+1|0;g=da(f+8|0,2,0,0)|0|0}while((j&65535)<(k&65535));if(g<<16>>16>d<<16>>16){m=f;n=14}}else n=9}else n=9;while(0);if((n|0)==9){m=k&65535;ea(a|0,k+1<<16>>16|0,2,0);ea(a+(m<<4)+18|0,e|0,2,0);m=a+(m<<4)+8|0;n=14}if((n|0)==14?(l=m,ea(l|0,b|0,4,0),ea(l+4|0,c|0,4,0),ea(m+8|0,d|0,2,0),l=m+10|0,(da(l|0,2,0,0)|0|0)>e<<16>>16):0)ea(l|0,e|0,2,0);return}function Kv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=da(b+36|0,4,0,0)|0|0;do if(c&17408){if((c&1024|0)!=0?(f=b+28|0,(da(f>>0|0,1,0,0)|0|0)!=0):0){c=b+32|0;Vc(da(c|0,4,0,0)|0|0);ea(f>>0|0,0|0,1,0);ea(c|0,0|0,4,0);break}if((c&16384|0)!=0?(d=b+28|0,e=da(d|0,4,0,0)|0|0,(e|0)!=0):0){lg(a,da(e+16|0,4,0,0)|0|0);lg(a,da(d|0,4,0,0)|0|0);ea(d|0,0|0,4,0)}}while(0);return}function Lv(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0;na=i;i=i+32|0;if((i|0)>=(j|0))ba();ia=na;k=da(da(a|0,4,0,0)|0|0,4,0,0)|0|0;ha=e&65535;if(e<<16>>16!=0?((da(k+60|0,2,0,0)|0)&128)!=0:0)h=0;else ja=3;a:do if((ja|0)==3){ma=da(b|0,4,0,0)|0|0;h=ma&65535;if(h>>>0<=63){ka=hw(1,0,h|0)|0;ka=iw(ka|0,C|0,-1,-1)|0;la=C;b:do if((ka|0)==0&(la|0)==0){b=0;c=0;k=1}else{_=c+24|0;$=a+4|0;aa=(h|0)==0;Y=b+4|0;Z=(d&768)==0;X=k+8|0;O=(d&256)==0;P=a+68|0;Q=ia+20|0;R=ia+4|0;U=ia+24|0;V=a+328|0;S=0;T=0;b=0;c=0;d=0;l=0;W=0;k=1;e=0;while(1){if((W|0)>0){M=e+8|0;N=da(M|0,4,0,0)|0|d;l=da(M+4|0,4,0,0)|0|l}else N=d;if((W|0)<(ha|0))e=da((da(_|0,4,0,0)|0|0)+(W<<2)|0,4,0,0)|0|0;else e=f;t=e+36|0;d=da(t|0,4,0,0)|0|0;if(d&1024)break;M=da((da($|0,4,0,0)|0|0)+((da(e+16>>0|0,1,0,1)|0|0)*72|0)+48|0,4,0,0)|0|0;if(!aa){d=~N;n=~l;q=0;do{s=hw(1,0,q|0)|0;r=C;c:do if((s&b|0)==0&(r&c|0)==0){m=da((da(Y|0,4,0,0)|0|0)+(q*20|0)|0,4,0,0)|0|0;p=da(m+4|0,4,0,0)|0|0;if(p&4096)do{if(!(p&262144))m=m+12|0;else m=da((da(m+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;m=da(m|0,4,0,0)|0|0;p=da(m+4|0,4,0,0)|0|0}while((p&4096|0)!=0);if(((da(m>>0|0,1,0,0)|0|0)==-102?(da(m+28|0,4,0,0)|0|0)==(M|0):0)?(ca=m+32|0,fa=Eu(V,M,da(ca|0,2,0,0)|0|0,d,n,130,0)|0,(fa|0)!=0):0){do if((da(fa+18|0,2,0,0)|0)&2){if((da(ca|0,2,0,0)|0|0)<=-1)break;m=bu(da(a|0,4,0,0)|0|0,da((da(Y|0,4,0,0)|0|0)+(q*20|0)|0,4,0,0)|0|0)|0;if(!m)m=da(X|0,4,0,0)|0|0;p=da(m|0,4,0,0)|0|0;o=bu(da(a|0,4,0,0)|0|0,da(fa|0,4,0,0)|0|0)|0;if(!o)o=da(X|0,4,0,0)|0|0;if(cd(p,da(o|0,4,0,0)|0|0)|0)break c}while(0);b=s|b;c=r|c}}while(0);q=q+1|0}while((q|0)<(h|0));d=da(t|0,4,0,0)|0|0}do if(!(d&4096)){if(!(d&256)){m=da(e+28|0,4,0,0)|0|0;if(!m){h=0;break a}if((da(m+51>>0|0,1,0,0)|0)&4){h=0;break a}d=da(m+48|0,2,0,0)|0|0;k=(da(m+50>>0|0,1,0,0)|0|0)!=0&1;if(!(d<<16>>16)){ja=71;break}else{K=d&65535;L=da(m+46|0,2,0,0)|0|0}}else{K=1;L=0;m=0}A=e+24|0;B=e+42|0;D=e+48|0;E=(m|0)==0;F=m+32|0;G=hw(1,0,W|0)|0;H=C;I=m+4|0;J=m+28|0;z=m+12|0;d=0;m=0;s=0;y=0;d:while(1){q=(m|0)<(da(A|0,2,0,1)|0|0);if((q?(da(B|0,2,0,0)|0|0)==0:0)?(ga=da((da((da(D|0,4,0,0)|0|0)+(m<<2)|0,4,0,0)|0|0)+18|0,2,0,1)|0|0,(ga&130|0)!=0):0){k=(ga&128|0)==0?k:0;r=y}else{if(!E){r=da((da(I|0,4,0,0)|0|0)+(m<<1)|0,2,0,0)|0|0;o=da((da(J|0,4,0,0)|0|0)+m>>0|0,1,0,0)|0|0;n=da(z|0,4,0,0)|0|0;p=r<<16>>16==(da(n+36|0,2,0,0)|0|0)?-1:r<<16>>16;r=(p|0)>-1;if(k<<24>>24!=0&r)if(q){r=1;x=p}else{r=1;x=p;k=(da((da(n+4|0,4,0,0)|0|0)+(p*24|0)+20>>0|0,1,0,0)|0|0)==0?0:k}else x=p}else{r=0;x=-1;o=0}if(aa){ja=68;break}else{q=1;w=0}e:while(1){u=hw(1,0,w|0)|0;v=C;do if((u&b|0)==0&(v&c|0)==0){n=da((da(Y|0,4,0,0)|0|0)+(w*20|0)|0,4,0,0)|0|0;p=da(n+4|0,4,0,0)|0|0;if(!(p&4096))t=n;else{t=n;do{if(!(p&262144))p=t+12|0;else p=da((da(t+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;t=da(p|0,4,0,0)|0|0;p=da(t+4|0,4,0,0)|0|0}while((p&4096|0)!=0)}q=Z?0:q;if((da(t>>0|0,1,0,0)|0|0)!=-102)break;if((da(t+28|0,4,0,0)|0|0)!=(M|0))break;if((da(t+32|0,2,0,0)|0|0)!=(x|0))break;if(!r){t=u;q=v;r=w;break e}p=bu(da(a|0,4,0,0)|0|0,n)|0;if(!p)p=da(X|0,4,0,0)|0|0;if(!(cd(da(p|0,4,0,0)|0|0,da((da(F|0,4,0,0)|0|0)+(m<<2)|0,4,0,0)|0|0)|0)){t=u;q=v;r=w;break e}}while(0);w=w+1|0;if(!(q<<24>>24!=0&(w|0)<(h|0))){ja=68;break d}}do if(O){if(y<<24>>24)if((o^s)<<24>>24==(da((da(Y|0,4,0,0)|0|0)+(r*20|0)+12>>0|0,1,0,0)|0|0)){r=y;break}else{ja=68;break d}n=da((da(Y|0,4,0,0)|0|0)+(r*20|0)+12>>0|0,1,0,0)|0|0;s=n^o;if(o<<24>>24==n<<24>>24){r=1;break}n=g;r=da(n+4|0,4,0,0)|0|H;o=g;ea(o|0,da(n|0,4,0,0)|0|G|0,4,0);ea(o+4|0,r|0,4,0);r=1}else r=y;while(0);b=t|b;c=q|c;d=(x|0)<0?1:d}m=m+1|0;if((m|0)>=(K|0))break;else y=r}if((ja|0)==68){ja=0;k=(m|0)==0|(m|0)<(L&65535|0)?0:k}if(!(d<<24>>24))ja=71;else k=1}else ja=71;while(0);if((ja|0)==71){ja=0;if(!(k<<24>>24)){k=0;break b}}M=e+8|0;S=da(M|0,4,0,0)|0|S;T=da(M+4|0,4,0,0)|0|T;if(!aa){r=~S;s=~T;q=0;do{m=hw(1,0,q|0)|0;p=C;do if((m&b|0)==0&(p&c|0)==0){d=da((da(Y|0,4,0,0)|0|0)+(q*20|0)|0,4,0,0)|0|0;n=zv(P,d)|0;o=C;if((n|0)==0&(o|0)==0?(ea(ia+0|0,0|0,4,0),ea(ia+4|0,0|0,4,0),ea(ia+8|0,0|0,4,0),ea(ia+12|0,0|0,4,0),ea(ia+16|0,0|0,4,0),ea(ia+20|0,0|0,4,0),ea(Q>>0|0,1|0,1,0),ea(ia|0,78|0,4,0),ea(R|0,79|0,4,0),ea(U|0,0|0,4,0),qs(ia,d)|0,(da(Q>>0|0,1,0,0)|0|0)==0):0)break;M=(n&r|0)==0&(o&s|0)==0;b=(M?m:0)|b;c=(M?p:0)|c}while(0);q=q+1|0}while((q|0)<(h|0))}if(c>>>0>la>>>0|(c|0)==(la|0)&b>>>0>=ka>>>0|k<<24>>24==0|(W|0)>=(ha|0))break b;else{d=N;W=W+1|0}}Z=(da(e+29>>0|0,1,0,0)|0|0)==0;b=Z?b:ka;c=Z?c:la}while(0);if((b|0)==(ka|0)&(c|0)==(la|0)){h=ma&255;break}if(!(k<<24>>24)){do{h=h+-1|0;if((h|0)<=0){h=0;break a}Y=hw(1,0,h|0)|0;Y=iw(Y|0,C|0,-1,-1)|0;Z=C}while(!((Y&b|0)==(Y|0)&(Z&c|0)==(Z|0)));h=h&255}else h=-1}else h=0}while(0);i=na;return h|0}function Mv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b)Rk(a,33920,5);if(!c)b=0;else{b=c;while(1)if(!(da(b>>0|0,1,0,0)|0))break;else b=b+1|0;b=b-c&1073741823}Rk(a,c,b);Rk(a,d,1);Rk(a,13552,1);return}function Nv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=da(da(da(a|0,4,0,0)|0|0,4,0,0)|0|0,4,0,0)|0|0;b=da(a+12|0,4,0,0)|0|0;e=a+20|0;if((b|0)>0){f=da(e|0,4,0,0)|0|0;while(1){b=b+-1|0;d=f+20|0;c=da(d|0,2,0,0)|0|0;if(c&1){Fk(g,da(f|0,4,0,0)|0|0);c=da(d|0,2,0,0)|0|0}c=c&65535;if(!(c&16)){if(c&32){c=da(f+12|0,4,0,0)|0|0;Nv(c);lg(g,c)}}else{c=da(f+12|0,4,0,0)|0|0;Nv(c);lg(g,c)}if((b|0)<=0)break;else f=f+48|0}}b=da(e|0,4,0,0)|0|0;if((b|0)!=(a+24|0))lg(g,b);return}function Ov(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=i;i=i+32|0;if((i|0)>=(j|0))ba();o=p;e=da(a+8|0,4,0,0)|0|0;f=da(a|0,4,0,0)|0|0;if(b){g=(c|0)==10;h=a+437|0;k=o+4|0;l=o+1|0;m=o+8|0;n=o+12|0;d=c&255;do{if(g)c=da(b+1>>0|0,1,0,0)|0|0;else c=d;ea(h>>0|0,c|0,1,0);c=da(b>>0|0,1,0,1)|0|0;if((c|0)==110){r=Uv(a,b)|0;q=Or(f,da(b+24|0,4,0,0)|0|0,0)|0;c=Lr(f,da(b+20|0,4,0,0)|0|0,0,0)|0;rr(a,r,q,c,da(h>>0|0,1,0,1)|0|0)}else if((c|0)==109){c=Uv(a,b)|0;qr(a,c,Lr(f,da(b+20|0,4,0,0)|0|0,0,0)|0)}else if((c|0)==108){r=Uv(a,b)|0;q=fr(f,da(b+8|0,4,0,0)|0|0,0)|0;c=Mr(f,da(b+28|0,4,0,0)|0|0)|0;sr(a,r,q,c,da(h>>0|0,1,0,1)|0|0)}else{c=fr(f,da(b+8|0,4,0,0)|0|0,0)|0;ea(o>>0|0,4|0,1,0);ea(k|0,0|0,4,0);ea(l>>0|0,0|0,1,0);ea(m|0,0|0,4,0);ea(n|0,0|0,4,0);hr(a,c,o)|0;Lk(f,c,1)}if((da(b>>0|0,1,0,0)|0|0)!=119)vh(e,98,0,0,0)|0;b=da(b+32|0,4,0,0)|0|0}while((b|0)!=0)}i=p;return}function Pv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();e=h;g=da(a|0,4,0,0)|0|0;ea(e|0,0|0,4,0);ea(e+4|0,0|0,4,0);e=mr(g,159,e,0)|0;do if(!e)e=0;else{f=d<<16>>16;if(d<<16>>16>-1?(da(b+36|0,2,0,0)|0|0)!=d<<16>>16:0){d=da(b+4|0,4,0,0)|0|0;ea(e+28|0,c+1+f|0,4,0);ea(e+1>>0|0,da(d+(f*24|0)+21>>0|0,1,0,0)|0|0|0,1,0);f=da(d+(f*24|0)+16|0,4,0,0)|0|0;if(!f)f=da(da(g+8|0,4,0,0)|0|0,4,0,0)|0|0;e=wv(a,e,f)|0;break}ea(e+28|0,c|0,4,0);ea(e+1>>0|0,68|0,1,0)}while(0);i=h;return e|0}function Qv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a=lh(a,48,0)|0;if(a){e=a+0|0;f=e+44|0;do{ea(e>>0|0,0|0,1,0);e=e+1|0}while((e|0)<(f|0));ea(a>>0|0,-102|0,1,0);ea(a+34|0,-1|0,2,0);ea(a+24|0,1|0,4,0);e=da(b+(c*72|0)+24|0,4,0,0)|0|0;ea(a+44|0,e|0,4,0);ea(a+28|0,da(b+(c*72|0)+48|0,4,0,0)|0|0,4,0);if((da(e+36|0,2,0,0)|0|0)==(d|0))ea(a+32|0,-1|0,2,0);else{ea(a+32|0,d|0,2,0);g=(d|0)>63;d=hw(1,0,d|0)|0;f=b+(c*72|0)+64|0;c=f;e=da(c+4|0,4,0,0)|0|(g?-2147483648:C);ea(f|0,da(c|0,4,0,0)|0|(g?0:d)|0,4,0);ea(f+4|0,e|0,4,0)}e=a+4|0;ea(e|0,da(e|0,4,0,0)|0|4|0,4,0)}return a|0}function Rv(a,b){a=a|0;b=b|0;if((da(b>>0|0,1,0,0)|0|0)==-101){b=b+38|0;ea(b>>0|0,(da(b>>0|0,1,0,1)|0|0)+(da(a+24|0,4,0,0)|0|0)|0,1,0)}return 0}function Sv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=da(a+40|0,2,0,0)|0|0;f=c&65535;e=da(a+42|0,2,0,0)|0|0;h=da(b+40|0,2,0,1)|0|0;d=da(b+42|0,2,0,0)|0|0;a:do if(!((d&65535)>(e&65535)?1:(f-(e&65535)|0)>=(h-(d&65535)|0))){d=da(a+20|0,2,0,0)|0|0;e=da(b+20|0,2,0,0)|0|0;if(d<<16>>16>=e<<16>>16){if(d<<16>>16>e<<16>>16){c=0;break}if((da(a+22|0,2,0,0)|0|0)>(da(b+22|0,2,0,0)|0|0)){c=0;break}}if(!(c<<16>>16))c=1;else{g=da(a+48|0,4,0,0)|0|0;b=b+48|0;a=f;while(1){a=a+-1|0;e=da(g+(a<<2)|0,4,0,0)|0|0;if(e){c=h;while(1){d=c+-1|0;if((c|0)<=0){c=0;break a}if((da((da(b|0,4,0,0)|0|0)+(d<<2)|0,4,0,0)|0|0)==(e|0))break;else c=d}if((c|0)<1){c=0;break a}}if((a|0)<=0){c=1;break}}}}else c=0;while(0);return c|0}function Tv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;c=da(a|0,4,0,0)|0|0;a:do if(c){h=da(b+16>>0|0,1,0,0)|0|0;i=b+17|0;j=b+18|0;k=b+20|0;l=b+22|0;m=b+42|0;n=b+36|0;do{if((da(c+16>>0|0,1,0,0)|0|0)==h<<24>>24?(da(c+17>>0|0,1,0,0)|0|0)==(da(i>>0|0,1,0,0)|0|0):0){if(((((da(c+36|0,4,0,0)|0)&16384|0)!=0?(da(m|0,2,0,0)|0|0)==0:0)?((da(n|0,4,0,0)|0)&513|0)==513:0)?(d=c,e=b,g=da(e|0,4,0,0)|0|0,e=da(e+4|0,4,0,0)|0|0,(g&(da(d|0,4,0,0)|0)|0)==(g|0)?(e&(da(d+4|0,4,0,0)|0)|0)==(e|0):0):0)break a;o=c;p=da(o|0,4,0,0)|0|0;o=da(o+4|0,4,0,0)|0|0;d=b;e=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;f=e&p;g=d&o;if((((f|0)==(p|0)&(g|0)==(o|0)?(da(c+18|0,2,0,0)|0|0)<=(da(j|0,2,0,0)|0|0):0)?(da(c+20|0,2,0,0)|0|0)<=(da(k|0,2,0,0)|0|0):0)?(da(c+22|0,2,0,0)|0|0)<=(da(l|0,2,0,0)|0|0):0){a=0;break a}if(((f|0)==(e|0)&(g|0)==(d|0)?(da(c+20|0,2,0,0)|0|0)>=(da(k|0,2,0,0)|0|0):0)?(da(c+22|0,2,0,0)|0|0)>=(da(l|0,2,0,0)|0|0):0)break a}a=c+52|0;c=da(a|0,4,0,0)|0|0}while((c|0)!=0)}while(0);return a|0}function Uv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=or(da(a|0,4,0,0)|0|0,0,b+12|0,0)|0;do if(g){f=da(a|0,4,0,0)|0|0;e=da((da(b+4|0,4,0,0)|0|0)+20|0,4,0,0)|0|0;a:do if(e){d=da(f+20|0,4,0,0)|0|0;if((d|0)>0){b=da(f+16|0,4,0,0)|0|0;c=0;while(1){a=c+1|0;if((da(b+(c<<4)+12|0,4,0,0)|0|0)==(e|0)){a=c;c=7;break a}if((a|0)<(d|0))c=a;else{c=7;break}}}else a=0}else{a=-1e6;c=7}while(0);if((c|0)==7)if(!((a|0)==0|(a|0)>1))break;a=jh(f,da((da(f+16|0,4,0,0)|0|0)+(a<<4)|0,4,0,0)|0|0)|0;ea(g+(((da(g|0,4,0,0)|0|0)+-1|0)*72|0)+12|0,a|0,4,0)}while(0);return g|0}function Vv(a){a=a|0;var 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,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;do if(a>>>0<245){if(a>>>0<11)o=16;else o=a+11&-8;a=o>>>3;k=da(12266*4|0,4,0,0)|0|0;h=k>>>a;if(h&3){d=(h&1^1)+a|0;e=d<<1;b=49104+(e<<2)|0;e=49104+(e+2<<2)|0;f=da(e|0,4,0,0)|0|0;g=f+8|0;h=da(g|0,4,0,0)|0|0;do if((b|0)!=(h|0)){if(h>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();c=h+12|0;if((da(c|0,4,0,0)|0|0)==(f|0)){ea(c|0,b|0,4,0);ea(e|0,h|0,4,0);break}else Nb()}else ea(12266*4|0,k&~(1<>>0>j>>>0){if(h){e=2<>>12&16;e=e>>>a;d=e>>>5&8;e=e>>>d;c=e>>>2&4;e=e>>>c;f=e>>>1&2;e=e>>>f;g=e>>>1&1;g=(d|a|c|f|g)+(e>>>g)|0;e=g<<1;f=49104+(e<<2)|0;e=49104+(e+2<<2)|0;c=da(e|0,4,0,0)|0|0;a=c+8|0;d=da(a|0,4,0,0)|0|0;do if((f|0)!=(d|0)){if(d>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();h=d+12|0;if((da(h|0,4,0,0)|0|0)==(c|0)){ea(h|0,f|0,4,0);ea(e|0,d|0,4,0);l=da(12268*4|0,4,0,0)|0|0;break}else Nb()}else{ea(12266*4|0,k&~(1<>>3;h=f<<1;e=49104+(h<<2)|0;g=da(12266*4|0,4,0,0)|0|0;f=1<>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{m=g;n=h}}else{ea(12266*4|0,g|f|0,4,0);m=49104+(h+2<<2)|0;n=e}ea(m|0,d|0,4,0);ea(n+12|0,d|0,4,0);ea(d+8|0,n|0,4,0);ea(d+12|0,e|0,4,0)}ea(12268*4|0,b|0,4,0);ea(12271*4|0,i|0,4,0);v=a;return v|0}a=da(12267*4|0,4,0,0)|0|0;if(a){g=(a&0-a)+-1|0;u=g>>>12&16;g=g>>>u;t=g>>>5&8;g=g>>>t;v=g>>>2&4;g=g>>>v;h=g>>>1&2;g=g>>>h;f=g>>>1&1;f=da(49368+((t|u|v|h|f)+(g>>>f)<<2)|0,4,0,0)|0|0;g=((da(f+4|0,4,0,0)|0)&-8)-o|0;h=f;while(1){c=da(h+16|0,4,0,0)|0|0;if(!c){c=da(h+20|0,4,0,0)|0|0;if(!c){k=g;j=f;break}}h=((da(c+4|0,4,0,0)|0)&-8)-o|0;v=h>>>0>>0;g=v?h:g;h=c;f=v?c:f}a=da(12270*4|0,4,0,0)|0|0;if(j>>>0>>0)Nb();b=j+o|0;if(j>>>0>=b>>>0)Nb();i=da(j+24|0,4,0,0)|0|0;f=da(j+12|0,4,0,0)|0|0;do if((f|0)==(j|0)){g=j+20|0;h=da(g|0,4,0,0)|0|0;if(!h){g=j+16|0;h=da(g|0,4,0,0)|0|0;if(!h){d=0;break}}while(1){f=h+20|0;e=da(f|0,4,0,0)|0|0;if(e){h=e;g=f;continue}f=h+16|0;e=da(f|0,4,0,0)|0|0;if(!e)break;else{h=e;g=f}}if(g>>>0>>0)Nb();else{ea(g|0,0|0,4,0);d=h;break}}else{e=da(j+8|0,4,0,0)|0|0;if(e>>>0>>0)Nb();h=e+12|0;if((da(h|0,4,0,0)|0|0)!=(j|0))Nb();g=f+8|0;if((da(g|0,4,0,0)|0|0)==(j|0)){ea(h|0,f|0,4,0);ea(g|0,e|0,4,0);d=f;break}else Nb()}while(0);do if(i){h=da(j+28|0,4,0,0)|0|0;g=49368+(h<<2)|0;if((j|0)==(da(g|0,4,0,0)|0|0)){ea(g|0,d|0,4,0);if(!d){ea(12267*4|0,(da(12267*4|0,4,0,0)|0)&~(1<>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();h=i+16|0;if((da(h|0,4,0,0)|0|0)==(j|0))ea(h|0,d|0,4,0);else ea(i+20|0,d|0,4,0);if(!d)break}g=da(12270*4|0,4,0,0)|0|0;if(d>>>0>>0)Nb();ea(d+24|0,i|0,4,0);h=da(j+16|0,4,0,0)|0|0;do if(h)if(h>>>0>>0)Nb();else{ea(d+16|0,h|0,4,0);ea(h+24|0,d|0,4,0);break}while(0);h=da(j+20|0,4,0,0)|0|0;if(h)if(h>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(d+20|0,h|0,4,0);ea(h+24|0,d|0,4,0);break}}while(0);if(k>>>0<16){v=k+o|0;ea(j+4|0,v|3|0,4,0);v=j+(v+4)|0;ea(v|0,da(v|0,4,0,0)|0|1|0,4,0)}else{ea(j+4|0,o|3|0,4,0);ea(j+(o|4)|0,k|1|0,4,0);ea(j+(k+o)|0,k|0,4,0);c=da(12268*4|0,4,0,0)|0|0;if(c){d=da(12271*4|0,4,0,0)|0|0;f=c>>>3;h=f<<1;e=49104+(h<<2)|0;g=da(12266*4|0,4,0,0)|0|0;f=1<>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{p=h;q=g}}else{ea(12266*4|0,g|f|0,4,0);p=49104+(h+2<<2)|0;q=e}ea(p|0,d|0,4,0);ea(q+12|0,d|0,4,0);ea(d+8|0,q|0,4,0);ea(d+12|0,e|0,4,0)}ea(12268*4|0,k|0,4,0);ea(12271*4|0,b|0,4,0)}v=j+8|0;return v|0}else q=o}else q=o}else if(a>>>0<=4294967231){a=a+11|0;q=a&-8;j=da(12267*4|0,4,0,0)|0|0;if(j){g=0-q|0;a=a>>>8;if(a)if(q>>>0>16777215)c=31;else{o=(a+1048320|0)>>>16&8;p=a<>>16&4;p=p<>>16&2;c=14-(n|o|c)+(p<>>15)|0;c=q>>>(c+7|0)&1|c<<1}else c=0;e=da(49368+(c<<2)|0,4,0,0)|0|0;a:do if(!e){a=0;h=0}else{if((c|0)==31)h=0;else h=25-(c>>>1)|0;k=g;a=0;b=q<>>0>>0)if((d|0)==(q|0)){a=e;h=e;break a}else h=e;else g=k;p=da(e+20|0,4,0,0)|0|0;e=da(e+(b>>>31<<2)+16|0,4,0,0)|0|0;a=(p|0)==0|(p|0)==(e|0)?a:p;if(!e)break;else{k=g;b=b<<1}}}while(0);if((a|0)==0&(h|0)==0){a=2<>>12&16;p=p>>>m;l=p>>>5&8;p=p>>>l;n=p>>>2&4;p=p>>>n;o=p>>>1&2;p=p>>>o;a=p>>>1&1;a=da(49368+((l|m|n|o|a)+(p>>>a)<<2)|0,4,0,0)|0|0}if(!a){n=g;o=h}else while(1){p=((da(a+4|0,4,0,0)|0)&-8)-q|0;e=p>>>0>>0;g=e?p:g;h=e?a:h;e=da(a+16|0,4,0,0)|0|0;if(e){a=e;continue}a=da(a+20|0,4,0,0)|0|0;if(!a){n=g;o=h;break}}if((o|0)!=0?n>>>0<((da(12268*4|0,4,0,0)|0|0)-q|0)>>>0:0){a=da(12270*4|0,4,0,0)|0|0;if(o>>>0>>0)Nb();l=o+q|0;if(o>>>0>=l>>>0)Nb();i=da(o+24|0,4,0,0)|0|0;f=da(o+12|0,4,0,0)|0|0;do if((f|0)==(o|0)){g=o+20|0;h=da(g|0,4,0,0)|0|0;if(!h){g=o+16|0;h=da(g|0,4,0,0)|0|0;if(!h){s=0;break}}while(1){f=h+20|0;e=da(f|0,4,0,0)|0|0;if(e){h=e;g=f;continue}f=h+16|0;e=da(f|0,4,0,0)|0|0;if(!e)break;else{h=e;g=f}}if(g>>>0>>0)Nb();else{ea(g|0,0|0,4,0);s=h;break}}else{e=da(o+8|0,4,0,0)|0|0;if(e>>>0>>0)Nb();h=e+12|0;if((da(h|0,4,0,0)|0|0)!=(o|0))Nb();g=f+8|0;if((da(g|0,4,0,0)|0|0)==(o|0)){ea(h|0,f|0,4,0);ea(g|0,e|0,4,0);s=f;break}else Nb()}while(0);do if(i){h=da(o+28|0,4,0,0)|0|0;g=49368+(h<<2)|0;if((o|0)==(da(g|0,4,0,0)|0|0)){ea(g|0,s|0,4,0);if(!s){ea(12267*4|0,(da(12267*4|0,4,0,0)|0)&~(1<>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();h=i+16|0;if((da(h|0,4,0,0)|0|0)==(o|0))ea(h|0,s|0,4,0);else ea(i+20|0,s|0,4,0);if(!s)break}g=da(12270*4|0,4,0,0)|0|0;if(s>>>0>>0)Nb();ea(s+24|0,i|0,4,0);h=da(o+16|0,4,0,0)|0|0;do if(h)if(h>>>0>>0)Nb();else{ea(s+16|0,h|0,4,0);ea(h+24|0,s|0,4,0);break}while(0);h=da(o+20|0,4,0,0)|0|0;if(h)if(h>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(s+20|0,h|0,4,0);ea(h+24|0,s|0,4,0);break}}while(0);b:do if(n>>>0>=16){ea(o+4|0,q|3|0,4,0);ea(o+(q|4)|0,n|1|0,4,0);ea(o+(n+q)|0,n|0,4,0);h=n>>>3;if(n>>>0<256){g=h<<1;e=49104+(g<<2)|0;f=da(12266*4|0,4,0,0)|0|0;h=1<>>0>=(da(12270*4|0,4,0,0)|0|0)>>>0){t=h;u=g;break}Nb()}while(0);ea(t|0,l|0,4,0);ea(u+12|0,l|0,4,0);ea(o+(q+8)|0,u|0,4,0);ea(o+(q+12)|0,e|0,4,0);break}c=n>>>8;if(c)if(n>>>0>16777215)e=31;else{u=(c+1048320|0)>>>16&8;v=c<>>16&4;v=v<>>16&2;e=14-(t|u|e)+(v<>>15)|0;e=n>>>(e+7|0)&1|e<<1}else e=0;h=49368+(e<<2)|0;ea(o+(q+28)|0,e|0,4,0);ea(o+(q+20)|0,0|0,4,0);ea(o+(q+16)|0,0|0,4,0);g=da(12267*4|0,4,0,0)|0|0;f=1<>>1)|0;c:do if(((da(c+4|0,4,0,0)|0)&-8|0)!=(n|0)){g=n<>>31<<2)+16|0;h=da(b|0,4,0,0)|0|0;if(!h)break;if(((da(h+4|0,4,0,0)|0)&-8|0)==(n|0)){A=h;break c}else{g=g<<1;c=h}}if(b>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(b|0,l|0,4,0);ea(o+(q+24)|0,c|0,4,0);ea(o+(q+12)|0,l|0,4,0);ea(o+(q+8)|0,l|0,4,0);break b}}else A=c;while(0);c=A+8|0;b=da(c|0,4,0,0)|0|0;v=da(12270*4|0,4,0,0)|0|0;if(A>>>0>=v>>>0&b>>>0>=v>>>0){ea(b+12|0,l|0,4,0);ea(c|0,l|0,4,0);ea(o+(q+8)|0,b|0,4,0);ea(o+(q+12)|0,A|0,4,0);ea(o+(q+24)|0,0|0,4,0);break}else Nb()}else{v=n+q|0;ea(o+4|0,v|3|0,4,0);v=o+(v+4)|0;ea(v|0,da(v|0,4,0,0)|0|1|0,4,0)}while(0);v=o+8|0;return v|0}}}else q=-1;while(0);a=da(12268*4|0,4,0,0)|0|0;if(a>>>0>=q>>>0){b=a-q|0;c=da(12271*4|0,4,0,0)|0|0;if(b>>>0>15){ea(12271*4|0,c+q|0,4,0);ea(12268*4|0,b|0,4,0);ea(c+(q+4)|0,b|1|0,4,0);ea(c+a|0,b|0,4,0);ea(c+4|0,q|3|0,4,0)}else{ea(12268*4|0,0|0,4,0);ea(12271*4|0,0|0,4,0);ea(c+4|0,a|3|0,4,0);v=c+(a+4)|0;ea(v|0,da(v|0,4,0,0)|0|1|0,4,0)}v=c+8|0;return v|0}a=da(12269*4|0,4,0,0)|0|0;if(a>>>0>q>>>0){u=a-q|0;ea(12269*4|0,u|0,4,0);v=da(12272*4|0,4,0,0)|0|0;ea(12272*4|0,v+q|0,4,0);ea(v+(q+4)|0,u|1|0,4,0);ea(v+4|0,q|3|0,4,0);v=v+8|0;return v|0}do if(!(da(12384*4|0,4,0,0)|0)){a=vb(30)|0;if(!(a+-1&a)){ea(12386*4|0,a|0,4,0);ea(12385*4|0,a|0,4,0);ea(12387*4|0,-1|0,4,0);ea(12388*4|0,-1|0,4,0);ea(12389*4|0,0|0,4,0);ea(12377*4|0,0|0,4,0);ea(12384*4|0,(Ob(0)|0)&-16^1431655768|0,4,0);break}else Nb()}while(0);k=q+48|0;b=da(12386*4|0,4,0,0)|0|0;j=q+47|0;c=b+j|0;b=0-b|0;l=c&b;if(l>>>0<=q>>>0){v=0;return v|0}a=da(12376*4|0,4,0,0)|0|0;if((a|0)!=0?(t=da(12374*4|0,4,0,0)|0|0,u=t+l|0,u>>>0<=t>>>0|u>>>0>a>>>0):0){v=0;return v|0}d:do if(!((da(12377*4|0,4,0,0)|0)&4)){a=da(12272*4|0,4,0,0)|0|0;e:do if(a){e=49512|0;while(1){h=da(e|0,4,0,0)|0|0;if(h>>>0<=a>>>0?(r=e+4|0,(h+(da(r|0,4,0,0)|0|0)|0)>>>0>a>>>0):0){d=e;g=r;a=e;break}e=da(e+8|0,4,0,0)|0|0;if(!e){F=181;break e}}if(a){a=c-(da(12269*4|0,4,0,0)|0|0)&b;if(a>>>0<2147483647){h=rb(a|0)|0;if((h|0)==((da(d|0,4,0,0)|0|0)+(da(g|0,4,0,0)|0|0)|0))F=190;else F=191}else a=0}else F=181}else F=181;while(0);do if((F|0)==181){h=rb(0)|0;if((h|0)!=(-1|0)){a=h;g=da(12385*4|0,4,0,0)|0|0;e=g+-1|0;if(!(e&a))a=l;else a=l-a+(e+a&0-g)|0;g=da(12374*4|0,4,0,0)|0|0;e=g+a|0;if(a>>>0>q>>>0&a>>>0<2147483647){u=da(12376*4|0,4,0,0)|0|0;if((u|0)!=0?e>>>0<=g>>>0|e>>>0>u>>>0:0){a=0;break}g=rb(a|0)|0;if((g|0)==(h|0))F=190;else{h=g;F=191}}else a=0}else a=0}while(0);f:do if((F|0)==190){if((h|0)!=(-1|0)){w=h;F=201;break d}}else if((F|0)==191){g=0-a|0;do if((h|0)!=(-1|0)&a>>>0<2147483647&k>>>0>a>>>0?(v=da(12386*4|0,4,0,0)|0|0,v=j-a+v&0-v,v>>>0<2147483647):0)if((rb(v|0)|0)==(-1|0)){rb(g|0)|0;a=0;break f}else{a=v+a|0;break}while(0);if((h|0)==(-1|0))a=0;else{w=h;F=201;break d}}while(0);ea(12377*4|0,da(12377*4|0,4,0,0)|0|4|0,4,0);F=198}else{a=0;F=198}while(0);if((((F|0)==198?l>>>0<2147483647:0)?(w=rb(l|0)|0,x=rb(0)|0,(w|0)!=(-1|0)&(x|0)!=(-1|0)&w>>>0>>0):0)?(y=x-w|0,z=y>>>0>(q+40|0)>>>0,z):0){a=z?y:a;F=201}if((F|0)==201){h=(da(12374*4|0,4,0,0)|0|0)+a|0;ea(12374*4|0,h|0,4,0);if(h>>>0>(da(12375*4|0,4,0,0)|0|0)>>>0)ea(12375*4|0,h|0,4,0);k=da(12272*4|0,4,0,0)|0|0;g:do if(k){d=49512|0;do{h=da(d|0,4,0,0)|0|0;g=d+4|0;e=da(g|0,4,0,0)|0|0;if((w|0)==(h+e|0)){B=h;C=g;D=e;E=d;F=213;break}d=da(d+8|0,4,0,0)|0|0}while((d|0)!=0);if(((F|0)==213?((da(E+12|0,4,0,0)|0)&8|0)==0:0)?k>>>0>=B>>>0&k>>>0>>0:0){ea(C|0,D+a|0,4,0);b=(da(12269*4|0,4,0,0)|0|0)+a|0;c=k+8|0;if(!(c&7))c=0;else c=0-c&7;v=b-c|0;ea(12272*4|0,k+c|0,4,0);ea(12269*4|0,v|0,4,0);ea(k+(c+4)|0,v|1|0,4,0);ea(k+(b+4)|0,40|0,4,0);ea(12273*4|0,da(12388*4|0,4,0,0)|0|0,4,0);break}h=da(12270*4|0,4,0,0)|0|0;if(w>>>0>>0){ea(12270*4|0,w|0,4,0);j=w}else j=h;h=w+a|0;g=49512|0;do{if((da(g|0,4,0,0)|0|0)==(h|0)){G=g;H=g;F=223;break}g=da(g+8|0,4,0,0)|0|0}while((g|0)!=0);if((F|0)==223?((da(H+12|0,4,0,0)|0)&8|0)==0:0){ea(G|0,w|0,4,0);h=H+4|0;ea(h|0,(da(h|0,4,0,0)|0|0)+a|0,4,0);h=w+8|0;if(!(h&7))o=0;else o=0-h&7;h=w+(a+8)|0;if(!(h&7))c=0;else c=0-h&7;h=w+(c+a)|0;n=o+q|0;m=w+n|0;l=h-(w+o)-q|0;ea(w+(o+4)|0,q|3|0,4,0);h:do if((h|0)!=(k|0)){if((h|0)==(da(12271*4|0,4,0,0)|0|0)){v=(da(12268*4|0,4,0,0)|0|0)+l|0;ea(12268*4|0,v|0,4,0);ea(12271*4|0,m|0,4,0);ea(w+(n+4)|0,v|1|0,4,0);ea(w+(v+n)|0,v|0,4,0);break}k=a+4|0;i=da(w+(k+c)|0,4,0,0)|0|0;if((i&3|0)==1){b=i&-8;e=i>>>3;i:do if(i>>>0>=256){d=da(w+((c|24)+a)|0,4,0,0)|0|0;f=da(w+(a+12+c)|0,4,0,0)|0|0;do if((f|0)==(h|0)){f=c|16;g=w+(k+f)|0;i=da(g|0,4,0,0)|0|0;if(!i){g=w+(f+a)|0;i=da(g|0,4,0,0)|0|0;if(!i){M=0;break}}while(1){f=i+20|0;e=da(f|0,4,0,0)|0|0;if(e){i=e;g=f;continue}f=i+16|0;e=da(f|0,4,0,0)|0|0;if(!e)break;else{i=e;g=f}}if(g>>>0>>0)Nb();else{ea(g|0,0|0,4,0);M=i;break}}else{e=da(w+((c|8)+a)|0,4,0,0)|0|0;if(e>>>0>>0)Nb();i=e+12|0;if((da(i|0,4,0,0)|0|0)!=(h|0))Nb();g=f+8|0;if((da(g|0,4,0,0)|0|0)==(h|0)){ea(i|0,f|0,4,0);ea(g|0,e|0,4,0);M=f;break}else Nb()}while(0);if(!d)break;i=da(w+(a+28+c)|0,4,0,0)|0|0;g=49368+(i<<2)|0;do if((h|0)!=(da(g|0,4,0,0)|0|0)){if(d>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();i=d+16|0;if((da(i|0,4,0,0)|0|0)==(h|0))ea(i|0,M|0,4,0);else ea(d+20|0,M|0,4,0);if(!M)break i}else{ea(g|0,M|0,4,0);if(M)break;ea(12267*4|0,(da(12267*4|0,4,0,0)|0)&~(1<>>0>>0)Nb();ea(M+24|0,d|0,4,0);i=c|16;h=da(w+(i+a)|0,4,0,0)|0|0;do if(h)if(h>>>0>>0)Nb();else{ea(M+16|0,h|0,4,0);ea(h+24|0,M|0,4,0);break}while(0);h=da(w+(k+i)|0,4,0,0)|0|0;if(!h)break;if(h>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(M+20|0,h|0,4,0);ea(h+24|0,M|0,4,0);break}}else{g=da(w+((c|8)+a)|0,4,0,0)|0|0;f=da(w+(a+12+c)|0,4,0,0)|0|0;i=49104+(e<<1<<2)|0;do if((g|0)!=(i|0)){if(g>>>0>>0)Nb();if((da(g+12|0,4,0,0)|0|0)==(h|0))break;Nb()}while(0);if((f|0)==(g|0)){ea(12266*4|0,(da(12266*4|0,4,0,0)|0)&~(1<>>0>>0)Nb();i=f+8|0;if((da(i|0,4,0,0)|0|0)==(h|0)){I=i;break}Nb()}while(0);ea(g+12|0,f|0,4,0);ea(I|0,g|0,4,0)}while(0);h=w+((b|c)+a)|0;i=b+l|0}else i=l;h=h+4|0;ea(h|0,(da(h|0,4,0,0)|0)&-2|0,4,0);ea(w+(n+4)|0,i|1|0,4,0);ea(w+(i+n)|0,i|0,4,0);h=i>>>3;if(i>>>0<256){g=h<<1;e=49104+(g<<2)|0;f=da(12266*4|0,4,0,0)|0|0;h=1<>>0>=(da(12270*4|0,4,0,0)|0|0)>>>0){N=h;O=g;break}Nb()}while(0);ea(N|0,m|0,4,0);ea(O+12|0,m|0,4,0);ea(w+(n+8)|0,O|0,4,0);ea(w+(n+12)|0,e|0,4,0);break}c=i>>>8;do if(!c)e=0;else{if(i>>>0>16777215){e=31;break}u=(c+1048320|0)>>>16&8;v=c<