Lines Matching refs:Ke
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){ke0;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 keKe(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{Rb(3328,7,1,f|0)|0}bc(f|0,b|0,d|0)|0;sc(10,f|0)|0;Fc(f|0)|0;i=e;return}function Se(a){a=a|0;var b=0;b=i;Te(a);HW(a);i=b;return}function Te(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=3352;d=c[a+4>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+8>>2]|0;if((d|0)==0){a=c[a+12>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}else if((d|0)==1){a=c[a+12>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}else{i=b;return}}function Ue(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0;e=i;c[b+224>>2]=d;ad(b+152|0,0)|0;ad(b+176|0,0)|0;ad(b+200|0,0)|0;wt();d=FW(12)|0;Ef(d);c[b>>2]=d;d=255;while(1){f=c[134928+(d<<2)>>2]|0;if((f|0)!=0){Gf(c[b>>2]|0,f,d)}if((d|0)>0){d=d+ -1|0}else{break}}c[b+4>>2]=Co(Bo()|0,3360)|0;j=FW(12)|0;Ef(j);f=b+8|0;c[f>>2]=j;j=FW(16)|0;jo(j,1);c[b+12>>2]=j;j=FW(16)|0;jo(j,1);c[b+16>>2]=j;j=FW(16)|0;jo(j,0);d=b+20|0;c[d>>2]=j;j=FW(16)|0;jo(j,1);c[b+24>>2]=j;j=FW(16)|0;jo(j,1);c[b+28>>2]=j;j=FW(16)|0;wo(j);c[b+32>>2]=j;j=FW(16)|0;jo(j,0);c[b+36>>2]=j;a[b+40|0]=0;a[b+41|0]=1;a[b+42|0]=1;c[b+44>>2]=2;j=FW(16)|0;jo(j,0);c[b+48>>2]=j;j=FW(16)|0;wo(j);c[b+52>>2]=j;j=FW(16)|0;wo(j);c[b+56>>2]=j;bX(b+60|0,1,5)|0;a[b+65|0]=0;a[b+66|0]=0;a[b+67|0]=0;j=FW(32)|0;fe(j,3368);c[b+68>>2]=j;c[b+72>>2]=0;a[b+76|0]=1;a[b+77|0]=0;j=FW(16)|0;wo(j);c[b+80>>2]=j;j=b+84|0;a[j]=16843009;a[j+1|0]=65793;a[j+2|0]=257;a[j+3|0]=1;c[b+88>>2]=0;c[b+92>>2]=-1;c[b+96>>2]=-1;h[b+104>>3]=1.0;h[b+112>>3]=0.0;h[b+120>>3]=1.0;a[b+128|0]=1;j=b+129|0;a[j]=0;a[j+1|0]=0;a[j+2|0]=0;a[j+3|0]=0;j=FW(8)|0;yu(j,4);c[b+136>>2]=j;j=FW(8)|0;yu(j,4);c[b+140>>2]=j;j=FW(16)|0;Xm(j);c[b+144>>2]=j;j=FW(16)|0;Lt(j);c[b+148>>2]=j;j=18144;g=0;do{Gf(c[f>>2]|0,j,c[3376+(g<<3)>>2]|0);g=g+1|0;j=c[3380+(g<<3)>>2]|0;}while((j|0)!=0);j=FW(56)|0;Tm(j,12048,0,12056,58);lo(c[d>>2]|0,c[j>>2]|0,j);j=FW(56)|0;Tm(j,12984,0,12992,129);lo(c[d>>2]|0,c[j>>2]|0,j);j=FW(56)|0;Tm(j,15056,0,15064,121);lo(c[d>>2]|0,c[j>>2]|0,j);j=FW(56)|0;Tm(j,17e3,0,17016,30);lo(c[d>>2]|0,c[j>>2]|0,j);j=FW(56)|0;Um(j,3368,1,72);lo(c[d>>2]|0,c[j>>2]|0,j);j=FW(56)|0;Um(j,17496,1,73);lo(c[d>>2]|0,c[j>>2]|0,j);Xe(b);i=e;return}function Ve(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;e=i;if(b>>>0<128){if((d|0)<1){d=0;i=e;return d|0}a[c]=b;d=1;i=e;return d|0}if(b>>>0<2048){if((d|0)<2){d=0;i=e;return d|0}a[c]=(b>>>6)+192;a[c+1|0]=b&63|128;d=2;i=e;return d|0}if(b>>>0<65536){if((d|0)<3){d=0;i=e;return d|0}a[c]=(b>>>12)+224;a[c+1|0]=b>>>6&63|128;a[c+2|0]=b&63|128;d=3;i=e;return d|0}else{if(b>>>0>1114111|(d|0)<4){d=0;i=e;return d|0}a[c]=(b>>>18)+240;a[c+1|0]=b>>>12&63|128;a[c+2|0]=b>>>6&63|128;a[c+3|0]=b&63|128;d=4;i=e;return d|0}return 0}function We(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;e=i;if(b>>>0<65536){if((d|0)<2){d=0;i=e;return d|0}a[c]=b>>>8;a[c+1|0]=b;d=2;i=e;return d|0}else{if(b>>>0>1114111|(d|0)<4){d=0;i=e;return d|0}d=((b+ -65536|0)>>>10)+55296|0;a[c]=d>>>8;a[c+1|0]=d;a[c+2|0]=b>>>8&3|220;a[c+3|0]=b;d=4;i=e;return d|0}return 0}function Xe(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;d=i;g=i;i=i+8|0;f=g;l=i;i=i+8|0;k=l;m=i;i=i+8|0;n=m;o=i;i=i+8|0;e=c[b+224>>2]|0;j=(e|0)==0?17504:e;h=(ZW(j|0)|0)+15|0;e=GW(h)|0;c[o>>2]=j;hc(e|0,h|0,17536,o|0)|0;o=FW(12)|0;Go(o,e,1);p=Io(o)|0;if((p|0)!=0){do{if((a[p+8|0]&1)==0){Ye(b,c[p+4>>2]|0)}Fo(p);HW(p);p=Io(o)|0;}while((p|0)!=0)}if((o|0)!=0){Ho(o);HW(o)}c[m>>2]=j;hc(e|0,h|0,17560,n|0)|0;m=FW(12)|0;Go(m,e,0);n=Io(m)|0;if((n|0)!=0){do{Ze(b,c[n>>2]|0,c[n+4>>2]|0);Fo(n);HW(n);n=Io(m)|0;}while((n|0)!=0)}if((m|0)!=0){Ho(m);HW(m)}c[l>>2]=j;hc(e|0,h|0,17576,k|0)|0;k=FW(12)|0;Go(k,e,0);l=Io(k)|0;if((l|0)!=0){do{_e(b,c[l>>2]|0,c[l+4>>2]|0);Fo(l);HW(l);l=Io(k)|0;}while((l|0)!=0)}if((k|0)!=0){Ho(k);HW(k)}c[g>>2]=j;hc(e|0,h|0,17592,f|0)|0;f=FW(12)|0;Go(f,e,0);h=Io(f)|0;if((h|0)!=0){g=b+32|0;do{n=h+4|0;$e(b,c[h>>2]|0,c[n>>2]|0);o=c[g>>2]|0;n=c[n>>2]|0;p=FW(32)|0;ie(p,n);yo(o,p);Fo(h);HW(h);h=Io(f)|0;}while((h|0)!=0)}if((f|0)!=0){Ho(f);HW(f)}if((e|0)==0){i=d;return}IW(e);i=d;return}function Ye(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;l=i;h=i;i=i+8|0;d=h;e=i;i=i+8|0;j=e;o=i;i=i+8|0;f=i;i=i+256|0;g=i;i=i+8|0;k=g;m=i;i=i+8|0;b=b+28|0;n=yc(c[b>>2]|0,17600)|0;if((n|0)==0){c[o>>2]=c[b>>2];Qe(-1,17608,o);i=l;return}if((Do(f,256,n)|0)!=0){q=a+8|0;p=1;while(1){o=Mb(f|0,17648,m|0)|0;a=Mb(0,17648,m|0)|0;if((o|0)==0|(a|0)==0){c[h>>2]=c[b>>2];c[d+4>>2]=p;Qe(-1,17664,d)}else{c[e>>2]=k;Hc(o|0,17656,j|0)|0;Gf(c[q>>2]|0,a,c[g>>2]|0)}if((Do(f,256,n)|0)==0){break}else{p=p+1|0}}}mc(n|0)|0;i=l;return}function Ze(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=i;a=a+12|0;f=qo(c[a>>2]|0,b)|0;if((f|0)!=0){ke(f);HW(f)}g=c[a>>2]|0;a=FW(32)|0;ie(a,b);f=FW(32)|0;ie(f,d);lo(g,a,f);i=e;return}function _e(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=i;a=a+24|0;f=qo(c[a>>2]|0,b)|0;if((f|0)!=0){ke(f);HW(f)}g=c[a>>2]|0;a=FW(32)|0;ie(a,b);f=FW(32)|0;ie(f,d);lo(g,a,f);i=e;return}function $e(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=i;a=a+28|0;f=oo(c[a>>2]|0,b)|0;if((f|0)==0){f=FW(16)|0;wo(f);g=c[a>>2]|0;a=FW(32)|0;ie(a,b);lo(g,a,f)}g=FW(32)|0;ie(g,d);yo(f,g);i=e;return}function af(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,C=0,D=0,E=0,F=0,G=0,H=0;b=i;E=i;i=i+8|0;F=i;i=i+8|0;D=i;i=i+8|0;C=D;A=i;i=i+8|0;z=i;i=i+8|0;y=i;i=i+8|0;B=y;x=i;i=i+8|0;w=i;i=i+8|0;u=i;i=i+8|0;v=u;r=i;i=i+8|0;s=i;i=i+8|0;q=i;i=i+8|0;t=q;n=i;i=i+8|0;m=i;i=i+8|0;o=i;i=i+8|0;p=o;h=i;i=i+8|0;j=i;i=i+8|0;l=i;i=i+8|0;k=l;g=i;i=i+8|0;f=i;i=i+8|0;d=i;i=i+8|0;e=d;xt();G=c[a>>2]|0;if((G|0)!=0){Ff(G);HW(G)}G=c[a+4>>2]|0;if((G|0)!=0){ke(G);HW(G)}G=c[a+8>>2]|0;if((G|0)!=0){Ff(G);HW(G)}G=c[a+12>>2]|0;to(G,E);if(uo(G,E,F,C)|0){do{H=c[D>>2]|0;if((H|0)!=0){ke(H);HW(H)}}while(uo(G,E,F,C)|0)}if((G|0)!=0){ko(G);HW(G)}C=c[a+16>>2]|0;to(C,A);if(uo(C,A,z,B)|0){do{D=c[y>>2]|0;if((D|0)!=0){ke(D);HW(D)}}while(uo(C,A,z,B)|0)}if((C|0)!=0){ko(C);HW(C)}y=c[a+20>>2]|0;to(y,x);if(uo(y,x,w,v)|0){do{z=c[u>>2]|0;if((z|0)!=0){Vm(z);HW(z)}}while(uo(y,x,w,v)|0)}if((y|0)!=0){ko(y);HW(y)}v=c[a+24>>2]|0;to(v,r);if(uo(v,r,s,t)|0){do{u=c[q>>2]|0;if((u|0)!=0){ke(u);HW(u)}}while(uo(v,r,s,t)|0)}if((v|0)!=0){ko(v);HW(v)}q=c[a+32>>2]|0;r=q+8|0;t=c[r>>2]|0;if((t|0)>0){s=0;do{u=c[(c[q>>2]|0)+(s<<2)>>2]|0;if((u|0)!=0){ke(u);HW(u);t=c[r>>2]|0}s=s+1|0;}while((s|0)<(t|0))}if((q|0)!=0){xo(q);HW(q)}q=c[a+36>>2]|0;to(q,n);if(uo(q,n,m,p)|0){do{r=c[o>>2]|0;if((r|0)!=0){fd[c[(c[r>>2]|0)+4>>2]&511](r)}}while(uo(q,n,m,p)|0)}if((q|0)!=0){ko(q);HW(q)}m=c[a+48>>2]|0;to(m,h);if(uo(m,h,j,k)|0){do{n=c[l>>2]|0;if((n|0)!=0){o=c[n>>2]|0;if((o|0)!=0){ke(o);HW(o)}o=c[n+8>>2]|0;if((o|0)!=0){ke(o);HW(o)}o=c[n+12>>2]|0;if((o|0)!=0){ke(o);HW(o)}HW(n)}}while(uo(m,h,j,k)|0)}if((m|0)!=0){ko(m);HW(m)}h=c[a+52>>2]|0;j=h+8|0;m=c[j>>2]|0;if((m|0)>0){k=0;do{l=c[(c[h>>2]|0)+(k<<2)>>2]|0;if((l|0)!=0){m=c[l>>2]|0;if((m|0)!=0){ke(m);HW(m)}m=c[l+8>>2]|0;if((m|0)!=0){ke(m);HW(m)}m=c[l+12>>2]|0;if((m|0)!=0){ke(m);HW(m)}HW(l);m=c[j>>2]|0}k=k+1|0;}while((k|0)<(m|0))}if((h|0)!=0){xo(h);HW(h)}h=c[a+56>>2]|0;j=h+8|0;m=c[j>>2]|0;if((m|0)>0){k=0;do{l=c[(c[h>>2]|0)+(k<<2)>>2]|0;if((l|0)!=0){m=c[l>>2]|0;if((m|0)!=0){ke(m);HW(m)}m=c[l+8>>2]|0;if((m|0)!=0){ke(m);HW(m)}m=c[l+12>>2]|0;if((m|0)!=0){ke(m);HW(m)}HW(l);m=c[j>>2]|0}k=k+1|0;}while((k|0)<(m|0))}if((h|0)!=0){xo(h);HW(h)}h=c[a+68>>2]|0;if((h|0)!=0){ke(h);HW(h)}h=c[a+80>>2]|0;j=h+8|0;k=c[j>>2]|0;if((k|0)>0){l=0;do{m=c[(c[h>>2]|0)+(l<<2)>>2]|0;if((m|0)!=0){ke(m);HW(m);k=c[j>>2]|0}l=l+1|0;}while((l|0)<(k|0))}if((h|0)!=0){xo(h);HW(h)}k=a+28|0;to(c[k>>2]|0,g);if(uo(c[k>>2]|0,g,f,e)|0){do{h=c[d>>2]|0;j=h+8|0;l=c[j>>2]|0;if((l|0)>0){m=0;do{n=c[(c[h>>2]|0)+(m<<2)>>2]|0;if((n|0)!=0){ke(n);HW(n);l=c[j>>2]|0}m=m+1|0;}while((m|0)<(l|0))}if((h|0)!=0){xo(h);HW(h)}}while(uo(c[k>>2]|0,g,f,e)|0)}d=c[k>>2]|0;if((d|0)!=0){ko(d);HW(d)}d=c[a+136>>2]|0;if((d|0)!=0){zu(d);HW(d)}d=c[a+140>>2]|0;if((d|0)!=0){zu(d);HW(d)}d=c[a+144>>2]|0;if((d|0)!=0){Ym(d);HW(d)}d=c[a+148>>2]|0;if((d|0)==0){H=a+152|0;kc(H|0)|0;H=a+176|0;kc(H|0)|0;H=a+200|0;kc(H|0)|0;i=b;return}Mt(d);HW(d);H=a+152|0;kc(H|0)|0;H=a+176|0;kc(H|0)|0;H=a+200|0;kc(H|0)|0;i=b;return}function bf(a,b){a=a|0;b=b|0;var d=0;d=i;a=Hf(c[a>>2]|0,b)|0;i=d;return a|0}function cf(a,b){a=a|0;b=b|0;var d=0;d=i;a=Hf(c[a+8>>2]|0,b)|0;i=d;return a|0}function df(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;f=i;e=a+152|0;Ub(e|0)|0;b=oo(c[a+28>>2]|0,b)|0;if((b|0)==0){Mc(e|0)|0;j=0;i=f;return j|0}a=b+8|0;a:do{if((c[a>>2]|0)>0){h=d+28|0;j=0;while(1){g=c[(c[b>>2]|0)+(j<<2)>>2]|0;d=FW(32)|0;ie(d,g);d=Co(d,c[h>>2]|0)|0;g=yc(c[d+28>>2]|0,17600)|0;if((d|0)!=0){ke(d);HW(d)}j=j+1|0;if((g|0)!=0){break}if((j|0)>=(c[a>>2]|0)){break a}}Mc(e|0)|0;j=g;i=f;return j|0}}while(0);Mc(e|0)|0;j=0;i=f;return j|0}function ef(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;e=a+152|0;Ub(e|0)|0;a=a+32|0;g=c[a>>2]|0;a:do{if((c[g+8>>2]|0)>0){b=b+28|0;f=0;while(1){h=c[(c[g>>2]|0)+(f<<2)>>2]|0;g=FW(32)|0;ie(g,h);g=Co(g,c[b>>2]|0)|0;h=yc(c[g+28>>2]|0,17600)|0;if((g|0)!=0){keke(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}kekE(b)|0;k=c[j>>2]|0;if((b|0)!=(jd[c[(c[k>>2]|0)+104>>2]&511](k)|0)){break}g=c[j>>2]|0;Gd[c[(c[g>>2]|0)+52>>2]&255](g,0,0);g=0;while(1){f=c[j>>2]|0;f=jd[c[(c[f>>2]|0)+20>>2]&511](f)|0;if((f|0)==-1){f=10;break}a[h+g|0]=f;g=g+1|0;if((g|0)>=1024){f=9;break}}do{if((f|0)==9){a[h+g|0]=0;c[e>>2]=0}else if((f|0)==10){a[h+g|0]=0;c[e>>2]=0;if((g|0)>0){break}else{e=0}i=d;return e|0}}while(0);j=0;while(1){b=j+1|0;if((vc(32856,h+j|0,6)|0)==0){break}if((b|0)<(g|0)){j=b}else{e=0;f=29;break}}if((f|0)==29){i=d;return e|0}k=j+6|0;c[e>>2]=k;i=d;return k|0}}while(0);h=c[j>>2]|0;Gd[c[(c[h>>2]|0)+52>>2]&255](h,1024,-1);h=0;do{b=c[j>>2]|0;b=jd[c[(c[b>>2]|0)+20>>2]&511](b)|0;if((b|0)==-1){break}a[g+h|0]=b;h=h+1|0;}while((h|0)<1024);a[g+h|0]=0;h=h+ -9|0;a:do{if((h|0)>-1){j=h;while(1){h=j+ -1|0;if((vc(g+j|0,32864,9)|0)==0){break}if((j|0)>0){j=h}else{f=22;break a}}if((j|0)<0){h=j;f=22}else{h=j}}else{f=22}}while(0);if((f|0)==22){c[e>>2]=0}j=g+(h+9)|0;while(1){if((xc(a[j]|0)|0)==0){break}else{j=j+1|0}}g=a[j]|0;b:do{if(g<<24>>24==0){h=0}else{f=0;h=0;while(1){g=(g<<24>>24)+ -48|0;if(!(g>>>0<10&(f|0)<10)){break b}h=g+(h*10|0)|0;j=j+1|0;g=a[j]|0;if(g<<24>>24==0){break}else{f=f+1|0}}}}while(0);c[e>>2]=h;k=h;i=d;return k|0}function Xf(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=a+8|0;e=c[d>>2]|0;if((jd[c[(c[e>>2]|0)+104>>2]&511](e)|0)==0){e=0;i=b;return e|0}a=a+24|0;e=c[a>>2]|0;if((e|0)==0){e=FW(16)|0;iE(e,c[d>>2]|0);c[a>>2]=e}f=kE(e)|0;e=c[d>>2]|0;if((f|0)!=(jd[c[(c[e>>2]|0)+104>>2]&511](e)|0)){f=0;i=b;return f|0}e=c[a>>2]|0;if((e|0)==0){e=FW(16)|0;iE(e,c[d>>2]|0);c[a>>2]=e}f=sE(e)|0;i=b;return f|0}function Yf(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;e=i;j=i;i=i+8|0;h=j;m=i;i=i+16|0;g=m;c[m>>2]=13;f=g+8|0;c[f>>2]=0;c[f+4>>2]=0;f=a+28|0;l=c[f>>2]|0;k=c[l+40>>2]|0;if((k|0)!=7){c[j>>2]=k;c[h+4>>2]=7;Qe(0,33064,h);tc()}Yu(c[l+48>>2]|0,32848,g,0)|0;if((c[m>>2]|0)!=7){m=1;Of(g);i=e;return m|0}h=pg(a,g)|0;a=a+32|0;c[a>>2]=h;if((h|0)==0){m=0;Of(g);i=e;return m|0}if(!(qg(h,b,d)|0)){m=0;Of(g);i=e;return m|0}b=c[f>>2]|0;f=c[a>>2]|0;f=jd[c[(c[f>>2]|0)+24>>2]&511](f)|0;d=c[a>>2]|0;d=jd[c[(c[d>>2]|0)+28>>2]&511](d)|0;h=c[a>>2]|0;h=jd[c[(c[h>>2]|0)+32>>2]&511](h)|0;j=c[a>>2]|0;j=jd[c[(c[j>>2]|0)+36>>2]&511](j)|0;k=c[a>>2]|0;k=jd[c[(c[k>>2]|0)+40>>2]&511](k)|0;l=c[a>>2]|0;l=jd[c[(c[l>>2]|0)+44>>2]&511](l)|0;m=c[a>>2]|0;jn(b,f,d,h,j,k,l,jd[c[(c[m>>2]|0)+48>>2]&511](m)|0);m=1;Of(g);i=e;return m|0}function Zf(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;d=a+48|0;if((c[d>>2]|0)!=0){e=(_f(a)|0)>0;f=c[d>>2]|0;if(e){e=0;do{f=c[f+(e<<2)>>2]|0;if((f|0)!=0){lg(f);HW(f)}e=e+1|0;g=(e|0)<(_f(a)|0);f=c[d>>2]|0}while(g)}Fe(f)}d=c[a+32>>2]|0;if((d|0)!=0){fd[c[(c[d>>2]|0)+4>>2]&511](d)}d=c[a+44>>2]|0;if((d|0)!=0){LF(d);HW(d)}d=c[a+36>>2]|0;if((d|0)!=0){$t(d);HW(d)}d=c[a+28>>2]|0;if((d|0)!=0){en(d);HW(d)}d=c[a+40>>2]|0;if((d|0)!=0){IC(d);HW(d)}d=c[a+24>>2]|0;if((d|0)!=0){jE(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+4>>2]|0;if((d|0)!=0){mc(d|0)|0}a=c[a>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function _f(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;d=a+8|0;f=c[d>>2]|0;do{if((jd[c[(c[f>>2]|0)+104>>2]&511](f)|0)!=0){e=a+24|0;f=c[e>>2]|0;if((f|0)==0){f=FW(16)|0;iE(f,c[d>>2]|0);c[e>>2]=f}g=kE(f)|0;f=c[d>>2]|0;if((g|0)!=(jd[c[(c[f>>2]|0)+104>>2]&511](f)|0)){break}f=c[e>>2]|0;if((f|0)==0){f=FW(16)|0;iE(f,c[d>>2]|0);c[e>>2]=f}d=rE(f)|0;if((d|0)==0){break}i=b;return d|0}}while(0);g=cu(c[a+36>>2]|0)|0;i=b;return g|0}function $f(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;f=i;e=i;i=i+8|0;d=e;if((b|0)<1){j=0;i=f;return j|0}if((_f(a)|0)<(b|0)){j=0;i=f;return j|0}g=a+8|0;j=c[g>>2]|0;do{if((jd[c[(c[j>>2]|0)+104>>2]&511](j)|0)!=0){h=a+24|0;j=c[h>>2]|0;if((j|0)==0){j=FW(16)|0;iE(j,c[g>>2]|0);c[h>>2]=j}h=kE(j)|0;j=c[g>>2]|0;if((h|0)!=(jd[c[(c[j>>2]|0)+104>>2]&511](j)|0)){break}g=a+48|0;j=c[g>>2]|0;if((j|0)==0){c[g>>2]=ye(_f(a)|0,4)|0;if((_f(a)|0)>0){h=0;do{c[(c[g>>2]|0)+(h<<2)>>2]=0;h=h+1|0;}while((h|0)<(_f(a)|0))}j=c[g>>2]|0}h=b+ -1|0;j=c[j+(h<<2)>>2]|0;if((j|0)!=0){i=f;return j|0}j=dg(a,b)|0;c[(c[g>>2]|0)+(h<<2)>>2]=j;g=c[(c[g>>2]|0)+(h<<2)>>2]|0;if((g|0)==0){c[e>>2]=b;Qe(-1,33016,d);break}else{j=g;i=f;return j|0}}}while(0);j=au(c[a+36>>2]|0,b)|0;i=f;return j|0}function ag(a,b,d,e,f,g,h,j,k,l,m,n,o,p,q,r,s){a=a|0;b=b|0;d=d|0;e=+e;f=+f;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;q=q|0;r=r|0;s=s|0;var t=0;t=i;if(($f(a,d)|0)==0){i=t;return}d=$f(a,d)|0;mg(d,b,e,f,g,h,j,l,m,n,o,k,c[a+36>>2]|0,p,q,r,s);i=t;return}function bg(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;d=i;b=a+40|0;if((c[b>>2]|0)!=0){h=b;h=c[h>>2]|0;i=d;return h|0}g=a+8|0;h=c[g>>2]|0;if((jd[c[(c[h>>2]|0)+104>>2]&511](h)|0)==0){h=b;h=c[h>>2]|0;i=d;return h|0}e=a+24|0;f=c[e>>2]|0;if((f|0)==0){f=FW(16)|0;iE(f,c[g>>2]|0);c[e>>2]=f}f=kE5;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)>=(da(m,c[q>>2]|0)|0)){break}s=c[d>>2]|0}i=r;return}else{Qe(-1,34592,s);c[d+72>>2]=0}}while(0);c[d+76>>2]=0;i=r;return}function Mg(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;k=i;c[b+104>>2]=0;c[b>>2]=34864;l=b+112|0;c[l>>2]=d;d=b+116|0;c[d>>2]=e;e=b+120|0;a[e]=h&1;a[b+121|0]=j&1;do{if(j){if(!(kf(c[834]|0)|0)){h=0;break}h=(c[l>>2]|0)!=0|0}else{h=0}}while(0);j=b+122|0;a[j]=h;a[b+123|0]=0;Ng(b,72.0,72.0);a[b+124|0]=f&1;h=(g|0)==0;f=b+125|0;if(h){a[f]=0;a[b+126|0]=0;a[b+127|0]=0}else{a[f]=a[g]|0;a[b+126|0]=a[g+1|0]|0;a[b+127|0]=a[g+2|0]|0}a[b+109|0]=h&1;c[b+176>>2]=0;g=FW(28)|0;h=c[l>>2]|0;Ke(g,1,1,c[d>>2]|0,h,(h|0)!=0,(a[e]&1)!=0);c[b+180>>2]=g;h=FW(192)|0;Jo(h,g,(a[j]&1)!=0,b+136|0);c[b+184>>2]=h;ep(h,f,0);c[b+188>>2]=0;c[b+240>>2]=0;a[b+108|0]=0;c[b+244>>2]=0;bX(b+224|0,0,13)|0;i=k;return}function Ng(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0,g=0,j=0;e=i;g=a+136|0;f=a+140|0;c[f>>2]=nf(c[834]|0)|0;j=a+144|0;c[j>>2]=of(c[834]|0)|0;h[a+152>>3]=+pf(c[834]|0);h[a+160>>3]=+qf(c[834]|0);h[a+168>>3]=+rf(c[834]|0);a=mf(c[834]|0)|0;if((a|0)==2){c[g>>2]=1;if((c[f>>2]|0)>=0){i=e;return}c[f>>2]=10;i=e;return}else if((a|0)==1){c[g>>2]=0;if((c[f>>2]|0)>=0){i=e;return}c[f>>2]=4;i=e;return}else if((a|0)==3){c[g>>2]=2;if((c[f>>2]|0)<0){c[f>>2]=100}if((c[j>>2]|0)>=0){i=e;return}c[j>>2]=2;i=e;return}else{if(!(b>299.9&d>299.9)){c[g>>2]=0;if((c[f>>2]|0)>=0){i=e;return}c[f>>2]=4;i=e;return}c[g>>2]=2;if((c[f>>2]|0)<0){c[f>>2]=100}if((c[j>>2]|0)>=0){i=e;return}c[j>>2]=2;i=e;return}}function Og(a){a=a|0;var b=0;b=i;Pg(a);HW(a);i=b;return}function Pg(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;c[a>>2]=34864;d=a+224|0;f=c[d>>2]|0;if((f|0)>0){e=0;do{g=c[a+192+(e<<2)>>2]|0;if((g|0)!=0){Fe(c[g+72>>2]|0);Fe(c[g+76>>2]|0);HW(g);f=c[d>>2]|0}e=e+1|0;}while((e|0)<(f|0))}d=c[a+188>>2]|0;if((d|0)!=0){Np(d);HW(d)}d=c[a+184>>2]|0;if((d|0)!=0){Lo(d);HW(d)}a=c[a+180>>2]|0;if((a|0)==0){i=b;return}Le(a);HW(a);i=b;return}function Qg(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;c[b+176>>2]=d;d=b+188|0;f=c[d>>2]|0;if((f|0)!=0){Np(f);HW(f)}f=FW(68)|0;g=hf(c[834]|0)|0;h=(a[b+123|0]&1)!=0;do{if((a[b+121|0]&1)==0){j=0}else{if(!(jf(c[834]|0)|0)){j=0;break}j=(c[b+112>>2]|0)!=0}}while(0);Mp(f,g,h,j);c[d>>2]=f;d=b+224|0;g=c[d>>2]|0;if((g|0)>0){f=0}else{j=d;c[j>>2]=0;i=e;return}do{h=c[b+192+(f<<2)>>2]|0;if((h|0)!=0){Fe(c[h+72>>2]|0);Fe(c[h+76>>2]|0);HW(h);g=c[d>>2]|0}f=f+1|0;}while((f|0)<(g|0));j=d;c[j>>2]=0;i=e;return}function Rg(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;d=i;j=i;i=i+48|0;g=j;k=i;i=i+8|0;l=k;m=(e|0)!=0;if(m){Ng(b,+h[e>>3],+h[e+8>>3]);n=~~(+h[e+96>>3]+.5);o=~~(+h[e+104>>3]+.5);o=(o|0)<1?1:o;p=(n|0)<1?1:n}else{o=1;p=1}n=b+184|0;q=c[n>>2]|0;if((q|0)!=0){Lo(q);HW(q)}q=b+180|0;r=c[q>>2]|0;do{if((r|0)==0){f=9}else{if((p|0)==(c[r>>2]|0)){if((o|0)==(c[r+4>>2]|0)){break}}Le(r);HW(r);f=9}}while(0);if((f|0)==9){r=FW(28)|0;s=c[b+112>>2]|0;KeKe(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{KeKe(d,c[l>>2]|0,c[l+4>>2]|0,c[b+116>>2]|0,c[b+112>>2]|0,1,(a[b+120|0]&1)!=0);c[n>>2]=d;l=FW(192)|0;x=b+122|0;o=(a[x]&1)!=0;Ko(l,d,o,Oo(c[t>>2]|0)|0);c[u>>2]=l;t=c[n>>2]|0;Cp(l,c[v>>2]|0,0,0,0,0,c[t>>2]|0,c[t+4>>2]|0)|0;cp(c[u>>2]|0,c[v>>2]|0,0,0);n=c[n>>2]|0;c[w+8>>2]=n;w=FW(28)|0;Ke(w,c[n>>2]|0,c[n+4>>2]|0,1,1,0,1);c[b+248>>2]=w;n=FW(192)|0;Jo(n,w,(a[x]&1)!=0,0);a[m]=0;ep(n,q,0);a[m]=-1;x=FW(8)|0;tq(x,q);Ro(n,x);wp(n,182,s,g,j,r,(c[b+228>>2]|0)!=0)|0;if((n|0)==0){break}Lo(n);HW(n)}else{wp(c[b+184>>2]|0,182,s,g,j,r,(c[b+228>>2]|0)!=0)|0;if(!n){break}if((c[d>>2]|0)>=(j|0)){break}do{Bj(c[p>>2]|0)|0;x=(c[d>>2]|0)+1|0;c[d>>2]=x;}while((x|0)<(j|0))}}while(0);b=c[p>>2]|0;if((b|0)!=0){zj(b);HW(b)}fd[c[(c[f>>2]|0)+16>>2]&511](f);i=e;return}function Bh(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;f=i;p=i;i=i+8|0;o=p;n=i;i=i+16|0;m=n;g=b+28|0;if((c[g>>2]|0)==(c[b+24>>2]|0)){r=0;i=f;return r|0}h=b+4|0;q=c[h>>2]|0;k=c[q+8>>2]|0;l=b+8|0;j=b+16|0;r=c[j>>2]|0;a:do{if((c[l>>2]|0)==0){switch(r|0){case 3:case 2:case 4:{break};case 1:case 0:{l=Bj(c[b>>2]|0)|0;j=b+20|0;if((c[j>>2]|0)>0){m=0}else{break a}while(1){oB(c[h>>2]|0,l,o);a[e]=(((c[p>>2]|0)*255|0)+32768|0)>>>16;m=m+1|0;if((m|0)<(c[j>>2]|0)){e=e+1|0;l=l+k|0}else{break a}}break};default:{break a}}o=q+12|0;l=c[o>>2]|0;do{if((l|0)==0){l=18}else{if(jd[c[(c[l>>2]|0)+36>>2]&511](l)|0){p=Bj(c[b>>2]|0)|0;l=24;break}if((c[o>>2]|0)==0){l=18;break}p=Bj(c[b>>2]|0)|0;l=19}}while(0);if((l|0)==18){r=c[q>>2]|0;r=jd[c[(c[r>>2]|0)+36>>2]&511](r)|0;p=Bj(c[b>>2]|0)|0;if(r){l=24}else{l=19}}if((l|0)==19){o=b+20|0;if((c[o>>2]|0)<=0){break}b=m+4|0;l=m+8|0;q=0;while(1){pB(c[h>>2]|0,p,m);a[e]=(((c[n>>2]|0)*255|0)+32768|0)>>>16;a[e+1|0]=(((c[b>>2]|0)*255|0)+32768|0)>>>16;r=e+3|0;a[e+2|0]=(((c[l>>2]|0)*255|0)+32768|0)>>>16;if((c[j>>2]|0)==4){a[r]=-1;e=e+4|0}else{e=r}q=q+1|0;if((q|0)<(c[o>>2]|0)){p=p+k|0}else{break}}}else if((l|0)==24){k=b+20|0;l=ye(c[k>>2]|0,4)|0;qB(c[h>>2]|0,p,l,c[k>>2]|0);if((c[k>>2]|0)>0){h=0;do{r=l+(h<<2)|0;a[e]=(c[r>>2]|0)>>>16;a[e+1|0]=(c[r>>2]|0)>>>8;m=e+3|0;a[e+2|0]=c[r>>2];if((c[j>>2]|0)==4){a[m]=-1;e=e+4|0}else{e=m}h=h+1|0;}while((h|0)<(c[k>>2]|0))}Fe(l);break}}else{switch(r|0){case 1:case 0:{j=Bj(c[b>>2]|0)|0;h=b+20|0;if((c[h>>2]|0)>0){k=0}else{break a}while(1){a[e]=a[(c[l>>2]|0)+(d[j]|0)|0]|0;k=k+1|0;if((k|0)<(c[h>>2]|0)){e=e+1|0;j=j+1|0}else{break}}break};case 4:{j=Bj(c[b>>2]|0)|0;h=b+20|0;if((c[h>>2]|0)>0){k=0}else{break a}while(1){r=(d[j]|0)<<2;q=c[l>>2]|0;a[e]=a[q+r|0]|0;a[e+1|0]=a[q+(r|1)|0]|0;a[e+2|0]=a[q+(r|2)|0]|0;a[e+3|0]=a[q+(r|3)|0]|0;k=k+1|0;if((k|0)<(c[h>>2]|0)){e=e+4|0;j=j+1|0}else{break}}break};case 3:case 2:{j=Bj(c[b>>2]|0)|0;h=b+20|0;if((c[h>>2]|0)>0){k=0}else{break a}while(1){r=(d[j]|0)*3|0;q=c[l>>2]|0;a[e]=a[q+r|0]|0;a[e+1|0]=a[q+(r+1)|0]|0;a[e+2|0]=a[q+(r+2)|0]|0;k=k+1|0;if((k|0)<(c[h>>2]|0)){e=e+3|0;j=j+1|0}else{break}}break};default:{break a}}}}while(0);c[g>>2]=(c[g>>2]|0)+1;r=1;i=f;return r|0}function Ch(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;g=i;l=i;i=i+16|0;k=l;j=i;i=i+8|0;s=j;m=b+28|0;if((c[m>>2]|0)==(c[b+24>>2]|0)){A=0;i=g;return A|0}p=b+4|0;n=c[(c[p>>2]|0)+8>>2]|0;v=Bj(c[b>>2]|0)|0;o=b+20|0;if((c[o>>2]|0)>0){h=(n|0)>0;q=b+8|0;r=b+16|0;t=k+4|0;u=k+8|0;b=b+12|0;w=0;while(1){a:do{if(h){z=c[b>>2]|0;A=0;while(1){y=d[v+A|0]|0;x=A<<1;if((y|0)<(c[z+(x<<2)>>2]|0)){x=-1;break a}A=A+1|0;if((y|0)>(c[z+((x|1)<<2)>>2]|0)){x=-1;break a}if((A|0)>=(n|0)){x=0;break}}}else{x=0}}while(0);y=c[q>>2]|0;z=c[r>>2]|0;b:do{if((y|0)==0){switch(z|0){case 1:case 0:{oB(c[p>>2]|0,v,s);a[e]=(((c[j>>2]|0)*255|0)+32768|0)>>>16;a[f]=x;f=f+1|0;e=e+1|0;break b};case 3:case 2:case 4:{break};default:{break b}}pB(c[p>>2]|0,v,k);a[e]=(((c[l>>2]|0)*255|0)+32768|0)>>>16;a[e+1|0]=(((c[t>>2]|0)*255|0)+32768|0)>>>16;y=e+3|0;a[e+2|0]=(((c[u>>2]|0)*255|0)+32768|0)>>>16;if((c[r>>2]|0)==4){a[y]=-1;e=e+4|0}else{e=y}a[f]=x;f=f+1|0}else{switch(z|0){case 3:case 2:{A=(d[v]|0)*3|0;a[e]=a[y+A|0]|0;a[e+1|0]=a[y+(A+1)|0]|0;a[e+2|0]=a[y+(A+2)|0]|0;a[f]=x;f=f+1|0;e=e+3|0;break b};case 4:{A=(d[v]|0)<<2;a[e]=a[y+A|0]|0;a[e+1|0]=a[y+(A|1)|0]|0;a[e+2|0]=a[y+(A|2)|0]|0;a[e+3|0]=-1;a[f]=x;f=f+1|0;e=e+4|0;break b};case 1:case 0:{a[e]=a[y+(d[v]|0)|0]|0;a[f]=x;f=f+1|0;e=e+1|0;break b};default:{break b}}}}while(0);w=w+1|0;if((w|0)<(c[o>>2]|0)){v=v+n|0}else{break}}}c[m>>2]=(c[m>>2]|0)+1;A=1;i=g;return A|0}function Dh(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.0,D=0.0;e=i;w=i;i=i+48|0;m=w;p=i;i=i+32|0;q=p;x=i;i=i+8|0;y=x;u=i;i=i+16|0;t=u;s=i;i=i+8|0;r=s;z=d+16|0;A=0;do{h[k>>3]=+h[d+16+(A<<3)>>3];B=c[k+4>>2]&2146435072;A=A+1|0;if(!(B>>>0<2146435072|(B|0)==2146435072&(c[k>>2]&0)>>>0<0)){v=20;break}}while((A|0)<6);if((v|0)==20){i=e;return}h[w>>3]=+h[z>>3];h[m+8>>3]=+h[d+24>>3];D=+h[d+32>>3];h[m+16>>3]=-0.0-D;C=+h[d+40>>3];h[m+24>>3]=-0.0-C;h[m+32>>3]=D+ +h[d+48>>3];h[m+40>>3]=C+ +h[d+56>>3];w=FW(28)|0;B=l+8|0;z=l+4|0;yj(w,f,g,c[B>>2]|0,c[z>>2]|0);c[p>>2]=w;Aj(w);c[q+4>>2]=l;c[q+12>>2]=n;w=b+112|0;A=c[w>>2]|0;c[q+16>>2]=A;c[q+20>>2]=g;c[q+24>>2]=j;d=q+28|0;c[d>>2]=0;v=q+8|0;c[v>>2]=0;a:do{if((c[B>>2]|0)==1){z=1<<c[z>>2];switch(A|0){case 4:{c[v>>2]=ye(z,4)|0;if((z|0)<=0){break a}x=t+4|0;y=t+8|0;A=0;do{a[s]=A;pB(l,r,t);B=A<<2;a[(c[v>>2]|0)+B|0]=(((c[u>>2]|0)*255|0)+32768|0)>>>16;a[(c[v>>2]|0)+(B|1)|0]=(((c[x>>2]|0)*255|0)+32768|0)>>>16;a[(c[v>>2]|0)+(B|2)|0]=(((c[y>>2]|0)*255|0)+32768|0)>>>16;a[(c[v>>2]|0)+(B|3)|0]=-1;A=A+1|0;}while((A|0)<(z|0));break};case 1:case 0:{c[v>>2]=we(z)|0;if((z|0)>0){t=0}else{break a}do{a[s]=t;oB(l,r,y);a[(c[v>>2]|0)+t|0]=(((c[x>>2]|0)*255|0)+32768|0)>>>16;t=t+1|0;}while((t|0)<(z|0));break};case 3:case 2:{c[v>>2]=ye(z,3)|0;if((z|0)<=0){break a}y=t+4|0;x=t+8|0;A=0;do{a[s]=A;pB(l,r,t);B=A*3|0;a[(c[v>>2]|0)+B|0]=(((c[u>>2]|0)*255|0)+32768|0)>>>16;a[(c[v>>2]|0)+(B+1)|0]=(((c[y>>2]|0)*255|0)+32768|0)>>>16;a[(c[v>>2]|0)+(B+2)|0]=(((c[x>>2]|0)*255|0)+32768|0)>>>16;A=A+1|0;}while((A|0)<(z|0));break};default:{break a}}}}while(0);l=c[w>>2]|0;n=(n|0)!=0;yp(c[b+184>>2]|0,n?74:75,q,(l|0)==0?1:l,n,g,j,m)|0;do{if(o){if((c[d>>2]|0)>=(j|0)){break}do{Bj(c[p>>2]|0)|0;B=(c[d>>2]|0)+1|0;c[d>>2]=B;}while((B|0)<(j|0))}}while(0);Fe(c[v>>2]|0);j=c[p>>2]|0;if((j|0)!=0){zj(j);HW(j)}fd[c[(c[f>>2]|0)+16>>2]&511](f);i=e;return}function Eh(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;h=i;g=i;i=i+8|0;m=g;k=i;i=i+16|0;j=k;n=i;i=i+8|0;r=n;l=b+28|0;if((c[l>>2]|0)==(c[b+24>>2]|0)){A=0;i=h;return A|0}p=b+4|0;q=c[(c[p>>2]|0)+8>>2]|0;w=Bj(c[b>>2]|0)|0;o=b+20|0;if((c[o>>2]|0)>0){s=b+8|0;t=b+12|0;b=b+16|0;u=j+4|0;v=j+8|0;x=0;while(1){Oe(c[s>>2]|0,x,c[l>>2]|0,m);y=((a[g]|0)!=0)<<31>>31;A=c[t>>2]|0;z=c[b>>2]|0;a:do{if((A|0)==0){switch(z|0){case 1:case 0:{oB(c[p>>2]|0,w,r);a[e]=(((c[n>>2]|0)*255|0)+32768|0)>>>16;a[f]=y;f=f+1|0;e=e+1|0;break a};case 3:case 2:case 4:{break};default:{break a}}pB(c[p>>2]|0,w,j);a[e]=(((c[k>>2]|0)*255|0)+32768|0)>>>16;a[e+1|0]=(((c[u>>2]|0)*255|0)+32768|0)>>>16;z=e+3|0;a[e+2|0]=(((c[v>>2]|0)*255|0)+32768|0)>>>16;if((c[b>>2]|0)==4){a[z]=-1;e=e+4|0}else{e=z}a[f]=y;f=f+1|0}else{switch(z|0){case 3:case 2:{z=(d[w]|0)*3|0;a[e]=a[A+z|0]|0;a[e+1|0]=a[A+(z+1)|0]|0;a[e+2|0]=a[A+(z+2)|0]|0;a[f]=y;f=f+1|0;e=e+3|0;break a};case 4:{z=d[w]<<2;a[e]=a[A+z|0]|0;a[e+1|0]=a[A+(z|1)|0]|0;a[e+2|0]=a[A+(z|2)|0]|0;a[e+3|0]=-1;a[f]=y;f=f+1|0;e=e+4|0;break a};case 1:case 0:{a[e]=a[A+(d[w]|0)|0]|0;a[f]=y;f=f+1|0;e=e+1|0;break a};default:{break a}}}}while(0);x=x+1|0;if((x|0)<(c[o>>2]|0)){w=w+q|0}else{break}}}c[l>>2]=(c[l>>2]|0)+1;A=1;i=h;return A|0}function Fh(b,d,e,f,g,j,l,m,n,o,p,q,r){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;p=p|0;q=q|0;r=r|0;var 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.0,Y=0.0;s=i;K=i;i=i+8|0;L=K;P=i;i=i+8|0;O=P;N=i;i=i+16|0;I=N;V=i;i=i+16|0;Q=V;W=i;i=i+16|0;M=W;C=i;i=i+48|0;u=C;v=i;i=i+32|0;t=v;E=i;i=i+24|0;F=E;G=i;i=i+8|0;H=G;B=i;i=i+8|0;A=B;y=i;i=i+16|0;z=y;x=i;i=i+8|0;w=x;c[N>>2]=13;J=I+8|0;c[J>>2]=0;c[J+4>>2]=0;c[V>>2]=13;U=Q+8|0;c[U>>2]=0;S=U+4|0;c[S>>2]=0;c[W>>2]=13;R=M+8|0;c[R>>2]=0;T=R+4|0;c[T>>2]=0;if((o|0)>(g|0)|(p|0)>(j|0)){t=q&1;c[S>>2]=0;c[V>>2]=1;c[U>>2]=t^1;c[T>>2]=0;c[W>>2]=1;c[R>>2]=t;If(I,c[b+176>>2]|0)|0;t=c[N>>2]|0;if((t|0)!=6){c[P>>2]=t;c[O+4>>2]=6;Qe(0,35856,O);tc()}tt(c[J>>2]|0,Q);t=c[N>>2]|0;if((t|0)!=6){c[K>>2]=t;c[L+4>>2]=6;Qe(0,35856,L);tc()}tt(c[J>>2]|0,M);t=FW(672)|0;W=FW(4)|0;Ty(W);mB(t,1,I,W);Of(I);vd[c[(c[b>>2]|0)+324>>2]&3](b,d,e,f,g,j,l,m,n,o,p,t,r);if((t|0)==0){i=s;return}nB(t);HW(t);i=s;return}h[C>>3]=+(g|0);e=u+8|0;I=u+16|0;J=u+24|0;bX(e|0,0,16)|0;h[J>>3]=+(j|0);r=u+32|0;m=u+40|0;bX(r|0,0,16)|0;K=FW(28)|0;yj(K,n,o,1,1);c[E>>2]=K;Aj(K);a[F+4|0]=q&1^1;c[F+8>>2]=o;c[F+12>>2]=p;c[F+16>>2]=0;q=FW(28)|0;Ke(q,g,j,1,0,0,1);K=FW(192)|0;Jo(K,q,0,0);a[G]=0;ep(K,H,0);a[G]=-1;W=FW(8)|0;tq(W,H);Ro(K,W);wp(K,182,F,o,p,u,0)|0;o=c[E>>2]|0;if((o|0)!=0){zj(o);HW(o)}fd[c[(c[n>>2]|0)+16>>2]&511](n);if((K|0)!=0){Lo(K);HW(K)}n=d+16|0;o=0;do{h[k>>3]=+h[d+16+(o<<3)>>3];W=c[k+4>>2]&2146435072;o=o+1|0;if(!(W>>>0<2146435072|(W|0)==2146435072&(c[k>>2]&0)>>>0<0)){D=15;break}}while((o|0)<6);if((D|0)==15){if((q|0)==0){i=s;return}Le(q);HW(q);i=s;return}h[C>>3]=+h[n>>3];h[e>>3]=+h[d+24>>3];Y=+h[d+32>>3];h[I>>3]=-0.0-Y;X=+h[d+40>>3];h[J>>3]=-0.0-X;h[r>>3]=Y+ +h[d+48>>3];h[m>>3]=X+ +h[d+56>>3];n=FW(28)|0;W=l+8|0;o=l+4|0;yj(n,f,g,c[W>>2]|0,c[o>>2]|0);c[v>>2]=n;Aj(n);c[t+4>>2]=l;c[t+8>>2]=q;n=b+112|0;p=c[n>>2]|0;c[t+16>>2]=p;c[t+20>>2]=g;c[t+24>>2]=j;c[t+28>>2]=0;d=t+12|0;c[d>>2]=0;a:do{if((c[W>>2]|0)==1){o=1<<c[o>>2];switch(p|0){case 4:{c[d>>2]=ye(o,4)|0;if((o|0)<=0){break a}A=z+4|0;B=z+8|0;p=0;do{a[x]=p;pB(l,w,z);W=p<<2;a[(c[d>>2]|0)+W|0]=(((c[y>>2]|0)*255|0)+32768|0)>>>16;a[(c[d>>2]|0)+(W|1)|0]=(((c[A>>2]|0)*255|0)+32768|0)>>>16;a[(c[d>>2]|0)+(W|2)|0]=(((c[B>>2]|0)*255|0)+32768|0)>>>16;a[(c[d>>2]|0)+(W|3)|0]=-1;p=p+1|0;}while((p|0)<(o|0));break};case 1:case 0:{c[d>>2]=we(o)|0;if((o|0)>0){y=0}else{break a}do{a[x]=y;oB(l,w,A);a[(c[d>>2]|0)+y|0]=(((c[B>>2]|0)*255|0)+32768|0)>>>16;y=y+1|0;}while((y|0)<(o|0));break};case 3:case 2:{c[d>>2]=ye(o,3)|0;if((o|0)<=0){break a}p=z+4|0;B=z+8|0;A=0;do{a[x]=A;pB(l,w,z);W=A*3|0;a[(c[d>>2]|0)+W|0]=(((c[y>>2]|0)*255|0)+32768|0)>>>16;a[(c[d>>2]|0)+(W+1)|0]=(((c[p>>2]|0)*255|0)+32768|0)>>>16;a[(c[d>>2]|0)+(W+2)|0]=(((c[B>>2]|0)*255|0)+32768|0)>>>16;A=A+1|0;}while((A|0)<(o|0));break};default:{break a}}}}while(0);l=c[n>>2]|0;yp(c[b+184>>2]|0,76,t,(l|0)==0?1:l,1,g,j,u)|0;if((q|0)!=0){Le(q);HW(q)}Fe(c[d>>2]|0);j=c[v>>2]|0;if((j|0)!=0){zj(j);HW(j)}fd[c[(c[f>>2]|0)+16>>2]&511](f);i=s;return}function Gh(b,d,e,f,g,j,l,m,n,o,p,q,r){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;p=p|0;q=q|0;r=r|0;var 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.0,J=0.0;e=i;E=i;i=i+48|0;r=E;s=i;i=i+32|0;m=s;C=i;i=i+32|0;z=C;B=i;i=i+8|0;A=B;x=i;i=i+8|0;y=x;v=i;i=i+16|0;w=v;u=i;i=i+8|0;t=u;G=d+16|0;F=0;do{h[k>>3]=+h[d+16+(F<<3)>>3];H=c[k+4>>2]&2146435072;F=F+1|0;if(!(H>>>0<2146435072|(H|0)==2146435072&(c[k>>2]&0)>>>0<0)){D=23;break}}while((F|0)<6);if((D|0)==23){i=e;return}h[E>>3]=+h[G>>3];h[r+8>>3]=+h[d+24>>3];J=+h[d+32>>3];h[r+16>>3]=-0.0-J;I=+h[d+40>>3];h[r+24>>3]=-0.0-I;h[r+32>>3]=J+ +h[d+48>>3];h[r+40>>3]=I+ +h[d+56>>3];D=FW(28)|0;d=q+4|0;yj(D,n,o,c[q+8>>2]|0,c[d>>2]|0);c[C>>2]=D;Aj(D);c[z+4>>2]=q;c[z+12>>2]=0;c[z+16>>2]=1;c[z+20>>2]=o;c[z+24>>2]=p;c[z+28>>2]=0;d=1<<c[d>>2];D=z+8|0;c[D>>2]=we(d)|0;if((d|0)>0){E=0;do{a[u]=E;oB(q,t,y);a[(c[D>>2]|0)+E|0]=(((c[x>>2]|0)*255|0)+32768|0)>>>16;E=E+1|0;}while((E|0)<(d|0))}q=FW(28)|0;d=c[b+180>>2]|0;Ke(q,c[d>>2]|0,c[d+4>>2]|0,1,1,0,1);d=FW(192)|0;Jo(d,q,(a[b+122|0]&1)!=0,0);a[B]=0;ep(d,A,0);yp(d,75,z,1,0,o,p,r)|0;p=c[C>>2]|0;if((p|0)!=0){zj(p);HW(p)}fd[c[(c[n>>2]|0)+16>>2]&511](n);Fe(c[D>>2]|0);if((d|0)!=0){Lo(d);HW(d)}n=b+184|0;bp(c[n>>2]|0,q);p=FW(28)|0;H=l+8|0;o=l+4|0;yj(p,f,g,c[H>>2]|0,c[o>>2]|0);c[s>>2]=p;Aj(p);c[m+4>>2]=l;c[m+12>>2]=0;p=b+112|0;q=c[p>>2]|0;c[m+16>>2]=q;c[m+20>>2]=g;c[m+24>>2]=j;c[m+28>>2]=0;b=m+8|0;c[b>>2]=0;a:do{if((c[H>>2]|0)==1){o=1<<c[o>>2];switch(q|0){case 3:case 2:{c[b>>2]=ye(o,3)|0;if((o|0)<=0){break a}x=w+4|0;y=w+8|0;q=0;do{a[u]=q;pB(l,t,w);H=q*3|0;a[(c[b>>2]|0)+H|0]=(((c[v>>2]|0)*255|0)+32768|0)>>>16;a[(c[b>>2]|0)+(H+1)|0]=(((c[x>>2]|0)*255|0)+32768|0)>>>16;a[(c[b>>2]|0)+(H+2)|0]=(((c[y>>2]|0)*255|0)+32768|0)>>>16;q=q+1|0;}while((q|0)<(o|0));break};case 4:{c[b>>2]=ye(o,4)|0;if((o|0)<=0){break a}y=w+4|0;q=w+8|0;x=0;do{a[u]=x;pB(l,t,w);H=x<<2;a[(c[b>>2]|0)+H|0]=(((c[v>>2]|0)*255|0)+32768|0)>>>16;a[(c[b>>2]|0)+(H|1)|0]=(((c[y>>2]|0)*255|0)+32768|0)>>>16;a[(c[b>>2]|0)+(H|2)|0]=(((c[q>>2]|0)*255|0)+32768|0)>>>16;a[(c[b>>2]|0)+(H|3)|0]=-1;x=x+1|0;}while((x|0)<(o|0));break};case 1:case 0:{c[b>>2]=we(o)|0;if((o|0)>0){v=0}else{break a}do{a[u]=v;oB(l,t,y);a[(c[b>>2]|0)+v|0]=(((c[x>>2]|0)*255|0)+32768|0)>>>16;v=v+1|0;}while((v|0)<(o|0));break};default:{break a}}}}while(0);l=c[p>>2]|0;yp(c[n>>2]|0,75,m,(l|0)==0?1:l,0,g,j,r)|0;bp(c[n>>2]|0,0);Fe(c[b>>2]|0);g=c[s>>2]|0;if((g|0)!=0){zj(g);HW(g)}fd[c[(c[f>>2]|0)+16>>2]&511](f);i=e;return}function Hh(b,d,e,f,g,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var l=0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0,s=0,t=0.0,u=0,v=0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0,C=0.0,D=0.0,E=0,F=0.0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;j=i;m=i;i=i+8|0;k=m;z=+h[e>>3];y=+h[e+8>>3];C=+h[d+16>>3];x=z*C;q=+h[d+32>>3];D=y*q;p=+h[d+48>>3];t=p+(x+D);A=+h[d+24>>3];z=z*A;w=+h[d+40>>3];y=y*w;n=+h[d+56>>3];F=n+(z+y);o=+h[e+24>>3];q=q*o;x=p+(x+q);o=w*o;z=n+(z+o);do{if(x<t){w=t}else{if(x<=t){w=t;x=t;break}w=x;x=t}}while(0);do{if(z<F){t=F}else{if(z<=F){t=F;z=F;break}t=z;z=F}}while(0);F=+h[e+16>>3];C=F*C;D=p+(C+D);A=F*A;y=n+(A+y);do{if(D<x){x=D}else{if(D<=w){break}w=D}}while(0);do{if(y<z){z=y}else{if(y<=t){break}t=y}}while(0);p=p+(C+q);n=n+(A+o);do{if(p<x){x=p}else{if(p<=w){break}w=p}}while(0);do{if(n<z){z=n}else{if(n<=t){break}t=n}}while(0);e=~~+R(+x);if((e|0)<0){r=0}else{r=c[c[b+180>>2]>>2]|0;r=(e|0)<(r|0)?e:r+ -1|0}e=0-r|0;s=~~+R(+z);B=c[b+180>>2]|0;G=c[B+4>>2]|0;if((s|0)<0){v=0}else{v=(s|0)<(G|0)?s:G+ -1|0}s=0-v|0;H=~~+ca(+w);u=b+180|0;E=c[B>>2]|0;E=(H+1|0)>(E|0)?E-r|0:1-r+H|0;E=(E|0)<1?1:E;H=~~+ca(+t);G=(H+1|0)>(G|0)?G-v|0:1-v+H|0;H=(G|0)<1?1:G;G=FW(32)|0;bX(G|0,0,24)|0;c[G>>2]=r;c[G+4>>2]=v;c[G+12>>2]=f;a[G+16|0]=g&1;I=b+244|0;c[G+28>>2]=c[I>>2];c[I>>2]=G;I=G+20|0;c[I>>2]=B;B=b+184|0;K=G+24|0;c[K>>2]=c[B>>2];M=FW(28)|0;J=b+112|0;KeKelse{r=(c[n>>2]|0)+(c[h>>2]|0)|0;if(q>>>0>=r>>>0){d=p;g=9;break}q=(q+256|0)>>>0>r>>>0?r-q|0:256}q=b+41+(Ta(k|0,1,q|0,c[l>>2]|0)|0)|0;c[m>>2]=q;r=c[j>>2]|0;if(r>>>0>=q>>>0){d=p;g=9;break}}c[j>>2]=r+1;a[e+p|0]=a[r]|0;p=p+1|0;if((p|0)>=(d|0)){g=9;break}}if((g|0)==9){i=f;return d|0}return 0}function Yl(a){a=a|0;i=i;return 0}function Zl(a){a=a|0;i=i;return c[a+8>>2]|0}function _l(a){a=a|0;i=i;return c[a+36>>2]|0}function $l(a){a=a|0;i=i;return 1}function am(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;f=b+1068|0;j=c[f>>2]|0;g=b+1072|0;k=c[g>>2]|0;do{if(j>>>0>=k>>>0){j=b+41|0;l=b+1076|0;k=(c[l>>2]|0)+(k-j)|0;c[l>>2]=k;c[g>>2]=j;c[f>>2]=j;do{if((a[b+40|0]&1)==0){h=6}else{l=(c[b+8>>2]|0)+(c[b+36>>2]|0)|0;if(k>>>0>=l>>>0){l=-1;i=e;return l|0}if((k+1024|0)>>>0<=l>>>0){h=6;break}k=l-k|0}}while(0);if((h|0)==6){k=1024-(k&1023)|0}Ut(c[b+32>>2]|0,j,1,k)|0;l=b+41+k|0;c[g>>2]=l;j=c[f>>2]|0;if(j>>>0<l>>>0){break}else{f=-1}i=e;return f|0}}while(0);c[f>>2]=j+1;l=d[j]|0;i=e;return l|0}function bm(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;g=b+1068|0;j=c[g>>2]|0;f=b+1072|0;k=c[f>>2]|0;do{if(j>>>0>=k>>>0){j=b+41|0;l=b+1076|0;k=(c[l>>2]|0)+(k-j)|0;c[l>>2]=k;c[f>>2]=j;c[g>>2]=j;do{if((a[b+40|0]&1)==0){h=6}else{l=(c[b+8>>2]|0)+(c[b+36>>2]|0)|0;if(k>>>0>=l>>>0){l=-1;i=e;return l|0}if((k+1024|0)>>>0<=l>>>0){h=6;break}k=l-k|0}}while(0);if((h|0)==6){k=1024-(k&1023)|0}Ut(c[b+32>>2]|0,j,1,k)|0;l=b+41+k|0;c[f>>2]=l;j=c[g>>2]|0;if(j>>>0<l>>>0){break}else{b=-1}i=e;return b|0}}while(0);l=d[j]|0;i=e;return l|0}function cm(a){a=a|0;var b=0;b=i;a=jd[c[(c[a>>2]|0)+20>>2]&511](a)|0;i=b;return a|0}function dm(a){a=a|0;var b=0;b=i;fd[c[(c[a>>2]|0)+12>>2]&511](a);i=b;return}function em(a){a=a|0;i=i;return(c[a+1076>>2]|0)-(a+41)+(c[a+1068>>2]|0)|0}function fm(a){a=a|0;i=i;return c[a+36>>2]|0}function gm(a){a=a|0;i=i;return 11}function hm(a){a=a|0;var b=0,e=0,f=0;b=i;f=a+44|0;e=c[f>>2]|0;if(e>>>0>=(c[a+40>>2]|0)>>>0){f=-1;i=b;return f|0}c[f>>2]=e+1;f=d[e]|0;i=b;return f|0}function im(a){a=a|0;var b=0,e=0;b=i;e=c[a+44>>2]|0;if(e>>>0>=(c[a+40>>2]|0)>>>0){e=-1;i=b;return e|0}e=d[e]|0;i=b;return e|0}function jm(a){a=a|0;var b=0;b=i;a=jd[c[(c[a>>2]|0)+20>>2]&511](a)|0;i=b;return a|0}function km(a){a=a|0;var b=0;b=i;fd[c[(c[a>>2]|0)+12>>2]&511](a);i=b;return}function lm(a){a=a|0;i=i;return(c[a+44>>2]|0)-(c[a+32>>2]|0)|0}function mm(a){a=a|0;i=i;return c[a+36>>2]|0}function nm(b,c){b=b|0;c=c|0;a[b+48|0]=c&1;i=i;return}function om(a){a=a|0;i=i;return 2}function pm(a){a=a|0;var b=0,d=0;d=i;b=jd[c[(c[a>>2]|0)+24>>2]&511](a)|0;c[a+12>>2]=-1;i=d;return b|0}function qm(a){a=a|0;var b=0;b=i;a=c[a+8>>2]|0;a=jd[c[(c[a>>2]|0)+36>>2]&511](a)|0;i=b;return a|0}function rm(a){a=a|0;var b=0;b=i;a=c[a+8>>2]|0;fd[c[(c[a>>2]|0)+40>>2]&511](a);i=b;return}function sm(a){a=a|0;var b=0;b=i;a=c[a+8>>2]|0;a=jd[c[(c[a>>2]|0)+48>>2]&511](a)|0;i=b;return a|0}function tm(a){a=a|0;var b=0;b=i;a=c[a+8>>2]|0;a=jd[c[(c[a>>2]|0)+64>>2]&511](a)|0;i=b;return a|0}function um(a){a=a|0;var b=0;b=i;a=c[a+8>>2]|0;a=jd[c[(c[a>>2]|0)+68>>2]&511](a)|0;i=b;return a|0}function vm(a){a=a|0;var b=0;b=i;a=c[a+8>>2]|0;a=jd[c[(c[a>>2]|0)+72>>2]&511](a)|0;i=b;return a|0}function wm(a){a=a|0;i=i;return c[a+8>>2]|0}function xm(a){a=a|0;i=i;return 3}function ym(a){a=a|0;var b=0,d=0;d=i;b=jd[c[(c[a>>2]|0)+24>>2]&511](a)|0;a=a+48|0;c[a>>2]=(c[a>>2]|0)+1;i=d;return b|0}function zm(a){a=a|0;i=i;return 6}function Am(a){a=a|0;var b=0,d=0;d=i;b=jd[c[(c[a>>2]|0)+24>>2]&511](a)|0;c[a+64>>2]=-1;i=d;return b|0}function Bm(a){a=a|0;i=i;return 11}function Cm(a){a=a|0;i=i;return}function Dm(a){a=a|0;i=i;return-1}function Em(a){a=a|0;i=i;return-1}function Fm(a,b,c){a=a|0;b=b|0;c=c|0;i=i;return 0}function Gm(a,b){a=a|0;b=b|0;i=i;return 0}function Hm(a){a=a|0;i=i;return 4}function Im(a){a=a|0;i=i;return 5}function Jm(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;f=i;e=b+140|0;h=c[e>>2]|0;g=b+144|0;if(h>>>0>=(c[g>>2]|0)>>>0){j=b+148|0;if((a[j]&1)!=0){k=-1;i=f;return k|0}h=b+8|0;k=c[h>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((k|0)==128|(k|0)==-1){a[j]=1;k=-1;i=f;return k|0}do{if((k|0)<128){j=k+1|0;if((k|0)>-1){k=0}else{break}while(1){l=c[h>>2]|0;a[b+12+k|0]=jd[c[(c[l>>2]|0)+20>>2]&511](l)|0;k=k+1|0;if((k|0)<(j|0)){}else{break}}}else{j=257-k|0;h=c[h>>2]|0;h=jd[c[(c[h>>2]|0)+20>>2]&511](h)|0;if((j|0)<=0){break}bX(b+12|0,h&255|0,j|0)|0}}while(0);h=b+12|0;c[e>>2]=h;c[g>>2]=b+12+j}c[e>>2]=h+1;l=d[h]|0;i=f;return l|0}function Km(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;f=b+140|0;h=c[f>>2]|0;g=b+144|0;if(h>>>0>=(c[g>>2]|0)>>>0){j=b+148|0;if((a[j]&1)!=0){k=-1;i=e;return k|0}h=b+8|0;k=c[h>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((k|0)==128|(k|0)==-1){a[j]=1;k=-1;i=e;return k|0}do{if((k|0)<128){j=k+1|0;if((k|0)>-1){k=0}else{break}while(1){l=c[h>>2]|0;a[b+12+k|0]=jd[c[(c[l>>2]|0)+20>>2]&511](l)|0;k=k+1|0;if((k|0)<(j|0)){}else{break}}}else{j=257-k|0;h=c[h>>2]|0;h=jd[c[(c[h>>2]|0)+20>>2]&511](h)|0;if((j|0)<=0){break}bX(b+12|0,h&255|0,j|0)|0}}while(0);h=b+12|0;c[f>>2]=h;c[g>>2]=b+12+j}l=d[h]|0;i=e;return l|0}function Lm(a){a=a|0;i=i;return 7}function Mm(a){a=a|0;i=i;return 8}function Nm(a){a=a|0;i=i;return-1}function Om(a){a=a|0;var b=0;b=i;a=c[a+32>>2]|0;a=jd[c[(c[a>>2]|0)+8>>2]&511](a)|0;i=b;return a|0}function Pm(a){a=a|0;i=i;return}function Qm(a){a=a|0;var b=0;b=i;a=c[a+32>>2]|0;a=jd[c[(c[a>>2]|0)+36>>2]&511](a)|0;i=b;return a|0}function Rm(a){a=a|0;var b=0;b=i;a=c[a+32>>2]|0;fd[c[(c[a>>2]|0)+40>>2]&511](a);i=b;return}function Sm(a){a=a|0;var b=0;b=i;a=c[a+32>>2]|0;a=jd[c[(c[a>>2]|0)+48>>2]&511](a)|0;i=b;return a|0}function Tm(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;h=i;j=FW(32)|0;fe(j,d);c[b>>2]=j;a[b+8|0]=e&1;c[b+4>>2]=1;c[b+12>>2]=f;c[b+16>>2]=g;c[b+20>>2]=0;c[b+24>>2]=0;c[b+28>>2]=1;ad(b+32|0,0)|0;i=h;return}function Um(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=i;h=FW(32)|0;fe(h,d);c[b>>2]=h;a[b+8|0]=e&1;c[b+4>>2]=2;c[b+12>>2]=f;c[b+20>>2]=0;c[b+24>>2]=0;c[b+28>>2]=1;ad(b+32|0,0)|0;i=g;return}function Vm(a){a=a|0;var b=0,d=0;b=i;d=c[a>>2]|0;if((d|0)!=0){ke(d);HW(d)}do{if((c[a+4>>2]|0)==0){d=c[a+12>>2]|0;if((d|0)==0){break}Fe(d)}}while(0);d=c[a+20>>2]|0;if((d|0)==0){d=a+32|0;kc(d|0)|0;i=b;return}Fe(d);d=a+32|0;kc(d|0)|0;i=b;return}function Wm(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=a+32|0;Ub(d|0)|0;f=a+28|0;e=(c[f>>2]|0)+ -1|0;c[f>>2]=e;Mc(d|0)|0;if((e|0)!=0|(a|0)==0){i=b;return}e=c[a>>2]|0;if((e|0)!=0){kekeke(j);HW(j)}}while(0);HW(h);j=c[e>>2]|0;k=j+(g<<2)|0;h=c[k>>2]|0;}while((h|0)!=0);h=c[f>>2]|0}g=g+1|0;}while((g|0)<(h|0));Fe(j);i=d;return}function lo(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;h=i;g=a+8|0;j=a+4|0;if((c[g>>2]|0)>=(c[j>>2]|0)){mo(a)}f=FW(12)|0;c[f>>2]=b;c[f+4>>2]=e;e=c[b+24>>2]|0;if((e|0)>0){l=0;k=0;b=c[b+28>>2]|0;while(1){l=(d[b]|0)+(l*17|0)|0;k=k+1|0;if((k|0)<(e|0)){b=b+1|0}else{break}}}else{l=0}l=(c[a+12>>2]|0)+(((l>>>0)%((c[j>>2]|0)>>>0)|0)<<2)|0;c[f+8>>2]=c[l>>2];c[l>>2]=f;c[g>>2]=(c[g>>2]|0)+1;i=h;return}function mo(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;e=i;b=a+4|0;f=c[b>>2]|0;a=a+12|0;g=c[a>>2]|0;h=f<<1|1;c[b>>2]=h;h=ye(h,4)|0;c[a>>2]=h;a:do{if((c[b>>2]|0)>0){j=0;while(1){c[h+(j<<2)>>2]=0;j=j+1|0;if((j|0)>=(c[b>>2]|0)){break a}h=c[a>>2]|0}}}while(0);if((f|0)>0){j=0}else{Fe(g);i=e;return}do{h=g+(j<<2)|0;k=c[h>>2]|0;if((k|0)!=0){do{l=k+8|0;c[h>>2]=c[l>>2];n=c[k>>2]|0;m=c[n+24>>2]|0;if((m|0)>0){p=0;o=0;n=c[n+28>>2]|0;while(1){p=(d[n]|0)+(p*17|0)|0;o=o+1|0;if((o|0)<(m|0)){n=n+1|0}else{break}}}else{p=0}p=(p>>>0)%((c[b>>2]|0)>>>0)|0;c[l>>2]=c[(c[a>>2]|0)+(p<<2)>>2];c[(c[a>>2]|0)+(p<<2)>>2]=k;k=c[h>>2]|0;}while((k|0)!=0)}j=j+1|0;}while((j|0)<(f|0));Fe(g);i=e;return}function no(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;h=i;g=a+8|0;j=a+4|0;if((c[g>>2]|0)>=(c[j>>2]|0)){mo(a)}f=FW(12)|0;c[f>>2]=b;c[f+4>>2]=e;e=c[b+24>>2]|0;if((e|0)>0){l=0;k=0;b=c[b+28>>2]|0;while(1){l=(d[b]|0)+(l*17|0)|0;k=k+1|0;if((k|0)<(e|0)){b=b+1|0}else{break}}}else{l=0}l=(c[a+12>>2]|0)+(((l>>>0)%((c[j>>2]|0)>>>0)|0)<<2)|0;c[f+8>>2]=c[l>>2];c[l>>2]=f;c[g>>2]=(c[g>>2]|0)+1;i=h;return}function oo(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;h=c[b+24>>2]|0;if((h|0)>0){k=0;j=0;g=c[b+28>>2]|0;while(1){k=(d[g]|0)+(k*17|0)|0;j=j+1|0;if((j|0)<(h|0)){g=g+1|0}else{break}}}else{k=0}a=c[(c[a+12>>2]|0)+(((k>>>0)%((c[a+4>>2]|0)>>>0)|0)<<2)>>2]|0;if((a|0)==0){k=0;i=e;return k|0}while(1){if((se(c[a>>2]|0,b)|0)==0){break}a=c[a+8>>2]|0;if((a|0)==0){b=0;f=8;break}}if((f|0)==8){i=e;return b|0}k=c[a+4>>2]|0;i=e;return k|0}function po(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;f=i;g=a[d]|0;if(g<<24>>24==0){j=0}else{j=0;h=d;while(1){j=(j*17|0)+(g&255)|0;h=h+1|0;g=a[h]|0;if(g<<24>>24==0){break}else{}}}b=c[(c[b+12>>2]|0)+(((j>>>0)%((c[b+4>>2]|0)>>>0)|0)<<2)>>2]|0;if((b|0)==0){j=0;i=f;return j|0}while(1){if((te(c[b>>2]|0,d)|0)==0){break}b=c[b+8>>2]|0;if((b|0)==0){d=0;e=7;break}}if((e|0)==7){i=f;return d|0}j=c[b+4>>2]|0;i=f;return j|0}function qo(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;f=i;j=c[e+24>>2]|0;if((j|0)>0){k=0;l=0;h=c[e+28>>2]|0;while(1){k=(d[h]|0)+(k*17|0)|0;l=l+1|0;if((l|0)<(j|0)){h=h+1|0}else{break}}}else{k=0}j=(k>>>0)%((c[b+4>>2]|0)>>>0)|0;k=b+12|0;h=c[(c[k>>2]|0)+(j<<2)>>2]|0;if((h|0)==0){l=0;i=f;return l|0}while(1){if((se(c[h>>2]|0,e)|0)==0){break}h=c[h+8>>2]|0;if((h|0)==0){b=0;g=13;break}}if((g|0)==13){i=f;return b|0}g=(c[k>>2]|0)+(j<<2)|0;while(1){e=c[g>>2]|0;if((e|0)==(h|0)){break}else{g=e+8|0}}c[g>>2]=c[h+8>>2];do{if((a[b]&1)!=0){g=c[h>>2]|0;if((g|0)==0){break}ke(g);HW(g)}}while(0);l=c[h+4>>2]|0;HW(h);k=b+8|0;c[k>>2]=(c[k>>2]|0)+ -1;i=f;return l|0}function ro(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;f=i;j=c[e+24>>2]|0;if((j|0)>0){k=0;l=0;h=c[e+28>>2]|0;while(1){k=(d[h]|0)+(k*17|0)|0;l=l+1|0;if((l|0)<(j|0)){h=h+1|0}else{break}}}else{k=0}j=(k>>>0)%((c[b+4>>2]|0)>>>0)|0;k=b+12|0;h=c[(c[k>>2]|0)+(j<<2)>>2]|0;if((h|0)==0){l=0;i=f;return l|0}while(1){if((se(c[h>>2]|0,e)|0)==0){break}h=c[h+8>>2]|0;if((h|0)==0){b=0;g=13;break}}if((g|0)==13){i=f;return b|0}g=(c[k>>2]|0)+(j<<2)|0;while(1){e=c[g>>2]|0;if((e|0)==(h|0)){break}else{g=e+8|0}}c[g>>2]=c[h+8>>2];do{if((a[b]&1)!=0){g=c[h>>2]|0;if((g|0)==0){break}ke(g);HW(g)}}while(0);l=c[h+4>>2]|0;HW(h);k=b+8|0;c[k>>2]=(c[k>>2]|0)+ -1;i=f;return l|0}function so(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;g=a[d]|0;if(g<<24>>24==0){j=0}else{j=0;h=d;while(1){j=(j*17|0)+(g&255)|0;h=h+1|0;g=a[h]|0;if(g<<24>>24==0){break}else{}}}h=(j>>>0)%((c[b+4>>2]|0)>>>0)|0;j=b+12|0;g=c[(c[j>>2]|0)+(h<<2)>>2]|0;if((g|0)==0){j=0;i=e;return j|0}while(1){if((te(c[g>>2]|0,d)|0)==0){break}g=c[g+8>>2]|0;if((g|0)==0){b=0;f=12;break}}if((f|0)==12){i=e;return b|0}d=(c[j>>2]|0)+(h<<2)|0;while(1){f=c[d>>2]|0;if((f|0)==(g|0)){break}else{d=f+8|0}}c[d>>2]=c[g+8>>2];do{if((a[b]&1)!=0){f=c[g>>2]|0;if((f|0)==0){break}ke(f);HW(f)}}while(0);j=c[g+4>>2]|0;HW(g);h=b+8|0;c[h>>2]=(c[h>>2]|0)+ -1;i=e;return j|0}function to(a,b){a=a|0;b=b|0;var d=0;a=i;d=FW(8)|0;c[b>>2]=d;c[d>>2]=-1;c[d+4>>2]=0;i=a;return}function uo(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;f=i;j=c[b>>2]|0;if((j|0)==0){k=0;i=f;return k|0}k=j+4|0;h=c[k>>2]|0;if((h|0)==0){h=j;g=4}else{c[k>>2]=c[h+8>>2];h=c[b>>2]|0;j=c[h+4>>2]|0;if((j|0)==0){g=4}}a:do{if((g|0)==4){g=a+4|0;a=a+12|0;while(1){k=(c[h>>2]|0)+1|0;c[h>>2]=k;h=c[b>>2]|0;if((k|0)==(c[g>>2]|0)){break}c[h+4>>2]=c[(c[a>>2]|0)+(c[h>>2]<<2)>>2];h=c[b>>2]|0;j=c[h+4>>2]|0;if((j|0)!=0){break a}}if((h|0)!=0){HW(h)}c[b>>2]=0;k=0;i=f;return k|0}}while(0);c[d>>2]=c[j>>2];c[e>>2]=c[(c[(c[b>>2]|0)+4>>2]|0)+4>>2];k=1;i=f;return k|0}function vo(a,b){a=a|0;b=b|0;var d=0;a=i;d=c[b>>2]|0;if((d|0)!=0){HW(d)}c[b>>2]=0;i=a;return}function wo(a){a=a|0;var b=0;b=i;c[a+4>>2]=8;c[a>>2]=ye(8,4)|0;c[a+8>>2]=0;c[a+12>>2]=0;i=b;return}function xo(a){a=a|0;var b=0;b=i;Fe(c[a>>2]|0);i=b;return}function yo(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=i;e=a+8|0;h=c[e>>2]|0;g=a+4|0;f=c[g>>2]|0;if((h|0)<(f|0)){a=c[a>>2]|0}else{h=c[a+12>>2]|0;h=((h|0)>0?h:f)+f|0;c[g>>2]=h;g=Ce(c[a>>2]|0,h,4)|0;c[a>>2]=g;h=c[e>>2]|0;a=g}c[e>>2]=h+1;c[a+(h<<2)>>2]=b;i=d;return}function zo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;f=i;e=a+8|0;j=c[e>>2]|0;h=a+4|0;g=c[h>>2]|0;if((j|0)>=(g|0)){j=c[a+12>>2]|0;j=((j|0)>0?j:g)+g|0;c[h>>2]=j;c[a>>2]=Ce(c[a>>2]|0,j,4)|0;j=c[e>>2]|0}if((j|0)>(b|0)){h=c[a>>2]|0;aX(h+(b+1<<2)|0,h+(b<<2)|0,j-b<<2|0)|0}c[(c[a>>2]|0)+(b<<2)>>2]=d;c[e>>2]=(c[e>>2]|0)+1;i=f;return}function Ao(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;g=c[a>>2]|0;h=g+(b<<2)|0;e=c[h>>2]|0;f=a+8|0;j=c[f>>2]|0;if((j+ -1|0)>(b|0)){aX(h|0,g+(b+1<<2)|0,(j-b<<2)+ -4|0)|0;j=c[f>>2]|0}g=j+ -1|0;c[f>>2]=g;b=a+4|0;f=c[b>>2]|0;j=c[a+12>>2]|0;k=(j|0)>0;if(k){h=j}else{h=(f|0)/2|0}if((f-g|0)<(h|0)){i=d;return e|0}if(!k){j=(f|0)/2|0}k=f-j|0;c[b>>2]=k;c[a>>2]=Ce(c[a>>2]|0,k,4)|0;i=d;return e|0}function Bo(){var a=0,b=0,d=0;a=i;b=Tc(53840)|0;if((b|0)!=0){d=FW(32)|0;fe(d,b);i=a;return d|0}b=Tc(53848)|0;if((b|0)==0){b=Rc(Ac()|0)|0}else{b=Pb(b|0)|0}d=FW(32)|0;if((b|0)==0){fe(d,53856);i=a;return d|0}else{fe(d,c[b+20>>2]|0);i=a;return d|0}return 0}function Co(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=i;if((Qc(d|0,53856)|0)==0){i=e;return b|0}g=(Qc(d|0,53864)|0)==0;f=c[b+24>>2]|0;if(!g){do{if((f|0)>0){if((a[(c[b+28>>2]|0)+(f+ -1)|0]|0)==47){break}me(b,47)|0}}while(0);ne(b,d,-1)|0;i=e;return b|0}g=f+ -2|0;d=c[b+28>>2]|0;a:do{if((g|0)>-1){while(1){if((a[d+g|0]|0)==47){break}if((g|0)>0){g=g+ -1|0}else{break a}}if((g|0)<1){break}re(b,g,f-g|0)|0;i=e;return b|0}}while(0);if((a[d]|0)==47){re(b,1,f+ -1|0)|0;i=e;return b|0}else{le(b)|0;ne(b,53864,-1)|0;i=e;return b|0}return 0}function Do(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;c=c+ -1|0;g=0;while(1){if((g|0)>=(c|0)){break}j=qc(d|0)|0;if((j|0)==-1){break}h=g+1|0;a[b+g|0]=j;if((j|0)==13){f=5;break}else if((j|0)==10){g=h;break}else{g=h}}do{if((f|0)==5){f=qc(d|0)|0;if((f|0)==10&(h|0)<(c|0)){a[b+h|0]=10;g=g+2|0;break}if((f|0)==-1){g=h;break}Ec(f|0,d|0)|0;g=h}}while(0);a[b+g|0]=0;i=e;return((g|0)==0?0:b)|0}function Eo(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;h=i;i=i+80|0;j=FW(32)|0;fe(j,e);c[b>>2]=j;j=b+8|0;a[j]=0;k=FW(32)|0;fe(k,d);b=b+4|0;c[b>>2]=k;Co(k,e)|0;if(!f){i=g;return}if((Nb(c[(c[b>>2]|0)+28>>2]|0,h|0)|0)!=0){i=g;return}a[j]=(c[h+12>>2]&61440|0)==16384|0;i=g;return}function Fo(a){a=a|0;var b=0,d=0;b=i;d=c[a+4>>2]|0;if((d|0)!=0){ke(d);HW(d)}a=c[a>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function Go(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;g=FW(32)|0;fe(g,d);c[b>>2]=g;a[b+4|0]=e&1;c[b+8>>2]=zb(d|0)|0;i=f;return}function Ho(a){a=a|0;var b=0,d=0;b=i;d=c[a>>2]|0;if((d|0)!=0){ke(d);HW(d)}a=c[a+8>>2]|0;if((a|0)==0){i=b;return}qb(a|0)|0;i=b;return}function Io(b){b=b|0;var d=0,e=0,f=0,g=0;d=i;f=b+8|0;g=c[f>>2]|0;if((g|0)==0){g=0;i=d;return g|0}g=eb(g|0)|0;if((g|0)==0){g=0;i=d;return g|0}while(1){g=g+11|0;if((Qc(g|0,53856)|0)!=0){if((Qc(g|0,53864)|0)!=0){break}}g=eb(c[f>>2]|0)|0;if((g|0)==0){b=0;e=7;break}}if((e|0)==7){i=d;return b|0}f=FW(12)|0;Eo(f,c[(c[b>>2]|0)+28>>2]|0,g,(a[b+4|0]&1)!=0);g=f;i=d;return g|0}function Jo(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,j=0,k=0;g=i;c[b>>2]=d;j=b+188|0;a[j]=e&1;k=FW(152)|0;Hq(k,c[d>>2]|0,c[d+4>>2]|0,e,f);c[b+4>>2]=k;if((a[j]&1)==0){c[b+8>>2]=0;j=b;j=c[j>>2]|0;d=j;d=c[d>>2]|0;k=b+168|0;c[k>>2]=d;j=j+4|0;j=c[j>>2]|0;k=b+172|0;c[k>>2]=j;k=b+176|0;c[k>>2]=-1;k=b+180|0;c[k>>2]=-1;k=b+189|0;a[k]=0;i=g;return}else{j=FW(28)|0;Ke(j,c[c[b>>2]>>2]<<2,4,1,0,0,1);c[b+8>>2]=j;h[b+32>>3]=0.0;h[b+40>>3]=.015625;h[b+48>>3]=.04419417382415922;h[b+56>>3]=.08118988160479113;h[b+64>>3]=.125;h[b+72>>3]=.17469281074217108;h[b+80>>3]=.22963966338592295;h[b+88>>3]=.2893790496476896;h[b+96>>3]=.3535533905932738;h[b+104>>3]=.421875;h[b+112>>3]=.49410588440130926;h[b+120>>3]=.5700448858423344;h[b+128>>3]=.649519052838329;h[b+136>>3]=.7323776028286229;h[b+144>>3]=.8184875533567997;h[b+152>>3]=.9077304717673633;h[b+160>>3]=1.0;j=b;j=c[j>>2]|0;d=j;d=c[d>>2]|0;k=b+168|0;c[k>>2]=d;j=j+4|0;j=c[j>>2]|0;k=b+172|0;c[k>>2]=j;k=b+176|0;c[k>>2]=-1;k=b+180|0;c[k>>2]=-1;k=b+189|0;a[k]=0;i=g;return}}function Ko(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,j=0,k=0;g=i;c[b>>2]=d;j=b+188|0;a[j]=e&1;k=FW(152)|0;Iq(k,c[d>>2]|0,c[d+4>>2]|0,e,f);c[b+4>>2]=k;if((a[j]&1)==0){c[b+8>>2]=0;j=b;j=c[j>>2]|0;d=j;d=c[d>>2]|0;k=b+168|0;c[k>>2]=d;j=j+4|0;j=c[j>>2]|0;k=b+172|0;c[k>>2]=j;k=b+176|0;c[k>>2]=-1;k=b+180|0;c[k>>2]=-1;k=b+189|0;a[k]=0;i=g;return}else{j=FW(28)|0;KeKe
7317 ke}else{z=+h[A>>3];x=+h[v+(r*56|0)+16>>3];v=27}}while(0);do{if((v|0)==27){v=0;if(z>=x){B=z;v=33;break}if(z<=0.0){z=+R(+z)}c[(c[l>>2]|0)+((c[k>>2]|0)*12|0)>>2]=~~z;if(x<=0.0){x=+R(+x)}c[(c[l>>2]|0)+((c[k>>2]|0)*12|0)+4>>2]=~~x}}while(0);if((v|0)==33){v=0;if(x<=0.0){x=+R(+x)}c[(c[l>>2]|0)+((c[k>>2]|0)*12|0)>>2]=~~x;if(B<=0.0){B=+R(+B)}c[(c[l>>2]|0)+((c[k>>2]|0)*12|0)+4>>2]=~~B}do{if(u<=p&p<t){s=c[s>>2]|0;if((s&16|0)!=0){v=43;break}if((a[m]&1)==0){s=(s>>>5&2)+ -1|0}else{s=1}c[(c[l>>2]|0)+((c[k>>2]|0)*12|0)+8>>2]=s}else{v=43}}while(0);if((v|0)==43){c[(c[l>>2]|0)+((c[k>>2]|0)*12|0)+8>>2]=0}w=(c[k>>2]|0)+1|0;c[k>>2]=w;y=c[b>>2]|0}r=r+1|0;if((r|0)>=(c[y+4>>2]|0)){v=46;break}}if((v|0)==46){D=l;D=c[D>>2]|0;F=w*12|0;F=D+F|0;C=j;A=185;c[C>>2]=A;jr(D,F,g);F=e;c[F>>2]=d;F=b+28|0;c[F>>2]=0;F=b+32|0;c[F>>2]=0;i=f;return}}function dr(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+24>>2]|0)!=(e|0)){cr(b,e)}e=c[b+44>>2]|0;a:do{if((e|0)>0){g=c[b+40>>2]|0;j=0;h=0;while(1){if((c[g+(h*12|0)>>2]|0)>(d|0)){break a}if((c[g+(h*12|0)+4>>2]|0)>=(d|0)){b=1;break}j=(c[g+(h*12|0)+8>>2]|0)+j|0;h=h+1|0;if((h|0)>=(e|0)){break a}}i=f;return b|0}else{j=0}}while(0);if((a[b+4|0]&1)==0){b=(j|0)!=0|0}else{b=j&1}j=(b|0)!=0;i=f;return j|0}function er(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;g=i;if((c[b+24>>2]|0)!=(f|0)){cr(b,f)}f=c[b+44>>2]|0;a:do{if((f|0)>0){h=c[b+40>>2]|0;j=0;k=0;do{if((c[h+(k*12|0)+4>>2]|0)>=(d|0)){break a}j=(c[h+(k*12|0)+8>>2]|0)+j|0;k=k+1|0;}while((k|0)<(f|0))}else{j=0;k=0}}while(0);if((d|0)>(e|0)){m=1;i=g;return m|0}h=b+40|0;b=b+4|0;l=d+ -1|0;while(1){if((k|0)>=(f|0)){e=0;f=16;break}d=c[h>>2]|0;if((c[d+(k*12|0)>>2]|0)>(l+1|0)){if((a[b]&1)==0){m=(j|0)!=0|0}else{m=j&1}if((m|0)==0){e=0;f=16;break}}m=c[d+(k*12|0)+4>>2]|0;l=(m|0)>(l|0)?m:l;if((l|0)<(e|0)){j=(c[d+(k*12|0)+8>>2]|0)+j|0;k=k+1|0}else{e=1;f=16;break}}if((f|0)==16){i=g;return e|0}return 0}function fr(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;if((c[b+24>>2]|0)!=(d|0)){cr(b,d)}k=b+28|0;n=c[k>>2]|0;h=c[b+44>>2]|0;if((n|0)>=(h|0)){p=0;i=g;return p|0}j=c[b+40>>2]|0;d=c[j+(n*12|0)>>2]|0;o=c[j+(n*12|0)+4>>2]|0;l=b+32|0;m=(c[l>>2]|0)+(c[j+(n*12|0)+8>>2]|0)|0;c[l>>2]=m;n=n+1|0;c[k>>2]=n;a:do{if((n|0)<(h|0)){b=b+4|0;do{if((c[j+(n*12|0)>>2]|0)>(o|0)){if((a[b]&1)==0){p=(m|0)!=0|0}else{p=m&1}if((p|0)==0){break a}}p=c[j+(n*12|0)+4>>2]|0;o=(p|0)>(o|0)?p:o;m=m+(c[j+(n*12|0)+8>>2]|0)|0;c[l>>2]=m;n=n+1|0;c[k>>2]=n;}while((n|0)<(h|0))}}while(0);c[e>>2]=d;c[f>>2]=o;p=1;i=g;return p|0}function gr(a,b){a=a|0;b=b|0;i=i;return(c[a>>2]|0)<(c[b>>2]|0)|0}function hr(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;l=i;j=e+20|0;k=e+12|0;bX(c[j>>2]|0,0,da(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=(da(c[q>>2]|0,h)|0)+(s>>3)|0;u=v+w|0;x=s&7;if((x|0)!=0){x=65280>>>x;s=s&-8;if((s|0)==(t&-8|0)){x=255>>>(t&7)&x&255}else{x=x&255}a[u]=a[u]&x;u=v+(w+1)|0;s=s+8|0}if((s+7|0)<=(t|0)){w=u;v=s;while(1){u=w+1|0;a[w]=0;s=v+8|0;if((v+15|0)>(t|0)){break}else{v=s;w=u}}}if((s|0)>=(t|0)){break}a[u]=(d[u]|0)&255>>>(t&7)}}while(0);h=h+1|0;}while((h|0)<4);i=j;return}function jr(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,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;e=i;l=i;i=i+16|0;q=i;i=i+16|0;r=i;i=i+16|0;p=i;i=i+16|0;o=i;i=i+16|0;E=i;i=i+16|0;G=i;i=i+16|0;C=i;i=i+16|0;F=i;i=i+16|0;D=i;i=i+16|0;z=i;i=i+16|0;A=i;i=i+16|0;y=i;i=i+16|0;B=i;i=i+16|0;g=i;i=i+16|0;f=g;h=i;i=i+16|0;j=i;i=i+16|0;n=i;i=i+16|0;k=i;i=i+16|0;u=i;i=i+16|0;s=i;i=i+16|0;t=i;i=i+16|0;w=i;i=i+16|0;v=i;i=i+16|0;M=i;i=i+16|0;L=i;i=i+16|0;I=i;i=i+16|0;H=i;i=i+16|0;x=i;i=i+16|0;J=i;i=i+16|0;a:while(1){m=b+ -12|0;b:while(1){O=b-a|0;switch((O|0)/12|0|0){case 4:{K=14;break a};case 3:{K=6;break a};case 5:{K=15;break a};case 1:case 0:{K=81;break a};case 2:{K=4;break a};default:{}}if((O|0)<372){K=21;break a}P=(O|0)/24|0;N=a+(P*12|0)|0;do{if((O|0)>11988){Q=(O|0)/48|0;O=a+(Q*12|0)|0;Q=a+((Q+P|0)*12|0)|0;P=kr(a,O,N,Q,d)|0;if(!(Bd[c[d>>2]&255](m,Q)|0)){break}$W(B|0,Q|0,12)|0;$W(Q|0,m|0,12)|0;$W(m|0,B|0,12)|0;if(!(Bd[c[d>>2]&255](Q,N)|0)){P=P+1|0;break}$W(A|0,N|0,12)|0;$W(N|0,Q|0,12)|0;$W(Q|0,A|0,12)|0;if(!(Bd[c[d>>2]&255](N,O)|0)){P=P+2|0;break}$W(z|0,O|0,12)|0;$W(O|0,N|0,12)|0;$W(N|0,z|0,12)|0;if(!(Bd[c[d>>2]&255](O,a)|0)){P=P+3|0;break}$W(y|0,a|0,12)|0;$W(a|0,O|0,12)|0;$W(O|0,y|0,12)|0;P=P+4|0}else{S=Bd[c[d>>2]&255](N,a)|0;O=Bd[c[d>>2]&255](m,N)|0;if(!S){if(!O){P=0;break}$W(D|0,N|0,12)|0;$W(N|0,m|0,12)|0;$W(m|0,D|0,12)|0;if(!(Bd[c[d>>2]&255](N,a)|0)){P=1;break}$W(C|0,a|0,12)|0;$W(a|0,N|0,12)|0;$W(N|0,C|0,12)|0;P=2;break}if(O){$W(E|0,a|0,12)|0;$W(a|0,m|0,12)|0;$W(m|0,E|0,12)|0;P=1;break}$W(G|0,a|0,12)|0;$W(a|0,N|0,12)|0;$W(N|0,G|0,12)|0;if(!(Bd[c[d>>2]&255](m,N)|0)){P=1;break}$W(F|0,N|0,12)|0;$W(N|0,m|0,12)|0;$W(m|0,F|0,12)|0;P=2}}while(0);do{if(Bd[c[d>>2]&255](a,N)|0){Q=m}else{Q=m;while(1){Q=Q+ -12|0;if((a|0)==(Q|0)){break}if(Bd[c[d>>2]&255](Q,N)|0){K=64;break}else{}}if((K|0)==64){K=0;$W(I|0,a|0,12)|0;$W(a|0,Q|0,12)|0;$W(Q|0,I|0,12)|0;P=P+1|0;break}O=a+12|0;if(!(Bd[c[d>>2]&255](a,m)|0)){if((O|0)==(m|0)){K=81;break a}while(1){N=O+12|0;if(Bd[c[d>>2]&255](a,O)|0){break}if((N|0)==(m|0)){K=81;break a}else{O=N}}$W(x|0,O|0,12)|0;$W(O|0,m|0,12)|0;$W(m|0,x|0,12)|0;O=N}if((O|0)==(m|0)){K=81;break a}else{N=m}while(1){while(1){P=O+12|0;if(Bd[c[d>>2]&255](a,O)|0){break}else{O=P}}do{N=N+ -12|0;}while(Bd[c[d>>2]&255](a,N)|0);if(O>>>0>=N>>>0){a=O;continue b}$W(H|0,O|0,12)|0;$W(O|0,N|0,12)|0;$W(N|0,H|0,12)|0;O=P}}}while(0);O=a+12|0;c:do{if(O>>>0<Q>>>0){while(1){S=O;while(1){O=S+12|0;if(Bd[c[d>>2]&255](S,N)|0){S=O}else{R=Q;break}}do{R=R+ -12|0;}while(!(Bd[c[d>>2]&255](R,N)|0));if(S>>>0>R>>>0){O=S;break c}$W(L|0,S|0,12)|0;$W(S|0,R|0,12)|0;$W(R|0,L|0,12)|0;Q=R;N=(N|0)==(S|0)?R:N;P=P+1|0}}}while(0);do{if((O|0)!=(N|0)){if(!(Bd[c[d>>2]&255](N,O)|0)){break}$W(M|0,O|0,12)|0;$W(O|0,N|0,12)|0;$W(N|0,M|0,12)|0;P=P+1|0}}while(0);if((P|0)==0){P=lr(a,O,d)|0;N=O+12|0;if(lr(N,b,d)|0){K=76;break}if(P){a=N;continue}}if((O-a|0)>=(b-O|0)){K=80;break}jr(a,O,d);a=O+12|0}if((K|0)==76){K=0;if(P){K=81;break}else{b=O;continue}}else if((K|0)==80){K=0;jr(O+12|0,b,d);b=O;continue}}if((K|0)==4){if(!(Bd[c[d>>2]&255](m,a)|0)){i=e;return}$W(J|0,a|0,12)|0;$W(a|0,m|0,12)|0;$W(m|0,J|0,12)|0;i=e;return}else if((K|0)==6){f=a+12|0;S=Bd[c[d>>2]&255](f,a)|0;g=Bd[c[d>>2]&255](m,f)|0;if(!S){if(!g){i=e;return}$W(v|0,f|0,12)|0;$W(f|0,m|0,12)|0;$W(m|0,v|0,12)|0;if(!(Bd[c[d>>2]&255](f,a)|0)){i=e;return}$W(t|0,a|0,12)|0;$W(a|0,f|0,12)|0;$W(f|0,t|0,12)|0;i=e;return}if(g){$W(u|0,a|0,12)|0;$W(a|0,m|0,12)|0;$W(m|0,u|0,12)|0;i=e;return}$W(s|0,a|0,12)|0;$W(a|0,f|0,12)|0;$W(f|0,s|0,12)|0;if(!(Bd[c[d>>2]&255](m,f)|0)){i=e;return}$W(w|0,f|0,12)|0;$W(f|0,m|0,12)|0;$W(m|0,w|0,12)|0;i=e;return}else if((K|0)==14){kr(a,a+12|0,a+24|0,m,d)|0;i=e;return}else if((K|0)==15){b=a+12|0;f=a+24|0;g=a+36|0;kr(a,b,f,g,d)|0;if(!(Bd[c[d>>2]&255](m,g)|0)){i=e;return}$W(k|0,g|0,12)|0;$W(g|0,m|0,12)|0;$W(m|0,k|0,12)|0;if(!(Bd[c[d>>2]&255](g,f)|0)){i=e;return}$W(j|0,f|0,12)|0;$W(f|0,g|0,12)|0;$W(g|0,j|0,12)|0;if(!(Bd[c[d>>2]&255](f,b)|0)){i=e;return}$W(h|0,b|0,12)|0;$W(b|0,f|0,12)|0;$W(f|0,h|0,12)|0;if(!(Bd[c[d>>2]&255](b,a)|0)){i=e;return}$W(n|0,a|0,12)|0;$W(a|0,b|0,12)|0;$W(b|0,n|0,12)|0;i=e;return}else if((K|0)==21){h=a+24|0;k=a+12|0;S=Bd[c[d>>2]&255](k,a)|0;j=Bd[c[d>>2]&255](h,k)|0;do{if(S){if(j){$W(l|0,a|0,12)|0;$W(a|0,h|0,12)|0;$W(h|0,l|0,12)|0;break}$W(q|0,a|0,12)|0;$W(a|0,k|0,12)|0;$W(k|0,q|0,12)|0;if(!(Bd[c[d>>2]&255](h,k)|0)){break}$W(p|0,k|0,12)|0;$W(k|0,h|0,12)|0;$W(h|0,p|0,12)|0}else{if(!j){break}$W(o|0,k|0,12)|0;$W(k|0,h|0,12)|0;$W(h|0,o|0,12)|0;if(!(Bd[c[d>>2]&255](k,a)|0)){break}$W(r|0,a|0,12)|0;$W(a|0,k|0,12)|0;$W(k|0,r|0,12)|0}}while(0);j=a+36|0;if((j|0)==(b|0)){i=e;return}while(1){if(Bd[c[d>>2]&255](j,h)|0){$W(g|0,j|0,12)|0;k=j;while(1){$W(k|0,h|0,12)|0;if((h|0)==(a|0)){break}k=h+ -12|0;if(Bd[c[d>>2]&255](f,k)|0){S=h;h=k;k=S}else{break}}$W(h|0,g|0,12)|0}h=j+12|0;if((h|0)==(b|0)){break}else{S=j;j=h;h=S}}i=e;return}else if((K|0)==81){i=e;return}}function kr(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;k=i;n=i;i=i+16|0;p=i;i=i+16|0;l=i;i=i+16|0;o=i;i=i+16|0;m=i;i=i+16|0;h=i;i=i+16|0;g=i;i=i+16|0;j=i;i=i+16|0;r=Bd[c[f>>2]&255](b,a)|0;q=Bd[c[f>>2]&255](d,b)|0;do{if(r){if(q){$W(n|0,a|0,12)|0;$W(a|0,d|0,12)|0;$W(d|0,n|0,12)|0;l=1;break}$W(p|0,a|0,12)|0;$W(a|0,b|0,12)|0;$W(b|0,p|0,12)|0;if(!(Bd[c[f>>2]&255](d,b)|0)){l=1;break}$W(o|0,b|0,12)|0;$W(b|0,d|0,12)|0;$W(d|0,o|0,12)|0;l=2}else{if(!q){l=0;break}$W(m|0,b|0,12)|0;$W(b|0,d|0,12)|0;$W(d|0,m|0,12)|0;if(!(Bd[c[f>>2]&255](b,a)|0)){l=1;break}$W(l|0,a|0,12)|0;$W(a|0,b|0,12)|0;$W(b|0,l|0,12)|0;l=2}}while(0);if(!(Bd[c[f>>2]&255](e,d)|0)){r=l;i=k;return r|0}$W(j|0,d|0,12)|0;$W(d|0,e|0,12)|0;$W(e|0,j|0,12)|0;if(!(Bd[c[f>>2]&255](d,b)|0)){r=l+1|0;i=k;return r|0}$W(h|0,b|0,12)|0;$W(b|0,d|0,12)|0;$W(d|0,h|0,12)|0;if(!(Bd[c[f>>2]&255](b,a)|0)){r=l+2|0;i=k;return r|0}$W(g|0,a|0,12)|0;$W(a|0,b|0,12)|0;$W(b|0,g|0,12)|0;r=l+3|0;i=k;return r|0}function lr(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;e=i;n=i;i=i+16|0;r=i;i=i+16|0;s=i;i=i+16|0;q=i;i=i+16|0;t=i;i=i+16|0;k=i;i=i+16|0;j=i;i=i+16|0;l=i;i=i+16|0;m=i;i=i+16|0;u=i;i=i+16|0;w=i;i=i+16|0;p=i;i=i+16|0;v=i;i=i+16|0;o=i;i=i+16|0;x=i;i=i+16|0;g=i;i=i+16|0;h=g;switch((b-a|0)/12|0|0){case 3:{f=a+12|0;b=b+ -12|0;x=Bd[c[d>>2]&255](f,a)|0;g=Bd[c[d>>2]&255](b,f)|0;if(!x){if(!g){x=1;i=e;return x|0}$W(o|0,f|0,12)|0;$W(f|0,b|0,12)|0;$W(b|0,o|0,12)|0;if(!(Bd[c[d>>2]&255](f,a)|0)){x=1;i=e;return x|0}$W(p|0,a|0,12)|0;$W(a|0,f|0,12)|0;$W(f|0,p|0,12)|0;x=1;i=e;return x|0}if(g){$W(u|0,a|0,12)|0;$W(a|0,b|0,12)|0;$W(b|0,u|0,12)|0;x=1;i=e;return x|0}$W(w|0,a|0,12)|0;$W(a|0,f|0,12)|0;$W(f|0,w|0,12)|0;if(!(Bd[c[d>>2]&255](b,f)|0)){x=1;i=e;return x|0}$W(v|0,f|0,12)|0;$W(f|0,b|0,12)|0;$W(b|0,v|0,12)|0;x=1;i=e;return x|0};case 4:{kr(a,a+12|0,a+24|0,b+ -12|0,d)|0;x=1;i=e;return x|0};case 2:{b=b+ -12|0;if(!(Bd[c[d>>2]&255](b,a)|0)){x=1;i=e;return x|0}$W(x|0,a|0,12)|0;$W(a|0,b|0,12)|0;$W(b|0,x|0,12)|0;x=1;i=e;return x|0};case 5:{h=a+12|0;f=a+24|0;g=a+36|0;b=b+ -12|0;kr(a,h,f,g,d)|0;if(!(Bd[c[d>>2]&255](b,g)|0)){x=1;i=e;return x|0}$W(m|0,g|0,12)|0;$W(g|0,b|0,12)|0;$W(b|0,m|0,12)|0;if(!(Bd[c[d>>2]&255](g,f)|0)){x=1;i=e;return x|0}$W(j|0,f|0,12)|0;$W(f|0,g|0,12)|0;$W(g|0,j|0,12)|0;if(!(Bd[c[d>>2]&255](f,h)|0)){x=1;i=e;return x|0}$W(k|0,h|0,12)|0;$W(h|0,f|0,12)|0;$W(f|0,k|0,12)|0;if(!(Bd[c[d>>2]&255](h,a)|0)){x=1;i=e;return x|0}$W(l|0,a|0,12)|0;$W(a|0,h|0,12)|0;$W(h|0,l|0,12)|0;x=1;i=e;return x|0};case 1:case 0:{x=1;i=e;return x|0};default:{j=a+24|0;k=a+12|0;x=Bd[c[d>>2]&255](k,a)|0;l=Bd[c[d>>2]&255](j,k)|0;do{if(x){if(l){$W(n|0,a|0,12)|0;$W(a|0,j|0,12)|0;$W(j|0,n|0,12)|0;break}$W(r|0,a|0,12)|0;$W(a|0,k|0,12)|0;$W(k|0,r|0,12)|0;if(!(Bd[c[d>>2]&255](j,k)|0)){break}$W(q|0,k|0,12)|0;$W(k|0,j|0,12)|0;$W(j|0,q|0,12)|0}else{if(!l){break}$W(t|0,k|0,12)|0;$W(k|0,j|0,12)|0;$W(j|0,t|0,12)|0;if(!(Bd[c[d>>2]&255](k,a)|0)){break}$W(s|0,a|0,12)|0;$W(a|0,k|0,12)|0;$W(k|0,s|0,12)|0}}while(0);k=a+36|0;if((k|0)==(b|0)){x=1;i=e;return x|0}l=0;while(1){if(Bd[c[d>>2]&255](k,j)|0){$W(g|0,k|0,12)|0;m=k;while(1){$W(m|0,j|0,12)|0;if((j|0)==(a|0)){break}m=j+ -12|0;if(Bd[c[d>>2]&255](h,m)|0){x=j;j=m;m=x}else{break}}$W(j|0,g|0,12)|0;l=l+1|0;if((l|0)==8){break}}j=k+12|0;if((j|0)==(b|0)){a=1;f=35;break}else{x=k;k=j;j=x}}if((f|0)==35){i=e;return a|0}x=(k+12|0)==(b|0);i=e;return x|0}}return 0}function mr(a){a=a|0;var b=0;b=i;do{if((a|0)==0){a=5}else{if((te(a,55048)|0)==0){a=0;break}if((te(a,55056)|0)==0){a=1;break}if((te(a,55064)|0)==0){a=2;break}if((te(a,55072)|0)==0){a=3;break}if((te(a,55088)|0)==0){a=4;break}if((te(a,55104)|0)==0){a=6;break}if((te(a,55112)|0)==0){a=7;break}if((te(a,55128)|0)==0){a=8;break}a=(te(a,55144)|0)==0;a=a?9:5}}while(0);i=b;return a|0}function nr(a,b){a=a|0;b=b|0;var d=0,e=0.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,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0;d=i;j=i;i=i+16|0;k=j;o=i;i=i+16|0;n=o;r=i;i=i+16|0;q=r;t=i;i=i+16|0;u=t;l=i;i=i+16|0;f=l;if((c[a+12>>2]|0)!=4){u=0;i=d;return u|0}c[l>>2]=13;g=f+8|0;c[g>>2]=0;c[g+4>>2]=0;do{if(((c[(ut(a,0,f)|0)>>2]|0)+ -1|0)>>>0<2){s=c[l>>2]|0;if((s+ -1|0)>>>0>=2){c[t>>2]=s;c[u+4>>2]=1;c[u+8>>2]=2;Qe(0,72608,u);tc()}if((s|0)==1){e=+(c[g>>2]|0);break}else{e=+h[g>>3];break}}else{e=0.0}}while(0);Of(f);do{if(((c[(ut(a,1,f)|0)>>2]|0)+ -1|0)>>>0<2){s=c[l>>2]|0;if((s+ -1|0)>>>0>=2){c[r>>2]=s;c[q+4>>2]=1;c[q+8>>2]=2;Qe(0,72608,q);tc()}if((s|0)==1){m=+(c[g>>2]|0);break}else{m=+h[g>>3];break}}else{m=0.0}}while(0);Of(f);do{if(((c[(ut(a,2,f)|0)>>2]|0)+ -1|0)>>>0<2){q=c[l>>2]|0;if((q+ -1|0)>>>0>=2){c[o>>2]=q;c[n+4>>2]=1;c[n+8>>2]=2;Qe(0,72608,n);tc()}if((q|0)==1){p=+(c[g>>2]|0);break}else{p=+h[g>>3];break}}else{p=0.0}}while(0);Of(f);do{if(((c[(ut(a,3,f)|0)>>2]|0)+ -1|0)>>>0<2){l=c[l>>2]|0;if((l+ -1|0)>>>0>=2){c[j>>2]=l;c[k+4>>2]=1;c[k+8>>2]=2;Qe(0,72608,k);tc()}if((l|0)==1){v=+(c[g>>2]|0);break}else{v=+h[g>>3];break}}else{v=0.0}}while(0);Of(f);if(!(v!=0.0&((e<0.0|m<0.0|p<0.0)^1))){u=0;i=d;return u|0}x=+h[b+16>>3];w=+h[b>>3];if(x-w-e-p<0.0){u=0;i=d;return u|0}y=+h[b+24>>3];z=+h[b+8>>3];if(y-z-m-v<0.0){u=0;i=d;return u|0}u=FW(32)|0;bX(u|0,0,24)|0;h[u>>3]=e+w;h[u+8>>3]=m+z;h[u+16>>3]=x-p;h[u+24>>3]=y-v;i=d;return u|0}function or(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.0;d=i;g=i;i=i+16|0;j=g;m=i;i=i+8|0;l=m;k=i;i=i+16|0;e=k;c[k>>2]=13;f=e+8|0;c[f>>2]=0;c[f+4>>2]=0;do{if((c[(Yu(b,55152,e,0)|0)>>2]|0)==4){n=FW(32)|0;o=c[k>>2]|0;if((o|0)!=4){c[m>>2]=o;c[l+4>>2]=4;Qe(0,72520,l);tc()}fe(n,c[f>>2]|0);c[a>>2]=(te(n,55160)|0)==0;if((n|0)==0){break}keke(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){keke(d);HW(d)}d=c[a+40>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+44>>2]|0;if((d|0)!=0){ke(d);HW(d)}Of(a+64|0);d=c[a+80>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+128>>2]|0;if((d|0)!=0){fd[c[(c[d>>2]|0)+4>>2]&511](d)}d=c[a+132>>2]|0;if((d|0)==0){d=a+96|0;Of(d);i=b;return}HW(d);d=a+96|0;Of(d);i=b;return}function Dr(a,b,d,e,f){a=a|0;b=+b;d=+d;e=+e;f=f|0;var g=0,j=0,l=0,m=0,n=0.0,o=0.0,p=0.0,q=0,r=0,s=0.0,t=0.0,u=0,v=0,w=0.0,x=0.0,y=0,z=0,A=0,B=0;g=i;m=i;i=i+48|0;j=m;r=i;i=i+48|0;l=r;v=i;i=i+48|0;q=v;z=i;i=i+48|0;u=z;B=i;i=i+16|0;y=B;a=a+124|0;A=c[a>>2]|0;n=b+e;h[k>>3]=n;c[B>>2]=c[k>>2];c[B+4>>2]=c[k+4>>2];B=y+8|0;h[k>>3]=d;c[B>>2]=c[k>>2];c[B+4>>2]=c[k+4>>2];pe(A,55832,y)|0;y=c[a>>2]|0;o=e*.55228475;w=o+d;p=o+b;x=d+e;h[k>>3]=n;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];z=u+8|0;h[k>>3]=w;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];z=u+16|0;h[k>>3]=p;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];z=u+24|0;h[k>>3]=x;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];z=u+32|0;h[k>>3]=b;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];z=u+40|0;h[k>>3]=x;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];pe(y,55856,u)|0;u=c[a>>2]|0;s=b-o;t=b-e;h[k>>3]=s;c[v>>2]=c[k>>2];c[v+4>>2]=c[k+4>>2];v=q+8|0;h[k>>3]=x;c[v>>2]=c[k>>2];c[v+4>>2]=c[k+4>>2];v=q+16|0;h[k>>3]=t;c[v>>2]=c[k>>2];c[v+4>>2]=c[k+4>>2];v=q+24|0;h[k>>3]=w;c[v>>2]=c[k>>2];c[v+4>>2]=c[k+4>>2];v=q+32|0;h[k>>3]=t;c[v>>2]=c[k>>2];c[v+4>>2]=c[k+4>>2];v=q+40|0;h[k>>3]=d;c[v>>2]=c[k>>2];c[v+4>>2]=c[k+4>>2];pe(u,55856,q)|0;q=c[a>>2]|0;o=d-o;e=d-e;h[k>>3]=t;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=l+8|0;h[k>>3]=o;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=l+16|0;h[k>>3]=s;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=l+24|0;h[k>>3]=e;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=l+32|0;h[k>>3]=b;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];r=l+40|0;h[k>>3]=e;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];pe(q,55856,l)|0;l=c[a>>2]|0;h[k>>3]=p;c[m>>2]=c[k>>2];c[m+4>>2]=c[k+4>>2];m=j+8|0;h[k>>3]=e;c[m>>2]=c[k>>2];c[m+4>>2]=c[k+4>>2];m=j+16|0;h[k>>3]=n;c[m>>2]=c[k>>2];c[m+4>>2]=c[k+4>>2];m=j+24|0;h[k>>3]=o;c[m>>2]=c[k>>2];c[m+4>>2]=c[k+4>>2];m=j+32|0;h[k>>3]=n;c[m>>2]=c[k>>2];c[m+4>>2]=c[k+4>>2];m=j+40|0;h[k>>3]=d;c[m>>2]=c[k>>2];c[m+4>>2]=c[k+4>>2];pe(l,55856,j)|0;ne(c[a>>2]|0,f?55912:55920,-1)|0;i=g;return}function Er(a,b,d,e,f){a=a|0;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.0;g=i;l=i;i=i+8|0;k=l;n=i;i=i+8|0;p=n;r=i;i=i+8|0;s=r;A=i;i=i+8|0;z=A;B=i;i=i+8|0;C=B;G=i;i=i+8|0;E=G;H=i;i=i+8|0;I=H;J=i;i=i+8|0;K=J;M=i;i=i+8|0;L=M;N=i;i=i+8|0;O=N;u=i;i=i+16|0;t=u;F=i;i=i+16|0;D=F;q=i;i=i+16|0;m=q;x=i;i=i+16|0;o=x;c[u>>2]=13;v=t+8|0;c[v>>2]=0;y=v+4|0;c[y>>2]=0;c[F>>2]=13;j=D+8|0;c[j>>2]=0;c[j+4>>2]=0;c[q>>2]=13;j=m+8|0;c[j>>2]=0;c[j+4>>2]=0;w=a+112|0;Jf(m,c[w>>2]|0)|0;a=a+124|0;P=c[(c[a>>2]|0)+24>>2]|0;c[y>>2]=0;c[u>>2]=1;c[v>>2]=P;P=c[q>>2]|0;if((P|0)!=7){c[N>>2]=P;c[O+4>>2]=7;Qe(0,72520,O);tc()}Wu(c[j>>2]|0,55936,t);c[v>>2]=0;c[y>>2]=0;c[u>>2]=4;c[v>>2]=Ge(55952)|0;N=c[q>>2]|0;if((N|0)!=7){c[M>>2]=N;c[L+4>>2]=7;Qe(0,72520,L);tc()}Wu(c[j>>2]|0,55944,t);If(t,c[w>>2]|0)|0;Q=+h[b>>3];c[F>>2]=2;L=D+8|0;h[L>>3]=Q;M=c[u>>2]|0;if((M|0)!=6){c[J>>2]=M;c[K+4>>2]=6;Qe(0,72520,K);tc()}tt(c[v>>2]|0,D);Q=+h[b+8>>3];c[F>>2]=2;h[L>>3]=Q;J=c[u>>2]|0;if((J|0)!=6){c[H>>2]=J;c[I+4>>2]=6;Qe(0,72520,I);tc()}tt(c[v>>2]|0,D);Q=+h[b+16>>3];c[F>>2]=2;h[L>>3]=Q;H=c[u>>2]|0;if((H|0)!=6){c[G>>2]=H;c[E+4>>2]=6;Qe(0,72520,E);tc()}tt(c[v>>2]|0,D);Q=+h[b+24>>3];c[F>>2]=2;h[L>>3]=Q;E=c[u>>2]|0;if((E|0)!=6){c[B>>2]=E;c[C+4>>2]=6;Qe(0,72520,C);tc()}tt(c[v>>2]|0,D);B=c[q>>2]|0;if((B|0)!=7){c[A>>2]=B;c[z+4>>2]=7;Qe(0,72520,z);tc()}Wu(c[j>>2]|0,55960,t);do{if(d){c[x>>2]=13;z=o+8|0;c[z>>2]=0;c[z+4>>2]=0;Jf(o,c[w>>2]|0)|0;c[v>>2]=0;c[y>>2]=0;c[u>>2]=4;c[v>>2]=Ge(55968)|0;u=c[x>>2]|0;if((u|0)!=7){c[r>>2]=u;c[s+4>>2]=7;Qe(0,72520,s);tc()}Wu(c[z>>2]|0,55152,t);r=c[q>>2]|0;if((r|0)==7){Wu(c[j>>2]|0,55984,o);break}else{c[n>>2]=r;c[p+4>>2]=7;Qe(0,72520,p);tc()}}}while(0);if((e|0)==0){P=FW(56)|0;N=a;N=c[N>>2]|0;N=N+28|0;N=c[N>>2]|0;N=Ge(N)|0;O=a;O=c[O>>2]|0;O=O+24|0;O=c[O>>2]|0;Tj(P,N,0,O,m);O=P;O=c[O>>2]|0;O=O+116|0;O=c[O>>2]|0;hd[O&127](P,1);Lf(f,P)|0;i=g;return}n=c[q>>2]|0;if((n|0)!=7){c[l>>2]=n;c[k+4>>2]=7;Qe(0,72520,k);tc()}Wu(c[j>>2]|0,55992,e);P=FW(56)|0;N=a;N=c[N>>2]|0;N=N+28|0;N=c[N>>2]|0;N=Ge(N)|0;O=a;O=c[O>>2]|0;O=O+24|0;O=c[O>>2]|0;Tj(P,N,0,O,m);O=P;O=c[O>>2]|0;O=O+116|0;O=c[O>>2]|0;hd[O&127](P,1);Lf(f,P)|0;i=g;return}function Fr(a,b,d,e,f,g,j){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;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,H=0,I=0,J=0,K=0,L=0,M=0,N=0;m=i;l=i;i=i+8|0;k=l;q=i;i=i+8|0;p=q;t=i;i=i+8|0;r=t;w=i;i=i+8|0;x=w;A=i;i=i+8|0;z=A;F=i;i=i+8|0;G=F;L=i;i=i+8|0;K=L;H=i;i=i+16|0;v=H;C=i;i=i+16|0;o=C;u=i;i=i+16|0;n=u;E=i;i=i+16|0;D=E;c[H>>2]=13;B=v+8|0;c[B>>2]=0;c[B+4>>2]=0;c[C>>2]=13;y=o+8|0;c[y>>2]=0;c[y+4>>2]=0;c[u>>2]=13;s=n+8|0;c[s>>2]=0;c[s+4>>2]=0;c[E>>2]=13;I=D+8|0;c[I>>2]=0;J=I+4|0;c[J>>2]=0;a=a+112|0;Jf(v,c[a>>2]|0)|0;do{if(f!=1.0){c[E>>2]=2;M=D+8|0;h[M>>3]=f;N=c[H>>2]|0;if((N|0)!=7){c[L>>2]=N;c[K+4>>2]=7;Qe(0,72520,K);tc()}Wu(c[B>>2]|0,55464,D);c[E>>2]=2;h[M>>3]=f;K=c[H>>2]|0;if((K|0)==7){Wu(c[B>>2]|0,56008,D);break}else{c[F>>2]=K;c[G+4>>2]=7;Qe(0,72520,G);tc()}}}while(0);do{if((g|0)!=0){c[I>>2]=0;c[J>>2]=0;c[E>>2]=4;c[I>>2]=Ge(g)|0;E=c[H>>2]|0;if((E|0)==7){Wu(c[B>>2]|0,56016,D);break}else{c[A>>2]=E;c[z+4>>2]=7;Qe(0,72520,z);tc()}}}while(0);Jf(o,c[a>>2]|0)|0;z=c[C>>2]|0;if((z|0)!=7){c[w>>2]=z;c[x+4>>2]=7;Qe(0,72520,x);tc()}Wu(c[y>>2]|0,e,v);Jf(n,c[a>>2]|0)|0;u=c[u>>2]|0;if((u|0)!=7){c[t>>2]=u;c[r+4>>2]=7;Qe(0,72520,r);tc()}Wu(c[s>>2]|0,b,d);Jf(j,c[a>>2]|0)|0;b=c[j>>2]|0;if((b|0)!=7){c[q>>2]=b;c[p+4>>2]=7;Qe(0,72520,p);tc()}p=j+8|0;Wu(c[p>>2]|0,56024,o);o=c[j>>2]|0;if((o|0)==7){Wu(c[p>>2]|0,56040,n);i=m;return}else{c[l>>2]=o;c[k+4>>2]=7;Qe(0,72520,k);tc()}}function Gr(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+16|0;f=g;c[g>>2]=13;g=f+8|0;c[g>>2]=0;c[g+4>>2]=0;g=c[a+48>>2]|0;if((g&2|0)!=0){i=e;return}do{if(d){if((g&4|0)!=0){break}i=e;return}else{if((g&32|0)==0){break}i=e;return}}while(0);g=c[a+88>>2]|0;do{if((g|0)!=0){d=a+96|0;if((c[d>>2]|0)!=9){break}if(GF(g,d)|0){break}i=e;return}}while(0);Nf(a+64|0,c[a+112>>2]|0,f,0)|0;d=c[a+28>>2]|0;Tx(b,f,0,c[a+132>>2]|0,+h[d>>3],+h[d+8>>3],+h[d+16>>3],+h[d+24>>3]);Of(f);i=e;return}function Hr(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;d=i;g=i;i=i+8|0;h=g;l=i;i=i+16|0;j=l;c[l>>2]=13;f=j+8|0;c[f>>2]=0;c[f+4>>2]=0;k=b+152|0;if((c[(Zu(e,56080,k)|0)>>2]|0)!=9){m=b+160|0;c[m>>2]=0;c[m+4>>2]=0;c[k>>2]=5}if((c[(Yu(e,56088,j,0)|0)>>2]|0)!=0){a[b+168|0]=0;Of(j);i=d;return}e=c[l>>2]|0;if((e|0)!=0){c[g>>2]=e;c[h+4>>2]=0;Qe(0,72520,h);tc()}a[b+168|0]=a[f]&1;Of(j);i=d;return}function Ir(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;m=b+16|0;c[m>>2]=0;c[m+4>>2]=0;c[b+64>>2]=13;m=b+72|0;c[m>>2]=0;c[m+4>>2]=0;c[b+96>>2]=13;m=b+104|0;c[m>>2]=0;c[m+4>>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]=56056;c[b+152>>2]=13;g=b+160|0;c[g>>2]=0;c[g+4>>2]=0;c[m>>2]=16;Hr(b,0,e,0);i=l;return}function Jr(a){a=a|0;var b=0;b=i;c[a>>2]=56056;Of(a+152|0);Cr(a);HW(a);i=b;return}function Kr(a){a=a|0;var b=0;b=i;c[a>>2]=56056;Of(a+152|0);Cr(a);i=b;return}function Lr(a,b,d,e,f){a=a|0;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.0;k=i;m=i;i=i+8|0;l=m;p=i;i=i+8|0;o=p;s=i;i=i+8|0;t=s;v=i;i=i+8|0;u=v;x=i;i=i+8|0;w=x;z=i;i=i+8|0;y=z;B=i;i=i+16|0;A=B;D=i;i=i+8|0;C=D;F=i;i=i+8|0;E=F;n=i;i=i+16|0;g=n;r=i;i=i+16|0;j=r;c[r>>2]=13;q=j+8|0;c[q>>2]=0;c[q+4>>2]=0;do{if((c[(Yu(d,56120,j,0)|0)>>2]|0)==3){G=c[r>>2]|0;if((G|0)==3){F=c[q>>2]|0;G=FW(32)|0;ie(G,F);c[a+148>>2]=G;break}else{c[F>>2]=G;c[E+4>>2]=3;Qe(0,72520,E);tc()}}else{c[a+148>>2]=0}}while(0);Of(j);do{if((c[(Yu(d,56072,j,0)|0)>>2]|0)==7){E=FW(176)|0;F=c[r>>2]|0;if((F|0)==7){Ir(E,b,c[q>>2]|0,e,f);c[a+152>>2]=E;break}else{c[D>>2]=F;c[C+4>>2]=7;Qe(0,72520,C);tc()}}else{c[a+152>>2]=0}}while(0);Of(j);if(((c[(Yu(d,55464,j,0)|0)>>2]|0)+ -1|0)>>>0<2){f=c[r>>2]|0;if((f+ -1|0)>>>0>=2){c[B>>2]=f;c[A+4>>2]=1;c[A+8>>2]=2;Qe(0,72608,A);tc()}if((f|0)==1){H=+(c[q>>2]|0)}else{H=+h[q>>3]}h[a+160>>3]=H}else{h[a+160>>3]=1.0}Of(j);do{if((c[(Yu(d,56128,j,0)|0)>>2]|0)==3){A=c[r>>2]|0;if((A|0)==3){F=c[q>>2]|0;G=FW(32)|0;ie(G,F);c[a+168>>2]=G;break}else{c[z>>2]=A;c[y+4>>2]=3;Qe(0,72520,y);tc()}}else{c[a+168>>2]=0}}while(0);Of(j);y=a+172|0;do{if((c[(Zu(d,56144,j)|0)>>2]|0)==9){z=c[r>>2]|0;if((z|0)==9){E=q;F=c[E+4>>2]|0;G=y;c[G>>2]=c[E>>2];c[G+4>>2]=F;break}else{c[x>>2]=z;c[w+4>>2]=9;Qe(0,72520,w);tc()}}else{c[y>>2]=0;c[a+176>>2]=0}}while(0);Of(j);do{if((c[(Yu(d,56152,j,0)|0)>>2]|0)==3){w=c[r>>2]|0;if((w|0)==3){F=c[q>>2]|0;G=FW(32)|0;ie(G,F);c[a+180>>2]=G;break}else{c[v>>2]=w;c[u+4>>2]=3;Qe(0,72520,u);tc()}}else{c[a+180>>2]=0}}while(0);Of(j);do{if((c[(Yu(d,56160,j,0)|0)>>2]|0)==4){u=FW(32)|0;v=c[r>>2]|0;if((v|0)!=4){c[s>>2]=v;c[t+4>>2]=4;Qe(0,72520,t);tc()}fe(u,c[q>>2]|0);do{if((te(u,55440)|0)==0){c[a+184>>2]=0}else{s=a+184|0;if((te(u,55984)|0)==0){c[s>>2]=1;break}else{c[s>>2]=0;break}}}while(0);if((u|0)==0){break}ke(u);HW(u)}else{c[a+184>>2]=0}}while(0);Of(j);if((c[(Yu(d,56168,j,0)|0)>>2]|0)!=7){c[a+188>>2]=0;Of(j);i=k;return}d=c[r>>2]|0;if((d|0)!=7){c[p>>2]=d;c[o+4>>2]=7;Qe(0,72520,o);tc()}G=c[q>>2]|0;c[n>>2]=13;p=g+8|0;c[p>>2]=0;c[p+4>>2]=0;do{if((c[(Yu(G,55944,g,0)|0)>>2]|0)==4){o=FW(32)|0;n=c[n>>2]|0;if((n|0)!=4){c[m>>2]=n;c[l+4>>2]=4;Qe(0,72520,l);tc()}fe(o,c[p>>2]|0);l=(te(o,72592)|0)==0|0;if((o|0)==0){break}ke(o);HW(o)}else{l=0}}while(0);Of(g);c[a+188>>2]=l;Of(j);i=k;return}function Mr(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){j=g+8|0;k=c[j+4>>2]|0;m=b+116|0;c[m>>2]=c[j>>2];c[m+4>>2]=k;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;c[b+24>>2]=0;Kf(h,e)|0;zr(b,d,e,f);c[b>>2]=56104;Lr(b,d,e,f,g);i=l;return}function Nr(a){a=a|0;var b=0;b=i;Or(a);HW(a);i=b;return}function Or(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=56104;d=c[a+148>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+152>>2]|0;if((d|0)!=0){fd[c[(c[d>>2]|0)+4>>2]&511](d)}d=c[a+168>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+180>>2]|0;if((d|0)==0){Cr(a);i=b;return}ke(d);HW(d);Cr(a);i=b;return}function Pr(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;d=i;j=i;i=i+8|0;h=j;m=i;i=i+8|0;l=m;q=i;i=i+8|0;p=q;r=i;i=i+8|0;t=r;o=i;i=i+16|0;e=o;k=i;i=i+16|0;g=k;c[o>>2]=13;n=e+8|0;c[n>>2]=0;c[n+4>>2]=0;do{if((c[(Yu(f,56088,e,0)|0)>>2]|0)==0){s=c[o>>2]|0;if((s|0)==0){a[b+192|0]=a[n]&1;break}else{c[r>>2]=s;c[t+4>>2]=0;Qe(0,72520,t);tc()}}else{a[b+192|0]=0}}while(0);Of(e);t=(c[(Yu(f,56208,e,0)|0)>>2]|0)==4;s=FW(32)|0;do{if(t){r=c[o>>2]|0;if((r|0)==4){fe(s,c[n>>2]|0);c[b+196>>2]=s;break}else{c[q>>2]=r;c[p+4>>2]=4;Qe(0,72520,p);tc()}}else{fe(s,56216);c[b+196>>2]=s}}while(0);Of(e);if((c[(Yu(f,56224,e,0)|0)>>2]|0)!=3){c[b+200>>2]=0;Of(e);i=d;return}c[k>>2]=13;p=g+8|0;c[p>>2]=0;c[p+4>>2]=0;o=c[o>>2]|0;if((o|0)!=3){c[m>>2]=o;c[l+4>>2]=3;Qe(0,72520,l);tc()}l=c[n>>2]|0;do{if((c[(Yu(f,56240,g,0)|0)>>2]|0)==3){f=c[k>>2]|0;if((f|0)!=3){c[j>>2]=f;c[h+4>>2]=3;Qe(0,72520,h);tc()}f=c[p>>2]|0;if((te(f,56248)|0)==0){c[b+200>>2]=1;break}if((te(f,56256)|0)==0){c[b+200>>2]=2;break}if((te(f,56272)|0)==0){c[b+200>>2]=3;break}if((te(f,56288)|0)==0){c[b+200>>2]=4;break}if((te(f,56304)|0)==0){c[b+200>>2]=5;break}if((te(f,56320)|0)==0){c[b+200>>2]=6;break}h=b+200|0;if((te(f,56336)|0)==0){c[h>>2]=7;break}else{c[h>>2]=0;break}}else{c[b+200>>2]=0}}while(0);Of(g);if((te(l,56248)|0)==0){b=b+200|0;switch(c[b>>2]|0){case 7:case 6:case 5:case 4:case 3:{c[b>>2]=0;Of(e);i=d;return};case 0:{c[b>>2]=1;Of(e);i=d;return};default:{Of(e);i=d;return}}}b=b+200|0;if((te(l,56344)|0)!=0){c[b>>2]=0;Of(e);i=d;return}g=c[b>>2]|0;if((g|0)==2|(g|0)==1){c[b>>2]=0;Of(e);i=d;return}else if((g|0)==0){c[b>>2]=7;Of(e);i=d;return}else{Of(e);i=d;return}}function Qr(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=56184;d=c[a+196>>2]|0;if((d|0)!=0){ke(d);HW(d)}Or(a);HW(a);i=b;return}function Rr(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=56184;d=c[a+196>>2]|0;if((d|0)==0){Or(a);i=b;return}ke(d);HW(d);Or(a);i=b;return}function Sr(a,b,d){a=a|0;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.0,z=0,A=0,B=0.0,C=0.0,D=0.0;e=i;r=i;i=i+16|0;u=r;v=i;i=i+32|0;q=v;t=i;i=i+40|0;s=t;l=i;i=i+16|0;f=l;p=i;i=i+32|0;j=p;n=i;i=i+16|0;m=n;o=i;i=i+16|0;g=o;c[l>>2]=13;l=f+8|0;c[l>>2]=0;c[l+4>>2]=0;l=c[a+48>>2]|0;if((l&2|0)!=0){i=e;return}do{if(d){if((l&4|0)!=0){break}i=e;return}else{if((l&32|0)==0){break}i=e;return}}while(0);d=c[a+88>>2]|0;do{if((d|0)!=0){l=a+96|0;if((c[l>>2]|0)!=9){break}if(GF(d,l)|0){break}i=e;return}}while(0);l=a+28|0;x=c[l>>2]|0;d=a+64|0;if((c[d>>2]|0)==5){y=+h[a+160>>3];w=FW(32)|0;ee(w);x=a+124|0;c[x>>2]=w;ne(w,56352,-1)|0;w=a+132|0;z=c[w>>2]|0;do{if((z|0)==0){ne(c[x>>2]|0,56360,-1)|0}else{A=c[z+32>>2]|0;if((A|0)==3){A=c[x>>2]|0;C=+h[z+8>>3];B=+h[z+16>>3];h[k>>3]=+h[z>>3];c[v>>2]=c[k>>2];c[v+4>>2]=c[k+4>>2];z=q+8|0;h[k>>3]=C;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];z=q+16|0;h[k>>3]=B;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];c[q+24>>2]=55800;pe(A,55768,q)|0;break}else if((A|0)==4){A=c[x>>2]|0;D=+h[z+8>>3];B=+h[z+16>>3];C=+h[z+24>>3];v=t;h[k>>3]=+h[z>>3];c[v>>2]=c[k>>2];c[v+4>>2]=c[k+4>>2];z=s+8|0;h[k>>3]=D;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];z=s+16|0;h[k>>3]=B;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];z=s+24|0;h[k>>3]=C;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];c[s+32>>2]=107;pe(A,55728,s)|0;break}else if((A|0)==1){A=c[x>>2]|0;v=r;h[k>>3]=+h[z>>3];c[v>>2]=c[k>>2];c[v+4>>2]=c[k+4>>2];c[u+8>>2]=103;pe(A,55816,u)|0;break}else{break}}}while(0);q=a+196|0;do{if((te(c[q>>2]|0,56216)|0)==0){ne(c[x>>2]|0,56376,-1)|0}else{if((te(c[q>>2]|0,57440)|0)==0){ne(c[x>>2]|0,57448,-1)|0;break}if((te(c[q>>2]|0,58064)|0)==0){ne(c[x>>2]|0,58072,-1)|0;break}if((te(c[q>>2]|0,59480)|0)==0){ne(c[x>>2]|0,59488,-1)|0;break}if((te(c[q>>2]|0,60600)|0)==0){ne(c[x>>2]|0,60616,-1)|0;break}if((te(c[q>>2]|0,61776)|0)==0){ne(c[x>>2]|0,61792,-1)|0;break}if((te(c[q>>2]|0,62360)|0)==0){ne(c[x>>2]|0,62368,-1)|0;break}if((te(c[q>>2]|0,62888)|0)==0){ne(c[x>>2]|0,62896,-1)|0;break}if((te(c[q>>2]|0,55056)|0)!=0){break}ne(c[x>>2]|0,63240,-1)|0}}while(0);ne(c[x>>2]|0,63808,-1)|0;bX(p|0,0,16)|0;h[j+24>>3]=24.0;h[j+16>>3]=24.0;if(y==1.0){Er(a,j,0,0,d)}else{c[n>>2]=13;n=m+8|0;c[n>>2]=0;c[n+4>>2]=0;c[o>>2]=13;n=g+8|0;c[n>>2]=0;c[n+4>>2]=0;Er(a,j,1,0,m);n=c[x>>2]|0;if((n|0)!=0){ke(n);HW(n)}A=FW(32)|0;fe(A,63816);c[x>>2]=A;Fr(a,63832,m,63840,y,0,g);Er(a,j,0,g,d)}g=c[x>>2]|0;if((g|0)!=0){keke(k);HW(k)}else{c[a+168>>2]=1}}while(0);Of(h);if((c[(Yu(e,63904,h,0)|0)>>2]|0)!=6){c[a+176>>2]=0;Of(h);i=d;return}e=FW(8)|0;j=c[j>>2]|0;if((j|0)!=6){c[f>>2]=j;c[g+4>>2]=6;Qe(0,72520,g);tc()}qr(e,c[b>>2]|0,c[a+28>>2]|0);c[a+176>>2]=e;Of(h);i=d;return}function Ur(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]=63856;c[b+152>>2]=13;g=b+160|0;c[g>>2]=0;c[g+4>>2]=0;c[m>>2]=2;Tr(b,0,0,e);i=l;return}function Vr(a){a=a|0;var b=0;b=i;Wr(a);HW(a);i=b;return}function Wr(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;d=i;c[a>>2]=63856;Of(a+152|0);b=c[a+176>>2]|0;if((b|0)==0){Cr(a);i=d;return}h=c[b>>2]|0;if((h|0)!=0){e=b+4|0;f=c[e>>2]|0;if((f|0)>0){g=0;do{j=c[h+(g<<2)>>2]|0;if((j|0)!=0){HW(j);h=c[b>>2]|0;f=c[e>>2]|0}g=g+1|0;}while((g|0)<(f|0))}Fe(h)}HW(b);Cr(a);i=d;return}function Xr(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+16|0;f=g;c[g>>2]=13;g=f+8|0;c[g>>2]=0;c[g+4>>2]=0;g=c[a+48>>2]|0;if((g&2|0)!=0){i=e;return}do{if(d){if((g&4|0)!=0){break}i=e;return}else{if((g&32|0)==0){break}i=e;return}}while(0);g=c[a+88>>2]|0;do{if((g|0)!=0){d=a+96|0;if((c[d>>2]|0)!=9){break}if(GF(g,d)|0){break}i=e;return}}while(0);Nf(a+64|0,c[a+112>>2]|0,f,0)|0;d=c[a+28>>2]|0;Tx(b,f,c[a+128>>2]|0,c[a+132>>2]|0,+h[d>>3],+h[d+8>>3],+h[d+16>>3],+h[d+24>>3]);Of(f);i=e;return}function Yr(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.0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0.0,_=0,$=0,aa=0.0,ba=0.0,ca=0.0,da=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]=da;c[ba+4>>2]=6;Qe(0,72520,ba);tc()}do{if(((c[(ut(c[l>>2]|0,2,T)|0)>>2]|0)+ -1|0)>>>0<2){aa=c[W>>2]|0;if((aa+ -1|0)>>>0>=2){c[_>>2]=aa;c[Z+4>>2]=1;c[Z+8>>2]=2;Qe(0,72608,Z);tc()}if((aa|0)==1){ma=+(c[$>>2]|0);break}else{ma=+h[$>>3];break}}else{ma=0.0}}while(0);Of(T);Z=c[p>>2]|0;if((Z|0)!=6){c[Y>>2]=Z;c[X+4>>2]=6;Qe(0,72520,X);tc()}do{if(((c[(ut(c[l>>2]|0,3,T)|0)>>2]|0)+ -1|0)>>>0<2){W=c[W>>2]|0;if((W+ -1|0)>>>0>=2){c[V>>2]=W;c[U+4>>2]=1;c[U+8>>2]=2;Qe(0,72608,U);tc()}if((W|0)==1){na=+(c[$>>2]|0);break}else{na=+h[$>>3];break}}else{na=0.0}}while(0);Of(T);ka=FW(16)|0;h[ka>>3]=ca;h[ka+8>>3]=la;c[b+192>>2]=ka;ka=FW(16)|0;h[ka>>3]=ma;h[ka+8>>3]=na;c[b+196>>2]=ka}else{I=36}}while(0);if((I|0)==36){ka=FW(16)|0;bX(ka|0,0,16)|0;c[b+192>>2]=ka;ka=FW(16)|0;bX(ka|0,0,16)|0;c[b+196>>2]=ka}Of(g);do{if((c[(Yu(f,64088,g,0)|0)>>2]|0)==6){T=c[p>>2]|0;if((T|0)!=6){c[R>>2]=T;c[S+4>>2]=6;Qe(0,72520,S);tc()}S=c[l>>2]|0;if((c[S+12>>2]|0)!=2){I=54;break}c[N>>2]=13;R=L+8|0;c[R>>2]=0;c[R+4>>2]=0;do{if((c[(ut(S,0,L)|0)>>2]|0)==3){S=c[N>>2]|0;if((S|0)==3){c[b+200>>2]=mr(c[R>>2]|0)|0;break}else{c[Q>>2]=S;c[P+4>>2]=3;Qe(0,72520,P);tc()}}else{c[b+200>>2]=5}}while(0);Of(L);P=c[p>>2]|0;if((P|0)!=6){c[M>>2]=P;c[O+4>>2]=6;Qe(0,72520,O);tc()}do{if((c[(ut(c[l>>2]|0,1,L)|0)>>2]|0)==3){M=c[N>>2]|0;if((M|0)==3){c[b+204>>2]=mr(c[R>>2]|0)|0;break}else{c[J>>2]=M;c[K+4>>2]=3;Qe(0,72520,K);tc()}}else{c[b+204>>2]=5}}while(0);Of(L)}else{I=54}}while(0);if((I|0)==54){c[b+204>>2]=5;c[b+200>>2]=5}Of(g);do{if((c[(Yu(f,64136,g,0)|0)>>2]|0)==6){I=FW(40)|0;J=c[p>>2]|0;if((J|0)==6){vr(I,c[l>>2]|0,0);c[b+208>>2]=I;break}else{c[H>>2]=J;c[G+4>>2]=6;Qe(0,72520,G);tc()}}else{c[b+208>>2]=0}}while(0);Of(g);if(((c[(Yu(f,64144,g,0)|0)>>2]|0)+ -1|0)>>>0<2){G=c[p>>2]|0;if((G+ -1|0)>>>0>=2){c[E>>2]=G;c[F+4>>2]=1;c[F+8>>2]=2;Qe(0,72608,F);tc()}if((G|0)==1){ca=+(c[l>>2]|0)}else{ca=+h[l>>3]}h[b+216>>3]=ca}else{h[b+216>>3]=0.0}Of(g);do{if(((c[(Yu(f,64152,g,0)|0)>>2]|0)+ -1|0)>>>0<2){E=c[p>>2]|0;if((E+ -1|0)>>>0>=2){c[D>>2]=E;c[C+4>>2]=1;c[C+8>>2]=2;Qe(0,72608,C);tc()}if((E|0)==1){ca=+(c[l>>2]|0)}else{ca=+h[l>>3]}C=b+224|0;h[C>>3]=ca;if(ca>=0.0){break}h[C>>3]=0.0}else{h[b+224>>3]=0.0}}while(0);Of(g);do{if((c[(Yu(f,64160,g,0)|0)>>2]|0)==0){C=c[p>>2]|0;if((C|0)==0){a[b+232|0]=a[l]&1;break}else{c[A>>2]=C;c[B+4>>2]=0;Qe(0,72520,B);tc()}}else{a[b+232|0]=0}}while(0);Of(g);do{if((c[(Yu(f,64024,g,0)|0)>>2]|0)==4){A=FW(32)|0;B=c[p>>2]|0;if((B|0)!=4){c[y>>2]=B;c[z+4>>2]=4;Qe(0,72520,z);tc()}fe(A,c[l>>2]|0);do{if((te(A,64168)|0)==0){c[b+236>>2]=0}else{y=b+236|0;if((te(A,64184)|0)==0){c[y>>2]=1;break}else{c[y>>2]=0;break}}}while(0);if((A|0)==0){break}ke(A);HW(A)}else{c[b+236>>2]=0}}while(0);Of(g);do{if(((c[(Yu(f,64200,g,0)|0)>>2]|0)+ -1|0)>>>0<2){y=c[p>>2]|0;if((y+ -1|0)>>>0>=2){c[w>>2]=y;c[x+4>>2]=1;c[x+8>>2]=2;Qe(0,72608,x);tc()}if((y|0)==1){ca=+(c[l>>2]|0)}else{ca=+h[l>>3]}w=b+240|0;h[w>>3]=ca;if(ca>=0.0){break}h[w>>3]=0.0}else{h[b+240>>3]=0.0}}while(0);Of(g);do{if((c[(Yu(f,64208,g,0)|0)>>2]|0)==4){w=FW(32)|0;x=c[p>>2]|0;if((x|0)!=4){c[u>>2]=x;c[v+4>>2]=4;Qe(0,72520,v);tc()}fe(w,c[l>>2]|0);do{if((te(w,64216)|0)==0){c[b+248>>2]=0}else{u=b+248|0;if((te(w,64224)|0)==0){c[u>>2]=1;break}else{c[u>>2]=0;break}}}while(0);if((w|0)==0){break}ke(w);HW(w)}else{c[b+248>>2]=0}}while(0);Of(g);Yu(f,64232,g,0)|0;c[b+252>>2]=0;Of(g);do{if((c[(Yu(f,64240,g,0)|0)>>2]|0)==6){f=c[p>>2]|0;if((f|0)!=6){c[s>>2]=f;c[t+4>>2]=6;Qe(0,72520,t);tc()}s=c[l>>2]|0;if((c[s+12>>2]|0)!=2){break}c[n>>2]=13;f=e+8|0;c[f>>2]=0;c[f+4>>2]=0;if(((c[(ut(s,0,e)|0)>>2]|0)+ -1|0)>>>0<2){s=c[n>>2]|0;if((s+ -1|0)>>>0>=2){c[r>>2]=s;c[q+4>>2]=1;c[q+8>>2]=2;Qe(0,72608,q);tc()}if((s|0)==1){ca=+(c[f>>2]|0)}else{ca=+h[f>>3]}h[b+256>>3]=ca}else{h[b+256>>3]=0.0}Of(e);p=c[p>>2]|0;if((p|0)!=6){c[m>>2]=p;c[o+4>>2]=6;Qe(0,72520,o);tc()}if(((c[(ut(c[l>>2]|0,1,e)|0)>>2]|0)+ -1|0)>>>0<2){l=c[n>>2]|0;if((l+ -1|0)>>>0>=2){c[j>>2]=l;c[k+4>>2]=1;c[k+8>>2]=2;Qe(0,72608,k);tc()}if((l|0)==1){ca=+(c[f>>2]|0)}else{ca=+h[f>>3]}h[b+264>>3]=ca}else{h[b+264>>3]=0.0}Of(e);Of(g);i=d;return}}while(0);bX(b+256|0,0,16)|0;Of(g);i=d;return}function as(a){a=a|0;var b=0;b=i;bs(a);HW(a);i=b;return}function bs(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=64104;d=c[a+192>>2]|0;if((d|0)!=0){HW(d)}d=c[a+196>>2]|0;if((d|0)!=0){HW(d)}d=c[a+208>>2]|0;if((d|0)!=0){HW(d)}d=c[a+252>>2]|0;if((d|0)==0){Or(a);i=b;return}Su(d);HW(d);Or(a);i=b;return}function cs(a,b,d){a=a|0;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.0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0.0,K=0.0,L=0.0;f=i;q=i;i=i+16|0;r=q;o=i;i=i+16|0;p=o;m=i;i=i+8|0;u=m;w=i;i=i+8|0;x=w;B=i;i=i+16|0;D=B;F=i;i=i+32|0;C=F;E=i;i=i+40|0;G=E;v=i;i=i+16|0;e=v;s=i;i=i+32|0;l=s;t=i;i=i+16|0;j=t;n=i;i=i+16|0;g=n;c[v>>2]=13;v=e+8|0;c[v>>2]=0;c[v+4>>2]=0;v=c[a+48>>2]|0;if((v&2|0)!=0){i=f;return}do{if(d){if((v&4|0)!=0){break}i=f;return}else{if((v&32|0)==0){break}i=f;return}}while(0);d=c[a+88>>2]|0;do{if((d|0)!=0){v=a+96|0;if((c[v>>2]|0)!=9){break}if(GF(d,v)|0){break}i=f;return}}while(0);v=a+28|0;d=c[v>>2]|0;A=+h[d+24>>3];if(+h[d+8>>3]==A){y=c[a+128>>2]|0;if((y|0)==0){J=1.0}else{J=+wd[c[(c[y>>2]|0)+12>>2]&1](y);d=c[v>>2]|0;A=+h[d+24>>3]}h[d+24>>3]=J+A}d=a+64|0;do{if((c[d>>2]|0)==5){A=+h[a+160>>3];y=FW(32)|0;ee(y);z=a+124|0;c[z>>2]=y;ne(y,56352,-1)|0;y=a+132|0;H=c[y>>2]|0;do{if((H|0)!=0){I=c[H+32>>2]|0;if((I|0)==3){I=c[z>>2]|0;K=+h[H+8>>3];J=+h[H+16>>3];G=F;h[k>>3]=+h[H>>3];c[G>>2]=c[k>>2];c[G+4>>2]=c[k+4>>2];H=C+8|0;h[k>>3]=K;c[H>>2]=c[k>>2];c[H+4>>2]=c[k+4>>2];H=C+16|0;h[k>>3]=J;c[H>>2]=c[k>>2];c[H+4>>2]=c[k+4>>2];c[C+24>>2]=55808;pe(I,55768,C)|0;break}else if((I|0)==1){I=c[z>>2]|0;G=B;h[k>>3]=+h[H>>3];c[G>>2]=c[k>>2];c[G+4>>2]=c[k+4>>2];c[D+8>>2]=71;pe(I,55816,D)|0;break}else if((I|0)==4){I=c[z>>2]|0;L=+h[H+8>>3];J=+h[H+16>>3];K=+h[H+24>>3];F=E;h[k>>3]=+h[H>>3];c[F>>2]=c[k>>2];c[F+4>>2]=c[k+4>>2];H=G+8|0;h[k>>3]=L;c[H>>2]=c[k>>2];c[H+4>>2]=c[k+4>>2];H=G+16|0;h[k>>3]=J;c[H>>2]=c[k>>2];c[H+4>>2]=c[k+4>>2];H=G+24|0;h[k>>3]=K;c[H>>2]=c[k>>2];c[H+4>>2]=c[k+4>>2];c[G+32>>2]=75;pe(I,55728,G)|0;break}else{break}}}while(0);B=a+128|0;C=c[B>>2]|0;if((C|0)!=0){I=(jd[c[(c[C>>2]|0)+24>>2]&511](C)|0)==1;C=c[z>>2]|0;if(I){ne(C,64248,-1)|0;C=c[B>>2]|0;C=jd[c[(c[C>>2]|0)+16>>2]&511](C)|0;D=c[B>>2]|0;D=jd[c[(c[D>>2]|0)+20>>2]&511](D)|0;F=c[z>>2]|0;if((C|0)>0){E=0;while(1){I=w;h[k>>3]=+h[D+(E<<3)>>3];c[I>>2]=c[k>>2];c[I+4>>2]=c[k+4>>2];pe(F,64256,x)|0;E=E+1|0;F=c[z>>2]|0;if((E|0)<(C|0)){}else{break}}}ne(F,64272,-1)|0}else{ne(C,64280,-1)|0}I=c[z>>2]|0;H=c[B>>2]|0;L=+wd[c[(c[H>>2]|0)+12>>2]&1](H);H=m;h[k>>3]=L;c[H>>2]=c[k>>2];c[H+4>>2]=c[k+4>>2];pe(I,64288,u)|0}I=c[z>>2]|0;H=c[a+192>>2]|0;G=c[v>>2]|0;L=+h[H+8>>3]- +h[G+8>>3];F=o;h[k>>3]=+h[H>>3]- +h[G>>3];c[F>>2]=c[k>>2];c[F+4>>2]=c[k+4>>2];F=p+8|0;h[k>>3]=L;c[F>>2]=c[k>>2];c[F+4>>2]=c[k+4>>2];pe(I,55832,p)|0;I=c[z>>2]|0;F=c[a+196>>2]|0;G=c[v>>2]|0;L=+h[F+8>>3]- +h[G+8>>3];H=q;h[k>>3]=+h[F>>3]- +h[G>>3];c[H>>2]=c[k>>2];c[H+4>>2]=c[k+4>>2];H=r+8|0;h[k>>3]=L;c[H>>2]=c[k>>2];c[H+4>>2]=c[k+4>>2];pe(I,64304,r)|0;ne(c[z>>2]|0,55928,-1)|0;ne(c[z>>2]|0,63808,-1)|0;bX(s|0,0,16)|0;I=c[v>>2]|0;h[l+16>>3]=+h[I+16>>3]- +h[I>>3];h[l+24>>3]=+h[I+24>>3]- +h[I+8>>3];if(A==1.0){Er(a,l,0,0,d)}else{c[t>>2]=13;m=j+8|0;c[m>>2]=0;c[m+4>>2]=0;c[n>>2]=13;m=g+8|0;c[m>>2]=0;c[m+4>>2]=0;Er(a,l,1,0,j);m=c[z>>2]|0;if((m|0)!=0){ke(m);HW(m)}I=FW(32)|0;fe(I,63816);c[z>>2]=I;Fr(a,63832,j,63840,A,0,g);Er(a,l,0,g,d)}g=c[z>>2]|0;if((g|0)==0){break}keke(l)}Of(e);if((c[(Yu(f,63904,e,0)|0)>>2]|0)!=6){Qe(-1,64416,m);c[b+192>>2]=0;a[b+144|0]=0;Of(e);i=g;return}f=FW(8)|0;k=c[k>>2]|0;if((k|0)!=6){c[h>>2]=k;c[j+4>>2]=6;Qe(0,72520,j);tc()}qr(f,c[d>>2]|0,c[b+28>>2]|0);c[b+192>>2]=f;Of(e);i=g;return}function es(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;d=i;c[a>>2]=64336;b=c[a+192>>2]|0;if((b|0)==0){Or(a);HW(a);i=d;return}h=c[b>>2]|0;if((h|0)!=0){e=b+4|0;f=c[e>>2]|0;if((f|0)>0){g=0;do{j=c[h+(g<<2)>>2]|0;if((j|0)!=0){HW(j);h=c[b>>2]|0;f=c[e>>2]|0}g=g+1|0;}while((g|0)<(f|0))}Fe(h)}HW(b);Or(a);HW(a);i=d;return}function fs(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;d=i;c[a>>2]=64336;b=c[a+192>>2]|0;if((b|0)==0){Or(a);i=d;return}h=c[b>>2]|0;if((h|0)!=0){e=b+4|0;f=c[e>>2]|0;if((f|0)>0){g=0;do{j=c[h+(g<<2)>>2]|0;if((j|0)!=0){HW(j);h=c[b>>2]|0;f=c[e>>2]|0}g=g+1|0;}while((g|0)<(f|0))}Fe(h)}HW(b);Or(a);i=d;return}function gs(a,b,d){a=a|0;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,C=0,D=0,E=0,F=0,G=0.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.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}keke(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){ke71;break};case 4:{nb=c[Z>>2]|0;je=Pd;h[k>>3]=Fb;c[je>>2]=c[k>>2];c[je+4>>2]=c[k+4>>2];pe(nb,64288,Qd)|0;nb=c[K>>2]|0;if((nb|0)!=6){c[Nd>>2]=nb;c[Id+4>>2]=6;Qe(0,72520,Id);tc()}vr(ld,c[J>>2]|0,0);le=+h[Kd>>3];oe=+h[ld+8>>3];me=+h[ld+16>>3];nb=c[ld+32>>2]|0;if((nb|0)==4){Ae=+h[ld+24>>3];je=c[Z>>2]|0;he=md;h[k>>3]=le;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=vd+8|0;h[k>>3]=oe;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=vd+16|0;h[k>>3]=me;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=vd+24|0;h[k>>3]=Ae;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];c[vd+32>>2]=75;pe(je,55728,vd)|0}else if((nb|0)==3){je=c[Z>>2]|0;he=ud;h[k>>3]=le;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=rd+8|0;h[k>>3]=oe;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=rd+16|0;h[k>>3]=me;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];c[rd+24>>2]=55808;pe(je,55768,rd)|0}else if((nb|0)==1){je=c[Z>>2]|0;he=qd;h[k>>3]=le;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];c[kd+8>>2]=71;pe(je,55816,kd)|0}je=c[Z>>2]|0;he=od;h[k>>3]=Jb;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];pe(je,65208,nd)|0;break};default:{}}if((ka|0)==71){nb=c[Z>>2]|0;je=Lc;h[k>>3]=Fb;c[je>>2]=c[k>>2];c[je+4>>2]=c[k+4>>2];pe(nb,64288,Mc)|0;nb=c[K>>2]|0;if((nb|0)!=6){c[Kc>>2]=nb;c[Jc+4>>2]=6;Qe(0,72520,Jc);tc()}vr(_b,c[J>>2]|0,0);oe=+h[Hc>>3];me=+h[_b+8>>3];le=+h[_b+16>>3];nb=c[_b+32>>2]|0;if((nb|0)==4){Ae=+h[_b+24>>3];je=c[Z>>2]|0;he=Zb;h[k>>3]=oe;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=Yb+8|0;h[k>>3]=me;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=Yb+16|0;h[k>>3]=le;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=Yb+24|0;h[k>>3]=Ae;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];c[Yb+32>>2]=75;pe(je,55728,Yb)|0}else if((nb|0)==3){je=c[Z>>2]|0;he=Xb;h[k>>3]=oe;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=Wb+8|0;h[k>>3]=me;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=Wb+16|0;h[k>>3]=le;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];c[Wb+24>>2]=55808;pe(je,55768,Wb)|0}else if((nb|0)==1){je=c[Z>>2]|0;he=Vb;h[k>>3]=oe;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];c[Ub+8>>2]=71;pe(je,55816,Ub)|0}je=c[Z>>2]|0;he=ac;h[k>>3]=Fb*.5;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=$b+8|0;h[k>>3]=Jb-Fb;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=$b+16|0;h[k>>3]=Ib-Fb;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];pe(je,65104,$b)|0}je=c[Z>>2]|0;Ae=Fb*2.0;he=mb;h[k>>3]=Fb;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=lb+8|0;h[k>>3]=Jb-Ae;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=lb+16|0;h[k>>3]=Ib-Ae;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];pe(je,65232,lb)|0}}while(0);Of(E)}}while(0);Yu(ib,65272,P,0)|0;do{if((c[T>>2]|0)==7){if((c[(Yu(c[hb>>2]|0,65280,E,0)|0)>>2]|0)!=7){g=0;break}lb=FW(8)|0;hb=c[K>>2]|0;if((hb|0)==7){uy(lb,c[b+112>>2]|0,0,c[J>>2]|0);g=lb;break}else{c[fb>>2]=hb;c[gb+4>>2]=7;Qe(0,72520,gb);tc()}}else{g=0}}while(0);Of(E);if((c[(pv(ma,63960,E)|0)>>2]|0)==5){Of(E);Yu(ib,63960,E,0)|0}if((c[K>>2]|0)==3){je=c[J>>2]|0;fb=FW(32)|0;ie(fb,je)}else{fb=0}Of(E);b:do{if((c[db>>2]|0)==4){db=c[eb>>2]|0;if((Qc(db|0,65088)|0)==0){if(jb){do{if((c[(Yu(kb,55464,E,0)|0)>>2]|0)==3){la=c[K>>2]|0;if((la|0)==3){je=c[J>>2]|0;_a=FW(32)|0;ie(_a,je);break}else{c[$a>>2]=la;c[bb+4>>2]=3;Qe(0,72520,bb);tc()}}else{_a=0}}while(0);Of(E)}else{_a=0}do{if((Ga&32768|0)==0){if((Ga&65536|0)!=0){if((_a|0)==0){break b}ns(b,_a,fb,g,0,0,1,0,0,0);break}do{if((c[(Yu(A,55624,E,0)|0)>>2]|0)==4){ha=c[K>>2]|0;if((ha|0)!=4){c[Pa>>2]=ha;c[Oa+4>>2]=4;Qe(0,72520,Oa);tc()}if((Qc(c[J>>2]|0,55632)|0)==0){break}if((_a|0)==0){_a=FW(32)|0;fe(_a,65296)}ns(b,_a,fb,g,0,0,1,0,1,0)}}while(0);Of(E);ka=150}else{if((c[(pv(ma,65288,E)|0)>>2]|0)==4){ka=Yu(A,55624,F,0)|0;la=c[K>>2]|0;if((la|0)!=4){c[Ka>>2]=la;c[Na+4>>2]=4;Qe(0,72520,Na);tc()}do{if((c[ka>>2]|0)==4){la=c[J>>2]|0;if((Qc(c[ka+8>>2]|0,la|0)|0)!=0){break}if((Qc(la|0,55632)|0)==0){break}if((_a|0)!=0){ns(b,_a,fb,g,0,0,1,0,1,0);break}if(!jb){break}do{if((c[(Yu(kb,55448,ha,0)|0)>>2]|0)==6){ja=c[ja>>2]|0;if((ja|0)!=6){c[Ia>>2]=ja;c[Ha+4>>2]=6;Qe(0,72520,Ha);tc()}ia=c[ia>>2]|0;if((c[ia+12>>2]|0)<=0){break}je=c[b+28>>2]|0;Fb=+h[je+16>>3]- +h[je>>3];Ib=+h[je+24>>3]- +h[je+8>>3];vr(xa,ia,0);me=+h[Fa>>3];le=+h[xa+8>>3];Jb=+h[xa+16>>3];ia=c[xa+32>>2]|0;if((ia|0)==4){Ae=+h[xa+24>>3];je=c[Z>>2]|0;he=Aa;h[k>>3]=me;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=ya+8|0;h[k>>3]=le;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=ya+16|0;h[k>>3]=Jb;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=ya+24|0;h[k>>3]=Ae;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];c[ya+32>>2]=107;pe(je,55728,ya)|0}else if((ia|0)==3){je=c[Z>>2]|0;he=za;h[k>>3]=me;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=ua+8|0;h[k>>3]=le;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];he=ua+16|0;h[k>>3]=Jb;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];c[ua+24>>2]=55800;pe(je,55768,ua)|0}else if((ia|0)==1){je=c[Z>>2]|0;he=wa;h[k>>3]=me;c[he>>2]=c[k>>2];c[he+4>>2]=c[k+4>>2];c[va+8>>2]=103;pe(je,55816,va)|0}Dr(b,Fb*.5,Ib*.5,(Fb<Ib?Fb:Ib)*.2,1)}}while(0);Of(ha)}}while(0);Of(F)}Of(E);ka=150}}while(0);if((ka|0)==150){if((_a|0)==0){break}}keke(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,da);tc()}tt(c[sa>>2]|0,K);ca=c[G>>2]|0;if((ca|0)!=7){c[ba>>2]=ca;c[aa+4>>2]=7;Qe(0,72520,aa);tc()}Wu(c[ra>>2]|0,55960,F);If(F,c[X>>2]|0)|0;c[ta>>2]=0;c[S>>2]=1;c[ua>>2]=1;aa=c[Q>>2]|0;if((aa|0)!=6){c[$>>2]=aa;c[_+4>>2]=6;Qe(0,72520,_);tc()}tt(c[sa>>2]|0,K);c[ta>>2]=0;c[S>>2]=1;c[ua>>2]=0;_=c[Q>>2]|0;if((_|0)!=6){c[Z>>2]=_;c[Y+4>>2]=6;Qe(0,72520,Y);tc()}tt(c[sa>>2]|0,K);c[ta>>2]=0;c[S>>2]=1;c[ua>>2]=0;Y=c[Q>>2]|0;if((Y|0)!=6){c[V>>2]=Y;c[W+4>>2]=6;Qe(0,72520,W);tc()}tt(c[sa>>2]|0,K);c[ta>>2]=0;c[S>>2]=1;c[ua>>2]=1;V=c[Q>>2]|0;if((V|0)!=6){c[T>>2]=V;c[U+4>>2]=6;Qe(0,72520,U);tc()}tt(c[sa>>2]|0,K);c[ta>>2]=0;c[S>>2]=1;c[ua>>2]=(N|0)/-2|0;T=c[Q>>2]|0;if((T|0)!=6){c[R>>2]=T;c[O+4>>2]=6;Qe(0,72520,O);tc()}tt(c[sa>>2]|0,K);c[ta>>2]=0;c[S>>2]=1;c[ua>>2]=(J|0)/-2|0;O=c[Q>>2]|0;if((O|0)!=6){c[L>>2]=O;c[M+4>>2]=6;Qe(0,72520,M);tc()}tt(c[sa>>2]|0,K);K=c[G>>2]|0;if((K|0)!=7){c[H>>2]=K;c[I+4>>2]=7;Qe(0,72520,I);tc()}Wu(c[ra>>2]|0,65504,F);F=c[G>>2]|0;if((F|0)!=7){c[C>>2]=F;c[B+4>>2]=7;Qe(0,72520,B);tc()}Wu(c[ra>>2]|0,55992,v);c[E>>2]=13;B=z+8|0;c[B>>2]=0;c[B+4>>2]=0;B=FW(56)|0;xa=Ge(c[(c[P>>2]|0)+28>>2]|0)|0;Tj(B,xa,0,c[(c[P>>2]|0)+24>>2]|0,D);hd[c[(c[B>>2]|0)+116>>2]&127](B,1);Lf(z,B)|0;B=c[P>>2]|0;if((B|0)!=0){ke(B);HW(B)}c[A>>2]=13;B=l+8|0;c[B>>2]=0;c[B+4>>2]=0;Jf(l,c[X>>2]|0)|0;A=c[A>>2]|0;if((A|0)!=7){c[y>>2]=A;c[w+4>>2]=7;Qe(0,72520,w);tc()}Wu(c[B>>2]|0,65496,z);Jf(v,c[X>>2]|0)|0;w=c[x>>2]|0;if((w|0)!=7){c[m>>2]=w;c[n+4>>2]=7;Qe(0,72520,n);tc()}Wu(c[ea>>2]|0,56040,l);xa=FW(32)|0;ee(xa);c[P>>2]=xa;ne(xa,56352,-1)|0;xa=c[P>>2]|0;c[o>>2]=N;c[p+4>>2]=J;pe(xa,65512,p)|0;ne(c[P>>2]|0,56352,-1)|0;xa=c[P>>2]|0;c[q>>2]=N;c[r+4>>2]=J;pe(xa,65512,r)|0;xa=c[P>>2]|0;c[s>>2]=(N|0)/2|0;c[t+4>>2]=(J|0)/2|0;pe(xa,65536,t)|0;ne(c[P>>2]|0,65560,-1)|0;ne(c[P>>2]|0,63808,-1)|0;ne(c[P>>2]|0,63808,-1)|0;bX(u|0,0,16)|0;h[k+16>>3]=+(N|0);h[k+24>>3]=+(J|0);Er(b,k,0,v,e);k=c[P>>2]|0;if((k|0)==0){break}ke(k);HW(k)}}while(0);Of(j)}}while(0);Nf(e,c[b+112>>2]|0,f,0)|0;xa=c[b+28>>2]|0;Tx(d,f,0,c[b+132>>2]|0,+h[xa>>3],+h[xa+8>>3],+h[xa+16>>3],+h[xa+24>>3]);Of(f);i=g;return}function ws(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;d=i;g=i;i=i+8|0;h=g;m=i;i=i+8|0;p=i;i=i+8|0;n=p;l=i;i=i+16|0;k=l;c[l>>2]=13;j=k+8|0;c[j>>2]=0;c[j+4>>2]=0;o=b+148|0;c[o>>2]=0;do{if((c[(Yu(f,56120,k,0)|0)>>2]|0)==3){q=c[l>>2]|0;if((q|0)==3){p=c[j>>2]|0;q=FW(32)|0;ie(q,p);c[o>>2]=q;break}else{c[p>>2]=q;c[n+4>>2]=3;Qe(0,72520,n);tc()}}}while(0);Of(k);n=b+156|0;c[n>>2]=0;do{if((c[(Yu(f,55424,k,0)|0)>>2]|0)==7){q=uE(k,c[e+92>>2]|0)|0;c[n>>2]=q;if((jd[c[(c[q>>2]|0)+12>>2]&511](q)|0)!=6){break}if((c[b+36>>2]|0)!=0){break}Qe(-1,65608,m);e=c[n>>2]|0;if((e|0)!=0){fd[c[(c[e>>2]|0)+4>>2]&511](e)}c[n>>2]=0;a[b+144|0]=0}}while(0);Yu(f,64520,b+160|0,0)|0;b=b+152|0;c[b>>2]=0;if((c[(Yu(f,64512,k,0)|0)>>2]|0)!=7){Of(k);i=d;return}f=FW(32)|0;l=c[l>>2]|0;if((l|0)!=7){c[g>>2]=l;c[h+4>>2]=7;Qe(0,72520,h);tc()}xr(f,c[j>>2]|0);c[b>>2]=f;Of(k);i=d;return}function xs(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]=65584;c[b+160>>2]=13;g=b+168|0;c[g>>2]=0;c[g+4>>2]=0;c[m>>2]=21;ws(b,0,f,e);i=l;return}function ys(a){a=a|0;var b=0;b=i;zs(a);HW(a);i=b;return}function zs(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=65584;d=c[a+148>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+152>>2]|0;if((d|0)!=0){yr(d);HW(d)}d=c[a+156>>2]|0;if((d|0)==0){d=a+160|0;Of(d);Cr(a);i=b;return}fd[c[(c[d>>2]|0)+4>>2]&511](d);d=a+160|0;Of(d);Cr(a);i=b;return}function As(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;h=i;g=i;i=i+8|0;b=g;j=i;i=i+16|0;d=j;c[j>>2]=13;f=d+8|0;c[f>>2]=0;c[f+4>>2]=0;k=(c[(Yu(e,56208,d,0)|0)>>2]|0)==4;e=FW(32)|0;if(!k){fe(e,65712);c[a+192>>2]=e;Of(d);i=h;return}j=c[j>>2]|0;if((j|0)!=4){c[g>>2]=j;c[b+4>>2]=4;Qe(0,72520,b);tc()}fe(e,c[f>>2]|0);c[a+192>>2]=e;Of(d);i=h;return}function Bs(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=65688;d=c[a+192>>2]|0;if((d|0)!=0){ke(d);HW(d)}Or(a);HW(a);i=b;return}function Cs(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=65688;d=c[a+192>>2]|0;if((d|0)==0){Or(a);i=b;return}ke(d);HW(d);Or(a);i=b;return}function Ds(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=i;f=i;i=i+8|0;g=f;k=i;i=i+8|0;l=k;n=i;i=i+8|0;m=n;o=i;i=i+8|0;p=o;j=i;i=i+16|0;h=j;q=i;i=i+32|0;c[j>>2]=13;b=h+8|0;c[b>>2]=0;c[b+4>>2]=0;if((c[(Yu(e,55944,h,0)|0)>>2]|0)==4){r=c[j>>2]|0;if((r|0)!=4){c[o>>2]=r;c[p+4>>2]=4;Qe(0,72520,p);tc()}fe(q,c[b>>2]|0);do{if((te(q,55048)|0)==0){c[a+24>>2]=5}else{if((te(q,55056)|0)!=0){break}c[a+24>>2]=6}}while(0);keke(n);HW(n)}c[j>>2]=13;W=g+8|0;c[W>>2]=0;c[W+4>>2]=0;W=FW(32)|0;fe(W,63816);c[I>>2]=W;Fr(a,63832,l,63840,J,0,g);Er(a,m,0,g,d)}g=c[I>>2]|0;if((g|0)==0){break}ke(g);HW(g)}else{D=a+132|0;p=a+28|0}}while(0);Nf(d,c[a+112>>2]|0,e,0)|0;W=c[p>>2]|0;Tx(b,e,0,c[D>>2]|0,+h[W>>3],+h[W+8>>3],+h[W+16>>3],+h[W+24>>3]);Of(e);i=f;return}function Hs(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;e=i;h=i;i=i+8|0;g=h;l=i;i=i+8|0;m=l;o=i;i=i+8|0;p=o;r=i;i=i+8|0;q=r;v=i;i=i+8|0;u=v;x=i;i=i+8|0;w=x;z=i;i=i+8|0;y=z;C=i;i=i+8|0;B=i;i=i+8|0;A=B;F=i;i=i+8|0;D=F;k=i;i=i+16|0;d=k;E=i;i=i+32|0;t=i;i=i+16|0;s=t;c[k>>2]=13;j=d+8|0;c[j>>2]=0;c[j+4>>2]=0;if((c[(Yu(f,55944,d,0)|0)>>2]|0)==4){G=c[k>>2]|0;if((G|0)!=4){c[F>>2]=G;c[D+4>>2]=4;Qe(0,72520,D);tc()}fe(E,c[j>>2]|0);do{if((te(E,65816)|0)==0){c[b+24>>2]=7}else{if((te(E,65824)|0)!=0){break}c[b+24>>2]=8}}while(0);ke(E)}Of(d);G=(c[(Yu(f,65840,d,0)|0)>>2]|0)==6;D=FW(8)|0;do{if(G){C=c[k>>2]|0;if((C|0)==6){G=c[j>>2]|0;c[D>>2]=0;c[D+4>>2]=0;pr(D,G);c[b+192>>2]=D;break}else{c[B>>2]=C;c[A+4>>2]=6;Qe(0,72520,A);tc()}}else{c[D>>2]=0;c[D+4>>2]=0;c[b+192>>2]=D;Qe(-1,65856,C);a[b+144|0]=0}}while(0);Of(d);do{if((c[(Yu(f,64088,d,0)|0)>>2]|0)==6){A=c[k>>2]|0;if((A|0)!=6){c[z>>2]=A;c[y+4>>2]=6;Qe(0,72520,y);tc()}z=c[j>>2]|0;if((c[z+12>>2]|0)!=2){n=31;break}c[t>>2]=13;y=s+8|0;c[y>>2]=0;c[y+4>>2]=0;do{if((c[(ut(z,0,s)|0)>>2]|0)==3){z=c[t>>2]|0;if((z|0)==3){c[b+196>>2]=mr(c[y>>2]|0)|0;break}else{c[x>>2]=z;c[w+4>>2]=3;Qe(0,72520,w);tc()}}else{c[b+196>>2]=5}}while(0);Of(s);w=c[k>>2]|0;if((w|0)!=6){c[v>>2]=w;c[u+4>>2]=6;Qe(0,72520,u);tc()}do{if((c[(ut(c[j>>2]|0,1,s)|0)>>2]|0)==3){t=c[t>>2]|0;if((t|0)==3){c[b+200>>2]=mr(c[y>>2]|0)|0;break}else{c[r>>2]=t;c[q+4>>2]=3;Qe(0,72520,q);tc()}}else{c[b+200>>2]=5}}while(0);Of(s)}else{n=31}}while(0);if((n|0)==31){c[b+200>>2]=5;c[b+196>>2]=5}Of(d);do{if((c[(Yu(f,64136,d,0)|0)>>2]|0)==6){n=FW(40)|0;q=c[k>>2]|0;if((q|0)==6){vr(n,c[j>>2]|0,0);c[b+204>>2]=n;break}else{c[o>>2]=q;c[p+4>>2]=6;Qe(0,72520,p);tc()}}else{c[b+204>>2]=0}}while(0);Of(d);do{if((c[(Yu(f,64072,d,0)|0)>>2]|0)==7){n=FW(16)|0;o=c[k>>2]|0;if((o|0)==7){or(n,c[j>>2]|0);c[b+208>>2]=n;break}else{c[l>>2]=o;c[m+4>>2]=7;Qe(0,72520,m);tc()}}else{c[b+208>>2]=0}}while(0);Of(d);if((c[(Yu(f,64024,d,0)|0)>>2]|0)!=4){c[b+212>>2]=0;Of(d);i=e;return}f=FW(32)|0;k=c[k>>2]|0;if((k|0)!=4){c[h>>2]=k;c[g+4>>2]=4;Qe(0,72520,g);tc()}fe(f,c[j>>2]|0);do{if((te(f,65888)|0)==0){c[b+212>>2]=0}else{b=b+212|0;if((te(f,65904)|0)==0){c[b>>2]=1;break}else{c[b>>2]=2;break}}}while(0);if((f|0)==0){Of(d);i=e;return}ke(f);HW(f);Of(d);i=e;return}function Is(a){a=a|0;var b=0;b=i;Js(a);HW(a);i=b;return}function Js(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;b=i;c[a>>2]=65800;d=c[a+192>>2]|0;if((d|0)!=0){h=c[d>>2]|0;if((h|0)!=0){e=d+4|0;f=c[e>>2]|0;if((f|0)>0){g=0;do{j=c[h+(g<<2)>>2]|0;if((j|0)!=0){HW(j);h=c[d>>2]|0;f=c[e>>2]|0}g=g+1|0;}while((g|0)<(f|0))}Fe(h)}HW(d)}d=c[a+204>>2]|0;if((d|0)!=0){HW(d)}d=c[a+208>>2]|0;if((d|0)==0){Or(a);i=b;return}HW(d);Or(a);i=b;return}function Ks(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;b=i;d=i;i=i+8|0;f=d;l=i;i=i+8|0;m=l;n=i;i=i+16|0;h=n;k=i;i=i+32|0;c[n>>2]=13;g=h+8|0;c[g>>2]=0;c[g+4>>2]=0;j=a+192|0;c[j>>2]=0;if((c[(Yu(e,65960,h,0)|0)>>2]|0)==4){o=c[n>>2]|0;if((o|0)!=4){c[l>>2]=o;c[m+4>>2]=4;Qe(0,72520,m);tc()}fe(k,c[g>>2]|0);do{if((te(k,55584)|0)==0){c[j>>2]=1}else{if((te(k,56336)|0)!=0){break}c[j>>2]=0}}while(0);ke(k)}Of(h);if((c[(Yu(e,64080,h,0)|0)>>2]|0)!=6){c[a+196>>2]=0;Of(h);i=b;return}e=c[n>>2]|0;if((e|0)!=6){c[d>>2]=e;c[f+4>>2]=6;Qe(0,72520,f);tc()}c[a+196>>2]=nr(c[g>>2]|0,c[a+28>>2]|0)|0;Of(h);i=b;return}function Ls(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=65936;d=c[a+196>>2]|0;if((d|0)!=0){HW(d)}Or(a);HW(a);i=b;return}function Ms(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=65936;d=c[a+196>>2]|0;if((d|0)==0){Or(a);i=b;return}HW(d);Or(a);i=b;return}function Ns(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;h=i;o=i;i=i+8|0;e=i;i=i+8|0;d=e;n=i;i=i+8|0;l=n;p=i;i=i+16|0;g=p;j=i;i=i+16|0;k=j;c[p>>2]=13;m=g+8|0;c[m>>2]=0;c[m+4>>2]=0;if((c[(Yu(f,66e3,g,0)|0)>>2]|0)!=6){c[b+196>>2]=0;c[b+192>>2]=0;Qe(-1,66008,o);a[b+144|0]=0;Of(g);i=h;return}f=c[p>>2]|0;if((f|0)!=6){c[n>>2]=f;c[l+4>>2]=6;Qe(0,72520,l);tc()}l=c[m>>2]|0;q=c[l+12>>2]|0;f=b+196|0;c[f>>2]=q;q=ye(q,4)|0;m=b+192|0;c[m>>2]=q;bX(q|0,0,c[f>>2]<<2|0)|0;if((c[f>>2]|0)<=0){Of(g);i=h;return}o=k+8|0;n=o+4|0;p=0;while(1){c[j>>2]=13;c[o>>2]=0;c[n>>2]=0;if((c[(ut(l,p,k)|0)>>2]|0)==6){q=FW(8)|0;b=c[j>>2]|0;if((b|0)!=6){j=8;break}b=c[o>>2]|0;c[q>>2]=0;c[q+4>>2]=0;pr(q,b);c[(c[m>>2]|0)+(p<<2)>>2]=q}Of(k);p=p+1|0;if((p|0)>=(c[f>>2]|0)){j=12;break}}if((j|0)==8){c[e>>2]=b;c[d+4>>2]=6;Qe(0,72520,d);tc()}else if((j|0)==12){Of(g);i=h;return}}function Os(a){a=a|0;var b=0;b=i;Ps(a);HW(a);i=b;return}function Ps(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;b=i;c[a>>2]=65976;d=a+192|0;j=c[d>>2]|0;if((j|0)==0){Or(a);i=b;return}e=a+196|0;h=c[e>>2]|0;if((h|0)>0){f=0;do{g=c[j+(f<<2)>>2]|0;if((g|0)!=0){l=c[g>>2]|0;if((l|0)!=0){h=g+4|0;j=c[h>>2]|0;if((j|0)>0){k=0;do{m=c[l+(k<<2)>>2]|0;if((m|0)!=0){HW(m);l=c[g>>2]|0;j=c[h>>2]|0}k=k+1|0;}while((k|0)<(j|0))}Fe(l)}HW(g);j=c[d>>2]|0;h=c[e>>2]|0}f=f+1|0;}while((f|0)<(h|0))}Fe(j);Or(a);i=b;return}function Qs(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;d=i;g=i;i=i+8|0;h=g;m=i;i=i+8|0;l=i;i=i+16|0;j=l;c[l>>2]=13;e=j+8|0;c[e>>2]=0;c[e+4>>2]=0;do{if((c[(Yu(f,66072,j,0)|0)>>2]|0)==7){k=3}else{if((c[(Yu(f,66072,j,0)|0)>>2]|0)==3){k=3;break}Qe(-1,66080,m);a[b+144|0]=0}}while(0);if((k|0)==3){Mf(j,b+192|0)|0}Of(j);m=(c[(Yu(f,56208,j,0)|0)>>2]|0)==4;f=FW(32)|0;if(!m){fe(f,66112);c[b+208>>2]=f;Of(j);i=d;return}k=c[l>>2]|0;if((k|0)!=4){c[g>>2]=k;c[h+4>>2]=4;Qe(0,72520,h);tc()}fe(f,c[e>>2]|0);c[b+208>>2]=f;Of(j);i=d;return}function Rs(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=66040;Of(a+192|0);d=c[a+208>>2]|0;if((d|0)==0){Or(a);HW(a);i=b;return}ke(d);HW(d);Or(a);HW(a);i=b;return}function Ss(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=66040;Of(a+192|0);d=c[a+208>>2]|0;if((d|0)==0){Or(a);i=b;return}ke(d);HW(d);Or(a);i=b;return}function Ts(a,b,d){a=a|0;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.0,y=0,z=0,A=0.0,B=0.0,C=0.0;f=i;t=i;i=i+16|0;r=t;s=i;i=i+32|0;u=s;v=i;i=i+40|0;q=v;p=i;i=i+16|0;e=p;n=i;i=i+32|0;j=n;o=i;i=i+16|0;g=o;m=i;i=i+16|0;l=m;c[p>>2]=13;p=e+8|0;c[p>>2]=0;c[p+4>>2]=0;p=c[a+48>>2]|0;if((p&2|0)!=0){i=f;return}do{if(d){if((p&4|0)!=0){break}i=f;return}else{if((p&32|0)==0){break}i=f;return}}while(0);p=c[a+88>>2]|0;do{if((p|0)!=0){d=a+96|0;if((c[d>>2]|0)!=9){break}if(GF(p,d)|0){break}i=f;return}}while(0);p=a+64|0;do{if((c[p>>2]|0)==5){x=+h[a+160>>3];d=FW(32)|0;ee(d);w=a+124|0;c[w>>2]=d;ne(d,56352,-1)|0;d=a+132|0;z=c[d>>2]|0;do{if((z|0)==0){ne(c[w>>2]|0,56360,-1)|0}else{y=c[z+32>>2]|0;if((y|0)==3){y=c[w>>2]|0;B=+h[z+8>>3];A=+h[z+16>>3];v=s;h[k>>3]=+h[z>>3];c[v>>2]=c[k>>2];c[v+4>>2]=c[k+4>>2];z=u+8|0;h[k>>3]=B;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];z=u+16|0;h[k>>3]=A;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];c[u+24>>2]=55800;pe(y,55768,u)|0;break}else if((y|0)==1){y=c[w>>2]|0;v=t;h[k>>3]=+h[z>>3];c[v>>2]=c[k>>2];c[v+4>>2]=c[k+4>>2];c[r+8>>2]=103;pe(y,55816,r)|0;break}else if((y|0)==4){y=c[w>>2]|0;C=+h[z+8>>3];A=+h[z+16>>3];B=+h[z+24>>3];h[k>>3]=+h[z>>3];c[v>>2]=c[k>>2];c[v+4>>2]=c[k+4>>2];z=q+8|0;h[k>>3]=C;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];z=q+16|0;h[k>>3]=A;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];z=q+24|0;h[k>>3]=B;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];c[q+32>>2]=107;pe(y,55728,q)|0;break}else{break}}}while(0);q=a+208|0;do{if((te(c[q>>2]|0,66112)|0)==0){ne(c[w>>2]|0,66120,-1)|0}else{if((te(c[q>>2]|0,66664)|0)==0){ne(c[w>>2]|0,66680,-1)|0;break}if((te(c[q>>2]|0,67536)|0)==0){ne(c[w>>2]|0,67544,-1)|0;break}if((te(c[q>>2]|0,68128)|0)!=0){break}ne(c[w>>2]|0,68136,-1)|0}}while(0);ne(c[w>>2]|0,63808,-1)|0;bX(n|0,0,16)|0;h[j+24>>3]=24.0;h[j+16>>3]=24.0;if(x==1.0){Er(a,j,0,0,p)}else{c[o>>2]=13;n=g+8|0;c[n>>2]=0;c[n+4>>2]=0;Er(a,j,1,0,g);n=c[w>>2]|0;if((n|0)!=0){ke(n);HW(n)}c[m>>2]=13;z=l+8|0;c[z>>2]=0;c[z+4>>2]=0;z=FW(32)|0;fe(z,63816);c[w>>2]=z;Fr(a,63832,g,63840,x,0,l);Er(a,j,0,l,p)}g=c[w>>2]|0;if((g|0)==0){break}ke(g);HW(g)}else{d=a+132|0}}while(0);Nf(p,c[a+112>>2]|0,e,0)|0;z=c[a+28>>2]|0;Tx(b,e,c[a+128>>2]|0,c[d>>2]|0,+h[z>>3],+h[z+8>>3],+h[z+16>>3],+h[z+24>>3]);Of(e);i=f;return}function Us(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;d=i;g=i;i=i+8|0;h=g;l=i;i=i+8|0;k=i;i=i+16|0;j=k;c[k>>2]=13;e=j+8|0;c[e>>2]=0;c[e+4>>2]=0;m=HG(Yu(f,69904,j,0)|0)|0;c[b+192>>2]=m;if((m|0)==0){Qe(-1,69912,l);a[b+144|0]=0}Of(j);m=(c[(Yu(f,56208,j,0)|0)>>2]|0)==4;f=FW(32)|0;if(!m){fe(f,69928);c[b+196>>2]=f;Of(j);i=d;return}k=c[k>>2]|0;if((k|0)!=4){c[g>>2]=k;c[h+4>>2]=4;Qe(0,72520,h);tc()}fe(f,c[e>>2]|0);c[b+196>>2]=f;Of(j);i=d;return}function Vs(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=69888;d=c[a+192>>2]|0;if((d|0)!=0){JG(d);HW(d)}d=c[a+196>>2]|0;if((d|0)==0){Or(a);HW(a);i=b;return}ke(d);HW(d);Or(a);HW(a);i=b;return}function Ws(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=69888;d=c[a+192>>2]|0;if((d|0)!=0){JG(d);HW(d)}d=c[a+196>>2]|0;if((d|0)==0){Or(a);i=b;return}ke(d);HW(d);Or(a);i=b;return}function Xs(a,b,d){a=a|0;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.0,y=0,z=0,A=0.0,B=0.0,C=0.0;f=i;s=i;i=i+16|0;p=s;q=i;i=i+32|0;r=q;t=i;i=i+40|0;u=t;v=i;i=i+16|0;e=v;o=i;i=i+32|0;g=o;m=i;i=i+16|0;j=m;n=i;i=i+16|0;l=n;c[v>>2]=13;v=e+8|0;c[v>>2]=0;c[v+4>>2]=0;v=c[a+48>>2]|0;if((v&2|0)!=0){i=f;return}do{if(d){if((v&4|0)!=0){break}i=f;return}else{if((v&32|0)==0){break}i=f;return}}while(0);v=c[a+88>>2]|0;do{if((v|0)!=0){d=a+96|0;if((c[d>>2]|0)!=9){break}if(GF(v,d)|0){break}i=f;return}}while(0);v=a+64|0;do{if((c[v>>2]|0)==5){x=+h[a+160>>3];d=FW(32)|0;ee(d);w=a+124|0;c[w>>2]=d;ne(d,56352,-1)|0;d=a+132|0;z=c[d>>2]|0;do{if((z|0)==0){ne(c[w>>2]|0,56360,-1)|0}else{y=c[z+32>>2]|0;if((y|0)==4){y=c[w>>2]|0;C=+h[z+8>>3];B=+h[z+16>>3];A=+h[z+24>>3];h[k>>3]=+h[z>>3];c[t>>2]=c[k>>2];c[t+4>>2]=c[k+4>>2];z=u+8|0;h[k>>3]=C;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];z=u+16|0;h[k>>3]=B;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];z=u+24|0;h[k>>3]=A;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];c[u+32>>2]=107;pe(y,55728,u)|0;break}else if((y|0)==1){y=c[w>>2]|0;u=s;h[k>>3]=+h[z>>3];c[u>>2]=c[k>>2];c[u+4>>2]=c[k+4>>2];c[p+8>>2]=103;pe(y,55816,p)|0;break}else if((y|0)==3){y=c[w>>2]|0;B=+h[z+8>>3];C=+h[z+16>>3];u=q;h[k>>3]=+h[z>>3];c[u>>2]=c[k>>2];c[u+4>>2]=c[k+4>>2];z=r+8|0;h[k>>3]=B;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];z=r+16|0;h[k>>3]=C;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];c[r+24>>2]=55800;pe(y,55768,r)|0;break}else{break}}}while(0);p=a+196|0;do{if((te(c[p>>2]|0,69928)|0)==0){ne(c[w>>2]|0,69936,-1)|0}else{if((te(c[p>>2]|0,70664)|0)!=0){break}ne(c[w>>2]|0,70672,-1)|0}}while(0);ne(c[w>>2]|0,63808,-1)|0;bX(o|0,0,16)|0;h[g+24>>3]=24.0;h[g+16>>3]=24.0;if(x==1.0){Er(a,g,0,0,v)}else{c[m>>2]=13;m=j+8|0;c[m>>2]=0;c[m+4>>2]=0;c[n>>2]=13;m=l+8|0;c[m>>2]=0;c[m+4>>2]=0;Er(a,g,1,0,j);m=c[w>>2]|0;if((m|0)!=0){ke(m);HW(m)}z=FW(32)|0;fe(z,63816);c[w>>2]=z;Fr(a,63832,j,63840,x,0,l);Er(a,g,0,l,v)}g=c[w>>2]|0;if((g|0)==0){break}keke(v);HW(v)}else{c[b>>2]=0}}while(0);Of(h);do{if((c[(Yu(d,71640,h,0)|0)>>2]|0)==4){t=FW(32)|0;u=c[l>>2]|0;if((u|0)!=4){c[r>>2]=u;c[s+4>>2]=4;Qe(0,72520,s);tc()}fe(t,c[e>>2]|0);do{if((te(t,55168)|0)==0){c[b+4>>2]=1}else{r=b+4|0;if((te(t,64128)|0)==0){c[r>>2]=2;break}else{c[r>>2]=0;break}}}while(0);if((t|0)==0){break}ke(t);HW(t)}else{c[b+4>>2]=0}}while(0);Of(h);do{if((c[(Yu(d,55384,h,0)|0)>>2]|0)==4){r=FW(32)|0;s=c[l>>2]|0;if((s|0)!=4){c[p>>2]=s;c[q+4>>2]=4;Qe(0,72520,q);tc()}fe(r,c[e>>2]|0);do{if((te(r,71648)|0)==0){c[b+8>>2]=1}else{if((te(r,71656)|0)==0){c[b+8>>2]=2;break}p=b+8|0;if((te(r,71664)|0)==0){c[p>>2]=3;break}else{c[p>>2]=0;break}}}while(0);if((r|0)==0){break}ke(r);HW(r)}else{c[b+8>>2]=0}}while(0);Of(h);do{if((c[(Yu(d,71672,h,0)|0)>>2]|0)==4){p=FW(32)|0;q=c[l>>2]|0;if((q|0)!=4){c[o>>2]=q;c[n+4>>2]=4;Qe(0,72520,n);tc()}fe(p,c[e>>2]|0);do{if((te(p,55400)|0)==0){c[b+12>>2]=1}else{if((te(p,55168)|0)==0){c[b+12>>2]=2;break}n=b+12|0;if((te(p,64128)|0)==0){c[n>>2]=3;break}else{c[n>>2]=0;break}}}while(0);if((p|0)==0){break}ke(p);HW(p)}else{c[b+12>>2]=0}}while(0);Of(h);do{if((c[(Yu(d,71680,h,0)|0)>>2]|0)==0){n=c[l>>2]|0;if((n|0)==0){a[b+16|0]=a[e]&1;break}else{c[m>>2]=n;c[k+4>>2]=0;Qe(0,72520,k);tc()}}else{a[b+16|0]=1}}while(0);Of(h);if((c[(Yu(d,71688,h,0)|0)>>2]|0)!=0){a[b+17|0]=0;Of(h);i=j;return}k=c[l>>2]|0;if((k|0)!=0){c[g>>2]=k;c[f+4>>2]=0;Qe(0,72520,f);tc()}a[b+17|0]=a[e]&1;Of(h);i=j;return}function bt(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;n=i;j=i;i=i+8|0;k=j;g=i;i=i+8|0;h=g;l=i;i=i+8|0;m=l;q=i;i=i+16|0;t=q;r=i;i=i+16|0;s=r;c[q>>2]=13;p=t+8|0;c[p>>2]=0;c[p+4>>2]=0;c[b>>2]=0;o=b+4|0;c[o>>2]=0;if((c[f>>2]|0)!=6){i=n;return}u=f+8|0;v=s+8|0;w=v+4|0;x=0;y=0;a:while(1){z=c[u>>2]|0;if((x|0)>=(c[z+12>>2]|0)){e=18;break}c[r>>2]=13;c[v>>2]=0;c[w>>2]=0;do{if((c[(ut(z,x,t)|0)>>2]|0)==7){z=c[f>>2]|0;if((z|0)!=6){e=7;break a}vt(c[u>>2]|0,x,s)|0;z=c[q>>2]|0;if((z|0)!=7){e=9;break a}A=ct(0,d,c[p>>2]|0,e,s)|0;if((A|0)==0){break}if((a[A+144|0]&1)==0){fd[c[(c[A>>2]|0)+4>>2]&511](A);break}B=c[o>>2]|0;if((B|0)<(y|0)){z=c[b>>2]|0}else{y=y+16|0;z=Ce(c[b>>2]|0,y,4)|0;c[b>>2]=z;B=c[o>>2]|0}c[o>>2]=B+1;c[z+(B<<2)>>2]=A}}while(0);Of(s);Of(t);z=c[f>>2]|0;if((z|0)==6){x=x+1|0}else{e=3;break}}if((e|0)==3){c[l>>2]=z;c[m+4>>2]=6;Qe(0,72520,m);tc()}else if((e|0)==7){c[g>>2]=z;c[h+4>>2]=6;Qe(0,72520,h);tc()}else if((e|0)==9){c[j>>2]=z;c[k+4>>2]=7;Qe(0,72520,k);tc()}else if((e|0)==18){i=n;return}}function ct(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;h=i;l=i;i=i+8|0;o=l;p=i;i=i+16|0;j=p;n=i;i=i+16|0;k=n;c[p>>2]=13;m=j+8|0;c[m>>2]=0;c[m+4>>2]=0;if((c[(Yu(e,55944,j,0)|0)>>2]|0)!=4){p=0;Of(j);i=h;return p|0}b=FW(32)|0;p=c[p>>2]|0;if((p|0)!=4){c[l>>2]=p;c[o+4>>2]=4;Qe(0,72520,o);tc()}fe(b,c[m>>2]|0);do{if((te(b,56200)|0)==0){k=FW(208)|0;Mr(k,d,e,f,g);c[k>>2]=56184;c[k+24>>2]=1;p=k+48|0;c[p>>2]=c[p>>2]|24;Pr(k,0,0,e)}else{if((te(b,63872)|0)==0){k=FW(184)|0;Ur(k,d,e,f,g);break}if((te(b,63944)|0)==0){k=FW(224)|0;Mr(k,d,e,f,g);c[k>>2]=63928;c[k+24>>2]=3;Yr(k,0,0,e);break}if((te(b,64120)|0)==0){k=FW(272)|0;Mr(k,d,e,f,g);c[k>>2]=64104;c[k+24>>2]=4;$r(k,0,0,e);break}if((te(b,55048)|0)==0){k=FW(208)|0;Mr(k,d,e,f,g);c[k>>2]=65728;c[k+24>>2]=5;Ds(k,0,0,e);break}if((te(b,55056)|0)==0){k=FW(208)|0;Mr(k,d,e,f,g);c[k>>2]=65728;c[k+24>>2]=5;Ds(k,0,0,e);break}if((te(b,65816)|0)==0){k=FW(216)|0;Mr(k,d,e,f,g);c[k>>2]=65800;c[k+24>>2]=7;Hs(k,0,0,e);break}if((te(b,65824)|0)==0){k=FW(216)|0;Mr(k,d,e,f,g);c[k>>2]=65800;c[k+24>>2]=7;Hs(k,0,0,e);break}if((te(b,64352)|0)==0){k=FW(200)|0;Mr(k,d,e,f,g);c[k>>2]=64336;c[k+24>>2]=9;ds(k,0,0,e);break}if((te(b,64368)|0)==0){k=FW(200)|0;Mr(k,d,e,f,g);c[k>>2]=64336;c[k+24>>2]=9;ds(k,0,0,e);break}if((te(b,64384)|0)==0){k=FW(200)|0;Mr(k,d,e,f,g);c[k>>2]=64336;c[k+24>>2]=9;ds(k,0,0,e);break}if((te(b,64400)|0)==0){k=FW(200)|0;Mr(k,d,e,f,g);c[k>>2]=64336;c[k+24>>2]=9;ds(k,0,0,e);break}if((te(b,65704)|0)==0){k=FW(200)|0;Mr(k,d,e,f,g);c[k>>2]=65688;c[k+24>>2]=13;As(k,0,0,e);break}if((te(b,65952)|0)==0){k=FW(200)|0;Mr(k,d,e,f,g);c[k>>2]=65936;c[k+24>>2]=14;Ks(k,0,0,e);break}if((te(b,65992)|0)==0){k=FW(200)|0;Mr(k,d,e,f,g);c[k>>2]=65976;c[k+24>>2]=15;Ns(k,0,0,e);break}if((te(b,66056)|0)==0){k=FW(216)|0;Mr(k,d,e,f,g);c[k>>2]=66040;c[k+192>>2]=13;c[k+200>>2]=0;c[k+204>>2]=0;c[k+24>>2]=17;Qs(k,0,0,e);break}if((te(b,69904)|0)==0){k=FW(200)|0;Mr(k,d,e,f,g);c[k>>2]=69888;c[k+24>>2]=18;Us(k,0,0,e);break}if((te(b,65424)|0)==0){k=FW(160)|0;ss(k,d,e,f,g);break}if((te(b,71696)|0)==0){k=FW(184)|0;hs(k,d,e,f,g);break}if((te(b,65600)|0)==0){k=FW(176)|0;xs(k,d,e,f,g);break}if((te(b,71704)|0)==0){k=FW(152)|0;c[k>>2]=55512;l=k+8|0;c[l>>2]=13;c[k+16>>2]=0;c[k+20>>2]=0;c[k+64>>2]=13;c[k+72>>2]=0;c[k+76>>2]=0;c[k+96>>2]=13;c[k+104>>2]=0;c[k+108>>2]=0;m=k+145|0;if((c[g>>2]|0)==9){a[m]=1;n=g+8|0;o=c[n+4>>2]|0;p=k+116|0;c[p>>2]=c[n>>2];c[p+4>>2]=o}else{a[m]=0}c[k+48>>2]=0;c[k+24>>2]=0;Kf(l,e)|0;zr(k,d,e,f);break}if((te(b,71720)|0)==0){l=FW(152)|0;c[l>>2]=55512;m=l+8|0;c[m>>2]=13;c[l+16>>2]=0;c[l+20>>2]=0;c[l+64>>2]=13;c[l+72>>2]=0;c[l+76>>2]=0;c[l+96>>2]=13;c[l+104>>2]=0;c[l+108>>2]=0;k=l+145|0;if((c[g>>2]|0)==9){a[k]=1;n=g+8|0;o=c[n+4>>2]|0;p=l+116|0;c[p>>2]=c[n>>2];c[p+4>>2]=o}else{a[k]=0}c[l+48>>2]=0;c[l+24>>2]=0;Kf(m,e)|0;zr(l,d,e,f);k=l;break}if((te(b,71728)|0)==0){k=FW(152)|0;c[k>>2]=55512;l=k+8|0;c[l>>2]=13;c[k+16>>2]=0;c[k+20>>2]=0;c[k+64>>2]=13;c[k+72>>2]=0;c[k+76>>2]=0;c[k+96>>2]=13;c[k+104>>2]=0;c[k+108>>2]=0;m=k+145|0;if((c[g>>2]|0)==9){a[m]=1;n=g+8|0;o=c[n+4>>2]|0;p=k+116|0;c[p>>2]=c[n>>2];c[p+4>>2]=o}else{a[m]=0}c[k+48>>2]=0;c[k+24>>2]=0;Kf(l,e)|0;zr(k,d,e,f);break}if((te(b,71600)|0)==0){k=FW(152)|0;Zs(k,d,e,f,g);break}if((te(b,56072)|0)==0){c[n>>2]=13;p=k+8|0;c[p>>2]=0;c[p+4>>2]=0;if((c[(Yu(e,56080,k,0)|0)>>2]|0)==5){p=FW(176)|0;Ir(p,d,e,f,g);g=p}else{g=0}Of(k);k=g;break}m=FW(152)|0;c[m>>2]=55512;l=m+8|0;c[l>>2]=13;c[m+16>>2]=0;c[m+20>>2]=0;c[m+64>>2]=13;c[m+72>>2]=0;c[m+76>>2]=0;c[m+96>>2]=13;c[m+104>>2]=0;c[m+108>>2]=0;k=m+145|0;if((c[g>>2]|0)==9){a[k]=1;n=g+8|0;o=c[n+4>>2]|0;p=m+116|0;c[p>>2]=c[n>>2];c[p+4>>2]=o}else{a[k]=0}c[m+48>>2]=0;c[m+24>>2]=0;Kf(l,e)|0;zr(m,d,e,f);k=m}}while(0);if((b|0)==0){p=k;Of(j);i=h;return p|0}ke(b);HW(b);p=k;Of(j);i=h;return p|0}function dt(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<<2)>>2]|0;if((h|0)!=0){fd[c[(c[h>>2]|0)+4>>2]&511](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 et(a){a=a|0;i=i;return c[a+4>>2]|0}function ft(a){a=a|0;i=i;return+(+h[a+8>>3])}function gt(a){a=a|0;i=i;return c[a+16>>2]|0}function ht(a){a=a|0;i=i;return c[a+20>>2]|0}function it(a){a=a|0;i=i;return c[a+24>>2]|0}function jt(a){a=a|0;i=i;return}function kt(a){a=a|0;var b=0;b=i;HW(a);i=b;return}function lt(a){a=a|0;i=i;return}function mt(a){a=a|0;var b=0;b=i;HW(a);i=b;return}function nt(a){a=a|0;var b=0;b=i;c[a>>2]=55264;a=c[a+20>>2]|0;if((a|0)==0){i=b;return}Fe(a);i=b;return}function ot(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=55264;d=c[a+20>>2]|0;if((d|0)==0){HW(a);i=b;return}Fe(d);HW(a);i=b;return}function pt(a){a=a|0;var b=0;b=i;c[a>>2]=55264;a=c[a+20>>2]|0;if((a|0)==0){i=b;return}Fe(a);i=b;return}function qt(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=55264;d=c[a+20>>2]|0;if((d|0)==0){HW(a);i=b;return}Fe(d);HW(a);i=b;return}function rt(a,b){a=a|0;b=b|0;c[a>>2]=b;c[a+4>>2]=0;c[a+12>>2]=0;c[a+8>>2]=0;c[a+16>>2]=1;i=i;return}function st(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=a+12|0;a=a+4|0;f=c[a>>2]|0;if((c[d>>2]|0)>0){e=0}else{Fe(f);i=b;return}while(1){Of(f+(e<<4)|0);e=e+1|0;f=c[a>>2]|0;if((e|0)<(c[d>>2]|0)){}else{break}}Fe(f);i=b;return}function tt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=i;d=a+12|0;h=c[d>>2]|0;f=a+8|0;do{if((h|0)==(c[f>>2]|0)){g=(h|0)==0?8:h<<1;c[f>>2]=g;a=a+4|0;g=Ce(c[a>>2]|0,g,16)|0;c[a>>2]=g;h=c[d>>2]|0;if((h|0)>=(c[f>>2]|0)){break}while(1){g=g+(h<<4)+8|0;c[g>>2]=0;c[g+4>>2]=0;h=h+1|0;if((h|0)>=(c[f>>2]|0)){break}g=c[a>>2]|0}h=c[d>>2]|0}else{a=a+4|0}}while(0);$W((c[a>>2]|0)+(h<<4)|0,b|0,16)|0;c[d>>2]=(c[d>>2]|0)+1;i=e;return}function ut(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;do{if((b|0)>=0){if((c[a+12>>2]|0)<=(b|0)){break}b=Nf((c[a+4>>2]|0)+(b<<4)|0,c[a>>2]|0,d,0)|0;i=e;return b|0}}while(0);b=d+8|0;c[b>>2]=0;c[b+4>>2]=0;c[d>>2]=5;b=d;i=e;return b|0}function vt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;do{if((b|0)>=0){if((c[a+12>>2]|0)<=(b|0)){break}b=Mf((c[a+4>>2]|0)+(b<<4)|0,d)|0;i=e;return b|0}}while(0);b=d+8|0;c[b>>2]=0;c[b+4>>2]=0;c[d>>2]=5;b=d;i=e;return b|0}function wt(){var a=0,b=0;a=i;b=FW(8)|0;zH(b,73312,315);c[72948>>2]=b;b=FW(8)|0;zH(b,77096,315);c[72972>>2]=b;b=FW(8)|0;zH(b,80880,315);c[72996>>2]=b;b=FW(8)|0;zH(b,84664,315);c[73020>>2]=b;b=FW(8)|0;zH(b,88448,315);c[73044>>2]=b;b=FW(8)|0;zH(b,92232,316);c[73068>>2]=b;b=FW(8)|0;zH(b,96024,315);c[73092>>2]=b;b=FW(8)|0;zH(b,99808,315);c[73116>>2]=b;b=FW(8)|0;zH(b,103592,190);c[73140>>2]=b;b=FW(8)|0;zH(b,105872,315);c[73164>>2]=b;b=FW(8)|0;zH(b,109656,315);c[73188>>2]=b;b=FW(8)|0;zH(b,113440,315);c[73212>>2]=b;b=FW(8)|0;zH(b,117224,315);c[73236>>2]=b;b=FW(8)|0;zH(b,121008,202);c[73260>>2]=b;i=a;return}function xt(){var a=0,b=0,d=0;a=i;d=0;do{b=c[72948+(d*24|0)>>2]|0;if((b|0)!=0){AH(b);HW(b)}d=d+1|0;}while((d|0)<14);i=a;return}function yt(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;F=i;I=i;i=i+8|0;J=I;G=i;i=i+8|0;H=G;g=i;i=i+8|0;B=i;i=i+8|0;D=i;i=i+8|0;E=D;M=i;i=i+8|0;z=i;i=i+8|0;s=i;i=i+8|0;t=s;p=i;i=i+8|0;q=p;n=i;i=i+8|0;O=i;i=i+8|0;P=O;m=i;i=i+256|0;k=m;y=i;i=i+256|0;h=y;K=i;i=i+256|0;u=i;i=i+8|0;l=u;x=i;i=i+8|0;j=x;L=i;i=i+8|0;v=i;i=i+8|0;o=v;w=i;i=i+8|0;r=w;A=i;i=i+8|0;C=A;do{if((f|0)==0){f=df(c[834]|0,d,e)|0;if((f|0)!=0){O=FW(12)|0;YF(O,251,f);break}do{if((te(e,130136)|0)!=0){if((te(e,130152)|0)==0){break}if((te(e,130168)|0)==0){S=FW(44)|0;Q=FW(32)|0;ie(Q,d);R=FW(32)|0;ie(R,e);c[S>>2]=Q;c[S+4>>2]=R;c[S+8>>2]=1;c[S+12>>2]=0;c[S+16>>2]=1;ad(S+20|0,0)|0;i=F;return S|0}else{S=c[d+28>>2]|0;c[O>>2]=c[e+28>>2];c[P+4>>2]=S;Qe(-1,130184,P);S=0;i=F;return S|0}}}while(0);S=FW(44)|0;Q=FW(32)|0;ie(Q,d);R=FW(32)|0;ie(R,e);c[S>>2]=Q;c[S+4>>2]=R;c[S+8>>2]=0;c[S+12>>2]=0;c[S+16>>2]=1;ad(S+20|0,0)|0;i=F;return S|0}else{fd[c[(c[f>>2]|0)+12>>2]&511](f);O=FW(12)|0;YF(O,250,f);f=0}}while(0);P=FW(44)|0;S=FW(32)|0;ie(S,d);Q=FW(32)|0;ie(Q,e);c[P>>2]=S;c[P+4>>2]=Q;e=P+8|0;c[e>>2]=0;Q=ye(256,8)|0;d=P+12|0;c[d>>2]=Q;a[Q]=0;c[(c[d>>2]|0)+4>>2]=0;Q=1;do{a[(c[d>>2]|0)+(Q<<3)|0]=0;c[(c[d>>2]|0)+(Q<<3)+4>>2]=0;Q=Q+1|0;}while((Q|0)<256);c[P+16>>2]=1;ad(P+20|0,0)|0;_F(O,k,256,l)|0;if(_F(O,h,256,j)|0){R=k+1|0;Q=h+1|0;do{do{if((Qc(h|0,130240)|0)==0){if((a[m]|0)==47){Bt(P,b,R)}_F(O,k,256,l)|0}else{if((Qc(k|0,130248)|0)==0){c[e>>2]=ec(h|0)|0;_F(O,k,256,l)|0;break}if((Qc(h|0,130256)|0)==0){a:do{if(_F(O,k,256,l)|0){while(1){if((Qc(k|0,130280)|0)==0){break a}if(!(_F(O,h,256,j)|0)){break}if((Qc(h|0,130280)|0)==0){break}do{if((a[m]|0)==60){if((a[y]|0)!=60){break}S=c[u>>2]|0;if(!((S|0)==(c[x>>2]|0)&(S|0)>3&(S&1|0)==0)){break}S=S+ -1|0;a[h+S|0]=0;a[k+S|0]=0;c[p>>2]=o;Hc(R|0,130352,q|0)|0;c[s>>2]=r;Hc(Q|0,130352,t|0)|0;S=((c[u>>2]|0)+ -2|0)/2|0;c[u>>2]=S;Ct(P,c[d>>2]|0,c[v>>2]|0,c[w>>2]|0,S)}}while(0);if(!(_F(O,k,256,l)|0)){break a}}Qe(-1,130304,n)}}while(0);_F(O,k,256,l)|0;break}if((Qc(h|0,130360)|0)==0){b:do{if(_F(O,k,256,l)|0){while(1){if((Qc(k|0,130376)|0)==0){break b}if(!(_F(O,h,256,j)|0)){break}if((Qc(h|0,130376)|0)==0){break}do{if((a[m]|0)==60){T=c[u>>2]|0;S=k+(T+ -1)|0;if(!((a[S]|0)==62&(T|0)>3&(T&1|0)==0)){N=42;break}a[S]=0;c[D>>2]=C;if((Hc(R|0,130352,E|0)|0)==1){T=((c[u>>2]|0)+ -2|0)/2|0;c[u>>2]=T;S=c[A>>2]|0;Dt(P,S,S,T,ec(h|0)|0);break}else{Qe(-1,130392,B);break}}else{N=42}}while(0);if((N|0)==42){N=0;Qe(-1,130392,M)}if(!(_F(O,k,256,l)|0)){break b}}Qe(-1,130392,z)}}while(0);_F(O,k,256,l)|0;break}if((Qc(h|0,130432)|0)!=0){eX(k|0,h|0)|0;break}c:do{if(_F(O,k,256,l)|0){while(1){if((Qc(k|0,130448)|0)==0){break c}if(!(_F(O,h,256,j)|0)){break}if((Qc(h|0,130448)|0)==0){break}if(!(_F(O,K,256,L)|0)){break}if((Qc(K|0,130448)|0)==0){break}do{if((a[m]|0)==60){if((a[y]|0)!=60){break}S=c[u>>2]|0;if(!((S|0)==(c[x>>2]|0)&(S|0)>3&(S&1|0)==0)){break}T=S+ -1|0;a[h+T|0]=0;a[k+T|0]=0;c[G>>2]=o;Hc(R|0,130352,H|0)|0;c[I>>2]=r;Hc(Q|0,130352,J|0)|0;T=((c[u>>2]|0)+ -2|0)/2|0;c[u>>2]=T;U=c[v>>2]|0;S=c[w>>2]|0;Dt(P,U,S,T,ec(K|0)|0)}}while(0);if(!(_F(O,k,256,l)|0)){break c}}Qe(-1,130464,g)}}while(0);_F(O,k,256,l)|0}}while(0);}while(_F(O,h,256,j)|0)}if((O|0)!=0){HW(O)}if((f|0)==0){U=P;i=F;return U|0}mc(f|0)|0;U=P;i=F;return U|0}function zt(a){a=a|0;var b=0;b=i;a=jd[c[(c[a>>2]|0)+20>>2]&511](a)|0;i=b;return a|0}function At(a){a=a|0;var b=0;b=i;a=qc(a|0)|0;i=b;return a|0}function Bt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;f=FW(32)|0;fe(f,d);b=Et(b,c[a>>2]|0,f,0)|0;if((f|0)!=0){keke(e);HW(e)}e=c[a+4>>2]|0;if((e|0)!=0){ke(e);HW(e)}e=c[a+12>>2]|0;if((e|0)!=0){Ht(a,e)}kc(d|0)|0;HW(a);i=b;return}function Ht(b,d){b=b|0;d=d|0;var e=0,f=0;e=i;f=0;do{if((a[d+(f<<3)|0]&1)!=0){Ht(b,c[d+(f<<3)+4>>2]|0)}f=f+1|0;}while((f|0)<256);Fe(d);i=e;return}function It(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;k=c[b+12>>2]|0;if((k|0)==0){c[g>>2]=2;if((f|0)<2){k=0;i=h;return k|0}k=(d[e]|0)<<8|(d[e+1|0]|0);i=h;return k|0}a:do{if((f|0)>0){j=0;while(1){b=j+1|0;j=d[e+j|0]|0;if((a[k+(j<<3)|0]&1)==0){break}if((b|0)<(f|0)){k=c[k+(j<<3)+4>>2]|0;j=b}else{break a}}c[g>>2]=b;k=c[k+(j<<3)+4>>2]|0;i=h;return k|0}else{b=0}}while(0);c[g>>2]=b;k=0;i=h;return k|0}function Jt(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;if((e|0)==0){i=j;return}if((h|0)==0){h=0;do{if((a[e+(h<<3)|0]&1)!=0){Jt(b,h+d<<8,c[e+(h<<3)+4>>2]|0,f,g,0)}h=h+1|0;}while((h|0)<256);i=j;return}else{k=0}do{a:do{if((a[e+(k<<3)|0]&1)==0){m=c[e+(k<<3)+4>>2]|0;if(m>>>0>=g>>>0){break}l=k+d|0;o=da(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){kekeke(d);HW(d)}Fe(c[a+4>>2]|0);e=a+12|0;g=c[e>>2]|0;if((g|0)==0){g=a+28|0;kc(g|0)|0;i=b;return}d=a+16|0;if((c[d>>2]|0)>0){f=0;while(1){Fe(c[g+(f*12|0)+4>>2]|0);f=f+1|0;g=c[e>>2]|0;if((f|0)<(c[d>>2]|0)){}else{break}}}Fe(g);g=a+28|0;kc(g|0)|0;i=b;return}function tu(a){a=a|0;var b=0,d=0;b=i;d=a+28|0;Ub(d|0)|0;a=a+24|0;c[a>>2]=(c[a>>2]|0)+1;Mc(d|0)|0;i=b;return}function uu(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;e=a+28|0;Ub(e|0)|0;f=a+24|0;d=(c[f>>2]|0)+ -1|0;c[f>>2]=d;Mc(e|0)|0;if((d|0)!=0|(a|0)==0){i=b;return}su(a);HW(a);i=b;return}function vu(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;f=i;if((e|0)==1){c[(c[a+4>>2]|0)+(b<<2)>>2]=c[d>>2];i=f;return}g=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}keke(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){d=a+16|0;Of(d);i=b;return}ke(d);HW(d);d=a+16|0;Of(d);i=b;return}function jv(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;h=i;i=i+8|0;f=i;i=i+8|0;g=f;n=i;i=i+8|0;m=n;l=i;i=i+16|0;k=l;j=i;i=i+8|0;c[l>>2]=13;l=k+8|0;c[l>>2]=0;c[l+4>>2]=0;l=a+16|0;o=c[l>>2]|0;if((o|0)!=7){c[n>>2]=o;c[m+4>>2]=7;Qe(0,148232,m);tc()}if((c[(Yu(c[a+24>>2]|0,146744,k,0)|0)>>2]|0)==4){m=a+32|0}else{l=c[a+4>>2]|0;m=l+8|0;l=l+24|0}n=m;m=c[n>>2]|0;n=c[n+4>>2]|0;Of(k);k=c[l>>2]|0;if((k|0)==7){Wu(c[l+8>>2]|0,b,d);o=c[a+40>>2]|0;k=j;c[k>>2]=m;c[k+4>>2]=n;$W(h|0,j|0,8)|0;pn(o,l,h);i=e;return}else{c[f>>2]=k;c[g+4>>2]=7;Qe(0,148232,g);tc()}}function kv(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=146768;d=c[a+112>>2]|0;if((d|0)!=0){Fe(d)}d=c[a+120>>2]|0;if((d|0)==0){iv(a);HW(a);i=b;return}ke(d);HW(d);iv(a);HW(a);i=b;return}function lv(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=146768;d=c[a+112>>2]|0;if((d|0)!=0){Fe(d)}d=c[a+120>>2]|0;if((d|0)==0){iv(a);i=b;return}ke(d);HW(d);iv(a);i=b;return}function mv(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;l=i;i=i+8|0;f=l;g=i;i=i+8|0;h=g;n=i;i=i+16|0;k=n;m=i;i=i+8|0;o=c[b+124>>2]|0;if((c[o+60>>2]|0)==1){i=j;return}do{if(!e){a[b+45|0]=1;if(nv(o,c[b+60>>2]|0,d)|0){break}i=j;return}}while(0);p=b+128|0;a[p]=d&1;c[n>>2]=13;e=k+8|0;c[e>>2]=0;o=e+4|0;c[o>>2]=0;if(d){d=c[(c[b+120>>2]|0)+28>>2]|0}else{d=146784}c[e>>2]=0;c[o>>2]=0;c[n>>2]=4;c[e>>2]=Ge(d)|0;jv(b,146792,k);if((a[p]&1)==0){d=146784}else{d=c[(c[b+120>>2]|0)+28>>2]|0}c[e>>2]=0;c[o>>2]=0;c[n>>2]=4;c[e>>2]=Ge(d)|0;n=b+16|0;o=c[n>>2]|0;if((o|0)!=7){c[g>>2]=o;c[h+4>>2]=7;Qe(0,148232,h);tc()}Wu(c[b+24>>2]|0,146800,k);p=c[b+40>>2]|0;o=b+32|0;d=c[o+4>>2]|0;e=m;c[e>>2]=c[o>>2];c[e+4>>2]=d;$W(l|0,m|0,8)|0;pn(p,n,f);i=j;return}function nv(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;f=i;q=i;i=i+8|0;p=q;h=i;i=i+8|0;g=h;o=i;i=i+8|0;t=o;l=i;i=i+8|0;k=l;v=i;i=i+8|0;n=i;i=i+16|0;m=n;j=i;i=i+8|0;u=i;i=i+16|0;s=u;r=i;i=i+8|0;if((a[b+56|0]&1)!=0){Qe(-1,147560,v);e=0;i=f;return e|0}v=c[b+60>>2]|0;if(!((v|0)==0|(v|0)==2)){e=1;i=f;return e|0}if(!e){if((a[b+72|0]&1)!=0){e=0;i=f;return e|0}c[b+68>>2]=-1;g=s+8|0;c[g+4>>2]=0;c[u>>2]=4;c[g>>2]=Ge(146784)|0;g=b+24|0;h=c[g>>2]|0;if((h|0)!=7){c[o>>2]=h;c[t+4>>2]=7;Qe(0,148232,t);tc()}Wu(c[b+32>>2]|0,146792,s);e=c[b+40>>2]|0;t=b+8|0;u=c[t+4>>2]|0;v=r;c[v>>2]=c[t>>2];c[v+4>>2]=u;$W(q|0,r|0,8)|0;pn(e,g,p);e=1;i=f;return e|0}o=b+68|0;c[o>>2]=d;q=b+48|0;r=c[q>>2]|0;if((r|0)>0){p=b+52|0;s=0;do{if((s|0)==(d|0)){d=s}else{mv(c[(c[p>>2]|0)+(s<<2)>>2]|0,0,1);r=c[q>>2]|0;d=c[o>>2]|0}s=s+1|0;}while((s|0)<(r|0))}if((d|0)<=-1){e=1;i=f;return e|0}d=(c[(c[b+52>>2]|0)+(d<<2)>>2]|0)+120|0;if((c[(c[d>>2]|0)+28>>2]|0)==0){e=1;i=f;return e|0}c[n>>2]=13;e=m+8|0;c[e>>2]=0;v=e+4|0;c[v>>2]=0;d=c[(c[d>>2]|0)+28>>2]|0;c[v>>2]=0;c[n>>2]=4;c[e>>2]=Ge(d)|0;n=b+24|0;d=c[n>>2]|0;if((d|0)!=7){c[l>>2]=d;c[k+4>>2]=7;Qe(0,148232,k);tc()}Wu(c[b+32>>2]|0,146792,m);e=c[b+40>>2]|0;t=b+8|0;u=c[t+4>>2]|0;v=j;c[v>>2]=c[t>>2];c[v+4>>2]=u;$W(h|0,j|0,8)|0;pn(e,n,g);e=1;i=f;return e|0}function ov(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;d=i;n=i;i=i+8|0;g=i;i=i+8|0;h=g;l=i;i=i+8|0;y=i;i=i+8|0;x=y;w=i;i=i+8|0;v=w;k=i;i=i+16|0;o=k;j=i;i=i+16|0;f=j;q=i;i=i+16|0;t=q;r=i;i=i+16|0;s=r;p=i;i=i+16|0;u=p;m=i;i=i+16|0;e=m;z=b+44|0;if((a[z]&1)!=0){i=d;return}a[z]=1;z=c[b+16>>2]|0;if((z|0)!=7){c[w>>2]=z;c[v+4>>2]=7;Qe(0,148232,v);tc()}w=c[b+24>>2]|0;c[j>>2]=13;v=f+8|0;c[v>>2]=0;c[v+4>>2]=0;do{if((c[(c[b+124>>2]|0)+60>>2]|0)!=1){do{if((c[(Yu(w,146808,f,0)|0)>>2]|0)==7){z=c[j>>2]|0;if((z|0)!=7){c[y>>2]=z;c[x+4>>2]=7;Qe(0,148232,x);tc()}z=c[v>>2]|0;G=c[z+16>>2]|0;if((G|0)<=0){break}D=t+8|0;x=D+4|0;A=b+120|0;B=s+8|0;C=B+4|0;E=u+8|0;F=E+4|0;y=0;do{c[q>>2]=13;c[D>>2]=0;c[x>>2]=0;av(z,y,t)|0;H=c[q>>2]|0;do{if((H|0)==7){H=c[D>>2]|0;I=c[H+16>>2]|0;if((I|0)>0){K=0}else{break}do{c[r>>2]=13;c[B>>2]=0;c[C>>2]=0;av(H,K,s)|0;J=$u(H,K)|0;if((Qc(J|0,146784)|0)!=0){L=FW(32)|0;fe(L,J);c[A>>2]=L}Of(s);K=K+1|0;}while((c[A>>2]|0)==0&(K|0)<(I|0))}else if((H|0)==8){L=c[D>>2]|0;L=jd[c[(c[L>>2]|0)+72>>2]&511](L)|0;c[p>>2]=13;c[E>>2]=0;c[F>>2]=0;Yu(L,146816,u,0)|0;L=FW(32)|0;fe(L,146824);c[A>>2]=L;Of(u)}}while(0);Of(t);y=y+1|0;}while((c[A>>2]|0)==0&(y|0)<(G|0))}}while(0);Of(f);p=b+120|0;if((c[p>>2]|0)!=0){break}Qe(-1,146832,l);L=FW(32)|0;fe(L,146896);c[p>>2]=L}}while(0);L=o+4|0;c[L>>2]=0;c[o+8>>2]=0;c[k>>2]=L;L=Nv(w,146792,f,o)|0;xn(o,c[o+4>>2]|0);do{if((c[L>>2]|0)==4){c[m>>2]=13;k=e+8|0;c[k>>2]=0;c[k+4>>2]=0;k=Yu(w,146800,e,0)|0;j=c[j>>2]|0;if((j|0)!=4){c[g>>2]=j;c[h+4>>2]=4;Qe(0,148232,h);tc()}do{if((c[k>>2]|0)==4){g=c[v>>2]|0;if((Qc(c[k+8>>2]|0,g|0)|0)!=0){break}if((Qc(g|0,146784)|0)==0){break}mv(b,1,0)}}while(0);Of(e)}else{if((c[j>>2]|0)!=6){break}Qe(-1,146904,n)}}while(0);Of(f);i=d;return}function pv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;g=i;i=i+16|0;f=g;h=f+4|0;c[h>>2]=0;c[f+8>>2]=0;c[g>>2]=h;a=Nv(a,b,d,f)|0;xn(f,c[f+4>>2]|0);i=e;return a|0}function qv(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;f=i;g=i;i=i+8|0;h=g;k=i;i=i+8|0;l=k;p=i;i=i+8|0;o=p;n=i;i=i+16|0;m=n;j=i;i=i+16|0;e=j;q=b+44|0;if((a[q]&1)!=0){i=f;return}a[q]=1;q=c[b+16>>2]|0;if((q|0)!=7){c[p>>2]=q;c[o+4>>2]=7;Qe(0,148232,o);tc()}q=c[b+24>>2]|0;c[j>>2]=13;o=e+8|0;c[o>>2]=0;c[o+4>>2]=0;p=m+4|0;c[p>>2]=0;c[m+8>>2]=0;c[n>>2]=p;q=Nv(q,146792,e,m)|0;xn(m,c[m+4>>2]|0);do{if((c[q>>2]|0)==3){m=c[j>>2]|0;if((m|0)!=3){c[k>>2]=m;c[l+4>>2]=3;Qe(0,148232,l);tc()}k=ve(c[o>>2]|0)|0;j=c[j>>2]|0;if((j|0)!=3){c[g>>2]=j;c[h+4>>2]=3;Qe(0,148232,h);tc()}j=c[o>>2]|0;g=c[j+24>>2]|0;if(k){if((g|0)<3){break}g=(c[b+112>>2]|0)+60|0;b=c[g>>2]|0;if((b|0)!=0){ke(b);HW(b)}q=FW(32)|0;ie(q,j);c[g>>2]=q;break}if((g|0)<=0){break}h=(g<<1)+2|0;g=GW((h|0)>-1?h:-1)|0;k=c[j+28>>2]|0;a[g]=-2;a[g+1|0]=-1;l=2;j=0;while(1){q=c[189696+((d[k+j|0]|0)<<2)>>2]|0;a[g+l|0]=q>>>8;a[g+(l|1)|0]=q;l=l+2|0;if((l|0)<(h|0)){j=j+1|0}else{break}}j=FW(32)|0;ge(j,g,h);h=(c[b+112>>2]|0)+60|0;b=c[h>>2]|0;if((b|0)!=0){ke(b);HW(b)}q=FW(32)|0;ie(q,j);c[h>>2]=q;if((j|0)!=0){ke()}c[u>>2]=c[t>>2];Of(k);i=h;return}function Fv(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=147624;d=c[a+60>>2]|0;if((d|0)!=0){ke(d);HW(d)}xv(a);HW(a);i=b;return}function Gv(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=147624;d=c[a+60>>2]|0;if((d|0)==0){xv(a);i=b;return}ke(d);HW(d);xv(a);i=b;return}function Hv(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;h=i;k=i;i=i+8|0;l=k;q=i;i=i+8|0;p=q;o=i;i=i+16|0;n=o;m=i;i=i+16|0;j=m;tv(b,d,e,f,g,2);c[b>>2]=147656;c[b+64>>2]=0;c[b+68>>2]=0;c[b+72>>2]=0;g=c[b+24>>2]|0;if((g|0)!=7){c[q>>2]=g;c[p+4>>2]=7;Qe(0,148232,p);tc()}d=c[b+32>>2]|0;c[m>>2]=13;q=j+8|0;c[q>>2]=0;c[q+4>>2]=0;p=b+57|0;bX(p|0,0,5)|0;e=n+4|0;c[e>>2]=0;c[n+8>>2]=0;c[o>>2]=e;d=Nv(d,147376,j,n)|0;xn(n,c[n+4>>2]|0);if((c[d>>2]|0)!=1){Of(j);i=h;return}m=c[m>>2]|0;if((m|0)!=1){c[k>>2]=m;c[l+4>>2]=1;Qe(0,148232,l);tc()}k=c[q>>2]|0;if((k&131072|0)!=0){a[p]=1}if((k&262144|0)!=0){a[b+58|0]=1}if((k&2097152|0)!=0){a[b+59|0]=1}if((k&4194304|0)!=0){a[b+60|0]=1}if((k&67108864|0)==0){Of(j);i=h;return}a[b+61|0]=1;Of(j);i=h;return}function Iv(a){a=a|0;var b=0;b=i;Jv(a);HW(a);i=b;return}function Jv(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=i;c[a>>2]=147656;d=a+64|0;e=a+68|0;g=c[e>>2]|0;if((c[d>>2]|0)>0){f=0;do{h=c[g+(f*12|0)>>2]|0;if((h|0)!=0){ke(h);HW(h);g=c[e>>2]|0}h=c[g+(f*12|0)+4>>2]|0;if((h|0)!=0){ke(h);HW(h);g=c[e>>2]|0}f=f+1|0;}while((f|0)<(c[d>>2]|0))}if((g|0)!=0){IW(g)}d=c[a+72>>2]|0;if((d|0)==0){xv(a);i=b;return}ke
7325 k}}w=c[s>>2]|0}v=v+4|0;if(v>>>0>=w>>>0){break}u=u+(4<<c[o>>2]<<3)|0}u=(c[d>>2]|0)+1|0}else{u=1}c[d>>2]=u}else if((u|0)==1){v=c[p>>2]|0;w=c[s>>2]|0;if(v>>>0<w>>>0){y=c[q>>2]|0;u=c[j>>2]|0;while(1){x=c[m>>2]|0;if(x>>>0<y>>>0){w=u;while(1){y=w;z=0;while(1){B=z+v|0;A=c[s>>2]|0;if(B>>>0>=A>>>0){break}C=e[y>>1]|0;if((C&3|0)==1){if((C&4|0)==0){A=16}else{do{if(x>>>0>(c[m>>2]|0)>>>0){C=b[y+ -8>>1]&1;if(B>>>0>(c[p>>2]|0)>>>0){C=(b[y+(~c[f>>2]<<3)>>1]&1)+C|0}if(B>>>0>=(A+ -1|0)>>>0){break}C=(b[y+((c[f>>2]|0)+ -1<<3)>>1]&1)+C|0}else{C=0}}while(0);do{if(x>>>0<((c[q>>2]|0)+ -1|0)>>>0){C=(b[y+8>>1]&1)+C|0;if(B>>>0>(c[p>>2]|0)>>>0){C=(b[y+(1-(c[f>>2]|0)<<3)>>1]&1)+C|0}if(B>>>0>=(A+ -1|0)>>>0){break}C=(b[y+((c[f>>2]|0)+1<<3)>>1]&1)+C|0}}while(0);if(B>>>0>(c[p>>2]|0)>>>0){C=(b[y+(0-(c[f>>2]|0)<<3)>>1]&1)+C|0}if(B>>>0<(A+ -1|0)>>>0){C=(b[y+(c[f>>2]<<3)>>1]&1)+C|0}A=(C|0)!=0?15:14}I=y+4|0;H=c[I>>2]<<1;c[I>>2]=II(c[h>>2]|0,A,c[l>>2]|0)|0|H;I=y+2|0;b[I>>1]=(b[I>>1]|0)+1<<16>>16;b[y>>1]=b[y>>1]&-7|2}z=z+1|0;if(z>>>0>=4){break}y=y+(c[f>>2]<<3)|0}x=x+1|0;y=c[q>>2]|0;if(x>>>0<y>>>0){w=w+8|0}else{break}}w=c[s>>2]|0}v=v+4|0;if(v>>>0>=w>>>0){break}u=u+(4<<c[o>>2]<<3)|0}u=(c[d>>2]|0)+1|0}else{u=2}c[d>>2]=u}else if((u|0)==2){v=c[p>>2]|0;A=c[s>>2]|0;a:do{if(v>>>0<A>>>0){C=c[q>>2]|0;u=c[j>>2]|0;while(1){z=c[m>>2]|0;if(z>>>0<C>>>0){x=v+3|0;w=v+4|0;y=u;while(1){b:do{if(x>>>0<A>>>0){if((b[y>>1]&2)!=0){B=0;n=119;break}B=c[f>>2]|0;if((b[y+(B<<3)>>1]&2)!=0){B=0;n=119;break}F=B<<1;if((b[y+(F<<3)>>1]&2)!=0){B=0;n=119;break}E=B*3|0;if((b[y+(E<<3)>>1]&2)!=0){B=0;n=119;break}D=(z|0)==(c[m>>2]|0);G=c[p>>2]|0;do{if(!D){if((v|0)==(G|0)){G=v;break}if((b[y+(~B<<3)>>1]&1)!=0){B=0;n=119;break b}}}while(0);G=(v|0)==(G|0);if(!G){if((b[y+(0-B<<3)>>1]&1)!=0){B=0;n=119;break}}C=(z|0)==(C+ -1|0);if(!(C|G)){if((b[y+(1-B<<3)>>1]&1)!=0){B=0;n=119;break}}if(!D){if((b[y+ -8>>1]&1)!=0){B=0;n=119;break}if((b[y+(B+ -1<<3)>>1]&1)!=0){B=0;n=119;break}if((b[y+(F+ -1<<3)>>1]&1)!=0){B=0;n=119;break}if((b[y+(E+ -1<<3)>>1]&1)!=0){B=0;n=119;break}}if(!C){if((b[y+8>>1]&1)!=0){B=0;n=119;break}if((b[y+(B+1<<3)>>1]&1)!=0){B=0;n=119;break}if((b[y+((F|1)<<3)>>1]&1)!=0){B=0;n=119;break}if((b[y+(E+1<<3)>>1]&1)!=0){B=0;n=119;break}}do{if(!D){if((w|0)==(A|0)){A=w;break}if((b[y+((B<<2)+ -1<<3)>>1]&1)!=0){B=0;n=119;break b}}}while(0);A=(w|0)==(A|0);if(!A){if((b[y+(B<<2<<3)>>1]&1)!=0){B=0;n=119;break}}if(!(C|A)){if((b[y+((B<<2|1)<<3)>>1]&1)!=0){B=0;n=119;break}}if((II(c[h>>2]|0,17,c[l>>2]|0)|0)==0){I=y+2|0;b[I>>1]=(b[I>>1]|0)+1<<16>>16;I=c[f>>2]|0;H=y+(I<<3)+2|0;b[H>>1]=(b[H>>1]|0)+1<<16>>16;I=I+(c[f>>2]|0)|0;H=y+(I<<3)+2|0;b[H>>1]=(b[H>>1]|0)+1<<16>>16;I=y+(I+(c[f>>2]|0)<<3)+2|0;b[I>>1]=(b[I>>1]|0)+1<<16>>16;break}A=(II(c[h>>2]|0,18,c[l>>2]|0)|0)<<1;A=II(c[h>>2]|0,18,c[l>>2]|0)|0|A;if((A|0)==0){B=y}else{B=y;C=0;while(1){I=B+2|0;b[I>>1]=(b[I>>1]|0)+1<<16>>16;C=C+1|0;B=B+(c[f>>2]<<3)|0;if(C>>>0<A>>>0){}else{break}}}b[B>>1]=b[B>>1]|5;I=B+4|0;c[I>>2]=c[I>>2]<<1|1;I=B+2|0;b[I>>1]=(b[I>>1]|0)+1<<16>>16;if((II(c[h>>2]|0,9,c[l>>2]|0)|0)!=0){b[B>>1]=b[B>>1]|128}B=A+1|0;if(B>>>0<4){n=119}}else{B=0;n=119}}while(0);c:do{if((n|0)==119){n=0;A=y+(B<<c[o>>2]<<3)|0;while(1){C=B+v|0;D=c[s>>2]|0;if(C>>>0>=D>>>0){break c}E=b[A>>1]|0;if((E&2)==0){do{if(z>>>0>(c[m>>2]|0)>>>0){E=e[A+ -8>>1]|0;if((E&1|0)==0){F=2;H=0}else{F=E>>>6&2^3;H=1}if(C>>>0>(c[p>>2]|0)>>>0){E=b[A+(~c[f>>2]<<3)>>1]&1}else{E=0}if(C>>>0>=(D+ -1|0)>>>0){break}E=(b[A+((c[f>>2]|0)+ -1<<3)>>1]&1)+E|0}else{E=0;F=2;H=0}}while(0);do{if(z>>>0<((c[q>>2]|0)+ -1|0)>>>0){G=e[A+8>>1]|0;if((G&1|0)!=0){F=F+ -1+(G>>>6&2^2)|0;H=H+1|0}G=c[p>>2]|0;if(C>>>0>G>>>0){E=(b[A+(1-(c[f>>2]|0)<<3)>>1]&1)+E|0}if(C>>>0>=(D+ -1|0)>>>0){break}E=(b[A+((c[f>>2]|0)+1<<3)>>1]&1)+E|0}else{G=c[p>>2]|0}}while(0);do{if(C>>>0>G>>>0){G=e[A+(0-(c[f>>2]|0)<<3)>>1]|0;if((G&1|0)==0){I=2;G=0;break}I=G>>>6&2^3;G=1}else{I=2;G=0}}while(0);do{if(C>>>0<(D+ -1|0)>>>0){C=e[A+(c[f>>2]<<3)>>1]|0;if((C&1|0)==0){break}I=I+ -1+(C>>>6&2^2)|0;G=G+1|0}}while(0);do{if((II(c[h>>2]|0,c[184272+(H*180|0)+(G*60|0)+(E*12|0)+(k<<2)>>2]|0,c[l>>2]|0)|0)!=0){b[A>>1]=b[A>>1]|5;H=A+4|0;c[H>>2]=c[H>>2]<<1|1;H=c[184816+(F*40|0)+(I<<3)+4>>2]|0;if((II(c[h>>2]|0,c[184816+(F*40|0)+(I<<3)>>2]|0,c[l>>2]|0)|0)==(H|0)){break}b[A>>1]=b[A>>1]|128}}while(0);I=A+2|0;b[I>>1]=(b[I>>1]|0)+1<<16>>16}else{b[A>>1]=E&-3}B=B+1|0;if(B>>>0>=4){break c}A=A+(c[f>>2]<<3)|0}}}while(0);z=z+1|0;C=c[q>>2]|0;if(z>>>0>=C>>>0){break}A=c[s>>2]|0;y=y+8|0}A=c[s>>2]|0;v=w}else{v=v+4|0}if(v>>>0>=A>>>0){break a}u=u+(4<<c[o>>2]<<3)|0}}}while(0);c[d>>2]=0;u=0}t=t+1|0;}while(t>>>0<(c[r>>2]|0)>>>0);I=h;I=c[I>>2]|0;EI(I);i=g;return-1}function _D(a,d,f,g,h,j,k,l){a=a|0;d=d|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.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;a=i;s=(c[g+20>>2]|0)+ -1|0;p=g+12|0;v=c[p>>2]|0;if((s|0)<(v|0)){m=d+60|0;n=d+52|0;o=d+76|0}else{r=g+16|0;q=g+8|0;m=d+60|0;n=d+52|0;o=d+76|0;u=c[q>>2]|0;do{w=(c[r>>2]|0)+ -1|0;if((w|0)>=(u|0)){t=(s<<1)-j|0;while(1){Q=(c[m>>2]|0)-(c[n>>2]|0)|0;v=w-u+(da(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,da=0.0,ea=0.0;f=i;P=i;i=i+8|0;R=i;i=i+8|0;Q=R;_=i;i=i+8|0;$=_;S=i;i=i+8|0;T=i;i=i+8|0;Z=T;O=i;i=i+8|0;N=O;M=i;i=i+8|0;W=i;i=i+8|0;V=W;J=i;i=i+8|0;H=i;i=i+8|0;L=i;i=i+8|0;K=i;i=i+8|0;E=K;F=i;i=i+8|0;G=F;j=i;i=i+8|0;o=i;i=i+8|0;m=o;k=i;i=i+8|0;w=i;i=i+8|0;t=w;u=i;i=i+8|0;v=u;s=i;i=i+8|0;r=s;l=i;i=i+8|0;n=i;i=i+8|0;p=i;i=i+8|0;q=p;D=i;i=i+8|0;C=D;a:while(1){Y=eE(b,0)|0;if((Y|0)==37){while(1){Y=eE(b,0)|0;if((Y|0)==10|(Y|0)==13){continue a}else if((Y|0)==-1){g=4;break a}}}else if((Y|0)==-1){g=4;break}else{if((a[185104+Y|0]|0)==1){continue}else{break}}}if((g|0)==4){$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=12;i=f;return d|0}switch(Y|0){case 40:{n=b+33|0;y=b+16|0;x=b+24|0;q=(e|0)>0;p=b+164|0;A=0;D=1;C=n;z=0;b:while(1){c:while(1){d:while(1){F=eE(b,0)|0;E=F&255;if((F|0)==40){g=64;break c}else if((F|0)==-1){g=61;break b}else if((F|0)==41){g=65;break}else if((F|0)!=92){F=0;g=96;break c}E=eE(b,0)|0;switch(E|0){case 102:{g=69;break c};case 110:{E=10;F=0;g=96;break c};case 13:{break};case 116:{g=67;break c};case 98:{g=68;break c};case 10:{continue d};case 114:{E=13;F=0;break c};case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:{g=71;break d};case 41:case 40:case 92:{g=70;break c};case-1:{g=91;break b};default:{F=0;break d}}E=c[b>>2]|0;if((E|0)==-3){E=c[y>>2]|0;if((E|0)==8){E=c[x>>2]|0;E=jd[c[(c[E>>2]|0)+20>>2]&511](E)|0}else if((E|0)==13){E=-1}else{g=87;break b}c[b>>2]=(E|0)==-1?-3:E}if((E|0)!=10){continue}eE(b,0)|0}do{if((g|0)==65){g=0;D=D+ -1|0;F=(D|0)==0;E=F?-1:41}else if((g|0)==71){g=0;E=E+ -48|0;F=c[b>>2]|0;if((F|0)==-3){F=c[y>>2]|0;if((F|0)==13){F=-1}else if((F|0)==8){F=c[x>>2]|0;F=jd[c[(c[F>>2]|0)+20>>2]&511](F)|0}else{g=74;break b}c[b>>2]=(F|0)==-1?-3:F}if((F+ -48|0)>>>0>=8){F=0;break}eE(b,0)|0;E=(E<<3)+ -48+F|0;F=c[b>>2]|0;if((F|0)==-3){F=c[y>>2]|0;if((F|0)==8){F=c[x>>2]|0;F=jd[c[(c[F>>2]|0)+20>>2]&511](F)|0}else if((F|0)==13){F=-1}else{g=80;break b}c[b>>2]=(F|0)==-1?-3:F}if((F+ -48|0)>>>0>=8){F=0;break}eE(b,0)|0;E=(E<<3)+ -48+F|0;F=0}}while(0);if((E|0)!=-1){g=95;break}if(F){g=113;break b}}if((g|0)==64){g=0;E=40;F=0;D=D+1|0}else if((g|0)==67){g=0;E=9;F=0}else if((g|0)==68){g=0;E=8;F=0}else if((g|0)==69){g=0;E=12;F=0}else if((g|0)==70){g=0;E=E&255;F=0}else if((g|0)==95){E=E&255;g=96}if((g|0)==96){g=0}do{if((A|0)==128){if((z|0)==0){z=FW(32)|0;ge(z,n,128)}else{ne(z,n,128)|0}if(!q){A=0;C=n;break}A=c[p>>2]|0;if((A|0)==0){A=0;C=n;break}C=c[y>>2]|0;if((C|0)!=8){g=104;break b}$=c[x>>2]|0;if((nn(A,jd[c[(c[$>>2]|0)+48>>2]&511]($)|0)|0)==(e|0)){A=0;C=n}else{g=106;break b}}}while(0);a[C]=E;A=A+1|0;if(F){g=113;break}else{C=C+1|0}}if((g|0)==61){if((c[y>>2]|0)==8){b=c[x>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}else{b=-1}Qe(b,185384,l);g=113}else if((g|0)==74){c[s>>2]=F;c[r+4>>2]=8;Qe(0,185712,r);tc()}else if((g|0)==80){c[u>>2]=F;c[v+4>>2]=8;Qe(0,185712,v);tc()}else if((g|0)==87){c[w>>2]=E;c[t+4>>2]=8;Qe(0,185712,t);tc()}else if((g|0)==91){if((c[y>>2]|0)==8){b=c[x>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}else{b=-1}Qe(b,185384,k);g=113}else if((g|0)==104){c[o>>2]=C;c[m+4>>2]=8;Qe(0,185712,m);tc()}else if((g|0)==106){if((c[y>>2]|0)==8){b=c[x>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}else{b=-1}Qe(b,185384,j);if((z|0)!=0){keke(k);HW(k);i=f;return d|0};case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:case 43:{j=0;e=(Y|0)==43?0:Y+ -48|0;g=9;break};case 62:{g=c[b>>2]|0;if((g|0)==-3){g=c[b+16>>2]|0;if((g|0)==8){U=c[b+24>>2]|0;U=jd[c[(c[U>>2]|0)+20>>2]&511](U)|0}else if((g|0)==13){U=-1}else{c[T>>2]=g;c[Z+4>>2]=8;Qe(0,185712,Z);tc()}c[b>>2]=(U|0)==-1?-3:U}else{U=g}if((U|0)==62){eE(b,0)|0;a[b+34|0]=62;_=b+33|0;a[_]=62;a[b+35|0]=0;$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=10;c[$>>2]=Ge(_)|0;i=f;return d|0}if((c[b+16>>2]|0)==8){b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}else{b=-1}Qe(b,185616,S);$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=11;i=f;return d|0};case 46:{y=b+16|0;z=b+24|0;x=b;A=0;e=0;g=39;break};case 41:case 123:case 125:{if((c[b+16>>2]|0)==8){b=c[b+24>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}else{b=-1}c[_>>2]=Y;Qe(b,185640,$);$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=11;i=f;return d|0};case 60:{j=c[b>>2]|0;if((j|0)==-3){j=c[b+16>>2]|0;if((j|0)==8){X=c[b+24>>2]|0;X=jd[c[(c[X>>2]|0)+20>>2]&511](X)|0}else if((j|0)==13){X=-1}else{c[W>>2]=j;c[V+4>>2]=8;Qe(0,185712,V);tc()}c[b>>2]=(X|0)==-1?-3:X}else{X=j}if((X|0)==60){eE(b,0)|0;a[b+34|0]=60;_=b+33|0;a[_]=60;a[b+35|0]=0;$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=10;c[$>>2]=Ge(_)|0;i=f;return d|0}j=b+33|0;l=b+16|0;k=b+24|0;m=0;o=j;n=0;g:while(1){p=0;e=0;do{do{q=eE(b,0)|0;if((q|0)==62){break g}else if((q|0)==-1){g=169;break g}}while((a[185104+q|0]|0)==1);p=p<<4;do{if((q+ -48|0)>>>0<10){p=p+ -48+q|0}else{if((q+ -65|0)>>>0<6){p=p+ -55+q|0;break}if((q+ -97|0)>>>0<6){p=p+ -87+q|0;break}if((c[l>>2]|0)==8){r=c[k>>2]|0;r=jd[c[(c[r>>2]|0)+48>>2]&511](r)|0}else{r=-1}c[O>>2]=q;Qe(r,185576,N)}}while(0);e=e+1|0;}while((e|0)!=2);do{if((m|0)==128){if((n|0)==0){n=FW(32)|0;ge(n,j,128);m=0;o=j;break}else{ne(n,j,128)|0;m=0;o=j;break}}}while(0);a[o]=p;m=m+1|0;o=o+1|0}if((g|0)==169){if((c[l>>2]|0)==8){b=c[k>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}else{b=-1}Qe(b,185552,M)}if((n|0)==0){n=FW(32)|0;ge(n,j,m)}else{ne(n,j,m)|0}if((e|0)==1){me(n,p<<4&255)|0}$=d+8|0;c[$+4>>2]=0;c[d>>2]=3;c[$>>2]=n;i=f;return d|0};case 91:case 93:{_=b+33|0;a[_]=Y;a[b+34|0]=0;$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=10;c[$>>2]=Ge(_)|0;i=f;return d|0};case 45:{j=1;e=0;g=9;break};default:{j=b+33|0;a[j]=Y;m=b+16|0;n=b+24|0;l=2;k=b+34|0;while(1){o=c[b>>2]|0;if((o|0)==-3){o=c[m>>2]|0;if((o|0)==13){o=-1}else if((o|0)==8){o=c[n>>2]|0;o=jd[c[(c[o>>2]|0)+20>>2]&511](o)|0}else{g=211;break}c[b>>2]=(o|0)==-1?-3:o}if((o|0)==-1){break}if((a[185104+o|0]|0)!=0){break}eE(b,0)|0;if((l|0)==128){g=216;break}a[k]=o;l=l+1|0;k=k+1|0}if((g|0)==211){c[R>>2]=o;c[Q+4>>2]=8;Qe(0,185712,Q);tc()}if((g|0)==216){if((c[m>>2]|0)==8){b=c[n>>2]|0;b=jd[c[(c[b>>2]|0)+48>>2]&511](b)|0}else{b=-1}Qe(b,185664,P)}a[k]=0;b=a[j]|0;do{if(b<<24>>24==110){if((Qc(j|0,185704)|0)!=0){break}$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=5;i=f;return d|0}else if(b<<24>>24==102){if((Qc(j|0,185696)|0)!=0){break}$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=0;a[$]=0;i=f;return d|0}else if(b<<24>>24==116){if((Qc(j|0,185688)|0)!=0){break}$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=0;a[$]=1;i=f;return d|0}}while(0);$=d+8|0;c[$>>2]=0;c[$+4>>2]=0;c[d>>2]=10;c[$>>2]=Ge(j)|0;i=f;return d|0}}do{if((g|0)==9){l=b+16|0;k=b+24|0;r=0;o=0;ca=0.0;m=0;h:while(1){aa=+(m>>>0);ba=aa*10.0;while(1){while(1){if(!r){break}s=c[b>>2]|0;if((s|0)==-3){s=c[l>>2]|0;if((s|0)==13){s=-1}else if((s|0)==8){s=c[k>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0}else{g=21;break h}c[b>>2]=(s|0)==-1?-3:s}if((s+ -48|0)>>>0>=10){r=1;g=32;break h}eE(b,0)|0;if(o){g=25;break}o=1;ca=ba+ +(s+ -48|0)}if((g|0)==25){g=0;r=1;o=1;ca=ca*10.0+ +(s+ -48|0);continue}while(1){s=c[b>>2]|0;if((s|0)==-3){s=c[l>>2]|0;if((s|0)==13){s=-1}else if((s|0)==8){s=c[k>>2]|0;s=jd[c[(c[s>>2]|0)+20>>2]&511](s)|0}else{g=21;break h}c[b>>2]=(s|0)==-1?-3:s}if((s+ -48|0)>>>0>=10){r=0;g=32;break h}eE(b,0)|0;if((e|0)>214748363){ea=+(e|0);if(ea>+(-2147483601-s|0)/10.0){break}}e=(e*10|0)+ -48+s|0}da=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=~~da>>>0}if((g|0)==21){c[D>>2]=s;c[C+4>>2]=8;Qe(0,185712,C);tc()}else if((g|0)==32){if((s|0)==46){eE(b,0)|0;if(!r){y=l;z=k;x=b;A=j;g=39;break}x=b;y=l;z=k;A=j;B=o?ca:aa;break}b=d+8|0;if(!r){c[b+4>>2]=0;c[d>>2]=1;c[b>>2]=j?0-e|0:e;i=f;return d|0}if(o){c[b>>2]=0;c[b+4>>2]=0;c[d>>2]=11;i=f;return d|0}else{c[b+4>>2]=0;c[d>>2]=14;c[b>>2]=m;i=f;return d|0}}}}while(0);if((g|0)==39){B=+(e|0)}aa=.1;i:while(1){while(1){j=c[x>>2]|0;if((j|0)==-3){j=c[y>>2]|0;if((j|0)==13){j=-1}else if((j|0)==8){j=c[z>>2]|0;j=jd[c[(c[j>>2]|0)+20>>2]&511](j)|0}else{g=46;break i}c[x>>2]=(j|0)==-1?-3:j}if((j|0)!=45){break}if((c[y>>2]|0)==8){j=c[z>>2]|0;j=jd[c[(c[j>>2]|0)+48>>2]&511](j)|0}else{j=-1}Qe(j,185360,n);eE(b,0)|0}j=j+ -48|0;if(j>>>0>=10){break}eE(b,0)|0;ea=B+aa*+(j|0);aa=aa*.1;B=ea}if((g|0)==46){c[p>>2]=j;c[q+4>>2]=8;Qe(0,185712,q);tc()}if(A){B=-0.0-B}c[d>>2]=2;h[d+8>>3]=B;i=f;return d|0}function gE(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=i;d=i;i=i+8|0;e=d;while(1){h=eE(a,0)|0;if((h|0)==13){break}else if((h|0)==10|(h|0)==-1){g=10;break}}if((g|0)==10){i=b;return}g=c[a>>2]|0;if((g|0)==-3){g=c[a+16>>2]|0;if((g|0)==8){f=c[a+24>>2]|0;f=jd[c[(c[f>>2]|0)+20>>2]&511](f)|0}else if((g|0)==13){f=-1}else{c[d>>2]=g;c[e+4>>2]=8;Qe(0,185712,e);tc()}c[a>>2]=(f|0)==-1?-3:f}else{f=g}if((f|0)!=10){i=b;return}eE(a,0)|0;i=b;return}function hE(b){b=b|0;var c=0;c=i;if(b>>>0>=256){b=0;i=c;return b|0}b=(a[185104+b|0]|0)==1;i=c;return b|0}function iE(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.0,u=0,v=0,w=0,x=0;n=i;u=i;i=i+16|0;k=u;s=i;i=i+16|0;j=s;r=i;i=i+16|0;g=r;p=i;i=i+16|0;l=p;m=a+8|0;d=m+4|0;c[u>>2]=13;v=k+8|0;c[v>>2]=0;f=v+4|0;c[f>>2]=0;c[s>>2]=13;q=j+8|0;c[q>>2]=0;c[q+4>>2]=0;c[r>>2]=13;q=g+8|0;c[q>>2]=0;c[q+4>>2]=0;c[p>>2]=13;o=l+8|0;c[o>>2]=0;c[o+4>>2]=0;c[m>>2]=0;c[d>>2]=0;c[a>>2]=5;fd[c[(c[b>>2]|0)+12>>2]&511](b);c[v>>2]=0;c[f>>2]=0;c[u>>2]=5;f=FW(56)|0;v=FW(168)|0;w=c[b>>2]|0;x=c[w+96>>2]|0;w=jd[c[w+108>>2]&511](b)|0;bE(v,0,Cd[x&63](b,w,0,0,k)|0);aG(f,0,v,0);cG(f,k,0,0,0,0,0)|0;cG(f,j,0,0,0,0,0)|0;cG(f,g,0,0,0,0,0)|0;cG(f,a,0,0,0,0,0)|0;do{if((c[u>>2]|0)==1){if((c[s>>2]|0)!=1){break}if((c[r>>2]|0)!=10){break}if((Qc(c[q>>2]|0,185784)|0)!=0){break}if((c[a>>2]|0)!=7){break}Yu(c[m>>2]|0,185792,l,0)|0;p=c[p>>2]|0;if((p+ -1|0)>>>0<2){if((p|0)==1){t=+(c[o>>2]|0)}else{t=+h[o>>3]}if(t<=0.0){e=11}}else{e=11}if((e|0)==11){Of(a);c[m>>2]=0;c[d>>2]=0;c[a>>2]=5}Of(l)}}while(0);Of(g);Of(j);Of(k);if((f|0)==0){i=n;return}bG(f);HW(f);i=n;return}function jE(a){a=a|0;var b=0;b=i;Of(a);i=b;return}function kE(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=i;i=i+8|0;e=i;i=i+8|0;if((c[a>>2]|0)!=7){e=0;i=b;return e|0}f=_u(c[a+8>>2]|0,185808,0,e)|0;a=c[e>>2]|0;if(f&(a|0)>0){f=a;i=b;return f|0}Qe(-1,185816,d);f=0;i=b;return f|0}function lE(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;d=i;f=i;i=i+8|0;g=i;i=i+8|0;j=g;m=i;i=i+8|0;n=m;o=i;i=i+16|0;b=o;k=i;i=i+16|0;e=k;c[o>>2]=13;l=b+8|0;c[l>>2]=0;c[l+4>>2]=0;c[k>>2]=13;h=e+8|0;c[h>>2]=0;c[h+4>>2]=0;do{if((c[a>>2]|0)==7){if((c[(Yu(c[a+8>>2]|0,185864,b,0)|0)>>2]|0)!=6){break}a=c[o>>2]|0;if((a|0)!=6){c[m>>2]=a;c[n+4>>2]=6;Qe(0,186424,n);tc()}l=c[l>>2]|0;if((c[l+12>>2]|0)<=1){break}if((c[(ut(l,0,e)|0)>>2]|0)!=1){break}k=c[k>>2]|0;if((k|0)!=1){c[g>>2]=k;c[j+4>>2]=1;Qe(0,186424,j);tc()}g=c[h>>2]|0;if((g|0)<=0){break}Of(e);Of(b);i=d;return g|0}}while(0);Qe(-1,185872,f);o=0;Of(e);Of(b);i=d;return o|0}function mE(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;d=i;f=i;i=i+8|0;g=i;i=i+8|0;j=g;m=i;i=i+8|0;n=m;o=i;i=i+16|0;b=o;k=i;i=i+16|0;e=k;c[o>>2]=13;l=b+8|0;c[l>>2]=0;c[l+4>>2]=0;c[k>>2]=13;h=e+8|0;c[h>>2]=0;c[h+4>>2]=0;do{if((c[a>>2]|0)==7){if((c[(Yu(c[a+8>>2]|0,185864,b,0)|0)>>2]|0)!=6){break}a=c[o>>2]|0;if((a|0)!=6){c[m>>2]=a;c[n+4>>2]=6;Qe(0,186424,n);tc()}l=c[l>>2]|0;if((c[l+12>>2]|0)<=1){break}if((c[(ut(l,1,e)|0)>>2]|0)!=1){break}k=c[k>>2]|0;if((k|0)!=1){c[g>>2]=k;c[j+4>>2]=1;Qe(0,186424,j);tc()}g=c[h>>2]|0;if((g|0)<=0){break}Of(e);Of(b);i=d;return g|0}}while(0);Qe(-1,185928,f);o=0;Of(e);Of(b);i=d;return o|0}function nE(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;e=i;f=i;i=i+8|0;g=i;i=i+8|0;j=g;m=i;i=i+8|0;n=m;o=i;i=i+16|0;d=o;k=i;i=i+16|0;b=k;c[o>>2]=13;l=d+8|0;c[l>>2]=0;c[l+4>>2]=0;c[k>>2]=13;h=b+8|0;c[h>>2]=0;c[h+4>>2]=0;if((c[a>>2]|0)!=7){o=0;Of(b);Of(d);i=e;return o|0}if((c[(Yu(c[a+8>>2]|0,185864,d,0)|0)>>2]|0)!=6){o=0;Of(b);Of(d);i=e;return o|0}a=c[o>>2]|0;if((a|0)!=6){c[m>>2]=a;c[n+4>>2]=6;Qe(0,186424,n);tc()}l=c[l>>2]|0;if((c[l+12>>2]|0)<=3){o=0;Of(b);Of(d);i=e;return o|0}do{if((c[(ut(l,2,b)|0)>>2]|0)==1){k=c[k>>2]|0;if((k|0)!=1){c[g>>2]=k;c[j+4>>2]=1;Qe(0,186424,j);tc()}g=c[h>>2]|0;if((g|0)<=0){break}Of(b);Of(d);i=e;return g|0}}while(0);Qe(-1,185984,f);o=0;Of(b);Of(d);i=e;return o|0}function oE(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;e=i;f=i;i=i+8|0;g=i;i=i+8|0;j=g;m=i;i=i+8|0;n=m;o=i;i=i+16|0;d=o;k=i;i=i+16|0;b=k;c[o>>2]=13;l=d+8|0;c[l>>2]=0;c[l+4>>2]=0;c[k>>2]=13;h=b+8|0;c[h>>2]=0;c[h+4>>2]=0;if((c[a>>2]|0)!=7){o=0;Of(b);Of(d);i=e;return o|0}if((c[(Yu(c[a+8>>2]|0,185864,d,0)|0)>>2]|0)!=6){o=0;Of(b);Of(d);i=e;return o|0}a=c[o>>2]|0;if((a|0)!=6){c[m>>2]=a;c[n+4>>2]=6;Qe(0,186424,n);tc()}l=c[l>>2]|0;if((c[l+12>>2]|0)<=3){o=0;Of(b);Of(d);i=e;return o|0}do{if((c[(ut(l,3,b)|0)>>2]|0)==1){k=c[k>>2]|0;if((k|0)!=1){c[g>>2]=k;c[j+4>>2]=1;Qe(0,186424,j);tc()}g=c[h>>2]|0;if((g|0)<=0){break}Of(b);Of(d);i=e;return g|0}}while(0);Qe(-1,186048,f);o=0;Of(b);Of(d);i=e;return o|0}function pE(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=i;i=i+8|0;e=i;i=i+8|0;c[e>>2]=0;do{if((c[a>>2]|0)==7){f=_u(c[a+8>>2]|0,186112,0,e)|0;a=c[e>>2]|0;if(!(f&(a|0)>0)){break}i=b;return a|0}}while(0);Qe(-1,186120,d);f=0;i=b;return f|0}function qE(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=i;i=i+8|0;e=i;i=i+8|0;c[e>>2]=0;do{if((c[a>>2]|0)==7){f=_u(c[a+8>>2]|0,186184,0,e)|0;a=c[e>>2]|0;if(!(f&(a|0)>0)){break}i=b;return a|0}}while(0);Qe(-1,186192,d);f=0;i=b;return f|0}function rE(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=i;i=i+8|0;e=i;i=i+8|0;c[e>>2]=0;do{if((c[a>>2]|0)==7){f=_u(c[a+8>>2]|0,186248,0,e)|0;a=c[e>>2]|0;if(!(f&(a|0)>0)){break}i=b;return a|0}}while(0);Qe(-1,186256,d);f=0;i=b;return f|0}function sE(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=i;i=i+8|0;e=i;i=i+8|0;c[e>>2]=0;do{if((c[a>>2]|0)==7){f=_u(c[a+8>>2]|0,186304,0,e)|0;a=c[e>>2]|0;if(!(f&(a|0)>0)){break}i=b;return a|0}}while(0);Qe(-1,186312,d);f=0;i=b;return f|0}function tE(a){a=a|0;var b=0,d=0,e=0;b=i;d=i;i=i+8|0;e=i;i=i+8|0;c[e>>2]=0;if((c[a>>2]|0)!=7){e=0;i=b;return e|0}_u(c[a+8>>2]|0,186368,0,e)|0;a=c[e>>2]|0;if((a|0)>=0){e=a;i=b;return e|0}Qe(-1,186376,d);e=0;i=b;return e|0}function uE(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,D=0;d=i;z=i;i=i+8|0;y=z;m=i;i=i+8|0;l=m;k=i;i=i+8|0;o=k;p=i;i=i+8|0;q=p;s=i;i=i+8|0;t=s;v=i;i=i+8|0;w=v;x=i;i=i+8|0;u=x;n=i;i=i+8|0;C=n;A=i;i=i+16|0;e=A;h=i;i=i+16|0;f=h;D=i;i=i+16|0;r=D;c[A>>2]=13;B=e+8|0;c[B>>2]=0;c[B+4>>2]=0;c[h>>2]=13;g=f+8|0;c[g>>2]=0;c[g+4>>2]=0;c[D>>2]=13;D=r+8|0;c[D>>2]=0;c[D+4>>2]=0;if((c[a>>2]|0)!=7){if((b|0)==0){e=186544}else{e=c[b+28>>2]|0}c[n>>2]=e;Qe(-1,186496,C);D=0;i=d;return D|0}n=a+8|0;Yu(c[n>>2]|0,186552,e,0)|0;if((c[A>>2]|0)!=4){if((b|0)==0){f=186544}else{f=c[b+28>>2]|0}c[z>>2]=f;Qe(-1,186696,y);Of(e);D=0;i=d;return D|0}y=c[B>>2]|0;do{if((Qc(y|0,186560)|0)==0){g=c[a>>2]|0;if((g|0)==7){Yu(c[n>>2]|0,186568,f,0)|0;j=FW(12)|0;wE(j,f);Of(f);break}else{c[x>>2]=g;c[u+4>>2]=7;Qe(0,188448,u);tc()}}else{if((Qc(y|0,186576)|0)==0){u=c[a>>2]|0;if((u|0)!=7){c[v>>2]=u;c[w+4>>2]=7;Qe(0,188448,w);tc()}Yu(c[n>>2]|0,186584,f,0)|0;u=c[a>>2]|0;if((u|0)==7){Yu(c[n>>2]|0,186568,r,0)|0;j=FW(16)|0;zE(j,f,r);Of(f);Of(r);break}else{c[s>>2]=u;c[t+4>>2]=7;Qe(0,188448,t);tc()}}if((Qc(y|0,186592)|0)==0){j=FW(12)|0;CE(j,a);break}if((Qc(y|0,186600)|0)==0){r=c[a>>2]|0;if((r|0)==7){Yu(c[n>>2]|0,186600,f,0)|0;j=FW(8)|0;FE(j,f,b);Of(f);break}else{c[p>>2]=r;c[q+4>>2]=7;Qe(0,188448,q);tc()}}if((Qc(y|0,186608)|0)==0){j=c[a>>2]|0;if((j|0)!=7){c[k>>2]=j;c[o+4>>2]=7;Qe(0,188448,o);tc()}Yu(c[n>>2]|0,186616,f,0)|0;j=FW(8)|0;c[j>>2]=187200;k=j+4|0;c[k>>2]=0;if((c[h>>2]|0)==4){D=FW(32)|0;fe(D,c[g>>2]|0);c[k>>2]=D}Of(f);break}if((Qc(y|0,186624)|0)==0){j=FW(20)|0;KEke(d);HW(d);HW(a);i=b;return}function yE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=186992;d=c[a+4>>2]|0;if((d|0)!=0){HW(d)}a=c[a+8>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function zE(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;f=i;h=i;i=i+8|0;j=i;i=i+8|0;k=j;o=i;i=i+16|0;m=o;c[b>>2]=187048;l=b+4|0;c[l>>2]=0;g=b+8|0;c[g>>2]=0;b=b+12|0;c[b>>2]=0;c[o>>2]=13;n=m+8|0;c[n>>2]=0;c[n+4>>2]=0;do{if(CH(d,m)|0){o=c[o>>2]|0;if((o|0)==3){o=c[n>>2]|0;d=FW(32)|0;ie(d,o);c[l>>2]=d;Of(m);break}else{c[j>>2]=o;c[k+4>>2]=3;Qe(0,188448,k);tc()}}}while(0);j=c[e>>2]|0;if((j|0)==3){o=c[e+8>>2]|0;d=FW(32)|0;ie(d,o);c[b>>2]=d;i=f;return}else if((j|0)==4){d=FW(32)|0;fe(d,c[e+8>>2]|0);c[b>>2]=d;i=f;return}else if((j|0)==6){h=FW(64)|0;vE(h,c[e+8>>2]|0);c[g>>2]=h;if((a[h+59|0]&1)!=0){i=f;return}if((h|0)!=0){HW(h)}c[g>>2]=0;i=f;return}else{Qe(-1,187008,h);i=f;return}}function AE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187048;d=c[a+4>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+8>>2]|0;if((d|0)!=0){HW(d)}d=c[a+12>>2]|0;if((d|0)==0){HW(a);i=b;return}ke(d);HW(d);HW(a);i=b;return}function BE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187048;d=c[a+4>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+8>>2]|0;if((d|0)!=0){HW(d)}a=c[a+12>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function CE(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;d=i;x=i;i=i+8|0;h=i;i=i+8|0;g=h;p=i;i=i+8|0;k=p;r=i;i=i+8|0;t=r;v=i;i=i+8|0;w=v;y=i;i=i+8|0;z=y;A=i;i=i+8|0;B=A;s=i;i=i+16|0;e=s;l=i;i=i+16|0;f=l;u=i;i=i+16|0;n=u;c[a>>2]=187072;c[s>>2]=13;o=e+8|0;c[o>>2]=0;c[o+4>>2]=0;c[l>>2]=13;j=f+8|0;c[j>>2]=0;c[j+4>>2]=0;c[u>>2]=13;q=n+8|0;c[q>>2]=0;c[q+4>>2]=0;m=a+4|0;c[m>>2]=0;a=a+8|0;c[a>>2]=0;if((c[b>>2]|0)!=7){i=d;return}C=b+8|0;do{if((c[(Yu(c[C>>2]|0,186584,e,0)|0)>>2]|0)==5){Of(e);A=c[b>>2]|0;if((A|0)!=7){c[y>>2]=A;c[z+4>>2]=7;Qe(0,188448,z);tc()}if((c[(Yu(c[C>>2]|0,187088,e,0)|0)>>2]|0)!=7){Qe(-1,187104,x);break}x=c[s>>2]|0;if((x|0)!=7){c[v>>2]=x;c[w+4>>2]=7;Qe(0,188448,w);tc()}Yu(c[o>>2]|0,186584,f,0)|0;do{if(CH(f,n)|0){u=c[u>>2]|0;if((u|0)==3){b=c[q>>2]|0;C=FW(32)|0;ie(C,b);c[m>>2]=C;Of(n);break}else{c[r>>2]=u;c[t+4>>2]=3;Qe(0,188448,t);tc()}}}while(0);Of(f);m=c[s>>2]|0;if((m|0)!=7){c[p>>2]=m;c[k+4>>2]=7;Qe(0,188448,k);tc()}do{if((c[(Yu(c[o>>2]|0,187096,f,0)|0)>>2]|0)==3){k=c[l>>2]|0;if((k|0)==3){b=c[j>>2]|0;C=FW(32)|0;ie(C,b);c[a>>2]=C;break}else{c[h>>2]=k;c[g+4>>2]=3;Qe(0,188448,g);tc()}}}while(0);Of(f)}else{if(!(CH(e,n)|0)){break}f=c[u>>2]|0;if((f|0)==3){b=c[q>>2]|0;C=FW(32)|0;ie(C,b);c[m>>2]=C;Of(n);break}else{c[A>>2]=f;c[B+4>>2]=3;Qe(0,188448,B);tc()}}}while(0);Of(e);i=d;return}function DE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187072;d=c[a+4>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+8>>2]|0;if((d|0)==0){HW(a);i=b;return}ke(d);HW(d);HW(a);i=b;return}function EE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187072;d=c[a+4>>2]|0;if((d|0)!=0){ke(d);HW(d)}a=c[a+8>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function FE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;f=i;g=i;i=i+8|0;c[b>>2]=187144;b=b+4|0;c[b>>2]=0;if((c[d>>2]|0)!=3){Qe(-1,187168,g);i=f;return}j=c[d+8>>2]|0;d=FW(32)|0;ie(d,j);do{if((e|0)!=0){if((c[e+24>>2]|0)<=0){break}g=d+28|0;j=c[g>>2]|0;h=Kc(j|0,187160)|0;do{if((h|0)!=(c[d+24>>2]|0)){if((a[j+h|0]|0)==47){break}c[b>>2]=d;i=f;return}}while(0);h=FW(32)|0;ie(h,e);c[b>>2]=h;j=a[(c[h+28>>2]|0)+((c[h+24>>2]|0)+ -1)|0]|0;do{if(j<<24>>24==63|j<<24>>24==47){if((a[c[g>>2]|0]|0)==47){re(d,0,1)|0;h=c[b>>2]|0}oe(h,d)|0}else{if((a[c[g>>2]|0]|0)!=47){me(h,47)|0;h=c[b>>2]|0}oe(h,d)|0;if((d|0)!=0){break}i=f;return}}while(0);ke(d);HW(d);i=f;return}}while(0);c[b>>2]=d;i=f;return}function GE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187144;d=c[a+4>>2]|0;if((d|0)==0){HW(a);i=b;return}ke(d);HW(d);HW(a);i=b;return}function HE(a){a=a|0;var b=0;b=i;c[a>>2]=187144;a=c[a+4>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function IE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187200;d=c[a+4>>2]|0;if((d|0)==0){HW(a);i=b;return}ke(d);HW(d);HW(a);i=b;return}function JE(a){a=a|0;var b=0;b=i;c[a>>2]=187200;a=c[a+4>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function KE(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;d=i;g=i;i=i+8|0;h=g;j=i;i=i+8|0;k=j;o=i;i=i+8|0;m=i;i=i+8|0;n=m;s=i;i=i+8|0;r=s;u=i;i=i+8|0;t=u;v=i;i=i+8|0;x=v;l=i;i=i+16|0;e=l;c[a>>2]=187224;p=a+4|0;c[p>>2]=-1;q=a+12|0;c[q>>2]=0;c[l>>2]=13;f=e+8|0;c[f>>2]=0;c[f+4>>2]=0;w=c[b>>2]|0;if((w|0)!=7){c[v>>2]=w;c[x+4>>2]=7;Qe(0,188448,x);tc()}v=b+8|0;do{if((c[(Zu(c[v>>2]|0,187240,e)|0)>>2]|0)==9){w=c[l>>2]|0;if((w|0)==9){u=f;w=c[u+4>>2]|0;x=p;c[x>>2]=c[u>>2];c[x+4>>2]=w;break}else{c[u>>2]=w;c[t+4>>2]=9;Qe(0,188448,t);tc()}}}while(0);Of(e);t=c[b>>2]|0;if((t|0)!=7){c[s>>2]=t;c[r+4>>2]=7;Qe(0,188448,r);tc()}do{if((c[(Yu(c[v>>2]|0,187256,e,0)|0)>>2]|0)==3){r=c[l>>2]|0;if((r|0)==3){w=c[f>>2]|0;x=FW(32)|0;ie(x,w);c[q>>2]=x;break}else{c[m>>2]=r;c[n+4>>2]=3;Qe(0,188448,n);tc()}}}while(0);Of(e);do{if((c[q>>2]|0)==0){if((c[p>>2]|0)!=-1){break}Qe(-1,187264,o)}}while(0);m=c[b>>2]|0;if((m|0)!=7){c[j>>2]=m;c[k+4>>2]=7;Qe(0,188448,k);tc()}if((c[(Yu(c[v>>2]|0,187320,e,0)|0)>>2]|0)!=4){Of(e);i=d;return}j=c[l>>2]|0;if((j|0)!=4){c[g>>2]=j;c[h+4>>2]=4;Qe(0,188448,h);tc()}f=c[f>>2]|0;if((Qc(f|0,187336)|0)==0){c[a+16>>2]=0;Of(e);i=d;return}if((Qc(f|0,187344)|0)==0){c[a+16>>2]=3;Of(e);i=d;return}if((Qc(f|0,187352)|0)==0){c[a+16>>2]=1;Of(e);i=d;return}if((Qc(f|0,187360)|0)!=0){Of(e);i=d;return}c[a+16>>2]=2;Of(e);i=d;return}function LE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187224;d=c[a+12>>2]|0;if((d|0)==0){HW(a);i=b;return}ke(d);HW(d);HW(a);i=b;return}function ME(a){a=a|0;var b=0;b=i;c[a>>2]=187224;a=c[a+12>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function NE(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.0;j=i;g=i;i=i+8|0;e=g;m=i;i=i+8|0;k=m;q=i;i=i+8|0;p=q;u=i;i=i+8|0;v=u;l=i;i=i+16|0;f=l;c[b>>2]=187376;w=b+8|0;h[w>>3]=1.0;t=b+16|0;a[t]=0;s=b+17|0;a[s]=0;n=b+18|0;a[n]=0;b=b+20|0;c[b>>2]=0;if((c[d>>2]|0)!=7){i=j;return}c[l>>2]=13;r=f+8|0;c[r>>2]=0;c[r+4>>2]=0;o=d+8|0;Yu(c[o>>2]|0,187392,f,0)|0;x=c[l>>2]|0;if((x+ -1|0)>>>0<2){if((x|0)==1){y=+(c[r>>2]|0)}else{y=+h[r>>3]}h[w>>3]=y}Of(f);w=c[d>>2]|0;if((w|0)!=7){c[u>>2]=w;c[v+4>>2]=7;Qe(0,188448,v);tc()}Yu(c[o>>2]|0,187400,f,0)|0;if((c[l>>2]|0)==0){a[t]=a[r]&1}Of(f);t=c[d>>2]|0;if((t|0)!=7){c[q>>2]=t;c[p+4>>2]=7;Qe(0,188448,p);tc()}Yu(c[o>>2]|0,187416,f,0)|0;if((c[l>>2]|0)==0){a[s]=a[r]&1}Of(f);p=c[d>>2]|0;if((p|0)!=7){c[m>>2]=p;c[k+4>>2]=7;Qe(0,188448,k);tc()}Yu(c[o>>2]|0,187424,f,0)|0;if((c[l>>2]|0)==0){a[n]=a[r]&1}Of(f);k=c[d>>2]|0;if((k|0)!=7){c[g>>2]=k;c[e+4>>2]=7;Qe(0,188448,e);tc()}Yu(c[o>>2]|0,186648,f,0)|0;c[b>>2]=HG(f)|0;Of(f);i=j;return}function OE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187376;d=c[a+20>>2]|0;if((d|0)==0){HW(a);i=b;return}JG(d);HW(d);HW(a);i=b;return}function PE(a){a=a|0;var b=0;b=i;c[a>>2]=187376;a=c[a+20>>2]|0;if((a|0)==0){i=b;return}JG(a);HW(a);i=b;return}function QE(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;f=i;A=i;i=i+8|0;g=i;i=i+8|0;h=g;l=i;i=i+8|0;m=l;n=i;i=i+8|0;p=n;q=i;i=i+8|0;r=q;u=i;i=i+8|0;t=u;w=i;i=i+8|0;x=w;B=i;i=i+8|0;y=B;F=i;i=i+8|0;D=i;i=i+4096|0;C=i;i=i+16|0;e=C;c[b>>2]=187440;j=b+8|0;c[j>>2]=13;o=b+16|0;c[o>>2]=0;c[o+4>>2]=0;o=b+24|0;c[o>>2]=13;k=b+32|0;c[k>>2]=0;c[k+4>>2]=0;k=b+40|0;c[k>>2]=-1;s=b+44|0;c[s>>2]=0;v=b+48|0;c[v>>2]=0;if((c[d>>2]|0)!=7){i=f;return}c[C>>2]=13;z=e+8|0;c[z>>2]=0;c[z+4>>2]=0;b=d+8|0;a:do{if((c[(Yu(c[b>>2]|0,186672,e,0)|0)>>2]|0)!=5){G=c[C>>2]|0;if((G|0)==8){F=c[z>>2]|0;G=FW(32)|0;ee(G);c[v>>2]=G;fd[c[(c[F>>2]|0)+12>>2]&511](F);while(1){b:do{if(jd[c[(c[F>>2]|0)+88>>2]&511](F)|0){H=sd[c[(c[F>>2]|0)+92>>2]&127](F,4096,D)|0;E=10}else{H=0;while(1){I=jd[c[(c[F>>2]|0)+20>>2]&511](F)|0;if((I|0)==-1){E=10;break b}a[D+H|0]=I;H=H+1|0;if((H|0)>=4096){H=4096;break}}}}while(0);if((E|0)==10){E=0;if((H|0)==0){break a}}ne(G,D,H)|0}}else if((G|0)==3){I=FW(32)|0;ie(I,c[z>>2]|0);c[v>>2]=I;break}else{Qe(-1,187456,F);break}}}while(0);Of(e);D=c[d>>2]|0;if((D|0)!=7){c[B>>2]=D;c[y+4>>2]=7;Qe(0,188448,y);tc()}do{if((c[(Yu(c[b>>2]|0,187512,e,0)|0)>>2]|0)==1){y=c[C>>2]|0;if((y|0)!=1){c[w>>2]=y;c[x+4>>2]=1;Qe(0,188448,x);tc()}w=c[z>>2]|0;c[k>>2]=w;if((c[v>>2]|0)==0&w>>>0>4){c[u>>2]=w;Qe(-1,187520,t);break}t=c[d>>2]|0;if((t|0)!=7){c[q>>2]=t;c[r+4>>2]=7;Qe(0,188448,r);tc()}do{if((c[(Yu(c[b>>2]|0,187584,o,0)|0)>>2]|0)==7){I=FW(232)|0;GG(I,o);c[s>>2]=I}else{q=c[k>>2]|0;if(!((q|0)==4|(q|0)==0)){break}c[n>>2]=q;Qe(-1,187592,p);Of(o)}}while(0);n=c[d>>2]|0;if((n|0)!=7){c[l>>2]=n;c[m+4>>2]=7;Qe(0,188448,m);tc()}if((c[(Zu(c[b>>2]|0,187648,j)|0)>>2]|0)==9){break}k=c[k>>2]|0;if(k>>>0>=5){break}c[g>>2]=k;Qe(-1,187656,h);Of(j)}else{if((c[v>>2]|0)!=0){break}Qe(-1,187712,A)}}while(0);Of(e);i=f;return}function RE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187440;Of(a+24|0);Of(a+8|0);d=c[a+48>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+44>>2]|0;if((d|0)==0){HW(a);i=b;return}FG(d);HW(d);HW(a);i=b;return}function SE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187440;Of(a+24|0);Of(a+8|0);d=c[a+48>>2]|0;if((d|0)!=0){ke(d);HW(d)}a=c[a+44>>2]|0;if((a|0)==0){i=b;return}FG(a);HW(a);i=b;return}function TE(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;g=i;f=i;i=i+4096|0;c[b>>2]=187776;h=b+4|0;c[h>>2]=0;b=c[d>>2]|0;if((b|0)==8){b=c[d+8>>2]|0;d=FW(32)|0;ee(d);c[h>>2]=d;fd[c[(c[b>>2]|0)+12>>2]&511](b);while(1){a:do{if(jd[c[(c[b>>2]|0)+88>>2]&511](b)|0){h=sd[c[(c[b>>2]|0)+92>>2]&127](b,4096,f)|0;e=8}else{h=0;while(1){j=jd[c[(c[b>>2]|0)+20>>2]&511](b)|0;if((j|0)==-1){e=8;break a}a[f+h|0]=j;h=h+1|0;if((h|0)>=4096){h=4096;break}}}}while(0);if((e|0)==8){e=0;if((h|0)==0){break}}ne(d,f,h)|0}i=g;return}else if((b|0)==3){j=FW(32)|0;ie(j,c[d+8>>2]|0);c[h>>2]=j;i=g;return}else{i=g;return}}function UE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=187776;d=c[a+4>>2]|0;if((d|0)==0){HW(a);i=b;return}ke(d);HW(d);HW(a);i=b;return}function VE(a){a=a|0;var b=0;b=i;c[a>>2]=187776;a=c[a+4>>2]|0;if((a|0)==0){i=b;return}ke(a);HW(a);i=b;return}function WE(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;h=i;e=i;i=i+8|0;j=e;m=i;i=i+8|0;k=m;z=i;i=i+8|0;x=i;i=i+8|0;s=i;i=i+8|0;v=i;i=i+8|0;w=v;q=i;i=i+8|0;r=q;o=i;i=i+8|0;p=o;t=i;i=i+8|0;A=t;l=i;i=i+16|0;g=l;u=i;i=i+16|0;y=u;c[b>>2]=187800;c[l>>2]=13;f=g+8|0;c[f>>2]=0;c[f+4>>2]=0;B=FW(16)|0;wo(B);n=b+4|0;c[n>>2]=B;b=b+8|0;a[b]=1;B=c[d>>2]|0;if((B|0)!=7){c[t>>2]=B;c[A+4>>2]=7;Qe(0,188448,A);tc()}t=d+8|0;do{if((c[(Yu(c[t>>2]|0,187816,g,0)|0)>>2]|0)==6){z=c[l>>2]|0;if((z|0)!=6){G=z;H=o;c[H>>2]=G;H=p+4|0;c[H>>2]=6;H=188448;Qe(0,H,p);tc()}B=y+8|0;A=B+4|0;z=0;C=0;a:while(1){D=c[f>>2]|0;if((z|0)>=(c[D+12>>2]|0)){s=32;break}c[u>>2]=13;c[B>>2]=0;c[A>>2]=0;vt(D,z,y)|0;D=c[u>>2]|0;do{if((D|0)==9){if((C|0)==0){Qe(-1,187896,s);C=0;break}else{G=B;F=c[G>>2]|0;G=c[G+4>>2]|0;H=FW(8)|0;E=H;c[E>>2]=0;c[E+4>>2]=0;c[H>>2]=F;c[H+4>>2]=G;yo(c[C+4>>2]|0,H);break}}else if((D|0)==4){if((C|0)!=0){yo(c[n>>2]|0,C);C=c[u>>2]|0;if((C|0)!=4){s=11;break a}}E=c[B>>2]|0;C=FW(8)|0;D=C+4|0;c[D>>2]=0;H=FW(16)|0;wo(H);c[D>>2]=H;if((Qc(E|0,187824)|0)==0){c[C>>2]=0;break}if((Qc(E|0,187832)|0)==0){c[C>>2]=1;break}if((Qc(E|0,187840)|0)==0){c[C>>2]=2;break}c[v>>2]=E;Qe(-1,187848,w);if((C|0)==0){C=0;break}D=c[D>>2]|0;if((D|0)!=0){E=D+8|0;G=c[E>>2]|0;if((G|0)>0){F=0;do{H=c[(c[D>>2]|0)+(F<<2)>>2]|0;if((H|0)!=0){HW(H);G=c[E>>2]|0}F=F+1|0;}while((F|0)<(G|0))}xo(D);HW(D)}HW(C);C=0}else{Qe(-1,187960,x)}}while(0);Of(y);D=c[l>>2]|0;if((D|0)==6){z=z+1|0}else{s=6;break}}if((s|0)==6){H=o;c[H>>2]=D;H=p+4|0;c[H>>2]=6;H=188448;Qe(0,H,p);tc()}else if((s|0)==11){c[q>>2]=C;c[r+4>>2]=4;Qe(0,188448,r);tc()}else if((s|0)==32){if((C|0)==0){break}yo(c[n>>2]|0,C);break}}else{Qe(-1,188e3,z);o=c[n>>2]|0;if((o|0)!=0){xo(o);HW(o)}c[n>>2]=0}}while(0);Of(g);d=c[d>>2]|0;if((d|0)!=7){c[m>>2]=d;c[k+4>>2]=7;Qe(0,188448,k);tc()}if((c[(Yu(c[t>>2]|0,188024,g,0)|0)>>2]|0)!=0){Of(g);i=h;return}k=c[l>>2]|0;if((k|0)!=0){c[e>>2]=k;c[j+4>>2]=0;Qe(0,188448,j);tc()}a[b]=a[f]&1;Of(g);i=h;return}function XE(a){a=a|0;var b=0;b=i;YE(a);HW(a);i=b;return}function YE(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;c[a>>2]=187800;a=c[a+4>>2]|0;if((a|0)==0){i=b;return}d=a+8|0;g=c[d>>2]|0;if((g|0)>0){e=0;do{f=c[(c[a>>2]|0)+(e<<2)>>2]|0;if((f|0)!=0){g=c[f+4>>2]|0;if((g|0)!=0){h=g+8|0;j=c[h>>2]|0;if((j|0)>0){k=0;do{l=c[(c[g>>2]|0)+(k<<2)>>2]|0;if((l|0)!=0){HW(l);j=c[h>>2]|0}k=k+1|0;}while((k|0)<(j|0))}xo(g);HW(g)}HW(f);g=c[d>>2]|0}e=e+1|0;}while((e|0)<(g|0))}xo(a);HW(a);i=b;return}function ZE(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=188048;d=c[a+4>>2]|0;if((d|0)==0){HW(a);i=b;return}ke(d);HW(d);HW(a);i=b;return}function _E(a){a=a|0;var b=0;b=i;c[a>>2]=188048;a=c[a+4>>2]|0;if((a|0)==0){i=b;return}keke(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[da>>2]|0,189128,j,0)|0;if((c[p>>2]|0)!=7){Qe(-1,189136,S);Of(j);Of(k);a[b]=0;i=f;return}c[P>>2]=13;Q=O+8|0;c[Q>>2]=0;c[Q+4>>2]=0;Yu(c[L>>2]|0,189224,O,0)|0;do{if((c[P>>2]|0)==4){if((Qc(c[Q>>2]|0,189240)|0)!=0){break}Q=c[e>>2]|0;if((c[Q+8>>2]|0)>0){P=0}else{break}do{c[(c[(c[Q>>2]|0)+(P<<2)>>2]|0)+16>>2]=1;P=P+1|0;Q=c[e>>2]|0;}while((P|0)<(c[Q+8>>2]|0))}}while(0);Of(O);c[C>>2]=13;O=K+8|0;c[O>>2]=0;c[O+4>>2]=0;P=c[p>>2]|0;if((P|0)!=7){c[N>>2]=P;c[M+4>>2]=7;Qe(0,189600,M);tc()}Yu(c[L>>2]|0,189248,K,0)|0;a:do{if((c[C>>2]|0)==6){N=G+8|0;P=N+4|0;M=0;b:while(1){Q=c[O>>2]|0;if((M|0)>=(c[Q+12>>2]|0)){break a}c[D>>2]=13;c[N>>2]=0;c[P>>2]=0;vt(Q,M,G)|0;if((c[D>>2]|0)!=9){t=33;break}R=N;S=c[R>>2]|0;R=c[R+4>>2]|0;b=c[e>>2]|0;Q=c[b+8>>2]|0;if((Q|0)<=0){t=39;break}b=c[b>>2]|0;T=0;while(1){d=c[b+(T<<2)>>2]|0;U=d+8|0;if((c[U>>2]|0)==(S|0)){if((c[U+4>>2]|0)==(R|0)){break}}T=T+1|0;if((T|0)>=(Q|0)){t=39;break b}}Of(G);if((d|0)==0){break}c[d+16>>2]=0;Q=c[C>>2]|0;if((Q|0)==6){M=M+1|0}else{t=30;break}}if((t|0)==30){c[E>>2]=Q;c[F+4>>2]=6;Qe(0,189600,F);tc()}else if((t|0)==33){Of(G);break}else if((t|0)==39){c[H>>2]=S;c[J+4>>2]=R;Qe(-1,189368,J);Of(G)}Qe(-1,189256,I)}}while(0);Of(K);c[r>>2]=13;C=v+8|0;c[C>>2]=0;c[C+4>>2]=0;D=c[p>>2]|0;if((D|0)!=7){c[B>>2]=D;c[A+4>>2]=7;Qe(0,189600,A);tc()}Yu(c[L>>2]|0,189240,v,0)|0;c:do{if((c[r>>2]|0)==6){A=s+8|0;B=A+4|0;D=0;d:while(1){E=c[C>>2]|0;if((D|0)>=(c[E+12>>2]|0)){break c}c[u>>2]=13;c[A>>2]=0;c[B>>2]=0;vt(E,D,s)|0;if((c[u>>2]|0)!=9){t=50;break}F=A;E=c[F>>2]|0;F=c[F+4>>2]|0;H=c[e>>2]|0;G=c[H+8>>2]|0;if((G|0)<=0){t=56;break}H=c[H>>2]|0;J=0;while(1){K=c[H+(J<<2)>>2]|0;I=K+8|0;if((c[I>>2]|0)==(E|0)){if((c[I+4>>2]|0)==(F|0)){break}}J=J+1|0;if((J|0)>=(G|0)){t=56;break d}}Of(s);if((K|0)==0){break}c[K+16>>2]=1;E=c[r>>2]|0;if((E|0)==6){D=D+1|0}else{t=47;break}}if((t|0)==47){c[z>>2]=E;c[x+4>>2]=6;Qe(0,189600,x);tc()}else if((t|0)==50){Of(s);break}else if((t|0)==56){c[w>>2]=E;c[q+4>>2]=F;Qe(-1,189368,q);Of(s)}Qe(-1,189296,y)}}while(0);Of(v);q=c[p>>2]|0;if((q|0)!=7){c[m>>2]=q;c[n+4>>2]=7;Qe(0,189600,n);tc()}Yu(c[L>>2]|0,189344,o,0)|0;m=c[p>>2]|0;if((m|0)!=7){c[g>>2]=m;c[h+4>>2]=7;Qe(0,189600,h);tc()}Yu(c[L>>2]|0,189352,l,0)|0;Of(k);Of(j);i=f;return}function FF(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;d=i;b=c[a+4>>2]|0;e=b+8|0;g=c[e>>2]|0;if((g|0)>0){f=0;do{h=c[(c[b>>2]|0)+(f<<2)>>2]|0;if((h|0)!=0){g=c[h+4>>2]|0;if((g|0)!=0){keke);o=c[d>>2]|0;if((o|0)!=7){c[m>>2]=o;c[l+4>>2]=7;Qe(0,191704,l);tc()}if(((c[(Yu(c[t>>2]|0,191552,e,0)|0)>>2]|0)+ -1|0)>>>0>=2){Of(e);i=f;return}l=c[n>>2]|0;if((l+ -1|0)>>>0>=2){c[g>>2]=l;c[j+4>>2]=1;c[j+8>>2]=2;Qe(0,191776,j);tc()}if((l|0)==1){X=+(c[k>>2]|0)}else{X=+h[k>>3]}h[b+16>>3]=X;Of(e);i=f;return}function EG(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.0;f=i;e=i;i=i+8|0;d=e;l=i;i=i+16|0;o=l;p=i;i=i+8|0;q=p;t=i;i=i+16|0;u=t;x=i;i=i+16|0;w=x;z=i;i=i+16|0;y=z;A=i;i=i+8|0;B=A;D=i;i=i+8|0;C=D;E=i;i=i+8|0;F=E;H=i;i=i+8|0;G=H;r=i;i=i+16|0;k=r;v=i;i=i+16|0;s=v;j=i;i=i+16|0;g=j;c[r>>2]=13;m=k+8|0;c[m>>2]=0;c[m+4>>2]=0;n=c[b>>2]|0;if((n|0)!=7){c[H>>2]=n;c[G+4>>2]=7;Qe(0,191704,G);tc()}n=b+8|0;do{if((c[(Yu(c[n>>2]|0,191560,k,0)|0)>>2]|0)==1){G=c[r>>2]|0;if((G|0)!=1){c[E>>2]=G;c[F+4>>2]=1;Qe(0,191704,F);tc()}E=c[m>>2]|0;if((E|0)==3){c[a+64>>2]=3;break}else if((E|0)==2){c[a+64>>2]=2;break}else if((E|0)==1){c[a+64>>2]=1;break}else if((E|0)==0){c[a+64>>2]=0;break}else{break}}}while(0);Of(k);E=c[b>>2]|0;if((E|0)!=7){c[D>>2]=E;c[C+4>>2]=7;Qe(0,191704,C);tc()}if((c[(Yu(c[n>>2]|0,191568,k,0)|0)>>2]|0)==6){C=c[r>>2]|0;if((C|0)!=6){c[A>>2]=C;c[B+4>>2]=6;Qe(0,191704,B);tc()}B=c[m>>2]|0;c[v>>2]=13;A=s+8|0;c[A>>2]=0;c[A+4>>2]=0;ut(B,0,s)|0;C=c[v>>2]|0;if((C+ -1|0)>>>0>=2){c[z>>2]=C;c[y+4>>2]=1;c[y+8>>2]=2;Qe(0,191776,y);tc()}if((C|0)==1){I=+(c[A>>2]|0)}else{I=+h[A>>3]}h[a+24>>3]=I;Of(s);ut(B,1,s)|0;y=c[v>>2]|0;if((y+ -1|0)>>>0>=2){c[x>>2]=y;c[w+4>>2]=1;c[w+8>>2]=2;Qe(0,191776,w);tc()}if((y|0)==1){I=+(c[A>>2]|0)}else{I=+h[A>>3]}h[a+32>>3]=I;Of(s);ut(B,2,s)|0;v=c[v>>2]|0;if((v+ -1|0)>>>0>=2){c[t>>2]=v;c[u+4>>2]=1;c[u+8>>2]=2;Qe(0,191776,u);tc()}if((v|0)==1){I=+(c[A>>2]|0)}else{I=+h[A>>3]}h[a+40>>3]=I;Of(s)}Of(k);s=c[b>>2]|0;if((s|0)!=7){c[p>>2]=s;c[q+4>>2]=7;Qe(0,191704,q);tc()}if(((c[(Yu(c[n>>2]|0,191576,k,0)|0)>>2]|0)+ -1|0)>>>0<2){p=c[r>>2]|0;if((p+ -1|0)>>>0>=2){c[l>>2]=p;c[o+4>>2]=1;c[o+8>>2]=2;Qe(0,191776,o);tc()}if((p|0)==1){I=+(c[m>>2]|0)}else{I=+h[m>>3]}h[a+48>>3]=I}Of(k);k=a+64|0;if((c[k>>2]|0)!=0){i=f;return}c[j>>2]=13;H=g+8|0;c[H>>2]=0;c[H+4>>2]=0;b=c[b>>2]|0;if((b|0)!=7){c[e>>2]=b;c[d+4>>2]=7;Qe(0,191704,d);tc()}if((c[(Yu(c[n>>2]|0,191528,g,0)|0)>>2]|0)==7){CG(k,g)}Of(g);i=f;return}function FG(a){a=a|0;var b=0,d=0,e=0;b=i;d=c[a+228>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+220>>2]|0;if((d|0)!=0){ke(d);HW(d)}a=a+224|0;d=c[a>>2]|0;if((d|0)==0){i=b;return}e=d+4|0;d=(c[e>>2]|0)+ -1|0;c[e>>2]=d;if((d|0)!=0){i=b;return}a=c[a>>2]|0;if((a|0)==0){i=b;return}fd[c[(c[a>>2]|0)+4>>2]&511](a);i=b;return}function GG(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,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;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,da);a[b]=0}Of(G);M=c[q>>2]|0;if((M|0)!=7){c[K>>2]=M;c[L+4>>2]=7;Qe(0,191704,L);tc()}do{if((c[(Yu(c[e>>2]|0,191624,G,0)|0)>>2]|0)==3){J=c[J>>2]|0;if((J|0)==3){la=c[ea>>2]|0;ma=FW(32)|0;ie(ma,la);c[H>>2]=ma;break}else{c[E>>2]=J;c[F+4>>2]=3;Qe(0,191704,F);tc()}}}while(0);Of(G)}else{Qe(-1,191632,ha);a[b]=0}}while(0);Of(I);E=1}else{E=0}Of(f);if((a[b]&1)==0){i=g;return}F=c[d>>2]|0;if((F|0)!=7){c[A>>2]=F;c[z+4>>2]=7;Qe(0,191704,z);tc()}do{if((c[(Yu(c[C>>2]|0,191480,f,0)|0)>>2]|0)==7){c[B>>2]=13;z=w+8|0;c[z>>2]=0;c[z+4>>2]=0;z=c[q>>2]|0;if((z|0)!=7){c[x>>2]=z;c[y+4>>2]=7;Qe(0,191704,y);tc()}if((c[(Yu(c[e>>2]|0,191656,w,0)|0)>>2]|0)==7){DG(o,w)}Of(w);x=c[q>>2]|0;if((x|0)!=7){c[u>>2]=x;c[v+4>>2]=7;Qe(0,191704,v);tc()}if((c[(Yu(c[e>>2]|0,191664,w,0)|0)>>2]|0)==7){DG(k,w)}Of(w)}else{if(!E){break}Qe(-1,191672,D);a[b]=0}}while(0);Of(f);u=c[d>>2]|0;if((u|0)!=7){c[s>>2]=u;c[r+4>>2]=7;Qe(0,191704,r);tc()}if((c[(Yu(c[C>>2]|0,191696,f,0)|0)>>2]|0)==7){c[t>>2]=13;r=l+8|0;c[r>>2]=0;c[r+4>>2]=0;r=c[q>>2]|0;if((r|0)!=7){c[n>>2]=r;c[p+4>>2]=7;Qe(0,191704,p);tc()}if((c[(Yu(c[e>>2]|0,191656,l,0)|0)>>2]|0)==7){EG(o,l)}Of(l);n=c[q>>2]|0;if((n|0)!=7){c[m>>2]=n;c[j+4>>2]=7;Qe(0,191704,j);tc()}if((c[(Yu(c[e>>2]|0,191664,l,0)|0)>>2]|0)==7){EG(k,l)}Of(l)}Of(f);i=g;return}function HG(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;d=i;i=i+16|0;e=d;if((c[a>>2]|0)!=8){f=0;i=b;return f|0}f=c[a+8>>2]|0;f=jd[c[(c[f>>2]|0)+72>>2]&511](f)|0;if((f|0)==0){f=0;i=b;return f|0}c[d>>2]=13;g=e+8|0;c[g>>2]=0;c[g+4>>2]=0;Yu(f,191856,e,0)|0;if(((c[d>>2]|0)+ -1|0)>>>0>=2){g=0;i=b;return g|0}g=FW(40)|0;IG(g,a,1);i=b;return g|0}function IG(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.0;e=i;n=i;i=i+8|0;o=n;s=i;i=i+8|0;r=s;g=i;i=i+16|0;f=g;p=i;i=i+16|0;m=p;q=FW(16)|0;c[a>>2]=q;c[q+8>>2]=0;c[q+12>>2]=0;c[q>>2]=5;Mf(b,q)|0;q=a+8|0;c[q>>2]=0;j=a+16|0;h[j>>3]=0.0;k=a+24|0;c[k>>2]=1;l=a+28|0;c[l>>2]=8;b=a+32|0;c[b>>2]=0;if(!d){i=e;return}c[g>>2]=13;d=f+8|0;c[d>>2]=0;c[d+4>>2]=0;t=c[a>>2]|0;u=c[t>>2]|0;if((u|0)!=8){c[s>>2]=u;c[r+4>>2]=8;Qe(0,191928,r);tc()}r=c[t+8>>2]|0;r=jd[c[(c[r>>2]|0)+72>>2]&511](r)|0;Yu(r,191864,f,0)|0;do{if((c[g>>2]|0)==5){c[a+4>>2]=0}else{c[p>>2]=13;s=m+8|0;c[s>>2]=0;c[s+4>>2]=0;c[a+4>>2]=1;if(!(CH(f,m)|0)){break}p=c[p>>2]|0;if((p|0)==3){t=c[s>>2]|0;u=FW(32)|0;ie(u,t);c[q>>2]=u;Of(m);break}else{c[n>>2]=p;c[o+4>>2]=3;Qe(0,191928,o);tc()}}}while(0);Of(f);Yu(r,191856,f,0)|0;m=c[g>>2]|0;if((m+ -1|0)>>>0<2){if((m|0)==1){v=+(c[d>>2]|0)}else{v=+h[d>>3]}h[j>>3]=v}Of(f);Yu(r,191872,f,0)|0;if((c[g>>2]|0)==1){c[k>>2]=c[d>>2]}Of(f);Yu(r,191880,f,0)|0;if((c[g>>2]|0)==1){c[l>>2]=c[d>>2]}Of(f);Yu(r,191888,f,0)|0;do{if((c[g>>2]|0)==4){g=c[d>>2]|0;if((Qc(191896,g|0)|0)==0){c[b>>2]=0;break}if((Qc(191904,g|0)|0)==0){c[b>>2]=1;break}if((Qc(191912,g|0)|0)==0){c[b>>2]=2;break}if((Qc(191920,g|0)|0)!=0){break}c[b>>2]=3}}while(0);Of(f);i=e;return}function JG(a){a=a|0;var b=0,d=0;b=i;d=c[a+8>>2]|0;if((d|0)!=0){keke(k);HW(k);i=g;return}ke(k);HW(k);c[f>>2]=0;if(YH(b,l,f)|0){fd[c[(c[l>>2]|0)+16>>2]&511](l);a[b+1060|0]=1;n=FW(1608)|0;c[n+1600>>2]=100;c[b+1052>>2]=n}fd[c[(c[l>>2]|0)+16>>2]&511](l);i=g;return}function XH(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;e=FW(32)|0;ee(e);a=a+1044|0;j=0;a:while(1){while(1){k=jd[c[(c[b>>2]|0)+20>>2]&511](b)|0;if((k|0)==-1){f=-1;break a}g=k&255;me(c[a>>2]|0,g)|0;if(j){break}if((k|0)==37){j=1;continue a}if((xc(k|0)|0)==0){h=9;break a}}if(!((k|0)==10|(k|0)==13)){j=1;continue}j=0}do{if((h|0)==9){if(!((k|0)==123|(k|0)==125)){f=k;break}me(e,g)|0;i=d;return e|0}}while(0);me(e,f&255)|0;g=jd[c[(c[b>>2]|0)+24>>2]&511](b)|0;h=(g|0)==-1;if((f+ -48|0)>>>0<10|(f+ -45|0)>>>0<2){if(h){i=d;return e|0}while(1){if(!((g+ -48|0)>>>0<10|(g+ -45|0)>>>0<2)){h=18;break}jd[c[(c[b>>2]|0)+20>>2]&511](b)|0;g=g&255;me(c[a>>2]|0,g)|0;me(e,g)|0;g=jd[c[(c[b>>2]|0)+24>>2]&511](b)|0;if((g|0)==-1){h=18;break}}if((h|0)==18){i=d;return e|0}}else{if(h){i=d;return e|0}while(1){if((Qa(g|0)|0)==0){h=18;break}jd[c[(c[b>>2]|0)+20>>2]&511](b)|0;g=g&255;me(c[a>>2]|0,g)|0;me(e,g)|0;g=jd[c[(c[b>>2]|0)+24>>2]&511](b)|0;if((g|0)==-1){h=18;break}}if((h|0)==18){i=d;return e|0}}return 0}function YH(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.0;f=i;n=i;i=i+8|0;o=n;m=i;i=i+8|0;l=i;i=i+8|0;r=i;i=i+8|0;q=i;i=i+8|0;p=i;i=i+8|0;s=i;i=i+8|0;u=XH(b,d)|0;a:do{if((u|0)!=0){j=b+1056|0;g=b+1048|0;b:while(1){t=u+28|0;v=c[t>>2]|0;y=a[v]|0;do{if(((y<<24>>24)+ -48|0)>>>0<10|(y+ -45<<24>>24&255)<2){while(1){v=v+1|0;w=a[v]|0;if(w<<24>>24==46){v=1;break}else if(w<<24>>24==0){k=6;break}else{}}if((k|0)==6){k=0;v=0}x=c[e>>2]|0;w=c[j>>2]|0;if((w|0)>(x|0)){w=c[g>>2]|0}else{w=w+64|0;c[j>>2]=w;w=Ce(c[g>>2]|0,w,16)|0;c[g>>2]=w;x=c[e>>2]|0}w=w+(x<<4)|0;if(v){c[w>>2]=2;z=+Ie(c[t>>2]|0);h[(c[g>>2]|0)+(c[e>>2]<<4)+8>>3]=z}else{c[w>>2]=1;y=ec(c[t>>2]|0)|0;c[(c[g>>2]|0)+(c[e>>2]<<4)+8>>2]=y}c[e>>2]=(c[e>>2]|0)+1;ke(u);HW(u)}else{if((te(u,203888)|0)!=0){if((te(u,204192)|0)==0){k=38;break b}else{v=-1;w=40;x=0}c:while(1){while(1){if((w-v|0)<=1){break c}y=(w+v|0)/2|0;x=te(u,c[204200+(y<<2)>>2]|0)|0;if((x|0)>0){v=y}else{break}}v=(x|0)<0?v:y;w=y}if((x|0)!=0){k=47;break b}ke(u);HW(u);u=c[e>>2]|0;t=c[j>>2]|0;if((t|0)>(u|0)){t=c[g>>2]|0}else{t=t+64|0;c[j>>2]=t;t=Ce(c[g>>2]|0,t,16)|0;c[g>>2]=t;u=c[e>>2]|0}c[t+(u<<4)>>2]=3;c[(c[g>>2]|0)+(c[e>>2]<<4)+8>>2]=v;c[e>>2]=(c[e>>2]|0)+1;u=XH(b,d)|0;if((u|0)==0){break a}else{continue b}}ke(u);HW(u);u=c[e>>2]|0;c[e>>2]=u+3;t=u+2|0;v=c[j>>2]|0;if((v|0)<=(t|0)){y=v+64|0;c[j>>2]=y;c[g>>2]=Ce(c[g>>2]|0,y,16)|0}if(!(YH(b,d,e)|0)){g=0;k=52;break b}w=XH(b,d)|0;if((w|0)==0){k=19;break b}if((te(w,203888)|0)==0){v=c[e>>2]|0;if(!(YH(b,d,e)|0)){g=0;k=52;break b}ke(w);HW(w);w=XH(b,d)|0;if((w|0)==0){k=23;break b}}else{v=-1}if((te(w,203992)|0)==0){if((v|0)>-1){k=26;break b}c[(c[g>>2]|0)+(u<<4)>>2]=3;c[(c[g>>2]|0)+(u<<4)+8>>2]=40;c[(c[g>>2]|0)+(t<<4)>>2]=4;c[(c[g>>2]|0)+(t<<4)+8>>2]=c[e>>2]}else{if((te(w,204064)|0)!=0){k=32;break b}if((v|0)<0){k=30;break b}c[(c[g>>2]|0)+(u<<4)>>2]=3;c[(c[g>>2]|0)+(u<<4)+8>>2]=41;y=u+1|0;c[(c[g>>2]|0)+(y<<4)>>2]=4;c[(c[g>>2]|0)+(y<<4)+8>>2]=v;c[(c[g>>2]|0)+(t<<4)>>2]=4;c[(c[g>>2]|0)+(t<<4)+8>>2]=c[e>>2]}if((w|0)==0){break}ke(w);HW(w)}}while(0);u=XH(b,d)|0;if((u|0)==0){break a}}if((k|0)==19){Qe(-1,203944,p);y=0;i=f;return y|0}else if((k|0)==23){Qe(-1,203944,q);y=0;i=f;return y|0}else if((k|0)==26){Qe(-1,204e3,r);y=0;i=f;return y|0}else if((k|0)==30){Qe(-1,204072,l);y=0;i=f;return y|0}else if((k|0)==32){Qe(-1,204136,m);if((w|0)==0){y=0;i=f;return y|0}ke(w);HW(w);y=0;i=f;return y|0}else if((k|0)==38){ke(u);HW(u);k=c[e>>2]|0;l=c[j>>2]|0;if((l|0)>(k|0)){j=c[g>>2]|0}else{k=l+64|0;c[j>>2]=k;j=Ce(c[g>>2]|0,k,16)|0;c[g>>2]=j;k=c[e>>2]|0}c[j+(k<<4)>>2]=3;c[(c[g>>2]|0)+(c[e>>2]<<4)+8>>2]=42;c[e>>2]=(c[e>>2]|0)+1;y=1;i=f;return y|0}else if((k|0)==47){c[n>>2]=c[t>>2];Qe(-1,204360,o);ke(u);HW(u);y=0;i=f;return y|0}else if((k|0)==52){i=f;return g|0}}}while(0);Qe(-1,203944,s);y=0;i=f;return y|0}function ZH(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;e=i;c[b>>2]=203792;$W(b|0,d|0,1072)|0;n=b+1056|0;o=ye(c[n>>2]|0,16)|0;c[b+1048>>2]=o;$W(o|0,c[d+1048>>2]|0,c[n>>2]<<4|0)|0;n=c[d+1044>>2]|0;o=FW(32)|0;ie(o,n);c[b+1044>>2]=o;o=FW(1608)|0;c[o+1600>>2]=100;c[b+1052>>2]=o;$W(o|0,c[d+1052>>2]|0,1608)|0;o=FW(16)|0;d=d+1064|0;jG(o,nG(c[d>>2]|0)|0);b=b+1064|0;c[b>>2]=o;if((oG(c[d>>2]|0)|0)>0){f=0}else{i=e;return}do{g=FW(16)|0;o=qG(c[d>>2]|0,f)|0;c[g>>2]=205072;n=c[o+8>>2]|0;j=c[o+12>>2]|0;o=a[o+4|0]&1;a[g+4|0]=o;l=g+8|0;c[l>>2]=n;a:do{if(o<<24>>24==0){c[g+12>>2]=j}else{m=GW(n>>>0>536870911?-1:n<<3)|0;k=g+12|0;c[k>>2]=m;if((n|0)<=0){break}h[m>>3]=+h[j>>3];if((n|0)<=1){break}h[m+8>>3]=+h[j+8>>3];if((n|0)<=2){break}h[m+16>>3]=+h[j+16>>3];if((n|0)>3){n=3}else{break}while(1){h[m+(n<<3)>>3]=+h[j+(n<<3)>>3];n=n+1|0;if((n|0)>=(c[l>>2]|0)){break a}m=c[k>>2]|0}}}while(0);m=FW(12)|0;k=pG(c[d>>2]|0,f)|0;c[m>>2]=205136;n=c[k+4>>2]|0;k=c[k+8>>2]|0;j=m+4|0;c[j>>2]=n;o=GW(n>>>0>536870911?-1:n<<3)|0;l=m+8|0;c[l>>2]=o;b:do{if((n|0)>0){h[o>>3]=+h[k>>3];if((n|0)<=1){break}h[o+8>>3]=+h[k+8>>3];if((n|0)<=2){break}h[o+16>>3]=+h[k+16>>3];if((n|0)>3){n=3}else{break}while(1){h[o+(n<<3)>>3]=+h[k+(n<<3)>>3];n=n+1|0;if((n|0)>=(c[j>>2]|0)){break b}o=c[l>>2]|0}}}while(0);mG(c[b>>2]|0,g,m);f=f+1|0;}while((f|0)<(oG(c[d>>2]|0)|0));i=e;return}function _H(a){a=a|0;var b=0;b=i;$H(a);HW(a);i=b;return}function $H(a){a=a|0;var b=0,d=0;b=i;c[a>>2]=203792;Fe(c[a+1048>>2]|0);d=c[a+1044>>2]|0;if((d|0)!=0){keurn g|0}a=f+2|0;g=(d[f]|0)<<8&65535|(d[g]|0);f=e;c[f>>2]=a;i=b;return g|0}function SK(a){a=a|0;var b=0,e=0,f=0,g=0;b=i;e=a+32|0;f=c[e>>2]|0;g=f+1|0;if(g>>>0>=(c[a+36>>2]|0)>>>0){a=f;g=0;f=e;c[f>>2]=a;i=b;return g|0}a=f+2|0;g=(d[g]|0)<<8&65535|(d[f]|0);f=e;c[f>>2]=a;i=b;return g|0}function TK(a){a=a|0;var b=0,e=0,f=0,g=0;b=i;e=a+32|0;f=c[e>>2]|0;g=f+3|0;if(g>>>0>=(c[a+36>>2]|0)>>>0){a=f;g=0;f=e;c[f>>2]=a;i=b;return g|0}a=f+4|0;g=(d[f+1|0]|0)<<16|(d[f]|0)<<24|(d[f+2|0]|0)<<8|(d[g]|0);f=e;c[f>>2]=a;i=b;return g|0}function UK(a){a=a|0;var b=0,e=0,f=0,g=0;b=i;e=a+32|0;f=c[e>>2]|0;g=f+3|0;if(g>>>0>=(c[a+36>>2]|0)>>>0){a=f;g=0;f=e;c[f>>2]=a;i=b;return g|0}a=f+4|0;g=(d[f+2|0]|0)<<16|(d[g]|0)<<24|(d[f+1|0]|0)<<8|(d[f]|0);f=e;c[f>>2]=a;i=b;return g|0}function VK(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;f=i;h=i;i=i+8|0;j=h;a[h]=0;c[d>>2]=0;k=c[b+20>>2]|0;e=b+8|0;g=c[e>>2]|0;do{if((k|0)==0){if(g>>>0>=(c[b+4>>2]|0)>>>0){h=7;break}d=a[(c[b>>2]|0)+g|0]|0;a[h]=d;h=6}else{if((pd[k&63](b,g,j,1)|0)!=1){h=7;break}d=a[h]|0;g=c[e>>2]|0;h=6}}while(0);if((h|0)==6){c[e>>2]=g+1;b=d;i=f;return b|0}else if((h|0)==7){c[d>>2]=85;b=0;i=f;return b|0}return 0}function WK(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0;f=i;j=i;i=i+8|0;c[b>>2]=0;g=a+8|0;h=c[g>>2]|0;do{if((h+1|0)>>>0<(c[a+4>>2]|0)>>>0){k=c[a+20>>2]|0;if((k|0)==0){j=(c[a>>2]|0)+h|0;if((j|0)==0){j=0}else{e=6}}else{if((pd[k&63](a,h,j,2)|0)!=2){break}h=c[g>>2]|0;e=6}if((e|0)==6){j=(d[j+1|0]|0)<<8&65535|(d[j]|0)}c[g>>2]=h+2;k=j;i=f;return k|0}}while(0);c[b>>2]=85;k=0;i=f;return k|0}function XK(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;g=i;k=i;i=i+8|0;c[e>>2]=0;h=b+8|0;j=c[h>>2]|0;do{if((j+2|0)>>>0<(c[b+4>>2]|0)>>>0){l=c[b+20>>2]|0;if((l|0)==0){k=(c[b>>2]|0)+j|0;if((k|0)==0){k=0}else{f=6}}else{if((pd[l&63](b,j,k,3)|0)!=3){break}j=c[h>>2]|0;f=6}if((f|0)==6){k=d[k+1|0]<<8|a[k]<<16|d[k+2|0]}c[h>>2]=j+3;l=k;i=g;return l|0}}while(0);c[e>>2]=85;l=0;i=g;return l|0}function YK(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0;f=i;j=i;i=i+8|0;c[b>>2]=0;g=a+8|0;h=c[g>>2]|0;do{if((h+3|0)>>>0<(c[a+4>>2]|0)>>>0){k=c[a+20>>2]|0;if((k|0)==0){j=(c[a>>2]|0)+h|0;if((j|0)==0){j=0}else{e=6}}else{if((pd[k&63](a,h,j,4)|0)!=4){break}h=c[g>>2]|0;e=6}if((e|0)==6){j=(d[j+2|0]|0)<<16|(d[j+3|0]|0)<<24|(d[j+1|0]|0)<<8|(d[j]|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 ke(d);HW(d)}d=c[a+24>>2]|0;if((d|0)!=0){ke(d);HW(d)}e=c[a+36>>2]|0;d=a+20|0;do{if((e|0)!=0){if((e|0)==(c[d>>2]|0)){break}ke(e);HW(e)}}while(0);d=c[d>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+48>>2]|0;if((d|0)!=0){ke(d);HW(d)}d=c[a+60>>2]|0;if((d|0)!=0){ke(d);HW(d)}a=c[a+4>>2]|0;if((a|0)==0){i=b;return}fd[c[(c[a>>2]|0)+4>>2]&511](a);i=b;return}function Xx(a){a=a|0;a=a+168|0;c[a>>2]=(c[a>>2]|0)+1;i=i;return}function Yx(a){a=a|0;var b=0,d=0,e=0;b=i;e=a+168|0;d=(c[e>>2]|0)+ -1|0;c[e>>2]=d;if((d|0)!=0|(a|0)==0){i=b;return}fd[c[(c[a>>2]|0)+20>>2]&511](a);i=b;return}function Zx(a,b,d){a=a|0;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,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.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){keke(f);HW(f)}na=FW(32)|0;fe(na,aH(T)|0);c[S>>2]=na}if((W|0)!=0){f=0;U=G;S=0;G=95;break}f=1;W=cH(T)|0;U=G;S=0;G=95}else{f=0;S=0;T=0}}while(0);do{if((G|0)==84){X=c[R>>2]|0;if((X|0)==0){if((c[d+52>>2]|0)<=-1){f=0;S=0;T=0;break}na=$x(d,f,U)|0;G=na;T=Tn(na,c[T>>2]|0)|0}else{G=0;T=Vn(c[X+28>>2]|0)|0}if((T|0)==0){f=0;U=G;S=0;T=0;G=95;break}if((Yn(T)|0)!=0){f=c[S>>2]|0;if((f|0)!=0){ke(f);HW(f)}na=FW(32)|0;fe(na,Yn(T)|0);c[S>>2]=na}if((W|0)!=0){f=0;U=G;S=T;T=0;G=95;break}f=1;W=Zn(T)|0;U=G;S=T;T=0;G=95}}while(0);do{if((G|0)==95){if((U|0)==0){break}Fe(U)}}while(0);f:do{if((W|0)==0){do{if(F){if((c[d+52>>2]|0)>=0){break}W=c[k+4>>2]|0;a[V]=1;break f}}while(0);W=(c[x>>2]|0)==5?139424:140464}}while(0);U=f&1;if(f){X=0;do{Z=W+(X<<2)|0;Y=d+176+(X<<2)|0;c[Y>>2]=c[Z>>2];a[d+1200+X|0]=U;if((c[Y>>2]|0)!=0){c[Y>>2]=Ge(c[Z>>2]|0)|0}X=X+1|0;}while((X|0)<256)}else{X=0;do{c[d+176+(X<<2)>>2]=c[W+(X<<2)>>2];a[d+1200+X|0]=U;X=X+1|0;}while((X|0)<256)}do{if((c[x>>2]|0)==2){if((c[R>>2]|0)==0){if((c[d+52>>2]|0)<0|f^1){break}else{U=0}}else{if(f){U=0}else{break}}do{R=d+176+(U<<2)|0;do{if((c[R>>2]|0)==0){f=c[140464+(U<<2)>>2]|0;if((f|0)==0){break}c[R>>2]=f;a[d+1200+U|0]=0}}while(0);U=U+1|0;}while((U|0)<256)}}while(0);if((c[r>>2]|0)==7){Yu(c[g>>2]|0,164224,v,0)|0;g:do{if((c[s>>2]|0)==6){a[V]=1;f=0;R=0;while(1){U=c[w>>2]|0;if((R|0)>=(c[U+12>>2]|0)){break g}ut(U,R,K)|0;U=c[J>>2]|0;if((U|0)==1){f=c[P>>2]|0}else if((U|0)==4){if(f>>>0<256){U=d+1200+f|0;if((a[U]|0)!=0){Fe(c[d+176+(f<<2)>>2]|0);V=c[J>>2]|0;if((V|0)!=4){G=125;break}}c[d+176+(f<<2)>>2]=Ge(c[P>>2]|0)|0;a[U]=1}f=f+1|0}else{c[M>>2]=Pf(K)|0;Qe(-1,164240,L)}Of(K);U=c[s>>2]|0;if((U|0)==6){R=R+1|0}else{G=118;break}}if((G|0)==118){c[N>>2]=U;c[O+4>>2]=6;Qe(0,166192,O);tc()}else if((G|0)==125){c[H>>2]=V;c[I+4>>2]=4;Qe(0,166192,I);tc()}}}while(0);Of(v)}Of(q);if((T|0)!=0){fd[c[(c[T>>2]|0)+4>>2]&511](T)}if((S|0)==0){I=0;H=0;K=0}else{fd[c[(c[S>>2]|0)+4>>2]&511](S);I=0;H=0;K=0}while(1){J=c[d+176+(I<<2)>>2]|0;h:do{if((J|0)==0){c[B+(I<<2)>>2]=0;J=K}else{na=cf(c[834]|0,J)|0;c[B+(I<<2)>>2]=na;if((na|0)!=0){J=K;break}if((Qc(J|0,164296)|0)==0){J=K;break}do{if((ZW(J|0)|0)==3){if((Ab(a[J]|0)|0)==0){G=144;break}K=J+1|0;if((lc(a[K]|0)|0)==0){G=144;break}L=J+2|0;if((lc(a[L]|0)|0)==0){G=144;break}na=a[K]|0;if((na+ -97<<24>>24&255)<6|(na+ -65<<24>>24&255)<6){break}na=a[L]|0;if(!((na+ -97<<24>>24&255)<6|(na+ -65<<24>>24&255)<6)){G=144}}else{G=144}}while(0);do{if((G|0)==144){G=0;if((ZW(J|0)|0)!=2){J=1;break h}if((lc(a[J]|0)|0)==0){J=1;break h}K=J+1|0;if((lc(a[K]|0)|0)==0){J=1;break h}na=a[J]|0;if((na+ -97<<24>>24&255)<6|(na+ -65<<24>>24&255)<6){break}na=a[K]|0;if(!((na+ -97<<24>>24&255)<6|(na+ -65<<24>>24&255)<6)){J=1;break h}}}while(0);H=1;J=1}}while(0);I=I+1|0;if((I|0)<256){K=J}else{break}}G=ku(B)|0;c[l>>2]=G;if(J){G=0;do{i:do{if((c[B+(G<<2)>>2]|0)==0){I=c[d+176+(G<<2)>>2]|0;K=(I|0)!=0;do{if(K){if((Qc(I|0,164296)|0)==0){break}J=cy(I,D,8,0,1,sf(c[834]|0)|0,H,1)|0;if((J|0)==0){break}vu(c[l>>2]|0,G,D,J);break i}}while(0);if(!(tf(c[834]|0)|0)){break}do{if(K){J=a[I]|0;if(J<<24>>24==0){break}else{L=0}while(1){c[D+(L<<2)>>2]=J<<24>>24;K=L+1|0;if(J<<24>>24==0){K=L;break}if((K|0)>=8){break}J=a[I+K|0]|0;L=K}vu(c[l>>2]|0,G,D,K);break i}}while(0);c[C>>2]=G;vu(c[l>>2]|0,G,D,1)}}while(0);G=G+1|0;}while((G|0)<256);G=c[l>>2]|0}_x(d,m,8,G)|0;C=c[E>>2]|0;do{if((C|0)!=0){C=yf(c[834]|0,C)|0;if((C|0)==0){break}bX(A|0,0,1024)|0;A=ku(B)|0;D=0;do{do{if((wu(c[l>>2]|0,D,y)|0)>0){B=wu(C,c[c[z>>2]>>2]|0,y)|0;if((B|0)<=0){break}vu(A,D,c[z>>2]|0,B)}}while(0);D=D+1|0;}while((D|0)<256);uu(C);y=c[l>>2]|0;if((y|0)!=0){su(y);HW(y)}c[l>>2]=A}}while(0);y=d+144|0;z=0;do{h[d+1464+(z<<3)>>3]=+h[y>>3]*.001;z=z+1|0;}while((z|0)<256);Yu(m,164304,q,0)|0;if((c[r>>2]|0)==1){y=c[g>>2]|0}else{y=0}Of(q);y=y>>>0>255?0:y;Yu(m,164320,q,0)|0;if((c[r>>2]|0)==1){z=c[g>>2]|0}else{z=255}Of(q);z=z>>>0>255?255:z;if((c[x>>2]|0)==4){oa=+h[Q>>3]}else{oa=.001}Yu(m,164336,q,0)|0;if((c[r>>2]|0)==6){m=d+44|0;c[m>>2]=c[m>>2]|1;x=c[(c[g>>2]|0)+12>>2]|0;if((x|0)<(1-y+z|0)){x=y+ -1+x|0}else{x=z}if((y|0)>(x|0)){Of(q);na=j;a[na]=1;i=p;return}z=d+1464+(y<<3)|0;A=6;l=y;while(1){if((A|0)!=6){G=193;break}ut(c[g>>2]|0,l-y|0,v)|0;A=c[s>>2]|0;do{if((A+ -1|0)>>>0<2){if((A|0)==1){pa=+(c[w>>2]|0)}else{pa=+h[w>>3]}pa=oa*pa;h[d+1464+(l<<3)>>3]=pa;if(pa==+h[z>>3]){break}c[m>>2]=c[m>>2]&-2}}while(0);Of(v);if((l|0)>=(x|0)){G=217;break}A=c[r>>2]|0;l=l+1|0}if((G|0)==193){c[u>>2]=A;c[t+4>>2]=6;Qe(0,166192,t);tc()}else if((G|0)==217){Of(q);na=j;a[na]=1;i=p;return}}if(F){r=k+20|0;if(BH(c[r>>2]|0,164344,n)|0){h[d+1720>>3]=+(e[o>>1]|0)*.001;s=0}else{s=0}do{t=c[d+176+(s<<2)>>2]|0;do{if((t|0)!=0){if(!(BH(c[r>>2]|0,t,n)|0)){break}h[d+1464+(s<<3)>>3]=+(e[o>>1]|0)*.001}}while(0);s=s+1|0;}while((s|0)<256);Of(q);na=j;a[na]=1;i=p;return}r=c[d+44>>2]|0;if((r&1|0)==0){s=(r<<1&4)+4|0}else{s=0}r=(c[73264+((r>>>17&2|s)+(r>>>6&1)<<2)>>2]|0)+20|0;if(BH(c[r>>2]|0,164344,n)|0){h[d+1720>>3]=+(e[o>>1]|0)*.001;s=0}else{s=0}do{t=c[d+176+(s<<2)>>2]|0;do{if((t|0)!=0){if(!(BH(c[r>>2]|0,t,n)|0)){break}h[d+1464+(s<<3)>>3]=+(e[o>>1]|0)*.001}}while(0);s=s+1|0;}while((s|0)<256);Of(q);na=j;a[na]=1;i=p;return}function cy(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,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;l=i;u=i;i=i+8|0;v=u;t=i;i=i+8|0;s=t;y=i;i=i+8|0;z=y;m=i;i=i+8|0;n=m;q=i;i=i+8|0;r=q;B=i;i=i+8|0;o=i;i=i+8|0;p=o;A=i;i=i+8|0;x=A;if((e|0)<1){c[B>>2]=b;Qe(-1,166264,B);B=0;i=l;return B|0}do{if(k){B=Fb(b|0,46)|0;if((B|0)==(b|0)){B=0;i=l;return B|0}if((B|0)==0){break}f=He(b,B-b|0)|0;B=cy(f,d,e,1,g,h,j,0)|0;Fe(f);i=l;return B|0}}while(0);do{if(g){if((Fb(b|0,95)|0)==0){break}m=Ge(b)|0;n=m;t=0;while(1){o=Fb(n|0,95)|0;p=(o|0)!=0;if(p){a[o]=0}do{if((a[n]|0)!=0){s=cy(n,d+(t<<2)|0,e-t|0,1,0,h,j,k)|0;if((s|0)==0){c[q>>2]=n;c[r+4>>2]=b;Qe(-1,166352,r);break}else{t=s+t|0;break}}}while(0);if(!p){break}if((t|0)<(e|0)){n=o+1|0}else{break}}Fe(m);B=t;i=l;return B|0}}while(0);do{if(f){k=cf(c[834]|0,b)|0;c[d>>2]=k;k=(k|0)!=0;if(k|h^1){k=k&1}else{break}i=l;return k|0}else{if(h){break}else{k=0}i=l;return k|0}}while(0);h=ZW(b|0)|0;do{if(h>>>0>6&(h&3|0)==3){if((vc(b|0,166424,3)|0)!=0){break}if((e|0)>0&h>>>0>3){k=0;j=3}else{B=0;i=l;return B|0}do{q=b+j|0;do{if((lc(a[q]|0)|0)!=0){if((lc(a[b+(j+1)|0]|0)|0)==0){break}if((lc(a[b+(j+2)|0]|0)|0)==0){break}if((lc(a[b+(j+3)|0]|0)|0)==0){break}c[m>>2]=p;Hc(q|0,166432,n|0)|0;q=c[o>>2]|0;if(!(q>>>0<55296|(q+ -57344|0)>>>0<8192)){break}c[d+(k<<2)>>2]=q;k=k+1|0}}while(0);j=j+4|0;}while((k|0)<(e|0)&j>>>0<h>>>0);i=l;return k|0}}while(0);a:do{if((h+ -5|0)>>>0<3){if((a[b]|0)!=117){w=44;break}e=b+1|0;if((lc(a[e]|0)|0)==0){w=44;break}if((lc(a[b+2|0]|0)|0)==0){w=44;break}if((lc(a[b+3|0]|0)|0)==0){w=44;break}if((lc(a[b+4|0]|0)|0)==0){w=44;break}do{if(h>>>0>=6){if((lc(a[b+5|0]|0)|0)==0){w=44;break a}if(h>>>0<7){break}if((lc(a[b+6|0]|0)|0)==0){break a}}}while(0);c[y>>2]=x;Hc(e|0,166440,z|0)|0;e=c[A>>2]|0;if(!(e>>>0<55296|(e+ -57344|0)>>>0<1056768)){w=44;break}c[d>>2]=e;B=1;i=l;return B|0}else{w=44}}while(0);do{if((w|0)==44){do{if((h|0)==3&j){if((Ab(a[b]|0)|0)==0){break}e=b+1|0;if((lc(a[e]|0)|0)==0){break}if((lc(a[b+2|0]|0)|0)==0){break}c[t>>2]=d;Hc(e|0,166440,s|0)|0;B=1;i=l;return B|0}}while(0);if(!((h|0)==2&j)){break}if((lc(a[b]|0)|0)==0){break}if((lc(a[b+1|0]|0)|0)==0){break}c[u>>2]=d;Hc(b|0,166440,v|0)|0;B=1;i=l;return B|0}}while(0);do{if(!j){if((h+ -2|0)>>>0>=3){break}if(((a[b]|0)+ -48|0)>>>0>=10){break}if(((a[b+1|0]|0)+ -48|0)>>>0>=10){break}c[d>>2]=ec(b|0)|0;B=1;i=l;return B|0}}while(0);do{if((h+ -3|0)>>>0<3){e=b+1|0;if(((a[e]|0)+ -48|0)>>>0>=10){break}if(((a[b+2|0]|0)+ -48|0)>>>0>=10){break}c[d>>2]=ec(e|0)|0;B=1;i=l;return B|0}}while(0);if((h+ -4|0)>>>0>=3){B=0;i=l;return B|0}e=b+2|0;if(((a[e]|0)+ -48|0)>>>0>=10){B=0;i=l;return B|0}if(((a[b+3|0]|0)+ -48|0)>>>0>=10){B=0;i=l;return B|0}c[d>>2]=ec(e|0)|0;B=1;i=l;return B|0}function dy(a){a=a|0;var b=0;b=i;ey(a);HW(a);i=b;return}function ey(b){b=b|0;var d=0,e=0,f=0;d=i;c[b>>2]=163592;e=0;do{do{if((a[b+1200+e|0]|0)!=0){f=c[b+176+(e<<2)>>2]|0;if((f|0)==0){break}Fe(f)}}while(0);e=e+1|0;}while((e|0)<256);uu(c[b+1456>>2]|0);e=b+3512|0;if((c[e>>2]|0)==7){Of(e)}e=b+3528|0;if((c[e>>2]|0)!=7){Wx(b);i=d;return}Of(e);Wx(b);i=d;return}function fy(a,b,e,f,g,j,k,l,m,n){a=a|0;b=b|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;e=i;b=d[b]|0;c[f>>2]=b;c[j>>2]=wu(c[a+1456>>2]|0,b,g)|0;h[k>>3]=+h[a+1464+(b<<3)>>3];h[n>>3]=0.0;h[m>>3]=0.0;h[l>>3]=0.0;i=e;return 1}function gy(a){a=a|0;var b=0;b=i;a=a+1456|0;tu(c[a>>2]|0);i=b;return c[a>>2]|0}function hy(d,e){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;f=i;h=i;i=i+8|0;j=h;g=ye(256,2)|0;bX(g|0,0,512)|0;if((Hn(e)|0)>0){k=0;m=-1;n=-1;l=-1;do{q=In(e,k)|0;o=Jn(e,k)|0;p=(q|0)==3;do{if(p&(o|0)==1|(q|0)==0){l=k}else{o=(o|0)==0;q=(q|0)==1&o;if(q|p^1){m=q?k:m;break}n=o?k:n}}while(0);k=k+1|0;}while((k|0)<(Hn(e)|0))}else{m=-1;n=-1;l=-1}do{if((a[d+1460|0]&1)==0){if((c[d+40>>2]|0)==1){k=8;break}if((n|0)>-1){m=n;k=15;break}m=(m|0)<0?0:m;k=15}else{k=8}}while(0);a:do{if((k|0)==8){o=(m|0)>-1;do{if(!((a[d+1461|0]&1)!=0&o)){if((l|0)<=-1){h=(c[d+44>>2]&4|0)!=0;if(h&(n|0)>-1){m=n;k=15;break a}if(h&o){k=15;break a}m=o?m:0;if(o){break}else{k=15;break a}}m=d+1456|0;n=0;while(1){o=c[d+176+(n<<2)>>2]|0;do{if((o|0)==0){k=25}else{o=cf(c[834]|0,o)|0;if((o|0)==0){k=25;break}b[g+(n<<1)>>1]=Kn(e,l,o)|0}}while(0);do{if((k|0)==25){k=0;if((wu(c[m>>2]|0,n,j)|0)<=0){break}b[g+(n<<1)>>1]=Kn(e,l,c[c[h>>2]>>2]|0)|0}}while(0);n=n+1|0;if((n|0)>=256){h=0;break a}}}}while(0);h=0;while(1){j=c[d+176+(h<<2)>>2]|0;do{if((j|0)!=0){j=bf(c[834]|0,j)|0;if((j|0)==0){break}b[g+(h<<1)>>1]=Kn(e,m,j)|0}}while(0);h=h+1|0;if((h|0)>=256){h=0;break}}}}while(0);if((k|0)==15){j=0;while(1){q=Kn(e,m,j)|0;h=g+(j<<1)|0;b[h>>1]=q;if(q<<16>>16==0){b[h>>1]=Kn(e,m,j+61440|0)|0}j=j+1|0;if((j|0)>=256){h=0;break}}}do{k=g+(h<<1)|0;do{if((b[k>>1]|0)==0){j=c[d+176+(h<<2)>>2]|0;if((j|0)==0){break}b[k>>1]=Ln(e,j)|0}}while(0);h=h+1|0;}while((h|0)<256);i=f;return g|0}function iy(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;b=c[a+176+(b<<2)>>2]|0;do{if((b|0)!=0){if((c[a+3512>>2]|0)!=7){break}Yu(c[a+3520>>2]|0,b,d,0)|0;i=e;return d|0}}while(0);b=d+8|0;c[b>>2]=0;c[b+4>>2]=0;c[d>>2]=5;i=e;return d|0}function jy(a){a=a|0;var b=0;b=i;if((c[a+3528>>2]|0)!=7){a=0;i=b;return a|0}a=c[a+3536>>2]|0;i=b;return a|0}function ky(d,e,f,g,j,k){d=d|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,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,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;Da=Ca;ab=i;i=i+8|0;$a=ab;lb=i;i=i+8|0;eb=i;i=i+8|0;db=eb;bb=i;i=i+8|0;cb=bb;kb=i;i=i+8|0;jb=kb;nb=i;i=i+8|0;mb=nb;ub=i;i=i+8|0;rb=ub;ob=i;i=i+8|0;Ab=i;i=i+8|0;Bb=Ab;zb=i;i=i+8|0;Cb=zb;Eb=i;i=i+8|0;Fb=Eb;Gb=i;i=i+8|0;Ib=i;i=i+8|0;Hb=Ib;Jb=i;i=i+8|0;Kb=Jb;Lb=i;i=i+8|0;Mb=i;i=i+8|0;Nb=Mb;Pb=i;i=i+8|0;Qb=i;i=i+8|0;_a=Qb;Rb=i;i=i+8|0;Sb=i;i=i+8|0;Tb=Sb;Vb=i;i=i+8|0;R=i;i=i+8|0;U=R;Xa=i;i=i+8|0;Va=Xa;Ub=i;i=i+16|0;n=Ub;N=i;i=i+16|0;l=N;K=i;i=i+16|0;Q=K;J=i;i=i+16|0;W=J;H=i;i=i+16|0;P=H;F=i;i=i+16|0;O=F;D=i;i=i+16|0;M=D;wb=i;i=i+8|0;xb=wb;pb=i;i=i+16|0;sb=pb;Ob=g;Wb=c[Ob>>2]|0;Ob=c[Ob+4>>2]|0;c[d>>2]=162528;g=d+172|0;a[g]=0;Db=FW(32)|0;fe(Db,f);c[d+8>>2]=Db;Db=d+12|0;c[Db>>2]=Wb;c[Db+4>>2]=Ob;Db=d+20|0;c[Db>>2]=j;c[d+36>>2]=j;c[d+48>>2]=0;Ob=d+60|0;c[Ob>>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]=164360;c[Ub>>2]=13;Wb=n+8|0;c[Wb>>2]=0;c[Wb+4>>2]=0;c[N>>2]=13;pa=l+8|0;c[pa>>2]=0;c[pa+4>>2]=0;c[K>>2]=13;oa=Q+8|0;c[oa>>2]=0;c[oa+4>>2]=0;c[J>>2]=13;na=W+8|0;c[na>>2]=0;c[na+4>>2]=0;c[H>>2]=13;j=P+8|0;c[j>>2]=0;c[j+4>>2]=0;c[F>>2]=13;qa=O+8|0;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[rb>>2]|0);c[vb>>2]=zf(c[834]|0,Eb,Wb,qb)|0;Of(sb);tb=c[vb>>2]|0;qb=Wb;break b}else{Of(sb);break}}}while(0);Qe(-1,165024,ob);if((Eb|0)==0){o=243;break a}ke(Eb);HW(Eb);o=243;break a}}while(0);if((tb|0)==0){Wb=c[Eb+28>>2]|0;c[nb>>2]=c[qb+28>>2];c[mb+4>>2]=Wb;Qe(-1,165080,mb);if((Eb|0)!=0){ke(Eb);HW(Eb)}if((qb|0)==0){break a}ke(qb);HW(qb);break a}if((Eb|0)!=0){ke(Eb);HW(Eb)}if((qb|0)!=0){keke(m);n=n+4|0;q=c[n>>2]|0;}while((q|0)!=0)}On(d,c[v+4>>2]|0)|0;keke(h);HW(h)}else{Qe(-1,169496,h)}}while(0);Of(e);n=0;i=f;return n|0}function Qy(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;g=i;k=i;i=i+8|0;m=i;i=i+8|0;n=m;u=i;i=i+8|0;s=i;i=i+8|0;t=s;x=i;i=i+8|0;w=x;z=i;i=i+8|0;y=z;A=i;i=i+8|0;B=i;i=i+8|0;e=i;i=i+128|0;r=i;i=i+16|0;j=r;p=i;i=i+16|0;l=p;c[r>>2]=13;q=j+8|0;c[q>>2]=0;c[q+4>>2]=0;c[p>>2]=13;o=l+8|0;c[o>>2]=0;c[o+4>>2]=0;if(((c[b+12>>2]|0)+ -4|0)>>>0>=2){Qe(-1,169664,B);B=0;i=g;return B|0}a:do{if((c[(ut(b,1,j)|0)>>2]|0)==6){A=c[r>>2]|0;if((A|0)!=6){c[z>>2]=A;c[y+4>>2]=6;Qe(0,172720,y);tc()}y=c[(c[q>>2]|0)+12>>2]|0;if((y|0)>32){c[x>>2]=y;c[w+4>>2]=32;Qe(-1,169720,w);w=32;v=10}else{if((y|0)>0){w=y;v=10}else{h=0;f=y}}b:do{if((v|0)==10){v=0;while(1){x=c[r>>2]|0;if((x|0)!=6){v=12;break}if((c[(ut(c[q>>2]|0,v,l)|0)>>2]|0)!=4){v=14;break}y=FW(32)|0;x=c[p>>2]|0;if((x|0)!=4){v=16;break}fe(y,c[o>>2]|0);c[e+(v<<2)>>2]=y;Of(l);v=v+1|0;if((v|0)>=(w|0)){h=1;f=w;break b}}if((v|0)==12){c[s>>2]=x;c[t+4>>2]=6;Qe(0,172720,t);tc()}else if((v|0)==14){Qe(-1,169688,u);Of(l);break a}else if((v|0)==16){c[m>>2]=x;c[n+4>>2]=4;Qe(0,172720,n);tc()}}}while(0);Of(j);ut(b,2,j)|0;l=Jy(j,d)|0;do{if((l|0)==0){Qe(-1,169776,k)}else{Of(j);ut(b,3,j)|0;k=EH(j)|0;if((k|0)==0){fd[c[(c[l>>2]|0)+4>>2]&511](l);break}Of(j);j=FW(148)|0;c[j>>2]=169600;c[j+4>>2]=f;c[j+136>>2]=l;c[j+140>>2]=k;k=j+144|0;a[k]=1;if(h){h=j+8|0;b=0;do{B=c[e+(b<<2)>>2]|0;c[h+(b<<2)>>2]=B;if((te(B,169456)|0)!=0){a[k]=0}b=b+1|0;}while((b|0)<(f|0))}B=j;i=g;return B|0}}while(0);if(h){h=0}else{break}do{k=c[e+(h<<2)>>2]|0;if((k|0)!=0){keke(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 dA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,j=0;f=i;j=i;i=i+8|0;g=i;i=i+256|0;e=i;i=i+128|0;h[j>>3]=+(c[b>>2]|0)*152587890625.0e-16;b=c[a+12>>2]|0;Gd[c[(c[b>>2]|0)+16>>2]&255](b,j,g);a=a+8|0;b=c[a>>2]|0;if((jd[c[(c[b>>2]|0)+44>>2]&511](b)|0)>0){b=0}else{j=a;j=c[j>>2]|0;b=j;b=c[b>>2]|0;b=b+16|0;b=c[b>>2]|0;Gd[b&255](j,e,d);i=f;return}do{c[e+(b<<2)>>2]=~~(+h[g+(b<<3)>>3]*65536.0);b=b+1|0;j=c[a>>2]|0;}while((b|0)<(jd[c[(c[j>>2]|0)+44>>2]&511](j)|0));j=a;j=c[j>>2]|0;b=j;b=c[b>>2]|0;b=b+16|0;b=c[b>>2]|0;Gd[b&255](j,e,d);i=f;return}function eA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,j=0;f=i;j=i;i=i+8|0;g=i;i=i+256|0;e=i;i=i+128|0;h[j>>3]=+(c[b>>2]|0)*152587890625.0e-16;b=c[a+12>>2]|0;Gd[c[(c[b>>2]|0)+16>>2]&255](b,j,g);a=a+8|0;b=c[a>>2]|0;if((jd[c[(c[b>>2]|0)+44>>2]&511](b)|0)>0){b=0}else{j=a;j=c[j>>2]|0;b=j;b=c[b>>2]|0;b=b+20|0;b=c[b>>2]|0;Gd[b&255](j,e,d);i=f;return}do{c[e+(b<<2)>>2]=~~(+h[g+(b<<3)>>3]*65536.0);b=b+1|0;j=c[a>>2]|0;}while((b|0)<(jd[c[(c[j>>2]|0)+44>>2]&511](j)|0));j=a;j=c[j>>2]|0;b=j;b=c[b>>2]|0;b=b+20|0;b=c[b>>2]|0;Gd[b&255](j,e,d);i=f;return}function fA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,j=0;f=i;j=i;i=i+8|0;g=i;i=i+256|0;e=i;i=i+128|0;h[j>>3]=+(c[b>>2]|0)*152587890625.0e-16;b=c[a+12>>2]|0;Gd[c[(c[b>>2]|0)+16>>2]&255](b,j,g);a=a+8|0;b=c[a>>2]|0;if((jd[c[(c[b>>2]|0)+44>>2]&511](b)|0)>0){b=0}else{j=a;j=c[j>>2]|0;b=j;b=c[b>>2]|0;b=b+24|0;b=c[b>>2]|0;Gd[b&255](j,e,d);i=f;return}do{c[e+(b<<2)>>2]=~~(+h[g+(b<<3)>>3]*65536.0);b=b+1|0;j=c[a>>2]|0;}while((b|0)<(jd[c[(c[j>>2]|0)+44>>2]&511](j)|0));j=a;j=c[j>>2]|0;b=j;b=c[b>>2]|0;b=b+24|0;b=c[b>>2]|0;Gd[b&255](j,e,d);i=f;return}function gA(a,b){a=a|0;b=b|0;c[b>>2]=65536;i=i;return}function hA(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;c[a>>2]=169600;d=a+4|0;e=c[d>>2]|0;if((e|0)>0){f=0;do{g=c[a+8+(f<<2)>>2]|0;if((g|0)!=0){ke(g);HW(g);e=c[d>>2]|0}f=f+1|0;}while((f|0)<(e|0))}d=c[a+136>>2]|0;if((d|0)!=0){fd[c[(c[d>>2]|0)+4>>2]&511](d)}d=c[a+140>>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 iA(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;c[a>>2]=169600;d=a+4|0;e=c[d>>2]|0;if((e|0)>0){f=0;do{g=c[a+8+(f<<2)>>2]|0;if((g|0)!=0){ke