>0]=s;a[g+1>>0]=s;a[g>>0]=s;a[g+3>>0]=-1;h=h+1|0;if((h|0)>=(1<
>1]=vu(19778)|0;f=k+54|0;b[v+52>>1]=vu(f+o&65535)|0;b[v+46>>1]=vu((f+o|0)>>>16&65535)|0;b[v+40>>1]=0;b[v+54>>1]=0;b[v+44>>1]=vu(f&65535)|0;b[v+42>>1]=vu(f>>>16&65535)|0;xb(v+50|0,1,2,d|0)|0;xb(v+52|0,1,2,d|0)|0;xb(v+46|0,1,2,d|0)|0;xb(v+40|0,1,2,d|0)|0;xb(v+54|0,1,2,d|0)|0;xb(v+44|0,1,2,d|0)|0;xb(v+42|0,1,2,d|0)|0;c[v+36>>2]=wu(40)|0;c[v+32>>2]=wu(r)|0;c[v+28>>2]=wu(u)|0;b[v+48>>1]=vu(1)|0;b[v+56>>1]=vu(p&65535)|0;c[v+12>>2]=0;c[v+4>>2]=wu(o)|0;c[v+16>>2]=wu(l)|0;c[v+8>>2]=wu(m)|0;o=wu(g)|0;c[v+20>>2]=o;c[v+24>>2]=o;xb(v+36|0,1,4,d|0)|0;xb(v+32|0,1,4,d|0)|0;xb(v+28|0,1,4,d|0)|0;xb(v+48|0,1,2,d|0)|0;xb(v+56|0,1,2,d|0)|0;xb(v+12|0,1,4,d|0)|0;xb(v+4|0,1,4,d|0)|0;xb(v+16|0,1,4,d|0)|0;xb(v+8|0,1,4,d|0)|0;xb(v+20|0,1,4,d|0)|0;xb(v+24|0,1,4,d|0)|0;do if((g|0)>0){f=(h|0)!=0;if((xb(j|0,1,k|0,d|0)|0)==(k|0)){if(!f)break;VFa(j);break}if(f)VFa(j);cu(3832,3720,1)|0;break a}while(0);o=(p|0)==1&(s|0)!=0;if(o?(a[c[s>>2]>>0]|0)==0:0)rq(e,e)|0;oq(e);if((p|0)==24){k=q+(ba(r,-3)|0)|0;f=vp(e)|0;if((u|0)>0){l=0;j=f+((ba(t,u+-1|0)|0)<<2)|0;f=0;while(1){if((r|0)>0){h=0;do{q=j+(h<<2)|0;a[v+62>>0]=a[q>>0]|0;a[v+61>>0]=a[q+1>>0]|0;a[v+60>>0]=a[q+2>>0]|0;q=(xb(v+60|0,1,3,d|0)|0)==3;f=q?f:1;h=h+1|0}while((h|0)!=(r|0))}if((k|0)>=1){h=a[v+60>>0]|0;g=0;do{Fc(h|0,d|0)|0;g=g+1|0}while((g|0)!=(k|0))}l=l+1|0;if((l|0)==(u|0))break;else j=j+(0-t<<2)|0}}else f=0}else{f=vp(e)|0;if((u|0)>0){g=f+((ba(t,u+-1|0)|0)<<2)|0;h=0;f=0;while(1){r=(xb(g|0,1,q|0,d|0)|0)==(q|0);f=r?f:1;h=h+1|0;if((h|0)==(u|0))break;else g=g+(0-(t<<2))|0}}else f=0}oq(e);if(o?(a[c[s>>2]>>0]|0)==0:0)rq(e,e)|0;if(f)cu(19280,3720,1)|0}else cu(28120,3720,1)|0;while(0);i=v;return}function Fl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;do if((e|d|0)>=0){if((a|0)<0)if((d+a|0)<1){d=du(3896,3856,0)|0;break}else{f=d+a|0;a=0}else f=d;if((b|0)<0)if((e+b|0)<1){d=du(3920,3856,0)|0;break}else{e=e+b|0;b=0}d=WFa(1,20)|0;if(!d){d=du(6552,3856,0)|0;break}else{Gl(d,a,b,f,e);c[d+16>>2]=1;break}}else d=du(3872,3856,0)|0;while(0);return d|0}function Gl(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;if(a){if((b|0)!=-1)c[a>>2]=b;if((d|0)!=-1)c[a+4>>2]=d;if((e|0)!=-1)c[a+8>>2]=e;if((f|0)!=-1)c[a+12>>2]=f}else cu(16856,4e3,1)|0;return}function Hl(a){a=a|0;if(!a)a=du(16856,3944,0)|0;else a=Fl(c[a>>2]|0,c[a+4>>2]|0,c[a+8>>2]|0,c[a+12>>2]|0)|0;return a|0}function Il(a){a=a|0;if(!a)a=du(16856,3952,0)|0;else Jl(a,1);return a|0}function Jl(a,b){a=a|0;b=b|0;if(!a)cu(16856,4032,1)|0;else c[a+16>>2]=(c[a+16>>2]|0)+b;return}function Kl(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(a){b=c[a>>2]|0;if(b){Jl(b,-1);if((Ll(b)|0)<1)VFa(b);c[a>>2]=0}}else{a=c[n>>2]|0;c[d>>2]=3968;zb(a|0,13744,d|0)|0}i=d;return}function Ll(a){a=a|0;if(!a)a=cu(16856,4016,-1)|0;else a=c[a+16>>2]|0;return a|0}function Ml(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;if(b)c[b>>2]=0;if(d)c[d>>2]=0;if(e)c[e>>2]=0;if(f)c[f>>2]=0;if(a){if(b)c[b>>2]=c[a>>2];if(d)c[d>>2]=c[a+4>>2];if(e)c[e>>2]=c[a+8>>2];if(f)c[f>>2]=c[a+12>>2]}else cu(16856,3984,1)|0;return}function Nl(a){a=a|0;var b=0;b=(a|0)<1?20:a;a=WFa(1,16)|0;if(a){c[a>>2]=0;c[a+4>>2]=b;c[a+8>>2]=1;b=WFa(b,4)|0;c[a+12>>2]=b;if(!b)a=du(4072,4056,0)|0}else a=du(16768,4056,0)|0;return a|0}function Ol(a){a=a|0;if(!a)a=du(8496,4096,0)|0;else c[a+8>>2]=(c[a+8>>2]|0)+1;return a|0}function Pl(a,b){a=a|0;b=b|0;do if(!a)a=du(8496,4216,0)|0;else{if((b|0)>=0?(c[a>>2]|0)>(b|0):0){a=Il(c[(c[a+12>>2]|0)+(b<<2)>>2]|0)|0;break}a=du(22808,4216,0)|0}while(0);return a|0}function Ql(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;do if(!a)cu(8496,4128,1)|0;else{if(!b){cu(16856,4128,1)|0;break}if(!d)d=b;else if((d|0)==1){b=Hl(b)|0;e=9}else if((d|0)==2){b=Il(b)|0;e=9}else{cu(22752,4128,1)|0;break}if((e|0)==9)if(!b){cu(4144,4128,1)|0;break}else d=b;b=Sl(a)|0;if((b|0)>=(c[a+4>>2]|0))Tl(a);c[(c[a+12>>2]|0)+(b<<2)>>2]=d;c[a>>2]=(c[a>>2]|0)+1}while(0);return}function Rl(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;if(a){e=c[a>>2]|0;if(e){d=(c[e+8>>2]|0)+-1|0;c[e+8>>2]=d;if(!d){b=c[e+12>>2]|0;if((c[e>>2]|0)>0){d=0;do{Kl(b+(d<<2)|0);d=d+1|0;b=c[e+12>>2]|0}while((d|0)<(c[e>>2]|0))}VFa(b);VFa(e)}c[a>>2]=0}}else{a=c[n>>2]|0;c[f>>2]=4112;zb(a|0,13744,f|0)|0}i=f;return}function Sl(a){a=a|0;if(!a)a=cu(8496,4200,0)|0;else a=c[a>>2]|0;return a|0}function Tl(a){a=a|0;if(!a)cu(8496,4160,1)|0;else Ul(a,c[a+4>>2]<<1)|0;return}function Ul(a,b){a=a|0;b=b|0;var d=0;do if(a){d=c[a+4>>2]|0;if((d|0)<(b|0)){d=mu(a+12|0,d<<2,b<<2)|0;c[a+12>>2]=d;if(!d){d=cu(23144,4176,1)|0;break}else{c[a+4>>2]=b;d=0;break}}else d=0}else d=cu(8496,4176,1)|0;while(0);return d|0}function Vl(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;if(d)c[d>>2]=0;if(e)c[e>>2]=0;if(f)c[f>>2]=0;if(g)c[g>>2]=0;do if(!a)cu(8496,4232,1)|0;else{if((b|0)>=0?(c[a>>2]|0)>(b|0):0){a=Pl(a,b)|0;c[h>>2]=a;if(!a){cu(4256,4232,1)|0;break}else{Ml(a,d,e,f,g);Kl(h);break}}cu(22808,4232,1)|0}while(0);i=h;return}function Wl(a,b,d){a=a|0;b=b|0;d=d|0;do if(!a)cu(8496,4272,1)|0;else{if((b|0)>=0?(c[a>>2]|0)>(b|0):0)if(!d){cu(16856,4272,1)|0;break}else{Kl((c[a+12>>2]|0)+(b<<2)|0);c[(c[a+12>>2]|0)+(b<<2)>>2]=d;break}cu(22808,4272,1)|0}while(0);return}function Xl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;do if(!a)a=du(16856,4288,0)|0;else{e=c[a>>2]|0;if((((e|0)<(b|0)?(f=c[a+4>>2]|0,(f|0)<(d|0)):0)?((c[a+8>>2]|0)+e|0)>=1:0)?((c[a+12>>2]|0)+f|0)>=1:0){a=Hl(a)|0;e=c[a>>2]|0;if((e|0)<0){c[a+8>>2]=(c[a+8>>2]|0)+e;c[a>>2]=0;e=0}f=c[a+4>>2]|0;if((f|0)<0){c[a+12>>2]=(c[a+12>>2]|0)+f;c[a+4>>2]=0;f=0}if(((c[a+8>>2]|0)+e|0)>(b|0))c[a+8>>2]=b-e;if(((c[a+12>>2]|0)+f|0)<=(d|0))break;c[a+12>>2]=d-f;break}a=du(4312,4288,0)|0}while(0);return a|0}function Yl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+32|0;do if(!a)f=du(28232,4336,0)|0;else{if(!b){f=du(8496,4336,0)|0;break}if((d|0)<1){f=du(4352,4336,0)|0;break}if(!(Sl(b)|0)){f=c[n>>2]|0;c[g>>2]=4336;zb(f|0,4376,g|0)|0;f=tp(0,a)|0;break}f=Ap(a)|0;if(!f)f=0;else f=(qm(f)|0)<256;if((Dp(a)|0)==1|f)f=qr(a,1)|0;else f=rr(a)|0;if(!f){f=du(25344,4336,0)|0;break}bq(e,g+16|0,g+12|0,g+8|0);if((Dp(f)|0)==8){e=Ap(f)|0;om(e,c[g+16>>2]|0,c[g+12>>2]|0,c[g+8>>2]|0,g+4|0)}On(f,b,d,c[g+16>>2]&255,c[g+12>>2]&255,c[g+8>>2]&255)}while(0);i=g;return f|0}function Zl(a){a=a|0;var b=0,d=0;b=WFa(1,16)|0;do if(b){a=(a|0)==0?201:a+1|0;d=WFa(a,1)|0;c[b+12>>2]=d;if(!d){b=du(4464,4432,0)|0;break}else{c[b>>2]=a;c[b+8>>2]=1;break}}else b=du(4448,4432,0)|0;while(0);return b|0}function _l(a,b){a=a|0;b=b|0;var d=0;do if(a){if(!b){d=du(4512,4488,0)|0;break}d=Zl(b)|0;if(!d){d=du(4448,4488,0)|0;break}else{VGa(c[d+12>>2]|0,a|0,b|0)|0;c[d+4>>2]=b;break}}else d=du(27080,4488,0)|0;while(0);return d|0}function $l(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;if(a){b=c[a>>2]|0;if(b){e=c[b+8>>2]|0;c[b+8>>2]=e+-1;if((e|0)<2){VFa(c[b+12>>2]|0);VFa(b)}c[a>>2]=0}}else{e=c[n>>2]|0;c[d>>2]=4536;zb(e|0,13744,d|0)|0}i=d;return}function am(a){a=a|0;if(!a)a=cu(4568,4552,0)|0;else a=c[a+4>>2]|0;return a|0}function bm(a,b){a=a|0;b=b|0;do if(a)if(!b){a=du(28208,4584,0)|0;break}else{c[b>>2]=c[a+4>>2];a=c[a+12>>2]|0;break}else a=du(4568,4584,0)|0;while(0);return a|0}function cm(a,b){a=a|0;b=b|0;do if(b){c[b>>2]=0;if(!a){a=du(4568,4600,0)|0;break}else{a=bm(a,b)|0;a=uu(a,c[b>>2]|0)|0;break}}else a=du(28208,4600,0)|0;while(0);return a|0}function dm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;do if(!a)cu(4568,4616,1)|0;else{if(!b){cu(4640,4616,1)|0;break}e=am(a)|0;if((c[a>>2]|0)>>>0<(d+1+e|0)>>>0)gm(a,d+1+e<<1);VGa((c[a+12>>2]|0)+e|0,b|0,d|0)|0;c[a+4>>2]=(c[a+4>>2]|0)+d}while(0);return}function em(a,b){a=a|0;b=b|0;var d=0,e=0;do if(!a)cu(4568,4664,1)|0;else{if(!b){cu(22992,4664,1)|0;break}d=am(a)|0;e=SGa(b|0)|0;if((c[a>>2]|0)>>>0<(d+1+e|0)>>>0)gm(a,d+1+e<<1);VGa((c[a+12>>2]|0)+d|0,b|0,e|0)|0;c[a+4>>2]=(c[a+4>>2]|0)+e}while(0);return}function fm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;do if(e){c[e>>2]=0;if(!a){cu(4568,4688,1)|0;break}if(!b){cu(4728,4688,1)|0;break}else{a=bm(a,f)|0;c[e>>2]=ku(a,c[f>>2]|0,b,d)|0;break}}else cu(4712,4688,1)|0;while(0);i=f;return}function gm(a,b){a=a|0;b=b|0;var d=0;do if(a){d=c[a>>2]|0;if(d>>>0>>0){d=mu(a+12|0,d,b)|0;c[a+12>>2]=d;if(!d){cu(4784,4752,1)|0;break}else{c[a>>2]=b;break}}}else cu(4568,4752,1)|0;while(0);return}function hm(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+32|0;a:do if(e){c[e>>2]=0;if(!a){cu(28232,4808,1)|0;break}gp(a,s+20|0,s+24|0,s+28|0);r=c[s+28>>2]|0;if(!((r|0)==2|(r|0)==4|(r|0)==8|(r|0)==32)){cu(4824,4808,1)|0;break}r=(b|0)<1?1:b;p=vp(a)|0;q=bp(a)|0;b=c[s+28>>2]|0;if((b|0)==32){a=WFa(5507,4)|0;b=c[s+24>>2]|0;b:do if((b|0)>0){f=c[s+20>>2]|0;g=b;o=0;b=0;c:while(1){l=ba(o,q)|0;if((f|0)>0){g=0;do{bq(c[p+(g+l<<2)>>2]|0,s+12|0,s+8|0,s+16|0);f=a+(((((c[s+8>>2]|0)*269|0)+((c[s+12>>2]|0)*137|0)+((c[s+16>>2]|0)*353|0)|0)%5507|0)<<2)|0;if(!(c[f>>2]|0)){c[f>>2]=1;if((b|0)>255)break c;else b=b+1|0}g=g+r|0;f=c[s+20>>2]|0}while((g|0)<(f|0));g=c[s+24>>2]|0}o=o+r|0;if((o|0)>=(g|0))break b}VFa(a);break a}else b=0;while(0);c[e>>2]=b;VFa(a);break}m=WFa(256,4)|0;h=c[s+24>>2]|0;if((h|0)>0){g=c[s+20>>2]|0;j=0;do{f=ba(j,q)|0;if((g|0)>0){k=0;do{if((b|0)==4)l=(c[p+((k>>3)+f<<2)>>2]|0)>>>(k<<2&28^28)&15;else if((b|0)==8)l=d[(p+(f<<2)+k^3)>>0]|0;else l=(c[p+((k>>4)+f<<2)>>2]|0)>>>(k<<1&30^30)&3;c[m+(l<<2)>>2]=1;k=k+r|0}while((k|0)<(g|0))}j=j+r|0}while((j|0)<(h|0));b=0;f=0}else{b=0;f=0}do{f=((c[m+(b<<2)>>2]|0)!=0&1)+f|0;b=b+1|0}while((b|0)!=256);c[e>>2]=f;VFa(m);b=Ap(a)|0;if((b|0)!=0&(r|0)==1?(o=qm(b)|0,(f|0)!=(o|0)):0){e=c[n>>2]|0;c[s>>2]=4808;c[s+4>>2]=o;zb(e|0,4848,s|0)|0}}else cu(5752,4808,1)|0;while(0);i=s;return}function im(a){a=a|0;var b=0;do if((a|0)==1|(a|0)==2|(a|0)==4|(a|0)==8){b=WFa(1,16)|0;if(!b){b=du(25792,4912,0)|0;break}c[b+4>>2]=a;c[b+8>>2]=1<>2]=a;c[b+12>>2]=0;break}}else b=du(4928,4912,0)|0;while(0);return b|0}function jm(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;do if(b){g=c[b+12>>2]|0;if((g|0)<(c[b+8>>2]|0)){h=c[b>>2]|0;a[h+(g<<2)+2>>0]=d;a[h+(g<<2)+1>>0]=e;a[h+(g<<2)>>0]=f;a[h+(g<<2)+3>>0]=-1;c[b+12>>2]=g+1;g=0;break}else{g=cu(5088,5048,1)|0;break}}else g=cu(5064,5048,1)|0;while(0);return g|0}function km(){var a=0,b=0;a=im(8)|0;b=0;do{jm(a,b,b,b)|0;b=b+1|0}while((b|0)!=256);return a|0}function lm(a){a=a|0;var b=0,d=0,e=0;do if(a){b=WFa(1,16)|0;if(!b){b=du(13864,4968,0)|0;break}d=c[a+8>>2]|0;e=WFa(1,d<<2)|0;c[b>>2]=e;if(!e){b=du(5008,4968,0)|0;break}else{VGa(e|0,c[a>>2]|0,d<<2|0)|0;c[b+12>>2]=c[a+12>>2];c[b+8>>2]=d;c[b+4>>2]=c[a+4>>2];break}}else b=du(4984,4968,0)|0;while(0);return b|0}function mm(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(a){b=c[a>>2]|0;if(b){VFa(c[b>>2]|0);VFa(b);c[a>>2]=0}}else{a=c[n>>2]|0;c[d>>2]=5032;zb(a|0,13744,d|0)|0}i=d;return}function nm(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;do if(b){h=c[b+12>>2]|0;if((h|0)<(c[b+8>>2]|0)){i=c[b>>2]|0;a[i+(h<<2)+2>>0]=d;a[i+(h<<2)+1>>0]=e;a[i+(h<<2)>>0]=f;a[i+(h<<2)+3>>0]=g;c[b+12>>2]=h+1;break}else{cu(5088,5112,1)|0;break}}else cu(5064,5112,1)|0;while(0);return}function om(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+16|0;do if(f){c[f>>2]=0;if(!a){cu(5064,5128,1)|0;break}if(pm(a,b,d,e,f)|0)if((c[a+12>>2]|0)<(c[a+8>>2]|0)){jm(a,b,d,e)|0;c[f>>2]=(qm(a)|0)+-1;break}else{b=c[n>>2]|0;c[g>>2]=5128;zb(b|0,5176,g|0)|0;break}}else cu(5152,5128,1)|0;while(0);i=g;return}function pm(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;a:do if(g){c[g>>2]=0;if(!a){a=cu(5064,5448,1)|0;break}i=qm(a)|0;h=c[a>>2]|0;if((i|0)>0){a=0;while(1){if(((d[h+(a<<2)+2>>0]|0|0)==(b|0)?(d[h+(a<<2)+1>>0]|0|0)==(e|0):0)?(d[h+(a<<2)>>0]|0|0)==(f|0):0)break;a=a+1|0;if((a|0)>=(i|0)){a=1;break a}}c[g>>2]=a;a=0}else a=1}else a=cu(5152,5448,1)|0;while(0);return a|0}function qm(a){a=a|0;if(!a)a=cu(5064,5264,0)|0;else a=c[a+12>>2]|0;return a|0}function rm(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;do if(f){c[f>>2]=0;if(!a){cu(5064,5216,1)|0;break}if(pm(a,b,d,e,f)|0)if((c[a+12>>2]|0)<(c[a+8>>2]|0)){jm(a,b,d,e)|0;c[f>>2]=(qm(a)|0)+-1;break}else{sm(a,b,d,e,f);break}}else cu(5152,5216,1)|0;while(0);return}function sm(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;a:do if(g){c[g>>2]=-1;if(!a){cu(5064,5592,1)|0;break}k=c[a>>2]|0;if(!k){cu(5616,5592,1)|0;break}i=qm(a)|0;if((i|0)>0){j=0;h=195076;while(1){l=(d[k+(j<<2)+2>>0]|0)-b|0;l=ba(l,l)|0;a=(d[k+(j<<2)+1>>0]|0)-e|0;l=(ba(a,a)|0)+l|0;a=(d[k+(j<<2)>>0]|0)-f|0;a=l+(ba(a,a)|0)|0;if((a|0)<(h|0)){c[g>>2]=j;if(!a)break a}else a=h;j=j+1|0;if((j|0)>=(i|0))break;else h=a}}}else cu(5152,5592,1)|0;while(0);return}function tm(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if(b)c[b>>2]=0;if(a){if((um(a)|0)>0)om(a,255,255,255,d);else vm(a,d);if(b)c[b>>2]=c[d>>2]}else cu(5064,5240,1)|0;i=d;return}function um(a){a=a|0;if(!a)a=cu(5064,5280,0)|0;else a=(c[a+8>>2]|0)-(c[a+12>>2]|0)|0;return a|0}function vm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+32|0;do if(!b)cu(5152,5568,1)|0;else{c[b>>2]=0;if(!a){cu(5064,5568,1)|0;break}e=qm(a)|0;d=jo(e)|0;c[f+4>>2]=d;if((e|0)>0){d=0;do{wm(a,d,f+16|0,f+12|0,f+8|0);ko(c[f+4>>2]|0,+((c[f+12>>2]|0)+(c[f+16>>2]|0)+(c[f+8>>2]|0)|0));d=d+1|0}while((d|0)!=(e|0));d=c[f+4>>2]|0}a=Fo(d)|0;c[f>>2]=a;so(a,~~(+(e+-1|0)+.5),b);lo(f+4|0);lo(f)}while(0);i=f;return}function wm(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;do if((e|0)!=0&(f|0)!=0&(g|0)!=0){c[g>>2]=0;c[f>>2]=0;c[e>>2]=0;if(!a){cu(5064,5304,1)|0;break}if((b|0)>=0?(c[a+12>>2]|0)>(b|0):0){a=c[a>>2]|0;c[e>>2]=d[a+(b<<2)+2>>0];c[f>>2]=d[a+(b<<2)+1>>0];c[g>>2]=d[a+(b<<2)>>0];break}cu(5360,5304,1)|0}else cu(5320,5304,1)|0;while(0);return}function xm(a,b,e,f,g,h){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;do if((e|0)!=0&(f|0)!=0&(g|0)!=0&(h|0)!=0){c[h>>2]=0;c[g>>2]=0;c[f>>2]=0;c[e>>2]=0;if(!a){cu(5064,5384,1)|0;break}if((b|0)>=0?(c[a+12>>2]|0)>(b|0):0){a=c[a>>2]|0;c[e>>2]=d[a+(b<<2)+2>>0];c[f>>2]=d[a+(b<<2)+1>>0];c[g>>2]=d[a+(b<<2)>>0];c[h>>2]=d[a+(b<<2)+3>>0];break}cu(5360,5384,1)|0}else cu(5400,5384,1)|0;while(0);return}function ym(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;do if(!b)cu(6400,5464,1)|0;else{c[b>>2]=0;if(!a){cu(5064,5464,1)|0;break}if(zm(a,j+8|0,j+4|0,j,0)|0){cu(17664,5464,1)|0;break}d=qm(a)|0;e=c[j+8>>2]|0;a:do if((d|0)>0){f=c[j+4>>2]|0;g=c[j>>2]|0;h=0;while(1){a=c[e+(h<<2)>>2]|0;if((a|0)!=(c[f+(h<<2)>>2]|0))break;if((a|0)!=(c[g+(h<<2)>>2]|0))break;h=h+1|0;if((h|0)>=(d|0))break a}c[b>>2]=1}while(0);VFa(e);VFa(c[j+4>>2]|0);VFa(c[j>>2]|0)}while(0);i=j;return}function zm(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;a:do if((b|0)!=0&(e|0)!=0&(f|0)!=0){c[f>>2]=0;c[e>>2]=0;c[b>>2]=0;if(g)c[g>>2]=0;if(!a){b=cu(5064,5640,1)|0;break}j=qm(a)|0;k=WFa(j,4)|0;if(((k|0)!=0?(h=WFa(j,4)|0,(h|0)!=0):0)?(i=WFa(j,4)|0,(i|0)!=0):0){c[b>>2]=k;c[e>>2]=h;c[f>>2]=i;if(g){f=WFa(j,4)|0;c[g>>2]=f}else f=0;b=c[a>>2]|0;if((j|0)>0)e=0;else{b=0;break}while(1){c[k+(e<<2)>>2]=d[b+(e<<2)+2>>0];c[h+(e<<2)>>2]=d[b+(e<<2)+1>>0];c[i+(e<<2)>>2]=d[b+(e<<2)>>0];if(g)c[f+(e<<2)>>2]=d[b+(e<<2)+3>>0];e=e+1|0;if((e|0)==(j|0)){b=0;break a}}}b=cu(5696,5640,1)|0}else b=cu(5656,5640,1)|0;while(0);return b|0}function Am(b,d){b=b|0;d=d|0;var e=0,f=0;a:do if(d){c[d>>2]=1;if(!b){cu(5064,5480,1)|0;break}f=qm(b)|0;b=c[b>>2]|0;if((f|0)>0){e=0;while(1){if((a[b+(e<<2)+3>>0]|0)!=-1)break;e=e+1|0;if((e|0)>=(f|0))break a}c[d>>2]=0}}else cu(5496,5480,1)|0;while(0);return}function Bm(b,d){b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;do if(d){c[d>>2]=0;if(!b){cu(5064,5520,1)|0;break}if((qm(b)|0)==2?(ym(b,e),(c[e>>2]|0)==0):0){b=c[b>>2]|0;f=a[b+2>>0]|0;b=a[b+6>>0]|0;if(!(f<<24>>24==0&b<<24>>24==-1)?!(f<<24>>24==-1&b<<24>>24==0):0)break;c[d>>2]=1}}else cu(5544,5520,1)|0;while(0);i=e;return}function Cm(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=i;i=i+16|0;do if(f){c[f>>2]=0;if(!e){cu(5752,5720,1)|0;break}c[e>>2]=0;if(!b){cu(5064,5720,1)|0;break}if((d+-3|0)>>>0>1){cu(5776,5720,1)|0;break}h=qm(b)|0;c[e>>2]=h;g=WFa(ba(h,d)|0,1)|0;if(!g){cu(25704,5720,1)|0;break}c[f>>2]=g;if((h|0)>0){f=0;do{xm(b,f,j+12|0,j+8|0,j+4|0,j);e=ba(f,d)|0;a[g+e>>0]=c[j+12>>2];a[g+(e+1)>>0]=c[j+8>>2];a[g+(e+2)>>0]=c[j+4>>2];if((d|0)==4)a[g+(e+3)>>0]=c[j>>2];f=f+1|0}while((f|0)!=(h|0))}}else cu(28184,5720,1)|0;while(0);i=j;return}function Dm(a,b){a=a|0;b=b|0;var c=0,e=0,f=0;do if(!a)c=du(27080,5792,0)|0;else{if(!b){c=du(5824,5792,0)|0;break}if((b|0)>256){c=du(5840,5792,0)|0;break}if((b|0)<=16)if((b|0)<=4){c=im((b|0)>2?2:1)|0;if((b|0)<=0)break}else{c=4;e=9}else{c=8;e=9}if((e|0)==9)c=im(c)|0;e=0;do{f=e<<2;nm(c,d[a+f>>0]|0,d[a+(f|1)>>0]|0,d[a+(f|2)>>0]|0,d[a+(f|3)>>0]|0);e=e+1|0}while((e|0)!=(b|0))}while(0);return c|0}function Em(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;h=i;i=i+16|0;do if(!b)f=du(27080,5856,0)|0;else{if((e|0)<1){f=du(5880,5856,0)|0;break}f=WFa((e*7|0)+4|0,1)|0;a[f>>0]=60;a[f+1>>0]=32;g=0;do{j=g*7|0;k=g*3|0;c[h>>2]=d[b+k>>0];wGa(h+4|0,4,5896,h)|0;a[f+(j+2)>>0]=a[h+4>>0]|0;a[f+(j+3)>>0]=a[h+5>>0]|0;c[h>>2]=d[b+(k+1)>>0];wGa(h+4|0,4,5896,h)|0;a[f+(j+4)>>0]=a[h+4>>0]|0;a[f+(j+5)>>0]=a[h+5>>0]|0;c[h>>2]=d[b+(k+2)>>0];wGa(h+4|0,4,5896,h)|0;a[f+(j+6)>>0]=a[h+4>>0]|0;a[f+(j+7)>>0]=a[h+5>>0]|0;a[f+(j+8)>>0]=32;g=g+1|0}while((g|0)!=(e|0));a[f+((e*7|0)+2)>>0]=62;a[f+((e*7|0)+3)>>0]=0}while(0);i=h;return f|0}function Fm(a,b,c){a=a|0;b=b|0;c=c|0;Gm(a,b,c);return}function Gm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,o=0,p=0;p=i;i=i+48|0;a:do if(!d)cu(5928,5904,1)|0;else{c[d>>2]=0;if(!a){cu(5952,5904,1)|0;break}if(!b){cu(5976,5904,1)|0;break}gp(a,p+24|0,p+16|0,p+12|0);gp(b,p+20|0,p+8|0,p+4|0);if((c[p+24>>2]|0)==(c[p+20>>2]|0)?(c[p+16>>2]|0)==(c[p+8>>2]|0):0){Hp(a)|0;Hp(b)|0;g=Ap(a)|0;f=(Ap(b)|0)!=0;if((!((g|0)!=0|f)?(e=c[p+12>>2]|0,h=c[p+4>>2]|0,(e|0)!=(h|0)):0)?(e|0)==32|(h|0)==32:0){d=c[n>>2]|0;c[p>>2]=5904;zb(d|0,6032,p|0)|0;break}if((g|0)!=0&f?(c[p+12>>2]|0)==(c[p+4>>2]|0):0){Hm(a,b,d)|0;break}do if((g|0)==0|f){if(!((g|0)==0&f))if((g|0)!=0&f){c[p+32>>2]=dr(a,2)|0;c[p+36>>2]=dr(b,2)|0;break}else{c[p+32>>2]=rp(a)|0;c[p+36>>2]=rp(b)|0;break}Im(b,p+28|0);e=c[p+12>>2]|0;if((c[p+28>>2]|0)!=0&(e|0)<9)break a;if((e|0)<8)e=qr(a,0)|0;else e=rp(a)|0;c[p+32>>2]=e;if((c[p+12>>2]|0)<9){c[p+36>>2]=dr(b,1)|0;break}else{c[p+36>>2]=dr(b,2)|0;break}}else{Im(a,p+28|0);e=c[p+4>>2]|0;if((c[p+28>>2]|0)!=0&(e|0)<9)break a;if((e|0)<8)e=qr(b,0)|0;else e=rp(b)|0;c[p+36>>2]=e;if((c[p+4>>2]|0)<9){c[p+32>>2]=dr(a,1)|0;break}else{c[p+32>>2]=dr(a,2)|0;break}}while(0);e=c[p+32>>2]|0;c[p+12>>2]=Dp(e)|0;f=Dp(c[p+36>>2]|0)|0;c[p+4>>2]=f;g=c[p+12>>2]|0;if((g|0)!=(f|0)){if((g|0)==16|(f|0)==16){d=c[n>>2]|0;c[p>>2]=5904;zb(d|0,6104,p|0)|0;cp(p+32|0);cp(p+36|0);break}c[p+40>>2]=vr(e)|0;o=vr(c[p+36>>2]|0)|0;c[p+44>>2]=o;if(!((c[p+40>>2]|0)!=0&(o|0)!=0)){d=c[n>>2]|0;c[p>>2]=5904;zb(d|0,6136,p|0)|0;cp(p+32|0);cp(p+36|0);cp(p+40|0);cp(p+44|0);break}}else{c[p+40>>2]=rp(e)|0;c[p+44>>2]=rp(c[p+36>>2]|0)|0}cp(p+32|0);cp(p+36|0);c[p+12>>2]=Dp(c[p+40>>2]|0)|0;c[p+4>>2]=Dp(c[p+44>>2]|0)|0;k=bp(c[p+40>>2]|0)|0;l=bp(c[p+44>>2]|0)|0;m=vp(c[p+40>>2]|0)|0;o=vp(c[p+44>>2]|0)|0;g=c[p+12>>2]|0;b:do if((g|0)==32){h=c[p+16>>2]|0;if((h|0)>0){g=0;c:while(1){if((k|0)>0){f=0;e=m+((ba(g,k)|0)<<2)|0;a=o+((ba(g,l)|0)<<2)|0;while(1){if((c[a>>2]^c[e>>2])>>>0>=256)break c;f=f+1|0;if((f|0)>=(k|0))break;else{e=e+4|0;a=a+4|0}}}g=g+1|0;if((g|0)>=(h|0))break b}cp(p+40|0);cp(p+44|0);break a}}else{g=ba(c[p+24>>2]|0,g)|0;if(!(g&31))e=0;else e=-1<<32-(g&31);f=c[p+16>>2]|0;if((f|0)>0){j=0;d:while(1){a=m+((ba(j,k)|0)<<2)|0;b=o+((ba(j,l)|0)<<2)|0;if((g|0)>31){h=0;do{if((c[a>>2]|0)!=(c[b>>2]|0)){e=57;break d}a=a+4|0;b=b+4|0;h=h+1|0}while((h|0)<((g|0)/32|0|0))}if((g&31|0)!=0?((c[b>>2]^c[a>>2])&e|0)!=0:0){e=61;break}j=j+1|0;if((j|0)>=(f|0))break b}if((e|0)==57){cp(p+40|0);cp(p+44|0);break a}else if((e|0)==61){cp(p+40|0);cp(p+44|0);break a}}}while(0);cp(p+40|0);cp(p+44|0);c[d>>2]=1;break}d=c[n>>2]|0;c[p>>2]=5904;zb(d|0,6e3,p|0)|0}while(0);i=p;return}function Hm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,o=0,p=0;p=i;i=i+48|0;a:do if(d){c[d>>2]=0;if(!a){e=cu(5952,6184,1)|0;break}if(!b){e=cu(5976,6184,1)|0;break}if(xp(a,b)|0){j=Ap(a)|0;k=Ap(b)|0;if(!((j|0)!=0&(k|0)!=0)){e=c[n>>2]|0;c[p>>2]=6184;zb(e|0,6232,p|0)|0;e=0;break}g=Dp(a)|0;if(!((g|0)==1|(g|0)==2|(g|0)==4|(g|0)==8)){e=c[n>>2]|0;c[p>>2]=6184;zb(e|0,6280,p|0)|0;e=0;break}e=qm(j)|0;b:do if((e|0)==(qm(k)|0))if((e|0)>0){f=0;while(1){wm(j,f,p+24|0,p+8|0,p+4|0);wm(k,f,p+20|0,p+16|0,p+12|0);if((c[p+24>>2]|0)!=(c[p+20>>2]|0)){f=0;break b}if((c[p+8>>2]|0)!=(c[p+16>>2]|0)){f=0;break b}f=f+1|0;if((c[p+4>>2]|0)!=(c[p+12>>2]|0)){f=0;break b}if((f|0)>=(e|0)){f=1;break}}}else f=1;else{f=c[n>>2]|0;c[p>>2]=6184;zb(f|0,6328,p|0)|0;f=0}while(0);o=up(a)|0;h=Cp(a)|0;if(f){e=ba(h,g)|0;l=bp(a)|0;m=bp(b)|0;g=vp(a)|0;a=vp(b)|0;if((o|0)>0){j=0;do{h=g+((ba(j,l)|0)<<2)|0;f=a+((ba(j,m)|0)<<2)|0;if((e|0)>31){k=0;do{if((c[h>>2]|0)!=(c[f>>2]|0)){e=0;break a}h=h+4|0;f=f+4|0;k=k+1|0}while((k|0)<((e|0)/32|0|0))}if((e&31|0)!=0?((c[f>>2]^c[h>>2])&-1<<32-(e&31)|0)!=0:0){e=0;break a}j=j+1|0}while((j|0)<(o|0))}c[d>>2]=1;e=0;break}else{if((o|0)>0){f=0;do{if((h|0)>0){e=0;do{Qp(a,e,f,p+28|0);Qp(b,e,f,p+32|0);wm(j,c[p+28>>2]|0,p+24|0,p+8|0,p+4|0);wm(k,c[p+32>>2]|0,p+20|0,p+16|0,p+12|0);if((c[p+24>>2]|0)!=(c[p+20>>2]|0)){e=0;break a}if((c[p+8>>2]|0)!=(c[p+16>>2]|0)){e=0;break a}e=e+1|0;if((c[p+4>>2]|0)!=(c[p+12>>2]|0)){e=0;break a}}while((e|0)<(h|0))}f=f+1|0}while((f|0)<(o|0))}c[d>>2]=1;e=0;break}}else e=0}else e=cu(6208,6184,1)|0;while(0);i=p;return e|0}function Im(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+32|0;do if(b){c[b>>2]=0;if(!a){cu(28232,6376,1)|0;break}f=Ap(a)|0;if((f|0)!=0?(ym(f,b),(c[b>>2]|0)!=0):0){c[g>>2]=Cq(a)|0;d=qm(f)|0;a:do if((d|0)>0){e=0;while(1){wm(f,e,g+16|0,g+12|0,g+8|0);so(c[g>>2]|0,e,g+4|0);a=c[g+16>>2]|0;if((a|0)==(c[g+12>>2]|0)){if((c[g+4>>2]|0)!=0?(a|0)!=(c[g+8>>2]|0):0)break}else if(c[g+4>>2]|0)break;e=e+1|0;if((e|0)>=(d|0))break a}c[b>>2]=1}while(0);lo(g)}}else cu(6400,6376,1)|0;while(0);i=g;return}function Jm(a,b){a=a|0;b=b|0;if(b)c[b>>2]=0;do if(a){if((Dp(a)|0)!=1){a=du(23944,6424,0)|0;break}if(b){a=Lm(a,b)|0;break}else{a=Km(a)|0;break}}else a=du(28232,6424,0)|0;while(0);return a|0}function Km(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+32|0;a:do if((a|0)!=0?(Dp(a)|0)==1:0){uq(a,g+16|0);if(c[g+16>>2]|0){a=Nl(1)|0;break}e=tp(0,a)|0;c[g+4>>2]=e;if(!e){a=du(24840,6568,0)|0;break}a=Ut(up(a)|0)|0;c[g>>2]=a;if(!a){a=du(6512,6568,0)|0;break}b=Ut(0)|0;if(!b){a=du(6528,6568,0)|0;break}c[a+12>>2]=b;a=Nl(0)|0;if(!a){a=du(16768,6568,0)|0;break}b=c[g+4>>2]|0;b:do if(Mm(b,0,0,g+12|0,g+8|0)|0){while(1){d=c[g+12>>2]|0;e=c[g+8>>2]|0;b=Nm(b,c[g>>2]|0,d,e)|0;if(!b)break;Ql(a,b,0);if(!(Mm(c[g+4>>2]|0,d,e,g+12|0,g+8|0)|0))break b;b=c[g+4>>2]|0}a=du(6552,6568,0)|0;break a}while(0);Vt(g);cp(g+4|0)}else f=3;while(0);if((f|0)==3)a=du(24744,6568,0)|0;i=g;return a|0}function Lm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;g=i;i=i+32|0;a:do if(!b)b=du(6456,6440,0)|0;else{c[b>>2]=0;if((a|0)!=0?(Dp(a)|0)==1:0){f=Hq(0)|0;c[b>>2]=f;uq(a,g+8|0);if(c[g+8>>2]|0){b=Nl(1)|0;break}e=tp(0,a)|0;c[g+24>>2]=e;if(!e){b=du(6480,6440,0)|0;break}e=tp(0,a)|0;c[g+4>>2]=e;if(!e){b=du(6496,6440,0)|0;break}b=Ut(up(a)|0)|0;c[g+12>>2]=b;if(!b){b=du(6512,6440,0)|0;break}a=Ut(0)|0;if(!a){b=du(6528,6440,0)|0;break}c[b+12>>2]=a;b=Nl(0)|0;if(!b){b=du(16768,6440,0)|0;break}a=c[g+24>>2]|0;b:do if(Mm(a,0,0,g+16|0,g+20|0)|0){while(1){d=c[g+16>>2]|0;e=c[g+20>>2]|0;a=Nm(a,c[g+12>>2]|0,d,e)|0;if(!a)break;Ql(b,a,0);h=Dq(c[g+24>>2]|0,a)|0;j=Dq(c[g+4>>2]|0,a)|0;c[g>>2]=j;tq(h,h,j);fs(c[g+4>>2]|0,c[a>>2]|0,c[a+4>>2]|0,c[a+8>>2]|0,c[a+12>>2]|0,12,h,0,0);Iq(f,h,0);cp(g);if(!(Mm(c[g+24>>2]|0,d,e,g+16|0,g+20|0)|0))break b;a=c[g+24>>2]|0}b=du(6552,6440,0)|0;break a}while(0);Rl(f+16|0);c[f+16>>2]=Ol(b)|0;Vt(g+12|0);cp(g+24|0);cp(g+4|0);break}b=du(24744,6440,0)|0}while(0);i=g;return b|0}function Mm(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=i;i=i+16|0;do if(a){gp(a,g+8|0,g+4|0,g);if((c[g>>2]|0)==1){h=bp(a)|0;a=vp(a)|0;a=Qm(a,c[g+8>>2]|0,c[g+4>>2]|0,h,b,d,e,f)|0;break}else{a=cu(23944,6608,0)|0;break}}else a=cu(28232,6608,0)|0;while(0);i=g;return a|0}function Nm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;do if((a|0)!=0?(Dp(a)|0)==1:0){if(!b){a=du(6648,6632,0)|0;break}a=Rm(a,b,c,d)|0;if(!a)a=du(6552,6632,0)|0}else e=3;while(0);if((e|0)==3)a=du(24744,6632,0)|0;return a|0}function Om(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=i;i=i+32|0;do if(!b)cu(20992,6584,1)|0;else{c[b>>2]=0;if((a|0)!=0?(Dp(a)|0)==1:0){uq(a,e+16|0);if(c[e+16>>2]|0)break;d=tp(0,a)|0;c[e+4>>2]=d;if(!d){cu(24840,6584,1)|0;break}d=Ut(Dp(a)|0)|0;c[e>>2]=d;if(!d){cu(6512,6584,1)|0;break}a=Ut(0)|0;if(!a){cu(6528,6584,1)|0;break}c[d+12>>2]=a;a=c[e+4>>2]|0;a:do if(Mm(a,0,0,e+12|0,e+8|0)|0)while(1){f=c[e+12>>2]|0;d=c[e+8>>2]|0;Pm(a,c[e>>2]|0,f,d);c[b>>2]=(c[b>>2]|0)+1;if(!(Mm(c[e+4>>2]|0,f,d,e+12|0,e+8|0)|0))break a;a=c[e+4>>2]|0}while(0);Vt(e);cp(e+4|0);break}cu(16456,6584,1)|0}while(0);i=e;return}function Pm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;do if((a|0)!=0?(Dp(a)|0)==1:0)if(!b){cu(6648,6688,1)|0;break}else{Sm(a,b,c,d)|0;break}else e=3;while(0);if((e|0)==3)cu(16456,6688,1)|0;return}function Qm(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0;n=ba(g,e)|0;a:do if((c[a+(((f|0)/32|0)+n<<2)>>2]|0)!=0?((f|0)<(b|0)?(f+31-((f|0)%32|0)|0)>=(f|0):0):0){j=f;while(1){k=j+1|0;if(c[a+((j>>5)+n<<2)>>2]&1<<(j&31^31))break;if((k|0)<(b|0)?(j|0)<(f+31-((f|0)%32|0)|0):0)j=k;else{l=6;break a}}c[h>>2]=j;c[i>>2]=g;j=1}else l=6;while(0);b:do if((l|0)==6){c:do if((((f|0)/32|0)+1<<5|0)<(b|0)){m=a+(((f|0)/32|0)+1+n<<2)|0;j=((f|0)/32|0)+1<<5;d:while(1){if((c[m>>2]|0)!=0&(j|0)<(b|0)){k=0;do{if(c[a+((j>>5)+n<<2)>>2]&1<<(j&31^31))break d;k=k+1|0;j=j+1|0}while((k|0)<32&(j|0)<(b|0))}j=j+32|0;if((j|0)>=(b|0))break c;else m=m+4|0}c[h>>2]=j;c[i>>2]=g;j=1;break b}while(0);if((g+1|0)<(d|0)){j=g+1|0;e:while(1){l=ba(j,e)|0;if((b|0)>0){m=a+(l<<2)|0;k=0;while(1){if((c[m>>2]|0)!=0&(k|0)<(b|0)){f=0;do{if(c[a+((k>>5)+l<<2)>>2]&1<<(k&31^31))break e;f=f+1|0;k=k+1|0}while((f|0)<32&(k|0)<(b|0))}k=k+32|0;if((k|0)>=(b|0))break;else m=m+4|0}}j=j+1|0;if((j|0)>=(d|0)){j=0;break b}}c[h>>2]=k;c[i>>2]=j;j=1}else j=0}while(0);return j|0}function Rm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+48|0;c[q>>2]=e;do if((a|0)!=0?(Dp(a)|0)==1:0){if(!b){e=du(6648,6672,0)|0;break}if(!(c[b+12>>2]|0))c[b+12>>2]=Ut(0)|0;gp(a,q+16|0,q+28|0,0);n=c[q+16>>2]|0;o=c[q+28>>2]|0;p=vp(a)|0;m=bp(a)|0;k=ba(m,e)|0;if(((d|0)>=0?!((n|0)<=(d|0)|(e|0)<0|(o|0)<=(e|0)):0)?(c[p+(k+(d>>5)<<2)>>2]&1<<(d&31^31)|0)!=0:0){c[q+20>>2]=1e5;c[q+12>>2]=1e5;c[q+8>>2]=0;c[q+24>>2]=0;Tm(b,d,d,e,1,o+-1|0,q+12|0,q+24|0,q+20|0,q+8|0);Tm(b,d,d,e+1|0,-1,o+-1|0,q+12|0,q+24|0,q+20|0,q+8|0);c[q+24>>2]=d;c[q+12>>2]=d;c[q+8>>2]=e;c[q+20>>2]=e;if((Yt(b)|0)>0){do{Um(b,q+4|0,q+32|0,q,q+36|0);j=c[q>>2]|0;k=ba(j,m)|0;d=c[q+4>>2]|0;if((d|0)>0){f=d;h=d+-1|0;while(1){a=p+((h>>5)+k<<2)|0;e=c[a>>2]|0;g=h&31;if(!(e&1<<(g^31))){a=h;break}c[a>>2]=e&~(-2147483648>>>g);a=h+-1|0;if((h|0)>0){f=h;h=a}else{f=h;break}}if((f|0)<=(d+-1|0))if((f|0)<(d|0)){Tm(b,f,d+-1|0,j,0-(c[q+36>>2]|0)|0,o+-1|0,q+12|0,q+24|0,q+20|0,q+8|0);h=f}else h=f;else l=17}else{a=d+-1|0;l=17}if((l|0)==17){d=c[q+32>>2]|0;l=25}while(1){if((l|0)==25){l=0;e=d+1|0;while(1){d=a;a=a+1|0;if(!((d|0)<(e|0)&(d|0)<(n+-1|0))){f=(d|0)<(n+-1|0);d=(d|0)<(e|0);break}if(c[p+((a>>5)+k<<2)>>2]&1<<(a&31^31)){f=1;d=1;break}}if(d&f){d=a;h=a}else break}a:do if((d|0)>(n+-1|0))a=d;else while(1){a=p+((d>>5)+k<<2)|0;f=c[a>>2]|0;e=d&31;if(!(f&1<<(e^31))){a=d;break a}c[a>>2]=f&~(-2147483648>>>e);a=d+1|0;if((d|0)<(n+-1|0))d=a;else break}while(0);f=a+-1|0;e=c[q+36>>2]|0;Tm(b,h,f,j,e,o+-1|0,q+12|0,q+24|0,q+20|0,q+8|0);d=c[q+32>>2]|0;if((a|0)<=(d|0)){l=25;continue}Tm(b,d+1|0,f,j,0-e|0,o+-1|0,q+12|0,q+24|0,q+20|0,q+8|0);l=25}}while((Yt(b)|0)>0);a=c[q+12>>2]|0;f=c[q+24>>2]|0;d=c[q+20>>2]|0;e=c[q+8>>2]|0}else{a=d;f=d;d=e}e=Fl(a,d,1-a+f|0,1-d+e|0)|0;if(!e)e=du(6552,6672,0)|0}else e=0}else l=3;while(0);if((l|0)==3)e=du(24744,6672,0)|0;i=q;return e|0}function Sm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+32|0;c[q+20>>2]=e;do if((a|0)!=0?(Dp(a)|0)==1:0){if(!b){a=cu(6648,6704,1)|0;break}if(!(c[b+12>>2]|0))c[b+12>>2]=Ut(0)|0;gp(a,q+16|0,q+12|0,0);n=c[q+16>>2]|0;o=c[q+12>>2]|0;p=vp(a)|0;m=bp(a)|0;l=ba(m,e)|0;if((((d|0)>=0?!((n|0)<=(d|0)|(e|0)<0|(o|0)<=(e|0)):0)?(c[p+(l+(d>>5)<<2)>>2]&1<<(d&31^31)|0)!=0:0)?(Vm(b,d,d,e,1,o+-1|0),Vm(b,d,d,e+1|0,-1,o+-1|0),(Yt(b)|0)>0):0)while(1){Um(b,q+8|0,q+4|0,q+20|0,q);k=c[q+20>>2]|0;l=ba(k,m)|0;e=c[q+8>>2]|0;if((e|0)>0){f=e;h=e+-1|0;while(1){d=p+((h>>5)+l<<2)|0;a=c[d>>2]|0;g=h&31;if(!(a&1<<(g^31))){a=h;break}c[d>>2]=a&~(-2147483648>>>g);a=h+-1|0;if((h|0)>0){f=h;h=a}else{f=h;break}}if((f|0)<=(e+-1|0))if((f|0)<(e|0)){Vm(b,f,e+-1|0,k,0-(c[q>>2]|0)|0,o+-1|0);h=f}else h=f;else j=17}else{a=e+-1|0;j=17}if((j|0)==17){e=c[q+4>>2]|0;j=25}while(1){if((j|0)==25){j=0;d=e+1|0;while(1){e=a;a=a+1|0;if(!((e|0)<(d|0)&(e|0)<(n+-1|0))){f=(e|0)<(n+-1|0);e=(e|0)<(d|0);break}if(c[p+((a>>5)+l<<2)>>2]&1<<(a&31^31)){f=1;e=1;break}}if(e&f){e=a;h=a}else break}a:do if((e|0)>(n+-1|0))a=e;else while(1){d=p+((e>>5)+l<<2)|0;a=c[d>>2]|0;f=e&31;if(!(a&1<<(f^31))){a=e;break a}c[d>>2]=a&~(-2147483648>>>f);a=e+1|0;if((e|0)<(n+-1|0))e=a;else break}while(0);f=a+-1|0;d=c[q>>2]|0;Vm(b,h,f,k,d,o+-1|0);e=c[q+4>>2]|0;if((a|0)<=(e|0)){j=25;continue}Vm(b,e+1|0,f,k,0-d|0,o+-1|0);j=25}if((Yt(b)|0)<=0){a=0;break}}else a=0}else j=3;while(0);if((j|0)==3)a=cu(16456,6704,1)|0;i=q;return a|0}function Tm(a,b,d,e,f,g,h,j,k,l){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,o=0;m=i;i=i+16|0;do if(a){o=c[h>>2]|0;c[h>>2]=(o|0)<(b|0)?o:b;h=c[j>>2]|0;c[j>>2]=(h|0)>(d|0)?h:d;h=c[k>>2]|0;c[k>>2]=(h|0)<(e|0)?h:e;k=c[l>>2]|0;c[l>>2]=(k|0)>(e|0)?k:e;if(!((f+e|0)<0|(f+e|0)>(g|0))){j=c[a+12>>2]|0;if(!j){o=c[n>>2]|0;c[m>>2]=6856;zb(o|0,6768,m|0)|0;break}if((Yt(j)|0)<=0){j=WFa(1,16)|0;if(!j){o=c[n>>2]|0;c[m>>2]=6856;zb(o|0,6824,m|0)|0;break}}else j=Wt(j)|0;c[j>>2]=b;c[j+4>>2]=d;c[j+8>>2]=e;c[j+12>>2]=f;Xt(a,j)}}else{o=c[n>>2]|0;c[m>>2]=6856;zb(o|0,6736,m|0)|0}while(0);i=m;return}function Um(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;do if(a){g=c[a+12>>2]|0;if(!g){e=c[n>>2]|0;c[h>>2]=6720;zb(e|0,6768,h|0)|0;break}a=Wt(a)|0;if(a){c[b>>2]=c[a>>2];c[d>>2]=c[a+4>>2];c[e>>2]=(c[a+12>>2]|0)+(c[a+8>>2]|0);c[f>>2]=c[a+12>>2];Xt(g,a)}}else{e=c[n>>2]|0;c[h>>2]=6720;zb(e|0,6736,h|0)|0}while(0);i=h;return}function Vm(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;do if(a){if(!((f+e|0)<0|(f+e|0)>(g|0))){g=c[a+12>>2]|0;if(!g){e=c[n>>2]|0;c[h>>2]=6808;zb(e|0,6768,h|0)|0;break}if((Yt(g)|0)<=0){g=WFa(1,16)|0;if(!g){e=c[n>>2]|0;c[h>>2]=6808;zb(e|0,6824,h|0)|0;break}}else g=Wt(g)|0;c[g>>2]=b;c[g+4>>2]=d;c[g+8>>2]=e;c[g+12>>2]=f;Xt(a,g)}}else{e=c[n>>2]|0;c[h>>2]=6808;zb(e|0,6736,h|0)|0}while(0);i=h;return}function Wm(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+64|0;do if(!a)b=du(28008,6872,0)|0;else{gp(a,g+16|0,g+28|0,g+24|0);d=c[g+16>>2]|0;b=c[g+28>>2]|0;if((d|0)<3|(b|0)<3){f=((d+-1|0)/2|0|0)>1?1:(d+-1|0)/2|0;e=((b+-1|0)/2|0|0)>1?1:(b+-1|0)/2|0;d=c[n>>2]|0;c[g>>2]=6872;zb(d|0,6888,g|0)|0;c[g>>2]=6872;c[g+4>>2]=f;c[g+8>>2]=e;zb(d|0,6936,g|0)|0}else{e=1;f=1}if(!(e|f)){b=tp(0,a)|0;break}d=c[g+24>>2]|0;if((d|0)==2|(d|0)==4|(d|0)==8?(Ap(a)|0)!=0:0){d=c[n>>2]|0;c[g>>2]=6872;zb(d|0,23608,g|0)|0;d=dr(a,4)|0;c[g+32>>2]=d;d=Dp(d)|0;c[g+24>>2]=d}else{c[g+32>>2]=rp(a)|0;d=c[g+24>>2]|0}if(!((d|0)==8|(d|0)==32)){cp(g+32|0);b=du(18328,6872,0)|0;break}b=c[g+32>>2]|0;if((d|0)==8)b=Xm(b,f,e)|0;else{d=Yp(b,0)|0;c[g+12>>2]=d;d=Xm(d,f,e)|0;c[g+20>>2]=d;cp(g+12|0);a=Yp(c[g+32>>2]|0,1)|0;c[g+36>>2]=a;a=Xm(a,f,e)|0;c[g+40>>2]=a;cp(g+36|0);b=Yp(c[g+32>>2]|0,2)|0;c[g+44>>2]=b;b=Xm(b,f,e)|0;c[g+48>>2]=b;cp(g+44|0);b=lq(d,a,b)|0;cp(g+20|0);cp(g+40|0);cp(g+48|0)}cp(g+32|0)}while(0);i=g;return b|0}function Xm(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0.0,k=0,l=0,m=0,o=0,p=0,q=0,r=0,s=0.0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;C=i;i=i+32|0;do if(!b)e=du(28232,6968,0)|0;else{gp(b,C+24|0,C+20|0,C+16|0);if((c[C+16>>2]|0)!=8){e=du(17536,6968,0)|0;break}h=(e|0)<0?0:e;g=(f|0)<0?0:f;e=c[C+24>>2]|0;f=c[C+20>>2]|0;if(!((e|0)>=(h<<1|1|0)?(f|0)>=(g<<1|1|0):0)){h=(h|0)<((e+-1|0)/2|0|0)?h:(e+-1|0)/2|0;g=(g|0)<((f+-1|0)/2|0|0)?g:(f+-1|0)/2|0;B=c[n>>2]|0;c[C>>2]=6968;zb(B|0,6888,C|0)|0;c[C>>2]=6968;c[C+4>>2]=h;c[C+8>>2]=g;zb(B|0,6936,C|0)|0}if(!(h|g)){e=tp(0,b)|0;break}B=Ym(b)|0;c[C+12>>2]=B;if(!B){e=du(24840,6968,0)|0;break}e=ep(b)|0;if(!e){cp(C+12|0);e=du(25344,6968,0)|0;break}w=bp(b)|0;l=bp(c[C+12>>2]|0)|0;x=vp(e)|0;k=vp(c[C+12>>2]|0)|0;y=c[C+24>>2]|0;u=c[C+20>>2]|0;z=y-h|0;A=u-g|0;if(!((z|0)<1|(A|0)<1)){B=h<<1|1;v=g<<1|1;j=1.0/+(ba(B,v)|0);if((u|0)>0){b=~g;f=~h;q=0;do{m=q+b|0;o=q+g|0;m=ba((m|0)>0?m:0,l)|0;o=ba((o|0)<(u+-1|0)?o:u+-1|0,l)|0;if((y|0)>0){p=x+((ba(q,w)|0)<<2)|0;r=0;do{D=r+f|0;D=(D|0)>0?D:0;t=r+h|0;t=(t|0)<(y+-1|0)?t:y+-1|0;a[(p+r^3)>>0]=~~(j*+(((c[k+(t+o<<2)>>2]|0)-(c[k+(D+o<<2)>>2]|0)+(c[k+(D+m<<2)>>2]|0)-(c[k+(t+m<<2)>>2]|0)|0)>>>0)+.5);r=r+1|0}while((r|0)!=(y|0))}q=q+1|0}while((q|0)!=(u|0))}if((g|0)>=0){b=(h|0)<0;t=h+1|0;f=(h|0)>0;q=y+h|0;m=0;while(1){s=+(v|0)/+(m+g|0);o=x+((ba(m,w)|0)<<2)|0;if(!b){p=0;do{r=o+p^3;j=+(B|0)/+(p+h|0)*(s*+(d[r>>0]|0));if(j<255.0)k=~~j&255;else k=-1;a[r>>0]=k;p=p+1|0}while((p|0)!=(t|0))}if((t|0)<(z|0)){p=t;do{r=o+p^3;j=s*+(d[r>>0]|0);if(j<255.0)k=~~j&255;else k=-1;a[r>>0]=k;p=p+1|0}while((p|0)!=(z|0))}if(f){p=z;do{r=o+p^3;j=+(B|0)/+(q-p|0)*(s*+(d[r>>0]|0));if(j<255.0)k=~~j&255;else k=-1;a[r>>0]=k;p=p+1|0}while((p|0)<(y|0))}if((m|0)==(g|0))break;else m=m+1|0}if((g|0)>0){m=u+g|0;k=A;do{s=+(v|0)/+(m-k|0);l=x+((ba(k,w)|0)<<2)|0;if(!b){o=0;do{p=l+o^3;j=+(B|0)/+(o+h|0)*(s*+(d[p>>0]|0));if(j<255.0)r=~~j&255;else r=-1;a[p>>0]=r;o=o+1|0}while((o|0)!=(t|0))}if((t|0)<(z|0)){o=t;do{p=l+o^3;j=s*+(d[p>>0]|0);if(j<255.0)r=~~j&255;else r=-1;a[p>>0]=r;o=o+1|0}while((o|0)!=(z|0))}if(f){o=z;do{p=l+o^3;j=+(B|0)/+(q-o|0)*(s*+(d[p>>0]|0));if(j<255.0)r=~~j&255;else r=-1;a[p>>0]=r;o=o+1|0}while((o|0)<(y|0))}k=k+1|0}while((k|0)<(u|0))}}b=g+1|0;if((b|0)<(A|0)){r=(h|0)<0;p=(h|0)>0;o=y+h|0;do{l=x+((ba(b,w)|0)<<2)|0;if(!r){k=0;while(1){f=l+k^3;j=+(B|0)/+(k+h|0)*+(d[f>>0]|0);if(j<255.0)g=~~j&255;else g=-1;a[f>>0]=g;if((k|0)==(h|0))break;else k=k+1|0}}if(p){k=z;do{f=l+k^3;j=+(B|0)/+(o-k|0)*+(d[f>>0]|0);if(j<255.0)g=~~j&255;else g=-1;a[f>>0]=g;k=k+1|0}while((k|0)<(y|0))}b=b+1|0}while((b|0)!=(A|0))}}else{B=c[n>>2]|0;c[C>>2]=7136;zb(B|0,7040,C|0)|0}cp(C+12|0)}while(0);i=C;return e|0}function Ym(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,o=0,p=0,q=0,r=0,s=0;r=i;i=i+16|0;do if(b){gp(b,r+12|0,r+8|0,r+4|0);q=c[r+4>>2]|0;if(!((q|0)==1|(q|0)==8|(q|0)==32)){e=du(7016,6992,0)|0;break}e=_o(c[r+12>>2]|0,c[r+8>>2]|0,32)|0;if(!e){e=du(25344,6992,0)|0;break}q=vp(b)|0;p=vp(e)|0;k=bp(b)|0;l=bp(e)|0;m=c[r+12>>2]|0;o=c[r+8>>2]|0;b=c[r+4>>2]|0;if((b|0)==8){if((m|0)>0){f=0;do{b=a[(q+f^3)>>0]|0;if(!f)c[p>>2]=b&255;else c[p+(f<<2)>>2]=(c[p+(f+-1<<2)>>2]|0)+(b&255);f=f+1|0}while((f|0)!=(m|0))}if((o|0)>1)h=1;else break;do{g=ba(h,l)|0;if((m|0)>0){f=q+((ba(h,k)|0)<<2)|0;j=0;do{b=d[(f+j^3)>>0]|0;if(!j)c[p+(g<<2)>>2]=(c[p+(g-l<<2)>>2]|0)+b;else{s=j+-1|0;c[p+(j+g<<2)>>2]=(c[p+(s+g<<2)>>2]|0)+b+(c[p+(j+(g-l)<<2)>>2]|0)-(c[p+(s+(g-l)<<2)>>2]|0)}j=j+1|0}while((j|0)!=(m|0))}h=h+1|0}while((h|0)!=(o|0))}else if((b|0)==32){if((m|0)>0){f=0;do{b=c[q+(f<<2)>>2]|0;if(!f)c[p>>2]=b;else c[p+(f<<2)>>2]=(c[p+(f+-1<<2)>>2]|0)+b;f=f+1|0}while((f|0)!=(m|0))}if((o|0)>1)h=1;else break;do{f=ba(h,k)|0;b=ba(h,l)|0;if((m|0)>0){j=0;do{g=c[q+(j+f<<2)>>2]|0;if(!j)c[p+(b<<2)>>2]=(c[p+(b-l<<2)>>2]|0)+g;else{s=j+-1|0;c[p+(j+b<<2)>>2]=(c[p+(s+b<<2)>>2]|0)+g+(c[p+(j+(b-l)<<2)>>2]|0)-(c[p+(s+(b-l)<<2)>>2]|0)}j=j+1|0}while((j|0)!=(m|0))}h=h+1|0}while((h|0)!=(o|0))}else if((b|0)==1){if((m|0)>0){f=0;do{b=(c[q+(f>>5<<2)>>2]|0)>>>(f&31^31)&1;if(!f)c[p>>2]=b;else c[p+(f<<2)>>2]=(c[p+(f+-1<<2)>>2]|0)+b;f=f+1|0}while((f|0)!=(m|0))}if((o|0)>1)h=1;else break;do{g=ba(h,k)|0;f=ba(h,l)|0;if((m|0)>0){j=0;do{b=(c[q+((j>>5)+g<<2)>>2]|0)>>>(j&31^31)&1;if(!j)c[p+(f<<2)>>2]=(c[p+(f-l<<2)>>2]|0)+b;else{s=j+-1|0;c[p+(j+f<<2)>>2]=(c[p+(s+f<<2)>>2]|0)+b+(c[p+(j+(f-l)<<2)>>2]|0)-(c[p+(s+(f-l)<<2)>>2]|0)}j=j+1|0}while((j|0)!=(m|0))}h=h+1|0}while((h|0)!=(o|0))}else{s=c[n>>2]|0;c[r>>2]=7072;zb(s|0,7096,r|0)|0;break}}else e=du(28232,6992,0)|0;while(0);i=r;return e|0}function Zm(a){a=a|0;var b=0,d=0;b=(a|0)<1?50:a;a=WFa(1,40)|0;do if(a){d=WFa(b,8)|0;c[a+32>>2]=d;if(!d){a=du(7184,7152,0)|0;break}else{c[a>>2]=b;c[a+4>>2]=0;c[a+8>>2]=1;h[a+16>>3]=0.0;h[a+24>>3]=1.0;break}}else a=du(7168,7152,0)|0;while(0);return a|0}function _m(a,b){a=a|0;b=+b;var d=0;if(!a)cu(7224,7272,1)|0;else{d=en(a)|0;if((d|0)>=(c[a>>2]|0))on(a);h[(c[a+32>>2]|0)+(d<<3)>>3]=b;c[a+4>>2]=(c[a+4>>2]|0)+1}return}function $m(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if(a){b=c[a>>2]|0;if(b){an(b,-1);if((bn(b)|0)<1){d=c[b+32>>2]|0;if(d)VFa(d);VFa(b)}c[a>>2]=0}}else{a=c[n>>2]|0;c[e>>2]=7208;zb(a|0,25936,e|0)|0}i=e;return}function an(a,b){a=a|0;b=b|0;if(!a)cu(7224,7360,1)|0;else c[a+8>>2]=(c[a+8>>2]|0)+b;return}function bn(a){a=a|0;if(!a)a=cu(7224,7336,-1)|0;else a=c[a+8>>2]|0;return a|0}function cn(a){a=a|0;if(!a)a=du(7224,7240,0)|0;else an(a,1);return a|0}function dn(a){a=a|0;if(!a)cu(7224,7256,1)|0;else c[a+4>>2]=0;return}function en(a){a=a|0;if(!a)a=cu(7224,7288,0)|0;else a=c[a+4>>2]|0;return a|0}function fn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;do if(!d)cu(9416,7304,1)|0;else{c[d>>2]=0;if(!a){cu(7224,7304,1)|0;break}if((b|0)>=0?(c[a+4>>2]|0)>(b|0):0){e=+h[(c[a+32>>2]|0)+(b<<3)>>3];c[d>>2]=~~(e+(e<0.0?-.5:.5));break}cu(22808,7304,1)|0}while(0);return}function gn(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;do if(a){d=en(a)|0;b=WFa(d,4)|0;if(!b){b=du(25200,7320,0)|0;break}if((d|0)>0){e=0;do{fn(a,e,f);c[b+(e<<2)>>2]=c[f>>2];e=e+1|0}while((e|0)!=(d|0))}}else b=du(7224,7320,0)|0;while(0);i=f;return b|0}function hn(a){a=a|0;var b=0,d=0;b=(a|0)<1?50:a;a=WFa(1,12)|0;do if(a){d=WFa(b,4)|0;c[a+8>>2]=d;if(!d){a=du(7416,7384,0)|0;break}else{c[a>>2]=b;c[a+4>>2]=0;break}}else a=du(7400,7384,0)|0;while(0);return a|0}function jn(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;if(a){e=c[a>>2]|0;if(e){b=c[e+8>>2]|0;if((c[e+4>>2]|0)>0){d=0;do{$m(b+(d<<2)|0);d=d+1|0;b=c[e+8>>2]|0}while((d|0)<(c[e+4>>2]|0))}VFa(b);VFa(e);c[a>>2]=0}}else{a=c[n>>2]|0;c[f>>2]=7448;zb(a|0,25048,f|0)|0}i=f;return}function kn(a,b){a=a|0;b=b|0;var d=0,e=0;do if(!a)cu(7480,7464,1)|0;else{if(!b){cu(7224,7464,1)|0;break}e=ln(a)|0;d=c[a>>2]|0;do if((e|0)>=(d|0)){d=mu(a+8|0,d<<2,d<<3)|0;c[a+8>>2]=d;if(!d){cu(23144,7560,1)|0;d=a+8|0;break}else{c[a>>2]=c[a>>2]<<1;d=a+8|0;break}}else d=a+8|0;while(0);c[(c[d>>2]|0)+(e<<2)>>2]=b;c[a+4>>2]=(c[a+4>>2]|0)+1}while(0);return}function ln(a){a=a|0;if(!a)a=cu(7480,7496,0)|0;else a=c[a+4>>2]|0;return a|0}function mn(a,b){a=a|0;b=b|0;do if(!a)a=du(7480,7512,0)|0;else{if((b|0)>=0?(c[a+4>>2]|0)>(b|0):0){a=cn(c[(c[a+8>>2]|0)+(b<<2)>>2]|0)|0;break}a=du(22808,7512,0)|0}while(0);return a|0}function nn(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if(a){d=en(a)|0;b=Zm(d+-1|0)|0;if((d|0)>1){e=1;f=0;while(1){fn(a,e,g);_m(b,+((c[g>>2]|0)-f|0));e=e+1|0;if((e|0)==(d|0))break;else f=c[g>>2]|0}}}else b=du(7544,7528,0)|0;i=g;return b|0}function on(a){a=a|0;var b=0;do if(a){b=c[a>>2]|0;b=mu(a+32|0,b<<3,b<<4)|0;c[a+32>>2]=b;if(!b){cu(23144,7584,1)|0;break}else{c[a>>2]=c[a>>2]<<1;break}}else cu(7224,7584,1)|0;while(0);return}function pn(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;do if(!f)g=du(7608,7688,0)|0;else{c[f>>2]=0;if(!b){g=du(7632,7688,0)|0;break}if((e|0)<1){g=du(7656,7688,0)|0;break}g=WFa(~~(+(e|0)*5.0*.25*1.03125+80.0),1)|0;if(!g){g=du(7672,7688,0)|0;break}r=WFa(8,1)|0;if(!r){g=du(7704,7688,0)|0;break}o=0;i=0;h=0;do{n=e-o|0;n=(n|0)>4?4:n;k=o;o=n+o|0;p=(o|0)==(e|0);if((n|0)>0){l=(k+~e|0)>-5?~(k+~e):4;m=0;j=0;do{j=((d[b+(m+k)>>0]|0)<<(3-m<<3))+j|0;m=m+1|0}while((m|0)!=(l|0));if(j){if((n|0)>=0){k=4;while(1){m=c[7720+(k<<2)>>2]|0;l=(j>>>0)/(m>>>0)|0;a[r+(4-k)>>0]=l+33;j=j-(ba(l,m)|0)|0;if((k|0)<=(4-n|0))break;else k=k+-1|0}if((n|0)>-1){m=n+1|0;q=20}}}else q=17}else q=17;if((q|0)==17){a[r>>0]=122;m=1;q=20}if((q|0)==20){q=0;n=0;do{j=h+1|0;a[g+h>>0]=a[r+n>>0]|0;if((i|0)>62){a[g+j>>0]=10;i=0;h=h+2|0}else{i=i+1|0;h=j}n=n+1|0}while((n|0)!=(m|0))}}while(!p);if(i){a[g+h>>0]=10;h=h+1|0}a[g+h>>0]=126;a[g+(h+1)>>0]=62;a[g+(h+2)>>0]=10;VFa(r);c[f>>2]=h+3}while(0);return g|0}function qn(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0,g=0,h=0,j=0;g=i;i=i+32|0;do if((a|0)!=0?(Dp(a)|0)!=1:0){if(d<=0.0|(b|0)<1){e=c[n>>2]|0;c[g>>2]=7744;zb(e|0,7800,g|0)|0;e=rp(a)|0;break}if((b+-1|0)>>>0<2){e=rn(a,b,d)|0;break}e=ur(a)|0;c[g+8>>2]=e;if(!e){e=du(24840,7744,0)|0;break}if((Dp(e)|0)!=8){j=Yp(a,0)|0;c[g+20>>2]=j;j=sn(j,b,d)|0;c[g+16>>2]=j;cp(g+20|0);h=Yp(a,1)|0;c[g+24>>2]=h;h=sn(h,b,d)|0;c[g+4>>2]=h;cp(g+24|0);e=Yp(a,2)|0;c[g+12>>2]=e;e=sn(e,b,d)|0;c[g+28>>2]=e;cp(g+12|0);e=lq(j,h,e)|0;cp(g+16|0);cp(g+4|0);cp(g+28|0);if((Hp(a)|0)==4)Ps(e,a,1.0,1.0)}else e=sn(e,b,d)|0;cp(g+8|0)}else f=3;while(0);if((f|0)==3)e=du(7768,7744,0)|0;i=g;return e|0}function rn(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0,g=0,h=0,j=0;g=i;i=i+32|0;do if((a|0)!=0?(Dp(a)|0)!=1:0){if(d<=0.0|(b|0)<1){e=c[n>>2]|0;c[g>>2]=7912;zb(e|0,7800,g|0)|0;e=rp(a)|0;break}if((b+-1|0)>>>0>1){e=du(7936,7912,0)|0;break}e=ur(a)|0;c[g+8>>2]=e;if(!e){e=du(24840,7912,0)|0;break}if((Dp(e)|0)==8)e=tn(e,b,d)|0;else{j=Yp(a,0)|0;c[g+20>>2]=j;j=tn(j,b,d)|0;c[g+16>>2]=j;cp(g+20|0);h=Yp(a,1)|0;c[g+24>>2]=h;h=tn(h,b,d)|0;c[g+4>>2]=h;cp(g+24|0);e=Yp(a,2)|0;c[g+12>>2]=e;e=tn(e,b,d)|0;c[g+28>>2]=e;cp(g+12|0);e=lq(j,h,e)|0;if((Hp(a)|0)==4)Ps(e,a,1.0,1.0);cp(g+16|0);cp(g+4|0);cp(g+28|0)}cp(g+8|0)}else f=3;while(0);if((f|0)==3)e=du(7768,7912,0)|0;i=g;return e|0}function sn(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0;e=i;i=i+32|0;do if(!a)b=du(28232,7856,0)|0;else{gp(a,e+20|0,e+16|0,e+12|0);if((c[e+12>>2]|0)==8?(Ap(a)|0)==0:0){if(d<=0.0|(b|0)<1){b=c[n>>2]|0;c[e>>2]=7856;zb(b|0,7800,e|0)|0;b=rp(a)|0;break}if((b+-1|0)>>>0<2){b=tn(a,b,d)|0;break}b=Xm(a,b,b)|0;c[e+8>>2]=b;if(!b){b=du(19496,7856,0)|0;break}else{f=Rq(c[e+20>>2]|0,c[e+16>>2]|0)|0;c[e+4>>2]=f;Sq(f,a);Xq(f,b);Yq(f,d);Sq(f,a);b=Uq(f)|0;Tq(e+4|0);cp(e+8|0);break}}b=du(7880,7856,0)|0}while(0);i=e;return b|0}function tn(a,b,d){a=a|0;b=b|0;d=+d;var e=0;e=i;i=i+16|0;do if(!a)b=du(28232,7968,0)|0;else{if((Dp(a)|0)==8?(Ap(a)|0)==0:0){if(d<=0.0|(b|0)<1){b=c[n>>2]|0;c[e>>2]=7968;zb(b|0,7800,e|0)|0;b=rp(a)|0;break}if((b+-1|0)>>>0>1){b=du(7936,7968,0)|0;break}else{b=un(a,b,d)|0;break}}b=du(7880,7968,0)|0}while(0);i=e;return b|0}function un(b,e,f){b=b|0;e=e|0;f=+f;var h=0,j=0,k=0,l=0,m=0,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;z=i;i=i+32|0;a:do if(!b)h=du(28232,8e3,0)|0;else{gp(b,z+16|0,z+12|0,z+8|0);if((c[z+8>>2]|0)==8?(Ap(b)|0)==0:0){if(f<=0.0|(e|0)<1){h=c[n>>2]|0;c[z>>2]=8e3;zb(h|0,7800,z|0)|0;h=rp(b)|0;break}if((e+-1|0)>>>0>1){h=du(7936,8e3,0)|0;break}h=eq(b,e,e,e,e)|0;w=vp(h)|0;x=bp(h)|0;y=vp(b)|0;v=bp(b)|0;if((e|0)==1){b=c[z+12>>2]|0;if((b+-1|0)<=1)break;e=c[z+16>>2]|0;o=1;while(1){j=o;o=o+1|0;if((e+-1|0)>1){k=w+((ba(j,x)|0)<<2)|0;l=y+((ba(o,v)|0)<<2)|0;m=y+((ba(j,v)|0)<<2)|0;b=y+((ba(j+-1|0,v)|0)<<2)|0;j=1;do{u=j+-1|0;e=j;j=j+1|0;u=~~(-f/9.0*+(d[(b+u^3)>>0]|0|0)+-f/9.0*+(d[(b+e^3)>>0]|0|0)+-f/9.0*+(d[(b+j^3)>>0]|0|0)+-f/9.0*+(d[(m+u^3)>>0]|0|0)+(f*8.0/9.0+1.0)*+(d[(m+e^3)>>0]|0|0)+-f/9.0*+(d[(m+j^3)>>0]|0|0)+-f/9.0*+(d[(l+u^3)>>0]|0|0)+-f/9.0*+(d[(l+e^3)>>0]|0|0)+-f/9.0*+(d[(l+j^3)>>0]|0|0)+.5);u=(u|0)<0?0:u;a[(k+e^3)>>0]=(u|0)>255?-1:u&255;e=c[z+16>>2]|0}while((j|0)<(e+-1|0));b=c[z+12>>2]|0}if((o|0)>=(b+-1|0))break a}}u=vn(c[z+16>>2]|0,c[z+12>>2]|0)|0;c[z+4>>2]=u;t=An(u)|0;u=Dn(u)|0;b=c[z+12>>2]|0;if((b+-2|0)>2){e=c[z+16>>2]|0;m=2;do{j=ba(m,u)|0;if((e+-2|0)>2){k=y+((ba(m,v)|0)<<2)|0;l=2;do{s=l;l=l+1|0;g[t+(s+j<<2)>>2]=+((d[(k+(s+-1)^3)>>0]|0)+(d[(k+(s+-2)^3)>>0]|0)+(d[(k+s^3)>>0]|0)+(d[(k+l^3)>>0]|0)+(d[(k+(s+2)^3)>>0]|0)|0)}while((l|0)!=(e+-2|0))}m=m+1|0}while((m|0)!=(b+-2|0));s=2;do{k=ba(s+-2|0,u)|0;j=ba(s+-1|0,u)|0;p=ba(s,u)|0;o=s;s=s+1|0;q=ba(s,u)|0;r=ba(o+2|0,u)|0;if((e+-2|0)>2){l=y+((ba(o,v)|0)<<2)|0;m=w+((ba(o,x)|0)<<2)|0;o=2;do{A=+(d[(l+o^3)>>0]|0|0);e=~~(A+(A-(+g[t+(o+k<<2)>>2]+ +g[t+(o+j<<2)>>2]+ +g[t+(o+p<<2)>>2]+ +g[t+(o+q<<2)>>2]+ +g[t+(o+r<<2)>>2])*.04)*f+.5);e=(e|0)<0?0:e;a[(m+o^3)>>0]=(e|0)>255?-1:e&255;o=o+1|0;e=c[z+16>>2]|0}while((o|0)<(e+-2|0));b=c[z+12>>2]|0}}while((s|0)<(b+-2|0))}Bn(z+4|0);break}h=du(7880,8e3,0)|0}while(0);i=z;return h|0}function vn(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;do if((a|0)>=1){if((b|0)<1){d=du(15200,8024,0)|0;break}if((ba(a<<2,b)|0)<0){d=c[n>>2]|0;c[e>>2]=8024;c[e+4>>2]=a;c[e+8>>2]=b;zb(d|0,8040,e|0)|0;d=du(13664,8024,0)|0;break}d=WFa(1,28)|0;if(!d){d=du(8080,8024,0)|0;break}wn(d,a,b);xn(d,a);c[d+12>>2]=1;b=WFa(ba(b,a)|0,4)|0;if(!b){d=du(8104,8024,0)|0;break}else{yn(d,b);break}}else d=du(15176,8024,0)|0;while(0);i=e;return d|0}function wn(a,b,d){a=a|0;b=b|0;d=d|0;if(!a)cu(8128,8168,1)|0;else{c[a>>2]=b;c[a+4>>2]=d}return}function xn(a,b){a=a|0;b=b|0;if(!a)cu(8128,8208,1)|0;else c[a+8>>2]=b;return}function yn(a,b){a=a|0;b=b|0;if(!a)cu(8128,8280,1)|0;else c[a+24>>2]=b;return}function zn(a){a=a|0;if(!a)cu(8128,8240,1)|0;else c[a+12>>2]=(c[a+12>>2]|0)+-1;return}function An(a){a=a|0;if(!a)a=du(8128,8264,0)|0;else a=c[a+24>>2]|0;return a|0}function Bn(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if(a){b=c[a>>2]|0;if(b){zn(b);if((Cn(b)|0)<1){d=An(b)|0;if(d)VFa(d);VFa(b)}c[a>>2]=0}}else{a=c[n>>2]|0;c[e>>2]=8152;zb(a|0,13744,e|0)|0}i=e;return}function Cn(a){a=a|0;if(!a)a=cu(8128,8224,-1)|0;else a=c[a+12>>2]|0;return a|0}function Dn(a){a=a|0;if(!a)a=cu(8128,8192,-1)|0;else a=c[a+8>>2]|0;return a|0}function En(){return du(28344,8296,0)|0}function Fn(){return cu(28344,8320,1)|0}function Gn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0.0,h=0,i=0,j=0;do if(!((c|0)==(a|0)&(d|0)==(b|0))){e=(c-a|0)<0?0-(c-a)|0:c-a|0;f=(d-b|0)<0?0-(d-b)|0:d-b|0;if((e|0)<(f|0)){h=0;i=f+1|0;j=d-b>>31|1;g=+(ba(d-b>>31|1,c-a|0)|0)/+(d-b|0);break}else{h=1;i=e+1|0;j=c-a>>31|1;g=+(ba(c-a>>31|1,d-b|0)|0)/+(c-a|0);break}}else{h=0;i=1;j=0;g=0.0}while(0);e=Ir(i)|0;do if(e){if((i|0)==1){Kr(e,+(a|0),+(b|0));break}f=(i|0)>0;if(!h){if(!f)break;f=0;do{Kr(e,+(~~(+(a|0)+g*+(f|0)+.5)|0),+((ba(f,j)|0)+b|0));f=f+1|0}while((f|0)!=(i|0))}else{if(!f)break;f=0;do{Kr(e,+((ba(f,j)|0)+a|0),+(~~(+(b|0)+g*+(f|0)+.5)|0));f=f+1|0}while((f|0)!=(i|0))}}else e=du(20336,8344,0)|0;while(0);return e|0}function Hn(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;if((f|0)<1){k=c[n>>2]|0;c[l>>2]=8360;zb(k|0,8384,l|0)|0;k=1}else k=f;f=Gn(a,b,d,e)|0;a:do if(f){if((k|0)!=1){g=(k|0)>1;if((((a-d|0)<0?0-(a-d)|0:a-d|0)|0)>(((b-e|0)<0?0-(b-e)|0:b-e|0)|0)){if(g)j=1;else break;while(1){h=j;j=j+1|0;g=(j|0)/2|0;if(!(h&1)){h=g+b|0;g=g+e|0}else{h=b-g|0;g=e-g|0}g=Gn(a,h,d,g)|0;c[l+4>>2]=g;if(!g)break;Tr(f,g);Lr(l+4|0);if((j|0)>=(k|0))break a}f=du(20336,8360,0)|0;break}else{if(g)j=1;else break;while(1){h=j;j=j+1|0;g=(j|0)/2|0;if(!(h&1)){h=g+a|0;g=g+d|0}else{h=a-g|0;g=d-g|0}g=Gn(h,b,g,e)|0;c[l+4>>2]=g;if(!g)break;Tr(f,g);Lr(l+4|0);if((j|0)>=(k|0))break a}f=du(20336,8360,0)|0;break}}}else f=du(8424,8360,0)|0;while(0);i=l;return f|0}function In(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+32|0;do if(a){if((b|0)<1){g=c[n>>2]|0;c[h>>2]=8440;zb(g|0,8384,h|0)|0;g=1}else g=b;Ml(a,h+20|0,h+16|0,h+12|0,h+8|0);if((c[h+12>>2]|0)==0|(c[h+8>>2]|0)==0){b=du(8456,8440,0)|0;break}b=Ir(0)|0;a=c[h+20>>2]|0;d=(g|0)/2|0;e=c[h+16>>2]|0;f=(c[h+12>>2]|0)+a|0;if(!(g&1)){e=Hn(a-d|0,e,d+-2+f|0,e,g)|0;c[h+4>>2]=e;Tr(b,e);Lr(h+4|0);e=(c[h+20>>2]|0)+-1+(c[h+12>>2]|0)|0;f=c[h+16>>2]|0;f=Hn(e,f+d|0,e,-2-d+f+(c[h+8>>2]|0)|0,g)|0;c[h+4>>2]=f;Tr(b,f);Lr(h+4|0);f=c[h+20>>2]|0;e=(c[h+16>>2]|0)+-1+(c[h+8>>2]|0)|0;e=Hn(d+-2+f+(c[h+12>>2]|0)|0,e,f-d|0,e,g)|0;c[h+4>>2]=e;Tr(b,e);Lr(h+4|0);e=c[h+20>>2]|0;f=c[h+16>>2]|0;g=Hn(e,-2-d+f+(c[h+8>>2]|0)|0,e,f+d|0,g)|0;c[h+4>>2]=g;Tr(b,g);Lr(h+4|0);break}else{e=Hn(a-d|0,e,d+-1+f|0,e,g)|0;c[h+4>>2]=e;Tr(b,e);Lr(h+4|0);e=(c[h+20>>2]|0)+-1+(c[h+12>>2]|0)|0;f=c[h+16>>2]|0;f=Hn(e,d+1+f|0,e,-2-d+f+(c[h+8>>2]|0)|0,g)|0;c[h+4>>2]=f;Tr(b,f);Lr(h+4|0);f=c[h+20>>2]|0;e=(c[h+16>>2]|0)+-1+(c[h+8>>2]|0)|0;e=Hn(d+-1+f+(c[h+12>>2]|0)|0,e,f-d|0,e,g)|0;c[h+4>>2]=e;Tr(b,e);Lr(h+4|0);e=c[h+20>>2]|0;f=c[h+16>>2]|0;g=Hn(e,-2-d+f+(c[h+8>>2]|0)|0,e,d+1+f|0,g)|0;c[h+4>>2]=g;Tr(b,g);Lr(h+4|0);break}}else b=du(16856,8440,0)|0;while(0);i=h;return b|0}function Jn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;if(!a)b=du(8496,8480,0)|0;else{if((b|0)<1){d=c[n>>2]|0;c[f>>2]=8480;zb(d|0,8384,f|0)|0;d=1}else d=b;e=Sl(a)|0;b=Ir(0)|0;c[f+8>>2]=b;if((e|0)>0){b=0;do{g=Pl(a,b)|0;c[f+12>>2]=g;g=In(g,d)|0;c[f+4>>2]=g;Tr(c[f+8>>2]|0,g);Lr(f+4|0);Kl(f+12|0);b=b+1|0}while((b|0)!=(e|0));b=c[f+8>>2]|0}b=Qr(b)|0;Lr(f+8|0)}i=f;return b|0}function Kn(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;f=i;i=i+32|0;if(a){d=Or(a)|0;b=Ir(0)|0;c[f+4>>2]=b;if((d|0)>=2){Pr(a,0,f+20|0,f+16|0);e=1;do{Pr(a,e,f+12|0,f+8|0);g=Hn(c[f+20>>2]|0,c[f+16>>2]|0,c[f+12>>2]|0,c[f+8>>2]|0,5)|0;c[f>>2]=g;Tr(b,g);Lr(f);c[f+20>>2]=c[f+12>>2];c[f+16>>2]=c[f+8>>2];e=e+1|0}while((e|0)!=(d|0));Pr(a,0,f+12|0,f+8|0);g=Hn(c[f+20>>2]|0,c[f+16>>2]|0,c[f+12>>2]|0,c[f+8>>2]|0,5)|0;c[f>>2]=g;Tr(b,g);Lr(f);b=Qr(b)|0;Lr(f+4|0)}}else b=du(8544,8520,0)|0;i=f;return b|0}
-function hJ(b){b=b|0;nT(b);c[b>>2]=43576;Wk(b+5168|0,0,43592,43624,0,b+364|0);Wk(b+5184|0,0,43672,43712,0,b+364|0);Wk(b+5200|0,0,43768,43800,0,b+364|0);Wk(b+5216|0,0,43840,43872,0,b+364|0);Wk(b+5232|0,0,43912,43944,0,b+364|0);rJ(b+5248|0,6,44e3,44024,0,b+364|0);rJ(b+5272|0,0,44160,44192,1,b+364|0);sJ(b+5296|0,1714496,44368,44392,0,b+364|0);sJ(b+5320|0,1714496,44432,44456,0,b+364|0);sJ(b+5344|0,1714496,44488,44520,0,b+364|0);Wk(b+5368|0,0,44576,44608,0,b+364|0);rJ(b+5384|0,0,44648,44688,0,b+364|0);rJ(b+5408|0,0,44800,44832,0,b+364|0);sJ(b+5432|0,1714496,44928,44960,0,b+364|0);Wk(b+5456|0,0,45e3,45024,0,b+364|0);rJ(b+5472|0,0,45080,45096,0,b+364|0);rJ(b+5496|0,1,45120,45136,0,b+364|0);rJ(b+5520|0,0,45152,45168,0,b+364|0);sJ(b+5544|0,45200,45208,45240,0,b+364|0);Wk(b+5568|0,0,45392,45440,0,b+364|0);Wk(b+5584|0,0,45560,45592,0,b+364|0);Wk(b+5600|0,0,45704,45736,0,b+364|0);Wk(b+5616|0,0,45760,45784,0,b+364|0);Wk(b+5632|0,0,45808,45832,0,b+364|0);Wk(b+5648|0,1,45856,45888,0,b+364|0);Wk(b+5664|0,0,45920,45944,0,b+364|0);Wk(b+5680|0,1,45984,46008,0,b+364|0);Wk(b+5696|0,1,46032,46056,0,b+364|0);Wk(b+5712|0,1,46080,46112,0,b+364|0);Wk(b+5728|0,0,46152,46176,0,b+364|0);Wk(b+5744|0,0,46208,46240,0,b+364|0);Wk(b+5760|0,1,46264,46304,0,b+364|0);Wk(b+5776|0,0,46360,46392,0,b+364|0);rJ(b+5792|0,0,46448,46472,0,b+364|0);Wk(b+5816|0,1,46520,46544,0,b+364|0);rJ(b+5832|0,0,46664,46688,0,b+364|0);tJ(b+5856|0,-8.0,46728,46752,b+364|0);tJ(b+5896|0,-1.0,46792,46816,b+364|0);tJ(b+5936|0,-3.0,46856,46872,b+364|0);tJ(b+5976|0,.375,46912,46936,b+364|0);rJ(b+6016|0,8,46984,47008,0,b+364|0);rJ(b+6040|0,16,47048,47072,0,b+364|0);rJ(b+6064|0,0,47112,47136,0,b+364|0);Wk(b+6088|0,0,47160,47184,0,b+364|0);sJ(b+6104|0,47208,47216,47240,0,b+364|0);sJ(b+6128|0,47264,47272,47296,0,b+364|0);sJ(b+6152|0,47328,47336,47360,0,b+364|0);tJ(b+6176|0,.08,47392,47408,b+364|0);tJ(b+6216|0,0.0,47448,47464,b+364|0);tJ(b+6256|0,1.0,47504,47528,b+364|0);tJ(b+6296|0,.95,47576,47592,b+364|0);rJ(b+6336|0,2,47632,47664,0,b+364|0);rJ(b+6360|0,39,47688,47720,0,b+364|0);Wk(b+6384|0,0,47760,47792,0,b+364|0);Wk(b+6400|0,0,47832,47856,0,b+364|0);Wk(b+6416|0,0,47880,47904,0,b+364|0);rJ(b+6432|0,3,47928,47720,0,b+364|0);Wk(b+6456|0,0,47960,47968,0,b+364|0);tJ(b+6472|0,99999.99,47984,48e3,b+364|0);tJ(b+6512|0,99999.99,48008,48024,b+364|0);rJ(b+6552|0,0,48032,48056,0,b+364|0);Wk(b+6576|0,1,48088,48112,0,b+364|0);rJ(b+6592|0,0,48184,48208,0,b+364|0);sJ(b+6616|0,48232,48240,48256,0,b+364|0);sJ(b+6640|0,48288,48304,48256,0,b+364|0);Wk(b+6664|0,0,48320,48352,0,b+364|0);Wk(b+6680|0,1,48392,48424,0,b+364|0);Wk(b+6696|0,1,48456,48488,0,b+364|0);tJ(b+6712|0,65.0,48504,48536,b+364|0);tJ(b+6752|0,45.0,48576,48608,b+364|0);tJ(b+6792|0,40.0,48648,48680,b+364|0);tJ(b+6832|0,70.0,48720,48760,b+364|0);Wk(b+6872|0,1,48840,48880,0,b+364|0);Wk(b+6888|0,1,48936,48976,0,b+364|0);Wk(b+6904|0,0,49032,49064,0,b+364|0);Wk(b+6920|0,0,49104,49064,0,b+364|0);rJ(b+6936|0,2,49136,49168,0,b+364|0);Wk(b+6960|0,1,49208,49240,0,b+364|0);tJ(b+6976|0,1.1,49280,49320,b+364|0);Wk(b+7016|0,1,49376,49408,0,b+364|0);Wk(b+7032|0,0,49440,49472,0,b+364|0);Wk(b+7048|0,0,49488,49520,0,b+364|0);Wk(b+7064|0,0,49552,49568,0,b+364|0);tJ(b+7080|0,1.1,49600,47592,b+364|0);Wk(b+7120|0,1,49624,49648,0,b+364|0);Wk(b+7136|0,0,49688,49704,0,b+364|0);Wk(b+7152|0,1,49736,49768,0,b+364|0);Wk(b+7168|0,0,49792,49832,0,b+364|0);tJ(b+7184|0,80.0,49856,49880,b+364|0);Wk(b+7224|0,1,49904,49928,0,b+364|0);tJ(b+7240|0,-9.0,49944,49976,b+364|0);tJ(b+7280|0,60.0,50008,50040,b+364|0);tJ(b+7320|0,40.0,50072,50096,b+364|0);tJ(b+7360|0,-8.0,50128,50152,b+364|0);Wk(b+7400|0,1,50184,50208,0,b+364|0);tJ(b+7416|0,60.0,50240,50096,b+364|0);tJ(b+7456|0,-10.0,50264,50152,b+364|0);tJ(b+7496|0,.7,50280,50304,b+364|0);tJ(b+7536|0,3.0,50336,50360,b+364|0);tJ(b+7576|0,3.0,50392,50416,b+364|0);tJ(b+7616|0,1.5,50448,50472,b+364|0);tJ(b+7656|0,.5,50512,50536,b+364|0);tJ(b+7696|0,.6,50576,50608,b+364|0);rJ(b+7736|0,10,50632,50656,0,b+364|0);rJ(b+7760|0,1,50688,50712,0,b+364|0);Wk(b+7784|0,1,50752,50776,0,b+364|0);Wk(b+7800|0,1,50808,50832,0,b+364|0);Wk(b+7816|0,0,50864,50896,0,b+364|0);Wk(b+7832|0,0,50936,50960,0,b+364|0);rJ(b+7848|0,4,50984,51008,0,b+364|0);rJ(b+7872|0,4,51056,51008,0,b+364|0);rJ(b+7896|0,3,51080,51104,0,b+364|0);rJ(b+7920|0,0,51144,49928,0,b+364|0);rJ(b+7944|0,1,51160,51184,0,b+364|0);tJ(b+7968|0,.28,51224,50608,b+364|0);Wk(b+8008|0,0,51256,51288,0,b+364|0);rJ(b+8024|0,1,51312,51328,0,b+364|0);rJ(b+8048|0,0,51368,51392,0,b+364|0);sJ(b+8072|0,51424,51432,51456,0,b+364|0);rJ(b+8096|0,8,51496,51528,0,b+364|0);rJ(b+8120|0,8,51584,51600,0,b+364|0);rJ(b+8144|0,0,51648,51672,0,b+364|0);tJ(b+8168|0,2.0,51712,51744,b+364|0);tJ(b+8208|0,.97,51888,51920,b+364|0);tJ(b+8248|0,.4,52112,52144,b+364|0);tJ(b+8288|0,.5,52312,52336,b+364|0);tJ(b+8328|0,.3,52464,52496,b+364|0);Wk(b+8368|0,0,52632,52664,0,b+364|0);Wk(b+8384|0,0,52704,52736,0,b+364|0);Wk(b+8400|0,0,52768,52792,0,b+364|0);Wk(b+8416|0,1,52816,52840,0,b+364|0);Wk(b+8432|0,0,52864,52888,0,b+364|0);Wk(b+8448|0,0,52920,52944,0,b+364|0);sJ(b+8464|0,52968,52976,53e3,0,b+364|0);rJ(b+8488|0,99,53040,53056,0,b+364|0);rJ(b+8512|0,100,53080,53104,0,b+364|0);rJ(b+8536|0,2,53144,53168,0,b+364|0);Wk(b+8560|0,0,53208,53232,0,b+364|0);tJ(b+8576|0,999.9,53264,53288,b+364|0);tJ(b+8616|0,-999.9,53320,53344,b+364|0);Wk(b+8656|0,0,53376,53408,0,b+364|0);Wk(b+8672|0,0,53440,53464,0,b+364|0);Wk(b+8688|0,0,53488,53512,0,b+364|0);Wk(b+8704|0,0,53560,53592,0,b+364|0);Wk(b+8720|0,1,53624,53656,0,b+364|0);rJ(b+8736|0,0,53688,53712,0,b+364|0);Wk(b+8760|0,0,53736,53768,0,b+364|0);Wk(b+8776|0,1,53784,53808,0,b+364|0);tJ(b+8792|0,1.5,53832,53864,b+364|0);tJ(b+8832|0,1.8,53896,53864,b+364|0);Wk(b+8872|0,0,53928,53952,0,b+364|0);Wk(b+8888|0,0,53992,54016,0,b+364|0);Wk(b+8904|0,1,54040,54072,0,b+364|0);Wk(b+8920|0,1,54096,54120,0,b+364|0);Wk(b+8936|0,1,54152,54120,0,b+364|0);Wk(b+8952|0,1,54176,54120,0,b+364|0);Wk(b+8968|0,0,54200,54224,0,b+364|0);Wk(b+8984|0,0,54248,54224,0,b+364|0);tJ(b+9e3|0,.85,54280,54320,b+364|0);rJ(b+9040|0,2,54336,54360,0,b+364|0);sJ(b+9064|0,54392,54400,54432,0,b+364|0);sJ(b+9088|0,54456,54464,54488,0,b+364|0);rJ(b+9112|0,8,54512,54536,0,b+364|0);Wk(b+9136|0,0,54576,54600,0,b+364|0);rJ(b+9152|0,-1,54624,54648,0,b+364|0);Wk(b+9176|0,0,54696,54720,0,b+364|0);Wk(b+9192|0,0,54752,54784,0,b+364|0);sJ(b+9208|0,54808,54816,54832,0,b+364|0);Wk(b+9232|0,1,54856,54888,0,b+364|0);rJ(b+9248|0,0,54912,54944,0,b+364|0);sJ(b+9272|0,1714496,54992,55016,0,b+364|0);Wk(b+9296|0,0,55056,55096,0,b+364|0);tJ(b+9312|0,7.0,55160,55184,b+364|0);Wk(b+9352|0,0,55224,55256,0,b+364|0);Wk(b+9368|0,0,55280,55312,0,b+364|0);Wk(b+9384|0,0,55344,55368,0,b+364|0);Wk(b+9400|0,0,55424,55456,1,b+364|0);Wk(b+9416|0,0,55584,55608,0,b+364|0);Wk(b+9432|0,1,55640,55672,0,b+364|0);Wk(b+9448|0,0,55704,55744,0,b+364|0);tJ(b+9464|0,.5,55784,55824,b+364|0);tJ(b+9504|0,.75,55888,55928,b+364|0);rJ(b+9544|0,0,55992,56016,0,b+364|0);Wk(b+9568|0,0,56048,56080,0,b+364|0);Wk(b+9584|0,0,56120,56144,0,b+364|0);sJ(b+9600|0,56216,56224,56240,0,b+364|0);Wk(b+9624|0,1,56296,56336,0,b+364|0);rJ(b+9640|0,5,56400,56424,0,b+364|0);Wk(b+9664|0,1,56456,56480,1,b+364|0);rJ(b+9680|0,0,56552,56568,0,b+364|0);Wk(b+9704|0,0,56608,56624,0,b+364|0);tJ(b+9720|0,2.0,56656,56680,b+364|0);Wk(b+9760|0,0,56752,56776,0,b+364|0);Wk(b+9776|0,0,56824,56848,0,b+364|0);tJ(b+9792|0,.95,56896,56920,b+364|0);Wk(b+9832|0,0,57056,57088,0,b+364|0);Wk(b+9848|0,0,57136,57160,0,b+364|0);tJ(b+9864|0,.97,57216,57240,b+364|0);tJ(b+9904|0,.99,57304,57344,b+364|0);Wk(b+9944|0,0,57432,57464,0,b+364|0);Wk(b+9960|0,0,57512,57536,0,b+364|0);rJ(b+9976|0,3,57576,57624,0,b+364|0);Wk(b+1e4|0,0,57696,57720,0,b+364|0);tJ(b+10016|0,1.25,57784,57816,b+364|0);tJ(b+10056|0,1.0,57976,58e3,b+364|0);tJ(b+10096|0,1.0e3,58064,58088,b+364|0);tJ(b+10136|0,0.0,58152,58184,b+364|0);tJ(b+10176|0,2.0,58248,58280,b+364|0);Wk(b+10216|0,1,58336,58360,0,b+364|0);tJ(b+10232|0,2.0,58400,58440,b+364|0);c[b+10272>>2]=0;NM(b+10276|0);c[b+10280>>2]=0;c[b+10284>>2]=0;c[b+10288>>2]=0;c[b+10292>>2]=0;c[b+10296>>2]=0;W_(b+10300|0);X7(b+10336|0,b);a[b+12904>>0]=0;c[b+12908>>2]=0;c[b+12912>>2]=-1;g[b+12916>>2]=1.0;g[b+12920>>2]=0.0;g[b+12924>>2]=1.0;g[b+12928>>2]=0.0;uJ(b+12932|0);vJ(b+12964|0);c[b+12984>>2]=b;c[b+12988>>2]=0;c[b+12992>>2]=0;return}function iJ(a){a=a|0;c[a>>2]=43576;jJ(a);JI(a);NI(a+12964|0);OI(a+12964|0);RM(c[a+12956>>2]|0);Y7(a+10336|0);X_(a+10300|0);RM(c[a+10276>>2]|0);wJ(a+10232|0);Xk(a+10216|0);wJ(a+10176|0);wJ(a+10136|0);wJ(a+10096|0);wJ(a+10056|0);wJ(a+10016|0);Xk(a+1e4|0);xJ(a+9976|0);Xk(a+9960|0);Xk(a+9944|0);wJ(a+9904|0);wJ(a+9864|0);Xk(a+9848|0);Xk(a+9832|0);wJ(a+9792|0);Xk(a+9776|0);Xk(a+9760|0);wJ(a+9720|0);Xk(a+9704|0);xJ(a+9680|0);Xk(a+9664|0);xJ(a+9640|0);Xk(a+9624|0);yJ(a+9600|0);Xk(a+9584|0);Xk(a+9568|0);xJ(a+9544|0);wJ(a+9504|0);wJ(a+9464|0);Xk(a+9448|0);Xk(a+9432|0);Xk(a+9416|0);Xk(a+9400|0);Xk(a+9384|0);Xk(a+9368|0);Xk(a+9352|0);wJ(a+9312|0);Xk(a+9296|0);yJ(a+9272|0);xJ(a+9248|0);Xk(a+9232|0);yJ(a+9208|0);Xk(a+9192|0);Xk(a+9176|0);xJ(a+9152|0);Xk(a+9136|0);xJ(a+9112|0);yJ(a+9088|0);yJ(a+9064|0);xJ(a+9040|0);wJ(a+9e3|0);Xk(a+8984|0);Xk(a+8968|0);Xk(a+8952|0);Xk(a+8936|0);Xk(a+8920|0);Xk(a+8904|0);Xk(a+8888|0);Xk(a+8872|0);wJ(a+8832|0);wJ(a+8792|0);Xk(a+8776|0);Xk(a+8760|0);xJ(a+8736|0);Xk(a+8720|0);Xk(a+8704|0);Xk(a+8688|0);Xk(a+8672|0);Xk(a+8656|0);wJ(a+8616|0);wJ(a+8576|0);Xk(a+8560|0);xJ(a+8536|0);xJ(a+8512|0);xJ(a+8488|0);yJ(a+8464|0);Xk(a+8448|0);Xk(a+8432|0);Xk(a+8416|0);Xk(a+8400|0);Xk(a+8384|0);Xk(a+8368|0);wJ(a+8328|0);wJ(a+8288|0);wJ(a+8248|0);wJ(a+8208|0);wJ(a+8168|0);xJ(a+8144|0);xJ(a+8120|0);xJ(a+8096|0);yJ(a+8072|0);xJ(a+8048|0);xJ(a+8024|0);Xk(a+8008|0);wJ(a+7968|0);xJ(a+7944|0);xJ(a+7920|0);xJ(a+7896|0);xJ(a+7872|0);xJ(a+7848|0);Xk(a+7832|0);Xk(a+7816|0);Xk(a+7800|0);Xk(a+7784|0);xJ(a+7760|0);xJ(a+7736|0);wJ(a+7696|0);wJ(a+7656|0);wJ(a+7616|0);wJ(a+7576|0);wJ(a+7536|0);wJ(a+7496|0);wJ(a+7456|0);wJ(a+7416|0);Xk(a+7400|0);wJ(a+7360|0);wJ(a+7320|0);wJ(a+7280|0);wJ(a+7240|0);Xk(a+7224|0);wJ(a+7184|0);Xk(a+7168|0);Xk(a+7152|0);Xk(a+7136|0);Xk(a+7120|0);wJ(a+7080|0);Xk(a+7064|0);Xk(a+7048|0);Xk(a+7032|0);Xk(a+7016|0);wJ(a+6976|0);Xk(a+6960|0);xJ(a+6936|0);Xk(a+6920|0);Xk(a+6904|0);Xk(a+6888|0);Xk(a+6872|0);wJ(a+6832|0);wJ(a+6792|0);wJ(a+6752|0);wJ(a+6712|0);Xk(a+6696|0);Xk(a+6680|0);Xk(a+6664|0);yJ(a+6640|0);yJ(a+6616|0);xJ(a+6592|0);Xk(a+6576|0);xJ(a+6552|0);wJ(a+6512|0);wJ(a+6472|0);Xk(a+6456|0);xJ(a+6432|0);Xk(a+6416|0);Xk(a+6400|0);Xk(a+6384|0);xJ(a+6360|0);xJ(a+6336|0);wJ(a+6296|0);wJ(a+6256|0);wJ(a+6216|0);wJ(a+6176|0);yJ(a+6152|0);yJ(a+6128|0);yJ(a+6104|0);Xk(a+6088|0);xJ(a+6064|0);xJ(a+6040|0);xJ(a+6016|0);wJ(a+5976|0);wJ(a+5936|0);wJ(a+5896|0);wJ(a+5856|0);xJ(a+5832|0);Xk(a+5816|0);xJ(a+5792|0);Xk(a+5776|0);Xk(a+5760|0);Xk(a+5744|0);Xk(a+5728|0);Xk(a+5712|0);Xk(a+5696|0);Xk(a+5680|0);Xk(a+5664|0);Xk(a+5648|0);Xk(a+5632|0);Xk(a+5616|0);Xk(a+5600|0);Xk(a+5584|0);Xk(a+5568|0);yJ(a+5544|0);xJ(a+5520|0);xJ(a+5496|0);xJ(a+5472|0);Xk(a+5456|0);yJ(a+5432|0);xJ(a+5408|0);xJ(a+5384|0);Xk(a+5368|0);yJ(a+5344|0);yJ(a+5320|0);yJ(a+5296|0);xJ(a+5272|0);xJ(a+5248|0);Xk(a+5232|0);Xk(a+5216|0);Xk(a+5200|0);Xk(a+5184|0);Xk(a+5168|0);oT(a);return}function jJ(a){a=a|0;var b=0;cp(a+10280|0);cp(a+10284|0);cp(a+10288|0);cp(a+10292|0);cp(a+12908|0);c[a+12916>>2]=1065353216;c[a+12920>>2]=0;c[a+12924>>2]=1065353216;c[a+12928>>2]=0;Y_(a+10300|0);c[a+12912>>2]=-1;if((c[a+12964>>2]|0)>0){b=0;do{jJ(c[(Xj(a+12964|0,b)|0)>>2]|0);b=b+1|0}while((b|0)<(c[a+12964>>2]|0))}return}function kJ(a){a=a|0;iJ(a);YEa(a);return}function lJ(a,b){a=a|0;b=b|0;c[a+12992>>2]=b;ez(b,a);return}function mJ(a){a=a|0;var b=0;vpa(a);if((c[a+12964>>2]|0)>0){b=0;do{vpa(c[(Xj(a+12964|0,b)|0)>>2]|0);b=b+1|0}while((b|0)<(c[a+12964>>2]|0))}return}function nJ(a){a=a|0;var b=0;zJ(a+2744|0);if((c[a+12964>>2]|0)>0){b=0;do{zJ((c[(Xj(a+12964|0,b)|0)>>2]|0)+2744|0);b=b+1|0}while((b|0)<(c[a+12964>>2]|0))}return}function oJ(a){a=a|0;var b=0,d=0,e=0,f=0;d=VM(c[a+5308>>2]|0)|0;b=VM(c[a+5332>>2]|0)|0;cO(a+184|0,d,b,VM(c[a+5356>>2]|0)|0);if((c[a+12964>>2]|0)>0){b=0;do{f=(c[(Xj(a+12964|0,b)|0)>>2]|0)+184|0;e=VM(c[a+5308>>2]|0)|0;d=VM(c[a+5332>>2]|0)|0;cO(f,e,d,VM(c[a+5356>>2]|0)|0);b=b+1|0}while((b|0)<(c[a+12964>>2]|0))}return}function pJ(b){b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;a[b+10344>>0]=(a[b+9378>>0]|0)!=0&1;cp(b+10284|0);c[b+10284>>2]=rp(c[b+10280>>2]|0)|0;d=c[b+5396>>2]|0;if((c[b+12964>>2]|0)>0){e=0;do{g=c[(c[(Xj(b+12964|0,e)|0)>>2]|0)+5396>>2]|0;d=(g|0)>(d|0)?g:d;cp((c[(Xj(b+12964|0,e)|0)>>2]|0)+10284|0);g=rp(c[b+10280>>2]|0)|0;c[(c[(Xj(b+12964|0,e)|0)>>2]|0)+10284>>2]=g;cp((c[(Xj(b+12964|0,e)|0)>>2]|0)+10280|0);g=rp(c[b+10280>>2]|0)|0;c[(c[(Xj(b+12964|0,e)|0)>>2]|0)+10280>>2]=g;e=e+1|0}while((e|0)<(c[b+12964>>2]|0))}$_(b+10300|0,c[b+10280>>2]|0);c[b+10312>>2]=d;if(a$(b+10300|0,1)|0){if(!(c[b+10308>>2]|0)){c[f>>2]=58536;c[f+4>>2]=715;$L(43560,58504,2,1702e3,f)}cp(b+10280|0);c[b+10280>>2]=rp(c[b+10308>>2]|0)|0}i=f;return}function qJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+96|0;e=c[a+5420>>2]|0;if((c[a+12964>>2]|0)>0){d=0;do{g=c[(c[(Xj(a+12964|0,d)|0)>>2]|0)+5420>>2]|0;e=(g|0)>(e|0)?g:e;d=d+1|0}while((d|0)<(c[a+12964>>2]|0))}c[a+10324>>2]=b;c[a+10316>>2]=e;d=a$(a+10300|0,0)|0;if(!(c[a+10304>>2]|0)){c[f>>2]=58536;c[f+4>>2]=745;$L(43560,58568,2,1702e3,f)}cp(a+10280|0);e=rp(c[a+10304>>2]|0)|0;c[a+10280>>2]=e;if((c[a+10312>>2]|0)!=(c[a+10316>>2]|0)){g=(Cp(e)|0)&65535;sfa(f,1714496,1,0,0,0,0,g,(up(c[a+10280>>2]|0)|0)&65535);s$(c[(d?a+10308|0:a+10304|0)>>2]|0,f);g$(a+10300|0,f+60|0);wk(f)}Y_(a+10300|0);i=f;return}function rJ(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;ml(a,d,e,f);c[a+12>>2]=b;c[a+16>>2]=b;c[a+20>>2]=g;AJ(g,a);return}function sJ(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;ml(a,d,e,f);NM(a+12|0);NM(a+16|0);fN(a+12|0,b);fN(a+16|0,b);c[a+20>>2]=g+40;BJ(g+40|0,a);return}function tJ(a,b,d,e,f){a=a|0;b=+b;d=d|0;e=e|0;f=f|0;ml(a,d,e,0);h[a+16>>3]=b;h[a+24>>3]=b;c[a+32>>2]=f+60;CJ(f+60|0,a);return}function uJ(d){d=d|0;c[d+16>>2]=0;c[d+20>>2]=0;c[d+0>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b[d+12>>1]=0;NM(d+24|0);a[d+28>>0]=0;a[d+29>>0]=1;a[d+30>>0]=0;a[d+31>>0]=1;return}function vJ(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;dJ(a,4);return}function wJ(a){a=a|0;DJ(a,c[a+32>>2]|0);return}function xJ(a){a=a|0;EJ(a,c[a+20>>2]|0);return}function yJ(a){a=a|0;FJ(a,c[a+20>>2]|0);RM(c[a+16>>2]|0);RM(c[a+12>>2]|0);return}function zJ(a){a=a|0;var b=0;b=c[a+164>>2]|0;if(b)Cna(b);b=c[a+184>>2]|0;if(b)Cna(b);return}function AJ(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){GJ(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function BJ(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){HJ(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function CJ(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){IJ(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function DJ(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if((c[b>>2]|0)>0){e=0;while(1){d=e+1|0;if((c[($k(b,e)|0)>>2]|0)==(a|0))break;if((d|0)<(c[b>>2]|0))e=d;else break a}JJ(b,e)}while(0);return}function EJ(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if((c[b>>2]|0)>0){e=0;while(1){d=e+1|0;if((c[(Yk(b,e)|0)>>2]|0)==(a|0))break;if((d|0)<(c[b>>2]|0))e=d;else break a}KJ(b,e)}while(0);return}function FJ(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if((c[b>>2]|0)>0){e=0;while(1){d=e+1|0;if((c[(_k(b,e)|0)>>2]|0)==(a|0))break;if((d|0)<(c[b>>2]|0))e=d;else break a}LJ(b,e)}while(0);return}function GJ(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)MJ(a,4);else MJ(a,b<<1);return}function HJ(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)NJ(a,4);else NJ(a,b<<1);return}function IJ(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)OJ(a,4);else OJ(a,b<<1);return}function JJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;if(!((b|0)>-1?(d=c[a>>2]|0,(d|0)>(b|0)):0)){c[g>>2]=1701680;c[g+4>>2]=705;$L(43560,1701640,2,1702e3,g);d=c[a>>2]|0}f=d+-1|0;if((f|0)>(b|0)){e=d+-1|0;d=b;do{b=d;d=d+1|0;h=c[a+8>>2]|0;c[h+(b<<2)>>2]=c[h+(d<<2)>>2]}while((d|0)!=(e|0))}c[a>>2]=f;i=g;return}function KJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;if(!((b|0)>-1?(d=c[a>>2]|0,(d|0)>(b|0)):0)){c[g>>2]=1701680;c[g+4>>2]=705;$L(43560,1701640,2,1702e3,g);d=c[a>>2]|0}f=d+-1|0;if((f|0)>(b|0)){e=d+-1|0;d=b;do{b=d;d=d+1|0;h=c[a+8>>2]|0;c[h+(b<<2)>>2]=c[h+(d<<2)>>2]}while((d|0)!=(e|0))}c[a>>2]=f;i=g;return}function LJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;if(!((b|0)>-1?(d=c[a>>2]|0,(d|0)>(b|0)):0)){c[g>>2]=1701680;c[g+4>>2]=705;$L(43560,1701640,2,1702e3,g);d=c[a>>2]|0}f=d+-1|0;if((f|0)>(b|0)){e=d+-1|0;d=b;do{b=d;d=d+1|0;h=c[a+8>>2]|0;c[h+(b<<2)>>2]=c[h+(d<<2)>>2]}while((d|0)!=(e|0))}c[a>>2]=f;i=g;return}function MJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function NJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function OJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function PJ(){c[14658]=c[n>>2];return}function QJ(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;j=i;i=i+16|0;do if(!(a[b+4962>>0]|0))e=7;else{f=c[d+152>>2]|0;if((f|0)!=0?(c[f+92>>2]|0)!=10:0){e=7;break}if(c[b+608>>2]|0)jN(58648,j);a[d+220>>0]=1}while(0);do if((e|0)==7){if(!(c[c[d+72>>2]>>2]|0)){c[j>>2]=58720;c[j+4>>2]=53;$L(58640,58680,2,1702e3,j)}RJ(b,d);zga(d);e=c[d+140>>2]|0;if((c[e+28>>2]|0)!=(c[(c[d+160>>2]|0)+8>>2]|0)?(Lw(j+12|0,e),f=c[j+12>>2]|0,l=VM(f)|0,k=c[(c[d+140>>2]|0)+28>>2]|0,e=c[(c[d+160>>2]|0)+8>>2]|0,c[j>>2]=l,c[j+4>>2]=k,c[j+8>>2]=e,jN(58744,j),RM(f),(c[(c[d+140>>2]|0)+28>>2]|0)!=(c[(c[d+160>>2]|0)+8>>2]|0)):0){c[j>>2]=58720;c[j+4>>2]=62;$L(58640,58808,2,1702e3,j)}if(!(mga(d)|0)?(jN(58864,j),nga(d,1,0),!(mga(d)|0)):0){c[j>>2]=58720;c[j+4>>2]=68;$L(58640,308432,2,1702e3,j)}if(a[b+9242>>0]|0){e=c[d+140>>2]|0;f=a[e+52>>0]|0;if((!(f<<24>>24==10|f<<24>>24==11|f<<24>>24==8)?(g=kT(b,e)|0,(g&255|0)==10|(g&255|0)==11|(g&255|0)==8):0)?(l=VM(c[(jk(c[d+140>>2]|0)|0)>>2]|0)|0,(IH(b,l,VM(c[(lk(c[d+140>>2]|0)|0)>>2]|0)|0)|0)<<16>>16>0):0)a[(c[d+140>>2]|0)+52>>0]=g;if((a[b+8770>>0]|0)!=0?(h=a[(c[d+140>>2]|0)+52>>0]|0,f<<24>>24!=h<<24>>24):0){c[j>>2]=f&255;c[j+4>>2]=h&255;jN(58928,j)}}e=c[d+140>>2]|0;if((e|0)==0^(c[d+144>>2]|0)==0){c[j>>2]=58720;c[j+4>>2]=91;$L(58640,58968,2,1702e3,j);e=c[d+140>>2]|0}if(((e|0)!=0?(c[e+28>>2]|0)!=0:0)?(l=LEa(VM(c[(jk(e)|0)>>2]|0)|0,1701816)|0,(l|0)!=(c[(c[d+140>>2]|0)+28>>2]|0)):0){a[d+220>>0]=0;break}a[d+220>>0]=1;Cja(d+212|0,c[(c[d+160>>2]|0)+8>>2]&65535);Ija(d+212|0)}while(0);i=j;return}function RJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,j=0,k=0;k=i;i=i+32|0;if((c[c[b+72>>2]>>2]|0)<=24){jT(a,b);j=c[c[b+156>>2]>>2]|0;f=c[b+140>>2]|0;e=c[f+28>>2]|0;if((e|0)>(j|0)){c[f+28>>2]=0;g[f+36>>2]=1.0e5;g[f+40>>2]=-3402823466385288598117041.0e14;f=VM(c[(jk(f)|0)>>2]|0)|0;e=c[(c[b+140>>2]|0)+28>>2]|0;c[k>>2]=f;c[k+4>>2]=e;c[k+8>>2]=j;jN(59032,k);jN(59104,k);yla(k+16|0,c[b+4>>2]|0);jv(k+16|0);e=c[(c[b+140>>2]|0)+28>>2]|0}if((e|0)<(j|0)?(h=HN(a+184|0,1701816)|0,d=c[b+140>>2]|0,(c[d+28>>2]|0)<(j|0)):0)do{Jia(d,h,+g[d+40>>2]);d=c[b+140>>2]|0}while((c[d+28>>2]|0)<(j|0))}else SJ(a,b);i=k;return}function SJ(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+32|0;e=c[d+72>>2]|0;if((c[e>>2]|0)>1){h=1;j=-2147483647;k=0;while(1){Eba(m+24|0,c[c[(Vy(e,h+-1|0)|0)>>2]>>2]|0);Eba(m+16|0,c[c[(Vy(c[d+72>>2]|0,h)|0)>>2]>>2]|0);f=(b[m+16>>1]|0)-(b[m+28>>1]|0)|0;g=(f|0)>(j|0);k=g?h:k;h=h+1|0;e=c[d+72>>2]|0;if((h|0)>=(c[e>>2]|0))break;else j=g?f:j}if((k|0)>0)e=k;else{e=k;l=5}}else{e=0;l=5}if((l|0)==5){c[m>>2]=58720;c[m+4>>2]=157;$L(58640,59120,2,1702e3,m)}c[m+12>>2]=0;c[m+8>>2]=0;TJ(a,d,e,m+12|0,m+8|0);RJ(a,d);l=c[m+12>>2]|0;RJ(a,l);UJ(a,d,l,c[m+8>>2]|0);i=m;return}function TJ(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+32|0;if(!((f|0)>0?(c[c[e+72>>2]>>2]|0)>(f|0):0)){c[p>>2]=58720;c[p+4>>2]=186;$L(58640,59136,2,1702e3,p)}j=c[e+152>>2]|0;if(!j)o=0;else{o=WEa(184)|0;VJ(o,j)}l=WEa(260)|0;qy(l,e);m=c[e+72>>2]|0;n=WEa(24)|0;WJ(n);a[n+20>>0]=0;XJ(n,(c[m>>2]|0)-f|0);j=c[m>>2]|0;if((j|0)>(f|0)){k=f;do{YJ(n,c[(Vy(m,k)|0)>>2]|0);k=k+1|0;j=c[m>>2]|0}while((k|0)<(j|0))}if((j|0)>(f|0))c[m>>2]=f;c[e+72>>2]=0;j=c[l+72>>2]|0;if(j){ZJ(j);YEa(j)}c[l+72>>2]=0;aga(e);aga(l);c[e+72>>2]=m;c[l+72>>2]=n;cga(e);cga(l);if(o){f=WEa(184)|0;Ax(f);c[e+152>>2]=f;f=WEa(184)|0;Ax(f);c[l+152>>2]=f;Eba(p+16|0,c[c[(_J(m)|0)>>2]>>2]|0);f=b[p+20>>1]|0;Eba(p+8|0,c[c[(Vy(c[l+72>>2]|0,0)|0)>>2]>>2]|0);maa(o,f,b[p+8>>1]|0,(a[d+4978>>0]|0)!=0,c[e+152>>2]|0,c[l+152>>2]|0)}c[g>>2]=l;c[h>>2]=o;i=p;return}function UJ(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+128|0;Eba(m+96|0,c[c[(_J(c[e+72>>2]|0)|0)>>2]>>2]|0);Eba(m+104|0,c[c[(Vy(c[f+72>>2]|0,0)|0)>>2]>>2]|0);$J(c[e+72>>2]|0,c[f+72>>2]|0);$J(c[e+156>>2]|0,c[f+156>>2]|0);aK(c[f+72>>2]|0);aK(c[f+156>>2]|0);b[m+112>>1]=((b[m+104>>1]|0)+(b[m+100>>1]|0)|0)/2|0;b[m+114>>1]=((b[m+98>>1]|0)+(b[m+102>>1]|0)+(b[m+110>>1]|0)+(b[m+106>>1]|0)|0)/4|0;l=WEa(36)|0;bK(l,m+112|0);cK(e+76|0,l);dK(e+76|0,f+76|0);if((c[f+76>>2]|0)>0)c[f+76>>2]=0;Yv(e+96|0,f+96|0);Yv(e+116|0,f+116|0);h=c[e+136>>2]|0;l=c[h+12>>2]|0;j=c[f+136>>2]|0;k=c[j+12>>2]|0;eK(h,j);if((c[(c[e+136>>2]|0)+12>>2]|0)!=(k+l|0)){c[m>>2]=58720;c[m+4>>2]=267;$L(58640,59200,2,1702e3,m)}Yv(e+164|0,f+164|0);Kia(c[e+144>>2]|0,c[f+144>>2]|0);c[m+64>>2]=0;pk(m+8|0,m+64|0);pk(m+36|0,e+148|0);pk(m+68|0,f+148|0);j=NL(e+148|0)|0;OL(m+68|0)|0;l=1;h=j;while(1){if(xk(m+68|0)|0)break;if((h|0)>99&(l|0)>2)break;qk(m+36|0);k=0;while(1){if((k|0)>=(j|0))break;if((h|0)>99&(k|0)>2)break;n=WEa(64)|0;fK(n,tk(m+36|0)|0);Kia(n,tk(m+68|0)|0);Ck(m+8|0,n);OL(m+36|0)|0;k=k+1|0;h=h+1|0}OL(m+68|0)|0;l=l+1|0}qk(m+36|0);qk(m+68|0);rk(m+36|0);while(1){if(sk(m+36|0)|0)break;n=tk(m+36|0)|0;Kia(n,tk(m+68|0)|0);OL(m+36|0)|0}SL(m+36|0);yk(m+36|0,m+64|0);if(g){naa(g,c[e+152>>2]|0,c[f+152>>2]|0,(a[d+4978>>0]|0)!=0);h=c[e+152>>2]|0;if(h){gK(h);YEa(h)}c[e+152>>2]=g}zga(e);Cja(e+212|0,c[(c[e+160>>2]|0)+8>>2]&65535);if(f){Qga(f);YEa(f)}KL(m+64|0,235);i=m;return}function VJ(a,b){a=a|0;b=b|0;zca(a+4|0);zca(a+36|0);ek(a+72|0);NM(a+96|0);NM(a+100|0);Ek(a+112|0);Ek(a+132|0);ey(a+164|0);Bx(a,b);hK(a,b);return}function WJ(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;XJ(a,4);return}function XJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function YJ(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){iK(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function ZJ(a){a=a|0;Xba(a);aK(a);return}function _J(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=669;$L(58640,375960,2,1702e3,d);b=c[a>>2]|0}i=d;return (c[a+8>>2]|0)+(b+-1<<2)|0}function $J(a,b){a=a|0;b=b|0;var d=0;XJ(a,(c[b>>2]|0)+(c[a>>2]|0)|0);if((c[b>>2]|0)>0){d=0;do{YJ(a,c[(c[b+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0}while((d|0)<(c[b>>2]|0))}return}function aK(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function bK(d,f){d=d|0;f=f|0;g[d>>2]=0.0;f=e[f>>1]|e[f+2>>1]<<16;b[d+4>>1]=f;b[d+6>>1]=f>>>16;a[d+8>>0]=0;a[d+9>>0]=0;a[d+10>>0]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;c[d+24>>2]=0;c[d+28>>2]=0;c[d+32>>2]=0;return}function cK(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){jK(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function dK(a,b){a=a|0;b=b|0;var d=0;iy(a,(c[b>>2]|0)+(c[a>>2]|0)|0);if((c[b>>2]|0)>0){d=0;do{cK(a,c[(c[b+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0}while((d|0)<(c[b>>2]|0))}return}function eK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=(c[b+12>>2]|0)+(c[a+12>>2]|0)|0;j=c[a+16>>2]|0;k=c[b+16>>2]|0;j=(j|0)<(k|0)?k:j;k=ba(j,l)|0;k=XEa(k>>>0>1073741823?-1:k<<2)|0;if((l|0)>0){g=0;do{if((j|0)>0){e=ba(g,j)|0;h=0;do{d=h+e|0;f=c[a+12>>2]|0;if((g|0)<(f|0))if((h|0)<(c[a+16>>2]|0)){f=Vc[c[(c[a>>2]|0)+12>>2]&63](a,g,h+g|0)|0;c[k+(d<<2)>>2]=c[(c[a+4>>2]|0)+(f<<2)>>2]}else i=11;else if((h|0)<(c[b+16>>2]|0)){f=g-f|0;f=Vc[c[(c[b>>2]|0)+12>>2]&63](b,f,f+h|0)|0;c[k+(d<<2)>>2]=c[(c[b+4>>2]|0)+(f<<2)>>2];f=g-(c[a+12>>2]|0)|0;f=Vc[c[(c[b>>2]|0)+12>>2]&63](b,f,f+h|0)|0;c[(c[b+4>>2]|0)+(f<<2)>>2]=0}else i=11;if((i|0)==11){i=0;c[k+(d<<2)>>2]=c[a+8>>2]}h=h+1|0}while((h|0)<(j|0))}g=g+1|0}while((g|0)!=(l|0));d=a+4|0}else d=a+4|0;e=c[d>>2]|0;if(e)ZEa(e);c[d>>2]=k;c[a+12>>2]=l;c[a+16>>2]=j;return}function fK(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=c[b+4>>2];NM(a+56|0);NM(a+60|0);Rv(a,c[b+28>>2]|0);Lia(a,b);return}function gK(a){a=a|0;ZEa(c[a+156>>2]|0);gy(a+164|0);Jk(a+132|0);Jk(a+112|0);RM(c[a+100>>2]|0);RM(c[a+96>>2]|0);Vj(a+72|0);Cca(a+36|0);Cca(a+4|0);return}function hK(b,d){b=b|0;d=d|0;var e=0,f=0;Dca(b+36|0,d+36|0);c[b+68>>2]=c[d+68>>2];c[b+92>>2]=c[d+92>>2];a[b+104>>0]=a[d+104>>0]|0;g[b+108>>2]=+g[d+108>>2];Hv(b+112|0,d+112|0);Hv(b+132|0,d+132|0);a[b+152>>0]=a[d+152>>0]|0;if(!(c[d+156>>2]|0))c[b+156>>2]=0;else{e=c[d+160>>2]|0;f=XEa((e|0)>-1?e:-1)|0;c[b+156>>2]=f;VGa(f|0,c[d+156>>2]|0,e|0)|0;c[b+160>>2]=e}return}function iK(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)XJ(a,4);else XJ(a,b<<1);return}function jK(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)iy(a,4);else iy(a,b<<1);return}function kK(a){a=a|0;c[a>>2]=59256;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=1;c[a+28>>2]=300;c[a+32>>2]=300;c[a+36>>2]=0;c[a+40>>2]=0;c[a+44>>2]=0;c[a+48>>2]=0;return}function lK(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[a+36>>2]=b;c[a+40>>2]=d;c[a+44>>2]=e;c[a+48>>2]=f;return}function mK(a){a=a|0;c[a>>2]=59256;cp(a+4|0);return}function nK(a){a=a|0;c[a>>2]=59256;cp(a+4|0);YEa(a);return}function oK(a){a=a|0;cp(a+4|0);return}function pK(a){a=a|0;return (a|0)==0|0}function qK(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0;o=i;i=i+16|0;k=(h|0)==0?1:h<<3;n=_o(f,g,(k|0)==24?32:k)|0;c[o+4>>2]=n;h=vp(n)|0;n=bp(n)|0;if((k|0)==8){if((g|0)>0){l=0;while(1){if((f|0)>0){k=0;do{a[(h+k^3)>>0]=a[e+k>>0]|0;k=k+1|0}while((k|0)!=(f|0))}l=l+1|0;if((l|0)==(g|0))break;else{e=e+j|0;h=h+(n<<2)|0}}}}else if((k|0)==1){if((g|0)>0){m=0;while(1){if((f|0)>0){k=0;do{l=-2147483648>>>(k&31);if(!((d[e+((k|0)/8|0)>>0]|0)&128>>>(k&7))){p=h+(k>>5<<2)|0;c[p>>2]=c[p>>2]|l}else{p=h+(k>>5<<2)|0;c[p>>2]=c[p>>2]&~l}k=k+1|0}while((k|0)!=(f|0))}m=m+1|0;if((m|0)==(g|0))break;else{e=e+j|0;h=h+(n<<2)|0}}}}else if((k|0)==32){if((g|0)>0){k=0;while(1){if((f|0)>0){l=0;do{p=l<<2;c[h+(l<<2)>>2]=(d[e+(p|1)>>0]|0)<<16|(d[e+p>>0]|0)<<24|(d[e+(p|2)>>0]|0)<<8|(d[e+(p|3)>>0]|0);l=l+1|0}while((l|0)!=(f|0))}k=k+1|0;if((k|0)==(g|0))break;else{e=e+j|0;h=h+(n<<2)|0}}}}else if((k|0)==24){if((g|0)>0){m=0;while(1){if((f|0)>0){k=h;l=0;while(1){p=l*3|0;a[(k^3)>>0]=a[e+p>>0]|0;a[(k+1^3)>>0]=a[e+(p+1)>>0]|0;a[(k+2^3)>>0]=a[e+(p+2)>>0]|0;l=l+1|0;if((l|0)==(f|0))break;else k=k+4|0}h=h+(f<<2)|0}m=m+1|0;if((m|0)==(g|0))break;else e=e+j|0}}}else{c[o>>2]=k;jN(59288,o)}p=c[o+4>>2]|0;Lp(p,300);rK(b,p);cp(o+4|0);i=o;return}function rK(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if(c[a+4>>2]|0)cp(a+4|0);gp(b,a+8|0,a+12|0,e);do if(((c[e>>2]|0)+-2|0)>>>0>=6)if(!(Ap(b)|0)){d=rp(b)|0;c[a+4>>2]=d;break}else{d=dr(b,4)|0;c[a+4>>2]=d;break}else{d=qr(b,0)|0;c[a+4>>2]=d}while(0);d=Dp(d)|0;c[e>>2]=d;c[a+16>>2]=(d|0)/8|0;c[a+20>>2]=bp(c[a+4>>2]|0)|0;c[a+24>>2]=1;b=Kp(b)|0;c[a+28>>2]=b;c[a+32>>2]=b;Qc[c[(c[a>>2]|0)+28>>2]&511](a);i=e;return}function sK(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;c[b>>2]=c[a+36>>2];c[d>>2]=c[a+40>>2];c[e>>2]=c[a+44>>2];c[f>>2]=c[a+48>>2];c[g>>2]=c[a+8>>2];c[h>>2]=c[a+12>>2];return}function tK(a,b,d){a=a|0;b=b|0;d=d|0;if(!(c[a+16>>2]|0))c[d>>2]=uK(a)|0;else vK(a,c[a+4>>2]|0,d);return}function uK(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;if(AK(a)|0)a=rp(c[a+4>>2]|0)|0;else{d=Fl(c[a+36>>2]|0,c[a+40>>2]|0,c[a+44>>2]|0,c[a+48>>2]|0)|0;c[b>>2]=d;a=Dq(c[a+4>>2]|0,d)|0;Kl(b)}i=b;return a|0}function vK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=i;i=i+16|0;h=Mfa(b,c[a+36>>2]|0,c[a+40>>2]|0,c[a+44>>2]|0,c[a+48>>2]|0,g+4|0,g)|0;f=c[g+4>>2]|0;e=c[g>>2]|0;zK(a,b,h,f,e,d);if(f)ZEa(f);if(e)ZEa(e);i=g;return}function wK(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;if(c[a+16>>2]|0){e=Tc[c[(c[a>>2]|0)+24>>2]&127](a)|0;c[d+8>>2]=e;b=Cp(e)|0;a=up(e)|0;Mfa(e,0,0,b,a,d+4|0,d)|0;cp(d+8|0);a=_o(b,a,8)|0;b=c[d+4>>2]|0;e=c[b>>2]|0;Xp(a,(e|0)>0?e:128);if(b)ZEa(b);b=c[d>>2]|0;if(b)ZEa(b)}else a=0;i=d;return a|0}function xK(a){a=a|0;var b=0,d=0;d=c[a+8>>2]|0;b=c[a+12>>2]|0;c[a+36>>2]=0;c[a+40>>2]=0;c[a+44>>2]=d;c[a+48>>2]=b;return}function yK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;a=uK(a)|0;c[d>>2]=a;b=Dp(a)|0;if((b|0)!=8){if((b|0)<8)a=qr(a,0)|0;else a=fr(a)|0;cp(d)}i=d;return a|0}function zK(a,b,e,f,g,h){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=_o(c[a+44>>2]|0,c[a+48>>2]|0,1)|0;c[h>>2]=p;p=vp(p)|0;n=bp(c[h>>2]|0)|0;o=bp(b)|0;m=vp(b)|0;b=c[a+48>>2]|0;if((b|0)>0){h=c[a+44>>2]|0;l=0;do{k=ba(l,n)|0;if((h|0)>0){i=m+((ba((c[a+40>>2]|0)+l|0,o)|0)<<2)|0;j=0;do{a:do if((e|0)>0){h=0;while(1){b=c[g+(h<<2)>>2]|0;if((b|0)>-1?(r=d[(i+((ba((c[a+36>>2]|0)+j|0,e)|0)+h)^3)>>0]|0,!((r|0)>(c[f+(h<<2)>>2]|0)^(b|0)==0)):0)break;h=h+1|0;if((h|0)>=(e|0)){q=9;break a}}r=p+((j>>5)+k<<2)|0;c[r>>2]=c[r>>2]|-2147483648>>>(j&31)}else q=9;while(0);if((q|0)==9){q=0;r=p+((j>>5)+k<<2)|0;c[r>>2]=c[r>>2]&~(-2147483648>>>(j&31))}j=j+1|0;h=c[a+44>>2]|0}while((j|0)<(h|0));b=c[a+48>>2]|0}l=l+1|0}while((l|0)<(b|0))}return}function AK(a){a=a|0;if(((c[a+36>>2]|0)==0?(c[a+40>>2]|0)==0:0)?(c[a+44>>2]|0)==(c[a+8>>2]|0):0)a=(c[a+48>>2]|0)==(c[a+12>>2]|0);else a=0;return a|0}function BK(a){a=a|0;if(a)YEa(a);return}function CK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if((c[b+8>>2]|0)>0){e=0;do{HK(a+20|0);HK(a);IK(a+40|0,0);if(d){IK(a+60|0,0);IK(a+80|0,0)}e=e+1|0}while((e|0)<(c[b+8>>2]|0))}return}function DK(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;wM(f);yM(f);EK(b,d,f,0,0,e);xM(c[f+4>>2]|0,a[f+8>>0]|0);i=f;return}function EK(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;u=i;i=i+464|0;if(f)jN(59384,u);t=XEa(670)|0;c[u+8>>2]=0;if(!((AM(e,t,670)|0)!=0?(n=a[t>>0]|0,n<<24>>24!=0):0)){c[u>>2]=59480;c[u+4>>2]=97;$L(59376,59408,2,1702e3,u);n=a[t>>0]|0}if(n<<24>>24==118){o=1;r=EGa(t+1|0,0,10)|0}else{BM(e);o=0;r=0}if(AM(e,t,670)|0)do{gk(t);if((f|0)>2){c[u>>2]=t;jN(59504,u)}o=o+1|0;if(FK(o,r,f,d,t,u+36|0,u+76|0,u+12|0,u+124|0,u+8|0)|0?(s=WEa(104)|0,c[s>>2]=0,c[s+4>>2]=-1,c[s+48>>2]=-1,c[s+92>>2]=-1,c[s+96>>2]=0,c[s+100>>2]=0,q=c[u+8>>2]|0,GK((q|0)==1?b+20|0:b,c[u+36>>2]|0,u+76|0,c[u+12>>2]|0,u+124|0,q,s,h)|0):0){if(((c[u+36>>2]|0)==1?(c[u+12>>2]|0)==1:0)&(c[u+8>>2]|0)==2){n=c[u+76>>2]|0;if(!(c[(JK(b+40|0,n)|0)>>2]|0)){q=WEa(20)|0;Ek(q);c[(JK(b+40|0,n)|0)>>2]=q}q=c[(JK(b+40|0,n)|0)>>2]|0;zv(q,c[s+92>>2]|0)}if(g){Ek(u+16|0);q=KN(h,u+124|0,1,u+16|0,0,0)|0;if(q&(c[u+36>>2]|0)>0){q=0;do{n=c[u+76+(q<<2)>>2]|0;if(!(c[(JK(b+60|0,n)|0)>>2]|0)){p=WEa(20)|0;Ek(p);c[(JK(b+60|0,n)|0)>>2]=p}k=c[(JK(b+60|0,n)|0)>>2]|0;if((c[u+16>>2]|0)>0){p=0;do{j=c[(Ik(u+16|0,p)|0)>>2]|0;if((j|0)==-1){c[u>>2]=59480;c[u+4>>2]=144;$L(59376,59520,2,1702e3,u)}n=c[k>>2]|0;a:do if((n|0)>0){l=0;while(1){v=(c[(Ik(k,l)|0)>>2]|0)>(j|0);m=l+1|0;n=c[k>>2]|0;if(!v){m=l;break a}if((m|0)<(n|0))l=m;else break}}else m=0;while(0);do if((m|0)<(n|0)){if((c[(Ik(k,m)|0)>>2]|0)==(j|0))break;KK(k,j,m)}else zv(k,j);while(0);p=p+1|0}while((p|0)<(c[u+16>>2]|0))}q=q+1|0}while((q|0)<(c[u+36>>2]|0))}Jk(u+16|0)}}}while((AM(e,t,670)|0)!=0);ZEa(t);if(g?(c[b+60>>2]|0)>0:0){l=0;do{k=c[(JK(b+60|0,l)|0)>>2]|0;if((k|0)!=0?(c[k>>2]|0)>0:0){m=0;do{j=c[(Ik(k,m)|0)>>2]|0;if(!(c[(JK(b+80|0,j)|0)>>2]|0)){v=WEa(20)|0;Ek(v);c[(JK(b+80|0,j)|0)>>2]=v}zv(c[(JK(b+80|0,j)|0)>>2]|0,l);m=m+1|0}while((m|0)<(c[k>>2]|0))}l=l+1|0}while((l|0)<(c[b+60>>2]|0))}if((f|0)>1){n=0;do{j=(n|0)==0;m=j?b+20|0:b;if((c[m>>2]|0)>0){j=j?59584:59600;l=0;do{k=c[(Gv(m,l)|0)>>2]|0;if(k){if(c[k>>2]|0){QN(u+68|0,h,l);v=c[u+68>>2]|0;f=VM(v)|0;c[u>>2]=j;c[u+4>>2]=f;jN(59560,u);RM(v)}pk(u+40|0,k);rk(u+40|0);if(!(sk(u+40|0)|0))do{v=tk(u+40|0)|0;jN(59616,u);LK(v+4|0,h);jN(59632,u);LK(v+48|0,h);OL(u+40|0)|0}while(!(sk(u+40|0)|0))}l=l+1|0}while((l|0)<(c[m>>2]|0))}n=n+1|0}while((n|0)<2);if(g){o=0;do{j=(o|0)==0;n=j?b+60|0:b+80|0;if((c[n>>2]|0)>0){k=j?1714496:59688;l=0;do{j=c[(JK(n,l)|0)>>2]|0;if(j){QN(u+72|0,h,l);v=c[u+72>>2]|0;g=VM(v)|0;c[u>>2]=k;c[u+4>>2]=g;jN(59656,u);RM(v);if((c[j>>2]|0)>0){m=0;do{QN(u+120|0,h,c[(Ik(j,m)|0)>>2]|0);v=c[u+120>>2]|0;c[u>>2]=VM(v)|0;jN(360528,u);RM(v);m=m+1|0}while((m|0)<(c[j>>2]|0))}jN(1714256,u)}l=l+1|0}while((l|0)<(c[n>>2]|0))}o=o+1|0}while((o|0)<2)}}i=u;return}function FK(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0;r=i;i=i+64|0;do if((d|0)<=1){g=NEa(g,r+4|0)|0;if(((g|0)!=0?(c[r>>2]=h,(zEa(g,383336,r)|0)!=0):0)?(o=c[h>>2]|0,(o|0)>=1):0){if((o|0)>10){if(!e){n=0;break}c[r>>2]=b;jN(59752,r);n=0;break}else g=0;do{o=NEa(0,r+4|0)|0;if(!o)break;if(!(UN(f,o)|0)){q=31;break}c[j+(g<<2)>>2]=HN(f,o)|0;g=g+1|0}while((g|0)<(c[h>>2]|0));if((q|0)==31)if(e){c[r>>2]=o;jN(59808,r)}c[j+(g<<2)>>2]=-1;if((((g|0)==(c[h>>2]|0)?(n=NEa(0,r+4|0)|0,(n|0)!=0):0)?(c[r>>2]=k,(zEa(n,383336,r)|0)!=0):0)?(p=c[k>>2]|0,(p|0)>=1):0){if((p|0)>10){if(!e){n=0;break}c[r>>2]=b;jN(59752,r);n=0;break}a[l>>0]=0;a:do if((c[k>>2]|0)>0){g=0;while(1){o=NEa(0,r+4|0)|0;if(!o){n=g;break a}ZGa(l|0,o|0)|0;n=g+1|0;if(!(UN(f,o)|0))break;if((n|0)<(c[k>>2]|0))g=n;else break a}if(!e)n=g;else{c[r>>2]=o;jN(59808,r);n=g}}else n=0;while(0);if((n|0)!=(c[k>>2]|0)){if(!e){n=0;break}c[r>>2]=b;jN(59704,r);n=0;break}if((d|0)<=0){n=1;break}n=NEa(0,r+4|0)|0;if((n|0)!=0?(c[r>>2]=m,(zEa(n,383336,r)|0)!=0):0){n=1;break}if(!e){n=0;break}c[r>>2]=b;jN(59704,r);n=0;break}if(!e){n=0;break}c[r>>2]=b;jN(59704,r);n=0;break}if(!e)n=0;else{c[r>>2]=b;jN(59704,r);n=0}}else{PM(r+48|0,g);ek(r+28|0);YM(r+48|0,32,r+28|0);if((c[r+28>>2]|0)!=3)if(!e)n=0;else{c[r>>2]=b;jN(59704,r);n=0}else{Ek(r+8|0);do if(KN(f,VM(c[(fk(r+28|0,0)|0)>>2]|0)|0,1,r+8|0,0,0)|0){n=c[r+8>>2]|0;c[h>>2]=n;if((n|0)>10){if(!e){n=0;break}c[r>>2]=b;jN(59752,r);n=0;break}if((n|0)>0){o=0;do{c[j+(o<<2)>>2]=c[(Ik(r+8|0,o)|0)>>2];o=o+1|0;n=c[r+8>>2]|0}while((o|0)<(n|0))}c[j+(n<<2)>>2]=-1;if(KN(f,VM(c[(fk(r+28|0,1)|0)>>2]|0)|0,1,r+8|0,0,0)|0){f=c[r+8>>2]|0;c[k>>2]=f;if((f|0)>10){if(!e){n=0;break}c[r>>2]=b;jN(59752,r);n=0;break}k=VM(c[(fk(r+28|0,2)|0)>>2]|0)|0;c[r>>2]=m;if((zEa(k,383336,r)|0)==1){c[r>>2]=VM(c[(fk(r+28|0,1)|0)>>2]|0)|0;wGa(l,330,383368,r)|0;n=1;break}if(e){c[r>>2]=b;jN(59704,r);n=0}else n=0}else n=0}else n=0;while(0);Jk(r+8|0)}Vj(r+28|0);RM(c[r+48>>2]|0)}while(0);i=r;return n|0}function GK(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0;l=i;i=i+16|0;c[j+96>>2]=h;if((d|0)==1&(f|0)==1?(h=MK(k,c[e>>2]|0)|0,(h|0)==(MK(k,HN(k,g)|0)|0)):0)c[j+96>>2]=4;c[j+100>>2]=NK(e,j+4|0)|0;DN(k,g);h=HN(k,g)|0;c[j+92>>2]=h;if((f|0)>1)a[(c[k>>2]|0)+(h*112|0)+37>>0]=1;if((d|0)>0){h=0;do{if((d|0)==1)f=c[j+92>>2]|0;else{dO(l,g,h,d,0);m=c[l>>2]|0;DN(k,VM(m)|0);f=HN(k,VM(m)|0)|0;RM(m)}c[j+(h<<2)+48>>2]=f;h=h+1|0}while((h|0)<(d|0))}else h=0;c[j+(h<<2)+48>>2]=-1;if(!(c[(Gv(b,c[e>>2]|0)|0)>>2]|0)){m=WEa(4)|0;c[m>>2]=0;c[(Gv(b,c[e>>2]|0)|0)>>2]=m}if((QL(c[(Gv(b,c[e>>2]|0)|0)>>2]|0,35,1,j)|0)!=(j|0))if(!j)h=0;else{YEa(j);h=0}else h=1;i=l;return h|0}function HK(a){a=a|0;var b=0;b=c[a>>2]|0;if((b|0)==(c[a+4>>2]|0)){PK(a);b=c[a>>2]|0}c[a>>2]=b+1;c[(c[a+8>>2]|0)+(b<<2)>>2]=0;return}function IK(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){QK(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function JK(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function KK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=i;i=i+16|0;if(!((d|0)>-1?(e=c[a>>2]|0,(e|0)>=(d|0)):0)){c[g>>2]=1701680;c[g+4>>2]=691;$L(59376,375920,2,1702e3,g);e=c[a>>2]|0}if((c[a+4>>2]|0)==(e|0)){Vv(a);e=c[a>>2]|0}f=c[a+8>>2]|0;if((e|0)>(d|0))do{h=e;e=e+-1|0;c[f+(h<<2)>>2]=c[f+(e<<2)>>2]}while((e|0)>(d|0));c[f+(d<<2)>>2]=b;c[a>>2]=(c[a>>2]|0)+1;i=g;return}function LK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;d=c[a>>2]|0;if((d|0)==-1){jN(59856,g);d=c[a>>2]|0;if((d|0)!=-1){e=a;f=3}}else{e=a;f=3}if((f|0)==3)while(1){e=e+4|0;c[g>>2]=MN(b,d)|0;jN(360528,g);d=c[e>>2]|0;if((d|0)==-1)break;else f=3}jN(59864,g);d=c[a>>2]|0;if((d|0)!=-1)do{a=a+4|0;c[g>>2]=d;jN(333280,g);d=c[a>>2]|0}while((d|0)!=-1);jN(358704,g);i=g;return}function MK(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((d|0)!=-1){if(!(ay(b,d)|0)){c[e>>2]=373648;c[e+4>>2]=654;$L(59376,373616,2,1702e3,e)}b=c[b>>2]|0;if(!(a[b+(d*112|0)+33>>0]|0))d=c[b+(d*112|0)+72>>2]|0}else d=-1;i=e;return d|0}function NK(a,b){a=a|0;b=b|0;var d=0,e=0;d=0;while(1){e=c[a+(d<<2)>>2]|0;c[b+(d<<2)>>2]=e;if((e|0)==-1)break;else d=d+1|0}return d|0}function OK(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;b=c[b>>2]|0;a=RK(d+4|0,b+4|0)|0;if(!a)a=RK(d+48|0,b+48|0)|0;return a|0}function PK(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)SK(a,4);else SK(a,b<<1);return}function QK(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)TK(a,4);else TK(a,b<<1);return}function RK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=c[a>>2]|0;a:do if((d|0)==-1){d=b;f=6}else{e=a;while(1){a=c[b>>2]|0;if((a|0)==-1){f=7;break a}if((d|0)!=(a|0))break;e=e+4|0;a=b+4|0;d=c[e>>2]|0;if((d|0)==-1){d=a;f=6;break a}else b=a}d=(d|0)<(a|0)?-1:1}while(0);if((f|0)==6)if((c[d>>2]|0)==-1)d=0;else{d=-1;f=7}if((f|0)==7)d=(d|0)==-1?-1:1;return d|0}function SK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function TK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function UK(a,c){a=a|0;c=c|0;b[a>>1]=c;return}function VK(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;return}function WK(a,b){a=a|0;b=b|0;var d=0;d=((c[a>>2]|0)+31|0)/32|0;c[a>>2]=b;if(((b+31|0)/32|0|0)!=(d|0)){d=c[a+4>>2]|0;if(d)ZEa(d);c[a+4>>2]=XEa(((b+31|0)/32|0)>>>0>1073741823?-1:((b+31|0)/32|0)<<2)|0}return}function XK(a){a=a|0;if(a)ZEa(a);return}function YK(a,b){a=a|0;b=b|0;WK(a,b);YGa(c[a+4>>2]|0,0,(((c[a>>2]|0)+31|0)/32|0)<<2|0)|0;return}function ZK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((a|0)>0){d=0;e=0;do{f=c[b+(e<<2)>>2]|0;d=(c[59872+(f>>>24<<2)>>2]|0)+((c[59872+((f>>>16&255)<<2)>>2]|0)+((c[59872+((f>>>8&255)<<2)>>2]|0)+((c[59872+((f&255)<<2)>>2]|0)+d)))|0;e=e+1|0}while((e|0)<((a+31|0)/32|0|0))}else d=0;return d|0}function _K(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if((c|0)>1){d=0;do{g=b+d|0;f=a[g>>0]|0;e=b+(c+-1-d)|0;a[g>>0]=a[e>>0]|0;a[e>>0]=f;d=d+1|0}while((d|0)<((c|0)/2|0|0))}return}function $K(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (b|0)/32|0|0;Ja(60896,60928,114,60952);return 0}function aL(a){a=a|0;var b=0,d=0;c[a>>2]=61080;NM(a+4|0);NM(a+8|0);NM(a+12|0);NM(a+16|0);hL(a+24|0);CN(a+184|0);iL(a+256|0);NM(a+356|0);NM(a+360|0);b=a+364|0;d=b+80|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));jL(a+364|0);sJ(a+444|0,62736,61088,61104,1,a+364|0);rJ(a+468|0,0,61136,61160,1,a+364|0);Wk(a+492|0,0,61200,61240,0,a+364|0);Wk(a+508|0,0,61304,61328,0,a+364|0);return}function bL(a){a=a|0;c[a>>2]=61080;Xk(a+508|0);Xk(a+492|0);xJ(a+468|0);yJ(a+444|0);kL(a+364|0);RM(c[a+360>>2]|0);RM(c[a+356>>2]|0);lL(a+256|0);EN(a+184|0);RM(c[a+164>>2]|0);RM(c[a+16>>2]|0);RM(c[a+12>>2]|0);RM(c[a+8>>2]|0);RM(c[a+4>>2]|0);return}function cL(a){a=a|0;bL(a);YEa(a);return}function dL(a){a=a|0;Lc(a|0,0)|0;return}function eL(a){a=a|0;qc(a|0)|0;return}function fL(a){a=a|0;yc(a|0)|0;return}function gL(){c[15242]=1701984;c[15244]=389976;c[15246]=390024;c[15248]=390056;c[15250]=390112;c[15252]=390152;c[15254]=390184;c[15256]=390240;c[15258]=390280;c[15260]=390328;c[15262]=390376;c[15264]=390400;c[15266]=390432;Lc(61384,0)|0;return}function hL(a){a=a|0;NM(a+140|0);c[a+144>>2]=0;c[a+136>>2]=0;YGa(a|0,-1,136)|0;return}function iL(a){a=a|0;mL(a);mL(a+20|0);nL(a+40|0);nL(a+60|0);nL(a+80|0);return}function jL(a){a=a|0;qL(a);rL(a+20|0);sL(a+40|0);tL(a+60|0);return}function kL(a){a=a|0;xL(a+60|0);uL(a+40|0);vL(a+20|0);wL(a);return}function lL(a){a=a|0;yL(a+20|0);yL(a);zL(a+40|0);oL(a+80|0);oL(a+60|0);oL(a+40|0);pL(a+20|0);pL(a);return}function mL(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;SK(a,4);return}function nL(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;TK(a,4);return}function oL(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function pL(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function qL(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;MJ(a,4);return}function rL(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;ul(a,4);return}function sL(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;NJ(a,4);return}function tL(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;OJ(a,4);return}function uL(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function vL(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function wL(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function xL(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function yL(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){KL(d,236);YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function zL(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){Jk(d);YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function AL(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if(!a)$L(61448,61488,2,0,e);d=c[a>>2]|0;if((d|0)!=0?(b=c[d>>2]|0,c[d>>2]=0,c[a>>2]=0,(b|0)!=0):0)do{a=b;b=c[b>>2]|0;_1(c[a+4>>2]|0);YEa(a)}while((b|0)!=0);i=e;return}function BL(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if(!a)$L(61448,61520,2,0,e);d=c[a>>2]|0;if((d|0)!=0?(b=c[d>>2]|0,c[d>>2]=0,c[a>>2]=0,(b|0)!=0):0)do{a=b;b=c[b>>2]|0;YEa(a)}while((b|0)!=0);i=e;return}function CL(a){a=a|0;var b=0;b=i;i=i+32|0;fA(b+4|0,a);if(!a)$L(61448,61544,2,0,b);gA(b+4|0);if(!((hA(b+4|0)|0)<<24>>24)){a=0;do{a=a+1|0;DL(b+4|0)|0}while((hA(b+4|0)|0)<<24>>24==0)}else a=0;i=b;return a|0}function DL(b){b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;if(!b)$L(61448,61576,2,0,f);d=c[b>>2]|0;if(!d){$L(61440,61576,2,0,f);d=c[b>>2]|0}if(!(c[d>>2]|0))d=0;else{d=c[b+8>>2]|0;if(!d)if(!(a[b+17>>0]|0)){e=b+12|0;d=b+12|0}else{c[b+20>>2]=c[b+12>>2];e=b+12|0;d=b+12|0}else{c[b+4>>2]=d;a[b+24>>0]=1;e=b+12|0}g=c[d>>2]|0;c[b+8>>2]=g;d=c[g>>2]|0;c[e>>2]=d;if(!g){$L(61456,61576,2,0,f);d=c[e>>2]|0}if(!d){g=c[b+8>>2]|0;c[f>>2]=b;c[f+4>>2]=g;$L(61464,61576,2,62424,f)}d=c[(c[b+8>>2]|0)+4>>2]|0}i=f;return d|0}function EL(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+32|0;fA(f+4|0,a);if(!a)$L(61448,61560,2,0,f);d=CL(a)|0;e=UFa(d<<2)|0;gA(f+4|0);if(!((hA(f+4|0)|0)<<24>>24)){a=e;while(1){c[a>>2]=ZA(f+4|0)|0;DL(f+4|0)|0;if(!((hA(f+4|0)|0)<<24>>24))a=a+4|0;else break}}DEa(e,d,4,b);if((d|0)>0){a=e;b=0;while(1){JC(f+4|0,c[a>>2]|0);b=b+1|0;if((b|0)==(d|0))break;else a=a+4|0}}VFa(e);i=f;return}function FL(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+48|0;c[g+32>>2]=d;e=c[a>>2]|0;a:do if(e){if((bd[b&63](e+4|0,g+32|0)|0)<0){b=c[a>>2]|0;d=c[g+32>>2]|0;f=4;break}if((c[(c[a>>2]|0)+4>>2]|0)!=(c[g+32>>2]|0)){fA(g+4|0,a);gA(g+4|0);b:do if(!((hA(g+4|0)|0)<<24>>24))do{a=iA(g+4|0)|0;c[g>>2]=a;if((a|0)==(c[g+32>>2]|0))break a;if((bd[b&63](g,g+32|0)|0)>0)break b;DL(g+4|0)|0}while((hA(g+4|0)|0)<<24>>24==0);while(0);a=(hA(g+4|0)|0)<<24>>24==0;e=c[g+32>>2]|0;if(a){JL(g+4|0,e);break}else{JC(g+4|0,e);break}}}else{b=0;f=4}while(0);if((f|0)==4){e=WEa(8)|0;c[e>>2]=0;c[e+4>>2]=d;if(!b)c[e>>2]=e;else{c[e>>2]=c[b>>2];c[b>>2]=e}c[a>>2]=e}i=g;return}function GL(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+64|0;BL(a);fA(f+36|0,b);fA(f+8|0,d);gA(f+36|0);if(!((hA(f+36|0)|0)<<24>>24))do{d=iA(f+36|0)|0;c[f+4>>2]=d;c[f>>2]=0;if(!((aB(f+8|0)|0)<<24>>24)){b=iA(f+8|0)|0;c[f>>2]=b;a:do if(!((kA(f+8|0)|0)<<24>>24))do{if((dB(f,f+4|0)|0)>=0)break a;DL(f+8|0)|0;b=iA(f+8|0)|0;c[f>>2]=b}while((kA(f+8|0)|0)<<24>>24==0);while(0);if(!((b|0)!=0?(dB(f,f+4|0)|0)==0:0))e=9}else e=9;if((e|0)==9){e=0;FL(a,28,d)}DL(f+36|0)|0}while((hA(f+36|0)|0)<<24>>24==0);i=f;return}function HL(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!a)$L(61448,61600,2,0,e);d=c[a>>2]|0;if(!d){$L(61440,61600,2,0,e);d=c[a>>2]|0}if(!(c[d>>2]|0))$L(61472,61600,2,0,e);if(b<<24>>24<-1)$L(61480,61600,2,61984,e);if(b<<24>>24!=-1){d=c[a+8>>2]|0;if(!d)d=c[a+4>>2]|0;if(b<<24>>24>0)do{b=b+-1<<24>>24;d=c[d>>2]|0}while(b<<24>>24>0)}else d=c[a+4>>2]|0;if(!d)$L(61456,61600,2,0,e);i=e;return c[d+4>>2]|0}function IL(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(!a)$L(61448,61632,2,0,d);b=c[a>>2]|0;if(!b){$L(61440,61632,2,0,d);b=c[a>>2]|0}if((c[a+8>>2]|0)!=(c[b>>2]|0))do DL(a)|0;while((c[a+8>>2]|0)!=(c[c[a>>2]>>2]|0));i=d;return}function JL(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if(!b)$L(61448,61664,2,0,g);if(!(c[b>>2]|0))$L(61440,61664,2,0,g);if(!d)$L(61480,61664,2,312520,g);f=WEa(8)|0;c[f>>2]=0;c[f+4>>2]=d;e=c[b>>2]|0;do if(c[e>>2]|0){c[c[b+4>>2]>>2]=f;d=c[b+8>>2]|0;if(d){c[f>>2]=d;c[b+12>>2]=d;d=b+8|0;break}c[f>>2]=c[b+12>>2];if(a[b+16>>0]|0)c[e>>2]=f;if(!(a[b+17>>0]|0))d=b+8|0;else{c[b+20>>2]=f;d=b+8|0}}else{c[f>>2]=f;c[e>>2]=f;c[b+12>>2]=f;c[b+4>>2]=f;d=b+8|0}while(0);c[d>>2]=f;i=g;return}function KL(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;if(!a)$L(61712,61752,2,0,f);e=c[a>>2]|0;if((e|0)!=0?(d=c[e>>2]|0,c[e>>2]=0,c[a>>2]=0,(d|0)!=0):0)do{a=d;d=c[d>>2]|0;Qc[b&511](a)}while((d|0)!=0);i=f;return}function LL(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+4>>2]=61776;if(!a)$L(61712,61840,2,0,e);if(c[a>>2]|0)$L(e+4|0,61872,2,0,e);c[a>>2]=ML(b,d)|0;i=e;return}function ML(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+48|0;c[h+40>>2]=62048;c[h+36>>2]=62104;c[h+32>>2]=62160;c[h+4>>2]=c[b+0>>2];c[h+8>>2]=c[b+4>>2];c[h+12>>2]=c[b+8>>2];c[h+16>>2]=c[b+12>>2];c[h+20>>2]=c[b+16>>2];c[h+24>>2]=c[b+20>>2];c[h+28>>2]=c[b+24>>2];if(!b)$L(61712,62208,2,0,h);if(!d)$L(61744,62208,2,62032,h);e=c[b>>2]|0;if(!e){$L(61704,62208,2,0,h);e=c[b>>2]|0}if((e|0)!=(c[d>>2]|0)){$L(h+40|0,62240,2,0,h);e=c[b>>2]|0}if(!(c[e>>2]|0))$L(61736,62208,2,0,h);if(!((c[b+8>>2]|0)!=0?(c[d+8>>2]|0)!=0:0))$L(h+36|0,62240,2,0,h);a[d+16>>0]=0;a[b+16>>0]=0;a[b+17>>0]=0;a[d+17>>0]=0;rk(h+4|0);do{if(sk(h+4|0)|0)$L(h+32|0,62240,2,0,h);if(Ov(h+4|0)|0){c[c[b>>2]>>2]=c[b+4>>2];a[d+16>>0]=1;a[b+16>>0]=1}e=c[h+12>>2]|0;if((e|0)==(c[b+20>>2]|0))a[b+17>>0]=1;if((e|0)==(c[d+20>>2]|0))a[d+17>>0]=1;OL(h+4|0)|0;g=c[h+8>>2]|0}while((g|0)!=(c[d+8>>2]|0));c[g>>2]=c[b+8>>2];e=c[b+4>>2]|0;if((e|0)==(g|0)){c[c[b>>2]>>2]=0;c[b+8>>2]=0;c[b+4>>2]=0;c[d+12>>2]=0;c[d+8>>2]=0;e=0;f=0}else{f=c[d+12>>2]|0;c[e>>2]=f;c[d+8>>2]=0;c[b+8>>2]=0}c[b+12>>2]=f;c[d+4>>2]=e;i=h;return g|0}function NL(a){a=a|0;var b=0;b=i;i=i+32|0;pk(b+4|0,a);if(!a)$L(61712,61896,2,0,b);rk(b+4|0);if(sk(b+4|0)|0)a=0;else{a=0;do{a=a+1|0;OL(b+4|0)|0}while(!(sk(b+4|0)|0))}i=b;return a|0}function OL(b){b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;if(!b)$L(61712,61928,2,0,f);d=c[b>>2]|0;if(!d){$L(61704,61928,2,0,f);d=c[b>>2]|0}if(!(c[d>>2]|0))d=0;else{d=c[b+8>>2]|0;if(!d)if(!(a[b+17>>0]|0)){e=b+12|0;d=b+12|0}else{c[b+20>>2]=c[b+12>>2];e=b+12|0;d=b+12|0}else{c[b+4>>2]=d;a[b+24>>0]=1;e=b+12|0}g=c[d>>2]|0;c[b+8>>2]=g;d=c[g>>2]|0;c[e>>2]=d;if(!g){$L(61720,61928,2,0,f);d=c[e>>2]|0}if(!d){g=c[b+8>>2]|0;c[f>>2]=b;c[f+4>>2]=g;$L(61728,61928,2,62424,f)}d=c[b+8>>2]|0}i=f;return d|0}function PL(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+32|0;pk(f+4|0,a);if(!a)$L(61712,61912,2,0,f);d=NL(a)|0;e=UFa(d<<2)|0;rk(f+4|0);if(!(sk(f+4|0)|0)){a=e;while(1){c[a>>2]=pv(f+4|0)|0;OL(f+4|0)|0;if(sk(f+4|0)|0)break;else a=a+4|0}}DEa(e,d,4,b);if((d|0)>0){a=e;b=0;while(1){qv(f+4|0,c[a>>2]|0);b=b+1|0;if((b|0)==(d|0))break;else a=a+4|0}}VFa(e);i=f;return}function QL(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+48|0;c[g+32>>2]=e;a:do if(c[a>>2]|0){if((bd[b&63](a,g+32|0)|0)<0){e=c[a>>2]|0;if(!e){e=c[g+32>>2]|0;f=5;break}else{c[c[g+32>>2]>>2]=c[e>>2];c[e>>2]=c[g+32>>2];f=7;break}}pk(g+4|0,a);rk(g+4|0);b:do if(!(sk(g+4|0)|0))do{c[g>>2]=tk(g+4|0)|0;e=bd[b&63](g,g+32|0)|0;if((e|0)>0)break b;if((e|0)==0&d){e=g;break a}OL(g+4|0)|0}while(!(sk(g+4|0)|0));while(0);a=sk(g+4|0)|0;e=c[g+32>>2]|0;if(a){qv(g+4|0,e);e=g+32|0;break}else{BB(g+4|0,e);e=g+32|0;break}}else f=5;while(0);if((f|0)==5){c[e>>2]=e;f=7}if((f|0)==7){c[a>>2]=c[g+32>>2];e=g+32|0}i=g;return c[e>>2]|0}function RL(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!a)$L(61712,61952,2,0,e);d=c[a>>2]|0;if(!d){$L(61704,61952,2,0,e);d=c[a>>2]|0}if(!(c[d>>2]|0))$L(61736,61952,2,0,e);if(b<<24>>24<-1)$L(61744,61952,2,61984,e);if(b<<24>>24!=-1){d=c[a+8>>2]|0;if(!d)d=c[a+4>>2]|0;if(b<<24>>24>0)do{b=b+-1<<24>>24;d=c[d>>2]|0}while(b<<24>>24>0)}else d=c[a+4>>2]|0;if(!d)$L(61720,61952,2,0,e);i=e;return d|0}function SL(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(!a)$L(61712,62e3,2,0,d);b=c[a>>2]|0;if(!b){$L(61704,62e3,2,0,d);b=c[a>>2]|0}if((c[a+8>>2]|0)!=(c[b>>2]|0))do OL(a)|0;while((c[a+8>>2]|0)!=(c[c[a>>2]>>2]|0));i=d;return}function TL(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;if(!a)$L(62280,62336,2,0,f);e=c[a>>2]|0;if((e|0)!=0?(d=c[e+4>>2]|0,c[e+4>>2]=0,c[a>>2]=0,(d|0)!=0):0)do{a=d;d=c[d+4>>2]|0;Qc[b&511](a)}while((d|0)!=0);i=f;return}function UL(a){a=a|0;var b=0;b=i;i=i+32|0;Lk(b+4|0,a);if(!a)$L(62280,62360,2,0,b);Mk(b+4|0);if(!((Nk(b+4|0)|0)<<24>>24)){a=0;do{a=a+1|0;VL(b+4|0)}while((Nk(b+4|0)|0)<<24>>24==0)}else a=0;i=b;return a|0}function VL(b){b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;if(!b)$L(62280,62392,2,0,f);d=c[b>>2]|0;if(!d){$L(62272,62392,2,0,f);d=c[b>>2]|0}if(c[d>>2]|0){d=c[b+8>>2]|0;if(!d)if(!(a[b+17>>0]|0)){e=b+12|0;d=b+12|0}else{c[b+20>>2]=c[b+12>>2];e=b+12|0;d=b+12|0}else{c[b+4>>2]=d;a[b+24>>0]=1;e=b+12|0;d=d+4|0}g=c[d>>2]|0;c[b+8>>2]=g;d=c[g+4>>2]|0;c[e>>2]=d;if(!g){$L(62288,62392,2,0,f);d=c[e>>2]|0}if(!d){g=c[b+8>>2]|0;c[f>>2]=b;c[f+4>>2]=g;$L(62296,62392,2,62424,f)}}i=f;return}function WL(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+32|0;Lk(f+4|0,a);if(!a)$L(62280,62376,2,0,f);d=UL(a)|0;e=UFa(d<<2)|0;Mk(f+4|0);if(!((Nk(f+4|0)|0)<<24>>24)){a=e;while(1){c[a>>2]=hv(f+4|0)|0;VL(f+4|0);if(!((Nk(f+4|0)|0)<<24>>24))a=a+4|0;else break}}DEa(e,d,4,b);if((d|0)>0){a=e;b=0;while(1){ov(f+4|0,c[a>>2]|0);b=b+1|0;if((b|0)==(d|0))break;else a=a+4|0}}VFa(e);i=f;return}function XL(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+48|0;c[f+32>>2]=b;d=c[a>>2]|0;do if(d){if((r4(a,f+32|0)|0)<0){c[b+4>>2]=c[d+4>>2];c[b>>2]=d;c[d+4>>2]=b;c[c[b+4>>2]>>2]=b;e=5;break}Lk(f+4|0,a);Mk(f+4|0);a:do if(!((Nk(f+4|0)|0)<<24>>24))do{c[f>>2]=Ok(f+4|0)|0;if((r4(f,f+32|0)|0)>0)break a;VL(f+4|0)}while((Nk(f+4|0)|0)<<24>>24==0);while(0);if(!((Nk(f+4|0)|0)<<24>>24)){_L(f+4|0,b);break}else{ov(f+4|0,b);break}}else{c[b+4>>2]=b;c[b>>2]=b;e=5}while(0);if((e|0)==5)c[a>>2]=b;i=f;return}function YL(b){b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;if(!b)$L(62280,62456,2,0,f);d=c[b>>2]|0;if(!d){$L(62272,62456,2,0,f);d=c[b>>2]|0}if(c[d>>2]|0){d=c[b+8>>2]|0;if(!d)if(!(a[b+17>>0]|0)){e=b+4|0;d=b+4|0}else{c[b+20>>2]=c[b+4>>2];e=b+4|0;d=b+4|0}else{c[b+12>>2]=d;a[b+24>>0]=1;e=b+4|0}g=c[d>>2]|0;c[b+8>>2]=g;d=c[g>>2]|0;c[e>>2]=d;if(!g){$L(62288,62456,2,0,f);d=c[e>>2]|0}if(!d){g=c[b+8>>2]|0;c[f>>2]=b;c[f+4>>2]=g;$L(62304,62456,2,62424,f)}}i=f;return}function ZL(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!a)$L(62280,62488,2,0,e);d=c[a>>2]|0;if(!d){$L(62272,62488,2,0,e);d=c[a>>2]|0}if(!(c[d>>2]|0))$L(62312,62488,2,0,e);d=c[a+8>>2]|0;if(b<<24>>24>=0){if(!d)d=c[a+4>>2]|0;if(b<<24>>24>0)do{b=b+-1<<24>>24;d=c[d+4>>2]|0}while(b<<24>>24>0)}else{if(!d)d=c[a+12>>2]|0;do{b=b+1<<24>>24;d=c[d>>2]|0}while(b<<24>>24<0)}if(!d)$L(62288,62488,2,0,e);i=e;return d|0}function _L(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if(!b)$L(62280,62520,2,0,g);if(!(c[b>>2]|0))$L(62272,62520,2,0,g);if(!d)$L(62320,62520,2,319904,g);if(c[d+4>>2]|0)$L(62328,62520,2,0,g);f=c[b>>2]|0;do if(c[f>>2]|0){e=c[b+4>>2]|0;c[e+4>>2]=d;c[d>>2]=e;e=c[b+8>>2]|0;if(e){c[d+4>>2]=e;c[e>>2]=d;c[b+12>>2]=e;e=b+8|0;break}e=c[b+12>>2]|0;c[d+4>>2]=e;c[e>>2]=d;if(a[b+16>>0]|0)c[f>>2]=d;if(!(a[b+17>>0]|0))e=b+8|0;else{c[b+20>>2]=d;e=b+8|0}}else{c[d+4>>2]=d;c[d>>2]=d;c[f>>2]=d;c[b+12>>2]=d;c[b+4>>2]=d;e=b+8|0}while(0);c[e>>2]=d;i=g;return}function $L(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;k=i;i=i+1056|0;if(!d){j=0;h=k+24|0}else{c[k>>2]=d;h=xGa(k+24|0,62592,k)|0;j=h;h=k+24+h|0}c[k>>2]=c[b>>2];d=xGa(h,62600,k)|0;h=k+24+(d+j)|0;if(!f){a[h>>0]=10;a[h+1>>0]=0}else{a[h>>0]=58;a[h+1>>0]=0;j=d+1+j|0;c[k+8>>2]=g;g=k+24+(j+(AGa(k+24+j|0,f,k+8|0)|0))|0;a[g>>0]=10;a[g+1>>0]=0}Jc(k+24|0,c[n>>2]|0)|0;if((e|0)==2|(e|0)==1)dc();else if(!((e|0)==0|(e|0)==-1))$L(62560,62616,2,0,k);i=k;return}function aM(){var a=0;a=i;i=i+16|0;c[a>>2]=62672;c[a+4>>2]=75;$L(62624,62632,2,1702e3,a);i=a;return}function bM(a,b){a=a|0;b=b|0;if((xb(a|0,4,1,b|0)|0)==1){b=xb(c[a+8>>2]|0,4,c[a>>2]|0,b|0)|0;b=(b|0)==(c[a>>2]|0)}else b=0;return b|0}function cM(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((Ha(f|0,4,1,d|0)|0)==1){if(b)_K(f,4);e=c[f>>2]|0;il(a,e);c[a>>2]=e;e=Ha(c[a+8>>2]|0,4,e|0,d|0)|0;d=(e|0)!=(c[a>>2]|0);if(!(d|b^1))if((e|0)>0){d=0;do{_K((c[a+8>>2]|0)+(d<<2)|0,4);d=d+1|0}while((d|0)<(c[a>>2]|0));d=1}else d=1;else d=d^1}else d=0;i=f;return d|0}function dM(a,b,d){a=a|0;b=b|0;d=d|0;fN(a+8|0,d);do if(!b){b=Xb(62696)|0;if(!b){fN(a+4|0,62712);break}else{fN(a+4|0,b);break}}else fN(a+4|0,b);while(0);do if(SM(a+4|0)|0){b=SM(a+4|0)|0;if((b|0)>7){if(!(HGa(XM(c[a+4>>2]|0,b+-8|0)|0,62720)|0)){TM(a+4|0,b+-8|0);break}if((b|0)>8?(HGa(XM(c[a+4>>2]|0,b+-9|0)|0,62736)|0)==0:0)TM(a+4|0,b+-9|0)}}else fN(a+4|0,62712);while(0);b=VM(c[a+4>>2]|0)|0;b=b+((SM(a+4|0)|0)+-1)|0;if((HGa(b,1714488)|0)!=0?(HGa(b,62752)|0)!=0:0)dN(a+4|0,1714488);bN(a+4|0,a+456|0);return}function eM(a){a=a|0;return UFa(a+3&-4)|0}function fM(a){a=a|0;VFa(a);return}function gM(a){a=a|0;return UFa(a)|0}function hM(a){a=a|0;VFa(a);return}function iM(a){a=a|0;return UFa(a)|0}function jM(a){a=a|0;VFa(a);return}function kM(){var b=0,d=0,e=0;if((a[62768]|0)==0?(Ia(62768)|0)!=0:0){b=WEa(80)|0;d=b+0|0;e=d+80|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));jL(b);c[15690]=b;ib(62768)}return c[15690]|0}function lM(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;f=a[b>>0]|0;if(f<<24>>24==45|f<<24>>24==43)f=1;else f=0;f=b+f|0;b=fc(f|0,377400)|0;if(!b){c[g>>2]=f;jN(62776,g)}else{mM(b,-1,-1,d,e);Yb(b|0)|0}i=g;return}function mM(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;l=i;i=i+4112|0;while(1){if((e|0)>=0?(j=Na(b|0)|0,!((((j|0)<0)<<31>>31|0)<(e|0)|(((j|0)<0)<<31>>31|0)==(e|0)&j>>>0 >2]|0)>0){h[k>>3]=o;c[y>>2]=c[k>>2];c[y+4>>2]=c[k+4>>2];jN(305592,y);p=+h[b+128>>3]}a[m>>0]=1}else p=o;q=p;A=-+jGa(q);g[n>>2]=A;o=+jR(b,e)/f;p=+jGa(o);p=A*+h[b+224>>3]-p;if((c[b+12>>2]|0)>1){c[y>>2]=d;c[y+4>>2]=d;c[y+8>>2]=t;h[k>>3]=o;c[y+12>>2]=c[k>>2];c[y+16>>2]=c[k+4>>2];h[k>>3]=q;c[y+20>>2]=c[k>>2];c[y+24>>2]=c[k+4>>2];h[k>>3]=p;c[y+28>>2]=c[k>>2];c[y+32>>2]=c[k+4>>2];jN(305616,y)}ZEa(u);i=y;return +p}function $Q(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0,h=0,i=0;e=b+0|0;f=e+96|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));h=c[a+32>>2]|0;if((h|0)<4)f=0;else f=(h|0)<7?1:2;i=c[a+176>>2]|0;a:do if(i){e=c[i+4>>2]|0;if((e&-2|0)==6)if((c[a+44>>2]|0)==(h|0)){g[b+(f<<2)>>2]=1.0;break}else{g[b+(f+3<<2)>>2]=1.0;break}switch(e|0){case 9:{g[b+(f+6<<2)>>2]=1.0;break a}case 11:{g[b+((f|12)<<2)>>2]=1.0;break a}case 8:case 10:case 12:{g[b+(f+9<<2)>>2]=1.0;break a}default:break a}}while(0);g[b+60>>2]=+g[a+144>>2]/+(h|0);g[b+64>>2]=0.0;f=c[a+180>>2]|0;if(f)g[b+64>>2]=+g[f+12>>2]/+(h|0);h=c[a+76>>2]|0;f=c[a+80>>2]|0;g[b+72>>2]=+(((h|0)>(f|0)?f:h)|0);g[b+76>>2]=+((c[a+140>>2]|0)>>>0);if(!i)d=+(CR(a+40|0)|0);else d=0.0;g[b+80>>2]=d;g[b+84>>2]=+(c[a+92>>2]|0);g[b+92>>2]=+g[a+20>>2]/+g[a+36>>2];return}function aR(b,d,e,f,j,l){b=b|0;d=d|0;e=e|0;f=f|0;j=j|0;l=l|0;var m=0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0.0,w=0,x=0,y=0,z=0,A=0.0;y=i;i=i+16|0;if(l){if(!j)m=0;else m=(c[d+32>>2]|0)==(c[j+112>>2]|0)&1;a[l>>0]=m}r=c[d+8>>2]|0;m=c[b+740>>2]|0;if(!(a[m+92>>0]|0))m=(c[m+68>>2]|0)!=0;else m=0;o=+g[d+160>>2];if(o!=0.0){g[d+144>>2]=+g[d+144>>2]-o;p=c[d+32>>2]|0;v=+g[d+156>>2]/+(p|0);g[d+160>>2]=0.0}else{p=c[d+32>>2]|0;v=0.0}x=WEa(64)|0;rv(x,c[e+68>>2]|0,p);DR(x,c[d+32>>2]|0);p=c[d+32>>2]|0;a:do if((p|0)>0){u=v!=0.0;n=v;q=m;s=r;r=d;t=p+-1|0;m=0;while(1){if(((j|0)!=0&(l|0)!=0?(a[l>>0]|0)!=0:0)?!(ER(j,t,s+44|0)|0):0)a[l>>0]=0;z=(c[s+48>>2]|0)-(c[s+44>>2]|0)+1|0;m=z+m|0;p=s+4|0;Aia(x,t,z,c[p>>2]|0,+g[s+36>>2]);do if(u){if(!((r|0)!=(d|0)?(c[r+12>>2]|0)!=0:0))w=19;if((w|0)==19?(w=0,Zz((c[(c[b+740>>2]|0)+32>>2]|0)+184|0,c[p>>2]|0)|0):0)break;o=+g[r+152>>2];A=v-o;g[d+160>>2]=+g[d+160>>2]+A*A;if((c[b+12>>2]|0)>2){h[k>>3]=n;c[y>>2]=c[k>>2];c[y+4>>2]=c[k+4>>2];h[k>>3]=o;c[y+8>>2]=c[k>>2];c[y+12>>2]=c[k+4>>2];jN(306200,y)}}while(0);if(!q){p=c[r+176>>2]|0;if(!p)q=0;else q=(c[p+4>>2]|0)==12}else q=1;r=c[r+12>>2]|0;if(!r){p=t;break a}p=t+-1|0;if((t|0)>0){s=c[r+8>>2]|0;t=p}else break}}else{q=m;p=p+-1|0;m=0}while(0);if(p){c[y>>2]=304376;c[y+4>>2]=1439;$L(302368,306232,2,1702e3,y)}if((m|0)!=(c[(c[e+136>>2]|0)+12>>2]|0)){c[y>>2]=304376;c[y+4>>2]=1440;$L(302368,306240,2,1702e3,y)}if(v!=0.0)g[d+144>>2]=+g[d+160>>2]+ +g[d+144>>2];g[x+36>>2]=+g[d+20>>2];g[x+40>>2]=+g[d+24>>2];if((c[d+140>>2]|0)==2){n=32767.0;o=0.0}else{n=+g[d+116>>2];o=+g[d+104>>2]}g[x+44>>2]=o;g[x+48>>2]=n;m=c[d+176>>2]|0;do if(!m){if((a[b+34>>0]|0)!=0?(a[(c[d+180>>2]|0)+8>>0]|0)==0:0){a[x+52>>0]=5;break}if(!(a[d+172>>0]|0)){a[x+52>>0]=0;break}else{a[x+52>>0]=2;break}}else{if(q)m=12;else m=c[m+4>>2]&255;a[x+52>>0]=m}while(0);a[x+54>>0]=(wna(c[b+740>>2]|0,x,f,c[e+136>>2]|0)|0)&1^1;i=y;return x|0}function bR(a){a=a|0;var b=0;NM(a);c[a+4>>2]=0;b=a+8|0;do{qA(b);b=b+20|0}while((b|0)!=(a+48|0));return}function cR(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;FR(a,4);return}function dR(a){a=a|0;var b=0;b=a+48|0;do{b=b+-20|0;rA(b)}while((b|0)!=(a+8|0));RM(c[a>>2]|0);return}function eR(a){a=a|0;var b=0;if((c[a+4>>2]|0)>0){b=c[a+8>>2]|0;if(b)ZEa(b);c[a>>2]=0;c[a+4>>2]=0}GR(a);return}function fR(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function gR(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;e=c[b+4>>2]|0;f=oO(a,e)|0;a:do if((!((f|0)==(e|0)|(f|0)==-1)?!(WN(c[a>>2]|0,e,f)|0):0)?(pk(g,d),rk(g),!(sk(g)|0)):0)while(1){e=tk(g)|0;if((c[e+4>>2]|0)==(f|0)){e=1;break a}if((e|0)==(b|0)){e=0;break a}OL(g)|0;if(sk(g)|0){e=0;break}}else e=0;while(0);i=g;return e|0}function hR(b){b=b|0;var d=0;if(!(a[b+172>>0]|0)){b=c[b+176>>2]|0;if((b|0)!=0?(d=(c[b+4>>2]|0)+-8|0,d>>>0<4):0)return (d&15)==1|0;else b=1}else b=0;return b|0}function iR(a,b){a=a|0;b=b|0;if(a){a=c[a+4>>2]|0;if(Yz(b,a)|0)a=1;else return az(b,a)|0}else a=0;return a|0}function jR(b,d){b=b|0;d=+d;if(!(a[b+722>>0]|0))d=-1.0/d;else d=1.0/(+_(+(-d/+h[(c[b+740>>2]|0)+840>>3]*10.0))+1.0);return +d}function kR(a,b){a=a|0;b=b|0;var d=0;b=(c[(c[a+32>>2]|0)+184>>2]|0)+(b*112|0)+84|0;if((c[b>>2]|0)==1){d=c[(Ik(b,0)|0)>>2]|0;if((d|0)==(c[a+64>>2]|0))b=1;else{b=c[(Ik(b,0)|0)>>2]|0;b=(b|0)==(c[a+60>>2]|0)}}else b=0;return b|0}function lR(d,e){d=d|0;e=e|0;var f=0;if(!e){c[d+0>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+24>>2]=-1;c[d+28>>2]=-1;a[d+32>>0]=0;c[d+52>>2]=0;a[d+56>>0]=0;b[d+84>>1]=0;b[d+90>>1]=0;g[d+60>>2]=0.0;c[d+36>>2]=0;c[d+40>>2]=0;c[d+44>>2]=0;a[d+48>>0]=0;g[d+72>>2]=256.0;b[d+86>>1]=0;b[d+92>>1]=0;g[d+64>>2]=0.0;g[d+76>>2]=256.0;b[d+88>>1]=0;b[d+94>>1]=0;g[d+68>>2]=0.0;g[d+80>>2]=256.0;b[d+96>>1]=-1;b[d+98>>1]=0;c[d+100>>2]=0}else{f=d+0|0;e=e+0|0;d=f+104|0;do{c[f>>2]=c[e>>2];f=f+4|0;e=e+4|0}while((f|0)<(d|0))}return}function mR(a){a=a|0;if(a){eR(a);YEa(a)}return}function nR(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=+f;g=g|0;h=h|0;i=i|0;var j=0;if(g)j=c[g+32>>2]|0;else j=0;yO(d,e,(g|0)!=0?g+144|0:0,j,(a[b+744>>0]|0)!=0,f,h,(c[b+12>>2]|0)>2,i);return}function oR(b,d,e,f,h,i,j,k,l,m){b=b|0;d=d|0;e=e|0;f=+f;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0;c[b>>2]=0;g[b+4>>2]=0.0;c[b+8>>2]=e;c[b+12>>2]=d;c[b+16>>2]=0;g[b+20>>2]=+g[e+32>>2];g[b+24>>2]=+g[e+36>>2];c[b+28>>2]=(c[e+68>>2]|0)==1&1;c[b+32>>2]=1;g[b+36>>2]=f;n=b+40|0;e=h+0|0;h=n+104|0;do{c[n>>2]=c[e>>2];n=n+4|0;e=e+4|0}while((n|0)<(h|0));c[b+144>>2]=c[i+0>>2];c[b+148>>2]=c[i+4>>2];c[b+152>>2]=c[i+8>>2];c[b+156>>2]=c[i+12>>2];c[b+160>>2]=c[i+16>>2];c[b+164>>2]=c[i+20>>2];c[b+168>>2]=c[i+24>>2];a[b+172>>0]=j;c[b+176>>2]=k;c[b+180>>2]=l;a[b+184>>0]=1;if(!m)e=0;else{e=WEa(4)|0;NM(e)}c[b+188>>2]=e;if(d){g[b+20>>2]=+g[d+20>>2]+ +g[b+20>>2];f=+g[d+24>>2];if(f<+g[b+24>>2])g[b+24>>2]=f;c[b+28>>2]=(c[b+28>>2]|0)+(c[d+28>>2]|0);c[b+32>>2]=(c[b+32>>2]|0)+(c[d+32>>2]|0);g[b+36>>2]=+g[d+36>>2]+ +g[b+36>>2];if(m){bN(e,c[d+188>>2]|0);o=c[b+188>>2]|0;p=8}}else{o=e;p=8}if((p|0)==8?(o|0)!=0&(m|0)!=0:0)dN(o,m);return}function pR(a){a=a|0;var b=0;b=c[a+176>>2]|0;if(b){mR(c[b>>2]|0);YEa(b)}b=c[a+180>>2]|0;if(b){RM(c[b>>2]|0);YEa(b)}b=c[a+188>>2]|0;if(b){RM(c[b>>2]|0);YEa(b)}return}function qR(a,b){a=a|0;b=b|0;return (+g[(c[a>>2]|0)+4>>2]<+g[(c[b>>2]|0)+4>>2]?-1:1)|0}function rR(a,b,d){a=a|0;b=b|0;d=d|0;c[a+4>>2]=d;d=WEa(20)|0;HR(d,b);c[a>>2]=d;return}function sR(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b*40|0)|0;Ja(1701640,1701680,663,1701712);return 0}function tR(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0;g=d[a+8>>0]|d[a+9>>0]<<8|d[a+10>>0]<<16|d[a+11>>0]<<24;h=d[a+12>>0]|d[a+13>>0]<<8|d[a+14>>0]<<16|d[a+15>>0]<<24;if(h&1)g=c[(c[a+(h>>1)>>2]|0)+g>>2]|0;ed[g&15](a+(h>>1)|0,b,e,f)|0;return}function uR(a,b){a=a|0;b=b|0;if((b|0)!=(a|0)){if((c[a>>2]|0)>0)c[a>>2]=0;IR(a,b)}return}function vR(a,b){a=a|0;b=b|0;b=(c[(c[a+32>>2]|0)+184>>2]|0)+(b*112|0)+84|0;if((c[b>>2]|0)==1){b=c[(Ik(b,0)|0)>>2]|0;b=(b|0)==(c[a+52>>2]|0)}else b=0;return b|0}function wR(a,b,d){a=a|0;b=b|0;d=d|0;if((b|0)==-1&(d|0)==-1){d=0;b=0}else{b=Vc[c[(c[a>>2]|0)+16>>2]&63](a,b,d)|0;a=F;d=(b|0)==0&(a|0)==0?-1:a;b=(b|0)==0&(a|0)==0?-1:b}F=d;return b|0}function xR(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;i=JR(c[a+12>>2]|0,d)|0;h=JR(c[a+12>>2]|0,e)|0;if((i|0)==0|(h|0)==0)d=0;else{d=c[i+4>>2]|0;a:do if((d|0)>0){g=0;while(1){j=(c[(Ik(i+4|0,g)|0)>>2]|0)==(e|0);a=g+1|0;d=c[i+4>>2]|0;if(j){a=g;break a}if((a|0)<(d|0))g=a;else break}}else a=0;while(0);if((a|0)<(d|0))d=b[(KR(i+24|0,a)|0)>>1]|0;else d=(b[h>>1]|0)+(b[i+2>>1]|0)|0;c[f>>2]=d;d=1}return d|0}function yR(b,d,e){b=b|0;d=d|0;e=e|0;var f=0.0,g=0.0,i=0.0,j=0;if(!d){if(!(a[e+32>>0]|0))d=0;else d=c[e+8>>2]|0;g=+LR(b,d,+h[b+424>>3]);d=c[e+36>>2]|0;j=c[e+40>>2]|0;g=g+ +LR(b,(d|0)>(j|0)?j:d,+h[b+464>>3]);d=CR(e)|0;g=g+ +LR(b,d,+h[b+544>>3]);g=g+ +LR(b,c[e+52>>2]|0,+h[b+624>>3]);if(!(a[e+48>>0]|0))i=0.0;else i=+h[b+504>>3];if(!(a[e+56>>0]|0))f=0.0;else f=+h[b+584>>3];f=g+i+f}else{j=c[e+36>>2]|0;d=c[e+40>>2]|0;g=+LR(b,(j|0)>(d|0)?d:j,+h[b+464>>3]);if(!(a[e+48>>0]|0))f=0.0;else f=+h[b+504>>3];f=g+f}return +f}function zR(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+112|0;if(!(c[a>>2]|0))MR(a);e=NR(a)|0;vy(d,b);Ay(e,d);RM(c[d+96>>2]|0);OR(c[(NR(a)|0)>>2]|0);i=d;return}function AR(b){b=b|0;if((c[b+176>>2]|0)==0?!(PR(b)|0):0){b=c[b+180>>2]|0;if(!b)b=0;else b=(a[b+8>>0]|0)==0}else b=1;return b|0}function BR(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=d[a+16>>0]|d[a+17>>0]<<8|d[a+18>>0]<<16|d[a+19>>0]<<24;h=d[a+20>>0]|d[a+21>>0]<<8|d[a+22>>0]<<16|d[a+23>>0]<<24;if(h&1)g=c[(c[a+(h>>1)>>2]|0)+g>>2]|0;i=VM(c[(c[a+32>>2]|0)+12>>2]|0)|0;return +(+cd[g&1](a+(h>>1)|0,i,b,-1,e,f))}function CR(b){b=b|0;var d=0,e=0,f=0;if(!(a[b+32>>0]|0))d=0;else d=c[b+8>>2]|0;e=c[b>>2]|0;f=c[b+4>>2]|0;return (c[b+12>>2]|0)+d+((e|0)>(f|0)?f:e)|0}function DR(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if((c[a+24>>2]|0)<(b|0)){c[d>>2]=306312;c[d+4>>2]=379;$L(302368,306288,2,1702e3,d)}c[a+28>>2]=b;i=d;return}function ER(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[(Ik(a+112|0,b)|0)>>2]|0;if((e|0)==(c[d>>2]|0)){e=c[(Ik(a+132|0,b)|0)>>2]|0;d=(e|0)==(c[d+4>>2]|0)}else d=0;return d|0}function FR(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(!((d|0)<1?1:(c[b+4>>2]|0)>=(d|0))){h=XEa(d>>>0>107374182?-1:d*40|0)|0;if(d){e=h;do{a[e>>0]=-1;g=e+8|0;c[g>>2]=-1;c[g+4>>2]=-1;g=e+24|0;c[g>>2]=-1;c[g+4>>2]=-1;a[e+32>>0]=0;e=e+40|0}while((e|0)!=(h+(d*40|0)|0))}e=c[b>>2]|0;f=c[b+8>>2]|0;if((e|0)>0){g=0;do{i=h+(g*40|0)|0;j=f+(g*40|0)|0;c[i+0>>2]=c[j+0>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];c[i+16>>2]=c[j+16>>2];c[i+20>>2]=c[j+20>>2];c[i+24>>2]=c[j+24>>2];c[i+28>>2]=c[j+28>>2];a[i+32>>0]=a[j+32>>0]|0;g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[b+8>>2]=h;c[b+4>>2]=d}return}function GR(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+48|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){e=c[(c[b>>2]|0)+8>>2]|0;f=j+0|0;g=(c[a+8>>2]|0)+(d*40|0)+0|0;h=f+40|0;do{c[f>>2]=c[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(h|0));Rc[e&63](b,j);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=j;return}function HR(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;FR(a,d);IR(a,b);return}function IR(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+48|0;FR(b,(c[d>>2]|0)+(c[b>>2]|0)|0);if((c[d>>2]|0)>0){h=0;do{e=j+0|0;f=(c[d+8>>2]|0)+(h*40|0)+0|0;g=e+40|0;do{c[e>>2]=c[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(g|0));e=c[b>>2]|0;if((e|0)==(c[b+4>>2]|0)){QR(b);e=c[b>>2]|0}c[b>>2]=e+1;g=(c[b+8>>2]|0)+(e*40|0)|0;c[g+0>>2]=c[j+0>>2];c[g+4>>2]=c[j+4>>2];c[g+8>>2]=c[j+8>>2];c[g+12>>2]=c[j+12>>2];c[g+16>>2]=c[j+16>>2];c[g+20>>2]=c[j+20>>2];c[g+24>>2]=c[j+24>>2];c[g+28>>2]=c[j+28>>2];a[g+32>>0]=a[j+32>>0]|0;h=h+1|0}while((h|0)<(c[d>>2]|0))}i=j;return}function JR(a,b){a=a|0;b=b|0;if((a|0)!=0?(c[a>>2]|0)>(b|0):0)a=c[(RR(a,b)|0)>>2]|0;else a=0;return a|0}function KR(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<1)|0;Ja(1701640,1701680,663,1701712);return 0}function LR(a,b,c){a=a|0;b=b|0;c=+c;if(!b)c=0.0;else if((b|0)!=1)c=c+ +(b+-1|0)*+h[a+664>>3];return +c}function MR(a){a=a|0;var b=0;b=i;i=i+32|0;ry(b);SR(a,b);oy(b);i=b;return}function NR(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=669;$L(302368,375960,2,1702e3,d);b=c[a>>2]|0}i=d;return (c[a+8>>2]|0)+((b+-1|0)*20|0)|0}function OR(a){a=a|0;var b=0;b=i;i=i+16|0;if((a|0)<=0){c[b>>2]=1701680;c[b+4>>2]=669;$L(302368,375960,2,1702e3,b)}i=b;return}function PR(a){a=a|0;var b=0,d=0;if((c[a+176>>2]|0)!=0?(b=c[a+76>>2]|0,d=c[a+80>>2]|0,(((b|0)>(d|0)?d:b)|0)==0):0)a=1;else a=TR(a+40|0)|0;return a|0}function QR(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)FR(a,4);else FR(a,b<<1);return}function RR(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function SR(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){UR(a);d=c[a>>2]|0}c[a>>2]=d+1;sy((c[a+8>>2]|0)+(d*20|0)|0,b);return}function TR(b){b=b|0;var d=0,e=0;if((a[b+32>>0]|0)!=0?(c[b+8>>2]|0)!=0:0)b=0;else{d=c[b+36>>2]|0;e=c[b+40>>2]|0;if((((((d|0)>(e|0)?e:d)|0)==0?(CR(b)|0)==0:0)?(a[b+48>>0]|0)==0:0)?(a[b+56>>0]|0)==0:0)b=(c[b+100>>2]|0)!=2;else b=0}return b|0}function UR(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)my(a,4);else my(a,b<<1);return}function VR(a,d,f){a=a|0;d=d|0;f=f|0;var h=0.0,i=0,j=0.0,k=0,l=0,m=0;a:do if((c[a+100>>2]|0)!=2){k=b[a+96>>1]|0;j=+g[d+64>>2];do if(!(j>1.0))if(j<-1.0){b[a+96>>1]=0;i=0;break}else{b[a+96>>1]=1;i=1;break}else{b[a+96>>1]=2;i=2}while(0);i=a+(i<<1)+84|0;b[i>>1]=(b[i>>1]|0)+1<<16>>16;if(f){f=a+(b[a+96>>1]<<1)+90|0;b[f>>1]=(b[f>>1]|0)+1<<16>>16}if(k<<16>>16<0){j=+g[d+56>>2];h=+g[d+60>>2];i=b[a+96>>1]|0;if(j>+g[a+(i<<2)+60>>2])g[a+(i<<2)+60>>2]=j;if(h<+g[a+(i<<2)+72>>2])g[a+(i<<2)+72>>2]=h;if((b[a+86>>1]|0)==1){c[a+100>>2]=0;break}else{c[a+100>>2]=1;break}}i=b[a+96>>1]|0;b[a+98>>1]=(((k<<16>>16)-i|0)>-1?(k<<16>>16)-i|0:0-((k<<16>>16)-i)|0)+(e[a+98>>1]|0);h=+g[d+56>>2];j=+g[d+60>>2];if(h>+g[a+(i<<2)+60>>2])g[a+(i<<2)+60>>2]=h;if(j<+g[a+(i<<2)+72>>2]){g[a+(i<<2)+72>>2]=j;i=0}else i=0;do{if(+g[a+(i<<2)+60>>2]>+g[a+(i<<2)+72>>2]){l=23;break}i=i+1|0}while((i|0)<3);if((l|0)==23){c[a+100>>2]=2;break}i=b[a+84>>1]|0;if(!(+(b[a+90>>1]|0)>+(i<<16>>16)*.4)?(m=b[a+88>>1]|0,!(+(b[a+94>>1]|0)>+(m<<16>>16)*.4)):0){h=+g[a+64>>2];do if(h>0.0){if(!(+g[a+72>>2]/h<.4)?!(+g[a+80>>2]/h<.4):0)break;c[a+100>>2]=2;break a}while(0);if((b[a+98>>1]|0)>1){c[a+100>>2]=2;break}if(!((i|m)<<16>>16)){c[a+100>>2]=0;break}else{c[a+100>>2]=1;break}}c[a+100>>2]=2}while(0);return}function WR(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0;e=0;while(1){h=a+(e*20|0)|0;f=e+1|0;if(c[h>>2]|0){i=4;break}if((f|0)<4)e=f;else{e=4;break}}if((i|0)==4){g[d>>2]=+g[(aS(h,0)|0)+8>>2];a=aS(h,0)|0;i=c[a+4>>2]|0;c[b>>2]=c[a>>2];c[b+4>>2]=i;bS(h)}return e|0}function XR(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0;j=c[b+136>>2]|0;d=c[j+12>>2]|0;if((d|0)>0){h=0;i=-2;while(1){e=c[j+16>>2]|0;f=h;h=h+1|0;l=h+e|0;if((h|0)<(((d|0)>(l|0)?l:d)|0)){l=i-e|0;e=~d;e=~((l|0)>(e|0)?l:e);d=h;do{if(!(cS(f,d,j)|0?(l=Vc[c[(c[j>>2]|0)+12>>2]&63](j,f,d)|0,(c[(c[j+4>>2]|0)+(l<<2)>>2]|0)!=0):0))k=9;do if((k|0)==9){k=0;if(!(Oea(j,f,d+-1|0)|0)){if((h|0)>=(c[j+12>>2]|0))break;if(!(Oea(j,h,d)|0))break}YR(a,f,d,3,0.0,1,+g[a+84>>2],b)|0}while(0);d=d+1|0}while((d|0)!=(e|0));d=c[j+12>>2]|0}if((h|0)>=(d|0))break;else i=i+-1|0}}return}function YR(d,e,f,j,l,m,n,o){d=d|0;e=e|0;f=f|0;j=j|0;l=+l;m=m|0;n=+n;o=o|0;var p=0,q=0,r=0;r=i;i=i+64|0;q=c[o+136>>2]|0;if(cS(e,f,q)|0?Oea(q,e,f)|0:0)f=0;else p=3;do if((p|0)==3){p=c[d+96>>2]|0;if((p|0)>3){p=c[308328+(j<<2)>>2]|0;c[r+16>>2]=e;c[r+20>>2]=f;c[r+24>>2]=p;jN(306400,r+16|0);p=c[d+96>>2]|0}g[r+28>>2]=0.0;a[r+32>>0]=0;c[r+52>>2]=0;c[r+36>>2]=0;c[r+40>>2]=0;c[r+44>>2]=0;b[r+48>>1]=0;yO(e,f,0,0,(a[d+88>>0]|0)!=0,n,o,(p|0)!=0,r+28|0);a:do if(m)while(1){p=b[r+48>>1]|0;if(!((p&255)<<24>>24))break a;q=f+1|0;if(!((p&65535)<256?(q|0)<(c[(c[o+136>>2]|0)+12>>2]|0):0))break a;yO(e,q,0,0,(a[d+88>>0]|0)!=0,n,o,(c[d+96>>2]|0)!=0,r+28|0);f=q}while(0);if(a[r+32>>0]|0){if((c[d+96>>2]|0)<=3){f=0;break}jN(306456,r+16|0);f=0;break}if((c[d+(j*20|0)>>2]|0)>=(c[d+80>>2]|0)){if(!(c[d+96>>2]|0)){f=0;break}jN(306536,r+16|0);f=0;break}if((j|0)!=2)l=+(c[r+52>>2]|0);c[r>>2]=e;c[r+4>>2]=f;g[r+8>>2]=l;dS(d+(j*20|0)|0,r);if(!(c[d+96>>2]|0))f=1;else{h[k>>3]=l;c[r+16>>2]=c[k>>2];c[r+20>>2]=c[k+4>>2];jN(306496,r+16|0);f=1}}while(0);i=r;return f|0}function ZR(a,b,d,e){a=a|0;b=+b;d=d|0;e=e|0;var f=0,h=0.0,j=0,k=0,l=0.0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+48|0;f=c[d+12>>2]|0;if(f){q=d+8|0;do{n=c[q>>2]|0;q=f+8|0;j=c[q>>2]|0;o=c[j+44>>2]|0;p=c[n+48>>2]|0;k=c[e+136>>2]|0;do if(cS(o,p,k)|0){if(!(Oea(k,o,p)|0)){j=c[q>>2]|0;r=6;break}if((c[a+96>>2]|0)>3?(c[s>>2]=o,c[s+4>>2]=p,c[s+8>>2]=308392,jN(306344,s),n=c[e+136>>2]|0,p=Vc[c[(c[n>>2]|0)+12>>2]&63](n,o,p)|0,pk(s+12|0,c[(c[n+4>>2]|0)+(p<<2)>>2]|0),rk(s+12|0),!(sk(s+12|0)|0)):0)do{eS(tk(s+12|0)|0);OL(s+12|0)|0}while(!(sk(s+12|0)|0))}else r=6;while(0);if((r|0)==6){r=0;l=+g[n+32>>2];m=+g[j+32>>2];h=+g[d+36>>2]-(l*b/+g[n+36>>2]+m*b/+g[j+36>>2]);if(h>0.0)h=(+g[d+20>>2]-(l+m))/h;else h=0.0;YR(a,o,p,2,h,1,+g[a+84>>2],e)|0}f=c[f+12>>2]|0}while((f|0)!=0)}i=s;return}function _R(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0;if((c[d>>2]|0)>0){i=0;do{h=kP(d,i)|0;if(a[h+8>>0]|0)YR(b,c[h>>2]|0,(c[h+4>>2]|0)+-1|0,1,+g[e+4>>2],1,2.5,f)|0;i=i+1|0}while((i|0)<(c[d>>2]|0))}return}function $R(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=0;do{d=a+(e*20|0)|0;if((c[d>>2]|0)>0){f=0;do{fS(aS(d,f)|0,b);f=f+1|0}while((f|0)<(c[d>>2]|0))}e=e+1|0}while((e|0)!=4);return}function aS(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b*12|0)|0;Ja(1701640,1701680,663,1701712);return 0}function bS(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;b=c[a>>2]|0;do if((b|0)>=1){if((b+-1|0)<=0){c[a>>2]=b+-1;break}e=aS(a,b+-1|0)|0;c[d+0>>2]=c[e+0>>2];c[d+4>>2]=c[e+4>>2];c[d+8>>2]=c[e+8>>2];if((c[a>>2]|0)>(b+-1|0))c[a>>2]=b+-1;e=aS(a,gS(a,d)|0)|0;c[e+0>>2]=c[d+0>>2];c[e+4>>2]=c[d+4>>2];c[e+8>>2]=c[d+8>>2]}while(0);i=d;return}function cS(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if((a|0)>-1?(e=c[d+12>>2]|0,!((e|0)<=(a|0)|(a|0)>(b|0))):0)return ((e|0)>(b|0)?((c[d+16>>2]|0)+a|0)>(b|0):0)|0;return 0}function dS(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;i=i+16|0;e=c[a>>2]|0;c[d+0>>2]=c[b+0>>2];c[d+4>>2]=c[b+4>>2];c[d+8>>2]=c[b+8>>2];hS(a,d);f=iS(a)|0;c[b+0>>2]=c[f+0>>2];c[b+4>>2]=c[f+4>>2];c[b+8>>2]=c[f+8>>2];a=aS(a,jS(a,e,b)|0)|0;c[a+0>>2]=c[b+0>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];i=d;return}function eS(a){a=a|0;var d=0,e=0,f=0.0,j=0,l=0;d=i;i=i+32|0;kS(a,0);l=b[a+28>>1]|0;j=b[a+30>>1]|0;f=+g[a+64>>2];e=c[a+68>>2]|0;c[d>>2]=c[a+40>>2];c[d+4>>2]=l;c[d+8>>2]=j;h[k>>3]=f;c[d+12>>2]=c[k>>2];c[d+16>>2]=c[k+4>>2];c[d+20>>2]=e;jN(306608,d);i=d;return}function fS(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;d=c[a>>2]|0;if((c[a+4>>2]|0)<(d|0)){c[f>>2]=306584;c[f+4>>2]=339;$L(306336,306568,2,1702e3,f);d=c[a>>2]|0}if((d|0)>(b|0)){e=d+1|0;c[a>>2]=e}else e=d;d=c[a+4>>2]|0;if((d|0)>=(b|0)){c[a+4>>2]=d+1;d=d+1|0}if((d|0)<(e|0)){c[f>>2]=306584;c[f+4>>2]=342;$L(306336,306568,2,1702e3,f)}i=f;return}function gS(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0.0;f=c[a>>2]|0;a:do if((f|0)>1){e=0;h=1;while(1){d=h+1|0;if((d|0)<(f|0)){j=aS(a,d)|0;i=aS(a,h)|0;d=+g[j+8>>2]<+g[i+8>>2]?d:h}else d=h;k=+g[(aS(a,d)|0)+8>>2];if(!(k<+g[b+8>>2])){d=e;break a}h=aS(a,e)|0;j=aS(a,d)|0;c[h+0>>2]=c[j+0>>2];c[h+4>>2]=c[j+4>>2];c[h+8>>2]=c[j+8>>2];h=d<<1|1;if((h|0)>=(f|0))break;else e=d}}else d=0;while(0);return d|0}function hS(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){lS(a);d=c[a>>2]|0}c[a>>2]=d+1;a=(c[a+8>>2]|0)+(d*12|0)|0;c[a+0>>2]=c[b+0>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];return}function iS(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=669;$L(306336,375960,2,1702e3,d);b=c[a>>2]|0}i=d;return (c[a+8>>2]|0)+((b+-1|0)*12|0)|0}function jS(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;a:do if((b|0)>0)while(1){e=((b+1|0)/2|0)+-1|0;f=aS(a,e)|0;if(!(+g[d+8>>2]<+g[f+8>>2]))break a;f=aS(a,b)|0;b=aS(a,e)|0;c[f+0>>2]=c[b+0>>2];c[f+4>>2]=c[b+4>>2];c[f+8>>2]=c[b+8>>2];if((e|0)>0)b=e;else{b=e;break}}while(0);return b|0}function kS(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,j=0.0,l=0.0,m=0.0,n=0;n=i;i=i+48|0;j=+g[a+32>>2];l=+g[a+36>>2];m=+g[a+56>>2];f=+g[a+60>>2];e=c[a+4>>2]|0;if(!b){b=0;a=0;d=1714496}else{QN(n+40|0,b,e);d=c[n+40>>2]|0;b=1;a=d;d=VM(d)|0}h[k>>3]=j;c[n>>2]=c[k>>2];c[n+4>>2]=c[k+4>>2];h[k>>3]=l;c[n+8>>2]=c[k>>2];c[n+12>>2]=c[k+4>>2];h[k>>3]=m;c[n+16>>2]=c[k>>2];c[n+20>>2]=c[k+4>>2];h[k>>3]=f;c[n+24>>2]=c[k>>2];c[n+28>>2]=c[k+4>>2];c[n+32>>2]=e;c[n+36>>2]=d;jN(306672,n);if(b)RM(a);i=n;return}function lS(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)mS(a,4);else mS(a,b<<1);return}function mS(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){g=XEa(b>>>0>357913941|(b*12|0)>>>0>4294967291?-1:(b*12|0)+4|0)|0;c[g>>2]=b;if(b){d=g+4|0;do{c[d>>2]=0;c[d+4>>2]=0;d=d+12|0}while((d|0)!=(g+4+(b*12|0)|0))}e=c[a>>2]|0;d=c[a+8>>2]|0;if((e|0)>0){f=0;do{h=g+4+(f*12|0)|0;i=d+(f*12|0)|0;c[h+0>>2]=c[i+0>>2];c[h+4>>2]=c[i+4>>2];c[h+8>>2]=c[i+8>>2];f=f+1|0}while((f|0)!=(e|0))}if(d)ZEa(d+-4|0);c[a+8>>2]=g+4;c[a+4>>2]=b}return}function nS(a){a=a|0;if(a){pR(a);YEa(a)}return}function oS(b,e){b=b|0;e=e|0;var f=0.0,j=0,l=0,m=0,n=0,o=0,p=0;j=i;i=i+32|0;c[j>>2]=e;jN(306704,j);if(a[b+184>>0]|0)jN(306728,j);e=c[b+188>>2]|0;if(e){c[j>>2]=VM(c[e>>2]|0)|0;jN(306736,j)}e=c[b+32>>2]|0;f=+g[b+4>>2];h[k>>3]=+g[b+20>>2];c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];c[j+8>>2]=e;h[k>>3]=f;c[j+12>>2]=c[k>>2];c[j+16>>2]=c[k+4>>2];jN(306744,j);e=a[b+172>>0]|0;if(e<<24>>24){c[j>>2]=e&255;jN(306792,j)}if(!(PR(b)|0)){if(!(a[b+72>>0]|0))e=0;else e=c[b+48>>2]|0;o=c[b+76>>2]|0;p=c[b+80>>2]|0;n=CR(b+40|0)|0;m=d[b+88>>0]|0;l=d[b+96>>0]|0;c[j>>2]=e;c[j+4>>2]=(o|0)>(p|0)?p:o;c[j+8>>2]=n;c[j+12>>2]=m;c[j+16>>2]=l;jN(306816,j)}e=c[b+176>>2]|0;if(e){c[j>>2]=c[e+4>>2];jN(306880,j)}e=c[b+180>>2]|0;if(e){f=+g[e+16>>2];o=VM(c[e>>2]|0)|0;p=d[(c[b+180>>2]|0)+8>>0]|0;h[k>>3]=f;c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];c[j+8>>2]=o;c[j+12>>2]=p;jN(306896,j)}f=+g[b+144>>2];if(f>0.0){h[k>>3]=f;c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];jN(306944,j)}c[j>>2]=c[306968+(c[b+140>>2]<<2)>>2];jN(306960,j);jN(1714256,j);i=j;return}function pS(a){a=a|0;KL(a,237);c[a+4>>2]=0;g[a+8>>2]=3402823466385288598117041.0e14;c[a+12>>2]=0;return}function qS(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,j=0.0;d=i;i=i+48|0;j=+g[a+8>>2];f=c[a+4>>2]|0;e=c[a+12>>2]|0;c[d>>2]=b;h[k>>3]=j;c[d+4>>2]=c[k>>2];c[d+8>>2]=c[k+4>>2];c[d+12>>2]=f;c[d+16>>2]=e;jN(306984,d);pk(d+20|0,a);rk(d+20|0);if(!(sk(d+20|0)|0))do{oS(tk(d+20|0)|0,1714496);OL(d+20|0)|0}while(!(sk(d+20|0)|0));i=d;return}function rS(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0.0;k=b[e>>1]|0;m=b[f>>1]|0;o=b[f+2>>1]|0;l=b[d+2>>1]|0;if(+(k<<16>>16)==+(m<<16>>16)){h=k;i=l}else{q=(+(b[e+2>>1]|0)-+(o<<16>>16))/(+(k<<16>>16)-+(m<<16>>16));i=~~((+(b[d>>1]|0)+q*(+(l<<16>>16)-(+(o<<16>>16)-+(m<<16>>16)*q)))/(q*q+1.0));h=i;i=~~(+(o<<16>>16)-+(m<<16>>16)*q+q*+(i<<16>>16))}if((k<<16>>16>h<<16>>16?1:h<<16>>16>m<<16>>16)?(m<<16>>16>h<<16>>16?1:h<<16>>16>k<<16>>16):0)p=12;else p=5;do if((p|0)==5){j=b[e+2>>1]|0;if((j<<16>>16>i<<16>>16?1:i<<16>>16>o<<16>>16)?(o<<16>>16>i<<16>>16?1:i<<16>>16>j<<16>>16):0){p=12;break}n=h<<16>>16;a=c[a+4412>>2]|0;h=i<<16>>16;if((((n-(k<<16>>16)|0)>-1?n-(k<<16>>16)|0:0-(n-(k<<16>>16))|0)|0)<(a|0)?(((h-(j<<16>>16)|0)>-1?h-(j<<16>>16)|0:0-(h-(j<<16>>16))|0)|0)<(a|0):0){p=13;break}if((((n-(m<<16>>16)|0)>-1?n-(m<<16>>16)|0:0-(n-(m<<16>>16))|0)|0)<(a|0)?(j=h-(o<<16>>16)|0,(((j|0)>-1?j:0-j|0)|0)<(a|0)):0){p=12;break}a=1;e=lka(n,h,f,e)|0}while(0);if((p|0)==12)if(!e){a=0;e=f}else p=13;if((p|0)==13)if(!f)a=0;else{p=b[d>>1]|0;a=ba((k<<16>>16)-p|0,(k<<16>>16)-p|0)|0;d=(b[e+2>>1]|0)-(l<<16>>16)|0;p=((ba(d,d)|0)+a|0)<((ba((o<<16>>16)-(l<<16>>16)|0,(o<<16>>16)-(l<<16>>16)|0)|0)+(ba((m<<16>>16)-p|0,(m<<16>>16)-p|0)|0)|0);a=0;e=p?e:f}c[g>>2]=e;return a|0}function sS(a){a=a|0;var b=0,d=0,e=0,f=0,j=0.0,l=0;f=i;i=i+16|0;e=0;do{b=VM(c[a>>2]|0)|0;c[f>>2]=e;c[f+4>>2]=b;jN(307072,f);b=a+(e*20|0)+8|0;if((c[b>>2]|0)>0){d=0;do{l=c[362976+(d<<2)>>2]|0;j=+g[(vA(b,d)|0)>>2];c[f>>2]=l;h[k>>3]=j;c[f+4>>2]=c[k>>2];c[f+8>>2]=c[k+4>>2];jN(307112,f);d=d+1|0}while((d|0)<(c[b>>2]|0))}e=e+1|0}while((e|0)!=2);i=f;return}function tS(a,b){a=a|0;b=b|0;xS(a+8|0,b+8|0);xS(a+28|0,b+28|0);return}function uS(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[b>>0]|0;a:do if(f<<24>>24==35)f=0;else if(!(f<<24>>24))j=4;else{g=b;h=0;while(1){h=h+1|0;if(YFa(f<<24>>24)|0)break;g=b+h|0;f=a[g>>0]|0;if(!(f<<24>>24)){j=4;break a}}a[g>>0]=0;c[d>>2]=b;c[k>>2]=e;f=(zEa(b+h|0,307168,k)|0)==1}while(0);if((j|0)==4){c[k>>2]=b;jN(307128,k);f=0}i=k;return f|0}function vS(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0.0;e=0;d=0.0;do{f=+g[(vA(a+((c[a+4>>2]|0)*20|0)+8|0,e)|0)>>2];d=d+f*+g[b+(e<<2)>>2];e=e+1|0}while((e|0)!=24);d=-d/100.0;if(d<1.0000000474974513e-03)d=1.0000000474974513e-03;else d=d>100.0?100.0:d;return +d}function wS(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,j=0,k=0,l=0.0;k=i;i=i+128|0;VK(k+16|0);YK(k+16|0,24);fN(a,b);j=a+((c[a+4>>2]|0)*20|0)+8|0;MH(j,24,0.0);while(1){if((f|0)>=0?(h=Na(d|0)|0,!((((h|0)<0)<<31>>31|0)<(f|0)|(((h|0)<0)<<31>>31|0)==(f|0)&h>>>0 >>0)g=F;else{d=0;break a}}p=QGa(d|0,n|0,-1,-1)|0;o=F;if((g|0)>(o|0)|(g|0)==(o|0)&m>>>0>p>>>0){d=0;break a}}c[k>>2]=Vna(q,d)|0;c[l>>2]=d;c[l+4>>2]=n;d=1}else d=0}else d=0;while(0);i=r;return d|0}function Fna(a,b,d,e,f,g,h,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;o=c[(Una(a+60|0,b)|0)>>2]|0;o=(h|0)==0?o:o+20|0;a:do if((b|0)==0&(d|0)==0&(h|0)==0)if((c[o>>2]|0)>0){l=0;while(1){n=Vna(o,l)|0;m=l+1|0;if((Wla(a,e,f,j,k,c[n>>2]|0,c[n+4>>2]|0)|0)!=1){n=l;break a}if((m|0)<(c[o>>2]|0))l=m;else{n=m;break}}}else n=0;else n=c[o>>2]|0;while(0);Wna(c[a+20>>2]|0,c[a+24>>2]|0,q,e,f,g,h,j,k);if((b|0)==0&(d|0)==0&(h|0)==1?(c[a+104>>2]|0)!=0:0){j=Xna(a+104|0)|0;m=c[q>>2]|0;l=c[q+4>>2]|0;o=Vna(o,j)|0;c[o>>2]=m;c[o+4>>2]=l}else p=9;do if((p|0)==9){m=c[q>>2]|0;l=c[q+4>>2]|0;if((n|0)<(c[o>>2]|0)){Yna(o,m,l,n);break}else{Zna(o,m,l);break}}while(0);if((c[a+56>>2]|0)>1){c[q+8>>2]=b;c[q+12>>2]=d;jN(374904,q+8|0);_na(a,m,l);jN(1714256,q+8|0)}d=QGa(c[a+80>>2]|0,c[a+84>>2]|0,1,0)|0;c[a+80>>2]=d;c[a+84>>2]=F;i=q;return}function Gna(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+32|0;if(!(Ena(a,d,e,-1,-1,1,0,g,h+16|0,h)|0)){c[h+8>>2]=374864;c[h+12>>2]=168;$L(374664,374936,2,1702e3,h+8|0)}e=c[a+20>>2]|0;if(f){g=_Ga(1,0,e|0)|0;f=F;d=c[h+16>>2]|0;a=c[d+4>>2]|f;c[d>>2]=c[d>>2]|g;c[d+4>>2]=a;f=f|c[b+4>>2];c[b>>2]=g|c[b>>2];c[b+4>>2]=f}else d=c[h+16>>2]|0;g=_Ga(4,0,e|0)|0;f=F;j=d;e=c[j+4>>2]|f;a=d;c[a>>2]=c[j>>2]|g;c[a+4>>2]=e;f=f|c[b+4>>2];c[b>>2]=g|c[b>>2];c[b+4>>2]=f;i=h;return}function Hna(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=i;i=i+32|0;f=c[d+28>>2]|0;a:do if((f|0)>=1){if(e){if((c[e>>2]|0)!=(f|0)){c[t+8>>2]=374864;c[t+12>>2]=181;$L(374664,375048,2,1702e3,t+8|0);f=c[d+28>>2]|0}if((f|0)>0)s=6}else s=6;if((s|0)==6){g=0;do{if((bx(d,g)|0)<0)break a;r=bx(d,g)|0;g=g+1|0;if((r|0)>=(c[b+16>>2]|0))break a;f=c[d+28>>2]|0}while((g|0)<(f|0))}if((c[b+56>>2]|0)>1){Sia(d,375088);f=c[d+28>>2]|0}b:do if((f+-1|0)>0){g=0;f=0;r=0;h=1;while(1){o=bx(d,r)|0;if(e)n=(a[(Qw(e,r)|0)>>0]|0)!=0;else n=0;if((c[b+56>>2]|0)>1){c[t+8>>2]=o;jN(375104,t+8|0)}do if((h|0)!=0?Ena(b,g,f,-1,-1,0,0,o,t+24|0,t)|0:0){if((c[b+56>>2]|0)>1){q=c[t+4>>2]|0;c[t+8>>2]=c[t>>2];c[t+12>>2]=q;c[t+16>>2]=g;c[t+20>>2]=f;jN(375128,t+8|0)}m=c[t+24>>2]|0;j=c[m>>2]|0;p=c[m+4>>2]|0;k=c[b+32>>2]|0;l=c[b+36>>2]|0;q=c[b+24>>2]|0;u=UGa(k&j|0,l&p|0,q|0)|0;if((u|0)==0&(F|0)==0){$na(b,g,f,o);j=1;s=27;break}if(n){f=_Ga(1,0,c[b+20>>2]|0)|0;g=F|p;c[m>>2]=f|j;c[m+4>>2]=g;k=c[b+32>>2]|0;j=f|j;f=c[b+36>>2]|0}else{f=l;g=p}g=UGa(k&j|0,f&g|0,q|0)|0;f=F}else{j=0;s=27}while(0);if((s|0)==27){s=0;h=Dna(b)|0;k=F;if((c[b+56>>2]|0)>1){c[t+8>>2]=h;c[t+12>>2]=k;jN(375168,t+8|0)}if((h|0)==0&(k|0)==0){m=g;k=f;l=1;g=r;h=0;break b}aoa(b,g,f,h,k,n,(j|0)!=0,o);g=h;f=k;h=0}j=r+1|0;if((j|0)<((c[d+28>>2]|0)+-1|0))r=j;else{m=g;k=f;l=0;g=j;break}}}else{m=0;k=0;l=0;g=0;h=1}while(0);f=bx(d,g)|0;if(e)g=(a[(Qw(e,g)|0)>>0]|0)!=0;else g=0;if((c[b+56>>2]|0)>1){c[t+8>>2]=f;jN(375104,t+8|0)}if((h|0)!=0?Ena(b,m,k,-1,-1,0,0,f,t+24|0,t)|0:0){e=c[t+24>>2]|0;u=UGa(c[b+32>>2]&c[e>>2]|0,c[b+36>>2]&c[e+4>>2]|0,c[b+24>>2]|0)|0;Gna(b,e,u,F,g,f);if(!l)break}else s=38;if((s|0)==38?!l:0){aoa(b,m,k,0,0,g,1,f);break}jN(375192,t+8|0);Cna(b)}while(0);i=t;return}function Ina(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;ek(e);if(Jna(a,b,d,e)|0){coa(c[e>>2]|0,c[e+8>>2]|0);b=Kna(a,e,d)|0}else b=0;Vj(e);i=e;return b|0}function Jna(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+576|0;h=fc(b|0,377400)|0;if(!h)f=0;else{if(!(Ic(j+72|0,500,h|0)|0)){b=a+56|0;f=0}else{f=0;do{gk(j+72|0);uia(j+8|0,j+72|0,d);if(Hia(j+8|0)|0)Dia(j+8|0);f=f+1|0;if((c[a+56>>2]|0)!=0&((f|0)%1e4|0|0)==0){c[j>>2]=f;jN(375232,j)}b=c[j+36>>2]|0;if((b|0)!=0?!(Bia(c[j+16>>2]|0,b)|0):0){OM(j+4|0,jk(j+8|0)|0);Wj(e,j+4|0);RM(c[j+4>>2]|0)}else g=12;if(((g|0)==12?(g=0,(c[a+56>>2]|0)!=0):0)?(c[j>>2]=j+72,jN(375256,j),(c[a+56>>2]|0)>2):0)Sia(j+8|0,1714496);wia(j+8|0)}while((Ic(j+72|0,500,h|0)|0)!=0);b=a+56|0}if(c[b>>2]|0){c[j>>2]=f;jN(375288,j)}Yb(h|0)|0;f=1}i=j;return f|0}function Kna(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+80|0;a:do if((c[b>>2]|0)>0){e=0;while(1){uia(f+8|0,VM(c[(fk(b,e)|0)>>2]|0)|0,d);if(!(Nla(a,f+8|0)|0)?(Hna(a,f+8|0,0),!(Nla(a,f+8|0)|0)):0)break;wia(f+8|0);e=e+1|0;if((e|0)>=(c[b>>2]|0)){e=1;break a}}c[f>>2]=VM(c[(fk(b,e)|0)>>2]|0)|0;jN(375312,f);wia(f+8|0);e=0}else e=1;while(0);i=f;return e|0}function Lna(b,d){b=b|0;d=d|0;DN(d,374672);c[b+128>>2]=HN(d,374672)|0;DN(d,374680);c[b+132>>2]=HN(d,374680)|0;DN(d,374688);c[b+136>>2]=HN(d,374688)|0;DN(d,374696);c[b+140>>2]=HN(d,374696)|0;DN(d,374704);c[b+144>>2]=HN(d,374704)|0;DN(d,374712);c[b+148>>2]=HN(d,374712)|0;a[b+124>>0]=1;c[b+16>>2]=c[d+8>>2];return}function Mna(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=Yz(d,b)|0;do if(f){zv(e,c[a+128>>2]|0);zv(e,c[a+136>>2]|0);if(ox(d,b)|0){zv(e,c[a+144>>2]|0);break}if(nx(d,b)|0)zv(e,c[a+148>>2]|0)}while(0);if(az(d,b)|0?(zv(e,c[a+132>>2]|0),!f):0)zv(e,c[a+136>>2]|0);if(Zz(d,b)|0)zv(e,c[a+140>>2]|0);return}function Nna(a,b){a=a|0;b=b|0;switch(b<<24>>24){case 112:{b=c[a+140>>2]|0;break}case 100:{b=c[a+132>>2]|0;break}case 65:{b=c[a+148>>2]|0;break}case 110:{b=c[a+136>>2]|0;break}case 99:{b=c[a+128>>2]|0;break}case 97:{b=c[a+144>>2]|0;break}default:b=-1}return b|0}function Ona(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+608|0;do if(!(a[b+124>>0]|0)){jN(375360,n);f=0}else{m=fc(d|0,377400)|0;if(!m){c[n>>2]=d;jN(375424,n);f=0;break}if(!(Ic(n+96|0,500,m|0)|0)){g=b+56|0;f=0}else{f=0;while(1){gk(n+96|0);hx(n+32|0,e);Ow(n+12|0);g=JN(e,n+96|0)|0;a:do if((g|0)>0){h=n+96|0;b:while(1){do if((g|0)==1?(a[h>>0]|0)==92:0){j=h+1|0;h=a[j>>0]|0;if(h<<24>>24==92){k=IN(e,j,1)|0;h=j;break}if((c[n+60>>2]|0)<0){l=14;break b}k=Nna(b,h)|0;h=j}else l=16;while(0);if((l|0)==16){l=0;k=IN(e,h,g)|0}if((k|0)==-1)break;Jia(n+32|0,k,0.0);Rw(n+12|0,0)|0;k=h+g|0;j=JN(e,k)|0;if((j|0)==1){if((a[k>>0]|0)!=92){g=1;h=k;continue}if((a[h+(g+1)>>0]|0)!=42){g=1;h=k;continue}a[(Qw(n+12|0,(c[n+12>>2]|0)+-1|0)|0)>>0]=1;h=h+(g+2)|0;g=JN(e,h)|0}else{g=j;h=k}if((g|0)<=0){l=24;break a}}if((l|0)==14){l=0;c[n>>2]=0;jN(375456,n)}c[n>>2]=n+96;jN(375536,n)}else l=24;while(0);if((l|0)==24){l=0;if((c[b+56>>2]|0)>2){Lw(n+8|0,n+32|0);k=c[n+8>>2]|0;c[n>>2]=VM(k)|0;jN(375568,n);RM(k)}if(!(Nla(b,n+32|0)|0)?(Hna(b,n+32|0,n+12|0),!(Nla(b,n+32|0)|0)):0){c[n>>2]=n+96;jN(375608,n)}f=f+1|0}Yw(n+12|0);wia(n+32|0);if(!(Ic(n+96|0,500,m|0)|0)){g=b+56|0;break}}}if(c[g>>2]|0){c[n>>2]=f;c[n+4>>2]=d;jN(375648,n)}Yb(m|0)|0;f=1}while(0);i=n;return f|0}function Pna(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+32|0;c[j+16>>2]=0;c[j>>2]=0;c[j+4>>2]=0;if(!(Ena(a,b,d,e,f,g,1,h,j+16|0,j)|0)){c[j+8>>2]=374864;c[j+12>>2]=496;$L(374664,375680,2,1702e3,j+8|0)}if((c[a+56>>2]|0)>1){c[j+8>>2]=b;c[j+12>>2]=d;jN(375768,j+8|0);h=c[j+16>>2]|0;_na(a,c[h>>2]|0,c[h+4>>2]|0);jN(1714256,j+8|0)}do if(g){g=(c[(Una(a+60|0,b)|0)>>2]|0)+20|0;f=c[j>>2]|0;e=c[j+4>>2]|0;if((b|0)==0&(d|0)==0){d=Vna(g,f)|0;h=c[a+16>>2]|0;b=((h|0)<0)<<31>>31|c[d+4>>2]&~c[a+52>>2];c[d>>2]=h|c[d>>2]&~c[a+48>>2];c[d+4>>2]=b;eoa(a+104|0,f,e);break}else{doa(g,f);break}}else{d=c[(Una(a+60|0,b)|0)>>2]|0;doa(d,c[j>>2]|0)}while(0);d=QGa(c[a+80>>2]|0,c[a+84>>2]|0,-1,-1)|0;c[a+80>>2]=d;c[a+84>>2]=F;i=j;return}function Qna(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if(!((b|0)==-1&(d|0)==-1)){l=c[(Una(a+60|0,b)|0)>>2]|0;m=c[l>>2]|0;k=c[l+20>>2]|0;n=0;while(1){f=(n|0)==0;if(f){c[o>>2]=b;c[o+4>>2]=d;c[o+8>>2]=m;c[o+12>>2]=k;jN(375800,o);j=l}else{jN(375816,o);j=l+20|0}h=0;while(1){if(f){g=(h|0)<(m|0);if(!(g&(h|0)<(e|0))){f=13;break}}else{g=(h|0)<(k|0);if(!(g&(h|0)<(e|0))){f=15;break}}g=Vna(j,h)|0;if((c[a+48>>2]&c[g>>2]|0)!=(c[a+16>>2]|0)){g=Vna(j,h)|0;_na(a,c[g>>2]|0,c[g+4>>2]|0);jN(1701816,o)}h=h+1|0}if((f|0)==13)if(g)f=16;else{jN(1714256,o);n=1;continue}else if((f|0)==15?(f=0,g):0)f=16;if((f|0)==16)jN(375824,o);jN(1714256,o);n=n+1|0;if((n|0)==2)break}}i=o;return}function Rna(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){ooa(d);YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function Sna(a){a=a|0;poa(a);poa(a+20|0);return}function Tna(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){qoa(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function Una(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function Vna(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<3)|0;Ja(1701640,1701680,663,1701712);return 0}function Wna(a,b,d,e,f,g,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0;l=i?g&1|4:g&1;k=i?0:0;g=_Ga(e|0,f|0,b|0)|0;i=F;b=_Ga(((h|0)==1?l|2:l)|0,((h|0)==1?k:k)|0,a|0)|0;c[d>>2]=g|j|b;c[d+4>>2]=i|((j|0)<0)<<31>>31|F;return}function Xna(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=675;$L(374664,375960,2,1702e3,d);b=c[a>>2]|0}b=b+-1|0;c[a>>2]=b;a=(c[a+8>>2]|0)+(b<<3)|0;F=c[a+4>>2]|0;i=d;return c[a>>2]|0}function Yna(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;j=i;i=i+16|0;if(!((e|0)>-1?(f=c[a>>2]|0,(f|0)>=(e|0)):0)){c[j>>2]=1701680;c[j+4>>2]=691;$L(374664,375920,2,1702e3,j);f=c[a>>2]|0}if((c[a+4>>2]|0)==(f|0)){roa(a);f=c[a>>2]|0}g=c[a+8>>2]|0;if((f|0)>(e|0)){h=f;do{k=h;h=h+-1|0;m=g+(h<<3)|0;l=c[m+4>>2]|0;c[g+(k<<3)>>2]=c[m>>2];c[g+(k<<3)+4>>2]=l}while((h|0)>(e|0))}c[g+(e<<3)>>2]=b;c[g+(e<<3)+4>>2]=d;c[a>>2]=f+1;i=j;return}function Zna(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a>>2]|0;if((e|0)==(c[a+4>>2]|0)){roa(a);e=c[a>>2]|0}c[a>>2]=e+1;a=(c[a+8>>2]|0)+(e<<3)|0;c[a>>2]=b;c[a+4>>2]=d;return}function _na(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+32|0;l=UGa(c[a+32>>2]&b|0,c[a+36>>2]&d|0,c[a+24>>2]|0)|0;k=F;g=c[a+20>>2]|0;j=_Ga(1,0,g|0)|0;j=(j&b|0)!=0|(F&d|0)!=0?376e3:1714496;h=_Ga(2,0,g|0)|0;h=(h&b|0)!=0|(F&d|0)!=0?376016:376008;g=_Ga(4,0,g|0)|0;f=c[a+48>>2]&b;c[e>>2]=l;c[e+4>>2]=k;c[e+8>>2]=j;c[e+12>>2]=h;c[e+16>>2]=(g&b|0)!=0|(F&d|0)!=0?376024:1714496;c[e+20>>2]=f;jN(375976,e);i=e;return}function $na(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Pna(a,b,c,0,0,0,d);Pna(a,0,0,b,c,1,d);return}function aoa(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;Fna(a,b,c,d,e,f,0,g,h);Fna(a,d,e,b,c,f,1,g,h);return}function boa(a,b){a=a|0;b=b|0;b=SM(b)|0;return b-(SM(a)|0)|0}function coa(a,b){a=a|0;b=b|0;DEa(b,a,4,52);return}function doa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;h=i;i=i+16|0;if(!((b|0)>-1?(d=c[a>>2]|0,(d|0)>(b|0)):0)){c[h>>2]=1701680;c[h+4>>2]=705;$L(374664,1701640,2,1702e3,h);d=c[a>>2]|0}f=d+-1|0;if((f|0)>(b|0)){g=c[a+8>>2]|0;e=d+-1|0;d=b;do{b=d;d=d+1|0;k=g+(d<<3)|0;j=c[k+4>>2]|0;c[g+(b<<3)>>2]=c[k>>2];c[g+(b<<3)+4>>2]=j}while((d|0)!=(e|0))}c[a>>2]=f;i=h;return}function eoa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a>>2]|0;if((e|0)==(c[a+4>>2]|0)){soa(a);e=c[a>>2]|0}c[a>>2]=e+1;a=(c[a+8>>2]|0)+(e<<3)|0;c[a>>2]=b;c[a+4>>2]=d;return}function foa(a){a=a|0;var b=0,d=0,e=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){e=(c[a+8>>2]|0)+(d<<3)|0;fd[c[(c[b>>2]|0)+8>>2]&15](b,c[e>>2]|0,c[e+4>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function goa(a){a=a|0;c[a>>2]=375840;Rna(a+60|0);bna(a+104|0);cna(a+60|0);c[a>>2]=367304;RM(c[a+8>>2]|0);return}function hoa(a){a=a|0;goa(a);YEa(a);return}function ioa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+16|0;if(Ena(a,b,d,-1,-1,0,f,e,g+8|0,g)|0){f=c[g>>2]|0;e=c[g+4>>2]|0;b=_Ga(b|0,d|0,c[a+20>>2]|0)|0;d=F|e;b=b|f}else{d=-1;b=-1}F=d;i=g;return b|0}function joa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;g=c[(Una(a+60|0,b)|0)>>2]|0;if((c[g>>2]|0)>0){h=0;do{if(!(f?(i=Vna(g,h)|0,j=c[i>>2]|0,i=c[i+4>>2]|0,k=_Ga(4,0,c[a+20>>2]|0)|0,(k&j|0)==0&(F&i|0)==0):0)){k=Vna(g,h)|0;j=c[a+48>>2]&c[k>>2];k=_Ga(b|0,d|0,c[a+20>>2]|0)|0;hma(e,j,k|h,F|((h|0)<0)<<31>>31)}h=h+1|0}while((h|0)<(c[g>>2]|0))}return}function koa(a,b,d){a=a|0;b=b|0;d=d|0;if(!((b|0)==-1&(d|0)==-1)?!((c[a+80>>2]|0)==0&(c[a+84>>2]|0)==0):0){b=toa(a,b,d)|0;b=UGa(c[a+32>>2]&c[b>>2]|0,c[a+36>>2]&c[b+4>>2]|0,c[a+24>>2]|0)|0;d=F}else{d=-1;b=-1}F=d;return b|0}function loa(a,b,d){a=a|0;b=b|0;d=d|0;if(!((b|0)==-1&(d|0)==-1)?!((c[a+80>>2]|0)==0&(c[a+84>>2]|0)==0):0){b=toa(a,b,d)|0;d=c[b>>2]|0;b=c[b+4>>2]|0;a=_Ga(4,0,c[a+20>>2]|0)|0;b=(a&d|0)!=0|(F&b|0)!=0}else b=0;return b|0}function moa(a,b,d){a=a|0;b=b|0;d=d|0;if(!((b|0)==-1&(d|0)==-1)?!((c[a+80>>2]|0)==0&(c[a+84>>2]|0)==0):0){b=toa(a,b,d)|0;b=c[a+48>>2]&c[b>>2]}else b=-1;return b|0}function noa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;if((!((b|0)==-1&(d|0)==-1)?(g=toa(a,b,d)|0,i=c[g>>2]|0,g=c[g+4>>2]|0,h=c[a+20>>2]|0,j=_Ga(1,0,h|0)|0,!((j&i|0)==0&(F&g|0)==0)):0)?(c[a+52>>2]&g,(c[a+48>>2]&i|0)==(e|0)):0){j=_Ga(4,0,h|0)|0;g=((j&i|0)!=0|(F&g|0)!=0)^f;d=g?-1:d;g=g?-1:b}else{d=-1;g=-1}F=d;return g|0}function ooa(a){a=a|0;foa(a+20|0);foa(a);return}function poa(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;uoa(a,4);return}function qoa(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)ena(a,4);else ena(a,b<<1);return}function roa(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)uoa(a,4);else uoa(a,b<<1);return}function soa(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)fna(a,4);else fna(a,b<<1);return}function toa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+48>>2]&b;d=UGa(c[a+96>>2]&b|0,c[a+100>>2]&d|0,c[a+20>>2]|0)|0;return Vna(c[(Una(a+60|0,d)|0)>>2]|0,e)|0}function uoa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>536870911?-1:b<<3)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{j=f+(g<<3)|0;i=c[j+4>>2]|0;h=d+(g<<3)|0;c[h>>2]=c[j>>2];c[h+4>>2]=i;g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function voa(a){a=a|0;if(a)Foa(a);return}function woa(a){a=a|0;return Doa(((a+31|0)/32|0)<<2)|0}function xoa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+1024|0;c[d+8>>2]=b;AGa(d+24|0,a,d+8|0)|0;c[d>>2]=d+24;jN(383368,d);i=d;return}function yoa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;b=fc(a|0,b|0)|0;if(!b){c[d>>2]=a;jN(376032,d);Cb(1)}else{i=d;return b|0}return 0}function zoa(a){a=a|0;aL(a);c[a>>2]=376072;return}function Aoa(a){a=a|0;bL(a);return}function Boa(a){a=a|0;bL(a);YEa(a);return}function Coa(a){a=a|0;var b=0;b=i;i=i+16|0;if(a){c[b>>2]=a;jN(376120,b)}aM();i=b;return}function Doa(a){a=a|0;if((a|0)<1)Coa(376136);a=UFa(a)|0;if(!a){Coa(376168);a=0}return a|0}function Eoa(a,b){a=a|0;b=b|0;if(!((b|0)>=0?!((b|0)==0&(a|0)==0):0))Coa(376192);a=XFa(a,b)|0;if((a|0)==0&(b|0)!=0)Coa(376168);return a|0}function Foa(a){a=a|0;if(!a)Coa(376224);VFa(a);return}function Goa(a){a=a|0;return UFa(a)|0}function Hoa(a){a=a|0;VFa(a);return}function Ioa(a){a=a|0;var b=0;if(!a)a=0;else{b=a;a=0;do{a=a+1|0;b=c[b+4>>2]|0}while((b|0)!=0)}return a|0}function Joa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;a:do if(!a)a=0;else{d=a;f=0;while(1){e=f;while(1){a=d;while(1){if(!(Wpa(c[a>>2]|0,b)|0))break;a=Koa(a)|0;if(!a){a=f;break a}}if(!e)break;c[e+4>>2]=a;e=a+4|0;d=c[e>>2]|0;c[e>>2]=0;if(!d){a=f;break a}else e=a}f=a+4|0;d=c[f>>2]|0;c[f>>2]=0;if(!d)break;else f=a}}while(0);return a|0}function Koa(a){a=a|0;var b=0;if(!a)a=0;else{b=c[a+4>>2]|0;Qoa(a);a=b}return a|0}function Loa(a,b){a=a|0;b=b|0;b=(b|0)==0?248:b;if(a)do{Qc[b&511](c[a>>2]|0);a=Koa(a)|0}while((a|0)!=0);return}function Moa(a,b){a=a|0;b=b|0;var d=0;d=Poa()|0;c[d>>2]=b;c[d+4>>2]=a;return d|0}function Noa(a){a=a|0;var b=0;while(1){if(!a){a=0;break}b=c[a+4>>2]|0;if(!b)break;else a=b}return a|0}function Ooa(a,b){a=a|0;b=b|0;var d=0,e=0;if(!a){a=Poa()|0;c[a>>2]=b;c[a+4>>2]=0}else{d=a;while(1){if(!d){d=0;break}e=c[d+4>>2]|0;if(!e)break;else d=e}e=Poa()|0;c[e>>2]=b;c[e+4>>2]=0;c[d+4>>2]=e}return a|0}function Poa(){return WEa(8)|0}function Qoa(a){a=a|0;if(a)YEa(a);return}function Roa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if(!b)Ja(376256,376280,54,376312);if(!d)Ja(377680,376280,55,376312);if(e>>>0>=32767)Ja(387144,376280,56,376312);if(c[(c[b>>2]|0)+(e<<2)+8>>2]|0)Ja(376328,376280,57,376312);if(a[d>>0]|0)Ja(376376,376280,58,376312);f=wsa()|0;esa(c[b>>2]|0,e,f);if(!(c[b+(e<<2)+12>>2]|0)){c[b+(e<<2)+12>>2]=d;return}else Ja(376408,376280,63,376312)}function Soa(a){a=a|0;if(!a)Ja(376448,376280,81,376464);else{Loa(c[a+4>>2]|0,248);voa(c[a+8>>2]|0);hM(a);return}}function Toa(a){a=a|0;hM(a);return}function Uoa(a){a=a|0;var b=0;if(!a)Ja(376448,376280,97,376480);b=c[a>>2]|0;if(b)ZEa(b);hM(a);return}function Voa(){var b=0,d=0,e=0,f=0;b=Doa(272)|0;a[b>>0]=0;a[b+1>>0]=0;c[b+12>>2]=0;e=woa(512)|0;c[b+4>>2]=e;d=woa(64)|0;c[b+8>>2]=d;e=e+0|0;f=e+64|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));c[d>>2]=0;c[d+4>>2]=0;YGa(b+16|0,0,256)|0;return b|0}function Woa(a){a=a|0;var b=0,d=0;d=0;do{if(!(c[(c[a+8>>2]|0)+(((d|0)/32|0)<<2)>>2]&1<<(d&31))){b=c[a+(d<<2)+16>>2]|0;if(b)Soa(b)}else{b=c[a+(d<<2)+16>>2]|0;if(b)Uoa(b)}d=d+1|0}while((d|0)!=64);voa(c[a+4>>2]|0);voa(c[a+8>>2]|0);Loa(c[a+12>>2]|0,249);Foa(a);return}function Xoa(b){b=b|0;var d=0,e=0;d=Doa(131080)|0;c[d>>2]=vsa()|0;a[d+8>>0]=0;c[d+4>>2]=0;e=0;do{c[d+12+(e<<2)>>2]=0;if((e|0)<(c[b+192>>2]|0))Roa(d,Voa()|0,e);e=e+1|0}while((e|0)!=32767);return d|0}function Yoa(a,b){a=a|0;b=b|0;if(!(c[(c[a+8>>2]|0)+(((b&255)>>>5&255)<<2)>>2]&1<<(b&31)))a=(c[a+((b&255)<<2)+16>>2]|0)+12|0;else a=(c[a+((b&255)<<2)+16>>2]|0)+4|0;return c[a>>2]|0}function Zoa(a){a=a|0;var b=0,d=0;if(a){b=c[a>>2]|0;if((c[b>>2]|0)>0){d=0;do{Woa(c[a+(d<<2)+12>>2]|0);d=d+1|0;b=c[a>>2]|0}while((d|0)<(c[b>>2]|0))}ysa(b);Foa(a)}return}function _oa(d,e){d=d|0;e=e|0;var f=0,g=0;f=gM(16)|0;g=woa(d+1|0)|0;c[f+8>>2]=g;a[f>>0]=1;b[f+2>>1]=d;a[f+1>>0]=(d+32|0)/32|0;c[f+4>>2]=0;if((((d+32|0)/32|0)&255)<<24>>24)YGa(g|0,0,((((d+32|0)/32|0)&255)>>>0>1?(((d+32|0)/32|0)&255)<<2:4)|0)|0;c[f+12>>2]=e;return f|0}function $oa(){return gM(32)|0}function apa(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=i;i=i+32|0;xb(376496,33,1,f|0)|0;h=d[g+8>>0]|0;c[m>>2]=c[g+4>>2];c[m+4>>2]=h;zb(f|0,376536,m|0)|0;xb(376584,22,1,f|0)|0;xb(376608,25,1,f|0)|0;h=c[g>>2]|0;if((c[h>>2]|0)>0){l=0;do{j=c[h+(l<<2)+8>>2]|0;k=c[g+(l<<2)+12>>2]|0;if(!((a[k>>0]|0)==0?(c[k+12>>2]|0)==0:0)){p=MN(b+184|0,l)|0;o=d[j+3>>0]|0;n=d[k>>0]|0;j=e[j>>1]|0;h=j-(Ioa(c[k+12>>2]|0)|0)|0;c[m>>2]=l;c[m+4>>2]=p;c[m+8>>2]=o;c[m+12>>2]=n;c[m+16>>2]=j;c[m+20>>2]=h;zb(f|0,376640,m|0)|0;h=c[g>>2]|0}l=l+1|0}while((l|0)<(c[h>>2]|0))}Fc(10,f|0)|0;i=m;return}function bpa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;h=i;i=i+16|0;g=Doa(272)|0;Ha(g|0,272,1,a|0)|0;b=woa(512)|0;c[g+4>>2]=b;d=woa(64)|0;c[g+8>>2]=d;Ha(b|0,4,16,a|0)|0;Ha(d|0,4,2,a|0)|0;Ha(h+4|0,4,1,a|0)|0;c[g+12>>2]=0;b=c[h+4>>2]|0;if((b|0)>0){e=0;f=0;do{j=gM(32)|0;Ha(j|0,32,1,a|0)|0;e=Ooa(e,j)|0;c[g+12>>2]=e;f=f+1|0}while((f|0)!=(b|0))}Ha(h|0,4,1,a|0)|0;e=c[h>>2]|0;a:do if((e|0)>0){f=0;while(1){if(!(c[d+(((f|0)/32|0)<<2)>>2]&1<<(f&31)))b=dpa(a)|0;else b=cpa(a)|0;c[g+16+(f<<2)>>2]=b;b=f+1|0;if((b|0)>=(e|0))break a;d=c[g+8>>2]|0;f=b}}while(0);i=h;return g|0}function cpa(a){a=a|0;var b=0,e=0,f=0,g=0;e=i;i=i+16|0;b=gM(8)|0;Ha(e|0,1,1,a|0)|0;f=d[e>>0]|0;g=XEa((f+1|0)>>>0>1073741823?-1:f+1<<2)|0;c[b>>2]=g;Ha(g|0,4,f|0,a|0)|0;c[g+(f<<2)>>2]=-1;Ha(b+4|0,4,1,a|0)|0;i=e;return b|0}function dpa(a){a=a|0;var b=0,e=0,f=0;b=gM(16)|0;Ha(b|0,16,1,a|0)|0;e=d[b+1>>0]|0;f=woa(e<<5)|0;c[b+8>>2]=f;Ha(f|0,4,e|0,a|0)|0;return b|0}function epa(a,b){a=a|0;b=b|0;var d=0;d=Doa(131080)|0;Ha(d|0,131080,1,b|0)|0;a=zsa(a,b)|0;c[d>>2]=a;if((c[a>>2]|0)>0){a=0;do{c[d+12+(a<<2)>>2]=bpa(b)|0;a=a+1|0}while((a|0)<(c[c[d>>2]>>2]|0))}return d|0}function fpa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;c[g+4>>2]=d;xb(b|0,272,1,a|0)|0;xb(c[b+4>>2]|0,4,16,a|0)|0;xb(c[b+8>>2]|0,4,2,a|0)|0;c[g>>2]=Ioa(c[b+12>>2]|0)|0;xb(g|0,4,1,a|0)|0;d=c[b+12>>2]|0;if(d)do{xb(c[d>>2]|0,32,1,a|0)|0;d=c[d+4>>2]|0}while((d|0)!=0);xb(g+4|0,4,1,a|0)|0;d=c[g+4>>2]|0;if((d|0)>0){f=0;do{e=b+(f<<2)+16|0;if(!(c[(c[b+8>>2]|0)+(((f|0)/32|0)<<2)>>2]&1<<(f&31)))hpa(a,c[e>>2]|0);else gpa(a,c[e>>2]|0);f=f+1|0}while((f|0)!=(d|0))}i=g;return}function gpa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!b)Ja(376448,376280,538,376672);d=c[b>>2]|0;f=0;while(1){e=f&255;if((c[d+(e<<2)>>2]|0)>0)f=f+1<<24>>24;else break}Fc(f<<24>>24|0,a|0)|0;xb(c[b>>2]|0,4,e|0,a|0)|0;xb(b+4|0,4,1,a|0)|0;return}function hpa(a,b){a=a|0;b=b|0;if(!b)Ja(376448,376280,560,376688);if(!(c[b+4>>2]|0)){xb(b|0,16,1,a|0)|0;xb(c[b+8>>2]|0,4,d[b+1>>0]|0|0,a|0)|0;return}else Ja(376704,376280,562,376688)}function ipa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0;xb(e|0,131080,1,b|0)|0;Asa(a,b,c[e>>2]|0,c[a+192>>2]|0);a=c[e>>2]|0;if((c[a>>2]|0)>0){f=0;do{fpa(b,c[e+(f<<2)+12>>2]|0,d[(c[a+(f<<2)+8>>2]|0)+3>>0]|0);f=f+1|0;a=c[e>>2]|0}while((f|0)<(c[a>>2]|0))}return}function jpa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if(!d)Ja(376744,376760,186,376792);e=WEa(60)|0;Ypa(e);Zpa(e);if(!(c[a+1964>>2]|0)){c[f>>2]=376760;c[f+4>>2]=190;$L(376736,376816,2,1702e3,f)}kpa(a,b,e);lpa(a,e);$pa(c[e+20>>2]|0,c[e+28>>2]|0);mpa(a,e);aqa(e);Eba(f+8|0,c[b>>2]|0);npa(a,b+4|0,f+8|0,e,d);if(!(!(Jqa(+h[a+2104>>3],c[b>>2]|0)|0)?(NL(d)|0)!=0:0))Iqa(a,c[e>>2]|0,d);if((c[a+1052>>2]|0)>0){jN(376848,f);opa(a,e)}bqa(e);YEa(e);i=f;return}function kpa(b,e,f){b=b|0;e=e|0;f=f|0;var j=0,k=0,l=0,m=0;m=i;i=i+48|0;Fk(m);k=sra(e,(a[b+1034>>0]|0)!=0,m+20|0,m)|0;if(k){j=c[b+1964>>2]|0;a:do if((d[j+8>>0]|0)>=(c[b+1364>>2]|0)?(a[b+938>>0]|0)==0:0){j=Ppa(b,e,m,m+20|0,j,f)|0;do if(c[f+20>>2]|0){if(1.0-+g[f+16>>2]>+h[b+1168>>3]?(a[b+954>>0]|0)==0:0)break;if(!j)break a;if((c[j>>2]|0)<=-1)break a;if(a[b+954>>0]|0)break a;Jpa(b,m,m+20|0,e,c[b+1960>>2]|0,j,f);break a}while(0);Qpa(b,e,k,f)}else l=4;while(0);if((l|0)==4)Qpa(b,e,k,f);if(!((a[f+4>>0]|0)!=0?(c[f+20>>2]|0)!=0:0))Tpa(b,f);yua(k);YEa(k)}Gk(m);i=m;return}function lpa(b,d){b=b|0;d=d|0;var e=0,f=0,i=0,j=0,k=0,l=0.0,m=0,n=0.0,o=0.0;o=+g[d+16>>2]-+h[b+1248>>3];if(!(a[b+2078>>0]|0)){if((c[d+20>>2]|0)>0){i=0;f=0;while(1){if(+g[(dqa(d+20|0,i)|0)+4>>2]>=o){e=f+1|0;if((f|0)!=(i|0)){m=dqa(d+20|0,f)|0;b=dqa(d+20|0,i)|0;c[m+0>>2]=c[b+0>>2];c[m+4>>2]=c[b+4>>2];c[m+8>>2]=c[b+8>>2];JS(m+12|0,b+12|0)}}else e=f;i=i+1|0;f=c[d+20>>2]|0;if((i|0)>=(f|0)){i=25;break}else f=e}}}else{if(UN(b+184|0,385032)|0)k=HN(b+184|0,385032)|0;else k=-1;if(UN(b+184|0,385040)|0)m=HN(b+184|0,385040)|0;else m=-1;l=+cqa(k,d);n=+cqa(m,d);if((c[d+20>>2]|0)>0){j=0;f=0;while(1){i=dqa(d+20|0,j)|0;if(+g[i+4>>2]>=o){do if(Yz(b+184|0,c[i>>2]|0)|0?(MEa(378376,MN(b+184|0,c[i>>2]|0)|0)|0)==0:0){if((YN(b+184|0,c[i>>2]|0,1705304)|0)&l(s|0))m=m<