Home | History | Annotate | Download | only in poppler

Lines Matching refs:Rb

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 function Kd(a){a=a|0;var b=0;b=i;i=i+a|0;i=i+7&-8;return b|0}function Ld(){return i|0}function Md(a){a=a|0;i=a}function Nd(a,b){a=a|0;b=b|0;if((s|0)==0){s=a;t=b}}function Od(b){b=b|0;a[k]=a[b];a[k+1|0]=a[b+1|0];a[k+2|0]=a[b+2|0];a[k+3|0]=a[b+3|0]}function Pd(b){b=b|0;a[k]=a[b];a[k+1|0]=a[b+1|0];a[k+2|0]=a[b+2|0];a[k+3|0]=a[b+3|0];a[k+4|0]=a[b+4|0];a[k+5|0]=a[b+5|0];a[k+6|0]=a[b+6|0];a[k+7|0]=a[b+7|0]}function Qd(a){a=a|0;H=a}function Rd(a){a=a|0;I=a}function Sd(a){a=a|0;J=a}function Td(a){a=a|0;K=a}function Ud(a){a=a|0;L=a}function Vd(a){a=a|0;M=a}function Wd(a){a=a|0;N=a}function Xd(a){a=a|0;O=a}function Yd(a){a=a|0;P=a}function Zd(a){a=a|0;Q=a}function _d(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0.0,x=0.0,y=0.0;e=i;j=i;i=i+24|0;g=j;v=i;i=i+8|0;u=v;r=i;i=i+8|0;q=r;t=i;i=i+8|0;s=t;l=i;i=i+8|0;f=i;i=i+512|0;m=i;i=i+8|0;n=m;o=i;i=i+8|0;c[l>>2]=b;b=ae(8,l,d)|0;if((a[608]&1)!=0){b=(a[616]&1)==0&b}w=+h[78];do{if(w!=0.0){if(!(+h[79]==150.0|+h[80]==150.0)){break}h[79]=w;h[80]=w}}while(0);do{if(b){b=c[l>>2]|0;if((b|0)>3){break}if((a[648]&1)!=0){break}if((a[656]&1)!=0){break}do{if((b|0)>1){q=FW(32)|0;fe(q,c[d+4>>2]|0);if((c[l>>2]|0)!=3){l=q;d=0;break}l=q;d=c[d+8>>2]|0}else{l=0;d=0}}while(0);q=FW(232)|0;Ue(q,0);c[834]=q;do{if((a[872]|0)!=0){if(Af(q,872)|0){break}Rb(888,38,1,c[p>>2]|0)|0}}while(0);do{if((a[928]|0)!=0){if(Bf(c[834]|0,928)|0){break}Rb(944,32,1,c[p>>2]|0)|0}}while(0);do{if((a[984]|0)!=0){if(Cf(c[834]|0,984)|0){break}Rb(1e3,38,1,c[p>>2]|0)|0}}while(0);if((a[1040]&1)!=0){Df(c[834]|0,1)}if((a[1048]|0)==0){q=0}else{q=FW(32)|0;fe(q,1048)}if((a[1088]|0)==0){r=0}else{r=FW(32)|0;fe(r,1088)}if((l|0)==0){l=FW(32)|0;fe(l,1128)}if((te(l,1136)|0)==0){if((l|0)!=0){ke(l);HW(l)}s=FW(32)|0;fe(s,1128)}else{s=l}eg(o,0);l=gg(o,s,q,r,0)|0;fg(o);if((s|0)!=0){ke(s);HW(s)}if((r|0)!=0){ke(r);HW(r)}if((q|0)!=0){ke(q);HW(q)}do{if((a[l+52|0]&1)==0){f=1}else{if((c[286]|0)<1){c[286]=1}o=c[288]|0;if((o|0)<1){k=50}else{if((o|0)>(_f(l)|0)){k=50}}if((k|0)==50){c[288]=_f(l)|0}a[m]=-1;a[n+1|0]=-1;a[n+2|0]=-1;m=FW(256)|0;if((a[608]&1)==0){o=(a[616]&1)!=0?1:2}else{o=0}Mg(m,o,4,0,n,1,1);Qg(m,c[l+28>>2]|0);n=c[290]|0;if((n|0)!=0){c[292]=n;c[294]=n}n=_f(l)|0;if(n>>>0>9){o=1;while(1){o=o+1|0;if(n>>>0>99){n=(n>>>0)/10|0}else{break}}}else{o=1}q=c[286]|0;a:do{if((q|0)<=(c[288]|0)){n=(d|0)==0;while(1){if((a[1184]&1)==0){k=61}else{if((q&1|0)!=0){k=61}}do{if((k|0)==61){k=0;if((a[1192]&1)!=0){if(((q|0)%2|0|0)==1){break}}b=(a[1200]&1)==0;k=($f(l,q)|0)==0;do{if(b){if(k){x=0.0}else{b=c[($f(l,q)|0)+36>>2]|0;x=+h[b+16>>3]- +h[b>>3]}if(($f(l,q)|0)==0){w=0.0;break}b=c[($f(l,q)|0)+36>>2]|0;w=+h[b+24>>3]- +h[b+8>>3]}else{if(k){x=0.0}else{b=c[($f(l,q)|0)+36>>2]|0;x=+h[b+48>>3]- +h[b+32>>3]}if(($f(l,q)|0)==0){w=0.0;break}b=c[($f(l,q)|0)+36>>2]|0;w=+h[b+56>>3]- +h[b+40>>3]}}while(0);k=c[302]|0;do{if((k|0)==0){k=c[304]|0;if((k|0)!=0){h[79]=+(k|0)*72.0/x}k=c[306]|0;if((k|0)==0){y=+h[80];break}else{y=+(k|0)*72.0/w;h[80]=y;break}}else{y=+(k|0)*72.0/(x>w?x:w);h[78]=y;h[80]=y;h[79]=y}}while(0);x=x*(+h[79]/72.0);y=w*(y/72.0);if(($f(l,q)|0)==0){k=81}else{if((c[(c[($f(l,q)|0)+36>>2]|0)+168>>2]|0)==90){k=83}else{k=81}}do{if((k|0)==81){k=0;if(($f(l,q)|0)==0){w=y;break}if((c[(c[($f(l,q)|0)+36>>2]|0)+168>>2]|0)==270){k=83}else{w=y}}}while(0);if((k|0)==83){k=0;w=x;x=y}if(n){$d(l,m,q,c[318]|0,c[320]|0,c[294]|0,c[292]|0,x,w,0);break}if((a[608]&1)==0){r=(a[616]&1)!=0?1256:1264}else{r=1248}c[j>>2]=480;c[g+4>>2]=d;c[g+8>>2]=o;c[g+12>>2]=q;c[g+16>>2]=r;hc(f|0,512,1232,g|0)|0;$d(l,m,q,c[318]|0,c[320]|0,c[294]|0,c[292]|0,x,w,f)}}while(0);if((q|0)>=(c[288]|0)){break a}q=q+1|0}}}while(0);if((m|0)==0){f=0;break}fd[c[(c[m>>2]|0)+4>>2]&511](m);f=0}}while(0);if((l|0)!=0){Zf(l);HW(l)}g=c[834]|0;if((g|0)==0){b=f;i=e;return b|0}af(g);HW(g);b=f;i=e;return b|0}}while(0);f=c[p>>2]|0;c[t>>2]=688;Gc(f|0,664,s|0)|0;c[r>>2]=704;Gc(f|0,696,q|0)|0;c[v>>2]=784;Gc(f|0,696,u|0)|0;f=a[648]|0;if((f&1)==0){be(824,840,8);f=a[648]|0}do{if((f&1)==0){if((a[656]&1)==0){f=99}else{break}i=e;return f|0}}while(0);b=0;i=e;return b|0}function $d(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;m=+m;n=n|0;var o=0;o=i;if((j|0)==0){j=~~+ca(+l)}if((k|0)==0){k=~~+ca(+m)}if(+(j+f|0)>l){j=~~+ca(+(l- +(f|0)))}if(+(k+g|0)>m){k=~~+ca(+(m- +(g|0)))}ag(b,d,e,+h[79],+h[80],0,(a[1200]&1)==0,0,0,f,g,j,k,0,0,0,0);if((n|0)==0){fb(2624)|0;i=o;return}else{Me(c[d+180>>2]|0,n)|0;i=o;return}}function ae(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,q=0,r=0,s=0,t=0,u=0.0;f=i;q=c[d>>2]|0;if((q|0)<=1){t=1;i=f;return t|0}j=c[p>>2]|0;g=1;k=1;a:while(1){n=e+(g<<2)|0;l=g+1|0;m=e+(l<<2)|0;b:while(1){r=c[n>>2]|0;if((Qc(r|0,2656)|0)==0){j=5;break a}s=c[b>>2]|0;if((s|0)==0){break}else{o=b}while(1){t=c[o+4>>2]|0;if((t|0)<4){if((Qc(s|0,r|0)|0)==0){break}}o=o+20|0;s=c[o>>2]|0;if((s|0)==0){break b}}if((o|0)==0){break}c:do{if((t|0)==3){if((l|0)>=(q|0)){r=1;o=0;break}t=o+8|0;r=o+12|0;hX(c[t>>2]|0,c[m>>2]|0,(c[r>>2]|0)+ -1|0)|0;a[(c[t>>2]|0)+((c[r>>2]|0)+ -1)|0]=0;r=2;o=1}else if((t|0)==1){if((l|0)>=(q|0)){r=1;o=0;break}q=c[m>>2]|0;t=a[q]|0;if(t<<24>>24==43|t<<24>>24==45){r=q+1|0}else{r=q}while(1){s=a[r]|0;if(((s<<24>>24)+ -48|0)>>>0>=10){break}r=r+1|0}if(s<<24>>24!=0){r=1;o=0;break}r=ec(q|0)|0;c[c[o+8>>2]>>2]=r;r=2;o=1}else if((t|0)==0){a[c[o+8>>2]|0]=1;r=1;o=1}else if((t|0)==2){if((l|0)>=(q|0)){r=1;o=0;break}q=c[m>>2]|0;t=a[q]|0;if(t<<24>>24==43|t<<24>>24==45){s=q+1|0;t=a[s]|0}else{s=q}if(((t<<24>>24)+ -48|0)>>>0<10){r=0;while(1){s=s+1|0;r=r+1|0;t=a[s]|0;if(((t<<24>>24)+ -48|0)>>>0<10){}else{break}}}else{r=0}t=t<<24>>24==46?s+1|0:s;s=a[t]|0;if(((s<<24>>24)+ -48|0)>>>0<10){while(1){t=t+1|0;r=r+1|0;s=a[t]|0;if(((s<<24>>24)+ -48|0)>>>0<10){}else{break}}}do{if((r|0)>0){if(!(s<<24>>24==69|s<<24>>24==101)){break}r=t+1|0;s=a[r]|0;if(s<<24>>24==43|s<<24>>24==45){r=t+2|0;s=a[r]|0}if(((s<<24>>24)+ -48|0)>>>0>=10){r=1;o=0;break c}while(1){r=r+1|0;s=a[r]|0;if(((s<<24>>24)+ -48|0)>>>0<10){}else{break}}}}while(0);if(s<<24>>24!=0){r=1;o=0;break}u=+Ie(q);h[c[o+8>>2]>>3]=u;r=2;o=1}else{Rb{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);RbRb(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=(da(c[b>>2]|0,e)|0)+d|0;i=i;return a[(c[b+24>>2]|0)+e|0]|0}function Qe(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=i;e=i;i=i+16|0;f=e;h=c[834]|0;do{if((h|0)!=0){if(!(wf(h)|0)){break}i=g;return}}while(0);c[e>>2]=d;Gd[c[826]&255](a,b,f);i=g;return}function Re(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=i;g=i;i=i+8|0;f=c[p>>2]|0;if((a|0)>-1){c[g>>2]=a;Gc(f|0,3312,g|0)|0}else{Rbrb(c[(c[n>>2]|0)+(o<<2)>>2]|0,17752,0,r+16|0)|0}else if((p|0)==78){r=FW(20)|0;x=FW(32)|0;ie(x,k);c[r>>2]=3352;c[r+4>>2]=x;c[r+8>>2]=0;x=r+12|0;c[x>>2]=0;w=FW(32)|0;fe(w,c[j>>2]|0);c[x>>2]=w}c[h>>2]=r}else{r=0}}while(0);Vc(l|0)}ob(m|0)}}while(0);Mc(b|0)|0;x=r;i=e;return x|0}function gf(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=a+152|0;Ub(f|0)|0;a=a+80|0;j=c[a>>2]|0;a:do{if((c[j+8>>2]|0)>0){b=b+28|0;g=0;b:while(1){h=c[(c[j>>2]|0)+(g<<2)>>2]|0;if((c[d>>2]|0)!=0){l=d;do{j=FW(32)|0;ie(j,h);j=Co(j,c[b>>2]|0)|0;ne(j,c[l>>2]|0,-1)|0;k=yc(c[j+28>>2]|0,17776)|0;if((k|0)!=0){break b}if((j|0)!=0){ke(j);HW(j)}l=l+4|0;}while((c[l>>2]|0)!=0);j=c[a>>2]|0}g=g+1|0;if((g|0)>=(c[j+8>>2]|0)){break a}}mc(k|0)|0;Mc(f|0)|0;l=j;i=e;return l|0}}while(0);Mc(f|0)|0;l=0;i=e;return l|0}function hf(b){b=b|0;var c=0,d=0;c=i;d=b+152|0;Ub(d|0)|0;b=(a[b+84|0]&1)!=0;Mc(d|0)|0;i=c;return b|0}function jf(b){b=b|0;var c=0,d=0;c=i;d=b+152|0;Ub(d|0)|0;b=(a[b+85|0]&1)!=0;Mc(d|0)|0;i=c;return b|0}function kf(b){b=b|0;var c=0,d=0;c=i;d=b+152|0;Ub(d|0)|0;b=(a[b+86|0]&1)!=0;Mc(d|0)|0;i=c;return b|0}function lf(b){b=b|0;var c=0,d=0;c=i;d=b+152|0;Ub(d|0)|0;b=(a[b+87|0]&1)!=0;Mc(d|0)|0;i=c;return b|0}function mf(a){a=a|0;var b=0,d=0;b=i;d=a+152|0;Ub(d|0)|0;a=c[a+88>>2]|0;Mc(d|0)|0;i=b;return a|0}function nf(a){a=a|0;var b=0,d=0;b=i;d=a+152|0;Ub(d|0)|0;a=c[a+92>>2]|0;Mc(d|0)|0;i=b;return a|0}function of(a){a=a|0;var b=0,d=0;b=i;d=a+152|0;Ub(d|0)|0;a=c[a+96>>2]|0;Mc(d|0)|0;i=b;return a|0}function pf(a){a=a|0;var b=0.0,c=0,d=0;c=i;d=a+152|0;Ub(d|0)|0;b=+h[a+104>>3];Mc(d|0)|0;i=c;return+b}function qf(a){a=a|0;var b=0.0,c=0,d=0;c=i;d=a+152|0;Ub(d|0)|0;b=+h[a+112>>3];Mc(d|0)|0;i=c;return+b}function rf(a){a=a|0;var b=0.0,c=0,d=0;c=i;d=a+152|0;Ub(d|0)|0;b=+h[a+120>>3];Mc(d|0)|0;i=c;return+b}function sf(b){b=b|0;var c=0,d=0;c=i;d=b+152|0;Ub(d|0)|0;b=(a[b+128|0]&1)!=0;Mc(d|0)|0;i=c;return b|0}function tf(b){b=b|0;var c=0,d=0;c=i;d=b+152|0;Ub(d|0)|0;b=(a[b+129|0]&1)!=0;Mc(d|0)|0;i=c;return b|0}function uf(b){b=b|0;var c=0,d=0;c=i;d=b+152|0;Ub(d|0)|0;b=(a[b+130|0]&1)!=0;Mc(d|0)|0;i=c;return b|0}function vf(b){b=b|0;var c=0,d=0;c=i;d=b+152|0;Ub(d|0)|0;b=(a[b+131|0]&1)!=0;Mc(d|0)|0;i=c;return b|0}function wf(b){b=b|0;i=i;return(a[b+132|0]&1)!=0|0}function xf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;e=i;d=a+152|0;Ub(d|0)|0;f=a+136|0;g=Au(c[f>>2]|0,b)|0;do{if((g|0)==0){g=oo(c[a+12>>2]|0,b)|0;if((g|0)==0){g=0;break}g=iu(g,b)|0;if((g|0)==0){g=0;break}Bu(c[f>>2]|0,g)}}while(0);Mc(d|0)|0;i=e;return g|0}function yf(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;d=i;j=i;i=i+8|0;g=i;i=i+8|0;k=g;m=i;i=i+8|0;l=m;e=a+152|0;Ub(e|0)|0;h=a+16|0;to(c[h>>2]|0,j);n=b+28|0;while(1){if(!(uo(c[h>>2]|0,j,k,l)|0)){b=0;f=8;break}if((nb(c[n>>2]|0,c[(c[g>>2]|0)+28>>2]|0)|0)==0){continue}vo(c[h>>2]|0,j);b=c[m>>2]|0;if((b|0)!=0){break}}if((f|0)==8){Mc(e|0)|0;i=d;return b|0}f=a+140|0;g=Au(c[f>>2]|0,b)|0;if((g|0)!=0){n=g;Mc(e|0)|0;i=d;return n|0}b=ju(b)|0;if((b|0)==0){n=0;Mc(e|0)|0;i=d;return n|0}Bu(c[f>>2]|0,b);n=b;Mc(e|0)|0;i=d;return n|0}function zf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;g=a+200|0;Ub(g|0)|0;a=Et(c[a+148>>2]|0,b,d,e)|0;Mc(g|0)|0;i=f;return a|0}function Af(b,c){b=b|0;c=c|0;var d=0,e=0;e=i;d=b+152|0;Ub(d|0)|0;b=b+84|0;do{if((Qc(c|0,17712)|0)==0){c=1}else{if((Qc(c|0,17720)|0)==0){c=0;break}else{c=0}Mc(d|0)|0;i=e;return c|0}}while(0);a[b]=c;b=1;Mc(d|0)|0;i=e;return b|0}function Bf(b,c){b=b|0;c=c|0;var d=0,e=0;e=i;d=b+152|0;Ub(d|0)|0;b=b+85|0;do{if((Qc(c|0,17712)|0)==0){c=1}else{if((Qc(c|0,17720)|0)==0){c=0;break}else{c=0}Mc(d|0)|0;i=e;return c|0}}while(0);a[b]=c;b=1;Mc(d|0)|0;i=e;return b|0}function Cf(b,c){b=b|0;c=c|0;var d=0,e=0;e=i;d=b+152|0;Ub(d|0)|0;b=b+86|0;do{if((Qc(c|0,17712)|0)==0){c=1}else{if((Qc(c|0,17720)|0)==0){c=0;break}else{c=0}Mc(d|0)|0;i=e;return c|0}}while(0);a[b]=c;b=1;Mc(d|0)|0;i=e;return b|0}function Df(b,c){b=b|0;c=c|0;var d=0,e=0;d=i;e=b+152|0;Ub(e|0)|0;a[b+132|0]=c&1;Mc(e|0)|0;i=d;return}function Ef(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=a+4|0;c[d>>2]=31;c[a+8>>2]=0;e=ye(31,8)|0;c[a>>2]=e;if((c[d>>2]|0)>0){f=0}else{i=b;return}while(1){c[e+(f<<3)>>2]=0;f=f+1|0;if((f|0)>=(c[d>>2]|0)){break}e=c[a>>2]|0}i=b;return}function Ff(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=i;d=a+4|0;e=c[d>>2]|0;g=c[a>>2]|0;if((e|0)>0){f=0}else{h=g;Fe(h);i=b;return}do{h=c[g+(f<<3)>>2]|0;if((h|0)!=0){Fe(h);g=c[a>>2]|0;e=c[d>>2]|0}f=f+1|0;}while((f|0)<(e|0));Fe(g);i=b;return}function Gf(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;g=i;f=b+8|0;h=b+4|0;k=c[h>>2]|0;if((c[f>>2]|0)>=((k|0)/2|0|0)){j=c[b>>2]|0;l=k<<1|1;c[h>>2]=l;l=ye(l,8)|0;c[b>>2]=l;a:do{if((c[h>>2]|0)>0){m=0;while(1){c[l+(m<<3)>>2]=0;m=m+1|0;if((m|0)>=(c[h>>2]|0)){break a}l=c[b>>2]|0}}}while(0);if((k|0)>0){m=0;do{l=j+(m<<3)|0;n=c[l>>2]|0;if((n|0)!=0){p=a[n]|0;if(p<<24>>24==0){o=0}else{o=0;while(1){o=(o*17|0)+(p&255)|0;n=n+1|0;p=a[n]|0;if(p<<24>>24==0){break}else{}}}n=c[h>>2]|0;q=(o>>>0)%(n>>>0)|0;o=c[b>>2]|0;p=o+(q<<3)|0;if((c[p>>2]|0)!=0){while(1){p=q+1|0;q=(p|0)==(n|0)?0:p;p=o+(q<<3)|0;if((c[p>>2]|0)==0){break}else{}}}n=l;o=c[n+4>>2]|0;q=p;c[q>>2]=c[n>>2];c[q+4>>2]=o}m=m+1|0;}while((m|0)<(k|0))}Fe(j)}k=a[d]|0;if(k<<24>>24==0){l=0}else{l=0;j=d;while(1){l=(l*17|0)+(k&255)|0;j=j+1|0;k=a[j]|0;if(k<<24>>24==0){break}else{}}}h=c[h>>2]|0;l=(l>>>0)%(h>>>0)|0;j=c[b>>2]|0;k=c[j+(l<<3)>>2]|0;b:do{if((k|0)!=0){while(1){if((Qc(k|0,d|0)|0)==0){break}k=l+1|0;l=(k|0)==(h|0)?0:k;k=c[j+(l<<3)>>2]|0;if((k|0)==0){break b}}p=l<<3;p=j+p|0;p=p+4|0;c[p>>2]=e;p=f;p=c[p>>2]|0;p=p+1|0;q=f;c[q>>2]=p;i=g;return}}while(0);q=Ge(d)|0;c[(c[b>>2]|0)+(l<<3)>>2]=q;q=c[b>>2]|0;p=l;p=p<<3;p=q+p|0;p=p+4|0;c[p>>2]=e;p=f;p=c[p>>2]|0;p=p+1|0;q=f;c[q>>2]=p;i=g;return}function Hf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;f=i;h=a[d]|0;if(h<<24>>24==0){j=0}else{j=0;g=d;while(1){j=(j*17|0)+(h&255)|0;g=g+1|0;h=a[g]|0;if(h<<24>>24==0){break}else{}}}g=c[b+4>>2]|0;h=(j>>>0)%(g>>>0)|0;b=c[b>>2]|0;j=c[b+(h<<3)>>2]|0;if((j|0)==0){j=0;i=f;return j|0}while(1){if((Qc(j|0,d|0)|0)==0){break}h=h+1|0;h=(h|0)==(g|0)?0:h;j=c[b+(h<<3)>>2]|0;if((j|0)==0){d=0;e=7;break}}if((e|0)==7){i=f;return d|0}j=c[b+(h<<3)+4>>2]|0;i=f;return j|0}function If(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;e=a+8|0;c[e>>2]=0;c[e+4>>2]=0;c[a>>2]=6;f=FW(20)|0;rt(f,b);c[e>>2]=f;i=d;return a|0}function Jf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;e=a+8|0;c[e>>2]=0;c[e+4>>2]=0;c[a>>2]=7;f=FW(24)|0;Qu(f,b);c[e>>2]=f;i=d;return a|0}function Kf(a,b){a=a|0;b=b|0;var d=0;d=a+8|0;c[d+4>>2]=0;c[a>>2]=7;c[d>>2]=b;b=b+20|0;c[b>>2]=(c[b>>2]|0)+1;i=i;return a|0}function Lf(a,b){a=a|0;b=b|0;var d=0;d=a+8|0;c[d+4>>2]=0;c[a>>2]=8;c[d>>2]=b;i=i;return a|0}function Mf(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;$W(b|0,a|0,16)|0;switch(c[a>>2]|0){case 3:{e=c[a+8>>2]|0;a=FW(32)|0;ie(a,e);c[b+8>>2]=a;i=d;return b|0};case 10:{c[b+8>>2]=Ge(c[a+8>>2]|0)|0;i=d;return b|0};case 4:{c[b+8>>2]=Ge(c[a+8>>2]|0)|0;i=d;return b|0};case 6:{e=(c[a+8>>2]|0)+16|0;c[e>>2]=(c[e>>2]|0)+1;i=d;return b|0};case 8:{e=(c[a+8>>2]|0)+4|0;c[e>>2]=(c[e>>2]|0)+1;i=d;return b|0};case 7:{e=(c[a+8>>2]|0)+20|0;c[e>>2]=(c[e>>2]|0)+1;i=d;return b|0};default:{i=d;return b|0}}return 0}function Nf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;if(!((c[a>>2]|0)!=9|(b|0)==0)){a=a+8|0;a=_m(b,c[a>>2]|0,c[a+4>>2]|0,d,e)|0;i=f;return a|0}$W(d|0,a|0,16)|0;switch(c[a>>2]|0){case 10:{c[d+8>>2]=Ge(c[a+8>>2]|0)|0;a=d;i=f;return a|0};case 3:{b=c[a+8>>2]|0;a=FW(32)|0;ie(a,b);c[d+8>>2]=a;a=d;i=f;return a|0};case 6:{a=(c[a+8>>2]|0)+16|0;c[a>>2]=(c[a>>2]|0)+1;a=d;i=f;return a|0};case 4:{c[d+8>>2]=Ge(c[a+8>>2]|0)|0;a=d;i=f;return a|0};case 7:{a=(c[a+8>>2]|0)+20|0;c[a>>2]=(c[a>>2]|0)+1;a=d;i=f;return a|0};case 8:{a=(c[a+8>>2]|0)+4|0;c[a>>2]=(c[a>>2]|0)+1;a=d;i=f;return a|0};default:{a=d;i=f;return a|0}}return 0}function Of(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;a:do{switch(c[a>>2]|0){case 6:{d=a+8|0;f=(c[d>>2]|0)+16|0;e=(c[f>>2]|0)+ -1|0;c[f>>2]=e;if((e|0)!=0){break a}d=c[d>>2]|0;if((d|0)==0){break a}st(d);HW(d);break};case 3:{d=c[a+8>>2]|0;if((d|0)==0){break a}ke(d);HW(d);break};case 7:{d=a+8|0;e=(c[d>>2]|0)+20|0;f=(c[e>>2]|0)+ -1|0;c[e>>2]=f;if((f|0)!=0){break a}d=c[d>>2]|0;if((d|0)==0){break a}Su(d);HW(d);break};case 10:{Fe(c[a+8>>2]|0);break};case 8:{d=a+8|0;e=(c[d>>2]|0)+4|0;f=(c[e>>2]|0)+ -1|0;c[e>>2]=f;if((f|0)!=0){break a}d=c[d>>2]|0;if((d|0)==0){break a}fd[c[(c[d>>2]|0)+4>>2]&511](d);break};case 4:{Fe(c[a+8>>2]|0);break};default:{}}}while(0);c[a>>2]=13;i=b;return}function Pf(a){a=a|0;i=i;return c[32256+(c[a>>2]<<2)>>2]|0}function Qf(b,d){b=b|0;d=d|0;var 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;e=i;z=i;i=i+8|0;y=z;x=i;i=i+8|0;w=x;n=i;i=i+8|0;o=n;q=i;i=i+8|0;r=q;g=i;i=i+8|0;j=g;p=i;i=i+8|0;s=p;l=i;i=i+8|0;m=l;u=i;i=i+8|0;t=u;A=i;i=i+8|0;v=i;i=i+8|0;B=i;i=i+16|0;f=B;c[B>>2]=13;B=f+8|0;c[B>>2]=0;c[B+4>>2]=0;switch(c[b>>2]|0){case 0:{_c(((a[b+8|0]&1)!=0?32320:32328)|0,d|0)|0;i=e;return};case 2:{B=A;h[k>>3]=+h[b+8>>3];c[B>>2]=c[k>>2];c[B+4>>2]=c[k+4>>2];Gc(d|0,32344,A|0)|0;i=e;return};case 3:{sc(40,d|0)|0;B=c[b+8>>2]|0;Rb(c[B+28>>2]|0,1,c[B+24>>2]|0,d|0)|0;sc(41,d|0)|0;i=e;return};case 1:{c[v>>2]=c[b+8>>2];Gc(d|0,32336,v|0)|0;i=e;return};case 6:{sc(91,d|0)|0;g=c[b>>2]|0;if((g|0)!=6){A=g;B=l;c[B>>2]=A;B=m+4|0;c[B>>2]=6;B=32448;Qe(0,B,m);tc()}n=b+8|0;g=0;while(1){if((g|0)>=(c[(c[n>>2]|0)+12>>2]|0)){b=16;break}if((g|0)>0){sc(32,d|0)|0;j=c[b>>2]|0;if((j|0)!=6){b=14;break}}vt(c[n>>2]|0,g,f)|0;Qf(f,d);Of(f);j=c[b>>2]|0;if((j|0)==6){g=g+1|0}else{b=10;break}}if((b|0)==10){B=l;c[B>>2]=j;B=m+4|0;c[B>>2]=6;B=32448;Qe(0,B,m);tc()}else if((b|0)==14){c[p>>2]=j;c[s+4>>2]=6;Qe(0,32448,s);tc()}else if((b|0)==16){sc(93,d|0)|0;i=e;return}break};case 5:{Rb(32360,4,1,d|0)|0;i=e;return};case 4:{c[u>>2]=c[b+8>>2];Gc(d|0,32352,t|0)|0;i=e;return};case 7:{Rb(32368,2,1,d|0)|0;l=c[b>>2]|0;if((l|0)!=7){A=l;B=g;c[B>>2]=A;B=j+4|0;c[B>>2]=7;B=32448;Qe(0,B,j);tc()}l=b+8|0;m=0;while(1){p=c[l>>2]|0;if((m|0)>=(c[p+16>>2]|0)){b=24;break}c[q>>2]=$u(p,m)|0;Gc(d|0,32376,r|0)|0;p=c[b>>2]|0;if((p|0)!=7){b=22;break}bv(c[l>>2]|0,m,f)|0;Qf(f,d);Of(f);p=c[b>>2]|0;if((p|0)==7){m=m+1|0}else{b=19;break}}if((b|0)==19){B=g;c[B>>2]=p;B=j+4|0;c[B>>2]=7;B=32448;Qe(0,B,j);tc()}else if((b|0)==22){c[n>>2]=p;c[o+4>>2]=7;Qe(0,32448,o);tc()}else if((b|0)==24){Rb(32384,3,1,d|0)|0;i=e;return}break};case 8:{Rb(32392,8,1,d|0)|0;i=e;return};case 11:{Rb(32416,7,1,d|0)|0;i=e;return};case 10:{_c(c[b+8>>2]|0,d|0)|0;i=e;return};case 12:{Rb(32424,5,1,d|0)|0;i=e;return};case 13:{Rb
7317 ar n=0,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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[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=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];c[he+4>>2]=c[k+4>>2];he=vb+24|0;h[k>>3]=ve;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=vb+32|0;h[k>>3]=Fb;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=vb+40|0;h[k>>3]=le;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];pe(je,55856,vb)|0;ne(c[Z>>2]|0,55928,-1)|0;break a};default:{break a}}lb=c[Z>>2]|0;je=Dc;h[k>>3]=Fb;c[je>>2]=c[k>>2];c[je+4>>2]=c[k+4>>2];pe(lb,64288,Cc)|0;lb=c[K>>2]|0;if((lb|0)!=6){c[Ac>>2]=lb;c[Bc+4>>2]=6;Qe(0,72520,Bc);tc()}vr(Rb,c[J>>2]|0,0);me=+h[zc>>3];oe=+h[Rb+8>>3];qe=+h[Rb+16>>3];lb=c[Rb+32>>2]|0;if((lb|0)==1){je=c[Z>>2]|0;he=Qb;h[k>>3]=me;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];c[Sb+8>>2]=71;pe(je,55816,Sb)|0}else if((lb|0)==4){Ae=+h[Rb)}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[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;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
7321 e{c[j>>2]=c[j>>2]|8;break}}}while(0);x=c[s>>2]|0;s=c[y>>2]|0;A=c[v>>2]|0;if((c[w>>2]&1|0)==0){v=c[A+20>>2]|0}else{v=65536}if((c[s+72>>2]|0)==1668246896){$W(r|0,n+36|0,16)|0}else{zK(s+108|0,q)}f=c[n+60>>2]|0;z=x+480|0;do{if((c[z>>2]|0)!=0){if((c[w>>2]&512|0)!=0){break}f=e[x+226>>1]|0}}while(0);c[s+56>>2]=f;t=s+32|0;c[t>>2]=c[r>>2];y=q+12|0;c[s+36>>2]=c[y>>2];f=s+40|0;c[f>>2]=(c[n+76>>2]|0)-(c[n+68>>2]|0);d:do{if((c[z>>2]|0)==0){if((c[w>>2]&2|0)!=0){break}F=e[A+12>>1]|0;C=c[x+752>>2]|0;D=c[x+740>>2]|0;A=c[x+748>>2]|0;if((A|0)==0){break}E=c[x+756>>2]|0;B=0;while(1){z=B+1|0;if((d[E+B|0]|0)==(F|0)){break}if(z>>>0<A>>>0){B=z}else{break d}}if((h+2|0)>>>0>=C>>>0){break}z=D+(h+10+(da(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|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b=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[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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>=(Rbrb>>2]&255](f,Kb,(((Mb|0)>-1?Lb+ -7|0:Mb)<<6|0)/(1<<b[ob>>1]|0)|0)}else{if((a[M]|0)!=0){Lb=464;break a}}}while(0);Jb=Jb+1|0;Kb=c[$>>2]|0}while(Jb>>>0<=Ib>>>0)}c[Z>>2]=Kb;Lb=723;break};case 111:case 110:case 109:case 108:{Jb=c[Ib>>2]|0;Kb=c[f+264+(Tb+ -108<<2)>>2]|0;if((Jb|0)>-1){Kb=Kb+Jb|0;Jb=(Jb|0)!=0&(Kb|0)<0?0:Kb}else{Jb=Jb-Kb|0;Jb=(Jb|0)>0?0:Jb}c[Ib>>2]=Jb;Lb=723;break};case 118:{Ib=c[Ib>>2]|0;Jb=Ib&192;if((Jb|0)==0){c[sb>>2]=8192}else if((Jb|0)==64){c[sb>>2]=16384}else if((Jb|0)==128){c[sb>>2]=32768}else if((Jb|0)==192){c[sb>>2]=16384}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]=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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}}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]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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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(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,Jb,Mb-Vb|0);b[C>>1]=b[Ka>>1]|0;b[Ea>>1]=Jb;if((a[La]&16)==0){Lb=723;break b}b[Ka>>1]=Jb;Lb=723;break b}}while(0);if((a[M]|0)==0){Lb=723;break b}else{Lb=674;break a}}if((Mb&255)>183){Ib=Tb+65353&65535;if(Ib>>>0>=(Rb+1-Qb|0)>>>0){Lb=696;break a}Mb=Pb+1|0;c[ea>>2]=Mb;p:do{if((Ib|0)!=0){Ob=0;Lb=1;while(1){c[ea>>2]=Mb+2;c[Jb+(Ob+Kb<<2)>>2]=(d[Nb+Mb|0]<<8&65535|d[Nb+(Mb+1)|0])<<16>>16;Ob=Lb&65535;if(Ob>>>0>=Ib>>>0){break p}Nb=c[ba>>2]|0;Mb=c[ea>>2]|0;Lb=Lb+1<<16>>16}}}while(0);a[aa]=0;Lb=723;break b}if((Mb&255)>175){Ib=Tb+65361&65535;if(Ib>>>0>=(Rb
7325 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:{Rbc[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:{Rbrb=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=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ub=i;i=i+8|0;tb=i;i=i+8|0;sb=i;i=i+8|0;rbrb);e=xd;continue a}else{Cd=zd+ -1|0;c[vd>>2]=Cd;c[d+(Cd<<4)>>2]=0;a[d+(c[vd>>2]<<4)+8|0]=e;e=xd;continue a}break};case 30:{e=c[vd>>2]|0;do{if((e|0)<99){if((c[d+(e<<4)>>2]|0)!=1){wd=655;break}zd=e+1|0;if((c[d+(zd<<4)>>2]|0)!=1){wd=653;break}if((e|0)==100){Qe(-1,203744,sb);zd=c[vd>>2]|0;Ad=0}else{c[vd>>2]=zd;Ad=c[d+(e<<4)+8>>2]|0}do{if((zd|0)==100){Qe(-1,203744,tb);wd=649}else{if((c[d+(zd<<4)>>2]|0)==1){e=zd+1|0;c[vd>>2]=e;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,ub);wd=649;break}}}while(0);if((wd|0)==649){wd=0;e=c[vd>>2]|0;zd=0}if((e|0)<1){Qe(-1,205192,vb);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=zd|Ad;e=xd;continue a}}else{wd=653}}while(0);do{if((wd|0)==653){wd=0;if((e|0)!=100){wd=655;break}Qe(-1,203744,fd);e=0}}while(0);do{if((wd|0)==655){wd=0;if((c[d+(e<<4)>>2]|0)==0){c[vd>>2]=e+1;e=(a[d+(e<<4)+8|0]&1)!=0;break}else{Qe(-1,204688,gd);e=0;break}}}while(0);zd=c[vd>>2]|0;do{if((zd|0)==100){Qe(-1,203744,dd);zd=0}else{if((c[d+(zd<<4)>>2]|0)==0){c[vd>>2]=zd+1;zd=(a[d+(zd<<4)+8|0]&1)!=0;break}else{Qe(-1,204688,ed);zd=0;break}}}while(0);Ad=c[vd>>2]|0;if((Ad|0)<1){Qe(-1,205192,cd);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|e)&1;e=xd;continue a}break};case 32:{zd=c[vd>>2]|0;do{if((zd|0)==100){Qe(-1,203744,wb);wd=674}else{if((c[d+(zd<<4)>>2]|0)==1){e=zd+1|0;c[vd>>2]=e;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,xb);wd=674;break}}}while(0);if((wd|0)==674){wd=0;e=c[vd>>2]|0;zd=0}do{if((e|0)==100){Qe(-1,203744,yb);e=0}else{if((c[d+(e<<4)>>2]|0)==1){c[vd>>2]=e+1;e=c[d+(e<<4)+8>>2]|0;break}else{Qe(-1,204688,zb);e=0;break}}}while(0);VH(d,e,zd);e=xd;continue a};case 31:{e=c[vd>>2]|0;if((e|0)==100){Qe(-1,203744,Ab);e=xd;continue a}else{c[vd>>2]=e+1;e=xd;continue a}break};case 33:{e=c[vd>>2]|0;do{if((e|0)<100){if((c[d+(e<<4)>>2]|0)==1){e=xd;continue a}else{wd=685}}else{if((e|0)!=100){wd=685;break}Qe(-1,203744,Bb);yd=0.0;wd=691}}while(0);do{if((wd|0)==685){wd=0;Ad=c[d+(e<<4)>>2]|0;if((Ad+ -1|0)>>>0>=2){Qe(-1,204688,hd);yd=0.0;wd=691;break}zd=d+(e<<4)+8|0;if((Ad|0)==1){yd=+(c[zd>>2]|0)}else{yd=+h[zd>>3]}e=e+1|0;c[vd>>2]=e;if(yd>=0.0){wd=691;break}yd=+ca(+(yd+-.5))}}while(0);if((wd|0)==691){wd=0;yd=+R(+(yd+.5));e=c[vd>>2]|0}if((e|0)<1){Qe(-1,205192,id);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;e=xd;continue a}break};case 34:{e=c[vd>>2]|0;do{if((e|0)==100){Qe(-1,203744,Cb);wd=704}else{Ad=c[d+(e<<4)>>2]|0;if((Ad+ -1|0)>>>0>=2){Qe(-1,204688,Db);wd=704;break}zd=d+(e<<4)+8|0;if((Ad|0)==1){yd=+(c[zd>>2]|0)}else{yd=+h[zd>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==704){wd=0;e=c[vd>>2]|0;yd=0.0}if((e|0)<1){Qe(-1,205192,Eb);e=xd;continue a}else{Bd=+W(+(yd*3.141592653589793/180.0));e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=Bd;e=xd;continue a}break};case 36:{e=c[vd>>2]|0;do{if((e|0)<99){if((c[d+(e<<4)>>2]|0)!=1){wd=737;break}zd=e+1|0;if((c[d+(zd<<4)>>2]|0)!=1){wd=735;break}if((e|0)==100){Qe(-1,203744,Fb);zd=c[vd>>2]|0;Ad=0}else{c[vd>>2]=zd;Ad=c[d+(e<<4)+8>>2]|0}do{if((zd|0)==100){Qe(-1,203744,Gb);wd=731}else{if((c[d+(zd<<4)>>2]|0)==1){e=zd+1|0;c[vd>>2]=e;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,Hb);wd=731;break}}}while(0);if((wd|0)==731){wd=0;e=c[vd>>2]|0;zd=0}if((e|0)<1){Qe(-1,205192,Ib);e=xd;continue a}else{e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=1;c[d+(c[vd>>2]<<4)+8>>2]=zd-Ad;e=xd;continue a}}else{wd=735}}while(0);do{if((wd|0)==735){if((e|0)!=100){wd=737;break}Qe(-1,203744,jd);wd=743}}while(0);do{if((wd|0)==737){wd=0;zd=c[d+(e<<4)>>2]|0;if((zd+ -1|0)>>>0>=2){Qe(-1,204688,kd);wd=743;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)==743){wd=0;e=c[vd>>2]|0;yd=0.0}do{if((e|0)==100){Qe(-1,203744,ld);wd=752}else{Ad=c[d+(e<<4)>>2]|0;if((Ad+ -1|0)>>>0>=2){Qe(-1,204688,md);wd=752;break}zd=d+(e<<4)+8|0;if((Ad|0)==1){Bd=+(c[zd>>2]|0)}else{Bd=+h[zd>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==752){wd=0;e=c[vd>>2]|0;Bd=0.0}if((e|0)<1){Qe(-1,205192,nd);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]=Bd-yd;e=xd;continue a}break};case 35:{e=c[vd>>2]|0;do{if((e|0)==100){Qe(-1,203744,Jb);wd=716}else{Ad=c[d+(e<<4)>>2]|0;if((Ad+ -1|0)>>>0>=2){Qe(-1,204688,Kb);wd=716;break}zd=d+(e<<4)+8|0;if((Ad|0)==1){yd=+(c[zd>>2]|0)}else{yd=+h[zd>>3]}e=e+1|0;c[vd>>2]=e}}while(0);if((wd|0)==716){wd=0;e=c[vd>>2]|0;yd=0.0}if((e|0)<1){Qe(-1,205192,Lb);e=xd;continue a}else{Bd=+T(+yd);e=e+ -1|0;c[vd>>2]=e;c[d+(e<<4)>>2]=2;h[d+(c[vd>>2]<<4)+8>>3]=Bd;e=xd;continue a}break};case 37:{e=c[vd>>2]|0;if((e|0)<1){Qe(-1,205192,Mb);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]=1;e=xd;continue a}break};case 38:{e=c[vd>>2]|0;do{if((e|0)<100){if((c[d+(e<<4)>>2]|0)==1){e=xd;continue a}else{wd=763}}else{if((e|0)!=100){wd=763;break}Qe(-1,203744,Nb);yd=0.0;wd=769}}while(0);do{if((wd|0)==763){wd=0;Ad=c[d+(e<<4)>>2]|0;if((Ad+ -1|0)>>>0>=2){Qe(-1,204688,od);yd=0.0;wd=769;break}zd=d+(e<<4)+8|0;if((Ad|0)==1){yd=+(c[zd>>2]|0)}else{yd=+h[zd>>3]}e=e+1|0;c[vd>>2]=e;if(yd>=0.0){wd=769;break}yd=+ca(+yd)}}while(0);if((wd|0)==769){wd=0;yd=+R(+yd);e=c[vd>>2]|0}if((e|0)<1){Qe(-1,205192,pd);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;e=xd;continue a}break};case 39:{e=c[vd>>2]|0;do{if((e|0)<99){if((c[d+(e<<4)>>2]|0)!=1){wd=791;break}zd=e+1|0;if((c[d+(zd<<4)>>2]|0)!=1){wd=789;break}if((e|0)==100){Qe(-1,203744,Ob);zd=c[vd>>2]|0;Ad=0}else{c[vd>>2]=zd;Ad=c[d+(e<<4)+8>>2]|0}do{if((zd|0)==100){Qe(-1,203744,Pb);wd=785}else{if((c[d+(zd<<4)>>2]|0)==1){e=zd+1|0;c[vd>>2]=e;zd=c[d+(zd<<4)+8>>2]|0;break}else{Qe(-1,204688,Qb);wd=785;break}}}while(0);if((wd|0)==785){wd=0;e=c[vd>>2]|0;zd=0}if((e|0)<1){Qe(-1,205192,Rb0,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 )|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=da+(ca*s+t*aa);F=f>j;k=F?f:j;j=F?j:f;F=g>aa;f=F?aa:g;g=F?g:aa;do{if((c[b>>2]|0)==8){F=c[b+8>>2]|0;F=jd[c[(c[F>>2]|0)+72>>2]&511](F)|0;Yu(F,160400,W,0)|0;if((c[Z>>2]|0)!=6){Of(W);m=c[a+120>>2]|0;do{if((m|0)==0){m=-1}else{m=c[m+4>>2]|0;if((c[m+16>>2]|0)!=8){m=-1;break}m=c[m+24>>2]|0;m=jd[c[(c[m>>2]|0)+48>>2]&511](m)|0}}while(0);Qe(m,160408,$);i=l;return}$=6;ba=0;while(1){if(($|0)!=6){Z=9;break}ut(c[_>>2]|0,ba,U)|0;$=c[R>>2]|0;if(($+ -1|0)>>>0>=2){Z=16;break}if(($|0)==1){aa=+(c[Q>>2]|0)}else{aa=+h[Q>>3]}h[y+(ba<<3)>>3]=aa;Of(U);ba=ba+1|0;if((ba|0)>=4){Z=20;break}$=c[Z>>2]|0}if((Z|0)==9){c[Y>>2]=$;c[X+4>>2]=6;Qe(0,162256,X);tc()}else if((Z|0)==16){Of(U);m=c[a+120>>2]|0;do{if((m|0)==0){m=-1}else{m=c[m+4>>2]|0;if((c[m+16>>2]|0)!=8){m=-1;break}m=c[m+24>>2]|0;m=jd[c[(c[m>>2]|0)+48>>2]&511](m)|0}}while(0);Qe(m,161768,V);i=l;return}else if((Z|0)==20){Of(W);Yu(F,160472,S,0)|0;do{if((c[M>>2]|0)==6){if((c[(c[P>>2]|0)+12>>2]|0)>5){W=6;V=0}else{Z=31;break}while(1){if((W|0)!=6){Z=23;break}ut(c[P>>2]|0,V,U)|0;W=c[R>>2]|0;if((W+ -1|0)>>>0>=2){Z=25;break}if((W|0)==1){aa=+(c[Q>>2]|0)}else{aa=+h[Q>>3]}h[w+(V<<3)>>3]=aa;Of(U);V=V+1|0;if((V|0)>=6){Z=32;break}W=c[M>>2]|0}if((Z|0)==23){c[N>>2]=W;c[J+4>>2]=6;Qe(0,162256,J);tc()}else if((Z|0)==25){c[L>>2]=W;c[K+4>>2]=1;c[K+8>>2]=2;Qe(0,162328,K);tc()}else if((Z|0)==32){C=+h[w+40>>3];E=+h[w+24>>3];D=+h[w+8>>3];G=+h[w+32>>3];I=+h[w+16>>3];H=+h[B>>3];break}}else{Z=31}}while(0);if((Z|0)==31){h[B>>3]=1.0;bX(w+8|0,0,16)|0;h[w+24>>3]=1.0;bX(w+32|0,0,16)|0;C=0.0;E=1.0;D=0.0;G=0.0;I=0.0;H=1.0}Of(S);ia=+h[O>>3];aa=+h[y+8>>3];N=w+16|0;J=w+32|0;ca=G+(ia*H+aa*I);M=w+8|0;K=w+24|0;L=w+40|0;aa=C+(ia*D+aa*E);ia=+h[y+16>>3];ja=+h[y+24>>3];G=G+(H*ia+I*ja);D=C+(D*ia+E*ja);O=ca>G;C=O?ca:G;E=O?G:ca;O=aa>D;G=O?aa:D;D=O?D:aa;if(C==E){C=1.0}else{C=(k-j)/(C-E)}if(G==D){G=1.0}else{G=(g-f)/(G-D)}h[B>>3]=C*+h[B>>3];h[N>>3]=C*+h[N>>3];h[J>>3]=j+C*(+h[J>>3]-E);h[M>>3]=G*+h[M>>3];h[K>>3]=G*+h[K>>3];h[L>>3]=f+G*(+h[L>>3]-D);Yu(F,160480,x,0)|0;if((c[z>>2]|0)==7){z=c[A>>2]|0}else{z=0}Ax(a,b,z,w,y,0,0,0,0,0,0,0,0);Of(x);break}}}while(0);if((d|0)==0){i=l;return}if(+wd[c[(c[d>>2]|0)+12>>2]&1](d)<=0.0){i=l;return}ba=c[(c[m>>2]|0)+120>>2]|0;if((jd[c[(c[ba>>2]|0)+12>>2]&511](ba)|0)!=2){OB(c[m>>2]|0,0);$=c[m>>2]|0;ba=FW(4)|0;gz(ba);MB($,ba);ba=c[a+8>>2]|0;hd[c[(c[ba>>2]|0)+136>>2]&127](ba,c[m>>2]|0)}do{if((e|0)==0){w=0;b=0;e=0}else{if((c[e+32>>2]|0)!=3){w=0;b=0;e=0;break}w=~~(+h[e+16>>3]*65536.0);b=~~(+h[e+8>>3]*65536.0);e=~~(+h[e>>3]*65536.0)}}while(0);ba=c[m>>2]|0;c[ba+252>>2]=e;c[ba+256>>2]=b;c[ba+260>>2]=w;$W(ba+264|0,v|0,116)|0;v=a+8|0;ba=c[v>>2]|0;hd[c[(c[ba>>2]|0)+144>>2]&127](ba,c[m>>2]|0);ha=+h[q>>3]+ +h[n>>3];ia=+h[o>>3]+ +h[p>>3];ja=u*ha+ia*r;r=ha*s+t*ia;r=+T(+((ja*ja+r*r)*.5));p=c[m>>2]|0;h[p+432>>3]=r*+wd[c[(c[d>>2]|0)+12>>2]&1](d);p=c[v>>2]|0;hd[c[(c[p>>2]|0)+116>>2]&127](p,c[m>>2]|0);p=jd[c[(c[d>>2]|0)+16>>2]&511](d)|0;q=jd[c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c[qa>>2]=0;c[qa+4>>2]=0;c[D>>2]=13;ma=M+8|0;c[ma>>2]=0;c[ma+4>>2]=0;c[d+168>>2]=1;h[d+152>>3]=.95;h[d+160>>3]=-.35;vb=d+176|0;c[vb>>2]=0;yb=d+180|0;c[yb>>2]=0;fb=d+184|0;bX(d+112|0,0,32)|0;h[fb>>3]=1.0;va=d+192|0;h[va>>3]=-1.0;Aa=d+200|0;h[Aa>>3]=.88;Za=d+208|0;Ya=d+212|0;la=d+216|0;f=d+220|0;hb=d+224|0;ib=d+228|0;bX(Za|0,0,24)|0;if((c[(Yu(k,164384,l,0)|0)>>2]|0)!=6){Qe(-1,164400,Vb);Of(l);i=m;return}Vb=c[N>>2]|0;if((Vb|0)!=6){c[Sb>>2]=Vb;c[Tb+4>>2]=6;Qe(0,166192,Tb);tc()}a:do{if((c[(ut(c[pa>>2]|0,0,n)|0)>>2]|0)==7){Of(l);Rb=c[Ub>>2]|0;if((Rb|0)!=7){c[Qb>>2]=Rb;c[_a+4>>2]=7;Qe(0,166192,_a);tc()}_a=c[Wb>>2]|0;if((Yu(_a,162424,l,0)|0)==0){Qe(-1,164488,Pb);o=243;break}Pb=162512;do{if((c[N>>2]|0)==4){Pb=c[pa>>2]|0;if((Qc(Pb|0,164536)|0)==0){c[d+40>>2]=7}else{if((Qc(Pb|0,164552)|0)!=0){break}c[d+40>>2]=10}Of(l);Zx(d,e,_a);Mb=c[Db>>2]|0;do{if((Mb|0)!=0){Nb=c[d+40>>2]|0;if((Nb|0)==1){c[Ob>>2]=gf(c[834]|0,Mb,163456)|0;break}else if((Nb|0)==5){c[Ob>>2]=gf(c[834]|0,Mb,163512)|0;break}else{break}}}while(0);if((c[(Yu(_a,164616,l,0)|0)>>2]|0)!=7){Qe(-1,164632,Lb);o=243;break a}Lb=c[N>>2]|0;if((Lb|0)!=7){c[Jb>>2]=Lb;c[Kb+4>>2]=7;Qe(0,166192,Kb);tc()}Yu(c[pa>>2]|0,164696,Q,0)|0;Jb=c[N>>2]|0;if((Jb|0)!=7){c[Ib>>2]=Jb;c[Hb+4>>2]=7;Qe(0,166192,Hb);tc()}Yu(c[pa>>2]|0,164712,W,0)|0;do{if((c[K>>2]|0)==3){if((c[J>>2]|0)!=3){break}Hb=c[oa>>2]|0;Gb=FW(32)|0;ie(Gb,Hb);Gb=me(Gb,45)|0;Hb=c[J>>2]|0;if((Hb|0)!=3){c[Eb>>2]=Hb;c[Fb+4>>2]=3;Qe(0,166192,Fb);tc()}Eb=oe(Gb,c[na>>2]|0)|0;Of(W);Of(Q);Of(l);Wb=_x(d,k,16,0)|0;c[yb>>2]=Wb;do{if((Wb|0)==0){if((te(Eb,164792)|0)==0){break}if((te(Eb,164808)|0)==0){break}Wb=xf(c[834]|0,Eb)|0;c[yb>>2]=Wb;if((Wb|0)==0){Fb=0}else{break}while(1){Gb=Fb+1|0;if((te(Eb,c[164824+(Fb<<2)>>2]|0)|0)==0){break}if(Gb>>>0<5){Fb=Gb}else{o=40;break}}if((o|0)==40){c[Ab>>2]=c[Eb+28>>2];Qe(-1,164968,Bb);break}c[zb>>2]=c[Eb+28>>2];Qe(-1,164928,Cb);if((Eb|0)==0){break a}ke(Eb);HW(Eb);break a}}while(0);zb=c[Db>>2]|0;do{if((zb|0)!=0){zb=yf(c[834]|0,zb)|0;if((zb|0)==0){break}Bb=c[yb>>2]|0;if((Bb|0)==0){c[yb>>2]=zb;break}if((c[Bb+8>>2]|0)!=0){Ab=0;do{do{if((wu(Bb,Ab,xb)|0)>0){Bb=wu(zb,c[c[wb>>2]>>2]|0,xb)|0;if((Bb|0)<=0){break}vu(c[yb>>2]|0,Ab,c[wb>>2]|0,Bb)}}while(0);Ab=Ab+1|0;Bb=c[yb>>2]|0;}while(Ab>>>0<(c[Bb+8>>2]|0)>>>0)}uu(zb)}}while(0);b:do{if((c[(Yu(k,164128,l,0)|0)>>2]|0)==4){ob=FW(32)|0;pb=c[N>>2]|0;if((pb|0)==4){fe(ob,c[pa>>2]|0);tb=zf(c[834]|0,Eb,ob,0)|0;c[vb>>2]=tb;qb=ob;break}else{c[ub>>2]=pb;c[rb+4>>2]=4;Qe(0,166192,rb);tc()}}else{do{if((c[N>>2]|0)==8){c[pb>>2]=13;rb=sb+8|0;c[rb>>2]=0;c[rb+4>>2]=0;qb=c[pa>>2]|0;Yu(jd[c[(c[qb>>2]|0)+72>>2]&511](qb)|0,165008,sb,0)|0;if((c[pb>>2]|0)==4){Wb=FW(32)|0;fe(Wb,c[rbRb|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+((da(o,m)|0)+p)|0]=a[(c[b>>2]|0)+v|0]|0;p=p+1|0;o=c[k>>2]|0;if((p|0)<(o|0)){}else{break}}}m=m+1|0;}while((m|0)<(g|0))}v=c[j>>2]|0;Jd[c[(c[v>>2]|0)+32>>2]&63](v,l,f,g);Fe(l);i=h;return}function rB(b,d,e){b=b|0;d=+d;e=+e;var f=0,g=0,j=0,k=0,l=0,m=0,n=0;g=i;f=b+12|0;k=c[f>>2]|0;j=b+16|0;l=c[j>>2]|0;if((k|0)<(l|0)){l=b;j=b+4|0;b=b+8|0}else{n=l+16|0;c[j>>2]=n;c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