Lines Matching refs:Da
7311 var asm=(function(global,env,buffer){"use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.STACKTOP|0;var j=env.STACK_MAX|0;var k=env.tempDoublePtr|0;var l=env.ABORT|0;var m=env.cttz_i8|0;var n=env.ctlz_i8|0;var o=env.__ZTISt9exception|0;var p=env._stderr|0;var q=env._stdin|0;var r=env._stdout|0;var s=0;var t=0;var u=0;var v=0;var w=+env.NaN,x=+env.Infinity;var y=0,z=0,A=0,B=0,C=0.0,D=0,E=0,F=0,G=0.0;var H=0;var I=0;var J=0;var K=0;var L=0;var M=0;var N=0;var O=0;var P=0;var Q=0;var R=global.Math.floor;var S=global.Math.abs;var T=global.Math.sqrt;var U=global.Math.pow;var V=global.Math.cos;var W=global.Math.sin;var X=global.Math.tan;var Y=global.Math.acos;var Z=global.Math.asin;var _=global.Math.atan;var $=global.Math.atan2;var aa=global.Math.exp;var ba=global.Math.log;var ca=global.Math.ceil;var da=global.Math.imul;var ea=env.abort;var fa=env.assert;var ga=env.asmPrintInt;var ha=env.asmPrintFloat;var ia=env.min;var ja=env.invoke_iiiiiiii;var ka=env.invoke_viiiii;var la=env.invoke_vi;var ma=env.invoke_iiiidd;var na=env.invoke_vii;var oa=env.invoke_iiiiiii;var pa=env.invoke_ii;var qa=env.invoke_viidd;var ra=env.invoke_viddii;var sa=env.invoke_viiddddddiiii;var ta=env.invoke_iiiiiiiiiiiidd;var ua=env.invoke_vidii;var va=env.invoke_iiiii;var wa=env.invoke_iiiddddiii;var xa=env.invoke_viiiiiiiiiii;var ya=env.invoke_iiii;var za=env.invoke_iiiddiiiiiiiiiii;var Aa=env.invoke_viiiiii;var Ba=env.invoke_viiiiiiiiiiiii;var Ca=env.invoke_di;var Da=env.invoke_iiiiiiiiiii;var Ea=env.invoke_viiiiiii;var Fa=env.invoke_viiiiiiiii;var Ga=env.invoke_viiiiiiiiii;var Ha=env.invoke_iii;var Ia=env.invoke_iiiiii;var Ja=env.invoke_dii;var Ka=env.invoke_viidddddd;var La=env.invoke_iiiiiiiiii;var Ma=env.invoke_viii;var Na=env.invoke_v;var Oa=env.invoke_viid;var Pa=env.invoke_viiii;var Qa=env._isalnum;var Ra=env._fabs;var Sa=env._strrchr;var Ta=env._fread;var Ua=env._memchr;var Va=env._inflateReset;var Wa=env.__reallyNegative;var Xa=env._fstat;var Ya=env.___assert_fail;var Za=env.__ZSt18uncaught_exceptionv;var _a=env._longjmp;var $a=env._fsync;var ab=env._sbrk;var bb=env._sysconf;var cb=env._close;var db=env._cos;var eb=env._readdir;var fb=env._puts;var gb=env._FcPatternBuild;var hb=env._unlink;var ib=env._write;var jb=env._ftell;var kb=env._rand;var lb=env.__ZNSt9exceptionD2Ev;var mb=env.___cxa_does_inherit;var nb=env._strstr;var ob=env._FcPatternDestroy;var pb=env._qsort;var qb=env._closedir;var rb=env._FcPatternGetInteger;var sb=env._send;var tb=env._pow;var ub=env._atan2;var vb=env.___cxa_is_number_type;var wb=env._FcConfigSubstitute;var xb=env._fcntl;var yb=env.___cxa_find_matching_catch;var zb=env._opendir;var Ab=env._isalpha;var Bb=env._strtol;var Cb=env.___setErrNo;var Db=env.___resumeException;var Eb=env._srand;var Fb=env._strchr;var Gb=env._ceil;var Hb=env._putchar;var Ib=env.___buildEnvironment;var Jb=env._localeconv;var Kb=env._printf;var Lb=env._sprintf;var Mb=env._strtok_r;var Nb=env._stat;var Ob=env._FcPatternAddInteger;var Pb=env._getpwnam;var Qb=env._read;var Rb=env._fwrite;var Sb=env._FcPatternGetString;var Tb=env._time;var Ub=env._pthread_mutex_lock;var Vb=env._gettimeofday;var Wb=env._munmap;var Xb=env._mmap;var Yb=env._exit;var Zb=env._readdir_r;var _b=env._inflate;var $b=env._fmod;var ac=env._lseek;var bc=env._vfprintf;var cc=env.___cxa_allocate_exception;var dc=env._asin;var ec=env._atoi;var fc=env._pwrite;var gc=env._open;var hc=env._snprintf;var ic=env._FcFontSort;var jc=env._fseek;var kc=env._pthread_mutex_destroy;var lc=env._isxdigit;var mc=env._fclose;var nc=env.__parseInt;var oc=env._log;var pc=env._recv;var qc=env._fgetc;var rc=env.__getFloat;var sc=env._fputc;var tc=env._abort;var uc=env.___cxa_throw;var vc=env._strncmp;var wc=env._inflateInit2_;var xc=env._isspace;var yc=env._fopen;var zc=env._floor;var Ac=env._getgid;var Bc=env._sin;var Cc=env._acos;var Dc=env.___cxa_pure_virtual;var Ec=env._ungetc;var Fc=env._fflush;var Gc=env._fprintf;var Hc=env._sscanf;var Ic=env._strdup;var Jc=env.__exit;var Kc=env._strcspn;var Lc=env._log10;var Mc=env._pthread_mutex_unlock;var Nc=env._pread;var Oc=env._FcDefaultSubstitute;var Pc=env.___errno_location;var Qc=env._strcmp;var Rc=env._getpwuid;var Sc=env._copysign;var Tc=env._getenv;var Uc=env.__scanString;var Vc=env._FcFontSetDestroy;var Wc=env._inflateEnd;var Xc=env._strerror;var Yc=env._emscripten_longjmp;var Zc=env.__formatString;var _c=env._fputs;var $c=env._sqrt;var ad=env._pthread_mutex_init;var bd=env._strerror_r;var cd=0.0;
7313 =(E?x:F)+B|0}}while(0);if(A){B=B+ -1|0;a[r+B|0]=45}z=r+B|0;c[j>>2]=z;A=65-B|0;c[l>>2]=A;if(t){t=215}else{t=207}break};case 10:{A=(z|0)<0;D=A?0-z|0:z;z=z>>>31;if((D|0)==0){a[m]=48;B=64}else{B=65;while(1){B=B+ -1|0;a[r+B|0]=a[2992+((D|0)%8|0)|0]|0;if((B|0)<=(z|0)|(D+7|0)>>>0<15){break}else{D=(D|0)/8|0}}}do{if(x){G=65-B|0;x=s-z|0;if(!((B|0)>(z|0)&(G|0)<(x|0))){break}D=z-B|0;F=y+z-B|0;E=D>>>0>F>>>0;y=B;do{y=y+ -1|0;a[r+y|0]=48;G=G+1|0;}while((y|0)>(z|0)&(G|0)<(x|0));B=(E?D:F)+B|0}}while(0);if(A){B=B+ -1|0;a[r+B|0]=45}z=r+B|0;c[j>>2]=z;A=65-B|0;c[l>>2]=A;if(t){t=215}else{t=207}break};case 11:{A=(z|0)<0;D=A?0-z|0:z;z=z>>>31;if((D|0)==0){a[m]=48;B=64}else{B=65;while(1){B=B+ -1|0;a[r+B|0]=a[2992+((D|0)%2|0)|0]|0;if((B|0)<=(z|0)|(D+1|0)>>>0<3){break}else{D=(D|0)/2|0}}}do{if(x){G=65-B|0;x=s-z|0;if(!((B|0)>(z|0)&(G|0)<(x|0))){break}D=z-B|0;F=y+z-B|0;E=D>>>0>F>>>0;y=B;do{y=y+ -1|0;a[r+y|0]=48;G=G+1|0;}while((y|0)>(z|0)&(G|0)<(x|0));B=(E?D:F)+B|0}}while(0);if(A){B=B+ -1|0;a[r+B|0]=45}z=r+B|0;c[j>>2]=z;A=65-B|0;c[l>>2]=A;if(t){t=215}else{t=207}break};case 13:{if((z|0)==0){a[m]=48;y=64}else{A=65;while(1){y=A+ -1|0;a[r+y|0]=a[2992+(z&15)|0]|0;z=z>>>4;if((A|0)<2|(z|0)==0){break}else{A=y}}}do{if(x){D=65-y|0;if(!((y|0)>0&(D|0)<(s|0))){break}B=0-y|0;A=D-s|0;z=A>>>0<B>>>0;x=y;do{x=x+ -1|0;a[r+x|0]=48;D=D+1|0;}while((x|0)>0&(D|0)<(s|0));y=(z?B:A)+y|0}}while(0);z=r+y|0;c[j>>2]=z;A=65-y|0;c[l>>2]=A;if(t){t=215}else{t=207}break};case 15:{if((z|0)==0){a[m]=48;y=64}else{A=65;while(1){y=A+ -1|0;a[r+y|0]=a[2992+(z&1)|0]|0;z=z>>>1;if((A|0)<2|(z|0)==0){break}else{A=y}}}do{if(x){D=65-y|0;if(!((y|0)>0&(D|0)<(s|0))){break}B=0-y|0;A=D-s|0;z=A>>>0<B>>>0;x=y;do{x=x+ -1|0;a[r+x|0]=48;D=D+1|0;}while((x|0)>0&(D|0)<(s|0));y=(z?B:A)+y|0}}while(0);z=r+y|0;c[j>>2]=z;A=65-y|0;c[l>>2]=A;if(t){t=215}else{t=207}break};case 14:{if((z|0)==0){a[m]=48;y=64}else{A=65;while(1){y=A+ -1|0;a[r+y|0]=a[2992+(z&7)|0]|0;z=z>>>3;if((A|0)<2|(z|0)==0){break}else{A=y}}}do{if(x){D=65-y|0;if(!((y|0)>0&(D|0)<(s|0))){break}B=0-y|0;A=D-s|0;z=A>>>0<B>>>0;x=y;do{x=x+ -1|0;a[r+x|0]=48;D=D+1|0;}while((x|0)>0&(D|0)<(s|0));y=(z?B:A)+y|0}}while(0);z=r+y|0;c[j>>2]=z;A=65-y|0;c[l>>2]=A;if(t){t=215}else{t=207}break};case 16:{qe(C,r,65,A,0,p,f);if(t){t=213}else{t=207}break};case 18:{qe(C,r,65,A,1,p,f);if(t){t=213}else{t=207}break};case 17:{H=+S(+C);if(H>=.1){qe(C,r,65,A,1,p,f);if(t){t=213;break b}else{t=207;break b}}if(H<.1&(A|0)<16){while(1){H=H*10.0;A=A+1|0;if(H<.1&(A|0)<16){}else{break}}}qe(C,r,65,A,1,p,f);if(t){t=213}else{t=207}break};case 19:{a[g]=z;c[j>>2]=r;c[l>>2]=1;if(t){t=207}else{A=1;t=214}break};case 20:{c[j>>2]=z;A=ZW(z|0)|0;c[l>>2]=A;if(t){t=207}else{t=215}break};case 21:{x=c[z+28>>2]|0;c[j>>2]=x;A=c[z+24>>2]|0;c[l>>2]=A;if(t){t=207}else{z=x;t=215}break};case 22:{c[j>>2]=r;c[l>>2]=0;if(t){A=0;s=z;t=214}else{s=z;t=207}break};default:{if(t){t=213}else{t=207}}}}while(0);if((t|0)==207){x=c[l>>2]|0;if((x|0)<(s|0)){do{G=c[n>>2]|0;de(b,G+1|0);a[(c[o>>2]|0)+G|0]=32;x=x+1|0;}while((x|0)<(s|0));x=c[l>>2]|0}s=c[j>>2]|0;t=c[n>>2]|0;if((x|0)==-1){x=ZW(s|0)|0}de(b,x+t|0);$W((c[o>>2]|0)+t|0,s|0,x|0)|0;continue}else if((t|0)==213){z=c[j>>2]|0;A=c[l>>2]|0;t=215}else if((t|0)==214){t=0;y=c[n>>2]|0;x=r}do{if((t|0)==215){y=c[n>>2]|0;if((A|0)!=-1){x=z;break}x=z;A=ZW(z|0)|0}}while(0);de(b,A+y|0);$W((c[o>>2]|0)+y|0,x|0,A|0)|0;t=c[l>>2]|0;if((t|0)>=(s|0)){continue}while(1){G=c[n>>2]|0;de(b,G+1|0);a[(c[o>>2]|0)+G|0]=32;t=t+1|0;if((t|0)<(s|0)){}else{continue a}}}if((t|0)==226){Fe(w);i=q;return b|0}return 0}function ke(a){a=a|0;var b=0,d=0;b=i;d=c[a+28>>2]|0;if((d|0)==(a|0)){i=b;return}Fe(d);i=b;return}function le(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;e=b+28|0;f=c[e>>2]|0;h=b+24|0;g=c[h>>2]|0;do{if((f|0)==0){h=b+24|0;if((g|0)>0){f=b;break}$W(b|0,f|0,g|0)|0;f=b}else{if((g|0)<24){break}j=(g|0)<256?7:255;if((g+1+j&~j|0)==24){break}h=b+24|0;f=b}}while(0);c[e>>2]=f;c[h>>2]=0;a[f]=0;i=d;return b|0}function me(b,d){b=b|0;d=d|0;var e=0,f=0;e=i;f=c[b+24>>2]|0;de(b,f+1|0);a[(c[b+28>>2]|0)+f|0]=d;i=e;return b|0}function ne(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;f=c[a+24>>2]|0;if((d|0)==-1){d=ZW(b|0)|0}de(a,f+d|0);$W((c[a+28>>2]|0)+f|0,b|0,d|0)|0;i=e;return a|0}function oe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;e=c[b+28>>2]|0;f=c[b+24>>2]|0;b=c[a+24>>2]|0;if((f|0)==-1){f=ZW(e|0)|0}de(a,f+b|0);$W((c[a+28>>2]|0)+b|0,e|0,f|0)|0;i=d;return a|0}function pe(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;f=i;i=i+16|0;c[f>>2]=d;je(a,b,f)|0;i=e;return a|0}function qe(b,d,e,f,g,h,j){b=+b;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0.0,p=0;k=i;l=b<0.0;if(l){b=-0.0-b}b=+R(+(b*+U(10.0,+(+(f|0)))+.5));g=g^1;p=(e|0)>1;if((f|0)>0&p){o=b;n=e;m=0;while(1){b=+R(+((o+.5)*.1));p=~~+R(+(o-b*10.0+.5));if(!((p|0)==0&(g^1))){n=n+ -1|0;a[d+n|0]=p+48;g=1}m=m+1|0;p=(n|0)>1;if((m|0)<(f|0)&p){o=b}else{break}}}else{n=e}if(p&g){n=n+ -1|0;a[d+n|0]=46}if((n|0)>1){while(1){o=+R(+((b+.5)*.1));n=n+ -1|0;a[d+n|0]=~~+R(+(b-o*10.0+.5))+48;if((n|0)>1&o!=0.0){b=o}else{break}}}if(!l){m=d+n|0;p=h;c[p>>2]=m;n=e-n|0;p=j;c[p>>2]=n;i=k;return}n=n+ -1|0;a[d+n|0]=45;m=d+n|0;p=h;c[p>>2]=m;n=e-n|0;p=j;c[p>>2]=n;i=k;return}function re(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;f=i;if((e|0)<=0){i=f;return b|0}g=b+24|0;h=c[g>>2]|0;e=(e+d|0)>(h|0)?h-d|0:e;j=h-e|0;if((j|0)>=(d|0)){h=b+28|0;while(1){j=c[h>>2]|0;a[j+d|0]=a[j+(d+e)|0]|0;j=(c[g>>2]|0)-e|0;if((d|0)<(j|0)){d=d+1|0}else{break}}}de(b,j);i=f;return b|0}function se(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;g=i;e=c[b+24>>2]|0;f=c[d+24>>2]|0;a:do{if((e|0)>0&(f|0)>0){h=0;b=c[b+28>>2]|0;d=c[d+28>>2]|0;while(1){j=a[b]|0;k=a[d]|0;if(j<<24>>24!=k<<24>>24){break}h=h+1|0;if((h|0)<(e|0)&(h|0)<(f|0)){b=b+1|0;d=d+1|0}else{break a}}k=(j<<24>>24)-(k<<24>>24)|0;i=g;return k|0}}while(0);k=e-f|0;i=g;return k|0}function te(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;g=c[b+24>>2]|0;j=a[d]|0;h=j<<24>>24==0;a:do{if((g|0)>0){k=0;b=c[b+28>>2]|0;while(1){if(h){g=1;f=8;break}h=a[b]|0;if(h<<24>>24!=j<<24>>24){break}k=k+1|0;d=d+1|0;j=a[d]|0;h=j<<24>>24==0;if((k|0)<(g|0)){b=b+1|0}else{break a}}if((f|0)==8){i=e;return g|0}d=(h<<24>>24)-(j<<24>>24)|0;i=e;return d|0}}while(0);d=(h^1)<<31>>31;i=e;return d|0}function ue(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;f=i;h=c[b+24>>2]|0;a:do{if((h|0)>0){g=0;b=c[b+28>>2]|0;while(1){k=a[d]|0;if(!(k<<24>>24!=0&(g|0)<(e|0))){h=4;break}j=a[b]|0;if(j<<24>>24!=k<<24>>24){h=6;break}g=g+1|0;d=d+1|0;if((g|0)<(h|0)){b=b+1|0}else{break a}}if((h|0)==4){k=(g|0)!=(e|0)|0;i=f;return k|0}else if((h|0)==6){k=(j<<24>>24)-(k<<24>>24)|0;i=f;return k|0}}else{g=0}}while(0);e=(g|0)==(e|0);if(e){k=e&1^1;i=f;return k|0}k=((a[d]|0)!=0)<<31>>31;i=f;return k|0}function ve(b){b=b|0;var d=0;d=i;b=c[b+28>>2]|0;if((a[b]|0)!=-2){b=0;i=d;return b|0}b=(a[b+1|0]|0)==-1;i=d;return b|0}function we(a){a=a|0;var b=0;b=i;if((a|0)==0){a=0;i=b;return a|0}a=AW(a)|0;if((a|0)==0){Rb(3232,14,1,c[p>>2]|0)|0;Yb(1)}else{i=b;return a|0}return 0}function xe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;f=(a|0)!=0;do{if((b|0)==0){if(!f){e=0;break}BW(a);e=0}else{if(f){a=CW(a,b)|0}else{a=AW(b)|0}if((a|0)!=0){e=a;break}Rb(3232,14,1,c[p>>2]|0)|0;Yb(1)}}while(0);i=d;return e|0}function ye(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;if((a|0)==0){e=0;i=d;return e|0}e=da(b,a)|0;do{if(!((b|0)<1|(a|0)<0)){if((2147483647/(b|0)|0|0)<=(a|0)){break}if((e|0)==0){e=0;i=d;return e|0}b=AW(e)|0;if((b|0)==0){Rb(3232,14,1,c[p>>2]|0)|0;Yb(1)}else{e=b;i=d;return e|0}}}while(0);Rb(3200,29,1,c[p>>2]|0)|0;Yb(1);return 0}function ze(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;a:do{if((a|0)==0){b=0}else{e=da(b,a)|0;do{if(!((b|0)<1|(a|0)<0)){if((2147483647/(b|0)|0|0)<=(a|0)){break}if((e|0)==0){b=0;break a}b=AW(e)|0;if((b|0)!=0){break a}Rb(3232,14,1,c[p>>2]|0)|0;b=0;break a}}while(0);Rb(3200,29,1,c[p>>2]|0)|0;b=0}}while(0);i=d;return b|0}function Ae(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;a=Be(a,b,c,0)|0;i=d;return a|0}function Be(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;g=dada(g,d)|0;do{if(!((d|0)<1|(g|0)<0)){if((2147483647/(d|0)|0|0)<=(g|0)){break}if((b|0)==0){a=0;i=f;return a|0}g=AW(b)|0;if((g|0)!=0){a=g;i=f;return a|0}Rb(3232,14,1,c[p>>2]|0)|0;if(e){a=0;i=f;return a|0}else{Yb(1)}}}while(0);Rb(3200,29,1,c[p>>2]|0)|0;if(e){a=0;i=f;return a|0}else{Yb(1)}}}while(0);Rb(3200,29,1,c[p>>2]|0)|0;if(e){a=0;i=f;return a|0}else{Yb(1)}return 0}function Ce(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;a=De(a,b,c,0)|0;i=d;return a|0}function De(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;a:do{if((b|0)==0){if((a|0)==0){g=0;break}BW(a);g=0}else{g=da(d,b)|0;do{if(!((d|0)<1|(b|0)<0)){if((2147483647/(d|0)|0|0)<=(b|0)){break}d=(a|0)!=0;if((g|0)==0){if(!d){g=0;break a}BW(a);g=0;break a}if(d){g=CW(a,g)|0}else{g=AW(g)|0}if((g|0)!=0){break a}Rb(3232,14,1,c[p>>2]|0)|0;if(e){g=0;break a}Yb(1)}}while(0);Rb(3200,29,1,c[p>>2]|0)|0;if(!e){Yb(1)}if((a|0)==0){g=0;break}BW(a);g=0}}while(0);i=f;return g|0}function Ee(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;a=De(a,b,c,1)|0;i=d;return a|0}function Fe(a){a=a|0;var b=0;b=i;if((a|0)!=0){BW(a)}i=b;return}function Ge(a){a=a|0;var b=0,d=0,e=0;b=i;e=(ZW(a|0)|0)+1|0;do{if((e|0)==0){d=0}else{e=AW(e)|0;if((e|0)!=0){d=e;break}Rb(3232,14,1,c[p>>2]|0)|0;Yb(1)}}while(0);eX(d|0,a|0)|0;i=b;return d|0}function He(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=i;g=d+1|0;do{if((g|0)==0){f=0}else{g=AW(g)|0;if((g|0)!=0){f=g;break}Rb(3232,14,1,c[p>>2]|0)|0;Yb(1)}}while(0);a[f+d|0]=0;$W(f|0,b|0,d|0)|0;i=e;return f|0}function Ie(a){a=a|0;var b=0.0,c=0;c=i;b=+Je(a,0);i=c;return+b}function Je(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0.0;f=i;g=i;i=i+8|0;j=g;c[g>>2]=0;k=c[(Jb()|0)>>2]|0;h=ZW(k|0)|0;if((a[k]|0)==46){if((a[k+1|0]|0)==0){e=27}else{l=b;e=3}}else{l=b;e=3}do{if((e|0)==3){a:while(1){e=0;n=a[l]|0;switch(n<<24>>24){case 11:case 9:case 13:case 10:case 12:case 32:{break};case 45:case 43:{e=5;break a};default:{break a}}l=l+1|0;e=3}if((e|0)==5){l=l+1|0;n=a[l]|0}if(!((n+ -48<<24>>24&255)<10|n<<24>>24==46)){e=27;break}while(1){m=l+1|0;if((n+ -48<<24>>24&255)>=10){break}n=a[m]|0;l=m}o=n<<24>>24==46;n=o?m:l;while(1){p=a[n]|0;m=n+1|0;if((p+ -48<<24>>24&255)<10){n=m}else{break}}l=o?l:0;if(p<<24>>24==69|p<<24>>24==101){p=a[m]|0}else{m=n}if(p<<24>>24==45|p<<24>>24==43){o=m+1|0}else{o=m}while(1){if(((a[o]|0)+ -48<<24>>24&255)>=10){break}o=o+1|0}if((l|0)==0){if((o|0)==0){e=27;break}k=o-b|0;h=AW(k+1|0)|0;$W(h|0,b|0,k|0)|0;a[h+k|0]=0;k=Pc()|0;c[k>>2]=0;q=+UW(h,j);j=c[k>>2]|0;k=c[g>>2]|0;if((k|0)!=0){c[g>>2]=b+(k-h)}BW(h);break}n=AW(1-b+h+o|0)|0;m=l-b|0;$W(n|0,b|0,m|0)|0;$W(n+m|0,k|0,h|0)|0;k=m+h|0;l=l+1|0;p=o-l|0;$W(n+k|0,l|0,p|0)|0;a[n+(p+k)|0]=0;k=Pc()|0;c[k>>2]=0;q=+UW(n,j);j=c[k>>2]|0;k=c[g>>2]|0;do{if((k|0)!=0){k=k-n|0;if((k|0)>(m|0)){c[g>>2]=b+(1-h+k);break}else{c[g>>2]=b+k;break}}}while(0);BW(n)}}while(0);if((e|0)==27){p=Pc()|0;c[p>>2]=0;q=+UW(b,j);j=c[p>>2]|0}if((d|0)==0){p=Pc()|0;c[p>>2]=j;i=f;return+q}c[d>>2]=c[g>>2];p=Pc()|0;c[p>>2]=j;i=f;return+q}function Ke(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;j=i;c[a>>2]=b;k=a+4|0;c[k>>2]=d;c[a+16>>2]=f;c[a+8>>2]=e;a:do{switch(f|0){case 4:{if((b+ -1|0)>>>0<536870911){b=b<<2;c[a+12>>2]=b;f=16;break a}else{c[a+12>>2]=-1;f=15;break a}break};case 0:{if((b|0)>0){b=b+7>>3;c[a+12>>2]=b;f=16;break a}else{c[a+12>>2]=-1;f=15;break a}break};case 3:case 2:{if((b+ -1|0)>>>0<715827882){b=b*3|0;c[a+12>>2]=b;f=16;break a}else{c[a+12>>2]=-1;f=15;break a}break};case 1:{f=a+12|0;if((b|0)>0){c[f>>2]=b;f=16;break a}else{c[f>>2]=-1;f=15;break a}break};default:{b=c[a+12>>2]|0;f=16}}}while(0);do{if((f|0)==15){e=a+12|0;b=-1}else if((f|0)==16){f=a+12|0;if((b|0)<=0){e=f;break}b=b+ -1+e|0;b=b-((b|0)%(e|0)|0)|0;c[f>>2]=b;e=f}}while(0);f=ye(b,d)|0;d=a+20|0;c[d>>2]=f;if(!h){b=c[e>>2]|0;c[d>>2]=f+(da((c[k>>2]|0)+ -1|0,b)|0);c[e>>2]=0-b}if(g){c[a+24>>2]=ye(c[a>>2]|0,c[k>>2]|0)|0;i=j;return}else{c[a+24>>2]=0;i=j;return}}function Le(a){a=a|0;var b=0,d=0,e=0;b=i;d=c[a+12>>2]|0;e=c[a+20>>2]|0;if((d|0)<0){Fe(e+(da((c[a+4>>2]|0)+ -1|0,d)|0)|0)}else{Fe(e)}Fe(c[a+24>>2]|0);i=b;return}function Me(a,b){a=a|0;b=b|0;var c=0;c=i;b=yc(b|0,3248)|0;if((b|0)==0){b=5;i=c;return b|0}Ne(a,b)|0;mc(b|0)|0;b=0;i=c;return b|0}function Ne(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=i;p=i;i=i+8|0;n=p;j=i;i=i+8|0;k=j;q=i;i=i+8|0;h=q;l=i;i=i+8|0;m=l;g=i;i=i+8|0;o=g;switch(c[a+16>>2]|0){case 1:{f=a+4|0;k=c[f>>2]|0;c[l>>2]=c[a>>2];c[m+4>>2]=k;Gc(b|0,3272,m|0)|0;k=c[f>>2]|0;if((k|0)<=0){i=e;return 0}g=a+12|0;l=c[a>>2]|0;h=c[a+20>>2]|0;j=0;while(1){if((l|0)>0){k=h;m=0;while(1){sc(d[k]|0|0,b|0)|0;m=m+1|0;l=c[a>>2]|0;if((m|0)<(l|0)){k=k+1|0}else{break}}k=c[f>>2]|0}j=j+1|0;if((j|0)<(k|0)){h=h+(c[g>>2]|0)|0}else{break}}i=e;return 0};case 3:{f=a+4|0;k=c[f>>2]|0;c[p>>2]=c[a>>2];c[n+4>>2]=k;Gc(b|0,3288,n|0)|0;k=c[f>>2]|0;if((k|0)<=0){i=e;return 0}g=a+12|0;l=c[a>>2]|0;h=c[a+20>>2]|0;j=0;while(1){if((l|0)>0){k=h;m=0;while(1){sc(d[k+2|0]|0|0,b|0)|0;sc(d[k+1|0]|0|0,b|0)|0;sc(d[k]|0|0,b|0)|0;m=m+1|0;l=c[a>>2]|0;if((m|0)<(l|0)){k=k+3|0}else{break}}k=c[f>>2]|0}j=j+1|0;if((j|0)<(k|0)){h=h+(c[g>>2]|0)|0}else{break}}i=e;return 0};case 0:{f=a+4|0;k=c[f>>2]|0;c[g>>2]=c[a>>2];c[o+4>>2]=k;Gc(b|0,3256,o|0)|0;k=c[f>>2]|0;if((k|0)<=0){i=e;return 0}g=a+12|0;l=c[a>>2]|0;h=c[a+20>>2]|0;j=0;while(1){if((l|0)>0){k=h;m=0;while(1){sc((d[k]|0)^255|0,b|0)|0;m=m+8|0;l=c[a>>2]|0;if((m|0)<(l|0)){k=k+1|0}else{break}}k=c[f>>2]|0}j=j+1|0;if((j|0)<(k|0)){h=h+(c[g>>2]|0)|0}else{break}}i=e;return 0};case 4:{f=a+4|0;q=c[f>>2]|0;c[j>>2]=c[a>>2];c[k+4>>2]=q;Gc(b|0,3288,k|0)|0;k=c[f>>2]|0;if((k|0)<=0){i=e;return 0}g=a+12|0;l=c[a>>2]|0;h=c[a+20>>2]|0;j=0;while(1){if((l|0)>0){k=h;m=0;while(1){sc(d[k+2|0]|0|0,b|0)|0;sc(d[k+1|0]|0|0,b|0)|0;sc(d[k]|0|0,b|0)|0;m=m+1|0;l=c[a>>2]|0;if((m|0)<(l|0)){k=k+4|0}else{break}}k=c[f>>2]|0}j=j+1|0;if((j|0)<(k|0)){h=h+(c[g>>2]|0)|0}else{break}}i=e;return 0};case 2:{f=a+4|0;k=c[f>>2]|0;c[q>>2]=c[a>>2];c[h+4>>2]=k;Gc(b|0,3288,h|0)|0;k=c[f>>2]|0;if((k|0)<=0){i=e;return 0}g=a+12|0;l=c[a>>2]|0;h=c[a+20>>2]|0;j=0;while(1){if((l|0)>0){k=h;m=0;while(1){sc(d[k]|0|0,b|0)|0;sc(d[k+1|0]|0|0,b|0)|0;sc(d[k+2|0]|0|0,b|0)|0;m=m+1|0;l=c[a>>2]|0;if((m|0)<(l|0)){k=k+3|0}else{break}}k=c[f>>2]|0}j=j+1|0;if((j|0)<(k|0)){h=h+(c[g>>2]|0)|0}else{break}}i=e;return 0};default:{i=e;return 0}}return 0}function Oe(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;if((f|0)<0){i=h;return}if((c[b+4>>2]|0)<=(f|0)|(e|0)<0){i=h;return}if((c[b>>2]|0)<=(e|0)){i=h;return}switch(c[b+16>>2]|0){case 1:{a[g]=a[(da(c[b+12>>2]|0,f)|0)+e+(c[b+20>>2]|0)|0]|0;i=h;return};case 2:{e=(da(c[b+12>>2]|0,f)|0)+(e*3|0)|0;f=c[b+20>>2]|0;a[g]=a[f+e|0]|0;a[g+1|0]=a[f+(e+1)|0]|0;a[g+2|0]=a[f+(e+2)|0]|0;i=h;return};case 4:{e=(da(c[b+12>>2]|0,f)|0)+(e<<2)|0;f=c[b+20>>2]|0;a[g]=a[f+(e+2)|0]|0;a[g+1|0]=a[f+(e+1)|0]|0;a[g+2|0]=a[f+e|0]|0;a[g+3|0]=a[f+(e+3)|0]|0;i=h;return};case 3:{e=(da(c[b+12>>2]|0,f)|0)+(e*3|0)|0;f=c[b+20>>2]|0;a[g]=a[f+(e+2)|0]|0;a[g+1|0]=a[f+(e+1)|0]|0;a[g+2|0]=a[f+e|0]|0;i=h;return};case 0:{a[g]=(((d[(da(c[b+12>>2]|0,f)|0)+(e>>3)+(c[b+20>>2]|0)|0]|0)&128>>>(e&7)|0)!=0)<<31>>31;i=h;return};default:{i=h;return}}}function Pe(b,d,e){b=b|0;d=d|0;e=e|0;e=(dada=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0;g=i;Ia=i;i=i+8|0;x=i;i=i+8|0;t=x;r=i;i=i+8|0;s=r;A=i;i=i+8|0;B=A;F=i;i=i+8|0;E=F;I=i;i=i+8|0;H=I;Q=i;i=i+8|0;N=Q;S=i;i=i+8|0;T=S;da=i;i=i+8|0;ca=da;ka=i;i=i+8|0;ja=ka;ba=i;i=i+8|0;aa=ba;ha=i;i=i+8|0;ia=ha;oa=i;i=i+8|0;ma=oa;qa=i;i=i+8|0;va=qa;za=i;i=i+8|0;ya=za;Ba=i;i=i+8|0;Aa=Ba;Ga=i;i=i+8|0;Ja=Ga;Ma=i;i=i+8|0;Na=Ma;Qa=i;i=i+8|0;Oa=Qa;Sa=i;i=i+8|0;Ra=Sa;Ua=i;i=i+8|0;Ta=Ua;Wa=i;i=i+8|0;Va=Wa;fa=i;i=i+8|0;Xa=fa;Fa=i;i=i+16|0;h=Fa;Ha=i;i=i+16|0;j=Ha;Ca=i;i=i+16|0;k=Ca;J=i;i=i+16|0;l=J;G=i;i=i+16|0;m=G;M=i;i=i+16|0;f=M;w=i;i=i+16|0;n=w;v=i;i=i+16|0;q=v;ra=i;i=i+16|0;_=ra;sa=i;i=i+16|0;Y=sa;ta=i;i=i+16|0;W=ta;la=i;i=i+16|0;Z=la;na=i;i=i+16|0;V=na;ea=i;i=i+16|0;X=ea;R=i;i=i+16|0;P=R;La=b+4|0;c[La>>2]=d;c[b>>2]=34088;c[Fa>>2]=13;Ka=h+8|0;c[Ka>>2]=0;c[Ka+4>>2]=0;c[Ha>>2]=13;Ea=j+8|0;c[Ea>>2]=0;c[Ea+4>>2]=0;c[Ca>>2]=13;Da=k+8|0;c[Da>>2]=0;c[Da+4>>2]=0;c[J>>2]=13;K=l+8|0;c[K>>2]=0;c[K+4>>2]=0;c[G>>2]=13;D=m+8|0;c[D>>2]=0;c[D+4>>2]=0;c[M>>2]=13;O=f+8|0;c[O>>2]=0;Pa=O+4|0;c[Pa>>2]=0;c[w>>2]=13;z=n+8|0;c[z>>2]=0;c[z+4>>2]=0;c[v>>2]=13;u=q+8|0;c[u>>2]=0;c[u+4>>2]=0;c[ra>>2]=13;wa=_+8|0;c[wa>>2]=0;c[wa+4>>2]=0;c[sa>>2]=13;xa=Y+8|0;c[xa>>2]=0;c[xa+4>>2]=0;c[ta>>2]=13;ua=W+8|0;c[ua>>2]=0;c[ua+4>>2]=0;c[la>>2]=13;ga=Z+8|0;c[ga>>2]=0;c[ga+4>>2]=0;c[na>>2]=13;pa=V+8|0;c[pa>>2]=0;c[pa+4>>2]=0;c[ea>>2]=13;$=X+8|0;c[$>>2]=0;c[$+4>>2]=0;c[R>>2]=13;U=P+8|0;c[U>>2]=0;c[U+4>>2]=0;y=b+64|0;d=b+60|0;L=b+52|0;C=b+56|0;bX(L|0,0,13)|0;Ya=c[e>>2]|0;if((Ya|0)!=7){c[fa>>2]=Ya;c[Xa+4>>2]=7;Qe(0,34440,Xa);tc()}fa=e+8|0;Yu(c[fa>>2]|0,34144,h,0)|0;Xa=c[e>>2]|0;if((Xa|0)!=7){c[Wa>>2]=Xa;c[Va+4>>2]=7;Qe(0,34440,Va);tc()}Yu(c[fa>>2]|0,34152,j,0)|0;Va=c[e>>2]|0;if((Va|0)!=7){c[Ua>>2]=Va;c[Ta+4>>2]=7;Qe(0,34440,Ta);tc()}Yu(c[fa>>2]|0,34160,k,0)|0;Ta=c[e>>2]|0;if((Ta|0)!=7){c[Sa>>2]=Ta;c[Ra+4>>2]=7;Qe(0,34440,Ra);tc()}Yu(c[fa>>2]|0,34168,l,0)|0;Ra=c[e>>2]|0;if((Ra|0)!=7){c[Qa>>2]=Ra;c[Oa+4>>2]=7;Qe(0,34440,Oa);tc()}Yu(c[fa>>2]|0,34176,m,0)|0;Oa=c[e>>2]|0;if((Oa|0)!=7){c[Ma>>2]=Oa;c[Na+4>>2]=7;Qe(0,34440,Na);tc()}Yu(c[fa>>2]|0,34184,f,0)|0;if((c[M>>2]|0)==14){Ya=c[O>>2]|0;Of(f);c[Pa>>2]=0;c[M>>2]=1;c[O>>2]=Ya}Ma=c[(c[La>>2]|0)+28>>2]|0;La=c[Ma+40>>2]|0;if((La|0)!=7){c[Ga>>2]=La;c[Ja+4>>2]=7;Qe(0,34440,Ja);tc()}Yu(c[Ma+48>>2]|0,34192,n,0)|0;a:do{if((c[Fa>>2]|0)==1){if((c[Ha>>2]|0)!=1){o=85;break}if((c[J>>2]|0)!=3){o=85;break}if((c[(c[K>>2]|0)+24>>2]|0)!=32){o=85;break}if((c[G>>2]|0)!=3){o=85;break}if((c[(c[D>>2]|0)+24>>2]|0)!=32){o=85;break}if((c[M>>2]|0)!=1){o=85;break}Ha=c[Ka>>2]|0;Fa=b+36|0;c[Fa>>2]=Ha;Ia=c[Ea>>2]|0;Ea=b+40|0;c[Ea>>2]=Ia;Ga=b+48|0;c[Ga>>2]=0;do{if((Ia|0)==2){o=26}else{if((c[Ca>>2]|0)!=1){o=26;break}c[b+32>>2]=(c[Da>>2]|0)/8|0}}while(0);if((o|0)==26){c[b+32>>2]=5}Ca=b+44|0;a[Ca]=1;do{if((Ha|0)==4&(Ia|0)==4){Da=c[e>>2]|0;if((Da|0)!=7){c[Ba>>2]=Da;c[Aa+4>>2]=7;Qe(0,34440,Aa);tc()}Yu(c[fa>>2]|0,34200,_,0)|0;Aa=c[e>>2]|0;if((Aa|0)!=7){c[za>>2]=Aa;c[ya+4>>2]=7;Qe(0,34440,ya);tc()}Yu(c[fa>>2]|0,34208,Y,0)|0;ya=c[e>>2]|0;if((ya|0)!=7){c[qa>>2]=ya;c[va+4>>2]=7;Qe(0,34440,va);tc()}Yu(c[fa>>2]|0,34216,W,0)|0;do{if((c[ra>>2]|0)==7){if((c[sa>>2]|0)!=4){break}if((c[ta>>2]|0)!=4){break}qa=c[xa>>2]|0;if((Qc(qa|0,c[ua>>2]|0)|0)!=0){break}if((c[(Yu(c[wa>>2]|0,qa,Z,0)|0)>>2]|0)==7){qa=c[la>>2]|0;if((qa|0)!=7){c[oa>>2]=qa;c[ma+4>>2]=7;Qe(0,34440,ma);tc()}Yu(c[ga>>2]|0,34224,V,0)|0;do{if((c[na>>2]|0)==4){ma=c[pa>>2]|0;if((Qc(ma|0,34232)|0)==0){c[Fa>>2]=2;c[Ea>>2]=3;ca=c[la>>2]|0;if((ca|0)!=7){c[ha>>2]=ca;c[ia+4>>2]=7;Qe(0,34440,ia);tc()}do{if((c[(Yu(c[ga>>2]|0,34160,X,0)|0)>>2]|0)==1){ca=c[ea>>2]|0;if((ca|0)==1){c[b+32>>2]=c[$>>2];break}else{c[ba>>2]=ca;c[aa+4>>2]=1;Qe(0,34440,aa);tc()}}}while(0);Of(X);break}if((Qc(ma|0,34240)|0)!=0){break}c[Fa>>2]=2;c[Ea>>2]=3;c[Ga>>2]=1;aa=c[la>>2]|0;if((aa|0)!=7){c[ka>>2]=aa;c[ja+4>>2]=7;Qe(0,34440,ja);tc()}do{if((c[(Yu(c[ga>>2]|0,34160,X,0)|0)>>2]|0)==1){aa=c[ea>>2]|0;if((aa|0)==1){c[b+32>>2]=c[$>>2];break}else{c[da>>2]=aa;c[ca+4>>2]=1;Qe(0,34440,ca);tc()}}}while(0);Of(X)}}while(0);Of(V)}Of(Z)}}while(0);Of(W);Of(Y);Of(_);V=c[e>>2]|0;if((V|0)!=7){c[S>>2]=V;c[T+4>>2]=7;Qe(0,34440,T);tc()}do{if((c[(Yu(c[fa>>2]|0,34248,P,0)|0)>>2]|0)==0){R=c[R>>2]|0;if((R|0)==0){a[Ca]=a[U]&1;break}else{c[Q>>2]=R;c[N+4>>2]=0;Qe(0,34440,N);tc()}}}while(0);Of(P);M=c[M>>2]|0;if((M|0)==1){break}c[I>>2]=M;c[H+4>>2]=1;Qe(0,34440,H);tc()}}while(0);c[b+8>>2]=c[O>>2];H=c[J>>2]|0;if((H|0)!=3){c[F>>2]=H;c[E+4>>2]=3;Qe(0,34440,E);tc()}Ya=c[K>>2]|0;E=FW(32)|0;ie(E,Ya);c[L>>2]=E;E=c[G>>2]|0;if((E|0)!=3){c[A>>2]=E;c[B+4>>2]=3;Qe(0,34440,B);tc()}B=c[D>>2]|0;A=FW(32)|0;ie(A,B);c[C>>2]=A;A=c[Fa>>2]|0;B=c[Ea>>2]|0;do{if((A+ -1|0)>>>0<2){if((B+ -2|0)>>>0>=2){break}if((c[w>>2]|0)==6){do{if((c[(ut(c[z>>2]|0,0,q)|0)>>2]|0)==3){t=c[v>>2]|0;if((t|0)==3){Ya=c[u>>2]|0;p=FW(32)|0;ie(p,Ya);break}else{c[r>>2]=t;c[s+4>>2]=3;Qe(0,34440,s);tc()}}else{p=FW(32)|0;ee(p)}}while(0);c[d>>2]=p;Of(q)}else{Ya=FW(32)|0;ee(Ya);c[d>>2]=Ya}a[y]=1;break a}}while(0);c[x>>2]=A;c[t+4>>2]=B;Qe(-1,34264,t)}else{o=85}}while(0);if((o|0)==85){Qe(-1,34336,Ia)}o=b+32|0;if((c[o>>2]|0)<=16){Of(n);Of(f);Of(m);Of(l);Of(k);Of(j);Of(h);i=g;return}c[o>>2]=16;Of(n);Of(f);Of(m);Of(l);Of(k);Of(j);Of(h);i=g;return}function sg(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=34088;d=c[a+60>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+52>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+56>>2]|0;if((d|0)==0){HW(a);i=b;return}ke(d);HW(d);HW(a);i=b;return}function tg(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=34088;d=c[a+60>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+52>>2]|0;if((d|0)!=0){ke(d);HW(d)}a=c[a+56>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function ug(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;a=FW(8)|0;if((b|0)==0){b=0}else{f=FW(32)|0;ie(f,b);b=f}if((d|0)==0){d=0}else{f=FW(32)|0;ie(f,d);d=f}c[a>>2]=b;c[a+4>>2]=d;i=e;return a|0}function vg(a){a=a|0;i=i;return 0}function wg(a,b){a=a|0;b=b|0;var d=0;a=i;if((b|0)==0){i=a;return}d=c[b>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[b+4>>2]|0;if((d|0)!=0){ke(d);HW(d)}HW(b);i=a;return}function xg(b,d){b=b|0;d=d|0;var e=0,f=0;e=i;if((a[b+64|0]&1)==0){d=0;i=e;return d|0}if((d|0)==0){f=0;d=0}else{f=c[d>>2]|0;d=c[d+4>>2]|0}d=Cu(c[b+36>>2]|0,c[b+40>>2]|0,c[b+32>>2]|0,c[b+52>>2]|0,c[b+56>>2]|0,c[b+8>>2]|0,c[b+60>>2]|0,f,d,b+13|0,(a[b+44|0]&1)!=0,b+12|0)|0;i=e;return d|0}function yg(a){a=a|0;i=i;return c[a+8>>2]|0}function zg(b){b=b|0;i=i;return(a[b+12|0]&1)!=0|0}function Ag(a){a=a|0;i=i;return a+13|0}function Bg(a){a=a|0;i=i;return c[a+32>>2]|0}function Cg(a){a=a|0;i=i;return c[a+36>>2]|0}function Dg(a){a=a|0;i=i;return c[a+40>>2]|0}function Eg(a){a=a|0;i=i;return c[a+48>>2]|0}function Fg(a){a=a|0;var b=0;b=i;HW(a);i=b;return}function Gg(a){a=a|0;i=i;return}function Hg(b,d,e,f){b=b|0;d=+d;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;g=i;j=i;i=i+8|0;h=i;i=i+16|0;k=h;m=i;i=i+128|0;n=m;o=c[b+4>>2]|0;l=c[o+8>>2]|0;fB(o,d,n);if((a[b+12|0]&1)!=0){a[f]=(((c[m>>2]|0)*255|0)+32768|0)>>>16;a[f+1|0]=(((c[n+4>>2]|0)*255|0)+32768|0)>>>16;a[f+2|0]=(((c[n+8>>2]|0)*255|0)+32768|0)>>>16;i=g;return}switch(e|0){case 1:case 0:{Gd[c[(c[l>>2]|0)+16>>2]&255](l,n,j);l=0;k=0;h=(((c[j>>2]|0)*255|0)+32768|0)>>>16&255;break};case 2:case 3:case 4:{Gd[c[(c[l>>2]|0)+20>>2]&255](l,n,k);l=(((c[k+8>>2]|0)*255|0)+32768|0)>>>16&255;k=(((c[k+4>>2]|0)*255|0)+32768|0)>>>16&255;h=(((c[h>>2]|0)*255|0)+32768|0)>>>16&255;break};default:{l=0;k=0;h=0}}a[f]=h;a[f+1|0]=k;a[f+2|0]=l;i=g;return}function Ig(a){a=a|0;var b=0;b=i;HW(a);i=b;return}function Jg(a){a=a|0;i=i;return}function Kg(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0.0,r=0,s=0,t=0.0;g=i;k=i;i=i+8|0;m=k;j=i;i=i+16|0;l=j;o=i;i=i+128|0;n=o;s=i;i=i+8|0;r=i;i=i+8|0;Hy(b+8|0,+(d|0),+(e|0),s,r);q=+h[b+104>>3]*((+h[s>>3]- +h[b+56>>3])*+h[b+88>>3]+(+h[r>>3]- +h[b+64>>3])*+h[b+96>>3]);do{if(q<0.0){d=c[b+128>>2]|0;if((a[d+364|0]&1)==0){p=4;break}q=+h[b+112>>3]}else{p=4}}while(0);a:do{if((p|0)==4){do{if(q>1.0){d=c[b+128>>2]|0;if((a[d+365|0]&1)==0){break}q=+h[b+120>>3];break a}}while(0);if(q>=0.0&q<=1.0){t=+h[b+112>>3];d=c[b+128>>2]|0;q=t+q*(+h[b+120>>3]-t);break}else{s=0;i=g;return s|0}}}while(0);WA(d,q,n);n=b+132|0;$W((c[n>>2]|0)+124|0,o|0,128)|0;n=c[n>>2]|0;o=c[n+116>>2]|0;n=n+124|0;switch(c[b+136>>2]|0){case 2:case 3:case 4:{Gd[c[(c[o>>2]|0)+20>>2]&255](o,n,l);m=(((c[l+8>>2]|0)*255|0)+32768|0)>>>16&255;l=(((c[l+4>>2]|0)*255|0)+32768|0)>>>16&255;j=(((c[j>>2]|0)*255|0)+32768|0)>>>16&255;break};case 1:case 0:{Gd[c[(c[o>>2]|0)+16>>2]&255](o,n,m);m=0;l=0;j=(((c[k>>2]|0)*255|0)+32768|0)>>>16&255;break};default:{m=0;l=0;j=0}}a[f]=j;a[f+1|0]=l;a[f+2|0]=m;s=1;i=g;return s|0}function Lg(d,e,f,g,j,k,l,m,n,o,p,q){d=d|0;e=e|0;f=+f;g=+g;j=+j;k=+k;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;var r=0,s=0,t=0,u=0;r=i;s=i;i=i+8|0;u=e;t=c[u+4>>2]|0;e=d;c[e>>2]=c[u>>2];c[e+4>>2]=t;h[d+8>>3]=f;h[d+16>>3]=g;h[d+24>>3]=j;h[d+32>>3]=k;c[d+40>>2]=l;c[d+44>>2]=m;c[d+48>>2]=n;c[d+52>>2]=o;a[d+56|0]=p&1;if(q){m=da(o,n)|0;c[d+60>>2]=m}else{m=da(n+7>>3,o)|0;c[d+60>>2]=m}p=d+68|0;c[p>>2]=8;do{if((m|0)<257){c[d+64>>2]=8;e=8;l=8}else{if((m|0)<513){c[d+64>>2]=4;e=4;l=8;break}if((m|0)<1025){c[d+64>>2]=2;e=2;l=8;break}if((m|0)<2049){c[d+64>>2]=1;c[p>>2]=4;e=1;l=4;break}c[d+64>>2]=1;if((m|0)<4097){c[p>>2]=2;e=1;l=2;break}else{c[p>>2]=1;e=1;l=1;break}}}while(0);q=d+64|0;do{if((m|0)<(((10485760/(l>>>0)|0)>>>0)/(e>>>0)|0|0)){u=ze(da(e,l)|0,m)|0;c[d+72>>2]=u;if((u|0)==0){break}s=ye(da(c[p>>2]|0,c[q>>2]|0)|0,4)|0;d=d+76|0;c[d>>2]=s;m=c[p>>2]|0;if((da(m,c[q>>2]|0)|0)>0){l=0}else{i=r;return}while(1){b[s+(l<<2)+2>>1]=m+65535&l;l=l+1|0;m=c[p>>2]|0;if((l|0)>=(dada((c[O+64>>2]|0)+ -1&m,q)|0;c:do{if((q|0)>0){t=c[O+76>>2]|0;if((t|0)==0){o=0;while(1){o=o+1|0;if((o|0)>=(q|0)){break c}}}else{s=0}while(1){f=s+r|0;if((b[t+(f<<2)+2>>1]|0)<0){if((e[t+(f<<2)>>1]|0)==(m|0)){break}}s=s+1|0;if((s|0)>=(q|0)){break c}}S=(c[O+72>>2]|0)+(da(c[O+60>>2]|0,f)|0)|0;c[p>>2]=0-(c[O+40>>2]|0);c[o+4>>2]=0-(c[O+44>>2]|0);c[o+8>>2]=c[O+48>>2];c[o+12>>2]=c[O+52>>2];a[o+16|0]=(c[d+112>>2]|0)!=0|0;c[o+20>>2]=S;a[o+24|0]=0;sp(c[d+184>>2]|0,0.0,0.0,o);S=1;i=n;return S|0}}while(0);S=FW(48)|0;bX(S|0,0,48)|0;Q=d+228|0;c[S+40>>2]=c[Q>>2];c[Q>>2]=S;b[S>>1]=m;c[S+4>>2]=O;c[S+8>>2]=0;c[S+12>>2]=0;S=0;i=n;return S|0}function th(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0;f=i;j=i;i=i+32|0;k=j;e=b+228|0;l=c[e>>2]|0;if((c[l+8>>2]|0)!=0){g=b+180|0;$W(c[l+12>>2]|0,c[(c[g>>2]|0)+20>>2]|0,c[(c[l+4>>2]|0)+60>>2]|0)|0;l=c[g>>2]|0;if((l|0)!=0){Le(l);HW(l)}l=b+184|0;m=c[l>>2]|0;if((m|0)!=0){Lo(m);HW(m)}m=c[e>>2]|0;c[g>>2]=c[m+16>>2];c[l>>2]=c[m+20>>2];IB(d,+h[d+16>>3],+h[d+24>>3],+h[d+32>>3],+h[d+40>>3],+h[m+24>>3],+h[m+32>>3]);Ed[c[(c[b>>2]|0)+92>>2]&3](b,d,0.0,0.0,0.0,0.0,0.0,0.0);m=c[e>>2]|0;d=c[m+4>>2]|0;m=c[m+12>>2]|0;c[j>>2]=0-(c[d+40>>2]|0);c[k+4>>2]=0-(c[d+44>>2]|0);c[k+8>>2]=c[d+48>>2];c[k+12>>2]=c[d+52>>2];a[k+16|0]=(c[b+112>>2]|0)!=0|0;c[k+20>>2]=m;a[k+24|0]=0;sp(c[l>>2]|0,0.0,0.0,k);l=c[e>>2]|0}c[e>>2]=c[l+40>>2];if((l|0)==0){i=f;return}HW(l);i=f;return}function uh(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;i=i;return}function vh(d,f,g,j,k,l,m,n){d=d|0;f=f|0;g=+g;j=+j;k=+k;l=+l;m=+m;n=+n;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0.0,E=0.0,F=0,G=0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0.0;r=i;A=i;i=i+8|0;t=i;i=i+8|0;u=i;i=i+8|0;s=i;i=i+8|0;p=i;i=i+8|0;q=p;o=d+228|0;y=c[o>>2]|0;if((y|0)==0){Qe(-1,35424,s);i=r;return}if((c[y+16>>2]|0)!=0){Qe(-1,35480,u);i=r;return}if((c[y+20>>2]|0)!=0){Qe(-1,35552,t);i=r;return}z=c[y+4>>2]|0;v=f+16|0;L=+h[v>>3];t=f+32|0;W=+h[t>>3];w=f+48|0;E=+h[w>>3];j=E+(L*0.0+W*0.0);u=f+24|0;H=+h[u>>3];s=f+40|0;J=+h[s>>3];x=f+56|0;D=+h[x>>3];g=D+(H*0.0+J*0.0);M=L*k;K=W*l;I=E+(M+K);N=H*k;k=J*l;O=D+(N+k);l=W*n;M=E+(M+l);n=J*n;N=D+(N+n);do{if(M<I){J=I}else{if(M<=I){J=I;M=I;break}J=M;M=I}}while(0);do{if(N<O){I=O}else{if(N<=O){I=O;N=O;break}I=N;N=O}}while(0);L=L*m;K=E+(L+K);m=H*m;H=D+(m+k);do{if(K<M){M=K}else{if(K<=J){break}J=K}}while(0);do{if(H<N){N=H}else{if(H<=I){break}I=H}}while(0);E=E+(L+l);D=D+(m+n);do{if(E<M){M=E}else{if(E<=J){break}J=E}}while(0);do{if(D<N){N=D}else{if(D<=I){break}I=D}}while(0);B=z+40|0;G=c[B>>2]|0;do{if(M-j>=+(G|0)){C=z+44|0;P=c[C>>2]|0;if(N-g<+(P|0)){break}F=z+48|0;if(J-j>+((c[F>>2]|0)+G|0)){break}G=z+52|0;if(I-g>+((c[G>>2]|0)+P|0)){break}Q=z+76|0;R=c[Q>>2]|0;if((R|0)==0){i=r;return}P=z+68|0;S=c[P>>2]|0;A=da((c[z+64>>2]|0)+65535&(e[y>>1]|0),S)|0;if((S|0)>0){y=z+72|0;z=z+60|0;U=0;while(1){T=U+A|0;R=R+(T<<2)+2|0;V=b[R>>1]|0;if((V&32767|0)==(S+ -1|0)){b[R>>1]=-32768;b[(c[Q>>2]|0)+(T<<2)>>1]=b[c[o>>2]>>1]|0;c[(c[o>>2]|0)+8>>2]=(c[Q>>2]|0)+(T<<2);V=(c[y>>2]|0)+(da(c[z>>2]|0,T)|0)|0;c[(c[o>>2]|0)+12>>2]=V}else{b[R>>1]=V+1<<16>>16}U=U+1|0;S=c[P>>2]|0;if((U|0)>=(S|0)){break}R=c[Q>>2]|0}y=c[o>>2]|0}z=d+180|0;c[y+16>>2]=c[z>>2];y=d+184|0;c[(c[o>>2]|0)+20>>2]=c[y>>2];h[(c[o>>2]|0)+24>>3]=+h[w>>3];h[(c[o>>2]|0)+32>>3]=+h[x>>3];V=(c[d+112>>2]|0)==0;w=FW(28)|0;x=c[F>>2]|0;A=c[G>>2]|0;if(V){Ke(w,x,A,1,0,0,1);c[z>>2]=w;V=FW(192)|0;Ko(V,w,0,Oo(c[(c[o>>2]|0)+20>>2]|0)|0);c[y>>2]=V;a[p]=0;ep(V,q,0);a[p]=1}else{Ke(w,x,A,1,1,0,1);c[z>>2]=w;V=FW(192)|0;U=(a[d+122|0]&1)!=0;Ko(V,w,U,Oo(c[(c[o>>2]|0)+20>>2]|0)|0);c[y>>2]=V;a[p]=0;ep(V,q,0);a[p]=-1}V=c[y>>2]|0;U=FW(8)|0;tq(U,q);Ro(V,U);U=c[y>>2]|0;V=FW(8)|0;tq(V,q);Qo(U,V);IB(f,+h[v>>3],+h[u>>3],+h[t>>3],+h[s>>3],+(0-(c[B>>2]|0)|0),+(0-(c[C>>2]|0)|0));Ed[c[(c[d>>2]|0)+92>>2]&3](d,f,0.0,0.0,0.0,0.0,0.0,0.0);i=r;return}}while(0);if((a[z+56|0]&1)==0){i=r;return}Qe(-1,35624,A);i=r;return}function wh(b,d){b=b|0;d=d|0;var e=0,f=0;e=i;if((c[d+584>>2]&4|0)!=0){i=e;return}f=c[d+116>>2]|0;if((jd[c[(c[f>>2]|0)+12>>2]&511](f)|0)!=10){i=e;return}a[b+108|0]=1;hd[c[(c[b>>2]|0)+80>>2]&127](b,d);i=e;return}function xh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=i;f=b+108|0;do{if((a[f]&1)!=0){a[f]=0;g=c[d+116>>2]|0;if((jd[c[(c[g>>2]|0)+12>>2]&511](g)|0)==10){break}f=b+240|0;g=c[f>>2]|0;if((g|0)!=0){op(c[b+184>>2]|0,g,1)|0;g=c[f>>2]|0;if((g|0)!=0){hq(g);HW(g)}c[f>>2]=0}hd[c[(c[b>>2]|0)+84>>2]&127](b,d);hd[c[(c[b>>2]|0)+140>>2]&127](b,d)}}while(0);d=b+240|0;f=c[d>>2]|0;if((f|0)==0){i=e;return}ap(c[b+184>>2]|0,f,0)|0;b=c[d>>2]|0;if((b|0)!=0){hq(b);HW(b)}c[d>>2]=0;i=e;return}function yh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;g=i;e=b+16|0;if((c[e>>2]|0)==(c[b+12>>2]|0)){j=0;i=g;return j|0}h=Bj(c[b>>2]|0)|0;f=b+8|0;if((c[f>>2]|0)>0){b=b+4|0;j=0;while(1){a[d]=a[b]&1^a[h];j=j+1|0;if((j|0)<(c[f>>2]|0)){d=d+1|0;h=h+1|0}else{break}}}c[e>>2]=(c[e>>2]|0)+1;j=1;i=g;return j|0}function zh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;g=i;h=i;i=i+32|0;f=h;$W(h|0,35664,32)|0;h=c[(c[b+180>>2]|0)+24>>2]|0;e=b+248|0;k=c[e>>2]|0;j=c[k+20>>2]|0;if((dada>2]=c[f+24>>2];KB(b,+(c[f>>2]|0),+(c[f+4>>2]|0));Ed[c[(c[a>>2]|0)+92>>2]&3](a,b,0.0,0.0,0.0,0.0,0.0,0.0);i=d;return}function Jh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;d=i;f=b+244|0;g=c[f>>2]|0;e=c[g+8>>2]|0;zp(c[b+184>>2]|0,e,0,0,c[g>>2]|0,c[g+4>>2]|0,c[e>>2]|0,c[e+4>>2]|0,0,(a[g+16|0]&1)==0)|0;b=c[f>>2]|0;c[f>>2]=c[b+28>>2];if((b|0)!=0){HW(b)}if((e|0)==0){i=d;return}Le(e);HW(e);i=d;return}function Kh(b,e,f,g,j,k){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0.0;l=i;o=i;i=i+8|0;m=o;w=i;i=i+8|0;v=w;y=i;i=i+16|0;z=y;n=i;i=i+8|0;r=n;p=i;i=i+8|0;q=p;e=b+244|0;B=c[e>>2]|0;t=c[B>>2]|0;u=c[B+4>>2]|0;f=c[B+8>>2]|0;do{if(!g){A=b+112|0;if((c[A>>2]|0)==0){break}if((c[B+12>>2]|0)==0){break}x=FW(192)|0;D=(a[b+122|0]&1)!=0;Ko(x,f,D,Oo(c[B+24>>2]|0)|0);A=c[A>>2]|0;if((A|0)==1){D=c[(c[e>>2]|0)+12>>2]|0;Gd[c[(c[D>>2]|0)+16>>2]&255](D,k,v);a[o]=(((c[w>>2]|0)*255|0)+32768|0)>>>16;Ap(x,m)}else if((A|0)==2|(A|0)==3){s=7}else if((A|0)==4){a[m+3|0]=-1;s=7}if((s|0)==7){D=c[(c[e>>2]|0)+12>>2]|0;Gd[c[(c[D>>2]|0)+20>>2]&255](D,k,z);a[o]=(((c[y>>2]|0)*255|0)+32768|0)>>>16;a[m+1|0]=(((c[z+4>>2]|0)*255|0)+32768|0)>>>16;a[m+2|0]=(((c[z+8>>2]|0)*255|0)+32768|0)>>>16;Ap(x,m)}if((x|0)==0){break}Lo(x);HW(x)}}while(0);s=FW(28)|0;y=b+180|0;x=c[y>>2]|0;Ke(s,c[x>>2]|0,c[x+4>>2]|0,1,1,0,1);x=c[(c[e>>2]|0)+12>>2]|0;if((x|0)==0){v=0}else{Gd[c[(c[x>>2]|0)+16>>2]&255](x,k,v);v=(((c[w>>2]|0)*255|0)+32768|0)>>>16&255}x=s+20|0;k=s+12|0;bX(c[x>>2]|0,v|0,da(c[s+4>>2]|0,c[k>>2]|0)|0)|0;v=c[f>>2]|0;w=c[f+4>>2]|0;y=c[y>>2]|0;z=c[y>>2]|0;v=(v+t|0)>(z|0)?z-t|0:v;y=c[y+4>>2]|0;w=(w+u|0)>(y|0)?y-u|0:w;if((w|0)>0){C=c[k>>2]|0;B=(da(C,u)|0)+t|0;z=(v|0)>0;t=b+112|0;A=(j|0)==0;y=m+1|0;u=m+2|0;x=(c[x>>2]|0)+B|0;B=0;while(1){if(z){a:do{if(g){C=0;do{a[x+C|0]=Pe(f,C,B)|0;C=C+1|0;}while((C|0)<(v|0))}else{C=0;while(1){Oe(f,C,B,m);switch(c[t>>2]|0){case 3:case 2:case 4:{h[n>>3]=+(d[o]|0|0)*.001176470588235294+ +(d[y]|0|0)*.002313725490196078+ +(d[u]|0|0)*.00043137254901960784;break};case 1:case 0:{h[n>>3]=+(d[o]|0|0)/255.0;break};default:{}}if(A){E=+h[n>>3];h[p>>3]=E}else{Gd[c[(c[j>>2]|0)+16>>2]&255](j,r,q);E=+h[p>>3]}a[x+C|0]=~~(E*255.0+.5);C=C+1|0;if((C|0)>=(v|0)){break a}}}}while(0);D=c[k>>2]|0}else{D=C}B=B+1|0;if((B|0)<(w|0)){C=D;x=x+D|0}else{break}}}bp(c[b+184>>2]|0,s);j=c[e>>2]|0;c[e>>2]=c[j+28>>2];if((j|0)!=0){HW(j)}if((f|0)==0){i=l;return}Le(f);HW(f);i=l;return}function Lh(a,b){a=a|0;b=b|0;b=i;bp(c[a+184>>2]|0,0);i=b;return}function Mh(b){b=b|0;i=i;return(a[(c[b+184>>2]|0)+188|0]&1)!=0|0}function Nh(b,d){b=b|0;d=d|0;a[(c[b+184>>2]|0)+188|0]=d&1;i=i;return}function Oh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;h=c[e+8>>2]|0;h=jd[c[(c[h>>2]|0)+12>>2]&511](h)|0;h=(c[b+112>>2]|0)==2&(h|0)==2;g=FW(16)|0;qq(g);c[g>>2]=34520;c[g+8>>2]=d;c[g+4>>2]=e;a[g+12|0]=h&1;if((c[e+324>>2]|0)<=0){h=0;i=f;return h|0}d=jd[c[(c[b>>2]|0)+404>>2]&511](b)|0;hd[c[(c[b>>2]|0)+408>>2]&127](b,1);h=Bp(c[b+184>>2]|0,g)|0;hd[c[(c[b>>2]|0)+408>>2]&127](b,d);i=f;return h|0}function Ph(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=+f;g=+g;var j=0,k=0,l=0,m=0,n=0,o=0.0,p=0.0,q=0,r=0,s=0,t=0,u=0,v=0;j=i;q=i;i=i+48|0;n=i;i=i+8|0;u=i;i=i+8|0;t=i;i=i+8|0;r=i;i=i+8|0;m=jd[c[(c[b>>2]|0)+404>>2]&511](b)|0;hd[c[(c[b>>2]|0)+408>>2]&127](b,1);HB(d,n,u,t,r);f=+h[n>>3];g=+h[u>>3];k=d+588|0;v=c[k>>2]|0;s=d+592|0;h[s>>3]=f;l=d+600|0;h[l>>3]=g;uB(v,f,g);g=+h[t>>3];f=+h[u>>3];u=c[k>>2]|0;h[s>>3]=g;h[l>>3]=f;vB(u,g,f);f=+h[t>>3];g=+h[r>>3];t=c[k>>2]|0;h[s>>3]=f;h[l>>3]=g;vB(t,f,g);g=+h[n>>3];f=+h[r>>3];r=c[k>>2]|0;h[s>>3]=g;h[l>>3]=f;vB(r,g,f);xB(c[k>>2]|0);k=c[k>>2]|0;r=k+28|0;n=k+24|0;t=c[(c[n>>2]|0)+((c[r>>2]|0)+ -1<<2)>>2]|0;h[s>>3]=+h[(c[t>>2]|0)+((c[t+12>>2]|0)+ -1<<3)>>3];r=c[(c[n>>2]|0)+((c[r>>2]|0)+ -1<<2)>>2]|0;h[l>>3]=+h[(c[r+4>>2]|0)+((c[r+12>>2]|0)+ -1<<3)>>3];k=lh(0,0,k)|0;l=FW(144)|0;r=c[b+112>>2]|0;qq(l);c[l>>2]=34568;n=l+128|0;c[n>>2]=e;c[l+132>>2]=d;c[l+136>>2]=r;$W(q|0,d+16|0,48)|0;Gy(q,l+8|0)|0;n=c[n>>2]|0;f=+h[n+184>>3];h[l+56>>3]=f;g=+h[n+192>>3];h[l+64>>3]=g;p=+h[n+200>>3];h[l+72>>3]=p;o=+h[n+208>>3];h[l+80>>3]=o;f=p-f;h[l+88>>3]=f;g=o-g;h[l+96>>3]=g;h[l+104>>3]=1.0/(f*f+g*g);h[l+112>>3]=+h[n+216>>3];h[l+120>>3]=+h[n+224>>3];e=(Dp(c[b+184>>2]|0,k,(a[e+176|0]&1)!=0,l)|0)==0;hd[c[(c[b>>2]|0)+408>>2]&127](b,m);SB(d);if((l|0)!=0){fd[c[(c[l>>2]|0)+8>>2]&511](l)}if((k|0)==0){i=j;return e|0}hq(k);HW(k);i=j;return e|0}function Qh(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,g=0.0,j=0.0,k=0,l=0,m=0,n=0;d=i;k=i;i=i+48|0;b=FW(144)|0;m=c[a+136>>2]|0;l=c[a+132>>2]|0;n=c[a+128>>2]|0;qq(b);c[b>>2]=34568;a=b+128|0;c[a>>2]=n;c[b+132>>2]=l;c[b+136>>2]=m;$W(k|0,l+16|0,48)|0;Gy(k,b+8|0)|0;a=c[a>>2]|0;f=+h[a+184>>3];h[b+56>>3]=f;e=+h[a+192>>3];h[b+64>>3]=e;j=+h[a+200>>3];h[b+72>>3]=j;g=+h[a+208>>3];h[b+80>>3]=g;f=j-f;h[b+88>>3]=f;e=g-e;h[b+96>>3]=e;h[b+104>>3]=1.0/(f*f+e*e);h[b+112>>3]=+h[a+216>>3];h[b+120>>3]=+h[a+224>>3];i=d;return b|0}function Rh(a){a=a|0;i=i;return 0}function Sh(b){b=b|0;var d=0,e=0,f=0,g=0;e=i;d=FW(16)|0;f=a[b+12|0]&1;g=c[b+8>>2]|0;b=c[b+4>>2]|0;qq(d);c[d>>2]=34520;c[d+8>>2]=g;c[d+4>>2]=b;a[d+12|0]=f;i=e;return d|0}function Th(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;i=i;return 0}function Uh(a){a=a|0;i=i;return 0}function Vh(a){a=a|0;i=i;return(c[(c[a+4>>2]|0)+324>>2]|0)>0|0}function Wh(a){a=a|0;i=i;return c[(c[a+4>>2]|0)+192>>2]|0}function Xh(a,b,d,e,f,g,h,j,k,l,m){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;m=m|0;var n=0;n=i;gB(c[a+4>>2]|0,b,d,e,f,g,h,j,k,l,m);i=n;return}function Yh(a){a=a|0;i=i;return-1}function Zh(a){a=a|0;i=i;return-1}function _h(a){a=a|0;i=i;return 0}function $h(a,b){a=a|0;b=b|0;if((b|0)==5|(b|0)==2|(b|0)==4){b=1}else{b=0}i=i;return b|0}function ai(a){a=a|0;i=i;return 0}function bi(a){a=a|0;i=i;return 0}function ci(a){a=a|0;i=i;return-1}function di(a){a=a|0;i=i;return-1}function ei(a,b){a=a|0;b=b|0;var d=0;d=i;a=c[b+116>>2]|0;a=(jd[c[(c[a>>2]|0)+12>>2]&511](a)|0)==10;i=d;return a|0}function fi(a,b){a=a|0;b=b|0;var d=0;d=i;a=c[b+116>>2]|0;a=(jd[c[(c[a>>2]|0)+12>>2]&511](a)|0)==10;i=d;return a|0}function gi(a,b,c,d,e,f,g,h,j,k,l,m,n,o,p){a=a|0;b=b|0;c=+c;d=+d;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;i=i;return-1}function hi(a){a=a|0;i=i;return}function ii(a,b){a=a|0;b=b|0;i=i;return}function ji(a,b){a=a|0;b=b|0;i=i;return}function ki(a,b){a=a|0;b=b|0;i=i;return}function li(a,b){a=a|0;b=b|0;i=i;return}function mi(a,b){a=a|0;b=b|0;i=i;return}function ni(a,b){a=a|0;b=b|0;i=i;return}function oi(a,b){a=a|0;b=b|0;i=i;return}function pi(a,b,c){a=a|0;b=b|0;c=+c;i=i;return}function qi(a,b){a=a|0;b=b|0;i=i;return}function ri(a,b){a=a|0;b=b|0;i=i;return}function si(a,b){a=a|0;b=b|0;i=i;return}function ti(a,b){a=a|0;b=b|0;i=i;return}function ui(a,b){a=a|0;b=b|0;i=i;return}function vi(a,b){a=a|0;b=b|0;i=i;return}function wi(a,b){a=a|0;b=b|0;i=i;return}function xi(a,b,c){a=a|0;b=b|0;c=+c;i=i;return}function yi(a,b,c,d,e,f,g,h,j,k,l,m,n){a=a|0;b=b|0;c=c|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;n=+n;i=i;return 0}function zi(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return 0}function Ai(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return 0}function Bi(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=+e;i=i;return 0}function Ci(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return 0}function Di(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return 0}function Ei(a,b){a=a|0;b=b|0;i=i;return}function Fi(a,b){a=a|0;b=b|0;i=i;return}function Gi(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return}function Hi(a,b){a=a|0;b=b|0;i=i;return}function Ii(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return}function Ji(b,d){b=b|0;d=d|0;d=i;if((c[b+240>>2]|0)==0){b=0;i=d;return b|0}b=(a[b+108|0]&1)!=0;i=d;return b|0}function Ki(a,b){a=a|0;b=b|0;i=i;return}function Li(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return}function Mi(a){a=a|0;i=i;return c[a+104>>2]|0}function Ni(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return}function Oi(a){a=a|0;i=i;return}function Pi(a){a=a|0;var b=0;b=i;HW(a);i=b;return}function Qi(a,b){a=a|0;b=b|0;var d=0;d=i;if((c[b+4>>2]|0)!=(c[a+4>>2]|0)){a=0;i=d;return a|0}a=(c[b+8>>2]|0)==(c[a+8>>2]|0);i=d;return a|0}function Ri(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;g=55024+(g<<2)|0;if((c[g>>2]|0)>0){j=0}else{i=h;return}do{a[f+j|0]=((da(d[b+j|0]|0,d[e+j|0]|0)|0)>>>0)/255|0;j=j+1|0;}while((j|0)<(c[g>>2]|0));i=h;return}function Si(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;h=i;g=55024+(g<<2)|0;if((c[g>>2]|0)>0){j=0}else{i=h;return}do{k=d[e+j|0]|0;l=d[b+j|0]|0;a[f+j|0]=l+k-(((da(l,k)|0)>>>0)/255|0);j=j+1|0;}while((j|0)<(c[g>>2]|0));i=h;return}function Ti(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;g=55024+(g<<2)|0;if((c[g>>2]|0)>0){j=0}else{i=h;return}do{m=a[e+j|0]|0;l=m&255;k=d[b+j|0]|0;if(m<<24>>24>-1){k=((da(l<<1,k)|0)>>>0)/255|0}else{k=255-(((da(l<<1^510,k^255)|0)>>>0)/255|0)|0}a[f+j|0]=k;j=j+1|0;}while((j|0)<(c[g>>2]|0));i=h;return}function Ui(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;g=i;f=55024+(f<<2)|0;if((c[f>>2]|0)>0){h=0}else{i=g;return}do{j=a[d+h|0]|0;k=a[b+h|0]|0;a[e+h|0]=(j&255)<(k&255)?j:k;h=h+1|0;}while((h|0)<(c[f>>2]|0));i=g;return}function Vi(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;g=i;f=55024+(f<<2)|0;if((c[f>>2]|0)>0){h=0}else{i=g;return}do{j=a[d+h|0]|0;k=a[b+h|0]|0;a[e+h|0]=(j&255)>(k&255)?j:k;h=h+1|0;}while((h|0)<(c[f>>2]|0));i=g;return}function Wi(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;h=i;g=55024+(g<<2)|0;if((c[g>>2]|0)>0){j=0}else{i=h;return}do{k=a[b+j|0]|0;if(k<<24>>24==-1){a[f+j|0]=-1}else{k=(((d[e+j|0]|0)*255|0)>>>0)/((k&255^255)>>>0)|0;a[f+j|0]=k>>>0>255?-1:k&255}j=j+1|0;}while((j|0)<(c[g>>2]|0));i=h;return}function Xi(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;h=i;g=55024+(g<<2)|0;if((c[g>>2]|0)>0){j=0}else{i=h;return}do{k=a[b+j|0]|0;if(k<<24>>24==0){a[f+j|0]=0}else{k=((((d[e+j|0]|0)^255)*255|0)>>>0)/((k&255)>>>0)|0;if(k>>>0<256){k=255-k&255}else{k=0}a[f+j|0]=k}j=j+1|0;}while((j|0)<(c[g>>2]|0));i=h;return}function Yi(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;g=55024+(g<<2)|0;if((c[g>>2]|0)>0){j=0}else{i=h;return}do{m=a[b+j|0]|0;l=m&255;k=d[e+j|0]|0;if(m<<24>>24>-1){k=((da(l<<1,k)|0)>>>0)/255|0}else{k=255-(((da(l<<1^510,k^255)|0)>>>0)/255|0)|0}a[f+j|0]=k;j=j+1|0;}while((j|0)<(c[g>>2]|0));i=h;return}function Zi(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;g=i;f=55024+(f<<2)|0;if((c[f>>2]|0)>0){h=0}else{i=g;return}do{k=a[b+h|0]|0;l=a[d+h|0]|0;j=l&255;if(k<<24>>24>-1){a[e+h|0]=j-((da(da(255-((k&255)<<1)|0,j)|0,j^255)|0)/65025|0)}else{if((l&255)<64){l=(da(((da((j<<4)+ -3060|0,j)|0)/255|0)+1020|0,j)|0)/255|0}else{l=~~+T(+(+(j|0)*255.0))}a[e+h|0]=((da(((k&255)<<1)+ -255|0,l-j|0)|0)/255|0)+j}h=h+1|0;}while((h|0)<(c[f>>2]|0));i=g;return}function _i(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;g=i;f=55024+(f<<2)|0;if((c[f>>2]|0)>0){h=0}else{i=g;return}do{j=a[d+h|0]|0;k=a[b+h|0]|0;a[e+h|0]=(j&255)<(k&255)?k-j<<24>>24:j-k<<24>>24;h=h+1|0;}while((h|0)<(c[f>>2]|0));i=g;return}function $i(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;h=i;g=55024+(g<<2)|0;if((c[g>>2]|0)>0){j=0}else{i=h;return}do{l=d[e+j|0]|0;k=d[b+j|0]|0;a[f+j|0]=k+l-(((da(l<<1,k)|0)>>>0)/255|0);j=j+1|0;}while((j|0)<(c[g>>2]|0));i=h;return}function aj(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;f=i;switch(e|0){case 1:case 0:{a[d]=a[c]|0;i=f;return};case 3:case 2:{break};case 4:{a[b+3|0]=-1;break};default:{i=f;return}}j=a[b]|0;h=a[b+1|0]|0;k=a[b+2|0]|0;e=j&255;g=h&255;b=k&255;do{if((j&255)<(h&255)){if((j&255)>=(k&255)){h=g;j=e;e=1;break}k=(h&255)<(k&255);h=k?b:g;j=k?g:b;b=e;e=k?3:2}else{if((h&255)>=(k&255)){h=e;j=g;e=0;break}k=(k&255)<(j&255);h=k?e:b;j=k?b:e;b=g;e=k?5:4}}while(0);if((h|0)==(b|0)){b=0}else{if((e&1|0)==0){b=((j-b|0)*60|0)/(h-b|0)|0}else{b=((h-j|0)*60|0)/(h-b|0)|0}b=b+(e*60|0)|0}e=a[c]|0;j=a[c+1|0]|0;k=a[c+2|0]|0;h=e&255;g=j&255;c=k&255;do{if((e&255)<(j&255)){if((e&255)>=(k&255)){e=g;break}e=(j&255)<(k&255)?c:g;c=h}else{if((j&255)>=(k&255)){e=h;break}e=(k&255)<(e&255)?h:c;c=g}}while(0);if((e|0)==(c|0)){c=0}else{c=((e-c|0)*255|0)/(e|0)|0}ej(b,c,e,d,d+1|0,d+2|0);i=f;return}function bj(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;f=i;switch(e|0){case 3:case 2:{break};case 4:{a[b+3|0]=-1;break};case 1:case 0:{a[d]=a[c]|0;i=f;return};default:{i=f;return}}e=a[b]|0;j=a[b+1|0]|0;k=a[b+2|0]|0;h=e&255;g=j&255;b=k&255;do{if((e&255)<(j&255)){if((e&255)>=(k&255)){e=g;break}e=(j&255)<(k&255)?b:g;b=h}else{if((j&255)>=(k&255)){e=h;break}e=(k&255)<(e&255)?h:b;b=g}}while(0);if((e|0)==(b|0)){e=0}else{e=((e-b|0)*255|0)/(e|0)|0}k=a[c]|0;j=a[c+1|0]|0;c=a[c+2|0]|0;g=k&255;h=j&255;b=c&255;do{if((k&255)<(j&255)){if((k&255)>=(c&255)){c=h;j=g;g=1;break}k=(j&255)<(c&255);c=k?b:h;j=k?h:b;b=g;g=k?3:2}else{if((j&255)>=(c&255)){c=g;j=h;g=0;break}k=(c&255)<(k&255);c=k?g:b;j=k?b:g;b=h;g=k?5:4}}while(0);if((c|0)==(b|0)){b=0}else{if((g&1|0)==0){b=((j-b|0)*60|0)/(c-b|0)|0}else{b=((c-j|0)*60|0)/(c-b|0)|0}b=b+(g*60|0)|0}ej(b,e,c,d,d+1|0,d+2|0);i=f;return}function cj(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;f=i;switch(e|0){case 4:{a[b+3|0]=-1;break};case 1:case 0:{a[d]=a[c]|0;i=f;return};case 3:case 2:{break};default:{i=f;return}}e=a[b]|0;j=a[b+1|0]|0;k=a[b+2|0]|0;g=e&255;h=j&255;b=k&255;do{if((e&255)<(j&255)){if((e&255)>=(k&255)){e=h;j=g;g=b;b=1;break}k=(j&255)<(k&255);e=k?b:h;j=k?h:b;b=k?3:2}else{if((j&255)>=(k&255)){e=g;j=h;g=b;b=0;break}k=(k&255)<(e&255);e=k?g:b;j=k?b:g;g=h;b=k?5:4}}while(0);if((e|0)==(g|0)){b=0;e=0}else{if((b&1|0)==0){h=((j-g|0)*60|0)/(e-g|0)|0}else{h=((e-j|0)*60|0)/(e-g|0)|0}b=h+(b*60|0)|0;e=((e-g|0)*255|0)/(e|0)|0}h=a[c]|0;g=a[c+1|0]|0;k=a[c+2|0]|0;l=h&255;c=g&255;j=k&255;do{if((h&255)<(g&255)){if((h&255)>=(k&255)){break}c=(g&255)<(k&255)?j:c}else{if((g&255)>=(k&255)){c=l;break}c=(k&255)<(h&255)?l:j}}while(0);ej(b,e,c,d,d+1|0,d+2|0);i=f;return}function dj(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;f=i;switch(e|0){case 1:case 0:{a[d]=a[c]|0;i=f;return};case 4:{a[b+3|0]=-1;break};case 3:case 2:{break};default:{i=f;return}}g=a[b]|0;e=a[b+1|0]|0;k=a[b+2|0]|0;j=g&255;b=e&255;h=k&255;do{if((g&255)<(e&255)){if((g&255)>=(k&255)){break}b=(e&255)<(k&255)?h:b}else{if((e&255)>=(k&255)){b=j;break}b=(k&255)<(g&255)?j:h}}while(0);j=a[c]|0;k=a[c+1|0]|0;c=a[c+2|0]|0;e=j&255;h=k&255;g=c&255;do{if((j&255)<(k&255)){if((j&255)>=(c&255)){c=h;j=e;e=g;g=1;break}k=(k&255)<(c&255);c=k?g:h;j=k?h:g;g=k?3:2}else{if((k&255)>=(c&255)){c=e;j=h;e=g;g=0;break}k=(c&255)<(j&255);c=k?e:g;j=k?g:e;e=h;g=k?5:4}}while(0);if((c|0)==(e|0)){g=0;c=0}else{if((g&1|0)==0){h=((j-e|0)*60|0)/(c-e|0)|0}else{h=((c-j|0)*60|0)/(c-e|0)|0}g=h+(g*60|0)|0;c=((c-e|0)*255|0)/(c|0)|0}ej(g,c,b,d,d+1|0,d+2|0);i=f;return}function ej(b,c,d,e,f,g){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;if((c|0)==0){b=d&255;a[g]=b;a[f]=b;a[e]=b;i=h;return}j=(b|0)/60|0;b=(b|0)%60|0;if((j&1|0)==0){b=da(255-((da(60-b|0,c)|0)/60|0)|0,d)|0;b=b+128+(b>>>8)|0}else{b=(d*255|0)-((da(b,c)|0)/60|0)|0;b=b+128+(b>>>8)|0}b=b>>>8&255;c=dadada(g,f)|0;c[d+20>>2]=o;l=(da(h,g)|0)+7>>3;c[d+24>>2]=l;l=((dada(m,k)|0,4)|0;c[b+3964+(g<<2)>>2]=f;bX(f|0,0,da(c[h>>2]<<2,c[j>>2]|0)|0)|0;g=g+1|0;f=c[d>>2]|0;if((g|0)>=(f|0)){break b}m=c[j>>2]|0;k=c[h>>2]|0}}}while(0);l=b+4e3|0;k=b+4012|0;j=b+188|0;g=b+3996|0;h=b+4004|0;while(1){c[l>>2]=208;c[k>>2]=0;c[g>>2]=c[j>>2];if((f|0)>0){f=0;do{c[b+40+(f*20|0)+16>>2]=0;f=f+1|0;}while((f|0)<(c[d>>2]|0))}c[h>>2]=0;Zk(b);if(!(Yk(b)|0)){break}f=c[d>>2]|0}_k(b);c[b+3980>>2]=0;c[b+3984>>2]=0;c[b+3988>>2]=0;i=e;return}}while(0);Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,44016,g);c[b+3988>>2]=c[l>>2];i=e;return}function Yk(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;j=i;g=i;i=i+8|0;h=g;f=i;i=i+8|0;b=i;i=i+8|0;d=a+8|0;e=a+188|0;a:while(1){l=c[d>>2]|0;l=jd[c[(c[l>>2]|0)+20>>2]&511](l)|0;if(!((l|0)==255|(l|0)==-1)){continue}b:while(1){switch(l|0){case 218:{k=8;break a};case 221:{k=10;break b};case 216:case 0:{continue a};case 238:{k=19;break b};case 193:case 192:{k=5;break b};case 196:{k=7;break b};case 194:{k=6;break b};case 224:{k=18;break b};case-1:{k=20;break a};case 219:{k=9;break b};case 217:{k=27;break a};case 255:{break};default:{k=21;break b}}l=c[d>>2]|0;l=jd[c[(c[l>>2]|0)+20>>2]&511](l)|0}if((k|0)==5){if(hl(a)|0){continue}else{k=27;break}}else if((k|0)==6){if(il(a)|0){continue}else{k=27;break}}else if((k|0)==7){if(jl(a)|0){continue}else{k=27;break}}else if((k|0)==9){if(ll(a)|0){continue}else{k=27;break}}else if((k|0)==10){k=c[d>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((k|0)==-1){k=17;break}l=c[d>>2]|0;l=jd[c[(c[l>>2]|0)+20>>2]&511](l)|0;if((l|0)==-1){k=17;break}if((l+(k<<8)|0)!=4){k=17;break}k=c[d>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;do{if((k|0)==-1){k=-1}else{l=c[d>>2]|0;l=jd[c[(c[l>>2]|0)+20>>2]&511](l)|0;if((l|0)==-1){k=-1;break}k=l+(k<<8)|0}}while(0);c[e>>2]=k;continue}else if((k|0)==18){if(ml(a)|0){continue}else{k=27;break}}else if((k|0)==19){if(nl(a)|0){continue}else{k=27;break}}else if((k|0)==21){if((l|0)<=223){k=26;break}k=c[d>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((k|0)==-1){continue}l=c[d>>2]|0;l=jd[c[(c[l>>2]|0)+20>>2]&511](l)|0;if((l|0)==-1){continue}k=(k<<8)+ -2+l|0;if((k|0)>0){l=0}else{continue}while(1){m=c[d>>2]|0;jd[c[(c[m>>2]|0)+20>>2]&511](m)|0;l=l+1|0;if((l|0)<(k|0)){}else{continue a}}}}if((k|0)==8){m=kl(a)|0;i=j;return m|0}else if((k|0)==17){Qe(jd[c[(c[a>>2]|0)+48>>2]&511](a)|0,44704,b);i=j;return 0}else if((k|0)==20){Qe(jd[c[(c[a>>2]|0)+48>>2]&511](a)|0,44424,f);i=j;return 0}else if((k|0)==26){m=jd[c[(c[a>>2]|0)+48>>2]&511](a)|0;c[g>>2]=l;Qe(m,44440,h);i=j;return 0}else if((k|0)==27){i=j;return 0}return 0}function Zk(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;d=i;e=i;i=i+8|0;f=i;i=i+256|0;if((c[b+124>>2]|0)==1){j=c[b+176>>2]|0;a:do{if((j|0)>0){h=0;while(1){g=h+1|0;if((a[b+120+h|0]&1)!=0){break a}if((g|0)<(j|0)){h=g}else{h=g;break}}}else{h=0}}while(0);g=(c[b+24>>2]|0)/(c[b+40+(h*20|0)+4>>2]|0)|0;x=(c[b+28>>2]|0)/(c[b+40+(h*20|0)+8>>2]|0)|0}else{g=c[b+24>>2]|0;x=c[b+28>>2]|0}k=b+20|0;z=c[k>>2]|0;if((z|0)<=0){i=d;return}v=b+16|0;l=b+188|0;u=b+3996|0;w=b+8|0;h=b+4e3|0;o=b+4012|0;p=b+176|0;j=b+4004|0;r=b+24|0;s=b+28|0;t=(x|0)>0;q=(g|0)>0;n=b+32|0;m=b+12|0;A=c[v>>2]|0;y=0;b:while(1){if((A|0)>0){z=0;while(1){do{if((c[l>>2]|0)>0){if((c[u>>2]|0)!=0){break}c:while(1){A=c[w>>2]|0;A=jd[c[(c[A>>2]|0)+20>>2]&511](A)|0;if(!((A|0)==255|(A|0)==-1)){continue}while(1){if((A|0)==0){continue c}else if((A|0)!=255){break c}A=c[w>>2]|0;A=jd[c[(c[A>>2]|0)+20>>2]&511](A)|0}}if((A|0)!=(c[h>>2]|0)){f=16;break b}A=A+1|0;c[h>>2]=(A|0)==216?208:A;c[o>>2]=0;c[u>>2]=c[l>>2];if((c[p>>2]|0)>0){A=0;do{c[b+40+(A*20|0)+16>>2]=0;A=A+1|0;}while((A|0)<(c[p>>2]|0))}c[j>>2]=0}}while(0);E=c[p>>2]|0;if((E|0)>0){A=0;do{do{if((a[b+120+A|0]&1)!=0){C=(c[r>>2]|0)/(c[b+40+(A*20|0)+4>>2]|0)|0;B=(c[s>>2]|0)/(c[b+40+(A*20|0)+8>>2]|0)|0;D=(B|0)/8|0;if(!t){break}H=b+3964+(A<<2)|0;J=b+128+(A<<2)|0;G=b+144+(A<<2)|0;E=b+40+(A*20|0)+16|0;I=0;do{if(q){F=I+y|0;M=c[n>>2]|0;K=0;do{L=K+z|0;P=(da(M,F)|0)+L|0;N=0;P=(c[H>>2]|0)+(P<<2)|0;O=0;while(1){c[f+(N<<2)>>2]=c[P>>2];c[f+((N|1)<<2)>>2]=c[P+4>>2];c[f+((N|2)<<2)>>2]=c[P+8>>2];c[f+((N|3)<<2)>>2]=c[P+12>>2];c[f+((N|4)<<2)>>2]=c[P+16>>2];c[f+((N|5)<<2)>>2]=c[P+20>>2];c[f+((N|6)<<2)>>2]=c[P+24>>2];c[f+((N|7)<<2)>>2]=c[P+28>>2];P=P+((da(M,D)|0)<<2)|0;O=O+1|0;if((O|0)<8){N=N+8|0}else{break}}N=b+708+((c[J>>2]|0)*342|0)|0;M=b+2076+((c[G>>2]|0)*342|0)|0;if((a[m]&1)==0){if(!(dl(b,N,M,E,f)|0)){f=40;break b}}else{if(!(fl(b,N,M,E,f)|0)){f=40;break b}}N=(da(c[n>>2]|0,F)|0)+L|0;L=0;N=(c[H>>2]|0)+(N<<2)|0;O=0;while(1){c[N>>2]=c[f+(L<<2)>>2];c[N+4>>2]=c[f+((L|1)<<2)>>2];c[N+8>>2]=c[f+((L|2)<<2)>>2];c[N+12>>2]=c[f+((L|3)<<2)>>2];c[N+16>>2]=c[f+((L|4)<<2)>>2];c[N+20>>2]=c[f+((L|5)<<2)>>2];c[N+24>>2]=c[f+((L|6)<<2)>>2];c[N+28>>2]=c[f+((L|7)<<2)>>2];M=c[n>>2]|0;N=N+((da(M,D)|0)<<2)|0;O=O+1|0;if((O|0)<8){L=L+8|0}else{break}}K=K+C|0;}while((K|0)<(g|0))}I=I+B|0;}while((I|0)<(x|0));E=c[p>>2]|0}}while(0);A=A+1|0;}while((A|0)<(E|0))}c[u>>2]=(c[u>>2]|0)+ -1;z=z+g|0;A=c[v>>2]|0;if((z|0)>=(A|0)){break}}z=c[k>>2]|0}y=y+x|0;if((y|0)>=(z|0)){f=40;break}}if((f|0)==16){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,44056,e);i=d;return}else if((f|0)==40){i=d;return}}function _k(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;f=i;l=i;i=i+256|0;n=i;i=i+64|0;e=a+36|0;r=c[e>>2]|0;if((r|0)<=0){i=f;return}g=a+32|0;j=a+28|0;k=a+176|0;m=a+180|0;h=a+24|0;b=a+3964|0;o=a+3968|0;p=a+3972|0;R=c[g>>2]|0;q=0;do{if((R|0)>0){r=0;do{y=c[k>>2]|0;if((y|0)>0){G=c[j>>2]|0;F=c[h>>2]|0;s=0;do{w=a+192+(c[a+40+(s*20|0)+12>>2]<<7)|0;v=(F|0)/(c[a+40+(s*20|0)+4>>2]|0)|0;t=(G|0)/(c[a+40+(s*20|0)+8>>2]|0)|0;u=(v|0)/8|0;x=(t|0)/8|0;if((G|0)>0){A=a+3964+(s<<2)|0;E=v+ -8|0;D=t+ -8|0;C=(v+ -16|0)>>>0<8;B=(t+ -16|0)>>>0<8;z=(t|0)>7;y=(v|0)>7;H=F;F=0;do{if((H|0)>0){G=F+q|0;H=0;do{I=H+r|0;L=(da(R,G)|0)+I|0;J=0;L=(c[A>>2]|0)+(L<<2)|0;K=0;while(1){c[l+(J<<2)>>2]=c[L>>2];c[l+((J|1)<<2)>>2]=c[L+4>>2];c[l+((J|2)<<2)>>2]=c[L+8>>2];c[l+((J|3)<<2)>>2]=c[L+12>>2];c[l+((J|4)<<2)>>2]=c[L+16>>2];c[l+((J|5)<<2)>>2]=c[L+20>>2];c[l+((J|6)<<2)>>2]=c[L+24>>2];c[l+((J|7)<<2)>>2]=c[L+28>>2];L=L+((da(R,x)|0)<<2)|0;K=K+1|0;if((K|0)<8){J=J+8|0}else{break}}el(0,w,l,n);R=c[g>>2]|0;L=(da(R,G)|0)+I|0;K=c[A>>2]|0;J=K+(L<<2)|0;a:do{if(E>>>0>7|D>>>0>7){do{if(C){if(!B){I=0;K=0;break}I=0;K=K+(R+L<<2)|0;M=0;while(1){R=d[n+I|0]|0;c[K+4>>2]=R;c[K>>2]=R;c[J+4>>2]=R;c[J>>2]=R;R=d[n+(I|1)|0]|0;c[K+12>>2]=R;c[K+8>>2]=R;c[J+12>>2]=R;c[J+8>>2]=R;R=d[n+(I|2)|0]|0;c[K+20>>2]=R;c[K+16>>2]=R;c[J+20>>2]=R;c[J+16>>2]=R;R=d[n+(I|3)|0]|0;c[K+28>>2]=R;c[K+24>>2]=R;c[J+28>>2]=R;c[J+24>>2]=R;R=d[n+(I|4)|0]|0;c[K+36>>2]=R;c[K+32>>2]=R;c[J+36>>2]=R;c[J+32>>2]=R;R=d[n+(I|5)|0]|0;c[K+44>>2]=R;c[K+40>>2]=R;c[J+44>>2]=R;c[J+40>>2]=R;R=d[n+(I|6)|0]|0;c[K+52>>2]=R;c[K+48>>2]=R;c[J+52>>2]=R;c[J+48>>2]=R;R=d[n+(I|7)|0]|0;c[K+60>>2]=R;c[K+56>>2]=R;c[J+60>>2]=R;c[J+56>>2]=R;R=c[g>>2]|0;L=R<<1;M=M+2|0;if((M|0)<16){K=K+(L<<2)|0;J=J+(L<<2)|0;I=I+8|0}else{break a}}}else{I=0;K=0}}while(0);while(1){M=I;N=0;L=0;while(1){do{if(z){O=n+M|0;if(y){P=J+(L<<2)|0;Q=0}else{break}while(1){R=0;do{c[P+(R<<2)>>2]=d[O]|0;R=R+1|0;}while((R|0)<(u|0));R=c[g>>2]|0;Q=Q+1|0;if((Q|0)<(x|0)){P=P+(R<<2)|0}else{break}}}}while(0);N=N+1|0;if((N|0)<8){M=M+1|0;L=L+u|0}else{break}}J=J+((da(R,x)|0)<<2)|0;K=K+1|0;if((K|0)<8){I=I+8|0}else{break}}}else{I=0;K=0;while(1){c[J>>2]=d[n+I|0]|0;c[J+4>>2]=d[n+(I|1)|0]|0;c[J+8>>2]=d[n+(I|2)|0]|0;c[J+12>>2]=d[n+(I|3)|0]|0;c[J+16>>2]=d[n+(I|4)|0]|0;c[J+20>>2]=d[n+(I|5)|0]|0;c[J+24>>2]=d[n+(I|6)|0]|0;c[J+28>>2]=d[n+(I|7)|0]|0;R=c[g>>2]|0;K=K+1|0;if((K|0)<8){J=J+(R<<2)|0;I=I+8|0}else{break}}}}while(0);H=H+v|0;I=c[h>>2]|0;}while((H|0)<(I|0));G=c[j>>2]|0;H=I}F=F+t|0;}while((F|0)<(G|0));y=c[k>>2]|0;F=H}s=s+1|0;}while((s|0)<(y|0))}b:do{if((c[m>>2]|0)!=0){if((y|0)==3){t=c[j>>2]|0;if((t|0)<=0){break}u=c[h>>2]|0;s=0;while(1){v=(da(R,s+q|0)|0)+r|0;if((u|0)>0){u=(c[b>>2]|0)+(v<<2)|0;t=(c[o>>2]|0)+(v<<2)|0;v=(c[p>>2]|0)+(v<<2)|0;x=0;while(1){w=(c[t>>2]|0)+ -128|0;Q=(c[v>>2]|0)+ -128|0;R=c[u>>2]<<16|32768;c[u>>2]=d[(R+(Q*91881|0)>>16)+43504|0]|0;c[t>>2]=d[(R+(da(w,-22553)|0)+(da(Q,-46802)|0)>>16)+43504|0]|0;c[v>>2]=d[(R+(w*116130|0)>>16)+43504|0]|0;x=x+1|0;w=c[h>>2]|0;if((x|0)<(w|0)){v=v+4|0;t=t+4|0;u=u+4|0}else{break}}t=c[j>>2]|0;u=w}s=s+1|0;if((s|0)>=(t|0)){break b}R=c[g>>2]|0}}else if((y|0)==4){t=c[j>>2]|0;if((t|0)<=0){break}v=c[h>>2]|0;s=0;while(1){w=(da(R,s+q|0)|0)+r|0;if((v|0)>0){t=(c[b>>2]|0)+(w<<2)|0;u=(c[o>>2]|0)+(w<<2)|0;w=(c[p>>2]|0)+(w<<2)|0;x=0;while(1){v=(c[u>>2]|0)+ -128|0;Q=(c[w>>2]|0)+ -128|0;R=c[t>>2]<<16|32768;c[t>>2]=(d[(R+(Q*91881|0)>>16)+43504|0]|0)^255;c[u>>2]=(d[(R+(da(v,-22553)|0)+(da(Q,-46802)|0)>>16)+43504|0]|0)^255;c[w>>2]=(d[(R+(v*116130|0)>>16)+43504|0]|0)^255;x=x+1|0;v=c[h>>2]|0;if((x|0)<(v|0)){w=w+4|0;u=u+4|0;t=t+4|0}else{break}}t=c[j>>2]|0}s=s+1|0;if((s|0)>=(t|0)){break b}R=c[g>>2]|0}}else{break}}}while(0);r=(c[h>>2]|0)+r|0;R=c[g>>2]|0;}while((r|0)<(R|0));r=c[e>>2]|0}q=(c[j>>2]|0)+q|0;}while((q|0)<(r|0));i=f;return}function $k(a){a=a|0;var b=0,d=0,e=0;b=i;d=0;do{e=a+3452+(d<<2)|0;Fe(c[e>>2]|0);c[e>>2]=0;d=d+1|0;}while((d|0)<32);d=a+3964|0;Fe(c[d>>2]|0);c[d>>2]=0;d=0;do{e=a+3580+(d<<2)|0;Fe(c[e>>2]|0);c[e>>2]=0;d=d+1|0;}while((d|0)<32);d=a+3968|0;Fe(c[d>>2]|0);c[d>>2]=0;d=0;do{e=a+3708+(d<<2)|0;Fe(c[e>>2]|0);c[e>>2]=0;d=d+1|0;}while((d|0)<32);d=a+3972|0;Fe(c[d>>2]|0);c[d>>2]=0;d=0;do{e=a+3836+(d<<2)|0;Fe(c[e>>2]|0);c[e>>2]=0;d=d+1|0;}while((d|0)<32);e=a+3976|0;Fe(c[e>>2]|0);c[e>>2]=0;e=c[a+8>>2]|0;fd[c[(c[e>>2]|0)+16>>2]&511](e);i=b;return}function al(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=i;h=i;i=i+8|0;f=b+3988|0;j=c[f>>2]|0;k=b+20|0;if((j|0)>=(c[k>>2]|0)){q=-1;i=e;return q|0}do{if((a[b+12|0]&1)==0){if((a[b+13|0]&1)==0){break}m=b+3992|0;o=c[m>>2]|0;do{if((o|0)<(c[b+28>>2]|0)){n=c[b+3980>>2]|0;l=c[b+3984>>2]|0}else{if(bl(b)|0){c[b+3980>>2]=0;c[b+3984>>2]=0;c[m>>2]=0;n=0;l=0;o=0;break}c[f>>2]=c[k>>2];q=-1;i=e;return q|0}}while(0);p=b+3984|0;q=b+3980|0;j=d[(c[b+3452+(n<<7)+(o<<2)>>2]|0)+l|0]|0;n=n+1|0;c[q>>2]=n;if((n|0)!=(c[b+176>>2]|0)){q=j;i=e;return q|0}c[q>>2]=0;q=l+1|0;c[p>>2]=q;if((q|0)!=(c[b+16>>2]|0)){q=j;i=e;return q|0}c[p>>2]=0;q=(c[f>>2]|0)+1|0;c[f>>2]=q;c[m>>2]=o+1;if((q|0)!=(c[k>>2]|0)){q=j;i=e;return q|0}f=b+8|0;a:while(1){k=c[f>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if(!((k|0)==255|(k|0)==-1)){continue}while(1){if((k|0)==0){continue a}else if((k|0)==217){g=20;break a}else if((k|0)!=255){break a}k=c[f>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0}}if((g|0)==20){i=e;return j|0}Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,44808,h);q=j;i=e;return q|0}}while(0);k=da(c[b+32>>2]|0,j)|0;g=b+3984|0;l=c[g>>2]|0;h=b+3980|0;q=c[h>>2]|0;k=c[(c[b+3964+(q<<2)>>2]|0)+(k+l<<2)>>2]|0;q=q+1|0;c[h>>2]=q;if((q|0)!=(c[b+176>>2]|0)){q=k;i=e;return q|0}c[h>>2]=0;q=l+1|0;c[g>>2]=q;if((q|0)!=(c[b+16>>2]|0)){q=k;i=e;return q|0}c[g>>2]=0;c[f>>2]=j+1;q=k;i=e;return q|0}function bl(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,ea=0,fa=0;e=i;f=i;i=i+8|0;t=i;i=i+256|0;j=i;i=i+64|0;p=b+16|0;if((c[p>>2]|0)<=0){ba=1;i=e;return ba|0}q=b+188|0;l=b+3996|0;n=b+8|0;o=b+4e3|0;s=b+4012|0;k=b+176|0;r=b+4004|0;m=b+180|0;g=b+24|0;h=b+28|0;u=0;a:while(1){do{if((c[q>>2]|0)>0){if((c[l>>2]|0)!=0){break}b:while(1){v=c[n>>2]|0;v=jd[c[(c[v>>2]|0)+20>>2]&511](v)|0;if(!((v|0)==255|(v|0)==-1)){continue}while(1){if((v|0)==0){continue b}else if((v|0)!=255){break b}v=c[n>>2]|0;v=jd[c[(c[v>>2]|0)+20>>2]&511](v)|0}}if((v|0)!=(c[o>>2]|0)){g=9;break a}v=v+1|0;c[o>>2]=(v|0)==216?208:v;c[s>>2]=0;c[l>>2]=c[q>>2];if((c[k>>2]|0)>0){v=0;do{c[b+40+(v*20|0)+16>>2]=0;v=v+1|0;}while((v|0)<(c[k>>2]|0))}c[r>>2]=0}}while(0);A=c[k>>2]|0;if((A|0)>0){M=c[h>>2]|0;L=c[g>>2]|0;v=0;do{y=(L|0)/(c[b+40+(v*20|0)+4>>2]|0)|0;z=(M|0)/(c[b+40+(v*20|0)+8>>2]|0)|0;w=(y|0)/8|0;x=(z|0)/8|0;if((M|0)>0){E=b+128+(v<<2)|0;D=b+144+(v<<2)|0;J=b+40+(v*20|0)+16|0;A=b+40+(v*20|0)+12|0;G=y+ -8|0;F=z+ -8|0;C=y+ -16|0;B=z+ -16|0;H=(z|0)>7;I=(y|0)>7;K=0;do{if((L|0)>0){L=0;do{if(!(dl(b,b+708+((c[E>>2]|0)*342|0)|0,b+2076+((c[D>>2]|0)*342|0)|0,J,t)|0)){b=0;g=56;break a}el(0,b+192+(c[A>>2]<<7)|0,t,j);c:do{if(G>>>0>7|F>>>0>7){M=L+u|0;if(C>>>0>7|B>>>0>7){N=0;S=0;O=0}else{T=M+1|0;S=M+3|0;R=M+2|0;Q=M+5|0;P=M+4|0;O=M+7|0;N=M+6|0;V=M+9|0;U=M+8|0;$=M+11|0;aa=M+10|0;_=M+13|0;Z=M+12|0;Y=M+15|0;X=M+14|0;W=0;ba=0;while(1){fa=ba+K|0;ca=c[b+3452+(v<<7)+(fa<<2)>>2]|0;fa=c[b+3452+(v<<7)+(fa+1<<2)>>2]|0;ea=a[j+W|0]|0;a[fa+T|0]=ea;a[fa+M|0]=ea;a[ca+T|0]=ea;a[ca+M|0]=ea;ea=a[j+(W|1)|0]|0;a[fa+S|0]=ea;a[fa+R|0]=ea;a[ca+S|0]=ea;a[ca+R|0]=ea;ea=a[j+(W|2)|0]|0;a[fa+Q|0]=ea;a[fa+P|0]=ea;a[ca+Q|0]=ea;a[ca+P|0]=ea;ea=a[j+(W|3)|0]|0;a[fa+O|0]=ea;a[fa+N|0]=ea;a[ca+O|0]=ea;a[ca+N|0]=ea;ea=a[j+(W|4)|0]|0;a[fa+V|0]=ea;a[fa+U|0]=ea;a[ca+V|0]=ea;a[ca+U|0]=ea;ea=a[j+(W|5)|0]|0;a[fa+$|0]=ea;a[fa+aa|0]=ea;a[ca+$|0]=ea;a[ca+aa|0]=ea;ea=a[j+(W|6)|0]|0;a[fa+_|0]=ea;a[fa+Z|0]=ea;a[ca+_|0]=ea;a[ca+Z|0]=ea;ea=a[j+(W|7)|0]|0;a[fa+Y|0]=ea;a[fa+X|0]=ea;a[ca+Y|0]=ea;a[ca+X|0]=ea;ba=ba+2|0;if((ba|0)<16){W=W+8|0}else{break c}}}while(1){R=O+K|0;P=N;X=0;Q=0;while(1){if(H){V=j+P|0;W=M+Q|0;U=0;do{if(I){T=a[V]|0;Z=b+3452+(v<<7)+(R+U<<2)|0;Y=0;do{a[(c[Z>>2]|0)+(W+Y)|0]=T;Y=Y+1|0;}while((Y|0)<(w|0))}U=U+1|0;}while((U|0)<(x|0))}X=X+1|0;if((X|0)<8){P=P+1|0;Q=Q+w|0}else{break}}S=S+1|0;if((S|0)<8){N=N+8|0;O=O+x|0}else{break}}}else{S=L+u|0;T=S+1|0;U=S+2|0;M=S+3|0;N=S+4|0;O=S+5|0;P=S+6|0;Q=S+7|0;R=0;V=0;while(1){fa=c[b+3452+(v<<7)+(V+K<<2)>>2]|0;a[fa+S|0]=a[j+R|0]|0;a[fa+T|0]=a[j+(R|1)|0]|0;a[fa+U|0]=a[j+(R|2)|0]|0;a[fa+M|0]=a[j+(R|3)|0]|0;a[fa+N|0]=a[j+(R|4)|0]|0;a[fa+O|0]=a[j+(R|5)|0]|0;a[fa+P|0]=a[j+(R|6)|0]|0;a[fa+Q|0]=a[j+(R|7)|0]|0;V=V+1|0;if((V|0)<8){R=R+8|0}else{break}}}}while(0);L=L+y|0;N=c[g>>2]|0;}while((L|0)<(N|0));M=c[h>>2]|0;L=N}K=K+z|0;}while((K|0)<(M|0));A=c[k>>2]|0}v=v+1|0;}while((v|0)<(A|0))}c[l>>2]=(c[l>>2]|0)+ -1;do{if((c[m>>2]|0)!=0){if((A|0)==3){x=c[h>>2]|0;if((x|0)<=0){break}w=c[g>>2]|0;v=0;do{if((w|0)>0){x=b+3452+(v<<2)|0;y=b+3580+(v<<2)|0;z=b+3708+(v<<2)|0;A=0;do{w=A+u|0;ba=(c[x>>2]|0)+w|0;fa=(d[(c[y>>2]|0)+w|0]|0)+ -128|0;ca=(d[(c[z>>2]|0)+w|0]|0)+ -128|0;ea=(d[ba]|0)<<16|32768;a[ba]=a[(ea+(ca*91881|0)>>16)+43504|0]|0;ca=a[(ea+(da(fa,-22553)|0)+(da(ca,-46802)|0)>>16)+43504|0]|0;a[(c[y>>2]|0)+w|0]=ca;a[(c[z>>2]|0)+w|0]=a[(ea+(fa*116130|0)>>16)+43504|0]|0;A=A+1|0;w=c[g>>2]|0;}while((A|0)<(w|0));x=c[h>>2]|0}v=v+1|0;}while((v|0)<(x|0))}else if((A|0)==4){x=c[h>>2]|0;if((x|0)<=0){break}w=c[g>>2]|0;v=0;do{if((w|0)>0){x=b+3452+(v<<2)|0;z=b+3580+(v<<2)|0;y=b+3708+(v<<2)|0;A=0;do{w=A+u|0;ba=(c[x>>2]|0)+w|0;fa=(d[(c[z>>2]|0)+w|0]|0)+ -128|0;ca=(d[(c[y>>2]|0)+w|0]|0)+ -128|0;ea=(d[ba]|0)<<16|32768;a[ba]=~a[(ea+(ca*91881|0)>>16)+43504|0];ca=~a[(ea+(da(fa,-22553)|0)+(da(ca,-46802)|0)>>16)+43504|0];a[(c[z>>2]|0)+w|0]=ca;a[(c[y>>2]|0)+w|0]=~a[(ea+(fa*116130|0)>>16)+43504|0];A=A+1|0;w=c[g>>2]|0;}while((A|0)<(w|0));x=c[h>>2]|0}v=v+1|0;}while((v|0)<(x|0))}else{break}}}while(0);u=(c[g>>2]|0)+u|0;if((u|0)>=(c[p>>2]|0)){b=1;g=56;break}}if((g|0)==9){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,44056,f);fa=0;i=e;return fa|0}else if((g|0)==56){i=e;return b|0}return 0}function cl(b){b=b|0;var e=0,f=0,g=0,h=0,j=0;e=i;h=b+3988|0;f=c[h>>2]|0;g=b+20|0;if((f|0)>=(c[g>>2]|0)){j=-1;i=e;return j|0}do{if((a[b+12|0]&1)==0){if((a[b+13|0]&1)==0){break}j=b+3992|0;f=c[j>>2]|0;do{if((f|0)<(c[b+28>>2]|0)){h=c[b+3980>>2]|0;g=c[b+3984>>2]|0}else{if(bl(b)|0){c[b+3980>>2]=0;c[b+3984>>2]=0;c[j>>2]=0;h=0;g=0;f=0;break}c[h>>2]=c[g>>2];j=-1;i=e;return j|0}}while(0);j=d[(c[b+3452+(h<<7)+(f<<2)>>2]|0)+g|0]|0;i=e;return j|0}}while(0);j=dada(c[r>>2]|0,e[d+(j<<1)>>1]|0)|0;j=j+1|0;if((j|0)<64){}else{j=0;break}}while(1){m=f+(j<<2)|0;n=f+((j|1)<<2)|0;l=c[n>>2]|0;k=f+((j|2)<<2)|0;do{if((l|0)==0){if((c[k>>2]|0)!=0){h=11;break}o=f+((j|3)<<2)|0;if((c[o>>2]|0)!=0){h=11;break}d=f+((j|4)<<2)|0;if((c[d>>2]|0)!=0){h=11;break}p=f+((j|5)<<2)|0;if((c[p>>2]|0)!=0){h=11;break}q=f+((j|6)<<2)|0;if((c[q>>2]|0)!=0){h=11;break}r=f+((j|7)<<2)|0;if((c[r>>2]|0)!=0){h=11;break}l=((c[m>>2]|0)*5793|0)+512>>10;c[m>>2]=l;c[n>>2]=l;c[k>>2]=l;c[o>>2]=l;c[d>>2]=l;c[p>>2]=l;c[q>>2]=l;c[r>>2]=l}else{h=11}}while(0);if((h|0)==11){h=0;r=f+((j|4)<<2)|0;y=((c[r>>2]|0)*5793|0)+128>>8;z=c[k>>2]|0;t=f+((j|6)<<2)|0;x=c[t>>2]|0;w=f+((j|7)<<2)|0;d=c[w>>2]|0;q=((l-d|0)*2896|0)+128>>8;d=((d+l|0)*2896|0)+128>>8;o=f+((j|3)<<2)|0;p=c[o>>2]<<4;l=f+((j|5)<<2)|0;u=c[l>>2]<<4;s=(((c[m>>2]|0)*5793|0)+128>>8)+1|0;v=s-y>>1;y=s+y>>1;s=(z*3784|0)+128+(x*1567|0)>>8;x=(z*1567|0)+128+(da(x,-3784)|0)>>8;z=(0-u|1)+q>>1;q=(u|1)+q>>1;u=(p|1)+d>>1;d=(0-p|1)+d>>1;p=1-s+y>>1;y=s+1+y>>1;s=1-x+v>>1;v=x+1+v>>1;x=(u*3406|0)+2048+(q*2276|0)>>12;q=(da(u,-2276)|0)+2048+(q*3406|0)>>12;u=(z*4017|0)+2048+(d*799|0)>>12;d=(da(z,-799)|0)+2048+(d*4017|0)>>12;c[m>>2]=x+y;c[w>>2]=y-x;c[n>>2]=u+v;c[t>>2]=v-u;c[k>>2]=d+s;c[l>>2]=s-d;c[o>>2]=q+p;c[r>>2]=p-q}j=j+8|0;if((j|0)>=64){l=0;break}}while(1){q=f+(l<<2)|0;r=f+(l+8<<2)|0;p=c[r>>2]|0;o=f+(l+16<<2)|0;do{if((p|0)==0){if((c[o>>2]|0)!=0){h=21;break}n=f+(l+24<<2)|0;if((c[n>>2]|0)!=0){h=21;break}k=f+(l+32<<2)|0;if((c[k>>2]|0)!=0){h=21;break}j=f+(l+40<<2)|0;if((c[j>>2]|0)!=0){h=21;break}m=f+(l+48<<2)|0;if((c[m>>2]|0)!=0){h=21;break}d=f+(l+56<<2)|0;if((c[d>>2]|0)!=0){h=21;break}z=((c[q>>2]|0)*5793|0)+8192>>14;c[q>>2]=z;c[r>>2]=z;c[o>>2]=z;c[n>>2]=z;c[k>>2]=z;c[j>>2]=z;c[m>>2]=z;c[d>>2]=z}else{h=21}}while(0);if((h|0)==21){h=0;z=f+(l+32<<2)|0;j=((c[z>>2]|0)*5793|0)+2048>>12;d=c[o>>2]|0;s=f+(l+48<<2)|0;k=c[s>>2]|0;m=f+(l+56<<2)|0;u=c[m>>2]|0;y=((p-u|0)*2896|0)+2048>>12;u=((u+p|0)*2896|0)+2048>>12;w=f+(l+24<<2)|0;x=c[w>>2]|0;v=f+(l+40<<2)|0;p=c[v>>2]|0;t=(((c[q>>2]|0)*5793|0)+2048>>12)+1|0;n=t-j>>1;j=t+j>>1;t=(d*3784|0)+2048+(k*1567|0)>>12;k=(d*1567|0)+2048+(da(k,-3784)|0)>>12;d=1-p+y>>1;y=p+1+y>>1;p=x+1+u>>1;u=1-x+u>>1;x=1-t+j>>1;j=t+1+j>>1;t=1-k+n>>1;n=k+1+n>>1;k=(p*3406|0)+2048+(y*2276|0)>>12;y=(da(p,-2276)|0)+2048+(y*3406|0)>>12;p=(d*4017|0)+2048+(u*799|0)>>12;u=(dada(g,f)|0;c[d+20>>2]=n;k=(da(h,g)|0)+7>>3;c[d+24>>2]=k;k=((da1;a[b+12|0]=0;b=c[g>>2]|0;p=b+4|0;g=c[p>>2]|0;h=c[g>>2]|0;c[p>>2]=h;if((h|0)!=0){c[h+8>>2]=b}h=b+8|0;c[g+8>>2]=c[h>>2];j=c[h>>2]|0;if((c[j>>2]|0)==(b|0)){c[j>>2]=g}else{c[j+4>>2]=g}c[g>>2]=b;c[h>>2]=g;b=c[f>>2]|0;d=(d|0)==(b|0)?f:d;b=c[b+4>>2]|0}g=c[b>>2]|0;if((g|0)!=0){if((a[g+12|0]&1)==0){f=39;break}}f=c[b+4>>2]|0;if((f|0)!=0){if((a[f+12|0]&1)==0){d=f;f=40;break}}a[b+12|0]=0;g=c[b+8>>2]|0;if((g|0)==(d|0)){f=36;break}if((a[g+12|0]&1)==0){d=g;f=36;break}b=c[g+8>>2]|0;f=c[b>>2]|0;if((g|0)!=(f|0)){continue}f=c[b+4>>2]|0}if((f|0)==36){a[d+12|0]=1;i=e;return}else if((f|0)==39){d=c[b+4>>2]|0;if((d|0)==0){f=41}else{f=40}}else if((f|0)==65){a[g]=1;i=e;return}else if((f|0)==68){if(h){f=70}else{f=69}}if((f|0)==40){if((a[d+12|0]&1)==0){f=47}else{f=41}}else if((f|0)==69){if((a[g+12|0]&1)==0){f=76}else{f=70}}if((f|0)==41){a[g+12|0]=1;a[b+12|0]=0;f=c[b>>2]|0;d=f+4|0;g=c[d>>2]|0;c[b>>2]=g;if((g|0)!=0){c[g+8>>2]=b}h=b+8|0;c[f+8>>2]=c[h>>2];g=c[h>>2]|0;if((c[g>>2]|0)==(b|0)){c[g>>2]=f}else{c[g+4>>2]=f}c[d>>2]=b;c[h>>2]=f;b=f;f=47}else if((f|0)==70){p=b+4|0;a[(c[p>>2]|0)+12|0]=1;a[b+12|0]=0;d=c[p>>2]|0;f=c[d>>2]|0;c[p>>2]=f;if((f|0)!=0){c[f+8>>2]=b}f=b+8|0;c[d+8>>2]=c[f>>2];g=c[f>>2]|0;if((c[g>>2]|0)==(b|0)){c[g>>2]=d}else{c[g+4>>2]=d}c[d>>2]=b;c[f>>2]=d;b=d;f=76}if((f|0)==47){f=b+8|0;p=(c[f>>2]|0)+12|0;a[b+12|0]=a[p]&1;a[p]=1;a[(c[b+4>>2]|0)+12|0]=1;f=c[f>>2]|0;p=f+4|0;d=c[p>>2]|0;b=c[d>>2]|0;c[p>>2]=b;if((b|0)!=0){c[b+8>>2]=f}b=f+8|0;c[d+8>>2]=c[b>>2];g=c[b>>2]|0;if((c[g>>2]|0)==(f|0)){c[g>>2]=d}else{c[g+4>>2]=d}c[d>>2]=f;c[b>>2]=d;i=e;return}else if((f|0)==76){d=b+8|0;f=(c[d>>2]|0)+12|0;a[b+12|0]=a[f]&1;a[f]=1;a[(c[b>>2]|0)+12|0]=1;d=c[d>>2]|0;f=c[d>>2]|0;b=f+4|0;g=c[b>>2]|0;c[d>>2]=g;if((g|0)!=0){c[g+8>>2]=d}h=d+8|0;c[f+8>>2]=c[h>>2];g=c[h>>2]|0;if((c[g>>2]|0)==(d|0)){c[g>>2]=f}else{c[g+4>>2]=f}c[b>>2]=d;c[h>>2]=f;i=e;return}}function tn(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;f=i;g=i;i=i+8|0;h=g;k=d+4|0;j=c[k>>2]|0;do{if((j|0)==0){c[g>>2]=k;h=k}else{k=c[e>>2]|0;while(1){l=c[j+16>>2]|0;if((k|0)<(l|0)){l=c[j>>2]|0;if((l|0)==0){k=5;break}else{j=l;continue}}if((l|0)>=(k|0)){k=9;break}l=j+4|0;m=c[l>>2]|0;if((m|0)==0){k=8;break}else{j=m}}if((k|0)==5){c[g>>2]=j;h=j;break}else if((k|0)==8){c[g>>2]=j;h=l;break}else if((k|0)==9){c[g>>2]=j;break}}}while(0);j=c[h>>2]|0;if((j|0)!=0){l=0;k=j;m=b;c[m>>2]=k;m=b+4|0;a[m]=l;i=f;return}j=FW(20)|0;c[j+16>>2]=c[e>>2];g=c[g>>2]|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=g;c[h>>2]=j;g=c[c[d>>2]>>2]|0;if((g|0)==0){g=j}else{c[d>>2]=g;g=c[h>>2]|0}un(c[d+4>>2]|0,g);l=d+8|0;c[l>>2]=(c[l>>2]|0)+1;l=1;k=j;m=b;c[m>>2]=k;m=b+4|0;a[m]=l;i=f;return}function un(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;l=(d|0)==(b|0);a[d+12|0]=l&1;if(l){i=e;return}while(1){j=d+8|0;f=c[j>>2]|0;k=f+12|0;if((a[k]&1)!=0){b=37;break}g=f+8|0;h=c[g>>2]|0;l=c[h>>2]|0;if((f|0)==(l|0)){j=c[h+4>>2]|0;if((j|0)==0){b=7;break}j=j+12|0;if((a[j]&1)!=0){b=7;break}a[k]=1;a[h+12|0]=(h|0)==(b|0)|0;a[j]=1}else{if((l|0)==0){b=24;break}l=l+12|0;if((a[l]&1)!=0){b=24;break}a[k]=1;a[h+12|0]=(h|0)==(b|0)|0;a[l]=1}if((h|0)==(b|0)){b=37;break}else{d=h}}if((b|0)==7){if((d|0)!=(c[f>>2]|0)){l=f+4|0;d=c[l>>2]|0;j=c[d>>2]|0;c[l>>2]=j;if((j|0)!=0){c[j+8>>2]=f;h=c[g>>2]|0}j=d+8|0;c[j>>2]=h;h=c[g>>2]|0;if((c[h>>2]|0)==(f|0)){c[h>>2]=d}else{c[h+4>>2]=d}c[d>>2]=f;c[g>>2]=d;h=c[j>>2]|0;f=d}a[f+12|0]=1;a[h+12|0]=0;g=c[h>>2]|0;f=g+4|0;d=c[f>>2]|0;c[h>>2]=d;if((d|0)!=0){c[d+8>>2]=h}j=h+8|0;c[g+8>>2]=c[j>>2];d=c[j>>2]|0;if((c[d>>2]|0)==(h|0)){c[d>>2]=g}else{c[d+4>>2]=g}c[f>>2]=h;c[j>>2]=g;i=e;return}else if((b|0)==24){if((d|0)==(c[f>>2]|0)){b=d+4|0;k=c[b>>2]|0;c[f>>2]=k;if((k|0)!=0){c[k+8>>2]=f;h=c[g>>2]|0}c[j>>2]=h;h=c[g>>2]|0;if((c[h>>2]|0)==(f|0)){c[h>>2]=d}else{c[h+4>>2]=d}c[b>>2]=f;c[g>>2]=d;h=c[j>>2]|0;f=d}a[f+12|0]=1;a[h+12|0]=0;l=h+4|0;f=c[l>>2]|0;g=c[f>>2]|0;c[l>>2]=g;if((g|0)!=0){c[g+8>>2]=h}g=h+8|0;c[f+8>>2]=c[g>>2];d=c[g>>2]|0;if((c[d>>2]|0)==(h|0)){c[d>>2]=f}else{c[d+4>>2]=f}c[f>>2]=h;c[g>>2]=f;i=e;return}else if((b|0)==37){i=e;return}}function vn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;h=i;g=a+4|0;d=c[a>>2]|0;e=(c[g>>2]|0)-d|0;k=e>>2;f=k+1|0;if(f>>>0>1073741823){wn(0)}j=a+8|0;m=(c[j>>2]|0)-d|0;if(m>>2>>>0>536870910){n=1073741823;l=5}else{m=m>>1;n=m>>>0<f>>>0?f:m;if((n|0)==0){m=0;n=0}else{l=5}}if((l|0)==5){m=FW(n<<2)|0}k=m+(k<<2)|0;if((k|0)!=0){c[k>>2]=c[b>>2]}$W(m|0,d|0,e|0)|0;c[a>>2]=m;c[g>>2]=m+(f<<2);c[j>>2]=m+(n<<2);if((d|0)==0){i=h;return}HW(d);i=h;return}function wn(a){a=a|0;Ya(49456,49480,307,49584)}function xn(a,b){a=a|0;b=b|0;var d=0;d=i;if((b|0)==0){i=d;return}else{xn(a,c[b>>2]|0);xn(a,c[b+4>>2]|0);HW(b);i=d;return}}function yn(a){a=a|0;var b=0;b=i;c[a>>2]=49688;a=c[a+4>>2]|0;if((a|0)==0){i=b;return}$m(a);HW(a);i=b;return}function zn(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=i;c[a>>2]=49688;d=c[a+4>>2]|0;if((d|0)==0){HW(a);i=b;return}e=d+8|0;h=c[e>>2]|0;do{if((h|0)!=0){f=d+4|0;if((c[f>>2]|0)>0){g=0;do{Of(h+(g<<4)|0);g=g+1|0;h=c[e>>2]|0;}while((g|0)<(c[f>>2]|0));if((h|0)==0){break}}IW(h)}}while(0);Fe(c[d+12>>2]|0);HW(d);HW(a);i=b;return}function An(a){a=a|0;var b=0;b=i;HW(a);i=b;return}function Bn(a,b){a=a|0;b=b|0;i=i;return(c[a+4>>2]|0)==(c[b+4>>2]|0)|0}function Cn(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;g=FW(80)|0;OG(g,b,d,0);c[g>>2]=49808;c[g+60>>2]=0;b=g+65|0;a[b]=0;bX(g+20|0,0,16)|0;c[g+68>>2]=e;c[g+72>>2]=0;c[g+76>>2]=0;En(g);if((a[b]&1)!=0){b=g;i=f;return b|0}if((g|0)==0){b=0;i=f;return b|0}fd[c[(c[g>>2]|0)+4>>2]&511](g);b=0;i=f;return b|0}function Dn(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=i;f=i;i=i+8|0;b=RG(b,f)|0;if((b|0)==0){g=0;i=e;return g|0}g=FW(80)|0;OG(g,b,c[f>>2]|0,1);c[g>>2]=49808;c[g+60>>2]=0;b=g+65|0;a[b]=0;bX(g+20|0,0,16)|0;c[g+68>>2]=d;c[g+72>>2]=0;c[g+76>>2]=0;En(g);if((a[b]&1)!=0){i=e;return g|0}if((g|0)==0){g=0;i=e;return g|0}fd[c[(c[g>>2]|0)+4>>2]&511](g);g=0;i=e;return g|0}function En(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;d=i;k=i;i=i+8|0;e=b+65|0;a[e]=1;g=VG(b,0,e)|0;if((a[e]&1)==0){i=d;return}do{if((g|0)==1953784678){j=VG(b,8,e)|0;if((a[e]&1)==0){i=d;return}if((j|0)==0){a[e]=0;i=d;return}g=b+68|0;h=c[g>>2]|0;if((h|0)>=(j|0)){c[g>>2]=0;h=0}m=VG(b,(h<<2)+12|0,e)|0;if((a[e]&1)!=0){break}i=d;return}else{m=0}}while(0);g=VG(b,m,e)|0;if((a[e]&1)==0){i=d;return}h=b+64|0;a[h]=(g|0)==1330926671|0;g=UG(b,m+4|0,e)|0;j=b+24|0;c[j>>2]=g;if((a[e]&1)==0){i=d;return}l=ye(g,20)|0;g=b+20|0;c[g>>2]=l;p=c[j>>2]|0;if((p|0)>0){l=b+12|0;o=0;m=m+12|0;n=0;while(1){q=VG(b,m,e)|0;c[(c[g>>2]|0)+(o*20|0)>>2]=q;q=VG(b,m+4|0,e)|0;c[(c[g>>2]|0)+(o*20|0)+4>>2]=q;q=VG(b,m+8|0,e)|0;c[(c[g>>2]|0)+(o*20|0)+8>>2]=q;q=VG(b,m+12|0,e)|0;c[(c[g>>2]|0)+(o*20|0)+16>>2]=q;q=c[g>>2]|0;p=c[q+(o*20|0)+16>>2]|0;if((p|0)<0){f=15}else{if(((c[q+(o*20|0)+8>>2]|0)+p|0)>(c[l>>2]|0)){f=15}}if((f|0)==15){f=0;Qe(-1,49824,k);o=o+ -1|0;n=n+1|0}o=o+1|0;p=c[j>>2]|0;if((o|0)<(p|0)){m=m+16|0}else{break}}k=c[g>>2]|0}else{k=l;n=0}l=p-n|0;c[j>>2]=l;l=Ee(k,l,20)|0;c[g>>2]=l;if((a[e]&1)==0|(l|0)==0){i=d;return}k=c[j>>2]|0;a:do{if((k|0)>0){n=0;while(1){m=n+1|0;if((c[l+(n*20|0)>>2]|0)==1751474532){break}if((m|0)<(k|0)){n=m}else{break a}}if((n|0)<0){break}else{n=0}while(1){m=n+1|0;if((c[l+(n*20|0)>>2]|0)==1751672161){break}if((m|0)<(k|0)){n=m}else{break a}}if((n|0)<0){break}else{n=0}while(1){m=n+1|0;if((c[l+(n*20|0)>>2]|0)==1835104368){break}if((m|0)<(k|0)){n=m}else{break a}}if((n|0)<0){break}else{n=0}while(1){m=n+1|0;if((c[l+(n*20|0)>>2]|0)==1752003704){break}if((m|0)<(k|0)){n=m}else{break a}}if((n|0)<0){break}m=(a[h]&1)==0;do{if(m){n=0;while(1){o=n+1|0;if((c[l+(n*20|0)>>2]|0)==1819239265){break}if((o|0)<(k|0)){n=o}else{break a}}if((n|0)<0){break a}if(m){n=0}else{m=0;f=42;break}while(1){o=n+1|0;if((c[l+(n*20|0)>>2]|0)==1735162214){break}if((o|0)<(k|0)){n=o}else{break a}}if((n|0)<0){break a}if(m){m=0}else{m=0;f=42}}else{m=0;f=42}}while(0);if((f|0)==42){while(1){f=m+1|0;if((c[l+(m*20|0)>>2]|0)==1128678944){break}if((f|0)<(k|0)){m=f;f=42}else{break a}}if((m|0)<0){break}else{m=0}}while(1){f=m+1|0;if((c[l+(m*20|0)>>2]|0)==1668112752){f=47;break}if((f|0)<(k|0)){m=f}else{f=54;break}}do{if((f|0)==47){if((m|0)<=-1){f=54;break}n=c[l+(m*20|0)+8>>2]|0;o=UG(b,n+2|0,e)|0;k=b+32|0;c[k>>2]=o;if((a[e]&1)==0){i=d;return}l=b+28|0;c[l>>2]=ye(o,20)|0;if((c[k>>2]|0)>0){o=0;n=n+4|0;while(1){q=UG(b,n,e)|0;c[(c[l>>2]|0)+(o*20|0)>>2]=q;q=UG(b,n+2|0,e)|0;c[(c[l>>2]|0)+(o*20|0)+4>>2]=q;q=c[(c[g>>2]|0)+(m*20|0)+8>>2]|0;q=(VG(b,n+4|0,e)|0)+q|0;c[(c[l>>2]|0)+(o*20|0)+8>>2]=q;q=UG(b,c[(c[l>>2]|0)+(o*20|0)+8>>2]|0,e)|0;c[(c[l>>2]|0)+(o*20|0)+16>>2]=q;q=UG(b,(c[(c[l>>2]|0)+(o*20|0)+8>>2]|0)+2|0,e)|0;c[(c[l>>2]|0)+(o*20|0)+12>>2]=q;o=o+1|0;if((o|0)<(c[k>>2]|0)){n=n+8|0}else{break}}}if((a[e]&1)==0){i=d;return}else{k=c[j>>2]|0;break}}}while(0);if((f|0)==54){c[b+32>>2]=0}l=c[g>>2]|0;b:do{if((k|0)>0){m=0;while(1){n=m+1|0;if((c[l+(m*20|0)>>2]|0)==1835104368){break b}if((n|0)<(k|0)){m=n}else{m=-1;break}}}else{m=-1}}while(0);k=b+36|0;c[k>>2]=UG(b,(c[l+(m*20|0)+8>>2]|0)+4|0,e)|0;if((a[e]&1)==0){i=d;return}o=c[j>>2]|0;l=c[g>>2]|0;c:do{if((o|0)>0){n=0;while(1){m=n+1|0;if((c[l+(n*20|0)>>2]|0)==1751474532){break c}if((m|0)<(o|0)){n=m}else{n=-1;break}}}else{n=-1}}while(0);c[b+44>>2]=TG(b,(c[l+(n*20|0)+8>>2]|0)+36|0,e)|0;c[b+48>>2]=TG(b,(c[(c[g>>2]|0)+(n*20|0)+8>>2]|0)+38|0,e)|0;c[b+52>>2]=TG(b,(c[(c[g>>2]|0)+(n*20|0)+8>>2]|0)+40|0,e)|0;c[b+56>>2]=TG(b,(c[(c[g>>2]|0)+(n*20|0)+8>>2]|0)+42|0,e)|0;m=TG(b,(c[(c[g>>2]|0)+(n*20|0)+8>>2]|0)+50|0,e)|0;l=b+40|0;c[l>>2]=m;n=a[e]|0;if((n&1)==0){i=d;return}do{if((a[h]&1)==0){p=c[j>>2]|0;j=c[g>>2]|0;d:do{if((p|0)>0){h=0;while(1){o=h+1|0;if((c[j+(h*20|0)>>2]|0)==1819239265){break d}if((o|0)<(p|0)){h=o}else{h=-1;break}}}else{h=-1}}while(0);q=c[j+(h*20|0)+16>>2]|0;if((q|0)<0){a[e]=0;i=d;return}o=c[k>>2]|0;p=(m|0)!=0?4:2;if((q|0)<(dada(g,r)|0)|0,g,e)|0)+k|0;p=(WG(b,o+(da(g,r+1|0)|0)|0,g,e)|0)+k|0;if((f|0)<(k|0)){f=23;break}if((p|0)<=(k|0)|(f|0)>(q|0)|(p|0)>(q|0)|(p|0)<(f|0)){f=23;break}if((a[e]&1)==0){b=0;f=38;break}fo(b,f,p-f|0,(c[n>>2]|0)+(r*584|0)|0);r=r+1|0;if((r|0)>=(c[m>>2]|0)){break a}}if((f|0)==20){a[e]=0;r=0;i=d;return r|0}else if((f|0)==23){a[e]=0;r=0;i=d;return r|0}else if((f|0)==38){i=d;return b|0}}else{r=we(584)|0;c[b+328>>2]=r;eo(b,c[b+304>>2]|0,c[b+300>>2]|0,r)}}while(0);if((a[e]&1)==0){r=0;i=d;return r|0}f=c[b+296>>2]|0;if((f|0)<1){a[e]=0;r=0;i=d;return r|0}$n(b,f,b+108|0,e);if((a[e]&1)==0){r=0;i=d;return r|0}c[b+332>>2]=c[b+112>>2];do{if((c[j>>2]|0)==3102){go(b);if((a[e]&1)==0){b=0}else{break}i=d;return b|0}}while(0);if(!(ho(b)|0)){a[e]=0;r=0;i=d;return r|0}r=c[j>>2]|0;do{if(!((r|0)==3102|(r|0)==3092)){io(b);if((a[e]&1)==0){b=0}else{break}i=d;return b|0}}while(0);r=(a[e]&1)!=0;i=d;return r|0}}while(0);a[e]=0;r=0;i=d;return r|0}function Vn(a){a=a|0;var b=0,d=0,e=0;b=i;d=i;i=i+8|0;a=RG(a,d)|0;if((a|0)==0){e=0;i=b;return e|0}e=FW(1160)|0;OG(e,a,c[d>>2]|0,1);c[e>>2]=53784;c[e+20>>2]=0;c[e+24>>2]=0;c[e+328>>2]=0;c[e+340>>2]=0;c[e+344>>2]=0;if(Un(e)|0){i=b;return e|0}if((e|0)==0){e=0;i=b;return e|0}fd[c[(c[e>>2]|0)+4>>2]&511](e);e=0;i=b;return e|0}function Wn(a){a=a|0;var b=0;b=i;Xn(a);HW(a);i=b;return}function Xn(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;c[a>>2]=53784;d=c[a+20>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=a+24|0;f=c[d>>2]|0;if(!((f|0)==0|(f|0)==193784|(f|0)==197136)){e=0;do{Fe(c[f+(e<<2)>>2]|0);e=e+1|0;f=c[d>>2]|0}while((e|0)<256);Fe(f)}d=c[a+328>>2]|0;if((d|0)!=0){Fe(d)}d=c[a+340>>2]|0;if((d|0)!=0){Fe(d)}d=c[a+344>>2]|0;if((d|0)==0|(d|0)==200672|(d|0)==201136|(d|0)==201472){QG(a);i=b;return}Fe(d);QG(a);i=b;return}function Yn(a){a=a|0;var b=0;b=i;a=c[a+20>>2]|0;if((a|0)==0){a=0;i=b;return a|0}a=c[a+28>>2]|0;i=b;return a|0}function Zn(a){a=a|0;i=i;return c[a+24>>2]|0}function _n(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;f=i;if((c[a+128>>2]|0)!=3102){m=0;k=0;l=d;c[l>>2]=k;i=f;return m|0}g=a+332|0;k=c[g>>2]|0;if((k|0)>0){h=c[a+344>>2]|0;m=0;j=0;do{l=e[h+(m<<1)>>1]|0;j=(l|0)>(j|0)?l:j;m=m+1|0;}while((m|0)<(k|0));h=j+1|0}else{h=1}j=ye(h,2)|0;bX(j|0,0,h<<1|0)|0;if((c[g>>2]|0)<=0){m=j;k=h;l=d;c[l>>2]=k;i=f;return m|0}a=a+344|0;k=0;while(1){b[j+((e[(c[a>>2]|0)+(k<<1)>>1]|0)<<1)>>1]=k;k=k+1|0;if((k|0)<(c[g>>2]|0)){}else{break}}m=d;c[m>>2]=h;i=f;return j|0}function $n(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=i;c[e>>2]=d;p=UG(b,d,f)|0;j=e+4|0;c[j>>2]=p;if((p|0)==0){c[e+8>>2]=0;p=d+2|0;c[e+16>>2]=p;c[e+12>>2]=p;i=g;return}o=SG(b,d+2|0,f)|0;m=e+8|0;c[m>>2]=o;if((o+ -1|0)>>>0>3){a[f]=0;o=c[m>>2]|0}k=d+3|0;n=c[j>>2]|0;p=(da(n+1|0,o)|0)+k|0;l=p+ -1|0;d=e+12|0;c[d>>2]=l;if((p|0)<1){h=7}else{if((p|0)>(c[b+12>>2]|0)){h=7}}if((h|0)==7){a[f]=0;o=c[m>>2]|0;n=c[j>>2]|0;l=c[d>>2]|0}h=(WG(b,(da(o,n)|0)+k|0,o,f)|0)+l|0;c[e+16>>2]=h;do{if((h|0)>=(c[d>>2]|0)){if((h|0)>(c[b+12>>2]|0)){break}i=g;return}}while(0);a[f]=0;i=g;return}function ao(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0;h=i;do{if((e|0)>=0){if((c[d+4>>2]|0)<=(e|0)){break}l=d+12|0;k=c[l>>2]|0;n=d+8|0;m=c[n>>2]|0;k=(WG(b,(c[d>>2]|0)+3+(da(m,e)|0)|0,m,g)|0)+k|0;m=c[l>>2]|0;n=c[n>>2]|0;b=(WG(b,(c[d>>2]|0)+3+(dada(g+ -1|0,d)|0)|0,j|0,da(g,0-d|0)|0)|0;break a}else{bX(h|0,j|0,da(g,d)|0)|0;break a}}}while(0);if((c[g+4>>2]|0)<=0){break a}j=d+2|0;l=g;g=c[g+20>>2]|0;k=0;while(1){b:do{if((c[l>>2]|0)>0){l=g;n=1;while(1){a[l]=a[d]|0;a[l+1|0]=a[h]|0;a[l+2|0]=a[j]|0;m=c[b>>2]|0;if((n|0)>=(c[m>>2]|0)){break b}l=l+3|0;n=n+1|0}}else{m=l}}while(0);k=k+1|0;if((k|0)<(c[m+4>>2]|0)){l=m;g=g+(c[m+12>>2]|0)|0}else{break}}break};case 4:{j=a[d]|0;h=d+1|0;do{if(j<<24>>24==(a[h]|0)){if(j<<24>>24!=(a[d+2|0]|0)){break}d=c[g+12>>2]|0;h=c[g+20>>2]|0;g=c[g+4>>2]|0;if((d|0)<0){bX(h+(da(g+ -1|0,d)|0)|0,j|0,da(g,0-d|0)|0)|0;break a}else{bX(h|0,j|0,da(g,d)|0)|0;break a}}}while(0);if((c[g+4>>2]|0)<=0){break a}j=d+2|0;l=g;g=c[g+20>>2]|0;k=0;while(1){c:do{if((c[l>>2]|0)>0){l=g;n=1;while(1){a[l]=a[d]|0;a[l+1|0]=a[h]|0;a[l+2|0]=a[j]|0;a[l+3|0]=-1;m=c[b>>2]|0;if((n|0)>=(c[m>>2]|0)){break c}l=l+4|0;n=n+1|0}}else{m=l}}while(0);k=k+1|0;if((k|0)<(c[m+4>>2]|0)){l=m;g=g+(c[m+12>>2]|0)|0}else{break}}break};case 0:{h=a[d]>>7;j=c[g+12>>2]|0;d=c[g+20>>2]|0;g=c[g+4>>2]|0;if((j|0)<0){bX(d+(da(g+ -1|0,j)|0)|0,h|0,da(g,0-j|0)|0)|0;break a}else{bX(d|0,h|0,da(g,j)|0)|0;break a}break};case 2:{j=a[d]|0;h=d+1|0;do{if(j<<24>>24==(a[h]|0)){if(j<<24>>24!=(a[d+2|0]|0)){break}h=c[g+12>>2]|0;d=c[g+20>>2]|0;g=c[g+4>>2]|0;if((h|0)<0){bX(d+(da(g+ -1|0,h)|0)|0,j|0,da(g,0-h|0)|0)|0;break a}else{bX(d|0,j|0,da(g,h)|0)|0;break a}}}while(0);if((c[g+4>>2]|0)<=0){break a}j=d+2|0;l=g;g=c[g+20>>2]|0;k=0;while(1){d:do{if((c[l>>2]|0)>0){l=g;n=1;while(1){a[l]=a[j]|0;a[l+1|0]=a[h]|0;a[l+2|0]=a[d]|0;m=c[b>>2]|0;if((n|0)>=(c[m>>2]|0)){break d}l=l+3|0;n=n+1|0}}else{m=l}}while(0);k=k+1|0;if((k|0)<(c[m+4>>2]|0)){l=m;g=g+(c[m+12>>2]|0)|0}else{break}}break};case 1:{j=c[g+12>>2]|0;h=c[g+20>>2]|0;if((j|0)<0){n=c[g+4>>2]|0;m=h+(da(n+ -1|0,j)|0)|0;bX(m|0,a[d]|0,da(n,0-j|0)|0)|0;break a}else{bX(h|0,a[d]|0,da(c[g+4>>2]|0,j)|0)|0;break a}break};default:{}}}while(0);g=c[b>>2]|0;d=c[g+24>>2]|0;if((d|0)!=0){bX(d|0,e|0,da4|0)+16>>3]=N;h[p+(Q*24|0)+16>>3]=O;c[q+(Q<<2)>>2]=M}kq(o,N,O)|0;if((M|0)<1024){v=M}else{break}}i=r;return}function op(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0;l=i;j=i;i=i+40|0;g=j;m=i;i=i+8|0;do{if((a[b+189|0]&1)!=0){c[m>>2]=f&1;Kb(53976,m|0)|0;m=e+8|0;if((c[m>>2]|0)<=0){break}n=e+4|0;o=0;do{p=c[e>>2]|0;s=+h[p+(o<<4)>>3];r=+h[p+(o<<4)+8>>3];p=d[(c[n>>2]|0)+o|0]|0;c[j>>2]=o;q=g+4|0;h[k>>3]=s;c[q>>2]=c[k>>2];c[q+4>>2]=c[k+4>>2];q=g+12|0;h[k>>3]=r;c[q>>2]=c[k>>2];c[q+4>>2]=c[k+4>>2];c[g+20>>2]=(p&1|0)!=0?54576:54584;c[g+24>>2]=(p&2|0)!=0?54592:54584;c[g+28>>2]=(p&4|0)!=0?54600:54584;c[g+32>>2]=(p&8|0)!=0?54608:54584;Kb(54544,g|0)|0;o=o+1|0;}while((o|0)<(c[m>>2]|0))}}while(0);q=c[b+4>>2]|0;q=mp(b,e,f,c[q+52>>2]|0,+h[q+72>>3])|0;i=l;return q|0}function pp(b,e,f,g,j){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;q=i;A=c[b+8>>2]|0;z=c[A+20>>2]|0;x=f>>1;A=c[A+12>>2]|0;w=A+x|0;B=w+A|0;tp(b,e,f,j);if((f|0)>(g|0)){i=q;return}k=b+4|0;t=e+52|0;s=e+36|0;v=e+48|0;u=e+44|0;r=e+40|0;l=e+56|0;m=b+168|0;n=b+176|0;o=b+172|0;p=b+180|0;y=z+x|0;x=z+w|0;w=z+B|0;C=z+(B+A)|0;while(1){D=d[y]|0;if((f&1|0)==0){A=x;z=w;B=C;w=(c[54680+((d[x]|0)>>>4<<2)>>2]|0)+(c[54680+(D>>>4<<2)>>2]|0)+(c[54680+((d[w]|0)>>>4<<2)>>2]|0)+(c[54680+((d[C]|0)>>>4<<2)>>2]|0)|0}else{y=y+1|0;A=x+1|0;z=w+1|0;B=C+1|0;w=(c[54680+((a[x]&15)<<2)>>2]|0)+(c[54680+((D&15)<<2)>>2]|0)+(c[54680+((a[w]&15)<<2)>>2]|0)+(c[54680+((a[C]&15)<<2)>>2]|0)|0}do{if((w|0)==0){c[e>>2]=(c[e>>2]|0)+1;if((c[(c[k>>2]|0)+136>>2]|0)!=0){c[r>>2]=(c[r>>2]|0)+1}a:do{switch(c[(c[b>>2]|0)+16>>2]|0){case 3:case 2:{c[u>>2]=(c[u>>2]|0)+3;break};case 1:{c[u>>2]=(c[u>>2]|0)+1;break};case 4:{c[u>>2]=(c[u>>2]|0)+4;break};case 0:{D=c[v>>2]>>1;c[v>>2]=D;if((D|0)!=0){break a}c[v>>2]=128;c[u>>2]=(c[u>>2]|0)+1;break};default:{}}}while(0);w=c[t>>2]|0;if((w|0)!=0){c[t>>2]=w+1}w=c[s>>2]|0;if((w|0)==0){break}c[s>>2]=w+1}else{h[l>>3]=+h[b+32+(w<<3)>>3];up(b,e);if((c[m>>2]|0)>(f|0)){c[m>>2]=f}if((c[n>>2]|0)<(f|0)){c[n>>2]=f}if((c[o>>2]|0)>(j|0)){c[o>>2]=j}if((c[p>>2]|0)>=(j|0)){break}c[p>>2]=j}}while(0);if((f|0)<(g|0)){x=A;w=z;C=B;f=f+1|0}else{break}}i=q;return}function qp(b,d,e,f,g){b=b|0;d=+d;e=+e;f=f|0;g=g|0;var j=0,l=0,m=0,n=0,o=0,p=0.0,q=0;l=i;o=i;i=i+32|0;n=o;j=i;i=i+32|0;m=i;i=i+8|0;if((a[b+189|0]&1)!=0){q=o;h[k>>3]=d;c[q>>2]=c[k>>2];c[q+4>>2]=c[k+4>>2];q=n+8|0;h[k>>3]=e;c[q>>2]=c[k>>2];c[q+4>>2]=c[k+4>>2];c[n+16>>2]=f;c[n+20>>2]=f;c[n+24>>2]=f;Kb(53992,n|0)|0}n=c[b+4>>2]|0;p=+h[n+32>>3]+(+h[n>>3]*d+ +h[n+16>>3]*e);e=+h[n+40>>3]+(+h[n+8>>3]*d+ +h[n+24>>3]*e);if(p>0.0){d=p}else{d=+R(+p)}o=~~d;p=(p- +(o|0))*4.0;if(p<=0.0){p=+R(+p)}if(e>0.0){d=e}else{d=+R(+e)}q=~~d;e=(e- +(q|0))*4.0;if(e<=0.0){e=+R(+e)}if(!(Fd[c[(c[g>>2]|0)+8>>2]&7](g,f,~~p,~~e,j,o,q,c[n+132>>2]|0,m)|0)){q=6;i=l;return q|0}g=c[m>>2]|0;if((g|0)==1){m=1}else{rp(b,o,q,j,(g|0)==0);m=c[m>>2]|0}c[b+184>>2]=m;if((a[j+24|0]&1)==0){q=0;i=l;return q|0}Fe(c[j+20>>2]|0);q=0;i=l;return q|0}function rp(b,e,f,g,j){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0.0;k=i;m=i;i=i+80|0;l=m;q=c[g+20>>2]|0;e=e-(c[g>>2]|0)|0;f=f-(c[g+4>>2]|0)|0;p=g+8|0;r=c[p>>2]|0;n=c[g+12>>2]|0;if((f|0)<0){q=q+(da(r,0-f|0)|0)|0;o=0;n=n+f|0}else{o=f}if((e|0)<0){q=q+(0-e)|0;f=0;e=r+e|0}else{f=e;e=r}s=c[b>>2]|0;t=c[s>>2]|0;e=(e+f|0)<(t|0)?e:t-f|0;s=c[s+4>>2]|0;n=(n+o|0)<(s|0)?n:s-o|0;g=(a[g+16|0]&1)!=0;if(j){if(!g){p=~~+ca(+(+(r|0)*.125));u=b+4|0;F=c[u>>2]|0;jp(b,l,f,o,c[F+52>>2]|0,0,+h[F+72>>3],0,0);if((n|0)<=0){i=k;return}y=(e|0)>0;g=l+52|0;j=l+36|0;s=l+48|0;r=l+44|0;z=l+40|0;x=b+168|0;w=b+176|0;v=b+172|0;t=b+180|0;A=0;while(1){tp(b,l,f,o);if(y){D=f;B=0;do{C=d[q+((B|0)/8|0)|0]|0;E=0;while(1){if((E+B|0)>=(e|0)){break}do{if((C&128|0)==0){c[m>>2]=(c[m>>2]|0)+1;if((c[(c[u>>2]|0)+136>>2]|0)!=0){c[z>>2]=(c[z>>2]|0)+1}a:do{switch(c[(c[b>>2]|0)+16>>2]|0){case 4:{c[r>>2]=(c[r>>2]|0)+4;break};case 0:{F=c[s>>2]>>1;c[s>>2]=F;if((F|0)!=0){break a}c[s>>2]=128;c[r>>2]=(c[r>>2]|0)+1;break};case 1:{c[r>>2]=(c[r>>2]|0)+1;break};case 3:case 2:{c[r>>2]=(c[r>>2]|0)+3;break};default:{}}}while(0);F=c[g>>2]|0;if((F|0)!=0){c[g>>2]=F+1}F=c[j>>2]|0;if((F|0)==0){break}c[j>>2]=F+1}else{up(b,l);if((c[x>>2]|0)>(D|0)){c[x>>2]=D}if((c[w>>2]|0)<(D|0)){c[w>>2]=D}if((c[v>>2]|0)>(o|0)){c[v>>2]=o}if((c[t>>2]|0)>=(o|0)){break}c[t>>2]=o}}while(0);E=E+1|0;D=D+1|0;if((E|0)<8){C=C<<1}else{break}}B=B+8|0;}while((B|0)<(e|0))}A=A+1|0;if((A|0)<(n|0)){q=q+p|0;o=o+1|0}else{break}}i=k;return}j=b+4|0;g=c[j>>2]|0;r=c[g+52>>2]|0;G=+h[g+72>>3];tp(b,l,f,o);g=l+8|0;c[g>>2]=0;if((r|0)==0){c[l+28>>2]=0}else{if(jd[c[(c[r>>2]|0)+16>>2]&511](r)|0){g=l+32|0;pd[c[(c[r>>2]|0)+12>>2]&63](r,f,o,g)|0}else{c[g>>2]=r;g=l+32|0}c[l+28>>2]=g}r=l+16|0;h[r>>3]=G;g=c[j>>2]|0;if((c[g+136>>2]|0)==0){h[r>>3]=G*255.0}a[l+24|0]=1;a[l+64|0]=0;r=c[(c[b>>2]|0)+16>>2]|0;if((c[g+60>>2]|0)==0){c[l+68>>2]=c[53896+(r<<2)>>2]}else{c[l+68>>2]=c[53920+(r<<2)>>2]}c[l+72>>2]=0;if((n|0)<=0){i=k;return}g=(e|0)>0;u=l+52|0;t=l+36|0;w=l+48|0;v=l+44|0;x=l+40|0;r=l+56|0;s=b+168|0;z=b+176|0;A=b+172|0;y=b+180|0;C=0;while(1){tp(b,l,f,o);if(g){B=f;D=0;while(1){E=a[q+D|0]|0;do{if(E<<24>>24==0){c[m>>2]=(c[m>>2]|0)+1;if((c[(c[j>>2]|0)+136>>2]|0)!=0){c[x>>2]=(c[x>>2]|0)+1}b:do{switch(c[(c[b>>2]|0)+16>>2]|0){case 1:{c[v>>2]=(c[v>>2]|0)+1;break};case 4:{c[v>>2]=(c[v>>2]|0)+4;break};case 0:{F=c[w>>2]>>1;c[w>>2]=F;if((F|0)!=0){break b}c[w>>2]=128;c[v>>2]=(c[v>>2]|0)+1;break};case 3:case 2:{c[v>>2]=(c[v>>2]|0)+3;break};default:{}}}while(0);E=c[u>>2]|0;if((E|0)!=0){c[u>>2]=E+1}E=c[t>>2]|0;if((E|0)==0){break}c[t>>2]=E+1}else{h[r>>3]=+(E&255|0)/255.0;up(b,l);if((c[s>>2]|0)>(B|0)){c[s>>2]=B}if((c[z>>2]|0)<(B|0)){c[z>>2]=B}if((c[A>>2]|0)>(o|0)){c[A>>2]=o}if((c[y>>2]|0)>=(o|0)){break}c[y>>2]=o}}while(0);D=D+1|0;if((D|0)<(e|0)){B=B+1|0}else{break}}}C=C+1|0;if((C|0)<(n|0)){q=q+(c[p>>2]|0)|0;o=o+1|0}else{break}}i=k;return}if(!g){w=~~+ca(+(+(r|0)*.125));g=b+4|0;F=c[g>>2]|0;jp(b,l,f,o,c[F+52>>2]|0,0,+h[F+72>>3],0,0);if((n|0)<=0){i=k;return}z=(e|0)>0;j=l+52|0;x=l+36|0;s=l+48|0;v=l+44|0;y=l+40|0;p=b+168|0;t=b+176|0;r=b+172|0;u=b+180|0;A=0;while(1){tp(b,l,f,o);if(z){D=f;B=0;do{C=d[q+((B|0)/8|0)|0]|0;E=0;while(1){if((E+B|0)>=(e|0)){break}do{if(vp(c[(c[g>>2]|0)+132>>2]|0,D,o)|0){if((C&128|0)!=0){up(b,l);if((c[p>>2]|0)>(D|0)){c[p>>2]=D}if((c[t>>2]|0)<(D|0)){c[t>>2]=D}if((c[r>>2]|0)>(o|0)){c[r>>2]=o}if((c[u>>2]|0)>=(o|0)){break}c[u>>2]=o;break}c[m>>2]=(c[m>>2]|0)+1;if((c[(c[g>>2]|0)+136>>2]|0)!=0){c[y>>2]=(c[y>>2]|0)+1}c:do{switch(c[(c[b>>2]|0)+16>>2]|0){case 0:{F=c[s>>2]>>1;c[s>>2]=F;if((F|0)!=0){break c}c[s>>2]=128;c[v>>2]=(c[v>>2]|0)+1;break};case 1:{c[v>>2]=(c[v>>2]|0)+1;break};case 3:case 2:{c[v>>2]=(c[v>>2]|0)+3;break};case 4:{c[v>>2]=(c[v>>2]|0)+4;break};default:{}}}while(0);F=c[j>>2]|0;if((F|0)!=0){c[j>>2]=F+1}F=c[x>>2]|0;if((F|0)==0){break}c[x>>2]=F+1}else{c[m>>2]=(c[m>>2]|0)+1;if((c[(c[g>>2]|0)+136>>2]|0)!=0){c[y>>2]=(c[y>>2]|0)+1}d:do{switch(c[(c[b>>2]|0)+16>>2]|0){case 0:{F=c[s>>2]>>1;c[s>>2]=F;if((F|0)!=0){break d}c[s>>2]=128;c[v>>2]=(c[v>>2]|0)+1;break};case 1:{c[v>>2]=(c[v>>2]|0)+1;break};case 3:case 2:{c[v>>2]=(c[v>>2]|0)+3;break};case 4:{c[v>>2]=(c[v>>2]|0)+4;break};default:{}}}while(0);F=c[j>>2]|0;if((F|0)!=0){c[j>>2]=F+1}F=c[x>>2]|0;if((F|0)==0){break}c[x>>2]=F+1}}while(0);E=E+1|0;D=D+1|0;if((E|0)<8){C=C<<1}else{break}}B=B+8|0;}while((B|0)<(e|0))}A=A+1|0;if((A|0)<(n|0)){q=q+w|0;o=o+1|0}else{break}}i=k;return}j=b+4|0;r=c[j>>2]|0;g=c[r+52>>2]|0;G=+h[r+72>>3];tp(b,l,f,o);r=l+8|0;c[r>>2]=0;if((g|0)==0){c[l+28>>2]=0}else{if(jd[c[(c[g>>2]|0)+16>>2]&511](g)|0){F=l+32|0;pd[c[(c[g>>2]|0)+12>>2]&63](g,f,o,F)|0;g=F}else{c[r>>2]=g;g=l+32|0}c[l+28>>2]=g}r=l+16|0;h[r>>3]=G;g=c[j>>2]|0;if((c[g+136>>2]|0)==0){h[r>>3]=G*255.0}a[l+24|0]=1;a[l+64|0]=0;r=c[(c[b>>2]|0)+16>>2]|0;if((c[g+60>>2]|0)==0){c[l+68>>2]=c[53896+(r<<2)>>2]}else{c[l+68>>2]=c[53920+(r<<2)>>2]}c[l+72>>2]=0;if((n|0)<=0){i=k;return}s=(e|0)>0;A=l+52|0;z=l+36|0;u=l+48|0;t=l+44|0;r=l+40|0;y=l+56|0;x=b+168|0;w=b+176|0;v=b+172|0;g=b+180|0;C=0;while(1){tp(b,l,f,o);e:do{if(s){B=f;D=0;while(1){do{if(vp(c[(c[j>>2]|0)+132>>2]|0,B,o)|0){E=a[q+D|0]|0;if(E<<24>>24!=0){h[y>>3]=+(E&255|0)/255.0;up(b,l);if((c[x>>2]|0)>(B|0)){c[x>>2]=B}if((c[w>>2]|0)<(B|0)){c[w>>2]=B}if((c[v>>2]|0)>(o|0)){c[v>>2]=o}if((c[g>>2]|0)>=(o|0)){break}c[g>>2]=o;break}c[m>>2]=(c[m>>2]|0)+1;if((c[(c[j>>2]|0)+136>>2]|0)!=0){c[r>>2]=(c[r>>2]|0)+1}f:do{switch(c[(c[b>>2]|0)+16>>2]|0){case 0:{F=c[u>>2]>>1;c[u>>2]=F;if((F|0)!=0){break f}c[u>>2]=128;c[t>>2]=(c[t>>2]|0)+1;break};case 1:{c[t>>2]=(c[t>>2]|0)+1;break};case 3:case 2:{c[t>>2]=(c[t>>2]|0)+3;break};case 4:{c[t>>2]=(c[t>>2]|0)+4;break};default:{}}}while(0);E=c[A>>2]|0;if((E|0)!=0){c[A>>2]=E+1}E=c[z>>2]|0;if((E|0)==0){break}c[z>>2]=E+1}else{c[m>>2]=(c[m>>2]|0)+1;if((c[(c[j>>2]|0)+136>>2]|0)!=0){c[r>>2]=(c[r>>2]|0)+1}g:do{switch(c[(c[b>>2]|0)+16>>2]|0){case 4:{c[t>>2]=(c[t>>2]|0)+4;break};case 0:{F=c[u>>2]>>1;c[u>>2]=F;if((F|0)!=0){break g}c[u>>2]=128;c[t>>2]=(c[t>>2]|0)+1;break};case 1:{c[t>>2]=(c[t>>2]|0)+1;break};case 3:case 2:{c[t>>2]=(c[t>>2]|0)+3;break};default:{}}}while(0);E=c[A>>2]|0;if((E|0)!=0){c[A>>2]=E+1}E=c[z>>2]|0;if((E|0)==0){break}c[z>>2]=E+1}}while(0);D=D+1|0;if((D|0)>=(e|0)){break e}B=B+1|0}}}while(0);C=C+1|0;if((C|0)<(n|0)){q=q+(c[p>>2]|0)|0;o=o+1|0}else{break}}i=k;return}function sp(a,b,d,e){a=a|0;b=+b;d=+d;e=e|0;var f=0,g=0,j=0,k=0.0,l=0,m=0,n=0;f=i;g=c[a+4>>2]|0;k=+h[g+32>>3]+(+h[g>>3]*b+ +h[g+16>>3]*d);b=+h[g+40>>3]+(+h[g+8>>3]*b+ +h[g+24>>3]*d);if(k<=0.0){k=+R(+k)}j=~~k;if(b<=0.0){b=+R(+b)}l=~~b;n=j-(c[e>>2]|0)|0;m=l-(c[e+4>>2]|0)|0;g=Jp(c[g+132>>2]|0,n,m,n+ -1+(c[e+8>>2]|0)|0,m+ -1+(c[e+12>>2]|0)|0)|0;if((g|0)==1){n=a+184|0;c[n>>2]=g;i=f;return}rp(a,j,l,e,(g|0)==0);n=a+184|0;c[n>>2]=g;i=f;return}function tp(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;g=i;c[d>>2]=e;c[d+4>>2]=f;h=b+4|0;j=c[(c[h>>2]|0)+136>>2]|0;if((j|0)!=0){k=(da(c[j+12>>2]|0,f)|0)+e|0;c[d+40>>2]=(c[j+20>>2]|0)+k}j=c[b>>2]|0;switch(c[j+16>>2]|0){case 3:case 2:{c[d+44>>2]=(da(c[j+12>>2]|0,f)|0)+(e*3|0)+(c[j+20>>2]|0);break};case 1:{c[d+44>>2]=(da(c[j+12>>2]|0,f)|0)+e+(c[j+20>>2]|0);break};case 0:{c[d+44>>2]=(da(c[j+12>>2]|0,f)|0)+(e>>3)+(c[j+20>>2]|0);c[d+48>>2]=128>>>(e&7);break};case 4:{c[d+44>>2]=(da(c[j+12>>2]|0,f)|0)+(e<<2)+(c[j+20>>2]|0);break};default:{}}j=c[b>>2]|0;k=c[j+24>>2]|0;if((k|0)==0){c[d+52>>2]=0}else{c[d+52>>2]=k+((da(c[j>>2]|0,f)|0)+e)}do{if((a[(c[h>>2]|0)+141|0]&1)!=0){h=c[b+16>>2]|0;j=c[h+24>>2]|0;if((j|0)==0){break}k=dada(s,n)|0;t=s+n-((t+128+(t>>>8)|0)>>>8&255)|0;s=t&255;u=e+36|0;p=c[u>>2]|0;if((p|0)==0){p=s;break}c[u>>2]=p+1;w=d[p]|0;u=da(w,t&255)|0;p=s;s=w+t-((u+128+(u>>>8)|0)>>>8)&255}else{p=-1;s=-1}}while(0);c:do{switch(c[e+68>>2]|0){case 1:{s=c[e+28>>2]|0;t=n^255;r=0;q=0;l=55;break};case 0:{t=n^255;s=c[e+28>>2]|0;l=(da(d[s+2|0]|0,t)|0)+(da(d[q+2|0]|0,n)|0)|0;r=(da(d[s+1|0]|0,t)|0)+(da(d[q+1|0]|0,n)|0)|0;r=(r+128+(r>>>8)|0)>>>8&255;q=(l+128+(l>>>8)|0)>>>8&255;l=55;break};case 2:{o=s&255;if(s<<24>>24==0){o=0;r=0;q=0;break c}r=r&255;o=(((da(d[j]|0,o-r|0)|0)+(da(d[c[e+28>>2]|0]|0,r)|0)|0)/(o|0)|0)&255;r=0;q=0;break};case 3:{q=s&255;if(s<<24>>24==0){o=0;r=0;q=0;break c}w=r&255;t=q-w|0;o=da(d[j]|0,t)|0;u=c[e+28>>2]|0;o=(((da(d[u]|0,w)|0)+o|0)/(q|0)|0)&255;r=(((da(d[m+1|0]|0,t)|0)+(da(d[u+1|0]|0,w)|0)|0)/(q|0)|0)&255;q=(((da(d[m+2|0]|0,t)|0)+(da(d[u+2|0]|0,w)|0)|0)/(q|0)|0)&255;break};case 5:{t=s&255;if(s<<24>>24==0){o=0;r=0;q=0;break c}w=r&255;x=t-w|0;r=da(d[j]|0,x)|0;u=n^255;s=c[e+28>>2]|0;o=(((((da((da(d[s]|0,u)|0)+(da(d[o]|0,n)|0)|0,w)|0)>>>0)/255|0)+r|0)/(t|0)|0)&255;r=(((da(d[m+1|0]|0,x)|0)+(((da((da(d[s+1|0]|0,u)|0)+(da(d[q+1|0]|0,n)|0)|0,w)|0)>>>0)/255|0)|0)/(t|0)|0)&255;q=(((da(d[m+2|0]|0,x)|0)+(((da((da(d[s+2|0]|0,u)|0)+(da(d[q+2|0]|0,n)|0)|0,w)|0)>>>0)/255|0)|0)/(t|0)|0)&255;break};case 4:{q=s&255;if(s<<24>>24==0){o=0;r=0;q=0;break c}r=r&255;o=(((da(d[j]|0,q-r|0)|0)+(((da((da(d[c[e+28>>2]|0]|0,n^255)|0)+(da(d[o]|0,n)|0)|0,r)|0)>>>0)/255|0)|0)/(q|0)|0)&255;r=0;q=0;break};default:{o=0;r=0;q=0}}}while(0);if((l|0)==55){x=da(d[s]|0,t)|0;o=(da(d[o]|0,n)|0)+x|0;o=(o+128+(o>>>8)|0)>>>8&255}s=p&255;do{if(p<<24>>24!=0){l=c[e+72>>2]|0;if((l|0)==1){l=da(s^255,n)|0;n=s*255|0}else if((l|0)==3){q=q&255;w=da(s^255,n)|0;x=s*255|0;q=((da(w,q-(d[m+2|0]|0)|0)|0)/(x|0)|0)+q&255;r=r&255;l=w;n=x;r=((da(w,r-(d[m+1|0]|0)|0)|0)/(x|0)|0)+r&255}else{break}o=o&255;o=((da(l,o-(d[j]|0)|0)|0)/(n|0)|0)+o&255}}while(0);d:do{switch(c[(c[b>>2]|0)+16>>2]|0){case 4:{w=e+44|0;x=c[w>>2]|0;c[w>>2]=x+1;a[x]=q;x=c[w>>2]|0;c[w>>2]=x+1;a[x]=r;x=c[w>>2]|0;c[w>>2]=x+1;a[x]=o;x=c[w>>2]|0;c[w>>2]=x+1;a[x]=-1;break};case 3:{w=e+44|0;x=c[w>>2]|0;c[w>>2]=x+1;a[x]=q;x=c[w>>2]|0;c[w>>2]=x+1;a[x]=r;x=c[w>>2]|0;c[w>>2]=x+1;a[x]=o;break};case 1:{w=e+44|0;x=c[w>>2]|0;c[w>>2]=x+1;a[x]=o;break};case 2:{w=e+44|0;x=c[w>>2]|0;c[w>>2]=x+1;a[x]=o;x=c[w>>2]|0;c[w>>2]=x+1;a[x]=r;x=c[w>>2]|0;c[w>>2]=x+1;a[x]=q;break};case 0:{x=(Gq(c[(c[k>>2]|0)+56>>2]|0,c[e>>2]|0,c[e+4>>2]|0,o)|0)==0;b=e+48|0;j=c[b>>2]|0;if(x){x=c[e+44>>2]|0;a[x]=(d[x]|0)&(j^255)}else{x=c[e+44>>2]|0;a[x]=d[x]|0|j}x=c[b>>2]>>1;c[b>>2]=x;if((x|0)!=0){break d}c[b>>2]=128;x=e+44|0;c[x>>2]=(c[x>>2]|0)+1;break};default:{}}}while(0);b=c[g>>2]|0;if((b|0)==0){break}c[g>>2]=b+1;a[b]=p}}while(0);c[e>>2]=(c[e>>2]|0)+1;i=f;return}function vp(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;f=i;if((c[b+40>>2]|0)>(d|0)){j=0;i=f;return j|0}if((c[b+48>>2]|0)<(d|0)){j=0;i=f;return j|0}if((c[b+44>>2]|0)>(e|0)){j=0;i=f;return j|0}if((c[b+52>>2]|0)<(e|0)){j=0;i=f;return j|0}g=b+68|0;h=(c[g>>2]|0)>0;if((a[b]&1)==0){if(!h){j=1;i=f;return j|0}j=b+64|0;b=0;while(1){h=b+1|0;if(!(dr(c[(c[j>>2]|0)+(b<<2)>>2]|0,d,e)|0)){e=0;g=14;break}if((h|0)<(c[g>>2]|0)){b=h}else{e=1;g=14;break}}if((g|0)==14){i=f;return e|0}}else{if(!h){j=1;i=f;return j|0}h=b+64|0;d=d<<2;b=e<<2;j=0;while(1){e=j+1|0;if(!(dr(c[(c[h>>2]|0)+(j<<2)>>2]|0,d,b)|0)){e=0;g=14;break}if((e|0)<(c[g>>2]|0)){j=e}else{e=1;g=14;break}}if((g|0)==14){i=f;return e|0}}return 0}function wp(b,e,f,g,j,l,m){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0.0,r=0,s=0,t=0,u=0.0,v=0.0,w=0,x=0,y=0.0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0.0,ca=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0.0;n=i;r=i;i=i+56|0;p=r;B=i;i=i+80|0;o=B;if((a[b+189|0]&1)!=0){q=+h[l>>3];u=+h[l+8>>3];v=+h[l+16>>3];y=+h[l+24>>3];ba=+h[l+32>>3];qa=+h[l+40>>3];c[r>>2]=g;c[p+4>>2]=j;pa=p+8|0;h[k>>3]=q;c[pa>>2]=c[k>>2];c[pa+4>>2]=c[k+4>>2];pa=p+16|0;h[k>>3]=u;c[pa>>2]=c[k>>2];c[pa+4>>2]=c[k+4>>2];pa=p+24|0;h[k>>3]=v;c[pa>>2]=c[k>>2];c[pa+4>>2]=c[k+4>>2];pa=p+32|0;h[k>>3]=y;c[pa>>2]=c[k>>2];c[pa+4>>2]=c[k+4>>2];pa=p+40|0;h[k>>3]=ba;c[pa>>2]=c[k>>2];c[pa+4>>2]=c[k+4>>2];pa=p+48|0;h[k>>3]=qa;c[pa>>2]=c[k>>2];c[pa+4>>2]=c[k+4>>2];Kb(54040,p|0)|0}if((j|g|0)==0){pa=254;i=n;return pa|0}q=+h[l>>3];v=+h[l+24>>3];qa=q*v;ba=+h[l+8>>3];y=+h[l+16>>3];u=ba*y;if(+S(+(qa-u))<1.0e-6){pa=8;i=n;return pa|0}p=+S(+ba)>+S(+q);if(p){qa=y-qa/ba;u=-0.0-ba;y=(-0.0-v)/qa;v=qa;q=(-0.0-q)/ba}else{v=v-u/q;u=q;y=y/v;q=ba/q}s=u>=0.0;ba=+h[l+32>>3];do{if(m){qa=ba+.5;if(qa<=0.0){qa=+R(+qa)}r=~~qa;if(s){ba=u+ba+.5;if(ba<=0.0){ba=+R(+ba)}s=~~ba+ -1|0;break}else{ba=u+ba+.5;if(ba<=0.0){ba=+R(+ba)}s=~~ba;r=r+ -1|0;break}}else{if(s){qa=ba+-.01;if(qa<=0.0){qa=+R(+qa)}ba=u+ba+.01;if(ba<=0.0){ba=+R(+ba)}s=~~ba;r=~~qa;break}else{qa=ba+.01;if(qa<=0.0){qa=+R(+qa)}ba=u+ba+-.01;if(ba<=0.0){ba=+R(+ba)}s=~~ba;r=~~qa;break}}}while(0);s=s-r|0;I=(s|0)>-1?s:0-s|0;s=I+1|0;t=v>=0.0;ba=+h[l+40>>3];do{if(m){qa=ba+.5;if(qa<=0.0){qa=+R(+qa)}m=~~qa;if(t){ba=v+ba+.5;if(ba<=0.0){ba=+R(+ba)}l=~~ba+ -1|0;break}else{ba=v+ba+.5;if(ba<=0.0){ba=+R(+ba)}l=~~ba;m=m+ -1|0;break}}else{if(t){qa=ba+-.01;if(qa<=0.0){qa=+R(+qa)}ba=v+ba+.01;if(ba<=0.0){ba=+R(+ba)}l=~~ba;m=~~qa;break}else{qa=ba+.01;if(qa<=0.0){qa=+R(+qa)}ba=v+ba+-.01;if(ba<=0.0){ba=+R(+ba)}l=~~ba;m=~~qa;break}}}while(0);l=l-m|0;J=(l|0)>-1?l:0-l|0;l=J+1|0;V=u<0.0;t=V?-1:1;x=v<0.0?-1:1;u=q*+(t|0);w=da(I,t)|0;z=~~(q*+(w|0));v=+(x|0);y=y*v;ba=y*+(J|0)+.5;if(ba>0.0){A=~~ba;C=da(J,x)|0;D=~~(q*+(A|0))+C|0}else{ba=+R(+ba);A=~~ba;C=da(J,x)|0;D=~~(q*+(A|0))+C|0}F=~~ba+w|0;H=~~(q*+(F|0))+C|0;if(p){G=H;E=z;C=D;A=m-A|0;D=m-F|0;F=m-w|0}else{G=F;E=w;C=A;A=D+m|0;D=H+m|0;F=m+z|0}K=C+r|0;H=E+r|0;G=G+r|0;do{if((E|0)>0){if((C|0)>0){L=(r|0)<(G|0)?r:G;z=63;break}else{C=(K|0)<(G|0)?K:G;z=67;break}}else{if((H|0)<(K|0)){L=(H|0)<(G|0)?H:G;z=63;break}else{L=(K|0)<(G|0)?K:G;z=63;break}}}while(0);do{if((z|0)==63){if((E|0)>=0){C=L;z=67;break}if((C|0)<0){C=L;E=(r|0)>(G|0)?r:G;break}else{C=L;E=(K|0)>(G|0)?K:G;break}}}while(0);do{if((z|0)==67){if((H|0)>(K|0)){E=(H|0)>(G|0)?H:G;break}else{E=(K|0)>(G|0)?K:G;break}}}while(0);do{if((m|0)<(F|0)){if((m|0)<(A|0)){G=(m|0)<(D|0)?m:D;break}else{G=(A|0)<(D|0)?A:D;break}}else{if((F|0)<(A|0)){G=(F|0)<(D|0)?F:D;break}else{G=(A|0)<(D|0)?A:D;break}}}while(0);do{if((m|0)>(F|0)){if((m|0)>(A|0)){D=(m|0)>(D|0)?m:D;break}else{D=(A|0)>(D|0)?A:D;break}}else{if((F|0)>(A|0)){D=(F|0)>(D|0)?F:D;break}else{D=(A|0)>(D|0)?A:D;break}}}while(0);A=b+4|0;C=Jp(c[(c[A>>2]|0)+132>>2]|0,C,G,E,D)|0;c[b+184>>2]=C;D=(j|0)/(l|0)|0;E=(j|0)%(l|0)|0;j=(g|0)/(s|0)|0;F=(g|0)%(s|0)|0;if((D|0)<0|(D|0)==2147483647){pa=9;i=n;return pa|0}H=D+1|0;G=ye(H,g)|0;K=c[A>>2]|0;L=c[K+52>>2]|0;ba=+h[K+72>>3];c[B>>2]=0;c[o+4>>2]=0;B=c[K+136>>2]|0;if((B|0)!=0){c[o+40>>2]=c[B+20>>2]}B=c[b>>2]|0;switch(c[B+16>>2]|0){case 3:case 2:{c[o+44>>2]=c[B+20>>2];break};case 0:{c[o+44>>2]=c[B+20>>2];c[o+48>>2]=128;break};case 1:{c[o+44>>2]=c[B+20>>2];break};case 4:{c[o+44>>2]=c[B+20>>2];break};default:{}}c[o+52>>2]=c[B+24>>2];do{if((a[K+141|0]&1)==0){z=95}else{M=c[b+16>>2]|0;B=c[M+24>>2]|0;if((B|0)==0){z=95;break}pa=da(c[M>>2]|0,c[b+24>>2]|0)|0;c[o+36>>2]=B+((c[b+20>>2]|0)+pa)}}while(0);if((z|0)==95){c[o+36>>2]=0}B=o+8|0;c[B>>2]=0;if((L|0)==0){c[o+28>>2]=0}else{if(jd[c[(c[L>>2]|0)+16>>2]&511](L)|0){B=o+32|0;pd[c[(c[L>>2]|0)+12>>2]&63](L,0,0,B)|0}else{c[B>>2]=L;B=o+32|0}c[o+28>>2]=B;K=c[A>>2]|0}B=o+16|0;h[B>>3]=ba;if((c[K+136>>2]|0)==0){h[B>>3]=ba*255.0}a[o+24|0]=1;a[o+64|0]=0;B=c[(c[b>>2]|0)+16>>2]|0;if((c[K+60>>2]|0)==0){c[o+68>>2]=c[53896+(B<<2)>>2]}else{c[o+68>>2]=c[53920+(B<<2)>>2]}c[o+72>>2]=0;B=b+188|0;if((a[B]&1)!=0){c[b+12>>2]=-1}if((J|0)>-1){J=(D|0)>0;K=(C|0)==0|p;T=u<0.0;U=(I|0)>-1;M=o+56|0;O=b+168|0;Q=b+176|0;N=b+172|0;L=b+180|0;P=V?I:0;I=V?0:I;Y=1;X=0;V=0;while(1){pa=V+E|0;W=(pa|0)<(l|0);V=pa-(W?0:l)|0;W=W?D:H;Z=J?W:Y;if((Z|0)>0){_=0;Y=G;while(1){Bd[e&255](f,Y)|0;_=_+1|0;if((_|0)<(Z|0)){Y=Y+g|0}else{break}}}ba=+(X|0);qa=y*ba+.5;if(qa<=0.0){qa=+R(+qa)}$=~~qa;qa=q*+($|0);do{if(K){_=C;z=118}else{Y=~~qa;if((Y|0)!=(~~(q*+($+w|0))|0)){_=C;z=118;break}pa=$+r|0;_=(da(X,x)|0)+m+Y|0;_=Kp(c[(c[A>>2]|0)+132>>2]|0,pa-P|0,pa+I|0,_)|0;if((_|0)!=1){z=118}}}while(0);do{if((z|0)==118){z=0;ba=v*ba+qa;if(T){ba=ba+.999}Y=(W|0)<1?1:W;if(!U){break}Z=(Y|0)>0;_=(_|0)==0;aa=0;ca=0;ea=0;while(1){pa=ea+F|0;fa=(pa|0)<(s|0);ea=pa-(fa?0:s)|0;fa=j+(fa&1^1)|0;ga=~~ba;ha=p?ga:$;ga=p?0-$|0:ga;ia=(fa|0)<1?1:fa;la=G+aa|0;do{if(Z){ja=g-ia|0;if((ia|0)<=0){break}ka=(fa|0)>1?fa:1;ma=0;oa=0;while(1){pa=0;na=la;while(1){oa=(d[na]|0)+oa|0;pa=pa+1|0;if((pa|0)<(ia|0)){na=na+1|0}else{break}}ma=ma+1|0;if((ma|0)<(Y|0)){la=la+(ka+ja)|0}else{break}}if((oa|0)==0){break}ia=da(ia,Y)|0;if((oa|0)==(ia|0)){qa=1.0}else{qa=+(oa|0)/+(ia|0)}h[M>>3]=qa;ha=ha+r|0;ga=ga+m|0;if(!((a[B]&1)==0|_)){xp(b,o,ha,ga);break}if((ga|0)<0){break}if(!_){if(!(vp(c[(c[A>>2]|0)+132>>2]|0,ha,ga)|0)){break}}tp(b,o,ha,ga);up(b,o);if((c[O>>2]|0)>(ha|0)){c[O>>2]=ha}if((c[Q>>2]|0)<(ha|0)){c[Q>>2]=ha}if((c[N>>2]|0)>(ga|0)){c[N>>2]=ga}if((c[L>>2]|0)>=(ga|0)){break}c[L>>2]=ga}}while(0);ca=ca+1|0;if((ca|0)<(s|0)){$=$+t|0;aa=fa+aa|0;ba=u+ba}else{break}}}}while(0);X=X+1|0;if((X|0)<(l|0)){Y=W}else{break}}}Fe(G);pa=0;i=n;return pa|0}function xp(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=i;k=i;i=i+8|0;l=i;i=i+8|0;if((f|0)<0){i=j;return}if((c[c[b>>2]>>2]|0)<=(f|0)){i=j;return}m=b+4|0;n=c[(c[m>>2]|0)+132>>2]|0;if((c[n+44>>2]|0)>(g|0)){i=j;return}if((c[n+52>>2]|0)<(g|0)){i=j;return}n=b+12|0;o=b+8|0;if((c[n>>2]|0)!=(g|0)){p=c[o>>2]|0;bX(c[p+20>>2]|0,-1,da(c[p+4>>2]|0,c[p+12>>2]|0)|0)|0;c[k>>2]=0;c[l>>2]=(c[c[b>>2]>>2]|0)+ -1;Lp(c[(c[m>>2]|0)+132>>2]|0,c[o>>2]|0,k,l,g);c[n>>2]=g}l=c[o>>2]|0;m=c[l+20>>2]|0;k=f>>1;l=c[l+12>>2]|0;n=d[m+k|0]|0;if((f&1|0)==0){k=(c[54616+((d[m+(l+k)|0]|0)>>>4<<2)>>2]|0)+(c[54616+(n>>>4<<2)>>2]|0)+(c[54616+((d[m+((l<<1)+k)|0]|0)>>>4<<2)>>2]|0)+(c[54616+((d[m+((l*3|0)+k)|0]|0)>>>4<<2)>>2]|0)|0}else{k=(c[54616+((a[m+(l+k)|0]&15)<<2)>>2]|0)+(c[54616+((n&15)<<2)>>2]|0)+(c[54616+((a[m+((l<<1)+k)|0]&15)<<2)>>2]|0)+(c[54616+((a[m+((l*3|0)+k)|0]&15)<<2)>>2]|0)|0}if((k|0)==0){i=j;return}tp(b,e,f,g);p=e+56|0;h[p>>3]=+h[b+32+(k<<3)>>3]*+h[p>>3];up(b,e);e=b+168|0;if((c[e>>2]|0)>(f|0)){c[e>>2]=f}e=b+176|0;if((c[e>>2]|0)<(f|0)){c[e>>2]=f}f=b+172|0;if((c[f>>2]|0)>(g|0)){c[f>>2]=g}b=b+180|0;if((c[b>>2]|0)>=(g|0)){i=j;return}c[b>>2]=g;i=j;return}function yp(b,e,f,g,j,l,m,n){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;l=l|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0.0,s=0,t=0,u=0,v=0,w=0.0,x=0,y=0,z=0.0,A=0.0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0.0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0.0,Ia=0.0;o=i;s=i;i=i+64|0;q=s;L=i;i=i+80|0;p=L;U=i;i=i+8|0;if((a[b+189|0]&1)!=0){w=+h[n>>3];z=+h[n+8>>3];A=+h[n+16>>3];ma=+h[n+24>>3];Ha=+h[n+32>>3];Ia=+h[n+40>>3];c[s>>2]=g;c[q+4>>2]=j&1;c[q+8>>2]=l;c[q+12>>2]=m;Ga=q+16|0;h[k>>3]=w;c[Ga>>2]=c[k>>2];c[Ga+4>>2]=c[k+4>>2];Ga=q+24|0;h[k>>3]=z;c[Ga>>2]=c[k>>2];c[Ga+4>>2]=c[k+4>>2];Ga=q+32|0;h[k>>3]=A;c[Ga>>2]=c[k>>2];c[Ga+4>>2]=c[k+4>>2];Ga=q+40|0;h[k>>3]=ma;c[Ga>>2]=c[k>>2];c[Ga+4>>2]=c[k+4>>2];Ga=q+48|0;h[k>>3]=Ha;c[Ga>>2]=c[k>>2];c[Ga+4>>2]=c[k+4>>2];Ga=q+56|0;h[k>>3]=Ia;c[Ga>>2]=c[k>>2];c[Ga+4>>2]=c[k+4>>2];Kb(54104,q|0)|0}a:do{switch(c[(c[b>>2]|0)+16>>2]|0){case 2:{if((g|0)==2){ba=3;break a}else{f=7}i=o;return f|0};case 3:{if((g|0)==3){ba=3;break a}else{f=7}i=o;return f|0};case 1:case 0:{if((g|0)==1){ba=1;break a}else{f=7}i=o;return f|0};case 4:{if((g|0)==4){ba=4;break a}else{f=7}i=o;return f|0};default:{Ga=7;i=o;return Ga|0}}}while(0);ma=+h[n>>3];z=+h[n+24>>3];w=ma*z;r=+h[n+8>>3];A=+h[n+16>>3];Ha=r*A;if(+S(+(w-Ha))<1.0e-6){Ga=8;i=o;return Ga|0}q=+S(+r)>+S(+ma);if(q){Ia=A-w/r;w=-0.0-r;A=(-0.0-z)/Ia;z=Ia;r=(-0.0-ma)/r}else{z=z-Ha/ma;w=ma;A=A/z;r=r/ma}ma=+h[n+32>>3];do{if(w<0.0){Ha=ma+.01;if(Ha<=0.0){Ha=+R(+Ha)}s=~~Ha;ma=w+ma+-.01;if(ma>0.0){break}ma=+R(+ma)}else{Ha=ma+-.01;if(Ha<=0.0){Ha=+R(+Ha)}s=~~Ha;ma=w+ma+.01;if(ma>0.0){break}ma=+R(+ma)}}while(0);t=~~ma-s|0;aa=(t|0)>-1?t:0-t|0;t=aa+1|0;ma=+h[n+40>>3];do{if(z<0.0){Ha=ma+.01;if(Ha<=0.0){Ha=+R(+Ha)}n=~~Ha;ma=z+ma+-.01;if(ma>0.0){break}ma=+R(+ma)}else{Ha=ma+-.01;if(Ha<=0.0){Ha=+R(+Ha)}n=~~Ha;ma=z+ma+.01;if(ma>0.0){break}ma=+R(+ma)}}while(0);u=~~ma-n|0;M=(u|0)>-1?u:0-u|0;u=M+1|0;ca=w<0.0;v=ca?-1:1;y=z<0.0?-1:1;w=r*+(v|0);x=da(aa,v)|0;B=~~(r*+(x|0));z=+(y|0);A=A*z;ma=A*+(M|0)+.5;if(ma>0.0){F=~~ma;D=da(M,y)|0;C=~~(r*+(F|0))+D|0}else{ma=+R(+ma);F=~~ma;D=da(M,y)|0;C=~~(r*+(F|0))+D|0}G=~~ma+x|0;H=~~(r*+(G|0))+D|0;if(q){J=H;D=B;E=C;C=n-F|0;F=n-G|0;G=n-x|0}else{J=G;D=x;E=F;C=C+n|0;F=H+n|0;G=n+B|0}H=E+s|0;I=D+s|0;J=J+s|0;do{if((D|0)>0){if((E|0)>0){K=(s|0)<(J|0)?s:J;B=43;break}else{D=(H|0)<(J|0)?H:J;B=47;break}}else{if((I|0)<(H|0)){K=(I|0)<(J|0)?I:J;B=43;break}else{K=(H|0)<(J|0)?H:J;B=43;break}}}while(0);do{if((B|0)==43){if((D|0)>=0){D=K;B=47;break}if((E|0)<0){D=K;H=(s|0)>(J|0)?s:J;break}else{D=K;H=(H|0)>(J|0)?H:J;break}}}while(0);do{if((B|0)==47){if((I|0)>(H|0)){H=(I|0)>(J|0)?I:J;break}else{H=(H|0)>(J|0)?H:J;break}}}while(0);do{if((n|0)<(G|0)){if((n|0)<(C|0)){E=(n|0)<(F|0)?n:F;break}else{E=(C|0)<(F|0)?C:F;break}}else{if((G|0)<(C|0)){E=(G|0)<(F|0)?G:F;break}else{E=(C|0)<(F|0)?C:F;break}}}while(0);do{if((n|0)>(G|0)){if((n|0)>(C|0)){F=(n|0)>(F|0)?n:F;break}else{F=(C|0)>(F|0)?C:F;break}}else{if((G|0)>(C|0)){F=(G|0)>(F|0)?G:F;break}else{F=(C|0)>(F|0)?C:F;break}}}while(0);C=b+4|0;D=Jp(c[(c[C>>2]|0)+132>>2]|0,D,E,H,F)|0;c[b+184>>2]=D;if((D|0)==1){Ga=0;i=o;return Ga|0}E=(m|0)/(u|0)|0;K=(m|0)%(u|0)|0;J=(l|0)/(t|0)|0;H=(l|0)%(t|0)|0;if((E|0)<0|(E|0)==2147483647){Ga=9;i=o;return Ga|0}I=E+1|0;m=Ae(I,l,ba)|0;if(j){G=U;O=1;F=ye(I,l)|0}else{G=U;O=(D|0)!=0&(a[b+188|0]&1)!=0;F=0}N=c[C>>2]|0;ma=+h[N+72>>3];c[L>>2]=0;c[p+4>>2]=0;L=N+136|0;P=c[L>>2]|0;if((P|0)!=0){c[p+40>>2]=c[P+20>>2]}Q=c[b>>2]|0;P=Q+16|0;switch(c[P>>2]|0){case 1:{c[p+44>>2]=c[Q+20>>2];break};case 3:case 2:{c[p+44>>2]=c[Q+20>>2];break};case 4:{c[p+44>>2]=c[Q+20>>2];break};case 0:{c[p+44>>2]=c[Q+20>>2];c[p+48>>2]=128;break};default:{}}c[p+52>>2]=c[Q+24>>2];Q=N+141|0;do{if((a[Q]&1)==0){B=79}else{V=c[b+16>>2]|0;T=c[V+24>>2]|0;if((T|0)==0){B=79;break}Ga=da(c[V>>2]|0,c[b+24>>2]|0)|0;c[p+36>>2]=T+((c[b+20>>2]|0)+Ga)}}while(0);if((B|0)==79){c[p+36>>2]=0}c[p+8>>2]=0;c[p+28>>2]=G;T=p+16|0;h[T>>3]=ma;do{if((c[L>>2]|0)==0){Ha=ma*255.0;if(O){h[T>>3]=Ha;break}Ha=Ha+.5;if(Ha<=0.0){Ha=+R(+Ha)}a[p+25|0]=~~Ha}}while(0);a[p+24|0]=O&1;do{if(ma==1.0){if((c[L>>2]|0)!=0|O){B=90;break}if((a[Q]&1)!=0){B=90;break}a[p+64|0]=1;c[p+68>>2]=c[53872+(c[P>>2]<<2)>>2]}else{B=90}}while(0);do{if((B|0)==90){a[p+64|0]=0;L=c[P>>2]|0;if((c[N+60>>2]|0)==0){c[p+68>>2]=c[53896+(L<<2)>>2];break}else{c[p+68>>2]=c[53920+(L<<2)>>2];break}}}while(0);c[p+72>>2]=0;L=b+188|0;if((a[L]&1)!=0){c[b+12>>2]=-1}M=(M|0)>-1;do{if(j){if(!M){break}O=(E|0)>0;T=(D|0)==0;M=T|q;j=w<0.0;N=(aa|0)>-1;P=U+1|0;Q=U+2|0;W=U+3|0;X=p+56|0;_=b+168|0;$=b+176|0;Y=b+172|0;U=b+180|0;V=J+1|0;Z=ca?aa:0;aa=ca?0:aa;ba=da(ba,l)|0;ga=1;ca=0;ea=0;while(1){Ga=ea+K|0;fa=(Ga|0)<(u|0);ea=Ga-(fa?0:u)|0;fa=fa?E:I;ia=O?fa:ga;if((ia|0)>0){ja=0;ga=m;ha=F;while(1){sd[e&127](f,ga,ha)|0;ja=ja+1|0;if((ja|0)<(ia|0)){ha=ha+l|0;ga=ga+ba|0}else{break}}}ma=+(ca|0);Ha=A*ma+.5;if(Ha<=0.0){Ha=+R(+Ha)}ja=~~Ha;Ha=r*+(ja|0);do{if(M){ia=D;B=107}else{ga=~~Ha;if((ga|0)!=(~~(r*+(ja+x|0))|0)){ia=D;B=107;break}Ga=ja+s|0;ia=(da(ca,y)|0)+n+ga|0;ia=Kp(c[(c[C>>2]|0)+132>>2]|0,Ga-Z|0,Ga+aa|0,ia)|0;if((ia|0)!=1){B=107}}}while(0);b:do{if((B|0)==107){B=0;ma=z*ma+Ha;if(j){ma=ma+.999}ga=(fa|0)<1?1:fa;switch(g|0){case 3:case 2:{if(!N){break b}ha=(ga|0)>0;ia=(ia|0)==0;ka=0;la=0;na=0;while(1){Ga=na+H|0;oa=(Ga|0)<(t|0);na=Ga-(oa?0:t)|0;oa=oa?J:V;pa=~~ma;qa=q?pa:ja;pa=q?0-ja|0:pa;ra=(oa|0)<1?1:oa;if(ha){ua=(ra|0)>0;va=l-ra|0;sa=va*3|0;wa=(oa|0)>1?oa:1;ta=wa*3|0;Fa=0;xa=0;ya=m+(ka*3|0)|0;Ga=0;Ea=0;Ca=0;Ba=F+ka|0;while(1){if(ua){za=Ba+wa|0;Da=0;Aa=ya;while(1){Ga=(d[Aa]|0)+Ga|0;Ea=(d[Aa+1|0]|0)+Ea|0;Ca=(d[Aa+2|0]|0)+Ca|0;Fa=(d[Ba]|0)+Fa|0;Da=Da+1|0;if((Da|0)<(ra|0)){Ba=Ba+1|0;Aa=Aa+3|0}else{break}}ya=ya+ta|0;Da=Ga;Aa=Ea}else{Da=Ga;Aa=Ea;za=Ba}xa=xa+1|0;if((xa|0)<(ga|0)){ya=ya+sa|0;Ga=DaDa=0;Aa=0;Ca=0}Ha=1.0/+(da(ra,ga)|0);Ia=+(Fa|0)*Ha*.00392156862745098;do{if(Ia>0.0){a[G]=~~(+(Da|0)*Ha);a[P]=~~(+(Aa|0)*Ha);a[Q]=~~(+(Ca|0)*Ha);h[X>>3]=Ia;qa=qa+s|0;pa=pa+n|0;if(!((a[L]&1)==0|T)){xp(b,p,qa,pa);break}if((pa|0)<0){break}if(!ia){if(!(vp(c[(c[C>>2]|0)+132>>2]|0,qa,pa)|0)){break}}tp(b,p,qa,pa);up(b,p);if((c[_>>2]|0)>(qa|0)){c[_>>2]=qa}if((c[$>>2]|0)<(qa|0)){c[$>>2]=qa}if((c[Y>>2]|0)>(pa|0)){c[Y>>2]=pa}if((c[U>>2]|0)>=(pa|0)){break}c[U>>2]=pa}}while(0);la=la+1|0;if((la|0)<(t|0)){ja=ja+v|0;ka=oa+ka|0;ma=w+ma}else{break}}break};case 4:{if(!N){break b}ha=(ga|0)>0;ia=(ia|0)==0;ka=0;la=0;na=0;while(1){Ga=na+H|0;oa=(Ga|0)<(t|0);na=Ga-(oa?0:t)|0;oa=oa?J:V;pa=~~ma;qa=q?pa:ja;pa=q?0-ja|0:pa;ra=(oa|0)<1?1:oa;if(ha){ua=(ra|0)>0;va=l-ra|0;wa=va<<2;ta=(oa|0)>1?oa:1;sa=ta<<2;Ea=0;xa=0;ya=m+(ka<<2)|0;Ga=0;Fa=0;Da=0;Ba=F+ka|0;while(1){if(ua){za=Ba+ta|0;Ca=0;Aa=ya;while(1){Ga=(d[Aa]|0)+Ga|0;Fa=(d[Aa+1|0]|0)+Fa|0;Da=(d[Aa+2|0]|0)+Da|0;Ea=(d[Ba]|0)+Ea|0;Ca=Ca+1|0;if((Ca|0)<(ra|0)){Ba=Ba+1|0;Aa=Aa+4|0}else{break}}ya=ya+sa|0;Ca=Ga;Aa=Fa}else{Ca=Ga;Aa=Fa;za=Ba}xa=xa+1|0;if((xa|0)<(ga|0)){ya=ya+wa|0;Ga=Ca;Fa=Aa;Ba=za+va|0}else{break}}}else{Ea=0;Ca=0;Aa=0;Da=0}Ha=1.0/+(da(ra,ga)|0);Ia=+(Ea|0)*Ha*.00392156862745098;do{if(Ia>0.0){a[G]=~~(+(Ca|0)*Ha);a[P]=~~(+(Aa|0)*Ha);a[Q]=~~(+(Da|0)*Ha);a[W]=-1;h[X>>3]=Ia;qa=qa+s|0;pa=pa+n|0;if(!((a[L]&1)==0|T)){xp(b,p,qa,pa);break}if((pa|0)<0){break}if(!ia){if(!(vp(c[(c[C>>2]|0)+132>>2]|0,qa,pa)|0)){break}}tp(b,p,qa,pa);up(b,p);if((c[_>>2]|0)>(qa|0)){c[_>>2]=qa}if((c[$>>2]|0)<(qa|0)){c[$>>2]=qa}if((c[Y>>2]|0)>(pa|0)){c[Y>>2]=pa}if((c[U>>2]|0)>=(pa|0)){break}c[U>>2]=pa}}while(0);la=la+1|0;if((la|0)<(t|0)){ja=ja+v|0;ka=oa+ka|0;ma=w+ma}else{break}}break};case 1:case 0:{if(!N){break b}ha=(ga|0)>0;ia=(ia|0)==0;ka=0;la=0;na=0;while(1){Ga=na+H|0;oa=(Ga|0)<(t|0);na=Ga-(oa?0:t)|0;oa=oa?J:V;qa=~~ma;pa=q?qa:ja;qa=q?0-ja|0:qa;ra=(oa|0)<1?1:oa;if(ha){sa=(ra|0)>0;ta=l-ra|0;ua=(oa|0)>1?oa:1;ya=0;va=0;wa=m+ka|0;Ba=0;za=F+ka|0;while(1){if(sa){xa=za+ua|0;Ca=ya;Aa=0;ya=wa;while(1){Ba=(d[ya]|0)+Ba|0;Ca=(d[za]|0)+Ca|0;Aa=Aa+1|0;if((Aa|0)<(ra|0)){za=za+1|0;ya=ya+1|0}else{break}}ya=Ca;wa=wa+ua|0}else{xa=za}va=va+1|0;if((va|0)<(ga|0)){wa=wa+ta|0;za=xa+ta|0}else{break}}}else{ya=0;Ba=0}Ha=1.0/+(da(ra,ga)|0);Ia=+(ya|0)*Ha*.00392156862745098;do{if(Ia>0.0){a[G]=~~(+(Ba|0)*Ha);h[X>>3]=Ia;pa=pa+s|0;qa=qa+n|0;if(!((a[L]&1)==0|T)){xp(b,p,pa,qa);break}if((qa|0)<0){break}if(!ia){if(!(vp(c[(c[C>>2]|0)+132>>2]|0,pa,qa)|0)){break}}tp(b,p,pa,qa);up(b,p);if((c[_>>2]|0)>(pa|0)){c[_>>2]=pa}if((c[$>>2]|0)<(pa|0)){c[$>>2]=pa}if((c[Y>>2]|0)>(qa|0)){c[Y>>2]=qa}if((c[U>>2]|0)>=(qa|0)){break}c[U>>2]=qa}}while(0);la=la+1|0;if((la|0)<(t|0)){ja=ja+v|0;ka=oa+ka|0;ma=w+ma}else{break}}break};default:{break b}}}}while(0);ca=ca+1|0;if((ca|0)<(u|0)){ga=fa}else{break}}}else{if(!M){break}Q=(E|0)>0;O=(D|0)==0;P=O|q;j=w<0.0;T=(aa|0)>-1;M=U+1|0;N=U+2|0;W=U+3|0;X=b+168|0;Y=b+176|0;V=b+172|0;$=b+180|0;Z=p+56|0;_=J+1|0;U=ca?aa:0;aa=ca?0:aa;ba=da(ba,l)|0;ga=1;fa=0;ca=0;while(1){Ga=ca+K|0;ea=(Ga|0)<(u|0);ca=Ga-(ea?0:u)|0;ea=ea?E:I;ga=Q?ea:ga;if((ga|0)>0){ia=0;ha=m;while(1){sd[e&127](f,ha,0)|0;ia=ia+1|0;if((ia|0)<(ga|0)){ha=ha+ba|0}else{break}}}ma=+(fa|0);Ha=A*ma+.5;if(Ha<=0.0){Ha=+R(+Ha)}ka=~~Ha;Ha=r*+(ka|0);do{if(P){ia=D;B=190}else{ga=~~Ha;if((ga|0)!=(~~(r*+(ka+x|0))|0)){ia=D;B=190;break}Ga=ka+s|0;ia=(da(fa,y)|0)+n+ga|0;ia=Kp(c[(c[C>>2]|0)+132>>2]|0,Ga-U|0,Ga+aa|0,ia)|0;if((ia|0)!=1){B=190}}}while(0);c:do{if((B|0)==190){B=0;ma=z*ma+Ha;if(j){ma=ma+.999}ga=(ea|0)<1?1:ea;switch(g|0){case 1:case 0:{if(!T){break c}ha=(ga|0)>0;ia=(ia|0)==0;ja=0;la=0;na=0;while(1){Ga=na+H|0;oa=(Ga|0)<(t|0);na=Ga-(oa?0:t)|0;oa=oa?J:_;pa=~~ma;qa=q?pa:ka;pa=q?0-ka|0:pa;ra=(oa|0)<1?1:oa;if(ha){ua=(ra|0)>0;sa=l-ra|0;ta=(oa|0)>1?oa:1;va=0;wa=m+ja|0;ya=0;while(1){if(ua){za=0;xa=wa;while(1){ya=(d[xa]|0)+ya|0;za=za+1|0;if((za|0)<(ra|0)){xa=xa+1|0}else{break}}wa=wa+ta|0}va=va+1|0;if((va|0)<(ga|0)){wa=wa+sa|0}else{break}}}else{ya=0}a[G]=~~(+(ya|0)*(1.0/+(da(ra,ga)|0)));do{if((a[L]&1)==0|O){qa=qa+s|0;pa=pa+n|0;if((pa|0)<0){break}if(!ia){if(!(vp(c[(c[C>>2]|0)+132>>2]|0,qa,pa)|0)){break}}tp(b,p,qa,pa);up(b,p);if((c[X>>2]|0)>(qa|0)){c[X>>2]=qa}if((c[Y>>2]|0)<(qa|0)){c[Y>>2]=qa}if((c[V>>2]|0)>(pa|0)){c[V>>2]=pa}if((c[$>>2]|0)>=(pa|0)){break}c[$>>2]=pa}else{h[Z>>3]=1.0;xp(b,p,qa+s|0,pa+n|0)}}while(0);la=la+1|0;if((la|0)<(t|0)){ka=ka+v|0;ja=oa+ja|0;ma=w+ma}else{break}}break};case 3:case 2:{if(!T){break c}ha=(ga|0)>0;ia=(ia|0)==0;ja=0;la=0;na=0;while(1){Ga=na+H|0;oa=(Ga|0)<(t|0);na=Ga-(oa?0:t)|0;oa=oa?J:_;qa=~~ma;pa=q?qa:ka;qa=q?0-ka|0:qa;ra=(oa|0)<1?1:oa;if(ha){sa=(ra|0)>0;ta=(l-ra|0)*3|0;ua=(oa|0)>1?oa*3|0:3;va=0;wa=m+(ja*3|0)|0;Ba=0;Aa=0;za=0;while(1){if(sa){ya=0;xa=wa;while(1){Ba=(d[xa]|0)+Ba|0;Aa=(d[xa+1|0]|0)+Aa|0;za=(d[xa+2|0]|0)+za|0;ya=ya+1|0;if((ya|0)<(ra|0)){xa=xa+3|0}else{break}}wa=wa+ua|0}va=va+1|0;if((va|0)<(ga|0)){wa=wa+ta|0}else{break}}}else{Ba=0;Aa=0;za=0}Ia=1.0/+(da(ra,ga)|0);a[G]=~~(+(Ba|0)*Ia);a[M]=~~(+(Aa|0)*Ia);a[N]=~~(+(za|0)*Ia);do{if((a[L]&1)==0|O){pa=pa+s|0;qa=qa+n|0;if((qa|0)<0){break}if(!ia){if(!(vp(c[(c[C>>2]|0)+132>>2]|0,pa,qa)|0)){break}}tp(b,p,pa,qa);up(b,p);if((c[X>>2]|0)>(pa|0)){c[X>>2]=pa}if((c[Y>>2]|0)<(pa|0)){c[Y>>2]=pa}if((c[V>>2]|0)>(qa|0)){c[V>>2]=qa}if((c[$>>2]|0)>=(qa|0)){break}c[$>>2]=qa}else{h[Z>>3]=1.0;xp(b,p,pa+s|0,qa+n|0)}}while(0);la=la+1|0;if((la|0)<(t|0)){ka=ka+v|0;ja=oa+ja|0;ma=w+ma}else{break}}break};case 4:{if(!T){break c}ha=(ga|0)>0;ia=(ia|0)==0;ja=0;la=0;na=0;while(1){Ga=na+H|0;oa=(Ga|0)<(t|0);na=Ga-(oa?0:t)|0;oa=oa?J:_;qa=~~ma;pa=q?qa:ka;qa=q?0-ka|0:qa;ra=(oa|0)<1?1:oa;if(ha){ua=(ra|0)>0;sa=l-ra<<2;ta=(oa|0)>1?oa<<2:4;va=0;wa=m+(ja<<2)|0;Ba=0;Aa=0;za=0;while(1){if(ua){ya=0;xa=wa;while(1){Ba=(d[xa]|0)+Ba|0;Aa=(d[xa+1|0]|0)+Aa|0;za=(d[xa+2|0]|0)+za|0;ya=ya+1|0;if((ya|0)<(ra|0)){xa=xa+4|0}else{break}}wa=wa+ta|0}va=va+1|0;if((va|0)<(ga|0)){wa=wa+sa|0}else{break}}}else{Ba=0;Aa=0;za=0}Ia=1.0/+(da(ra,ga)|0);a[G]=~~(+(Ba|0)*Ia);a[M]=~~(+(Aa|0)*Ia);a[N]=~~(+(za|0)*Ia);a[W]=-1;do{if((a[L]&1)==0|O){pa=pa+s|0;qa=qa+n|0;if((qa|0)<0){break}if(!ia){if(!(vp(c[(c[C>>2]|0)+132>>2]|0,pa,qa)|0)){break}}tp(b,p,pa,qa);up(b,p);if((c[X>>2]|0)>(pa|0)){c[X>>2]=pa}if((c[Y>>2]|0)<(pa|0)){c[Y>>2]=pa}if((c[V>>2]|0)>(qa|0)){c[V>>2]=qa}if((c[$>>2]|0)>=(qa|0)){break}c[$>>2]=qa}else{h[Z>>3]=1.0;xp(b,p,pa+s|0,qa+n|0)}}while(0);la=la+1|0;if((la|0)<(t|0)){ka=ka+v|0;ja=oa+ja|0;ma=w+ma}else{break}}break};default:{break c}}}}while(0);fa=fa+1|0;if((fa|0)<(u|0)){ga=ea}else{break}}}}while(0);Fe(m);Fe(F);Ga=0;i=o;return Ga|0}function zp(b,d,e,f,g,j,k,l,m,n){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0.0,N=0.0;o=i;t=i;i=i+80|0;q=t;r=i;i=i+8|0;if((c[d+16>>2]|0)!=(c[(c[b>>2]|0)+16>>2]|0)){L=7;i=o;return L|0}u=d+24|0;L=(c[u>>2]|0)==0;p=b+4|0;M=+h[(c[p>>2]|0)+72>>3];tp(b,q,g,j);c[q+8>>2]=0;c[q+28>>2]=r;x=q+16|0;h[x>>3]=M;v=c[p>>2]|0;w=v+136|0;y=(c[w>>2]|0)==0;if(!L){if(y){h[x>>3]=M*255.0}a[q+24|0]=1;a[q+64|0]=0;x=(c[b>>2]|0)+16|0;w=c[x>>2]|0;if((c[v+60>>2]|0)==0){c[q+68>>2]=c[53896+(w<<2)>>2]}else{c[q+68>>2]=c[53920+(w<<2)>>2]}if(n){c[q+72>>2]=c[55024+(c[x>>2]<<2)>>2]}else{c[q+72>>2]=0}if((l|0)<=0){L=0;i=o;return L|0}n=(k|0)>0;z=q+56|0;v=b+168|0;w=b+176|0;x=b+172|0;y=b+180|0;A=q+52|0;E=q+36|0;C=q+48|0;B=q+44|0;D=q+40|0;H=0;while(1){F=H+j|0;tp(b,q,g,F);I=H+f|0;if(n){K=(da(c[d>>2]|0,I)|0)+e|0;K=(c[u>>2]|0)+K|0;J=0;while(1){G=K+1|0;K=a[K]|0;do{if(m){L=J+g|0;s=18}else{L=J+g|0;if(vp(c[(c[p>>2]|0)+132>>2]|0,L,F)|0){s=18;break}c[t>>2]=(c[t>>2]|0)+1;if((c[(c[p>>2]|0)+136>>2]|0)!=0){c[D>>2]=(c[D>>2]|0)+1}a:do{switch(c[(c[b>>2]|0)+16>>2]|0){case 4:{c[B>>2]=(c[B>>2]|0)+4;break};case 1:{c[B>>2]=(c[B>>2]|0)+1;break};case 3:case 2:{c[B>>2]=(c[B>>2]|0)+3;break};case 0:{L=c[C>>2]>>1;c[C>>2]=L;if((L|0)!=0){break a}c[C>>2]=128;c[B>>2]=(c[B>>2]|0)+1;break};default:{}}}while(0);K=c[A>>2]|0;if((K|0)!=0){c[A>>2]=K+1}K=c[E>>2]|0;if((K|0)==0){break}c[E>>2]=K+1}}while(0);do{if((s|0)==18){s=0;Oe(d,J+e|0,I,r);h[z>>3]=+(K&255|0)/255.0;up(b,q);if((c[v>>2]|0)>(L|0)){c[v>>2]=L}if((c[w>>2]|0)<(L|0)){c[w>>2]=L}if((c[x>>2]|0)>(F|0)){c[x>>2]=F}if((c[y>>2]|0)>=(F|0)){break}c[y>>2]=F}}while(0);J=J+1|0;if((J|0)<(k|0)){K=G}else{break}}}H=H+1|0;if((H|0)>=(l|0)){p=0;break}}i=o;return p|0}if(y){N=M*255.0+.5;if(N<=0.0){N=+R(+N)}a[q+25|0]=~~N}a[q+24|0]=0;do{if(M==1.0){if((c[w>>2]|0)!=0){s=48;break}if((a[v+141|0]&1)!=0){s=48;break}a[q+64|0]=1;w=c[b>>2]|0;c[q+68>>2]=c[53872+(c[w+16>>2]<<2)>>2]}else{s=48}}while(0);do{if((s|0)==48){a[q+64|0]=0;w=c[b>>2]|0;u=c[w+16>>2]|0;if((c[v+60>>2]|0)==0){c[q+68>>2]=c[53896+(u<<2)>>2];break}else{c[q+68>>2]=c[53920+(u<<2)>>2];break}}}while(0);if(n){c[q+72>>2]=c[55024+(c[w+16>>2]<<2)>>2]}else{c[q+72>>2]=0}if((l|0)<=0){L=0;i=o;return L|0}u=(k|0)>0;w=b+168|0;n=b+176|0;x=b+172|0;y=b+180|0;A=q+52|0;z=q+36|0;C=q+48|0;B=q+44|0;v=q+40|0;G=0;while(1){F=G+j|0;tp(b,q,g,F);if(u){E=G+f|0;D=0;do{do{if(m){H=D+g|0;s=61}else{H=D+g|0;if(vp(c[(c[p>>2]|0)+132>>2]|0,H,F)|0){s=61;break}c[t>>2]=(c[t>>2]|0)+1;if((c[(c[p>>2]|0)+136>>2]|0)!=0){c[v>>2]=(c[v>>2]|0)+1}b:do{switch(c[(c[b>>2]|0)+16>>2]|0){case 1:{c[B>>2]=(c[B>>2]|0)+1;break};case 3:case 2:{c[B>>2]=(c[B>>2]|0)+3;break};case 0:{L=c[C>>2]>>1;c[C>>2]=L;if((L|0)!=0){break b}c[C>>2]=128;c[B>>2]=(c[B>>2]|0)+1;break};case 4:{c[B>>2]=(c[B>>2]|0)+4;break};default:{}}}while(0);H=c[A>>2]|0;if((H|0)!=0){c[A>>2]=H+1}H=c[z>>2]|0;if((H|0)==0){break}c[z>>2]=H+1}}while(0);do{if((s|0)==61){s=0;Oe(d,D+e|0,E,r);up(b,q);if((c[w>>2]|0)>(H|0)){c[w>>2]=H}if((c[n>>2]|0)<(H|0)){c[n>>2]=H}if((c[x>>2]|0)>(F|0)){c[x>>2]=F}if((c[y>>2]|0)>=(F|0)){break}c[y>>2]=F}}while(0);D=D+1|0;}while((D|0)<(k|0))}G=G+1|0;if((G|0)>=(l|0)){p=0;break}}i=o;return p|0}function Ap(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=i;g=i;i=i+8|0;m=c[b>>2]|0;if((c[m+24>>2]|0)==0){Qe(-1,54192,g);i=f;return}a:do{switch(c[m+16>>2]|0){case 3:case 2:{g=a[e]|0;h=a[e+1|0]|0;l=a[e+2|0]|0;if((c[m+4>>2]|0)<=0){break a}e=g&255;j=h&255;k=l&255;o=m;m=0;while(1){n=c[o>>2]|0;if((n|0)>0){q=da(n,m)|0;n=(c[o+20>>2]|0)+(da(c[o+12>>2]|0,m)|0)|0;q=(c[o+24>>2]|0)+q|0;p=0;while(1){o=q+1|0;r=a[q]|0;q=r&255;if(r<<24>>24==0){a[n]=g;a[n+1|0]=h;a[n+2|0]=l}else if(r<<24>>24!=-1){s=~r&255;t=da(s,e)|0;t=(da(d[n]|0,q)|0)+t|0;a[n]=(t+128+(t>>>8)|0)>>>8;t=da(s,j)|0;r=n+1|0;t=(da(d[r]|0,q)|0)+t|0;a[r]=(t+128+(t>>>8)|0)>>>8;s=da(s,k)|0;r=n+2|0;q=(da(d[r]|0,q)|0)+s|0;a[r]=(q+128+(q>>>8)|0)>>>8}p=p+1|0;q=c[b>>2]|0;if((p|0)<(c[q>>2]|0)){n=n+3|0;q=o}else{o=q;break}}}m=m+1|0;if((m|0)>=(c[o+4>>2]|0)){m=o;break}}break};case 1:{if((c[m+4>>2]|0)<=0){break a}g=d[e]|0;h=0;do{e=c[m>>2]|0;if((e|0)>0){j=da(e,h)|0;e=(c[m+20>>2]|0)+(da(c[m+12>>2]|0,h)|0)|0;j=(c[m+24>>2]|0)+j|0;k=0;while(1){t=a[j]|0;m=da(~t&255,g)|0;m=(da(d[e]|0,t&255)|0)+m|0;a[e]=(m+128+(m>>>8)|0)>>>8;k=k+1|0;m=c[b>>2]|0;if((k|0)<(c[m>>2]|0)){j=j+1|0;e=e+1|0}else{break}}}h=h+1|0;}while((h|0)<(c[m+4>>2]|0));break};case 0:{if((c[m+4>>2]|0)<=0){break a}g=d[e]|0;h=0;do{e=c[m>>2]|0;if((e|0)>0){j=da(e,h)|0;k=128;e=(c[m+20>>2]|0)+(da(c[m+12>>2]|0,h)|0)|0;j=(c[m+24>>2]|0)+j|0;l=0;while(1){t=a[j]|0;m=d[e]|0;t=(da(((m&k|0)!=0)<<31>>31&255,t&255)|0)+(da(~t&255,g)|0)|0;if(((t+128+(t>>>8)|0)>>>8&255)<<24>>24<0){m=m|k}else{m=m&(k^255)}a[e]=m;k=k>>1;n=(k|0)==0;l=l+1|0;m=c[b>>2]|0;if((l|0)<(c[m>>2]|0)){k=n?128:k;e=n?e+1|0:e;j=j+1|0}else{break}}}h=h+1|0;}while((h|0)<(c[m+4>>2]|0));break};case 4:{g=a[e]|0;h=a[e+1|0]|0;k=a[e+2|0]|0;if((c[m+4>>2]|0)<=0){break a}l=g&255;e=h&255;j=k&255;o=m;m=0;while(1){n=c[o>>2]|0;if((n|0)>0){q=da(n,m)|0;n=(c[o+20>>2]|0)+(da(c[o+12>>2]|0,m)|0)|0;q=(c[o+24>>2]|0)+q|0;p=0;while(1){o=q+1|0;q=a[q]|0;r=q&255;if(q<<24>>24==0){a[n]=g;a[n+1|0]=h;a[n+2|0]=k}else if(q<<24>>24!=-1){s=~q&255;q=da(s,l)|0;q=(da(d[n]|0,r)|0)+q|0;a[n]=(q+128+(q>>>8)|0)>>>8;q=da(s,e)|0;t=n+1|0;q=(da(d[t]|0,r)|0)+q|0;a[t]=(q+128+(q>>>8)|0)>>>8;s=da(s,j)|0;t=n+2|0;s=(da(d[t]|0,r)|0)+s|0;a[t]=(s+128+(s>>>8)|0)>>>8}a[n+3|0]=-1;p=p+1|0;q=c[b>>2]|0;if((p|0)<(c[q>>2]|0)){n=n+4|0;q=o}else{o=q;break}}}m=m+1|0;if((m|0)>=(c[o+4>>2]|0)){m=o;break}}break};default:{}}}while(0);bX(c[m+24>>2]|0,-1,da(c[m+4>>2]|0,c[m>>2]|0)|0)|0;i=f;return}function Bp(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0.0,_=0.0,$=0.0,aa=0,ba=0,ca=0.0,ea=0.0,fa=0.0,ga=0,ha=0.0,ia=0,ja=0.0,ka=0,la=0,ma=0.0,na=0.0,oa=0,pa=0.0,qa=0,ra=0,sa=0.0,ta=0.0,ua=0.0,va=0,wa=0;j=i;r=i;i=i+24|0;p=r;n=i;i=i+24|0;q=n;w=i;i=i+16|0;u=w;y=i;i=i+16|0;x=y;m=i;i=i+80|0;f=m;g=i;i=i+8|0;v=i;i=i+24|0;t=v;bX(r|0,0,24)|0;bX(n|0,0,24)|0;bX(w|0,0,12)|0;bX(y|0,0,12)|0;C=c[b>>2]|0;l=c[C>>2]|0;o=c[b+4>>2]|0;s=c[o+132>>2]|0;H=C+20|0;B=c[H>>2]|0;I=C+24|0;A=c[I>>2]|0;D=C+16|0;z=c[D>>2]|0;E=(A|0)!=0;G=C+12|0;e=c[G>>2]|0;if((z|0)==1){k=z}else if((z|0)==4){k=z}else if((z|0)==2){k=3}else if((z|0)==3){k=z}else{k=0}Z=+h[o+64>>3];c[m>>2]=0;c[f+4>>2]=0;m=o+136|0;J=c[m>>2]|0;if((J|0)!=0){c[f+40>>2]=c[J+20>>2]}switch(c[D>>2]|0){case 3:case 2:{c[f+44>>2]=c[H>>2];break};case 4:{c[f+44>>2]=c[H>>2];break};case 1:{c[f+44>>2]=c[H>>2];break};case 0:{c[f+44>>2]=c[H>>2];c[f+48>>2]=128;break};default:{}}c[f+52>>2]=c[I>>2];H=o+141|0;do{if((a[H]&1)==0){F=16}else{I=c[b+16>>2]|0;J=c[I+24>>2]|0;if((J|0)==0){F=16;break}wa=da(c[I>>2]|0,c[b+24>>2]|0)|0;c[f+36>>2]=J+((c[b+20>>2]|0)+wa)}}while(0);if((F|0)==16){c[f+36>>2]=0}c[f+8>>2]=0;c[f+28>>2]=g;h[f+16>>3]=Z;if((c[m>>2]|0)==0){_=Z*255.0+.5;if(_<=0.0){_=+R(+_)}a[f+25|0]=~~_}a[f+24|0]=0;do{if(Z==1.0){if((c[m>>2]|0)!=0){F=25;break}if((a[H]&1)!=0){F=25;break}a[f+64|0]=1;c[f+68>>2]=c[53872+(c[D>>2]<<2)>>2];H=1}else{F=25}}while(0);do{if((F|0)==25){a[f+64|0]=0;m=c[D>>2]|0;if((c[o+60>>2]|0)==0){c[f+68>>2]=c[53896+(m<<2)>>2];H=0;break}else{c[f+68>>2]=c[53920+(m<<2)>>2];H=0;break}}}while(0);c[f+72>>2]=0;m=b+188|0;do{if((a[m]&1)==0){if(H<<24>>24==0){F=33;break}if((c[o+60>>2]|0)==0){D=1}else{F=33}}else{if((c[b+8>>2]|0)==0){wa=0;i=j;return wa|0}else{c[b+12>>2]=-1;F=33;break}}}while(0);do{if((F|0)==33){E=FW(28)|0;Ke(E,c[C>>2]|0,c[C+4>>2]|0,c[C+8>>2]|0,c[D>>2]|0,1,(c[G>>2]|0)>-1);B=c[E+20>>2]|0;A=c[E+24>>2]|0;C=c[b>>2]|0;C=da(c[C+4>>2]|0,c[C>>2]|0)|0;if((C|0)<=0){D=0;C=E;E=1;break}bX(A|0,0,C|0)|0;D=0;C=E;E=1}}while(0);if(!(jd[c[(c[d>>2]|0)+20>>2]&511](d)|0)){wa=0;i=j;return wa|0}a:do{if((jd[c[(c[d>>2]|0)+24>>2]&511](d)|0)>0){L=p+8|0;M=q+8|0;J=t+8|0;O=p+16|0;G=q+16|0;H=t+16|0;U=o+16|0;W=o+32|0;I=o+8|0;K=o+24|0;P=o+40|0;V=x+4|0;F=u+4|0;Q=x+8|0;T=u+8|0;N=0;b:while(1){rd[c[(c[d>>2]|0)+28>>2]&1](d,N,p,q,t,L,M,J,O,G,H);ua=+h[r>>3];Z=+h[n>>3];_=+h[W>>3]+(ua*+h[o>>3]+Z*+h[U>>3]);Z=+h[P>>3]+(ua*+h[I>>3]+Z*+h[K>>3]);h[r>>3]=_;h[n>>3]=Z;_=_+.5;if(_<=0.0){_=+R(+_)}ia=~~_;c[w>>2]=ia;Z=Z+.5;if(Z<=0.0){Z=+R(+Z)}X=~~Z;c[y>>2]=X;ua=+h[L>>3];Z=+h[M>>3];_=+h[W>>3]+(ua*+h[o>>3]+Z*+h[U>>3]);Z=+h[P>>3]+(ua*+h[I>>3]+Z*+h[K>>3]);h[L>>3]=_;h[M>>3]=Z;_=_+.5;if(_<=0.0){_=+R(+_)}Y=~~_;c[F>>2]=Y;Z=Z+.5;if(Z<=0.0){Z=+R(+Z)}ba=~~Z;c[V>>2]=ba;ua=+h[O>>3];Z=+h[G>>3];_=+h[W>>3]+(ua*+h[o>>3]+Z*+h[U>>3]);Z=+h[P>>3]+(ua*+h[I>>3]+Z*+h[K>>3]);h[O>>3]=_;h[G>>3]=Z;_=_+.5;if(_<=0.0){_=+R(+_)}la=~~_;c[T>>2]=la;Z=Z+.5;if(Z<=0.0){Z=+R(+Z)}ga=~~Z;c[Q>>2]=ga;if((X|0)>(ba|0)){c[w>>2]=Y;c[F>>2]=ia;c[y>>2]=ba;c[V>>2]=X;ua=+h[v>>3];h[v>>3]=+h[J>>3];h[J>>3]=ua;ka=Y;Y=X}else{ka=ia;ia=Y;Y=ba;ba=X}if((ba|0)>(Y|0)){F=45;break}do{if((Y|0)>(ga|0)){Z=+h[H>>3];c[T>>2]=ia;c[Q>>2]=Y;h[H>>3]=+h[J>>3];if((ba|0)>(ga|0)){c[F>>2]=ka;c[V>>2]=ba;h[J>>3]=+h[v>>3];c[w>>2]=la;c[y>>2]=ga;h[v>>3]=Z;aa=ka;ka=la;X=ba;ba=ga;break}else{c[F>>2]=la;c[V>>2]=ga;h[J>>3]=Z;aa=la;X=ga;break}}else{aa=ia;ia=la;X=Y;Y=ga}}while(0);if((ba|0)>(X|0)){F=51;break}if((X|0)>(Y|0)){F=53;break}do{if((da(ka-ia|0,X-Y|0)|0)!=(da(aa-ia|0,ba-Y|0)|0)){ga=(ba|0)==(X|0);la=ga?2:1;ga=ga&1;ra=c[x+(ga<<2)>>2]|0;wa=c[x+(la<<2)>>2]|0;if((ra|0)>=(wa|0)){F=56;break b}if((ba|0)>=(Y|0)){F=58;break b}va=c[u+(ga<<2)>>2]|0;ha=+((c[u+(la<<2)>>2]|0)-va|0)/+(wa-ra|0);fa=+(va|0)- +(ra|0)*ha;_=+(ia-ka|0)/+(Y-ba|0);$=+(ka|0)- +(ba|0)*_;Z=+(X|0);if(fa+ha*Z>$+_*Z){qa=ra;va=wa;ra=ba;wa=Y;ca=$;ea=_;ka=2;oa=0}else{qa=ba;va=Y;ca=fa;ea=ha;fa=$;ha=_;ka=la;oa=ga;la=2;ga=0}ma=+h[t+(oa<<3)>>3];na=(+h[t+(ka<<3)>>3]-ma)/+(wa-ra|0);pa=+h[t+(ga<<3)>>3];sa=(+h[t+(la<<3)>>3]-pa)/+(va-qa|0);if((ba|0)>(Y|0)){break}_=+(ia-aa|0);$=+(aa|0);aa=ba;ia=(X|0)<(Y|0);ja=na;ma=ma- +(ra|0)*na;na=sa;pa=pa- +(qa|0)*sa;ba=dada(aa,l)|0;va=ra;ra=(da(ra,k)|0)+ba|0;ua=ua+sa;while(1){do{if(vp(s,va,aa)|0){if(+S(+(ua-(sa+ta*+(va|0))))>=1.0e-10){F=84;break b}od[c[(c[d>>2]|0)+32>>2]&1](d,ua,z,B+ra|0);if(!E){break}a[A+(va+wa)|0]=-1}}while(0);if((va|0)<(qa|0)){va=va+1|0;ra=ra+k|0;ua=ta+ua}else{break}}}if((aa|0)<(Y|0)){aa=aa+1|0;ba=ba+e|0}else{break}}}}while(0);N=N+1|0;if((N|0)>=(jd[c[(c[d>>2]|0)+24>>2]&511](d)|0)){break a}}if((F|0)==45){Ya(54248,54264,3348,54280)}else if((F|0)==51){Ya(54248,54264,3363,54280)}else if((F|0)==53){Ya(54312,54264,3364,54280)}else if((F|0)==56){Ya(54328,54264,3392,54280)}else if((F|0)==58){Ya(54368,54264,3393,54280)}else if((F|0)==69){Ya(54328,54264,3451,54280)}else if((F|0)==71){Ya(54368,54264,3452,54280)}else if((F|0)==80){Ya(54408,54264,3474,54280)}else if((F|0)==84){Ya(54472,54264,3487,54280)}}}while(0);if(D){wa=1;i=j;return wa|0}o=c[C>>2]|0;n=c[C+4>>2]|0;if((o|0)>0){t=(n|0)>0;d=(k|0)==0;s=b+168|0;r=b+176|0;q=b+172|0;y=b+180|0;u=0;do{if(t){v=da(u,k)|0;w=0;do{do{if((a[A+((da(w,l)|0)+u)|0]|0)!=0){x=(da(w,e)|0)+v|0;if(!d){p=0;do{a[g+p|0]=a[B+(x+p)|0]|0;p=p+1|0;}while((p|0)<(k|0))}if((a[m]&1)!=0){xp(b,f,u,w);break}tp(b,f,u,w);up(b,f);if((c[s>>2]|0)>(u|0)){c[s>>2]=u}if((c[r>>2]|0)<(u|0)){c[r>>2]=u}if((c[q>>2]|0)>(w|0)){c[q>>2]=w}if((c[y>>2]|0)>=(w|0)){break}c[y>>2]=w}}while(0);w=w+1|0;}while((w|0)<(n|0))}u=u+1|0;}while((u|0)<(o|0))}if((C|0)==0){wa=1;i=j;return wa|0}Le(C);HW(C);wa=1;i=j;return wa|0}function Cp(b,e,f,g,h,j,k,l){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;m=i;n=i;i=i+8|0;o=n;q=c[e+16>>2]|0;p=c[b>>2]|0;if((q|0)!=(c[p+16>>2]|0)){x=7;i=m;return x|0}a:do{switch(q|0){case 0:{if((l|0)<=0){break a}r=h>>3;q=128>>>(h&7);s=(k|0)>0;t=0;while(1){if(s){w=da(c[p+12>>2]|0,t+j|0)|0;u=t+g|0;v=q;p=(c[p+20>>2]|0)+(w+r)|0;w=0;while(1){Oe(e,w+f|0,u,o);if((a[n]|0)==0){x=d[p]&(v^255)}else{x=d[p]|v}a[p]=x;v=v>>1;x=(v|0)==0;w=w+1|0;if((w|0)<(k|0)){v=x?128:v;p=x?p+1|0:p}else{break}}}t=t+1|0;if((t|0)>=(l|0)){break a}p=c[b>>2]|0}break};case 3:case 2:{if((l|0)<=0){break a}o=h*3|0;n=e+12|0;f=f*3|0;e=e+20|0;q=(k|0)>0;r=0;while(1){if(q){s=da(c[n>>2]|0,r+g|0)|0;t=da(c[p+12>>2]|0,r+j|0)|0;p=(c[p+20>>2]|0)+(t+o)|0;s=(c[e>>2]|0)+(s+f)|0;t=0;while(1){a[p]=a[s]|0;a[p+1|0]=a[s+1|0]|0;a[p+2|0]=a[s+2|0]|0;t=t+1|0;if((t|0)<(k|0)){s=s+3|0;p=p+3|0}else{break}}}r=r+1|0;if((r|0)>=(l|0)){break a}p=c[b>>2]|0}break};case 1:{if((l|0)<=0){break a}q=(k|0)>0;r=0;while(1){if(q){t=da(c[p+12>>2]|0,r+j|0)|0;s=r+g|0;p=(c[p+20>>2]|0)+(t+h)|0;t=0;while(1){Oe(e,t+f|0,s,o);a[p]=a[n]|0;t=t+1|0;if((t|0)<(k|0)){p=p+1|0}else{break}}}r=r+1|0;if((r|0)>=(l|0)){break a}p=c[b>>2]|0}break};case 4:{if((l|0)<=0){break a}n=h<<2;o=e+12|0;f=f<<2;e=e+20|0;q=(k|0)>0;r=0;while(1){if(q){s=da(c[o>>2]|0,r+g|0)|0;t=da(c[p+12>>2]|0,r+j|0)|0;p=(c[p+20>>2]|0)+(t+n)|0;s=(c[e>>2]|0)+(s+f)|0;t=0;while(1){a[p]=a[s]|0;a[p+1|0]=a[s+1|0]|0;a[p+2|0]=a[s+2|0]|0;a[p+3|0]=-1;t=t+1|0;if((t|0)<(k|0)){s=s+4|0;p=p+4|0}else{break}}}r=r+1|0;if((r|0)>=(l|0)){break a}p=c[b>>2]|0}break};default:{}}}while(0);e=c[b>>2]|0;g=c[e+24>>2]|0;if((g|0)!=0&(l|0)>0){f=0}else{x=0;i=m;return x|0}while(1){bX(g+((da(c[e>>2]|0,f+j|0)|0)+h)|0,0,k|0)|0;f=f+1|0;if((f|0)>=(l|0)){h=0;break}e=c[b>>2]|0;g=c[e+24>>2]|0}i=m;return h|0}function Dp(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;r=i;j=i;i=i+80|0;u=i;i=i+8|0;t=i;i=i+8|0;s=i;i=i+8|0;m=i;i=i+8|0;k=i;i=i+8|0;o=k;l=i;i=i+8|0;p=l;n=b+8|0;if((c[n>>2]|0)==0){y=255;i=r;return y|0}if((c[d+8>>2]|0)==0){y=2;i=r;return y|0}g=FW(12)|0;q=b+4|0;y=c[q>>2]|0;Pq(g,d,y,+h[y+104>>3],1);Vq(g);Wq(g);d=FW(52)|0;$q(d,g,0);br(d,u,t,s,m);s=Jp(c[(c[q>>2]|0)+132>>2]|0,c[u>>2]|0,c[t>>2]|0,c[s>>2]|0,c[m>>2]|0)|0;do{if((s|0)!=1){y=c[t>>2]|0;u=c[q>>2]|0;w=u+132|0;x=c[w>>2]|0;v=c[x+44>>2]|0;if((y|0)<(v|0)){c[t>>2]=v;x=c[w>>2]|0}else{v=y}w=c[x+52>>2]|0;if((c[m>>2]|0)>(w|0)){c[m>>2]=w}jp(b,j,0,v,f,0,+h[u+72>>3],(a[b+188|0]&1)!=0&(e^1),0);e=c[t>>2]|0;if((e|0)>(c[m>>2]|0)){break}t=(s|0)==0;while(1){hr(d,c[n>>2]|0,o,p,e);if(!t){Lp(c[(c[q>>2]|0)+132>>2]|0,c[n>>2]|0,o,p,e)}pp(b,j,c[k>>2]|0,c[l>>2]|0,e);if((e|0)<(c[m>>2]|0)){e=e+1|0}else{break}}}}while(0);c[b+184>>2]=s;if((d|0)!=0){ar(d);HW(d)}if((g|0)==0){y=0;i=r;return y|0}Uq(g);HW(g);y=0;i=r;return y|0}function Ep(b,d,e,f,g,j){b=b|0;d=+d;e=+e;f=+f;g=+g;j=j|0;var k=0,l=0.0,m=0;k=i;a[b]=j&1;j=b+8|0;if(d<f){h[j>>3]=d;h[b+24>>3]=f;l=f}else{h[j>>3]=f;h[b+24>>3]=d;l=d;d=f}j=b+16|0;if(e<g){h[j>>3]=e;h[b+32>>3]=g;f=g}else{h[j>>3]=g;h[b+32>>3]=e;f=e;e=g}if(d<=0.0){d=+R(+d)}c[b+40>>2]=~~d;if(e<=0.0){e=+R(+e)}c[b+44>>2]=~~e;if(l<=0.0){l=+R(+l)}c[b+48>>2]=~~l;if(f>0.0){d=f;m=~~d;j=b+52|0;c[j>>2]=m;j=b+56|0;bX(j|0,0,20)|0;i=k;return}d=+R(+f);j=~~d;m=b+52|0;c[m>>2]=j;m=b+56|0;bX(m|0,0,20)|0;i=k;return}function Fp(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0;e=i;a[b]=a[d]&1;h[b+8>>3]=+h[d+8>>3];h[b+16>>3]=+h[d+16>>3];h[b+24>>3]=+h[d+24>>3];h[b+32>>3]=+h[d+32>>3];c[b+40>>2]=c[d+40>>2];c[b+44>>2]=c[d+44>>2];c[b+48>>2]=c[d+48>>2];c[b+52>>2]=c[d+52>>2];j=b+68|0;c[j>>2]=c[d+68>>2];g=c[d+72>>2]|0;l=b+72|0;c[l>>2]=g;f=b+56|0;c[f>>2]=ye(g,4)|0;g=b+60|0;c[g>>2]=ye(c[l>>2]|0,1)|0;b=b+64|0;c[b>>2]=ye(c[l>>2]|0,4)|0;if((c[j>>2]|0)<=0){i=e;return}k=d+56|0;d=d+60|0;l=0;do{n=c[(c[k>>2]|0)+(l<<2)>>2]|0;m=FW(12)|0;Tq(m,n);c[(c[f>>2]|0)+(l<<2)>>2]=m;a[(c[g>>2]|0)+l|0]=a[(c[d>>2]|0)+l|0]|0;m=FW(52)|0;$q(m,c[(c[f>>2]|0)+(l<<2)>>2]|0,(a[(c[g>>2]|0)+l|0]&1)!=0);c[(c[b>>2]|0)+(l<<2)>>2]=m;l=l+1|0;}while((l|0)<(c[j>>2]|0));i=e;return}function Gp(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;d=i;e=a+68|0;f=a+56|0;h=c[f>>2]|0;b=a+64|0;if((c[e>>2]|0)>0){g=0;do{h=c[h+(g<<2)>>2]|0;if((h|0)!=0){Uq(h);HW(h)}h=c[(c[b>>2]|0)+(g<<2)>>2]|0;if((h|0)!=0){ar(h);HW(h)}g=g+1|0;h=c[f>>2]|0}while((g|0)<(c[e>>2]|0))}Fe(h);Fe(c[a+60>>2]|0);Fe(c[b>>2]|0);i=d;return}function Hp(a,b,d,e,f){a=a|0;b=+b;d=+d;e=+e;f=+f;var g=0,j=0,k=0.0;g=i;j=a+8|0;k=+h[j>>3];do{if(b<e){if(k<b){h[j>>3]=b;if(b<=0.0){b=+R(+b)}c[a+40>>2]=~~b}j=a+24|0;if(+h[j>>3]<=e){break}h[j>>3]=e;if(e<=0.0){e=+R(+e)}c[a+48>>2]=~~e}else{if(k<e){h[j>>3]=e;if(e<=0.0){e=+R(+e)}c[a+40>>2]=~~e}j=a+24|0;if(+h[j>>3]<=b){break}h[j>>3]=b;if(b<=0.0){b=+R(+b)}c[a+48>>2]=~~b}}while(0);j=a+16|0;e=+h[j>>3];if(d<f){if(e<d){h[j>>3]=d;if(d<=0.0){d=+R(+d)}c[a+44>>2]=~~d}j=a+32|0;if(+h[j>>3]<=f){i=g;return 0}h[j>>3]=f;if(f<=0.0){f=+R(+f)}c[a+52>>2]=~~f;i=g;return 0}else{if(e<f){h[j>>3]=f;if(f<=0.0){f=+R(+f)}c[a+44>>2]=~~f}j=a+32|0;if(+h[j>>3]<=d){i=g;return 0}h[j>>3]=d;if(d<=0.0){d=+R(+d)}c[a+52>>2]=~~d;i=g;return 0}return 0}
7317 da(k,k)|0,1)|0;s=(c[g>>2]|0)/2|0;Aq(b,s,s,1,s,1)}else if((f|0)==2){f=c[j+4>>2]|0;k=j+8|0;g=c[k>>2]<<1;s=(f|0)<(g|0)?g:f;c[b+8>>2]=s;c[b+4>>2]=ye(da(s,s)|0,1)|0;Cq(b,c[k>>2]|0)}else if((f|0)==1){f=c[j+4>>2]&-2;s=(f|0)<2?2:f;c[b+8>>2]=s;c[b+4>>2]=ye(da(s,s)|0,1)|0;Bq(b)}g=b+12|0;a[g]=-1;f=b+13|0;a[f]=0;t=+h[j+24>>3]*255.0+.5;if(t<=0.0){t=+R(+t)}k=~~t;k=(k&255|0)==0?1:k&255;t=+h[j+32>>3]*255.0+.5;if(t<=0.0){t=+R(+t)}l=~~t;l=(l|0)>255?-1:l&255;m=b+8|0;s=c[m>>2]|0;if((da(s,s)|0)==0){i=e;return}b=b+4|0;q=j+16|0;n=k&255;j=l&255;p=0;do{o=(c[b>>2]|0)+p|0;t=+U(+(+(d[o]|0)/255.0),+(+h[q>>3]))*255.0+.5;if(t<=0.0){t=+R(+t)}s=~~t;r=s&255;if(r>>>0<n>>>0){r=k}else{r=r>>>0<j>>>0?s&255:l}a[o]=r;do{if((r&255)<(d[g]|0)){a[g]=r}else{if((r&255)<=(d[f]|0)){break}a[f]=r}}while(0);p=p+1|0;s=c[m>>2]|0;}while((p|0)<(da(s,s)|0));i=e;return}function Aq(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;j=i;k=b+8|0;if((g|0)==0){n=c[k>>2]|0}else{while(1){m=(g|0)/2|0;l=h<<2;Aq(b,d,e,f,m,l);n=g+d|0;p=c[k>>2]|0;o=g+e|0;Aq(b,(n|0)%(p|0)|0,(o|0)%(p|0)|0,h+f|0,m,l);Aq(b,(n|0)%(c[k>>2]|0)|0,e,(h<<1)+f|0,m,l);n=c[k>>2]|0;d=((g<<1)+d|0)%(n|0)|0;e=(o|0)%(n|0)|0;f=(h*3|0)+f|0;if((g+1|0)>>>0<3){break}else{h=l;g=m}}}o=(((f*254|0)+ -254|0)/((da(n,n)|0)+ -1|0)|0)+1&255;p=(da(n,d)|0)+e|0;a[(c[b+4>>2]|0)+p|0]=o;i=j;return}function Bq(b){b=b|0;var d=0,e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0,t=0,u=0,v=0.0,w=0.0,x=0.0,y=0.0;f=i;d=b+8|0;l=c[d>>2]|0;e=l>>1;if((l|0)>0){g=b+4|0;j=0;do{if((l|0)>0){k=0;while(1){l=(da(l,j)|0)+k|0;a[(c[g>>2]|0)+l|0]=0;k=k+1|0;l=c[d>>2]|0;if((k|0)<(l|0)){}else{break}}}j=j+1|0;}while((j|0)<(l|0))}g=ye(da(l,e)|0,8)|0;j=(e|0)>0;do{if(j){n=e+ -1|0;w=+(e|0);m=0;do{v=+(m|0)+.5;l=da(m,e)|0;s=v-w;k=0;do{x=+(k|0)+.5;if((k+m|0)<(n|0)){y=v}else{x=x-w;y=s}h[g+(k+l<<3)>>3]=y*y+x*x;k=k+1|0;}while((k|0)<(e|0));m=m+1|0;}while((m|0)<(e|0));if(!j){break}s=+(e|0);k=0;do{w=+(k|0)+.5;v=w-s;l=da(k+e|0,e)|0;m=0;do{x=+(m|0)+.5;if((m|0)<(k|0)){y=v}else{x=x-s;y=w}h[g+(m+l<<3)>>3]=y*y+x*x;m=m+1|0;}while((m|0)<(e|0));k=k+1|0;}while((k|0)<(e|0))}}while(0);a[b+12|0]=1;a[b+13|0]=0;m=c[d>>2]|0;if((da(m,e)|0)<=0){Fe(g);i=f;return}k=b+4|0;b=e<<1;l=0;u=0;r=0;do{if(!((m|0)<1|j^1)){s=-1.0;q=0;do{n=da(m,q)|0;p=c[k>>2]|0;o=da(q,e)|0;t=0;do{do{if((a[p+(n+t)|0]|0)==0){v=+h[g+(t+o<<3)>>3];if(v<=s){break}s=v;u=t;r=q}}while(0);t=t+1|0;}while((t|0)<(e|0));q=q+1|0;}while((q|0)<(m|0))}t=((l*508|0)/((da(b,m)|0)+ -1|0)|0)+1&255;n=(da(m,r)|0)+u|0;a[(c[k>>2]|0)+n|0]=t;n=c[d>>2]|0;m=(((l<<1|1)*254|0)/((da(b,n)|0)+ -1|0)|0)+1&255;if((r|0)<(e|0)){t=u+e+(da(n,r+e|0)|0)|0;a[(c[k>>2]|0)+t|0]=m}else{t=u+e+(da(n,r-e|0)|0)|0;a[(c[k>>2]|0)+t|0]=m}l=l+1|0;m=c[d>>2]|0;}while((l|0)<(da(m,e)|0));Fe(g);i=f;return}function Cq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;f=i;Eb(123);g=b+8|0;e=c[g>>2]|0;e=ye(da(e,e)|0,12)|0;k=c[g>>2]|0;if((k|0)>0){j=0;h=0;do{if((k|0)>0){k=0;while(1){c[e+(j*12|0)>>2]=k;c[e+(j*12|0)+4>>2]=h;j=j+1|0;l=k+1|0;k=c[g>>2]|0;if((l|0)<(k|0)){k=l}else{break}}}h=h+1|0;}while((h|0)<(k|0))}j=da(k,k)|0;if((j|0)!=0){h=0;do{w=~~(+(j-h|0)*+(kb()|0)*4.656612873077393e-10)+h|0;r=e+(h*12|0)|0;t=c[r>>2]|0;s=e+(h*12|0)+4|0;v=c[s>>2]|0;u=e+(w*12|0)|0;c[r>>2]=c[u>>2];w=e+(w*12|0)+4|0;c[s>>2]=c[w>>2];c[u>>2]=t;c[w>>2]=v;h=h+1|0;w=c[g>>2]|0;j=da(w,w)|0;}while((h|0)<(j|0))}m=d+1|0;k=ye(da(m,m)|0,1)|0;l=(d|0)<0;if(!l){n=da(d,d)|0;o=0;while(1){j=da(o,m)|0;h=0;while(1){a[k+(h+j)|0]=(da(h,o)|0)<=(n|0)|0;if((h|0)<(d|0)){h=h+1|0}else{break}}if((o|0)<(d|0)){o=o+1|0}else{break}}}n=c[g>>2]|0;n=ye(da(n,n)|0,1)|0;o=c[g>>2]|0;if((o|0)>0){h=0;do{if((o|0)>0){j=0;while(1){a[n+((da(o,h)|0)+j)|0]=0;j=j+1|0;o=c[g>>2]|0;if((j|0)<(o|0)){}else{break}}}h=h+1|0;}while((h|0)<(o|0))}j=ye(32,12)|0;s=c[g>>2]|0;if((da(s,s)|0)==0){h=0}else{h=0;p=32;o=0;while(1){t=e+(o*12|0)|0;r=c[t>>2]|0;q=c[e+(o*12|0)+4>>2]|0;if((a[n+((da(q,s)|0)+r)|0]|0)==0){if((h|0)==(p|0)){w=h<<1;p=w;j=Ce(j,w,12)|0}s=h+1|0;$W(j+(h*12|0)|0,t|0,12)|0;a:do{if(!l){h=0;while(1){t=c[g>>2]|0;u=(h+q|0)%(t|0)|0;t=(q-h+t|0)%(t|0)|0;w=da(h,m)|0;v=0;while(1){if((a[k+(v+w)|0]|0)!=0){z=c[g>>2]|0;y=(v+r|0)%(z|0)|0;x=(r-v+z|0)%(z|0)|0;a[n+((da(z,u)|0)+y)|0]=1;a[n+((da(c[g>>2]|0,u)|0)+x)|0]=1;a[n+((da(c[g>>2]|0,t)|0)+y)|0]=1;a[n+((da(c[g>>2]|0,t)|0)+x)|0]=1}if((v|0)<(d|0)){v=v+1|0}else{break}}if((h|0)>=(d|0)){break a}h=h+1|0}}}while(0);q=c[g>>2]|0;h=s}else{q=s}o=o+1|0;if((o|0)<(da(q,q)|0)){s=q}else{break}}}Fe(k);Fe(n);k=c[g>>2]|0;k=ye(da(k,k)|0,4)|0;d=c[g>>2]|0;d=ye(da(d,d)|0,4)|0;o=c[g>>2]|0;if((o|0)>0){l=j+4|0;m=(h|0)>1;n=0;do{if((o|0)>0){p=0;do{q=(c[j>>2]|0)-p|0;q=(q|0)>-1?q:0-q|0;r=o-q|0;q=(q|0)<(r|0)?q:r;r=(c[l>>2]|0)-n|0;s=(r|0)>-1?r:0-r|0;r=o-s|0;r=(s|0)<(r|0)?s:r;r=(da(r,r)|0)+(da(q,q)|0)|0;if(m){s=0;q=1;while(1){t=(c[j+(q*12|0)>>2]|0)-p|0;u=(t|0)>-1?t:0-t|0;t=o-u|0;t=(u|0)<(t|0)?u:t;u=(c[j+(q*12|0)+4>>2]|0)-n|0;u=(u|0)>-1?u:0-u|0;v=o-u|0;u=(u|0)<(v|0)?u:v;t=(da(u,u)|0)+(da(t,t)|0)|0;u=(t|0)<(r|0);s=u?q:s;r=u?t:r;q=q+1|0;if((q|0)<(h|0)){}else{break}}}else{s=0}c[k+((da(o,n)|0)+p<<2)>>2]=s;c[d+((da(c[g>>2]|0,n)|0)+p<<2)>>2]=r;p=p+1|0;o=c[g>>2]|0;}while((p|0)<(o|0))}n=n+1|0;}while((n|0)<(o|0))}if((h|0)<=0){Fe(e);Fe(k);Fe(d);Fe(j);i=f;return}b=b+4|0;l=0;while(1){do{if((o|0)>0){m=j+(l*12|0)|0;n=j+(l*12|0)+4|0;r=0;p=0;do{if((o|0)>0){q=0;do{if((c[k+((da(o,p)|0)+q<<2)>>2]|0)==(l|0)){c[e+(r*12|0)>>2]=q;c[e+(r*12|0)+4>>2]=p;o=(c[m>>2]|0)-q|0;s=(o|0)>-1?o:0-o|0;o=c[g>>2]|0;t=o-s|0;s=(s|0)<(t|0)?s:t;t=(c[n>>2]|0)-p|0;t=(t|0)>-1?t:0-t|0;o=o-t|0;o=(t|0)<(o|0)?t:o;c[e+(r*12|0)+8>>2]=(da(o,o)|0)+(da(s,s)|0);o=c[g>>2]|0;r=r+1|0}q=q+1|0;}while((q|0)<(o|0))}p=p+1|0;}while((p|0)<(o|0));pb(e|0,r|0,12,183);if((r|0)<=0){break}m=r+ -1|0;n=0;do{z=da(c[g>>2]|0,c[e+(n*12|0)+4>>2]|0)|0;a[(c[b>>2]|0)+(z+(c[e+(n*12|0)>>2]|0))|0]=255-((n*254|0)/(m|0)|0);n=n+1|0;}while((n|0)<(r|0))}else{pb(e|0,0,12,183)}}while(0);l=l+1|0;if((l|0)>=(h|0)){break}o=c[g>>2]|0}Fe(e);Fe(k);Fe(d);Fe(j);i=f;return}function Dq(a,b){a=a|0;b=b|0;i=i;return(c[a+8>>2]|0)-(c[b+8>>2]|0)|0}function Eq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=i;c[b>>2]=c[d>>2];g=c[d+8>>2]|0;f=b+8|0;c[f>>2]=g;g=ye(da(g,g)|0,1)|0;c[b+4>>2]=g;f=c[f>>2]|0;$W(g|0,c[d+4>>2]|0,da(f,f)|0)|0;a[b+12|0]=a[d+12|0]|0;a[b+13|0]=a[d+13|0]|0;i=e;return}function Fq(a){a=a|0;var b=0;b=i;Fe(c[a+4>>2]|0);i=b;return}function Gq(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0;g=i;h=a+4|0;if((c[h>>2]|0)==0){zq(a)}if((d[a+12|0]|0)>(f&255)){b=0;i=g;return b|0}if((d[a+13|0]|0)<=(f&255)){b=1;i=g;return b|0}a=c[a+8>>2]|0;b=(b|0)%(a|0)|0;e=(e|0)%(a|0)|0;b=(dada(c[e+4>>2]|0,c[k>>2]|0)|0)|0;n=h<<2;m=b+28|0;p=b+44|0;h=b+40|0;o=b+32|0;q=b+4|0;s=-1;t=c[e>>2]|0;r=0;do{cr(b,r+n|0);y=c[m>>2]|0;u=c[p>>2]|0;if((y|0)<(u|0)){do{w=c[h>>2]|0;v=c[w+(y*12|0)>>2]|0;z=c[w+(y*12|0)+4>>2]|0;x=(c[o>>2]|0)+(c[w+(y*12|0)+8>>2]|0)|0;c[o>>2]=x;y=y+1|0;c[m>>2]=y;a:do{if((y|0)<(u|0)){do{if((c[w+(y*12|0)>>2]|0)>(z|0)){if((a[q]&1)==0){A=(x|0)!=0|0}else{A=x&1}if((A|0)==0){break a}}A=c[w+(y*12|0)+4>>2]|0;z=(A|0)>(z|0)?A:z;x=x+(c[w+(y*12|0)+8>>2]|0)|0;c[o>>2]=x;y=y+1|0;c[m>>2]=y;}while((y|0)<(u|0))}}while(0);u=(v|0)<0?0:v;v=c[e>>2]|0;v=(z|0)<(v|0)?z+1|0:v;do{if((u|0)<(v|0)){x=c[j>>2]|0;y=(da(c[k>>2]|0,r)|0)+(u>>3)|0;w=x+y|0;z=u&7;if((z|0)==0){x=u}else{A=255>>>z;z=u&-8;if((z|0)==(v&-8|0)){A=65280>>>(v&7)&A&255}else{A=A&255}a[w]=a[w]|A;w=x+(y+1)|0;x=z+8|0}if((x+7|0)<(v|0)){z=x;while(1){x=w+1|0;a[w]=-1;y=z+8|0;if((z+15|0)<(v|0)){z=y;w=x}else{w=x;x=y;break}}}if((x|0)>=(v|0)){break}a[w]=d[w]|0|65280>>>(v&7)}}while(0);t=(u|0)<(t|0)?u:t;s=(v|0)>(s|0)?v:s;y=c[m>>2]|0;u=c[p>>2]|0;}while((y|0)<(u|0))}r=r+1|0;}while((r|0)<4);c[f>>2]=(t|0)/4|0;c[g>>2]=(s+ -1|0)/4|0;i=l;return}function ir(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;j=i;m=h<<2;k=b+28|0;r=b+44|0;p=e+20|0;q=e+12|0;l=b+40|0;n=b+32|0;o=b+4|0;h=0;do{s=c[f>>2]<<2;cr(b,h+m|0);y=c[k>>2]|0;u=c[r>>2]|0;a:do{if((y|0)<(u|0)){do{if((s|0)>=((c[g>>2]<<2)+4|0)){break a}w=c[l>>2]|0;v=c[w+(y*12|0)>>2]|0;t=c[w+(y*12|0)+4>>2]|0;x=(c[n>>2]|0)+(c[w+(y*12|0)+8>>2]|0)|0;c[n>>2]=x;y=y+1|0;c[k>>2]=y;b:do{if((y|0)<(u|0)){do{if((c[w+(y*12|0)>>2]|0)>(t|0)){if((a[o]&1)==0){z=(x|0)!=0|0}else{z=x&1}if((z|0)==0){break b}}z=c[w+(y*12|0)+4>>2]|0;t=(z|0)>(t|0)?z:t;x=x+(c[w+(y*12|0)+8>>2]|0)|0;c[n>>2]=x;y=y+1|0;c[k>>2]=y;}while((y|0)<(u|0))}}while(0);u=c[e>>2]|0;u=(v|0)>(u|0)?u:v;do{if((s|0)<(u|0)){w=c[p>>2]|0;v=(da(c[q>>2]|0,h)|0)+(s>>3)|0;x=w+v|0;y=s&7;if((y|0)!=0){y=65280>>>y;s=s&-8;if((s|0)==(u&-8|0)){y=(255>>>(u&7)|y)&255}else{y=y&255}a[x]=a[x]&y;x=w+(v+1)|0;s=s+8|0}if((s+7|0)<=(u|0)){v=x;while(1){x=v+1|0;a[v]=0;v=s+8|0;if((s+15|0)>(u|0)){s=v;break}else{s=v;v=x}}}if((s|0)>=(u|0)){break}a[x]=(d[x]|0)&255>>>(u&7)}}while(0);s=(t|0)<(s|0)?s:t+1|0;y=c[k>>2]|0;u=c[r>>2]|0;}while((y|0)<(u|0))}}while(0);u=(c[g>>2]<<2)+4|0;t=c[e>>2]|0;t=(u|0)>(t|0)?t:u;do{if((s|0)<(t|0)){v=c[p>>2]|0;w=(day>>2]|0)!=4){r=21;break}y=FW(32)|0;fe(y,c[z>>2]|0);z=c[p>>2]|0;if((z+ -1|0)>>>0>=2){c[x>>2]=z;c[w+4>>2]=1;c[w+8>>2]=2;Qe(0,72608,w);tc()}if((z|0)==1){A=+(c[a>>2]|0)}else{A=+h[a>>3]}h[v>>3]=A;do{if((te(y,55152)|0)==0){c[g>>2]=0}else{if((te(y,55384)|0)==0){c[g>>2]=1;break}if((te(y,55392)|0)==0){c[g>>2]=2;break}if((te(y,55168)|0)==0){c[g>>2]=3;break}if((te(y,55400)|0)==0){c[g>>2]=4;break}else{c[g>>2]=0;break}}}while(0);if((y|0)==0){break}ke(y);HW(y)}else{r=21}}while(0);if((r|0)==21){h[v>>3]=0.0}Of(u);Of(q);a:do{if((c[(Yu(b,55384,q,0)|0)>>2]|0)==6){r=c[p>>2]|0;if((r|0)!=6){c[t>>2]=r;c[s+4>>2]=6;Qe(0,72520,s);tc()}t=c[(c[a>>2]|0)+12>>2]|0;s=ye(t,8)|0;do{if((t|0)>=1){r=e+8|0;u=r+4|0;v=1;b=0;b:while(1){c[o>>2]=13;c[r>>2]=0;c[u>>2]=0;w=c[p>>2]|0;if((w|0)!=6){r=28;break}do{if(((c[(ut(c[a>>2]|0,b,e)|0)>>2]|0)+ -1|0)>>>0<2){w=c[o>>2]|0;if((w+ -1|0)>>>0>=2){r=31;break b}if((w|0)==1){A=+(c[r>>2]|0)}else{A=+h[r>>3]}h[s+(b<<3)>>3]=A;if(A>=0.0){break}v=0}else{v=0}}while(0);Of(e);b=b+1|0;if((b|0)>=(t|0)|v^1){r=38;break}}if((r|0)==28){c[j>>2]=w;c[k+4>>2]=6;Qe(0,72520,k);tc()}else if((r|0)==31){c[d>>2]=w;c[m+4>>2]=1;c[m+8>>2]=2;Qe(0,72608,m);tc()}else if((r|0)==38){if(v){break}Fe(s);break a}}}while(0);c[f>>2]=t;c[l>>2]=s;c[g>>2]=1}}while(0);if((c[l>>2]|0)!=0){Of(q);i=n;return}c[f>>2]=1;z=ye(1,8)|0;c[l>>2]=z;h[z>>3]=3.0;Of(q);i=n;return}function vr(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0;f=i;m=i;i=i+16|0;l=m;j=i;i=i+16|0;k=j;n=c[b+12>>2]|0;e=a+32|0;n=(n|0)>4?4:n;c[e>>2]=n;a:do{if((n|0)>0){n=k+8|0;o=n+4|0;p=0;while(1){c[j>>2]=13;c[n>>2]=0;c[o>>2]=0;if(((c[(ut(b,p,k)|0)>>2]|0)+ -1|0)>>>0<2){q=c[j>>2]|0;if((q+ -1|0)>>>0>=2){break}if((q|0)==1){r=+(c[n>>2]|0)}else{r=+h[n>>3]}h[a+(p<<3)>>3]=r<0.0|r>1.0?0.0:r}else{h[a+(p<<3)>>3]=0.0}Of(k);p=p+1|0;q=c[e>>2]|0;if((p|0)>=(q|0)){g=q;break a}}c[m>>2]=q;c[l+4>>2]=1;c[l+8>>2]=2;Qe(0,72608,l);tc()}else{g=n}}while(0);b=(g|0)==4?0-d|0:d;if((b|0)>0){if((g|0)>0){g=0}else{i=f;return}do{q=a+(g<<3)|0;h[q>>3]=+h[q>>3]*.5+.5;g=g+1|0;}while((g|0)<(c[e>>2]|0));i=f;return}else{if((b|0)<0&(g|0)>0){g=0}else{i=f;return}do{q=a+(g<<3)|0;h[q>>3]=+h[q>>3]*.5;g=g+1|0;}while((g|0)<(c[e>>2]|0));i=f;return}}function wr(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0.0;k=i;j=i;i=i+8|0;e=j;p=i;i=i+16|0;o=p;s=i;i=i+8|0;q=s;t=i;i=i+16|0;u=t;w=i;i=i+8|0;v=w;x=i;i=i+8|0;y=x;A=i;i=i+8|0;z=A;m=i;i=i+16|0;f=m;r=i;i=i+16|0;n=r;c[m>>2]=13;g=f+8|0;c[g>>2]=0;c[g+4>>2]=0;do{if((c[(Yu(d,55408,f,0)|0)>>2]|0)==4){B=FW(32)|0;C=c[m>>2]|0;if((C|0)!=4){c[A>>2]=C;c[z+4>>2]=4;Qe(0,72520,z);tc()}fe(B,c[g>>2]|0);do{if((te(B,55392)|0)==0){c[b>>2]=1}else{if((te(B,55152)|0)==0){c[b>>2]=2;break}if((te(B,55416)|0)==0){c[b>>2]=3;break}else{c[b>>2]=0;break}}}while(0);if((B|0)==0){break}ke(B);HW(B)}else{c[b>>2]=0}}while(0);Of(f);do{if((c[(Yu(d,55152,f,0)|0)>>2]|0)==4){z=FW(32)|0;A=c[m>>2]|0;if((A|0)!=4){c[x>>2]=A;c[y+4>>2]=4;Qe(0,72520,y);tc()}fe(z,c[g>>2]|0);c[b+4>>2]=(te(z,55424)|0)!=0;if((z|0)==0){break}ke(z);HW(z)}else{c[b+4>>2]=1}}while(0);Of(f);do{if((c[(Yu(d,55424,f,0)|0)>>2]|0)==6){x=c[m>>2]|0;if((x|0)!=6){c[w>>2]=x;c[v+4>>2]=6;Qe(0,72520,v);tc()}w=c[g>>2]|0;if((c[w+12>>2]|0)!=2){l=46;break}c[r>>2]=13;v=n+8|0;c[v>>2]=0;c[v+4>>2]=0;if(((c[(ut(w,0,n)|0)>>2]|0)+ -1|0)>>>0<2){w=c[r>>2]|0;if((w+ -1|0)>>>0>=2){c[t>>2]=w;c[u+4>>2]=1;c[u+8>>2]=2;Qe(0,72608,u);tc()}if((w|0)==1){D=+(c[v>>2]|0)}else{D=+h[v>>3]}h[b+8>>3]=D}else{h[b+8>>3]=0.0}Of(n);t=c[m>>2]|0;if((t|0)!=6){c[s>>2]=t;c[q+4>>2]=6;Qe(0,72520,q);tc()}if(((c[(ut(c[g>>2]|0,1,n)|0)>>2]|0)+ -1|0)>>>0<2){q=c[r>>2]|0;if((q+ -1|0)>>>0>=2){c[p>>2]=q;c[o+4>>2]=1;c[o+8>>2]=2;Qe(0,72608,o);tc()}if((q|0)==1){D=+(c[v>>2]|0)}else{D=+h[v>>3]}h[b+16>>3]=D}else{h[b+16>>3]=0.0}Of(n);n=b+8|0;D=+h[n>>3];if(D<0.0|D>1.0){h[n>>3]=.5}n=b+16|0;D=+h[n>>3];if(!(D<0.0|D>1.0)){break}h[n>>3]=.5}else{l=46}}while(0);if((l|0)==46){h[b+16>>3]=.5;h[b+8>>3]=.5}Of(f);if((c[(Yu(d,55432,f,0)|0)>>2]|0)!=0){a[b+24|0]=0;Of(f);i=k;return}l=c[m>>2]|0;if((l|0)!=0){c[j>>2]=l;c[e+4>>2]=0;Qe(0,72520,e);tc()}a[b+24|0]=a[g]&1;Of(f);i=k;return}function xr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;h=i;g=i;i=i+8|0;d=g;k=i;i=i+8|0;l=k;n=i;i=i+8|0;m=n;p=i;i=i+8|0;o=p;r=i;i=i+8|0;q=r;s=i;i=i+8|0;t=s;v=i;i=i+8|0;u=v;x=i;i=i+8|0;w=x;j=i;i=i+16|0;e=j;c[j>>2]=13;f=e+8|0;c[f>>2]=0;c[f+4>>2]=0;do{if((c[(Yu(b,55440,e,0)|0)>>2]|0)==1){y=c[j>>2]|0;if((y|0)==1){c[a>>2]=c[f>>2];break}else{c[x>>2]=y;c[w+4>>2]=1;Qe(0,72520,w);tc()}}else{c[a>>2]=0}}while(0);Of(e);do{if((c[(Yu(b,55448,e,0)|0)>>2]|0)==6){w=FW(40)|0;x=c[j>>2]|0;if((x|0)==6){vr(w,c[f>>2]|0,0);c[a+4>>2]=w;break}else{c[v>>2]=x;c[u+4>>2]=6;Qe(0,72520,u);tc()}}else{c[a+4>>2]=0}}while(0);Of(e);do{if((c[(Yu(b,55456,e,0)|0)>>2]|0)==6){u=FW(40)|0;v=c[j>>2]|0;if((v|0)==6){vr(u,c[f>>2]|0,0);c[a+8>>2]=u;break}else{c[s>>2]=v;c[t+4>>2]=6;Qe(0,72520,t);tc()}}else{c[a+8>>2]=0}}while(0);Of(e);do{if((c[(Yu(b,55464,e,0)|0)>>2]|0)==4){s=FW(32)|0;t=c[j>>2]|0;if((t|0)==4){fe(s,c[f>>2]|0);c[a+12>>2]=s;break}else{c[r>>2]=t;c[q+4>>2]=4;Qe(0,72520,q);tc()}}else{c[a+12>>2]=0}}while(0);Of(e);do{if((c[(Yu(b,55472,e,0)|0)>>2]|0)==4){q=FW(32)|0;r=c[j>>2]|0;if((r|0)==4){fe(q,c[f>>2]|0);c[a+16>>2]=q;break}else{c[p>>2]=r;c[o+4>>2]=4;Qe(0,72520,o);tc()}}else{c[a+16>>2]=0}}while(0);Of(e);do{if((c[(Yu(b,55480,e,0)|0)>>2]|0)==4){o=FW(32)|0;p=c[j>>2]|0;if((p|0)==4){fe(o,c[f>>2]|0);c[a+20>>2]=o;break}else{c[n>>2]=p;c[m+4>>2]=4;Qe(0,72520,m);tc()}}else{c[a+20>>2]=0}}while(0);Of(e);do{if((c[(Yu(b,55488,e,0)|0)>>2]|0)==7){m=FW(32)|0;n=c[j>>2]|0;if((n|0)==7){wr(m,c[f>>2]|0);c[a+24>>2]=m;break}else{c[k>>2]=n;c[l+4>>2]=7;Qe(0,72520,l);tc()}}else{c[a+24>>2]=0}}while(0);Of(e);if((c[(Yu(b,55496,e,0)|0)>>2]|0)!=1){c[a+28>>2]=0;Of(e);i=h;return}b=c[j>>2]|0;if((b|0)!=1){c[g>>2]=b;c[d+4>>2]=1;Qe(0,72520,d);tc()}c[a+28>>2]=c[f>>2];Of(e);i=h;return}function yr(a){a=a|0;var b=0,d=0;b=i;d=c[a+4>>2]|0;if((d|0)!=0){HW(d)}d=c[a+8>>2]|0;if((d|0)!=0){HW(d)}d=c[a+12>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+16>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+20>>2]|0;if((d|0)!=0){ke(d);HW(d)}a=c[a+24>>2]|0;if((a|0)==0){i=b;return}HW(a);i=b;return}function zr(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0.0,sa=0.0;k=i;j=i;i=i+8|0;g=j;o=i;i=i+8|0;l=o;q=i;i=i+8|0;r=q;v=i;i=i+8|0;s=v;t=i;i=i+8|0;u=t;L=i;i=i+8|0;K=L;A=i;i=i+8|0;y=A;B=i;i=i+8|0;C=B;E=i;i=i+8|0;G=E;I=i;i=i+8|0;H=I;M=i;i=i+8|0;N=M;O=i;i=i+8|0;P=O;Q=i;i=i+8|0;R=Q;T=i;i=i+8|0;S=T;U=i;i=i+8|0;V=U;ga=i;i=i+8|0;Z=i;i=i+16|0;_=Z;aa=i;i=i+8|0;ba=aa;da=i;i=i+16|0;ca=da;fa=i;i=i+8|0;ea=fa;ia=i;i=i+16|0;ha=ia;ja=i;i=i+8|0;ka=ja;la=i;i=i+16|0;ma=la;pa=i;i=i+8|0;oa=pa;p=i;i=i+16|0;m=p;$=i;i=i+16|0;Y=$;J=i;i=i+16|0;w=J;D=i;i=i+16|0;x=D;F=i;i=i+16|0;z=F;c[p>>2]=13;n=m+8|0;c[n>>2]=0;c[n+4>>2]=0;c[b+52>>2]=0;c[b+56>>2]=65535;na=b+144|0;a[na]=1;c[b+112>>2]=d;c[b+124>>2]=0;h[b+136>>3]=0.0;d=b+64|0;qa=b+72|0;c[qa>>2]=0;c[qa+4>>2]=0;c[d>>2]=5;qa=FW(32)|0;bX(qa|0,0,32)|0;X=b+28|0;c[X>>2]=qa;do{if((c[(Yu(e,55528,m,0)|0)>>2]|0)==6){qa=c[p>>2]|0;if((qa|0)!=6){c[pa>>2]=qa;c[oa+4>>2]=6;Qe(0,72520,oa);tc()}oa=c[n>>2]|0;if((c[oa+12>>2]|0)!=4){W=47;break}c[$>>2]=13;ga=Y+8|0;c[ga>>2]=0;c[ga+4>>2]=0;if(((c[(ut(oa,0,Y)|0)>>2]|0)+ -1|0)>>>0<2){na=c[$>>2]|0;if((na+ -1|0)>>>0>=2){c[la>>2]=na;c[ma+4>>2]=1;c[ma+8>>2]=2;Qe(0,72608,ma);tc()}if((na|0)==1){ra=+(c[ga>>2]|0)}else{ra=+h[ga>>3]}h[c[X>>2]>>3]=ra}else{h[c[X>>2]>>3]=0.0}Of(Y);la=c[p>>2]|0;if((la|0)!=6){c[ja>>2]=la;c[ka+4>>2]=6;Qe(0,72520,ka);tc()}if(((c[(ut(c[n>>2]|0,1,Y)|0)>>2]|0)+ -1|0)>>>0<2){ja=c[$>>2]|0;if((ja+ -1|0)>>>0>=2){c[ia>>2]=ja;c[ha+4>>2]=1;c[ha+8>>2]=2;Qe(0,72608,ha);tc()}if((ja|0)==1){ra=+(c[ga>>2]|0)}else{ra=+h[ga>>3]}h[(c[X>>2]|0)+8>>3]=ra}else{h[(c[X>>2]|0)+8>>3]=0.0}Of(Y);ha=c[p>>2]|0;if((ha|0)!=6){c[fa>>2]=ha;c[ea+4>>2]=6;Qe(0,72520,ea);tc()}if(((c[(ut(c[n>>2]|0,2,Y)|0)>>2]|0)+ -1|0)>>>0<2){ea=c[$>>2]|0;if((ea+ -1|0)>>>0>=2){c[dada=0.0;e=i;d=i;i=i+8|0;g=d;n=i;i=i+8|0;m=n;p=i;i=i+8|0;o=p;r=i;i=i+8|0;q=r;u=i;i=i+16|0;v=u;x=i;i=i+8|0;y=x;z=i;i=i+16|0;A=z;C=i;i=i+8|0;B=C;D=i;i=i+16|0;E=D;G=i;i=i+8|0;F=G;H=i;i=i+16|0;I=H;J=i;i=i+8|0;K=J;N=i;i=i+16|0;M=N;P=i;i=i+8|0;O=P;Q=i;i=i+16|0;S=Q;L=i;i=i+8|0;T=L;V=i;i=i+8|0;U=V;X=i;i=i+8|0;W=X;$=i;i=i+8|0;_=i;i=i+8|0;Y=_;l=i;i=i+16|0;k=l;w=i;i=i+16|0;t=w;c[l>>2]=13;j=k+8|0;c[j>>2]=0;c[j+4>>2]=0;do{if((c[(Yu(f,63960,k,0)|0)>>2]|0)==3){$=c[l>>2]|0;if(($|0)==3){_=c[j>>2]|0;$=FW(32)|0;ie($,_);c[b+192>>2]=$;break}else{c[_>>2]=$;c[Y+4>>2]=3;Qe(0,72520,Y);tc()}}else{_=FW(32)|0;ee(_);c[b+192>>2]=_;Qe(-1,63968,$);a[b+144|0]=0}}while(0);Of(k);do{if((c[(Yu(f,64e3,k,0)|0)>>2]|0)==1){Y=c[l>>2]|0;if((Y|0)==1){c[b+196>>2]=c[j>>2];break}else{c[X>>2]=Y;c[W+4>>2]=1;Qe(0,72520,W);tc()}}else{c[b+196>>2]=0}}while(0);Of(k);do{if((c[(Yu(f,64008,k,0)|0)>>2]|0)==3){W=c[l>>2]|0;if((W|0)==3){_=c[j>>2]|0;$=FW(32)|0;ie($,_);c[b+200>>2]=$;break}else{c[V>>2]=W;c[U+4>>2]=3;Qe(0,72520,U);tc()}}else{c[b+200>>2]=0}}while(0);Of(k);do{if((c[(Yu(f,64016,k,0)|0)>>2]|0)==6){U=c[l>>2]|0;if((U|0)!=6){c[L>>2]=U;c[T+4>>2]=6;Qe(0,72520,T);tc()}T=c[j>>2]|0;if((c[T+12>>2]|0)<=3){s=69;break}c[w>>2]=13;L=t+8|0;c[L>>2]=0;c[L+4>>2]=0;do{if(((c[(ut(T,0,t)|0)>>2]|0)+ -1|0)>>>0<2){T=c[w>>2]|0;if((T+ -1|0)>>>0>=2){c[Q>>2]=T;c[S+4>>2]=1;c[S+8>>2]=2;Qe(0,72608,S);tc()}if((T|0)==1){R=+(c[L>>2]|0);break}else{R=+h[L>>3];break}}else{R=0.0}}while(0);Of(t);Q=c[l>>2]|0;if((Q|0)!=6){c[P>>2]=Q;c[O+4>>2]=6;Qe(0,72520,O);tc()}do{if(((c[(ut(c[j>>2]|0,1,t)|0)>>2]|0)+ -1|0)>>>0<2){O=c[w>>2]|0;if((O+ -1|0)>>>0>=2){c[N>>2]=O;c[M+4>>2]=1;c[M+8>>2]=2;Qe(0,72608,M);tc()}if((O|0)==1){Z=+(c[L>>2]|0);break}else{Z=+h[L>>3];break}}else{Z=0.0}}while(0);Of(t);M=c[l>>2]|0;if((M|0)!=6){c[J>>2]=M;c[K+4>>2]=6;Qe(0,72520,K);tc()}do{if(((c[(ut(c[j>>2]|0,2,t)|0)>>2]|0)+ -1|0)>>>0<2){J=c[w>>2]|0;if((J+ -1|0)>>>0>=2){c[H>>2]=J;c[I+4>>2]=1;c[I+8>>2]=2;Qe(0,72608,I);tc()}if((J|0)==1){aa=+(c[L>>2]|0);break}else{aa=+h[L>>3];break}}else{aa=0.0}}while(0);Of(t);H=c[l>>2]|0;if((H|0)!=6){c[G>>2]=H;c[F+4>>2]=6;Qe(0,72520,F);tc()}do{if(((c[(ut(c[j>>2]|0,3,t)|0)>>2]|0)+ -1|0)>>>0<2){F=c[w>>2]|0;if((F+ -1|0)>>>0>=2){c[D>>2]=F;c[E+4>>2]=1;c[E+8>>2]=2;Qe(0,72608,E);tc()}if((F|0)==1){ba=+(c[L>>2]|0);break}else{ba=+h[L>>3];break}}else{ba=0.0}}while(0);Of(t);D=c[l>>2]|0;if((D|0)!=6){c[C>>2]=D;c[B+4>>2]=6;Qe(0,72520,B);tc()}B=c[j>>2]|0;if((c[B+12>>2]|0)!=6){$=FW(40)|0;c[$>>2]=55200;h[$+8>>3]=R;h[$+16>>3]=Z;h[$+24>>3]=aa;h[$+32>>3]=ba;c[b+204>>2]=$;break}do{if(((c[(ut(B,4,t)|0)>>2]|0)+ -1|0)>>>0<2){B=c[w>>2]|0;if((B+ -1|0)>>>0>=2){c[z>>2]=B;c[A+4>>2]=1;c[A+8>>2]=2;Qe(0,72608,A);tc()}if((B|0)==1){ca=+(c[L>>2]|0);break}else{ca=+h[L>>3];break}}else{ca=0.0}}while(0);Of(t);z=c[l>>2]|0;if((z|0)!=6){c[x>>2]=z;c[y+4>>2]=6;Qe(0,72520,y);tc()}do{if(((c[(ut(c[j>>2]|0,5,t)|0)>>2]|0)+ -1|0)>>>0<2){w=c[w>>2]|0;if((w+ -1|0)>>>0>=2){c[u>>2]=w;c[v+4>>2]=1;c[v+8>>2]=2;Qe(0,72608,v);tc()}if((w|0)==1){da=+(c[L>>2]|0);break}else{da=+h[L>>3];break}}else{da=0.0}}while(0);Of(t);$=FW(56)|0;h[$+8>>3]=R;h[$+16>>3]=Z;h[$+24>>3]=aa;h[$+32>>3]=ba;c[$>>2]=55216;h[$+40>>3]=ca;h[$+48>>3]=da;c[b+204>>2]=$}else{s=69}}while(0);if((s|0)==69){c[b+204>>2]=0}Of(k);do{if((c[(Yu(f,64024,k,0)|0)>>2]|0)==4){s=FW(32)|0;t=c[l>>2]|0;if((t|0)!=4){c[r>>2]=t;c[q+4>>2]=4;Qe(0,72520,q);tc()}fe(s,c[j>>2]|0);do{if((te(s,63944)|0)==0){c[b+208>>2]=0}else{if((te(s,64032)|0)==0){c[b+208>>2]=1;break}q=b+208|0;if((te(s,64048)|0)==0){c[q>>2]=2;break}else{c[q>>2]=0;break}}}while(0);if((s|0)==0){break}ke(s);HW(s)}else{c[b+208>>2]=0}}while(0);Of(k);do{if((c[(Yu(f,64072,k,0)|0)>>2]|0)==7){q=FW(16)|0;r=c[l>>2]|0;if((r|0)==7){or(q,c[j>>2]|0);c[b+212>>2]=q;break}else{c[p>>2]=r;c[o+4>>2]=7;Qe(0,72520,o);tc()}}else{c[b+212>>2]=0}}while(0);Of(k);do{if((c[(Yu(f,64080,k,0)|0)>>2]|0)==6){o=c[l>>2]|0;if((o|0)==6){c[b+216>>2]=nr(c[j>>2]|0,c[b+28>>2]|0)|0;break}else{c[n>>2]=o;c[m+4>>2]=6;Qe(0,72520,m);tc()}}else{c[b+216>>2]=0}}while(0);Of(k);if((c[(Yu(f,64088,k,0)|0)>>2]|0)!=4){c[b+220>>2]=5;Of(k);i=e;return}f=FW(32)|0;l=c[l>>2]|0;if((l|0)!=4){c[d>>2]=l;c[g+4>>2]=4;Qe(0,72520,g);tc()}fe(f,c[j>>2]|0);c[b+220>>2]=mr(f)|0;if((f|0)==0){Of(k);i=e;return}ke(f);HW(f);Of(k);i=e;return}function Zr(a){a=a|0;var b=0;b=i;_r(a);HW(a);i=b;return}function _r(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=63928;d=c[a+192>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+200>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+204>>2]|0;if((d|0)!=0){fd[c[(c[d>>2]|0)+4>>2]&511](d)}d=c[a+212>>2]|0;if((d|0)!=0){HW(d)}d=c[a+216>>2]|0;if((d|0)==0){Or(a);i=b;return}HW(d);Or(a);i=b;return}function $r(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0.0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0.0,ma=0.0,na=0.0;d=i;j=i;i=i+16|0;k=j;m=i;i=i+8|0;o=m;r=i;i=i+16|0;q=r;s=i;i=i+8|0;t=s;u=i;i=i+8|0;v=u;w=i;i=i+16|0;x=w;y=i;i=i+8|0;z=y;A=i;i=i+8|0;B=A;D=i;i=i+16|0;C=D;E=i;i=i+16|0;F=E;H=i;i=i+8|0;G=H;J=i;i=i+8|0;K=J;M=i;i=i+8|0;O=M;Q=i;i=i+8|0;P=Q;R=i;i=i+8|0;S=R;V=i;i=i+16|0;U=V;Y=i;i=i+8|0;X=Y;_=i;i=i+16|0;Z=_;aa=i;i=i+8|0;ba=aa;da=i;i=i+16|0;ea=da;fa=i;i=i+8|0;ga=fa;ia=i;i=i+16|0;ha=ia;ka=i;i=i+8|0;$=ka;p=i;i=i+16|0;g=p;W=i;i=i+16|0;T=W;N=i;i=i+16|0;L=N;n=i;i=i+16|0;e=n;c[p>>2]=13;l=g+8|0;c[l>>2]=0;c[l+4>>2]=0;do{if((c[(Yu(f,64128,g,0)|0)>>2]|0)==6){ja=c[p>>2]|0;if((ja|0)!=6){c[ka>>2]=ja;c[$+4>>2]=6;Qe(0,72520,$);tc()}ja=c[l>>2]|0;if((c[ja+12>>2]|0)!=4){I=36;break}c[W>>2]=13;$=T+8|0;c[$>>2]=0;c[$+4>>2]=0;do{if(((c[(ut(ja,0,T)|0)>>2]|0)+ -1|0)>>>0<2){ja=c[W>>2]|0;if((ja+ -1|0)>>>0>=2){c[ia>>2]=ja;c[ha+4>>2]=1;c[ha+8>>2]=2;Qe(0,72608,ha);tc()}if((ja|0)==1){ca=+(c[$>>2]|0);break}else{ca=+h[$>>3];break}}else{ca=0.0}}while(0);Of(T);ha=c[p>>2]|0;if((ha|0)!=6){c[fa>>2]=ha;c[ga+4>>2]=6;Qe(0,72520,ga);tc()}do{if(((c[(ut(c[l>>2]|0,1,T)|0)>>2]|0)+ -1|0)>>>0<2){fa=c[W>>2]|0;if((fa+ -1|0)>>>0>=2){c[da>>2]=fa;c[ea+4>>2]=1;c[ea+8>>2]=2;Qe(0,72608,ea);tc()}if((fa|0)==1){la=+(c[$>>2]|0);break}else{la=+h[$>>3];break}}else{la=0.0}}while(0);Of(T);da=c[p>>2]|0;if((da|0)!=6){c[aa>>2]=dada=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0.0,ma=0.0,na=0.0,oa=0.0,pa=0.0,qa=0.0,ra=0.0,sa=0.0,ta=0.0;f=i;y=i;i=i+48|0;w=y;E=i;i=i+16|0;u=E;C=i;i=i+48|0;D=C;A=i;i=i+16|0;B=A;da=i;i=i+16|0;ea=da;ba=i;i=i+32|0;ca=ba;$=i;i=i+40|0;aa=$;o=i;i=i+16|0;n=o;q=i;i=i+16|0;p=q;P=i;i=i+16|0;O=P;R=i;i=i+32|0;Q=R;H=i;i=i+40|0;M=H;ha=i;i=i+16|0;ia=ha;Y=i;i=i+32|0;Z=Y;_=i;i=i+40|0;fa=_;r=i;i=i+16|0;F=r;x=i;i=i+16|0;z=x;L=i;i=i+16|0;K=L;S=i;i=i+32|0;I=S;J=i;i=i+40|0;N=J;T=i;i=i+16|0;U=T;X=i;i=i+32|0;ga=X;V=i;i=i+40|0;W=V;ja=i;i=i+16|0;e=ja;v=i;i=i+16|0;m=v;t=i;i=i+16|0;l=t;s=i;i=i+32|0;j=s;c[ja>>2]=13;ja=e+8|0;c[ja>>2]=0;c[ja+4>>2]=0;ja=c[a+48>>2]|0;if((ja&2|0)!=0){i=f;return}do{if(d){if((ja&4|0)!=0){break}i=f;return}else{if((ja&32|0)==0){break}i=f;return}}while(0);d=c[a+88>>2]|0;do{if((d|0)!=0){ja=a+96|0;if((c[ja>>2]|0)!=9){break}if(GF(d,ja)|0){break}i=f;return}}while(0);d=a+64|0;ka=a+24|0;do{if((c[d>>2]|0)==5){g=11}else{if((c[ka>>2]|0)==9){g=11;break}n=a+132|0}}while(0);do{if((g|0)==11){G=+h[a+160>>3];ja=FW(32)|0;ee(ja);g=a+124|0;c[g>>2]=ja;ka=c[ka>>2]|0;if((ka|0)==12){j=a+132|0;m=c[j>>2]|0;do{if((m|0)!=0){l=c[m+32>>2]|0;if((l|0)==1){ka=ha;h[k>>3]=+h[m>>3];c[ka>>2]=c[k>>2];c[ka+4>>2]=c[k+4>>2];c[ia+8>>2]=71;pe(ja,55816,ia)|0}else if((l|0)==3){ra=+h[m+8>>3];sa=+h[m+16>>3];ka=Y;h[k>>3]=+h[m>>3];c[ka>>2]=c[k>>2];c[ka+4>>2]=c[k+4>>2];ka=Z+8|0;h[k>>3]=ra;c[ka>>2]=c[k>>2];c[ka+4>>2]=c[k+4>>2];ka=Z+16|0;h[k>>3]=sa;c[ka>>2]=c[k>>2];c[ka+4>>2]=c[k+4>>2];c[Z+24>>2]=55808;pe(ja,55768,Z)|0}else if((l|0)==4){qa=+h[m+8>>3];ra=+h[m+16>>3];sa=+h[m+24>>3];ka=_;h[k>>3]=+h[m>>3];c[ka>>2]=c[k>>2];c[ka+4>>2]=c[k+4>>2];ka=fa+8|0;h[k>>3]=qa;c[ka>>2]=c[k>>2];c[ka+4>>2]=c[k+4>>2];ka=fa+16|0;h[k>>3]=ra;c[ka>>2]=c[k>>2];c[ka+4>>2]=c[k+4>>2];ka=fa+24|0;h[k>>3]=sa;c[ka>>2]=c[k>>2];c[ka+4>>2]=c[k+4>>2];c[fa+32>>2]=75;pe(ja,55728,fa)|0}m=c[j>>2]|0;l=c[m+32>>2]|0;if((l|0)==3){ka=c[g>>2]|0;ra=+h[m+8>>3];sa=+h[m+16>>3];ja=R;h[k>>3]=+h[m>>3];c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=Q+8|0;h[k>>3]=ra;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=Q+16|0;h[k>>3]=sa;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];c[Q+24>>2]=55800;pe(ka,55768,Q)|0;break}else if((l|0)==1){ka=c[g>>2]|0;ja=P;h[k>>3]=+h[m>>3];c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];c[O+8>>2]=103;pe(ka,55816,O)|0;break}else if((l|0)==4){ka=c[g>>2]|0;qa=+h[m+8>>3];ra=+h[m+16>>3];sa=+h[m+24>>3];ja=H;h[k>>3]=+h[m>>3];c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=M+8|0;h[k>>3]=qa;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=M+16|0;h[k>>3]=ra;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=M+24|0;h[k>>3]=sa;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];c[M+32>>2]=107;pe(ka,55728,M)|0;break}else{break}}}while(0);m=a+192|0;t=c[m>>2]|0;r=c[t+4>>2]|0;if((r|0)<=0){n=j;break}l=a+28|0;s=0;while(1){t=c[(c[t>>2]|0)+(s<<2)>>2]|0;G=+h[t>>3];if((r|0)>(s|0)){ma=+h[t+8>>3];la=+h[t+16>>3];na=+h[t+40>>3]}else{ma=0.0;la=0.0;na=0.0}t=c[l>>2]|0;ra=G- +h[t>>3];sa=(ma-na)*.5+(na- +h[t+8>>3]);ne(c[g>>2]|0,64456,-1)|0;t=c[g>>2]|0;r=q;h[k>>3]=ra;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=p+8|0;h[k>>3]=sa;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];pe(t,55832,p)|0;t=c[g>>2]|0;r=o;h[k>>3]=la-G+ra;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=n+8|0;h[k>>3]=sa;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];pe(t,64304,n)|0;ne(c[g>>2]|0,55928,-1)|0;s=s+1|0;t=c[m>>2]|0;r=c[t+4>>2]|0;if((s|0)>=(r|0)){n=j;break}}}else if((ka|0)==10){n=a+132|0;j=c[n>>2]|0;do{if((j|0)!=0){l=c[j+32>>2]|0;if((l|0)==1){ka=T;h[k>>3]=+h[j>>3];c[ka>>2]=c[k>>2];c[ka+4>>2]=c[k+4>>2];c[U+8>>2]=71;pe(ja,55816,U)|0}else if((l|0)==4){qa=+h[j+8>>3];ra=+h[j+16>>3];sa=+h[j+24>>3];ka=V;h[k>>3]=+h[j>>3];c[ka>>2]=c[k>>2];c[ka+4>>2]=c[k+4>>2];ka=W+8|0;h[k>>3]=qa;c[ka>>2]=c[k>>2];c[ka+4>>2]=c[k+4>>2];ka=W+16|0;h[k>>3]=ra;c[ka>>2]=c[k>>2];c[ka+4>>2]=c[k+4>>2];ka=W+24|0;h[k>>3]=sa;c[ka>>2]=c[k>>2];c[ka+4>>2]=c[k+4>>2];c[W+32>>2]=75;pe(ja,55728,W)|0}else if((l|0)==3){ra=+h[j+8>>3];sa=+h[j+16>>3];ka=X;h[k>>3]=+h[j>>3];c[ka>>2]=c[k>>2];c[ka+4>>2]=c[k+4>>2];ka=ga+8|0;h[k>>3]=ra;c[ka>>2]=c[k>>2];c[ka+4>>2]=c[k+4>>2];ka=ga+16|0;h[k>>3]=sa;c[ka>>2]=c[k>>2];c[ka+4>>2]=c[k+4>>2];c[ga+24>>2]=55808;pe(ja,55768,ga)|0}l=c[n>>2]|0;j=c[l+32>>2]|0;if((j|0)==1){ka=c[g>>2]|0;ja=L;h[k>>3]=+h[l>>3];c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];c[K+8>>2]=103;pe(ka,55816,K)|0;break}else if((j|0)==4){ka=c[g>>2]|0;qa=+h[l+8>>3];ra=+h[l+16>>3];sa=+h[l+24>>3];ja=J;h[k>>3]=+h[l>>3];c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=N+8|0;h[k>>3]=qa;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=N+16|0;h[k>>3]=ra;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=N+24|0;h[k>>3]=sa;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];c[N+32>>2]=107;pe(ka,55728,N)|0;break}else if((j|0)==3){ka=c[g>>2]|0;ra=+h[l+8>>3];sa=+h[l+16>>3];ja=S;h[k>>3]=+h[l>>3];c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=I+8|0;h[k>>3]=ra;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=I+16|0;h[k>>3]=sa;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];c[I+24>>2]=55800;pe(ka,55768,I)|0;break}else{break}}}while(0);j=a+192|0;p=c[j>>2]|0;m=c[p+4>>2]|0;if((m|0)<=0){break}l=a+28|0;o=0;do{p=c[(c[p>>2]|0)+(o<<2)>>2]|0;G=+h[p>>3];if((m|0)>(o|0)){la=+h[p+16>>3];ma=+h[p+40>>3]}else{la=0.0;ma=0.0}p=c[l>>2]|0;ra=G- +h[p>>3];sa=ma- +h[p+8>>3];ne(c[g>>2]|0,64456,-1)|0;p=c[g>>2]|0;m=x;h[k>>3]=ra;c[m>>2]=c[k>>2];c[m+4>>2]=c[k+4>>2];m=z+8|0;h[k>>3]=sa;c[m>>2]=c[k>>2];c[m+4>>2]=c[k+4>>2];pe(p,55832,z)|0;p=c[g>>2]|0;m=r;h[k>>3]=la-G+ra;c[m>>2]=c[k>>2];c[m+4>>2]=c[k+4>>2];m=F+8|0;h[k>>3]=sa;c[m>>2]=c[k>>2];c[m+4>>2]=c[k+4>>2];pe(p,64304,F)|0;ne(c[g>>2]|0,55928,-1)|0;o=o+1|0;p=c[j>>2]|0;m=c[p+4>>2]|0;}while((o|0)<(m|0))}else{Of(d);n=a+132|0;p=c[n>>2]|0;do{if((p|0)!=0){o=c[p+32>>2]|0;if((o|0)==4){ka=c[g>>2]|0;qa=+h[p+8>>3];ra=+h[p+16>>3];sa=+h[p+24>>3];ja=$;h[k>>3]=+h[p>>3];c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=aa+8|0;h[k>>3]=qa;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=aa+16|0;h[k>>3]=ra;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=aa+24|0;h[k>>3]=sa;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];c[aa+32>>2]=107;pe(ka,55728,aa)|0;break}else if((o|0)==3){ka=c[g>>2]|0;ra=+h[p+8>>3];sa=+h[p+16>>3];ja=ba;h[k>>3]=+h[p>>3];c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=ca+8|0;h[k>>3]=ra;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];ja=ca+16|0;h[k>>3]=sa;c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];c[ca+24>>2]=55800;pe(ka,55768,ca)|0;break}else if((o|0)==1){ka=c[g>>2]|0;ja=da;h[k>>3]=+h[p>>3];c[ja>>2]=c[k>>2];c[ja+4>>2]=c[k+4>>2];c[ea+8>>2]=103;pe(ka,55816,ea)|0;break}else{break}}}while(0);o=a+192|0;q=c[o>>2]|0;r=c[q+4>>2]|0;if((r|0)>0){p=0;do{q=c[(c[q>>2]|0)+(p<<2)>>2]|0;la=+h[q>>3];if((r|0)>(p|0)){qa=+h[q+24>>3];ma=+h[q+16>>3];na=+h[q+8>>3];pa=+h[q+56>>3];oa=+h[q+48>>3];ra=+h[q+40>>3];sa=+h[q+32>>3]}else{qa=0.0;ma=0.0;na=0.0;pa=0.0;oa=0.0;ra=0.0;sa=0.0}q=~~(na-ra);ta=+(((q|0)>-1?q:0-q|0)|0)*.25;q=c[g>>2]|0;r=A;h[k>>3]=sa;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=B+8|0;h[k>>3]=ra;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];pe(q,55832,B)|0;q=c[g>>2]|0;r=C;h[k>>3]=sa-ta;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=D+8|0;h[k>>3]=ra+ta;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=D+16|0;h[k>>3]=la-ta;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=D+24|0;h[k>>3]=na-ta;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=D+32|0;h[k>>3]=la;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=D+40|0;h[k>>3]=na;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];pe(q,55856,D)|0;q=c[g>>2]|0;r=E;h[k>>3]=ma;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=u+8|0;h[k>>3]=qa;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];pe(q,64304,u)|0;q=c[g>>2]|0;r=y;h[k>>3]=ma+ta;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=w+8|0;h[k>>3]=qa-ta;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=w+16|0;h[k>>3]=oa+ta;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=w+24|0;h[k>>3]=pa+ta;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=w+32|0;h[k>>3]=oa;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=w+40|0;h[k>>3]=pa;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];pe(q,55856,w)|0;ne(c[g>>2]|0,55912,-1)|0;p=p+1|0;q=c[o>>2]|0;r=c[q+4>>2]|0;}while((p|0)<(r|0))}c[v>>2]=13;o=m+8|0;c[o>>2]=0;c[o+4>>2]=0;c[t>>2]=13;o=l+8|0;c[o>>2]=0;c[o+4>>2]=0;o=c[a+28>>2]|0;h[s>>3]=+h[o>>3];h[j+8>>3]=+h[o+8>>3];h[j+16>>3]=+h[o+16>>3];h[j+24>>3]=+h[o+24>>3];Er(a,j,1,0,m);o=c[g>>2]|0;if((o|0)!=0){ke(o);HW(o)}ka=FW(32)|0;fe(ka,63816);c[g>>2]=ka;Fr(a,63832,m,63840,1.0,64472,l);if(G==1.0){Er(a,j,0,l,d)}else{Er(a,j,1,l,m);o=c[g>>2]|0;if((o|0)!=0){ke(o);HW(o)}ka=FW(32)|0;fe(ka,63816);c[g>>2]=ka;Fr(a,63832,m,63840,G,0,l);Er(a,j,0,l,d)}g=c[g>>2]|0;if((g|0)==0){break}ke(g);HW(g);break}}}while(0);Nf(d,c[a+112>>2]|0,e,0)|0;ka=c[a+28>>2]|0;Tx(b,e,0,c[n>>2]|0,+h[ka>>3],+h[ka+8>>3],+h[ka+16>>3],+h[ka+24>>3]);Of(e);i=f;return}function hs(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;l=i;k=i;i=i+8|0;j=k;c[b>>2]=55512;h=b+8|0;c[h>>2]=13;c[b+16>>2]=0;c[b+20>>2]=0;c[b+64>>2]=13;c[b+72>>2]=0;c[b+76>>2]=0;c[b+96>>2]=13;c[b+104>>2]=0;c[b+108>>2]=0;m=b+145|0;do{if((c[g>>2]|0)==9){a[m]=1;m=c[g>>2]|0;if((m|0)==9){k=g+8|0;g=c[k+4>>2]|0;m=b+116|0;c[m>>2]=c[k>>2];c[m+4>>2]=g;break}else{c[k>>2]=m;c[j+4>>2]=9;Qe(0,72520,j);tc()}}else{a[m]=0}}while(0);c[b+48>>2]=0;m=b+24|0;c[m>>2]=0;Kf(h,e)|0;zr(b,d,e,f);c[b>>2]=64496;c[m>>2]=20;c[b+152>>2]=0;is(b,0,f,e);i=l;return}function is(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;k=i;o=i;i=i+8|0;g=i;i=i+8|0;d=g;n=i;i=i+8|0;m=n;l=i;i=i+16|0;h=l;p=i;i=i+8|0;c[l>>2]=13;j=h+8|0;c[j>>2]=0;c[j+4>>2]=0;q=_t(e)|0;e=b+148|0;c[e>>2]=q;do{if((q|0)!=0){t=b+116|0;s=c[t+4>>2]|0;r=p;c[r>>2]=c[t>>2];c[r+4>>2]=s;$W(o|0,p|0,8)|0;p=Pv(q,o)|0;c[b+152>>2]=p;o=b+176|0;a[o]=0;if((p|0)==0){break}if(((c[p+8>>2]|0)+ -1|0)>>>0>=2){break}a[o]=a[(c[e>>2]|0)+20|0]&1}}while(0);t=c[b+64>>2]|0;if((t|0)==5|(t|0)==13){a[b+176|0]=1}do{if((c[(Yu(f,63888,h,0)|0)>>2]|0)==4){e=FW(32)|0;o=c[l>>2]|0;if((o|0)!=4){c[n>>2]=o;c[m+4>>2]=4;Qe(0,72520,m);tc()}fe(e,c[j>>2]|0);a:do{if((te(e,55416)|0)==0){c[b+156>>2]=0}else{if((te(e,63896)|0)==0){c[b+156>>2]=2;break}do{if((te(e,55584)|0)!=0){if((te(e,56120)|0)==0){break}c[b+156>>2]=1;break a}}while(0);c[b+156>>2]=3}}while(0);if((e|0)==0){break}ke(e);HW(e)}else{c[b+156>>2]=1}}while(0);Of(h);if((c[(Yu(f,64512,h,0)|0)>>2]|0)!=7){c[b+160>>2]=0;Of(h);t=55424;Yu(f,t,h,0)|0;t=b+164|0;c[t>>2]=0;Of(h);t=64520;Yu(f,t,h,0)|0;t=b+168|0;c[t>>2]=0;Of(h);t=56080;Yu(f,t,h,0)|0;t=b+172|0;c[t>>2]=0;Of(h);i=k;return}m=FW(32)|0;l=c[l>>2]|0;if((l|0)!=7){c[g>>2]=l;c[d+4>>2]=7;Qe(0,72520,d);tc()}xr(m,c[j>>2]|0);c[b+160>>2]=m;Of(h);t=55424;Yu(f,t,h,0)|0;t=b+164|0;c[t>>2]=0;Of(h);t=64520;Yu(f,t,h,0)|0;t=b+168|0;c[t>>2]=0;Of(h);t=56080;Yu(f,t,h,0)|0;t=b+172|0;c[t>>2]=0;Of(h);i=k;return}function js(a){a=a|0;var b=0;b=i;ks(a);HW(a);i=b;return}function ks(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=64496;d=c[a+160>>2]|0;if((d|0)!=0){yr(d);HW(d)}d=c[a+164>>2]|0;if((d|0)!=0){Su(d);HW(d)}d=c[a+168>>2]|0;if((d|0)!=0){Su(d);HW(d)}d=c[a+172>>2]|0;if((d|0)==0){Cr(a);i=b;return}Su(d);HW(d);Cr(a);i=b;return}function ls(b,e,f,g,j,k,l,m,n){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;l=+l;m=m|0;n=n|0;var o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0.0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0.0,O=0.0,P=0,Q=0,R=0,S=0,T=0,U=0;w=i;J=i;i=i+8|0;I=J;x=i;i=i+8|0;H=i;i=i+8|0;t=H;F=i;i=i+8|0;G=F;o=i;i=i+8|0;q=i;i=i+8|0;v=i;i=i+8|0;r=v;s=i;i=i+8|0;b=i;i=i+8|0;u=i;i=i+8|0;A=ve(e)|0;do{if(A){z=e+24|0;if((c[z>>2]&1|0)==0){S=c[g>>2]|0;if((S|0)!=0){break}c[g>>2]=2;S=2;break}else{Qe(-1,64528,x);i=w;return}}else{S=c[g>>2]|0;z=e+24|0}}while(0);le(f)|0;x=f+24|0;y=e+28|0;e=f+28|0;M=l>0.0;P=c[p>>2]|0;R=0;T=0;O=0.0;while(1){Q=c[g>>2]|0;if((Q|0)>=(c[z>>2]|0)){D=O;break}C=c[x>>2]|0;E=c[y>>2]|0;U=d[E+Q|0]|0;if(A){U=U<<8;c[F>>2]=U;U=d[E+(Q+1)|0]|U;c[F>>2]=U;E=Q+2|0}else{if(!n){U=c[189696+(U<<2)>>2]|0}c[F>>2]=U;E=Q+1|0}c[g>>2]=E;if((U|0)==10){D=O;break}else if((U|0)==13){B=15;break}do{if(n){me(f,U&255)|0}else{K=jd[c[(c[j>>2]|0)+4>>2]&511](j)|0;if((K|0)==0){me(f,(c[F>>2]|0)>>>8&255)|0;me(f,c[F>>2]&255)|0;break}U=(xu(K,G,t,1)|0)==0;uu(K);if(U){c[J>>2]=c[F>>2];Gc(P|0,64576,I|0)|0;break}U=jd[c[c[j>>2]>>2]&511](j)|0;K=c[H>>2]|0;if(U){me(f,K>>>8&255)|0;me(f,c[H>>2]&255)|0;break}else{me(f,K&255)|0;break}}}while(0);if((c[F>>2]|0)==32){K=c[g>>2]|0;L=T?R:C;T=1}else{K=S;L=R;T=0}R=c[x>>2]|0;if((R|0)>(C|0)){h[v>>3]=0.0;xd[c[(c[j>>2]|0)+12>>2]&3](j,(c[e>>2]|0)+C|0,R-C|0,t,o,q,r,s,b,u)|0;N=O+ +h[v>>3]}else{N=O}if(M&N>l){B=37;break}S=K;R=L;T=T<<24>>24!=0;O=N}do{if((B|0)==15){if((E|0)>=(c[z>>2]|0)){D=O;break}B=c[y>>2]|0;f=a[B+E|0]|0;if(!A){if(f<<24>>24!=10){D=O;break}c[g>>2]=E+1;D=O;break}if(f<<24>>24!=0){D=O;break}if((a[B+(E+1)|0]|0)!=10){D=O;break}c[g>>2]=E+2;D=O}else if((B|0)==37){if((L|0)>0){c[g>>2]=K;re(f,L,(c[x>>2]|0)-L|0)|0;D=N;break}if((C|0)<=0){D=N;break}c[g>>2]=Q;re(f,C,(c[x>>2]|0)-C|0)|0;D=N}}while(0);do{if(M&D>l){f=c[g>>2]|0;C=c[z>>2]|0;B=(f|0)<(C|0);if(!A){a:do{if(B){A=C;do{if((a[(c[y>>2]|0)+f|0]|0)!=32){break a}f=f+1|0;c[g>>2]=f;A=c[z>>2]|0;}while((f|0)<(A|0))}else{A=C}}while(0);do{if((f|0)<(A|0)){if((a[(c[y>>2]|0)+f|0]|0)!=13){break}f=f+1|0;c[g>>2]=f;A=c[z>>2]|0}}while(0);if((f|0)>=(A|0)){break}if((a[(c[y>>2]|0)+f|0]|0)!=10){break}c[g>>2]=f+1;break}b:do{if(B){A=C;do{B=c[y>>2]|0;if((a[B+f|0]|0)!=0){break b}if((a[B+(f+1)|0]|0)!=32){break b}f=f+2|0;c[g>>2]=f;A=c[z>>2]|0;}while((f|0)<(A|0))}else{A=C}}while(0);do{if((f|0)<(A|0)){B=c[y>>2]|0;if((a[B+f|0]|0)!=0){break}if((a[B+(f+1)|0]|0)!=13){break}f=f+2|0;c[g>>2]=f;A=c[z>>2]|0}}while(0);if((f|0)>=(A|0)){break}y=c[y>>2]|0;if((a[y+f|0]|0)!=0){break}if((a[y+(f+1)|0]|0)!=10){break}c[g>>2]=f+2}}while(0);y=(k|0)!=0;if((m|0)==0&(y^1)){i=w;return}g=c[e>>2]|0;x=c[x>>2]|0;if(y){h[k>>3]=0.0}e=(m|0)!=0;if(e){c[m>>2]=0}if((x|0)<=0){i=w;return}if(y){if(e){while(1){h[v>>3]=0.0;e=xd[c[(c[j>>2]|0)+12>>2]&3](j,g,x,t,o,q,r,s,b,u)|0;if((e|0)==0){B=81;break}h[k>>3]=+h[v>>3]+ +h[k>>3];c[m>>2]=(c[m>>2]|0)+1;x=x-e|0;if((x|0)>0){g=g+e|0}else{B=81;break}}if((B|0)==81){i=w;return}}else{while(1){h[v>>3]=0.0;m=xd[c[(c[j>>2]|0)+12>>2]&3](j,g,x,t,o,q,r,s,b,u)|0;if((m|0)==0){B=81;break}h[k>>3]=+h[v>>3]+ +h[k>>3];x=x-m|0;if((x|0)>0){g=g+m|0}else{B=81;break}}if((B|0)==81){i=w;return}}}else{if(e){while(1){h[v>>3]=0.0;k=xd[c[(c[j>>2]|0)+12>>2]&3](j,g,x,t,o,q,r,s,b,u)|0;if((k|0)==0){B=81;break}c[m>>2]=(c[m>>2]|0)+1;x=x-k|0;if((x|0)>0){g=g+k|0}else{B=81;break}}if((B|0)==81){i=w;return}}else{while(1){h[v>>3]=0.0;m=xd[c[(c[j>>2]|0)+12>>2]&3](j,g,x,t,o,q,r,s,b,u)|0;if((m|0)==0){B=81;break}x=x-m|0;if((x|0)>0){g=g+m|0}else{B=81;break}}if((B|0)==81){i=w;return}}}}function ms(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;b=i;g=i;i=i+8|0;h=g;me(e,40)|0;f=d+24|0;if((c[f>>2]|0)<=0){me(e,41)|0;i=b;return}d=d+28|0;j=0;do{k=a[(c[d>>2]|0)+j|0]|0;do{if(k<<24>>24==92|k<<24>>24==41|k<<24>>24==40){me(e,92)|0;me(e,k)|0}else{if(k<<24>>24<32){c[g>>2]=k&255;pe(e,64624,h)|0;break}else{me(e,k)|0;break}}}while(0);j=j+1|0;}while((j|0)<(c[f>>2]|0));me(e,41)|0;i=b;return}function ns(b,d,e,f,g,j,l,m,n,o){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0.0,ma=0,na=0,oa=0,pa=0.0,qa=0,ra=0,sa=0.0,ta=0.0,ua=0.0,va=0.0,wa=0.0,xa=0;p=i;A=i;i=i+8|0;aa=A;$=i;i=i+16|0;_=$;dada;ba=i;i=i+8|0;ca=ba;ja=i;i=i+8|0;ka=ja;E=i;i=i+8|0;D=E;V=i;i=i+16|0;U=V;Y=i;i=i+8|0;Z=Y;X=i;i=i+8|0;W=X;ha=i;i=i+8|0;ia=ha;w=i;i=i+16|0;x=w;C=i;i=i+8|0;M=C;N=i;i=i+8|0;O=N;S=i;i=i+8|0;Q=S;u=i;i=i+8|0;z=i;i=i+8|0;oa=i;i=i+8|0;s=i;i=i+8|0;y=s;r=i;i=i+8|0;v=r;na=i;i=i+8|0;ma=na;fa=i;i=i+8|0;ga=fa;K=i;i=i+8|0;J=i;i=i+8|0;I=i;i=i+8|0;L=i;i=i+8|0;B=L;H=i;i=i+8|0;G=i;i=i+8|0;F=i;i=i+8|0;do{if((e|0)==0){q=0;T=37}else{q=FW(16)|0;wo(q);c[r>>2]=0;t=e+24|0;ra=c[t>>2]|0;if((ra|0)>0){P=e+28|0;qa=0;do{a:do{if((qa|0)<(ra|0)){while(1){ra=hE(a[(c[P>>2]|0)+qa|0]|0)|0;qa=c[r>>2]|0;if(!ra){break}qa=qa+1|0;c[r>>2]=qa;ra=c[t>>2]|0;if((qa|0)>=(ra|0)){break a}}ra=c[t>>2]|0}}while(0);if((qa|0)<(ra|0)){while(1){qa=qa+1|0;if((qa|0)>=(ra|0)){break}if(hE(a[(c[P>>2]|0)+qa|0]|0)|0){break}ra=c[t>>2]|0}ra=FW(32)|0;xa=c[r>>2]|0;he(ra,e,xa,qa-xa|0);yo(q,ra);c[r>>2]=qa;ra=c[t>>2]|0}}while((qa|0)<(ra|0))}c[r>>2]=2;t=q+8|0;if((c[t>>2]|0)<=2){T=37;break}qa=2;e=-1;P=-1;do{do{if((qa|0)>1){xa=(te(c[(c[q>>2]|0)+(qa<<2)>>2]|0,64640)|0)==0;ra=c[r>>2]|0;if(xa){qa=ra;e=ra+ -2|0;break}if((ra|0)<=5){qa=ra;break}xa=(te(c[(c[q>>2]|0)+(ra<<2)>>2]|0,64648)|0)==0;ra=c[r>>2]|0;qa=ra;P=xa?ra+ -6|0:P}}while(0);qa=qa+1|0;c[r>>2]=qa;}while((qa|0)<(c[t>>2]|0));ra=(e|0)>-1;do{if(ra&n){qa=c[(c[q>>2]|0)+(e<<2)>>2]|0;if((te(qa,64656)|0)==0){T=25;break}le(qa)|0;ne(qa,64656,-1)|0;u=q}else{T=25}}while(0);if((T|0)==25){if(!ra){T=37;break}u=q}qa=c[(c[u>>2]|0)+(e<<2)>>2]|0;do{if((c[qa+24>>2]|0)>0){qa=c[qa+28>>2]|0;if((a[qa]|0)!=47){T=36;break}if((f|0)!=0){z=wy(f,qa+1|0)|0;if((z|0)!=0){A=0;break}}if(!n){Qe(-1,64688,oa);z=0;A=0;break}oa=FW(24)|0;ra=b+112|0;Qu(oa,c[ra>>2]|0);z=FW(3544)|0;ra=c[ra>>2]|0;c[na>>2]=0;c[ma+4>>2]=0;xa=FW(32)|0;fe(xa,64672);$W(A|0,na|0,8)|0;by(z,ra,64664,aa,xa,1,oa);if((oa|0)!=0){Su(oa);HW(oa)}a[b+177|0]=1;A=1}else{T=36}}while(0);if((T|0)==36){Qe(-1,64728,z);z=0;A=0}ma=e+1|0;pa=+Ie(c[(c[(c[u>>2]|0)+(ma<<2)>>2]|0)+28>>2]|0);if((z|0)==0){break}T=c[b+128>>2]|0;if((T|0)==0){la=0.0}else{la=+wd[c[(c[T>>2]|0)+12>>2]&1](T)}do{if(o){xa=ve(d)|0;o=c[d+24>>2]|0;if(xa){o=(o+ -2|0)/2|0}d=FW(32)|0;ee(d);c[r>>2]=0;if((o|0)<=0){o=0;break}while(1){me(d,42)|0;xa=(c[r>>2]|0)+1|0;c[r>>2]=xa;if((xa|0)>=(o|0)){o=0;break}}}else{o=1}}while(0);T=FW(32)|0;ee(T);aa=b+124|0;if(m){ne(c[aa>>2]|0,64832,-1)|0}ne(c[aa>>2]|0,56352,-1)|0;ne(c[aa>>2]|0,64848,-1)|0;do{if(g){B=b+28|0;E=c[B>>2]|0;sa=+h[E+16>>3]- +h[E>>3]-la*2.0+-4.0;if(pa==0.0){j=d+24|0;D=c[j>>2]|0;pa=20.0;while(1){ua=+h[E+24>>3]- +h[E+8>>3];c[r>>2]=0;if((D|0)>0){ta=sa/pa;while(1){ls(0,d,T,v,z,y,ta,0,n);ua=ua-pa;D=c[j>>2]|0;if((c[r>>2]|0)<(D|0)){}else{break}}}if(ua>=pa*.33){break}pa=pa+-1.0;if(pa<=1.0){break}E=c[B>>2]|0}E=c[(c[u>>2]|0)+(ma<<2)>>2]|0;le(E)|0;xa=S;h[k>>3]=pa;c[xa>>2]=c[k>>2];c[xa+4>>2]=c[k+4>>2];pe(E,64856,Q)|0;E=c[B>>2]|0}ta=+h[E+24>>3]- +h[E+8>>3];if((P|0)>-1){xa=c[(c[u>>2]|0)+(P+4<<2)>>2]|0;le(xa)|0;me(xa,48)|0;xa=c[(c[u>>2]|0)+(P+5<<2)>>2]|0;le(xa)|0;ra=N;h[k>>3]=ta;c[ra>>2]=c[k>>2];c[ra+4>>2]=c[k+4>>2];pe(xa,64856,O)|0}do{if((q|0)!=0){c[r>>2]=0;if((c[t>>2]|0)>0){j=0}else{break}do{me(oe(c[aa>>2]|0,c[(c[u>>2]|0)+(j<<2)>>2]|0)|0,32)|0;j=(c[r>>2]|0)+1|0;c[r>>2]=j;}while((j|0)<(c[t>>2]|0))}}while(0);if((P|0)<0){xa=c[aa>>2]|0;ra=C;h[k>>3]=ta;c[ra>>2]=c[k>>2];c[ra+4>>2]=c[k+4>>2];pe(xa,64864,M)|0}c[r>>2]=0;j=d+24|0;if((c[j>>2]|0)<=0){break}sa=sa/pa;ua=la+2.0;ta=-0.0-pa;va=0.0;while(1){ls(0,d,T,v,z,y,sa,0,n);wa=pa*+h[s>>3];h[s>>3]=wa;if((l|0)==2){xa=c[B>>2]|0;wa=+h[xa+16>>3]- +h[xa>>3]-la+-2.0-wa}else if((l|0)==1){xa=c[B>>2]|0;wa=(+h[xa+16>>3]- +h[xa>>3]-wa)*.5}else{wa=ua}xa=c[aa>>2]|0;ra=w;h[k>>3]=wa-va;c[ra>>2]=c[k>>2];c[ra+4>>2]=c[k+4>>2];ra=x+8|0;h[k>>3]=ta;c[ra>>2]=c[k>>2];c[ra+4>>2]=c[k+4>>2];pe(xa,64888,x)|0;ms(0,T,c[aa>>2]|0);ne(c[aa>>2]|0,64912,-1)|0;if((c[r>>2]|0)<(c[j>>2]|0)){va=wa}else{break}}}else{if((j|0)<=0){c[r>>2]=0;ls(0,d,T,v,z,y,0.0,0,n);if(pa==0.0){xa=c[b+28>>2]|0;sa=la*2.0;pa=+h[xa+24>>3]- +h[xa+8>>3]-sa;sa=(+h[xa+16>>3]- +h[xa>>3]+-4.0-sa)/+h[s>>3];pa=+R(+(sa<pa?sa:pa));xa=c[(c[u>>2]|0)+(ma<<2)>>2]|0;le(xa)|0;ra=ja;h[k>>3]=pa;c[ra>>2]=c[k>>2];c[ra+4>>2]=c[k+4>>2];pe(xa,64856,ka)|0}sa=pa*+h[s>>3];h[s>>3]=sa;if((l|0)==1){xa=c[b+28>>2]|0;s=xa;la=(+h[xa+16>>3]- +h[xa>>3]-sa)*.5}else if((l|0)==2){xa=c[b+28>>2]|0;s=xa;la=+h[xa+16>>3]- +h[xa>>3]-la+-2.0-sa}else{s=c[b+28>>2]|0;la=la+2.0}pa=(+h[s+24>>3]- +h[s+8>>3])*.5-pa*.4;if((P|0)>-1){xa=c[(c[u>>2]|0)+(P+4<<2)>>2]|0;le(xa)|0;ra=ba;h[k>>3]=la;c[ra>>2]=c[k>>2];c[ra+4>>2]=c[k+4>>2];pe(xa,64856,ca)|0;xa=c[(c[u>>2]|0)+(P+5<<2)>>2]|0;le(xa)|0;ra=da;h[k>>3]=pa;c[ra>>2]=c[k>>2];c[ra+4>>2]=c[k+4>>2];pe(xa,64856,ea)|0}do{if((q|0)!=0){c[r>>2]=0;if((c[t>>2]|0)>0){s=0}else{break}do{me(oe(c[aa>>2]|0,c[(c[u>>2]|0)+(s<<2)>>2]|0)|0,32)|0;s=(c[r>>2]|0)+1|0;c[r>>2]=s;}while((s|0)<(c[t>>2]|0))}}while(0);if((P|0)<0){xa=c[aa>>2]|0;ra=$;h[k>>3]=la;c[ra>>2]=c[k>>2];c[ra+4>>2]=c[k+4>>2];ra=_+8|0;h[k>>3]=pa;c[ra>>2]=c[k>>2];c[ra+4>>2]=c[k+4>>2];pe(xa,64920,_)|0}ms(0,T,c[aa>>2]|0);ne(c[aa>>2]|0,64912,-1)|0;break}w=b+28|0;x=c[w>>2]|0;ta=la*2.0;sa=(+h[x+16>>3]- +h[x>>3]-ta)/+(j|0);h[s>>3]=sa;if(pa==0.0){pa=+h[x+24>>3]- +h[x+8>>3]-ta;pa=+R(+(sa<pa?sa:pa));xa=c[(c[u>>2]|0)+(ma<<2)>>2]|0;le(xa)|0;ra=ha;h[k>>3]=pa;c[ra>>2]=c[k>>2];c[ra+4>>2]=c[k+4>>2];pe(xa,64856,ia)|0}c[r>>2]=0;ls(0,d,T,v,z,0,0.0,ga,n);v=c[fa>>2]|0;if((v|0)>(j|0)){c[fa>>2]=j;v=j}if((l|0)==1){la=la+ +((j-v|0)/2|0|0)*+h[s>>3]}else if((l|0)==2){la=la+ +h[s>>3]*+(j-v|0)}xa=c[w>>2]|0;sa=(+h[xa+24>>3]- +h[xa+8>>3])*.5-pa*.4;if((P|0)>-1){xa=c[(c[u>>2]|0)+(P+4<<2)>>2]|0;le(xa)|0;ra=X;h[k>>3]=la;c[ra>>2]=c[k>>2];c[ra+4>>2]=c[k+4>>2];pe(xa,64856,W)|0;xa=c[(c[u>>2]|0)+(P+5<<2)>>2]|0;le(xa)|0;ra=Y;h[k>>3]=sa;c[ra>>2]=c[k>>2];c[ra+4>>2]=c[k+4>>2];pe(xa,64856,Z)|0}do{if((q|0)!=0){c[r>>2]=0;if((c[t>>2]|0)>0){l=0}else{break}do{me(oe(c[aa>>2]|0,c[(c[u>>2]|0)+(l<<2)>>2]|0)|0,32)|0;l=(c[r>>2]|0)+1|0;c[r>>2]=l;}while((l|0)<(c[t>>2]|0))}}while(0);if((P|0)<0){xa=c[aa>>2]|0;ra=V;h[k>>3]=la;c[ra>>2]=c[k>>2];c[ra+4>>2]=c[k+4>>2];ra=U+8|0;h[k>>3]=sa;c[ra>>2]=c[k>>2];c[ra+4>>2]=c[k+4>>2];pe(xa,64920,U)|0}v=c[T+28>>2]|0;l=c[T+24>>2]|0;c[r>>2]=0;if((l|0)<=0){break}sa=+h[s>>3];while(1){h[L>>3]=0.0;n=xd[c[(c[z>>2]|0)+12>>2]&3](z,v,l,K,J,I,B,H,G,F)|0;la=pa*+h[L>>3];h[L>>3]=la;wa=+h[s>>3];la=(wa-la)*.5;w=c[aa>>2]|0;xa=E;h[k>>3]=wa+(la-sa);c[xa>>2]=c[k>>2];c[xa+4>>2]=c[k+4>>2];pe(w,64952,D)|0;w=FW(32)|0;ge(w,v,n);ms(0,w,c[aa>>2]|0);ne(c[aa>>2]|0,64912,-1)|0;if((w|0)!=0){ke(w);HW(w)}xa=(c[r>>2]|0)+1|0;c[r>>2]=xa;l=l-n|0;if((xa|0)<(j|0)&(l|0)>0){v=v+n|0;sa=la}else{break}}}}while(0);ne(c[aa>>2]|0,64968,-1)|0;ne(c[aa>>2]|0,63808,-1)|0;if(m){ne(c[aa>>2]|0,64976,-1)|0}if((q|0)!=0){m=c[t>>2]|0;if((m|0)>0){r=0;do{s=c[(c[u>>2]|0)+(r<<2)>>2]|0;if((s|0)!=0){ke(s);HW(s);m=c[t>>2]|0}r=r+1|0;}while((r|0)<(m|0))}xo(q);HW(q)}if(!(o|(d|0)==0)){ke(d);HW(d)}if((T|0)!=0){ke(T);HW(T)}if(!A){i=p;return}Yx(z);i=p;return}}while(0);if((T|0)==37){Qe(-1,64784,u)}if((q|0)==0){i=p;return}r=q+8|0;s=c[r>>2]|0;if((s|0)>0){m=0;do{t=c[(c[q>>2]|0)+(m<<2)>>2]|0;if((t|0)!=0){ke(t);HW(t);s=c[r>>2]|0}m=m+1|0;}while((m|0)<(s|0))}xo(q);HW(q);i=p;return}function os(b,d,e,f,g,j,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0.0,G=0,H=0,I=0,J=0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0,S=0,T=0,U=0,V=0;n=i;x=i;i=i+16|0;y=x;v=i;i=i+8|0;w=v;A=i;i=i+8|0;u=A;s=i;i=i+32|0;t=s;C=i;i=i+8|0;D=C;I=i;i=i+8|0;H=i;i=i+8|0;G=i;i=i+8|0;r=i;i=i+8|0;q=r;z=i;i=i+8|0;p=z;do{if((j|0)==0){o=0;E=28}else{o=FW(16)|0;wo(o);B=j+24|0;T=c[B>>2]|0;if((T|0)>0){J=j+28|0;S=0;do{a:do{if((S|0)<(T|0)){while(1){V=hE(a[(c[J>>2]|0)+S|0]|0)|0;U=S+1|0;T=c[B>>2]|0;if(!V){break a}if((U|0)<(T|0)){S=U}else{S=U;break}}}}while(0);if((S|0)<(T|0)){U=S+1|0;c[z>>2]=U;b:do{if((U|0)<(T|0)){do{V=hE(a[(c[J>>2]|0)+U|0]|0)|0;U=c[z>>2]|0;if(V){break b}U=U+1|0;c[z>>2]=U;}while((U|0)<(c[B>>2]|0))}}while(0);T=FW(32)|0;he(T,j,S,U-S|0);yo(o,T);T=c[B>>2]|0;S=c[z>>2]|0}}while((S|0)<(T|0))}B=o+8|0;if((c[B>>2]|0)<=2){E=28;break}S=2;J=-1;j=-1;do{do{if((S|0)>1){if((te(c[(c[o>>2]|0)+(S<<2)>>2]|0,64640)|0)==0){J=S+ -2|0;break}if((S|0)<=5){break}V=(te(c[(c[o>>2]|0)+(S<<2)>>2]|0,64648)|0)==0;j=V?S+ -6|0:j}}while(0);S=S+1|0;}while((S|0)<(c[B>>2]|0));if((J|0)<=-1){E=28;break}I=c[(c[o>>2]|0)+(J<<2)>>2]|0;do{if((c[I+24>>2]|0)>0){I=c[I+28>>2]|0;if((a[I]|0)!=47){E=27;break}if((l|0)!=0){l=wy(l,I+1|0)|0;if((l|0)!=0){break}}Qe(-1,64688,G);l=0}else{E=27}}while(0);if((E|0)==27){Qe(-1,64728,H);l=0}G=J+1|0;L=+Ie(c[(c[(c[o>>2]|0)+(G<<2)>>2]|0)+28>>2]|0);if((l|0)==0){break}E=FW(32)|0;ee(E);H=c[b+128>>2]|0;if((H|0)==0){F=0.0}else{F=+wd[c[(c[H>>2]|0)+12>>2]&1](H)}if(L==0.0){if((f|0)>0){H=0;K=0.0;while(1){c[z>>2]=0;ls(0,c[d+(H<<2)>>2]|0,E,p,l,q,0.0,0,0);L=+h[r>>3];K=L>K?L:K;H=H+1|0;if((H|0)<(f|0)){}else{break}}}else{K=0.0}H=b+28|0;V=c[H>>2]|0;Q=F*2.0;L=+h[V+24>>3]- +h[V+8>>3]-Q;K=(+h[V+16>>3]- +h[V>>3]+-4.0-Q)/K;L=+R(+(K<L?K:L));V=c[(c[o>>2]|0)+(G<<2)>>2]|0;le(V)|0;h[k>>3]=L;c[C>>2]=c[k>>2];c[C+4>>2]=c[k+4>>2];pe(V,64856,D)|0;C=H}else{C=b+28|0}J=c[C>>2]|0;K=L*1.1;if((g|0)<(f|0)){I=b+124|0;M=F+2.0;b=(j|0)>-1;G=j+4|0;D=j+5|0;H=(o|0)==0;j=(j|0)<0;N=L*.2;O=F*2.0;P=+h[J+24>>3]- +h[J+8>>3];do{P=P-K;ne(c[I>>2]|0,56352,-1)|0;J=e+g|0;if((a[J]&1)!=0){ne(c[I>>2]|0,64984,-1)|0;V=c[I>>2]|0;U=c[C>>2]|0;Q=+h[U+16>>3]- +h[U>>3]-O;U=s;h[k>>3]=F;c[U>>2]=c[k>>2];c[U+4>>2]=c[k+4>>2];U=t+8|0;h[k>>3]=P-N;c[U>>2]=c[k>>2];c[U+4>>2]=c[k+4>>2];U=t+16|0;h[k>>3]=Q;c[U>>2]=c[k>>2];c[U+4>>2]=c[k+4>>2];U=t+24|0;h[k>>3]=K;c[U>>2]=c[k>>2];c[U+4>>2]=c[k+4>>2];pe(V,64992,t)|0}ne(c[I>>2]|0,64848,-1)|0;c[z>>2]=0;ls(0,c[d+(g<<2)>>2]|0,E,p,l,q,0.0,0,0);Q=L*+h[r>>3];h[r>>3]=Q;if((m|0)==1){V=c[C>>2]|0;Q=(+h[V+16>>3]- +h[V>>3]-Q)*.5}else if((m|0)==2){V=c[C>>2]|0;Q=+h[V+16>>3]- +h[V>>3]-F+-2.0-Q}else{Q=M}if(b){V=c[(c[o>>2]|0)+(G<<2)>>2]|0;le(V)|0;U=A;h[k>>3]=Q;c[U>>2]=c[k>>2];c[U+4>>2]=c[k+4>>2];pe(V,64856,u)|0;V=c[(c[o>>2]|0)+(D<<2)>>2]|0;le(V)|0;U=v;h[k>>3]=P;c[U>>2]=c[k>>2];c[U+4>>2]=c[k+4>>2];pe(V,64856,w)|0}do{if(!H){c[z>>2]=0;if((c[B>>2]|0)>0){S=0}else{break}do{me(oe(c[I>>2]|0,c[(c[o>>2]|0)+(S<<2)>>2]|0)|0,32)|0;S=(c[z>>2]|0)+1|0;c[z>>2]=S;}while((S|0)<(c[B>>2]|0))}}while(0);if(j){V=c[I>>2]|0;U=x;h[k>>3]=Q;c[U>>2]=c[k>>2];c[U+4>>2]=c[k+4>>2];U=y+8|0;h[k>>3]=P;c[U>>2]=c[k>>2];c[U+4>>2]=c[k+4>>2];pe(V,64920,y)|0}if((a[J]&1)!=0){ne(c[I>>2]|0,65032,-1)|0}ms(0,E,c[I>>2]|0);ne(c[I>>2]|0,64912,-1)|0;ne(c[I>>2]|0,64968,-1)|0;ne(c[I>>2]|0,63808,-1)|0;g=g+1|0;}while((g|0)<(f|0))}if((o|0)!=0){q=c[B>>2]|0;if((q|0)>0){p=0;do{r=c[(c[o>>2]|0)+(p<<2)>>2]|0;if((r|0)!=0){ke(r);HW(r);q=c[B>>2]|0}p=p+1|0;}while((p|0)<(q|0))}xo(o);HW(o)}if((E|0)==0){i=n;return}ke(E);HW(E);i=n;return}}while(0);if((E|0)==28){Qe(-1,64784,I)}if((o|0)==0){i=n;return}p=o+8|0;r=c[p>>2]|0;if((r|0)>0){q=0;do{m=c[(c[o>>2]|0)+(q<<2)>>2]|0;if((m|0)!=0){ke(m);HW(m);r=c[p>>2]|0}q=q+1|0;}while((q|0)<(r|0))}xo(o);HW(o);i=n;return}function ps(b){b=b|0;var d=0,e=0,f=0,g=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0.0,Gb=0,Hb=0,Ib=0.0,Jb=0.0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,id=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ge=0,he=0,je=0,le=0.0,me=0.0,oe=0.0,qe=0.0,re=0.0,te=0.0,ue=0.0,ve=0.0,we=0.0,xe=0.0,ze=0.0,Ae=0.0;f=i;d=i;i=i+8|0;m=d;z=i;i=i+8|0;v=z;l=i;i=i+8|0;j=l;C=i;i=i+8|0;B=C;H=i;i=i+8|0;G=H;Q=i;i=i+8|0;O=Q;S=i;i=i+8|0;U=S;W=i;i=i+8|0;V=W;Y=i;i=i+8|0;X=Y;_=i;i=i+8|0;$=_;aa=i;i=i+8|0;ba=aa;ca=i;i=i+8|0;da=ca;ga=i;i=i+8|0;fa=ga;cb=i;i=i+8|0;oa=i;i=i+8|0;pa=oa;sa=i;i=i+8|0;ta=sa;ra=i;i=i+8|0;qa=ra;Da=i;i=i+8|0;Ea=DaDa>>2]=za;c[Ea+4>>2]=3;Qe(0,72520,Ea);tc()}}}while(0);xa=ye(va,1)|0;pv(ma,65288,F)|0;e:do{if(wa){za=0;f:while(1){ya=xa+za|0;a[ya]=0;Aa=c[I>>2]|0;g:do{if((Aa|0)==6){Aa=ua+(za<<2)|0;Ba=0;while(1){Ca=c[D>>2]|0;if((Ba|0)>=(c[Ca+12>>2]|0)){break g}do{if((c[(ut(Ca,Ba,ha)|0)>>2]|0)==3){Ca=c[ja>>2]|0;if((Ca|0)!=3){ka=207;break f}if((se(c[ia>>2]|0,c[Aa>>2]|0)|0)!=0){break}a[ya]=1}}while(0);Of(ha);Ca=c[I>>2]|0;if((Ca|0)==6){Ba=Ba+1|0}else{ka=203;break f}}}else if((Aa|0)==3){if((se(c[D>>2]|0,c[ua+(za<<2)>>2]|0)|0)!=0){break}a[ya]=1}}while(0);za=za+1|0;if((za|0)>=(va|0)){break e}}if((ka|0)==203){c[ra>>2]=Ca;c[qa+4>>2]=6;Qe(0,72520,qa);tc()}else if((ka|0)==207){c[sa>>2]=Ca;c[ta+4>>2]=3;Qe(0,72520,ta);tc()}}}while(0);Of(F);do{if((c[(Yu(ma,65336,F,0)|0)>>2]|0)==1){ha=c[I>>2]|0;if((ha|0)==1){na=c[D>>2]|0;break}else{c[oa>>2]=ha;c[pa+4>>2]=1;Qe(0,72520,pa);tc()}}else{na=0}}while(0);Of(F);os(b,ua,xa,va,na,fb,g,la);if(wa){ia=0;do{ha=c[ua+(ia<<2)>>2]|0;if((ha|0)!=0){ke(ha);HW(ha)}ia=ia+1|0;}while((ia|0)<(va|0))}Fe(ua);Fe(xa)}Of(E)}else{ka=223}}while(0);if((ka|0)==223){Qe(-1,65352,cb)}if((fb|0)!=0){ke(fb);HW(fb)}ha=b+112|0;Jf(M,c[ha>>2]|0)|0;ia=Ge(55936)|0;ja=c[(c[Z>>2]|0)+24>>2]|0;c[ea>>2]=0;c[K>>2]=1;c[J>>2]=ja;ja=c[R>>2]|0;if((ja|0)!=7){c[ga>>2]=ja;c[fa+4>>2]=7;Qe(0,72520,fa);tc()}Tu(c[N>>2]|0,ia,E);fa=Ge(55944)|0;c[J>>2]=0;c[ea>>2]=0;c[K>>2]=4;c[J>>2]=Ge(55952)|0;ea=c[R>>2]|0;if((ea|0)!=7){c[ca>>2]=ea;c[da+4>>2]=7;Qe(0,72520,da);tc()}Tu(c[N>>2]|0,fa,E);If(E,c[ha>>2]|0)|0;c[I>>2]=2;ca=F+8|0;h[ca>>3]=0.0;da=c[K>>2]|0;if((da|0)!=6){c[aa>>2]=da;c[ba+4>>2]=6;Qe(0,72520,ba);tc()}tt(c[J>>2]|0,F);c[I>>2]=2;h[ca>>3]=0.0;aa=c[K>>2]|0;if((aa|0)!=6){c[_>>2]=aa;c[$+4>>2]=6;Qe(0,72520,$);tc()}tt(c[J>>2]|0,F);_=b+28|0;$=c[_>>2]|0;Ae=+h[$+16>>3]- +h[$>>3];c[I>>2]=2;h[ca>>3]=Ae;$=c[K>>2]|0;if(($|0)!=6){c[Y>>2]=$;c[X+4>>2]=6;Qe(0,72520,X);tc()}tt(c[J>>2]|0,F);X=c[_>>2]|0;Ae=+h[X+24>>3]- +h[X+8>>3];c[I>>2]=2;h[ca>>3]=Ae;X=c[K>>2]|0;if((X|0)!=6){c[W>>2]=X;c[V+4>>2]=6;Qe(0,72520,V);tc()}tt(c[J>>2]|0,F);V=Ge(55960)|0;W=c[R>>2]|0;if((W|0)!=7){c[S>>2]=W;c[U+4>>2]=7;Qe(0,72520,U);tc()}Tu(c[N>>2]|0,V,E);do{if((c[T>>2]|0)==7){S=Ge(55992)|0;T=Mf(P,E)|0;R=c[R>>2]|0;if((R|0)==7){Tu(c[N>>2]|0,S,T);break}else{c[Q>>2]=R;c[O+4>>2]=7;Qe(0,72520,O);tc()}}}while(0);Of(P);N=FW(56)|0;O=Ic(c[(c[Z>>2]|0)+28>>2]|0)|0;Tj(N,O,0,c[(c[Z>>2]|0)+24>>2]|0,M);M=b+64|0;Of(M);Lf(M,N)|0;O=c[Z>>2]|0;if((O|0)!=0){ke(O);HW(O)}hd[c[(c[N>>2]|0)+116>>2]&127](N,1);do{if((a[(c[L>>2]|0)+45|0]&1)!=0){do{if((c[(Yu(A,55616,E,0)|0)>>2]|0)==7){K=c[K>>2]|0;if((K|0)!=7){c[H>>2]=K;c[G+4>>2]=7;Qe(0,72520,G);tc()}if((c[(Zu(c[J>>2]|0,55416,F)|0)>>2]|0)!=9){break}G=c[I>>2]|0;if((G|0)==9){ge=D;he=c[ge+4>>2]|0;je=b+52|0;c[je>>2]=c[ge>>2];c[je+4>>2]=he;break}else{c[C>>2]=G;c[B+4>>2]=9;Qe(0,72520,B);tc()}}}while(0);Of(F);Of(E);B=b+52|0;C=c[ha>>2]|0;if((c[B>>2]|0)==0){qn(y,C,M);ge=w;he=c[ge+4>>2]|0;je=B;c[je>>2]=c[ge>>2];c[je+4>>2]=he}else{ge=B;he=c[ge+4>>2]|0;je=x;c[je>>2]=c[ge>>2];c[je+4>>2]=he;$W(z|0,x|0,8)|0;pn(C,M,v)}c[u>>2]=13;v=p+8|0;c[v>>2]=0;c[v+4>>2]=0;Jf(p,c[ha>>2]|0)|0;je=q+8|0;ge=c[B>>2]|0;he=c[b+56>>2]|0;c[t>>2]=9;c[je>>2]=ge;c[je+4>>2]=he;t=c[u>>2]|0;if((t|0)==7){Wu(c[v>>2]|0,55416,q);Wu(A,55616,p);je=FW(24)|0;Ru(je,A);de=je+20|0;c[de>>2]=(c[de>>2]|0)+ -1;c[s>>2]=13;de=o+8|0;c[de>>2]=0;c[de+4>>2]=0;Kf(o,je)|0;je=c[ha>>2]|0;de=b+116|0;ge=c[de+4>>2]|0;he=r;c[he>>2]=c[de>>2];c[he+4>>2]=ge;$W(d|0,r|0,8)|0;pn(je,o,m);Of(o);break}else{c[l>>2]=t;c[j+4>>2]=7;Qe(0,72520,j);tc()}}}while(0);if((g|0)!=0){vy(g);HW(g)}Of(n);Of(e);i=f;return}function qs(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=i;r=i;i=i+16|0;f=r;m=i;i=i+16|0;q=m;k=i;i=i+16|0;l=k;n=i;i=i+16|0;o=n;p=i;i=i+16|0;j=p;c[r>>2]=13;r=f+8|0;c[r>>2]=0;c[r+4>>2]=0;r=c[b+48>>2]|0;if((r&2|0)!=0){i=g;return}do{if(e){if((r&4|0)!=0){break}i=g;return}else{if((r&32|0)==0){break}i=g;return}}while(0);r=c[b+88>>2]|0;do{if((r|0)!=0){e=b+96|0;if((c[e>>2]|0)!=9){break}if(GF(r,e)|0){break}i=g;return}}while(0);r=b+177|0;a[r]=0;ps(b);e=b+112|0;Nf(b+64|0,c[e>>2]|0,f,0)|0;do{if((a[r]&1)!=0){u=q+8|0;c[k>>2]=13;s=l+8|0;c[s>>2]=0;t=s+4|0;c[t>>2]=0;c[u>>2]=0;c[u+4>>2]=0;c[m>>2]=4;c[u>>2]=Ge(64672)|0;c[s>>2]=0;c[t>>2]=0;c[k>>2]=4;c[s>>2]=Ge(65376)|0;c[n>>2]=13;k=o+8|0;c[k>>2]=0;c[k+4>>2]=0;k=FW(24)|0;Qu(k,c[e>>2]|0);n=k+20|0;c[n>>2]=(c[n>>2]|0)+ -1;Tu(k,Ge(65384)|0,q);Tu(k,Ge(55944)|0,l);Kf(o,k)|0;c[p>>2]=13;k=j+8|0;c[k>>2]=0;c[k+4>>2]=0;k=FW(24)|0;Qu(k,c[e>>2]|0);q=k+20|0;c[q>>2]=(c[q>>2]|0)+ -1;Tu(k,Ge(64664)|0,o);Kf(j,k)|0;k=FW(24)|0;Qu(k,c[e>>2]|0);Tu(k,Ge(65280)|0,j);Px(d,k);if((k|0)==0){break}Su(k);HW(k)}}while(0);u=c[b+28>>2]|0;Tx(d,f,0,c[b+132>>2]|0,+h[u>>3],+h[u+8>>3],+h[u+16>>3],+h[u+24>>3]);if((a[r]&1)!=0){ux(d)}Of(f);i=g;return}function rs(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=i;m=i;i=i+8|0;n=i;i=i+8|0;h=n;p=i;i=i+16|0;j=p;k=i;i=i+16|0;d=k;o=i;i=i+16|0;g=o;c[p>>2]=13;l=j+8|0;c[l>>2]=0;c[l+4>>2]=0;do{if((c[(Yu(f,56120,j,0)|0)>>2]|0)==3){p=c[p>>2]|0;if((p|0)==3){n=c[l>>2]|0;p=FW(32)|0;ie(p,n);c[b+148>>2]=p;break}else{c[n>>2]=p;c[h+4>>2]=3;Qe(0,72520,h);tc()}}else{c[b+148>>2]=0}}while(0);Of(j);c[k>>2]=13;p=d+8|0;c[p>>2]=0;c[p+4>>2]=0;if((c[(Yu(f,65424,d,0)|0)>>2]|0)!=7){Qe(-1,65432,m);c[b+152>>2]=0;a[b+144|0]=0;Of(d);i=e;return}c[o>>2]=13;p=g+8|0;c[p>>2]=0;c[p+4>>2]=0;Yu(f,55424,g,0)|0;p=(c[o>>2]|0)==7;f=FW(104)|0;if(p){DF(f,d,g);c[b+152>>2]=f}else{CF(f,d);c[b+152>>2]=f}h=b+152|0;if((a[f]&1)==0){if((f|0)!=0){BF(f);HW(f)}c[h>>2]=0;a[b+144|0]=0}Of(g);Of(d);i=e;return}function ss(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;l=i;k=i;i=i+8|0;j=k;c[b>>2]=55512;h=b+8|0;c[h>>2]=13;c[b+16>>2]=0;c[b+20>>2]=0;c[b+64>>2]=13;c[b+72>>2]=0;c[b+76>>2]=0;c[b+96>>2]=13;c[b+104>>2]=0;c[b+108>>2]=0;m=b+145|0;do{if((c[g>>2]|0)==9){a[m]=1;m=c[g>>2]|0;if((m|0)==9){k=g+8|0;g=c[k+4>>2]|0;m=b+116|0;c[m>>2]=c[k>>2];c[m+4>>2]=g;break}else{c[k>>2]=m;c[j+4>>2]=9;Qe(0,72520,j);tc()}}else{a[m]=0}}while(0);c[b+48>>2]=0;m=b+24|0;c[m>>2]=0;Kf(h,e)|0;zr(b,d,e,f);c[b>>2]=65408;c[m>>2]=19;rs(b,0,0,e);i=l;return}function ts(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=65408;d=c[a+148>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+152>>2]|0;if((d|0)==0){Cr(a);HW(a);i=b;return}BF(d);HW(d);Cr(a);HW(a);i=b;return}function us(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=65408;d=c[a+148>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+152>>2]|0;if((d|0)==0){Cr(a);i=b;return}BF(d);HW(d);Cr(a);i=b;return}function vs(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0;g=i;s=i;i=i+8|0;t=s;q=i;i=i+8|0;r=q;o=i;i=i+8|0;p=o;m=i;i=i+8|0;n=m;y=i;i=i+8|0;w=y;C=i;i=i+8|0;B=C;H=i;i=i+8|0;I=H;L=i;i=i+8|0;M=L;R=i;i=i+8|0;O=R;T=i;i=i+8|0;U=T;V=i;i=i+8|0;W=V;Z=i;i=i+8|0;Y=Z;$=i;i=i+8|0;_=$;ba=i;i=i+8|0;aa=ba;ca=i;i=i+8|0;da=ca;ga=i;i=i+8|0;fa=ga;ia=i;i=i+8|0;ha=ia;ja=i;i=i+8|0;ka=ja;la=i;i=i+8|0;ma=la;oa=i;i=i+8|0;na=oa;qa=i;i=i+8|0;pa=qa;ta=i;i=i+8|0;sa=ta;ea=i;i=i+8|0;ua=ea;X=i;i=i+8|0;wa=X;J=i;i=i+16|0;f=J;P=i;i=i+16|0;j=P;va=i;i=i+16|0;ra=va;x=i;i=i+16|0;v=x;G=i;i=i+16|0;D=G;Q=i;i=i+16|0;F=Q;S=i;i=i+16|0;K=S;E=i;i=i+16|0;z=E;A=i;i=i+16|0;l=A;u=i;i=i+32|0;k=u;c[J>>2]=13;J=f+8|0;c[J>>2]=0;c[J+4>>2]=0;J=c[b+48>>2]|0;if((J&2|0)!=0){i=g;return}do{if(e){if((J&4|0)!=0){break}i=g;return}else{if((J&32|0)==0){break}i=g;return}}while(0);e=c[b+88>>2]|0;do{if((e|0)!=0){J=b+96|0;if((c[J>>2]|0)!=9){break}if(GF(e,J)|0){break}i=g;return}}while(0);e=b+64|0;do{if((c[e>>2]|0)==5){J=b+152|0;N=c[J>>2]|0;if((a[N+32|0]&1)==0){break}c[P>>2]=13;xa=j+8|0;c[xa>>2]=0;c[xa+4>>2]=0;Mf(N+16|0,j)|0;J=c[J>>2]|0;N=c[J+4>>2]|0;J=c[J+8>>2]|0;do{if(!((N|0)==-1|(J|0)==-1)){if((c[P>>2]|0)==13){break}xa=FW(32)|0;ee(xa);P=b+124|0;c[P>>2]=xa;ne(xa,56352,-1)|0;xa=c[P>>2]|0;c[X>>2]=N;c[wa+4>>2]=J;pe(xa,65448,wa)|0;ne(c[P>>2]|0,65472,-1)|0;ne(c[P>>2]|0,63808,-1)|0;c[va>>2]=13;wa=ra+8|0;c[wa>>2]=0;c[wa+4>>2]=0;X=b+112|0;Jf(ra,c[X>>2]|0)|0;va=c[va>>2]|0;if((va|0)!=7){c[ea>>2]=va;c[ua+4>>2]=7;Qe(0,72520,ua);tc()}Wu(c[wa>>2]|0,65488,j);c[x>>2]=13;ea=v+8|0;c[ea>>2]=0;c[ea+4>>2]=0;Jf(v,c[X>>2]|0)|0;ua=c[x>>2]|0;if((ua|0)!=7){c[ta>>2]=ua;c[sa+4>>2]=7;Qe(0,72520,sa);tc()}Wu(c[ea>>2]|0,56040,ra);c[G>>2]=13;ra=D+8|0;c[ra>>2]=0;c[ra+4>>2]=0;c[Q>>2]=13;sa=F+8|0;c[sa>>2]=0;va=sa+4|0;c[va>>2]=0;c[S>>2]=13;ua=K+8|0;c[ua>>2]=0;ta=ua+4|0;c[ta>>2]=0;Jf(D,c[X>>2]|0)|0;wa=c[(c[P>>2]|0)+24>>2]|0;c[va>>2]=0;c[Q>>2]=1;c[sa>>2]=wa;wa=c[G>>2]|0;if((wa|0)!=7){c[qa>>2]=wa;c[pa+4>>2]=7;Qe(0,72520,pa);tc()}Wu(c[ra>>2]|0,55936,F);c[sa>>2]=0;c[va>>2]=0;c[Q>>2]=4;c[sa>>2]=Ge(55952)|0;pa=c[G>>2]|0;if((pa|0)!=7){c[oa>>2]=pa;c[na+4>>2]=7;Qe(0,72520,na);tc()}Wu(c[ra>>2]|0,55944,F);c[sa>>2]=0;c[va>>2]=0;c[Q>>2]=4;c[sa>>2]=Ge(65496)|0;na=c[G>>2]|0;if((na|0)!=7){c[la>>2]=na;c[ma+4>>2]=7;Qe(0,72520,ma);tc()}Wu(c[ra>>2]|0,56208,F);If(F,c[X>>2]|0)|0;c[ta>>2]=0;c[S>>2]=1;c[ua>>2]=0;la=c[Q>>2]|0;if((la|0)!=6){c[ja>>2]=la;c[ka+4>>2]=6;Qe(0,72520,ka);tc()}tt(c[sa>>2]|0,K);c[ta>>2]=0;c[S>>2]=1;c[ua>>2]=0;ja=c[Q>>2]|0;if((ja|0)!=6){c[ia>>2]=ja;c[ha+4>>2]=6;Qe(0,72520,ha);tc()}tt(c[sa>>2]|0,K);c[ta>>2]=0;c[S>>2]=1;c[ua>>2]=N;ha=c[Q>>2]|0;if((ha|0)!=6){c[ga>>2]=ha;c[fa+4>>2]=6;Qe(0,72520,fa);tc()}tt(c[sa>>2]|0,K);c[ta>>2]=0;c[S>>2]=1;c[ua>>2]=J;fa=c[Q>>2]|0;if((fa|0)!=6){c[ca>>2]=fa;c[da+4>>2]=6;Qe(0,72520,dada(m,h)|0;p=0;while(1){m=f+(p+o<<2)|0;n=c[m>>2]|0;if((n|0)==0){break}p=p+1|0;if(!((n|0)!=(l|0)&p>>>0<h>>>0)){break a}}c[m>>2]=l}else{Jt(b,k+d<<8,c[e+(k<<3)+4>>2]|0,f,g,h)}}while(0);k=k+1|0;}while((k|0)<256);i=j;return}function Kt(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;Jt(a,0,c[a+12>>2]|0,b,d,e);i=f;return}function Lt(a){a=a|0;var b=0;b=i;bX(a|0,0,16)|0;i=b;return}function Mt(a){a=a|0;var b=0,d=0;b=i;d=c[a>>2]|0;if((d|0)!=0){Gt(d)}d=c[a+4>>2]|0;if((d|0)!=0){Gt(d)}d=c[a+8>>2]|0;if((d|0)!=0){Gt(d)}a=c[a+12>>2]|0;if((a|0)==0){i=b;return}Gt(a);i=b;return}function Nt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;c[a+4>>2]=d;c[a>>2]=b;c[a+12>>2]=0;h=FW(12)|0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;g=a+16|0;c[g>>2]=h;h=a+8|0;c[h>>2]=0;b=sd[c[(c[b>>2]|0)+8>>2]&127](b,d,a)|0;c[h>>2]=b;c[a+20>>2]=1;g=c[g>>2]|0;b=(b>>>13)+1|0;d=g+4|0;a=c[d>>2]|0;h=c[g>>2]|0;f=(a-h|0)/8196|0;if(f>>>0<b>>>0){Yt(g,b-f|0);i=e;return}if(f>>>0<=b>>>0){i=e;return}b=h+(b*8196|0)|0;if((b|0)==(a|0)){i=e;return}c[d>>2]=a+(~(((a+ -8196+(0-b)|0)>>>0)/8196|0)*8196|0);i=e;return}function Ot(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=c[a+4>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a>>2]|0;if((d|0)!=0){fd[c[(c[d>>2]|0)+4>>2]&511](d)}a=c[a+16>>2]|0;if((a|0)==0){i=b;return}d=c[a>>2]|0;if((d|0)!=0){e=a+4|0;f=c[e>>2]|0;if((d|0)!=(f|0)){c[e>>2]=f+(~(((f+ -8196+(0-d)|0)>>>0)/8196|0)*8196|0)}HW(d)}HW(a);i=b;return}function Pt(a){a=a|0;a=a+20|0;c[a>>2]=(c[a>>2]|0)+1;i=i;return}function Qt(a){a=a|0;var b=0,d=0,e=0;b=i;e=a+20|0;d=(c[e>>2]|0)+ -1|0;c[e>>2]=d;if((d|0)!=0|(a|0)==0){i=b;return}Ot(a);HW(a);i=b;return}function Rt(a){a=a|0;i=i;return c[a+12>>2]|0}function St(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;if((d|0)==0){c[a+12>>2]=b}else if((d|0)==1){d=a+12|0;b=(c[d>>2]|0)+b|0;c[d>>2]=b}else{b=(c[a+8>>2]|0)+b|0;c[a+12>>2]=b}if(b>>>0<=(c[a+8>>2]|0)>>>0){d=0;i=e;return d|0}c[a+12>>2]=0;d=1;i=e;return d|0}function Tt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;e=i;f=i;i=i+16|0;o=f;h=i;i=i+16|0;q=h;k=i;i=i+16|0;x=k;n=i;i=i+16|0;p=n;c[f>>2]=0;d=o+4|0;c[d>>2]=0;m=o+8|0;c[m>>2]=0;v=a+8|0;u=c[v>>2]|0;t=u>>>13;r=t+1|0;g=FW((u>>>18<<2)+4|0)|0;s=r>>>5;bX(g|0,0,s<<2|0)|0;j=s<<5;if((j|0)!=(r|0)){C=g+(s<<2)|0;c[C>>2]=c[C>>2]&~(-1>>>(31-t+j|0))}c[h>>2]=0;j=q+4|0;c[j>>2]=0;t=q+8|0;c[t>>2]=0;c[k>>2]=0;s=x+4|0;c[s>>2]=0;y=x+8|0;c[y>>2]=0;w=c[b+4>>2]|0;if((c[b>>2]|0)==(w|0)){w=FW(8)|0;if((w|0)!=0){C=w;c[C>>2]=0;c[C+4>>2]=u}C=w+8|0;c[k>>2]=w;c[s>>2]=C;c[y>>2]=w+8;u=C;w=C}else{u=0;x=b}b=0;do{C=g+(b>>>5<<2)|0;c[C>>2]=c[C>>2]&~(1<<(b&31));b=b+1|0;}while((b|0)<(r|0));b=c[x>>2]|0;if((w|0)==(b|0)){v=0}else{x=a+16|0;y=0;while(1){B=c[b+(y<<3)+4>>2]|0;a:do{if((B|0)!=0){z=c[b+(y<<3)>>2]|0;A=c[v>>2]|0;if(z>>>0>=A>>>0){break}B=B+ -1+z|0;z=z>>>13;A=(B>>>0<A>>>0?B:A+ -1|0)>>>13;if(z>>>0>A>>>0){break}B=c[x>>2]|0;while(1){if((c[(c[B>>2]|0)+(z*8196|0)>>2]|0)==0){C=g+(z>>>5<<2)|0;c[C>>2]=c[C>>2]|1<<(z&31)}if((z|0)>=(A|0)){break a}z=z+1|0}}}while(0);y=y+1|0;if(y>>>0>=w-b>>3>>>0){v=0;break}}}b:while(1){if((1<<(v&31)&c[g+(v>>>5<<2)>>2]|0)==0){v=v+1|0;if((v|0)==(r|0)){l=66;break}else{continue}}if((v|0)==(r|0)){l=66;break}x=c[d>>2]|0;do{if((x|0)==(c[m>>2]|0)){w=c[f>>2]|0;b=x-w|0;y=b>>2;x=y+1|0;if(x>>>0>1073741823){l=28;break b}if(y>>>0>536870910){A=1073741823;l=31}else{z=b>>1;A=z>>>0<x>>>0?x:z;if((A|0)==0){z=0;A=0}else{l=31}}if((l|0)==31){l=0;z=FW(A<<2)|0}y=z+(y<<2)|0;if((y|0)!=0){c[y>>2]=v}$W(z|0,w|0,b|0)|0;c[f>>2]=z;c[d>>2]=z+(x<<2);c[m>>2]=z+(A<<2);if((w|0)==0){break}HW(w)}else{if((x|0)==0){w=0}else{c[x>>2]=v;w=c[d>>2]|0}c[d>>2]=w+4}}while(0);w=v+1|0;c:do{if((w|0)==(r|0)){b=v;w=r}else{b=v;while(1){if((c[g+(w>>>5<<2)>>2]&1<<(w&31)|0)==0){break c}b=c[d>>2]|0;do{if((b|0)==(c[m>>2]|0)){x=c[f>>2]|0;b=b-x|0;z=b>>2;y=z+1|0;if(y>>>0>1073741823){l=44;break b}if(z>>>0>536870910){B=1073741823;l=47}else{A=b>>1;B=A>>>0<y>>>0?y:A;if((B|0)==0){A=0;B=0}else{l=47}}if((l|0)==47){l=0;A=FW(B<<2)|0}z=A+(z<<2)|0;if((z|0)!=0){c[z>>2]=w}$W(A|0,x|0,b|0)|0;c[f>>2]=A;c[d>>2]=A+(y<<2);c[m>>2]=A+(B<<2);if((x|0)==0){break}HW(x)}else{if((b|0)==0){x=0}else{c[b>>2]=w;x=c[d>>2]|0}c[d>>2]=x+4}}while(0);x=w+1|0;if((x|0)==(r|0)){b=w;w=r;break}else{b=w;w=x}}}}while(0);x=v<<13;v=(b-v<<13)+8192|0;y=c[j>>2]|0;do{if((y|0)==(c[t>>2]|0)){b=c[h>>2]|0;z=y-b|0;A=z>>3;y=A+1|0;if(y>>>0>536870911){l=58;break b}if(A>>>0>268435454){C=536870911;l=61}else{B=z>>2;C=B>>>0<y>>>0?y:B;if((C|0)==0){B=0;C=0}else{l=61}}if((l|0)==61){l=0;B=FW(C<<3)|0}A=B+(A<<3)|0;if((A|0)!=0){c[A>>2]=x;c[A+4>>2]=v}$W(B|0,b|0,z|0)|0;c[h>>2]=B;c[j>>2]=B+(y<<3);c[t>>2]=B+(C<<3);if((b|0)==0){break}HW(b)}else{if((y|0)==0){v=0}else{C=y;c[C>>2]=x;c[C+4>>2]=v;v=c[j>>2]|0}c[j>>2]=v+8}}while(0);if((w|0)<(r|0)){v=w}else{l=66;break}}if((l|0)==28){wn(0)}else if((l|0)==44){wn(0)}else if((l|0)==58){wn(0)}else if((l|0)==66){if((c[j>>2]|0)==(c[h>>2]|0)){a=0}else{c[n>>2]=a;c[p+4>>2]=o;c[p+12>>2]=0;c[p+8>>2]=c[f>>2];a=c[a>>2]|0;a=sd[c[(c[a>>2]|0)+12>>2]&127](a,q,p)|0}k=c[k>>2]|0;if((k|0)!=0){if((k|0)!=(u|0)){c[s>>2]=u+(~((u+ -8+(0-k)|0)>>>3)<<3)}HW(k)}h=c[h>>2]|0;if((h|0)!=0){k=c[j>>2]|0;if((h|0)!=(k|0)){c[j>>2]=k+(~((k+ -8+(0-h)|0)>>>3)<<3)}HW(h)}if((g|0)!=0){HW(g)}f=c[f>>2]|0;if((f|0)==0){i=e;return a|0}g=c[d>>2]|0;if((f|0)!=(g|0)){c[d>>2]=g+(~((g+ -4+(0-f)|0)>>>2)<<2)}HW(f);i=e;return a|0}return 0}function Ut(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;f=i;g=i;i=i+16|0;h=g;j=da(e,d)|0;e=c[a+8>>2]|0;d=a+12|0;k=c[d>>2]|0;e=e>>>0<(k+j|0)>>>0?e-k|0:j;if((e|0)==0){n=0;i=f;return n|0}c[g>>2]=0;j=h+4|0;c[j>>2]=0;m=h+8|0;c[m>>2]=0;l=FW(8)|0;n=l+8|0;if((l|0)!=0){o=l;c[o>>2]=k;c[o+4>>2]=e}c[g>>2]=l;c[j>>2]=n;c[m>>2]=n;h=Tt(a,h)|0;k=c[g>>2]|0;if((k|0)!=0){g=c[j>>2]|0;if((k|0)!=(g|0)){c[j>>2]=g+(~((g+ -8+(0-k)|0)>>>3)<<3)}HW(k)}if((h|0)!=0){o=0;i=f;return o|0}a=a+16|0;g=c[d>>2]|0;h=e;while(1){k=g&8191;j=8192-k|0;j=j>>>0>h>>>0?h:j;$W(b|0,(c[c[a>>2]>>2]|0)+((g>>>13)*8196|0)+4+k|0,j|0)|0;g=(c[d>>2]|0)+j|0;c[d>>2]=g;if((h|0)==(j|0)){break}else{h=h-j|0;b=b+j|0}}i=f;return e|0}function Vt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;c[a>>2]=b;c[a+4>>2]=d;if((d|0)==0){i=e;return}c[a+12>>2]=0;c[a+8>>2]=c[d>>2];i=e;return}function Wt(a){a=a|0;i=i;return}function Xt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;e=i;if((d|0)==0){r=0;i=e;return r|0}h=a+4|0;g=a+12|0;j=a+8|0;k=0;while(1){l=c[h>>2]|0;if((l|0)==0){m=c[a>>2]|0;l=m+8|0;c[g>>2]=c[l>>2]&8191;l=(c[l>>2]|0)>>>13}else{m=c[j>>2]|0;if((c[g>>2]|0)==8192){m=m+4|0;c[j>>2]=m;if((m|0)==(c[l+4>>2]|0)){f=23;break}c[g>>2]=0;l=m}else{l=m}m=c[a>>2]|0;l=c[l>>2]|0}q=c[m+16>>2]|0;m=q+4|0;n=c[m>>2]|0;p=c[q>>2]|0;r=(n-p|0)/8196|0;do{if(l>>>0>=r>>>0){o=l+1|0;if(r>>>0<o>>>0){Yt(q,o-r|0);break}if(r>>>0<=o>>>0){break}o=p+(o*8196|0)|0;if((o|0)==(n|0)){break}c[m>>2]=n+(~(((n+ -8196+(0-o)|0)>>>0)/8196|0)*8196|0)}}while(0);n=c[g>>2]|0;m=8192-n|0;m=d>>>0>=m>>>0?m:d;$W((c[c[(c[a>>2]|0)+16>>2]>>2]|0)+(l*8196|0)+4+n|0,b|0,m|0)|0;n=(c[g>>2]|0)+m|0;c[g>>2]=n;k=m+k|0;if((c[h>>2]|0)==0){n=(c[a>>2]|0)+8|0;c[n>>2]=(c[n>>2]|0)+m;n=c[g>>2]|0}if((n|0)==8192){c[(c[c[(c[a>>2]|0)+16>>2]>>2]|0)+(l*8196|0)>>2]=1}if((d|0)==(m|0)){break}else{b=b+m|0;d=d-m|0}}if((f|0)==23){i=e;return k|0}f=c[a>>2]|0;g=c[f+8>>2]|0;if((l|0)!=(g>>>13|0)){r=k;i=e;return r|0}if((c[a+12>>2]|0)!=(g&8191|0)){r=k;i=e;return r|0}c[(c[c[f+16>>2]>>2]|0)+(l*8196|0)>>2]=1;r=k;i=e;return r|0}function Yt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;f=a+8|0;k=c[f>>2]|0;d=a+4|0;g=c[d>>2]|0;if(((k-g|0)/8196|0)>>>0>=b>>>0){do{if((g|0)==0){f=0}else{bX(g|0,0,8196)|0;f=c[d>>2]|0}g=f+8196|0;c[d>>2]=g;b=b+ -1|0;}while((b|0)!=0);i=e;return}l=c[a>>2]|0;g=(g-l|0)/8196|0;j=g+b|0;if(j>>>0>524032){wn(0)}k=(k-l|0)/8196|0;if(k>>>0>262015){k=524032;h=9}else{k=k<<1;k=k>>>0<j>>>0?j:k;if((k|0)==0){j=0;k=0}else{h=9}}if((h|0)==9){j=FW(k*8196|0)|0}h=j+(g*8196|0)|0;do{if((h|0)==0){h=0}else{bX(h|0,0,8196)|0}h=h+8196|0;b=b+ -1|0;}while((b|0)!=0);b=c[a>>2]|0;m=(c[d>>2]|0)-b|0;l=j+((((m|0)/-8196|0)+g|0)*8196|0)|0;$W(l|0,b|0,m|0)|0;c[a>>2]=l;c[d>>2]=h;c[f>>2]=j+(k*8196|0);if((b|0)==0){i=e;return}HW(b);i=e;return}function Zt(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;f=i;n=i;i=i+8|0;o=n;v=i;i=i+8|0;p=v;x=i;i=i+8|0;y=x;B=i;i=i+8|0;C=B;E=i;i=i+8|0;r=i;i=i+16|0;e=r;A=i;i=i+16|0;q=A;z=i;i=i+16|0;s=z;D=i;i=i+16|0;l=D;c[b+48>>2]=13;j=b+56|0;c[j>>2]=0;c[j+4>>2]=0;c[b+64>>2]=13;j=b+72|0;c[j>>2]=0;c[j+4>>2]=0;c[b+96>>2]=13;j=b+104|0;c[j>>2]=0;c[j+4>>2]=0;c[b+112>>2]=13;j=b+120|0;c[j>>2]=0;c[j+4>>2]=0;c[b+128>>2]=13;j=b+136|0;c[j>>2]=0;c[j+4>>2]=0;j=b+144|0;c[j>>2]=13;m=b+152|0;c[m>>2]=0;c[m+4>>2]=0;c[r>>2]=13;m=e+8|0;c[m>>2]=0;c[m+4>>2]=0;c[A>>2]=13;w=q+8|0;c[w>>2]=0;c[w+4>>2]=0;c[z>>2]=13;t=s+8|0;c[t>>2]=0;c[t+4>>2]=0;c[D>>2]=13;D=l+8|0;c[D>>2]=0;c[D+4>>2]=0;D=b+164|0;a[D]=1;c[b>>2]=d;c[b+4>>2]=0;c[b+8>>2]=0;c[b+36>>2]=-1;c[b+40>>2]=0;u=b+92|0;c[u>>2]=0;c[b+168>>2]=0;h=b+32|0;c[h>>2]=0;k=b+160|0;c[k>>2]=0;c[b+172>>2]=6;c[b+176>>2]=7;c[b+80>>2]=0;c[b+84>>2]=0;c[b+88>>2]=0;bX(b+12|0,0,20)|0;_m(d,c[d+20>>2]|0,c[d+24>>2]|0,e,0)|0;if((c[r>>2]|0)!=7){c[E>>2]=Pf(e)|0;Qe(-1,130568,E);Of(e);a[D]=0;i=f;return}Yu(c[m>>2]|0,130608,j,0)|0;d=c[r>>2]|0;if((d|0)!=7){c[B>>2]=d;c[C+4>>2]=7;Qe(0,131112,C);tc()}if((c[(Yu(c[m>>2]|0,130624,q,0)|0)>>2]|0)==7){A=c[A>>2]|0;if((A|0)!=7){c[x>>2]=A;c[y+4>>2]=7;Qe(0,131112,y);tc()}do{if((c[(Yu(c[w>>2]|0,130632,s,0)|0)>>2]|0)==3){w=c[z>>2]|0;if((w|0)==3){D=c[t>>2]|0;E=FW(32)|0;ie(E,D);c[u>>2]=E;break}else{c[v>>2]=w;c[p+4>>2]=3;Qe(0,131112,p);tc()}}}while(0);Of(s)}Of(q);p=c[r>>2]|0;if((p|0)!=7){c[n>>2]=p;c[o+4>>2]=7;Qe(0,131112,o);tc()}do{if((c[(Yu(c[m>>2]|0,130640,l,0)|0)>>2]|0)==7){m=FW(48)|0;EF(m,l,c[b>>2]|0);c[k>>2]=m;if((a[m]&1)!=0){break}if((m|0)!=0){FF(m);HW(m)}c[k>>2]=0}}while(0);Of(l);k=c[h>>2]|0;do{if((k|0)==0){if((c[j>>2]|0)!=7){break}k=FW(24)|0;Lv(k,c[b>>2]|0,j);c[h>>2]=k;if((k|0)!=0){g=23}}else{g=23}}while(0);if((g|0)==23){Ov(k)}Of(e);i=f;return}function _t(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=a+32|0;e=c[d>>2]|0;if((e|0)!=0){i=b;return e|0}e=a+144|0;if((c[e>>2]|0)!=7){e=0;i=b;return e|0}f=FW(24)|0;Lv(f,c[a>>2]|0,e);c[d>>2]=f;e=f;i=b;return e|0}function $t(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0;b=i;f=c[a+28>>2]|0;if((f|0)!=0){g=c[f>>2]|0;if((g|0)!=0){e=f+4|0;d=c[e>>2]|0;if((g|0)!=(d|0)){c[e>>2]=d+(~((d+ -4+(0-g)|0)>>>2)<<2)}HW(g)}HW(f)}d=a+24|0;h=c[d>>2]|0;do{if((h|0)!=0){f=c[h>>2]|0;g=h+4|0;e=c[g>>2]|0;if(f>>>0<e>>>0){e=h;while(1){g=c[f>>2]|0;if((g|0)==0){h=e}else{jg(g);HW(g);h=c[d>>2]|0}f=f+4|0;g=h+4|0;e=c[g>>2]|0;if(f>>>0<e>>>0){e=h}else{break}}if((h|0)==0){break}else{d=h}}else{d=h}f=c[d>>2]|0;if((f|0)!=0){if((f|0)!=(e|0)){c[g>>2]=e+(~((e+ -4+(0-f)|0)>>>2)<<2)}HW(f)}HW(d)}}while(0);f=c[a+20>>2]|0;if((f|0)!=0){e=c[f>>2]|0;if((e|0)!=0){d=f+4|0;g=c[d>>2]|0;if((e|0)!=(g|0)){c[d>>2]=g+(~((g+ -8+(0-e)|0)>>>3)<<3)}HW(e)}HW(f)}d=a+16|0;h=c[d>>2]|0;do{if((h|0)!=0){g=c[h>>2]|0;f=h+4|0;e=c[f>>2]|0;if(g>>>0<e>>>0){do{j=(c[g>>2]|0)+20|0;k=(c[j>>2]|0)+ -1|0;c[j>>2]=k;do{if((k|0)==0){e=c[g>>2]|0;if((e|0)==0){break}Su(e);HW(e)}}while(0);g=g+4|0;h=c[d>>2]|0;f=h+4|0;e=c[f>>2]|0;}while(g>>>0<e>>>0);if((h|0)==0){break}else{d=h}}else{d=h}g=c[d>>2]|0;if((g|0)!=0){if((g|0)!=(e|0)){c[f>>2]=e+(~((e+ -4+(0-g)|0)>>>2)<<2)}HW(g)}HW(d)}}while(0);e=a+4|0;h=c[e>>2]|0;if((h|0)!=0){d=a+40|0;f=c[d>>2]|0;if((f|0)>0){g=0;do{j=c[h+(g<<2)>>2]|0;if((j|0)!=0){lg(j);HW(j);h=c[e>>2]|0;f=c[d>>2]|0}g=g+1|0;}while((g|0)<(f|0))}Fe(h);Fe(c[a+8>>2]|0)}Of(a+64|0);Of(a+48|0);d=c[a+80>>2]|0;if((d|0)!=0){e=d+16|0;g=c[e>>2]|0;f=d+8|0;j=c[f>>2]|0;if((g|0)>0){h=0;do{k=c[j+(h<<2)>>2]|0;if((k|0)!=0){Of(k+32|0);ke(k);HW(k);j=c[f>>2]|0;g=c[e>>2]|0}h=h+1|0;}while((h|0)<(g|0))}Fe(j);HW(d)}d=c[a+84>>2]|0;if((d|0)!=0){e=d+16|0;g=c[e>>2]|0;f=d+8|0;j=c[f>>2]|0;if((g|0)>0){h=0;do{k=c[j+(h<<2)>>2]|0;if((k|0)!=0){Of(k+32|0);ke(k);HW(k);j=c[f>>2]|0;g=c[e>>2]|0}h=h+1|0;}while((h|0)<(g|0))}Fe(j);HW(d)}d=c[a+88>>2]|0;if((d|0)!=0){f=d+16|0;g=c[f>>2]|0;e=d+8|0;j=c[e>>2]|0;if((g|0)>0){h=0;do{k=c[j+(h<<2)>>2]|0;if((k|0)!=0){Of(k+32|0);ke(k);HW(k);j=c[e>>2]|0;g=c[f>>2]|0}h=h+1|0;}while((h|0)<(g|0))}Fe(j);HW(d)}d=c[a+92>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+168>>2]|0;if((d|0)!=0){$F(d);HW(d)}d=c[a+32>>2]|0;if((d|0)!=0){Mv(d);HW(d)}d=c[a+160>>2]|0;if((d|0)==0){k=a+96|0;Of(k);k=a+112|0;Of(k);k=a+128|0;Of(k);k=a+144|0;Of(k);i=b;return}FF(d);HW(d);k=a+96|0;Of(k);k=a+112|0;Of(k);k=a+128|0;Of(k);k=a+144|0;Of(k);i=b;return}function au(a,b){a=a|0;b=b|0;var d=0;d=i;if((b|0)<1){b=0;i=d;return b|0}do{if((c[a+12>>2]|0)<(b|0)){if(bu(a,b)|0){break}else{a=0}i=d;return a|0}}while(0);b=c[(c[a+4>>2]|0)+(b+ -1<<2)>>2]|0;i=d;return b|0}function bu(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0;f=i;E=i;i=i+8|0;F=E;$=i;i=i+8|0;h=$;Z=i;i=i+8|0;_=Z;X=i;i=i+8|0;Y=X;V=i;i=i+8|0;W=V;T=i;i=i+8|0;U=T;S=i;i=i+8|0;g=S;R=i;i=i+8|0;P=i;i=i+8|0;Q=P;N=i;i=i+8|0;O=N;L=i;i=i+8|0;M=L;J=i;i=i+8|0;K=J;H=i;i=i+8|0;I=H;p=i;i=i+8|0;n=i;i=i+8|0;o=n;k=i;i=i+8|0;l=k;ma=i;i=i+8|0;la=ma;ha=i;i=i+8|0;ia=ha;ra=i;i=i+8|0;oa=i;i=i+8|0;pa=oa;wa=i;i=i+8|0;va=wa;za=i;i=i+8|0;ya=za;G=i;i=i+8|0;ea=G;qa=i;i=i+16|0;na=qa;sa=i;i=i+8|0;fa=sa;xa=i;i=i+16|0;ta=xa;ka=i;i=i+16|0;ga=ka;da=i;i=i+8|0;ca=dada>>2]=fa;da=c[ea>>2]|0;if((da|0)==(c[Aa>>2]|0)){fu(ga,ca)}else{if((da|0)==0){ca=0}else{c[da>>2]=fa;ca=c[ea>>2]|0}c[ea>>2]=ca+4}Aa=FW(12)|0;c[Aa>>2]=0;c[Aa+4>>2]=0;c[Aa+8>>2]=0;c[b+28>>2]=Aa;c[ba>>2]=0;eu(Aa,aa);c[b+12>>2]=0;ba=0;break a}}while(0);Qe(-1,130664,ra);Of(ta);Aa=0;i=f;return Aa|0}else{ba=c[b+12>>2]|0}}while(0);aa=b+12|0;if((ba|0)>=(d|0)){Aa=1;i=f;return Aa|0}fa=j+8|0;na=fa+4|0;ja=b+28|0;ea=m+8|0;ba=ea+4|0;ha=b+20|0;ca=s+8|0;da=ca+4|0;ga=b+24|0;ia=b+32|0;ka=b+36|0;la=b+4|0;ma=b+8|0;b:while(1){Aa=c[y>>2]|0;oa=c[Aa+4>>2]|0;if((c[Aa>>2]|0)==(oa|0)){g=0;e=98;break}Aa=c[oa+ -4>>2]|0;c[G>>2]=Aa;c[r>>2]=13;c[fa>>2]=0;c[na>>2]=0;Yu(Aa,130776,j,0)|0;if((c[r>>2]|0)!=6){e=29;break}oa=c[(c[(c[ja>>2]|0)+4>>2]|0)+ -4>>2]|0;pa=c[fa>>2]|0;c:do{if((oa|0)<(c[pa+12>>2]|0)){c[v>>2]=13;c[ea>>2]=0;c[ba>>2]=0;vt(pa,oa,m)|0;if((c[v>>2]|0)!=9){e=44;break b}qa=c[ha>>2]|0;pa=c[qa+4>>2]|0;qa=c[qa>>2]|0;d:do{if((pa|0)!=(qa|0)){ra=0;while(1){sa=ra+1|0;if((c[qa+(ra<<3)>>2]|0)==(c[ea>>2]|0)){break}if(sa>>>0<pa-qa>>3>>>0){ra=sa}else{break d}}Qe(-1,130888,p);Of(m);Of(j);Aa=(c[(c[ja>>2]|0)+4>>2]|0)+ -4|0;c[Aa>>2]=(c[Aa>>2]|0)+1;break c}}while(0);c[q>>2]=13;c[ca>>2]=0;c[da=a+16|0;j=c[g>>2]|0;a:do{if((j|0)>0){l=c[a+12>>2]|0;h=0;while(1){k=h+1|0;if((c[l+(h*12|0)>>2]|0)==(b|0)){break}if((k|0)<(j|0)){h=k}else{h=k;break a}}Fe(c[l+(h*12|0)+4>>2]|0);j=c[g>>2]|0}else{h=0}}while(0);if((h|0)==(j|0)){k=a+20|0;if((j|0)==(c[k>>2]|0)){l=j+8|0;c[k>>2]=l;j=a+12|0;c[j>>2]=Ce(c[j>>2]|0,l,12)|0;j=c[g>>2]|0}c[g>>2]=j+1}c[(c[a+4>>2]|0)+(b<<2)>>2]=0;a=a+12|0;c[(c[a>>2]|0)+(h*12|0)>>2]=b;c[(c[a>>2]|0)+(h*12|0)+8>>2]=e;l=ye(e,4)|0;c[(c[a>>2]|0)+(h*12|0)+4>>2]=l;if((e|0)>0){b=0}else{i=f;return}do{c[(c[(c[a>>2]|0)+(h*12|0)+4>>2]|0)+(b<<2)>>2]=c[d+(b<<2)>>2];b=b+1|0;}while((b|0)<(e|0));i=f;return}function wu(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=i;if((c[a+8>>2]|0)>>>0<=b>>>0){h=0;i=f;return h|0}g=(c[a+4>>2]|0)+(b<<2)|0;if((c[g>>2]|0)!=0){c[d>>2]=g;h=1;i=f;return h|0}g=a+12|0;h=c[a+16>>2]|0;while(1){a=h+ -1|0;if((h|0)<=0){d=0;e=8;break}h=c[g>>2]|0;if((c[h+(a*12|0)>>2]|0)==(b|0)){break}else{h=a}}if((e|0)==8){i=f;return d|0}c[d>>2]=c[h+(a*12|0)+4>>2];h=c[(c[g>>2]|0)+(a*12|0)+8>>2]|0;i=f;return h|0}function xu(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;if((e|0)==1){g=c[a+8>>2]|0;a:do{if((g|0)!=0){e=c[a+4>>2]|0;a=c[b>>2]|0;h=0;while(1){b=h+1|0;if((c[e+(h<<2)>>2]|0)==(a|0)){break}if(b>>>0<g>>>0){h=b}else{break a}}c[d>>2]=h;h=1;i=f;return h|0}}while(0);c[d>>2]=120;h=0;i=f;return h|0}b=c[a+16>>2]|0;if((b|0)<=0){h=0;i=f;return h|0}a=c[a+12>>2]|0;h=0;while(1){if((c[a+(h*12|0)+8>>2]|0)==(e|0)){if((((e|0)>0?e:0)|0)==(e|0)){break}}h=h+1|0;if((h|0)>=(b|0)){d=0;g=14;break}}if((g|0)==14){i=f;return d|0}c[d>>2]=c[a+(h*12|0)>>2];h=1;i=f;return h|0}function yu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;e=a+4|0;c[e>>2]=b;b=ye(b,4)|0;c[a>>2]=b;if((c[e>>2]|0)>0){f=0}else{i=d;return}while(1){c[b+(f<<2)>>2]=0;f=f+1|0;if((f|0)>=(c[e>>2]|0)){break}b=c[a>>2]|0}i=d;return}function zu(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;b=i;d=a+4|0;f=c[a>>2]|0;if((c[d>>2]|0)>0){e=0}else{Fe(f);i=b;return}do{f=c[f+(e<<2)>>2]|0;do{if((f|0)!=0){h=f+28|0;Ub(h|0)|0;j=f+24|0;g=(c[j>>2]|0)+ -1|0;c[j>>2]=g;Mc(h|0)|0;if((g|0)!=0){break}su(f);HW(f)}}while(0);e=e+1|0;f=c[a>>2]|0}while((e|0)<(c[d>>2]|0));Fe(f);i=b;return}function Au(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;f=c[c[a>>2]>>2]|0;do{if((f|0)!=0){f=c[f>>2]|0;if((f|0)==0){break}if((se(f,b)|0)!=0){break}h=c[c[a>>2]>>2]|0;j=h+28|0;Ub(j|0)|0;h=h+24|0;c[h>>2]=(c[h>>2]|0)+1;Mc(j|0)|0;j=c[c[a>>2]>>2]|0;i=d;return j|0}}while(0);g=a+4|0;h=c[g>>2]|0;if((h|0)>1){f=1}else{j=0;i=d;return j|0}a:while(1){j=c[(c[a>>2]|0)+(f<<2)>>2]|0;do{if((j|0)!=0){j=c[j>>2]|0;if((j|0)==0){break}if((se(j,b)|0)==0){break a}h=c[g>>2]|0}}while(0);f=f+1|0;if((f|0)>=(h|0)){a=0;e=14;break}}if((e|0)==14){i=d;return a|0}b=c[a>>2]|0;e=c[b+(f<<2)>>2]|0;if((f|0)>0){while(1){g=f+ -1|0;c[b+(f<<2)>>2]=c[b+(g<<2)>>2];b=c[a>>2]|0;if((g|0)>0){f=g}else{break}}}c[b>>2]=e;j=e+28|0;Ub(j|0)|0;h=e+24|0;c[h>>2]=(c[h>>2]|0)+1;Mc(j|0)|0;j=e;i=d;return j|0}function Bu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i;e=a+4|0;f=c[(c[a>>2]|0)+((c[e>>2]|0)+ -1<<2)>>2]|0;do{if((f|0)!=0){h=f+28|0;Ub(h|0)|0;j=f+24|0;g=(c[j>>2]|0)+ -1|0;c[j>>2]=g;Mc(h|0)|0;if((g|0)!=0){break}su(f);HW(f)}}while(0);f=c[e>>2]|0;e=f+ -1|0;if((e|0)>0){while(1){g=c[a>>2]|0;c[g+(e<<2)>>2]=c[g+(f+ -2<<2)>>2];g=e+ -1|0;if((g|0)>0){f=e;e=g}else{break}}}c[c[a>>2]>>2]=b;j=b+28|0;Ub(j|0)|0;h=b+24|0;c[h>>2]=(c[h>>2]|0)+1;Mc(j|0)|0;i=d;return}function Cu(b,e,f,g,h,j,k,l,m,n,o,p){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;b=i;x=i;i=i+32|0;s=x;v=i;i=i+32|0;q=v;r=i;i=i+256|0;t=i;i=i+16|0;a[p]=0;do{if((l|0)!=0){w=c[l+24>>2]|0;l=c[l+28>>2]|0;if((w|0)<32){$W(x|0,l|0,w|0)|0;$W(s+w|0,131712,32-w|0)|0}else{$W(x|0,l|0,32)|0}Du(s,32,s);if((e|0)==3){u=0;while(1){Du(s,f,s);u=u+1|0;if((u|0)<50){}else{u=12;break}}}else if((e|0)==2){t=0;do{a[r+t|0]=t;t=t+1|0;}while((t|0)<256);if((f|0)!=0){v=0;t=0;w=0;while(1){t=t&255;l=r+v|0;x=a[l]|0;w=(d[s+t|0]|0)+(w&255)+(x&255)|0;y=r+(w&255)|0;a[l]=a[y]|0;a[y]=x;v=v+1|0;if((v|0)<256){w=w&255;t=((t+1|0)%(f|0)|0)&255}else{break}}}s=c[g+28>>2]|0;t=0;v=0;w=0;while(1){y=a[s+w|0]|0;v=(v&255)+1|0;B=r+(v&255)|0;A=a[B]|0;x=A&255;t=x+(t&255)|0;z=r+(t&255)|0;l=a[z]|0;a[B]=l;a[z]=A;a[q+w|0]=a[r+((l&255)+x&255)|0]^y;w=w+1|0;if((w|0)<32){v=v&255;t=t&255}else{break}}}else{u=12}if((u|0)==12){$W(v|0,c[g+28>>2]|0,32)|0;u=(f|0)>0;v=(f|0)==0;w=19;while(1){if(u){l=0;while(1){a[t+l|0]=(d[s+l|0]|0)^w;l=l+1|0;if((l|0)<(f|0)){}else{l=0;break}}}else{l=0}do{a[r+l|0]=l;l=l+1|0;}while((l|0)<256);if(v){x=0;l=0;y=0}else{l=0;x=0;y=0;while(1){x=x&255;z=r+l|0;A=a[z]|0;y=(d[t+x|0]|0)+(y&255)+(A&255)|0;B=r+(y&255)|0;a[z]=a[B]|0;a[B]=A;l=l+1|0;if((l|0)<256){y=y&255;x=((x+1|0)%(f|0)|0)&255}else{x=0;l=0;y=0;break}}}while(1){B=q+y|0;A=a[B]|0;l=(l&255)+1|0;F=r+(l&255)|0;E=a[F]|0;z=E&255;x=z+(x&255)|0;D=r+(x&255)|0;C=a[D]|0;a[F]=C;a[D]=E;a[B]=a[r+((C&255)+z&255)|0]^A;y=y+1|0;if((y|0)<32){l=l&255;x=x&255}else{break}}if((w|0)>0){w=w+ -1|0}else{break}}}r=FW(32)|0;ge(r,q,32);if(!(Eu(0,e,f,g,h,j,k,r,n,o)|0)){if((r|0)==0){break}ke(r);HW(r);break}a[p]=1;if((r|0)==0){F=1;i=b;return F|0}ke(r);HW(r);F=1;i=b;return F|0}}while(0);F=Eu(0,e,f,g,h,j,k,m,n,o)|0;i=b;return F|0}function Du(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0;A=i;j=i;i=i+64|0;h=j;L=e+72|0;k=(L|0)/64|0;if((L|0)<=63){u=1;w=69;x=103;v=35;y=-119;B=-51;C=-17;z=-85;D=-2;F=-70;G=-104;E=-36;H=118;J=50;K=16;I=84;L=f;a[L]=u;L=f+1|0;a[L]=v;L=f+2|0;a[L]=w;L=f+3|0;a[L]=x;L=f+4|0;a[L]=y;L=f+5|0;a[L]=z;L=f+6|0;a[L]=B;L=f+7|0;a[L]=C;L=f+8|0;a[L]=D;L=f+9|0;a[L]=E;L=f+10|0;a[L]=F;L=f+11|0;a[L]=G;L=f+12|0;a[L]=H;L=f+13|0;a[L]=I;L=f+14|0;a[L]=J;L=f+15|0;a[L]=K;i=A;return}l=e+ -3|0;n=k+ -1|0;o=e+ -2|0;p=e+ -1|0;q=e<<3;r=h+56|0;w=h+4|0;x=h+8|0;y=h+12|0;z=h+16|0;g=h+20|0;B=h+24|0;C=h+28|0;D=h+32|0;E=h+36|0;v=h+40|0;u=h+44|0;t=h+48|0;s=h+52|0;m=h+60|0;H=1732584193;J=-271733879;F=-1732584194;G=271733878;I=0;K=0;do{if((K|0)<(l|0)){L=0;while(1){c[h+(L<<2)>>2]=(((d[b+(K+3)|0]|0)<<8|(d[b+(K+2)|0]|0))<<8|(d[b+(K+1)|0]|0))<<8|(d[b+K|0]|0);L=L+1|0;K=K+4|0;if((L|0)<16&(K|0)<(l|0)){}else{break}}}else{L=0}if((I|0)==(n|0)){do{if((K|0)==(l|0)){c[h+(L<<2)>>2]=d[b+l|0]|0|((d[b+(e+ -1)|0]|0)<<8|(d[b+(e+ -2)|0]|0))<<8|-2147483648}else{if((K|0)==(o|0)){c[h+(L<<2)>>2]=d[b+o|0]|0|(d[b+(e+ -1)|0]|0)<<8|8388608;break}if((K|0)==(p|0)){c[h+(L<<2)>>2]=d[b+p|0]|0|32768;break}else{c[h+(L<<2)>>2]=128;break}}}while(0);if((L+1|0)<16){bX(h+(L+1<<2)|0,0,60-(L<<2)|0)|0}c[r>>2]=q}ca=c[j>>2]|0;ea=H+ -680876936+(G&~J|J&F)+ca|0;ea=(ea>>>25|ea<<7)+J|0;X=c[w>>2]|0;da=G+ -389564586+X+(F&~ea|ea&J)|0;da=(da>>>20|da<<12)+ea|0;Q=c[x>>2]|0;M=F+606105819+Q+(J&~da|da&ea)|0;M=(M>>>15|M<<17)+da|0;Z=c[y>>2]|0;N=J+ -1044525330+Z+(ea&~M|M&da)|0;N=(N>>>10|N<<22)+M|0;S=c[z>>2]|0;ea=ea+ -176418897+S+(da&~N|N&M)|0;ea=(ea>>>25|ea<<7)+N|0;$=c[g>>2]|0;da=$+1200080426+da+(M&~ea|ea&N)|0;da=(da>>>20|da<<12)+ea|0;U=c[B>>2]|0;M=U+ -1473231341+M+(N&~da|da&ea)|0;M=(M>>>15|M<<17)+da|0;ba=c[C>>2]|0;N=ba+ -45705983+N+(ea&~M|M&da)|0;N=(N>>>10|N<<22)+M|0;W=c[D>>2]|0;ea=W+1770035416+ea+(da&~N|N&M)|0;ea=(ea>>>25|ea<<7)+N|0;P=c[E>>2]|0;da=P+ -1958414417+da+(M&~ea|ea&N)|0;da=(da>>>20|da<<12)+ea|0;Y=c[v>>2]|0;M=Y+ -42063+M+(N&~da|da&ea)|0;M=(M>>>15|M<<17)+da|0;R=c[u>>2]|0;N=R+ -1990404162+N+(ea&~M|M&da)|0;N=(N>>>10|N<<22)+M|0;_=c[t>>2]|0;ea=_+1804603682+ea+(da&~N|N&M)|0;ea=(ea>>>25|ea<<7)+N|0;T=c[s>>2]|0;da=T+ -40341101+da+(M&~ea|ea&N)|0;da=(da>>>20|da<<12)+ea|0;aa=c[r>>2]|0;O=~da;M=aa+ -1502002290+M+(N&O|da&ea)|0;M=(M>>>15|M<<17)+da|0;V=c[m>>2]|0;L=~M;N=V+1236535329+N+(ea&L|M&da)|0;N=(N>>>10|N<<22)+M|0;O=X+ -165796510+ea+(N&da|M&O)|0;O=(O>>>27|O<<5)+N|0;L=U+ -1069501632+da+(O&M|N&L)|0;L=(L>>>23|L<<9)+O|0;M=R+643717713+M+(L&N|O&~N)|0;M=(M>>>18|M<<14)+L|0;N=ca+ -373897302+N+(M&O|L&~O)|0;N=(N>>>12|N<<20)+M|0;O=$+ -701558691+O+(N&L|M&~L)|0;O=(O>>>27|O<<5)+N|0;L=Y+38016083+L+(O&M|N&~M)|0;L=(L>>>23|L<<9)+O|0;M=V+ -660478335+M+(L&N|O&~N)|0;M=(M>>>18|M<<14)+L|0;N=S+ -405537848+N+(M&O|L&~O)|0;N=(N>>>12|N<<20)+M|0;O=P+568446438+O+(N&L|M&~L)|0;O=(O>>>27|O<<5)+N|0;L=aa+ -1019803690+L+(O&M|N&~M)|0;L=(L>>>23|L<<9)+O|0;M=Z+ -187363961+M+(L&N|O&~N)|0;M=(M>>>18|M<<14)+L|0;N=W+1163531501+N+(M&O|L&~O)|0;N=(N>>>12|N<<20)+M|0;O=T+ -1444681467+O+(N&L|M&~L)|0;O=(O>>>27|O<<5)+N|0;L=Q+ -51403784+L+(O&M|N&~M)|0;L=(L>>>23|L<<9)+O|0;M=ba+1735328473+M+(L&N|O&~N)|0;M=(M>>>18|M<<14)+L|0;N=_+ -1926607734+N+(M&O|L&~O)|0;N=(N>>>12|N<<20)+M|0;O=$+ -378558+O+(M^L^N)|0;O=(O>>>28|O<<4)+N|0;L=W+ -2022574463+L+(N^M^O)|0;L=(L>>>21|L<<11)+O|0;M=R+1839030562+M+(O^N^L)|0;M=(M>>>16|M<<16)+L|0;N=aa+ -35309556+N+(L^O^M)|0;N=(N>>>9|N<<23)+M|0;O=X+ -1530992060+O+(M^L^N)|0;O=(O>>>28|O<<4)+N|0;L=S+1272893353+L+(N^M^O)|0;L=(L>>>21|L<<11)+O|0;M=ba+ -155497632+M+(O^N^L)|0;M=(M>>>16|M<<16)+L|0;N=Y+ -1094730640+N+(L^O^M)|0;N=(N>>>9|N<<23)+M|0;O=T+681279174+O+(M^L^N)|0;O=(O>>>28|O<<4)+N|0;L=ca+ -358537222+L+(N^M^O)|0;L=(L>>>21|L<<11)+O|0;M=Z+ -722521979+M+(O^N^L)|0;M=(M>>>16|M<<16)+L|0;N=U+76029189+N+(L^O^M)|0;N=(N>>>9|N<<23)+M|0;O=P+ -640364487+O+(M^L^N)|0;O=(O>>>28|O<<4)+N|0;L=_+ -421815835+L+(N^M^O)|0;L=(L>>>21|L<<11)+O|0;M=V+530742520+M+(O^N^L)|0;M=(M>>>16|M<<16)+L|0;N=Q+ -995338651+N+(L^O^M)|0;N=(N>>>9|N<<23)+M|0;O=ca+ -198630844+O+((N|~L)^M)|0;O=(O>>>26|O<<6)+N|0;L=ba+1126891415+L+((O|~M)^N)|0;L=(L>>>22|L<<10)+O|0;M=aa+ -1416354905+M+((L|~N)^O)|0;M=(M>>>17|M<<15)+L|0;N=$+ -57434055+N+((M|~O)^L)|0;N=(N>>>11|N<<21)+M|0;O=_+1700485571+O+((N|~L)^M)|0;O=(O>>>26|O<<6)+N|0;L=Z+ -1894986606+L+((O|~M)^N)|0;L=(L>>>22|L<<10)+O|0;M=Y+ -1051523+M+((L|~N)^O)|0;M=(M>>>17|M<<15)+L|0;N=X+ -2054922799+N+((M|~O)^L)|0;N=(N>>>11|N<<21)+M|0;O=W+1873313359+O+((N|~L)^M)|0;O=(O>>>26|O<<6)+N|0;L=V+ -30611744+L+((O|~M)^N)|0;L=(L>>>22|L<<10)+O|0;M=U+ -1560198380+M+((L|~N)^O)|0;M=(M>>>17|M<<15)+L|0;N=T+1309151649+N+((M|~O)^L)|0;N=(N>>>11|N<<21)+M|0;O=S+ -145523070+O+((N|~L)^M)|0;O=(O>>>26|O<<6)+N|0;L=R+ -1120210379+L+((O|~M)^N)|0;L=(L>>>22|L<<10)+O|0;M=Q+718787259+M+((L|~N)^O)|0;M=(M>>>17|M<<15)+L|0;N=P+ -343485551+N+((M|~O)^L)|0;H=O+H|0;J=M+J+(N>>>11|N<<21)|0;F=M+F|0;G=L+G|0;I=I+1|0;}while((I|0)<(k|0));Q=H&255;S=H>>>16&255;T=H>>>24&255;R=H>>>8&255;U=J&255;W=J>>>16&255;X=J>>>24&255;V=J>>>8&255;Y=F&255;_=F>>>16&255;$=F>>>24&255;Z=F>>>8&255;aa=G&255;ca=G>>>16&255;da=G>>>24&255;ba=G>>>8&255;ea=f;a[ea]=Q;ea=f+1|0;a[ea]=R;ea=f+2|0;a[ea]=S;ea=f+3|0;a[ea]=T;ea=f+4|0;a[ea]=U;ea=f+5|0;a[ea]=V;ea=f+6|0;a[ea]=W;ea=f+7|0;a[ea]=X;ea=f+8|0;a[ea]=Y;ea=f+9|0;a[ea]=Z;ea=f+10|0;a[ea]=_;ea=f+11|0;a[ea]=$;ea=f+12|0;a[ea]=aa;ea=f+13|0;a[ea]=ba;ea=f+14|0;a[ea]=ca;ea=f+15|0;a[ea]=dada=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0;j=i;h=i;i=i+8|0;g=h;P=a[e]|0;L=b+176|0;a[L]=P;t=e+1|0;M=b+180|0;a[M]=a[t]|0;u=e+2|0;I=b+184|0;a[I]=a[u]|0;v=e+3|0;E=b+188|0;a[E]=a[v]|0;w=e+4|0;O=b+177|0;a[O]=a[w]|0;k=e+5|0;K=b+181|0;a[K]=a[k]|0;y=e+6|0;z=b+185|0;a[z]=a[y]|0;x=e+7|0;D=b+189|0;a[D]=a[x]|0;s=e+8|0;A=b+178|0;a[A]=a[s]|0;r=e+9|0;H=b+182|0;a[H]=a[r]|0;q=e+10|0;G=b+186|0;a[G]=a[q]|0;p=e+11|0;C=b+190|0;a[C]=a[p]|0;o=e+12|0;N=b+179|0;a[N]=a[o]|0;n=e+13|0;J=b+183|0;a[J]=a[n]|0;m=e+14|0;F=b+187|0;a[F]=a[m]|0;l=e+15|0;B=b+191|0;a[B]=a[l]|0;Q=0;while(1){qa=b+(Q+40<<2)|0;a[b+176+Q|0]=P&255^(c[qa>>2]|0)>>>24;ra=b+176+(Q+4)|0;a[ra]=(d[ra]|0)^(c[qa>>2]|0)>>>16;ra=b+176+(Q+8)|0;a[ra]=(d[ra]|0)^(c[qa>>2]|0)>>>8;ra=b+176+(Q+12)|0;a[ra]=(d[ra]|0)^c[qa>>2];Q=Q+1|0;if((Q|0)>=4){P=9;break}P=a[b+176+Q|0]|0}while(1){a[L]=a[131928+(d[L]|0)|0]|0;a[O]=a[131928+(d[O]|0)|0]|0;a[A]=a[131928+(d[A]|0)|0]|0;a[N]=a[131928+(d[N]|0)|0]|0;ia=a[131928+(d[M]|0)|0]|0;ha=a[131928+(d[K]|0)|0]|0;ja=a[131928+(d[J]|0)|0]|0;la=a[131928+(d[I]|0)|0]|0;na=a[131928+(d[z]|0)|0]|0;ka=a[131928+(d[G]|0)|0]|0;ma=a[131928+(d[F]|0)|0]|0;ra=a[131928+(d[E]|0)|0]|0;oa=a[131928+(d[D]|0)|0]|0;pa=a[131928+(d[C]|0)|0]|0;qa=a[131928+(d[B]|0)|0]|0;a[J]=a[131928+(d[H]|0)|0]|0;a[H]=ha;a[K]=ia;a[M]=ja;a[I]=ka;a[G]=la;a[z]=ma;a[F]=na;a[E]=oa;a[D]=pa;a[C]=qa;a[B]=ra;if((P|0)>0){T=0}else{z=0;break}do{ia=b+176+T|0;V=a[ia]|0;Z=b+176+(T+4)|0;U=a[Z]|0;R=b+176+(T+8)|0;Q=a[R]|0;S=b+176+(T+12)|0;W=a[S]|0;ra=V&255;X=ra<<1;X=(ra&128|0)!=0?X^27:X;ja=(X&128|0)!=0;ka=X<<1;Y=ka&510;ma=ja?Y^27:Y;Y=ma<<1;Y=(ma&128|0)!=0?Y^27:Y;ra=U&255;_=ra<<1;ca=(ra&128|0)!=0?_^27:_;ba=(ca&128|0)!=0;da=ca<<1;_=da&510;ea=ba?_^27:_;_=ea<<1;ha=(ea&128|0)!=0?_^27:_;ra=Q&255;_=ra<<1;_=(ra&128|0)!=0?_^27:_;na=(_&128|0)!=0;pa=_<<1;qa=na?pa^27:pa;$=qa<<1;$=(qa&128|0)!=0?$^27:$;ra=W&255;aa=ra<<1;aa=(ra&128|0)!=0?aa^27:aa;fa=(aa&128|0)!=0;ga=aa<<1;la=fa?ga^27:ga;oa=la<<1;oa=(la&128|0)!=0?oa^27:oa;a[ia]=(Q^U)&255^X^ra^ca^ma^qa^Y^ha^$^oa;ia=ja?ka^27:ka;ja=ia<<1;ja=(ia&128|0)!=0?ja^27:ja;ka=pa&510;ka=na?ka^27:ka;ma=ka<<1;ma=(ka&128|0)!=0?ma^27:ma;a[Z]=(Q^V^W)&255^ca^_^ea^ja^la^ha^ma^oa;Z=ba?da^27:da;ba=Z<<1;ba=(Z&128|0)!=0?ba^27:ba;ca=ga&510;da=fa?ca^27:ca;ca=da<<1;ra=(da&128|0)!=0?ca^27:ca;qa=U^V;a[R]=_^(W^qa)&255^ia^aa^ja^ka^ba^ma^ra;a[S]=(qa^Q)&255^X^aa^Z^Y^ba^dada=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0;m=i;q=i;i=i+8|0;r=q;N=i;i=i+8|0;O=N;I=i;i=i+8|0;K=I;A=i;i=i+8|0;B=A;j=i;i=i+8|0;k=j;Q=i;i=i+8|0;P=i;i=i+8|0;fa=i;i=i+8|0;ga=fa;da=i;i=i+8|0;ea=da;ba=i;i=i+8|0;ca=ba;_=i;i=i+8|0;W=i;i=i+8|0;X=W;U=i;i=i+8|0;V=U;u=i;i=i+8|0;v=u;s=i;i=i+8|0;t=s;S=i;i=i+8|0;oa=i;i=i+8|0;na=oa;ja=i;i=i+8|0;ka=ja;$=i;i=i+8|0;aa=$;G=i;i=i+8|0;L=G;H=i;i=i+8|0;o=i;i=i+16|0;n=o;ha=i;i=i+16|0;l=ha;E=i;i=i+16|0;w=E;T=i;i=i+16|0;x=T;C=i;i=i+16|0;R=C;D=i;i=i+16|0;y=D;z=i;i=i+8|0;F=i;i=i+16|0;J=F;Y=i;i=i+8|0;Z=Y;M=i;i=i+8|0;p=i;i=i+8|0;c[b>>2]=147160;ia=b+24|0;c[ia>>2]=13;la=b+32|0;c[la>>2]=0;c[la+4>>2]=0;c[b+40>>2]=d;Mf(e,ia)|0;ia=c[ia>>2]|0;if((ia|0)!=7){c[ja>>2]=ia;c[ka+4>>2]=7;Qe(0,148232,ka);tc()}ia=c[la>>2]|0;ja=b+8|0;c[b+12>>2]=0;c[ja>>2]=0;c[b+4>>2]=h;la=b+48|0;ka=b+44|0;ma=b+16|0;a[ma]=0;h=b+56|0;bX(ka|0,0,13)|0;Fa=f;Ga=c[Fa+4>>2]|0;f=ja;c[f>>2]=c[Fa>>2];c[f+4>>2]=Ga;c[ha>>2]=13;f=l+8|0;c[f>>2]=0;c[f+4>>2]=0;a:do{if((c[(Yu(ia,147176,l,0)|0)>>2]|0)==6){pa=c[ha>>2]|0;if((pa|0)!=6){c[oa>>2]=pa;c[na+4>>2]=6;Qe(0,148232,na);tc()}na=c[f>>2]|0;qa=c[na+12>>2]|0;if((qa|0)<=0){break}ta=w+8|0;Ba=ta+4|0;xa=x+8|0;pa=xa+4|0;sa=R+8|0;Aa=sa+4|0;oa=g+4|0;ua=y+8|0;va=ua+4|0;wa=J+4|0;za=J+8|0;ya=J+4|0;ra=0;b:while(1){c[E>>2]=13;c[ta>>2]=0;c[Ba>>2]=0;c[T>>2]=13;c[xa>>2]=0;c[pa>>2]=0;ut(na,ra,w)|0;if((c[E>>2]|0)==7){c[C>>2]=13;c[sa>>2]=0;c[Aa>>2]=0;vt(na,ra,R)|0;c:do{if((c[C>>2]|0)==9){Ca=c[sa>>2]|0;Fa=c[oa>>2]|0;do{if((Fa|0)!=0){Da=oa;d:while(1){Ea=Fa;while(1){if((c[Ea+16>>2]|0)>=(Ca|0)){break}Ea=c[Ea+4>>2]|0;if((Ea|0)==0){break d}}Fa=c[Ea>>2]|0;if((Fa|0)==0){Da=Ea;break}else{Da=Ea}}if((Da|0)==(oa|0)){break}if((Ca|0)<(c[Da+16>>2]|0)){break}Qe(-1,147288,P);break c}}while(0);e:do{if((c[(Yu(ia,146744,x,0)|0)>>2]|0)==4){c[D>>2]=13;c[ua>>2]=0;c[va>>2]=0;Ca=c[E>>2]|0;if((Ca|0)!=7){Da=20;break b}if((c[(Yu(c[ta>>2]|0,147232,y,0)|0)>>2]|0)==4){Ca=c[C>>2]|0;if((Ca|0)!=9){Da=23;break b}Ea=sa;Fa=c[Ea+4>>2]|0;Ga=z;c[Ga>>2]=c[Ea>>2];c[Ga+4>>2]=Fa;$W(A|0,z|0,8)|0;uv(b,w,B)}Of(y)}else{Ea=c[E>>2]|0;if((Ea|0)!=7){Da=27;break b}do{if((c[(Yu(c[ta>>2]|0,146744,x,0)|0)>>2]|0)!=4){Ea=c[E>>2]|0;if((Ea|0)!=7){Da=30;break b}if((c[(Yu(c[ta>>2]|0,147176,x,0)|0)>>2]|0)==6){break}Ca=c[E>>2]|0;if((Ca|0)!=7){Da=61;break b}if((c[(Yu(c[ta>>2]|0,147232,x,0)|0)>>2]|0)!=4){break e}Ca=c[C>>2]|0;if((Ca|0)!=9){Da=64;break b}Ea=sa;Fa=c[Ea+4>>2]|0;Ga=M;c[Ga>>2]=c[Ea>>2];c[Ga+4>>2]=Fa;$W(N|0,M|0,8)|0;uv(b,w,O);break e}}while(0);c[wa>>2]=0;c[za>>2]=0;c[F>>2]=wa;Da=c[g>>2]|0;do{if((Da|0)==(oa|0)){Da=50}else{do{Ga=Da+16|0;c[H>>2]=wa;$W(I|0,H|0,4)|0;Ea=Xv(J,K,L,Ga)|0;if((c[Ea>>2]|0)==0){Fa=FW(20)|0;c[Fa+16>>2]=c[Ga>>2];Ga=c[G>>2]|0;c[Fa>>2]=0;c[Fa+4>>2]=0;c[Fa+8>>2]=Ga;c[Ea>>2]=Fa;Ga=c[c[F>>2]>>2]|0;if((Ga|0)!=0){c[F>>2]=Ga;Fa=c[Ea>>2]|0}un(c[ya>>2]|0,Fa);c[za>>2]=(c[za>>2]|0)+1}Ea=c[Da+4>>2]|0;if((Ea|0)==0){while(1){Ea=c[Da+8>>2]|0;if((Da|0)==(c[Ea>>2]|0)){Da=Ea;break}else{Da=Ea}}}else{Da=Ea;while(1){Ea=c[Da>>2]|0;if((Ea|0)==0){break}else{Da=Ea}}}}while((Da|0)!=(oa|0));Ea=c[wa>>2]|0;if((Ea|0)==0){Da=50;break}while(1){Da=c[Ea+16>>2]|0;if((Ca|0)<(Da|0)){Da=c[Ea>>2]|0;if((Da|0)==0){Da=45;break}else{Ea=Da;continue}}if((Da|0)>=(Ca|0)){Da=49;break}Fa=Ea+4|0;Da=c[Fa>>2]|0;if((Da|0)==0){Da=48;break}else{Ea=Da}}if((Da|0)==45){Da=0;c[$>>2]=Ea;break}else if((Da|0)==48){Da=0;c[$>>2]=Ea;Ea=Fa;break}else if((Da|0)==49){Da=0;c[$>>2]=Ea;Ea=aa;break}}}while(0);if((Da|0)==50){c[$>>2]=wa;Ea=wa}if((c[Ea>>2]|0)==0){Da=FW(20)|0;c[Da+16>>2]=Ca;Ca=c[$>>2]|0;c[Da>>2]=0;c[Da+4>>2]=0;c[Da+8>>2]=Ca;c[Ea>>2]=Da;Ca=c[c[F>>2]>>2]|0;if((Ca|0)!=0){c[F>>2]=Ca;Da=c[Ea>>2]|0}un(c[ya>>2]|0,Da);c[za>>2]=(c[za>>2]|0)+1}if((a[ma]&1)!=0){Qe(-1,147240,_)}Ca=(c[la>>2]|0)+1|0;c[la>>2]=Ca;c[ka>>2]=Ce(c[ka>>2]|0,Ca,4)|0;Of(x);Ca=c[C>>2]|0;if((Ca|0)!=9){Da=58;break b}Ea=sa;Fa=c[Ea+4>>2]|0;Ga=Y;c[Ga>>2]=c[Ea>>2];c[Ga+4>>2]=Fa;Ga=vv(w,d,Z,J)|0;c[(c[ka>>2]|0)+((c[la>>2]|0)+ -1<<2)>>2]=Ga;xn(J,c[ya>>2]|0)}}while(0);Of(x)}else{Qe(-1,147328,Q)}}while(0);Of(w)}else{Qe(-1,147184,S);Of(w)}ra=ra+1|0;if((ra|0)>=(qa|0)){break a}}if((Da|0)==20){c[s>>2]=Ca;c[t+4>>2]=7;Qe(0,148232,t);tc()}else if((Da|0)==23){c[u>>2]=Ca;c[v+4>>2]=9;Qe(0,148232,v);tc()}else if((Da|0)==27){c[U>>2]=Ea;c[V+4>>2]=7;Qe(0,148232,V);tc()}else if((Da|0)==30){c[W>>2]=Ea;c[X+4>>2]=7;Qe(0,148232,X);tc()}else if((Da|0)==58){c[ba>>2]=Ca;c[ca+4>>2]=9;Qe(0,148232,ca);tc()}else if((Da|0)==61){c[da>>2]=Ca;c[ea+4>>2]=7;Qe(0,148232,ea);tc()}else if((Da,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0,N=0.0;g=i;f=i;i=i+16|0;e=f;j=i;i=i+16|0;k=j;l=i;i=i+16|0;m=l;o=i;i=i+16|0;n=o;q=i;i=i+16|0;p=q;r=i;i=i+16|0;s=r;F=i;i=i+16|0;D=F;G=i;i=i+16|0;E=G;B=i;i=i+16|0;C=B;A=i;i=i+16|0;y=A;x=i;i=i+16|0;w=x;u=i;i=i+16|0;M=u;t=b+28|0;z=c[t>>2]|0;v=c[d>>2]|0;if((v+ -1|0)>>>0>=2){c[u>>2]=v;c[M+4>>2]=1;c[M+8>>2]=2;Qe(0,162328,M);tc()}u=d+8|0;if((v|0)==1){H=+(c[u>>2]|0)}else{H=+h[u>>3]}v=d+16|0;M=c[v>>2]|0;if((M+ -1|0)>>>0>=2){c[x>>2]=M;c[w+4>>2]=1;c[w+8>>2]=2;Qe(0,162328,w);tc()}x=d+24|0;if((M|0)==1){I=+(c[x>>2]|0)}else{I=+h[x>>3]}w=d+32|0;M=c[w>>2]|0;if((M+ -1|0)>>>0>=2){c[A>>2]=M;c[y+4>>2]=1;c[y+8>>2]=2;Qe(0,162328,y);tc()}y=d+40|0;if((M|0)==1){J=+(c[y>>2]|0)}else{J=+h[y>>3]}A=d+48|0;M=c[A>>2]|0;if((M+ -1|0)>>>0>=2){c[B>>2]=M;c[C+4>>2]=1;c[C+8>>2]=2;Qe(0,162328,C);tc()}B=d+56|0;if((M|0)==1){K=+(c[B>>2]|0)}else{K=+h[B>>3]}C=d+64|0;M=c[C>>2]|0;if((M+ -1|0)>>>0>=2){c[G>>2]=M;c[E+4>>2]=1;c[E+8>>2]=2;Qe(0,162328,E);tc()}G=d+72|0;if((M|0)==1){L=+(c[G>>2]|0)}else{L=+h[G>>3]}E=d+80|0;M=c[E>>2]|0;if((M+ -1|0)>>>0>=2){c[F>>2]=M;c[D+4>>2]=1;c[D+8>>2]=2;Qe(0,162328,D);tc()}D=d+88|0;if((M|0)==1){N=+(c[D>>2]|0)}else{N=+h[D>>3]}JB(z,H,I,J,K,L,N);z=c[b+8>>2]|0;F=c[(c[z>>2]|0)+92>>2]|0;t=c[t>>2]|0;d=c[d>>2]|0;if((d+ -1|0)>>>0>=2){c[r>>2]=d;c[s+4>>2]=1;c[s+8>>2]=2;Qe(0,162328,s);tc()}if((d|0)==1){H=+(c[u>>2]|0)}else{H=+h[u>>3]}r=c[v>>2]|0;if((r+ -1|0)>>>0>=2){c[q>>2]=r;c[p+4>>2]=1;c[p+8>>2]=2;Qe(0,162328,p);tc()}if((r|0)==1){I=+(c[x>>2]|0)}else{I=+h[x>>3]}p=c[w>>2]|0;if((p+ -1|0)>>>0>=2){c[o>>2]=p;c[n+4>>2]=1;c[n+8>>2]=2;Qe(0,162328,n);tc()}if((p|0)==1){J=+(c[y>>2]|0)}else{J=+h[y>>3]}n=c[A>>2]|0;if((n+ -1|0)>>>0>=2){c[l>>2]=n;c[m+4>>2]=1;c[m+8>>2]=2;Qe(0,162328,m);tc()}if((n|0)==1){K=+(c[B>>2]|0)}else{K=+h[B>>3]}l=c[C>>2]|0;if((l+ -1|0)>>>0>=2){c[j>>2]=l;c[k+4>>2]=1;c[k+8>>2]=2;Qe(0,162328,k);tc()}if((l|0)==1){L=+(c[G>>2]|0)}else{L=+h[G>>3]}j=c[E>>2]|0;if((j+ -1|0)>>>0>=2){c[f>>2]=j;c[e+4>>2]=1;c[e+8>>2]=2;Qe(0,162328,e);tc()}if((j|0)==1){N=+(c[D>>2]|0);M=F;Ed[M&3](z,t,H,I,J,K,L,N);M=b+48|0;a[M]=1;i=g;return}else{N=+h[D>>3];M=F;Ed[M&3](z,t,H,I,J,K,L,N);M=b+48|0;a[M]=1;i=g;return}}function Pw(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;e=i;h=i;i=i+8|0;q=i;i=i+8|0;p=q;l=i;i=i+16|0;k=l;g=i;i=i+128|0;f=g;c[l>>2]=13;n=k+8|0;c[n>>2]=0;m=n+4|0;c[m>>2]=0;o=c[b+20>>2]|0;r=c[d>>2]|0;if((r|0)!=4){c[q>>2]=r;c[p+4>>2]=4;Qe(0,162256,p);tc()}p=c[d+8>>2]|0;a:do{if((o|0)==0){j=8}else{while(1){if((c[o+24>>2]|0)==7){if((c[(Yu(c[o+32>>2]|0,p,k,0)|0)>>2]|0)!=5){break}Of(k)}o=c[o+112>>2]|0;if((o|0)==0){j=8;break a}}if((c[l>>2]|0)==5){j=10;break}d=Jy(k,b)|0}}while(0);if((j|0)==8){c[n>>2]=0;c[m>>2]=0;c[l>>2]=5;j=10}if((j|0)==10){d=Jy(d,b)|0}Of(k);if((d|0)==0){b=c[b+120>>2]|0;do{if((b|0)==0){b=-1}else{b=c[b+4>>2]|0;if((c[b+16>>2]|0)!=8){b=-1;break}b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}}while(0);Qe(b,160496,h);i=e;return}h=b+15|0;do{if((a[h]&1)!=0){if((a[b+16|0]&1)==0){break}j=b+8|0;r=c[j>>2]|0;k=b+28|0;r=Bd[c[(c[r>>2]|0)+304>>2]&255](r,c[k>>2]|0)|0;q=c[j>>2]|0;hd[c[(c[q>>2]|0)+308>>2]&127](q,c[k>>2]|0);if(r){Bx(b,1)}r=c[j>>2]|0;hd[c[(c[r>>2]|0)+84>>2]&127](r,c[k>>2]|0)}}while(0);j=b+28|0;NB(c[j>>2]|0,0);LB(c[j>>2]|0,d);k=b+8|0;r=c[k>>2]|0;hd[c[(c[r>>2]|0)+132>>2]&127](r,c[j>>2]|0);hd[c[(c[d>>2]|0)+48>>2]&127](d,f);$W((c[j>>2]|0)+124|0,g|0,128)|0;r=c[k>>2]|0;hd[c[(c[r>>2]|0)+140>>2]&127](r,c[j>>2]|0);if((a[h]&1)!=0){r=c[k>>2]|0;hd[c[(c[r>>2]|0)+300>>2]&127](r,c[j>>2]|0);r=c[k>>2]|0;hd[c[(c[r>>2]|0)+188>>2]&127](r,c[j>>2]|0);r=c[k>>2]|0;hd[c[(c[r>>2]|0)+180>>2]&127](r,c[j>>2]|0);r=c[k>>2]|0;hd[c[(c[r>>2]|0)+204>>2]&127](r,c[j>>2]|0);a[h]=(jd[c[(c[d>>2]|0)+12>>2]&511](d)|0)==10|0;i=e;return}if((a[b+16|0]&1)==0){i=e;return}r=c[k>>2]|0;if(!(Bd[c[(c[r>>2]|0)+40>>2]&255](r,c[j>>2]|0)|0)){i=e;return}r=c[k>>2]|0;hd[c[(c[r>>2]|0)+300>>2]&127](r,c[j>>2]|0);a[h]=1;i=e;return}function Qw(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0;d=i;f=i;i=i+16|0;g=f;l=i;i=i+16|0;k=l;o=i;i=i+8|0;n=o;j=i;i=i+16|0;m=j;c[j>>2]=13;j=m+8|0;c[j>>2]=0;c[j+4>>2]=0;j=c[b>>2]|0;if((j|0)!=6){c[o>>2]=j;c[n+4>>2]=6;Qe(0,162256,n);tc()}n=c[b+8>>2]|0;j=c[n+12>>2]|0;a:do{if((j|0)==0){e=0}else{o=ye(j,8)|0;if((j|0)>0){p=0}else{e=o;break}while(1){r=ut(n,p,m)|0;q=c[r>>2]|0;if((q+ -1|0)>>>0>=2){break}r=r+8|0;if((q|0)==1){s=+(c[r>>2]|0)}else{s=+h[r>>3]}h[o+(p<<3)>>3]=s;Of(m);p=p+1|0;if((p|0)>=(j|0)){e=o;break a}}c[l>>2]=q;c[k+4>>2]=1;c[k+8>>2]=2;Qe(0,162328,k);tc()}}while(0);l=a+28|0;k=c[l>>2]|0;m=c[b+16>>2]|0;if((m+ -1|0)>>>0>=2){c[f>>2]=m;c[g+4>>2]=1;c[g+8>>2]=2;Qe(0,162328,g);tc()}b=b+24|0;if((m|0)==1){s=+(c[b>>2]|0);RB(k,e,j,s);q=a+8|0;q=c[q>>2]|0;p=q;p=c[p>>2]|0;p=p+96|0;p=c[p>>2]|0;r=l;r=c[r>>2]|0;hd[p&127](q,r);i=d;return}else{s=+h[b>>3];RB(k,e,j,s);q=a+8|0;q=c[q>>2]|0;p=q;p=c[p>>2]|0;p=p+96|0;p=c[p>>2]|0;r=l;r=c[r>>2]|0;hd[p&127](q,r);i=d;return}}function Rw(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0.0,o=0.0;e=i;g=i;i=i+16|0;j=g;m=i;i=i+16|0;l=m;d=c[a+8>>2]|0;f=c[(c[d>>2]|0)+352>>2]|0;a=c[a+28>>2]|0;k=c[b>>2]|0;if((k+ -1|0)>>>0>=2){c[m>>2]=k;c[l+4>>2]=1;c[l+8>>2]=2;Qe(0,162328,l);tc()}l=b+8|0;if((k|0)==1){n=+(c[l>>2]|0)}else{n=+h[l>>3]}k=c[b+16>>2]|0;if((k+ -1|0)>>>0>=2){c[g>>2]=k;c[j+4>>2]=1;c[j+8>>2]=2;Qe(0,162328,j);tc()}b=b+24|0;if((k|0)==1){o=+(c[b>>2]|0);m=f;kd[m&1](d,a,n,o);i=e;return}else{o=+h[b>>3];m=f;kd[m&1](d,a,n,o);i=e;return}}function Sw(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0.0,n=0,o=0,p=0.0,q=0,r=0,s=0,t=0,u=0.0,v=0,w=0,x=0,y=0.0,z=0.0,A=0.0;e=i;j=i;i=i+16|0;g=j;k=i;i=i+16|0;l=k;n=i;i=i+16|0;o=n;r=i;i=i+16|0;q=r;t=i;i=i+16|0;s=t;x=i;i=i+16|0;w=x;f=c[a+8>>2]|0;d=c[(c[f>>2]|0)+356>>2]|0;a=c[a+28>>2]|0;v=c[b>>2]|0;if((v+ -1|0)>>>0>=2){c[x>>2]=v;c[w+4>>2]=1;c[w+8>>2]=2;Qe(0,162328,w);tc()}w=b+8|0;if((v|0)==1){m=+(c[w>>2]|0)}else{m=+h[w>>3]}v=c[b+16>>2]|0;if((v+ -1|0)>>>0>=2){c[t>>2]=v;c[s+4>>2]=1;c[s+8>>2]=2;Qe(0,162328,s);tc()}s=b+24|0;if((v|0)==1){p=+(c[s>>2]|0)}else{p=+h[s>>3]}s=c[b+32>>2]|0;if((s+ -1|0)>>>0>=2){c[r>>2]=s;c[q+4>>2]=1;c[q+8>>2]=2;Qe(0,162328,q);tc()}q=b+40|0;if((s|0)==1){u=+(c[q>>2]|0)}else{u=+h[q>>3]}q=c[b+48>>2]|0;if((q+ -1|0)>>>0>=2){c[n>>2]=q;c[o+4>>2]=1;c[o+8>>2]=2;Qe(0,162328,o);tc()}n=b+56|0;if((q|0)==1){y=+(c[n>>2]|0)}else{y=+h[n>>3]}n=c[b+64>>2]|0;if((n+ -1|0)>>>0>=2){c[k>>2]=n;c[l+4>>2]=1;c[l+8>>2]=2;Qe(0,162328,l);tc()}k=b+72|0;if((n|0)==1){z=+(c[k>>2]|0)}else{z=+h[k>>3]}k=c[b+80>>2]|0;if((k+ -1|0)>>>0>=2){c[j>>2]=k;c[g+4>>2]=1;c[g+8>>2]=2;Qe(0,162328,g);tc()}b=b+88|0;if((k|0)==1){A=+(c[b>>2]|0);x=d;Ed[x&3](f,a,m,p,u,y,z,A);i=e;return}else{A=+h[b>>3];x=d;Ed[x&3](f,a,m,p,u,y,z,A);i=e;return}}function Tw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;e=i;d=b+28|0;g=c[d>>2]|0;h=c[g+588>>2]|0;a:do{if((c[h+28>>2]|0)>0){h=c[b+116>>2]|0;b:do{if((h|0)!=0){if((a[h]&1)!=0){break a}while(1){h=c[h+4>>2]|0;if((h|0)==0){break b}if((a[h]&1)!=0){break a}}}}while(0);h=c[g+116>>2]|0;if((jd[c[(c[h>>2]|0)+12>>2]&511](h)|0)==10){Bx(b,1);break}else{h=c[b+8>>2]|0;hd[c[(c[h>>2]|0)+220>>2]&127](h,c[d>>2]|0);break}}else{if((a[h]&1)!=0){break}i=e;return}}while(0);g=c[d>>2]|0;h=c[g+588>>2]|0;do{if((c[h+28>>2]|0)>0){f=13}else{if((a[h]&1)!=0){f=13;break}b=b+52|0}}while(0);do{if((f|0)==13){f=b+52|0;if((c[f>>2]|0)==0){b=f;break}TB(g);b=c[b+8>>2]|0;g=c[b>>2]|0;if((c[f>>2]|0)==1){hd[c[g+256>>2]&127](b,c[d>>2]|0);b=f;break}else{hd[c[g+260>>2]&127](b,c[d>>2]|0);b=f;break}}}while(0);c[b>>2]=0;SB(c[d>>2]|0);i=e;return}function Uw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,k=0,l=0,m=0,n=0.0,o=0,p=0;e=i;k=i;i=i+16|0;j=k;g=i;i=i+128|0;f=b+15|0;do{if((a[f]&1)!=0){if((a[b+16|0]&1)==0){break}l=b+8|0;o=c[l>>2]|0;m=b+28|0;o=Bd[c[(c[o>>2]|0)+304>>2]&255](o,c[m>>2]|0)|0;p=c[l>>2]|0;hd[c[(c[p>>2]|0)+308>>2]&127](p,c[m>>2]|0);if(o){Bx(b,1)}p=c[l>>2]|0;hd[c[(c[p>>2]|0)+84>>2]&127](p,c[m>>2]|0)}}while(0);l=b+28|0;NB(c[l>>2]|0,0);p=c[l>>2]|0;m=FW(4)|0;Ty(m);LB(p,m);b=b+8|0;m=c[b>>2]|0;hd[c[(c[m>>2]|0)+132>>2]&127](m,c[l>>2]|0);m=c[d>>2]|0;if((m+ -1|0)>>>0>=2){c[k>>2]=m;c[j+4>>2]=1;c[j+8>>2]=2;Qe(0,162328,j);tc()}d=d+8|0;if((m|0)==1){n=+(c[d>>2]|0)}else{n=+h[d>>3]}p=c[l>>2]|0;c[p+124>>2]=~~(n*65536.0);$W(p+128|0,g|0,124)|0;p=c[b>>2]|0;hd[c[(c[p>>2]|0)+140>>2]&127](p,c[l>>2]|0);if((a[f]&1)==0){i=e;return}p=c[b>>2]|0;hd[c[(c[p>>2]|0)+300>>2]&127](p,c[l>>2]|0);p=c[b>>2]|0;hd[c[(c[p>>2]|0)+188>>2]&127](p,c[l>>2]|0);p=c[b>>2]|0;hd[c[(c[p>>2]|0)+180>>2]&127](p,c[l>>2]|0);p=c[b>>2]|0;hd[c[(c[p>>2]|0)+204>>2]&127](p,c[l>>2]|0);a[f]=0;i=e;return}function Vw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Ib=0,Jb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0.0;f=i;aa=i;i=i+8|0;ba=aa;l=i;i=i+16|0;k=l;o=i;i=i+8|0;n=o;s=i;i=i+8|0;q=s;u=i;i=i+8|0;w=i;i=i+8|0;v=w;A=i;i=i+8|0;z=A;C=i;i=i+8|0;B=C;E=i;i=i+16|0;D=E;F=i;i=i+8|0;G=F;I=i;i=i+8|0;H=I;J=i;i=i+8|0;K=J;M=i;i=i+8|0;L=M;N=i;i=i+8|0;O=N;P=i;i=i+16|0;Q=P;S=i;i=i+8|0;R=S;ja=i;i=i+8|0;W=i;i=i+16|0;X=W;ca=i;i=i+8|0;_=ca;ea=i;i=i+8|0;da=ea;ha=i;i=i+8|0;ia=ha;la=i;i=i+8|0;ka=la;na=i;i=i+8|0;ma=na;Ya=i;i=i+8|0;Ja=i;i=i+8|0;Ga=i;i=i+8|0;wa=i;i=i+8|0;sa=wa;Ba=i;i=i+8|0;Ca=Ba;Ea=i;i=i+8|0;Fa=Ea;Ia=i;i=i+8|0;Ha=Ia;La=i;i=i+8|0;Ka=La;Na=i;i=i+8|0;Ma=Na;Qa=i;i=i+8|0;Ra=Qa;Sa=i;i=i+8|0;Ta=Sa;Va=i;i=i+8|0;Ua=Va;Wa=i;i=i+8|0;Xa=i;i=i+8|0;Za=Xa;$a=i;i=i+8|0;_a=$a;bb=i;i=i+8|0;ab=bb;db=i;i=i+8|0;cb=db;fb=i;i=i+8|0;eb=fb;hb=i;i=i+8|0;gb=hb;mb=i;i=i+8|0;lb=i;i=i+8|0;kb=lb;ob=i;i=i+8|0;pb=ob;rb=i;i=i+8|0;qb=rb;sb=i;i=i+8|0;tb=sb;vb=i;i=i+8|0;ub=vb;xb=i;i=i+8|0;wb=xb;yb=i;i=i+8|0;zb=yb;Bb=i;i=i+8|0;Ab=Bb;Db=i;i=i+8|0;Cb=Db;Eb=i;i=i+8|0;Fb=Eb;Ib=i;i=i+16|0;Gb=Ib;Lb=i;i=i+8|0;Jb=Lb;Nb=i;i=i+16|0;Mb=Nb;Ob=i;i=i+8|0;Pb=Ob;Qb=i;i=i+8|0;Yb=i;i=i+8|0;Xb=Yb;Zb=i;i=i+8|0;Ub=i;i=i+8|0;Tb=Ub;Sb=i;i=i+8|0;Rb=Sb;$b=i;i=i+8|0;_b=$b;t=i;i=i+16|0;e=t;m=i;i=i+16|0;g=m;Pa=i;i=i+16|0;oa=Pa;Da=i;i=i+16|0;pa=DaDa>>2]=13;Aa=pa+8|0;c[Aa>>2]=0;c[Aa+4>>2]=0;c[za>>2]=13;va=ua+8|0;c[va>>2]=0;c[va+4>>2]=0;Z=c[d>>2]|0;if((Z|0)!=4){c[$b>>2]=Z;c[_b+4>>2]=4;Qe(0,162256,_b);tc()}Z=d+8|0;if(!(qx(c[b+20>>2]|0,c[Z>>2]|0,e)|0)){i=f;return}if((c[t>>2]|0)!=7){b=c[b+120>>2]|0;do{if((b|0)==0){b=-1}else{b=c[b+4>>2]|0;if((c[b+16>>2]|0)!=8){b=-1;break}b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}}while(0);g=c[d>>2]|0;if((g|0)!=4){c[Sb>>2]=g;c[Rb+4>>2]=4;Qe(0,162256,Rb);tc()}c[Ub>>2]=c[Z>>2];Qe(b,159760,Tb);Of(e);i=f;return}do{if((a[b+13|0]&1)!=0){Kb(159792,Zb|0)|0;Qf(e,c[r>>2]|0);Hb(10)|0;Rb=c[t>>2]|0;if((Rb|0)==7){break}c[Yb>>2]=Rb;c[Xb+4>>2]=7;Qe(0,162256,Xb);tc()}}while(0);do{if((c[(Yu(c[p>>2]|0,159816,g,0)|0)>>2]|0)!=5){Rb=b+28|0;if(ZB(c[Rb>>2]|0,g,Vb)|0){c[(c[Rb>>2]|0)+388>>2]=c[Wb>>2];$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+148>>2]&127]($b,c[Rb>>2]|0);break}Rb=c[b+120>>2]|0;do{if((Rb|0)==0){Rb=-1}else{Rb=c[Rb+4>>2]|0;if((c[Rb+16>>2]|0)!=8){Rb=-1;break}Rb=c[Rb+24>>2]|0;Rb=jd[c[(c[Rb>>2]|0)+48>>2]&511](Rb)|0}}while(0);Qe(Rb,159824,Qb)}}while(0);Of(g);Qb=c[t>>2]|0;if((Qb|0)!=7){c[Ob>>2]=Qb;c[Pb+4>>2]=7;Qe(0,162256,Pb);tc()}if(((c[(Yu(c[p>>2]|0,159856,g,0)|0)>>2]|0)+ -1|0)>>>0<2){Pb=b+28|0;Ob=c[Pb>>2]|0;Qb=c[m>>2]|0;if((Qb+ -1|0)>>>0>=2){c[Nb>>2]=Qb;c[Mb+4>>2]=1;c[Mb+8>>2]=2;Qe(0,162328,Mb);tc()}if((Qb|0)==1){ac=+(c[j>>2]|0)}else{ac=+h[j>>3]}h[Ob+392>>3]=ac;$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+152>>2]&127]($b,c[Pb>>2]|0)}Of(g);Mb=c[t>>2]|0;if((Mb|0)!=7){c[Lb>>2]=Mb;c[Jb+4>>2]=7;Qe(0,162256,Jb);tc()}if(((c[(Yu(c[p>>2]|0,159864,g,0)|0)>>2]|0)+ -1|0)>>>0<2){Jb=b+28|0;Lb=c[Jb>>2]|0;Mb=c[m>>2]|0;if((Mb+ -1|0)>>>0>=2){c[Ib>>2]=Mb;c[Gb+4>>2]=1;c[Gb+8>>2]=2;Qe(0,162328,Gb);tc()}if((Mb|0)==1){ac=+(c[j>>2]|0)}else{ac=+h[j>>3]}h[Lb+400>>3]=ac;$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+156>>2]&127]($b,c[Jb>>2]|0)}Of(g);Gb=c[t>>2]|0;if((Gb|0)!=7){c[Eb>>2]=Gb;c[Fb+4>>2]=7;Qe(0,162256,Fb);tc()}Eb=(c[(Yu(c[p>>2]|0,159872,g,0)|0)>>2]|0)==0;do{if(Eb){Gb=b+28|0;Fb=c[m>>2]|0;if((Fb|0)==0){a[(c[Gb>>2]|0)+408|0]=a[j]&1;$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+160>>2]&127]($b,c[Gb>>2]|0);break}else{c[Db>>2]=Fb;c[Cb+4>>2]=0;Qe(0,162256,Cb);tc()}}}while(0);Of(g);Cb=c[t>>2]|0;if((Cb|0)!=7){c[Bb>>2]=Cb;c[Ab+4>>2]=7;Qe(0,162256,Ab);tc()}do{if((c[(Yu(c[p>>2]|0,159880,g,0)|0)>>2]|0)==0){Ab=b+28|0;Bb=c[m>>2]|0;if((Bb|0)!=0){c[yb>>2]=Bb;c[zb+4>>2]=0;Qe(0,162256,zb);tc()}a[(c[Ab>>2]|0)+409|0]=a[j]&1;yb=b+8|0;$b=c[yb>>2]|0;hd[c[(c[$b>>2]|0)+164>>2]&127]($b,c[Ab>>2]|0);if(Eb){break}zb=c[m>>2]|0;if((zb|0)==0){a[(c[Ab>>2]|0)+408|0]=a[j]&1;$b=c[yb>>2]|0;hd[c[(c[$b>>2]|0)+160>>2]&127]($b,c[Ab>>2]|0);break}else{c[xb>>2]=zb;c[wb+4>>2]=0;Qe(0,162256,wb);tc()}}}while(0);Of(g);wb=c[t>>2]|0;if((wb|0)!=7){c[vb>>2]=wb;c[ub+4>>2]=7;Qe(0,162256,ub);tc()}do{if((c[(Yu(c[p>>2]|0,159888,g,0)|0)>>2]|0)==0){ub=b+28|0;vb=c[m>>2]|0;if((vb|0)==0){a[(c[ub>>2]|0)+480|0]=a[j]&1;$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+120>>2]&127]($b,c[ub>>2]|0);break}else{c[sb>>2]=vb;c[tb+4>>2]=0;Qe(0,162256,tb);tc()}}}while(0);Of(g);sb=c[t>>2]|0;if((sb|0)!=7){c[rb>>2]=sb;c[qb+4>>2]=7;Qe(0,162256,qb);tc()}do{if((c[(Yu(c[p>>2]|0,159896,g,0)|0)>>2]|0)==5){Of(g);qb=c[t>>2]|0;if((qb|0)==7){Yu(c[p>>2]|0,159904,g,0)|0;break}else{c[ob>>2]=qb;c[pb+4>>2]=7;Qe(0,162256,pb);tc()}}}while(0);pb=c[m>>2]|0;a:do{switch(pb|0){case 6:{jb=71;break};case 5:{break};case 4:{ob=c[j>>2]|0;do{if((Qc(ob|0,159912)|0)!=0){if((Qc(ob|0,159920)|0)==0){break}switch(pb|0){case 6:{jb=71;break a};case 5:{break a};case 8:case 7:case 4:{jb=79;break a};default:{jb=81;break a}}}}while(0);$b=b+28|0;bX(xa|0,0,16)|0;QB(c[$b>>2]|0,nb);_b=c[b+8>>2]|0;hd[c[(c[_b>>2]|0)+168>>2]&127](_b,c[$b>>2]|0);break};case 8:case 7:{jb=79;break};default:{jb=81}}}while(0);do{if((jb|0)==71){if((c[(c[j>>2]|0)+12>>2]|0)==4){mb=6;ob=0}else{jb=81;break}while(1){if((mb|0)!=6){jb=75;break}ut(c[j>>2]|0,ob,oa)|0;$b=nb+(ob<<2)|0;c[$b>>2]=EH(oa)|0;Of(oa);pb=ob+1|0;if((c[$b>>2]|0)==0){ib=ob;break}if((pb|0)>=4){ib=pb;break}mb=c[m>>2]|0;ob=pb}if((jb|0)==75){c[lb>>2]=mb;c[kb+4>>2]=6;Qe(0,162256,kb);tc()}if((ib|0)!=4){break}$b=b+28|0;QB(c[$b>>2]|0,nb);_b=c[b+8>>2]|0;hd[c[(c[_b>>2]|0)+168>>2]&127](_b,c[$b>>2]|0)}else if((jb|0)==79){$b=EH(g)|0;c[xa>>2]=$b;if(($b|0)==0){break}c[nb+12>>2]=0;c[nb+8>>2]=0;c[nb+4>>2]=0;$b=b+28|0;QB(c[$b>>2]|0,nb);_b=c[b+8>>2]|0;hd[c[(c[_b>>2]|0)+168>>2]&127](_b,c[$b>>2]|0)}}while(0);if((jb|0)==81){ib=c[b+120>>2]|0;do{if((ib|0)==0){ib=-1}else{ib=c[ib+4>>2]|0;if((c[ib+16>>2]|0)!=8){ib=-1;break}ib=c[ib+24>>2]|0;ib=jd[c[(c[ib>>2]|0)+48>>2]&511](ib)|0}}while(0);Qe(ib,159936,mb)}Of(g);ib=c[t>>2]|0;if((ib|0)!=7){c[hb>>2]=ib;c[gb+4>>2]=7;Qe(0,162256,gb);tc()}do{if((c[(Yu(c[p>>2]|0,159976,g,0)|0)>>2]|0)==0){gb=b+28|0;hb=c[m>>2]|0;if((hb|0)==0){a[(c[gb>>2]|0)+481|0]=a[j]&1;$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+124>>2]&127]($b,c[gb>>2]|0);break}else{c[fb>>2]=hb;c[eb+4>>2]=0;Qe(0,162256,eb);tc()}}}while(0);Of(g);eb=c[t>>2]|0;if((eb|0)!=7){c[db>>2]=eb;c[cb+4>>2]=7;Qe(0,162256,cb);tc()}do{if((c[(Yu(c[p>>2]|0,159984,g,0)|0)>>2]|0)==0){db=b+28|0;cb=c[m>>2]|0;if((cb|0)==0){a[(c[db>>2]|0)+482|0]=a[j]&1;$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+128>>2]&127]($b,c[db>>2]|0);break}else{c[bb>>2]=cb;c[ab+4>>2]=0;Qe(0,162256,ab);tc()}}}while(0);Of(g);ab=c[t>>2]|0;if((ab|0)!=7){c[$a>>2]=ab;c[_a+4>>2]=7;Qe(0,162256,_a);tc()}b:do{if((c[(Yu(c[p>>2]|0,159992,g,0)|0)>>2]|0)!=5){_a=c[m>>2]|0;do{if((_a|0)==5){break b}else if((_a|0)==4){if((Qc(c[j>>2]|0,16e4)|0)!=0){break}$b=c[b+8>>2]|0;hd[c[(c[$b>>2]|0)+396>>2]&127]($b,c[b+28>>2]|0);break b}else if((_a|0)==7){Ya=Yu(c[j>>2]|0,160008,oa,0)|0;if((c[Ya>>2]|0)==4){Ya=(Qc(c[Ya+8>>2]|0,160016)|0)==0}else{Ya=0}Of(oa);c[xa>>2]=0;_a=c[m>>2]|0;if((_a|0)!=7){c[Xa>>2]=_a;c[Za+4>>2]=7;Qe(0,162256,Za);tc()}do{if((c[(Yu(c[j>>2]|0,159904,oa,0)|0)>>2]|0)!=5){Xa=EH(oa)|0;c[xa>>2]=Xa;if((c[Xa+4>>2]|0)==1){if((c[Xa+8>>2]|0)==1){break}}Xa=c[b+120>>2]|0;do{if((Xa|0)==0){Xa=-1}else{Xa=c[Xa+4>>2]|0;if((c[Xa+16>>2]|0)!=8){Xa=-1;break}Xa=c[Xa+24>>2]|0;Xa=jd[c[(c[Xa>>2]|0)+48>>2]&511](Xa)|0}}while(0);Qe(Xa,160024,Wa);Wa=c[xa>>2]|0;if((Wa|0)!=0){fd[c[(c[Wa>>2]|0)+4>>2]&511](Wa)}c[xa>>2]=0}}while(0);Of(oa);Wa=c[m>>2]|0;if((Wa|0)!=7){c[Va>>2]=Wa;c[Ua+4>>2]=7;Qe(0,162256,Ua);tc()}Ua=(c[(Yu(c[j>>2]|0,160080,oa,0)|0)>>2]|0)==6;c:do{if(Ua){bX(ta|0,0,128)|0;Va=c[Pa>>2]|0;if((Va|0)!=6){_b=Va;$b=Sa;c[$b>>2]=_b;$b=Ta+4|0;c[$b>>2]=6;$b=162256;Qe(0,$b,Ta);tc()}Va=0;while(1){Wa=c[Oa>>2]|0;if(!((Va|0)<(c[Wa+12>>2]|0)&(Va|0)<32)){break c}ut(Wa,Va,pa)|0;Wa=c[Da>>2]|0;if((Wa+ -1|0)>>>0<2){if((Wa|0)==1){ac=+(c[Aa>>2]|0)}else{ac=+h[Aa>>3]}c[ya+(Va<<2)>>2]=~~(ac*65536.0)}Of(pa);Wa=c[Pa>>2]|0;if((Wa|0)==6){Va=Va+1|0}else{break}}$b=Sa;c[$b>>2]=Wa;$b=Ta+4|0;c[$b>>2]=6;$b=162256;Qe(0,$b,Ta);tc()}}while(0);Of(oa);Sa=c[m>>2]|0;if((Sa|0)!=7){c[Qa>>2]=Sa;c[Ra+4>>2]=7;Qe(0,162256,Ra);tc()}if((c[(Yu(c[j>>2]|0,160088,oa,0)|0)>>2]|0)==8){Ja=c[Pa>>2]|0;if((Ja|0)!=8){c[Na>>2]=Ja;c[Ma+4>>2]=8;Qe(0,162256,Ma);tc()}$b=c[Oa>>2]|0;do{if((c[(Yu(jd[c[(c[$b>>2]|0)+72>>2]&511]($b)|0,160096,pa,0)|0)>>2]|0)==7){Ga=c[Da>>2]|0;if((Ga|0)!=7){c[La>>2]=Ga;c[Ka+4>>2]=7;Qe(0,162256,Ka);tc()}if((c[(Yu(c[Aa>>2]|0,160104,ua,0)|0)>>2]|0)==5){Ga=0}else{Ga=Jy(ua,b)|0}Of(ua);Ja=c[Da>>2]|0;if((Ja|0)!=7){c[Ia>>2]=Ja;c[Ha+4>>2]=7;Qe(0,162256,Ha);tc()}do{if((c[(Yu(c[Aa>>2]|0,160112,ua,0)|0)>>2]|0)==0){Ha=c[za>>2]|0;if((Ha|0)==0){ra=(a[va]&1)!=0;break}else{c[Ea>>2]=Ha;c[Fa+4>>2]=0;Qe(0,162256,Fa);tc()}}else{ra=0}}while(0);Of(ua);Da=c[Da>>2]|0;if((Da|0)!=7){c[Ba>>2]=Da;c[Ca+4>>2]=7;Qe(0,162256,Ca);tc()}do{if((c[(Yu(c[Aa>>2]|0,160120,ua,0)|0)>>2]|0)==0){za=c[za>>2]|0;if((za|0)==0){qa=(a[va]&1)!=0;break}else{c[wa>>2]=za;c[sa+4>>2]=0;Qe(0,162256,sa);tc()}}else{qa=0}}while(0);Of(ua);do{if(!Ua){if((Ga|0)==0){bX(ta|0,0,128)|0;break}else{hd[c[(c[Ga>>2]|0)+48>>2]&127](Ga,ya);break}}}while(0);zx(b,oa,Ya,Ga,ra,qa,c[xa>>2]|0,ya);qa=c[xa>>2]|0;if((qa|0)==0){break}fd[c[(c[qa>>2]|0)+4>>2]&511](qa)}else{qa=c[b+120>>2]|0;do{if((qa|0)==0){qa=-1}else{qa=c[qa+4>>2]|0;if((c[qa+16>>2]|0)!=8){qa=-1;break}qa=c[qa+24>>2]|0;qa=jd[c[(c[qa>>2]|0)+48>>2]&511](qa)|0}}while(0);Qe(qa,160128,Ga)}}while(0);Of(pa)}else{pa=c[b+120>>2]|0;do{if((pa|0)==0){pa=-1}else{pa=c[pa+4>>2]|0;if((c[pa+16>>2]|0)!=8){pa=-1;break}pa=c[pa+24>>2]|0;pa=jd[c[(c[pa>>2]|0)+48>>2]&511](pa)|0}}while(0);Qe(pa,160128,Ja)}Of(oa);break b}}while(0);oa=c[b+120>>2]|0;do{if((oa|0)==0){oa=-1}else{oa=c[oa+4>>2]|0;if((c[oa+16>>2]|0)!=8){oa=-1;break}oa=c[oa+24>>2]|0;oa=jd[c[(c[oa>>2]|0)+48>>2]&511](oa)|0}}while(0);Qe(oa,160176,Ya)}}while(0);Of(g);oa=c[t>>2]|0;if((oa|0)!=7){c[na>>2]=oa;c[ma+4>>2]=7;Qe(0,162256,ma);tc()}do{if((c[(Yu(c[p>>2]|0,159192,g,0)|0)>>2]|0)==6){ma=c[m>>2]|0;if((ma|0)!=6){c[la>>2]=ma;c[ka+4>>2]=6;Qe(0,162256,ka);tc()}la=c[j>>2]|0;if((c[la+12>>2]|0)!=2){T=c[b+120>>2]|0;do{if((T|0)==0){T=-1}else{T=c[T+4>>2]|0;if((c[T+16>>2]|0)!=8){T=-1;break}T=c[T+24>>2]|0;T=jd[c[(c[T>>2]|0)+48>>2]&511](T)|0}}while(0);Qe(T,160208,ja);break}c[fa>>2]=13;ka=V+8|0;c[ka>>2]=0;c[ka+4>>2]=0;c[Y>>2]=13;ja=T+8|0;c[ja>>2]=0;c[ja+4>>2]=0;vt(la,0,V)|0;la=c[m>>2]|0;if((la|0)!=6){c[ha>>2]=la;c[ia+4>>2]=6;Qe(0,162256,ia);tc()}ut(c[j>>2]|0,1,T)|0;do{if((c[fa>>2]|0)==9){if(((c[Y>>2]|0)+ -1|0)>>>0>=2){break}c[ga>>2]=13;ha=U+8|0;c[ha>>2]=0;c[ha+4>>2]=0;Nf(V,c[b>>2]|0,U,0)|0;if((c[ga>>2]|0)==7){fa=c[fa>>2]|0;if((fa|0)!=9){c[ea>>2]=fa;c[da+4>>2]=9;Qe(0,162256,da
7321 function $K(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;do{if((d|b|e|0)<0){a=6}else{if((e|0)==0|(b|0)==0){if((f|0)==0){f=0;a=0;break}hd[c[a+8>>2]&127](a,f);f=0;a=0;break}if((2147483647/(b|0)|0|0)<(e|0)){a=10;break}if((d|0)!=0){d=da(d,b)|0;b=da(e,b)|0;b=pd[c[a+12>>2]&63](a,d,b,f)|0;a=(b|0)==0;f=a?f:b;a=a?64:0;break}b=da]|0,c[d>>2]|0)|0;c[e>>2]=0;c[d>>2]=0;c[a>>2]=0;i=b;return}function JL(a,b){a=a|0;b=b|0;var c=0;c=i;a=AW(b)|0;i=c;return a|0}function KL(a){a=a|0;var b=0,d=0;b=i;d=a+12|0;BW(c[d>>2]|0);c[d>>2]=0;c[a+4>>2]=0;c[a>>2]=0;i=b;return}function LL(a,b){a=a|0;b=b|0;a=i;BW(b);i=a;return}function ML(){var a=0,b=0;b=i;a=AW(16)|0;if((a|0)==0){i=b;return a|0}c[a>>2]=0;c[a+4>>2]=190;c[a+12>>2]=40;c[a+8>>2]=91;i=b;return a|0}function NL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=i;b=CW(d,c)|0;i=a;return b|0}function OL(a){a=a|0;var b=0;b=i;hd[c[a+8>>2]&127](a,a);i=b;return}function PL(a,b){a=a|0;b=b|0;b=c[a>>2]|0;c[a+16>>2]=c[b+296>>2];c[a+20>>2]=c[b+300>>2];i=i;return 0}function QL(a){a=a|0;c[a+20>>2]=0;c[a+16>>2]=0;i=i;return}function RL(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,j=0,k=0;f=i;g=c[a+20>>2]|0;a=c[a+16>>2]|0;if((a|0)==0){k=0;i=f;return k|0}else{j=0}while(1){h=(j+a|0)>>>1;k=c[g+(h<<3)>>2]|0;if((k|0)==(b|0)){break}k=k>>>0>b>>>0;a=k?h:a;j=k?j:h+1|0;if(j>>>0>=a>>>0){g=0;d=5;break}}if((d|0)==5){i=f;return g|0}k=(e[g+(h<<3)+4>>1]|0)+1|0;i=f;return k|0}function SL(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,j=0,k=0,l=0;f=i;d=c[a+20>>2]|0;g=(c[b>>2]|0)+1|0;a=c[a+16>>2]|0;a:do{if((a|0)==0){k=0}else{j=a;k=0;while(1){h=(k+j|0)>>>1;l=c[d+(h<<3)>>2]|0;if((g|0)==(l|0)){break}l=g>>>0<l>>>0;j=l?h:j;k=l?k:h+1|0;if(k>>>0>=j>>>0){break a}}j=g;l=(e[d+(h<<3)+4>>1]|0)+1|0;k=b;c[k>>2]=j;i=f;return l|0}}while(0);if(k>>>0>=a>>>0){j=0;l=0;k=b;c[k>>2]=j;i=f;return l|0}j=c[d+(k<<3)>>2]|0;l=(e[d+(k<<3)+4>>1]|0)+1|0;k=b;c[k>>2]=j;i=f;return l|0}function TL(a,b){a=a|0;b=b|0;var c=0;c=i;a=uJ(207288,b)|0;i=c;return a|0}function UL(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;g=i;h=i;i=i+16|0;f=h;a:do{if((ZL(d,e)|0)!=0){VL(e);l=e+132|0;k=$V(l,d)|0;do{if((k&255|0)!=7){if((k|0)!=0){k=gW(l,d)|0;if(!((k&255|0)!=7&(k|0)==0)){break}}c[e+172>>2]=d;c[e+104>>2]=l;if((ZL(l,e)|0)==0){break a}}}while(0);VL(e);l=2;i=g;return l|0}}while(0);k=c[e+180>>2]|0;do{if((k|0)==0){j=14}else{d=c[e+176>>2]|0;if((d|0)==0){j=14;break}l=a[k]|0;if(!(l<<24>>24==73|l<<24>>24==105)){j=14;break}l=a[k+1|0]|0;if(!(l<<24>>24==83|l<<24>>24==115)){j=14;break}l=a[k+2|0]|0;if(!(l<<24>>24==79|l<<24>>24==111)){j=14;break}k=k+3|0;if((Qc(k|0,206736)|0)!=0){if((Qc(k|0,206744)|0)!=0){j=14;break}if((Qc(d|0,206752)|0)!=0){j=14;break}}c[h>>2]=e;l=f+4|0;k=l;c[k>>2]=0;c[k+4>>2]=0;c[l>>2]=1970170211;b[f+8>>1]=3;b[f+10>>1]=1}}while(0);if((j|0)==14){c[h>>2]=e;l=f+4|0;c[l>>2]=0;c[l+4>>2]=0}l=eK(206584,0,f,0)|0;i=g;return l|0}function VL(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;if((b|0)==0){i=d;return}e=c[b+100>>2]|0;f=b+300|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=b+292|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=b+284|0;h=c[f>>2]|0;do{if((h|0)==0){h=0}else{g=b+280|0;if((c[g>>2]|0)>0){j=0}else{break}do{k=h+(j*12|0)|0;do{if((k|0)!=0){lJ(e,c[k>>2]|0);c[k>>2]=0;if((a[h+(j*12|0)+4|0]|0)==0){break}k=h+(j*12|0)+8|0;lJ(e,c[k>>2]|0);c[k>>2]=0}}while(0);j=j+1|0;h=c[f>>2]|0}while((j|0)<(c[g>>2]|0))}}while(0);lJ(e,h);c[f>>2]=0;f=b+192|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=b+20|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=b+24|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=b+32|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=b+176|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=b+180|0;lJ(e,c[f>>2]|0);c[f>>2]=0;e=b+104|0;f=c[e>>2]|0;if((f|0)!=(b+132|0)){i=d;return}zJ(f);c[e>>2]=c[b+172>>2];i=d;return}function WL(e,f,g,h){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;h=i;f=c[f>>2]|0;if((f|0)==0){s=6;i=h;return s|0}if((c[f+16>>2]|0)>>>0<=g>>>0){s=6;i=h;return s|0}r=c[f+104>>2]|0;k=(g|0)==0?0:g+ -1|0;n=c[f+292>>2]|0;m=n+(k<<4)+6|0;p=(b[n+(k<<4)+8>>1]|0)+(b[m>>1]|0)|0;g=e+76|0;c[g>>2]=p;j=n+(k<<4)+2|0;l=n+(k<<4)|0;q=(b[j>>1]|0)-(b[l>>1]|0)|0;c[e+80>>2]=q;b[e+92>>1]=1;a[e+94|0]=1;o=f+308|0;s=1<<(c[o>>2]&3);if((s|0)==1){q=q+7>>3;c[e+84>>2]=q}else if((s|0)==8){q=q+63>>6<<3;c[e+84>>2]=q}else if((s|0)==4){q=q+31>>5<<2;c[e+84>>2]=q}else if((s|0)==2){q=q+15>>4<<1;c[e+84>>2]=q}else{s=3;i=h;return s|0}p=da(p,q)|0;q=CJ(e,p)|0;if((q|0)!=0){s=q;i=h;return s|0}q=PJ(r,c[n+(k<<4)+12>>2]|0)|0;if((q|0)!=0){s=q;i=h;return s|0}q=e+88|0;r=CK(r,c[q>>2]|0,p)|0;if((r|0)!=0){s=r;i=h;return s|0}r=c[o>>2]|0;if(!((r&8|0)!=0|(p|0)==0)){s=p;r=c[q>>2]|0;while(1){t=d[r]|0;t=t>>>1&85|t<<1&170;t=t>>>2&51|t<<2&204;a[r]=t>>>4|t<<4;s=s+ -1|0;if((s|0)==0){break}else{r=r+1|0}}r=c[o>>2]|0}do{if(((r>>>2^r>>>3)&1|0)!=0){o=1<<(r>>>4&3);if((o|0)==4){if(p>>>0<=3){break}o=c[q>>2]|0;while(1){s=a[o]|0;r=o+3|0;a[o]=a[r]|0;a[r]=s;r=o+1|0;s=a[r]|0;t=o+2|0;a[r]=a[t]|0;a[t]=s;p=p+ -4|0;if(p>>>0>3){o=o+4|0}else{break}}}else if((o|0)==2){if(p>>>0<=1){break}o=c[q>>2]|0;while(1){s=a[o]|0;t=o+1|0;a[o]=a[t]|0;a[t]=s;p=p+ -2|0;if(p>>>0>1){o=o+2|0}else{break}}}else{break}}}while(0);c[e+72>>2]=1651078259;c[e+100>>2]=b[l>>1]|0;c[e+104>>2]=b[m>>1]|0;s=e+24|0;c[e+40>>2]=b[n+(k<<4)+4>>1]<<6;c[e+32>>2]=b[l>>1]<<6;c[e+36>>2]=b[m>>1]<<6;c[s>>2]=(b[j>>1]|0)-(b[l>>1]|0)<<6;c[e+28>>2]=c[g>>2]<<6;t=f+196|0;XJ(s,(c[t+12>>2]|0)+(c[t+8>>2]|0)<<6);t=0;i=h;return t|0}function XL(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;f=i;e=c[a>>2]|0;g=c[d+16>>2]|0;h=c[d+8>>2]|0;if((g|0)!=0){h=((da(h,g)|0)+36|0)/72|0}g=h+32>>6;d=c[d>>2]|0;if((d|0)==0){d=(c[(c[e+32>>2]|0)+12>>2]|0)+32>>6}else if((d|0)==1){d=e+196|0;d=(c[d+12>>2]|0)+(c[d+8>>2]|0)|0}else{h=7;i=f;return h|0}d=(g|0)==(d|0);if(!d){h=d?0:23;i=f;return h|0}h=e+196|0;YJ(e,0);c[a+24>>2]=c[h+8>>2]<<6;c[a+28>>2]=0-(c[h+12>>2]|0)<<6;c[a+36>>2]=b[h+40>>1]<<6;h=0;i=f;return h|0}function YL(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=i;g=c[a>>2]|0;f=g+196|0;YJ(g,d);c[a+24>>2]=c[f+8>>2]<<6;c[a+28>>2]=0-(c[f+12>>2]|0)<<6;c[a+36>>2]=b[f+40>>1]<<6;i=e;return 0}function ZL(e,f){e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;g=i;m=i;i=i+8|0;n=m;p=i;i=i+8|0;r=p;s=i;i=i+8|0;v=s;x=i;i=i+8|0;y=x;w=i;i=i+8|0;A=w;o=i;i=i+8|0;z=o;D=i;i=i+8|0;u=D;B=i;i=i+16|0;h=i;i=i+8|0;j=h;c[h>>2]=0;q=f+100|0;k=c[q>>2]|0;t=f+184|0;J=PJ(e,0)|0;c[D>>2]=J;a:do{if((J|0)==0){J=ZK(e,207248,t)|0;c[D>>2]=J;if((J|0)!=0){f=1;l=20;break}if((c[t>>2]|0)!=1885562369){f=3;l=20;break}t=f+188|0;C=c[t>>2]|0;if(C>>>0>134217727|(C|0)==0){f=3;l=20;break}C=oJ(k,16,0,C,0,u)|0;u=f+192|0;c[u>>2]=C;if((c[D>>2]|0)!=0){f=64;l=20;break}do{if((c[t>>2]|0)==0){F=0;l=10}else{E=0;while(1){J=ZK(e,207264,C)|0;c[D>>2]=J;if((J|0)!=0){break}E=E+1|0;F=c[t>>2]|0;if(E>>>0<F>>>0){C=C+16|0}else{l=9;break}}if((l|0)==9){C=c[u>>2]|0;if((F|0)==1){F=1;l=22;break}else{l=10;break}}lJ(k,c[u>>2]|0);c[u>>2]=0;J=c[D>>2]|0;c[h>>2]=J;if((J|0)!=0){break a}F=c[t>>2]|0;C=0}}while(0);if((l|0)==10){D=0;while(1){l=~D;D=D+1|0;if((F|0)==(D|0)){break}G=c[C+12>>2]|0;H=0;F=0;while(1){E=F+1|0;I=C+(E<<4)+12|0;J=c[I>>2]|0;if(G>>>0>J>>>0){G=C+(E<<4)|0;H=C+(F<<4)|0;$W(B|0,H|0,16)|0;$W(H|0,G|0,16)|0;$W(G|0,B|0,16)|0;G=c[I>>2]|0;H=1}else{G=J}I=c[C+(F<<4)+8>>2]|0;if(I>>>0>G>>>0){f=9;l=20;break a}if((c[C+(F<<4)+12>>2]|0)>>>0>(G-I|0)>>>0){f=9;l=20;break a}F=c[t>>2]|0;if(E>>>0<(F+l|0)>>>0){F=E}else{break}}if((H|0)==0){break}if(D>>>0<(F+ -1|0)>>>0){}else{break}}C=c[u>>2]|0;l=22}if((l|0)==22){c[h>>2]=0}B=c[q>>2]|0;b:do{if((F|0)==0){z=3;l=30}else{D=0;while(1){E=D+1|0;if((c[C+(D<<4)>>2]|0)==1){break}if(E>>>0<F>>>0){D=E}else{z=3;l=30;break b}}E=c[e+8>>2]|0;F=c[C+(D<<4)+12>>2]|0;if(E>>>0>F>>>0){z=83;l=30;break}if((DK(e,F-E|0)|0)!=0){z=83;l=30;break}G=c[C+(D<<4)+8>>2]|0;c[o>>2]=0;C=YK(e,z)|0;if(!((c[o>>2]|0)==0&C>>>0<256)){D=0;G=0;break}F=(C&4|0)==0;if(F){C=YK(e,z)|0}else{C=GK(e,z)|0}if((c[o>>2]|0)!=0){D=0;G=0;break}if(C>>>0>((G>>>0)/9|0)>>>0){c[o>>2]=8;D=0;G=0;break}c[f+280>>2]=C;D=oJ(B,12,0,C,0,z)|0;if((c[o>>2]|0)!=0){G=0;break}E=(C|0)==0;do{if(!E){if(F){H=0;do{J=ZK(e,207224,D+(H*12|0)|0)|0;c[o>>2]=J;if((J|0)!=0){G=0;break b}H=H+1|0;}while(H>>>0<C>>>0)}else{H=0;do{J=ZK(e,207200,D+(H*12|0)|0)|0;c[o>>2]=J;if((J|0)!=0){G=0;break b}H=H+1|0;}while(H>>>0<C>>>0)}H=C&3;if((H|0)==0){break}J=DK(e,4-H|0)|0;c[o>>2]=J;if((J|0)==0){break}c[o>>2]=83;G=0;break b}}while(0);if(F){F=YK(e,z)|0}else{F=GK(e,z)|0}if((c[o>>2]|0)!=0){G=0;break}if(F>>>0>((da(C,-9)|0)+G|0)>>>0){c[o>>2]=8;G=0;break}G=oJ(B,1,0,F,0,z)|0;if((c[o>>2]|0)!=0){break}J=CK(e,G,F)|0;c[o>>2]=J;if((J|0)!=0){break}H=oJ(B,12,0,C,0,z)|0;if((c[o>>2]|0)!=0){break}c[f+284>>2]=H;c:do{if(!E){E=0;while(1){I=c[D+(E*12|0)>>2]|0;if((I|0)<0|I>>>0>F>>>0){l=59;break}c[H+(E*12|0)>>2]=aL(B,G+I|0,z)|0;if((c[o>>2]|0)!=0){break b}J=D+(E*12|0)+4|0;a[H+(E*12|0)+4|0]=a[J]|0;I=c[D+(E*12|0)+8>>2]|0;if((a[J]|0)==0){c[H+(E*12|0)+8>>2]=I}else{if((I|0)<0|I>>>0>F>>>0){l=63;break}c[H+(E*12|0)+8>>2]=aL(B,G+I|0,z)|0;if((c[o>>2]|0)!=0){break b}}E=E+1|0;if(E>>>0>=C>>>0){break c}}if((l|0)==59){c[o>>2]=9;break b}else if((l|0)==63){c[o>>2]=9;break b}}}while(0);c[o>>2]=0}}while(0);if((l|0)==30){c[o>>2]=z;D=0;G=0}lJ(B,D);lJ(B,G);J=c[o>>2]|0;c[h>>2]=J;if((J|0)!=0){break}o=c[u>>2]|0;B=c[t>>2]|0;d:do{if((B|0)==0){l=72}else{z=0;while(1){C=z+1|0;if((c[o+(z<<4)>>2]|0)==256){z=1;break d}if(C>>>0<B>>>0){z=C}else{l=72;break}}}}while(0);if((l|0)==72){J=_L(e,f,2)|0;c[h>>2]=J;if((J|0)!=0){break}B=c[t>>2]|0;o=c[u>>2]|0;z=0}c[w>>2]=0;C=c[q>>2]|0;e:do{if((B|0)==0){E=3;l=79}else{l=0;while(1){D=l+1|0;if((c[o+(l<<4)>>2]|0)==4){break}if(D>>>0<B>>>0){l=D}else{E=3;l=79;break e}}B=e+8|0;E=c[B>>2]|0;D=c[o+(l<<4)+12>>2]|0;if(E>>>0>D>>>0){E=83;l=79;break}if((DK(e,D-E|0)|0)!=0){E=83;l=79;break}D=c[o+(l<<4)+8>>2]|0;c[w>>2]=0;l=YK(e,A)|0;E=c[w>>2]|0;if((E|0)!=0){l=102;break}J=l&-256;if(!((J|0)==256|(J|0)==0)){E=3;l=102;break}F=l>>>0<256;E=(l&4|0)!=0;do{if(F){if(E){l=GK(e,A)|0;break}else{l=YK(e,A)|0;break}}else{if(E){l=(EK(e,A)|0)&65535;break}else{l=(WK(e,A)|0)&65535;break}}}while(0);if((c[w>>2]|0)!=0){E=3;l=102;break}o=f+288|0;c[o>>2]=l;if((l|0)==0){E=8;l=102;break}if(F){if(l>>>0>((D>>>0)/12|0)>>>0){E=8;l=102;break}}else{if(l>>>0>((D>>>0)/5|0)>>>0){E=8;l=102;break}}D=oJ(C,16,0,l,0,A)|0;A=f+292|0;c[A>>2]=D;if((c[w>>2]|0)!=0){E=64;l=102;break}J=E?206992:207024;I=y+1|0;E=y+2|0;H=y+3|0;G=y+4|0;f:do{if(F){x=0;while(1){c[w>>2]=ZK(e,J,D+(x<<4)|0)|0;c[D+(x<<4)+12>>2]=0;x=x+1|0;if((c[w>>2]|0)!=0){l=104;break f}if(x>>>0<l>>>0){}else{l=103;break}}}else{F=0;while(1){J=ZK(e,207056,y)|0;if((J|0)==0){b[D+(F<<4)>>1]=(d[x]|0)+ -128<<16>>16;b[D+(F<<4)+2>>1]=(d[I]|0)+ -128<<16>>16;b[D+(F<<4)+4>>1]=(d[E]|0)+ -128<<16>>16;b[D+(F<<4)+6>>1]=(d[H]|0)+ -128<<16>>16;b[D+(F<<4)+8>>1]=(d[G]|0)+ -128<<16>>16;b[D+(F<<4)+10>>1]=0;J=0}c[w>>2]=J;c[D+(F<<4)+12>>2]=0;F=F+1|0;if((c[w>>2]|0)!=0){l=104;break f}if(F>>>0>=l>>>0){l=103;break}}}}while(0);if((l|0)==103){c[h>>2]=0}else if((l|0)==104){lJ(C,c[A>>2]|0);c[A>>2]=0;J=c[w>>2]|0;c[h>>2]=J;if((J|0)!=0){break a}}c[s>>2]=0;w=c[q>>2]|0;y=c[u>>2]|0;D=c[t>>2]|0;g:do{if((D|0)==0){E=3;l=110}else{x=0;while(1){C=x+1|0;if((c[y+(x<<4)>>2]|0)==8){break}if(C>>>0<D>>>0){x=C}else{E=3;l=110;break g}}C=c[B>>2]|0;D=c[y+(x<<4)+12>>2]|0;if(C>>>0>D>>>0){E=83;l=110;break}if((DK(e,D-C|0)|0)!=0){E=83;l=110;break}x=c[y+(x<<4)+8>>2]|0;c[s>>2]=0;E=MK(e,8)|0;c[s>>2]=E;if((E|0)!=0){break}y=UK(e)|0;F=(y&4|0)==0;if(F){C=UK(e)|0}else{C=TK(e)|0}PK(e);if(y>>>0>=256){E=3;break}J=c[o>>2]|0;if(!((J|0)>-1&(C|0)==(J|0))){E=3;break}D=oJ(w,4,0,C,0,v)|0;E=c[s>>2]|0;if((E|0)!=0){break}E=(C|0)==0;if(E){l=123}else{if(F){G=0;do{c[D+(G<<2)>>2]=YK(e,v)|0;G=G+1|0;}while(G>>>0<C>>>0)}else{G=0;do{c[D+(G<<2)>>2]=GK(e,v)|0;G=G+1|0;}while(G>>>0<C>>>0)}if((c[s>>2]|0)==0){l=123}}h:do{if((l|0)==123){if(F){F=0;do{YK(e,v)|0;F=F+1|0;if((c[s>>2]|0)!=0){break h}}while(F>>>0<4)}else{F=0;do{GK(e,v)|0;F=F+1|0;if((c[s>>2]|0)!=0){break h}}while(F>>>0<4)}if(!E){E=0;do{v=c[D+(E<<2)>>2]|0;if(!((v|0)<0|v>>>0>x>>>0)){c[(c[A>>2]|0)+(E<<4)+12>>2]=(c[B>>2]|0)+v}E=E+1|0;}while(E>>>0<C>>>0)}c[f+308>>2]=y}}while(0);lJ(w,D);J=c[s>>2]|0;c[h>>2]=J;if((J|0)!=0){break a}c[p>>2]=0;s=c[q>>2]|0;u=c[u>>2]|0;v=c[t>>2]|0;i:do{if((v|0)==0){E=3;l=140}else{t=0;while(1){w=t+1|0;if((c[u+(t<<4)>>2]|0)==32){break}if(w>>>0<v>>>0){t=w}else{E=3;l=140;break i}}v=c[B>>2]|0;t=c[u+(t<<4)+12>>2]|0;if(v>>>0>t>>>0){E=83;l=140;break}if((DK(e,t-v|0)|0)!=0){E=83;l=140;break}c[p>>2]=0;E=MK(e,14)|0;c[p>>2]=E;if((E|0)!=0){break}x=UK(e)|0;t=(x&4|0)==0;if(t){w=SK(e)|0;y=SK(e)|0;u=SK(e)|0;v=SK(e)|0;b[f+304>>1]=SK(e)|0}else{w=RK(e)|0;y=RK(e)|0;u=RK(e)|0;v=RK(e)|0;b[f+304>>1]=RK(e)|0}u=u<<16>>16;w=w<<16>>16;PK(e);if(x>>>0>=256){E=3;break}x=(y<<16>>16)-w+1|0;y=dada(n,e<<16>>16)|0)/72|0;c[s>>2]=n}else{n=o}if((r|0)==0|e<<16>>16==0){l=265;break}c[m+8>>2]=(da(n,r)|0)/(e<<16>>16|0)|0}else{n=0;l=259}}while(0);if((l|0)==259){c[m+12>>2]=n;l=265}if((l|0)==265){c[m+8>>2]=n}m=c[q>>2]|0;n=c[p>>2]|0;do{if((n|0)>0){q=0;while(1){p=q+1|0;o=(Qc(c[m+(q*12|0)>>2]|0,206856)|0)!=0;if((p|0)<(n|0)&o){q=p}else{break}}if(o){o=0}else{o=m+(q*12|0)|0}p=0;while(1){q=p+1|0;e=(Qc(c[m+(p*12|0)>>2]|0,206880)|0)!=0;if((q|0)<(n|0)&e){p=q}else{break}}if(e){m=0}else{m=m+(p*12|0)|0}if((o|0)==0){break}if((a[o+4|0]|0)==0|(m|0)==0){break}if((a[m+4|0]|0)==0){break}c[f+176>>2]=aL(k,c[m+8>>2]|0,j)|0;if((c[h>>2]|0)!=0){break a}c[f+180>>2]=aL(k,c[o+8>>2]|0,j)|0}}while(0);E=c[h>>2]|0;break e}}while(0);if((l|0)==140){c[p>>2]=E}c[h>>2]=E;break e}}while(0);if((l|0)==110){c[s>>2]=E}c[h>>2]=E}}while(0);if((l|0)==79){c[w>>2]=E;l=102}if((l|0)==102){c[h>>2]=E}if((E|0)==0){h=0}else{break}i=g;return h|0}else{f=1;l=20}}while(0);if((l|0)==20){c[h>>2]=f}c[h>>2]=3;J=3;i=g;return J|0}function _L(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;f=i;i=i+8|0;g=f;c[f>>2]=0;j=c[b+192>>2]|0;l=c[b+188>>2]|0;a:do{if((l|0)==0){b=3}else{h=0;while(1){k=h+1|0;if((c[j+(h<<4)>>2]|0)==(d|0)){break}if(k>>>0<l>>>0){h=k}else{b=3;break a}}k=c[a+8>>2]|0;h=c[j+(h<<4)+12>>2]|0;if(k>>>0>h>>>0){b=83;break}if((DK(a,h-k|0)|0)!=0){b=83;break}c[f>>2]=0;h=YK(a,g)|0;g=c[f>>2]|0;if((g|0)!=0){l=g;i=e;return l|0}g=h&-256;if(!((g|0)==256|(g|0)==0)){l=0;i=e;return l|0}j=h&4;h=b+196|0;do{if((j|0)==0){h=ZK(a,207144,h)|0;c[f>>2]=h;if((h|0)==0){break}i=e;return h|0}else{h=ZK(a,207088,h)|0;c[f>>2]=h;if((h|0)==0){break}i=e;return h|0}}while(0);h=b+216|0;j=(j|0)!=0?206992:207024;k=ZK(a,j,h)|0;c[f>>2]=k;if((k|0)!=0){l=k;i=e;return l|0}k=b+232|0;d=ZK(a,j,k)|0;c[f>>2]=d;if((d|0)!=0){l=d;i=e;return l|0}d=b+248|0;if((g|0)!=256){$W(d|0,h|0,16)|0;$W(b+264|0,k|0,16)|0;l=0;i=e;return l|0}g=ZK(a,j,d)|0;c[f>>2]=g;if((g|0)!=0){l=g;i=e;return l|0}l=ZK(a,j,b+264|0)|0;c[f>>2]=l;i=e;return l|0}}while(0);c[f>>2]=b;l=b;i=e;return l|0}function $L(a,b,d){a=a|0;b=b|0;d=d|0;c[b>>2]=c[a+176>>2];c[d>>2]=c[a+180>>2];i=i;return 0}function aM(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;g=i;f=c[b+284>>2]|0;b=c[b+280>>2]|0;if((b|0)>0){h=0}else{k=6;i=g;return k|0}while(1){j=h+1|0;k=(Qc(c[f+(h*12|0)>>2]|0,d|0)|0)!=0;if((j|0)<(b|0)&k){h=j}else{break}}if(k){k=6;i=g;return k|0}if((f+(h*12|0)|0)==0){k=6;i=g;return k|0}if((a[f+(h*12|0)+4|0]|0)==0){c[e>>2]=2;c[e+4>>2]=c[f+(h*12|0)+8>>2];k=0;i=g;return k|0}else{c[e>>2]=1;c[e+4>>2]=c[f+(h*12|0)+8>>2];k=0;i=g;return k|0}return 0}function bM(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;b=i;e=(c[a>>2]|0)+288|0;d=c[e+120>>2]|0;c[a+16>>2]=d;e=c[e+128>>2]|0;c[a+20>>2]=e;if(d>>>0<=1){g=0;i=b;return g|0}a=c[e>>2]|0;g=1;while(1){f=c[e+(g<<4)>>2]|0;g=g+1|0;if(a>>>0>=f>>>0){e=8;d=5;break}if(g>>>0<d>>>0){a=f}else{e=0;d=5;break}}if((d|0)==5){i=b;return e|0}return 0}function cM(a){a=a|0;c[a+20>>2]=0;c[a+16>>2]=0;i=i;return}function dM(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;e=i;g=c[a+16>>2]|0;if((g|0)==0){j=0;i=e;return j|0}a=c[a+20>>2]|0;h=0;while(1){f=((g-h|0)>>>1)+h|0;j=c[a+(f<<4)>>2]|0;if((j|0)==(b|0)){break}j=j>>>0<b>>>0;g=j?g:f;h=j?f+1|0:h;if(h>>>0>=g>>>0){b=0;d=6;break}}if((d|0)==6){i=e;return b|0}j=f+1|0;i=e;return j|0}function eM(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;f=c[a+16>>2]|0;a=a+20|0;a:do{if((f|0)==0){l=0;d=8}else{j=c[b>>2]|0;do{j=j+1|0;h=c[a>>2]|0;k=f;l=0;while(1){g=((k-l|0)>>>1)+l|0;m=c[h+(g<<4)>>2]|0;if((m|0)==(j|0)){break}m=m>>>0<j>>>0;l=m?g+1|0:l;k=m?k:g;if(l>>>0>=k>>>0){d=8;break a}}}while((g|0)==0);f=g+1|0}}while(0);do{if((d|0)==8){if(l>>>0>=f>>>0|(l|0)==0){j=0;f=0;break}j=c[(c[a>>2]|0)+(l<<4)>>2]|0;f=l+1|0}}while(0);c[b>>2]=j;i=e;return f|0}function fM(a,b,d,f,g){a=a|0;b=b|0;d=d|0;f=f|0;g=g|0;var h=0,j=0;h=i;j=a+288|0;a=c[a+88>>2]|0;if((b|0)!=0){c[b>>2]=c[j+12>>2]}if((d|0)!=0){c[d>>2]=c[j+16>>2]}if((a|0)==0){j=65536;a=65536}else{b=j+16|0;j=bJ((e[a+12>>1]|0)<<6,c[b>>2]|0)|0;a=bJ((e[a+14>>1]|0)<<6,c[b>>2]|0)|0}if((f|0)!=0){c[f>>2]=j}if((g|0)==0){i=h;return 0}c[g>>2]=a;i=h;return 0}function gM(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=i;k=e+288|0;c[h>>2]=0;c[h+4>>2]=0;f=(f|0)==0?0:f+ -1|0;g=(g|0)==0?0:g+ -1|0;r=c[k+120>>2]|0;if(f>>>0>r>>>0|g>>>0>r>>>0){r=0;i=j;return r|0}r=c[k+128>>2]|0;f=c[r+(g<<4)>>2]&65535|c[r+(f<<4)>>2]<<16;k=c[k+136>>2]|0;e=c[e+104>>2]|0;if((k|0)==0){r=0;i=j;return r|0}while(1){if(f>>>0>=(c[k+16>>2]|0)>>>0){if(f>>>0<=(c[k+20>>2]|0)>>>0){break}}k=c[k>>2]|0;if((k|0)==0){h=0;l=33;break}}if((l|0)==33){i=j;return h|0}l=PJ(e,c[k+12>>2]|0)|0;if((l|0)!=0){r=l;i=j;return r|0}l=k+4|0;g=k+8|0;m=MK(e,da(d[l]|0,c[g>>2]|0)|0)|0;if((m|0)!=0){r=m;i=j;return r|0}l=d[l]|0;n=c[g>>2]|0;q=cL(l)|0;o=da(q,n)|0;p=c[e+32>>2]|0;g=a[k+5|0]|0;m=g&1;g=g&2;do{if((l|0)==(q|0)){l=16}else{q=da(l-q|0,n)|0;if(m<<24>>24==0){l=q+2|0;q=d[p+q|0]<<16|d[p+(q+1)|0]}else{l=q+4|0;q=d[p+(q+1)|0]<<16|d[p+q|0]<<24|d[p+(q+2)|0]<<8|d[p+(q+3)|0]}if((q|0)==(f|0)){n=p+l|0;l=28;break}if(q>>>0>=f>>>0){l=16;break}p=p+(l+(g<<24>>24==0?1:2))|0;l=16}}while(0);a:do{if((l|0)==16){b:do{if(o>>>0>n>>>0){if(m<<24>>24==0){while(1){o=o>>>1;q=p+o|0;r=d[q]<<16|d[p+(o+1)|0];if((r|0)==(f|0)){break}p=r>>>0<f>>>0?q:p;if(o>>>0>n>>>0){}else{break b}}n=p+(o+2)|0;l=28;break a}else{while(1){o=o>>>1;r=p+o|0;q=d[p+(o+1)|0]<<16|d[r]<<24|d[p+(o+2)|0]<<8|d[p+(o+3)|0];if((q|0)==(f|0)){break}p=q>>>0<f>>>0?r:p;if(o>>>0>n>>>0){}else{break b}}n=p+(o+4)|0;l=28;break a}}}while(0);if(m<<24>>24==0){m=d[p]<<16|d[p+1|0];n=p+2|0}else{m=d[p+1|0]<<16|d[p]<<24|d[p+2|0]<<8|d[p+3|0];n=p+4|0}if((m|0)==(f|0)){l=28}}}while(0);if((l|0)==28){f=a[n]|0;if(g<<24>>24==0){f=f&255}else{f=(d[n+1|0]|(f&255)<<8&65535)<<16>>16}c[h>>2]=(b[k+6>>1]|0)+f}PK(e);r=0;i=j;return r|0}function hM(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;c[d>>2]=0;if((b|0)==0){b=6;i=e;return b|0}b=b+ -1|0;if((a|0)==0){b=6;i=e;return b|0}a=a+288|0;if(b>>>0>=(c[a+120>>2]|0)>>>0){b=6;i=e;return b|0}c[d>>2]=c[(c[a+128>>2]|0)+(b<<4)+4>>2];b=0;i=e;return b|0}function iM(a,b){a=a|0;b=b|0;var c=0;c=i;a=uJ(207688,b)|0;i=c;return a|0}function jM(e,f,g,h,j){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;h=i;r=i;i=i+8|0;t=r;u=i;i=i+8|0;s=u;o=i;i=i+8|0;q=o;p=i;i=i+8|0;v=p;w=i;i=i+8|0;z=w;j=i;i=i+8|0;m=j;l=i;i=i+16|0;k=l;y=f+132|0;x=PJ(e,0)|0;do{if((x|0)==0){x=ZK(e,207568,y)|0;if((x|0)!=0){break}x=f+204|0;O=f+168|0;c[O>>2]=(c[O>>2]|0)+(c[x>>2]<<16);c[j>>2]=0;do{if((c[y>>2]|0)==1346785840){if((c[f+136>>2]|0)>>>0>4){break}if((c[f+144>>2]|0)>>>0<58){break}if((c[f+140>>2]|0)!=3338){break}y=f+152|0;A=PJ(e,c[y>>2]|0)|0;c[w>>2]=A;if((A|0)!=0){c[j>>2]=A;O=A;i=h;return O|0}z=EK(e,z)|0;A=c[w>>2]|0;w=(A|0)==0;z=w?z&65535:0;c[j>>2]=A;if(!w){O=A;i=h;return O|0}c[f>>2]=z;if((g|0)<0){O=0;i=h;return O|0}if((z|0)<=(g|0)){c[j>>2]=6;O=6;i=h;return O|0}w=f+240|0;x=(c[x>>2]|0)==0;y=PJ(e,c[y>>2]|0)|0;c[p>>2]=y;do{if((y|0)==0){y=EK(e,v)|0;z=c[p>>2]|0;if((z|0)!=0){v=z;break}if((y&65535)>>>0<=g>>>0){v=6;break}y=DK(e,g*5|0)|0;c[p>>2]=y;if((y|0)!=0){v=y;break}A=EK(e,v)|0;z=A&65535;y=c[p>>2]|0;if((y|0)!=0){v=y;break}y=XK(e,v)|0;v=c[p>>2]|0;if((v|0)!=0){break}c[w>>2]=z;c[f+244>>2]=y;v=PJ(e,y)|0;c[p>>2]=v;if((v|0)!=0){break}v=MK(e,z)|0;c[p>>2]=v;if((v|0)!=0){break}v=e+32|0;B=c[v>>2]|0;y=B+z|0;a:do{if((A&65535)<13){n=53}else{c[w+8>>2]=d[B+1|0]<<8|a[B]<<16|d[B+2|0];c[w+12>>2]=d[B+4|0]<<8|a[B+3|0]<<16|d[B+5|0];c[w+16>>2]=d[B+7|0]<<8|a[B+6|0]<<16|d[B+8|0];c[w+20>>2]=d[B+10|0]<<8|a[B+9|0]<<16|d[B+11|0];E=B+13|0;A=d[B+12|0]|0;D=(A&4|0)!=0;if(D){C=A>>>3&1;F=(A&3|0)==0?C|4:C+1|0}else{F=0}C=(A&16|0)!=0;if(C){F=(A>>>5&1)+1+F|0}if((F+13|0)>(z|0)){n=53;break}do{if(D){if((A&8|0)==0){z=d[E]|0;E=B+14|0}else{z=(d[E]<<8&65535|d[B+14|0])<<16>>16;E=B+15|0}c[w+28>>2]=z;if((A&3|0)!=0){break}c[w+36>>2]=d[E+1|0]<<8|a[E]<<16|d[E+2|0];E=E+3|0}}while(0);if(C){if((A&32|0)==0){z=d[E]|0;E=E+1|0}else{z=(d[E]<<8&65535|d[E+1|0])<<16>>16;E=E+2|0}c[w+32>>2]=z}b:do{if((A&64|0)!=0){A=E+1|0;c:do{if(A>>>0<=y>>>0){z=a[E]|0;if(z<<24>>24==0){E=A}else{z=z&255;E=A;do{if((E+2|0)>>>0>y>>>0){break c}E=E+((d[E]|0)+2)|0;if(E>>>0>y>>>0){break c}z=z+ -1|0;}while((z|0)!=0)}c[p>>2]=0;break b}}while(0);c[p>>2]=8;break a}}while(0);A=E+5|0;if(A>>>0>y>>>0){n=53;break}z=(d[E]<<8&65535|d[E+1|0])&65535;B=w+40|0;c[B>>2]=z;c[w+44>>2]=d[E+3|0]<<8|d[E+2|0]<<16|d[E+4|0];if(x){break}if((E+6|0)>>>0>y>>>0){n=53;break}c[B>>2]=d[A]<<16|z}}while(0);if((n|0)==53){c[p>>2]=8}PK(e);p=c[p>>2]|0;c[j>>2]=p;if((p|0)!=0){O=p;i=h;return O|0}p=f+288|0;A=c[w+44>>2]|0;C=c[w+40>>2]|0;B=c[e+28>>2]|0;c[p>>2]=B;c[p+4>>2]=A;O=p+136|0;c[O>>2]=0;c[p+140>>2]=O;O=PJ(e,A)|0;c[o>>2]=O;d:do{if((O|0)==0){O=MK(e,C)|0;c[o>>2]=O;if((O|0)!=0){break}w=p+148|0;c[w>>2]=c[v>>2];E=c[v>>2]|0;z=E+C|0;e:do{if((C|0)<15){n=125}else{c[p+8>>2]=(d[E]<<8&65535|d[E+1|0])&65535;c[p+12>>2]=(d[E+2|0]<<8&65535|d[E+3|0])&65535;c[p+16>>2]=(d[E+4|0]<<8&65535|d[E+5|0])&65535;c[p+20>>2]=(d[E+6|0]<<8&65535|d[E+7|0])<<16>>16;c[p+24>>2]=(d[E+8|0]<<8&65535|d[E+9|0])<<16>>16;c[p+28>>2]=(d[E+10|0]<<8&65535|d[E+11|0])<<16>>16;c[p+32>>2]=(d[E+12|0]<<8&65535|d[E+13|0])<<16>>16;D=E+15|0;y=d[E+14|0]|0;c[p+36>>2]=y;x=(y&4|0)!=0;if(x){C=D}else{if((C|0)<17){n=125;break}c[p+40>>2]=(d[D]<<8&65535|d[E+16|0])<<16>>16;C=E+17|0}f:do{if((y&128|0)==0){D=C}else{D=C+1|0;g:do{if(D>>>0>z>>>0){E=8}else{C=a[C]|0;if(C<<24>>24!=0){C=C&255;do{E=D+2|0;if(E>>>0>z>>>0){E=8;break g}F=d[D+1|0]|0;D=D+((d[D]|0)+2)|0;if(D>>>0>z>>>0){E=8;break g}else{H=30;G=207528}while(1){if((c[G>>2]|0)==(F|0)){n=70;break}H=c[G+12>>2]|0;if((H|0)==0){break}else{G=G+8|0}}if((n|0)==70){n=0;E=sd[H&127](E,D,p)|0;if((E|0)!=0){break g}}C=C+ -1|0;}while((C|0)!=0)}c[o>>2]=0;break f}}while(0);c[o>>2]=E;break e}}while(0);M=D+3|0;if(M>>>0>z>>>0){n=125;break}I=d[D+1|0]<<8|d[D]<<16|d[D+2|0];h:do{if((I|0)==0){H=M}else{H=D+(I+3)|0;if(H>>>0>z>>>0){n=125;break e}D=p+84|0;G=p+44|0;C=p+48|0;F=p+52|0;E=p+88|0;i:while(1){L=M+4|0;if(L>>>0>H>>>0){break h}N=d[M]<<8&65535|d[M+1|0];K=N&65535;if((N&65535)<4|K>>>0>I>>>0){break h}J=M+K|0;O=(d[M+2|0]<<8&65535|d[M+3|0])&65535;j:do{if((O|0)==2){if((N&65535)<36){break}c[G>>2]=(d[M+14|0]<<8&65535|d[M+15|0])<<16>>16;c[C>>2]=(d[M+16|0]<<8&65535|d[M+17|0])<<16>>16;c[F>>2]=(d[M+18|0]<<8&65535|d[M+19|0])<<16>>16}else if((O|0)==3){N=K+ -4|0;c[r>>2]=0;k:do{if((N|0)!=0){N=(a[M+(K+ -1)|0]|0)==0?K+ -5|0:N;if((N|0)==0){break}else{O=0}do{P=a[M+(O+4)|0]|0;O=O+1|0;if((P&255)<32|P<<24>>24<0){break k}}while(O>>>0<N>>>0);M=jJ(B,N+1|0,t)|0;O=c[r>>2]|0;if((O|0)!=0){n=96;break i}$W(M|0,L|0,N|0)|0;a[M+N|0]=0;O=c[r>>2]|0;c[E>>2]=M;c[o>>2]=O;if((O|0)==0){break j}else{break d}}}while(0);c[E>>2]=0;c[o>>2]=0}else if((O|0)==1){N=K+ -4|0;c[u>>2]=0;l:do{if((N|0)!=0){N=(a[M+(K+ -1)|0]|0)==0?K+ -5|0:N;if((N|0)==0){break}else{O=0}do{P=a[M+(O+4)|0]|0;O=O+1|0;if((P&255)<32|P<<24>>24<0){break l}}while(O>>>0<N>>>0);M=jJ(B,N+1|0,s)|0;O=c[u>>2]|0;if((O|0)!=0){n=86;break i}$W(M|0,L|0,N|0)|0;a[M+N|0]=0;O=c[u>>2]|0;c[D>>2]=M;c[o>>2]=O;if((O|0)==0){break j}else{break d}}}while(0);c[D>>2]=0;c[o>>2]=0}}while(0);if((I|0)==(K|0)){break h}else{I=I-K|0;M=J}}if((n|0)==86){c[D>>2]=M;c[o>>2]=O;break d}else if((n|0)==96){c[E>>2]=M;c[o>>2]=O;break d}}}while(0);D=H+1|0;if(D>>>0>z>>>0){n=125;break}C=a[H]|0;r=C&255;c[p+104>>2]=r;s=H+(r<<1|1)|0;if(s>>>0>z>>>0){n=125;break}u=oJ(B,4,0,r,0,q)|0;t=p+108|0;c[t>>2]=u;if((c[o>>2]|0)!=0){break}do{if(C<<24>>24!=0){c[u>>2]=(d[D]<<8&65535|d[H+2|0])<<16>>16;if((C&255)>1){C=1}else{D=s;break}while(1){u=D+2|0;c[(c[t>>2]|0)+(C<<2)>>2]=(d[u]<<8&65535|d[D+3|0])<<16>>16;C=C+1|0;if(C>>>0<r>>>0){D=u}else{D=s;break}}}}while(0);C=D+8|0;if(C>>>0>z>>>0){n=125;break}c[p+112>>2]=d[D]|0;c[p+116>>2]=d[D+1|0]|0;c[p+68>>2]=(d[D+2|0]<<8&65535|d[D+3|0])&65535;c[p+56>>2]=(d[D+4|0]<<8&65535|d[D+5|0])&65535;E=d[D+6|0]<<8&65535|d[D+7|0];r=E&65535;c[p+120>>2]=r;c[p+124>>2]=C+A-(c[v>>2]|0);A=oJ(B,16,0,r,0,q)|0;s=p+128|0;c[s>>2]=A;if((c[o>>2]|0)!=0){break}q=(y&2|0)==0;O=y&8;t=(O|0)!=0;N=y&16;v=(N|0)==0;P=y&32;u=(P|0)==0;if((D+((dada(c[y>>2]|0,(u&1|4)+(u>>>1&1)+(u>>>2&1)|0)|0)|0)!=0){break}u=h+32|0;v=c[u>>2]|0;o=h+36|0;x=c[o>>2]|0;E=c[y>>2]|0;z=c[w>>2]|0;C=c[t+(r<<4)>>2]|0;G=z&1;B=(G|0)==0;H=z&2;y=(H|0)==0;z=z&4;w=(z|0)==0;z=(G|4)+(H>>>1)+(z>>>2)|0;b:do{if((E|0)!=0){A=0;while(1){F=(E+A|0)>>>1;H=da(F,z)|0;G=v+H|0;if((v+(H+z)|0)>>>0>x>>>0){break b}if(B){D=H+1|0;H=d[G]|0}else{D=H+2|0;H=(d[G]<<8&65535|d[v+(H+1)|0])&65535}G=v+D|0;if((H|0)==(C|0)){break}D=H>>>0<C>>>0;E=D?E:F;A=D?F:A;if(A>>>0>=E>>>0){break b}}if(y){y=D+1|0;x=d[G]|0}else{y=D+2|0;x=(d[G]<<8&65535|d[v+(D+1)|0])&65535}z=a[v+y|0]|0;if(w){v=(d[v+(y+1)|0]|(z&255)<<8&65535)&65535}else{v=d[v+(y+1)|0]<<8|(z&255)<<16|d[v+(y+2)|0]}PK(h);if((x|0)==0){break a}w=t+(r<<4)+4|0;y=c[w>>2]|0;t=p+16|0;z=c[t>>2]|0;A=c[p+12>>2]|0;if((z|0)!=(A|0)){y=_I(y,A,z)|0}c[f+56>>2]=y;t=_I(e[q>>1]<<8,c[w>>2]|0,c[t>>2]|0)|0;if((PJ(h,(c[s+188>>2]|0)+v|0)|0)!=0){break a}if((MK(h,x)|0)!=0){break a}u=c[u>>2]|0;w=c[o>>2]|0;q=u+1|0;c:do{if(q>>>0<=w>>>0){v=a[u]|0;x=v&3;if((x|0)==0){y=u+2|0;if(y>>>0>w>>>0){break}u=a[q]|0;q=u<<24>>24>>4;u=(u<<4&255)<<24>>24>>4}else if((x|0)==2){y=u+5|0;if(y>>>0>w>>>0){break}q=(d[q]<<8&65535|d[u+2|0])<<16>>16;u=(d[u+3|0]<<8&65535|d[u+4|0])<<16>>16}else if((x|0)==1){y=u+3|0;if(y>>>0>w>>>0){break}q=a[q]|0;u=a[u+2|0]|0}else if((x|0)==3){y=u+7|0;if(y>>>0>w>>>0){break}q=d[u+2|0]<<8|a[q]<<16|d[u+3|0];u=d[u+5|0]<<8|a[u+4|0]<<16|d[u+6|0]}else{y=q;q=0;u=0}x=(v&255)>>>2&3;if((x|0)==2){z=y+2|0;if(z>>>0>w>>>0){break}x=d[y]|0;y=d[y+1|0]|0}else if((x|0)==3){z=y+4|0;if(z>>>0>w>>>0){break}x=(d[y]<<8&65535|d[y+1|0])&65535;y=(d[y+2|0]<<8&65535|d[y+3|0])&65535}else if((x|0)==1){z=y+1|0;if(z>>>0>w>>>0){break}y=a[y]|0;x=y>>>4&15;y=y&15}else{z=y;x=0;y=0}A=(v&255)>>>4&255;v=A&3;if((v|0)==3){v=z+3|0;if(v>>>0>w>>>0){break}t=d[z+1|0]<<8|a[z]<<16|d[z+2|0]}else if((v|0)==2){v=z+2|0;if(v>>>0>w>>>0){break}t=(d[z]<<8&65535|d[z+1|0])<<16>>16}else if((v|0)==1){v=z+1|0;if(v>>>0>w>>>0){break}t=a[z]<<8}else if((v|0)==0){v=z}else{t=0;v=z}w=A>>>2;C=y+u|0;if((C|0)<=-1){break}c[f+72>>2]=1651078259;A=f+80|0;c[A>>2]=x;B=f+76|0;c[B>>2]=y;H=(x+7|0)>>>3;z=f+84|0;c[z>>2]=H;a[f+94|0]=1;G=x<<6;c[f+24>>2]=G;c[f+28>>2]=y<<6;c[f+32>>2]=q<<6;c[f+36>>2]=u<<6;c[f+40>>2]=(t>>2)+32&-64;c[f+44>>2]=0-G>>1;c[f+48>>2]=0;c[f+52>>2]=c[g+32>>2];c[f+100>>2]=q;c[f+104>>2]=C;if((CJ(f,da(H,y)|0)|0)!=0){break}t=c[o>>2]|0;q=c[s+208>>2]|0;y=c[B>>2]|0;do{if((y|0)>0){o=c[A>>2]|0;if((o|0)<=0){break}x=c[f+88>>2]|0;z=c[z>>2]|0;u=da(o,y)|0;if((q&2|0)==0){q=0-z|0;x=x+(da(z,y+ -1|0)|0)|0}else{q=z}if((w|0)==1){if((u|0)>0){l=x;n=0;j=0;r=0;f=x;m=o;p=128;s=1;g=1}else{break}while(1){d:do{if((g|0)==0){g=j}else{g=j;while(1){if((s|0)==0){g=r;s=1}else{if(v>>>0>=t>>>0){break d}r=d[v]|0;v=v+1|0;g=r>>>4;r=r&15;s=0}if((g|0)==0){g=0}else{break}}}}while(0);n=((s|0)==0?0:p)|n;p=p>>>1;j=m+ -1|0;do{if((m|0)<2){a[f]=n;f=l+q|0;l=f;n=0;m=o;p=128}else{if((p|0)!=0){m=j;break}a[f]=n;n=0;f=f+1|0;m=j;p=128}}while(0);u=u+ -1|0;if((u|0)>0){j=g+ -1|0;g=(g|0)<2|0}else{break}}if((p|0)==128){break}a[f]=n;break}else if((w|0)==2){if((u|0)>0){l=x;n=0;r=0;f=x;m=o;p=128;j=1;g=1}else{break}while(1){e:do{if((g|0)==0){g=r}else{g=r;while(1){if(v>>>0>=t>>>0){break e}r=v+1|0;H=a[v]|0;g=H&255;j=j^1;if(H<<24>>24==0){v=r}else{v=r;break}}}}while(0);n=((j|0)==0?0:p)|n;p=p>>>1;r=m+ -1|0;do{if((m|0)<2){a[f]=n;f=l+q|0;l=f;n=0;m=o;p=128}else{if((p|0)!=0){m=r;break}a[f]=n;n=0;f=f+1|0;m=r;p=128}}while(0);u=u+ -1|0;if((u|0)>0){r=g+ -1|0;g=(g|0)<2|0}else{break}}if((p|0)==128){break}a[f]=n;break}else if((w|0)==0){l=t-v<<3;l=(l|0)>(u|0)?u:l;if((l|0)>0){f=x;r=0;n=x;j=o;s=128;g=l;p=0}else{break}while(1){if(((g^l)&7|0)==0){m=v+1|0;p=d[v]|0}else{m=v}r=((p&128|0)==0?0:s)|r;p=p<<1;s=s>>>1;t=j+ -1|0;do{if((j|0)<2){a[n]=r;n=f+q|0;f=n;r=0;j=o;s=128}else{if((s|0)!=0){j=t;break}a[n]=r;r=0;n=n+1|0;j=t;s=128}}while(0);g=g+ -1|0;if((g|0)>0){v=m}else{break}}if((s|0)==128){break}a[n]=r;break}else{break c}}}while(0);PK(h);H=0;i=k;return H|0}}while(0);PK(h);break a}}while(0);PK(h)}}while(0);if((j&16384|0)!=0){H=6;i=k;return H|0}t=c[p+128>>2]|0;c[f+72>>2]=1869968492;h=f+110|0;b[h>>1]=0;b[n>>1]=0;G=c[s+188>>2]|0;F=c[s+104>>2]|0;H=c[t+(r<<4)+12>>2]|0;q=c[t+(r<<4)+8>>2]|0;o=f+188|0;kJ(c[o>>2]|0);c[f+176>>2]=0;q=pM(f+160|0,F,G,H,q)|0;if((q|0)!=0){H=q;i=k;return H|0}j=j&1;$W(n|0,(c[o>>2]|0)+20|0,20)|0;o=f+124|0;q=c[o>>2]&-6;c[o>>2]=q|4;do{if((g|0)!=0){if((e[g+14>>1]|0)>=24){break}c[o>>2]=q|260}}while(0);q=f+40|0;c[q>>2]=0;o=f+52|0;c[o>>2]=0;r=c[t+(r<<4)+4>>2]|0;s=c[p+16>>2]|0;t=c[p+12>>2]|0;if((s|0)!=(t|0)){r=_I(r,t,s)|0}if((c[p+36>>2]&1|0)==0){c[q>>2]=r;p=c[o>>2]|0}else{c[o>>2]=r;p=r;r=c[q>>2]|0}c[f+56>>2]=r;c[f+60>>2]=p;c[f+44>>2]=0;c[f+48>>2]=0;if((j|0)==0){p=c[g+16>>2]|0;g=c[g+20>>2]|0;if((b[h>>1]|0)>0){j=0;r=c[f+112>>2]|0;while(1){c[r>>2]=aJ(c[r>>2]|0,p)|0;H=r+4|0;c[H>>2]=aJ(c[H>>2]|0,g)|0;j=j+1|0;if((j|0)<(b[h>>1]|0)){r=r+8|0}else{break}}r=c[q>>2]|0}c[q>>2]=aJ(r,p)|0;c[o>>2]=aJ(c[o>>2]|0,g)|0}zK(n,m);G=c[l>>2]|0;c[f+24>>2]=(c[m+8>>2]|0)-G;H=c[m+4>>2]|0;c[f+28>>2]=(c[m+12>>2]|0)-H;c[f+32>>2]=G;c[f+36>>2]=H;H=0;i=k;return H|0}function oM(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;g=a+288|0;gM(a,b,d,e)|0;a=g+12|0;d=c[a>>2]|0;b=g+16|0;g=c[b>>2]|0;if((d|0)==(g|0)){i=f;return 0}h=c[e>>2]|0;if((h|0)==0){d=0}else{d=_I(h,d,g)|0;c[e>>2]=d}e=e+4|0;if((c[e>>2]|0)==0){i=f;return 0}c[e>>2]=_I(d,c[a>>2]|0,c[b>>2]|0)|0;i=f;return 0}function pM(e,f,g,h,j){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;k=i;m=i;i=i+8|0;s=m;n=i;i=i+32|0;o=n;p=i;i=i+8|0;r=p;h=PJ(f,h+g|0)|0;if((h|0)!=0){H=h;i=k;return H|0}h=MK(f,j)|0;if((h|0)!=0){H=h;i=k;return H|0}u=c[f+32>>2]|0;h=u+j|0;do{if((j|0)!=0){if((a[u]|0)>=0){break}n=c[e+28>>2]|0;o=e+16|0;m=c[o>>2]|0;c[p>>2]=0;s=c[n>>2]|0;t=u+1|0;a:do{if((j|0)<1){l=52}else{v=d[u]|0;if((v&128|0)==0){l=52;break}q=v&63;b:do{if((v&8|0)!=0){u=u+2|0;c:do{if((j|0)>=2){t=a[t]|0;if(t<<24>>24==0){t=u}else{j=t&255;t=u;do{if((t+2|0)>>>0>h>>>0){break c}t=t+((d[t]|0)+2)|0;if(t>>>0>h>>>0){break c}j=j+ -1|0;}while((j|0)!=0)}c[p>>2]=0;break b}}while(0);c[p>>2]=8;r=8;break a}}while(0);v=m+q|0;j=e+20|0;u=c[j>>2]|0;if(v>>>0>u>>>0){v=v+3&-4;if(v>>>0>64){c[p>>2]=8;r=8;break}H=e+24|0;c[H>>2]=oJ(s,24,u,v,c[H>>2]|0,r)|0;r=c[p>>2]|0;if((r|0)!=0){break}c[j>>2]=v}if((q|0)==0){r=0;break}s=0;u=t;r=(c[e+24>>2]|0)+(m*24|0)|0;while(1){j=u+1|0;if(j>>>0>h>>>0){l=52;break a}t=d[u]|0;c[r>>2]=65536;if((t&16|0)!=0){v=u+3|0;if(v>>>0>h>>>0){l=52;break a}c[r>>2]=(d[j]<<8&65535|d[u+2|0])<<16>>16<<4;j=v}v=r+4|0;c[v>>2]=65536;if((t&32|0)!=0){u=j+2|0;if(u>>>0>h>>>0){l=52;break a}c[v>>2]=(d[j]<<8&65535|d[j+1|0])<<16>>16<<4;j=u}u=t&3;if((u|0)==1){u=j+2|0;if(u>>>0>h>>>0){l=52;break a}j=(d[j]<<8&65535|d[j+1|0])<<16>>16}else if((u|0)==2){u=j+1|0;if(u>>>0>h>>>0){l=52;break a}j=a[j]|0}else{u=j;j=0}v=t>>>2&3;if((v|0)==1){v=u+2|0;if(v>>>0>h>>>0){l=52;break a}u=(d[u]<<8&65535|d[u+1|0])<<16>>16}else if((v|0)==2){v=u+1|0;if(v>>>0>h>>>0){l=52;break a}u=a[u]|0}else{v=u;u=0}c[r+8>>2]=j;c[r+12>>2]=u;if((t&64|0)==0){j=v+1|0;if(j>>>0>h>>>0){l=52;break a}c[r+20>>2]=d[v]|0}else{j=v+2|0;if(j>>>0>h>>>0){l=52;break a}c[r+20>>2]=(d[v]<<8&65535|d[v+1|0])&65535}if((t&128|0)==0){u=j+2|0;if(u>>>0>h>>>0){l=52;break a}c[r+16>>2]=(d[j]<<8&65535|d[j+1|0])&65535}else{u=j+3|0;if(u>>>0>h>>>0){l=52;break a}c[r+16>>2]=d[j+1|0]<<8|a[j]<<16|d[j+2|0]}c[o>>2]=(c[o>>2]|0)+1;s=s+1|0;if(s>>>0<q>>>0){r=r+24|0}else{break}}r=c[p>>2]|0}}while(0);if((l|0)==52){c[p>>2]=8;r=8}PK(f);if((r|0)!=0){H=r;i=k;return H|0}h=(c[o>>2]|0)-m|0;p=e+24|0;if((h|0)<=0){H=0;i=k;return H|0}o=n+22|0;n=n+24|0;q=0;while(1){r=c[p>>2]|0;v=q+m|0;s=b[o>>1]|0;r=pM(e,f,g,c[r+(v*24|0)+16>>2]|0,c[r+(v*24|0)+20>>2]|0)|0;if((r|0)!=0){l=181;break}w=c[p>>2]|0;r=(b[o>>1]|0)-s|0;u=w+(v*24|0)|0;x=c[u>>2]|0;do{if((x|0)==65536){if((c[w+(v*24|0)+4>>2]|0)!=65536){l=59;break}if((r|0)<=0){break}t=w+(v*24|0)+8|0;j=w+(v*24|0)+12|0;u=0;s=(c[n>>2]|0)+(s<<3)|0;while(1){c[s>>2]=(c[s>>2]|0)+(c[t>>2]|0);H=s+4|0;c[H>>2]=(c[H>>2]|0)+(c[j>>2]|0);u=u+1|0;if((u|0)<(r|0)){s=s+8|0}else{break}}}else{l=59}}while(0);d:do{if((l|0)==59){l=0;if((r|0)<=0){break}j=w+(v*24|0)+8|0;t=w+(v*24|0)+4|0;v=w+(v*24|0)+12|0;w=1;s=(c[n>>2]|0)+(s<<3)|0;while(1){H=aJ(c[s>>2]|0,x)|0;c[s>>2]=(c[j>>2]|0)+H;H=s+4|0;G=aJ(c[H>>2]|0,c[t>>2]|0)|0;c[H>>2]=(c[v>>2]|0)+G;if((w|0)>=(r|0)){break d}x=c[u>>2]|0;w=w+1|0;s=s+8|0}}}while(0);q=q+1|0;if((q|0)>=(h|0)){r=0;l=181;break}}if((l|0)==181){i=k;return r|0}}}while(0);c[m>>2]=0;g=e+28|0;r=c[c[g>>2]>>2]|0;p=u+1|0;e:do{if((j|0)<1){l=179}else{t=d[u]|0;if((t&128|0)!=0){l=179;break}do{if((t&4|0)==0){if((t&2|0)==0){q=p;p=0}else{if((j|0)<2){l=179;break e}q=u+2|0;p=d[p]|0}if((t&1|0)==0){u=q;q=0;break}u=q+1|0;if(u>>>0>h>>>0){l=179;break e}q=d[q]|0}else{if((j|0)<2){l=179;break e}q=d[p]|0;u=u+2|0;p=q&15;q=q>>>4}}while(0);j=p+q|0;v=e+4|0;x=c[v>>2]|0;if(j>>>0>x>>>0){w=j+7&-8;C=e+8|0;r=oJ(r,4,x,w,c[C>>2]|0,s)|0;c[C>>2]=r;C=c[m>>2]|0;if((C|0)!=0){break}c[v>>2]=w;v=r}else{v=c[e+8>>2]|0}s=e+8|0;r=e+12|0;c[r>>2]=v+(p<<2);if((j|0)!=0){v=0;w=0;x=0;while(1){if((v&7|0)==0){y=u+1|0;if(y>>>0>h>>>0){l=179;break e}w=d[u]|0}else{y=u}if((w&1|0)==0){u=y+1|0;if(u>>>0>h>>>0){l=179;break e}x=(d[y]|0)+x|0}else{u=y+2|0;if(u>>>0>h>>>0){l=179;break e}x=(d[y]<<8&65535|d[y+1|0])<<16>>16}c[(c[s>>2]|0)+(v<<2)>>2]=x;v=v+1|0;if(v>>>0<j>>>0){w=w>>>1}else{break}}}f:do{if((t&8|0)==0){A=u}else{A=u+1|0;g:do{if(A>>>0<=h>>>0){t=a[u]|0;if(t<<24>>24!=0){t=t&255;do{if((A+2|0)>>>0>h>>>0){break g}A=A+((d[A]|0)+2)|0;if(A>>>0>h>>>0){break g}t=t+ -1|0;}while((t|0)!=0)}c[m>>2]=0;break f}}while(0);c[m>>2]=8;C=8;break e}}while(0);e=e+32|0;a[e]=0;t=o+4|0;c[t>>2]=0;c[n>>2]=0;v=o+24|0;x=n;y=c[x>>2]|0;x=c[x+4>>2]|0;w=v;c[w>>2]=y;c[w+4>>2]=x;w=o+28|0;j=o+8|0;u=o+16|0;x=x|0;h:while(1){z=A+1|0;if(z>>>0>h>>>0){l=179;break e}A=d[A]|0;D=A&15;A=A>>>4;switch(A|0){case 6:{C=3;D=2958;x=o;B=0;l=111;break};case 7:{C=3;D=3627;x=o;B=0;l=111;break};case 3:{if(D>>>0>=q>>>0){l=179;break e}c[n>>2]=y;c[t>>2]=c[(c[r>>2]|0)+(D<<2)>>2];x=n;y=c[x>>2]|0;x=c[x+4>>2]|0;H=v;c[H>>2]=y;c[H+4>>2]=x;x=x|0;break};case 0:{break h};case 5:case 4:case 1:{C=1;x=o;B=0;l=111;break};case 2:{if(D>>>0>=p>>>0){l=179;break e}c[n>>2]=c[(c[s>>2]|0)+(D<<2)>>2];c[t>>2]=x;x=n;y=c[x>>2]|0;x=c[x+4>>2]|0;H=v;c[H>>2]=y;c[H+4>>2]=x;x=x|0;break};default:{C=4;x=o;B=0;l=111}}if((l|0)==111){while(1){l=0;E=D&3;if((E|0)==1){y=z+2|0;if(y>>>0>h>>>0){l=179;break e}c[x>>2]=(d[z]<<8&65535|d[z+1|0])<<16>>16;z=y}else if((E|0)==0){y=z+1|0;if(y>>>0>h>>>0){l=179;break e}z=d[z]|0;if(z>>>0>=p>>>0){l=179;break e}c[x>>2]=c[(c[s>>2]|0)+(z<<2)>>2];z=y}else if((E|0)==2){E=z+1|0;if(E>>>0>h>>>0){l=179;break e}c[x>>2]=(a[z]|0)+y;z=E}else{c[x>>2]=y}y=D>>>2&3;if((y|0)==0){y=z+1|0;if(y>>>0>h>>>0){l=179;break e}z=d[z]|0;if(z>>>0>=q>>>0){l=179;break e}c[x+4>>2]=c[(c[r>>2]|0)+(z<<2)>>2];z=y}else if((y|0)==2){y=z+1|0;if(y>>>0>h>>>0){l=179;break e}c[x+4>>2]=(c[w>>2]|0)+(a[z]|0);z=y}else if((y|0)==1){y=z+2|0;if(y>>>0>h>>>0){l=179;break e}c[x+4>>2]=(d[z]<<8&65535|d[z+1|0])<<16>>16;z=y}else{c[x+4>>2]=c[w>>2]}if((B|0)==0&(C|0)==4){y=z+1|0;if(y>>>0>h>>>0){l=179;break e}C=3;D=d[z]|0;z=y}else{D=D>>>4}E=x;y=c[E>>2]|0;E=c[E+4>>2]|0;H=v;c[H>>2]=y;c[H+4>>2]=E;B=B+1|0;if(B>>>0<C>>>0){x=x+8|0;l=111}else{break}}x=E|0}switch(A|0){case 5:case 4:{A=c[g>>2]|0;l=A+58|0;if((a[e]|0)!=0){F=b[l>>1]|0;E=F<<16>>16;H=E+ -1|0;D=A+56|0;C=b[D>>1]|0;if(C<<16>>16>0){B=b[(c[A+68>>2]|0)+((C<<16>>16)+ -1<<1)>>1]|0}else{B=0}do{if((H|0)>(B|0)){G=c[A+60>>2]|0;if((c[G+(B<<3)>>2]|0)!=(c[G+(H<<3)>>2]|0)){break}if((c[G+(B<<3)+4>>2]|0)!=(c[G+(H<<3)+4>>2]|0)){break}b[l>>1]=F+ -1<<16>>16;H=E+ -2|0}}while(0);if((H|0)>=(B|0)){b[D>>1]=C+1<<16>>16;b[(c[A+68>>2]|0)+(C<<16>>16<<1)>>1]=H}a[e]=0}a[e]=1;if(((b[A+22>>1]|0)+1+(b[l>>1]|0)|0)>>>0>(c[A+4>>2]|0)>>>0){l=165}else{if(((b[A+20>>1]|0)+1+(b[A+56>>1]|0)|0)>>>0>(c[A+8>>2]|0)>>>0){l=165}else{l=167}}do{if((l|0)==165){l=0;C=pJ(A,1,1)|0;if((C|0)!=0){break}if((a[e]|0)==0){C=8}else{l=167}}}while(0);do{if((l|0)==167){l=0;B=c[g>>2]|0;A=B+58|0;C=b[A>>1]|0;if(((b[B+22>>1]|0)+1+(C<<16>>16)|0)>>>0>(c[B+4>>2]|0)>>>0){C=pJ(B,1,0)|0;if((C|0)!=0){break}C=b[A>>1]|0}C=C<<16>>16;F=n;G=c[F+4>>2]|0;H=(c[B+60>>2]|0)+(C<<3)|0;c[H>>2]=c[F>>2];c[H+4>>2]=G;a[(c[B+64>>2]|0)+C|0]=1;b[A>>1]=(b[A>>1]|0)+1<<16>>16;C=0}}while(0);c[m>>2]=C;break};case 0:{break h};case 3:case 2:case 1:{B=c[g>>2]|0;do{if((a[e]|0)==0){C=8}else{A=B+58|0;C=b[A>>1]|0;if(((b[B+22>>1]|0)+1+(C<<16>>16)|0)>>>0>(c[B+4>>2]|0)>>>0){C=pJ(B,1,0)|0;if((C|0)!=0){break}C=b[A>>1]|0}C=C<<16>>16;F=n;G=c[F+4>>2]|0;H=(c[B+60>>2]|0)+(C<<3)|0;c[H>>2]=c[F>>2];c[H+4>>2]=G;a[(c[B+64>>2]|0)+C|0]=1;b[A>>1]=(b[A>>1]|0)+1<<16>>16;C=0}}while(0);c[m>>2]=C;break};default:{A=c[g>>2]|0;do{if((a[e]|0)==0){C=8}else{B=A+58|0;C=b[B>>1]|0;if(((b[A+22>>1]|0)+3+(C<<16>>16)|0)>>>0>(c[A+4>>2]|0)>>>0){C=pJ(A,3,0)|0;if((C|0)!=0){break}C=b[B>>1]|0}E=c[A+60>>2]|0;F=C<<16>>16;H=c[A+64>>2]|0;A=n;D=c[A+4>>2]|0;G=E+(F<<3)|0;c[G>>2]=c[A>>2];c[G+4>>2]=D;G=F+1|0;D=j;A=c[D+4>>2]|0;C=E+(G<<3)|0;c[C>>2]=c[D>>2];c[C+4>>2]=A;C=F+2|0;A=u;D=c[A+4>>2]|0;E=E+(C<<3)|0;c[E>>2]=c[A>>2];c[E+4>>2]=D;a[H+F|0]=2;a[H+G|0]=2;a[H+C|0]=1;b[B>>1]=(b[B>>1]|0)+3<<16>>16;C=0}}while(0);c[m>>2]=C}}if((C|0)==0){A=z}else{break e}}h=c[g>>2]|0;if((a[e]|0)!=0){s=h+58|0;t=b[s>>1]|0;r=t<<16>>16;j=r+ -1|0;n=h+56|0;o=b[n>>1]|0;if(o<<16>>16>0){p=b[(c[h+68>>2]|0)+((o<<16>>16)+ -1<<1)>>1]|0}else{p=0}do{if((j|0)>(p|0)){q=c[h+60>>2]|0;if((c[q+(p<<3)>>2]|0)!=(c[q+(j<<3)>>2]|0)){break}if((c[q+(p<<3)+4>>2]|0)!=(c[q+(j<<3)+4>>2]|0)){break}b[s>>1]=t+ -1<<16>>16;j=r+ -2|0}}while(0);if((j|0)>=(p|0)){b[n>>1]=o+1<<16>>16;b[(c[h+68>>2]|0)+(o<<16>>16<<1)>>1]=j}a[e]=0;h=c[g>>2]|0}sJ(h);C=c[m>>2]|0}}while(0);if((l|0)==179){c[m>>2]=8;C=8}PK(f);H=C;i=k;return H|0}function qM(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;g=i;k=i;i=i+8|0;s=k;m=c[f>>2]|0;c[k>>2]=0;r=b+5|0;do{if(r>>>0<=e>>>0){p=d[b+3|0]|0;q=a[b+4|0]|0;j=q&255;h=f+92|0;n=c[h>>2]|0;o=n+j|0;l=f+96|0;do{if(o>>>0>(c[l>>2]|0)>>>0){o=o+3&-4;t=f+100|0;c[t>>2]=oJ(m,36,n,o,c[t>>2]|0,s)|0;m=c[k>>2]|0;if((m|0)==0){c[l>>2]=o;break}else{t=m;i=g;return t|0}}}while(0);w=p&1;m=(w|0)==0;v=p&2;l=(v|0)==0;u=p&4;n=(u|0)==0;s=p&8;o=(s|0)==0;t=p&16;p=(t|0)==0;if((b+((dada(q,r)|0)+4)|0)>>>0>f>>>0){break}if(p<<24>>24==0){lJ(k,l);t=j;t=c[t>>2]|0;i=n;return t|0}if(o){c[l+16>>2]=(d[m]|0)<<16|(d[e+5|0]|0);t=da(q+ -1|0,r)|0;c[l+20>>2]=(d[e+(t+4)|0]|0)<<16|(d[e+(t+5)|0]|0)}else{c[l+16>>2]=((d[e+6|0]|0)<<8&65535|(d[e+7|0]|0))&65535|(((d[m]|0)<<8&65535|(d[e+5|0]|0))&65535)<<16;t=da]|0)==3){k=5}else{h=1;A=0}}else{if((s|0)==3){k=5}else{h=1;A=0}}if((k|0)==5){if((h|0)==0){break}F=F+1|0;c[r>>2]=F;A=1;w=w+ -1|0}v=f+16|0;f=f+20|0;z=e+16|0;y=m+4|0;e=m+8|0;x=m+12|0;b:while(1){C=c[g+(A<<2)>>2]|0;D=c[v>>2]|0;B=C+D|0;c:do{if(F>>>0<w>>>0){while(1){d:do{switch(a[F]|0){case 37:{E=37;while(1){if(E<<24>>24==10|E<<24>>24==13){break d}F=F+1|0;if(F>>>0>=w>>>0){break d}E=a[F]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{break c}}}while(0);F=F+1|0;if(F>>>0>=w>>>0){break c}}}}while(0);c[r>>2]=F;e:do{switch(c[u>>2]|0){case 4:{C=mN(o,w,3)|0;k=31;break};case 3:{C=mN(o,w,0)|0;k=31;break};case 7:{c[t>>2]=F;f:do{if(F>>>0<w>>>0){E=a[F]|0;if(E<<24>>24==91){E=93;k=48}else{if(E<<24>>24==123){E=125;k=48}else{H=F;F=0;E=0}}if((k|0)==48){k=0;H=F+1|0;c[t>>2]=H;F=1}G=0;while(1){if(H>>>0<w>>>0){I=H}else{break}g:while(1){h:do{switch(a[I]|0){case 37:{H=37;while(1){if(H<<24>>24==10|H<<24>>24==13){break h}I=I+1|0;if(I>>>0>=w>>>0){break h}H=a[I]|0}break};case 0:case 12:case 9:case 10:case 13:case 32:{break};default:{H=I;break g}}}while(0);H=I+1|0;if(H>>>0<w>>>0){I=H}else{break}}c[t>>2]=H;if(H>>>0>=w>>>0){break}if((a[H]|0)==E<<24>>24){k=58;break}if((G|0)>=4){F=H;k=63;break f}c[m+(G<<2)>>2]=mN(l,w,0)|0;I=c[t>>2]|0;if((H|0)==(I|0)){k=61;break b}G=G+1|0;if(F){H=I;F=1}else{H=I;break}}if((k|0)==58){k=0;H=H+1|0;c[t>>2]=H}c[r>>2]=H;if((G|0)<0){break b}}else{k=63}}while(0);if((k|0)==63){k=0;c[r>>2]=F}c[B>>2]=ZI(c[n>>2]|0)|0;c[C+(D+4)>>2]=ZI(c[y>>2]|0)|0;c[C+(D+8)>>2]=ZI(c[e>>2]|0)|0;c[C+(D+12)>>2]=ZI(c[x>>2]|0)|0;break};case 6:case 5:{E=c[z>>2]|0;D=w-F|0;if(F>>>0>=w>>>0){break e}if((s|0)==2){C=F+1|0;c[r>>2]=C;D=D+ -2|0}else if((s|0)==4){C=F+1|0;c[r>>2]=C;D=D+ -1|0}else{k=40;break b}F=c[B>>2]|0;if((F|0)!=0){lJ(E,F);c[B>>2]=0}F=jJ(E,D+1|0,p)|0;E=c[q>>2]|0;if((E|0)!=0){k=70;break b}$W(F|0,C|0,D|0)|0;a[F+D|0]=0;c[B>>2]=F;break};case 1:{C=F+3|0;do{if(C>>>0<w>>>0){if((a[F]|0)!=116){k=21;break}if((a[F+1|0]|0)!=114){k=21;break}if((a[F+2|0]|0)!=117){k=21;break}if((a[C]|0)!=101){k=21;break}F=F+5|0;C=1}else{k=21}}while(0);do{if((k|0)==21){k=F+4|0;if(k>>>0>=w>>>0){C=0;break}if((a[F]|0)!=102){C=0;break}if((a[F+1|0]|0)!=97){C=0;break}if((a[F+2|0]|0)!=108){C=0;break}if((a[C]|0)!=115){C=0;break}F=(a[k]|0)==101?F+6|0:F;C=0}}while(0);c[r>>2]=F;k=31;break};case 2:{C=nN(o,w)|0;k=31;break};default:{break a}}}while(0);do{if((k|0)==31){k=0;D=d[f]|0;if((D|0)==2){b[B>>1]=C;break}else if((D|0)==1){a[B]=C;break}else if((D|0)==4){c[B>>2]=C;break}else{c[B>>2]=C;break}}}while(0);h=h+ -1|0;if((h|0)==0){k=69;break}F=c[r>>2]|0;A=A+1|0}if((k|0)==40){c[q>>2]=3;I=3;i=j;return I|0}else if((k|0)==61){c[r>>2]=H}else if((k|0)==69){c[q>>2]=0;I=0;i=j;return I|0}else if((k|0)==70){i=j;return E|0}c[q>>2]=3;I=3;i=j;return I|0}}while(0);c[q>>2]=3;I=3;i=j;return I|0}function KM(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;j=i;t=i;i=i+16|0;s=t;q=i;i=i+16|0;p=q;n=i;i=i+384|0;k=i;i=i+40|0;h=k;$W(k|0,e|0,36)|0;k=h+8|0;c[k>>2]=2;o=e+8|0;r=c[o>>2]|0;if((r|0)==7|(r|0)==9){c[k>>2]=3}HM(b,s);if((c[s+8>>2]|0)!=3){t=162;i=j;return t|0}m=c[b>>2]|0;k=b+8|0;l=c[k>>2]|0;r=n+384|0;u=(c[t>>2]|0)+1|0;c[b>>2]=u;t=(c[s+4>>2]|0)+ -1|0;c[k>>2]=t;a:do{if(u>>>0<t>>>0){s=p+8|0;t=n;do{HM(b,p);if((c[s>>2]|0)==0){break a}if(t>>>0<r>>>0){$W(t|0,q|0,12)|0}t=t+12|0;}while((c[b>>2]|0)>>>0<(c[k>>2]|0)>>>0)}else{t=n}}while(0);u=t-n|0;q=(u|0)/12|0;c[b>>2]=m;c[k>>2]=l;if((u|0)<0){u=162;i=j;return u|0}p=c[e+24>>2]|0;p=q>>>0>p>>>0?p:q;do{if((c[o>>2]|0)!=7){e=c[e+28>>2]|0;if((e|0)==0){break}a[(c[f>>2]|0)+e|0]=p}}while(0);if((p|0)>0){o=h+20|0;e=h+16|0;while(1){c[b>>2]=c[n>>2];c[k>>2]=c[n+4>>2];JM(b,h,f,g,0)|0;c[e>>2]=(c[e>>2]|0)+(d[o]|0);p=p+ -1|0;if((p|0)>0){n=n+12|0}else{break}}}c[b>>2]=m;c[k>>2]=l;u=0;i=j;return u|0}function LM(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;c[b+64>>2]=0;a[b+68|0]=1;c[b+4>>2]=d;c[b+8>>2]=f;c[b>>2]=c[d+100>>2];do{if((f|0)!=0){f=f+156|0;d=c[c[f>>2]>>2]|0;c[b+12>>2]=d;c[b+16>>2]=d+20;c[b+20>>2]=d+56;kJ(d);c[b+76>>2]=c[e+40>>2];e=b+72|0;c[e>>2]=0;if(g<<24>>24==0){break}c[e>>2]=c[(c[f>>2]|0)+36>>2]}}while(0);bX(b+24|0,0,24)|0;$W(b+80|0,207832,32)|0;i=h;return}function MM(a){a=a|0;var b=0,d=0;b=i;d=c[a+8>>2]|0;if((d|0)==0){i=b;return}$W(d+108|0,c[a+16>>2]|0,20)|0;i=b;return}function NM(a,d){a=a|0;d=d|0;var e=0;e=i;if((d|0)==0){a=0;i=e;return a|0}a=c[a+12>>2]|0;if(((b[a+22>>1]|0)+d+(b[a+58>>1]|0)|0)>>>0<=(c[a+4>>2]|0)>>>0){a=0;i=e;return a|0}a=pJ(a,d,0)|0;i=e;return a|0}function OM(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;h=i;j=c[d+20>>2]|0;if((a[d+68|0]|0)==0){d=j+2|0;j=d;j=b[j>>1]|0;j=j+1<<16>>16;b[d>>1]=j;i=h;return}else{l=c[j+4>>2]|0;d=j+2|0;k=b[d>>1]|0;j=(c[j+8>>2]|0)+k|0;c[l+(k<<3)>>2]=(ZI(e)|0)>>16;c[l+(k<<3)+4>>2]=(ZI(f)|0)>>16;a[j]=g<<24>>24!=0?1:2;l=d;k=l;k=b[k>>1]|0;k=k+1<<16>>16;b[l>>1]=k;i=h;return}}function PM(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;g=i;h=c[d+12>>2]|0;do{if(((b[h+22>>1]|0)+1+(b[h+58>>1]|0)|0)>>>0>(c[h+4>>2]|0)>>>0){h=pJ(h,1,0)|0;if((h|0)==0){break}i=g;return h|0}}while(0);h=c[d+20>>2]|0;if((a[d+68|0]|0)==0){d=h+2|0}else{k=c[h+4>>2]|0;d=h+2|0;j=b[d>>1]|0;h=(c[h+8>>2]|0)+j|0;c[k+(j<<3)>>2]=(ZI(e)|0)>>16;c[k+(j<<3)+4>>2]=(ZI(f)|0)>>16;a[h]=1}b[d>>1]=(b[d>>1]|0)+1<<16>>16;k=0;i=g;return k|0}function QM(d){d=d|0;var e=0,f=0;e=i;f=c[d+20>>2]|0;if((f|0)==0){d=3;i=e;return d|0}if((a[d+68|0]|0)==0){b[f>>1]=(b[f>>1]|0)+1<<16>>16;d=0;i=e;return d|0}d=c[d+12>>2]|0;do{if(((b[d+20>>1]|0)+1+(b[d+56>>1]|0)|0)>>>0>(c[d+8>>2]|0)>>>0){d=pJ(d,0,1)|0;if((d|0)==0){break}i=e;return d|0}}while(0);d=b[f>>1]|0;if(d<<16>>16>0){b[(c[f+12>>2]|0)+((d<<16>>16)+ -1<<1)>>1]=(b[f+2>>1]|0)+ -1<<16>>16;d=b[f>>1]|0}b[f>>1]=d+1<<16>>16;d=0;i=e;return d|0}function RM(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;g=i;h=d+64|0;if((c[h>>2]|0)==3){l=0;i=g;return l|0}c[h>>2]=3;j=d+20|0;k=c[j>>2]|0;if((k|0)==0){l=3;i=g;return l|0}h=d+68|0;if((a[h]|0)==0){b[k>>1]=(b[k>>1]|0)+1<<16>>16;d=d+12|0}else{d=d+12|0;l=c[d>>2]|0;do{if(((b[l+20>>1]|0)+1+(b[l+56>>1]|0)|0)>>>0>(c[l+8>>2]|0)>>>0){l=pJ(l,0,1)|0;if((l|0)==0){break}i=g;return l|0}}while(0);l=b[k>>1]|0;if(l<<16>>16>0){b[(c[k+12>>2]|0)+((l<<16>>16)+ -1<<1)>>1]=(b[k+2>>1]|0)+ -1<<16>>16;l=b[k>>1]|0}b[k>>1]=l+1<<16>>16}k=c[d>>2]|0;do{if(((b[k+22>>1]|0)+1+(b[k+58>>1]|0)|0)>>>0>(c[k+4>>2]|0)>>>0){l=pJ(k,1,0)|0;if((l|0)==0){break}i=g;return l|0}}while(0);j=c[j>>2]|0;if((a[h]|0)==0){e=j+2|0}else{h=c[j+4>>2]|0;l=j+2|0;k=b[l>>1]|0;d=(c[j+8>>2]|0)+k|0;c[h+(k<<3)>>2]=(ZI(e)|0)>>16;c[h+(k<<3)+4>>2]=(ZI(f)|0)>>16;a[d]=1;e=l}b[e>>1]=(b[e>>1]|0)+1<<16>>16;l=0;i=g;return l|0}function SM(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;f=c[d+20>>2]|0;if((f|0)==0){i=e;return}g=b[f>>1]|0;if(g<<16>>16<2){h=0}else{h=(b[(c[f+12>>2]|0)+((g<<16>>16)+ -2<<1)>>1]|0)+1|0}d=f+2|0;j=b[d>>1]|0;do{if(j<<16>>16>1){l=c[f+4>>2]|0;k=(j<<16>>16)+ -1|0;if((c[l+(h<<3)>>2]|0)!=(c[l+(k<<3)>>2]|0)){break}if((c[l+(h<<3)+4>>2]|0)!=(c[l+(k<<3)+4>>2]|0)){break}if((a[(c[f+8>>2]|0)+k|0]|0)!=1){break}j=j+ -1<<16>>16;b[d>>1]=j}}while(0);if(g<<16>>16<=0){i=e;return}k=(j<<16>>16)+ -1|0;if((h|0)==(k|0)){b[f>>1]=g+ -1<<16>>16;b[d>>1]=j+ -1<<16>>16;i=e;return}else{b[(c[f+12>>2]|0)+((g<<16>>16)+ -1<<1)>>1]=k;i=e;return}}function TM(b,d,e,f,g,h,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0;m=i;bX(b|0,0,1500)|0;n=oK(c[d+96>>2]|0,209568)|0;if((n|0)==0){n=7;i=m;return n|0}c[b+1348>>2]=n;c[b+64>>2]=0;a[b+68|0]=1;c[b+4>>2]=d;c[b+8>>2]=f;c[b>>2]=c[d+100>>2];do{if((f|0)!=0){f=f+156|0;n=c[c[f>>2]>>2]|0;c[b+12>>2]=n;c[b+16>>2]=n+20;c[b+20>>2]=n+56;kJ(n);c[b+76>>2]=c[e+40>>2];e=b+72|0;c[e>>2]=0;if(j<<24>>24==0){break}c[e>>2]=c[(c[f>>2]|0)+36>>2]}}while(0);bX(b+24|0,0,24)|0;$W(b+80|0,207832,32)|0;c[b+1352>>2]=c[d+16>>2];c[b+1356>>2]=g;c[b+1468>>2]=k;c[b+1464>>2]=h;c[b+1472>>2]=l;$W(b+1476|0,207864,12)|0;n=0;i=m;return n|0}function UM(a){a=a|0;var b=0,d=0;b=i;d=c[a+8>>2]|0;if((d|0)==0){i=b;return}$W(d+108|0,c[a+16>>2]|0,20)|0;i=b;return}function VM(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;j=i;l=i;i=i+8|0;p=i;i=i+8|0;k=i;i=i+8|0;c[l>>2]=f;c[p>>2]=g;m=p^l^k;m=(m>>>10^m^m>>20)&65535;c[k>>2]=(m|0)==0?29572:m;c[f+1136>>2]=f+112;D=f+1140|0;c[f+1344>>2]=D;n=f+64|0;c[n>>2]=0;m=c[f+72>>2]|0;q=c[f+1492>>2]|0;if((q|0)!=0){bX(c[f+1488>>2]|0,0,q<<2|0)|0;g=c[p>>2]|0}c[f+1144>>2]=g;E=g+h|0;c[f+1148>>2]=E;c[D>>2]=g;q=f+24|0;H=c[q>>2]|0;r=f+28|0;G=c[r>>2]|0;p=(m|0)!=0;if(p){fd[c[m+4>>2]&511](c[m>>2]|0)}if((h|0)<=0){R=0;i=j;return R|0}B=f+12|0;y=f+20|0;z=f+68|0;A=m+20|0;v=f+32|0;x=f+40|0;u=f+44|0;w=f+70|0;h=f+36|0;s=m+12|0;t=m+16|0;I=0;F=0;C=H;J=0;a:while(1){b:while(1){N=g;L=F;while(1){M=c[l>>2]|0;K=c[M+1136>>2]|0;g=N+1|0;O=a[N]|0;F=O&255;c:do{switch(F|0){case 11:{F=L;O=24;N=0;break};case 13:{F=L;O=2;N=0;break};case 255:{F=N+5|0;if(F>>>0>E>>>0){M=160;o=238;break a}N=d[N+2|0]<<16|d[g]<<24|d[N+3|0]<<8|d[N+4|0];P=L<<24>>24!=0;if((N+32e3|0)>>>0>64e3){g=F;F=P?L:1;O=0;break c}else{g=F;F=L;O=0;N=P?N:N<<16;break c}break};case 30:{F=L;O=12;N=0;break};case 31:{F=L;O=8;N=0;break};case 3:{F=L;O=18;N=0;break};case 4:{F=L;O=14;N=0;break};case 5:{F=L;O=9;N=0;break};case 6:{F=L;O=6;N=0;break};case 1:{F=L;O=16;N=0;break};case 14:{F=L;O=1;N=0;break};case 15:{F=L;O=26;N=0;break};case 9:{F=L;O=5;N=0;break};case 10:{F=L;O=22;N=0;break};case 7:{F=L;O=13;N=0;break};case 8:{F=L;O=11;N=0;break};case 21:{F=L;O=10;N=0;break};case 22:{F=L;O=7;N=0;break};case 12:{if(g>>>0>E>>>0){M=160;o=238;break a}F=N+2|0;switch(d[g]|0){case 2:{g=F;F=L;O=17;N=0;break c};case 12:{g=F;F=L;O=20;N=0;break c};case 16:{g=F;F=L;O=21;N=0;break c};case 0:{g=F;F=L;O=15;N=0;break c};case 6:{g=F;F=L;O=3;N=0;break c};case 7:{g=F;F=L;O=4;N=0;break c};case 1:{g=F;F=L;O=19;N=0;break c};case 17:{g=F;F=L;O=23;N=0;break c};case 33:{g=F;F=L;O=25;N=0;break c};default:{M=160;o=238;break a}}break};default:{if((O&255)<=31){M=160;o=238;break a}do{if((O&255)<247){N=g;P=F+ -139|0}else{N=N+2|0;if(N>>>0>E>>>0){M=160;o=238;break a}F=F<<8;if((O&255)<251){P=(d[g]|F+ -63232)+108|0;break}else{P=-108-(d[g]|F+ -64256)|0;break}}}while(0);g=N;F=L;O=0;N=L<<24>>24==0?P<<16:P}}}while(0);do{if((J|0)>0){if((O|0)==23|(O|0)==0|(O|0)==24|(O|0)==22){break}J=0}}while(0);do{if(F<<24>>24==0){F=0}else{if((O|0)==0|(O|0)==20){break}F=0}}while(0);if((O|0)==21){break}else if((O|0)!=0){break b}if((K-(M+112)|0)>1020){M=160;o=238;break a}c[K>>2]=N;c[(c[l>>2]|0)+1136>>2]=K+4;if(g>>>0<E>>>0){N=g;L=F}else{M=0;o=238;break a}}O=M+112|0;if((K-O|0)<8){M=161;o=238;break a}R=K+ -8|0;I=c[K+ -4>>2]>>16;J=c[R>>2]>>16;if((J|0)>(R-O>>2|0)){M=161;o=238;break a}N=-2-J|0;L=K+(N<<2)|0;d:do{switch(I|0){case 2:{if((J|0)!=0){M=160;o=238;break a}R=M+1404|0;I=c[R>>2]|0;c[R>>2]=I+1;if((I+ -1|0)>>>0>=6){I=0;J=0;break d}if((I|0)==3){J=1}else{J=(I|0)==6|0}K=c[y>>2]|0;if((a[z]|0)==0){I=K+2|0}else{Q=c[K+4>>2]|0;I=K+2|0;R=b[I>>1]|0;K=(c[K+8>>2]|0)+R|0;c[Q+(R<<3)>>2]=(ZI(H)|0)>>16;c[Q+(R<<3)+4>>2]=(ZI(G)|0)>>16;a[K]=J<<24>>24!=0?1:2}b[I>>1]=(b[I>>1]|0)+1<<16>>16;I=0;J=0;break};case 19:{I=c[M+1464>>2]|0;if((J|0)!=1|(I|0)==0){M=160;o=238;break a}J=c[L>>2]>>16;if((J|0)<0){M=160;o=238;break a}K=c[I>>2]|0;if((K+J|0)>>>0>(c[M+1492>>2]|0)>>>0){M=160;o=238;break a}$W((c[M+1488>>2]|0)+(J<<2)|0,c[I+136>>2]|0,K<<2|0)|0;I=0;J=0;break};case 3:{if((J|0)!=1){M=160;o=238;break a}if(!p){I=1;J=0;break d}hd[c[A>>2]&127](c[m>>2]|0,b[(c[y>>2]|0)+2>>1]|0);I=1;J=0;break};case 24:{if((J|0)!=2){M=160;o=238;break a}if((c[M+1464>>2]|0)==0){M=160;o=238;break a}I=c[K+(N+1<<2)>>2]>>16;if((I|0)<0){M=160;o=238;break a}if(I>>>0>=(c[M+1492>>2]|0)>>>0){M=160;o=238;break a}c[(c[M+1488>>2]|0)+(I<<2)>>2]=c[L>>2];I=0;J=0;break};case 21:{if((J|0)!=2){M=160;o=238;break a}c[L>>2]=(c[L>>2]|0)-(c[K+(N+1<<2)>>2]|0);I=1;J=0;break};case 1:{if((J|0)!=0){M=160;o=238;break a}c[M+1400>>2]=1;c[(c[l>>2]|0)+1404>>2]=0;M=RM(f,H,G)|0;if((M|0)!=0){o=238;break a}I=c[B>>2]|0;if(((b[I+22>>1]|0)+6+(b[I+58>>1]|0)|0)>>>0<=(c[I+4>>2]|0)>>>0){I=0;J=0;break d}M=pJ(I,6,0)|0;if((M|0)==0){I=0;J=0}else{o=238;break a}break};case 23:{if((J|0)!=2){M=160;o=238;break a}I=c[K+(N+1<<2)>>2]|0;if((I|0)==0){M=160;o=238;break a}c[L>>2]=bJ(c[L>>2]|0,I)|0;I=1;J=0;break};case 22:{if((J|0)!=2){M=160;o=238;break a}c[L>>2]=aJ(c[L>>2]|0,c[K+(N+1<<2)>>2]|0)|0;I=1;J=0;break};case 28:{if((J|0)!=0){M=160;o=238;break a}I=c[k>>2]|0;c[L>>2]=((I|0)>32767)+I;I=c[k>>2]|0;I=aJ(I,65536-I|0)|0;c[k>>2]=(I|0)==0?I+10355|0:I;I=1;J=0;break};case 27:{if((J|0)!=4){M=160;o=238;break a}if((c[K+(N+2<<2)>>2]|0)<=(c[K+(N+3<<2)>>2]|0)){I=1;J=0;break d}c[L>>2]=c[K+(N+1<<2)>>2];I=1;J=0;break};case 13:case 12:{I=0;L=O;J=0;break};case 18:case 17:case 16:case 15:case 14:{M=c[M+1464>>2]|0;if((M|0)==0){M=160;o=238;break a}I=I+ -13+((I|0)==18)|0;P=c[M>>2]|0;if((J|0)!=(dada=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0;J=i;ha=i;i=i+8|0;ca=ha;S=i;i=i+8|0;T=S;n=i;i=i+8|0;h=n;q=i;i=i+8|0;p=q;r=i;i=i+40|0;j=r;o=i;i=i+8|0;k=o;t=i;i=i+8|0;s=t;u=i;i=i+32|0;l=u;Q=i;i=i+32|0;R=Q;g=c[b>>2]|0;m=b+8|0;x=c[m>>2]|0;if((x|0)==0){Ha=6;i=J;return Ha|0}N=b+4|0;ma=c[N>>2]|0;la=ma+12|0;ta=c[la>>2]|0;a:do{if((ta|0)>1){ra=c[ma+8>>2]|0;sa=c[ma>>2]|0}else{ua=c[ma>>2]|0;ra=c[ma+8>>2]|0;b:do{if((ta|0)>0){sa=ua}else{c:do{if(ua>>>0<ra>>>0){d:while(1){ta=ua+1|0;c[ma>>2]=ta;switch(d[ua]|0){case 9:case 32:{break};case 59:{K=9;break d};case 10:case 13:{K=8;break d};case 26:{sa=ta;break c};default:{sa=ta;break b}}if(ta>>>0<ra>>>0){ua=ta}else{sa=ta;break c}}if((K|0)==8){c[la>>2]=2;sa=ta;break a}else if((K|0)==9){c[la>>2]=1;sa=ta;break b}}else{sa=ua}}while(0);c[la>>2]=3;break a}}while(0);while(1){if(sa>>>0>=ra>>>0){ta=3;break}ta=sa+1|0;c[ma>>2]=ta;sa=a[sa]|0;Ha=sa&255;if((Ha|0)==10|(Ha|0)==13){sa=ta;ta=2;break}if(sa<<24>>24==26){sa=ta;ta=3;break}else{sa=ta}}c[la>>2]=ta}}while(0);c[la>>2]=0;e:do{if(sa>>>0<ra>>>0){f:while(1){ta=sa+1|0;c[ma>>2]=ta;switch(d[sa]|0){case 59:{K=20;break f};case 26:{break e};case 10:case 13:{c[la>>2]=2;sa=ta;break};case 9:case 32:{if(ta>>>0<ra>>>0){sa=ta;continue f}else{break e}break};default:{g:while(1){if(ta>>>0>=ra>>>0){oa=ta;K=26;break}pa=ta+1|0;c[ma>>2]=pa;switch(d[ta]|0){case 9:case 32:{qa=pa;na=0;break g};case 10:case 13:{K=24;break g};case 59:{K=25;break g};case 26:{oa=pa;K=26;break g};default:{ta=pa}}}if((K|0)==24){K=0;c[la>>2]=2;qa=pa;na=2}else if((K|0)==25){K=0;c[la>>2]=1;qa=pa;na=1}else if((K|0)==26){K=0;c[la>>2]=3;qa=oa;na=3}if((sa|0)!=0){K=30;break f}if((na|0)==2){sa=qa}else{L=2;K=273;break f}}}c[la>>2]=0;if(sa>>>0>=ra>>>0){break e}}if((K|0)==20){c[la>>2]=1;Ha=2;i=J;return Ha|0}else if((K|0)==30){if((qa+~sa|0)!=16){Ha=2;i=J;return Ha|0}if((vc(sa|0,208152,16)|0)!=0){Ha=2;i=J;return Ha|0}qa=T+4|0;pa=R+4|0;la=R+8|0;ma=R+16|0;na=R+24|0;sa=x+4|0;ta=R+12|0;ua=x+8|0;va=R+20|0;wa=x+12|0;xa=R+28|0;ya=x+16|0;ra=x+20|0;za=x+24|0;oa=ca+4|0;Ba=160;h:while(1){Ca=c[N>>2]|0;Aa=Ca+12|0;Fa=c[Aa>>2]|0;i:do{if((Fa|0)>1){Ea=c[Ca+8>>2]|0;Da=c[Ca>>2]|0}else{Da=c[Ca>>2]|0;Ea=c[Ca+8>>2]|0;j:do{if((Fa|0)<=0){k:do{if(Da>>>0<Ea>>>0){Fa=Da;l:while(1){Da=Fa+1|0;c[Ca>>2]=Da;switch(d[Fa]|0){case 26:{X=Da;break k};case 59:{K=40;break l};case 9:case 32:{break};case 10:case 13:{K=39;break l};default:{break j}}if(Da>>>0<Ea>>>0){Fa=Da}else{X=Da;break k}}if((K|0)==39){K=0;c[Aa>>2]=2;break i}else if((K|0)==40){K=0;c[Aa>>2]=1;break j}}else{X=Da}}while(0);c[Aa>>2]=3;Da=X;break i}}while(0);while(1){if(Da>>>0>=Ea>>>0){Fa=3;break}Fa=Da+1|0;c[Ca>>2]=Fa;Da=a[Da]|0;Ha=Da&255;if((Ha|0)==10|(Ha|0)==13){Da=Fa;Fa=2;break}if(Da<<24>>24==26){Da=Fa;Fa=3;break}else{Da=Fa}}c[Aa>>2]=Fa}}while(0);c[Aa>>2]=0;if(Da>>>0>=Ea>>>0){K=52;break}m:while(1){Fa=Da+1|0;c[Ca>>2]=Fa;switch(d[Da]|0){case 9:case 32:{if(Fa>>>0<Ea>>>0){Da=Fa;continue m}else{K=52;break h}break};case 26:{K=52;break h};case 59:{K=51;break h};case 10:case 13:{c[Aa>>2]=2;Da=Fa;break};default:{n:while(1){if(Fa>>>0>=Ea>>>0){U=Fa;K=57;break}Y=Fa+1|0;c[Ca>>2]=Y;switch(d[Fa]|0){case 9:case 32:{V=Y;W=0;break n};case 10:case 13:{K=55;break n};case 59:{K=56;break n};case 26:{U=Y;K=57;break n};default:{Fa=Y}}}if((K|0)==55){K=0;c[Aa>>2]=2;V=Y;W=2}else if((K|0)==56){K=0;c[Aa>>2]=1;V=Y;W=1}else if((K|0)==57){K=0;c[Aa>>2]=3;V=U;W=3}if((Da|0)!=0){break m}if((W|0)==2){Da=V}else{M=Ba;break h}}}c[Aa>>2]=0;if(Da>>>0>=Ea>>>0){K=52;break h}}Ea=V+~Da|0;Ca=a[Da]|0;Fa=0;o:while(1){Ga=c[208312+(Fa<<2)>>2]|0;p:do{if((a[Ga]|0)==Ca<<24>>24&(Fa|0)<74){Ha=Fa;while(1){Fa=Ha+1|0;if((vc(Ga|0,Da|0,Ea|0)|0)==0){break o}if((Fa|0)>=74){break p}Ga=c[208312+(Fa<<2)>>2]|0;if((a[Ga]|0)==Ca<<24>>24){Ha=Fa}else{Ha=Ba;Ba=Ha;continue h}}}}while(0);Fa=Fa+1|0;if((Fa|0)>=74){Ha=Ba;Ba=Ha;continue h}}switch(Ha|0){case 20:{L=0;K=273;break h};case 45:{c[ha>>2]=3;if((kN(b,ca,1)|0)!=1){M=Ba;break h}Ca=c[oa>>2]|0;if((Ca|0)!=0){while(1){Ca=Ca+ -1|0;Da=c[N>>2]|0;ja=Da+12|0;Ga=c[ja>>2]|0;q:do{if((Ga|0)>1){Ea=c[Da+8>>2]|0;Fa=c[Da>>2]|0}else{Fa=c[Da>>2]|0;Ea=c[Da+8>>2]|0;r:do{if((Ga|0)<=0){s:do{if(Fa>>>0<Ea>>>0){Ga=Fa;t:while(1){Fa=Ga+1|0;c[Da>>2]=Fa;switch(d[Ga]|0){case 59:{K=88;break t};case 10:case 13:{K=87;break t};case 26:{Z=Fa;break s};case 9:case 32:{break};default:{break r}}if(Fa>>>0<Ea>>>0){Ga=Fa}else{Z=Fa;break s}}if((K|0)==87){K=0;c[ja>>2]=2;break q}else if((K|0)==88){K=0;c[ja>>2]=1;break r}}else{Z=Fa}}while(0);c[ja>>2]=3;Fa=Z;break q}}while(0);while(1){if(Fa>>>0>=Ea>>>0){Ga=3;break}Ga=Fa+1|0;c[Da>>2]=Ga;Fa=a[Fa]|0;Ha=Fa&255;if((Ha|0)==10|(Ha|0)==13){Fa=Ga;Ga=2;break}if(Fa<<24>>24==26){Fa=Ga;Ga=3;break}else{Fa=Ga}}c[ja>>2]=Ga}}while(0);c[ja>>2]=0;if(Fa>>>0>=Ea>>>0){K=99;break h}u:while(1){Ga=Fa+1|0;c[Da>>2]=Ga;switch(d[Fa]|0){case 59:{K=98;break h};case 9:case 32:{if(Ga>>>0<Ea>>>0){Fa=Ga;continue u}else{K=99;break h}break};case 10:case 13:{c[ja>>2]=2;Fa=Ga;break};case 26:{K=99;break h};default:{v:while(1){if(Ga>>>0>=Ea>>>0){$=Ga;K=104;break}_=Ga+1|0;c[Da>>2]=_;switch(d[Ga]|0){case 10:case 13:{K=102;break v};case 26:{$=_;K=104;break v};case 9:case 32:{ba=_;aa=0;break v};case 59:{K=103;break v};default:{Ga=_}}}if((K|0)==102){K=0;c[ja>>2]=2;ba=_;aa=2}else if((K|0)==103){K=0;c[ja>>2]=1;ba=_;aa=1}else if((K|0)==104){K=0;c[ja>>2]=3;ba=$;aa=3}if((Fa|0)!=0){break u}if((aa|0)==2){Fa=ba}else{L=160;K=273;break h}}}c[ja>>2]=0;if(Fa>>>0>=Ea>>>0){K=99;break h}}if((Ca|0)==0){break}}}w:while(1){Ca=c[N>>2]|0;ka=Ca+12|0;Fa=c[ka>>2]|0;x:do{if((Fa|0)>1){Ea=c[Ca+8>>2]|0;Da=c[Ca>>2]|0}else{Da=c[Ca>>2]|0;Ea=c[Ca+8>>2]|0;y:do{if((Fa|0)<=0){z:do{if(Da>>>0<Ea>>>0){Fa=Da;A:while(1){Da=Fa+1|0;c[Ca>>2]=Da;switch(d[Fa]|0){case 10:case 13:{K=114;break A};case 59:{K=115;break A};case 26:{da=Da;break z};case 9:case 32:{break};default:{break y}}if(Da>>>0<Ea>>>0){Fa=Da}else{da=Da;break z}}if((K|0)==114){K=0;c[ka>>2]=2;break x}else if((K|0)==115){K=0;c[ka>>2]=1;break y}}else{da=Da}}while(0);c[ka>>2]=3;Da=da;break x}}while(0);while(1){if(Da>>>0>=Ea>>>0){Fa=3;break}Fa=Da+1|0;c[Ca>>2]=Fa;Da=a[Da]|0;Ha=Da&255;if((Ha|0)==10|(Ha|0)==13){Da=Fa;Fa=2;break}if(Da<<24>>24==26){Da=Fa;Fa=3;break}else{Da=Fa}}c[ka>>2]=Fa}}while(0);c[ka>>2]=0;if(Da>>>0>=Ea>>>0){K=126;break h}B:while(1){Fa=Da+1|0;c[Ca>>2]=Fa;switch(d[Da]|0){case 9:case 32:{if(Fa>>>0<Ea>>>0){Da=Fa;continue B}else{K=126;break h}break};case 26:{K=126;break h};case 59:{K=125;break h};case 10:case 13:{c[ka>>2]=2;Da=Fa;break};default:{C:while(1){if(Fa>>>0>=Ea>>>0){fa=Fa;K=131;break}ea=Fa+1|0;c[Ca>>2]=ea;switch(d[Fa]|0){case 10:case 13:{K=129;break C};case 26:{fa=ea;K=131;break C};case 59:{K=130;break C};case 9:case 32:{ga=ea;ia=0;break C};default:{Fa=ea}}}if((K|0)==129){K=0;c[ka>>2]=2;ga=ea;ia=2}else if((K|0)==130){K=0;c[ka>>2]=1;ga=ea;ia=1}else if((K|0)==131){K=0;c[ka>>2]=3;ga=fa;ia=3}if((Da|0)!=0){break B}if((ia|0)==2){Da=ga}else{L=160;K=273;break h}}}c[ka>>2]=0;if(Da>>>0>=Ea>>>0){K=126;break h}}Ea=ga+~Da|0;Ca=a[Da]|0;Fa=0;D:while(1){Ga=c[208312+(Fa<<2)>>2]|0;E:do{if((a[Ga]|0)==Ca<<24>>24&(Fa|0)<74){Ha=Fa;while(1){Fa=Ha+1|0;if((vc(Ga|0,Da|0,Ea|0)|0)==0){break D}if((Fa|0)>=74){break E}Ga=c[208312+(Fa<<2)>>2]|0;if((a[Ga]|0)==Ca<<24>>24){Ha=Fa}else{continue w}}}}while(0);Fa=Fa+1|0;if((Fa|0)>=74){continue w}}if((Ha|0)==17|(Ha|0)==20){Ba=0;continue h}}break};case 30:{c[Q>>2]=4;if((kN(b,R,1)|0)!=1){M=Ba;break h}a[x]=a[pa]|0;Ha=Ba;Ba=Ha;continue h};case 40:{c[S>>2]=3;if((kN(b,T,1)|0)!=1){M=Ba;break h}Ha=c[qa>>2]|0;if((Ha|0)==0|(Ha|0)==2){Ha=Ba;Ba=Ha;continue h}else{M=7;break h}break};case 49:{K=142;break h};case 0:{c[Q>>2]=2;if((kN(b,R,1)|0)!=1){M=Ba;break h}c[ra>>2]=c[pa>>2];Ha=Ba;Ba=Ha;continue h};case 26:{c[Q>>2]=2;c[la>>2]=2;c[ma>>2]=2;c[na>>2]=2;if((kN(b,R,4)|0)!=4){M=Ba;break h}c[sa>>2]=c[pa>>2];c[ua>>2]=c[ta>>2];c[wa>>2]=c[va>>2];c[ya>>2]=c[xa>>2];Ha=Ba;Ba=Ha;continue h};case 14:{c[Q>>2]=2;if((kN(b,R,1)|0)!=1){M=Ba;break h}c[za>>2]=c[pa>>2];Ha=Ba;Ba=Ha;continue h};default:{Ha=Ba;Ba=Ha;continue h}}}F:do{if((K|0)==51){c[Aa>>2]=1;M=Ba}else if((K|0)==52){c[Aa>>2]=3;M=Ba}else if((K|0)==98){c[ja>>2]=1;Ha=160;i=J;return Ha|0}else if((K|0)==99){c[ja>>2]=3;Ha=160;i=J;return Ha|0}else if((K|0)==125){c[ka>>2]=1;Ha=160;i=J;return Ha|0}else if((K|0)==126){c[ka>>2]=3;Ha=160;i=J;return Ha|0}else if((K|0)==142){R=h+4|0;Z=j+8|0;S=j+16|0;T=j+24|0;U=j+32|0;fa=j+4|0;ga=j+12|0;ea=j+20|0;dada>>2];c[ka+(ia*20|0)+16>>2]=c[ca>>2];if((Ha|0)<0&(la|0)>0){c[P>>2]=0-la}ia=ia+1|0}c[ha>>2]=ia;continue G};case 51:case 50:{break};default:{M=160;break F}}ia=c[m>>2]|0;ha=ia+40|0;c[o>>2]=3;if((kN(b,k,1)|0)!=1){M=160;break F}O=c[ba>>2]|0;c[ha>>2]=O;if((O|0)==0){ja=ia+36|0}else{ja=ia+36|0;c[ja>>2]=oJ(c[b>>2]|0,16,0,O,0,s)|0;O=c[t>>2]|0;if((O|0)!=0){M=O;break F}}ia=0;Z:while(1){_:while(1){ka=c[N>>2]|0;O=ka+12|0;na=c[O>>2]|0;$:do{if((na|0)>1){ma=c[ka+8>>2]|0;la=c[ka>>2]|0}else{la=c[ka>>2]|0;ma=c[ka+8>>2]|0;aa:do{if((na|0)<=0){ba:do{if(la>>>0<ma>>>0){na=la;ca:while(1){la=na+1|0;c[ka>>2]=la;switch(d[na]|0){case 26:{F=la;break ba};case 9:case 32:{break};case 10:case 13:{K=234;break ca};case 59:{K=235;break ca};default:{break aa}}if(la>>>0<ma>>>0){na=la}else{F=la;break ba}}if((K|0)==234){K=0;c[O>>2]=2;break $}else if((K|0)==235){K=0;c[O>>2]=1;break aa}}else{F=la}}while(0);c[O>>2]=3;la=F;break $}}while(0);while(1){if(la>>>0>=ma>>>0){na=3;break}na=la+1|0;c[ka>>2]=na;la=a[la]|0;Ha=la&255;if((Ha|0)==10|(Ha|0)==13){la=na;na=2;break}if(la<<24>>24==26){la=na;na=3;break}else{la=na}}c[O>>2]=na}}while(0);c[O>>2]=0;if(la>>>0>=ma>>>0){K=246;break G}da:while(1){na=la+1|0;c[ka>>2]=na;switch(d[la]|0){case 26:{K=246;break G};case 9:case 32:{if(na>>>0<ma>>>0){la=na;continue da}else{K=246;break G}break};case 10:case 13:{c[O>>2]=2;la=na;break};case 59:{K=245;break G};default:{ea:while(1){if(na>>>0>=ma>>>0){H=na;K=251;break}G=na+1|0;c[ka>>2]=G;switch(d[na]|0){case 10:case 13:{K=249;break ea};case 59:{K=250;break ea};case 26:{H=G;K=251;break ea};case 9:case 32:{I=G;f=0;break ea};default:{na=G}}}if((K|0)==249){K=0;c[O>>2]=2;I=G;f=2}else if((K|0)==250){K=0;c[O>>2]=1;I=G;f=1}else if((K|0)==251){K=0;c[O>>2]=3;I=H;f=3}if((la|0)!=0){break da}if((f|0)==2){la=I}else{M=160;break F}}}c[O>>2]=0;if(la>>>0>=ma>>>0){K=246;break G}}ka=I+~la|0;ma=a[la]|0;na=0;fa:while(1){pa=c[208312+(na<<2)>>2]|0;ga:do{if((a[pa]|0)==ma<<24>>24&(na|0)<74){while(1){oa=na+1|0;if((vc(pa|0,la|0,ka|0)|0)==0){break fa}if((oa|0)>=74){na=oa;break ga}pa=c[208312+(oa<<2)>>2]|0;if((a[pa]|0)==ma<<24>>24){na=oa}else{continue _}}}}while(0);na=na+1|0;if((na|0)>=74){continue _}}switch(na|0){case 20:case 21:case 22:{break Z};case 37:case 36:case 34:{break _};case 75:{break};default:{M=160;break F}}}if((ia|0)>=(c[ha>>2]|0)){M=160;break F}O=c[ja>>2]|0;c[u>>2]=5;c[aa>>2]=5;c[$>>2]=3;c[_>>2]=3;ka=kN(b,l,4)|0;if((ka|0)<3){M=160;break F}c[O+(ia<<4)>>2]=c[Q>>2];c[O+(ia<<4)+4>>2]=c[Y>>2];if((na|0)==37){c[O+(ia<<4)+8>>2]=0;c[O+(ia<<4)+12>>2]=c[X>>2]}else{c[O+(ia<<4)+8>>2]=c[X>>2];if((na|0)==34&(ka|0)==4){ka=c[W>>2]|0}else{ka=0}c[O+(ia<<4)+12>>2]=ka}ia=ia+1|0}c[ha>>2]=ia;pb(c[ja>>2]|0,ia|0,16,191)}if((K|0)==160){c[V>>2]=1;M=160;break}else if((K|0)==161){c[V>>2]=3;M=160;break}else if((K|0)==199){c[P>>2]=1;M=160;break}else if((K|0)==200){c[P>>2]=3;M=160;break}else if((K|0)==245){c[O>>2]=1;M=160;break}else if((K|0)==246){c[O>>2]=3;M=160;break}else if((K|0)==273){i=J;return L|0}}else if((K|0)==273){i=J;return L|0}}while(0);Ha=x+28|0;lJ(g,c[Ha>>2]|0);c[Ha>>2]=0;c[x+32>>2]=0;Ha=x+36|0;lJ(g,c[Ha>>2]|0);c[Ha>>2]=0;c[x+40>>2]=0;a[x]=0;Ha=M;i=J;return Ha|0}else if((K|0)==273){i=J;return L|0}}}while(0);c[la>>2]=3;Ha=2;i=J;return Ha|0}function ZM(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;b=c[d+484>>2]|0;c[a+24>>2]=c[d+416>>2];c[a+28>>2]=c[d+420>>2];c[a+20>>2]=c[b+20>>2];c[a+16>>2]=c[b+24>>2];i=i;return 0}function _M(a){a=a|0;var b=0;b=i;bX(a+16|0,0,16)|0;i=b;return}function $M(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,j=0;f=i;if(d>>>0>=256){j=0;i=f;return j|0}g=jd[c[b+20>>2]&511](e[(c[b+16>>2]|0)+(d<<1)>>1]|0)|0;d=c[b+24>>2]|0;if((d|0)==0){j=0;i=f;return j|0}b=c[b+28>>2]|0;h=0;a:while(1){j=c[b+(h<<2)>>2]|0;do{if((j|0)!=0){if((a[j]|0)!=(a[g]|0)){break}if((Qc(j|0,g|0)|0)==0){d=8;break a}}}while(0);h=h+1|0;if(h>>>0>=d>>>0){h=0;d=8;break}}if((d|0)==8){i=f;return h|0}return 0}function aN(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=i;m=(c[d>>2]|0)+1|0;if(m>>>0>=256){n=0;p=0;o=d;c[o>>2]=n;i=f;return p|0}h=b+16|0;g=b+20|0;j=b+24|0;b=b+28|0;a:while(1){o=jd[c[g>>2]&511](e[(c[h>>2]|0)+(m<<1)>>1]|0)|0;n=c[j>>2]|0;b:do{if((n|0)!=0){l=c[b>>2]|0;k=0;c:while(1){p=c[l+(k<<2)>>2]|0;do{if((p|0)!=0){if((a[p]|0)!=(a[o]|0)){break}if((Qc(p|0,o|0)|0)==0){break c}}}while(0);k=k+1|0;if(k>>>0>=n>>>0){break b}}if((k|0)!=0){g=11;break a}}}while(0);m=m+1|0;if(m>>>0>=256){m=0;k=0;g=11;break}}if((g|0)==11){p=d;c[p>>2]=m;i=f;return k|0}return 0}function bN(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;b=c[d+484>>2]|0;c[a+24>>2]=c[d+416>>2];c[a+28>>2]=c[d+420>>2];c[a+20>>2]=c[b+20>>2];c[a+16>>2]=c[b+28>>2];i=i;return 0}function cN(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;b=d+372|0;d=c[d+376>>2]|0;c[a+16>>2]=d;c[a+20>>2]=(c[b+8>>2]|0)-d;c[a+24>>2]=c[b+12>>2];i=i;return 0}function dN(a){a=a|0;c[a+24>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;i=i;return}function eN(a,b){a=a|0;b=b|0;var d=0,f=0;d=i;f=c[a+16>>2]|0;if(f>>>0>b>>>0){b=0;i=d;return b|0}if(((c[a+20>>2]|0)+f|0)>>>0<=b>>>0){b=0;i=d;return b|0}b=e[(c[a+24>>2]|0)+(b<<1)>>1]|0;i=d;return b|0}function fN(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;g=(c[d>>2]|0)+1|0;f=c[a+16>>2]|0;j=g>>>0<f>>>0?f:g;f=(c[a+20>>2]|0)+f|0;a:do{if(j>>>0<f>>>0){g=c[a+24>>2]|0;while(1){k=b[g+(j<<1)>>1]|0;a=k&65535;h=j+1|0;if(k<<16>>16!=0){break a}if(h>>>0<f>>>0){j=h}else{j=0;break}}}else{j=0;a=0}}while(0);c[d>>2]=j;i=e;return a|0}function gN(a,b){a=a|0;b=b|0;var d=0;d=i;b=c[a>>2]|0;b=id[c[(c[b+484>>2]|0)+4>>2]&3](c[b+100>>2]|0,a,c[b+416>>2]|0,192,0,b)|0;i=d;return b|0}function hN(a){a=a|0;var b=0,d=0;b=i;d=a+20|0;lJ(c[(c[a>>2]|0)+100>>2]|0,c[d>>2]|0);c[d>>2]=0;c[a+16>>2]=0;i=b;return}function iN(a,b){a=a|0;b=b|0;var d=0;d=i;a=Bd[c[(c[(c[a>>2]|0)+484>>2]|0)+8>>2]&255](a,b)|0;i=d;return a|0}function jN(a,b){a=a|0;b=b|0;var d=0;d=i;a=Bd[c[(c[(c[a>>2]|0)+484>>2]|0)+12>>2]&255](a,b)|0;i=d;return a|0}function kN(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;h=i;k=i;i=i+8|0;m=k;n=i;i=i+8|0;j=n;l=c[b+4>>2]|0;if(f>>>0>5|(f|0)==0){x=0;i=h;return x|0}p=l+12|0;q=l+8|0;o=b+12|0;r=b+16|0;s=0;a:while(1){t=e+(s<<3)|0;u=c[p>>2]|0;v=(u|0)>0;if((c[t>>2]|0)==0){b:do{if(v){g=11}else{x=c[l>>2]|0;v=c[q>>2]|0;if(x>>>0>=v>>>0){g=10;break a}c:while(1){w=x+1|0;c[l>>2]=w;switch(d[x]|0|0){case 26:{g=10;break a};case 10:case 13:{g=8;break a};case 59:{break c};case 9:case 32:{break};default:{g=11;break b}}if(w>>>0<v>>>0){x=w}else{g=10;break a}}c[p>>2]=1}}while(0);if((g|0)==11){g=0;if((u|0)>1){break}w=c[l>>2]|0;v=c[q>>2]|0}u=w+ -1|0;x=w;while(1){if(x>>>0>=v>>>0){w=x;v=3;break}w=x+1|0;c[l>>2]=w;x=a[x]|0;y=x&255;if((y|0)==10|(y|0)==13){v=2;break}if(x<<24>>24==26){v=3;break}else{x=w}}c[p>>2]=v;c[k>>2]=u}else{if(v){break}u=c[l>>2]|0;v=c[q>>2]|0;if(u>>>0>=v>>>0){g=24;break}d:while(1){x=u+1|0;c[l>>2]=x;switch(d[u]|0|0){case 26:{g=24;break a};case 9:case 32:{break};case 59:{g=23;break a};case 10:case 13:{g=22;break a};default:{break d}}if(x>>>0<v>>>0){u=x}else{g=24;break a}}e:while(1){if(x>>>0>=v>>>0){w=x;g=29;break}w=x+1|0;c[l>>2]=w;switch(d[x]|0|0){case 59:{g=28;break e};case 10:case 13:{g=27;break e};case 9:case 32:{break e};case 26:{g=29;break e};default:{x=w}}}if((g|0)==27){g=0;c[p>>2]=2}else if((g|0)==28){g=0;c[p>>2]=1}else if((g|0)==29){g=0;c[p>>2]=3}c[k>>2]=u;if((u|0)==0){g=44;break}}w=w-u|0;v=w+ -1|0;f:do{switch(c[t>>2]|0){case 4:{if((v|0)==4){t=(vc(u|0,208176,4)|0)==0|0}else{t=0}a[e+(s<<3)+4|0]=t;break};case 3:{c[e+(s<<3)+4>>2]=nN(m,u+v|0)|0;break};case 5:{t=c[o>>2]|0;if((t|0)==0){c[e+(s<<3)+4>>2]=0;break f}else{c[e+(s<<3)+4>>2]=sd[t&127](u,v,c[r>>2]|0)|0;break f}break};case 1:case 0:{t=OK(c[b>>2]|0,w,j)|0;w=e+(s<<3)+4|0;c[w>>2]=t;if((c[n>>2]|0)!=0){break f}$W(t|0,u|0,v|0)|0;a[(c[w>>2]|0)+v|0]=0;break};case 2:{c[e+(s<<3)+4>>2]=mN(m,u+v|0,0)|0;break};default:{}}}while(0);s=s+1|0;if(s>>>0>=f>>>0){g=44;break}}if((g|0)==8){c[p>>2]=2}else if((g|0)==10){c[p>>2]=3}else if((g|0)==22){c[p>>2]=2}else if((g|0)==23){c[p>>2]=1}else if((g|0)==24){c[p>>2]=3}else if((g|0)==44){i=h;return s|0}c[k>>2]=0;y=s;i=h;return y|0}function lN(a,b){a=a|0;b=b|0;var d=0;d=i;a=c[a>>2]<<16|c[a+4>>2];b=c[b>>2]<<16|c[b+4>>2];if(a>>>0>b>>>0){a=1;i=d;return a|0}a=(a>>>0<b>>>0)<<31>>31;i=d;return a|0}function mN(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;g=i;f=i;i=i+8|0;k=f;m=c[b>>2]|0;c[f>>2]=m;if((m|0)==(d|0)){o=0;i=g;return o|0}h=a[m]|0;do{if(h<<24>>24==43|h<<24>>24==45){m=m+1|0;c[f>>2]=m;if((m|0)==(d|0)){o=0;i=g;return o|0}else{j=a[m]|0;h=h<<24>>24==45|0;break}}else{j=h;h=0}}while(0);if(j<<24>>24==46){j=0}else{j=(nN(k,d)|0)<<16;m=c[f>>2]|0}a:do{if(m>>>0<d>>>0){if((a[m]|0)!=46){l=0;n=1;break}m=m+1|0;c[f>>2]=m;if(m>>>0>=d>>>0){l=0;n=1;break}if((j|0)==0){l=0;n=1}else{l=0;n=1;while(1){o=a[m]|0;switch(o<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{break a};default:{}}if(o<<24>>24<0){break a}o=o&127;if((o+ -48|0)>>>0>9){break a}if((n|0)<1e7){l=(l*10|0)+(a[208184+o|0]|0)|0;n=n*10|0}m=m+1|0;c[f>>2]=m;if(m>>>0>=d>>>0){break a}}}while(1){o=a[m]|0;switch(o<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{break a};default:{}}if(o<<24>>24<0){break a}p=o&127;o=a[208184+p|0]|0;if((p+ -48|0)>>>0>9){break a}do{if((e|0)>0){e=e+ -1|0;l=o+(l*10|0)|0}else{if((n|0)>=1e7){break}l=o+(l*10|0)|0;n=n*10|0}}while(0);m=m+1|0;c[f>>2]=m;if(m>>>0>=d>>>0){break a}}}else{l=0;n=1}}while(0);o=m+1|0;do{if(o>>>0<d>>>0){p=a[m]|0;if(!(p<<24>>24==69|p<<24>>24==101)){break}c[f>>2]=o;e=(nN(k,d)|0)+e|0}}while(0);do{if((e|0)>0){while(1){j=j*10|0;l=l*10|0;e=e+ -1|0;if((e|0)>0){}else{break}}}else{if((e|0)>=0){break}while(1){j=(j|0)/10|0;n=n*10|0;e=e+1|0;if((e|0)<0){}else{break}}}}while(0);if((l|0)!=0){j=(bJ(l,n)|0)+j|0}c[b>>2]=c[f>>2];p=h<<24>>24==0?j:0-j|0;i=g;return p|0}function nN(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;j=c[b>>2]|0;if((j|0)==(d|0)){k=0;i=e;return k|0}f=a[j]|0;if(f<<24>>24==43|f<<24>>24==45){h=j+1|0;if((h|0)==(d|0)){f=0}else{j=h;f=f<<24>>24==45|0;g=4}}else{f=0;g=4}if((g|0)==4){a:do{if(j>>>0<d>>>0){h=0;g=j;while(1){j=a[g]|0;switch(j<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{break a};default:{}}if(j<<24>>24<0){break a}j=j&127;if((j+ -48|0)>>>0>=10){break a}h=(a[208184+j|0]|0)+(h*10|0)|0;g=g+1|0;if(g>>>0>=d>>>0){break a}}}else{h=0;g=j}}while(0);c[b>>2]=g;j=g;f=f<<24>>24==0?h:0-h|0}if(j>>>0>=d>>>0){k=f;i=e;return k|0}if((a[j]|0)!=35){k=f;i=e;return k|0}h=j+1|0;c[b>>2]=h;if((h|0)==(d|0)){k=0;i=e;return k|0}if((f+ -2|0)>>>0>34){k=0;i=e;return k|0}g=a[h]|0;do{if(g<<24>>24==43|g<<24>>24==45){h=j+2|0;if((h|0)==(d|0)){b=0}else{g=g<<24>>24==45|0;break}i=e;return b|0}else{g=0}}while(0);b:do{if(h>>>0<d>>>0){j=0;while(1){k=a[h]|0;switch(k<<24>>24){case 0:case 12:case 9:case 10:case 13:case 32:{break b};default:{}}if(k<<24>>24<0){break b}l=a[208184+(k&127)|0]|0;k=l<<24>>24;if(!(l<<24>>24>-1&(k|0)<(f|0))){break b}j=k+(dada(f,g)|0;if((e|0)>0){c[d>>2]=da((c[a+104>>2]|0)+~f|0,e)|0}b[a+158>>1]=0;b[a+160>>1]=0;i=i;return}function kO(f,g,h,j,k,l){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;l=i;p=c[f+4>>2]|0;g=0-p|0;m=c[f>>2]|0;k=(h+ -1+p&g)>>m;if((j-h-p|0)>(c[f+20>>2]|0)){h=(g&j)>>m}else{h=k}if((h|0)<=-1){i=l;return}j=e[f+56>>1]|0;if((k|0)>=(j|0)){i=l;return}k=(k|0)<0?0:k;m=(h|0)<(j|0)?h:j+ -1|0;h=k<<13>>16;j=m<<13>>16;g=255>>>(k&7);k=127>>>(m&7)^255;m=f+158|0;if((b[m>>1]|0)>(h|0)){b[m>>1]=h}m=f+160|0;if((b[m>>1]|0)<(j|0)){b[m>>1]=j}m=c[f+60>>2]|0;n=c[f+148>>2]|0;o=n+h|0;p=m+o|0;f=j-h|0;if((f|0)<=0){a[p]=d[p]|k&g;i=l;return}a[p]=d[p]|g;g=m+(o+1)|0;if((f+ -1|0)>0){bX(g|0,-1,j+ -1-h|0)|0;g=m+(n+j)|0}a[g]=d[g]|k;i=l;return}function lO(f,g,h,j,k,l){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;m=i;q=c[f+4>>2]|0;r=h+ -1|0;p=0-q|0;n=r+q&p;o=p&j;do{if((n|0)>(o|0)){s=c[k+12>>2]|0;t=s&7;if((n|0)!=(o+q|0)){i=m;return}do{if((t|0)==5|(t|0)==1){do{if((c[k+28>>2]|0)==(l|0)){if((c[k+16>>2]|0)>=1){break}if((s&16|0)==0){i=m;return}if((j-h|0)>=(c[f+8>>2]|0)){break}i=m;return}}while(0);do{if((c[l+28>>2]|0)==(k|0)){if((c[k+20>>2]|0)!=(g<<16>>16|0)){break}if((s&32|0)==0){i=m;return}if((j-h|0)>=(c[f+8>>2]|0)){break}i=m;return}}while(0);if((t|0)==1){l=o;break}l=(c[f+8>>2]|0)+((r+j|0)/2|0)&p}else if((t|0)==0){l=o}else if((t|0)==4){l=(c[f+8>>2]|0)+((r+j|0)/2|0)&p}else{i=m;return}}while(0);p=c[f>>2]|0;n=((l|0)==(n|0)?o:n)>>p;if((n|0)<=-1){n=l;break}if((n|0)>=(e[f+56>>1]|0)){n=l;break}if((d[(c[f+60>>2]|0)+((c[f+148>>2]|0)+(n<<13>>16))|0]&128>>>(n&7)|0)==0){n=l;break}i=m;return}else{p=c[f>>2]|0}}while(0);n=n>>p;if((n|0)<=-1){i=m;return}if((n|0)>=(e[f+56>>1]|0)){i=m;return}o=n>>>3&65535;l=f+158|0;if((b[l>>1]|0)>o<<16>>16){b[l>>1]=o}l=f+160|0;if((b[l>>1]|0)<o<<16>>16){b[l>>1]=o}t=(c[f+60>>2]|0)+((c[f+148>>2]|0)+(o<<16>>16))|0;a[t]=d[t]|128>>>(n&7);i=m;return}function mO(a){a=a|0;var d=0;d=a+148|0;c[d>>2]=(c[d>>2]|0)+(b[a+156>>1]|0);i=i;return}function nO(d,f){d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,ea=0,fa=0,ga=0,ha=0,ia=0;g=i;q=i;i=i+8|0;o=q;l=i;i=i+8|0;p=l;m=i;i=i+8|0;k=m;u=i;i=i+8|0;j=u;r=i;i=i+8|0;K=r;n=d+1024|0;X=c[n>>2]|0;if((X|0)<=-1){ia=0;i=g;return ia|0}M=d+4|0;I=d+80|0;J=d+76|0;w=d+28|0;F=d+40|0;N=d+44|0;H=d+92|0;C=d+87|0;v=d+86|0;L=d+32|0;D=d+36|0;h=d+48|0;E=d+88|0;G=d+84|0;B=d+128|0;x=d+100|0;y=d+96|0;A=d+140|0;z=d+132|0;s=d+24|0;t=d+8|0;O=f<<24>>24!=0;T=d+136|0;V=d+68|0;U=d+72|0;P=d+180|0;Q=d+164|0;f=d+176|0;S=d+172|0;R=d+168|0;a:while(1){ia=c[M>>2]|0;c[I>>2]=da(b[d+960+(X<<2)+2>>1]|0,ia)|0;c[J>>2]=dada(f,h)|0)|0;if((f|0)>0){h=h+(da(f,g+ -1|0)|0)|0}k=(c[b+60>>2]|0)+h|0;a[k]=d[k]|0|128>>>(e&7);i=j;return}function qO(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=i;m=c[b+4>>2]|0;r=f+ -1|0;q=0-m|0;l=r+m&q;n=q&g;do{if((l|0)>(n|0)){p=c[h+12>>2]|0;o=p&7;if((l|0)!=(n+m|0)){i=k;return}do{if((o|0)==0){m=n}else if((o|0)==5|(o|0)==1){do{if((c[h+28>>2]|0)==(j|0)){if((c[h+16>>2]|0)>=1){break}if((p&16|0)==0){i=k;return}if((g-f|0)>=(c[b+8>>2]|0)){break}i=k;return}}while(0);do{if((c[j+28>>2]|0)==(h|0)){if((c[h+20>>2]|0)!=(e<<16>>16|0)){break}if((p&32|0)==0){i=k;return}if((g-f|0)>=(c[b+8>>2]|0)){break}i=k;return}}while(0);if((o|0)==1){m=n;break}m=(c[b+8>>2]|0)+((r+g|0)/2|0)&q}else if((o|0)==4){m=(c[b+8>>2]|0)+((r+g|0)/2|0)&q}else{i=k;return}}while(0);j=c[b>>2]|0;g=((m|0)==(l|0)?n:l)>>j;f=c[b+60>>2]|0;n=e<<16>>16;l=n>>3;n=128>>>(n&7);e=b+104|0;p=c[b+112>>2]|0;o=l-(da(g,p)|0)|0;if((p|0)>0){o=(da((c[e>>2]|0)+ -1|0,p)|0)+o|0}if((g|0)<=-1){e=f;f=l;l=m;break}if((g|0)>=(c[e>>2]|0)){e=f;f=l;l=m;break}if((n&(d[f+o|0]|0)|0)==0){e=f;f=l;l=m;break}i=k;return}else{f=e<<16>>16;j=c[b>>2]|0;e=c[b+60>>2]|0;n=128>>>(f&7);f=f>>3}}while(0);m=l>>j;if((m|0)<=-1){i=k;return}l=c[b+104>>2]|0;if((m|0)>=(l|0)){i=k;return}b=c[b+112>>2]|0;m=f-(da(b,m)|0)|0;if((b|0)>0){m=m+(dada((c[r>>2]|0)-t|0,f-s|0)|0)/(u|0)|0)+t;f=(c[l>>2]|0)+f|0;q=q+4|0}else if((p|0)==19){if((u|0)!=(f|0)){break}a[n]=1;c[q>>2]=c[r>>2];f=(c[l>>2]|0)+f|0;q=q+4|0}}while(0);r=r+(b<<3)|0;if(r>>>0<m>>>0|(f|0)>(g|0)){n=q;break}}}}while(0);c[h>>2]=n;c[k>>2]=(c[k>>2]|0)+(0-d<<3);u=0;i=j;return u|0}function yO(a){a=a|0;var b=0,d=0,e=0,f=0;b=a+16|0;d=c[b>>2]|0;c[a+32>>2]=d;f=a+8|0;e=c[f>>2]|0;d=(d+e|0)/2|0;c[a+24>>2]=d;e=((c[a>>2]|0)+e|0)/2|0;c[f>>2]=e;c[b>>2]=(e+d|0)/2|0;b=a+20|0;d=c[b>>2]|0;c[a+36>>2]=d;e=a+12|0;f=c[e>>2]|0;d=(d+f|0)/2|0;c[a+28>>2]=d;a=((c[a+4>>2]|0)+f|0)/2|0;c[e>>2]=a;c[b>>2]=(a+d|0)/2|0;i=i;return}function zO(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0;k=i;l=f-d|0;f=g-e|0;if((f|0)<1|(g|0)<(h|0)|(e|0)>(j|0)){o=0;i=k;return o|0}if((e|0)<(h|0)){d=(_I(l,h-e|0,f)|0)+d|0;n=c[b>>2]|0;m=n;h=h>>n;n=0}else{h=c[b>>2]|0;m=h;h=e>>h;n=(c[b+4>>2]|0)+ -1&e}if((g|0)>(j|0)){e=0}else{e=(c[b+4>>2]|0)+ -1&g;j=g}g=j>>m;do{if((n|0)>0){if((h|0)==(g|0)){o=0;i=k;return o|0}else{d=(_I(l,(c[b+4>>2]|0)-n|0,f)|0)+d|0;j=b+87|0;h=h+1|0;break}}else{j=b+87|0;if((a[j]|0)==0){break}o=b+40|0;c[o>>2]=(c[o>>2]|0)+ -4;a[j]=0}}while(0);a[j]=(e|0)==0|0;e=b+86|0;if((a[e]|0)!=0){c[(c[b+88>>2]|0)+20>>2]=h;a[e]=0}o=g-h|0;n=o+1|0;e=b+40|0;if(((c[e>>2]|0)+(n<<2)|0)>>>0>=(c[b+36>>2]|0)>>>0){c[b+44>>2]=98;o=1;i=k;return o|0}m=b+4|0;b=c[m>>2]|0;if((l|0)>0){b=_I(b,l,f)|0;j=1;l=da(c[m>>2]|0,l)|0}else{l=0-l|0;b=0-(_I(b,l,f)|0)|0;j=-1;l=da>1]=j;c[d+636>>2]=m;m=0;break a}}while(0);lJ(k,m);m=c[l>>2]|0}else{m=3}}while(0);a[d+628|0]=1;u=m;i=f;return u|0}function CP(d){d=d|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;g=i;h=i;i=i+8|0;l=h;j=i;i=i+8|0;k=j;f=d+700|0;m=c[f>>2]|0;if((m|0)!=0){r=m;i=g;return r|0}m=b[d+344>>1]|0;a:do{if(m<<16>>16==0){j=0}else{o=c[d+360>>2]|0;p=m&65535;m=-1;n=-1;q=0;do{do{if((b[o+(q*20|0)+6>>1]|0)==6){if((b[o+(q*20|0)+8>>1]|0)==0){break}r=b[o+(q*20|0)>>1]|0;if(r<<16>>16==3){if((b[o+(q*20|0)+2>>1]|0)!=1){break}n=(b[o+(q*20|0)+4>>1]|0)==1033?q:n}if(r<<16>>16!=1){break}if((b[o+(q*20|0)+2>>1]|0)!=0){break}m=(b[o+(q*20|0)+4>>1]|0)==0?q:m}}while(0);q=q+1|0;}while((q|0)<(p|0));if((n|0)==-1){if((m|0)==-1){j=0;break}l=c[d+100>>2]|0;h=c[d+360>>2]|0;o=h+(m*20|0)+8|0;n=e[o>>1]|0;c[j>>2]=0;k=jJ(l,n+1|0,k)|0;if((c[j>>2]|0)!=0){j=k;break}d=c[d+364>>2]|0;p=h+(m*20|0)+12|0;r=PJ(d,c[p>>2]|0)|0;c[j>>2]=r;do{if((r|0)==0){r=CK(d,k,n)|0;c[j>>2]=r;if((r|0)!=0){break}a[k+n|0]=0;j=k;break a}}while(0);c[p>>2]=0;b[o>>1]=0;j=h+(m*20|0)+16|0;lJ(l,c[j>>2]|0);c[j>>2]=0;lJ(l,k);j=0;break}o=c[d+100>>2]|0;p=c[d+360>>2]|0;k=p+(n*20|0)+8|0;m=(e[k>>1]|0)>>>1;c[h>>2]=0;j=jJ(o,(e[k>>1]|0)+1|0,l)|0;if((c[h>>2]|0)!=0){break}d=c[d+364>>2]|0;l=p+(n*20|0)+16|0;n=p+(n*20|0)+12|0;r=PJ(d,c[n>>2]|0)|0;c[h>>2]=r;do{if((r|0)==0){r=MK(d,e[k>>1]|0)|0;c[h>>2]=r;if((r|0)!=0){break}if((m|0)==0){k=j}else{h=c[d+32>>2]|0;k=j;while(1){do{if((a[h]|0)==0){l=a[h+1|0]|0;if(!((l&255)>31&l<<24>>24>-1)){break}a[k]=l;k=k+1|0}}while(0);m=m+ -1|0;if((m|0)==0){break}else{h=h+2|0}}}a[k]=0;PK(d);break a}}while(0);lJ(o,j);b[k>>1]=0;c[n>>2]=0;lJ(o,c[l>>2]|0);c[l>>2]=0;j=0}}while(0);c[f>>2]=j;r=j;i=g;return r|0}function DP(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;do{if((d|0)==0){l=c[(c[a+104>>2]|0)+4>>2]|0}else{l=b[a+152>>1]|0;m=c[a+156>>2]|0;k=m+((l&65535)<<4)|0;if(l<<16>>16==0){m=142;i=h;return m|0}while(1){if((c[m>>2]|0)==(d|0)){l=c[m+12>>2]|0;if((l|0)!=0){break}}m=m+16|0;if(m>>>0>=k>>>0){a=142;j=13;break}}if((j|0)==13){i=h;return a|0}if((m|0)==0){m=142;i=h;return m|0}else{e=(c[m+8>>2]|0)+e|0;break}}}while(0);do{if((g|0)!=0){j=c[g>>2]|0;if((j|0)!=0){l=j;break}c[g>>2]=l;m=0;i=h;return m|0}}while(0);m=JK(c[a+104>>2]|0,e,f,l)|0;i=h;return m|0}function EP(d,e){d=d|0;e=e|0;a:do{switch(e|0){case 1:{d=d+260|0;break};case 3:{d=d+216|0;break};case 6:{d=d+556|0;if((c[d>>2]|0)==0){d=0;break a}break};case 5:{d=d+468|0;break};case 2:{d=d+368|0;if((b[d>>1]|0)==-1){d=0;break a}break};case 0:{d=d+160|0;break};case 4:{if((a[d+296|0]|0)==0){d=0;break a}d=d+300|0;break};default:{d=0}}}while(0);i=i;return d|0}function FP(a,b,d,f,g){a=a|0;b=b|0;d=d|0;f=f|0;g=g|0;var h=0;h=i;if((d|0)==0|(f|0)==0|(g|0)==0){g=6;i=h;return g|0}if((e[a+152>>1]|0)>>>0<=b>>>0){g=142;i=h;return g|0}a=a+156|0;c[d>>2]=c[(c[a>>2]|0)+(b<<4)>>2];c[f>>2]=c[(c[a>>2]|0)+(b<<4)+8>>2];c[g>>2]=c[(c[a>>2]|0)+(b<<4)+12>>2];g=0;i=h;return g|0}function GP(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=i;f=i;i=i+8|0;j=f;k=b+532|0;g=c[k>>2]|0;h=b+96|0;do{if((g|0)==0){g=nK(c[(c[h>>2]|0)+4>>2]|0,271552)|0;if((g|0)==0){p=3;i=e;return p|0}else{c[k>>2]=g;c[b+508>>2]=c[g>>2];break}}}while(0);c[b+536>>2]=oK(c[h>>2]|0,273032)|0;k=c[a+28>>2]|0;p=b+132|0;c[p>>2]=0;m=b+136|0;c[m>>2]=0;h=b+140|0;c[h>>2]=0;l=IK(a)|0;n=GK(a,j)|0;o=c[f>>2]|0;if((o|0)!=0){p=o;i=e;return p|0}if(!((n|0)==65536|(n|0)==131072|(n|0)==1330926671|(n|0)==1953658213|(n|0)==1953784678|(n|0)==1954115633)){p=2;i=e;return p|0}c[p>>2]=1953784678;do{if((n|0)==1953784678){l=ZK(a,273056,p)|0;c[f>>2]=l;if((l|0)!=0){p=l;i=e;return p|0}l=b+144|0;c[l>>2]=oJ(k,4,0,c[h>>2]|0,0,j)|0;j=c[f>>2]|0;if((j|0)!=0){p=j;i=e;return p|0}j=MK(a,c[h>>2]<<2)|0;c[f>>2]=j;if((j|0)!=0){p=j;i=e;return p|0}if((c[h>>2]|0)>0){j=0;do{p=TK(a)|0;c[(c[l>>2]|0)+(j<<2)>>2]=p;j=j+1|0;}while((j|0)<(c[h>>2]|0))}PK(a)}else{c[m>>2]=65536;c[h>>2]=1;j=jJ(k,4,j)|0;c[b+144>>2]=j;k=c[f>>2]|0;if((k|0)==0){c[j>>2]=l;break}else{p=k;i=e;return p|0}}}while(0);f=c[f>>2]|0;if((f|0)!=0){p=f;i=e;return p|0}d=(d|0)<0?0:d;if((d|0)>=(c[h>>2]|0)){p=6;i=e;return p|0}f=PJ(a,c[(c[b+144>>2]|0)+(d<<2)>>2]|0)|0;if((f|0)!=0){p=f;i=e;return p|0}a=Bd[c[g+132>>2]&255](b,a)|0;if((a|0)!=0){p=a;i=e;return p|0}c[b>>2]=c[h>>2];c[b+4>>2]=d;p=0;i=e;return p|0}function HP(d,f,g,h,j){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;g=i;k=i;i=i+8|0;p=k;m=i;i=i+32|0;l=m;o=c[f+532>>2]|0;if((h|0)>0){s=0;r=0;q=0;do{t=c[j+(s<<3)>>2]|0;if((t|0)==1768386662){r=1}else{q=(t|0)==1768386675?1:q}s=s+1|0;}while((s|0)<(h|0))}else{r=0;q=0}h=f+128|0;a:do{if((c[(c[h>>2]|0)+52>>2]|0)==0){t=b[f+152>>1]|0;s=c[f+156>>2]|0;j=s+((t&65535)<<4)|0;t=t<<16>>16==0;b:do{if(t){t=0}else{u=s;do{if((c[u>>2]|0)==1735162214){if((c[u+12>>2]|0)!=0){n=10;break}}u=u+16|0;}while(u>>>0<j>>>0);if((n|0)==10){if((u|0)!=0){t=1;n=18;break a}}if(t){t=0;break}while(1){if((c[s>>2]|0)==1128678944){if((c[s+12>>2]|0)!=0){break}}s=s+16|0;if(s>>>0>=j>>>0){t=0;break b}}x=(s|0)!=0;t=x&1;if(x){n=18;break a}}}while(0);j=c[o+84>>2]|0;if((j|0)==0){t=0;n=18;break}x=Bd[j&255](f,d)|0;c[k>>2]=x;if((x|0)==0){u=1}else{n=18}}else{t=1;n=18}}while(0);do{if((n|0)==18){x=Bd[c[o+32>>2]&255](f,d)|0;c[k>>2]=x;if((x|0)==0){u=0;break}x=k;x=c[x>>2]|0;i=g;return x|0}}while(0);j=f+178|0;if((b[j>>1]|0)==0){c[k>>2]=8;x=k;x=c[x>>2]|0;i=g;return x|0}c[k>>2]=Bd[c[o+44>>2]&255](f,d)|0;c[k>>2]=Bd[c[o+40>>2]&255](f,d)|0;c[k>>2]=Bd[c[o+56>>2]&255](f,d)|0;s=Bd[c[o+52>>2]&255](f,d)|0;c[k>>2]=s;do{if(!u){u=o+36|0;v=sd[c[u>>2]&127](f,d,0)|0;c[k>>2]=v;do{if((v|0)==0){v=sd[c[o+136>>2]&127](f,d,0)|0;c[k>>2]=v;if((v|0)!=142){n=32;break}c[k>>2]=147;h=c[(c[h>>2]|0)+52>>2]|0;if((h|0)==0){x=k;x=c[x>>2]|0;i=g;return x|0}if((c[(c[h>>2]|0)+8>>2]|0)==0){x=k;x=c[x>>2]|0;i=g;return x|0}else{b[f+250>>1]=0;c[k>>2]=0;break}}else if((v|0)==142){if((c[f+148>>2]|0)==1953658213){c[k>>2]=0;t=0;break}c[k>>2]=143;h=c[(c[h>>2]|0)+52>>2]|0;if((h|0)==0){x=k;x=c[x>>2]|0;i=g;return x|0}if((c[(c[h>>2]|0)+8>>2]|0)==0){x=k;x=c[x>>2]|0;i=g;return x|0}else{b[f+250>>1]=0;c[k>>2]=0;break}}else{n=32}}while(0);do{if((n|0)==32){if((v|0)==0){break}x=k;x=c[x>>2]|0;i=g;return x|0}}while(0);h=sd[c[u>>2]&127](f,d,1)|0;c[k>>2]=h;do{if((h|0)==0){h=sd[c[o+136>>2]&127](f,d,1)|0;c[k>>2]=h;if((h|0)!=0){n=36;break}a[f+296|0]=1}else{n=36}}while(0);do{if((n|0)==36){if((h|0)==0|(h|0)==142){break}x=k;x=c[x>>2]|0;i=g;return x|0}}while(0);x=Bd[c[o+48>>2]&255](f,d)|0;c[k>>2]=x;if((x|0)==0){break}b[f+368>>1]=-1}}while(0);h=c[o+140>>2]|0;do{if((h|0)!=0){h=Bd[h&255](f,d)|0;c[k>>2]=h;if((h|0)==0){break}else if((h|0)==142){c[k>>2]=0;break}else{x=k;x=c[x>>2]|0;i=g;return x|0}}}while(0);h=Bd[c[o+80>>2]&255](f,d)|0;c[k>>2]=h;if((h|0)==142){c[f+556>>2]=0}else if((h|0)!=0){x=k;x=c[x>>2]|0;i=g;return x|0}c[k>>2]=Bd[c[o+76>>2]&255](f,d)|0;c[k>>2]=Bd[c[o+72>>2]&255](f,d)|0;c[f+16>>2]=e[f+264>>1]|0;u=f+20|0;c[u>>2]=0;d=f+24|0;c[d>>2]=0;h=f+368|0;do{if((b[h>>1]|0)==-1){n=54}else{if((b[f+432>>1]&256)==0){n=54;break}do{if(r<<24>>24==0){x=rQ(f,16,u)|0;c[k>>2]=x;if((x|0)==0){if((c[u>>2]|0)==0){n=49;break}else{break}}else{x=k;x=c[x>>2]|0;i=g;return x|0}}else{n=49}}while(0);do{if((n|0)==49){x=rQ(f,1,u)|0;c[k>>2]=x;if((x|0)==0){break}x=k;x=c[x>>2]|0;i=g;return x|0}}while(0);do{if(q<<24>>24==0){x=rQ(f,17,d)|0;c[k>>2]=x;if((x|0)==0){break}x=k;x=c[x>>2]|0;i=g;return x|0}}while(0);if((c[d>>2]|0)!=0){break}x=rQ(f,2,d)|0;c[k>>2]=x;if((x|0)==0){break}x=k;x=c[x>>2]|0;i=g;return x|0}}while(0);do{if((n|0)==54){x=rQ(f,21,u)|0;c[k>>2]=x;if((x|0)!=0){x=k;x=c[x>>2]|0;i=g;return x|0}v=c[u>>2]|0;do{if((v|0)==0&r<<24>>24==0){x=rQ(f,16,u)|0;c[k>>2]=x;if((x|0)==0){v=c[u>>2]|0;break}else{x=k;x=c[x>>2]|0;i=g;return x|0}}}while(0);do{if((v|0)==0){x=rQ(f,1,u)|0;c[k>>2]=x;if((x|0)==0){break}x=k;x=c[x>>2]|0;i=g;return x|0}}while(0);x=rQ(f,22,d)|0;c[k>>2]=x;if((x|0)!=0){x=k;x=c[x>>2]|0;i=g;return x|0}r=c[d>>2]|0;do{if((r|0)==0&q<<24>>24==0){x=rQ(f,17,d)|0;c[k>>2]=x;if((x|0)==0){r=c[d>>2]|0;break}else{x=k;x=c[x>>2]|0;i=g;return x|0}}}while(0);if((r|0)!=0){break}x=rQ(f,2,d)|0;c[k>>2]=x;if((x|0)==0){break}x=k;x=c[x>>2]|0;i=g;return x|0}}while(0);d=f+8|0;r=t<<24>>24==1;q=c[d>>2]|r&1;t=q|24;if((s|0)==0){t=(c[f+468>>2]|0)==196608?t:q|536}s=(c[f+480>>2]|0)==0?t:t|4;q=f+296|0;s=(a[q]|0)==0?s:s|32;s=(c[f+784>>2]|0)==0?s:s|64;x=b[f+152>>1]|0;u=c[f+156>>2]|0;t=u+((x&65535)<<4)|0;c:do{if(x<<16>>16!=0){v=u;while(1){if((c[v>>2]|0)==1735162214){if((c[v+12>>2]|0)!=0){break}}v=v+16|0;if(v>>>0>=t>>>0){break c}}if((v|0)==0){break}else{v=u}while(1){if((c[v>>2]|0)==1719034226){if((c[v+12>>2]|0)!=0){break}}v=v+16|0;if(v>>>0>=t>>>0){break c}}if((v|0)==0){break}while(1){if((c[u>>2]|0)==1735811442){if((c[u+12>>2]|0)!=0){break}}u=u+16|0;if(u>>>0>=t>>>0){u=0;break}}s=(u|0)==0?s:s|256}}while(0);c[d>>2]=s;do{if(r){if((b[h>>1]|0)==-1){n=84;break}x=b[f+432>>1]|0;r=x&65535;r=(x&65535)>>>4&2|((r&512|0)==0?r&1:1)}else{n=84}}while(0);if((n|0)==84){x=b[f+204>>1]|0;r=(x&65535)>>>1&1|((x&1)==0?0:2)}c[f+12>>2]=r;sQ(f);t=f+36|0;if((c[t>>2]|0)>0){r=f+40|0;s=0;do{u=c[(c[r>>2]|0)+(s<<2)>>2]|0;v=e[u+8>>1]|0;w=e[u+10>>1]|0;x=272856;while(1){if((c[x>>2]|0)==(v|0)){y=c[x+4>>2]|0;if((y|0)==(w|0)|(y|0)==-1){n=90;break}}x=x+12|0;if(x>>>0>=(272988|0)>>>0){v=0;break}}if((n|0)==90){n=0;v=c[x+8>>2]|0}c[u+4>>2]=v;s=s+1|0;}while((s|0)<(c[t>>2]|0))}r=c[f+612>>2]|0;do{if((r|0)==0){l=c[d>>2]|0}else{t=c[(c[f+104>>2]|0)+28>>2]|0;s=b[j>>1]|0;if(s<<16>>16==0){n=97}else{if((b[h>>1]|0)==-1){n=97}else{h=b[f+370>>1]|0}}if((n|0)==97){h=0;s=1}v=oJ(t,16,0,r,0,p)|0;n=f+32|0;c[n>>2]=v;if((c[k>>2]|0)!=0){y=k;y=c[y>>2]|0;i=g;return y|0}o=o+152|0;p=l+20|0;h=h<<16>>16;t=s&65535;u=t>>>1;s=l+2|0;w=0;while(1){y=sd[c[o>>2]&127](f,w,l)|0;c[k>>2]=y;if((y|0)!=0){n=108;break}b[v+(w<<4)>>1]=(c[p>>2]|0)>>>6;b[v+(w<<4)+2>>1]=((dada(p,e)|0)|0,da(n,e)|0)|0;a[k]=(d[k]|0)-p;u=k+3|0;a[u]=(d[u]|0)-p;u=k+6|0;a[u]=(d[u]|0)-p;c[j>>2]=(c[j>>2]|0)-p}do{if((n|0)>0){b=da(n+ -1|0,e)|0;o=0-e|0;q=0;b=(c[g>>2]|0)+b|0;c:while(1){p=b+e|0;r=b;while(1){h=r+1|0;if((a[r]|0)!=0){break c}if(h>>>0<p>>>0){r=h}else{break}}q=q+1|0;if((q|0)<(n|0)){b=b+o|0}else{break}}if((q|0)<=0){break}a[k]=(d[k]|0)-q;c[j>>2]=(c[j>>2]|0)-q;n=n-q|0}}while(0);n=da(n,e)|0;j=j+4|0;b=k+2|0;o=k+5|0;k=k+1|0;h=(n|0)>0;d:do{r=c[g>>2]|0;p=r+n|0;if(h){q=r;do{if((a[q]|0)<0){m=38;break d}q=q+e|0;}while(q>>>0<p>>>0);q=c[j>>2]|0;do{t=a[r]<<1&255;if((q|0)>8){s=r;u=8;while(1){f=s+1|0;v=a[f]|0;a[s]=(v&255)>>>7|t;u=u+8|0;t=v<<1&255;if((u|0)<(q|0)){s=f}else{break}}}else{f=r}a[f]=t;r=r+e|0;q=c[j>>2]|0}while(r>>>0<p>>>0)}else{q=c[j>>2]|0}c[j>>2]=q+ -1;a[b]=(a[b]|0)+1<<24>>24;a[o]=(a[o]|0)+1<<24>>24;a[k]=(a[k]|0)+ -1<<24>>24;p=c[j>>2]|0;}while((p|0)>0);if((m|0)==38){p=c[j>>2]|0}e:while(1){b=p+ -1|0;h=c[g>>2]|0;p=b>>3;v=p+n|0;m=h+v|0;if((p|0)<(v|0)){o=128>>>(b&7);h=h+p|0;do{if((d[h]&o|0)!=0){r=0;m=45;break e}h=h+e|0;}while(h>>>0<m>>>0)}c[j>>2]=b;a[k]=(a[k]|0)+ -1<<24>>24;p=c[j>>2]|0;if((p|0)<=0){r=0;m=45;break}}if((m|0)==45){i=l;return r|0}}}while(0);c[j+4>>2]=0;c[j>>2]=0;c[o>>2]=0;a[j+18|0]=1;v=0;i=l;return v|0}}while(0);c[p>>2]=0;c[q>>2]=0;v=6;i=l;return v|0}function cQ(a){a=a|0;i=i;return}function dQ(d){d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;h=i;g=c[d+100>>2]|0;f=d+628|0;if((a[f]|0)==0){m=f;a[m]=0;i=h;return}j=c[d+468>>2]|0;if((j|0)==131072){j=d+636|0;lJ(g,c[j>>2]|0);c[j>>2]=0;b[d+632>>1]=0;j=d+634|0;d=d+640|0;m=c[d>>2]|0;if((b[j>>1]|0)!=0){l=0;k=0;while(1){lJ(g,c[m+(l<<2)>>2]|0);c[(c[d>>2]|0)+(l<<2)>>2]=0;l=k+1<<16>>16;m=c[d>>2]|0;if((l&65535)<(e[j>>1]|0)){k=l;l=l&65535}else{break}}}lJ(g,m);c[d>>2]=0;b[j>>1]=0;m=f;a[m]=0;i=h;return}else if((j|0)==163840){m=d+636|0;lJ(g,c[m>>2]|0);c[m>>2]=0;b[d+632>>1]=0;m=f;a[m]=0;i=h;return}else{m=f;a[m]=0;i=h;return}}function eQ(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return 7}function fQ(a,b){a=a|0;b=b|0;i=i;return 0}function gQ(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,n=0,o=0,p=0,q=0,r=0,s=0;f=i;k=c[a+772>>2]|0;g=k+(c[a+776>>2]|0)|0;j=c[a+780>>2]|0;if((j|0)==0){s=0;i=f;return s|0}h=a+784|0;b=b<<16|e;a=a+788|0;e=1;n=k+4|0;m=0;while(1){o=n+6|0;if(o>>>0>g>>>0){g=20;break}l=((d[n+4|0]|0)<<8&65535|(d[n+5|0]|0))&65535;k=n+(((d[n+2|0]|0)<<8&65535|(d[n+3|0]|0))&65535)|0;k=k>>>0>g>>>0?g:k;a:do{if((c[h>>2]&e|0)!=0){p=n+14|0;if(p>>>0>k>>>0){break}o=((d[o]|0)<<8&65535|(d[n+7|0]|0))&65535;q=k-p|0;if((q|0)<(o*6|0)){o=(q|0)/6|0}if((l&65280|0)!=0){break}q=(o|0)==0;if((c[a>>2]&e|0)==0){if(q){break}while(1){if(((d[p+1|0]|0)<<16|(d[p]|0)<<24|(d[p+2|0]|0)<<8|(d[p+3|0]|0)|0)==(b|0)){break}o=o+ -1|0;if((o|0)==0){break a}else{p=p+6|0}}n=(d[p+4|0]|0)<<8&65535|(d[p+5|0]|0)}else{if(q){break}else{q=0}while(1){p=(o+q|0)>>>1;r=p*6|0;s=(d[n+(r+15)|0]|0)<<16|(d[n+(r+14)|0]|0)<<24|(d[n+(r+16)|0]|0)<<8|(d[n+(r+17)|0]|0);if((s|0)==(b|0)){break}r=s>>>0<b>>>0;q=r?p+1|0:q;o=r?o:p;if(q>>>0>=o>>>0){break a}}n=(d[n+(r+18)|0]|0)<<8&65535|(d[n+(r+19)|0]|0)}m=(n<<16>>16)+((l&8|0)==0?m:0)|0}}while(0);j=j+ -1|0;if((j|0)==0){g=20;break}else{e=e<<1;n=k}}if((g|0)==20){i=f;return m|0}return 0}function hQ(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;g=i;o=i;i=i+8|0;s=o;r=i;i=i+16|0;q=r;n=i;i=i+16|0;h=n;f=i;i=i+8|0;l=f;m=c[d+28>>2]|0;k=h+12|0;c[k>>2]=IK(d)|0;c[n>>2]=GK(d,l)|0;j=c[f>>2]|0;if((j|0)!=0){E=j;i=g;return E|0}j=ZK(d,272136,h)|0;c[f>>2]=j;if((j|0)!=0){E=j;i=g;return E|0}t=c[k>>2]|0;C=PJ(d,t+12|0)|0;c[o>>2]=C;a:do{if((C|0)==0){h=h+4|0;do{if((b[h>>1]|0)==0){b[h>>1]=0}else{w=q+8|0;v=q+12|0;j=d+4|0;x=t+28|0;y=0;B=0;u=0;t=0;z=0;A=0;b:while(1){E=ZK(d,272160,q)|0;c[o>>2]=E;if((E|0)!=0){p=8;break}D=c[w>>2]|0;E=c[v>>2]|0;do{if((E+D|0)>>>0<=(c[j>>2]|0)>>>0){A=A+1<<16>>16;C=c[r>>2]|0;if((C|0)==1397313095){t=1;break}else if(!((C|0)==1651008868|(C|0)==1751474532)){u=(C|0)==1296389185?1:u;break}if(E>>>0<54){p=12;break b}C=PJ(d,D+12|0)|0;c[o>>2]=C;if((C|0)!=0){break a}B=GK(d,s)|0;C=c[o>>2]|0;if((C|0)!=0){break a}if((B|0)!=1594834165){p=16;break b}C=PJ(d,x+(y<<4)|0)|0;c[o>>2]=C;if((C|0)==0){B=1}else{break a}}}while(0);z=z+1<<16>>16;if((z&65535)<(e[h>>1]|0)){y=z&65535}else{break}}if((p|0)==8){b[h>>1]=z+ -1<<16>>16}else if((p|0)==12){c[o>>2]=142;C=142;break a}else if((p|0)==16){c[o>>2]=142;C=142;break a}b[h>>1]=A;if(A<<16>>16==0){break}do{if((B|0)==0){if(!((t|0)==0|(u|0)==0)){break}c[o>>2]=142;C=142;break a}}while(0);c[f>>2]=0;o=a+152|0;b[o>>1]=A;c[a+148>>2]=c[n>>2];n=a+156|0;c[n>>2]=oJ(m,16,0,A&65535,0,l)|0;l=c[f>>2]|0;if((l|0)!=0){E=l;i=g;return E|0}k=PJ(d,(c[k>>2]|0)+12|0)|0;c[f>>2]=k;if((k|0)!=0){E=k;i=g;return E|0}k=MK(d,e[o>>1]<<4)|0;c[f>>2]=k;if((k|0)!=0){E=k;i=g;return E|0}if((b[h>>1]|0)!=0){m=c[n>>2]|0;n=0;while(1){c[m>>2]=TK(d)|0;c[m+4>>2]=TK(d)|0;k=m+8|0;c[k>>2]=TK(d)|0;l=TK(d)|0;c[m+12>>2]=l;n=n+1|0;if((n|0)<(e[h>>1]|0)){m=((c[k>>2]|0)+l|0)>>>0>(c[j>>2]|0)>>>0?m:m+16|0}else{break}}}PK(d);E=c[f>>2]|0;i=g;return E|0}}while(0);c[o>>2]=2;C=2}}while(0);c[f>>2]=C;E=C;i=g;return E|0}function iQ(a,f,g){a=a|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=i;j=i;i=i+8|0;o=j;q=i;i=i+8|0;k=q;p=c[f+28>>2]|0;g=g<<24>>24!=0;l=c[a+508>>2]|0;do{if(g){r=pd[l&63](a,1986884728,f,k)|0;c[j>>2]=r;if((r|0)==0){r=a+334|0;k=e[r>>1]|0;m=c[q>>2]|0;l=m>>>2;b[r>>1]=0;r=a+336|0;k=k>>>0>l>>>0?l:k;l=a+340|0;break}else{r=j;r=c[r>>2]|0;i=h;return r|0}}else{r=pd[l&63](a,1752003704,f,k)|0;c[j>>2]=r;if((r|0)==0){r=a+250|0;l=e[r>>1]|0;m=c[q>>2]|0;k=m>>>2;b[r>>1]=0;r=a+252|0;k=l>>>0>k>>>0?k:l;l=a+256|0;break}else{r=j;r=c[r>>2]|0;i=h;return r|0}}}while(0);n=(e[a+264>>1]|0)-k|0;m=(m-(k<<2)|0)>>>1;n=(n|0)<0?0:n;c[r>>2]=oJ(p,4,0,k,0,o)|0;if((c[j>>2]|0)!=0){r=j;r=c[r>>2]|0;i=h;return r|0}c[l>>2]=oJ(p,2,0,n,0,o)|0;if((c[j>>2]|0)!=0){r=j;r=c[r>>2]|0;i=h;return r|0}q=MK(f,c[q>>2]|0)|0;c[j>>2]=q;if((q|0)!=0){r=j;r=c[r>>2]|0;i=h;return r|0}p=c[f+32>>2]|0;q=c[r>>2]|0;o=q+(k<<2)|0;if(q>>>0<o>>>0){while(1){b[q>>1]=(d[p]|0)<<8&65535|(d[p+1|0]|0);r=p+4|0;b[q+2>>1]=(d[p+2|0]|0)<<8&65535|(d[p+3|0]|0);q=q+4|0;if(q>>>0<o>>>0){p=r}else{p=r;break}}}q=c[l>>2]|0;o=q+(((n|0)<(m|0)?n:m)<<1)|0;if(q>>>0<o>>>0){while(1){b[q>>1]=(d[p]|0)<<8&65535|(d[p+1|0]|0);q=q+2|0;if(q>>>0<o>>>0){p=p+2|0}else{break}}}do{if((n|0)>(m|0)&(m|0)!=0){r=c[l>>2]|0;l=b[r+(m+ -1<<1)>>1]|0;m=r+(n<<1)|0;if(q>>>0>=m>>>0){break}do{b[q>>1]=l;q=q+2|0;}while(q>>>0<m>>>0)}}while(0);PK(f);f=k&65535;if(g){b[a+334>>1]=f;r=j;r=c[r>>2]|0;i=h;return r|0}else{b[a+250>>1]=f;r=j;r=c[r>>2]|0;i=h;return r|0}return 0}function jQ(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;e=i;l=i;i=i+8|0;k=l;p=i;i=i+8|0;h=p;o=i;i=i+8|0;j=o;g=i;i=i+8|0;q=g;c[g>>2]=0;m=d+28|0;n=c[m>>2]|0;t=a+612|0;c[t>>2]=0;r=a+508|0;B=pd[c[r>>2]&63](a,1161972803,d,0)|0;c[g>>2]=B;do{if((B|0)!=0){v=pd[c[r>>2]&63](a,1651273571,d,0)|0;c[g>>2]=v;if((v|0)==0){break}i=e;return v|0}}while(0);r=IK(d)|0;s=MK(d,8)|0;c[g>>2]=s;if((s|0)!=0){B=s;i=e;return B|0}B=TK(d)|0;s=TK(d)|0;PK(d);if((B|0)!=131072|s>>>0>65535){c[g>>2]=3;B=3;i=e;return B|0}u=oJ(n,48,0,s,0,q)|0;a=a+616|0;c[a>>2]=u;v=c[g>>2]|0;if((v|0)!=0){B=v;i=e;return B|0}c[t>>2]=s;t=MK(d,s*48|0)|0;c[g>>2]=t;if((t|0)!=0){B=t;i=e;return B|0}t=(s|0)==0;a:do{if(t){PK(d)}else{v=s;while(1){B=ZK(d,272040,u)|0;c[g>>2]=B;if((B|0)!=0){break}B=ZK(d,271984,u+16|0)|0;c[g>>2]=B;if((B|0)!=0){break}B=ZK(d,271984,u+28|0)|0;c[g>>2]=B;if((B|0)!=0){break}B=ZK(d,272064,u)|0;c[g>>2]=B;if((B|0)!=0){break}v=v+ -1|0;if((v|0)==0){break}else{u=u+48|0}}PK(d);if(t){break}a=c[a>>2]|0;b:while(1){v=c[a>>2]|0;u=a+8|0;B=PJ(d,(c[u>>2]|0)+r|0)|0;c[g>>2]=B;if((B|0)!=0){break a}B=MK(d,c[a>>2]<<3)|0;c[g>>2]=B;if((B|0)!=0){break a}w=oJ(n,40,0,c[a>>2]|0,0,q)|0;t=a+4|0;c[t>>2]=w;if((c[g>>2]|0)!=0){break a}if((v|0)!=0){while(1){b[w>>1]=RK(d)|0;b[w+2>>1]=RK(d)|0;B=(c[u>>2]|0)+r|0;c[w+36>>2]=B+(TK(d)|0);v=v+ -1|0;if((v|0)==0){break}else{w=w+40|0}}}PK(d);u=c[a>>2]|0;c:do{if((u|0)!=0){t=c[t>>2]|0;while(1){v=PJ(d,c[t+36>>2]|0)|0;c[g>>2]=v;if((v|0)!=0){f=51;break b}v=MK(d,8)|0;c[g>>2]=v;if((v|0)!=0){f=51;break b}w=t+4|0;b[w>>1]=RK(d)|0;b[t+6>>1]=RK(d)|0;v=t+8|0;c[v>>2]=TK(d)|0;PK(d);z=c[m>>2]|0;w=b[w>>1]|0;d:do{switch(w&65535|0){case 4:{v=oQ(t,d,1)|0;c[o>>2]=v;break};case 2:{c[t+12>>2]=GK(d,h)|0;v=c[p>>2]|0;if((v|0)==0){v=ZK(d,272096,t+16|0)|0;c[p>>2]=v;v=(v|0)!=0|0}c[o>>2]=v;break};case 3:case 1:{y=b[t+2>>1]|0;x=b[t>>1]|0;if((y&65535)<(x&65535)){f=28;break b}w=w<<16>>16==1;x=(y&65535)-(x&65535)|0;c[t+24>>2]=x+1;x=x+2|0;y=t+28|0;c[y>>2]=oJ(z,4,0,x,0,j)|0;z=c[o>>2]|0;if((z|0)!=0){break b}z=MK(d,dada(B,A)|0;if((A|0)==0){g=0;i=q;return g|0}B=CJ(k,A)|0;c[r>>2]=B;if((B|0)==0){break}i=q;return B|0}}while(0);j=e[j>>1]|0;b:do{switch(j|0){case 8:{g=DK(n,1)|0;c[r>>2]=g;if((g|0)==0){break b}c[r>>2]=83;g=83;i=q;return g|0};case 7:case 6:case 5:case 2:case 1:{s=d[f+46|0]|0;if((l|0)<0){g=6;i=q;return g|0}f=d[o+1|0]|0;if((f+l|0)>(c[k+80>>2]|0)|(m|0)<0){g=6;i=q;return g|0}t=d[o]|0;if((t+m|0)>(c[y>>2]|0)){g=6;i=q;return g|0}r=da(f,s)|0;switch(j|0){case 6:case 1:{if((s|0)==1){f=(f+7|0)>>>3}else if((s|0)==2){f=(f+3|0)>>>2}else if((s|0)==4){f=(f+1|0)>>>1}t=da(f,t)|0;h=1;break};case 7:case 5:case 2:{t=((da(t,r)|0)+7|0)>>>3;h=0;break};default:{g=3;i=q;return g|0}}t=MK(n,t)|0;if((t|0)!=0){g=t;i=q;return g|0}s=da(s,l)|0;v=a[o]|0;l=c[k+84>>2]|0;x=c[k+88>>2]|0;if((l|0)<0){x=x+(da((c[y>>2]|0)+ -1|0,0-l|0)|0)|0}if(v<<24>>24!=0){z=da(l,m)|0;p=s>>3;m=s&7;f=m&255;t=r>>>0>7;s=r+ -8|0;k=m<<24>>24==0;m=8-m<<24>>24&255;u=h<<24>>24==0;g=(15-r|0)>0?0:s>>>3;h=s-(g<<3)|0;o=c[n+32>>2]|0;y=0;w=v&255;v=x+(p+1+g+z)|0;x=x+(z+p)|0;p=0;while(1){if(t){z=o;A=y;y=s;j=x;while(1){if(p>>>0<8){o=z+1|0;A=(d[z]<<8-p|A&65535)&65535;p=p+8|0}else{o=z}z=(A&65535)>>>8&65535;if(k){a[j]=d[j]|z;j=j+1|0}else{a[j]=d[j]|z>>>f;j=j+1|0;a[j]=d[j]|z<<m}A=A<<8&65535;p=p+ -8|0;y=y+ -8|0;if((y|0)>-1){z=o}else{y=h;z=v;break}}}else{A=y;y=r;z=x}if((y|0)>0){if((p|0)<(y|0)){j=o+1|0;A=(d[o]<<8-p|A&65535)&65535;p=p+8|0}else{j=o}o=(A&65535)>>>8&65535&(255>>>y^255);a[z]=o>>>f|d[z];if((y|0)>(m|0)){g=z+1|0;a[g]=d[g]|o<<m}o=j;A=(A&65535)<<y&65535;p=p-y|0}w=w+ -1|0;if((w|0)>0){y=u?A:0;v=v+l|0;x=x+l|0;p=u?p:0}else{break}}}PK(n);g=0;i=q;return g|0};case 9:{break};default:{g=3;i=q;return g|0}}}while(0);y=EK(n,z)|0;o=c[r>>2]|0;if((o|0)!=0){g=o;i=q;return g|0}j=y&65535;o=oJ(s,4,0,j,0,z)|0;z=c[r>>2]|0;if((z|0)!=0){g=z;i=q;return g|0}g=MK(n,j<<2)|0;c[r>>2]=g;c:do{if((g|0)==0){j=y<<16>>16==0;if(j){PK(n);break}else{z=o;A=y}while(1){b[z>>1]=RK(n)|0;a[z+2|0]=QK(n)|0;a[z+3|0]=QK(n)|0;A=A+ -1<<16>>16;if(A<<16>>16==0){break}else{z=z+4|0}}PK(n);if(j){break}z=p+1|0;p=o;while(1){g=qQ(e[p>>1]|0,f,v,w)|0;c[r>>2]=g;if((g|0)!=0){break c}g=pQ(f,c[x>>2]|0,h,c[u>>2]|0,k,(a[p+2|0]|0)+l|0,(a[p+3|0]|0)+m|0,n,t,z)|0;c[r>>2]=g;if((g|0)!=0){break c}y=y+ -1<<16>>16;if(y<<16>>16==0){break}else{p=p+4|0}}}}while(0);lJ(s,o);g=c[r>>2]|0;i=q;return g|0}function qQ(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0;h=i;a:do{if((e[d+40>>1]|0)>>>0<=a>>>0){if((e[d+42>>1]|0)>>>0<a>>>0){break}j=c[d+4>>2]|0;n=c[d>>2]|0;d=j+(n*40|0)|0;if(!((j|0)!=0&(n|0)>0)){break}while(1){k=e[j>>1]|0;if(k>>>0<=a>>>0){if((e[j+2>>1]|0)>>>0>=a>>>0){break}}j=j+40|0;if(j>>>0>=d>>>0){break a}}k=a-k|0;d=b[j+4>>1]|0;b:do{switch(d&65535|0){case 5:case 4:{k=c[j+24>>2]|0;if((k|0)==0){break a}m=c[j+32>>2]|0;n=0;while(1){l=n+1|0;if((e[m+(n<<1)>>1]|0|0)==(a|0)){break}if(l>>>0<k>>>0){n=l}else{break a}}if(d<<16>>16==4){c[g>>2]=c[(c[j+28>>2]|0)+(n<<2)>>2];break b}else{c[g>>2]=(da(c[j+12>>2]|0,n)|0)+(c[j+8>>2]|0);break b}break};case 3:case 1:{c[g>>2]=c[(c[j+28>>2]|0)+((k&65535)<<2)>>2];break};case 2:{c[g>>2]=(da>>16>1){w=y;A=x;B=z;z=z+8|0;while(1){C=c[z>>2]|0;B=c[B+12>>2]|0;if((C|0)<(x|0)){c[u>>2]=C;x=C}if((C|0)>(A|0)){c[d>>2]=C;A=C}if((B|0)<(y|0)){c[s>>2]=B;y=B}if((B|0)>(w|0)){c[t>>2]=B;w=B}B=z+8|0;if(B>>>0<v>>>0){M=z;z=B;B=M}else{break}}}else{w=y;A=x}M=x>>6;c[u>>2]=M;z=y>>6;c[s>>2]=z;u=A+63>>6;c[d>>2]=u;A=w+63>>6;c[t>>2]=A;t=A;A=M;y=d}w=c[j+1024>>2]|0;if((u|0)<=(w|0)){M=0;i=e;return M|0}x=c[j+1032>>2]|0;if((A|0)>=(x|0)){M=0;i=e;return M|0}s=j+20|0;B=c[j+1028>>2]|0;if((t|0)<=(B|0)){M=0;i=e;return M|0}d=j+16|0;v=c[j+1036>>2]|0;if((z|0)>=(v|0)){M=0;i=e;return M|0}if((A|0)<(w|0)){c[j+8>>2]=w}else{w=A}if((z|0)<(B|0)){c[d>>2]=B;z=B}if((u|0)>(x|0)){c[y>>2]=x;u=x}if((t|0)>(v|0)){c[s>>2]=v}else{v=t}t=j+24|0;c[t>>2]=u-w;A=v-z|0;z=j+28|0;c[z>>2]=A;A=(A|0)/(c[l>>2]|0)|0;if((A|0)==0){A=1}if((A|0)>38){A=39}E=j+1252|0;c[E>>2]=0;G=c[d>>2]|0;F=c[s>>2]|0;D=0;a:do{if((D|0)<(A|0)){u=h+4|0;y=j+1424|0;x=j+1236|0;v=j+1244|0;B=j+1040|0;w=j+1240|0;b:while(1){C=(c[l>>2]|0)+G|0;if((D|0)==(A+ -1|0)){f=58}else{if((C|0)>(F|0)){f=58}}if((f|0)==58){f=0;C=F}c[g>>2]=G;c[u>>2]=C;G=h;if(G>>>0>=h>>>0){do{c[n>>2]=c[r>>2];H=(c[G+4>>2]|0)-(c[G>>2]|0)|0;c[y>>2]=H;J=H<<2;I=J&12;if((I|0)!=0){J=J+16-I|0}I=c[o>>2]&-16;c[m>>2]=(c[r>>2]|0)+J;do{if((J|0)<(I|0)){M=I-J|0;c[q>>2]=M>>4;if((M|0)<32){f=84;break}if((H|0)>0){H=0;do{c[(c[n>>2]|0)+(H<<2)>>2]=0;H=H+1|0;}while((H|0)<(c[y>>2]|0))}c[k>>2]=0;c[p>>2]=1;c[d>>2]=c[G>>2];c[s>>2]=c[G+4>>2];c[z>>2]=(c[G+4>>2]|0)-(c[G>>2]|0);H=SQ(j)|0;if((H|0)==64){f=84;break}else if((H|0)!=0){g=1;f=92;break b}do{if((c[k>>2]|0)!=0){c[a>>2]=0;if((c[y>>2]|0)>0){H=0;do{I=c[(c[n>>2]|0)+(H<<2)>>2]|0;do{if((I|0)!=0){J=0;L=0;do{K=c[I>>2]|0;if(!((K|0)<=(L|0)|(J|0)==0)){TQ(j,L,H,J<<9,K-L|0)}J=(c[I+4>>2]|0)+J|0;K=J<<9;L=c[I+8>>2]|0;M=K-L|0;do{if((K|0)!=(L|0)){L=c[I>>2]|0;if((L|0)<=-1){break}TQ(j,L,H,M,1)}}while(0);L=(c[I>>2]|0)+1|0;I=c[I+12>>2]|0;}while((I|0)!=0);if((J|0)==0){break}TQ(j,L,H,K,(c[t>>2]|0)-L|0)}}while(0);H=H+1|0;}while((H|0)<(c[y>>2]|0))}I=c[x>>2]|0;if((I|0)==0){break}H=c[a>>2]|0;if((H|0)<=0){break}Jd[I&63](c[v>>2]|0,H,B,c[w>>2]|0)}}while(0);G=G+ -8|0}else{f=84}}while(0);if((f|0)==84){f=0;I=c[G>>2]|0;H=c[G+4>>2]|0;M=H-I>>1;J=M+I|0;if((M|0)==0){g=1;f=92;break b}if((I-H|0)>=(c[l>>2]|0)){c[E>>2]=(c[E>>2]|0)+1}c[G+8>>2]=I;c[G+12>>2]=J;c[G>>2]=J;c[G+4>>2]=H;G=G+8|0}}while(G>>>0>=h>>>0)}D=D+1|0;G=C;if((D|0)>=(A|0)){break a}}if((f|0)==92){i=e;return g|0}}}while(0);if((c[E>>2]|0)<=8){M=0;i=e;return M|0}f=c[l>>2]|0;if((f|0)<=16){M=0;i=e;return M|0}c[l>>2]=(f|0)/2|0;M=0;i=e;return M|0}function IQ(a){a=a|0;var b=0;b=i;lJ(c[a+12>>2]|0,a);i=b;return}function JQ(a){a=a|0;var b=0,d=0;b=i;d=c[a+4>>2]|0;Gd[c[(c[(c[a+20>>2]|0)+56>>2]|0)+8>>2]&255](c[a+60>>2]|0,c[d+172>>2]|0,c[d+176>>2]|0);i=b;return 0}function KQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=i;a=QQ(a,b,(c|0)==1?0:c,d,0)|0;i=e;return a|0}function LQ(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;if((c[b+72>>2]|0)!=(c[a+24>>2]|0)){a=6;i=f;return a|0}if((d|0)!=0){GJ(b+108|0,d)}if((e|0)==0){a=0;i=f;return a|0}HJ(b+108|0,c[e>>2]|0,c[e+4>>2]|0);a=0;i=f;return a|0}function MQ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;bX(d|0,0,16)|0;if((c[b+72>>2]|0)!=(c[a+24>>2]|0)){i=e;return}zK(b+108|0,d);i=e;return}function NQ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;a=sd[c[(c[(c[a+20>>2]|0)+56>>2]|0)+12>>2]&127](c[a+60>>2]|0,b,d)|0;i=e;return a|0}function OQ(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=i;e=QQ(b,c,d,e,3)|0;if((e|0)!=0){i=f;return e|0}a[c+94|0]=5;i=f;return e|0}function PQ(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=i;e=QQ(b,c,d,e,4)|0;if((e|0)!=0){i=f;return e|0}a[c+94|0]=6;i=f;return e|0}function QQ(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;j=i;k=i;i=i+8|0;o=i;i=i+16|0;p=o;y=i;i=i+48|0;x=y;w=(f|0)==3;n=(f|0)==4;l=e+72|0;if((c[l>>2]|0)!=(c[d+24>>2]|0)){c[k>>2]=6;C=6;i=j;return C|0}if((f|0)!=(h|0)){C=19;i=j;return C|0}h=e+108|0;f=(g|0)==0;if(!f){HJ(h,c[g>>2]|0,c[g+4>>2]|0)}zK(h,p);t=c[o>>2]&-64;c[o>>2]=t;q=p+4|0;m=c[q>>2]&-64;c[q>>2]=m;r=p+8|0;s=(c[r>>2]|0)+63&-64;c[r>>2]=s;r=p+12|0;p=(c[r>>2]|0)+63&-64;c[r>>2]=p;if((t|0)<0&(s|0)>(t+2147483647|0)){C=98;i=j;return C|0}u=s-t>>6;if((m|0)<0&(p|0)>(m+2147483647|0)){C=98;i=j;return C|0}s=p-m>>6;B=e+76|0;C=c[d+8>>2]|0;A=e+156|0;if((c[(c[A>>2]|0)+4>>2]&1|0)!=0){z=e+88|0;lJ(C,c[z>>2]|0);c[z>>2]=0;z=(c[A>>2]|0)+4|0;c[z>>2]=c[z>>2]&-2}if(w){v=u*3|0;m=v+3&-4}else{m=u;v=u}if(n){t=s*3|0}else{t=s}p=c[o>>2]|0;q=c[q>>2]|0;o=p>>6;r=c[r>>2]>>6;if(v>>>0>32767|t>>>0>32767){C=98;i=j;return C|0}a[e+94|0]=2;b[e+92>>1]=256;c[e+80>>2]=v;c[B>>2]=t;c[e+84>>2]=m;HJ(h,0-p|0,0-q|0);z=e+88|0;c[z>>2]=jJ(C,da(t,m)|0,k)|0;C=c[k>>2]|0;do{if((C|0)==0){C=(c[A>>2]|0)+4|0;c[C>>2]=c[C>>2]|1;c[y>>2]=B;c[x+4>>2]=h;c[x+8>>2]=1;c[k>>2]=Bd[c[d+64>>2]&255](c[d+60>>2]|0,x)|0;do{if(w){if((s|0)==0|(u|0)==0){break}else{w=s;d=c[z>>2]|0}while(1){x=d+v|0;A=u;while(1){A=A+ -1|0;C=a[d+A|0]|0;y=x+ -3|0;a[y]=C;a[x+ -2|0]=C;a[x+ -1|0]=C;if((A|0)==0){break}else{x=y}}w=w+ -1|0;if((w|0)==0){break}else{d=d+m|0}}}}while(0);do{if(n){d=c[z>>2]|0;if((s|0)==0){break}n=m<<1;u=n+m|0;v=s;s=d+(da(t-s|0,m)|0)|0;while(1){$W(d|0,s|0,m|0)|0;$W(d+m|0,s|0,m|0)|0;$W(d+n|0,s|0,m|0)|0;v=v+ -1|0;if((v|0)==0){break}else{d=d+u|0;s=s+m|0}}}}while(0);HJ(h,p,q);C=c[k>>2]|0;if((C|0)!=0){break}c[l>>2]=1651078259;c[e+100>>2]=o;c[e+104>>2]=r;C=0}}while(0);if(f){i=j;return C|0}HJ(h,0-(c[g>>2]|0)|0,0-(c[g+4>>2]|0)|0);C=c[k>>2]|0;i=j;return C|0}function RQ(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,o=0;j=i;k=c[g+1012>>2]|0;l=c[g+1008>>2]|0;d=da(l,d)|0;if((l|0)>-1){g=dada(w,s)|0)-(da(t,x)|0)|0;if((((y|0)<0?0-y|0:y)|0)>(v|0)){break}z=c[m+16>>2]|0;A=z-r|0;y=b-h|0;B=(da(A,s)|0)-(da(t,y)|0)|0;if((((B|0)<0?0-B|0:B)|0)>(v|0)){break}if(((da(w,t)|0)+(da(s,x)|0)|0)<0){break}if(((da(A,t)|0)+(da(s,y)|0)|0)<0){break}if(((da(q-u|0,t)|0)+(da(n-j|0,s)|0)|0)<0){break}if(((da(q-z|0,t)|0)+(da(n-b|0,s)|0)|0)>=0){break b}}}while(0);c[m+48>>2]=q;y=m+16|0;z=c[y>>2]|0;B=(u+r|0)/2|0;c[m+8>>2]=B;A=(z+q|0)/2|0;c[m+40>>2]=A;z=(z+u|0)/2|0;B=(z+B|0)/2|0;c[y>>2]=B;A=(z+A|0)/2|0;c[m+32>>2]=A;c[m+24>>2]=(A+B|0)/2|0;c[m+52>>2]=n;B=(j+h|0)/2|0;c[k>>2]=B;A=(n+b|0)/2|0;c[m+44>>2]=A;z=(b+j|0)/2|0;B=(z+B|0)/2|0;c[l>>2]=B;A=(z+A|0)/2|0;c[m+36>>2]=A;c[p>>2]=(A+B|0)/2|0;m=o;continue a}}while(0);ZQ(e,c[m>>2]|0,h);if((m|0)==(g|0)){break}m=m+ -24|0}i=f;return 0}function ZQ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;g=i;l=a+72|0;s=c[l>>2]|0;u=s>>8;k=d>>8;h=a+68|0;q=c[h>>2]|0;s=q-s|0;f=k<<8;j=d-f|0;e=a+64|0;r=c[e>>2]|0;x=b-r|0;q=d-q|0;o=(u|0)>(k|0);if(((o?k:u)|0)>=(c[a+20>>2]|0)){H=e;c[H>>2]=b;H=h;c[H>>2]=d;H=l;c[H>>2]=f;i=g;return}n=a+16|0;v=c[n>>2]|0;if(((o?u:k)|0)<(v|0)){H=e;c[H>>2]=b;H=h;c[H>>2]=d;H=l;c[H>>2]=f;i=g;return}if((u|0)==(k|0)){_Q(a,u,r,s,b,j);H=e;c[H>>2]=b;H=h;c[H>>2]=d;H=l;c[H>>2]=f;i=g;return}if((r|0)==(b|0)){o=b>>8;p=b-(o<<8)<<1;q=q>>31;r=q+256&-256;q=q|1;D=r-s|0;s=da(p,D)|0;t=a+32|0;c[t>>2]=(c[t>>2]|0)+s;s=a+36|0;c[s>>2]=(c[s>>2]|0)+D;D=q+u|0;x=D-v|0;v=a+12|0;w=c[v>>2]|0;u=a+8|0;w=((w|0)<(o|0)?w:o)-(c[u>>2]|0)|0;F=(w|0)>-1?w:-1;if((F|0)==(c[a>>2]|0)){w=a+4|0;if((x|0)!=(c[w>>2]|0)){m=8}}else{m=8}if((m|0)==8){if((c[a+40>>2]|0)==0){UQ(a)}c[t>>2]=0;c[s>>2]=0;w=a+4|0}c[a>>2]=F;c[w>>2]=x;w=a+28|0;E=c[w>>2]|0;if(x>>>0<E>>>0){C=(F|0)>=(c[a+24>>2]|0)|0}else{C=1}x=a+40|0;c[x>>2]=C;z=(r<<1)+ -256|0;y=da(z,p)|0;if((D|0)!=(k|0)){B=a+4|0;A=a+24|0;while(1){c[t>>2]=(c[t>>2]|0)+y;c[s>>2]=(c[s>>2]|0)+z;D=D+q|0;G=D-(c[n>>2]|0)|0;H=c[v>>2]|0;H=((H|0)<(o|0)?H:o)-(c[u>>2]|0)|0;H=(H|0)>-1?H:-1;if((H|0)==(F|0)){if((G|0)!=(c[B>>2]|0)){m=17}}else{m=17}if((m|0)==17){m=0;if((C|0)==0){UQ(a);E=c[w>>2]|0}c[t>>2]=0;c[s>>2]=0}c[a>>2]=H;c[B>>2]=G;if(G>>>0<E>>>0){C=(H|0)>=(c[A>>2]|0)|0}else{C=1}c[x>>2]=C;if((D|0)==(k|0)){break}else{F=H}}}H=j+ -256+r|0;G=da(p,H)|0;c[t>>2]=(c[t>>2]|0)+G;c[s>>2]=(c[s>>2]|0)+H;H=e;c[H>>2]=b;H=h;c[H>>2]=d;H=l;c[H>>2]=f;i=g;return}t=(q|0)<0;p=q>>31;o=p+256&-256;p=p|1;q=t?0-q|0:q;w=da(t?s:256-s|0,x)|0;t=(w|0)/(q|0)|0;w=(w|0)%(q|0)|0;if((w|0)<0){t=t+ -1|0;w=w+q|0}v=r+t|0;_Q(a,u,r,s,v,o);E=p+u|0;y=v>>8;u=E-(c[n>>2]|0)|0;r=a+12|0;t=c[r>>2]|0;s=a+8|0;t=((t|0)<(y|0)?t:y)-(c[s>>2]|0)|0;y=(t|0)>-1?t:-1;if((y|0)==(c[a>>2]|0)){t=a+4|0;if((u|0)!=(c[t>>2]|0)){m=28}}else{m=28}if((m|0)==28){if((c[a+40>>2]|0)==0){UQ(a)}c[a+32>>2]=0;c[a+36>>2]=0;t=a+4|0}c[a>>2]=y;c[t>>2]=u;t=a+28|0;if(u>>>0<(c[t>>2]|0)>>>0){y=(y|0)>=(c[a+24>>2]|0)|0}else{y=1}u=a+40|0;c[u>>2]=y;if((E|0)!=(k|0)){z=x<<8;x=(z|0)/(q|0)|0;z=(z|0)%(q|0)|0;if((z|0)<0){x=x+ -1|0;z=z+q|0}C=256-o|0;B=a+4|0;A=a+24|0;y=a+32|0;D=a+36|0;w=w-q|0;F=v;while(1){v=w+z|0;w=v-((v|0)>-1?q:0)|0;v=x+(v>>>31^1)+F|0;_Q(a,E,F,C,v,o);E=E+p|0;H=v>>8;F=E-(c[n>>2]|0)|0;G=c[r>>2]|0;G=((G|0)<(H|0)?G:H)-(c[s>>2]|0)|0;G=(G|0)>-1?G:-1;if((G|0)==(c[a>>2]|0)){if((F|0)!=(c[B>>2]|0)){m=39}}else{m=39}if((m|0)==39){m=0;if((c[u>>2]|0)==0){UQ(a)}c[y>>2]=0;c[D>>2]=0}c[a>>2]=G;c[B>>2]=F;if(F>>>0<(c[t>>2]|0)>>>0){F=(G|0)>=(c[A>>2]|0)|0}else{F=1}c[u>>2]=F;if((E|0)==(k|0)){break}else{F=v}}}_Q(a,k,v,256-o|0,b,j);H=e;c[H>>2]=b;H=h;c[H>>2]=d;H=l;c[H>>2]=f;i=g;return}function _Q(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;h=i;l=f-d|0;p=d>>8;k=f>>8;n=d-(p<<8)|0;f=f-(k<<8)|0;if((e|0)==(g|0)){g=b-(c[a+16>>2]|0)|0;b=c[a+12>>2]|0;k=((b|0)<(k|0)?b:k)-(c[a+8>>2]|0)|0;k=(k|0)>-1?k:-1;if((k|0)==(c[a>>2]|0)){b=a+4|0;if((g|0)!=(c[b>>2]|0)){j=4}}else{j=4}if((j|0)==4){if((c[a+40>>2]|0)==0){UQ(a)}c[a+32>>2]=0;c[a+36>>2]=0;b=a+4|0}c[a>>2]=k;c[b>>2]=g;if(g>>>0<(c[a+28>>2]|0)>>>0){j=(k|0)>=(c[a+24>>2]|0)|0}else{j=1}c[a+40>>2]=j;i=h;return}if((p|0)==(k|0)){D=g-e|0;C=da(f+n|0,D)|0;E=a+32|0;c[E>>2]=(c[E>>2]|0)+C;E=a+36|0;c[E>>2]=(c[E>>2]|0)+D;i=h;return}o=(l|0)<0;m=l>>31;d=m+256&-256;l=o?0-l|0:l;m=m|1;x=da(o?n:256-n|0,g-e|0)|0;u=(x|0)/(l|0)|0;x=(x|0)%(l|0)|0;if((x|0)<0){u=u+ -1|0;x=x+l|0}o=da(u,d+n|0)|0;n=a+32|0;c[n>>2]=(c[n>>2]|0)+o;o=a+36|0;c[o>>2]=(c[o>>2]|0)+u;z=m+p|0;q=a+16|0;t=b-(c[q>>2]|0)|0;p=a+12|0;s=c[p>>2]|0;r=a+8|0;s=((s|0)<(z|0)?s:z)-(c[r>>2]|0)|0;B=(s|0)>-1?s:-1;if((B|0)==(c[a>>2]|0)){s=a+4|0;if((t|0)!=(c[s>>2]|0)){j=16}}else{j=16}if((j|0)==16){if((c[a+40>>2]|0)==0){UQ(a)}c[n>>2]=0;c[o>>2]=0;s=a+4|0}c[a>>2]=B;c[s>>2]=t;s=a+28|0;A=c[s>>2]|0;if(t>>>0<A>>>0){y=(B|0)>=(c[a+24>>2]|0)|0}else{y=1}t=a+40|0;c[t>>2]=y;C=u+e|0;if((z|0)!=(k|0)){v=u+g-C<<8;e=(v|0)/(l|0)|0;v=(v|0)%(l|0)|0;if((v|0)<0){e=e+ -1|0;v=v+l|0}w=a+4|0;u=a+24|0;x=x-l|0;while(1){E=x+v|0;D=e+(E>>>31^1)|0;x=E-((E|0)>-1?l:0)|0;c[n>>2]=(c[n>>2]|0)+(D<<8);c[o>>2]=(c[o>>2]|0)+D;C=D+C|0;z=z+m|0;E=b-(c[q>>2]|0)|0;D=c[p>>2]|0;D=((D|0)<(z|0)?D:z)-(c[r>>2]|0)|0;D=(D|0)>-1?D:-1;if((D|0)==(B|0)){if((E|0)!=(c[w>>2]|0)){j=27}}else{j=27}if((j|0)==27){j=0;if((y|0)==0){UQ(a);A=c[s>>2]|0}c[n>>2]=0;c[o>>2]=0}c[a>>2]=D;c[w>>2]=E;if(E>>>0<A>>>0){y=(D|0)>=(c[u>>2]|0)|0}else{y=1}c[t>>2]=y;if((z|0)==(k|0)){break}else{B=D}}}E=g-C|0;D=dada(B,C)|0))|0;if((z|0)==0){break}c[f>>2]=d[z]<<6}}while(0);c[s+24>>2]=(c[q+8>>2]|0)-(c[r>>2]|0);q=q+4|0;c[s+28>>2]=(c[y>>2]|0)-(c[q>>2]|0);do{if((a[x+296|0]|0)==0){l=117}else{if((b[x+334>>1]|0)==0){l=117;break}r=n+188|0;q=(bJ((c[r>>2]|0)-(c[y>>2]|0)|0,v)|0)<<16>>16;r=c[r>>2]|0;n=c[n+196>>2]|0;if((r|0)<=(n|0)){n=0;break}n=(bJ(r-n|0,v)|0)&65535}}while(0);if((l|0)==117){l=(bJ((c[y>>2]|0)-(c[q>>2]|0)|0,v)|0)<<16>>16;n=x+368|0;if((b[n>>1]|0)==-1){q=x+216|0;q=(b[q+4>>1]|0)-(b[q+6>>1]|0)|0}else{q=(b[n+70>>1]|0)-(b[n+72>>1]|0)|0}n=q;q=(q-l|0)/2|0}l=c[(c[x+128>>2]|0)+52>>2]|0;do{if((l|0)!=0){if((c[(c[l>>2]|0)+8>>2]|0)==0){break}c[p>>2]=0;p=m+4|0;c[p>>2]=q;q=m+8|0;c[q>>2]=n;if((pd[c[(c[l>>2]|0)+8>>2]&63](c[l+4>>2]|0,h,1,m)|0)!=0){break c}n=c[q>>2]|0;q=c[p>>2]|0}}while(0);c[s+60>>2]=n;if((c[w>>2]&1|0)==0){q=aJ(q,v)|0;n=aJ(n,v)|0}c[s+44>>2]=(c[t>>2]|0)-((c[f>>2]|0)/2|0);c[s+48>>2]=q;c[s+52>>2]=n}}while(0);if(o){M=u;i=k;return M|0}if((e[g+14>>1]|0)>=24){M=u;i=k;return M|0}c[j>>2]=c[j>>2]|256;M=u;i=k;return M|0}function iR(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;g=c[a+532>>2]|0;c[e>>2]=0;c[e+4>>2]=0;if((g|0)==0){i=f;return 0}c[e>>2]=sd[c[g+128>>2]&127](a,b,d)|0;i=f;return 0}function jR(d,f,g,h,j){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;k=i;r=i;i=i+8|0;p=r;q=i;i=i+8|0;l=q;m=i;i=i+8|0;o=i;i=i+8|0;n=o;s=h&512;t=(g|0)==0;if((h&16|0)!=0){if(t){i=k;return 0}o=d+296|0;m=d+68|0;n=d+532|0;s=0;do{if((a[o]|0)==0){b[r>>1]=0;h=b[m>>1]|0;b[q>>1]=h}else{Cd[c[(c[n>>2]|0)+156>>2]&63](d,1,s+f|0,p,l)|0;h=b[q>>1]|0}c[j+(s<<2)>>2]=h&65535;s=s+1|0;}while(s>>>0<g>>>0);i=k;return 0}if(t){i=k;return 0}l=d+532|0;q=d+480|0;p=d+226|0;if((s|0)==0){r=0}else{p=0;do{Cd[c[(c[l>>2]|0)+156>>2]&63](d,0,p+f|0,m,n)|0;c[j+(p<<2)>>2]=e[o>>1]|0;p=p+1|0;}while(p>>>0<g>>>0);i=k;return 0}do{Cd[c[(c[l>>2]|0)+156>>2]&63](d,0,r+f|0,m,n)|0;if((c[q>>2]|0)!=0){b[o>>1]=b[p>>1]|0}c[j+(r<<2)>>2]=e[o>>1]|0;r=r+1|0;}while(r>>>0<g>>>0);i=k;return 0}function kR(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;e=i;i=i+8|0;f=c[a>>2]|0;do{if((c[f+8>>2]&2|0)==0){e=f;f=0}else{f=sd[c[(c[f+532>>2]|0)+148>>2]&127](f,b,e)|0;if((f|0)!=0){c[a+112>>2]=-1;e=c[a>>2]|0;break}e=c[e>>2]|0;f=c[a>>2]|0;b=a+112|0;c[b>>2]=e;if((c[f+8>>2]&1|0)!=0){YJ(f,e);bS(a)|0;f=0;i=d;return f|0}a=sd[c[(c[f+532>>2]|0)+152>>2]&127](f,e,a+12|0)|0;if((a|0)==0){f=0;i=d;return f|0}c[b>>2]=-1;f=a;i=d;return f|0}}while(0);_J(e,b);if((c[(c[a>>2]|0)+8>>2]&1|0)==0){i=d;return f|0}f=bS(a)|0;i=d;return f|0}function lR(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;f=c[a>>2]|0;e=a+112|0;c[e>>2]=b;if((c[f+8>>2]&1|0)!=0){YJ(f,b);bS(a)|0;b=0;i=d;return b|0}a=sd[c[(c[f+532>>2]|0)+152>>2]&127](f,b,a+12|0)|0;if((a|0)==0){b=0;i=d;return b|0}c[e>>2]=-1;b=a;i=d;return b|0}function mR(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;d=i;f=i;i=i+8|0;e=i;i=i+8|0;g=c[a+8>>2]|0;a=a+40|0;h=c[a>>2]|0;if((h|0)!=0){l=h;i=d;return l|0}h=jJ(g,608,e)|0;if((c[e>>2]|0)!=0){l=0;i=d;return l|0}l=h+8|0;c[l>>2]=g;j=h+432|0;c[j>>2]=32;k=h+436|0;c[k>>2]=oJ(g,16,0,32,0,f)|0;do{if((c[f>>2]|0)==0){b[h+440>>1]=0;b[h+442>>1]=0;c[h+20>>2]=0;c[h+388>>2]=0;c[h+24>>2]=0;c[h+392>>2]=0;c[h>>2]=0;c[h+4>>2]=0;c[e>>2]=0}else{l=c[l>>2]|0;b[h+440>>1]=0;b[h+442>>1]=0;g=h+24|0;lJ(l,c[g>>2]|0);c[g>>2]=0;c[h+20>>2]=0;lJ(l,c[k>>2]|0);c[k>>2]=0;c[j>>2]=0;c[h+428>>2]=0;k=h+392|0;lJ(l,c[k>>2]|0);c[k>>2]=0;c[h+388>>2]=0;c[h+4>>2]=0;c[h>>2]=0;lJ(l,h);l=c[f>>2]|0;c[e>>2]=l;if((l|0)==0){break}else{e=0}i=d;return e|0}}while(0);c[a>>2]=h;l=h;i=d;return l|0}function nR(f){f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0;g=i;k=i;i=i+40|0;Gb=i;i=i+8|0;l=Gb;Ja=i;i=i+8|0;G=Ja;D=i;i=i+8|0;H=D;t=i;i=i+40|0;o=i;i=i+8|0;u=o;q=i;i=i+8|0;r=q;p=i;i=i+8|0;s=p;z=i;i=i+40|0;A=i;i=i+8|0;w=i;i=i+8|0;x=w;v=i;i=i+8|0;y=v;n=i;i=i+16|0;m=n;c[f+256>>2]=0;B=f+592|0;if((b[f+216>>1]|0)==(b[f+218>>1]|0)){c[B>>2]=198;c[f+596>>2]=153;c[f+600>>2]=154}else{c[B>>2]=197;c[f+596>>2]=151;c[f+600>>2]=152}uR(f);E=f+312|0;switch(c[E>>2]&255|0){case 7:{F=f+568|0;c[F>>2]=86;break};case 5:{F=f+568|0;c[F>>2]=79;break};case 6:{F=f+568|0;c[F>>2]=85;break};case 0:{F=f+568|0;c[F>>2]=83;break};case 2:{F=f+568|0;c[F>>2]=84;break};case 1:{F=f+568|0;c[F>>2]=80;break};case 4:{F=f+568|0;c[F>>2]=81;break};case 3:{F=f+568|0;c[F>>2]=82;break};default:{F=f+568|0}}ea=f+360|0;ba=f+356|0;La=f+368|0;Na=f+372|0;ca=f+364|0;Fb=f+16|0;$=f+28|0;Z=f+32|0;Eb=f+20|0;aa=f+376|0;h=f+12|0;_=f+24|0;ta=f+72|0;S=f+80|0;gb=f+380|0;Ka=f+284|0;T=f+44|0;Y=f+328|0;X=f+324|0;wa=f+346|0;Ha=f+48|0;qa=f+298|0;Fa=f+84|0;pa=f+300|0;N=f+88|0;P=f+52|0;Da=f+576|0;ra=f+572|0;mb=f+316|0;sa=f+584|0;C=f+286|0;Ea=f+288|0;Qa=f+308|0;va=f+344|0;Pa=f+320|0;M=f+561|0;Ga=f+92|0;Ia=f+56|0;kb=f+220|0;lb=f+224|0;ja=f+416|0;ka=f+408|0;ha=f+428|0;ia=f+432|0;ga=f+436|0;fa=f+352|0;j=f+488|0;Ra=f+294|0;Sa=f+296|0;eb=f+290|0;fb=f+292|0;V=f+294|0;R=f+116|0;O=f+124|0;W=f+290|0;U=f+298|0;Q=f+132|0;ua=f+36|0;K=f+180|0;L=f+144|0;J=f+108|0;I=f+348|0;Aa=f+304|0;oa=f+60|0;na=f+420|0;la=f+404|0;ma=f+396|0;Oa=f+400|0;db=f+264|0;Ta=f+154|0;bb=f+156|0;_a=f+160|0;$a=m+4|0;ab=f+164|0;Xa=m+8|0;Ya=f+152|0;Za=m+12|0;Va=f+172|0;Wa=f+176|0;Ua=f+168|0;cb=t+16|0;xa=k+16|0;za=f+118|0;ya=f+136|0;Ba=f+120|0;Ca=f+128|0;Ma=f+588|0;ib=f+468|0;hb=f+472|0;jb=f+596|0;nb=f+332|0;ob=f+334|0;pb=f+260|0;qb=f+384|0;rb=f+600|0;sb=f+476|0;ub=f+484|0;tb=f+480|0;wb=f+282|0;vb=f+337|0;xb=f+281|0;yb=f+252|0;Bb=f+604|0;Ab=f+412|0;zb=f+424|0;Cb=f+340|0;Db=f+336|0;Pb=c[ea>>2]|0;Hb=0;a:while(1){Nb=c[ba>>2]|0;Mb=a[Nb+Pb|0]|0;a[La]=Mb;Tb=Mb&255;Ub=a[273544+Tb|0]|0;c[Na>>2]=Ub;Ob=c[ca>>2]|0;if((Tb&254|0)==64){if((Pb|0)>=(Ob|0)){Lb=745;break}Ub=2-(dada(Nb,Pb)|0;Ub=Vb<<16|8192;Pb=Ub+(da(Ob,Pb)|0)|0;Pb=(Pb>>>0<Ub>>>0)+(Vb>>>16)<<18|Pb>>>14;Ib=(Ib^Mb|0)>-1?Pb:0-Pb|0;Vb=b[pa>>1]|0;Pb=Vb<<16>>16;Tb=Vb<<16>>16<0?0-Pb|0:Pb;Vb=da(Tb,Nb)|0;Ub=Vb<<16|8192;Nb=Ub+(da(Tb,Ob)|0)|0;Nb=(Nb>>>0<Ub>>>0)+(Vb>>>16)<<18|Nb>>>14;Mb=(Pb^Mb|0)>-1?Nb:0-Nb|0;f:do{if((Lb|0)>0){while(1){Vb=Kb+ -1|0;c[$>>2]=Vb;Jb=c[Jb+(Vb<<2)>>2]&65535;do{if(Jb>>>0<(e[R>>1]|0)>>>0){if((b[qa>>1]|0)!=0){Vb=(c[O>>2]|0)+(Jb<<3)|0;c[Vb>>2]=(c[Vb>>2]|0)+Ib;Vb=(c[Q>>2]|0)+Jb|0;a[Vb]=a[Vb]|8}if((b[pa>>1]|0)==0){break}Vb=(c[O>>2]|0)+(Jb<<3)+4|0;c[Vb>>2]=(c[Vb>>2]|0)+Mb;Vb=(c[Q>>2]|0)+Jb|0;a[Vb]=a[Vb]|16}else{if((a[M]|0)!=0){Lb=288;break a}}}while(0);Vb=(c[Aa>>2]|0)+ -1|0;c[Aa>>2]=Vb;Kb=c[$>>2]|0;if((Vb|0)<=0){break f}Jb=c[_>>2]|0}}}while(0);c[Aa>>2]=1;c[Z>>2]=Kb;Lb=723;break};case 57:{Lb=c[Aa>>2]|0;if((Qb|0)<(Lb|0)){Lb=297;break a}do{if((b[va>>1]|0)==0){Ib=1}else{if((b[wa>>1]|0)==0){Ib=1;break}Ib=(b[I>>1]|0)==0}}while(0);Vb=b[C>>1]|0;Pb=Vb&65535;if((Vb&65535)>=(e[T>>1]|0)){if((a[M]|0)==0){Lb=723;break b}else{Lb=303;break a}}Nb=c[(Ib?Ha:Ia)>>2]|0;Kb=Nb+(Pb<<3)|0;Ob=c[P>>2]|0;Jb=Ob+(Pb<<3)|0;Vb=b[Ea>>1]|0;Mb=Vb&65535;if((Vb&65535)<(e[S>>1]|0)){Lb=c[Da>>2]|0;if(Ib){Vb=c[Fa>>2]|0;Mb=sd[Lb&127](f,(c[Vb+(Mb<<3)>>2]|0)-(c[Kb>>2]|0)|0,(c[Vb+(Mb<<3)+4>>2]|0)-(c[Nb+(Pb<<3)+4>>2]|0)|0)|0}else{Vb=c[Ga>>2]|0;Mb=sd[Lb&127](f,(c[Vb+(Mb<<3)>>2]|0)-(c[Kb>>2]|0)|0,(c[Vb+(Mb<<3)+4>>2]|0)-(c[Nb+(Pb<<3)+4>>2]|0)|0)|0}Lb=e[Ea>>1]|0;Qb=c[N>>2]|0;Lb=sd[c[ra>>2]&127](f,(c[Qb+(Lb<<3)>>2]|0)-(c[Jb>>2]|0)|0,(c[Qb+(Lb<<3)+4>>2]|0)-(c[Ob+(Pb<<3)+4>>2]|0)|0)|0;Qb=c[Aa>>2]|0}else{Qb=Lb;Lb=0;Mb=0}if((Qb|0)>0){Nb=Nb+(Pb<<3)+4|0;Pb=Ob+(Pb<<3)+4|0;Ob=(Mb|0)==0;Rb=Qb;do{Qb=(c[$>>2]|0)+ -1|0;c[$>>2]=Qb;Qb=c[(c[_>>2]|0)+(Qb<<2)>>2]|0;if(Qb>>>0<(e[R>>1]|0)>>>0){Rb=c[Da>>2]|0;if(Ib){Sb=c[Ba>>2]|0;Sb=sd[Rb&127](f,(c[Sb+(Qb<<3)>>2]|0)-(c[Kb>>2]|0)|0,(c[Sb+(Qb<<3)+4>>2]|0)-(c[Nb>>2]|0)|0)|0}else{Sb=c[Ca>>2]|0;Sb=sd[Rb&127](f,(c[Sb+(Qb<<3)>>2]|0)-(c[Kb>>2]|0)|0,(c[Sb+(Qb<<3)+4>>2]|0)-(c[Nb>>2]|0)|0)|0}Rb=c[O>>2]|0;Rb=sd[c[ra>>2]&127](f,(c[Rb+(Qb<<3)>>2]|0)-(c[Jb>>2]|0)|0,(c[Rb+(Qb<<3)+4>>2]|0)-(c[Pb>>2]|0)|0)|0;Tb=(Sb|0)==0;if(Tb|Ob){Sb=Tb?0:Rb}else{Sb=_I(Sb,Lb,Mb)|0}Jd[c[sa>>2]&63](f,J,Qb&65535,Sb-Rb|0);Rb=c[Aa>>2]|0}else{if((a[M]|0)!=0){Lb=313;break a}}Rb=Rb+ -1|0;c[Aa>>2]=Rb;}while((Rb|0)>0)}c[Aa>>2]=1;c[Z>>2]=c[$>>2];Lb=723;break};case 59:case 58:{Ib=c[Ib>>2]|0;Lb=Ib&65535;Ib=Ib&65535;do{if(Ib>>>0<(e[S>>1]|0)>>>0){Mb=b[Ka>>1]|0;if((Mb&65535)>=(e[T>>1]|0)){break}if((b[wa>>1]|0)==0){Mb=(c[Ha>>2]|0)+((Mb&65535)<<3)|0;Vb=c[Mb+4>>2]|0;Ub=(c[Fa>>2]|0)+(Ib<<3)|0;c[Ub>>2]=c[Mb>>2];c[Ub+4>>2]=Vb;Jb=Jb+(Kb+1<<2)|0;Jd[c[Ma>>2]&63](f,ta,Lb,c[Jb>>2]|0);Ub=(c[Fa>>2]|0)+(Ib<<3)|0;Vb=c[Ub+4>>2]|0;Mb=(c[N>>2]|0)+(Ib<<3)|0;c[Mb>>2]=c[Ub>>2];c[Mb+4>>2]=Vb;Mb=b[Ka>>1]|0}else{Jb=Jb+(Kb+1<<2)|0}Tb=c[N>>2]|0;Ub=c[P>>2]|0;Vb=Mb&65535;Vb=sd[c[ra>>2]&127](f,(c[Tb+(Ib<<3)>>2]|0)-(c[Ub+(Vb<<3)>>2]|0)|0,(c[Tb+(Ib<<3)+4>>2]|0)-(c[Ub+(Vb<<3)+4>>2]|0)|0)|0;Jd[c[sa>>2]&63](f,ta,Lb,(c[Jb>>2]|0)-Vb|0);b[C>>1]=b[Ka>>1]|0;b[Ea>>1]=Lb;if((a[La]&1)==0){Lb=723;break b}b[Ka>>1]=Lb;Lb=723;break b}}while(0);if((a[M]|0)==0){Lb=723}else{Lb=325;break a}break};case 44:{Ib=c[Ib>>2]|0;Lb=c[la>>2]|0;Kb=c[ma>>2]|0;Jb=Lb+(Kb<<4)|0;g:do{if((Kb|0)>0){while(1){Mb=Lb+16|0;if((c[Lb+8>>2]|0)==(Ib|0)){break g}if(Mb>>>0<Jb>>>0){Lb=Mb}else{Lb=Mb;break}}}}while(0);if((Lb|0)==(Jb|0)){if(Kb>>>0>=(c[Oa>>2]|0)>>>0){Lb=180;break a}c[ma>>2]=Kb+1}if(Ib>>>0>65535){Lb=183;break a}c[Lb>>2]=c[fa>>2];Jb=Ib&65535;c[Lb+8>>2]=Jb;c[Lb+4>>2]=(c[ea>>2]|0)+1;a[Lb+12|0]=1;if((c[na>>2]|0)>>>0<Ib>>>0){c[na>>2]=Jb}Ib=c[ca>>2]|0;Jb=c[ea>>2]|0;Lb=c[Na>>2]|0;while(1){Jb=Lb+Jb|0;c[ea>>2]=Jb;if((Jb|0)>=(Ib|0)){Lb=191;break a}Mb=c[ba>>2]|0;Kb=a[Mb+Jb|0]|0;a[La]=Kb;Kb=Kb&255;Lb=a[273544+Kb|0]|0;c[Na>>2]=Lb;if((Kb&254|0)==64){Lb=2-(da(d[Mb+(Jb+1)|0]|0,Lb)|0)|0;c[Na>>2]=Lb}if((Lb+Jb|0)>(Ib|0)){Lb=191;break a}if((Kb|0)==44|(Kb|0)==137){Lb=193;break a}else if((Kb|0)==45){Lb=723;break}else{}}break};case 28:{Vb=Pb+(c[Ib>>2]|0)|0;c[ea>>2]=Vb;if((Vb|0)<0){c[h>>2]=132}a[aa]=0;Lb=723;break};case 29:{c[Pa>>2]=c[Ib>>2];Lb=723;break};case 24:{c[E>>2]=1;c[F>>2]=80;Lb=723;break};case 25:{c[E>>2]=0;c[F>>2]=83;Lb=723;break};case 18:{b[Ea>>1]=c[Ib>>2];Lb=723;break};case 19:{Jb=c[Ib>>2]|0;if((Jb|0)==0){$W(ua|0,K|0,36)|0}else if((Jb|0)==1){$W(ua|0,L|0,36)|0}else{if((a[M]|0)==0){Lb=723;break b}else{Lb=61;break a}}b[va>>1]=c[Ib>>2];Lb=723;break};case 26:{c[Qa>>2]=c[Ib>>2];Lb=723;break};case 27:{Ib=1;while(1){Pb=Ub+Pb|0;c[ea>>2]=Pb;if((Pb|0)>=(Ob|0)){Lb=91;break a}Jb=a[Nb+Pb|0]|0;a[La]=Jb;Jb=Jb&255;Ub=a[273544+Jb|0]|0;c[Na>>2]=Ub;if((Jb&254|0)==64){Ub=2-(da(d[Nb+(Pb+1)|0]|0,Ub)|0)|0;c[Na>>2]=Ub}if((Ub+Pb|0)>(Ob|0)){Lb=91;break a}if((Jb|0)==89){Ib=Ib+ -1|0}else if((Jb|0)==88){Ib=Ib+1|0}if((Ib|0)==0){Lb=723;break}else{}}break};case 12:{c[Ib>>2]=b[Ra>>1]|0;c[Jb+(Kb+1<<2)>>2]=b[Sa>>1]|0;Lb=723;break};case 49:case 48:{if((b[Ta>>1]|0)==0){Lb=723;break b}Ib=c[bb>>2]|0;if((Mb&1)==0){c[n>>2]=Ib+4;c[$a>>2]=(c[_a>>2]|0)+4;Ib=16;Jb=(c[ab>>2]|0)+4|0}else{c[n>>2]=Ib;c[$a>>2]=c[_a>>2];Ib=8;Jb=c[ab>>2]|0}c[Xa>>2]=Jb;Kb=b[Ya>>1]|0;c[Za>>2]=Kb&65535;Jb=0;Lb=0;while(1){Mb=(e[(c[Va>>2]|0)+(Jb<<16>>16<<1)>>1]|0)-(e[Wa>>1]|0)|0;Kb=Kb&65535;Kb=Mb>>>0<Kb>>>0?Mb:Kb+ -1|0;h:do{if(Lb>>>0<=Kb>>>0){Mb=c[Ua>>2]|0;Nb=Lb;while(1){Ob=Nb+1|0;if((d[Mb+Nb|0]&Ib|0)!=0){Qb=Nb;break}if(Ob>>>0>Kb>>>0){Lb=Ob;break h}else{Nb=Ob}}i:while(1){Pb=Qb;while(1){Mb=Pb+1|0;if(Mb>>>0>Kb>>>0){break i}if((d[(c[Ua>>2]|0)+Mb|0]&Ib|0)==0){Pb=Mb}else{break}}HR(m,Qb+1|0,Pb,Qb,Mb);Qb=Mb}if((Qb|0)!=(Nb|0)){HR(m,Qb+1&65535,Kb,Qb,Nb);if((Nb|0)==0){Lb=Mb;break}HR(m,Lb,Nb+ -1|0,Qb,Nb);Lb=Mb;break}Pb=c[$a>>2]|0;Ub=c[Pb+(Nb<<3)>>2]|0;Vb=c[(c[n>>2]|0)+(Nb<<3)>>2]|0;Qb=Ub-Vb|0;if((Ub|0)==(Vb|0)){Lb=Mb;break}do{if(Lb>>>0<Nb>>>0){Vb=Pb+(Lb<<3)|0;c[Vb>>2]=(c[Vb>>2]|0)+Qb;Lb=Lb+1|0;if(Lb>>>0>=Nb>>>0){break}do{Vb=Pb+(Lb<<3)|0;c[Vb>>2]=(c[Vb>>2]|0)+Qb;Lb=Lb+1|0;}while(Lb>>>0<Nb>>>0)}}while(0);if(Ob>>>0>Kb>>>0){Lb=Mb;break}while(1){Vb=Pb+(Ob<<3)|0;c[Vb>>2]=(c[Vb>>2]|0)+Qb;Ob=Ob+1|0;if(Ob>>>0>Kb>>>0){Lb=Mb;break}else{}}}}while(0);Jb=Jb+1<<16>>16;if(Jb<<16>>16>=(b[Ta>>1]|0)){Lb=723;break b}Kb=b[Ya>>1]|0}break};case 53:case 52:{Jb=c[Ib>>2]<<16>>16;if(Jb>>>0>=(b[Ta>>1]|0)>>>0){if((a[M]|0)==0){Lb=723;break b}else{Lb=251;break a}}if((GR(f,r,s,t,u)|0)<<24>>24!=0){Lb=723;break b}if((Jb|0)==0){Kb=b[Wa>>1]|0;Lb=c[Va>>2]|0;Ib=0}else{Vb=c[Va>>2]|0;Ib=b[Wa>>1]|0;Kb=Ib;Lb=Vb;Ib=((b[Vb+(Jb+ -1<<1)>>1]|0)+1<<16>>16)-Ib<<16>>16}Nb=(b[Lb+(Jb<<1)>>1]|0)-Kb<<16>>16;Jb=b[R>>1]|0;if((Nb&65535)>=(Jb&65535)){Nb=Jb<<16>>16==0?0:Jb+ -1<<16>>16}if((Ib&65535)>(Nb&65535)){Lb=723;break b}Kb=c[cb>>2]|0;Jb=b[o>>1]|0;Mb=c[p>>2]|0;Lb=c[q>>2]|0;while(1){Ob=c[O>>2]|0;do{if(!((Kb|0)==(Ob|0)&Jb<<16>>16==Ib<<16>>16)){if((b[qa>>1]|0)!=0){Vb=Ib&65535;Ub=Ob+(Vb<<3)|0;c[Ub>>2]=(c[Ub>>2]|0)+Lb;Vb=(c[Q>>2]|0)+Vb|0;a[Vb]=a[Vb]|8}if((b[pa>>1]|0)==0){break}Vb=Ib&65535;Ub=(c[O>>2]|0)+(Vb<<3)+4|0;c[Ub>>2]=(c[Ub>>2]|0)+Mb;Vb=(c[Q>>2]|0)+Vb|0;a[Vb]=a[Vb]|16}}while(0);Ib=Ib+1<<16>>16;if((Ib&65535)>(Nb&65535)){Lb=723;break}}break};case 51:case 50:{if((Qb|0)<(c[Aa>>2]|0)){Lb=236;break a}if((GR(f,x,y,z,A)|0)<<24>>24!=0){Lb=723;break b}if((c[Aa>>2]|0)>0){Kb=c[v>>2]|0;Jb=c[w>>2]|0;do{Ib=(c[$>>2]|0)+ -1|0;c[$>>2]=Ib;Ib=c[(c[_>>2]|0)+(Ib<<2)>>2]&65535;do{if(Ib>>>0<(e[R>>1]|0)>>>0){if((b[qa>>1]|0)!=0){Vb=(c[O>>2]|0)+(Ib<<3)|0;c[Vb>>2]=(c[Vb>>2]|0)+Jb;Vb=(c[Q>>2]|0)+Ib|0;a[Vb]=a[Vb]|8}if((b[pa>>1]|0)==0){break}Vb=(c[O>>2]|0)+(Ib<<3)+4|0;c[Vb>>2]=(c[Vb>>2]|0)+Kb;Vb=(c[Q>>2]|0)+Ib|0;a[Vb]=a[Vb]|16}else{if((a[M]|0)!=0){Lb=242;break a}}}while(0);Vb=(c[Aa>>2]|0)+ -1|0;c[Aa>>2]=Vb;}while((Vb|0)>0)}c[Aa>>2]=1;c[Z>>2]=c[$>>2];Lb=723;break};case 45:{Ib=c[ha>>2]|0;if((Ib|0)<1){Lb=195;break a}Kb=Ib+ -1|0;c[ha>>2]=Kb;Jb=c[ga>>2]|0;Vb=Jb+(Kb<<4)+8|0;c[Vb>>2]=(c[Vb>>2]|0)+ -1;a[aa]=0;if((c[Vb>>2]|0)>0){c[ha>>2]=(c[ha>>2]|0)+1;c[ea>>2]=c[Jb+(Kb<<4)+12>>2];Lb=723;break b}Ib=c[Jb+(Kb<<4)>>2]|0;Jb=c[Jb+(Kb<<4)+4>>2]|0;Lb=Ib+ -1|0;if(Lb>>>0>2){Lb=199;break a}Kb=c[f+444+(Lb<<3)>>2]|0;if((Kb|0)==0){Lb=201;break a}Lb=c[f+444+(Lb<<3)+4>>2]|0;if(Lb>>>0<Jb>>>0){Lb=203;break a}c[ba>>2]=Kb;c[ca>>2]=Lb;c[ea>>2]=Jb;c[fa>>2]=Ib;Lb=723;break};case 47:case 46:{Jb=c[Ib>>2]|0;Ib=Jb&65535;Jb=Jb&65535;if(Jb>>>0>=(e[T>>1]|0)>>>0){if((a[M]|0)==0){Lb=723;break b}else{Lb=207;break a}}if((Mb&1)==0){Jb=0}else{Vb=c[P>>2]|0;Jb=sd[c[ra>>2]&127](f,c[Vb+(Jb<<3)>>2]|0,c[Vb+(Jb<<3)+4>>2]|0)|0;Jb=(sd[c[F>>2]&127](f,Jb,c[db>>2]|0)|0)-Jb|0}Jd[c[sa>>2]&63](f,ua,Ib,Jb);b[Ka>>1]=Ib;b[C>>1]=Ib;Lb=723;break};case 5:case 4:case 3:case 2:case 1:case 0:{Ib=Tb<<14&16384;Jb=Ib^16384;if((Mb&255)<4){b[Ra>>1]=Ib;b[Sa>>1]=Jb;b[eb>>1]=Ib;b[fb>>1]=Jb}if((Tb&2|0)==0){b[qa>>1]=Ib;b[pa>>1]=Jb}uR(f);Lb=723;break};case 16:{b[Ka>>1]=c[Ib>>2];Lb=723;break};case 17:{b[C>>1]=c[Ib>>2];Lb=723;break};case 23:{Ib=c[Ib>>2]|0;if((Ib|0)<0){Lb=82;break a}c[Aa>>2]=Ib;Lb=723;break};case 60:{Ib=c[Aa>>2]|0;do{if((Qb|0)>=(Ib|0)){if((e[Ka>>1]|0)>=(e[T>>1]|0)){break}j:do{if((Ib|0)>0){while(1){Kb=Kb+ -1|0;c[$>>2]=Kb;Kb=c[Jb+(Kb<<2)>>2]|0;Jb=Kb&65535;if(Jb>>>0<(e[S>>1]|0)>>>0){Ub=c[N>>2]|0;Vb=c[P>>2]|0;Ib=e[Ka>>1]|0;Ib=sd[c[ra>>2]&127](f,(c[Ub+(Jb<<3)>>2]|0)-(c[Vb+(Ib<<3)>>2]|0)|0,(c[Ub+(Jb<<3)+4>>2]|0)-(c[Vb+(Ib<<3)+4>>2]|0)|0)|0;Jd[c[sa>>2]&63](f,ta,Kb&65535,0-Ib|0);Ib=c[Aa>>2]|0}else{if((a[M]|0)!=0){Lb=338;break a}}Ib=Ib+ -1|0;c[Aa>>2]=Ib;Kb=c[$>>2]|0;if((Ib|0)<=0){break j}Jb=c[_>>2]|0}}}while(0);c[Aa>>2]=1;c[Z>>2]=Kb;Lb=723;break b}}while(0);if((a[M]|0)==0){Lb=723}else{Lb=334;break a}break};case 63:case 62:{Vb=c[Ib>>2]|0;Jb=c[Jb+(Kb+1<<2)>>2]|0;Ib=Vb&65535;Kb=Vb&65535;do{if(Kb>>>0<(e[T>>1]|0)>>>0){if((c[gb>>2]|0)>>>0<=Jb>>>0){break}Jb=Bd[c[B>>2]&255](f,Jb)|0;if((b[va>>1]|0)==0){Lb=b[qa>>1]|0;Mb=Lb<<16>>16;Nb=(Jb|0)<0?0-Jb|0:Jb;Ob=Lb<<16>>16<0?0-Mb|0:Mb;Lb=Nb>>>16;Nb=Nb&65535;Vb=da(Ob,Lb)|0;Ub=Vb<<16|8192;Ob=Ub+(da(Ob,Nb)|0)|0;Ob=(Ob>>>0<Ub>>>0)+(Vb>>>16)<<18|Ob>>>14;c[(c[Ha>>2]|0)+(Kb<<3)>>2]=(Mb^Jb|0)>-1?Ob:0-Ob|0;Vb=b[pa>>1]|0;Mb=Vb<<16>>16;Tb=Vb<<16>>16<0?0-Mb|0:Mb;Vb=da(Tb,Lb)|0;Ub=Vb<<16|8192;Lb=Ub+(da(Tb,Nb)|0)|0;Lb=(Lb>>>0<Ub>>>0)+(Vb>>>16)<<18|Lb>>>14;c[(c[Ha>>2]|0)+(Kb<<3)+4>>2]=(Mb^Jb|0)>-1?Lb:0-Lb|0;Tb=(c[Ha>>2]|0)+(Kb<<3)|0;Ub=c[Tb+4>>2]|0;Vb=(c[P>>2]|0)+(Kb<<3)|0;c[Vb>>2]=c[Tb>>2];c[Vb+4>>2]=Ub}Vb=c[P>>2]|0;Kb=sd[c[ra>>2]&127](f,c[Vb+(Kb<<3)>>2]|0,c[Vb+(Kb<<3)+4>>2]|0)|0;if((a[La]&1)!=0){Lb=Jb-Kb|0;Jb=sd[c[F>>2]&127](f,(((Lb|0)<0?0-Lb|0:Lb)|0)>(c[Pa>>2]|0)?Kb:Jb,c[db>>2]|0)|0}Jd[c[sa>>2]&63](f,ua,Ib,Jb-Kb|0);b[Ka>>1]=Ib;b[C>>1]=Ib;Lb=723;break b}}while(0);if((a[M]|0)==0){Lb=723}else{Lb=347;break a}break};case 61:{c[E>>2]=2;c[F>>2]=84;Lb=723;break};case 66:{Ib=c[Ib>>2]|0;if(Ib>>>0<(e[ib>>1]|0)>>>0){c[(c[hb>>2]|0)+(Ib<<2)>>2]=c[Jb+(Kb+1<<2)>>2];Lb=723;break b}else{if((a[M]|0)==0){Lb=723;break b}else{Lb=370;break a}}break};case 67:{Jb=c[Ib>>2]|0;if(Jb>>>0<(e[ib>>1]|0)>>>0){c[Ib>>2]=c[(c[hb>>2]|0)+(Jb<<2)>>2];Lb=723;break b}if((a[M]|0)!=0){Lb=370;break a}c[Ib>>2]=0;Lb=723;break};case 68:{Ib=c[Ib>>2]|0;if(Ib>>>0<(c[gb>>2]|0)>>>0){Gd[c[jb>>2]&255](f,Ib,c[Jb+(Kb+1<<2)>>2]|0);Lb=723;break b}else{if((a[M]|0)==0){Lb=723;break b}else{Lb=370;break a}}break};case 64:{Mb=a[Nb+(Pb+1)|0]|0;Lb=Mb&255;if(Lb>>>0>=(Rb+1-Qb|0)>>>0){Lb=356;break a}if(Mb<<24>>24!=0){Kb=Kb+ -1|0;c[Ib>>2]=d[Nb+(Pb+2)|0]|0;if((Mb&255)>=2){Ib=2;Mb=2;do{Mb=Mb+1<<16>>16;c[Jb+(Kb+Ib<<2)>>2]=d[(c[ba>>2]|0)+((c[ea>>2]|0)+1+Ib)|0]|0;Ib=Mb&65535;}while(Ib>>>0<=Lb>>>0)}Sb=c[Z>>2]|0}c[Z>>2]=Sb+Lb;Lb=723;break};case 65:{Lb=a[Nb+(Pb+1)|0]|0;Ib=Lb&255;if(Ib>>>0>=(Rb+1-Qb|0)>>>0){Lb=361;break a}Mb=Pb+2|0;c[ea>>2]=Mb;if(Lb<<24>>24!=0){Lb=Mb;Ob=0;Mb=1;while(1){c[ea>>2]=Lb+2;c[Jb+(Ob+Kb<<2)>>2]=(d[Nb+Lb|0]<<8&65535|d[Nb+(Lb+1)|0])<<16>>16;Ob=Mb&65535;if(Ob>>>0>=Ib>>>0){break}Nb=c[ba>>2]|0;Lb=c[ea>>2]|0;Mb=Mb+1<<16>>16}Sb=c[Z>>2]|0}a[aa]=0;c[Z>>2]=Sb+Ib;Lb=723;break};case 69:{Jb=c[Ib>>2]|0;if(Jb>>>0<(c[gb>>2]|0)>>>0){c[Ib>>2]=Bd[c[B>>2]&255](f,Jb)|0;Lb=723;break b}if((a[M]|0)!=0){Lb=370;break a}c[Ib>>2]=0;Lb=723;break};case 71:case 70:{Jb=c[Ib>>2]|0;do{if(Jb>>>0<(e[R>>1]|0)>>>0){if((Mb&1)==0){Vb=c[O>>2]|0;Jb=sd[c[ra>>2]&127](f,c[Vb+(Jb<<3)>>2]|0,c[Vb+(Jb<<3)+4>>2]|0)|0;break}else{Vb=c[Ba>>2]|0;Jb=sd[c[Da>>2]&127](f,c[Vb+(Jb<<3)>>2]|0,c[Vb+(Jb<<3)+4>>2]|0)|0;break}}else{if((a[M]|0)==0){Jb=0}else{Lb=384;break a}}}while(0);c[Ib>>2]=Jb;Lb=723;break};case 72:{Lb=c[Ib>>2]|0;Ib=Lb&65535;if(Ib>>>0>=(e[R>>1]|0)>>>0){if((a[M]|0)==0){Lb=723;break b}else{Lb=391;break a}}Vb=c[O>>2]|0;Vb=sd[c[ra>>2]&127](f,c[Vb+(Ib<<3)>>2]|0,c[Vb+(Ib<<3)+4>>2]|0)|0;Jd[c[sa>>2]&63](f,J,Lb&65535,(c[Jb+(Kb+1<<2)>>2]|0)-Vb|0);if((b[I>>1]|0)!=0){Lb=723;break b}Ub=(c[O>>2]|0)+(Ib<<3)|0;Vb=c[Ub+4>>2]|0;Lb=(c[Ba>>2]|0)+(Ib<<3)|0;c[Lb>>2]=c[Ub>>2];c[Lb+4>>2]=Vb;Lb=723;break};case 74:case 73:{Nb=c[Ib>>2]&65535;do{if(Nb>>>0<(e[T>>1]|0)>>>0){Jb=c[Jb+(Kb+1<<2)>>2]&65535;if(Jb>>>0>=(e[S>>1]|0)>>>0){Lb=396;break}if((Mb&1)!=0){Ub=c[P>>2]|0;Vb=c[N>>2]|0;Jb=sd[c[ra>>2]&127](f,(c[Ub+(Nb<<3)>>2]|0)-(c[Vb+(Jb<<3)>>2]|0)|0,(c[Ub+(Nb<<3)+4>>2]|0)-(c[Vb+(Jb<<3)+4>>2]|0)|0)|0;break}Qb=c[Ia>>2]|0;Ob=Qb+(Nb<<3)|0;Kb=c[Ga>>2]|0;Pb=Kb+(Jb<<3)|0;Mb=c[kb>>2]|0;if((Mb|0)==(c[lb>>2]|0)){Jb=sd[c[Da>>2]&127](f,(c[Ob>>2]|0)-(c[Pb>>2]|0)|0,(c[Qb+(Nb<<3)+4>>2]|0)-(c[Kb+(Jb<<3)+4>>2]|0)|0)|0;Jb=aJ(Jb,c[kb>>2]|0)|0;break}else{Vb=aJ((c[Ob>>2]|0)-(c[Pb>>2]|0)|0,Mb)|0;Jb=aJ((c[Qb+(Nb<<3)+4>>2]|0)-(c[Kb+(Jb<<3)+4>>2]|0)|0,c[lb>>2]|0)|0;Jb=sd[c[Da>>2]&127](f,Vb,Jb)|0;break}}else{Lb=396}}while(0);if((Lb|0)==396){if((a[M]|0)==0){Jb=0}else{Lb=397;break a}}c[Ib>>2]=Jb;Lb=723;break};case 75:{c[Ib>>2]=zR(f)|0;Lb=723;break};case 76:{c[Ib>>2]=zR(f)|0;Lb=723;break};case 77:{a[mb]=1;Lb=723;break};case 78:{a[mb]=0;Lb=723;break};case 79:{Lb=408;break a};case 80:{c[Ib>>2]=(c[Ib>>2]|0)<(c[Jb+(Kb+1<<2)>>2]|0);Lb=723;break};case 81:{c[Ib>>2]=(c[Ib>>2]|0)<=(c[Jb+(Kb+1<<2)>>2]|0);Lb=723;break};case 82:{c[Ib>>2]=(c[Ib>>2]|0)>(c[Jb+(Kb+1<<2)>>2]|0);Lb=723;break};case 90:{if((c[Ib>>2]|0)==0){Jb=0}else{Jb=(c[Jb+(Kb+1<<2)>>2]|0)!=0|0}c[Ib>>2]=Jb;Lb=723;break};case 83:{c[Ib>>2]=(c[Ib>>2]|0)>=(c[Jb+(Kb+1<<2)>>2]|0);Lb=723;break};case 84:{c[Ib>>2]=(c[Ib>>2]|0)==(c[Jb+(Kb+1<<2)>>2]|0);Lb=723;break};case 85:{c[Ib>>2]=(c[Ib>>2]|0)!=(c[Jb+(Kb+1<<2)>>2]|0);Lb=723;break};case 86:{c[Ib>>2]=((sd[c[F>>2]&127](f,c[Ib>>2]|0,0)|0)&127|0)==64;Lb=723;break};case 87:{c[Ib>>2]=((sd[c[F>>2]&127](f,c[Ib>>2]|0,0)|0)&127|0)==0;Lb=723;break};case 88:{if((c[Ib>>2]|0)!=0){Lb=723;break b}c[ea>>2]=Vb;if((Vb|0)<(Ob|0)){Ib=1}else{Lb=423;break a}while(1){Jb=(Ib|0)==1;while(1){Kb=a[Nb+Vb|0]|0;a[La]=Kb;Kb=Kb&255;Lb=a[273544+Kb|0]|0;c[Na>>2]=Lb;if((Kb&254|0)==64){Lb=2-(dada(Jb,Ib+ -4|0)|0)/8|0}c[sb>>2]=(Jb|0)/256|0;c[tb>>2]=(c[tb>>2]|0)/256|0;c[ub>>2]=(Ib|0)/256|0;c[E>>2]=6;c[F>>2]=85;Lb=723;break};case 119:{Ib=c[Ib>>2]|0;Jb=Ib&192;if((Jb|0)==0){c[sb>>2]=5792}else if((Jb|0)==64){c[sb>>2]=11585}else if((Jb|0)==128){c[sb>>2]=23170}else if((Jb|0)==192){c[sb>>2]=11585}Jb=Ib&48;if((Jb|0)==0){c[tb>>2]=0}else if((Jb|0)==16){c[tb>>2]=(c[sb>>2]|0)/4|0}else if((Jb|0)==32){c[tb>>2]=(c[sb>>2]|0)/2|0}else if((Jb|0)==48){c[tb>>2]=((c[sb>>2]|0)*3|0)/4|0}Ib=Ib&15;if((Ib|0)==0){Jb=c[sb>>2]|0;Ib=Jb+ -1|0}else{Jb=c[sb>>2]|0;Ib=(da(Jb,Ib+ -4|0)|0)/8|0}c[sb>>2]=(Jb|0)/256|0;c[tb>>2]=(c[tb>>2]|0)/256|0;c[ub>>2]=(Ib|0)/256|0;c[E>>2]=7;c[F>>2]=86;Lb=723;break};case 121:{if((c[Jb+(Kb+1<<2)>>2]|0)!=0){Lb=723;break b}Vb=Pb+(c[Ib>>2]|0)|0;c[ea>>2]=Vb;if((Vb|0)<0){c[h>>2]=132}a[aa]=0;Lb=723;break};case 122:{c[E>>2]=5;c[F>>2]=79;Lb=723;break};case 123:{Jb=c[ja>>2]|0;Vb=c[ka>>2]|0;Ib=Jb+(Vb<<4)|0;k:do{if((Vb|0)>0){while(1){if(Mb<<24>>24==(c[Jb+8>>2]&255)<<24>>24){if((a[Jb+12|0]|0)!=0){break}}Jb=Jb+16|0;if(Jb>>>0>=Ib>>>0){break k}}Ib=c[ha>>2]|0;if((Ib|0)>=(c[ia>>2]|0)){Lb=513;break a}Vb=c[ga>>2]|0;c[ha>>2]=Ib+1;c[Vb+(Ib<<4)>>2]=c[fa>>2];c[Vb+(Ib<<4)+4>>2]=(c[ea>>2]|0)+1;c[Vb+(Ib<<4)+8>>2]=1;Lb=Jb+4|0;c[Vb+(Ib<<4)+12>>2]=c[Lb>>2];Jb=c[Jb>>2]|0;Ib=c[Lb>>2]|0;Lb=Jb+ -1|0;do{if(Lb>>>0>2){c[h>>2]=132}else{Kb=c[f+444+(Lb<<3)>>2]|0;if((Kb|0)==0){c[h>>2]=138;break}Lb=c[f+444+(Lb<<3)+4>>2]|0;if(Lb>>>0<Ib>>>0){c[h>>2]=131;break}else{c[ba>>2]=Kb;c[ca>>2]=Lb;c[ea>>2]=Ib;c[fa>>2]=Jb;break}}}while(0);a[aa]=0;Lb=723;break b}}while(0);c[h>>2]=128;Lb=724;break};case 120:{if((c[Jb+(Kb+1<<2)>>2]|0)==0){Lb=723;break b}Vb=Pb+(c[Ib>>2]|0)|0;c[ea>>2]=Vb;if((Vb|0)<0){c[h>>2]=132}a[aa]=0;Lb=723;break};case 124:{c[E>>2]=4;c[F>>2]=81;Lb=723;break};case 125:{c[E>>2]=3;c[F>>2]=82;Lb=723;break};case 128:{Ib=c[Aa>>2]|0;if((Qb|0)<(Ib|0)){Lb=528;break a}l:do{if((Ib|0)>0){while(1){Vb=Kb+ -1|0;c[$>>2]=Vb;Jb=c[Jb+(Vb<<2)>>2]&65535;if(Jb>>>0<(e[Ya>>1]|0)>>>0){Ib=(c[Ua>>2]|0)+Jb|0;a[Ib]=a[Ib]^1;Ib=c[Aa>>2]|0}else{if((a[M]|0)!=0){Lb=531;break a}}Ib=Ib+ -1|0;c[Aa>>2]=Ib;Kb=c[$>>2]|0;if((Ib|0)<=0){break l}Jb=c[_>>2]|0}}}while(0);c[Aa>>2]=1;c[Z>>2]=Kb;Lb=723;break};case 129:{Lb=c[Ib>>2]|0;Ib=c[Jb+(Kb+1<<2)>>2]&65535;Jb=e[Ya>>1]|0;do{if(Ib>>>0<Jb>>>0){Kb=Lb&65535;if(Kb>>>0>=Jb>>>0){break}if(Kb>>>0>Ib>>>0){Lb=723;break b}else{Jb=Lb&65535}while(1){Kb=(c[Ua>>2]|0)+Kb|0;a[Kb]=a[Kb]|1;Jb=Jb+1<<16>>16;Kb=Jb&65535;if(Kb>>>0>Ib>>>0){Lb=723;break b}else{}}}}while(0);if((a[M]|0)==0){Lb=723}else{Lb=540;break a}break};case 132:case 131:{Jb=c[ja>>2]|0;Vb=c[ka>>2]|0;Ib=Jb+(Vb<<4)|0;m:do{if((Vb|0)>0){while(1){if(Mb<<24>>24==(c[Jb+8>>2]&255)<<24>>24){if((a[Jb+12|0]|0)!=0){break}}Jb=Jb+16|0;if(Jb>>>0>=Ib>>>0){break m}}Ib=c[ha>>2]|0;if((Ib|0)>=(c[ia>>2]|0)){Lb=552;break a}Vb=c[ga>>2]|0;c[ha>>2]=Ib+1;c[Vb+(Ib<<4)>>2]=c[fa>>2];c[Vb+(Ib<<4)+4>>2]=(c[ea>>2]|0)+1;c[Vb+(Ib<<4)+8>>2]=1;Lb=Jb+4|0;c[Vb+(Ib<<4)+12>>2]=c[Lb>>2];Jb=c[Jb>>2]|0;Ib=c[Lb>>2]|0;Lb=Jb+ -1|0;do{if(Lb>>>0>2){c[h>>2]=132}else{Kb=c[f+444+(Lb<<3)>>2]|0;if((Kb|0)==0){c[h>>2]=138;break}Lb=c[f+444+(Lb<<3)+4>>2]|0;if(Lb>>>0<Ib>>>0){c[h>>2]=131;break}else{c[ba>>2]=Kb;c[ca>>2]=Lb;c[ea>>2]=Ib;c[fa>>2]=Jb;break}}}while(0);a[aa]=0;Lb=723;break b}}while(0);c[h>>2]=128;Lb=724;break};case 130:{Lb=c[Ib>>2]|0;Ib=c[Jb+(Kb+1<<2)>>2]&65535;Jb=e[Ya>>1]|0;do{if(Ib>>>0<Jb>>>0){Kb=Lb&65535;if(Kb>>>0>=Jb>>>0){break}if(Kb>>>0>Ib>>>0){Lb=723;break b}else{Jb=Lb&65535}while(1){Kb=(c[Ua>>2]|0)+Kb|0;a[Kb]=a[Kb]&-2;Jb=Jb+1<<16>>16;Kb=Jb&65535;if(Kb>>>0>Ib>>>0){Lb=723;break b}else{}}}}while(0);if((a[M]|0)==0){Lb=723}else{Lb=546;break a}break};case 133:{Kb=c[Ib>>2]|0;Jb=Kb&255;if((Jb|0)==255){a[vb]=1;Lb=723;break b}else if((Jb|0)==0){a[vb]=0;Lb=723;break b}else{do{if((Kb&256|0)!=0){if((e[yb>>1]|0)>>>0>Jb>>>0){break}a[vb]=1;Kb=c[Ib>>2]|0}}while(0);do{if((Kb&512|0)!=0){if((a[xb]|0)==0){break}a[vb]=1;Kb=c[Ib>>2]|0}}while(0);do{if((Kb&1024|0)!=0){if((a[wb]|0)==0){break}a[vb]=1;Kb=c[Ib>>2]|0}}while(0);do{if((Kb&2048|0)!=0){if((e[yb>>1]|0)>>>0<=Jb>>>0){break}a[vb]=0;Kb=c[Ib>>2]|0}}while(0);do{if((Kb&4096|0)!=0){if((a[xb]|0)==0){break}a[vb]=0;Kb=c[Ib>>2]|0}}while(0);if((Kb&8192|0)==0){Lb=723;break b}if((a[wb]|0)==0){Lb=723;break b}a[vb]=0;Lb=723;break b}break};case 135:case 134:{Ib=c[Ib>>2]&65535;do{if(Ib>>>0<(e[S>>1]|0)>>>0){Jb=c[Jb+(Kb+1<<2)>>2]&65535;if(Jb>>>0>=(e[R>>1]|0)>>>0){break}Vb=c[Fa>>2]|0;Lb=c[Ba>>2]|0;Kb=(c[Vb+(Ib<<3)>>2]|0)-(c[Lb+(Jb<<3)>>2]|0)|0;Lb=(c[Vb+(Ib<<3)+4>>2]|0)-(c[Lb+(Jb<<3)+4>>2]|0)|0;Mb=(Mb&1)==0;vR(Mb?Kb:0-Lb|0,Mb?Lb:Kb,W);Ub=c[N>>2]|0;Vb=c[O>>2]|0;Kb=(c[Ub+(Ib<<3)>>2]|0)-(c[Vb+(Jb<<3)>>2]|0)|0;Ib=(c[Ub+(Ib<<3)+4>>2]|0)-(c[Vb+(Jb<<3)+4>>2]|0)|0;Jb=(a[La]&1)==0;vR(Jb?Kb:0-Ib|0,Jb?Ib:Kb,V);uR(f);Lb=723;break b}}while(0);if((a[M]|0)==0){Lb=723}else{Lb=587;break a}break};case 137:{Mb=c[ja>>2]|0;Kb=c[ka>>2]|0;Jb=Mb+(Kb<<4)|0;n:do{if((Kb|0)>0){Lb=c[Ib>>2]|0;Nb=Mb;while(1){Mb=Nb+16|0;if((c[Nb+8>>2]|0)==(Lb|0)){Mb=Nb;break n}if(Mb>>>0<Jb>>>0){Nb=Mb}else{break}}}}while(0);if((Mb|0)==(Jb|0)){if(Kb>>>0>=(c[Ab>>2]|0)>>>0){Lb=602;break a}c[ka>>2]=Kb+1}Jb=c[Ib>>2]|0;if(Jb>>>0>255){Lb=605;break a}c[Mb+8>>2]=Jb&255;c[Mb+4>>2]=(c[ea>>2]|0)+1;c[Mb>>2]=c[fa>>2];a[Mb+12|0]=1;Ib=c[Ib>>2]|0;if(Ib>>>0>(c[zb>>2]|0)>>>0){c[zb>>2]=Ib&255}Ib=c[ca>>2]|0;Jb=c[ea>>2]|0;Mb=c[Na>>2]|0;while(1){Jb=Mb+Jb|0;c[ea>>2]=Jb;if((Jb|0)>=(Ib|0)){Lb=613;break a}Lb=c[ba>>2]|0;Kb=a[Lb+Jb|0]|0;a[La]=Kb;Kb=Kb&255;Mb=a[273544+Kb|0]|0;c[Na>>2]=Mb;if((Kb&254|0)==64){Mb=2-(da(d[Lb+(Jb+1)|0]|0,Mb)|0)|0;c[Na>>2]=Mb}if((Mb+Jb|0)>(Ib|0)){Lb=613;break a}if((Kb|0)==44|(Kb|0)==137){Lb=615;break a}else if((Kb|0)==45){Lb=723;break}else{}}break};case 136:{Jb=c[Ib>>2]|0;Kb=(Jb&1|0)!=0?35:0;if((Jb&2|0)!=0){Kb=(a[xb]|0)==0?Kb:Kb|128}if((Jb&4|0)!=0){Kb=(a[wb]|0)==0?Kb:Kb|256}if((Jb&32|0)!=0){Kb=(a[Bb]|0)==0?Kb:Kb|4096}c[Ib>>2]=Kb;Lb=723;break};case 138:{Tb=Jb+(Kb+2<<2)|0;Ub=c[Tb>>2]|0;Vb=Jb+(Kb+1<<2)|0;Lb=c[Vb>>2]|0;c[Tb>>2]=c[Ib>>2];c[Vb>>2]=Ub;c[Ib>>2]=Lb;Lb=723;break};case 139:{Jb=c[Jb+(Kb+1<<2)>>2]|0;if((Jb|0)<=(c[Ib>>2]|0)){Lb=723;break b}c[Ib>>2]=Jb;Lb=723;break};case 140:{Jb=c[Jb+(Kb+1<<2)>>2]|0;if((Jb|0)>=(c[Ib>>2]|0)){Lb=723;break b}c[Ib>>2]=Jb;Lb=723;break};case 141:{Ib=c[Ib>>2]|0;if((Ib|0)<=-1){Lb=723;break b}c[Cb>>2]=Ib;Lb=723;break};case 142:{Jb=c[Jb+(Kb+1<<2)>>2]|0;if((Jb+ -1|0)>>>0>1){if((a[M]|0)==0){Lb=723;break b}else{Lb=625;break a}}else{a[Db]=d[Db]&(Jb^255)|((c[Ib>>2]|0)==0?0:Jb);Lb=723;break b}break};case 143:{Jb=c[ja>>2]|0;Vb=c[ka>>2]|0;Ib=Jb+(Vb<<4)|0;o:do{if((Vb|0)>0){while(1){if(Mb<<24>>24==(c[Jb+8>>2]&255)<<24>>24){if((a[Jb+12|0]|0)!=0){break}}Jb=Jb+16|0;if(Jb>>>0>=Ib>>>0){break o}}Ib=c[ha>>2]|0;if((Ib|0)>=(c[ia>>2]|0)){Lb=631;break a}Lb=c[ga>>2]|0;c[ha>>2]=Ib+1;c[Lb+(Ib<<4)>>2]=c[fa>>2];c[Lb+(Ib<<4)+4>>2]=(c[ea>>2]|0)+1;c[Lb+(Ib<<4)+8>>2]=1;Kb=Jb+4|0;c[Lb+(Ib<<4)+12>>2]=c[Kb>>2];Jb=c[Jb>>2]|0;Kb=c[Kb>>2]|0;Lb=Jb+ -1|0;do{if(Lb>>>0>2){c[h>>2]=132}else{Ib=c[f+444+(Lb<<3)>>2]|0;if((Ib|0)==0){c[h>>2]=138;break}Lb=c[f+444+(Lb<<3)+4>>2]|0;if(Lb>>>0<Kb>>>0){c[h>>2]=131;break}else{c[ba>>2]=Ib;c[ca>>2]=Lb;c[ea>>2]=Kb;c[fa>>2]=Jb;break}}}while(0);a[aa]=0;Lb=723;break b}}while(0);c[h>>2]=128;Lb=724;break};case 127:case 126:case 89:case 33:{Lb=738;break};default:{if((Mb&255)>223){Vb=c[Ib>>2]|0;Lb=c[Jb+(Kb+1<<2)>>2]|0;Ib=Vb&65535;Kb=Lb+1|0;Jb=Vb&65535;do{if(Jb>>>0<(e[S>>1]|0)>>>0){if(Kb>>>0>=((c[gb>>2]|0)+1|0)>>>0){break}if((e[Ka>>1]|0)>=(e[T>>1]|0)){break}if((Kb|0)==0){Lb=0}else{Lb=Bd[c[B>>2]&255](f,Lb)|0}Mb=c[Y>>2]|0;Kb=Lb-Mb|0;if((((Kb|0)<0?0-Kb|0:Kb)|0)<(c[X>>2]|0)){Lb=(Lb|0)>-1?Mb:0-Mb|0}if((b[wa>>1]|0)==0){Mb=b[qa>>1]|0;Kb=Mb<<16>>16;Nb=(Lb|0)<0?0-Lb|0:Lb;Ob=Mb<<16>>16<0?0-Kb|0:Kb;Mb=Nb>>>16;Nb=Nb&65535;Vb=da(Ob,Mb)|0;Ub=Vb<<16|8192;Ob=Ub+(da(Ob,Nb)|0)|0;Ob=(Ob>>>0<Ub>>>0)+(Vb>>>16)<<18|Ob>>>14;c[(c[Fa>>2]|0)+(Jb<<3)>>2]=((Kb^Lb|0)>-1?Ob:0-Ob|0)+(c[(c[Ha>>2]|0)+(e[Ka>>1]<<3)>>2]|0);Vb=b[pa>>1]|0;Kb=Vb<<16>>16;Tb=Vb<<16>>16<0?0-Kb|0:Kb;Vb=da(Tb,Mb)|0;Ub=Vb<<16|8192;Mb=Ub+(da(Tb,Nb)|0)|0;Mb=(Mb>>>0<Ub>>>0)+(Vb>>>16)<<18|Mb>>>14;c[(c[Fa>>2]|0)+(Jb<<3)+4>>2]=((Kb^Lb|0)>-1?Mb:0-Mb|0)+(c[(c[Ha>>2]|0)+(e[Ka>>1]<<3)+4>>2]|0);Tb=(c[P>>2]|0)+(Jb<<3)|0;Ub=c[Tb+4>>2]|0;Vb=(c[N>>2]|0)+(Jb<<3)|0;c[Vb>>2]=c[Tb>>2];c[Vb+4>>2]=Ub}Vb=c[Fa>>2]|0;Kb=e[Ka>>1]|0;Tb=c[Ha>>2]|0;Kb=sd[c[Da>>2]&127](f,(c[Vb+(Jb<<3)>>2]|0)-(c[Tb+(Kb<<3)>>2]|0)|0,(c[Vb+(Jb<<3)+4>>2]|0)-(c[Tb+(Kb<<3)+4>>2]|0)|0)|0;Tb=c[N>>2]|0;Vb=e[Ka>>1]|0;Ub=c[P>>2]|0;Jb=sd[c[ra>>2]&127](f,(c[Tb+(Jb<<3)>>2]|0)-(c[Ub+(Vb<<3)>>2]|0)|0,(c[Tb+(Jb<<3)+4>>2]|0)-(c[Ub+(Vb<<3)+4>>2]|0)|0)|0;if((a[mb]|0)!=0){Lb=(Kb^Lb|0)<0?0-Lb|0:Lb}Mb=a[La]|0;Nb=Mb&255;do{if((Nb&4|0)==0){Nb=c[f+264+((Nb&3)<<2)>>2]|0;if((Lb|0)>-1){Nb=Nb+Lb|0;Lb=(Lb|0)!=0&(Nb|0)<0?0:Nb;break}else{Lb=Lb-Nb|0;Lb=(Lb|0)>0?0:Lb;break}}else{if((b[va>>1]|0)==(b[wa>>1]|0)){Mb=Lb-Kb|0;Lb=(((Mb|0)<0?0-Mb|0:Mb)|0)<(c[Pa>>2]|0)?Lb:Kb}Lb=sd[c[F>>2]&127](f,Lb,c[f+264+((Nb&3)<<2)>>2]|0)|0;Mb=a[La]|0}}while(0);do{if((Mb&8)!=0){Mb=c[Qa>>2]|0;if((Kb|0)>-1){Lb=(Lb|0)<(Mb|0)?Mb:Lb;break}else{Kb=0-Mb|0;Lb=(Lb|0)>(Kb|0)?Kb:Lb;break}}}while(0);Jd[c[sa>>2]&63](f,ta,Ib,Lb-Jb|0);b[C>>1]=b[Ka>>1]|0;if((a[La]&16)!=0){b[Ka>>1]=Ib}b[Ea>>1]=Ib;Lb=723;break b}}while(0);if((a[M]|0)==0){Lb=723;break b}else{Lb=647;break a}}if((Mb&255)>191){Ib=c[Ib>>2]|0;Jb=Ib&65535;Ib=Ib&65535;do{if(Ib>>>0<(e[S>>1]|0)>>>0){Vb=b[Ka>>1]|0;Qb=Vb&65535;if((Vb&65535)>=(e[T>>1]|0)){break}do{if((b[va>>1]|0)==0){Lb=677}else{if((b[wa>>1]|0)==0){Lb=677;break}Ob=c[Ga>>2]|0;Mb=Ob+(Ib<<3)|0;Pb=c[Ia>>2]|0;Nb=Pb+(Qb<<3)|0;Kb=c[kb>>2]|0;if((Kb|0)==(c[lb>>2]|0)){Kb=sd[c[Da>>2]&127](f,(c[Mb>>2]|0)-(c[Nb>>2]|0)|0,(c[Ob+(Ib<<3)+4>>2]|0)-(c[Pb+(Qb<<3)+4>>2]|0)|0)|0;Kb=aJ(Kb,c[kb>>2]|0)|0;break}else{Vb=aJ((c[Mb>>2]|0)-(c[Nb>>2]|0)|0,Kb)|0;Kb=aJ((c[Ob+(Ib<<3)+4>>2]|0)-(c[Pb+(Qb<<3)+4>>2]|0)|0,c[lb>>2]|0)|0;Kb=sd[c[Da>>2]&127](f,Vb,Kb)|0;break}}}while(0);if((Lb|0)==677){Vb=c[Fa>>2]|0;Kb=c[Ha>>2]|0;Kb=sd[c[Dada(j<<16>>16,f)|0;f=(da(b[a+296>>1]|0,g<<16>>16)|0)+f<<2;c[a+564>>2]=f;g=j;break}}}while(0);do{if(g<<16>>16==16384){c[a+572>>2]=87}else{g=a+572|0;if((b[a+296>>1]|0)==16384){c[g>>2]=88;break}else{c[g>>2]=89;break}}}while(0);do{if((b[a+290>>1]|0)==16384){c[a+576>>2]=87}else{g=a+576|0;if((b[a+292>>1]|0)==16384){c[g>>2]=88;break}else{c[g>>2]=90;break}}}while(0);j=a+584|0;c[j>>2]=37;h=a+588|0;c[h>>2]=38;g=a+564|0;do{if((f|0)==1073741824){if(e){c[j>>2]=39;c[h>>2]=40;break}if((b[a+300>>1]|0)!=16384){break}c[j>>2]=41;c[h>>2]=42}}while(0);if((((f|0)<0?0-f|0:f)|0)>=67108864){j=a+256|0;c[j>>2]=0;i=d;return}c[g>>2]=1073741824;j=a+256|0;c[j>>2]=0;i=d;return}function vR(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;f=i;j=i;i=i+8|0;k=j;g=i;i=i+8|0;h=g;do{if((((a|0)<0?0-a|0:a)|0)<65536){if((((d|0)<0?0-d|0:d)|0)>=65536){break}j=a<<8;d=d<<8;c[g>>2]=j;c[h+4>>2]=d;g=_K(h)|0;if((g|0)==0){i=f;return}b[e>>1]=_I(j,16384,g)|0;b[e+2>>1]=_I(d,16384,g)|0;i=f;return}}while(0);c[j>>2]=a;c[k+4>>2]=d;g=_K(k)|0;h=_I(a,16384,g)|0;g=_I(d,16384,g)|0;d=(da(g,g)|0)+(da(h,h)|0)|0;j=(h|0)<0?0-h|0:h;k=(g|0)<0?0-g|0:g;if((d|0)<268435456){while(1){d=(j|0)<(k|0)|0;j=d+j|0;k=(d^1)+k|0;d=(da(k,k)|0)+(da(j,j)|0)|0;if((d|0)<268435456){}else{break}}}if((d|0)>268451839){d=k;while(1){a=(j|0)<(d|0);j=(a<<31>>31)+j|0;d=((a^1)<<31>>31)+d|0;if(((da(j,j)|0)+(da(d,d)|0)|0)>268451839){}else{break}}}else{d=k}if((h|0)>-1){h=j&65535}else{h=0-j&65535}if((g|0)>-1){g=d&65535}else{g=0-d&65535}b[e>>1]=h;b[e+2>>1]=g;i=f;return}function wR(a,b,c){a=a|0;b=b|0;c=c|0;a=i;if((b|0)>-1){c=b+32+c|0;i=a;return((b|0)!=0&(c|0)>0?c&-64:0)|0}else{b=0-(32-b+c&-64)|0;i=a;return((b|0)>0?0:b)|0}return 0}function xR(a,b,c){a=a|0;b=b|0;c=c|0;a=i;if((b|0)>-1){c=c+b&-64|32;i=a;return((b|0)!=0&(c|0)<0?0:c)|0}else{b=0-(c-b&-64|32)|0;i=a;return((b|0)>0?0:b)|0}return 0}function yR(a,b,c){a=a|0;b=b|0;c=c|0;a=i;if((b|0)>-1){c=b+16+c|0;i=a;return((b|0)!=0&(c|0)>0?c&-32:0)|0}else{b=0-(16-b+c&-32)|0;i=a;return((b|0)>0?0:b)|0}return 0}function zR(a){a=a|0;var d=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;d=i;j=i;i=i+8|0;k=j;f=e[a+252>>1]|0;g=a+244|0;h=a+256|0;l=c[h>>2]|0;if((l|0)!=0){m=l;m=aJ(f,m)|0;i=d;return m|0}l=a+296|0;if((b[l>>1]|0)==0){m=c[g>>2]|0;c[h>>2]=m;m=aJ(f,m)|0;i=d;return m|0}m=b[a+294>>1]|0;if(m<<16>>16==0){m=c[a+248>>2]|0;c[h>>2]=m;m=aJ(f,m)|0;i=d;return m|0}else{g=_I(m<<16>>16,c[g>>2]|0,16384)|0;m=_I(b[l>>1]|0,c[a+248>>2]|0,16384)|0;c[j>>2]=g;c[k+4>>2]=m;m=_K(k)|0;c[h>>2]=m;m=aJ(f,m)|0;i=d;return m|0}return 0}function AR(f,g){f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;h=i;k=f+28|0;u=c[k>>2]|0;a:do{if((g|0)!=0){l=f+24|0;q=f+36|0;j=f+44|0;s=f+368|0;r=f+332|0;o=f+334|0;p=f+584|0;n=f+561|0;m=f+12|0;t=1;while(1){if((u|0)<2){break}v=u+ -2|0;c[k>>2]=v;w=c[l>>2]|0;x=c[w+(u+ -1<<2)>>2]|0;u=x&65535;v=c[w+(v<<2)>>2]|0;do{if((x&65535)>>>0<(e[j>>1]|0)>>>0){x=v>>>4&15;w=d[s]|0;if((w|0)==113){x=x|16}else if((w|0)==114){x=x|32}x=(b[r>>1]|0)+x|0;if((zR(f)|0)!=(x|0)){break}v=v&15;w=v+ -8|0;Jd[c[p>>2]&63](f,q,u,(((w|0)>-1?v+ -7|0:w)<<6|0)/(1<<b[o>>1]|0)|0)}else{if((a[n]|0)==0){break}c[m>>2]=134}}while(0);t=t+1|0;u=c[k>>2]|0;if(t>>>0>g>>>0){break a}}c[m>>2]=129;i=h;return}}while(0);c[f+32>>2]=u;i=h;return}function BR(a,b,c){a=a|0;b=b|0;c=c|0;a=i;if((b|0)>-1){c=c+b|0;i=a;return((b|0)!=0&(c|0)<0?0:c)|0}else{b=b-c|0;i=a;return((b|0)>0?0:b)|0}return 0}function CR(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;if((b|0)>-1){f=c[a+480>>2]|0;a=d+b-f+(c[a+484>>2]|0)&0-(c[a+476>>2]|0);f=((b|0)!=0&(a|0)<0?0:a)+f|0;i=e;return f|0}else{f=c[a+480>>2]|0;b=0-(d-b+(c[a+484>>2]|0)-f&0-(c[a+476>>2]|0))|0;f=((b|0)>0?0:b)-f|0;i=e;return f|0}return 0}function DR(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;if((b|0)>-1){f=c[a+480>>2]|0;d=d+b-f+(c[a+484>>2]|0)|0;a=d-((d|0)%(c[a+476>>2]|0)|0)|0;f=((b|0)!=0&(a|0)<0?0:a)+f|0;i=e;return f|0}else{f=c[a+480>>2]|0;b=d-b+(c[a+484>>2]|0)-f|0;b=((b|0)%(c[a+476>>2]|0)|0)-b|0;f=((b|0)>0?0:b)-f|0;i=e;return f|0}return 0}function ER(a,b,c){a=a|0;b=b|0;c=c|0;a=i;if((b|0)>-1){c=b+63+c|0;i=a;return((b|0)!=0&(c|0)>0?c&-64:0)|0}else{b=0-(63-b+c&-64)|0;i=a;return((b|0)>0?0:b)|0}return 0}function FR(a,b,c){a=a|0;b=b|0;c=c|0;a=i;if((b|0)>-1){c=c+b|0;i=a;return((b|0)!=0&(c|0)>0?c&-64:0)|0}else{b=0-(c-b&-64)|0;i=a;return((b|0)>0?0:b)|0}return 0}function GR(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;k=i;m=i;i=i+16|0;if((a[d+368|0]&1)==0){p=d+72|0;q=c[p>>2]|0;p=c[p+4>>2]|0;o=b[d+80>>1]|0;n=b[d+82>>1]|0;l=c[d+84>>2]|0;j=c[d+88>>2]|0;$W(m|0,d+92|0,16)|0;r=d+288|0}else{p=d+36|0;q=c[p>>2]|0;p=c[p+4>>2]|0;o=b[d+44>>1]|0;n=b[d+46>>1]|0;l=c[d+48>>2]|0;j=c[d+52>>2]|0;$W(m|0,d+56|0,16)|0;r=d+286|0}s=b[r>>1]|0;r=s&65535;if((s&65535)<(o&65535)){t=g;c[t>>2]=q;c[t+4>>2]=p;b[g+8>>1]=o;b[g+10>>1]=n;c[g+12>>2]=l;c[g+16>>2]=j;$W(g+20|0,m|0,16)|0;b[h>>1]=s;r=sd[c[d+572>>2]&127](d,(c[j+(r<<3)>>2]|0)-(c[l+(r<<3)>>2]|0)|0,(c[j+(r<<3)+4>>2]|0)-(c[l+(r<<3)+4>>2]|0)|0)|0;s=d+564|0;c[e>>2]=_I(r,b[d+298>>1]<<16,c[s>>2]|0)|0;c[f>>2]=_I(r,b[d+300>>1]<<16,c[s>>2]|0)|0;s=0;i=k;return s|0}if((a[d+561|0]|0)!=0){c[d+12>>2]=134}b[h>>1]=0;t=1;i=k;return t|0}function HR(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;g=i;if(b>>>0>d>>>0){i=g;return}s=c[a+12>>2]|0;if(!(s>>>0>e>>>0&s>>>0>f>>>0)){i=g;return}h=a+8|0;k=c[h>>2]|0;l=c[k+(e<<3)>>2]|0;k=c[k+(f<<3)>>2]|0;j=(l|0)>(k|0);p=j?l:k;l=j?k:l;k=j?e:f;n=j?f:e;s=c[a>>2]|0;e=c[s+(n<<3)>>2]|0;m=c[s+(k<<3)>>2]|0;f=a+4|0;o=c[f>>2]|0;n=c[o+(n<<3)>>2]|0;j=n-e|0;q=c[o+(k<<3)>>2]|0;k=q-m|0;if((l|0)==(p|0)){while(1){h=c[s+(b<<3)>>2]|0;c[o+(b<<3)>>2]=((h|0)>(e|0)?k:j)+h;b=b+1|0;if(b>>>0>d>>>0){break}o=c[f>>2]|0;s=c[a>>2]|0}i=g;return}o=q-n|0;p=p-l|0;q=0;r=0;while(1){s=c[s+(b<<3)>>2]|0;do{if((s|0)>(e|0)){if((s|0)>=(m|0)){s=s+k|0;break}if(r<<24>>24==0){s=_I(o,65536,p)|0;r=1}else{s=q}q=s;s=(aJ((c[(c[h>>2]|0)+(b<<3)>>2]|0)-l|0,s)|0)+n|0}else{s=s+j|0}}while(0);c[(c[f>>2]|0)+(b<<3)>>2]=s;b=b+1|0;if(b>>>0>d>>>0){break}s=c[a>>2]|0}i=g;return}function IR(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return b|0}function JR(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return c|0}function KR(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=b[a+294>>1]|0;g=b[a+296>>1]|0;f=da(h,c&65535)|0;h=da(h,c>>16)|0;e=(h<<16)+f|0;a=da(g,d&65535)|0;g=da(g,d>>16)|0;d=(g<<16)+a|0;c=d+e|0;d=(h>>16)+(f>>31)+(a>>31)+(g>>16)+(e>>>0<f>>>0)+(d>>>0<a>>>0)+(c>>>0<e>>>0)|0;e=d>>31;a=e+c|0;i=i;return e+d+(a>>>0<c>>>0)+(a>>>0>4294959103)<<18|(a+8192|0)>>>14|0}function LR(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=b[a+290>>1]|0;g=b[a+292>>1]|0;f=da(h,c&65535)|0;h=da(h,c>>16)|0;e=(h<<16)+f|0;a=da(g,d&65535)|0;g=da
7325 function zD(b,e,f,g,h,j,k,l,m,n,o){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,ea=0;p=i;w=i;i=i+8|0;E=i;i=i+8|0;K=i;i=i+8|0;I=i;i=i+8|0;J=I;R=i;i=i+8|0;P=i;i=i+8|0;S=P;O=i;i=i+8|0;U=i;i=i+8|0;x=U;y=i;i=i+8|0;T=y;M=i;i=i+8|0;N=M;G=i;i=i+8|0;H=G;C=i;i=i+8|0;B=C;F=i;i=i+8|0;D=F;Q=i;i=i+8|0;L=Q;A=i;i=i+8|0;z=A;V=i;i=i+8|0;W=i;i=i+8|0;q=FW(24)|0;c[q+4>>2]=0;c[q>>2]=177856;v=q+8|0;c[v>>2]=f;u=q+12|0;c[u>>2]=g;s=f+7>>3;r=q+16|0;c[r>>2]=s;do{if((f|0)<1){t=5}else{if((g|0)<1|(s|0)<1){t=5;break}if((2147483646/(s|0)|0|0)<=(g|0)){t=5;break}s=we((da(s,g)|0)+1|0)|0;W=q+20|0;c[W>>2]=s;a[s+(da(c[r>>2]|0,c[u>>2]|0)|0)|0]=0;W=c[W>>2]|0;s=q+20|0;if((W|0)==0){break}bX(W|0,0,da(c[r>>2]|0,c[u>>2]|0)|0)|0;if(e){j=b+148|0;ea=c[j>>2]|0;c[ea+4>>2]=0;c[ea+8>>2]=0;c[ea+12>>2]=0;if((f|0)>2147483645){f=c[b+64>>2]|0;Qe(jd[c[(c[f>>2]|0)+48>>2]&511](f)|0,182160,V);f=-3}h=f+1|0;n=ye(h,4)|0;t=ye(f+2|0,4)|0;if((f|0)>-1){k=0;do{c[n+(k<<2)>>2]=f;k=k+1|0;}while((k|0)<(h|0))}if((g|0)>0){h=b+64|0;k=0;do{v=c[n>>2]|0;if((v|0)<(f|0)){u=0;while(1){c[t+(u<<2)>>2]=v;u=u+1|0;v=c[n+(u<<2)>>2]|0;if((v|0)<(f|0)){}else{break}}}else{u=0}c[t+(u<<2)>>2]=f;c[t+(u+1<<2)>>2]=f;c[n>>2]=0;if((f|0)>0){l=n;m=0;u=0;v=0;do{a:do{switch(PC(c[j>>2]|0)|0){case 1:{if((v|0)==0){e=0;while(1){ea=QC(c[j>>2]|0)|0;e=ea+e|0;if((ea|0)>63){}else{V=0;break}}while(1){ea=RC(c[j>>2]|0)|0;V=ea+V|0;if((ea|0)>63){}else{break}}}else{e=0;while(1){ea=RC(c[j>>2]|0)|0;e=ea+e|0;if((ea|0)>63){}else{V=0;break}}while(1){ea=QC(c[j>>2]|0)|0;V=ea+V|0;if((ea|0)>63){}else{break}}}l=(c[l>>2]|0)+e|0;if((e|0)>0){if((l|0)>(f|0)){ea=c[h>>2]|0;ea=jd[c[(c[ea>>2]|0)+48>>2]&511](ea)|0;c[Q>>2]=l;Qe(ea,182680,L);l=f}m=m+((m&1|0)!=(v|0))|0;c[n+(m<<2)>>2]=l}else{l=c[n+(m<<2)>>2]|0}do{if((l|0)<(f|0)){e=l+V|0;if((V|0)<=0){break}if((e|0)>(f|0)){l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+48>>2]&511](l)|0;c[F>>2]=e;Qe(l,182680,D);l=f}else{l=e}m=m+((m&1|0)!=(v^1|0))|0;c[n+(m<<2)>>2]=l}}while(0);while(1){ea=c[t+(u<<2)>>2]|0;if((ea|0)<=(l|0)&(ea|0)<(f|0)){u=u+2|0}else{break}}break};case 7:{V=(c[t+(u<<2)>>2]|0)+3|0;if((c[l>>2]|0)<(V|0)){if((V|0)>(f|0)){l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+48>>2]&511](l)|0;c[C>>2]=V;Qe(l,182680,B);l=f}else{l=V}m=m+((m&1|0)!=(v|0))|0;c[n+(m<<2)>>2]=l}else{l=c[n+(m<<2)>>2]|0}v=v^1;if((l|0)>=(f|0)){break a}u=u+1|0;while(1){ea=c[t+(u<<2)>>2]|0;if((ea|0)<=(l|0)&(ea|0)<(f|0)){u=u+2|0}else{break}}break};case 0:{V=t+(u+1<<2)|0;e=c[V>>2]|0;if((c[l>>2]|0)<(e|0)){if((e|0)>(f|0)){ea=c[h>>2]|0;ea=jd[c[(c[ea>>2]|0)+48>>2]&511](ea)|0;c[A>>2]=e;Qe(ea,182680,z);e=f}m=m+((m&1|0)!=(v|0))|0;c[n+(m<<2)>>2]=e;e=c[V>>2]|0}u=(e|0)<(f|0)?u+2|0:u;break};case 2:{V=c[t+(u<<2)>>2]|0;if((c[l>>2]|0)<(V|0)){if((V|0)>(f|0)){l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+48>>2]&511](l)|0;c[y>>2]=V;Qe(l,182680,T);l=f}else{l=V}m=m+((m&1|0)!=(v|0))|0;c[n+(m<<2)>>2]=l}else{l=c[n+(m<<2)>>2]|0}v=v^1;if((l|0)>=(f|0)){break a}u=u+1|0;while(1){ea=c[t+(u<<2)>>2]|0;if((ea|0)<=(l|0)&(ea|0)<(f|0)){u=u+2|0}else{break}}break};case 8:{V=(c[t+(u<<2)>>2]|0)+ -3|0;l=c[l>>2]|0;do{if((l|0)<(V|0)){if((V|0)>(f|0)){l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+48>>2]&511](l)|0;c[U>>2]=V;Qe(l,182680,x);l=f}else{l=V}m=m+((m&1|0)!=(v|0))|0;c[n+(m<<2)>>2]=l}else{if((l|0)<=(V|0)){l=c[n+(m<<2)>>2]|0;break}if((V|0)<0){l=c[h>>2]|0;Qe(jd[c[(c[l>>2]|0)+48>>2]&511](l)|0,182720,O);l=0}else{l=V}b:do{if((m|0)>0){while(1){V=m+ -1|0;if((l|0)>(c[n+(V<<2)>>2]|0)){break b}if((V|0)>0){m=V}else{m=V;break}}}}while(0);c[n+(m<<2)>>2]=l}}while(0);v=v^1;if((l|0)>=(f|0)){break a}if((u|0)>0){u=u+ -1|0}else{u=u+1|0}while(1){ea=c[t+(u<<2)>>2]|0;if((ea|0)<=(l|0)&(ea|0)<(f|0)){u=u+2|0}else{break}}break};case 6:{V=(c[t+(u<<2)>>2]|0)+ -2|0;l=c[l>>2]|0;do{if((l|0)<(V|0)){if((V|0)>(f|0)){l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+48>>2]&511](l)|0;c[P>>2]=V;Qe(l,182680,S);l=f}else{l=V}m=m+((m&1|0)!=(v|0))|0;c[n+(m<<2)>>2]=l}else{if((l|0)<=(V|0)){l=c[n+(m<<2)>>2]|0;break}if((V|0)<0){l=c[h>>2]|0;Qe(jd[c[(c[l>>2]|0)+48>>2]&511](l)|0,182720,R);l=0}else{l=V}c:do{if((m|0)>0){while(1){V=m+ -1|0;if((l|0)>(c[n+(V<<2)>>2]|0)){break c}if((V|0)>0){m=V}else{m=V;break}}}}while(0);c[n+(m<<2)>>2]=l}}while(0);v=v^1;if((l|0)>=(f|0)){break a}if((u|0)>0){u=u+ -1|0}else{u=u+1|0}while(1){ea=c[t+(u<<2)>>2]|0;if((ea|0)<=(l|0)&(ea|0)<(f|0)){u=u+2|0}else{break}}break};case 5:{V=(c[t+(u<<2)>>2]|0)+2|0;if((c[l>>2]|0)<(V|0)){if((V|0)>(f|0)){l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+48>>2]&511](l)|0;c[G>>2]=V;Qe(l,182680,H);l=f}else{l=V}m=m+((m&1|0)!=(v|0))|0;c[n+(m<<2)>>2]=l}else{l=c[n+(m<<2)>>2]|0}v=v^1;if((l|0)>=(f|0)){break a}u=u+1|0;while(1){ea=c[t+(u<<2)>>2]|0;if((ea|0)<=(l|0)&(ea|0)<(f|0)){u=u+2|0}else{break}}break};case 4:{V=c[t+(u<<2)>>2]|0;e=V+ -1|0;l=c[l>>2]|0;do{if((l|0)<(e|0)){if((e|0)>(f|0)){l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+48>>2]&511](l)|0;c[I>>2]=e;Qe(l,182680,J);l=f}else{l=e}m=m+((m&1|0)!=(v|0))|0;c[n+(m<<2)>>2]=l}else{if((l|0)<=(e|0)){l=c[n+(m<<2)>>2]|0;break}if((V|0)<1){l=c[h>>2]|0;Qe(jd[c[(c[l>>2]|0)+48>>2]&511](l)|0,182720,K);l=0}else{l=e}d:do{if((m|0)>0){while(1){V=m+ -1|0;if((l|0)>(c[n+(V<<2)>>2]|0)){break d}if((V|0)>0){m=V}else{m=V;break}}}}while(0);c[n+(m<<2)>>2]=l}}while(0);v=v^1;if((l|0)>=(f|0)){break a}if((u|0)>0){u=u+ -1|0}else{u=u+1|0}while(1){ea=c[t+(u<<2)>>2]|0;if((ea|0)<=(l|0)&(ea|0)<(f|0)){u=u+2|0}else{break}}break};case 3:{e=c[t+(u<<2)>>2]|0;V=e+1|0;if((c[l>>2]|0)<(V|0)){if((e|0)<(f|0)){l=V}else{l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+48>>2]&511](l)|0;c[M>>2]=V;Qe(l,182680,N);l=f}m=m+((m&1|0)!=(v|0))|0;c[n+(m<<2)>>2]=l}else{l=c[n+(m<<2)>>2]|0}v=v^1;if((l|0)>=(f|0)){break a}u=u+1|0;while(1){ea=c[t+(u<<2)>>2]|0;if((ea|0)<=(l|0)&(ea|0)<(f|0)){u=u+2|0}else{break}}break};case-1:{if((c[l>>2]|0)>=(f|0)){break a}m=m+(m&1)|0;c[n+(m<<2)>>2]=f;break};default:{ea=c[h>>2]|0;Qe(jd[c[(c[ea>>2]|0)+48>>2]&511](ea)|0,182200,E);if((c[l>>2]|0)>=(f|0)){break a}m=m+(m&1)|0;c[n+(m<<2)>>2]=f}}}while(0);l=n+(m<<2)|0;}while((c[l>>2]|0)<(f|0));m=c[n>>2]|0;u=0}else{m=0;u=0}do{v=n+((u|1)<<2)|0;l=c[v>>2]|0;if((m|0)<(l|0)){while(1){l=(da(c[r>>2]|0,k)|0)+(m>>3)|0;l=(c[s>>2]|0)+l|0;a[l]=d[l]|0|1<<(m&7^7);m=m+1|0;l=c[v>>2]|0;if((m|0)<(l|0)){}else{break}}}if((l|0)>=(f|0)){break}u=u+2|0;m=c[n+(u<<2)>>2]|0;}while((m|0)<(f|0));k=k+1|0;}while((k|0)<(g|0))}r=c[j>>2]|0;do{if((o|0)>-1){g=r+12|0;if((c[g>>2]|0)>>>0>=o>>>0){break}do{ea=c[r>>2]|0;jd[c[(c[ea>>2]|0)+20>>2]&511](ea)|0;ea=(c[g>>2]|0)+1|0;c[g>>2]=ea;}while(ea>>>0<o>>>0)}else{s=r+8|0;j=c[s>>2]|0;g=r+4|0;k=c[g>>2]|0;if(j>>>0<24){f=r+12|0;while(1){j=c[r>>2]|0;k=(jd[c[(c[j>>2]|0)+20>>2]&511](j)|0)&255|k<<8;c[g>>2]=k;j=(c[s>>2]|0)+8|0;c[s>>2]=j;c[f>>2]=(c[f>>2]|0)+1;if(j>>>0<24){}else{break}}}if((k>>>(j+ -24|0)&16777215|0)==4097){break}ea=c[b+64>>2]|0;Qe(jd[c[(c[ea>>2]|0)+48>>2]&511](ea)|0,182240,w)}}while(0);Fe(t);Fe(n);ea=q;i=p;return ea|0}do{if(j){if((h|0)==0){o=14675;break}else if((h|0)==1){o=1946;break}else if((h|0)==2){o=227;break}else if((h|0)==3){o=394;break}else{o=0;break}}else{o=0}}while(0);if((g|0)<=0){ea=q;i=p;return ea|0}w=b+76|0;B=b+80|0;D=m+4|0;E=n+4|0;b=m+8|0;C=n+8|0;z=m+12|0;A=n+12|0;y=(f|0)>0;x=l+8|0;F=l+12|0;G=l+16|0;H=l+20|0;J=0;I=0;do{do{if(j){if(!(J^(II(c[w>>2]|0,o,c[B>>2]|0)|0)!=0)){J=0;t=156;break}if((I|0)<=0){J=1;break}ea=c[s>>2]|0;J=c[r>>2]|0;$W(ea+(da(J,I)|0)|0,ea+(da(J,I+ -1|0)|0)|0,J|0)|0;J=1}else{t=156}}while(0);do{if((t|0)==156){t=0;if((h|0)==3){K=I+ -1|0;do{if((I|0)<1){R=0;L=0;K=0;N=0;M=0}else{if((c[u>>2]|0)<=(K|0)){R=0;L=0;K=0;N=0;M=0;break}L=c[v>>2]|0;if((L|0)<=0){R=0;L=0;K=0;N=0;M=0;break}K=da(c[r>>2]|0,K)|0;K=(c[s>>2]|0)+K|0;if((K|0)==0){R=0;L=7;K=0;N=0;M=0;break}M=d[K]|0;N=M>>>7;if((L|0)==1){R=1;L=7;K=0;M=0;break}O=(L|0)==2;R=2;L=O?6:5;K=O?0:K;M=M>>>6&1}}while(0);T=M|N<<1;M=c[m>>2]|0;N=(c[n>>2]|0)+I|0;do{if((N|0)<0){Q=0;P=0;M=0}else{if((c[u>>2]|0)<=(N|0)){Q=0;P=0;M=0;break}if((c[v>>2]|0)<=(M|0)){Q=0;P=0;M=0;break}N=da(c[r>>2]|0,N)|0;if((M|0)<0){Q=M;P=7;M=(c[s>>2]|0)+N|0;break}else{Q=M;P=M&7^7;M=(c[s>>2]|0)+(N+(M>>3))|0;break}}}while(0);if(y){N=0;O=0}else{break}while(1){S=T<<5|N;do{if((M|0)==0){M=0;U=0}else{if((Q|0)<0){Q=Q+1|0;U=0;break}U=(d[M]|0)>>>P&1;Q=Q+1|0;if((Q|0)==(c[v>>2]|0)){M=0;break}if((P|0)==0){P=7;M=M+1|0;break}else{P=P+ -1|0;break}}}while(0);S=S|U;do{if(k){if((c[x>>2]|0)<=(O|0)){t=370;break}if((c[F>>2]|0)<=(I|0)){t=370;break}ea=(da(c[G>>2]|0,I)|0)+(O>>3)|0;if(((d[(c[H>>2]|0)+ea|0]|0)&1<<(O&7^7)|0)==0){t=370}else{S=0}}else{t=370}}while(0);do{if((t|0)==370){t=0;S=II(c[w>>2]|0,S,c[B>>2]|0)|0;if((S|0)==0){S=0;break}ea=(da(c[r>>2]|0,I)|0)+(O>>3)|0;ea=(c[s>>2]|0)+ea|0;a[ea]=d[ea]|0|1<<(O&7^7)}}while(0);T=T<<1;do{if((K|0)==0){K=0;U=0}else{if((R|0)<0){R=R+1|0;U=0;break}U=(d[K]|0)>>>L&1;R=R+1|0;if((R|0)==(c[v>>2]|0)){K=0;break}if((L|0)==0){L=7;K=K+1|0;break}else{L=L+ -1|0;break}}}while(0);O=O+1|0;if((O|0)<(f|0)){T=U|T&30;N=(S|N)<<1&30}else{break}}}else if((h|0)==0){K=I+ -2|0;do{if((K|0)<0){Q=0;R=0;V=0;L=0;K=0}else{if((c[u>>2]|0)<=(K|0)){Q=0;R=0;V=0;L=0;K=0;break}N=c[v>>2]|0;if((N|0)<=0){Q=0;R=0;V=0;L=0;K=0;break}M=da(c[r>>2]|0,K)|0;M=(c[s>>2]|0)+M|0;if((M|0)==0){Q=0;R=7;V=0;L=0;K=0;break}K=d[M]|0;L=K>>>7;if((N|0)==1){Q=1;R=7;V=0;K=0;break}N=(N|0)==2;Q=2;R=N?6:5;V=N?0:M;K=K>>>6&1}}while(0);Z=K|L<<1;K=I+ -1|0;do{if((I|0)<1){P=0;O=0;L=0;t=168}else{if((c[u>>2]|0)<=(K|0)){P=0;O=0;L=0;t=168;break}M=c[v>>2]|0;if((M|0)<=0){P=0;O=0;L=0;t=168;break}K=da(c[r>>2]|0,K)|0;K=(c[s>>2]|0)+K|0;if((K|0)==0){P=0;O=7;L=0;t=168;break}N=d[K]|0;L=N>>>7;if((M|0)==1){P=1;O=7;t=168;break}L=(N>>>6&1|L<<1)<<1;if((M|0)==2){P=2;O=6;M=0;K=0;break}if((K|0)==0){P=2;O=5;M=0;K=0;break}M=(c[v>>2]|0)==3;P=3;O=M?5:4;M=M?0:K;K=(d[K]|0)>>>5&1}}while(0);if((t|0)==168){t=0;L=L<<2;M=0;K=0}Y=K|L;K=c[m>>2]|0;L=(c[n>>2]|0)+I|0;do{if((L|0)<0){T=0;l=0;e=0}else{if((c[u>>2]|0)<=(L|0)){T=0;l=0;e=0;break}if((c[v>>2]|0)<=(K|0)){T=0;l=0;e=0;break}L=da(c[r>>2]|0,L)|0;if((K|0)<0){T=K;l=7;e=(c[s>>2]|0)+L|0;break}else{T=K;l=K&7^7;e=(c[s>>2]|0)+(L+(K>>3))|0;break}}}while(0);K=c[D>>2]|0;L=(c[E>>2]|0)+I|0;do{if((L|0)<0){$=0;aa=0;ba=0}else{if((c[u>>2]|0)<=(L|0)){$=0;aa=0;ba=0;break}if((c[v>>2]|0)<=(K|0)){$=0;aa=0;ba=0;break}L=da(c[r>>2]|0,L)|0;if((K|0)<0){$=K;aa=7;ba=(c[s>>2]|0)+L|0;break}else{$=K;aa=K&7^7;ba=(c[s>>2]|0)+(L+(K>>3))|0;break}}}while(0);K=c[b>>2]|0;L=(c[C>>2]|0)+I|0;do{if((L|0)<0){X=0;U=0;S=0}else{if((c[u>>2]|0)<=(L|0)){X=0;U=0;S=0;break}if((c[v>>2]|0)<=(K|0)){X=0;U=0;S=0;break}L=da(c[r>>2]|0,L)|0;if((K|0)<0){X=K;U=7;S=(c[s>>2]|0)+L|0;break}else{X=K;U=K&7^7;S=(c[s>>2]|0)+(L+(K>>3))|0;break}}}while(0);K=c[z>>2]|0;L=(c[A>>2]|0)+I|0;do{if((L|0)<0){N=0;L=0;K=0}else{if((c[u>>2]|0)<=(L|0)){N=0;L=0;K=0;break}if((c[v>>2]|0)<=(K|0)){N=0;L=0;K=0;break}W=da(c[r>>2]|0,L)|0;if((K|0)<0){N=K;L=7;K=(c[s>>2]|0)+W|0;break}else{N=K;L=K&7^7;K=(c[s>>2]|0)+(W+(K>>3))|0;break}}}while(0);if(y){W=R;_=Q;Q=0;R=0}else{break}while(1){ca=Y<<8|Z<<13|Q<<4;do{if((e|0)==0){e=0;ea=0}else{if((T|0)<0){T=T+1|0;ea=0;break}ea=(d[e]|0)>>>l&1;T=T+1|0;if((T|0)==(c[v>>2]|0)){e=0;break}if((l|0)==0){l=7;e=e+1|0;break}else{l=l+ -1|0;break}}}while(0);ca=ca|ea<<3;do{if((ba|0)==0){ba=0;ea=0}else{if(($|0)<0){$=$+1|0;ea=0;break}ea=(d[ba]|0)>>>aa&1;$=$+1|0;if(($|0)==(c[v>>2]|0)){ba=0;break}if((aa|0)==0){aa=7;ba=ba+1|0;break}else{aa=aa+ -1|0;break}}}while(0);ca=ca|ea<<2;do{if((S|0)==0){S=0;ea=0}else{if((X|0)<0){X=X+1|0;ea=0;break}ea=(d[S]|0)>>>U&1;X=X+1|0;if((X|0)==(c[v>>2]|0)){S=0;break}if((U|0)==0){U=7;S=S+1|0;break}else{U=U+ -1|0;break}}}while(0);ca=ca|ea<<1;do{if((K|0)==0){K=0;ea=0}else{if((N|0)<0){N=N+1|0;ea=0;break}ea=(d[K]|0)>>>L&1;N=N+1|0;if((N|0)==(c[v>>2]|0)){K=0;break}if((L|0)==0){L=7;K=K+1|0;break}else{L=L+ -1|0;break}}}while(0);ca=ca|ea;do{if(k){if((c[x>>2]|0)<=(R|0)){t=229;break}if((c[F>>2]|0)<=(I|0)){t=229;break}ea=(da(c[G>>2]|0,I)|0)+(R>>3)|0;if(((d[(c[H>>2]|0)+ea|0]|0)&1<<(R&7^7)|0)==0){t=229}else{ca=0}}else{t=229}}while(0);do{if((t|0)==229){t=0;ca=II(c[w>>2]|0,ca,c[B>>2]|0)|0;if((ca|0)==0){ca=0;break}ea=(da(c[r>>2]|0,I)|0)+(R>>3)|0;ea=(c[s>>2]|0)+ea|0;a[ea]=d[ea]|0|1<<(R&7^7)}}while(0);Z=Z<<1;do{if((V|0)==0){V=0;ea=0}else{if((_|0)<0){_=_+1|0;ea=0;break}ea=(d[V]|0)>>>W&1;_=_+1|0;if((_|0)==(c[v>>2]|0)){V=0;break}if((W|0)==0){W=7;V=V+1|0;break}else{W=W+ -1|0;break}}}while(0);Z=ea|Z&6;Y=Y<<1;do{if((M|0)==0){M=0;ea=0}else{if((P|0)<0){P=P+1|0;ea=0;break}ea=(d[M]|0)>>>O&1;P=P+1|0;if((P|0)==(c[v>>2]|0)){M=0;break}if((O|0)==0){O=7;M=M+1|0;break}else{O=O+ -1|0;break}}}while(0);R=R+1|0;if((R|0)<(f|0)){Y=ea|Y&30;Q=(ca|Q<<1)&15}else{break}}}else if((h|0)==2){K=I+ -2|0;do{if((K|0)<0){O=0;P=0;S=0;L=0;K=0}else{if((c[u>>2]|0)<=(K|0)){O=0;P=0;S=0;L=0;K=0;break}N=c[v>>2]|0;if((N|0)<=0){O=0;P=0;S=0;L=0;K=0;break}M=da(c[r>>2]|0,K)|0;M=(c[s>>2]|0)+M|0;if((M|0)==0){O=0;P=7;S=0;L=0;K=0;break}K=d[M]|0;L=K>>>7;if((N|0)==1){O=1;P=7;S=0;K=0;break}N=(N|0)==2;O=2;P=N?6:5;S=N?0:M;K=K>>>6&1}}while(0);U=K|L<<1;K=I+ -1|0;do{if((I|0)<1){M=0;L=0;K=0;Q=0;N=0}else{if((c[u>>2]|0)<=(K|0)){M=0;L=0;K=0;Q=0;N=0;break}L=c[v>>2]|0;if((L|0)<=0){M=0;L=0;K=0;Q=0;N=0;break}K=da(c[r>>2]|0,K)|0;K=(c[s>>2]|0)+K|0;if((K|0)==0){M=0;L=7;K=0;Q=0;N=0;break}N=d[K]|0;Q=N>>>7;if((L|0)==1){M=1;L=7;K=0;N=0;break}R=(L|0)==2;M=2;L=R?6:5;K=R?0:K;N=N>>>6&1}}while(0);l=N|Q<<1;N=c[m>>2]|0;Q=(c[n>>2]|0)+I|0;do{if((Q|0)<0){Q=0;R=0;N=0}else{if((c[u>>2]|0)<=(Q|0)){Q=0;R=0;N=0;break}if((c[v>>2]|0)<=(N|0)){Q=0;R=0;N=0;break}T=da(c[r>>2]|0,Q)|0;if((N|0)<0){Q=N;R=7;N=(c[s>>2]|0)+T|0;break}else{Q=N;R=N&7^7;N=(c[s>>2]|0)+(T+(N>>3))|0;break}}}while(0);if(y){T=P;V=O;e=U;O=0;P=0}else{break}while(1){U=l<<3|e<<7|O;do{if((N|0)==0){N=0;W=0}else{if((Q|0)<0){Q=Q+1|0;W=0;break}W=(d[N]|0)>>>R&1;Q=Q+1|0;if((Q|0)==(c[v>>2]|0)){N=0;break}if((R|0)==0){R=7;N=N+1|0;break}else{R=R+ -1|0;break}}}while(0);U=U|W;do{if(k){if((c[x>>2]|0)<=(P|0)){t=329;break}if((c[F>>2]|0)<=(I|0)){t=329;break}ea=(da(c[G>>2]|0,I)|0)+(P>>3)|0;if(((d[(c[H>>2]|0)+ea|0]|0)&1<<(P&7^7)|0)==0){t=329}else{U=0}}else{t=329}}while(0);do{if((t|0)==329){t=0;U=II(c[w>>2]|0,U,c[B>>2]|0)|0;if((U|0)==0){U=0;break}ea=(da(c[r>>2]|0,I)|0)+(P>>3)|0;ea=(c[s>>2]|0)+ea|0;a[ea]=d[ea]|0|1<<(P&7^7)}}while(0);e=e<<1;do{if((S|0)==0){S=0;W=0}else{if((V|0)<0){V=V+1|0;W=0;break}W=(d[S]|0)>>>T&1;V=V+1|0;if((V|0)==(c[v>>2]|0)){S=0;break}if((T|0)==0){T=7;S=S+1|0;break}else{T=T+ -1|0;break}}}while(0);e=W|e&6;l=l<<1;do{if((K|0)==0){K=0;W=0}else{if((M|0)<0){M=M+1|0;W=0;break}W=(d[K]|0)>>>L&1;M=M+1|0;if((M|0)==(c[v>>2]|0)){K=0;break}if((L|0)==0){L=7;K=K+1|0;break}else{L=L+ -1|0;break}}}while(0);P=P+1|0;if((P|0)<(f|0)){l=W|l&14;O=(U|O)<<1&6}else{break}}}else if((h|0)==1){K=I+ -2|0;do{if((K|0)<0){N=0;P=0;L=0;t=251}else{if((c[u>>2]|0)<=(K|0)){N=0;P=0;L=0;t=251;break}M=c[v>>2]|0;if((M|0)<=0){N=0;P=0;L=0;t=251;break}K=da(c[r>>2]|0,K)|0;K=(c[s>>2]|0)+K|0;if((K|0)==0){N=0;P=7;L=0;t=251;break}N=d[K]|0;L=N>>>7;if((M|0)==1){N=1;P=7;t=251;break}L=(N>>>6&1|L<<1)<<1;if((M|0)==2){N=2;P=6;T=0;K=0;break}if((K|0)==0){N=2;P=5;T=0;K=0;break}M=(c[v>>2]|0)==3;N=3;P=M?5:4;T=M?0:K;K=(d[K]|0)>>>5&1}}while(0);if((t|0)==251){t=0;L=L<<2;T=0;K=0}Q=K|L;L=I+ -1|0;do{if((I|0)<1){M=0;L=0;R=0;t=260}else{if((c[u>>2]|0)<=(L|0)){M=0;L=0;R=0;t=260;break}K=c[v>>2]|0;if((K|0)<=0){M=0;L=0;R=0;t=260;break}O=da(c[r>>2]|0,L)|0;O=(c[s>>2]|0)+O|0;if((O|0)==0){M=0;L=7;R=0;t=260;break}L=d[O]|0;R=L>>>7;if((K|0)==1){M=1;L=7;t=260;break}R=(L>>>6&1|R<<1)<<1;if((K|0)==2){M=2;L=6;K=0;O=0;break}if((O|0)==0){M=2;L=5;K=0;O=0;break}K=(c[v>>2]|0)==3;M=3;L=K?5:4;K=K?0:O;O=(d[O]|0)>>>5&1}}while(0);if((t|0)==260){t=0;R=R<<2;K=0;O=0}V=O|R;O=c[m>>2]|0;R=(c[n>>2]|0)+I|0;do{if((R|0)<0){R=0;S=0;O=0}else{if((c[u>>2]|0)<=(R|0)){R=0;S=0;O=0;break}if((c[v>>2]|0)<=(O|0)){R=0;S=0;O=0;break}U=dada(c[G>>2]|0,I)|0)+(Q>>3)|0;if(((d[(c[H>>2]|0)+ea|0]|0)&1<<(Q&7^7)|0)==0){t=282}else{l=0}}else{t=282}}while(0);do{if((t|0)==282){t=0;l=II(c[w>>2]|0,l,c[B>>2]|0)|0;if((l|0)==0){l=0;break}ea=(da(c[r>>2]|0,I)|0)+(Q>>3)|0;ea=(c[s>>2]|0)+ea|0;a[ea]=d[ea]|0|1<<(Q&7^7)}}while(0);e=e<<1;do{if((T|0)==0){T=0;W=0}else{if((N|0)<0){N=N+1|0;W=0;break}W=(d[T]|0)>>>U&1;N=N+1|0;if((N|0)==(c[v>>2]|0)){T=0;break}if((U|0)==0){U=7;T=T+1|0;break}else{U=U+ -1|0;break}}}while(0);e=W|e&14;V=V<<1;do{if((K|0)==0){K=0;W=0}else{if((M|0)<0){M=M+1|0;W=0;break}W=(d[K]|0)>>>L&1;M=M+1|0;if((M|0)==(c[v>>2]|0)){K=0;break}if((L|0)==0){L=7;K=K+1|0;break}else{L=L+ -1|0;break}}}while(0);Q=Q+1|0;if((Q|0)<(f|0)){V=W|V&30;P=(l|P)<<1&14}else{break}}}else{break}}}while(0);I=I+1|0;}while((I|0)<(g|0));i=p;return q|0}}while(0);do{if((t|0)==5){Qe(-1,177872,W);c[q+20>>2]=0;if((q|0)==0){q=0}else{break}i=p;return q|0}}while(0);fd[c[(c[q>>2]|0)+4>>2]&511](q);ea=0;i=p;return ea|0}function AD(a){a=a|0;i=i;return 0}function BD(a){a=a|0;i=i;return 1}function CD(a){a=a|0;i=i;return 2}function DD(a){a=a|0;i=i;return 3}function ED(a){a=a|0;i=i;return 9}function FD(b,d){b=b|0;d=d|0;var e=0;e=i;uj(b,d);c[b>>2]=182752;a[b+72|0]=0;a[b+92|0]=0;a[b+112|0]=0;a[b+132|0]=0;c[b+196>>2]=0;bX(b+12|0,0,16)|0;bX(b+180|0,0,13)|0;i=e;return}function GD(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=182752;KD(a);d=c[a+8>>2]|0;if((d|0)==0){HW(a);i=b;return}fd[c[(c[d>>2]|0)+4>>2]&511](d);HW(a);i=b;return}function HD(a){a=a|0;var b=0;b=i;c[a>>2]=182752;KD(a);a=c[a+8>>2]|0;if((a|0)==0){i=b;return}fd[c[(c[a>>2]|0)+4>>2]&511](a);i=b;return}function ID(a){a=a|0;var b=0,d=0;b=i;d=c[a+8>>2]|0;fd[c[(c[d>>2]|0)+12>>2]&511](d);if(JD(a)|0){c[a+204>>2]=c[a+148>>2]}else{c[a+204>>2]=c[a+140>>2]}c[a+200>>2]=c[a+144>>2];c[a+208>>2]=0;c[a+216>>2]=0;i=b;return}function JD(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0;d=i;g=i;i=i+8|0;u=i;i=i+8|0;t=i;i=i+8|0;h=i;i=i+8|0;j=i;i=i+8|0;k=i;i=i+8|0;l=i;i=i+8|0;m=i;i=i+8|0;o=i;i=i+8|0;p=i;i=i+8|0;q=i;i=i+8|0;n=i;i=i+8|0;f=i;i=i+8|0;e=i;i=i+8|0;A=i;i=i+8|0;s=i;i=i+8|0;z=s;y=i;i=i+8|0;v=i;i=i+8|0;x=v;r=b+28|0;a[r]=0;w=b+8|0;$=c[w>>2]|0;if((jd[c[(c[$>>2]|0)+24>>2]&511]($)|0)==255){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182848,A);TD(b,0)|0;h=c[b+168>>2]|0;g=b+12|0;c[g>>2]=h;h=ye(h,4)|0;f=b+16|0;c[f>>2]=h;a:do{if((c[g>>2]|0)!=0){e=b+180|0;j=0;while(1){c[h+(j<<2)>>2]=c[(c[(c[e>>2]|0)+48>>2]|0)+(j*88|0)+4>>2];j=j+1|0;if(j>>>0>=(c[g>>2]|0)>>>0){break a}h=c[f>>2]|0}}}while(0);c[b+20>>2]=(c[b+136>>2]|0)-(c[b+144>>2]|0);c[b+24>>2]=(c[b+140>>2]|0)-(c[b+148>>2]|0);$=1;i=d;return $|0}if(!(SD(b,z,y,x)|0)){$=1;i=d;return $|0}I=b+24|0;H=b+20|0;F=b+12|0;G=b+16|0;P=b+76|0;Q=b+80|0;R=b+84|0;S=b+88|0;T=b+92|0;L=b+96|0;O=b+100|0;N=b+104|0;M=b+108|0;K=b+112|0;E=b+116|0;B=b+120|0;C=b+124|0;D=b+128|0;A=b+132|0;J=b+72|0;b:while(1){U=c[s>>2]|0;do{if((U|0)==1768449138){U=c[w>>2]|0;U=jd[c[(c[U>>2]|0)+20>>2]&511](U)|0;if((U|0)==-1){r=25;break b}V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=25;break b}W=c[w>>2]|0;W=jd[c[(c[W>>2]|0)+20>>2]&511](W)|0;if((W|0)==-1){r=25;break b}X=c[w>>2]|0;X=jd[c[(c[X>>2]|0)+20>>2]&511](X)|0;if((X|0)==-1){r=25;break b}c[I>>2]=V<<16|U<<24|W<<8|X;X=c[w>>2]|0;X=jd[c[(c[X>>2]|0)+20>>2]&511](X)|0;if((X|0)==-1){r=25;break b}W=c[w>>2]|0;W=jd[c[(c[W>>2]|0)+20>>2]&511](W)|0;if((W|0)==-1){r=25;break b}U=c[w>>2]|0;U=jd[c[(c[U>>2]|0)+20>>2]&511](U)|0;if((U|0)==-1){r=25;break b}V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=25;break b}c[H>>2]=W<<16|X<<24|U<<8|V;U=c[w>>2]|0;U=jd[c[(c[U>>2]|0)+20>>2]&511](U)|0;if((U|0)==-1){r=25;break b}V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=25;break b}c[F>>2]=V|U<<8;U=c[w>>2]|0;U=jd[c[(c[U>>2]|0)+20>>2]&511](U)|0;if((U|0)==-1){r=25;break b}V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=25;break b}$=c[w>>2]|0;if((jd[c[(c[$>>2]|0)+20>>2]&511]($)|0)==-1){r=25;break b}$=c[w>>2]|0;if((jd[c[(c[$>>2]|0)+20>>2]&511]($)|0)==-1){r=25;break b}if((V|0)!=7){r=27;break b}V=ye(c[F>>2]|0,4)|0;c[G>>2]=V;c:do{if((c[F>>2]|0)!=0){W=0;while(1){c[V+(W<<2)>>2]=U;W=W+1|0;if(W>>>0>=(c[F>>2]|0)>>>0){break c}V=c[G>>2]|0}}}while(0);a[r]=1}else if((U|0)==1668246642){if(!(UD(b,c[v>>2]|0)|0)){b=0;r=92;break b}}else if((U|0)==1651532643){if((a[r]&1)==0){r=33;break b}U=c[v>>2]|0;if((U|0)!=(c[F>>2]|0)){r=36;break b}if((U|0)==0){break}else{W=0}do{U=c[G>>2]|0;V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=38;break b}c[U+(W<<2)>>2]=V;W=W+1|0;}while(W>>>0<(c[F>>2]|0)>>>0)}else if((U|0)==1785737827){if((c[G>>2]|0)==0){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183096,t)}if((a[J]&1)==0){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183144,u)}if(!(TD(b,0)|0)){b=0;r=92;break b}}else if((U|0)==1668112752){$=(c[v>>2]|0)>>>2;c[L>>2]=$;c[O>>2]=ye($,4)|0;c[N>>2]=ye(c[L>>2]|0,4)|0;c[M>>2]=ye(c[L>>2]|0,4)|0;if((c[L>>2]|0)!=0){U=0;do{W=(c[O>>2]|0)+(U<<2)|0;V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=67;break b}X=c[w>>2]|0;X=jd[c[(c[X>>2]|0)+20>>2]&511](X)|0;if((X|0)==-1){r=67;break b}c[W>>2]=X|V<<8;V=c[N>>2]|0;W=c[w>>2]|0;W=jd[c[(c[W>>2]|0)+20>>2]&511](W)|0;if((W|0)==-1){r=67;break b}c[V+(U<<2)>>2]=W;V=c[M>>2]|0;W=c[w>>2]|0;W=jd[c[(c[W>>2]|0)+20>>2]&511](W)|0;if((W|0)==-1){r=67;break b}c[V+(U<<2)>>2]=W;U=U+1|0;}while(U>>>0<(c[L>>2]|0)>>>0)}a[K]=1}else if((U|0)==1885564018){U=c[w>>2]|0;U=jd[c[(c[U>>2]|0)+20>>2]&511](U)|0;if((U|0)==-1){r=44;break b}V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=44;break b}c[P>>2]=V|U<<8;U=c[w>>2]|0;U=jd[c[(c[U>>2]|0)+20>>2]&511](U)|0;if((U|0)==-1){r=44;break b}c[Q>>2]=U;c[R>>2]=ye(U,4)|0;c[S>>2]=ye(da(c[Q>>2]|0,c[P>>2]|0)|0,4)|0;if((c[Q>>2]|0)==0){W=0}else{V=0;do{U=c[R>>2]|0;W=c[w>>2]|0;W=jd[c[(c[W>>2]|0)+20>>2]&511](W)|0;if((W|0)==-1){r=47;break b}c[U+(V<<2)>>2]=W;W=(c[R>>2]|0)+(V<<2)|0;c[W>>2]=(c[W>>2]|0)+1;V=V+1|0;W=c[Q>>2]|0;}while(V>>>0<W>>>0)}V=c[P>>2]|0;if((V|0)!=0){U=0;do{if((W|0)==0){W=0}else{V=0;do{X=c[(c[R>>2]|0)+(V<<2)>>2]|0;Y=((X&127)+7|0)>>>3;X=(X&128|0)==0;W=(da(W,U)|0)+V|0;W=(c[S>>2]|0)+(W<<2)|0;if((Y|0)==0){_=0}else{Z=0;_=0;do{$=c[w>>2]|0;$=jd[c[(c[$>>2]|0)+20>>2]&511]($)|0;if(($|0)==-1){r=57;break b}_=$+(_<<8)|0;Z=Z+1|0;}while((Z|0)<(Y|0))}do{if(!X){X=Y<<3;if((_&1<<X+ -1|0)==0){break}_=_|-1<<X}}while(0);c[W>>2]=_;V=V+1|0;W=c[Q>>2]|0;}while(V>>>0<W>>>0);V=c[P>>2]|0}U=U+1|0;}while(U>>>0<V>>>0)}a[T]=1}else if((U|0)==1667523942){U=c[w>>2]|0;U=jd[c[(c[U>>2]|0)+20>>2]&511](U)|0;if((U|0)==-1){r=72;break b}V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=72;break b}$=V|U<<8;c[E>>2]=$;c[B>>2]=ye($,4)|0;c[C>>2]=ye(c[E>>2]|0,4)|0;c[D>>2]=ye(c[E>>2]|0,4)|0;if((c[E>>2]|0)!=0){U=0;do{V=(c[B>>2]|0)+(U<<2)|0;X=c[w>>2]|0;X=jd[c[(c[X>>2]|0)+20>>2]&511](X)|0;if((X|0)==-1){r=80;break b}W=c[w>>2]|0;W=jd[c[(c[W>>2]|0)+20>>2]&511](W)|0;if((W|0)==-1){r=80;break b}c[V>>2]=W|X<<8;W=(c[C>>2]|0)+(U<<2)|0;X=c[w>>2]|0;X=jd[c[(c[X>>2]|0)+20>>2]&511](X)|0;if((X|0)==-1){r=80;break b}V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=80;break b}c[W>>2]=V|X<<8;W=(c[D>>2]|0)+(U<<2)|0;X=c[w>>2]|0;X=jd[c[(c[X>>2]|0)+20>>2]&511](X)|0;if((X|0)==-1){r=80;break b}V=c[w>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){r=80;break b}c[W>>2]=V|X<<8;U=U+1|0;}while(U>>>0<(c[E>>2]|0)>>>0)}a[A]=1}else if((U|0)!=1785737832){V=c[v>>2]|0;if((V|0)==0){break}else{U=0}do{$=c[w>>2]|0;U=U+1|0;if((jd[c[(c[$>>2]|0)+20>>2]&511]($)|0)==-1){r=91;break b}}while(U>>>0<V>>>0)}}while(0);if(!(SD(b,z,y,x)|0)){b=1;r=92;break}}if((r|0)==25){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182904,e);$=0;i=d;return $|0}else if((r|0)==27){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182936,f);$=0;i=d;return $|0}else if((r|0)==33){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182976,n);$=0;i=d;return $|0}else if((r|0)==36){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183048,q);$=0;i=d;return $|0}else if((r|0)==38){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182904,p);$=0;i=d;return $|0}else if((r|0)==44){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182904,o);$=0;i=d;return $|0}else if((r|0)==47){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182904,m);$=0;i=d;return $|0}else if((r|0)==57){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182904,l);$=0;i=d;return $|0}else if((r|0)==67){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182904,k);$=0;i=d;return $|0}else if((r|0)==72){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182904,j);$=0;i=d;return $|0}else if((r|0)==80){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182904,h);$=0;i=d;return $|0}else if((r|0)==91){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,182904,g);$=0;i=d;return $|0}else if((r|0)==92){i=d;return b|0}return 0}function KD(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;d=i;e=b+16|0;Fe(c[e>>2]|0);c[e>>2]=0;e=b+92|0;if((a[e]&1)!=0){Fe(c[b+84>>2]|0);Fe(c[b+88>>2]|0);a[e]=0}e=b+112|0;if((a[e]&1)!=0){Fe(c[b+100>>2]|0);Fe(c[b+104>>2]|0);Fe(c[b+108>>2]|0);a[e]=0}e=b+132|0;if((a[e]&1)!=0){Fe(c[b+120>>2]|0);Fe(c[b+124>>2]|0);Fe(c[b+128>>2]|0);a[e]=0}e=b+180|0;k=c[e>>2]|0;if((k|0)==0){wj(b);i=d;return}g=b+172|0;m=c[g>>2]|0;f=b+176|0;l=c[f>>2]|0;if((da(l,m)|0)!=0){h=b+168|0;o=k;j=0;while(1){k=o+(j*52|0)+48|0;n=c[k>>2]|0;if((n|0)==0){k=o}else{if((c[h>>2]|0)!=0){m=0;while(1){Fe(c[n+(m*88|0)+44>>2]|0);Fe(c[n+(m*88|0)+76>>2]|0);Fe(c[n+(m*88|0)+80>>2]|0);l=n+(m*88|0)+84|0;p=c[l>>2]|0;if((p|0)!=0){n=n+(m*88|0)+20|0;o=0;while(1){q=c[p+(o*76|0)+72>>2]|0;if((q|0)!=0){p=(o|0)==0?1:3;q=q+16|0;u=c[q>>2]|0;if((u|0)!=0){r=0;do{Fe(c[u+(r*40|0)+28>>2]|0);Fe(c[u+(r*40|0)+32>>2]|0);t=u+(r*40|0)+36|0;w=c[t>>2]|0;if((w|0)!=0){s=u+(r*40|0)+16|0;u=u+(r*40|0)+20|0;if((da(c[u>>2]|0,c[s>>2]|0)|0)!=0){v=0;do{Fe(c[w+(v*56|0)+44>>2]|0);x=c[w+(v*56|0)+48>>2]|0;if((x|0)!=0){DI(x);HW(x)}w=c[w+(v*56|0)+52>>2]|0;if((w|0)!=0){yI(w);HW(w)}v=v+1|0;x=v>>>0<(da(c[u>>2]|0,c[s>>2]|0)|0)>>>0;w=c[t>>2]|0}while(x)}Fe(w)}r=r+1|0;u=c[q>>2]|0}while(r>>>0<p>>>0);Fe(u)}Fe(c[(c[(c[(c[e>>2]|0)+(j*52|0)+48>>2]|0)+(m*88|0)+84>>2]|0)+(o*76|0)+72>>2]|0)}o=o+1|0;if(o>>>0>(c[n>>2]|0)>>>0){break}p=c[l>>2]|0}Fe(c[(c[(c[e>>2]|0)+(j*52|0)+48>>2]|0)+(m*88|0)+84>>2]|0)}m=m+1|0;if(m>>>0>=(c[h>>2]|0)>>>0){break}n=c[k>>2]|0}n=c[(c[e>>2]|0)+(j*52|0)+48>>2]|0}Fe(n);k=c[e>>2]|0;l=c[f>>2]|0;m=c[g>>2]|0}j=j+1|0;if(j>>>0<(da(l,m)|0)>>>0){o=k}else{break}}}Fe(k);c[e>>2]=0;wj(b);i=d;return}function LD(a){a=a|0;var b=0,d=0,e=0,f=0;d=i;b=a+216|0;e=c[b>>2]|0;if(e>>>0<8){MD(a);e=c[b>>2]|0}if((e|0)==8){e=c[a+212>>2]&255;c[b>>2]=0;i=d;return e|0}if(e>>>0>8){f=e+ -8|0;e=(c[a+212>>2]|0)>>>f&255;c[b>>2]=f;i=d;return e|0}if((e|0)==0){f=-1;i=d;return f|0}f=c[a+212>>2]<<8-e&255;c[b>>2]=0;i=d;return f|0}function MD(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;b=i;g=a+204|0;l=a+164|0;m=a+156|0;n=a+172|0;f=a+200|0;d=a+160|0;p=a+152|0;h=a+208|0;q=a+180|0;r=a+168|0;j=a+136|0;e=a+144|0;o=a+212|0;k=a+216|0;a=c[a+140>>2]|0;u=c[g>>2]|0;while(1){if(u>>>0>=a>>>0){d=10;break}B=u-(c[l>>2]|0)|0;A=c[m>>2]|0;s=da(c[n>>2]|0,(B>>>0)/(A>>>0)|0)|0;v=c[f>>2]|0;y=v-(c[d>>2]|0)|0;x=c[p>>2]|0;w=c[h>>2]|0;s=c[(c[q>>2]|0)+((((y>>>0)/(x>>>0)|0)+s|0)*52|0)+48>>2]|0;t=c[s+(w*88|0)+8>>2]|0;z=c[s+(w*88|0)+12>>2]|0;t=(dada(c[d>>2]|0,c[e>>2]|0)|0)!=0){pa=0;do{if((pa|0)!=0){ra=c[f>>2]|0;c[ra+(pa*52|0)>>2]=c[ra>>2];ra=c[f>>2]|0;c[ra+(pa*52|0)+4>>2]=c[ra+4>>2];ra=c[f>>2]|0;c[ra+(pa*52|0)+8>>2]=c[ra+8>>2]}if((c[g>>2]|0)!=0){oa=0;do{if((oa|pa|0)!=0){ra=c[f>>2]|0;c[(c[ra+(pa*52|0)+48>>2]|0)+(oa*88|0)+16>>2]=c[(c[ra+48>>2]|0)+16>>2];ra=c[f>>2]|0;c[(c[ra+(pa*52|0)+48>>2]|0)+(oa*88|0)+20>>2]=c[(c[ra+48>>2]|0)+20>>2];ra=c[f>>2]|0;c[(c[ra+(pa*52|0)+48>>2]|0)+(oa*88|0)+24>>2]=c[(c[ra+48>>2]|0)+24>>2];ra=c[f>>2]|0;c[(c[ra+(pa*52|0)+48>>2]|0)+(oa*88|0)+28>>2]=c[(c[ra+48>>2]|0)+28>>2];ra=c[f>>2]|0;c[(c[ra+(pa*52|0)+48>>2]|0)+(oa*88|0)+32>>2]=c[(c[ra+48>>2]|0)+32>>2];ra=c[f>>2]|0;c[(c[ra+(pa*52|0)+48>>2]|0)+(oa*88|0)+36>>2]=c[(c[ra+48>>2]|0)+36>>2]}qa=ye((c[(c[(c[f>>2]|0)+(pa*52|0)+48>>2]|0)+(oa*88|0)+20>>2]|0)+1|0,76)|0;c[(c[(c[f>>2]|0)+(pa*52|0)+48>>2]|0)+(oa*88|0)+84>>2]=qa;qa=c[(c[f>>2]|0)+(pa*52|0)+48>>2]|0;na=0;do{c[(c[qa+(oa*88|0)+84>>2]|0)+(na*76|0)+72>>2]=0;na=na+1|0;qa=c[(c[f>>2]|0)+(pa*52|0)+48>>2]|0;}while(na>>>0<=(c[qa+(oa*88|0)+20>>2]|0)>>>0);oa=oa+1|0;}while(oa>>>0<(c[g>>2]|0)>>>0)}pa=pa+1|0;}while(pa>>>0<(da(c[d>>2]|0,c[e>>2]|0)|0)>>>0)}pa=c[(c[f>>2]|0)+48>>2]|0;na=0;do{if((c[pa+16>>2]&1|0)==0){c[(c[pa+84>>2]|0)+(na*76|0)>>2]=15;c[(c[(c[(c[f>>2]|0)+48>>2]|0)+84>>2]|0)+(na*76|0)+4>>2]=15}else{oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=95;break a}c[(c[(c[(c[f>>2]|0)+48>>2]|0)+84>>2]|0)+(na*76|0)>>2]=oa&15;c[(c[(c[(c[f>>2]|0)+48>>2]|0)+84>>2]|0)+(na*76|0)+4>>2]=oa>>>4&15}na=na+1|0;oa=c[f>>2]|0;pa=c[oa+48>>2]|0;}while(na>>>0<=(c[pa+20>>2]|0)>>>0);qa=c[e>>2]|0;pa=c[d>>2]|0;if((da(pa,qa)|0)==0){qa=T;ra=ma;la=1;T=qa;ma=ra;continue a}ra=c[g>>2]|0;na=ra;la=0;while(1){if((ra|0)==0){ra=0}else{pa=0;while(1){if((pa|la|0)==0){ra=na}else{na=c[oa+(la*52|0)+48>>2]|0;qa=0;do{c[(c[na+(pa*88|0)+84>>2]|0)+(qa*76|0)>>2]=c[(c[(c[oa+48>>2]|0)+84>>2]|0)+(qa*76|0)>>2];ra=c[f>>2]|0;c[(c[(c[ra+(la*52|0)+48>>2]|0)+(pa*88|0)+84>>2]|0)+(qa*76|0)+4>>2]=c[(c[(c[ra+48>>2]|0)+84>>2]|0)+(qa*76|0)+4>>2];qa=qa+1|0;oa=c[f>>2]|0;na=c[oa+(la*52|0)+48>>2]|0;}while(qa>>>0<=(c[na+(pa*88|0)+20>>2]|0)>>>0);ra=c[g>>2]|0}pa=pa+1|0;if(pa>>>0<ra>>>0){na=ra}else{break}}na=ra;pa=c[d>>2]|0;qa=c[e>>2]|0}la=la+1|0;if(la>>>0>=(da(pa,qa)|0)>>>0){qa=T;ra=ma;la=1;T=qa;ma=ra;continue a}}break};case 92:{oa=c[(c[f>>2]|0)+48>>2]|0;pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=144;break a}c[oa+40>>2]=pa;pa=c[(c[f>>2]|0)+48>>2]|0;oa=c[pa+40>>2]&31;do{if((oa|0)==0){c[pa+48>>2]=na+ -3;oa=c[(c[f>>2]|0)+48>>2]|0;oa=Ce(c[oa+44>>2]|0,c[oa+48>>2]|0,4)|0;c[(c[(c[f>>2]|0)+48>>2]|0)+44>>2]=oa;oa=c[(c[f>>2]|0)+48>>2]|0;if((c[oa+48>>2]|0)==0){break}else{na=0}do{pa=c[oa+44>>2]|0;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=148;break a}c[pa+(na<<2)>>2]=oa;na=na+1|0;oa=c[(c[f>>2]|0)+48>>2]|0;}while(na>>>0<(c[oa+48>>2]|0)>>>0)}else if((oa|0)==1){c[pa+48>>2]=1;oa=c[(c[f>>2]|0)+48>>2]|0;oa=Ce(c[oa+44>>2]|0,c[oa+48>>2]|0,4)|0;c[(c[(c[f>>2]|0)+48>>2]|0)+44>>2]=oa;oa=c[(c[(c[f>>2]|0)+48>>2]|0)+44>>2]|0;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=153;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=153;break a}c[oa>>2]=pa|na<<8}else if((oa|0)==2){c[pa+48>>2]=(na+ -3|0)>>>1;oa=c[(c[f>>2]|0)+48>>2]|0;oa=Ce(c[oa+44>>2]|0,c[oa+48>>2]|0,4)|0;c[(c[(c[f>>2]|0)+48>>2]|0)+44>>2]=oa;oa=c[(c[f>>2]|0)+48>>2]|0;if((c[oa+48>>2]|0)==0){break}else{na=0}do{pa=(c[oa+44>>2]|0)+(na<<2)|0;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=157;break a}qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=157;break a}c[pa>>2]=qa|oa<<8;na=na+1|0;oa=c[(c[f>>2]|0)+48>>2]|0;}while(na>>>0<(c[oa+48>>2]|0)>>>0)}else{o=159;break a}}while(0);pa=c[e>>2]|0;oa=c[d>>2]|0;if((da(oa,pa)|0)==0){qa=T;ra=la;ma=1;T=qa;la=ra;continue a}qa=c[g>>2]|0;na=qa;ma=0;while(1){if((qa|0)==0){qa=0}else{oa=0;while(1){if((oa|ma|0)==0){qa=na}else{pa=c[f>>2]|0;c[(c[pa+(ma*52|0)+48>>2]|0)+(oa*88|0)+40>>2]=c[(c[pa+48>>2]|0)+40>>2];pa=c[f>>2]|0;c[(c[pa+(ma*52|0)+48>>2]|0)+(oa*88|0)+48>>2]=c[(c[pa+48>>2]|0)+48>>2];pa=c[f>>2]|0;pa=Ce(c[(c[pa+(ma*52|0)+48>>2]|0)+(oa*88|0)+44>>2]|0,c[(c[pa+48>>2]|0)+48>>2]|0,4)|0;c[(c[(c[f>>2]|0)+(ma*52|0)+48>>2]|0)+(oa*88|0)+44>>2]=pa;pa=c[f>>2]|0;na=c[pa+48>>2]|0;if((c[na+48>>2]|0)!=0){qa=0;do{c[(c[(c[pa+(ma*52|0)+48>>2]|0)+(oa*88|0)+44>>2]|0)+(qa<<2)>>2]=c[(c[na+44>>2]|0)+(qa<<2)>>2];qa=qa+1|0;pa=c[f>>2]|0;na=c[pa+48>>2]|0;}while(qa>>>0<(c[na+48>>2]|0)>>>0)}qa=c[g>>2]|0}oa=oa+1|0;if(oa>>>0<qa>>>0){na=qa}else{break}}na=qa;oa=c[d>>2]|0;pa=c[e>>2]|0}ma=ma+1|0;if(ma>>>0>=(da(oa,pa)|0)>>>0){qa=T;ra=la;ma=1;T=qa;la=ra;continue a}}break};case 81:{ra=c[k>>2]|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=52;break a}ra=c[k>>2]|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=52;break a}na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=52;break a}oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=52;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=52;break a}qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=52;break a}c[X>>2]=oa<<16|na<<24|pa<<8|qa;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=52;break a}oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=52;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=52;break a}qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=52;break a}c[K>>2]=oa<<16|na<<24|pa<<8|qa;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=52;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=52;break a}qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=52;break a}na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=52;break a}c[Z>>2]=pa<<16|oa<<24|qa<<8|na;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=52;break a}oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=52;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=52;break a}qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=52;break a}c[_>>2]=oa<<16|na<<24|pa<<8|qa;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=52;break a}oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=52;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=52;break a}qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=52;break a}c[$>>2]=oa<<16|na<<24|pa<<8|qa;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=52;break a}oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=52;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=52;break a}qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=52;break a}c[aa>>2]=oa<<16|na<<24|pa<<8|qa;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=52;break a}oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=52;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=52;break a}qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=52;break a}c[ba>>2]=oa<<16|na<<24|pa<<8|qa;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=52;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=52;break a}qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=52;break a}na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=52;break a}c[ca>>2]=pa<<16|oa<<24|qa<<8|na;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=52;break a}na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=52;break a}na=na|oa<<8;c[g>>2]=na;if((a[ea]&1)!=0){if((na|0)!=(c[fa>>2]|0)){o=55;break a}}oa=c[$>>2]|0;oa=(((c[X>>2]|0)+ -1-(c[ba>>2]|0)+oa|0)>>>0)/(oa>>>0)|0;c[e>>2]=oa;na=c[aa>>2]|0;na=(((c[K>>2]|0)+ -1-(c[ca>>2]|0)+na|0)>>>0)/(na>>>0)|0;c[d>>2]=na;if((oa|0)==0|(na|0)==0){o=58;break a}if(oa>>>0>=(2147483647/(na>>>0)|0)>>>0){o=58;break a}c[f>>2]=ye(da(oa,na)|0,52)|0;ra=(da(c[d>>2]|0,c[e>>2]|0)|0)==0;oa=c[g>>2]|0;if(!ra){na=0;do{ra=ye(oa,88)|0;c[(c[f>>2]|0)+(na*52|0)+48>>2]=ra;if((c[g>>2]|0)==0){oa=0}else{pa=0;while(1){c[(c[(c[f>>2]|0)+(na*52|0)+48>>2]|0)+(pa*88|0)+44>>2]=0;c[(c[(c[f>>2]|0)+(na*52|0)+48>>2]|0)+(pa*88|0)+76>>2]=0;c[(c[(c[f>>2]|0)+(na*52|0)+48>>2]|0)+(pa*88|0)+80>>2]=0;c[(c[(c[f>>2]|0)+(na*52|0)+48>>2]|0)+(pa*88|0)+84>>2]=0;pa=pa+1|0;oa=c[g>>2]|0;if(pa>>>0<oa>>>0){}else{break}}}na=na+1|0;}while(na>>>0<(dada(c[d>>2]|0,c[e>>2]|0)|0)>>>0>1){oa=1;do{ra=c[f>>2]|0;$W((c[ra+(oa*52|0)+48>>2]|0)+(na*88|0)|0,(c[ra+48>>2]|0)+(na*88|0)|0,88)|0;oa=oa+1|0;}while(oa>>>0<(da(c[d>>2]|0,c[e>>2]|0)|0)>>>0)}na=na+1|0;if(na>>>0>=(c[g>>2]|0)>>>0){qa=ma;ra=la;T=1;ma=qa;la=ra;continue a}}break};case 99:{na=na+ -2|0;if((na|0)==0){pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}else{oa=0}while(1){ra=c[k>>2]|0;oa=oa+1|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=221;break a}if(oa>>>0<na>>>0){}else{pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}}break};case 100:{na=na+ -2|0;if((na|0)==0){pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}else{oa=0}while(1){ra=c[k>>2]|0;oa=oa+1|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=224;break a}if(oa>>>0<na>>>0){}else{pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}}break};case 93:{if(!ma){o=171;break a}if((c[g>>2]|0)>>>0>256){oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=180;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=180;break a}qa=c[g>>2]|0;if(qa>>>0<257){o=176}else{q=qa;ia=pa|oa<<8}}else{o=176}if((o|0)==176){o=0;ia=c[k>>2]|0;ia=jd[c[(c[ia>>2]|0)+20>>2]&511](ia)|0;if((ia|0)==-1){o=180;break a}q=c[g>>2]|0}if(ia>>>0>=q>>>0){o=180;break a}pa=c[(c[f>>2]|0)+48>>2]|0;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=180;break a}c[pa+(ia*88|0)+40>>2]=oa;oa=c[(c[f>>2]|0)+48>>2]|0;pa=c[oa+(ia*88|0)+40>>2]&31;do{if((pa|0)==0){c[oa+(ia*88|0)+48>>2]=na-((c[g>>2]|0)>>>0>256?5:4);oa=c[(c[f>>2]|0)+48>>2]|0;oa=Ce(c[oa+(ia*88|0)+44>>2]|0,c[oa+(ia*88|0)+48>>2]|0,4)|0;c[(c[(c[f>>2]|0)+48>>2]|0)+(ia*88|0)+44>>2]=oa;oa=c[(c[f>>2]|0)+48>>2]|0;if((c[oa+(ia*88|0)+48>>2]|0)==0){break}else{na=0}do{pa=c[oa+(ia*88|0)+44>>2]|0;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=184;break a}c[pa+(na<<2)>>2]=oa;na=na+1|0;oa=c[(c[f>>2]|0)+48>>2]|0;}while(na>>>0<(c[oa+(ia*88|0)+48>>2]|0)>>>0)}else if((pa|0)==1){c[oa+(ia*88|0)+48>>2]=1;oa=c[(c[f>>2]|0)+48>>2]|0;oa=Ce(c[oa+(ia*88|0)+44>>2]|0,c[oa+(ia*88|0)+48>>2]|0,4)|0;c[(c[(c[f>>2]|0)+48>>2]|0)+(ia*88|0)+44>>2]=oa;oa=c[(c[(c[f>>2]|0)+48>>2]|0)+(ia*88|0)+44>>2]|0;na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=189;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=189;break a}c[oa>>2]=pa|na<<8}else if((pa|0)==2){c[oa+(ia*88|0)+48>>2]=(na-((c[g>>2]|0)>>>0>256?5:4)|0)>>>1;oa=c[(c[f>>2]|0)+48>>2]|0;oa=Ce(c[oa+(ia*88|0)+44>>2]|0,c[oa+(ia*88|0)+48>>2]|0,4)|0;c[(c[(c[f>>2]|0)+48>>2]|0)+(ia*88|0)+44>>2]=oa;oa=c[(c[f>>2]|0)+48>>2]|0;if((c[oa+(ia*88|0)+48>>2]|0)==0){break}else{na=0}do{pa=(c[oa+(ia*88|0)+44>>2]|0)+(na<<2)|0;qa=c[k>>2]|0;qa=jd[c[(c[qa>>2]|0)+20>>2]&511](qa)|0;if((qa|0)==-1){o=193;break a}oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=193;break a}c[pa>>2]=oa|qa<<8;na=na+1|0;oa=c[(c[f>>2]|0)+48>>2]|0;}while(na>>>0<(c[oa+(ia*88|0)+48>>2]|0)>>>0)}else{o=195;break a}}while(0);if((da(c[d>>2]|0,c[e>>2]|0)|0)>>>0<=1){qa=T;ra=la;ma=1;T=qa;la=ra;continue a}pa=c[f>>2]|0;ma=1;while(1){c[(c[pa+(ma*52|0)+48>>2]|0)+(ia*88|0)+40>>2]=c[(c[pa+48>>2]|0)+(ia*88|0)+40>>2];pa=c[f>>2]|0;c[(c[pa+(ma*52|0)+48>>2]|0)+(ia*88|0)+48>>2]=c[(c[pa+48>>2]|0)+(ia*88|0)+48>>2];pa=c[f>>2]|0;pa=Ce(c[(c[pa+(ma*52|0)+48>>2]|0)+(ia*88|0)+44>>2]|0,c[(c[pa+48>>2]|0)+(ia*88|0)+48>>2]|0,4)|0;c[(c[(c[f>>2]|0)+(ma*52|0)+48>>2]|0)+(ia*88|0)+44>>2]=pa;pa=c[f>>2]|0;oa=c[pa+48>>2]|0;if((c[oa+(ia*88|0)+48>>2]|0)!=0){na=0;while(1){c[(c[(c[pa+(ma*52|0)+48>>2]|0)+(ia*88|0)+44>>2]|0)+(na<<2)>>2]=c[(c[oa+(ia*88|0)+44>>2]|0)+(na<<2)>>2];na=na+1|0;pa=c[f>>2]|0;oa=c[pa+48>>2]|0;if(na>>>0<(c[oa+(ia*88|0)+48>>2]|0)>>>0){}else{break}}}ma=ma+1|0;if(ma>>>0>=(da(c[d>>2]|0,c[e>>2]|0)|0)>>>0){qa=T;ra=la;ma=1;T=qa;la=ra;continue a}}break};case 94:{Rb(183600,4,1,U|0)|0;na=na+ -2|0;if((na|0)==0){pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}else{oa=0}while(1){ra=c[k>>2]|0;oa=oa+1|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=204;break a}if(oa>>>0<na>>>0){}else{pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}}break};case 95:{Rb(183640,4,1,U|0)|0;na=na+ -2|0;if((na|0)==0){pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}else{oa=0}while(1){ra=c[k>>2]|0;oa=oa+1|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=208;break a}if(oa>>>0<na>>>0){}else{pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}}break};case 96:{Rb(183648,4,1,U|0)|0;na=na+ -2|0;if((na|0)==0){pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}else{oa=0}while(1){ra=c[k>>2]|0;oa=oa+1|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=212;break a}if(oa>>>0<na>>>0){}else{pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}}break};case 83:{if(!la){o=110;break a}if((c[g>>2]|0)>>>0>256){oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=124;break a}pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=124;break a}na=c[g>>2]|0;if(na>>>0<257){o=115}else{n=na;ka=pa|oa<<8}}else{o=115}if((o|0)==115){o=0;ka=c[k>>2]|0;ka=jd[c[(c[ka>>2]|0)+20>>2]&511](ka)|0;if((ka|0)==-1){o=124;break a}n=c[g>>2]|0}if(ka>>>0>=n>>>0){o=124;break a}na=c[k>>2]|0;na=jd[c[(c[na>>2]|0)+20>>2]&511](na)|0;if((na|0)==-1){o=124;break a}oa=c[(c[f>>2]|0)+48>>2]|0;pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=124;break a}c[oa+(ka*88|0)+20>>2]=pa;oa=c[(c[f>>2]|0)+48>>2]|0;pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=124;break a}c[oa+(ka*88|0)+24>>2]=pa;oa=c[(c[f>>2]|0)+48>>2]|0;pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=124;break a}c[oa+(ka*88|0)+28>>2]=pa;pa=c[(c[f>>2]|0)+48>>2]|0;oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=124;break a}c[pa+(ka*88|0)+32>>2]=oa;oa=c[(c[f>>2]|0)+48>>2]|0;pa=c[k>>2]|0;pa=jd[c[(c[pa>>2]|0)+20>>2]&511](pa)|0;if((pa|0)==-1){o=124;break a}c[oa+(ka*88|0)+36>>2]=pa;ra=(c[(c[f>>2]|0)+48>>2]|0)+(ka*88|0)+16|0;c[ra>>2]=c[ra>>2]&-2|na&1;ra=(c[(c[f>>2]|0)+48>>2]|0)+(ka*88|0)+24|0;c[ra>>2]=(c[ra>>2]|0)+2;ra=(c[(c[f>>2]|0)+48>>2]|0)+(ka*88|0)+28|0;c[ra>>2]=(c[ra>>2]|0)+2;if((da(c[d>>2]|0,c[e>>2]|0)|0)==0){na=c[f>>2]|0}else{qa=0;do{if((qa|0)!=0){ra=c[f>>2]|0;c[(c[ra+(qa*52|0)+48>>2]|0)+(ka*88|0)+16>>2]=c[(c[ra+48>>2]|0)+(ka*88|0)+16>>2];ra=c[f>>2]|0;c[(c[ra+(qa*52|0)+48>>2]|0)+(ka*88|0)+20>>2]=c[(c[ra+48>>2]|0)+(ka*88|0)+20>>2];ra=c[f>>2]|0;c[(c[ra+(qa*52|0)+48>>2]|0)+(ka*88|0)+24>>2]=c[(c[ra+48>>2]|0)+(ka*88|0)+24>>2];ra=c[f>>2]|0;c[(c[ra+(qa*52|0)+48>>2]|0)+(ka*88|0)+28>>2]=c[(c[ra+48>>2]|0)+(ka*88|0)+28>>2];ra=c[f>>2]|0;c[(c[ra+(qa*52|0)+48>>2]|0)+(ka*88|0)+32>>2]=c[(c[ra+48>>2]|0)+(ka*88|0)+32>>2];ra=c[f>>2]|0;c[(c[ra+(qa*52|0)+48>>2]|0)+(ka*88|0)+36>>2]=c[(c[ra+48>>2]|0)+(ka*88|0)+36>>2]}oa=c[(c[f>>2]|0)+(qa*52|0)+48>>2]|0;oa=Ce(c[oa+(ka*88|0)+84>>2]|0,(c[oa+(ka*88|0)+20>>2]|0)+1|0,76)|0;c[(c[(c[f>>2]|0)+(qa*52|0)+48>>2]|0)+(ka*88|0)+84>>2]=oa;oa=c[(c[f>>2]|0)+(qa*52|0)+48>>2]|0;pa=0;do{c[(c[oa+(ka*88|0)+84>>2]|0)+(pa*76|0)+72>>2]=0;pa=pa+1|0;na=c[f>>2]|0;oa=c[na+(qa*52|0)+48>>2]|0;}while(pa>>>0<=(c[oa+(ka*88|0)+20>>2]|0)>>>0);qa=qa+1|0;}while(qa>>>0<(da(c[d>>2]|0,c[e>>2]|0)|0)>>>0)}oa=c[na+48>>2]|0;na=0;do{if((c[oa+(ka*88|0)+16>>2]&1|0)==0){c[(c[oa+(ka*88|0)+84>>2]|0)+(na*76|0)>>2]=15;c[(c[(c[(c[f>>2]|0)+48>>2]|0)+(ka*88|0)+84>>2]|0)+(na*76|0)+4>>2]=15}else{oa=c[k>>2]|0;oa=jd[c[(c[oa>>2]|0)+20>>2]&511](oa)|0;if((oa|0)==-1){o=135;break a}c[(c[(c[(c[f>>2]|0)+48>>2]|0)+(ka*88|0)+84>>2]|0)+(na*76|0)>>2]=oa&15;c[(c[(c[(c[f>>2]|0)+48>>2]|0)+(ka*88|0)+84>>2]|0)+(na*76|0)+4>>2]=oa>>>4&15}na=na+1|0;pa=c[f>>2]|0;oa=c[pa+48>>2]|0;}while(na>>>0<=(c[oa+(ka*88|0)+20>>2]|0)>>>0);if((da(c[d>>2]|0,c[e>>2]|0)|0)>>>0>1){la=pa;oa=1}else{qa=T;ra=ma;la=1;T=qa;ma=ra;continue a}while(1){na=c[la+(oa*52|0)+48>>2]|0;pa=0;do{c[(c[na+(ka*88|0)+84>>2]|0)+(pa*76|0)>>2]=c[(c[(c[la+48>>2]|0)+(ka*88|0)+84>>2]|0)+(pa*76|0)>>2];ra=c[f>>2]|0;c[(c[(c[ra+(oa*52|0)+48>>2]|0)+(ka*88|0)+84>>2]|0)+(pa*76|0)+4>>2]=c[(c[(c[ra+48>>2]|0)+(ka*88|0)+84>>2]|0)+(pa*76|0)+4>>2];pa=pa+1|0;la=c[f>>2]|0;na=c[la+(oa*52|0)+48>>2]|0;}while(pa>>>0<=(c[na+(ka*88|0)+20>>2]|0)>>>0);oa=oa+1|0;if(oa>>>0>=(da(c[d>>2]|0,c[e>>2]|0)|0)>>>0){qa=T;ra=ma;la=1;T=qa;ma=ra;continue a}}break};case 144:{o=225;break a};default:{ra=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0;c[V>>2]=oa;Qe(ra,183784,W);na=na+ -2|0;if((na|0)==0){pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}else{oa=0}while(1){ra=c[k>>2]|0;oa=oa+1|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)!=-1&oa>>>0<na>>>0){}else{pa=T;qa=ma;ra=la;T=pa;ma=qa;la=ra;continue a}}}}}if((o|0)==10){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183208,R);ra=0;i=h;return ra|0}else if((o|0)==52){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183232,L);ra=0;i=h;return ra|0}else if((o|0)==55){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183264,M);ra=0;i=h;return ra|0}else if((o|0)==58){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183328,N);ra=0;i=h;return ra|0}else if((o|0)==67){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183232,O);ra=0;i=h;return ra|0}else if((o|0)==81){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183376,P);ra=0;i=h;return ra|0}else if((o|0)==95){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183376,Q);ra=0;i=h;return ra|0}else if((o|0)==110){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183408,S);ra=0;i=h;return ra|0}else if((o|0)==124){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183456,Y);ra=0;i=h;return ra|0}else if((o|0)==135){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183376,ga);ra=0;i=h;return ra|0}else if((o|0)==144){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183488,ha);ra=0;i=h;return ra|0}else if((o|0)==148){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183488,ja);ra=0;i=h;return ra|0}else if((o|0)==153){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183488,r);ra=0;i=h;return ra|0}else if((o|0)==157){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183488,s);ra=0;i=h;return ra|0}else if((o|0)==159){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183488,t);ra=0;i=h;return ra|0}else if((o|0)==171){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183520,u);ra=0;i=h;return ra|0}else if((o|0)==180){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183568,v);ra=0;i=h;return ra|0}else if((o|0)==184){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183568,w);ra=0;i=h;return ra|0}else if((o|0)==189){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183568,x);ra=0;i=h;return ra|0}else if((o|0)==193){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183488,y);ra=0;i=h;return ra|0}else if((o|0)==195){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183568,z);ra=0;i=h;return ra|0}else if((o|0)==204){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183608,A);ra=0;i=h;return ra|0}else if((o|0)==208){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183608,B);ra=0;i=h;return ra|0}else if((o|0)==212){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183608,C);ra=0;i=h;return ra|0}else if((o|0)==215){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183656,D);ra=0;i=h;return ra|0}else if((o|0)==218){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183688,E);ra=0;i=h;return ra|0}else if((o|0)==221){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183720,F);ra=0;i=h;return ra|0}else if((o|0)==224){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183752,G);ra=0;i=h;return ra|0}else if((o|0)==225){if(!T){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183832,H);ra=0;i=h;return ra|0}if(!la){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183880,I);ra=0;i=h;return ra|0}if(!ma){Qe(jd[c[(c[b>>2]|0)+48>>2]&511](b)|0,183928,J);ra=0;i=h;return ra|0}c:while(1){if(!(VD(b)|0)){j=0;o=249;break}d:while(1){n=c[k>>2]|0;n=jd[c[(c[n>>2]|0)+20>>2]&511](n)|0;if((n|0)==-1){o=241;break c}else if((n|0)!=255){continue}while(1){n=c[k>>2]|0;n=jd[c[(c[n>>2]|0)+20>>2]&511](n)|0;if((n|0)==-1){o=241;break c}else if((n|0)==0){continue d}else if((n|0)!=255){break d}}}if((n+ -48|0)>>>0>=16){if((n|0)==217){o=238;break}else if((n|0)==147|(n|0)==146|(n|0)==79){o=243;break}ra=c[k>>2]|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=241;break}ra=c[k>>2]|0;if((jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0)==-1){o=241;break}}if((n|0)==217){o=238;break}else if((n|0)!=144){o=243;break}}if((o|0)==238){if((da(c[d>>2]|0,c[e>>2]|0)|0)==0){ra=1;i=h;return ra|0}else{k=0}while(1){l=c[f>>2]|0;j=l+(k*52|0)|0;if((c[g>>2]|0)!=0){l=l+(k*52|0)+48|0;m=0;do{WD(b,(c[l>>2]|0)+(m*88|0)|0);m=m+1|0;}while(m>>>0<(c[g>>2]|0)>>>0)}k=k+1|0;if(!(XD(b,j)|0)){j=0;o=249;break}if(k>>>0>=(dada(c[d+176>>2]|0,c[J>>2]|0)|0)>>>0){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,184048,h);X=0;i=f;return X|0}h=(k|0)==0;L=d+180|0;j=d+168|0;M=c[p>>2]|0;k=k+ -12|0;a:while(1){b:while(1){N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=21;break a}else if((N|0)!=255){continue}while(1){N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==0){continue b}else if((N|0)==-1){e=21;break a}else if((N|0)!=255){break b}}}do{if((N+ -48|0)>>>0<16){O=0}else{if((N|0)==79|(N|0)==146|(N|0)==147|(N|0)==217){O=0;break}P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=21;break a}O=c[D>>2]|0;O=jd[c[(c[O>>2]|0)+20>>2]&511](O)|0;if((O|0)==-1){e=21;break a}O=O|P<<8}}while(0);k=k+ -2-O|0;switch(N|0){case 93:{if((c[j>>2]|0)>>>0>256){Q=c[D>>2]|0;Q=jd[c[(c[Q>>2]|0)+20>>2]&511](Q)|0;if((Q|0)==-1){e=105;break a}N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=105;break a}P=c[j>>2]|0;if(P>>>0<257){e=101}else{N=N|Q<<8}}else{e=101}if((e|0)==101){e=0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=105;break a}P=c[j>>2]|0}if(N>>>0>=P>>>0){e=105;break a}Q=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=105;break a}c[Q+(N*88|0)+40>>2]=P;Q=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=c[Q+(N*88|0)+40>>2]&31;if((P|0)==0){c[Q+(N*88|0)+48>>2]=O-((c[j>>2]|0)>>>0>256?5:4);P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=Ce(c[P+(N*88|0)+44>>2]|0,c[P+(N*88|0)+48>>2]|0,4)|0;c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+44>>2]=P;P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;if((c[P+(N*88|0)+48>>2]|0)==0){continue a}else{O=0}while(1){Q=c[P+(N*88|0)+44>>2]|0;P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=109;break a}c[Q+(O<<2)>>2]=P;O=O+1|0;P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;if(O>>>0>=(c[P+(N*88|0)+48>>2]|0)>>>0){continue a}}}else if((P|0)==1){c[Q+(N*88|0)+48>>2]=1;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;O=Ce(c[O+(N*88|0)+44>>2]|0,c[O+(N*88|0)+48>>2]|0,4)|0;c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+44>>2]=O;O=c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+44>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=114;break a}P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=114;break a}c[O>>2]=P|N<<8;continue a}else if((P|0)==2){c[Q+(N*88|0)+48>>2]=(O-((c[j>>2]|0)>>>0>256?5:4)|0)>>>1;P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=Ce(c[P+(N*88|0)+44>>2]|0,c[P+(N*88|0)+48>>2]|0,4)|0;c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+44>>2]=P;P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;if((c[P+(N*88|0)+48>>2]|0)==0){continue a}else{O=0}while(1){Q=(c[P+(N*88|0)+44>>2]|0)+(O<<2)|0;R=c[D>>2]|0;R=jd[c[(c[R>>2]|0)+20>>2]&511](R)|0;if((R|0)==-1){e=118;break a}P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=118;break a}c[Q>>2]=P|R<<8;O=O+1|0;P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;if(O>>>0>=(c[P+(N*88|0)+48>>2]|0)>>>0){continue a}}}else{e=120;break a}break};case 82:{O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=35;break a}c[O+16>>2]=N;O=c[L>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=35;break a}c[O+(g*52|0)>>2]=N;O=(c[L>>2]|0)+(g*52|0)+4|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=35;break a}P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=35;break a}c[O>>2]=P|N<<8;O=c[L>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=35;break a}c[O+(g*52|0)+8>>2]=N;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=35;break a}c[O+20>>2]=N;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=35;break a}c[O+24>>2]=N;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=35;break a}c[O+28>>2]=N;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=35;break a}c[O+32>>2]=N;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=35;break a}c[O+36>>2]=N;X=(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+24|0;c[X>>2]=(c[X>>2]|0)+2;X=(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+28|0;c[X>>2]=(c[X>>2]|0)+2;if((c[j>>2]|0)==0){N=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;O=0}else{O=0;while(1){if((O|0)!=0){X=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;c[X+(O*88|0)+16>>2]=c[X+16>>2];X=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;c[X+(O*88|0)+20>>2]=c[X+20>>2];X=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;c[X+(O*88|0)+24>>2]=c[X+24>>2];X=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;c[X+(O*88|0)+28>>2]=c[X+28>>2];X=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;c[X+(O*88|0)+32>>2]=c[X+32>>2];X=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;c[X+(O*88|0)+36>>2]=c[X+36>>2]}N=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;N=Ce(c[N+(O*88|0)+84>>2]|0,(c[N+(O*88|0)+20>>2]|0)+1|0,76)|0;c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(O*88|0)+84>>2]=N;N=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=0;do{c[(c[N+(O*88|0)+84>>2]|0)+(P*76|0)+72>>2]=0;P=P+1|0;N=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;}while(P>>>0<=(c[N+(O*88|0)+20>>2]|0)>>>0);O=O+1|0;if(O>>>0>=(c[j>>2]|0)>>>0){O=0;break}}}do{if((c[N+16>>2]&1|0)==0){c[(c[N+84>>2]|0)+(O*76|0)>>2]=15;c[(c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+84>>2]|0)+(O*76|0)+4>>2]=15}else{N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=45;break a}c[(c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+84>>2]|0)+(O*76|0)>>2]=N&15;c[(c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+84>>2]|0)+(O*76|0)+4>>2]=N>>>4&15}O=O+1|0;N=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;}while(O>>>0<=(c[N+20>>2]|0)>>>0);if((c[j>>2]|0)>>>0>1){O=1}else{continue a}while(1){P=0;do{c[(c[N+(O*88|0)+84>>2]|0)+(P*76|0)>>2]=c[(c[N+84>>2]|0)+(P*76|0)>>2];X=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;c[(c[X+(O*88|0)+84>>2]|0)+(P*76|0)+4>>2]=c[(c[X+84>>2]|0)+(P*76|0)+4>>2];P=P+1|0;N=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;}while(P>>>0<=(c[N+(O*88|0)+20>>2]|0)>>>0);O=O+1|0;if(O>>>0>=(c[j>>2]|0)>>>0){continue a}}break};case 88:{N=O+ -2|0;break};case 100:{N=O+ -2|0;if((N|0)==0){continue a}else{O=0}while(1){X=c[D>>2]|0;O=O+1|0;if((jd[c[(c[X>>2]|0)+20>>2]&511](X)|0)==-1){e=139;break a}if(O>>>0<N>>>0){}else{continue a}}break};case 83:{if((c[j>>2]|0)>>>0>256){N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=66;break a}P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=66;break a}O=c[j>>2]|0;if(O>>>0<257){e=57}else{N=P|N<<8}}else{e=57}if((e|0)==57){e=0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=66;break a}O=c[j>>2]|0}if(N>>>0>=O>>>0){e=66;break a}O=c[D>>2]|0;O=jd[c[(c[O>>2]|0)+20>>2]&511](O)|0;if((O|0)==-1){e=66;break a}Q=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=66;break a}c[Q+(N*88|0)+20>>2]=P;Q=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=66;break a}c[Q+(N*88|0)+24>>2]=P;Q=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=66;break a}c[Q+(N*88|0)+28>>2]=P;Q=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=66;break a}c[Q+(N*88|0)+32>>2]=P;Q=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=66;break a}c[Q+(N*88|0)+36>>2]=P;P=(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+16|0;c[P>>2]=c[P>>2]&-2|O&1;P=(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+24|0;c[P>>2]=(c[P>>2]|0)+2;P=(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+28|0;c[P>>2]=(c[P>>2]|0)+2;P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=Ce(c[P+(N*88|0)+84>>2]|0,(c[P+(N*88|0)+20>>2]|0)+1|0,76)|0;c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+84>>2]=P;P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;O=0;while(1){c[(c[P+(N*88|0)+84>>2]|0)+(O*76|0)+72>>2]=0;O=O+1|0;P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;if(O>>>0>(c[P+(N*88|0)+20>>2]|0)>>>0){O=0;break}else{}}while(1){if((c[P+(N*88|0)+16>>2]&1|0)==0){c[(c[P+(N*88|0)+84>>2]|0)+(O*76|0)>>2]=15;c[(c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+84>>2]|0)+(O*76|0)+4>>2]=15}else{P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=71;break a}c[(c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+84>>2]|0)+(O*76|0)>>2]=P&15;c[(c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+84>>2]|0)+(O*76|0)+4>>2]=P>>>4&15}O=O+1|0;P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;if(O>>>0>(c[P+(N*88|0)+20>>2]|0)>>>0){continue a}}break};case 95:{Rb(183640,4,1,M|0)|0;N=O+ -2|0;if((N|0)==0){continue a}else{O=0}while(1){X=c[D>>2]|0;O=O+1|0;if((jd[c[(c[X>>2]|0)+20>>2]&511](X)|0)==-1){e=128;break a}if(O>>>0<N>>>0){}else{continue a}}break};case 97:{Rb(184120,4,1,M|0)|0;N=O+ -2|0;if((N|0)==0){continue a}else{O=0}while(1){X=c[D>>2]|0;O=O+1|0;if((jd[c[(c[X>>2]|0)+20>>2]&511](X)|0)==-1){e=132;break a}if(O>>>0<N>>>0){}else{break}}break};case 94:{Rb(183600,4,1,M|0)|0;N=O+ -2|0;if((N|0)==0){continue a}else{O=0}while(1){X=c[D>>2]|0;O=O+1|0;if((jd[c[(c[X>>2]|0)+20>>2]&511](X)|0)==-1){e=124;break a}if(O>>>0<N>>>0){}else{continue a}}break};case 147:{e=142;break a};case 92:{P=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=76;break a}c[P+40>>2]=N;N=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;P=c[N+40>>2]&31;do{if((P|0)==2){c[N+48>>2]=(O+ -3|0)>>>1;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;O=Ce(c[O+44>>2]|0,c[O+48>>2]|0,4)|0;c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+44>>2]=O;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;if((c[O+48>>2]|0)==0){break}else{N=0}do{P=(c[O+44>>2]|0)+(N<<2)|0;O=c[D>>2]|0;O=jd[c[(c[O>>2]|0)+20>>2]&511](O)|0;if((O|0)==-1){e=89;break a}Q=c[D>>2]|0;Q=jd[c[(c[Q>>2]|0)+20>>2]&511](Q)|0;if((Q|0)==-1){e=89;break a}c[P>>2]=Q|O<<8;N=N+1|0;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;}while(N>>>0<(c[O+48>>2]|0)>>>0)}else if((P|0)==1){c[N+48>>2]=1;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;O=Ce(c[O+44>>2]|0,c[O+48>>2]|0,4)|0;c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+44>>2]=O;O=c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+44>>2]|0;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){e=85;break a}P=c[D>>2]|0;P=jd[c[(c[P>>2]|0)+20>>2]&511](P)|0;if((P|0)==-1){e=85;break a}c[O>>2]=P|N<<8}else if((P|0)==0){c[N+48>>2]=O+ -3;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;O=Ce(c[O+44>>2]|0,c[O+48>>2]|0,4)|0;c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+44>>2]=O;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;if((c[O+48>>2]|0)==0){break}else{N=0}do{P=c[O+44>>2]|0;O=c[D>>2]|0;O=jd[c[(c[O>>2]|0)+20>>2]&511](O)|0;if((O|0)==-1){e=80;break a}c[P+(N<<2)>>2]=O;N=N+1|0;O=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;}while(N>>>0<(c[O+48>>2]|0)>>>0)}else{e=91;break a}}while(0);if((c[j>>2]|0)>>>0<=1){continue a}Q=c[L>>2]|0;N=1;while(1){Q=c[Q+(g*52|0)+48>>2]|0;c[Q+(N*88|0)+40>>2]=c[Q+40>>2];Q=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;c[Q+(N*88|0)+48>>2]=c[Q+48>>2];Q=c[(c[L>>2]|0)+(g*52|0)+48>>2]|0;Q=Ce(c[Q+(N*88|0)+44>>2]|0,c[Q+48>>2]|0,4)|0;c[(c[(c[L>>2]|0)+(g*52|0)+48>>2]|0)+(N*88|0)+44>>2]=Q;Q=c[L>>2]|0;O=c[Q+(g*52|0)+48>>2]|0;if((c[O+48>>2]|0)!=0){P=0;while(1){c[(c[O+(N*88|0)+44>>2]|0)+(P<<2)>>2]=c[(c[O+44>>2]|0)+(P<<2)>>2];P=P+1|0;Q=c[L>>2]|0;O=c[Q+(g*52|0)+48>>2]|0;if(P>>>0<(c[O+48>>2]|0)>>>0){}else{break}}}N=N+1|0;if(N>>>0>=(c[j>>2]|0)>>>0){continue a}}break};default:{X=jd[c[(c[d>>2]|0)+48>>2]&511](d)|0;c[F>>2]=N;Qe(X,184192,G);N=O+ -2|0;if((N|0)==0){continue a}else{O=0}while(1){X=c[D>>2]|0;O=O+1|0;if((jd[c[(c[X>>2]|0)+20>>2]&511](X)|0)!=-1&O>>>0<N>>>0){}else{continue a}}}}if((N|0)==0){continue}else{O=0}while(1){X=c[D>>2]|0;O=O+1|0;if((jd[c[(c[X>>2]|0)+20>>2]&511](X)|0)==-1){e=136;break a}if(O>>>0<N>>>0){}else{continue a}}}if((e|0)==21){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,184080,E);X=0;i=f;return X|0}else if((e|0)==35){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183376,H);X=0;i=f;return X|0}else if((e|0)==45){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183376,I);X=0;i=f;return X|0}else if((e|0)==66){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183456,l);X=0;i=f;return X|0}else if((e|0)==71){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183376,m);X=0;i=f;return X|0}else if((e|0)==76){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183488,n);X=0;i=f;return X|0}else if((e|0)==80){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183488,o);X=0;i=f;return X|0}else if((e|0)==85){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183488,q);X=0;i=f;return X|0}else if((e|0)==89){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183488,r);X=0;i=f;return X|0}else if((e|0)==91){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183488,s);X=0;i=f;return X|0}else if((e|0)==105){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183568,t);X=0;i=f;return X|0}else if((e|0)==109){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183568,u);X=0;i=f;return X|0}else if((e|0)==114){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183568,v);X=0;i=f;return X|0}else if((e|0)==118){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183488,w);X=0;i=f;return X|0}else if((e|0)==120){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183568,x);X=0;i=f;return X|0}else if((e|0)==124){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183608,y);X=0;i=f;return X|0}else if((e|0)==128){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183608,z);X=0;i=f;return X|0}else if((e|0)==132){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,184128,A);X=0;i=f;return X|0}else if((e|0)==136){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,184160,B);X=0;i=f;return X|0}else if((e|0)==139){Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,183752,C);X=0;i=f;return X|0}else if((e|0)==142){c:do{if((K|0)==0){r=c[L>>2]|0;t=c[J>>2]|0;o=(g>>>0)/(t>>>0)|0;t=(g>>>0)%(t>>>0)|0;n=d+160|0;u=d+152|0;q=(da(c[u>>2]|0,t)|0)+(c[n>>2]|0)|0;l=r+(g*52|0)+12|0;c[l>>2]=q;m=c[d+144>>2]|0;c[l>>2]=q>>>0<m>>>0?m:q;s=d+164|0;q=d+156|0;w=(da(c[q>>2]|0,o)|0)+(c[s>>2]|0)|0;m=r+(g*52|0)+16|0;c[m>>2]=w;v=c[d+148>>2]|0;c[m>>2]=w>>>0<v>>>0?v:w;u=(da(c[u>>2]|0,t+1|0)|0)+(c[n>>2]|0)|0;n=r+(g*52|0)+20|0;c[n>>2]=u;t=c[d+136>>2]|0;c[n>>2]=u>>>0>t>>>0?t:u;q=(da(c[q>>2]|0,o+1|0)|0)+(c[s>>2]|0)|0;o=r+(g*52|0)+24|0;c[o>>2]=q;s=c[d+140>>2]|0;c[o>>2]=q>>>0>s>>>0?s:q;q=r+(g*52|0)+28|0;bX(q|0,0,20)|0;if((c[j>>2]|0)==0){break}r=r+(g*52|0)+48|0;u=0;t=0;while(1){C=c[r>>2]|0;s=C+(t*88|0)+20|0;v=c[s>>2]|0;if(v>>>0>u>>>0){c[q>>2]=v}W=c[C+(t*88|0)+8>>2]|0;D=(((c[l>>2]|0)+ -1+W|0)>>>0)/(W>>>0)|0;v=C+(t*88|0)+52|0;c[v>>2]=D;X=(((c[m>>2]|0)+ -1+W|0)>>>0)/(W>>>0)|0;B=C+(t*88|0)+56|0;c[B>>2]=X;E=(((c[n>>2]|0)+ -1+W|0)>>>0)/(W>>>0)|0;y=C+(t*88|0)+60|0;c[y>>2]=E;W=(((c[o>>2]|0)+ -1+W|0)>>>0)/(W>>>0)|0;A=C+(t*88|0)+64|0;c[A>>2]=W;w=C+(t*88|0)+24|0;x=C+(t*88|0)+68|0;c[x>>2]=1<<c[w>>2];u=C+(t*88|0)+28|0;z=C+(t*88|0)+72|0;c[z>>2]=1<<c[u>>2];c[C+(t*88|0)+76>>2]=ye(dada((X+Q|0)>>>S,(X+P|0)>>>S)|0)+R|0;if((S|0)>0){S=S+ -1|0;e=157}else{break}}}P=O+(N*40|0)+28|0;c[P>>2]=ye(R,8)|0;Q=O+(N*40|0)+32|0;c[Q>>2]=ye(R,8)|0;if((R|0)!=0){S=0;do{a[(c[P>>2]|0)+(S<<3)|0]=0;c[(c[P>>2]|0)+(S<<3)+4>>2]=0;a[(c[Q>>2]|0)+(S<<3)|0]=0;c[(c[Q>>2]|0)+(S<<3)+4>>2]=0;S=S+1|0;}while(S>>>0<R>>>0)}R=ye(da(c[M>>2]|0,c[H>>2]|0)|0,56)|0;c[O+(N*40|0)+36>>2]=R;O=(c[L>>2]|0)>>>(c[w>>2]|0);P=(c[J>>2]|0)>>>(c[u>>2]|0);S=c[M>>2]|0;if((S|0)!=0){T=c[H>>2]|0;Q=0;do{if((T|0)==0){T=0}else{S=Q+P|0;T=0;do{X=T+O<<c[w>>2];c[R>>2]=X;V=X+(c[x>>2]|0)|0;U=R+8|0;c[U>>2]=V;W=c[L>>2]|0;if(W>>>0>X>>>0){c[R>>2]=W}W=c[K>>2]|0;if(W>>>0<V>>>0){c[U>>2]=W}Y=S<<c[u>>2];W=R+4|0;c[W>>2]=Y;U=Y+(c[z>>2]|0)|0;V=R+12|0;c[V>>2]=U;X=c[J>>2]|0;if(X>>>0>Y>>>0){c[W>>2]=X}W=c[I>>2]|0;if(W>>>0<U>>>0){c[V>>2]=W}a[R+16|0]=0;c[R+20>>2]=3;c[R+24>>2]=2;c[R+28>>2]=0;U=ye(1<<(c[u>>2]|0)+(c[w>>2]|0),8)|0;V=R+44|0;c[V>>2]=U;W=0;while(1){b[U+(W<<3)>>1]=0;b[(c[V>>2]|0)+(W<<3)+2>>1]=0;c[(c[V>>2]|0)+(W<<3)+4>>2]=0;W=W+1|0;if(W>>>0>=1<<(c[u>>2]|0)+(c[w>>2]|0)>>>0){break}U=c[V>>2]|0}c[R+48>>2]=0;c[R+52>>2]=0;R=R+56|0;T=T+1|0;U=c[H>>2]|0;}while(T>>>0<U>>>0);S=c[M>>2]|0;T=U}Q=Q+1|0;}while(Q>>>0<S>>>0)}N=N+1|0;if(N>>>0>=F>>>0){break}O=c[G>>2]|0}C=C+1|0;P=c[s>>2]|0;}while(C>>>0<=P>>>0);t=t+1|0;if(t>>>0>=(c[j>>2]|0)>>>0){break c}u=c[q>>2]|0}}}while(0);Y=YD(d,g,k,h)|0;i=f;return Y|0}}}while(0);Qe(jd[c[(c[d>>2]|0)+48>>2]&511](d)|0,184016,j);Y=0;i=f;return Y|0}function WD(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;f=i;g=d+84|0;k=c[(c[(c[g>>2]|0)+72>>2]|0)+16>>2]|0;h=c[d+40>>2]|0;l=h>>>5&7;h=(h&31|0)==0;if(h){j=0.0;m=l+ -1+((c[c[d+44>>2]>>2]|0)>>>3&31)|0}else{j=+((c[c[d+44>>2]>>2]&2047|2048)>>>0)*.00048828125;m=l+ -1+(c[d+4>>2]|0)|0}l=d+36|0;n=(c[l>>2]|0)==0?m+16|0:m;o=k+20|0;v=c[o>>2]|0;if((v|0)!=0){q=k+16|0;m=k+4|0;r=d+60|0;s=d+52|0;p=d+76|0;t=d+68|0;x=c[q>>2]|0;y=x;u=0;w=c[k+36>>2]|0;do{if((x|0)==0){x=0}else{v=0;while(1){B=c[w+4>>2]|0;x=w+12|0;C=c[x>>2]|0;if(B>>>0<C>>>0){y=w+8|0;z=w+28|0;F=c[y>>2]|0;A=c[w+44>>2]|0;while(1){D=da((c[r>>2]|0)-(c[s>>2]|0)|0,B-(c[m>>2]|0)|0)|0;E=c[w>>2]|0;D=(c[p>>2]|0)+(E-(c[k>>2]|0)+D<<2)|0;if(E>>>0<F>>>0){if(h){C=A;while(1){G=c[C+4>>2]|0;if((G|0)==0){F=0}else{F=n-(c[z>>2]|0)-(e[C+2>>1]|0)|0;if((F|0)>0){F=(1<<F+ -1)+(G<<F)|0}else{F=G>>0-F}F=(c[l>>2]|0)==0?F&-65536:F;F=(b[C>>1]&128)==0?F:0-F|0}c[D>>2]=F;E=E+1|0;F=c[y>>2]|0;if(E>>>0<F>>>0){C=C+8|0;D=D+4|0}else{break}}}else{C=A;while(1){G=c[C+4>>2]|0;if((G|0)==0){F=0}else{F=n-(c[z>>2]|0)-(e[C+2>>1]|0)|0;if((F|0)>0){F=(1<<F+ -1)+(G<<F)|0}else{F=G>>0-F}F=~~(j*+(F|0));F=(b[C>>1]&128)==0?F:0-F|0}c[D>>2]=F;E=E+1|0;F=c[y>>2]|0;if(E>>>0<F>>>0){C=C+8|0;D=D+4|0}else{break}}}C=c[x>>2]|0}B=B+1|0;if(B>>>0>=C>>>0){break}A=A+(c[t>>2]<<3)|0}x=c[q>>2]|0}else{x=y}w=w+56|0;v=v+1|0;if(v>>>0<x>>>0){y=x}else{break}}y=x;v=c[o>>2]|0}u=u+1|0;}while(u>>>0<v>>>0)}l=d+20|0;r=c[l>>2]|0;if((r|0)==0){i=f;return}n=d+52|0;k=d+56|0;m=d+60|0;h=d+64|0;p=1;while(1){q=c[g>>2]|0;o=p+1|0;if((p|0)==(r|0)){s=n;u=m;r=k;t=h}else{s=q+(o*76|0)+8|0;u=q+(o*76|0)+16|0;r=q+(o*76|0)+12|0;t=q+(o*76|0)+20|0}_D(a,d,p,q+(p*76|0)|0,c[s>>2]|0,c[r>>2]|0,c[u>>2]|0,c[t>>2]|0);r=c[l>>2]|0;if(o>>>0>r>>>0){break}else{p=o}}i=f;return}function XD(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0.0,w=0.0,x=0.0;e=i;b=b+168|0;do{if((c[d+8>>2]|0)==1){if((c[b>>2]|0)>>>0<3){u=0;i=e;return u|0}f=d+48|0;h=c[f>>2]|0;j=c[h+8>>2]|0;if((j|0)!=(c[h+96>>2]|0)){u=0;i=e;return u|0}g=c[h+12>>2]|0;if((g|0)!=(c[h+100>>2]|0)){u=0;i=e;return u|0}if((j|0)!=(c[h+184>>2]|0)){u=0;i=e;return u|0}if((g|0)!=(c[h+188>>2]|0)){u=0;i=e;return u|0}g=(c[h+64>>2]|0)==(c[h+56>>2]|0);if((c[h+36>>2]|0)==0){if(g){break}else{j=0;g=0}do{if((c[h+60>>2]|0)!=(c[h+52>>2]|0)){k=h;h=0;while(1){t=(c[k+76>>2]|0)+(j<<2)|0;u=c[(c[k+164>>2]|0)+(j<<2)>>2]|0;w=+(c[t>>2]|0);x=+(c[(c[k+252>>2]|0)+(j<<2)>>2]|0);c[t>>2]=~~(w+x*1.402+.5);v=+(u|0);c[(c[(c[f>>2]|0)+164>>2]|0)+(j<<2)>>2]=~~(w-v*.34413-x*.71414+.5);c[(c[(c[f>>2]|0)+252>>2]|0)+(j<<2)>>2]=~~(w+v*1.772+.5);j=j+1|0;h=h+1|0;k=c[f>>2]|0;if(h>>>0<((c[k+60>>2]|0)-(c[k+52>>2]|0)|0)>>>0){}else{h=k;break}}}g=g+1|0;}while(g>>>0<((c[h+64>>2]|0)-(c[h+56>>2]|0)|0)>>>0)}else{if(g){break}else{j=0;g=0}do{if((c[h+60>>2]|0)!=(c[h+52>>2]|0)){k=0;while(1){s=(c[h+164>>2]|0)+(j<<2)|0;u=c[s>>2]|0;t=c[(c[h+252>>2]|0)+(j<<2)>>2]|0;h=(c[(c[h+76>>2]|0)+(j<<2)>>2]|0)-(t+u>>2)|0;c[s>>2]=h;c[(c[(c[f>>2]|0)+76>>2]|0)+(j<<2)>>2]=h+t;c[(c[(c[f>>2]|0)+252>>2]|0)+(j<<2)>>2]=h+u;j=j+1|0;k=k+1|0;h=c[f>>2]|0;if(k>>>0<((c[h+60>>2]|0)-(c[h+52>>2]|0)|0)>>>0){}else{break}}}g=g+1|0;}while(g>>>0<((c[h+64>>2]|0)-(c[h+56>>2]|0)|0)>>>0)}}}while(0);if((c[b>>2]|0)==0){u=1;i=e;return u|0}d=d+48|0;f=0;while(1){o=c[d>>2]|0;h=c[o+(f*88|0)+4>>2]|0;do{if((a[o+(f*88|0)|0]&1)==0){g=(1<<h)+ -1|0;l=1<<h+ -1;k=o+(f*88|0)+64|0;r=c[k>>2]|0;j=o+(f*88|0)+56|0;p=c[j>>2]|0;if((r|0)==(p|0)){break}h=o+(f*88|0)+60|0;n=o+(f*88|0)+52|0;m=o+(f*88|0)+36|0;s=c[n>>2]|0;t=c[h>>2]|0;u=c[o+(f*88|0)+76>>2]|0;o=0;while(1){if((t|0)==(s|0)){q=s;t=s}else{p=0;while(1){q=c[u>>2]|0;q=((c[m>>2]|0)==0?q>>16:q)+l|0;if((q|0)<0){q=0}else{q=(q|0)>(g|0)?g:q}s=u+4|0;c[u>>2]=q;p=p+1|0;t=c[h>>2]|0;q=c[n>>2]|0;if(p>>>0<(t-q|0)>>>0){u=s}else{break}}p=c[j>>2]|0;r=c[k>>2]|0;u=s}o=o+1|0;if(o>>>0<(r-p|0)>>>0){s=q}else{break}}}else{h=1<<h+ -1;l=0-h|0;h=h+ -1|0;k=o+(f*88|0)+64|0;p=c[k>>2]|0;j=o+(f*88|0)+56|0;r=c[j>>2]|0;if((p|0)==(r|0)){break}m=o+(f*88|0)+60|0;n=o+(f*88|0)+52|0;g=o+(f*88|0)+36|0;s=c[n>>2]|0;t=c[m>>2]|0;u=c[o+(f*88|0)+76>>2]|0;o=0;while(1){if((t|0)==(s|0)){q=s;t=s}else{p=0;while(1){q=c[u>>2]|0;q=(c[g>>2]|0)==0?q>>16:q;if((q|0)<(l|0)){q=l}else{q=(q|0)>(h|0)?h:q}s=u+4|0;c[u>>2]=q;p=p+1|0;t=c[m>>2]|0;q=c[n>>2]|0;if(p>>>0<(t-q|0)>>>0){u=s}else{break}}r=c[j>>2]|0;p=c[k>>2]|0;u=s}o=o+1|0;if(o>>>0<(p-r|0)>>>0){s=q}else{break}}}}while(0);f=f+1|0;if(f>>>0>=(c[b>>2]|0)>>>0){b=1;break}}i=e;return b|0}function YD(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;g=i;j=i;i=i+8|0;x=c[b+180>>2]|0;o=f^1;if((e|0)==0&o){V=1;i=g;return V|0}l=x+(d*52|0)+32|0;s=x+(d*52|0)+48|0;q=x+(d*52|0)+36|0;t=x+(d*52|0)+40|0;r=b+188|0;u=b+192|0;v=b+196|0;f=b+8|0;w=b+184|0;k=x+(d*52|0)|0;m=b+168|0;p=x+(d*52|0)+28|0;n=x+(d*52|0)+44|0;x=x+(d*52|0)+4|0;A=c[q>>2]|0;a:while(1){z=c[l>>2]|0;V=c[s>>2]|0;d=V+(z*88|0)|0;y=c[t>>2]|0;z=c[(c[V+(z*88|0)+84>>2]|0)+(A*76|0)+72>>2]|0;c[r>>2]=0;a[u]=0;c[v>>2]=e;do{if((e|0)==0){break a}A=c[f>>2]|0;A=jd[c[(c[A>>2]|0)+20>>2]&511](A)|0;if((A|0)==-1){break a}e=(c[v>>2]|0)+ -1|0;c[v>>2]=e;B=c[w>>2]|0;if((a[u]&1)==0){B=B<<8|A&255;c[w>>2]=B;C=(c[r>>2]|0)+8|0}else{B=B<<7|A&127;c[w>>2]=B;C=(c[r>>2]|0)+7|0}c[r>>2]=C;a[u]=(A|0)==255|0;}while((C|0)<1);V=C+ -1|0;c[r>>2]=V;A=z+(y*20|0)+16|0;if((1<<V&B|0)==0){D=0;do{E=c[A>>2]|0;B=E+(D*40|0)+20|0;F=c[B>>2]|0;if((F|0)!=0){C=E+(D*40|0)+16|0;E=E+(D*40|0)+36|0;G=c[C>>2]|0;e=0;do{if((G|0)==0){G=0}else{F=0;do{V=(da(G,e)|0)+F|0;c[(c[E>>2]|0)+(V*56|0)+32>>2]=0;F=F+1|0;G=c[C>>2]|0;}while(F>>>0<G>>>0);F=c[B>>2]|0}e=e+1|0;}while(e>>>0<F>>>0)}D=D+1|0;}while(D>>>0<((c[q>>2]|0)==0?1:3)>>>0)}else{e=0;do{G=c[A>>2]|0;B=G+(e*40|0)+20|0;I=c[B>>2]|0;if((I|0)!=0){D=G+(e*40|0)+16|0;F=G+(e*40|0)+36|0;E=G+(e*40|0)+24|0;C=G+(e*40|0)+28|0;G=G+(e*40|0)+32|0;J=c[D>>2]|0;O=J;H=0;do{if((J|0)==0){J=0}else{I=0;while(1){K=(da(J,H)|0)+I|0;J=c[F>>2]|0;do{if((c[J+(K*56|0)>>2]|0)>>>0<(c[J+(K*56|0)+8>>2]|0)>>>0){if((c[J+(K*56|0)+4>>2]|0)>>>0>=(c[J+(K*56|0)+12>>2]|0)>>>0){h=23;break}L=J+(K*56|0)+16|0;if((a[L]&1)==0){N=c[E>>2]|0;b:do{if((N|0)>-1){M=0;R=0;while(1){Q=(1<<N)+ -1|0;P=(Q+O|0)>>>N;O=(Q+(c[B>>2]|0)|0)>>>N;Q=(I>>>N)+M+(da(P,H>>>N)|0)|0;U=c[C>>2]|0;T=a[U+(Q<<3)|0]|0;V=U+(Q<<3)+4|0;S=c[V>>2]|0;if((T&1)==0&(S|0)==0){c[V>>2]=R;U=c[C>>2]|0;T=a[U+(Q<<3)|0]|0}else{R=S}c:do{if((T&1)==0){do{while(1){if(R>>>0>(c[n>>2]|0)>>>0){break c}U=c[r>>2]|0;if((U|0)<1){S=c[v>>2]|0;while(1){if((S|0)==0){break a}T=c[f>>2]|0;T=jd[c[(c[T>>2]|0)+20>>2]&511](T)|0;if((T|0)==-1){break a}S=(c[v>>2]|0)+ -1|0;c[v>>2]=S;U=c[w>>2]|0;if((a[u]&1)==0){V=U<<8|T&255;c[w>>2]=V;U=(c[r>>2]|0)+8|0}else{V=U<<7|T&127;c[w>>2]=V;U=(c[r>>2]|0)+7|0}c[r>>2]=U;a[u]=(T|0)==255|0;if((U|0)>=1){S=V;break}}}else{S=c[w>>2]|0}V=U+ -1|0;c[r>>2]=V;if((1<<V&S|0)==0){break}a[(c[C>>2]|0)+(Q<<3)|0]=1;U=c[C>>2]|0;if((a[U+(Q<<3)|0]&1)!=0){break c}}R=R+1|0;U=c[C>>2]|0;}while((a[U+(Q<<3)|0]&1)==0)}}while(0);c[U+(Q<<3)+4>>2]=R;if(R>>>0>(c[n>>2]|0)>>>0){break b}Q=N+ -1|0;if((N|0)<=0){N=Q;break b}N=(da(O,P)|0)+M|0;O=c[D>>2]|0;M=N;N=Q}}}while(0);M=N>>>31;c[J+(K*56|0)+32>>2]=M}else{M=J+(K*56|0)+32|0;P=c[r>>2]|0;if((P|0)<1){O=c[v>>2]|0;do{if((O|0)==0){break a}N=c[f>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){break a}O=(c[v>>2]|0)+ -1|0;c[v>>2]=O;P=c[w>>2]|0;if((a[u]&1)==0){Q=P<<8|N&255;c[w>>2]=Q;P=(c[r>>2]|0)+8|0}else{Q=P<<7|N&127;c[w>>2]=Q;P=(c[r>>2]|0)+7|0}c[r>>2]=P;a[u]=(N|0)==255|0;}while((P|0)<1)}else{Q=c[w>>2]|0}c[M>>2]=Q>>>(P+ -1|0)&1;c[r>>2]=(c[r>>2]|0)+ -1;M=c[M>>2]|0}if((M|0)==0){break}if((a[L]&1)==0){L=c[E>>2]|0;if((L|0)>-1){M=0;Q=0;while(1){O=(1<<L)+ -1|0;N=(O+(c[D>>2]|0)|0)>>>L;O=(O+(c[B>>2]|0)|0)>>>L;P=(I>>>L)+M+(da(N,H>>>L)|0)|0;S=c[G>>2]|0;T=a[S+(P<<3)|0]|0;U=S+(P<<3)+4|0;R=c[U>>2]|0;if((T&1)==0&(R|0)==0){c[U>>2]=Q;S=c[G>>2]|0;T=a[S+(P<<3)|0]|0}else{Q=R}d:do{if((T&1)==0){do{while(1){R=c[r>>2]|0;if((R|0)<1){S=c[v>>2]|0;while(1){if((S|0)==0){break a}T=c[f>>2]|0;T=jd[c[(c[T>>2]|0)+20>>2]&511](T)|0;if((T|0)==-1){break a}S=(c[v>>2]|0)+ -1|0;c[v>>2]=S;R=c[w>>2]|0;if((a[u]&1)==0){U=R<<8|T&255;c[w>>2]=U;R=(c[r>>2]|0)+8|0}else{U=R<<7|T&127;c[w>>2]=U;R=(c[r>>2]|0)+7|0}c[r>>2]=R;a[u]=(T|0)==255|0;if((R|0)>=1){S=U;break}}}else{S=c[w>>2]|0}V=R+ -1|0;c[r>>2]=V;if((1<<V&S|0)==0){break}a[(c[G>>2]|0)+(P<<3)|0]=1;S=c[G>>2]|0;if((a[S+(P<<3)|0]&1)!=0){break d}}Q=Q+1|0;S=c[G>>2]|0;}while((a[S+(P<<3)|0]&1)==0)}}while(0);c[S+(P<<3)+4>>2]=Q;M=(da(O,N)|0)+M|0;if((L|0)>0){L=L+ -1|0}else{break}}}else{Q=0}c[J+(K*56|0)+28>>2]=Q}N=c[r>>2]|0;if((N|0)<1){N=c[v>>2]|0;while(1){if((N|0)==0){break a}M=c[f>>2]|0;M=jd[c[(c[M>>2]|0)+20>>2]&511](M)|0;if((M|0)==-1){break a}N=(c[v>>2]|0)+ -1|0;c[v>>2]=N;L=c[w>>2]|0;if((a[u]&1)==0){L=L<<8|M&255;c[w>>2]=L;O=(c[r>>2]|0)+8|0}else{L=L<<7|M&127;c[w>>2]=L;O=(c[r>>2]|0)+7|0}c[r>>2]=O;a[u]=(M|0)==255|0;if((O|0)>=1){N=O;break}}}else{L=c[w>>2]|0}M=N+ -1|0;c[r>>2]=M;do{if((1<<M&L|0)==0){c[J+(K*56|0)+36>>2]=1}else{if((N|0)<2){M=c[v>>2]|0;while(1){if((M|0)==0){break a}N=c[f>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){break a}M=(c[v>>2]|0)+ -1|0;c[v>>2]=M;L=c[w>>2]|0;if((a[u]&1)==0){L=L<<8|N&255;c[w>>2]=L;O=(c[r>>2]|0)+8|0}else{L=L<<7|N&127;c[w>>2]=L;O=(c[r>>2]|0)+7|0}c[r>>2]=O;a[u]=(N|0)==255|0;if((O|0)>=1){M=O;break}}}N=M+ -1|0;c[r>>2]=N;if((1<<N&L|0)==0){c[J+(K*56|0)+36>>2]=2;break}if((M|0)<3){M=c[v>>2]|0;while(1){if((M|0)==0){break a}N=c[f>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){break a}M=(c[v>>2]|0)+ -1|0;c[v>>2]=M;L=c[w>>2]|0;if((a[u]&1)==0){L=L<<8|N&255;c[w>>2]=L;O=(c[r>>2]|0)+8|0}else{L=L<<7|N&127;c[w>>2]=L;O=(c[r>>2]|0)+7|0}c[r>>2]=O;a[u]=(N|0)==255|0;if((O|0)>=2){M=O;break}}}else{M=N}O=M+ -2|0;M=L>>>O&3;c[r>>2]=O;if((M|0)!=3){c[J+(K*56|0)+36>>2]=M+3;break}if((O|0)<5){M=c[v>>2]|0;do{if((M|0)==0){break a}L=c[f>>2]|0;L=jd[c[(c[L>>2]|0)+20>>2]&511](L)|0;if((L|0)==-1){break a}M=(c[v>>2]|0)+ -1|0;c[v>>2]=M;N=c[w>>2]|0;if((a[u]&1)==0){N=N<<8|L&255;c[w>>2]=N;O=(c[r>>2]|0)+8|0}else{N=N<<7|L&127;c[w>>2]=N;O=(c[r>>2]|0)+7|0}c[r>>2]=O;a[u]=(L|0)==255|0;}while((O|0)<5)}else{N=L}L=O+ -5|0;M=N>>>L&31;c[r>>2]=L;if((M|0)!=31){c[J+(K*56|0)+36>>2]=M+6;break}if((L|0)<7){M=c[v>>2]|0;while(1){if((M|0)==0){break a}N=c[f>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){break a}M=(c[v>>2]|0)+ -1|0;c[v>>2]=M;L=c[w>>2]|0;if((a[u]&1)==0){O=L<<8|N&255;c[w>>2]=O;L=(c[r>>2]|0)+8|0}else{O=L<<7|N&127;c[w>>2]=O;L=(c[r>>2]|0)+7|0}c[r>>2]=L;a[u]=(N|0)==255|0;if((L|0)>=7){N=O;break}}}V=L+ -7|0;c[r>>2]=V;c[J+(K*56|0)+36>>2]=(N>>>V&127)+37}}while(0);M=J+(K*56|0)+20|0;while(1){O=c[r>>2]|0;if((O|0)<1){L=c[v>>2]|0;do{if((L|0)==0){break a}N=c[f>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){break a}L=(c[v>>2]|0)+ -1|0;c[v>>2]=L;O=c[w>>2]|0;if((a[u]&1)==0){P=O<<8|N&255;c[w>>2]=P;O=(c[r>>2]|0)+8|0}else{P=O<<7|N&127;c[w>>2]=P;O=(c[r>>2]|0)+7|0}c[r>>2]=O;a[u]=(N|0)==255|0;}while((O|0)<1)}else{P=c[w>>2]|0}N=O+ -1|0;c[r>>2]=N;L=c[M>>2]|0;if((1<<N&P|0)==0){break}c[M>>2]=L+1}M=c[J+(K*56|0)+36>>2]|0;while(1){M=M>>>1;if((M|0)==0){break}else{L=L+1|0}}J=J+(K*56|0)+40|0;if((O|0)<=(L|0)){K=c[v>>2]|0;do{if((K|0)==0){break a}M=c[f>>2]|0;M=jd[c[(c[M>>2]|0)+20>>2]&511](M)|0;if((M|0)==-1){break a}K=(c[v>>2]|0)+ -1|0;c[v>>2]=K;N=c[w>>2]|0;if((a[u]&1)==0){P=N<<8|M&255;c[w>>2]=P;N=(c[r>>2]|0)+8|0}else{P=N<<7|M&127;c[w>>2]=P;N=(c[r>>2]|0)+7|0}c[r>>2]=N;a[u]=(M|0)==255|0;}while((N|0)<(L|0))}c[J>>2]=P>>>(N-L|0)&(1<<L)+ -1;c[r>>2]=(c[r>>2]|0)-L}else{h=23}}while(0);if((h|0)==23){h=0;c[J+(K*56|0)+32>>2]=0}I=I+1|0;J=c[D>>2]|0;if(I>>>0<J>>>0){O=J}else{break}}O=J;I=c[B>>2]|0}H=H+1|0;}while(H>>>0<I>>>0)}e=e+1|0;}while(e>>>0<((c[q>>2]|0)==0?1:3)>>>0)}if((a[u]&1)==0){e=c[v>>2]|0}else{e=c[f>>2]|0;jd[c[(c[e>>2]|0)+20>>2]&511](e)|0;e=(c[v>>2]|0)+ -1|0;c[v>>2]=e}y=z+(y*20|0)+16|0;z=0;do{C=c[y>>2]|0;B=C+(z*40|0)+20|0;F=c[B>>2]|0;if((F|0)!=0){A=C+(z*40|0)+16|0;C=C+(z*40|0)+36|0;G=c[A>>2]|0;E=G;D=0;do{if((G|0)==0){G=0}else{F=0;while(1){H=(dada(Q,s-v|0)|0)|0;u=c[o>>2]|0;c[u+((w<<1)-h+(da(Q,t)|0)<<2)>>2]=c[u+(v<<2)>>2];w=w+ -1|0;u=c[q>>2]|0;v=c[p>>2]|0;if((w|0)<(u|0)){break}else{}}}s=s+ -1|0;}while((s|0)>=(v|0))}q=c[d+40>>2]|0;y=q&31;q=q>>>5&7;p=(y|0)==0;t=(f*3|0)+ -2|0;f=d+44|0;r=q+ -1|0;s=d+36|0;u=(c[g+72>>2]|0)+16|0;w=d+68|0;g=d+4|0;y=(y|0)==1;v=0;do{if(p){x=0.0;z=r+((c[(c[f>>2]|0)+(t+v<<2)>>2]|0)>>>3&31)|0}else{x=+((c[(c[f>>2]|0)+((y?0:t+v|0)<<2)>>2]&2047|2048)>>>0)*.00048828125;z=((v|0)==2)+q+(c[g>>2]|0)|0}A=(c[s>>2]|0)==0?z+16|0:z;B=v&1;z=(v|0)!=0|0;G=c[u>>2]|0;C=G+(v*40|0)+20|0;H=c[C>>2]|0;if((H|0)!=0){D=G+(v*40|0)+16|0;I=c[D>>2]|0;F=I;E=0;G=c[G+(v*40|0)+36>>2]|0;do{if((I|0)==0){I=0}else{I=F;F=0;do{L=c[G+4>>2]|0;H=G+12|0;M=c[H>>2]|0;if(L>>>0<M>>>0){I=G+8|0;J=G+28|0;P=c[I>>2]|0;K=c[G+44>>2]|0;while(1){N=da((c[m>>2]|0)-(c[n>>2]|0)|0,(L<<1|z)-j|0)|0;O=c[G>>2]|0;N=(c[o>>2]|0)+(N-h+((O<<1|B)^1)<<2)|0;if(O>>>0<P>>>0){if(p){M=K;while(1){Q=c[M+4>>2]|0;if((Q|0)==0){P=0}else{P=A-(c[J>>2]|0)-(e[M+2>>1]|0)|0;if((P|0)>0){P=(1<<P+ -1)+(Q<<P)|0}else{P=Q>>0-P}P=(c[s>>2]|0)==0?P&-65536:P;P=(b[M>>1]&128)==0?P:0-P|0}c[N>>2]=P;O=O+1|0;P=c[I>>2]|0;if(O>>>0<P>>>0){M=M+8|0;N=N+8|0}else{break}}}else{M=K;while(1){Q=c[M+4>>2]|0;if((Q|0)==0){P=0}else{P=A-(c[J>>2]|0)-(e[M+2>>1]|0)|0;if((P|0)>0){P=(1<<P+ -1)+(Q<<P)|0}else{P=Q>>0-P}P=~~(x*+(P|0));P=(b[M>>1]&128)==0?P:0-P|0}c[N>>2]=P;O=O+1|0;P=c[I>>2]|0;if(O>>>0<P>>>0){M=M+8|0;N=N+8|0}else{break}}}M=c[H>>2]|0}L=L+1|0;if(L>>>0>=M>>>0){break}K=K+(c[w>>2]<<3)|0}I=c[D>>2]|0}G=G+56|0;F=F+1|0;}while(F>>>0<I>>>0);F=I;H=c[C>>2]|0}E=E+1|0;}while(E>>>0<H>>>0)}v=v+1|0;}while(v>>>0<3);p=l-j|0;if((l|0)!=(j|0)){q=c[o>>2]|0;f=0;while(1){$D(0,d,q,1,h,k);f=f+1|0;if(f>>>0<p>>>0){q=q+((c[m>>2]|0)-(c[n>>2]|0)<<2)|0}else{break}}}p=k-h|0;if((k|0)==(h|0)){i=a;return}k=c[o>>2]|0;h=1;while(1){$D(0,d,k,(c[m>>2]|0)-(c[n>>2]|0)|0,j,l);if(h>>>0>=p>>>0){break}k=k+4|0;h=h+1|0}i=a;return}function $D(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,k=0,l=0,m=0,n=0,o=0;j=i;a=g-f|0;m=f&1;if((a|0)==1){if((m|0)==0){i=j;return}c[d>>2]=c[d>>2]>>1;i=j;return}h=m+3|0;l=a+h|0;k=c[b+80>>2]|0;g=(g|0)==(f|0);if(!g){f=0;do{c[k+(f+h<<2)>>2]=c[d+((da(f,e)|0)<<2)>>2];f=f+1|0;}while(f>>>0<a>>>0)}c[k+(l<<2)>>2]=c[k+(l+ -2<<2)>>2];do{if((a|0)==2){f=k+((m|4)<<2)|0;c[k+(l+1<<2)>>2]=c[f>>2];c[k+(l+2<<2)>>2]=c[k+(h<<2)>>2];c[k+(l+3<<2)>>2]=c[f>>2]}else{c[k+(l+1<<2)>>2]=c[k+(a+m<<2)>>2];if((a|0)==3){f=k+((m|4)<<2)|0;c[k+(l+2<<2)>>2]=c[f>>2];c[k+(l+3<<2)>>2]=c[k+(m+5<<2)>>2];break}c[k+(l+2<<2)>>2]=c[k+(l+ -4<<2)>>2];if((a|0)==4){f=k+((m|4)<<2)|0;c[k+(l+3<<2)>>2]=c[f>>2];break}else{c[k+(l+3<<2)>>2]=c[k+(l+ -5<<2)>>2];f=k+((m|4)<<2)|0;break}}}while(0);c[k+((m|2)<<2)>>2]=c[f>>2];c[k+(m+1<<2)>>2]=c[k+(m+5<<2)>>2];c[k+(m<<2)>>2]=c[k+((m|6)<<2)>>2];if((h|0)==4){c[k>>2]=c[k+(m+7<<2)>>2]}do{if((c[b+36>>2]|0)==0){b=l+2|0;m=(b|0)==0;if(!m){f=1;do{n=k+(f<<2)|0;c[n>>2]=~~(+(c[n>>2]|0)*1.230174104914001);f=f+2|0;}while(f>>>0<=b>>>0)}n=l+3|0;f=0;do{o=k+(f<<2)|0;c[o>>2]=~~(+(c[o>>2]|0)*.8128930661159609);f=f+2|0;}while(f>>>0<=n>>>0);if(!m){f=c[k>>2]|0;n=1;while(1){o=k+(n<<2)|0;m=c[k+(n+1<<2)>>2]|0;c[o>>2]=~~(+(c[o>>2]|0)- +(m+f|0)*.443506852043971);n=n+2|0;if(n>>>0>b>>>0){break}else{f=m}}}b=l+1|0;if(b>>>0>=2){m=2;do{o=k+(m<<2)|0;c[o>>2]=~~(+(c[o>>2]|0)- +((c[k+((m|1)<<2)>>2]|0)+(c[k+(m+ -1<<2)>>2]|0)|0)*.882911075530934);m=m+2|0;}while(m>>>0<=b>>>0)}if(l>>>0>=3){f=c[k+8>>2]|0;m=3;while(1){o=k+(m<<2)|0;b=c[k+(m+1<<2)>>2]|0;c[o>>2]=~~(+(c[o>>2]|0)- +(b+f|0)*-.052980118572961);m=m+2|0;if(m>>>0>l>>>0){break}else{f=b}}}b=l+ -1|0;if(b>>>0<4){break}else{l=4}do{o=k+(l<<2)|0;c[o>>2]=~~(+(c[o>>2]|0)- +((c[k+((l|1)<<2)>>2]|0)+(c[k+(l+ -1<<2)>>2]|0)|0)*-1.586134342059924);l=l+2|0;}while(l>>>0<=b>>>0)}else{if(l>>>0<3){break}m=c[k+8>>2]|0;f=3;while(1){b=c[k+(f+1<<2)>>2]|0;o=k+(f<<2)|0;c[o>>2]=(c[o>>2]|0)-(m+2+b>>2);f=f+2|0;if(f>>>0>l>>>0){break}else{m=b}}if(l>>>0>4){b=4}else{break}do{o=k+(b<<2)|0;c[o>>2]=((c[k+((b|1)<<2)>>2]|0)+(c[k+(b+ -1<<2)>>2]|0)>>1)+(c[o>>2]|0);b=b+2|0;}while(b>>>0<l>>>0)}}while(0);if(g){i=j;return}else{l=0}do{c[d+((da(l,e)|0)<<2)>>2]=c[k+(l+h<<2)>>2];l=l+1|0;}while(l>>>0<a>>>0);i=j;return}function aE(a){a=a|0;i=i;return 10}function bE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;f=i;j=i;i=i+8|0;h=j;m=i;i=i+16|0;l=m;k=b+16|0;c[k>>2]=13;g=b+24|0;c[g>>2]=0;c[g+4>>2]=0;c[m>>2]=13;m=l+8|0;c[m>>2]=0;c[m+4>>2]=0;c[b>>2]=-3;m=b+164|0;c[m>>2]=d;Lf(k,e)|0;d=FW(20)|0;rt(d,c[m>>2]|0);c[b+4>>2]=d;tt(d,Mf(k,l)|0);c[b+8>>2]=0;a[b+32|0]=1;b=c[k>>2]|0;if((b|0)==8){m=c[g>>2]|0;fd[c[(c[m>>2]|0)+12>>2]&511](m);i=f;return}else{c[j>>2]=b;c[h+4>>2]=8;Qe(0,185712,h);tc()}}function cE(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;j=i;g=i;i=i+8|0;h=g;n=i;i=i+8|0;o=n;k=i;i=i+16|0;m=k;l=b+16|0;c[l>>2]=13;f=b+24|0;c[f>>2]=0;c[f+4>>2]=0;c[k>>2]=13;k=m+8|0;c[k>>2]=0;c[k+4>>2]=0;c[b>>2]=-3;c[b+164>>2]=d;k=c[e>>2]|0;if((k|0)==6){p=c[e+8>>2]|0;c[b+4>>2]=p;a[b+32|0]=0}else if((k|0)==8){o=FW(20)|0;rt(o,d);p=b+4|0;c[p>>2]=o;a[b+32|0]=1;tt(o,Mf(e,m)|0);p=c[p>>2]|0}else{c[n>>2]=k;c[o+4>>2]=6;Qe(0,185712,o);tc()}c[b+8>>2]=0;if((c[p+12>>2]|0)<=0){i=j;return}ut(p,0,l)|0;k=c[l>>2]|0;if((k|0)!=8){c[g>>2]=k;c[h+4>>2]=8;Qe(0,185712,h);tc()}p=c[f>>2]|0;fd[c[(c[p>>2]|0)+12>>2]&511](p);i=j;return}function dE(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;g=i;i=i+8|0;h=g;e=b+16|0;f=c[e>>2]|0;if((f|0)==8){h=c[b+24>>2]|0;fd[c[(c[h>>2]|0)+16>>2]&511](h);Of(e)}else if((f|0)!=13){c[g>>2]=f;c[h+4>>2]=8;Qe(0,185712,h);tc()}if((a[b+32|0]&1)==0){i=d;return}b=c[b+4>>2]|0;if((b|0)==0){i=d;return}st(b);HW(b);i=d;return}function eE(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;f=i;k=i;i=i+8|0;g=k;h=i;i=i+8|0;j=h;e=i;i=i+8|0;d=e;l=c[a>>2]|0;if((l|0)!=-3){c[a>>2]=-3;o=l;i=f;return o|0}n=a+16|0;m=a+24|0;l=a+8|0;a=a+4|0;if(b){b=c[n>>2]|0;if((b|0)==8){o=c[m>>2]|0;o=jd[c[(c[o>>2]|0)+20>>2]&511](o)|0;i=f;return o|0}else if((b|0)==13){o=-1;i=f;return o|0}else{o=e;c[o>>2]=b;o=d+4|0;c[o>>2]=8;o=185712;Qe(0,o,d);tc()}}while(1){b=c[n>>2]|0;if((b|0)==13){b=-1;l=15;break}else if((b|0)!=8){l=7;break}b=c[m>>2]|0;b=jd[c[(c[b>>2]|0)+20>>2]&511](b)|0;if((b|0)!=-1){l=15;break}b=c[n>>2]|0;if((b|0)!=8){l=10;break}b=c[m>>2]|0;fd[c[(c[b>>2]|0)+16>>2]&511](b);Of(n);b=(c[l>>2]|0)+1|0;c[l>>2]=b;o=c[a>>2]|0;if((b|0)>=(c[o+12>>2]|0)){continue}ut(o,b,n)|0;b=c[n>>2]|0;if((b|0)!=8){l=13;break}o=c[m>>2]|0;fd[c[(c[o>>2]|0)+12>>2]&511](o)}if((l|0)==7){o=e;c[o>>2]=b;o=d+4|0;c[o>>2]=8;o=185712;Qe(0,o,d);tc()}else if((l|0)==10){c[h>>2]=b;c[j+4>>2]=8;Qe(0,185712,j);tc()}else if((l|0)==13){c[k>>2]=b;c[g+4>>2]=8;Qe(0,185712,g);tc()}else if((l|0)==15){i=f;return b|0}return 0}function fE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0.0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0.0,ba=0.0,ca=0.0,dada=ea*10.0+ +(s+ -48|0);if(ea>+((47-s|0)>>>0)/10.0){r=1;o=1;ca=da}else{break}}r=1;m=~~dada=0,ea=0,fa=0.0;e=i;k=i;i=i+16|0;j=k;m=i;i=i+16|0;n=m;q=i;i=i+8|0;p=q;r=i;i=i+8|0;s=r;v=i;i=i+8|0;w=v;y=i;i=i+8|0;z=y;C=i;i=i+8|0;B=C;D=i;i=i+8|0;E=D;G=i;i=i+8|0;F=G;H=i;i=i+8|0;I=H;J=i;i=i+8|0;K=J;L=i;i=i+8|0;M=L;N=i;i=i+8|0;O=N;P=i;i=i+8|0;Q=P;R=i;i=i+16|0;S=R;T=i;i=i+8|0;U=T;W=i;i=i+16|0;V=W;X=i;i=i+8|0;Y=X;$=i;i=i+8|0;aa=$;da=i;i=i+8|0;A=da;t=i;i=i+16|0;f=t;ba=i;i=i+16|0;ca=ba;Z=i;i=i+16|0;_=Z;x=i;i=i+16|0;u=x;l=i;i=i+16|0;g=l;c[t>>2]=13;o=f+8|0;c[o>>2]=0;c[o+4>>2]=0;ea=c[d>>2]|0;if((ea|0)!=7){c[da>>2]=ea;c[A+4>>2]=7;Qe(0,188872,A);tc()}A=d+8|0;do{if((c[(Yu(c[A>>2]|0,188680,f,0)|0)>>2]|0)!=5){da=c[t>>2]|0;if((da|0)==1){c[b>>2]=c[o>>2];break}else if((da|0)!=6){break}ea=c[o>>2]|0;c[ba>>2]=13;da=ca+8|0;c[da>>2]=0;c[da+4>>2]=0;ut(ea,0,ca)|0;if((c[ba>>2]|0)==1){c[b>>2]=c[da>>2]}Of(ca);ut(ea,1,ca)|0;if((c[ba>>2]|0)==1){c[b+4>>2]=c[da>>2]}Of(ca)}}while(0);Of(f);ba=c[d>>2]|0;if((ba|0)!=7){c[$>>2]=ba;c[aa+4>>2]=7;Qe(0,188872,aa);tc()}do{if((c[(Yu(c[A>>2]|0,188688,f,0)|0)>>2]|0)!=5){$=c[t>>2]|0;if(($|0)==1){c[b+8>>2]=c[o>>2];break}else if(($|0)!=6){break}$=c[o>>2]|0;c[Z>>2]=13;aa=_+8|0;c[aa>>2]=0;c[aa+4>>2]=0;ut($,0,_)|0;if((c[Z>>2]|0)==1){c[b+8>>2]=c[aa>>2]}Of(_);ut($,1,_)|0;if((c[Z>>2]|0)==1){c[b+12>>2]=c[aa>>2]}Of(_)}}while(0);Of(f);Z=c[d>>2]|0;if((Z|0)!=7){c[X>>2]=Z;c[Y+4>>2]=7;Qe(0,188872,Y);tc()}if(((c[(Yu(c[A>>2]|0,188704,f,0)|0)>>2]|0)+ -1|0)>>>0<2){X=c[t>>2]|0;if((X+ -1|0)>>>0>=2){c[W>>2]=X;c[V+4>>2]=1;c[V+8>>2]=2;Qe(0,188944,V);tc()}if((X|0)==1){fa=+(c[o>>2]|0)}else{fa=+h[o>>3]}h[b+16>>3]=fa}Of(f);V=c[d>>2]|0;if((V|0)!=7){c[T>>2]=V;c[U+4>>2]=7;Qe(0,188872,U);tc()}if(((c[(Yu(c[A>>2]|0,188712,f,0)|0)>>2]|0)+ -1|0)>>>0<2){T=c[t>>2]|0;if((T+ -1|0)>>>0>=2){c[R>>2]=T;c[S+4>>2]=1;c[S+8>>2]=2;Qe(0,188944,S);tc()}if((T|0)==1){fa=+(c[o>>2]|0)}else{fa=+h[o>>3]}c[b+24>>2]=~~((fa+1.0)*50.0)}Of(f);R=c[d>>2]|0;if((R|0)!=7){c[P>>2]=R;c[Q+4>>2]=7;Qe(0,188872,Q);tc()}do{if((c[(Yu(c[A>>2]|0,188720,f,0)|0)>>2]|0)==0){P=c[t>>2]|0;if((P|0)==0){a[b+28|0]=a[o]&1;break}else{c[N>>2]=P;c[O+4>>2]=0;Qe(0,188872,O);tc()}}}while(0);Of(f);N=c[d>>2]|0;if((N|0)!=7){c[L>>2]=N;c[M+4>>2]=7;Qe(0,188872,M);tc()}do{if((c[(Yu(c[A>>2]|0,188736,f,0)|0)>>2]|0)==0){L=c[t>>2]|0;if((L|0)==0){a[b+29|0]=a[o]&1;break}else{c[J>>2]=L;c[K+4>>2]=0;Qe(0,188872,K);tc()}}}while(0);Of(f);J=c[d>>2]|0;if((J|0)!=7){c[H>>2]=J;c[I+4>>2]=7;Qe(0,188872,I);tc()}do{if((c[(Yu(c[A>>2]|0,188752,f,0)|0)>>2]|0)==4){H=c[t>>2]|0;if((H|0)!=4){c[G>>2]=H;c[F+4>>2]=4;Qe(0,188872,F);tc()}F=c[o>>2]|0;if((Qc(F|0,188760)|0)==0){c[b+32>>2]=0;break}if((Qc(F|0,188768)|0)==0){c[b+32>>2]=1;break}if((Qc(F|0,188776)|0)==0){c[b+32>>2]=2;break}if((Qc(F|0,188784)|0)!=0){break}c[b+32>>2]=3}}while(0);Of(f);F=c[d>>2]|0;if((F|0)!=7){c[D>>2]=F;c[E+4>>2]=7;Qe(0,188872,E);tc()}do{if((c[(Yu(c[A>>2]|0,188800,f,0)|0)>>2]|0)==6){a[b+36|0]=1;D=c[t>>2]|0;if((D|0)!=6){c[C>>2]=D;c[B+4>>2]=6;Qe(0,188872,B);tc()}C=c[o>>2]|0;if((c[C+12>>2]|0)<=1){break}c[x>>2]=13;B=u+8|0;c[B>>2]=0;c[B+4>>2]=0;do{if((c[(ut(C,0,u)|0)>>2]|0)==1){D=c[x>>2]|0;if((D|0)==1){c[b+56>>2]=c[B>>2];break}else{c[y>>2]=D;c[z+4>>2]=1;Qe(0,188872,z);tc()}}}while(0);Of(u);do{if((c[(ut(C,1,u)|0)>>2]|0)==1){x=c[x>>2]|0;if((x|0)==1){c[b+60>>2]=c[B>>2];break}else{c[v>>2]=x;c[w+4>>2]=1;Qe(0,188872,w);tc()}}}while(0);Of(u)}}while(0);Of(f);d=c[d>>2]|0;if((d|0)!=7){c[r>>2]=d;c[s+4>>2]=7;Qe(0,188872,s);tc()}if((c[(Yu(c[A>>2]|0,188808,f,0)|0)>>2]|0)!=6){Of(f);i=e;return}r=c[t>>2]|0;if((r|0)!=6){c[q>>2]=r;c[p+4>>2]=6;Qe(0,188872,p);tc()}p=c[o>>2]|0;if((c[p+12>>2]|0)<=1){Of(f);i=e;return}c[l>>2]=13;o=g+8|0;c[o>>2]=0;c[o+4>>2]=0;if(((c[(ut(p,0,g)|0)>>2]|0)+ -1|0)>>>0<2){q=c[l>>2]|0;if((q+ -1|0)>>>0>=2){c[m>>2]=q;c[n+4>>2]=1;c[n+8>>2]=2;Qe(0,188944,n);tc()}if((q|0)==1){fa=+(c[o>>2]|0)}else{fa=+h[o>>3]}h[b+40>>3]=fa}Of(g);if(((c[(ut(p,1,g)|0)>>2]|0)+ -1|0)>>>0<2){l=c[l>>2]|0;if((l+ -1|0)>>>0>=2){c[k>>2]=l;c[j+4>>2]=1;c[j+8>>2]=2;Qe(0,188944,j);tc()}if((l|0)==1){fa=+(c[o>>2]|0)}else{fa=+h[o>>3]}h[b+48>>3]=fa}Of(g);Of(f);i=e;return}function AF(d,e){d=d|0;e=e|0;var f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0.0;f=i;j=i;i=i+8|0;k=j;p=i;i=i+8|0;m=p;r=i;i=i+8|0;s=r;x=i;i=i+16|0;w=x;z=i;i=i+16|0;A=z;C=i;i=i+8|0;D=C;M=i;i=i+8|0;E=i;i=i+8|0;F=E;I=i;i=i+8|0;J=I;O=i;i=i+8|0;t=O;q=i;i=i+16|0;n=q;L=i;i=i+16|0;H=L;B=i;i=i+16|0;v=B;G=d+36|0;c[G>>2]=0;l=d+2|0;b[l>>1]=0;y=d+4|0;c[y>>2]=-1;u=d+8|0;c[u>>2]=-1;g=d+32|0;a[g]=0;c[q>>2]=13;o=n+8|0;c[o>>2]=0;c[o+4>>2]=0;c[L>>2]=13;K=H+8|0;c[K>>2]=0;c[K+4>>2]=0;N=c[e>>2]|0;if((N|0)!=7){c[O>>2]=N;c[t+4>>2]=7;Qe(0,188872,t);tc()}t=e+8|0;if(!(CH(Yu(c[t>>2]|0,188824,n,0)|0,H)|0)){Qe(-1,188832,M);a[d]=0;Of(n);i=f;return}L=c[L>>2]|0;if((L|0)!=3){c[I>>2]=L;c[J+4>>2]=3;Qe(0,188872,J);tc()}N=c[K>>2]|0;O=FW(32)|0;ie(O,N);c[G>>2]=O;Of(H);Of(n);G=c[e>>2]|0;if((G|0)!=7){c[E>>2]=G;c[F+4>>2]=7;Qe(0,188872,F);tc()}do{if((c[(Yu(c[t>>2]|0,188848,n,0)|0)>>2]|0)==6){E=c[q>>2]|0;if((E|0)!=6){c[C>>2]=E;c[D+4>>2]=6;Qe(0,188872,D);tc()}C=c[o>>2]|0;if((c[C+12>>2]|0)<=1){break}c[B>>2]=13;O=v+8|0;c[O>>2]=0;c[O+4>>2]=0;if(((c[(ut(C,0,v)|0)>>2]|0)+ -1|0)>>>0<2){D=ut(C,0,v)|0;B=c[D>>2]|0;if((B+ -1|0)>>>0>=2){c[z>>2]=B;c[A+4>>2]=1;c[A+8>>2]=2;Qe(0,188944,A);tc()}z=D+8|0;if((B|0)==1){P=+(c[z>>2]|0)}else{P=+h[z>>3]}c[y>>2]=~~+R(+(P+.5))}Of(v);if(((c[(ut(C,1,v)|0)>>2]|0)+ -1|0)>>>0<2){z=ut(C,1,v)|0;y=c[z>>2]|0;if((y+ -1|0)>>>0>=2){c[x>>2]=y;c[w+4>>2]=1;c[w+8>>2]=2;Qe(0,188944,w);tc()}w=z+8|0;if((y|0)==1){P=+(c[w>>2]|0)}else{P=+h[w>>3]}c[u>>2]=~~+R(+(P+.5))}Of(v)}}while(0);Of(n);u=c[e>>2]|0;if((u|0)!=7){c[r>>2]=u;c[s+4>>2]=7;Qe(0,188872,s);tc()}do{if((c[(Yu(c[t>>2]|0,188856,n,0)|0)>>2]|0)==1){q=c[q>>2]|0;if((q|0)==1){b[l>>1]=((((c[o>>2]|0)+360|0)%360|0|0)%90|0)*90;break}else{c[p>>2]=q;c[m+4>>2]=1;Qe(0,188872,m);tc()}}}while(0);Of(n);l=d+16|0;e=c[e>>2]|0;if((e|0)!=7){c[j>>2]=e;c[k+4>>2]=7;Qe(0,188872,k);tc()}if((c[(Zu(c[t>>2]|0,188864,l)|0)>>2]|0)==5){i=f;return}j=c[l>>2]|0;if((j|0)==8|(j|0)==9){a[g]=1;i=f;return}else if((j|0)==0){a[g]=a[d+24|0]&1;Of(l);i=f;return}else{Of(l);i=f;return}}function BF(a){a=a|0;var b=0,d=0;b=i;d=c[a+36>>2]|0;if((d|0)!=0){ke(d);HW(d)}Of(a+16|0);i=b;return}function CF(b,d){b=b|0;d=d|0;var e=0,f=0;e=i;c[b+16>>2]=13;f=b+24|0;c[f>>2]=0;c[f+4>>2]=0;c[b+44>>2]=0;c[b+52>>2]=0;a[b+76|0]=0;h[b+80>>3]=.5;h[b+88>>3]=.5;h[b+56>>3]=1.0;c[b+64>>2]=100;a[b+68|0]=0;a[b+69|0]=0;c[b+72>>2]=0;c[b+40>>2]=0;c[b+48>>2]=0;c[b+96>>2]=1;c[b+100>>2]=1;a[b]=1;if((c[d>>2]|0)==7){AF(b,d);i=e;return}else{a[b]=0;i=e;return}}function DF(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;c[b+16>>2]=13;g=b+24|0;c[g>>2]=0;c[g+4>>2]=0;g=b+40|0;c[b+44>>2]=0;c[b+52>>2]=0;a[b+76|0]=0;h[b+80>>3]=.5;h[b+88>>3]=.5;h[b+56>>3]=1.0;c[b+64>>2]=100;a[b+68|0]=0;a[b+69|0]=0;c[b+72>>2]=0;c[g>>2]=0;c[b+48>>2]=0;c[b+96>>2]=1;c[b+100>>2]=1;a[b]=1;if((c[d>>2]|0)!=7){a[b]=0;i=f;return}AF(b,d);if((c[e>>2]|0)!=7){i=f;return}zF(g,e);i=f;return}function EF(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0;f=i;g=i;i=i+8|0;h=g;m=i;i=i+8|0;n=m;y=i;i=i+8|0;w=i;i=i+8|0;q=w;z=i;i=i+8|0;x=z;B=i;i=i+8|0;A=B;I=i;i=i+8|0;H=i;i=i+8|0;J=H;E=i;i=i+8|0;F=E;N=i;i=i+8|0;M=N;S=i;i=i+8|0;Q=i;i=i+8|0;R=Q;ba=i;i=i+8|0;T=ba;L=i;i=i+8|0;aa=L;Y=i;i=i+8|0;_=i;i=i+8|0;$=_;ea=i;i=i+8|0;da=i;i=i+8|0;fa=da;Z=i;i=i+16|0;X=Z;U=i;i=i+16|0;k=U;W=i;i=i+16|0;V=W;p=i;i=i+16|0;j=p;P=i;i=i+16|0;O=P;C=i;i=i+16|0;K=C;D=i;i=i+16|0;G=D;r=i;i=i+16|0;v=r;u=i;i=i+16|0;s=u;o=b+8|0;c[o>>2]=13;l=b+16|0;c[l>>2]=0;c[l+4>>2]=0;l=b+24|0;c[l>>2]=13;ca=b+32|0;c[ca>>2]=0;c[ca+4>>2]=0;c[b+40>>2]=e;a[b]=1;ca=FW(16)|0;wo(ca);e=b+4|0;c[e>>2]=ca;c[U>>2]=13;ca=k+8|0;c[ca>>2]=0;c[ca+4>>2]=0;ga=c[d>>2]|0;if((ga|0)!=7){c[da>>2]=ga;c[fa+4>>2]=7;Qe(0,189600,fa);tc()}da=d+8|0;Yu(c[da>>2]|0,189024,k,0)|0;if((c[U>>2]|0)!=6){Qe(-1,189032,ea);Of(k);a[b]=0;i=f;return}ga=V+8|0;fa=ga+4|0;ea=X+8|0;ia=ea+4|0;ha=0;while(1){ja=c[ca>>2]|0;if((ha|0)>=(c[ja+12>>2]|0)){break}c[W>>2]=13;c[ga>>2]=0;c[fa>>2]=0;ut(ja,ha,V)|0;if((c[W>>2]|0)!=7){t=9;break}ja=FW(20)|0;la=c[ga>>2]|0;ka=ja+4|0;c[ka>>2]=0;c[Z>>2]=13;c[ea>>2]=0;c[ia>>2]=0;Yu(la,189512,X,0)|0;if((c[Z>>2]|0)==3){la=FW(32)|0;ie(la,c[ea>>2]|0);c[ka>>2]=la}else{Qe(-1,189520,Y)}Of(X);Of(V);ka=c[U>>2]|0;if((ka|0)!=6){t=14;break}vt(c[ca>>2]|0,ha,V)|0;ka=c[W>>2]|0;if((ka|0)!=9){t=16;break}ma=ga;ka=c[ma+4>>2]|0;la=ja+8|0;c[la>>2]=c[ma>>2];c[la+4>>2]=ka;Of(V);c[ja+16>>2]=0;yo(c[e>>2]|0,ja);ja=c[U>>2]|0;if((ja|0)==6){ha=ha+1|0}else{t=6;break}}if((t|0)==6){c[_>>2]=ja;c[$+4>>2]=6;Qe(0,189600,$);tc()}else if((t|0)==9){Of(V)}else if((t|0)==14){c[L>>2]=ka;c[aa+4>>2]=6;Qe(0,189600,aa);tc()}else if((t|0)==16){c[ba>>2]=ka;c[T+4>>2]=9;Qe(0,189600,T);tc()}c[p>>2]=13;L=j+8|0;c[L>>2]=0;c[L+4>>2]=0;d=c[d>>2]|0;if((d|0)!=7){c[Q>>2]=d;c[R+4>>2]=7;Qe(0,189600,R);tc()}Yu(c[dada=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0;g=i;m=i;i=i+8|0;j=m;n=i;i=i+8|0;p=n;s=i;i=i+8|0;r=s;D=i;i=i+8|0;u=i;i=i+8|0;v=u;x=i;i=i+8|0;y=x;A=i;i=i+8|0;z=A;ha=i;i=i+8|0;E=i;i=i+8|0;F=E;K=i;i=i+8|0;L=K;da=i;i=i+8|0;N=i;i=i+8|0;M=N;U=i;i=i+8|0;R=U;W=i;i=i+8|0;X=W;Z=i;i=i+8|0;_=Z;$=i;i=i+8|0;aa=$;ca=i;i=i+8|0;ba=ca;ea=i;i=i+8|0;ga=ea;ja=i;i=i+8|0;ka=ja;la=i;i=i+8|0;ma=la;ia=i;i=i+16|0;I=ia;q=i;i=i+16|0;f=q;J=i;i=i+16|0;G=J;V=i;i=i+16|0;Q=V;T=i;i=i+16|0;P=T;B=i;i=i+16|0;w=B;t=i;i=i+16|0;l=t;o=b+8|0;c[b+72>>2]=3;c[b+76>>2]=-1;c[b+80>>2]=-1;c[b+84>>2]=0;h[b+88>>3]=.5;h[b+96>>3]=.5;a[b+104|0]=1;a[b+105|0]=1;a[b+106|0]=1;c[b+12>>2]=100;c[b+16>>2]=5;a[b+20|0]=1;h[b+24>>3]=1.0;h[b+56>>3]=1.0;a[b+64|0]=0;c[o>>2]=0;k=b+112|0;c[b+176>>2]=3;c[b+180>>2]=-1;c[b+184>>2]=-1;c[b+188>>2]=0;h[b+192>>3]=.5;h[b+200>>3]=.5;a[b+208|0]=1;a[b+209|0]=1;a[b+210|0]=1;c[b+116>>2]=100;c[b+120>>2]=5;a[b+124|0]=1;h[b+128>>3]=1.0;h[b+160>>3]=1.0;a[b+168|0]=0;c[k>>2]=0;c[ia>>2]=13;fa=I+8|0;c[fa>>2]=0;c[fa+4>>2]=0;c[q>>2]=13;e=f+8|0;c[e>>2]=0;c[e+4>>2]=0;a[b]=1;Y=b+228|0;c[Y>>2]=0;H=b+220|0;c[H>>2]=0;S=b+216|0;a[S]=0;O=b+224|0;c[O>>2]=0;C=c[d>>2]|0;if((C|0)!=7){c[la>>2]=C;c[ma+4>>2]=7;Qe(0,191704,ma);tc()}C=d+8|0;if((c[(Yu(c[C>>2]|0,191520,f,0)|0)>>2]|0)==7){la=c[q>>2]|0;if((la|0)!=7){c[ja>>2]=la;c[ka+4>>2]=7;Qe(0,191704,ka);tc()}do{if((c[(Yu(c[e>>2]|0,191536,I,0)|0)>>2]|0)==4){ha=c[ia>>2]|0;if((ha|0)!=4){c[ea>>2]=ha;c[ga+4>>2]=4;Qe(0,191704,ga);tc()}if((Qc(c[fa>>2]|0,191584)|0)!=0){break}c[J>>2]=13;ea=G+8|0;c[ea>>2]=0;c[ea+4>>2]=0;c[V>>2]=13;fa=Q+8|0;c[fa>>2]=0;c[fa+4>>2]=0;ga=c[q>>2]|0;if((ga|0)!=7){c[ca>>2]=ga;c[ba+4>>2]=7;Qe(0,191704,ba);tc()}if((c[(Yu(c[e>>2]|0,191464,G,0)|0)>>2]|0)==7){ba=c[J>>2]|0;if((ba|0)!=7){c[$>>2]=ba;c[aa+4>>2]=7;Qe(0,191704,aa);tc()}do{if((c[(Yu(c[ea>>2]|0,191528,Q,0)|0)>>2]|0)==3){$=c[V>>2]|0;if(($|0)==3){la=c[fa>>2]|0;ma=FW(32)|0;ie(ma,la);c[Y>>2]=ma;break}else{c[Z>>2]=$;c[_+4>>2]=3;Qe(0,191704,_);tc()}}}while(0);Of(Q);Y=c[J>>2]|0;if((Y|0)!=7){c[W>>2]=Y;c[X+4>>2]=7;Qe(0,191704,X);tc()}if((c[(Yu(c[ea>>2]|0,191592,Q,0)|0)>>2]|0)==7){c[T>>2]=13;W=P+8|0;c[W>>2]=0;c[W+4>>2]=0;V=c[V>>2]|0;if((V|0)!=7){c[U>>2]=V;c[R+4>>2]=7;Qe(0,191704,R);tc()}do{if((c[(Yu(c[fa>>2]|0,191528,P,0)|0)>>2]|0)==8){a[S]=1;R=c[T>>2]|0;if((R|0)==8){ma=c[W>>2]|0;c[O>>2]=ma;ma=ma+4|0;c[ma>>2]=(c[ma>>2]|0)+1;break}else{c[N>>2]=R;c[M+4>>2]=8;Qe(0,191704,M);tc()}}}while(0);Of(P)}Of(Q)}else{Qe(-1,191600,dada(e+7>>3,f)|0;c[b+108>>2]=g}else{g=da(e,f)|0;c[b+108>>2]=g}e=b+116|0;c[e>>2]=8;do{if((g|0)<65){c[b+112>>2]=32;h=256}else{if((g|0)<129){c[b+112>>2]=16;h=128;break}if((g|0)<257){c[b+112>>2]=8;h=64;break}if((g|0)<513){c[b+112>>2]=4;h=32;break}f=b+112|0;if((g|0)<1025){c[f>>2]=2;h=16;break}else{c[f>>2]=1;h=8;break}}}while(0);f=b+112|0;j=ze(h,g)|0;c[b+92>>2]=j;if((j|0)==0){c[e>>2]=0;i=d;return}g=ye(da(c[e>>2]|0,c[f>>2]|0)|0,28)|0;b=b+96|0;c[b>>2]=g;h=c[e>>2]|0;if((da(h,c[f>>2]|0)|0)>0){j=0}else{i=d;return}while(1){c[g+(j*28|0)+8>>2]=h+ -1&j;j=j+1|0;h=c[e>>2]|0;if((j|0)>=(da(h,c[f>>2]|0)|0)){break}g=c[b>>2]|0}i=d;return}function vH(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=202e3;$p(c[a+4>>2]|0);d=c[a+92>>2]|0;if((d|0)!=0){Fe(d)}d=c[a+96>>2]|0;if((d|0)==0){HW(a);i=b;return}Fe(d);HW(a);i=b;return}function wH(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=202e3;$p(c[a+4>>2]|0);d=c[a+92>>2]|0;if((d|0)!=0){Fe(d)}a=c[a+96>>2]|0;if((a|0)==0){i=b;return}Fe(a);i=b;return}function xH(d,e,f,g,h,j,k,l,m){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;n=i;q=i;i=i+32|0;r=q;s=d+72|0;if((a[s]&1)==0){o=3}else{if((c[d+104>>2]|0)>50){o=3}}if((o|0)==3){f=0;g=0}o=d+116|0;w=c[o>>2]|0;p=da((c[d+112>>2]|0)+ -1&e,w)|0;a:do{if((w|0)>0){t=d+96|0;x=c[t>>2]|0;u=0;b:while(1){v=u+p|0;do{if((c[x+(v*28|0)+8>>2]|0)<0){if((c[x+(v*28|0)>>2]|0)!=(e|0)){break}if((b[x+(v*28|0)+4>>1]|0)!=(f|0)){break}if((b[x+(v*28|0)+6>>1]|0)==(g|0)){break b}}}while(0);u=u+1|0;if((u|0)>=(w|0)){break a}}c[h>>2]=c[x+(v*28|0)+12>>2];e=h+4|0;c[e>>2]=c[(c[t>>2]|0)+(v*28|0)+16>>2];r=h+8|0;c[r>>2]=c[(c[t>>2]|0)+(v*28|0)+20>>2];q=h+12|0;c[q>>2]=c[(c[t>>2]|0)+(v*28|0)+24>>2];g=c[o>>2]|0;if((g|0)>0){f=0;do{do{if((f|0)!=(u|0)){A=c[t>>2]|0;w=A+((f+p|0)*28|0)+8|0;x=c[w>>2]|0;if((x&2147483647)>>>0>=(c[A+(v*28|0)+8>>2]&2147483647)>>>0){break}c[w>>2]=x+1;g=c[o>>2]|0}}while(0);f=f+1|0;}while((f|0)<(g|0))}c[(c[t>>2]|0)+(v*28|0)+8>>2]=-2147483648;a[h+16|0]=a[s]&1;c[h+20>>2]=(c[d+92>>2]|0)+(da(c[d+108>>2]|0,v)|0);a[h+24|0]=0;z=j-(c[h>>2]|0)|0;A=k-(c[e>>2]|0)|0;c[m>>2]=Jp(l,z,A,z+ -1+(c[r>>2]|0)|0,A+ -1+(c[q>>2]|0)|0)|0;A=1;i=n;return A|0}}while(0);if(!(Fd[c[(c[d>>2]|0)+12>>2]&7](d,e,f,g,r,j,k,l,m)|0)){A=0;i=n;return A|0}if((c[m>>2]|0)==1){a[h+24|0]=0;if((a[r+24|0]&1)==0){A=1;i=n;return A|0}Fe(c[r+20>>2]|0);A=1;i=n;return A|0}j=r+8|0;m=c[j>>2]|0;do{if((m|0)<=(c[d+100>>2]|0)){k=r+12|0;l=c[k>>2]|0;if((l|0)>(c[d+104>>2]|0)){break}if((a[s]&1)==0){m=m+7>>3}s=da(m,l)|0;v=c[o>>2]|0;if((v|0)==0){$W(h|0,q|0,28)|0;A=1;i=n;return A|0}if((v|0)>0){l=d+96|0;m=f&65535;t=g&65535;f=r+4|0;g=d+92|0;u=d+108|0;d=r+20|0;w=0;z=0;do{y=w+p|0;x=(c[l>>2]|0)+(y*28|0)+8|0;A=c[x>>2]|0;if((A&2147483647|0)==(v+ -1|0)){c[x>>2]=-2147483648;c[(c[l>>2]|0)+(y*28|0)>>2]=e;b[(c[l>>2]|0)+(y*28|0)+4>>1]=m;b[(c[l>>2]|0)+(y*28|0)+6>>1]=t;c[(c[l>>2]|0)+(y*28|0)+12>>2]=c[q>>2];c[(c[l>>2]|0)+(y*28|0)+16>>2]=c[f>>2];c[(c[l>>2]|0)+(y*28|0)+20>>2]=c[j>>2];c[(c[l>>2]|0)+(y*28|0)+24>>2]=c[k>>2];z=(c[g>>2]|0)+(dada(c[b+1044+(N+ -1<<2)>>2]|0,O)|0;c[b+2456+(N<<2)>>2]=O;N=N+1|0;}while((N|0)<(c[k>>2]|0))}if((c[(Yu(e,202856,m,0)|0)>>2]|0)!=1){Qe(-1,202872,M);break a}M=c[s>>2]|0;if((M|0)!=1){c[L>>2]=M;c[n+4>>2]=1;Qe(0,205232,n);tc()}n=c[q>>2]|0;l=1.0/(+lW(1.0,n)+-1.0);Of(m);d:do{if((c[(Yu(e,202920,m,0)|0)>>2]|0)==6){L=c[s>>2]|0;if((L|0)!=6){c[K>>2]=L;c[J+4>>2]=6;Qe(0,205232,J);tc()}J=c[k>>2]|0;if((c[(c[q>>2]|0)+12>>2]|0)!=(J<<1|0)){B=29;break}if((J|0)<=0){break}L=6;J=0;while(1){K=J<<1;if((L|0)!=6){B=36;break}ut(c[q>>2]|0,K,y)|0;L=c[r>>2]|0;if((L+ -1|0)>>>0>=2){B=38;break}if((L|0)==1){V=+(c[w>>2]|0)}else{V=+h[w>>3]}h[b+1176+(J<<4)>>3]=V;Of(y);L=c[s>>2]|0;if((L|0)!=6){B=43;break}ut(c[q>>2]|0,K|1,y)|0;K=c[r>>2]|0;if((K+ -1|0)>>>0>=2){B=45;break}if((K|0)==1){V=+(c[w>>2]|0)}else{V=+h[w>>3]}h[b+1176+(J<<4)+8>>3]=V;Of(y);J=J+1|0;if((J|0)>=(c[k>>2]|0)){break d}L=c[s>>2]|0}if((B|0)==36){c[E>>2]=L;c[F+4>>2]=6;Qe(0,205232,F);tc()}else if((B|0)==38){Qe(-1,202928,G);break c}else if((B|0)==43){c[H>>2]=L;c[I+4>>2]=6;Qe(0,205232,I);tc()}else if((B|0)==45){Qe(-1,202928,D);break c}}else{J=c[k>>2]|0;B=29}}while(0);do{if((B|0)==29){if((J|0)>0){D=0}else{break}do{h[b+1176+(D<<4)>>3]=0.0;h[b+1176+(D<<4)+8>>3]=+((c[b+1044+(D<<2)>>2]|0)+ -1|0);D=D+1|0;}while((D|0)<(c[k>>2]|0))}}while(0);Of(m);if((c[k>>2]|0)>0){D=b+16|0;E=0;do{h[b+2200+(E<<3)>>3]=(+h[b+1176+(E<<4)+8>>3]- +h[b+1176+(E<<4)>>3])/(+h[D+(E<<4)+8>>3]- +h[D+(E<<4)>>3]);E=E+1|0;}while((E|0)<(c[k>>2]|0))}e:do{if((c[(Yu(e,202968,m,0)|0)>>2]|0)==6){e=c[s>>2]|0;if((e|0)!=6){c[A>>2]=e;c[z+4>>2]=6;Qe(0,205232,z);tc()}z=c[C>>2]|0;if((c[(c[q>>2]|0)+12>>2]|0)!=(z<<1|0)){B=57;break}if((z|0)<=0){break}e=6;z=0;while(1){A=z<<1;if((e|0)!=6){B=65;break}ut(c[q>>2]|0,A,y)|0;e=c[r>>2]|0;if((e+ -1|0)>>>0>=2){B=67;break}if((e|0)==1){V=+(c[w>>2]|0)}else{V=+h[w>>3]}h[b+1688+(z<<4)>>3]=V;Of(y);e=c[s>>2]|0;if((e|0)!=6){B=72;break}ut(c[q>>2]|0,A|1,y)|0;A=c[r>>2]|0;if((A+ -1|0)>>>0>=2){B=74;break}if((A|0)==1){V=+(c[w>>2]|0)}else{V=+h[w>>3]}h[b+1688+(z<<4)+8>>3]=V;Of(y);z=z+1|0;if((z|0)>=(c[C>>2]|0)){break e}e=c[s>>2]|0}if((B|0)==65){c[v>>2]=e;c[o+4>>2]=6;Qe(0,205232,o);tc()}else if((B|0)==67){Qe(-1,202976,x);break c}else if((B|0)==72){c[p>>2]=e;c[t+4>>2]=6;Qe(0,205232,t);tc()}else if((B|0)==74){Qe(-1,202976,u);break c}}else{z=c[C>>2]|0;B=57}}while(0);do{if((B|0)==57){if((z|0)<=0){break}p=b+528|0;o=0;do{h[b+1688+(o<<4)>>3]=+h[p+(o<<4)>>3];h[b+1688+(o<<4)+8>>3]=+h[p+(o<<4)+8>>3];o=o+1|0;}while((o|0)<(c[C>>2]|0))}}while(0);Of(m);p=c[C>>2]|0;m=b+2588|0;c[m>>2]=p;k=c[k>>2]|0;if((k|0)>0){o=0;while(1){p=da(p,c[b+1044+(o<<2)>>2]|0)|0;c[m>>2]=p;o=o+1|0;if((o|0)<(k|0)){}else{break}}}c[j>>2]=ye(p,8)|0;b=(1<<n)+ -1|0;fd[c[(c[d>>2]|0)+12>>2]&511](d);if((c[m>>2]|0)>0){if((n|0)==8){b=0;do{V=l*+((jd[c[(c[d>>2]|0)+20>>2]&511](d)|0)>>>0);h[(c[j>>2]|0)+(b<<3)>>3]=V;b=b+1|0;}while((b|0)<(c[m>>2]|0))}else if((n|0)==16){b=0;do{U=(jd[c[(c[d>>2]|0)+20>>2]&511](d)|0)<<8;V=l*+(((jd[c[(c[d>>2]|0)+20>>2]&511](d)|0)+U|0)>>>0);h[(c[j>>2]|0)+(b<<3)>>3]=V;b=b+1|0;}while((b|0)<(c[m>>2]|0))}else{p=0;o=0;k=0;do{if((n|0)==32){q=(jd[c[(c[d>>2]|0)+20>>2]&511](d)|0)<<8;q=(jd[c[(c[d>>2]|0)+20>>2]&511](d)|0)+q<<8;q=(jd[c[(c[d>>2]|0)+20>>2]&511](d)|0)+q<<8;q=(jd[c[(c[d>>2]|0)+20>>2]&511](d)|0)+q|0}else{if((p|0)<(n|0)){while(1){o=(jd[c[(c[d>>2]|0)+20>>2]&511](d)|0)&255|o<<8;p=p+8|0;if((p|0)<(n|0)){}else{q=o;break}}}else{q=o}U=p-n|0;p=U;o=q;q=q>>>U&b}h[(c[j>>2]|0)+(k<<3)>>3]=l*+(q>>>0);k=k+1|0;}while((k|0)<(c[m>>2]|0))}}fd[c[(c[d>>2]|0)+16>>2]&511](d);a[g]=1;i=f;return}}while(0);Of(y)}else{B=14}}while(0);if((B|0)==14){Qe(-1,202768,P)}Of(m);i=f;return}function KH(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=202600;d=c[a+2584>>2]|0;if((d|0)!=0){Fe(d)}d=c[a+2592>>2]|0;if((d|0)==0){HW(a);i=b;return}Fe(d);HW(a);i=b;return}function LH(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=202600;d=c[a+2584>>2]|0;if((d|0)!=0){Fe(d)}a=c[a+2592>>2]|0;if((a|0)==0){i=b;return}Fe(a);i=b;return}function MH(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0.0,x=0.0;j=i;l=i;i=i+256|0;f=i;i=i+256|0;g=i;i=i+256|0;e=a+4|0;q=c[e>>2]|0;if((q|0)>0){m=a+16|0;n=0;do{w=(+h[b+(n<<3)>>3]- +h[m+(n<<4)>>3])*+h[a+2200+(n<<3)>>3]+ +h[a+1176+(n<<4)>>3];o=c[a+1044+(n<<2)>>2]|0;do{if(w<0.0){w=0.0}else{x=+(o+ -1|0);if(w<=x){break}w=x}}while(0);p=~~w;c[l+(n<<3)>>2]=p;r=p+1|0;c[l+(n<<3)+4>>2]=(r|0)<(o|0)?r:p;x=w- +(p|0);h[g+(n<<3)>>3]=x;h[f+(n<<3)>>3]=1.0-x;n=n+1|0;}while((n|0)<(q|0))}p=a+8|0;if((c[p>>2]|0)<=0){i=j;return}b=a+2592|0;m=a+528|0;o=a+2588|0;n=a+2584|0;s=q;q=0;while(1){t=1<<s;if((t|0)>0){r=0;do{if((s|0)>0){u=q;v=0;t=r;while(1){u=(da(c[l+(v<<3)+((t&1)<<2)>>2]|0,c[a+2456+(v<<2)>>2]|0)|0)+u|0;v=v+1|0;if((v|0)<(s|0)){t=t>>1}else{break}}}else{u=q}do{if((u|0)>-1){if((u|0)>=(c[o>>2]|0)){k=15;break}h[(c[b>>2]|0)+(r<<3)>>3]=+h[(c[n>>2]|0)+(u<<3)>>3]}else{k=15}}while(0);if((k|0)==15){k=0;h[(c[b>>2]|0)+(r<<3)>>3]=0.0}r=r+1|0;s=c[e>>2]|0;t=1<<s;}while((r|0)<(t|0))}if((s|0)>0){r=0;while(1){if((t|0)>0){x=+h[f+(r<<3)>>3];w=+h[g+(r<<3)>>3];s=0;do{v=c[b>>2]|0;h[v+(s>>1<<3)>>3]=x*+h[v+(s<<3)>>3]+w*+h[v+((s|1)<<3)>>3];s=s+2|0;}while((s|0)<(t|0));s=c[e>>2]|0}r=r+1|0;if((r|0)<(s|0)){t=t>>1}else{break}}}w=+h[a+1688+(q<<4)>>3];w=w+ +h[c[b>>2]>>3]*(+h[a+1688+(q<<4)+8>>3]-w);r=d+(q<<3)|0;h[r>>3]=w;x=+h[m+(q<<4)>>3];do{if(w<x){h[r>>3]=x}else{x=+h[m+(q<<4)+8>>3];if(w<=x){break}h[r>>3]=x}}while(0);q=q+1|0;if((q|0)>=(c[p>>2]|0)){break}s=c[e>>2]|0}i=j;return}function NH(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0.0;d=i;k=i;i=i+16|0;l=k;q=i;i=i+8|0;y=i;i=i+8|0;s=i;i=i+8|0;t=i;i=i+8|0;o=t;v=i;i=i+8|0;x=i;i=i+8|0;w=x;I=i;i=i+8|0;B=i;i=i+8|0;z=i;i=i+8|0;A=z;D=i;i=i+8|0;F=D;G=i;i=i+8|0;H=i;i=i+8|0;C=H;E=i;i=i+8|0;m=i;i=i+16|0;f=m;r=i;i=i+16|0;p=r;c[b>>2]=203024;c[m>>2]=13;j=f+8|0;c[j>>2]=0;c[j+4>>2]=0;c[r>>2]=13;n=p+8|0;c[n>>2]=0;c[n+4>>2]=0;g=b+1569|0;a[g]=0;if(!(GH(b,e)|0)){i=d;return}if((c[b+4>>2]|0)!=1){Qe(-1,203048,E);i=d;return}J=(c[(Yu(e,203096,f,0)|0)>>2]|0)==6;E=(a[b+1040|0]&1)!=0;a:do{if(J){I=c[m>>2]|0;J=(I|0)==6;do{if(E){if(!J){c[H>>2]=I;c[C+4>>2]=6;Qe(0,205232,C);tc()}if((c[(c[j>>2]|0)+12>>2]|0)==(c[b+8>>2]|0)){break}Qe(-1,203104,G);break a}else{if(J){break}c[D>>2]=I;c[F+4>>2]=6;Qe(0,205232,F);tc()}}while(0);J=c[(c[j>>2]|0)+12>>2]|0;u=b+8|0;c[u>>2]=J;if((J|0)<=0){u=27;break}C=6;D=0;while(1){if((C|0)!=6){u=15;break}ut(c[j>>2]|0,D,p)|0;C=c[r>>2]|0;if((C+ -1|0)>>>0>=2){u=17;break}if((C|0)==1){K=+(c[n>>2]|0)}else{K=+h[n>>3]}h[b+1048+(D<<3)>>3]=K;Of(p);D=D+1|0;if((D|0)>=(c[u>>2]|0)){u=27;break a}C=c[m>>2]|0}if((u|0)==15){c[z>>2]=C;c[A+4>>2]=6;Qe(0,205232,A);tc()}else if((u|0)==17){Qe(-1,203144,B);u=54;break}}else{z=b+8|0;do{if(E){if((c[z>>2]|0)==1){break}Qe(-1,203104,I);break a}}while(0);c[z>>2]=1;h[b+1048>>3]=0.0;u=27}}while(0);b:do{if((u|0)==27){Of(f);c:do{if((c[(Yu(e,203184,f,0)|0)>>2]|0)==6){y=c[m>>2]|0;if((y|0)!=6){c[x>>2]=y;c[w+4>>2]=6;Qe(0,205232,w);tc()}x=c[(c[j>>2]|0)+12>>2]|0;w=b+8|0;if((x|0)!=(c[w>>2]|0)){Qe(-1,203192,v);break b}if((x|0)<=0){break}x=6;v=0;while(1){if((x|0)!=6){u=35;break}ut(c[j>>2]|0,v,p)|0;x=c[r>>2]|0;if((x+ -1|0)>>>0>=2){u=37;break}if((x|0)==1){K=+(c[n>>2]|0)}else{K=+h[n>>3]}h[b+1304+(v<<3)>>3]=K;Of(p);v=v+1|0;if((v|0)>=(c[w>>2]|0)){break c}x=c[m>>2]|0}if((u|0)==35){c[t>>2]=x;c[o+4>>2]=6;Qe(0,205232,o);tc()}else if((u|0)==37){Qe(-1,203232,s);u=54;break b}}else{if((c[b+8>>2]|0)==1){h[b+1304>>3]=1.0;break}else{Qe(-1,203192,y);break b}}}while(0);Of(f);if(((c[(Yu(e,203272,f,0)|0)>>2]|0)+ -1|0)>>>0>=2){Qe(-1,203280,q);break}e=c[m>>2]|0;if((e+ -1|0)>>>0>=2){c[k>>2]=e;c[l+4>>2]=1;c[l+8>>2]=2;Qe(0,205304,l);tc()}if((e|0)==1){K=+(c[j>>2]|0)}else{K=+h[j>>3]}J=b+1560|0;h[J>>3]=K;Of(f);a[b+1568|0]=+S(+(+h[J>>3]+-1.0))<1.0e-10|0;a[g]=1;i=d;return}}while(0);if((u|0)==54){Of(p)}Of(f);i=d;return}function OH(a){a=a|0;var b=0;b=i;HW(a);i=b;return}function PH(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,k=0.0,l=0,m=0,n=0,o=0.0,p=0.0;f=i;o=+h[d>>3];k=+h[b+16>>3];if(o>=k){k=+h[b+24>>3];k=o>k?k:o}m=b+8|0;if((c[m>>2]|0)<=0){i=f;return}l=b+1568|0;d=b+1560|0;j=b+1040|0;g=0;do{o=+h[b+1048+(g<<3)>>3];if((a[l]&1)==0){p=+U(+k,+(+h[d>>3]))}else{p=k}o=o+p*(+h[b+1304+(g<<3)>>3]-o);n=e+(g<<3)|0;h[n>>3]=o;do{if((a[j]&1)!=0){p=+h[b+528+(g<<4)>>3];if(o<p){h[n>>3]=p;break}p=+h[b+528+(g<<4)+8>>3];if(o<=p){break}h[n>>3]=p}}while(0);g=g+1|0;}while((g|0)<(c[m>>2]|0));i=f;return}function QH(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0.0,la=0.0;l=i;T=i;i=i+8|0;_=T;w=i;i=i+16|0;t=w;r=i;i=i+8|0;u=i;i=i+8|0;v=u;y=i;i=i+8|0;z=i;i=i+8|0;A=z;F=i;i=i+16|0;G=F;E=i;i=i+8|0;C=i;i=i+8|0;D=C;K=i;i=i+8|0;I=i;i=i+8|0;L=I;U=i;i=i+8|0;W=i;i=i+8|0;V=W;Y=i;i=i+8|0;X=Y;x=i;i=i+8|0;$=x;ba=i;i=i+8|0;aa=i;i=i+8|0;Q=i;i=i+8|0;R=Q;O=i;i=i+8|0;P=O;N=i;i=i+8|0;m=i;i=i+16|0;q=m;o=i;i=i+16|0;s=o;S=i;i=i+16|0;Z=S;c[b>>2]=203328;c[m>>2]=13;p=q+8|0;c[p>>2]=0;c[p+4>>2]=0;c[o>>2]=13;n=s+8|0;c[n>>2]=0;c[n+4>>2]=0;k=b+1064|0;M=b+1048|0;j=b+1052|0;g=b+1056|0;d=b+1060|0;bX(M|0,0,17)|0;a:do{if(GH(b,e)|0){if((c[b+4>>2]|0)!=1){Qe(-1,203352,aa);break}if((c[(Yu(e,203400,q,0)|0)>>2]|0)!=6){Qe(-1,203416,ba);break}aa=c[m>>2]|0;if((aa|0)!=6){c[x>>2]=aa;c[$+4>>2]=6;Qe(0,205232,$);tc()}ja=c[(c[p>>2]|0)+12>>2]|0;x=b+1044|0;c[x>>2]=ja;c[M>>2]=ye(ja,4)|0;c[j>>2]=ye((c[x>>2]|0)+1|0,8)|0;c[g>>2]=ye(c[x>>2]<<1,8)|0;c[d>>2]=ye(c[x>>2]|0,8)|0;b:do{if((c[x>>2]|0)>0){$=0;do{c[(c[M>>2]|0)+($<<2)>>2]=0;$=$+1|0;aa=c[x>>2]|0;}while(($|0)<(aa|0));if((aa|0)<=0){H=56;break}ca=Z+4|0;ba=Z+8|0;$=f+4|0;aa=Z+4|0;da=0;c:while(1){c[ca>>2]=0;c[ba>>2]=0;c[S>>2]=ca;ea=c[f>>2]|0;if((ea|0)!=($|0)){do{ha=ea+16|0;c[N>>2]=ca;$W(T|0,N|0,4)|0;ga=Xv(Z,_,P,ha)|0;if((c[ga>>2]|0)==0){fa=FW(20)|0;c[fa+16>>2]=c[ha>>2];ha=c[O>>2]|0;c[fa>>2]=0;c[fa+4>>2]=0;c[fa+8>>2]=ha;c[ga>>2]=fa;ha=c[c[S>>2]>>2]|0;if((ha|0)!=0){c[S>>2]=ha;fa=c[ga>>2]|0}un(c[aa>>2]|0,fa);c[ba>>2]=(c[ba>>2]|0)+1}fa=c[ea+4>>2]|0;if((fa|0)==0){while(1){fa=c[ea+8>>2]|0;if((ea|0)==(c[fa>>2]|0)){ea=fa;break}else{ea=fa}}}else{ea=fa;while(1){fa=c[ea>>2]|0;if((fa|0)==0){break}else{ea=fa}}}}while((ea|0)!=($|0))}ea=c[m>>2]|0;if((ea|0)!=6){H=23;break}vt(c[p>>2]|0,da,s)|0;if((c[o>>2]|0)==9){ea=c[n>>2]|0;ga=c[ca>>2]|0;fa=(ga|0)==0;do{if(fa){H=40}else{ja=ga;ia=ca;d:while(1){ha=ja;while(1){if((c[ha+16>>2]|0)>=(ea|0)){break}ha=c[ha+4>>2]|0;if((ha|0)==0){ha=ia;break d}}ja=c[ha>>2]|0;if((ja|0)==0){break}else{ia=ha}}if((ha|0)!=(ca|0)){if((ea|0)>=(c[ha+16>>2]|0)){J=ga;break c}}if(fa){H=40;break}while(1){H=c[ga+16>>2]|0;if((ea|0)<(H|0)){H=c[ga>>2]|0;if((H|0)==0){H=35;break}else{ga=H;continue}}if((H|0)>=(ea|0)){H=39;break}fa=ga+4|0;H=c[fa>>2]|0;if((H|0)==0){H=38;break}else{ga=H}}if((H|0)==35){H=0;c[Q>>2]=ga;break}else if((H|0)==38){H=0;c[Q>>2]=ga;ga=fa;break}else if((H|0)==39){H=0;c[Q>>2]=ga;ga=R;break}}}while(0);if((H|0)==40){H=0;c[Q>>2]=ca;ga=ca}if((c[ga>>2]|0)==0){fa=FW(20)|0;c[fa+16>>2]=ea;ea=c[Q>>2]|0;c[fa>>2]=0;c[fa+4>>2]=0;c[fa+8>>2]=ea;c[ga>>2]=fa;ea=c[c[S>>2]>>2]|0;if((ea|0)!=0){c[S>>2]=ea;fa=c[ga>>2]|0}un(c[aa>>2]|0,fa);c[ba>>2]=(c[ba>>2]|0)+1}Of(s);ea=c[m>>2]|0;if((ea|0)!=6){H=46;break}ut(c[p>>2]|0,da,s)|0}ja=FH(s,Z)|0;c[(c[M>>2]|0)+(da<<2)>>2]=ja;if((ja|0)==0){H=49;break}if((da|0)>0){fa=c[M>>2]|0;ea=c[fa+(da<<2)>>2]|0;if((c[ea+4>>2]|0)!=1){H=53;break}if((c[ea+8>>2]|0)!=(c[(c[fa>>2]|0)+8>>2]|0)){H=53;break}}Of(s);xn(Z,c[aa>>2]|0);da=da+1|0;if((daDa=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0.0,zd=0,Ad=0,Bd=0.0,Cd=0;g=i;Xb=i;i=i+8|0;Tb=i;i=i+8|0;Sb=i;i=i+8|0;Vb=i;i=i+8|0;Ub=i;i=i+8|0;qd=i;i=i+8|0;sd=i;i=i+8|0;rd=i;i=i+8|0;ud=i;i=i+8|0;td=i;i=i+8|0;Rb=i;i=i+8|0;Qb=i;i=i+8|0;Pb=i;i=i+8|0;Ob=i;i=i+8|0;pd=i;i=i+8|0;od=i;i=i+8|0;Nb=i;i=i+8|0;Mb=i;i=i+8|0;nd=i;i=i+8|0;md=i;i=i+8|0;ld=i;i=i+8|0;kd=i;i=i+8|0;jd=i;i=i+8|0;Ib=i;i=i+8|0;Hb=i;i=i+8|0;Gb=i;i=i+8|0;Fb=i;i=i+8|0;Lb=i;i=i+8|0;Kb=i;i=i+8|0;Jb=i;i=i+8|0;Eb=i;i=i+8|0;Db=i;i=i+8|0;Cb=i;i=i+8|0;id=i;i=i+8|0;hd=i;i=i+8|0;Bb=i;i=i+8|0;zb=i;i=i+8|0;yb=i;i=i+8|0;xb=i;i=i+8|0;wb=i;i=i+8|0;Ab=i;i=i+8|0;cd=i;i=i+8|0;ed=i;i=i+8|0;dd=i;i=i+8|0;gd=i;i=i+8|0;fd=i;i=i+8|0;vb=i;i=i+8|0;ub=i;i=i+8|0;tb=i;i=i+8|0;sb=i;i=i+8|0;rb=i;i=i+8|0;bd=i;i=i+8|0;qb=i;i=i+8|0;pb=i;i=i+8|0;ad=i;i=i+8|0;$c=i;i=i+8|0;ob=i;i=i+8|0;nb=i;i=i+8|0;Wc=i;i=i+8|0;Yc=i;i=i+8|0;Xc=i;i=i+8|0;_c=i;i=i+8|0;Zc=i;i=i+8|0;mb=i;i=i+8|0;lb=i;i=i+8|0;kb=i;i=i+8|0;jb=i;i=i+8|0;ib=i;i=i+8|0;hb=i;i=i+8|0;gb=i;i=i+8|0;fb=i;i=i+8|0;Vc=i;i=i+8|0;Uc=i;i=i+8|0;Tc=i;i=i+8|0;f=i;i=i+8|0;Rc=i;i=i+8|0;xa=i;i=i+8|0;wa=i;i=i+8|0;va=i;i=i+8|0;ua=i;i=i+8|0;ta=i;i=i+8|0;sa=i;i=i+8|0;ra=i;i=i+8|0;qa=i;i=i+8|0;pa=i;i=i+8|0;Qc=i;i=i+8|0;Pc=i;i=i+8|0;Oc=i;i=i+8|0;Nc=i;i=i+8|0;Mc=i;i=i+8|0;oa=i;i=i+8|0;na=i;i=i+8|0;ma=i;i=i+8|0;la=i;i=i+8|0;ka=i;i=i+8|0;ja=i;i=i+8|0;ia=i;i=i+8|0;ha=i;i=i+8|0;ga=i;i=i+8|0;fa=i;i=i+8|0;Kc=i;i=i+8|0;Jc=i;i=i+8|0;Ic=i;i=i+8|0;Hc=i;i=i+8|0;Gc=i;i=i+8|0;Ya=i;i=i+8|0;Xa=i;i=i+8|0;Wa=i;i=i+8|0;Va=i;i=i+8|0;Ua=i;i=i+8|0;Ta=i;i=i+8|0;Sa=i;i=i+8|0;ea=i;i=i+8|0;aa=i;i=i+8|0;_=i;i=i+8|0;Z=i;i=i+8|0;Y=i;i=i+8|0;Fc=i;i=i+8|0;Ec=i;i=i+8|0;Dc=i;i=i+8|0;Cc=i;i=i+8|0;Bc=i;i=i+8|0;ab=i;i=i+8|0;$a=i;i=i+8|0;_a=i;i=i+8|0;Za=i;i=i+8|0;Ac=i;i=i+8|0;zc=i;i=i+8|0;yc=i;i=i+8|0;xc=i;i=i+8|0;wc=i;i=i+8|0;Ba=i;i=i+8|0;Aa=i;i=i+8|0;za=i;i=i+8|0;ya=i;i=i+8|0;vc=i;i=i+8|0;uc=i;i=i+8|0;E=i;i=i+8|0;D=i;i=i+8|0;Ra=i;i=i+8|0;Qa=i;i=i+8|0;Pa=i;i=i+8|0;Oa=i;i=i+8|0;Na=i;i=i+8|0;pc=i;i=i+8|0;rc=i;i=i+8|0;qc=i;i=i+8|0;tc=i;i=i+8|0;sc=i;i=i+8|0;Ma=i;i=i+8|0;La=i;i=i+8|0;Ka=i;i=i+8|0;Ja=i;i=i+8|0;Ia=i;i=i+8|0;Ha=i;i=i+8|0;Ga=i;i=i+8|0;Fa=i;i=i+8|0;x=i;i=i+8|0;w=i;i=i+8|0;C=i;i=i+8|0;B=i;i=i+8|0;A=i;i=i+8|0;z=i;i=i+8|0;y=i;i=i+8|0;oc=i;i=i+8|0;nc=i;i=i+8|0;k=i;i=i+8|0;mc=i;i=i+8|0;lc=i;i=i+8|0;F=i;i=i+8|0;Ea=i;i=i+8|0;Dada(zd,e)|0;Cd=Ad+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=e;e=xd;continue a}}else{wd=539}}while(0);do{if((wd|0)==539){if((e|0)!=100){wd=541;break}Qe(-1,203744,Rc);wd=547}}while(0);do{if((wd|0)==541){wd=0;zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,f);wd=547;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==547){wd=0;e=c[vd>>2]|0;yd=0.0}do{if((e|0)==100){Qe(-1,203744,Tc);wd=556}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,Uc);wd=556;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){Bd=+(c[Ad>>2]|0)}else{Bd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==556){wd=0;e=c[vd>>2]|0;Bd=0.0}if((e|0)<1){Qe(-1,205192,Vc);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=yd*Bd;e=xd;continue a}break};case 17:{e=c[vd>>2]|0;do{if((e|0)<99){if((c[d+(e<<4)>>2]|0)!=1){wd=335;break}zd=e+1|0;if((c[d+(zd<<4)>>2]|0)!=1){wd=333;break}if((e|0)==100){Qe(-1,203744,ya);zd=c[vd>>2]|0;e=0}else{c[vd>>2]=zd;e=c[d+(e<<4)+8>>2]|0}do{if((zd|0)==100){Qe(-1,203744,za);wd=329}else{if((c[d+(zd<<4)>>2]|0)==1){Ad=zd+1|0;c[vd>>2]=Ad;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,Aa);wd=329;break}}}while(0);if((wd|0)==329){wd=0;Ad=c[vd>>2]|0;zd=0}if((Ad|0)<1){Qe(-1,205192,Ba);e=xd;continue a}else{Cd=Ad+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=(zd|0)>=(e|0)|0;e=xd;continue a}}else{wd=333}}while(0);do{if((wd|0)==333){if((e|0)!=100){wd=335;break}Qe(-1,203744,wc);wd=341}}while(0);do{if((wd|0)==335){wd=0;zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,xc);wd=341;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){yd=+(c[Ad>>2]|0)}else{yd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==341){wd=0;e=c[vd>>2]|0;yd=0.0}do{if((e|0)==100){Qe(-1,203744,yc);wd=350}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,zc);wd=350;break}Ad=d+(e<<4)+8|0;if((zd|0)==1){Bd=+(c[Ad>>2]|0)}else{Bd=+h[Ad>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==350){wd=0;e=c[vd>>2]|0;Bd=0.0}if((e|0)<1){Qe(-1,205192,Ac);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=Bd>=yd|0;e=xd;continue a}break};case 7:{e=c[vd>>2]|0;do{if((e|0)==100){Qe(-1,203744,Ca);wd=169}else{zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,Da>>2]=c[(c[j>>2]|0)+64>>2];e=e+1|0;if(e>>>0>=d>>>0){break a}}i=g;return k|0}else{e=0;while(1){k=YI(a,e+b|0,h)|0;if((k|0)!=0){break}c[f+(e<<2)>>2]=c[(c[j>>2]|0)+68>>2];e=e+1|0;if(e>>>0>=d>>>0){break a}}i=g;return k|0}}}while(0);if((h&1|0)!=0){k=0;i=g;return k|0}a=c[a+88>>2]|0;if((a|0)==0){k=36;i=g;return k|0}a=c[((h&16|0)==0?a+16|0:a+20|0)>>2]|0;b=0;while(1){k=f+(b<<2)|0;c[k>>2]=_I(c[k>>2]|0,a,64)|0;b=b+1|0;if(b>>>0<d>>>0){}else{k=0;break}}i=g;return k|0}function YI(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;g=i;if((d|0)==0){t=35;i=g;return t|0}l=d+88|0;if((c[l>>2]|0)==0){t=35;i=g;return t|0}h=c[d+84>>2]|0;if((h|0)==0){t=35;i=g;return t|0}p=h+156|0;n=c[p>>2]|0;do{if((n|0)==0){k=9}else{if((c[n+4>>2]&1|0)==0){k=9;break}m=c[(c[h+4>>2]|0)+100>>2]|0;j=h+88|0;o=c[j>>2]|0;if((o|0)!=0){hd[c[m+8>>2]&127](m,o);n=c[p>>2]|0}c[j>>2]=0;t=n+4|0;c[t>>2]=c[t>>2]&-2}}while(0);if((k|0)==9){c[h+88>>2]=0}m=h+24|0;a[h+94|0]=0;j=h+72|0;bX(m|0,0,40)|0;bX(j|0,0,16)|0;bX(h+100|0,0,56)|0;n=c[d+96>>2]|0;o=c[(c[n+4>>2]|0)+168>>2]|0;f=(f&1024|0)==0?f:f|2049;if((f&1|0)!=0){f=f&-15|10}a:do{if((o|0)==0){k=28}else{if((f&32770|0)!=0){k=28;break}p=c[c[n>>2]>>2]|0;if((p&768|0)!=256){k=28;break}q=c[d+8>>2]|0;if((q&8192|0)!=0){k=28;break}r=d+128|0;s=c[r>>2]|0;t=(c[s+4>>2]|0)==0;if((c[s+12>>2]|0)==0){if(t){k=28;break}}else{if(!t){k=28;break}}do{if((f&32|0)==0){if((p&1024|0)==0){break}if((f&983040|0)==65536){break}if((a[s+56|0]|0)==0){k=28;break a}}}while(0);do{if((q&2|0)!=0){if((f&8|0)!=0){break}if((pd[c[(c[n+20>>2]|0)+80>>2]&63](h,c[l>>2]|0,e,f|16384)|0)!=0){break}if((c[j>>2]|0)==1651078259){m=0;break a}}}while(0);t=(c[r>>2]|0)+28|0;s=c[t>>2]|0;c[t>>2]=0;m=Cd[c[(c[(c[o>>2]|0)+20>>2]|0)+12>>2]&63](o,h,c[l>>2]|0,e,f)|0;c[t>>2]=s}}while(0);do{if((k|0)==28){k=pd[c[(c[n+20>>2]|0)+80>>2]&63](h,c[l>>2]|0,e,f)|0;if((k|0)!=0){t=k;i=g;return t|0}if((c[j>>2]|0)!=1869968492){m=0;break}n=b[h+110>>1]|0;k=n<<16>>16;o=b[h+108>>1]|0;e=o<<16>>16;do{if((o|n)<<16>>16!=0){if(n<<16>>16<1|o<<16>>16<1){t=6;i=g;return t|0}b:do{if(o<<16>>16>0){q=c[h+120>>2]|0;o=-1;r=0;while(1){t=b[q+(r<<1)>>1]|0;p=t<<16>>16;r=r+1|0;if(!((p|0)>(o|0)&t<<16>>16<n<<16>>16)){h=6;break}if((r|0)<(e|0)){o=p}else{break b}}i=g;return h|0}else{p=-1}}while(0);if((p|0)==(k+ -1|0)){break}else{h=6}i=g;return h|0}}while(0);if((f&2|0)!=0){m=0;break}if((f&16|0)==0){n=h+44|0;c[n>>2]=c[n>>2]&-64;n=h+48|0;c[n>>2]=c[n>>2]&-64;n=h+32|0;q=c[n>>2]|0;p=q+63+(c[m>>2]|0)&-64;o=h+36|0;r=c[o>>2]|0;t=h+28|0;s=r-(c[t>>2]|0)&-64;q=q&-64;c[n>>2]=q;r=r+63&-64;c[o>>2]=r;c[m>>2]=p-q;c[t>>2]=r-s}else{n=h+32|0;c[n>>2]=c[n>>2]&-64;n=h+36|0;c[n>>2]=(c[n>>2]|0)+63&-64;n=h+44|0;q=c[n>>2]|0;p=q+63+(c[m>>2]|0)&-64;o=h+48|0;s=c[o>>2]|0;t=h+28|0;r=s+63+(c[t>>2]|0)&-64;q=q&-64;c[n>>2]=q;s=s&-64;c[o>>2]=s;c[m>>2]=p-q;c[t>>2]=r-s}m=h+40|0;c[m>>2]=(c[m>>2]|0)+32&-64;m=h+52|0;c[m>>2]=(c[m>>2]|0)+32&-64;m=0}}while(0);if((f&16|0)==0){c[h+64>>2]=c[h+40>>2];c[h+68>>2]=0}else{c[h+64>>2]=0;c[h+68>>2]=c[h+52>>2]}do{if((f&8192|0)==0){if((c[d+8>>2]&1|0)==0){break}s=c[l>>2]|0;t=h+56|0;c[t>>2]=_I(c[t>>2]|0,c[s+16>>2]|0,64)|0;t=h+60|0;c[t>>2]=_I(c[t>>2]|0,c[s+20>>2]|0,64)|0}}while(0);do{if((f&2048|0)==0){d=c[d+128>>2]|0;if((c[d+28>>2]|0)==0){break}l=c[(c[(c[h+4>>2]|0)+96>>2]|0)+4>>2]|0;k=c[l+164>>2]|0;if((k|0)==0){e=c[j>>2]|0;k=53}else{e=c[j>>2]|0;if((c[k+24>>2]|0)==(e|0)){m=k;k=58}else{k=53}}c:do{if((k|0)==53){d:do{if((l|0)!=0){n=c[l+156>>2]|0;if((n|0)==0){break}while(1){l=c[n+8>>2]|0;if((c[l+24>>2]|0)==(e|0)){break}n=c[n+4>>2]|0;if((n|0)==0){break d}}if((l|0)!=0){m=l;k=58;break c}}}while(0);l=d+4|0;if((e|0)!=1869968492){break}n=h+112|0;p=c[n>>2]|0;e=h+110|0;t=b[e>>1]|0;o=p+(t<<16>>16<<3)|0;if(t<<16>>16<=0){break}do{IJ(p,l);p=p+8|0;}while(p>>>0<o>>>0);o=c[d+20>>2]|0;d=c[d+24>>2]|0;if((b[e>>1]|0)<=0){break}p=0;n=c[n>>2]|0;while(1){c[n>>2]=(c[n>>2]|0)+o;t=n+4|0;c[t>>2]=(c[t>>2]|0)+d;p=p+1<<16>>16;if((p&65535|0)<(b[e>>1]|0)){n=n+8|0}else{break}}}}while(0);if((k|0)==58){t=d+4|0;l=t;m=pd[c[(c[m+20>>2]|0)+44>>2]&63](m,h,t,d+20|0)|0}IJ(h+64|0,l)}}while(0);if((m|0)!=0){t=m;i=g;return t|0}t=c[j>>2]|0;if((t|0)==1668246896|(t|0)==1651078259){t=0;i=g;return t|0}if((f&4|0)==0){t=0;i=g;return t|0}j=f>>>16&15;k=c[h+4>>2]|0;if((k|0)==0){t=6;i=g;return t|0}t=jK(c[(c[k+96>>2]|0)+4>>2]|0,h,(j|0)!=0|(f&4096|0)==0?j:2)|0;i=g;return t|0}function ZI(a){a=a|0;var b=0;b=i;if((a|0)>-1){a=a+32768&-65536;i=b;return a|0}else{a=0-(32768-a&-65536)|0;i=b;return a|0}return 0}function _I(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;if((a|0)==0|(b|0)==(c|0)){i=d;return a|0}g=(a|0)<0?0-a|0:a;f=(b|0)<0?0-b|0:b;b=b^a^c;c=(c|0)<0?0-c|0:c;do{if((g|0)<46341&(f|0)<46341){if((c+ -1|0)>>>0>=176095){e=5;break}g=((c>>1)+(da(f,g)|0)|0)/(c|0)|0}else{e=5}}while(0);do{if((e|0)==5){if((c|0)<=0){g=2147483647;break}a=g&65535;j=g>>>16;e=f&65535;k=f>>>16;f=da(e,j)|0;h=(da(k,a)|0)+f|0;g=h<<16;a=g+(da(e,a)|0)|0;e=a+(c>>1)|0;a=(h>>>16)+(da(k,j)|0)+((h>>>0<f>>>0)<<16)+(a>>>0<g>>>0)+(e>>>0<a>>>0)|0;if(a>>>0<c>>>0){f=32;g=0}else{g=2147483647;break}while(1){g=g<<1;a=a<<1|e>>>31;if(a>>>0>=c>>>0){g=g|1;a=a-c|0}f=f+ -1|0;if((f|0)==0){break}else{e=e<<1}}}}while(0);k=(b|0)<0?0-g|0:g;i=d;return k|0}function $I(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;d=i;if((a|0)==0|(b|0)==(c|0)){g=a;i=d;return g|0}f=(a|0)<0?0-a|0:a;e=(b|0)<0?0-b|0:b;b=b^a^c;c=(c|0)<0?0-c|0:c;a=(c|0)>0;do{if((f|0)<46341&(e|0)<46341&a){a=(da(e,f)|0)/(c|0)|0}else{if(!a){a=2147483647;break}k=f&65535;h=f>>>16;l=e&65535;j=e>>>16;a=da(l,h)|0;f=(da(j,k)|0)+a|0;g=f<<16;e=g+(da(l,k)|0)|0;g=(f>>>16)+(da(j,h)|0)+((f>>>0<a>>>0)<<16)+(e>>>0<g>>>0)|0;if(g>>>0<c>>>0){f=32;a=0}else{a=2147483647;break}while(1){a=a<<1;g=g<<1|e>>>31;if(g>>>0>=c>>>0){a=a|1;g=g-c|0}f=f+ -1|0;if((f|0)==0){break}else{e=e<<1}}}}while(0);l=(b|0)<0?0-a|0:a;i=d;return l|0}function aJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=i;if((a|0)==0|(b|0)==65536){e=a;i=c;return e|0}d=(a|0)<0?0-a|0:a;e=(b|0)<0?0-b|0:b;if(d>>>0<2049&e>>>0<1048577){d=((da(e,d)|0)+32768|0)>>>16}else{f=d&65535;d=(da(e>>>16,f)|0)+(da(d>>>16,e)|0)+(((da(e&65535,f)|0)+32768|0)>>>16)|0}f=(b^a|0)<0?0-d|0:d;i=c;return f|0}function bJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=i;d=(a|0)<0?0-a|0:a;a=b^a;b=(b|0)<0?0-b|0:b;do{if((b|0)==0){f=2147483647}else{e=d>>16;f=d<<16;d=(b>>1)+f|0;if((e|0)==0){f=(d>>>0)/(b>>>0)|0;break}g=(d>>>0<f>>>0)+e|0;if(g>>>0<b>>>0){e=32;f=0}else{f=2147483647;break}while(1){f=f<<1;g=g<<1|d>>>31;if(g>>>0>=b>>>0){f=f|1;g=g-b|0}e=e+ -1|0;if((e|0)==0){break}else{d=d<<1}}}}while(0);i=c;return((a|0)<0?0-f|0:f)|0}function cJ(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;b=i;if((a|0)==0){r=6;i=b;return r|0}f=c[a>>2]|0;d=a+12|0;j=c[d>>2]|0;if((f|0)==0|(j|0)==65536){h=f}else{e=(f|0)<0?0-f|0:f;g=(j|0)<0?0-j|0:j;if(e>>>0<2049&g>>>0<1048577){e=((da(g,e)|0)+32768|0)>>>16}else{r=e&65535;e=(da(g>>>16,r)|0)+(da(e>>>16,g)|0)+(((dada(g,n)|0)+32768|0)>>>16}else{r=n&65535;g=(da(g>>>16,r)|0)+(da(n>>>16,g)|0)+(((da(g&65535,r)|0)+32768|0)>>>16)|0}n=(l^e|0)<0?0-g|0:g}g=h-n|0;if((h|0)==(n|0)){r=6;i=b;return r|0}o=(e|0)<0?0-e|0:e;n=e^g;e=(g|0)<0?0-g|0:g;h=(e|0)==0;do{if(h){q=2147483647}else{p=o>>16;q=o<<16;o=q+(e>>1)|0;if((p|0)==0){q=(o>>>0)/(e>>>0)|0;break}r=(o>>>0<q>>>0)+p|0;if(r>>>0<e>>>0){p=32;q=0}else{q=2147483647;break}while(1){q=q<<1;r=r<<1|o>>>31;if(r>>>0>=e>>>0){q=q|1;r=r-e|0}p=p+ -1|0;if((p|0)==0){break}else{o=o<<1}}}}while(0);c[m>>2]=0-((n|0)<0?0-q|0:q);m=(l|0)<0?0-l|0:l;l=l^g;do{if(h){o=2147483647}else{n=m>>16;o=m<<16;m=o+(e>>1)|0;if((n|0)==0){o=(m>>>0)/(e>>>0)|0;break}p=(m>>>0<o>>>0)+n|0;if(p>>>0<e>>>0){n=32;o=0}else{o=2147483647;break}while(1){o=o<<1;p=p<<1|m>>>31;if(p>>>0>=e>>>0){o=o|1;p=p-e|0}n=n+ -1|0;if((n|0)==0){break}else{m=m<<1}}}}while(0);c[k>>2]=0-((l|0)<0?0-o|0:o);k=(j|0)<0?0-j|0:j;j=j^g;do{if(h){n=2147483647}else{l=k>>16;m=k<<16;k=m+(e>>1)|0;if((l|0)==0){n=(k>>>0)/(e>>>0)|0;break}m=(k>>>0<m>>>0)+l|0;if(m>>>0<e>>>0){l=32;n=0}else{n=2147483647;break}while(1){n=n<<1;m=m<<1|k>>>31;if(m>>>0>=e>>>0){n=n|1;m=m-e|0}l=l+ -1|0;if((l|0)==0){break}else{k=k<<1}}}}while(0);c[a>>2]=(j|0)<0?0-n|0:n;a=(f|0)<0?0-f|0:f;f=f^g;do{if(h){j=2147483647}else{g=a>>16;h=a<<16;a=h+(e>>1)|0;if((g|0)==0){j=(a>>>0)/(e>>>0)|0;break}h=(a>>>0<h>>>0)+g|0;if(h>>>0<e>>>0){g=32;j=0}else{j=2147483647;break}while(1){j=j<<1;h=h<<1|a>>>31;if(h>>>0>=e>>>0){j=j|1;h=h-e|0}g=g+ -1|0;if((g|0)==0){break}else{a=a<<1}}}}while(0);c[d>>2]=(f|0)<0?0-j|0:j;r=0;i=b;return r|0}function dJ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=i;d=d<<16;if((a|0)==0|(b|0)==0){i=e;return}j=c[a>>2]|0;p=c[b>>2]|0;k=_I(j,p,d)|0;o=c[a+4>>2]|0;g=b+8|0;q=c[g>>2]|0;k=(_I(o,q,d)|0)+k|0;h=b+4|0;l=c[h>>2]|0;j=_I(j,l,d)|0;f=b+12|0;m=c[f>>2]|0;j=(_I(o,m,d)|0)+j|0;o=c[a+8>>2]|0;p=_I(o,p,d)|0;n=c[a+12>>2]|0;a=(_I(n,q,d)|0)+p|0;l=_I(o,l,d)|0;d=(_I(n,m,d)|0)+l|0;c[b>>2]=k;c[h>>2]=j;c[g>>2]=a;c[f>>2]=d;i=e;return}function eJ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;d=d<<16;if((a|0)==0|(b|0)==0){i=e;return}h=c[a>>2]|0;g=_I(h,c[b>>2]|0,d)|0;f=a+4|0;j=c[f>>2]|0;g=(_I(j,c[b+4>>2]|0,d)|0)+g|0;h=_I(h,c[b+8>>2]|0,d)|0;d=(_I(j,c[b+12>>2]|0,d)|0)+h|0;c[a>>2]=g;c[f>>2]=d;i=e;return}function fJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=i;if((a|0)>0){c=24;e=0;f=0}else{f=0;i=b;return f|0}while(1){e=a>>>30|e<<2;d=f<<1;f=f<<2|1;if(e>>>0>=f>>>0){e=e-f|0;d=d|1}c=c+ -1|0;if((c|0)==0){break}else{f=d;a=a<<2}}i=b;return d|0}function gJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;if((b|0)==0){i=e;return((a|0)>-1?d:0-d|0)|0}if((a|0)==0){a=(b|0)>-1?0-c|0:c;i=e;return a|0}if((d|0)==0){a=(c|0)>-1?b:0-b|0;i=e;return a|0}if((c|0)==0){a=(d|0)>-1?0-a|0:a;i=e;return a|0}f=a&65535;l=a>>>16;g=d&65535;j=d>>>16;k=da(g,l)|0;h=(da(j,f)|0)+k|0;a=h<<16;d=a+(da(g,f)|0)|0;a=(h>>>16)+(da(j,l)|0)+((h>>>0<k>>>0)<<16)+(d>>>0<a>>>0)|0;k=b&65535;h=b>>>16;l=c&65535;j=c>>>16;f=da(l,h)|0;g=(da(j,k)|0)+f|0;b=g<<16;c=b+(da(l,k)|0)|0;b=(g>>>16)+(da(j,h)|0)+((g>>>0<f>>>0)<<16)+(c>>>0<b>>>0)|0;if(a>>>0>b>>>0){l=1;i=e;return l|0}if(a>>>0<b>>>0){l=-1;i=e;return l|0}if(d>>>0>c>>>0){l=1;i=e;return l|0}l=(d>>>0<c>>>0)<<31>>31;i=e;return l|0}function hJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=c+a|0;f=d+b|0;e=((f|0)<0?0-f|0:f)+((e|0)<0?0-e|0:e)|0;i=i;return(((b|0)<0?0-b|0:b)+((a|0)<0?0-a|0:a)+((c|0)<0?0-c|0:c)+((d|0)<0?0-d|0:d)-e|0)<(e>>4|0)|0}function iJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=i;e=Bd[c[a+4>>2]&255](a,96)|0;f=(e|0)==0;g=f?64:0;if(f){i=d;return g|0}bX(e|0,0,96)|0;c[e>>2]=a;c[b>>2]=e;i=d;return g|0}function jJ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=i;do{if((b|0)>0){f=Bd[c[a+4>>2]&255](a,b)|0;g=(f|0)==0;a=g?64:0;if(g){f=0;break}bX(f|0,0,b|0)|0}else{f=0;a=b>>31&6}}while(0);c[d>>2]=a;i=e;return f|0}function kJ(a){a=a|0;var d=0,e=0;d=i;e=a+20|0;b[a+22>>1]=0;b[e>>1]=0;c[a+48>>2]=0;$W(a+56|0,e|0,36)|0;i=d;return}function lJ(a,b){a=a|0;b=b|0;var d=0;d=i;if((b|0)==0){i=d;return}hd[c[a+8>>2]&127](a,b);i=d;return}function mJ(a){a=a|0;var d=0,e=0,f=0,g=0;e=i;if((a|0)==0){i=e;return}d=c[a>>2]|0;f=a+24|0;g=c[f>>2]|0;if((g|0)!=0){hd[c[d+8>>2]&127](d,g)}c[f>>2]=0;f=a+28|0;g=c[f>>2]|0;if((g|0)!=0){hd[c[d+8>>2]&127](d,g)}c[f>>2]=0;f=a+32|0;g=c[f>>2]|0;if((g|0)!=0){hd[c[d+8>>2]&127](d,g)}c[f>>2]=0;f=a+40|0;g=c[f>>2]|0;if((g|0)!=0){hd[c[d+8>>2]&127](d,g)}c[f>>2]=0;g=a+52|0;f=c[g>>2]|0;if((f|0)!=0){hd[c[d+8>>2]&127](d,f)}c[g>>2]=0;c[a+44>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;g=a+20|0;b[a+22>>1]=0;b[g>>1]=0;c[a+48>>2]=0;$W(a+56|0,g|0,36)|0;hd[c[d+8>>2]&127](d,a);i=e;return}function nJ(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;k=c[d>>2]|0;f=d+4|0;j=c[f>>2]|0;h=j<<1;a:do{if((h|0)<0){f=6}else{do{if((h|0)==0){k=0;g=10}else{if((h|0)>268435455){f=10;break a}j=j<<4;do{if((j|0)>0){k=Bd[c[k+4>>2]&255](k,j)|0;l=(k|0)==0;m=l?64:0;if(l){k=0;break}bX(k|0,0,j|0)|0}else{k=0;m=j>>31&6}}while(0);l=(m|0)==0;if(l&(h|0)>0){bX(k|0,0,j|0)|0;g=10;break}h=d+40|0;c[h>>2]=k;if(l){break}i=e;return m|0}}while(0);if((g|0)==10){h=d+40|0;c[h>>2]=k}a[d+16|0]=1;k=c[h>>2]|0;l=c[f>>2]|0;c[d+44>>2]=k+(l<<3);m=b[d+22>>1]|0;c[d+60>>2]=(c[d+24>>2]|0)+(m<<3);c[d+64>>2]=(c[d+28>>2]|0)+m;c[d+68>>2]=(c[d+32>>2]|0)+(b[d+20>>1]<<1);c[d+76>>2]=(c[h>>2]|0)+(m<<3);c[d+80>>2]=k+(l+m<<3);m=0;i=e;return m|0}}while(0);c[d+40>>2]=0;m=f;i=e;return m|0}function oJ(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,k=0;h=i;a:do{if((d|b|e|0)<0){a=6}else{do{if((e|0)==0|(b|0)==0){if((f|0)==0){f=0;a=0;break}hd[c[a+8>>2]&127](a,f);f=0;a=0}else{if((2147483647/(b|0)|0|0)<(e|0)){a=10;break a}if((d|0)!=0){k=da(d,b)|0;j=da(e,b)|0;a=pd[c[a+12>>2]&63](a,k,j,f)|0;j=(a|0)==0;f=j?f:a;a=j?64:0;break}j=da(e,b)|0;if((j|0)<=0){f=0;a=j>>31&6;break}f=Bd[c[a+4>>2]&255](a,j)|0;k=(f|0)==0;a=k?64:0;if(k){f=0;break}bX(f|0,0,j|0)|0}}while(0);if(!((a|0)==0&(e|0)>(d|0))){break}bX(f+(da(d,b)|0)|0,0,dada(f,h)|0)+32768|0)>>>16}else{n=h&65535;f=(da(f>>>16,n)|0)+(da(h>>>16,f)|0)+(((da(f&65535,n)|0)+32768|0)>>>16)|0}k=(e^g|0)<0?0-f|0:f}e=a+4|0;f=c[e>>2]|0;l=c[b+4>>2]|0;h=(f|0)==0;if(h|(l|0)==65536){l=f}else{m=(f|0)<0?0-f|0:f;n=(l|0)<0?0-l|0:l;if(m>>>0<2049&n>>>0<1048577){m=((da(n,m)|0)+32768|0)>>>16}else{o=m&65535;m=(da(n>>>16,o)|0)+(da(m>>>16,n)|0)+(((da(n&65535,o)|0)+32768|0)>>>16)|0}l=(l^f|0)<0?0-m|0:m}k=l+k|0;l=c[b+8>>2]|0;if(!(j|(l|0)==65536)){j=(g|0)<0?0-g|0:g;m=(l|0)<0?0-l|0:l;if(j>>>0<2049&m>>>0<1048577){j=((da(m,j)|0)+32768|0)>>>16}else{o=j&65535;j=(da(m>>>16,o)|0)+(da(j>>>16,m)|0)+(((da(m&65535,o)|0)+32768|0)>>>16)|0}g=(l^g|0)<0?0-j|0:j}b=c[b+12>>2]|0;if(!(h|(b|0)==65536)){h=(f|0)<0?0-f|0:f;j=(b|0)<0?0-b|0:b;if(h>>>0<2049&j>>>0<1048577){h=((da(j,h)|0)+32768|0)>>>16}else{o=h&65535;h=(da(j>>>16,o)|0)+(da(h>>>16,j)|0)+(((dada(j,h)|0)+36|0)/72|0}l=c[b+16>>2]|0;k=c[b+8>>2]|0;if((l|0)==0){b=k}else{b=((da(k,l)|0)+36|0)/72|0}j=(j|0)==0;k=(k|0)==0?h:b;h=(j?k:h)+32|0;j=(j?b:k)+32|0;b=c[a+28>>2]|0;if((b|0)<=0){l=23;i=g;return l|0}a=c[a+32>>2]|0;d=d<<24>>24==0;k=0;while(1){if(((c[a+(k<<4)+12>>2]|0)+32^j)>>>0<=63){if(!(((c[a+(k<<4)+8>>2]|0)+32^h)>>>0>63&d)){break}}k=k+1|0;if((k|0)>=(b|0)){e=23;f=14;break}}if((f|0)==14){i=g;return e|0}if((e|0)==0){l=0;i=g;return l|0}c[e>>2]=k;l=0;i=g;return l|0}function XJ(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[a+4>>2]|0;d=c[a+12>>2]|0;if((d|0)<0){d=(e|0)<(d|0)?d:e}else{d=e-((d|0)>0?d:0)|0}if((b|0)==0){b=(d*12|0)/10|0}c[a+20>>2]=(c[a+8>>2]|0)-((c[a+16>>2]|0)/2|0);c[a+24>>2]=(b-d|0)/2|0;c[a+28>>2]=b;i=i;return}function YJ(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;g=i;e=c[a+88>>2]|0;f=e+12|0;j=c[a+32>>2]|0;k=j+(d<<4)+8|0;b[f>>1]=((c[k>>2]|0)+32|0)>>>6;h=j+(d<<4)+12|0;b[e+14>>1]=((c[h>>2]|0)+32|0)>>>6;if((c[a+8>>2]&1|0)==0){c[e+16>>2]=65536;c[e+20>>2]=65536;c[e+24>>2]=c[h>>2];c[e+28>>2]=0;c[e+32>>2]=b[j+(d<<4)>>1]<<6;c[e+36>>2]=c[k>>2];i=g;return}l=c[k>>2]|0;j=a+68|0;m=b[j>>1]|0;d=m&65535;k=(l|0)<0;l=k?0-l|0:l;do{if(m<<16>>16==0){o=2147483647}else{m=l>>16;n=l<<16;l=d>>>1|n;if((m|0)==0){o=(l>>>0)/(d>>>0)|0;break}n=(l>>>0<n>>>0)+m|0;if(n>>>0<d>>>0){m=32;o=0}else{o=2147483647;break}while(1){o=o<<1;n=n<<1|l>>>31;if(n>>>0>=d>>>0){o=o|1;n=n-d|0}m=m+ -1|0;if((m|0)==0){break}else{l=l<<1}}}}while(0);c[e+16>>2]=k?0-o|0:o;k=c[h>>2]|0;d=b[j>>1]|0;j=d&65535;h=(k|0)<0;k=h?0-k|0:k;do{if(d<<16>>16==0){l=2147483647}else{d=k>>16;l=k<<16;k=j>>>1|l;if((d|0)==0){l=(k>>>0)/(j>>>0)|0;break}m=(k>>>0<l>>>0)+d|0;if(m>>>0<j>>>0){d=32;l=0}else{l=2147483647;break}while(1){l=l<<1;m=m<<1|k>>>31;if(m>>>0>=j>>>0){l=l|1;m=m-j|0}d=d+ -1|0;if((d|0)==0){break}else{k=k<<1}}}}while(0);c[e+20>>2]=h?0-l|0:l;ZJ(a,f);i=g;return}function ZJ(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;j=b[a+70>>1]|0;h=j<<16>>16;f=c[d+8>>2]|0;g=(f|0)==65536;if(!(j<<16>>16==0|g)){k=j<<16>>16<0?0-h|0:h;j=(f|0)<0?0-f|0:f;if(k>>>0<2049&j>>>0<1048577){j=((da(j,k)|0)+32768|0)>>>16}else{l=k&65535;j=(da(j>>>16,l)|0)+(da(k>>>16,j)|0)+(((da(j&65535,l)|0)+32768|0)>>>16)|0}h=(f^h|0)<0?0-j|0:j}c[d+12>>2]=h+63&-64;j=b[a+72>>1]|0;h=j<<16>>16;if(!(j<<16>>16==0|g)){j=j<<16>>16<0?0-h|0:h;k=(f|0)<0?0-f|0:f;if(j>>>0<2049&k>>>0<1048577){j=((da(k,j)|0)+32768|0)>>>16}else{l=j&65535;j=(da(k>>>16,l)|0)+(da(j>>>16,k)|0)+(((da(k&65535,l)|0)+32768|0)>>>16)|0}h=(f^h|0)<0?0-j|0:j}c[d+16>>2]=h&-64;j=b[a+74>>1]|0;h=j<<16>>16;if(!(j<<16>>16==0|g)){g=j<<16>>16<0?0-h|0:h;j=(f|0)<0?0-f|0:f;if(g>>>0<2049&j>>>0<1048577){g=((da(j,g)|0)+32768|0)>>>16}else{l=g&65535;g=(da(j>>>16,l)|0)+(da(g>>>16,j)|0)+(((da(j&65535,l)|0)+32768|0)>>>16)|0}h=(f^h|0)<0?0-g|0:g}c[d+20>>2]=h+32&-64;g=b[a+76>>1]|0;a=g<<16>>16;f=c[d+4>>2]|0;if(g<<16>>16==0|(f|0)==65536){k=a;k=k+32|0;k=k&-64;l=d+24|0;c[l>>2]=k;i=e;return}g=g<<16>>16<0?0-a|0:a;h=(f|0)<0?0-f|0:f;if(g>>>0<2049&h>>>0<1048577){g=((da(h,g)|0)+32768|0)>>>16}else{l=g&65535;g=(da(h>>>16,l)|0)+(da(g>>>16,h)|0)+(((da(h&65535,l)|0)+32768|0)>>>16)|0}k=(f^a|0)<0?0-g|0:g;k=k+32|0;k=k&-64;l=d+24|0;c[l>>2]=k;i=e;return}function _J(a,d){a=a|0;d=d|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;f=i;h=c[a+88>>2]|0;g=h+12|0;if((c[a+8>>2]&1|0)==0){bX(g|0,0,28)|0;c[h+16>>2]=65536;c[h+20>>2]=65536;i=f;return}a:do{switch(c[d>>2]|0){case 2:{j=(c[a+64>>2]|0)-(c[a+56>>2]|0)|0;l=(c[a+60>>2]|0)-(c[a+52>>2]|0)|0;k=11;break};case 4:{o=c[d+4>>2]|0;k=h+16|0;c[k>>2]=o;j=c[d+8>>2]|0;l=h+20|0;c[l>>2]=j;if((o|0)==0){c[k>>2]=j;p=j;o=j;q=0;l=0;k=44;break a}if((j|0)!=0){p=j;q=0;l=0;k=44;break a}c[l>>2]=o;p=o;q=0;l=0;k=44;break};case 1:{l=(b[a+70>>1]|0)-(b[a+72>>1]|0)|0;j=l;k=11;break};case 0:{l=e[a+68>>1]|0;j=l;k=11;break};case 3:{j=(b[a+70>>1]|0)-(b[a+72>>1]|0)|0;l=b[a+76>>1]|0;k=11;break};default:{j=0;l=0;k=11}}}while(0);do{if((k|0)==11){n=(l|0)<0?0-l|0:l;m=(j|0)<0?0-j|0:j;j=c[d+12>>2]|0;o=c[d+4>>2]|0;if((j|0)==0){l=o}else{l=((da(o,j)|0)+36|0)/72|0}p=c[d+16>>2]|0;q=d+8|0;j=c[q>>2]|0;if((p|0)!=0){j=((da(j,p)|0)+36|0)/72|0}if((o|0)==0){o=(j|0)<0?0-j|0:j;k=j^m;l=(m|0)<0?0-m|0:m;do{if((l|0)==0){r=2147483647}else{p=o>>16;q=o<<16;o=q+(l>>1)|0;if((p|0)==0){r=(o>>>0)/(l>>>0)|0;break}q=(o>>>0<q>>>0)+p|0;if(q>>>0<l>>>0){p=32;r=0}else{r=2147483647;break}while(1){r=r<<1;q=q<<1|o>>>31;if(q>>>0>=l>>>0){r=r|1;q=q-l|0}p=p+ -1|0;if((p|0)==0){break}else{o=o<<1}}}}while(0);o=(k|0)<0?0-r|0:r;c[h+20>>2]=o;c[h+16>>2]=o;p=o;q=j;l=_I(j,n,m)|0;k=44;break}r=(l|0)<0?0-l|0:l;o=l^n;p=(n|0)<0?0-n|0:n;do{if((p|0)==0){t=2147483647}else{s=r>>16;t=r<<16;r=t+(p>>1)|0;if((s|0)==0){t=(r>>>0)/(p>>>0)|0;break}u=(r>>>0<t>>>0)+s|0;if(u>>>0<p>>>0){s=32;t=0}else{t=2147483647;break}while(1){t=t<<1;u=u<<1|r>>>31;if(u>>>0>=p>>>0){t=t|1;u=u-p|0}s=s+ -1|0;if((s|0)==0){break}else{r=r<<1}}}}while(0);o=(o|0)<0?0-t|0:t;p=h+16|0;c[p>>2]=o;if((c[q>>2]|0)==0){c[h+20>>2]=o;p=o;q=_I(l,m,n)|0;k=44;break}q=(j|0)<0?0-j|0:j;n=j^m;m=(m|0)<0?0-m|0:m;do{if((m|0)==0){s=2147483647}else{r=q>>16;s=q<<16;q=s+(m>>1)|0;if((r|0)==0){s=(q>>>0)/(m>>>0)|0;break}t=(q>>>0<s>>>0)+r|0;if(t>>>0<m>>>0){r=32;s=0}else{s=2147483647;break}while(1){s=s<<1;t=t<<1|q>>>31;if(t>>>0>=m>>>0){s=s|1;t=t-m|0}r=r+ -1|0;if((r|0)==0){break}else{q=q<<1}}}}while(0);m=(n|0)<0?0-s|0:s;q=h+20|0;c[q>>2]=m;n=c[d>>2]|0;if((n|0)!=3){break}if((m|0)>(o|0)){c[q>>2]=o;p=o;q=j;k=44;break}else{c[p>>2]=m;p=m;o=m;q=j;k=44;break}}}while(0);if((k|0)==44){m=p;n=c[d>>2]|0;j=q}do{if((n|0)!=0){d=b[a+68>>1]|0;j=d&65535;k=d<<16>>16==0;if(k|(o|0)==65536){l=j}else{l=(o|0)<0;n=l?0-o|0:o;if((d&65535)<2049&n>>>0<1048577){n=((da(n,j)|0)+32768|0)>>>16}else{n=(((da(n&65535,j)|0)+32768|0)>>>16)+(da(n>>>16,j)|0)|0}l=l?0-n|0:n}if(k|(m|0)==65536){break}k=(m|0)<0;m=k?0-m|0:m;if((d&65535)<2049&m>>>0<1048577){d=((da(m,j)|0)+32768|0)>>>16}else{d=(((da(m&65535,j)|0)+32768|0)>>>16)+(da(m>>>16,j)|0)|0}j=k?0-d|0:d}}while(0);b[g>>1]=(l+32|0)>>>6;b[h+14>>1]=(j+32|0)>>>6;ZJ(a,g);i=f;return}function $J(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;if((a|0)==0){e=35;i=d;return e|0}if((c[a+8>>2]&2|0)==0){e=35;i=d;return e|0}if((b|0)<0){e=6;i=d;return e|0}if((c[a+28>>2]|0)<=(b|0)){e=6;i=d;return e|0}e=c[(c[(c[a+96>>2]|0)+20>>2]|0)+100>>2]|0;if((e|0)==0){YJ(a,b);e=0;i=d;return e|0}else{e=Bd[e&255](c[a+88>>2]|0,b)|0;i=d;return e|0}return 0}function aK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;if((a|0)==0){k=35;i=d;return k|0}if((b|0)==0){k=6;i=d;return k|0}h=c[b+4>>2]|0;if((h|0)<0){k=6;i=d;return k|0}g=c[b+8>>2]|0;if((g|0)<0){k=6;i=d;return k|0}j=c[b>>2]|0;if(j>>>0>4){k=6;i=d;return k|0}f=c[(c[a+96>>2]|0)+20>>2]|0;k=c[f+96>>2]|0;if((k|0)!=0){k=Bd[k&255](c[a+88>>2]|0,b)|0;i=d;return k|0}k=c[a+8>>2]|0;if((k&3|0)!=2){_J(a,b);k=0;i=d;return k|0}if((k&2|0)==0){k=35;i=d;return k|0}if((j|0)!=0){k=7;i=d;return k|0}j=c[b+12>>2]|0;if((j|0)==0){j=h}else{j=((da(j,h)|0)+36|0)/72|0}b=c[b+16>>2]|0;if((b|0)==0){b=g}else{b=((da|0)}c[g>>2]=h+4;k=j;i=f;return k|0}}while(0);c[b>>2]=85;k=0;i=f;return k|0}function ZK(f,g,h){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;l=i;if((g|0)==0|(f|0)==0){r=6;i=l;return r|0}k=f+32|0;j=f+36|0;n=0;a:while(1){q=c[k>>2]|0;b:while(1){p=a[g]|0;c:do{switch(p&255|0){case 9:case 8:{o=q+1|0;r=24;q=d[q]|0;m=18;break};case 18:case 19:{o=q+4|0;r=0;q=(d[q+2|0]|0)<<16|(d[q+3|0]|0)<<24|(d[q+1|0]|0)<<8|(d[q]|0);m=18;break};case 25:case 24:{r=d[g+1|0]|0;o=q+r|0;if(o>>>0>(c[j>>2]|0)>>>0){h=85;break a}if(p<<24>>24!=24){break c}$W(h+(e[g+2>>1]|0)|0,q|0,r|0)|0;break};case 22:case 23:{o=q+3|0;r=8;q=(d[q+1|0]|0)<<8|(d[q+2|0]|0)<<16|(d[q]|0);m=18;break};case 12:case 13:{o=q+2|0;r=16;q=((d[q]|0)<<8&65535|(d[q+1|0]|0))&65535;m=18;break};case 16:case 17:{o=q+4|0;r=0;q=(d[q+1|0]|0)<<16|(d[q]|0)<<24|(d[q+2|0]|0)<<8|(d[q+3|0]|0);m=18;break};case 14:case 15:{o=q+2|0;r=16;q=((d[q+1|0]|0)<<8&65535|(d[q]|0))&65535;m=18;break};case 20:case 21:{o=q+3|0;r=8;q=(d[q+1|0]|0)<<8|(d[q]|0)<<16|(d[q+2|0]|0);m=18;break};case 4:{break b};default:{m=17;break a}}}while(0);do{if((m|0)==18){m=0;if((p&1)!=0){q=q<<r>>r}r=h+(e[g+2>>1]|0)|0;p=d[g+1|0]|0;if((p|0)==1){a[r]=q;break}else if((p|0)==2){b[r>>1]=q;break}else if((p|0)==4){c[r>>2]=q;break}else{c[r>>2]=q;break}}}while(0);g=g+4|0;q=o}o=MK(f,e[g+2>>1]|0)|0;if((o|0)!=0){h=o;break}g=g+4|0;n=1}if((m|0)==17){c[k>>2]=q;h=0}if(n<<24>>24==0){r=h;i=l;return r|0}if((c[f+20>>2]|0)!=0){n=c[f+28>>2]|0;m=c[f>>2]|0;if((m|0)!=0){hd[c[n+8>>2]&127](n,m)}c[f>>2]=0}c[k>>2]=0;c[j>>2]=0;r=h;i=l;return r|0}function _K(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=i;d=a;a=c[d>>2]|0;d=c[d+4>>2]|0;if((a|0)==0){g=(d|0)>-1?d:0-d|0;i=b;return g|0}e=(a|0)>-1?a:0-a|0;if((d|0)==0){g=e;i=b;return g|0}e=((d|0)>-1?d:0-d|0)|e;f=(e|0)>65535;e=f?e>>16:e;f=f?16:0;if((e|0)>255){f=f|8;e=e>>8}if((e|0)>15){f=f+4|0;e=e>>4}if((e|0)>3){f=f+2|0;e=e>>2}f=((e|0)>1)+f|0;if((f|0)<28){g=27-f|0;d=d<<g;e=a<<g;a=g}else{e=f+ -27|0;d=d>>e;e=a>>e;a=27-f|0}if((e|0)<0){e=0-e|0;g=0-d|0}else{g=d}f=e<<1;if((g|0)<0){d=0;e=e-(g<<1)|0;f=g+f|0}else{d=0;e=(g<<1)+e|0;f=g-f|0}do{g=e>>d;if((f|0)<0){e=e-(f>>d)|0;f=f+g|0}else{e=(f>>d)+e|0;f=f-g|0}d=d+1|0;}while((d|0)<23);d=(e|0)>-1;e=d?e:0-e|0;f=e>>>16;e=e&65535;g=(e*17797|0)+(f*47593|0)|0;e=(e*47593|0)>>>16;h=g+e|0;f=(h>>>16)+(f*17797|0)|0;e=h>>>0<(g>>>0>=e>>>0?g:e)>>>0?f+65536|0:f;d=d?e:0-e|0;if((a|0)>0){h=d+(1<<a+ -1)>>a;i=b;return h|0}else{h=d<<0-a;i=b;return h|0}return 0}
7329 3];q=c[p+588>>2]|0;h[p+592>>3]=u;h[p+600>>3]=w;uB(q,u,w);q=c[k>>2]|0;t=c[q+588>>2]|0;h[q+592>>3]=v;h[q+600>>3]=w;vB(t,v,w);t=c[k>>2]|0;q=c[t+588>>2]|0;h[t+592>>3]=v;h[t+600>>3]=s;vB(q,v,s);q=c[k>>2]|0;t=c[q+588>>2]|0;h[q+592>>3]=u;h[q+600>>3]=s;vB(t,u,s);t=c[k>>2]|0;q=t+588|0;xB(c[q>>2]|0);q=c[q>>2]|0;r=q+28|0;q=q+24|0;p=c[(c[q>>2]|0)+((c[r>>2]|0)+ -1<<2)>>2]|0;h[t+592>>3]=+h[(c[p>>2]|0)+((c[p+12>>2]|0)+ -1<<3)>>3];r=c[(c[q>>2]|0)+((c[r>>2]|0)+ -1<<2)>>2]|0;h[t+600>>3]=+h[(c[r+4>>2]|0)+((c[r+12>>2]|0)+ -1<<3)>>3];TB(c[k>>2]|0);do{if((a[b+15|0]&1)==0){if((a[b+17|0]&1)!=0){break}t=c[j>>2]|0;hd[c[(c[t>>2]|0)+256>>2]&127](t,c[k>>2]|0)}}while(0);r=c[k>>2]|0;t=FW(40)|0;tB(t,(a[m]&1)!=0,+h[m+8>>3],+h[m+16>>3],c[m+24>>2]|0,c[m+28>>2]|0,c[m+32>>2]|0);GB(r,t)}do{if(e){UB(c[k>>2]|0);t=c[j>>2]|0;hd[c[(c[t>>2]|0)+264>>2]&127](t,c[k>>2]|0)}else{if((a[b+15|0]&1)!=0){break}if((a[b+17|0]&1)!=0){break}TB(c[k>>2]|0);p=c[j>>2]|0;e=c[p>>2]|0;if(f){hd[c[e+260>>2]&127](p,c[k>>2]|0);break}else{hd[c[e+256>>2]&127](p,c[k>>2]|0);break}}}while(0);r=c[k>>2]|0;p=o+8|0;t=c[p>>2]|0;LB(r,jd[c[(c[t>>2]|0)+8>>2]&511](t)|0);t=c[j>>2]|0;hd[c[(c[t>>2]|0)+132>>2]&127](t,c[k>>2]|0);a:do{if((a[o+140|0]&1)!=0){$W((c[k>>2]|0)+124|0,o+12|0,128)|0;f=c[j>>2]|0;hd[c[(c[f>>2]|0)+140>>2]&127](f,c[k>>2]|0);f=c[b+116>>2]|0;b:do{if((f|0)!=0){if((a[f]&1)!=0){break a}while(1){f=c[f+4>>2]|0;if((f|0)==0){break b}if((a[f]&1)!=0){break a}}}}while(0);t=c[j>>2]|0;hd[c[(c[t>>2]|0)+216>>2]&127](t,c[k>>2]|0)}}while(0);SB(c[k>>2]|0);t=c[k>>2]|0;D=+h[t+16>>3];I=+h[t+40>>3];F=+h[t+24>>3];J=+h[t+32>>3];G=1.0/(D*I-F*J);H=I*G;A=-0.0-F*G;v=-0.0-J*G;z=D*G;C=+h[t+56>>3];E=+h[t+48>>3];L=+h[d+16>>3];N=+h[b+64>>3];x=+h[d+24>>3];B=+h[b+80>>3];s=L*N+x*B;M=+h[b+72>>3];y=+h[b+88>>3];x=L*M+x*y;L=+h[d+32>>3];u=+h[d+40>>3];K=N*L+B*u;u=M*L+y*u;L=+h[d+48>>3];w=+h[d+56>>3];B=+h[b+96>>3]+(N*L+B*w);w=M*L+y*w+ +h[b+104>>3];y=H*s+x*v;x=s*A+z*x;s=H*K+u*v;u=K*A+z*u;v=G*(J*C-I*E)+(H*B+w*v);w=G*(F*E-D*C)+(B*A+z*w);JB(t,y,x,s,u,v,w);d=c[j>>2]|0;Ed[c[(c[d>>2]|0)+92>>2]&3](d,c[k>>2]|0,y,x,s,u,v,w);d=c[j>>2]|0;d=jd[c[(c[d>>2]|0)+404>>2]&511](d)|0;if(d){t=c[j>>2]|0;hd[c[(c[t>>2]|0)+408>>2]&127](t,0)}c:do{switch(c[o+4>>2]|0){case 3:{Hx(b,o);break};case 5:case 4:{Ix(b,o);break};case 1:{Fx(b,o);break};case 2:{Gx(b,o);break};case 7:case 6:{f=o+184|0;e=c[f>>2]|0;do{if((e|0)>128){e=3}else{if((e|0)>64){e=2;break}e=(e|0)>16|0}}while(0);r=c[p>>2]|0;r=jd[c[(c[r>>2]|0)+44>>2]&511](r)|0;q=o+316|0;t=(c[q>>2]|0)>0;if(t){p=c[o+188>>2]|0;s=(+h[p+24>>3]- +h[p+16>>3])*.005}else{s=768.0}if((c[f>>2]|0)<=0){break c}p=o+180|0;Nx(b,c[p>>2]|0,r,t?1:r,s,e,o);if((c[f>>2]|0)>1){t=1}else{break c}do{Nx(b,(c[p>>2]|0)+(t*1280|0)|0,r,(c[q>>2]|0)>0?1:r,s,e,o);t=t+1|0;}while((t|0)<(c[f>>2]|0));break};default:{}}}while(0);if(d){t=c[j>>2]|0;hd[c[(c[t>>2]|0)+408>>2]&127](t,1)}t=c[b+36>>2]|0;do{if((c[g>>2]|0)>(c[t+(((c[b+40>>2]|0)-t>>2)+ -1<<2)>>2]|0)){o=c[k>>2]|0;if((c[o+656>>2]|0)==0){break}t=YB(o)|0;c[k>>2]=t;r=c[j>>2]|0;hd[c[(c[r>>2]|0)+84>>2]&127](r,t);c[g>>2]=(c[g>>2]|0)+ -1;t=k;t=c[t>>2]|0;GB(t,m);i=n;return}}while(0);Qe(-1,162208,l);a[b+18|0]=1;t=k;t=c[t>>2]|0;GB(t,m);i=n;return}function Fx(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,j=0.0,k=0.0,l=0.0,m=0.0;e=i;d=i;i=i+512|0;f=a+8|0;g=c[f>>2]|0;do{if(Bd[c[(c[g>>2]|0)+20>>2]&255](g,c[b+4>>2]|0)|0){g=c[f>>2]|0;if(!(sd[c[(c[g>>2]|0)+228>>2]&127](g,c[a+28>>2]|0,b)|0)){break}i=e;return}}while(0);m=+h[b+184>>3];l=+h[b+192>>3];k=+h[b+200>>3];j=+h[b+208>>3];RA(b,m,l,d);RA(b,m,j,d+128|0);RA(b,k,l,d+256|0);RA(b,k,j,d+384|0);Jx(a,b,m,l,k,j,d,0);i=e;return}function Gx(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=0,u=0,v=0,w=0,x=0.0,y=0,z=0,A=0,B=0.0,C=0,D=0.0,E=0.0,F=0.0,G=0,H=0,I=0,J=0,K=0,L=0.0,M=0.0,N=0,O=0,P=0,Q=0.0,R=0,T=0.0,U=0.0,V=0,W=0.0,X=0.0,Y=0,Z=0,_=0,$=0,aa=0.0,ba=0,ca=0.0,da=0.0,ea=0.0,fa=0,ga=0.0,ha=0.0,ia=0,ja=0,ka=0.0;f=i;y=i;i=i+8|0;n=i;i=i+8|0;A=i;i=i+8|0;m=i;i=i+8|0;G=i;i=i+32|0;I=G;l=i;i=i+32|0;k=l;H=i;i=i+2056|0;q=H;J=i;i=i+1032|0;w=J;u=i;i=i+128|0;j=u;z=i;i=i+128|0;v=z;e=b+28|0;HB(c[e>>2]|0,y,n,A,m);r=+h[d+184>>3];s=+h[d+192>>3];B=+h[d+200>>3]-r;x=+h[d+208>>3]-s;p=+S(+B)<.01;o=+S(+x)<.01;t=p&o;do{if(t){L=0.0;E=0.0}else{da=1.0/(B*B+x*x);ga=B*(+h[y>>3]-r);ha=x*(+h[n>>3]-s);E=da*(ga+ha);h[G>>3]=E;D=x*(+h[m>>3]-s);ga=da*(ga+D);N=I+8|0;h[N>>3]=ga;ea=B*(+h[A>>3]-r);ha=da*(ea+ha);K=I+16|0;h[K>>3]=ha;D=dada=r+B*aa;ca=s+x*aa;do{if(t){ha=0.0;ga=0.0}else{if(p){ga=(+h[y>>3]-da)/Q;ea=(+h[A>>3]-da)/Q;if(ga<=ea){ha=ea;break}ha=ga;ga=ea;break}ea=(+h[n>>3]-ca)/B;if(!o){h[l>>3]=ea;ka=(+h[m>>3]-ca)/B;h[O>>3]=ka;ha=(+h[y>>3]-da)/Q;h[b>>3]=ha;ga=(+h[A>>3]-da)/Q;h[P>>3]=ga;_=ka<ea|0;_=ha<+h[k+(_<<3)>>3]?2:_;ja=k+((ga<+h[k+(_<<3)>>3]?3:_)<<3)|0;h[l>>3]=+h[ja>>3];h[ja>>3]=ea;ea=+h[O>>3];_=+h[b>>3]<ea?2:1;ja=k+((+h[P>>3]<+h[k+(_<<3)>>3]?3:_)<<3)|0;h[O>>3]=+h[ja>>3];h[ja>>3]=ea;ea=+h[b>>3];ja=k+((+h[P>>3]<ea?3:2)<<3)|0;h[b>>3]=+h[ja>>3];h[ja>>3]=ea;ha=+h[b>>3];ga=+h[O>>3];break}ga=(+h[m>>3]-ca)/B;if(ea<=ga){ha=ga;ga=ea;break}ha=ea}}while(0);ea=da-x*ga;ga=ca+B*ga;da=da-x*ha;ca=ca+B*ha;$W((c[e>>2]|0)+124|0,u|0,128)|0;ja=c[C>>2]|0;ja=jd[c[(c[ja>>2]|0)+24>>2]&511](ja)|0;_=c[C>>2]|0;if(ja){Id[c[(c[_>>2]|0)+172>>2]&3](_,c[e>>2]|0,(aa-E)/L)}else{hd[c[(c[_>>2]|0)+140>>2]&127](_,c[e>>2]|0)}if(!I){ja=c[e>>2]|0;fa=c[ja+588>>2]|0;h[ja+592>>3]=T;h[ja+600>>3]=U;uB(fa,T,U);fa=c[e>>2]|0;ja=c[fa+588>>2]|0;h[fa+592>>3]=W;h[fa+600>>3]=X;vB(ja,W,X);ja=c[e>>2]|0;fa=c[ja+588>>2]|0;h[ja+592>>3]=da;h[ja+600>>3]=ca;vB(fa,da,ca);fa=c[e>>2]|0;ja=c[fa+588>>2]|0;h[fa+592>>3]=ea;h[fa+600>>3]=ga;vB(ja,ea,ga);ja=c[e>>2]|0;fa=ja+588|0;xB(c[fa>>2]|0);fa=c[fa>>2]|0;ia=fa+28|0;fa=fa+24|0;ba=c[(c[fa>>2]|0)+((c[ia>>2]|0)+ -1<<2)>>2]|0;h[ja+592>>3]=+h[(c[ba>>2]|0)+((c[ba+12>>2]|0)+ -1<<3)>>3];ia=c[(c[fa>>2]|0)+((c[ia>>2]|0)+ -1<<2)>>2]|0;h[ja+600>>3]=+h[(c[ia+4>>2]|0)+((c[ia+12>>2]|0)+ -1<<3)>>3]}ja=c[C>>2]|0;if(!(jd[c[(c[ja>>2]|0)+24>>2]&511](ja)|0)){_=c[N>>2]|0;c:do{if((_|0)==0){g=64}else{if((a[_]&1)!=0){break}do{_=c[_+4>>2]|0;if((_|0)==0){g=64;break c}}while((a[_]&1)==0)}}while(0);if((g|0)==64){g=0;ja=c[C>>2]|0;hd[c[(c[ja>>2]|0)+216>>2]&127](ja,c[e>>2]|0)}SB(c[e>>2]|0)}$W(u|0,z|0,128)|0;_=c[V>>2]|0;if((_|0)<256){T=ea;U=ga;W=da;X=ca}else{break}}ja=c[C>>2]|0;if(!(jd[c[(c[ja>>2]|0)+24>>2]&511](ja)|0)){i=f;return}if(I){ja=c[e>>2]|0;ka=+h[y>>3];ha=+h[n>>3];fa=c[ja+588>>2]|0;h[ja+592>>3]=ka;h[ja+600>>3]=ha;uB(fa,ka,ha);fa=c[e>>2]|0;ha=+h[y>>3];ka=+h[m>>3];ja=c[fa+588>>2]|0;h[fa+592>>3]=ha;h[fa+600>>3]=ka;vB(ja,ha,ka);ja=c[e>>2]|0;ka=+h[A>>3];ha=+h[m>>3];fa=c[ja+588>>2]|0;h[ja+592>>3]=ka;h[ja+600>>3]=ha;vB(fa,ka,ha);fa=c[e>>2]|0;ha=+h[A>>3];ka=+h[n>>3];ja=c[fa+588>>2]|0;h[fa+592>>3]=ha;h[fa+600>>3]=ka;vB(ja,ha,ka);ja=c[e>>2]|0;fa=ja+588|0;xB(c[fa>>2]|0);fa=c[fa>>2]|0;ia=fa+28|0;fa=fa+24|0;ba=c[(c[fa>>2]|0)+((c[ia>>2]|0)+ -1<<2)>>2]|0;h[ja+592>>3]=+h[(c[ba>>2]|0)+((c[ba+12>>2]|0)+ -1<<3)>>3];ia=c[(c[fa>>2]|0)+((c[ia>>2]|0)+ -1<<2)>>2]|0;h[ja+600>>3]=+h[(c[ia+4>>2]|0)+((c[ia+12>>2]|0)+ -1<<3)>>3]}j=c[N>>2]|0;d:do{if((j|0)==0){g=74}else{if((a[j]&1)!=0){break}do{j=c[j+4>>2]|0;if((j|0)==0){g=74;break d}}while((a[j]&1)==0)}}while(0);if((g|0)==74){ja=c[C>>2]|0;hd[c[(c[ja>>2]|0)+216>>2]&127](ja,c[e>>2]|0)}SB(c[e>>2]|0);i=f;return}function Hx(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0.0,m=0.0,n=0,o=0,p=0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0,x=0,y=0,z=0,A=0,B=0,C=0.0,D=0,E=0,F=0.0,G=0,H=0,I=0.0,J=0.0,K=0,L=0.0,M=0.0,N=0.0,O=0.0,P=0,Q=0.0,R=0.0,U=0,X=0.0,_=0.0,aa=0.0,ba=0.0,ca=0.0,da=0,ea=0.0,fa=0.0,ga=0.0,ha=0.0,ia=0.0,ja=0.0,ka=0.0,la=0.0,ma=0,na=0,oa=0.0,pa=0,qa=0,ra=0,sa=0.0,ta=0.0;f=i;p=i;i=i+8|0;G=p;o=i;i=i+8|0;E=o;k=i;i=i+8|0;D=k;n=i;i=i+8|0;B=n;j=i;i=i+128|0;g=j;x=i;i=i+128|0;y=x;w=i;i=i+128|0;t=+h[d+184>>3];q=+h[d+192>>3];u=+h[d+200>>3];s=+h[d+208>>3];r=+h[d+216>>3];v=+h[d+224>>3];l=+h[d+232>>3];m=+h[d+240>>3];z=c[d+8>>2]|0;z=jd[c[(c[z>>2]|0)+44>>2]&511](z)|0;a:do{if(t==s&q==r){C=0.0;e=10}else{do{if(u==v){I=r-q;J=s-t;F=0.0;C=0.0}else{if(v>u){F=(-0.0-u)/(v-u)}else{F=(-0.0-v)/(u-v)}J=s-t;oa=t+J*F;I=r-q;C=q+I*F;ka=oa-t;la=C-q;A=ka*ka+la*la<=u*u;oa=t-oa;C=q-C;C=+Z(+(u/+T(+(oa*oa+C*C))));if(u>v){C=-0.0-C;if(A){e=10;break a}else{break}}else{if(A){e=10;break a}else{break}}}}while(0);_=+$(+I,+J);A=b+28|0;HB(c[A>>2]|0,G,E,D,B);J=t+u;I=s+v-J;do{if(I!=0.0){J=(+h[p>>3]-J)/I;if(J<1.0){I=0.0;break}if(J<=0.0){I=0.0;J=1.0;break}I=J;J=1.0}else{I=0.0;J=1.0}}while(0);L=t-u;M=s-v-L;do{if(M!=0.0){L=(+h[k>>3]-L)/M;if(L<J){J=L;break}if(L<=I){break}I=L}}while(0);L=q+u;M=r+v-L;do{if(M!=0.0){L=(+h[o>>3]-L)/M;if(L<J){J=L;break}if(L<=I){break}I=L}}while(0);L=q-u;M=r-v-L;do{if(M!=0.0){L=(+h[n>>3]-L)/M;if(L<J){J=L;break}if(L<=I){break}I=L}}while(0);do{if(u<v){if(J>=F){F=J;break}}else{I=u>v&I>F?F:I;F=J}}while(0);G=0;I=(a[d+381|0]&1)==0&I>1.0?1.0:I;J=(a[d+380|0]&1)==0&F<0.0?0.0:F;ba=C}}while(0);if((e|0)==10){A=b+28|0;HB(c[A>>2]|0,G,E,D,B);_=0.0;G=1;I=1.0;J=0.0;ba=C}B=b+8|0;ra=c[B>>2]|0;do{if(Bd[c[(c[ra>>2]|0)+20>>2]&255](ra,c[d+4>>2]|0)|0){ra=c[B>>2]|0;if(!(gd[c[(c[ra>>2]|0)+240>>2]&3](ra,c[A>>2]|0,d,J,I)|0)){break}i=f;return}}while(0);D=c[A>>2]|0;F=+S(+(+h[D+16>>3]));C=+S(+(+h[D+24>>3]));C=C>F?C:F;F=+S(+(+h[D+32>>3]));F=F>C?F:C;L=+S(+(+h[D+40>>3]));D=u>v;C=D?u:v;F=C*(L>F?L:F);do{if(F<1.0){E=3}else{E=~~(3.141592653589793/+Y(+(1.0-.1/F)));if((E|0)<3){E=3;break}E=(E|0)>200?200:E}}while(0);M=m-l;R=s-t;L=r-q;Q=v-u;Kx(l,m,l+M*J,d,g);K=c[B>>2]|0;K=sd[c[(c[K>>2]|0)+244>>2]&127](K,c[A>>2]|0,d)|0;O=l+M*I;P=(z|0)>0;N=I-J;b=b+116|0;H=(E|0)>1;F=+(E|0);X=_+ba+1.5707963267948966;U=(E|0)>0;aa=_-ba+-1.5707963267948966;ea=ba*2.0;_=ea+3.141592653589793;ca=ba*-2.0+3.141592653589793;ba=ea+-3.141592653589793;da=(z|0)==0;na=0;ea=u+Q*J;la=J;ga=t+R*J;fa=q+L*J;while(1){Kx(l,m,O,d,y);b:do{if((256-na|0)>1){ma=256;c:while(1){if(da){break}else{pa=0}while(1){qa=(c[y+(pa<<2)>>2]|0)-(c[g+(pa<<2)>>2]|0)|0;pa=pa+1|0;if((((qa|0)>-1?qa:0-qa|0)|0)>256){break}if(pa>>>0>=z>>>0){break c}}ma=(ma+na|0)/2|0;ha=J+N*+(ma|0)*.00390625;Kx(l,m,l+M*ha,d,y);if((ma-na|0)<=1){break b}}pa=na+1|0;d:do{if((na|0)<(ma|0)){na=pa;while(1){Kx(l,m,l+M*(J+N*+(na|0)*.00390625),d,w);if(!dada(k,j)|0;b=b+24|0;c[b>>2]=(c[b>>2]|0)+((e|0)>1e3?1e3:e);i=g;return}}while(0);if((x|0)==161){Of(o)}b=c[b+120>>2]|0;do{if((b|0)==0){b=-1}else{b=c[b+4>>2]|0;if((c[b+16>>2]|0)!=8){b=-1;break}b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}}while(0);Qe(b,161744,p);i=g;return}function Rx(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0.0;e=i;r=i;i=i+8|0;s=r;v=i;i=i+8|0;w=v;z=i;i=i+8|0;y=z;B=i;i=i+8|0;A=B;C=i;i=i+8|0;D=C;E=i;i=i+8|0;F=E;K=i;i=i+8|0;L=K;N=i;i=i+8|0;U=i;i=i+8|0;T=U;V=i;i=i+8|0;W=i;i=i+8|0;Z=i;i=i+8|0;O=Z;I=i;i=i+16|0;H=I;Q=i;i=i+16|0;P=Q;R=i;i=i+48|0;k=R;j=i;i=i+32|0;J=i;i=i+16|0;f=J;x=i;i=i+16|0;g=x;q=i;i=i+16|0;m=q;u=i;i=i+16|0;p=u;c[I>>2]=13;M=H+8|0;c[M>>2]=0;c[M+4>>2]=0;c[Q>>2]=13;S=P+8|0;c[S>>2]=0;c[S+4>>2]=0;c[J>>2]=13;G=f+8|0;c[G>>2]=0;c[G+4>>2]=0;c[x>>2]=13;t=g+8|0;c[t>>2]=0;c[t+4>>2]=0;c[q>>2]=13;q=m+8|0;c[q>>2]=0;c[q+4>>2]=0;c[u>>2]=13;q=p+8|0;c[q>>2]=0;c[q+4>>2]=0;l=b+112|0;if((c[l>>2]|0)>20){i=e;return}Y=c[d>>2]|0;if((Y|0)!=8){c[Z>>2]=Y;c[O+4>>2]=8;Qe(0,162256,O);tc()}O=c[d+8>>2]|0;O=jd[c[(c[O>>2]|0)+72>>2]&511](O)|0;Yu(O,160360,g,0)|0;Y=c[x>>2]|0;if((Y|0)==1){if((c[t>>2]|0)!=1){X=6}}else if((Y|0)!=5){X=6}if((X|0)==6){X=c[b+120>>2]|0;do{if((X|0)==0){X=-1}else{X=c[X+4>>2]|0;if((c[X+16>>2]|0)!=8){X=-1;break}X=c[X+24>>2]|0;X=jd[c[(c[X>>2]|0)+48>>2]&511](X)|0}}while(0);Qe(X,160376,W)}Of(g);Yu(O,160400,P,0)|0;if((c[Q>>2]|0)!=6){Of(P);b=c[b+120>>2]|0;do{if((b|0)==0){b=-1}else{b=c[b+4>>2]|0;if((c[b+16>>2]|0)!=8){b=-1;break}b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}}while(0);Qe(b,160408,V);i=e;return}V=6;W=0;while(1){if((V|0)!=6){X=17;break}ut(c[S>>2]|0,W,g)|0;V=c[x>>2]|0;if((V+ -1|0)>>>0>=2){X=24;break}if((V|0)==1){_=+(c[t>>2]|0)}else{_=+h[t>>3]}h[j+(W<<3)>>3]=_;Of(g);W=W+1|0;if((W|0)>=4){X=28;break}V=c[Q>>2]|0}if((X|0)==17){c[U>>2]=V;c[T+4>>2]=6;Qe(0,162256,T);tc()}else if((X|0)==24){Of(g);b=c[b+120>>2]|0;do{if((b|0)==0){b=-1}else{b=c[b+4>>2]|0;if((c[b+16>>2]|0)!=8){b=-1;break}b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}}while(0);Qe(b,161768,N);i=e;return}else if((X|0)==28){Of(P);Yu(O,160472,H,0)|0;a:do{if((c[I>>2]|0)==6){P=6;N=0;while(1){if((P|0)!=6){break}ut(c[M>>2]|0,N,g)|0;P=c[x>>2]|0;if((P+ -1|0)>>>0<2){if((P|0)==1){_=+(c[t>>2]|0)}else{_=+h[t>>3]}h[k+(N<<3)>>3]=_}else{h[k+(N<<3)>>3]=0.0}Of(g);N=N+1|0;if((N|0)>=6){break a}P=c[I>>2]|0}c[K>>2]=P;c[L+4>>2]=6;Qe(0,162256,L);tc()}else{h[R>>3]=1.0;bX(k+8|0,0,16)|0;h[k+24>>3]=1.0;bX(k+32|0,0,16)|0}}while(0);Of(H);Yu(O,160480,f,0)|0;if((c[J>>2]|0)==7){G=c[G>>2]|0}else{G=0}if((c[(Yu(O,160096,g,0)|0)>>2]|0)==7){H=c[x>>2]|0;if((H|0)!=7){c[E>>2]=H;c[F+4>>2]=7;Qe(0,162256,F);tc()}E=Yu(c[t>>2]|0,160008,m,0)|0;do{if((c[E>>2]|0)==4){if((Qc(c[E+8>>2]|0,161800)|0)!=0){C=0;o=0;n=0;p=0;break}E=c[x>>2]|0;if((E|0)!=7){c[C>>2]=E;c[D+4>>2]=7;Qe(0,162256,D);tc()}if((c[(Yu(c[t>>2]|0,160104,p,0)|0)>>2]|0)==5){C=0}else{C=Jy(p,b)|0}Of(p);D=c[x>>2]|0;if((D|0)!=7){c[B>>2]=D;c[A+4>>2]=7;Qe(0,162256,A);tc()}do{if((c[(Yu(c[t>>2]|0,160112,p,0)|0)>>2]|0)==0){A=c[u>>2]|0;if((A|0)==0){o=(a[q]&1)!=0;break}else{c[z>>2]=A;c[y+4>>2]=0;Qe(0,162256,y);tc()}}else{o=0}}while(0);Of(p);x=c[x>>2]|0;if((x|0)!=7){c[v>>2]=x;c[w+4>>2]=7;Qe(0,162256,w);tc()}do{if((c[(Yu(c[t>>2]|0,160120,p,0)|0)>>2]|0)==0){t=c[u>>2]|0;if((t|0)==0){n=(a[q]&1)!=0;break}else{c[r>>2]=t;c[s+4>>2]=0;Qe(0,162256,s);tc()}}else{n=0}}while(0);Of(p);p=1}else{C=0;o=0;n=0;p=0}}while(0);Of(m)}else{C=0;o=0;n=0;p=0}Of(g);c[l>>2]=(c[l>>2]|0)+1;Ax(b,d,G,k,j,p,0,C,o,n,0,0,0);c[l>>2]=(c[l>>2]|0)+ -1;if((C|0)!=0){fd[c[(c[C>>2]|0)+4>>2]&511](C)}Of(f);i=e;return}}function Sx(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;d=i;e=i;i=i+8|0;j=i;i=i+8|0;g=j;o=i;i=i+8|0;m=i;i=i+16|0;b=m;h=i;i=i+16|0;f=h;c[m>>2]=13;l=b+8|0;c[l>>2]=0;c[l+4>>2]=0;c[h>>2]=13;n=f+8|0;c[n>>2]=0;c[n+4>>2]=0;Jf(b,c[a>>2]|0)|0;a=a+120|0;cG(c[a>>2]|0,f,0,0,0,0,0)|0;while(1){p=c[h>>2]|0;if((p|0)==4){p=Ge(c[n>>2]|0)|0;Of(f);cG(c[a>>2]|0,f,0,0,0,0,0)|0;if(((c[h>>2]|0)+ -11|0)>>>0<2){k=13;break}q=c[m>>2]|0;if((q|0)!=7){k=10;break}Tu(c[l>>2]|0,p,f)}else if((p|0)==10){if((Qc(c[n>>2]|0,161912)|0)==0){break}else{k=4}}else if((p|0)==12){k=14;break}else{k=4}if((k|0)==4){k=0;p=c[a>>2]|0;do{if((p|0)==0){p=-1}else{p=c[p+4>>2]|0;if((c[p+16>>2]|0)!=8){p=-1;break}p=c[p+24>>2]|0;p=jd[c[(c[p>>2]|0)+48>>2]&511](p)|0}}while(0);Qe(p,161920,o);Of(f)}cG(c[a>>2]|0,f,0,0,0,0,0)|0}if((k|0)==10){c[j>>2]=q;c[g+4>>2]=7;Qe(0,162256,g);tc()}else if((k|0)==13){Fe(p);if((c[h>>2]|0)==12){k=14}}if((k|0)==14){g=c[a>>2]|0;do{if((g|0)==0){g=-1}else{g=c[g+4>>2]|0;if((c[g+16>>2]|0)!=8){g=-1;break}g=c[g+24>>2]|0;g=jd[c[(c[g>>2]|0)+48>>2]&511](g)|0}}while(0);Qe(g,161976,e);Of(f);Of(b);q=0;i=d;return q|0}Of(f);f=(c[a>>2]|0)+4|0;e=c[f>>2]|0;do{if((c[e+16>>2]|0)==8){if((c[e+24>>2]|0)==0){break}e=FW(40)|0;f=c[f>>2]|0;if((c[f+16>>2]|0)==8){f=c[f+24>>2]|0}else{f=0}$j(e,f,b,0,0);q=qj(e,b)|0;i=d;return q|0}}while(0);Of(b);q=0;i=d;return q|0}function Tx(a,b,d,e,f,g,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;g=+g;j=+j;k=+k;var l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0.0,D=0.0,E=0.0,F=0,G=0.0,H=0.0,I=0.0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0.0,ba=0,ca=0.0,da=0.0,ea=0.0,fa=0.0,ga=0.0,ha=0.0,ia=0.0,ja=0.0;l=i;L=i;i=i+16|0;K=L;N=i;i=i+8|0;J=N;V=i;i=i+8|0;Y=i;i=i+8|0;X=Y;$=i;i=i+8|0;M=i;i=i+16|0;S=M;Z=i;i=i+16|0;W=Z;z=i;i=i+16|0;x=z;R=i;i=i+16|0;U=R;B=i;i=i+48|0;w=B;O=i;i=i+32|0;y=O;v=i;i=i+120|0;c[M>>2]=13;P=S+8|0;c[P>>2]=0;c[P+4>>2]=0;c[Z>>2]=13;_=W+8|0;c[_>>2]=0;c[_+4>>2]=0;c[z>>2]=13;A=x+8|0;c[A>>2]=0;c[A+4>>2]=0;c[R>>2]=13;Q=U+8|0;c[Q>>2]=0;c[Q+4>>2]=0;m=a+28|0;q=c[m>>2]|0;ha=+h[q+16>>3];ea=+h[q+40>>3];ia=+h[q+24>>3];fa=+h[q+32>>3];ja=1.0/(ha*ea-ia*fa);u=ea*ja;s=-0.0-ia*ja;r=-0.0-fa*ja;t=ha*ja;da=+h[q+56>>3];ca=+h[q+48>>3];ea=ja*(fa*da-ea*ca);da=ja*(ia*ca-ha*da);q=a+64|0;ha=+h[q>>3];n=a+80|0;ca=+h[n>>3];ia=+h[a+96>>3];ja=ia+(ha*f+ca*g);o=a+72|0;fa=+h[o>>3];p=a+88|0;aa=+h[p>>3];ga=+h[a+104>>3];g=ga+(fa*f+aa*g);f=ea+(u*ja+g*r);g=da+(ja*s+t*g);ca=ia+(ha*j+ca*k);aa=ga+(fa*j+aa*k);j=ea+(u*ca+aa*r);aa=dada=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0.0;q=i;n=i;i=i+16|0;m=n;r=i;i=i+8|0;e=r;u=i;i=i+8|0;t=u;y=i;i=i+8|0;x=y;A=i;i=i+8|0;z=A;D=i;i=i+8|0;E=D;X=i;i=i+8|0;_=X;H=i;i=i+8|0;T=i;i=i+8|0;U=T;I=i;i=i+8|0;J=i;i=i+8|0;W=i;i=i+8|0;Q=W;M=i;i=i+8|0;L=i;i=i+8|0;R=i;i=i+8|0;Y=R;O=i;i=i+8|0;P=i;i=i+8|0;S=i;i=i+8|0;$=S;N=i;i=i+8|0;K=i;i=i+8|0;V=i;i=i+8|0;Z=V;da=i;i=i+8|0;ca=da;ea=i;i=i+8|0;fa=ea;ga=i;i=i+8|0;ha=i;i=i+8|0;ia=ha;ja=i;i=i+8|0;ka=ja;ma=i;i=i+8|0;la=i;i=i+8|0;na=i;i=i+8|0;oa=na;pa=i;i=i+8|0;qa=pa;ra=i;i=i+8|0;ta=i;i=i+8|0;sa=ta;ua=i;i=i+8|0;wa=i;i=i+8|0;va=wa;ya=i;i=i+8|0;xa=ya;Ba=i;i=i+8|0;za=i;i=i+8|0;Aa=za;Da=i;i=i+8|0;Ca=Da;Ea=i;i=i+8|0;Fa=Ea;Ia=i;i=i+8|0;Ha=Ia;w=i;i=i+16|0;o=w;l=i;i=i+16|0;j=l;g=i;i=i+16|0;p=g;aa=i;i=i+16|0;F=aa;c[w>>2]=13;v=o+8|0;c[v>>2]=0;c[v+4>>2]=0;c[l>>2]=13;f=j+8|0;c[f>>2]=0;c[f+4>>2]=0;c[g>>2]=13;s=p+8|0;c[s>>2]=0;c[s+4>>2]=0;c[aa>>2]=13;ba=F+8|0;c[ba>>2]=0;c[ba+4>>2]=0;Ga=a+44|0;c[Ga>>2]=2;G=a+52|0;c[G>>2]=-1;c[a+56>>2]=-1;B=a+144|0;h[B>>3]=0.0;if((c[(Yu(d,162552,o,0)|0)>>2]|0)!=7){Of(o);i=q;return}d=c[w>>2]|0;if((d|0)!=7){c[Ia>>2]=d;c[Ha+4>>2]=7;Qe(0,166192,Ha);tc()}do{if((c[(Yu(c[v>>2]|0,162568,j,0)|0)>>2]|0)==1){Ha=c[l>>2]|0;if((Ha|0)==1){c[Ga>>2]=c[f>>2];break}else{c[Ea>>2]=Ha;c[Fa+4>>2]=1;Qe(0,166192,Fa);tc()}}}while(0);Of(j);Ea=c[w>>2]|0;if((Ea|0)!=7){c[Da>>2]=Ea;c[Ca+4>>2]=7;Qe(0,166192,Ca);tc()}Yu(c[v>>2]|0,162576,j,0)|0;if((c[l>>2]|0)==4){d=FW(32)|0;fe(d,c[f>>2]|0);Ca=a+48|0;c[Ca>>2]=d}else{Ca=a+48|0}Of(j);if((c[Ca>>2]|0)==0){Da=c[w>>2]|0;if((Da|0)!=7){c[za>>2]=Da;c[Aa+4>>2]=7;Qe(0,166192,Aa);tc()}Yu(c[v>>2]|0,162592,j,0)|0;if((c[l>>2]|0)==4){d=FW(32)|0;fe(d,c[f>>2]|0);c[Ca>>2]=d;Qe(-1,162608,Ba)}Of(j)}za=c[w>>2]|0;if((za|0)!=7){c[ya>>2]=za;c[xa+4>>2]=7;Qe(0,166192,xa);tc()}Yu(c[v>>2]|0,162704,j,0)|0;if((c[l>>2]|0)==3){d=FW(32)|0;ie(d,c[f>>2]|0);c[a+24>>2]=d}Of(j);xa=c[w>>2]|0;if((xa|0)!=7){c[wa>>2]=xa;c[va+4>>2]=7;Qe(0,166192,va);tc()}Yu(c[v>>2]|0,162720,j,0)|0;do{if((c[l>>2]|0)==4){va=c[f>>2]|0;if((Qc(va|0,162736)|0)==0){c[a+28>>2]=1;break}if((Qc(va|0,162752)|0)==0){c[a+28>>2]=2;break}if((Qc(va|0,162768)|0)==0){c[a+28>>2]=3;break}if((Qc(va|0,162784)|0)==0){c[a+28>>2]=4;break}if((Qc(va|0,162800)|0)==0){c[a+28>>2]=5;break}if((Qc(va|0,162808)|0)==0){c[a+28>>2]=6;break}if((Qc(va|0,162824)|0)==0){c[a+28>>2]=7;break}if((Qc(va|0,162840)|0)==0){c[a+28>>2]=8;break}if((Qc(va|0,162856)|0)==0){c[a+28>>2]=9;break}else{Qe(-1,162872,ua);break}}}while(0);Of(j);ua=c[w>>2]|0;if((ua|0)!=7){c[ta>>2]=ua;c[sa+4>>2]=7;Qe(0,166192,sa);tc()}Yu(c[v>>2]|0,162896,j,0)|0;sa=c[l>>2]|0;do{if((sa+ -1|0)>>>0<2){sa=(sa|0)==1;if(sa){d=c[f>>2]|0;ta=d;Ja=+(d|0)}else{Ja=+h[f>>3];h[k>>3]=Ja;ta=c[k>>2]|0}if(Ja==100.0){c[a+32>>2]=1;break}if(sa){ua=ta;Ja=+(ta|0)}else{Ja=+h[f>>3];h[k>>3]=Ja;ua=c[k>>2]|0}if(Ja==200.0){c[a+32>>2]=2;break}if(sa){ta=ua;Ja=+(ua|0)}else{Ja=+h[f>>3];h[k>>3]=Ja;ta=c[k>>2]|0}if(Ja==300.0){c[a+32>>2]=3;break}if(sa){ua=ta;Ja=+(ta|0)}else{Ja=+h[f>>3];h[k>>3]=Ja;ua=c[k>>2]|0}if(Ja==400.0){c[a+32>>2]=4;break}if(sa){ta=ua;Ja=+(ua|0)}else{Ja=+h[f>>3];h[k>>3]=Ja;ta=c[k>>2]|0}if(Ja==500.0){c[a+32>>2]=5;break}if(sa){ua=ta;Ja=+(ta|0)}else{Ja=+h[f>>3];h[k>>3]=Ja;ua=c[k>>2]|0}if(Ja==600.0){c[a+32>>2]=6;break}if(sa){ta=ua;Ja=+(ua|0)}else{Ja=+h[f>>3];h[k>>3]=Ja;ta=c[k>>2]|0}if(Ja==700.0){c[a+32>>2]=7;break}if(sa){ua=ta;Ja=+(ta|0)}else{Ja=+h[f>>3];h[k>>3]=Ja;ua=c[k>>2]|0}if(Ja==800.0){c[a+32>>2]=8;break}if(sa){Ja=+(ua|0)}else{Ja=+h[f>>3]}if(Ja==900.0){c[a+32>>2]=9;break}else{Qe(-1,162912,ra);break}}}while(0);Of(j);ra=c[w>>2]|0;if((ra|0)!=7){c[pa>>2]=ra;c[qa+4>>2]=7;Qe(0,166192,qa);tc()}do{if((c[(Zu(c[v>>2]|0,162936,j)|0)>>2]|0)==9){pa=c[l>>2]|0;if((pa|0)!=9){c[na>>2]=pa;c[oa+4>>2]=9;Qe(0,166192,oa);tc()}Ia=f;d=c[Ia+4>>2]|0;na=G;c[na>>2]=c[Ia>>2];c[na+4>>2]=d;na=a+40|0;if((c[na>>2]|0)==1){break}Qe(-1,162952,la);if(jd[c[c[a>>2]>>2]&511](a)|0){Qe(-1,163008,ma);c[na>>2]=7;break}else{c[na>>2]=1;break}}}while(0);Of(j);do{if((c[G>>2]|0)==-1){la=c[w>>2]|0;if((la|0)!=7){c[ja>>2]=la;c[ka+4>>2]=7;Qe(0,166192,ka);tc()}if((c[(Zu(c[v>>2]|0,163064,j)|0)>>2]|0)!=9){break}ja=c[l>>2]|0;if((ja|0)!=9){c[ha>>2]=ja;c[ia+4>>2]=9;Qe(0,166192,ia);tc()}Ia=f;d=c[Ia+4>>2]|0;ha=G;c[ha>>2]=c[Ia>>2];c[ha+4>>2]=d;ha=a+40|0;d=c[ha>>2]|0;if((d|0)==10|(d|0)==5){break}Qe(-1,162952,ga);d=jd[c[c[a>>2]>>2]&511](a)|0;c[ha>>2]=d?10:5}}while(0);Of(j);do{if((c[G>>2]|0)==-1){ga=c[w>>2]|0;if((ga|0)!=7){c[ea>>2]=ga;c[fa+4>>2]=7;Qe(0,166192,fa);tc()}if((c[(Zu(c[v>>2]|0,163080,j)|0)>>2]|0)!=9){break}if((c[(Nf(j,b,p,0)|0)>>2]|0)==8){ea=c[g>>2]|0;if((ea|0)!=8){c[da>>2]=ea;c[ca+4>>2]=8;Qe(0,166192,ca);tc()}ca=c[s>>2]|0;Yu(jd[c[(c[ca>>2]|0)+72>>2]&511](ca)|0,162424,F,0)|0;ca=162512;do{if((c[aa>>2]|0)==4){ca=c[ba>>2]|0;if((Qc(ca|0,162432)|0)==0){H=c[l>>2]|0;if((H|0)!=9){c[V>>2]=H;c[Z+4>>2]=9;Qe(0,166192,Z);tc()}Ia=f;d=c[Ia+4>>2]|0;c[G>>2]=c[Ia>>2];c[G+4>>2]=d;G=a+40|0;if((c[G>>2]|0)==1){break}Qe(-1,162952,K);if(jd[c[c[a>>2]>>2]&511](a)|0){Qe(-1,163096,N);c[G>>2]=7;break}else{c[G>>2]=1;break}}if((Qc(ca|0,162448)|0)==0){H=c[l>>2]|0;if((H|0)!=9){c[S>>2]=H;c[$+4>>2]=9;Qe(0,166192,$);tc()}Ia=f;d=c[Ia+4>>2]|0;c[G>>2]=c[Ia>>2];c[G+4>>2]=d;G=a+40|0;if(((c[G>>2]|0)+ -1|0)>>>0>=2){Qe(-1,162952,P)}if(jd[c[c[a>>2]>>2]&511](a)|0){Qe(-1,163152,O);c[G>>2]=8;break}else{c[G>>2]=2;break}}if((Qc(ca|0,162464)|0)==0){H=c[l>>2]|0;if((H|0)!=9){c[R>>2]=H;c[Y+4>>2]=9;Qe(0,166192,Y);tc()}Ia=f;d=c[Ia+4>>2]|0;c[G>>2]=c[Ia>>2];c[G+4>>2]=d;G=a+40|0;if((c[G>>2]|0)==5){break}Qe(-1,162952,L);if(jd[c[c[a>>2]>>2]&511](a)|0){Qe(-1,163208,M);c[G>>2]=10;break}else{c[G>>2]=5;break}}if((Qc(ca|0,163264)|0)==0){H=c[l>>2]|0;if((H|0)!=9){c[W>>2]=H;c[Q+4>>2]=9;Qe(0,166192,Q);tc()}Ia=f;d=c[Ia+4>>2]|0;c[G>>2]=c[Ia>>2];c[G+4>>2]=d;G=a+40|0;if((c[G>>2]|0)!=7){Qe(-1,162952,J)}if(jd[c[c[a>>2]>>2]&511](a)|0){c[G>>2]=8;break}else{Qe(-1,163280,I);c[G>>2]=2;break}}if((Qc(ca|0,163344)|0)!=0){C=158;break}I=c[l>>2]|0;if((I|0)!=9){c[T>>2]=I;c[U+4>>2]=9;Qe(0,166192,U);tc()}d=f;I=c[d+4>>2]|0;c[G>>2]=c[d>>2];c[G+4>>2]=I;G=a+40|0;I=c[G>>2]|0;if((I|0)==1){c[G>>2]=3;break}else if((I|0)==7){c[G>>2]=9;break}else if((I|0)==10){c[G>>2]=11;break}else if((I|0)==5){c[G>>2]=6;break}else{Qe(-1,162952,H);break}}else{C=158}}while(0);if((C|0)==158){c[X>>2]=ca;Qe(-1,163360,_)}Of(F)}Of(p)}}while(0);Of(j);C=c[w>>2]|0;if((C|0)!=7){c[D>>2]=C;c[E+4>>2]=7;Qe(0,166192,E);tc()}Yu(c[v>>2]|0,163392,j,0)|0;C=c[l>>2]|0;if((C+ -1|0)>>>0<2){if((C|0)==1){Ja=+(c[f>>2]|0)}else{Ja=+h[f>>3]}h[B>>3]=Ja}Of(j);B=c[w>>2]|0;if((B|0)!=7){c[A>>2]=B;c[z+4>>2]=7;Qe(0,166192,z);tc()}Yu(c[v>>2]|0,163408,j,0)|0;z=c[l>>2]|0;do{if((z+ -1|0)>>>0<2){if((z|0)==1){Ja=+(c[f>>2]|0)}else{Ja=+h[f>>3]}Ja=Ja*.001;if(Ja==0.0){break}h[a+152>>3]=Ja}}while(0);Of(j);z=c[w>>2]|0;if((z|0)!=7){c[y>>2]=z;c[x+4>>2]=7;Qe(0,166192,x);tc()}Yu(c[v>>2]|0,163416,j,0)|0;x=c[l>>2]|0;do{if((x+ -1|0)>>>0<2){if((x|0)==1){Ja=+(c[f>>2]|0)}else{Ja=+h[f>>3]}Ja=Ja*.001;x=a+160|0;if(Ja!=0.0){h[x>>3]=Ja}else{Ja=+h[x>>3]}if(Ja<=0.0){break}h[a+160>>3]=-0.0-Ja}}while(0);Of(j);w=c[w>>2]|0;if((w|0)!=7){c[u>>2]=w;c[t+4>>2]=7;Qe(0,166192,t);tc()}a:do{if((c[(Yu(c[v>>2]|0,163424,j,0)|0)>>2]|0)==6){t=0;while(1){u=c[l>>2]|0;if((u|0)!=6){C=192;break}u=c[f>>2]|0;if((t|0)>=(c[u+12>>2]|0)){break a}if(((c[(ut(u,t,p)|0)>>2]|0)+ -1|0)>>>0<2){u=c[g>>2]|0;if((u+ -1|0)>>>0>=2){C=196;break}if((u|0)==1){Ja=+(c[s>>2]|0)}else{Ja=+h[s>>3]}h[a+112+(t<<3)>>3]=Ja*.001}Of(p);t=t+1|0;if((t|0)>=4){break a}}if((C|0)==192){c[r>>2]=u;c[e+4>>2]=6;Qe(0,166192,e);tc()}else if((C|0)==196){c[n>>2]=u;c[m+4>>2]=1;c[m+8>>2]=2;Qe(0,167792,m);tc()}}}while(0);Of(j);Of(o);i=q;return}function _x(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=i;k=i;i=i+8|0;l=k;q=i;i=i+8|0;p=q;n=i;i=i+4096|0;m=i;i=i+16|0;h=m;c[m>>2]=13;j=h+8|0;c[j>>2]=0;c[j+4>>2]=0;if((c[(Yu(d,163440,h,0)|0)>>2]|0)!=8){Of(h);r=0;i=g;return r|0}d=FW(32)|0;ee(d);r=c[m>>2]|0;if((r|0)!=8){c[q>>2]=r;c[p+4>>2]=8;Qe(0,166192,p);tc()}p=c[j>>2]|0;fd[c[(c[p>>2]|0)+12>>2]&511](p);while(1){a:do{if(jd[c[(c[p>>2]|0)+88>>2]&511](p)|0){q=sd[c[(c[p>>2]|0)+92>>2]&127](p,4096,n)|0;o=10}else{q=0;while(1){r=jd[c[(c[p>>2]|0)+20>>2]&511](p)|0;if((r|0)==-1){o=10;break a}a[n+q|0]=r;q=q+1|0;if((q|0)>=4096){q=4096;break}}}}while(0);if((o|0)==10){o=0;if((q|0)==0){break}}ne(d,n,q)|0}m=c[m>>2]|0;if((m|0)!=8){c[k>>2]=m;c[l+4>>2]=8;Qe(0,166192,l);tc()}r=c[j>>2]|0;fd[c[(c[r>>2]|0)+16>>2]&511](r);Of(h);if((f|0)==0){f=lu(d,e)|0}else{qu(f,d,e)}a[b+173|0]=1;if((d|0)==0){r=f;i=g;return r|0}ke(d);HW(d);r=f;i=g;return r|0}function $x(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;e=i;k=i;i=i+8|0;o=i;i=i+16|0;f=o;l=i;i=i+16|0;g=l;m=f+8|0;c[l>>2]=13;h=g+8|0;c[h>>2]=0;c[h+4>>2]=0;j=a+52|0;n=c[j>>2]|0;a=c[a+56>>2]|0;c[o>>2]=9;c[m>>2]=n;c[m+4>>2]=a;Nf(f,b,g,0)|0;if((c[l>>2]|0)==8){n=c[h>>2]|0;o=ay(n,d,4096,4096)|0;fd[c[(c[n>>2]|0)+16>>2]&511](n);Of(g);Of(f);i=e;return o|0}else{Qe(-1,163544,k);Of(g);Of(f);c[j>>2]=-1;c[d>>2]=0;o=0;i=e;return o|0}return 0}function ay(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;h=i;g=we(e)|0;c[d>>2]=0;fd[c[(c[b>>2]|0)+12>>2]&511](b);j=e;while(1){k=c[d>>2]|0;l=jd[c[(c[b>>2]|0)+88>>2]&511](b)|0;if((j|0)>0){a:do{if(l){l=sd[c[(c[b>>2]|0)+92>>2]&127](b,j,g+k|0)|0}else{l=0;while(1){m=jd[c[(c[b>>2]|0)+20>>2]&511](b)|0;if((m|0)==-1){break a}a[g+(l+k)|0]=m;l=l+1|0;if((l|0)>=(j|0)){l=j;break}}}}while(0);if((l|0)==0){d=16;break}c[d>>2]=(c[d>>2]|0)+l;if((l|0)!=(j|0)){d=16;break}if((jd[c[(c[b>>2]|0)+24>>2]&511](b)|0)==-1){d=16;break}}else{if(l){k=sd[c[(c[b>>2]|0)+92>>2]&127](b,j,g+k|0)|0}else{k=j}if((k|0)==0){d=16;break}c[d>>2]=(c[d>>2]|0)+k;if((k|0)!=(j|0)){d=16;break}if((jd[c[(c[b>>2]|0)+24>>2]&511](b)|0)==-1){d=16;break}}m=e+f|0;g=xe(g,m)|0;j=f;e=m}if((d|0)==16){i=h;return g|0}return 0}function by(d,f,g,j,k,l,m){d=d|0;f=f|0;g=g|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0.0,pa=0.0;p=i;u=i;i=i+8|0;t=u;M=i;i=i+8|0;L=M;H=i;i=i+8|0;I=H;N=i;i=i+8|0;O=N;Y=i;i=i+8|0;X=i;i=i+16|0;W=X;Z=i;i=i+8|0;V=Z;ca=i;i=i+16|0;da=ca;aa=i;i=i+8|0;ba=aa;T=i;i=i+8|0;U=T;A=i;i=i+1024|0;B=A;C=i;i=i+32|0;D=C;o=i;i=i+8|0;n=o;r=i;i=i+16|0;q=r;s=i;i=i+16|0;v=s;J=i;i=i+16|0;K=J;z=i;i=i+8|0;y=z;S=j;R=c[S>>2]|0;S=c[S+4>>2]|0;c[d>>2]=162528;j=d+172|0;a[j]=0;E=FW(32)|0;fe(E,g);c[d+8>>2]=E;E=d+12|0;c[E>>2]=R;c[E+4>>2]=S;E=d+20|0;c[E>>2]=k;c[d+36>>2]=k;S=d+48|0;c[S>>2]=0;R=d+60|0;c[R>>2]=0;c[d+24>>2]=0;c[d+28>>2]=0;c[d+32>>2]=0;c[d+4>>2]=0;a[d+173|0]=0;c[d>>2]=163592;_=d+3512|0;c[_>>2]=13;$=d+3520|0;c[$>>2]=0;c[$+4>>2]=0;$=d+3528|0;c[$>>2]=13;g=d+3536|0;c[g>>2]=0;c[g+4>>2]=0;c[r>>2]=13;g=q+8|0;c[g>>2]=0;c[g+4>>2]=0;c[s>>2]=13;w=v+8|0;c[w>>2]=0;c[w+4>>2]=0;c[J>>2]=13;P=K+8|0;c[P>>2]=0;c[P+4>>2]=0;c[d+168>>2]=1;x=d+40|0;c[x>>2]=l;l=d+1456|0;c[l>>2]=0;a:do{if((k|0)==0){G=19}else{F=FW(32)|0;ie(F,k);k=F+24|0;fa=c[k>>2]|0;b:do{if((fa|0)>0){Q=F+28|0;ea=0;while(1){while(1){if((a[(c[Q>>2]|0)+ea|0]|0)!=32){break}re(F,ea,1)|0;fa=c[k>>2]|0;if((ea|0)>=(fa|0)){Q=0;ea=51;break b}}ea=ea+1|0;if((ea|0)>=(fa|0)){Q=0;ea=51;break}}}else{Q=0;ea=51}}while(0);do{k=(ea+Q|0)/2|0;fa=(te(F,c[163616+(k<<3)>>2]|0)|0)>-1;Q=fa?k:Q;ea=fa?ea:k;}while((ea-Q|0)>1);if((te(F,c[163616+(Q<<3)>>2]|0)|0)==0){na=FW(32)|0;fe(na,c[163620+(Q<<3)>>2]|0);c[E>>2]=na}if((F|0)!=0){ke(F);HW(F)}F=c[E>>2]|0;if((F|0)==0){G=19;break}else{la=0}while(1){k=72928+(la*24|0)|0;Q=la+1|0;if((te(F,c[k>>2]|0)|0)==0){break}if((Q|0)>=14){G=19;break a}F=c[E>>2]|0;la=Q}if((k|0)==0){G=19;break}ha=72936+(la*24|0)|0;ga=d+152|0;h[ga>>3]=+(b[ha>>1]|0)*.001;fa=72938+(la*24|0)|0;ea=d+160|0;h[ea>>3]=+(b[fa>>1]|0)*.001;Q=72940+(la*24|0)|0;ma=d+112|0;h[ma>>3]=+(b[Q>>1]|0)*.001;ia=72942+(la*24|0)|0;ka=d+120|0;h[ka>>3]=+(b[ia>>1]|0)*.001;F=72944+(la*24|0)|0;ja=d+128|0;h[ja>>3]=+(b[F>>1]|0)*.001;la=72946+(la*24|0)|0;na=d+136|0;h[na>>3]=+(b[la>>1]|0)*.001;Zx(d,f,m);if((c[d+52>>2]|0)>=0){F=1;break}h[ga>>3]=+(b[ha>>1]|0)*.001;h[ea>>3]=+(b[fa>>1]|0)*.001;h[ma>>3]=+(b[Q>>1]|0)*.001;h[ka>>3]=+(b[ia>>1]|0)*.001;h[ja>>3]=+(b[F>>1]|0)*.001;h[na>>3]=+(b[la>>1]|0)*.001;F=1}}while(0);if((G|0)==19){h[d+152>>3]=.95;h[d+160>>3]=-.35;bX(d+112|0,0,32)|0;Zx(d,f,m);F=0;k=0}ea=c[E>>2]|0;do{if((ea|0)!=0){Q=c[x>>2]|0;if((Q|0)==5){c[R>>2]=gf(c[834]|0,ea,163512)|0;break}else if((Q|0)==1){c[R>>2]=gf(c[834]|0,ea,163456)|0;break}else{break}}}while(0);h[d+88>>3]=1.0;Q=d+64|0;h[Q>>3]=1.0;bX(d+72|0,0,16)|0;bX(d+96|0,0,16)|0;c:do{if((c[(Yu(m,164024,q,0)|0)>>2]|0)==6){ea=0;while(1){fa=c[r>>2]|0;if((fa|0)!=6){G=28;break}fa=c[g>>2]|0;if((ea|0)>=(c[fa+12>>2]|0)){break c}if(((c[(ut(fa,ea,v)|0)>>2]|0)+ -1|0)>>>0<2){fa=c[s>>2]|0;if((fa+ -1|0)>>>0>=2){G=32;break}if((fa|0)==1){oa=+(c[w>>2]|0)}else{oa=+h[w>>3]}h[d+64+(ea<<3)>>3]=oa}Of(v);ea=ea+1|0;if((ea|0)>=6){break c}}if((G|0)==28){c[aa>>2]=fa;c[ba+4>>2]=6;Qe(0,166192,ba);tc()}else if((G|0)==32){c[ca>>2]=fa;c[da+4>>2]=1;c[da+8>>2]=2;Qe(0,167792,dada=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0.0;m=i;u=i;i=i+8|0;ia=i;i=i+8|0;ha=i;i=i+16|0;ja=ha;I=i;i=i+16|0;L=I;E=i;i=i+16|0;G=E;B=i;i=i+8|0;C=B;z=i;i=i+8|0;A=z;s=i;i=i+8|0;r=s;fa=i;i=i+8|0;ga=fa;ea=i;i=i+8|0;ca=i;i=i+16|0;da=ca;aa=i;i=i+16|0;ba=aa;_=i;i=i+16|0;$=_;Y=i;i=i+8|0;Z=Y;t=i;i=i+8|0;X=t;ka=i;i=i+8|0;V=ka;S=i;i=i+8|0;T=S;x=i;i=i+8|0;y=x;v=i;i=i+8|0;w=v;p=i;i=i+8|0;q=p;ra=i;i=i+16|0;sa=ra;ua=i;i=i+8|0;ta=ua;xa=i;i=i+16|0;wa=xa;za=i;i=i+8|0;ya=za;Fa=i;i=i+8|0;Qa=i;i=i+8|0;Na=i;i=i+16|0;Oa=Na;Ea=i;i=i+8|0;Ba=Ea;La=i;i=i+8|0;Ma=La;Ga=i;i=i+8|0;Ja=i;i=i+16|0;Ka=Ja;Ha=i;i=i+8|0;Ia=Ha;Ua=i;i=i+8|0;Pa=Ua;Sa=i;i=i+8|0;Ra=Sa;Wa=i;i=i+8|0;Ta=Wa;Ca=i;i=i+8|0;DaDa+4|0;c[Wb>>2]=6;Wb=166192;Qe(0,Wb,Da);tc()}bb=1;ab=0;$a=0;d:while(1){cb=c[pa>>2]|0;if((bb|0)>=(c[cb+12>>2]|0)){o=139;break}ut(cb,$a,Q)|0;cb=c[N>>2]|0;if((cb|0)!=6){o=97;break}ut(c[pa>>2]|0,bb,W)|0;e:do{if((c[K>>2]|0)==1){db=c[J>>2]|0;do{if((db|0)==1){cb=$a+2|0;eb=c[N>>2]|0;if((eb|0)!=6){o=101;break d}eb=c[pa>>2]|0;if((cb|0)>=(c[eb+12>>2]|0)){if((db|0)==6){break}else{o=137;break e}}if(((c[(ut(eb,cb,P)|0)>>2]|0)+ -1|0)>>>0<2){if((c[Ya>>2]|0)==(ab|0)){ab=ab+16|0;c[Za>>2]=Ce(c[Za>>2]|0,ab,16)|0}bb=c[K>>2]|0;if((bb|0)!=1){o=107;break d}c[(c[Za>>2]|0)+(c[Ya>>2]<<4)>>2]=c[oa>>2];bb=c[J>>2]|0;if((bb|0)!=1){o=109;break d}c[(c[Za>>2]|0)+(c[Ya>>2]<<4)+4>>2]=c[na>>2];bb=c[H>>2]|0;if((bb+ -1|0)>>>0>=2){o=111;break d}if((bb|0)==1){Xb=+(c[j>>2]|0)}else{Xb=+h[j>>3]}h[(c[Za>>2]|0)+(c[Ya>>2]<<4)+8>>3]=Xb*.001;c[Ya>>2]=(c[Ya>>2]|0)+1}else{Qe(-1,165216,Ga)}Of(P);$a=$a+3|0;break e}else if((db|0)!=6){o=137;break e}}while(0);bb=(c[(c[na>>2]|0)+12>>2]|0)+(c[Ya>>2]|0)|0;if((bb|0)>(ab|0)){ab=bb+15&-16;c[Za>>2]=Ce(c[Za>>2]|0,ab,16)|0;bb=c[K>>2]|0;if((bb|0)!=1){o=121;break d}}db=c[J>>2]|0;if((db|0)!=6){o=124;break d}cb=c[oa>>2]|0;bb=0;while(1){db=c[na>>2]|0;if((bb|0)>=(c[db+12>>2]|0)){break}if(((c[(ut(db,bb,P)|0)>>2]|0)+ -1|0)>>>0<2){c[(c[Za>>2]|0)+(c[Ya>>2]<<4)>>2]=cb;c[(c[Za>>2]|0)+(c[Ya>>2]<<4)+4>>2]=cb;db=c[H>>2]|0;if((db+ -1|0)>>>0>=2){o=128;break d}if((db|0)==1){Xb=+(c[j>>2]|0)}else{Xb=+h[j>>3]}h[(c[Za>>2]|0)+(c[Ya>>2]<<4)+8>>3]=Xb*.001;c[Ya>>2]=(c[Ya>>2]|0)+1;cb=cb+1|0}else{Qe(-1,165216,Qa)}Of(P);db=c[J>>2]|0;if((db|0)!=6){o=124;break d}bb=bb+1|0}$a=$a+2|0}else{o=137}}while(0);if((o|0)==137){o=0;Qe(-1,165216,Fa);$a=bb}Of(W);Of(Q);bb=c[N>>2]|0;if((bb|0)==6){bb=$a+1|0}else{o=94;break}}if((o|0)==94){Wb=Ca;c[Wb>>2]=bb;Wb=Da+4|0;c[Wb>>2]=6;Wb=166192;Qe(0,Wb,Da);tc()}else if((o|0)==97){c[Wa>>2]=cb;c[Ta+4>>2]=6;Qe(0,166192,Ta);tc()}else if((o|0)==101){c[Sa>>2]=eb;c[Ra+4>>2]=6;Qe(0,166192,Ra);tc()}else if((o|0)==107){c[Ua>>2]=bb;c[Pa+4>>2]=1;Qe(0,166192,Pa);tc()}else if((o|0)==109){c[Ha>>2]=bb;c[Ia+4>>2]=1;Qe(0,166192,Ia);tc()}else if((o|0)==111){c[Ja>>2]=bb;c[Ka+4>>2]=1;c[Ka+8>>2]=2;Qe(0,167792,Ka);tc()}else if((o|0)==121){c[La>>2]=bb;c[Ma+4>>2]=1;Qe(0,166192,Ma);tc()}else if((o|0)==124){c[Ea>>2]=db;c[Ba+4>>2]=6;Qe(0,166192,Ba);tc()}else if((o|0)==128){c[Na>>2]=db;c[Oa+4>>2]=1;c[Oa+8>>2]=2;Qe(0,167792,Oa);tc()}else if((o|0)==139){Vb=c[Za>>2]|0;Wb=Vb+(c[Ya>>2]<<4)|0;c[Xa>>2]=187;Dy(Vb,Wb,Va);break}}}while(0);Of(l);do{if((c[(Yu(_a,165248,l,0)|0)>>2]|0)==6){Ba=c[N>>2]|0;if((Ba|0)!=6){c[za>>2]=Ba;c[ya+4>>2]=6;Qe(0,166192,ya);tc()}ya=c[pa>>2]|0;if((c[ya+12>>2]|0)!=2){break}if(((c[(ut(ya,0,Q)|0)>>2]|0)+ -1|0)>>>0<2){ya=c[K>>2]|0;if((ya+ -1|0)>>>0>=2){c[xa>>2]=ya;c[wa+4>>2]=1;c[wa+8>>2]=2;Qe(0,167792,wa);tc()}if((ya|0)==1){Xb=+(c[oa>>2]|0)}else{Xb=+h[oa>>3]}h[Aa>>3]=Xb*.001}Of(Q);wa=c[N>>2]|0;if((wa|0)!=6){c[ua>>2]=wa;c[ta+4>>2]=6;Qe(0,166192,ta);tc()}if(((c[(ut(c[pa>>2]|0,1,Q)|0)>>2]|0)+ -1|0)>>>0<2){ta=c[K>>2]|0;if((ta+ -1|0)>>>0>=2){c[ra>>2]=ta;c[sa+4>>2]=1;c[sa+8>>2]=2;Qe(0,167792,sa);tc()}if((ta|0)==1){Xb=+(c[oa>>2]|0)}else{Xb=+h[oa>>3]}h[va>>3]=Xb*.001}Of(Q)}}while(0);Of(l);do{if((c[(Yu(_a,165256,l,0)|0)>>2]|0)==6){ra=c[N>>2]|0;if((ra|0)!=6){Vb=ra;Wb=p;c[Wb>>2]=Vb;Wb=q+4|0;c[Wb>>2]=6;Wb=166192;Qe(0,Wb,q);tc()}ta=1;sa=0;ra=0;f:while(1){ua=c[pa>>2]|0;if((ta|0)>=(c[ua+12>>2]|0)){o=241;break}ut(ua,ra,Q)|0;ua=c[N>>2]|0;if((ua|0)!=6){o=167;break}ut(c[pa>>2]|0,ta,W)|0;g:do{if((c[K>>2]|0)==1){va=c[J>>2]|0;do{if((va|0)==1){ua=ra+4|0;wa=c[N>>2]|0;if((wa|0)!=6){o=171;break f}wa=c[pa>>2]|0;if((ua|0)>=(c[wa+12>>2]|0)){if((va|0)==6){break}else{o=239;break g}}do{if(((c[(ut(wa,ra+2|0,P)|0)>>2]|0)+ -1|0)>>>0<2){ta=c[N>>2]|0;if((ta|0)!=6){o=175;break f}if(((c[(ut(c[pa>>2]|0,ra+3|0,O)|0)>>2]|0)+ -1|0)>>>0>=2){o=202;break}ta=c[N>>2]|0;if((ta|0)!=6){o=178;break f}if(((c[(ut(c[pa>>2]|0,ua,M)|0)>>2]|0)+ -1|0)>>>0>=2){o=202;break}if((c[f>>2]|0)==(sa|0)){sa=sa+16|0;c[la>>2]=Ce(c[la>>2]|0,sa,32)|0}ta=c[K>>2]|0;if((ta|0)!=1){o=183;break f}c[(c[la>>2]|0)+(c[f>>2]<<5)>>2]=c[oa>>2];ta=c[J>>2]|0;if((ta|0)!=1){o=185;break f}c[(c[la>>2]|0)+(c[f>>2]<<5)+4>>2]=c[na>>2];ta=c[H>>2]|0;if((ta+ -1|0)>>>0>=2){o=187;break f}if((ta|0)==1){Xb=+(c[j>>2]|0)}else{Xb=+h[j>>3]}h[(c[la>>2]|0)+(c[f>>2]<<5)+8>>3]=Xb*.001;ta=c[F>>2]|0;if((ta+ -1|0)>>>0>=2){o=192;break f}if((ta|0)==1){Xb=+(c[qa>>2]|0)}else{Xb=+h[qa>>3]}h[(c[la>>2]|0)+(c[f>>2]<<5)+16>>3]=Xb*.001;ta=c[D>>2]|0;if((ta+ -1|0)>>>0>=2){o=197;break f}if((ta|0)==1){Xb=+(c[ma>>2]|0)}else{Xb=+h[ma>>3]}h[(c[la>>2]|0)+(c[f>>2]<<5)+24>>3]=Xb*.001;c[f>>2]=(c[f>>2]|0)+1}else{o=202}}while(0);if((o|0)==202){o=0;Qe(-1,165264,ea)}Of(M);Of(O);Of(P);ra=ra+5|0;break g}else if((va|0)!=6){o=239;break g}}while(0);ta=((c[(c[na>>2]|0)+12>>2]|0)/3|0)+(c[f>>2]|0)|0;if((ta|0)>(sa|0)){sa=ta+15&-16;c[la>>2]=Ce(c[la>>2]|0,sa,32)|0;ta=c[K>>2]|0;if((ta|0)!=1){o=207;break f}}va=c[J>>2]|0;if((va|0)!=6){o=210;break f}ua=c[oa>>2]|0;ta=0;while(1){va=c[na>>2]|0;if((ta|0)>=(c[va+12>>2]|0)){break}do{if(((c[(ut(va,ta,P)|0)>>2]|0)+ -1|0)>>>0<2){va=c[J>>2]|0;if((va|0)!=6){o=214;break f}if(((c[(ut(c[na>>2]|0,ta+1|0,O)|0)>>2]|0)+ -1|0)>>>0>=2){o=235;break}va=c[J>>2]|0;if((va|0)!=6){o=217;break f}if(((c[(ut(c[na>>2]|0,ta+2|0,M)|0)>>2]|0)+ -1|0)>>>0>=2){o=235;break}c[(c[la>>2]|0)+(c[f>>2]<<5)>>2]=ua;c[(c[la>>2]|0)+(c[f>>2]<<5)+4>>2]=ua;va=c[H>>2]|0;if((va+ -1|0)>>>0>=2){o=220;break f}if((va|0)==1){Xb=+(c[j>>2]|0)}else{Xb=+h[j>>3]}h[(c[la>>2]|0)+(c[f>>2]<<5)+8>>3]=Xb*.001;va=c[F>>2]|0;if((va+ -1|0)>>>0>=2){o=225;break f}if((va|0)==1){Xb=+(c[qa>>2]|0)}else{Xb=+h[qa>>3]}h[(c[la>>2]|0)+(c[f>>2]<<5)+16>>3]=Xb*.001;va=c[D>>2]|0;if((va+ -1|0)>>>0>=2){o=230;break f}if((va|0)==1){Xb=+(c[ma>>2]|0)}else{Xb=+h[ma>>3]}h[(c[la>>2]|0)+(c[f>>2]<<5)+24>>3]=Xb*.001;c[f>>2]=(c[f>>2]|0)+1;ua=ua+1|0}else{o=235}}while(0);if((o|0)==235){o=0;Qe(-1,165264,ia)}Of(M);Of(O);Of(P);va=c[J>>2]|0;if((va|0)!=6){o=210;break f}ta=ta+3|0}ra=ra+2|0}else{o=239}}while(0);if((o|0)==239){o=0;Qe(-1,165264,u);ra=ta}Of(W);Of(Q);ta=c[N>>2]|0;if((ta|0)==6){ta=ra+1|0}else{o=164;break}}if((o|0)==164){Wb=p;c[Wb>>2]=ta;Wb=q+4|0;c[Wb>>2]=6;Wb=166192;Qe(0,Wb,q);tc()}else if((o|0)==167){c[v>>2]=ua;c[w+4>>2]=6;Qe(0,166192,w);tc()}else if((o|0)==171){c[x>>2]=wa;c[y+4>>2]=6;Qe(0,166192,y);tc()}else if((o|0)==175){c[S>>2]=ta;c[T+4>>2]=6;Qe(0,166192,T);tc()}else if((o|0)==178){c[ka>>2]=ta;c[V+4>>2]=6;Qe(0,166192,V);tc()}else if((o|0)==183){c[t>>2]=ta;c[X+4>>2]=1;Qe(0,166192,X);tc()}else if((o|0)==185){c[Y>>2]=ta;c[Z+4>>2]=1;Qe(0,166192,Z);tc()}else if((o|0)==187){c[_>>2]=ta;c[$+4>>2]=1;c[$+8>>2]=2;Qe(0,167792,$);tc()}else if((o|0)==192){c[aa>>2]=ta;c[ba+4>>2]=1;c[ba+8>>2]=2;Qe(0,167792,ba);tc()}else if((o|0)==197){c[ca>>2]=ta;c[da+4>>2]=1;c[da+8>>2]=2;Qe(0,167792,da>3]}h[E>>3]=ba}Of(m);D=c[l>>2]|0;if((D|0)!=6){c[C>>2]=D;c[A+4>>2]=6;Qe(0,172720,A);tc()}ut(c[o>>2]|0,2,m)|0;A=c[p>>2]|0;if((A+ -1|0)>>>0<2){if((A|0)==1){ba=+(c[n>>2]|0)}else{ba=+h[n>>3]}h[B>>3]=ba}Of(m)}}while(0);Of(k);z=c[z>>2]|0;if((z|0)!=7){c[x>>2]=z;c[y+4>>2]=7;Qe(0,172720,y);tc()}do{if((c[(Yu(c[w>>2]|0,168496,k,0)|0)>>2]|0)==6){w=c[l>>2]|0;if((w|0)!=6){c[u>>2]=w;c[v+4>>2]=6;Qe(0,172720,v);tc()}if((c[(c[o>>2]|0)+12>>2]|0)!=9){f=P;b=Q;break}u=6;v=0;while(1){if((u|0)!=6){l=87;break}ut(c[o>>2]|0,v,m)|0;u=c[p>>2]|0;if((u+ -1|0)>>>0<2){if((u|0)==1){P=+(c[n>>2]|0)}else{P=+h[n>>3]}h[t+(v<<3)>>3]=P}Of(m);v=v+1|0;if((v|0)>=9){l=95;break}u=c[l>>2]|0}if((l|0)==87){c[d>>2]=u;c[e+4>>2]=6;Qe(0,172720,e);tc()}else if((l|0)==95){f=+h[q>>3];b=+h[r>>3];break}}else{f=P;b=Q}}while(0);Of(k);Of(j);ba=+h[s>>3];h[a+152>>3]=1.0/(ba*3.240449+b*-1.537136+f*-.498531);h[a+160>>3]=1.0/(ba*-.969265+b*1.876011+f*.041556);h[a+168>>3]=1.0/(ba*.055643+b*-.204026+f*1.057229);aa=a;i=g;return aa|0}function My(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0.0,_=0.0,$=0.0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0.0;b=i;k=i;i=i+16|0;j=k;m=i;i=i+8|0;p=m;s=i;i=i+16|0;r=s;u=i;i=i+8|0;t=u;x=i;i=i+16|0;w=x;y=i;i=i+8|0;A=y;B=i;i=i+16|0;C=B;F=i;i=i+8|0;E=F;H=i;i=i+8|0;I=H;L=i;i=i+16|0;K=L;N=i;i=i+8|0;M=N;O=i;i=i+16|0;P=O;R=i;i=i+8|0;Q=R;S=i;i=i+16|0;T=S;W=i;i=i+8|0;V=W;X=i;i=i+8|0;Y=X;ba=i;i=i+16|0;aa=ba;ca=i;i=i+8|0;ea=ca;fa=i;i=i+16|0;ga=fa;ha=i;i=i+8|0;ja=ha;la=i;i=i+16|0;ka=la;oa=i;i=i+8|0;na=oa;n=i;i=i+8|0;J=i;i=i+16|0;d=J;q=i;i=i+16|0;f=q;l=i;i=i+16|0;e=l;c[J>>2]=13;G=d+8|0;c[G>>2]=0;c[G+4>>2]=0;c[q>>2]=13;o=f+8|0;c[o>>2]=0;c[o+4>>2]=0;c[l>>2]=13;g=e+8|0;c[g>>2]=0;c[g+4>>2]=0;ut(a,1,d)|0;if((c[J>>2]|0)!=7){Qe(-1,168648,n);Of(d);pa=0;i=b;return pa|0}a=FW(112)|0;c[a>>2]=168584;da=a+24|0;h[da>>3]=1.0;ia=a+16|0;h[ia>>3]=1.0;ma=a+8|0;h[ma>>3]=1.0;U=a+32|0;v=a+72|0;bX(U|0,0,24)|0;h[v>>3]=-100.0;D=a+56|0;h[D>>3]=-100.0;n=a+80|0;h[n>>3]=100.0;z=a+64|0;h[z>>3]=100.0;do{if((c[(Yu(c[G>>2]|0,168288,f,0)|0)>>2]|0)==6){pa=c[q>>2]|0;if((pa|0)!=6){c[oa>>2]=pa;c[na+4>>2]=6;Qe(0,172720,na);tc()}na=c[o>>2]|0;if((c[na+12>>2]|0)!=3){Z=1.0;_=1.0;$=1.0;break}ut(na,0,e)|0;na=c[l>>2]|0;if((na+ -1|0)>>>0>=2){c[la>>2]=na;c[ka+4>>2]=1;c[ka+8>>2]=2;Qe(0,172792,ka);tc()}if((na|0)==1){$=+(c[g>>2]|0)}else{$=+h[g>>3]}h[ma>>3]=$;Of(e);ka=c[q>>2]|0;if((ka|0)!=6){c[ha>>2]=ka;c[ja+4>>2]=6;Qe(0,172720,ja);tc()}ut(c[o>>2]|0,1,e)|0;ha=c[l>>2]|0;if((ha+ -1|0)>>>0>=2){c[fa>>2]=ha;c[ga+4>>2]=1;c[ga+8>>2]=2;Qe(0,172792,ga);tc()}if((ha|0)==1){_=+(c[g>>2]|0)}else{_=+h[g>>3]}h[ia>>3]=_;Of(e);fa=c[q>>2]|0;if((fa|0)!=6){c[ca>>2]=fa;c[ea+4>>2]=6;Qe(0,172720,ea);tc()}ut(c[o>>2]|0,2,e)|0;ca=c[l>>2]|0;if((ca+ -1|0)>>>0>=2){c[ba>>2]=ca;c[aa+4>>2]=1;c[aa+8>>2]=2;Qe(0,172792,aa);tc()}if((ca|0)==1){Z=+(c[g>>2]|0)}else{Z=+h[g>>3]}h[da>>3]=Z;Of(e)}else{Z=1.0;_=1.0;$=1.0}}while(0);Of(f);aa=c[J>>2]|0;if((aa|0)!=7){c[X>>2]=aa;c[Y+4>>2]=7;Qe(0,172720,Y);tc()}do{if((c[(Yu(c[G>>2]|0,168304,f,0)|0)>>2]|0)==6){X=c[q>>2]|0;if((X|0)!=6){c[W>>2]=X;c[V+4>>2]=6;Qe(0,172720,V);tc()}V=c[o>>2]|0;if((c[V+12>>2]|0)!=3){break}ut(V,0,e)|0;V=c[l>>2]|0;if((V+ -1|0)>>>0>=2){c[S>>2]=V;c[T+4>>2]=1;c[T+8>>2]=2;Qe(0,172792,T);tc()}if((V|0)==1){qa=+(c[g>>2]|0)}else{qa=+h[g>>3]}h[U>>3]=qa;Of(e);S=c[q>>2]|0;if((S|0)!=6){c[R>>2]=S;c[Q+4>>2]=6;Qe(0,172720,Q);tc()}ut(c[o>>2]|0,1,e)|0;Q=c[l>>2]|0;if((Q+ -1|0)>>>0>=2){c[O>>2]=Q;c[P+4>>2]=1;c[P+8>>2]=2;Qe(0,172792,P);tc()}if((Q|0)==1){qa=+(c[g>>2]|0)}else{qa=+h[g>>3]}h[a+40>>3]=qa;Of(e);O=c[q>>2]|0;if((O|0)!=6){c[N>>2]=O;c[M+4>>2]=6;Qe(0,172720,M);tc()}ut(c[o>>2]|0,2,e)|0;M=c[l>>2]|0;if((M+ -1|0)>>>0>=2){c[L>>2]=M;c[K+4>>2]=1;c[K+8>>2]=2;Qe(0,172792,K);tc()}if((M|0)==1){qa=+(c[g>>2]|0)}else{qa=+h[g>>3]}h[a+48>>3]=qa;Of(e)}}while(0);Of(f);J=c[J>>2]|0;if((J|0)!=7){c[H>>2]=J;c[I+4>>2]=7;Qe(0,172720,I);tc()}do{if((c[(Yu(c[G>>2]|0,168672,f,0)|0)>>2]|0)==6){G=c[q>>2]|0;if((G|0)!=6){c[F>>2]=G;c[E+4>>2]=6;Qe(0,172720,E);tc()}E=c[o>>2]|0;if((c[E+12>>2]|0)!=4){break}ut(E,0,e)|0;E=c[l>>2]|0;if((E+ -1|0)>>>0>=2){c[B>>2]=E;c[C+4>>2]=1;c[C+8>>2]=2;Qe(0,172792,C);tc()}if((E|0)==1){qa=+(c[g>>2]|0)}else{qa=+h[g>>3]}h[D>>3]=qa;Of(e);B=c[q>>2]|0;if((B|0)!=6){c[y>>2]=B;c[A+4>>2]=6;Qe(0,172720,A);tc()}ut(c[o>>2]|0,1,e)|0;y=c[l>>2]|0;if((y+ -1|0)>>>0>=2){c[x>>2]=y;c[w+4>>2]=1;c[w+8>>2]=2;Qe(0,172792,w);tc()}if((y|0)==1){qa=+(c[g>>2]|0)}else{qa=+h[g>>3]}h[z>>3]=qa;Of(e);w=c[q>>2]|0;if((w|0)!=6){c[u>>2]=w;c[t+4>>2]=6;Qe(0,172720,t);tc()}ut(c[o>>2]|0,2,e)|0;t=c[l>>2]|0;if((t+ -1|0)>>>0>=2){c[s>>2]=t;c[r+4>>2]=1;c[r+8>>2]=2;Qe(0,172792,r);tc()}if((t|0)==1){qa=+(c[g>>2]|0)}else{qa=+h[g>>3]}h[v>>3]=qa;Of(e);q=c[q>>2]|0;if((q|0)!=6){c[m>>2]=q;c[p+4>>2]=6;Qe(0,172720,p);tc()}ut(c[o>>2]|0,3,e)|0;l=c[l>>2]|0;if((l+ -1|0)>>>0>=2){c[k>>2]=l;c[j+4>>2]=1;c[j+8>>2]=2;Qe(0,172792,j);tc()}if((l|0)==1){qa=+(c[g>>2]|0)}else{qa=+h[g>>3]}h[n>>3]=qa;Of(e)}}while(0);Of(f);Of(d);h[a+88>>3]=1.0/($*3.240449+_*-1.537136+Z*-.498531);h[a+96>>3]=1.0/($*-.969265+_*1.876011+Z*.041556);h[a+104>>3]=1.0/($*.055643+_*-.204026+Z*1.057229);pa=a;i=b;return pa|0}function Ny(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0.0;n=i;s=i;i=i+8|0;r=s;g=i;i=i+8|0;j=g;u=i;i=i+8|0;t=u;B=i;i=i+8|0;E=i;i=i+8|0;D=E;F=i;i=i+8|0;w=F;G=i;i=i+8|0;H=i;i=i+8|0;I=i;i=i+16|0;p=I;q=i;i=i+16|0;f=q;e=i;i=i+16|0;k=e;d=i;i=i+16|0;l=d;c[I>>2]=13;C=p+8|0;c[C>>2]=0;c[C+4>>2]=0;c[q>>2]=13;o=f+8|0;c[o>>2]=0;c[o+4>>2]=0;c[e>>2]=13;m=k+8|0;c[m>>2]=0;c[m+4>>2]=0;vt(a,1,p)|0;if((c[I>>2]|0)==9){y=C;A=c[y>>2]|0;y=c[y+4>>2]|0;z=A&0;x=y|0;A=A|0;y=y&0}else{z=0;x=0;A=0;y=0}Of(p);ut(a,1,p)|0;if((c[I>>2]|0)!=8){Qe(-1,168752,H);Of(p);I=0;i=n;return I|0}C=c[C>>2]|0;C=jd[c[(c[C>>2]|0)+72>>2]&511](C)|0;if((c[(Yu(C,168792,f,0)|0)>>2]|0)!=1){Qe(-1,168800,G);Of(f);Of(p);I=0;i=n;return I|0}G=c[q>>2]|0;if((G|0)!=1){c[F>>2]=G;c[w+4>>2]=1;Qe(0,172720,w);tc()}w=c[o>>2]|0;Of(f);if((w|0)>32){c[E>>2]=w;c[D+4>>2]=32;Qe(-1,168832,D);w=32}if((c[(Yu(C,168888,f,0)|0)>>2]|0)==5){v=13}else{b=Jy(f,b)|0;if((b|0)==0){v=13}}do{if((v|0)==13){if((w|0)==1){b=FW(4)|0;c[b>>2]=168128;break}else if((w|0)==4){b=FW(4)|0;c[b>>2]=168512;break}else if((w|0)==3){b=FW(4)|0;c[b>>2]=168336;break}else{Qe(-1,168904,B);Of(f);Of(p);I=0;i=n;return I|0}}}while(0);Of(f);B=FW(88)|0;c[B>>2]=168688;c[B+4>>2]=w;c[B+8>>2]=b;v=B+80|0;c[v>>2]=A|z;c[v+4>>2]=y|x;x=B+16|0;bX(x|0,0,32)|0;h[B+72>>3]=1.0;h[B+64>>3]=1.0;h[B+56>>3]=1.0;v=B+48|0;h[v>>3]=1.0;a:do{if((c[(Yu(C,168672,f,0)|0)>>2]|0)==6){y=c[q>>2]|0;if((y|0)!=6){c[u>>2]=y;c[t+4>>2]=6;Qe(0,172720,t);tc()}if((c[(c[o>>2]|0)+12>>2]|0)!=(w<<1|0)){break}c[d>>2]=13;t=l+8|0;c[t>>2]=0;c[t+4>>2]=0;if((w|0)<=0){break}y=6;u=0;while(1){z=u<<1;if((y|0)!=6){v=25;break}ut(c[o>>2]|0,z,k)|0;y=c[q>>2]|0;if((y|0)!=6){v=27;break}ut(c[o>>2]|0,z|1,l)|0;z=c[e>>2]|0;do{if((z+ -1|0)>>>0<2){y=c[d>>2]|0;if((y+ -1|0)>>>0>=2){break}if((z|0)==1){J=+(c[m>>2]|0)}else{J=+h[m>>3]}h[x+(u<<3)>>3]=J;if((y|0)==1){J=+(c[t>>2]|0)}else{J=+h[t>>3]}h[v+(u<<3)>>3]=J}}while(0);Of(k);Of(l);u=u+1|0;if((u|0)>=(w|0)){break a}y=c[q>>2]|0}if((v|0)==25){c[g>>2]=y;c[j+4>>2]=6;Qe(0,172720,j);tc()}else if((v|0)==27){c[s>>2]=y;c[r+4>>2]=6;Qe(0,172720,r);tc()}}}while(0);Of(f);Of(p);I=B;i=n;return I|0}function Oy(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;f=i;v=i;i=i+8|0;u=i;i=i+8|0;g=i;i=i+8|0;j=g;t=i;i=i+8|0;m=i;i=i+8|0;n=m;o=i;i=i+8|0;q=i;i=i+8|0;s=q;x=i;i=i+8|0;r=x;y=i;i=i+8|0;z=i;i=i+8|0;w=i;i=i+8|0;l=i;i=i+16|0;e=l;c[l>>2]=13;k=e+8|0;c[k>>2]=0;c[k+4>>2]=0;if((c[b+12>>2]|0)!=4){Qe(-1,169016,w);d=0;i=f;return d|0}ut(b,1,e)|0;w=Jy(e,d)|0;do{if((w|0)==0){Qe(-1,169040,z)}else{Of(e);if((c[(ut(b,2,e)|0)>>2]|0)!=1){Qe(-1,169088,y);fd[c[(c[w>>2]|0)+4>>2]&511](w);break}y=c[l>>2]|0;if((y|0)!=1){c[x>>2]=y;c[r+4>>2]=1;Qe(0,172720,r);tc()}r=c[k>>2]|0;if(r>>>0>255){d=(r>>31&-255)+255|0;c[q>>2]=r;c[s+4>>2]=d;Qe(-1,169120,s);r=d}Of(e);q=FW(16)|0;c[q>>2]=168952;c[q+4>>2]=w;c[q+8>>2]=r;x=r+1|0;s=q+12|0;c[s>>2]=ye(da(jd[c[(c[w>>2]|0)+44>>2]&511](w)|0,x)|0,1)|0;ut(b,3,e)|0;b=jd[c[(c[w>>2]|0)+44>>2]&511](w)|0;w=c[l>>2]|0;do{if((w|0)==3){h=c[k>>2]|0;if((c[h+24>>2]|0)<(da(b,x)|0)){Qe(-1,169288,u);h=41;break}if((r|0)>-1&(b|0)>0){g=0;j=c[h+28>>2]|0}else{h=40;break}while(1){k=dada(u,b)|0;w=(c[s>>2]|0)+v|0;x=c[l>>2]|0;if((x|0)!=8){break}x=c[k>>2]|0;do{if(jd[c[(c[x>>2]|0)+88>>2]&511](x)|0){w=sd[c[(c[x>>2]|0)+92>>2]&127](x,b,w)|0;if((w|0)>=(b|0)){break}do{Qe(-1,169208,t);a[(c[s>>2]|0)+(w+v)|0]=0;w=w+1|0;}while((w|0)<(b|0))}}while(0);if((u|0)<(r|0)){u=u+1|0}else{break a}}d=m;c[d>>2]=x;d=n+4|0;c[d>>2]=8;d=172720;Qe(0,d,n);tc()}while(1){t=dada(jd[c[(c[f>>2]|0)+44>>2]&511](f)|0,g+1|0)|0,1)|0;c[b+12>>2]=g;f=c[a+12>>2]|0;a=(c[h>>2]|0)+1|0;e=c[e>>2]|0;$W(g|0,f|0,da(jd[c[(c[e>>2]|0)+44>>2]&511](e)|0,a)|0)|0;i=d;return b|0}function Wz(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0;j=i;k=i;i=i+256|0;m=i;i=i+256|0;g=i;i=i+128|0;o=a+4|0;f=c[o>>2]|0;n=c[f>>2]|0;l=c[n+16>>2]|0;n=jd[c[n+44>>2]&511](f)|0;o=c[o>>2]|0;Jd[c[(c[o>>2]|0)+52>>2]&63](o,k,m,c[a+8>>2]|0);b=da(~~(+(c[b>>2]|0)*152587890625.0e-16+.5),n)|0;o=c[a+12>>2]|0;if((n|0)>0){a=0}else{o=l;Gd[o&255](f,g,e);i=j;return}do{c[g+(a<<2)>>2]=~~((+h[k+(a<<3)>>3]+ +(d[o+(a+b)|0]|0|0)/255.0*+h[m+(a<<3)>>3])*65536.0);a=a+1|0;}while((a|0)<(n|0));o=l;Gd[o&255](f,g,e);i=j;return}function Xz(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0;j=i;k=i;i=i+256|0;m=i;i=i+256|0;g=i;i=i+128|0;o=a+4|0;f=c[o>>2]|0;n=c[f>>2]|0;l=c[n+20>>2]|0;n=jd[c[n+44>>2]&511](f)|0;o=c[o>>2]|0;Jd[c[(c[o>>2]|0)+52>>2]&63](o,k,m,c[a+8>>2]|0);b=da(~~(+(c[b>>2]|0)*152587890625.0e-16+.5),n)|0;o=c[a+12>>2]|0;if((n|0)>0){a=0}else{o=l;Gd[o&255](f,g,e);i=j;return}do{c[g+(a<<2)>>2]=~~((+h[k+(a<<3)>>3]+ +(d[o+(a+b)|0]|0|0)/255.0*+h[m+(a<<3)>>3])*65536.0);a=a+1|0;}while((a|0)<(n|0));o=l;Gd[o&255](f,g,e);i=j;return}function Yz(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=i;l=b+4|0;k=c[l>>2]|0;k=jd[c[(c[k>>2]|0)+44>>2]&511](k)|0;h=ye(g,k)|0;do{if((g|0)>0){b=b+12|0;if((k|0)>0){m=0}else{break}do{n=e+m|0;o=da(m,k)|0;p=0;do{q=(da(d[n]|0,k)|0)+p|0;a[h+(p+o)|0]=a[(c[b>>2]|0)+q|0]|0;p=p+1|0;}while((p|0)<(k|0));m=m+1|0;}while((m|0)<(g|0))}}while(0);q=c[l>>2]|0;Jd[c[(c[q>>2]|0)+32>>2]&63](q,h,f,g);Fe(h);i=j;return}function Zz(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0;j=i;k=i;i=i+256|0;m=i;i=i+256|0;g=i;i=i+128|0;o=a+4|0;f=c[o>>2]|0;n=c[f>>2]|0;l=c[n+24>>2]|0;n=jd[c[n+44>>2]&511](f)|0;o=c[o>>2]|0;Jd[c[(c[o>>2]|0)+52>>2]&63](o,k,m,c[a+8>>2]|0);b=da(~~(+(c[b>>2]|0)*152587890625.0e-16+.5),n)|0;o=c[a+12>>2]|0;if((n|0)>0){a=0}else{o=l;Gd[o&255](f,g,e);i=j;return}do{c[g+(a<<2)>>2]=~~((+h[k+(a<<3)>>3]+ +(d[o+(a+b)|0]|0|0)/255.0*+h[m+(a<<3)>>3])*65536.0);a=a+1|0;}while((a|0)<(n|0));o=l;Gd[o&255](f,g,e);i=j;return}function _z(a,b){a=a|0;b=b|0;c[b>>2]=0;i=i;return}function $z(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;h[b>>3]=0.0;h[c>>3]=+(d|0);i=i;return}function aA(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=169392;d=c[a+4>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+8>>2]|0;if((d|0)!=0){fd[c[(c[d>>2]|0)+4>>2]&511](d)}d=c[a+12>>2]|0;if((d|0)==0){HW(a);i=b;return}fd[c[(c[d>>2]|0)+4>>2]&511](d);HW(a);i=b;return}function bA(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=169392;d=c[a+4>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+8>>2]|0;if((d|0)!=0){fd[c[(c[d>>2]|0)+4>>2]&511](d)}a=c[a+12>>2]|0;if((a|0)==0){i=b;return}fd[c[(c[a>>2]|0)+4>>2]&511](a);i=b;return}function cA(b){b=b|0;var d=0,e=0,f=0,g=0;e=i;d=FW(20)|0;g=c[b+4>>2]|0;f=FW(32)|0;ie(f,g);g=c[b+8>>2]|0;g=jd[c[(c[g>>2]|0)+8>>2]&511](g)|0;b=c[b+12>>2]|0;b=jd[c[(c[b>>2]|0)+8>>2]&511](b)|0;c[d>>2]=169392;c[d+4>>2]=f;c[d+8>>2]=g;c[d+12>>2]=b;a[d+16|0]=(te(f,169456)|0)==0|0;i=e;return d|0}function dADA(a){a=a|0;var b=0;b=i;c[a>>2]=170352;a=c[a+8>>2]|0;if((a|0)==0){i=b;return}fd[c[(c[a>>2]|0)+4>>2]&511](a);i=b;return}function EA(a){a=a|0;var b=0,d=0,e=0;d=i;b=FW(64)|0;e=c[a+8>>2]|0;e=jd[c[(c[e>>2]|0)+8>>2]&511](e)|0;c[b+4>>2]=2;c[b>>2]=170352;c[b+8>>2]=e;h[b+16>>3]=+h[a+16>>3];h[b+24>>3]=+h[a+24>>3];h[b+32>>3]=+h[a+32>>3];h[b+40>>3]=+h[a+40>>3];h[b+48>>3]=+h[a+48>>3];h[b+56>>3]=+h[a+56>>3];i=d;return b|0}function FA(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=170376;d=c[a+8>>2]|0;if((d|0)==0){HW(a);i=b;return}fd[c[(c[d>>2]|0)+4>>2]&511](d);HW(a);i=b;return}function GA(a){a=a|0;var b=0;b=i;c[a>>2]=170376;a=c[a+8>>2]|0;if((a|0)==0){i=b;return}fd[c[(c[a>>2]|0)+4>>2]&511](a);i=b;return}function HA(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0.0,K=0,L=0,M=0.0,N=0.0,O=0.0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0.0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0.0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0.0,la=0.0,ma=0.0,na=0.0;e=i;o=i;i=i+8|0;k=o;p=i;i=i+8|0;s=i;i=i+16|0;r=s;t=i;i=i+8|0;u=t;v=i;i=i+16|0;w=v;x=i;i=i+8|0;y=x;A=i;i=i+16|0;z=A;B=i;i=i+8|0;C=B;D=i;i=i+16|0;E=D;G=i;i=i+8|0;F=G;I=i;i=i+16|0;H=I;K=i;i=i+8|0;L=K;Q=i;i=i+16|0;P=Q;R=i;i=i+8|0;S=R;T=i;i=i+16|0;U=T;W=i;i=i+8|0;V=W;Z=i;i=i+16|0;Y=Z;_=i;i=i+8|0;$=_;ba=i;i=i+16|0;aa=ba;da=i;i=i+8|0;ca=da;ga=i;i=i+16|0;fa=ga;ja=i;i=i+8|0;ha=ja;q=i;i=i+128|0;d=q;j=i;i=i+16|0;n=j;ia=i;i=i+16|0;m=ia;c[j>>2]=13;l=n+8|0;c[l>>2]=0;c[l+4>>2]=0;c[ia>>2]=13;ia=m+8|0;c[ia>>2]=0;c[ia+4>>2]=0;do{if((c[(Yu(a,170840,n,0)|0)>>2]|0)==6){ia=c[j>>2]|0;if((ia|0)!=6){c[ja>>2]=ia;c[ha+4>>2]=6;Qe(0,172720,ha);tc()}ha=c[l>>2]|0;if((c[ha+12>>2]|0)!=4){J=0.0;M=1.0;N=0.0;O=1.0;break}ia=ut(ha,0,m)|0;ha=c[ia>>2]|0;if((ha+ -1|0)>>>0>=2){c[ga>>2]=ha;c[fa+4>>2]=1;c[fa+8>>2]=2;Qe(0,172792,fa);tc()}fa=ia+8|0;if((ha|0)==1){J=+(c[fa>>2]|0)}else{J=+h[fa>>3]}Of(m);fa=c[j>>2]|0;if((fa|0)!=6){c[da>>2]=fa;c[ca+4>>2]=6;Qe(0,172720,ca);tc()}da=ut(c[l>>2]|0,1,m)|0;ca=c[da>>2]|0;if((ca+ -1|0)>>>0>=2){c[ba>>2]=ca;c[aa+4>>2]=1;c[aa+8>>2]=2;Qe(0,172792,aa);tc()}aa=da+8|0;if((ca|0)==1){M=+(c[aa>>2]|0)}else{M=+h[aa>>3]}Of(m);aa=c[j>>2]|0;if((aa|0)!=6){c[_>>2]=aa;c[$+4>>2]=6;Qe(0,172720,$);tc()}$=ut(c[l>>2]|0,2,m)|0;_=c[$>>2]|0;if((_+ -1|0)>>>0>=2){c[Z>>2]=_;c[Y+4>>2]=1;c[Y+8>>2]=2;Qe(0,172792,Y);tc()}Y=$+8|0;if((_|0)==1){N=+(c[Y>>2]|0)}else{N=+h[Y>>3]}Of(m);Y=c[j>>2]|0;if((Y|0)!=6){c[W>>2]=Y;c[V+4>>2]=6;Qe(0,172720,V);tc()}W=ut(c[l>>2]|0,3,m)|0;V=c[W>>2]|0;if((V+ -1|0)>>>0>=2){c[T>>2]=V;c[U+4>>2]=1;c[U+8>>2]=2;Qe(0,172792,U);tc()}T=W+8|0;if((V|0)==1){O=+(c[T>>2]|0)}else{O=+h[T>>3]}Of(m)}else{J=0.0;M=1.0;N=0.0;O=1.0}}while(0);Of(n);do{if((c[(Yu(a,168496,n,0)|0)>>2]|0)==6){T=c[j>>2]|0;if((T|0)!=6){c[R>>2]=T;c[S+4>>2]=6;Qe(0,172720,S);tc()}R=c[l>>2]|0;if((c[R+12>>2]|0)!=6){ma=0.0;na=0.0;la=1.0;ka=0.0;ea=0.0;X=1.0;break}S=ut(R,0,m)|0;R=c[S>>2]|0;if((R+ -1|0)>>>0>=2){c[Q>>2]=R;c[P+4>>2]=1;c[P+8>>2]=2;Qe(0,172792,P);tc()}P=S+8|0;if((R|0)==1){X=+(c[P>>2]|0)}else{X=+h[P>>3]}Of(m);P=c[j>>2]|0;if((P|0)!=6){c[K>>2]=P;c[L+4>>2]=6;Qe(0,172720,L);tc()}L=ut(c[l>>2]|0,1,m)|0;K=c[L>>2]|0;if((K+ -1|0)>>>0>=2){c[I>>2]=K;c[H+4>>2]=1;c[H+8>>2]=2;Qe(0,172792,H);tc()}H=L+8|0;if((K|0)==1){ea=+(c[H>>2]|0)}else{ea=+h[H>>3]}Of(m);H=c[j>>2]|0;if((H|0)!=6){c[G>>2]=H;c[F+4>>2]=6;Qe(0,172720,F);tc()}G=ut(c[l>>2]|0,2,m)|0;F=c[G>>2]|0;if((F+ -1|0)>>>0>=2){c[D>>2]=F;c[E+4>>2]=1;c[E+8>>2]=2;Qe(0,172792,E);tc()}D=G+8|0;if((F|0)==1){ka=+(c[D>>2]|0)}else{ka=+h[D>>3]}Of(m);D=c[j>>2]|0;if((D|0)!=6){c[B>>2]=D;c[C+4>>2]=6;Qe(0,172720,C);tc()}C=ut(c[l>>2]|0,3,m)|0;B=c[C>>2]|0;if((B+ -1|0)>>>0>=2){c[A>>2]=B;c[z+4>>2]=1;c[z+8>>2]=2;Qe(0,172792,z);tc()}z=C+8|0;if((B|0)==1){la=+(c[z>>2]|0)}else{la=+h[z>>3]}Of(m);z=c[j>>2]|0;if((z|0)!=6){c[x>>2]=z;c[y+4>>2]=6;Qe(0,172720,y);tc()}y=ut(c[l>>2]|0,4,m)|0;x=c[y>>2]|0;if((x+ -1|0)>>>0>=2){c[v>>2]=x;c[w+4>>2]=1;c[w+8>>2]=2;Qe(0,172792,w);tc()}v=y+8|0;if((x|0)==1){na=+(c[v>>2]|0)}else{na=+h[v>>3]}Of(m);v=c[j>>2]|0;if((v|0)!=6){c[t>>2]=v;c[u+4>>2]=6;Qe(0,172720,u);tc()}u=ut(c[l>>2]|0,5,m)|0;t=c[u>>2]|0;if((t+ -1|0)>>>0>=2){c[s>>2]=t;c[r+4>>2]=1;c[r+8>>2]=2;Qe(0,172792,r);tc()}r=u+8|0;if((t|0)==1){ma=+(c[r>>2]|0)}else{ma=+h[r>>3]}Of(m)}else{ma=0.0;na=0.0;la=1.0;ka=0.0;ea=0.0;X=1.0}}while(0);Of(n);Yu(a,170848,n,0)|0;a:do{if((c[j>>2]|0)==6){q=c[(c[l>>2]|0)+12>>2]|0;if((q|0)>32){Qe(-1,170864,p);g=92;break}if((q|0)>0){p=6;r=0}else{f=q;break}while(1){if((p|0)!=6){break}ut(c[l>>2]|0,r,m)|0;ja=EH(m)|0;c[d+(r<<2)>>2]=ja;Of(m);r=r+1|0;if((ja|0)==0){g=92;break a}if((r|0)>=(q|0)){f=q;break a}p=c[j>>2]|0}c[o>>2]=p;c[k+4>>2]=6;Qe(0,172720,k);tc()}else{ja=EH(n)|0;c[q>>2]=ja;if((ja|0)==0){g=92}else{f=1}}}while(0);if((g|0)==92){Of(n);ja=0;i=e;return ja|0}Of(n);g=FW(400)|0;c[g+4>>2]=1;c[g+8>>2]=0;c[g>>2]=170824;h[g+184>>3]=J;h[g+192>>3]=N;h[g+200>>3]=M;h[g+208>>3]=O;h[g+216>>3]=X;h[g+224>>3]=ea;h[g+232>>3]=ka;h[g+240>>3]=la;h[g+248>>3]=na;h[g+256>>3]=ma;j=g+392|0;c[j>>2]=f;if((f|0)>0){f=0;do{c[g+264+(f<<2)>>2]=c[d+(f<<2)>>2];f=f+1|0;}while((f|0)<(c[j>>2]|0))}if(MA(g,a,b)|0){ja=g;i=e;return ja|0}if((g|0)==0){ja=0;i=e;return ja|0}fd[c[(c[g>>2]|0)+4>>2]&511](g);ja=0;i=e;return ja|0}function IA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0.0,K=0,L=0,M=0.0,N=0,O=0.0,P=0.0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0.0,ca=0.0;g=i;n=i;i=i+8|0;m=n;o=i;i=i+8|0;p=o;t=i;i=i+8|0;s=t;u=i;i=i+8|0;v=u;y=i;i=i+8|0;w=y;z=i;i=i+8|0;E=i;i=i+8|0;F=E;H=i;i=i+8|0;I=H;Q=i;i=i+8|0;W=i;i=i+8|0;X=W;Z=i;i=i+8|0;Y=Z;_=i;i=i+8|0;$=_;V=i;i=i+8|0;aa=V;A=i;i=i+128|0;e=A;r=i;i=i+16|0;k=r;G=i;i=i+16|0;l=G;U=i;i=i+16|0;K=U;S=i;i=i+16|0;L=S;R=i;i=i+16|0;N=R;D=i;i=i+16|0;B=D;c[r>>2]=13;q=k+8|0;c[q>>2]=0;c[q+4>>2]=0;c[G>>2]=13;C=l+8|0;c[C>>2]=0;c[C+4>>2]=0;do{if((c[(Yu(b,170936,k,0)|0)>>2]|0)==6){T=c[r>>2]|0;if((T|0)!=6){c[V>>2]=T;c[aa+4>>2]=6;Qe(0,172720,aa);tc()}aa=c[q>>2]|0;if((c[aa+12>>2]|0)!=4){break}c[U>>2]=13;V=K+8|0;c[V>>2]=0;c[V+4>>2]=0;c[S>>2]=13;T=L+8|0;c[T>>2]=0;c[T+4>>2]=0;c[R>>2]=13;Q=N+8|0;c[Q>>2]=0;c[Q+4>>2]=0;ut(aa,0,l)|0;aa=c[r>>2]|0;if((aa|0)!=6){c[_>>2]=aa;c[$+4>>2]=6;Qe(0,172720,$);tc()}ut(c[q>>2]|0,1,K)|0;_=c[r>>2]|0;if((_|0)!=6){c[Z>>2]=_;c[Y+4>>2]=6;Qe(0,172720,Y);tc()}ut(c[q>>2]|0,2,L)|0;Y=c[r>>2]|0;if((Y|0)!=6){c[W>>2]=Y;c[X+4>>2]=6;Qe(0,172720,X);tc()}ut(c[q>>2]|0,3,N)|0;W=c[G>>2]|0;do{if((W+ -1|0)>>>0<2){U=c[U>>2]|0;if((U+ -1|0)>>>0>=2){J=0.0;M=0.0;O=0.0;P=0.0;break}S=c[S>>2]|0;if((S+ -1|0)>>>0>=2){J=0.0;M=0.0;O=0.0;P=0.0;break}R=c[R>>2]|0;if((R+ -1|0)>>>0>=2){J=0.0;M=0.0;O=0.0;P=0.0;break}if((W|0)==1){J=+(c[C>>2]|0)}else{J=+h[C>>3]}if((U|0)==1){O=+(c[V>>2]|0)}else{O=+h[V>>3]}if((S|0)==1){M=+(c[T>>2]|0)}else{M=+h[T>>3]}if((R|0)==1){P=+(c[Q>>2]|0);break}else{P=+h[Q>>3];break}}else{J=0.0;M=0.0;O=0.0;P=0.0}}while(0);Of(l);Of(K);Of(L);Of(N);Of(k);do{if((c[(Yu(b,170840,k,0)|0)>>2]|0)==6){K=c[r>>2]|0;if((K|0)!=6){c[H>>2]=K;c[I+4>>2]=6;Qe(0,172720,I);tc()}I=c[q>>2]|0;if((c[I+12>>2]|0)!=2){ba=0.0;ca=1.0;break}c[D>>2]=13;H=B+8|0;c[H>>2]=0;c[H+4>>2]=0;ut(I,0,l)|0;I=c[r>>2]|0;if((I|0)!=6){c[E>>2]=I;c[F+4>>2]=6;Qe(0,172720,F);tc()}ut(c[q>>2]|0,1,B)|0;E=c[G>>2]|0;do{if((E+ -1|0)>>>0<2){D=c[D>>2]|0;if((D+ -1|0)>>>0>=2){ba=0.0;ca=1.0;break}if((E|0)==1){ba=+(c[C>>2]|0)}else{ba=+h[C>>3]}if((D|0)==1){ca=+(c[H>>2]|0);break}else{ca=+h[H>>3];break}}else{ba=0.0;ca=1.0}}while(0);Of(l);Of(B)}else{ba=0.0;ca=1.0}}while(0);Of(k);Yu(b,170848,k,0)|0;a:do{if((c[r>>2]|0)==6){A=c[(c[q>>2]|0)+12>>2]|0;if((A|0)>32){Qe(-1,170864,z);aa=0;i=g;return aa|0}if((A|0)>0){z=6;B=0}else{w=A;break}while(1){if((z|0)!=6){x=48;break}ut(c[q>>2]|0,B,l)|0;aa=EH(l)|0;c[e+(B<<2)>>2]=aa;if((aa|0)==0){break}Of(l);B=B+1|0;if((B|0)>=(A|0)){w=A;break a}z=c[r>>2]|0}if((x|0)==48){c[y>>2]=z;c[w+4>>2]=6;Qe(0,172720,w);tc()}Of(k);Of(l);aa=0;i=g;return aa|0}else{aa=EH(k)|0;c[A>>2]=aa;if((aa|0)!=0){w=1;break}Of(k);aa=0;i=g;return aa|0}}while(0);Of(k);do{if((c[(Yu(b,170992,k,0)|0)>>2]|0)==6){x=c[r>>2]|0;if((x|0)!=6){c[u>>2]=x;c[v+4>>2]=6;Qe(0,172720,v);tc()}u=c[q>>2]|0;if((c[u+12>>2]|0)!=2){j=0;f=0;break}u=ut(u,0,l)|0;v=c[u>>2]|0;if((v|0)!=0){c[t>>2]=v;c[s+4>>2]=0;Qe(0,172720,s);tc()}s=a[u+8|0]&1;Of(l);r=c[r>>2]|0;if((r|0)!=6){c[o>>2]=r;c[p+4>>2]=6;Qe(0,172720,p);tc()}o=ut(c[q>>2]|0,1,l)|0;p=c[o>>2]|0;if((p|0)==0){f=a[o+8|0]&1;Of(l);j=s;break}else{c[n>>2]=p;c[m+4>>2]=0;Qe(0,172720,m);tc()}}else{j=0;f=0}}while(0);Of(k);k=FW(368)|0;c[k+4>>2]=2;c[k+8>>2]=0;c[k>>2]=170920;h[k+184>>3]=J;h[k+192>>3]=O;h[k+200>>3]=M;h[k+208>>3]=P;h[k+216>>3]=ba;h[k+224>>3]=ca;l=k+360|0;c[l>>2]=w;if((w|0)>0){m=0;do{c[k+232+(m<<2)>>2]=c[e+(m<<2)>>2];m=m+1|0;}while((m|0)<(c[l>>2]|0))}a[k+364|0]=j;a[k+365|0]=f;if(MA(k,b,d)|0){aa=k;i=g;return aa|0}if((k|0)==0){aa=0;i=g;return aa|0}fd[c[(c[k>>2]|0)+4>>2]&511](k);aa=0;i=g;return aa|0}}while(0);Qe(-1,170944,Q);aa=0;i=g;return aa|0}function JA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0.0,y=0,z=0,A=0,B=0,C=0,D=0.0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0.0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0.0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0.0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0.0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0.0,oa=0.0;e=i;n=i;i=i+8|0;m=n;q=i;i=i+8|0;o=q;s=i;i=i+8|0;t=s;v=i;i=i+8|0;u=v;y=i;i=i+8|0;z=y;A=i;i=i+8|0;E=i;i=i+16|0;C=E;F=i;i=i+8|0;G=F;I=i;i=i+16|0;H=I;J=i;i=i+8|0;K=J;ja=i;i=i+8|0;M=i;i=i+16|0;N=M;O=i;i=i+8|0;P=O;R=i;i=i+16|0;Q=R;T=i;i=i+8|0;U=T;V=i;i=i+16|0;W=V;Y=i;i=i+8|0;X=Y;$=i;i=i+16|0;_=$;ba=i;i=i+8|0;aa=ba;ca=i;i=i+16|0;da=ca;fa=i;i=i+8|0;ga=fa;ha=i;i=i+16|0;ia=ha;ka=i;i=i+8|0;ma=ka;B=i;i=i+128|0;f=B;r=i;i=i+16|0;l=r;la=i;i=i+16|0;k=la;c[r>>2]=13;p=l+8|0;c[p>>2]=0;c[p+4>>2]=0;c[la>>2]=13;la=k+8|0;c[la>>2]=0;c[la+4>>2]=0;do{if((c[(Yu(b,170936,l,0)|0)>>2]|0)==6){la=c[r>>2]|0;if((la|0)!=6){c[ka>>2]=la;c[ma+4>>2]=6;Qe(0,172720,ma);tc()}ka=c[p>>2]|0;if((c[ka+12>>2]|0)!=6){break}ka=ut(ka,0,k)|0;ja=c[ka>>2]|0;if((ja+ -1|0)>>>0>=2){c[ha>>2]=ja;c[ia+4>>2]=1;c[ia+8>>2]=2;Qe(0,172792,ia);tc()}ha=ka+8|0;if((ja|0)==1){x=+(c[ha>>2]|0)}else{x=+h[ha>>3]}Of(k);ha=c[r>>2]|0;if((ha|0)!=6){c[fa>>2]=ha;c[ga+4>>2]=6;Qe(0,172720,ga);tc()}ga=ut(c[p>>2]|0,1,k)|0;fa=c[ga>>2]|0;if((fa+ -1|0)>>>0>=2){c[ca>>2]=fa;c[da+4>>2]=1;c[da+8>>2]=2;Qe(0,172792,dada(l<<1,k)|0;H=ye(E*3|0,4)|0;if((l|0)<=0){break}n=(k|0)>0;m=(j<<1)+ -2|0;w=0;o=0;do{if(n){p=da(w,j)|0;w=w+1|0;v=da(w,j)|0;x=0;q=o;while(1){ia=x+p|0;c[H+(q*12|0)>>2]=ia;ia=ia+1|0;c[H+(q*12|0)+4>>2]=ia;ja=x+v|0;c[H+(q*12|0)+8>>2]=ja;na=q+1|0;c[H+(na*12|0)>>2]=ia;c[H+(na*12|0)+4>>2]=ja;c[H+(na*12|0)+8>>2]=ja+1;x=x+1|0;if((x|0)<(k|0)){q=q+2|0}else{break}}o=m+o|0}else{w=w+1|0}}while((w|0)<(l|0))}}while(0);j=FW(328)|0;c[j+4>>2]=a;c[j+8>>2]=0;c[j>>2]=171032;c[j+180>>2]=z;c[j+184>>2]=d;c[j+188>>2]=H;c[j+192>>2]=E;a=j+324|0;c[a>>2]=y;if((y|0)>0){k=0;do{c[j+196+(k<<2)>>2]=c[g+(k<<2)>>2];k=k+1|0;}while((k|0)<(c[a>>2]|0))}if(MA(j,b,e)|0){na=j;i=f;return na|0}if((j|0)==0){na=0;i=f;return na|0}fd[c[(c[j>>2]|0)+4>>2]&511](j);na=0;i=f;return na|0}}}while(0);Qe(-1,171376,H)}else{Qe(-1,171072,ja)}}while(0);Of(z);na=0;i=f;return na|0}function LA(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0,u=0.0,v=0.0,w=0.0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0.0,ya=0.0,za=0.0,Aa=0.0,Ba=0.0,Ca=0.0,Da=0.0,Ea=0.0,Fa=0.0,Ga=0.0,Ha=0.0,Ia=0.0,Ja=0.0;f=i;C=i;i=i+8|0;D=C;H=i;i=i+8|0;I=i;i=i+8|0;O=i;i=i+16|0;L=O;M=i;i=i+8|0;N=M;K=i;i=i+16|0;P=K;z=i;i=i+8|0;G=z;x=i;i=i+16|0;y=x;Q=i;i=i+8|0;R=Q;S=i;i=i+16|0;T=S;U=i;i=i+8|0;V=U;X=i;i=i+16|0;W=X;Z=i;i=i+8|0;Y=Z;$=i;i=i+16|0;_=$;aa=i;i=i+8|0;ba=aa;da=i;i=i+8|0;ca=i;i=i+8|0;s=ca;fa=i;i=i+8|0;ea=i;i=i+8|0;r=ea;ha=i;i=i+8|0;ga=i;i=i+8|0;q=ga;J=i;i=i+128|0;g=J;m=i;i=i+256|0;j=i;i=i+256|0;p=i;i=i+128|0;o=p;l=i;i=i+128|0;n=l;k=i;i=i+1024|0;F=i;i=i+16|0;A=F;wa=i;i=i+16|0;B=wa;c[F>>2]=13;E=A+8|0;c[E>>2]=0;c[E+4>>2]=0;c[wa>>2]=13;wa=B+8|0;c[wa>>2]=0;c[wa+4>>2]=0;do{if((c[(Yu(b,171048,A,0)|0)>>2]|0)==1){ha=c[F>>2]|0;if((ha|0)!=1){c[ga>>2]=ha;c[q+4>>2]=1;Qe(0,172720,q);tc()}q=c[E>>2]|0;Of(A);if((c[(Yu(b,171136,A,0)|0)>>2]|0)!=1){Qe(-1,171160,fa);break}fa=c[F>>2]|0;if((fa|0)!=1){c[ea>>2]=fa;c[r+4>>2]=1;Qe(0,172720,r);tc()}r=c[E>>2]|0;Of(A);if((c[(Yu(b,171224,A,0)|0)>>2]|0)!=1){Qe(-1,171240,da);break}da=c[F>>2]|0;if((da|0)!=1){c[ca>>2]=da;c[s+4>>2]=1;Qe(0,172720,s);tc()}s=c[E>>2]|0;Of(A);do{if((c[(Yu(b,171368,A,0)|0)>>2]|0)==6){ca=c[F>>2]|0;if((ca|0)!=6){c[aa>>2]=ca;c[ba+4>>2]=6;Qe(0,172720,ba);tc()}aa=c[E>>2]|0;if((c[aa+12>>2]|0)<=5){break}ba=ut(aa,0,B)|0;aa=c[ba>>2]|0;if((aa+ -1|0)>>>0>=2){c[$>>2]=aa;c[_+4>>2]=1;c[_+8>>2]=2;Qe(0,172792,_);tc()}_=ba+8|0;if((aa|0)==1){t=+(c[_>>2]|0)}else{t=+h[_>>3]}Of(B);_=c[F>>2]|0;if((_|0)!=6){c[Z>>2]=_;c[Y+4>>2]=6;Qe(0,172720,Y);tc()}Z=ut(c[E>>2]|0,1,B)|0;Y=c[Z>>2]|0;if((Y+ -1|0)>>>0>=2){c[X>>2]=Y;c[W+4>>2]=1;c[W+8>>2]=2;Qe(0,172792,W);tc()}W=Z+8|0;if((Y|0)==1){u=+(c[W>>2]|0)}else{u=+h[W>>3]}Of(B);w=+lW(1.0,q)+-1.0;u=(u-t)/w;W=c[F>>2]|0;if((W|0)!=6){c[U>>2]=W;c[V+4>>2]=6;Qe(0,172720,V);tc()}V=ut(c[E>>2]|0,2,B)|0;U=c[V>>2]|0;if((U+ -1|0)>>>0>=2){c[S>>2]=U;c[T+4>>2]=1;c[T+8>>2]=2;Qe(0,172792,T);tc()}S=V+8|0;if((U|0)==1){v=+(c[S>>2]|0)}else{v=+h[S>>3]}Of(B);S=c[F>>2]|0;if((S|0)!=6){c[Q>>2]=S;c[R+4>>2]=6;Qe(0,172720,R);tc()}R=ut(c[E>>2]|0,3,B)|0;Q=c[R>>2]|0;if((Q+ -1|0)>>>0>=2){c[x>>2]=Q;c[y+4>>2]=1;c[y+8>>2]=2;Qe(0,172792,y);tc()}x=R+8|0;if((Q|0)==1){xa=+(c[x>>2]|0)}else{xa=+h[x>>3]}Of(B);w=(xa-v)/w;x=c[F>>2]|0;if((x|0)!=6){va=x;wa=z;c[wa>>2]=va;wa=G+4|0;c[wa>>2]=6;wa=172720;Qe(0,wa,G);tc()}x=(1<<r)+ -1|0;xa=+(x|0);Q=5;R=0;y=0;while(1){S=c[E>>2]|0;if(!((Q|0)<(c[S+12>>2]|0)&(y|0)<32)){pa=60;break}S=ut(S,R+4|0,B)|0;R=c[S>>2]|0;if((R+ -1|0)>>>0>=2){pa=48;break}S=S+8|0;if((R|0)==1){ya=+(c[S>>2]|0)}else{ya=+h[S>>3]}h[m+(y<<3)>>3]=ya;Of(B);R=c[F>>2]|0;if((R|0)!=6){pa=53;break}R=ut(c[E>>2]|0,Q,B)|0;Q=c[R>>2]|0;if((Q+ -1|0)>>>0>=2){pa=55;break}R=R+8|0;if((Q|0)==1){za=+(c[R>>2]|0)}else{za=+h[R>>3]}Of(B);h[j+(y<<3)>>3]=(za-ya)/xa;y=y+1|0;R=y<<1;Q=c[F>>2]|0;if((Q|0)==6){Q=R+5|0}else{pa=45;break}}if((pa|0)==45){wa=z;c[wa>>2]=Q;wa=G+4|0;c[wa>>2]=6;wa=172720;Qe(0,wa,G);tc()}else if((pa|0)==48){c[K>>2]=R;c[P+4>>2]=1;c[P+8>>2]=2;Qe(0,172792,P);tc()}else if((pa|0)==53){c[M>>2]=R;c[N+4>>2]=6;Qe(0,172720,N);tc()}else if((pa|0)==55){c[O>>2]=Q;c[L+4>>2]=1;c[L+8>>2]=2;Qe(0,172792,L);tc()}else if((pa|0)==60){Of(A);a:do{if((c[(Yu(b,170848,A,0)|0)>>2]|0)==5){z=0}else{if((c[F>>2]|0)!=6){wa=EH(A)|0;c[J>>2]=wa;if((wa|0)!=0){z=1;break}Of(A);wa=0;i=f;return wa|0}z=c[(c[E>>2]|0)+12>>2]|0;if((z|0)>32){Qe(-1,170864,H);wa=0;i=f;return wa|0}if((z|0)>0){G=6;H=0}else{break}while(1){if((G|0)!=6){pa=67;break}ut(c[E>>2]|0,H,B)|0;wa=EH(B)|0;c[g+(H<<2)>>2]=wa;if((wa|0)==0){break}Of(B);H=H+1|0;if((H|0)>=(z|0)){break a}G=c[F>>2]|0}if((pa|0)==67){c[C>>2]=G;c[D+4>>2]=6;Qe(0,172720,D);tc()}Of(A);Of(B);wa=0;i=f;return wa|0}}while(0);Of(A);A=FW(12)|0;c[A>>2]=d;fd[c[(c[d>>2]|0)+12>>2]&511](d);Z=A+4|0;c[Z>>2]=0;$=A+8|0;ha=(s|0)>0;_=(a|0)==6;Y=(1<<q)+ -1|0;X=(y|0)>0;W=(z|0)==0;U=o+8|0;T=n+8|0;S=o+16|0;R=n+16|0;Q=o+24|0;P=n+24|0;O=o+32|0;N=n+32|0;M=o+40|0;L=n+40|0;K=o+48|0;J=n+48|0;I=o+56|0;H=n+56|0;G=o+64|0;F=n+64|0;E=o+72|0;D=n+72|0;C=o+80|0;B=n+80|0;ka=o+88|0;ja=n+88|0;ga=o+96|0;fa=n+96|0;ea=o+104|0;dada>>3];h[la+(d*1280|0)+80>>3]=+h[ca>>3];h[la+(d*1280|0)+208>>3]=+h[ba>>3];h[la+(d*1280|0)+72>>3]=+h[V>>3];h[la+(d*1280|0)+200>>3]=+h[aa>>3];if(X){na=0}else{break}do{h[la+(d*1280|0)+256+(na<<3)>>3]=+h[k+(na<<3)>>3];h[la+(d*1280|0)+512+(na<<3)>>3]=+h[k+256+(na<<3)>>3];h[la+(d*1280|0)+1024+(na<<3)>>3]=+h[k+512+(na<<3)>>3];h[la+(d*1280|0)+768+(na<<3)>>3]=+h[k+768+(na<<3)>>3];na=na+1|0;}while((na|0)<(y|0))}else if((na|0)==1){na=d+ -1|0;h[oa>>3]=+h[la+(na*1280|0)+24>>3];h[la+(d*1280|0)+128>>3]=+h[la+(na*1280|0)+152>>3];h[la+(d*1280|0)+8>>3]=+h[la+(na*1280|0)+56>>3];h[la+(d*1280|0)+136>>3]=+h[la+(na*1280|0)+184>>3];h[la+(d*1280|0)+16>>3]=+h[la+(na*1280|0)+88>>3];h[la+(d*1280|0)+144>>3]=+h[la+(na*1280|0)+216>>3];h[la+(d*1280|0)+24>>3]=+h[la+(na*1280|0)+120>>3];h[la+(d*1280|0)+152>>3]=+h[la+(na*1280|0)+248>>3];h[la+(d*1280|0)+56>>3]=+h[p>>3];h[la+(d*1280|0)+184>>3]=+h[l>>3];h[la+(d*1280|0)+88>>3]=+h[U>>3];h[la+(d*1280|0)+216>>3]=+h[T>>3];h[la+(d*1280|0)+120>>3]=+h[S>>3];h[la+(d*1280|0)+248>>3]=+h[R>>3];h[la+(d*1280|0)+112>>3]=+h[Q>>3];h[la+(d*1280|0)+240>>3]=+h[P>>3];h[la+(d*1280|0)+104>>3]=+h[O>>3];h[la+(d*1280|0)+232>>3]=+h[N>>3];h[la+(d*1280|0)+96>>3]=+h[M>>3];h[la+(d*1280|0)+224>>3]=+h[L>>3];h[la+(d*1280|0)+64>>3]=+h[K>>3];h[la+(d*1280|0)+192>>3]=+h[J>>3];h[la+(d*1280|0)+32>>3]=+h[I>>3];h[la+(d*1280|0)+160>>3]=+h[H>>3];h[la+(d*1280|0)+40>>3]=+h[G>>3];h[la+(d*1280|0)+168>>3]=+h[F>>3];h[la+(d*1280|0)+48>>3]=+h[E>>3];h[la+(d*1280|0)+176>>3]=+h[D>>3];h[la+(d*1280|0)+80>>3]=+h[C>>3];h[la+(d*1280|0)+208>>3]=+h[B>>3];h[la+(d*1280|0)+72>>3]=+h[ka>>3];h[la+(d*1280|0)+200>>3]=+h[ja>>3];if(X){oa=0}else{break}do{h[la+(d*1280|0)+256+(oa<<3)>>3]=+h[la+(na*1280|0)+512+(oa<<3)>>3];h[la+(d*1280|0)+512+(oa<<3)>>3]=+h[la+(na*1280|0)+1024+(oa<<3)>>3];h[la+(d*1280|0)+1024+(oa<<3)>>3]=+h[k+(oa<<3)>>3];h[la+(d*1280|0)+768+(oa<<3)>>3]=+h[k+256+(oa<<3)>>3];oa=oa+1|0;}while((oa|0)<(y|0))}else if((na|0)==2){na=d+ -1|0;h[oa>>3]=+h[la+(na*1280|0)+120>>3];h[la+(d*1280|0)+128>>3]=+h[la+(na*1280|0)+248>>3];h[la+(d*1280|0)+8>>3]=+h[la+(na*1280|0)+112>>3];h[la+(d*1280|0)+136>>3]=+h[la+(na*1280|0)+240>>3];h[la+(d*1280|0)+16>>3]=+h[la+(na*1280|0)+104>>3];h[la+(d*1280|0)+144>>3]=+h[la+(na*1280|0)+232>>3];h[la+(d*1280|0)+24>>3]=+h[la+(na*1280|0)+96>>3];h[la+(d*1280|0)+152>>3]=+h[la+(na*1280|0)+224>>3];h[la+(d*1280|0)+56>>3]=+h[p>>3];h[la+(d*1280|0)+184>>3]=+h[l>>3];h[la+(d*1280|0)+88>>3]=+h[U>>3];h[la+(d*1280|0)+216>>3]=+h[T>>3];h[la+(d*1280|0)+120>>3]=+h[S>>3];h[la+(d*1280|0)+248>>3]=+h[R>>3];h[la+(d*1280|0)+112>>3]=+h[Q>>3];h[la+(d*1280|0)+240>>3]=+h[P>>3];h[la+(d*1280|0)+104>>3]=+h[O>>3];h[la+(d*1280|0)+232>>3]=+h[N>>3];h[la+(d*1280|0)+96>>3]=+h[M>>3];h[la+(d*1280|0)+224>>3]=+h[L>>3];h[la+(d*1280|0)+64>>3]=+h[K>>3];h[la+(d*1280|0)+192>>3]=+h[J>>3];h[la+(d*1280|0)+32>>3]=+h[I>>3];h[la+(d*1280|0)+160>>3]=+h[H>>3];h[la+(d*1280|0)+40>>3]=+h[G>>3];h[la+(d*1280|0)+168>>3]=+h[F>>3];h[la+(d*1280|0)+48>>3]=+h[E>>3];h[la+(d*1280|0)+176>>3]=+h[D>>3];h[la+(d*1280|0)+80>>3]=+h[C>>3];h[la+(d*1280|0)+208>>3]=+h[B>>3];h[la+(d*1280|0)+72>>3]=+h[ka>>3];h[la+(d*1280|0)+200>>3]=+h[ja>>3];if(X){oa=0}else{break}do{h[la+(d*1280|0)+256+(oa<<3)>>3]=+h[la+(na*1280|0)+1024+(oa<<3)>>3];h[la+(d*1280|0)+512+(oa<<3)>>3]=+h[la+(na*1280|0)+768+(oa<<3)>>3];h[la+(d*1280|0)+1024+(oa<<3)>>3]=+h[k+(oa<<3)>>3];h[la+(d*1280|0)+768+(oa<<3)>>3]=+h[k+256+(oa<<3)>>3];oa=oa+1|0;}while((oa|0)<(y|0))}else if((na|0)==3){na=d+ -1|0;h[oa>>3]=+h[la+(na*1280|0)+96>>3];h[la+(d*1280|0)+128>>3]=+h[la+(na*1280|0)+224>>3];h[la+(d*1280|0)+8>>3]=+h[la+(na*1280|0)+64>>3];h[la+(d*1280|0)+136>>3]=+h[la+(na*1280|0)+192>>3];h[la+(d*1280|0)+16>>3]=+h[la+(na*1280|0)+32>>3];h[la+(d*1280|0)+144>>3]=+h[la+(na*1280|0)+160>>3];h[la+(d*1280|0)+24>>3]=+h[la+(na*1280|0)>>3];h[la+(d*1280|0)+152>>3]=+h[la+(na*1280|0)+128>>3];h[la+(d*1280|0)+56>>3]=+h[p>>3];h[la+(d*1280|0)+184>>3]=+h[l>>3];h[la+(d*1280|0)+88>>3]=+h[U>>3];h[la+(d*1280|0)+216>>3]=+h[T>>3];h[la+(d*1280|0)+120>>3]=+h[S>>3];h[la+(d*1280|0)+248>>3]=+h[R>>3];h[la+(d*1280|0)+112>>3]=+h[Q>>3];h[la+(d*1280|0)+240>>3]=+h[P>>3];h[la+(d*1280|0)+104>>3]=+h[O>>3];h[la+(d*1280|0)+232>>3]=+h[N>>3];h[la+(d*1280|0)+96>>3]=+h[M>>3];h[la+(d*1280|0)+224>>3]=+h[L>>3];h[la+(d*1280|0)+64>>3]=+h[K>>3];h[la+(d*1280|0)+192>>3]=+h[J>>3];h[la+(d*1280|0)+32>>3]=+h[I>>3];h[la+(d*1280|0)+160>>3]=+h[H>>3];h[la+(d*1280|0)+40>>3]=+h[G>>3];h[la+(d*1280|0)+168>>3]=+h[F>>3];h[la+(d*1280|0)+48>>3]=+h[E>>3];h[la+(d*1280|0)+176>>3]=+h[D>>3];h[la+(d*1280|0)+80>>3]=+h[C>>3];h[la+(d*1280|0)+208>>3]=+h[B>>3];h[la+(d*1280|0)+72>>3]=+h[ka>>3];h[la+(d*1280|0)+200>>3]=+h[ja>>3];if(X){oa=0}else{break}do{h[la+(d*1280|0)+256+(oa<<3)>>3]=+h[la+(na*1280|0)+768+(oa<<3)>>3];h[la+(d*1280|0)+512+(oa<<3)>>3]=+h[la+(na*1280|0)+256+(oa<<3)>>3];h[la+(d*1280|0)+1024+(oa<<3)>>3]=+h[k+(oa<<3)>>3];h[la+(d*1280|0)+768+(oa<<3)>>3]=+h[k+256+(oa<<3)>>3];oa=oa+1|0;}while((oa|0)<(y|0))}else{break}}}while(0);c[Z>>2]=0;d=d+1|0}if((pa|0)==81){c[$>>2]=0;pa=145}else if((pa|0)==102){c[$>>2]=0;pa=145}else if((pa|0)==121){c[$>>2]=0;pa=145}else if((pa|0)==144){c[$>>2]=0;if((A|0)!=0){pa=145}}if((pa|0)==145){wa=c[A>>2]|0;fd[c[(c[wa>>2]|0)+16>>2]&511](wa);HW(A)}if(_&(d|0)>0){j=0;do{pa=la+(j*1280|0)|0;w=+h[pa>>3];ra=la+(j*1280|0)+8|0;ya=+h[la+(j*1280|0)+32>>3];qa=la+(j*1280|0)+24|0;Ba=+h[qa>>3];ta=la+(j*1280|0)+96|0;Ja=+h[ta>>3];xa=+h[la+(j*1280|0)+104>>3];Ca=+h[la+(j*1280|0)+56>>3];sa=la+(j*1280|0)+120|0;za=+h[sa>>3];h[la+(j*1280|0)+40>>3]=(w*-4.0+(+h[ra>>3]+ya)*6.0-(Ba+Ja)*2.0+(xa+Ca)*3.0-za)/9.0;wa=la+(j*1280|0)+128|0;Ga=+h[wa>>3];Fa=+h[la+(j*1280|0)+136>>3];t=+h[la+(j*1280|0)+160>>3];va=la+(j*1280|0)+152|0;Ea=+h[va>>3];ua=la+(j*1280|0)+224|0;Ia=+h[ua>>3];Ha=+h[la+(j*1280|0)+232>>3];u=+h[la+(j*1280|0)+184>>3];v=+h[la+(j*1280|0)+248>>3];h[la+(j*1280|0)+168>>3]=(Ga*-4.0+(Fa+t)*6.0-(Ea+Ia)*2.0+(Ha+u)*3.0-v)/9.0;Aa=+h[la+(j*1280|0)+16>>3];Da=+h[la+(j*1280|0)+112>>3];h[la+(j*1280|0)+48>>3]=(Ba*-4.0+(Aa+Ca)*6.0-(w+za)*2.0+(Da+ya)*3.0-Ja)/9.0;ya=+h[la+(j*1280|0)+144>>3];Ga=(Ga+v)*2.0;w=+h[la+(j*1280|0)+240>>3];h[la+(j*1280|0)+176>>3]=(Ea*-4.0+(ya+u)*6.0-Ga+(w+t)*3.0-Ia)/9.0;t=+h[la+(j*1280|0)+64>>3];u=+h[pa>>3];Ca=+h[la+(j*1280|0)+88>>3];Ba=+h[qa>>3];h[la+(j*1280|0)+72>>3]=(Ja*-4.0+(xa+t)*6.0-(za+u)*2.0+(+h[ra>>3]+Ca)*3.0-Ba)/9.0;za=+h[la+(j*1280|0)+192>>3];xa=+h[la+(j*1280|0)+216>>3];h[la+(j*1280|0)+200>>3]=(Ia*-4.0+(Ha+za)*6.0-Ga+(Fa+xa)*3.0-Ea)/9.0;h[la+(j*1280|0)+80>>3]=(+h[sa>>3]*-4.0+(Da)+52>>2]&63](C,m,l,q);C=c[r>>2]|0;if(jd[c[(c[C>>2]|0)+40>>2]&511](C)|0){o=22}else{C=c[r>>2]|0;if(jd[c[(c[C>>2]|0)+36>>2]&511](C)|0){o=22}else{r=0}}if((o|0)==22){c[e>>2]=ye(k+1|0,c[p>>2]|0)|0;r=1}if((c[p>>2]|0)<=0){i=j;return}s=k+1|0;o=(k|0)<0;v=b+152|0;u=b+408|0;B=+(k|0);x=0;do{y=b+20+(x<<2)|0;c[y>>2]=ye(s,4)|0;if(!o){f=m+(x<<3)|0;w=l+(x<<3)|0;t=0;while(1){g=~~(+h[v>>3]+ +(t|0)*+h[u>>3]/B+.5);if((g|0)<0){g=0}else{g=(g|0)>(q|0)?q:g}D=+(d[n+((da(c[p>>2]|0,g)|0)+x)|0]|0|0)/255.0;D=+h[f>>3]+D*+h[w>>3];c[(c[y>>2]|0)+(t<<2)>>2]=~~(D*65536.0);if(r){C=(da(c[p>>2]|0,t)|0)+x|0;a[(c[e>>2]|0)+C|0]=~~(D*255.0)}if((t|0)<(k|0)){t=t+1|0}else{break}}}x=x+1|0;}while((x|0)<(c[p>>2]|0));i=j;return}else if((q|0)==8){q=c[b>>2]|0;C=c[q+8>>2]|0;c[r>>2]=C;c[p>>2]=jd[c[(c[C>>2]|0)+44>>2]&511](C)|0;q=c[q+12>>2]|0;C=c[r>>2]|0;if(jd[c[(c[C>>2]|0)+40>>2]&511](C)|0){o=35}else{C=c[r>>2]|0;if(jd[c[(c[C>>2]|0)+36>>2]&511](C)|0){o=35}else{r=0}}if((o|0)==35){c[e>>2]=ye(k+1|0,c[p>>2]|0)|0;r=1}if((c[p>>2]|0)<=0){i=j;return}u=k+1|0;o=(k|0)<0;s=b+152|0;t=b+408|0;B=+(k|0);f=0;do{v=b+20+(f<<2)|0;c[v>>2]=ye(u,4)|0;if(!o){w=l+(f<<3)|0;x=0;while(1){h[n>>3]=+h[s>>3]+ +(x|0)*+h[t>>3]/B;Gd[c[(c[q>>2]|0)+16>>2]&255](q,m,l);c[(c[v>>2]|0)+(x<<2)>>2]=~~(+h[w>>3]*65536.0);if(r){C=(da(c[p>>2]|0,x)|0)+f|0;a[(c[e>>2]|0)+C|0]=~~(+h[w>>3]*255.0)}if((x|0)<(k|0)){x=x+1|0}else{break}}}f=f+1|0;}while((f|0)<(c[p>>2]|0));i=j;return}else{C=c[b>>2]|0;do{if(jd[c[(c[C>>2]|0)+40>>2]&511](C)|0){o=47}else{C=c[b>>2]|0;if(jd[c[(c[C>>2]|0)+36>>2]&511](C)|0){o=47;break}m=b+8|0;l=0}}while(0);if((o|0)==47){m=b+8|0;c[e>>2]=ye(k+1|0,c[m>>2]|0)|0;l=1}if((c[m>>2]|0)<=0){i=j;return}q=k+1|0;r=(k|0)<0;B=+(k|0);p=0;do{t=ye(q,4)|0;f=b+20+(p<<2)|0;c[f>>2]=t;b:do{if(!r){o=b+152+(p<<3)|0;n=b+408+(p<<3)|0;s=0;while(1){D=+h[o>>3]+ +(s|0)*+h[n>>3]/B;c[t+(s<<2)>>2]=~~(D*65536.0);if(l){t=~~(D*255.0+.5);if((t|0)<0){t=0}else{t=(t|0)>255?-1:t&255}C=(da(c[m>>2]|0,s)|0)+p|0;a[(c[e>>2]|0)+C|0]=t}if((s|0)>=(k|0)){break b}t=c[f>>2]|0;s=s+1|0}}}while(0);p=p+1|0;}while((p|0)<(c[m>>2]|0));i=j;return}}function nB(a){a=a|0;var b=0,d=0;b=i;d=c[a>>2]|0;if((d|0)==0){d=0}else{fd[c[(c[d>>2]|0)+4>>2]&511](d);d=0}do{Fe(c[a+20+(d<<2)>>2]|0);d=d+1|0;}while((d|0)<32);Fe(c[a+148>>2]|0);i=b;return}function oB(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;g=i;h=i;i=i+128|0;j=c[b+12>>2]|0;if((j|0)==0){k=c[b+8>>2]|0;if((k|0)>0){j=0;do{c[h+(j<<2)>>2]=c[(c[b+20+(j<<2)>>2]|0)+((d[e+j|0]|0)<<2)>>2];j=j+1|0;}while((j|0)<(k|0))}l=c[b>>2]|0;Gd[c[(c[l>>2]|0)+16>>2]&255](l,h,f);i=g;return}k=c[b+16>>2]|0;if((k|0)>0){e=a[e]|0;l=0;do{c[h+(l<<2)>>2]=c[(c[b+20+(l<<2)>>2]|0)+((e&255)<<2)>>2];l=l+1|0;}while((l|0)<(k|0))}Gd[c[(c[j>>2]|0)+16>>2]&255](j,h,f);i=g;return}function pB(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;g=i;h=i;i=i+128|0;j=c[b+12>>2]|0;if((j|0)==0){k=c[b+8>>2]|0;if((k|0)>0){j=0;do{c[h+(j<<2)>>2]=c[(c[b+20+(j<<2)>>2]|0)+((d[e+j|0]|0)<<2)>>2];j=j+1|0;}while((j|0)<(k|0))}l=c[b>>2]|0;Gd[c[(c[l>>2]|0)+20>>2]&255](l,h,f);i=g;return}k=c[b+16>>2]|0;if((k|0)>0){e=a[e]|0;l=0;do{c[h+(l<<2)>>2]=c[(c[b+20+(l<<2)>>2]|0)+((e&255)<<2)>>2];l=l+1|0;}while((l|0)<(k|0))}Gd[c[(c[j>>2]|0)+20>>2]&255](j,h,f);i=g;return}function qB(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;h=i;k=i;i=i+128|0;l=i;i=i+16|0;m=l;j=b+12|0;o=c[j>>2]|0;do{if((o|0)==0){n=5}else{if(jd[c[(c[o>>2]|0)+36>>2]&511](o)|0){k=b;break}else{if((c[j>>2]|0)==0){n=5;break}else{n=6;break}}}}while(0);if((n|0)==5){v=c[b>>2]|0;if(jd[c[(c[v>>2]|0)+36>>2]&511](v)|0){k=b}else{n=6}}if((n|0)==6){if((g|0)<=0){i=h;return}q=b+8|0;n=m+4|0;p=m+8|0;o=b+16|0;r=0;while(1){s=c[j>>2]|0;if((s|0)==0){t=c[q>>2]|0;if((t|0)>0){s=0;do{c[k+(s<<2)>>2]=c[(c[b+20+(s<<2)>>2]|0)+((d[e+s|0]|0)<<2)>>2];s=s+1|0;}while((s|0)<(t|0))}v=c[b>>2]|0;Gd[c[(c[v>>2]|0)+20>>2]&255](v,k,m)}else{v=c[o>>2]|0;if((v|0)>0){t=d[e]|0;u=0;do{c[k+(u<<2)>>2]=c[(c[b+20+(u<<2)>>2]|0)+(t<<2)>>2];u=u+1|0;}while((u|0)<(v|0))}Gd[c[(c[s>>2]|0)+20>>2]&255](s,k,m)}c[f+(r<<2)>>2]=(((c[n>>2]|0)*255|0)+32768|0)>>>8&65280|((c[l>>2]|0)*255|0)+32768&16711680|(((c[p>>2]|0)*255|0)+32768|0)>>>16&255;r=r+1|0;if((r|0)>=(g|0)){break}e=e+(c[q>>2]|0)|0}i=h;return}v=c[k>>2]|0;if(((jd[c[(c[v>>2]|0)+12>>2]&511](v)|0)+ -7|0)>>>0>=2){if((g|0)>0){j=b+8|0;b=b+148|0;o=c[j>>2]|0;m=e;l=0;do{if((o|0)>0){n=0;while(1){o=(da(d[m]|0,o)|0)+n|0;a[m]=a[(c[b>>2]|0)+o|0]|0;m=m+1|0;n=n+1|0;o=c[j>>2]|0;if((n|0)<(o|0)){}else{break}}}l=l+1|0;}while((l|0)<(g|0))}v=c[k>>2]|0;Jd[c[(c[v>>2]|0)+32>>2]&63](v,e,f,g);i=h;return}k=b+16|0;l=ye(g,c[k>>2]|0)|0;if((g|0)>0){b=b+148|0;o=c[k>>2]|0;m=0;do{if((o|0)>0){n=e+m|0;p=0;while(1){v=(da(d[n]|0,o)|0)+p|0;a[l+((dada(m,h)|0)+1|0)|0;p=l+20|0;c[p>>2]=m;a[m+(da(c[k>>2]|0,c[n>>2]|0)|0)|0]=0;p=c[p>>2]|0;m=l+20|0;if((p|0)==0){break}bX(p|0,0,da(c[k>>2]|0,c[n>>2]|0)|0)|0;if((h|0)==0){u=l;i=j;return u|0}o=(g|0)==0;n=b+8|0;q=b+12|0;p=b+16|0;b=b+20|0;r=0;do{do{if(!o){u=r+f|0;if((u|0)<0){break}else{s=0}do{t=s+e|0;do{if((t|0)>=0){if((c[n>>2]|0)<=(t|0)){break}if((c[q>>2]|0)<=(u|0)){break}v=(da(c[p>>2]|0,u)|0)+(t>>3)|0;if(((d[(c[b>>2]|0)+v|0]|0)&1<<(t&7^7)|0)==0){break}v=(da(c[k>>2]|0,r)|0)+(s>>3)|0;v=(c[m>>2]|0)+v|0;a[v]=d[v]|0|1<<(s&7^7)}}while(0);s=s+1|0;}while(s>>>0<g>>>0)}}while(0);r=r+1|0;}while(r>>>0<h>>>0);i=j;return l|0}}while(0);do{if((o|0)==16){Qe(-1,177872,p);c[l+20>>2]=0;if((l|0)==0){l=0}else{break}i=j;return l|0}}while(0);fd[c[(c[l>>2]|0)+4>>2]&511](l);v=0;i=j;return v|0}function VC(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;f=i;k=i;i=i+8|0;g=b+12|0;do{if((c[g>>2]|0)<(d|0)){h=b+16|0;j=c[h>>2]|0;if((j|0)<1){break}if((2147483646/(j|0)|0|0)<=(d|0)){break}k=b+20|0;b=xe(c[k>>2]|0,(da(j,d)|0)+1|0)|0;c[k>>2]=b;l=c[g>>2]|0;j=c[h>>2]|0;b=b+(da(j,l)|0)|0;j=da(d-l|0,j)|0;if((e|0)==0){bX(b|0,0,j|0)|0}else{bX(b|0,-1,j|0)|0}c[g>>2]=d;l=da(c[h>>2]|0,d)|0;a[(c[k>>2]|0)+l|0]=0;i=f;return}}while(0);Qe(-1,177872,k);l=b+20|0;Fe(c[l>>2]|0);c[l>>2]=0;i=f;return}function WC(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;j=i;if((g|0)==-2147483648){i=j;return}z=(g|0)<0?0-g|0:0;l=c[e+12>>2]|0;k=c[b+12>>2]|0;m=(l+g|0)>(k|0)?k-g|0:l;if((z|0)>=(m|0)){i=j;return}l=(f|0)>-1;k=l?f&-8:0;o=(c[e+8>>2]|0)+f|0;n=c[b+8>>2]|0;y=(o|0)>(n|0)?n:o;if((k|0)>=(y|0)){i=j;return}o=f&7;p=y&7;n=255>>>p;p=(p|0)==0?255:255<<8-p;s=p&255>>>o;r=(k|0)==(y+ -1&-8|0);q=b+20|0;u=b+16|0;b=f>>3;t=e+20|0;e=e+16|0;v=s^255;f=0-f>>3;x=k+8|0;w=255<<8-o;y=y+ -8|0;do{D=c[q>>2]|0;B=da(c[u>>2]|0,z+g|0)|0;A=D+B|0;do{if(r){if(l){A=D+(B+b)|0;B=(c[t>>2]|0)+(da(c[e>>2]|0,z)|0)|0;D=a[A]|0;C=D&255;B=d[B]|0;switch(h|0){case 4:{D=(B>>>o&s|C&v)&255;break};case 2:{D=(B>>>o&p^C)&255;break};case 3:{D=((B^255)>>>o&p^C)&255;break};case 0:{D=(B>>>o&p|C)&255;break};case 1:{D=((B|65280)>>>o|n)&C&255;break};default:{}}a[A]=D;break}else{D=(c[t>>2]|0)+((da(c[e>>2]|0,z)|0)+f)|0;C=a[A]|0;B=C&255;D=d[D]|0;switch(h|0){case 0:{C=(D&p|B)&255;break};case 2:{C=(D&p^B)&255;break};case 3:{C=((D^255)&p^B)&255;break};case 1:{C=(D|n)&B&255;break};case 4:{C=(D&p|B&n)&255;break};default:{}}a[A]=C;break}}else{if(l){A=B+b|0;F=D+A|0;C=c[t>>2]|0;B=da(c[e>>2]|0,z)|0;E=d[C+B|0]|0;G=a[F]|0;H=G&255;switch(h|0){case 4:{G=(H&w|E>>>o)&255;break};case 1:{G=(E|65280)>>>o&H&255;break};case 2:{G=(H^E>>>o)&255;break};case 0:{G=(H|E>>>o)&255;break};case 3:{G=((E^255)>>>o^H)&255;break};default:{}}a[F]=G;A=D+(A+1)|0;D=E;E=C+(B+1)|0;B=x}else{B=c[t>>2]|0;E=(dada(c[e+16>>2]|0,c[e+12>>2]|0)|0);i=d;return}}function fD(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;l=i;k=i;i=i+8|0;h=i;i=i+8|0;g=i;i=i+8|0;f=g;e=i;i=i+8|0;d=i;i=i+8|0;j=a+64|0;o=c[j>>2]|0;o=jd[c[(c[o>>2]|0)+20>>2]&511](o)|0;if((o|0)==-1){i=l;return}b=a+48|0;a:while(1){n=c[j>>2]|0;n=jd[c[(c[n>>2]|0)+20>>2]&511](n)|0;if((n|0)==-1){n=78;break}m=c[j>>2]|0;m=jd[c[(c[m>>2]|0)+20>>2]&511](m)|0;if((m|0)==-1){n=78;break}p=c[j>>2]|0;p=jd[c[(c[p>>2]|0)+20>>2]&511](p)|0;if((p|0)==-1){n=78;break}n=n<<16|o<<24|m<<8|p;p=c[j>>2]|0;p=jd[c[(c[p>>2]|0)+20>>2]&511](p)|0;if((p|0)==-1){n=77;break}o=p&63;m=c[j>>2]|0;m=jd[c[(c[m>>2]|0)+20>>2]&511](m)|0;if((m|0)==-1){n=77;break}q=m>>>5;do{if((q|0)==7){r=c[j>>2]|0;r=jd[c[(c[r>>2]|0)+20>>2]&511](r)|0;if((r|0)==-1){n=77;break a}s=c[j>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){n=77;break a}q=c[j>>2]|0;q=jd[c[(c[q>>2]|0)+20>>2]&511](q)|0;if((q|0)==-1){n=77;break a}q=(r<<16|m<<24|s<<8|q)&536870911;m=(q+9|0)>>>3;if((m|0)==0){break}else{r=0}while(1){v=c[j>>2]|0;jd[c[(c[v>>2]|0)+20>>2]&511](v)|0;r=r+1|0;if(r>>>0<m>>>0){}else{break}}}}while(0);m=ye(q,4)|0;b:do{if(n>>>0<257){if((q|0)==0){break}else{r=0}do{s=c[j>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){n=76;break a}c[m+(r<<2)>>2]=s;r=r+1|0;}while(r>>>0<q>>>0)}else{r=(q|0)==0;if(n>>>0<65537){if(r){break}else{r=0}while(1){s=c[j>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){n=76;break a}t=c[j>>2]|0;t=jd[c[(c[t>>2]|0)+20>>2]&511](t)|0;if((t|0)==-1){n=76;break a}c[m+(r<<2)>>2]=t|s<<8;r=r+1|0;if(r>>>0>=q>>>0){break b}}}if(r){break}else{r=0}do{v=c[j>>2]|0;v=jd[c[(c[v>>2]|0)+20>>2]&511](v)|0;if((v|0)==-1){n=76;break a}u=c[j>>2]|0;u=jd[c[(c[u>>2]|0)+20>>2]&511](u)|0;if((u|0)==-1){n=76;break a}s=c[j>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){n=76;break a}t=c[j>>2]|0;t=jd[c[(c[t>>2]|0)+20>>2]&511](t)|0;if((t|0)==-1){n=76;break a}c[m+(r<<2)>>2]=u<<16|v<<24|s<<8|t;r=r+1|0;}while(r>>>0<q>>>0)}}while(0);r=c[j>>2]|0;r=(jd[c[(c[r>>2]|0)+20>>2]&511](r)|0)==-1;if((p&64|0)==0){if(r){n=76;break}}else{if(r){n=76;break}v=c[j>>2]|0;if((jd[c[(c[v>>2]|0)+20>>2]&511](v)|0)==-1){n=76;break}v=c[j>>2]|0;if((jd[c[(c[v>>2]|0)+20>>2]&511](v)|0)==-1){n=76;break}v=c[j>>2]|0;if((jd[c[(c[v>>2]|0)+20>>2]&511](v)|0)==-1){n=76;break}}p=c[j>>2]|0;p=jd[c[(c[p>>2]|0)+20>>2]&511](p)|0;if((p|0)==-1){n=76;break}r=c[j>>2]|0;r=jd[c[(c[r>>2]|0)+20>>2]&511](r)|0;if((r|0)==-1){n=76;break}s=c[j>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){n=76;break}t=c[j>>2]|0;t=jd[c[(c[t>>2]|0)+20>>2]&511](t)|0;if((t|0)==-1){n=76;break}r=r<<16|p<<24|s<<8|t;p=c[j>>2]|0;p=jd[c[(c[p>>2]|0)+48>>2]&511](p)|0;if((c[b>>2]|0)==0){if((o+ -4|0)>>>0<4|(o+ -20|0)>>>0<24){n=41;break}}c:do{switch(o|0){case 20:{pD(a,n,0,0,0,m,q);n=68;break};case 36:{qD(a,n,0,0,r);n=68;break};case 38:{qD(a,n,1,0,r);n=68;break};case 48:{sD(a,0);n=68;break};case 50:{if((r|0)==0){n=69;break c}else{n=0}while(1){v=c[j>>2]|0;jd[c[(c[v>>2]|0)+20>>2]&511](v)|0;n=n+1|0;if(n>>>0<r>>>0){}else{n=68;break}}break};case 40:{rD(a,n,0,0,0,m,q);n=68;break};case 42:{rD(a,n,1,0,0,m,q);n=68;break};case 22:{pD(a,n,1,0,0,m,q);n=68;break};case 6:{nD(a,n,1,0,0,m,q);n=68;break};case 7:{nD(a,n,1,0,0,m,q);n=68;break};case 0:{if(mD(a,n,0,m,q)|0){n=68}else{n=75;break a}break};case 39:{qD(a,n,1,0,r);n=68;break};case 52:{if((r|0)==0){n=69;break c}else{n=0}while(1){v=c[j>>2]|0;jd[c[(c[v>>2]|0)+20>>2]&511](v)|0;n=n+1|0;if(n>>>0<r>>>0){}else{n=68;break}}break};case 23:{pD(a,n,1,0,0,m,q);n=68;break};case 53:{tD(a,n,0);n=68;break};case 62:{if((r|0)==0){n=69;break c}else{n=0}while(1){v=c[j>>2]|0;jd[c[(c[v>>2]|0)+20>>2]&511](v)|0;n=n+1|0;if(n>>>0<r>>>0){}else{n=68;break}}break};case 16:{oD(a,n,r);n=68;break};case 43:{rD(a,n,1,0,0,m,q);n=68;break};case 4:{nD(a,n,0,0,0,m,q);n=68;break};default:{v=c[j>>2]|0;Qe(jd[c[(c[v>>2]|0)+48>>2]&511](v)|0,178152,e);if((r|0)==0){n=69;break c}else{n=0}while(1){v=c[j>>2]|0;n=n+1|0;if((jd[c[(c[v>>2]|0)+20>>2]&511](v)|0)==-1){n=76;break a}if(n>>>0<r>>>0){}else{n=68;break}}}}}while(0);if((n|0)==68){n=0;if((r|0)!=-1){n=69}}do{if((n|0)==69){o=c[j>>2]|0;o=p+r-(jd[c[(c[o>>2]|0)+48>>2]&511](o)|0)|0;if((o|0)>0){n=c[j>>2]|0;n=jd[c[(c[n>>2]|0)+48>>2]&511](n)|0;c[g>>2]=o;c[f+4>>2]=(o|0)>1?178232:178240;Qe(n,178192,f);do{v=c[j>>2]|0;jd[c[(c[v>>2]|0)+20>>2]&511](v)|0;o=o+ -1|0;}while((o|0)>0)}else{if((o|0)>=0){break}v=c[j>>2]|0;Qe(jd[c[(c[v>>2]|0)+48>>2]&511](v)|0,178248,h);break}}}while(0);Fe(m);o=c[j>>2]|0;o=jd[c[(c[o>>2]|0)+20>>2]&511](o)|0;if((o|0)==-1){n=78;break}}if((n|0)==41){v=c[j>>2]|0;Qe(jd[c[(c[v>>2]|0)+48>>2]&511](v)|0,178072,d);n=75}else if((n|0)==76){Fe(m);n=77}else if((n|0)==78){i=l;return}if((n|0)==75){Fe(m);i=l;return}else if((n|0)==77){v=c[j>>2]|0;Qe(jd[c[(c[v>>2]|0)+48>>2]&511](v)|0,178296,k);i=l;return}}function gD(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;b=i;e=a+48|0;d=c[e>>2]|0;if((d|0)!=0){fd[c[(c[d>>2]|0)+4>>2]&511](d);c[e>>2]=0}d=a+56|0;f=c[d>>2]|0;if((f|0)!=0){e=f+8|0;h=c[e>>2]|0;if((h|0)>0){g=0;do{j=c[(c[f>>2]|0)+(g<<2)>>2]|0;if((j|0)!=0){fd[c[(c[j>>2]|0)+4>>2]&511](j);h=c[e>>2]|0}g=g+1|0;}while((g|0)<(h|0))}xo(f);HW(f);c[d>>2]=0}e=a+60|0;d=c[e>>2]|0;if((d|0)==0){j=a+72|0;c[j>>2]=0;j=a+68|0;c[j>>2]=0;wj(a);i=b;return}f=d+8|0;h=c[f>>2]|0;if((h|0)>0){g=0;do{j=c[(c[d>>2]|0)+(g<<2)>>2]|0;if((j|0)!=0){fd[c[(c[j>>2]|0)+4>>2]&511](j);h=c[f>>2]|0}g=g+1|0;}while((g|0)<(h|0))}xo(d);HW(d);c[e>>2]=0;j=a+72|0;c[j>>2]=0;j=a+68|0;c[j>>2]=0;wj(a);i=b;return}function hD(a){a=a|0;var b=0,e=0,f=0;b=i;f=a+68|0;e=c[f>>2]|0;if((e|0)==0){f=-1;i=b;return f|0}if(e>>>0>=(c[a+72>>2]|0)>>>0){f=-1;i=b;return f|0}c[f>>2]=e+1;f=(d[e]|0)^255;i=b;return f|0}function iD(a){a=a|0;var b=0,e=0;b=i;e=c[a+68>>2]|0;if((e|0)==0){e=-1;i=b;return e|0}if(e>>>0>=(c[a+72>>2]|0)>>>0){e=-1;i=b;return e|0}e=(d[e]|0)^255;i=b;return e|0}function jD(a){a=a|0;var b=0,d=0;b=i;d=c[a+48>>2]|0;if((d|0)==0){d=0;i=b;return d|0}d=(c[a+68>>2]|0)-(c[d+20>>2]|0)|0;i=b;return d|0}function kD(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return 0}function lD(a,b){a=a|0;b=b|0;var d=0;d=i;b=c[a+8>>2]|0;b=Bd[c[(c[b>>2]|0)+60>>2]&255](b,1)|0;i=d;return b|0}function mD(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0;e=i;S=i;i=i+8|0;Y=i;i=i+8|0;l=i;i=i+8|0;p=i;i=i+8|0;o=i;i=i+8|0;L=i;i=i+8|0;J=i;i=i+8|0;E=i;i=i+8|0;C=i;i=i+8|0;G=i;i=i+8|0;T=i;i=i+8|0;U=i;i=i+8|0;V=i;i=i+16|0;I=V;R=i;i=i+16|0;K=R;t=i;i=i+8|0;A=t;s=i;i=i+8|0;z=s;w=i;i=i+8|0;x=w;F=i;i=i+8|0;H=F;B=i;i=i+8|0;u=B;M=i;i=i+8|0;y=M;N=i;i=i+8|0;v=N;D=i;i=i+8|0;O=D;n=i;i=i+8|0;m=n;j=b+64|0;h=c[j>>2]|0;h=jd[c[(c[h>>2]|0)+20>>2]&511](h)|0;a:do{if((h|0)!=-1){k=c[j>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((k|0)==-1){break}h=k|h<<8;Q=h>>>10&3;P=h>>>12&1;r=k&2;aa=k>>>2&3;$=k>>>4&3;_=k&64;Z=k&128;X=h>>>8&1;h=h&512;k=(k&1|0)!=0;do{if(!k){W=c[j>>2]|0;W=jd[c[(c[W>>2]|0)+20>>2]&511](W)|0;if((W|0)==-1){V=0}else{c[V>>2]=(W&128|0)==0?W:W|-256;V=1}if((Q|0)!=0){if(!V){break a}V=c[j>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){break a}c[R>>2]=(V&128|0)==0?V:V|-256;break}if(!V){break a}V=c[j>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){break a}c[R>>2]=(V&128|0)==0?V:V|-256;R=c[j>>2]|0;R=jd[c[(c[R>>2]|0)+20>>2]&511](R)|0;if((R|0)==-1){break a}c[I+4>>2]=(R&128|0)==0?R:R|-256;R=c[j>>2]|0;R=jd[c[(c[R>>2]|0)+20>>2]&511](R)|0;if((R|0)==-1){break a}c[K+4>>2]=(R&128|0)==0?R:R|-256;R=c[j>>2]|0;R=jd[c[(c[R>>2]|0)+20>>2]&511](R)|0;if((R|0)==-1){break a}c[I+8>>2]=(R&128|0)==0?R:R|-256;R=c[j>>2]|0;R=jd[c[(c[R>>2]|0)+20>>2]&511](R)|0;if((R|0)==-1){break a}c[K+8>>2]=(R&128|0)==0?R:R|-256;R=c[j>>2]|0;R=jd[c[(c[R>>2]|0)+20>>2]&511](R)|0;if((R|0)==-1){break a}c[I+12>>2]=(R&128|0)==0?R:R|-256;R=c[j>>2]|0;R=jd[c[(c[R>>2]|0)+20>>2]&511](R)|0;if((R|0)==-1){break a}c[K+12>>2]=(R&128|0)==0?R:R|-256}}while(0);r=(r|0)!=0;if(r&(P|0)==0){R=c[j>>2]|0;R=jd[c[(c[R>>2]|0)+20>>2]&511](R)|0;if((R|0)==-1){break}c[t>>2]=(R&128|0)==0?R:R|-256;t=c[j>>2]|0;t=jd[c[(c[t>>2]|0)+20>>2]&511](t)|0;if((t|0)==-1){break}c[s>>2]=(t&128|0)==0?t:t|-256;s=c[j>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){break}c[A+4>>2]=(s&128|0)==0?s:s|-256;s=c[j>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){break}c[z+4>>2]=(s&128|0)==0?s:s|-256}R=c[j>>2]|0;R=jd[c[(c[R>>2]|0)+20>>2]&511](R)|0;if((R|0)==-1){break}t=c[j>>2]|0;t=jd[c[(c[t>>2]|0)+20>>2]&511](t)|0;if((t|0)==-1){break}s=c[j>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){break}V=c[j>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){break}t=t<<16|R<<24|s<<8|V;W=c[j>>2]|0;W=jd[c[(c[W>>2]|0)+20>>2]&511](W)|0;if((W|0)==-1){break}V=c[j>>2]|0;V=jd[c[(c[V>>2]|0)+20>>2]&511](V)|0;if((V|0)==-1){break}R=c[j>>2]|0;R=jd[c[(c[R>>2]|0)+20>>2]&511](R)|0;if((R|0)==-1){break}s=c[j>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){break}s=V<<16|W<<24|R<<8|s;ba=FW(16)|0;wo(ba);ca=(g|0)==0;do{if(ca){R=0}else{W=b+60|0;V=b+56|0;ea=0;R=0;b:while(1){fa=c[f+(ea<<2)>>2]|0;ha=c[W>>2]|0;ga=c[ha+8>>2]|0;c:do{if((ga|0)>0){ia=c[ha>>2]|0;ja=0;while(1){ha=c[ia+(ja<<2)>>2]|0;ja=ja+1|0;if((c[ha+4>>2]|0)==(fa|0)){break c}if((ja|0)<(ga|0)){}else{q=38;break}}}else{q=38}}while(0);d:do{if((q|0)==38){q=0;ha=c[V>>2]|0;ga=c[ha+8>>2]|0;if((ga|0)<=0){q=51;break b}ia=c[ha>>2]|0;ja=0;while(1){ha=c[ia+(ja<<2)>>2]|0;ja=ja+1|0;if((c[ha+4>>2]|0)==(fa|0)){break d}if((ja|0)<(ga|0)){}else{q=51;break b}}}}while(0);if((ha|0)==0){q=51;break}do{if((jd[c[(c[ha>>2]|0)+8>>2]&511](ha)|0)==1){fa=c[ha+8>>2]|0;if(R>>>0>~fa>>>0){q=46;break b}R=fa+R|0}else{if((jd[c[(c[ha>>2]|0)+8>>2]&511](ha)|0)!=3){break}yo(ba,ha)}}while(0);ea=ea+1|0;if(ea>>>0>=g>>>0){q=54;break}}if((q|0)==46){ua=c[j>>2]|0;Qe(jd[c[(c[ua>>2]|0)+48>>2]&511](ua)|0,178328,U);if((ba|0)==0){break a}xo(ba);HW(ba);break a}else if((q|0)==51){if((ba|0)==0){ua=0;i=e;return ua|0}xo(ba);HW(ba);ua=0;i=e;return ua|0}else if((q|0)==54){if(R>>>0<=~s>>>0){break}ua=c[j>>2]|0;Qe(jd[c[(c[ua>>2]|0)+48>>2]&511](ua)|0,178328,T);if((ba|0)==0){break a}xo(ba);HW(ba);break a}}}while(0);U=R+s|0;V=(U|0)==0;do{if(V){T=ye(U,4)|0;S=T;W=1}else{S=U+ -1|0;W=1;while(1){S=S>>>1;if((S|0)==0){break}else{W=W+1|0}}T=ye(U,4)|0;if(V){S=T;break}bX(T|0,0,U<<2|0)|0;S=T}}while(0);if(ca){ha=0}else{ca=b+60|0;ea=b+56|0;fa=0;ha=0;ga=0;do{ia=c[f+(fa<<2)>>2]|0;ja=c[ca>>2]|0;q=c[ja+8>>2]|0;e:do{if((q|0)>0){ja=c[ja>>2]|0;la=0;while(1){ka=c[ja+(la<<2)>>2]|0;la=la+1|0;if((c[ka+4>>2]|0)==(ia|0)){ia=ka;q=73;break e}if((la|0)<(q|0)){}else{q=68;break}}}else{q=68}}while(0);f:do{if((q|0)==68){q=0;ka=c[ea>>2]|0;ja=c[ka+8>>2]|0;if((ja|0)<=0){break}la=c[ka>>2]|0;ma=0;while(1){ka=c[la+(ma<<2)>>2]|0;ma=ma+1|0;if((c[ka+4>>2]|0)==(ia|0)){ia=ka;q=73;break f}if((ma|0)<(ja|0)){}else{break}}}}while(0);do{if((q|0)==73){q=0;if((ia|0)==0){break}if((jd[c[(c[ia>>2]|0)+8>>2]&511](ia)|0)!=1){break}ha=ia+8|0;if((c[ha>>2]|0)==0){ha=ia;break}ja=ia+12|0;la=0;ka=ga;while(1){ga=ka+1|0;c[S+(ka<<2)>>2]=c[(c[ja>>2]|0)+(la<<2)>>2];la=la+1|0;if(la>>>0<(c[ha>>2]|0)>>>0){ka=ga}else{ha=ia;break}}}}while(0);fa=fa+1|0;}while(fa>>>0<g>>>0)}g:do{if(k){g=178384;do{if((aa|0)==1){aa=178496;f=0;q=84}else if((aa|0)==0){aa=g;f=0;q=84}else{if((c[ba+8>>2]|0)==0){break}aa=c[(c[c[ba>>2]>>2]|0)+8>>2]|0;f=1;q=84}}while(0);do{if((q|0)==84){if(($|0)==0){g=178640}else if(($|0)==1){g=178768}else{if(f>>>0>=(c[ba+8>>2]|0)>>>0){break}g=c[(c[(c[ba>>2]|0)+(f<<2)>>2]|0)+8>>2]|0;f=f+1|0}if((_|0)==0){_=178928}else{if(f>>>0>=(c[ba+8>>2]|0)>>>0){break}_=c[(c[(c[ba>>2]|0)+(f<<2)>>2]|0)+8>>2]|0;f=f+1|0}if((Z|0)==0){Z=178928;$=aa;q=94;break g}if(f>>>0>=(c[ba+8>>2]|0)>>>0){break}Z=c[(c[(c[ba>>2]|0)+(f<<2)>>2]|0)+8>>2]|0;$=aa;q=94;break g}}while(0);ua=c[j>>2]|0;Qe(jd[c[(c[ua>>2]|0)+48>>2]&511](ua)|0,180304,Y);if((ba|0)==0){X=0;break}xo(ba);HW(ba);X=0}else{Z=0;_=0;$=0;g=0;q=94}}while(0);h:do{if((q|0)==94){if((ba|0)!=0){xo(ba);HW(ba)}if(k){ua=c[b+144>>2]|0;c[ua+4>>2]=0;c[ua+8>>2]=0}else{do{if((X|0)==0|(ha|0)==0){aa=c[182448+(Q<<2)>>2]|0;Y=b+80|0;f=c[Y>>2]|0;if((c[f+4>>2]|0)==(aa|0)){xI(f);break}if((f|0)!=0){yI(f);HW(f)}ua=FW(8)|0;wI(ua,1<<aa);c[Y>>2]=ua}else{uD(b,Q,c[ha+16>>2]|0)}}while(0);vD(b,W);FI(c[b+76>>2]|0)}do{if(r){if(!((X|0)==0|(ha|0)==0)){wD(b,P,c[ha+20>>2]|0);ha=1;X=0;break}Y=c[182464+(P<<2)>>2]|0;X=b+84|0;q=c[X>>2]|0;if((c[q+4>>2]|0)==(Y|0)){xI(q);q=114;break}if((q|0)!=0){yI(q);HW(q)}q=FW(8)|0;wI(q,1<<Y);c[X>>2]=q;q=114}else{q=114}}while(0);do{if((q|0)==114){if(r|k^1){ha=1;X=0;break}ha=0;X=ye(s,4)|0}}while(0);Y=(s|0)==0;i:do{if(!Y){ea=b+144|0;ca=(W|0)==32;ga=b+76|0;ba=(1<<W)+ -1|0;ia=b+140|0;fa=b+120|0;aa=b+124|0;ja=b+100|0;ka=b+92|0;f=b+88|0;na=0;la=0;j:while(1){if(k){NC(c[ea>>2]|0,x,$)|0}else{JI(c[ga>>2]|0,x,c[f>>2]|0)|0}ma=c[w>>2]|0;if(!((ma|0)>-1|la>>>0>(0-ma|0)>>>0)){q=122;break}la=ma+la|0;ma=na;pa=0;oa=0;k:while(1){if(k){if(!(NC(c[ea>>2]|0,H,g)|0)){break}}else{if(!(JI(c[ga>>2]|0,H,c[ka>>2]|0)|0)){break}}qa=c[F>>2]|0;if(!((qa|0)>-1|pa>>>0>(0-qa|0)>>>0)){q=128;break j}pa=qa+pa|0;if(ma>>>0>=s>>>0){q=130;break j}do{if(ha){if(!r){c[S+(ma+R<<2)>>2]=zD(b,0,pa,la,Q,0,0,0,I,K,0)|0;break}if(k){if(!(NC(c[ea>>2]|0,u,Z)|0)){break k}}else{if(!(JI(c[ga>>2]|0,u,c[ja>>2]|0)|0)){break k}}qa=c[B>>2]|0;if((qa|0)!=1){ua=ma+R|0;ta=179112;c[S+(ua<<2)>>2]=yD(b,k,1,pa,la,qa,0,ua,0,W,S,0,0,0,1,0,179384,179624,179976,ta,ta,ta,ta,178928,P,A,z)|0;break}if(k){ra=c[ea>>2]|0;sa=ra+8|0;ua=c[sa>>2]|0;qa=ra+4|0;ta=c[qa>>2]|0;do{if(ua>>>0<W>>>0){ta=(1<<ua)+ -1&ta;ua=W-ua|0;c[sa>>2]=0;if(ua>>>0>7){while(1){va=c[ra>>2]|0;ta=(jd[c[(c[va>>2]|0)+20>>2]&511](va)|0)&255|ta<<8;ua=ua+ -8|0;if(ua>>>0>7){}else{break}}}if((ua|0)==0){break}ra=c[ra>>2]|0;ra=jd[c[(c[ra>>2]|0)+20>>2]&511](ra)|0;c[qa>>2]=ra;va=8-ua|0;c[sa>>2]=va;ta=ra>>>va&(1<<ua)+ -1|ta<<ua}else{va=ua-W|0;c[sa>>2]=va;ta=ta>>>va&(ca?-1:ba)}}while(0);NC(c[ea>>2]|0,y,179112)|0;NC(c[ea>>2]|0,v,179112)|0;NC(c[ea>>2]|0,O,178928)|0;va=c[ea>>2]|0;c[va+4>>2]=0;c[va+8>>2]=0;FI(c[ga>>2]|0)}else{ta=KI(c[ga>>2]|0,W,c[ia>>2]|0)|0;JI(c[ga>>2]|0,y,c[fa>>2]|0)|0;JI(c[ga>>2]|0,v,c[aa>>2]|0)|0}qa=ma+R|0;if(ta>>>0>=qa>>>0){q=149;break j}c[S+(qa<<2)>>2]=xD(b,pa,la,P,0,c[S+(ta<<2)>>2]|0,c[M>>2]|0,c[N>>2]|0,A,z)|0}else{c[X+(ma<<2)>>2]=pa;oa=pa+oa|0}}while(0);ma=ma+1|0}do{if(!ha){NC(c[ea>>2]|0,O,_)|0;pa=c[ea>>2]|0;c[pa+4>>2]=0;c[pa+8>>2]=0;pa=c[D>>2]|0;do{if((pa|0)==0){pa=FW(24)|0;c[pa+4>>2]=0;c[pa>>2]=177856;c[pa+8>>2]=oa;qa=pa+12|0;c[qa>>2]=la;ra=oa+7|0;sa=ra>>3;ta=pa+16|0;c[ta>>2]=sa;do{if((oa|0)<1){q=159}else{if((la|0)<1|(sa|0)<1){q=159;break}if((2147483646/(sa|0)|0|0)<=(la|0)){q=159;break}va=we((da(sa,la)|0)+1|0)|0;c[pa+20>>2]=va;a[va+(da(c[ta>>2]|0,c[qa>>2]|0)|0)|0]=0}}while(0);if((q|0)==159){q=0;Qe(-1,177872,L);c[pa+20>>2]=0}va=dada(F,I)|0;ua=we(va+1|0)|0;c[G+20>>2]=ua;$W(ua|0,c[H+20>>2]|0,va|0)|0;a[ua+va|0]=0}}while(0);if((q|0)==189){q=0;Qe(-1,177872,p);c[G+20>>2]=0}c[(c[d>>2]|0)+(E<<2)>>2]=G;C=C+1|0;if((C|0)<(c[n>>2]|0)){E=B;F=D}else{break}}}}while(0);if(D>>>0<U>>>0){A=A^1;E=D}else{break l}}va=c[j>>2]|0;Qe(jd[c[(c[va>>2]|0)+48>>2]&511](va)|0,180200,o);if(B>>>0<t>>>0){do{c[(c[d>>2]|0)+(B<<2)>>2]=0;B=B+1|0;}while(B>>>0<t>>>0)}if((u|0)==0){break h}fd[c[(c[u>>2]|0)+4>>2]&511](u);break h}}while(0);if((B|0)!=(t|0)){va=c[j>>2]|0;Qe(jd[c[(c[va>>2]|0)+48>>2]&511](va)|0,180256,l);if(B>>>0<t>>>0){do{c[(c[d>>2]|0)+(B<<2)>>2]=0;B=B+1|0;}while(B>>>0<t>>>0)}if((u|0)==0){break}fd[c[(c[u>>2]|0)+4>>2]&511](u);break}if(!Y){l=0;do{j=c[S+(l+R<<2)>>2]|0;if((j|0)!=0){fd[c[(c[j>>2]|0)+4>>2]&511](j)}l=l+1|0;}while(l>>>0<s>>>0)}Fe(T);if((X|0)!=0){Fe(X)}do{if(!(k|(h|0)==0)){c[v>>2]=zI(c[b+80>>2]|0)|0;if(!r){break}c[w>>2]=zI(c[b+84>>2]|0)|0}}while(0);yo(c[b+56>>2]|0,u);va=1;i=e;return va|0}}while(0);if((s|0)!=0){b=0;do{h=c[S+(b+R<<2)>>2]|0;if((h|0)!=0){fd[c[(c[h>>2]|0)+4>>2]&511](h)}b=b+1|0;}while(b>>>0<s>>>0)}Fe(T);if((X|0)==0){va=0;i=e;return va|0}Fe(X);va=0;i=e;return va|0}}while(0);va=c[j>>2]|0;Qe(jd[c[(c[va>>2]|0)+48>>2]&511](va)|0,178296,S);va=0;i=e;return va|0}function nD(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;e=i;B=i;i=i+8|0;E=i;i=i+8|0;C=i;i=i+8|0;n=i;i=i+576|0;N=i;i=i+8|0;f=N;F=i;i=i+8|0;j=F;m=i;i=i+8|0;l=m;D=a+64|0;q=c[D>>2]|0;q=jd[c[(c[q>>2]|0)+20>>2]&511](q)|0;do{if((q|0)!=-1){k=c[D>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((k|0)==-1){break}o=c[D>>2]|0;o=jd[c[(c[o>>2]|0)+20>>2]&511](o)|0;if((o|0)==-1){break}p=c[D>>2]|0;p=jd[c[(c[p>>2]|0)+20>>2]&511](p)|0;if((p|0)==-1){break}k=k<<16|q<<24|o<<8|p;r=c[D>>2]|0;r=jd[c[(c[r>>2]|0)+20>>2]&511](r)|0;if((r|0)==-1){break}q=c[D>>2]|0;q=jd[c[(c[q>>2]|0)+20>>2]&511](q)|0;if((q|0)==-1){break}p=c[D>>2]|0;p=jd[c[(c[p>>2]|0)+20>>2]&511](p)|0;if((p|0)==-1){break}o=c[D>>2]|0;o=jd[c[(c[o>>2]|0)+20>>2]&511](o)|0;if((o|0)==-1){break}o=q<<16|r<<24|p<<8|o;p=c[D>>2]|0;p=jd[c[(c[p>>2]|0)+20>>2]&511](p)|0;if((p|0)==-1){break}q=c[D>>2]|0;q=jd[c[(c[q>>2]|0)+20>>2]&511](q)|0;if((q|0)==-1){break}r=c[D>>2]|0;r=jd[c[(c[r>>2]|0)+20>>2]&511](r)|0;if((r|0)==-1){break}s=c[D>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){break}p=q<<16|p<<24|r<<8|s;t=c[D>>2]|0;t=jd[c[(c[t>>2]|0)+20>>2]&511](t)|0;if((t|0)==-1){break}s=c[D>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){break}r=c[D>>2]|0;r=jd[c[(c[r>>2]|0)+20>>2]&511](r)|0;if((r|0)==-1){break}q=c[D>>2]|0;q=jd[c[(c[q>>2]|0)+20>>2]&511](q)|0;if((q|0)==-1){break}q=s<<16|t<<24|r<<8|q;r=c[D>>2]|0;r=jd[c[(c[r>>2]|0)+20>>2]&511](r)|0;if((r|0)==-1){break}r=r&7;s=c[D>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){break}x=c[D>>2]|0;x=jd[c[(c[x>>2]|0)+20>>2]&511](x)|0;if((x|0)==-1){break}z=x|s<<8;A=x&2;u=x>>>2&3;v=x>>>4&3;t=x>>>6&1;s=z>>>7&3;w=z>>>9&1;y=z>>>10;y=(y&16|0)==0?y&31:y|-16;z=z>>>15&1;x=(x&1|0)!=0;if(x){H=c[D>>2]|0;H=jd[c[(c[H>>2]|0)+20>>2]&511](H)|0;if((H|0)==-1){break}I=c[D>>2]|0;I=jd[c[(c[I>>2]|0)+20>>2]&511](I)|0;if((I|0)==-1){break}L=I|H<<8;O=I>>>2&3;K=I>>>4&3;P=I&3;H=L>>>8&3;I=I>>>6&3;J=L>>>10&3;M=L>>>12&3;L=L>>>14&1}else{O=0;K=0;P=0;H=0;I=0;J=0;M=0;L=0}A=(A|0)!=0;if(A&(z|0)==0){Q=c[D>>2]|0;Q=jd[c[(c[Q>>2]|0)+20>>2]&511](Q)|0;if((Q|0)==-1){break}c[N>>2]=(Q&128|0)==0?Q:Q|-256;N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){break}c[F>>2]=(N&128|0)==0?N:N|-256;F=c[D>>2]|0;F=jd[c[(c[F>>2]|0)+20>>2]&511](F)|0;if((F|0)==-1){break}c[f+4>>2]=(F&128|0)==0?F:F|-256;F=c[D>>2]|0;F=jd[c[(c[F>>2]|0)+20>>2]&511](F)|0;if((F|0)==-1){break}c[j+4>>2]=(F&128|0)==0?F:F|-256}R=c[D>>2]|0;R=jd[c[(c[R>>2]|0)+20>>2]&511](R)|0;if((R|0)==-1){break}F=c[D>>2]|0;F=jd[c[(c[F>>2]|0)+20>>2]&511](F)|0;if((F|0)==-1){break}Q=c[D>>2]|0;Q=jd[c[(c[Q>>2]|0)+20>>2]&511](Q)|0;if((Q|0)==-1){break}N=c[D>>2]|0;N=jd[c[(c[N>>2]|0)+20>>2]&511](N)|0;if((N|0)==-1){break}B=F<<16|R<<24|Q<<8|N;N=FW(16)|0;wo(N);R=(h|0)==0;do{if(R){h=ye(0,4)|0;g=h;F=0;C=0}else{Q=a+60|0;S=a+56|0;T=0;F=0;a:do{U=c[g+(T<<2)>>2]|0;W=c[Q>>2]|0;V=c[W+8>>2]|0;b:do{if((V|0)>0){W=c[W>>2]|0;Y=0;while(1){X=c[W+(Y<<2)>>2]|0;Y=Y+1|0;if((c[X+4>>2]|0)==(U|0)){break b}if((Y|0)<(V|0)){}else{G=41;break}}}else{G=41}}while(0);c:do{if((G|0)==41){G=0;W=c[S>>2]|0;V=c[W+8>>2]|0;if((V|0)<=0){G=51;break a}W=c[W>>2]|0;Y=0;while(1){X=c[W+(Y<<2)>>2]|0;Y=Y+1|0;if((c[X+4>>2]|0)==(U|0)){break c}if((Y|0)<(V|0)){}else{G=51;break a}}}}while(0);if((X|0)==0){G=51;break}do{if((jd[c[(c[X>>2]|0)+8>>2]&511](X)|0)==1){F=(c[X+8>>2]|0)+F|0}else{if((jd[c[(c[X>>2]|0)+8>>2]&511](X)|0)!=3){break}yo(N,X)}}while(0);T=T+1|0;}while(T>>>0<h>>>0);if((G|0)==51){Z=c[D>>2]|0;Qe(jd[c[(c[Z>>2]|0)+48>>2]&511](Z)|0,180352,C);if((N|0)==0){i=e;return}xo(N);HW(N);i=e;return}if(F>>>0>1){Q=1;C=0;while(1){C=C+1|0;Q=Q<<1;if(Q>>>0<F>>>0){}else{break}}}else{C=0}Q=ye(F,4)|0;if(R){g=Q;h=Q;break}S=a+60|0;R=a+56|0;T=0;U=0;while(1){V=c[g+(T<<2)>>2]|0;W=c[S>>2]|0;G=c[W+8>>2]|0;d:do{if((G|0)>0){W=c[W>>2]|0;Y=0;while(1){X=c[W+(Y<<2)>>2]|0;Y=Y+1|0;if((c[X+4>>2]|0)==(V|0)){G=65;break d}if((Y|0)<(G|0)){}else{G=60;break}}}else{G=60}}while(0);e:do{if((G|0)==60){G=0;X=c[R>>2]|0;W=c[X+8>>2]|0;if((W|0)<=0){break}Y=c[X>>2]|0;Z=0;while(1){X=c[Y+(Z<<2)>>2]|0;Z=Z+1|0;if((c[X+4>>2]|0)==(V|0)){G=65;break e}if((Z|0)<(W|0)){}else{break}}}}while(0);do{if((G|0)==65){G=0;if((X|0)==0){break}if((jd[c[(c[X>>2]|0)+8>>2]&511](X)|0)!=1){break}V=X+8|0;if((c[V>>2]|0)==0){break}W=X+12|0;X=0;Y=U;while(1){U=Y+1|0;c[Q+(Y<<2)>>2]=c[(c[W>>2]|0)+(X<<2)>>2];X=X+1|0;if(X>>>0<(c[V>>2]|0)>>>0){Y=U}else{break}}}}while(0);T=T+1|0;if(T>>>0>=h>>>0){g=Q;h=Q;break}}}}while(0);f:do{if(x){Q=179384;do{if((P|0)==1){P=180400;Q=0;G=76}else if((P|0)==0){P=Q;Q=0;G=76}else{if((c[N+8>>2]|0)==0){break}P=c[(c[c[N>>2]>>2]|0)+8>>2]|0;Q=1;G=76}}while(0);do{if((G|0)==76){if((O|0)==0){G=179624}else if((O|0)==1){G=180656}else if((O|0)==2){G=181024}else{if(Q>>>0>=(c[N+8>>2]|0)>>>0){break}G=c[(c[(c[N>>2]|0)+(Q<<2)>>2]|0)+8>>2]|0;Q=Q+1|0}if((K|0)==0){O=179976}else if((K|0)==2){O=181600}else if((K|0)==1){O=181376}else{if(Q>>>0>=(c[N+8>>2]|0)>>>0){break}O=c[(c[(c[N>>2]|0)+(Q<<2)>>2]|0)+8>>2]|0;Q=Q+1|0}if((I|0)==0){I=181824}else if((I|0)==1){I=179112}else{if(Q>>>0>=(c[N+8>>2]|0)>>>0){break}I=c[(c[(c[N>>2]|0)+(Q<<2)>>2]|0)+8>>2]|0;Q=Q+1|0}if((H|0)==0){H=181824}else if((H|0)==1){H=179112}else{if(Q>>>0>=(c[N+8>>2]|0)>>>0){break}H=c[(c[(c[N>>2]|0)+(Q<<2)>>2]|0)+8>>2]|0;Q=Q+1|0}if((J|0)==0){J=181824}else if((J|0)==1){J=179112}else{if(Q>>>0>=(c[N+8>>2]|0)>>>0){break}J=c[(c[(c[N>>2]|0)+(Q<<2)>>2]|0)+8>>2]|0;Q=Q+1|0}K=181824;if((M|0)==1){K=179112;M=Q}else if((M|0)==0){M=Q}else{if(Q>>>0>=(c[N+8>>2]|0)>>>0){break}K=c[(c[(c[N>>2]|0)+(Q<<2)>>2]|0)+8>>2]|0;M=Q+1|0}if((L|0)==0){D=G;E=O;G=P;L=178928;break f}if(M>>>0>=(c[N+8>>2]|0)>>>0){break}D=G;E=O;G=P;L=c[(c[(c[N>>2]|0)+(M<<2)>>2]|0)+8>>2]|0;break f}}while(0);Z=c[D>>2]|0;Qe(jd[c[(c[Z>>2]|0)+48>>2]&511](Z)|0,181920,E);Fe(N);if((h|0)==0){i=e;return}HW(h);i=e;return}else{D=0;E=0;G=0;H=0;I=0;J=0;K=0;L=0}}while(0);if((N|0)!=0){xo(N);HW(N)}if(x){M=a+144|0;N=c[M>>2]|0;c[N+4>>2]=0;c[N+8>>2]=0;N=0;do{c[n+(N<<4)>>2]=N;P=c[M>>2]|0;Q=P+8|0;S=c[Q>>2]|0;O=P+4|0;R=c[O>>2]|0;do{if(S>>>0<4){R=(1<<S)+ -1&R;S=4-S|0;c[Q>>2]=0;if(S>>>0>7){while(1){Z=c[P>>2]|0;R=(jd[c[(c[Z>>2]|0)+20>>2]&511](Z)|0)&255|R<<8;S=S+ -8|0;if(S>>>0>7){}else{break}}}if((S|0)==0){break}Y=c[P>>2]|0;Y=jd[c[(c[Y>>2]|0)+20>>2]&511](Y)|0;c[O>>2]=Y;Z=8-S|0;c[Q>>2]=Z;R=Y>>>Z&(1<<S)+ -1|R<<S}else{Z=S+ -4|0;c[Q>>2]=Z;R=R>>>Z&15}}while(0);c[n+(N<<4)+4>>2]=R;c[n+(N<<4)+8>>2]=0;N=N+1|0;}while(N>>>0<32);c[n+512>>2]=259;O=c[M>>2]|0;N=O+8|0;R=c[N>>2]|0;P=O+4|0;Q=c[P>>2]|0;do{if(R>>>0<4){Q=(1<<R)+ -1&Q;R=4-R|0;c[N>>2]=0;if(R>>>0>7){while(1){Z=c[O>>2]|0;Q=(jd[c[(c[Z>>2]|0)+20>>2]&511](Z)|0)&255|Q<<8;R=R+ -8|0;if(R>>>0>7){}else{break}}}if((R|0)==0){break}Y=c[O>>2]|0;Y=jd[c[(c[Y>>2]|0)+20>>2]&511](Y)|0;c[P>>2]=Y;Z=8-R|0;c[N>>2]=Z;Q=Y>>>Z&(1<<R)+ -1|Q<<R}else{Z=R+ -4|0;c[N>>2]=Z;Q=Q>>>Z&15}}while(0);c[n+516>>2]=Q;c[n+520>>2]=2;c[n+528>>2]=515;P=c[M>>2]|0;N=P+8|0;R=c[N>>2]|0;O=P+4|0;Q=c[O>>2]|0;do{if(R>>>0<4){Q=(1<<R)+ -1&Q;R=4-R|0;c[N>>2]=0;if(R>>>0>7){while(1){Z=c[P>>2]|0;Q=(jd[c[(c[Z>>2]|0)+20>>2]&511](Z)|0)&255|Q<<8;R=R+ -8|0;if(R>>>0>7){}else{break}}}if((R|0)==0){break}Y=c[P>>2]|0;Y=jd[c[(c[Y>>2]|0)+20>>2]&511](Y)|0;c[O>>2]=Y;Z=8-R|0;c[N>>2]=Z;Q=Y>>>Z&(1<<R)+ -1|Q<<R}else{Z=R+ -4|0;c[N>>2]=Z;Q=Q>>>Z&15}}while(0);c[n+532>>2]=Q;c[n+536>>2]=3;c[n+544>>2]=523;O=c[M>>2]|0;P=O+8|0;R=c[P>>2]|0;N=O+4|0;Q=c[N>>2]|0;do{if(R>>>0<4){Q=(1<<R)+ -1&Q;R=4-R|0;c[P>>2]=0;if(R>>>0>7){while(1){Z=c[O>>2]|0;Q=(jd[c[(c[Z>>2]|0)+20>>2]&511](Z)|0)&255|Q<<8;R=R+ -8|0;if(R>>>0>7){}else{break}}}if((R|0)==0){break}Y=c[O>>2]|0;Y=jd[c[(c[Y>>2]|0)+20>>2]&511](Y)|0;c[N>>2]=Y;Z=8-R|0;c[P>>2]=Z;Q=Y>>>Z&(1<<R)+ -1|Q<<R}else{Z=R+ -4|0;c[P>>2]=Z;Q=Q>>>Z&15}}while(0);c[n+548>>2]=Q;c[n+552>>2]=7;c[n+564>>2]=0;c[n+568>>2]=-1;OC(0,n,35);N=ye(F+1|0,16)|0;P=(F|0)==0;do{if(P){l=0}else{O=0;do{c[N+(O<<4)>>2]=O;c[N+(O<<4)+8>>2]=0;O=O+1|0;}while(O>>>0<F>>>0);if(P){l=0;break}else{O=0}while(1){NC(c[M>>2]|0,l,n)|0;Q=c[m>>2]|0;do{if((Q|0)>512){R=Q+ -512|0;c[m>>2]=R;if(!((R|0)!=0&O>>>0<F>>>0)){break}Q=512-Q|0;P=O-F|0;P=Q>>>0>P>>>0?Q:P;Q=R+P|0;T=R;S=O;while(1){R=S+1|0;c[N+(S<<4)+4>>2]=0;T=T+ -1|0;if((T|0)!=0&R>>>0<F>>>0){S=R}else{break}}c[m>>2]=Q;O=O-P|0}else{if((Q|0)<=256){c[N+(O<<4)+4>>2]=Q;O=O+1|0;break}P=Q+ -256|0;c[m>>2]=P;if(!((P|0)!=0&O>>>0<F>>>0)){break}R=256-Q|0;Q=O-F|0;Q=R>>>0>Q>>>0?R:Q;R=P+Q|0;S=O;do{c[N+(S<<4)+4>>2]=c[N+(S+ -1<<4)+4>>2];S=S+1|0;P=P+ -1|0;}while((P|0)!=0&S>>>0<F>>>0);c[m>>2]=R;O=O-Q|0}}while(0);if(O>>>0>=F>>>0){l=F;break}}}}while(0);c[N+(l<<4)+4>>2]=0;c[N+(F<<4)+8>>2]=-1;OC(0,N,l);F=c[M>>2]|0;c[F+4>>2]=0;c[F+8>>2]=0;F=l}else{vD(a,C);FI(c[a+76>>2]|0);N=0}do{if(A){m=c[182464+(z<<2)>>2]|0;l=a+84|0;n=c[l>>2]|0;if((c[n+4>>2]|0)==(m|0)){xI(n);break}if((n|0)!=0){yI(n);HW(n)}Z=FW(8)|0;wI(Z,1<<m);c[l>>2]=Z}}while(0);f=yD(a,x,A,k,o,B,u,F,N,C,g,w,s,t,v,y,G,D,E,I,H,J,K,L,z,f,j)|0;Fe(h);do{if((f|0)!=0){if(!d){c[f+4>>2]=b;yo(c[a+56>>2]|0,f);break}do{if((c[a+36>>2]|0)==-1){d=q+o|0;if(d>>>0<=(c[a+40>>2]|0)>>>0){break}VC(c[a+48>>2]|0,d,c[a+44>>2]|0)}}while(0);WC(c[a+48>>2]|0,f,p,q,r);fd[c[(c[f>>2]|0)+4>>2]&511](f)}}while(0);if(!x){i=e;return}Fe(N);i=e;return}}while(0);Z=c[D>>2]|0;Qe(jd[c[(c[Z>>2]|0)+48>>2]&511](Z)|0,178296,B);i=e;return}function oD(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;e=i;s=i;i=i+8|0;l=i;i=i+16|0;j=l;m=i;i=i+16|0;h=m;p=a+64|0;n=c[p>>2]|0;n=jd[c[(c[n>>2]|0)+20>>2]&511](n)|0;do{if((n|0)!=-1){g=c[p>>2]|0;g=jd[c[(c[g>>2]|0)+20>>2]&511](g)|0;if((g|0)==-1){break}f=c[p>>2]|0;f=jd[c[(c[f>>2]|0)+20>>2]&511](f)|0;if((f|0)==-1){break}k=c[p>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((k|0)==-1){break}o=c[p>>2]|0;o=jd[c[(c[o>>2]|0)+20>>2]&511](o)|0;if((o|0)==-1){break}r=c[p>>2]|0;r=jd[c[(c[r>>2]|0)+20>>2]&511](r)|0;if((r|0)==-1){break}q=c[p>>2]|0;q=jd[c[(c[q>>2]|0)+20>>2]&511](q)|0;if((q|0)==-1){break}k=o<<16|k<<24|r<<8|q;o=n>>>1&3;n=(n&1|0)!=0;if(!n){q=c[182448+(o<<2)>>2]|0;r=a+80|0;p=c[r>>2]|0;if((c[p+4>>2]|0)==(q|0)){xI(p)}else{if((p|0)!=0){yI(p);HW(p)}s=FW(8)|0;wI(s,1<<q);c[r>>2]=s}FI(c[a+76>>2]|0)}c[l>>2]=0-g;c[m>>2]=0;c[j+4>>2]=-3;c[h+4>>2]=-1;c[j+8>>2]=2;c[h+8>>2]=-2;c[j+12>>2]=-2;c[h+12>>2]=-2;l=k+1|0;h=zD(a,n,dada(h,L)|0)+1|0)|0;C=G+20|0;c[C>>2]=O;a[O+(da(c[e>>2]|0,c[K>>2]|0)|0)|0]=0;C=c[C>>2]|0}}while(0);if((k|0)==70){Qe(-1,177872,C);c[G+20>>2]=0;C=0}e=da(c[e>>2]|0,c[K>>2]|0)|0;if((E&128|0)==0){bX(C|0,0,e|0)|0}else{bX(C|0,-1,e|0)|0}C=(F|0)!=0;if(C){e=FW(24)|0;c[e+4>>2]=0;c[e>>2]=177856;c[e+8>>2]=r;F=e+12|0;c[F>>2]=s;K=r+7>>3;E=e+16|0;c[E>>2]=K;do{if((r|0)<1){k=79}else{if((s|0)<1|(K|0)<1){k=79;break}if((2147483646/(K|0)|0|0)<=(s|0)){k=79;break}O=we((da(s,K)|0)+1|0)|0;K=e+20|0;c[K>>2]=O;a[O+(da(c[E>>2]|0,c[F>>2]|0)|0)|0]=0;K=c[K>>2]|0}}while(0);if((k|0)==79){Qe(-1,177872,B);c[e+20>>2]=0;K=0}B=e+20|0;bX(K|0,0,da(c[E>>2]|0,c[F>>2]|0)|0)|0;F=(r|0)==0;K=0;while(1){if(!F){L=(da(K,A)|0)+t|0;O=(da(K,y)|0)+x|0;M=0;do{P=L+(da(M,y)|0)|0;N=O-(da(M,A)|0)|0;if((P+I>>8|0)>0&(P>>8|0)<(z|0)){if(!((N+J>>8|0)>0&(N>>8|0)<(h|0))){k=86}}else{k=86}if((k|0)==86){k=0;P=(da(c[E>>2]|0,K)|0)+(M>>3)|0;P=(c[B>>2]|0)+P|0;a[P]=d[P]|0|1<<(M&7^7)}M=M+1|0;}while(M>>>0<r>>>0)}K=K+1|0;if(K>>>0>=s>>>0){B=e;break}}}else{B=0}P=da(s,r)|0;z=ye(P,4)|0;bX(z|0,0,P<<2|0)|0;c[u>>2]=w>>>0<2?3:2;c[v>>2]=-1;c[o+4>>2]=-3;c[n+4>>2]=-1;c[o+8>>2]=2;c[n+8>>2]=-2;c[o+12>>2]=-2;c[n+12>>2]=-2;if((j|0)>-1){u=(r|0)==0;do{F=zD(b,H,r,s,w,0,C,B,o,n,-1)|0;I=F+8|0;v=F+12|0;E=F+16|0;e=F+20|0;K=0;J=0;do{if(!u){L=(J|0)<0;M=K;N=0;while(1){do{if((N|0)<0){O=0}else{if((c[I>>2]|0)<=(N|0)|L){O=0;break}if((c[v>>2]|0)<=(J|0)){O=0;break}O=(da(c[E>>2]|0,J)|0)+(N>>3)|0;O=(d[(c[e>>2]|0)+O|0]|0)>>>(N&7^7)&1}}while(0);P=z+(M<<2)|0;Q=c[P>>2]|0;c[P>>2]=Q&1^O|Q<<1;N=N+1|0;if(N>>>0<r>>>0){M=M+1|0}else{break}}K=r+K|0}J=J+1|0;}while(J>>>0<s>>>0);if((F|0)!=0){fd[c[(c[F>>2]|0)+4>>2]&511](F)}j=j+ -1|0;}while((j|0)>-1)}n=(r|0)==0;C=C^1;w=B+8|0;v=B+12|0;o=B+16|0;u=B+20|0;E=0;e=0;do{if(!n){F=(e|0)<0;H=E;J=0;j=(da(e,A)|0)+t|0;I=(da(e,y)|0)+x|0;while(1){do{if((J|0)<0|C){k=111}else{if((c[w>>2]|0)<=(J|0)|F){k=111;break}if((c[v>>2]|0)<=(e|0)){k=111;break}Q=(da(c[o>>2]|0,e)|0)+(J>>3)|0;if(((d[(c[u>>2]|0)+Q|0]|0)&1<<(J&7^7)|0)==0){k=111}}}while(0);if((k|0)==111){k=0;WC(G,c[(c[D>>2]|0)+(c[z+(H<<2)>>2]<<2)>>2]|0,j>>8,I>>8,q)}J=J+1|0;if(J>>>0<r>>>0){H=H+1|0;j=j+y|0;I=I-A|0}else{break}}E=r+E|0}e=e+1|0;}while(e>>>0<s>>>0);Fe(z);if((B|0)!=0){fd[c[(c[B>>2]|0)+4>>2]&511](B)}if(!f){yo(c[b+56>>2]|0,G);i=g;return}do{if((c[b+36>>2]|0)==-1){f=m+h|0;if(f>>>0<=(c[b+40>>2]|0)>>>0){break}VC(c[b+48>>2]|0,f,c[b+44>>2]|0)}}while(0);WC(c[b+48>>2]|0,G,l,m,p);if((G|0)==0){i=g;return}fd[c[(c[G>>2]|0)+4>>2]&511](G);i=g;return}}while(0);Q=c[D>>2]|0;Qe(jd[c[(c[Q>>2]|0)+48>>2]&511](Q)|0,182096,G);i=g;return}}while(0);Q=c[D>>2]|0;Qe(jd[c[(c[Q>>2]|0)+48>>2]&511](Q)|0,182056,J);i=g;return}}while(0);Q=c[D>>2]|0;Qe(jd[c[(c[Q>>2]|0)+48>>2]&511](Q)|0,182008,K);i=g;return}}while(0);Q=c[D>>2]|0;Qe(jd[c[(c[Q>>2]|0)+48>>2]&511](Q)|0,178296,A);i=g;return}function qD(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;e=i;k=i;i=i+8|0;p=i;i=i+16|0;g=p;n=i;i=i+16|0;h=n;j=a+64|0;l=c[j>>2]|0;l=jd[c[(c[l>>2]|0)+20>>2]&511](l)|0;do{if((l|0)!=-1){o=c[j>>2]|0;o=jd[c[(c[o>>2]|0)+20>>2]&511](o)|0;if((o|0)==-1){break}q=c[j>>2]|0;q=jd[c[(c[q>>2]|0)+20>>2]&511](q)|0;if((q|0)==-1){break}m=c[j>>2]|0;m=jd[c[(c[m>>2]|0)+20>>2]&511](m)|0;if((m|0)==-1){break}l=o<<16|l<<24|q<<8|m;r=c[j>>2]|0;r=jd[c[(c[r>>2]|0)+20>>2]&511](r)|0;if((r|0)==-1){break}q=c[j>>2]|0;q=jd[c[(c[q>>2]|0)+20>>2]&511](q)|0;if((q|0)==-1){break}o=c[j>>2]|0;o=jd[c[(c[o>>2]|0)+20>>2]&511](o)|0;if((o|0)==-1){break}m=c[j>>2]|0;m=jd[c[(c[m>>2]|0)+20>>2]&511](m)|0;if((m|0)==-1){break}m=q<<16|r<<24|o<<8|m;s=c[j>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){break}r=c[j>>2]|0;r=jd[c[(c[r>>2]|0)+20>>2]&511](r)|0;if((r|0)==-1){break}q=c[j>>2]|0;q=jd[c[(c[q>>2]|0)+20>>2]&511](q)|0;if((q|0)==-1){break}o=c[j>>2]|0;o=jd[c[(c[o>>2]|0)+20>>2]&511](o)|0;if((o|0)==-1){break}o=r<<16|s<<24|q<<8|o;q=c[j>>2]|0;q=jd[c[(c[q>>2]|0)+20>>2]&511](q)|0;if((q|0)==-1){break}r=c[j>>2]|0;r=jd[c[(c[r>>2]|0)+20>>2]&511](r)|0;if((r|0)==-1){break}s=c[j>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){break}t=c[j>>2]|0;t=jd[c[(c[t>>2]|0)+20>>2]&511](t)|0;if((t|0)==-1){break}q=r<<16|q<<24|s<<8|t;r=c[j>>2]|0;r=jd[c[(c[r>>2]|0)+20>>2]&511](r)|0;if((r|0)==-1){break}r=r&7;u=c[j>>2]|0;u=jd[c[(c[u>>2]|0)+20>>2]&511](u)|0;if((u|0)==-1){break}t=u>>>1&3;s=u&8;u=(u&1|0)!=0;if(!u){v=c[j>>2]|0;v=jd[c[(c[v>>2]|0)+20>>2]&511](v)|0;if((v|0)==-1){p=0}else{c[p>>2]=(v&128|0)==0?v:v|-256;p=1}if((t|0)==0){if(!p){break}p=c[j>>2]|0;p=jd[c[(c[p>>2]|0)+20>>2]&511](p)|0;if((p|0)==-1){break}c[n>>2]=(p&128|0)==0?p:p|-256;n=c[j>>2]|0;n=jd[c[(c[n>>2]|0)+20>>2]&511](n)|0;if((n|0)==-1){break}c[g+4>>2]=(n&128|0)==0?n:n|-256;n=c[j>>2]|0;n=jd[c[(c[n>>2]|0)+20>>2]&511](n)|0;if((n|0)==-1){break}c[h+4>>2]=(n&128|0)==0?n:n|-256;n=c[j>>2]|0;n=jd[c[(c[n>>2]|0)+20>>2]&511](n)|0;if((n|0)==-1){break}c[g+8>>2]=(n&128|0)==0?n:n|-256;n=c[j>>2]|0;n=jd[c[(c[n>>2]|0)+20>>2]&511](n)|0;if((n|0)==-1){break}c[h+8>>2]=(n&128|0)==0?n:n|-256;n=c[j>>2]|0;n=jd[c[(c[n>>2]|0)+20>>2]&511](n)|0;if((n|0)==-1){break}c[g+12>>2]=(n&128|0)==0?n:n|-256;n=c[j>>2]|0;n=jd[c[(c[n>>2]|0)+20>>2]&511](n)|0;if((n|0)==-1){break}c[h+12>>2]=(n&128|0)==0?n:n|-256}else{if(!p){break}p=c[j>>2]|0;p=jd[c[(c[p>>2]|0)+20>>2]&511](p)|0;if((p|0)==-1){break}c[n>>2]=(p&128|0)==0?p:p|-256}j=c[182448+(t<<2)>>2]|0;n=a+80|0;k=c[n>>2]|0;if((c[k+4>>2]|0)==(j|0)){xI(k)}else{if((k|0)!=0){yI(k);HW(k)}v=FW(8)|0;wI(v,1<<j);c[n>>2]=v}FI(c[a+76>>2]|0)}f=zD(a,u,l,m,t,(s|0)!=0,0,0,g,h,u?f+ -18|0:0)|0;if((f|0)==0){i=e;return}if(!d){c[f+4>>2]=b;yo(c[a+56>>2]|0,f);i=e;return}do{if((c[a+36>>2]|0)==-1){b=q+m|0;if(b>>>0<=(c[a+40>>2]|0)>>>0){break}VC(c[a+48>>2]|0,b,c[a+44>>2]|0)}}while(0);WC(c[a+48>>2]|0,f,o,q,r);fd[c[(c[f>>2]|0)+4>>2]&511](f);i=e;return}}while(0);v=c[j>>2]|0;Qe(jd[c[(c[v>>2]|0)+48>>2]&511](v)|0,178296,k);i=e;return}function rD(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;e=i;w=i;i=i+8|0;k=i;i=i+8|0;n=i;i=i+8|0;v=i;i=i+8|0;y=i;i=i+8|0;m=y;x=i;i=i+8|0;l=x;f=a+64|0;o=c[f>>2]|0;o=jd[c[(c[o>>2]|0)+20>>2]&511](o)|0;do{if((o|0)!=-1){r=c[f>>2]|0;r=jd[c[(c[r>>2]|0)+20>>2]&511](r)|0;if((r|0)==-1){break}q=c[f>>2]|0;q=jd[c[(c[q>>2]|0)+20>>2]&511](q)|0;if((q|0)==-1){break}p=c[f>>2]|0;p=jd[c[(c[p>>2]|0)+20>>2]&511](p)|0;if((p|0)==-1){break}o=r<<16|o<<24|q<<8|p;r=c[f>>2]|0;r=jd[c[(c[r>>2]|0)+20>>2]&511](r)|0;if((r|0)==-1){break}s=c[f>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){break}p=c[f>>2]|0;p=jd[c[(c[p>>2]|0)+20>>2]&511](p)|0;if((p|0)==-1){break}q=c[f>>2]|0;q=jd[c[(c[q>>2]|0)+20>>2]&511](q)|0;if((q|0)==-1){break}p=s<<16|r<<24|p<<8|q;t=c[f>>2]|0;t=jd[c[(c[t>>2]|0)+20>>2]&511](t)|0;if((t|0)==-1){break}q=c[f>>2]|0;q=jd[c[(c[q>>2]|0)+20>>2]&511](q)|0;if((q|0)==-1){break}r=c[f>>2]|0;r=jd[c[(c[r>>2]|0)+20>>2]&511](r)|0;if((r|0)==-1){break}s=c[f>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){break}q=q<<16|t<<24|r<<8|s;t=c[f>>2]|0;t=jd[c[(c[t>>2]|0)+20>>2]&511](t)|0;if((t|0)==-1){break}r=c[f>>2]|0;r=jd[c[(c[r>>2]|0)+20>>2]&511](r)|0;if((r|0)==-1){break}s=c[f>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){break}u=c[f>>2]|0;u=jd[c[(c[u>>2]|0)+20>>2]&511](u)|0;if((u|0)==-1){break}r=r<<16|t<<24|s<<8|u;s=c[f>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0;if((s|0)==-1){break}s=s&7;u=c[f>>2]|0;u=jd[c[(c[u>>2]|0)+20>>2]&511](u)|0;if((u|0)==-1){break}t=u&1;u=u&2;if((t|0)==0){z=c[f>>2]|0;z=jd[c[(c[z>>2]|0)+20>>2]&511](z)|0;if((z|0)==-1){break}c[y>>2]=(z&128|0)==0?z:z|-256;y=c[f>>2]|0;y=jd[c[(c[y>>2]|0)+20>>2]&511](y)|0;if((y|0)==-1){break}c[x>>2]=(y&128|0)==0?y:y|-256;x=c[f>>2]|0;x=jd[c[(c[x>>2]|0)+20>>2]&511](x)|0;if((x|0)==-1){break}c[m+4>>2]=(x&128|0)==0?x:x|-256;x=c[f>>2]|0;x=jd[c[(c[x>>2]|0)+20>>2]&511](x)|0;if((x|0)==-1){break}c[l+4>>2]=(x&128|0)==0?x:x|-256}do{if((h|0)==0|d){if((c[a+36>>2]|0)!=-1){break}w=r+p|0;if(w>>>0<=(c[a+40>>2]|0)>>>0){break}VC(c[a+48>>2]|0,w,c[a+44>>2]|0)}}while(0);if(h>>>0>1){z=c[f>>2]|0;Qe(jd[c[(c[z>>2]|0)+48>>2]&511](z)|0,182280,v);i=e;return}h=(h|0)==1;a:do{if(h){v=c[g>>2]|0;w=c[a+60>>2]|0;j=c[w+8>>2]|0;b:do{if((j|0)>0){w=c[w>>2]|0;y=0;while(1){x=c[w+(y<<2)>>2]|0;y=y+1|0;if((c[x+4>>2]|0)==(v|0)){j=40;break b}if((y|0)<(j|0)){}else{j=35;break}}}else{j=35}}while(0);c:do{if((j|0)==35){x=c[a+56>>2]|0;w=c[x+8>>2]|0;if((w|0)<=0){break}y=c[x>>2]|0;z=0;do{x=c[y+(z<<2)>>2]|0;z=z+1|0;if((c[x+4>>2]|0)==(v|0)){j=40;break c}}while((z|0)<(w|0))}}while(0);do{if((j|0)==40){if((x|0)==0){break}if((jd[c[(c[x>>2]|0)+8>>2]&511](x)|0)!=0){break}break a}}while(0);z=c[f>>2]|0;Qe(jd[c[(c[z>>2]|0)+48>>2]&511](z)|0,182336,n);i=e;return}else{x=UC(c[a+48>>2]|0,q,r,o,p)|0}}while(0);n=c[182464+(t<<2)>>2]|0;v=a+84|0;w=c[v>>2]|0;if((c[w+4>>2]|0)==(n|0)){xI(w)}else{if((w|0)!=0){yI(w);HW(w)}z=FW(8)|0;wI(z,1<<n);c[v>>2]=z}FI(c[a+76>>2]|0);l=xD(a,o,p,t,(u|0)!=0,x,0,0,m,l)|0;do{if(d){WC(c[a+48>>2]|0,l,q,r,s);if((l|0)==0){break}fd[c[(c[l>>2]|0)+4>>2]&511](l)}else{if((l|0)==0){z=c[f>>2]|0;Qe(jd[c[(c[z>>2]|0)+48>>2]&511](z)|0,182400,k);break}else{c[l+4>>2]=b;yo(c[a+56>>2]|0,l);break}}}while(0);if(!h){if((x|0)==0){i=e;return}fd[c[(c[x>>2]|0)+4>>2]&511](x);i=e;return}d=c[g>>2]|0;l=c[a+60>>2]|0;b=c[l+8>>2]|0;d:do{if((b|0)>0){k=c[l>>2]|0;f=0;while(1){g=f+1|0;if((c[(c[k+(f<<2)>>2]|0)+4>>2]|0)==(d|0)){break}if((g|0)<(b|0)){f=g}else{break d}}Ao(l,f)|0;i=e;return}}while(0);b=c[a+56>>2]|0;a=c[b+8>>2]|0;if((a|0)<=0){i=e;return}f=c[b>>2]|0;g=0;while(1){k=g+1|0;if((c[(c[f+(g<<2)>>2]|0)+4>>2]|0)==(d|0)){break}if((k|0)<(a|0)){g=k}else{j=70;break}}if((j|0)==70){i=e;return}Ao(b,g)|0;i=e;return}}while(0);z=c[f>>2]|0;Qe(jd[c[(c[z>>2]|0)+48>>2]&511](z)|0,178296,w);i=e;return}function sD(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;d=i;g=i;i=i+8|0;e=i;i=i+8|0;f=b+32|0;h=b+64|0;m=c[h>>2]|0;m=jd[c[(c[m>>2]|0)+20>>2]&511](m)|0;do{if((m|0)!=-1){k=c[h>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((k|0)==-1){break}l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+20>>2]&511](l)|0;if((l|0)==-1){break}j=c[h>>2]|0;j=jd[c[(c[j>>2]|0)+20>>2]&511](j)|0;if((j|0)==-1){break}c[f>>2]=k<<16|m<<24|l<<8|j;j=b+36|0;k=c[h>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((k|0)==-1){break}l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+20>>2]&511](l)|0;if((l|0)==-1){break}m=c[h>>2]|0;m=jd[c[(c[m>>2]|0)+20>>2]&511](m)|0;if((m|0)==-1){break}n=c[h>>2]|0;n=jd[c[(c[n>>2]|0)+20>>2]&511](n)|0;if((n|0)==-1){break}c[j>>2]=l<<16|k<<24|m<<8|n;n=c[h>>2]|0;if((jd[c[(c[n>>2]|0)+20>>2]&511](n)|0)==-1){break}n=c[h>>2]|0;if((jd[c[(c[n>>2]|0)+20>>2]&511](n)|0)==-1){break}n=c[h>>2]|0;if((jd[c[(c[n>>2]|0)+20>>2]&511](n)|0)==-1){break}n=c[h>>2]|0;if((jd[c[(c[n>>2]|0)+20>>2]&511](n)|0)==-1){break}n=c[h>>2]|0;if((jd[c[(c[n>>2]|0)+20>>2]&511](n)|0)==-1){break}n=c[h>>2]|0;if((jd[c[(c[n>>2]|0)+20>>2]&511](n)|0)==-1){break}n=c[h>>2]|0;if((jd[c[(c[n>>2]|0)+20>>2]&511](n)|0)==-1){break}n=c[h>>2]|0;if((jd[c[(c[n>>2]|0)+20>>2]&511](n)|0)==-1){break}m=c[h>>2]|0;m=jd[c[(c[m>>2]|0)+20>>2]&511](m)|0;if((m|0)==-1){break}l=c[h>>2]|0;l=jd[c[(c[l>>2]|0)+20>>2]&511](l)|0;if((l|0)==-1){break}k=c[h>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((k|0)==-1){break}g=b+44|0;c[g>>2]=m>>>2&1;c[b+52>>2]=m>>>3&3;h=c[j>>2]|0;if((h|0)==-1){k=(k|l<<8)&32767;c[b+40>>2]=k}else{c[b+40>>2]=h;k=h}h=FW(24)|0;n=c[f>>2]|0;c[h+4>>2]=0;c[h>>2]=177856;c[h+8>>2]=n;f=h+12|0;c[f>>2]=k;l=n+7>>3;j=h+16|0;c[j>>2]=l;do{if((n|0)<1){f=27}else{if((k|0)<1|(l|0)<1){f=27;break}if((2147483646/(l|0)|0|0)<=(k|0)){f=27;break}n=we((da(l,k)|0)+1|0)|0;e=h+20|0;c[e>>2]=n;a[n+(da(c[j>>2]|0,c[f>>2]|0)|0)|0]=0;e=c[e>>2]|0;b=b+48|0;c[b>>2]=h;if((e|0)==0){f=28;break}b=daDa=0,Ea=0,Fa=0;o=i;v=i;i=i+8|0;t=FW(24)|0;c[t+4>>2]=0;c[t>>2]=177856;q=t+8|0;c[q>>2]=e;r=t+12|0;c[r>>2]=f;u=e+7>>3;s=t+16|0;c[s>>2]=u;do{if((e|0)<1){p=5}else{if((f|0)<1|(u|0)<1){p=5;break}if((2147483646/(u|0)|0|0)<=(f|0)){p=5;break}u=we((da(u,f)|0)+1|0)|0;v=t+20|0;c[v>>2]=u;a[u+(da(c[s>>2]|0,c[r>>2]|0)|0)|0]=0;v=c[v>>2]|0;u=t+20|0;if((v|0)==0){break}bX(v|0,0,da(c[s>>2]|0,c[r>>2]|0)|0)|0;x=(g|0)!=0;y=x?8:16;if((f|0)<=0){Fa=t;i=o;return Fa|0}C=0-k|0;z=~k;v=1-l|0;w=j+8|0;g=j+12|0;B=(k|0)>-1;A=j+16|0;D=j+20|0;F=z>>3;E=z&7^7;G=(e|0)>0;j=b+76|0;K=b+84|0;b=(k|0)>0;J=1-k|0;M=C>>3;L=C&7^7;I=m+4|0;H=n+4|0;N=0;do{V=N+ -1|0;do{if((N|0)<1){P=0;Q=0;R=0;O=0}else{if((c[r>>2]|0)<=(V|0)){P=0;Q=0;R=0;O=0;break}P=c[q>>2]|0;if((P|0)<=0){P=0;Q=0;R=0;O=0;break}O=da(c[s>>2]|0,V)|0;O=(c[u>>2]|0)+O|0;if((O|0)==0){P=0;Q=7;R=0;O=0;break}R=(P|0)==1;P=1;Q=R?7:6;R=R?0:O;O=(d[O]|0)>>>7}}while(0);do{if((c[r>>2]|0)>(N|0)){if((c[q>>2]|0)<=-1){S=0;T=0;U=0;break}U=da(c[s>>2]|0,N)|0;S=-1;T=7;U=(c[u>>2]|0)+U|0}else{S=0;T=0;U=0}}while(0);oa=V-l|0;pa=(oa|0)<0;do{if(pa){W=0;X=0;Y=0}else{if((c[g>>2]|0)<=(oa|0)){W=0;X=0;Y=0;break}if((c[w>>2]|0)<=(C|0)){W=0;X=0;Y=0;break}V=da(c[A>>2]|0,oa)|0;if(b){W=C;X=7;Y=(c[D>>2]|0)+V|0;break}else{W=C;X=L;Y=(c[D>>2]|0)+(V+M)|0;break}}}while(0);do{if(x){ia=N-l|0;ja=(ia|0)<0;a:do{if(ja){_=0;$=0;V=0;p=36}else{if((c[g>>2]|0)<=(ia|0)){_=0;$=0;V=0;p=36;break}Z=c[w>>2]|0;if((Z|0)<=(z|0)){_=0;$=0;V=0;p=36;break}V=da(c[A>>2]|0,ia)|0;if(B){$=7;aa=(c[D>>2]|0)+V|0}else{$=E;aa=(c[D>>2]|0)+(V+F)|0}if((aa|0)==0){_=z;V=0;p=36;break}do{if(B){V=0}else{V=(d[aa]|0)>>>$&1;if((Z|0)==(C|0)){_=C;p=36;break a}if(($|0)==0){V=V<<1;aa=aa+1|0;$=7;break}else{V=V<<1;$=$+ -1|0;break}}}while(0);if((C|0)<0){_=1-k|0;ba=0;break}ba=(d[aa]|0)>>>$&1;_=1-k|0;if((_|0)==(Z|0)){aa=0;break}if(($|0)==0){$=7;aa=aa+1|0;break}else{$=$+ -1|0;break}}}while(0);if((p|0)==36){p=0;V=V<<1;aa=0;ba=0}V=ba|V;fa=v+N|0;ga=(fa|0)<0;do{if(ga){ba=0;ca=0;ea=0;Z=0}else{if((c[g>>2]|0)<=(fa|0)){ba=0;ca=0;ea=0;Z=0;break}ba=c[w>>2]|0;if((ba|0)<=(C|0)){ba=0;ca=0;ea=0;Z=0;break}Z=da(c[A>>2]|0,fa)|0;if(b){ca=7;ea=(c[D>>2]|0)+Z|0}else{ca=L;ea=(c[D>>2]|0)+(Z+M)|0}if((ea|0)==0){ba=C;ea=0;Z=0;break}if(b){ba=J;Z=0;break}Z=(d[ea]|0)>>>ca&1;if((J|0)==(ba|0)){ba=J;ea=0;break}if((ca|0)==0){ba=J;ca=7;ea=ea+1|0;break}else{ba=J;ca=ca+ -1|0;break}}}while(0);if(h){b:do{if(pa){oa=0;na=0;ka=0;p=68}else{if((c[g>>2]|0)<=(oa|0)){oa=0;na=0;ka=0;p=68;break}ha=c[w>>2]|0;if((ha|0)<=(z|0)){oa=0;na=0;ka=0;p=68;break}ka=da(c[A>>2]|0,oa)|0;if(B){na=7;ma=(c[D>>2]|0)+ka|0}else{na=E;ma=(c[D>>2]|0)+(ka+F)|0}if((ma|0)==0){oa=z;ka=0;p=68;break}do{if(B){ka=0}else{ka=(d[ma]|0)>>>na&1;if((ha|0)==(C|0)){oa=C;p=68;break b}if((na|0)==0){ka=ka<<1;ma=ma+1|0;na=7;break}else{ka=ka<<1;na=na+ -1|0;break}}}while(0);do{if((C|0)<0){oa=1-k|0;la=0;p=76}else{la=(d[ma]|0)>>>na&1;oa=1-k|0;if((oa|0)==(ha|0)){ha=(la|ka)<<1;ma=0;ka=0;break b}if((na|0)==0){ha=(la|ka)<<1;ma=ma+1|0;na=7;break}else{na=na+ -1|0;p=76;break}}}while(0);if((p|0)==76){p=0;ha=(la|ka)<<1;if((ma|0)==0){ma=0;ka=0;break}}if((oa|0)<0){oa=oa+1|0;ka=0;break}ka=(d[ma]|0)>>>na&1;oa=oa+1|0;if((oa|0)==(c[w>>2]|0)){ma=0;break}if((na|0)==0){na=7;ma=ma+1|0;break}else{na=na+ -1|0;break}}}while(0);if((p|0)==68){p=0;ha=ka<<2;ma=0;ka=0}ha=ka|ha;c:do{if(ja){la=0;ka=0;ia=0;p=95}else{if((c[g>>2]|0)<=(ia|0)){la=0;ka=0;ia=0;p=95;break}pa=c[w>>2]|0;if((pa|0)<=(z|0)){la=0;ka=0;ia=0;p=95;break}ia=da(c[A>>2]|0,ia)|0;if(B){ka=7;ja=(c[D>>2]|0)+ia|0}else{ka=E;ja=(c[D>>2]|0)+(ia+F)|0}if((ja|0)==0){la=z;ia=0;p=95;break}do{if(B){ia=0}else{ia=(d[ja]|0)>>>ka&1;if((pa|0)==(C|0)){la=C;p=95;break c}if((ka|0)==0){ia=ia<<1;ja=ja+1|0;ka=7;break}else{ia=ia<<1;ka=ka+ -1|0;break}}}while(0);do{if((C|0)<0){la=1-k|0;qa=0;p=103}else{qa=(d[ja]|0)>>>ka&1;la=1-k|0;if((la|0)==(pa|0)){ia=(qa|ia)<<1;ja=0;pa=0;break c}if((ka|0)==0){ia=(qa|ia)<<1;ja=ja+1|0;ka=7;break}else{ka=ka+ -1|0;p=103;break}}}while(0);if((p|0)==103){p=0;ia=(qa|ia)<<1;if((ja|0)==0){ja=0;pa=0;break}}if((la|0)<0){la=la+1|0;pa=0;break}pa=(d[ja]|0)>>>ka&1;la=la+1|0;if((la|0)==(c[w>>2]|0)){ja=0;break}if((ka|0)==0){ka=7;ja=ja+1|0;break}else{ka=ka+ -1|0;break}}}while(0);if((p|0)==95){p=0;ia=ia<<2;ja=0;pa=0}qa=pa|ia;d:do{if(ga){ia=0;ga=0;pa=0;p=122}else{if((c[g>>2]|0)<=(fa|0)){ia=0;ga=0;pa=0;p=122;break}ia=c[w>>2]|0;if((ia|0)<=(z|0)){ia=0;ga=0;pa=0;p=122;break}fa=da(c[A>>2]|0,fa)|0;if(B){ga=7;fa=(c[D>>2]|0)+fa|0}else{ga=E;fa=(c[D>>2]|0)+(fa+F)|0}if((fa|0)==0){ia=z;pa=0;p=122;break}do{if(B){pa=0}else{pa=(d[fa]|0)>>>ga&1;if((ia|0)==(C|0)){ia=C;p=122;break d}if((ga|0)==0){pa=pa<<1;fa=fa+1|0;ga=7;break}else{pa=pa<<1;ga=ga+ -1|0;break}}}while(0);do{if((C|0)<0){ia=1-k|0;sa=0;p=130}else{sa=(d[fa]|0)>>>ga&1;ra=1-k|0;if((ra|0)==(ia|0)){pa=(sa|pa)<<1;fa=0;ra=0;break d}if((ga|0)==0){pa=(sa|pa)<<1;fa=fa+1|0;ga=7;ia=ra;break}else{ia=ra;ga=ga+ -1|0;p=130;break}}}while(0);if((p|0)==130){p=0;pa=(sa|pa)<<1;if((fa|0)==0){fa=0;ra=0;break}}if((ia|0)<0){ia=ia+1|0;ra=0;break}ra=(d[fa]|0)>>>ga&1;ia=ia+1|0;if((ia|0)==(c[w>>2]|0)){fa=0;break}if((ga|0)==0){ga=7;fa=fa+1|0;break}else{ga=ga+ -1|0;break}}}while(0);if((p|0)==122){p=0;pa=pa<<2;fa=0;ra=0}pa=ra|pa}else{oa=0;na=0;ma=0;la=0;ka=0;ja=0;ia=0;ga=0;fa=0;ha=0;qa=0;pa=0}if(G){ra=ha;ha=0}else{break}do{O=O<<1;do{if((R|0)==0){R=0;sa=0}else{if((P|0)<0){P=P+1|0;sa=0;break}sa=(d[R]|0)>>>Q&1;P=P+1|0;if((P|0)==(c[q>>2]|0)){R=0;break}if((Q|0)==0){Q=7;R=R+1|0;break}else{Q=Q+ -1|0;break}}}while(0);O=sa|O&6;V=V<<1;do{if((aa|0)==0){aa=0;sa=0}else{if((_|0)<0){_=_+1|0;sa=0;break}sa=(d[aa]|0)>>>$&1;_=_+1|0;if((_|0)==(c[w>>2]|0)){aa=0;break}if(($|0)==0){$=7;aa=aa+1|0;break}else{$=$+ -1|0;break}}}while(0);V=sa|V&6;Z=Z<<1;do{if((ea|0)==0){ea=0;sa=0}else{if((ba|0)<0){ba=ba+1|0;sa=0;break}sa=(d[ea]|0)>>>ca&1;ba=ba+1|0;if((ba|0)==(c[w>>2]|0)){ea=0;break}if((ca|0)==0){ca=7;ea=ea+1|0;break}else{ca=ca+ -1|0;break}}}while(0);Z=sa|Z&2;do{if(h){ra=ra<<1;do{if((ma|0)==0){ma=0;sa=0}else{if((oa|0)<0){oa=oa+1|0;sa=0;break}sa=(d[ma]|0)>>>na&1;oa=oa+1|0;if((oa|0)==(c[w>>2]|0)){ma=0;break}if((na|0)==0){na=7;ma=ma+1|0;break}else{na=na+ -1|0;break}}}while(0);ra=sa|ra&6;qa=qa<<1;do{if((ja|0)==0){ja=0;sa=0}else{if((la|0)<0){la=la+1|0;sa=0;break}sa=(d[ja]|0)>>>ka&1;la=la+1|0;if((la|0)==(c[w>>2]|0)){ja=0;break}if((ka|0)==0){ka=7;ja=ja+1|0;break}else{ka=ka+ -1|0;break}}}while(0);qa=sa|qa&6;pa=pa<<1;do{if((fa|0)==0){fa=0;sa=0}else{if((ia|0)<0){ia=ia+1|0;sa=0;break}sa=(d[fa]|0)>>>ga&1;ia=ia+1|0;if((ia|0)==(c[w>>2]|0)){fa=0;break}if((ga|0)==0){ga=7;fa=fa+1|0;break}else{ga=ga+ -1|0;break}}}while(0);pa=sa|pa&6;II(c[j>>2]|0,y,c[K>>2]|0)|0;if((qa|ra|pa|0)==0){Fa=(da(c[s>>2]|0,N)|0)+(ha>>3)|0;Fa=(c[u>>2]|0)+Fa|0;a[Fa]=(d[Fa]|0)&32639>>>(ha&7);break}if(!((ra|0)==7&(qa|0)==7&(pa|0)==7)){p=186;break}ra=(da(c[s>>2]|0,N)|0)+(ha>>3)|0;ra=(c[u>>2]|0)+ra|0;a[ra]=d[ra]|0|1<<(ha&7^7);ra=7;qa=7;pa=7}else{p=186}}while(0);do{if((p|0)==186){p=0;sa=O<<7;do{if((U|0)==0){U=0;ta=0}else{if((S|0)<0){S=S+1|0;ta=0;break}ta=(d[U]|0)>>>T&1;S=S+1|0;if((S|0)==(c[q>>2]|0)){U=0;break}if((T|0)==0){T=7;U=U+1|0;break}else{T=T+ -1|0;break}}}while(0);ta=ta<<6;do{if((Y|0)==0){Y=0;ua=0}else{if((W|0)<0){W=W+1|0;ua=0;break}ua=(d[Y]|0)>>>X&1;W=W+1|0;if((W|0)==(c[w>>2]|0)){Y=0;break}if((X|0)==0){X=7;Y=Y+1|0;break}else{X=X+ -1|0;break}}}while(0);if((II(c[j>>2]|0,V<<2|sa|Z|ta|ua<<5,c[K>>2]|0)|0)==0){break}Fa=(da(c[s>>2]|0,N)|0)+(ha>>3)|0;Fa=(c[u>>2]|0)+Fa|0;a[Fa]=d[Fa]|0|1<<(ha&7^7)}}while(0);ha=ha+1|0;}while((ha|0)<(e|0))}else{do{if((Y|0)==0){Y=0;V=0}else{if((W|0)<0){W=W+1|0;V=0;break}V=(d[Y]|0)>>>X&1;W=W+1|0;if((W|0)==(c[w>>2]|0)){Y=0;break}if((X|0)==0){X=7;Y=Y+1|0;break}else{X=X+ -1|0;break}}}while(0);qa=N-l|0;ra=(qa|0)<0;e:do{if(ra){_=0;$=0;Z=0;p=222}else{if((c[g>>2]|0)<=(qa|0)){_=0;$=0;Z=0;p=222;break}ba=c[w>>2]|0;if((ba|0)<=(z|0)){_=0;$=0;Z=0;p=222;break}Z=da(c[A>>2]|0,qa)|0;if(B){$=7;aa=(c[D>>2]|0)+Z|0}else{$=E;aa=(c[D>>2]|0)+(Z+F)|0}if((aa|0)==0){_=z;Z=0;p=222;break}do{if(B){Z=0}else{Z=(d[aa]|0)>>>$&1;if((ba|0)==(C|0)){_=C;p=222;break e}if(($|0)==0){Z=Z<<1;aa=aa+1|0;$=7;break}else{Z=Z<<1;$=$+ -1|0;break}}}while(0);if((C|0)<0){_=1-k|0;ca=0;break}ca=(d[aa]|0)>>>$&1;_=1-k|0;if((_|0)==(ba|0)){aa=0;break}if(($|0)==0){$=7;aa=aa+1|0;break}else{$=$+ -1|0;break}}}while(0);if((p|0)==222){p=0;Z=Z<<1;aa=0;ca=0}Z=ca|Z;ha=v+N|0;la=(ha|0)<0;f:do{if(la){ga=0;ia=0;ba=0;p=241}else{if((c[g>>2]|0)<=(ha|0)){ga=0;ia=0;ba=0;p=241;break}ea=c[w>>2]|0;if((ea|0)<=(z|0)){ga=0;ia=0;ba=0;p=241;break}ba=da(c[A>>2]|0,ha)|0;if(B){ia=7;ka=(c[D>>2]|0)+ba|0}else{ia=E;ka=(c[D>>2]|0)+(ba+F)|0}if((ka|0)==0){ga=z;ba=0;p=241;break}do{if(B){ba=0}else{ba=(d[ka]|0)>>>ia&1;if((ea|0)==(C|0)){ga=C;p=241;break f}if((ia|0)==0){ba=ba<<1;ka=ka+1|0;ia=7;break}else{ba=ba<<1;ia=ia+ -1|0;break}}}while(0);if((C|0)<0){ga=1-k|0;ca=0;break}ca=(d[ka]|0)>>>ia&1;ga=1-k|0;if((ga|0)==(ea|0)){ka=0;break}if((ia|0)==0){ia=7;ka=ka+1|0;break}else{ia=ia+ -1|0;break}}}while(0);if((p|0)==241){p=0;ba=ba<<1;ka=0;ca=0}ba=ca|ba;ca=c[m>>2]|0;ea=(c[n>>2]|0)+N|0;do{if((ea|0)<0){na=0;ma=0;ja=0}else{if((c[r>>2]|0)<=(ea|0)){na=0;ma=0;ja=0;break}if((c[q>>2]|0)<=(ca|0)){na=0;ma=0;ja=0;break}ea=da(c[s>>2]|0,ea)|0;if((ca|0)<0){na=ca;ma=7;ja=(c[u>>2]|0)+ea|0;break}else{na=ca;ma=ca&7^7;ja=(c[u>>2]|0)+(ea+(ca>>3))|0;break}}}while(0);ca=(c[I>>2]|0)-k|0;ea=qa+(c[H>>2]|0)|0;do{if((ea|0)<0){fa=0;ea=0;ca=0}else{if((c[g>>2]|0)<=(ea|0)){fa=0;ea=0;ca=0;break}if((c[w>>2]|0)<=(ca|0)){fa=0;ea=0;ca=0;break}sa=da(c[A>>2]|0,ea)|0;if((ca|0)<0){fa=ca;ea=7;ca=(c[D>>2]|0)+sa|0;break}else{fa=ca;ea=ca&7^7;ca=(c[D>>2]|0)+(sa+(ca>>3))|0;break}}}while(0);if(h){g:do{if(pa){va=0;ua=0;oa=0;p=273}else{if((c[g>>2]|0)<=(oa|0)){va=0;ua=0;oa=0;p=273;break}pa=c[w>>2]|0;if((pa|0)<=(z|0)){va=0;ua=0;oa=0;p=273;break}oa=da(c[A>>2]|0,oa)|0;if(B){ua=7;ta=(c[D>>2]|0)+oa|0}else{ua=E;ta=(c[D>>2]|0)+(oa+F)|0}if((ta|0)==0){va=z;oa=0;p=273;break}do{if(B){oa=0}else{oa=(d[ta]|0)>>>ua&1;if((pa|0)==(C|0)){va=C;p=273;break g}if((ua|0)==0){oa=oa<<1;ta=ta+1|0;ua=7;break}else{oa=oa<<1;ua=ua+ -1|0;break}}}while(0);do{if((C|0)<0){va=1-k|0;sa=0;p=281}else{sa=(d[ta]|0)>>>ua&1;va=1-k|0;if((va|0)==(pa|0)){oa=(sa|oa)<<1;ta=0;pa=0;break g}if((ua|0)==0){oa=(sa|oa)<<1;ta=ta+1|0;ua=7;break}else{ua=ua+ -1|0;p=281;break}}}while(0);if((p|0)==281){p=0;oa=(sa|oa)<<1;if((ta|0)==0){ta=0;pa=0;break}}if((va|0)<0){va=va+1|0;pa=0;break}pa=(d[ta]|0)>>>ua&1;va=va+1|0;if((va|0)==(c[w>>2]|0)){ta=0;break}if((ua|0)==0){ua=7;ta=ta+1|0;break}else{ua=ua+ -1|0;break}}}while(0);if((p|0)==273){p=0;oa=oa<<2;ta=0;pa=0}pa=pa|oa;h:do{if(ra){sa=0;ra=0;oa=0;p=300}else{if((c[g>>2]|0)<=(qa|0)){sa=0;ra=0;oa=0;p=300;break}wa=c[w>>2]|0;if((wa|0)<=(z|0)){sa=0;ra=0;oa=0;p=300;break}oa=da(c[A>>2]|0,qa)|0;if(B){ra=7;qa=(c[D>>2]|0)+oa|0}else{ra=E;qa=(c[D>>2]|0)+(oa+F)|0}if((qa|0)==0){sa=z;oa=0;p=300;break}do{if(B){oa=0}else{oa=(d[qa]|0)>>>ra&1;if((wa|0)==(C|0)){sa=C;p=300;break h}if((ra|0)==0){oa=oa<<1;qa=qa+1|0;ra=7;break}else{oa=oa<<1;ra=ra+ -1|0;break}}}while(0);do{if((C|0)<0){sa=1-k|0;xa=0;p=308}else{xa=(d[qa]|0)>>>ra&1;sa=1-k|0;if((sa|0)==(wa|0)){oa=(xa|oa)<<1;qa=0;wa=0;break h}if((ra|0)==0){oa=(xa|oa)<<1;qa=qa+1|0;ra=7;break}else{ra=ra+ -1|0;p=308;break}}}while(0);if((p|0)==308){p=0;oa=(xa|oa)<<1;if((qa|0)==0){qa=0;wa=0;break}}if((sa|0)<0){sa=sa+1|0;wa=0;break}wa=(d[qa]|0)>>>ra&1;sa=sa+1|0;if((sa|0)==(c[w>>2]|0)){qa=0;break}if((ra|0)==0){ra=7;qa=qa+1|0;break}else{ra=ra+ -1|0;break}}}while(0);if((p|0)==300){p=0;oa=oa<<2;qa=0;wa=0}xa=wa|oa;i:do{if(la){oa=0;la=0;wa=0;p=327}else{if((c[g>>2]|0)<=(ha|0)){oa=0;la=0;wa=0;p=327;break}ya=c[w>>2]|0;if((ya|0)<=(z|0)){oa=0;la=0;wa=0;p=327;break}ha=da(c[A>>2]|0,ha)|0;if(B){la=7;ha=(c[D>>2]|0)+ha|0}else{la=E;ha=(c[D>>2]|0)+(ha+F)|0}if((ha|0)==0){oa=z;wa=0;p=327;break}do{if(B){wa=0}else{wa=(d[ha]|0)>>>la&1;if((ya|0)==(C|0)){oa=C;p=327;break i}if((la|0)==0){wa=wa<<1;ha=ha+1|0;la=7;break}else{wa=wa<<1;la=la+ -1|0;break}}}while(0);do{if((C|0)<0){oa=1-k|0;za=0;p=335}else{za=(d[ha]|0)>>>la&1;oa=1-k|0;if((oa|0)==(ya|0)){wa=(za|wa)<<1;ha=0;za=0;break i}if((la|0)==0){wa=(za|wa)<<1;ha=ha+1|0;la=7;break}else{la=la+ -1|0;p=335;break}}}while(0);if((p|0)==335){p=0;wa=(za|wa)<<1;if((ha|0)==0){ha=0;za=0;break}}if((oa|0)<0){oa=oa+1|0;za=0;break}za=(d[ha]|0)>>>la&1;oa=oa+1|0;if((oa|0)==(c[w>>2]|0)){ha=0;break}if((la|0)==0){la=7;ha=ha+1|0;break}else{la=la+ -1|0;break}}}while(0);if((p|0)==327){p=0;wa=wa<<2;ha=0;za=0}ya=pa;wa=za|wa}else{va=0;ua=0;ta=0;sa=0;ra=0;qa=0;oa=0;la=0;ha=0;ya=0;xa=0;wa=0}if(G){pa=na;na=0}else{break}do{O=O<<1;do{if((R|0)==0){R=0;za=0}else{if((P|0)<0){P=P+1|0;za=0;break}za=(d[R]|0)>>>Q&1;P=P+1|0;if((P|0)==(c[q>>2]|0)){R=0;break}if((Q|0)==0){Q=7;R=R+1|0;break}else{Q=Q+ -1|0;break}}}while(0);O=za|O&2;V=V<<1;do{if((Y|0)==0){Y=0;za=0}else{if((W|0)<0){W=W+1|0;za=0;break}za=(d[Y]|0)>>>X&1;W=W+1|0;if((W|0)==(c[w>>2]|0)){Y=0;break}if((X|0)==0){X=7;Y=Y+1|0;break}else{X=X+ -1|0;break}}}while(0);V=za|V&2;Z=Z<<1;do{if((aa|0)==0){aa=0;za=0}else{if((_|0)<0){_=_+1|0;za=0;break}za=(d[aa]|0)>>>$&1;_=_+1|0;if((_|0)==(c[w>>2]|0)){aa=0;break}if(($|0)==0){$=7;aa=aa+1|0;break}else{$=$+ -1|0;break}}}while(0);Z=za|Z&6;ba=ba<<1;do{if((ka|0)==0){ka=0;za=0}else{if((ga|0)<0){ga=ga+1|0;za=0;break}za=(d[ka]|0)>>>ia&1;ga=ga+1|0;if((ga|0)==(c[w>>2]|0)){ka=0;break}if((ia|0)==0){ia=7;ka=ka+1|0;break}else{ia=ia+ -1|0;break}}}while(0);ba=za|ba&6;do{if(h){ya=ya<<1;do{if((ta|0)==0){ta=0;za=0}else{if((va|0)<0){va=va+1|0;za=0;break}za=(d[ta]|0)>>>ua&1;va=va+1|0;if((va|0)==(c[w>>2]|0)){ta=0;break}if((ua|0)==0){ua=7;ta=ta+1|0;break}else{ua=ua+ -1|0;break}}}while(0);ya=za|ya&6;xa=xa<<1;do{if((qa|0)==0){qa=0;za=0}else{if((sa|0)<0){sa=sa+1|0;za=0;break}za=(d[qa]|0)>>>ra&1;sa=sa+1|0;if((sa|0)==(c[w>>2]|0)){qa=0;break}if((ra|0)==0){ra=7;qa=qa+1|0;break}else{ra=ra+ -1|0;break}}}while(0);xa=za|xa&6;wa=wa<<1;do{if((ha|0)==0){ha=0;za=0}else{if((oa|0)<0){oa=oa+1|0;za=0;break}za=(d[ha]|0)>>>la&1;oa=oa+1|0;if((oa|0)==(c[w>>2]|0)){ha=0;break}if((la|0)==0){la=7;ha=ha+1|0;break}else{la=la+ -1|0;break}}}while(0);wa=za|wa&6;II(c[j>>2]|0,y,c[K>>2]|0)|0;if((xa|ya|wa|0)==0){Fa=(da(c[s>>2]|0,N)|0)+(na>>3)|0;Fa=(c[u>>2]|0)+Fa|0;a[Fa]=(d[Fa]|0)&32639>>>(na&7);break}if(!((ya|0)==7&(xa|0)==7&(wa|0)==7)){p=398;break}ya=(da(c[s>>2]|0,N)|0)+(na>>3)|0;ya=(c[u>>2]|0)+ya|0;a[ya]=d[ya]|0|1<<(na&7^7);ya=7;xa=7;wa=7}else{p=398}}while(0);do{if((p|0)==398){p=0;za=O<<11;do{if((U|0)==0){U=0;Aa=0}else{if((S|0)<0){S=S+1|0;Aa=0;break}Aa=(d[U]|0)>>>T&1;S=S+1|0;if((S|0)==(c[q>>2]|0)){U=0;break}if((T|0)==0){T=7;U=U+1|0;break}else{T=T+ -1|0;break}}}while(0);Aa=Aa<<10;Da=V<<8;Ba=Z<<5;Ca=ba<<2;do{if((ja|0)==0){ja=0;Ea=0}else{if((pa|0)<0){pa=pa+1|0;Ea=0;break}Ea=(d[ja]|0)>>>ma&1;pa=pa+1|0;if((pa|0)==(c[q>>2]|0)){ja=0;break}if((ma|0)==0){ma=7;ja=ja+1|0;break}else{ma=ma+ -1|0;break}}}while(0);Ea=Ea<<1;do{if((ca|0)==0){ca=0;Fa=0}else{if((fa|0)<0){fa=fa+1|0;Fa=0;break}Fa=(d[ca]|0)>>>ea&1;fa=fa+1|0;if((fa|0)==(c[w>>2]|0)){ca=0;break}if((ea|0)==0){ea=7;ca=ca+1|0;break}else{ea=ea+ -1|0;break}}}while(0);if((II(c[j>>2]|0,Da|za|Ba|Ca|Aa|Ea|Fa,c[K>>2]|0)|0)==0){break}Fa=(dada(aa,g)|0)+1|0)|0;f=Y+20|0;c[f>>2]=wa;a[wa+(da(c[_>>2]|0,c[$>>2]|0)|0)|0]=0;f=c[f>>2]|0;if((f|0)==0){break}_=da(c[_>>2]|0,c[$>>2]|0)|0;if((o|0)==0){bX(f|0,0,_|0)|0}else{bX(f|0,-1,_|0)|0}if(d){NC(c[b+144>>2]|0,Z,v)|0}else{JI(c[b+76>>2]|0,Z,c[b+104>>2]|0)|0}c[J>>2]=da(c[J>>2]|0,0-ja|0)|0;if((h|0)==0){wa=Y;i=E;return wa|0}ca=b+144|0;fa=(ja|0)==1;Z=(l|0)==0;ba=(m|0)==32;g=(1<<m)+ -1|0;ea=b+76|0;aa=b+128|0;_=b+132|0;$=b+120|0;f=b+124|0;o=b+136|0;ha=(q|0)==0;q=b+116|0;ga=b+64|0;ia=b+140|0;ma=(j|0)==32?-1:ja+ -1|0;ka=b+108|0;ja=b+104|0;la=b+112|0;oa=0;na=0;a:while(1){if(d){NC(c[ca>>2]|0,H,v)|0;c[J>>2]=(c[J>>2]|0)+(c[I>>2]<<j);NC(c[ca>>2]|0,G,t)|0}else{JI(c[ea>>2]|0,H,c[ja>>2]|0)|0;c[J>>2]=(c[J>>2]|0)+(c[I>>2]<<j);JI(c[ea>>2]|0,G,c[la>>2]|0)|0}na=(c[F>>2]|0)+na|0;b:do{if(oa>>>0<h>>>0){pa=na;while(1){do{if(fa){ta=0;qa=30}else{if(!d){JI(c[ea>>2]|0,H,c[ka>>2]|0)|0;ra=(c[I>>2]|0)+(c[J>>2]|0)|0;qa=40;break}ra=c[ca>>2]|0;sa=ra+8|0;ua=c[sa>>2]|0;qa=ra+4|0;ta=c[qa>>2]|0;if(ua>>>0>=j>>>0){qa=ua-j|0;ra=ta>>>qa&ma;c[sa>>2]=qa;c[I>>2]=ra;ra=(c[J>>2]|0)+ra|0;qa=31;break}ta=(1<<ua)+ -1&ta;ua=j-ua|0;c[sa>>2]=0;if(ua>>>0>7){while(1){wa=c[ra>>2]|0;ta=(jd[c[(c[wa>>2]|0)+20>>2]&511](wa)|0)&255|ta<<8;ua=ua+ -8|0;if(ua>>>0>7){}else{break}}}if((ua|0)==0){qa=30;break}wa=c[ra>>2]|0;wa=jd[c[(c[wa>>2]|0)+20>>2]&511](wa)|0;c[qa>>2]=wa;qa=8-ua|0;c[sa>>2]=qa;ta=wa>>>qa&(1<<ua)+ -1|ta<<ua;qa=30}}while(0);if((qa|0)==30){c[I>>2]=ta;ra=(c[J>>2]|0)+ta|0;if(d){qa=31}else{qa=40}}do{if((qa|0)==31){qa=0;ta=c[ca>>2]|0;if(!Z){NC(ta,W,l)|0;sa=c[X>>2]|0;break}sa=ta+8|0;va=c[sa>>2]|0;ua=ta+4|0;wa=c[ua>>2]|0;if(va>>>0>=m>>>0){va=va-m|0;c[sa>>2]=va;sa=wa>>>va&(ba?-1:g);break}wa=(1<<va)+ -1&wa;va=m-va|0;c[sa>>2]=0;if(va>>>0>7){while(1){xa=c[ta>>2]|0;wa=(jd[c[(c[xa>>2]|0)+20>>2]&511](xa)|0)&255|wa<<8;va=va+ -8|0;if(va>>>0>7){}else{break}}}if((va|0)==0){sa=wa;break}ta=c[ta>>2]|0;ta=jd[c[(c[ta>>2]|0)+20>>2]&511](ta)|0;c[ua>>2]=ta;xa=8-va|0;c[sa>>2]=xa;sa=ta>>>xa&(1<<va)+ -1|wa<<va}else if((qa|0)==40){qa=0;sa=KI(c[ea>>2]|0,m,c[ia>>2]|0)|0}}while(0);do{if(sa>>>0<k>>>0){do{if(e){if(d){ua=c[ca>>2]|0;ta=ua+8|0;va=c[ta>>2]|0;if((va|0)==0){va=c[ua>>2]|0;va=jd[c[(c[va>>2]|0)+20>>2]&511](va)|0;c[ua+4>>2]=va;c[ta>>2]=8;ua=va;va=7}else{ua=c[ua+4>>2]|0;va=va+ -1|0}c[ta>>2]=va;ta=ua>>>va&1;c[K>>2]=ta}else{JI(c[ea>>2]|0,U,c[o>>2]|0)|0;ta=c[K>>2]|0}if((ta|0)==0){qa=64;break}if(d){xa=NC(c[ca>>2]|0,T,w)|0;ta=c[ca>>2]|0;if(!xa){qa=82;break a}xa=NC(ta,S,x)|0;ta=c[ca>>2]|0;if(!xa){qa=81;break a}xa=NC(ta,R,y)|0;ta=c[ca>>2]|0;if(!xa){qa=80;break a}xa=NC(ta,Q,z)|0;ta=c[ca>>2]|0;if(!xa){qa=79;break a}xa=NC(ta,P,A)|0;wa=c[ca>>2]|0;c[wa+4>>2]=0;c[wa+8>>2]=0;FI(c[ea>>2]|0);if(!xa){break a}}else{if(!(JI(c[ea>>2]|0,T,c[aa>>2]|0)|0)){break a}if(!(JI(c[ea>>2]|0,S,c[_>>2]|0)|0)){break a}if(!(JI(c[ea>>2]|0,R,c[$>>2]|0)|0)){break a}if(!(JI(c[ea>>2]|0,Q,c[f>>2]|0)|0)){break a}}sa=c[n+(sa<<2)>>2]|0;if((sa|0)==0){break a}wa=c[L>>2]|0;xa=c[M>>2]|0;sa=xD(b,(c[sa+8>>2]|0)+wa|0,(c[sa+12>>2]|0)+xa|0,B,0,sa,(c[N>>2]|0)+(((wa>>31)+wa|0)/2|0)|0,(c[O>>2]|0)+(((xa>>31)+xa|0)/2|0)|0,C,D)|0}else{c[K>>2]=0;qa=64}}while(0);if((qa|0)==64){qa=0;sa=c[n+(sa<<2)>>2]|0}if((sa|0)==0){break a}ta=(c[sa+8>>2]|0)+ -1|0;qa=(c[sa+12>>2]|0)+ -1|0;do{if(ha){if((r|0)==1){WC(Y,sa,pa,ra,p);qa=ta;break}else if((r|0)==0){WC(Y,sa,pa,ra-qa|0,p);qa=ta;break}else if((r|0)==3){WC(Y,sa,pa,ra,p);qa=ta;break}else if((r|0)==2){WC(Y,sa,pa,ra-qa|0,p);qa=ta;break}else{qa=ta;break}}else{if((r|0)==3){WC(Y,sa,ra-ta|0,pa,p);break}else if((r|0)==2){WC(Y,sa,ra-ta|0,pa,p);break}else if((r|0)==1){WC(Y,sa,ra,pa,p);break}else if((r|0)==0){WC(Y,sa,ra,pa,p);break}else{break}}}while(0);pa=qa+pa|0;if((c[K>>2]|0)==0){break}fd[c[(c[sa>>2]|0)+4>>2]&511](sa)}else{xa=c[ga>>2]|0;Qe(jd[c[(c[xa>>2]|0)+48>>2]&511](xa)|0,181960,V)}}while(0);oa=oa+1|0;if(d){if(!(NC(c[ca>>2]|0,G,u)|0)){break b}}else{if(!(JI(c[ea>>2]|0,G,c[q>>2]|0)|0)){break b}}if(oa>>>0<h>>>0){pa=pa+s+(c[F>>2]|0)|0}else{break}}}}while(0);if(oa>>>0>=h>>>0){qa=89;break}}if((qa|0)==79){c[ta+4>>2]=0;c[ta+8>>2]=0;FI(c[ea>>2]|0)}else if((qa|0)==80){c[ta+4>>2]=0;c[ta+8>>2]=0;FI(c[ea>>2]|0)}else if((qa|0)==81){c[ta+4>>2]=0;c[ta+8>>2]=0;FI(c[ea>>2]|0)}else if((qa|0)==82){c[ta+4>>2]=0;c[ta+8>>2]=0;FI(c[ea>>2]|0)}else if((qa|0)==89){i=E;return Y|0}if((Y|0)==0){xa=0;i=E;return xa|0}fd[c[(c[Y>>2]|0)+4>>2]&511](Y);xa=0;i=E;return xa|0}}while(0);do{if((qa|0)==5){Qe(-1,177872,ba);c[Y+20>>2]=0;if((Y|0)==0){Y=0}else{break}i=E;return Y|0}}while(0);fd[c[(c[Y>>2]|0)+4>>2]&511](Y);xa=0;i=E;return xa|0}
7333 function ZR(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;h=i;g=i;i=i+8|0;q=g;j=i;i=i+8|0;k=i;i=i+8|0;l=k;f=c[d+28>>2]|0;m=c[a+712>>2]|0;if((m|0)==0){c[g>>2]=0;B=0;A=0;z=0;lJ(f,z);lJ(f,A);lJ(f,B);B=g;B=c[B>>2]|0;i=h;return B|0}n=a+672|0;if((c[n>>2]|0)==0){c[g>>2]=0;B=0;A=0;z=0;lJ(f,z);lJ(f,A);lJ(f,B);B=g;B=c[B>>2]|0;i=h;return B|0}B=pd[c[a+508>>2]&63](a,1668702578,d,j)|0;c[g>>2]=B;if((B|0)!=0){c[g>>2]=0;B=0;A=0;z=0;lJ(f,z);lJ(f,A);lJ(f,B);B=g;B=c[B>>2]|0;i=h;return B|0}B=MK(d,c[j>>2]|0)|0;c[g>>2]=B;if((B|0)!=0){c[g>>2]=0;B=0;A=0;z=0;lJ(f,z);lJ(f,A);lJ(f,B);B=g;B=c[B>>2]|0;i=h;return B|0}p=d+32|0;u=(c[p>>2]|0)-(c[d>>2]|0)|0;do{if((TK(d)|0)==65536){j=oJ(f,4,0,c[m>>2]|0,0,q)|0;if((c[g>>2]|0)!=0){r=0;o=0;break}o=oJ(f,4,0,c[m>>2]|0,0,q)|0;if((c[g>>2]|0)!=0){r=0;break}r=oJ(f,4,0,c[m>>2]|0,0,q)|0;if((c[g>>2]|0)!=0){break}q=(RK(d)|0)&65535;v=RK(d)|0;q=q&4095;if((q|0)==0){break}a=a+668|0;s=0;v=u+(v&65535)|0;while(1){u=(RK(d)|0)&65535;w=RK(d)|0;x=w&65535;do{if((x&32768|0)==0){if((x&16384|0)==0){break}if((c[m>>2]&2147483647|0)==0){break}else{w=0}do{RK(d)|0;w=w+1|0;}while(w>>>0<c[m>>2]<<1>>>0)}else{if((c[m>>2]|0)==0){z=0}else{y=0;while(1){c[j+(y<<2)>>2]=(RK(d)|0)<<16>>16<<2;y=y+1|0;z=c[m>>2]|0;if(y>>>0<z>>>0){}else{break}}}do{if(!((x&16384|0)==0|(z|0)==0)){z=0;do{c[o+(z<<2)>>2]=(RK(d)|0)<<16>>16<<2;z=z+1|0;y=c[m>>2]|0;}while(z>>>0<y>>>0);if((y|0)==0){break}else{y=0}do{c[r+(y<<2)>>2]=(RK(d)|0)<<16>>16<<2;y=y+1|0;}while(y>>>0<(c[m>>2]|0)>>>0)}}while(0);w=_R(m,w,j,o,r)|0;if((w|0)==0){break}if((x&8192|0)==0){break}x=c[d>>2]|0;y=(c[p>>2]|0)-x|0;c[p>>2]=x+v;x=$R(d,l)|0;A=c[k>>2]|0;B=(A|0)==0;if(B){z=c[a>>2]|0}else{z=A}z=aS(d,z)|0;do{if((x|0)==0|(z|0)==0){t=36}else{if((x|0)==-1){if((c[a>>2]|0)==0){break}else{t=0}while(1){B=e[(c[n>>2]|0)+(t<<1)>>1]|0;B=(aJ(b[z+(t<<1)>>1]|0,w)|0)+B&65535;b[(c[n>>2]|0)+(t<<1)>>1]=B;t=t+1|0;if(t>>>0<(c[a>>2]|0)>>>0){}else{t=36;break}}}else{if(B){t=37;break}else{t=0}while(1){B=e[x+(t<<1)>>1]|0;C=e[(c[n>>2]|0)+(B<<1)>>1]|0;C=(aJ(b[z+(t<<1)>>1]|0,w)|0)+C&65535;b[(c[n>>2]|0)+(B<<1)>>1]=C;t=t+1|0;if(t>>>0<A>>>0){}else{t=36;break}}}}}while(0);if((t|0)==36){t=0;if((x|0)!=-1){t=37}}if((t|0)==37){t=0;lJ(f,x)}lJ(f,z);c[p>>2]=(c[d>>2]|0)+y}}while(0);s=s+1|0;if(s>>>0<q>>>0){v=u+v|0}else{break}}}else{c[g>>2]=0;r=0;o=0;j=0}}while(0);PK(d);C=r;B=o;A=j;lJ(f,A);lJ(f,B);lJ(f,C);C=g;C=c[C>>2]|0;i=h;return C|0}function _R(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;h=i;g=a+4|0;n=c[a>>2]|0;if((n|0)==0){o=65536;i=h;return o|0}if((b&16384)==0){b=65536;l=0;while(1){m=c[d+(l<<2)>>2]|0;if((m|0)!=0){n=c[(c[g>>2]|0)+(l<<2)>>2]|0;if((n|0)==0){b=0;l=19;break}if((n|0)<0&(m|0)>0){b=0;l=19;break}o=(n|0)>0;if(o&(m|0)<0){b=0;l=19;break}b=_I(b,o?n:0-n|0,65536)|0;n=c[a>>2]|0}l=l+1|0;if(l>>>0>=n>>>0){l=19;break}}if((l|0)==19){i=h;return b|0}}else{k=65536;j=0}a:while(1){m=c[d+(j<<2)>>2]|0;do{if((m|0)!=0){l=c[(c[g>>2]|0)+(j<<2)>>2]|0;if((l|0)==0){b=0;l=19;break a}if((l|0)<0&(m|0)>0){b=0;l=19;break a}if((l|0)>0&(m|0)<0){b=0;l=19;break a}b=c[e+(j<<2)>>2]|0;if((l|0)<=(b|0)){b=0;l=19;break a}n=c[f+(j<<2)>>2]|0;if((l|0)>=(n|0)){b=0;l=19;break a}if((l|0)<(m|0)){k=_I(k,_I(l-b|0,65536,m-b|0)|0,65536)|0;break}else{k=_I(k,_I(n-l|0,65536,n-m|0)|0,65536)|0;break}}}while(0);j=j+1|0;if(j>>>0>=(c[a>>2]|0)>>>0){b=k;l=19;break}}if((l|0)==19){i=h;return b|0}return 0}function $R(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;e=i;h=i;i=i+8|0;g=c[a+28>>2]|0;c[h>>2]=0;m=QK(a)|0;f=m&255;c[d>>2]=f;if(m<<24>>24==0){m=-1;i=e;return m|0}if((f&128|0)!=0){f=(QK(a)|0)&255|f<<8&32512}g=oJ(g,2,0,f,0,h)|0;if((c[h>>2]|0)!=0){m=0;i=e;return m|0}if((f|0)>0){j=0}else{m=g;i=e;return m|0}while(1){k=QK(a)|0;h=k&255;if((h&128|0)==0){l=QK(a)|0;d=j+1|0;b[g+(j<<1)>>1]=l&255;if(k<<24>>24==0){a=18;break}if((h+d|0)>=(f|0)){a=18;break}j=h>>>0>1?h:1;l=l&255;k=d;m=0;while(1){l=((QK(a)|0)&255)+l|0;b[g+(k<<1)>>1]=l;m=m+1|0;if((m|0)<(h|0)){k=k+1|0}else{break}}j=d+j|0}else{h=h&127;l=RK(a)|0;d=j+1|0;b[g+(j<<1)>>1]=l;if((h|0)==0){a=18;break}if((h+d|0)>=(f|0)){a=18;break}j=k&127;j=j>>>0>1?j:1;m=l&65535;k=d;l=0;while(1){m=((RK(a)|0)&65535)+m|0;b[g+(k<<1)>>1]=m;l=l+1|0;if((l|0)<(h|0)){k=k+1|0}else{break}}j=d+j|0}if((j|0)>=(f|0)){a=18;break}}if((a|0)==18){i=e;return g|0}return 0}function aS(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=i;q=i;i=i+8|0;k=c[a+28>>2]|0;c[q>>2]=0;h=oJ(k,2,0,d,0,q)|0;if((c[q>>2]|0)==0){g=0}else{q=0;i=e;return q|0}while(1){if(g>>>0>=d>>>0){f=10;break}n=QK(a)|0;j=n&255;if((j&128|0)==0){l=j&63;m=g-d|0;n=~(n&63);m=m>>>0>n>>>0?m:n;n=0-m|0;if((j&64|0)==0){q=g;p=0;while(1){o=q+1|0;b[h+(q<<1)>>1]=(QK(a)|0)<<24>>24;p=p+1|0;if(p>>>0<=l>>>0&o>>>0<d>>>0){q=o}else{break}}}else{p=g;q=0;while(1){o=p+1|0;b[h+(p<<1)>>1]=RK(a)|0;q=q+1|0;if(q>>>0<=l>>>0&o>>>0<d>>>0){p=o}else{break}}}}else{l=g-d|0;m=~(n&63);m=l>>>0>m>>>0?l:m;bX(h+(g<<1)|0,0,dada(I,C)|0;$W(q|0,(c[x>>2]|0)+(H<<2)|0,I<<2|0)|0}else{if((c[f>>2]|0)==0){break}else{C=0}do{c[q+(C<<2)>>2]=(RK(a)|0)<<16>>16<<2;C=C+1|0;}while(C>>>0<(c[f>>2]|0)>>>0)}}while(0);do{if((E&16384|0)!=0){if((c[f>>2]|0)==0){break}else{C=0}do{c[g+(C<<2)>>2]=(RK(a)|0)<<16>>16<<2;C=C+1|0;F=c[f>>2]|0;}while(C>>>0<F>>>0);if((F|0)==0){break}else{C=0}do{c[s+(C<<2)>>2]=(RK(a)|0)<<16>>16<<2;C=C+1|0;}while(C>>>0<(c[f>>2]|0)>>>0)}}while(0);C=_R(f,B,q,g,s)|0;if((C|0)!=0){F=c[a>>2]|0;B=(c[r>>2]|0)-F|0;if((E&8192|0)==0){G=c[m>>2]|0;c[n>>2]=G;H=t}else{c[r>>2]=F+A;H=$R(a,o)|0;G=c[n>>2]|0;D=H}I=(G|0)==0;E=I?j:G;F=aS(a,E)|0;E=aS(a,E)|0;do{if(!((H|0)==0|(E|0)==0|(F|0)==0)){if((H|0)==-1){if(u){break}else{G=0}do{I=aJ(b[F+(G<<1)>>1]|0,C)|0;H=d+(G<<3)|0;c[H>>2]=(c[H>>2]|0)+I;H=aJ(b[E+(G<<1)>>1]|0,C)|0;I=d+(G<<3)+4|0;c[I>>2]=(c[I>>2]|0)+H;G=G+1|0;}while(G>>>0<j>>>0)}else{if(I){break}else{H=0}do{K=aJ(b[F+(H<<1)>>1]|0,C)|0;I=D+(H<<1)|0;J=d+(e[I>>1]<<3)|0;c[J>>2]=(c[J>>2]|0)+K;J=aJ(b[E+(H<<1)>>1]|0,C)|0;I=d+(e[I>>1]<<3)+4|0;c[I>>2]=(c[I>>2]|0)+J;H=H+1|0;}while(H>>>0<G>>>0)}}}while(0);if((D|0)==-1){D=-1}else{lJ(p,D);D=0}lJ(p,F);lJ(p,E);c[r>>2]=(c[a>>2]|0)+B}z=z+1|0;if(z>>>0<v>>>0){A=y+A|0}else{break a}}c[l>>2]=8}}while(0);lJ(p,q);lJ(p,g);lJ(p,s)}}while(0);PK(a);if((c[l>>2]|0)==0){j=0}else{break}i=k;return j|0}}while(0);lJ(p,d);c[h>>2]=0;K=c[l>>2]|0;i=k;return K|0}function fS(f,g){f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=i;m=f+124|0;l=c[(c[f+8>>2]|0)+140>>2]|0;k=f+132|0;p=b[k>>1]|0;o=p&65535;j=f+140|0;n=c[j>>2]|0;r=c[n+(o+ -4<<3)>>2]|0;q=r+32&-64;do{if((q|0)!=(r|0)){q=q-r|0;if(p<<16>>16==0){break}else{p=0}do{r=n+(p<<3)|0;c[r>>2]=q+(c[r>>2]|0);p=p+1|0;}while(p>>>0<o>>>0)}}while(0);o=(l|0)!=0;if(o){$W(c[f+136>>2]|0,c[j>>2]|0,e[k>>1]<<3|0)|0}n=f+160|0;p=f+4|0;$W((c[n>>2]|0)+284|0,(c[p>>2]|0)+172|0,68)|0;if(g<<24>>24==0){c[(c[n>>2]|0)+220>>2]=c[(c[p>>2]|0)+48>>2];c[(c[n>>2]|0)+224>>2]=c[(c[p>>2]|0)+52>>2]}else{c[(c[n>>2]|0)+220>>2]=65536;c[(c[n>>2]|0)+224>>2]=65536;$W(c[f+144>>2]|0,c[j>>2]|0,e[k>>1]<<3|0)|0}r=(c[j>>2]|0)+((e[k>>1]|0)+ -3<<3)|0;c[r>>2]=(c[r>>2]|0)+32&-64;r=(c[j>>2]|0)+((e[k>>1]|0)+ -1<<3)+4|0;c[r>>2]=(c[r>>2]|0)+32&-64;if(o){o=c[(c[f+12>>2]|0)+64>>2]|0;r=c[n>>2]|0;c[r+460>>2]=c[r+392>>2];c[r+464>>2]=l;a[(c[n>>2]|0)+560|0]=g;$W((c[n>>2]|0)+144|0,m|0,36)|0;l=c[n>>2]|0;c[l+356>>2]=c[l+460>>2];c[l+364>>2]=c[l+464>>2];c[l+360>>2]=0;c[l+352>>2]=3;r=l+144|0;$W(l+36|0,r|0,36)|0;$W(l+72|0,r|0,36)|0;$W(l+108|0,r|0,36)|0;b[l+344>>1]=1;b[l+346>>1]=1;b[l+348>>1]=1;r=l+294|0;b[r>>1]=16384;b[l+296>>1]=0;r=e[r>>1]|e[r+2>>1]<<16;m=l+298|0;b[m>>1]=r;b[m+2>>1]=r>>>16;m=l+290|0;b[m>>1]=r;b[m+2>>1]=r>>>16;c[l+312>>2]=1;c[l+304>>2]=1;c[l+16>>2]=0;c[l+428>>2]=0;l=jd[c[(c[l>>2]|0)+688>>2]&511](l)|0;m=c[n>>2]|0;do{if((l|0)!=0){if((a[m+561|0]|0)==0){break}i=h;return l|0}}while(0);a[o]=c[m+340>>2]<<5|d[o]|4}if((a[f+65|0]|0)!=0){r=0;i=h;return r|0}p=e[k>>1]|0;q=c[j>>2]|0;n=q+(p+ -4<<3)|0;o=c[n+4>>2]|0;r=f+68|0;c[r>>2]=c[n>>2];c[r+4>>2]=o;r=q+(p+ -3<<3)|0;o=c[r+4>>2]|0;n=f+76|0;c[n>>2]=c[r>>2];c[n+4>>2]=o;n=q+(p+ -2<<3)|0;o=c[n+4>>2]|0;r=f+184|0;c[r>>2]=c[n>>2];c[r+4>>2]=o;p=q+(p+ -1<<3)|0;q=c[p+4>>2]|0;r=f+192|0;c[r>>2]=c[p>>2];c[r+4>>2]=q;r=0;i=h;return r|0}function gS(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=i;k=i;i=i+8|0;j=k;o=i;i=i+8|0;c[d>>2]=f;c[d+4>>2]=g;if((g|0)!=0){c[d+396>>2]=c[g+116>>2];c[d+400>>2]=c[g+120>>2];c[d+408>>2]=c[g+128>>2];c[d+412>>2]=c[g+132>>2];c[d+404>>2]=c[g+124>>2];c[d+416>>2]=c[g+136>>2];$W(d+244|0,g+72|0,40)|0;$W(d+216|0,g+44|0,28)|0;c[d+420>>2]=c[g+140>>2];c[d+424>>2]=c[g+144>>2];n=g+148|0;p=c[n+4>>2]|0;q=d+444|0;c[q>>2]=c[n>>2];c[q+4>>2]=p;q=g+156|0;p=c[q+4>>2]|0;n=d+452|0;c[n>>2]=c[q>>2];c[n+4>>2]=p;n=g+164|0;p=c[n+4>>2]|0;q=d+460|0;c[q>>2]=c[n>>2];c[q+4>>2]=p;$W(d+284|0,g+172|0,68)|0;c[d+380>>2]=c[g+240>>2];c[d+384>>2]=c[g+244>>2];b[d+468>>1]=b[g+248>>1]|0;c[d+472>>2]=c[g+252>>2];$W(d+180|0,g+256|0,36)|0;q=d+36|0;bX(q|0,0,36)|0;$W(d+72|0,q|0,36)|0;$W(d+108|0,q|0,36)|0}l=d+20|0;m=c[l>>2]|0;p=d+8|0;g=c[p>>2]|0;q=d+24|0;n=(e[f+284>>1]|0)+32|0;do{if(m>>>0<n>>>0){c[q>>2]=oJ(g,1,m<<2,n<<2,c[q>>2]|0,o)|0;if((c[o>>2]|0)==0){g=c[p>>2]|0;m=n;break}c[l>>2]=m;i=h;return}}while(0);c[l>>2]=m;l=d+388|0;m=c[l>>2]|0;n=d+392|0;f=e[f+286>>1]|0;do{if(m>>>0<f>>>0){c[n>>2]=oJ(g,1,m,f,c[n>>2]|0,j)|0;if((c[k>>2]|0)==0){m=f;break}c[l>>2]=m&65535;i=h;return}}while(0);c[l>>2]=m&65535;q=d+144|0;b[d+152>>1]=0;b[d+154>>1]=0;$W(d+72|0,q|0,36)|0;$W(d+108|0,q|0,36)|0;$W(d+36|0,q|0,36)|0;a[d+488|0]=0;i=h;return}function hS(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;f=c[b>>2]|0;e=b+292|0;if((a[e]|0)==0){g=(c[f+96>>2]|0)+40|0}else{g=b+296|0}g=c[g>>2]|0;if((g|0)==0){j=153;i=d;return j|0}gS(g,f,b);c[g+428>>2]=0;c[g+16>>2]=0;a[g+488|0]=0;j=c[f+664>>2]|0;k=f+660|0;h=c[k>>2]|0;c[g+452>>2]=j;c[g+456>>2]=h;c[g+460>>2]=0;c[g+464>>2]=0;do{if((c[k>>2]|0)==0){e=0}else{c[g+356>>2]=j;c[g+364>>2]=h;c[g+360>>2]=0;c[g+352>>2]=2;if((a[e]|0)!=0){e=0;break}e=jd[c[f+688>>2]&511](g)|0}}while(0);$W(b+172|0,g+284|0,68)|0;c[b+116>>2]=c[g+396>>2];c[b+128>>2]=c[g+408>>2];c[b+140>>2]=c[g+420>>2];c[b+144>>2]=c[g+424>>2];h=g+444|0;j=c[h+4>>2]|0;k=b+148|0;c[k>>2]=c[h>>2];c[k+4>>2]=j;k=g+452|0;j=c[k+4>>2]|0;h=b+156|0;c[h>>2]=c[k>>2];c[h+4>>2]=j;h=g+460|0;j=c[h+4>>2]|0;k=b+164|0;c[k>>2]=c[h>>2];c[k+4>>2]=j;k=e;i=d;return k|0}function iS(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;j=i;p=i;i=i+8|0;u=p;r=i;i=i+8|0;s=i;i=i+24|0;t=s;h=i;i=i+8|0;n=h;c[h>>2]=0;k=c[d+100>>2]|0;l=d+708|0;a[l]=0;o=d+712|0;m=c[o>>2]|0;do{if((m|0)==0){B=jS(d,0)|0;c[h>>2]=B;if((B|0)==0){m=c[o>>2]|0;break}else{B=h;B=c[B>>2]|0;i=j;return B|0}}}while(0);A=m+8|0;if((c[c[A>>2]>>2]|0)!=(f|0)){c[h>>2]=6;B=h;B=c[B>>2]|0;i=j;return B|0}o=(f|0)==0;a:do{if(!o){q=0;while(1){v=q+1|0;if(((c[g+(q<<2)>>2]|0)+65536|0)>>>0>131072){break}if(v>>>0<f>>>0){q=v}else{break a}}c[h>>2]=6;B=h;B=c[B>>2]|0;i=j;return B|0}}while(0);x=m+36|0;do{if((c[x>>2]|0)==0){q=c[d+104>>2]|0;v=c[q+28>>2]|0;r=pd[c[d+508>>2]&63](d,1735811442,q,r)|0;c[p>>2]=r;b:do{if((r|0)==0){w=IK(q)|0;r=ZK(q,274592,t)|0;c[p>>2]=r;if((r|0)!=0){A=r;break}r=m+24|0;c[r>>2]=e[t+6>>1]|0;B=e[t+12>>1]|0;z=m+32|0;c[z>>2]=B;y=(c[t+16>>2]|0)+w|0;do{if((c[s>>2]|0)==65536){s=t+4|0;if((b[s>>1]|0)!=(c[c[A>>2]>>2]&65535)<<16>>16){break}c[x>>2]=oJ(v,4,0,B+1|0,0,u)|0;A=c[p>>2]|0;if((A|0)!=0){break b}A=(c[z>>2]|0)+1|0;if((b[t+14>>1]&1)==0){A=MK(q,A<<1)|0;c[p>>2]=A;if((A|0)==0){A=0}else{break b}do{B=(((RK(q)|0)&65535)<<1)+y|0;c[(c[x>>2]|0)+(A<<2)>>2]=B;A=A+1|0;}while(A>>>0<=(c[z>>2]|0)>>>0);PK(q)}else{A=MK(q,A<<2)|0;c[p>>2]=A;if((A|0)==0){A=0}else{break b}do{B=(TK(q)|0)+y|0;c[(c[x>>2]|0)+(A<<2)>>2]=B;A=A+1|0;}while(A>>>0<=(c[z>>2]|0)>>>0);PK(q)}y=c[r>>2]|0;if((y|0)!=0){x=m+28|0;c[x>>2]=oJ(v,4,0,da(e[s>>1]|0,y)|0,0,u)|0;A=c[p>>2]|0;if((A|0)!=0){break b}A=PJ(q,(c[t+8>>2]|0)+w|0)|0;c[p>>2]=A;if((A|0)!=0){break b}A=MK(q,da(c[r>>2]<<1,e[s>>1]|0)|0)|0;c[p>>2]=A;if((A|0)!=0){break b}u=c[r>>2]|0;if((u|0)!=0){v=b[s>>1]|0;t=0;do{if(v<<16>>16==0){v=0}else{u=0;do{B=(RK(q)|0)<<16>>16<<2;v=(da(e[s>>1]|0,t)|0)+u|0;c[(c[x>>2]|0)+(v<<2)>>2]=B;u=u+1|0;v=b[s>>1]|0;}while(u>>>0<(v&65535)>>>0);u=c[r>>2]|0}t=t+1|0;}while(t>>>0<u>>>0)}PK(q)}A=c[p>>2]|0;break b}}while(0);c[p>>2]=8;A=8}else{A=r}}while(0);c[h>>2]=A;if((A|0)==0){break}B=h;B=c[B>>2]|0;i=j;return B|0}}while(0);q=m+4|0;p=c[q>>2]|0;c:do{if((p|0)==0){p=oJ(k,4,0,f,0,n)|0;c[q>>2]=p;if((c[h>>2]|0)==0){n=1;break}B=h;B=c[B>>2]|0;i=j;return B|0}else{if(o){n=0;break}else{n=0}while(1){o=n+1|0;if((c[p+(n<<2)>>2]|0)!=(c[g+(n<<2)>>2]|0)){n=2;break c}if(o>>>0<f>>>0){n=o}else{n=0;break}}}}while(0);c[m>>2]=f;$W(p|0,g|0,f<<2|0)|0;a[l]=1;l=d+672|0;g=c[l>>2]|0;if((g|0)==0){B=h;B=c[B>>2]|0;i=j;return B|0}if((n|0)==1){ZR(d,c[d+104>>2]|0)|0;B=h;B=c[B>>2]|0;i=j;return B|0}else if((n|0)==2){lJ(k,g);c[l>>2]=0;TR(d,c[d+104>>2]|0)|0;B=h;B=c[B>>2]|0;i=j;return B|0}else{B=h;B=c[B>>2]|0;i=j;return B|0}return 0}function jS(d,f){d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;h=i;r=i;i=i+8|0;o=r;g=i;i=i+8|0;m=g;n=i;i=i+16|0;s=n;p=i;i=i+24|0;q=p;k=c[d+104>>2]|0;l=c[d+100>>2]|0;c[g>>2]=0;j=d+712|0;a:do{if((c[j>>2]|0)==0){t=d+508|0;x=pd[c[t>>2]&63](d,1735811442,k,o)|0;c[g>>2]=x;if((x|0)!=0){x=g;x=c[x>>2]|0;i=h;return x|0}x=pd[c[t>>2]&63](d,1719034226,k,o)|0;c[g>>2]=x;if((x|0)!=0){x=g;x=c[x>>2]|0;i=h;return x|0}d=IK(k)|0;x=ZK(k,274480,s)|0;c[g>>2]=x;if((x|0)!=0){x=g;x=c[x>>2]|0;i=h;return x|0}do{if((c[n>>2]|0)==65536){if((b[s+6>>1]|0)!=2){break}if((b[s+10>>1]|0)!=20){break}o=s+8|0;x=b[o>>1]|0;u=x&65535;if((x&65535)>16382){break}v=e[s+14>>1]|0;if((v|0)!=((u<<2)+4|0)){break}n=s+12|0;t=b[n>>1]|0;if((t&65535)>32511){break}s=s+4|0;x=(da(t&65535,v)|0)+(u*20|0)+(e[s>>1]|0)|0;if(x>>>0>(c[r>>2]|0)>>>0){break}r=jJ(l,40,m)|0;c[j>>2]=r;if((c[g>>2]|0)!=0){x=g;x=c[x>>2]|0;i=h;return x|0}x=e[n>>1]|0;c[r+12>>2]=(x<<3)+20+(dada(d,a)|0,0,j)|0;c[b>>2]=h;if((c[e>>2]|0)==0&a>>>0>1){j=1}else{n=e;n=c[n>>2]|0;i=f;return n|0}while(1){c[g+24+(j<<2)>>2]=h+((dada(c[D>>2]|0,C)|0)|0;c[m>>2]=U;if((U|0)!=0){break}E=0;G=c[t>>2]|0;do{F=c[D>>2]&255;if(F<<24>>24==0){I=0}else{J=F;H=G;I=0;while(1){I=d[H]|I<<8;J=J+ -1<<24>>24;if(J<<24>>24==0){break}else{H=H+1|0}}G=G+((F+ -1<<24>>24&255)+1)|0}c[A+(E<<2)>>2]=I;E=E+1|0;}while(E>>>0<=y>>>0);PK(r);E=(c[A+(y<<2)>>2]|0)-(c[A>>2]|0)|0;D=x+4|0;c[D>>2]=oJ(p,4,0,C,0,n)|0;if((c[m>>2]|0)!=0){break}U=jJ(p,E,n)|0;c[c[D>>2]>>2]=U;if((c[m>>2]|0)!=0){break}U=PJ(r,(c[A>>2]|0)+(c[u>>2]|0)|0)|0;c[m>>2]=U;if((U|0)!=0){break}U=CK(r,c[c[D>>2]>>2]|0,E)|0;c[m>>2]=U;if((U|0)!=0){break}do{if((y|0)!=0){C=1;do{T=C+ -1|0;U=c[D>>2]|0;c[U+(C<<2)>>2]=(c[U+(T<<2)>>2]|0)+((c[A+(C<<2)>>2]|0)-(c[A+(T<<2)>>2]|0));C=C+1|0;}while(C>>>0<=y>>>0);if((B|0)<0){break}else{C=0}while(1){B=C+1|0;Gd[c[v>>2]&255](c[(c[D>>2]|0)+(C<<2)>>2]|0,(c[A+(B<<2)>>2]|0)-(c[A+(C<<2)>>2]|0)|0,4330);if(B>>>0<y>>>0){C=B}else{break}}}}while(0);c[x>>2]=y;w=w+1|0;if((w|0)<(c[q>>2]|0)){x=x+8|0}else{break i}}r=c[o>>2]|0;if((r|0)==0){break}if((c[q>>2]|0)>0){n=0;do{r=c[r+(n<<3)+4>>2]|0;if((r|0)==0){r=0}else{lJ(p,c[r>>2]|0);c[c[(c[o>>2]|0)+(n<<3)+4>>2]>>2]=0;r=c[(c[o>>2]|0)+(n<<3)+4>>2]|0}lJ(p,r);c[(c[o>>2]|0)+(n<<3)+4>>2]=0;n=n+1|0;r=c[o>>2]|0}while((n|0)<(c[q>>2]|0))}lJ(p,r);c[o>>2]=0}else{A=0}}while(0);lJ(p,A);c[l>>2]=c[m>>2];break}c[l>>2]=M}else{k=36}}while(0);if((k|0)==36){c[l>>2]=T}m=j+76|0;if((c[m>>2]|0)!=0){NK(c[e>>2]|0,m)}fd[c[j+24>>2]&511](j);j=c[l>>2]|0;if((j|0)!=0|(g|0)<0){U=j;i=h;return U|0}if((g|0)!=0){U=6;i=h;return U|0}g=f+140|0;j=g+24|0;c[f+16>>2]=c[g+156>>2];c[f+36>>2]=0;c[f+4>>2]=0;c[f+8>>2]=(a[g+48|0]|0)==0?2065:2069;n=c[g+36>>2]|0;m=f+20|0;c[m>>2]=n;l=f+24|0;c[l>>2]=277752;j:do{if((n|0)==0){k=c[g>>2]|0;if((k|0)==0){break}c[m>>2]=k}else{e=c[g+32>>2]|0;if((e|0)==0){break}m=a[e]|0;if(m<<24>>24==0){break}k:while(1){while(1){o=a[n]|0;if(m<<24>>24==o<<24>>24){k=137;break}if(m<<24>>24==45|m<<24>>24==32){break}if(o<<24>>24==0){break k}else if(!(o<<24>>24==45|o<<24>>24==32)){break j}if(m<<24>>24==0){break j}else{n=n+1|0}}if((k|0)==137){k=0;n=n+1|0}e=e+1|0;m=a[e]|0;if(m<<24>>24==0){break j}}c[l>>2]=e}}while(0);l=f+12|0;k=(c[g+44>>2]|0)!=0|0;c[l>>2]=k;m=c[g+40>>2]|0;do{if((m|0)!=0){if((Qc(m|0,277760)|0)!=0){if((Qc(m|0,277768)|0)!=0){break}}c[l>>2]=k|2}}while(0);c[f+28>>2]=0;c[f+32>>2]=0;c[f+52>>2]=c[g+56>>2]>>16;l=c[g+60>>2]>>16;c[f+56>>2]=l;c[f+60>>2]=(c[g+64>>2]|0)+65535>>16;k=(c[g+68>>2]|0)+65535>>16;c[f+64>>2]=k;m=f+68|0;e=b[m>>1]|0;if(e<<16>>16==0){b[m>>1]=1e3;e=1e3}U=k&65535;b[f+70>>1]=U;k=l&65535;b[f+72>>1]=k;l=((((e&65535)*12|0)>>>0)/10|0)&65535;k=(U<<16>>16)-(k<<16>>16)|0;b[f+74>>1]=(l<<16>>16|0)<(k|0)?k&65535:l;b[f+80>>1]=b[j+26>>1]|0;b[f+82>>1]=b[g+52>>1]|0;U=0;i=h;return U|0}function gT(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;h=i;if((a|0)==0){i=h;return}g=a+140|0;f=g+24|0;b=c[a+100>>2]|0;d=a+316|0;l=c[d>>2]|0;e=g+160|0;if((l|0)!=0){j=c[e>>2]|0;if((j|0)>0){k=0;do{m=l+(k<<3)+4|0;n=c[m>>2]|0;if((n|0)!=0){lJ(b,c[n>>2]|0);c[c[m>>2]>>2]=0;lJ(b,c[m>>2]|0);c[m>>2]=0;l=c[d>>2]|0;j=c[e>>2]|0}k=k+1|0;}while((k|0)<(j|0))}lJ(b,l);c[d>>2]=0}lJ(b,c[f>>2]|0);c[f>>2]=0;n=g+28|0;lJ(b,c[n>>2]|0);c[n>>2]=0;n=g+32|0;lJ(b,c[n>>2]|0);c[n>>2]=0;n=g+36|0;lJ(b,c[n>>2]|0);c[n>>2]=0;n=g+40|0;lJ(b,c[n>>2]|0);c[n>>2]=0;n=g+164|0;lJ(b,c[n>>2]|0);c[n>>2]=0;c[e>>2]=0;lJ(b,c[g>>2]|0);c[g>>2]=0;n=g+12|0;lJ(b,c[n>>2]|0);c[n>>2]=0;n=g+16|0;lJ(b,c[n>>2]|0);c[n>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;n=a+324|0;lJ(b,c[n>>2]|0);c[n>>2]=0;n=a+328|0;lJ(b,c[n>>2]|0);c[n>>2]=0;i=h;return}function hT(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=i;i=i+8|0;e=c[a>>2]|0;f=c[e+320>>2]|0;e=mK(c[(c[e+96>>2]|0)+4>>2]|0,277728)|0;if((e|0)==0|(f|0)==0){f=0;i=b;return f|0}f=c[f>>2]|0;if((f|0)==0){f=0;i=b;return f|0}e=jd[f&511](e)|0;if((e|0)==0){f=0;i=b;return f|0}f=c[a>>2]|0;e=sd[c[e>>2]&127](c[f+100>>2]|0,(c[f+304>>2]|0)+((c[f+4>>2]|0)*252|0)|0,d)|0;if((e|0)!=0){f=e;i=b;return f|0}c[a+40>>2]=c[d>>2];f=0;i=b;return f|0}function iT(a){a=a|0;var b=0,d=0,e=0;b=i;d=a+40|0;if((c[d>>2]|0)==0){i=b;return}a=c[a>>2]|0;e=c[a+320>>2]|0;a=mK(c[(c[a+96>>2]|0)+4>>2]|0,277728)|0;do{if(!((a|0)==0|(e|0)==0)){e=c[e>>2]|0;if((e|0)==0){break}a=jd[e&511](a)|0;if((a|0)==0){break}fd[c[a+8>>2]&511](c[d>>2]|0)}}while(0);c[d>>2]=0;i=b;return}function jT(a){a=a|0;var b=0,d=0,e=0;b=i;e=c[a+4>>2]|0;d=c[e+320>>2]|0;if((d|0)==0){i=b;return 0}e=mK(c[(c[e+96>>2]|0)+4>>2]|0,277728)|0;if((e|0)==0){i=b;return 0}e=jd[c[d+4>>2]&511](e)|0;c[(c[a+156>>2]|0)+36>>2]=e;i=b;return 0}function kT(a){a=a|0;c[(c[a+156>>2]|0)+36>>2]=0;i=i;return}function lT(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;j=i;n=i;i=i+1504|0;s=i;i=i+16|0;v=s;l=i;i=i+16|0;k=l;u=i;i=i+8|0;w=u;x=c[d+4>>2]|0;t=c[x+136>>2]|0;if((c[x+16>>2]|0)>>>0<=g>>>0){C=6;i=j;return C|0}h=(h&1024|0)==0?h:h|3;r=d+164|0;c[r>>2]=c[f+16>>2];q=d+168|0;c[q>>2]=c[f+20>>2];m=d+108|0;b[d+110>>1]=0;b[m>>1]=0;z=(h&1|0)==0;if(z){p=(h>>>1&1^1)&255}else{p=0}y=d+72|0;c[y>>2]=1869968492;t=t+12|0;A=Fd[c[c[t>>2]>>2]&7](n,x,f,d,0,0,p,h>>>16&15,201)|0;if((A|0)!=0){C=A;i=j;return C|0}B=h&1024;a[n+69|0]=B>>>10;g=nT(n,g)|0;if((g|0)!=0){C=g;i=j;return C|0}$W(s|0,n+1376|0,16)|0;A=c[n+1392>>2]|0;g=c[n+1396>>2]|0;fd[c[(c[t>>2]|0)+4>>2]&511](n);C=d+124|0;c[C>>2]=c[C>>2]&1|4;if((B|0)!=0){C=c[d+156>>2]|0;c[d+32>>2]=(ZI(c[n+32>>2]|0)|0)>>16;c[d+40>>2]=(ZI(c[n+40>>2]|0)|0)>>16;$W(C+12|0,s|0,16)|0;c[C+28>>2]=A;c[C+32>>2]=g;a[C+8|0]=1;C=0;i=j;return C|0}t=d+24|0;B=n+40|0;s=d+40|0;c[s>>2]=(ZI(c[B>>2]|0)|0)>>16;c[d+56>>2]=(ZI(c[B>>2]|0)|0)>>16;a[(c[d+156>>2]|0)+8|0]=0;B=x+140|0;B=(c[B+68>>2]|0)-(c[B+60>>2]|0)>>16;x=d+52|0;c[x>>2]=B;c[d+60>>2]=B;c[y>>2]=1869968492;if((e[f+14>>1]|0)<24){c[C>>2]=c[C>>2]|256}GJ(m,v);HJ(m,A,g);c[u>>2]=c[s>>2];C=w+4|0;c[C>>2]=0;IJ(w,v);c[s>>2]=(c[u>>2]|0)+A;c[u>>2]=0;c[C>>2]=c[x>>2];IJ(w,v);c[x>>2]=(c[C>>2]|0)+g;if(z){u=c[n+16>>2]|0;f=c[u+4>>2]|0;r=c[r>>2]|0;q=c[q>>2]|0;if(p<<24>>24==0){o=13}else{if((c[n+72>>2]|0)==0){o=13}}do{if((o|0)==13){n=b[u+2>>1]|0;if(n<<16>>16<=0){break}n=n<<16>>16;while(1){c[f>>2]=aJ(c[f>>2]|0,r)|0;C=f+4|0;c[C>>2]=aJ(c[C>>2]|0,q)|0;n=n+ -1|0;if((n|0)>0){f=f+8|0}else{break}}}}while(0);c[s>>2]=aJ(c[s>>2]|0,r)|0;c[x>>2]=aJ(c[x>>2]|0,q)|0}zK(m,k);B=c[l>>2]|0;c[t>>2]=(c[k+8>>2]|0)-B;C=c[k+12>>2]|0;c[d+28>>2]=C-(c[k+4>>2]|0);c[d+32>>2]=B;c[d+36>>2]=C;if((h&16|0)==0){C=0;i=j;return C|0}XJ(t,c[x>>2]|0);C=0;i=j;return C|0}function mT(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;_J(c[a>>2]|0,b);b=c[a>>2]|0;e=c[b+320>>2]|0;b=mK(c[(c[b+96>>2]|0)+4>>2]|0,277728)|0;if((b|0)==0|(e|0)==0){i=d;return 0}e=c[e>>2]|0;if((e|0)==0){i=d;return 0}b=jd[e&511](b)|0;if((b|0)==0){i=d;return 0}Cd[c[b+4>>2]&63](c[a+40>>2]|0,c[a+16>>2]|0,c[a+20>>2]|0,0,0)|0;i=d;return 0}function nT(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;e=i;j=i;i=i+8|0;p=j;t=i;i=i+8|0;r=t;h=i;i=i+16|0;f=h;o=c[a+4>>2]|0;n=o+140|0;q=c[o+328>>2]|0;c[j>>2]=0;m=c[o+100>>2]|0;l=c[o+136>>2]|0;k=c[(c[o+128>>2]|0)+52>>2]|0;g=(k|0)!=0;do{if(g){q=k+4|0;s=sd[c[c[k>>2]>>2]&127](c[q>>2]|0,b,r)|0;c[j>>2]=s;if((s|0)!=0){A=s;i=e;return A|0}u=n+148|0;v=c[u>>2]|0;x=v&255;if(x<<24>>24==0){s=0}else{w=c[t>>2]|0;s=0;while(1){s=d[w]|0|s<<8;x=x+ -1<<24>>24;if(x<<24>>24==0){break}else{w=w+1|0}}}w=c[r+4>>2]|0;do{if((w|0)==0){p=0;t=0}else{v=w-v|0;p=jJ(m,v,p)|0;if((c[j>>2]|0)!=0){t=v;break}$W(p|0,(c[t>>2]|0)+(c[u>>2]|0)|0,v|0)|0;t=v}}while(0);hd[c[(c[k>>2]|0)+4>>2]&127](c[q>>2]|0,r);q=c[j>>2]|0;if((q|0)==0){break}i=e;return q|0}else{s=n+148|0;u=n+152|0;t=(c[u>>2]|0)+(c[s>>2]|0)|0;r=n+168|0;v=PJ(q,(c[n+144>>2]|0)+(c[r>>2]|0)+(dada(o?6:4,h)|0)+(o?148:118)|0;l=(d[p+(r|1)|0]<<8&65535|d[p+r|0])<<16>>16;h=f+80|0;c[h>>2]=l;q=p+(r+2)|0;if(o){o=d[p+(r+4)|0]<<16|d[p+(r+5)|0]<<24|d[p+(r+3)|0]<<8|d[q]}else{o=(d[p+(r+3)|0]<<8&65535|d[q])&65535}r=g+8|0;if(o>>>0>=(c[r>>2]|0)>>>0){c[k>>2]=3;t=3;i=j;return t|0}p=c[m>>2]|0;s=c[(c[f+4>>2]|0)+100>>2]|0;q=l+7>>3;l=f+84|0;c[l>>2]=q;t=e[g+96>>1]|0;m=f+76|0;c[m>>2]=t;a[f+94|0]=1;u=(da(q,t)|0)+o|0;if(u>>>0>=(c[r>>2]|0)>>>0){c[k>>2]=3;u=3;i=j;return u|0}n=oJ(s,t,0,q,0,n)|0;c[f+88>>2]=n;r=c[k>>2]|0;if((r|0)!=0){u=r;i=j;return u|0}a:do{if((q|0)>0){p=p+o|0;while(1){u=c[m>>2]|0;o=p+u|0;if((u|0)>0){r=p;p=n;while(1){a[p]=a[r]|0;r=r+1|0;if(r>>>0<o>>>0){p=p+(c[l>>2]|0)|0}else{p=r;break}}}q=q+ -1|0;if((q|0)<=0){break a}n=n+1|0}}}while(0);c[(c[f+156>>2]|0)+4>>2]=1;c[f+100>>2]=0;s=e[g+80>>1]|0;c[f+104>>2]=s;c[f+72>>2]=1651078259;r=c[h>>2]<<6;t=f+24|0;c[t>>2]=r;u=c[m>>2]<<6;c[f+28>>2]=u;c[f+40>>2]=r;c[f+32>>2]=0;c[f+36>>2]=s<<6;XJ(t,u);u=c[k>>2]|0;i=j;return u|0}}while(0);c[k>>2]=6;u=6;i=j;return u|0}function YT(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,j=0;g=i;d=c[a>>2]|0;f=c[d+132>>2]|0;h=c[b+16>>2]|0;j=c[b+8>>2]|0;if((h|0)!=0){j=((dada(u,x<<16>>16)|0)/72|0;c[y>>2]=u}else{u=v}if((w|0)==0|x<<16>>16==0){p=236;break}c[s+8>>2]=(da(u,w)|0)/(x<<16>>16|0)|0}}while(0);if((p|0)==236){c[s+8>>2]=u}s=c[q+56>>2]|0;x=oJ(l,8,0,c[r>>2]|0,0,m)|0;u=f+144|0;c[u>>2]=x;v=c[g>>2]|0;if((v|0)!=0){Q=v;i=j;return Q|0}w=f+164|0;c[w>>2]=0;t:do{if((c[r>>2]|0)!=0){v=q+36|0;y=0;while(1){Q=s+(y*36|0)+4|0;c[x+(y<<3)>>2]=c[Q>>2];b[(c[u>>2]|0)+(y<<3)+4>>1]=y;if((c[Q>>2]|0)==(c[v>>2]|0)){c[w>>2]=y}y=y+1|0;if(y>>>0>=(c[r>>2]|0)>>>0){break t}x=c[u>>2]|0}}}while(0);u:do{if(!t){s=(c[q+72>>2]|0)==0;if(s){break}t=c[q+128>>2]|0;r=c[t+12>>2]|0;t=c[t+4>>2]|0;v=r+((3781719536%(t>>>0)|0)<<2)|0;u=c[v>>2]|0;if((u|0)==0){r=0}else{t=r+(t+ -1<<2)|0;while(1){w=c[u>>2]|0;if((a[w]|0)==67){if((Qc(w|0,283680)|0)==0){p=251;break}}u=v+ -4|0;v=u>>>0<r>>>0?t:u;u=c[v>>2]|0;if((u|0)==0){r=0;break}}do{if((p|0)==251){if((u|0)==0){r=0;break}r=(c[q+80>>2]|0)+(c[u+4>>2]<<4)|0}}while(0);if(s){break}}t=c[q+128>>2]|0;s=c[t+12>>2]|0;t=c[t+4>>2]|0;v=s+((1888187142%(t>>>0)|0)<<2)|0;u=c[v>>2]|0;if((u|0)==0){break}t=s+(t+ -1<<2)|0;while(1){w=c[u>>2]|0;if((a[w]|0)==67){if((Qc(w|0,283704)|0)==0){break}}u=v+ -4|0;v=u>>>0<s>>>0?t:u;u=c[v>>2]|0;if((u|0)==0){break u}}if((u|0)==0){break}s=c[q+80>>2]|0;t=c[u+4>>2]|0;if((r|0)==0|(s+(t<<4)|0)==0){break}if((c[r+4>>2]|0)!=1){break}if((c[s+(t<<4)+4>>2]|0)!=1){break}q=r+12|0;if((c[q>>2]|0)==0){break}r=c[s+(t<<4)+12>>2]|0;if((r|0)==0){break}n=f+132|0;c[n>>2]=aL(l,r,m)|0;o=c[g>>2]|0;if((o|0)!=0){Q=o;i=j;return Q|0}m=aL(l,c[q>>2]|0,m)|0;c[f+136>>2]=m;l=c[g>>2]|0;if((l|0)!=0){Q=l;i=j;return Q|0}Q=a[m]|0;do{if(Q<<24>>24==73|Q<<24>>24==105){Q=a[m+1|0]|0;if(!(Q<<24>>24==83|Q<<24>>24==115)){p=273;break}Q=a[m+2|0]|0;if(!(Q<<24>>24==79|Q<<24>>24==111)){p=273;break}l=m+3|0;if((Qc(l|0,283728)|0)!=0){if((Qc(l|0,283736)|0)!=0){p=273;break}if((Qc(c[n>>2]|0,283744)|0)!=0){p=273;break}}c[k>>2]=f;Q=h+4|0;P=Q;c[P>>2]=0;c[P+4>>2]=0;c[Q>>2]=1970170211;b[h+8>>1]=3;b[h+10>>1]=1}else{p=273}}while(0);if((p|0)==273){c[k>>2]=f;Q=h+4|0;c[Q>>2]=0;c[Q+4>>2]=0}Q=eK(283424,0,h,0)|0;c[g>>2]=Q;i=j;return Q|0}}while(0);c[n>>2]=f;c[o+4>>2]=1094995778;b[o+8>>1]=7;b[o+10>>1]=0;h=eK(283424,0,o,0)|0;c[g>>2]=h;if((c[f+36>>2]|0)==0){Q=h;i=j;return Q|0}c[f+92>>2]=c[c[f+40>>2]>>2];Q=h;i=j;return Q|0}else{Q=t;i=j;return Q|0}return 0}function RU(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;if((a|0)==0){i=b;return}e=c[a+100>>2]|0;d=a+140|0;VU(c[d>>2]|0);f=a+144|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=a+132|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=a+136|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=a+20|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=a+24|0;lJ(e,c[f>>2]|0);c[f>>2]=0;a=a+32|0;lJ(e,c[a>>2]|0);c[a>>2]=0;lJ(e,c[d>>2]|0);c[d>>2]=0;i=b;return}function SU(d,f,g,h){d=d|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;h=i;l=c[f>>2]|0;f=l+140|0;k=c[f>>2]|0;j=e[k+16518>>1]|0;if((l|0)==0){n=6;i=h;return n|0}if((c[l+16>>2]|0)>>>0<=g>>>0){n=6;i=h;return n|0}if((g|0)==0){n=c[l+164>>2]|0}else{n=g+ -1|0}r=c[k+56>>2]|0;k=b[r+(n*36|0)+10>>1]|0;q=b[r+(n*36|0)+12>>1]|0;m=b[r+(n*36|0)+16>>1]|0;g=b[r+(n*36|0)+20>>1]|0;o=c[r+(n*36|0)+24>>2]|0;p=c[r+(n*36|0)+28>>2]|0;l=d+76|0;c[l>>2]=e[r+(n*36|0)+14>>1]|0;n=d+80|0;c[n>>2]=q&65535;c[d+84>>2]=p;BJ(d,o);if((j|0)==4){a[d+94|0]=4}else if((j|0)==2){a[d+94|0]=3}else if((j|0)==8){a[d+94|0]=2;b[d+92>>1]=256}else if((j|0)==1){a[d+94|0]=1}c[d+72>>2]=1651078259;p=m<<16>>16;c[d+100>>2]=p;q=g<<16>>16;c[d+104>>2]=q;r=d+24|0;c[d+40>>2]=(k&65535)<<6;c[d+32>>2]=p<<6;c[d+36>>2]=q<<6;c[r>>2]=c[n>>2]<<6;c[d+28>>2]=c[l>>2]<<6;XJ(r,(e[(c[f>>2]|0)+6>>1]|0)<<6);r=0;i=h;return r|0}function TU(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,j=0;g=i;d=c[a>>2]|0;f=c[d+140>>2]|0;h=c[b+16>>2]|0;j=c[b+8>>2]|0;if((h|0)!=0){j=((da(j,h)|0)+36|0)/72|0}h=j+32>>6;b=c[b>>2]|0;if((b|0)==0){b=(c[(c[d+32>>2]|0)+12>>2]|0)+32>>6}else if((b|0)==1){b=(c[f+44>>2]|0)+(c[f+40>>2]|0)|0}else{j=7;i=g;return j|0}b=(h|0)==(b|0);if(!b){j=b?0:23;i=g;return j|0}YJ(d,0);c[a+24>>2]=c[f+40>>2]<<6;c[a+28>>2]=0-(c[f+44>>2]|0)<<6;c[a+36>>2]=(e[f+4>>1]|0)<<6;j=0;i=g;return j|0}function UU(a,b){a=a|0;b=b|0;var d=0,f=0,g=0;d=i;g=c[a>>2]|0;f=c[g+140>>2]|0;YJ(g,b);c[a+24>>2]=c[f+40>>2]<<6;c[a+28>>2]=0-(c[f+44>>2]|0)<<6;c[a+36>>2]=(e[f+4>>1]|0)<<6;i=d;return 0}function VU(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;if((a|0)==0){i=d;return}b=c[a+16520>>2]|0;lJ(b,c[a>>2]|0);c[a>>2]=0;f=a+128|0;g=c[f>>2]|0;if((g|0)!=0){e=c[g+4>>2]|0;g=g+12|0;if((e|0)>0){h=c[g>>2]|0;j=0;while(1){lJ(b,c[h>>2]|0);c[h>>2]=0;j=j+1|0;if((j|0)<(e|0)){h=h+4|0}else{break}}}lJ(b,c[g>>2]|0);c[g>>2]=0;lJ(b,c[f>>2]|0);c[f>>2]=0}f=a+84|0;lJ(b,c[f>>2]|0);c[f>>2]=0;f=a+72|0;g=c[f>>2]|0;e=a+80|0;j=c[e>>2]|0;if((g|0)!=0){h=0;do{if((c[j+(h<<4)+4>>2]|0)==1){lJ(b,c[j+(h<<4)+12>>2]|0);c[(c[e>>2]|0)+(h<<4)+12>>2]=0;j=c[e>>2]|0;g=c[f>>2]|0}h=h+1|0;}while(h>>>0<g>>>0)}lJ(b,j);c[e>>2]=0;e=a+56|0;g=a+52|0;if((c[g>>2]|0)!=0){f=c[e>>2]|0;h=0;while(1){lJ(b,c[f>>2]|0);c[f>>2]=0;j=f+24|0;lJ(b,c[j>>2]|0);c[j>>2]=0;h=h+1|0;if(h>>>0<(c[g>>2]|0)>>>0){f=f+36|0}else{break}}}h=a+68|0;g=a+64|0;if((c[g>>2]|0)!=0){f=c[h>>2]|0;j=0;while(1){lJ(b,c[f>>2]|0);c[f>>2]=0;k=f+24|0;lJ(b,c[k>>2]|0);c[k>>2]=0;j=j+1|0;if(j>>>0<(c[g>>2]|0)>>>0){f=f+36|0}else{break}}}lJ(b,c[e>>2]|0);c[e>>2]=0;lJ(b,c[h>>2]|0);c[h>>2]=0;g=a+104|0;f=a+112|0;if((c[f>>2]|0)!=0){e=c[g>>2]|0;h=0;while(1){lJ(b,c[e>>2]|0);c[e>>2]=0;k=e+24|0;lJ(b,c[k>>2]|0);c[k>>2]=0;h=h+1|0;if(h>>>0<(c[f>>2]|0)>>>0){e=e+36|0}else{break}}}lJ(b,c[g>>2]|0);c[g>>2]=0;g=c[a+16536>>2]|0;f=a+16544|0;if((g|0)>0){e=c[f>>2]|0;h=0;while(1){lJ(b,c[e>>2]|0);c[e>>2]=0;h=h+1|0;if((h|0)<(g|0)){e=e+4|0}else{break}}}lJ(b,c[f>>2]|0);c[f>>2]=0;e=a+16524|0;f=a+16528|0;if((c[f>>2]|0)!=0){g=0;a=c[e>>2]|0;while(1){lJ(b,c[a>>2]|0);c[a>>2]=0;if((c[a+4>>2]|0)==1){k=a+12|0;lJ(b,c[k>>2]|0);c[k>>2]=0}g=g+1|0;if(g>>>0<(c[f>>2]|0)>>>0){a=a+16|0}else{break}}}lJ(b,c[e>>2]|0);c[e>>2]=0;i=d;return}function WU(e,f,g,h,j){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;g=i;C=i;i=i+8|0;A=C;E=i;i=i+8|0;B=E;s=i;i=i+256|0;r=s;p=i;i=i+16|0;q=p;u=i;i=i+8|0;t=u;z=i;i=i+8|0;y=z;v=i;i=i+8|0;x=v;k=i;i=i+8|0;n=k;D=i;i=i+128|0;c[k>>2]=0;l=j+32|0;w=c[l>>2]|0;F=(w|0)==0;if(F){o=0}else{o=c[w+16520>>2]|0}if((iX(e|0,283840,7)|0)==0){if((c[(c[j+36>>2]|0)+8>>2]|0)==0|F){F=k;F=c[F>>2]|0;i=g;return F|0}l=e+7|0;if((a[l]|0)==0){j=f+ -7|0}else{j=f+ -8|0;l=e+8|0}F=c[w+16520>>2]|0;c[v>>2]=0;m=w+88|0;o=c[m>>2]|0;n=j+1|0;p=w+84|0;o=oJ(F,1,o,o+n|0,c[p>>2]|0,x)|0;c[p>>2]=o;p=c[v>>2]|0;if((p|0)==0){p=c[m>>2]|0;$W(o+p|0,l|0,j|0)|0;a[o+(p+j)|0]=10;c[m>>2]=(c[m>>2]|0)+n;p=c[v>>2]|0}c[k>>2]=p;F=k;F=c[F>>2]|0;i=g;return F|0}v=c[j>>2]|0;if((v&1|0)==0){p=j+8248|0;o=c[p>>2]|0;if((iX(e|0,283848,9)|0)!=0){c[k>>2]=176;F=k;F=c[F>>2]|0;i=g;return F|0}c[j>>2]=1;c[l>>2]=0;q=jJ(o,16548,n)|0;if((c[k>>2]|0)!=0){F=k;F=c[F>>2]|0;i=g;return F|0}c[l>>2]=q;c[q+16520>>2]=c[p>>2];c[p>>2]=0;p=q+16532|0;c[z>>2]=0;c[q+16536>>2]=241;c[p>>2]=80;c[q+16540>>2]=0;c[q+16544>>2]=oJ(o,4,0,241,0,y)|0;F=c[z>>2]|0;c[k>>2]=F;if((F|0)==0){r=0;q=283864}else{F=k;F=c[F>>2]|0;i=g;return F|0}while(1){F=XU(c[q>>2]|0,r,p,o)|0;c[k>>2]=F;if((F|0)!=0){m=151;break}r=r+1|0;if(r>>>0<83){q=q+16|0}else{break}}if((m|0)==151){F=k;F=c[F>>2]|0;i=g;return F|0}F=jJ(o,16,n)|0;c[(c[l>>2]|0)+128>>2]=F;if((c[k>>2]|0)!=0){F=k;F=c[F>>2]|0;i=g;return F|0}F=c[(c[l>>2]|0)+128>>2]|0;c[u>>2]=0;c[F+4>>2]=241;c[F>>2]=80;c[F+8>>2]=0;c[F+12>>2]=oJ(o,4,0,241,0,t)|0;F=c[u>>2]|0;c[k>>2]=F;if((F|0)!=0){F=k;F=c[F>>2]|0;i=g;return F|0}c[(c[l>>2]|0)+28>>2]=c[(c[j+36>>2]|0)+12>>2];c[(c[l>>2]|0)+36>>2]=-1;F=k;F=c[F>>2]|0;i=g;return F|0}if((iX(e|0,285192,15)|0)==0){if((v&8|0)==0){c[k>>2]=179;F=k;F=c[F>>2]|0;i=g;return F|0}m=j+8232|0;F=YU(m,285208,e,f)|0;c[k>>2]=F;if((F|0)!=0){F=k;F=c[F>>2]|0;i=g;return F|0}s=c[(c[m>>2]|0)+4>>2]|0;a:do{if((s|0)==0){q=0}else{q=a[s]|0;p=285544;do{if(q<<24>>24==0){q=0;break a}else if(q<<24>>24==48){F=a[s+1|0]|0;if(!(F<<24>>24==88|F<<24>>24==120)){q=48;m=10;p=285544;break}s=s+2|0;q=a[s]|0;m=16;p=285512}else{m=10}}while(0);r=q<<24>>24;if((d[p+(r>>3)|0]&1<<(r&7)|0)==0){q=0;break}else{q=0}while(1){q=da(q,m)|0;q=(d[285344+r|0]|0)+q|0;s=s+1|0;r=a[s]|0;if((1<<(r&7)&d[p+(r>>3)|0]|0)==0){break}else{}}}}while(0);c[(c[l>>2]|0)+72>>2]=q;c[j+4>>2]=q;F=oJ(o,16,0,q,0,n)|0;c[(c[l>>2]|0)+80>>2]=F;if((c[k>>2]|0)!=0){F=k;F=c[F>>2]|0;i=g;return F|0}c[j>>2]=c[j>>2]|16;c[h>>2]=41;F=k;F=c[F>>2]|0;i=g;return F|0}if((iX(e|0,285216,15)|0)==0){if((v&4|0)==0){c[k>>2]=178;F=k;F=c[F>>2]|0;i=g;return F|0}m=j+8232|0;F=YU(m,285208,e,f)|0;c[k>>2]=F;if((F|0)!=0){F=k;F=c[F>>2]|0;i=g;return F|0}o=c[(c[m>>2]|0)+4>>2]|0;do{if((o|0)==0){n=0}else{n=a[o]|0;if(n<<24>>24==0){n=0;break}n=n<<24>>24==45;q=n?o+1|0:o;r=a[q]|0;p=285544;do{if(r<<24>>24==48){F=a[q+1|0]|0;if(!(F<<24>>24==88|F<<24>>24==120)){r=48;o=10;p=285544;break}q=q+2|0;r=a[q]|0;o=16;p=285512}else{o=10}}while(0);r=r<<24>>24;if((d[p+(r>>3)|0]&1<<(r&7)|0)==0){s=0}else{s=0;while(1){s=da(s,o)|0;q=q+1|0;s=(d[285344+r|0]|0)+s<<16>>16;r=a[q]|0;if((1<<(r&7)&d[p+(r>>3)|0]|0)==0){break}else{}}}n=(n?0-s|0:s)&65535}}while(0);b[(c[l>>2]|0)+4>>1]=n;o=c[(c[m>>2]|0)+8>>2]|0;do{if((o|0)==0){n=0}else{n=a[o]|0;if(n<<24>>24==0){n=0;break}n=n<<24>>24==45;s=n?o+1|0:o;q=a[s]|0;p=285544;do{if(q<<24>>24==48){F=a[s+1|0]|0;if(!(F<<24>>24==88|F<<24>>24==120)){q=48;o=10;p=285544;break}s=s+2|0;q=a[s]|0;o=16;p=285512}else{o=10}}while(0);r=q<<24>>24;if((d[p+(r>>3)|0]&1<<(r&7)|0)==0){q=0}else{q=0;while(1){q=da(q,o)|0;s=s+1|0;q=(d[285344+r|0]|0)+q<<16>>16;r=a[s]|0;if((1<<(r&7)&d[p+(r>>3)|0]|0)==0){break}else{}}}n=(n?0-q|0:q)&65535}}while(0);b[(c[l>>2]|0)+6>>1]=n;o=c[(c[m>>2]|0)+12>>2]|0;do{if((o|0)==0){n=0}else{n=a[o]|0;if(n<<24>>24==0){n=0;break}n=n<<24>>24==45;q=n?o+1|0:o;r=a[q]|0;p=285544;do{if(r<<24>>24==48){F=a[q+1|0]|0;if(!(F<<24>>24==88|F<<24>>24==120)){r=48;o=10;p=285544;break}q=q+2|0;r=a[q]|0;o=16;p=285512}else{o=10}}while(0);r=r<<24>>24;if((d[p+(r>>3)|0]&1<<(r&7)|0)==0){s=0}else{s=0;while(1){s=da(s,o)|0;q=q+1|0;s=(d[285344+r|0]|0)+s<<16>>16;r=a[q]|0;if((1<<(r&7)&d[p+(r>>3)|0]|0)==0){break}else{}}}n=(n?0-s|0:s)&65535}}while(0);b[(c[l>>2]|0)+8>>1]=n;n=c[(c[m>>2]|0)+16>>2]|0;do{if((n|0)==0){m=0}else{m=a[n]|0;if(m<<24>>24==0){m=0;break}m=m<<24>>24==45;p=m?n+1|0:n;q=a[p]|0;o=285544;do{if(q<<24>>24==48){F=a[p+1|0]|0;if(!(F<<24>>24==88|F<<24>>24==120)){q=48;n=10;o=285544;break}p=p+2|0;q=a[p]|0;n=16;o=285512}else{n=10}}while(0);r=q<<24>>24;if((d[o+(r>>3)|0]&1<<(r&7)|0)==0){q=0}else{q=0;while(1){q=dada(s,o)|0;s=(d[285344+q|0]|0)+s|0;r=r+1|0;q=a[r]|0;if((1<<(q&7)&d[p+(q>>3)|0]|0)==0){break}else{}}}}while(0);c[(c[l>>2]|0)+16>>2]=s;r=c[(c[n>>2]|0)+8>>2]|0;d:do{if((r|0)==0){s=0}else{q=a[r]|0;p=285544;do{if(q<<24>>24==0){s=0;break d}else if(q<<24>>24==48){F=a[r+1|0]|0;if(!(F<<24>>24==88|F<<24>>24==120)){q=48;o=10;p=285544;break}r=r+2|0;q=a[r]|0;o=16;p=285512}else{o=10}}while(0);q=q<<24>>24;if((d[p+(q>>3)|0]&1<<(q&7)|0)==0){s=0;break}else{s=0}while(1){s=da(s,o)|0;s=(d[285344+q|0]|0)+s|0;r=r+1|0;q=a[r]|0;if((1<<(q&7)&d[p+(q>>3)|0]|0)==0){break}else{}}}}while(0);c[(c[l>>2]|0)+20>>2]=s;q=c[(c[n>>2]|0)+12>>2]|0;e:do{if((q|0)==0){r=0}else{r=a[q]|0;p=285544;do{if(r<<24>>24==0){r=0;break e}else if(r<<24>>24==48){F=a[q+1|0]|0;if(!(F<<24>>24==88|F<<24>>24==120)){r=48;o=10;p=285544;break}q=q+2|0;r=a[q]|0;o=16;p=285512}else{o=10}}while(0);s=r<<24>>24;if((d[p+(s>>3)|0]&1<<(s&7)|0)==0){r=0;break}else{r=0}while(1){r=da(r,o)|0;r=(d[285344+s|0]|0)+r|0;q=q+1|0;s=a[q]|0;if((1<<(s&7)&d[p+(s>>3)|0]|0)==0){break}else{}}}}while(0);c[(c[l>>2]|0)+24>>2]=r;do{if((c[j+8240>>2]|0)==5){o=c[(c[n>>2]|0)+16>>2]|0;do{if((o|0)==0){n=0}else{n=a[o]|0;if(n<<24>>24==0){n=0;break}n=n<<24>>24==45;q=n?o+1|0:o;r=a[q]|0;p=285544;do{if(r<<24>>24==48){F=a[q+1|0]|0;if(!(F<<24>>24==88|F<<24>>24==120)){r=48;o=10;p=285544;break}q=q+2|0;r=a[q]|0;o=16;p=285512}else{o=10}}while(0);r=r<<24>>24;if((d[p+(r>>3)|0]&1<<(r&7)|0)==0){s=0}else{s=0;while(1){s=da(s,o)|0;q=q+1|0;s=(d[285344+r|0]|0)+s<<16>>16;r=a[q]|0;if((1<<(r&7)&d[p+(r>>3)|0]|0)==0){break}else{}}}n=(n?0-s|0:s)&65535}}while(0);b[(c[l>>2]|0)+16518>>1]=n;l=(c[l>>2]|0)+16518|0;n=b[l>>1]|0;if(n<<16>>16==0){p=0;m=139}else{p=0;o=0;q=n;while(1){p=(q&1)==0?p:o;q=(q&65535)>>>1;if(q<<16>>16==0){break}else{o=o+1<<16>>16}}if((p&65535)>3){o=8}else{m=139}}if((m|0)==139){o=1<<(p&65535)&65535}if((n&65535|0)==(o|0)){break}b[l>>1]=o<<1}else{b[(c[l>>2]|0)+16518>>1]=1}}while(0);c[j>>2]=c[j>>2]|4;F=k;F=c[F>>2]|0;i=g;return F|0}function XU(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;h=i;k=i;i=i+8|0;n=k;g=i;i=i+8|0;m=g;j=e+12|0;p=c[j>>2]|0;o=a[b]|0;if(o<<24>>24==0){q=0}else{l=o;r=b;q=0;while(1){r=r+1|0;q=(q*31|0)+(l<<24>>24)|0;l=a[r]|0;if(l<<24>>24==0){break}else{}}}l=e+4|0;t=c[l>>2]|0;s=p+(((q>>>0)%(t>>>0)|0)<<2)|0;r=c[s>>2]|0;a:do{if((r|0)!=0){q=p+(t+ -1<<2)|0;do{r=c[r>>2]|0;if((a[r]|0)==o<<24>>24){if((Qc(r|0,b|0)|0)==0){break a}}r=s+ -4|0;s=r>>>0<p>>>0?q:r;r=c[s>>2]|0;}while((r|0)!=0)}}while(0);c[g>>2]=0;o=c[s>>2]|0;if((o|0)!=0){c[o+4>>2]=d;u=g;u=c[u>>2]|0;i=h;return u|0}m=jJ(f,8,m)|0;if((c[g>>2]|0)!=0){u=g;u=c[u>>2]|0;i=h;return u|0}c[s>>2]=m;c[m>>2]=b;c[m+4>>2]=d;d=e+8|0;b=c[d>>2]|0;do{if((b|0)>=(c[e>>2]|0)){b=c[j>>2]|0;m=c[l>>2]|0;c[k>>2]=0;u=m<<1;c[l>>2]=u;c[e>>2]=(u|0)/3|0;c[j>>2]=oJ(f,4,0,u,0,n)|0;e=c[k>>2]|0;if((e|0)!=0){c[g>>2]=e;u=g;u=c[u>>2]|0;i=h;return u|0}if((m|0)>0){e=b;o=0;while(1){n=c[e>>2]|0;if((n|0)!=0){q=c[n>>2]|0;r=c[j>>2]|0;p=a[q]|0;if(p<<24>>24==0){t=0}else{u=p;s=q;t=0;while(1){s=s+1|0;t=(t*31|0)+(u<<24>>24)|0;u=a[s]|0;if(u<<24>>24==0){break}else{}}}s=c[l>>2]|0;u=r+(((t>>>0)%(s>>>0)|0)<<2)|0;t=c[u>>2]|0;b:do{if((t|0)!=0){s=r+(s+ -1<<2)|0;do{t=c[t>>2]|0;if((a[t]|0)==p<<24>>24){if((Qc(t|0,q|0)|0)==0){break b}}t=u+ -4|0;u=t>>>0<r>>>0?s:t;t=c[u>>2]|0;}while((t|0)!=0)}}while(0);c[u>>2]=n}o=o+1|0;if((o|0)<(m|0)){e=e+4|0}else{break}}}lJ(f,b);u=c[k>>2]|0;c[g>>2]=u;if((u|0)==0){b=c[d>>2]|0;break}else{u=g;u=c[u>>2]|0;i=h;return u|0}}}while(0);c[d>>2]=b+1;u=g;u=c[u>>2]|0;i=h;return u|0}function YU(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;h=i;k=i;i=i+8|0;l=k;o=i;i=i+8|0;p=o;r=i;i=i+32|0;n=r;j=b+8|0;c[j>>2]=0;if((g|0)==0){u=0;i=h;return u|0}s=a[f]|0;if(s<<24>>24==0){u=0;i=h;return u|0}if((e|0)==0){u=6;i=h;return u|0}q=a[e]|0;if(q<<24>>24==0){u=6;i=h;return u|0}bX(r|0,0,32)|0;r=0;while(1){if(q<<24>>24==43){e=e+1|0;if((a[e]|0)==0){r=1}else{m=9}}else if(q<<24>>24==0){break}else{e=e+1|0;m=9}if((m|0)==9){m=0;t=q&255;u=n+(t>>>3)|0;a[u]=1<<(t&7)|d[u]}q=a[e]|0}e=f+g|0;q=b+4|0;a:do{if((g|0)>0){g=b+12|0;r=(r|0)==0;u=0;t=f;b:while(1){if(s<<24>>24==0){t=u;break a}else{f=t}while(1){s=s&255;u=f+1|0;if((a[n+(s>>>3)|0]&1<<(s&7)|0)!=0){break}s=a[u]|0;if(s<<24>>24==0){f=u;break}else{f=u}}u=c[j>>2]|0;do{if((u|0)==(c[q>>2]|0)){c[o>>2]=0;if((u|0)==-1){u=-1;break}s=u+4+(u>>>1)|0;if((u|0)==536870911){break b}s=s>>>0<u>>>0|s>>>0>536870911?536870911:s;c[b>>2]=oJ(c[g>>2]|0,4,u,s,c[b>>2]|0,p)|0;u=c[o>>2]|0;if((u|0)!=0){m=41;break b}c[q>>2]=s;u=c[j>>2]|0}}while(0);c[j>>2]=u+1;c[(c[b>>2]|0)+(u<<2)>>2]=f>>>0>t>>>0?t:285600;s=a[f]|0;t=s<<24>>24==0;do{if(r){if(t){s=0;t=0;break}m=f+1|0;a[f]=0;t=a[m]|0;f=m;m=29}else{if(t){s=0;t=0;break}else{u=f}while(1){t=s&255;if((a[n+(t>>>3)|0]&1<<(t&7)|0)==0){break}a[u]=0;u=u+1|0;s=a[u]|0;if(s<<24>>24==0){s=0;break}}if(u>>>0>f>>>0){t=s;f=u;m=29}else{t=0;f=u}}}while(0);if((m|0)==29){m=0;s=t;t=t<<24>>24==0|0}if(f>>>0<e>>>0){u=t;t=f}else{break a}}if((m|0)==41){i=h;return u|0}c[o>>2]=64;u=64;i=h;return u|0}else{t=0}}while(0);n=(c[j>>2]|0)+t|0;m=c[q>>2]|0;do{if(n>>>0>=m>>>0){c[k>>2]=0;if(m>>>0>=(n+1|0)>>>0){break}n=m+4+(m>>>1)|0;if((m|0)==536870911){c[k>>2]=64;u=64;i=h;return u|0}n=n>>>0<m>>>0|n>>>0>536870911?536870911:n;c[b>>2]=oJ(c[b+12>>2]|0,4,m,n,c[b>>2]|0,l)|0;k=c[k>>2]|0;if((k|0)==0){c[q>>2]=n;break}else{u=k;i=h;return u|0}}}while(0);if((t|0)!=0){u=c[j>>2]|0;c[j>>2]=u+1;c[(c[b>>2]|0)+(u<<2)>>2]=285600}c[(c[b>>2]|0)+(c[j>>2]<<2)>>2]=0;u=0;i=h;return u|0}function ZU(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=i;m=i;i=i+8|0;l=m;o=i;i=i+8|0;n=o;k=i;i=i+128|0;if((iX(d|0,285608,13)|0)==0){d=h+32|0;p=c[d>>2]|0;a:do{if((p|0)==0){j=11}else{if((c[p+72>>2]|0)==0){j=11;break}q=c[p+128>>2]|0;e=c[q+12>>2]|0;q=c[q+4>>2]|0;s=e+((1895527114%(q>>>0)|0)<<2)|0;r=c[s>>2]|0;if((r|0)==0){j=11;break}q=e+(q+ -1<<2)|0;while(1){t=c[r>>2]|0;if((a[t]|0)==70){if((Qc(t|0,285264)|0)==0){break}}r=s+ -4|0;s=r>>>0<e>>>0?q:r;r=c[s>>2]|0;if((r|0)==0){j=11;break a}}if((r|0)==0){j=11;break}if(((c[p+80>>2]|0)+(c[r+4>>2]<<4)|0)==0){j=11}}}while(0);do{if((j|0)==11){c[p+40>>2]=b[p+12>>1]|0;c[o>>2]=b[(c[d>>2]|0)+12>>1]|0;Lb(k|0,285256,n|0)|0;e=_U(c[d>>2]|0,285264,k)|0;if((e|0)==0){b[(c[d>>2]|0)+16516>>1]=1;p=c[d>>2]|0;break}else{t=e;i=f;return t|0}}}while(0);b:do{if((p|0)==0){j=22}else{if((c[p+72>>2]|0)==0){j=22;break}n=c[p+128>>2]|0;e=c[n+12>>2]|0;n=c[n+4>>2]|0;q=e+((908209322%(n>>>0)|0)<<2)|0;o=c[q>>2]|0;if((o|0)==0){j=22;break}n=e+(n+ -1<<2)|0;while(1){r=c[o>>2]|0;if((a[r]|0)==70){if((Qc(r|0,285280)|0)==0){break}}o=q+ -4|0;q=o>>>0<e>>>0?n:o;o=c[q>>2]|0;if((o|0)==0){j=22;break b}}if((o|0)==0){j=22;break}if(((c[p+80>>2]|0)+(c[o+4>>2]<<4)|0)==0){j=22}}}while(0);do{if((j|0)==22){c[p+44>>2]=b[p+14>>1]|0;c[m>>2]=b[(c[d>>2]|0)+14>>1]|0;Lb(k|0,285256,l|0)|0;j=_U(c[d>>2]|0,285280,k)|0;if((j|0)==0){b[(c[d>>2]|0)+16516>>1]=1;break}else{t=j;i=f;return t|0}}}while(0);c[h>>2]=c[h>>2]&-17;c[g>>2]=42;t=0;i=f;return t|0}if((iX(d|0,285624,21)|0)==0){t=0;i=f;return t|0}if((iX(d|0,283840,7)|0)==0){g=d+7|0;if((a[g]|0)!=0){a[g]=0;g=d+8|0}t=_U(c[h+32>>2]|0,d,g)|0;i=f;return t|0}g=h+32|0;l=c[g>>2]|0;k=d;while(1){m=a[k]|0;if(m<<24>>24==32|m<<24>>24==9){j=33;break}else if(m<<24>>24==0){m=-1;break}k=k+1|0}if((j|0)==33){a[k]=0;m=m<<24>>24}c:do{if((d|0)==0){j=0}else{n=a[d]|0;if(n<<24>>24==0){j=0;break}j=c[l+16544>>2]|0;q=n;p=d;o=0;do{p=p+1|0;o=(o*31|0)+(q<<24>>24)|0;q=a[p]|0;}while(q<<24>>24!=0);r=c[l+16536>>2]|0;q=j+(((o>>>0)%(r>>>0)|0)<<2)|0;p=c[q>>2]|0;if((p|0)==0){j=0;break}o=j+(r+ -1<<2)|0;while(1){r=c[p>>2]|0;if((a[r]|0)==n<<24>>24){if((Qc(r|0,d|0)|0)==0){break}}p=q+ -4|0;q=p>>>0<j>>>0?o:p;p=c[q>>2]|0;if((p|0)==0){j=0;break c}}if((p|0)==0){j=0;break}j=c[p+4>>2]|0;if(j>>>0>82){j=(c[l+16524>>2]|0)+(j+ -83<<4)|0;break}else{j=283864+(j<<4)|0;break}}}while(0);if((m|0)!=-1){a[k]=m}do{if((j|0)!=0){if((c[j+4>>2]|0)==1){break}j=h+8232|0;d=YU(j,285208,d,e)|0;if((d|0)!=0){t=d;i=f;return t|0}k=c[j>>2]|0;d=c[k>>2]|0;h=h+8240|0;e=c[h>>2]|0;do{if((e|0)==0){e=0}else{if(e>>>0<2){c[h>>2]=0;e=0;break}else{e=0;l=1}while(1){c[k+(e<<2)>>2]=c[k+(l<<2)>>2];l=l+1|0;k=c[h>>2]|0;if(l>>>0>=k>>>0){break}k=c[j>>2]|0;e=e+1|0}o=k+ -1|0;c[h>>2]=o;if((o|0)==0){e=0;break}e=c[c[j>>2]>>2]|0;l=e;k=1;n=0;while(1){m=a[l]|0;if(m<<24>>24!=0){o=n;while(1){l=l+1|0;n=o+1|0;a[e+o|0]=m;m=a[l]|0;if(m<<24>>24==0){break}else{o=n}}o=c[h>>2]|0}if(k>>>0<o>>>0){a[e+n|0]=32;o=c[h>>2]|0;n=n+1|0}if(k>>>0>=o>>>0){break}l=c[(c[j>>2]|0)+(k<<2)>>2]|0;k=k+1|0}if((e|0)==285600){e=285600;break}a[e+n|0]=0}}while(0);t=_U(c[g>>2]|0,d,e)|0;i=f;return t|0}}while(0);a[k]=0;while(1){l=k+1|0;j=a[l]|0;if(j<<24>>24==32|j<<24>>24==9){k=l}else{break}}h=d+e|0;j=j<<24>>24==34?k+2|0:l;d:do{if(h>>>0>j>>>0){while(1){h=h+ -1|0;e=a[h]|0;if(e<<24>>24==34){break}else if(!(e<<24>>24==9|e<<24>>24==32)){break d}a[h]=0;if(h>>>0<=j>>>0){break d}}a[h]=0}}while(0);t=_U(c[g>>2]|0,d,j)|0;i=f;return t|0}function _U(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;h=i;m=i;i=i+8|0;n=m;g=i;i=i+8|0;l=g;j=c[b+16520>>2]|0;c[g>>2]=0;k=b+128|0;r=c[k>>2]|0;q=c[r+12>>2]|0;p=a[e]|0;t=p<<24>>24==0;if(t){s=0}else{v=p;u=e;s=0;while(1){u=u+1|0;s=(s*31|0)+(v<<24>>24)|0;v=a[u]|0;if(v<<24>>24==0){break}else{}}}r=c[r+4>>2]|0;u=q+(((s>>>0)%(r>>>0)|0)<<2)|0;s=c[u>>2]|0;a:do{if((s|0)!=0){r=q+(r+ -1<<2)|0;while(1){v=c[s>>2]|0;if((a[v]|0)==p<<24>>24){if((Qc(v|0,e|0)|0)==0){break}}s=u+ -4|0;u=s>>>0<q>>>0?r:s;s=c[u>>2]|0;if((s|0)==0){break a}}if((s|0)==0){break}b=c[b+80>>2]|0;k=c[s+4>>2]|0;e=c[b+(k<<4)+4>>2]|0;if((e|0)==3){b:do{if((f|0)==0){m=0}else{l=a[f]|0;e=285544;do{if(l<<24>>24==0){m=0;break b}else if(l<<24>>24==48){z=a[f+1|0]|0;if(!(z<<24>>24==88|z<<24>>24==120)){l=48;j=10;e=285544;break}f=f+2|0;l=a[f]|0;j=16;e=285512}else{j=10}}while(0);l=l<<24>>24;if((d[e+(l>>3)|0]&1<<(l&7)|0)==0){m=0;break}else{m=0}do{z=da(m,j)|0;m=(d[285344+l|0]|0)+z|0;f=f+1|0;l=a[f]|0;}while((1<<(l&7)&d[e+(l>>3)|0]|0)!=0)}}while(0);c[b+(k<<4)+12>>2]=m;z=g;z=c[z>>2]|0;i=h;return z|0}else if((e|0)==1){b=b+(k<<4)+12|0;lJ(j,c[b>>2]|0);c[b>>2]=0;if((f|0)==0){z=g;z=c[z>>2]|0;i=h;return z|0}if((a[f]|0)==0){z=g;z=c[z>>2]|0;i=h;return z|0}c[b>>2]=aL(j,f,l)|0;z=g;z=c[z>>2]|0;i=h;return z|0}else if((e|0)==2){do{if((f|0)==0){j=0}else{j=a[f]|0;if(j<<24>>24==0){j=0;break}j=j<<24>>24==45;l=j?f+1|0:f;m=a[l]|0;f=285544;do{if(m<<24>>24==48){z=a[l+1|0]|0;if(!(z<<24>>24==88|z<<24>>24==120)){m=48;e=10;f=285544;break}l=l+2|0;m=a[l]|0;e=16;f=285512}else{e=10}}while(0);m=m<<24>>24;if((d[f+(m>>3)|0]&1<<(m&7)|0)==0){n=0}else{n=0;while(1){n=da(n,e)|0;n=(d[285344+m|0]|0)+n|0;l=l+1|0;m=a[l]|0;if((1<<(m&7)&d[f+(m>>3)|0]|0)==0){break}else{}}}j=j?0-n|0:n}}while(0);c[b+(k<<4)+12>>2]=j;z=g;z=c[z>>2]|0;i=h;return z|0}else{z=g;z=c[z>>2]|0;i=h;return z|0}}}while(0);s=b+16532|0;r=b+16544|0;u=c[r>>2]|0;if(t){w=0}else{w=p;q=e;v=0;while(1){q=q+1|0;v=(v*31|0)+(w<<24>>24)|0;w=a[q]|0;if(w<<24>>24==0){w=v;break}else{}}}q=b+16536|0;v=c[q>>2]|0;y=u+(((w>>>0)%(v>>>0)|0)<<2)|0;x=c[y>>2]|0;c:do{if((x|0)==0){o=38}else{w=u+(v+ -1<<2)|0;while(1){z=c[x>>2]|0;if((a[z]|0)==p<<24>>24){if((Qc(z|0,e|0)|0)==0){break}}x=y+ -4|0;y=x>>>0<u>>>0?w:x;x=c[y>>2]|0;if((x|0)==0){o=38;break c}}if((x|0)==0){o=38}}}while(0);d:do{if((o|0)==38){c[m>>2]=0;if(t){x=0}else{w=p;t=e;x=0;while(1){t=t+1|0;x=(x*31|0)+(w<<24>>24)|0;w=a[t]|0;if(w<<24>>24==0){break}else{}}}w=u+(((x>>>0)%(v>>>0)|0)<<2)|0;x=c[w>>2]|0;e:do{if((x|0)==0){o=46}else{t=u+(v+ -1<<2)|0;v=x;while(1){x=c[v>>2]|0;if((a[x]|0)==p<<24>>24){if((Qc(x|0,e|0)|0)==0){break}}v=w+ -4|0;w=v>>>0<u>>>0?t:v;v=c[w>>2]|0;if((v|0)==0){o=46;break e}}if((v|0)==0){o=46}}}while(0);f:do{if((o|0)==46){o=b+16528|0;p=c[o>>2]|0;w=b+16524|0;p=oJ(j,16,p,p+1|0,c[w>>2]|0,n)|0;c[w>>2]=p;w=c[m>>2]|0;do{if((w|0)==0){u=c[o>>2]|0;v=p+(u<<4)|0;bX(v|0,0,16)|0;t=(ZW(e|0)|0)+1|0;n=oJ(j,1,0,t,0,n)|0;c[v>>2]=n;w=c[m>>2]|0;if((w|0)!=0){break}$W(n|0,e|0,t|0)|0;c[p+(u<<4)+4>>2]=1;c[p+(u<<4)+8>>2]=0;w=XU(c[v>>2]|0,(c[o>>2]|0)+83|0,s,j)|0;c[m>>2]=w;if((w|0)!=0){break}c[o>>2]=(c[o>>2]|0)+1;p=a[e]|0;u=c[r>>2]|0;break f}}while(0);c[g>>2]=w;z=g;z=c[z>>2]|0;i=h;return z|0}}while(0);c[g>>2]=0;if(p<<24>>24==0){o=0}else{n=p;m=e;o=0;while(1){m=m+1|0;o=(o*31|0)+(n<<24>>24)|0;n=a[m]|0;if(n<<24>>24==0){break}else{}}}m=c[q>>2]|0;n=u+(((o>>>0)%(m>>>0)|0)<<2)|0;x=c[n>>2]|0;if((x|0)==0){x=0;break}m=u+(m+ -1<<2)|0;while(1){o=c[x>>2]|0;if((a[o]|0)==p<<24>>24){if((Qc(o|0,e|0)|0)==0){break d}}n=n+ -4|0;n=n>>>0<u>>>0?m:n;x=c[n>>2]|0;if((x|0)==0){x=0;break}}}}while(0);m=b+76|0;o=c[m>>2]|0;n=b+72|0;if((o|0)==(c[n>>2]|0)){do{if((o|0)==0){o=oJ(j,16,0,1,0,l)|0;c[b+80>>2]=o;if((c[g>>2]|0)==0){break}z=g;z=c[z>>2]|0;i=h;return z|0}else{z=b+80|0;o=oJ(j,16,o,o+1|0,c[z>>2]|0,l)|0;c[z>>2]=o;if((c[g>>2]|0)==0){break}z=g;z=c[z>>2]|0;i=h;return z|0}}while(0);bX(o+(c[n>>2]<<4)|0,0,16)|0;c[n>>2]=(c[n>>2]|0)+1}n=c[x+4>>2]|0;if(n>>>0>82){q=(c[b+16524>>2]|0)+(n+ -83<<4)|0}else{q=283864+(n<<4)|0}p=c[b+80>>2]|0;o=c[m>>2]|0;n=p+(o<<4)|0;c[n>>2]=c[q>>2];z=q+4|0;c[p+(o<<4)+4>>2]=c[z>>2];c[p+(o<<4)+8>>2]=c[q+8>>2];q=c[z>>2]|0;do{if((q|0)==3){g:do{if((f|0)==0){s=0}else{r=a[f]|0;q=285544;do{if(r<<24>>24==48){z=a[f+1|0]|0;if(!(z<<24>>24==88|z<<24>>24==120)){r=48;l=10;q=285544;break}f=f+2|0;r=a[f]|0;l=16;q=285512}else if(r<<24>>24==0){s=0;break g}else{l=10}}while(0);r=r<<24>>24;if((d[q+(r>>3)|0]&1<<(r&7)|0)==0){s=0;break}else{s=0}do{z=da(s,l)|0;s=(d[285344+r|0]|0)+z|0;f=f+1|0;r=a[f]|0;}while((1<<(r&7)&d[q+(r>>3)|0]|0)!=0)}}while(0);c[p+(o<<4)+12>>2]=s}else if((q|0)==2){do{if((f|0)==0){f=0}else{l=a[f]|0;if(l<<24>>24==0){f=0;break}l=l<<24>>24==45;s=l?f+1|0:f;r=a[s]|0;q=285544;do{if(r<<24>>24==48){z=a[s+1|0]|0;if(!(z<<24>>24==88|z<<24>>24==120)){r=48;f=10;q=285544;break}s=s+2|0;r=a[s]|0;f=16;q=285512}else{f=10}}while(0);t=r<<24>>24;if((d[q+(t>>3)|0]&1<<(t&7)|0)==0){r=0}else{r=0;while(1){r=dada(f,n)|0;f=(d[285344+g|0]|0)+v|0;r=r+1|0;g=a[r]|0;}while((1<<(g&7)&d[p+(g>>3)|0]|0)!=0);n=m+48|0;c[n>>2]=f;p=k+4|0;c[p>>2]=f;if((f|0)==0){o=19}}}while(0);if((o|0)==17){n=m+48|0;c[n>>2]=0;p=k+4|0;c[p>>2]=0;o=19}if((o|0)==19){c[n>>2]=64;f=c[p>>2]|0}if(f>>>0>1114111){c[l>>2]=6;p=6;m=k;break a}c[m+56>>2]=oJ(j,36,0,c[n>>2]|0,0,q)|0;p=c[l>>2]|0;if((p|0)!=0){m=k;break a}c[k>>2]=c[k>>2]|32}else{if((iX(f|0,285296,7)|0)==0){pb(c[m+56>>2]|0,c[m+52>>2]|0,36,202);c[k>>2]=c[k>>2]&-2;break}if((iX(f|0,285304,7)|0)==0){c[k+28>>2]=0;c[k>>2]=s&-4033;break}n=(s&64|0)==0;do{if(!n){if((c[k+28>>2]|0)!=-1){break}if((c[(c[k+36>>2]|0)+4>>2]|0)==0){break b}}}while(0);if((iX(f|0,285312,9)|0)==0){m=k+24|0;lJ(j,c[m>>2]|0);c[m>>2]=0;n=k+8232|0;p=YU(n,285208,f,g)|0;c[l>>2]=p;if((p|0)!=0){m=k;break a}p=k+8240|0;f=c[p>>2]|0;do{if((f|0)!=0){if(f>>>0<2){c[p>>2]=0;break}f=0;g=1;while(1){r=c[n>>2]|0;c[r+(f<<2)>>2]=c[r+(g<<2)>>2];g=g+1|0;r=c[p>>2]|0;if(g>>>0<r>>>0){f=f+1|0}else{break}}u=r+ -1|0;c[p>>2]=u;if((u|0)==0){break}f=c[c[n>>2]>>2]|0;r=f;g=1;t=0;while(1){s=a[r]|0;if(s<<24>>24!=0){u=t;while(1){r=r+1|0;t=u+1|0;a[f+u|0]=s;s=a[r]|0;if(s<<24>>24==0){break}else{u=t}}u=c[p>>2]|0}if(g>>>0<u>>>0){a[f+t|0]=32;u=c[p>>2]|0;t=t+1|0}if(g>>>0>=u>>>0){break}r=c[(c[n>>2]|0)+(g<<2)>>2]|0;g=g+1|0}if((f|0)==285600){f=285600}else{a[f+t|0]=0;if((f|0)==0){break}}n=t+1|0;q=oJ(j,1,0,n,0,q)|0;c[m>>2]=q;p=c[l>>2]|0;if((p|0)!=0){m=k;break a}$W(q|0,f|0,n|0)|0;c[k>>2]=c[k>>2]|64;break b}}while(0);c[l>>2]=3;p=3;m=k;break a}if((iX(f|0,285328,8)|0)==0){if(n){c[l>>2]=181;p=181;m=k;break a}n=k+8232|0;p=YU(n,285208,f,g)|0;c[l>>2]=p;if((p|0)!=0){m=k;break a}p=c[(c[n>>2]|0)+4>>2]|0;do{if((p|0)==0){o=63}else{n=a[p]|0;if(n<<24>>24==0){o=63;break}n=n<<24>>24==45;g=n?p+1|0:p;r=a[g]|0;f=285544;do{if(r<<24>>24==48){v=a[g+1|0]|0;if(!(v<<24>>24==88|v<<24>>24==120)){r=48;p=10;f=285544;break}g=g+2|0;r=a[g]|0;p=16;f=285512}else{p=10}}while(0);s=r<<24>>24;if((d[f+(s>>3)|0]&1<<(s&7)|0)==0){r=0}else{r=0;while(1){r=da(r,p)|0;r=(d[285344+s|0]|0)+r|0;g=g+1|0;s=a[g]|0;if((1<<(s&7)&d[f+(s>>3)|0]|0)==0){break}else{}}}p=n?0-r|0:r;n=k+28|0;c[n>>2]=p;if(p>>>0<=65535){break}c[l>>2]=3;p=3;m=k;break a}}while(0);if((o|0)==63){n=k+28|0;c[n>>2]=0;p=0}f=k+40+(p>>5<<2)|0;g=c[f>>2]|0;p=1<<(p&31);if((p&g|0)==0){c[f>>2]=p|g}else{c[n>>2]=-1;b[m+16516>>1]=1}if((c[n>>2]|0)>-1){p=m+52|0;g=c[p>>2]|0;f=m+48|0;if((g|0)==(c[f>>2]|0)){m=m+56|0;q=oJ(j,36,g,g+64|0,c[m>>2]|0,q)|0;c[m>>2]=q;m=c[l>>2]|0;if((m|0)!=0){p=m;m=k;break a}c[f>>2]=(c[f>>2]|0)+64;g=c[p>>2]|0}else{q=c[m+56>>2]|0}c[p>>2]=g+1;v=k+24|0;c[q+(g*36|0)>>2]=c[v>>2];c[q+(g*36|0)+4>>2]=c[n>>2];c[v>>2]=0}else{if((c[(c[k+36>>2]|0)+4>>2]|0)==0){v=k+24|0;lJ(j,c[v>>2]|0);c[v>>2]=0}else{n=m+64|0;f=c[n>>2]|0;p=m+60|0;if((f|0)==(c[p>>2]|0)){m=m+68|0;q=oJ(j,36,f,f+4|0,c[m>>2]|0,q)|0;c[m>>2]=q;m=c[l>>2]|0;if((m|0)!=0){p=m;m=k;break a}c[p>>2]=(c[p>>2]|0)+4;f=c[n>>2]|0}else{q=c[m+68>>2]|0}c[q+(f*36|0)>>2]=c[k+24>>2];v=c[n>>2]|0;c[n>>2]=v+1;c[q+(f*36|0)+4>>2]=v}c[k+24>>2]=0}c[k>>2]=c[k>>2]&1073741695|128;break}p=k+28|0;if((c[p>>2]|0)==-1){n=(c[m+68>>2]|0)+(((c[m+64>>2]|0)+ -1|0)*36|0)|0}else{n=(c[m+56>>2]|0)+(((c[m+52>>2]|0)+ -1|0)*36|0)|0}if((s&2048|0)!=0){p=k+8|0;g=c[p>>2]|0;if(g>>>0>=(e[n+14>>1]|0)>>>0){if((s|0)<0){break}c[k>>2]=s|-2147483648;b[m+16516>>1]=1;break}s=c[n+28>>2]|0;q=s<<1;g=(c[n+24>>2]|0)+(da(s,g)|0)|0;s=0;d:while(1){while(1){if(s>>>0>=q>>>0){break d}a[g]=(a[g]<<4&255)+(a[285344+(a[f+s|0]|0)|0]|0)<<24>>24;t=s+1|0;if(t>>>0>=q>>>0|(s&1|0)==0){s=t}else{break}}s=g+1|0;a[s]=0;g=s;s=t}n=b[n+12>>1]|0;if(n<<16>>16!=0){v=a[285472+((da(e[(c[r>>2]|0)+16518>>1]|0,n&65535)|0)&7)|0]|0;a[g]=a[g]&v}n=a[f+q|0]|0;if(n<<24>>24==48){o=100}else{if((a[285344+(n<<24>>24)|0]|0)!=0){o=100}}do{if((o|0)==100){n=c[k>>2]|0;if((n&1073741824|0)!=0){break}c[k>>2]=n|1073741824;b[m+16516>>1]=1}}while(0);c[p>>2]=(c[p>>2]|0)+1;break}if((iX(f|0,285480,6)|0)==0){if((s&128|0)==0){c[l>>2]=182;p=182;m=k;break a}m=k+8232|0;p=YU(m,285208,f,g)|0;c[l>>2]=p;if((p|0)!=0){m=k;break a}p=c[(c[m>>2]|0)+4>>2]|0;e:do{if((p|0)==0){m=0}else{q=a[p]|0;o=285544;do{if(q<<24>>24==48){v=a[p+1|0]|0;if(!(v<<24>>24==88|v<<24>>24==120)){q=48;m=10;o=285544;break}p=p+2|0;q=a[p]|0;m=16;o=285512}else if(q<<24>>24==0){m=0;break e}else{m=10}}while(0);q=q<<24>>24;if((d[o+(q>>3)|0]&1<<(q&7)|0)==0){m=0;break}else{f=0}do{v=da(f,m)|0;f=(d[285344+q|0]|0)+v|0;p=p+1|0;q=a[p]|0;}while((1<<(q&7)&d[o+(q>>3)|0]|0)!=0);m=f&65535}}while(0);b[n+8>>1]=m;c[k>>2]=c[k>>2]|256;break}if((iX(f|0,285488,6)|0)==0){q=k+8232|0;p=YU(q,285208,f,g)|0;c[l>>2]=p;if((p|0)!=0){m=k;break a}f=c[(c[q>>2]|0)+4>>2]|0;f:do{if((f|0)==0){g=0}else{q=a[f]|0;p=285544;do{if(q<<24>>24==0){g=0;break f}else if(q<<24>>24==48){v=a[f+1|0]|0;if(!(v<<24>>24==88|v<<24>>24==120)){q=48;o=10;p=285544;break}f=f+2|0;q=a[f]|0;o=16;p=285512}else{o=10}}while(0);q=q<<24>>24;if((d[p+(q>>3)|0]&1<<(q&7)|0)==0){g=0;break}else{g=0}while(1){g=da(g,o)|0;g=(d[285344+q|0]|0)+g|0;f=f+1|0;q=a[f]|0;if((1<<(q&7)&d[p+(q>>3)|0]|0)==0){break}else{}}}}while(0);b[n+10>>1]=g;o=c[k>>2]|0;if((o&256|0)==0){b[n+8>>1]=_I(g&65535,72e3,da(c[m+20>>2]|0,c[m+16>>2]|0)|0)|0;o=c[k>>2]|0}c[k>>2]=o|512;break}if((iX(f|0,285496,3)|0)!=0){if((iX(f|0,285504,6)|0)!=0){c[l>>2]=3;p=3;m=k;break a}if((s&1024|0)==0){c[l>>2]=183;p=183;m=k;break a}m=((da(e[m+16518>>1]|0,e[n+12>>1]|0)|0)+7|0)>>>3;c[n+28>>2]=m;m=da(m,e[n+14>>1]|0)|0;if(m>>>0>65535){c[l>>2]=184;p=184;m=k;break a}b[n+32>>1]=m;c[n+24>>2]=oJ(j,1,0,m&65535,0,q)|0;p=c[l>>2]|0;if((p|0)!=0){m=k;break a}c[k+8>>2]=0;c[k>>2]=c[k>>2]|2048;break}q=k+8232|0;f=YU(q,285208,f,g)|0;c[l>>2]=f;if((f|0)!=0){p=f;m=k;break a}f=c[(c[q>>2]|0)+4>>2]|0;do{if((f|0)==0){f=0}else{o=a[f]|0;if(o<<24>>24==0){f=0;break}o=o<<24>>24==45;s=o?f+1|0:f;r=a[s]|0;g=285544;do{if(r<<24>>24==48){v=a[s+1|0]|0;if(!(v<<24>>24==88|v<<24>>24==120)){r=48;f=10;g=285544;break}s=s+2|0;r=a[s]|0;f=16;g=285512}else{f=10}}while(0);r=r<<24>>24;if((d[g+(r>>3)|0]&1<<(r&7)|0)==0){s=0}else{t=s;s=0;while(1){s=da(s,f)|0;t=t+1|0;s=(d[285344+r|0]|0)+s<<16>>16;r=a[t]|0;if((1<<(r&7)&d[g+(r>>3)|0]|0)==0){break}else{}}}f=(o?0-s|0:s)&65535}}while(0);o=n+12|0;b[o>>1]=f;g=c[(c[q>>2]|0)+8>>2]|0;do{if((g|0)==0){f=0}else{f=a[g]|0;if(f<<24>>24==0){f=0;break}f=f<<24>>24==45;s=f?g+1|0:g;t=a[s]|0;r=285544;do{if(t<<24>>24==48){v=a[s+1|0]|0;if(!(v<<24>>24==88|v<<24>>24==120)){t=48;g=10;r=285544;break}s=s+2|0;t=a[s]|0;g=16;r=285512}else{g=10}}while(0);t=t<<24>>24;if((d[r+(t>>3)|0]&1<<(t&7)|0)==0){s=0}else{u=s;s=0;while(1){s=da(s,g)|0;u=u+1|0;s=(d[285344+t|0]|0)+s<<16>>16;t=a[u]|0;if((1<<(t&7)&d[r+(t>>3)|0]|0)==0){break}else{}}}f=(f?0-s|0:s)&65535}}while(0);b[n+14>>1]=f;r=c[(c[q>>2]|0)+12>>2]|0;do{if((r|0)==0){r=0}else{g=a[r]|0;if(g<<24>>24==0){r=0;break}g=g<<24>>24==45;u=g?r+1|0:r;t=a[u]|0;s=285544;do{if(t<<24>>24==48){v=a[u+1|0]|0;if(!(v<<24>>24==88|v<<24>>24==120)){t=48;r=10;s=285544;break}u=u+2|0;t=a[u]|0;r=16;s=285512}else{r=10}}while(0);v=t<<24>>24;if((d[s+(v>>3)|0]&1<<(v&7)|0)==0){t=0}else{t=0;while(1){t=da(t,r)|0;u=u+1|0;t=(d[285344+v|0]|0)+t<<16>>16;v=a[u]|0;if((1<<(v&7)&d[s+(v>>3)|0]|0)==0){break}else{}}}r=(g?0-t|0:t)&65535}}while(0);g=n+16|0;b[g>>1]=r;r=c[(c[q>>2]|0)+16>>2]|0;do{if((r|0)==0){r=0}else{q=a[r]|0;if(q<<24>>24==0){r=0;break}q=q<<24>>24==45;t=q?r+1|0:r;u=a[t]|0;s=285544;do{if(u<<24>>24==48){v=a[t+1|0]|0;if(!(v<<24>>24==88|v<<24>>24==120)){u=48;r=10;s=285544;break}t=t+2|0;u=a[t]|0;r=16;s=285512}else{r=10}}while(0);v=u<<24>>24;if((d[s+(v>>3)|0]&1<<(v&7)|0)==0){u=0}else{u=0;while(1){u=da(u,r)|0;t=t+1|0;u=(d[285344+v|0]|0)+u<<16>>16;v=a[t]|0;if((1<<(v&7)&d[s+(v>>3)|0]|0)==0){break}else{}}}r=(q?0-u|0:u)&65535}}while(0);b[n+18>>1]=r;q=f+r<<16>>16;b[n+20>>1]=q;f=n+22|0;b[f>>1]=0-r<<16>>16;r=k+18|0;s=b[r>>1]|0;b[r>>1]=q<<16>>16>s<<16>>16?q:s;q=b[f>>1]|0;f=k+20|0;r=b[f>>1]|0;b[f>>1]=q<<16>>16>r<<16>>16?q:r;r=(b[g>>1]|0)+(b[o>>1]|0)<<16>>16;b[k+22>>1]=r;f=k+16|0;q=b[f>>1]|0;b[f>>1]=r<<16>>16>q<<16>>16?r:q;f=b[g>>1]|0;q=k+12|0;r=b[q>>1]|0;b[q>>1]=f<<16>>16<r<<16>>16?f:r;f=b[g>>1]|0;q=k+14|0;g=b[q>>1]|0;b[q>>1]=f<<16>>16>g<<16>>16?f:g;if((c[k>>2]&512|0)==0){b[n+10>>1]=b[o>>1]|0}do{if((c[c[k+36>>2]>>2]|0)!=0){q=_I(e[n+10>>1]|0,72e3,da(c[m+20>>2]|0,c[m+16>>2]|0)|0)|0;o=n+8|0;q=q&65535;if((b[o>>1]|0)==q<<16>>16){break}b[o>>1]=q;if((c[p>>2]|0)==-1){u=(c[m+64>>2]|0)+ -1|0;v=m+8324+(u>>>5<<2)|0;c[v>>2]=1<<(u&31)|c[v>>2]}else{u=c[n+4>>2]|0;v=m+132+(u>>5<<2)|0;c[v>>2]=1<<(u&31)|c[v>>2]}c[k>>2]=c[k>>2]|4096;b[m+16516>>1]=1}}while(0);c[k>>2]=c[k>>2]|1024}}while(0);p=c[l>>2]|0;o=178}}while(0);do{if((o|0)==178){if((p|0)==0){v=0;i=h;return v|0}else{m=k;break}}}while(0);if((c[m>>2]&64|0)==0){v=p;i=h;return v|0}v=k+24|0;lJ(j,c[v>>2]|0);c[v>>2]=0;v=c[l>>2]|0;i=h;return v|0}function aV(a,b){a=a|0;b=b|0;var d=0;d=i;a=c[a+4>>2]|0;b=c[b+4>>2]|0;if((a|0)<(b|0)){a=-1;i=d;return a|0}a=(a|0)>(b|0)|0;i=d;return a|0}function bV(a,b,d){a=a|0;b=b|0;d=d|0;c[b>>2]=c[a+132>>2];c[d>>2]=c[a+136>>2];i=i;return 0}function cV(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;f=i;h=c[b+140>>2]|0;if((h|0)==0){n=6;i=f;return n|0}if((c[h+72>>2]|0)==0|(d|0)==0){n=6;i=f;return n|0}b=a[d]|0;if(b<<24>>24==0){n=6;i=f;return n|0}m=c[h+128>>2]|0;j=c[m+12>>2]|0;n=b;l=d;k=0;do{l=l+1|0;k=(k*31|0)+(n<<24>>24)|0;n=a[l]|0;}while(n<<24>>24!=0);n=c[m+4>>2]|0;m=j+(((k>>>0)%(n>>>0)|0)<<2)|0;l=c[m>>2]|0;if((l|0)==0){n=6;i=f;return n|0}k=j+(n+ -1<<2)|0;while(1){n=c[l>>2]|0;if((a[n]|0)==b<<24>>24){if((Qc(n|0,d|0)|0)==0){break}}l=m+ -4|0;m=l>>>0<j>>>0?k:l;l=c[m>>2]|0;if((l|0)==0){e=6;g=17;break}}if((g|0)==17){i=f;return e|0}if((l|0)==0){n=6;i=f;return n|0}g=c[h+80>>2]|0;d=c[l+4>>2]|0;if((g+(d<<4)|0)==0){n=6;i=f;return n|0}b=c[g+(d<<4)+4>>2]|0;if((b|0)==3){c[e>>2]=3;c[e+4>>2]=c[g+(d<<4)+12>>2];n=0;i=f;return n|0}else if((b|0)==1){c[e>>2]=1;c[e+4>>2]=c[g+(d<<4)+12>>2];n=0;i=f;return n|0}else if((b|0)==2){c[e>>2]=2;c[e+4>>2]=c[g+(d<<4)+12>>2];n=0;i=f;return n|0}else{n=6;i=f;return n|0}return 0}function dV(a){a=a|0;i=i;return 0}function eV(a){a=a|0;i=i;return}function fV(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;e=uJ(290784,b)|0;if((e|0)!=0){a=e;i=d;return a|0}if((a|0)==0){a=0;i=d;return a|0}e=mK(c[a+4>>2]|0,287128)|0;if((e|0)==0){a=0;i=d;return a|0}a=Bd[c[(c[e>>2]|0)+32>>2]&255](e,b)|0;i=d;return a|0}function gV(f,g,h,j,k){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0;n=i;q=i;i=i+8|0;v=i;i=i+8|0;r=i;i=i+8|0;x=i;i=i+8|0;y=x;A=i;i=i+8|0;B=A;w=i;i=i+8|0;z=w;I=i;i=i+8|0;H=I;M=i;i=i+8|0;L=M;J=i;i=i+8|0;K=J;P=i;i=i+8|0;Q=P;N=i;i=i+8|0;O=N;U=i;i=i+8|0;W=U;R=i;i=i+8|0;X=R;_=i;i=i+8|0;aa=_;E=i;i=i+8|0;da=E;D=i;i=i+32|0;F=D;Y=i;i=i+32|0;Z=Y;m=i;i=i+8|0;p=m;o=i;i=i+16|0;l=o;t=g+96|0;ca=c[(c[t>>2]|0)+4>>2]|0;s=nK(ca,287128)|0;a:do{if((s|0)==0){u=304}else{C=oK(c[t>>2]|0,287136)|0;G=nK(ca,287160)|0;ha=PJ(f,0)|0;c[m>>2]=ha;if((ha|0)!=0){break}ha=Cd[c[s+4>>2]&63](f,g,h,j,k)|0;c[m>>2]=ha;if((ha|0)==0){if((c[g+148>>2]|0)!=1330926671){u=304;break}if((h|0)<0){ha=0;i=n;return ha|0}if((h|0)>0){c[m>>2]=6;break}t=g+508|0;ha=pd[c[t>>2]&63](g,1751474532,f,0)|0;c[m>>2]=ha;if((ha|0)==0){ha=Cd[c[s+8>>2]&63](f,g,0,j,k)|0;c[m>>2]=ha;if((ha|0)==0){k=0}else{break}}else{ha=Bd[c[s+40>>2]&255](g,f)|0;c[m>>2]=ha;if((ha|0)==0){k=1}else{break}}ha=pd[c[t>>2]&63](g,1128678944,f,0)|0;c[m>>2]=ha;if((ha|0)==0){t=1}else{break}}else{ha=PJ(f,0)|0;c[m>>2]=ha;if((ha|0)!=0){break}c[m>>2]=0;k=1;t=0}s=c[g+100>>2]|0;p=jJ(s,2072,p)|0;if((c[m>>2]|0)!=0){break}c[g+692>>2]=p;S=f+28|0;fa=c[S>>2]|0;bX(p|0,0,2072)|0;bX(D|0,0,32)|0;c[p>>2]=f;c[p+4>>2]=fa;V=p+1324|0;T=IK(f)|0;ha=ZK(f,287200,p)|0;c[E>>2]=ha;b:do{if((ha|0)==0){do{if((a[p+16|0]|0)==1){j=a[p+18|0]|0;if((j&255)<4){break}if((d[p+19|0]|0)>4){break}ha=DK(f,(j&255)+ -4|0)|0;c[E>>2]=ha;if((ha|0)!=0){break b}j=p+20|0;ha=BV(j,f,0)|0;c[E>>2]=ha;if((ha|0)!=0){break b}ba=p+1208|0;ha=BV(ba,f,0)|0;c[E>>2]=ha;if((ha|0)!=0){break b}ha=BV(F,f,1)|0;c[E>>2]=ha;if((ha|0)!=0){break b}$=p+84|0;ha=BV($,f,1)|0;c[E>>2]=ha;if((ha|0)!=0){break b}ha=CV(F,p+1316|0,p+1320|0)|0;c[E>>2]=ha;if((ha|0)!=0){break b}c[p+1312>>2]=c[F+8>>2];ha=c[p+28>>2]|0;c[p+8>>2]=ha;if((ha|0)<=(h|0)){c[E>>2]=6}if((h|0)<0){break b}ha=DV(V,ba,h,f,T,ca)|0;c[E>>2]=ha;if((ha|0)!=0){break b}ba=p+1432|0;ha=PJ(f,(c[ba>>2]|0)+T|0)|0;c[E>>2]=ha;if((ha|0)!=0){break b}ha=BV(p+1176|0,f,0)|0;c[E>>2]=ha;if((ha|0)!=0){break b}V=p+1452|0;if((c[V>>2]|0)==65535){c[p+1892>>2]=0}else{ha=PJ(f,(c[p+1484>>2]|0)+T|0)|0;c[E>>2]=ha;if((ha|0)!=0){break b}ha=BV(Z,f,0)|0;c[E>>2]=ha;if((ha|0)!=0){break b}ea=Z+8|0;ga=c[ea>>2]|0;c:do{if(ga>>>0>32){fa=0}else{c[p+1892>>2]=ga;da=oJ(fa,568,0,ga,0,da)|0;fa=c[E>>2]|0;if((fa|0)!=0){break}fa=c[ea>>2]|0;if((fa|0)!=0){ga=0;while(1){c[p+1896+(ga<<2)>>2]=da+(ga*568|0);ga=ga+1|0;if(ga>>>0<fa>>>0){}else{da=0;break}}do{fa=DV(c[p+1896+(da<<2)>>2]|0,Z,da,f,T,ca)|0;c[E>>2]=fa;da=da+1|0;if((fa|0)!=0){break c}}while(da>>>0<(c[ea>>2]|0)>>>0)}ca=c[p+1184>>2]|0;fa=PJ(f,(c[p+1488>>2]|0)+T|0)|0;c[_>>2]=fa;do{if((fa|0)==0){da=VK(f,aa)|0;fa=c[_>>2]|0;if((fa|0)!=0){break}a[p+2024|0]=da;c[p+2044>>2]=0;da=da&255;if((da|0)==3){aa=EK(f,aa)|0;fa=c[_>>2]|0;if((fa|0)!=0){break}ca=((aa&65535)*3|0)+2|0;c[p+2036>>2]=ca}else if((da|0)==0){c[p+2036>>2]=ca}else{c[_>>2]=3;fa=3;break}fa=LK(f,ca,p+2032|0)|0;c[_>>2]=fa}}while(0);c[E>>2]=fa}}while(0);_=c[Y>>2]|0;if((_|0)!=0){ca=c[_+28>>2]|0;aa=Z+28|0;if((c[aa>>2]|0)!=0){NK(_,aa)}lJ(ca,c[Z+24>>2]|0);bX(Y|0,0,32)|0;fa=c[E>>2]|0}if((fa|0)!=0){break b}}if((c[ba>>2]|0)==0){c[E>>2]=2;break b}Y=p+12|0;c[Y>>2]=c[p+1184>>2];ha=CV($,p+1308|0,0)|0;c[E>>2]=ha;if((ha|0)!=0){break b}$=c[Y>>2]|0;d:do{if(($|0)!=0){if((c[V>>2]|0)==65535){aa=0}else{aa=k<<24>>24!=0|0}Z=p+1152|0;u=c[p+1424>>2]|0;_=c[S>>2]|0;c[R>>2]=0;e:do{if(u>>>0>2){ha=u+T|0;ba=p+1156|0;c[ba>>2]=ha;ha=PJ(f,ha)|0;c[R>>2]=ha;if((ha|0)!=0){u=111;break}c[Z>>2]=(VK(f,X)|0)&255;if((c[R>>2]|0)!=0){u=111;break}ca=oJ(_,2,0,$,0,X)|0;u=p+1160|0;c[u>>2]=ca;if((c[R>>2]|0)!=0){u=111;break}b[ca>>1]=0;ca=c[Z>>2]|0;if((ca|0)==2|(ca|0)==1){if($>>>0>1){ca=1}else{u=96;break}while(1){fa=EK(f,X)|0;if((c[R>>2]|0)!=0){u=111;break e}if((c[Z>>2]|0)==2){da=(EK(f,X)|0)&65535;if((c[R>>2]|0)!=0){u=111;break e}}else{da=(VK(f,X)|0)&255;if((c[R>>2]|0)!=0){u=111;break e}}ea=fa&65535;ea=ea>>>0>(da^65535)>>>0?ea^65535:da;if(ca>>>0<$>>>0){da=~ea;ha=0;ga=ca;while(1){b[(c[u>>2]|0)+(ga<<1)>>1]=fa;ha=ha+1|0;ga=ga+1|0;if(ga>>>0>=$>>>0|ha>>>0>ea>>>0){break}else{fa=fa+1<<16>>16}}ea=ca-$|0;ca=ca-(ea>>>0>dada)|0}if(ca>>>0>=$>>>0){u=96;break}}}else if((ca|0)==0){ha=MK(f,($<<1)+ -2|0)|0;c[R>>2]=ha;if((ha|0)!=0){u=111;break}if($>>>0>1){X=1;do{ha=RK(f)|0;b[(c[u>>2]|0)+(X<<1)>>1]=ha;X=X+1|0;}while(X>>>0<$>>>0)}PK(f);u=96;break}else{c[R>>2]=3;u=111;break}}else{ba=p+1156|0;c[ba>>2]=u;if((u|0)==1){if($>>>0>166){c[R>>2]=3;u=111;break}u=oJ(_,2,0,$,0,X)|0;c[p+1160>>2]=u;if((c[R>>2]|0)!=0){u=111;break}$W(u|0,288712,$<<1|0)|0;u=96;break}else if((u|0)==2){if($>>>0>87){c[R>>2]=3;u=111;break}u=oJ(_,2,0,$,0,X)|0;c[p+1160>>2]=u;if((c[R>>2]|0)!=0){u=111;break}$W(u|0,289048,$<<1|0)|0;u=96;break}else if((u|0)==0){if($>>>0>229){c[R>>2]=3;u=111;break}u=oJ(_,2,0,$,0,X)|0;c[p+1160>>2]=u;if((c[R>>2]|0)!=0){u=111;break}$W(u|0,288248,$<<1|0)|0;u=96;break}else{c[R>>2]=3;u=111;break}}}while(0);do{if((u|0)==96){if(aa<<24>>24==0){da=c[R>>2]|0}else{c[U>>2]=0;X=p+1168|0;do{if((c[X>>2]|0)==0){aa=p+1160|0;ea=c[aa>>2]|0;da=0;ca=0;do{ba=b[ea+(da<<1)>>1]|0;ca=(ba&65535)>(ca&65535)?ba:ca;da=da+1|0;}while(da>>>0<$>>>0);ba=ca&65535;ca=oJ(_,2,0,ba+1|0,0,W)|0;W=p+1164|0;c[W>>2]=ca;da=c[U>>2]|0;if((da|0)!=0){break}da=$+ -1|0;if((da|0)>-1){b[ca+(e[(c[aa>>2]|0)+(da<<1)>>1]<<1)>>1]=da;ca=$+ -2|0;if((ca|0)>-1){do{b[(c[W>>2]|0)+(e[(c[aa>>2]|0)+(ca<<1)>>1]<<1)>>1]=ca;ca=ca+ -1|0;}while((ca|0)>-1)}da=c[U>>2]|0}else{da=0}c[X>>2]=ba;c[p+1172>>2]=$}else{da=0}}while(0);c[R>>2]=da}if((da|0)==0){c[E>>2]=0;break}else{ba=p+1156|0;u=111;break}}}while(0);if((u|0)==111){ha=p+1160|0;lJ(_,c[ha>>2]|0);c[ha>>2]=0;ga=p+1164|0;lJ(_,c[ga>>2]|0);c[ga>>2]=0;c[Z>>2]=0;c[ba>>2]=0;c[ha>>2]=0;ha=c[R>>2]|0;c[E>>2]=ha;if((ha|0)!=0){break b}}if((c[V>>2]|0)!=65535){break}R=c[Y>>2]|0;W=c[p+1428>>2]|0;c[N>>2]=0;U=p+1160|0;f:do{if((c[U>>2]|0)==0){c[N>>2]=3;W=3}else{V=0;do{b[p+128+(V<<1)>>1]=0;b[p+640+(V<<1)>>1]=0;V=V+1|0;}while(V>>>0<256);do{if(W>>>0>1){W=W+T|0;c[p+120>>2]=W;W=PJ(f,W)|0;c[N>>2]=W;if((W|0)!=0){break f}P=p+116|0;c[P>>2]=(VK(f,O)|0)&255;W=c[N>>2]|0;if((W|0)!=0){break f}T=VK(f,O)|0;Q=T&255;W=c[N>>2]|0;if((W|0)!=0){break f}S=c[P>>2]&127;do{if((S|0)==1){S=p+124|0;c[S>>2]=0;if(T<<24>>24==0){break}else{V=1;T=0}while(1){X=(VK(f,O)|0)&255;W=c[N>>2]|0;if((W|0)!=0){break f}Y=VK(f,O)|0;W=c[N>>2]|0;if((W|0)!=0){break f}W=(Y&255)+1|0;if(W>>>0>(c[S>>2]|0)>>>0){c[S>>2]=W}W=W+V|0;if(V>>>0<W>>>0){while(1){if(V>>>0<R>>>0&X>>>0<256){b[p+640+(X<<1)>>1]=V;b[p+128+(X<<1)>>1]=b[(c[U>>2]|0)+(V<<1)>>1]|0}V=V+1|0;if(V>>>0<W>>>0){X=X+1|0}else{break}}}T=T+1|0;if(T>>>0<Q>>>0){V=W}else{break}}if((c[S>>2]|0)>>>0<=256){break}c[S>>2]=256}else if((S|0)==0){c[p+124>>2]=Q+1;W=MK(f,Q)|0;c[N>>2]=W;if((W|0)!=0){break f}if(T<<24>>24!=0){V=1;S=c[f+32>>2]|0;while(1){T=d[S]|0;if(V>>>0<R>>>0){b[p+640+(T<<1)>>1]=V;b[p+128+(T<<1)>>1]=b[(c[U>>2]|0)+(V<<1)>>1]|0}V=V+1|0;if(V>>>0>Q>>>0){break}else{S=S+1|0}}}PK(f)}else{c[N>>2]=3;W=3;break f}}while(0);if((c[P>>2]&128|0)==0){ha=c[N>>2]|0;c[E>>2]=ha;if((ha|0)==0){break d}else{break b}}Q=VK(f,O)|0;P=Q&255;W=c[N>>2]|0;if((W|0)!=0){break f}if(Q<<24>>24==0){break}T=(R|0)==0;S=0;do{Q=(VK(f,O)|0)&255;W=c[N>>2]|0;if((W|0)!=0){break f}V=EK(f,O)|0;W=c[N>>2]|0;if((W|0)!=0){break f}b[p+128+(Q<<1)>>1]=V;g:do{if(!T){X=c[U>>2]|0;Y=0;while(1){W=Y+1|0;if((b[X+(Y<<1)>>1]|0)==V<<16>>16){break}if(W>>>0<R>>>0){Y=W}else{break g}}b[p+640+(Q<<1)>>1]=Y}}while(0);S=S+1|0;}while(S>>>0<P>>>0)}else{if((W|0)==1){$W(p+128|0,287736,512)|0}else if((W|0)==0){$W(p+128|0,287224,512)|0}else{c[N>>2]=3;W=3;break f}f=p+124|0;c[f>>2]=0;T=c[S>>2]|0;c[P>>2]=0;O=p+1168|0;if((c[O>>2]|0)==0){if((R|0)==0){S=0}else{V=c[U>>2]|0;W=0;X=0;do{S=b[V+(W<<1)>>1]|0;X=(S&65535)>(X&65535)?S:X;W=W+1|0;}while(W>>>0<R>>>0);S=X&65535}T=oJ(T,2,0,S+1|0,0,Q)|0;Q=p+1164|0;c[Q>>2]=T;W=c[P>>2]|0;if((W|0)!=0){c[N>>2]=W;break f}V=R+ -1|0;if((V|0)>-1){b[T+(e[(c[U>>2]|0)+(V<<1)>>1]<<1)>>1]=V;T=R+ -2|0;if((T|0)>-1){do{b[(c[Q>>2]|0)+(e[(c[U>>2]|0)+(T<<1)>>1]<<1)>>1]=T;T=T+ -1|0;}while((T|0)>-1)}W=c[P>>2]|0}else{W=0}c[O>>2]=S;c[p+1172>>2]=R;c[N>>2]=W;if((W|0)!=0){break f}}else{c[N>>2]=0;Q=p+1164|0}N=0;do{P=p+128+(N<<1)|0;R=b[P>>1]|0;do{if(R<<16>>16==0){u=174}else{R=R&65535;if((c[O>>2]|0)>>>0<R>>>0){u=174;break}R=b[(c[Q>>2]|0)+(R<<1)>>1]|0;if(R<<16>>16==0){u=174;break}b[p+640+(N<<1)>>1]=R;N=N+1|0;c[f>>2]=N}}while(0);if((u|0)==174){u=0;b[p+640+(N<<1)>>1]=0;b[P>>1]=0;N=N+1|0}}while(N>>>0<256)}}while(0);c[E>>2]=0;break d}}while(0);c[E>>2]=W;break b}}while(0);N=c[(c[j>>2]|0)+28>>2]|0;ha=AV(j,h,H,L)|0;c[J>>2]=ha;do{if((ha|0)==0){L=c[M>>2]|0;K=jJ(N,L+1|0,K)|0;if((c[J>>2]|0)==0){$W(K|0,c[I>>2]|0,L|0)|0;a[K+L|0]=0}if((c[p+48>>2]|0)!=0){break}NK(c[j>>2]|0,H)}else{K=0}}while(0);c[p+1304>>2]=K;break b}}while(0);c[E>>2]=2}}while(0);I=c[D>>2]|0;if((I|0)!=0){J=c[I+28>>2]|0;H=F+28|0;if((c[H>>2]|0)!=0){NK(I,H)}lJ(J,c[F+24>>2]|0);bX(D|0,0,32)|0}ha=c[E>>2]|0;c[m>>2]=ha;if((ha|0)!=0){break}c[p+2052>>2]=G;E=p+2056|0;c[E>>2]=C;c[g+4>>2]=h;F=g+16|0;c[F>>2]=c[p+12>>2];D=p+1452|0;if((c[D>>2]|0)==65535&(C|0)==0){u=304;break}C=p+1388|0;I=c[C>>2]|0;if((I|0)==0){if(k<<24>>24==0){I=e[g+68>>1]|0}else{I=1e3}c[C>>2]=I}H=p+1372|0;G=p+1392|0;J=p+1384|0;K=c[J>>2]|0;K=(K|0)<0?0-K|0:K;if((K|0)==65536){I=c[p+1396>>2]|0;J=G}else{c[C>>2]=bJ(I,K)|0;c[H>>2]=bJ(c[H>>2]|0,K)|0;I=p+1380|0;c[I>>2]=bJ(c[I>>2]|0,K)|0;I=p+1376|0;c[I>>2]=bJ(c[I>>2]|0,K)|0;c[J>>2]=bJ(c[J>>2]|0,K)|0;c[G>>2]=bJ(c[G>>2]|0,K)|0;J=p+1396|0;I=bJ(c[J>>2]|0,K)|0;c[J>>2]=I;J=G}c[J>>2]=c[J>>2]>>16;c[p+1396>>2]=I>>16;K=c[p+1892>>2]|0;if((K|0)!=0){I=p+1896|0;do{K=K+ -1|0;J=c[I+(K<<2)>>2]|0;L=J+64|0;M=c[L>>2]|0;if((M|0)==0){$W(J+48|0,H|0,16)|0;ga=G;ha=c[ga+4>>2]|0;f=J+68|0;c[f>>2]=c[ga>>2];c[f+4>>2]=ha;f=c[C>>2]|0}else{j=c[C>>2]|0;if(j>>>0>1&M>>>0>1){M=j>>>0<M>>>0?j:M}else{M=1}dJ(H,J+48|0,M);eJ(J+68|0,H,M);f=_I(c[L>>2]|0,c[C>>2]|0,M)|0}c[L>>2]=f;M=J+68|0;j=J+60|0;N=c[j>>2]|0;N=(N|0)<0?0-N|0:N;if((N|0)==65536){L=c[J+72>>2]|0}else{f=bJ(f,N)|0;if(f>>>0>1e5){f=((f+500|0)>>>0)/1e3|0}c[L>>2]=f;ha=J+48|0;c[ha>>2]=bJ(c[ha>>2]|0,N)|0;ha=J+56|0;c[ha>>2]=bJ(c[ha>>2]|0,N)|0;ha=J+52|0;c[ha>>2]=bJ(c[ha>>2]|0,N)|0;c[j>>2]=bJ(c[j>>2]|0,N)|0;c[M>>2]=bJ(c[M>>2]|0,N)|0;ha=J+72|0;L=bJ(c[ha>>2]|0,N)|0;c[ha>>2]=L}c[M>>2]=c[M>>2]>>16;c[J+72>>2]=L>>16;}while((K|0)!=0)}k=k<<24>>24==0;if(!k){c[g>>2]=c[p+8>>2];if((c[D>>2]|0)==65535){G=c[p+1184>>2]|0}else{G=(c[p+1168>>2]|0)+1|0}c[F>>2]=G;c[g+52>>2]=c[p+1404>>2]>>16;ga=c[p+1408>>2]>>16;c[g+56>>2]=ga;c[g+60>>2]=(c[p+1412>>2]|0)+65535>>16;ha=(c[p+1416>>2]|0)+65535>>16;c[g+64>>2]=ha;F=c[C>>2]|0;b[g+68>>1]=F;ha=ha&65535;b[g+70>>1]=ha;C=ga&65535;b[g+72>>1]=C;F=((((F&65535)*12|0)>>>0)/10|0)&65535;C=(ha<<16>>16)-(C<<16>>16)|0;b[g+74>>1]=(F<<16>>16|0)<(C|0)?C&65535:F;b[g+80>>1]=(c[p+1356>>2]|0)>>>16;b[g+82>>1]=(c[p+1360>>2]|0)>>>16;C=p+20|0;F=c[(c[C>>2]|0)+28>>2]|0;ha=AV(C,h,y,B)|0;c[w>>2]=ha;do{if((ha|0)==0){A=c[A>>2]|0;z=jJ(F,A+1|0,z)|0;if((c[w>>2]|0)==0){$W(z|0,c[x>>2]|0,A|0)|0;a[z+A|0]=0}if((c[p+48>>2]|0)!=0){w=z;break}NK(c[C>>2]|0,y);w=z}else{w=0}}while(0);x=g+20|0;c[x>>2]=w;h:do{if((w|0)==0){u=c[p+1492>>2]|0;if((u|0)==65535){u=261;break}if(u>>>0>390){r=u+ -391|0;if((c[p+1312>>2]|0)>>>0<=r>>>0){u=261;break}r=c[(c[p+1316>>2]|0)+(r<<2)>>2]|0}else{r=c[E>>2]|0;if((r|0)==0){u=261;break}r=jd[c[r+20>>2]&511](u)|0}if((r|0)==0){u=261;break}c[x>>2]=aL(s,r,v)|0;u=261}else{y=c[p+1336>>2]|0;do{if((y|0)==65535){v=0}else{if(y>>>0>390){v=y+ -391|0;if((c[p+1312>>2]|0)>>>0<=v>>>0){v=0;break}v=c[(c[p+1316>>2]|0)+(v<<2)>>2]|0;break}else{v=c[E>>2]|0;if((v|0)==0){v=0;break}v=jd[c[v+20>>2]&511](y)|0;w=c[x>>2]|0;break}}}while(0);B=(ZW(w|0)|0)+1|0;C=w+6|0;F=(B|0)>7;i:do{if((B|0)>6){x=w+1|0;A=w+2|0;z=w+3|0;y=w+4|0;h=w+5|0;G=1;j:while(1){if((a[C]|0)!=43){break i}G=((a[y]|0)+ -65<<24>>24&255)<26?((a[z]|0)+ -65<<24>>24&255)<26?((a[A]|0)+ -65<<24>>24&255)<26?((a[x]|0)+ -65<<24>>24&255)<26?((a[w]|0)+ -65<<24>>24&255)<26?G:0:0:0:0:0;if(G<<24>>24==0|((a[h]|0)+ -65<<24>>24&255)>25){break i}if(F){H=7}else{continue}while(1){a[w+(H+ -7)|0]=a[w+H|0]|0;H=H+1|0;if((H|0)<(B|0)){}else{continue j}}}}}while(0);x=c[p+1340>>2]|0;do{if((x|0)==65535){x=0;u=240}else if((x|0)!=0){if(x>>>0>390){u=x+ -391|0;if((c[p+1312>>2]|0)>>>0<=u>>>0){x=0;u=240;break}x=c[(c[p+1316>>2]|0)+(u<<2)>>2]|0;u=240;break}else{u=c[E>>2]|0;if((u|0)==0){x=0;u=240;break}x=jd[c[u+20>>2]&511](x)|0;u=240;break}}}while(0);if((u|0)==240){w=(x|0)==0?w:x}if((v|0)==0|(w|0)==0){u=261;break}x=a[v]|0;if(x<<24>>24==0){u=261;break}k:while(1){while(1){y=a[w]|0;if(x<<24>>24==y<<24>>24){u=245;break}if(x<<24>>24==45|x<<24>>24==32){break}if(y<<24>>24==0){break k}else if(!(y<<24>>24==45|y<<24>>24==32)){u=261;break h}if(x<<24>>24==0){u=261;break h}w=w+1|0}if((u|0)==245){u=0;w=w+1|0}v=v+1|0;x=a[v]|0;if(x<<24>>24==0){u=261;break h}}r=aL(s,v,r)|0;if((r|0)==0){u=261;break}c[g+24>>2]=r}}while(0);if((u|0)==261){c[g+24>>2]=aL(s,287176,q)|0}q=t<<24>>24==0?2065:2073;c[g+8>>2]=(a[p+1348|0]|0)==0?q:q|4;q=(c[p+1352>>2]|0)!=0|0;r=c[p+1344>>2]|0;do{if((r|0)!=65535){if(r>>>0>390){r=r+ -391|0;if((c[p+1312>>2]|0)>>>0<=r>>>0){break}r=c[(c[p+1316>>2]|0)+(r<<2)>>2]|0}else{s=c[E>>2]|0;if((s|0)==0){break}r=jd[c[s+20>>2]&511](r)|0}if((r|0)==0){break}if((Qc(r|0,287184)|0)!=0){if((Qc(r|0,287192)|0)!=0){break}}q=q|2}}while(0);do{if((q&2|0)==0){r=c[g+24>>2]|0;if((r|0)==0){break}if((vc(r|0,287184,4)|0)!=0){if((vc(r|0,287192,5)|0)!=0){break}}q=q|2}}while(0);c[g+12>>2]=q}q=c[D>>2]|0;if((q|0)==65535){q=g+8|0;c[q>>2]=c[q>>2]|512;q=c[D>>2]|0}if(!((q|0)==65535|k)){ha=g+8|0;c[ha>>2]=c[ha>>2]|4096}q=g+36|0;s=c[q>>2]|0;l:do{if((s|0)==0){s=0;r=1;u=288}else{t=c[g+40>>2]|0;r=0;while(1){w=c[t+(r<<2)>>2]|0;v=b[w+8>>1]|0;if(v<<16>>16==3){if((b[w+10>>1]|0)==1){break l}}else if(v<<16>>16==0){break l}v=r+1|0;if(v>>>0<s>>>0){r=v}else{break}}r=r+2|0;u=288}}while(0);do{if((u|0)==288){if(k){if(r>>>0>15){break a}}else{if((c[D>>2]|0)!=65535|r>>>0>15){break a}}c[o>>2]=g;b[l+8>>1]=3;b[l+10>>1]=1;c[l+4>>2]=1970170211;ha=eK(287088,0,l,0)|0;c[m>>2]=ha;if(!((ha|0)==0|(ha|0)==163)){break a}c[m>>2]=0;r=g+92|0;if((c[r>>2]|0)!=0){r=s;break}if((s|0)==(c[q>>2]|0)){r=s;break}c[r>>2]=c[(c[g+40>>2]|0)+(s<<2)>>2];r=s}}while(0);if(r>>>0>15){break}if((c[p+124>>2]|0)==0){break}c[o>>2]=g;b[l+8>>1]=7;g=c[p+120>>2]|0;do{if((g|0)==0){b[l+10>>1]=0;c[l+4>>2]=1094995778}else{o=l+10|0;if((g|0)==1){b[o>>1]=1;c[l+4>>2]=1094992453;break}else{b[o>>1]=2;c[l+4>>2]=1094992451;break}}}while(0);c[m>>2]=eK(287048,0,l,0)|0}}while(0);if((u|0)==304){c[m>>2]=2}ha=c[m>>2]|0;i=n;return ha|0}function hV(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;d=i;if((b|0)==0){i=d;return}e=c[b+100>>2]|0;f=c[b+532>>2]|0;if((f|0)!=0){fd[c[f+12>>2]&511](b)}f=b+692|0;g=c[f>>2]|0;if((g|0)==0){i=d;return}b=c[g+4>>2]|0;h=g+84|0;j=c[h>>2]|0;if((j|0)!=0){k=c[j+28>>2]|0;l=g+112|0;if((c[l>>2]|0)!=0){NK(j,l)}lJ(k,c[g+108>>2]|0);bX(h|0,0,32)|0}j=g+1208|0;k=c[j>>2]|0;if((k|0)!=0){l=c[k+28>>2]|0;h=g+1236|0;if((c[h>>2]|0)!=0){NK(k,h)}lJ(l,c[g+1232>>2]|0);bX(j|0,0,32)|0}h=g+20|0;j=c[h>>2]|0;if((j|0)!=0){k=c[j+28>>2]|0;l=g+48|0;if((c[l>>2]|0)!=0){NK(j,l)}lJ(k,c[g+44>>2]|0);bX(h|0,0,32)|0}l=g+1176|0;h=c[l>>2]|0;if((h|0)!=0){j=c[h+28>>2]|0;k=g+1204|0;if((c[k>>2]|0)!=0){NK(h,k)}lJ(j,c[g+1200>>2]|0);bX(l|0,0,32)|0}h=g+1892|0;l=c[h>>2]|0;if((l|0)!=0){j=0;do{k=c[g+1896+(j<<2)>>2]|0;if((k|0)!=0){l=k+532|0;m=c[l>>2]|0;if((m|0)!=0){n=c[m+28>>2]|0;o=k+560|0;if((c[o>>2]|0)!=0){NK(m,o)}lJ(n,c[k+556>>2]|0);bX(l|0,0,32)|0}l=k+564|0;lJ(b,c[l>>2]|0);c[l>>2]=0;l=c[h>>2]|0}j=j+1|0;}while(j>>>0<l>>>0);o=g+1896|0;lJ(b,c[o>>2]|0);c[o>>2]=0}c[g+116>>2]=0;c[g+120>>2]=0;c[g+124>>2]=0;j=c[(c[g>>2]|0)+28>>2]|0;k=g+1164|0;lJ(j,c[k>>2]|0);c[k>>2]=0;c[g+1168>>2]=0;k=g+1160|0;lJ(j,c[k>>2]|0);c[k>>2]=0;c[g+1152>>2]=0;c[g+1156>>2]=0;k=g+1856|0;j=c[k>>2]|0;if((j|0)!=0){l=c[j+28>>2]|0;h=g+1884|0;if((c[h>>2]|0)!=0){NK(j,h)}lJ(l,c[g+1880>>2]|0);bX(k|0,0,32)|0}h=g+1888|0;lJ(b,c[h>>2]|0);c[h>>2]=0;h=g+2032|0;if((c[h>>2]|0)!=0){NK(c[g>>2]|0,h)}c[g+2036>>2]=0;a[g+2024|0]=0;c[g+2028>>2]=0;o=g+2060|0;lJ(b,c[o>>2]|0);c[o>>2]=0;o=g+1304|0;lJ(b,c[o>>2]|0);c[o>>2]=0;o=g+1308|0;lJ(b,c[o>>2]|0);c[o>>2]=0;o=g+1316|0;lJ(b,c[o>>2]|0);c[o>>2]=0;o=g+1320|0;lJ(b,c[o>>2]|0);c[o>>2]=0;lJ(e,c[f>>2]|0);c[f>>2]=0;i=d;return}function iV(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;b=i;d=i;i=i+8|0;f=d;e=i;i=i+200|0;c[d>>2]=0;g=c[a>>2]|0;h=c[(c[g+692>>2]|0)+2052>>2]|0;g=mK(c[(c[g+96>>2]|0)+4>>2]|0,287160)|0;do{if(!((g|0)==0|(h|0)==0)){h=c[h>>2]|0;if((h|0)==0){break}g=jd[h&511](g)|0;if((g|0)==0){break}j=c[a>>2]|0;h=c[j+692>>2]|0;f=jJ(c[j+100>>2]|0,132,f)|0;j=c[d>>2]|0;if((j|0)!=0){l=j;i=b;return l|0}KV(h+1324|0,e);j=sd[c[g>>2]&127](c[(c[a>>2]|0)+100>>2]|0,e,f)|0;c[d>>2]=j;if((j|0)!=0){l=j;i=b;return l|0}k=h+1896|0;j=f+4|0;l=c[h+1892>>2]|0;while(1){if((l|0)==0){e=9;break}l=l+ -1|0;KV(c[k+(l<<2)>>2]|0,e);h=sd[c[g>>2]&127](c[(c[a>>2]|0)+100>>2]|0,e,j+(l<<2)|0)|0;c[d>>2]=h;if((h|0)!=0){e=11;break}}if((e|0)==9){c[a+40>>2]=f;break}else if((e|0)==11){i=b;return h|0}}}while(0);c[a+44>>2]=-1;l=c[d>>2]|0;i=b;return l|0}function jV(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;f=c[a>>2]|0;d=c[f+692>>2]|0;a=c[a+40>>2]|0;if((a|0)==0){i=b;return}e=c[d+2052>>2]|0;f=mK(c[(c[f+96>>2]|0)+4>>2]|0,287160)|0;if((f|0)==0|(e|0)==0){i=b;return}e=c[e>>2]|0;if((e|0)==0){i=b;return}e=jd[e&511](f)|0;if((e|0)==0){i=b;return}e=e+8|0;fd[c[e>>2]&511](c[a>>2]|0);d=c[d+1892>>2]|0;if((d|0)==0){i=b;return}do{d=d+ -1|0;fd[c[e>>2]&511](c[a+4+(d<<2)>>2]|0);}while((d|0)!=0);i=b;return}function kV(a){a=a|0;var b=0,d=0,e=0;b=i;e=c[a+4>>2]|0;d=c[(c[e+692>>2]|0)+2052>>2]|0;if((d|0)==0){i=b;return 0}e=mK(c[(c[e+96>>2]|0)+4>>2]|0,287160)|0;if((e|0)==0){i=b;return 0}e=jd[c[d+8>>2]&511](e)|0;c[(c[a+156>>2]|0)+36>>2]=e;i=b;return 0}function lV(a){a=a|0;c[(c[a+156>>2]|0)+36>>2]=0;i=i;return}function mV(f,g,h,j){f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0;k=i;F=i;i=i+8|0;E=F;V=i;i=i+8|0;U=V;X=i;i=i+928|0;o=X;r=i;i=i+16|0;q=r;N=i;i=i+8|0;M=N;G=i;i=i+8|0;D=G;J=i;i=i+8|0;T=J;A=i;i=i+16|0;C=A;m=i;i=i+16|0;l=m;t=i;i=i+8|0;s=t;v=i;i=i+8|0;x=v;w=i;i=i+8|0;y=w;if((f|0)==0){da=37;i=k;return da|0}n=j|3;u=(g|0)==0?n:j;j=(u&1|0)==0?g:0;K=(j|0)==0;do{if(K){z=c[f+4>>2]|0}else{z=c[g>>2]|0;if((z|0)==(c[f+4>>2]|0)){break}else{C=35}i=k;return C|0}}while(0);I=z+692|0;H=c[I>>2]|0;L=H+1324|0;do{if((c[L+128>>2]|0)==65535){p=10}else{g=c[H+1164>>2]|0;if((g|0)==0){p=10;break}if((h|0)==0){h=0;break}if((c[H+1168>>2]|0)>>>0<h>>>0){da=6;i=k;return da|0}g=b[g+(h<<1)>>1]|0;if(g<<16>>16==0){C=6}else{h=g&65535;break}i=k;return C|0}}while(0);do{if((p|0)==10){if((c[H+12>>2]|0)>>>0>h>>>0){break}else{C=6}i=k;return C|0}}while(0);n=(u&1024|0)==0?u:n;g=f+164|0;c[g>>2]=65536;u=f+168|0;c[u>>2]=65536;B=(j|0)!=0;do{if(B){c[g>>2]=c[j+16>>2];c[u>>2]=c[j+20>>2];P=c[j>>2]|0;O=c[P+532>>2]|0;Q=c[j+44>>2]|0;if((Q|0)==-1){break}if((c[O+140>>2]|0)==0){break}if((n&8|0)!=0){break}if((dd[c[O+104>>2]&1](z,Q,h,n,c[P+104>>2]|0,f+76|0,M)|0)!=0){break}b[f+110>>1]=0;b[f+108>>1]=0;c[f+24>>2]=d[M+1|0]<<6;c[f+28>>2]=d[N]<<6;l=a[M+2|0]|0;c[f+32>>2]=l<<6;m=a[M+3|0]|0;c[f+36>>2]=m<<6;c[f+40>>2]=d[M+4|0]<<6;p=a[M+5|0]|0;c[f+44>>2]=p<<6;o=a[M+6|0]|0;c[f+48>>2]=o<<6;c[f+52>>2]=d[M+7|0]<<6;c[f+72>>2]=1651078259;q=f+100|0;if((n&16|0)==0){c[q>>2]=l;c[f+104>>2]=m;da=0;i=k;return da|0}else{c[q>>2]=p;c[f+104>>2]=o;da=0;i=k;return da|0}}}while(0);if((n&16384|0)!=0){da=6;i=k;return dada=T;i=k;return da|0}U=c[(c[_>>2]|0)+692>>2]|0;T=c[U+1892>>2]|0;do{if((T|0)==0){T=U+1324|0}else{V=d[U+2024|0]|0;b:do{if((V|0)==0){_=a[(c[U+2032>>2]|0)+h|0]|0}else if((V|0)==3){aa=U+2040|0;$=U+2044|0;if((h-(c[aa>>2]|0)|0)>>>0<(c[$>>2]|0)>>>0){_=a[U+2048|0]|0;break}da=c[U+2032>>2]|0;V=da+(c[U+2036>>2]|0)|0;ca=(d[da]<<8&65535|d[da+1|0])&65535;da=da+2|0;while(1){if(ca>>>0>h>>>0){_=0;break b}_=a[da]|0;ba=da+3|0;da=(d[da+1|0]<<8&65535|d[da+2|0])&65535;if(da>>>0>h>>>0){break}if(ba>>>0<V>>>0){ca=da;da=ba}else{_=0;break b}}c[aa>>2]=ca;c[$>>2]=da-ca;a[U+2048|0]=_}else{_=0}}while(0);V=_&255;if(V>>>0>=T>>>0){da=3;i=k;return da|0}T=c[U+1896+(V<<2)>>2]|0;if((c[o+68>>2]|0)==0|K){break}c[o+72>>2]=c[(c[j+40>>2]|0)+4+(V<<2)>>2]}}while(0);K=c[T+540>>2]|0;c[o+888>>2]=K;c[o+904>>2]=c[T+564>>2];do{if((c[(c[Z>>2]|0)+1368>>2]|0)==1){K=0}else{if(K>>>0<1240){K=107;break}K=K>>>0<33900?1131:32768}}while(0);c[o+896>>2]=K;K=o+744|0;c[K>>2]=c[T+524>>2];c[o+748>>2]=c[T+528>>2];J=c[J>>2]|0;T=LV(o,c[G>>2]|0,J)|0;U=(c[Y>>2]|0)+52|0;do{if((c[U>>2]|0)==0){E=c[I>>2]|0;if((c[E+1204>>2]|0)!=0){break}NK(c[E+1176>>2]|0,D)}else{c[F>>2]=c[G>>2];c[E+4>>2]=J;da=c[U>>2]|0;hd[c[(c[da>>2]|0)+4>>2]&127](c[da+4>>2]|0,E)}}while(0);if((T|0)!=0){da=T;i=k;return da|0}do{if((c[(c[Y>>2]|0)+52>>2]|0)==0){D=H+1176|0;E=c[D+24>>2]|0;if((E|0)==0){break}c[f+136>>2]=(c[D+28>>2]|0)+((c[E+(h<<2)>>2]|0)+ -1);c[f+140>>2]=J}else{c[f+136>>2]=0;c[f+140>>2]=0}}while(0);D=c[W>>2]|0;if((D|0)!=0){$W(D+108|0,c[o+16>>2]|0,20)|0}D=c[(c[Y>>2]|0)+52>>2]|0;do{if((D|0)!=0){if((c[(c[D>>2]|0)+8>>2]|0)==0){break}$=o+32|0;c[A>>2]=c[$>>2];c[C+4>>2]=0;ba=o+40|0;aa=C+8|0;c[aa>>2]=c[ba>>2];da=o+44|0;ca=C+12|0;c[ca>>2]=c[da>>2];_=c[(c[Y>>2]|0)+52>>2]|0;C=pd[c[(c[_>>2]|0)+8>>2]&63](c[_+4>>2]|0,h,0,C)|0;c[$>>2]=c[A>>2];c[ba>>2]=c[aa>>2];c[da>>2]=c[ca>>2];if((C|0)==0){break}i=k;return C|0}}while(0);if((X|0)!=0){da=c[f+156>>2]|0;c[f+32>>2]=c[o+32>>2];c[f+40>>2]=c[K>>2];$W(da+12|0,r|0,16)|0;c[da+28>>2]=O;c[da+32>>2]=P;a[da+8|0]=1;da=0;i=k;return da|0}A=f+24|0;da=c[K>>2]|0;C=f+40|0;c[C>>2]=da;c[f+56>>2]=da;a[(c[f+156>>2]|0)+8|0]=0;do{if((a[z+296|0]|0)==0){p=84}else{D=z+300|0;if((b[D+34>>1]|0)==0){p=84;break}if((c[D+36>>2]|0)==0){p=84;break}b[v>>1]=0;b[w>>1]=0;Cd[c[(c[z+532>>2]|0)+156>>2]&63](z,1,h,x,y)|0;c[f+48>>2]=b[v>>1]|0;x=e[w>>1]|0;c[f+52>>2]=x;w=1}}while(0);do{if((p|0)==84){v=z+368|0;if((b[v>>1]|0)==-1){x=z+216|0;x=(b[x+4>>1]|0)-(b[x+6>>1]|0)|0;c[f+52>>2]=x;w=0;break}else{x=(b[v+70>>1]|0)-(b[v+72>>1]|0)|0;c[f+52>>2]=x;w=0;break}}}while(0);v=f+52|0;c[f+60>>2]=x;c[S>>2]=1869968492;x=f+124|0;c[x>>2]=0;do{if(B){if((e[j+14>>1]|0)>=24){j=4;break}c[x>>2]=256;j=260}else{j=4}}while(0);c[x>>2]=j;do{if((c[r>>2]|0)==65536){if((c[q+12>>2]|0)!=65536){p=94;break}if((c[q+4>>2]|0)!=0){p=94;break}if((c[q+8>>2]|0)!=0){p=94}}else{p=94}}while(0);if((p|0)==94){GJ(L,q)}if((P|O|0)!=0){HJ(L,O,P)}c[t>>2]=c[C>>2];da=s+4|0;c[da>>2]=0;IJ(s,q);c[C>>2]=(c[t>>2]|0)+O;c[t>>2]=0;c[da>>2]=c[v>>2];IJ(s,q);c[v>>2]=(c[da>>2]|0)+P;if(!((R|0)==0&(Q^1))){s=c[f+112>>2]|0;q=c[g>>2]|0;r=c[u>>2]|0;if(M){p=100}else{if((c[o+68>>2]|0)==0){p=100}}do{if((p|0)==100){o=b[N>>1]|0;if(o<<16>>16<=0){break}o=o<<16>>16;while(1){c[s>>2]=aJ(c[s>>2]|0,q)|0;da=s+4|0;c[da>>2]=aJ(c[da>>2]|0,r)|0;o=o+ -1|0;if((o|0)>0){s=s+8|0}else{break}}}}while(0);c[C>>2]=aJ(c[C>>2]|0,q)|0;c[v>>2]=aJ(c[v>>2]|0,r)|0}zK(L,l);m=c[m>>2]|0;c[A>>2]=(c[l+8>>2]|0)-m;da=c[l+12>>2]|0;c[f+28>>2]=da-(c[l+4>>2]|0);c[f+32>>2]=m;c[f+36>>2]=da;if(w){c[f+44>>2]=m-((c[C>>2]|0)/2|0);da=0;i=k;return da|0}if((n&16|0)==0){da=0;i=k;return da|0}XJ(A,c[v>>2]|0);da=0;i=k;return da|0}function nV(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;g=c[a+532>>2]|0;c[e>>2]=0;c[e+4>>2]=0;if((g|0)==0){i=f;return 0}c[e>>2]=sd[c[g+128>>2]&127](a,b,d)|0;i=f;return 0}function oV(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;g=i;h=c[a+84>>2]|0;j=e|256;a=a+88|0;if((d|0)==0){l=0;i=g;return l|0}e=(e&16|0)==0?h+56|0:h+60|0;l=0;while(1){k=mV(h,c[a>>2]|0,l+b|0,j)|0;if((k|0)!=0){f=5;break}c[f+(l<<2)>>2]=c[e>>2];l=l+1|0;if(l>>>0>=d>>>0){k=0;f=5;break}}if((f|0)==5){i=g;return k|0}return 0}function pV(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;d=i;e=i;i=i+8|0;f=c[a>>2]|0;do{if((c[f+8>>2]&2|0)!=0){if((sd[c[(c[f+532>>2]|0)+148>>2]&127](f,b,e)|0)!=0){c[a+44>>2]=-1;f=c[a>>2]|0;break}qV(a,c[e>>2]|0)|0;i=d;return 0}}while(0);_J(f,b);b=c[a>>2]|0;e=c[(c[b+692>>2]|0)+2052>>2]|0;b=mK(c[(c[b+96>>2]|0)+4>>2]|0,287160)|0;if((b|0)==0|(e|0)==0){i=d;return 0}e=c[e>>2]|0;if((e|0)==0){i=d;return 0}f=jd[e&511](b)|0;if((f|0)==0){i=d;return 0}h=c[(c[a>>2]|0)+692>>2]|0;b=c[a+40>>2]|0;e=c[h+1388>>2]|0;g=f+4|0;f=a+16|0;a=a+20|0;Cd[c[g>>2]&63](c[b>>2]|0,c[f>>2]|0,c[a>>2]|0,0,0)|0;j=c[h+1892>>2]|0;if((j|0)==0){i=d;return 0}h=h+1896|0;do{j=j+ -1|0;l=c[(c[h+(j<<2)>>2]|0)+64>>2]|0;k=c[f>>2]|0;if((e|0)==(l|0)){l=c[a>>2]|0}else{k=_I(k,e,l)|0;l=_I(c[a>>2]|0,e,l)|0}Cd[c[g>>2]&63](c[b+4+(j<<2)>>2]|0,k,l,0,0)|0;}while((j|0)!=0);i=d;return 0}function qV(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;d=i;c[a+44>>2]=b;YJ(c[a>>2]|0,b);b=c[a>>2]|0;e=c[(c[b+692>>2]|0)+2052>>2]|0;b=mK(c[(c[b+96>>2]|0)+4>>2]|0,287160)|0;if((b|0)==0|(e|0)==0){i=d;return 0}e=c[e>>2]|0;if((e|0)==0){i=d;return 0}f=jd[e&511](b)|0;if((f|0)==0){i=d;return 0}h=c[(c[a>>2]|0)+692>>2]|0;e=c[a+40>>2]|0;b=c[h+1388>>2]|0;g=f+4|0;f=a+16|0;a=a+20|0;Cd[c[g>>2]&63](c[e>>2]|0,c[f>>2]|0,c[a>>2]|0,0,0)|0;j=c[h+1892>>2]|0;if((j|0)==0){i=d;return 0}h=h+1896|0;do{j=j+ -1|0;l=c[(c[h+(j<<2)>>2]|0)+64>>2]|0;k=c[f>>2]|0;if((b|0)==(l|0)){l=c[a>>2]|0}else{k=_I(k,b,l)|0;l=_I(c[a>>2]|0,b,l)|0}Cd[c[g>>2]&63](c[e+4+(j<<2)>>2]|0,k,l,0,0)|0;}while((j|0)!=0);i=d;return 0}function rV(a,b){a=a|0;b=b|0;c[a+16>>2]=(c[(c[a>>2]|0)+692>>2]|0)+640;i=i;return 0}function sV(a){a=a|0;c[a+16>>2]=0;i=i;return}function tV(a,b){a=a|0;b=b|0;var d=0;d=i;if(b>>>0>=256){b=0;i=d;return b|0}b=e[(c[a+16>>2]|0)+(b<<1)>>1]|0;i=d;return b|0}function uV(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;g=c[d>>2]|0;c[d>>2]=0;if(g>>>0>=255){h=0;i=e;return h|0}a=a+16|0;h=0;do{g=g+1|0;if(g>>>0>255){f=6;break}j=b[(c[a>>2]|0)+(g<<1)>>1]|0;h=j&65535;}while(j<<16>>16==0);if((f|0)==6){i=e;return h|0}c[d>>2]=g;j=h;i=e;return j|0}function vV(a,b){a=a|0;b=b|0;var d=0,e=0;b=i;e=c[a>>2]|0;d=c[e+692>>2]|0;if((c[d+1160>>2]|0)==0){e=163;i=b;return e|0}e=id[c[(c[d+2056>>2]|0)+4>>2]&3](c[e+100>>2]|0,a,c[d+12>>2]|0,203,0,e)|0;i=b;return e|0}function wV(a){a=a|0;var b=0,d=0;b=i;d=a+20|0;lJ(c[(c[a>>2]|0)+100>>2]|0,c[d>>2]|0);c[d>>2]=0;c[a+16>>2]=0;i=b;return}function xV(a,b){a=a|0;b=b|0;var d=0;d=i;a=Bd[c[(c[(c[(c[a>>2]|0)+692>>2]|0)+2056>>2]|0)+8>>2]&255](a,b)|0;i=d;return a|0}function yV(a,b){a=a|0;b=b|0;var d=0;d=i;a=Bd[c[(c[(c[(c[a>>2]|0)+692>>2]|0)+2056>>2]|0)+12>>2]&255](a,b)|0;i=d;return a|0}function zV(a,d){a=a|0;d=d|0;var e=0,f=0;e=i;a=c[a+692>>2]|0;f=b[(c[a+1160>>2]|0)+(d<<1)>>1]|0;d=f&65535;if(f<<16>>16==-1){f=0;i=e;return f|0}if((f&65535)>390){d=d+ -391|0;if((c[a+1312>>2]|0)>>>0<=d>>>0){f=0;i=e;return f|0}f=c[(c[a+1316>>2]|0)+(d<<2)>>2]|0;i=e;return f|0}else{a=c[a+2056>>2]|0;if((a|0)==0){f=0;i=e;return f|0}f=jd[c[a+20>>2]&511](d)|0;i=e;return f|0}return 0}function AV(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=i;l=i;i=i+8|0;if((b|0)==0){r=6;i=h;return r|0}k=b+8|0;p=c[k>>2]|0;if(p>>>0<=e>>>0){r=6;i=h;return r|0}j=c[b>>2]|0;m=c[b+24>>2]|0;a:do{if((m|0)==0){m=b+12|0;n=da(d[m]|0,e)|0;n=PJ(j,(c[b+4>>2]|0)+3+n|0)|0;if((n|0)!=0){r=n;i=h;return r|0}n=CK(c[b>>2]|0,l,d[m]|0)|0;if((n|0)!=0){r=n;i=h;return r|0}p=a[m]|0;if(p<<24>>24==0){k=20;break}o=p&255;q=0;n=0;do{n=d[l+q|0]|0|n<<8;q=q+1|0;}while((q|0)<(o|0));if((n|0)==0){k=20;break}while(1){e=e+1|0;p=CK(c[b>>2]|0,l,p&255)|0;do{if((p|0)==0){o=a[m]|0;if(o<<24>>24==0){break}q=o&255;r=0;o=0;do{o=d[l+r|0]|0|o<<8;r=r+1|0;}while((r|0)<(q|0));if((o|0)!=0){k=22;break a}}}while(0);if(e>>>0>=(c[k>>2]|0)>>>0){e=p;k=21;break a}p=a[m]|0}}else{n=c[m+(e<<2)>>2]|0;if((n|0)==0){k=20;break}while(1){e=e+1|0;o=c[m+(e<<2)>>2]|0;if((o|0)!=0){k=22;break a}if(e>>>0<p>>>0){}else{e=0;k=21;break}}}}while(0);do{if((k|0)==20){m=c[j+4>>2]|0;e=0;n=0;o=0;k=24}else if((k|0)==21){m=c[j+4>>2]|0;o=0;k=24}else if((k|0)==22){m=c[j+4>>2]|0;if(o>>>0<=(m+1|0)>>>0){e=0;k=24;break}l=c[b+16>>2]|0;e=0;k=25}}while(0);if((k|0)==24){l=c[b+16>>2]|0;if(l>>>0>(m+1-o|0)>>>0){k=25}}if((k|0)==25){o=m+1-l|0}if(!((n|0)!=0&o>>>0>n>>>0)){c[f>>2]=0;c[g>>2]=0;r=e;i=h;return r|0}k=o-n|0;c[g>>2]=k;g=c[b+28>>2]|0;if((g|0)!=0){c[f>>2]=g+(n+ -1);r=e;i=h;return r|0}b=PJ(j,n+ -1+(c[b+16>>2]|0)|0)|0;if((b|0)!=0){r=b;i=h;return r|0}r=LK(j,k,f)|0;i=h;return r|0}function BV(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=i;k=i;i=i+8|0;h=i;i=i+8|0;o=h;j=c[e+28>>2]|0;bX(b|0,0,32)|0;c[b>>2]=e;l=b+4|0;c[l>>2]=IK(e)|0;n=EK(e,o)|0;a:do{if((c[h>>2]|0)==0){m=n&65535;if(n<<16>>16==0){p=0;i=g;return p|0}p=VK(e,o)|0;if((c[h>>2]|0)!=0){break}o=p&255;if(p<<24>>24==0|(p&255)>4){c[h>>2]=8;break}c[b+8>>2]=m;n=b+12|0;a[n]=p;p=da(o,m+1|0)|0;c[b+16>>2]=p+3+(c[l>>2]|0);p=DK(e,p-o|0)|0;c[h>>2]=p;if((p|0)!=0){break}l=CK(c[b>>2]|0,k,d[n]|0)|0;m=(l|0)==0;if(!m){c[h>>2]=l;break}n=a[n]|0;do{if(n<<24>>24==0){c[h>>2]=l}else{p=n&255;o=0;n=0;do{n=d[k+o|0]|0|n<<8;o=o+1|0;}while((o|0)<(p|0));c[h>>2]=l;if(!m){break a}if((n|0)==0){break}k=n+ -1|0;c[b+20>>2]=k;if(f<<24>>24==0){e=DK(e,k)|0}else{e=LK(e,k,b+28|0)|0}c[h>>2]=e;if((e|0)==0){b=0}else{break a}i=g;return b|0}}while(0);c[h>>2]=8}}while(0);p=b+24|0;lJ(j,c[p>>2]|0);c[p>>2]=0;p=c[h>>2]|0;i=g;return p|0}function CV(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;h=i;o=i;i=i+8|0;r=o;g=i;i=i+8|0;p=g;c[g>>2]=0;m=c[(c[b>>2]|0)+28>>2]|0;c[e>>2]=0;j=b+24|0;a:do{if((c[j>>2]|0)==0){c[o>>2]=0;n=c[b>>2]|0;q=c[n+28>>2]|0;l=b+8|0;s=c[l>>2]|0;b:do{if((s|0)!=0){v=s+1|0;t=d[b+12|0]|0;u=da(t,v)|0;c[j>>2]=oJ(q,4,0,v,0,r)|0;do{if((c[o>>2]|0)==0){v=PJ(n,(c[b+4>>2]|0)+3|0)|0;c[o>>2]=v;if((v|0)!=0){break}v=MK(n,u)|0;c[o>>2]=v;if((v|0)!=0){break}s=c[j>>2]|0;v=c[n+32>>2]|0;r=v+u|0;do{if((t|0)==2){if((u|0)<=0){break}while(1){c[s>>2]=(d[v]<<8&65535|d[v+1|0])&65535;v=v+2|0;if(v>>>0<r>>>0){s=s+4|0}else{break}}}else if((t|0)==3){if((u|0)<=0){break}while(1){c[s>>2]=d[v+1|0]<<8|a[v]<<16|d[v+2|0];v=v+3|0;if(v>>>0<r>>>0){s=s+4|0}else{break}}}else if((t|0)==1){if((u|0)<=0){break}while(1){c[s>>2]=d[v]|0;v=v+1|0;if(v>>>0<r>>>0){s=s+4|0}else{break}}}else{if((u|0)<=0){break}while(1){c[s>>2]=d[v+1|0]<<16|d[v]<<24|d[v+2|0]<<8|d[v+3|0];v=v+4|0;if(v>>>0<r>>>0){s=s+4|0}else{break}}}}while(0);PK(n);if((c[o>>2]|0)==0){break b}}}while(0);lJ(q,c[j>>2]|0);c[j>>2]=0;v=c[o>>2]|0;c[g>>2]=v;if((v|0)==0){break a}v=g;v=c[v>>2]|0;i=h;return v|0}}while(0);c[g>>2]=0}else{l=b+8|0}}while(0);n=c[l>>2]|0;if((n|0)==0){v=g;v=c[v>>2]|0;i=h;return v|0}q=oJ(m,4,0,n+1|0,0,p)|0;if((c[g>>2]|0)!=0){v=g;v=c[v>>2]|0;i=h;return v|0}o=(f|0)!=0;n=b+20|0;do{if(o){m=jJ(m,(c[l>>2]|0)+(c[n>>2]|0)|0,p)|0;if((c[g>>2]|0)==0){break}v=g;v=c[v>>2]|0;i=h;return v|0}else{m=0}}while(0);b=c[b+28>>2]|0;p=(c[c[j>>2]>>2]|0)+ -1|0;r=p>>>0>=(c[n>>2]|0)>>>0?0:p;c[q>>2]=(o?m:b)+r;s=c[l>>2]|0;c:do{if((s|0)!=0){if(o){t=0;p=1}else{p=1;while(1){t=(c[(c[j>>2]|0)+(p<<2)>>2]|0)+ -1|0;if((t|0)==0|t>>>0<r>>>0){k=33}else{if(t>>>0>=(c[n>>2]|0)>>>0&p>>>0<s>>>0){k=33}else{r=t}}if((k|0)==33){k=0}c[q+(p<<2)>>2]=b+r;s=c[l>>2]|0;p=p+1|0;if(p>>>0>s>>>0){break c}}}do{u=(c[(c[j>>2]|0)+(p<<2)>>2]|0)+ -1|0;do{if((u|0)==0|u>>>0<r>>>0){k=27}else{if(u>>>0>=(c[n>>2]|0)>>>0&p>>>0<s>>>0){k=27;break}s=m+(u+t)|0;v=q+(p<<2)|0;c[v>>2]=s;if((u|0)==(r|0)){r=u;break}w=c[q+(p+ -1<<2)>>2]|0;$W(w|0,b+r|0,s-w|0)|0;a[c[v>>2]|0]=0;c[v>>2]=(c[v>>2]|0)+1;t=t+1|0;r=u}}while(0);if((k|0)==27){k=0;c[q+(p<<2)>>2]=m+(r+t)}p=p+1|0;s=c[l>>2]|0;}while(p>>>0<=s>>>0)}}while(0);c[e>>2]=q;if(!o){w=g;w=c[w>>2]|0;i=h;return w|0}c[f>>2]=m;w=g;w=c[w>>2]|0;i=h;return w|0}function DV(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=i;l=i;i=i+416|0;k=l;s=i;i=i+8|0;q=s;t=i;i=i+8|0;c[s>>2]=0;bX(l|0,0,408)|0;o=k+16|0;n=k+404|0;c[n>>2]=o;p=k+408|0;c[p>>2]=4096;m=k+412|0;c[m>>2]=b;c[l>>2]=h;bX(b|0,0,168)|0;c[b+32>>2]=-6553600;c[b+36>>2]=3276800;c[b+44>>2]=2;c[b+48>>2]=65536;c[b+60>>2]=65536;c[b+152>>2]=8720;c[b>>2]=65535;c[b+4>>2]=65535;c[b+8>>2]=65535;c[b+12>>2]=65535;c[b+16>>2]=65535;c[b+20>>2]=65535;c[b+124>>2]=65535;r=b+128|0;c[r>>2]=65535;c[b+132>>2]=65535;c[b+168>>2]=65535;e=AV(d,e,q,t)|0;if((e|0)==0){e=c[s>>2]|0;e=EV(k,e,e+(c[t>>2]|0)|0)|0}if((c[d+28>>2]|0)==0){NK(c[d>>2]|0,q)}if((e|0)!=0){i=j;return e|0}if((c[r>>2]|0)!=65535){e=0;i=j;return e|0}q=b+112|0;s=c[q>>2]|0;do{if((s|0)!=0){r=b+116|0;if((c[r>>2]|0)==0){break}d=b+172|0;bX(d|0,0,360)|0;c[b+372>>2]=7;c[b+376>>2]=1;c[b+504>>2]=-1;c[b+512>>2]=3932;c[b+368>>2]=2596864;bX(l|0,0,408)|0;c[n>>2]=o;c[p>>2]=8192;c[m>>2]=d;c[l>>2]=h;l=PJ(f,s+g|0)|0;if((l|0)!=0){e=l;i=j;return e|0}l=MK(f,c[r>>2]|0)|0;if((l|0)!=0){e=l;i=j;return e|0}k=EV(k,c[f+32>>2]|0,c[f+36>>2]|0)|0;PK(f);if((k|0)==0){a[d]=a[d]&-2;break}else{e=k;i=j;return e|0}}}while(0);k=c[b+520>>2]|0;if((k|0)==0){e=0;i=j;return e|0}g=PJ(f,k+g+(c[q>>2]|0)|0)|0;if((g|0)!=0){e=g;i=j;return e|0}g=b+532|0;f=BV(g,f,1)|0;if((f|0)!=0){e=f;i=j;return e|0}e=CV(g,b+564|0,0)|0;i=j;return e|0}function EV(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;h=i;k=e+16|0;o=e+404|0;c[o>>2]=k;c[e+4>>2]=f;c[e+8>>2]=g;c[e+12>>2]=f;if(f>>>0>=g>>>0){y=0;i=h;return y|0}l=e+408|0;n=e+412|0;m=e+20|0;p=k;a:while(1){q=a[f]|0;s=p-k|0;r=s>>2;do{if((q&255)>26&q<<24>>24!=31){if((s|0)>380){p=6;j=94;break a}c[o>>2]=p+4;c[p>>2]=f;if(q<<24>>24==28){f=f+2|0;break}else if(q<<24>>24==29){f=f+4|0;break}else if(q<<24>>24==30){while(1){f=f+1|0;if(f>>>0>=g>>>0){p=0;j=94;break a}y=d[f]|0;if((y&240|0)==240|(y&15|0)==15){break}else{}}}else{f=(q&255)>246?f+1|0:f;break}}else{s=q&255;c[p>>2]=f;if(q<<24>>24==12){f=f+1|0;if(f>>>0>=g>>>0){p=6;j=94;break a}s=d[f]|0|256}t=c[l>>2]|s;s=4;q=289224;while(1){p=q+28|0;if((c[q+4>>2]|0)==(t|0)){j=17;break}s=c[p>>2]|0;if((s|0)==0){break}else{q=p}}b:do{if((j|0)==17){j=0;t=c[n>>2]|0;p=t+(c[q+8>>2]|0)|0;if((s|0)!=6&(r|0)==0){p=6;j=94;break a}c:do{switch(s|0){case 6:{s=c[q+20>>2]|0;s=r>>>0>s>>>0?s:r;a[t+(c[q+24>>2]|0)|0]=s;if((s|0)==0){break b}q=q+12|0;u=k;t=0;while(1){r=u+4|0;y=c[u>>2]|0;x=c[r>>2]|0;w=a[y]|0;do{if(w<<24>>24==30){u=(FV(y,x,0,0)|0)>>16}else{u=y+1|0;v=w&255;if(w<<24>>24==28){if((y+3|0)>>>0>x>>>0){u=0;break}u=((d[u]|0)<<8&65535|(d[y+2|0]|0))<<16>>16;break}else if(w<<24>>24==29){if((y+5|0)>>>0>x>>>0){u=0;break}u=(d[y+2|0]|0)<<16|(d[u]|0)<<24|(d[y+3|0]|0)<<8|(d[y+4|0]|0);break}else{if((w&255)<247){u=v+ -139|0;break}x=(y+2|0)>>>0>x>>>0;if((w&255)<251){if(x){u=0;break}u=(d[u]|0|(v<<8)+ -63232)+108|0;break}else{if(x){u=0;break}u=(251-v<<8)+ -108-(d[u]|0)|0;break}}}}while(0);t=u+t|0;u=d[q]|0;if((u|0)==4){c[p>>2]=t}else if((u|0)==1){a[p]=t}else if((u|0)==2){b[p>>1]=t}else{c[p>>2]=t}s=s+ -1|0;if((s|0)==0){break b}else{p=p+(d[q]|0)|0;u=r}}break};case 3:{v=c[k>>2]|0;u=c[m>>2]|0;t=a[v]|0;if(t<<24>>24==30){r=FV(v,u,3,0)|0;break c}s=v+1|0;r=t&255;do{if(t<<24>>24==28){if((v+3|0)>>>0>u>>>0){r=0;break}r=((d[s]|0)<<8&65535|(d[v+2|0]|0))<<16>>16}else if(t<<24>>24==29){if((v+5|0)>>>0>u>>>0){r=0;break}r=(d[v+2|0]|0)<<16|(d[s]|0)<<24|(d[v+3|0]|0)<<8|(d[v+4|0]|0)}else{if((t&255)<247){r=r+ -139|0;break}u=(v+2|0)>>>0>u>>>0;if((t&255)<251){if(u){r=0;break}r=(d[s]|0|(r<<8)+ -63232)+108|0;break}else{if(u){r=0;break}r=(251-r<<8)+ -108-(d[s]|0)|0;break}}}while(0);r=dada(c[290680+(C-l<<2)>>2]|0,j)|0;if((j|0)<=32767){break}k=k+1|0;j=(j|0)/10|0}else{k=k-l|0}}while(0);c[f>>2]=k;j=j<<16;C=(h|0)==0;h=0-j|0;C=C?j:h;i=g;return C|0}else{m=d+k|0;n=(m|0)<0;f=0-m|0;if(((n?f:m)|0)>5){i=g;return 0}if(n){k=l+k|0;j=(j|0)/(c[290680+(f<<2)>>2]|0)|0}else{k=l-d|0}do{if((k|0)==10){k=9;j=(j|0)/10|0}else{if((k|0)>0){break}j=da(c[290680+(0-k<<2)>>2]|0,j)|0;if((j|0)>32767){i=g;return 0}j=j<<16;C=(h|0)==0;h=0-j|0;C=C?j:h;i=g;return C|0}}while(0);f=c[290680+(k<<2)>>2]|0;if(((j|0)/(f|0)|0|0)>32767){i=g;return 0}j=bJ(j,f)|0;C=(h|0)==0;h=0-j|0;C=C?j:h;i=g;return C|0}}else if((y|0)==60){i=g;return 0}return 0}function GV(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;g=i;f=i;i=i+8|0;h=c[b+412>>2]|0;k=h+68|0;e=h+64|0;j=b+40|0;if((c[b+404>>2]|0)>>>0<j>>>0){s=161;i=g;return s|0}m=h+48|0;s=c[b+16>>2]|0;l=b+20|0;r=c[l>>2]|0;q=a[s]|0;a:do{if(q<<24>>24==30){n=FV(s,r,0,f)|0}else{o=s+1|0;p=q&255;do{if(q<<24>>24==28){if((s+3|0)>>>0>r>>>0){o=0;break}o=((d[o]|0)<<8&65535|(d[s+2|0]|0))<<16>>16}else if(q<<24>>24==29){if((s+5|0)>>>0>r>>>0){o=0;break}o=(d[s+2|0]|0)<<16|(d[o]|0)<<24|(d[s+3|0]|0)<<8|(d[s+4|0]|0);n=16}else{if((q&255)<247){o=p+ -139|0;n=16;break}r=(s+2|0)>>>0>r>>>0;if((q&255)<251){if(r){o=0;break}o=(d[o]|0|(p<<8)+ -63232)+108|0;n=16;break}else{if(r){o=0;break}o=(251-p<<8)+ -108-(d[o]|0)|0;n=16;break}}}while(0);do{if((n|0)==16){if((o|0)>32767){q=5}else{break}while(1){n=q+1|0;if((o|0)<(c[290680+(q<<2)>>2]|0)){break}if((n|0)<10){q=n}else{q=n;break}}n=q+ -5|0;p=c[290680+(n<<2)>>2]|0;if(((o|0)/(p|0)|0|0)>32767){n=q+ -4|0;c[f>>2]=n;n=bJ(o,c[290680+(n<<2)>>2]|0)|0;break a}else{c[f>>2]=n;n=bJ(o,p)|0;break a}}}while(0);c[f>>2]=0;n=o<<16}}while(0);c[m>>2]=n;s=c[f>>2]|0;n=0-s|0;c[f>>2]=n;if((s|0)>0|(n|0)>9){c[m>>2]=65536;c[h+56>>2]=0;c[h+60>>2]=65536;c[k>>2]=0;c[h+72>>2]=0;c[e>>2]=1;s=0;i=g;return s|0}m=b+24|0;r=c[l>>2]|0;q=c[m>>2]|0;l=a[r]|0;if(l<<24>>24==30){l=FV(r,q,n,0)|0}else{o=r+1|0;p=l&255;do{if(l<<24>>24==29){if((r+5|0)>>>0>q>>>0){l=0;break}l=(d[r+2|0]|0)<<16|(d[o]|0)<<24|(d[r+3|0]|0)<<8|(d[r+4|0]|0)}else if(l<<24>>24==28){if((r+3|0)>>>0>q>>>0){l=0;break}l=((d[o]|0)<<8&65535|(d[r+2|0]|0))<<16>>16}else{if((l&255)<247){l=p+ -139|0;break}q=(r+2|0)>>>0>q>>>0;if((l&255)<251){if(q){l=0;break}l=(d[o]|0|(p<<8)+ -63232)+108|0;break}else{if(q){l=0;break}l=(251-p<<8)+ -108-(d[o]|0)|0;break}}}while(0);l=da(l<<16,c[290680+(n<<2)>>2]|0)|0}c[h+56>>2]=l;n=b+28|0;l=c[f>>2]|0;q=c[m>>2]|0;r=c[n>>2]|0;o=a[q]|0;if(o<<24>>24==30){l=FV(q,r,l,0)|0}else{p=q+1|0;m=o&255;do{if(o<<24>>24==29){if((q+5|0)>>>0>r>>>0){m=0;break}m=(d[q+2|0]|0)<<16|(d[p]|0)<<24|(d[q+3|0]|0)<<8|(d[q+4|0]|0)}else if(o<<24>>24==28){if((q+3|0)>>>0>r>>>0){m=0;break}m=((d[p]|0)<<8&65535|(d[q+2|0]|0))<<16>>16}else{if((o&255)<247){m=m+ -139|0;break}q=(q+2|0)>>>0>r>>>0;if((o&255)<251){if(q){m=0;break}m=(d[p]|0|(m<<8)+ -63232)+108|0;break}else{if(q){m=0;break}m=(251-m<<8)+ -108-(d[p]|0)|0;break}}}while(0);l=da(m<<16,c[290680+(l<<2)>>2]|0)|0}c[h+52>>2]=l;l=b+32|0;m=c[f>>2]|0;r=c[n>>2]|0;q=c[l>>2]|0;p=a[r]|0;if(p<<24>>24==30){m=FV(r,q,m,0)|0}else{o=r+1|0;n=p&255;do{if(p<<24>>24==28){if((r+3|0)>>>0>q>>>0){n=0;break}n=((d[o]|0)<<8&65535|(d[r+2|0]|0))<<16>>16}else if(p<<24>>24==29){if((r+5|0)>>>0>q>>>0){n=0;break}n=(d[r+2|0]|0)<<16|(d[o]|0)<<24|(d[r+3|0]|0)<<8|(d[r+4|0]|0)}else{if((p&255)<247){n=n+ -139|0;break}q=(r+2|0)>>>0>q>>>0;if((p&255)<251){if(q){n=0;break}n=(d[o]|0|(n<<8)+ -63232)+108|0;break}else{if(q){n=0;break}n=(251-n<<8)+ -108-(d[o]|0)|0;break}}}while(0);m=da(n<<16,c[290680+(m<<2)>>2]|0)|0}c[h+60>>2]=m;b=b+36|0;m=c[f>>2]|0;q=c[l>>2]|0;p=c[b>>2]|0;o=a[q]|0;if(o<<24>>24==30){l=FV(q,p,m,0)|0}else{l=q+1|0;n=o&255;do{if(o<<24>>24==29){if((q+5|0)>>>0>p>>>0){l=0;break}l=(d[q+2|0]|0)<<16|(d[l]|0)<<24|(d[q+3|0]|0)<<8|(d[q+4|0]|0)}else if(o<<24>>24==28){if((q+3|0)>>>0>p>>>0){l=0;break}l=((d[l]|0)<<8&65535|(d[q+2|0]|0))<<16>>16}else{if((o&255)<247){l=n+ -139|0;break}p=(q+2|0)>>>0>p>>>0;if((o&255)<251){if(p){l=0;break}l=(d[l]|0|(n<<8)+ -63232)+108|0;break}else{if(p){l=0;break}l=(251-n<<8)+ -108-(d[l]|0)|0;break}}}while(0);l=da(l<<16,c[290680+(m<<2)>>2]|0)|0}c[k>>2]=l;k=c[f>>2]|0;l=c[b>>2]|0;n=c[j>>2]|0;b=a[l]|0;if(b<<24>>24==30){j=FV(l,n,k,0)|0}else{m=l+1|0;j=b&255;do{if(b<<24>>24==29){if((l+5|0)>>>0>n>>>0){j=0;break}j=(d[l+2|0]|0)<<16|(d[m]|0)<<24|(d[l+3|0]|0)<<8|(d[l+4|0]|0)}else if(b<<24>>24==28){if((l+3|0)>>>0>n>>>0){j=0;break}j=((d[m]|0)<<8&65535|(d[l+2|0]|0))<<16>>16}else{if((b&255)<247){j=j+ -139|0;break}l=(l+2|0)>>>0>n>>>0;if((b&255)<251){if(l){j=0;break}j=(d[m]|0|(j<<8)+ -63232)+108|0;break}else{if(l){j=0;break}j=(251-j<<8)+ -108-(d[m]|0)|0;break}}}while(0);j=da692>>2]|0)+1176|0,h,m,u)|0}else{H=sd[c[c[C>>2]>>2]&127](c[C+4>>2]|0,h,A)|0;c[o>>2]=c[B>>2];c[s>>2]=c[A+4>>2];A=H}do{if((A|0)==0){a[r]=1;C=c[s>>2]|0;A=LV(d,c[o>>2]|0,C)|0;a[r]=0;B=(c[g>>2]|0)+52|0;do{if((c[B>>2]|0)==0){y=c[q+692>>2]|0;if((c[y+1204>>2]|0)!=0){break}NK(c[y+1176>>2]|0,m)}else{c[y>>2]=c[o>>2];c[z+4>>2]=C;H=c[B>>2]|0;hd[c[(c[H>>2]|0)+4>>2]&127](c[H+4>>2]|0,z)}}while(0);if((A|0)==0){break}i=k;return A|0}}while(0);A=l;y=c[A>>2]|0;A=c[A+4>>2]|0;h=d+40|0;C=h;B=c[C>>2]|0;C=c[C+4>>2]|0;z=d+744|0;D=c[z>>2]|0;c[l>>2]=0;c[x>>2]=0;x=d+24|0;c[x>>2]=f-e;e=d+28|0;c[e>>2]=w;f=c[(c[g>>2]|0)+52>>2]|0;if((f|0)==0){t=AV((c[q+692>>2]|0)+1176|0,j,m,u)|0}else{H=sd[c[c[f>>2]>>2]&127](c[f+4>>2]|0,j,v)|0;c[o>>2]=c[t>>2];c[s>>2]=c[v+4>>2];t=H}do{if((t|0)==0){a[r]=1;s=c[s>>2]|0;d=LV(d,c[o>>2]|0,s)|0;a[r]=0;r=(c[g>>2]|0)+52|0;do{if((c[r>>2]|0)==0){n=c[q+692>>2]|0;if((c[n+1204>>2]|0)!=0){break}NK(c[n+1176>>2]|0,m)}else{c[n>>2]=c[o>>2];c[p+4>>2]=s;H=c[r>>2]|0;hd[c[(c[H>>2]|0)+4>>2]&127](c[H+4>>2]|0,p)}}while(0);if((d|0)==0){t=0;break}else{A=d}i=k;return A|0}}while(0);H=l;c[H>>2]=y;c[H+4>>2]=A;H=h;c[H>>2]=B;c[H+4>>2]=C;c[z>>2]=D;c[x>>2]=0;c[e>>2]=0;H=t;i=k;return H|0}function PV(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;f=i;a=c[a+692>>2]|0;if((a|0)==0){j=0;i=f;return j|0}h=c[a+1452>>2]|0;if((h|0)==65535){j=6;i=f;return j|0}if((b|0)!=0){g=a+2064|0;j=c[g>>2]|0;if((j|0)==0){do{if(h>>>0>390){h=h+ -391|0;if((c[a+1312>>2]|0)>>>0<=h>>>0){j=0;break}j=c[(c[a+1316>>2]|0)+(h<<2)>>2]|0}else{j=c[a+2056>>2]|0;if((j|0)==0){j=0;break}j=jd[c[j+20>>2]&511](h)|0}}while(0);c[g>>2]=j}c[b>>2]=j}if((d|0)!=0){b=a+2068|0;g=c[b>>2]|0;if((g|0)==0){h=c[a+1456>>2]|0;do{if((h|0)==65535){g=0}else{if(h>>>0>390){g=h+ -391|0;if((c[a+1312>>2]|0)>>>0<=g>>>0){g=0;break}g=c[(c[a+1316>>2]|0)+(g<<2)>>2]|0;break}else{g=c[a+2056>>2]|0;if((g|0)==0){g=0;break}g=jd[c[g+20>>2]&511](h)|0;break}}}while(0);c[b>>2]=g}c[d>>2]=g}if((e|0)==0){j=0;i=f;return j|0}c[e>>2]=c[a+1460>>2];j=0;i=f;return j|0}function QV(b,d){b=b|0;d=d|0;var e=0;e=i;b=c[b+692>>2]|0;a[d]=0;if((b|0)==0){i=e;return 0}if((c[b+1452>>2]|0)==65535){i=e;return 0}a[d]=1;i=e;return 0}function RV(a,b,d){a=a|0;b=b|0;d=d|0;var f=0;f=i;a=c[a+692>>2]|0;do{if((a|0)==0){d=0}else{if((c[a+1452>>2]|0)==65535){d=6;break}if((c[a+12>>2]|0)>>>0<b>>>0){d=6;break}if((d|0)==0){d=0;break}c[d>>2]=e[(c[a+1160>>2]|0)+(b<<1)>>1]|0;d=0}}while(0);i=f;return d|0}function SV(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;e=c[(c[(c[a>>2]|0)+96>>2]|0)+4>>2]|0;c[b>>2]=0;c[b+4>>2]=0;f=c[a+12>>2]|0;if((f|0)==287048|(f|0)==287088){f=0;i=d;return f|0}e=oK(mK(e,287128)|0,290960)|0;if((e|0)==0){f=0;i=d;return f|0}e=c[e>>2]|0;if((e|0)==0){f=0;i=d;return f|0}f=Bd[e&255](a,b)|0;i=d;return f|0}function TV(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;g=i;a=c[a+692>>2]|0;h=c[a+2056>>2]|0;if((h|0)==0){j=2;i=g;return j|0}d=b[(c[a+1160>>2]|0)+(d<<1)>>1]|0;j=d&65535;if(d<<16>>16==-1){j=0;i=g;return j|0}do{if((d&65535)>390){h=j+ -391|0;if((c[a+1312>>2]|0)>>>0>h>>>0){a=c[(c[a+1316>>2]|0)+(h<<2)>>2]|0;break}else{j=0;i=g;return j|0}}else{a=jd[c[h+20>>2]&511](j)|0}}while(0);if((a|0)==0){j=0;i=g;return j|0}bL(e,a,f)|0;j=0;i=g;return j|0}function UV(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;f=i;j=c[a+692>>2]|0;k=oK(c[a+96>>2]|0,287136)|0;if((k|0)==0){m=0;i=f;return m|0}h=j+12|0;if((c[h>>2]|0)==0){m=0;i=f;return m|0}g=j+1160|0;a=j+1312|0;j=j+1316|0;k=k+20|0;l=0;a:while(1){n=b[(c[g>>2]|0)+(l<<1)>>1]|0;m=n&65535;do{if((n&65535)>390){m=m+ -391|0;if((c[a>>2]|0)>>>0<=m>>>0){break}m=c[(c[j>>2]|0)+(m<<2)>>2]|0;e=8}else{m=jd[c[k>>2]&511](m)|0;e=8}}while(0);do{if((e|0)==8){e=0;if((m|0)==0){break}if((Qc(d|0,m|0)|0)==0){e=11;break a}}}while(0);l=l+1|0;if(l>>>0>=(c[h>>2]|0)>>>0){l=0;e=11;break}}if((e|0)==11){i=f;return l|0}return 0}function VV(a){a=a|0;i=i;return c[(c[a+692>>2]|0)+1304>>2]|0}function WV(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;g=i;f=i;i=i+8|0;h=c[d+692>>2]|0;c[f>>2]=0;if((h|0)==0){l=f;l=c[l>>2]|0;i=g;return l|0}j=h+2060|0;k=c[j>>2]|0;if((k|0)==0){k=jJ(c[d+100>>2]|0,32,f)|0;if((c[f>>2]|0)!=0){l=f;l=c[l>>2]|0;i=g;return l|0}d=c[h+1324>>2]|0;do{if((d|0)==65535){d=0}else{if(d>>>0>390){d=d+ -391|0;if((c[h+1312>>2]|0)>>>0<=d>>>0){d=0;break}d=c[(c[h+1316>>2]|0)+(d<<2)>>2]|0;break}else{l=c[h+2056>>2]|0;if((l|0)==0){d=0;break}d=jd[c[l+20>>2]&511](d)|0;break}}}while(0);c[k>>2]=d;d=c[h+1328>>2]|0;do{if((d|0)==65535){d=0}else{if(d>>>0>390){d=d+ -391|0;if((c[h+1312>>2]|0)>>>0<=d>>>0){d=0;break}d=c[(c[h+1316>>2]|0)+(d<<2)>>2]|0;break}else{l=c[h+2056>>2]|0;if((l|0)==0){d=0;break}d=jd[c[l+20>>2]&511](d)|0;break}}}while(0);c[k+4>>2]=d;d=c[h+1336>>2]|0;do{if((d|0)==65535){d=0}else{if(d>>>0>390){d=d+ -391|0;if((c[h+1312>>2]|0)>>>0<=d>>>0){d=0;break}d=c[(c[h+1316>>2]|0)+(d<<2)>>2]|0;break}else{l=c[h+2056>>2]|0;if((l|0)==0){d=0;break}d=jd[c[l+20>>2]&511](d)|0;break}}}while(0);c[k+8>>2]=d;d=c[h+1340>>2]|0;do{if((d|0)==65535){d=0}else{if(d>>>0>390){d=d+ -391|0;if((c[h+1312>>2]|0)>>>0<=d>>>0){d=0;break}d=c[(c[h+1316>>2]|0)+(d<<2)>>2]|0;break}else{l=c[h+2056>>2]|0;if((l|0)==0){d=0;break}d=jd[c[l+20>>2]&511](d)|0;break}}}while(0);c[k+12>>2]=d;l=c[h+1344>>2]|0;do{if((l|0)==65535){d=0}else{if(l>>>0>390){d=l+ -391|0;if((c[h+1312>>2]|0)>>>0<=d>>>0){d=0;break}d=c[(c[h+1316>>2]|0)+(d<<2)>>2]|0;break}else{d=c[h+2056>>2]|0;if((d|0)==0){d=0;break}d=jd[c[d+20>>2]&511](l)|0;break}}}while(0);c[k+16>>2]=d;c[k+20>>2]=c[h+1352>>2];a[k+24|0]=a[h+1348|0]|0;b[k+26>>1]=c[h+1356>>2];b[k+28>>1]=c[h+1360>>2];c[j>>2]=k}$W(e|0,k|0,32)|0;l=f;l=c[l>>2]|0;i=g;return l|0}function XV(a){a=a|0;i=i;return(c[a+8>>2]|0)>>>9&1|0}function YV(a){a=a|0;var b=0;b=i;bX(a|0,0,24)|0;i=b;return}function ZV(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;f=i;e=i;i=i+8|0;j=e;k=c[a>>2]|0;c[e>>2]=0;g=c[b+8>>2]|0;if((b|0)==(d|0)){m=0;i=f;return m|0}a=b+12|0;if((c[a>>2]|0)==0){$W(d|0,b|0,24)|0;m=0;i=f;return m|0}g=da(c[b>>2]|0,(g|0)<0?0-g|0:g)|0;h=d+12|0;l=c[h>>2]|0;do{if((l|0)==0){l=OK(k,g,j)|0;c[h>>2]=l}else{m=c[d+8>>2]|0;m=dada[h>>2]=c[h>>2]|1;EW(a+b|0,f);q=a;i=d;return q|0}if((f|0)==(c[291312>>2]|0)){f=(c[291300>>2]|0)+k|0;if(f>>>0<=b>>>0){q=0;i=d;return q|0}q=f-b|0;c[e>>2]=g&1|b|2;c[a+(b+4)>>2]=q|1;c[291312>>2]=a+b;c[291300>>2]=q;q=a;i=d;return q|0}if((f|0)==(c[291308>>2]|0)){h=(c[291296>>2]|0)+k|0;if(h>>>0<b>>>0){q=0;i=d;return q|0}f=h-b|0;if(f>>>0>15){c[e>>2]=g&1|b|2;c[a+(b+4)>>2]=f|1;c[a+h>>2]=f;e=a+(h+4)|0;c[e>>2]=c[e>>2]&-2;e=a+b|0}else{c[e>>2]=g&1|h|2;e=a+(h+4)|0;c[e>>2]=c[e>>2]|1;e=0;f=0}c[291296>>2]=f;c[291308>>2]=e;q=a;i=d;return q|0}if((o&2|0)!=0){q=0;i=d;return q|0}h=(o&-8)+k|0;if(h>>>0<b>>>0){q=0;i=d;return q|0}g=h-b|0;n=o>>>3;a:do{if(o>>>0<256){j=c[a+(k+8)>>2]|0;k=c[a+(k+12)>>2]|0;o=291328+(n<<1<<2)|0;do{if((j|0)!=(o|0)){if(j>>>0<l>>>0){tc()}if((c[j+12>>2]|0)==(f|0)){break}tc()}}while(0);if((k|0)==(j|0)){c[72822]=c[72822]&~(1<<n);break}do{if((k|0)==(o|0)){m=k+8|0}else{if(k>>>0<l>>>0){tc()}l=k+8|0;if((c[l>>2]|0)==(f|0)){m=l;break}tc()}}while(0);c[j+12>>2]=k;c[m>>2]=j}else{m=c[a+(k+24)>>2]|0;o=c[a+(k+12)>>2]|0;do{if((o|0)==(f|0)){n=a+(k+20)|0;o=c[n>>2]|0;if((o|0)==0){n=a+(k+16)|0;o=c[n>>2]|0;if((o|0)==0){j=0;break}}while(1){p=o+20|0;q=c[p>>2]|0;if((q|0)!=0){o=q;n=p;continue}p=o+16|0;q=c[p>>2]|0;if((q|0)==0){break}else{n=p;o=q}}if(n>>>0<l>>>0){tc()}else{c[n>>2]=0;j=o;break}}else{n=c[a+(k+8)>>2]|0;if(n>>>0<l>>>0){tc()}l=n+12|0;if((c[l>>2]|0)!=(f|0)){tc()}p=o+8|0;if((c[p>>2]|0)==(f|0)){c[l>>2]=o;c[p>>2]=n;j=o;break}else{tc()}}}while(0);if((m|0)==0){break}n=a+(k+28)|0;l=291592+(c[n>>2]<<2)|0;do{if((f|0)==(c[l>>2]|0)){c[l>>2]=j;if((j|0)!=0){break}c[291292>>2]=c[291292>>2]&~(1<<c[n>>2]);break a}else{if(m>>>0<(c[291304>>2]|0)>>>0){tc()}l=m+16|0;if((c[l>>2]|0)==(f|0)){c[l>>2]=j}else{c[m+20>>2]=j}if((j|0)==0){break a}}}while(0);if(j>>>0<(c[291304>>2]|0)>>>0){tc()}c[j+24>>2]=m;f=c[a+(k+16)>>2]|0;do{if((f|0)!=0){if(f>>>0<(c[291304>>2]|0)>>>0){tc()}else{c[j+16>>2]=f;c[f+24>>2]=j;break}}}while(0);f=c[a+(k+20)>>2]|0;if((f|0)==0){break}if(f>>>0<(c[291304>>2]|0)>>>0){tc()}else{c[j+20>>2]=f;c[f+24>>2]=j;break}}}while(0);if(g>>>0<16){c[e>>2]=h|c[e>>2]&1|2;q=a+(h|4)|0;c[q>>2]=c[q>>2]|1;q=a;i=d;return q|0}else{c[e>>2]=c[e>>2]&1|b|2;c[a+(b+4)>>2]=g|3;q=a+(h|4)|0;c[q>>2]=c[q>>2]|1;EW(a+b|0,g);q=a;i=d;return q|0}return 0}function EW(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;d=i;h=a+b|0;l=c[a+4>>2]|0;a:do{if((l&1|0)==0){p=c[a>>2]|0;if((l&3|0)==0){i=d;return}l=a+(0-p)|0;m=p+b|0;q=c[291304>>2]|0;if(l>>>0<q>>>0){tc()}if((l|0)==(c[291308>>2]|0)){e=a+(b+4)|0;if((c[e>>2]&3|0)!=3){e=l;n=m;break}c[291296>>2]=m;c[e>>2]=c[e>>2]&-2;c[a+(4-p)>>2]=m|1;c[h>>2]=m;i=d;return}s=p>>>3;if(p>>>0<256){e=c[a+(8-p)>>2]|0;n=c[a+(12-p)>>2]|0;o=291328+(s<<1<<2)|0;do{if((e|0)!=(o|0)){if(e>>>0<q>>>0){tc()}if((c[e+12>>2]|0)==(l|0)){break}tc()}}while(0);if((n|0)==(e|0)){c[72822]=c[72822]&~(1<<s);e=l;n=m;break}do{if((n|0)==(o|0)){r=n+8|0}else{if(n>>>0<q>>>0){tc()}o=n+8|0;if((c[o>>2]|0)==(l|0)){r=o;break}tc()}}while(0);c[e+12>>2]=n;c[r>>2]=e;e=l;n=m;break}r=c[a+(24-p)>>2]|0;t=c[a+(12-p)>>2]|0;do{if((t|0)==(l|0)){u=16-p|0;s=a+(u+4)|0;t=c[s>>2]|0;if((t|0)==0){s=a+u|0;t=c[s>>2]|0;if((t|0)==0){o=0;break}}while(1){u=t+20|0;v=c[u>>2]|0;if((v|0)!=0){t=v;s=u;continue}u=t+16|0;v=c[u>>2]|0;if((v|0)==0){break}else{s=u;t=v}}if(s>>>0<q>>>0){tc()}else{c[s>>2]=0;o=t;break}}else{s=c[a+(8-p)>>2]|0;if(s>>>0<q>>>0){tc()}u=s+12|0;if((c[u>>2]|0)!=(l|0)){tc()}q=t+8|0;if((c[q>>2]|0)==(l|0)){c[u>>2]=t;c[q>>2]=s;o=t;break}else{tc()}}}while(0);if((r|0)==0){e=l;n=m;break}q=a+(28-p)|0;s=291592+(c[q>>2]<<2)|0;do{if((l|0)==(c[s>>2]|0)){c[s>>2]=o;if((o|0)!=0){break}c[291292>>2]=c[291292>>2]&~(1<<c[q>>2]);e=l;n=m;break a}else{if(r>>>0<(c[291304>>2]|0)>>>0){tc()}q=r+16|0;if((c[q>>2]|0)==(l|0)){c[q>>2]=o}else{c[r+20>>2]=o}if((o|0)==0){e=l;n=m;break a}}}while(0);if(o>>>0<(c[291304>>2]|0)>>>0){tc()}c[o+24>>2]=r;p=16-p|0;q=c[a+p>>2]|0;do{if((q|0)!=0){if(q>>>0<(c[291304>>2]|0)>>>0){tc()}else{c[o+16>>2]=q;c[q+24>>2]=o;break}}}while(0);p=c[a+(p+4)>>2]|0;if((p|0)==0){e=l;n=m;break}if(p>>>0<(c[291304>>2]|0)>>>0){tc()}else{c[o+20>>2]=p;c[p+24>>2]=o;e=l;n=m;break}}else{e=a;n=b}}while(0);l=c[291304>>2]|0;if(h>>>0<l>>>0){tc()}m=a+(b+4)|0;o=c[m>>2]|0;do{if((o&2|0)==0){if((h|0)==(c[291312>>2]|0)){v=(c[291300>>2]|0)+n|0;c[291300>>2]=v;c[291312>>2]=e;c[e+4>>2]=v|1;if((e|0)!=(c[291308>>2]|0)){i=d;return}c[291308>>2]=0;c[291296>>2]=0;i=d;return}if((h|0)==(c[291308>>2]|0)){v=(c[291296>>2]|0)+n|0;c[291296>>2]=v;c[291308>>2]=e;c[e+4>>2]=v|1;c[e+v>>2]=v;i=d;return}n=(o&-8)+n|0;m=o>>>3;b:do{if(o>>>0<256){j=c[a+(b+8)>>2]|0;a=c[a+(b+12)>>2]|0;b=291328+(m<<1<<2)|0;do{if((j|0)!=(b|0)){if(j>>>0<l>>>0){tc()}if((c[j+12>>2]|0)==(h|0)){break}tc()}}while(0);if((a|0)==(j|0)){c[72822]=c[72822]&~(1<<m);break}do{if((a|0)==(b|0)){k=a+8|0}else{if(a>>>0<l>>>0){tc()}b=a+8|0;if((c[b>>2]|0)==(h|0)){k=b;break}tc()}}while(0);c[j+12>>2]=a;c[k>>2]=j}else{k=c[a+(b+24)>>2]|0;m=c[a+(b+12)>>2]|0;do{if((m|0)==(h|0)){o=a+(b+20)|0;m=c[o>>2]|0;if((m|0)==0){o=a+(b+16)|0;m=c[o>>2]|0;if((m|0)==0){j=0;break}}while(1){p=m+20|0;q=c[p>>2]|0;if((q|0)!=0){o=p;m=q;continue}p=m+16|0;q=c[p>>2]|0;if((q|0)==0){break}else{m=q;o=p}}if(o>>>0<l>>>0){tc()}else{c[o>>2]=0;j=m;break}}else{o=c[a+(b+8)>>2]|0;if(o>>>0<l>>>0){tc()}p=o+12|0;if((c[p>>2]|0)!=(h|0)){tc()}l=m+8|0;if((c[l>>2]|0)==(h|0)){c[p>>2]=m;c[l>>2]=o;j=m;break}else{tc()}}}while(0);if((k|0)==0){break}m=a+(b+28)|0;l=291592+(c[m>>2]<<2)|0;do{if((h|0)==(c[l>>2]|0)){c[l>>2]=j;if((j|0)!=0){break}c[291292>>2]=c[291292>>2]&~(1<<c[m>>2]);break b}else{if(k>>>0<(c[291304>>2]|0)>>>0){tc()}l=k+16|0;if((c[l>>2]|0)==(h|0)){c[l>>2]=j}else{c[k+20>>2]=j}if((j|0)==0){break b}}}while(0);if(j>>>0<(c[291304>>2]|0)>>>0){tc()}c[j+24>>2]=k;h=c[a+(b+16)>>2]|0;do{if((h|0)!=0){if(h>>>0<(c[291304>>2]|0)>>>0){tc()}else{c[j+16>>2]=h;c[h+24>>2]=j;break}}}while(0);h=c[a+(b+20)>>2]|0;if((h|0)==0){break}if(h>>>0<(c[291304>>2]|0)>>>0){tc()}else{c[j+20>>2]=h;c[h+24>>2]=j;break}}}while(0);c[e+4>>2]=n|1;c[e+n>>2]=n;if((e|0)!=(c[291308>>2]|0)){break}c[291296>>2]=n;i=d;return}else{c[m>>2]=o&-2;c[e+4>>2]=n|1;c[e+n>>2]=n}}while(0);a=n>>>3;if(n>>>0<256){b=a<<1;h=291328+(b<<2)|0;j=c[72822]|0;a=1<<a;do{if((j&a|0)==0){c[72822]=j|a;g=h;f=291328+(b+2<<2)|0}else{a=291328+(b+2<<2)|0;j=c[a>>2]|0;if(j>>>0>=(c[291304>>2]|0)>>>0){g=j;f=a;break}tc()}}while(0);c[f>>2]=e;c[g+12>>2]=e;c[e+8>>2]=g;c[e+12>>2]=h;i=d;return}f=n>>>8;do{if((f|0)==0){f=0}else{if(n>>>0>16777215){f=31;break}u=(f+1048320|0)>>>16&8;v=f<<u;t=(v+520192|0)>>>16&4;v=v<<t;f=(v+245760|0)>>>16&2;f=14-(t|u|f)+(v<<f>>>15)|0;f=n>>>(f+7|0)&1|f<<1}}while(0);g=291592+(f<<2)|0;c[e+28>>2]=f;c[e+20>>2]=0;c[e+16>>2]=0;j=c[291292>>2]|0;h=1<<f;if((j&h|0)==0){c[291292>>2]=j|h;c[g>>2]=e;c[e+24>>2]=g;c[e+12>>2]=e;c[e+8>>2]=e;i=d;return}h=c[g>>2]|0;if((f|0)==31){f=0}else{f=25-(f>>>1)|0}c:do{if((c[h+4>>2]&-8|0)!=(n|0)){f=n<<f;j=h;while(1){g=j+16+(f>>>31<<2)|0;h=c[g>>2]|0;if((h|0)==0){break}if((c[h+4>>2]&-8|0)==(n|0)){break c}else{f=f<<1;j=h}}if(g>>>0<(c[291304>>2]|0)>>>0){tc()}c[g>>2]=e;c[e+24>>2]=j;c[e+12>>2]=e;c[e+8>>2]=e;i=d;return}}while(0);f=h+8|0;j=c[f>>2]|0;g=c[291304>>2]|0;if(h>>>0<g>>>0){tc()}if(j>>>0<g>>>0){tc()}c[j+12>>2]=e;c[f>>2]=e;c[e+8>>2]=j;c[e+12>>2]=h;c[e+24>>2]=0;i=d;return}function FW(a){a=a|0;var b=0,d=0,e=0;b=i;a=(a|0)==0?1:a;while(1){d=AW(a)|0;if((d|0)!=0){a=6;break}e=291784;d=c[e>>2]|0;c[e>>2]=0+d;if((d|0)==0){a=5;break}Hd[d&1]()}if((a|0)==5){e=cc(4)|0;c[e>>2]=291800;uc(e|0,291848,327)}else if((a|0)==6){i=b;return d|0}return 0}function GW(a){a=a|0;var b=0;b=i;a=FW(a)|0;i=b;return a|0}function HW(a){a=a|0;var b=0;b=i;if((a|0)!=0){BW(a)}i=b;return}function IW(a){a=a|0;var b=0;b=i;HW(a);i=b;return}function JW(a){a=a|0;var b=0;b=i;lb(a|0);HW(a);i=b;return}function KW(a){a=a|0;var b=0;b=i;lb(a|0);i=b;return}function LW(a){a=a|0;i=i;return 291816}
7337 da(n,-3)|0)|0;o=c[r>>2]|0;if((b|0)<=30){if((o>>>b|0)!=0){break}}M=+(j|0)*+(o>>>0)*+(c[291896+(n+ -10<<2)>>2]|0);i=g;return+M}}while(0);b=(n|0)%9|0;if((b|0)==0){b=0;o=0}else{f=(n|0)>-1?b:b+9|0;o=c[291896+(8-f<<2)>>2]|0;do{if((y|0)==0){b=0;y=0}else{p=1e9/(o|0)|0;b=0;r=0;t=0;while(1){I=k+(t<<2)|0;q=c[I>>2]|0;J=((q>>>0)/(o>>>0)|0)+r|0;c[I>>2]=J;r=da((q>>>0)%(o>>>0)|0,p)|0;q=t+1|0;if((t|0)==(b|0)&(J|0)==0){b=q&127;n=n+ -9|0}if((q|0)==(y|0)){break}else{t=q}}if((r|0)==0){break}c[k+(y<<2)>>2]=r;y=y+1|0}}while(0);o=0;n=9-f+n|0}f:while(1){f=k+(b<<2)|0;if((n|0)<18){do{q=0;f=y+127|0;while(1){f=f&127;p=k+(f<<2)|0;r=dX(c[p>>2]|0,0,29)|0;r=gX(r|0,H|0,q|0,0)|0;q=H;if(q>>>0>0|(q|0)==0&r>>>0>1e9){J=rX(r|0,q|0,1e9,0)|0;r=sX(r|0,q|0,1e9,0)|0;q=J}else{q=0}c[p>>2]=r;p=(f|0)==(b|0);if(!((f|0)!=(y+127&127|0)|p)){y=(r|0)==0?f:y}if(p){break}else{f=f+ -1|0}}o=o+ -29|0;}while((q|0)==0)}else{if((n|0)!=18){break}do{if((c[f>>2]|0)>>>0>=9007199){n=18;break f}q=0;p=y+127|0;while(1){p=p&127;r=k+(p<<2)|0;t=dX(c[r>>2]|0,0,29)|0;t=gX(t|0,H|0,q|0,0)|0;q=H;if(q>>>0>0|(q|0)==0&t>>>0>1e9){J=rX(t|0,q|0,1e9,0)|0;t=sX(t|0,q|0,1e9,0)|0;q=J}else{q=0}c[r>>2]=t;r=(p|0)==(b|0);if(!((p|0)!=(y+127&127|0)|r)){y=(t|0)==0?p:y}if(r){break}else{p=p+ -1|0}}o=o+ -29|0;}while((q|0)==0)}b=b+127&127;if((b|0)==(y|0)){J=y+127&127;y=k+((y+126&127)<<2)|0;c[y>>2]=c[y>>2]|c[k+(J<<2)>>2];y=J}c[k+(b<<2)>>2]=q;n=n+9|0}g:while(1){f=y+1&127;p=k+((y+127&127)<<2)|0;while(1){r=(n|0)==18;q=(n|0)>27?9:1;while(1){t=0;while(1){u=t+b&127;if((u|0)==(y|0)){t=2;break}z=c[k+(u<<2)>>2]|0;v=c[291888+(t<<2)>>2]|0;if(z>>>0<v>>>0){t=2;break}u=t+1|0;if(z>>>0>v>>>0){break}if((u|0)<2){t=u}else{t=u;break}}if((t|0)==2&r){break g}o=q+o|0;if((b|0)==(y|0)){b=y}else{break}}r=(1<<q)+ -1|0;v=1e9>>>q;u=b;t=0;do{I=k+(b<<2)|0;J=c[I>>2]|0;z=(J>>>q)+t|0;c[I>>2]=z;t=da(J&r,v)|0;z=(b|0)==(u|0)&(z|0)==0;b=b+1&127;n=z?n+ -9|0:n;u=z?b:u;}while((b|0)!=(y|0));if((t|0)==0){b=u;continue}if((f|0)!=(u|0)){break}c[p>>2]=c[p>>2]|1;b=u}c[k+(y<<2)>>2]=t;b=u;y=f}n=b&127;if((n|0)==(y|0)){c[k+(f+ -1<<2)>>2]=0;y=f}K=+((c[k+(n<<2)>>2]|0)>>>0);n=b+1&127;if((n|0)==(y|0)){y=y+1&127;c[k+(y+ -1<<2)>>2]=0}s=+(j|0);L=s*(K*1.0e9+ +((c[k+(n<<2)>>2]|0)>>>0));j=o+53|0;h=j-h|0;if((h|0)<(e|0)){e=(h|0)<0?0:h;n=1}else{n=0}if((e|0)<53){O=+Sc(+(+QW(1.0,105-e|0)),+L);N=+$b(+L,+(+QW(1.0,53-e|0)));K=O;M=N;L=O+(L-N)}else{K=0.0;M=0.0}f=b+2&127;do{if((f|0)!=(y|0)){k=c[k+(f<<2)>>2]|0;do{if(k>>>0<5e8){if((k|0)==0){if((b+3&127|0)==(y|0)){break}}M=s*.25+M}else{if(k>>>0>5e8){M=s*.75+M;break}if((b+3&127|0)==(y|0)){M=s*.5+M;break}else{M=s*.75+M;break}}}while(0);if((53-e|0)<=1){break}if(+$b(+M,1.0)!=0.0){break}M=M+1.0}}while(0);s=L+M-K;do{if((j&2147483647|0)>(-2-m|0)){if(+S(+s)>=9007199254740992.0){n=(n|0)!=0&(e|0)==(h|0)?0:n;o=o+1|0;s=s*.5}if((o+50|0)<=(l|0)){if(!((n|0)!=0&M!=0.0)){break}}c[(Pc()|0)>>2]=34}}while(0);O=+RW(s,o);i=g;return+O}else{if((c[o>>2]|0)!=0){c[n>>2]=(c[n>>2]|0)+ -1}c[(Pc()|0)>>2]=22;OW(b,0);O=0.0;i=g;return+O}}}while(0);do{if((q|0)==23){e=(c[o>>2]|0)==0;if(!e){c[n>>2]=(c[n>>2]|0)+ -1}if(l>>>0<4|(f|0)==0|e){break}do{c[n>>2]=(c[n>>2]|0)+ -1;l=l+ -1|0;}while(l>>>0>3)}}while(0);O=+(j|0)*+x;i=g;return+O}function NW(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;g=a+4|0;h=c[g>>2]|0;f=a+100|0;if(h>>>0<(c[f>>2]|0)>>>0){c[g>>2]=h+1;k=d[h]|0}else{k=PW(a)|0}do{if((k|0)==43|(k|0)==45){h=(k|0)==45|0;j=c[g>>2]|0;if(j>>>0<(c[f>>2]|0)>>>0){c[g>>2]=j+1;k=d[j]|0}else{k=PW(a)|0}if((k+ -48|0)>>>0<10|(b|0)==0){break}if((c[f>>2]|0)==0){break}c[g>>2]=(c[g>>2]|0)+ -1}else{h=0}}while(0);if((k+ -48|0)>>>0>9){if((c[f>>2]|0)==0){k=0;j=-2147483648;H=j;i=e;return k|0}c[g>>2]=(c[g>>2]|0)+ -1;k=0;j=-2147483648;H=j;i=e;return k|0}else{b=0}while(1){b=k+ -48+b|0;j=c[g>>2]|0;if(j>>>0<(c[f>>2]|0)>>>0){c[g>>2]=j+1;k=d[j]|0}else{k=PW(a)|0}if(!((k+ -48|0)>>>0<10&(b|0)<214748364)){break}b=b*10|0}b=b|0;j=(b|0)<0?-1:0;if((k+ -48|0)>>>0<10){while(1){j=qX(b|0,j|0,10,0)|0;b=H;k=k|0;k=gX(k|0,((k|0)<0?-1:0)|0,-48,-1)|0;b=gX(k|0,H|0,j|0,b|0)|0;j=H;k=c[g>>2]|0;if(k>>>0<(c[f>>2]|0)>>>0){c[g>>2]=k+1;k=d[k]|0}else{k=PW(a)|0}if((k+ -48|0)>>>0<10&((j|0)<21474836|(j|0)==21474836&b>>>0<2061584302)){}else{break}}}if((k+ -48|0)>>>0<10){do{k=c[g>>2]|0;if(k>>>0<(c[f>>2]|0)>>>0){c[g>>2]=k+1;k=d[k]|0}else{k=PW(a)|0}}while((k+ -48|0)>>>0<10)}if((c[f>>2]|0)!=0){c[g>>2]=(c[g>>2]|0)+ -1}a=(h|0)!=0;f=fX(0,0,b|0,j|0)|0;f=a?f:b;k=a?H:j;H=k;i=e;return f|0}function OW(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=i;c[a+104>>2]=b;f=c[a+8>>2]|0;e=c[a+4>>2]|0;g=f-e|0;c[a+108>>2]=g;if((b|0)!=0&(g|0)>(b|0)){c[a+100>>2]=e+b;i=d;return}else{c[a+100>>2]=f;i=d;return}}function PW(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;h=b+104|0;f=c[h>>2]|0;if((f|0)==0){g=3}else{if((c[b+108>>2]|0)<(f|0)){g=3}}do{if((g|0)==3){f=TW(b)|0;if((f|0)<0){break}k=c[h>>2]|0;h=c[b+8>>2]|0;do{if((k|0)==0){g=8}else{j=c[b+4>>2]|0;k=k-(c[b+108>>2]|0)+ -1|0;if((h-j|0)<=(k|0)){g=8;break}c[b+100>>2]=j+k}}while(0);if((g|0)==8){c[b+100>>2]=h}g=c[b+4>>2]|0;if((h|0)!=0){k=b+108|0;c[k>>2]=h+1-g+(c[k>>2]|0)}b=g+ -1|0;if((d[b]|0|0)==(f|0)){k=f;i=e;return k|0}a[b]=f;k=f;i=e;return k|0}}while(0);c[b+100>>2]=0;k=-1;i=e;return k|0}function QW(a,b){a=+a;b=b|0;var d=0,e=0;d=i;do{if((b|0)>1023){a=a*8.98846567431158e+307;e=b+ -1023|0;if((e|0)<=1023){b=e;break}b=b+ -2046|0;b=(b|0)>1023?1023:b;a=a*8.98846567431158e+307}else{if((b|0)>=-1022){break}a=a*1.2882297539194267e-231;e=b+1022|0;if((e|0)>=-1022){b=e;break}b=b+2044|0;b=(b|0)<-1022?-1022:b;a=a*1.2882297539194267e-231}}while(0);b=dX(b+1023|0,0,52)|0;e=H;c[k>>2]=b;c[k+4>>2]=e;a=a*+h[k>>3];i=d;return+a}function RW(a,b){a=+a;b=b|0;var c=0;c=i;a=+QW(a,b);i=c;return+a}function SW(b){b=b|0;var d=0,e=0,f=0;e=i;f=b+74|0;d=a[f]|0;a[f]=d+ -1<<24>>24|d;f=b+20|0;d=b+44|0;if((c[f>>2]|0)>>>0>(c[d>>2]|0)>>>0){sd[c[b+36>>2]&127](b,0,0)|0}c[b+16>>2]=0;c[b+28>>2]=0;c[f>>2]=0;f=c[b>>2]|0;if((f&20|0)==0){f=c[d>>2]|0;c[b+8>>2]=f;c[b+4>>2]=f;f=0;i=e;return f|0}if((f&4|0)==0){f=-1;i=e;return f|0}c[b>>2]=f|32;f=-1;i=e;return f|0}function TW(a){a=a|0;var b=0,e=0,f=0;b=i;e=i;i=i+8|0;f=e;do{if((c[a+8>>2]|0)==0){if((SW(a)|0)==0){break}else{a=-1}i=b;return a|0}}while(0);if((sd[c[a+32>>2]&127](a,f,1)|0)!=1){f=-1;i=b;return f|0}f=d[e]|0;i=b;return f|0}function UW(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0,g=0,h=0;e=i;h=i;i=i+112|0;f=h;bX(h|0,0,112)|0;h=f+4|0;c[h>>2]=a;g=f+8|0;c[g>>2]=-1;c[f+44>>2]=a;c[f+76>>2]=-1;OW(f,0);d=+MW(f,1,1);f=(c[h>>2]|0)-(c[g>>2]|0)+(c[f+108>>2]|0)|0;if((b|0)==0){i=e;return+d}if((f|0)!=0){a=a+f|0}c[b>>2]=a;i=e;return+d}function VW(){c[72964]=o}function WW(a){a=a|0;if((a|0)<65)return a|0;if((a|0)>90)return a|0;return a-65+97|0}function XW(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;while(e>>>0<d>>>0){f=WW(a[b+e|0]|0)|0;g=WW(a[c+e|0]|0)|0;if((f|0)==(g|0)&(f|0)==0)return 0;if((f|0)==0)return-1;if((g|0)==0)return 1;if((f|0)==(g|0)){e=e+1|0;continue}else{return(f>>>0>g>>>0?1:-1)|0}}return 0}function YW(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;u=u+1|0;c[a>>2]=u;while((e|0)<40){if((c[d+(e<<2)>>2]|0)==0){c[d+(e<<2)>>2]=u;c[d+((e<<2)+4)>>2]=b;c[d+((e<<2)+8)>>2]=0;return 0}e=e+2|0}Hb(116);Hb(111);Hb(111);Hb(32);Hb(109);Hb(97);Hb(110);Hb(121);Hb(32);Hb(115);Hb(101);Hb(116);Hb(106);Hb(109);Hb(112);Hb(115);Hb(32);Hb(105);Hb(110);Hb(32);Hb(97);Hb(32);Hb(102);Hb(117);Hb(110);Hb(99);Hb(116);Hb(105);Hb(111);Hb(110);Hb(32);Hb(99);Hb(97);Hb(108);Hb(108);Hb(44);Hb(32);Hb(98);Hb(117);Hb(105);Hb(108);Hb(100);Hb(32);Hb(119);Hb(105);Hb(116);Hb(104);Hb(32);Hb(97);Hb(32);Hb(104);Hb(105);Hb(103);Hb(104);Hb(101);Hb(114);Hb(32);Hb(118);Hb(97);Hb(108);Hb(117);Hb(101);Hb(32);Hb(102);Hb(111);Hb(114);Hb(32);Hb(77);Hb(65);Hb(88);Hb(95);Hb(83);Hb(69);Hb(84);Hb(74);Hb(77);Hb(80);Hb(83);Hb(10);ea(0);return 0}function ZW(b){b=b|0;var c=0;c=b;while(a[c]|0){c=c+1|0}return c-b|0}function _W(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){H=b>>c;return a>>>c|(b&(1<<c)-1)<<32-c}H=(b|0)<0?-1:0;return b>>c-32|0}function $W(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=b|0;if((b&3)==(d&3)){while(b&3){if((e|0)==0)return f|0;a[b]=a[d]|0;b=b+1|0;d=d+1|0;e=e-1|0}while((e|0)>=4){c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0;e=e-4|0}}while((e|0)>0){a[b]=a[d]|0;b=b+1|0;d=d+1|0;e=e-1|0}return f|0}function aX(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;if((c|0)<(b|0)&(b|0)<(c+d|0)){e=b;c=c+d|0;b=b+d|0;while((d|0)>0){b=b-1|0;c=c-1|0;d=d-1|0;a[b]=a[c]|0}b=e}else{$W(b,c,d)|0}return b|0}function bX(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=b+e|0;if((e|0)>=20){d=d&255;i=b&3;h=d|d<<8|d<<16|d<<24;g=f&~3;if(i){i=b+4-i|0;while((b|0)<(i|0)){a[b]=d;b=b+1|0}}while((b|0)<(g|0)){c[b>>2]=h;b=b+4|0}}while((b|0)<(f|0)){a[b]=d;b=b+1|0}return b-e|0}function cX(b,c){b=b|0;c=c|0;var d=0,e=0;d=b+(ZW(b)|0)|0;do{a[d+e|0]=a[c+e|0];e=e+1|0}while(a[c+(e-1)|0]|0);return b|0}function dX(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){H=b<<c|(a&(1<<c)-1<<32-c)>>>32-c;return a<<c}H=a<<c-32;return 0}function eX(b,c){b=b|0;c=c|0;var d=0;do{a[b+d|0]=a[c+d|0];d=d+1|0}while(a[c+(d-1)|0]|0);return b|0}function fX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=b-d-(c>>>0>a>>>0|0)>>>0;return(H=b,a-c>>>0|0)|0}function gX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=a+c>>>0;return(H=b+d+(c>>>0<a>>>0|0)>>>0,c|0)|0}function hX(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;while((e|0)<(d|0)){a[b+e|0]=f?0:a[c+e|0]|0;f=f?1:(a[c+e|0]|0)==0;e=e+1|0}return b|0}function iX(a,b,c){a=a|0;b=b|0;c=c|0;var e=0,f=0,g=0;while((e|0)<(c|0)){g=d[a+e|0]|0;f=d[b+e|0]|0;if((g|0)!=(f|0))return((g|0)>(f|0)?1:-1)|0;e=e+1|0}return 0}function jX(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){H=b>>>c;return a>>>c|(b&(1<<c)-1)<<32-c}H=0;return b>>>c-32|0}function kX(a,b){a=a|0;b=b|0;var d=0,e=0;while((d|0)<20){e=c[b+(d<<2)>>2]|0;if((e|0)==0)break;if((e|0)==(a|0)){return c[b+((d<<2)+4)>>2]|0}d=d+2|0}return 0}function lX(b){b=b|0;var c=0;c=a[n+(b>>>24)|0]|0;if((c|0)<8)return c|0;c=a[n+(b>>16&255)|0]|0;if((c|0)<8)return c+8|0;c=a[n+(b>>8&255)|0]|0;if((c|0)<8)return c+16|0;return(a[n+(b&255)|0]|0)+24|0}function mX(b){b=b|0;var c=0;c=a[m+(b&255)|0]|0;if((c|0)<8)return c|0;c=a[m+(b>>8&255)|0]|0;if((c|0)<8)return c+8|0;c=a[m+(b>>16&255)|0]|0;if((c|0)<8)return c+16|0;return(a[m+(b>>>24)|0]|0)+24|0}function nX(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=a&65535;d=b&65535;c=da(d,f)|0;e=a>>>16;d=(c>>>16)+(da(d,e)|0)|0;b=b>>>16;a=da(b,f)|0;return(H=(d>>>16)+(da(b,e)|0)+(((d&65535)+a|0)>>>16)|0,d+a<<16|c&65535|0)|0}function oX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=b>>31|((b|0)<0?-1:0)<<1;f=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;g=d>>31|((d|0)<0?-1:0)<<1;h=((d|0)<0?-1:0)>>31|((d|0)<0?-1:0)<<1;a=fX(e^a,f^b,e,f)|0;b=H;e=g^e;f=h^f;g=fX((tX(a,b,fX(g^c,h^d,g,h)|0,H,0)|0)^e,H^f,e,f)|0;return(H=H,g)|0}function pX(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;g=i;i=i+8|0;f=g|0;h=b>>31|((b|0)<0?-1:0)<<1;j=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;k=e>>31|((e|0)<0?-1:0)<<1;l=((e|0)<0?-1:0)>>31|((e|0)<0?-1:0)<<1;a=fX(h^a,j^b,h,j)|0;b=H;tX(a,b,fX(k^d,l^e,k,l)|0,H,f)|0;k=fX(c[f>>2]^h,c[f+4>>2]^j,h,j)|0;j=H;i=g;return(H=j,k)|0}function qX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;f=c;a=nX(e,f)|0;c=H;return(H=(da(b,f)|0)+(da
7343 var dd=[$X,bQ];var ed=[aY,LM,xW,wW];var fd=[bY,Te,Se,tg,sg,Gg,Fg,Jg,Ig,Pg,Og,Sg,hi,WF,Oi,Pi,hj,ij,tj,sj,kj,jj,vj,wj,rm,Fj,Ej,Hj,Ij,Ql,Nj,Mj,Pj,Qj,dm,Vj,Uj,Xj,Yj,km,ak,Pm,Rm,ik,hk,jk,ok,nk,pk,vk,uk,Bk,Fk,Ek,Gk,Kk,Jk,Mk,Lk,Vk,Uk,Xk,$k,Wk,sl,rl,ul,tl,Hl,Gl,Cm,yn,zn,ln,An,Gn,Fn,Xn,Wn,Yp,Xp,fq,eq,sq,rq,uq,jt,kt,lt,mt,sr,rr,nt,ot,pt,qt,Cr,Br,Kr,Jr,Or,Nr,Rr,Qr,Wr,Vr,_r,Zr,bs,as,fs,es,ks,js,us,ts,zs,ys,Cs,Bs,Fs,Es,Js,Is,Ms,Ls,Ps,Os,Ss,Rs,Ws,Vs,$s,_s,Hu,Gu,Iu,iv,hv,Sv,lv,kv,ov,Tv,Uv,qv,sv,rv,Vv,Wv,xv,wv,zv,Dv,Cv,Gv,Fv,Jv,Iv,Kv,Wx,Vx,ey,dy,oy,ny,Iy,Uy,az,hz,pz,wz,Cz,Kz,Jz,Uz,Tz,bA,aA,iA,hA,pA,oA,zA,yA,DA,CA,GA,FA,PA,OA,UA,TA,ZA,YA,cB,bB,jB,iB,TC,SC,YC,XC,_C,ZC,aD,$C,dD,cD,eD,gD,HD,GD,ID,KD,yE,xE,BE,AE,EE,DE,HE,GE,JE,IE,ME,LE,PE,OE,SE,RE,VE,UE,YE,XE,_E,ZE,xF,yF,wG,xG,vG,yG,MG,NG,QG,PG,$G,_G,rH,qH,wH,vH,DH,HH,LH,KH,OH,TH,SH,$H,_H,cI,sI,uI,vI,NI,MI,tL,xL,QL,VL,cM,kM,mM,vM,xM,zM,AM,BM,MM,SM,UM,XM,_M,dN,hN,tN,dO,jP,IP,SP,UP,cQ,dQ,kQ,IQ,aR,dR,fR,mS,pS,rS,tS,dT,gT,iT,kT,yT,BT,DT,FT,WT,tU,MU,RU,eV,hV,jV,lV,sV,wV,nW,qW,oW,pW,rW,KW,JW,rL,IL,KL,IN,DN,vN,mO,rO,yO,vO,UQ,YR,wU,cW,iW,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY,bY];var gd=[cY,Ph,Bi,cY];var hd=[dY,wg,zh,NF,Tg,Ug,Vg,Xg,Yg,Zg,_g,$g,ah,bh,ii,ji,ki,li,ch,eh,fh,gh,hh,mi,ni,oi,ih,qi,ri,si,ti,ui,vi,wi,kh,mh,nh,oh,ph,qh,Ei,Fi,Hi,th,wh,xh,QF,SF,Ki,Ih,Lh,Nh,Kj,Sj,_j,nm,gk,$y,fz,oz,uz,Bz,Hz,Rz,_z,gA,nA,uA,vL,AL,HM,FS,GS,HS,IS,JS,KS,LS,MS,NS,OS,oT,pT,qT,JT,KT,LT,MT,gU,kU,oU,LL,GN,fW,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY,dY];var id=[eY,UN,$P,eY];var jd=[fY,vg,yg,zg,Ag,Bg,Cg,Dg,Eg,Sh,Uh,Vh,Wh,Qh,Rh,Yh,Zh,_h,ai,bi,ci,di,Mi,XF,Mh,lj,Tl,Ul,Vl,Il,Kl,Ll,Yl,Zl,qm,sm,tm,um,vm,wm,Ml,Nl,Ol,Pl,Rl,Wl,_l,$l,am,bm,cm,em,fm,gm,hm,im,jm,lm,mm,Om,ck,dk,Qm,Sm,fk,om,pm,kk,xm,ym,qk,Hm,wk,yk,Ak,Im,Jm,Km,zm,Am,Nk,Lm,al,cl,Mm,vl,xl,Al,Nm,Bm,Dm,Em,wq,xq,et,gt,ht,it,Ou,Ku,Mu,Ju,Pu,xy,yy,gy,zy,ry,qy,Vy,dC,eC,fC,gC,cC,bz,pC,aC,bC,qC,iz,hC,iC,jC,kC,qz,rC,sC,xz,lC,mC,Dz,tC,uC,Lz,vC,Qz,wC,Vz,xC,yC,zC,cA,AC,BC,CC,jA,DC,EC,FC,qA,nC,oC,AA,EA,QA,VA,_A,dB,lB,AD,BD,CD,DD,ED,hD,iD,jD,aE,LD,ND,$E,aF,bF,cF,dF,eF,fF,gF,hF,iF,jF,kF,nF,oF,lF,mF,pF,qF,rF,sF,tF,uF,dI,eI,fI,gI,hI,iI,jI,kI,lI,mI,nI,oI,pI,qI,rI,lM,CM,QM,YM,LN,MN,NN,sN,TN,XN,YN,eO,CP,JQ,$Q,eR,gR,lS,qS,sS,bT,ZS,cT,hT,jT,wT,xT,CT,ET,RT,PT,sU,dV,iV,kV,GV,HV,IV,JV,XV,VV,LW,zt,At,nu,pu,VR,WR,XR,nR,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY,fY];var kd=[gY,uh];var ld=[hY,OF,PF,hY];var md=[iY,rh];var nd=[jY,yi];var od=[kY,Hg];var pd=[lY,Th,Kg,vq,VI,WL,gM,nM,oM,wM,GM,WM,fO,gO,mP,xP,JP,ZP,yP,KQ,LQ,OQ,PQ,YQ,hR,iR,uS,vS,$S,WS,lT,rT,GT,ST,XT,SU,mV,nV,TV,PV,NL,qN,eK,UR,dW,hW,lY,lY,lY,lY,lY,lY,lY,lY,lY,lY,lY,lY,lY,lY,lY,lY,lY,lY];var qd=[mY,sh];var rd=[nY,Xh];var sd=[oY,ug,zi,Ai,Ci,Oh,Di,oj,pj,mj,Xl,lk,rk,Ck,Hk,Sk,ol,Bl,wl,Fm,kD,OD,KG,LG,sH,UI,tK,$L,aM,hM,qM,rM,sM,tM,uM,FM,PM,RM,VM,bO,iO,nP,pP,qP,KP,MP,aQ,AP,eQ,gQ,iQ,lQ,mQ,vP,wP,NQ,XQ,iS,kS,dS,SS,TS,VS,tT,eU,iU,mU,qU,bV,cV,RV,sW,Ve,We,Ch,Bh,Eh,HN,uK,BR,wR,ER,FR,xR,yR,CR,DR,IR,JR,KR,LR,zS,eW,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY,oY];var td=[pY,gi];var ud=[qY,Kh,zW,yW,kO,lO,pO,qO];var vd=[rY,Fh,Gh,rY];var wd=[sY,ft];var xd=[tY,fy,py,tY];var yd=[uY,Hh];var zd=[vY,Ah];var Ad=[wY,Dh];var Bd=[xY,xg,$h,ei,fi,Ji,Qi,gj,Sl,mk,sk,Dk,Ik,Tk,pl,Cl,Gm,Bn,Nu,lD,PD,wF,zG,tI,RI,SI,TI,sL,uL,wL,yL,BL,PL,RL,SL,TL,XL,YL,bM,dM,eM,iM,DM,NM,ZM,$M,aN,bN,cN,eN,fN,gN,iN,jN,VN,WN,SN,$N,cO,AO,BO,CO,DO,EO,FO,GO,HO,IO,JO,KO,LO,MO,NO,OO,PO,QO,RO,SO,TO,UO,VO,WO,XO,YO,ZO,_O,$O,aP,bP,cP,dP,eP,fP,gP,hP,iP,kP,lP,oP,rP,sP,tP,LP,NP,OP,PP,QP,RP,TP,VP,WP,XP,YP,_P,fQ,hQ,jQ,EP,zP,uP,FQ,HQ,VQ,WQ,bR,kR,lR,jS,nS,wS,yS,aT,XS,YS,_S,RS,US,eT,mT,uT,vT,sT,zT,HT,IT,TT,NT,OT,QT,UT,YT,ZT,$T,aU,bU,cU,dU,fU,hU,jU,lU,nU,pU,LU,NU,OU,PU,TU,UU,fV,pV,qV,rV,tV,uV,vV,xV,yV,WV,UV,SV,QV,yh,Dq,Xq,gr,cv,ly,my,HK,JL,lN,oN,wN,ZN,tQ,uQ,oR,rR,BS,AS,nT,aV,zV,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY,xY];var Cd=[yY,fj,Gj,Oj,Wj,bk,vF,dL,eL,fL,gL,hL,iL,jL,kL,lL,UL,sK,fM,jM,EM,JM,KM,GP,HP,DP,nQ,FP,cR,jR,oS,xS,fT,AT,VT,rU,QU,gV,oV,rN,WU,ZU,$U,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY,yY];var Dd=[zY,yH,QI,zY];var Ed=[AY,Wg,vh,AY];var Fd=[BY,xH,OI,PI,TM,BY,BY,BY];var Gd=[CY,Re,Rg,Gi,Ii,RF,TF,UF,VF,Li,Jh,Ni,nj,Jl,xj,Jj,Rj,Zj,ek,zk,zl,Gr,Sr,Xr,cs,gs,qs,vs,Gs,Ts,Xs,Yv,Zv,_v,$v,aw,bw,cw,dw,ew,fw,gw,hw,iw,jw,kw,lw,mw,nw,ow,pw,qw,rw,sw,tw,uw,vw,ww,xw,yw,zw,Aw,Bw,Cw,Dw,Ew,Fw,Gw,Hw,Iw,Jw,Kw,Lw,Mw,Nw,Ow,Pw,Qw,Rw,Sw,Tw,Uw,Vw,Ww,Xw,Yw,Zw,_w,$w,ax,bx,cx,dx,ex,fx,gx,hx,ix,jx,kx,lx,Wy,Yy,_y,cz,dz,ez,jz,lz,nz,rz,sz,tz,yz,zz,Az,Ez,Fz,Gz,Mz,Nz,Pz,Wz,Xz,Zz,dA,eA,fA,kA,lA,mA,rA,sA,tA,QD,IH,MH,PH,UH,aI,zL,pN,aO,hO,GQ,MQ,EN,FN,zN,jO,oO,pR,qR,sR,tR,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY,CY];var Hd=[DY,EY];var Id=[FY,pi,xi,FY];var Jd=[GY,Ri,Si,Ti,Ui,Vi,Wi,Xi,Yi,Zi,_i,$i,aj,bj,cj,dj,Xy,Zy,Sy,_B,$B,kz,mz,Iz,Oz,Sz,Yz,$z,yM,IM,OM,tW,uW,xN,yN,vJ,RQ,MR,NR,OR,PR,QR,RR,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY,GY];return{_saveSetjmp:YW,_memcmp:iX,_strncasecmp:XW,_strcat:cX,_free:BW,_main:_d,_realloc:CW,_i64Add:gX,_memmove:aX,_tolower:WW,_strlen:ZW,_memset:bX,_malloc:AW,_bitshift64Ashr:_W,_memcpy:$W,_strncpy:hX,_bitshift64Lshr:jX,_bitshift64Shl:dX,_i64Subtract:fX,_strcpy:eX,_testSetjmp:kX,runPostSets:VW,stackAlloc:Kd,stackSave:Ld,stackRestore:Md,setThrew:Nd,setTempRet0:Qd,setTempRet1:Rd,setTempRet2:Sd,setTempRet3:Td,setTempRet4:Ud,setTempRet5:Vd,setTempRet6:Wd,setTempRet7:Xd,setTempRet8:Yd,setTempRet9:Zd,dynCall_iiiiiiii:uX,dynCall_viiiii:vX,dynCall_vi:wX,dynCall_iiiidd:xX,dynCall_vii:yX,dynCall_iiiiiii:zX,dynCall_ii:AX,dynCall_viidd:BX,dynCall_viddii:CX,dynCall_viiddddddiiii:DX,dynCall_iiiiiiiiiiiidd:EX,dynCall_vidii:FX,dynCall_iiiii:GX,dynCall_iiiddddiii:HX,dynCall_viiiiiiiiiii:IX,dynCall_iiii:JX,dynCall_iiiddiiiiiiiiiii:KX,dynCall_viiiiii:LX,dynCall_viiiiiiiiiiiii:MX,dynCall_di:NX,dynCall_iiiiiiiiiii:OX,dynCall_viiiiiii:PX,dynCall_viiiiiiiii:QX,dynCall_viiiiiiiiii:RX,dynCall_iii:SX,dynCall_iiiiii:TX,dynCall_dii:UX,dynCall_viidddddd:VX,dynCall_iiiiiiiiii:WX,dynCall_viii:XX,dynCall_v:YX,dynCall_viid:ZX,dynCall_viiii:_X}})