Lines Matching refs:Cd
5 cd(a,b)|0)==0:0){c=f;break a}c=f+-1|0;if((f|0)>0){f=c;d=d+-16|0}else break}}}else c=-1;while(0);return c|0}function Vh(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,o=0;n=a+20|0;f=da(n|0,4,0,0)|0|0;if((f|0)>0){o=(b|0)==10;l=a+16|0;m=(c|0)==0;j=d;a=f;d=0;k=0;while(1){if((k|0)==(b|0)|o){g=da((da(l|0,4,0,0)|0|0)+(k<<4)+4|0,4,0,0)|0|0;if(g){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+20>>0|0,1,0,0)|0)){g=da(f|0,4,0,0)|0|0;h=da(g+208|0,4,0,0)|0|0;if(!h)h=0;else{if(m)f=0;else f=da(g+176|0,4,0,0)|0|0;h=Sn(h,c,f,da(g+180|0,4,0,0)|0|0,da(g+9>>0|0,1,0,1)|0|0,da(g+152|0,4,0,0)|0|0,da(g+200|0,4,0,0)|0|0,j,e)|0;a=da(n|0,4,0,0)|0|0}}else h=6}else h=0;e=(h|0)==5;i=0;g=0;f=a;d=e?1:d;e=e?0:h}else{i=e;g=j;f=a;e=0}k=k+1|0;a=(e|0)==0;if(!((k|0)<(f|0)&a))break;else{j=g;e=i;a=f}}}else{a=1;d=0;e=0}return (a&(d|0)!=0?5:e)|0}function Wh(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+32|0;if((i|0)>=(j|0))ba();p=t;q=t+20|0;l=t+16|0;k=t+12|0;h=t+8|0;ea(l|0,c|0,4,0);ea(k|0,0|0,4,0);ea(h|0,0|0,4,0);ea(b|0,0|0,4,0);e=Kc()|0;do if(!e){if(!(1<<(c&7)&70)){ea(p|0,130207|0,4,0);ea(p+4|0,10788|0,4,0);ad(21,13648,p);e=21;break}if((da(2187*4|0,4,0,0)|0|0)!=0&(c&32768|0)==0)g=(c&65536|0)==0?da(2188*4|0,4,0,0)|0|0:1;else g=0;if(!(c&262144)){if(da(2241*4|0,4,0,0)|0){c=c|131072;ea(l|0,c|0,4,0)}}else{c=c&-131073;ea(l|0,c|0,4,0)}c=c&-655129;ea(l|0,c|0,4,0);s=pg(528,0)|0;a:do if(s){ew(s|0,0,528)|0;if(g)ea(s+12|0,8|0,4,0);ea(s+56|0,255|0,4,0);ea(s+20|0,2|0,4,0);m=s+76|0;ea(m|0,-264537850|0,4,0);n=s+16|0;ea(n|0,s+456|0,4,0);f=s+88|0;g=11088;e=f+44|0;do{ea(f|0,da(g|0,4,0,0)|0|0,4,0);f=f+4|0;g=g+4|0}while((f|0)<(e|0));ea(s+132|0,0|0,4,0);ea(s+63>>0|0,1|0,1,0);ea(s+67>>0|0,-1|0,1,0);f=8920;g=da(f+4|0,4,0,0)|0|0;o=s+40|0;ea(o|0,da(f|0,4,0,0)|0|0,4,0);ea(o+4|0,g|0,4,0);ea(s+72|0,0|0,4,0);ea(s+136|0,2147483647|0,4,0);ea(s+24|0,9437264|0,4,0);g=s+428|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);o=s+308|0;ea(o+0|0,0|0,4,0);ea(o+4|0,0|0,4,0);ea(o+8|0,0|0,4,0);ea(o+12|0,0|0,4,0);Xh(s,11152,1,0,21,0)|0;Xh(s,11152,3,0,21,0)|0;Xh(s,11152,2,0,21,0)|0;Xh(s,13752,1,0,22,0)|0;Xh(s,13760,1,1,21,0)|0;o=s+65|0;if(!(da(o>>0|0,1,0,0)|0)){g=an(g,11152,p)|0;if(!g)g=0;else g=da(g+8|0,4,0,0)|0|0;ea(s+8|0,g|0,4,0);ea(s+48|0,c|0,4,0);g=Vn(d,a,l,s,k,h)|0;if(!g){a=da(k|0,4,0,0)|0|0;e=ym(da(s|0,4,0,0)|0|0,a,s,(da(n|0,4,0,0)|0|0)+4|0,0,da(l|0,4,0,0)|0|256)|0;if((e|0)==3082)e=7;else if(!e){c=da((da(n|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;ea((da(c+4|0,4,0,0)|0|0)+4|0,da(c|0,4,0,0)|0|0,4,0);c=Wn(s,c)|0;ea((da(n|0,4,0,0)|0|0)+12|0,c|0,4,0);if(!(da(o>>0|0,1,0,0)|0))ea(s+62>>0|0,da(c+77>>0|0,1,0,0)|0|0|0,1,0);c=pg(84,0)|0;if(!c){ea(o>>0|0,1|0,1,0);c=0}else{f=c+0|0;e=f+84|0;do{ea(f>>0|0,0|0,1,0);f=f+1|0}while((f|0)<(e|0));g=c+77|0;f=c+8|0;e=f+64|0;do{ea(f|0,0|0,4,0);f=f+4|0}while((f|0)<(e|0));ea(g>>0|0,1|0,1,0)}l=da(n|0,4,0,0)|0|0;ea(l+28|0,c|0,4,0);ea(l|0,13768|0,4,0);ea(l+8>>0|0,3|0,1,0);ea(l+16|0,10728|0,4,0);ea(l+24>>0|0,1|0,1,0);ea(m|0,-1607883113|0,4,0);if(da(o>>0|0,1,0,0)|0){e=s;break}f=s+52|0;ea(f|0,0|0,4,0);g=s+236|0;c=da(g|0,4,0,0)|0|0;do if(c){e=c+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);break}else{ug(c);break}}while(0);if((Bf(s,14632,2)|0)==7)ea(o>>0|0,1|0,1,0);c=Mf(s)|0;do if(!c){c=da(2656*4|0,4,0,0)|0|0;if(c){b:do if((c|0)>0){f=0;while(1){c=da((da(2658*4|0,4,0,0)|0|0)+(f<<2)|0,4,0,0)|0|0;ea(q|0,0|0,4,0);if(c){e=$b[(fa(c|0,63|0)|0)&63](s,q,13776)|0;c=da(q|0,4,0,0)|0|0;if(e)break}else c=0;Vc(c);f=f+1|0;if((f|0)>=(da(2656*4|0,4,0,0)|0|0)){r=40;break b}}ea(p|0,c|0,4,0);tg(s,e,14592,p);e=da(q|0,4,0,0)|0|0}else r=40;while(0);if((r|0)==40){ea(q|0,0|0,4,0);e=0}Vc(e)}if(Mf(s)|0){e=s;break a}}else{ea(f|0,c|0,4,0);e=da(g|0,4,0,0)|0|0;if(e){c=e+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);break}else{ug(e);break}}}while(0);Mh(s,0,da(2193*4|0,4,0,0)|0|0,da(2194*4|0,4,0,0)|0|0)|0;ea(s+216|0,21|0,4,0);ea(s+220|0,1e3|0,4,0);e=s;break}ea(s+52|0,e|0,4,0);c=da(s+236|0,4,0,0)|0|0;if(!c){e=s;break}e=c+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);e=s;break}else{ug(c);e=s;break}}else if((g|0)==7)ea(o>>0|0,1|0,1,0);a=da(h|0,4,0,0)|0|0;ea(p|0,a|0,4,0);tg(s,g,(a|0)!=0?10344:0,p);Vc(a);a=da(k|0,4,0,0)|0|0;e=s}else{a=0;e=s}}else{a=0;e=0}while(0);Vc(a);c=Mf(e)|0;if((c|0)==7){Nh(e,0)|0;e=0}else if(c)ea(s+76|0,1266094736|0,4,0);ea(b|0,e|0,4,0);e=c&255}while(0);i=t;return e|0}function Xh(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();g=o;n=c&255;if(!(c<<24>>24==4|c<<24>>24==8))if((n+-1|0)>>>0>2){ea(g|0,129758|0,4,0);ea(g+4|0,10788|0,4,0);ad(21,13648,g);g=21}else{m=n;h=4}else{m=2;h=4}do if((h|0)==4){l=m&255;h=Xn(a,l,b,0)|0;if((h|0)!=0?(da(h+12|0,4,0,0)|0|0)!=0:0){if(da(a+148|0,4,0,0)|0){tg(a,5,13680,g);g=5;break}c=da(a+4|0,4,0,0)|0|0;if(c)do{k=c+88|0;ea(k|0,da(k|0,2,0,0)|0|8|0,2,0);c=da(c+52|0,4,0,0)|0|0}while((c|0)!=0);k=h+4|0;if(((da(k>>0|0,1,0,1)|0)&247|0)==(m|0)){c=an(a+428|0,b,g)|0;if(!c)h=0;else h=da(c+8|0,4,0,0)|0|0;g=0;do{if((da(h+(g*20|0)+4>>0|0,1,0,0)|0|0)==(da(k>>0|0,1,0,0)|0|0)){c=da(h+(g*20|0)+16|0,4,0,0)|0|0;if(c)bc[(fa(c|0,31|0)|0)&31](da(h+(g*20|0)+8|0,4,0,0)|0|0);ea(h+(g*20|0)+12|0,0|0,4,0)}g=g+1|0}while((g|0)!=3)}}c=Xn(a,l,b,1)|0;if(c){ea(c+12|0,e|0,4,0);ea(c+8|0,d|0,4,0);ea(c+16|0,f|0,4,0);ea(c+4>>0|0,m|n&8|0,1,0);ea(a+52|0,0|0,4,0);g=da(a+236|0,4,0,0)|0|0;if(g){c=g+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);g=0;break}else{ug(g);g=0;break}}else g=0}else g=7}while(0);i=o;return g|0}function Yh(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;i=a+24|0;j=(da(i|0,4,0,0)|0)&2;k=a+145|0;ea(k>>0|0,1|0,1,0);h=a+16|0;f=da(h|0,4,0,0)|0|0;ea(a+62>>0|0,da((da(f+12|0,4,0,0)|0|0)+77>>0|0,1,0,0)|0|0|0,1,0);e=a+20|0;d=0;while(1){if((d|0)>=(da(e|0,4,0,0)|0|0)){d=f;f=6;break}if(!((d|0)==1?1:((da((da(f+(d<<4)+12|0,4,0,0)|0|0)+78|0,2,0,0)|0)&1)!=0)?(c=Yn(a,d,b)|0,(c|0)!=0):0){f=9;break}f=da(h|0,4,0,0)|0|0;d=d+1|0}if((f|0)==6)if(((da((da(d+28|0,4,0,0)|0|0)+78|0,2,0,0)|0)&1)==0?(g=Yn(a,1,b)|0,(g|0)!=0):0){pl(da((da(h|0,4,0,0)|0|0)+28|0,4,0,0)|0|0);c=g}else c=0;else if((f|0)==9)um(a,d);ea(k>>0|0,0|0,1,0);if(!(c|j))ea(i|0,(da(i|0,4,0,0)|0)&-3|0,4,0);return c|0}function Zh(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;m=i;i=i+16|0;if((i|0)>=(j|0))ba();l=m;h=a+20|0;a:do if((da(h|0,4,0,0)|0|0)>0){k=(c|0)==0;f=a+16|0;g=0;a=0;do{e=(g|0)<2^g;d=da(f|0,4,0,0)|0|0;if(!(!k?(cd(c,da(d+(e<<4)|0,4,0,0)|0|0)|0)!=0:0)){a=an((da(d+(e<<4)+12|0,4,0,0)|0|0)+8|0,b,l)|0;if(a){a=da(a+8|0,4,0,0)|0|0;if(a)break a}else a=0}g=g+1|0}while((g|0)<(da(h|0,4,0,0)|0|0))}else a=0;while(0);i=m;return a|0}function _h(a){a=a|0;if((cd(a,12936)|0)!=0?(cd(a,12944)|0)!=0:0)a=(cd(a,12952)|0)==0&1;else a=1;return a|0}function $h(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=da(a+20|0,4,0,0)|0|0;a:do if((f|0)>0){c=da(a+16|0,4,0,0)|0|0;d=(b|0)==0;e=0;while(1){a=da(c+(e<<4)+4|0,4,0,0)|0|0;if(a){if(d)break a;if(!(cdcd(l,h)|0)){ea(o|0,((b|0)!=0?b:10360)|0,4,0);ea(o+4|0,e-d|0,4,0);ea(o+8|0,d|0,4,0);ea(o+12|0,k|0,4,0);q=th(n,19440,o)|0;lg(n,b);d=g+(f+c)|0;b=q}lg(n,h);c=f}e=e+c|0}while((da(e>>0|0,1,0,0)|0|0)!=0)}while(0);ea(o|0,((b|0)!=0?b:10360)|0,4,0);ea(o+4|0,d|0,4,0);Vg(a,th(n,19456,o)|0,-1,1,75);lg(n,b)}i=p;return}function Pj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+48|0;if((i|0)>=(j|0))ba();d=e;if(!(lo(a,b,c,d)|0)){mo(d);b=d;Xg(da(a|0,4,0,0)|0|0,(+((da(b|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(b+4|0,4,0,0)|0|0))/864.0e5)}i=e;return}function Qj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+160|0;if((i|0)>=(j|0))ba();d=g+48|0;e=g;f=g+60|0;if(!(lo(a,b,c,e)|0)){no(e);c=da(e+12|0,4,0,0)|0|0;b=da(e+16|0,4,0,0)|0|0;ea(d|0,da(e+8|0,4,0,0)|0|0,4,0);ea(d+4|0,c|0,4,0);ea(d+8|0,b|0,4,0);$c(100,f,20136,d)|0;Vg(a,f,-1,1,-1)}i=g;return}function Rj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+160|0;if((i|0)>=(j|0))ba();d=g+48|0;e=g;f=g+60|0;if(!(lo(a,b,c,e)|0)){oo(e);c=da(e+24|0,4,0,0)|0|0;b=~~+(+da(e+32|0,8,1,0));ea(d|0,da(e+20|0,4,0,0)|0|0,4,0);ea(d+4|0,c|0,4,0);ea(d+8|0,b|0,4,0);$c(100,f,20120,d)|0;Vg(a,f,-1,1,-1)}i=g;return}function Sj(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;g=i;i=i+176|0;if((i|0)>=(j|0))ba();d=g+48|0;e=g;f=g+72|0;if(!(lo(a,b,c,e)|0)){no(e);oo(e);l=da(e+12|0,4,0,0)|0|0;k=da(e+16|0,4,0,0)|0|0;h=da(e+20|0,4,0,0)|0|0;c=da(e+24|0,4,0,0)|0|0;b=~~+(+da(e+32|0,8,1,0));ea(d|0,da(e+8|0,4,0,0)|0|0,4,0);ea(d+4|0,l|0,4,0);ea(d+8|0,k|0,4,0);ea(d+12|0,h|0,4,0);ea(d+16|0,c|0,4,0);ea(d+20|0,b|0,4,0);$c(100,f,20088,d)|0;Vg(a,f,-1,1,-1)}i=g;return}function Tj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,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.0,B=0;z=i;i=i+208|0;if((i|0)>=(j|0))ba();v=z+96|0;w=z+48|0;y=z+104|0;x=z;a:do if(((b|0)!=0?(u=Rg(da(c|0,4,0,0)|0|0,1)|0,(u|0)!=0):0)?(lo(a,b+-1|0,c+4|0,w)|0)==0:0){g=da(a|0,4,0,0)|0|0;f=da(g+32|0,4,0,0)|0|0;c=1;b=0;e=0;b:while(1){d=da(u+e>>0|0,1,0,0)|0|0;c:do if(d<<24>>24==37){d=e+1|0;switch(da(u+d>>0|0,1,0,0)|0|0){case 87:case 83:case 77:case 109:case 72:case 100:{c=iw(c|0,b|0,1,0)|0;b=C;break c}case 102:{c=iw(c|0,b|0,8,0)|0;b=C;break c}case 74:case 115:{c=iw(c|0,b|0,50,0)|0;b=C;break c}case 37:case 119:break c;case 106:{c=iw(c|0,b|0,3,0)|0;b=C;break c}case 89:{c=iw(c|0,b|0,8,0)|0;b=C;break c}default:break a}}else if(!(d<<24>>24))break b;else d=e;while(0);c=iw(c|0,b|0,1,0)|0;b=C;e=d+1|0}if(!(b>>>0<0|(b|0)==0&c>>>0<100)){t=da(f+88|0,4,0,0)|0|0;s=((t|0)<0)<<31>>31;if(b>>>0>s>>>0|(b|0)==(s|0)&c>>>0>t>>>0){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(g,10096,-1,1,0)|0;break}b=dw(0,c|0,32)|0;b=lh(f,b,C)|0;if(!b){Qd(a);break}else t=b}else t=y;mo(w);no(w);oo(w);h=w+16|0;l=w+32|0;m=w+20|0;n=x+42|0;o=x+12|0;p=x+16|0;q=w+12|0;r=w+24|0;s=w+8|0;f=0;b=0;d:while(1){g=da(u+f>>0|0,1,0,0)|0|0;e:do if(g<<24>>24==37){f=f+1|0;c=u+f|0;do switch(da(c>>0|0,1,0,0)|0|0){case 109:{ea(v|0,da(q|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 77:{ea(v|0,da(r|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 102:{A=+(+da(l|0,8,1,0));e=t+b|0;ea(k|0,+(A>59.999?59.999:A),8,1);ea(v|0,da(k|0,4,0,0)|0|0,4,0);ea(v+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(7,e,19896,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 100:{ea(v|0,da(h|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 83:{ea(v|0,~~+(+da(l|0,8,1,0))|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 119:{c=w;c=iw(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,1296e5,0)|0;c=pw(c|0,C|0,864e5,0)|0;c=qw(c|0,C|0,7,0)|0;ea(t+b>>0|0,c+48|0,1,0);b=b+1|0;break e}case 89:{e=t+b|0;ea(v|0,da(s|0,4,0,0)|0|0,4,0);$c(5,e,19928,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 106:case 87:{g=x+0|0;e=w+0|0;d=g+48|0;do{ea(g|0,da(e|0,4,0,0)|0|0,4,0);g=g+4|0;e=e+4|0}while((g|0)<(d|0));ea(n>>0|0,0|0,1,0);ea(o|0,1|0,4,0);ea(p|0,1|0,4,0);mo(x);g=w;d=x;B=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;g=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,432e5,0)|0;e=C;d=cw(g|0,e|0,B|0,d|0)|0;d=pw(d|0,C|0,864e5,0)|0;if((da(c>>0|0,1,0,0)|0|0)==87){c=pw(g|0,e|0,864e5,0)|0;c=qw(c|0,C|0,7,0)|0;ea(v|0,(d+7-c|0)/7|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}else{ea(v|0,d+1|0,4,0);$c(4,t+b|0,19904,v)|0;b=b+3|0;break e}}case 72:{ea(v|0,da(m|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 74:{e=t+b|0;c=w;ea(k|0,+((+((da(c|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(c+4|0,4,0,0)|0|0))/864.0e5),8,1);ea(v|0,da(k|0,4,0,0)|0|0,4,0);ea(v+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(20,e,19912,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 115:{e=t+b|0;d=w;d=pw(da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0,1e3,0)|0;d=iw(d|0,C|0,-413362496,-50)|0;c=v;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);$c(30,e,19920,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}default:{ea(t+b>>0|0,37|0,1,0);b=b+1|0;break e}}while(0)}else if(!(g<<24>>24))break d;else{ea(t+b>>0|0,g|0,1,0);b=b+1|0}while(0);f=f+1|0}ea(t+b>>0|0,0|0,1,0);Vg(a,t,-1,1,(t|0)==(y|0)?-1:75)}while(0);i=z;return}function Uj(a,b,c){a=a|0;b=b|0;c=c|0;Rj(a,0,0);return}function Vj(a,b,c){a=a|0;b=b|0;c=c|0;Sj(a,0,0);return}function Wj(a,b,c){a=a|0;b=b|0;c=c|0;Qj(a,0,0);return}function Xj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=Ug(da(c|0,4,0,0)|0|0)|0;g=f+1&-2;d=Ug(da(c+4|0,4,0,0)|0|0)|0;e=(g<<3)+56|0;c=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;b=lh(c,e,((e|0)<0)<<31>>31)|0;if(!b)Qd(a);else{ew(b|0,0,e|0)|0;ea(b+52|0,c|0,4,0);ea(b|0,0|0,4,0);ea(b+8|0,f|0,4,0);ea(b+12|0,d|0,4,0);c=b+56|0;ea(b+24|0,c|0,4,0);ea(b+20|0,c+(g<<2)|0,4,0);Vg(a,b,56,0,20)}return}function Yj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=od(da(c|0,4,0,0)|0|0)|0;e=Ug(da(c+4|0,4,0,0)|0|0)|0;if(!(da(f|0,4,0,0)|0)){a=f+8|0;if((da(a|0,4,0,0)|0|0)>0){b=da(f+20|0,4,0,0)|0|0;c=0;do{ea(b+(c<<2)|0,1|0,4,0);c=c+1|0}while((c|0)<(da(a|0,4,0,0)|0|0))}}else{if((e|0)>0){a=da(f+20|0,4,0,0)|0|0;c=0;do{b=a+(c<<2)|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);c=c+1|0}while((c|0)!=(e|0))}a=f+8|0;if((e|0)<(da(a|0,4,0,0)|0|0)){b=da(f+24|0,4,0,0)|0|0;d=da(f+20|0,4,0,0)|0|0;c=e;do{e=b+(c<<2)|0;ea(e|0,(da(e|0,4,0,0)|0|0)+1|0,4,0);ea(d+(c<<2)|0,1|0,4,0);c=c+1|0}while((c|0)<(da(a|0,4,0,0)|0|0))}}ea(f|0,(da(f|0,4,0,0)|0|0)+1|0,4,0);return}function Zj(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;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;f=od(da(c|0,4,0,0)|0|0)|0;g=f+12|0;c=((da(g|0,4,0,0)|0|0)*25|0)+25|0;h=pg(c,((c|0)<0)<<31>>31)|0;if(!h)Qd(a);else{ew(h|0,0,c|0)|0;c=k;ea(c|0,da(f|0,4,0,0)|0|0,4,0);ea(c+4|0,0|0,4,0);$c(24,h,28696,k)|0;c=h;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;if((da(g|0,4,0,0)|0|0)>0){d=f+24|0;e=0;b=h+(c-h&1073741823)|0;while(1){m=(da((da(d|0,4,0,0)|0|0)+(e<<2)|0,4,0,0)|0|0)+1|0;c=da(f|0,4,0,0)|0|0;n=iw(m|0,0,-1,-1)|0;c=iw(n|0,C|0,c|0,0)|0;m=sw(c|0,C|0,m|0,0)|0;c=k;ea(c|0,m|0,4,0);ea(c+4|0,C|0,4,0);$c(24,b,28704,k)|0;if(!b)c=0;else{c=b;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;c=c-b&1073741823}e=e+1|0;if((e|0)>=(da(g|0,4,0,0)|0|0))break;else b=b+c|0}}Vg(a,h,-1,1,1)}i=l;return}function _j(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;l=i;i=i+144|0;if((i|0)>=(j|0))ba();h=l;k=l+8|0;f=Rg(da(c|0,4,0,0)|0|0,1)|0;g=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;f=(f|0)==0?10360:f;e=da(g+20|0,4,0,0)|0|0;a:do if((e|0)>0){b=da(g+16|0,4,0,0)|0|0;c=0;do{d=b+(c<<4)|0;if((da(b+(c<<4)+4|0,4,0,0)|0|0)!=0?(cd(da(d|0,4,0,0)|0|0,f)|0)==0:0)break a;c=c+1|0}while((c|0)<(e|0))}else{c=0;d=0}while(0);do if((c|0)<(e|0)){if((c|0)<2){ea(h|0,f|0,4,0);$c(128,k,29256,h)|0;m=16;break}if(!(da(g+63>>0|0,1,0,0)|0)){$c(128,k,29288,h)|0;m=16;break}c=d+4|0;b=da(c|0,4,0,0)|0|0;if((da(b+8>>0|0,1,0,0)|0|0)==0?(da(b+16|0,4,0,0)|0|0)==0:0){Ll(b);ea(c|0,0|0,4,0);ea(d+12|0,0|0,4,0);Dg(g);break}ea(h|0,f|0,4,0);$c(128,k,29336,h)|0;m=16}else{ea(h|0,f|0,4,0);$c(128,k,29232,h)|0;m=16}while(0);if((m|0)==16){ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,k,-1,1,-1)|0}i=l;return}function $j(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;w=i;i=i+32|0;if((i|0)>=(j|0))ba();s=w;b=w+20|0;f=w+16|0;g=w+12|0;v=w+8|0;h=w+4|0;u=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;ea(b|0,0|0,4,0);ea(f|0,0|0,4,0);ea(v|0,0|0,4,0);r=Rg(da(c|0,4,0,0)|0|0,1)|0;n=Rg(da(c+4|0,4,0,0)|0|0,1)|0;r=(r|0)==0?10360:r;n=(n|0)==0?10360:n;q=u+20|0;d=da(q|0,4,0,0)|0|0;e=da(u+116|0,4,0,0)|0|0;a:do if((d|0)<(e+2|0)){if(!(da(u+63>>0|0,1,0,0)|0)){d=th(u,29456,s)|0;ea(v|0,d|0,4,0);b=0;t=42;break}o=u+16|0;e=da(o|0,4,0,0)|0|0;b:do if((d|0)>0){c=0;while(1){if(!(cd
6 function Yr(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;r=i;i=i+16|0;if((i|0)>=(j|0))ba();o=r;p=r+8|0;ea(p|0,0|0,4,0);a:do if(!b){ea(e|0,0|0,4,0);f=0}else{g=da(b>>0|0,1,0,0)|0|0;if(g<<24>>24==-98)do{b=da(b+12|0,4,0,0)|0|0;g=da(b>>0|0,1,0,0)|0|0}while(g<<24>>24==-98);if(g<<24>>24==-97)k=da(b+38>>0|0,1,0,1)|0|0;else k=g&255;if((k|0)==157){b=da(b+12|0,4,0,0)|0|0;k=da(b>>0|0,1,0,0)|0|0;if((k&-2)<<24>>24==-124){h=-1;g=-1;n=k&255;k=26016;q=12}else q=30}else if((k|0)==38){h=Wq(da(b+8|0,4,0,0)|0|0,0)|0;f=Yr(a,da(b+12|0,4,0,0)|0|0,c,h,e)|0;g=da(e|0,4,0,0)|0|0;if(!g)break;fm(g,h,1);em(da(e|0,4,0,0)|0|0,d,1);break}else{h=1;g=0;n=k;k=10360;q=12}b:do if((q|0)==12){c:do switch(n|0){case 101:{f=lh(a,40,0)|0;if(!f){ea(p|0,f|0,4,0);break c}else{l=f+0|0;m=l+40|0;do{ea(l>>0|0,0|0,1,0);l=l+1|0}while((l|0)<(m|0));ea(f+8|0,1|0,2,0);ea(f+32|0,a|0,4,0);ea(p|0,f|0,4,0);g=f;f=0;break b}}case 157:{b=da(b+12|0,4,0,0)|0|0;q=30;break b}case 134:{f=lh(a,40,0)|0;if(!f){ea(p|0,f|0,4,0);break c}l=f+0|0;m=l+40|0;do{ea(l>>0|0,0|0,1,0);l=l+1|0}while((l|0)<(m|0));ea(f+8|0,1|0,2,0);ea(f+32|0,a|0,4,0);ea(p|0,f|0,4,0);g=(da(b+8|0,4,0,0)|0|0)+2|0;b=g;while(1)if(!(da(b>>0|0,1,0,0)|0))break;else b=b+1|0;p=(b-g&1073741823)+-1|0;Wg(f,Xt(a,g,p)|0,(p|0)/2|0,0,75)|0;g=f;f=0;break b}case 97:case 132:case 133:{f=lh(a,40,0)|0;if(!f){ea(p|0,f|0,4,0);break c}l=f+0|0;m=l+40|0;do{ea(l>>0|0,0|0,1,0);l=l+1|0}while((l|0)<(m|0));ea(f+8|0,1|0,2,0);ea(f+32|0,a|0,4,0);ea(p|0,f|0,4,0);do if(!((da(b+4|0,4,0,0)|0)&1024)){h=da(b+8|0,4,0,0)|0|0;ea(o|0,k|0,4,0);ea(o+4|0,h|0,4,0);h=th(a,19456,o)|0;if(!h)break c;if(f)Wg(f,h,-1,1,75)|0}else{k=da(b+8|0,4,0,0)|0|0;k=rw(k|0,((k|0)<0)<<31>>31|0,h|0,g|0)|0;h=C;b=f+8|0;if(!((da(b|0,2,0,0)|0)&9312)){p=f;ea(p|0,k|0,4,0);ea(p+4|0,h|0,4,0);ea(b|0,4|0,2,0);break}else{Yg(f,k,h);break}}while(0);if((n&-2|0)==132&d<<24>>24==65)em(f,67,1);else em(f,d,1);g=f+8|0;b=da(g|0,2,0,1)|0|0;if(b&12)ea(g|0,b&65533|0,2,0);if(c<<24>>24==1){g=f;f=0;break b}g=f;f=Xl(f,c&255)|0;break b}default:{g=0;f=0;break b}}while(0);ea(a+65>>0|0,1|0,1,0);lg(a,0);Lh(f);f=7;break a}while(0);if((q|0)==30){o=(Yr(a,b,c,d,p)|0)==0;g=da(p|0,4,0,0)|0|0;if(o&(g|0)!=0){np(g);h=g+8|0;b=da(h|0,2,0,0)|0|0;do if(!(b&8)){k=g;f=da(k|0,4,0,0)|0|0;k=da(k+4|0,4,0,0)|0|0;if((f|0)==0&(k|0)==-2147483648){ea(g|0,+(9223372036854775808.0),8,1);ea(h|0,b&48640|8|0,2,0);break}else{o=cw(0,0,f|0,k|0)|0;p=g;ea(p|0,o|0,4,0);ea(p+4|0,C|0,4,0);break}}else ea(g|0,+-+(+da(g|0,8,1,0)),8,1);while(0);em(g,d,c);f=0}else f=0}ea(e|0,g|0,4,0)}while(0);i=r;return f|0}function Zr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;do if((b|0)!=0?(e=a+19|0,f=da(e>>0|0,1,0,0)|0|0,(f&255)<8):0){d=0;c=a+116|0;while(1){if((da(c+12|0,4,0,0)|0|0)==(b|0)){d=5;break}d=d+1|0;if((d|0)>=10){d=7;break}else c=c+20|0}if((d|0)==5){ea(c+6>>0|0,1|0,1,0);break}else if((d|0)==7){ea(e>>0|0,f+1<<24>>24|0,1,0);ea(a+((f&255)<<2)+24|0,b|0,4,0);break}}while(0);return}function _r(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+32|0;if((i|0)>=(j|0))ba();l=m;c=a+484|0;h=da(c|0,4,0,0)|0|0;k=da(a|0,4,0,0)|0|0;do if((h|0)!=0?(as(a),ea(a+512|0,0|0,4,0),(da(h+52|0,4,0,0)|0|0)>=1):0){if(da(k+145>>0|0,1,0,0)|0)if(!(Hk((da(h+68|0,4,0,0)|0|0)+8|0,da(h|0,4,0,0)|0|0,h)|0)){ea(c|0,0|0,4,0);break}else{ea(k+65>>0|0,1|0,1,0);break}if(b)ea(a+500|0,(da(b|0,4,0,0)|0|0)-(da(a+496|0,4,0,0)|0|0)+(da(b+4|0,4,0,0)|0|0)|0,4,0);ea(l|0,a+496|0,4,0);g=th(k,25256,l)|0;b=da(h+68|0,4,0,0)|0|0;a:do if(b){d=da(k+20|0,4,0,0)|0|0;if((d|0)>0){e=da(k+16|0,4,0,0)|0|0;f=0;while(1){c=f+1|0;if((da(e+(f<<4)+12|0,4,0,0)|0|0)==(b|0)){c=f;break a}if((c|0)<(d|0))f=c;else break}}else c=0}else c=-1e6;while(0);e=da(h|0,4,0,0)|0|0;f=da(a+384|0,4,0,0)|0|0;ea(l|0,da((da(k+16|0,4,0,0)|0|0)+(c<<4)|0,4,0,0)|0|0,4,0);ea(l+4|0,((c|0)==1?13184:13208)|0,4,0);ea(l+8|0,e|0,4,0);ea(l+12|0,e|0,4,0);ea(l+16|0,g|0,4,0);ea(l+20|0,f|0,4,0);Ar(a,25280,l);lg(k,g);g=Nq(a)|0;Cr(a,c);vh(g,144,0,0,0)|0;ea(l|0,da(h|0,4,0,0)|0|0,4,0);Hr(g,c,th(k,25368,l)|0);a=a+72|0;l=(da(a|0,4,0,0)|0|0)+1|0;ea(a|0,l|0,4,0);a=da(h|0,4,0,0)|0|0;wh(g,vh(g,97,0,l,0)|0,a,0);vh(g,147,c,l,0)|0}while(0);i=m;return}function $r(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=b+52|0;h=da(g|0,4,0,0)|0|0;d=h+1|0;ea(g|0,d|0,4,0);f=(h<<2)+8|0;e=b+56|0;f=qo(a,da(e|0,4,0,0)|0|0,f,((f|0)<0)<<31>>31)|0;if(!f){if((h|0)>0){b=0;do{lg(a,da((da(e|0,4,0,0)|0|0)+(b<<2)|0,4,0,0)|0|0);b=b+1|0}while((b|0)!=(h|0))}lg(a,c);lg(a,da(e|0,4,0,0)|0|0);ea(g|0,0|0,4,0)}else{ea(f+(h<<2)|0,c|0,4,0);ea(f+(d<<2)|0,0|0,4,0)}ea(e|0,f|0,4,0);return}function as(a){a=a|0;var b=0,c=0,d=0,e=0;b=da(a+512|0,4,0,0)|0|0;if((b|0)!=0?(e=da(a+484|0,4,0,0)|0|0,(e|0)!=0):0){c=da(a+516|0,4,0,0)|0|0;d=da(a|0,4,0,0)|0|0;a=iw(c|0,((c|0)<0)<<31>>31|0,1,0)|0;a=lh(d,a,C)|0;if(!a)a=0;else{jw(a|0,b|0,c|0)|0;ea(a+c>>0|0,0|0,1,0)}$r(d,e,a)}return}function bs(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;m=i;i=i+16|0;if((i|0)>=(j|0))ba();h=m;k=da(a|0,4,0,0)|0|0;l=Vq(k,c)|0;g=(b|0)!=0;if((l|0)!=0&g?(f=da(b|0,4,0,0)|0|0,(f|0)>0):0){c=f;f=0;do{if(!(cdcd|0|0;if(n)ea(n+(((da(d|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,-128|0,1,0);o=o+1|0}while((o|0)!=(x|0))}else k=x+-1|0;vh(B,33,y,p,k)|0}else yu(a,da(f+4|0,4,0,0)|0|0,h,x,y);if(!A)ht(B,da(b+12|0,4,0,0)|0|0,h)}a:do switch(q|0){case 7:case 8:{n=da(g+16|0,4,0,0)|0|0;d=da(n|0,4,0,0)|0|0;j=a+19|0;f=da(j>>0|0,1,0,0)|0|0;if(!(f<<24>>24)){v=a+72|0;o=(da(v|0,4,0,0)|0|0)+1|0;ea(v|0,o|0,4,0)}else{o=f+-1<<24>>24;ea(j>>0|0,o|0,1,0);o=da(a+((o&255)<<2)+24|0,4,0,0)|0|0}p=d+2|0;q=a+60|0;e=da(q|0,4,0,0)|0|0;r=a+56|0;j=da(r|0,4,0,0)|0|0;if((j|0)<(p|0)){v=a+72|0;e=da(v|0,4,0,0)|0|0;ea(v|0,e+p|0,4,0);e=e+1|0}else{ea(q|0,e+p|0,4,0);ea(r|0,j-p|0,4,0)}m=e+d|0;k=m+1|0;if(w<<24>>24==8){j=z+1|0;f=vh(B,69,j,0,y)|0;wh(B,f,x,-14);vh(B,49,y,x,k)|0;vh(B,110,j,k,0)|0;j=da(B+4|0,4,0,0)|0|0;if(!j)l=f;else{ea(j+(((da(B+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,16|0,1,0);l=f}}else{vh(B,49,y,x,k)|0;l=0}if((d|0)>0){k=n+4|0;j=y+-1|0;f=0;do{vh(B,34,j+(da((da(k|0,4,0,0)|0|0)+(f*20|0)+16|0,2,0,1)|0|0)|0,f+e|0,0)|0;f=f+1|0}while((f|0)!=(d|0))}vh(B,73,z,m,0)|0;vh(B,49,e,p,o)|0;vh(B,110,z,o,0)|0;if(l){j=da(B+32|0,4,0,0)|0|0;if(j>>>0>l>>>0)ea((da(B+4|0,4,0,0)|0|0)+(l*20|0)+8|0,j|0,4,0);ea((da(B+24|0,4,0,0)|0|0)+88|0,j+-1|0,4,0)}Zr(a,o);ct(a,e,p);if((da(r|0,4,0,0)|0|0)<(p|0)){ea(r|0,p|0,4,0);ea(q|0,e|0,4,0);u=94}else u=94;break}case 2:{vh(B,111,z,y,x)|0;u=94;break}case 3:{vh(B,25,1,z,0)|0;u=94;break}case 12:case 14:case 6:case 5:{l=t+1|0;k=a+60|0;e=da(k|0,4,0,0)|0|0;m=a+56|0;j=da(m|0,4,0,0)|0|0;if((j|0)<(l|0)){u=a+72|0;e=da(u|0,4,0,0)|0|0;ea(u|0,e+l|0,4,0);e=e+1|0}else{ea(k|0,e+l|0,4,0);ea(m|0,j-l|0,4,0)}j=e+t|0;vh(B,49,y,x,j)|0;if(w<<24>>24==6){y=z+1|0;wh(B,vh(B,69,y,(da(B+32|0,4,0,0)|0|0)+4|0,e)|0,0,-14);vh(B,110,y,e,0)|0}if(v)zu(a,A,b,j,1,t);else{j=a+19|0;f=da(j>>0|0,1,0,0)|0|0;if(!(f<<24>>24)){y=a+72|0;f=(da(y|0,4,0,0)|0|0)+1|0;ea(y|0,f|0,4,0)}else{f=f+-1<<24>>24;ea(j>>0|0,f|0,1,0);f=da(a+((f&255)<<2)+24|0,4,0,0)|0|0}vh(B,74,z,f,0)|0;vh(B,75,z,e,f)|0;j=da(B+4|0,4,0,0)|0|0;if(j)ea(j+(((da(B+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0);Zr(a,f)}ct(a,e,l);if((da(m|0,4,0,0)|0|0)<(l|0)){ea(m|0,l|0,4,0);ea(k|0,e|0,4,0);u=94}else u=94;break}case 10:{if(v)zu(a,A,b,y,1,t);else u=95;break}case 9:case 13:{if(v){zu(a,A,b,y,x,t);break a}if(w<<24>>24==13){vh(B,22,da(s|0,4,0,0)|0|0,0,0)|0;u=95;break a}else{vh(B,35,y,x,0)|0;ct(a,y,x);u=94;break a}}case 1:{j=a+19|0;f=da(j>>0|0,1,0,0)|0|0;if(!(f<<24>>24)){w=a+72|0;f=(da(w|0,4,0,0)|0|0)+1|0;ea(w|0,f|0,4,0)}else{f=f+-1<<24>>24;ea(j>>0|0,f|0,1,0);f=da(a+((f&255)<<2)+24|0,4,0,0)|0|0}vh(B,49,y,x,f)|0;vh(B,110,z,f,0)|0;Zr(a,f);u=94;break}case 11:{e=g+1|0;ea(e>>0|0,Au(da(da(c+4|0,4,0,0)|0|0,4,0,0)|0|0,da(e>>0|0,1,0,0)|0|0)|0|0,1,0);if(v){zu(a,A,b,y,1,t);break a}f=a+19|0;j=da(f>>0|0,1,0,0)|0|0;if(!(j<<24>>24)){x=a+72|0;f=(da(x|0,4,0,0)|0|0)+1|0;ea(x|0,f|0,4,0)}else{x=j+-1<<24>>24;ea(f>>0|0,x|0,1,0);f=da(a+((x&255)<<2)+24|0,4,0,0)|0|0}wh(B,vh(B,49,y,1,f)|0,e,1);ct(a,y,1);vh(B,110,z,f,0)|0;Zr(a,f);u=94;break}default:u=94}while(0);if((u|0)==94?(A|0)==0:0)u=95;if((u|0)==95?(C=da(b+8|0,4,0,0)|0|0,(C|0)!=0):0)vh(B,140,C,i,0)|0;return}function Ps(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;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;if((da(a+450>>0|0,1,0,0)|0|0)==2){g=da(a+8|0,4,0,0)|0|0;h=da(a|0,4,0,0)|0|0;f=(e|0)!=0?35160:10360;if((b|0)==116)e=35320;else if((b|0)==118)e=35336;else if((b|0)==117)e=35352;else e=35360;ea(k|0,c|0,4,0);ea(k+4|0,d|0,4,0);ea(k+8|0,f|0,4,0);ea(k+12|0,e|0,4,0);e=th(h,35120,k)|0;wh(g,vh(g,157,da(a+464|0,4,0,0)|0|0,0,0)|0,e,-1)}i=l;return}function Qs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=c+b|0;e=(d*5|0)+24|0;f=pg(e,0)|0;if(!f)ea(a+65>>0|0,1|0,1,0);else{ew(f|0,0,e|0)|0;ea(f+16|0,f+20+(d<<2)|0,4,0);ea(f+6|0,b|0,2,0);ea(f+8|0,c|0,2,0);ea(f+4>>0|0,da(a+62>>0|0,1,0,0)|0|0|0,1,0);ea(f+12|0,a|0,4,0);ea(f|0,1|0,4,0)}return f|0}function Rs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=da(b+52|0,4,0,0)|0|0;if(!((e|0)!=0?(d=Rs(a,e,c)|0,(d|0)!=0):0)){d=da(b|0,4,0,0)|0|0;if((da(d|0,4,0,0)|0|0)>(c|0))d=bu(a,da((da(d+4|0,4,0,0)|0|0)+(c*20|0)|0,4,0,0)|0|0)|0;else d=0}return d|0}function Ss(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=(a|0)==0;d=(b|0)==0;a:do if(!(e&d))if(!(e|d)?(f=da(a|0,4,0,0)|0|0,(f|0)==(da(b|0,4,0,0)|0|0)):0)if((f|0)>0){a=da(a+4|0,4,0,0)|0|0;d=da(b+4|0,4,0,0)|0|0;e=0;while(1){if((da(a+(e*20|0)+12>>0|0,1,0,0)|0|0)!=(da(d+(e*20|0)+12>>0|0,1,0,0)|0|0)){d=1;break a}if(Bu(da(a+(e*20|0)|0,4,0,0)|0|0,da(d+(e*20|0)|0,4,0,0)|0|0,c)|0){d=1;break a}e=e+1|0;if((e|0)>=(f|0)){d=0;break}}}else d=0;else d=1;else d=0;while(0);return d|0}function Ts(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,i=0,j=0;e=da(a|0,4,0,0)|0|0;j=da(b|0,4,0,0)|0|0;i=Qs(e,j-c|0,d+1|0)|0;if((i|0)!=0&(j|0)>(c|0)){f=e+8|0;g=i+16|0;h=c;d=(da(b+4|0,4,0,0)|0|0)+(c*20|0)|0;while(1){e=bu(a,da(d|0,4,0,0)|0|0)|0;if(!e)e=da(f|0,4,0,0)|0|0;b=h-c|0;ea(i+(b<<2)+20|0,e|0,4,0);ea((da(g|0,4,0,0)|0|0)+b>>0|0,da(d+12>>0|0,1,0,0)|0|0|0,1,0);h=h+1|0;if((h|0)==(j|0))break;else d=d+20|0}}return i|0}function Us(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,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;Ja=i;i=i+64|0;if((i|0)>=(j|0))ba();Ha=Ja;Ia=Ja+48|0;Ga=Ja+52|0;T=Ja+28|0;Ea=a+8|0;_=da(Ea|0,4,0,0)|0|0;Fa=da(a|0,4,0,0)|0|0;ea(T+0|0,0|0,4,0);ea(T+4|0,0|0,4,0);ea(T+8|0,0|0,4,0);ea(T+12|0,0|0,4,0);ea(T+16|0,0|0,4,0);if(!d)J=0;else J=(da(d|0,4,0,0)|0|0)>63?0:d;U=T+8|0;ea(U|0,J|0,4,0);X=Fa+60|0;if((da(X|0,2,0,0)|0)&32)f=f&64511;d=da(b|0,4,0,0)|0|0;a:do if((d|0)<=64){B=f&65535;K=(B&64|0)!=0;P=K?1:d;n=(P*80|0)+743&-16;h=n+72|0;d=lh(Fa,h,0)|0;Da=(d|0)==0;if(!Da)ew(d|0,0,h|0)|0;ua=Fa+65|0;if(da(ua>>0|0,1,0,0)|0){lg(Fa,d);d=0;break}Y=d+60|0;Z=d+64|0;ea(Z|0,-1|0,4,0);ea(Y|0,-1|0,4,0);va=d+41|0;ea(va>>0|0,P|0,1,0);ea(d|0,a|0,4,0);wa=d+4|0;ea(wa|0,b|0,4,0);W=d+8|0;ea(W|0,J|0,4,0);ea(d+12|0,e|0,4,0);ya=ws(_)|0;xa=d+48|0;ea(xa|0,ya|0,4,0);k=d+52|0;ea(k|0,ya|0,4,0);ya=d+34|0;ea(ya|0,f|0,2,0);za=a+424|0;Aa=d+56|0;ea(Aa|0,da(za|0,4,0,0)|0|0,4,0);Ba=d+68|0;ea(T|0,d|0,4,0);Ca=d+328|0;S=T+4|0;ea(S|0,Ca|0,4,0);N=T+12|0;ea(N|0,d+n|0,4,0);ea(d+(n+48)|0,d+(n+56)|0,4,0);ea(d+(n+40)|0,0|0,2,0);ea(d+(n+44)|0,3|0,2,0);ea(d+(n+36)|0,0|0,4,0);ea(Ba|0,0|0,4,0);ea(Ca|0,d|0,4,0);ea(d+332|0,0|0,4,0);sa=d+340|0;ea(sa|0,0|0,4,0);ea(d+344|0,8|0,4,0);ta=d+348|0;ea(ta|0,d+352|0,4,0);Cu(Ca,c,72);c=(P|0)==0;if((da(d+340|0,4,0,0)|0|0)>0){u=Ha+20|0;s=Ha+4|0;r=Ha+24|0;t=Ca;h=0;do{if(!c){t=da((da(t+20|0,4,0,0)|0|0)+(h*48|0)|0,4,0,0)|0|0;ea(Ha+0|0,0|0,4,0);ea(Ha+4|0,0|0,4,0);ea(Ha+8|0,0|0,4,0);ea(Ha+12|0,0|0,4,0);ea(Ha+16|0,0|0,4,0);ea(Ha+20|0,0|0,4,0);ea(u>>0|0,2|0,1,0);ea(Ha|0,78|0,4,0);ea(s|0,79|0,4,0);ea(r|0,0|0,4,0);qs(Ha,t)|0;t=da(S|0,4,0,0)|0|0;if(da(u>>0|0,1,0,0)|0)ra=15}else ra=15;if((ra|0)==15){ra=0;ft(a,da((da(t+20|0,4,0,0)|0|0)+(h*48|0)|0,4,0,0)|0|0,da(k|0,4,0,0)|0|0,16);t=da(S|0,4,0,0)|0|0;V=(da(t+20|0,4,0,0)|0|0)+(h*48|0)+20|0;ea(V|0,da(V|0,2,0,1)|0|4|0,2,0)}h=h+1|0}while((h|0)<(da(t+12|0,4,0,0)|0|0))}if(c){if(J)ea(d+36>>0|0,da(J|0,4,0,0)|0|0,1,0);if(B&1024)ea(d+40>>0|0,1|0,1,0)}if((da(b|0,4,0,0)|0|0)>0){n=0;do{V=da(b+(n*72|0)+48|0,4,0,0)|0|0;I=da(Ba|0,4,0,0)|0|0;ea(Ba|0,I+1|0,4,0);ea(Ba+(I<<2)+4|0,V|0,4,0);n=n+1|0}while((n|0)<(da(b|0,4,0,0)|0|0))}m=da(sa|0,4,0,0)|0|0;if((m|0)>0)do{m=m+-1|0;Du(Ca,m)}while((m|0)>0);b:do if(!(da(ua>>0|0,1,0,0)|0)){V=(B&1024|0)==0;c:do if(!V){d:do if((da(b|0,4,0,0)|0|0)==1){A=da(b+48|0,4,0,0)|0|0;h=da(b+24|0,4,0,0)|0|0;u=da(e|0,4,0,0)|0|0;e:do if((u|0)>0){s=da(e+4|0,4,0,0)|0|0;r=0;while(1){t=da(s+(r*20|0)|0,4,0,0)|0|0;f:do if(!t)t=0;else while(1){c=da(t+4|0,4,0,0)|0|0;if(!(c&4096))break f;if(!(c&262144))t=t+12|0;else t=da((da(t+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;t=da(t|0,4,0,0)|0|0;if(!t){t=0;break}}while(0);do if((da(t>>0|0,1,0,0)|0|0)==-102){if((da(t+28|0,4,0,0)|0|0)!=(A|0))break;if((da(t+32|0,2,0,0)|0|0)<0)break e}while(0);r=r+1|0;if((r|0)>=(u|0)){ra=41;break}}}else ra=41;while(0);g:do if((ra|0)==41){t=da(h+8|0,4,0,0)|0|0;if(!t)break d;l=e+4|0;k=h+4|0;while(1){if(da(t+50>>0|0,1,0,0)|0){x=t+46|0;h:do if(!(da(x|0,2,0,0)|0))c=0;else{z=t+4|0;y=t+32|0;c=0;do{w=da((da(z|0,4,0,0)|0|0)+(c<<1)|0,2,0,0)|0|0;if(!(Eu(Ca,A,w,-1,-1,2,t)|0)){h=da((da(y|0,4,0,0)|0|0)+(c<<2)|0,4,0,0)|0|0;if((da(e|0,4,0,0)|0|0)>0)u=0;else break h;i:while(1){v=da((da(l|0,4,0,0)|0|0)+(u*20|0)|0,4,0,0)|0|0;j:do if(!v)s=0;else{s=v;while(1){r=da(s+4|0,4,0,0)|0|0;if(!(r&4096))break j;if(!(r&262144))s=s+12|0;else s=da((da(s+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;s=da(s|0,4,0,0)|0|0;if(!s){s=0;break}}}while(0);do if((da(s>>0|0,1,0,0)|0|0)==-102){if((da(s+32|0,2,0,0)|0|0)!=(da((da(z|0,4,0,0)|0|0)+(c<<1)|0,2,0,0)|0|0))break;if((da(s+28|0,4,0,0)|0|0)!=(A|0))break;s=bu(a,v)|0;if(!s)break;if(!(cdcd(da(b|0,4,0,0)|0|0,t)|0){s=da(u+20|0,4,0,0)|0|0;if((s|0)>0){h=0;do{g=da(u+(h<<3)+36|0,4,0,0)|0|0;if((da(e+(g<<2)|0,4,0,0)|0|0)>-1){U=17;break c}h=h+1|0;if((g|0)==(da(D|0,2,0,0)|0|0)&F){U=17;break c}}while((h|0)<(s|0))}}else U=17}else{t=da(u+8|0,4,0,0)|0|0;U=17}while(0);do if((U|0)==17){U=0;if(!(da(H>>0|0,1,0,0)|0))r=rh(a,0,t,G)|0;else r=Zh(O,t,G)|0;t=(r|0)==0;if(!t?(Lt(a,r,u,K,I)|0)==0:0){t=da(I|0,4,0,0)|0|0;if(!t){ea(J|0,da(u+36|0,4,0,0)|0|0,4,0);t=J}h=u+20|0;if((da(h|0,4,0,0)|0|0)>0){p=da(K|0,4,0,0)|0|0;k=(p|0)==0;n=r+36|0;o=r+4|0;p=p+4|0;g=0;q=0;do{s=t+(q<<2)|0;if((da(s|0,4,0,0)|0|0)==(da(D|0,2,0,0)|0|0))ea(s|0,-1|0,4,0);if(da(E|0,4,0,0)|0){if(k)s=n;else s=(da(p|0,4,0,0)|0|0)+(q<<1)|0;g=(dv(a,da(r|0,4,0,0)|0|0,da((da(o|0,4,0,0)|0|0)+((da(s|0,2,0,0)|0|0)*24|0)|0,4,0,0)|0|0,m)|0)==2&1}q=q+1|0}while((q|0)<(da(h|0,4,0,0)|0|0));s=r}else{s=r;g=0}fs(a,m,da(r+32|0,4,0,0)|0|0,0,da(s|0,4,0,0)|0|0);ea(z|0,(da(z|0,4,0,0)|0|0)+1|0,4,0);if(!A)ev(a,m,r,da(K|0,4,0,0)|0|0,u,t,c,-1,g);d:do if(!B){s=da(C|0,4,0,0)|0|0;s=da(((s|0)==0?a:s)+528|0,4,0,0)|0|0;do if(s){s=da(s|0,4,0,0)|0|0;if((s|0)==(da(u+28|0,4,0,0)|0|0)?(da(u+25>>0|0,1,0,0)|0|0)==7:0)break d;if((s|0)!=(da(u+32|0,4,0,0)|0|0))break;if((da(u+26>>0|0,1,0,0)|0|0)==7)break d}while(0);ev(a,m,r,da(K|0,4,0,0)|0|0,u,t,d,1,g)}while(0);lg(O,da(I|0,4,0,0)|0|0);break}if(w)break a;if(da(x>>0|0,1,0,0)|0)break a;if(t){t=Nq(a)|0;s=u+20|0;h=da(s|0,4,0,0)|0|0;g=(da(t+32|0,4,0,0)|0|0)+1+h|0;if((h|0)>0){h=0;do{vh(t,76,y+(da(u+(h<<3)+36|0,4,0,0)|0|0)|0,g,0)|0;h=h+1|0}while((h|0)<(da(s|0,4,0,0)|0|0))}vh(t,134,da(u+24>>0|0,1,0,1)|0|0,-1,0)|0}}while(0);u=da(u+4|0,4,0,0)|0|0}while((u|0)!=0);h=b;g=da(L|0,4,0,0)|0|0}g=an(g+56|0,da(h|0,4,0,0)|0|0,M)|0;if((g|0)!=0?(l=da(g+8|0,4,0,0)|0|0,P=O+65|0,(l|0)!=0):0){n=(e|0)!=0;o=a+408|0;p=a+20|0;q=a+68|0;r=(d|0)==0;s=(c|0)==0;t=n&1;m=N<<24>>24==0;do{ea(T|0,0|0,4,0);ea(S|0,0|0,4,0);if(!(n?(av(b,l,e,f)|0)==0:0))U=57;do if((U|0)==57){U=0;h=l+24|0;if((((da(h>>0|0,1,0,0)|0|0)==0?((da(R|0,4,0,0)|0)&16777216|0)==0:0)?(da(o|0,4,0,0)|0|0)==0:0)?(da(p>>0|0,1,0,0)|0|0)==0:0)break;if(Lt(a,b,l,T,S)|0){if(m)break a;if(!(da(P>>0|0,1,0,0)|0))break;else break a}g=or(O,0,0,0)|0;if(g){D=da(l|0,4,0,0)|0|0;ea(g+24|0,D|0,4,0);k=g+16|0;ea(k|0,da(D|0,4,0,0)|0|0,4,0);D=D+40|0;ea(D|0,(da(D|0,2,0,0)|0|0)+1<<16>>16|0,2,0);D=da(q|0,4,0,0)|0|0;ea(q|0,D+1|0,4,0);ea(g+48|0,D|0,4,0);if(!r)fv(a,g,b,da(T|0,4,0,0)|0|0,l,da(S|0,4,0,0)|0|0,d,-1);if((!s?(Q=da(l+t+25>>0|0,1,0,0)|0|0,fv(a,g,b,da(T|0,4,0,0)|0|0,l,da(S|0,4,0,0)|0|0,c,1),(da(h>>0|0,1,0,0)|0|0)==0):0)?!(Q<<24>>24==7|Q<<24>>24==9):0){D=da(o|0,4,0,0)|0|0;ea(((D|0)==0?a:D)+21>>0|0,1|0,1,0)}ea(k|0,0|0,4,0);Co(O,g)}lg(O,da(S|0,4,0,0)|0|0)}while(0);l=da(l+12|0,4,0,0)|0|0}while((l|0)!=0)}}while(0);i=V;return}function zt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();o=p;n=da(a+8|0,4,0,0)|0|0;g=da(b+8|0,4,0,0)|0|0;a:do if((da(b+44>>0|0,1,0,0)|0)&32){if(g){f=g;while(1){if(((da(f+51>>0|0,1,0,0)|0)&3)==2){m=5;break a}f=da(f+20|0,4,0,0)|0|0;if(!f){f=0;m=5;break}}}}else{f=0;m=5}while(0);if((m|0)==5?(g|0)!=0:0){k=(e|0)==0;l=0;h=0;b=-1;while(1){if(k){if((g|0)!=(f|0))m=10}else if(!((g|0)==(f|0)?1:(da(e+(l<<2)|0,4,0,0)|0|0)==0))m=10;if((m|0)==10){m=0;b=Ot(a,g,c,0,1,o,h,b)|0;vh(n,111,l+d|0,b,da((((da(g+51>>0|0,1,0,0)|0)&8)==0?g+48|0:g+46|0)|0,2,0,1)|0|0)|0;Pt(a,da(o|0,4,0,0)|0|0);h=g}g=da(g+20|0,4,0,0)|0|0;if(!g)break;else l=l+1|0}}i=p;return}function At(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=Nq(a)|0;n=da(b+8|0,4,0,0)|0|0;if(!n){k=b+44|0;m=0}else{o=(i|0)!=0;k=b+44|0;p=o?17:1;q=t+4|0;r=t+32|0;m=0;s=0;j=n;while(1){l=f+(s<<2)|0;n=da(l|0,4,0,0)|0|0;do if(n){if(da(j+36|0,4,0,0)|0){vh(t,76,n,(da(r|0,4,0,0)|0|0)+2|0,0)|0;n=da(l|0,4,0,0)|0|0}vh(t,110,s+d|0,n,0)|0;if(((da(j+51>>0|0,1,0,0)|0)&3)==2){n=((da(k>>0|0,1,0,0)|0)&32)!=0;if(n|o)m=n?p:16;else{m=1;break}}else if(o)m=16;else{m=1;break}n=da(q|0,4,0,0)|0|0;if(!n)m=1;else{ea(n+(((da(r|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,m|0,1,0);m=1}}while(0);j=da(j+20|0,4,0,0)|0|0;if(!j)break;else s=s+1|0}}if(!((da(k>>0|0,1,0,0)|0)&32)){l=e+1|0;k=a+19|0;j=da(k>>0|0,1,0,0)|0|0;if(!(j<<24>>24)){f=a+72|0;n=(da(f|0,4,0,0)|0|0)+1|0;ea(f|0,n|0,4,0)}else{n=j+-1<<24>>24;ea(k>>0|0,n|0,1,0);n=da(a+((n&255)<<2)+24|0,4,0,0)|0|0}k=b+38|0;vh(t,49,l,da(k|0,2,0,0)|0|0,n)|0;if(!(m<<24>>24))vt(t,b,0);ct(a,l,da(k|0,2,0,0)|0|0);l=a+18|0;if(!(da(l>>0|0,1,0,0)|0))j=(g|0)!=0?5:3;else j=0;if(h)j=(j&255|8)&255;if(!i)k=j;else k=(j&255|16)&255;vh(t,75,c,n,e)|0;if(!(da(l>>0|0,1,0,0)|0))wh(t,-1,da(b|0,4,0,0)|0|0,0);j=da(t+4|0,4,0,0)|0|0;if(j)ea(j+(((da(t+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,k|0,1,0)}return}function Bt(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,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;V=i;i=i+64|0;if((i|0)>=(j|0))ba();O=V+52|0;N=V+48|0;S=V+8|0;R=V;Q=V+40|0;T=V+32|0;P=V+24|0;if((((da((da(a|0,4,0,0)|0|0)+24|0,4,0,0)|0)&524288|0)!=0?(M=b+68|0,g=an((da(M|0,4,0,0)|0|0)+56|0,da(b|0,4,0,0)|0|0,V+16|0)|0,(g|0)!=0):0)?(h=da(g+8|0,4,0,0)|0|0,(h|0)!=0):0){L=(e|0)==0;E=(c|0)!=0;F=E&1;G=T+4|0;H=Q+4|0;I=b+4|0;J=P+4|0;K=E?110:109;do{if(!(!L?(av(b,h,e,f)|0)==0:0)){B=da(a|0,4,0,0)|0|0;A=da(h+F+25>>0|0,1,0,0)|0|0;C=A&255;D=h+(F<<2)+28|0;c=da(D|0,4,0,0)|0|0;do if(!(A<<24>>24==0|(c|0)!=0)){ea(O|0,0|0,4,0);ea(N|0,0|0,4,0);if(!(Lt(a,b,h,O,N)|0)){o=h+20|0;if((da(o|0,4,0,0)|0|0)>0){u=34352;t=da(u|0,4,0,0)|0|0;u=da(u+4|0,4,0,0)|0|0;w=34360;v=da(w|0,4,0,0)|0|0;w=da(w+4|0,4,0,0)|0|0;x=h+36|0;z=A<<24>>24!=6&(A<<24>>24!=9|E);y=0;l=0;g=0;k=0;do{c=S;ea(c|0,t|0,4,0);ea(c+4|0,u|0,4,0);c=R;ea(c|0,v|0,4,0);ea(c+4|0,w|0,4,0);c=da(N|0,4,0,0)|0|0;if(!c)c=x;else c=c+(y<<2)|0;n=da(c|0,4,0,0)|0|0;p=da(O|0,4,0,0)|0|0;if(!p)r=34368;else r=da((da(I|0,4,0,0)|0|0)+((da((da(p+4|0,4,0,0)|0|0)+(y<<1)|0,2,0,0)|0|0)*24|0)|0,4,0,0)|0|0;ea(T|0,r|0,4,0);c=da((da((da(h|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(n*24|0)|0,4,0,0)|0|0;ea(Q|0,c|0,4,0);if(!r)q=0;else{s=r;while(1)if(!(da(s>>0|0,1,0,0)|0))break;else s=s+1|0;q=s-r&1073741823}ea(G|0,q|0,4,0);if(!c)m=0;else{r=c;while(1)if(!(da(r>>0|0,1,0,0)|0))break;else r=r+1|0;m=r-c&1073741823}ea(H|0,m|0,4,0);s=Yq(a,27,0,0,S)|0;s=Yq(a,122,s,Yq(a,27,0,0,T)|0,0)|0;k=rs(B,k,Yq(a,79,s,Yq(a,27,0,0,Q)|0,0)|0)|0;if(E){r=Yq(a,27,0,0,S)|0;r=Yq(a,122,r,Yq(a,27,0,0,T)|0,0)|0;s=Yq(a,27,0,0,R)|0;g=rs(B,g,Yq(a,73,r,Yq(a,122,s,Yq(a,27,0,0,T)|0,0)|0,0)|0)|0}if(z){do if(A<<24>>24==9){c=Yq(a,27,0,0,R)|0;c=Yq(a,122,c,Yq(a,27,0,0,T)|0,0)|0}else if(A<<24>>24==8){c=da((da((da(h|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(n*24|0)+4|0,4,0,0)|0|0;if(!c){c=Yq(a,101,0,0,0)|0;break}else{c=Lr(B,c,0,0)|0;break}}else c=Yq(a,101,0,0,0)|0;while(0);l=kr(a,l,c)|0;lr(a,l,Q,0)}y=y+1|0}while((y|0)<(da(o|0,4,0,0)|0|0));c=h}else{c=h;l=0;g=0;k=0}lg(B,da(N|0,4,0,0)|0|0);s=da(da(c|0,4,0,0)|0|0,4,0,0)|0|0;if(!s)m=0;else{c=s;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;m=c-s&1073741823}if(A<<24>>24==6){ea(P|0,s|0,4,0);ea(J|0,m|0,4,0);c=st(B,57,34376)|0;if(c)ea(c+1>>0|0,2|0,1,0);r=kr(a,0,c)|0;r=jr(a,r,or(B,0,P,0)|0,k,0,0,0,0,0,0)|0;q=0}else{r=0;q=k}n=B+250|0;o=da(n>>0|0,1,0,0)|0|0;ea(n>>0|0,0|0,1,0);c=m+77|0;p=lh(B,c,0)|0;if(p){ew(p|0,0,c|0)|0;k=p+36|0;ea(p+28|0,k|0,4,0);A=p+76|0;ea(p+48|0,A|0,4,0);ea(p+52|0,m|0,4,0);jw(A|0,s|0,m|0)|0;ea(p+56|0,Lr(B,q,1,0)|0|0,4,0);ea(p+60|0,Or(B,l,1)|0|0,4,0);ea(p+44|0,fr(B,r,1)|0|0,4,0);if(!g){c=p;g=0}else{g=Yq(a,19,g,0,0)|0;ea(p+12|0,Lr(B,g,1,0)|0|0,4,0);c=p}}else{c=0;k=0}ea(n>>0|0,o|0,1,0);Fk(B,q);Fk(B,g);Mk(B,l);Lk(B,r,1);if((da(B+65>>0|0,1,0,0)|0|0)==1){Jk(B,c);c=0;break}if((C|0)==6)ea(k>>0|0,119|0,1,0);else if((C|0)==9?!E:0)ea(k>>0|0,109|0,1,0);else U=49;if((U|0)==49){U=0;ea(k>>0|0,110|0,1,0)}ea(k+4|0,c|0,4,0);C=da(M|0,4,0,0)|0|0;ea(p+20|0,C|0,4,0);ea(p+24|0,C|0,4,0);ea(D|0,c|0,4,0);ea(p+8>>0|0,K|0,1,0)}else c=0}while(0);if(c)cv(a,c,b,d,2,0)}h=da(h+12|0,4,0,0)|0|0}while((h|0)!=0)}i=V;return}function Ct(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;c=da(a+46|0,2,0,0)|0|0;a:do if(c<<16>>16==(da(b+46|0,2,0,0)|0|0)?(da(a+50>>0|0,1,0,0)|0|0)==(da(b+50>>0|0,1,0,0)|0|0):0){if(c<<16>>16){d=da(b+4|0,4,0,0)|0|0;e=da(a+4|0,4,0,0)|0|0;f=b+28|0;g=a+28|0;h=b+32|0;i=a+32|0;m=0;do{if((da(d+(m<<1)|0,2,0,0)|0|0)!=(da(e+(m<<1)|0,2,0,0)|0|0)){c=0;break a}if((da((da(f|0,4,0,0)|0|0)+m>>0|0,1,0,0)|0|0)!=(da((da(g|0,4,0,0)|0|0)+m>>0|0,1,0,0)|0|0)){c=0;break a}j=da((da(h|0,4,0,0)|0|0)+(m<<2)|0,4,0,0)|0|0;k=da((da(i|0,4,0,0)|0|0)+(m<<2)|0,4,0,0)|0|0;l=(k|0)==0;if(!j){if(!l){c=0;break a}}else{if(l){c=0;break a}if(cd(j,k)|0){c=0;break a}}m=m+1|0}while((m|0)<(c&65535|0))}c=(Bu(da(b+36|0,4,0,0)|0|0,da(a+36|0,4,0,0)|0|0,-1)|0)==0&1}else c=0;while(0);return c|0}function Dt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;do if(!((da(c+44>>0|0,1,0,0)|0)&8))d=0;else{f=da(a+408|0,4,0,0)|0|0;f=(f|0)==0?a:f;e=f+404|0;d=da(e|0,4,0,0)|0|0;a:do if(!d)g=5;else while(1){if((da(d+4|0,4,0,0)|0|0)==(c|0))break a;d=da(d|0,4,0,0)|0|0;if(!d){g=5;break}}while(0);if((g|0)==5){d=lh(da(a|0,4,0,0)|0|0,16,0)|0;if(!d){d=0;break}ea(d|0,da(e|0,4,0,0)|0|0,4,0);ea(e|0,d|0,4,0);ea(d+4|0,c|0,4,0);ea(d+8|0,b|0,4,0);e=f+72|0;a=da(e|0,4,0,0)|0|0;ea(d+12|0,a+2|0,4,0);ea(e|0,a+3|0,4,0)}d=da(d+12|0,4,0,0)|0|0}while(0);return d|0}function Et(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+16|0;if((i|0)>=(j|0))ba();g=h;e=da(c+36|0,2,0,0)|0|0;f=da(a|0,4,0,0)|0|0;d=da(c|0,4,0,0)|0|0;if(e<<16>>16>-1){e=da((da(c+4|0,4,0,0)|0|0)+((e<<16>>16)*24|0)|0,4,0,0)|0|0;ea(g|0,d|0,4,0);ea(g+4|0,e|0,4,0);e=1555;d=th(f,27824,g)|0}else{ea(g|0,d|0,4,0);e=2579;d=th(f,34408,g)|0}ys(a,e,b,d,-1,2);i=h;return}function Ft(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a+316|0;f=da(e|0,4,0,0)|0|0;b=kr(a,f,Lr(da(a|0,4,0,0)|0|0,b,0,0)|0)|0;if(b){a=(da(b|0,4,0,0)|0|0)+-1|0;f=da(b+4|0,4,0,0)|0|0;ea(f+(a*20|0)+16|0,c|0,4,0);a=f+(a*20|0)+13|0;ea(a>>0|0,(da(a>>0|0,1,0,0)|0)&-5|d<<2&4|0,1,0)}ea(e|0,b|0,4,0);return}function Gt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=da(d|0,4,0,0)|0|0;if(!(f+-1&f)){h=_((f|0)==0?1:f<<1,c)|0;a=qo(a,b,h,((h|0)<0)<<31>>31)|0;if(!a){ea(e|0,-1|0,4,0);a=b}else g=4}else{a=b;g=4}if((g|0)==4){ew(a+(_(f,c)|0)|0,0,c|0)|0;ea(e|0,f|0,4,0);ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0)}return a|0}function Ht(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;ea(g|0,0|0,4,0);b=da(a+12|0,4,0,0)|0|0;if((b|0)!=0?(c=da(b+24|0,4,0,0)|0|0,(c|0)>0):0){ea(g|0,c|0,4,0);b=c}else b=0;c=da(a+16|0,4,0,0)|0|0;if((c|0)!=0?(d=da(c+24|0,4,0,0)|0|0,(d|0)>(b|0)):0)ea(g|0,d|0,4,0);e=a+4|0;b=a+20|0;if(!((da(e|0,4,0,0)|0)&2048)){c=da(b|0,4,0,0)|0|0;if(c){su(c,g);b=da(b|0,4,0,0)|0|0;if((b|0)!=0?(f=da(b|0,4,0,0)|0|0,(f|0)>0):0){d=da(b+4|0,4,0,0)|0|0;c=0;b=0;do{b=da((da(d+(c*20|0)|0,4,0,0)|0|0)+4|0,4,0,0)|0|b;c=c+1|0}while((c|0)!=(f|0));b=b&2097408}else b=0;ea(e|0,da(e|0,4,0,0)|0|b|0,4,0)}}else Ds(da(b|0,4,0,0)|0|0,g);ea(a+24|0,(da(g|0,4,0,0)|0|0)+1|0,4,0);i=h;return}function It(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Nq(a)|0;g=a+72|0;f=(da(g|0,4,0,0)|0|0)+1|0;ea(g|0,f|0,4,0);a=lh(da(a|0,4,0,0)|0|0,8,0)|0;if(a){g=a;ea(g|0,c|0,4,0);ea(g+4|0,d|0,4,0)}wh(e,vh(e,26,0,f,0)|0,a,-13);hq(e,1);if(!(da((da(e|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))Wg(da(e+16|0,4,0,0)|0|0,b,-1,1,0)|0;vh(e,35,f,1,0)|0;return}function Jt(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;b=da(a|0,4,0,0)|0|0;c=b+16|0;d=da((da(c|0,4,0,0)|0|0)+20|0,4,0,0)|0|0;do if(!d)b=0;else{if((da(b+63>>0|0,1,0,0)|0|0)!=0?(da(d+8>>0|0,1,0,0)|0|0)==0:0){Ll(d);ea((da(c|0,4,0,0)|0|0)+20|0,0|0,4,0);Dg(b);b=0;break}sh(a,32128,e);b=1}while(0);i=f;return b|0}function Kt(a){a=a|0;var b=0,c=0,d=0;if((da(a+63>>0|0,1,0,0)|0|0)!=0?(b=da(a+20|0,4,0,0)|0|0,(b|0)>0):0){d=a+24|0;c=da(a+16|0,4,0,0)|0|0;while(1){b=b+-1|0;a=da(c+4|0,4,0,0)|0|0;if(a)so(a,(da(d|0,4,0,0)|0)&28|(da(c+8>>0|0,1,0,1)|0));if((b|0)<=0)break;else c=c+16|0}}return}function Lt(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;v=i;i=i+16|0;if((i|0)>=(j|0))ba();s=v;t=da(c+20|0,4,0,0)|0|0;g=da(c+40|0,4,0,0)|0|0;if((t|0)==1){o=da(b+36|0,2,0,0)|0|0;f=o<<16>>16;if(o<<16>>16>-1)if((g|0)!=0?(cd(da((da(b+4|0,4,0,0)|0|0)+(f*24|0)|0,4,0,0)|0|0,g)|0)!=0:0){r=0;u=8}else e=0;else{r=0;u=8}}else if(e){f=lh(da(a|0,4,0,0)|0|0,t<<2,0)|0;if(!f)e=1;else{ea(e|0,f|0,4,0);r=f;u=8}}else{r=0;u=8}a:do if((u|0)==8){e=da(b+8|0,4,0,0)|0|0;b:do if(e){o=(g|0)==0;q=(t|0)>0;n=b+4|0;p=(r|0)==0;c:while(1){do if((da(e+46|0,2,0,1)|0|0)==(t|0)?(da(e+50>>0|0,1,0,0)|0|0)!=0:0){if(o)if(((da(e+51>>0|0,1,0,0)|0)&3)==2){u=16;break c}else break;d:do if(q){h=da(e+4|0,4,0,0)|0|0;k=da(n|0,4,0,0)|0|0;l=da(e+32|0,4,0,0)|0|0;m=0;while(1){b=da(h+(m<<1)|0,2,0,0)|0|0;g=da(k+(b*24|0)+16|0,4,0,0)|0|0;if(cd(da(l+(m<<2)|0,4,0,0)|0|0,(g|0)!=0?g:11152)|0){g=m;break d}g=da(k+(b*24|0)|0,4,0,0)|0|0;f=0;while(1){b=f+1|0;if(!(cdcd(da(c|0,4,0,0)|0|0,d)|0))break;c=da(c+20|0,4,0,0)|0|0;if(!c)break b}ea(b+68|0,c|0,4,0);c=0;break a}while(0);ea(e|0,d|0,4,0);ea(e+4|0,0|0,4,0);sh(a,28104,e);ea(a+17>>0|0,1|0,1,0);c=1}else c=0;while(0);i=f;return c|0}function Rt(a,b){a=a|0;b=b|0;var c=0,d=0;if(a){c=St(a,b)|0;if(b&1){d=Rt(da(a+12|0,4,0,0)|0|0,b)|0;return d+c+(Rt(da(a+16|0,4,0,0)|0|0,b)|0)|0}}else c=0;return c|0}
7 kc[(fa(da(47552+16|0,4,0,0)|0|0,127|0)|0)&127](d)|0;ea(h|0,a|0,4,0);ea(h+4|0,d|0,4,0);ad(28,48120,h);if(($b[(fa(da(47552+4|0,4,0,0)|0|0,63|0)|0)&63](48168,b,c)|0)<0){d=-1;break}}if((k|0)==6)if(((g?(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](d,h)|0)==0:0)?(da(h+36|0,4,0,0)|0|0)==0:0)?((da(h+12|0,4,0,0)|0)&511|0)!=(c|0):0)qc[(fa(da(47552+172|0,4,0,0)|0|0,127|0)|0)&127](d,c)|0;i=l;return d|0}function $n(a,b,c){a=a|0;b=b|0;c=c|0;if(kc[(fa(da(47552+16|0,4,0,0)|0|0,127|0)|0)&127](b)|0){if(!a)b=0;else b=da(a+32|0,4,0,0)|0|0;bo(4106,47856,b,c)|0}return}function ao(a){a=a|0;var b=0,c=0,d=0,e=0;e=i;i=i+80|0;if((i|0)>=(j|0))ba();d=e;b=e+4|0;c=a+18|0;do if(!((da(c|0,2,0,0)|0)&256)){if(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](da(a+12|0,4,0,0)|0|0,b)|0){ea(d|0,da(a+32|0,4,0,0)|0|0,4,0);ad(28,48592,d);ea(c|0,da(c|0,2,0,1)|0|0|256|0,2,0);break}b=da(b+16|0,4,0,0)|0|0;if(!b){if(!((da(c|0,2,0,0)|0)&32)){ea(d|0,da(a+32|0,4,0,0)|0|0,4,0);ad(28,48616,d);ea(c|0,da(c|0,2,0,1)|0|0|256|0,2,0);break}}else if(b>>>0>1){ea(d|0,da(a+32|0,4,0,0)|0|0,4,0);ad(28,48648,d);ea(c|0,da(c|0,2,0,1)|0|0|256|0,2,0);break}if(wo(a)|0){ea(d|0,da(a+32|0,4,0,0)|0|0,4,0);ad(28,48680,d);ea(c|0,da(c|0,2,0,1)|0|0|256|0,2,0)}}while(0);i=e;return}function bo(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;e=i;i=i+32|0;if((i|0)>=(j|0))ba();f=e;h=da(Gb()|0|0,4,0,0)|0|0;g=Qb(h|0)|0;ea(f|0,d|0,4,0);ea(f+4|0,h|0,4,0);ea(f+8|0,b|0,4,0);ea(f+12|0,((c|0)==0?10360:c)|0,4,0);ea(f+16|0,g|0,4,0);ad(a,47864,f);i=e;return a|0}function co(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=a+40|0;c=da(h|0,4,0,0)|0|0;g=c<<1;g=g>>>0<256?256:g;if((c|0)!=0?(b=da(3164*4|0,4,0,0)|0|0,(b|0)!=0):0)mc[(fa(b|0,3|0)|0)&3]();b=g<<2;f=pg(b,0)|0;c=(f|0)==0;if(!c)ew(f|0,0,b|0)|0;if((da(h|0,4,0,0)|0|0)!=0?(d=da(3166*4|0,4,0,0)|0|0,(d|0)!=0):0)mc[(fa(d|0,3|0)|0)&3]();if(!c){d=da(h|0,4,0,0)|0|0;e=a+44|0;b=da(e|0,4,0,0)|0|0;if(d){a=0;do{c=da(b+(a<<2)|0,4,0,0)|0|0;if(c){do{j=c+16|0;b=c;c=da(j|0,4,0,0)|0|0;i=f+((((da(b+8|0,4,0,0)|0|0)>>>0)%(g>>>0)|0)<<2)|0;ea(j|0,da(i|0,4,0,0)|0|0,4,0);ea(i|0,b|0,4,0)}while((c|0)!=0);b=da(e|0,4,0,0)|0|0}a=a+1|0}while(a>>>0<d>>>0)}Vc(b);ea(e|0,f|0,4,0);ea(h|0,g|0,4,0)}return}function eo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=a+24|0;g=a+16|0;c=a+4|0;a:do if((da(g|0,4,0,0)|0|0)>>>0>(da(c|0,4,0,0)|0|0)>>>0)do{d=da(f|0,4,0,0)|0|0;if(!d)break a;fo(d);e=da(d+20|0,4,0,0)|0|0;b=(da(e+44|0,4,0,0)|0|0)+((((da(d+8|0,4,0,0)|0|0)>>>0)%((da(e+40|0,4,0,0)|0|0)>>>0)|0)<<2)|0;while(1){h=da(b|0,4,0,0)|0|0;a=h+16|0;if((h|0)==(d|0))break;else b=a}ea(b|0,da(a|0,4,0,0)|0|0,4,0);a=e+36|0;ea(a|0,(da(a|0,4,0,0)|0|0)+-1|0,4,0);ho(d)}while((da(g|0,4,0,0)|0|0)>>>0>(da(c|0,4,0,0)|0|0)>>>0);while(0);return}function fo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=da(a+20|0,4,0,0)|0|0;d=da(c|0,4,0,0)|0|0;e=a+28|0;f=da(e|0,4,0,0)|0|0;g=a+24|0;b=da(g|0,4,0,0)|0|0;if(!f)ea(d+20|0,b|0,4,0);else{ea(f+24|0,b|0,4,0);b=da(g|0,4,0,0)|0|0}if(!b)ea(d+24|0,f|0,4,0);else ea(b+28|0,f|0,4,0);ea(g|0,0|0,4,0);ea(e|0,0|0,4,0);ea(a+12>>0|0,1|0,1,0);b=c+32|0;ea(b|0,(da(b|0,4,0,0)|0|0)+-1|0,4,0);return}function go(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=da(a|0,4,0,0)|0|0;o=a+36|0;g=da(o|0,4,0,0)|0|0;e=da(a+32|0,4,0,0)|0|0;f=g-e|0;m=(c|0)==1;if(m)if(f>>>0<(da(i+12|0,4,0,0)|0|0)>>>0?f>>>0<(da(a+24|0,4,0,0)|0|0)>>>0:0){if((da(3155*4|0,4,0,0)|0|0)!=0?((da(a+8|0,4,0,0)|0|0)+(da(a+4|0,4,0,0)|0|0)|0)<=(da(3154*4|0,4,0,0)|0|0):0)c=12648|0;else c=9060|0;if(!((da(c|0,4,0,0)|0|0)!=0&e>>>0<f>>>0))l=8;else d=0}else d=0;else l=8;do if((l|0)==8){k=a+40|0;if(g>>>0>=(da(k|0,4,0,0)|0|0)>>>0)co(a);h=a+12|0;do if((da(h|0,4,0,0)|0|0)!=0?(d=da(i+24|0,4,0,0)|0|0,(d|0)!=0):0){if(((da(o|0,4,0,0)|0|0)+1|0)>>>0<(da(a+20|0,4,0,0)|0|0)>>>0?(da(i+16|0,4,0,0)|0|0)>>>0<(da(i+4|0,4,0,0)|0|0)>>>0:0){if((da(3155*4|0,4,0,0)|0|0)!=0?((da(a+8|0,4,0,0)|0|0)+(da(a+4|0,4,0,0)|0|0)|0)<=(da(3154*4|0,4,0,0)|0|0):0)c=12648|0;else c=9060|0;if(!(da(c|0,4,0,0)|0)){l=23;break}}c=d+20|0;e=da(c|0,4,0,0)|0|0;f=(da(e+44|0,4,0,0)|0|0)+((((da(d+8|0,4,0,0)|0|0)>>>0)%((da(e+40|0,4,0,0)|0|0)>>>0)|0)<<2)|0;while(1){p=da(f|0,4,0,0)|0|0;g=p+16|0;if((p|0)==(d|0))break;else f=g}ea(f|0,da(g|0,4,0,0)|0|0,4,0);g=e+36|0;ea(g|0,(da(g|0,4,0,0)|0|0)+-1|0,4,0);fo(d);c=da(c|0,4,0,0)|0|0;if(((da(c+8|0,4,0,0)|0|0)+(da(c+4|0,4,0,0)|0|0)|0)==((da(a+8|0,4,0,0)|0|0)+(da(a+4|0,4,0,0)|0|0)|0)){j=i+16|0;ea(j|0,(da(h|0,4,0,0)|0|0)-(da(c+12|0,4,0,0)|0|0)+(da(j|0,4,0,0)|0|0)|0,4,0);break}else{ho(d);l=23;break}}else l=23;while(0);if((l|0)==23){if(m?(j=da(3164*4|0,4,0,0)|0|0,(j|0)!=0):0)mc[(fa(j|0,3|0)|0)&3]();c=a+4|0;e=Fo((da(c|0,4,0,0)|0|0)+32+(da(a+8|0,4,0,0)|0|0)|0)|0;c=da(c|0,4,0,0)|0|0;d=e+c|0;if(e){ea(d|0,e|0,4,0);ea(e+(c+4)|0,e+(c+32)|0,4,0);if(da(h|0,4,0,0)|0){l=(da(a|0,4,0,0)|0|0)+16|0;ea(l|0,(da(l|0,4,0,0)|0|0)+1|0,4,0)}}else d=0;if(m?(n=da(3166*4|0,4,0,0)|0|0,(n|0)!=0):0)mc[(fa(n|0,3|0)|0)&3]();if(!d){d=0;break}}e=(b>>>0)%((da(k|0,4,0,0)|0|0)>>>0)|0;ea(o|0,(da(o|0,4,0,0)|0|0)+1|0,4,0);ea(d+8|0,b|0,4,0);l=a+44|0;ea(d+16|0,da((da(l|0,4,0,0)|0|0)+(e<<2)|0,4,0,0)|0|0,4,0);ea(d+20|0,a|0,4,0);ea(d+28|0,0|0,4,0);ea(d+24|0,0|0,4,0);ea(d+12>>0|0,1|0,1,0);ea(da(d+4|0,4,0,0)|0|0,0|0,4,0);ea((da(l|0,4,0,0)|0|0)+(e<<2)|0,d|0,4,0);e=a+28|0;if((da(e|0,4,0,0)|0|0)>>>0<b>>>0)ea(e|0,b|0,4,0)}while(0);return d|0}function ho(a){a=a|0;var b=0;if((a|0)!=0?(b=da(a+20|0,4,0,0)|0|0,_k(da(a|0,4,0,0)|0|0),(da(b+12|0,4,0,0)|0|0)!=0):0){b=(da(b|0,4,0,0)|0|0)+16|0;ea(b|0,(da(b|0,4,0,0)|0|0)+-1|0,4,0)}return}function io(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=a+40|0;if(da(f|0,4,0,0)|0){g=a+44|0;d=a+36|0;e=0;do{c=(da(g|0,4,0,0)|0|0)+(e<<2)|0;a=da(c|0,4,0,0)|0|0;a:do if(a)do{while(1){if((da(a+8|0,4,0,0)|0|0)>>>0<b>>>0)break;ea(d|0,(da(d|0,4,0,0)|0|0)+-1|0,4,0);ea(c|0,da(a+16|0,4,0,0)|0|0,4,0);if(!(da(a+12>>0|0,1,0,0)|0))fo(a);ho(a);a=da(c|0,4,0,0)|0|0;if(!a)break a}c=a+16|0;a=da(c|0,4,0,0)|0|0}while((a|0)!=0);while(0);e=e+1|0}while(e>>>0<(da(f|0,4,0,0)|0|0)>>>0)}return}function jo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=da(a|0,4,0,0)|0|0;e=da((da(d+32|0,4,0,0)|0|0)+88|0,4,0,0)|0|0;f=((e|0)<0)<<31>>31;if(!((f|0)<(c|0)|(f|0)==(c|0)&e>>>0<b>>>0)){b=pg(b,c)|0;if(!b){Qd(a);b=0}}else{ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(d,10096,-1,1,0)|0;b=0}return b|0}function ko(a){a=a|0;var b=0,c=0,d=0,e=0;do if(a){b=da(a>>0|0,1,0,0)|0|0;c=b<<24>>24;if((c|0)==96|(c|0)==34|(c|0)==39)e=b;else if((c|0)==91)e=93;else break;c=1;d=0;while(1){b=da(a+c>>0|0,1,0,0)|0|0;if(b<<24>>24==e<<24>>24){c=c+1|0;b=a+d|0;if((da(a+c>>0|0,1,0,0)|0|0)!=e<<24>>24)break;ea(b>>0|0,e|0,1,0)}else ea(a+d>>0|0,b|0,1,0);c=c+1|0;d=d+1|0}ea(b>>0|0,0|0,1,0)}while(0);return}function lo(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.0,p=0.0,q=0.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,O=0;L=i;i=i+176|0;if((i|0)>=(j|0))ba();I=L+64|0;m=L+132|0;l=L+128|0;k=L+124|0;n=L+56|0;G=L+48|0;J=L+136|0;H=L;h=d+0|0;g=h+48|0;do{ea(h|0,0|0,4,0);h=h+4|0}while((h|0)<(g|0));a:do if(b){e=da(c|0,4,0,0)|0|0;b:do if(((da(10064+((da(e+8|0,2,0,1)|0)&31)>>0|0,1,0,1)|0|0)+-1|0)>>>0>=2){h=Rg(e,1)|0;if(!h){e=1;break a}g=(da(h>>0|0,1,0,0)|0|0)==45;e=g?h+1|0:h;ea(I|0,4|0,4,0);ea(I+4|0,0|0,4,0);ea(I+8|0,9999|0,4,0);ea(I+12|0,45|0,4,0);ea(I+16|0,m|0,4,0);ea(I+20|0,2|0,4,0);ea(I+24|0,1|0,4,0);ea(I+28|0,12|0,4,0);ea(I+32|0,45|0,4,0);ea(I+36|0,l|0,4,0);ea(I+40|0,2|0,4,0);ea(I+44|0,1|0,4,0);ea(I+48|0,31|0,4,0);ea(I+52|0,0|0,4,0);ea(I+56|0,k|0,4,0);do if((qq(e,I)|0)==3){e=e+10|0;while(1){f=da(e>>0|0,1,0,0)|0|0;if(f<<24>>24==84?1:((da(10368+(f&255)>>0|0,1,0,0)|0)&1)!=0)e=e+1|0;else break}if(rq(e,d)|0){if(da(e>>0|0,1,0,0)|0)break;ea(d+41>>0|0,0|0,1,0)}ea(d+42>>0|0,0|0,1,0);ea(d+40>>0|0,1|0,1,0);D=da(m|0,4,0,0)|0|0;ea(d+8|0,(g?0-D|0:D)|0,4,0);ea(d+12|0,da(l|0,4,0,0)|0|0,4,0);ea(d+16|0,da(k|0,4,0,0)|0|0,4,0);if(!(da(d+43>>0|0,1,0,0)|0))break b;mo(d);break b}while(0);if(rq(h,d)|0){if(!(cd=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;d=da(a|0,4,0,0)|0|0;e=d+65|0;if(!(da(e>>0|0,1,0,0)|0)){if(((da(d+24|0,4,0,0)|0)&65536|0)==0?(f=a+4|0,k=da(f|0,4,0,0)|0|0,ea(g|0,((b|0)==0?13552:b)|0,4,0),ch(k,d,13560,g),(c|0)!=0):0){b=da(da(f|0,4,0,0)|0|0,4,0,0)|0|0;ea(g|0,b|0,4,0);ea(g+4|0,c|0,4,0);d=Lq(d,b,0,g)|0;ea(da(f|0,4,0,0)|0|0,d|0,4,0)}if(!(da(e>>0|0,1,0,0)|0)){ea(g|0,105209|0,4,0);ea(g+4|0,10788|0,4,0);ad(11,13600,g);d=11}else d=7}else d=7;ea(a+12|0,d|0,4,0);i=h;return}function aq(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;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;l=a+20|0;a:do if((da(l|0,4,0,0)|0|0)>0){g=a+16|0;h=(c|0)==0;k=0;a=0;do{e=(k|0)<2^k;f=da(g|0,4,0,0)|0|0;d=da(f+(e<<4)+12|0,4,0,0)|0|0;if(!(!h?(cd(c,da(f+(e<<4)|0,4,0,0)|0|0)|0)!=0:0)){a=an(d+24|0,b,m)|0;if(a){a=da(a+8|0,4,0,0)|0|0;if(a)break a}else a=0}k=k+1|0}while((k|0)<(da(l|0,4,0,0)|0|0))}else a=0;while(0);i=n;return a|0}function bq(a){a=a|0;var b=0,c=0,d=0,e=0;e=da(a+8|0,4,0,0)|0|0;d=a+46|0;c=da(d|0,2,0,0)|0|0;c=(c&65535)>5?5:c&65535;b=da((da(a+12|0,4,0,0)|0|0)+28|0,2,0,0)|0|0;ea(e|0,(b<<16>>16<33?33:b)|0,2,0);jw(e+2|0,13512,c<<1|0)|0;b=da(d|0,2,0,1)|0|0;if(c>>>0<b>>>0)do{c=c+1|0;ea(e+(c<<1)|0,23|0,2,0);b=da(d|0,2,0,1)|0|0}while((c|0)<(b|0));if(da(a+50>>0|0,1,0,0)|0)ea(e+(b<<1)|0,0|0,2,0);return}function cq(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;l=i;i=i+64|0;if((i|0)>=(j|0))ba();h=l;a:do if((((c|0)!=0?(f=da(c|0,4,0,0)|0|0,(f|0)!=0):0)?(k=c+8|0,(da(k|0,4,0,0)|0|0)!=0):0)?(e=a+4|0,m=Zh(da(a|0,4,0,0)|0|0,f,da(e|0,4,0,0)|0|0)|0,(m|0)!=0):0){d=da(c+4|0,4,0,0)|0|0;b:do if(!d)g=11;else{if(!(cd(da(c|0,4,0,0)|0|0,d)|0)){e=da(m+8|0,4,0,0)|0|0;if(!e){g=11;break}while(1){f=da(e+51>>0|0,1,0,0)|0|0;if((f&3)==2)break;e=da(e+20|0,4,0,0)|0|0;if(!e){g=11;break b}}d=da(k|0,4,0,0)|0|0;b=e}else{b=aq(da(a|0,4,0,0)|0|0,d,da(e|0,4,0,0)|0|0)|0;e=da(k|0,4,0,0)|0|0;if(!b)break;f=da(b+51>>0|0,1,0,0)|0|0;d=e}k=(da(b+46|0,2,0,1)|0|0)+1|0;ea(b+51>>0|0,f&-5|0,1,0);e=b+8|0;Mq(d,k,da(e|0,4,0,0)|0|0,b);if(da(b+36|0,4,0,0)|0)break a;ea(m+28|0,da(da(e|0,4,0,0)|0|0,2,0,0)|0|0|0,2,0);break a}while(0);if((g|0)==11)e=da(k|0,4,0,0)|0|0;g=m+42|0;k=h+44|0;ea(k|0,da(g|0,2,0,0)|0|0|0,2,0);Mq(e,1,m+28|0,h);ea(g|0,da(k|0,2,0,0)|0|0|0,2,0)}while(0);i=l;return 0}function dq(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;do if(b){if((da(a+12|0,4,0,0)|0|0)>>>0<b>>>0){ea(f|0,b|0,4,0);en(a,44408,f);c=1;break}d=(da(a+8|0,4,0,0)|0|0)+(b>>>3)|0;e=da(d>>0|0,1,0,1)|0|0;c=1<<(b&7);if(!(e&c)){ea(d>>0|0,e|c|0,1,0);c=0;break}else{ea(f|0,b|0,4,0);en(a,44432,f);c=1;break}}else c=1;while(0);i=g;return c|0}function eq(a,b){a=a|0;b=b|0;var c=0,d=0;c=da(a|0,4,0,0)|0|0;do if(c){if((b|0)==1){b=c+8|0;ea(a|0,da(b|0,4,0,0)|0|0,4,0);ea(b|0,0|0,4,0);ea(c+12|0,0|0,4,0);break}b=b+-1|0;c=eq(a,b)|0;d=da(a|0,4,0,0)|0|0;if(d){ea(d+12|0,c|0,4,0);c=d+8|0;ea(a|0,da(c|0,4,0,0)|0|0,4,0);ea(c|0,eq(a,b)|0|0,4,0);return d|0}}else c=0;while(0);return c|0}function fq(a,b){a=a|0;b=b|0;var c=0;if((da(a+43>>0|0,1,0,0)|0|0)==2){c=a+24|0;if((da(c|0,4,0,0)|0|0)>0){b=a+32|0;a=0;do{Vc(da((da(b|0,4,0,0)|0|0)+(a<<2)|0,4,0,0)|0|0);ea((da(b|0,4,0,0)|0|0)+(a<<2)|0,0|0,4,0);a=a+1|0}while((a|0)<(da(c|0,4,0,0)|0|0))}}else{a=da(a+4|0,4,0,0)|0|0;qc[(fa(da((da(a|0,4,0,0)|0|0)+64|0,4,0,0)|0|0,127|0)|0)&127](a,b)|0}return}function gq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();b=Mg(b)|0;if(b)ch(c,a,Re(a)|0,d);i=d;return b|0}function hq(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=a+16|0;e=a+84|0;bh(da(d|0,4,0,0)|0|0,(da(e|0,2,0,1)|0|0)<<1);lg(c,da(d|0,4,0,0)|0|0);ea(e|0,b|0,2,0);e=b*80|0;c=lh(c,e,0)|0;if(c){ew(c|0,0,e|0)|0;ea(d|0,c|0,4,0);if((b|0)>0){e=da(a|0,4,0,0)|0|0;d=b<<1;while(1){d=d+-1|0;ea(c+8|0,1|0,2,0);ea(c+32|0,e|0,4,0);if((d|0)<=0)break;else c=c+40|0}}}else ea(d|0,0|0,4,0);return}function iq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!(da((da(a|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)){b=(_(da(a+84|0,2,0,1)|0|0,c)|0)+b|0;Wg((da(a+16|0,4,0,0)|0|0)+(b*40|0)|0,d,-1,1,e)|0}return}function jq(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();g=h;f=da(a|0,4,0,0)|0|0;e=f+1|0;ea(a|0,e|0,4,0);if((f|0)>98){c=a+8|0;e=da(c|0,4,0,0)|0|0;ea(a|0,f|0,4,0);do On(a);while((da(a|0,4,0,0)|0|0)>-1);sh(e,37160,g);ea(c|0,e|0,4,0)}else{ea(a+(e<<4)+12|0,b|0,2,0);ea(a+(e<<4)+14>>0|0,c|0,1,0);c=a+(e<<4)+16|0;ea(c+0|0,da(d+0|0,4,0,0)|0|0,4,0);ea(c+4|0,da(d+4|0,4,0,0)|0|0,4,0);ea(c+8|0,da(d+8|0,4,0,0)|0|0,4,0)}i=h;return}function kq(a,b,c){a=a|0;b=b|0;c=c|0;a=da(a+8|0,4,0,0)|0|0;switch(b&255|0){case 228:case 221:case 220:case 210:case 209:case 208:case 205:case 203:case 200:case 188:case 179:{Mk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 252:case 197:{Pn(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 236:{Gk(da(a|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0);break}case 175:case 174:{Fk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 223:case 219:case 217:{Gk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 207:case 196:case 195:case 163:{Lk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0,1);break}case 213:case 212:case 201:case 194:{Co(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 239:case 234:{Ek(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 243:case 238:case 229:case 227:case 216:case 204:case 202:{Fk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}default:{}}return}
8 cd);if(a)break a;Vc(c);break a}default:break a}while(0);return}function In(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;c=da(b|0,4,0,0)|0|0;l=da(a+24|0,4,0,0)|0|0;m=l+112|0;g=da(m|0,4,0,0)|0|0;j=a+88|0;ea(j|0,(da(j|0,2,0,0)|0)&-193|64|0,2,0);d=da(a+32|0,4,0,0)|0|0;a:do if((d|0)>0){f=da(a+4|0,4,0,0)|0|0;while(1){d=d+-1|0;e=da(f>>0|0,1,0,1)|0|0;switch(e|0){case 12:case 13:case 11:{ea(j|0,(da(j|0,2,0,0)|0)&-193|128|0,2,0);break}case 15:{n=da(f+8|0,4,0,0)|0|0;c=(n|0)>(c|0)?n:c;break}case 4:{if(!(da(f+8|0,4,0,0)|0))k=7;else{ea(j|0,(da(j|0,2,0,0)|0)&-65|0,2,0);k=7}break}case 6:case 8:{ea(f+16|0,77|0,4,0);ea(f+1>>0|0,-19|0,1,0);break}case 14:{n=da(f+-16|0,4,0,0)|0|0;c=(n|0)>(c|0)?n:c;break}case 10:case 1:{n=da(f+3>>0|0,1,0,1)|0|0;c=(n|0)>(c|0)?n:c;break}case 2:case 3:{k=7;break}case 5:case 7:case 9:{ea(f+16|0,76|0,4,0);ea(f+1>>0|0,-19|0,1,0);break}default:{}}if((k|0)==7){k=0;ea(j|0,da(j|0,2,0,0)|0|128|0,2,0)}e=da(34168+e>>0|0,1,0,0)|0|0;ea(f+2>>0|0,e|0,1,0);if((e&1)!=0?(h=f+8|0,i=da(h|0,4,0,0)|0|0,(i|0)<0):0)ea(h|0,da(g+(~i<<2)|0,4,0,0)|0|0,4,0);if((d|0)<=0)break a;else f=f+20|0}}while(0);lg(da(a|0,4,0,0)|0|0,da(m|0,4,0,0)|0|0);ea(m|0,0|0,4,0);ea(l+108|0,0|0,4,0);ea(b|0,c|0,4,0);return}function Jn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;c=a+73|0;if((da(c>>0|0,1,0,0)|0|0)!=4){ea(c>>0|0,0|0,1,0);d=a+56|0;b=a+48|0;b=Fp(a,da(d|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0,0,e)|0;if(!b){Vc(da(d|0,4,0,0)|0|0);ea(d|0,0|0,4,0);d=a+68|0;b=da(d|0,4,0,0)|0|(da(e|0,4,0,0)|0);ea(d|0,b|0,4,0);if((b|0)!=0?(da(c>>0|0,1,0,0)|0|0)==1:0){ea(c>>0|0,2|0,1,0);b=0}else b=0}}else b=da(a+68|0,4,0,0)|0|0;i=f;return b|0}function Kn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a+8|0,4,0,0)|0|0;a:do if(!a)a=0;else{d=(b|0)==0;while(1){if((a|0)!=(c|0)){if(d)break;if((da(a+60|0,4,0,0)|0|0)==(b|0))break}a=da(a+8|0,4,0,0)|0|0;if(!a){a=0;break a}}a=El(a,b,c)|0}while(0);return a|0}function Ln(a){a=a|0;var b=0,c=0,d=0,e=0;c=da(a|0,4,0,0)|0|0;d=c+1|0;ea(a|0,d|0,4,0);e=da(c>>0|0,1,0,0)|0|0;b=e&255;if((e&255)<=191)return b|0;b=da(15360+(b+-192)>>0|0,1,0,1)|0|0;if(((da(d>>0|0,1,0,0)|0)&-64)<<24>>24==-128)while(1){c=c+2|0;ea(a|0,c|0,4,0);b=(da(d>>0|0,1,0,1)|0|0)&63|b<<6;if(((da(c>>0|0,1,0,0)|0)&-64)<<24>>24==-128){e=d;d=c;c=e}else break}return (b>>>0<128|(b&-2048|0)==55296|(b&-2|0)==65534?65533:b)|0}function Mn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if((b|0)>-1)f=a+b|0;else f=-1;b=da(a>>0|0,1,0,0)|0|0;if(b<<24>>24!=0&f>>>0>a>>>0){c=b;b=0;do{e=a+1|0;if((c&255)>191){d=a;a=e;while(1){c=da(a>>0|0,1,0,0)|0|0;if((c&-64)<<24>>24==-128){c=a;a=d+2|0;d=c}else break}}else{c=da(e>>0|0,1,0,0)|0|0;a=e}b=b+1|0}while(c<<24>>24!=0&a>>>0<f>>>0)}else b=0;return b|0}function Nn(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+48|0;if((i|0)>=(j|0))ba();p=t+32|0;q=t+16|0;r=t;e=da(a|0,4,0,0)|0|0;if((e|0)<0){ea(a|0,0|0,4,0);ea(a+4|0,-1|0,4,0);ea(a+12|0,0|0,2,0);ea(a+14>>0|0,0|0,1,0);e=0}l=c;m=da(l+4|0,4,0,0)|0|0;k=r;ea(k|0,da(l|0,4,0,0)|0|0,4,0);ea(k+4|0,m|0,4,0);m=a+8|0;ea(m|0,d|0,4,0);k=b&255;l=(b|0)==254;do{h=da(a+(e<<4)+12|0,2,0,0)|0|0;d=h&65535;c=37184+(d<<1)|0;a:do if((h&65535)>429)s=6;else{h=k;while(1){g=da(c|0,2,0,0)|0|0;f=g<<16>>16;if(g<<16>>16==-86){s=6;break a}g=h&255;e=f+g|0;if(e>>>0<=1496?(da(39336+e>>0|0,1,0,0)|0|0)==h<<24>>24:0){s=16;break}if(!(h<<24>>24))break;if((h&255)>=70){n=f;s=12;break}h=da(40840+g>>0|0,1,0,0)|0|0;if(!(h<<24>>24)){n=f;s=12;break}}if((s|0)==16){s=0;e=da(22184+(e<<1)|0,2,0,1)|0|0;break}if(((s|0)==12?(s=0,o=n+70|0,(o|0)>-1):0)?(da(39336+o>>0|0,1,0,0)|0|0)==70:0){e=da(22184+(o<<1)|0,2,0,1)|0|0;break}e=da(38048+(d<<1)|0,2,0,1)|0|0}while(0);if((s|0)==6){s=0;e=da(38048+(d<<1)|0,2,0,1)|0|0}if(e>>>0<642){s=18;break}if(e>>>0>=969){s=20;break}lq(a,e+-642|0);if(l)break;e=da(a|0,4,0,0)|0|0}while((e|0)>-1);if((s|0)==18){jq(a,e,b,r);n=a+4|0;ea(n|0,(da(n|0,4,0,0)|0|0)+-1|0,4,0)}else if((s|0)==20){ea(q+0|0,da(r+0|0,4,0,0)|0|0,4,0);ea(q+4|0,da(r+4|0,4,0,0)|0|0,4,0);ea(q+8|0,da(r+8|0,4,0,0)|0|0,4,0);n=da(m|0,4,0,0)|0|0;ea(p|0,q|0,4,0);sh(n,20432,p);ea(m|0,n|0,4,0);kq(a,k,r)}i=t;return}function On(a){a=a|0;var b=0;b=da(a|0,4,0,0)|0|0;if((b|0)>=0){kq(a,da(a+(b<<4)+14>>0|0,1,0,0)|0|0,a+(b<<4)+16|0);ea(a|0,(da(a|0,4,0,0)|0|0)+-1|0,4,0)}return}function Pn(a,b){a=a|0;b=b|0;var c=0;if(b){if((da(b|0,4,0,0)|0|0)>0){c=0;do{Mk(a,da(b+(c<<4)+12|0,4,0,0)|0|0);Lk(a,da(b+(c<<4)+16|0,4,0,0)|0|0,1);lg(a,da(b+(c<<4)+8|0,4,0,0)|0|0);c=c+1|0}while((c|0)<(da(b|0,4,0,0)|0|0))}lg(a,b)}return}function Qn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=a+328|0;c=da(g|0,4,0,0)|0|0;if(c){h=a+304|0;if((da(h|0,4,0,0)|0|0)>0){e=0;do{d=da(c+(e<<2)|0,4,0,0)|0|0;c=da(d+8|0,4,0,0)|0|0;if((c|0)!=0?(f=da((da(c|0,4,0,0)|0|0)+b|0,4,0,0)|0|0,(f|0)!=0):0)kc[(fa(f|0,127|0)|0)&127](c)|0;ea(d+20|0,0|0,4,0);zn(d);e=e+1|0;c=da(g|0,4,0,0)|0|0}while((e|0)<(da(h|0,4,0,0)|0|0))}lg(a,c);ea(h|0,0|0,4,0);ea(g|0,0|0,4,0)}return}function Rn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;do if((b|0)==-2)if(!(da(a+12|0,4,0,0)|0))b=(da(a+16|0,4,0,0)|0|0)==0?0:6;else b=6;else{e=da(a|0,2,0,0)|0|0;d=e<<16>>16;if(!((d|0)!=(b|0)&e<<16>>16>-1)){e=(d|0)==(b|0)?4:1;d=c&255;b=da(a+2|0,2,0,1)|0|0;if((d|0)==(b&3|0)){b=e|2;break}else return ((b&d)>>>1&1)+e|0}else b=0}while(0);return b|0}
9 function St(a,b){a=a|0;b=b|0;var c=0;if(b&1)if(!(da(a+12|0,4,0,0)|0))b=(da(a+20|0,4,0,0)|0|0)==0?12:28;else b=28;else b=48;if(((da(a+4|0,4,0,0)|0)&1024|0)==0?(c=da(a+8|0,4,0,0)|0|0,(c|0)!=0):0){a=c;while(1)if(!(da(a>>0|0,1,0,0)|0))break;else a=a+1|0;b=(b|1)+(a-c&1073741823)|0}return b+7&-8|0}function Tt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=da(a|0,4,0,0)|0|0;g=d+20|0;c=da(g|0,4,0,0)|0|0;if((c|0)>0){f=0;e=da(d+16|0,4,0,0)|0|0;while(1){d=da((da(e+12|0,4,0,0)|0|0)+16|0,4,0,0)|0|0;if(d){c=d;do{Ut(a,da(c+8|0,4,0,0)|0|0,b);c=da(c|0,4,0,0)|0|0}while((c|0)!=0);c=da(g|0,4,0,0)|0|0}f=f+1|0;if((f|0)>=(c|0))break;else e=e+16|0}}return}function Ut(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,j=0,k=0,l=0;d=da(b+8|0,4,0,0)|0|0;if(d){k=(c|0)==0;i=b+68|0;j=a+408|0;do{a:do if(!k){g=d+32|0;b=da(d+48|0,2,0,0)|0|0;if(b<<16>>16){f=da(d+4|0,4,0,0)|0|0;b=b&65535;e=0;do{if((da(f+(e<<1)|0,2,0,0)|0|0)>-1?(cdcd(da(e+(k*24|0)|0,4,0,0)|0|0,b)|0)){g=l;while(1){h=g+-1|0;if((h|0)<=1)break;if(((da(b+h>>0|0,1,0,1)|0|0)+-48|0)>>>0<10)g=h;else break}if((g|0)>0)g=(da(b+h>>0|0,1,0,0)|0|0)==58?h:l;else g=l;ea(b+g>>0|0,0|0,1,0);f=f+1|0;ea(s|0,b|0,4,0);ea(s+4|0,f|0,4,0);h=th(t,26824,s)|0;lg(t,b);if(!h){b=0;break c}else{k=-1;b=h}}else g=l;k=k+1|0;if((k|0)>=(a|0))break;else l=g}}while(0);ea(n|0,b|0,4,0);a=a+1|0;if((a|0)<(o|0))n=n+24|0;else{b=p;break a}}lg(t,b);b=p}else u=6}else{ea(c|0,0|0,2,0);ea(d|0,0|0,4,0);e=0;u=6}while(0);if((u|0)==6){b=t+65|0;a=0}if(da(b>>0|0,1,0,0)|0){if((a|0)>0){b=0;do{lg(t,da(e+(b*24|0)|0,4,0,0)|0|0);b=b+1|0}while((b|0)!=(a|0))}lg(t,e);ea(d|0,0|0,4,0);ea(c|0,0|0,2,0)}i=v;return}function iu(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;n=i;i=i+32|0;if((i|0)>=(j|0))ba();m=n;l=da(a|0,4,0,0)|0|0;if(!(da(l+65>>0|0,1,0,0)|0)){ea(m+0|0,0|0,4,0);ea(m+4|0,0|0,4,0);ea(m+8|0,0|0,4,0);ea(m+12|0,0|0,4,0);ea(m+16|0,0|0,4,0);ea(m+20|0,0|0,4,0);ea(m+24|0,0|0,4,0);ea(m+28|0,0|0,4,0);ea(m+4|0,da(c+32|0,4,0,0)|0|0,4,0);g=da((da(c|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;f=b+38|0;if((da(f|0,2,0,0)|0|0)>0){c=0;d=0;h=0;k=da(b+4|0,4,0,0)|0|0;while(1){e=da(g+(h*20|0)|0,4,0,0)|0|0;o=k+22|0;ea(k+12|0,jh(l,xu(m,e,o)|0)|0|0,4,0);c=iw(da(o>>0|0,1,0,1)|0|0,0,c|0,d|0)|0;d=C;o=jv(e)|0;ea(k+21>>0|0,(o<<24>>24==0?65:o)|0,1,0);e=bu(a,e)|0;if(e)ea(k+16|0,jh(l,da(e|0,4,0,0)|0|0)|0|0,4,0);h=h+1|0;if((h|0)>=(da(f|0,2,0,0)|0|0))break;else k=k+24|0}d=hw(c|0,d|0,2)|0;c=C}else{d=0;c=0}ea(b+42|0,es(d,c)|0|0,2,0)}i=n;return}function ju(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;do if(!b)c=0;else{f=a+4|0;d=da(f|0,4,0,0)|0|0;if((d|0)==0?(da(a+8|0,4,0,0)|0|0)==0:0){c=0;break}i=a+16|0;ea(i|0,(da(i|0,4,0,0)|0|0)+1|0,4,0);g=a+8|0;a:while(1){if((d|0)!=0?(c=qc[(fa(d|0,127|0)|0)&127](a,b)|0,(c|0)!=0):0){j=24;break}if(ku(a,da(b|0,4,0,0)|0|0)|0){j=19;break}if(qs(a,da(b+36|0,4,0,0)|0|0)|0){j=19;break}if(ku(a,da(b+40|0,4,0,0)|0|0)|0){j=19;break}if(qs(a,da(b+44|0,4,0,0)|0|0)|0){j=19;break}if(ku(a,da(b+48|0,4,0,0)|0|0)|0){j=19;break}if(qs(a,da(b+60|0,4,0,0)|0|0)|0){j=19;break}if(qs(a,da(b+64|0,4,0,0)|0|0)|0){j=19;break}d=da(b+32|0,4,0,0)|0|0;if((d|0)!=0?(h=da(d|0,4,0,0)|0|0,(h|0)>0):0){e=h;d=d+8|0;while(1){if(ju(a,da(d+20|0,4,0,0)|0|0)|0){j=19;break a}e=e+-1|0;if((e|0)<=0)break;else d=d+72|0}}d=da(g|0,4,0,0)|0|0;if(d)ic[(fa(d|0,15|0)|0)&15](a,b);b=da(b+52|0,4,0,0)|0|0;if(!b){c=0;break}d=da(f|0,4,0,0)|0|0}if((j|0)==19){ea(i|0,(da(i|0,4,0,0)|0|0)+-1|0,4,0);c=2;break}else if((j|0)==24)c=c&2;ea(i|0,(da(i|0,4,0,0)|0|0)+-1|0,4,0)}while(0);return c|0}function ku(a,b){a=a|0;b=b|0;var c=0;a:do if((b|0)!=0?(c=da(b|0,4,0,0)|0|0,(c|0)>0):0){b=da(b+4|0,4,0,0)|0|0;while(1){if(qs(a,da(b|0,4,0,0)|0|0)|0){c=2;break a}c=c+-1|0;if((c|0)<=0){c=0;break}else b=b+20|0}}else c=0;while(0);return c|0}function lu(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();b=c;ea(b|0,0|0,4,0);if(((da(a+4|0,4,0,0)|0)&1|0)==0?(Ls(a,b)|0)!=0:0)a=(da(b|0,4,0,0)|0|0)==0&1;else a=0;i=c;return a|0}function mu(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;o=i;i=i+32|0;if((i|0)>=(j|0))ba();m=o;f=da(c+12|0,4,0,0)|0|0;ea(m+0|0,0|0,4,0);ea(m+4|0,0|0,4,0);ea(m+8|0,0|0,4,0);ea(m+12|0,0|0,4,0);ea(m+16|0,0|0,4,0);ea(m+20|0,200|0,4,0);ea(m+24>>0|0,1|0,1,0);ea(m+25>>0|0,0|0,1,0);ea(m|0,da(a|0,4,0,0)|0|0,4,0);k=c+46|0;if(da(k|0,2,0,0)|0){l=c+4|0;g=f+4|0;n=0;do{h=da((da(g|0,4,0,0)|0|0)+((da((da(l|0,4,0,0)|0|0)+(n<<1)|0,2,0,0)|0|0)*24|0)|0,4,0,0)|0|0;if(n)Rk(m,28920,2);e=da(f|0,4,0,0)|0|0;if(!e)d=0;else{d=e;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;d=d-e&1073741823}Rk(m,e,d);Rk(m,28928,1);if(!h)d=0;else{d=h;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;d=d-h&1073741823}Rk(m,h,d);n=n+1|0}while((n|0)<(da(k|0,2,0,1)|0|0))}d=sg(m)|0;ys(a,((da(c+51>>0|0,1,0,0)|0)&3)==2?1555:2067,b,d,-1,2);i=o;return}function nu(a,b){a=a|0;b=b|0;return 0}function ou(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();m=n+8|0;k=n;l=b+52|0;a:do if((da(l|0,4,0,0)|0|0)!=0?(d=da(b+48|0,4,0,0)|0|0,!((d|0)==0|(b|0)==0)):0){c=b;while(1){h=da(c+4>>0|0,1,0,0)|0|0;if(!(h<<24>>24==119|h<<24>>24==116))break;c=da(c+52|0,4,0,0)|0|0;if(!c){c=0;break a}}e=da(d+4|0,4,0,0)|0|0;c=da(d|0,4,0,0)|0|0;while(1){d=c+-1|0;if((c|0)<=0){c=0;break a}if(!((da((da(e+(d*20|0)|0,4,0,0)|0|0)+4|0,4,0,0)|0)&256))c=d;else break}if((c|0)>=1){c=da(a+12|0,4,0,0)|0|0;f=da(c|0,4,0,0)|0|0;a=lh(f,72,0)|0;if(a){g=a+0|0;h=g+72|0;do{ea(g>>0|0,0|0,1,0);g=g+1|0}while((g|0)<(h|0));e=k;ea(e|0,0|0,4,0);ea(e+4|0,0|0,4,0);e=ir(c,0,0,0,k,a,0,0)|0;if(e){g=a+0|0;d=b+0|0;h=g+72|0;do{ea(g|0,da(d|0,4,0,0)|0|0,4,0);g=g+4|0;d=d+4|0}while((g|0)<(h|0));ea(b+32|0,e|0,4,0);ea(m|0,0|0,4,0);ea(m+4|0,0|0,4,0);ea(b|0,kr(c,0,mr(f,116,m,0)|0)|0|0,4,0);ea(b+4>>0|0,119|0,1,0);ea(b+36|0,0|0,4,0);ea(a+40|0,0|0,4,0);ea(a+44|0,0|0,4,0);ea(a+48|0,0|0,4,0);ea(l|0,0|0,4,0);ea(b+56|0,0|0,4,0);c=b+6|0;ea(c|0,(da(c|0,2,0,1)|0|0)&57279|8192|0,2,0);ea((da(a+52|0,4,0,0)|0|0)+56|0,a|0,4,0);ea(a+60|0,0|0,4,0);ea(a+64|0,0|0,4,0);c=0}else c=2}else c=2}else c=0}else c=0;while(0);i=n;return c|0}function pu(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,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;S=i;i=i+32|0;if((i|0)>=(j|0))ba();R=S;O=S+16|0;B=a+12|0;Q=da(B|0,4,0,0)|0|0;P=da(Q|0,4,0,0)|0|0;M=b+6|0;g=da(M|0,2,0,1)|0|0;ea(M|0,g|16|0,2,0);N=P+65|0;a:do if(!(da(N>>0|0,1,0,0)|0)){A=b+32|0;K=da(A|0,4,0,0)|0|0;if((K|0)!=0&(g&16|0)==0){L=da(b|0,4,0,0)|0|0;if((da(a+8|0,4,0,0)|0|0)==9){g=b;while(1){f=da(g+56|0,4,0,0)|0|0;if(!f)break;else g=f}g=da(g+68|0,4,0,0)|0|0;if(g){x=Q+532|0;ea(g+4|0,da(x|0,4,0,0)|0|0,4,0);ea(x|0,g|0,4,0);ea(Q+449>>0|0,0|0,1,0)}}Bs(Q,K);J=K+8|0;g=da(K|0,4,0,0)|0|0;b:do if((g|0)>0){w=0;q=J;c:while(1){if(!((da(q+37>>0|0,1,0,0)|0)&8)){x=q+16|0;c=da(B|0,4,0,0)|0|0;if(da(x|0,4,0,0)|0){d=c;I=10;break}n=da(c|0,4,0,0)|0|0;f=c+532|0;h=da(f|0,4,0,0)|0|0;d:do if((da(q+4|0,4,0,0)|0|0)==0?(z=da(q+8|0,4,0,0)|0|0,!((z|0)==0|(h|0)==0)):0){e:while(1){k=da(h|0,4,0,0)|0|0;if((k|0)>0){e=0;do{g=h+(e<<4)+8|0;d=da(g|0,4,0,0)|0|0;if(!(cd(z,d)|0)){u=e;break e}e=e+1|0}while((e|0)<(k|0))}h=da(h+4|0,4,0,0)|0|0;if(!h){I=46;break d}}r=h+(u<<4)+20|0;k=da(r|0,4,0,0)|0|0;if(k){b=k;I=21;break c}t=lh(n,76,0)|0;if(!t){b=x;I=23;break c}l=t+0|0;k=l+76|0;do{ea(l>>0|0,0|0,1,0);l=l+1|0}while((l|0)<(k|0));ea(x|0,t|0,4,0);o=t+40|0;ea(o|0,1|0,2,0);ea(t|0,jh(n,da(g|0,4,0,0)|0|0)|0|0,4,0);ea(t+36|0,-1|0,2,0);ea(t+28|0,200|0,2,0);v=t+44|0;ea(v>>0|0,da(v>>0|0,1,0,1)|0|2|0,1,0);v=fr(n,da(h+(u<<4)+16|0,4,0,0)|0|0,0)|0;ea(q+20|0,v|0,4,0);if(da(n+65>>0|0,1,0,0)|0){b=2;break a}s=((da(v+4>>0|0,1,0,0)|0|0)+-115&255)<2;if(s?(p=da(v+32|0,4,0,0)|0|0,y=da(p|0,4,0,0)|0|0,(y|0)>0):0){k=v+6|0;l=y;n=0;do{do if(!(da(p+(n*72|0)+12|0,4,0,0)|0)){m=da(p+(n*72|0)+16|0,4,0,0)|0|0;if(!m)break;if(cd(m,da(g|0,4,0,0)|0|0)|0)break;ea(p+(n*72|0)+24|0,t|0,4,0);l=p+(n*72|0)+45|0;ea(l>>0|0,da(l>>0|0,1,0,0)|0|8|0,1,0);ea(o|0,(da(o|0,2,0,0)|0|0)+1<<16>>16|0,2,0);ea(k|0,da(k|0,2,0,1)|0|2048|0,2,0);l=da(p|0,4,0,0)|0|0}while(0);n=n+1|0}while((n|0)<(l|0))}if((da(o|0,2,0,1)|0|0)>2){b=g;I=34;break c}ea(r|0,28176|0,4,0);e=da(f|0,4,0,0)|0|0;ea(f|0,h|0,4,0);if(s)k=da(v+52|0,4,0,0)|0|0;else k=v;ju(a,k)|0;k=v;while(1){d=da(k+52|0,4,0,0)|0|0;if(!d)break;else k=d}d=da(k|0,4,0,0)|0|0;k=da(h+(u<<4)+12|0,4,0,0)|0|0;do if(k){if(!d)break;m=da(d|0,4,0,0)|0|0;d=da(k|0,4,0,0)|0|0;if((m|0)!=(d|0)){b=m;I=42;break c}}else k=d;while(0);hu(c,k,t+38|0,t+4|0);if(s){ea(r|0,(((da(v+6|0,2,0,0)|0)&2048)==0?28280:28240)|0,4,0);ju(a,v)|0}ea(r|0,0|0,4,0);ea(f|0,e|0,4,0);if(!(da(x|0,4,0,0)|0))I=46}else I=46;while(0);do if((I|0)==46){I=0;if(!(da(q+8|0,4,0,0)|0)){h=da(q+20|0,4,0,0)|0|0;if(ju(a,h)|0){b=2;break a}f=lh(P,76,0)|0;if(!f){b=x;I=49;break c}l=f+0|0;k=l+76|0;do{ea(l>>0|0,0|0,1,0);l=l+1|0}while((l|0)<(k|0));ea(x|0,f|0,4,0);ea(f+40|0,1|0,2,0);ea(R|0,f|0,4,0);ea(f|0,th(P,27760,R)|0|0,4,0);while(1){g=da(h+52|0,4,0,0)|0|0;if(!g)break;else h=g}hu(Q,da(h|0,4,0,0)|0|0,f+38|0,f+4|0);ea(f+36|0,-1|0,2,0);ea(f+28|0,200|0,2,0);x=f+44|0;ea(x>>0|0,da(x>>0|0,1,0,1)|0|2|0,1,0);break}c=Tr(Q,0,q)|0;ea(x|0,c|0,4,0);if(!c){b=2;break a}h=c+40|0;g=da(h|0,2,0,0)|0|0;if(g<<16>>16==-1){b=x;I=55;break c}ea(h|0,g+1<<16>>16|0,2,0);h=c+12|0;if((da(h|0,4,0,0)|0|0)==0?((da(c+44>>0|0,1,0,0)|0)&16)==0:0)break;if(gr(Q,c)|0){b=2;break a}x=fr(P,da(h|0,4,0,0)|0|0,0)|0;ea(q+20|0,x|0,4,0);ju(a,x)|0}while(0);if(Qt(Q,q)|0){b=2;break a}g=da(K|0,4,0,0)|0|0}w=w+1|0;if((w|0)>=(g|0))break b;else q=q+72|0}if((I|0)==10){while(1){c=da(b+56|0,4,0,0)|0|0;if(!c)break;else b=c}b=da(b+68|0,4,0,0)|0|0;if(!b){b=1;break a}ea(d+532|0,da(b+4|0,4,0,0)|0|0,4,0);b=1;break a}else if((I|0)==21){ea(R|0,d|0,4,0);sh(c,b,R);b=2;break a}else if((I|0)==23){ea(b|0,0|0,4,0);b=2;break a}else if((I|0)==34){ea(R|0,da(b|0,4,0,0)|0|0,4,0);sh(c,28128,R);b=2;break a}else if((I|0)==42){ea(R|0,da(g|0,4,0,0)|0|0,4,0);ea(R+4|0,b|0,4,0);ea(R+8|0,d|0,4,0);sh(c,28200,R);ea(f|0,e|0,4,0);b=2;break a}else if((I|0)==49){ea(b|0,0|0,4,0);b=2;break a}else if((I|0)==55){ea(R|0,da(c|0,4,0,0)|0|0,4,0);sh(Q,27776,R);ea(b|0,0|0,4,0);b=2;break a}}while(0);if(!(da(N>>0|0,1,0,0)|0)){q=da(A|0,4,0,0)|0|0;f:do if(((da(q|0,4,0,0)|0|0)+-1|0)>0){r=b+36|0;t=0;u=q+8|0;v=q+80|0;g:while(1){s=da(v+16|0,4,0,0)|0|0;if(!((da(u+16|0,4,0,0)|0|0)==0|(s|0)==0)){y=da(v+36>>0|0,1,0,1)|0|0;p=y&32;n=(p|0)==0;p=p>>>5;o=v+44|0;if(y&4){if(da(o|0,4,0,0)|0){I=73;break}g=v+48|0;if(da(g|0,4,0,0)|0){I=73;break}d=s+38|0;h=da(d|0,2,0,0)|0|0;if(h<<16>>16>0){c=s+4|0;m=t+1|0;l=0;do{f=da((da(c|0,4,0,0)|0|0)+(l*24|0)|0,4,0,0)|0|0;e=0;do{k=rv(da(q+(e*72|0)+24|0,4,0,0)|0|0,f)|0;if((k|0)>-1){h=e;I=77;break}e=e+1|0}while((e|0)<(m|0));if((I|0)==77){I=0;sv(Q,q,h,k,m,l,p,r);h=da(d|0,2,0,0)|0|0}l=l+1|0}while((l|0)<(h<<16>>16|0))}}else g=v+48|0;h=da(o|0,4,0,0)|0|0;if(h){if(da(g|0,4,0,0)|0){I=81;break}if(!n){tv(h,da(v+40|0,4,0,0)|0|0);h=da(o|0,4,0,0)|0|0}ea(r|0,rs(da(Q|0,4,0,0)|0|0,da(r|0,4,0,0)|0|0,h)|0|0,4,0);ea(o|0,0|0,4,0)}f=da(g|0,4,0,0)|0|0;if((f|0)!=0?(H=f+4|0,(da(H|0,4,0,0)|0|0)>0):0){e=t+1|0;k=0;do{c=da((da(f|0,4,0,0)|0|0)+(k<<3)|0,4,0,0)|0|0;d=rv(s,c)|0;if((d|0)<0){I=91;break g}else h=0;while(1){g=rv(da(q+(h*72|0)+24|0,4,0,0)|0|0,c)|0;if((g|0)>-1)break;h=h+1|0;if((h|0)>=(e|0)){I=91;break g}}sv(Q,q,h,g,e,d,p,r);k=k+1|0}while((k|0)<(da(H|0,4,0,0)|0|0))}}t=t+1|0;if((t|0)>=((da(q|0,4,0,0)|0|0)+-1|0))break f;else{u=u+72|0;v=v+72|0}}if((I|0)==73){ea(R|0,0|0,4,0);sh(Q,27928,R);b=2;break a}else if((I|0)==81){sh(Q,27984,R);b=2;break a}else if((I|0)==91){ea(R|0,c|0,4,0);sh(Q,28040,R);b=2;break a}}while(0);c=da(L|0,4,0,0)|0|0;h=(c|0)>0;h:do if(h){d=da(L+4|0,4,0,0)|0|0;g=0;do{f=da(d+(g*20|0)|0,4,0,0)|0|0;e=da(f>>0|0,1,0,0)|0|0;if(e<<24>>24==122){if((da((da(f+16|0,4,0,0)|0)>>0|0,1,0,0)|0|0)==116)break h}else if(e<<24>>24==116)break h;g=g+1|0}while((g|0)<(c|0))}else g=0;while(0);if((g|0)<(c|0)){H=da(L+4|0,4,0,0)|0|0;g=da((da(Q|0,4,0,0)|0|0)+24|0,4,0,0)|0|0;if(!(g&32))G=0;else G=(g&64|0)==0;if(h){C=P+20|0;D=P+16|0;E=O+4|0;F=0;c=0;do{f=H+(F*20|0)|0;h=da(f|0,4,0,0)|0|0;g=da(h>>0|0,1,0,0)|0|0;if(g<<24>>24==116){a=0;I=110}else if(g<<24>>24==122?(da((da(h+16|0,4,0,0)|0)>>0|0,1,0,0)|0|0)==116:0){a=da((da(h+12|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;I=110}else I=106;do if((I|0)==106){c=kr(Q,c,h)|0;if(c){x=H+(F*20|0)+4|0;w=(da(c|0,4,0,0)|0|0)+-1|0;v=da(c+4|0,4,0,0)|0|0;ea(v+(w*20|0)+4|0,da(x|0,4,0,0)|0|0,4,0);y=H+(F*20|0)+8|0;ea(v+(w*20|0)+8|0,da(y|0,4,0,0)|0|0,4,0);ea(x|0,0|0,4,0);ea(y|0,0|0,4,0)}ea(f|0,0|0,4,0)}else if((I|0)==110){if((da(K|0,4,0,0)|0|0)>0){y=(a|0)==0;z=(a|0)!=0;A=0;B=J;g=0;while(1){n=da(B+16|0,4,0,0)|0|0;f=da(B+20|0,4,0,0)|0|0;h=da(B+12|0,4,0,0)|0|0;if(!h)h=da(n|0,4,0,0)|0|0;if(da(N>>0|0,1,0,0)|0)break;if((f|0)!=0?((da(f+6|0,2,0,0)|0)&512)!=0:0){x=0;I=125}else I=117;do if((I|0)==117){I=0;if(!y?(cdcdcd|0,4,0);ea(d|0,f|0,4,0);e=2}du(a,b,f,(e|0)==1&1)|0;ea(g|0,h|0,4,0)}while(0);if((k|0)==49)ea(b+28|0,z|0,4,0);i=A;return e|0}function mv(a){a=a|0;var b=0,c=0;b=jv(da(a+12|0,4,0,0)|0|0)|0;c=da(a+16|0,4,0,0)|0|0;do if(!c)if(!((da(a+4|0,4,0,0)|0)&2048))return (b<<24>>24==0?65:b)|0;else{b=Au(da(da((da(da(a+20|0,4,0,0)|0|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0,b)|0;break}else b=Au(c,b)|0;while(0);return b|0}function nv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;W=i;i=i+16|0;if((i|0)>=(j|0))ba();T=W;R=da(a|0,4,0,0)|0|0;U=f+28|0;ea(U|0,-1|0,4,0);Q=f+44|0;ea(Q|0,0|0,4,0);a:do if((b|0)!=0?((da(e+28|0,2,0,0)|0)&20)==0:0){n=da(R+20|0,4,0,0)|0|0;if((n|0)>0){l=da(R+16|0,4,0,0)|0|0;m=0;while(1){if(!(cd(da(l+(m<<4)|0,4,0,0)|0|0,b)|0))break;m=m+1|0;if((m|0)>=(n|0)){P=b;b=0;break a}}P=b;b=da(l+(m<<4)+12|0,4,0,0)|0|0}else{P=b;b=0}}else{P=0;b=0}while(0);N=(P|0)==0;K=N&(c|0)!=0;h=a+412|0;G=a+436|0;H=f+1|0;V=f+32|0;I=a+428|0;J=a+432|0;O=(c|0)==0;M=f+4|0;g=e;o=0;k=0;n=0;m=0;b:while(1){F=(g|0)!=0;l=g+4|0;E=g+8|0;p=0;q=o;while(1){o=(p|0)==0;if(!(F&o)){S=82;break b}p=da(l|0,4,0,0)|0|0;if(p){D=da(p|0,4,0,0)|0|0;if((D|0)>0){o=0;B=0;A=p+8|0;while(1){z=da(A+16|0,4,0,0)|0|0;r=da(A+20|0,4,0,0)|0|0;if((r|0)!=0?((da(r+6|0,2,0,0)|0)&512)!=0:0){r=da(r|0,4,0,0)|0|0;w=da(r|0,4,0,0)|0|0;if((w|0)>0){x=da(r+4|0,4,0,0)|0|0;r=0;t=0;do{if(uv(da(x+(t*20|0)+8|0,4,0,0)|0|0,d,c,P)|0){ea(V|0,t|0,2,0);o=o+1|0;q=2;r=1;m=A}t=t+1|0}while((t|0)<(w|0))}else r=0;if(!((r|0)!=0|O))S=21}else S=21;c:do if((S|0)==21){S=0;if(!N?(da(z+68|0,4,0,0)|0|0)!=(b|0):0)break;if(!O){r=da(A+12|0,4,0,0)|0|0;if(!r)r=da(z|0,4,0,0)|0|0;if(cd(r,c)|0)break}y=q+1|0;m=(q|0)==0?A:m;r=da(z+38|0,2,0,0)|0|0;if(r<<16>>16>0){p=(o|0)==1;u=A+36|0;v=A+48|0;q=0;x=da(z+4|0,4,0,0)|0|0;d:while(1){e:do if(!(cd(da(x|0,4,0,0)|0|0,d)|0)){if(!p)break d;if(!((da(u>>0|0,1,0,0)|0)&4)){t=da(v|0,4,0,0)|0|0;if(!t)break d;w=da(t+4|0,4,0,0)|0|0;if((w|0)<=0)break d;t=da(t|0,4,0,0)|0|0;s=0;while(1){if(!(cd(da(t+(s<<3)|0,4,0,0)|0|0,d)|0))break e;s=s+1|0;if((s|0)>=(w|0))break d}}}while(0);q=q+1|0;if((q|0)>=(r<<16>>16|0)){q=y;break c}else x=x+24|0}ea(V|0,((q|0)==(da(z+36|0,2,0,0)|0|0)?-1:q&65535)|0,2,0);o=o+1|0;q=y;m=A}else q=y}while(0);B=B+1|0;if((B|0)>=(D|0))break;else A=A+72|0}}else o=0;if(!m)y=0;else{ea(U|0,da(m+40|0,4,0,0)|0|0,4,0);p=da(m+16|0,4,0,0)|0|0;ea(Q|0,p|0,4,0);if((da(m+36>>0|0,1,0,0)|0)&8)ea(M|0,da(M|0,4,0,0)|0|1048576|0,4,0);y=m;b=da(p+68|0,4,0,0)|0|0}}else{o=0;y=m}do if(K&(q|0)==0)if(da(h|0,4,0,0)|0){p=da(G>>0|0,1,0,0)|0|0;if(p<<24>>24!=109)if(cd(27560,c)|0)if(p<<24>>24==108){s=o;q=0;t=k;break}else S=49;else t=1;else S=49;if((S|0)==49){S=0;if(!(cd(27568,c)|0))t=0;else{s=o;q=0;t=k;break}}ea(U|0,t|0,4,0);s=da(h|0,4,0,0)|0|0;if(s){b=da(s+68|0,4,0,0)|0|0;r=da(s+38|0,2,0,0)|0|0;f:do if(r<<16>>16>0){p=0;q=da(s+4|0,4,0,0)|0|0;while(1){if(!(cd(da(q|0,4,0,0)|0|0,d)|0))break;p=p+1|0;if((p|0)<(r<<16>>16|0))q=q+24|0;else break f}p=(p|0)==(da(s+36|0,2,0,0)|0|0)?-1:p}else p=0;while(0);m=r<<16>>16;if((p|0)>=(m|0)?(_h(d)|0)!=0:0)q=((da(s+44>>0|0,1,0,0)|0)&32)==0?-1:p;else q=p;if((q|0)<(m|0)){o=o+1|0;do if((q|0)>=0){p=(q|0)>31?-1:1<<q;if(!t){ea(I|0,da(I|0,4,0,0)|0|p|0,4,0);break}else{ea(J|0,da(J|0,4,0,0)|0|p|0,4,0);break}}else ea(H>>0|0,68|0,1,0);while(0);ea(V|0,q|0,2,0);ea(Q|0,s|0,4,0);q=1;k=1;S=66}else{q=1;S=66}}else{s=o;q=0;t=k}}else{s=o;q=0;t=k}else S=66;while(0);if((S|0)==66){S=0;if((o|0)==0&(q|0)==1&(y|0)!=0)if((_h(d)|0)!=0?((da((da(y+16|0,4,0,0)|0|0)+44>>0|0,1,0,0)|0)&32)==0:0){ea(V|0,-1|0,2,0);ea(H>>0|0,68|0,1,0);p=1;m=y;continue}else{s=0;t=k}else{s=o;t=k}}o=da(E|0,4,0,0)|0|0;r=(s|0)==0;if((o|0)!=0&O&r?(L=da(o|0,4,0,0)|0|0,(L|0)>0):0){k=da(o+4|0,4,0,0)|0|0;m=0;do{p=da(k+(m*20|0)+4|0,4,0,0)|0|0;if((p|0)!=0?(cd(p,d)|0)==0:0){S=75;break b}m=m+1|0}while((m|0)<(L|0))}if(r){p=q;k=t;m=y;break}else{p=s;k=t;m=y}}g=da(g+16|0,4,0,0)|0|0;o=p;n=n+1|0}do if((S|0)==75){if(((da(g+28|0,2,0,0)|0)&1)==0?((da((da(k+(m*20|0)|0,4,0,0)|0|0)+4|0,4,0,0)|0)&2|0)!=0:0){ea(T|0,p|0,4,0);sh(a,27576,T);e=2;break}xv(a,o,m,f,10360,n);if((da(f>>0|0,1,0,0)|0|0)==24)S=115;else S=96}else if((S|0)==82){if(o&O?((da(M|0,4,0,0)|0)&64|0)!=0:0){ea(f>>0|0,97|0,1,0);ea(Q|0,0|0,4,0);e=1;break}p=(p|0)==1;if(!p){o=o?27608:27624;do if(N)if(O){ea(T|0,o|0,4,0);ea(T+4|0,d|0,4,0);sh(a,27680,T);break}else{ea(T|0,o|0,4,0);ea(T+4|0,c|0,4,0);ea(T+8|0,d|0,4,0);sh(a,27664,T);break}else{ea(T|0,o|0,4,0);ea(T+4|0,P|0,4,0);ea(T+8|0,c|0,4,0);ea(T+12|0,d|0,4,0);sh(a,27648,T)}while(0);ea(a+17>>0|0,1|0,1,0);B=e+24|0;ea(B|0,(da(B|0,4,0,0)|0|0)+1|0,4,0)}n=da(V|0,2,0,0)|0|0;if(n<<16>>16>-1&(m|0)!=0){y=n<<16>>16>63;z=hw(1,0,n<<16>>16|0)|0;A=m+56|0;x=A;B=da(x+4|0,4,0,0)|0|(y?-2147483648:C);ea(A|0,da(x|0,4,0,0)|0|(y?0:z)|0,4,0);ea(A+4|0,B|0,4,0)}B=f+12|0;Fk(R,da(B|0,4,0,0)|0|0);ea(B|0,0|0,4,0);B=f+16|0;Fk(R,da(B|0,4,0,0)|0|0);ea(B|0,0|0,4,0);ea(f>>0|0,((k|0)!=0?62:-102)|0,1,0);if(p)S=96;else e=2}while(0);g:do if((S|0)==96){o=da(l|0,4,0,0)|0|0;k=da(a|0,4,0,0)|0|0;if(!((da(k+284|0,4,0,0)|0|0)==0|(b|0)==0)){n=da(k+20|0,4,0,0)|0|0;if((n|0)>0){l=da(k+16|0,4,0,0)|0|0;m=0;while(1){k=m+1|0;if((da(l+(m<<4)+12|0,4,0,0)|0|0)==(b|0)){k=m;break}if((k|0)<(n|0))m=k;else break}if((k|0)<0){S=115;break}else b=k}else b=0;if((da(f>>0|0,1,0,0)|0|0)!=62){l=da(o|0,4,0,0)|0|0;if((l|0)<=0){S=115;break}h=da(U|0,4,0,0)|0|0;k=0;while(1){if((h|0)==(da(o+(k*72|0)+48|0,4,0,0)|0|0))break;k=k+1|0;if((k|0)>=(l|0)){S=115;break g}}h=o+(k*72|0)+24|0}l=da(h|0,4,0,0)|0|0;h=da(V|0,2,0,0)|0|0;k=h<<16>>16;if(l){if(h<<16>>16<=-1){h=da(l+36|0,2,0,0)|0|0;if(h<<16>>16>-1)h=da((da(l+4|0,4,0,0)|0|0)+((h<<16>>16)*24|0)|0,4,0,0)|0|0;else h=12944}else h=da((da(l+4|0,4,0,0)|0|0)+(k*24|0)|0,4,0,0)|0|0;if((dv(a,da(l|0,4,0,0)|0|0,h,b)|0)==2){ea(f>>0|0,101|0,1,0);S=115}else S=115}else S=115}else S=115}while(0);if((S|0)==115){B=e+20|0;ea(B|0,(da(B|0,4,0,0)|0|0)+1|0,4,0);if((g|0)==(e|0))e=1;else{do{e=da(e+16|0,4,0,0)|0|0;B=e+20|0;ea(B|0,(da(B|0,4,0,0)|0|0)+1|0,4,0)}while((e|0)!=(g|0));e=1}}i=W;return e|0}function ov(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=da(b>>0|0,1,0,0)|0|0;a:do if(c<<24>>24==-100|c<<24>>24==-102){c=da(a+24|0,4,0,0)|0|0;d=da(c|0,4,0,0)|0|0;b:do if((d|0)!=0?(e=da(d|0,4,0,0)|0|0,(e|0)>0):0){a=da(b+28|0,4,0,0)|0|0;b=0;while(1){if((a|0)==(da(d+(b*72|0)+48|0,4,0,0)|0|0))break;b=b+1|0;if((b|0)>=(e|0))break b}a=c+4|0;ea(a|0,(da(a|0,4,0,0)|0|0)+1|0,4,0);break a}while(0);a=c+8|0;ea(a|0,(da(a|0,4,0,0)|0|0)+1|0,4,0)}while(0);return 0}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,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=i;i=i+16|0;if((i|0)>=(j|0))ba();s=t;n=t+12|0;a:do if(!c)e=0;else{q=da(da(b|0,4,0,0)|0|0,4,0,0)|0|0;r=da(a|0,4,0,0)|0|0;b:do if((da(c|0,4,0,0)|0|0)>0){e=0;o=da(c+4|0,4,0,0)|0|0;c:while(1){l=da(o|0,4,0,0)|0|0;d:do if(!l)f=0;else{f=l;while(1){g=da(f+4|0,4,0,0)|0|0;if(!(g&4096))break d;if(!(g&262144))f=f+12|0;else f=da((da(f+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;f=da(f|0,4,0,0)|0|0;if(!f){f=0;break}}}while(0);if((da(d>>0|0,1,0,0)|0|0)!=71?(m=qv(da(b|0,4,0,0)|0|0,f)|0,ea(n|0,m|0,4,0),(m|0)>0):0)ea(o+16|0,m|0,2,0);else p=13;do if((p|0)==13){p=0;if(Ls(f,n)|0){f=da(n|0,4,0,0)|0|0;if((f+-1|0)>>>0>65534)break c;ea(o+16|0,f|0,2,0);break}h=o+16|0;ea(h|0,0|0,2,0);if(ks(a,l)|0){e=1;break a}g=da(b|0,4,0,0)|0|0;k=da(g|0,4,0,0)|0|0;if((k|0)>0){g=da(g+4|0,4,0,0)|0|0;f=0;do{u=f;f=f+1|0;if(!(Bu(l,da(g+(u*20|0)|0,4,0,0)|0|0,-1)|0))ea(h|0,f|0,2,0)}while((f|0)<(k|0))}}while(0);e=e+1|0;if((e|0)>=(da(c|0,4,0,0)|0|0))break b;else o=o+20|0}ea(s|0,e+1|0,4,0);ea(s+4|0,d|0,4,0);ea(s+8|0,q|0,4,0);sh(r,27064,s);e=1;break a}while(0);e=vu(r,b,c,d)|0}while(0);i=t;return e|0}function qv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:do if((da(b>>0|0,1,0,0)|0|0)==27?(d=da(b+8|0,4,0,0)|0|0,e=da(a|0,4,0,0)|0|0,(e|0)>0):0){a=da(a+4|0,4,0,0)|0|0;b=0;while(1){c=da(a+(b*20|0)+4|0,4,0,0)|0|0;if((c|0)!=0?(cd(c,d)|0)==0:0)break;b=b+1|0;if((b|0)>=(e|0)){b=0;break a}}b=b+1|0}else b=0;while(0);return b|0}function rv(a,b){a=a|0;b=b|0;var c=0,d=0;c=da(a+38|0,2,0,0)|0|0;a:do if(c<<16>>16>0){d=da(a+4|0,4,0,0)|0|0;c=c<<16>>16;a=0;while(1){if(!(cd(da(d+(a*24|0)|0,4,0,0)|0|0,b)|0))break a;a=a+1|0;if((a|0)>=(c|0)){a=-1;break}}}else a=-1;while(0);return a|0}function sv(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;i=da(a|0,4,0,0)|0|0;c=Qv(i,b,c,d)|0;d=Qv(i,b,e,f)|0;f=Yq(a,79,c,d,0)|0;if((f|0)!=0&(g|0)!=0){c=f+4|0;ea(c|0,da(c|0,4,0,0)|0|1|0,4,0);ea(f+36|0,da(d+28|0,4,0,0)|0|0,2,0)}ea(h|0,rs(i,da(h|0,4,0,0)|0|0,f)|0|0,4,0);return}function tv(a,b){a=a|0;b=b|0;var c=0,d=0;if(a){c=b&65535;do{d=a+4|0;ea(d|0,da(d|0,4,0,0)|0|1|0,4,0);ea(a+36|0,c|0,2,0);tv(da(a+12|0,4,0,0)|0|0,b);a=da(a+16|0,4,0,0)|0|0}while((a|0)!=0)}return}function uv(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;e=0;while(1){f=da(a+e>>0|0,1,0,0)|0|0;if(f<<24>>24==46|f<<24>>24==0)break;e=e+1|0}if(d)if((Ec(a,d,e)|0)==0?(da(d+e>>0|0,1,0,0)|0|0)==0:0)g=7;else e=0;else g=7;do if((g|0)==7){d=e+1|0;g=a+d|0;f=0;while(1){h=da(a+(f+d)>>0|0,1,0,0)|0|0;if(h<<24>>24==46|h<<24>>24==0)break;f=f+1|0}if(c){if(Ec(g,c,f)|0){e=0;break}if(da(c+f>>0|0,1,0,0)|0){e=0;break}}if((b|0)!=0?(cd(a+(e+2+f)|0,b)|0)!=0:0){e=0;break}e=1}while(0);return e|0}function vv(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if((a|0)!=0?(d=da(a+4|0,4,0,0)|0|0,(d|0)>0):0){c=da(a|0,4,0,0)|0|0;a=0;while(1){if(!(cd
10 cd(a,b){a=a|0;b=b|0;var c=0;if(a)if(!b)b=1;else{c=da(a>>0|0,1,0,0)|0|0;a:do if(!(c<<24>>24))c=0;else while(1){if((da(9328+(c&255)>>0|0,1,0,0)|0|0)!=(da(9328+(da(b>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0|0))break a;a=a+1|0;b=b+1|0;c=da(a>>0|0,1,0,0)|0|0;if(!(c<<24>>24)){c=0;break}}while(0);b=(da(9328+(c&255)>>0|0,1,0,1)|0|0)-(da(9328+(da(b>>0|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)|0}else b=((b|0)!=0)<<31>>31;return b|0}function dd(a){a=a|0;ea(2241*4|0,a|0,4,0);return 0}function ed(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;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;a:do if((c|0)==(a|0)){tg(c,1,10016,k);e=0}else{e=pg(48,0)|0;if(!e){ea(a+52|0,7|0,4,0);e=da(a+236|0,4,0,0)|0|0;if(!e){e=0;break}b=e+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(b|0,1|0,2,0);e=0;break}else{ug(e);e=0;break}}g=e+0|0;f=g+48|0;do{ea(g>>0|0,0|0,1,0);g=g+1|0}while((g|0)<(f|0));h=e+24|0;ea(h|0,vg(a,c,d)|0|0,4,0);f=vg(a,a,b)|0;g=e+4|0;ea(g|0,f|0,4,0);ea(e|0,a|0,4,0);ea(e+20|0,c|0,4,0);ea(e+16|0,1|0,4,0);ea(e+40|0,0|0,4,0);b=da(h|0,4,0,0)|0|0;do if(!((b|0)==0|(f|0)==0)?(wg(f,da((da(b+4|0,4,0,0)|0|0)+32|0,4,0,0)|0|0,-1,0)|0)!=7:0)if(!(da((da(g|0,4,0,0)|0|0)+8>>0|0,1,0,0)|0)){b=(da(h|0,4,0,0)|0|0)+16|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);break a}else{tg(a,1,47416,k);break}while(0);Vc(e);e=0}while(0);i=l;return e|0}function fd(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+32|0;if((i|0)>=(j|0))ba();d=A;n=A+16|0;q=A+12|0;u=A+8|0;y=a+24|0;e=da(y|0,4,0,0)|0|0;f=da(e+4|0,4,0,0)|0|0;ea(f+4|0,da(e|0,4,0,0)|0|0,4,0);z=a+28|0;c=da(z|0,4,0,0)|0|0;if(c>>>0<7?(30>>>(c&127)&1)==0:0){t=da(f|0,4,0,0)|0|0;x=a+4|0;c=da(x|0,4,0,0)|0|0;w=da(da(c+4|0,4,0,0)|0|0,4,0,0)|0|0;if((da(a|0,4,0,0)|0|0)!=0?(da(f+20>>0|0,1,0,0)|0|0)==2:0){v=0;e=5}else r=5;do if((r|0)==5){f=a+12|0;if(!(da(f|0,4,0,0)|0)){e=xg(c,2)|0;if(e){v=0;break}ea(f|0,1|0,4,0);v=da(x|0,4,0,0)|0|0;e=da(v+4|0,4,0,0)|0|0;ea(e+4|0,da(v|0,4,0,0)|0|0,4,0);e=da((da(e+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;ea(a+8|0,(da(e+41>>0|0,1,0,1)|0)<<16|(da(e+40>>0|0,1,0,1)|0)<<24|(da(e+42>>0|0,1,0,1)|0)<<8|(da(e+43>>0|0,1,0,1)|0)|0,4,0);e=da(y|0,4,0,0)|0|0}if(!(da(e+8>>0|0,1,0,0)|0)){v=1;e=xg(e,0)|0}else{v=0;e=0}}while(0);h=da((da(y|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;s=da(h+32|0,4,0,0)|0|0;m=da((da(x|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;p=da(m+32|0,4,0,0)|0|0;m=(da((da(m|0,4,0,0)|0|0)+5>>0|0,1,0,0)|0|0)==5;c=(s|0)==(p|0)|(e|0)==0&m^1?e:8;h=da(h+44|0,4,0,0)|0|0;f=(b|0)<0;a:do if(b){e=a+16|0;k=da(e|0,4,0,0)|0|0;l=0;do{if(!(k>>>0<=h>>>0&(c|0)==0))break a;if((k|0)!=((((da(2514*4|0,4,0,0)|0|0)>>>0)/((da((da((da(y|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+32|0,4,0,0)|0|0)>>>0)|0)+1|0)){c=yg(t,k,n,2)|0;if(!c){g=da(n|0,4,0,0)|0|0;c=zg(a,k,da(g+4|0,4,0,0)|0|0,0)|0;if(g)Ag(g)}}else c=0;k=(da(e|0,4,0,0)|0|0)+1|0;ea(e|0,k|0,4,0);l=l+1|0}while(f|(l|0)<(b|0))}while(0);if(!c){ea(a+36|0,h|0,4,0);n=da(a+16|0,4,0,0)|0|0;ea(a+32|0,h+1-n|0,4,0);if(n>>>0<=h>>>0){c=a+40|0;if(!(da(c|0,4,0,0)|0)){x=(da(da((da(y|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,4,0,0)|0|0)+88|0;ea(a+44|0,da(x|0,4,0,0)|0|0,4,0);ea(x|0,a|0,4,0);ea(c|0,1|0,4,0);c=0}else c=0}else r=22}else if((c|0)==101)r=22;do if((r|0)==22){if(!h){n=da(x|0,4,0,0)|0|0;c=da(n+4|0,4,0,0)|0|0;ea(c+4|0,da(n|0,4,0,0)|0|0,4,0);ea(c+44|0,0|0,4,0);c=Bg(c)|0;if((c|0)==0|(c|0)==101)h=1;else break}c=Cg(da(x|0,4,0,0)|0|0,1,(da(a+8|0,4,0,0)|0|0)+1|0)|0;if(!c){e=da(a|0,4,0,0)|0|0;if(e)Dg(e);if(m?(o=Eg(da(x|0,4,0,0)|0|0,2)|0,(o|0)!=0):0){c=o;break}if((s|0)<(p|0)){e=(p|0)/(s|0)|0;e=(h+-1+e|0)/(e|0)|0;f=da(2514*4|0,4,0,0)|0|0;g=da((da((da(x|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;e=(((e|0)==(((f>>>0)/(g>>>0)|0)+1|0))<<31>>31)+e|0;a=((s|0)<0)<<31>>31;o=rw(h|0,((h|0)<0)<<31>>31|0,s|0,a|0)|0;n=C;m=da(w+60|0,4,0,0)|0|0;l=da(w+24|0,4,0,0)|0|0;b:do if(e>>>0<=l>>>0){c=0;while(1){if((e|0)!=(((f>>>0)/(g>>>0)|0)+1|0)){c=yg(w,e,q,0)|0;if(c)break b;f=da(q|0,4,0,0)|0|0;c=Fg(f)|0;if(f)Ag(f)}e=e+1|0;f=(c|0)==0;if(e>>>0>l>>>0|f^1)break;g=da((da((da(x|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;f=da(2514*4|0,4,0,0)|0|0}if(f)r=38}else r=38;while(0);if((r|0)==38)c=Gg(w,0,1)|0;f=da(2514*4|0,4,0,0)|0|0;h=f+p|0;k=((h|0)<0)<<31>>31;g=(k|0)<(n|0)|(k|0)==(n|0)&h>>>0<o>>>0;h=g?h:o;k=g?k:n;f=f+s|0;g=((f|0)<0)<<31>>31;e=(c|0)==0;if(e&((g|0)<(k|0)|(g|0)==(k|0)&f>>>0<h>>>0))do{ea(u|0,0|0,4,0);c=pw(f|0,g|0,s|0,a|0)|0;c=iw(c|0,C|0,1,0)|0;c=yg(t,c,u,0)|0;e=da(u|0,4,0,0)|0|0;if(!c)c=sc[(fa(da((da(m|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](m,da(e+4|0,4,0,0)|0|0,s,f,g)|0;if(e)Ag(e);f=iw(f|0,g|0,s|0,a|0)|0;g=C;e=(c|0)==0}while(e&((g|0)<(k|0)|(g|0)==(k|0)&f>>>0<h>>>0));if(!e)break;c=qc[(fa(da((da(m|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,127|0)|0)&127](m,d)|0;u=da(d+4|0,4,0,0)|0|0;if((c|0)==0&((u|0)>(n|0)|((u|0)==(n|0)?(da(d|0,4,0,0)|0|0)>>>0>o>>>0:0)))c=$b[(fa(da((da(m|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,63|0)|0)&63](m,o,n)|0;if(c)break;c=Hg(w,0)|0}else{ea(w+24|0,_((s|0)/(p|0)|0,h)|0|0,4,0);c=Gg(w,0,0)|0}if(!c){c=Ig(da(x|0,4,0,0)|0|0,0)|0;c=(c|0)==0?101:c}}}while(0);if(v){Jg(da(y|0,4,0,0)|0|0,0)|0;Ig(da(y|0,4,0,0)|0|0,0)|0}c=(c|0)==3082?7:c;ea(z|0,c|0,4,0)}i=A;return c|0}function gd(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(!a)b=0;else{f=da(a+20|0,4,0,0)|0|0;c=da(a+24|0,4,0,0)|0|0;b=da(c+4|0,4,0,0)|0|0;ea(b+4|0,da(c|0,4,0,0)|0|0,4,0);if(da(a|0,4,0,0)|0){c=c+16|0;ea(c|0,(da(c|0,4,0,0)|0|0)+-1|0,4,0)}if(da(a+40|0,4,0,0)|0){b=(da(b|0,4,0,0)|0|0)+88|0;while(1){c=da(b|0,4,0,0)|0|0;if((c|0)==(a|0))break;else b=c+44|0}ea(b|0,da(a+44|0,4,0,0)|0|0,4,0)}Kg(da(a+4|0,4,0,0)|0|0,0,0);b=da(a+28|0,4,0,0)|0|0;b=(b|0)==101?0:b;c=da(a|0,4,0,0)|0|0;if(c){ea(c+52|0,b|0,4,0);d=da(c+236|0,4,0,0)|0|0;do if(d){e=d+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);break}else{ug(d);c=da(a|0,4,0,0)|0|0;break}}while(0);Lg(c);if(da(a|0,4,0,0)|0)Vc(a)}Lg(f)}return b|0}function hd(a){a=a|0;return da(a+32|0,4,0,0)|0|0}function id(a){a=a|0;return da(a+36|0,4,0,0)|0|0}function jd(a){a=a|0;if((a|0)!=0?((da(a+88|0,2,0,0)|0)&256)!=0:0)a=da(a+168|0,4,0,0)|0|0;else a=0;return a|0}function kd(a){a=a|0;if(!a)a=1;else a=((da(a+88|0,2,0,0)|0)&8)!=0;return a&1|0}function ld(a){a=a|0;var b=0,c=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();c=d;do if(a){b=da(a|0,4,0,0)|0|0;if(!b){ad(21,47360,c);ea(c|0,68910|0,4,0);ea(c+4|0,10788|0,4,0);ad(21,13648,c);b=21;break}else{a=Ng(b,Mg(a)|0)|0;Lg(b);b=a;break}}else b=0;while(0);i=d;return b|0}function md(a){a=a|0;var b=0,c=0;if(!a)a=0;else{b=Og(a)|0;ea(a+76|0,-1|0,4,0);ea(a+80|0,0|0,4,0);ea(a+86>>0|0,2|0,1,0);ea(a+40|0,-1108210269|0,4,0);ea(a+92|0,0|0,4,0);ea(a+72|0,1|0,4,0);ea(a+87>>0|0,-1|0,1,0);ea(a+104|0,0|0,4,0);c=a+144|0;ea(c|0,0|0,4,0);ea(c+4|0,0|0,4,0);a=Ng(da(a|0,4,0,0)|0|0,b)|0}return a|0}function nd(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=a+68|0;c=da(f|0,2,0,0)|0|0;if(c<<16>>16>0){g=a+60|0;b=da(g|0,4,0,0)|0|0;e=0;do{d=b+(e*40|0)|0;if(!(((da(b+(e*40|0)+8|0,2,0,0)|0)&9312)==0?(da(b+(e*40|0)+24|0,4,0,0)|0|0)==0:0)){Pg(d);b=da(g|0,4,0,0)|0|0;c=da(f|0,2,0,0)|0|0}ea(b+(e*40|0)+8|0,1|0,2,0);e=e+1|0}while((e|0)<(c<<16>>16|0))}b=a+88|0;c=da(b|0,2,0,0)|0|0;if((c&256)!=0?(da(a+188|0,4,0,0)|0|0)!=0:0)ea(b|0,c|8|0,2,0);return 0}function od(a){a=a|0;var b=0;b=a+8|0;if((da(b|0,2,0,0)|0)&18){Qg(a)|0;ea(b|0,da(b|0,2,0,1)|0|0|16|0,2,0);if(!(da(a+12|0,4,0,0)|0))b=0;else b=da(a+16|0,4,0,0)|0|0}else b=Rg(a,1)|0;return b|0}function pd(a){a=a|0;return Rg(a,1)|0}function qd(a){a=a|0;return Sg(a,1)|0}function rd(a){a=a|0;return Sg(a,2)|0}function sd(a){a=a|0;return +(+Tg(a))}function td(a){a=a|0;a=Ug(a)|0;return a|0}function ud(a){a=a|0;a=Ug(a)|0;return a|0}function vd(a){a=a|0;return Rg(a,2)|0}function wd(a){a=a|0;return Rg(a,3)|0}function xd(a){a=a|0;return Rg(a,2)|0}function yd(a){a=a|0;return da(10064+((da(a+8|0,2,0,1)|0|0)&31)>>0|0,1,0,1)|0|0|0}function zd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Vg(a,b,c,0,d);return}function Ad(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(d>>>0>0|(d|0)==0&c>>>0>2147483647){c=e;if(!((c|0)==0|(c|0)==-1))bc[(fa(e|0,31|0)|0)&31](b);if(a){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,10096,-1,1,0)|0}}else Vg(a,b,c,0,e);return}function Bd(a,b){a=a|0;b=+b;Xg(da(a|0,4,0,0)|0|0,b);return}function Cd)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;c=c-b&1073741823}return ph(a,b,c)|0}function Ae(a,b){a=a|0;b=b|0;var c=0,d=0;if((da(a+68|0,2,0,0)|0|0)==(da(b+68|0,2,0,0)|0|0)){d=b+88|0;c=da(d|0,2,0,0)|0|0;if((c&256)!=0?(da(b+188|0,4,0,0)|0|0)!=0:0)ea(d|0,c|8|0,2,0);c=a+88|0;d=da(c|0,2,0,0)|0|0;if((d&256)!=0?(da(a+188|0,4,0,0)|0|0)!=0:0)ea(c|0,d|8|0,2,0);ih(a,b);c=0}else c=1;return c|0}function Be(a){a=a|0;if(!a)a=0;else a=da(a|0,4,0,0)|0|0;return a|0}function Ce(a){a=a|0;if(!a)a=1;else a=(da(a+88|0,2,0,1)|0|0)>>>6&1;return a|0}function De(a){a=a|0;if((a|0)!=0?(da(a+76|0,4,0,0)|0|0)>-1:0)a=(da(a+40|0,4,0,0)|0|0)==-1108210269;else a=0;return a&1|0}function Ee(a,b){a=a|0;b=b|0;if(!b)a=a+4|0;else a=b+52|0;return da(a|0,4,0,0)|0|0}function Fe(a,b,c){a=a|0;b=b|0;c=c|0;a=a+(b<<2)+108|0;b=da(a|0,4,0,0)|0|0;if(c)ea(a|0,0|0,4,0);return b|0}function Ge(a){a=a|0;var b=0,c=0,d=0;c=a+8|0;d=da(c|0,2,0,1)|0|0;b=da(10064+(d&31)>>0|0,1,0,1)|0|0;if((d&15|0)==2){qh(a,0);b=da(10064+((da(c|0,2,0,1)|0|0)&31)>>0|0,1,0,1)|0|0}return b|0}function He(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,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;O=i;i=i+16|0;if((i|0)>=(j|0))ba();M=O;N=O+4|0;ea(N|0,0|0,4,0);ea(h|0,0|0,4,0);H=(g|0)!=0;I=H&1;K=lh(a,28,0)|0;do if(K){g=K+0|0;m=g+28|0;do{ea(g>>0|0,0|0,1,0);g=g+1|0}while((g|0)<(m|0));m=lh(a,536,0)|0;if(m){E=a+20|0;F=a+16|0;v=a+24|0;g=K+20|0;w=K+12|0;x=K+24|0;y=a+65|0;z=I^3;A=I|2;B=m+440|0;C=m+72|0;D=m+68|0;l=0;G=1;k=0;while(1){ew(m|0,0,536)|0;ea(m|0,a|0,4,0);lg(a,l);ea(N|0,0|0,4,0);l=da(E|0,4,0,0)|0|0;if((l|0)>0){n=da(F|0,4,0,0)|0|0;p=0;do{o=da(n+(p<<4)+4|0,4,0,0)|0|0;if(o)ea((da(o+4|0,4,0,0)|0|0)+4|0,da(o|0,4,0,0)|0|0,4,0);p=p+1|0}while((p|0)!=(l|0))}u=rh(m,0,c,b)|0;if(!u)break;l=da(u+44>>0|0,1,0,0)|0|0;if(l&16){L=11;break}if(l&32){L=13;break}if(da(u+12|0,4,0,0)|0){L=17;break}t=u+38|0;q=da(t|0,2,0,0)|0|0;a:do if(q<<16>>16>0){p=da(u+4|0,4,0,0)|0|0;o=q<<16>>16;l=0;while(1){n=l+1|0;if(!(cdcd|0,4,0,0)|0|0;f=da(g>>0|0,1,0,0)|0|0;g=da(g+1>>0|0,1,0,0)|0|0;if(!(f<<24>>24==-1&g<<24>>24==-2))if(g<<24>>24!=-1|f<<24>>24!=-2)break;else f=3;else f=2;if(Ul(a)|0){f=7;break a}b=(da(i|0,4,0,0)|0|0)+-2|0;ea(i|0,b|0,4,0);e=da(c|0,4,0,0)|0|0;kw(e|0,e+2|0,b|0)|0;ea((da(c|0,4,0,0)|0|0)+(da(i|0,4,0,0)|0|0)>>0|0,0|0,1,0);ea((da(c|0,4,0,0)|0|0)+((da(i|0,4,0,0)|0|0)+1)>>0|0,0|0,1,0);ea(j|0,da(j|0,2,0,1)|0|512|0,2,0);ea(h>>0|0,f|0,1,0)}while(0);f=(l|0)>(n|0)?18:0}while(0);return f|0}function Xg(a,b){a=a|0;b=+b;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();d=f+8|0;e=f;c=a+8|0;if(!((da(c|0,2,0,0)|0)&9312))ea(c|0,1|0,2,0);else ug(a);ea(d|0,+b,8,1);ea(e|0,+(+(+da(d|0,8,1,0))),8,1);if(!(+(+da(d|0,8,1,0))!=+(+da(e|0,8,1,0)))){ea(a|0,+b,8,1);ea(c|0,8|0,2,0)}i=f;return}function Yg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a+8|0;if(!((da(d|0,2,0,0)|0)&9312))ea(d|0,1|0,2,0);else ug(a);ea(a|0,b|0,4,0);ea(a+4|0,c|0,4,0);ea(d|0,4|0,2,0);return}function Zg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+8|0;if((da(c|0,2,0,0)|0)&9312)ug(a);ea(a+0|0,da(b+0|0,4,0,0)|0|0,4,0);ea(a+4|0,da(b+4|0,4,0,0)|0|0,4,0);ea(a+8|0,da(b+8|0,4,0,0)|0|0,4,0);ea(a+12|0,da(b+12|0,4,0,0)|0|0,4,0);ea(a+16|0,da(b+16|0,4,0,0)|0|0,4,0);e=da(c|0,2,0,1)|0|0;d=e&64511;ea(c|0,d|0,2,0);if((e&18|0)!=0?((da(b+8|0,2,0,0)|0)&2048)==0:0){ea(c|0,d|4096|0,2,0);c=Ul(a)|0}else c=0;return c|0}function _g(a,b){a=a|0;b=b|0;var c=0;c=a+8|0;if(!(((da(c|0,2,0,0)|0)&9312)==0?(da(a+24|0,4,0,0)|0|0)==0:0))Pg(a);ea(c|0,16400|0,2,0);ea(a+12|0,0|0,4,0);ea(a|0,((b|0)<0?0:b)|0,4,0);ea(a+10>>0|0,1|0,1,0);ea(a+16|0,0|0,4,0);return}function $g(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();b=c;if(a)if(!(da(a|0,4,0,0)|0)){ad(21,47360,b);a=1}else a=0;else{ad(21,47320,b);a=1}i=c;return a|0}function ah(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;if((da(a|0,4,0,0)|0|0)>1?(c=da(a+72|0,4,0,0)|0|0,(c|0)!=0):0)c=qc[(fa(c|0,127|0)|0)&127](a,b)|0;else{c=qc[(fa(da(a+64|0,4,0,0)|0|0,127|0)|0)&127](a,d)|0;f=+(+da(d|0,8,1,0))*864.0e5;a=+N(f)>=1.0?(f>0.0?~~+$(+M(f/4294967296.0),4294967295.0)>>>0:~~+Z((f-+(~~f>>>0))/4294967296.0)>>>0):0;ea(b|0,~~f>>>0|0,4,0);ea(b+4|0,a|0,4,0)}i=e;return c|0}function bh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:do if((a|0)!=0&(b|0)!=0){f=a+(b*40|0)|0;g=da(a+32|0,4,0,0)|0|0;d=g+65|0;e=da(d>>0|0,1,0,0)|0|0;if(da(g+520|0,4,0,0)|0){b=a;while(1){if(da(b+24|0,4,0,0)|0)lg(g,da(b+20|0,4,0,0)|0|0);b=b+40|0;if(b>>>0>=f>>>0)break a}}do{b=a+8|0;if(!((da(b|0,2,0,0)|0)&9312)){c=a+24|0;if(da(c|0,4,0,0)|0){lg(g,da(a+20|0,4,0,0)|0|0);ea(c|0,0|0,4,0)}}else Pg(a);ea(b|0,128|0,2,0);a=a+40|0}while(a>>>0<f>>>0);ea(d>>0|0,e|0,1,0)}while(0);return}function ch(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();f=e;ea(f|0,d|0,4,0);d=Vk(b,c,f)|0;lg(b,da(a|0,4,0,0)|0|0);ea(a|0,d|0,4,0);i=e;return}function dh(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,j=0,k=0,l=0;i=a+24|0;d=da(i|0,4,0,0)|0|0;do if((d|0)<(b|0)){h=(b|0)<32?32:b;b=(d|0)>0;if((c|0)!=0&b?(e=a+16|0,f=da(e|0,4,0,0)|0|0,g=a+20|0,(f|0)==(da(g|0,4,0,0)|0|0)):0){d=Vl(da(a+32|0,4,0,0)|0|0,f,h,((h|0)<0)<<31>>31)|0;ea(g|0,d|0,4,0);ea(e|0,d|0,4,0);c=0}else{d=a+32|0;if(b){b=a+20|0;lg(da(d|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0)}else b=a+20|0;d=lh(da(d|0,4,0,0)|0|0,h,((h|0)<0)<<31>>31)|0;ea(b|0,d|0,4,0)}if(!d){c=a+8|0;if(!((da(c|0,2,0,0)|0)&9312))ea(c|0,1|0,2,0);else ug(a);ea(a+16|0,0|0,4,0);ea(i|0,0|0,4,0);c=7;break}b=da(a+32|0,4,0,0)|0|0;do if(!b)b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](d)|0;else{if((da(b+276|0,4,0,0)|0|0)>>>0<=d>>>0?(da(b+280|0,4,0,0)|0|0)>>>0>d>>>0:0){b=da(b+248|0,2,0,1)|0|0;break}b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](d)|0}while(0);ea(i|0,b|0,4,0);l=21}else l=21;while(0);if((l|0)==21){if(((c|0)!=0?(j=da(a+16|0,4,0,0)|0|0,(j|0)!=0):0)?(k=da(a+20|0,4,0,0)|0|0,(j|0)!=(k|0)):0)jw(k|0,j|0,da(a+12|0,4,0,0)|0|0)|0;b=a+8|0;c=da(b|0,2,0,0)|0|0;if(!(c&1024))d=a+16|0;else{d=a+16|0;bc[(fa(da(a+36|0,4,0,0)|0|0,31|0)|0)&31](da(d|0,4,0,0)|0|0);c=da(b|0,2,0,0)|0|0}ea(d|0,da(a+20|0,4,0,0)|0|0,4,0);ea(b|0,c&58367|0,2,0);c=0}return c|0}function eh(a,b){a=a|0;b=b|0;if((da(a+24|0,4,0,0)|0|0)<(b|0))a=dh(a,b,0)|0;else{ea(a+16|0,da(a+20|0,4,0,0)|0|0,4,0);a=a+8|0;ea(a|0,(da(a|0,2,0,1)|0|0)&13|0,2,0);a=0}return a|0}
11 function lq(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,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;_=i;i=i+192|0;if((i|0)>=(j|0))ba();V=_+48|0;T=_+24|0;S=_+160|0;z=_+156|0;J=_+152|0;D=_+148|0;M=_+144|0;G=_+140|0;y=_+16|0;Y=_;p=_+128|0;o=_+116|0;q=_+96|0;e=_+88|0;Z=a+8|0;W=da(Z|0,4,0,0)|0|0;X=da(a|0,4,0,0)|0|0;ea(Y+0|0,da(9286*4|0,4,0,0)|0|0,4,0);ea(Y+4|0,da(9287*4|0,4,0,0)|0|0,4,0);ea(Y+8|0,da(9288*4|0,4,0,0)|0|0,4,0);a:do switch(b|0){case 35:{e=da(a+(X<<4)+20|0,4,0,0)|0|0;d=da(a+(X<<4)+16|0,4,0,0)|0|0;if((e|0)==5?(Ec(d,20456,5)|0)==0:0){ea(Y>>0|0,32|0,1,0);break a}ea(Y>>0|0,0|0,1,0);ea(V|0,e|0,4,0);ea(V+4|0,d|0,4,0);sh(W,20464,V);break}case 38:{V=da(a+(X+-2<<4)+16|0,4,0,0)|0|0;ea(Y|0,V|0,4,0);ea(Y+4|0,(da(W+504|0,4,0,0)|0|0)-V+(da(W+508|0,4,0,0)|0|0)|0,4,0);break}case 9:{e=da(a+(X+-1<<4)+16|0,4,0,0)|0|0;d=da(W|0,4,0,0)|0|0;if((Rq(W,22,37104,0,0)|0)==0?(w=Nq(W)|0,(w|0)!=0):0){if((e|0)!=7?(x=d+20|0,(da(x|0,4,0,0)|0|0)>0):0){e=(e|0)==9?2:1;d=w+96|0;g=0;do{vh(w,4,g,e,0)|0;ea(d|0,da(d|0,4,0,0)|0|1<<g|0,4,0);g=g+1|0}while((g|0)<(da(x|0,4,0,0)|0|0))}vh(w,3,0,0,0)|0}break}case 221:case 218:case 108:case 97:case 85:case 83:case 81:case 68:case 31:case 28:{ea(Y|0,0|0,4,0);break}case 27:{ea((da(W|0,4,0,0)|0|0)+250>>0|0,0|0,1,0);U=a+(X<<4)+16|0;W=da(U+4|0,4,0,0)|0|0;V=Y;ea(V|0,da(U|0,4,0,0)|0|0,4,0);ea(V+4|0,W|0,4,0);break}case 222:case 219:case 107:case 84:case 69:case 30:case 29:{ea(Y|0,1|0,4,0);break}case 32:{Uq(W,a+(X+-2<<4)+16|0,a+(X+-1<<4)+16|0,da(a+(X<<4)+16>>0|0,1,0,0)|0|0,0);break}case 33:{V=a+(X<<4)+16|0;Uq(W,0,0,0,da(V|0,4,0,0)|0|0);Lk(da(W|0,4,0,0)|0|0,da(V|0,4,0,0)|0|0,1);break}case 34:{ea(Y>>0|0,0|0,1,0);break}case 62:{Zq(W,0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,da(a+(X<<4)+16|0,4,0,0)|0|0,da(a+(X+-2<<4)+16|0,4,0,0)|0|0);break}case 63:{_q(W,0,0,0,0,da(a+(X<<4)+16|0,4,0,0)|0|0,0,0,0,0)|0;break}case 74:{ea(Y|0,da(a+(X<<4)+16|0,4,0,0)|0|0,4,0);ea(Y+4|0,255|0,4,0);break}case 76:{ea(Y|0,7|0,4,0);break}case 75:{ea(Y|0,(da(a+(X<<4)+16|0,4,0,0)|0)<<8|0,4,0);ea(Y+4|0,65280|0,4,0);break}case 77:{ea(Y|0,8|0,4,0);break}case 78:{ea(Y|0,9|0,4,0);break}case 79:{ea(Y|0,6|0,4,0);break}case 80:{ea(Y|0,0|0,4,0);break}case 103:case 100:case 98:case 82:{ea(Y|0,da(a+(X<<4)+16|0,4,0,0)|0|0,4,0);break}case 86:{ea(Y+4|0,0|0,4,0);ea(Y|0,0|0,4,0);break}case 6:{ea(W+450>>0|0,1|0,1,0);ea(W+440|0,0|0,4,0);break}case 8:{q=da(W|0,4,0,0)|0|0;t=q+65|0;if(((da(t>>0|0,1,0,0)|0|0)==0?(da(W+18>>0|0,1,0,0)|0|0)==0:0)?(Q=W+64|0,(da(Q|0,4,0,0)|0|0)==0):0){s=Nq(W)|0;if(s){do{}while((Oq(s,61)|0)!=0);vh(s,24,0,0,0)|0;do if(!(da(t>>0|0,1,0,0)|0)){h=W+332|0;n=da(h|0,4,0,0)|0|0;if((n|0)==0?(da(W+316|0,4,0,0)|0|0)==0:0)break;k=s+32|0;l=da(k|0,4,0,0)|0|0;if(l)ea((da(s+4|0,4,0,0)|0|0)+8|0,l|0,4,0);ea((da(s+24|0,4,0,0)|0|0)+88|0,l+-1|0,4,0);o=q+20|0;b:do if((da(o|0,4,0,0)|0|0)>0){c=s+96|0;d=W+328|0;e=q+16|0;f=q+145|0;g=s+4|0;m=0;while(1){p=1<<m;if(((p&n|0)!=0?(ea(c|0,da(c|0,4,0,0)|0|p|0,4,0),V=da((da((da(e|0,4,0,0)|0|0)+(m<<4)+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,wh(s,vh(s,4,m,((da(d|0,4,0,0)|0)&p|0)!=0&1,da(W+(m<<2)+336|0,4,0,0)|0|0)|0,V,-14),(da(f>>0|0,1,0,0)|0|0)==0):0)?(F=da(g|0,4,0,0)|0|0,(F|0)!=0):0)ea(F+(((da(k|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,1|0,1,0);m=m+1|0;if((m|0)>=(da(o|0,4,0,0)|0|0))break b;n=da(h|0,4,0,0)|0|0}}while(0);k=W+452|0;if((da(k|0,4,0,0)|0|0)>0){h=W+520|0;g=0;do{l=da((da((da(h|0,4,0,0)|0|0)+(g<<2)|0,4,0,0)|0|0)+60|0,4,0,0)|0|0;c:do if(!l)l=0;else while(1){if((da(l|0,4,0,0)|0|0)==(q|0))break c;l=da(l+24|0,4,0,0)|0|0;if(!l){l=0;break}}while(0);wh(s,vh(s,146,0,0,0)|0,l,-10);g=g+1|0}while((g|0)<(da(k|0,4,0,0)|0|0))}ea(k|0,0|0,4,0);k=Nq(W)|0;h=W+396|0;if((da(h|0,4,0,0)|0|0)>0){g=W+400|0;f=0;do{T=da(g|0,4,0,0)|0|0;V=da(T+(f<<4)+12|0,4,0,0)|0|0;wh(k,vh(k,145,da(T+(f<<4)|0,4,0,0)|0|0,da(T+(f<<4)+4|0,4,0,0)|0|0,da(T+(f<<4)+8>>0|0,1,0,1)|0|0)|0,V,-2);f=f+1|0}while((f|0)<(da(h|0,4,0,0)|0|0))}d=da(W+8|0,4,0,0)|0|0;l=da(W+404|0,4,0,0)|0|0;if(l){c=(da(W|0,4,0,0)|0|0)+16|0;m=d+32|0;n=d+4|0;do{h=da(l+8|0,4,0,0)|0|0;k=da(l+12|0,4,0,0)|0|0;Pq(W,0,h,da((da((da(c|0,4,0,0)|0|0)+(h<<4)+12|0,4,0,0)|0|0)+72|0,4,0,0)|0|0,54);h=k+1|0;vh(d,28,0,k,h)|0;g=da(m|0,4,0,0)|0|0;e=k+-1|0;f=da(da(l+4|0,4,0,0)|0|0,4,0,0)|0|0;wh(d,vh(d,97,0,e,0)|0,f,0);f=g+9|0;vh(d,108,0,f,0)|0;vh(d,47,0,0,k)|0;vh(d,78,e,g+7|0,k)|0;e=da(n|0,4,0,0)|0|0;if(e)ea(e+(((da(m|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,16|0,1,0);vh(d,103,0,h,0)|0;vh(d,47,0,1,k)|0;vh(d,16,0,f,0)|0;vh(d,9,0,g+2|0,0)|0;vh(d,25,0,k,0)|0;vh(d,61,0,0,0)|0;l=da(l|0,4,0,0)|0|0}while((l|0)!=0)}k=da(W+316|0,4,0,0)|0|0;if((k|0)!=0?(ea(W+23>>0|0,0|0,1,0),(da(k|0,4,0,0)|0|0)>0):0){h=k+4|0;g=0;do{V=da(h|0,4,0,0)|0|0;Qq(W,da(V+(g*20|0)|0,4,0,0)|0|0,da(V+(g*20|0)+16|0,4,0,0)|0|0);g=g+1|0}while((g|0)<(da(k|0,4,0,0)|0|0))}vh(s,16,0,1,0)|0}while(0);if((da(Q|0,4,0,0)|0|0)==0?(da(t>>0|0,1,0,0)|0|0)==0:0){if((da(W+404|0,4,0,0)|0|0)!=0?(R=W+68|0,(da(R|0,4,0,0)|0|0)==0):0)ea(R|0,1|0,4,0);zh(s,W);ea(W+12|0,101|0,4,0);ea(W+16>>0|0,0|0,1,0)}else U=48}else U=48;if((U|0)==48)ea(W+12|0,1|0,4,0);ea(W+68|0,0|0,4,0);ea(W+72|0,0|0,4,0);ea(W+76|0,0|0,4,0);ea(W+440|0,0|0,4,0);ea(W+332|0,0|0,4,0)}break}case 5:{ea(W+450>>0|0,0|0,1,0);ea(W+440|0,0|0,4,0);break}case 279:case 263:case 262:case 261:case 260:case 259:case 258:case 257:case 256:case 247:case 150:case 141:case 131:case 130:case 48:case 45:case 42:case 41:case 40:{U=a+(X<<4)+16|0;W=da(U+4|0,4,0,0)|0|0;V=Y;ea(V|0,da(U|0,4,0,0)|0|0,4,0);ea(V+4|0,W|0,4,0);break}case 44:{e=a+(X<<4)+16|0;d=da(W+484|0,4,0,0)|0|0;if((d|0)!=0?(g=da(d+38|0,2,0,0)|0|0,g<<16>>16>=1):0){V=(g<<16>>16)+-1|0;U=da(d+4|0,4,0,0)|0|0;W=Vq(da(W|0,4,0,0)|0|0,e)|0;ea(U+(V*24|0)+12|0,W|0,4,0);ea(U+(V*24|0)+21>>0|0,Wq(W,U+(V*24|0)+22|0)|0|0,1,0)}break}case 58:{ea(p|0,Yq(W,157,da(a+(X<<4)+16|0,4,0,0)|0|0,0,0)|0|0,4,0);ea(p+4|0,da(a+(X+-1<<4)+16|0,4,0,0)|0|0,4,0);ea(p+8|0,da(a+(X<<4)+24|0,4,0,0)|0|0,4,0);Xq(W,p);break}case 59:{V=a+(X<<4)+16|0;ea(o|0,Yq(W,97,0,0,V)|0|0,4,0);V=da(V|0,4,0,0)|0|0;ea(o+4|0,V|0,4,0);ea(o+8|0,V+(da(a+(X<<4)+20|0,4,0,0)|0|0)|0,4,0);Xq(W,o);break}case 61:{d=da(a+(X<<4)+16|0,4,0,0)|0|0;e=da(W+484|0,4,0,0)|0|0;if((e|0)!=0?(h=da(e+38|0,2,0,0)|0|0,h<<16>>16>=1):0)ea((da(e+4|0,4,0,0)|0|0)+(((h<<16>>16)+-1|0)*24|0)+20>>0|0,d|0,1,0);break}case 117:case 115:case 16:case 15:case 14:{ea(Y|0,da(a+(X<<4)+14>>0|0,1,0,1)|0|0,4,0);break}case 18:case 17:{if((Rq(W,22,37136,0,0)|0)==0?(s=Nq(W)|0,(s|0)!=0):0)vh(s,3,1,0,0)|0;break}case 19:{if((Rq(W,22,37120,0,0)|0)==0?(r=Nq(W)|0,(r|0)!=0):0)vh(r,3,1,1,0)|0;break}case 39:{p=a+(X<<4)+16|0;n=da(W|0,4,0,0)|0|0;d=da(W+484|0,4,0,0)|0|0;d:do if(d){o=d+38|0;if((da(o|0,2,0,0)|0|0)>=(da(n+96|0,4,0,0)|0|0)){ea(V|0,da(d|0,4,0,0)|0|0,4,0);sh(W,36528,V);break}m=Vq(n,p)|0;if(m){k=da(o|0,2,0,0)|0|0;c=k<<16>>16;e:do if(k<<16>>16>0){l=da(9328+(da(m>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0|0;g=da(d+4|0,4,0,0)|0|0;h=m+1|0;e=0;while(1){f=da(g+(e*24|0)|0,4,0,0)|0|0;if(l<<24>>24==(da(9328+(da(f>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0|0)?(cdcdcd(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)?(cdcd(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<<g;e=f+328|0;ea(e|0,da(e|0,4,0,0)|0|n|0,4,0);f=f+20|0;ea(f>>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}
12 cd(l,18760)|0)if(!(cdcd(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<<h|0,4,0);L=L+20|0;ea(L>>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<<r&u|0)!=0:0){W=138;break}if((da((da(s|0,4,0,0)|0|0)+(r*24|0)+23>>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<<k&r)break;vh(O,28,0,k+F|0,0)|0;break i}while(0);mt(O,fa,m,k,k+F|0)}while(0);k=k+1|0}while((k|0)<(da(ca|0,2,0,0)|0|0))}do if((da(Z|0,4,0,0)|0)&1){vt(O,fa,F);wt(a,_,110,c,1,fa,J,e,z);if(!l)vh(O,70,m,z,J)|0;else wh(O,vh(O,68,m,z,x)|0,v,-14);g=da(ca|0,2,0,0)|0|0;if(g<<16>>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<<k|0,4,0);U=U+20|0;ea(U>>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(!(cdcd(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<<b;if((c&d|0)==0?(f=da(e|0,4,0,0)|0|0,ea(a|0,c|d|0,4,0),ea(e+(b<<2)+336|0,da(da((da(f+16|0,4,0,0)|0|0)+(b<<4)+12|0,4,0,0)|0|0,4,0,0)|0|0,4,0),(b|0)==1):0)Zk(e)|0;return}function Ar(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;m=i;i=i+128|0;if((i|0)>=(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<<J;y=M+96|0;ea(y|0,da(y|0,4,0,0)|0|h|0,4,0);if(N){ea(I|0,0|0,4,0);Cn(N,I)|0;g=da(I|0,4,0,0)|0|0;if((g|0)<=-1)g=(g|0)==-2147483648?2147483647:0-g|0;y=da(a+408|0,4,0,0)|0|0;zr(a,J);y=((y|0)==0?a:y)+328|0;ea(y|0,da(y|0,4,0,0)|0|h|0,4,0);vh(M,25,g,1,0)|0;vh(M,52,J,3,1)|0;ea((da(v+(J<<4)+12|0,4,0,0)|0|0)+80|0,g|0,4,0);oq(da(v+(J<<4)+4|0,4,0,0)|0|0,g);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,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(!(cdcd(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(!(cdcd(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<<J|0,4,0);if((N|0)!=0?!((p|0)==11|(p|0)==20):0){f=xh(M,3,31832)|0;g=M+32|0;if((da(g|0,4,0,0)|0|0)>>>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<<J|0,4,0);vh(M,25,f,1,0)|0;f=vh(M,143,J,0,0)|0;vh(M,35,1,0,0)|0;vh(M,37,1,-1,0)|0;vh(M,137,1,f,0)|0;d=da(M+32|0,4,0,0)|0|0;if(d>>>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<<a;a=a+1|0}while((a|0)<(c|0));ea(d|0,b|0,4,0)}return}function Ir(a,b){a=a|0;b=b|0;var c=0,d=0;c=b+8|0;d=Tr(a,0,c)|0;b=b+24|0;jg(da(a|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0);ea(b|0,d|0,4,0);if(d){b=d+40|0;ea(b|0,(da(b|0,2,0,0)|0|0)+1<<16>>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
13 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|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<w>>>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<w>>>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<z>>>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<s>>>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
14 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(cdcd(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
16 var _b=[Qw,te];var $b=[Rw,ki,pi,ri,ui,wi,pe,ve,uf,Wf,Xf,Ef,Df,Gf,Ne,Cf,Ff,Bf,we,Pf,of,Fe,Ec,If,Me,df,eg,Xc,Fi,Ki,Ni,dk,jk,rk,Sw,Tw,Uw,tk,Ap,Bp,zp,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw,Rw];var ac=[Vw,Id];var bc=[Ww,Vc,_e,xf,Gd,Qd,Pd,Qc,Ji,Ri,Si,Ui,Zi,bj,Ej,Fj,Gj,Ij,Kj,nk,po,xp,pl,Ww,Ww,Ww,Ww,Ww,Ww,Ww,Ww,Ww];var cc=[Xw,Ad];var dc=[Yw,be];var ec=[Zw,Bd];var fc=[_w,sd];var gc=[$w,gf,jf,Pc,kf,hf,uk,$w];var hc=[ax,_f,zf,ax];var ic=[bx,qi,Ed,Md,Nd,Od,bd,Li,Qi,qu,ru,bx,bx,bx,bx,bx];var jc=[cx,Ze,Uf,ne,dx,cx,cx,cx];var kc=[ex,Xd,xe,qf,sf,Yd,ef,ff,Zd,Be,dd,Mf,Re,Lf,kd,ld,Yf,pf,Sc,md,Rd,rf,Sd,od,qd,rd,td,ud,Ge,pd,vd,wd,xd,yd,nd,Le,Ie,Rc,Nc,$f,Jc,Mc,Td,jd,gd,id,hd,Fc,Dc,mf,Nf,cf,tf,nf,Of,De,Ce,Te,Ue,Uc,Ci,Ii,Mi,Ti,Wi,Xi,Yi,ak,kk,lk,fx,gx,hx,vk,zk,Wk,fl,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex,ex];var lc=[ix,oi,Cd,Dd,Fd,ad,Oi,_i,$i,aj,cj,dj,ej,fj,gj,hj,ij,jj,kj,lj,mj,nj,oj,pj,qj,rj,sj,tj,uj,vj,wj,xj,yj,zj,Aj,Bj,Cj,Dj,Hj,Jj,Lj,Mj,Nj,Oj,Pj,Qj,Rj,Sj,Tj,Uj,Vj,Wj,Xj,Yj,Zj,_j,$j,Sh,ix,ix,ix,ix,ix,ix];var mc=[jx,Zf,Ve,jx];var nc=[kx,yf,Af,He];var oc=[lx,li,mi,qe,$e,$c,Je,Ke,bg,Rf,Hc,ed,fg,_c,Se,mk,qk,Cc,Ch,Eh,Ih,Th,_m,cq,lx,lx,lx,lx,lx,lx,lx,lx];var pc=[mx,vf,zd,Hd,Jd,Kd,Ld,Wd,Pi,og,mx,mx,mx,mx,mx,mx];var qc=[nx,ni,si,ti,vi,xi,yi,zi,Ai,Bi,Ud,re,ze,ye,wf,_d,$d,ae,ke,le,ce,de,ie,je,ee,ge,he,fe,bf,Vd,Zc,Qf,Sf,Wc,Ae,Yc,Lc,cg,ag,Ee,fd,Oc,Hf,Kf,gg,hg,cd,dg,Tc,Oe,Gi,Hi,Vi,ek,fk,gk,hk,ik,ok,ox,px,qx,rx,sx,tx,sk,ux,vx,wk,xk,yk,Ak,Bk,Ck,Oh,wp,Cm,Dm,os,ps,Ys,Zs,fu,gu,nu,ou,pu,ov,Rv,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx,nx];var rc=[wx,oe];var sc=[xx,ji,me,se,ue,Tf,Vf,Pe,We,Xe,Qe,Ye,af,Ic,Jf,Di,Ei,bk,ck,pk,Dk,Tn,Un,xx,xx,xx,xx,xx,xx,xx,xx,xx];return{_i64Subtract:cw,_strcat:gw,_free:Wv,_main:Bc,_realloc:Xv,_i64Add:iw,_memmove:kw,_bitshift64Ashr:dw,_strlen:fw,_memset:ew,_malloc:Vv,_memcpy:jw,_bitshift64Lshr:lw,_llvm_bswap_i32:mw,_bitshift64Shl:hw,runPostSets:bw,stackAlloc:tc,stackSave:uc,stackRestore:vc,setThrew:wc,setTempRet0:zc,getTempRet0:Ac,dynCall_iiiiiiii:vw,dynCall_iiii:ww,dynCall_viiiiii:xw,dynCall_vi:yw,dynCall_viiiii:zw,dynCall_dii:Aw,dynCall_vid:Bw,dynCall_di:Cw,dynCall_i:Dw,dynCall_iiiiiiiiii:Ew,dynCall_vii:Fw,dynCall_iiiiiii:Gw,dynCall_ii:Hw,dynCall_viii:Iw,dynCall_v:Jw,dynCall_iiiiiiiii:Kw,dynCall_iiiii:Lw,dynCall_viiii:Mw,dynCall_iii:Nw,dynCall_iiid:Ow,dynCall_iiiiii:Pw}})